@staff0rd/assist 0.1188.0 → 0.1189.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/dist/.build-files +173 -174
  2. package/dist/{acceptanceCriteria-BTQDLULJ.js → acceptanceCriteria-Z7IS3JQO.js} +1 -1
  3. package/dist/{add-MZCK3R75.js → add-R7G76G7G.js} +3 -3
  4. package/dist/{addActivity-IJ7GPTGZ.js → addActivity-UKZ2MJZY.js} +6 -6
  5. package/dist/{addPhase-ORSNDH7W.js → addPhase-N73554MQ.js} +9 -9
  6. package/dist/{advise-ZVSZMEXH.js → advise-XBZMABJX.js} +7 -7
  7. package/dist/{ask-U5DHNRPN.js → ask-PLVOYYSQ.js} +5 -5
  8. package/dist/{askCheck-A2XWWDWT.js → askCheck-3JRXFKWA.js} +12 -12
  9. package/dist/{askDesign-WMNM7RLO.js → askDesign-JEJFPAEZ.js} +7 -7
  10. package/dist/{askQuestion-HH2PCX3D.js → askQuestion-QRQSYRXK.js} +4 -4
  11. package/dist/{associateGithub-C6SLR3UC.js → associateGithub-3QPKQWBG.js} +4 -3
  12. package/dist/{associateJira-WOGV7V3U.js → associateJira-WE6KVOXN.js} +1 -1
  13. package/dist/{branch-ALJBAHML.js → branch-I7ECHXRK.js} +7 -8
  14. package/dist/built-version +1 -1
  15. package/dist/{check-QRHG4J7G.js → check-ID7FFCHZ.js} +3 -3
  16. package/dist/{chunk-ORSRBZ2X.js → chunk-2T5HRFWP.js} +1 -1
  17. package/dist/{chunk-XY5OS2GH.js → chunk-4AZGXA6X.js} +1 -1
  18. package/dist/{chunk-LSBUNT4X.js → chunk-5Q7MUHCK.js} +4 -3
  19. package/dist/{chunk-PDXOHW2M.js → chunk-5QXAQCAJ.js} +2 -2
  20. package/dist/{chunk-SSRDOW3C.js → chunk-5S5DDD5H.js} +1 -1
  21. package/dist/{chunk-ND2FWXCR.js → chunk-627BOMSN.js} +1 -1
  22. package/dist/{chunk-OZTCLQ2P.js → chunk-6SKKK2RR.js} +1 -1
  23. package/dist/{chunk-UZCVA7F5.js → chunk-7EBZ3T5F.js} +9 -9
  24. package/dist/{chunk-66T4P3GU.js → chunk-A27F2WNF.js} +1 -1
  25. package/dist/{chunk-HPV2ZVOX.js → chunk-BOXQXHJ3.js} +1 -1
  26. package/dist/{chunk-7DSWCPDZ.js → chunk-C5FRRC73.js} +1 -1
  27. package/dist/{chunk-RVABNGZW.js → chunk-CDDJAXEJ.js} +13 -16
  28. package/dist/{chunk-CPJ3KOSP.js → chunk-D24GLTCK.js} +1 -1
  29. package/dist/{chunk-DIAC4XYA.js → chunk-DP5YM3WJ.js} +1 -1
  30. package/dist/{chunk-HCANRBFK.js → chunk-DPHNPX75.js} +1 -1
  31. package/dist/{chunk-ZKH6WPY5.js → chunk-DQUUWYB3.js} +6 -2
  32. package/dist/{chunk-RYYZPXIG.js → chunk-EH45Y7OB.js} +1 -1
  33. package/dist/{chunk-WGDN4CNI.js → chunk-EOUZVOHM.js} +1 -1
  34. package/dist/{chunk-SN2GTNL4.js → chunk-EQZXAFIP.js} +1 -1
  35. package/dist/{chunk-XXUZRL3Q.js → chunk-ETL3RMC4.js} +2 -2
  36. package/dist/{chunk-IT5MTJVS.js → chunk-FBKXEMIP.js} +1 -1
  37. package/dist/{chunk-DZBGDSCK.js → chunk-FGCGH2CT.js} +1 -1
  38. package/dist/{chunk-SSOJWOYS.js → chunk-FKM6PT3Q.js} +1 -1
  39. package/dist/{chunk-6SOPR77J.js → chunk-G5GN2KBP.js} +1 -1
  40. package/dist/{chunk-6ON5FZRW.js → chunk-G7UI2W7U.js} +1 -1
  41. package/dist/{chunk-JH524KAM.js → chunk-HBEQCMHL.js} +2 -2
  42. package/dist/{chunk-RSSSZURM.js → chunk-HCSEDZIN.js} +1 -1
  43. package/dist/{chunk-AUATODOI.js → chunk-HEFN57NV.js} +21 -11
  44. package/dist/{chunk-DISNKALJ.js → chunk-HR7HIPYM.js} +2 -2
  45. package/dist/{chunk-UGICWHVH.js → chunk-HXWJKXQQ.js} +1 -1
  46. package/dist/{chunk-F42QFS5Z.js → chunk-IFMJH2XY.js} +2 -2
  47. package/dist/{chunk-3THS5WUD.js → chunk-IOAF6P3G.js} +1 -1
  48. package/dist/{chunk-PNDUTAZR.js → chunk-IS5SG2SN.js} +6 -6
  49. package/dist/{chunk-6VCFPUNV.js → chunk-IXDML4IQ.js} +9 -9
  50. package/dist/{chunk-XTQP2MUZ.js → chunk-JDYC4JZQ.js} +1 -1
  51. package/dist/{chunk-WXAG6MRL.js → chunk-JJKRUHWS.js} +1 -1
  52. package/dist/{chunk-QQDELJQD.js → chunk-JS2XXDJN.js} +4 -4
  53. package/dist/{chunk-VAGZIGNN.js → chunk-JUVR4JSY.js} +1 -1
  54. package/dist/{chunk-QQVNL74P.js → chunk-K5JPUERO.js} +1 -1
  55. package/dist/{chunk-FJLEKQLN.js → chunk-KMLHCI35.js} +11 -3
  56. package/dist/{chunk-E2IZIDQ3.js → chunk-LMGUZFL5.js} +3 -3
  57. package/dist/{chunk-5MJTFJGT.js → chunk-LQFDAJIS.js} +1 -1
  58. package/dist/{chunk-UNIH25QO.js → chunk-MD6T7L6G.js} +1 -1
  59. package/dist/{chunk-ANCYNQJA.js → chunk-MPY2OF65.js} +3 -3
  60. package/dist/{chunk-JW6QOUMN.js → chunk-NT7WJQ6X.js} +1 -1
  61. package/dist/{chunk-NA7DJG7B.js → chunk-O3YZV2FA.js} +1 -1
  62. package/dist/{chunk-M6MAQU3Z.js → chunk-P7SERZI6.js} +1 -1
  63. package/dist/{chunk-FZDQG67V.js → chunk-PCJ25T4O.js} +2 -2
  64. package/dist/{chunk-KTUSVJW3.js → chunk-POV5HHVD.js} +2 -2
  65. package/dist/{chunk-5UX4ZTFR.js → chunk-PPPKJV3H.js} +8 -11
  66. package/dist/{chunk-ZDWZ2VI3.js → chunk-PS3TSUFD.js} +1 -1
  67. package/dist/{chunk-7NPZZRMK.js → chunk-PVJZDW3D.js} +4 -4
  68. package/dist/{chunk-QFY6KBY4.js → chunk-PXXN6TT2.js} +2 -2
  69. package/dist/{chunk-6GYYLGSL.js → chunk-QADVHG7P.js} +1 -1
  70. package/dist/{chunk-D454WT4M.js → chunk-QO3TSFL2.js} +1 -1
  71. package/dist/{chunk-XDIVXGPQ.js → chunk-R62CNGZO.js} +7 -13
  72. package/dist/{chunk-2HT3GIJD.js → chunk-SO3IBV6J.js} +9 -5
  73. package/dist/{chunk-AFN4FULQ.js → chunk-UC5YRU4P.js} +5 -8
  74. package/dist/{chunk-YJL4PXQB.js → chunk-UNQHDBU5.js} +2 -2
  75. package/dist/{chunk-HCYTW3DN.js → chunk-USXVRG3R.js} +2 -2
  76. package/dist/{chunk-4QF7YVZ5.js → chunk-UT4KBNN4.js} +3 -3
  77. package/dist/{chunk-TM3TO23X.js → chunk-VLJWAMAH.js} +2 -2
  78. package/dist/{chunk-26ZJFULO.js → chunk-WNX2SQIT.js} +2 -2
  79. package/dist/{chunk-VVN4TAH6.js → chunk-XCMXBJ67.js} +2 -2
  80. package/dist/{chunk-LKRWILE6.js → chunk-YO266JVW.js} +1 -1
  81. package/dist/{chunk-7TAUUXVY.js → chunk-YTUCNHG7.js} +1 -1
  82. package/dist/{chunk-NE4V3VA5.js → chunk-Z7CPIHXT.js} +1 -1
  83. package/dist/{chunk-QYYVW7BX.js → chunk-ZNA4X3WZ.js} +2 -2
  84. package/dist/{chunk-N3QOIXVQ.js → chunk-ZQCL465S.js} +2 -2
  85. package/dist/{chunk-SY4PNEQP.js → chunk-ZQGAGLBO.js} +2 -2
  86. package/dist/{chunk-BFQSGIN6.js → chunk-ZRIBI33P.js} +1 -1
  87. package/dist/{chunk-C6WGPBBN.js → chunk-ZWPML4IH.js} +1 -1
  88. package/dist/{cliHook-2K2PQZOJ.js → cliHook-73D3GLQ6.js} +10 -10
  89. package/dist/{cliHookCheck-AWYDTDE5.js → cliHookCheck-PMQBVFAV.js} +5 -5
  90. package/dist/{codeCommentSet-PHABBDQP.js → codeCommentSet-PI3AKFET.js} +4 -4
  91. package/dist/{codexHook-HLMVUPGF.js → codexHook-WGJ4XIVO.js} +12 -12
  92. package/dist/{codexHookTrust-YYBCCR7P.js → codexHookTrust-2IW2D4XD.js} +2 -2
  93. package/dist/commands/sessions/web/bundle.js +1 -1
  94. package/dist/{comment-O7CAONH7.js → comment-5VFL65DI.js} +8 -8
  95. package/dist/{commentIssue-4IYYW234.js → commentIssue-JQCEL3GH.js} +5 -5
  96. package/dist/{commit-TMVTH55J.js → commit-UBFHBWPL.js} +63 -50
  97. package/dist/coverage-FZKHWD7V.js +30 -0
  98. package/dist/{createIssue-TDZZAPQQ.js → createIssue-ZEZ4APQ7.js} +7 -7
  99. package/dist/{docsUnlock-27IXZHHP.js → docsUnlock-JTCIE32Q.js} +5 -5
  100. package/dist/{doctorNodes-J65UAEA6.js → doctorNodes-5ELOM4GO.js} +3 -3
  101. package/dist/{done-3VAD7V2R.js → done-YSG44MAX.js} +7 -7
  102. package/dist/{edit-R2ZKDIGP.js → edit-CGFJYKXA.js} +6 -6
  103. package/dist/{editHook-S6MCRMW4.js → editHook-LIRUJTEJ.js} +10 -10
  104. package/dist/{editIssue-RBWIZISY.js → editIssue-X4C4ULTM.js} +7 -7
  105. package/dist/{editIssueComment-3E3SBBJE.js → editIssueComment-L6RLH4GX.js} +8 -8
  106. package/dist/{fixConflict-ORCRRXKK.js → fixConflict-5JCFZ2XI.js} +6 -6
  107. package/dist/{fixed-Y4CY77XC.js → fixed-URDHVG6F.js} +8 -9
  108. package/dist/index.js +119 -119
  109. package/dist/{init-TXWUSTMQ.js → init-IIKNVPHD.js} +1 -1
  110. package/dist/{init-TNGZPSA5.js → init-NWHLIEFT.js} +2 -2
  111. package/dist/{inspect-PFLCMDPC.js → inspect-6WWA6KRF.js} +26 -18
  112. package/dist/{jiraAuth-4Z5EVL7A.js → jiraAuth-WYWRFU44.js} +10 -6
  113. package/dist/{launchMode-V5JZGAQP.js → launchMode-OWNRIQDE.js} +20 -21
  114. package/dist/{lint-5AA42LMF.js → lint-6VLQFO4Y.js} +3 -3
  115. package/dist/{list-Y6M6QQTB.js → list-HK2TLDFA.js} +1 -2
  116. package/dist/{list-ZX7F2OVV.js → list-UISZTO6R.js} +8 -8
  117. package/dist/{listComments-CTM5UMWI.js → listComments-JOZBDVEL.js} +5 -5
  118. package/dist/{migrate-DLSTMFQW.js → migrate-ZHCPLIYA.js} +18 -11
  119. package/dist/{migrations-SJDOA65U.js → migrations-RCUFQMKT.js} +7 -6
  120. package/dist/{newCli-4FUEKQTH.js → newCli-4TOKKGIR.js} +28 -20
  121. package/dist/{newProject-UG7JLZE5.js → newProject-XYIY27BQ.js} +1 -1
  122. package/dist/{next-MUFPBSR3.js → next-B2BBVZPZ.js} +19 -20
  123. package/dist/{next-LYYOYPYK.js → next-R4LL53TW.js} +1 -1
  124. package/dist/{noVenv-DONW2S6P.js → noVenv-5SN25UJR.js} +4 -3
  125. package/dist/{notify-ZCHPP6ME.js → notify-ZLGE4CCO.js} +3 -3
  126. package/dist/{permitCliReads-6FVIMWRO.js → permitCliReads-LPRVXYMU.js} +3 -3
  127. package/dist/{phaseDone-RP54LWOJ.js → phaseDone-YJAHCOSB.js} +8 -8
  128. package/dist/{piHook-RPXIGRLL.js → piHook-I3ZWJEB7.js} +10 -10
  129. package/dist/{postSlackMessage-USP3GJV3.js → postSlackMessage-LCK42KAO.js} +5 -5
  130. package/dist/{printComments-7ROHUEPO.js → printComments-EMV3SE6H.js} +3 -3
  131. package/dist/{propose-AA5ND2CO.js → propose-OCR3WXJK.js} +10 -10
  132. package/dist/{prs-2SRUKVTI.js → prs-RSBCBF4N.js} +17 -5
  133. package/dist/{prsStatus-6G3ZTK36.js → prsStatus-AEZDQ4HE.js} +17 -5
  134. package/dist/{pullIfConfigured-ATTGJC3C.js → pullIfConfigured-AJ6X5WXS.js} +1 -1
  135. package/dist/{raise-BUPAYCZY.js → raise-SJ5JLPBS.js} +20 -16
  136. package/dist/{ravendbAuth-QCLMPEJ3.js → ravendbAuth-SDXPMPDN.js} +5 -5
  137. package/dist/{ravendbCollections-L4H5PMFE.js → ravendbCollections-DLILEMS5.js} +1 -1
  138. package/dist/{ravendbQuery-Z4HJQ2MU.js → ravendbQuery-V3EUJBF3.js} +1 -1
  139. package/dist/{readTime-HERHP2II.js → readTime-ZEHDGH7D.js} +11 -7
  140. package/dist/{refine-B5J2AJSZ.js → refine-7U4G6XCC.js} +21 -22
  141. package/dist/{releasesConfigure-7OOTDLID.js → releasesConfigure-UZEGE5B6.js} +2 -2
  142. package/dist/{reply-GTYV733P.js → reply-VL6NV6IF.js} +9 -9
  143. package/dist/{resolveHarness-ADZRYQZA.js → resolveHarness-CRWWVE4U.js} +2 -2
  144. package/dist/{resolveModel-2OGVGUM3.js → resolveModel-2I3SVZKR.js} +2 -2
  145. package/dist/{restartNode-LKXFQH7A.js → restartNode-7UBTJEIK.js} +5 -5
  146. package/dist/{restructure-OGGDZTXX.js → restructure-S6KIV6TM.js} +2 -2
  147. package/dist/{review-5635HCXL.js → review-76EOEYFP.js} +76 -44
  148. package/dist/{reviewPrComments-E5Y5AQ7D.js → reviewPrComments-KV5QES7A.js} +6 -6
  149. package/dist/{rewindPhase-S6NGWRFK.js → rewindPhase-TCQMOWKB.js} +11 -11
  150. package/dist/{rulesAdd-75UVUUDX.js → rulesAdd-DR25M5KY.js} +5 -5
  151. package/dist/{run-ZRNTAO7O.js → run-D7UQIGJU.js} +17 -18
  152. package/dist/{run-TSPTUSMX.js → run-DRGU5WNL.js} +16 -17
  153. package/dist/{runDaemon-MKBJQQQD.js → runDaemon-DFIENXL3.js} +58 -43
  154. package/dist/{runExtract-ALNQ3I3T.js → runExtract-7H2MKKFQ.js} +4 -4
  155. package/dist/{runParallelPhase-V2LPUTA3.js → runParallelPhase-6GQMW5NT.js} +10 -10
  156. package/dist/{runRefine-DSGHXEKJ.js → runRefine-K764J34T.js} +22 -23
  157. package/dist/{runScope-YQ4HHYKE.js → runScope-3HBSV5JL.js} +6 -7
  158. package/dist/{scan-A4DFCQZJ.js → scan-YJDDBQHO.js} +4 -4
  159. package/dist/{schemaConfirm-UDCEVEA7.js → schemaConfirm-LGQZ6P26.js} +5 -5
  160. package/dist/{schemaLock-4VUXSRRD.js → schemaLock-7M77VOHT.js} +5 -5
  161. package/dist/{schemaUnlock-QZRZFQJ4.js → schemaUnlock-MNFBCAYL.js} +8 -8
  162. package/dist/{screenshot-WDAF3QYG.js → screenshot-LWB5RY43.js} +14 -3
  163. package/dist/{search-XUG36ZL2.js → search-6HQCNWYZ.js} +8 -8
  164. package/dist/{show-WD57SDPL.js → show-GUW62FKK.js} +6 -6
  165. package/dist/{show-INQEZ755.js → show-IWLHTZEP.js} +6 -6
  166. package/dist/{signExtension-3GB33JGZ.js → signExtension-LYNKTDHS.js} +1 -1
  167. package/dist/{slack-DX2FRJ7S.js → slack-VILAGICW.js} +5 -5
  168. package/dist/{startIssue-MAZ7G4IH.js → startIssue-RIWXAHMV.js} +4 -4
  169. package/dist/{sync-TZRANWCY.js → sync-YJJ7WQJ6.js} +3 -3
  170. package/dist/{unassignIssue-OXNUC2QQ.js → unassignIssue-3CHBWPCW.js} +4 -4
  171. package/dist/{updateNode-ZOKPR26K.js → updateNode-FLPQ72DN.js} +5 -5
  172. package/dist/{updatePlan-PYKAHGKE.js → updatePlan-QZVWDL2U.js} +9 -9
  173. package/dist/{version-W7VP7LDJ.js → version-5K75T67C.js} +1 -1
  174. package/dist/{viewIssue-CYHIPCFO.js → viewIssue-N6W53LSK.js} +1 -1
  175. package/dist/{web-QATICXWA.js → web-W5KEZESL.js} +20 -20
  176. package/dist/{web-H4VA5QZT.js → web-ZUASK5RP.js} +20 -20
  177. package/dist/{wontfix-W2DXPEE4.js → wontfix-XV5XJADI.js} +12 -12
  178. package/package.json +1 -1
  179. package/dist/chunk-3OMKOT6D.js +0 -14
  180. package/dist/coverage-G7J25BUX.js +0 -17
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  harnesses
3
- } from "./chunk-XDIVXGPQ.js";
3
+ } from "./chunk-R62CNGZO.js";
4
4
 
