{"_id":"@artale/pi-procs","_rev":"3-9713c522904a12a714a7a8389503c537","name":"@artale/pi-procs","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@artale/pi-procs","version":"1.0.0","keywords":["pi-package"],"author":{"name":"artale"},"license":"MIT","_id":"@artale/pi-procs@1.0.0","maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"homepage":"https://github.com/arosstale/pi-procs#readme","bugs":{"url":"https://github.com/arosstale/pi-procs/issues"},"pi":{"extensions":["src/extension.ts"]},"dist":{"shasum":"8c31511bfdfd4d22add141d30ec87d06f88f1220","tarball":"https://registry.npmjs.org/@artale/pi-procs/-/pi-procs-1.0.0.tgz","fileCount":3,"integrity":"sha512-uoWmRY4V5ygKK9QkJxp1o/6EGOE2Dv080gInkzEzbp/iY7oCC+kQK32qee2JR0sbqiz9wHxBD+jeb5yyYZqeSA==","signatures":[{"sig":"MEUCIQDBqHa9xuu9hs1xC+yd8sL9z1TlwyO/K9RLK5Jr3p7+pAIgFhJL+QkOpTiqPX08f5Hbgal8XpQRK/saq7f2f+sd7yg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10984},"gitHead":"855b328bb5e6e933f0b11451f984df20e90e7549","_npmUser":{"name":"artale","email":"arosstale1@gmail.com"},"repository":{"url":"git+https://github.com/arosstale/pi-procs.git","type":"git"},"_npmVersion":"10.9.4","description":"Background process manager for Pi. Start dev servers, watch builds, tail logs — without blocking the agent.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-procs_1.0.0_1773451484199_0.7829273600385114","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@artale/pi-procs","version":"1.1.0","keywords":["pi-package"],"author":{"name":"artale"},"license":"MIT","_id":"@artale/pi-procs@1.1.0","maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"homepage":"https://github.com/arosstale/pi-procs#readme","bugs":{"url":"https://github.com/arosstale/pi-procs/issues"},"pi":{"extensions":["src/extension.ts"]},"dist":{"shasum":"72f5323029ba2882bc75744994b781ce222b9bae","tarball":"https://registry.npmjs.org/@artale/pi-procs/-/pi-procs-1.1.0.tgz","fileCount":3,"integrity":"sha512-rUv8QCFaUIfTbi1o0l2Fx4Dk4WfV7bBVX19auTC9Kv4r9l4nIgijEjUw2IJePsftLO1Kc4nVZCRKz3XoAggpYQ==","signatures":[{"sig":"MEYCIQCYi/6hc4IjsW5lyP+0bvQNbARP/TsecwLRdTWhLY+8LQIhALEknNUV38o4qswVdqUfsqcSME5XjwRtHlvZRxg/dC9r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15811},"gitHead":"a06c490058172fded904d3bc65abdb04a93be5a8","_npmUser":{"name":"artale","email":"arosstale1@gmail.com"},"repository":{"url":"git+https://github.com/arosstale/pi-procs.git","type":"git"},"_npmVersion":"10.9.4","description":"Background process manager for Pi. Start dev servers, watch builds, tail logs — without blocking the agent.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-procs_1.1.0_1773452563340_0.45051715627427424","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@artale/pi-procs","version":"1.1.2","description":"Background process manager for Pi. Start dev servers, watch builds, tail logs — without blocking the agent.","keywords":["pi-package"],"license":"MIT","author":{"name":"artale"},"repository":{"type":"git","url":"git+https://github.com/artale93/pi-procs.git"},"pi":{"extensions":["src/extension.ts"]},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"gitHead":"91566081a7fbef32e3236750f2222b33505a3932","_id":"@artale/pi-procs@1.1.2","bugs":{"url":"https://github.com/artale93/pi-procs/issues"},"homepage":"https://github.com/artale93/pi-procs#readme","_nodeVersion":"22.22.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-wNmVhrmUxeeMC7u9vmFURPQ0Dgy0M8HhKG9ALOdm1vbSLf1SY8KlWlE9Oc7pr6W+Apjo9t1wc94mx03JUFbn7Q==","shasum":"66a101dd44872e5335c6c4dc2373a5c80026d894","tarball":"https://registry.npmjs.org/@artale/pi-procs/-/pi-procs-1.1.2.tgz","fileCount":3,"unpackedSize":15838,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDq+w1IyVHtUgWOUzIiq2lWReO5I5we6KJ5uUdZcExIrgIgFBCzG62dnNH0o4lR8S0yPRLjRweYQ9ehDJnAqO/AyIU="}]},"_npmUser":{"name":"artale","email":"arosstale1@gmail.com"},"directories":{},"maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-procs_1.1.2_1776776872036_0.9449362523803835"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-14T01:24:44.090Z","modified":"2026-04-21T13:07:52.287Z","1.0.0":"2026-03-14T01:24:44.329Z","1.1.0":"2026-03-14T01:42:43.479Z","1.1.2":"2026-04-21T13:07:52.179Z"},"bugs":{"url":"https://github.com/artale93/pi-procs/issues"},"author":{"name":"artale"},"license":"MIT","homepage":"https://github.com/artale93/pi-procs#readme","keywords":["pi-package"],"repository":{"type":"git","url":"git+https://github.com/artale93/pi-procs.git"},"description":"Background process manager for Pi. Start dev servers, watch builds, tail logs — without blocking the agent.","maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"readme":"# pi-procs\n\nBackground process manager for Pi. Start dev servers, watch builds, tail logs — without blocking the agent.\n\n## Install\n\n```bash\npi install npm:@artale/pi-procs\n```\n\n## Commands\n\n```\n/procs list                        — show all running processes\n/procs start <cmd> [--name <n>]    — start a background process\n/procs logs <name> [--lines N]     — tail output from a process\n/procs kill <name>                 — stop a process\n/procs killall                     — stop all processes\n/procs mprocs                     — hand off to mprocs TUI (if installed)\n/procs export                     — export mprocs.yaml for current processes\n```\n\n## Tools\n\n- `procs_start` — start a background process\n- `procs_list` — list all processes with PID, uptime, command\n- `procs_logs` — get recent output from a process\n- `procs_kill` — kill a process by name\n- `procs_export` — export as mprocs.yaml\n- `procs_mprocs` — hand off to mprocs TUI\n\n## Examples\n\n```\n/procs start npm run dev --name frontend\n/procs start python manage.py runserver --name backend\n/procs list\n/procs logs frontend --lines 50\n/procs kill backend\n/procs killall\n```\n\n## mprocs integration\n\nIf [mprocs](https://github.com/pvolok/mprocs) is installed, pi-procs can hand off running processes to a full TUI:\n\n```\n/procs start npm run dev --name frontend\n/procs start npm test -- --watch --name tests\n/procs mprocs    ← opens mprocs with both processes in split panes\n```\n\nThis gives you the best of both worlds:\n- **Agent-side**: the LLM starts/stops/tails processes via tools\n- **Human-side**: you get a visual TUI with split panes when you want to watch\n\nYou can also export without launching:\n```\n/procs export    ← writes mprocs.yaml to cwd\n```\n\nInstall mprocs: `npm i -g mprocs` or `brew install mprocs` or `cargo install mprocs`\n\n## How it works\n\n- Spawns child processes with detached stdio\n- Captures stdout/stderr in a rolling buffer (500 lines)\n- Auto-names processes from the command if no name given\n- Auto-detects mprocs installation\n- Cleans up all processes on Pi exit\n- Works on Windows, macOS, and Linux\n- Zero dependencies beyond Node.js built-ins\n\n## License\n\nMIT\n","readmeFilename":"README.md"}