diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d9eda3..1e24df0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# [1.5.0](https://github.com/salesforcecli/plugin-agent/compare/1.4.0...1.5.0) (2024-12-10) + +### Features + +- junit result formatter ([af485da](https://github.com/salesforcecli/plugin-agent/commit/af485dada1894756f2b5271e2a0ae01d51acfc78)) + # [1.4.0](https://github.com/salesforcecli/plugin-agent/compare/1.3.4...1.4.0) (2024-12-05) ### Bug Fixes diff --git a/README.md b/README.md index 4cffedd..7e9551b 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ sf plugins - [`sf agent create`](#sf-agent-create) - [`sf agent generate spec`](#sf-agent-generate-spec) +- [`sf agent preview`](#sf-agent-preview) - [`sf agent test cancel`](#sf-agent-test-cancel) - [`sf agent test results`](#sf-agent-test-results) - [`sf agent test resume`](#sf-agent-test-resume) @@ -104,7 +105,7 @@ FLAG DESCRIPTIONS spec` command. ``` -_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/create.ts)_ +_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.0/src/commands/agent/create.ts)_ ## `sf agent generate spec` @@ -147,7 +148,42 @@ EXAMPLES --company-description "A meaningful description" ``` -_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/generate/spec.ts)_ +_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.0/src/commands/agent/generate/spec.ts)_ + +## `sf agent preview` + +Interact with an active agent, as a user would, to preview responses + +``` +USAGE + $ sf agent preview -o -n [--flags-dir ] [--api-version ] + +FLAGS + -n, --name= (required) The name of the agent you want to preview + -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 + +GLOBAL FLAGS + --flags-dir= Import flag values from a directory. + +DESCRIPTION + Interact with an active agent, as a user would, to preview responses + + XXX + +EXAMPLES + $ sf agent preview --agent HelpDeskAgent + + $ sf agent preview --agent ConciergeAgent --target-org production + +FLAG DESCRIPTIONS + -n, --name= The name of the agent you want to preview + + 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.5.0/src/commands/agent/preview.ts)_ ## `sf agent test cancel` @@ -179,7 +215,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.4.0/src/commands/agent/test/cancel.ts)_ +_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.0/src/commands/agent/test/cancel.ts)_ ## `sf agent test results` @@ -188,15 +224,16 @@ Get the results of a test evaluation. ``` USAGE $ sf agent test results -o -i [--json] [--flags-dir ] [--api-version ] [--result-format - json|human] + json|human|junit] [-f ] FLAGS + -f, --output-dir= Directory to write the test results to. -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=