@open330/oac-core
Core module for OAC (Open Agent Contribution) — event bus, config loader, shared types, and error definitions.
Install
npm install @open330/oac-core
What's Inside
- Event Bus — typed EventEmitter for pipeline coordination
- Config Loader — Zod-validated
oac.config.ts reader with defineConfig() helper
- Types — shared interfaces (
Task, TokenEstimate, ResolvedRepo, etc.)
- Errors —
OacError base class with error codes
Usage
import { createEventBus, loadConfig, OacError } from '@open330/oac-core';
License
MIT — see the main repo for details.