Skip to content

fix(credentials): make Claude Platform API keys available in the provider catalog - #8593

Merged
TheodoreSpeaks merged 1 commit into
stagingfrom
fix/claude-manage-platform
Oct 2, 2026
Merged

TheodoreSpeaks merged 1 commit into
stagingfrom
fix/claude-manage-platform

Conversation

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator

Summary

  • Claude Platform API key credentials were reported available: false for every viewer, so the provider catalog refused to create them before any Anthropic call
  • Cause: service-account visibility needs the credential's service linked to an integration block, but that map is built only from OAuth integrations — the managed_agent block is api-key auth, so claude-platform mapped to no block
  • Link claude-platform → managed_agent through the existing token-credential map (same path Coda uses), so the block's allowlist, kill switch, and preview gating still govern the credential

Type of Change

  • Bug fix

Testing

  • credential-visibility.server.test.ts: Coda case parameterized over Claude Platform, driven by the real availability catalog (visible by default, hidden by allowlist / kill switch / preview)
  • credential-display.test.ts: coverage table now expects claude-managed-agents for the Claude Platform credential
  • lib/integrations, lib/credentials, lib/oauth, managed-agent, and credential tool tests pass; bun run lint, block-registry check, check:audits, docs-manifest:check pass

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

🤖 Generated with Claude Code

https://claude.ai/code/session_01WsJr8v3nVcg4RYbdARkcrn

@vercel

vercel Bot commented Oct 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 2, 2026 11:11pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Adds Claude Platform API keys to the integration catalog.

The PR appears safe to merge; no actionable issue was identified.

Summary

The PR maps Claude Platform token credentials to the Managed Agent integration so the credential-provider catalog can offer them. It also updates display-coverage expectations and adds visibility-policy regression coverage.

Reviews (1) · Last reviewed commit: "fix(credentials): make Claude Platform A..."

@TheodoreSpeaks
TheodoreSpeaks merged commit 0c86cb6 into staging Oct 2, 2026
33 checks passed
@TheodoreSpeaks
TheodoreSpeaks deleted the fix/claude-manage-platform branch October 2, 2026 23:28

This branch was previously deployed

1 inactive deployment
Preview — ea6f03f4 Deployed Oct 2, 2026 by vercel[bot]
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