You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inc/Abilities/WorkspaceAbilities.php
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -706,7 +706,7 @@ private function registerAbilities(): void {
706
706
'datamachine/workspace-worktree-add',
707
707
array(
708
708
'label' => 'Add Workspace Worktree',
709
-
'description' => 'Create a git worktree for a branch under `<repo>@<branch-slug>`. Branches are created off the supplied `from` ref (default `origin/HEAD`) when they do not yet exist locally. When `inject_context` is true (default), the originating site\'s agent memory is snapshotted into `.claude/CLAUDE.local.md` and `.opencode/AGENTS.local.md` and added to the worktree\'s per-checkout `info/exclude`.',
709
+
'description' => 'Create a git worktree for a branch under `<repo>@<branch-slug>`. Branches are created off the supplied `from` ref (default `origin/HEAD`) when they do not yet exist locally. When `inject_context` is true (default), the originating site\'s agent memory is snapshotted into `.claude/CLAUDE.local.md` and `.opencode/AGENTS.local.md` and added to the worktree\'s per-checkout `info/exclude`. When `bootstrap` is true (default), submodule init + package-manager install + composer install run after creation so the worktree is immediately test/build-ready; set false to create a bare checkout.',
710
710
'category' => 'datamachine-code-workspace',
711
711
'input_schema' => array(
712
712
'type' => 'object',
@@ -727,6 +727,10 @@ private function registerAbilities(): void {
727
727
'type' => 'boolean',
728
728
'description' => 'Inject the originating site\'s agent context (MEMORY.md, USER.md, RULES.md) into the new worktree. Default true. Set false to create a bare worktree.',
729
729
),
730
+
'bootstrap' => array(
731
+
'type' => 'boolean',
732
+
'description' => 'Run detected bootstrap steps (submodule init, package-manager install, composer install) after creating the worktree. Default true. Steps are skipped gracefully when their trigger file or tool is missing. Set false for a bare checkout (e.g. when only reading code).',
733
+
),
730
734
),
731
735
'required' => array( 'repo', 'branch' ),
732
736
),
@@ -747,6 +751,10 @@ private function registerAbilities(): void {
0 commit comments