pit v0.13.0
·
82 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Highlights
- Add user-global saved functions stored as readable TypeScript under
~/.pi/agent/pit/functions/, with explicit opt-in through~/.pi/agent/pit.jsonand support forPI_CODING_AGENT_DIR. - Resolve direct calls with session → project → global precedence while binding dependencies by definition scope: globals use global dependencies, projects use project then global, and sessions use session then project then global.
- Add typed
functions.listGlobal(),getGlobal(), confirmedremoveGlobal(), scopedgetSaved()andplanRemoval(), and confirmedpromote(..., { to: "global" })workflows. - Extend
/functionswith Save globally, global inspection, override labels, and confirmed global removal. - Add project-level global opt-out, global signatures in the system prompt, global context metadata, runtime trace attribution, dependency blockers, capacity enforcement, and machine-local security documentation.
- Update
/pit-reflectto distinguish stable project-specific promotion from project-independent global promotion.
Validation
Static checks, 163-rule Oxlint, Oxfmt verification, 351 tests, coverage thresholds, package verification, GitHub Actions CI, reload-based global opt-in, live promotion and persistence, direct precedence, simultaneous scoped dependency isolation, metadata inspection, blocked removal, confirmed cleanup, and empty-registry verification passed.