From 6ac93b66dc0672829ef38678e040d6d170a07c6c Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Mon, 16 Dec 2024 16:32:58 +0000 Subject: [PATCH] chore(release): 1.6.1 [skip ci] --- CHANGELOG.md | 6 ++++++ README.md | 26 +++++++++++++------------- package.json | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63bd8c3..b74c17a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.6.1](https://github.com/salesforcecli/plugin-agent/compare/1.6.0...1.6.1) (2024-12-16) + +### Bug Fixes + +- change from --job-spec to --spec [skip-validate-pr] ([6234021](https://github.com/salesforcecli/plugin-agent/commit/62340217eb629cdc7098d95ad72ad0f4873f2b1a)) + # [1.6.0](https://github.com/salesforcecli/plugin-agent/compare/1.5.2...1.6.0) (2024-12-13) ### Features diff --git a/README.md b/README.md index 8e05401..dbbd312 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ USAGE $ sf agent create -o -f -n [--json] [--flags-dir ] [--api-version ] FLAGS - -f, --job-spec= (required) Path to an agent spec file. + -f, --spec= (required) Path to an agent spec file. -n, --name= (required) API name of the new agent. -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set. @@ -94,8 +94,8 @@ DESCRIPTION Create an agent in your org from a local agent spec file. To generate an agent spec file, run the "agent generate spec" CLI command, which outputs a JSON file with the list of - jobs and descriptions that the new agent can perform. Then specify this generated spec file to the --job-spec flag of - this command, along with the name of the new agent. + jobs and descriptions that the new agent can perform. Then specify this generated spec file to the --spec flag of this + command, along with the name of the new agent. When this command finishes, your org contains the new agent, which you can then edit in the Agent Builder UI. The new agent already has a list of topics and actions that were automatically created from the list of jobs in the provided @@ -108,10 +108,10 @@ DESCRIPTION EXAMPLES Create an agent called "CustomerSupportAgent" in an org with alias "my-org" using the specified agent spec file: - $ sf agent create --name CustomerSupportAgent --job-spec ./config/agentSpec.json --target-org my-org + $ sf agent create --name CustomerSupportAgent --spec ./config/agentSpec.json --target-org my-org ``` -_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/create.ts)_ +_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/create.ts)_ ## `sf agent generate definition` @@ -136,7 +136,7 @@ EXAMPLES $ sf agent generate definition ``` -_See code: [src/commands/agent/generate/definition.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/generate/definition.ts)_ +_See code: [src/commands/agent/generate/definition.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/generate/definition.ts)_ ## `sf agent generate spec` @@ -197,7 +197,7 @@ EXAMPLES $ sf agent generate spec --output-dir specs --target-org my-org ``` -_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/generate/spec.ts)_ +_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/generate/spec.ts)_ ## `sf agent generate testset` @@ -220,7 +220,7 @@ EXAMPLES $ sf agent generate testset ``` -_See code: [src/commands/agent/generate/testset.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/generate/testset.ts)_ +_See code: [src/commands/agent/generate/testset.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/generate/testset.ts)_ ## `sf agent preview` @@ -255,7 +255,7 @@ FLAG DESCRIPTIONS the API name of the agent? (TBD based on agents library) ``` -_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/preview.ts)_ +_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/preview.ts)_ ## `sf agent test cancel` @@ -287,7 +287,7 @@ EXAMPLES $ sf agent test cancel --job-id AiEvalId ``` -_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/cancel.ts)_ +_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/test/cancel.ts)_ ## `sf agent test results` @@ -326,7 +326,7 @@ FLAG DESCRIPTIONS results will not be written. ``` -_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/results.ts)_ +_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/test/results.ts)_ ## `sf agent test resume` @@ -374,7 +374,7 @@ 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/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/resume.ts)_ +_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/test/resume.ts)_ ## `sf agent test run` @@ -425,6 +425,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.6.0/src/commands/agent/test/run.ts)_ +_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.1/src/commands/agent/test/run.ts)_ diff --git a/package.json b/package.json index 28ee300..68aff73 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-agent", "description": "Commands to interact with Salesforce agents", - "version": "1.6.0", + "version": "1.6.1", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {