npm.io
0.1.3 • Published 6d ago

@fusedio/agentbridge-core

Licence
MIT
Version
0.1.3
Deps
0
Size
82 kB
Vulns
0
Weekly
0

@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-core

What's in it

  • TypesAdapterModule, ExecutionContext, ExecutionResult, TranscriptEntry, TokenUsage, SessionParams, SessionCodec, ErrorFamily, ConfigSchema, …
  • RuntimerunChildProcess (backpressured, timeout/abort-aware child spawning), createLineSplitter, redactEnvForLogs, the adapter registry, and the entry-point plugin loader.

ESM-only, Node >= 20, zero runtime dependencies.

License

MIT Fused