agent-common

JSON →
library 1.1.1 ·javascript
verified Jun 7, 2026

Shared foundation for agent-* MCP servers (agent-comm, agent-tasks, agent-knowledge, agent-discover). Provides SQLite storage with WAL pragmas, transaction helper, and migration runner; REST transport with node:http router, JSON helper, CORS, body reader, static file serving; WebSocket server with full-state-on-connect, DB-fingerprint delta polling, ping/pong heartbeat, max-connection cap; MCP JSON-RPC over stdio with tool dispatcher; typed in-process EventBus with wildcards; CleanupService with retention timer; auto-starting dashboard with port leader-election; runtime package name+version reader; FTS5 and LIKE fallback search. Current version 1.1.1, MIT license, TypeScript types included, requires Node >=20.11.0 and peer deps better-sqlite3 >=11 and ws >=8. Internal use package, not yet stable API, no external documentation.