style: oxfmt
This commit is contained in:
@@ -59,4 +59,3 @@ describe("memory tools", () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ export async function getReplyFromConfig(
|
||||
silentToken: SILENT_REPLY_TOKEN,
|
||||
log: defaultRuntime.log,
|
||||
});
|
||||
opts?.onTypingController?.(typing);
|
||||
opts?.onTypingController?.(typing);
|
||||
|
||||
const finalized = finalizeInboundContext(ctx);
|
||||
|
||||
|
||||
@@ -15,4 +15,3 @@ export function buildTestCtx(overrides: Partial<MsgContext> = {}): FinalizedMsgC
|
||||
...overrides,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -71,6 +71,9 @@ async function main() {
|
||||
}
|
||||
|
||||
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);
|
||||
});
|
||||
|
||||
@@ -467,10 +467,10 @@ export async function prepareSlackMessage(params: {
|
||||
MediaPath: media?.path,
|
||||
MediaType: media?.contentType,
|
||||
MediaUrl: media?.path,
|
||||
CommandAuthorized: commandAuthorized,
|
||||
OriginatingChannel: "slack" as const,
|
||||
OriginatingTo: slackTo,
|
||||
}) satisfies FinalizedMsgContext;
|
||||
CommandAuthorized: commandAuthorized,
|
||||
OriginatingChannel: "slack" as const,
|
||||
OriginatingTo: slackTo,
|
||||
}) satisfies FinalizedMsgContext;
|
||||
|
||||
const replyTarget = ctxPayload.To ?? undefined;
|
||||
if (!replyTarget) return null;
|
||||
|
||||
Reference in New Issue
Block a user