opencode-acp 1.18.5-pr.487.222 → 1.18.5-pr.490.224

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
@@ -441,10 +441,17 @@ Each level overrides the previous, so project settings take priority over global
441
441
  // <storageDir>/images/<dirName(sessionId)>/ (mode 0600); block
442
442
  // summaries covering them append absolute paths for the model to
443
443
  // re-read with its own file tools. Not part of the per-model cascade.
444
+ // [#478] Image archive + [#489] large-image context guard: data-URL
445
+ // images are metered (vision-token estimate), spilled to disk when they
446
+ // enter the session so folded ranges keep re-readable pointers, and a
447
+ // one-time nudge fires for images >= largeBytes telling the model to
448
+ // compress older ranges before/after working with the image.
444
449
  "images": {
445
450
  "enabled": true,
446
451
  "minBytes": 16384,
447
452
  "ttlDays": 7,
453
+ "largeBytes": 524288,
454
+ "nudge": true,
448
455
  },
449
456
  },
450
457
  // Garbage collection — hardcoded 100% fallback only
package/README.zh-CN.md CHANGED
@@ -385,10 +385,15 @@ ACP 使用自己的配置文件,按以下顺序搜索:
385
385
  // <storageDir>/images/<dirName(sessionId)>/(权限 0600);覆盖它们的折叠块
386
386
  // 摘要末尾追加绝对路径,模型用自己的文件工具重新读取即可。
387
387
  // 不参与按模型的覆盖级联。
388
+ // [#478] 图片归档 + [#489] 大图片上下文保护:data-URL 图片按视觉 token
389
+ // 估算计量,进入会话时落盘、折叠后摘要保留可重读指针;解码后达到
390
+ // largeBytes 的图片触发一次性提醒,让模型先压缩旧范围腾出空间。
388
391
  "images": {
389
392
  "enabled": true,
390
393
  "minBytes": 16384,
391
394
  "ttlDays": 7,
395
+ "largeBytes": 524288,
396
+ "nudge": true,
392
397
  },
393
398
  },
394
399
  // 垃圾回收与批量清理