Skip to content

chore: release v0.59.0 - #370

Merged
xxchan merged 1 commit into
mainfrom
chore/release-0.59.0
Oct 12, 2026
Merged

xxchan merged 1 commit into
mainfrom
chore/release-0.59.0

Conversation

@xxchan

@xxchan xxchan commented Oct 12, 2026

Copy link
Copy Markdown
Member

Release OAR and CLI 0.59.0. This PR changes only the two package version fields.

Added: SessionOptions.name (#368, #369)

  • The session's display name in the runtime's own UI and session list, so a user who shares the runtime's home with a host can tell the host's sessions from their own:
    • claude: --name;
    • codex: thread/name/set;
    • pi: a session_info entry, as pi's own --name writes it.
  • A new session gets it. A resume never replaces a name the session has, which may be the user's:
    • codex and pi name a resumed session only when it has none (pi: never had one);
    • claude keeps its name on resume.
  • The name is set only once the open's checks pass, and a blank name fails the open before anything starts.
  • cursor, kimi, grok, antigravity, opencode, pi-durable and morph refuse it with UnsupportedOptionError.

Added: SessionUnavailableError (#368, #369)

  • session({ resume }) rejects with it when the runtime keeps the conversation but will not open it now. It carries sessionId, reason and cause: { method, native }.
    • archived: the user archived it in their app. OAR never unarchives it: that reverses the user's own action, so the host decides.
    • in_use: another process, such as the user's app, holds it. Retry once that process lets go.
  • codex reports both (session <id> is archived. …, thread <id> already has an active writer). Before, both were plain errors.

Behavior changes

  • RefusableSessionOption gains "name".
  • A codex resume of an archived thread, or of one another app-server holds, rejects with SessionUnavailableError instead of a plain Error. The message and cause are unchanged.

Validation: #369 passed all 17 checks on its final head, and its merged tree equals its CI tree. Verified with scripted providers and no tokens (experiments/codex-session-name.ts, codex 0.162.0, a second app-server standing in for the user's app). New vendor tests read the name back through codex, claude and pi themselves, and produce both codex refusals. A second review by a subagent found that a blank name was silently dropped on claude and pi, and that a later check could refuse an open after the rename. Both were fixed before merge. After this PR passes CI and merges, tag its exact squash commit as v0.59.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit ac3cd0f into main Oct 12, 2026
17 checks passed
@xxchan
xxchan deleted the chore/release-0.59.0 branch October 12, 2026 10: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