opencode-acp 1.14.25-pr.345.66 → 1.14.25-pr.345.68
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.zh-CN.md +8 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.zh-CN.md
CHANGED
|
@@ -297,6 +297,14 @@ ACP 使用自己的配置文件,按以下顺序搜索:
|
|
|
297
297
|
// "openai/gpt-5.3-codex": 50000,
|
|
298
298
|
// "anthropic/claude-sonnet-4.6": "25%"
|
|
299
299
|
// },
|
|
300
|
+
// Optional per-model override for the growth-nudge floor
|
|
301
|
+
// (minNudgeContextPercent). Keyed by providerID/modelID; accepts a
|
|
302
|
+
// token count or "X%" of that model's context window. If present,
|
|
303
|
+
// this wins over the global minNudgeContextPercent for that model.
|
|
304
|
+
// "modelMinNudgeLimits": {
|
|
305
|
+
// "openai/gpt-5.6": 150000,
|
|
306
|
+
// "openrouter/z-ai/glm-5.3": "20%"
|
|
307
|
+
// },
|
|
300
308
|
// How often the context-limit nudge fires (1 = every fetch, 5 = every 5th)
|
|
301
309
|
"nudgeFrequency": 5,
|
|
302
310
|
// Start adding compression reminders after this many
|
package/dist/index.js
CHANGED
|
@@ -9152,7 +9152,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
|
|
|
9152
9152
|
import { join as join3 } from "path";
|
|
9153
9153
|
import { existsSync as existsSync3 } from "fs";
|
|
9154
9154
|
import { homedir as homedir3 } from "os";
|
|
9155
|
-
var LOG_VERSION = true ? "1.14.25-pr.345.
|
|
9155
|
+
var LOG_VERSION = true ? "1.14.25-pr.345.68" : "dev";
|
|
9156
9156
|
var LEVEL_RANK = {
|
|
9157
9157
|
debug: 10,
|
|
9158
9158
|
info: 20,
|
|
@@ -11593,7 +11593,7 @@ var server = (async (ctx) => {
|
|
|
11593
11593
|
}
|
|
11594
11594
|
const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
|
|
11595
11595
|
logger.info("ACP plugin initialized", {
|
|
11596
|
-
version: true ? "1.14.25-pr.345.
|
|
11596
|
+
version: true ? "1.14.25-pr.345.68" : "dev",
|
|
11597
11597
|
workspace: ctx.directory,
|
|
11598
11598
|
logLevel: logger.level,
|
|
11599
11599
|
debug: config.debug,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "opencode-acp",
|
|
4
|
-
"version": "1.14.25-pr.345.
|
|
4
|
+
"version": "1.14.25-pr.345.68",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Active Context Pruning — model-driven context management for OpenCode (hardened fork of DCP with 35 bug fixes)",
|
|
7
7
|
"main": "./dist/index.js",
|