mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
20 lines
602 B
TypeScript
20 lines
602 B
TypeScript
import { tryDispatchAcpReplyHook } from "openclaw/plugin-sdk/acp-runtime-backend";
|
|
import { createAcpxRuntimeService } from "./register.runtime.js";
|
|
import type { OpenClawPluginApi } from "./runtime-api.js";
|
|
|
|
const plugin = {
|
|
id: "acpx",
|
|
name: "ACPX Runtime",
|
|
description: "Embedded ACP runtime backend with plugin-owned session and transport management.",
|
|
register(api: OpenClawPluginApi) {
|
|
api.registerService(
|
|
createAcpxRuntimeService({
|
|
pluginConfig: api.pluginConfig,
|
|
}),
|
|
);
|
|
api.on("reply_dispatch", tryDispatchAcpReplyHook);
|
|
},
|
|
};
|
|
|
|
export default plugin;
|