feat: add capabilities command#1133
Merged
Merged
Conversation
|
Size Report
Startup median (7 runs, lower is better):
Top changed chunks:
|
555b9eb to
897baf8
Compare
Member
Author
|
CI failure is actionable, not a flake. Current failing checks on #1133:
The provider integration leak guard is failing because the new public command is not classified: Please add |
897baf8 to
b51e77d
Compare
b51e77d to
3408a8f
Compare
Member
Author
|
Reviewed #1133 at head What I checked:
All 22 checks are passing. Residual risk is low: this is an inventory/control-plane command with provider-backed policy coverage; no live-device-only behavior changed. |
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.
Summary
Add a
capabilitiesinventory command that reports target-supported command names asavailableCommands.Expose the command through CLI output, the daemon inventory route, and
client.devices.capabilities().Document the CLI and Node API surfaces for dynamic integrations.
Validation
pnpm exec vitest run src/daemon/handlers/__tests__/session-capabilities.test.ts src/daemon/__tests__/daemon-command-registry.test.ts src/core/command-descriptor/__tests__/parity.test.ts src/commands/__tests__/command-surface-metadata.test.ts src/utils/__tests__/command-schema-guards.test.tspnpm exec vitest run src/cli/parser/__tests__ src/utils/__tests__/command-schema-guards.test.tspnpm check:quickpnpm check:unitpassed: 362 files, 3270 testspnpm buildpnpm test:smoke