From 1d86af5623e88f0d1596e75a39f75831608bb50e Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Thu, 2 Jul 2026 18:55:45 +0000 Subject: [PATCH] chore(release): bump to 2.143.0 --- README.md | 140 +++++++++++++++++++++++++++++++-------------------- package.json | 10 ++-- yarn.lock | 34 ++++++------- 3 files changed, 108 insertions(+), 76 deletions(-) diff --git a/README.md b/README.md index e344d34e..023c350f 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.142.7 linux-x64 node-v22.23.0 +@salesforce/cli/2.143.0 linux-x64 node-v24.18.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -302,7 +302,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.43.0/src/commands/agent/activate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/activate.ts)_ ## `sf agent adl create` @@ -312,13 +312,24 @@ Create an Agentforce Data Library. USAGE $ sf agent adl create -o -n --developer-name --source-type sfdrive|knowledge|retriever [--json] [--flags-dir ] [--api-version ] [--description ] [--index-mode basic|enhanced] - [--retriever-id ] [--primary-index-field1 ] [--primary-index-field2 ] + [--retriever-id ] [--primary-index-field1 ] [--primary-index-field2 ] [--content-fields + ] [--data-category-ids ] [--data-category-names ] [-w ] FLAGS -n, --name= (required) Display name for the data library (max 80 characters). -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set. + -w, --wait= Wait N minutes for indexing to complete (KNOWLEDGE libraries). SFDRIVE libraries + require upload before indexing; RETRIEVER libraries are ready immediately. --api-version= Override the api version used for api requests made by this command + --content-fields= Comma-separated list of content fields for KNOWLEDGE libraries (optional, mutable + after creation). + --data-category-ids= Comma-separated list of data category selection IDs for KNOWLEDGE libraries. + Mutually exclusive with --data-category-names (provide one or the other, not + both). + --data-category-names= Comma-separated list of data category names in qualified format (e.g., + "Group_API_Name.Category"). Mutually exclusive with --data-category-ids (provide + one or the other, not both). --description= Description of the data library (max 255 characters). --developer-name= (required) API name for the data library (max 80 characters, alphanumeric and underscores only, must start with a letter). @@ -344,6 +355,9 @@ DESCRIPTION Creates a new data library in the target org. The --source-type flag determines the type of library: SFDRIVE (file upload), KNOWLEDGE (Salesforce Knowledge articles), or RETRIEVER (existing active Custom Retriever). + For SFDRIVE libraries, creation provisions the full Data Cloud pipeline (DLO → DMO → SearchIndex → Retriever). Upload + files with `sf agent adl upload` after creation. + EXAMPLES Create an SFDRIVE library: @@ -360,7 +374,7 @@ EXAMPLES --source-type retriever --retriever-id 0ppXX0000000001 ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/create.ts)_ ## `sf agent adl delete` @@ -391,7 +405,7 @@ EXAMPLES $ sf agent adl delete --library-id 1JDSG000007IbWX4A0 --target-org myOrg ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/delete.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/delete.ts)_ ## `sf agent adl file add` @@ -418,6 +432,9 @@ DESCRIPTION Adds one or more files to an existing SFDRIVE data library and triggers SearchIndex re-hydration. This is the day-2 operation for adding files to an already-provisioned library. + Adds files to an existing READY library. Unlike `sf agent adl upload`, this does NOT create new downstream Data Cloud + assets — it appends files to the existing SearchIndex and triggers re-indexing. + Constraints: at least 1 file required, no duplicate file names in a batch, maximum 1000 files per library. EXAMPLES @@ -430,7 +447,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/1.43.0/src/commands/agent/adl/file/add.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/file/add.ts)_ ## `sf agent adl file delete` @@ -463,7 +480,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/1.43.0/src/commands/agent/adl/file/delete.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/file/delete.ts)_ ## `sf agent adl file list` @@ -471,13 +488,18 @@ List files in an Agentforce Data Library. ``` USAGE - $ sf agent adl file list -o -i [--json] [--flags-dir ] [--api-version ] + $ sf agent adl file list -o -i [--json] [--flags-dir ] [--api-version ] [--page-size + ] [--offset ] [--status uploaded|indexing|indexed|index_failed|deleting|delete_failed] FLAGS -i, --library-id= (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD). -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 + --offset= Number of files to skip before returning results (for pagination). + --page-size= [default: 50] Number of files to return per page (1-200, default 50). + --status=