diff --git a/CHANGELOG.md b/CHANGELOG.md index feceea7..48b0ab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.1.3](https://github.com/salesforcecli/plugin-agent/compare/1.1.2...1.1.3) (2024-11-07) + +### Bug Fixes + +- some mocking around agent creation ([5546f2a](https://github.com/salesforcecli/plugin-agent/commit/5546f2ab9b7d502d00bc2edb3d6a5fde05acd845)) + ## [1.1.2](https://github.com/salesforcecli/plugin-agent/compare/1.1.1...1.1.2) (2024-11-01) ### Bug Fixes diff --git a/README.md b/README.md index 830431a..1b0c2a0 100644 --- a/README.md +++ b/README.md @@ -72,13 +72,12 @@ Create an Agent from an agent spec. ``` USAGE - $ sf agent create -o -f -p [--json] [--flags-dir ] [--api-version ] + $ sf agent create -o -f [--json] [--flags-dir ] [--api-version ] FLAGS -f, --spec= (required) The path to an agent spec file. -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set. - -p, --planner= (required) The path to an agent spec file. --api-version= Override the api version used for api requests made by this command GLOBAL FLAGS @@ -93,16 +92,16 @@ DESCRIPTION EXAMPLES Create an Agent: - $ sf agent create --planner MyAgentPlanner --spec ./agent-spec.json + $ sf agent create --spec ./agent-spec.json FLAG DESCRIPTIONS -f, --spec= The path to an agent spec file. - The agent spec file defines job descriptions for the agent and can be created using the `sf agent create spec` - command. + The agent spec file defines job titles and descriptions for the agent and can be created using the `sf agent create + spec` command. ``` -_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.2/src/commands/agent/create.ts)_ +_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/create.ts)_ ## `sf agent create spec` @@ -110,16 +109,17 @@ Create an Agent spec. ``` USAGE - $ sf agent create spec -o --agent-type customer_facing|employee_facing --role --company-name + $ sf agent create spec -o -n -t customer_facing|employee_facing --role --company-name --company-description [--json] [--flags-dir ] [--api-version ] [--company-website ] [-d ] FLAGS -d, --output-dir= [default: config] The location within the project where the agent spec will be written. + -n, --name= (required) The name of the agent to create. -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set. - --agent-type=