Repository navigation
fix: pin acp-kernel 0.0.98 (content salvage + one-string batch) - #1552
Conversation
…g batch teaching) - acp-kernel 0.0.97 -> 0.0.98 (exact pin, npm live) - wire-contract goldens regenerated (pack text change, acp-kernel #472) - compress-prompt-pack expectations updated to the lean one-liner that now teaches ONE-call batching (acp-kernel #472) Fixes #1495 (kernel-side root: single-entry object salvage acp-kernel #470/#471, batch form taught + pinned acp-kernel #472)
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.1490-pr.1552.da6ef1dThis exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr1552.tgz
npm install -g packageInstall instructions are refreshed on each push. |
[bot] 🏷 Reviewed PR #1552 ( ① Original-issue direction (#1495). Correct layering: the retry-drift shape (single-entry OBJECT in ② Version-window regression audit (0.0.97 → 0.0.98). Diffed both published tarballs file-by-file; the entire delta is:
③ Code review (bili-side diff, 7 files, single commit).
④ Behavior changes (flagged per policy):
⑤ Evidence.
中文摘要:审核了 acp-kernel 0.0.97→0.0.98 升级 PR——逐文件比对了两个已发布 tarball 确认窗口内全部变更(#471 content 单对象抢救、#472 单字符串整批教学、新增署名许可条款),本地 typecheck/全量测试(3029 过)/构建全绿,CI 13/13 成功,行为变更(批量首选形式从数组改为单字符串)已按旧值→新值披露且为有意变更,可以合并。 |
Bumps the bundled acp-kernel pin 0.0.97 → 0.0.98 (exact, npm live; verified
npm view acp-kernel version= 0.0.98).What 0.0.98 ships (acp-kernel #473 release)
contentslot given as a single entry OBJECT is salvaged into a one-element array (retry-drift shape from billion-context compress failed may be caused by params #1494/lean模式批量压缩丢失 #1495), with acontentSalvagediagnostic marker. Kernel-side root fix for the asymmetry bili worked around in fix: surface parse-dropped compress entries; normalize single-object content (#1494) #1497 (normalizeCompressInputstays as a harmless idempotent pre-normalizer).bili-side changes in this PR
package.json/ lockfile: exact pin0.0.98tests/golden/wire-contract/*regenerated viascripts/update-wire-contract-goldens.ts— the pack text changed (test: fix pipePluginChatWithStrip call order after #466 signature swap #472); 4 golden files, content-only difftests/compress-prompt-pack.test.ts— two inline expectations updated to the lean one-liner that now teaches ONE-call batchingVerification
bili pisession: one-string 3-block batch compressedm00059–m00060 / m00083–m00090 / m00098–m00099 → 3 block(s), ~14818 tokens saved, and the per-summary cap was proven NOT shared across a batch (3 × 19 000-char summaries parse fine; cap is per-entrymaxSummaryLength: 20000).Fixes #1495