{"_id":"@async23/pi-tmux-window-wrap","name":"@async23/pi-tmux-window-wrap","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@async23/pi-tmux-window-wrap","version":"0.1.0","description":"Report Pi agent activity to aipane's tmux-window-wrap status indicator","type":"module","license":"MIT","keywords":["pi-package","pi-coding-agent","tmux","status-line","activity"],"repository":{"type":"git","url":"git+https://github.com/Async23/pi-packages.git","directory":"packages/tmux-window-wrap"},"homepage":"https://github.com/Async23/pi-packages/tree/main/packages/tmux-window-wrap#readme","bugs":{"url":"https://github.com/Async23/pi-packages/issues"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"publishConfig":{"access":"public"},"pi":{"extensions":["./extensions/index.ts"]},"gitHead":"32bdd634a186d5a6ceb82b5a069a4cc382fd271d","_id":"@async23/pi-tmux-window-wrap@0.1.0","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Rx7ULJiIs66YN6mc6nO0EZKOTUsHIzws2cA6Yg/2hPA1JhXlriqO6eop8Je3saNrtZgF2LvLZXHP2xtBnceWEA==","shasum":"23b34a2fb9aa1afaa01fb8e068d5acc8185c6934","tarball":"https://registry.npmjs.org/@async23/pi-tmux-window-wrap/-/pi-tmux-window-wrap-0.1.0.tgz","fileCount":4,"unpackedSize":7092,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFG5b6hCrxMud0QhMNCciWZrXUQZo/D1qmlRpw732Q0sAiAy3Gy/OJLFOWZcRMR7nYnCdrrml/tZ79BEVAVKLc/6PA=="}]},"_npmUser":{"name":"async23","email":"gearrr005@gmail.com"},"directories":{},"maintainers":[{"name":"async23","email":"gearrr005@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-tmux-window-wrap_0.1.0_1785483495728_0.8518922065471566"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-31T07:38:15.605Z","0.1.0":"2026-07-31T07:38:15.863Z","modified":"2026-07-31T07:38:16.025Z"},"maintainers":[{"name":"async23","email":"gearrr005@gmail.com"}],"description":"Report Pi agent activity to aipane's tmux-window-wrap status indicator","homepage":"https://github.com/Async23/pi-packages/tree/main/packages/tmux-window-wrap#readme","keywords":["pi-package","pi-coding-agent","tmux","status-line","activity"],"repository":{"type":"git","url":"git+https://github.com/Async23/pi-packages.git","directory":"packages/tmux-window-wrap"},"bugs":{"url":"https://github.com/Async23/pi-packages/issues"},"license":"MIT","readme":"# @async23/pi-tmux-window-wrap\n\nReport Pi's foreground agent activity to\n[aipane](https://github.com/Async23/aipane)'s `tmux-window-wrap` status\nindicator.\n\n## Features\n\n- Marks the current tmux pane busy when Pi emits `agent_start`.\n- Keeps the marker busy across retries, compaction, and queued follow-ups.\n- Clears the marker on `agent_settled`, startup, and shutdown.\n- Uses aipane's pane-local marker, so stale state is ignored after the pane\n  command changes.\n- Becomes a silent no-op outside tmux or when the helper is unavailable.\n- Provides `/tmux-window-wrap-test` for a visible 1.2-second indicator pulse.\n\n## Requirements\n\n- Pi coding agent\n- tmux\n- aipane's `tmux-window-wrap` helper with `activity busy|idle` support\n\nThe default helper location is:\n\n```text\n~/.local/bin/tmux-window-wrap\n```\n\nIt should point to aipane's canonical script:\n\n```bash\nln -sf \"$HOME/code/demo/aipane/bin/tmux-window-wrap\" \\\n  \"$HOME/.local/bin/tmux-window-wrap\"\n```\n\n## Install\n\n```bash\npi install npm:@async23/pi-tmux-window-wrap\n```\n\nRestart Pi after installation, or run `/reload` in an existing session.\n\nFor local development:\n\n```bash\npi install /absolute/path/to/pi-packages/packages/tmux-window-wrap\n```\n\n## Verify\n\nRun this inside a Pi session under tmux:\n\n```text\n/tmux-window-wrap-test\n```\n\nThe current window label should display an animated `▓` for 1.2 seconds.\n\nNormal lifecycle mapping:\n\n| Pi event | Marker |\n| --- | --- |\n| `session_start` | idle |\n| `agent_start` | busy |\n| `agent_settled` | idle |\n| `session_shutdown` | idle |\n\n`agent_settled` is intentionally used instead of `agent_end`: it fires only\nafter retries, compaction, and queued continuations have finished.\n\n## Configuration\n\nOverride the helper executable when aipane is installed elsewhere:\n\n```bash\nexport PI_TMUX_WINDOW_WRAP_BIN=/path/to/tmux-window-wrap\n```\n\n## Uninstall\n\n```bash\npi remove npm:@async23/pi-tmux-window-wrap\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-4f02d22058889da783be7a99ec9d0daa"}