5
5
  // src/commands/sync/syncPiHooks.ts
6
6
  import * as fs from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getRepoInfo
3
- } from "./chunk-2HT3GIJD.js";
3
+ } from "./chunk-SO3IBV6J.js";
4
4
  import {
5
5
  parseRepoSlug
6
6
  } from "./chunk-YIBSK5OC.js";
@@ -27,7 +27,7 @@ import {
27
27
  import chalk12 from "chalk";
28
28
 
29
29
  // src/commands/verify/installPackage.ts
30
- import { execSync } from "child_process";
30
+ import { execFileSync } from "child_process";
31
31
  import { writeFileSync } from "fs";
32
32
  import chalk from "chalk";
33
33
  function writePackageJson(filePath, pkg) {
@@ -46,7 +46,11 @@ function addScript(pkg, name, command) {
46
46
  function installPackage(name, cwd) {
47
47
  console.log(chalk.dim(`Installing ${name}...`));
48
48
  try {
49
- execSync(`npm install -D ${name}`, { stdio: "inherit", cwd });
49
+ execFileSync("npm", ["install", "-D", name], {
50
+ stdio: "inherit",
51
+ cwd,
52
+ shell: process.platform === "win32"
53
+ });
50
54
  return true;
51
55
  } catch {
52
56
  console.error(chalk.red(`Failed to install ${name}`));
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@staff0rd/assist",
4
- version: "0.1188.0",
4
+ version: "0.1189.1",
5
5
  type: "module",
6
6
  main: "dist/index.js",
7
7
  bin: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hasOpenPhaseUnlock
3
- } from "./chunk-ZDWZ2VI3.js";
3
+ } from "./chunk-PS3TSUFD.js";
4
4
  import {
5
5
  resolveSessionItemId
6
6
  } from "./chunk-FPWL4VRC.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-HPV2ZVOX.js";
3
+ } from "./chunk-BOXQXHJ3.js";
4
4
  import {
5
5
  phaseSessions
6
6
  } from "./chunk-ZZVYRC77.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MRUIXQXS.js";
4
4
  import {
5
5
  piExtensionsDir
6
- } from "./chunk-DIAC4XYA.js";
6
+ } from "./chunk-DP5YM3WJ.js";
7
7
  import {
8
8
  readLitellmConfig
9
9
  } from "./chunk-5SXNWSSH.js";
@@ -32,7 +32,7 @@ import {
32
32
  checkCliAvailable,
33
33
  harnesses,
34
34
  isHarnessAvailable
35
- } from "./chunk-XDIVXGPQ.js";
35
+ } from "./chunk-R62CNGZO.js";
36
36
  import {
37
37
  declaredNode
38
38
  } from "./chunk-5QM5VR3J.js";
