Clarify quota/billing behavior for Claude Agent SDK runtime
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
Start with the README, package.json, src/lib/claude-client.ts, and src/lib/runtime/sdk-runtime.ts to trace which runtime and authentication paths the issue describes. Verify the quota behavior against the linked Anthropic documentation, then clarify the supported billing sources in the README and runtime selection UI; done means users can tell which account or quota their chosen runtime uses.
索引モデルが issue の本文から書いたものです。
説明
Hi, thanks for building CodePilot. I am evaluating the runtime and remote bridge behavior, and noticed one billing/quota detail that may be worth documenting more explicitly.
CodePilot appears to support a Claude Code / Claude Agent SDK runtime via @anthropic-ai/claude-agent-sdk, while the README also says users can configure providers and track token usage/costs. Anthropic's current docs say that, starting June 15, 2026, Claude Agent SDK and claude -p usage on Claude subscription plans will draw from a separate monthly Agent SDK credit. API key users continue with normal pay-as-you-go API billing.
Relevant docs:
- https://code.claude.com/docs/en/agent-sdk/overview
- https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan
CodePilot references I checked:
package.jsondepends on@anthropic-ai/claude-agent-sdksrc/lib/claude-client.tsimportsqueryfrom@anthropic-ai/claude-agent-sdksrc/lib/runtime/sdk-runtime.tsexposes theclaude-code-sdkruntime- README says Claude Code CLI is optional for basic chat and mentions token/cost tracking
Questions:
- When using the Claude Agent SDK runtime with Claude subscription auth, does usage count against the separate Agent SDK monthly credit?
- When CodePilot injects a configured provider API key/base URL into the SDK subprocess, does usage count against that provider/API billing instead?
- Are remote Bridge sessions, such as Feishu/Telegram/Discord turns, counted the same way as local chat when they use the SDK runtime?
- Could the UI or README show the current runtime's quota source, for example:
- Native provider runtime -> configured provider/API key billing
- Claude Agent SDK via Claude subscription -> Agent SDK monthly credit
- Claude Agent SDK via API key/provider -> API/provider billing
- Local interactive Claude Code/channel-style runtime, if supported -> different from Agent SDK /
claude -p
Product-level concern:
A user may try CodePilot expecting their existing Claude Max subscription to provide a broad remote Claude Code experience across Feishu/Telegram/Discord/etc. But if the advanced or remote workflow depends mainly on the Claude Agent SDK runtime, that experience may be constrained by a separate Agent SDK credit and may require additional usage credits or API billing after that credit is exhausted.
That could materially affect user expectations, adoption, and retention. Users might assume all CodePilot usage is billed through the configured provider or through normal Claude Code interactive limits, while Agent SDK usage may draw from a different quota/billing source.
It may be helpful to clarify this in the README and runtime selection UI, and possibly add a small warning/label showing which account/quota/billing source the current runtime will consume.
Apologies if I misunderstood part of the runtime routing. I am filing this mainly as a docs/UX clarification because the quota source seems important for users evaluating the product.
- 主要言語
- TypeScript
- スター
- 6.5k
- フォーク
- 697
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
op7418/CodePilot のほかの issue
-
发生错误时提醒Error:successオープンbug P0-crash-or-interrupt
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
Effort selector dropdown hidden for GLM models — blocks access to GLM-5.2 High/Max effort tiersオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug P0-crash-or-interrupt
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
op7418/CodePilot の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
backnotprop/plannotator#2914 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/vscode-containers#655 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · コメント 1 件 ·