Skip to content

v0.1.4-pig

Choose a tag to compare

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

Native Go release 0.1.4-pig

Native Go source release corresponding to the JavaScript/npm release 0.1.4, from commit 30b0ab9b24ab01d238e612fd0f3d64196f9fdcc1.

Changes

  • Show distinct recorded file-path counts alongside per-call changes.
  • Summarize unavailable diffs across the whole call, including changes outside the preview, without treating empty diffs as unavailable.
  • Add an installable native package wrapper: native/package.json declares extensions: ["pig"], with version 0.1.4-pig.
  • Correct persistent installation to target native, not native/pig. PiG rejects the individual Go extension directory as an installable package; direct -e native/pig loading remains supported.

Native-only attachments

  • pi-codemode-diff-0.1.4-pig-source.tar.gz
  • pi-codemode-diff-0.1.4-pig-source.zip
  • SHA256SUMS

The archives include the native/pig Go module, its tests/fixtures/docs/licenses/notices, native/package.json, native/piglet.yaml, and the root license. They contain no JavaScript/TypeScript implementation or Node dependencies. GitHub's automatic Source code downloads contain the full repository; use the named attachments for the native-only distribution.

No npm package is published by this native release. No compiled binaries are attached; fused builds are not rebuilt or recertified for this patch. Full development scripts remain in the repository.

Install

After verifying the selected archive against SHA256SUMS:

tar -xzf pi-codemode-diff-0.1.4-pig-source.tar.gz
cd pi-codemode-diff-0.1.4-pig
pig install "$PWD/native"

Requires PiG 0.4.1 and Go >=1.26 for source compilation; tested with PiG 0.4.1+1.0.3 and Go 1.27.2. Keep the extracted package at its installed location, enable codemode separately, and run /reload in an existing session. Load only one implementation.

Validation

  • Go race tests and go vet pass in the extracted release archive on macOS/arm64.
  • Actual PiG installs the extracted package, auto-loads it from isolated settings without a direct extension flag, and captures nested write/edit calls with model-context isolation.
  • Actual PiG TypeScript and Go-source PTYs pass summary counts, expansion/collapse, reload, and session resume.
  • TypeScript type checking and 92 tests pass; one optional actual Node-loader fixture is skipped.

Existing PiG host input-rewrite limitations documented in COMPATIBILITY.md are unchanged. Historical full-parity/fused validation in that report is not a fresh validation claim for this patch.