diff --git a/README.md b/README.md index 7442d550..057d6d70 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.6 linux-x64 node-v22.22.2 +@salesforce/cli/2.135.7 linux-x64 node-v22.22.2 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -281,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.40.1/src/commands/agent/activate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/activate.ts)_ ## `sf agent create` @@ -348,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.40.1/src/commands/agent/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/create.ts)_ ## `sf agent deactivate` @@ -397,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.40.1/src/commands/agent/deactivate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/deactivate.ts)_ ## `sf agent generate agent-spec` @@ -504,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.40.1/src/commands/agent/generate/agent-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/generate/agent-spec.ts)_ ## `sf agent generate authoring-bundle` @@ -581,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.40.1/src/commands/agent/generate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/generate/authoring-bundle.ts)_ ## `sf agent generate template` @@ -643,7 +643,7 @@ EXAMPLES my-package --source-org my-scratch-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/generate/template.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/generate/template.ts)_ ## `sf agent generate test-spec` @@ -708,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.40.1/src/commands/agent/generate/test-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/generate/test-spec.ts)_ ## `sf agent preview` @@ -781,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.40.1/src/commands/agent/preview.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/preview.ts)_ ## `sf agent preview end` @@ -865,7 +865,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.40.1/src/commands/agent/preview/end.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/preview/end.ts)_ ## `sf agent preview send` @@ -932,7 +932,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.40.1/src/commands/agent/preview/send.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/preview/send.ts)_ ## `sf agent preview sessions` @@ -968,7 +968,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.40.1/src/commands/agent/preview/sessions.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/preview/sessions.ts)_ ## `sf agent preview start` @@ -1044,7 +1044,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.40.1/src/commands/agent/preview/start.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/preview/start.ts)_ ## `sf agent publish authoring-bundle` @@ -1108,7 +1108,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.40.1/src/commands/agent/publish/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/publish/authoring-bundle.ts)_ ## `sf agent test create` @@ -1172,7 +1172,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.40.1/src/commands/agent/test/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/test/create.ts)_ ## `sf agent test list` @@ -1214,7 +1214,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.40.1/src/commands/agent/test/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/test/list.ts)_ ## `sf agent test results` @@ -1298,7 +1298,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.40.1/src/commands/agent/test/results.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/test/results.ts)_ ## `sf agent test resume` @@ -1391,7 +1391,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.40.1/src/commands/agent/test/resume.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/test/resume.ts)_ ## `sf agent test run` @@ -1484,7 +1484,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.40.1/src/commands/agent/test/run.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/test/run.ts)_ ## `sf agent test run-eval` @@ -1569,7 +1569,7 @@ 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.40.1/src/commands/agent/test/run-eval.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/test/run-eval.ts)_ ## `sf agent trace delete` @@ -1636,7 +1636,7 @@ ERROR CODES Succeeded (0) Traces deleted successfully (or no traces matched). ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/trace/delete.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/trace/delete.ts)_ ## `sf agent trace list` @@ -1709,7 +1709,7 @@ 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.40.1/src/commands/agent/trace/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/trace/list.ts)_ ## `sf agent trace read` @@ -1797,7 +1797,7 @@ EXAMPLES $ sf agent trace read --session-id --json ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/trace/read.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/trace/read.ts)_ ## `sf agent validate authoring-bundle` @@ -1854,7 +1854,7 @@ ERROR CODES ServerError (3) Validation/compilation API returned HTTP 500. A server error occurred during compilation. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/validate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.2/src/commands/agent/validate/authoring-bundle.ts)_ ## `sf alias list` diff --git a/package.json b/package.json index 37e326d8..74b4d703 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/cli", "description": "The Salesforce CLI", - "version": "2.135.6", + "version": "2.135.7", "author": "Salesforce", "bin": { "sf": "./bin/run.js", @@ -159,7 +159,7 @@ "@oclif/plugin-which": "3.2.53", "@salesforce/core": "^8.28.0", "@salesforce/kit": "^3.1.6", - "@salesforce/plugin-agent": "1.40.1", + "@salesforce/plugin-agent": "1.40.2", "@salesforce/plugin-apex": "3.9.27", "@salesforce/plugin-api": "1.3.30", "@salesforce/plugin-auth": "4.3.10", diff --git a/yarn.lock b/yarn.lock index 4cd4bc13..9951bea7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1548,6 +1548,18 @@ resolved "https://registry.npmjs.org/@microsoft/applicationinsights-web-snippet/-/applicationinsights-web-snippet-1.0.1.tgz" integrity sha512-2IHAOaLauc8qaAitvWS+U931T+ze+7MNWrDHY47IENP5y2UA0vqJDu67kWZDdpCN1fFC77sfgfB+HV7SrKshnQ== +"@mswjs/interceptors@^0.41.0": + version "0.41.9" + resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.41.9.tgz#9d90bbd60d1ddc30dbcbb827a9bb2e470493530d" + integrity sha512-VVPPgHyQ6ShqnrmDWuxjmUIsO9gWyOZFmuOfLd9LfBGQJwZfy0gvv9pbHSJuoFNIYC7ZDX9aoFwowjcdSC4E8w== + dependencies: + "@open-draft/deferred-promise" "^2.2.0" + "@open-draft/logger" "^0.3.0" + "@open-draft/until" "^2.0.0" + is-node-process "^1.2.0" + outvariant "^1.4.3" + strict-event-emitter "^0.5.1" + "@nodable/entities@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@nodable/entities/-/entities-2.1.0.tgz#f543e5c6446720d4cf9e498a83019dd159973bc2" @@ -2041,6 +2053,24 @@ dependencies: "@octokit/openapi-types" "^25.1.0" +"@open-draft/deferred-promise@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz#4a822d10f6f0e316be4d67b4d4f8c9a124b073bd" + integrity sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA== + +"@open-draft/logger@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@open-draft/logger/-/logger-0.3.0.tgz#2b3ab1242b360aa0adb28b85f5d7da1c133a0954" + integrity sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ== + dependencies: + is-node-process "^1.2.0" + outvariant "^1.4.0" + +"@open-draft/until@^2.0.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-2.1.0.tgz#0acf32f470af2ceaf47f095cdecd40d68666efda" + integrity sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg== + "@opentelemetry/api@^1.4.1", "@opentelemetry/api@^1.7.0": version "1.8.0" resolved "https://registry.npmjs.org/@opentelemetry/api/-/api-1.8.0.tgz" @@ -2165,17 +2195,17 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.1.tgz#eaee5900122c110a3dbcb728c0597014a2621774" integrity sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg== -"@salesforce/agents@^1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-1.6.0.tgz#314c658da98215acd1d86d622d954ae479c68863" - integrity sha512-3ziyrozhmO0SBu6anSZ2BaOWKu9QNPYxWR0jLIfqwhC4Fydle//eCjob1+F06aGbBGcAzaje4iM0pvMAJbWv6w== +"@salesforce/agents@^1.6.6": + version "1.6.6" + resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-1.6.6.tgz#ef06c2af30eeada8fdee22354a451ba828e7eb54" + integrity sha512-YMYOPv45aSLjIARu+9vkHz5GWXGh0EMhiQw+oCBEwlxD55/O4Gm6Zb/HzLuOPKhXt5xn9TogG87vvHvCNgiUyA== dependencies: - "@salesforce/core" "^8.29.0" + "@salesforce/core" "^8.29.1" "@salesforce/kit" "^3.2.6" - "@salesforce/source-deploy-retrieve" "^12.35.1" + "@salesforce/source-deploy-retrieve" "^12.35.8" "@salesforce/types" "^1.7.1" - fast-xml-parser "^5.7.2" - nock "^13.5.6" + fast-xml-parser "^5.7.3" + nock "^14.0.15" yaml "^2.8.4" "@salesforce/apex-node@^8.4.22", "@salesforce/apex-node@^8.4.24": @@ -2306,16 +2336,16 @@ jszip "^3.10.1" object-treeify "^2" -"@salesforce/plugin-agent@1.40.1": - version "1.40.1" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.40.1.tgz#bc584ac54c791fda78f951cd1c174045461238e2" - integrity sha512-PYlhDEKTxNrmOZ4TEkXH/YxkGzeNOrxWFgisrqRfhNDDe0Xq9CXxfENwewYHHpFcm2JJEciwfJlPvoXI8QS80w== +"@salesforce/plugin-agent@1.40.2": + version "1.40.2" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.40.2.tgz#e29d0b366d1396726bedc615cd615acbe865b56a" + integrity sha512-ChkJ+CtlJ+b85lsOCRs4MMLqdsXAwl92bIFzdh94q/HvKE91jQ7Jr+J+KiKPoenw5/OW+8FOzqCdWCF8hu8nTQ== dependencies: "@inquirer/core" "^10.3.2" "@inquirer/prompts" "^7.10.1" "@oclif/core" "^4" "@oclif/multi-stage-output" "^0.8.36" - "@salesforce/agents" "^1.6.0" + "@salesforce/agents" "^1.6.6" "@salesforce/core" "^8.28.3" "@salesforce/kit" "^3.2.6" "@salesforce/sf-plugins-core" "^12.2.6" @@ -2649,7 +2679,7 @@ string-width "^7.2.0" terminal-link "^3.0.0" -"@salesforce/source-deploy-retrieve@^12.34.2", "@salesforce/source-deploy-retrieve@^12.35.1", "@salesforce/source-deploy-retrieve@^12.35.3", "@salesforce/source-deploy-retrieve@^12.35.9": +"@salesforce/source-deploy-retrieve@^12.34.2", "@salesforce/source-deploy-retrieve@^12.35.1", "@salesforce/source-deploy-retrieve@^12.35.3", "@salesforce/source-deploy-retrieve@^12.35.8", "@salesforce/source-deploy-retrieve@^12.35.9": version "12.35.9" resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.35.9.tgz#4de71e6e8df1e94c7b110e8a9f46d9d411824b00" integrity sha512-Qud+1lHS0u+LM/AAHPN9Y/6W6hBZ8nvw6/TxJRzn/BuvRSz74YBwvmVhmn5pvpZdNrYmKRMPxsK47l2VmazSsw== @@ -7172,6 +7202,11 @@ is-negative-zero@^2.0.3: resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz" integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== +is-node-process@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-node-process/-/is-node-process-1.2.0.tgz#ea02a1b90ddb3934a19aea414e88edef7e11d134" + integrity sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw== + is-number-object@^1.0.4: version "1.0.7" resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz" @@ -8572,12 +8607,12 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" -nock@^13.5.6: - version "13.5.6" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.6.tgz#5e693ec2300bbf603b61dae6df0225673e6c4997" - integrity sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ== +nock@^14.0.15: + version "14.0.15" + resolved "https://registry.yarnpkg.com/nock/-/nock-14.0.15.tgz#23f9978fb20d8b3607dc263f4978cb89648f550b" + integrity sha512-S0a47C9pLvcYx/Ugf0H30BVBEcUgMMBDk9VJIDlJ8XGrfH2QDUD4Tgdp45qDIiHttokBG+IbsOtsvIjGR/j3bg== dependencies: - debug "^4.1.0" + "@mswjs/interceptors" "^0.41.0" json-stringify-safe "^5.0.1" propagate "^2.0.0" @@ -9048,6 +9083,11 @@ optionator@^0.9.3: prelude-ls "^1.2.1" type-check "^0.4.0" +outvariant@^1.4.0, outvariant@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.3.tgz#221c1bfc093e8fec7075497e7799fdbf43d14873" + integrity sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA== + p-cancelable@^2.0.0: version "2.1.1" resolved "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz" @@ -10464,6 +10504,11 @@ stack-utils@^2.0.6: dependencies: escape-string-regexp "^2.0.0" +strict-event-emitter@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz#1602ece81c51574ca39c6815e09f1a3e8550bd93" + integrity sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ== + "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"