@@ -2007,6 +2007,10 @@ private function registerAbilities(): void {
20072007 'type ' => 'boolean ' ,
20082008 'description ' => 'With apply=true, schedule bounded metadata reconciliation page jobs instead of applying synchronously. ' ,
20092009 ),
2010+ 'repo ' => array (
2011+ 'type ' => 'string ' ,
2012+ 'description ' => 'Optional primary repo or worktree handle scope. When supplied, pagination, evidence, and writes are constrained to matching rows. ' ,
2013+ ),
20102014 'limit ' => array (
20112015 'type ' => 'integer ' ,
20122016 'description ' => 'Positive page size for bounded dry-run, direct apply, budgeted apply, or job-backed apply. ' ,
@@ -2060,6 +2064,10 @@ private function registerAbilities(): void {
20602064 'type ' => 'string ' ,
20612065 'description ' => 'Compact time budget for this report page, such as 60s or 10m. ' ,
20622066 ),
2067+ 'repo ' => array (
2068+ 'type ' => 'string ' ,
2069+ 'description ' => 'Optional primary repo or worktree handle scope. When supplied, pagination and evidence are constrained to matching rows. ' ,
2070+ ),
20632071 ),
20642072 ),
20652073 'output_schema ' => array (
@@ -2103,6 +2111,10 @@ private function registerAbilities(): void {
21032111 'type ' => 'string ' ,
21042112 'description ' => 'Compact time budget for the underlying active_no_signal report page, such as 60s or 10m. ' ,
21052113 ),
2114+ 'repo ' => array (
2115+ 'type ' => 'string ' ,
2116+ 'description ' => 'Optional primary repo or worktree handle scope. When supplied, pagination, evidence, and writes are constrained to matching rows. ' ,
2117+ ),
21062118 ),
21072119 ),
21082120 'output_schema ' => array (
@@ -2147,6 +2159,10 @@ private function registerAbilities(): void {
21472159 'type ' => 'string ' ,
21482160 'description ' => 'Compact time budget for the underlying active_no_signal report page, such as 60s or 10m. ' ,
21492161 ),
2162+ 'repo ' => array (
2163+ 'type ' => 'string ' ,
2164+ 'description ' => 'Optional primary repo or worktree handle scope. When supplied, pagination, evidence, and writes are constrained to matching rows. ' ,
2165+ ),
21502166 ),
21512167 ),
21522168 'output_schema ' => array (
@@ -2191,6 +2207,10 @@ private function registerAbilities(): void {
21912207 'type ' => 'string ' ,
21922208 'description ' => 'Compact time budget for the underlying active_no_signal report page, such as 60s or 10m. ' ,
21932209 ),
2210+ 'repo ' => array (
2211+ 'type ' => 'string ' ,
2212+ 'description ' => 'Optional primary repo or worktree handle scope. When supplied, pagination, evidence, and writes are constrained to matching rows. ' ,
2213+ ),
21942214 ),
21952215 ),
21962216 'output_schema ' => array (
@@ -2235,6 +2255,10 @@ private function registerAbilities(): void {
22352255 'type ' => 'string ' ,
22362256 'description ' => 'Compact time budget for the underlying active_no_signal report page, such as 60s or 10m. ' ,
22372257 ),
2258+ 'repo ' => array (
2259+ 'type ' => 'string ' ,
2260+ 'description ' => 'Optional primary repo or worktree handle scope. When supplied, pagination, evidence, and writes are constrained to matching rows. ' ,
2261+ ),
22382262 ),
22392263 ),
22402264 'output_schema ' => array (
@@ -2292,6 +2316,10 @@ private function registerAbilities(): void {
22922316 'type ' => 'string ' ,
22932317 'description ' => 'Caller source marker forwarded to underlying cleanup abilities. ' ,
22942318 ),
2319+ 'repo ' => array (
2320+ 'type ' => 'string ' ,
2321+ 'description ' => 'Optional primary repo or worktree handle scope forwarded to underlying paginated cleanup abilities. ' ,
2322+ ),
22952323 ),
22962324 ),
22972325 'output_schema ' => array (
@@ -4262,6 +4290,9 @@ public static function worktreeReconcileMetadata( array $input ): array|\WP_Erro
42624290 if ( isset ($ input ['source ' ]) && '' !== trim ( (string ) $ input ['source ' ]) ) {
42634291 $ opts ['source ' ] = trim ( (string ) $ input ['source ' ]);
42644292 }
4293+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4294+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4295+ }
42654296
42664297 return $ workspace ->worktree_reconcile_metadata ($ opts );
42674298 }
@@ -4284,6 +4315,9 @@ public static function worktreeActiveNoSignalReport( array $input ): array|\WP_E
42844315 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
42854316 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
42864317 }
4318+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4319+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4320+ }
42874321
42884322 return $ workspace ->worktree_active_no_signal_report ($ opts );
42894323 }
@@ -4308,6 +4342,9 @@ public static function worktreeActiveNoSignalFinalizedApply( array $input ): arr
43084342 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43094343 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43104344 }
4345+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4346+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4347+ }
43114348
43124349 return $ workspace ->worktree_active_no_signal_finalized_apply ($ opts );
43134350 }
@@ -4332,6 +4369,9 @@ public static function worktreeActiveNoSignalEquivalentCleanApply( array $input
43324369 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43334370 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43344371 }
4372+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4373+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4374+ }
43354375
43364376 return $ workspace ->worktree_active_no_signal_equivalent_clean_apply ($ opts );
43374377 }
@@ -4356,6 +4396,9 @@ public static function worktreeActiveNoSignalMergedApply( array $input ): array|
43564396 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43574397 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43584398 }
4399+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4400+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4401+ }
43594402
43604403 return $ workspace ->worktree_active_no_signal_merged_apply ($ opts );
43614404 }
@@ -4380,6 +4423,9 @@ public static function worktreeActiveNoSignalRemoteCleanApply( array $input ): a
43804423 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43814424 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43824425 }
4426+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4427+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4428+ }
43834429
43844430 return $ workspace ->worktree_active_no_signal_remote_clean_apply ($ opts );
43854431 }
0 commit comments