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
@@ -564,15 +565,15 @@ private function registerAbilities(): void {
564
565
'input_schema' => array(
565
566
'type' => 'object',
566
567
'properties' => array(
567
-
'repo' => array(
568
+
'repo'=> array(
568
569
'type' => 'string',
569
570
'description' => 'Workspace handle: `<repo>` (primary) or `<repo>@<branch-slug>` (worktree).',
570
571
),
571
-
'path' => array(
572
+
'path'=> array(
572
573
'type' => 'string',
573
574
'description' => 'Relative file path within the repo.',
574
575
),
575
-
'content' => array(
576
+
'content'=> array(
576
577
'type' => 'string',
577
578
'description' => 'File content to write.',
578
579
),
@@ -607,39 +608,39 @@ private function registerAbilities(): void {
607
608
'input_schema' => array(
608
609
'type' => 'object',
609
610
'properties' => array(
610
-
'repo' => array(
611
+
'repo'=> array(
611
612
'type' => 'string',
612
613
'description' => 'Workspace handle: `<repo>` (primary) or `<repo>@<branch-slug>` (worktree).',
613
614
),
614
-
'path' => array(
615
+
'path'=> array(
615
616
'type' => 'string',
616
617
'description' => 'Relative file path within the repo.',
617
618
),
618
-
'old_string' => array(
619
+
'old_string'=> array(
619
620
'type' => 'string',
620
621
'description' => 'Text to find.',
621
622
),
622
-
'new_string' => array(
623
+
'new_string'=> array(
623
624
'type' => 'string',
624
625
'description' => 'Replacement text.',
625
626
),
626
-
'search' => array(
627
+
'search'=> array(
627
628
'type' => 'string',
628
629
'description' => 'Alias for old_string.',
629
630
),
630
-
'replace' => array(
631
+
'replace'=> array(
631
632
'type' => 'string',
632
633
'description' => 'Alias for new_string.',
633
634
),
634
-
'old' => array(
635
+
'old'=> array(
635
636
'type' => 'string',
636
637
'description' => 'Alias for old_string.',
637
638
),
638
-
'new' => array(
639
+
'new'=> array(
639
640
'type' => 'string',
640
641
'description' => 'Alias for new_string.',
641
642
),
642
-
'replace_all' => array(
643
+
'replace_all'=> array(
643
644
'type' => 'boolean',
644
645
'description' => 'Replace all occurrences (default false).',
645
646
),
@@ -1297,47 +1298,47 @@ private function registerAbilities(): void {
1297
1298
'input_schema' => array(
1298
1299
'type' => 'object',
1299
1300
'properties' => array(
1300
-
'repo' => array(
1301
+
'repo'=> array(
1301
1302
'type' => 'string',
1302
1303
'description' => 'Primary repo name (no @-suffix).',
1303
1304
),
1304
-
'branch' => array(
1305
+
'branch'=> array(
1305
1306
'type' => 'string',
1306
1307
'description' => 'Branch to check out in the worktree (e.g. fix/foo-bar). Slashes become dashes in the on-disk slug.',
1307
1308
),
1308
-
'from' => array(
1309
+
'from'=> array(
1309
1310
'type' => 'string',
1310
1311
'description' => 'Base ref when creating the branch (default origin/HEAD).',
1311
1312
),
1312
-
'inject_context' => array(
1313
+
'inject_context'=> array(
1313
1314
'type' => 'boolean',
1314
1315
'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.',
1315
1316
),
1316
-
'bootstrap' => array(
1317
+
'bootstrap'=> array(
1317
1318
'type' => 'boolean',
1318
1319
'description' => 'Run detected bootstrap steps (submodule init plus root or one-level nested package-manager/composer installs) 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).',
1319
1320
),
1320
-
'allow_stale' => array(
1321
+
'allow_stale'=> array(
1321
1322
'type' => 'boolean',
1322
1323
'description' => 'Bypass the staleness gate. When false (default), any branch/base behind the remote default branch is refused, and a new worktree more than `datamachine_worktree_stale_threshold` commits behind upstream is rolled back with a staleness error. Set true to opt in to a known-stale checkout.',
1323
1324
),
1324
1325
'allow_unverified_freshness' => array(
1325
1326
'type' => 'boolean',
1326
1327
'description' => 'Bypass the fetch-failure freshness gate. When false (default), worktree creation is refused if remote freshness cannot be verified. Set true only for intentional offline work with local refs.',
1327
1328
),
1328
-
'rebase_base' => array(
1329
+
'rebase_base'=> array(
1329
1330
'type' => 'boolean',
1330
1331
'description' => 'After creating the worktree, rebase onto the upstream tip (the branch\'s @{upstream} for existing branches, origin/<base> for new branches off a local base). Default false. On rebase conflicts the rebase is aborted; the worktree stays at its pre-rebase state and `rebase_succeeded: false` is surfaced.',
1331
1332
),
1332
-
'force' => array(
1333
+
'force'=> array(
1333
1334
'type' => 'boolean',
1334
1335
'description' => 'Explicitly bypass the disk-budget refusal threshold. The disk-budget report still appears in output so the override is visible.',
1335
1336
),
1336
-
'task_url' => array(
1337
+
'task_url'=> array(
1337
1338
'type' => 'string',
1338
1339
'description' => 'Optional task/issue URL (e.g. GitHub issue link) to record on the worktree for ownership/duplicate detection. Falls back to DATAMACHINE_TASK_URL env when omitted.',
1339
1340
),
1340
-
'task_ref' => array(
1341
+
'task_ref'=> array(
1341
1342
'type' => 'string',
1342
1343
'description' => 'Optional short task/issue reference (e.g. `org/repo#123`) recorded alongside task_url. Falls back to DATAMACHINE_TASK_REF env when omitted.',
1343
1344
),
@@ -2665,7 +2666,7 @@ public static function readFile( array $input ): array|\WP_Error {
0 commit comments