Skip to content

v0.1.1

Choose a tag to compare

@hyein-cbio hyein-cbio released this 06 Oct 12:33
· 6 commits to main since this release
3d6a253

PiG compatibility

  • Add a PiG-only display path for codemode file changes without replacing the native codemode renderer (D89).
  • Load the PiG display module only after confirming the actual PiG Node runtime API identity. Pi keeps the existing synchronous renderer-composition path.
  • Persist completed changes in non-model-facing custom transcript entries, using the same previews, diff styling, sanitization, and expansion as Pi.
  • Preserve script output, success/error status, and written file bytes. New PiG entries remain visible after session resume and extension reload.
  • Strengthen packaging regression checks for both new runtime modules and document upgrade revalidation.

Limitations

PiG displays diffs in separate entries after the parent call completes, not as live partial inline diffs. Existing PiG sessions without these entries are not backfilled. Host detection uses PiG's private SDK shim contract and must be revalidated after PiG upgrades.

Validation

  • TypeScript typecheck and all 61 tests passed, including the actual PiG Node SDK/jiti loader and package smoke tests.
  • The release tarball also passed the PiG loader fixture.
  • Installed Pi 1.0.3 and PiG 0.4.1+1.0.3 executables were checked with isolated offline scripted sessions. Model-facing output (excluding elapsed time), statuses, and written bytes matched before/after the change.
  • PiG interactive PTY checks passed for completed diff display, preview, Ctrl+O expand/collapse, session resume, and /reload.

Install

Install the pinned GitHub release:

pi install git:github.com/hyein-cbio/pi-codemode-diff@v0.1.1
pig install git:github.com/hyein-cbio/pi-codemode-diff@v0.1.1

Run /reload in an existing session after upgrading.

The attached npm tarball contains the extension source, README, license, and package manifest only. npm registry publication of 0.1.1 is pending npm two-factor authentication; this GitHub release and its attached tarball are available independently.