{"_id":"@akaoio/dashboard","_rev":"3-ce9476e985c0a8737966e47c96253f63","name":"@akaoio/dashboard","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@akaoio/dashboard","version":"1.0.0","keywords":["dashboard","real-time","tui","terminal","monitoring","distributed","p2p","air","gun","living-agents"],"author":{"name":"akaoio"},"license":"MIT","_id":"@akaoio/dashboard@1.0.0","maintainers":[{"name":"akaoio","email":"dev@akao.io"}],"homepage":"https://github.com/akaoio/dashboard#readme","bugs":{"url":"https://github.com/akaoio/dashboard/issues"},"dist":{"shasum":"b7dc057a0ad7863559a571cc76d9b14b084498fd","tarball":"https://registry.npmjs.org/@akaoio/dashboard/-/dashboard-1.0.0.tgz","fileCount":14,"integrity":"sha512-PgOchzUg5019qGZVlCSIdORX1cfQ5QIkGOv4dFFRGXF0tcThATJoUA0YwC+1/sN1q+L9X7GvOOD5cvcj7Trf/Q==","signatures":[{"sig":"MEUCIAQfLL8RRNFP1BEhmsWY63omYr76qNN7oEeFUmxbv4QTAiEArblj103QoKcmV6Kx9pDSpXfGYZGjI6gSDeWrSKw4+f4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45053},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"be7f4377bd1154aa0209feba6ae7c51445c6965f","scripts":{"dev":"akaoio-builder --watch","test":"battle","build":"akaoio-builder","start":"node dist/cli.js"},"_npmUser":{"name":"akaoio","email":"dev@akao.io"},"repository":{"url":"git+https://github.com/akaoio/dashboard.git","type":"git"},"_npmVersion":"9.2.0","description":"Real-time Living Agent Network Dashboard - Core technology for visualizing distributed systems","directories":{},"_nodeVersion":"18.19.0","dependencies":{"@akaoio/air":"workspace:*","@akaoio/gun":"workspace:*","@akaoio/tui":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@akaoio/battle":"workspace:*","@akaoio/builder":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/dashboard_1.0.0_1756233127962_0.1296133915153157","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@akaoio/dashboard","version":"1.0.1","keywords":["dashboard","real-time","tui","terminal","monitoring","distributed","p2p","air","gun","living-agents"],"author":{"name":"akaoio"},"license":"MIT","_id":"@akaoio/dashboard@1.0.1","maintainers":[{"name":"akaoio","email":"dev@akao.io"}],"homepage":"https://github.com/akaoio/dashboard#readme","bugs":{"url":"https://github.com/akaoio/dashboard/issues"},"dist":{"shasum":"3b6d20915a32ad8c26262c97dda82fcce3d641a6","tarball":"https://registry.npmjs.org/@akaoio/dashboard/-/dashboard-1.0.1.tgz","fileCount":14,"integrity":"sha512-ixpBnDzVI1lS0ewGEueQ+HA7ds02VoQ+/o705hd6RHmtbZeJ+fww6Mv6q+ocjNcybtjKzuDEVGW+SnOpuLKoyw==","signatures":[{"sig":"MEQCIEriQr4FsUZMl991D7XNSGbOmuCI4RtWIi+8nsYL2SqeAiABr44UsTi6PR/dZIeiXH5WWWG3k1/zEQa6RcmLQh5cXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45035},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"025973f36f4364b56a62acc4186dac6ee53565e6","scripts":{"dev":"akaoio-builder --watch","test":"battle","build":"akaoio-builder","start":"node dist/cli.js"},"_npmUser":{"name":"akaoio","email":"dev@akao.io"},"repository":{"url":"git+https://github.com/akaoio/dashboard.git","type":"git"},"_npmVersion":"9.2.0","description":"Real-time Living Agent Network Dashboard - Core technology for visualizing distributed systems","directories":{},"_nodeVersion":"18.19.0","dependencies":{"@akaoio/air":"^2.0.1","@akaoio/gun":"^0.2020.1240","@akaoio/tui":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@akaoio/battle":"^1.2.0","@akaoio/builder":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/dashboard_1.0.1_1756233362762_0.7240545130674683","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@akaoio/dashboard","version":"1.0.2","description":"Real-time Living Agent Network Dashboard - Core technology for visualizing distributed systems","type":"module","main":"dist/Dashboard.cjs","module":"dist/Dashboard.js","types":"dist/Dashboard.d.ts","bin":{"dashboard":"dist/cli.js"},"exports":{".":{"types":"./dist/Dashboard.d.ts","import":"./dist/Dashboard.js","require":"./dist/Dashboard.cjs"}},"scripts":{"build":"akao-build","dev":"akao-build --watch","test":"battle","start":"node dist/cli.js"},"dependencies":{"@akaoio/tui":"^1.2.0","@akaoio/air":"^2.1.0","@akaoio/gun":"^0.2020.1240","commander":"^11.0.0","readline":"^1.3.0"},"devDependencies":{"@akaoio/builder":"*","@akaoio/battle":"*","@types/node":"^20.0.0","typescript":"^5.0.0"},"keywords":["dashboard","real-time","tui","terminal","monitoring","distributed","p2p","air","gun","living-agents"],"author":{"name":"akaoio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/akaoio/dashboard.git"},"engines":{"node":">=18.0.0"},"gitHead":"a279807888386bb5b267373927208590c440e260","bugs":{"url":"https://github.com/akaoio/dashboard/issues"},"homepage":"https://github.com/akaoio/dashboard#readme","_id":"@akaoio/dashboard@1.0.2","_nodeVersion":"18.19.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-qmtNA/eJXoIa/CWTVAnF0M9IxSYHVy/79WVbXYcKMmdn1scn6K2MB6vsclKMWHrSs3QG4b3qcN0BcPKpn0k+3w==","shasum":"cb1dc60820920ee092f175826b52476069c6b522","tarball":"https://registry.npmjs.org/@akaoio/dashboard/-/dashboard-1.0.2.tgz","fileCount":20,"unpackedSize":101100,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEdZdIhDUmXLfowDPvSeUb8Mn9BYqNENLqnYRS6n0xuoAiBLXo/Z3Ik1hcyNPF6ZDn5gbLt+142QaTM4ATtJ+vMbYQ=="}]},"_npmUser":{"name":"akaoio","email":"dev@akao.io"},"directories":{},"maintainers":[{"name":"akaoio","email":"dev@akao.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dashboard_1.0.2_1756236512618_0.9432279835857162"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-26T18:32:07.871Z","modified":"2025-08-26T19:28:33.013Z","1.0.0":"2025-08-26T18:32:08.171Z","1.0.1":"2025-08-26T18:36:02.943Z","1.0.2":"2025-08-26T19:28:32.838Z"},"bugs":{"url":"https://github.com/akaoio/dashboard/issues"},"author":{"name":"akaoio"},"license":"MIT","homepage":"https://github.com/akaoio/dashboard#readme","keywords":["dashboard","real-time","tui","terminal","monitoring","distributed","p2p","air","gun","living-agents"],"repository":{"type":"git","url":"git+https://github.com/akaoio/dashboard.git"},"description":"Real-time Living Agent Network Dashboard - Core technology for visualizing distributed systems","maintainers":[{"name":"akaoio","email":"dev@akao.io"}],"readme":"# @akaoio/dashboard\n\nReal-time Living Agent Network Dashboard - Core technology for visualizing distributed systems.\n\n## Features\n\n- 🌐 **Real-time P2P monitoring** via @akaoio/air\n- 🤖 **Living Agent tracking** across 34 agents in 13 teams\n- 💬 **Live message streaming** with distributed broadcast\n- 📊 **Comprehensive metrics** collection and visualization\n- 🖥️ **Beautiful TUI** built with @akaoio/tui\n- 🔒 **Secure communication** using @akaoio/gun (our fork, not the original)\n- ⚡ **High performance** compiled with @akaoio/builder\n- ✅ **Battle-tested** with @akaoio/battle framework\n\n## Installation\n\n```bash\nnpm install @akaoio/dashboard\n```\n\n## Usage\n\n### CLI\n\n```bash\n# Run with TUI interface\nnpx dashboard\n\n# Run with simple console output\nnpx dashboard --simple\n\n# Custom configuration\nnpx dashboard --peers \"https://peer1.com/gun,https://peer2.com/gun\" --title \"My Dashboard\"\n```\n\n### Programmatic API\n\n```typescript\nimport { Dashboard, LiveDashboard } from '@akaoio/dashboard';\n\n// Simple dashboard\nconst dashboard = new Dashboard({\n  peers: ['https://air.akao.io:8765/gun'],\n  title: 'My Network Dashboard'\n});\n\nawait dashboard.start();\n\n// TUI dashboard\nconst liveDashboard = new LiveDashboard({\n  peers: ['https://air.akao.io:8765/gun']\n});\n\nawait liveDashboard.start();\n```\n\n### Components\n\n```typescript\nimport { \n  AgentTracker, \n  MessageFeed, \n  NetworkMonitor, \n  MetricsCollector \n} from '@akaoio/dashboard';\nimport Gun from '@akaoio/gun';\n\nconst gun = Gun({ peers: ['https://air.akao.io:8765/gun'] });\n\n// Track agents\nconst tracker = new AgentTracker(gun);\nawait tracker.start();\nconst agents = tracker.getOnlineAgents();\n\n// Monitor messages\nconst feed = new MessageFeed(gun);\nawait feed.start();\nfeed.on('message', (msg) => console.log(msg));\n\n// Network monitoring\nconst monitor = new NetworkMonitor(gun);\nawait monitor.start();\nconst health = monitor.getNetworkHealth();\n\n// Collect metrics\nconst collector = new MetricsCollector(gun);\nawait collector.start();\nconst metrics = collector.getMetrics();\n```\n\n## Keyboard Shortcuts (TUI Mode)\n\n- `Q` / `Ctrl+C` - Quit\n- `R` - Clear messages\n- `H` - Show help\n- `Tab` - Switch focus\n- `Arrow Keys` - Navigate\n\n## Architecture\n\n@akaoio/dashboard is built on top of our core technologies:\n\n- **@akaoio/tui** - Terminal UI framework for beautiful dashboards\n- **@akaoio/air** - P2P communication layer\n- **@akaoio/gun** - Our enhanced fork of GUN for distributed data\n- **@akaoio/battle** - Testing framework\n- **@akaoio/builder** - TypeScript compilation\n\n## Development\n\n```bash\n# Build\nnpm run build\n\n# Development mode\nnpm run dev\n\n# Test with @akaoio/battle\nnpm test\n\n# Run dashboard locally\nnpm start\n```\n\n## API Reference\n\n### Dashboard\n\nMain dashboard orchestrator class.\n\n```typescript\nnew Dashboard(config?: DashboardConfig)\n```\n\n### LiveDashboard\n\nAdvanced TUI-based dashboard with full @akaoio/tui integration.\n\n```typescript\nnew LiveDashboard(config?: DashboardConfig)\n```\n\n### Configuration\n\n```typescript\ninterface DashboardConfig {\n  title?: string;\n  width?: number;\n  height?: number;\n  peers?: string[];\n  gunOptions?: any;\n  theme?: DashboardTheme;\n  refreshInterval?: number;\n}\n```\n\n## Contributing\n\nThis is a core @akaoio technology. All contributions must:\n\n1. Use @akaoio/builder for compilation\n2. Test with @akaoio/battle\n3. Follow source-first development\n4. Never create trash files in project root\n5. Maintain backward compatibility\n\n## License\n\nMIT\n\n## Credits\n\nBuilt with ❤️ using the @akaoio technology stack.","readmeFilename":"README.md"}