Skip to content

Support _meta.sessionTitle on session creation - #3

Merged
salman1993 merged 1 commit into
mainfrom
codex/client-session-title
Sep 9, 2026
Merged

salman1993 merged 1 commit into
mainfrom
codex/client-session-title

Conversation

@salman1993

@salman1993 salman1993 commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Support _meta.sessionTitle on session/new, normalize titles, and preserve them across restoration and restart.

Validated with 103 tests and live Pi checks, including restoration before the first model turn.

reference PR in claude-agent-mcp repo - agentclientprotocol/claude-agent-acp#920


Pi natively supports naming sessions through set_session_name and saves the title in its transcript.

Pi-acp also saves the initial title in its session map as a fallback, because Pi delays creating the transcript until a response is saved. On restoration, pi-acp reapplies that title only if the transcript is missing; existing transcripts keep their current title, including later renames.

@salman1993
salman1993 marked this pull request as ready for review September 9, 2026 01:37
@salman1993
salman1993 merged commit b893ff9 into main Sep 9, 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.

1 participant