{"_id":"@br4zz4/opencode-smart-session-picker","name":"@br4zz4/opencode-smart-session-picker","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@br4zz4/opencode-smart-session-picker","version":"0.1.0","description":"OpenCode TUI plugin: pick and switch to any session across all projects","author":{"name":"oporpino","email":"dev@porpi.no"},"license":"AGPL-3.0","type":"module","main":"./dist/index.js","exports":{".":"./dist/index.js","./tui":"./dist/index.js"},"keywords":["opencode","opencode-plugin","tui","sessions","picker"],"engines":{"opencode":">=1.18.0"},"publishConfig":{"access":"public"},"types":"./dist/index.js","scripts":{"build":"node build.mjs","prepublishOnly":"npm run build","typecheck":"tsc --noEmit"},"devDependencies":{"@opencode-ai/plugin":"1.18.29","@opentui/solid":"0.4.5","@types/node":"^26.4.1","esbuild":"^0.28.2","typescript":"5.8.2"},"_id":"@br4zz4/opencode-smart-session-picker@0.1.0","gitHead":"93b68e322117390c81ccdfcac5b544c7d83f9d0b","_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-HYroKKVDRSHLMsr36x85GW1xT8i3chZvdp6ameRMMlz37rafEM/R7Iaq4oFZS9K8dVJQGVki0rXhwNbJButhkQ==","shasum":"54657d05510fe47a0be60952e621ecd08342b8ff","tarball":"https://registry.npmjs.org/@br4zz4/opencode-smart-session-picker/-/opencode-smart-session-picker-0.1.0.tgz","fileCount":4,"unpackedSize":41254,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDZ9hvW8ysS3fYX/EsLH4SUFacFeFJKEXECkWcxCGd4iAiBl4hULEquQvnVMCnb3t5H+jswG/L32CnOTRIW2hokrUQ=="}]},"_npmUser":{"name":"br4zz4","email":"npm@brazza.tech"},"directories":{},"maintainers":[{"name":"br4zz4","email":"npm@brazza.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode-smart-session-picker_0.1.0_1788625053148_0.9027501943650458"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-05T16:17:32.872Z","0.1.0":"2026-09-05T16:17:33.276Z","modified":"2026-09-05T16:17:33.516Z"},"maintainers":[{"name":"br4zz4","email":"npm@brazza.tech"}],"description":"OpenCode TUI plugin: pick and switch to any session across all projects","keywords":["opencode","opencode-plugin","tui","sessions","picker"],"author":{"name":"oporpino","email":"dev@porpi.no"},"license":"AGPL-3.0","readme":"# @br4zz4/opencode-smart-session-picker\n\nOpenCode TUI plugin that picks and switches to any session across **all projects**:\n\n- **`/sessions`** slash command (and `/resume`, `/continue` aliases): opens a searchable session picker dialog, replacing the native command.\n- **`Ctrl+x l`** keybinding: shadows the native session list; opens the same picker.\n- **`Ctrl+o`** keybinding (dedicated fallback): opens the picker without touching the native binding.\n\nEach row shows project name, then session title, then last-updated date/time:\n\n```\npodcast  │ Improve intro script  05/09/2026 14:30\n```\n\nRows are grouped by project (section headers) and sorted alphabetically by project, then by most recent update. Archived sessions and subagent (child) sessions are hidden.\n\nSelecting a row navigates to that session (`api.route.navigate(\"session\", …)`).\n\n## Install\n\nAdd to `~/.config/opencode/tui.json`:\n\n```json\n{\n  \"plugin\": [\"@br4zz4/opencode-smart-session-picker\"]\n}\n```\n\nPin a version for stability:\n\n```json\n{\n  \"plugin\": [\"@br4zz4/opencode-smart-session-picker@0.1.0\"]\n}\n```\n\nRestart opencode. Type `/sessions` in the prompt, or press `Ctrl+o`, to open the picker.\n\n## Keybinding notes\n\nThe native session list is `Ctrl+x l` (`session.list` slash `/sessions`, `/resume`, `/continue`). This plugin registers a command with the **same name** (`session.list`) plus a `<leader>l` binding, so `Ctrl+x l`, `/sessions`, `/resume` and `/continue` all open the smart picker instead of the native one. `Ctrl+o` is always available as a dedicated fallback. To fully disable the native binding and keep only the plugin's, set it to `\"none\"` in `tui.json`:\n\n```json\n{\n  \"keybinds\": {\n    \"session_list\": \"none\"\n  }\n}\n```\n\n## Development\n\n```bash\nnpm install\nnpm run build\n```\n\nRun opencode against your checkout:\n\n```json\n{\n  \"plugin\": [\"file:///path/to/opencode-smart-session-picker/dist/index.js\"]\n}\n```\n\n## License\n\nAGPL-3.0 — see [LICENSE](LICENSE).","readmeFilename":"README.md","_rev":"1-7325fd54877387e8d09bb87a1242d054"}