Repository navigation
v1.0.15 — Respect tool selection
Fix: respect tool selection and make read-only activation opt-in
Fixes #4. The theme no longer re-enables native grep, find, or ls by default. Extensions such as pi-hashline-edit-pro can keep native grep inactive regardless of npm package order.
Behavior and migration
piOmpTheme.readonlyToolsis a validated boolean, defaulting tofalse.- To explicitly restore automatic
grep/find/lsactivation at session start, setpiOmpTheme.readonlyTools: true. - The CLI override now requires an explicit value:
--pi-omp-theme-readonly-tools=trueor--pi-omp-theme-readonly-tools=false. Space-separated values also work. The former bare boolean flag is no longer supported. This avoids Pi coercing=falseto booleantrue. - Activation respects
enabled: false,PI_OMP_THEME_DISABLED=1, project trust, and Pi's explicit tool restrictions. - Opting out never removes tools already enabled by the user or another extension. Presentation/configuration reloads do not change active tools mid-session.
- Explicit opt-in may still re-enable a tool another extension disabled; leave it off when using replacement tools.
Verification
- CI: this repository has no configured GitHub Actions workflows, check-runs, or commit-status contexts for the release commit. The local release gates below all passed.
npm run check: typecheck, 102 unit/integration tests, dependency boundaries, production build, and package smoke.- Packed-package CLI/RPC E2E: 25 cases each on Pi 0.99.1 and 0.99.2 with
pi-hashline-edit-pro4.5.1. - Both package orders, CLI/config/trust/disable gates, tool restrictions, new sessions, and reloads.
- Real
anchor_grep → replaceexecution against sandbox files through Pi's agent loop, with a deterministic local provider and no external model calls.
Tested on Windows x64 with Node 24.11.1. Visual TUI screenshots and Linux/macOS runs were not part of this verification.
Install / update
Published on npm. The registry latest tag, release commit, tarball integrity, clean install, and Pi-style loader smoke have been verified.
pi install npm:@nguyenquangthai/pi-omp-theme@1.0.15
# For an existing unpinned installation:
pi update npm:@nguyenquangthai/pi-omp-theme