diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d3220b..dd370e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# [1.1.0](https://github.com/salesforcecli/plugin-agent/compare/1.0.2...1.1.0) (2024-10-29) + +### Bug Fixes + +- aagent run test tests ([cf5c6ae](https://github.com/salesforcecli/plugin-agent/commit/cf5c6aef508dc94f78f187e18d32542aa925aedd)) +- unit test ([f4f024d](https://github.com/salesforcecli/plugin-agent/commit/f4f024d95fd264c49ec06a59ba1f8dc56d68034f)) +- unit test ([96c3fde](https://github.com/salesforcecli/plugin-agent/commit/96c3fde5380bfdc8cf52578ad36cbcf8f3781c83)) +- update command schema ([4eaee5f](https://github.com/salesforcecli/plugin-agent/commit/4eaee5f1d21b991e285e1101bef28b0511c21b5c)) +- update message files ([b14a678](https://github.com/salesforcecli/plugin-agent/commit/b14a678de79075d635be6bafb518f7cd6b9e4abf)) +- update readme ([bd464a0](https://github.com/salesforcecli/plugin-agent/commit/bd464a08dee116c81f2e881d74545726ee7dad02)) +- update schemas ([1e4661e](https://github.com/salesforcecli/plugin-agent/commit/1e4661e8572deae13fb7007288b5cf7e9778d95b)) + +### Features + +- add command stub for agent run test ([934ee67](https://github.com/salesforcecli/plugin-agent/commit/934ee673d393522b356396a4ec4715357f427542)) + ## [1.0.2](https://github.com/salesforcecli/plugin-agent/compare/1.0.1...1.0.2) (2024-10-24) ### Bug Fixes diff --git a/README.md b/README.md index 8c001d2..e1c0411 100644 --- a/README.md +++ b/README.md @@ -61,4 +61,48 @@ sf plugins +- [`sf agent run test`](#sf-agent-run-test) + +## `sf agent run test` + +Start a test for an Agent. + +``` +USAGE + $ sf agent run test -o -i [--json] [--flags-dir ] [-w ] [-d ] + +FLAGS + -d, --output-dir= Directory in which to store test run files. + -i, --id= (required) The AiEvalDefinitionVersion ID. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + -w, --wait= Number of minutes to wait for the command to complete and display results to the terminal + window. + +GLOBAL FLAGS + --flags-dir= Import flag values from a directory. + --json Format output as json. + +DESCRIPTION + Start a test for an Agent. + + Start a test for an Agent, providing the AiEvalDefinitionVersion ID. Returns the job ID. + +EXAMPLES + Start a test for an Agent: + + $ sf agent run test --id AiEvalDefVerId + +FLAG DESCRIPTIONS + -i, --id= The AiEvalDefinitionVersion ID. + + The AiEvalDefinitionVersion ID. + + -w, --wait= Number of minutes to wait for the command to complete and display results to the terminal window. + + 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/run/test.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.0/src/commands/agent/run/test.ts)_ + diff --git a/package.json b/package.json index 7a12d50..38a816a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-agent", "description": "Commands to interact with Salesforce agents", - "version": "1.0.2", + "version": "1.1.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {