Repository navigation
feat: a structured claude agent's conversation can be resumed, after its agent ends or its session is gone - #78
Merged
Conversation
…its agent ends or its session is gone
A structured conversation's folder now says what it is (meta.json: where
it works, its session, Claude's session id, its mode, its title, its
times), so it outlives its session:
- POST /v1/sessions/{name}/resume starts an ended structured session
again in its own pane, on its own log, with --resume (a session left in
Claude Code's terminal goes back to its chat)
- GET /v1/conversations?path= lists a worktree's conversations, newest
first, saying which run now
- POST /v1/conversations/{id}/resume carries one on in its own session,
or in a new one once that is gone, in the mode it had
The app offers "Resume the conversation" where an ended structured agent
offered a fresh start, and "Resume a conversation" in a worktree's menu
(boxes with "conversations").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 13, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 4b of
design/structured-agents/plan.md(Labs, structured Claude agents only).Backend (
internal/box/conversations.go, capabilityconversations)meta.jsonholding agent, location, dir, session, Claude's session id, mode, title (from the first prompt), and created/updated times.init,updatedonresult, mode onSetMode.GET /v1/conversations?path=&location=&limit=lists them newest first, withliveandsessionwhen one runs now.POST /v1/sessions/{name}/resume: an ended structured session starts again in its own pane, on its own log and socket, with--resume(resumeInPlace). One left in Claude Code's terminal goes back to its chat instead (toChat, which now ends inresumeInPlacetoo).POST /v1/conversations/{id}/resume:App
Tests
TestAStructuredConversationIsResumedWhenItsAgentEndsAndWhenItsSessionIsGone:-race. The live test against real Claude passed again.go test -race ./...,go vet ./..., app checks and build,tsc -p e2eand the docs build all pass.Next: phase 5, the Codex driver (
codex app-server).🤖 Generated with Claude Code