billion-context 0.1.90 → 0.1.91-pr.615.438
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/README.md +5 -0
- package/README.zh-CN.md +2 -0
- package/dist/index.js +435 -51
- package/dist/index.js.map +1 -1
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,6 +50,8 @@ Agent (Claude Code / Codex / Cursor / Aider ...)
|
|
|
50
50
|
|
|
51
51
|
The proxy injects four context-management tools (`compress`, `decompress`, `search_context`, `acp_status`) into the conversation. The model calls `compress` when the conversation grows, and the proxy executes it server-side — the compressed ranges are folded into the conversation history before the next turn.
|
|
52
52
|
|
|
53
|
+
An opt-in fifth tool, `absorb` (`compress.absorb.enabled: true` — see [CONFIGURATION.md](CONFIGURATION.md)), compresses **individual tool results the moment they arrive**: large results (builds, logs, greps) get a forced absorb instruction, the model distills each into a compact summary, and the original pair is hidden from the wire from the next turn on — keeping mid-session pressure lower between fold rounds (#605).
|
|
54
|
+
|
|
53
55
|
### Two compression modes — who executes `compress`
|
|
54
56
|
|
|
55
57
|
The proxy runs in one of two modes, and **the mode decides who executes
|
|
@@ -344,6 +346,9 @@ Rules:
|
|
|
344
346
|
- Both outbound paths are covered: `/bili/` path-mode (fetch) AND MITM CONNECT
|
|
345
347
|
tunnels (the proxy's connection to the real upstream goes through the HTTP
|
|
346
348
|
CONNECT proxy).
|
|
349
|
+
- The auto-updater's own egress (npm registry check + tarball download) uses
|
|
350
|
+
the same decision for its hosts, so `bili update` and auto-update work on
|
|
351
|
+
hosts where npm is only reachable through the proxy (#609).
|
|
347
352
|
|
|
348
353
|
Env override: `BILI_UPSTREAM_PROXY=http://127.0.0.1:20172` (higher priority than
|
|
349
354
|
the config file). On Windows, common Clash/Mihomo static system proxies are
|
package/README.zh-CN.md
CHANGED
|
@@ -50,6 +50,8 @@ AI 编程助手的<strong>通用上下文压缩代理</strong>
|
|
|
50
50
|
|
|
51
51
|
代理向对话注入四个上下文管理工具(`compress`、`decompress`、`search_context`、`acp_status`)。模型在对话增长时调用 `compress`,代理在服务端执行 —— 压缩后的范围在下一轮之前折叠进对话历史。
|
|
52
52
|
|
|
53
|
+
可选的第五个工具 `absorb`(`compress.absorb.enabled: true` —— 见 [CONFIGURATION.zh-CN.md](CONFIGURATION.zh-CN.md))对**各个工具结果即时压缩**:大结果(构建、日志、grep)被附带强制吸收指令,模型将各自蒸馏为紧凑摘要,原配对从下一轮起从线上隐藏 —— 使折叠轮之间的中间会话压力更低(#605)。
|
|
54
|
+
|
|
53
55
|
## 该选哪个?
|
|
54
56
|
|
|
55
57
|
按客户端选:
|