Skip to content

Releases: czottmann/pi-automode

v1.3.0

15 Jun 09:56

Choose a tag to compare

Changes

  • Persist classifier model selections to ~/.pi/agent/automode.json.
  • Use ~/.pi/agent/automode.json as the global config path.
  • Add @earendil-works/pi-tui as a peer dependency.
  • Split $defaults documentation into docs/defaults.md and link docs from the README.
  • Add publishing and author information to the README.

Upgrade note

If you previously configured auto-mode in ~/.pi/automode.json, move that file to ~/.pi/agent/automode.json.

Verification

  • npm run check
  • npm test
  • npm pack --dry-run

v1.2.0

14 Jun 18:26

Choose a tag to compare

Changes since v1.1.0:

  • Split the auto-mode extension into smaller internal modules while keeping the public entry point stable.
  • Added documentation for the classifier flow, including what context is sent to the reviewer model.
  • Added project agent instructions and updated package metadata for the release.

v1.1.0

14 Jun 16:36

Choose a tag to compare

Changes

  • Protected paths — writes to .git, shell profiles (.bashrc, .zshrc, .profile, etc.), IDE configs (.vscode, .idea), package manager configs, hook configs, and other tool configs always go to the classifier regardless of allow rules. Matches Claude Code protected-paths behavior. Configurable via protectedPaths in settings with $defaults support.
  • .gitignore and .gitattributes added to default protected paths.
  • Symlink resolution — writes through symlinks (not-git → .git) are caught.
  • Cross-project detection — writes to protected paths in other projects (e.g. ../other-project/.git/config) are caught via path segment scanning.
  • Fixed missing repository.url in package.json.

v1.0.0

14 Jun 14:15

Choose a tag to compare

Stable release of pi-automode — Claude Code-style auto mode for Pi.

  • Permission deny/ask rules before any other checks
  • Deterministic hard-deny for TLS weakening, profile edits, cron, authorized_keys, safety-control edits
  • Shell parser for bash commands (handles quotes, redirects, pipes, &&, ;)
  • Read-only tool fast path (read, grep, find, ls)
  • Two-stage LLM classifier with HARD_DENY/SOFT_DENY/ALLOW tiers, fail-closed on errors
  • support per section with additive merging
  • Interactive model selector with fuzzy filtering
  • Plugin-owned config (~/.pi/automode.json, .pi/automode.local.json)
  • Config validation diagnostics
  • 5 clean commits, 15 passing tests