Skip to content

v0.1.5-pig

Choose a tag to compare

@hyein-cbio hyein-cbio released this 24 Oct 20:48
· 2 commits to main since this release
75e3bc6

pi-codemode-diff-native 0.1.5-pig

Independent Go source package for PiG, from commit 75e3bc6, corresponding to the TypeScript 0.1.5 release.

Changes

  • Both Go source and fused factories capture exact codemode and codemode_o parent names.
  • Keep shared mutation queues, budgets, isolation and version-1 diff metadata. Completed entries store the actual parent name and restore legacy entries as codemode.
  • Add a self-contained package-root README, LICENSE and CHANGELOG, native-specific homepage and repository directory.
  • Preserve the existing exclusion of Go tests/fixtures from the runtime npm archive.

Install

pig install npm:pi-codemode-diff-native@0.1.5-pig

Run /reload in existing sessions. Source mode needs PiG and a host-compatible Go toolchain. The module language floor is Go 1.26; current validation uses Go 1.27.3 and PiG 0.5.1+1.3.0.1402973a.

The Go factory is Node-free, but optional pi-opencode-mode@0.1.0 providing codemode_o is a separate Node extension. It is not bundled or ported to Go. Load one diff implementation per session.

Native-only artifact

  • pi-codemode-diff-native-0.1.5-pig.tgz: the same source tarball submitted to npm.
  • SHA256SUMS: checksum for that tarball.

After verifying the checksum:

tar -xzf pi-codemode-diff-native-0.1.5-pig.tgz
cd package
pig install "$PWD"

This archive contains no TypeScript diff implementation, Node dependencies, Go tests or fixture data. It includes the runtime Go sources/module files, documentation, licenses/notices and fused-build manifest. No compiled binaries are attached. GitHub's automatic Source code downloads contain the full repository.

Validation

Go race tests/vet pass in the full checkout. The extracted npm module builds independently and validates as a PiG package; actual extracted TS/native executions agree on nested OpenCode write/edit results. CLI comparisons and real PTYs cover TS, Go source and fused paths on the scoped versions/platforms in OPENCODE.md. Source native codemode also passes without Node; fused native codemode passes with an empty PATH. Those are not Node-free OpenCode claims.

Native runtime sources have not changed since the earlier fused verification in this work. No precompiled binary is distributed or claimed portable across arbitrary hosts.