Skip to content

feat(session): Explicit session id naming#5076

Merged
mitsuhiko merged 6 commits into
mainfrom
explicit-session-id
May 27, 2026
Merged

feat(session): Explicit session id naming#5076
mitsuhiko merged 6 commits into
mainfrom
explicit-session-id

Conversation

@mitsuhiko

Copy link
Copy Markdown
Member

This allows a user to supply --session-id to give an ID to new sessions or to look up existing sessions by id. I decided on this behavior because otherwise there is a weird mismatch with --session which does a prefix match.

Fixes #4874

@badlogic badlogic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, except for the 2 comments. might be fine as is.

Comment thread packages/coding-agent/src/core/session-manager.ts Outdated
Comment thread packages/coding-agent/src/core/session-manager.ts Outdated
Avoid buffering the initial session flush when creating files.
@mitsuhiko mitsuhiko merged commit 52dc08c into main May 27, 2026
1 check passed
@mitsuhiko mitsuhiko deleted the explicit-session-id branch May 27, 2026 19:32
baiyuqing pushed a commit to baiyuqing/pi that referenced this pull request May 28, 2026
baiyuqing pushed a commit to baiyuqing/pi that referenced this pull request May 30, 2026
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.

Allow CLI callers to provide session ID

2 participants