chore: include pre-built dist for github install
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
export declare const POLL_INTERVAL_BACKGROUND_MS = 2000;
|
||||
export declare const SESSION_TIMEOUT_MS: number;
|
||||
export declare const SESSION_MISSING_GRACE_MS = 6000;
|
||||
export declare const SESSION_READY_POLL_INTERVAL_MS = 500;
|
||||
export declare const SESSION_READY_TIMEOUT_MS = 10000;
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
export * from "./types";
|
||||
export * from "./constants";
|
||||
export * from "./tmux-utils";
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export { isInsideTmux, getCurrentPaneId } from "./tmux-utils/environment";
|
||||
export type { SplitDirection } from "./tmux-utils/environment";
|
||||
export { isServerRunning, resetServerCheck } from "./tmux-utils/server-health";
|
||||
export { getPaneDimensions } from "./tmux-utils/pane-dimensions";
|
||||
export type { PaneDimensions } from "./tmux-utils/pane-dimensions";
|
||||
export { spawnTmuxPane } from "./tmux-utils/pane-spawn";
|
||||
export { closeTmuxPane } from "./tmux-utils/pane-close";
|
||||
export { replaceTmuxPane } from "./tmux-utils/pane-replace";
|
||||
export { applyLayout, enforceMainPaneWidth } from "./tmux-utils/layout";
|
||||
@@ -0,0 +1,3 @@
|
||||
export type SplitDirection = "-h" | "-v";
|
||||
export declare function isInsideTmux(): boolean;
|
||||
export declare function getCurrentPaneId(): string | undefined;
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import type { TmuxLayout } from "../../../config/schema";
|
||||
type TmuxSpawnCommand = (args: string[], options: {
|
||||
stdout: "ignore";
|
||||
stderr: "ignore";
|
||||
}) => {
|
||||
exited: Promise<number>;
|
||||
};
|
||||
interface LayoutDeps {
|
||||
spawnCommand?: TmuxSpawnCommand;
|
||||
}
|
||||
interface MainPaneWidthOptions {
|
||||
mainPaneSize?: number;
|
||||
mainPaneMinWidth?: number;
|
||||
agentPaneMinWidth?: number;
|
||||
}
|
||||
export declare function applyLayout(tmux: string, layout: TmuxLayout, mainPaneSize: number, deps?: LayoutDeps): Promise<void>;
|
||||
export declare function enforceMainPaneWidth(mainPaneId: string, windowWidth: number, mainPaneSizeOrOptions?: number | MainPaneWidthOptions): Promise<void>;
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export declare function closeTmuxPane(paneId: string): Promise<boolean>;
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface PaneDimensions {
|
||||
paneWidth: number;
|
||||
windowWidth: number;
|
||||
}
|
||||
export declare function getPaneDimensions(paneId: string): Promise<PaneDimensions | null>;
|
||||
@@ -0,0 +1,3 @@
|
||||
import type { TmuxConfig } from "../../../config/schema";
|
||||
import type { SpawnPaneResult } from "../types";
|
||||
export declare function replaceTmuxPane(paneId: string, sessionId: string, description: string, config: TmuxConfig, serverUrl: string): Promise<SpawnPaneResult>;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import type { TmuxConfig } from "../../../config/schema";
|
||||
import type { SpawnPaneResult } from "../types";
|
||||
import type { SplitDirection } from "./environment";
|
||||
export declare function spawnTmuxPane(sessionId: string, description: string, config: TmuxConfig, serverUrl: string, targetPaneId?: string, splitDirection?: SplitDirection): Promise<SpawnPaneResult>;
|
||||
@@ -0,0 +1,2 @@
|
||||
export declare function isServerRunning(serverUrl: string): Promise<boolean>;
|
||||
export declare function resetServerCheck(): void;
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
export interface SpawnPaneResult {
|
||||
success: boolean;
|
||||
paneId?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user