Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

Merge branch 'dev' into feat/even-drive-drag-and-drop-fix

M38f84dc8f537
diff --cc desktop-app/ui/src/App.tsx
index c8d6a6488,44cd5b0b3..f7feba2de
--- a/desktop-app/ui/src/App.tsx
+++ b/desktop-app/ui/src/App.tsx
@@@ -2938,27 -2936,27 +2938,27 @@@ export function App()
window title bar via the same portal — the search
pill and notification bell live in the title bar on
all routes, never floating inline over the panel. */}
- <TitlebarActionsPortal container={titlebarActionsRoot}>
- <AppHeader
- placement="titlebar"
- searchFocusRequestId={globalSearchFocusRequestId}
- notificationOpenRequestId={notificationOpenRequestId}
- notificationTrayMode={
- notificationTrayUsesDrawer ? 'drawer' : 'overlay'
- }
- notificationTrayReady={notificationDrawerReady}
- notificationTrayLeft={
- notificationTrayUsesDrawer ? notificationTrayLeft : null
- }
- onNotificationTrayOpenChange={setHeaderNotificationTrayOpen}
- onShellOverlayOpenChange={setHeaderShellOverlayOpen}
- drawerAvailable={drawerAvailable}
- chatDrawerOpen={chatDrawerVisible}
- onToggleChatDrawer={toggleChatDrawer}
- />
- </TitlebarActionsPortal>
- <ToastStack items={vm.toasts} onDismiss={vm.dismissToast} />
- {/* Single global strip: driven by the universal
+ <TitlebarActionsPortal container={titlebarActionsRoot}>
+ <AppHeader
+ placement="titlebar"
+ searchFocusRequestId={globalSearchFocusRequestId}
+ notificationOpenRequestId={notificationOpenRequestId}
+ notificationTrayMode={
+ notificationTrayUsesDrawer ? 'drawer' : 'overlay'
+ }
+ notificationTrayReady={notificationDrawerReady}
+ notificationTrayLeft={
+ notificationTrayUsesDrawer ? notificationTrayLeft : null
+ }
+ onNotificationTrayOpenChange={setHeaderNotificationTrayOpen}
+ onShellOverlayOpenChange={setHeaderShellOverlayOpen}
+ drawerAvailable={drawerAvailable}
+ chatDrawerOpen={chatDrawerVisible}
+ onToggleChatDrawer={toggleChatDrawer}
+ />
+ </TitlebarActionsPortal>
- <ToastStack items={vm.toasts} />
++ <ToastStack items={vm.toasts} onDismiss={vm.dismissToast} />
+ {/* Single global strip: driven by the universal
store, visible on every route above the
per-kind seam so any tab is reachable from any
tab. Hidden only when the workspace is empty. */}
diff --cc desktop-app/ui/src/hooks/domain/useAgentChatController.ts
index 2b4cee587,e7d93ef56..143fe7ce7
--- a/desktop-app/ui/src/hooks/domain/useAgentChatController.ts
+++ b/desktop-app/ui/src/hooks/domain/useAgentChatController.ts
@@@ -3649,7 -3752,7 +3752,8 @@@ export function useAgentChatController(
if (!taskId) {
// Synchronous (non-async) response — a direct reply or a structured error.
const errorRecord = responseRecord.error as
-- { message?: string; code?: string; provider?: string } | undefined
++ | { message?: string; code?: string; provider?: string }
++ | undefined
// Issue #654: a synchronous failure can arrive as `{error: …}` OR as
// `{success: false}` without an error object. Both are failures — HTTP
// 200 or a missing `success` boolean never imply success.
diff --cc desktop-app/ui/src/pages/FilesPage.tsx
index f327870ad,a49485a86..b8cb0b242
--- a/desktop-app/ui/src/pages/FilesPage.tsx
+++ b/desktop-app/ui/src/pages/FilesPage.tsx
@@@ -2054,11 -1660,26 +2157,31 @@@ export function FilesPage(
</div>
) : null}
+ {dropSessionLost ? (
+ // Persistent (A11): the refusal outlives the dead gesture and the
+ // revoked surface below — it is not a one-shot toast.
+ <StatusBanner tone="error" text={GFS_DROP_SESSION_LOST_MESSAGE} />
+ ) : null}
+ {zipJob ? (
+ <div className="da-gfs-zip-progress" role="status" data-testid="gfs-zip-progress">
+ <span className="da-gfs-zip-progress__label">
+ {zipJob.progress.phase === 'listing'
+ ? `Preparing ${zipJob.folderName}.zip — reading folder contents…`
+ : zipJob.progress.phase === 'downloading'
+ ? `Preparing ${zipJob.folderName}.zip — downloading ${zipJob.progress.filesAdded} of ${zipJob.progress.filesFound} ${zipJob.progress.filesFound === 1 ? 'file' : 'files'}…`
+ : `Preparing ${zipJob.folderName}.zip — assembling archive…`}
+ </span>
+ <button
+ type="button"
+ className="da-gfs-zip-progress__stop"
+ aria-label="Stop preparing zip"
+ onClick={() => zipAbortRef.current?.abort()}
+ >
+ Stop
+ </button>
+ </div>
+ ) : null}
+
{accessibleNotice ? <StatusBanner tone="info" text={accessibleNotice} /> : null}
{unavailableLocation ? (
<StatusBanner tone="error" text={GFS_UNAVAILABLE_LOCATION_MESSAGE} />