@@ -14,7 +14,7 @@ import {
14
14
  isHello,
15
15
  linkVersionCheck,
16
16
  negotiateProtocol
17
- } from "./chunk-SSRDOW3C.js";
17
+ } from "./chunk-5S5DDD5H.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  harnessAdapter
3
- } from "./chunk-XXUZRL3Q.js";
3
+ } from "./chunk-ETL3RMC4.js";
4
4
  import {
5
5
  resolveCapability
6
6
  } from "./chunk-GNNMJOUE.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-F4XCHVD7.js";
10
10
  import {
11
11
  REVIEW_PHASE_NAME
12
- } from "./chunk-HPV2ZVOX.js";
12
+ } from "./chunk-BOXQXHJ3.js";
13
13
  import {
14
14
  serializeManualChecks
15
15
  } from "./chunk-QNVYNVAM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  activeHarness
3
- } from "./chunk-BFQSGIN6.js";
3
+ } from "./chunk-ZRIBI33P.js";
4
4
 
5
5
  // src/lib/isAgentHarness.ts
6
6
  function isAgentHarness() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  awaitPreviewApproval
3
- } from "./chunk-CPJ3KOSP.js";
3
+ } from "./chunk-D24GLTCK.js";
4
4
 
5
5
  // src/commands/prs/reviewProposedPrComment.ts
