Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

acp-runner

Universal Agent Client Protocol runner core and framework adapters.

The repository is split so the ACP protocol/process logic is framework-neutral, while each framework adapter stays small.

packages/core  -> @balasivagn/acp-runner-core
packages/eve   -> @balasivagn/eve-acp

Core API

@balasivagn/acp-runner-core does not import eve or any other framework.

import { runAcpTurn } from "@balasivagn/acp-runner-core";

const result = await runAcpTurn({
  command: ["omp", "acp"],
  cwd: process.cwd(),
  permissionPolicy: "deny",
  prompt: [{ type: "text", text: "Review this repository." }],
  timeoutMs: 300_000,
});

eve Adapter

@balasivagn/eve-acp adapts the core runner to eve's custom runner hook.

import { defineAgent } from "eve";
import { acpRunner } from "@balasivagn/eve-acp";

export default defineAgent({
  runner: acpRunner({
    command: ["codex-acp"],
    permissions: "deny",
  }),
});

The eve adapter currently expects an eve build that includes the custom runner hook:

{
  "dependencies": {
    "eve": "github:balasivagn/eve#acp-runner-pr",
    "@balasivagn/eve-acp": "workspace:*"
  }
}

Development

pnpm install
pnpm typecheck
pnpm test
pnpm build

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages