@unbrained/pm-cli 2026.7.5 → 2026.7.6

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 (825) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cli-bundle/chunks/activity-WJCGCYPU.js +18 -0
  3. package/dist/cli-bundle/chunks/activity-Z6QUAUSG.js +22 -0
  4. package/dist/cli-bundle/chunks/aggregate-BDM6EIAR.js +25 -0
  5. package/dist/cli-bundle/chunks/aggregate-VQ2DHU3S.js +21 -0
  6. package/dist/cli-bundle/chunks/append-BGML6VLD.js +19 -0
  7. package/dist/cli-bundle/chunks/append-RKJYPU74.js +15 -0
  8. package/dist/cli-bundle/chunks/chunk-22KBU3MW.js +57 -0
  9. package/dist/cli-bundle/chunks/chunk-24YG75HI.js +634 -0
  10. package/dist/cli-bundle/chunks/chunk-2XG4IZON.js +218 -0
  11. package/dist/cli-bundle/chunks/chunk-3GCS5SKL.js +228 -0
  12. package/dist/cli-bundle/chunks/chunk-3KTN6IBA.js +2330 -0
  13. package/dist/cli-bundle/chunks/chunk-3N6RRO2Q.js +808 -0
  14. package/dist/cli-bundle/chunks/chunk-3N6RRO2Q.js.map +7 -0
  15. package/dist/cli-bundle/chunks/chunk-3UJRFJ5R.js +1573 -0
  16. package/dist/cli-bundle/chunks/chunk-3VHSI5FL.js +1001 -0
  17. package/dist/cli-bundle/chunks/chunk-425E4QL5.js +278 -0
  18. package/dist/cli-bundle/chunks/chunk-425E4QL5.js.map +7 -0
  19. package/dist/cli-bundle/chunks/chunk-45FYNUFJ.js +38 -0
  20. package/dist/cli-bundle/chunks/chunk-45FYNUFJ.js.map +1 -0
  21. package/dist/cli-bundle/chunks/chunk-46CUF5L6.js +1018 -0
  22. package/dist/cli-bundle/chunks/chunk-4CJFCTLM.js +222 -0
  23. package/dist/cli-bundle/chunks/chunk-4CJFCTLM.js.map +1 -0
  24. package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js +249 -0
  25. package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js.map +7 -0
  26. package/dist/cli-bundle/chunks/chunk-4IWYTWGF.js +819 -0
  27. package/dist/cli-bundle/chunks/chunk-4LELACOL.js +391 -0
  28. package/dist/cli-bundle/chunks/chunk-4LELACOL.js.map +1 -0
  29. package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js +279 -0
  30. package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js.map +1 -0
  31. package/dist/cli-bundle/chunks/chunk-4ZBE5GUN.js +184 -0
  32. package/dist/cli-bundle/chunks/chunk-4ZBE5GUN.js.map +7 -0
  33. package/dist/cli-bundle/chunks/chunk-57NWPFF2.js +5640 -0
  34. package/dist/cli-bundle/chunks/chunk-57NWPFF2.js.map +1 -0
  35. package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js +268 -0
  36. package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js.map +1 -0
  37. package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js +508 -0
  38. package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js.map +1 -0
  39. package/dist/cli-bundle/chunks/chunk-5GZ7TDD6.js +1868 -0
  40. package/dist/cli-bundle/chunks/chunk-5VAA4YHR.js +1749 -0
  41. package/dist/cli-bundle/chunks/chunk-64YKRTSV.js +1961 -0
  42. package/dist/cli-bundle/chunks/chunk-6LLVNJXT.js +429 -0
  43. package/dist/cli-bundle/chunks/chunk-6QBJLYBP.js +120 -0
  44. package/dist/cli-bundle/chunks/chunk-6QBJLYBP.js.map +1 -0
  45. package/dist/cli-bundle/chunks/chunk-7D7OOEYG.js +278 -0
  46. package/dist/cli-bundle/chunks/chunk-7D7OOEYG.js.map +7 -0
  47. package/dist/cli-bundle/chunks/chunk-7DT4WSH2.js +60 -0
  48. package/dist/cli-bundle/chunks/chunk-7WBAJSS6.js +102 -0
  49. package/dist/cli-bundle/chunks/chunk-AGHMOTGM.js +150 -0
  50. package/dist/cli-bundle/chunks/chunk-ALFPSEWO.js +112 -0
  51. package/dist/cli-bundle/chunks/chunk-AZYGZGGI.js +361 -0
  52. package/dist/cli-bundle/chunks/chunk-B6DUFX6H.js +1413 -0
  53. package/dist/cli-bundle/chunks/chunk-B6XS3R3O.js +275 -0
  54. package/dist/cli-bundle/chunks/chunk-B6XS3R3O.js.map +1 -0
  55. package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js +421 -0
  56. package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js.map +1 -0
  57. package/dist/cli-bundle/chunks/chunk-C5JBZRPU.js +1985 -0
  58. package/dist/cli-bundle/chunks/chunk-CFB33L7W.js +398 -0
  59. package/dist/cli-bundle/chunks/chunk-CFNGIXZP.js +784 -0
  60. package/dist/cli-bundle/chunks/chunk-CFNGIXZP.js.map +1 -0
  61. package/dist/cli-bundle/chunks/chunk-CL36D4PC.js +225 -0
  62. package/dist/cli-bundle/chunks/chunk-COSPOP7H.js +6677 -0
  63. package/dist/cli-bundle/chunks/chunk-COSPOP7H.js.map +7 -0
  64. package/dist/cli-bundle/chunks/chunk-COWTDV6B.js +3461 -0
  65. package/dist/cli-bundle/chunks/chunk-COWTDV6B.js.map +7 -0
  66. package/dist/cli-bundle/chunks/chunk-CRVYGJUI.js +553 -0
  67. package/dist/cli-bundle/chunks/chunk-CRVYGJUI.js.map +1 -0
  68. package/dist/cli-bundle/chunks/chunk-D2XRLB55.js +645 -0
  69. package/dist/cli-bundle/chunks/chunk-DEWEK6AN.js +1858 -0
  70. package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js +1063 -0
  71. package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js.map +1 -0
  72. package/dist/cli-bundle/chunks/chunk-E3SZTQ4K.js +1932 -0
  73. package/dist/cli-bundle/chunks/chunk-E42XTBSP.js +1359 -0
  74. package/dist/cli-bundle/chunks/chunk-E42XTBSP.js.map +7 -0
  75. package/dist/cli-bundle/chunks/chunk-EBRZZ54H.js +655 -0
  76. package/dist/cli-bundle/chunks/chunk-EBRZZ54H.js.map +1 -0
  77. package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js +4712 -0
  78. package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js.map +1 -0
  79. package/dist/cli-bundle/chunks/chunk-EGY6JBQ3.js +160 -0
  80. package/dist/cli-bundle/chunks/chunk-EKFNL33R.js +222 -0
  81. package/dist/cli-bundle/chunks/chunk-ENGQOEUY.js +1704 -0
  82. package/dist/cli-bundle/chunks/chunk-EOKXK3R3.js +2046 -0
  83. package/dist/cli-bundle/chunks/chunk-F3K4JGFD.js +121 -0
  84. package/dist/cli-bundle/chunks/chunk-FLZSGSQR.js +231 -0
  85. package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js +2090 -0
  86. package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js.map +1 -0
  87. package/dist/cli-bundle/chunks/chunk-FT3QTERD.js +550 -0
  88. package/dist/cli-bundle/chunks/chunk-G24G7ZAV.js +1570 -0
  89. package/dist/cli-bundle/chunks/chunk-G64OCSKU.js +444 -0
  90. package/dist/cli-bundle/chunks/chunk-GANUTS7W.js +1775 -0
  91. package/dist/cli-bundle/chunks/chunk-GBAX2ZAQ.js +401 -0
  92. package/dist/cli-bundle/chunks/chunk-GDDAGPWJ.js +105 -0
  93. package/dist/cli-bundle/chunks/chunk-GDDAGPWJ.js.map +1 -0
  94. package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js +239 -0
  95. package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js.map +1 -0
  96. package/dist/cli-bundle/chunks/chunk-GJ7QC5DJ.js +624 -0
  97. package/dist/cli-bundle/chunks/chunk-GPLPTGOV.js +530 -0
  98. package/dist/cli-bundle/chunks/chunk-GZRDYONU.js +1005 -0
  99. package/dist/cli-bundle/chunks/chunk-HFDADVJZ.js +1356 -0
  100. package/dist/cli-bundle/chunks/chunk-HFDADVJZ.js.map +1 -0
  101. package/dist/cli-bundle/chunks/chunk-HIHMT6WS.js +41 -0
  102. package/dist/cli-bundle/chunks/chunk-HIHMT6WS.js.map +7 -0
  103. package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js +277 -0
  104. package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js.map +7 -0
  105. package/dist/cli-bundle/chunks/chunk-HOVCGJSD.js +293 -0
  106. package/dist/cli-bundle/chunks/chunk-HOVCGJSD.js.map +1 -0
  107. package/dist/cli-bundle/chunks/chunk-I36Y7PCE.js +38 -0
  108. package/dist/cli-bundle/chunks/chunk-I36Y7PCE.js.map +1 -0
  109. package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js +309 -0
  110. package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js.map +7 -0
  111. package/dist/cli-bundle/chunks/chunk-IWVU4C2F.js +358 -0
  112. package/dist/cli-bundle/chunks/chunk-IX5BXEMX.js +267 -0
  113. package/dist/cli-bundle/chunks/chunk-JDDLOQAE.js +265 -0
  114. package/dist/cli-bundle/chunks/chunk-JJP45OEI.js +119 -0
  115. package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js +2257 -0
  116. package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js.map +7 -0
  117. package/dist/cli-bundle/chunks/chunk-JVH7QBVV.js +24 -0
  118. package/dist/cli-bundle/chunks/chunk-JVH7QBVV.js.map +1 -0
  119. package/dist/cli-bundle/chunks/chunk-K46RF36U.js +207 -0
  120. package/dist/cli-bundle/chunks/chunk-KERMZVY5.js +371 -0
  121. package/dist/cli-bundle/chunks/chunk-KERMZVY5.js.map +7 -0
  122. package/dist/cli-bundle/chunks/chunk-KGFUY7WN.js +814 -0
  123. package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js +76 -0
  124. package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js.map +1 -0
  125. package/dist/cli-bundle/chunks/chunk-KUOOJR35.js +260 -0
  126. package/dist/cli-bundle/chunks/chunk-L5PSPMZ4.js +277 -0
  127. package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js +5799 -0
  128. package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js.map +7 -0
  129. package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js +140 -0
  130. package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js.map +1 -0
  131. package/dist/cli-bundle/chunks/chunk-LPSSSDJR.js +1239 -0
  132. package/dist/cli-bundle/chunks/chunk-M7JNBQAD.js +225 -0
  133. package/dist/cli-bundle/chunks/chunk-M7JNBQAD.js.map +7 -0
  134. package/dist/cli-bundle/chunks/chunk-MA4SM3QZ.js +655 -0
  135. package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js +1601 -0
  136. package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js.map +1 -0
  137. package/dist/cli-bundle/chunks/chunk-MFAZSEM5.js +1031 -0
  138. package/dist/cli-bundle/chunks/chunk-MFSCBT5Q.js +995 -0
  139. package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js +296 -0
  140. package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js.map +1 -0
  141. package/dist/cli-bundle/chunks/chunk-MLIYFOE7.js +357 -0
  142. package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js +2043 -0
  143. package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js.map +7 -0
  144. package/dist/cli-bundle/chunks/chunk-MUH7A3FD.js +61 -0
  145. package/dist/cli-bundle/chunks/chunk-MVSP7WGJ.js +108 -0
  146. package/dist/cli-bundle/chunks/chunk-MVSP7WGJ.js.map +7 -0
  147. package/dist/cli-bundle/chunks/chunk-MVYWGY2A.js +262 -0
  148. package/dist/cli-bundle/chunks/chunk-MWMVPCIE.js +1423 -0
  149. package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js +2033 -0
  150. package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js.map +1 -0
  151. package/dist/cli-bundle/chunks/chunk-N745W3B3.js +1604 -0
  152. package/dist/cli-bundle/chunks/chunk-N745W3B3.js.map +7 -0
  153. package/dist/cli-bundle/chunks/chunk-NB7RLQFW.js +57 -0
  154. package/dist/cli-bundle/chunks/chunk-NB7RLQFW.js.map +7 -0
  155. package/dist/cli-bundle/chunks/chunk-NC33K5ZS.js +123 -0
  156. package/dist/cli-bundle/chunks/chunk-NC33K5ZS.js.map +7 -0
  157. package/dist/cli-bundle/chunks/chunk-NGXQ3PFT.js +263 -0
  158. package/dist/cli-bundle/chunks/chunk-NMP5I3I5.js +1615 -0
  159. package/dist/cli-bundle/chunks/chunk-NO442GWJ.js +41 -0
  160. package/dist/cli-bundle/chunks/chunk-NO442GWJ.js.map +7 -0
  161. package/dist/cli-bundle/chunks/chunk-NZEHECMW.js +658 -0
  162. package/dist/cli-bundle/chunks/chunk-NZEHECMW.js.map +7 -0
  163. package/dist/cli-bundle/chunks/chunk-O6AWCQRQ.js +124 -0
  164. package/dist/cli-bundle/chunks/chunk-OGWQ2IEP.js +240 -0
  165. package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js +143 -0
  166. package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js.map +7 -0
  167. package/dist/cli-bundle/chunks/chunk-QLMX7SRD.js +210 -0
  168. package/dist/cli-bundle/chunks/chunk-QX6HM775.js +398 -0
  169. package/dist/cli-bundle/chunks/chunk-QX6HM775.js.map +7 -0
  170. package/dist/cli-bundle/chunks/chunk-R5BMJX33.js +27 -0
  171. package/dist/cli-bundle/chunks/chunk-R5BMJX33.js.map +7 -0
  172. package/dist/cli-bundle/chunks/chunk-RCQZK2GO.js +296 -0
  173. package/dist/cli-bundle/chunks/chunk-RCQZK2GO.js.map +7 -0
  174. package/dist/cli-bundle/chunks/chunk-RFNYTESG.js +520 -0
  175. package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js +79 -0
  176. package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js.map +7 -0
  177. package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js +282 -0
  178. package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js.map +7 -0
  179. package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js +274 -0
  180. package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js.map +1 -0
  181. package/dist/cli-bundle/chunks/chunk-SCUR7K7N.js +2198 -0
  182. package/dist/cli-bundle/chunks/chunk-SGMFPXKR.js +68 -0
  183. package/dist/cli-bundle/chunks/chunk-SGMFPXKR.js.map +1 -0
  184. package/dist/cli-bundle/chunks/chunk-SHQY2IDC.js +1977 -0
  185. package/dist/cli-bundle/chunks/chunk-SMB7RV23.js +130 -0
  186. package/dist/cli-bundle/chunks/chunk-SPZ6DOGY.js +1041 -0
  187. package/dist/cli-bundle/chunks/chunk-SQOIV3OQ.js +563 -0
  188. package/dist/cli-bundle/chunks/chunk-SQOIV3OQ.js.map +7 -0
  189. package/dist/cli-bundle/chunks/chunk-SQYJ4HF2.js +1765 -0
  190. package/dist/cli-bundle/chunks/chunk-T42JWV3F.js +822 -0
  191. package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js +6567 -0
  192. package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js.map +1 -0
  193. package/dist/cli-bundle/chunks/chunk-TULGS6X6.js +2132 -0
  194. package/dist/cli-bundle/chunks/chunk-TZXRBVAM.js +2306 -0
  195. package/dist/cli-bundle/chunks/chunk-UH7T2DAX.js +181 -0
  196. package/dist/cli-bundle/chunks/chunk-UH7T2DAX.js.map +1 -0
  197. package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js +4773 -0
  198. package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js.map +7 -0
  199. package/dist/cli-bundle/chunks/chunk-VPIM42PC.js +367 -0
  200. package/dist/cli-bundle/chunks/chunk-VQRSPVME.js +368 -0
  201. package/dist/cli-bundle/chunks/chunk-VQRSPVME.js.map +1 -0
  202. package/dist/cli-bundle/chunks/chunk-W3DSJQIO.js +447 -0
  203. package/dist/cli-bundle/chunks/chunk-W572BIEB.js +1249 -0
  204. package/dist/cli-bundle/chunks/chunk-W6DYWXPQ.js +1073 -0
  205. package/dist/cli-bundle/chunks/chunk-W6DYWXPQ.js.map +7 -0
  206. package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js +3423 -0
  207. package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js.map +1 -0
  208. package/dist/cli-bundle/chunks/chunk-WLSM645P.js +2247 -0
  209. package/dist/cli-bundle/chunks/chunk-WLSM645P.js.map +1 -0
  210. package/dist/cli-bundle/chunks/chunk-WRTENIX3.js +215 -0
  211. package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js +388 -0
  212. package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js.map +1 -0
  213. package/dist/cli-bundle/chunks/chunk-XB7KFVFI.js +533 -0
  214. package/dist/cli-bundle/chunks/chunk-XC5BURG2.js +306 -0
  215. package/dist/cli-bundle/chunks/chunk-XC5BURG2.js.map +1 -0
  216. package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js +424 -0
  217. package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js.map +7 -0
  218. package/dist/cli-bundle/chunks/chunk-XG625QP4.js +58 -0
  219. package/dist/cli-bundle/chunks/chunk-XHET7YUZ.js +71 -0
  220. package/dist/cli-bundle/chunks/chunk-XHET7YUZ.js.map +7 -0
  221. package/dist/cli-bundle/chunks/chunk-XUC7PI2H.js +243 -0
  222. package/dist/cli-bundle/chunks/chunk-Y46GD4IX.js +116 -0
  223. package/dist/cli-bundle/chunks/chunk-Y4M7CPQP.js +804 -0
  224. package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js +2128 -0
  225. package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js.map +7 -0
  226. package/dist/cli-bundle/chunks/chunk-YN7Y6DQZ.js +426 -0
  227. package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js +511 -0
  228. package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js.map +7 -0
  229. package/dist/cli-bundle/chunks/chunk-ZGK4L4JM.js +133 -0
  230. package/dist/cli-bundle/chunks/chunk-ZJ262CED.js +394 -0
  231. package/dist/cli-bundle/chunks/chunk-ZJ262CED.js.map +7 -0
  232. package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js +299 -0
  233. package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js.map +7 -0
  234. package/dist/cli-bundle/chunks/chunk-ZSUS2OD3.js +2105 -0
  235. package/dist/cli-bundle/chunks/chunk-ZWBEPGD7.js +54 -0
  236. package/dist/cli-bundle/chunks/chunk-ZWBEPGD7.js.map +1 -0
  237. package/dist/cli-bundle/chunks/chunk-ZZD4J5XY.js +1570 -0
  238. package/dist/cli-bundle/chunks/claim-RFS7BROJ.js +19 -0
  239. package/dist/cli-bundle/chunks/claim-XP5AWZ5H.js +23 -0
  240. package/dist/cli-bundle/chunks/close-2SSSHHUZ.js +20 -0
  241. package/dist/cli-bundle/chunks/close-GEANHQ2J.js +16 -0
  242. package/dist/cli-bundle/chunks/close-many-CMZW7ITN.js +31 -0
  243. package/dist/cli-bundle/chunks/close-many-ZFDIG6M7.js +27 -0
  244. package/dist/cli-bundle/chunks/comments-MFSYVNNU.js +21 -0
  245. package/dist/cli-bundle/chunks/comments-XUBPXDYX.js +17 -0
  246. package/dist/cli-bundle/chunks/config-D7XQMONX.js +18 -0
  247. package/dist/cli-bundle/chunks/config-T4FHBSYN.js +22 -0
  248. package/dist/cli-bundle/chunks/context-DIU275XI.js +48 -0
  249. package/dist/cli-bundle/chunks/context-JCOYB4LZ.js +44 -0
  250. package/dist/cli-bundle/chunks/contracts-BVO7CSLK.js +12 -0
  251. package/dist/cli-bundle/chunks/contracts-NYPEW2G4.js +16 -0
  252. package/dist/cli-bundle/chunks/copy-32ROBIDL.js +17 -0
  253. package/dist/cli-bundle/chunks/copy-NAGLGMHZ.js +13 -0
  254. package/dist/cli-bundle/chunks/create-4V7SWNBB.js +30 -0
  255. package/dist/cli-bundle/chunks/create-E77SDCUP.js +34 -0
  256. package/dist/cli-bundle/chunks/delete-NQI5OSKN.js +14 -0
  257. package/dist/cli-bundle/chunks/delete-RA5KTCLB.js +18 -0
  258. package/dist/cli-bundle/chunks/deps-32SU7HO5.js +21 -0
  259. package/dist/cli-bundle/chunks/deps-T7SCWXEX.js +17 -0
  260. package/dist/cli-bundle/chunks/docs-RRUPT7O2.js +22 -0
  261. package/dist/cli-bundle/chunks/docs-WL2IWGWV.js +18 -0
  262. package/dist/cli-bundle/chunks/eval-NF2J5SHR.js +23 -0
  263. package/dist/cli-bundle/chunks/eval-SKDT3MZU.js +27 -0
  264. package/dist/cli-bundle/chunks/extension-LAXKCAYE.js +42 -0
  265. package/dist/cli-bundle/chunks/extension-LAXKCAYE.js.map +1 -0
  266. package/dist/cli-bundle/chunks/extension-ZISPBRBC.js +38 -0
  267. package/dist/cli-bundle/chunks/extension-ZISPBRBC.js.map +7 -0
  268. package/dist/cli-bundle/chunks/files-EWRQHGIS.js +22 -0
  269. package/dist/cli-bundle/chunks/files-EWRQHGIS.js.map +7 -0
  270. package/dist/cli-bundle/chunks/files-PYKR2UUG.js +26 -0
  271. package/dist/cli-bundle/chunks/files-PYKR2UUG.js.map +1 -0
  272. package/dist/cli-bundle/chunks/focus-4T7TM4MT.js +18 -0
  273. package/dist/cli-bundle/chunks/focus-4T7TM4MT.js.map +1 -0
  274. package/dist/cli-bundle/chunks/focus-L3YUASOD.js +14 -0
  275. package/dist/cli-bundle/chunks/focus-L3YUASOD.js.map +7 -0
  276. package/dist/cli-bundle/chunks/gc-2DNMPXMC.js +16 -0
  277. package/dist/cli-bundle/chunks/gc-2DNMPXMC.js.map +1 -0
  278. package/dist/cli-bundle/chunks/gc-2PCTYYRI.js +12 -0
  279. package/dist/cli-bundle/chunks/gc-2PCTYYRI.js.map +7 -0
  280. package/dist/cli-bundle/chunks/get-7DMITJ3G.js +23 -0
  281. package/dist/cli-bundle/chunks/get-7DMITJ3G.js.map +1 -0
  282. package/dist/cli-bundle/chunks/get-VKQXCXLL.js +19 -0
  283. package/dist/cli-bundle/chunks/get-VKQXCXLL.js.map +7 -0
  284. package/dist/cli-bundle/chunks/health-CVSTAR2F.js +31 -0
  285. package/dist/cli-bundle/chunks/health-CVSTAR2F.js.map +7 -0
  286. package/dist/cli-bundle/chunks/health-TV3GKTFN.js +35 -0
  287. package/dist/cli-bundle/chunks/health-TV3GKTFN.js.map +1 -0
  288. package/dist/cli-bundle/chunks/history-D4JUX5XV.js +20 -0
  289. package/dist/cli-bundle/chunks/history-D4JUX5XV.js.map +7 -0
  290. package/dist/cli-bundle/chunks/history-LQ2UWZTE.js +24 -0
  291. package/dist/cli-bundle/chunks/history-LQ2UWZTE.js.map +1 -0
  292. package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js +29 -0
  293. package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js.map +1 -0
  294. package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js +25 -0
  295. package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js.map +7 -0
  296. package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js +21 -0
  297. package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js.map +7 -0
  298. package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js +25 -0
  299. package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js.map +1 -0
  300. package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js +23 -0
  301. package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js.map +7 -0
  302. package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js +27 -0
  303. package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js.map +1 -0
  304. package/dist/cli-bundle/chunks/init-C3LJPWQZ.js +30 -0
  305. package/dist/cli-bundle/chunks/init-C3LJPWQZ.js.map +1 -0
  306. package/dist/cli-bundle/chunks/init-J3DPGWQI.js +26 -0
  307. package/dist/cli-bundle/chunks/init-J3DPGWQI.js.map +7 -0
  308. package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js +21 -0
  309. package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js.map +1 -0
  310. package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js +17 -0
  311. package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js.map +7 -0
  312. package/dist/cli-bundle/chunks/list-O5NZVSPN.js +36 -0
  313. package/dist/cli-bundle/chunks/list-O5NZVSPN.js.map +1 -0
  314. package/dist/cli-bundle/chunks/list-Z55YCNTC.js +32 -0
  315. package/dist/cli-bundle/chunks/list-Z55YCNTC.js.map +7 -0
  316. package/dist/cli-bundle/chunks/next-GBNTGXFC.js +28 -0
  317. package/dist/cli-bundle/chunks/next-GBNTGXFC.js.map +7 -0
  318. package/dist/cli-bundle/chunks/next-QKW7PTKE.js +32 -0
  319. package/dist/cli-bundle/chunks/next-QKW7PTKE.js.map +1 -0
  320. package/dist/cli-bundle/chunks/notes-R5FZTKWF.js +17 -0
  321. package/dist/cli-bundle/chunks/notes-R5FZTKWF.js.map +7 -0
  322. package/dist/cli-bundle/chunks/notes-WCGIULVG.js +21 -0
  323. package/dist/cli-bundle/chunks/notes-WCGIULVG.js.map +1 -0
  324. package/dist/cli-bundle/chunks/plan-ADISFYH4.js +29 -0
  325. package/dist/cli-bundle/chunks/plan-ADISFYH4.js.map +7 -0
  326. package/dist/cli-bundle/chunks/plan-CHVE7PBR.js +33 -0
  327. package/dist/cli-bundle/chunks/plan-CHVE7PBR.js.map +1 -0
  328. package/dist/cli-bundle/chunks/profile-LD23PSI6.js +37 -0
  329. package/dist/cli-bundle/chunks/profile-LD23PSI6.js.map +7 -0
  330. package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js +41 -0
  331. package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js.map +1 -0
  332. package/dist/cli-bundle/chunks/register-list-query-B42JCCOI.js +409 -0
  333. package/dist/cli-bundle/chunks/register-list-query-OEYQHFXO.js +419 -0
  334. package/dist/cli-bundle/chunks/register-mutation-3QXIHCQG.js +1273 -0
  335. package/dist/cli-bundle/chunks/register-mutation-IAEST26S.js +1256 -0
  336. package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js +19 -0
  337. package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js.map +7 -0
  338. package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js +23 -0
  339. package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js.map +1 -0
  340. package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js +324 -0
  341. package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js.map +7 -0
  342. package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js +321 -0
  343. package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js.map +1 -0
  344. package/dist/cli-bundle/chunks/restore-5RQHAPMA.js +23 -0
  345. package/dist/cli-bundle/chunks/restore-5RQHAPMA.js.map +1 -0
  346. package/dist/cli-bundle/chunks/restore-PNEIBBLW.js +19 -0
  347. package/dist/cli-bundle/chunks/restore-PNEIBBLW.js.map +7 -0
  348. package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js +29 -0
  349. package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js.map +1 -0
  350. package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js +25 -0
  351. package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js.map +7 -0
  352. package/dist/cli-bundle/chunks/schema-245WW4G2.js +78 -0
  353. package/dist/cli-bundle/chunks/schema-245WW4G2.js.map +1 -0
  354. package/dist/cli-bundle/chunks/schema-HBORFC6B.js +74 -0
  355. package/dist/cli-bundle/chunks/schema-HBORFC6B.js.map +7 -0
  356. package/dist/cli-bundle/chunks/search-AOZC5SIK.js +34 -0
  357. package/dist/cli-bundle/chunks/search-AOZC5SIK.js.map +7 -0
  358. package/dist/cli-bundle/chunks/search-DRXPGHD7.js +38 -0
  359. package/dist/cli-bundle/chunks/search-DRXPGHD7.js.map +1 -0
  360. package/dist/cli-bundle/chunks/stats-NJG4NLHG.js +21 -0
  361. package/dist/cli-bundle/chunks/stats-NJG4NLHG.js.map +1 -0
  362. package/dist/cli-bundle/chunks/stats-RG6AG4N2.js +17 -0
  363. package/dist/cli-bundle/chunks/stats-RG6AG4N2.js.map +7 -0
  364. package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js +14 -0
  365. package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js.map +7 -0
  366. package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js +18 -0
  367. package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js.map +1 -0
  368. package/dist/cli-bundle/chunks/test-6CMOCWUC.js +39 -0
  369. package/dist/cli-bundle/chunks/test-6CMOCWUC.js.map +7 -0
  370. package/dist/cli-bundle/chunks/test-RI7XHBZL.js +43 -0
  371. package/dist/cli-bundle/chunks/test-RI7XHBZL.js.map +1 -0
  372. package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js +29 -0
  373. package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js.map +7 -0
  374. package/dist/cli-bundle/chunks/test-all-QEIORFYW.js +33 -0
  375. package/dist/cli-bundle/chunks/test-all-QEIORFYW.js.map +1 -0
  376. package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js +28 -0
  377. package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js.map +1 -0
  378. package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js +24 -0
  379. package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js.map +7 -0
  380. package/dist/cli-bundle/chunks/update-QVJDFEAP.js +30 -0
  381. package/dist/cli-bundle/chunks/update-QVJDFEAP.js.map +1 -0
  382. package/dist/cli-bundle/chunks/update-VQVHAY6X.js +26 -0
  383. package/dist/cli-bundle/chunks/update-VQVHAY6X.js.map +7 -0
  384. package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js +37 -0
  385. package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js.map +7 -0
  386. package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js +41 -0
  387. package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js.map +1 -0
  388. package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js +24 -0
  389. package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js.map +7 -0
  390. package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js +28 -0
  391. package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js.map +1 -0
  392. package/dist/cli-bundle/chunks/validate-4NTXSB62.js +36 -0
  393. package/dist/cli-bundle/chunks/validate-4NTXSB62.js.map +1 -0
  394. package/dist/cli-bundle/chunks/validate-MUFXQZMI.js +32 -0
  395. package/dist/cli-bundle/chunks/validate-MUFXQZMI.js.map +7 -0
  396. package/dist/cli-bundle/main.js +16 -16
  397. package/dist/cli-bundle/sdk-runtime.js +88 -28
  398. package/dist/cli-bundle/sdk-testing.js +6 -6
  399. package/dist/cli-bundle/sdk.js +92 -49
  400. package/dist/cli-bundle/sdk.js.map +2 -2
  401. package/dist/mcp/server.d.ts +22 -50
  402. package/dist/mcp/server.js +62 -916
  403. package/dist/mcp/server.js.map +1 -1
  404. package/dist/sdk/index.d.ts +4 -2
  405. package/dist/sdk/index.js +4 -4
  406. package/dist/sdk/index.js.map +1 -1
  407. package/dist/sdk/runtime.d.ts +168 -4
  408. package/dist/sdk/runtime.js +1149 -25
  409. package/dist/sdk/runtime.js.map +1 -1
  410. package/dist/sdk/workspace-contracts-cache.d.ts +17 -0
  411. package/dist/sdk/workspace-contracts-cache.js +36 -0
  412. package/dist/sdk/workspace-contracts-cache.js.map +1 -0
  413. package/docs/RELEASING.md +3 -1
  414. package/docs/SDK.md +46 -0
  415. package/docs/examples/sdk-app-embedding/run-embedded-pm.mjs +16 -2
  416. package/docs/examples/sdk-contract-consumer/inspect-contracts.mjs +16 -1
  417. package/package.json +1 -1
  418. package/dist/cli-bundle/chunks/activity-4XQIDNM5.js +0 -18
  419. package/dist/cli-bundle/chunks/activity-YKAKZTZ4.js +0 -22
  420. package/dist/cli-bundle/chunks/aggregate-EQX2RGB7.js +0 -375
  421. package/dist/cli-bundle/chunks/aggregate-EQX2RGB7.js.map +0 -7
  422. package/dist/cli-bundle/chunks/aggregate-PEGZGJXD.js +0 -372
  423. package/dist/cli-bundle/chunks/aggregate-PEGZGJXD.js.map +0 -1
  424. package/dist/cli-bundle/chunks/append-CZGUZ45Q.js +0 -73
  425. package/dist/cli-bundle/chunks/append-CZGUZ45Q.js.map +0 -7
  426. package/dist/cli-bundle/chunks/append-NSQBCXZJ.js +0 -70
  427. package/dist/cli-bundle/chunks/append-NSQBCXZJ.js.map +0 -1
  428. package/dist/cli-bundle/chunks/chunk-3JZNEQBA.js +0 -1413
  429. package/dist/cli-bundle/chunks/chunk-3PL6LEKP.js +0 -1961
  430. package/dist/cli-bundle/chunks/chunk-3U3VEWK6.js +0 -1749
  431. package/dist/cli-bundle/chunks/chunk-3Y4OESPP.js +0 -277
  432. package/dist/cli-bundle/chunks/chunk-4LRVSBO6.js +0 -822
  433. package/dist/cli-bundle/chunks/chunk-4OFLJHX6.js +0 -356
  434. package/dist/cli-bundle/chunks/chunk-4QQ6PM7M.js +0 -1249
  435. package/dist/cli-bundle/chunks/chunk-53BTLLAF.js +0 -2181
  436. package/dist/cli-bundle/chunks/chunk-53BTLLAF.js.map +0 -1
  437. package/dist/cli-bundle/chunks/chunk-57C2RLW5.js +0 -1704
  438. package/dist/cli-bundle/chunks/chunk-5B3X4Y22.js +0 -2330
  439. package/dist/cli-bundle/chunks/chunk-5J2XPTAD.js +0 -225
  440. package/dist/cli-bundle/chunks/chunk-5JE6SMYS.js +0 -262
  441. package/dist/cli-bundle/chunks/chunk-5JZ7APJU.js +0 -995
  442. package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js +0 -5789
  443. package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js.map +0 -7
  444. package/dist/cli-bundle/chunks/chunk-75U6M5ZD.js +0 -819
  445. package/dist/cli-bundle/chunks/chunk-7EQNAZX2.js +0 -1018
  446. package/dist/cli-bundle/chunks/chunk-7MDXZAZS.js +0 -102
  447. package/dist/cli-bundle/chunks/chunk-7QH7DHUB.js +0 -2046
  448. package/dist/cli-bundle/chunks/chunk-7WYXBPYQ.js +0 -358
  449. package/dist/cli-bundle/chunks/chunk-AAEQMOC6.js +0 -150
  450. package/dist/cli-bundle/chunks/chunk-ABRA3BHY.js +0 -429
  451. package/dist/cli-bundle/chunks/chunk-BFVHCAOO.js +0 -240
  452. package/dist/cli-bundle/chunks/chunk-BVEUCSH2.js +0 -530
  453. package/dist/cli-bundle/chunks/chunk-C3PMDWGX.js +0 -160
  454. package/dist/cli-bundle/chunks/chunk-D3UCE7RW.js +0 -243
  455. package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js +0 -275
  456. package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js.map +0 -7
  457. package/dist/cli-bundle/chunks/chunk-DLQ4ZTCU.js +0 -634
  458. package/dist/cli-bundle/chunks/chunk-DRBV5UC2.js +0 -231
  459. package/dist/cli-bundle/chunks/chunk-E2FUG6GD.js +0 -2184
  460. package/dist/cli-bundle/chunks/chunk-E2FUG6GD.js.map +0 -7
  461. package/dist/cli-bundle/chunks/chunk-EEY54JMF.js +0 -60
  462. package/dist/cli-bundle/chunks/chunk-EZFKWSC7.js +0 -1615
  463. package/dist/cli-bundle/chunks/chunk-FDBARR33.js +0 -655
  464. package/dist/cli-bundle/chunks/chunk-FGQKEDE4.js +0 -447
  465. package/dist/cli-bundle/chunks/chunk-FJRKQREY.js +0 -228
  466. package/dist/cli-bundle/chunks/chunk-FUM6UMY4.js +0 -804
  467. package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js +0 -3237
  468. package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js.map +0 -7
  469. package/dist/cli-bundle/chunks/chunk-HBYZDSK5.js +0 -426
  470. package/dist/cli-bundle/chunks/chunk-HJE4JTKQ.js +0 -124
  471. package/dist/cli-bundle/chunks/chunk-HK72NWAD.js +0 -1570
  472. package/dist/cli-bundle/chunks/chunk-IJ6CO3JV.js +0 -645
  473. package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js +0 -3206
  474. package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js.map +0 -1
  475. package/dist/cli-bundle/chunks/chunk-JLA7EVYV.js +0 -222
  476. package/dist/cli-bundle/chunks/chunk-K32L7HZO.js +0 -76
  477. package/dist/cli-bundle/chunks/chunk-K32L7HZO.js.map +0 -1
  478. package/dist/cli-bundle/chunks/chunk-K3AGVXSF.js +0 -444
  479. package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js +0 -79
  480. package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js.map +0 -7
  481. package/dist/cli-bundle/chunks/chunk-KL22PY6L.js +0 -915
  482. package/dist/cli-bundle/chunks/chunk-KL22PY6L.js.map +0 -1
  483. package/dist/cli-bundle/chunks/chunk-KLG4ZULO.js +0 -218
  484. package/dist/cli-bundle/chunks/chunk-LEKT4K7I.js +0 -2105
  485. package/dist/cli-bundle/chunks/chunk-MNZ7DRNC.js +0 -1858
  486. package/dist/cli-bundle/chunks/chunk-MTTXDAK4.js +0 -2198
  487. package/dist/cli-bundle/chunks/chunk-MZ7VNEVY.js +0 -520
  488. package/dist/cli-bundle/chunks/chunk-N6DNM2FA.js +0 -116
  489. package/dist/cli-bundle/chunks/chunk-N7X4WP6L.js +0 -1041
  490. package/dist/cli-bundle/chunks/chunk-NBFCNJ7Q.js +0 -2132
  491. package/dist/cli-bundle/chunks/chunk-NER3KUUS.js +0 -260
  492. package/dist/cli-bundle/chunks/chunk-OBA2WH65.js +0 -918
  493. package/dist/cli-bundle/chunks/chunk-OBA2WH65.js.map +0 -7
  494. package/dist/cli-bundle/chunks/chunk-OESSOFJ4.js +0 -1985
  495. package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js +0 -238
  496. package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js.map +0 -1
  497. package/dist/cli-bundle/chunks/chunk-OWTIRHX4.js +0 -112
  498. package/dist/cli-bundle/chunks/chunk-P3VRG72Q.js +0 -1765
  499. package/dist/cli-bundle/chunks/chunk-P5TFTLWW.js +0 -1423
  500. package/dist/cli-bundle/chunks/chunk-P5YORJRH.js +0 -1977
  501. package/dist/cli-bundle/chunks/chunk-PDXT6Q55.js +0 -58
  502. package/dist/cli-bundle/chunks/chunk-PJ3A56YF.js +0 -1239
  503. package/dist/cli-bundle/chunks/chunk-PPAJG4GB.js +0 -1031
  504. package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js +0 -4725
  505. package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js.map +0 -1
  506. package/dist/cli-bundle/chunks/chunk-QHZO65XW.js +0 -1775
  507. package/dist/cli-bundle/chunks/chunk-R3ZBLGTC.js +0 -814
  508. package/dist/cli-bundle/chunks/chunk-RCT3YJOK.js +0 -624
  509. package/dist/cli-bundle/chunks/chunk-RX3HQSYG.js +0 -265
  510. package/dist/cli-bundle/chunks/chunk-S4APD35C.js +0 -210
  511. package/dist/cli-bundle/chunks/chunk-S5AYOUT5.js +0 -130
  512. package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js +0 -1149
  513. package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js.map +0 -1
  514. package/dist/cli-bundle/chunks/chunk-T35XLYZF.js +0 -263
  515. package/dist/cli-bundle/chunks/chunk-T3ABIMGW.js +0 -361
  516. package/dist/cli-bundle/chunks/chunk-T3F4DF23.js +0 -267
  517. package/dist/cli-bundle/chunks/chunk-T4MX77AK.js +0 -272
  518. package/dist/cli-bundle/chunks/chunk-T4MX77AK.js.map +0 -1
  519. package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js +0 -5354
  520. package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js.map +0 -1
  521. package/dist/cli-bundle/chunks/chunk-TSPKZRRW.js +0 -1570
  522. package/dist/cli-bundle/chunks/chunk-TT42JUMF.js +0 -207
  523. package/dist/cli-bundle/chunks/chunk-UHKX7I75.js +0 -165
  524. package/dist/cli-bundle/chunks/chunk-UHKX7I75.js.map +0 -1
  525. package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js +0 -4786
  526. package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js.map +0 -7
  527. package/dist/cli-bundle/chunks/chunk-US3T3W5J.js +0 -1932
  528. package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js +0 -175
  529. package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js.map +0 -7
  530. package/dist/cli-bundle/chunks/chunk-VZIYHZDX.js +0 -1868
  531. package/dist/cli-bundle/chunks/chunk-WISPVC2E.js +0 -401
  532. package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js +0 -5434
  533. package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js.map +0 -7
  534. package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js +0 -1152
  535. package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js.map +0 -7
  536. package/dist/cli-bundle/chunks/chunk-Y76TWC45.js +0 -550
  537. package/dist/cli-bundle/chunks/chunk-YD5FML7K.js +0 -5630
  538. package/dist/cli-bundle/chunks/chunk-YD5FML7K.js.map +0 -1
  539. package/dist/cli-bundle/chunks/chunk-YFIE7YK6.js +0 -57
  540. package/dist/cli-bundle/chunks/chunk-YMABYTNG.js +0 -1573
  541. package/dist/cli-bundle/chunks/chunk-YOF5VPKM.js +0 -119
  542. package/dist/cli-bundle/chunks/chunk-YPPVU5GX.js +0 -398
  543. package/dist/cli-bundle/chunks/chunk-YQMMMONE.js +0 -133
  544. package/dist/cli-bundle/chunks/chunk-YSAH5FY5.js +0 -1001
  545. package/dist/cli-bundle/chunks/chunk-YZIR4R3U.js +0 -1005
  546. package/dist/cli-bundle/chunks/chunk-Z2CRRZYF.js +0 -215
  547. package/dist/cli-bundle/chunks/chunk-ZAHXPXVY.js +0 -533
  548. package/dist/cli-bundle/chunks/chunk-ZCJAA3JK.js +0 -121
  549. package/dist/cli-bundle/chunks/chunk-ZD34OFFQ.js +0 -366
  550. package/dist/cli-bundle/chunks/chunk-ZJB3UV5U.js +0 -2306
  551. package/dist/cli-bundle/chunks/chunk-ZMD35NYG.js +0 -61
  552. package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js +0 -241
  553. package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js.map +0 -7
  554. package/dist/cli-bundle/chunks/claim-4DROPSIS.js +0 -144
  555. package/dist/cli-bundle/chunks/claim-4DROPSIS.js.map +0 -1
  556. package/dist/cli-bundle/chunks/claim-VX54TV5U.js +0 -147
  557. package/dist/cli-bundle/chunks/claim-VX54TV5U.js.map +0 -7
  558. package/dist/cli-bundle/chunks/close-3YRR3XY6.js +0 -20
  559. package/dist/cli-bundle/chunks/close-OB2Y4QP5.js +0 -16
  560. package/dist/cli-bundle/chunks/close-many-AP4MWU36.js +0 -397
  561. package/dist/cli-bundle/chunks/close-many-AP4MWU36.js.map +0 -1
  562. package/dist/cli-bundle/chunks/close-many-OMZIGZB4.js +0 -400
  563. package/dist/cli-bundle/chunks/close-many-OMZIGZB4.js.map +0 -7
  564. package/dist/cli-bundle/chunks/comments-MIW5MZOX.js +0 -128
  565. package/dist/cli-bundle/chunks/comments-MIW5MZOX.js.map +0 -7
  566. package/dist/cli-bundle/chunks/comments-SAG5LSKL.js +0 -125
  567. package/dist/cli-bundle/chunks/comments-SAG5LSKL.js.map +0 -1
  568. package/dist/cli-bundle/chunks/config-DJJKZB5R.js +0 -1075
  569. package/dist/cli-bundle/chunks/config-DJJKZB5R.js.map +0 -7
  570. package/dist/cli-bundle/chunks/config-V57QD47V.js +0 -1065
  571. package/dist/cli-bundle/chunks/config-V57QD47V.js.map +0 -1
  572. package/dist/cli-bundle/chunks/context-4OQGIPSO.js +0 -45
  573. package/dist/cli-bundle/chunks/context-WLA6IAWE.js +0 -49
  574. package/dist/cli-bundle/chunks/contracts-HXJLKCRI.js +0 -12
  575. package/dist/cli-bundle/chunks/contracts-OJEXMKVW.js +0 -16
  576. package/dist/cli-bundle/chunks/copy-LEE6P6EM.js +0 -184
  577. package/dist/cli-bundle/chunks/copy-LEE6P6EM.js.map +0 -7
  578. package/dist/cli-bundle/chunks/copy-OTJOWFL6.js +0 -181
  579. package/dist/cli-bundle/chunks/copy-OTJOWFL6.js.map +0 -1
  580. package/dist/cli-bundle/chunks/create-WKOZKPQR.js +0 -30
  581. package/dist/cli-bundle/chunks/create-XWWQFQ6S.js +0 -34
  582. package/dist/cli-bundle/chunks/delete-62JQTYT4.js +0 -59
  583. package/dist/cli-bundle/chunks/delete-62JQTYT4.js.map +0 -7
  584. package/dist/cli-bundle/chunks/delete-HQKGRNRZ.js +0 -56
  585. package/dist/cli-bundle/chunks/delete-HQKGRNRZ.js.map +0 -1
  586. package/dist/cli-bundle/chunks/deps-55FTG6Z5.js +0 -224
  587. package/dist/cli-bundle/chunks/deps-55FTG6Z5.js.map +0 -1
  588. package/dist/cli-bundle/chunks/deps-L2FPIAD3.js +0 -227
  589. package/dist/cli-bundle/chunks/deps-L2FPIAD3.js.map +0 -7
  590. package/dist/cli-bundle/chunks/docs-6CRCSVKK.js +0 -33
  591. package/dist/cli-bundle/chunks/docs-6CRCSVKK.js.map +0 -1
  592. package/dist/cli-bundle/chunks/docs-S6UTOTO5.js +0 -36
  593. package/dist/cli-bundle/chunks/docs-S6UTOTO5.js.map +0 -7
  594. package/dist/cli-bundle/chunks/eval-N6UHFWVO.js +0 -288
  595. package/dist/cli-bundle/chunks/eval-N6UHFWVO.js.map +0 -7
  596. package/dist/cli-bundle/chunks/eval-PHOTWYHI.js +0 -278
  597. package/dist/cli-bundle/chunks/eval-PHOTWYHI.js.map +0 -1
  598. package/dist/cli-bundle/chunks/extension-NBAH62ML.js +0 -40
  599. package/dist/cli-bundle/chunks/extension-ZF6ZZPOU.js +0 -44
  600. package/dist/cli-bundle/chunks/files-6P57MRKL.js +0 -301
  601. package/dist/cli-bundle/chunks/files-6P57MRKL.js.map +0 -7
  602. package/dist/cli-bundle/chunks/files-JPU3FNJ7.js +0 -298
  603. package/dist/cli-bundle/chunks/files-JPU3FNJ7.js.map +0 -1
  604. package/dist/cli-bundle/chunks/focus-LFZ6IDBR.js +0 -106
  605. package/dist/cli-bundle/chunks/focus-LFZ6IDBR.js.map +0 -1
  606. package/dist/cli-bundle/chunks/focus-WNMYCVYA.js +0 -109
  607. package/dist/cli-bundle/chunks/focus-WNMYCVYA.js.map +0 -7
  608. package/dist/cli-bundle/chunks/gc-AETFKZ44.js +0 -398
  609. package/dist/cli-bundle/chunks/gc-AETFKZ44.js.map +0 -7
  610. package/dist/cli-bundle/chunks/gc-RLBP4QVN.js +0 -388
  611. package/dist/cli-bundle/chunks/gc-RLBP4QVN.js.map +0 -1
  612. package/dist/cli-bundle/chunks/get-NH2MPBCI.js +0 -283
  613. package/dist/cli-bundle/chunks/get-NH2MPBCI.js.map +0 -1
  614. package/dist/cli-bundle/chunks/get-P4ZQXCPZ.js +0 -286
  615. package/dist/cli-bundle/chunks/get-P4ZQXCPZ.js.map +0 -7
  616. package/dist/cli-bundle/chunks/health-3GVPMQBL.js +0 -1612
  617. package/dist/cli-bundle/chunks/health-3GVPMQBL.js.map +0 -1
  618. package/dist/cli-bundle/chunks/health-DNTM72GJ.js +0 -1615
  619. package/dist/cli-bundle/chunks/health-DNTM72GJ.js.map +0 -7
  620. package/dist/cli-bundle/chunks/history-RYKLC72X.js +0 -20
  621. package/dist/cli-bundle/chunks/history-SGPYRAFT.js +0 -24
  622. package/dist/cli-bundle/chunks/history-compact-3F6VELO7.js +0 -565
  623. package/dist/cli-bundle/chunks/history-compact-3F6VELO7.js.map +0 -7
  624. package/dist/cli-bundle/chunks/history-compact-656Y2TN4.js +0 -555
  625. package/dist/cli-bundle/chunks/history-compact-656Y2TN4.js.map +0 -1
  626. package/dist/cli-bundle/chunks/history-redact-4H3FCKF3.js +0 -21
  627. package/dist/cli-bundle/chunks/history-redact-54ICFKXM.js +0 -25
  628. package/dist/cli-bundle/chunks/history-repair-4N6SDVHK.js +0 -281
  629. package/dist/cli-bundle/chunks/history-repair-4N6SDVHK.js.map +0 -7
  630. package/dist/cli-bundle/chunks/history-repair-EVTO6LIH.js +0 -278
  631. package/dist/cli-bundle/chunks/history-repair-EVTO6LIH.js.map +0 -1
  632. package/dist/cli-bundle/chunks/init-RPIPQUNV.js +0 -32
  633. package/dist/cli-bundle/chunks/init-SKQAESQS.js +0 -28
  634. package/dist/cli-bundle/chunks/learnings-2HTPZNGZ.js +0 -48
  635. package/dist/cli-bundle/chunks/learnings-2HTPZNGZ.js.map +0 -7
  636. package/dist/cli-bundle/chunks/learnings-YBIHY3D6.js +0 -45
  637. package/dist/cli-bundle/chunks/learnings-YBIHY3D6.js.map +0 -1
  638. package/dist/cli-bundle/chunks/list-64LHZ3HM.js +0 -32
  639. package/dist/cli-bundle/chunks/list-7LXBTEKI.js +0 -36
  640. package/dist/cli-bundle/chunks/next-7ODPAQ4U.js +0 -306
  641. package/dist/cli-bundle/chunks/next-7ODPAQ4U.js.map +0 -7
  642. package/dist/cli-bundle/chunks/next-ODJUM4ZM.js +0 -303
  643. package/dist/cli-bundle/chunks/next-ODJUM4ZM.js.map +0 -1
  644. package/dist/cli-bundle/chunks/notes-72YXN5JX.js +0 -48
  645. package/dist/cli-bundle/chunks/notes-72YXN5JX.js.map +0 -7
  646. package/dist/cli-bundle/chunks/notes-NJ7IQJX4.js +0 -45
  647. package/dist/cli-bundle/chunks/notes-NJ7IQJX4.js.map +0 -1
  648. package/dist/cli-bundle/chunks/plan-R4NDQ27E.js +0 -1366
  649. package/dist/cli-bundle/chunks/plan-R4NDQ27E.js.map +0 -7
  650. package/dist/cli-bundle/chunks/plan-XWY5T67S.js +0 -1363
  651. package/dist/cli-bundle/chunks/plan-XWY5T67S.js.map +0 -1
  652. package/dist/cli-bundle/chunks/profile-XQWEQKS3.js +0 -397
  653. package/dist/cli-bundle/chunks/profile-XQWEQKS3.js.map +0 -1
  654. package/dist/cli-bundle/chunks/profile-YRDHLMRO.js +0 -400
  655. package/dist/cli-bundle/chunks/profile-YRDHLMRO.js.map +0 -7
  656. package/dist/cli-bundle/chunks/register-list-query-5H66WFYF.js +0 -419
  657. package/dist/cli-bundle/chunks/register-list-query-FB3FNDLZ.js +0 -409
  658. package/dist/cli-bundle/chunks/register-mutation-UJO23C7R.js +0 -1256
  659. package/dist/cli-bundle/chunks/register-mutation-Z2ETYHKS.js +0 -1273
  660. package/dist/cli-bundle/chunks/register-operations-A3XAM5J7.js +0 -513
  661. package/dist/cli-bundle/chunks/register-operations-A3XAM5J7.js.map +0 -1
  662. package/dist/cli-bundle/chunks/register-operations-SG7HBSUP.js +0 -516
  663. package/dist/cli-bundle/chunks/register-operations-SG7HBSUP.js.map +0 -7
  664. package/dist/cli-bundle/chunks/register-setup-I45OGJUV.js +0 -323
  665. package/dist/cli-bundle/chunks/register-setup-I45OGJUV.js.map +0 -1
  666. package/dist/cli-bundle/chunks/register-setup-K6U3NVY5.js +0 -326
  667. package/dist/cli-bundle/chunks/register-setup-K6U3NVY5.js.map +0 -7
  668. package/dist/cli-bundle/chunks/restore-PXOFL6AM.js +0 -19
  669. package/dist/cli-bundle/chunks/restore-YJ2ET6AT.js +0 -23
  670. package/dist/cli-bundle/chunks/scheduling-shortcuts-SSC4MYWQ.js +0 -91
  671. package/dist/cli-bundle/chunks/scheduling-shortcuts-SSC4MYWQ.js.map +0 -7
  672. package/dist/cli-bundle/chunks/scheduling-shortcuts-ULRG7MNP.js +0 -88
  673. package/dist/cli-bundle/chunks/scheduling-shortcuts-ULRG7MNP.js.map +0 -1
  674. package/dist/cli-bundle/chunks/schema-2PUXCZ25.js +0 -74
  675. package/dist/cli-bundle/chunks/schema-Y6DXXK2F.js +0 -78
  676. package/dist/cli-bundle/chunks/search-3S72CTD6.js +0 -38
  677. package/dist/cli-bundle/chunks/search-WNUNBQXO.js +0 -34
  678. package/dist/cli-bundle/chunks/stats-IJYTRQGV.js +0 -250
  679. package/dist/cli-bundle/chunks/stats-IJYTRQGV.js.map +0 -7
  680. package/dist/cli-bundle/chunks/stats-L2D5Y2O5.js +0 -240
  681. package/dist/cli-bundle/chunks/stats-L2D5Y2O5.js.map +0 -1
  682. package/dist/cli-bundle/chunks/telemetry-L2CVOKVN.js +0 -309
  683. package/dist/cli-bundle/chunks/telemetry-L2CVOKVN.js.map +0 -7
  684. package/dist/cli-bundle/chunks/telemetry-QBYWQA76.js +0 -306
  685. package/dist/cli-bundle/chunks/telemetry-QBYWQA76.js.map +0 -1
  686. package/dist/cli-bundle/chunks/test-DQ2QFJ7W.js +0 -45
  687. package/dist/cli-bundle/chunks/test-W7QBLVJS.js +0 -41
  688. package/dist/cli-bundle/chunks/test-all-636NTRTT.js +0 -434
  689. package/dist/cli-bundle/chunks/test-all-636NTRTT.js.map +0 -1
  690. package/dist/cli-bundle/chunks/test-all-DWYK3RG6.js +0 -437
  691. package/dist/cli-bundle/chunks/test-all-DWYK3RG6.js.map +0 -7
  692. package/dist/cli-bundle/chunks/test-runs-245OINZR.js +0 -28
  693. package/dist/cli-bundle/chunks/test-runs-ZRD4GCTT.js +0 -24
  694. package/dist/cli-bundle/chunks/update-SFLZPJXX.js +0 -30
  695. package/dist/cli-bundle/chunks/update-SJZ6S77U.js +0 -26
  696. package/dist/cli-bundle/chunks/update-many-DC7X3EWM.js +0 -671
  697. package/dist/cli-bundle/chunks/update-many-DC7X3EWM.js.map +0 -7
  698. package/dist/cli-bundle/chunks/update-many-SLLAMHT7.js +0 -668
  699. package/dist/cli-bundle/chunks/update-many-SLLAMHT7.js.map +0 -1
  700. package/dist/cli-bundle/chunks/upgrade-HFFXLZJA.js +0 -290
  701. package/dist/cli-bundle/chunks/upgrade-HFFXLZJA.js.map +0 -7
  702. package/dist/cli-bundle/chunks/upgrade-UYQKM7RF.js +0 -287
  703. package/dist/cli-bundle/chunks/upgrade-UYQKM7RF.js.map +0 -1
  704. package/dist/cli-bundle/chunks/validate-PA4FDTOV.js +0 -2143
  705. package/dist/cli-bundle/chunks/validate-PA4FDTOV.js.map +0 -7
  706. package/dist/cli-bundle/chunks/validate-Z7L75YEJ.js +0 -2105
  707. package/dist/cli-bundle/chunks/validate-Z7L75YEJ.js.map +0 -1
  708. /package/dist/cli-bundle/chunks/{activity-4XQIDNM5.js.map → activity-WJCGCYPU.js.map} +0 -0
  709. /package/dist/cli-bundle/chunks/{activity-YKAKZTZ4.js.map → activity-Z6QUAUSG.js.map} +0 -0
  710. /package/dist/cli-bundle/chunks/{close-3YRR3XY6.js.map → aggregate-BDM6EIAR.js.map} +0 -0
  711. /package/dist/cli-bundle/chunks/{close-OB2Y4QP5.js.map → aggregate-VQ2DHU3S.js.map} +0 -0
  712. /package/dist/cli-bundle/chunks/{context-WLA6IAWE.js.map → append-BGML6VLD.js.map} +0 -0
  713. /package/dist/cli-bundle/chunks/{context-4OQGIPSO.js.map → append-RKJYPU74.js.map} +0 -0
  714. /package/dist/cli-bundle/chunks/{chunk-YFIE7YK6.js.map → chunk-22KBU3MW.js.map} +0 -0
  715. /package/dist/cli-bundle/chunks/{chunk-DLQ4ZTCU.js.map → chunk-24YG75HI.js.map} +0 -0
  716. /package/dist/cli-bundle/chunks/{chunk-KLG4ZULO.js.map → chunk-2XG4IZON.js.map} +0 -0
  717. /package/dist/cli-bundle/chunks/{chunk-FJRKQREY.js.map → chunk-3GCS5SKL.js.map} +0 -0
  718. /package/dist/cli-bundle/chunks/{chunk-5B3X4Y22.js.map → chunk-3KTN6IBA.js.map} +0 -0
  719. /package/dist/cli-bundle/chunks/{chunk-YMABYTNG.js.map → chunk-3UJRFJ5R.js.map} +0 -0
  720. /package/dist/cli-bundle/chunks/{chunk-YSAH5FY5.js.map → chunk-3VHSI5FL.js.map} +0 -0
  721. /package/dist/cli-bundle/chunks/{chunk-7EQNAZX2.js.map → chunk-46CUF5L6.js.map} +0 -0
  722. /package/dist/cli-bundle/chunks/{chunk-75U6M5ZD.js.map → chunk-4IWYTWGF.js.map} +0 -0
  723. /package/dist/cli-bundle/chunks/{chunk-VZIYHZDX.js.map → chunk-5GZ7TDD6.js.map} +0 -0
  724. /package/dist/cli-bundle/chunks/{chunk-3U3VEWK6.js.map → chunk-5VAA4YHR.js.map} +0 -0
  725. /package/dist/cli-bundle/chunks/{chunk-3PL6LEKP.js.map → chunk-64YKRTSV.js.map} +0 -0
  726. /package/dist/cli-bundle/chunks/{chunk-ABRA3BHY.js.map → chunk-6LLVNJXT.js.map} +0 -0
  727. /package/dist/cli-bundle/chunks/{chunk-EEY54JMF.js.map → chunk-7DT4WSH2.js.map} +0 -0
  728. /package/dist/cli-bundle/chunks/{chunk-7MDXZAZS.js.map → chunk-7WBAJSS6.js.map} +0 -0
  729. /package/dist/cli-bundle/chunks/{chunk-AAEQMOC6.js.map → chunk-AGHMOTGM.js.map} +0 -0
  730. /package/dist/cli-bundle/chunks/{chunk-OWTIRHX4.js.map → chunk-ALFPSEWO.js.map} +0 -0
  731. /package/dist/cli-bundle/chunks/{chunk-T3ABIMGW.js.map → chunk-AZYGZGGI.js.map} +0 -0
  732. /package/dist/cli-bundle/chunks/{chunk-3JZNEQBA.js.map → chunk-B6DUFX6H.js.map} +0 -0
  733. /package/dist/cli-bundle/chunks/{chunk-OESSOFJ4.js.map → chunk-C5JBZRPU.js.map} +0 -0
  734. /package/dist/cli-bundle/chunks/{chunk-YPPVU5GX.js.map → chunk-CFB33L7W.js.map} +0 -0
  735. /package/dist/cli-bundle/chunks/{chunk-5J2XPTAD.js.map → chunk-CL36D4PC.js.map} +0 -0
  736. /package/dist/cli-bundle/chunks/{chunk-IJ6CO3JV.js.map → chunk-D2XRLB55.js.map} +0 -0
  737. /package/dist/cli-bundle/chunks/{chunk-MNZ7DRNC.js.map → chunk-DEWEK6AN.js.map} +0 -0
  738. /package/dist/cli-bundle/chunks/{chunk-US3T3W5J.js.map → chunk-E3SZTQ4K.js.map} +0 -0
  739. /package/dist/cli-bundle/chunks/{chunk-C3PMDWGX.js.map → chunk-EGY6JBQ3.js.map} +0 -0
  740. /package/dist/cli-bundle/chunks/{chunk-JLA7EVYV.js.map → chunk-EKFNL33R.js.map} +0 -0
  741. /package/dist/cli-bundle/chunks/{chunk-57C2RLW5.js.map → chunk-ENGQOEUY.js.map} +0 -0
  742. /package/dist/cli-bundle/chunks/{chunk-7QH7DHUB.js.map → chunk-EOKXK3R3.js.map} +0 -0
  743. /package/dist/cli-bundle/chunks/{chunk-ZCJAA3JK.js.map → chunk-F3K4JGFD.js.map} +0 -0
  744. /package/dist/cli-bundle/chunks/{chunk-DRBV5UC2.js.map → chunk-FLZSGSQR.js.map} +0 -0
  745. /package/dist/cli-bundle/chunks/{chunk-Y76TWC45.js.map → chunk-FT3QTERD.js.map} +0 -0
  746. /package/dist/cli-bundle/chunks/{chunk-HK72NWAD.js.map → chunk-G24G7ZAV.js.map} +0 -0
  747. /package/dist/cli-bundle/chunks/{chunk-K3AGVXSF.js.map → chunk-G64OCSKU.js.map} +0 -0
  748. /package/dist/cli-bundle/chunks/{chunk-QHZO65XW.js.map → chunk-GANUTS7W.js.map} +0 -0
  749. /package/dist/cli-bundle/chunks/{chunk-WISPVC2E.js.map → chunk-GBAX2ZAQ.js.map} +0 -0
  750. /package/dist/cli-bundle/chunks/{chunk-RCT3YJOK.js.map → chunk-GJ7QC5DJ.js.map} +0 -0
  751. /package/dist/cli-bundle/chunks/{chunk-BVEUCSH2.js.map → chunk-GPLPTGOV.js.map} +0 -0
  752. /package/dist/cli-bundle/chunks/{chunk-YZIR4R3U.js.map → chunk-GZRDYONU.js.map} +0 -0
  753. /package/dist/cli-bundle/chunks/{chunk-7WYXBPYQ.js.map → chunk-IWVU4C2F.js.map} +0 -0
  754. /package/dist/cli-bundle/chunks/{chunk-T3F4DF23.js.map → chunk-IX5BXEMX.js.map} +0 -0
  755. /package/dist/cli-bundle/chunks/{chunk-RX3HQSYG.js.map → chunk-JDDLOQAE.js.map} +0 -0
  756. /package/dist/cli-bundle/chunks/{chunk-YOF5VPKM.js.map → chunk-JJP45OEI.js.map} +0 -0
  757. /package/dist/cli-bundle/chunks/{chunk-TT42JUMF.js.map → chunk-K46RF36U.js.map} +0 -0
  758. /package/dist/cli-bundle/chunks/{chunk-R3ZBLGTC.js.map → chunk-KGFUY7WN.js.map} +0 -0
  759. /package/dist/cli-bundle/chunks/{chunk-NER3KUUS.js.map → chunk-KUOOJR35.js.map} +0 -0
  760. /package/dist/cli-bundle/chunks/{chunk-3Y4OESPP.js.map → chunk-L5PSPMZ4.js.map} +0 -0
  761. /package/dist/cli-bundle/chunks/{chunk-PJ3A56YF.js.map → chunk-LPSSSDJR.js.map} +0 -0
  762. /package/dist/cli-bundle/chunks/{chunk-FDBARR33.js.map → chunk-MA4SM3QZ.js.map} +0 -0
  763. /package/dist/cli-bundle/chunks/{chunk-PPAJG4GB.js.map → chunk-MFAZSEM5.js.map} +0 -0
  764. /package/dist/cli-bundle/chunks/{chunk-5JZ7APJU.js.map → chunk-MFSCBT5Q.js.map} +0 -0
  765. /package/dist/cli-bundle/chunks/{chunk-4OFLJHX6.js.map → chunk-MLIYFOE7.js.map} +0 -0
  766. /package/dist/cli-bundle/chunks/{chunk-ZMD35NYG.js.map → chunk-MUH7A3FD.js.map} +0 -0
  767. /package/dist/cli-bundle/chunks/{chunk-5JE6SMYS.js.map → chunk-MVYWGY2A.js.map} +0 -0
  768. /package/dist/cli-bundle/chunks/{chunk-P5TFTLWW.js.map → chunk-MWMVPCIE.js.map} +0 -0
  769. /package/dist/cli-bundle/chunks/{chunk-T35XLYZF.js.map → chunk-NGXQ3PFT.js.map} +0 -0
  770. /package/dist/cli-bundle/chunks/{chunk-EZFKWSC7.js.map → chunk-NMP5I3I5.js.map} +0 -0
  771. /package/dist/cli-bundle/chunks/{chunk-HJE4JTKQ.js.map → chunk-O6AWCQRQ.js.map} +0 -0
  772. /package/dist/cli-bundle/chunks/{chunk-BFVHCAOO.js.map → chunk-OGWQ2IEP.js.map} +0 -0
  773. /package/dist/cli-bundle/chunks/{chunk-S4APD35C.js.map → chunk-QLMX7SRD.js.map} +0 -0
  774. /package/dist/cli-bundle/chunks/{chunk-MZ7VNEVY.js.map → chunk-RFNYTESG.js.map} +0 -0
  775. /package/dist/cli-bundle/chunks/{chunk-MTTXDAK4.js.map → chunk-SCUR7K7N.js.map} +0 -0
  776. /package/dist/cli-bundle/chunks/{chunk-P5YORJRH.js.map → chunk-SHQY2IDC.js.map} +0 -0
  777. /package/dist/cli-bundle/chunks/{chunk-S5AYOUT5.js.map → chunk-SMB7RV23.js.map} +0 -0
  778. /package/dist/cli-bundle/chunks/{chunk-N7X4WP6L.js.map → chunk-SPZ6DOGY.js.map} +0 -0
  779. /package/dist/cli-bundle/chunks/{chunk-P3VRG72Q.js.map → chunk-SQYJ4HF2.js.map} +0 -0
  780. /package/dist/cli-bundle/chunks/{chunk-4LRVSBO6.js.map → chunk-T42JWV3F.js.map} +0 -0
  781. /package/dist/cli-bundle/chunks/{chunk-NBFCNJ7Q.js.map → chunk-TULGS6X6.js.map} +0 -0
  782. /package/dist/cli-bundle/chunks/{chunk-ZJB3UV5U.js.map → chunk-TZXRBVAM.js.map} +0 -0
  783. /package/dist/cli-bundle/chunks/{chunk-ZD34OFFQ.js.map → chunk-VPIM42PC.js.map} +0 -0
  784. /package/dist/cli-bundle/chunks/{chunk-FGQKEDE4.js.map → chunk-W3DSJQIO.js.map} +0 -0
  785. /package/dist/cli-bundle/chunks/{chunk-4QQ6PM7M.js.map → chunk-W572BIEB.js.map} +0 -0
  786. /package/dist/cli-bundle/chunks/{chunk-Z2CRRZYF.js.map → chunk-WRTENIX3.js.map} +0 -0
  787. /package/dist/cli-bundle/chunks/{chunk-ZAHXPXVY.js.map → chunk-XB7KFVFI.js.map} +0 -0
  788. /package/dist/cli-bundle/chunks/{chunk-PDXT6Q55.js.map → chunk-XG625QP4.js.map} +0 -0
  789. /package/dist/cli-bundle/chunks/{chunk-D3UCE7RW.js.map → chunk-XUC7PI2H.js.map} +0 -0
  790. /package/dist/cli-bundle/chunks/{chunk-N6DNM2FA.js.map → chunk-Y46GD4IX.js.map} +0 -0
  791. /package/dist/cli-bundle/chunks/{chunk-FUM6UMY4.js.map → chunk-Y4M7CPQP.js.map} +0 -0
  792. /package/dist/cli-bundle/chunks/{chunk-HBYZDSK5.js.map → chunk-YN7Y6DQZ.js.map} +0 -0
  793. /package/dist/cli-bundle/chunks/{chunk-YQMMMONE.js.map → chunk-ZGK4L4JM.js.map} +0 -0
  794. /package/dist/cli-bundle/chunks/{chunk-LEKT4K7I.js.map → chunk-ZSUS2OD3.js.map} +0 -0
  795. /package/dist/cli-bundle/chunks/{chunk-TSPKZRRW.js.map → chunk-ZZD4J5XY.js.map} +0 -0
  796. /package/dist/cli-bundle/chunks/{contracts-HXJLKCRI.js.map → claim-RFS7BROJ.js.map} +0 -0
  797. /package/dist/cli-bundle/chunks/{contracts-OJEXMKVW.js.map → claim-XP5AWZ5H.js.map} +0 -0
  798. /package/dist/cli-bundle/chunks/{create-XWWQFQ6S.js.map → close-2SSSHHUZ.js.map} +0 -0
  799. /package/dist/cli-bundle/chunks/{create-WKOZKPQR.js.map → close-GEANHQ2J.js.map} +0 -0
  800. /package/dist/cli-bundle/chunks/{extension-ZF6ZZPOU.js.map → close-many-CMZW7ITN.js.map} +0 -0
  801. /package/dist/cli-bundle/chunks/{extension-NBAH62ML.js.map → close-many-ZFDIG6M7.js.map} +0 -0
  802. /package/dist/cli-bundle/chunks/{history-SGPYRAFT.js.map → comments-MFSYVNNU.js.map} +0 -0
  803. /package/dist/cli-bundle/chunks/{history-RYKLC72X.js.map → comments-XUBPXDYX.js.map} +0 -0
  804. /package/dist/cli-bundle/chunks/{history-redact-4H3FCKF3.js.map → config-D7XQMONX.js.map} +0 -0
  805. /package/dist/cli-bundle/chunks/{history-redact-54ICFKXM.js.map → config-T4FHBSYN.js.map} +0 -0
  806. /package/dist/cli-bundle/chunks/{init-RPIPQUNV.js.map → context-DIU275XI.js.map} +0 -0
  807. /package/dist/cli-bundle/chunks/{init-SKQAESQS.js.map → context-JCOYB4LZ.js.map} +0 -0
  808. /package/dist/cli-bundle/chunks/{list-64LHZ3HM.js.map → contracts-BVO7CSLK.js.map} +0 -0
  809. /package/dist/cli-bundle/chunks/{list-7LXBTEKI.js.map → contracts-NYPEW2G4.js.map} +0 -0
  810. /package/dist/cli-bundle/chunks/{restore-YJ2ET6AT.js.map → copy-32ROBIDL.js.map} +0 -0
  811. /package/dist/cli-bundle/chunks/{restore-PXOFL6AM.js.map → copy-NAGLGMHZ.js.map} +0 -0
  812. /package/dist/cli-bundle/chunks/{schema-2PUXCZ25.js.map → create-4V7SWNBB.js.map} +0 -0
  813. /package/dist/cli-bundle/chunks/{schema-Y6DXXK2F.js.map → create-E77SDCUP.js.map} +0 -0
  814. /package/dist/cli-bundle/chunks/{search-WNUNBQXO.js.map → delete-NQI5OSKN.js.map} +0 -0
  815. /package/dist/cli-bundle/chunks/{search-3S72CTD6.js.map → delete-RA5KTCLB.js.map} +0 -0
  816. /package/dist/cli-bundle/chunks/{test-DQ2QFJ7W.js.map → deps-32SU7HO5.js.map} +0 -0
  817. /package/dist/cli-bundle/chunks/{test-W7QBLVJS.js.map → deps-T7SCWXEX.js.map} +0 -0
  818. /package/dist/cli-bundle/chunks/{test-runs-245OINZR.js.map → docs-RRUPT7O2.js.map} +0 -0
  819. /package/dist/cli-bundle/chunks/{test-runs-ZRD4GCTT.js.map → docs-WL2IWGWV.js.map} +0 -0
  820. /package/dist/cli-bundle/chunks/{update-SJZ6S77U.js.map → eval-NF2J5SHR.js.map} +0 -0
  821. /package/dist/cli-bundle/chunks/{update-SFLZPJXX.js.map → eval-SKDT3MZU.js.map} +0 -0
  822. /package/dist/cli-bundle/chunks/{register-list-query-FB3FNDLZ.js.map → register-list-query-B42JCCOI.js.map} +0 -0
  823. /package/dist/cli-bundle/chunks/{register-list-query-5H66WFYF.js.map → register-list-query-OEYQHFXO.js.map} +0 -0
  824. /package/dist/cli-bundle/chunks/{register-mutation-Z2ETYHKS.js.map → register-mutation-3QXIHCQG.js.map} +0 -0
  825. /package/dist/cli-bundle/chunks/{register-mutation-UJO23C7R.js.map → register-mutation-IAEST26S.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sources":["sdk/runtime.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module sdk/runtime\n *\n * Defines public SDK APIs and package-author helpers for Runtime.\n */\nimport path from \"node:path\";\nimport {\n activateExtensions,\n loadExtensions,\n type ExtensionRegistrationRegistry,\n} from \"../core/extensions/index.js\";\nimport type { GlobalOptions } from \"../core/shared/command-types.js\";\nimport { resolveItemTypeRegistry } from \"../core/item/type-registry.js\";\nimport { resolveRuntimeStatusRegistry } from \"../core/schema/runtime-schema.js\";\nimport { readSettings } from \"../core/store/settings.js\";\nimport {\n runContracts,\n type ContractsCommandOptions,\n type ContractsResult,\n} from \"../cli/commands/contracts.js\";\n\nexport {\n getActiveExtensionRegistrations,\n runActiveOnReadHooks,\n runActiveOnWriteHooks,\n} from \"../core/extensions/index.js\";\nexport { pathExists, readFileIfExists, removeFileIfExists, writeFileAtomic } from \"../core/fs/fs-utils.js\";\nexport { appendHistoryEntry, createHistoryEntry } from \"../core/history/history.js\";\nexport { generateItemId, normalizeItemId, normalizeRawItemId } from \"../core/item/id.js\";\nexport { readBooleanOption, readCsvListOption, readStringOption } from \"./package-runtime-options.js\";\nexport {\n PM_CLI_EXPECTED_ERROR_NAME,\n createPmCliExpectedError,\n isPmCliExpectedError,\n type CreatePmCliExpectedErrorOptions,\n type PmCliExpectedError,\n} from \"./errors.js\";\nexport {\n commitImportedItem,\n emptyImportedDocument,\n ensureTrackerInitialized,\n selectImportAuthor,\n toEstimatedMinutesValue,\n toImportBoolean,\n toImportConfidence,\n toImportInteger,\n toImportLinkedDocs,\n toImportLinkedFiles,\n toImportLinkedTests,\n toImportLogEntries,\n toImportNormalizedEnum,\n toImportNumberMap,\n toImportPriority,\n toImportStatus,\n toImportStringList,\n toImportStringMap,\n toImportTags,\n toNonEmptyImportString,\n type CommitImportedItemParams,\n type CommitImportedItemResult,\n type ImportLinkedScope,\n type ImportPriorityValue,\n type ToImportLinkedArtifactsOptions,\n type ToImportLinkedTestsOptions,\n type ToImportLogEntriesOptions,\n} from \"./package-import-adapters.js\";\nexport {\n canonicalDocument,\n normalizeFrontMatter,\n serializeItemDocument,\n splitFrontMatter,\n} from \"../core/item/item-format.js\";\nexport {\n BASELINE_ITEM_FORMAT_VERSION,\n CURRENT_ITEM_FORMAT_VERSION,\n classifyItemFormatVersion,\n effectiveItemFormatVersion,\n normalizeItemFormatVersion,\n scanItemFormatVersions,\n type ItemFormatVersionScanEntry,\n type ItemFormatVersionScanResult,\n type ItemFormatVersionStatus,\n} from \"../core/item/item-format-version.js\";\nexport { parseTags } from \"../core/item/parse.js\";\nexport { normalizeStatusInput } from \"../core/item/status.js\";\nexport { resolveItemTypeRegistry } from \"../core/item/type-registry.js\";\nexport { acquireLock } from \"../core/lock/lock.js\";\nexport { resolveRuntimeFieldRegistry, resolveRuntimeStatusRegistry } from \"../core/schema/runtime-schema.js\";\nexport { EXIT_CODE } from \"../core/shared/constants.js\";\nexport { PmCliError } from \"../core/shared/errors.js\";\nexport { isTimestampLiteral, nowIso } from \"../core/shared/time.js\";\nexport { listAllFrontMatter, locateItem, readLocatedItem } from \"../core/store/item-store.js\";\nexport { getHistoryPath, getItemPath, getSettingsPath, resolvePmRoot } from \"../core/store/paths.js\";\nexport { readSettings } from \"../core/store/settings.js\";\nexport {\n renderCalendarMarkdown,\n renderCalendarToon,\n resolveCalendarOutputFormat,\n runCalendar,\n type CalendarOptions,\n type CalendarResult,\n} from \"../cli/commands/calendar.js\";\nexport {\n renderGuideMarkdown,\n resolveGuideOutputFormat,\n runGuide,\n type GuideDepth,\n type GuideOptions,\n type GuideOutputFormat,\n type GuideResult,\n} from \"../cli/commands/guide.js\";\nexport { runCompletion, type CompletionResult, type CompletionShell } from \"../cli/commands/completion.js\";\nexport {\n runCommentsAudit,\n type CommentsAuditEntry,\n type CommentsAuditHistoryRow,\n type CommentsAuditOptions,\n type CommentsAuditResult,\n type CommentsAuditSummary,\n type CommentsAuditTypeSummary,\n} from \"../cli/commands/comments-audit.js\";\nexport {\n runDedupeAudit,\n type DedupeAuditCandidate,\n type DedupeAuditCluster,\n type DedupeAuditOptions,\n type DedupeAuditResult,\n} from \"../cli/commands/dedupe-audit.js\";\nexport {\n runDedupeMerge,\n type DedupeMergeChildReparent,\n type DedupeMergeCloseAction,\n type DedupeMergeDuplicateOutcome,\n type DedupeMergeOptions,\n type DedupeMergeResult,\n} from \"../cli/commands/dedupe-merge.js\";\nexport { runNormalize, type NormalizeCommandOptions, type NormalizeResult } from \"../cli/commands/normalize.js\";\nexport { runReindex, type ReindexOptions, type ReindexResult } from \"../cli/commands/reindex.js\";\nexport { runSearch, type SearchOptions, type SearchResult } from \"../cli/commands/search.js\";\nexport {\n loadCreateTemplateOptions,\n runTemplatesList,\n runTemplatesSave,\n runTemplatesShow,\n type CreateTemplateOptions,\n type TemplatesListResult,\n type TemplatesSaveResult,\n type TemplatesShowResult,\n} from \"../cli/commands/templates.js\";\nexport {\n runTestRunsList,\n runTestRunsLogs,\n runTestRunsResume,\n runTestRunsStatus,\n runTestRunsStop,\n type TestRunsListCommandOptions,\n type TestRunsLogsCommandOptions,\n type TestRunsResumeCommandOptions,\n type TestRunsStopCommandOptions,\n} from \"../cli/commands/test-runs.js\";\nexport {\n CONFIDENCE_TEXT_VALUES,\n DEPENDENCY_KIND_VALUES,\n BUILTIN_ITEM_TYPE_VALUES,\n ISSUE_SEVERITY_VALUES,\n ITEM_TYPE_VALUES,\n RISK_VALUES,\n STATUS_VALUES,\n} from \"../types/index.js\";\nexport type { GlobalOptions } from \"../core/shared/command-types.js\";\nexport type {\n Dependency,\n ItemDocument,\n ItemMetadata,\n ItemStatus,\n ItemType,\n LinkedDoc,\n LinkedFile,\n LinkedTest,\n LogNote,\n PmSettings,\n} from \"../types/index.js\";\n\n/**\n * Documents the get contracts options payload exchanged by command, SDK, and package integrations.\n */\nexport interface GetContractsOptions extends ContractsCommandOptions {\n pmRoot?: string;\n cwd?: string;\n noExtensions?: boolean;\n quiet?: boolean;\n profile?: boolean;\n}\n\n/**\n * Documents the workspace contracts options payload exchanged by command, SDK, and package integrations.\n */\nexport interface WorkspaceContractsOptions {\n extensionRegistrations?: ExtensionRegistrationRegistry | null;\n noExtensions?: boolean;\n cwd?: string;\n}\n\n/**\n * Documents the workspace contracts payload exchanged by command, SDK, and package integrations.\n */\nexport interface WorkspaceContracts {\n types: string[];\n statuses: string[];\n openStatus: string;\n closeStatus: string;\n canceledStatus: string;\n}\n\n/**\n * Process-lifetime memo of activated extension registrations, keyed by resolved\n * pm root + cwd + extension settings. `getWorkspaceContracts` is frequently\n * called by importers and package runtimes that cannot thread a registry\n * through; without the memo each call re-discovers, re-imports, and re-activates\n * every extension.\n *\n * Invalidation story: entries are size-bounded and otherwise live until cleared.\n * One-shot CLI processes are trivially correct. Long-lived hosts (e.g. the MCP\n * server) must either pass `options.extensionRegistrations` (which bypasses the\n * memo) or call {@link clearWorkspaceContractsCache} after installing/removing/\n * toggling extensions or editing settings. Settings themselves are re-read on\n * every call — only the extension load+activate step is memoized.\n */\nconst WORKSPACE_CONTRACTS_CACHE_LIMIT = 50;\nconst workspaceExtensionRegistrationsCache = new Map<string, Promise<ExtensionRegistrationRegistry | null>>();\n\nfunction buildWorkspaceExtensionRegistrationsCacheKey(\n pmRoot: string,\n settings: Awaited<ReturnType<typeof readSettings>>,\n cwd?: string,\n): string {\n return JSON.stringify([\n path.resolve(pmRoot),\n path.resolve(cwd ?? process.cwd()),\n settings.extensions.enabled,\n settings.extensions.disabled,\n settings.extensions.policy,\n ]);\n}\n\n/**\n * Drop all memoized workspace extension registrations so the next\n * `getWorkspaceContracts` call re-loads and re-activates extensions from disk.\n * Long-lived hosts should call this after any extension or settings mutation.\n */\nexport function clearWorkspaceContractsCache(): void {\n workspaceExtensionRegistrationsCache.clear();\n}\n\nasync function resolveWorkspaceExtensionRegistrations(\n pmRoot: string,\n settings: Awaited<ReturnType<typeof readSettings>>,\n cwd?: string,\n): Promise<ExtensionRegistrationRegistry | null> {\n const cacheKey = buildWorkspaceExtensionRegistrationsCacheKey(pmRoot, settings, cwd);\n const cached = workspaceExtensionRegistrationsCache.get(cacheKey);\n if (cached !== undefined) {\n return cached;\n }\n if (workspaceExtensionRegistrationsCache.size >= WORKSPACE_CONTRACTS_CACHE_LIMIT) {\n const oldestKey = workspaceExtensionRegistrationsCache.keys().next().value!;\n workspaceExtensionRegistrationsCache.delete(oldestKey);\n }\n const registrations = loadWorkspaceExtensionRegistrations(pmRoot, settings, cwd);\n workspaceExtensionRegistrationsCache.set(cacheKey, registrations);\n return registrations;\n}\n\n/**\n * Implements get workspace contracts for the public runtime surface of this module.\n */\nexport async function getWorkspaceContracts(\n pmRoot: string,\n options: WorkspaceContractsOptions = {},\n): Promise<WorkspaceContracts> {\n const settings = await readSettings(pmRoot);\n const extensionRegistrations =\n options.extensionRegistrations ??\n (options.noExtensions === true ? null : await resolveWorkspaceExtensionRegistrations(pmRoot, settings, options.cwd));\n const typeRegistry = resolveItemTypeRegistry(settings, extensionRegistrations);\n const statusRegistry = resolveRuntimeStatusRegistry(settings.schema);\n\n return {\n types: [...typeRegistry.types],\n statuses: statusRegistry.definitions.map((definition) => definition.id),\n openStatus: statusRegistry.open_status,\n closeStatus: statusRegistry.close_status,\n canceledStatus: statusRegistry.canceled_status,\n };\n}\n\n/**\n * Implements get contracts for the public runtime surface of this module.\n */\nexport async function getContracts(\n pmRootOrOptions?: string | GetContractsOptions,\n options: GetContractsOptions = {},\n): Promise<ContractsResult> {\n const resolvedOptions =\n typeof pmRootOrOptions === \"string\"\n ? { ...options, pmRoot: pmRootOrOptions }\n : (pmRootOrOptions ?? options);\n const global: GlobalOptions = {\n json: true,\n quiet: resolvedOptions.quiet ?? true,\n noExtensions: resolvedOptions.noExtensions ?? false,\n noPager: true,\n profile: resolvedOptions.profile ?? false,\n path: resolvedOptions.pmRoot,\n };\n\n return runContracts(resolvedOptions, global);\n}\n\nasync function loadWorkspaceExtensionRegistrations(\n pmRoot: string,\n settings: Awaited<ReturnType<typeof readSettings>>,\n cwd?: string,\n): Promise<ExtensionRegistrationRegistry | null> {\n const loadResult = await loadExtensions({\n pmRoot,\n settings,\n cwd: cwd ?? process.cwd(),\n noExtensions: false,\n });\n const activationResult = await activateExtensions(loadResult);\n return activationResult.registrations;\n}\n\nexport type { ContractsCommandOptions, ContractsResult };\n"],"names":[],"mappings":"AAAA;;;;GAIG;;;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,cAAc,GAEf,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EACL,YAAY,GAGb,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3G,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACtG,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,GAGrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,mBA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f0a"}
