{"_id":"@athenafleet/bridge","_rev":"3-e83cb29f7972fe91226d30a750544798","name":"@athenafleet/bridge","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@athenafleet/bridge","version":"1.0.0","keywords":["athena","bridge","openclaw","runtime","websocket"],"license":"MIT","_id":"@athenafleet/bridge@1.0.0","maintainers":[{"name":"pescao","email":"admin@pescao.io"}],"bin":{"athena-bridge":"dist/index.js"},"dist":{"shasum":"df8bad652c2f3e38e0e8867b21f229d4acaaa380","tarball":"https://registry.npmjs.org/@athenafleet/bridge/-/bridge-1.0.0.tgz","fileCount":17,"integrity":"sha512-UkXdEA2mn0r13aXSEcPsEjOdQmvippyq8jiZd1yJ4PMEEDXXECzSzpBpgYwux8UjHrJzJyjt0R/GtqS1S4rDLw==","signatures":[{"sig":"MEUCIQC9BBWpoVsWQ3hUVt+In/+VpNBxI3JPl7WXj2KyF3jotQIgN6gG/k7z1Xufrjej95upeGyUDiKTRijeRzXzvZ8cnsk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39195},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"8bccf0516d477d3b339f0d079b51bbf3ce0ed8a1","scripts":{"dev":"tsc --watch","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"pescao","email":"admin@pescao.io"},"_npmVersion":"10.9.4","description":"CLI bridge connecting local OpenClaw gateway to Athena dashboard via WebSocket","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.5.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bridge_1.0.0_1773677856805_0.25309484998981","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@athenafleet/bridge","version":"1.0.1","keywords":["athena","bridge","openclaw","runtime","websocket"],"license":"MIT","_id":"@athenafleet/bridge@1.0.1","maintainers":[{"name":"pescao","email":"admin@pescao.io"}],"bin":{"athena-bridge":"dist/index.js"},"dist":{"shasum":"2d68a7c61bb7656cb2485ceeea9b7d432fca8936","tarball":"https://registry.npmjs.org/@athenafleet/bridge/-/bridge-1.0.1.tgz","fileCount":17,"integrity":"sha512-d2dW1unX5QEO4fqgRA33Assakaco8WGidJ7f9l8LLuKobl9oFp7N1HgzlSKvE7vhtKFacMGzLbnNHWwx0M2nfg==","signatures":[{"sig":"MEUCIQCB8QVGxD0f6PQSFgs7X1j29YFXnP0Ut57k2J3TQe+ikAIgNaEoyTPc3zrUEGLMem19byZwJglCUlwNaq8I7OqYsLM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44694},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2c995a1d22794201a50209c88554ba8a1f1893dc","scripts":{"dev":"tsc --watch","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"pescao","email":"admin@pescao.io"},"_npmVersion":"10.9.4","description":"CLI bridge connecting local OpenClaw gateway to Athena dashboard via WebSocket","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.5.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bridge_1.0.1_1773699900607_0.34662866297426165","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@athenafleet/bridge","version":"1.0.2","description":"CLI bridge connecting local OpenClaw gateway to Athena dashboard via WebSocket","type":"module","bin":{"athena-bridge":"dist/index.js"},"main":"dist/index.js","scripts":{"build":"tsc","prepare":"npm run build","dev":"tsc --watch"},"keywords":["athena","bridge","openclaw","runtime","websocket"],"license":"MIT","engines":{"node":">=18.0.0"},"dependencies":{"ws":"^8.18.0"},"devDependencies":{"@types/node":"^22.0.0","@types/ws":"^8.5.0","typescript":"^5.7.0"},"_id":"@athenafleet/bridge@1.0.2","gitHead":"bf3edc59ead859a65c959c83500541c4d5d01096","types":"./dist/index.d.ts","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-c6OE0SJFWtJqXTd623mLgTDYplL4nPVpXZQ1FgmKyiLMZlje1BMgai4IL7M2F0anSn8VckDgmArNAFWixe7coA==","shasum":"4deb4b1bc28dfda5b4a93b3fec03c6346e763ca7","tarball":"https://registry.npmjs.org/@athenafleet/bridge/-/bridge-1.0.2.tgz","fileCount":17,"unpackedSize":50634,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDhQ0nZ6jvkVwp/KRspdzkQv6kN9FTq++P6yVEchOg0PAiB+TEaiJcRLaHU+x7OjPXTdVUlFOvO0faj/dO6uFnGHxg=="}]},"_npmUser":{"name":"pescao","email":"admin@pescao.io"},"directories":{},"maintainers":[{"name":"pescao","email":"admin@pescao.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bridge_1.0.2_1773708986289_0.7907025439363029"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-16T16:17:36.729Z","modified":"2026-03-17T00:56:26.571Z","1.0.0":"2026-03-16T16:17:36.976Z","1.0.1":"2026-03-16T22:25:00.757Z","1.0.2":"2026-03-17T00:56:26.442Z"},"license":"MIT","keywords":["athena","bridge","openclaw","runtime","websocket"],"description":"CLI bridge connecting local OpenClaw gateway to Athena dashboard via WebSocket","maintainers":[{"name":"pescao","email":"admin@pescao.io"}],"readme":"# @athenafleet/bridge\n\nCLI bridge connecting your local OpenClaw gateway to the Athena dashboard via WebSocket.\n\n## Install\n\n```bash\nnpm i -g @athenafleet/bridge\n```\n\n## Usage\n\n```bash\nathena-bridge --key rtk_xxx\n```\n\nThat's it. The bridge connects to the Athena API, authenticates with your runtime key, and begins syncing agent data from your local OpenClaw gateway to the dashboard.\n\n## Options\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `--key`, `-k` | *(required)* | Runtime API key (`rtk_` prefix) |\n| `--api-url` | `https://api.athenafleet.ai` | Athena API URL |\n| `--gateway-id` | hostname | Identifier for this gateway |\n| `--openclaw-url` | `http://localhost:3007` | Local OpenClaw gateway URL |\n| `--verbose`, `-v` | `false` | Enable debug logging |\n\n## What it does\n\n1. **Connects** to the Athena WebSocket endpoint (`/ws/runtime`)\n2. **Authenticates** with your runtime API key (first-message auth)\n3. **Syncs** agent data from your local OpenClaw gateway every 60 seconds\n4. **Heartbeats** every 30 seconds to keep the connection alive\n5. **Reconnects** automatically with exponential backoff if disconnected\n\n## Generate a key\n\nRuntime keys are created in the Athena dashboard under **Settings → Runtime Keys**, or via the API:\n\n```bash\ncurl -X POST https://api.athenafleet.ai/api/admin/runtime-keys \\\n  -H \"Authorization: Bearer <token>\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"name\": \"My Gateway\"}'\n```\n\nThe key is shown **once** on creation — save it.\n\n## Requirements\n\n- Node.js ≥ 18\n- An Athena account with a runtime API key\n- OpenClaw gateway running locally (optional — bridge works without it, just syncs empty agent list)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}