@xenosystem/acp-core
v0.2.29
Published
Embeddable ACP-client engine: supervise ACP agents and stream structured events. The framework-free core of xeno-acp.
Maintainers
Readme
@xenosystem/acp-core
Embeddable ACP-client engine for the XENO ecosystem. Supervises ACP agents (Claude Code,
Codex, OpenCode, Gemini CLI, …) and exposes a structured AcpEvent stream. Framework-free —
no HTTP, no OpenAI types.
npm install @xenosystem/acp-coreimport { AcpManager, loadConfig } from "@xenosystem/acp-core";
const acp = new AcpManager(loadConfig());
for await (const ev of acp.prompt("claude-code", {
messages: [{ role: "user", content: "Summarize the workspace." }],
})) {
if (ev.type === "text") process.stdout.write(ev.text);
else if (ev.type === "tool_call") console.error("[tool]", ev.title, ev.status);
}
await acp.dispose();Public beta. The client contains workspace paths for host capability callbacks, but separately launched provider processes are a process boundary, not a hostile-code OS sandbox. See the product documentation. Apache-2.0.