1
+ {"version":3,"file":"runtime.js","sources":["sdk/runtime.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module sdk/runtime\n *\n * Defines public SDK APIs and package-author helpers for Runtime.\n */\nimport path from \"node:path\";\nimport {\n createEmptyExtensionCommandRegistry,\n createEmptyExtensionHookRegistry,\n createEmptyExtensionParserRegistry,\n createEmptyExtensionPreflightRegistry,\n createEmptyExtensionRegistrationRegistry,\n createEmptyExtensionRendererRegistry,\n createEmptyExtensionServiceRegistry,\n} from \"../core/extensions/extension-registries.js\";\nimport {\n activateExtensions,\n deactivateExtensions,\n loadExtensions,\n runActiveCommandHandler,\n setActiveExtensionCommands,\n setActiveExtensionHooks,\n setActiveExtensionParsers,\n setActiveExtensionPreflight,\n setActiveExtensionRegistrations,\n setActiveExtensionRenderers,\n setActiveExtensionServices,\n type ExtensionRegistrationRegistry,\n} from \"../core/extensions/index.js\";\nimport { pathExists } from \"../core/fs/fs-utils.js\";\nimport { resolveItemTypeRegistry } from \"../core/item/type-registry.js\";\nimport { projectMutationResult } from \"../core/output/mutation-projection.js\";\nimport { withQuerySummary } from \"../core/output/query-summary.js\";\nimport type { GlobalOptions } from \"../core/shared/command-types.js\";\nimport { PmCliError } from \"../core/shared/errors.js\";\nimport { asRecordClone } from \"../core/shared/primitives.js\";\nimport { createSerialQueue } from \"../core/shared/serial-queue.js\";\nimport { resolveRuntimeStatusRegistry } from \"../core/schema/runtime-schema.js\";\nimport { getSettingsPath, resolvePmRoot } from \"../core/store/paths.js\";\nimport { readSettings } from \"../core/store/settings.js\";\nimport { normalizeListOptions, normalizeUpdateOptions } from \"../cli/registration-helpers.js\";\nimport { UPDATE_COMMANDER_STRING_OPTION_CONTRACTS } from \"./cli-contracts/commander-mutation-options.js\";\nimport type { PmToolAction } from \"./cli-contracts/enum-contracts.js\";\nimport {\n clearWorkspaceContractsCache,\n memoizeWorkspaceExtensionRegistrations,\n} from \"./workspace-contracts-cache.js\";\nexport { clearWorkspaceContractsCache } from \"./workspace-contracts-cache.js\";\nimport {\n assertHistoryRepairTarget,\n runActivity,\n runAggregate,\n runAppend,\n runClaim,\n runClose,\n runCloseMany,\n runComments,\n runConfig,\n runContext,\n runCopy,\n runCreate,\n runDelete,\n runDeps,\n runDocs,\n runExtension,\n runFiles,\n runFilesDiscover,\n runFocus,\n runGc,\n runGet,\n runHealth,\n runHistory,\n runHistoryCompact,\n runHistoryRedact,\n runHistoryRepair,\n runHistoryRepairAll,\n runInit,\n runLearnings,\n runList,\n runNext,\n runNotes,\n runPlan,\n runProfileApply,\n runProfileLint,\n runProfileList,\n runProfileShow,\n runRestore,\n runRelease,\n runSchemaAddField,\n runSchemaAddStatus,\n runSchemaAddType,\n runSchemaApplyPreset,\n runSchemaInferTypes,\n runSchemaList,\n runSchemaListFields,\n runSchemaRemoveField,\n runSchemaRemoveStatus,\n runSchemaRemoveType,\n runSchemaShow,\n runSchemaShowField,\n runSchemaShowStatus,\n runSearch,\n runStats,\n runTelemetry,\n runTest,\n runTestAll,\n runUpdate,\n runUpdateMany,\n runUpgrade,\n runValidate,\n} from \"../cli/commands/index.js\";\nimport type { CloseManyCommandOptions } from \"../cli/commands/close-many.js\";\nimport {\n runContracts,\n type ContractsCommandOptions,\n type ContractsResult,\n} from \"../cli/commands/contracts.js\";\nimport type { ListOptions } from \"../cli/commands/list.js\";\nimport { resolveStartTaskInProgressStatus } from \"../cli/register-operations.js\";\nimport type { UpdateManyCommandOptions } from \"../cli/commands/update-many.js\";\n\nexport {\n getActiveExtensionRegistrations,\n runActiveOnReadHooks,\n runActiveOnWriteHooks,\n} from \"../core/extensions/index.js\";\nexport { pathExists, readFileIfExists, removeFileIfExists, writeFileAtomic } from \"../core/fs/fs-utils.js\";\nexport { appendHistoryEntry, createHistoryEntry } from \"../core/history/history.js\";\nexport { generateItemId, normalizeItemId, normalizeRawItemId } from \"../core/item/id.js\";\nexport { readBooleanOption, readCsvListOption, readStringOption } from \"./package-runtime-options.js\";\nexport {\n PM_CLI_EXPECTED_ERROR_NAME,\n createPmCliExpectedError,\n isPmCliExpectedError,\n type CreatePmCliExpectedErrorOptions,\n type PmCliExpectedError,\n} from \"./errors.js\";\nexport {\n commitImportedItem,\n emptyImportedDocument,\n ensureTrackerInitialized,\n selectImportAuthor,\n toEstimatedMinutesValue,\n toImportBoolean,\n toImportConfidence,\n toImportInteger,\n toImportLinkedDocs,\n toImportLinkedFiles,\n toImportLinkedTests,\n toImportLogEntries,\n toImportNormalizedEnum,\n toImportNumberMap,\n toImportPriority,\n toImportStatus,\n toImportStringList,\n toImportStringMap,\n toImportTags,\n toNonEmptyImportString,\n type CommitImportedItemParams,\n type CommitImportedItemResult,\n type ImportLinkedScope,\n type ImportPriorityValue,\n type ToImportLinkedArtifactsOptions,\n type ToImportLinkedTestsOptions,\n type ToImportLogEntriesOptions,\n} from \"./package-import-adapters.js\";\nexport {\n canonicalDocument,\n normalizeFrontMatter,\n serializeItemDocument,\n splitFrontMatter,\n} from \"../core/item/item-format.js\";\nexport {\n BASELINE_ITEM_FORMAT_VERSION,\n CURRENT_ITEM_FORMAT_VERSION,\n classifyItemFormatVersion,\n effectiveItemFormatVersion,\n normalizeItemFormatVersion,\n scanItemFormatVersions,\n type ItemFormatVersionScanEntry,\n type ItemFormatVersionScanResult,\n type ItemFormatVersionStatus,\n} from \"../core/item/item-format-version.js\";\nexport { parseTags } from \"../core/item/parse.js\";\nexport { normalizeStatusInput } from \"../core/item/status.js\";\nexport { resolveItemTypeRegistry } from \"../core/item/type-registry.js\";\nexport { acquireLock } from \"../core/lock/lock.js\";\nexport { resolveRuntimeFieldRegistry, resolveRuntimeStatusRegistry } from \"../core/schema/runtime-schema.js\";\nexport { EXIT_CODE } from \"../core/shared/constants.js\";\nexport { PmCliError } from \"../core/shared/errors.js\";\nexport { isTimestampLiteral, nowIso } from \"../core/shared/time.js\";\nexport { listAllFrontMatter, locateItem, readLocatedItem } from \"../core/store/item-store.js\";\nexport { getHistoryPath, getItemPath, getSettingsPath, resolvePmRoot } from \"../core/store/paths.js\";\nexport { readSettings } from \"../core/store/settings.js\";\nexport {\n renderCalendarMarkdown,\n renderCalendarToon,\n resolveCalendarOutputFormat,\n runCalendar,\n type CalendarOptions,\n type CalendarResult,\n} from \"../cli/commands/calendar.js\";\nexport {\n renderGuideMarkdown,\n resolveGuideOutputFormat,\n runGuide,\n type GuideDepth,\n type GuideOptions,\n type GuideOutputFormat,\n type GuideResult,\n} from \"../cli/commands/guide.js\";\nexport { runCompletion, type CompletionResult, type CompletionShell } from \"../cli/commands/completion.js\";\nexport {\n runCommentsAudit,\n type CommentsAuditEntry,\n type CommentsAuditHistoryRow,\n type CommentsAuditOptions,\n type CommentsAuditResult,\n type CommentsAuditSummary,\n type CommentsAuditTypeSummary,\n} from \"../cli/commands/comments-audit.js\";\nexport {\n runDedupeAudit,\n type DedupeAuditCandidate,\n type DedupeAuditCluster,\n type DedupeAuditOptions,\n type DedupeAuditResult,\n} from \"../cli/commands/dedupe-audit.js\";\nexport {\n runDedupeMerge,\n type DedupeMergeChildReparent,\n type DedupeMergeCloseAction,\n type DedupeMergeDuplicateOutcome,\n type DedupeMergeOptions,\n type DedupeMergeResult,\n} from \"../cli/commands/dedupe-merge.js\";\nexport { runNormalize, type NormalizeCommandOptions, type NormalizeResult } from \"../cli/commands/normalize.js\";\nexport { runReindex, type ReindexOptions, type ReindexResult } from \"../cli/commands/reindex.js\";\nexport { runSearch, type SearchOptions, type SearchResult } from \"../cli/commands/search.js\";\nexport {\n loadCreateTemplateOptions,\n runTemplatesList,\n runTemplatesSave,\n runTemplatesShow,\n type CreateTemplateOptions,\n type TemplatesListResult,\n type TemplatesSaveResult,\n type TemplatesShowResult,\n} from \"../cli/commands/templates.js\";\nexport {\n runTestRunsList,\n runTestRunsLogs,\n runTestRunsResume,\n runTestRunsStatus,\n runTestRunsStop,\n type TestRunsListCommandOptions,\n type TestRunsLogsCommandOptions,\n type TestRunsResumeCommandOptions,\n type TestRunsStopCommandOptions,\n} from \"../cli/commands/test-runs.js\";\nexport {\n CONFIDENCE_TEXT_VALUES,\n DEPENDENCY_KIND_VALUES,\n BUILTIN_ITEM_TYPE_VALUES,\n ISSUE_SEVERITY_VALUES,\n ITEM_TYPE_VALUES,\n RISK_VALUES,\n STATUS_VALUES,\n} from \"../types/index.js\";\nexport type { GlobalOptions } from \"../core/shared/command-types.js\";\nexport type {\n Dependency,\n ItemDocument,\n ItemMetadata,\n ItemStatus,\n ItemType,\n LinkedDoc,\n LinkedFile,\n LinkedTest,\n LogNote,\n PmSettings,\n} from \"../types/index.js\";\n\n/**\n * Documents the get contracts options payload exchanged by command, SDK, and package integrations.\n */\nexport interface GetContractsOptions extends ContractsCommandOptions {\n pmRoot?: string;\n cwd?: string;\n noExtensions?: boolean;\n quiet?: boolean;\n profile?: boolean;\n}\n\n/**\n * Documents the workspace contracts options payload exchanged by command, SDK, and package integrations.\n */\nexport interface WorkspaceContractsOptions {\n extensionRegistrations?: ExtensionRegistrationRegistry | null;\n noExtensions?: boolean;\n cwd?: string;\n}\n\n/**\n * Documents the workspace contracts payload exchanged by command, SDK, and package integrations.\n */\nexport interface WorkspaceContracts {\n types: string[];\n statuses: string[];\n openStatus: string;\n closeStatus: string;\n canceledStatus: string;\n}\n\n/**\n * Names a native pm action or an extension-contributed action accepted by {@link runAction}.\n */\nexport type PmActionName = PmToolAction | (string & {});\n\n/**\n * Plain object option bag forwarded to the same command runners used by MCP.\n */\nexport type PmActionOptions = Record<string, unknown>;\n\n/**\n * Complete high-level action request for {@link runAction}.\n */\nexport type PmActionInput = PmActionOptions & {\n /** Native or extension-contributed action name to dispatch. */\n action: PmActionName;\n /** Command-runner options forwarded after MCP-compatible normalization. */\n options?: PmActionOptions;\n};\n\n/**\n * Per-call arguments accepted by {@link PmClient.run}. The action name is passed\n * as the first parameter, so an `action` property inside the args bag is rejected\n * at compile time.\n */\nexport type PmClientRunArgs = Omit<PmActionInput, \"action\"> & {\n /**\n * Return full `changed_fields` arrays for mutation actions instead of the\n * default compact `changed_field_count` projection.\n */\n fullChangedFields?: boolean;\n /** Return only mutation item ids when supported by the action. */\n idOnly?: boolean;\n action?: never;\n};\n\n/**\n * Command options accepted by PmClient mutation convenience methods.\n */\nexport type PmClientMutationOptions = PmActionOptions & {\n /**\n * Return full `changed_fields` arrays for this mutation instead of the compact\n * SDK default.\n */\n fullChangedFields?: boolean;\n /** Return only mutation item ids when supported by the action. */\n idOnly?: boolean;\n};\n\n/**\n * Stable defaults applied by {@link PmClient} to every action it runs.\n */\nexport interface PmClientOptions {\n /** Tracker root to pass as the SDK equivalent of `--path`. */\n pmRoot?: string;\n /** Working directory used for workspace and extension resolution. */\n cwd?: string;\n /** Default mutation author forwarded to action options when absent. */\n author?: string;\n /** Disable extension loading for every action this client runs. */\n noExtensions?: boolean;\n}\n\ninterface PmClientDefaults {\n path?: string;\n cwd?: string;\n author?: string;\n noExtensions?: boolean;\n}\n\nfunction splitClientMutationOptions(options: PmClientMutationOptions): PmClientRunArgs {\n const { fullChangedFields, idOnly, ...runnerOptions } = options;\n return {\n ...(fullChangedFields === undefined ? {} : { fullChangedFields }),\n ...(idOnly === undefined ? {} : { idOnly }),\n options: runnerOptions,\n };\n}\n\n/**\n * Programmatic pm client for custom tools, CI jobs, bots, and embedded runtimes.\n *\n * Action execution shares the same process-wide extension activation queue used\n * by MCP. Concurrent calls from one process are serialized across extension\n * load, activation, dispatch, cleanup, and deactivate so active registries cannot\n * interleave.\n *\n * Convenience methods accept command options only. Use {@link PmClient.run} for\n * per-call runtime overrides such as `cwd`, `path`, or `noExtensions`.\n */\nexport class PmClient {\n private readonly defaults: PmClientDefaults;\n\n /**\n * Create a client with workspace, author, and extension-loading defaults.\n */\n constructor(options: PmClientOptions = {}) {\n this.defaults = {\n ...(options.pmRoot === undefined ? {} : { path: options.pmRoot }),\n ...(options.cwd === undefined ? {} : { cwd: options.cwd }),\n ...(options.author === undefined ? {} : { author: options.author }),\n ...(options.noExtensions === undefined ? {} : { noExtensions: options.noExtensions }),\n };\n }\n\n /**\n * Run any native or extension-contributed action through the SDK dispatcher.\n */\n run(action: PmActionName, args: PmClientRunArgs = {}): Promise<unknown> {\n return runAction({ ...this.defaults, ...args, action });\n }\n\n /**\n * Return the same context snapshot produced by `pm context`.\n */\n context(options: PmActionOptions = {}): Promise<unknown> {\n return this.run(\"context\", { options });\n }\n\n /**\n * List items with the MCP/agent compact defaults.\n */\n list(options: PmActionOptions = {}): Promise<unknown> {\n return this.run(\"list\", { options });\n }\n\n /**\n * Search items with the MCP/agent compact defaults.\n */\n search(query: string, options: PmActionOptions = {}): Promise<unknown> {\n return this.run(\"search\", { query, options });\n }\n\n /**\n * Read one item by id.\n */\n get(id: string, options: PmActionOptions = {}): Promise<unknown> {\n return this.run(\"get\", { id, options });\n }\n\n /**\n * Create an item using the same mutation path as `pm create`.\n */\n create(options: PmClientMutationOptions): Promise<unknown> {\n return this.run(\"create\", splitClientMutationOptions(options));\n }\n\n /**\n * Update an item using the same mutation path as `pm update`.\n */\n update(id: string, options: PmClientMutationOptions): Promise<unknown> {\n return this.run(\"update\", { id, ...splitClientMutationOptions(options) });\n }\n\n /**\n * Close an item using the same mutation path as `pm close`.\n */\n close(id: string, reason: string, options: PmClientMutationOptions = {}): Promise<unknown> {\n return this.run(\"close\", { id, reason, ...splitClientMutationOptions(options) });\n }\n}\n\n/**\n * Process-lifetime memo of activated extension registrations, keyed by resolved\n * pm root + cwd + extension settings. `getWorkspaceContracts` is frequently\n * called by importers and package runtimes that cannot thread a registry\n * through; without the memo each call re-discovers, re-imports, and re-activates\n * every extension.\n *\n * Invalidation story: entries are size-bounded and otherwise live until cleared.\n * One-shot CLI processes are trivially correct. Long-lived hosts (e.g. the MCP\n * server) must either pass `options.extensionRegistrations` (which bypasses the\n * memo) or call {@link clearWorkspaceContractsCache} after installing/removing/\n * toggling extensions or editing settings. Settings themselves are re-read on\n * every call — only the extension load+activate step is memoized.\n */\nfunction buildWorkspaceExtensionRegistrationsCacheKey(\n pmRoot: string,\n settings: Awaited<ReturnType<typeof readSettings>>,\n cwd?: string,\n): string {\n return JSON.stringify([\n path.resolve(pmRoot),\n path.resolve(cwd ?? process.cwd()),\n settings.extensions.enabled,\n settings.extensions.disabled,\n settings.extensions.policy,\n ]);\n}\n\nasync function resolveWorkspaceExtensionRegistrations(\n pmRoot: string,\n settings: Awaited<ReturnType<typeof readSettings>>,\n cwd?: string,\n): Promise<ExtensionRegistrationRegistry | null> {\n const cacheKey = buildWorkspaceExtensionRegistrationsCacheKey(pmRoot, settings, cwd);\n return memoizeWorkspaceExtensionRegistrations(cacheKey, () => loadWorkspaceExtensionRegistrations(pmRoot, settings, cwd));\n}\n\n/**\n * Implements get workspace contracts for the public runtime surface of this module.\n */\nexport async function getWorkspaceContracts(\n pmRoot: string,\n options: WorkspaceContractsOptions = {},\n): Promise<WorkspaceContracts> {\n const settings = await readSettings(pmRoot);\n const extensionRegistrations =\n options.extensionRegistrations ??\n (options.noExtensions === true ? null : await resolveWorkspaceExtensionRegistrations(pmRoot, settings, options.cwd));\n const typeRegistry = resolveItemTypeRegistry(settings, extensionRegistrations);\n const statusRegistry = resolveRuntimeStatusRegistry(settings.schema);\n\n return {\n types: [...typeRegistry.types],\n statuses: statusRegistry.definitions.map((definition) => definition.id),\n openStatus: statusRegistry.open_status,\n closeStatus: statusRegistry.close_status,\n canceledStatus: statusRegistry.canceled_status,\n };\n}\n\n/**\n * Implements get contracts for the public runtime surface of this module.\n */\nexport async function getContracts(\n pmRootOrOptions?: string | GetContractsOptions,\n options: GetContractsOptions = {},\n): Promise<ContractsResult> {\n const resolvedOptions =\n typeof pmRootOrOptions === \"string\"\n ? { ...options, pmRoot: pmRootOrOptions }\n : (pmRootOrOptions ?? options);\n const global: GlobalOptions = {\n json: true,\n quiet: resolvedOptions.quiet ?? true,\n noExtensions: resolvedOptions.noExtensions ?? false,\n noPager: true,\n profile: resolvedOptions.profile ?? false,\n path: resolvedOptions.pmRoot,\n };\n\n return runContracts(resolvedOptions, global);\n}\n\nfunction readString(args: Record<string, unknown>, key: string): string | undefined {\n const value = args[key];\n return typeof value === \"string\" && value.trim().length > 0 ? value : undefined;\n}\n\nfunction readScalarString(args: Record<string, unknown>, key: string): string | undefined {\n const value = args[key];\n if (typeof value === \"string\") {\n return value.trim().length > 0 ? value : undefined;\n }\n return typeof value === \"number\" && Number.isFinite(value) ? String(value) : undefined;\n}\n\nfunction readScalarStringAllowBlank(args: Record<string, unknown>, key: string): string | undefined {\n const value = args[key];\n if (typeof value === \"string\") {\n return value;\n }\n return typeof value === \"number\" && Number.isFinite(value) ? String(value) : undefined;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return value !== null && typeof value === \"object\" && !Array.isArray(value);\n}\n\n/**\n * Read a required non-empty string from an action argument bag.\n */\nexport function readRequiredString(args: Record<string, unknown>, key: string): string {\n const value = readString(args, key);\n if (!value) {\n throw new PmCliError(`Missing required argument: ${key}`, 64);\n }\n return value;\n}\n\nfunction globalOptions(args: Record<string, unknown>): GlobalOptions {\n return {\n json: true,\n quiet: true,\n path: readString(args, \"path\"),\n noExtensions: args.noExtensions === true || args.no_extensions === true,\n noPager: true,\n };\n}\n\nconst ARRAY_TO_CSV_FIELDS = new Set([\"tags\", \"blockedBy\", \"blocked_by\", \"skills\", \"fields\"]);\n\nconst SCALAR_TO_ARRAY_FIELDS = new Set([\n \"comment\",\n \"note\",\n \"learning\",\n \"reminder\",\n \"event\",\n \"dep\",\n \"depRemove\",\n \"dep_remove\",\n \"file\",\n \"doc\",\n \"test\",\n \"unset\",\n \"addGlob\",\n \"add_glob\",\n \"migrate\",\n \"envSet\",\n \"env_set\",\n \"envClear\",\n \"env_clear\",\n]);\n\n// Actions where the linked-resource fields `add` and `remove` are string[] arrays.\n// For other actions (comments/notes/learnings) `add` and `remove` are scalar strings\n// and must NOT be auto-promoted.\nconst ARRAY_ADD_REMOVE_ACTIONS = new Set([\n \"files\",\n \"files-discover\",\n \"docs\",\n \"test\",\n \"test-all\",\n]);\n\nfunction normalizeMcpOptionsArrays(\n options: Record<string, unknown>,\n action?: string,\n): Record<string, unknown> {\n const result: Record<string, unknown> = {};\n const promoteAddRemove = action !== undefined && ARRAY_ADD_REMOVE_ACTIONS.has(action);\n for (const [key, value] of Object.entries(options)) {\n if (Array.isArray(value) && ARRAY_TO_CSV_FIELDS.has(key)) {\n result[key] = value.join(\",\");\n continue;\n }\n if (typeof value === \"string\" && SCALAR_TO_ARRAY_FIELDS.has(key)) {\n result[key] = [value];\n continue;\n }\n if (typeof value === \"string\" && promoteAddRemove && (key === \"add\" || key === \"remove\")) {\n result[key] = [value];\n continue;\n }\n result[key] = value;\n }\n return result;\n}\n\nfunction optionsWithAuthor(args: Record<string, unknown>, action?: string): Record<string, unknown> {\n const baseOptions = asRecordClone(args.options);\n const hoistedTopLevel: Record<string, unknown> = {};\n const hoistKey = (key: string): void => {\n if (baseOptions[key] !== undefined || args[key] === undefined) {\n return;\n }\n hoistedTopLevel[key] = args[key];\n };\n if (action === \"list\") {\n hoistKey(\"status\");\n hoistKey(\"type\");\n hoistKey(\"tag\");\n hoistKey(\"priority\");\n hoistKey(\"limit\");\n hoistKey(\"offset\");\n } else if (action === \"search\") {\n hoistKey(\"mode\");\n hoistKey(\"status\");\n hoistKey(\"type\");\n hoistKey(\"tag\");\n hoistKey(\"priority\");\n hoistKey(\"limit\");\n } else if (action === \"create\") {\n hoistKey(\"allowMissingParent\");\n } else if (action === \"close\") {\n hoistKey(\"duplicateOf\");\n } else if (action === \"append\") {\n // pm-7u9j: the narrow pm_append tool declares `body` top-level; runAppend\n // reads it from options, so hoist unless options.body already wins.\n // (pm_schema/pm_config top-level args are consumed directly by runAction's\n // schema/config cases, which read args before options — no hoist needed.)\n hoistKey(\"body\");\n }\n const options = normalizeMcpOptionsArrays({ ...hoistedTopLevel, ...baseOptions }, action);\n const author = readString(args, \"author\");\n return author && options.author === undefined ? { ...options, author } : options;\n}\n\n// GH-170 (pm-pfnx): the narrow pm_files/pm_docs tools spell the CLI --note flag\n// as `addNote` (the shared `note` parameter is the array-typed create/update\n// note seed). Translate it onto the runner's `note` option; an explicit\n// options.note (pm_run callers) wins.\nfunction withAddNoteOption(options: Record<string, unknown>): Record<string, unknown> {\n if (options.addNote === undefined) {\n return options;\n }\n const next: Record<string, unknown> = { ...options };\n if (next.note === undefined && typeof next.addNote === \"string\") {\n next.note = next.addNote;\n }\n delete next.addNote;\n return next;\n}\n\nfunction withFilesDiscoveryOptions(options: Record<string, unknown>): Record<string, unknown> {\n const next: Record<string, unknown> = { ...options };\n if (next.discoveryNote !== undefined && next.note === undefined && typeof next.discoveryNote === \"string\") {\n next.note = next.discoveryNote;\n }\n delete next.discover;\n delete next.discoveryNote;\n return next;\n}\n\nfunction normalizeActionName(value: string): string {\n const chunks: string[] = [];\n let lastWasSeparator = true;\n for (const character of value.trim().toLowerCase()) {\n const isAlphaNumeric = (character >= \"a\" && character <= \"z\") || (character >= \"0\" && character <= \"9\");\n if (isAlphaNumeric) {\n chunks.push(character);\n lastWasSeparator = false;\n continue;\n }\n if (!lastWasSeparator) {\n chunks.push(\"-\");\n lastWasSeparator = true;\n }\n }\n if (chunks.at(-1) === \"-\") {\n chunks.pop();\n }\n return chunks.join(\"\");\n}\n\nfunction normalizeCommandPath(value: string): string {\n return value.trim().toLowerCase().split(/\\s+/).filter(Boolean).join(\" \");\n}\n\nfunction readStringArray(value: unknown): string[] {\n if (!Array.isArray(value)) {\n return [];\n }\n return value.map((entry) => String(entry)).filter((entry) => entry.length > 0);\n}\n\nfunction extensionOptionsFromArgs(args: Record<string, unknown>, options: Record<string, unknown>): Record<string, unknown> {\n const reserved = new Set([\n \"action\",\n \"args\",\n \"author\",\n \"cwd\",\n \"fullChangedFields\",\n \"id\",\n \"options\",\n \"path\",\n \"query\",\n \"reason\",\n \"target\",\n ]);\n const passthrough: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(args)) {\n if (!reserved.has(key)) {\n passthrough[key] = value;\n }\n }\n const normalizedOptions = { ...passthrough, ...options };\n delete normalizedOptions.args;\n return normalizedOptions;\n}\n\n// pm-bl6m / pm-zumn: every native MCP action runs inside an activation cycle that\n// mutates the process-global active extension registries (set globals -> run -> clear\n// globals in a finally). The stdio transport already processes JSON-RPC lines\n// sequentially, but handleRequest is a public entry point (tests, future concurrent\n// transports) — if two requests ever ran concurrently, the newer one would overwrite\n// the globals mid-flight and whichever finished first would clear them out from under\n// the other (its lazily-read hooks/overrides would silently vanish). Serialize the\n// whole activation cycle (load -> activate -> set -> run -> clear -> deactivate) on a\n// dedicated FIFO queue so the critical section can never interleave. Full\n// request-scoped registry plumbing remains possible later if true intra-server\n// concurrency is ever needed.\nconst extensionActivationQueue = createSerialQueue();\n\ntype ExtensionActivationResult = Awaited<ReturnType<typeof activateExtensions>>;\n\n/**\n * The active extension runtime exposed to an action while it executes: the merged\n * registration registry (custom item types, fields, profiles) plus the command handler\n * registry used to dispatch extension-contributed actions. `null` when extensions are\n * disabled, no workspace exists yet, or activation failed (see {@link withActiveExtensions}).\n */\ntype ActiveExtensionRuntime = {\n registrations: ExtensionActivationResult[\"registrations\"];\n commands: ExtensionActivationResult[\"commands\"];\n pmRoot: string;\n};\n\n/**\n * Publishes empty active extension registries so built-in fallback actions cannot\n * observe stale or partially published extension state from a failed activation cycle.\n */\nfunction resetActiveExtensionRegistries(): void {\n setActiveExtensionHooks(createEmptyExtensionHookRegistry());\n setActiveExtensionCommands(createEmptyExtensionCommandRegistry());\n setActiveExtensionParsers(createEmptyExtensionParserRegistry());\n setActiveExtensionPreflight(createEmptyExtensionPreflightRegistry());\n setActiveExtensionServices(createEmptyExtensionServiceRegistry());\n setActiveExtensionRenderers(createEmptyExtensionRendererRegistry());\n setActiveExtensionRegistrations(createEmptyExtensionRegistrationRegistry());\n}\n\n/**\n * Run `run` with workspace extensions loaded, activated, and published to the\n * process-global active registries, then torn down afterwards. pm-zumn: built-in native\n * actions (pm_list/pm_profile/pm_schema/pm_create/...) read\n * `getActiveExtensionRegistrations()` for custom item types, fields, and profiles, so\n * they must activate extensions exactly like the CLI (main.ts activates for every\n * command). Previously only the dynamic-extension dispatch activated, leaving\n * extension-contributed schema and profiles invisible over MCP for every built-in\n * action. Activation is skipped (`run` receives `null`) when extensions are disabled or\n * no workspace exists yet (for example `init`). EVERY action — activating or not — is\n * serialized on {@link extensionActivationQueue} so a built-in action's reads of the\n * process-global active registries can never interleave with another request's\n * activation cycle; per-request isolation therefore holds even if a truly concurrent\n * transport is added later (not just because the stdio transport is sequential today).\n */\nasync function withActiveExtensions<T>(\n global: GlobalOptions,\n explicitCwd: string | undefined,\n resolutionCwd: string,\n run: (active: ActiveExtensionRuntime | null) => Promise<T>,\n): Promise<T> {\n // Run the whole cycle on the queue so registry mutations never interleave. Only an\n // EXPLICIT cwd mutates process.cwd() — pinned inside this serialized slot so the chdir\n // can't be clobbered mid-flight and the built-in handler resolves against it too. A\n // request without an explicit cwd runs in the server's current directory and never\n // touches process.cwd() (important so concurrent direct callers can't corrupt a shared\n // cwd). Either way activation resolves against resolutionCwd, the entry-time snapshot,\n // so it never depends on a deferred process.cwd() read.\n return extensionActivationQueue.enqueue(async () =>\n explicitCwd === undefined\n ? await withActiveExtensionsExclusively(global, resolutionCwd, run)\n : await withCwd(explicitCwd, () => withActiveExtensionsExclusively(global, resolutionCwd, run)),\n );\n}\n\n/**\n * Body of the activation cycle. Must only ever run under {@link extensionActivationQueue}\n * (see {@link withActiveExtensions}): it is the exclusive owner of the process-global\n * active extension registries while it runs. Returns early with `run(null)` — still\n * inside the serialized critical section — when extensions are disabled or no workspace\n * exists yet, so those built-in actions also observe a stable (empty) registry. MCP and\n * PmClient callers reload + reactivate extensions per request, so each call is a fresh\n * cycle with teardown in a finally to release resources opened during activate() (the\n * long-running-server reload contract, pm-k1e4). Load/activate failures are swallowed and\n * `run` is invoked with `null`, mirroring the CLI's resilient snapshot loader\n * (loadRuntimeExtensionSnapshot) so a broken extension can never break a built-in action.\n */\nasync function withActiveExtensionsExclusively<T>(\n global: GlobalOptions,\n cwd: string,\n run: (active: ActiveExtensionRuntime | null) => Promise<T>,\n): Promise<T> {\n if (global.noExtensions) {\n resetActiveExtensionRegistries();\n return run(null);\n }\n const pmRoot = resolvePmRoot(cwd, global.path);\n if (!(await pathExists(getSettingsPath(pmRoot)))) {\n resetActiveExtensionRegistries();\n return run(null);\n }\n let active: ActiveExtensionRuntime | null = null;\n let activated: { loadResult: Awaited<ReturnType<typeof loadExtensions>>; activationResult: ExtensionActivationResult } | undefined;\n try {\n const settings = await readSettings(pmRoot);\n const loadResult = await loadExtensions({ pmRoot, settings, cwd, noExtensions: false });\n const activationResult = await activateExtensions({ ...loadResult, loaded: loadResult.loaded });\n // Record the teardown handle BEFORE publishing the registries so a throw from any\n // setActive* setter still runs deactivateExtensions for resources opened during\n // activate() instead of silently leaking them.\n activated = { loadResult, activationResult };\n setActiveExtensionHooks(activationResult.hooks);\n setActiveExtensionCommands(activationResult.commands);\n setActiveExtensionParsers(activationResult.parsers);\n setActiveExtensionPreflight(activationResult.preflight);\n setActiveExtensionServices(activationResult.services);\n setActiveExtensionRenderers(activationResult.renderers);\n setActiveExtensionRegistrations(activationResult.registrations);\n active = { registrations: activationResult.registrations, commands: activationResult.commands, pmRoot };\n } catch (error) {\n resetActiveExtensionRegistries();\n // CLI parity (loadRuntimeExtensionSnapshot): a load/activate failure must never\n // break a built-in action — fall back to running with no active extensions. Surface\n // the cause on stderr so a broken extension is diagnosable instead of being silently\n // indistinguishable from a workspace that simply has no extensions.\n console.error(\"[pm-sdk] extension activation failed; continuing without active extensions:\", error);\n }\n try {\n return await run(active);\n } finally {\n // Reset the process-global active registries FIRST so a torn-down extension's\n // overrides/hooks cannot leak into a later request in this long-running server\n // (for example a subsequent pm_list/pm_create) even if teardown below misbehaves.\n resetActiveExtensionRegistries();\n // Best-effort teardown of extensions that activated successfully. Skipped when\n // activation never completed (nothing was set up); guarded so an unexpected throw\n // cannot escape the finally.\n if (activated) {\n await deactivateExtensions(activated.loadResult, activated.activationResult).catch(() => undefined);\n }\n }\n}\n\n/**\n * Resolve `action` against the active extension command registrations and dispatch it.\n * Reached by runAction's default case for dynamic (non-built-in) actions after\n * {@link withActiveExtensions} has published the active registries. `active` is `null`\n * when no extensions are active (disabled, no workspace, or activation failed), in\n * which case no extension command can match and the action is reported unsupported.\n */\nasync function dispatchActiveExtensionAction(\n action: string,\n args: Record<string, unknown>,\n options: Record<string, unknown>,\n global: GlobalOptions,\n active: ActiveExtensionRuntime | null,\n): Promise<unknown> {\n if (!active) {\n throw new PmCliError(`Unsupported native pm action: ${action}`, 64);\n }\n const normalizedAction = normalizeActionName(action);\n const definition = active.registrations.commands.find((entry) => normalizeActionName(entry.action) === normalizedAction);\n const command = definition?.command ??\n active.commands.handlers.find((entry) => normalizeActionName(entry.command) === normalizedAction)?.command;\n if (!command) {\n throw new PmCliError(`Unsupported native pm action: ${action}`, 64);\n }\n const handlerResult = await runActiveCommandHandler({\n command: normalizeCommandPath(command),\n args: readStringArray(options.args ?? args.args),\n options: extensionOptionsFromArgs(args, options),\n global,\n pm_root: active.pmRoot,\n });\n if (!handlerResult.handled) {\n const suffix = handlerResult.warnings.length > 0 ? ` (${handlerResult.warnings.join(\", \")})` : \"\";\n throw new PmCliError(`Unsupported native pm action: ${action}${suffix}`, 64);\n }\n return handlerResult.result;\n}\n\nasync function withCwd<T>(cwd: string, run: () => Promise<T>): Promise<T> {\n // Only ever called with an explicit, non-empty cwd (readString filters blanks), from\n // inside the serialized activation queue, so the chdir/restore is exclusive per request\n // and can never be clobbered by a concurrent caller.\n const previous = process.cwd();\n process.chdir(cwd);\n try {\n return await run();\n } finally {\n process.chdir(previous);\n }\n}\n\n/**\n * Mutation tools (create/update/close/append/update-many) return a verbose\n * `changed_fields` array. On the agent path we drop it to a `changed_field_count`\n * by default for token efficiency, restoring the full array only when the caller\n * explicitly passes the MCP-level fullChangedFields=true control. Mutation options\n * are forwarded unchanged so runtime fields named `full` remain valid user data.\n */\nfunction withMutationCompaction(args: Record<string, unknown>, options?: Record<string, unknown> | null): {\n changedFields: \"full\" | \"compact\";\n idOnly: boolean;\n runnerOptions: Record<string, unknown>;\n} {\n return { changedFields: args.fullChangedFields === true ? \"full\" : \"compact\", idOnly: args.idOnly === true, runnerOptions: { ...options } };\n}\n\nfunction mutationListOptions(options: Record<string, unknown>): ListOptions {\n return {\n type: readScalarString(options, \"filterType\"),\n tag: readScalarString(options, \"filterTag\"),\n priority: readScalarString(options, \"filterPriority\"),\n deadlineBefore: readScalarString(options, \"filterDeadlineBefore\"),\n deadlineAfter: readScalarString(options, \"filterDeadlineAfter\"),\n updatedAfter: readScalarString(options, \"filterUpdatedAfter\"),\n updatedBefore: readScalarString(options, \"filterUpdatedBefore\"),\n createdAfter: readScalarString(options, \"filterCreatedAfter\"),\n createdBefore: readScalarString(options, \"filterCreatedBefore\"),\n ids: readScalarStringAllowBlank(options, \"ids\"),\n assignee: readScalarString(options, \"filterAssignee\"),\n assigneeFilter: readScalarString(options, \"filterAssigneeFilter\") ?? readScalarString(options, \"filterAssignee_filter\"),\n parent: readScalarString(options, \"filterParent\"),\n sprint: readScalarString(options, \"filterSprint\"),\n release: readScalarString(options, \"filterRelease\"),\n limit: readScalarString(options, \"limit\"),\n offset: readScalarString(options, \"offset\"),\n };\n}\n\nfunction closeManyOptionsFromFlat(options: Record<string, unknown>): CloseManyCommandOptions {\n return {\n status: readString(options, \"filterStatus\"),\n list: isRecord(options.list) ? normalizeListOptions(options.list) : mutationListOptions(options),\n reason: readString(options, \"reason\"),\n resolution: readString(options, \"resolution\"),\n expectedResult: readString(options, \"expectedResult\") ?? readString(options, \"expected_result\") ?? readString(options, \"expected\"),\n actualResult: readString(options, \"actualResult\") ?? readString(options, \"actual_result\") ?? readString(options, \"actual\"),\n validateClose: readString(options, \"validateClose\") ?? readString(options, \"validate_close\"),\n author: readString(options, \"author\"),\n message: readString(options, \"message\"),\n force: options.force === true ? true : undefined,\n dryRun: options.dryRun === true || options.dry_run === true ? true : undefined,\n rollback: readString(options, \"rollback\"),\n checkpoint: options.checkpoint === false || options.noCheckpoint === true || options.no_checkpoint === true ? false : undefined,\n };\n}\n\nconst UPDATE_MANY_FLAT_CONTROL_KEYS = new Set([\n \"filterStatus\",\n \"filterType\",\n \"filterTag\",\n \"filterPriority\",\n \"filterDeadlineBefore\",\n \"filterDeadlineAfter\",\n \"filterUpdatedAfter\",\n \"filterUpdatedBefore\",\n \"filterCreatedAfter\",\n \"filterCreatedBefore\",\n \"filterAssignee\",\n \"filterAssigneeFilter\",\n \"filterAssignee_filter\",\n \"filterParent\",\n \"filterSprint\",\n \"filterRelease\",\n \"ids\",\n \"list\",\n \"update\",\n \"limit\",\n \"offset\",\n \"dryRun\",\n \"dry_run\",\n \"rollback\",\n \"checkpoint\",\n \"noCheckpoint\",\n \"no_checkpoint\",\n]);\n\nfunction updateManyUpdateOptionsFromFlat(options: Record<string, unknown>): Record<string, unknown> {\n const update: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(options)) {\n if (UPDATE_MANY_FLAT_CONTROL_KEYS.has(key)) {\n continue;\n }\n update[key] = value;\n }\n return normalizeMcpUpdateOptions(update);\n}\n\nfunction normalizeMcpUpdateOptions(options: Record<string, unknown>): Record<string, unknown> {\n const normalizedInput: Record<string, unknown> = normalizeMcpOptionsArrays(options, \"update-many\");\n for (const contract of UPDATE_COMMANDER_STRING_OPTION_CONTRACTS) {\n for (const key of contract.keys) {\n const value = normalizedInput[key];\n if (typeof value === \"number\" && Number.isFinite(value)) {\n normalizedInput[key] = String(value);\n }\n }\n }\n return normalizeUpdateOptions(normalizedInput);\n}\n\nfunction updateManyOptionsFromFlat(options: Record<string, unknown>): UpdateManyCommandOptions {\n if (isRecord(options.list) || isRecord(options.update)) {\n const updateSource = isRecord(options.update) ? options.update : updateManyUpdateOptionsFromFlat(options);\n return {\n status: readScalarString(options, \"filterStatus\"),\n list: isRecord(options.list) ? normalizeListOptions(options.list) : mutationListOptions(options),\n update: normalizeMcpUpdateOptions(updateSource) as never,\n dryRun: options.dryRun === true || options.dry_run === true ? true : undefined,\n rollback: readString(options, \"rollback\"),\n checkpoint: options.checkpoint === false || options.noCheckpoint === true || options.no_checkpoint === true ? false : undefined,\n };\n }\n return {\n status: readScalarString(options, \"filterStatus\"),\n list: mutationListOptions(options),\n update: updateManyUpdateOptionsFromFlat(options) as never,\n dryRun: options.dryRun === true || options.dry_run === true ? true : undefined,\n rollback: readString(options, \"rollback\"),\n checkpoint: options.checkpoint === false || options.noCheckpoint === true || options.no_checkpoint === true ? false : undefined,\n };\n}\n\nconst WORKSPACE_CONTRACTS_CACHE_PRESERVING_ACTIONS = new Set([\n \"activity\",\n \"aggregate\",\n \"context\",\n \"contracts\",\n \"deps\",\n \"files-discover\",\n \"get\",\n \"health\",\n \"history\",\n \"list\",\n \"next\",\n \"search\",\n \"stats\",\n \"telemetry\",\n \"validate\",\n]);\n\ninterface SdkActionAlias {\n action: string;\n options?: Record<string, unknown>;\n}\n\nconst LIST_ACTION_ALIASES: Record<string, SdkActionAlias> = {\n \"list-all\": { action: \"list\", options: { excludeTerminal: false } },\n \"list-draft\": { action: \"list\", options: { status: \"draft\", excludeTerminal: false } },\n \"list-open\": { action: \"list\", options: { status: \"open\", excludeTerminal: false } },\n \"list-in-progress\": { action: \"list\", options: { status: \"in_progress\", excludeTerminal: false } },\n \"list-blocked\": { action: \"list\", options: { status: \"blocked\", excludeTerminal: false } },\n \"list-closed\": { action: \"list\", options: { status: \"closed\", excludeTerminal: false } },\n \"list-canceled\": { action: \"list\", options: { status: \"canceled\", excludeTerminal: false } },\n};\n\nconst EXTENSION_ACTION_ALIASES: Record<string, SdkActionAlias> = {\n \"extension-init\": { action: \"extension\", options: { init: true } },\n \"extension-install\": { action: \"extension\", options: { install: true } },\n \"extension-uninstall\": { action: \"extension\", options: { uninstall: true } },\n \"extension-explore\": { action: \"extension\", options: { explore: true } },\n \"extension-manage\": { action: \"extension\", options: { manage: true } },\n \"extension-describe\": { action: \"extension\", options: { describe: true } },\n \"extension-reload\": { action: \"extension\", options: { reload: true } },\n \"extension-doctor\": { action: \"extension\", options: { doctor: true } },\n \"extension-catalog\": { action: \"extension\", options: { catalog: true } },\n \"extension-adopt\": { action: \"extension\", options: { adopt: true } },\n \"extension-adopt-all\": { action: \"extension\", options: { adoptAll: true } },\n \"extension-activate\": { action: \"extension\", options: { activate: true } },\n \"extension-deactivate\": { action: \"extension\", options: { deactivate: true } },\n};\n\nconst PACKAGE_ACTION_ALIASES: Record<string, SdkActionAlias> = {\n \"package-init\": { action: \"package\", options: { init: true, vocabulary: \"package\" } },\n \"package-install\": { action: \"package\", options: { install: true, vocabulary: \"package\" } },\n \"package-uninstall\": { action: \"package\", options: { uninstall: true, vocabulary: \"package\" } },\n \"package-explore\": { action: \"package\", options: { explore: true, vocabulary: \"package\" } },\n \"package-manage\": { action: \"package\", options: { manage: true, vocabulary: \"package\" } },\n \"package-describe\": { action: \"package\", options: { describe: true, vocabulary: \"package\" } },\n \"package-reload\": { action: \"package\", options: { reload: true, vocabulary: \"package\" } },\n \"package-doctor\": { action: \"package\", options: { doctor: true, vocabulary: \"package\" } },\n \"package-catalog\": { action: \"package\", options: { catalog: true, vocabulary: \"package\" } },\n \"package-adopt\": { action: \"package\", options: { adopt: true, vocabulary: \"package\" } },\n \"package-adopt-all\": { action: \"package\", options: { adoptAll: true, vocabulary: \"package\" } },\n \"package-activate\": { action: \"package\", options: { activate: true, vocabulary: \"package\" } },\n \"package-deactivate\": { action: \"package\", options: { deactivate: true, vocabulary: \"package\" } },\n};\n\nconst SDK_ACTION_ALIASES: Record<string, SdkActionAlias> = {\n ctx: { action: \"context\" },\n ...LIST_ACTION_ALIASES,\n ...EXTENSION_ACTION_ALIASES,\n ...PACKAGE_ACTION_ALIASES,\n};\n\nfunction resolveSdkActionInput(args: PmActionInput): { action: string; args: Record<string, unknown> } {\n const rawAction = readRequiredString(args, \"action\");\n const normalizedAction = normalizeActionName(rawAction);\n const alias = getOwnHandler(SDK_ACTION_ALIASES, normalizedAction);\n const action = alias?.action ?? normalizedAction;\n const resolvedArgs: Record<string, unknown> = { ...args, action };\n if (alias?.options !== undefined) {\n resolvedArgs.options = { ...alias.options, ...asRecordClone(args.options) };\n }\n return { action, args: resolvedArgs };\n}\n\nfunction shouldInvalidateWorkspaceContractsCacheAfterAction(action: string): boolean {\n return !WORKSPACE_CONTRACTS_CACHE_PRESERVING_ACTIONS.has(normalizeActionName(action));\n}\n\n/**\n * Execute one native or extension-contributed pm action in-process.\n */\nexport async function runAction(args: PmActionInput): Promise<unknown> {\n const resolved = resolveSdkActionInput(args);\n const global = globalOptions(resolved.args);\n const invalidateWorkspaceContractsCache = shouldInvalidateWorkspaceContractsCacheAfterAction(resolved.action);\n // pm-zumn: dispatch every action (built-in and dynamic) inside one extension\n // activation cycle so built-in actions see extension-contributed item types, fields,\n // and profiles, consistent with the CLI. Snapshot the effective resolution cwd HERE,\n // at request entry (the explicit args.cwd, else the server's current directory), so the\n // queued cycle resolves against the directory the request arrived in rather than a value\n // process.cwd() might hold by the time the task runs. Only an explicit cwd additionally\n // pins process.cwd() (inside the serialized slot) for the built-in handler.\n const explicitCwd = readString(resolved.args, \"cwd\");\n const resolutionCwd = explicitCwd ?? process.cwd();\n try {\n return await withActiveExtensions(global, explicitCwd, resolutionCwd, (activeExtensions) =>\n dispatchAction(resolved.action, resolved.args, global, activeExtensions),\n );\n } finally {\n if (invalidateWorkspaceContractsCache) {\n clearWorkspaceContractsCache();\n }\n }\n}\n\ninterface McpActionDispatchContext {\n action: string;\n args: Record<string, unknown>;\n options: Record<string, unknown>;\n id: string | undefined;\n force: boolean;\n global: GlobalOptions;\n activeExtensions: ActiveExtensionRuntime | null;\n}\n\ntype McpActionHandler = (ctx: McpActionDispatchContext) => Promise<unknown> | unknown;\n\nfunction getOwnHandler<T>(handlers: Readonly<Record<string, T>>, key: string): T | undefined {\n return Object.prototype.hasOwnProperty.call(handlers, key) ? handlers[key] : undefined;\n}\n\nfunction readMcpTarget(ctx: McpActionDispatchContext): string | undefined {\n return readString(ctx.args, \"target\") ?? readString(ctx.options, \"target\");\n}\n\nfunction requireMcpItemId(ctx: McpActionDispatchContext, source: Record<string, unknown> = ctx.options): string {\n return ctx.id ?? readRequiredString(source, \"id\");\n}\n\nasync function runMcpListAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const listOptions: Record<string, unknown> = { ...ctx.options };\n if (\n listOptions.compact === undefined &&\n listOptions.brief === undefined &&\n listOptions.fields === undefined &&\n listOptions.includeBody === undefined\n ) {\n listOptions.compact = true;\n }\n // pm-rmjy: echo applied filters + projection mode so agents get structured confirmation.\n return withQuerySummary(\n (await runList(\n readString(ctx.args, \"status\") ?? readString(listOptions, \"status\"),\n listOptions as never,\n ctx.global,\n )) as unknown as Record<string, unknown>,\n listOptions,\n );\n}\n\nasync function runMcpSearchAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const searchOptions: Parameters<typeof runSearch>[1] = { ...ctx.options };\n if (searchOptions.compact === undefined && searchOptions.full === undefined && searchOptions.fields === undefined) {\n searchOptions.compact = true;\n }\n return withQuerySummary(\n (await runSearch(readRequiredString(ctx.args, \"query\"), searchOptions, ctx.global)) as unknown as Record<string, unknown>,\n searchOptions as Record<string, unknown>,\n );\n}\n\nasync function runMcpCreateAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, idOnly, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n return projectMutationResult(await runCreate(runnerOptions as never, ctx.global), { changedFields, idOnly });\n}\n\nasync function runMcpCopyAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, idOnly, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n const copyOptions: Record<string, unknown> = {\n ...runnerOptions,\n ...(runnerOptions.title === undefined && typeof ctx.args.title === \"string\" ? { title: ctx.args.title } : {}),\n ...(runnerOptions.message === undefined && typeof ctx.args.message === \"string\" ? { message: ctx.args.message } : {}),\n };\n return projectMutationResult(await runCopy(requireMcpItemId(ctx, copyOptions), copyOptions as never, ctx.global), {\n changedFields,\n idOnly,\n });\n}\n\nasync function runMcpUpdateAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, idOnly, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n return projectMutationResult(await runUpdate(requireMcpItemId(ctx, runnerOptions), runnerOptions as never, ctx.global), {\n changedFields,\n idOnly,\n });\n}\n\nasync function runMcpCloseAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, idOnly, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n const closeReason =\n readString(ctx.args, \"reason\") ??\n readString(ctx.args, \"text\") ??\n readString(runnerOptions, \"reason\") ??\n readString(runnerOptions, \"text\");\n return projectMutationResult(\n await runClose(requireMcpItemId(ctx, runnerOptions), closeReason, runnerOptions as never, ctx.global),\n { changedFields, idOnly },\n );\n}\n\nfunction runMcpCommentsAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const commentOptions: Record<string, unknown> = { ...ctx.options };\n const isListing =\n commentOptions.add === undefined &&\n commentOptions.stdin === undefined &&\n commentOptions.file === undefined &&\n commentOptions.edit === undefined &&\n commentOptions.delete === undefined;\n if (isListing) {\n commentOptions.includeMeta = true;\n if (commentOptions.limit === undefined && commentOptions.full !== true) {\n commentOptions.limit = \"20\";\n }\n }\n delete commentOptions.full;\n return runComments(requireMcpItemId(ctx), commentOptions, ctx.global);\n}\n\nfunction runMcpFilesAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const fileId = requireMcpItemId(ctx);\n return ctx.options.discover === true\n ? runFilesDiscover(fileId, withFilesDiscoveryOptions(ctx.options), ctx.global)\n : runFiles(fileId, withAddNoteOption(ctx.options), ctx.global);\n}\n\nfunction runMcpTelemetryAction(ctx: McpActionDispatchContext): Promise<unknown> {\n return runTelemetry(\n {\n subcommand: readString(ctx.args, \"subcommand\") ?? readString(ctx.options, \"subcommand\"),\n limit: resolveMcpTelemetryLimit(ctx.args, ctx.options),\n },\n ctx.global,\n );\n}\n\nfunction resolveMcpTelemetryLimit(args: Record<string, unknown>, options: Record<string, unknown>): number | string | undefined {\n if (typeof args.limit === \"number\" && Number.isFinite(args.limit)) {\n return args.limit;\n }\n if (typeof options.limit === \"number\" && Number.isFinite(options.limit)) {\n return options.limit;\n }\n return readString(args, \"limit\") ?? readString(options, \"limit\");\n}\n\nfunction runMcpHealthAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const healthOptions: Record<string, unknown> = { ...ctx.options };\n if (healthOptions.brief === undefined && healthOptions.summary === undefined && healthOptions.full === undefined) {\n healthOptions.summary = true;\n }\n return runHealth(ctx.global, healthOptions as never);\n}\n\nfunction runMcpConfigAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const configAction =\n readString(ctx.args, \"configAction\") ?? readString(ctx.options, \"configAction\") ?? readString(ctx.options, \"action\");\n if (configAction === undefined) {\n throw new PmCliError(\"Missing required argument: configAction\", 64);\n }\n return runConfig(\n readString(ctx.args, \"scope\") ?? readString(ctx.options, \"scope\") ?? \"project\",\n configAction,\n readString(ctx.args, \"key\") ?? readString(ctx.options, \"key\"),\n ctx.options,\n ctx.global,\n readString(ctx.args, \"value\") ?? readString(ctx.options, \"value\"),\n );\n}\n\nfunction runMcpActivityAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const activityOptions = { ...ctx.options } as Parameters<typeof runActivity>[0] & { full?: unknown };\n if (activityOptions.compact === undefined) {\n activityOptions.compact = activityOptions.full === true ? false : true;\n }\n delete activityOptions.full;\n return runActivity(activityOptions, ctx.global);\n}\n\nfunction runMcpHistoryRepairAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const repairAll = ctx.options.all === true;\n const repairId = ctx.id ?? readString(ctx.options, \"id\");\n assertHistoryRepairTarget(repairId, repairAll);\n return repairAll ? runHistoryRepairAll(ctx.options, ctx.global) : runHistoryRepair(repairId as string, ctx.options, ctx.global);\n}\n\nfunction parseMcpInteger(value: unknown, label: string): number | undefined {\n if (typeof value === \"number\") {\n if (!Number.isInteger(value)) {\n throw new PmCliError(`${label} must be a finite integer.`, 64);\n }\n return value;\n }\n if (typeof value === \"string\" && value.trim().length > 0) {\n const parsed = Number(value);\n if (!Number.isInteger(parsed)) {\n throw new PmCliError(`${label} must be a finite integer.`, 64);\n }\n return parsed;\n }\n return undefined;\n}\n\nfunction parseMcpIntegerPrefix(value: unknown, label: string): number | undefined {\n if (typeof value === \"number\") {\n if (!Number.isFinite(value) || !Number.isInteger(value)) {\n throw new PmCliError(`${label} must be a finite integer.`, 64);\n }\n return value;\n }\n if (typeof value === \"string\" && value.trim().length > 0) {\n const trimmed = value.trim();\n if (!/^[+-]?\\d+(?:st|nd|rd|th)?$/i.test(trimmed)) {\n throw new PmCliError(`${label} must be a finite integer.`, 64);\n }\n const parsed = Number.parseInt(trimmed, 10);\n if (!Number.isInteger(parsed)) {\n throw new PmCliError(`${label} must be a finite integer.`, 64);\n }\n return parsed;\n }\n return undefined;\n}\n\nfunction runMcpPlanAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const subcommand = readString(ctx.args, \"subcommand\") ?? readRequiredString(ctx.options, \"subcommand\");\n const planRecord = ctx.options as Record<string, unknown>;\n return runPlan({\n subcommand: subcommand as never,\n id: typeof ctx.id === \"string\" ? ctx.id : typeof planRecord.id === \"string\" ? (planRecord.id as string) : undefined,\n stepRef: readMcpPlanStepRef(ctx),\n reorderTo: parseMcpIntegerPrefix(planRecord.reorderTo ?? ctx.args.reorderTo, \"plan reorderTo\"),\n options: ctx.options as never,\n global: ctx.global,\n });\n}\n\nfunction readMcpPlanStepRef(ctx: McpActionDispatchContext): string | undefined {\n return typeof ctx.options.stepRef === \"string\"\n ? (ctx.options.stepRef as string)\n : typeof ctx.args.stepRef === \"string\"\n ? (ctx.args.stepRef as string)\n : undefined;\n}\n\ninterface McpSchemaContext {\n ctx: McpActionDispatchContext;\n subcommand: string;\n name: string | undefined;\n author: string | undefined;\n force: boolean;\n aliases: string[] | undefined;\n}\n\nfunction createMcpSchemaContext(ctx: McpActionDispatchContext): McpSchemaContext {\n const subcommand = readString(ctx.args, \"subcommand\") ?? readRequiredString(ctx.options, \"subcommand\");\n const aliasSource = ctx.args.alias ?? ctx.options.alias;\n return {\n ctx,\n subcommand: subcommand.trim().toLowerCase(),\n name: readString(ctx.args, \"name\") ?? readString(ctx.options, \"name\"),\n author: readString(ctx.args, \"author\") ?? readString(ctx.options, \"author\"),\n force: ctx.args.force === true || ctx.options.force === true,\n aliases: aliasSource === undefined ? undefined : readStringArray(aliasSource),\n };\n}\n\nfunction runMcpSchemaReadOrRemoveAction(schema: McpSchemaContext): Promise<unknown> | unknown | null {\n const { ctx, subcommand, name, author, force } = schema;\n const simpleHandlers: Record<string, () => Promise<unknown> | unknown> = {\n list: () => runSchemaList(ctx.global),\n show: () => runSchemaShow(name, ctx.global),\n \"show-status\": () => runSchemaShowStatus(name, ctx.global),\n \"list-fields\": () => runSchemaListFields(ctx.global),\n \"show-field\": () => runSchemaShowField(name, ctx.global),\n \"remove-type\": () => runSchemaRemoveType(name, { author, force }, ctx.global),\n \"remove-field\": () => runSchemaRemoveField(name, { author, force }, ctx.global),\n \"remove-status\": () => runSchemaRemoveStatus(name, { author, force }, ctx.global),\n \"apply-preset\": () =>\n runSchemaApplyPreset(readString(ctx.args, \"typePreset\") ?? readString(ctx.options, \"typePreset\"), { author, force }, ctx.global),\n };\n const handler = getOwnHandler(simpleHandlers, subcommand);\n return handler ? handler() : null;\n}\n\nfunction runMcpSchemaAddFieldAction(schema: McpSchemaContext): Promise<unknown> {\n const { ctx, name, author, force, aliases } = schema;\n const commandsSource = ctx.args.commands ?? ctx.options.commands;\n const requiredTypesSource = ctx.args.requiredTypes ?? ctx.options.requiredTypes;\n return runSchemaAddField(\n name,\n {\n type: readString(ctx.args, \"fieldType\") ?? readString(ctx.options, \"fieldType\"),\n commands: commandsSource === undefined ? undefined : readStringArray(commandsSource),\n description: readString(ctx.args, \"description\") ?? readString(ctx.options, \"description\"),\n cliFlag: readString(ctx.args, \"cliFlag\") ?? readString(ctx.options, \"cliFlag\"),\n alias: aliases,\n required: ctx.args.required === true || ctx.options.required === true,\n requiredOnCreate: ctx.args.requiredOnCreate === true || ctx.options.requiredOnCreate === true,\n allowUnset: !(ctx.args.allowUnset === false || ctx.options.allowUnset === false),\n requiredTypes: requiredTypesSource === undefined ? undefined : readStringArray(requiredTypesSource),\n author,\n force,\n },\n ctx.global,\n );\n}\n\nfunction runMcpSchemaAddStatusAction(schema: McpSchemaContext): Promise<unknown> {\n const { ctx, name, author, force, aliases } = schema;\n const roleSource = ctx.args.role ?? ctx.options.role;\n return runSchemaAddStatus(\n name,\n {\n role: roleSource === undefined ? undefined : readStringArray(roleSource),\n alias: aliases,\n description: readString(ctx.args, \"description\") ?? readString(ctx.options, \"description\"),\n order: parseMcpInteger(ctx.args.order ?? ctx.options.order, \"schema add-status order\"),\n author,\n force,\n },\n ctx.global,\n );\n}\n\nfunction runMcpSchemaAddTypeAction(schema: McpSchemaContext): Promise<unknown> {\n const { ctx, name, author, force, aliases } = schema;\n return runSchemaAddType(\n name,\n {\n description: readString(ctx.args, \"description\") ?? readString(ctx.options, \"description\"),\n defaultStatus:\n readString(ctx.args, \"defaultStatus\") ??\n readString(ctx.args, \"default_status\") ??\n readString(ctx.options, \"defaultStatus\") ??\n readString(ctx.options, \"default_status\"),\n folder: readString(ctx.args, \"folder\") ?? readString(ctx.options, \"folder\"),\n alias: aliases,\n author,\n force,\n },\n ctx.global,\n );\n}\n\nfunction runMcpSchemaAction(ctx: McpActionDispatchContext): Promise<unknown> | unknown {\n const schema = createMcpSchemaContext(ctx);\n const simpleResult = runMcpSchemaReadOrRemoveAction(schema);\n if (simpleResult !== null) {\n return simpleResult;\n }\n if (schema.subcommand === \"add-field\") {\n return runMcpSchemaAddFieldAction(schema);\n }\n if (schema.subcommand === \"add-status\") {\n return runMcpSchemaAddStatusAction(schema);\n }\n if (schema.subcommand === \"add-type\") {\n if (ctx.args.infer === true || ctx.options.infer === true) {\n return runSchemaInferTypes(\n {\n minCount: parseMcpInteger(ctx.args.minCount ?? ctx.options.minCount, \"schema infer minCount\"),\n apply: ctx.args.apply === true || ctx.options.apply === true,\n author: schema.author,\n force: schema.force,\n },\n ctx.global,\n );\n }\n return runMcpSchemaAddTypeAction(schema);\n }\n throw new PmCliError(\n `Unknown pm schema subcommand \"${schema.subcommand}\". Allowed: add-type, remove-type, add-status, remove-status, add-field, remove-field, list-fields, show-field, apply-preset, list, show, show-status`,\n 64,\n );\n}\n\nfunction runMcpProfileAction(ctx: McpActionDispatchContext): Promise<unknown> | unknown {\n const subcommand = readString(ctx.args, \"subcommand\") ?? readRequiredString(ctx.options, \"subcommand\");\n const normalizedSubcommand = subcommand.trim().toLowerCase();\n const profileName = readString(ctx.args, \"name\") ?? readString(ctx.options, \"name\");\n const handlers: Record<string, () => Promise<unknown> | unknown> = {\n list: () => runProfileList(),\n show: () => runProfileShow(profileName),\n lint: () => runProfileLint(profileName),\n apply: () =>\n runProfileApply(\n profileName,\n {\n dryRun: ctx.args.dryRun === true || ctx.options.dryRun === true,\n author: readString(ctx.args, \"author\") ?? readString(ctx.options, \"author\"),\n force: ctx.args.force === true || ctx.options.force === true,\n },\n ctx.global,\n ),\n };\n const handler = getOwnHandler(handlers, normalizedSubcommand);\n if (!handler) {\n throw new PmCliError(`Unknown pm profile subcommand \"${subcommand}\". Allowed: list, show, apply, lint`, 64);\n }\n return handler();\n}\n\nfunction runMcpStatsAction(ctx: McpActionDispatchContext): Promise<unknown> {\n return runStats(ctx.global, {\n storage: ctx.options.storage === true,\n metadataCoverage: ctx.options.metadataCoverage === true,\n fieldUtilization: ctx.options.fieldUtilization === true,\n byAssignee: ctx.options.byAssignee === true,\n byTag: ctx.options.byTag === true,\n byPriority: ctx.options.byPriority === true,\n tagPrefix: typeof ctx.options.tagPrefix === \"string\" ? ctx.options.tagPrefix : undefined,\n });\n}\n\nasync function runMcpAppendAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n return projectMutationResult(await runAppend(requireMcpItemId(ctx, runnerOptions), runnerOptions as never, ctx.global), {\n changedFields,\n });\n}\n\nasync function runMcpUpdateManyAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n return projectMutationResult(await runUpdateMany(updateManyOptionsFromFlat(runnerOptions), ctx.global), { changedFields });\n}\n\nasync function runMcpCloseManyAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const { changedFields, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);\n const topLevelReason = readString(ctx.args, \"reason\");\n const closeManyRunnerOptions: Record<string, unknown> =\n topLevelReason !== undefined && runnerOptions.reason === undefined\n ? { ...runnerOptions, reason: topLevelReason }\n : { ...runnerOptions };\n if (ctx.force && closeManyRunnerOptions.force === undefined) {\n closeManyRunnerOptions.force = true;\n }\n return projectMutationResult(await runCloseMany(closeManyOptionsFromFlat(closeManyRunnerOptions), ctx.global), { changedFields });\n}\n\nasync function runMcpRestoreAction(ctx: McpActionDispatchContext): Promise<unknown> {\n return runRestore(requireMcpItemId(ctx), readRequiredString(ctx.options, \"target\"), ctx.options, ctx.global);\n}\n\nasync function runMcpStartTaskAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const pmRoot = resolvePmRoot(process.cwd(), ctx.global.path);\n const settings = await readSettings(pmRoot);\n const inProgressStatus = resolveStartTaskInProgressStatus(resolveRuntimeStatusRegistry(settings.schema));\n const id = requireMcpItemId(ctx);\n const claimResult = await runClaim(id, ctx.force, ctx.global, ctx.options);\n const updateResult = await runUpdate(id, { ...ctx.options, status: inProgressStatus, force: ctx.force }, ctx.global);\n return { id, action: \"start_task\", claim: claimResult, update: updateResult };\n}\n\nasync function runMcpPauseTaskAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const pmRoot = resolvePmRoot(process.cwd(), ctx.global.path);\n const settings = await readSettings(pmRoot);\n const id = requireMcpItemId(ctx);\n const openStatus = resolveRuntimeStatusRegistry(settings.schema).open_status;\n const updateResult = await runUpdate(id, { ...ctx.options, status: openStatus, force: ctx.force }, ctx.global);\n const releaseResult = await runRelease(id, ctx.force, ctx.global, ctx.options);\n return { id, action: \"pause_task\", update: updateResult, release: releaseResult };\n}\n\nasync function runMcpCloseTaskAction(ctx: McpActionDispatchContext): Promise<unknown> {\n const id = requireMcpItemId(ctx);\n const closeReason =\n readString(ctx.args, \"reason\") ??\n readString(ctx.args, \"text\") ??\n readString(ctx.options, \"reason\") ??\n readString(ctx.options, \"text\");\n const closeResult = await runClose(id, closeReason, { ...ctx.options, force: ctx.force }, ctx.global);\n const releaseResult = await runRelease(id, ctx.force, ctx.global, ctx.options);\n return { id, action: \"close_task\", close: closeResult, release: releaseResult };\n}\n\nconst SDK_ACTION_HANDLERS: Record<string, McpActionHandler> = {\n init: (ctx) => runInit(readString(ctx.args, \"prefix\"), ctx.global, ctx.options),\n context: (ctx) => runContext(ctx.options, ctx.global),\n next: (ctx) => runNext(ctx.options, ctx.global),\n list: runMcpListAction,\n get: (ctx) => runGet(requireMcpItemId(ctx), ctx.global, ctx.options),\n search: runMcpSearchAction,\n create: runMcpCreateAction,\n copy: runMcpCopyAction,\n focus: (ctx) => runFocus(ctx.id, { clear: ctx.options.clear === true || ctx.args.clear === true }, ctx.global),\n update: runMcpUpdateAction,\n restore: runMcpRestoreAction,\n claim: (ctx) => runClaim(requireMcpItemId(ctx), ctx.force, ctx.global, ctx.options),\n release: (ctx) => runRelease(requireMcpItemId(ctx), ctx.force, ctx.global, ctx.options),\n \"start-task\": runMcpStartTaskAction,\n \"pause-task\": runMcpPauseTaskAction,\n \"close-task\": runMcpCloseTaskAction,\n close: runMcpCloseAction,\n comments: runMcpCommentsAction,\n notes: (ctx) => runNotes(requireMcpItemId(ctx), ctx.options, ctx.global),\n learnings: (ctx) => runLearnings(requireMcpItemId(ctx), ctx.options, ctx.global),\n files: runMcpFilesAction,\n docs: (ctx) => runDocs(requireMcpItemId(ctx), withAddNoteOption(ctx.options), ctx.global),\n test: (ctx) => runTest(requireMcpItemId(ctx), ctx.options, ctx.global),\n \"test-all\": (ctx) => runTestAll(ctx.options, ctx.global),\n telemetry: runMcpTelemetryAction,\n validate: (ctx) => runValidate(ctx.options, ctx.global),\n health: runMcpHealthAction,\n contracts: (ctx) => runContracts(ctx.options, ctx.global),\n config: runMcpConfigAction,\n activity: runMcpActivityAction,\n aggregate: (ctx) => runAggregate(ctx.options, ctx.global),\n extension: (ctx) => runExtension(readMcpTarget(ctx), ctx.options, ctx.global),\n package: (ctx) => runExtension(readMcpTarget(ctx), ctx.options, ctx.global),\n install: (ctx) => runExtension(readMcpTarget(ctx), { ...ctx.options, install: true }, ctx.global),\n upgrade: (ctx) => runUpgrade(readMcpTarget(ctx), ctx.options, ctx.global),\n delete: (ctx) => runDelete(requireMcpItemId(ctx), ctx.options, ctx.global),\n deps: (ctx) => runDeps(requireMcpItemId(ctx), ctx.options, ctx.global),\n \"files-discover\": (ctx) => runFilesDiscover(requireMcpItemId(ctx), ctx.options, ctx.global),\n history: (ctx) => runHistory(requireMcpItemId(ctx), ctx.options, ctx.global),\n \"history-redact\": (ctx) => runHistoryRedact(requireMcpItemId(ctx), ctx.options, ctx.global),\n \"history-repair\": runMcpHistoryRepairAction,\n \"history-compact\": (ctx) => runHistoryCompact(requireMcpItemId(ctx), ctx.options, ctx.global),\n plan: runMcpPlanAction,\n schema: runMcpSchemaAction,\n profile: runMcpProfileAction,\n stats: runMcpStatsAction,\n append: runMcpAppendAction,\n \"update-many\": runMcpUpdateManyAction,\n \"close-many\": runMcpCloseManyAction,\n gc: (ctx) => runGc(ctx.global, ctx.options),\n};\n\nasync function dispatchAction(\n action: string,\n args: Record<string, unknown>,\n global: GlobalOptions,\n activeExtensions: ActiveExtensionRuntime | null,\n): Promise<unknown> {\n const options = optionsWithAuthor(args, action);\n const ctx: McpActionDispatchContext = {\n action,\n args,\n options,\n id: readString(args, \"id\"),\n force: args.force === true || options.force === true,\n global,\n activeExtensions,\n };\n const handler = getOwnHandler(SDK_ACTION_HANDLERS, action);\n return handler ? handler(ctx) : dispatchActiveExtensionAction(action, args, options, global, activeExtensions);\n}\n\nconst actionRunnerTestHooks = {\n closeManyOptionsFromFlat,\n extensionOptionsFromArgs,\n globalOptions,\n mutationListOptions,\n normalizeActionName,\n normalizeCommandPath,\n normalizeMcpUpdateOptions,\n normalizeMcpOptionsArrays,\n optionsWithAuthor,\n readRequiredString,\n readScalarString,\n readScalarStringAllowBlank,\n readStringArray,\n updateManyOptionsFromFlat,\n withAddNoteOption,\n withFilesDiscoveryOptions,\n withMutationCompaction,\n};\n\ndeclare global {\n var __pmCliActionRunnerTestHooks: typeof actionRunnerTestHooks | undefined;\n}\n\nif (process.env.NODE_ENV === \"test\" || process.env.VITEST !== undefined || process.env.VITEST_WORKER_ID !== undefined) {\n globalThis.__pmCliActionRunnerTestHooks = actionRunnerTestHooks;\n}\n\nasync function loadWorkspaceExtensionRegistrations(\n pmRoot: string,\n settings: Awaited<ReturnType<typeof readSettings>>,\n cwd?: string,\n): Promise<ExtensionRegistrationRegistry | null> {\n const loadResult = await loadExtensions({\n pmRoot,\n settings,\n cwd: cwd ?? process.cwd(),\n noExtensions: false,\n });\n const activationResult = await activateExtensions(loadResult);\n try {\n return activationResult.registrations;\n } finally {\n try {\n await deactivateExtensions(loadResult, activationResult);\n } catch {\n // Workspace contract reads should stay best-effort even if teardown itself fails.\n }\n }\n}\n\nexport type { ContractsCommandOptions, ContractsResult };\n"],"names":[],"mappings":"AAAA;;;;GAIG;;;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,qCAAqC,EACrC,wCAAwC,EACxC,oCAAoC,EACpC,mCAAmC,GACpC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC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AmC,CAChD,MAAc,EACd,QAAkD,EAClD,GAAY;IAEZ,MAAM,UAAU,GAAG,MAAM,cAAc,CAAC;QACtC,MAAM;QACN,QAAQ;QACR,GAAG,EAAE,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE;QACzB,YAAY,EAAE,KAAK;KACpB,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,MAAM,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC9D,IAAI,CAAC;QACH,OAAO,gBAAgB,CAAC,aAAa,CAAC;IACxC,CAAC;YAAS,CAAC;QACT,IAAI,CAAC;YACH,MAAM,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAC3D,CAAC;QAAC,MAAM,CAAC;YACP,kFAAkF;QACpF,CAAC;IACH,CAAC;AACH,CAAC","debugId":"86af7c43-06f8-5e32-87ee-676c070b7e71"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @module sdk/workspace-contracts-cache
3
+ *
4
+ * Maintains the workspace contracts extension-registration memo used by runtime callers.
5
+ */
6
+ import type { ExtensionRegistrationRegistry } from "../core/extensions/index.js";
7
+ /**
8
+ * Drop all memoized workspace extension registrations so the next
9
+ * `getWorkspaceContracts` call re-loads and re-activates extensions from disk.
10
+ * Long-lived hosts should call this after any extension or settings mutation.
11
+ */
12
+ export declare function clearWorkspaceContractsCache(): void;
13
+ /**
14
+ * Memoize one workspace extension-registration load and evict rejected entries
15
+ * so transient activation failures do not poison long-lived embedding hosts.
16
+ */
17
+ export declare function memoizeWorkspaceExtensionRegistrations(cacheKey: string, loadRegistrations: () => Promise<ExtensionRegistrationRegistry | null>): Promise<ExtensionRegistrationRegistry | null>;
@@ -0,0 +1,36 @@
1
+
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be7bf5e4-3625-5ac2-985e-5a7762373ee4")}catch(e){}}();
3
+ const WORKSPACE_CONTRACTS_CACHE_LIMIT = 50;
4
+ const workspaceExtensionRegistrationsCache = new Map();
5
+ /**
6
+ * Drop all memoized workspace extension registrations so the next
7
+ * `getWorkspaceContracts` call re-loads and re-activates extensions from disk.
8
+ * Long-lived hosts should call this after any extension or settings mutation.
9
+ */
10
+ export function clearWorkspaceContractsCache() {
11
+ workspaceExtensionRegistrationsCache.clear();
12
+ }
13
+ /**
14
+ * Memoize one workspace extension-registration load and evict rejected entries
15
+ * so transient activation failures do not poison long-lived embedding hosts.
16
+ */
17
+ export function memoizeWorkspaceExtensionRegistrations(cacheKey, loadRegistrations) {
18
+ const cached = workspaceExtensionRegistrationsCache.get(cacheKey);
19
+ if (cached !== undefined) {
20
+ return cached;
21
+ }
22
+ if (workspaceExtensionRegistrationsCache.size >= WORKSPACE_CONTRACTS_CACHE_LIMIT) {
23
+ const oldestKey = workspaceExtensionRegistrationsCache.keys().next().value;
24
+ workspaceExtensionRegistrationsCache.delete(oldestKey);
25
+ }
26
+ const registrations = loadRegistrations().catch((error) => {
27
+ if (workspaceExtensionRegistrationsCache.get(cacheKey) === registrations) {
28
+ workspaceExtensionRegistrationsCache.delete(cacheKey);
29
+ }
30
+ throw error;
31
+ });
32
+ workspaceExtensionRegistrationsCache.set(cacheKey, registrations);
33
+ return registrations;
34
+ }
35
+ //# sourceMappingURL=workspace-contracts-cache.js.map
36
+ //# debugId=be7bf5e4-3625-5ac2-985e-5a7762373ee4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace-contracts-cache.js","sources":["sdk/workspace-contracts-cache.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module sdk/workspace-contracts-cache\n *\n * Maintains the workspace contracts extension-registration memo used by runtime callers.\n */\nimport type { ExtensionRegistrationRegistry } from \"../core/extensions/index.js\";\n\nconst WORKSPACE_CONTRACTS_CACHE_LIMIT = 50;\nconst workspaceExtensionRegistrationsCache = new Map<string, Promise<ExtensionRegistrationRegistry | null>>();\n\n/**\n * Drop all memoized workspace extension registrations so the next\n * `getWorkspaceContracts` call re-loads and re-activates extensions from disk.\n * Long-lived hosts should call this after any extension or settings mutation.\n */\nexport function clearWorkspaceContractsCache(): void {\n workspaceExtensionRegistrationsCache.clear();\n}\n\n/**\n * Memoize one workspace extension-registration load and evict rejected entries\n * so transient activation failures do not poison long-lived embedding hosts.\n */\nexport function memoizeWorkspaceExtensionRegistrations(\n cacheKey: string,\n loadRegistrations: () => Promise<ExtensionRegistrationRegistry | null>,\n): Promise<ExtensionRegistrationRegistry | null> {\n const cached = workspaceExtensionRegistrationsCache.get(cacheKey);\n if (cached !== undefined) {\n return cached;\n }\n if (workspaceExtensionRegistrationsCache.size >= WORKSPACE_CONTRACTS_CACHE_LIMIT) {\n const oldestKey = workspaceExtensionRegistrationsCache.keys().next().value!;\n workspaceExtensionRegistrationsCache.delete(oldestKey);\n }\n const registrations = loadRegistrations().catch((error: unknown) => {\n if (workspaceExtensionRegistrationsCache.get(cacheKey) === registrations) {\n workspaceExtensionRegistrationsCache.delete(cacheKey);\n }\n throw error;\n });\n workspaceExtensionRegistrationsCache.set(cacheKey, registrations);\n return registrations;\n}\n"],"names":[],"mappings":";;AAOA,MAAM,+BAA+B,GAAG,EAAE,CAAC;AAC3C,MAAM,oCAAoC,GAAG,IAAI,GAAG,EAAyD,CAAC;AAE9G;;;;GAIG;AACH,MAAM,UAAU,4BAA4B;IAC1C,oCAAoC,CAAC,KAAK,EAAE,CAAC;AAC/C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sCAAsC,CACpD,QAAgB,EAChB,iBAAsE;IAEtE,MAAM,MAAM,GAAG,oCAAoC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClE,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,IAAI,oCAAoC,CAAC,IAAI,IAAI,+BAA+B,EAAE,CAAC;QACjF,MAAM,SAAS,GAAG,oCAAoC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAM,CAAC;QAC5E,oCAAoC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACzD,CAAC;IACD,MAAM,aAAa,GAAG,iBAAiB,EAAE,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;QACjE,IAAI,oCAAoC,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,aAAa,EAAE,CAAC;YACzE,oCAAoC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACxD,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC,CAAC,CAAC;IACH,oCAAoC,CAAC,GAAG,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAClE,OAAO,aAAa,CAAC;AACvB,CAAC","debugId":"be7bf5e4-3625-5ac2-985e-5a7762373ee4"}
package/docs/RELEASING.md CHANGED
@@ -51,13 +51,15 @@ Policy:
51
51
 
52
52
  - release only when commits exist after the latest release tag
53
53
  - ignore `.agents/pm`-only tracker commits for publish eligibility so post-release evidence and closure updates do not create a package release by themselves
54
- - release at most once per UTC day; the GitHub Actions Auto Release workflow must not be used for same-day follow-up publishes
54
+ - release at most once per UTC day after a successful publish; if the scheduled run failed before publishing, a non-`github-actions[bot]` closure of the exact bot-created `Auto Release blocked` issue on the same UTC day triggers one production retry attempt so a changed tree still gets a daily release
55
55
  - release preparation must pass all quality and compatibility gates before commit+tag push
56
56
  - `CHANGELOG.md` is generated by the latest npm `pm-changelog` package (`pm install npm:pm-changelog --project`, then `pm changelog generate --mode replace --all-release-tags`) from closed tracker items across git release tag windows and checked in CI; do not edit it by hand
57
57
  - protected-branch pushes require `RELEASE_PAT`; Auto Release fails fast before the expensive release gates when `push=true`, `dry_run=false`, and that secret is not configured
58
58
  - release reliability gating requires `SENTRY_PERSONAL_ADMIN_TOKEN` for issue-threshold checks; Auto Release fails before creating the version commit/tag when the token is missing and `push=true`, while sourcemap upload remains optional through `SENTRY_AUTH_TOKEN`
59
59
  - after creating and pushing a new tag, auto-release waits for the tag-push `.github/workflows/release.yml` run to finish instead of dispatching a second publish workflow
60
60
  - scheduled failure issues include the preflight state (`push`, `dry_run`, `release_pat_configured`, and `sentry_personal_admin_token_configured`) plus a detected cause so agents can distinguish missing release secrets from Sentry gate failures without scanning the full workflow log first
61
+ - when scheduled failures continue across multiple UTC days, auto-release supersedes a stale open blocker with a fresh current-day blocker so same-day retry detection follows the latest scheduled failure
62
+ - closing the exact bot-created `Auto Release blocked: scheduled run failed` issue as a maintainer or agent retries Auto Release once for that same-day closure on the production path (`push=true`, `dry_run=false`), records a same-day retry marker before running the release pipeline, comments with the published tag when the retry publishes, comments with a skip reason when the retry succeeds without publishing a new tag or is safely refused before release mutation, and reopens the same issue if the retry actually fails; a second close of the reopened issue on the same UTC day is refused before release mutation and reported as `retry_already_attempted` so the production retry cannot loop, and workflow cleanup closures by `github-actions[bot]` are ignored so a successful scheduled cleanup cannot retrigger release
61
63
  - after a scheduled run publishes a tag and the downstream release workflow succeeds, auto-release closes any open `Auto Release blocked` issue so the GitHub tracker reflects current release health
62
64
 
63
65
  Pipeline entrypoint:
package/docs/SDK.md CHANGED
@@ -99,6 +99,7 @@ Storage format-version exports (under `@unbrained/pm-cli/sdk/runtime`):
99
99
 
100
100
  Command/action contract exports:
101
101
 
102
+ - `PmClient` / `runAction` (high-level in-process action execution for custom tools, bots, CI, and embedded runtimes)
102
103
  - `PM_CORE_COMMAND_NAMES`
103
104
  - `PM_TOOL_ACTIONS`
104
105
  - `PM_TOOL_PARAMETERS_SCHEMA`
@@ -417,6 +418,51 @@ const contracts = await getContracts("/path/to/project/.agents/pm", {
417
418
  });
418
419
  ```
419
420
 
421
+ To execute pm from an embedded tool without spawning `pm`, use `PmClient` (or
422
+ the lower-level `runAction`) from `@unbrained/pm-cli/sdk/runtime`. It uses the
423
+ same compact, extension-aware dispatcher as the MCP `pm_run` tool:
424
+
425
+ ```ts
426
+ import { PmClient, runAction } from "@unbrained/pm-cli/sdk/runtime";
427
+
428
+ const pm = new PmClient({
429
+ pmRoot: "/path/to/project/.agents/pm",
430
+ author: "ci-agent",
431
+ });
432
+
433
+ const created = await pm.create({
434
+ title: "Investigate release drift",
435
+ type: "Task",
436
+ status: "open",
437
+ createMode: "progressive",
438
+ });
439
+ const open = await pm.list({ status: "open", limit: "20" });
440
+
441
+ await runAction({
442
+ action: "context",
443
+ path: "/path/to/project/.agents/pm",
444
+ options: { limit: "10" },
445
+ });
446
+ ```
447
+
448
+ Mutation convenience methods default to compact changed-field output for agent
449
+ efficiency. Pass `fullChangedFields: true` alongside the command options when an
450
+ embedded SDK consumer needs the full `changed_fields` array.
451
+
452
+ `PmClient` and `runAction` share the same process-wide extension activation
453
+ queue as MCP. Calls from one process are serialized across extension load,
454
+ activation, dispatch, cleanup, and deactivate so active extension registries stay
455
+ consistent. Use separate processes when a host needs true parallel pm action
456
+ throughput.
457
+
458
+ `PmClient` convenience methods (`list`, `create`, `update`, and the rest) accept
459
+ command options only. For per-call runtime overrides such as `cwd`, `path`, or
460
+ `noExtensions`, use `run` or call `runAction` directly:
461
+
462
+ ```ts
463
+ await pm.run("list", { cwd: "/path/to/project", options: { status: "open" } });
464
+ ```
465
+
420
466
  For item-type context, use the CLI inspection primitives before issuing custom-domain mutations:
421
467
 
422
468
  ```bash
@@ -1,6 +1,18 @@
1
1
  import { spawnSync } from "node:child_process";
2
2
  import { PM_TOOL_ACTION_PARAMETER_CONTRACTS, isPmToolAction } from "@unbrained/pm-cli/sdk";
3
3
 
4
+ function parsePmJson(stdout, commandLabel) {
5
+ const trimmed = (stdout ?? "").trim();
6
+ if (trimmed.length === 0) {
7
+ return {};
8
+ }
9
+ try {
10
+ return JSON.parse(trimmed);
11
+ } catch (error) {
12
+ throw new Error(`Failed to parse JSON from ${commandLabel}: ${error.message}`, { cause: error });
13
+ }
14
+ }
15
+
4
16
  function runPm(args) {
5
17
  const completed = spawnSync("pm", args, {
6
18
  encoding: "utf8",
@@ -9,12 +21,14 @@ function runPm(args) {
9
21
  NO_COLOR: "1",
10
22
  },
11
23
  });
24
+ if (completed.error) {
25
+ throw new Error(`Failed to run pm ${args.join(" ")}: ${completed.error.message}`, { cause: completed.error });
26
+ }
12
27
  if (completed.status !== 0) {
13
28
  const stderr = (completed.stderr ?? "").trim();
14
29
  throw new Error(stderr.length > 0 ? stderr : `pm ${args.join(" ")} failed with exit code ${completed.status}`);
15
30
  }
16
- const stdout = (completed.stdout ?? "").trim();
17
- return stdout.length > 0 ? JSON.parse(stdout) : {};
31
+ return parsePmJson(completed.stdout, `pm ${args.join(" ")}`);
18
32
  }
19
33
 
20
34
  function resolveCommandForAction(action) {
@@ -1,6 +1,18 @@
1
1
  import { spawnSync } from "node:child_process";
2
2
  import { PM_TOOL_ACTION_PARAMETER_CONTRACTS, isPmToolAction } from "@unbrained/pm-cli/sdk";
3
3
 
4
+ function parseContractsJson(stdout) {
5
+ const trimmed = (stdout ?? "").trim();
6
+ if (trimmed.length === 0) {
7
+ return {};
8
+ }
9
+ try {
10
+ return JSON.parse(trimmed);
11
+ } catch (error) {
12
+ throw new Error(`Failed to parse JSON from pm contracts: ${error.message}`, { cause: error });
13
+ }
14
+ }
15
+
4
16
  function runPmContracts() {
5
17
  const completed = spawnSync("pm", ["contracts", "--json"], {
6
18
  encoding: "utf8",
@@ -9,11 +21,14 @@ function runPmContracts() {
9
21
  NO_COLOR: "1",
10
22
  },
11
23
  });
24
+ if (completed.error) {
25
+ throw new Error(`Failed to run pm contracts: ${completed.error.message}`, { cause: completed.error });
26
+ }
12
27
  if (completed.status !== 0) {
13
28
  const stderr = (completed.stderr ?? "").trim();
14
29
  throw new Error(stderr.length > 0 ? stderr : `pm contracts failed with exit code ${completed.status}`);
15
30
  }
16
- return JSON.parse(completed.stdout ?? "{}");
31
+ return parseContractsJson(completed.stdout);
17
32
  }
18
33
 
19
34
  const requestedAction = (process.argv[2] ?? "create").trim().toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-cli",
3
- "version": "2026.7.5",
3
+ "version": "2026.7.6",
4
4
  "description": "Git-native project management CLI for humans and agents.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.10.0",
@@ -1,18 +0,0 @@
1
- import {
2
- _testOnly,
3
- runActivity
4
- } from "./chunk-KLG4ZULO.js";
5
- import "./chunk-3Y4OESPP.js";
6
- import "./chunk-D3UCE7RW.js";
7
- import "./chunk-EEY54JMF.js";
8
- import "./chunk-3U3VEWK6.js";
9
- import "./chunk-EZFKWSC7.js";
10
- import "./chunk-DRBV5UC2.js";
11
- import "./chunk-P5YORJRH.js";
12
- import "./chunk-7C2O74AE.js";
13
- import "./chunk-5VVUKE3U.js";
14
- export {
15
- _testOnly,
16
- runActivity
17
- };
18
- //# sourceMappingURL=activity-4XQIDNM5.js.map
@@ -1,22 +0,0 @@
1
-
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="45eac7fa-f181-5cca-93b7-cfb58909dbb3")}catch(e){}}();
3
- import {
4
- _testOnly,
5
- runActivity
6
- } from "./chunk-Z2CRRZYF.js";
7
- import "./chunk-T3F4DF23.js";
8
- import "./chunk-BFVHCAOO.js";
9
- import "./chunk-YFIE7YK6.js";
10
- import "./chunk-57C2RLW5.js";
11
- import "./chunk-HK72NWAD.js";
12
- import "./chunk-FJRKQREY.js";
13
- import "./chunk-US3T3W5J.js";
14
- import "./chunk-NNHHXJB2.js";
15
- import "./chunk-YD5FML7K.js";
16
- export {
17
- _testOnly,
18
- runActivity
19
- };
20
- //# sourceMappingURL=activity-YKAKZTZ4.js.map
21
-
22
- //# debugId=45eac7fa-f181-5cca-93b7-cfb58909dbb3