@@ -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 (
@@ -2296,6 +2320,10 @@ private function registerAbilities(): void {
22962320 'type ' => 'string ' ,
22972321 'description ' => 'Caller source marker forwarded to underlying cleanup abilities. ' ,
22982322 ),
2323+ 'repo ' => array (
2324+ 'type ' => 'string ' ,
2325+ 'description ' => 'Optional primary repo or worktree handle scope forwarded to underlying paginated cleanup abilities. ' ,
2326+ ),
22992327 ),
23002328 ),
23012329 'output_schema ' => array (
@@ -4270,6 +4298,9 @@ public static function worktreeReconcileMetadata( array $input ): array|\WP_Erro
42704298 if ( isset ($ input ['source ' ]) && '' !== trim ( (string ) $ input ['source ' ]) ) {
42714299 $ opts ['source ' ] = trim ( (string ) $ input ['source ' ]);
42724300 }
4301+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4302+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4303+ }
42734304
42744305 return $ workspace ->worktree_reconcile_metadata ($ opts );
42754306 }
@@ -4292,6 +4323,9 @@ public static function worktreeActiveNoSignalReport( array $input ): array|\WP_E
42924323 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
42934324 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
42944325 }
4326+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4327+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4328+ }
42954329
42964330 return $ workspace ->worktree_active_no_signal_report ($ opts );
42974331 }
@@ -4316,6 +4350,9 @@ public static function worktreeActiveNoSignalFinalizedApply( array $input ): arr
43164350 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43174351 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43184352 }
4353+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4354+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4355+ }
43194356
43204357 return $ workspace ->worktree_active_no_signal_finalized_apply ($ opts );
43214358 }
@@ -4340,6 +4377,9 @@ public static function worktreeActiveNoSignalEquivalentCleanApply( array $input
43404377 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43414378 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43424379 }
4380+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4381+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4382+ }
43434383
43444384 return $ workspace ->worktree_active_no_signal_equivalent_clean_apply ($ opts );
43454385 }
@@ -4364,6 +4404,9 @@ public static function worktreeActiveNoSignalMergedApply( array $input ): array|
43644404 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43654405 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43664406 }
4407+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4408+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4409+ }
43674410
43684411 return $ workspace ->worktree_active_no_signal_merged_apply ($ opts );
43694412 }
@@ -4388,6 +4431,9 @@ public static function worktreeActiveNoSignalRemoteCleanApply( array $input ): a
43884431 if ( isset ($ input ['until_budget ' ]) && '' !== trim ( (string ) $ input ['until_budget ' ]) ) {
43894432 $ opts ['until_budget ' ] = trim ( (string ) $ input ['until_budget ' ]);
43904433 }
4434+ if ( isset ($ input ['repo ' ]) && '' !== trim ( (string ) $ input ['repo ' ]) ) {
4435+ $ opts ['repo ' ] = trim ( (string ) $ input ['repo ' ]);
4436+ }
43914437
43924438 return $ workspace ->worktree_active_no_signal_remote_clean_apply ($ opts );
43934439 }
0 commit comments