@fusedio/agentbridge-core
v0.1.2
Published
Core adapter contract, process runner, registry, and plugin loader for agentbridge.
Readme
@fusedio/agentbridge-core
Core adapter contract, process runner, registry, and plugin loader for agentbridge — a TypeScript toolkit for driving local coding-agent CLIs (Claude Code, Codex, Gemini, OpenCode, Cursor) from a host application and streaming their output as a normalized event feed.
This package holds the cross-adapter contracts: the normalized
TranscriptEntry event vocabulary, TokenUsage, ExecutionResult,
ExecutionContext, the AdapterModule interface, and the child-process
runner. Adapter and hub packages depend on it; most apps consume it
indirectly through
@fusedio/agentbridge-hub.
Install
npm install @fusedio/agentbridge-coreWhat's in it
- Types —
AdapterModule,ExecutionContext,ExecutionResult,TranscriptEntry,TokenUsage,SessionParams,SessionCodec,ErrorFamily,ConfigSchema, … - Runtime —
runChildProcess(backpressured, timeout/abort-aware child spawning),createLineSplitter,redactEnvForLogs, the adapterregistry, and the entry-point plugin loader.
ESM-only, Node >= 20, zero runtime dependencies.
License
MIT © Fused
