Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(agentic-ide): the resume card shows the tab name you gave a workspace

Ruben Lütke438964fc185c
diff --git a/jarvis/agentic_ide/resume_store.py b/jarvis/agentic_ide/resume_store.py
index ccaefdf1fa..824ee91b22 100644
--- a/jarvis/agentic_ide/resume_store.py
+++ b/jarvis/agentic_ide/resume_store.py
@@ -474,6 +474,11 @@ def offer(snapshot: Snapshot | None, *, installed: set[str]) -> dict[str, Any]:
"session_id": space.session_id,
"folder": space.folder,
"folder_name": Path(space.folder).name or space.folder,
+ # The label the user gave the tab, empty when never renamed. Kept
+ # beside the folder name rather than replacing it: somebody who
+ # renamed a tab recognises the workspace by that label, and
+ # somebody who did not still needs the folder.
+ "name": space.name,
"folder_exists": folder_exists,
"available": folder_exists and any(p["available"] for p in panes),
"resumable_count": sum(1 for p in panes if p["resumable"]),
diff --git a/jarvis/ui/web/agentic_ide_routes.py b/jarvis/ui/web/agentic_ide_routes.py
index a4dfa729bb..8c7f8e9935 100644
--- a/jarvis/ui/web/agentic_ide_routes.py
+++ b/jarvis/ui/web/agentic_ide_routes.py
@@ -406,6 +406,9 @@ class ResumeWorkspace(BaseModel):
session_id: str = ""
folder: str = ""
folder_name: str = ""
+ name: str = Field(
+ default="", description="The label the user gave this tab, if any."
+ )
folder_exists: bool = False
available: bool = Field(
description="False when the folder is gone or none of its CLIs are installed."
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
index 0dd105a55d..24e7ec1c3c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
@@ -94,7 +94,9 @@ function WorkspaceRow({ space }: { space: ResumeWorkspaceOffer }) {
>
<div className="flex flex-wrap items-baseline gap-x-2 gap-y-1">
<FolderGit2 className="h-3.5 w-3.5 shrink-0 translate-y-0.5 text-primary" />
- <span className="font-medium text-foreground">{space.folder_name}</span>
+ <span className="font-medium text-foreground">
+ {space.name || space.folder_name}
+ </span>
<span className="text-xs text-muted-foreground">
{space.terminals.length} terminal{space.terminals.length === 1 ? "" : "s"}
{space.resumable_count > 0 && ` · ${space.resumable_count} continuing`}
diff --git a/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts b/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts
index d8dab9a9eb..82722d1204 100644
--- a/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts
+++ b/jarvis/ui/web/frontend/src/lib/agenticIdeApi.ts
@@ -168,6 +168,8 @@ export interface ResumeWorkspaceOffer {
session_id: string;
folder: string;
folder_name: string;
+ /** The label the user gave this tab, empty when never renamed. */
+ name: string;
folder_exists: boolean;
/** False when the folder is gone or none of its coding CLIs are installed. */
available: boolean;