Skip to content

v0.1.4

Latest

Choose a tag to compare

@hyein-cbio hyein-cbio released this 18 Oct 10:47
· 2 commits to main since this release
30b0ab9

Clearer codemode diff summaries

  • Distinguish per-call changes from distinct recorded file paths: File changes (5) · 2 files.
  • Summarize missing retained diffs with · N diffs unavailable, including changes outside the collapsed preview. Per-change notices retain the reason; expanding cannot recover these diffs.
  • Do not count empty diffs or diffs merely folded by the preview as unavailable. Repeated-path changes remain separate, and paths are compared exactly as recorded.
  • Preserve file mutation behavior, model-facing results, and saved display metadata format.

Distribution

This is the JavaScript/TypeScript release. The attached pi-codemode-diff-0.1.4.tgz contains only src/, README.md, LICENSE, and package.json; it contains no native/ directory, Go source, Go module files, or native package metadata. Runtime dependencies are declared, not bundled.

The native Go source package is distributed separately in v0.1.4-pig. Do not load both implementations in one PiG session.

Validation

  • Type checking passed; 92 TypeScript tests passed. One optional PiG Node-runtime loader fixture was skipped because its source runtime directory was not supplied.
  • The exact attached npm artifact was extracted and loaded through real Pi integration, including nested write/edit capture.
  • Actual PiG 0.4.1+1.0.3 TypeScript and Go-source paths passed JSON and PTY checks for summaries, Ctrl+O expansion/collapse, reload, and session resume.
  • Native Go race tests and go vet passed with Go 1.27.2 on macOS/arm64.
  • git diff --check passed. This patch does not claim a fresh fused-binary or full cross-host parity run.

Install

pi install npm:pi-codemode-diff@0.1.4
# Or install the GitHub tag:
pi install git:github.com/hyein-cbio/pi-codemode-diff@v0.1.4

Run /reload in an existing session. The attached npm tarball is the artifact selected for npm registry publication.

Commit: 30b0ab9b24ab01d238e612fd0f3d64196f9fdcc1.