{"_id":"@davehardy20/pi-theme-switcher","name":"@davehardy20/pi-theme-switcher","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@davehardy20/pi-theme-switcher","version":"0.1.0","description":"Pi package for switching TUI themes on the fly.","type":"module","keywords":["pi-package","pi-extension","theme"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/davehardy20/pi-theme-switcher.git"},"bugs":{"url":"https://github.com/davehardy20/pi-theme-switcher/issues"},"homepage":"https://github.com/davehardy20/pi-theme-switcher#readme","publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.build.json","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*","@earendil-works/pi-tui":"*","typebox":"*"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":false},"@earendil-works/pi-tui":{"optional":false},"typebox":{"optional":false}},"devDependencies":{"@earendil-works/pi-coding-agent":"^0.74.0","@earendil-works/pi-tui":"^0.74.0","@types/node":"^24.7.2","typebox":"^1.1.24","typescript":"^5.9.3","vitest":"^3.2.4"},"pi":{"extensions":["./src/index.ts"]},"gitHead":"f30cb36ad615b387ca6b49a4fa1233b6e976aa75","_id":"@davehardy20/pi-theme-switcher@0.1.0","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-9ia8ANGOe1h5MvgP/SJ1fTSRB8m1GjK7XzoWLpVRqNM1UU6v0rtvxV4OfgQE2GkRhrUBeWJ/dyJyY1135sMwSQ==","shasum":"69c8932dd25cd43cea3121cb18c78a0386fb9efa","tarball":"https://registry.npmjs.org/@davehardy20/pi-theme-switcher/-/pi-theme-switcher-0.1.0.tgz","fileCount":4,"unpackedSize":15689,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHWAxxARz+GbptPBwN39ughl+E8+zKOAKS5axUVQwNsAAiBNjetwbuSjR0RmfgcJP2DugejBoG58RjmNYVTsN9rKBw=="}]},"_npmUser":{"name":"davehardy20","email":"dave.hardy@protonmail.com"},"directories":{},"maintainers":[{"name":"davehardy20","email":"dave.hardy@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-theme-switcher_0.1.0_1779016807121_0.6411619715911594"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-17T11:20:07.010Z","0.1.0":"2026-05-17T11:20:07.271Z","modified":"2026-05-17T11:20:07.495Z"},"maintainers":[{"name":"davehardy20","email":"dave.hardy@protonmail.com"}],"description":"Pi package for switching TUI themes on the fly.","homepage":"https://github.com/davehardy20/pi-theme-switcher#readme","keywords":["pi-package","pi-extension","theme"],"repository":{"type":"git","url":"git+https://github.com/davehardy20/pi-theme-switcher.git"},"bugs":{"url":"https://github.com/davehardy20/pi-theme-switcher/issues"},"license":"MIT","readme":"# @davehardy20/pi-theme-switcher\n\nPi package for switching TUI themes on the fly.\n\n## What it adds\n\n- `/theme` — interactive theme picker\n- `/theme <name>` — switch directly to a named theme\n- `/theme-status` — show package name, version, source path, active theme, and available themes\n- `Ctrl+Shift+T` — cycle through themes\n- `switch_theme` tool — let Pi change the current theme without reloading\n- temporary theme swatch widget after a switch\n\n## Install\n\nFrom git:\n\n```bash\npi install git:github.com/davehardy20/pi-theme-switcher\n```\n\nFrom a local checkout during development:\n\n```bash\npi install /Users/dave/tools/pi-theme-switcher\n```\n\nFor one run only:\n\n```bash\npi -e /Users/dave/tools/pi-theme-switcher\n```\n\n## Notes\n\n- Theme switching is available only in the interactive TUI.\n- If commands appear twice, Pi is probably loading both this package\n  and the old local `agent/extensions/theme-switcher.ts` file.\n- Disable or remove the old local auto-discovered extension before reload verification.\n\n## Update flow\n\n1. update the package repo\n2. push to GitHub\n3. run `pi update --extensions` or reinstall the package\n4. run `/reload`\n\n`/reload` alone does not fetch newer package commits.\n\n## Troubleshooting\n\nRun `/theme-status` to confirm:\n\n- package name\n- package version\n- loaded source path\n- active theme\n- visible theme list\n\n## Build and test\n\n```bash\nnpm run typecheck\nnpm run test\nnpm run build\n```\n","readmeFilename":"README.md","_rev":"1-6a7af80f5b53cf59c28ad28c6235df0a"}