Releases: fitchmultz/pi-codex-goal
Release list
v0.3.0
Breaking change in 0.3.0: minimum explicit goal budget
New explicit create_goal token budgets, including replacements, must be integers of at least 500,000 tokens. Smaller budgets are rejected rather than raised automatically.
- Omit
token_budgetfor an unlimited goal; no numeric default is added. - Existing saved goals keep their original budgets and usage, including smaller historical budgets.
- Pi's native TypeBox
Value.Convertargument conversion is unchanged. No pre-conversion validation wrapper is added. - This is a fixed minimum, not a configurable or disabled-budget policy.
The platform smoke also uses the installed Pi package's declared executable, including newer bundled CLIs. Node 24 and Pi 0.84.0 or later remain required.
Validation
The committed source and exact compiled package were qualified on native macOS outside Crabbox/SSH and actual Ubuntu with published Pi 0.85.1, alongside key-free budget compatibility checks on Pi 0.84.0. Both real model runs passed all 26 canonical assertions. An extra ordering check was corrected and validated against those same recordings; the original failing driver result was retained, with no model rerun. Windows was waived and not run.
Related to #51.
v0.2.1
Package loading
- npm installs now load precompiled JavaScript instead of compiling the runtime TypeScript at startup.
- Git and local directory installs remain build-free. Pi loads exactly one source extension, even when old build output exists.
- The npm package retains declarations, source maps, prompts, documentation and release tooling.
Thanks @jyn514 for the precompilation contribution in #55.
Install
pi install npm:pi-codex-goal@0.2.1The source release is also available as git:github.com/fitchmultz/pi-codex-goal@v0.2.1.
Verification
Native macOS and Ubuntu 24.04.4 passed all 337 tests, six harness checks, packed installs and real model-backed goal completion with a successful built-in file read. Source/Git/packed loading also passed on the current Pi 0.85 build. Native Windows was unavailable and explicitly waived for this release.
Goal scheduling, budgets and overflow recovery are unchanged.
pi-codex-goal 0.2.0
0.2.0
- Raise the minimum supported Pi version to 0.84.0 and pin development/type validation to the exact 0.84.0 release.
- Migrate SDK and test-harness contracts to Pi 0.84.0, including
Agent.streamFunction,registerMarkdownTransformer(), andscopedModels. - Use current pi-ai root exports and serialize the mutating goal tools with Pi's native sequential execution mode.
- Retain optional wildcard Pi peers as required by Pi package loading while documenting “Pi 0.84.0 or later” as the support floor.
Validation
npm run verify: typecheck, 6 platform-smoke checks, 333 tests- Clean public-registry
npm ci && npm run verify: passed with the same counts npm audit --omit=optional: no vulnerabilities- Public-registry npm publish dry-run and isolated packed-tarball Pi 0.84.0 install/RPC discovery: passed
- Pi 0.84.0 fullscreen tmux dogfood: packed extension loaded,
/goalcreated and verified an exact file through the built-inreadtool,get_goalinspected it,update_goalcompleted it, and the TUI renderedGoal achieved
Environment note
The Crabbox macOS, Ubuntu, and native-Windows matrix could not start on the available shared host. Its doctor stopped before all product suites because Crabbox, model-auth environment, localhost SSH, and Parallels prlctl were unavailable. No matrix product test ran or failed, and the required matrix remains unchanged for capable environments.
No npm package was published for this release.
Post-release selective Crabbox validation — 2026-08-06
Windows-specific testing was waived for this host. The existing platform-selective commands were run against released tag/current main commit 529eb81ccd45396a4a042bfa92f160e3ee2d5591 with Crabbox 0.40.0:
npm run smoke:platform:macos: the SSH-provider warmup timed out after 300,016 ms becauselocalhost:22remained closed. No macOS product suite started.npm run smoke:platform:ubuntu: Ubuntuplatform-buildpassed on Node v24.16.0, includingnpm ci, typecheck, 6 platform-smoke checks, 333 tests, packing, packed installation, local Pi installation, andpi list.goal-runtime-smokethen stopped before model execution withNo API key found for zai; it created no session and exercised no goal behavior. Lease and stale-provider cleanup passed. The target command therefore exited 1.
These are host-prerequisite blocks, not observed product defects. No follow-up code change was required.
pi-codex-goal 0.1.39
0.1.39
- Pause active goals when a hidden continuation run only calls
get_goal/ namespaced*__get_goaland makes no actionable progress, so blocked status-inspection loops stop and surface/goal resumeattention instead of spinning forever (#47). - Document that goal token budgets intentionally count only active-goal assistant-turn
input+output, and do not track Pi 0.81+ host session totals that also include tool, compaction, and branch-summary usage.
Validation
npm run verifyunder Pi 0.80.10: typecheck, 6 platform-smoke checks, 333 tests- Crabbox release matrix: macOS, Ubuntu, native Windows (platform-build, goal-runtime-smoke, lease-cleanup)
npm audit --omit=optional, publish dry-run, isolated packed-tarball Pi install
pi-codex-goal 0.1.38
0.1.38
- Makes Pi the sole compaction owner, removing the hardcoded 50k
turn_endtrigger and the host/extension race that could reportAlready compactedand interrupt active goals. - Keeps goal accounting, persistence, overflow recovery, and guarded continuation on Pi’s compaction lifecycle events.
- Adds exact threshold coverage for a 272,000-token window with a 16,834-token reserve, plus host retry and late-result race regressions.
- Updates the tested baseline to Pi 0.80.10.
Validation: 329 tests, macOS/Ubuntu/native-Windows Crabbox packed-install and model-backed runtime smokes, zero audit vulnerabilities, and isolated tarball install.
pi-codex-goal 0.1.35
- Update the development and documented compatibility baseline to Pi 0.80.6 after auditing current lifecycle, tool, persistence, session replacement, compaction, queued-work, concurrency, and TUI contracts.
- Preserve deliberate per-low-level-run
agent_endcontinuation handling; add regression coverage provingagent_settleddoes not replace that hook.
pi-codex-goal 0.1.34
- Proactively compact mid-run: when a tool-use turn ends during an active goal with estimated context usage within 50k tokens of the context window, trigger host compaction immediately instead of waiting for the run boundary. Closes the gap where long autonomous runs grew past the context window mid-run and died on hard overflow errors (the pi host only checks its compaction threshold between runs). The compaction-triggered abort does not pause the goal; the existing
session_compactcontinuation path resumes it, and a failed proactive compaction pauses the goal for user attention. - Add a guarded continuation fallback for
session_compact({ willRetry: true })when the host promises a retry but noagent_startarrives, including an SDK runtime smoke test that exercises the real extension runner.
Validation
- Ran
npm run verifyunder pi0.80.3:tsc --noEmit, 6 platform-smoke checks, and 332 regular tests, all passing. - Ran
npm run smoke:platform:allunder pi0.80.3; doctor passed and macOS, Ubuntu, and native Windows target suites completed successfully. - Ran
npm audit --omit=optionalandnpm publish --dry-run, both passing.
pi-codex-goal 0.1.33
- Execute the structural audit remediation backlog: consolidate runtime reload/resume boundaries, simplify stale queued-work cleanup paths, centralize platform-smoke build orchestration, and reduce prompt/test source-of-truth drift.
- Add minimal GitHub Actions verification for Node 24
npm ciplusnpm run verifyonpushandpull_request, while keeping Crabbox as the local release platform gate. - Update the local pi development baseline to
@earendil-works/*0.80.3.
Validation
- Ran
npm run verifyunder pi0.80.3:tsc --noEmit, 6 platform-smoke checks, and 318 regular tests, all passing. - Ran
npm run smoke:platform:allunder pi0.80.3; doctor passed and macOS, Ubuntu, and native Windows target suites completed successfully.
v0.1.32
- Auto-resume goals paused by recognized provider usage-limit or quota errors with a conservative runtime-only retry timer.
- Add
/goal resume cancelto stop a pending provider-limit auto-resume while leaving manual/goal resumeavailable. - Keep auto-resume safe across busy sessions, user input, session shutdown, goal replacement, completion, and repeated provider-limit failures.
Validation
- Ran
npm run verifyunder pi0.80.2:tsc --noEmit, 6 platform-smoke checks, and 312 regular tests, all passing. - Ran
npm run smoke:platform:allunder pi0.80.2; doctor passed and macOS, Ubuntu, and native Windows target suites completed successfully.
0.1.31
0.1.31 - 2026-06-24
- Update the local pi development baseline to
@earendil-works/*0.80.2so typecheck fidelity matches the installed runtime pi release. - Stop hard-coding the published npm version in the README compatibility note so reproducibility guidance does not drift between releases; update the baseline to Pi
0.80.2. - Re-baseline the structural audit record to
0.1.30/0.80.2and refresh its summary and validation evidence. - Document the intentional steady-state cost of the 1 Hz footer status refresh for active goals.
Validation
- Ran
npm run verifyunder pi0.80.2:tsc --noEmit, 6 platform-smoke checks, and 304 regular tests, all passing. - Ran
npm run smoke:platform:doctorandnpm run smoke:platform:all(macOS, Ubuntu, native Windows) under pi0.80.2; doctor reported 0 failures and every platform-build, goal-runtime-smoke, and lease-cleanup assertion suite passed on all three targets.