6
6
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveReviewPhase
3
- } from "./chunk-5MJTFJGT.js";
3
+ } from "./chunk-LQFDAJIS.js";
4
4
  import {
5
5
  resolvePlan
6
- } from "./chunk-QQVNL74P.js";
6
+ } from "./chunk-K5JPUERO.js";
7
7
 
8
8
  // src/commands/backlog/resolveRewindPlan.ts
9
9
  function resolveRewindPlan(item) {
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-LKDW2GWH.js";
28
28
  import {
29
29
  loginShellCommand
30
- } from "./chunk-XXUZRL3Q.js";
30
+ } from "./chunk-ETL3RMC4.js";
31
31
  import {
32
32
  daemonLog
33
33
  } from "./chunk-MRUIXQXS.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  resolveEntries
3
- } from "./chunk-FJLEKQLN.js";
3
+ } from "./chunk-KMLHCI35.js";
4
4
  import {
5
5
  tryGit
6
- } from "./chunk-ANCYNQJA.js";
6
+ } from "./chunk-MPY2OF65.js";
7
7
  import {
8
8
  isAgentHarness
9
- } from "./chunk-6SOPR77J.js";
9
+ } from "./chunk-G5GN2KBP.js";
10
10
  import {
11
11
  expandEnv
12
12
  } from "./chunk-L363MNYZ.js";
