opencode-acp 1.14.26-pr.353.90 → 1.14.26-pr.358.92

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
@@ -339,6 +339,9 @@ Each level overrides the previous, so project settings take priority over global
339
339
  // "anthropic/claude-sonnet-4.6": "80%"
340
340
  // },
341
341
  // Optional per-model override for minContextLimit.
342
+ // DEPRECATED — scheduled for removal alongside minContextLimit;
343
+ // use compress.providers (or minNudgeContextPercent for growth
344
+ // nudges) instead. Still honored until removed.
342
345
  // If present, this wins over the global minContextLimit.
343
346
  // "modelMinLimits": {
344
347
  // "openai/gpt-5.3-codex": 50000,
@@ -441,7 +444,7 @@ Any `compress` field can be overridden per provider and per model via the nested
441
444
 
442
445
  Resolution is **per field**: model > provider > global. Unknown provider/model IDs fall back to the global value. A nested `maxContextLimit` also wins over the legacy flat `modelMaxLimits` map. Overrides deep-merge across the three config layers (global → config dir → project) per provider/model key.
443
446
 
444
- Not overridable here: `permission`, the deprecated `minContextLimit` family, and the flat `model*Limits` maps themselves.
447
+ Not overridable here: `permission`, the deprecated `minContextLimit` / `modelMinLimits` family, and the flat `modelMaxLimits` / `modelMinLimits` maps themselves. Note: `modelMaxLimits` is **not** deprecated — it stays fully supported; a nested `maxContextLimit` simply outranks it.
445
448
 
446
449
  See the [`compress.providers`](./CONFIGURATION.md#compressproviders) reference in CONFIGURATION.md for the full 23-field list and recipes.
447
450
 
package/README.zh-CN.md CHANGED
@@ -292,6 +292,9 @@ ACP 使用自己的配置文件,按以下顺序搜索:
292
292
  // "anthropic/claude-sonnet-4.6": "80%"
293
293
  // },
294
294
  // Optional per-model override for minContextLimit.
295
+ // 已废弃 —— 将随 minContextLimit 一并移除;
296
+ // 请改用 compress.providers(增长型提醒用
297
+ // minNudgeContextPercent)。移除前仍然生效。
295
298
  // If present, this wins over the global minContextLimit.
296
299
  // "modelMinLimits": {
297
300
  // "openai/gpt-5.3-codex": 50000,
@@ -393,7 +396,7 @@ ACP 使用自己的配置文件,按以下顺序搜索:
393
396
 
394
397
  解析为**逐字段**优先级:model > provider > 全局。未知的 provider/model ID 回退到全局值。嵌套的 `maxContextLimit` 同时优先于旧版扁平 `modelMaxLimits` 映射。多层配置(全局 → 配置目录 → 项目)按 provider/model 键深合并。
395
398
 
396
- 不可覆盖:`permission`、已废弃的 `minContextLimit` 系列,以及扁平 `model*Limits` 映射自身。
399
+ 不可覆盖:`permission`、已废弃的 `minContextLimit` / `modelMinLimits` 系列、以及扁平 `modelMaxLimits` / `modelMinLimits` 映射自身。注意:`modelMaxLimits` **未废弃** —— 仍完全支持,只是优先级低于嵌套的 `maxContextLimit`。
397
400
 
398
401
  完整 23 项字段清单与配方见 CONFIGURATION.zh-CN.md 的 [`compress.providers`](./CONFIGURATION.zh-CN.md#compressproviders) 参考节。
399
402
 
package/dist/index.js CHANGED
@@ -9378,7 +9378,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
9378
9378
  import { join as join3 } from "path";
9379
9379
  import { existsSync as existsSync3 } from "fs";
9380
9380
  import { homedir as homedir3 } from "os";
9381
- var LOG_VERSION = true ? "1.14.26-pr.353.90" : "dev";
9381
+ var LOG_VERSION = true ? "1.14.26-pr.358.92" : "dev";
9382
9382
  var LEVEL_RANK = {
9383
9383
  debug: 10,
9384
9384
  info: 20,
@@ -11819,7 +11819,7 @@ var server = (async (ctx) => {
11819
11819
  }
11820
11820
  const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
11821
11821
  logger.info("ACP plugin initialized", {
11822
- version: true ? "1.14.26-pr.353.90" : "dev",
11822
+ version: true ? "1.14.26-pr.358.92" : "dev",
11823
11823
  workspace: ctx.directory,
11824
11824
  logLevel: logger.level,
11825
11825
  debug: config.debug,