refactor: integrate OpenClaw API for configuration management and CLI registration
This commit is contained in:
@@ -81,6 +81,7 @@ export function createSetupTool(api: OpenClawPluginApi) {
|
||||
|
||||
async execute(_id: string, params: Record<string, unknown>) {
|
||||
const result = await runSetup({
|
||||
api,
|
||||
newAgentName: params.newAgentName as string | undefined,
|
||||
channelBinding:
|
||||
(params.channelBinding as "telegram" | "whatsapp") ?? null,
|
||||
|
||||
Reference in New Issue
Block a user