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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(agentic-ide): a remembered folder opens again after one of its CLIs is gone
rubenluetke10-beepd2564cffc9d8
diff --git a/jarvis/agentic_ide/session.py b/jarvis/agentic_ide/session.pyindex aa7d642a19..f1429ba259 100644--- a/jarvis/agentic_ide/session.py+++ b/jarvis/agentic_ide/session.py@@ -3012,6 +3012,24 @@ class Registry:# The provider/account gate is acquired BEFORE the machine-wide gate.# A Codex pane waiting on shared state must never occupy a CPU slot that# an unrelated Claude/OpenCode pane could use immediately.+ # The one line that makes a resume complaint answerable.+ #+ # A pane that came back without its conversation and a pane that came+ # back with one look IDENTICAL in the log — and identical again in the+ # snapshot, which records what we intended rather than what the CLI+ # did. Reconstructing "which binary, with which arguments, on whose+ # behalf" afterwards meant reading five files and guessing. It is one+ # INFO line per process start, so it costs nothing on a workspace of a+ # dozen panes and it is there the next time somebody says "it did not+ # resume". The full argv, because the difference that matters lives in+ # the arguments (`--resume <id>`), not in the binary.+ logger.info(+ "Agentic IDE: {} ({}) starting {} — {}",+ term.name,+ term.agent,+ "RESUMED" if term.resumed else "fresh",+ " ".join(argv),+ )agent_start_gate = await self._acquire_agent_cold_start(term)spawn_succeeded = Falsetry:diff --git a/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx b/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsxindex 22fb7f2538..cb3f4557b9 100644--- a/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx+++ b/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx@@ -491,8 +491,21 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {}) => {const total = Math.max(1, Math.min(recent.terminals, maxTerminals));setCount(total);+ // Only agents this machine can actually open.+ //+ // A remembered folder outlives the entry it was worked in: a CLI the user+ // added themselves and later deleted, one renamed between releases, one+ // uninstalled since. The backend refuses the WHOLE open when any requested+ // agent is unknown or missing ("Unknown agent(s): …"), so a single dead id+ // in this list made the folder unopenable from here — with an error naming+ // an agent the user no longer has and no way to get past it. Dropping the+ // dead ids and topping the plan back up keeps the folder openable; the+ // panes are staged, so what came back is visible before anything runs.+ const usable = new Set(+ agents.filter((a) => a.installed).map((a) => a.name),+ );const entries = Object.entries(recent.agents ?? {}).filter(- ([, n]) => n > 0,+ ([agent, n]) => n > 0 && usable.has(agent),);if (entries.length === 0) {setPlanned(buildPlan(total, [], defaultAgent, suggested));