diff --git a/CHANGELOG.md b/CHANGELOG.md index 46f7a91..6d9eda3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +# [1.4.0](https://github.com/salesforcecli/plugin-agent/compare/1.3.4...1.4.0) (2024-12-05) + +### Bug Fixes + +- keep up with agents lib ([75d6403](https://github.com/salesforcecli/plugin-agent/commit/75d6403b466546181db2b697163b5b1b689a2266)) +- messages ([38eef81](https://github.com/salesforcecli/plugin-agent/commit/38eef81f144739596fc696eccb7264d55cffb6e6)) + +### Features + +- add command stubs ([3f942b2](https://github.com/salesforcecli/plugin-agent/commit/3f942b22aed7d532f3243654292809af07dfb592)) +- implement agent test run ([81ec3a3](https://github.com/salesforcecli/plugin-agent/commit/81ec3a3d3fb253e8d721881dfba7fb0036323e84)) +- show completion progress ([4da8b5f](https://github.com/salesforcecli/plugin-agent/commit/4da8b5f667a08f27b300e495be09204770acd7e5)) +- show passing and failing tests ([e422ca5](https://github.com/salesforcecli/plugin-agent/commit/e422ca5436a9dc03fe42c8aef50486be6b8ddfd1)) + ## [1.3.4](https://github.com/salesforcecli/plugin-agent/compare/1.3.3...1.3.4) (2024-12-03) ### Bug Fixes diff --git a/README.md b/README.md index 81da583..4cffedd 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ sf plugins - [`sf agent create`](#sf-agent-create) - [`sf agent generate spec`](#sf-agent-generate-spec) - [`sf agent test cancel`](#sf-agent-test-cancel) +- [`sf agent test results`](#sf-agent-test-results) +- [`sf agent test resume`](#sf-agent-test-resume) - [`sf agent test run`](#sf-agent-test-run) ## `sf agent create` @@ -102,7 +104,7 @@ FLAG DESCRIPTIONS spec` command. ``` -_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.3.4/src/commands/agent/create.ts)_ +_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/create.ts)_ ## `sf agent generate spec` @@ -145,7 +147,7 @@ EXAMPLES --company-description "A meaningful description" ``` -_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.3.4/src/commands/agent/generate/spec.ts)_ +_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/generate/spec.ts)_ ## `sf agent test cancel` @@ -153,13 +155,14 @@ Cancel a running test for an Agent. ``` USAGE - $ sf agent test cancel -o -i [--json] [--flags-dir ] [-r] + $ sf agent test cancel -o [--json] [--flags-dir ] [--api-version ] [-i ] [-r] FLAGS - -i, --job-id= (required) The AiEvaluation ID. - -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` - configuration variable is already set. - -r, --use-most-recent Use the job ID of the most recent test evaluation. + -i, --job-id= The AiEvaluation ID. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + -r, --use-most-recent Use the job ID of the most recent test evaluation. + --api-version= Override the api version used for api requests made by this command GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -173,10 +176,84 @@ DESCRIPTION EXAMPLES Cancel a test for an Agent: - $ sf agent test cancel --id AiEvalId + $ sf agent test cancel --job-id AiEvalId +``` + +_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/test/cancel.ts)_ + +## `sf agent test results` + +Get the results of a test evaluation. + +``` +USAGE + $ sf agent test results -o -i [--json] [--flags-dir ] [--api-version ] [--result-format + json|human] + +FLAGS + -i, --job-id= (required) The AiEvaluation ID. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + --api-version= Override the api version used for api requests made by this command + --result-format=