opencode-acp 1.14.27 → 1.15.0-pr.376.118

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,15 @@ 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
+ // [#368] Drop oversized reasoning (thinking) from historical compress
385
+ // tool calls at request time. compress calls are hard-exempt from
386
+ // compression, so their thinking rides along every request as an
387
+ // unreclaimable floor. Closed turns only; the active round is never
388
+ // touched. Small thinkings under the threshold are kept.
389
+ "reasoning": {
390
+ "drop": true,
391
+ "threshold": 2048
392
+ },
384
393
  },
385
394
  // Garbage collection — hardcoded 100% fallback only
386
395
  "gc": {
package/README.zh-CN.md CHANGED
@@ -334,6 +334,14 @@ 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] 请求时丢弃历史 compress 工具调用中超大的 reasoning(思考)。
338
+ // compress 调用被硬排除在压缩之外,其思考内容会随每次请求原样重发,
339
+ // 形成无法回收的上下文底座。仅作用于已关闭的轮次,活跃轮永不触碰;
340
+ // 低于阈值的小思考保留。
341
+ "reasoning": {
342
+ "drop": true,
343
+ "threshold": 2048
344
+ },
337
345
  },
338
346
  // 垃圾回收与批量清理
339
347
  "gc": {