fix: bili claude/codex auto-inject native MCP tools by default (#290) - #291
Merged
Merged
Conversation
Close #290. BILI_LAUNCHER_PLUGIN now defaults to on for claude/codex (both flags verified on claude 2.1.227 / codex 0.147.0 and soaked since 08-16); set BILI_LAUNCHER_PLUGIN=0 to force pure wire mode.
📦 Built Package ArtifactBranch: Option A — Install from npm PR tag (recommended)npm install -g billion-context@pr-291Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pr291.tgz
npm install -g packageThis comment is automatically updated on each push. |
Owner
Author
[bot] PR 已 review(分支 改动核对
本地检查(本分支上实跑)
合规性
两个小提醒(非阻塞)
按 AGENTS.md,合并由人工操作,我不会 merge。 |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixes #290 —
bili claude(andbili codex) ran in pure wire/service mode by default because native MCP tool injection was opt-in (BILI_LAUNCHER_PLUGIN=1).Change
launcherInjectMcp()now defaults to on for claude/codex:BILI_LAUNCHER_PLUGIN !== "0". Both flag paths were already verified (claude 2.1.227 / codex 0.147.0) and soaked since 08-16; the code comment documented this exact flip as the plan.BILI_LAUNCHER_PLUGIN=0is the kill switch back to pure wire mode (for hosts older than the verified versions).pi/omp/opencode/dsh behavior unchanged (already auto-inject native plugins); hermes stays wire-only.
Checks
npm run typecheck✓npm test✓ (657 pass)npm run build✓