feat: add ability to run multiple agents from one prompt in isolated worktrees (#91)

* feat: WIP multirun implementation

* feat(chat): replace MindMap icon with ArrowsMerge

* feat(multirun): add base branch selection for worktrees

* feat(mobile): add multi-run launcher overlay
This commit is contained in:
Bohdan Triapitsyn
2026-01-01 14:59:51 +02:00
committed by GitHub
parent 2c1c960d5f
commit 10e64b4f90
13 changed files with 1041 additions and 34 deletions
+1 -1
View File
@@ -408,7 +408,6 @@ export interface RuntimeAPIs {
diagnostics?: DiagnosticsAPI;
tools: ToolsAPI;
editor?: EditorAPI;
worktrees?: WorktreeMetadata[];
}
@@ -497,3 +496,4 @@ export interface SkillsInstallResponse {
skipped?: Array<{ skillName: string; reason: string }>;
error?: SkillsInstallError;
}
@@ -4,5 +4,13 @@ export const EXECUTION_FORK_META_TEXT =
"if it is a conclusion or summary, your task is to verify it, explain whether you agree or disagree, and correct it if needed. " +
"Always clearly state what you understand your task to be, and wait for the user's approval of your conclusions before taking any further actions.";
export const MULTIRUN_EXECUTION_FORK_PROMPT_META_TEXT =
"This message bellow comes from an AI agent in another session. I want you to act according to its content: " +
"if it is an implementation plan, your task is to implement that plan; " +
"if it is a conclusion or summary, your task is to verify it, explain whether you agree or disagree, and correct it if needed; " +
"if it is a bug description, find the root cause and fix it. " +
"Proceed with actions right away based on your understanding of the task. " +
"Here is the content of the message: ";
export const isExecutionForkMetaText = (text: string | null | undefined): boolean =>
typeof text === 'string' && text.trim() === EXECUTION_FORK_META_TEXT.trim();