/** * tmux Workspace backend. Two layouts, chosen by the caller via * `createTmuxAdapter({ sessionPerTask })`. `workspaces.ts` resolves the flag * from the `GROUNDCREW_TMUX_SESSION_PER_TASK` env var. * * - Window model (`sessionPerTask: false`): workspaces live as windows inside * one dedicated `groundcrew` tmux session; the window name is the task id. * - Session model (`sessionPerTask: true`): each workspace is its own dedicated * tmux session named after the task id, so windows act as tabs and panes as * splits without polluting a shared session. Sessions we create are tagged * with the `@groundcrew_managed` user option so `list`/`close` ignore the * user's own same-named sessions. * * Either way tmux can't paint status pills, so `open` silently drops * `spec.status`. This is the Linux/WSL path where cmux is unavailable. */ import { type Adapter } from "./workspaceAdapter.ts"; /** * Builds the tmux adapter for the resolved layout. `sessionPerTask` is decided * by `workspaces.ts` from the `GROUNDCREW_TMUX_SESSION_PER_TASK` env var, so * the adapter itself stays config-agnostic. */ export declare function createTmuxAdapter({ sessionPerTask }: { sessionPerTask: boolean; }): Adapter; //# sourceMappingURL=tmuxAdapter.d.ts.map