You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): operate-verb parity with MCP + Homebrew tap publishing (#30)
Wave-2 A4. Adds the day-2 operate surface the MCP server shipped in
v0.9 (vault, env-patch, presign, pause, resume, rotate, wake,
capabilities, deploy-events) plus the backups read/write surface, so
agents no longer fall back to curl after provisioning. Endpoints mirror
mcp/src/client.ts exactly; path fragments are named constants.
New commands:
instant vault set <env> <key> PUT /api/v1/vault/:env/:key
instant vault rotate <env> <key> POST /api/v1/vault/:env/:key/rotate
instant deploy env <id> K=V... PATCH /deploy/:id/env
instant deploy wake <id> POST /deploy/:id/wake
instant deploy events <id> GET /api/v1/deployments/:id/events
instant stack env <slug> K=V... PATCH /stacks/:slug/env
instant storage presign <token> POST /storage/:token/presign
instant capabilities GET /api/v1/capabilities
instant resource pause|resume POST /api/v1/resources/:token/{pause,resume}
instant resource rotate <token> POST /api/v1/resources/:token/rotate-credentials
instant resource backup <token> POST /api/v1/resources/:token/backup
instant resource backups <token> GET /api/v1/resources/:token/backups
Auth contract matches MCP: everything requires a token except
storage presign (broker mode — the storage token in the URL is the
credential) and capabilities (public pre-flight discovery). Every
command supports --json; errors flow through wrapJSONErr.
Homebrew tap:
- brews block publishing the 'instant' formula to
InstaNode-dev/homebrew-tap (repo created this sprint)
- release.yml passes HOMEBREW_TAP_TOKEN through to goreleaser
- skip_upload template guard: until the operator mints a repo-scoped
PAT on the tap and sets the HOMEBREW_TAP_TOKEN secret, the formula
push is skipped WITHOUT failing the release (verified via
'goreleaser release --snapshot' dry run)
VERSION bumped to 0.3.0 for the release cut after merge.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments