Skip to content

feat(cli): --json on info + new offline capy list#259

Merged
cvince merged 1 commit into
feat/cli-mcpfrom
feat/cli-json-info-list
Jun 25, 2026
Merged

feat(cli): --json on info + new offline capy list#259
cvince merged 1 commit into
feat/cli-mcpfrom
feat/cli-json-info-list

Conversation

@cvince

@cvince cvince commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

First slice of the machine-readable read-only surface the Capy MCP depends on. Targets the feat/cli-mcp integration branch.

  • capy info --json — session/org/user/project/branch + memberships as JSON (IDs + names only; no keys).
  • capy list (new) — variable NAMES + connector metadata for the active branch. Offline: reads keep.lock only, no auth, no network, no decryption, and never emits values. --json for machine consumption.
  • Registered in both index.ts and index-dev.ts (the dev entry has its own command tree).

Verified against a real project: capy list --json emits { projectName, branch, variables: [{ name, managed, connector }] } with connector metadata (provider/fingerprint/timestamps) but never a value. typecheck + build clean.

Next on this branch: --json for status, branch, and users.

@cvince cvince merged commit cb0063d into feat/cli-mcp Jun 25, 2026
@cvince cvince deleted the feat/cli-json-info-list branch June 25, 2026 08:11
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.

1 participant