opencode-acp 1.18.2 → 1.18.3-pr.477.211

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
@@ -10,6 +10,21 @@ The model decides <em>when</em> and <em>what</em> to compress — not a hard lim
10
10
 
11
11
  ---
12
12
 
13
+ ## Community
14
+
15
+ QQ Group:
16
+ 1056132097 (full)
17
+ 1108730198 (open)
18
+
19
+ ---
20
+
21
+ > ⚠️ **Using OpenCode 2.x?** This extension uses the OpenCode **V1** plugin
22
+ > API and does **not** load on OpenCode 2.x. For OpenCode 2.x the recommended
23
+ > context manager is [billion-context](https://github.com/ranxianglei/billion-context):
24
+ > `bili opencode` (launcher) or `bili plugin install opencode` (native plugin,
25
+ > no launcher). This extension remains fully supported on OpenCode **1.x**.
26
+
27
+ ---
13
28
 
14
29
  ## 📄 Paper / Preprint
15
30
 
@@ -33,14 +48,6 @@ A production-scale longitudinal study: 4.5 months, three hosts, 174,327 model ca
33
48
 
34
49
  ---
35
50
 
36
- ## Community
37
-
38
- Discussion, help, and updates on QQ — one group covers all three projects (`billion-context`, `billion-context-pi`, `opencode-acp`):
39
-
40
- **QQ Group: 1056132097**
41
-
42
- ---
43
-
44
51
  ## Why ACP
45
52
 
46
53
  ACP hands all context-management authority to the model itself — not relying on
@@ -67,7 +74,8 @@ Pick by your client:
67
74
  | Client | Use |
68
75
  |---|---|
69
76
  | **pi** | [`billion-context-pi`](https://github.com/ranxianglei/billion-context-pi) (in-process extension) |
70
- | **opencode** | [`opencode-acp`](https://github.com/ranxianglei/opencode-acp) (in-process extension) |
77
+ | **opencode 1.x** | [`opencode-acp`](https://github.com/ranxianglei/opencode-acp) (in-process extension) |
78
+ | **opencode 2.0+** | [`billion-context`](https://github.com/ranxianglei/billion-context) — `bili opencode` (built-in V2 plugin) or `bili plugin install opencode` (self-spawning native plugin, no launcher); `opencode-acp` does not load on 2.x |
71
79
  | **omp** | [`billion-context`](https://github.com/ranxianglei/billion-context) via `bili omp` (built-in plugin) |
72
80
  | **everything else** (no context hook) | [`billion-context`](https://github.com/ranxianglei/billion-context) — `bili <client>` (launcher, preferred) or `/bili/` prefix |
73
81
 
@@ -101,6 +109,11 @@ across all other sessions.
101
109
 
102
110
  ## Installation
103
111
 
112
+ > ⚠️ This installs the **V1** plugin — it targets OpenCode **1.x**. On
113
+ > OpenCode **2.x** the plugin will not load; use
114
+ > [billion-context](https://github.com/ranxianglei/billion-context) instead
115
+ > (`bili opencode` or `bili plugin install opencode`).
116
+
104
117
  ```bash
105
118
  opencode plugin opencode-acp@stable --global
106
119
  ```
package/README.zh-CN.md CHANGED
@@ -10,6 +10,17 @@
10
10
 
11
11
  ---
12
12
 
13
+ ## 社区
14
+
15
+ QQ群:
16
+ 1056132097(已满)
17
+ 1108730198(未满)
18
+
19
+ ---
20
+
21
+ > ⚠️ **你用的是 OpenCode 2.x?** 本扩展使用 OpenCode **V1** 插件 API,在 OpenCode 2.x 上**不会加载**。OpenCode 2.x 推荐的上下文管理方案是 [billion-context](https://github.com/ranxianglei/billion-context):`bili opencode`(启动器)或 `bili plugin install opencode`(原生插件,免启动器)。本扩展在 OpenCode **1.x** 上继续完整可用。
22
+
23
+ ---
13
24
 
14
25
  ## 📄 论文 / 预印本
15
26
 
@@ -33,14 +44,6 @@
33
44
 
34
45
  ---
35
46
 
36
- ## 社区
37
-
38
- 交流、求助与更新都在 QQ——同一个群覆盖三个项目(`billion-context`、`billion-context-pi`、`opencode-acp`):
39
-
40
- **QQ 群:1056132097**
41
-
42
- ---
43
-
44
47
  ## 为什么选择 ACP
45
48
 
46
49
  ACP 将上下文管理的所有权限全部交给模型自己,而不依靠外部模型或各种复杂的机制去做上下文管理。它是迄今为止,市面上对上下文管理最好的实现。
@@ -59,7 +62,8 @@ ACP 将上下文管理的所有权限全部交给模型自己,而不依靠外
59
62
  | 客户端 | 用这个 |
60
63
  |---|---|
61
64
  | **pi** | [`billion-context-pi`](https://github.com/ranxianglei/billion-context-pi)(进程内扩展) |
62
- | **opencode** | [`opencode-acp`](https://github.com/ranxianglei/opencode-acp)(进程内扩展) |
65
+ | **opencode 1.x** | [`opencode-acp`](https://github.com/ranxianglei/opencode-acp)(进程内扩展) |
66
+ | **opencode 2.0+** | [`billion-context`](https://github.com/ranxianglei/billion-context) —— `bili opencode`(内置 V2 插件)或 `bili plugin install opencode`(自拉起原生插件,免启动器);`opencode-acp` 在 2.x 上不加载 |
63
67
  | **omp** | [`billion-context`](https://github.com/ranxianglei/billion-context),`bili omp`(内置插件) |
64
68
  | **其余所有**(没有上下文 hook) | [`billion-context`](https://github.com/ranxianglei/billion-context) —— `bili <client>`(启动器,优先)或 `/bili/` 前缀 |
65
69
 
@@ -88,6 +92,8 @@ ACP 将上下文管理的所有权限全部交给模型自己,而不依靠外
88
92
 
89
93
  ## 安装
90
94
 
95
+ > ⚠️ 这里安装的是 **V1** 插件 —— 面向 OpenCode **1.x**。在 OpenCode **2.x** 上该插件不会加载;请改用 [billion-context](https://github.com/ranxianglei/billion-context)(`bili opencode` 或 `bili plugin install opencode`)。
96
+
91
97
  ```bash
92
98
  opencode plugin opencode-acp@stable --global
93
99
  ```
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AA4BjD,QAAA,MAAM,MAAM,EAAE,MAwMK,CAAA;AAEnB,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAU,MAAM,EAAE,MAAM,qBAAqB,CAAA;AA6BzD,QAAA,MAAM,MAAM,EAAE,MA4OK,CAAA;AAEnB,eAAe,MAAM,CAAA"}