Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

Merge remote-tracking branch 'origin/main' into feat/kanban-card-team-progress

review857afc07bd7b
diff --cc src/renderer/canvas/Canvas.tsx
index 36f6f56c0,16c03b47a..b0df4e956
--- a/src/renderer/canvas/Canvas.tsx
+++ b/src/renderer/canvas/Canvas.tsx
@@@ -514,10 -527,12 +527,15 @@@ import
LAUNCH_STALL_MS,
type ArmedNode
} from '../lib/pendingLaunch'
+ import {
+ createBoundWorktree,
+ type CreateBoundWorktreeDeps,
+ type WorktreeAttachTarget
+ } from '../lib/worktreeCreate'
-import { WAIT_LABEL, dropAfterDep, edgeHidden, hiddenEdgeNodeIds, missingDepRopes, ropeInfoOf, ropeVisual } from '../lib/edgeModel'
+import {
+ WAIT_LABEL, dropAfterDep, edgeHidden, hiddenEdgeNodeIds, markLegacyWaitRopes, missingDepRopes, pruneRopes,
+ ropeInfoOf, ropeVisual, waitRopeId
+} from '../lib/edgeModel'
import { triggerEdges } from '../lib/triggerCard'
import {
freeSpot,
@@@ -15763,7 -16202,7 +16223,8 @@@ export function Canvas()
accountMenuItems={accountSwitchRows}
onAutoMoveFromPulls={autoMoveCardFromPulls}
issueAgentMenu={issueAgentMenu}
+ issueWorktreeMenu={issueWorktreeMenu}
+ teams={teamStations}
/>
)}
<UpdateCard />
diff --cc src/renderer/components/kanban/KanbanView.tsx
index 305035d94,d37c6c991..83f4daed8
--- a/src/renderer/components/kanban/KanbanView.tsx
+++ b/src/renderer/components/kanban/KanbanView.tsx
@@@ -143,12 -143,13 +144,19 @@@ export interface KanbanViewProps
* same reason as `accountMenuItems`: a board with no canvas behind it offers none.
*/
issueAgentMenu?: (issue: GitHubIssueCardView) => MenuItem[]
+ /**
+ * "Start with agent in a new worktree ▸" for a GitHub issue card: the same picker, pointed at a
+ * fresh `issue-<N>-<slug>` worktree frame — or the reason it cannot run on this project (an SSH
+ * project, a shared tab, a project with no folder or no repository), which the card menu and the
+ * summary modal show DISABLED rather than hide. Optional like `issueAgentMenu`.
+ */
+ issueWorktreeMenu?: (issue: GitHubIssueCardView) => IssueWorktreeMenuAnswer
+ /**
+ * The stations each session opened (lib/teamProgress `stationsByOpener`, keyed by the opener's
+ * node id), for the team-progress ring on its card and card modal. Optional: without it no card
+ * shows one.
+ */
+ teams?: ReadonlyMap<string, readonly TeamStation[]>
}
type Drag =
@@@ -218,7 -219,8 +226,8 @@@ function useCanvasCovered(): void
export const KanbanView = memo(function KanbanView({
board, sessions, onChange, onOpenNode, onCreateNode, onRenameNode, onEditSticky, onDeleteNode,
- onModalNodeChange, onBrowserNav, onSetIcon, accountMenuItems, onAutoMoveFromPulls, issueAgentMenu, teams
+ onModalNodeChange, onBrowserNav, onSetIcon, accountMenuItems, onAutoMoveFromPulls, issueAgentMenu,
- issueWorktreeMenu
++ issueWorktreeMenu, teams
}: KanbanViewProps) {
useCanvasCovered()
const { api } = useSession()