billion-context 0.1.58-pr.296.149 → 0.1.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -60221,7 +60221,7 @@ function launcherDirectUrl(env) {
60221
60221
  return env.BILI_LAUNCHER_DIRECT === "1";
60222
60222
  }
60223
60223
  function launcherInjectMcp(env, base) {
60224
- return base !== "pi" && base !== "omp" && base !== "opencode" && base !== "hermes" && base !== "dsh" && env.BILI_LAUNCHER_PLUGIN === "1";
60224
+ return base !== "pi" && base !== "omp" && base !== "opencode" && base !== "hermes" && base !== "dsh" && env.BILI_LAUNCHER_PLUGIN !== "0";
60225
60225
  }
60226
60226
  function buildMcpConfig(origin) {
60227
60227
  const script = selfDistFile("mcp.js");
@@ -60961,8 +60961,10 @@ async function runLaunch(params, deps = {}) {
60961
60961
  }
60962
60962
  }
60963
60963
  const injectMcp = launcherInjectMcp(process.env, base);
60964
- if (!injectMcp && (base === "claude" || base === "codex")) {
60965
- console.error("bili: plugin mode off \u2014 set BILI_LAUNCHER_PLUGIN=1 to enable native MCP tools (experimental; verified with claude 2.1.227 / codex 0.147.0).");
60964
+ if (injectMcp) {
60965
+ console.error(`bili: injecting native bili MCP tools for ${base} (disable with BILI_LAUNCHER_PLUGIN=0).`);
60966
+ } else if (base === "claude" || base === "codex") {
60967
+ console.error("bili: native MCP tools disabled (BILI_LAUNCHER_PLUGIN=0) \u2014 running in pure wire mode.");
60966
60968
  }
60967
60969
  const origin = handle2.origin;
60968
60970
  if (base === "pi") {