{"_id":"@aksellor/ai-hub-runner","_rev":"5-dadbccacfd56645442ea1a4493eca41b","name":"@aksellor/ai-hub-runner","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@aksellor/ai-hub-runner","version":"0.1.0","keywords":["ai-hub","runner","cli","cursor","execution","aksellor"],"license":"UNLICENSED","_id":"@aksellor/ai-hub-runner@0.1.0","maintainers":[{"name":"aksellor","email":"m@aksellor.com"}],"homepage":"https://ai-hub-lemon.vercel.app","bugs":{"url":"https://github.com/grotterudmats/ai_hub/issues"},"bin":{"ai-hub-runner":"dist/cli.js"},"dist":{"shasum":"402112af4be7d2b6b4e4f0feacd4196414117570","tarball":"https://registry.npmjs.org/@aksellor/ai-hub-runner/-/ai-hub-runner-0.1.0.tgz","fileCount":23,"integrity":"sha512-KZk0sLGRoYN8ZrtIV7xa9aZl+3u2kY0gYYNHiHpOFJWwsYlcUqY2qJELMeOSsF/kFw9rm6qv7yTYlIebZGmt1Q==","signatures":[{"sig":"MEQCIHH8dUW5D1+RHr0xAUgVWDCOA29JxhHf+uiIBOTRlE18AiBRACrYpe3SS0mi7+RRwteyJmJkhdU6+Vb1jQUDNl6hOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30918},"type":"module","engines":{"node":">=18"},"gitHead":"df39a8ce80c0735d6046cd447bd05ab868c60015","scripts":{"dev":"tsx src/cli.ts","build":"tsc","login":"tsx src/cli.ts login","start":"tsx src/cli.ts start","prepack":"pnpm run build"},"_npmUser":{"name":"aksellor","email":"m@aksellor.com"},"repository":{"url":"git+https://github.com/grotterudmats/ai_hub.git","type":"git","directory":"packages/runner"},"_npmVersion":"10.8.2","description":"Local companion CLI for AI Hub — connects your laptop for hosted execution.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"ws":"^8.18.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","@types/ws":"^8.5.13","typescript":"^5","@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ai-hub-runner_0.1.0_1780984562102_0.8669890264854225","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aksellor/ai-hub-runner","version":"0.1.2","keywords":["ai-hub","runner","cli","cursor","execution","aksellor"],"license":"UNLICENSED","_id":"@aksellor/ai-hub-runner@0.1.2","maintainers":[{"name":"aksellor","email":"m@aksellor.com"}],"homepage":"https://ai-hub-lemon.vercel.app","bugs":{"url":"https://github.com/grotterudmats/ai_hub/issues"},"bin":{"ai-hub-runner":"dist/cli.js"},"dist":{"shasum":"3c3c78133ed18097df0b67fbaaf57faa1031977f","tarball":"https://registry.npmjs.org/@aksellor/ai-hub-runner/-/ai-hub-runner-0.1.2.tgz","fileCount":23,"integrity":"sha512-vELw5tjVlIbC0IhtRkK1C0CbUCHCTJZsg86nh18S0mHWNHeYPjoKatrUKLLUk70eb70pJYFrpfz0D2DIU7mzOw==","signatures":[{"sig":"MEUCIQCZBhvM+P+rlDlcXQI+jFZlY7oDk5m/q0W+G2hVI8w3LQIgOde4t0W2Q4oT4WFthwiIdUQvpmrIZJmYP5u2JwPfVIc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31875},"type":"module","engines":{"node":">=18"},"gitHead":"42c5c67d1426e988e8bbca318c7f81de40a6738a","scripts":{"dev":"tsx src/cli.ts","build":"tsc","login":"tsx src/cli.ts login","start":"tsx src/cli.ts start","prepack":"pnpm run build"},"_npmUser":{"name":"aksellor","email":"m@aksellor.com"},"repository":{"url":"git+https://github.com/grotterudmats/ai_hub.git","type":"git","directory":"packages/runner"},"_npmVersion":"10.8.2","description":"Local companion CLI for AI Hub — connects your laptop for hosted execution.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"ws":"^8.18.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","@types/ws":"^8.5.13","typescript":"^5","@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ai-hub-runner_0.1.2_1780986036137_0.5643486945886365","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aksellor/ai-hub-runner","version":"0.1.4","keywords":["ai-hub","runner","cli","cursor","execution","aksellor"],"license":"UNLICENSED","_id":"@aksellor/ai-hub-runner@0.1.4","maintainers":[{"name":"aksellor","email":"m@aksellor.com"}],"homepage":"https://ai-hub-lemon.vercel.app","bugs":{"url":"https://github.com/grotterudmats/ai_hub/issues"},"bin":{"ai-hub-runner":"dist/cli.js"},"dist":{"shasum":"07d0f6d22b97bf325bdf3af7378afbfbeea1dffc","tarball":"https://registry.npmjs.org/@aksellor/ai-hub-runner/-/ai-hub-runner-0.1.4.tgz","fileCount":29,"integrity":"sha512-qcExWZKhp87Sw9BRKC+onuWZMvZrxRq4HX67KfU4uWUU3Am3M1BjrULiqm74ZDpKqd/XRii+zm0ADWw7NYDcmQ==","signatures":[{"sig":"MEUCIEPkcM7YKokKUCPJUSl3qGnYOrCQY2yKjNvrT8/BZARrAiEAlgZsc/kj05KGwfaF10pcz8YvoShRp/InB73OSG1QLqg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38444},"type":"module","engines":{"node":">=18"},"gitHead":"c86e43970e73a2c3e40477c0e4657e0a268acf8b","scripts":{"dev":"tsx src/cli.ts","build":"tsc","login":"tsx src/cli.ts login","start":"tsx src/cli.ts start","prepack":"pnpm run build"},"_npmUser":{"name":"aksellor","email":"m@aksellor.com"},"repository":{"url":"git+https://github.com/grotterudmats/ai_hub.git","type":"git","directory":"packages/runner"},"_npmVersion":"10.8.2","description":"Local companion CLI for AI Hub — connects your laptop for hosted execution.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"ws":"^8.18.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","@types/ws":"^8.5.13","typescript":"^5","@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ai-hub-runner_0.1.4_1780991398162_0.8672914889614611","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@aksellor/ai-hub-runner","version":"0.1.5","keywords":["ai-hub","runner","cli","cursor","execution","aksellor"],"license":"UNLICENSED","_id":"@aksellor/ai-hub-runner@0.1.5","maintainers":[{"name":"aksellor","email":"m@aksellor.com"}],"homepage":"https://ai-hub-lemon.vercel.app","bugs":{"url":"https://github.com/grotterudmats/ai_hub/issues"},"bin":{"ai-hub-runner":"dist/cli.js"},"dist":{"shasum":"88a2f42bab4c9955b4281abd29097a6aef57ac39","tarball":"https://registry.npmjs.org/@aksellor/ai-hub-runner/-/ai-hub-runner-0.1.5.tgz","fileCount":32,"integrity":"sha512-iIiwujFPE/SArGMSHeLy0T0aTeKXBXa+AHDY0aj5chBU5QzP7J13wg1GVT7glzmmMzhhWVhB35rBHQ/UNuOmhA==","signatures":[{"sig":"MEYCIQDRJbwpbjq3Dh+TPSUjOwhohqNVjR/k1PzHEQiCVghc7wIhAMlx7p1cFW8RhxqOvIxsh7EBqgwSkrjqjvzKXW8WavCM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46643},"type":"module","engines":{"node":">=18"},"gitHead":"d0b665eb7124d125ff4aa46186f0007843506ac7","scripts":{"dev":"tsx src/cli.ts","build":"tsc","login":"tsx src/cli.ts login","start":"tsx src/cli.ts start","prepack":"pnpm run build"},"_npmUser":{"name":"aksellor","email":"m@aksellor.com"},"repository":{"url":"git+https://github.com/grotterudmats/ai_hub.git","type":"git","directory":"packages/runner"},"_npmVersion":"10.8.2","description":"Local companion CLI for AI Hub — connects your laptop for hosted execution.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"ws":"^8.18.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","@types/ws":"^8.5.13","typescript":"^5","@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ai-hub-runner_0.1.5_1781001819121_0.9487182900609159","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@aksellor/ai-hub-runner","version":"0.1.6","description":"Local companion CLI for AI Hub — connects your laptop for hosted execution.","license":"UNLICENSED","type":"module","keywords":["ai-hub","runner","cli","cursor","execution","aksellor"],"homepage":"https://ai-hub-lemon.vercel.app","repository":{"type":"git","url":"git+https://github.com/grotterudmats/ai_hub.git","directory":"packages/runner"},"bugs":{"url":"https://github.com/grotterudmats/ai_hub/issues"},"publishConfig":{"access":"public"},"bin":{"ai-hub-runner":"dist/cli.js"},"scripts":{"build":"tsc","prepack":"pnpm run build","dev":"tsx src/cli.ts","login":"tsx src/cli.ts login","start":"tsx src/cli.ts start"},"dependencies":{"ws":"^8.18.0"},"devDependencies":{"@types/node":"^20","@types/ws":"^8.5.13","tsx":"^4.21.0","typescript":"^5"},"engines":{"node":">=18"},"_id":"@aksellor/ai-hub-runner@0.1.6","gitHead":"d0b665eb7124d125ff4aa46186f0007843506ac7","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-tx5CC5Pw/0S6AfRHmkjgqY0Dy8uxlIQy0uLT0zcpyLaGreIbqzTct3NlzPPwgTxmzTuxMfCw1WxGodUJTW7CUw==","shasum":"1f355e94a9533a58575c462941072440a9983c5c","tarball":"https://registry.npmjs.org/@aksellor/ai-hub-runner/-/ai-hub-runner-0.1.6.tgz","fileCount":35,"unpackedSize":56553,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD4fywl/MOielQ029QZoo0d4GrCZgsJLYmM6Hi6RpPkLAIgKwAYzax4atKowGIQzbIF2e3CA7W1kKl5KEQxsTINjv4="}]},"_npmUser":{"name":"aksellor","email":"m@aksellor.com"},"directories":{},"maintainers":[{"name":"aksellor","email":"m@aksellor.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-hub-runner_0.1.6_1781004372859_0.2784746755870684"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-09T05:56:01.764Z","modified":"2026-06-09T11:26:13.135Z","0.1.0":"2026-06-09T05:56:02.238Z","0.1.2":"2026-06-09T06:20:36.255Z","0.1.4":"2026-06-09T07:49:58.292Z","0.1.5":"2026-06-09T10:43:39.266Z","0.1.6":"2026-06-09T11:26:13.000Z"},"bugs":{"url":"https://github.com/grotterudmats/ai_hub/issues"},"license":"UNLICENSED","homepage":"https://ai-hub-lemon.vercel.app","keywords":["ai-hub","runner","cli","cursor","execution","aksellor"],"repository":{"type":"git","url":"git+https://github.com/grotterudmats/ai_hub.git","directory":"packages/runner"},"description":"Local companion CLI for AI Hub — connects your laptop for hosted execution.","maintainers":[{"name":"aksellor","email":"m@aksellor.com"}],"readme":"# @aksellor/ai-hub-runner\n\nLocal companion CLI for AI Hub. Connects to the AI Hub backend over WebSocket for hosted execution on your laptop.\n\n**Package name:** `@aksellor/ai-hub-runner`  \n**Binary:** `ai-hub-runner`\n\n## External developers (hosted AI Hub)\n\nNo AI Hub clone required. From your project repo:\n\n```bash\nexport AI_HUB_URL=https://ai-hub-lemon.vercel.app\n\npnpm dlx @aksellor/ai-hub-runner login <token>\npnpm dlx @aksellor/ai-hub-runner start\n\ncd /path/to/your/project\npnpm dlx @aksellor/ai-hub-runner register <project-id> .\n```\n\n## Monorepo development (AI Hub repo)\n\nFrom the repo root:\n\n```bash\npnpm install\ncd packages/runner && pnpm run build\n```\n\n```bash\npnpm exec ai-hub-runner login <token>\npnpm exec ai-hub-runner start\n```\n\nOr from `packages/runner`: `pnpm run dev login <token>` / `pnpm run dev start`\n\n## Config\n\n- Token is stored in `~/.ai-hub-runner/config.json` (or `./.ai-hub-runner/config.json` if that file exists).\n- Workspaces are stored in `~/.ai-hub-runner/workspaces.json`.\n- Override AI Hub URL: `AI_HUB_URL=https://app.example.com pnpm dlx @aksellor/ai-hub-runner start`\n\n## Publishing (operators)\n\nBefore external users can `pnpm dlx` the package:\n\n```bash\ncd packages/runner\nnpm version patch   # bump before republish\nnpm login\nnpm publish --access public\n```\n\nCurrent published package: `@aksellor/ai-hub-runner` (see `package.json` version).\n\nVerify pack/install locally:\n\n```bash\npnpm run verify:runner-package-publishable\n```\n\n## Running AI Hub with runner support\n\nUse the custom server so the WebSocket endpoint is available:\n\n```bash\npnpm dev\n```\n\nThis runs `node server.js` (Next.js + WebSocket on `/api/runner/connect`). Without it, the runner cannot connect; token generation and status still work via HTTP.\n","readmeFilename":"README.md"}