too-many-cooks-core
v0.8.0
Published
Core types, tools, and interfaces for Too Many Cooks multi-agent coordination
Downloads
257
Maintainers
Readme
too-many-cooks-core
Core types, tools, and interfaces for Too Many Cooks multi-agent coordination.
Install
npm install too-many-cooks-coreWhat's Inside
- Database interface (
TooManyCooksDb) - the contract every backend implements - Database contract tests - portable test suite to verify any backend implementation
- Tool definitions - MCP tool schemas and handlers for register, lock, message, plan, status
- Result type -
Result<T, E>for error handling without exceptions - Server utilities - Streamable HTTP transport setup, admin routes, notification emitter
- Type definitions -
Agent,FileLock,Message,AgentPlan, and more
Usage
import type { TooManyCooksDb, Agent, Message } from "too-many-cooks-core";
import { success, error } from "too-many-cooks-core";This package is used by:
too-many-cooks- the MCP servertmc-cloud- the SaaS backend
Documentation
See the spec for the full protocol specification.
License
MIT