@@ -47,7 +47,7 @@ function ignoreUnreachableDaemon() {
47
47
  import { minimatch } from "minimatch";
48
48
 
49
49
  // src/commands/verify/run/getChangedFiles.ts
50
- import { execSync } from "child_process";
50
+ import { execFileSync } from "child_process";
51
51
 
52
52
  // src/commands/verify/run/remoteDefaultRef.ts
53
53
  function configuredDefaultBranch() {
@@ -58,7 +58,12 @@ function configuredDefaultBranch() {
58
58
  }
59
59
  }
60
60
  function originHeadBranch() {
61
- const head = tryGit("symbolic-ref --quiet --short refs/remotes/origin/HEAD");
61
+ const head = tryGit(
62
+ "symbolic-ref",
63
+ "--quiet",
64
+ "--short",
65
+ "refs/remotes/origin/HEAD"
66
+ );
62
67
  return head?.startsWith("origin/") ? head.slice("origin/".length) : void 0;
63
68
  }
64
69
  function remoteDefaultRef() {
@@ -70,15 +75,15 @@ function remoteDefaultRef() {
70
75
  ].filter((branch) => Boolean(branch));
71
76
  for (const branch of new Set(branches)) {
72
77
  const ref = `origin/${branch}`;
73
- if (tryGit(`rev-parse --verify --quiet ${ref}^{commit}`) !== null)
78
+ if (tryGit("rev-parse", "--verify", "--quiet", `${ref}^{commit}`) !== null)
74
79
  return ref;
75
80
  }
76
81
  return null;
77
82
  }
78
83
 
79
84
  // src/commands/verify/run/getChangedFiles.ts
80
- function gitLines(args) {
81
- const output = execSync(`git ${args}`, {
85
+ function gitLines(...args) {
86
+ const output = execFileSync("git", args, {
82
87
  encoding: "utf8",
83
88
  stdio: ["pipe", "pipe", "pipe"]
84
89
  }).trim();
@@ -88,15 +93,20 @@ function diffBase() {
88
93
  const ref = remoteDefaultRef();
89
94
  if (!ref) return "HEAD";
90
95
  try {
91
- return gitLines(`merge-base ${ref} HEAD`)[0] ?? "HEAD";
96
+ return gitLines("merge-base", ref, "HEAD")[0] ?? "HEAD";
92
97
  } catch {
93
98
  return "HEAD";
94
99
  }
95
100
  }
96
101
  function getChangedFiles() {
97
- const tracked = gitLines(`diff --name-only ${diffBase()}`);
102
+ const tracked = gitLines("diff", "--name-only", diffBase());
98
103
  const untracked = gitLines(
99
- "ls-files --others --exclude-standard --full-name -- :/"
104
+ "ls-files",
105
+ "--others",
106
+ "--exclude-standard",
107
+ "--full-name",
108
+ "--",
109
+ ":/"
100
110
  );
101
111
  return [.../* @__PURE__ */ new Set([...tracked, ...untracked])];
102
112
  }
@@ -7,10 +7,10 @@ function parseGitHubUrl(url) {
7
7
  }
8
8
 
9
9
  // src/commands/prs/getPreferredRemoteRepo.ts
10
- import { execSync } from "child_process";
10
+ import { execFileSync, execSync } from "child_process";
11
11
  function tryGetRemoteUrl(remote, cwd) {
12
12
  try {
13
- return execSync(`git remote get-url ${remote}`, {
13
+ return execFileSync("git", ["remote", "get-url", remote], {
14
14
  encoding: "utf8",
15
15
  stdio: ["pipe", "pipe", "pipe"],
16
16
  windowsHide: true,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-HPV2ZVOX.js";
3
+ } from "./chunk-BOXQXHJ3.js";
4
4
 
5
5
  // src/commands/backlog/authoredPhases.ts
6
6
  function authoredPhases(plan) {
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-FPWL4VRC.js";
7
7
  import {
8
8
  harnessAdapter
9
- } from "./chunk-XXUZRL3Q.js";
9
+ } from "./chunk-ETL3RMC4.js";
10
10
  import {
11
11
  legacyDefaultHarness
12
12
  } from "./chunk-DUNO7WBT.js";
13
13
  import {
14
14
  activeHarness
15
- } from "./chunk-BFQSGIN6.js";
15
+ } from "./chunk-ZRIBI33P.js";
16
16
 
17
17
  // src/shared/currentExecutionIdentity.ts
18
18
  function currentExecutionIdentity(conversationId) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deliverPinNotification
3
- } from "./chunk-D454WT4M.js";
3
+ } from "./chunk-QO3TSFL2.js";
4
4
  import {
5
5
  sweepRestrictedDir
6
6
  } from "./chunk-JVG5AJA2.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  next
3
- } from "./chunk-E2IZIDQ3.js";
3
+ } from "./chunk-LMGUZFL5.js";
4
4
  import {
5
5
  pullIfConfigured
6
- } from "./chunk-6VCFPUNV.js";
6
+ } from "./chunk-IXDML4IQ.js";
7
7
  import {
8
8
  run
9
- } from "./chunk-5UX4ZTFR.js";
9
+ } from "./chunk-PPPKJV3H.js";
10
10
  import {
11
11
  launchBlocker
12
12
  } from "./chunk-AFQMD7AO.js";
@@ -15,7 +15,7 @@ import {
15
15
  readSignal,
16
16
  stopWatching,
17
17
  watchForMarker
18
- } from "./chunk-4QF7YVZ5.js";
18
+ } from "./chunk-UT4KBNN4.js";
19
19
  import {
20
20
  resumeNudge
21
21
  } from "./chunk-7NZOH4LN.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-4YAIQN3S.js";
32
32
  import {
33
33
  isBlocked
34
- } from "./chunk-ND2FWXCR.js";
34
+ } from "./chunk-627BOMSN.js";
35
35
  import {
36
36
  loadItemSummaries
37
37
  } from "./chunk-7KVL2L7Z.js";
@@ -49,7 +49,7 @@ import {
49
49
  } from "./chunk-N65VOEFI.js";
50
50
  import {
51
51
  harnessAdapter
52
- } from "./chunk-XXUZRL3Q.js";
52
+ } from "./chunk-ETL3RMC4.js";
53
53
 
