Spaces:
Sleeping
Sleeping
Commit History
-
Let a stopped built-in agent be started again, from the panel
The built-in agent is registered on disk but armed only in memory: the OAuth callback is the one place that calls startDefaultAgent, because the access token it needs is never written down. So any restart leaves the agent listed and dead, and nothing brings it back — the session cookie lasts 30 days, so the user stays signed in and is never sent through OAuth again. The panel showed a grey dot, identical to "an agent on someone's laptop isn't running right now", and the only cure was to guess at signing out and back in. Prod has been in exactly this state for nine days: one startup on 18 Aug (a deploy), after which @lvwerra-cowrite never polled once, while @qgallouedec-cowrite — signed in after that restart — ran tasks normally. GET /api/agents now marks the caller's OWN built-in agent needs_activation when no live worker holds a credential for them, and the row offers an Activate button: a plain link to /auth/login?next=<this page>, like the sign-in button, because a scripted top-le…5334551
-
Close stdin for managed OpenCode runs
Agent Manager1126bdd -
Skip network discovery in managed OpenCode runs
Agent Manager2612d9d -
Skip OpenCode title generation in managed runs
Agent Manager4a68cda -
Make managed OpenCode startup deterministic
Agent Manager0d13486 -
Add safe diagnostics for managed agent runs
Agent Managerca40e67 -
Harden default agent isolation and capacity
Agent Manager889dff6 -
Add a private default agent for each user
Agent Manager314a59f