opencode-acp 1.14.27-pr.370.110 → 1.14.27-pr.370.111

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
@@ -381,6 +381,13 @@ Each level overrides the previous, so project settings take priority over global
381
381
  // Preserve your messages during compression.
382
382
  // Warning: large copy-pasted prompts will never be compressed away
383
383
  "protectUserMessages": false,
384
+ // Closed-turn thinking stripping on protected-exempt messages (#368).
385
+ // "reasoning" parts of compress/skill tool calls in closed historical
386
+ // turns are dropped at request time; the active turn is never touched.
387
+ "stripProtectedReasoning": true,
388
+ "stripProtectedReasoningThreshold": 0,
389
+ "stripProtectedReasoningProviders": ["anthropic", "gemini"],
390
+ "stripProtectedReasoningMinMessages": 100
384
391
  },
385
392
  // Garbage collection — hardcoded 100% fallback only
386
393
  "gc": {
package/README.zh-CN.md CHANGED
@@ -334,6 +334,13 @@ ACP 使用自己的配置文件,按以下顺序搜索:
334
334
  // Preserve your messages during compression.
335
335
  // Warning: large copy-pasted prompts will never be compressed away
336
336
  "protectUserMessages": false,
337
+ // 受保护豁免消息的闭轮思考剥离(#368)。
338
+ // 请求时丢弃已关闭历史轮次中 compress/skill 工具调用的
339
+ // "reasoning" 部分;当前活跃轮次永不受影响。
340
+ "stripProtectedReasoning": true,
341
+ "stripProtectedReasoningThreshold": 0,
342
+ "stripProtectedReasoningProviders": ["anthropic", "gemini"],
343
+ "stripProtectedReasoningMinMessages": 100
337
344
  },
338
345
  // 垃圾回收与批量清理
339
346
  "gc": {
package/dist/index.js CHANGED
@@ -9490,7 +9490,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
9490
9490
  import { join as join3 } from "path";
9491
9491
  import { existsSync as existsSync3 } from "fs";
9492
9492
  import { homedir as homedir3 } from "os";
9493
- var LOG_VERSION = true ? "1.14.27-pr.370.110" : "dev";
9493
+ var LOG_VERSION = true ? "1.14.27-pr.370.111" : "dev";
9494
9494
  var LEVEL_RANK = {
9495
9495
  debug: 10,
9496
9496
  info: 20,
@@ -11987,7 +11987,7 @@ var server = (async (ctx) => {
11987
11987
  }
11988
11988
  const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
11989
11989
  logger.info("ACP plugin initialized", {
11990
- version: true ? "1.14.27-pr.370.110" : "dev",
11990
+ version: true ? "1.14.27-pr.370.111" : "dev",
11991
11991
  workspace: ctx.directory,
11992
11992
  logLevel: logger.level,
11993
11993
  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.27-pr.370.110",
4
+ "version": "1.14.27-pr.370.111",
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",