Releases: czottmann/pi-automode
Releases · czottmann/pi-automode
v1.3.0
Changes
- Persist classifier model selections to
~/.pi/agent/automode.json. - Use
~/.pi/agent/automode.jsonas the global config path. - Add
@earendil-works/pi-tuias a peer dependency. - Split
$defaultsdocumentation intodocs/defaults.mdand 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 checknpm testnpm pack --dry-run
v1.2.0
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
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 ofallowrules. Matches Claude Code protected-paths behavior. Configurable viaprotectedPathsin settings with$defaultssupport. .gitignoreand.gitattributesadded 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.urlin package.json.
v1.0.0
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