@open330/oac-core 2026.3.1 → 2026.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @open330/oac-core
|
|
2
|
+
|
|
3
|
+
Core module for [OAC (Open Agent Contribution)](https://github.com/Open330/open-agent-contribution) — event bus, config loader, shared types, and error definitions.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @open330/oac-core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## What's Inside
|
|
12
|
+
|
|
13
|
+
- **Event Bus** — typed EventEmitter for pipeline coordination
|
|
14
|
+
- **Config Loader** — Zod-validated `oac.config.ts` reader with `defineConfig()` helper
|
|
15
|
+
- **Types** — shared interfaces (`Task`, `TokenEstimate`, `ResolvedRepo`, etc.)
|
|
16
|
+
- **Errors** — `OacError` base class with error codes
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { createEventBus, loadConfig, OacError } from '@open330/oac-core';
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
MIT — see the [main repo](https://github.com/Open330/open-agent-contribution) for details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open330/oac-core",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.2",
|
|
4
4
|
"description": "Core types, config schema, and event bus for Open Agent Contribution",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
-
"dist"
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md"
|
|
22
23
|
],
|
|
23
24
|
"publishConfig": {
|
|
24
25
|
"access": "public"
|