billion-context-omp 0.3.2 → 0.3.3-pr.146.13
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 +16 -7
- package/README.zh-CN.md +13 -8
- package/dist/index.js +330 -159
- package/dist/index.js.map +1 -1
- package/dist/messages.d.ts +4 -29
- package/dist/wire-fold.d.ts +4 -80
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
# billion-context-omp
|
|
1
|
+
# billion-context-omp — DEPRECATED
|
|
2
|
+
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> **This package is deprecated.** For omp (oh-my-pi) context compression, use the
|
|
5
|
+
> [billion-context](https://github.com/ranxianglei/billion-context) proxy, which now
|
|
6
|
+
> supports omp directly:
|
|
7
|
+
>
|
|
8
|
+
> ```bash
|
|
9
|
+
> npm i -g billion-context && bili setup omp
|
|
10
|
+
> ```
|
|
11
|
+
>
|
|
12
|
+
> The proxy runs the same compression engine ([acp-kernel](https://github.com/ranxianglei/acp-kernel))
|
|
13
|
+
> at the HTTP layer, works with every omp model/provider (no extension API dependency),
|
|
14
|
+
> and is where all active development happens. This plugin repository is maintenance-only.
|
|
2
15
|
|
|
3
16
|
[English](./README.md) | [中文](./README.zh-CN.md)
|
|
4
17
|
|
|
18
|
+
---
|
|
19
|
+
|
|
5
20
|
<p align="center">
|
|
6
21
|
<strong>Billion-Context</strong> for <a href="https://github.com/can1357/oh-my-pi">omp (oh-my-pi)</a>
|
|
7
22
|
<br />
|
|
@@ -10,12 +25,6 @@ The model decides <em>when</em> and <em>what</em> to compress — not a hard lim
|
|
|
10
25
|
|
|
11
26
|
---
|
|
12
27
|
|
|
13
|
-
<p align="center">
|
|
14
|
-
<a href="https://www.npmjs.com/package/billion-context-omp"><img src="https://img.shields.io/npm/v/billion-context-omp.svg?style=flat-square" alt="npm"></a>
|
|
15
|
-
<a href="https://github.com/ranxianglei/billion-context-omp/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/billion-context-omp.svg?style=flat-square" alt="license"></a>
|
|
16
|
-
<a href="https://github.com/ranxianglei/billion-context-omp"><img src="https://img.shields.io/badge/GitHub-ranxianglei%2Fbillion--context--omp-181717?style=flat-square&logo=github" alt="GitHub"></a>
|
|
17
|
-
</p>
|
|
18
|
-
|
|
19
28
|
<p align="center">
|
|
20
29
|
<code>omp install billion-context-omp</code>
|
|
21
30
|
</p>
|
package/README.zh-CN.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# billion-context-omp — 已废弃
|
|
2
|
+
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> **本包已废弃。** omp (oh-my-pi) 的上下文压缩请改用
|
|
5
|
+
> [billion-context](https://github.com/ranxianglei/billion-context) 代理版本,现已直接支持 omp:
|
|
6
|
+
>
|
|
7
|
+
> ```bash
|
|
8
|
+
> npm i -g billion-context && bili setup omp
|
|
9
|
+
> ```
|
|
10
|
+
>
|
|
11
|
+
> 代理在 HTTP 层运行同一压缩引擎([acp-kernel](https://github.com/ranxianglei/acp-kernel)),
|
|
12
|
+
> 适配 omp 的全部模型/供应商(不依赖插件扩展 API),后续开发都在那边进行。本插件仓库仅保留维护。
|
|
4
13
|
|
|
5
|
-
|
|
6
|
-
面向 <a href="https://github.com/can1357/oh-my-pi">omp (oh-my-pi)</a> 的 <strong>Billion-Context</strong>
|
|
7
|
-
<br />
|
|
8
|
-
由模型决定<em>何时</em>压缩、<em>压缩什么</em> —— 而不是硬截断。
|
|
9
|
-
</p>
|
|
14
|
+
[English](./README.md) | [中文](./README.zh-CN.md)
|
|
10
15
|
|
|
11
16
|
---
|
|
12
17
|
|