opencode-acp 1.14.8-dev.5 → 1.14.9-dev.1

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.9-dev.1 — Dev Prerelease (1 PR since v1.14.8-dev.5)
496
+
497
+ Dev prerelease covering PR #259. Published to `dev` npm tag for early testing.
498
+
499
+ **PRs included**:
500
+ - **#259** — Document multi-entry compress format in system prompt and T2/T3 nudge. The compress tool already supported `content` arrays (PR #156), but only single-entry was shown for block-based compression. Now both formats are documented neutrally.
501
+
502
+ **Install**: `opencode plugin opencode-acp@dev --global`
503
+
495
504
  ### v1.14.8-dev.5 — Dev Prerelease (1 PR since v1.14.8-dev.4)
496
505
 
497
506
  Dev prerelease covering PR #257. Published to `dev` npm tag for early testing.
package/README.zh-CN.md CHANGED
@@ -446,6 +446,15 @@ ACP 是 DCP 的直接替代品。迁移步骤:
446
446
 
447
447
  ## 更新日志
448
448
 
449
+ ### v1.14.9-dev.1 — Dev 预发布(v1.14.8-dev.5 以来 1 个 PR)
450
+
451
+ Dev 预发布,涵盖 PR #259。发布到 `dev` npm tag 供早期测试。
452
+
453
+ **包含的 PR**:
454
+ - **#259** — 在系统提示词和 T2/T3 nudge 中文档化多条目 compress 格式。compress 工具已支持 `content` 数组(PR #156),但块压缩只展示了单条目格式。现在两种格式都被中立地文档化。
455
+
456
+ **安装**:`opencode plugin opencode-acp@dev --global`
457
+
449
458
  ### v1.14.8-dev.5 — Dev 预发布(v1.14.8-dev.4 以来 1 个 PR)
450
459
 
451
460
  Dev 预发布,涵盖 PR #257。发布到 `dev` npm tag 供早期测试。
package/dist/index.js CHANGED
@@ -7582,6 +7582,7 @@ Target blocks (oldest first):
7582
7582
  ${blockList}${extraCount}
7583
7583
 
7584
7584
  Compress range: \`content: [{ startId: "b${firstBlock.blockId}", endId: "b${lastBlock.blockId}", summary: "..." }]\`
7585
+ Multiple entries create separate blocks: \`content: [{ startId: "b${firstBlock.blockId}", endId: "b...", summary: "..." }, { startId: "b...", endId: "b${lastBlock.blockId}", summary: "..." }]\`
7585
7586
 
7586
7587
  ${rules}`;
7587
7588
  appendToLastTextPart(suffixMessage, tierText);
@@ -8830,7 +8831,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
8830
8831
  import { join as join3 } from "path";
8831
8832
  import { existsSync as existsSync3 } from "fs";
8832
8833
  import { homedir as homedir3 } from "os";
8833
- var LOG_VERSION = true ? "1.14.8-dev.5" : "dev";
8834
+ var LOG_VERSION = true ? "1.14.9-dev.1" : "dev";
8834
8835
  var Logger = class {
8835
8836
  logDir;
8836
8837
  enabled;
@@ -9099,7 +9100,7 @@ Summaries accumulate as the session grows. When tier-1 summaries pile up, the sy
9099
9100
  - Tier 2: Distillation of old tier-1 block summaries. Uses TIER 2 DISTILLATION rules (decisions/outcomes only, drop paths/code/process).
9100
9101
  - Tier 3: Ultra-condensation of tier-2 summaries. Uses TIER 3 CONDENSATION rules (bare facts, 1-3 lines per block).
9101
9102
 
9102
- To compress blocks: use block IDs as boundaries: \`compress({ content: [{ startId: "b3", endId: "b15", summary: "..." }] })\`. This deactivates the consumed blocks and creates a new higher-tier block. The system prompt at the trigger tells you which rules to follow.
9103
+ To compress blocks: use block IDs as boundaries: \`compress({ content: [{ startId: "b3", endId: "b15", summary: "..." }] })\`. Multiple entries create separate blocks: \`compress({ content: [{ startId: "b3", endId: "b10", summary: "..." }, { startId: "b11", endId: "b20", summary: "..." }] })\`. This deactivates the consumed blocks and creates a new higher-tier block per entry. The system prompt at the trigger tells you which rules to follow.
9103
9104
 
9104
9105
  If you are unsure which \`mNNNNN\` refs are still compressible, or which blocks have already consumed which ranges, call \`acp_status\` first. It returns the visible context breakdown and the compressed block list.
9105
9106