@himorishige/hatago-core
@himorishige/hatago-core
Section titled “@himorishige/hatago-core”Core type definitions for Hatago MCP Hub.
Overview
Section titled “Overview”Pure TypeScript types and minimal helpers with no side effects. All other packages depend on these types.
Install
Section titled “Install”npm install @himorishige/hatago-core
Dependency Direction
Section titled “Dependency Direction”core → runtime → transport → server → mcp-hub
Contents
Section titled “Contents”- Types for connections, sessions, registries
- Error codes and severity
- Event contracts for lifecycle and sessions
- Protocol constants for MCP
Example
Section titled “Example”import { ErrorCode } from '@himorishige/hatago-core';
License
Section titled “License”MIT