Skip to content

0.3.3: native checkpoint and image replay repair

Choose a tag to compare

@shaomingbo shaomingbo released this 09 Sep 09:18
· 4 commits to main since this release

0.3.3 — native checkpoints + image replay

Repairs the mixed-history refusal when a conversation contains both native Codex checkpoints and user/tool-result images. Includes the real attachment-policy correction for valid images previously rejected with INVALID_ATTACHMENT_REF.

Changes

  • Resolve images through published DSH PiAiAdapter attachment/access callbacks, with all three image bounds materialized by its public Config schema.
  • Ordinary replay retains native state and images. Mixed histories use one same-owner, compaction-budget reader-text request with the official Basic instruction; Basic retains usage, shrinking, validation and history commit.
  • No checkpoint/owner protocol change, no duplicate authentication, no native-image codec, no reader-failure retry or stock fallback. Unsupported roles/models, missing attachments, malformed carriers and identity mismatches remain fail-closed.
  • Preserve the 0.3.2 setup/idle/total deadline correction. Existing published Accounts 5.1.3 is sufficient; this release does not require the separately developing Accounts governance changes.

中文:修复原生检查点与截图混合历史无法继续运行的问题。真实附件服务回归覆盖有效图片被误拒绝的根因;保留账户绑定、图片预算、失败关闭与官方 Basic 提交边界,不改写旧历史或删除截图。

Installation

Requires the tested DSH CLI and host 0.1.2-rc.1, Node 24 and pnpm. The older PATH CLI 0.1.2-alpha.3 is not supported by this installer. Companion: github:shaomingbo/dsh-token-usage#v5.1.3.

npx --yes --ignore-scripts github:shaomingbo/dsh-codex-compaction#v0.3.3
npx --yes --ignore-scripts github:shaomingbo/dsh-codex-compaction#v0.3.3 status

No arguments means install into profile web. uninstall, --profile, explicit local link: and --help remain available. Installation never restarts the host. A deliberate production switch from a local link to this tag requires a user-performed restart and Web refresh; publishing this release does not perform that switch.

Verified evidence and boundaries

  • 545 passed, 1 skipped: plugin 163 + legacy-A 46 + comparison 34 + exact published account 275 + paired integration 27. The skip is the existing optional 130-second real-time deadline case; virtual-clock deadline cases passed.
  • Companion source is the exact published v5.1.3 commit dddb7f2bd62ddffc24c62916b205796b1c78c5a0, not an unpublished account worktree.
  • Four real temporary LocalAttachmentStore cases, strict image mocks, aggregate-budget negatives, and actual owner/Basic composition tests passed using fake auth/transport. Independent read-only review found no substantiated defect; 26 focused cases passed.
  • Main and tag GitHub CI passed. Local full checks, peer checks, pack dry-run and whitespace gates passed.
  • Fixed-tag npx install/repeat/status/dump/uninstall cycle uses a fresh HOME/DSH_HOME and cache, without booting a server or using real provider credentials. All 26 installed package files match the reviewed release bytes; all declared host peers resolve to their exact tested versions and all three ESM entries load.
  • The load check uses the documented rc.1 launcher peer-preparation API: profiles intentionally disable peer auto-installation, and an unprepared standalone Node import is not equivalent to loading inside DSH. No private loader patch or plugin code change is used.
  • The repaired runtime already passed authorized original-instance ordinary replay with normal completion and zero tool calls. That local-link acceptance is distinct from fixed-tag installation. No additional live mixed Basic compaction or lossless recall is claimed.

Immutable release identity

  • Source base: published v0.3.2, commit 48762d23b83c19fe517d319404ce0007c933e7e9.
  • Tag: v0.3.3, annotated tag object fd186b3b94c0d780631df9878439979211056740.
  • Commit: e78085d (also main at publication).
  • Attached package: dsh-codex-compaction-0.3.3.tgz, 26 files, 61,921 bytes compressed.
  • SHA-256: 4573666b4219c2618b2bcdba27fc1b364b60167f571958b7b23b3272ac874464.
  • npm shasum: 5a9e2c7469129cd6b24824bbadb3a71b12679012.
  • npm integrity: sha512-ZRdG/d2K3MK/jJVzamWCV9755MLrjxZpnwX28CKW0w6C6RXLHEnKRu1DW+cxUP7AuEIPqqobMcAC7CvMkS3lXw==.

Distribution is this fixed GitHub tag/release; no npm-registry publication or catalog approval is implied.