From 35aacaff6587f6d35b8bb5b3b19d5aa5cfa5cad6 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sat, 9 May 2026 03:16:35 +0000 Subject: [PATCH] chore(release): bump to 2.135.2 --- README.md | 255 ++++++++++++++++++++++++++++++++++++++++++++++----- package.json | 8 +- yarn.lock | 34 +++---- 3 files changed, 252 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 03b72ec8..2867357e 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.135.1 linux-x64 node-v22.22.2 +@salesforce/cli/2.135.2 linux-x64 node-v22.22.2 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -61,6 +61,9 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf agent test resume`](#sf-agent-test-resume) - [`sf agent test run`](#sf-agent-test-run) - [`sf agent test run-eval`](#sf-agent-test-run-eval) +- [`sf agent trace delete`](#sf-agent-trace-delete) +- [`sf agent trace list`](#sf-agent-trace-list) +- [`sf agent trace read`](#sf-agent-trace-read) - [`sf agent validate authoring-bundle`](#sf-agent-validate-authoring-bundle) - [`sf alias list`](#sf-alias-list) - [`sf alias set`](#sf-alias-set) @@ -278,7 +281,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/1.37.0/src/commands/agent/activate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/activate.ts)_ ## `sf agent create` @@ -345,7 +348,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/1.37.0/src/commands/agent/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/create.ts)_ ## `sf agent deactivate` @@ -394,7 +397,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/1.37.0/src/commands/agent/deactivate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/deactivate.ts)_ ## `sf agent generate agent-spec` @@ -501,7 +504,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/1.37.0/src/commands/agent/generate/agent-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/generate/agent-spec.ts)_ ## `sf agent generate authoring-bundle` @@ -578,7 +581,7 @@ EXAMPLES other-package-dir/main/default --target-org my-dev-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/generate/authoring-bundle.ts)_ ## `sf agent generate template` @@ -640,7 +643,7 @@ EXAMPLES my-package --source-org my-scratch-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/template.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/generate/template.ts)_ ## `sf agent generate test-spec` @@ -705,7 +708,7 @@ EXAMPLES force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/test-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/generate/test-spec.ts)_ ## `sf agent preview` @@ -778,7 +781,7 @@ EXAMPLES $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/preview.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/preview.ts)_ ## `sf agent preview end` @@ -842,7 +845,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/1.37.0/src/commands/agent/preview/end.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/preview/end.ts)_ ## `sf agent preview send` @@ -909,7 +912,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/1.37.0/src/commands/agent/preview/send.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/preview/send.ts)_ ## `sf agent preview sessions` @@ -945,7 +948,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/1.37.0/src/commands/agent/preview/sessions.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/preview/sessions.ts)_ ## `sf agent preview start` @@ -1021,7 +1024,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/1.37.0/src/commands/agent/preview/start.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/preview/start.ts)_ ## `sf agent publish authoring-bundle` @@ -1085,7 +1088,7 @@ ERROR CODES Failed (1) Compilation errors found in the Agent Script file. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/publish/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/publish/authoring-bundle.ts)_ ## `sf agent test create` @@ -1149,7 +1152,7 @@ ERROR CODES DeploymentFailed (4) Deployment failed due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/test/create.ts)_ ## `sf agent test list` @@ -1191,7 +1194,7 @@ ERROR CODES Failed (4) Failed to retrieve agent tests due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/test/list.ts)_ ## `sf agent test results` @@ -1275,7 +1278,7 @@ ERROR CODES Failed (4) Failed to retrieve results due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/results.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/test/results.ts)_ ## `sf agent test resume` @@ -1368,7 +1371,7 @@ ERROR CODES OperationFailed (4) Failed to poll test due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/resume.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/test/resume.ts)_ ## `sf agent test run` @@ -1461,7 +1464,7 @@ ERROR CODES OperationFailed (4) Failed to start or poll test due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/run.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/test/run.ts)_ ## `sf agent test run-eval` @@ -1543,7 +1546,211 @@ ERROR CODES OperationFailed (4) Failed to execute tests due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/run-eval.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/test/run-eval.ts)_ + +## `sf agent trace delete` + +Delete agent preview trace files. + +``` +USAGE + $ sf agent trace delete [--json] [--flags-dir ] [-a ] [--session-id ] [--older-than ] + [--no-prompt] + +FLAGS + -a, --agent= Only delete traces for this agent name (substring match). Matches against the name used when + starting the session, whether that's an authoring bundle or a published agent API name. + --no-prompt Skip the confirmation prompt and delete immediately. + --older-than= Only delete traces older than this duration. Accepts a number followed by a unit: m/minutes, + h/hours, d/days, w/weeks (e.g. 7d, 24h, 2w). + --session-id= Only delete traces from this session ID. + +GLOBAL FLAGS + --flags-dir= Import flag values from a directory. + --json Format output as json. + +DESCRIPTION + Delete agent preview trace files. + + Deletes trace files recorded during agent preview sessions. By default, shows a preview of what will be deleted and + prompts for confirmation. Use --no-prompt to skip confirmation. + + Without filters, deletes all traces for all agents and sessions. Use flags to narrow the scope: filter by agent name + (--agent), by session (--session-id), or by age (--older-than). + +EXAMPLES + Delete all traces for all agents and sessions (with confirmation prompt): + + $ sf agent trace delete + + Delete all traces for a specific agent: + + $ sf agent trace delete --agent My_Agent + + Delete traces from a specific session: + + $ sf agent trace delete --session-id + + Delete traces older than 7 days: + + $ sf agent trace delete --older-than 7d + + Delete traces older than 24 hours for a specific agent, no prompt: + + $ sf agent trace delete --agent My_Agent --older-than 24h --no-prompt + + Delete all traces without confirmation: + + $ sf agent trace delete --no-prompt + +ERROR CODES + Succeeded (0) Traces deleted successfully (or no traces matched). +``` + +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/trace/delete.ts)_ + +## `sf agent trace list` + +List the trace files that were recorded during all agent preview sessions. + +``` +USAGE + $ sf agent trace list [--json] [--flags-dir ] [--session-id ] [-a ] [--since ] + +FLAGS + -a, --agent= Only show traces for this agent name (substring match). Matches against the name used when + starting the session, whether that's an authoring bundle or a published agent API name. + --session-id= Session ID used to filter the list of trace files. + --since= Date used to filter the list of trace files; only those recorded on or after the date are + listed. + +GLOBAL FLAGS + --flags-dir= Import flag values from a directory. + --json Format output as json. + +DESCRIPTION + List the trace files that were recorded during all agent preview sessions. + + Lists trace files recorded during agent preview sessions. By default, lists all traces for all agents and all of their + sessions. Use flags to narrow results: filter by agent name (--agent), by session (--session-id), or by date + (--since). + + Each row in the output corresponds to one trace file, which in turn corresponds to one agent session. The Agent column + shows the authoring bundle or API name used when starting the session. + +EXAMPLES + List all traces for all agents and sessions: + + $ sf agent trace list + + List all traces for a specific agent: + + $ sf agent trace list --agent My_Agent + + List traces for a specific session: + + $ sf agent trace list --session-id + + List traces recorded on or after April 20, 2026 (date-only, interpreted as UTC midnight): + + $ sf agent trace list --since 2026-04-20 + + List traces recorded on or after a specific UTC time: + + $ sf agent trace list --since 2026-04-20T14:00:00Z + + Filter by agent and date together: + + $ sf agent trace list --agent My_Agent --since 2026-04-20 + + Return results as JSON: + + $ sf agent trace list --json + +FLAG DESCRIPTIONS + --since= Date used to filter the list of trace files; only those recorded on or after the date are listed. + + Accepts ISO 8601 format: date-only (2026-04-20), date-time (2026-04-20T14:00:00Z), or date-time with milliseconds + (2026-04-20T14:00:00.000Z). The "Recorded At" values shown in the table output are valid inputs. + +ERROR CODES + Succeeded (0) Trace files listed successfully (or empty list if none found). +``` + +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.38.0/src/commands/agent/trace/list.ts)_ + +## `sf agent trace read` + +Read and analyze trace files from an agent preview session. + +``` +USAGE + $ sf agent trace read -s [--json] [--flags-dir ] [-f summary|detail|raw] [-d + actions|grounding|routing|errors] [-t ] + +FLAGS + -d, --dimension=