Detached activity crashed
++ {this.state.errorMessage} +
+diff --git a/desktop/src-tauri/capabilities/default.json b/desktop/src-tauri/capabilities/default.json index bf7580f7da..a4c13bdc9e 100644 --- a/desktop/src-tauri/capabilities/default.json +++ b/desktop/src-tauri/capabilities/default.json @@ -2,10 +2,12 @@ "$schema": "../gen/schemas/desktop-schema.json", "identifier": "default", "description": "Capability for the main window", - "windows": ["main"], + "windows": ["main", "agent-session-*"], "permissions": [ "core:default", + "core:webview:allow-create-webview-window", "core:webview:allow-set-webview-zoom", + "core:window:allow-create", "core:window:allow-set-badge-count", "core:window:allow-set-focus", "core:window:allow-start-dragging", diff --git a/desktop/src/app/App.tsx b/desktop/src/app/App.tsx index 4d71da8fa6..6a7065ff05 100644 --- a/desktop/src/app/App.tsx +++ b/desktop/src/app/App.tsx @@ -1,52 +1,33 @@ import { getCurrentWindow } from "@tauri-apps/api/window"; import { useQueryClient } from "@tanstack/react-query"; -import { RouterProvider } from "@tanstack/react-router"; -import { useCallback, useLayoutEffect } from "react"; +import { lazy, Suspense, useCallback, useLayoutEffect } from "react"; -import { router } from "@/app/router"; -import { useAppOnboardingState } from "@/features/onboarding/hooks"; -import { OnboardingFlow } from "@/features/onboarding/ui/OnboardingFlow"; +import { AppLoadingGate } from "@/app/AppLoadingGate"; +import { + DetachedAgentSessionView, + getDetachedAgentSessionParams, +} from "@/features/agents/ui/DetachedAgentSessionView"; import { useWorkspaceInit } from "@/features/workspaces/useWorkspaceInit"; import { useWorkspaces } from "@/features/workspaces/useWorkspaces"; import { WelcomeSetup } from "@/features/workspaces/ui/WelcomeSetup"; -function AppLoadingGate() { - return ( -
- Sprout -
-- One sec while we load your profile. -
-+ Sprout +
++ One sec while we load your profile. +
+{text}
)} @@ -125,8 +144,10 @@ function MessageItem({ } function ThoughtItem({ + enableInlineNavigation, item, }: { + enableInlineNavigation: boolean; item: ExtractDetached activity crashed
++ {this.state.errorMessage} +
++ Detached live session +
+{title}
++ {description} +
+