f8b5771443
Extract session lifecycle, polling, grid planning, and event handling: - polling.ts: session polling controller with stability detection - event-handlers.ts: session created/deleted handlers - grid-planning.ts, spawn-action-decider.ts, spawn-target-finder.ts - session-status-parser.ts, session-message-count.ts - cleanup.ts, polling-constants.ts, tmux-grid-constants.ts
23 lines
602 B
TypeScript
23 lines
602 B
TypeScript
export type { SessionMapping } from "./oldest-agent-pane"
|
|
export type { GridCapacity, GridPlan, GridSlot } from "./grid-planning"
|
|
export type { SpawnTarget } from "./spawn-target-finder"
|
|
|
|
export {
|
|
calculateCapacity,
|
|
computeGridPlan,
|
|
mapPaneToSlot,
|
|
} from "./grid-planning"
|
|
|
|
export {
|
|
canSplitPane,
|
|
canSplitPaneAnyDirection,
|
|
findMinimalEvictions,
|
|
getBestSplitDirection,
|
|
getColumnCount,
|
|
getColumnWidth,
|
|
isSplittableAtCount,
|
|
} from "./pane-split-availability"
|
|
|
|
export { findSpawnTarget } from "./spawn-target-finder"
|
|
export { decideCloseAction, decideSpawnActions } from "./spawn-action-decider"
|