No reviewers
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman!310
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/fork-move-slash-commands"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements #297 (
/fork) and #298 (/move) as OpenCode command parity, proxied through the OpenCode SDK./fork(#297)Branches a session via
POST /session/{id}/fork./forkopens a searchable picker with “Full session” plus timestamped user messages. Selecting a prompt sends itsmessageID; selecting “Full session” forks from HEAD. The UI navigates to the new session on success./move(#298)Relocates a session via
POST /experimental/control-plane/move-session./moveopens a searchable picker grouped into the current directory, other known same-host project/worktree directories, and a “Choose another directory…” path-entry dialog. Cross-host destinations are excluded. On success the active session and sidebar update immediately and the projects index refreshes.Layers
platforms: interface methods, request types, andFork/Movecapability flagssessionsvc: validated Fork/Move mutationsVerification
Add OpenCode command-parity for forking a session into a new child session (/fork) and moving a session to another project directory (/move), proxied through the OpenCode SDK per the transparent-layer goal. - platforms: ForkSession/MoveSession interface methods, request types, and Fork/Move capability flags. - opencode adapter: proxy POST /session/{id}/fork and POST /experimental/control-plane/move-session. - sessionsvc: Fork/Move mutations with validation; both fire the SessionCreated hook so the projects index refreshes. - server: POST /api/session/{id}/fork and /move handlers + routes. - remote: new Fork/MoveSession gRPC RPCs (proto regenerated), remotePlatform + server wiring. - frontend: /fork and /move built-in commands, api client methods, capability flags, and useSessionActions dispatch. /fork forks from HEAD and navigates to the new session; /move takes a target dir as its argument (a directory picker mirroring DialogMoveSession is a follow-up). Also folds in the pending /worktree-vs-/wt command alias split.Coverage ratchet: ✅ pass
Tolerance: -0.1%. Baseline stored on
gh-pages.b5b75a5f67c0559f798d