style: oxfmt

This commit is contained in:
Peter Steinberger
2026-01-17 10:24:11 +00:00
parent f8e673cdbc
commit 6b784a9771
5 changed files with 9 additions and 8 deletions

View File

@@ -59,4 +59,3 @@ describe("memory tools", () => {
}); });
}); });
}); });

View File

@@ -73,7 +73,7 @@ export async function getReplyFromConfig(
silentToken: SILENT_REPLY_TOKEN, silentToken: SILENT_REPLY_TOKEN,
log: defaultRuntime.log, log: defaultRuntime.log,
}); });
opts?.onTypingController?.(typing); opts?.onTypingController?.(typing);
const finalized = finalizeInboundContext(ctx); const finalized = finalizeInboundContext(ctx);

View File

@@ -15,4 +15,3 @@ export function buildTestCtx(overrides: Partial<MsgContext> = {}): FinalizedMsgC
...overrides, ...overrides,
}); });
} }

View File

@@ -71,6 +71,9 @@ async function main() {
} }
void main().catch((err) => { void main().catch((err) => {
console.error("[clawdbot] Relay failed:", err instanceof Error ? (err.stack ?? err.message) : err); console.error(
"[clawdbot] Relay failed:",
err instanceof Error ? (err.stack ?? err.message) : err,
);
process.exit(1); process.exit(1);
}); });

View File

@@ -467,10 +467,10 @@ export async function prepareSlackMessage(params: {
MediaPath: media?.path, MediaPath: media?.path,
MediaType: media?.contentType, MediaType: media?.contentType,
MediaUrl: media?.path, MediaUrl: media?.path,
CommandAuthorized: commandAuthorized, CommandAuthorized: commandAuthorized,
OriginatingChannel: "slack" as const, OriginatingChannel: "slack" as const,
OriginatingTo: slackTo, OriginatingTo: slackTo,
}) satisfies FinalizedMsgContext; }) satisfies FinalizedMsgContext;
const replyTarget = ctxPayload.To ?? undefined; const replyTarget = ctxPayload.To ?? undefined;
if (!replyTarget) return null; if (!replyTarget) return null;