Skip to content

Complete remaining Customer Trust, Knowledge Base, and Trust Center CLI coverage - #17

Merged
dennis-chen-vanta merged 5 commits into
mainfrom
dennis-chen-vanta/remaining-api-coverage
Oct 6, 2026
Merged

dennis-chen-vanta merged 5 commits into
mainfrom
dennis-chen-vanta/remaining-api-coverage

Conversation

@dennis-chen-vanta

@dennis-chen-vanta dennis-chen-vanta commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds CLI commands for the remaining 121 operations in the API spec: customer-trust (25), knowledge-base (15), and trust-centers (81).

Also fixes file uploads for all upload commands, including existing ones: Binaries sent unnamed files (rejected as 'file' is required), and text files were sent as application/octet-stream (422).

Tested: typecheck, unit tests, standalone binaries, dry runs of all 121 commands, and live runs against staging (reads plus create/update/delete on test objects, all cleaned up).

Tested file upload fix
image

🤖 Generated with Claude Code

dennis-chen-vanta and others added 2 commits October 2, 2026 12:19
- Use --id for each group's own resource; parents keep prefixed flags
- Split subgroups into per-file registrations, matching vendor-* pattern
- Align descriptions, option typing, and formatting with existing commands
- Drop JSON payload help blocks, which other commands don't have
- Rename trust-centers list to get; fix help text wording
- Move writeDownloadedMedia into helpers.ts

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@dennis-chen-vanta
dennis-chen-vanta force-pushed the dennis-chen-vanta/remaining-api-coverage branch from e332242 to b988662 Compare October 2, 2026 16:50
@dennis-chen-vanta
dennis-chen-vanta changed the base branch from dchen_missing_commands_batch_1 to main October 2, 2026 16:50
Comment thread src/commands/helpers.ts
Comment thread src/commands/knowledge-base-answer-library.ts Outdated
dennis chen and others added 3 commits October 2, 2026 13:19
- readBinaryFile sends a named File with a content type from the extension.
  Bun-compiled binaries sent unnamed blobs as filename="" (rejected as
  "'file' is required"), and text files went out as octet-stream (422).
  Affects existing upload commands too.
- Add readBinaryFile unit tests; quote the test glob so sh doesn't
  narrow it to src/commands once a test lives there.
- Normalize placeholders: <query> for search flags, <bool>, <timestamp>
  for date-time filters, and other drift.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- AGENTS.md: name the standard placeholder for common inputs
- suggest-mitigating-controls skill: use <query> for search terms
- helpers: describe the filename="" issue without naming a runtime

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dennis-chen-vanta
dennis-chen-vanta marked this pull request as ready for review October 2, 2026 21:49
Comment thread package.json
Comment thread src/commands/knowledge-base-resources.ts
Comment thread src/commands/helpers.ts
@dennis-chen-vanta
dennis-chen-vanta merged commit 44e506e into main Oct 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants