Repository navigation
[PR] docs(claude): disclose that bili routing disables account-bound features like Remote Control (#4693) - #4709
ranxianglei wants to merge 7 commits into
Conversation
…res (Remote Control) (#4693) Routing claude through bili sets a custom ANTHROPIC_BASE_URL, which puts Claude Code in third-party/API-key mode and hides account/cloud-bound features such as Remote Control (/remote-control). Document this inherent base-URL-routing tradeoff in the README claude bullet (en+zh) and surface it once in the 'bili plugin install claude' success message, with the plain-claude workaround. No logic/wire/default change; no auto-close of #4693 (owner decides).
944f50d to
133458d
Compare
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.6153-pr.4709.c2b6d2cThis exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr4709.tgz
npm install -g packageInstall instructions are refreshed on each push. |
133458d to
2c057aa
Compare
(ai: vllm-qwen/qwen3.8-27b) 冲突已解决,rebase 完成并已推回本 PR 分支( 八问:
判定:冲突干净收敛,语义零漂移,等 CI 绿即可由人工合并。 |
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复。本 PR(#4709)是 #4693(claude 装完 bili 后 标签: 先说结论:方向对、改动干净,CI 绿即可合。 审核时发现一个阻塞项并已当场修掉:PR 是在 master 落 #3446 之前拉出来的,而 master 后来改了同一行 claude bullet(#3446 补了「CC 2.1.301+ 会遵守 HTTPS_PROXY」的说法),于是 PR 处于 独立审核(自己重读 diff 与代码路径,未照抄 issue 结论):
结构化八问:
|
(ai: vllm-qwen/qwen3.8-27b) CI 状态更正(跟进上一条) 上一条我说「主 test 分片在跑」——现在更正:这批
分支状态:我已把分支从旧 base rebase 到最新 master,清掉了与 master #3446 在同一 claude bullet 行的内容冲突(两处 README 取并集保留双方, 结论:PR 已可合并,等 master churn 平息后拿到一次干净的 CI 全绿即可合入;无需我再做代码动作,由你手动 merge。#4693 是否关闭仍归你决定。 |
…help-merge sweep)
…help-merge sweep)
…help-merge sweep)
…help-merge sweep)
master window commits 293ae65/de5e03659 bumped kernel/package.json to 0.0.165 without regenerating the lockfiles; lock-sync re-resolution then rewrites the stale recorded versions (root 0.0.163, kernel 0.0.164) and fails. Pure recorded-version sync via npm install --package-lock-only; no dependency or semantic change.
|
(ai: sglang-gpu0/qwen3.8-27b) |
Refs #4693
What & why
bili plugin install clauderoutes Claude Code model traffic through a local proxy by setting a customANTHROPIC_BASE_URL. Claude Code treats any non-default base URL as third-party/API-key mode and hides features bound to your Anthropic account/Cloud — notably Remote Control (/remote-control, driving a local session from mobile/desktop/web) disappears from the command list while bili routes traffic. Removing bili restores the default base URL and the command returns (the reporter's exact A/B).This is inherent to the base-URL routing seam: CC's undici stack ignores
HTTPS_PROXY/MITM (#2290, field-tested) and there is no in-process extension point, so compression and Remote Control cannot coexist on the same claude session today. Nothing insettings.jsonis deleted —applyClaudeManagedBlockclones the file and touches onlyenv.ANTHROPIC_BASE_URL/DISABLE_AUTO_COMPACT/VERTEX_BASE_URL+hooks.SessionStart.This PR makes that tradeoff explicit instead of leaving it a surprise:
claudeworkaround.bili plugin install claudesuccess message: one appended sentence surfacing the same note at install time (with the Installing billion-context removes '/remote-control' command from claude-code #4693 ref).Behavior change disclosure
…restart claude to activate; it now appends. Note: routing claude through bili sets a custom ANTHROPIC_BASE_URL, which disables account-bound features (e.g. Remote Control /remote-control) while the proxy routes traffic — run plain claude without bili for sessions that need them (#4693)). Purely additive text; no logic/wire/default/semantics change.No config surface added. No change under
kernel/,src/update.ts, wire/message shape, or identity/session binding.Verification
tests/claude-native.test.ts+tests/claude-mcp-entry.test.ts→ 78 pass / 0 fail / 8 gated skips;npm run typecheckclean. Full-suite verdict = remote CI on this head.Does not close #4693 (owner decides); this documents the limitation + workaround rather than changing routing behavior.