opencode-acp 1.14.9-dev.2 → 1.14.10

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
@@ -492,6 +492,15 @@ For the complete list with root cause analysis, see the [bug tracker](https://gi
492
492
 
493
493
  ## Changelog
494
494
 
495
+ ### v1.14.10 — Stable Release (1 PR since v1.14.9)
496
+
497
+ Stable release with the omo-mode-injection filter fix.
498
+
499
+ **PRs included**:
500
+ - **#263** — Fix: `omo-mode-injection` filter was dropping entire user messages when OMO mode injections (`<ultrawork-mode>`, `[search-mode]`, etc.) were prepended to user content. Mode injections are prepended via `UserPromptSubmit.additionalContext`, not standalone — the old filter (v1.0.0) matched the injection and returned `drop`, clearing the entire message including the user's actual request. Rewrote to v1.1.0: strips injection blocks and preserves user content via `modify`. Also fixes config validation (messageFilters.filters dynamic key skip) and adds messageFilters to dcp.schema.json.
501
+
502
+ **Install**: `opencode plugin opencode-acp@stable --global`
503
+
495
504
  ### v1.14.9 — Stable Release (3 PRs since v1.14.8)
496
505
 
497
506
  Stable release with nudge loop fix, holistic T2/T3 compression prompts, and multi-entry compress format documentation.
package/README.zh-CN.md CHANGED
@@ -446,6 +446,15 @@ ACP 是 DCP 的直接替代品。迁移步骤:
446
446
 
447
447
  ## 更新日志
448
448
 
449
+ ### v1.14.10 — 正式版(v1.14.9 以来 1 个 PR)
450
+
451
+ 正式版发布,包含 omo-mode-injection 过滤器修复。
452
+
453
+ **包含的 PR**:
454
+ - **#263** — 修复:`omo-mode-injection` 过滤器在 OMO 模式注入(`<ultrawork-mode>`、`[search-mode]` 等)被前置到用户消息时,会丢弃整个用户消息。模式注入通过 `UserPromptSubmit.additionalContext` 前置,不是独立消息——旧过滤器(v1.0.0)匹配到注入就返回 `drop`,清空了整个消息包括用户的实际请求。重写为 v1.1.0:剥离注入块、通过 `modify` 保留用户内容。同时修复配置校验(messageFilters.filters 动态键跳过)并补充 dcp.schema.json。
455
+
456
+ **安装**:`opencode plugin opencode-acp@stable --global`
457
+
449
458
  ### v1.14.9 — 正式版(v1.14.8 以来 3 个 PR)
450
459
 
451
460
  正式版发布,包含 nudge 循环修复、整体式 T2/T3 压缩提示词、多条目 compress 格式文档。
package/dist/index.js CHANGED
@@ -8831,7 +8831,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
8831
8831
  import { join as join3 } from "path";
8832
8832
  import { existsSync as existsSync3 } from "fs";
8833
8833
  import { homedir as homedir3 } from "os";
8834
- var LOG_VERSION = true ? "1.14.9-dev.2" : "dev";
8834
+ var LOG_VERSION = true ? "1.14.10" : "dev";
8835
8835
  var Logger = class {
8836
8836
  logDir;
8837
8837
  enabled;