Skip to content

feat(aigateway): workspace create/update/delete with confirm guards - #307

Merged
cdot65 merged 2 commits into
mainfrom
cdot65/feat/aigateway-writes
Aug 5, 2026
Merged

feat(aigateway): workspace create/update/delete with confirm guards#307
cdot65 merged 2 commits into
mainfrom
cdot65/feat/aigateway-writes

Conversation

@cdot65

@cdot65 cdot65 commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Slice 3 of #299: AI Gateway workspace writes. Stacked on #306 — merge that first.

Changes

  • SdkAiGatewayService.createWorkspace/updateWorkspace/deleteWorkspace — camel→snake mapping; create/update re-read via admin-plane get (create returns a partial record, update returns {}); delete performs no verify-get (archived workspaces 404 by design)
  • airs aigateway workspace create--name + --scope-name required; warns when scope shares no token with name (the "workspace went missing" foot-gun); JSON flags for defaults/metadata/limits (limits are ARRAYS)
  • airs aigateway workspace update <ref> — true partial patch, at least one field required (exit 2 otherwise)
  • airs aigateway workspace delete <ref> — reported as archived (no hard delete exists), confirm prompt with --force bypass, rm alias
  • Docs: write sections in docs-site/docs/cli/aigateway/workspaces.md; changeset (minor)

Testing

  • TDD: failing wrapper + helper specs committed first
  • 906 tests green (14 new); tsc + Biome + docs build clean

Closes #302

@cdot65
cdot65 force-pushed the cdot65/feat/aigateway-writes branch from d6078c8 to 20783aa Compare August 5, 2026 21:47
@cdot65
cdot65 merged commit abb1136 into main Aug 5, 2026
4 checks passed
@cdot65
cdot65 deleted the cdot65/feat/aigateway-writes branch August 5, 2026 21:49
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.

feat(aigateway): workspace create/update/delete with confirm guards

1 participant