@open330/oac-execution 2026.3.2 → 2026.3.3
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 +9 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,17 +11,22 @@ npm install @open330/oac-execution
|
|
|
11
11
|
## What's Inside
|
|
12
12
|
|
|
13
13
|
- **ExecutionEngine** — priority-based job queue with `p-queue`, retry, and abort support
|
|
14
|
-
- **
|
|
14
|
+
- **ClaudeCodeAdapter** — `AgentProvider` implementation for Claude Code CLI (`claude-code`)
|
|
15
|
+
- **CodexAdapter** — `AgentProvider` implementation for OpenAI Codex CLI (`codex`)
|
|
15
16
|
- **Git Worktree Sandbox** — isolated execution environments per task via `git worktree`
|
|
16
17
|
|
|
17
18
|
## Usage
|
|
18
19
|
|
|
19
20
|
```typescript
|
|
20
|
-
import { CodexAdapter, createSandbox, executeTask } from '@open330/oac-execution';
|
|
21
|
+
import { ClaudeCodeAdapter, CodexAdapter, createSandbox, executeTask } from '@open330/oac-execution';
|
|
22
|
+
|
|
23
|
+
// Use Claude Code
|
|
24
|
+
const claude = new ClaudeCodeAdapter();
|
|
25
|
+
// Or use Codex
|
|
26
|
+
const codex = new CodexAdapter();
|
|
21
27
|
|
|
22
|
-
const adapter = new CodexAdapter();
|
|
23
28
|
const sandbox = await createSandbox(repo, task);
|
|
24
|
-
const result = await executeTask(
|
|
29
|
+
const result = await executeTask(claude, task, sandbox);
|
|
25
30
|
```
|
|
26
31
|
|
|
27
32
|
## Adding Custom Agents
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open330/oac-execution",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.3",
|
|
4
4
|
"description": "Agent execution engine and sandboxing for OAC",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"execa": "^9.5.2",
|
|
32
32
|
"p-queue": "^8.1.0",
|
|
33
33
|
"simple-git": "^3.27.0",
|
|
34
|
-
"@open330/oac-core": "2026.3.
|
|
34
|
+
"@open330/oac-core": "2026.3.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"tsup": "^8.3.6",
|