@open330/oac-execution
Advanced tools
+46
| # @open330/oac-execution | ||
| Agent execution engine for [OAC (Open Agent Contribution)](https://github.com/Open330/open-agent-contribution). | ||
| ## Install | ||
| ```bash | ||
| npm install @open330/oac-execution | ||
| ``` | ||
| ## What's Inside | ||
| - **ExecutionEngine** — priority-based job queue with `p-queue`, retry, and abort support | ||
| - **CodexAdapter** — `AgentProvider` implementation for OpenAI Codex CLI | ||
| - **Git Worktree Sandbox** — isolated execution environments per task via `git worktree` | ||
| ## Usage | ||
| ```typescript | ||
| import { CodexAdapter, createSandbox, executeTask } from '@open330/oac-execution'; | ||
| const adapter = new CodexAdapter(); | ||
| const sandbox = await createSandbox(repo, task); | ||
| const result = await executeTask(adapter, task, sandbox); | ||
| ``` | ||
| ## Adding Custom Agents | ||
| Implement the `AgentProvider` interface: | ||
| ```typescript | ||
| import type { AgentProvider } from '@open330/oac-execution'; | ||
| export class MyAgent implements AgentProvider { | ||
| readonly id = 'my-agent'; | ||
| readonly name = 'My Agent'; | ||
| async checkAvailability() { /* ... */ } | ||
| execute(params) { /* ... */ } | ||
| async estimateTokens(params) { /* ... */ } | ||
| async abort(executionId) { /* ... */ } | ||
| } | ||
| ``` | ||
| ## License | ||
| MIT — see the [main repo](https://github.com/Open330/open-agent-contribution) for details. |
+4
-3
| { | ||
| "name": "@open330/oac-execution", | ||
| "version": "2026.3.1", | ||
| "version": "2026.3.2", | ||
| "description": "Agent execution engine and sandboxing for OAC", | ||
@@ -21,3 +21,4 @@ "license": "MIT", | ||
| "files": [ | ||
| "dist" | ||
| "dist", | ||
| "README.md" | ||
| ], | ||
@@ -34,3 +35,3 @@ "publishConfig": { | ||
| "simple-git": "^3.27.0", | ||
| "@open330/oac-core": "2026.3.1" | ||
| "@open330/oac-core": "2026.3.2" | ||
| }, | ||
@@ -37,0 +38,0 @@ "devDependencies": { |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
139204
0.92%6
20%0
-100%47
Infinity%+ Added
- Removed
Updated