billion-context 0.1.52 → 0.1.53-pr.239.81

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 CHANGED
@@ -1,10 +1,28 @@
1
+ # billion-context
2
+
1
3
  [English](./README.md) | [中文](./README.zh-CN.md)
2
4
 
3
- # billion-context
5
+ <p align="center">
6
+ <strong>Universal context-compression proxy</strong> for AI coding agents
7
+ <br />
8
+ Any agent that can set a base URL — <em>zero per-agent adapter code</em>.
9
+ </p>
10
+
11
+ ---
12
+
13
+ <p align="center">
14
+ <a href="https://www.npmjs.com/package/billion-context"><img src="https://img.shields.io/npm/v/billion-context.svg?style=flat-square" alt="npm"></a>
15
+ <a href="https://github.com/ranxianglei/billion-context/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/billion-context.svg?style=flat-square" alt="license"></a>
16
+ <a href="https://github.com/ranxianglei/billion-context"><img src="https://img.shields.io/badge/GitHub-ranxianglei%2Fbillion--context-181717?style=flat-square&logo=github" alt="GitHub"></a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <code>npm install -g billion-context</code>
21
+ </p>
4
22
 
5
- Universal context-compression proxy for AI coding agents.
23
+ ---
6
24
 
7
- `billion-context` sits between **any** agent and its model API, rewriting Anthropic/OpenAI streams with [acp-kernel](https://github.com/ranxianglei/acp-kernel) compression. Any agent that can set a base URL works out of the box — **zero per-agent adapter code**.
25
+ `billion-context` sits between **any** agent and its model API, rewriting Anthropic/OpenAI streams with [acp-kernel](https://github.com/ranxianglei/acp-kernel) compression. The model decides **when** and **what** to compress into high-fidelity summaries — not a hard truncation limit.
8
26
 
9
27
  ## Why
10
28
 
package/README.zh-CN.md CHANGED
@@ -1,10 +1,28 @@
1
+ # billion-context
2
+
1
3
  [English](./README.md) | [中文](./README.zh-CN.md)
2
4
 
3
- # billion-context
5
+ <p align="center">
6
+ AI 编程助手的<strong>通用上下文压缩代理</strong>
7
+ <br />
8
+ 任何能设置 base URL 的助手 —— <em>无需为每个助手写适配代码</em>。
9
+ </p>
10
+
11
+ ---
12
+
13
+ <p align="center">
14
+ <a href="https://www.npmjs.com/package/billion-context"><img src="https://img.shields.io/npm/v/billion-context.svg?style=flat-square" alt="npm"></a>
15
+ <a href="https://github.com/ranxianglei/billion-context/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/billion-context.svg?style=flat-square" alt="license"></a>
16
+ <a href="https://github.com/ranxianglei/billion-context"><img src="https://img.shields.io/badge/GitHub-ranxianglei%2Fbillion--context-181717?style=flat-square&logo=github" alt="GitHub"></a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <code>npm install -g billion-context</code>
21
+ </p>
4
22
 
5
- AI 编程助手的通用上下文压缩代理。
23
+ ---
6
24
 
7
- `billion-context` 架在**任意**编程助手与其模型 API 之间,用 [acp-kernel](https://github.com/ranxianglei/acp-kernel) 压缩重写 Anthropic/OpenAI 流。任何能设置 base URL 的助手开箱即用 —— **无需为每个助手写适配代码**。
25
+ `billion-context` 架在**任意**编程助手与其模型 API 之间,用 [acp-kernel](https://github.com/ranxianglei/acp-kernel) 压缩重写 Anthropic/OpenAI 流。何时压缩、压缩什么 —— <strong>由模型决定</strong>,而非硬截断。
8
26
 
9
27
  ## 为什么
10
28