Skip to content

Commit

Permalink
chore(release): 1.2.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-cli-bot committed Nov 9, 2024
1 parent 29d598c commit 4f9dd7c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# [1.2.0](https://github.com/salesforcecli/plugin-agent/compare/1.1.3...1.2.0) (2024-11-09)

### Bug Fixes

- allow company website to be empty ([78b52cc](https://github.com/salesforcecli/plugin-agent/commit/78b52cc995fff978debd323cdd639b5453559bc9))

### Features

- use inquirer for generating spec ([27d2ebd](https://github.com/salesforcecli/plugin-agent/commit/27d2ebdd9d87dcc25933ddbac7198b05cec17666))

## [1.1.3](https://github.com/salesforcecli/plugin-agent/compare/1.1.2...1.1.3) (2024-11-07)

### Bug Fixes
Expand Down
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ sf plugins
<!-- commands -->

- [`sf agent create`](#sf-agent-create)
- [`sf agent create spec`](#sf-agent-create-spec)
- [`sf agent generate spec`](#sf-agent-generate-spec)
- [`sf agent test cancel`](#sf-agent-test-cancel)
- [`sf agent test run`](#sf-agent-test-run)

Expand Down Expand Up @@ -101,32 +101,32 @@ FLAG DESCRIPTIONS
spec` command.
```

_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/create.ts)_
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/create.ts)_

## `sf agent create spec`
## `sf agent generate spec`

Create an Agent spec.

```
USAGE
$ sf agent create spec -o <value> -n <value> -t customer_facing|employee_facing --role <value> --company-name <value>
--company-description <value> [--json] [--flags-dir <value>] [--api-version <value>] [--company-website <value>] [-d
<value>]
$ sf agent generate spec -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>] [-t
customer_facing|employee_facing] [--role <value>] [--company-name <value>] [--company-description <value>]
[--company-website <value>] [-d <value>]
FLAGS
-d, --output-dir=<value> [default: config] The location within the project where the agent spec will be
written.
-n, --name=<value> (required) The name of the agent to create.
-n, --name=<value> The name of the agent to create.
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
configuration variable is already set.
-t, --type=<option> (required) The type of agent to create.
-t, --type=<option> The type of agent to create.
<options: customer_facing|employee_facing>
--api-version=<value> Override the api version used for api requests made by this command
--company-description=<value> (required) The description of the company, containing details to be used when
generating agent job descriptions.
--company-name=<value> (required) The name of the company.
--company-description=<value> The description of the company, containing details to be used when generating agent
job descriptions.
--company-name=<value> The name of the company.
--company-website=<value> The website URL for the company.
--role=<value> (required) The role of the agent.
--role=<value> The role of the agent.
GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
Expand All @@ -140,11 +140,11 @@ DESCRIPTION
EXAMPLES
Create an Agent spec in the default location:
$ sf agent create spec --type customer_facing --role Support --company-name "Coral Cloud" --company-description \
"A meaningful description"
$ sf agent generate spec --type customer_facing --role Support --company-name "Coral Cloud" \
--company-description "A meaningful description"
```

_See code: [src/commands/agent/create/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/create/spec.ts)_
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/generate/spec.ts)_

## `sf agent test cancel`

Expand Down Expand Up @@ -175,7 +175,7 @@ EXAMPLES
$ sf agent test cancel --id AiEvalId
```

_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/test/cancel.ts)_
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/test/cancel.ts)_

## `sf agent test run`

Expand Down Expand Up @@ -217,6 +217,6 @@ FLAG DESCRIPTIONS
If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
```

_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/test/run.ts)_
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/test/run.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/plugin-agent",
"description": "Commands to interact with Salesforce agents",
"version": "1.1.3",
"version": "1.2.0",
"author": "Salesforce",
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
Expand Down

0 comments on commit 4f9dd7c

Please sign in to comment.