feat(schedules): require worktrees and choose commit or discard on removal

Drop the repo workspace mode so every scheduled run executes in a
worktree. Clearing run history or deleting a run now asks whether to
commit pending changes and keep the run branches, or force-remove the
worktrees and delete the branches.

Sibling repo listings carry the schedule name, and the repo detail
workspace view subscribes to schedule worktree sessions only while
expanded. Also unify schedule worktree path/branch helpers, refuse a run
branch already checked out elsewhere, and clean up terminals when a
worktree is removed.
This commit is contained in:
Chris Scott committed 2026-10-06 11:02:29 -04:00
1 parent 6ec3f3bd91
commit 26ff08d891
46 files changed
+1171 -375

No files matched your search

+1
View File
@@ -155,6 +155,7 @@ export type {
export type {
ScheduleMode,
ScheduleWorkspaceMode,
ScheduleRunWorktreesMode,
ScheduleWorktree,
RemoveScheduleWorktreesRequest,
SchedulePermissionConfig,