import { createAcpxRuntimeService } from "./register.runtime.js";
import { tryDispatchAcpReplyHook } from "@agentai2027/openclaw-zh/plugin-sdk/acp-runtime-backend";
//#region extensions/acpx/index.ts
const plugin = {
	id: "acpx",
	name: "ACPX Runtime",
	description: "Embedded ACP runtime backend with plugin-owned session and transport management.",
	register(api) {
		api.registerService(createAcpxRuntimeService({ pluginConfig: api.pluginConfig }));
		api.on("reply_dispatch", tryDispatchAcpReplyHook);
	}
};
//#endregion
export { plugin as default };
