{"library":"agent-common","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","mcp","agent","sqlite","websocket","model-context-protocol","ai-agents","shared-foundation","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install agent-common","imports":["import { createRouter } from 'agent-common'","import { createStorage } from 'agent-common'","import { EventBus } from 'agent-common'","import type { ToolDefinition } from 'agent-common'"]},{"cmd":"yarn add agent-common","imports":[]},{"cmd":"pnpm add agent-common","imports":[]}],"homepage":"https://github.com/keshrath/agent-common#readme","github":"https://github.com/keshrath/agent-common","docs":null,"changelog":null,"pypi":null,"npm":"agent-common","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}