From d3dde2dc1438d1d0dced13417dd089049eb1ce86 Mon Sep 17 00:00:00 2001 From: ranxianglei Date: Sat, 1 Aug 2026 23:01:36 +0800 Subject: [PATCH] chore: bump context-compress-algorithms to 1.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Holistic TIER2/TIER3 prompts — summarize by theme, not per-block. Fixes length overflow when compressing 70+ T1 blocks (issue #256). --- devlog/2026-08-01_bump-cc-alg-1.3.0/REQ.md | 16 ++++++++++++++++ devlog/2026-08-01_bump-cc-alg-1.3.0/WORKLOG.md | 12 ++++++++++++ package-lock.json | 12 ++++++------ package.json | 2 +- 4 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 devlog/2026-08-01_bump-cc-alg-1.3.0/REQ.md create mode 100644 devlog/2026-08-01_bump-cc-alg-1.3.0/WORKLOG.md diff --git a/devlog/2026-08-01_bump-cc-alg-1.3.0/REQ.md b/devlog/2026-08-01_bump-cc-alg-1.3.0/REQ.md new file mode 100644 index 0000000..2e8805a --- /dev/null +++ b/devlog/2026-08-01_bump-cc-alg-1.3.0/REQ.md @@ -0,0 +1,16 @@ +# REQ: Bump context-compress-algorithms to 1.3.0 + +## Problem + +cc-alg 1.3.0 ships holistic TIER2/TIER3 compression prompts (summarize by theme, +not per-block). The old per-block format caused length overflow when compressing +70+ T1 blocks (issue #256). ACP needs to consume the updated prompts. + +## Solution + +Update `context-compress-algorithms` dependency from 1.2.1 to 1.3.0. + +## Scope + +- `package.json` — version bump +- `package-lock.json` — lockfile update diff --git a/devlog/2026-08-01_bump-cc-alg-1.3.0/WORKLOG.md b/devlog/2026-08-01_bump-cc-alg-1.3.0/WORKLOG.md new file mode 100644 index 0000000..1cd1c65 --- /dev/null +++ b/devlog/2026-08-01_bump-cc-alg-1.3.0/WORKLOG.md @@ -0,0 +1,12 @@ +# WORKLOG: Bump context-compress-algorithms to 1.3.0 + +## Changes + +1. `package.json`: `context-compress-algorithms` 1.2.1 → 1.3.0 +2. `package-lock.json`: updated + +## Verification + +- `npm run build`: ✓ (383.94 KB) +- `npm run typecheck`: ✓ +- `npm test`: 942 tests pass ✓ diff --git a/package-lock.json b/package-lock.json index 1fbe60d..baffdde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "opencode-acp", - "version": "1.14.7", + "version": "1.14.8-dev.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opencode-acp", - "version": "1.14.7", + "version": "1.14.8-dev.4", "license": "AGPL-3.0-or-later", "dependencies": { "@anthropic-ai/tokenizer": "^0.0.4", @@ -17,7 +17,7 @@ "devDependencies": { "@opencode-ai/plugin": "^1.4.3", "@types/node": "^25.5.0", - "context-compress-algorithms": "1.2.1", + "context-compress-algorithms": "1.3.0", "fast-check": "^4.9.0", "prettier": "^3.8.1", "tsup": "^8.5.1", @@ -1132,9 +1132,9 @@ } }, "node_modules/context-compress-algorithms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/context-compress-algorithms/-/context-compress-algorithms-1.2.1.tgz", - "integrity": "sha512-xmPQau3CB3g4ohDp+JFvS9TfMWkMvkv1j7i1jcB8d/2m+UOjzjAAbNnTF64tigpY+sCNclfEN6uaLLT8N+EXSQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/context-compress-algorithms/-/context-compress-algorithms-1.3.0.tgz", + "integrity": "sha512-VrlDs4RLDEm4NxiUbN22bnCoMTokA74cI97oGwnEdpyE8Eu+6puIMJnSHTnWSdeCOltWQyLJCqZKA99SPMCv0Q==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 62fb956..327c4c1 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "devDependencies": { "@opencode-ai/plugin": "^1.4.3", "@types/node": "^25.5.0", - "context-compress-algorithms": "1.2.1", + "context-compress-algorithms": "1.3.0", "fast-check": "^4.9.0", "prettier": "^3.8.1", "tsup": "^8.5.1",