feat: adl cli update to 262.11 api and fix P2/P3 bugs @W-23237764@#453
Merged
DylanZeigler merged 10 commits intoJul 1, 2026
Merged
Conversation
Collaborator
|
Cross-repo review — this PR is paired with forcedotcom/agents#312.
Individual pattern review posted separately. |
Collaborator
|
Pattern review —
1. [issue] Missing test for 2. [warning] Otherwise clean:
|
bobby-sf
added a commit
to bobby-sf/plugin-agent
that referenced
this pull request
Jun 30, 2026
…vity @W-23237764@ - Add test/adlUtils.test.ts with 8 unit tests for extractApiError utility - Enforce --data-category-ids and --data-category-names mutual exclusivity at runtime - Addresses PR salesforcecli#453 review feedback Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add --content-fields, --data-category-ids, --data-category-names flags on create for KNOWLEDGE libraries (W-23170212, W-23170213) - Clean Connect API error output, strip Java stack traces (W-23170214) - Document upload/file-add/create behaviors in help text (W-23170215, W-23170217, W-23170218) - Fix file delete message to async wording (W-23170219) - Add --include-artifacts flag on status command - Switch file list to paginated GET /files endpoint with --page-size and --status flags - Display retriever/retrieverAction details in get output - Warn when fileRefs truncated at 200 (use totalFileCount) - Remove developer preview state from all ADL commands - Add extractApiError utility for clean error handling Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…3237764@ - Rename dataCategoryNames/Ids to dataCategorySelectionNames/Ids to match API - Auto-set isDataCategoryRuleEnabled=true when categories provided on create - Add --data-category-rule/--no-data-category-rule toggle to update command - Add NUT coverage for data category create/update flows - Regenerate schemas and snapshots Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…vity @W-23237764@ - Add test/adlUtils.test.ts with 8 unit tests for extractApiError utility - Enforce --data-category-ids and --data-category-names mutual exclusivity at runtime - Addresses PR salesforcecli#453 review feedback Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…237764@ Add --wait flag (minutes) to poll KNOWLEDGE libraries until READY. Extract validateFlags() and buildGroundingSource() helpers to satisfy ESLint complexity limit. Add NUT test verifying --wait polls to READY. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8121665 to
f9f5833
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
DylanZeigler
approved these changes
Jul 1, 2026
hsuanya-sf
added a commit
to hsuanya-sf/agentforce-adlc
that referenced
this pull request
Jul 3, 2026
…237764@ Reflect the 262.9 → 262.11 ADL CLI update (forcedotcom/agents#312, salesforcecli/plugin-agent#453) in the data-library reference: - create: add --content-fields, --data-category-ids, --data-category-names, and --wait flags for KNOWLEDGE libraries (content fields / data categories can now be set at create time; the two data-category flags are mutually exclusive). - status: add --include-artifacts and note per-stage error classification. - file list: add --page-size / --offset / --status flags; note it is paginated and lists every file, whereas get inlines at most 200. - file delete: clarify deletion is asynchronous. - file add vs upload: document that upload provisions downstream DC assets and file add only appends to the existing index. - Replace the stale DATA_CATEGORY_NOT_SUPPORTED row with the verified client-side mutual-exclusivity error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Update ADL CLI commands to match the 262.11 Connect API and fix 8 P2/P3 bugs.
262.11 API features:
--include-artifactsflag on status command (resolves DC asset details per stage)--page-sizeand--statusflagsretriever/retrieverActionobjects in get outputtotalFileCountfor accurate count)Bug fixes:
--content-fieldsflag to create for KNOWLEDGE libraries--data-category-idsand--data-category-namesflags to createOther:
state = 'preview'from all 10 ADL commands (GA)extractApiErrorutility (src/adlUtils.ts).filter(Boolean)on comma-separated flag parsingWhat issues does this PR fix or reference?
@W-23237764@ (parent), @W-23170212@, @W-23170213@, @W-23170214@, @W-23170215@, @W-23170217@,
@W-23170218@, @W-23170219@, @W-23170220@