54
54
  // src/commands/backlog/launchMode.ts
55
55
  import chalk3 from "chalk";
@@ -6,15 +6,15 @@ import {
6
6
  } from "./chunk-UFSOFNXQ.js";
7
7
 
8
8
  // src/shared/pullIfConfigured.ts
9
- import { execSync as execSync4 } from "child_process";
9
+ import { execSync as execSync3 } from "child_process";
10
10
  import chalk3 from "chalk";
11
11
 
12
12
  // src/shared/catchUpToRemoteDefault.ts
13
- import { execSync as execSync3 } from "child_process";
13
+ import { execSync as execSync2 } from "child_process";
14
14
  import chalk2 from "chalk";
15
15
 
16
16
  // src/shared/fastForwardTo.ts
17
- import { execSync as execSync2 } from "child_process";
17
+ import { execFileSync } from "child_process";
18
18
  import chalk from "chalk";
19
19
 
20
20
  // src/shared/waitForIndexUnlocked.ts
@@ -54,7 +54,7 @@ function fastForwardTo(ref) {
54
54
  for (let attempt = 1; ; attempt++) {
55
55
  waitForIndexUnlocked(LOCK_WAIT_MS);
56
56
  try {
57
- execSync2(`git merge --ff-only ${ref}`, {
57
+ execFileSync("git", ["merge", "--ff-only", ref], {
58
58
  stdio: ["inherit", "inherit", "pipe"]
59
59
  });
60
60
  return;
@@ -73,7 +73,7 @@ function fastForwardTo(ref) {
73
73
  // src/shared/catchUpToRemoteDefault.ts
74
74
  async function catchUpToRemoteDefault() {
75
75
  try {
76
- execSync3("git fetch", { stdio: "inherit" });
76
+ execSync2("git fetch", { stdio: "inherit" });
77
77
  } catch {
78
78
  skip("git fetch failed");
79
79
  return;
@@ -101,7 +101,7 @@ function skip(reason) {
101
101
  }
102
102
  function succeeds(command) {
103
103
  try {
104
- execSync3(command, { stdio: "ignore" });
104
+ execSync2(command, { stdio: "ignore" });
105
105
  return true;
106
106
  } catch {
107
107
  return false;
@@ -125,7 +125,7 @@ async function pullIfConfigured() {
125
125
  return;
126
126
  }
127
127
  try {
128
- execSync4("git fetch", { stdio: "inherit" });
128
+ execSync3("git fetch", { stdio: "inherit" });
129
129
  fastForwardTo("@{u}");
130
130
  } catch {
131
131
  console.error(chalk3.red("git fast-forward to upstream failed; aborting."));
@@ -134,7 +134,7 @@ async function pullIfConfigured() {
134
134
  }
135
135
  function hasUpstream() {
136
136
  try {
137
- execSync4("git rev-parse --abbrev-ref --symbolic-full-name @{upstream}", {
137
+ execSync3("git rev-parse --abbrev-ref --symbolic-full-name @{upstream}", {
138
138
  encoding: "utf8",
139
139
  stdio: ["ignore", "pipe", "ignore"]
140
140
  });
@@ -145,7 +145,7 @@ function hasUpstream() {
145
145
  }
146
146
  function hasLocalChanges() {
147
147
  try {
148
- const status = execSync4("git status --porcelain", {
148
+ const status = execSync3("git status --porcelain", {
149
149
  encoding: "utf8"
150
150
  });
151
151
  return status.trim().length > 0;
@@ -19,7 +19,7 @@ import {
19
19
  emptyScanUsage,
20
20
  harnessAdapter,
21
21
  scanUsageTokens
22
- } from "./chunk-XXUZRL3Q.js";
22
+ } from "./chunk-ETL3RMC4.js";
23
23
  import {
24
24
  inboxFeature
25
25
  } from "./chunk-LKZ7J5AK.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  awaitPreviewApproval
3
- } from "./chunk-CPJ3KOSP.js";
3
+ } from "./chunk-D24GLTCK.js";
4
4
 
5
5
  // src/commands/github/issue/reviewProposedIssueComment.ts
6
6
  import { randomUUID } from "crypto";
@@ -8,10 +8,10 @@ import {
8
8
  isDocsPath,
9
9
  isSchemaPath,
10
10
  mentionsDocsPath
11
- } from "./chunk-WGDN4CNI.js";
11
+ } from "./chunk-EOUZVOHM.js";
12
12
  import {
13
13
  isSchemaLocked
14
- } from "./chunk-ZDWZ2VI3.js";
14
+ } from "./chunk-PS3TSUFD.js";
15
15
  import {
16
16
  findBuiltinDenyRaw,
17
17
  findDeny,
@@ -21,7 +21,7 @@ import {
21
21
  isApprovedRead,
22
22
  resolvePermission,
23
23
  splitCompound
24
- } from "./chunk-SY4PNEQP.js";
24
+ } from "./chunk-ZQGAGLBO.js";
25
25
  import {
26
26
  inWebSession
27
27
  } from "./chunk-HKGCLAZ7.js";
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-XJTXAL22.js";
34
34
  import {
35
35
  defersPreviewWait
36
- } from "./chunk-M6MAQU3Z.js";
36
+ } from "./chunk-P7SERZI6.js";
37
37
  import {
38
38
  askQuestionEnabled
39
39
  } from "./chunk-IBPSXDUB.js";
@@ -3,7 +3,7 @@ import {
3
3
  currentAzureDevopsPr,
4
4
  failAzureDevops,
5
5
  invokeAzDevops
6
- } from "./chunk-XY5OS2GH.js";
6
+ } from "./chunk-4AZGXA6X.js";
7
7
 
8
8
  // src/commands/prs/azureDevops/azureDevopsThreadActions.ts
9
9
  function attempt(run) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-UGICWHVH.js";
3
+ } from "./chunk-HXWJKXQQ.js";
4
4
 
5
5
  // src/commands/backlog/resolvePlan.ts
6
6
  function resolvePlan(item) {
@@ -1,6 +1,3 @@
1
- import {
2
- shellQuote
3
- } from "./chunk-3OMKOT6D.js";
4
1
  import {
5
2
  runConfigBaseDir
6
3
  } from "./chunk-EITOI7YF.js";
@@ -18,6 +15,17 @@ import {
18
15
  // src/commands/verify/run/resolveEntries.ts
19
16
  import * as path3 from "path";
20
17
 
18
+ // src/shared/shellQuote.ts
19
+ function shellQuote(arg) {
20
+ if (/[^a-zA-Z0-9_./:=@%^+,-]/.test(arg)) {
21
+ if (process.platform === "win32") {
22
+ return `"${arg.replace(/"/g, String.raw`\"`)}"`;
23
+ }
24
+ return `'${arg.replace(/'/g, String.raw`'\''`)}'`;
25
+ }
26
+ return arg;
27
+ }
28
+
21
29
  // src/commands/verify/run/getRootEntries.ts
22
30
  import * as path from "path";
23
31
  function getRootEntries(baseDir, roots) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  pullIfConfigured
3
- } from "./chunk-6VCFPUNV.js";
3
+ } from "./chunk-IXDML4IQ.js";
4
4
  import {
5
5
  run
6
- } from "./chunk-5UX4ZTFR.js";
6
+ } from "./chunk-PPPKJV3H.js";
7
7
  import {
8
8
  isLockedByOther
9
9
  } from "./chunk-BXGPF3TG.js";
10
10
  import {
11
11
  isBlocked,
12
12
  typeLabel
13
- } from "./chunk-ND2FWXCR.js";
13
+ } from "./chunk-627BOMSN.js";
14
14
  import {
15
15
  loadBacklog
16
16
  } from "./chunk-KOA2T5AC.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-HPV2ZVOX.js";
3
+ } from "./chunk-BOXQXHJ3.js";
4
4
 
5
5
  // src/commands/backlog/buildReviewPhase.ts
6
6
  function buildReviewPhase() {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildDoctorProbes,
3
3
  diagnoseLink
4
- } from "./chunk-IT5MTJVS.js";
4
+ } from "./chunk-FBKXEMIP.js";
5
5
  import {
6
6
  findLinkSpec
7
7
  } from "./chunk-J2PPCMCR.js";
@@ -1,8 +1,8 @@
1
1
  // src/shared/tryGit.ts
2
- import { execSync } from "child_process";
3
- function tryGit(args) {
2
+ import { execFileSync } from "child_process";
3
+ function tryGit(...args) {
4
4
  try {
5
- return execSync(`git ${args}`, {
5
+ return execFileSync("git", args, {
6
6
  encoding: "utf8",
7
7
  stdio: ["pipe", "pipe", "pipe"]
8
8
  }).trim();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveIssueRepoTarget
3
- } from "./chunk-HCANRBFK.js";
3
+ } from "./chunk-DPHNPX75.js";
4
4
 
5
5
  // src/commands/github/issue/parseIssueTarget.ts
6
6
  function parseIssueTarget(numberArg, repoOption, usage) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  awaitPreviewApproval
3
- } from "./chunk-CPJ3KOSP.js";
3
+ } from "./chunk-D24GLTCK.js";
4
4
  import {
5
5
  loadConfig
6
6
  } from "./chunk-UFSOFNXQ.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-GNNMJOUE.js";
5
5
  import {
6
6
  activeHarness
7
- } from "./chunk-BFQSGIN6.js";
7
+ } from "./chunk-ZRIBI33P.js";
8
8
 
9
9
  // src/commands/sessions/shared/defersPreviewWait.ts
10
10
  function defersPreviewWait(env = process.env) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  lookupConversation
3
- } from "./chunk-DZBGDSCK.js";
3
+ } from "./chunk-FGCGH2CT.js";
4
4
  import {
5
5
  harnessAdapter,
6
6
  readTranscriptTail
7
- } from "./chunk-XXUZRL3Q.js";
7
+ } from "./chunk-ETL3RMC4.js";
8
8
 
9
9
  // src/commands/sessions/shared/targetConversationEvents.ts
10
10
  async function targetConversationEvents(cwd, target) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  checkoutPr
3
- } from "./chunk-LKRWILE6.js";
3
+ } from "./chunk-YO266JVW.js";
4
4
  import {
5
5
  launchBlocker
6
6
  } from "./chunk-AFQMD7AO.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-4YAIQN3S.js";
20
20
  import {
21
21
  harnessAdapter
22
- } from "./chunk-XXUZRL3Q.js";
22
+ } from "./chunk-ETL3RMC4.js";
23
23
 
24
24
  // src/commands/launchPrSkill.ts
25
25
  import chalk from "chalk";