feat(HAI-026): complete Step 1 — add worktreeInitCommand to Settings

This commit is contained in:
Dustin Byrne
2026-03-25 22:09:43 -04:00
parent bbe2ed2166
commit 0ec136a1c0

View File

@@ -59,6 +59,9 @@ export interface Settings {
pollIntervalMs: number; pollIntervalMs: number;
groupOverlappingFiles: boolean; groupOverlappingFiles: boolean;
autoMerge: boolean; autoMerge: boolean;
/** Shell command to run inside each new worktree immediately after creation.
* Useful for project-specific setup (e.g. `pnpm install`, `cp .env.local .env`). */
worktreeInitCommand?: string;
} }
export const DEFAULT_SETTINGS: Settings = { export const DEFAULT_SETTINGS: Settings = {
@@ -67,6 +70,7 @@ export const DEFAULT_SETTINGS: Settings = {
pollIntervalMs: 15000, pollIntervalMs: 15000,
groupOverlappingFiles: false, groupOverlappingFiles: false,
autoMerge: false, autoMerge: false,
worktreeInitCommand: undefined,
}; };
export interface BoardConfig { export interface BoardConfig {