opencode-acp 1.14.27-pr.361.96 → 1.14.27-pr.363.103
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 +13 -0
- package/README.zh-CN.md +13 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,6 +41,19 @@ This brings two concrete effects:
|
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
+
## Which do I need?
|
|
45
|
+
|
|
46
|
+
Pick by your client:
|
|
47
|
+
|
|
48
|
+
| Client | Use |
|
|
49
|
+
|---|---|
|
|
50
|
+
| **pi** | [`billion-context-pi`](https://github.com/ranxianglei/billion-context-pi) (in-process extension) |
|
|
51
|
+
| **opencode** | [`opencode-acp`](https://github.com/ranxianglei/opencode-acp) (in-process extension) |
|
|
52
|
+
| **omp** | [`billion-context`](https://github.com/ranxianglei/billion-context) via `bili omp` (built-in plugin) |
|
|
53
|
+
| **everything else** (no context hook) | [`billion-context`](https://github.com/ranxianglei/billion-context) — `bili <client>` (launcher, preferred) or `/bili/` prefix |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
44
57
|
## Proven at scale
|
|
45
58
|
|
|
46
59
|
Real engineering context, in practice.
|
package/README.zh-CN.md
CHANGED
|
@@ -33,6 +33,19 @@ ACP 将上下文管理的所有权限全部交给模型自己,而不依靠外
|
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
+
## 该选哪个?
|
|
37
|
+
|
|
38
|
+
按客户端选:
|
|
39
|
+
|
|
40
|
+
| 客户端 | 用这个 |
|
|
41
|
+
|---|---|
|
|
42
|
+
| **pi** | [`billion-context-pi`](https://github.com/ranxianglei/billion-context-pi)(进程内扩展) |
|
|
43
|
+
| **opencode** | [`opencode-acp`](https://github.com/ranxianglei/opencode-acp)(进程内扩展) |
|
|
44
|
+
| **omp** | [`billion-context`](https://github.com/ranxianglei/billion-context),`bili omp`(内置插件) |
|
|
45
|
+
| **其余所有**(没有上下文 hook) | [`billion-context`](https://github.com/ranxianglei/billion-context) —— `bili <client>`(启动器,优先)或 `/bili/` 前缀 |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
36
49
|
## 实战验证
|
|
37
50
|
|
|
38
51
|
真实工程中的上下文情况。
|
package/dist/index.js
CHANGED
|
@@ -9378,7 +9378,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
|
|
|
9378
9378
|
import { join as join3 } from "path";
|
|
9379
9379
|
import { existsSync as existsSync3 } from "fs";
|
|
9380
9380
|
import { homedir as homedir3 } from "os";
|
|
9381
|
-
var LOG_VERSION = true ? "1.14.27-pr.
|
|
9381
|
+
var LOG_VERSION = true ? "1.14.27-pr.363.103" : "dev";
|
|
9382
9382
|
var LEVEL_RANK = {
|
|
9383
9383
|
debug: 10,
|
|
9384
9384
|
info: 20,
|
|
@@ -11851,7 +11851,7 @@ var server = (async (ctx) => {
|
|
|
11851
11851
|
}
|
|
11852
11852
|
const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
|
|
11853
11853
|
logger.info("ACP plugin initialized", {
|
|
11854
|
-
version: true ? "1.14.27-pr.
|
|
11854
|
+
version: true ? "1.14.27-pr.363.103" : "dev",
|
|
11855
11855
|
workspace: ctx.directory,
|
|
11856
11856
|
logLevel: logger.level,
|
|
11857
11857
|
debug: config.debug,
|