diff --git a/README.md b/README.md index e212c5de..d19c949d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.159.6 linux-x64 node-v26.13.0 +@salesforce/cli/2.159.7 linux-x64 node-v26.13.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -308,7 +308,7 @@ ERROR CODES ActivationFailed (4) Failed to activate the agent due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/activate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/activate.ts)_ ## `sf agent adl create` @@ -380,7 +380,7 @@ EXAMPLES --source-type retriever --retriever-id 0ppXX0000000001 ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/create.ts)_ ## `sf agent adl delete` @@ -411,7 +411,7 @@ EXAMPLES $ sf agent adl delete --library-id 1JDSG000007IbWX4A0 --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/delete.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/delete.ts)_ ## `sf agent adl file add` @@ -453,7 +453,7 @@ EXAMPLES $ sf agent adl file add -i 1JDSG000007IbWX4A0 --path ./docs/guide.pdf --path ./docs/faq.txt --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/file/add.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/file/add.ts)_ ## `sf agent adl file delete` @@ -486,7 +486,7 @@ EXAMPLES $ sf agent adl file delete --library-id 1JDSG000007IbWX4A0 --file-id a1B2C3D4E5F6G7H8I9 --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/file/delete.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/file/delete.ts)_ ## `sf agent adl file list` @@ -526,7 +526,7 @@ EXAMPLES $ sf agent adl file list --library-id 1JDSG000007IbWX4A0 --target-org myOrg --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/file/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/file/list.ts)_ ## `sf agent adl get` @@ -557,7 +557,7 @@ EXAMPLES $ sf agent adl get --library-id 1JDSG000007IbWX4A0 --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/get.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/get.ts)_ ## `sf agent adl list` @@ -594,7 +594,7 @@ EXAMPLES $ sf agent adl list --target-org myOrg --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/list.ts)_ ## `sf agent adl status` @@ -629,7 +629,7 @@ EXAMPLES $ sf agent adl status --library-id 1JDSG000007IbWX4A0 --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/status.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/status.ts)_ ## `sf agent adl update` @@ -684,7 +684,7 @@ EXAMPLES $ sf agent adl update --library-id 1JDSG000007IbWX4A0 --restrict-to-public-articles --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/update.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/update.ts)_ ## `sf agent adl upload` @@ -731,7 +731,7 @@ EXAMPLES $ sf agent adl upload --library-id 1JDSG000007IbWX4A0 --file ./docs/guide.pdf --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/adl/upload.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/adl/upload.ts)_ ## `sf agent create` @@ -798,7 +798,7 @@ EXAMPLES $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/create.ts)_ ## `sf agent deactivate` @@ -847,7 +847,7 @@ ERROR CODES DeactivationFailed (4) Failed to deactivate the agent due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/deactivate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/deactivate.ts)_ ## `sf agent generate agent-spec` @@ -954,7 +954,7 @@ EXAMPLES $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/generate/agent-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/generate/agent-spec.ts)_ ## `sf agent generate authoring-bundle` @@ -1031,7 +1031,7 @@ EXAMPLES other-package-dir/main/default --target-org my-dev-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/generate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/generate/authoring-bundle.ts)_ ## `sf agent generate template` @@ -1093,7 +1093,7 @@ EXAMPLES my-package --source-org my-scratch-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/generate/template.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/generate/template.ts)_ ## `sf agent generate test-spec` @@ -1182,7 +1182,7 @@ FLAG DESCRIPTIONS metadata. 'testing-center' uses AiEvaluationDefinition metadata. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/generate/test-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/generate/test-spec.ts)_ ## `sf agent mcp asset list` @@ -1218,7 +1218,7 @@ EXAMPLES $ sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001 --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/asset/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/asset/list.ts)_ ## `sf agent mcp asset replace` @@ -1267,7 +1267,7 @@ EXAMPLES cat assets.json | sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets - --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/asset/replace.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/asset/replace.ts)_ ## `sf agent mcp create` @@ -1315,7 +1315,7 @@ EXAMPLES cat secret.txt | sf agent mcp create --name myServer --server-url https://mcp.example.com --auth-type OAUTH --identity-provider myIdp --client-id abc123 --client-secret - --scope "read write" --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/create.ts)_ ## `sf agent mcp delete` @@ -1353,7 +1353,7 @@ EXAMPLES $ sf agent mcp delete --mcp-server-id 0XSxx0000000001 --target-org myOrg --no-prompt ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/delete.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/delete.ts)_ ## `sf agent mcp fetch` @@ -1390,7 +1390,7 @@ EXAMPLES $ sf agent mcp fetch --target-org myOrg --mcp-server-id 0XSxx0000000001 --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/fetch.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/fetch.ts)_ ## `sf agent mcp get` @@ -1426,7 +1426,7 @@ EXAMPLES $ sf agent mcp get --target-org myOrg --mcp-server-id 0Mx000000000001 --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/get.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/get.ts)_ ## `sf agent mcp list` @@ -1468,7 +1468,7 @@ EXAMPLES $ sf agent mcp list --target-org myOrg --type EXTERNAL --status ACTIVE --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/list.ts)_ ## `sf agent mcp update` @@ -1519,7 +1519,7 @@ EXAMPLES cat secret.txt | sf agent mcp update --mcp-server-id 0XSxx0000000001 --server-url https://mcp.example.com --auth-type OAUTH --identity-provider MyIdp --client-id abc --client-secret - --scope "read write" --target-org myOrg --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/mcp/update.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/mcp/update.ts)_ ## `sf agent preview` @@ -1635,7 +1635,7 @@ FLAG DESCRIPTIONS and a bare name for state variables. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/preview.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/preview.ts)_ ## `sf agent preview end` @@ -1719,7 +1719,7 @@ ERROR CODES SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/preview/end.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/preview/end.ts)_ ## `sf agent preview send` @@ -1786,7 +1786,7 @@ ERROR CODES SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/preview/send.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/preview/send.ts)_ ## `sf agent preview sessions` @@ -1822,7 +1822,7 @@ ERROR CODES Succeeded (0) Sessions listed successfully (or empty list if no active sessions). ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/preview/sessions.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/preview/sessions.ts)_ ## `sf agent preview start` @@ -1942,7 +1942,7 @@ ERROR CODES PreviewStartFailed (4) Preview session failed to start due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.2.4/src/commands/agent/preview/start.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/2.3.0/src/commands/agent/preview/start.ts)_ ## `sf agent publish authoring-bundle` @@ -1951,18 +1951,21 @@ Publish an authoring bundle to your org, which results in a new agent or a new v ``` USAGE $ sf agent publish authoring-bundle -o [--json] [--flags-dir ] [--api-version ] [-n ] - [--skip-retrieve] [-v | --concise] + [--skip-retrieve] [--source-type Bot] [-v | --concise] FLAGS - -n, --api-name= API name of the authoring bundle you want to publish; if not specified, the command - provides a list that you can choose from. - -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` - configuration variable is already set. - -v, --verbose Display detailed output showing all metadata components retrieved and deployed during the - publish process. - --api-version= Override the api version used for api requests made by this command - --concise Display minimal output with only essential information about the publish operation. - --skip-retrieve Don't retrieve the metadata associated with the agent to your DX project. + -n, --api-name= API name of the authoring bundle you want to publish; if not specified, the command + provides a list that you can choose from. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + -v, --verbose Display detailed output showing all metadata components retrieved and deployed during the + publish process. + --api-version= Override the api version used for api requests made by this command + --concise Display minimal output with only essential information about the publish operation. + --skip-retrieve Don't retrieve the metadata associated with the agent to your DX project. + --source-type=