feat(HAI-026): complete Step 1 — add worktreeInitCommand to Settings
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user