feat(pig): add pig with Go extension ports #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pig"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moved from GitLab !409 (https://gitlab.com/hmajid2301/nixicle/-/merge_requests/409).
Adds
pig(PiG v0.7.0, the Go port of Pi) as its ownden.aspects.pigaspect alongsidepi, and ports our Pi extensions to Go standalone binaries built withbuildGoModule(CGO_ENABLED=0).piand its TS extensions are unchanged.How it works
pigwrapper:--no-extensions+ explicit-elist = Go ports, then the not-yet-ported TS extensions fromhome.file(minusreplacedTsExtensions), thenbuiltin:mcp|codemode|tool-search|pig-login. Subcommands bypass the flags.pi-claude-codeTS package is not loaded (it hangs every prompt in PiG's Node runtime); the Goclaude-codeprovider replaces it (same provider/model ids, chat only).main.go, pure logic + table tests next to it; tests run in the NixcheckPhase. Sharedinternal/tooloutfor tool-output truncation.Ported (each verified headless or in a tmux-driven pig TUI)
--effort+ summarized thinking; usage-credits guard, opt-inPI_CLAUDE_CODE_ALLOW_USAGE_CREDITS=1)fix(neovim): plugin calledreadfilein a libuv fast event, so reviews never opened)plan_tracker(differential-tested against the TS code)Blockers (not in this MR yet)
/plan <goal>delegation comes in that last slice via the SDK event bus./model, codex login, tuios/herdr panes.kit.Editorinctx.Customcan't be cancelled with Escape (ask-user-question will usekit.Input); PiG #497 avoided by not replacing the main editor.Validation
gofmt,go vet,go test -race ./...nix evalof desktop, framework, vps toplevelpigbuilt; per-port e2e notes are in the commit-linked ticketsNot deployed or activated.
0b8f94c1cfto0c95bac922View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.