Skip to content

Share Sentry API URLs and bearer headers - #1442

Merged
BYK merged 3 commits into
mainfrom
feat/toolkit-core-auth-api
Oct 7, 2026
Merged

BYK merged 3 commits into
mainfrom
feat/toolkit-core-auth-api

Conversation

@BYK

@BYK BYK commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Add pure shared API URL assembly and bearer-header formatting in toolkit-core.
  • Use the shared functions in CLI raw/region API requests and the MCP API client while retaining product-specific host scope, OAuth refresh, HTTP transport, retries, and error types.
  • Cover self-hosted path prefixes, encoded cursors, and malformed token rejection.

Validation

  • pnpm run tsc
  • pnpm run lint
  • pnpm run test (CLI 10,533; MCP core 1,755; toolkit core 36; MCP server 84; test client 80; Cloudflare 433)
  • pnpm run pre-commit:generated, pnpm run docs:check, CLI check:deps, Oxfmt

Co-Authored-By: GPT-6 Sol <agent@openai.com>
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 7, 2026
Comment thread packages/toolkit-core/src/api-request.ts Fixed
BYK and others added 2 commits October 7, 2026 20:37
Co-Authored-By: GPT-6 Sol <agent@openai.com>
Co-Authored-By: GPT-6 Sol <agent@openai.com>
@BYK
BYK deployed to Actions October 7, 2026 21:24 — with GitHub Actions Active
@BYK
BYK merged commit 7ee08df into main Oct 7, 2026
34 checks passed
@BYK
BYK deleted the feat/toolkit-core-auth-api branch October 7, 2026 21:39

This branch was successfully deployed

1 active deployment
Actions — 4daba833 Deployed Oct 7, 2026 by BYK via eval #1273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants