diff --git a/apps/desktop/scripts/smoke-test.mjs b/apps/desktop/scripts/smoke-test.mjs index 62884bcde3..482f260591 100644 --- a/apps/desktop/scripts/smoke-test.mjs +++ b/apps/desktop/scripts/smoke-test.mjs @@ -13,7 +13,7 @@ * the first render). For production mode (no React DevTools message), we * instead check that no fatal errors appeared. */ -import { spawn, execSync } from "node:child_process"; +import { execSync, spawn } from "node:child_process"; import { dirname, resolve } from "node:path"; import { fileURLToPath } from "node:url"; @@ -75,7 +75,7 @@ child.on("exit", () => { for (const f of failures) { console.error(` • ${f}`); } - console.error("\nFull output:\n" + output); + console.error(`\nFull output:\n${output}`); process.exit(1); } diff --git a/apps/renderer/index.html b/apps/renderer/index.html index 7084d1a08b..c2c8793a7c 100644 --- a/apps/renderer/index.html +++ b/apps/renderer/index.html @@ -5,7 +5,7 @@
+
Native bridge unavailable. Launch through Electron.
Select a thread or create a new one to get started.
+ Select a thread or create a new one to get started. +
- {approval.requestKind === "command" - ? "Command approval requested" - : "File-change approval requested"} -
- {approval.detail} -
Send a message to start the conversation.
+ Send a message to start the conversation. +
+ {timelineEntry.entry.detail ? ( + <> + {timelineEntry.entry.label} + + {timelineEntry.entry.detail} + + > + ) : ( + timelineEntry.entry.label + )} +
+ {timelineEntry.message.text} +
+ {formatTimestamp(timelineEntry.message.createdAt)} +
- {timelineEntry.entry.detail ? ( - <> - {timelineEntry.entry.label} - - {timelineEntry.entry.detail} + ) : ( + + + {timelineEntry.message.streaming && ( + + + + + + + + Thinking - > - ) : ( - timelineEntry.entry.label + )} - - - ) : timelineEntry.message.role === "user" ? ( - - - - {timelineEntry.message.text} - - - {formatTimestamp(timelineEntry.message.createdAt)} + + {formatMessageMeta( + timelineEntry.message.createdAt, + timelineEntry.message.streaming + ? formatElapsed( + timelineEntry.message.createdAt, + nowIso, + ) + : formatElapsed( + timelineEntry.message.createdAt, + assistantCompletionByItemId.get( + timelineEntry.message.id, + ), + ), + )} - - ) : ( - - - {timelineEntry.message.streaming && ( - - - - - - - - Thinking - - - )} - - {formatMessageMeta( - timelineEntry.message.createdAt, - timelineEntry.message.streaming - ? formatElapsed( - timelineEntry.message.createdAt, - nowIso, - ) - : formatElapsed( - timelineEntry.message.createdAt, - assistantCompletionByItemId.get( - timelineEntry.message.id, - ), - ), - )} - - - )} - - ))} + )} +
- {timelineEntry.message.text} -
- {formatTimestamp(timelineEntry.message.createdAt)} +
+ {formatMessageMeta( + timelineEntry.message.createdAt, + timelineEntry.message.streaming + ? formatElapsed( + timelineEntry.message.createdAt, + nowIso, + ) + : formatElapsed( + timelineEntry.message.createdAt, + assistantCompletionByItemId.get( + timelineEntry.message.id, + ), + ), + )}
- {formatMessageMeta( - timelineEntry.message.createdAt, - timelineEntry.message.streaming - ? formatElapsed( - timelineEntry.message.createdAt, - nowIso, - ) - : formatElapsed( - timelineEntry.message.createdAt, - assistantCompletionByItemId.get( - timelineEntry.message.id, - ), - ), - )} -
Select model