Skip to content

cmd/glue: glue run --continue reopens the most recent session (closes #366) - #373

Merged
erain merged 1 commit into
mainfrom
run-continue-366
Jul 19, 2026
Merged

cmd/glue: glue run --continue reopens the most recent session (closes #366)#373
erain merged 1 commit into
mainfrom
run-continue-366

Conversation

@erain

@erain erain commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Implements #366 — daily-driver readiness under tracker #110.

glue run --continue resolves the most recently updated session in the store (ListSessions already orders by UpdatedAt descending), reports which session it picked (glue run: continuing session "x" (N messages, last updated …)), and then proceeds exactly as if that --id had been passed — TUI and one-shot --prompt both work. --continue with an explicit --id errors; an empty store errors with the store path.

Tests: picks the newer of two seeded sessions and resumes its transcript; rejects --continue --id; errors on an empty store. Live-verified against the scratch project store (picked the correct previous session).

🤖 Generated with Claude Code

…366)

Resume existed only as the TUI /resume picker; the CLI required
remembering --id. --continue asks the store for the newest session
(UpdatedAt ordering), prints the picked id with message count and
age, and works for both interactive and one-shot runs. Mutually
exclusive with an explicit --id.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

glue-review

No concerns — LGTM.


🤖 Posted by glue-review.

@erain
erain merged commit 0a1d6b1 into main Jul 19, 2026
4 of 5 checks passed
@erain
erain deleted the run-continue-366 branch July 19, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant