Skip to content

docs(provider): rename the lifecycle sandbox state to preview - #86

Merged
dxiongya merged 7 commits into
stagingfrom
docs/preview-lifecycle
Dec 1, 2026
Merged

dxiongya merged 7 commits into
stagingfrom
docs/preview-lifecycle

Conversation

@dxiongya

@dxiongya dxiongya commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

What

The provider lifecycle state is now PREVIEW in production (backend xapi-backend#927, CLI xapi-to@0.3.3), but the published skills still described it as SANDBOX. This updates the docs only:

  • xapi-provider lifecycle and submission-readiness references: DRAFT → PREVIEW, readiness code REVISION_NOT_IN_PREVIEW (formerly REVISION_NOT_IN_SANDBOX; the backend only returns the new code), older backends reporting SANDBOX are treated as the same state.
  • README and xapi skill: --preview on get, get-batch, categories and calls, matching src/commands/action.ts.
  • The Sandbox compute product (xapi-to sandbox …, SANDBOX_PROVIDER_V1, SANDBOX_ENDPOINT_DELISTED, sandboxConfig) is unchanged.

Cherry-picked (-x) from feature/sandbox-to-preview-docs (231d23d, 4280df4) onto current main; no conflicts. Tracks KANBY-141.

Checks

bun install --frozen-lockfile, typecheck, build pass; bun test 1542 pass / 0 fail (head 9bf60d1ab). Docs only: no npm release needed; skills install from GitHub main.

🤖 Generated with Claude Code

dxiongya and others added 7 commits November 23, 2026 13:47
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(cli): support preview services in discovery and action calls
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… endpoint delisting

Use delisted in provider instructions and surface actionable takedown and field migration errors.

Kanby-Task: KANBY-140

Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Document the backend rename of the provider lifecycle state SANDBOX to
PREVIEW (old value still reported by older backends), the
REVISION_NOT_IN_PREVIEW readiness code, and how owners self-test a
preview service: --preview / include_preview instead of the removed
allowSandbox key permission, any owner key through the Gateway,
X-XAPI-Billing: preview and isPreviewCall. The Sandbox compute product
text is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 231d23d)
Mirror the CLI flag coverage: --preview now also applies to categories
(query) and get/get-batch (batch body). Clarify that platform admins are
the exception to the 404 for other users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 4280df4)
@dxiongya
dxiongya merged commit f82236a into staging Dec 1, 2026
2 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.

1 participant