Skip to content

feat(core): expose session rename tool - #47837

Merged
neriousy merged 1 commit into
v2from
session-rename
Sep 7, 2026
Merged

feat(core): expose session rename tool#47837
neriousy merged 1 commit into
v2from
session-rename

Conversation

@neriousy

@neriousy neriousy commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

N/A — internal task.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds tools.opencode.session_rename({ title, sessionID? }) to the curated OpenCode Code Mode namespace. It defaults to the calling session, accepts an explicit session ID, trims surrounding title whitespace, and returns the renamed session ID and title.

How did you verify your code works?

  • 63 relevant existing Core tests pass
  • bun typecheck passes in packages/core
  • The pre-push workspace typecheck passes
  • Oxlint, Effect pattern scans, Prettier, and git diff --check pass

Screenshots / recordings

N/A — no UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@neriousy
neriousy enabled auto-merge (squash) September 7, 2026 18:35
@neriousy
neriousy merged commit 5c50edb into v2 Sep 7, 2026
10 checks passed
@neriousy
neriousy deleted the session-rename branch September 7, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant