Skip to content

pit v0.13.0

Choose a tag to compare

@cv cv released this 06 Aug 00:01
· 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.json and support for PI_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(), confirmed removeGlobal(), scoped getSaved() and planRemoval(), and confirmed promote(..., { to: "global" }) workflows.
  • Extend /functions with 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-reflect to 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.