From 1b317e8a0a11c9ed57082f920410bcca6c72a9a3 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Mon, 30 Mar 2026 20:43:54 -0500 Subject: [PATCH] style: fix prettier formatting in plugins/macp (consolidation follow-up) --- plugins/macp/src/index.ts | 10 +++++++--- plugins/macp/src/macp-runtime.ts | 10 +++++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/plugins/macp/src/index.ts b/plugins/macp/src/index.ts index 674c542..622e548 100644 --- a/plugins/macp/src/index.ts +++ b/plugins/macp/src/index.ts @@ -9,10 +9,14 @@ const ocRequire = createRequire(import.meta.url); const sdkRoot = path.dirname(ocRequire.resolve('openclaw/dist/plugin-sdk/index.js')); // Dynamic imports for runtime SDK functions -const { registerAcpRuntimeBackend, unregisterAcpRuntimeBackend } = await import( +const { registerAcpRuntimeBackend, unregisterAcpRuntimeBackend } = (await import( `${sdkRoot}/acp-runtime.js` -) as { - registerAcpRuntimeBackend: (backend: { id: string; runtime: any; healthy: () => boolean }) => void; +)) as { + registerAcpRuntimeBackend: (backend: { + id: string; + runtime: any; + healthy: () => boolean; + }) => void; unregisterAcpRuntimeBackend: (id: string) => void; }; diff --git a/plugins/macp/src/macp-runtime.ts b/plugins/macp/src/macp-runtime.ts index 2d8f95c..7287630 100644 --- a/plugins/macp/src/macp-runtime.ts +++ b/plugins/macp/src/macp-runtime.ts @@ -82,7 +82,15 @@ const MACP_CAPABILITIES: AcpRuntimeCapabilities = { const DEFAULT_REPO_ROOT = '~/src/mosaic-stack'; const ORCHESTRATOR_RUN_PATH = '~/.config/mosaic/bin/mosaic-orchestrator-run'; -const PI_RUNNER_PATH = path.join(os.homedir(), 'src', 'mosaic-stack', 'tools', 'macp', 'dispatcher', 'pi_runner.ts'); +const PI_RUNNER_PATH = path.join( + os.homedir(), + 'src', + 'mosaic-stack', + 'tools', + 'macp', + 'dispatcher', + 'pi_runner.ts', +); function expandHome(rawPath: string): string { if (rawPath === '~') {