@unbrained/pm-cli 2026.7.7 → 2026.7.8

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 (393) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cli/commands/completion.js +10 -2
  3. package/dist/cli/commands/completion.js.map +1 -1
  4. package/dist/cli/commands/context.d.ts +1 -0
  5. package/dist/cli/commands/context.js +4 -4
  6. package/dist/cli/commands/context.js.map +1 -1
  7. package/dist/cli/commands/extension.d.ts +23 -19
  8. package/dist/cli/commands/extension.js +167 -57
  9. package/dist/cli/commands/extension.js.map +1 -1
  10. package/dist/cli/commands/search.js +3 -3
  11. package/dist/cli/commands/search.js.map +1 -1
  12. package/dist/cli/help-content.js +28 -2
  13. package/dist/cli/help-content.js.map +1 -1
  14. package/dist/cli/register-list-query.js +3 -2
  15. package/dist/cli/register-list-query.js.map +1 -1
  16. package/dist/cli/register-setup.js +8 -2
  17. package/dist/cli/register-setup.js.map +1 -1
  18. package/dist/cli-bundle/chunks/append-CDPAYYSB.js +11 -0
  19. package/dist/cli-bundle/chunks/{append-PVCTBVJG.js → append-RSPHC423.js} +5 -5
  20. package/dist/cli-bundle/chunks/{chunk-LCFJ7XAM.js → chunk-2BVD4ZD2.js} +267 -232
  21. package/dist/cli-bundle/chunks/chunk-2BVD4ZD2.js.map +7 -0
  22. package/dist/cli-bundle/chunks/{chunk-MHNMCDWR.js → chunk-2RADY7IB.js} +212 -38
  23. package/dist/cli-bundle/chunks/chunk-2RADY7IB.js.map +1 -0
  24. package/dist/cli-bundle/chunks/{chunk-S547WBYG.js → chunk-3FRNNVWY.js} +212 -38
  25. package/dist/cli-bundle/chunks/chunk-3FRNNVWY.js.map +7 -0
  26. package/dist/cli-bundle/chunks/{chunk-H2SMKL2N.js → chunk-3FUXM574.js} +4 -4
  27. package/dist/cli-bundle/chunks/{chunk-DR2V5OIV.js → chunk-3SHDAKMF.js} +3 -3
  28. package/dist/cli-bundle/chunks/{chunk-MRFWUSVA.js → chunk-3UXIMY62.js} +3 -3
  29. package/dist/cli-bundle/chunks/{chunk-WCWVEXGA.js → chunk-3V5C7PUH.js} +2 -2
  30. package/dist/cli-bundle/chunks/{chunk-43YSKY75.js → chunk-3YJDIJIE.js} +3 -3
  31. package/dist/cli-bundle/chunks/{chunk-HX6QXV5P.js → chunk-4I7KS5ES.js} +2 -2
  32. package/dist/cli-bundle/chunks/{chunk-XHCVAZGM.js → chunk-4OCWJ2AP.js} +7 -7
  33. package/dist/cli-bundle/chunks/{chunk-3TYOW6RR.js → chunk-5STY7NVM.js} +4 -4
  34. package/dist/cli-bundle/chunks/{chunk-7VQ3JJN5.js → chunk-5VAZHYVQ.js} +2 -2
  35. package/dist/cli-bundle/chunks/{chunk-MCEUKJKW.js → chunk-6FU5BVRB.js} +4 -4
  36. package/dist/cli-bundle/chunks/{chunk-AJUON7E6.js → chunk-6RR4XM5H.js} +3 -3
  37. package/dist/cli-bundle/chunks/{chunk-TEISGNSH.js → chunk-6TD5QGIB.js} +4 -4
  38. package/dist/cli-bundle/chunks/{chunk-565WYS5W.js → chunk-6WCXSC5V.js} +5 -5
  39. package/dist/cli-bundle/chunks/{chunk-NWWL22C7.js → chunk-6ZKDMEVT.js} +3 -3
  40. package/dist/cli-bundle/chunks/{chunk-VLEA2UTQ.js → chunk-7QKSLAHB.js} +2 -2
  41. package/dist/cli-bundle/chunks/{chunk-S6VC2A2K.js → chunk-7TBUV7XS.js} +4 -4
  42. package/dist/cli-bundle/chunks/{chunk-YPMZMKN7.js → chunk-7UCBLJDF.js} +2 -2
  43. package/dist/cli-bundle/chunks/{chunk-4MZOKTI2.js → chunk-AEOFBBWO.js} +3 -3
  44. package/dist/cli-bundle/chunks/{chunk-TZLYO4PP.js → chunk-ASMRSIDX.js} +16 -16
  45. package/dist/cli-bundle/chunks/{chunk-ZO7CLOY2.js → chunk-BFNFTHWQ.js} +3 -3
  46. package/dist/cli-bundle/chunks/{chunk-YNCFP5AR.js → chunk-BPJ5NYSJ.js} +2 -2
  47. package/dist/cli-bundle/chunks/{chunk-P3MJJW7P.js → chunk-C3YU3TXX.js} +2 -2
  48. package/dist/cli-bundle/chunks/{chunk-SY75LYXR.js → chunk-C6XSTACC.js} +3 -3
  49. package/dist/cli-bundle/chunks/{chunk-2TILG6F2.js → chunk-CGDUIPJL.js} +3 -3
  50. package/dist/cli-bundle/chunks/{chunk-J7BOLHAV.js → chunk-CXH7EMSB.js} +3 -3
  51. package/dist/cli-bundle/chunks/{chunk-6G6O3OPQ.js → chunk-D63PEJTB.js} +7 -7
  52. package/dist/cli-bundle/chunks/{chunk-W5HXHC7C.js → chunk-D6J5673C.js} +4 -4
  53. package/dist/cli-bundle/chunks/{chunk-LZQU6XJG.js → chunk-DUBC6TI3.js} +8 -8
  54. package/dist/cli-bundle/chunks/{chunk-YPD7SQ5P.js → chunk-EEJKHF7M.js} +5 -5
  55. package/dist/cli-bundle/chunks/{chunk-EDO7VXSO.js → chunk-EP2CKDS7.js} +2 -2
  56. package/dist/cli-bundle/chunks/{chunk-S5BNGFN5.js → chunk-EYPIUFWJ.js} +10 -10
  57. package/dist/cli-bundle/chunks/{chunk-SIM5JDON.js → chunk-F5DDGY6R.js} +3 -3
  58. package/dist/cli-bundle/chunks/{chunk-I74FMIWA.js → chunk-FFB3WITE.js} +3 -3
  59. package/dist/cli-bundle/chunks/{chunk-43UQN754.js → chunk-FJR2S7S4.js} +7 -7
  60. package/dist/cli-bundle/chunks/{chunk-X47MKQXU.js → chunk-FL625JJM.js} +166 -64
  61. package/dist/cli-bundle/chunks/chunk-FL625JJM.js.map +7 -0
  62. package/dist/cli-bundle/chunks/{chunk-CJQM7O7R.js → chunk-FOJEBRDD.js} +5 -5
  63. package/dist/cli-bundle/chunks/{chunk-XZWL7VNE.js → chunk-G4FKP4ID.js} +5 -5
  64. package/dist/cli-bundle/chunks/{chunk-Y5IKRUEM.js → chunk-GE44TQMC.js} +167 -65
  65. package/dist/cli-bundle/chunks/chunk-GE44TQMC.js.map +1 -0
  66. package/dist/cli-bundle/chunks/{chunk-E3YQFSFE.js → chunk-GLMJLBLR.js} +3 -3
  67. package/dist/cli-bundle/chunks/{chunk-KTGJ2CBU.js → chunk-GO2X6ZRB.js} +3 -3
  68. package/dist/cli-bundle/chunks/{chunk-YH5NBDFA.js → chunk-GQOKFX2G.js} +8 -8
  69. package/dist/cli-bundle/chunks/{chunk-DDDWVPID.js → chunk-GSQVQINP.js} +4 -4
  70. package/dist/cli-bundle/chunks/{chunk-7ML7JONU.js → chunk-HI27UADG.js} +14 -14
  71. package/dist/cli-bundle/chunks/chunk-HI27UADG.js.map +1 -0
  72. package/dist/cli-bundle/chunks/{chunk-VGO73OCK.js → chunk-HZZ3AC27.js} +3 -3
  73. package/dist/cli-bundle/chunks/{chunk-7Y5N34HX.js → chunk-IINCZYM3.js} +3 -3
  74. package/dist/cli-bundle/chunks/{chunk-GLS6VMWI.js → chunk-INOWVPUD.js} +5 -5
  75. package/dist/cli-bundle/chunks/{chunk-4IQKDKGE.js → chunk-IYRG5AEC.js} +7 -7
  76. package/dist/cli-bundle/chunks/{chunk-PDXJXEZJ.js → chunk-J6AD3GWC.js} +2 -2
  77. package/dist/cli-bundle/chunks/{chunk-52NS7JDP.js → chunk-JH5XDDYS.js} +5 -5
  78. package/dist/cli-bundle/chunks/{chunk-GPIDUMMN.js → chunk-JYVPLGOW.js} +4 -4
  79. package/dist/cli-bundle/chunks/{chunk-EIUBK2LT.js → chunk-K52C6YPA.js} +5 -5
  80. package/dist/cli-bundle/chunks/{chunk-2LEJGRQ7.js → chunk-KFL3XHMA.js} +2 -2
  81. package/dist/cli-bundle/chunks/{chunk-J2VGADNG.js → chunk-KMXVZ2P7.js} +16 -16
  82. package/dist/cli-bundle/chunks/{chunk-XS2TMNXR.js → chunk-LD2NBQ5T.js} +3 -3
  83. package/dist/cli-bundle/chunks/{chunk-II7R6KD4.js → chunk-LG4N6YOK.js} +5 -5
  84. package/dist/cli-bundle/chunks/{chunk-M62RO3XK.js → chunk-LHDHS4Z6.js} +5 -5
  85. package/dist/cli-bundle/chunks/{chunk-F6MT7KKE.js → chunk-MCH6IKK7.js} +3 -3
  86. package/dist/cli-bundle/chunks/{chunk-UO7XAZK6.js → chunk-MFLLULHU.js} +267 -232
  87. package/dist/cli-bundle/chunks/chunk-MFLLULHU.js.map +1 -0
  88. package/dist/cli-bundle/chunks/{chunk-2APXX4TZ.js → chunk-ML27MHNM.js} +23 -7
  89. package/dist/cli-bundle/chunks/chunk-ML27MHNM.js.map +1 -0
  90. package/dist/cli-bundle/chunks/{chunk-IDIBF4E2.js → chunk-MYHFZNBO.js} +8 -8
  91. package/dist/cli-bundle/chunks/{chunk-Y7KYVCZM.js → chunk-NGBWEYNY.js} +5 -5
  92. package/dist/cli-bundle/chunks/{chunk-RB3KLPAH.js → chunk-NRMDT4OV.js} +4 -4
  93. package/dist/cli-bundle/chunks/{chunk-GH73UOSJ.js → chunk-NTOOEVJ4.js} +2 -2
  94. package/dist/cli-bundle/chunks/{chunk-ZNEG2UDO.js → chunk-P2WE5KCU.js} +7 -7
  95. package/dist/cli-bundle/chunks/{chunk-EMXPI36L.js → chunk-PAWPLIWW.js} +5 -5
  96. package/dist/cli-bundle/chunks/{chunk-AGAVEDIE.js → chunk-PCBZ2VJD.js} +4 -4
  97. package/dist/cli-bundle/chunks/{chunk-6XTSYPPO.js → chunk-PJPZTE7P.js} +5 -5
  98. package/dist/cli-bundle/chunks/{chunk-3X542TEY.js → chunk-Q3CFSOQZ.js} +4 -4
  99. package/dist/cli-bundle/chunks/{chunk-4BKDAEDF.js → chunk-QJZM5WO5.js} +3 -3
  100. package/dist/cli-bundle/chunks/{chunk-HHEWQXPD.js → chunk-QLEH6FTQ.js} +4 -4
  101. package/dist/cli-bundle/chunks/{chunk-D2DCTFTL.js → chunk-QYZMZD4L.js} +4 -4
  102. package/dist/cli-bundle/chunks/{chunk-F6YC2A6X.js → chunk-RDJXIAJB.js} +4 -4
  103. package/dist/cli-bundle/chunks/{chunk-6UQCNWFV.js → chunk-RFHLRMLQ.js} +3 -3
  104. package/dist/cli-bundle/chunks/{chunk-Q64AYQYW.js → chunk-RL24NAUX.js} +4 -4
  105. package/dist/cli-bundle/chunks/{chunk-C5ACVMOI.js → chunk-RLHQ3G4M.js} +5 -5
  106. package/dist/cli-bundle/chunks/{chunk-5FIQ4EX3.js → chunk-SCJPFQQT.js} +3 -3
  107. package/dist/cli-bundle/chunks/{chunk-42LXP4VO.js → chunk-SIQGG335.js} +7 -7
  108. package/dist/cli-bundle/chunks/{chunk-TNC6MZUD.js → chunk-SN5X5GTU.js} +4 -4
  109. package/dist/cli-bundle/chunks/{chunk-43SIHQND.js → chunk-TKWTJGD6.js} +5 -5
  110. package/dist/cli-bundle/chunks/{chunk-YCVWWIKY.js → chunk-TR2C6V5T.js} +25 -9
  111. package/dist/cli-bundle/chunks/chunk-TR2C6V5T.js.map +7 -0
  112. package/dist/cli-bundle/chunks/{chunk-FILL6BB2.js → chunk-TTCJCKUJ.js} +14 -14
  113. package/dist/cli-bundle/chunks/chunk-TTCJCKUJ.js.map +7 -0
  114. package/dist/cli-bundle/chunks/{chunk-YTD5GICJ.js → chunk-TU5P744I.js} +4 -4
  115. package/dist/cli-bundle/chunks/{chunk-QFBSP3NI.js → chunk-TUDAYIO7.js} +8 -8
  116. package/dist/cli-bundle/chunks/{chunk-EOUVR7JN.js → chunk-U72GF3I2.js} +3 -3
  117. package/dist/cli-bundle/chunks/{chunk-7PNQA24K.js → chunk-UCRYCT5M.js} +8 -8
  118. package/dist/cli-bundle/chunks/{chunk-FN6SB4HU.js → chunk-UEATYUZW.js} +2 -2
  119. package/dist/cli-bundle/chunks/{chunk-V5ZWKJNY.js → chunk-UFNFHCAC.js} +2 -2
  120. package/dist/cli-bundle/chunks/{chunk-XBX5CBRQ.js → chunk-UH6VFRV6.js} +3 -3
  121. package/dist/cli-bundle/chunks/{chunk-GTM5HQL4.js → chunk-UIHDZS6X.js} +7 -7
  122. package/dist/cli-bundle/chunks/{chunk-TGUK6XN6.js → chunk-UURYLDDC.js} +5 -5
  123. package/dist/cli-bundle/chunks/{chunk-6LCJRGPD.js → chunk-UVFJSKTF.js} +4 -4
  124. package/dist/cli-bundle/chunks/{chunk-3G6UMXT3.js → chunk-W2VFNVSJ.js} +3 -3
  125. package/dist/cli-bundle/chunks/{chunk-DG6BSXZ7.js → chunk-WVEMZZCR.js} +3 -3
  126. package/dist/cli-bundle/chunks/{chunk-RY7PTTUB.js → chunk-XN5BEN2B.js} +5 -5
  127. package/dist/cli-bundle/chunks/{chunk-XC3X7BQR.js → chunk-XPSGJ4IV.js} +8 -8
  128. package/dist/cli-bundle/chunks/{chunk-ARKHKYYS.js → chunk-YQEKE4FO.js} +7 -7
  129. package/dist/cli-bundle/chunks/{chunk-QDABF2RB.js → chunk-YR5R4FMQ.js} +10 -10
  130. package/dist/cli-bundle/chunks/{chunk-XPMXPR7K.js → chunk-YSRXFGNV.js} +3 -3
  131. package/dist/cli-bundle/chunks/{chunk-XXIYUTLK.js → chunk-YUCKM3MD.js} +4 -4
  132. package/dist/cli-bundle/chunks/{chunk-N6ZHDLUY.js → chunk-YUMNZS3X.js} +3 -3
  133. package/dist/cli-bundle/chunks/{chunk-TEKZOS7M.js → chunk-Z2JQH2MG.js} +2 -2
  134. package/dist/cli-bundle/chunks/{chunk-E3LWJUGF.js → chunk-Z6RLSNUX.js} +3 -3
  135. package/dist/cli-bundle/chunks/{chunk-EVEPHNXJ.js → chunk-ZMOPZFVT.js} +4 -4
  136. package/dist/cli-bundle/chunks/close-E3RLZSP2.js +12 -0
  137. package/dist/cli-bundle/chunks/{close-3YYQ5OG2.js → close-K6BFI3OX.js} +5 -5
  138. package/dist/cli-bundle/chunks/{close-many-D366FTIG.js → close-many-6NBL3PM4.js} +13 -13
  139. package/dist/cli-bundle/chunks/close-many-X4YKS3RO.js +22 -0
  140. package/dist/cli-bundle/chunks/{comments-54XDJNFE.js → comments-PLFK5ZKK.js} +7 -7
  141. package/dist/cli-bundle/chunks/comments-ZNOD5PTV.js +13 -0
  142. package/dist/cli-bundle/chunks/copy-F7BUFY4J.js +9 -0
  143. package/dist/cli-bundle/chunks/{copy-44RT5GDW.js → copy-VH3L4MN2.js} +4 -4
  144. package/dist/cli-bundle/chunks/create-AMBMYP6F.js +25 -0
  145. package/dist/cli-bundle/chunks/{create-4GWJWPXG.js → create-TRIBYORN.js} +9 -9
  146. package/dist/cli-bundle/chunks/delete-6KQHZYIP.js +10 -0
  147. package/dist/cli-bundle/chunks/{delete-YQ2VPXNF.js → delete-ZNXUNCZR.js} +4 -4
  148. package/dist/cli-bundle/chunks/{deps-FMANWFRP.js → deps-CVDY7FFK.js} +4 -4
  149. package/dist/cli-bundle/chunks/{deps-BU5EBJDU.js → deps-SZXQHV73.js} +4 -4
  150. package/dist/cli-bundle/chunks/{docs-OQBSJNIA.js → docs-DR74ITCD.js} +6 -6
  151. package/dist/cli-bundle/chunks/docs-WCVYY6I7.js +14 -0
  152. package/dist/cli-bundle/chunks/{files-72HZEBOE.js → files-H5YCA74Z.js} +6 -6
  153. package/dist/cli-bundle/chunks/{files-HTSB2KJG.js → files-QEFQ2M3H.js} +6 -6
  154. package/dist/cli-bundle/chunks/{focus-FOG4ALC2.js → focus-55TRYSNA.js} +5 -5
  155. package/dist/cli-bundle/chunks/focus-N2QGNS5D.js +10 -0
  156. package/dist/cli-bundle/chunks/history-compact-GWQ4UOEI.js +21 -0
  157. package/dist/cli-bundle/chunks/{history-compact-M6IFAMBP.js → history-compact-JJZ4EFL3.js} +9 -9
  158. package/dist/cli-bundle/chunks/history-redact-4GJOLXCM.js +17 -0
  159. package/dist/cli-bundle/chunks/{history-redact-NQX3OGZP.js → history-redact-TPPUT3A5.js} +7 -7
  160. package/dist/cli-bundle/chunks/history-repair-HVCVCGUF.js +19 -0
  161. package/dist/cli-bundle/chunks/{history-repair-NHOJG7WO.js → history-repair-J7PIZ6ZP.js} +9 -9
  162. package/dist/cli-bundle/chunks/{learnings-T63JGKKN.js → learnings-KB6BT4NR.js} +7 -7
  163. package/dist/cli-bundle/chunks/learnings-YYY3U2Y7.js +13 -0
  164. package/dist/cli-bundle/chunks/notes-BGG7VL72.js +13 -0
  165. package/dist/cli-bundle/chunks/{notes-U7L6HQQ2.js → notes-ZTHXVOKM.js} +7 -7
  166. package/dist/cli-bundle/chunks/{plan-TN537L24.js → plan-CJPKFRBK.js} +10 -10
  167. package/dist/cli-bundle/chunks/plan-MK2QY3GA.js +24 -0
  168. package/dist/cli-bundle/chunks/{profile-MHAMXMHQ.js → profile-AQNHXOYA.js} +9 -9
  169. package/dist/cli-bundle/chunks/{profile-TIGLAKJ7.js → profile-HTBFINKQ.js} +9 -9
  170. package/dist/cli-bundle/chunks/{register-list-query-ZCRABAPN.js → register-list-query-EEF33SUJ.js} +16 -15
  171. package/dist/cli-bundle/chunks/{register-list-query-ZCRABAPN.js.map → register-list-query-EEF33SUJ.js.map} +1 -1
  172. package/dist/cli-bundle/chunks/{register-list-query-OHXD7G5N.js → register-list-query-S4FBWIWN.js} +15 -14
  173. package/dist/cli-bundle/chunks/{register-list-query-OHXD7G5N.js.map → register-list-query-S4FBWIWN.js.map} +2 -2
  174. package/dist/cli-bundle/chunks/{register-mutation-XX4H56PE.js → register-mutation-L5Q7AUDN.js} +29 -29
  175. package/dist/cli-bundle/chunks/{register-mutation-P3G4XP6Q.js → register-mutation-QFLRBCI7.js} +29 -29
  176. package/dist/cli-bundle/chunks/{register-operations-V6PIYEDU.js → register-operations-HDE4FVW4.js} +26 -26
  177. package/dist/cli-bundle/chunks/{register-operations-V6VKTG54.js → register-operations-QDU43FCG.js} +26 -26
  178. package/dist/cli-bundle/chunks/{register-setup-6YVUSQYD.js → register-setup-EGMTAXDC.js} +21 -19
  179. package/dist/cli-bundle/chunks/register-setup-EGMTAXDC.js.map +1 -0
  180. package/dist/cli-bundle/chunks/{register-setup-6RVAWT6W.js → register-setup-PNIO3L2P.js} +20 -18
  181. package/dist/cli-bundle/chunks/register-setup-PNIO3L2P.js.map +7 -0
  182. package/dist/cli-bundle/chunks/{restore-HC3YSWF7.js → restore-BTBEZ5CK.js} +7 -7
  183. package/dist/cli-bundle/chunks/restore-EX4UUZL6.js +15 -0
  184. package/dist/cli-bundle/chunks/{schema-DAGSYO6E.js → schema-DGSTYYQB.js} +6 -6
  185. package/dist/cli-bundle/chunks/{schema-UBXJCQAC.js → schema-HAIBEE24.js} +6 -6
  186. package/dist/cli-bundle/chunks/{update-LKD64AFP.js → update-MP4XLU56.js} +12 -12
  187. package/dist/cli-bundle/chunks/update-SDIRJGSY.js +21 -0
  188. package/dist/cli-bundle/chunks/update-many-34AIU6W7.js +31 -0
  189. package/dist/cli-bundle/chunks/update-many-JUPCNOKV.js +35 -0
  190. package/dist/cli-bundle/main.js +39 -13
  191. package/dist/cli-bundle/main.js.map +2 -2
  192. package/dist/cli-bundle/sdk-runtime.js +85 -53
  193. package/dist/cli-bundle/sdk-testing.js +6 -6
  194. package/dist/cli-bundle/sdk.js +87 -55
  195. package/dist/cli-bundle/sdk.js.map +2 -2
  196. package/dist/core/extensions/extension-types.d.ts +1 -0
  197. package/dist/core/extensions/extension-types.js +2 -2
  198. package/dist/core/extensions/extension-types.js.map +1 -1
  199. package/dist/core/extensions/loader.js +268 -231
  200. package/dist/core/extensions/loader.js.map +1 -1
  201. package/dist/sdk/cli-contracts/commander-types.js +3 -3
  202. package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
  203. package/dist/sdk/cli-contracts/flag-contracts.js +7 -3
  204. package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
  205. package/dist/sdk/cli-contracts/tool-parameter-tables.js +10 -2
  206. package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
  207. package/dist/sdk/cli-contracts/tool-schema.js +7 -3
  208. package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
  209. package/dist/sdk/index.d.ts +1 -1
  210. package/dist/sdk/index.js +3 -3
  211. package/dist/sdk/index.js.map +1 -1
  212. package/dist/sdk/runtime.d.ts +132 -1
  213. package/dist/sdk/runtime.js +200 -2
  214. package/dist/sdk/runtime.js.map +1 -1
  215. package/docs/EXTENSIONS.md +7 -20
  216. package/docs/RELEASING.md +6 -0
  217. package/docs/SDK.md +30 -0
  218. package/package.json +2 -1
  219. package/dist/cli-bundle/chunks/append-F7WPGIQL.js +0 -11
  220. package/dist/cli-bundle/chunks/chunk-2APXX4TZ.js.map +0 -1
  221. package/dist/cli-bundle/chunks/chunk-7ML7JONU.js.map +0 -1
  222. package/dist/cli-bundle/chunks/chunk-FILL6BB2.js.map +0 -7
  223. package/dist/cli-bundle/chunks/chunk-LCFJ7XAM.js.map +0 -7
  224. package/dist/cli-bundle/chunks/chunk-MHNMCDWR.js.map +0 -1
  225. package/dist/cli-bundle/chunks/chunk-S547WBYG.js.map +0 -7
  226. package/dist/cli-bundle/chunks/chunk-UO7XAZK6.js.map +0 -1
  227. package/dist/cli-bundle/chunks/chunk-X47MKQXU.js.map +0 -7
  228. package/dist/cli-bundle/chunks/chunk-Y5IKRUEM.js.map +0 -1
  229. package/dist/cli-bundle/chunks/chunk-YCVWWIKY.js.map +0 -7
  230. package/dist/cli-bundle/chunks/close-Z3Q4U7TS.js +0 -12
  231. package/dist/cli-bundle/chunks/close-many-3L2RXH3M.js +0 -22
  232. package/dist/cli-bundle/chunks/comments-HGHC2PN6.js +0 -13
  233. package/dist/cli-bundle/chunks/copy-UGMUGHZA.js +0 -9
  234. package/dist/cli-bundle/chunks/create-AZXCUYKP.js +0 -25
  235. package/dist/cli-bundle/chunks/delete-Y6SXIQ4X.js +0 -10
  236. package/dist/cli-bundle/chunks/docs-VNPBZXEL.js +0 -14
  237. package/dist/cli-bundle/chunks/focus-SUTMKXGX.js +0 -10
  238. package/dist/cli-bundle/chunks/history-compact-NEXRPP2O.js +0 -21
  239. package/dist/cli-bundle/chunks/history-redact-WQJBZ3PX.js +0 -17
  240. package/dist/cli-bundle/chunks/history-repair-CBHMHAJO.js +0 -19
  241. package/dist/cli-bundle/chunks/learnings-M64NTSOR.js +0 -13
  242. package/dist/cli-bundle/chunks/notes-73WE2UV2.js +0 -13
  243. package/dist/cli-bundle/chunks/plan-OSCNYFGC.js +0 -24
  244. package/dist/cli-bundle/chunks/register-setup-6RVAWT6W.js.map +0 -7
  245. package/dist/cli-bundle/chunks/register-setup-6YVUSQYD.js.map +0 -1
  246. package/dist/cli-bundle/chunks/restore-LFAMMRYZ.js +0 -15
  247. package/dist/cli-bundle/chunks/update-CJGG5WMV.js +0 -21
  248. package/dist/cli-bundle/chunks/update-many-G4SM7BHC.js +0 -31
  249. package/dist/cli-bundle/chunks/update-many-VLIV3D7R.js +0 -35
  250. /package/dist/cli-bundle/chunks/{append-F7WPGIQL.js.map → append-CDPAYYSB.js.map} +0 -0
  251. /package/dist/cli-bundle/chunks/{append-PVCTBVJG.js.map → append-RSPHC423.js.map} +0 -0
  252. /package/dist/cli-bundle/chunks/{chunk-H2SMKL2N.js.map → chunk-3FUXM574.js.map} +0 -0
  253. /package/dist/cli-bundle/chunks/{chunk-DR2V5OIV.js.map → chunk-3SHDAKMF.js.map} +0 -0
  254. /package/dist/cli-bundle/chunks/{chunk-MRFWUSVA.js.map → chunk-3UXIMY62.js.map} +0 -0
  255. /package/dist/cli-bundle/chunks/{chunk-WCWVEXGA.js.map → chunk-3V5C7PUH.js.map} +0 -0
  256. /package/dist/cli-bundle/chunks/{chunk-43YSKY75.js.map → chunk-3YJDIJIE.js.map} +0 -0
  257. /package/dist/cli-bundle/chunks/{chunk-HX6QXV5P.js.map → chunk-4I7KS5ES.js.map} +0 -0
  258. /package/dist/cli-bundle/chunks/{chunk-XHCVAZGM.js.map → chunk-4OCWJ2AP.js.map} +0 -0
  259. /package/dist/cli-bundle/chunks/{chunk-3TYOW6RR.js.map → chunk-5STY7NVM.js.map} +0 -0
  260. /package/dist/cli-bundle/chunks/{chunk-7VQ3JJN5.js.map → chunk-5VAZHYVQ.js.map} +0 -0
  261. /package/dist/cli-bundle/chunks/{chunk-MCEUKJKW.js.map → chunk-6FU5BVRB.js.map} +0 -0
  262. /package/dist/cli-bundle/chunks/{chunk-AJUON7E6.js.map → chunk-6RR4XM5H.js.map} +0 -0
  263. /package/dist/cli-bundle/chunks/{chunk-TEISGNSH.js.map → chunk-6TD5QGIB.js.map} +0 -0
  264. /package/dist/cli-bundle/chunks/{chunk-565WYS5W.js.map → chunk-6WCXSC5V.js.map} +0 -0
  265. /package/dist/cli-bundle/chunks/{chunk-NWWL22C7.js.map → chunk-6ZKDMEVT.js.map} +0 -0
  266. /package/dist/cli-bundle/chunks/{chunk-VLEA2UTQ.js.map → chunk-7QKSLAHB.js.map} +0 -0
  267. /package/dist/cli-bundle/chunks/{chunk-S6VC2A2K.js.map → chunk-7TBUV7XS.js.map} +0 -0
  268. /package/dist/cli-bundle/chunks/{chunk-YPMZMKN7.js.map → chunk-7UCBLJDF.js.map} +0 -0
  269. /package/dist/cli-bundle/chunks/{chunk-4MZOKTI2.js.map → chunk-AEOFBBWO.js.map} +0 -0
  270. /package/dist/cli-bundle/chunks/{chunk-TZLYO4PP.js.map → chunk-ASMRSIDX.js.map} +0 -0
  271. /package/dist/cli-bundle/chunks/{chunk-ZO7CLOY2.js.map → chunk-BFNFTHWQ.js.map} +0 -0
  272. /package/dist/cli-bundle/chunks/{chunk-YNCFP5AR.js.map → chunk-BPJ5NYSJ.js.map} +0 -0
  273. /package/dist/cli-bundle/chunks/{chunk-P3MJJW7P.js.map → chunk-C3YU3TXX.js.map} +0 -0
  274. /package/dist/cli-bundle/chunks/{chunk-SY75LYXR.js.map → chunk-C6XSTACC.js.map} +0 -0
  275. /package/dist/cli-bundle/chunks/{chunk-2TILG6F2.js.map → chunk-CGDUIPJL.js.map} +0 -0
  276. /package/dist/cli-bundle/chunks/{chunk-J7BOLHAV.js.map → chunk-CXH7EMSB.js.map} +0 -0
  277. /package/dist/cli-bundle/chunks/{chunk-6G6O3OPQ.js.map → chunk-D63PEJTB.js.map} +0 -0
  278. /package/dist/cli-bundle/chunks/{chunk-W5HXHC7C.js.map → chunk-D6J5673C.js.map} +0 -0
  279. /package/dist/cli-bundle/chunks/{chunk-LZQU6XJG.js.map → chunk-DUBC6TI3.js.map} +0 -0
  280. /package/dist/cli-bundle/chunks/{chunk-YPD7SQ5P.js.map → chunk-EEJKHF7M.js.map} +0 -0
  281. /package/dist/cli-bundle/chunks/{chunk-EDO7VXSO.js.map → chunk-EP2CKDS7.js.map} +0 -0
  282. /package/dist/cli-bundle/chunks/{chunk-S5BNGFN5.js.map → chunk-EYPIUFWJ.js.map} +0 -0
  283. /package/dist/cli-bundle/chunks/{chunk-SIM5JDON.js.map → chunk-F5DDGY6R.js.map} +0 -0
  284. /package/dist/cli-bundle/chunks/{chunk-I74FMIWA.js.map → chunk-FFB3WITE.js.map} +0 -0
  285. /package/dist/cli-bundle/chunks/{chunk-43UQN754.js.map → chunk-FJR2S7S4.js.map} +0 -0
  286. /package/dist/cli-bundle/chunks/{chunk-CJQM7O7R.js.map → chunk-FOJEBRDD.js.map} +0 -0
  287. /package/dist/cli-bundle/chunks/{chunk-XZWL7VNE.js.map → chunk-G4FKP4ID.js.map} +0 -0
  288. /package/dist/cli-bundle/chunks/{chunk-E3YQFSFE.js.map → chunk-GLMJLBLR.js.map} +0 -0
  289. /package/dist/cli-bundle/chunks/{chunk-KTGJ2CBU.js.map → chunk-GO2X6ZRB.js.map} +0 -0
  290. /package/dist/cli-bundle/chunks/{chunk-YH5NBDFA.js.map → chunk-GQOKFX2G.js.map} +0 -0
  291. /package/dist/cli-bundle/chunks/{chunk-DDDWVPID.js.map → chunk-GSQVQINP.js.map} +0 -0
  292. /package/dist/cli-bundle/chunks/{chunk-VGO73OCK.js.map → chunk-HZZ3AC27.js.map} +0 -0
  293. /package/dist/cli-bundle/chunks/{chunk-7Y5N34HX.js.map → chunk-IINCZYM3.js.map} +0 -0
  294. /package/dist/cli-bundle/chunks/{chunk-GLS6VMWI.js.map → chunk-INOWVPUD.js.map} +0 -0
  295. /package/dist/cli-bundle/chunks/{chunk-4IQKDKGE.js.map → chunk-IYRG5AEC.js.map} +0 -0
  296. /package/dist/cli-bundle/chunks/{chunk-PDXJXEZJ.js.map → chunk-J6AD3GWC.js.map} +0 -0
  297. /package/dist/cli-bundle/chunks/{chunk-52NS7JDP.js.map → chunk-JH5XDDYS.js.map} +0 -0
  298. /package/dist/cli-bundle/chunks/{chunk-GPIDUMMN.js.map → chunk-JYVPLGOW.js.map} +0 -0
  299. /package/dist/cli-bundle/chunks/{chunk-EIUBK2LT.js.map → chunk-K52C6YPA.js.map} +0 -0
  300. /package/dist/cli-bundle/chunks/{chunk-2LEJGRQ7.js.map → chunk-KFL3XHMA.js.map} +0 -0
  301. /package/dist/cli-bundle/chunks/{chunk-J2VGADNG.js.map → chunk-KMXVZ2P7.js.map} +0 -0
  302. /package/dist/cli-bundle/chunks/{chunk-XS2TMNXR.js.map → chunk-LD2NBQ5T.js.map} +0 -0
  303. /package/dist/cli-bundle/chunks/{chunk-II7R6KD4.js.map → chunk-LG4N6YOK.js.map} +0 -0
  304. /package/dist/cli-bundle/chunks/{chunk-M62RO3XK.js.map → chunk-LHDHS4Z6.js.map} +0 -0
  305. /package/dist/cli-bundle/chunks/{chunk-F6MT7KKE.js.map → chunk-MCH6IKK7.js.map} +0 -0
  306. /package/dist/cli-bundle/chunks/{chunk-IDIBF4E2.js.map → chunk-MYHFZNBO.js.map} +0 -0
  307. /package/dist/cli-bundle/chunks/{chunk-Y7KYVCZM.js.map → chunk-NGBWEYNY.js.map} +0 -0
  308. /package/dist/cli-bundle/chunks/{chunk-RB3KLPAH.js.map → chunk-NRMDT4OV.js.map} +0 -0
  309. /package/dist/cli-bundle/chunks/{chunk-GH73UOSJ.js.map → chunk-NTOOEVJ4.js.map} +0 -0
  310. /package/dist/cli-bundle/chunks/{chunk-ZNEG2UDO.js.map → chunk-P2WE5KCU.js.map} +0 -0
  311. /package/dist/cli-bundle/chunks/{chunk-EMXPI36L.js.map → chunk-PAWPLIWW.js.map} +0 -0
  312. /package/dist/cli-bundle/chunks/{chunk-AGAVEDIE.js.map → chunk-PCBZ2VJD.js.map} +0 -0
  313. /package/dist/cli-bundle/chunks/{chunk-6XTSYPPO.js.map → chunk-PJPZTE7P.js.map} +0 -0
  314. /package/dist/cli-bundle/chunks/{chunk-3X542TEY.js.map → chunk-Q3CFSOQZ.js.map} +0 -0
  315. /package/dist/cli-bundle/chunks/{chunk-4BKDAEDF.js.map → chunk-QJZM5WO5.js.map} +0 -0
  316. /package/dist/cli-bundle/chunks/{chunk-HHEWQXPD.js.map → chunk-QLEH6FTQ.js.map} +0 -0
  317. /package/dist/cli-bundle/chunks/{chunk-D2DCTFTL.js.map → chunk-QYZMZD4L.js.map} +0 -0
  318. /package/dist/cli-bundle/chunks/{chunk-F6YC2A6X.js.map → chunk-RDJXIAJB.js.map} +0 -0
  319. /package/dist/cli-bundle/chunks/{chunk-6UQCNWFV.js.map → chunk-RFHLRMLQ.js.map} +0 -0
  320. /package/dist/cli-bundle/chunks/{chunk-Q64AYQYW.js.map → chunk-RL24NAUX.js.map} +0 -0
  321. /package/dist/cli-bundle/chunks/{chunk-C5ACVMOI.js.map → chunk-RLHQ3G4M.js.map} +0 -0
  322. /package/dist/cli-bundle/chunks/{chunk-5FIQ4EX3.js.map → chunk-SCJPFQQT.js.map} +0 -0
  323. /package/dist/cli-bundle/chunks/{chunk-42LXP4VO.js.map → chunk-SIQGG335.js.map} +0 -0
  324. /package/dist/cli-bundle/chunks/{chunk-TNC6MZUD.js.map → chunk-SN5X5GTU.js.map} +0 -0
  325. /package/dist/cli-bundle/chunks/{chunk-43SIHQND.js.map → chunk-TKWTJGD6.js.map} +0 -0
  326. /package/dist/cli-bundle/chunks/{chunk-YTD5GICJ.js.map → chunk-TU5P744I.js.map} +0 -0
  327. /package/dist/cli-bundle/chunks/{chunk-QFBSP3NI.js.map → chunk-TUDAYIO7.js.map} +0 -0
  328. /package/dist/cli-bundle/chunks/{chunk-EOUVR7JN.js.map → chunk-U72GF3I2.js.map} +0 -0
  329. /package/dist/cli-bundle/chunks/{chunk-7PNQA24K.js.map → chunk-UCRYCT5M.js.map} +0 -0
  330. /package/dist/cli-bundle/chunks/{chunk-FN6SB4HU.js.map → chunk-UEATYUZW.js.map} +0 -0
  331. /package/dist/cli-bundle/chunks/{chunk-V5ZWKJNY.js.map → chunk-UFNFHCAC.js.map} +0 -0
  332. /package/dist/cli-bundle/chunks/{chunk-XBX5CBRQ.js.map → chunk-UH6VFRV6.js.map} +0 -0
  333. /package/dist/cli-bundle/chunks/{chunk-GTM5HQL4.js.map → chunk-UIHDZS6X.js.map} +0 -0
  334. /package/dist/cli-bundle/chunks/{chunk-TGUK6XN6.js.map → chunk-UURYLDDC.js.map} +0 -0
  335. /package/dist/cli-bundle/chunks/{chunk-6LCJRGPD.js.map → chunk-UVFJSKTF.js.map} +0 -0
  336. /package/dist/cli-bundle/chunks/{chunk-3G6UMXT3.js.map → chunk-W2VFNVSJ.js.map} +0 -0
  337. /package/dist/cli-bundle/chunks/{chunk-DG6BSXZ7.js.map → chunk-WVEMZZCR.js.map} +0 -0
  338. /package/dist/cli-bundle/chunks/{chunk-RY7PTTUB.js.map → chunk-XN5BEN2B.js.map} +0 -0
  339. /package/dist/cli-bundle/chunks/{chunk-XC3X7BQR.js.map → chunk-XPSGJ4IV.js.map} +0 -0
  340. /package/dist/cli-bundle/chunks/{chunk-ARKHKYYS.js.map → chunk-YQEKE4FO.js.map} +0 -0
  341. /package/dist/cli-bundle/chunks/{chunk-QDABF2RB.js.map → chunk-YR5R4FMQ.js.map} +0 -0
  342. /package/dist/cli-bundle/chunks/{chunk-XPMXPR7K.js.map → chunk-YSRXFGNV.js.map} +0 -0
  343. /package/dist/cli-bundle/chunks/{chunk-XXIYUTLK.js.map → chunk-YUCKM3MD.js.map} +0 -0
  344. /package/dist/cli-bundle/chunks/{chunk-N6ZHDLUY.js.map → chunk-YUMNZS3X.js.map} +0 -0
  345. /package/dist/cli-bundle/chunks/{chunk-TEKZOS7M.js.map → chunk-Z2JQH2MG.js.map} +0 -0
  346. /package/dist/cli-bundle/chunks/{chunk-E3LWJUGF.js.map → chunk-Z6RLSNUX.js.map} +0 -0
  347. /package/dist/cli-bundle/chunks/{chunk-EVEPHNXJ.js.map → chunk-ZMOPZFVT.js.map} +0 -0
  348. /package/dist/cli-bundle/chunks/{close-Z3Q4U7TS.js.map → close-E3RLZSP2.js.map} +0 -0
  349. /package/dist/cli-bundle/chunks/{close-3YYQ5OG2.js.map → close-K6BFI3OX.js.map} +0 -0
  350. /package/dist/cli-bundle/chunks/{close-many-D366FTIG.js.map → close-many-6NBL3PM4.js.map} +0 -0
  351. /package/dist/cli-bundle/chunks/{close-many-3L2RXH3M.js.map → close-many-X4YKS3RO.js.map} +0 -0
  352. /package/dist/cli-bundle/chunks/{comments-54XDJNFE.js.map → comments-PLFK5ZKK.js.map} +0 -0
  353. /package/dist/cli-bundle/chunks/{comments-HGHC2PN6.js.map → comments-ZNOD5PTV.js.map} +0 -0
  354. /package/dist/cli-bundle/chunks/{copy-UGMUGHZA.js.map → copy-F7BUFY4J.js.map} +0 -0
  355. /package/dist/cli-bundle/chunks/{copy-44RT5GDW.js.map → copy-VH3L4MN2.js.map} +0 -0
  356. /package/dist/cli-bundle/chunks/{create-AZXCUYKP.js.map → create-AMBMYP6F.js.map} +0 -0
  357. /package/dist/cli-bundle/chunks/{create-4GWJWPXG.js.map → create-TRIBYORN.js.map} +0 -0
  358. /package/dist/cli-bundle/chunks/{delete-Y6SXIQ4X.js.map → delete-6KQHZYIP.js.map} +0 -0
  359. /package/dist/cli-bundle/chunks/{delete-YQ2VPXNF.js.map → delete-ZNXUNCZR.js.map} +0 -0
  360. /package/dist/cli-bundle/chunks/{deps-FMANWFRP.js.map → deps-CVDY7FFK.js.map} +0 -0
  361. /package/dist/cli-bundle/chunks/{deps-BU5EBJDU.js.map → deps-SZXQHV73.js.map} +0 -0
  362. /package/dist/cli-bundle/chunks/{docs-OQBSJNIA.js.map → docs-DR74ITCD.js.map} +0 -0
  363. /package/dist/cli-bundle/chunks/{docs-VNPBZXEL.js.map → docs-WCVYY6I7.js.map} +0 -0
  364. /package/dist/cli-bundle/chunks/{files-72HZEBOE.js.map → files-H5YCA74Z.js.map} +0 -0
  365. /package/dist/cli-bundle/chunks/{files-HTSB2KJG.js.map → files-QEFQ2M3H.js.map} +0 -0
  366. /package/dist/cli-bundle/chunks/{focus-FOG4ALC2.js.map → focus-55TRYSNA.js.map} +0 -0
  367. /package/dist/cli-bundle/chunks/{focus-SUTMKXGX.js.map → focus-N2QGNS5D.js.map} +0 -0
  368. /package/dist/cli-bundle/chunks/{history-compact-NEXRPP2O.js.map → history-compact-GWQ4UOEI.js.map} +0 -0
  369. /package/dist/cli-bundle/chunks/{history-compact-M6IFAMBP.js.map → history-compact-JJZ4EFL3.js.map} +0 -0
  370. /package/dist/cli-bundle/chunks/{history-redact-WQJBZ3PX.js.map → history-redact-4GJOLXCM.js.map} +0 -0
  371. /package/dist/cli-bundle/chunks/{history-redact-NQX3OGZP.js.map → history-redact-TPPUT3A5.js.map} +0 -0
  372. /package/dist/cli-bundle/chunks/{history-repair-CBHMHAJO.js.map → history-repair-HVCVCGUF.js.map} +0 -0
  373. /package/dist/cli-bundle/chunks/{history-repair-NHOJG7WO.js.map → history-repair-J7PIZ6ZP.js.map} +0 -0
  374. /package/dist/cli-bundle/chunks/{learnings-T63JGKKN.js.map → learnings-KB6BT4NR.js.map} +0 -0
  375. /package/dist/cli-bundle/chunks/{learnings-M64NTSOR.js.map → learnings-YYY3U2Y7.js.map} +0 -0
  376. /package/dist/cli-bundle/chunks/{notes-73WE2UV2.js.map → notes-BGG7VL72.js.map} +0 -0
  377. /package/dist/cli-bundle/chunks/{notes-U7L6HQQ2.js.map → notes-ZTHXVOKM.js.map} +0 -0
  378. /package/dist/cli-bundle/chunks/{plan-TN537L24.js.map → plan-CJPKFRBK.js.map} +0 -0
  379. /package/dist/cli-bundle/chunks/{plan-OSCNYFGC.js.map → plan-MK2QY3GA.js.map} +0 -0
  380. /package/dist/cli-bundle/chunks/{profile-MHAMXMHQ.js.map → profile-AQNHXOYA.js.map} +0 -0
  381. /package/dist/cli-bundle/chunks/{profile-TIGLAKJ7.js.map → profile-HTBFINKQ.js.map} +0 -0
  382. /package/dist/cli-bundle/chunks/{register-mutation-XX4H56PE.js.map → register-mutation-L5Q7AUDN.js.map} +0 -0
  383. /package/dist/cli-bundle/chunks/{register-mutation-P3G4XP6Q.js.map → register-mutation-QFLRBCI7.js.map} +0 -0
  384. /package/dist/cli-bundle/chunks/{register-operations-V6PIYEDU.js.map → register-operations-HDE4FVW4.js.map} +0 -0
  385. /package/dist/cli-bundle/chunks/{register-operations-V6VKTG54.js.map → register-operations-QDU43FCG.js.map} +0 -0
  386. /package/dist/cli-bundle/chunks/{restore-HC3YSWF7.js.map → restore-BTBEZ5CK.js.map} +0 -0
  387. /package/dist/cli-bundle/chunks/{restore-LFAMMRYZ.js.map → restore-EX4UUZL6.js.map} +0 -0
  388. /package/dist/cli-bundle/chunks/{schema-DAGSYO6E.js.map → schema-DGSTYYQB.js.map} +0 -0
  389. /package/dist/cli-bundle/chunks/{schema-UBXJCQAC.js.map → schema-HAIBEE24.js.map} +0 -0
  390. /package/dist/cli-bundle/chunks/{update-LKD64AFP.js.map → update-MP4XLU56.js.map} +0 -0
  391. /package/dist/cli-bundle/chunks/{update-CJGG5WMV.js.map → update-SDIRJGSY.js.map} +0 -0
  392. /package/dist/cli-bundle/chunks/{update-many-G4SM7BHC.js.map → update-many-34AIU6W7.js.map} +0 -0
  393. /package/dist/cli-bundle/chunks/{update-many-VLIV3D7R.js.map → update-many-JUPCNOKV.js.map} +0 -0
@@ -10,19 +10,19 @@ import {
10
10
  runGet,
11
11
  runNext,
12
12
  runSearch
13
- } from "./chunk-FILL6BB2.js";
13
+ } from "./chunk-TTCJCKUJ.js";
14
14
  import "./chunk-VPLDQMW2.js";
15
15
  import {
16
16
  runList
17
- } from "./chunk-C5ACVMOI.js";
17
+ } from "./chunk-RLHQ3G4M.js";
18
18
  import "./chunk-R23CSHGI.js";
19
- import "./chunk-7VQ3JJN5.js";
20
- import "./chunk-FN6SB4HU.js";
19
+ import "./chunk-5VAZHYVQ.js";
20
+ import "./chunk-UEATYUZW.js";
21
21
  import {
22
22
  runHistory
23
- } from "./chunk-M62RO3XK.js";
24
- import "./chunk-E3YQFSFE.js";
25
- import "./chunk-ZO7CLOY2.js";
23
+ } from "./chunk-LHDHS4Z6.js";
24
+ import "./chunk-GLMJLBLR.js";
25
+ import "./chunk-BFNFTHWQ.js";
26
26
  import "./chunk-B5KXLBSJ.js";
27
27
  import {
28
28
  addHiddenOption,
@@ -37,20 +37,20 @@ import {
37
37
  printActivityJsonStream,
38
38
  printListJsonStream,
39
39
  resolveActivityStreamMode
40
- } from "./chunk-6XTSYPPO.js";
41
- import "./chunk-YCVWWIKY.js";
40
+ } from "./chunk-PJPZTE7P.js";
41
+ import "./chunk-TR2C6V5T.js";
42
42
  import "./chunk-5HIZDR5A.js";
43
43
  import {
44
44
  printError,
45
45
  printResult,
46
46
  writeStdout
47
- } from "./chunk-SY75LYXR.js";
47
+ } from "./chunk-C6XSTACC.js";
48
48
  import {
49
49
  PmCliError
50
- } from "./chunk-YNCFP5AR.js";
50
+ } from "./chunk-BPJ5NYSJ.js";
51
51
  import {
52
52
  EXIT_CODE
53
- } from "./chunk-LCFJ7XAM.js";
53
+ } from "./chunk-2BVD4ZD2.js";
54
54
 
55
55
  // dist/core/output/tabular.js
56
56
  !(function() {
@@ -122,7 +122,7 @@ function renderRowsAsTable(rows) {
122
122
  !(function() {
123
123
  try {
124
124
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
125
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2f277136-e965-53b8-93d1-8de9eb661695");
125
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40ec2b97-46a3-578f-90cd-722a7ff2c791");
126
126
  } catch (e2) {
127
127
  }
128
128
  })();
@@ -387,6 +387,7 @@ function registerListQueryCommands(program, options) {
387
387
  if (shouldRegister("context")) {
388
388
  const contextCommand = program.command("context").alias("ctx").description("Show a token-efficient project context snapshot for next-work decisions.").option("--date <value>", "Anchor date/time for agenda window calculations (ISO/date string or relative)").option("--from <value>", "Agenda lower bound (ISO/date string or relative)").option("--to <value>", "Agenda upper bound (ISO/date string or relative)").option("--past", "Include past agenda entries in bounded windows").option("--type <value>", "Filter by item type").option("--tag <value>", "Filter by tag").option("--priority <value>", "Filter by priority").option("--assignee <value>", "Filter by assignee").option("--assignee-filter <value>", "Filter assignee presence: assigned|unassigned").option("--sprint <value>", "Filter by sprint").option("--release <value>", "Filter by release").option("--parent <id>", "Scope the snapshot to one item's subtree (the item plus all descendants)").option("--limit <n>", "Limit focus and agenda rows per section").option("--format <value>", "Context output format override: markdown|toon|json").option("--depth <value>", "Context depth: brief|standard|deep|full (full = every section, no per-section cap)").option("--section <value...>", "Include specific sections (repeatable; overrides --depth)").option("--fields <value>", "Project focus rows to a comma-separated field subset (e.g. id,title,priority)").option("--activity-limit <n>", "Limit recent activity entries (default: settings or 10)").option("--stale-threshold <value>", "Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7)");
389
389
  addHiddenOption(contextCommand, "--assignee_filter <value>", "Alias for --assignee-filter");
390
+ addHiddenOption(contextCommand, "--max-items <n>", "Alias for --limit");
390
391
  contextCommand.action(runContextAction);
391
392
  }
392
393
  if (shouldRegister("next")) {
@@ -424,4 +425,4 @@ export {
424
425
  _testOnlyRegisterListQuery,
425
426
  registerListQueryCommands
426
427
  };
427
- //# sourceMappingURL=register-list-query-OHXD7G5N.js.map
428
+ //# sourceMappingURL=register-list-query-S4FBWIWN.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../core/output/tabular.ts", "../../../../../../../../cli/register-list-query.ts"],
4
- "sourcesContent": ["/**\n * @module core/output/tabular\n *\n * Renders projected item rows as CSV or fixed-width text tables for human\n * export. These are presentation-only modes (GH-154): agents continue to read\n * the structured `--json`/TOON output, while humans piping `pm list` into a\n * spreadsheet or terminal get a directly consumable shape.\n */\n\n/** A projected row: a flat map of column name to scalar/collection cell value. */\nexport type TabularRow = Record<string, unknown>;\n\n/**\n * Collects the ordered union of column names across every row, preserving the\n * order in which each key is first encountered so the rendered columns mirror\n * the projection field order rather than an arbitrary object-key order.\n */\nfunction resolveColumns(rows: TabularRow[]): string[] {\n const columns: string[] = [];\n const seen = new Set<string>();\n for (const row of rows) {\n for (const key of Object.keys(row)) {\n if (!seen.has(key)) {\n seen.add(key);\n columns.push(key);\n }\n }\n }\n return columns;\n}\n\n/**\n * Converts a single cell value to its flat string form. Arrays join with `;`\n * (spreadsheet-friendly and unambiguous against the CSV `,` delimiter), objects\n * serialize to compact JSON, and null/undefined render as an empty cell.\n */\nfunction renderCell(value: unknown): string {\n if (value === null || value === undefined) {\n return \"\";\n }\n if (Array.isArray(value)) {\n return value.map((entry) => renderCell(entry)).join(\";\");\n }\n if (typeof value === \"object\") {\n return JSON.stringify(value);\n }\n return String(value);\n}\n\n/**\n * Escapes a CSV field per RFC 4180: values containing the delimiter, a quote,\n * or a line break are wrapped in double quotes with embedded quotes doubled.\n */\nfunction escapeCsvField(value: string): string {\n if (/[\",\\r\\n]/.test(value)) {\n return `\"${value.replace(/\"/g, '\"\"')}\"`;\n }\n return value;\n}\n\n/**\n * Renders rows as RFC 4180 CSV with a header row of column names. Returns an\n * empty string when there are no rows so callers emit nothing rather than a\n * stray blank line.\n */\nexport function renderRowsAsCsv(rows: TabularRow[]): string {\n if (rows.length === 0) {\n return \"\";\n }\n const columns = resolveColumns(rows);\n const lines = [columns.map((column) => escapeCsvField(column)).join(\",\")];\n for (const row of rows) {\n lines.push(columns.map((column) => escapeCsvField(renderCell(row[column]))).join(\",\"));\n }\n return lines.join(\"\\n\");\n}\n\n/**\n * Renders rows as a fixed-width text table: a header row, a dashed separator,\n * and one padded row per item. Columns are widened to fit their widest cell so\n * the output stays aligned in a monospace terminal. Returns an empty string\n * when there are no rows.\n */\nexport function renderRowsAsTable(rows: TabularRow[]): string {\n if (rows.length === 0) {\n return \"\";\n }\n const columns = resolveColumns(rows);\n const cells = rows.map((row) => columns.map((column) => renderCell(row[column])));\n const widths = columns.map((column, index) =>\n Math.max(column.length, ...cells.map((rowCells) => rowCells[index].length)),\n );\n const pad = (value: string, index: number): string => value.padEnd(widths[index]);\n const lines = [columns.map((column, index) => pad(column, index)).join(\" | \")];\n lines.push(widths.map((width) => \"-\".repeat(width)).join(\"-+-\"));\n for (const rowCells of cells) {\n lines.push(rowCells.map((value, index) => pad(value, index)).join(\" | \"));\n }\n return lines.join(\"\\n\");\n}\n", "/**\n * @module cli/register-list-query\n *\n * Provides CLI runtime support for Register List Query.\n */\nimport type { Command } from \"commander\";\nimport { EXIT_CODE } from \"../core/shared/constants.js\";\nimport { PmCliError } from \"../core/shared/errors.js\";\nimport { renderRowsAsCsv, renderRowsAsTable } from \"../core/output/tabular.js\";\nimport { runActivity } from \"./commands/activity.js\";\nimport { runAggregate } from \"./commands/aggregate.js\";\nimport {\n renderContextMarkdown,\n runContext,\n resolveContextOutputFormat,\n} from \"./commands/context.js\";\nimport { runEval } from \"./commands/eval.js\";\nimport { runGet } from \"./commands/get.js\";\nimport { runHistory } from \"./commands/history.js\";\nimport { runList } from \"./commands/list.js\";\nimport {\n renderNextMarkdown,\n runNext,\n resolveNextOutputFormat,\n} from \"./commands/next.js\";\nimport { runSearch } from \"./commands/search.js\";\nimport type { ItemStatus } from \"../types/index.js\";\nimport {\n addHiddenOption,\n getGlobalOptions,\n normalizeAggregateOptions,\n normalizeActivityOptions,\n normalizeContextOptions,\n normalizeListOptions,\n normalizeNextOptions,\n normalizeSearchKeywordsInput,\n normalizeSearchOptions,\n printActivityJsonStream,\n printError,\n printListJsonStream,\n printResult,\n resolveActivityStreamMode,\n writeStdout,\n} from \"./registration-helpers.js\";\n\n\n\n/**\n * Documents the register list query commands options payload exchanged by command, SDK, and package integrations.\n */\nexport interface RegisterListQueryCommandsOptions {\n commandFilter?: Set<string>;\n}\n\nfunction shouldRegisterListQueryCommand(commandName: string, commandFilter?: Set<string>): boolean {\n if (!commandFilter || commandFilter.size === 0) {\n return true;\n }\n if (commandName === \"context\") {\n return commandFilter.has(\"context\") || commandFilter.has(\"ctx\");\n }\n return commandFilter.has(commandName);\n}\n\ntype ReadCommandOutputFormat = \"json\" | \"toon\";\n\ntype ListOutputFormat = \"csv\" | \"table\" | \"json\" | \"toon\";\n\n/**\n * Parses the `pm list --format` value into a supported render mode. csv/table\n * are human export modes; json/toon override the machine output format. Returns\n * undefined when no `--format` was supplied so the global output format applies.\n */\nfunction parseListFormat(rawFormat: unknown): ListOutputFormat | undefined {\n if (rawFormat === undefined) {\n return undefined;\n }\n if (typeof rawFormat !== \"string\") {\n throw new PmCliError(\"List --format must be one of csv|table|json|toon\", EXIT_CODE.USAGE);\n }\n const normalized = rawFormat.trim().toLowerCase();\n if (normalized === \"csv\" || normalized === \"table\" || normalized === \"json\" || normalized === \"toon\") {\n return normalized;\n }\n throw new PmCliError(\"List --format must be one of csv|table|json|toon\", EXIT_CODE.USAGE);\n}\n\nfunction resolveReadCommandOutputFormat(\n commandLabel: string,\n rawFormat: unknown,\n globalOptions: ReturnType<typeof getGlobalOptions>,\n): ReturnType<typeof getGlobalOptions> {\n if (rawFormat === undefined) {\n return globalOptions;\n }\n if (typeof rawFormat !== \"string\") {\n throw new PmCliError(`${commandLabel} --format must be one of json|toon`, EXIT_CODE.USAGE);\n }\n const normalized = rawFormat.trim().toLowerCase() as ReadCommandOutputFormat;\n if (normalized !== \"json\" && normalized !== \"toon\") {\n throw new PmCliError(`${commandLabel} --format must be one of json|toon`, EXIT_CODE.USAGE);\n }\n if (globalOptions.json === true && normalized === \"toon\") {\n throw new PmCliError(`${commandLabel} cannot combine --json with --format toon`, EXIT_CODE.USAGE);\n }\n return {\n ...globalOptions,\n json: normalized === \"json\",\n };\n}\n\nfunction applyDefaultBriefListMode(\n listOptions: ReturnType<typeof normalizeListOptions>,\n defaultBrief: boolean | undefined,\n): void {\n if (\n defaultBrief === true &&\n listOptions.includeBody !== true &&\n listOptions.compact !== true &&\n listOptions.brief !== true &&\n listOptions.full !== true &&\n listOptions.fields === undefined\n ) {\n listOptions.brief = true;\n }\n}\n\nfunction registerContentAndGovernanceFilters(command: Command): void {\n command\n .option(\"--has-notes\", \"Show only items that have notes\")\n .option(\"--has-learnings\", \"Show only items that have learnings\")\n .option(\"--has-files\", \"Show only items that have linked files\")\n .option(\"--has-docs\", \"Show only items that have linked docs\")\n .option(\"--has-tests\", \"Show only items that have linked tests\")\n .option(\"--has-comments\", \"Show only items that have comments\")\n .option(\"--has-deps\", \"Show only items that have dependencies\")\n .option(\"--has-body\", \"Show only items that have a non-empty body\")\n .option(\"--has-linked-command\", \"Show only items whose linked tests carry a runnable command\")\n .option(\"--no-notes\", \"Show only items that have no notes\")\n .option(\"--no-learnings\", \"Show only items that have no learnings\")\n .option(\"--no-files\", \"Show only items that have no linked files\")\n .option(\"--filter-files-missing\", \"Alias for --no-files\")\n .option(\"--no-docs\", \"Show only items that have no linked docs\")\n .option(\"--filter-docs-missing\", \"Alias for --no-docs\")\n .option(\"--no-tests\", \"Show only items that have no linked tests\")\n .option(\"--no-comments\", \"Show only items that have no comments\")\n .option(\"--no-deps\", \"Show only items that have no dependencies\")\n .option(\"--empty-body\", \"Show only items with an empty body\")\n .option(\"--no-linked-command\", \"Show only items whose linked tests carry no runnable command\")\n .option(\"--filter-reviewer-missing\", \"Show only items missing reviewer\")\n .option(\"--filter-risk-missing\", \"Show only items missing risk\")\n .option(\"--filter-confidence-missing\", \"Show only items missing confidence\")\n .option(\"--filter-sprint-missing\", \"Show only items missing sprint\")\n .option(\"--filter-release-missing\", \"Show only items missing release\");\n}\n\nasync function runRegisteredListCommand(params: {\n name: string;\n status?: ItemStatus;\n excludeTerminal?: boolean;\n defaultBrief?: boolean;\n options: Record<string, unknown>;\n actionCommand: Command;\n}): Promise<void> {\n const globalOptions = getGlobalOptions(params.actionCommand);\n const startedAt = Date.now();\n const listOptions = normalizeListOptions(params.options);\n applyDefaultBriefListMode(listOptions, params.defaultBrief);\n if (params.excludeTerminal) listOptions.excludeTerminal = true;\n const result = await runList(params.status, listOptions, globalOptions);\n const streamMode = params.options.stream === true;\n const listFormat = parseListFormat(params.options.format);\n const tabular = listFormat === \"csv\" || listFormat === \"table\";\n const effectiveGlobal =\n listFormat === \"json\" || listFormat === \"toon\"\n ? resolveReadCommandOutputFormat(\"List\", params.options.format, globalOptions)\n : globalOptions;\n if (streamMode && !effectiveGlobal.json) {\n throw new PmCliError(\"--stream requires --json output mode.\", EXIT_CODE.USAGE);\n }\n if (tabular && streamMode) {\n throw new PmCliError(\"--format csv|table cannot be combined with --stream (line-delimited JSON).\", EXIT_CODE.USAGE);\n }\n if (tabular) {\n const rows = result.items as Array<Record<string, unknown>>;\n const rendered = listFormat === \"csv\" ? renderRowsAsCsv(rows) : renderRowsAsTable(rows);\n if (!effectiveGlobal.quiet && rendered.length > 0) {\n writeStdout(`${rendered}\\n`);\n }\n } else if (streamMode) {\n printListJsonStream(params.name, result, effectiveGlobal);\n } else {\n printResult(result, effectiveGlobal);\n }\n if (globalOptions.profile) {\n printError(`profile:command=${params.name} took_ms=${Date.now() - startedAt}`);\n }\n}\n\ninterface ListCommandDescriptor {\n name: string;\n description: string;\n status?: ItemStatus;\n excludeTerminal?: boolean;\n allowStatusFilter?: boolean;\n defaultBrief?: boolean;\n}\n\nfunction registerListCommand(program: Command, descriptor: ListCommandDescriptor): void {\n const { name, description, status, excludeTerminal, allowStatusFilter, defaultBrief } = descriptor;\n const command = program.command(name).description(description);\n if (allowStatusFilter) {\n command.option(\"--status <value>\", \"Filter by status (use all for no status restriction)\");\n }\n command\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--deadline-before <value>\", \"Filter by deadline upper bound (ISO/date string or relative)\")\n .option(\"--deadline-after <value>\", \"Filter by deadline lower bound (ISO/date string or relative)\")\n .option(\"--updated-after <value>\", 'Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. \"-2h\"/\"-7d\" for the past). \"Changed since my last window\" → --updated-after <ISO>')\n .option(\"--updated-before <value>\", \"Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-after <value>\", \"Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-before <value>\", \"Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--ids <value>\", \"Filter by explicit item IDs (comma-separated or repeatable)\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--parent <value>\", \"Filter by parent item ID\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\")\n .option(\"--filter-ac-missing\", \"Show only items missing acceptance_criteria\")\n .option(\"--filter-estimates-missing\", \"Show only items missing estimated_minutes\")\n .option(\"--filter-resolution-missing\", \"Show only terminal items missing resolution\")\n .option(\"--filter-metadata-missing\", \"Show only items missing any tracked metadata (AC, estimate, or resolution)\")\n .option(\"--limit <n>\", \"Limit returned item count\")\n .option(\"--offset <n>\", \"Skip the first n matching rows before limit is applied\")\n .option(\"--no-truncate\", \"Return every matched row, overriding any --limit (alias: --all)\")\n .option(\"--include-body\", \"Include item body in each returned list row\")\n .option(\"--compact\", \"Render compact list projection fields (mutually exclusive with --brief/--full/--fields)\")\n .option(\"--brief\", \"Ultra-compact output: id, status, type, title only (agent-optimized, mutually exclusive with --compact/--full/--fields)\")\n .option(\"--full\", \"Render full list projection fields (mutually exclusive with --compact/--brief/--fields)\")\n .option(\n \"--fields <value>\",\n \"Render custom comma-separated list fields (mutually exclusive with --compact/--brief/--full; valid: --fields id,title)\",\n )\n .option(\"--sort <value>\", \"Sort field: priority|deadline|updated_at|created_at|title|parent (aliases: updated, created)\")\n .option(\"--order <value>\", \"Sort order: asc|desc (requires --sort)\")\n .option(\"--tree\", \"Render rows in parent/child tree order\")\n .option(\"--tree-depth <n>\", \"Maximum recursion depth with --tree (0 keeps root rows only)\")\n .option(\"--format <value>\", \"Output render mode: csv|table (human export) or json|toon (machine output override)\")\n .option(\"--stream\", \"Emit line-delimited JSON rows (requires --json)\");\n registerContentAndGovernanceFilters(command);\n command.action(async (options: Record<string, unknown>, actionCommand) => {\n await runRegisteredListCommand({ name, status, excludeTerminal, defaultBrief, options, actionCommand });\n });\n // Positive alias for --no-truncate (Commander stores the negation as truncate=false).\n addHiddenOption(command, \"--all\", \"Alias for --no-truncate\");\n // Hidden pure snake_case underscore-duplicate alias (kept parse-functional).\n addHiddenOption(command, \"--tags <value>\", \"Alias for --tag\");\n addHiddenOption(command, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n addHiddenOption(command, \"--tree_depth <n>\", \"Alias for --tree-depth\");\n // Singular alias so `--filter-estimate-missing` works (matches update-many spelling).\n addHiddenOption(command, \"--filter-estimate-missing\", \"Alias for --filter-estimates-missing\");\n}\n\nasync function runAggregateAction(options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const result = await runAggregate(normalizeAggregateOptions(options), globalOptions);\n printResult(result, globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=aggregate took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runContextAction(options: Record<string, unknown>, actionCommand: Command): Promise<void> {\n const globalOptions = getGlobalOptions(actionCommand);\n const startedAt = Date.now();\n const normalized = normalizeContextOptions(options);\n const result = await runContext(normalized, globalOptions);\n const outputFormat = resolveContextOutputFormat(normalized, globalOptions);\n if (outputFormat === \"markdown\") {\n if (!globalOptions.quiet) {\n writeStdout(`${renderContextMarkdown(result)}\\n`);\n }\n } else {\n printResult(result, {\n ...globalOptions,\n json: outputFormat === \"json\",\n });\n }\n if (globalOptions.profile) {\n printError(`profile:command=context took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runNextAction(options: Record<string, unknown>, actionCommand: Command): Promise<void> {\n const globalOptions = getGlobalOptions(actionCommand);\n const startedAt = Date.now();\n const nextOptions = normalizeNextOptions(options);\n const result = await runNext(nextOptions, globalOptions);\n const outputFormat = resolveNextOutputFormat(nextOptions, globalOptions);\n if (outputFormat === \"markdown\") {\n if (!globalOptions.quiet) {\n writeStdout(`${renderNextMarkdown(result)}\\n`);\n }\n } else {\n printResult(result, { ...globalOptions, json: outputFormat === \"json\" });\n }\n if (globalOptions.profile) {\n printError(`profile:command=next took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runSearchAction(keywords: string[], options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const searchOptions = normalizeSearchOptions(options);\n const result = await runSearch(\n normalizeSearchKeywordsInput(keywords),\n {\n ...searchOptions,\n mode:\n typeof searchOptions.mode === \"string\" && searchOptions.mode.trim().length > 0\n ? searchOptions.mode\n : \"keyword\",\n },\n globalOptions,\n );\n printResult(result, resolveReadCommandOutputFormat(\"Search\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=search took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runEvalAction(options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const result = await runEval(\n {\n mode: typeof options.mode === \"string\" ? options.mode : undefined,\n k: typeof options.k === \"string\" ? options.k : undefined,\n failUnder: typeof options.failUnder === \"string\" ? options.failUnder : undefined,\n queries: typeof options.queries === \"string\" ? options.queries : undefined,\n format: typeof options.format === \"string\" ? options.format : undefined,\n },\n globalOptions,\n );\n printResult(result, resolveReadCommandOutputFormat(\"Eval\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=eval took_ms=${Date.now() - startedAt}`);\n }\n if (!result.passed) {\n throw new PmCliError(\n `Eval gate failed: aggregate nDCG@${result.k} ${result.aggregate.ndcg} is below --fail-under ${result.fail_under}`,\n EXIT_CODE.GENERIC_FAILURE,\n );\n }\n}\n\nasync function runGetAction(id: string, options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const result = await runGet(\n id,\n globalOptions,\n {\n depth: typeof options.depth === \"string\" ? options.depth : undefined,\n fields: typeof options.fields === \"string\" ? options.fields : undefined,\n full: Boolean(options.full),\n tree: options.tree === true,\n treeDepth:\n typeof options.treeDepth === \"string\"\n ? options.treeDepth\n : typeof options.tree_depth === \"string\"\n ? options.tree_depth\n : undefined,\n },\n );\n printResult(result, resolveReadCommandOutputFormat(\"Get\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=get took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runHistoryAction(id: string, options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n if (options.compact === true && options.full === true) {\n throw new PmCliError(\"History projection options are mutually exclusive. Use either --compact or --full.\", EXIT_CODE.USAGE);\n }\n const field = typeof options.field === \"string\" ? options.field : undefined;\n const result = await runHistory(\n id,\n {\n limit: typeof options.limit === \"string\" ? options.limit : undefined,\n compact: options.full === true ? false : true,\n diff: Boolean(options.diff) || field !== undefined,\n field,\n verify: Boolean(options.verify),\n },\n globalOptions,\n );\n printResult(result, resolveReadCommandOutputFormat(\"History\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=history took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runActivityAction(options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n if (options.compact === true && options.full === true) {\n throw new PmCliError(\"Activity projection options are mutually exclusive. Use either --compact or --full.\", EXIT_CODE.USAGE);\n }\n const normalized = normalizeActivityOptions(options);\n const result = await runActivity(normalized, globalOptions);\n const streamMode = resolveActivityStreamMode(options.stream);\n if (streamMode && !globalOptions.json) {\n throw new PmCliError(\"--stream requires --json output mode.\", EXIT_CODE.USAGE);\n }\n if (streamMode) {\n printActivityJsonStream(result, normalized, globalOptions);\n } else {\n printResult(result, globalOptions);\n }\n if (globalOptions.profile) {\n printError(`profile:command=activity took_ms=${Date.now() - startedAt}`);\n }\n}\n\n/**\n * Implements register list query commands for the public runtime surface of this module.\n */\nexport function registerListQueryCommands(program: Command, options?: RegisterListQueryCommandsOptions): void {\n const commandFilter = options?.commandFilter;\n const shouldRegister = (commandName: string): boolean => shouldRegisterListQueryCommand(commandName, commandFilter);\n const listCommandDescriptors: ListCommandDescriptor[] = [\n { name: \"list\", description: \"List active items with optional filters.\", excludeTerminal: true, allowStatusFilter: true, defaultBrief: true },\n { name: \"list-all\", description: \"List all items with optional filters.\", excludeTerminal: false, allowStatusFilter: true },\n { name: \"list-draft\", description: \"List draft items with optional filters.\", status: \"draft\" },\n { name: \"list-open\", description: \"List open items with optional filters.\", status: \"open\", excludeTerminal: false, allowStatusFilter: false, defaultBrief: true },\n { name: \"list-in-progress\", description: \"List in-progress items with optional filters.\", status: \"in_progress\", excludeTerminal: false, allowStatusFilter: false, defaultBrief: true },\n { name: \"list-blocked\", description: \"List blocked items with optional filters.\", status: \"blocked\", excludeTerminal: false, allowStatusFilter: false, defaultBrief: true },\n { name: \"list-closed\", description: \"List closed items with optional filters.\", status: \"closed\" },\n { name: \"list-canceled\", description: \"List canceled items with optional filters.\", status: \"canceled\" },\n ];\n for (const descriptor of listCommandDescriptors) {\n if (shouldRegister(descriptor.name)) {\n registerListCommand(program, descriptor);\n }\n }\n\n if (shouldRegister(\"aggregate\")) {\n const aggregateCommand = program\n .command(\"aggregate\")\n .description(\"Aggregate grouped item counts for governance queries.\")\n .option(\n \"--group-by <value>\",\n \"Comma-separated group-by fields (supported: parent,type,priority,status,assignee,tags,sprint,release)\",\n )\n .option(\"--count\", \"Return grouped counts (default behavior)\")\n .option(\"--completion\", \"Add open/in_progress/closed/other counts and completion_pct per group\")\n .option(\"--sum <field>\", \"Sum a numeric field per group\")\n .option(\"--avg <field>\", \"Average a numeric field per group\")\n .option(\"--include-unparented\", \"Include unparented rows when grouping by parent\")\n .option(\"--status <value>\", \"Filter by item status\")\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--deadline-before <value>\", \"Filter by deadline upper bound (ISO/date string or relative)\")\n .option(\"--deadline-after <value>\", \"Filter by deadline lower bound (ISO/date string or relative)\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--parent <value>\", \"Filter by parent item ID\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\");\n // Hidden pure snake_case underscore-duplicate aliases (kept parse-functional).\n addHiddenOption(aggregateCommand, \"--include_unparented\", \"Alias for --include-unparented\");\n addHiddenOption(aggregateCommand, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n aggregateCommand.action(runAggregateAction);\n }\n\n if (shouldRegister(\"context\")) {\n const contextCommand = program\n .command(\"context\")\n .alias(\"ctx\")\n .description(\"Show a token-efficient project context snapshot for next-work decisions.\")\n .option(\"--date <value>\", \"Anchor date/time for agenda window calculations (ISO/date string or relative)\")\n .option(\"--from <value>\", \"Agenda lower bound (ISO/date string or relative)\")\n .option(\"--to <value>\", \"Agenda upper bound (ISO/date string or relative)\")\n .option(\"--past\", \"Include past agenda entries in bounded windows\")\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\")\n .option(\"--parent <id>\", \"Scope the snapshot to one item's subtree (the item plus all descendants)\")\n .option(\"--limit <n>\", \"Limit focus and agenda rows per section\")\n .option(\"--format <value>\", \"Context output format override: markdown|toon|json\")\n .option(\"--depth <value>\", \"Context depth: brief|standard|deep|full (full = every section, no per-section cap)\")\n .option(\"--section <value...>\", \"Include specific sections (repeatable; overrides --depth)\")\n .option(\"--fields <value>\", \"Project focus rows to a comma-separated field subset (e.g. id,title,priority)\")\n .option(\"--activity-limit <n>\", \"Limit recent activity entries (default: settings or 10)\")\n .option(\"--stale-threshold <value>\", \"Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7)\");\n // Hidden pure snake_case underscore-duplicate alias (kept parse-functional).\n addHiddenOption(contextCommand, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n contextCommand.action(runContextAction);\n }\n\n if (shouldRegister(\"next\")) {\n const nextCommand = program\n .command(\"next\")\n .description(\"Recommend the next actionable (unblocked, ready) work item with rationale + blocked companion.\")\n .option(\"--type <value>\", \"Filter candidate items by type\")\n .option(\"--tag <value>\", \"Filter candidate items by tag\")\n .option(\"--priority <value>\", \"Filter candidate items by priority\")\n .option(\"--assignee <value>\", \"Filter candidate items by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--sprint <value>\", \"Filter candidate items by sprint\")\n .option(\"--release <value>\", \"Filter candidate items by release\")\n .option(\"--parent <id>\", \"Scope to one item's subtree (the item plus all descendants)\")\n .option(\"--limit <n>\", \"Limit ready rows (default: 5; non-positive falls back to default)\")\n .option(\"--blocked-limit <n>\", \"Limit blocked rows (default: same as --limit)\")\n .option(\"--ready-only\", \"Omit the blocked companion list\")\n .option(\"--format <value>\", \"Next output format override: markdown|toon|json\");\n addHiddenOption(nextCommand, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n addHiddenOption(nextCommand, \"--blocked_limit <n>\", \"Alias for --blocked-limit\");\n addHiddenOption(nextCommand, \"--ready_only\", \"Alias for --ready-only\");\n nextCommand.action(runNextAction);\n }\n\n if (shouldRegister(\"search\")) {\n const searchCommand = program\n .command(\"search\")\n .argument(\"<keywords...>\", \"Keyword query tokens\")\n .description(\n \"Search items with keyword, semantic, or hybrid retrieval. Inline field:value tokens \" +\n \"(tag:/status:/type:/priority:) in the query are parsed as filters, e.g. 'auth tag:area:search status:open'.\",\n )\n .option(\"--mode <value>\", \"Search mode: keyword|semantic|hybrid (default: keyword)\")\n .option(\"--semantic\", \"Shorthand for --mode semantic\")\n .option(\"--hybrid\", \"Shorthand for --mode hybrid\")\n .option(\n \"--match-mode <value>\",\n \"Token match mode: and|or|exact (default: or with all-terms ranking bonus; and = hard-require every token; exact = exact phrase)\",\n )\n .option(\n \"--min-score <value>\",\n \"Per-query minimum score threshold (finite number >= 0); overrides settings search.score_threshold for this query only\",\n )\n .option(\"--count\", \"Return only the count of matching items (post-filter/threshold, pre-limit); skips hit rows\")\n .option(\n \"--semantic-weight <value>\",\n \"Override hybrid semantic weight for this query (0..1); invalid values fall back to settings\",\n )\n .option(\"--include-linked\", \"Include linked files, docs, and tests in the searchable corpus\")\n .option(\"--title-exact\", \"Require exact normalized title match for the full query string\")\n .option(\"--phrase-exact\", \"Require exact normalized phrase match in searchable text\")\n .option(\"--highlight\", \"Emit per-field matched-text snippets (wrapped in «…») on each hit; off by default\")\n .option(\"--status <value>\", \"Filter by status before query (all, open/closed/canceled aliases, or configured status id; CSV)\")\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--deadline-before <value>\", \"Filter by deadline upper bound (ISO/date string or relative)\")\n .option(\"--deadline-after <value>\", \"Filter by deadline lower bound (ISO/date string or relative)\")\n .option(\"--updated-after <value>\", 'Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. \"-2h\"/\"-7d\" for the past)')\n .option(\"--updated-before <value>\", \"Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-after <value>\", \"Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-before <value>\", \"Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\")\n .option(\"--parent <value>\", \"Filter by parent item ID\")\n .option(\"--compact\", \"Render compact search hits (default; mutually exclusive with --full/--fields)\")\n .option(\"--full\", \"Render full search hits with nested item payloads (mutually exclusive with --compact/--fields)\")\n .option(\n \"--fields <value>\",\n \"Render custom comma-separated search hit fields (mutually exclusive with --compact/--full; valid: --fields id,title,score; invalid: --full --fields id,title)\",\n )\n .option(\"--format <value>\", \"Search output format override: json|toon\")\n .option(\"--limit <n>\", \"Limit returned item count\");\n registerContentAndGovernanceFilters(searchCommand);\n searchCommand.action(runSearchAction);\n addHiddenOption(searchCommand, \"--tags <value>\", \"Alias for --tag\");\n }\n\n if (shouldRegister(\"eval\")) {\n program\n .command(\"eval\")\n .description(\n \"Evaluate search relevance against a curated golden-query set: reports nDCG@k, MRR@k, \" +\n \"precision@k, and recall@k per query plus the macro average. Use --fail-under as a CI gate.\",\n )\n .option(\"--mode <value>\", \"Default retrieval mode for queries without their own: keyword|semantic|hybrid (default: keyword)\")\n .option(\"--k <n>\", \"Metric cutoff @k (positive integer; default: 10)\")\n .option(\"--fail-under <value>\", \"Exit non-zero when aggregate nDCG@k falls below this threshold (0..1); CI gate\")\n .option(\"--queries <path>\", \"Path to the golden-query JSON file (default: <pmRoot>/search/eval-queries.json)\")\n .option(\"--format <value>\", \"Eval output format override: json|toon\")\n .action(runEvalAction);\n }\n\n if (shouldRegister(\"get\")) {\n const getCommand = program\n .command(\"get\")\n .argument(\"<id>\", \"Item id\")\n .option(\"--depth <value>\", \"Detail depth: brief|standard|deep|full (full aliases deep; default: standard)\")\n .option(\"--full\", \"Explicit full item read; equivalent to --depth deep (mutually exclusive with --depth/--fields)\")\n .option(\"--fields <value>\", \"Render custom comma-separated item metadata fields (for example: --fields id,title,status,parent,type)\")\n .option(\"--tree\", \"Include descendants rooted at the requested item\")\n .option(\"--tree-depth <n>\", \"Maximum subtree depth for --tree descendants\")\n .option(\"--format <value>\", \"Get output format override: json|toon\")\n .description(\"Show item details by ID.\")\n .action(runGetAction);\n addHiddenOption(getCommand, \"--tree_depth <n>\", \"Alias for --tree-depth\");\n }\n\n if (shouldRegister(\"history\")) {\n program\n .command(\"history\")\n .argument(\"<id>\", \"Item id\")\n .option(\"--limit <n>\", \"Return only the latest n history entries\")\n .option(\"--compact\", \"Condensed output: show entry index, timestamp, op, author, patch count, and changed fields\")\n .option(\"--full\", \"Show full history entries with JSON Patch payloads\")\n .option(\"--diff\", \"Include per-entry field-level before/after value diffs computed by replaying the history chain\")\n .option(\"--field <name>\", \"With --diff, show only entries that changed this field (implies --diff)\")\n .option(\"--verify\", \"Verify hash chain and replay integrity for the full history stream\")\n .option(\"--format <value>\", \"History output format override: json|toon\")\n .description(\"Show item history entries.\")\n .action(runHistoryAction);\n }\n\n if (shouldRegister(\"activity\")) {\n program\n .command(\"activity\")\n .option(\"--id <value>\", \"Filter by item ID\")\n .option(\"--op <value>\", \"Filter by history operation\")\n .option(\"--author <value>\", \"Filter by history author\")\n .option(\"--from <value>\", \"Lower timestamp bound (ISO/date string or relative)\")\n .option(\"--to <value>\", \"Upper timestamp bound (ISO/date string or relative)\")\n .option(\"--limit <n>\", \"Return only the latest n activity entries\")\n .option(\"--compact\", \"Condensed output: show only id, op, ts, author, msg per entry\")\n .option(\"--full\", \"Show full activity entries with JSON Patch payloads\")\n .option(\"--stream [mode]\", \"Emit line-delimited JSON rows (requires --json). Optional mode: rows|ndjson|jsonl\")\n .description(\"Show recent activity across items.\")\n .action(runActivityAction);\n }\n}\n\nexport const _testO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;EACzB;AAEA,MAAI,eAAe,KAAK,GAAG;AACzB,UAAM,aAAa,QAChB,QAAQ,KAAK,EACb,SAAS,QAAQ,SAAS,EAC1B,OAAO,mBAAmB,+EAA+E,EACzG,OAAO,UAAU,gGAAgG,EACjH,OAAO,oBAAoB,wGAAwG,EACnI,OAAO,UAAU,kDAAkD,EACnE,OAAO,oBAAoB,8CAA8C,EACzE,OAAO,oBAAoB,uCAAuC,EAClE,YAAY,0BAA0B,EACtC,OAAO,YAAY;AACtB,oBAAgB,YAAY,oBAAoB,wBAAwB;EAC1E;AAEA,MAAI,eAAe,SAAS,GAAG;AAC7B,YACG,QAAQ,SAAS,EACjB,SAAS,QAAQ,SAAS,EAC1B,OAAO,eAAe,0CAA0C,EAChE,OAAO,aAAa,4FAA4F,EAChH,OAAO,UAAU,oDAAoD,EACrE,OAAO,UAAU,gGAAgG,EACjH,OAAO,kBAAkB,yEAAyE,EAClG,OAAO,YAAY,oEAAoE,EACvF,OAAO,oBAAoB,2CAA2C,EACtE,YAAY,4BAA4B,EACxC,OAAO,gBAAgB;EAC5B;AAEA,MAAI,eAAe,UAAU,GAAG;AAC9B,YACG,QAAQ,UAAU,EAClB,OAAO,gBAAgB,mBAAmB,EAC1C,OAAO,gBAAgB,6BAA6B,EACpD,OAAO,oBAAoB,0BAA0B,EACrD,OAAO,kBAAkB,qDAAqD,EAC9E,OAAO,gBAAgB,qDAAqD,EAC5E,OAAO,eAAe,2CAA2C,EACjE,OAAO,aAAa,+DAA+D,EACnF,OAAO,UAAU,qDAAqD,EACtE,OAAO,mBAAmB,mFAAmF,EAC7G,YAAY,oCAAoC,EAChD,OAAO,iBAAiB;EAC7B;AACF;AAEO,IAAM,6BAA6B;EACxC;EACA;;",
4
+ "sourcesContent": ["/**\n * @module core/output/tabular\n *\n * Renders projected item rows as CSV or fixed-width text tables for human\n * export. These are presentation-only modes (GH-154): agents continue to read\n * the structured `--json`/TOON output, while humans piping `pm list` into a\n * spreadsheet or terminal get a directly consumable shape.\n */\n\n/** A projected row: a flat map of column name to scalar/collection cell value. */\nexport type TabularRow = Record<string, unknown>;\n\n/**\n * Collects the ordered union of column names across every row, preserving the\n * order in which each key is first encountered so the rendered columns mirror\n * the projection field order rather than an arbitrary object-key order.\n */\nfunction resolveColumns(rows: TabularRow[]): string[] {\n const columns: string[] = [];\n const seen = new Set<string>();\n for (const row of rows) {\n for (const key of Object.keys(row)) {\n if (!seen.has(key)) {\n seen.add(key);\n columns.push(key);\n }\n }\n }\n return columns;\n}\n\n/**\n * Converts a single cell value to its flat string form. Arrays join with `;`\n * (spreadsheet-friendly and unambiguous against the CSV `,` delimiter), objects\n * serialize to compact JSON, and null/undefined render as an empty cell.\n */\nfunction renderCell(value: unknown): string {\n if (value === null || value === undefined) {\n return \"\";\n }\n if (Array.isArray(value)) {\n return value.map((entry) => renderCell(entry)).join(\";\");\n }\n if (typeof value === \"object\") {\n return JSON.stringify(value);\n }\n return String(value);\n}\n\n/**\n * Escapes a CSV field per RFC 4180: values containing the delimiter, a quote,\n * or a line break are wrapped in double quotes with embedded quotes doubled.\n */\nfunction escapeCsvField(value: string): string {\n if (/[\",\\r\\n]/.test(value)) {\n return `\"${value.replace(/\"/g, '\"\"')}\"`;\n }\n return value;\n}\n\n/**\n * Renders rows as RFC 4180 CSV with a header row of column names. Returns an\n * empty string when there are no rows so callers emit nothing rather than a\n * stray blank line.\n */\nexport function renderRowsAsCsv(rows: TabularRow[]): string {\n if (rows.length === 0) {\n return \"\";\n }\n const columns = resolveColumns(rows);\n const lines = [columns.map((column) => escapeCsvField(column)).join(\",\")];\n for (const row of rows) {\n lines.push(columns.map((column) => escapeCsvField(renderCell(row[column]))).join(\",\"));\n }\n return lines.join(\"\\n\");\n}\n\n/**\n * Renders rows as a fixed-width text table: a header row, a dashed separator,\n * and one padded row per item. Columns are widened to fit their widest cell so\n * the output stays aligned in a monospace terminal. Returns an empty string\n * when there are no rows.\n */\nexport function renderRowsAsTable(rows: TabularRow[]): string {\n if (rows.length === 0) {\n return \"\";\n }\n const columns = resolveColumns(rows);\n const cells = rows.map((row) => columns.map((column) => renderCell(row[column])));\n const widths = columns.map((column, index) =>\n Math.max(column.length, ...cells.map((rowCells) => rowCells[index].length)),\n );\n const pad = (value: string, index: number): string => value.padEnd(widths[index]);\n const lines = [columns.map((column, index) => pad(column, index)).join(\" | \")];\n lines.push(widths.map((width) => \"-\".repeat(width)).join(\"-+-\"));\n for (const rowCells of cells) {\n lines.push(rowCells.map((value, index) => pad(value, index)).join(\" | \"));\n }\n return lines.join(\"\\n\");\n}\n", "/**\n * @module cli/register-list-query\n *\n * Provides CLI runtime support for Register List Query.\n */\nimport type { Command } from \"commander\";\nimport { EXIT_CODE } from \"../core/shared/constants.js\";\nimport { PmCliError } from \"../core/shared/errors.js\";\nimport { renderRowsAsCsv, renderRowsAsTable } from \"../core/output/tabular.js\";\nimport { runActivity } from \"./commands/activity.js\";\nimport { runAggregate } from \"./commands/aggregate.js\";\nimport {\n renderContextMarkdown,\n runContext,\n resolveContextOutputFormat,\n} from \"./commands/context.js\";\nimport { runEval } from \"./commands/eval.js\";\nimport { runGet } from \"./commands/get.js\";\nimport { runHistory } from \"./commands/history.js\";\nimport { runList } from \"./commands/list.js\";\nimport {\n renderNextMarkdown,\n runNext,\n resolveNextOutputFormat,\n} from \"./commands/next.js\";\nimport { runSearch } from \"./commands/search.js\";\nimport type { ItemStatus } from \"../types/index.js\";\nimport {\n addHiddenOption,\n getGlobalOptions,\n normalizeAggregateOptions,\n normalizeActivityOptions,\n normalizeContextOptions,\n normalizeListOptions,\n normalizeNextOptions,\n normalizeSearchKeywordsInput,\n normalizeSearchOptions,\n printActivityJsonStream,\n printError,\n printListJsonStream,\n printResult,\n resolveActivityStreamMode,\n writeStdout,\n} from \"./registration-helpers.js\";\n\n\n\n/**\n * Documents the register list query commands options payload exchanged by command, SDK, and package integrations.\n */\nexport interface RegisterListQueryCommandsOptions {\n commandFilter?: Set<string>;\n}\n\nfunction shouldRegisterListQueryCommand(commandName: string, commandFilter?: Set<string>): boolean {\n if (!commandFilter || commandFilter.size === 0) {\n return true;\n }\n if (commandName === \"context\") {\n return commandFilter.has(\"context\") || commandFilter.has(\"ctx\");\n }\n return commandFilter.has(commandName);\n}\n\ntype ReadCommandOutputFormat = \"json\" | \"toon\";\n\ntype ListOutputFormat = \"csv\" | \"table\" | \"json\" | \"toon\";\n\n/**\n * Parses the `pm list --format` value into a supported render mode. csv/table\n * are human export modes; json/toon override the machine output format. Returns\n * undefined when no `--format` was supplied so the global output format applies.\n */\nfunction parseListFormat(rawFormat: unknown): ListOutputFormat | undefined {\n if (rawFormat === undefined) {\n return undefined;\n }\n if (typeof rawFormat !== \"string\") {\n throw new PmCliError(\"List --format must be one of csv|table|json|toon\", EXIT_CODE.USAGE);\n }\n const normalized = rawFormat.trim().toLowerCase();\n if (normalized === \"csv\" || normalized === \"table\" || normalized === \"json\" || normalized === \"toon\") {\n return normalized;\n }\n throw new PmCliError(\"List --format must be one of csv|table|json|toon\", EXIT_CODE.USAGE);\n}\n\nfunction resolveReadCommandOutputFormat(\n commandLabel: string,\n rawFormat: unknown,\n globalOptions: ReturnType<typeof getGlobalOptions>,\n): ReturnType<typeof getGlobalOptions> {\n if (rawFormat === undefined) {\n return globalOptions;\n }\n if (typeof rawFormat !== \"string\") {\n throw new PmCliError(`${commandLabel} --format must be one of json|toon`, EXIT_CODE.USAGE);\n }\n const normalized = rawFormat.trim().toLowerCase() as ReadCommandOutputFormat;\n if (normalized !== \"json\" && normalized !== \"toon\") {\n throw new PmCliError(`${commandLabel} --format must be one of json|toon`, EXIT_CODE.USAGE);\n }\n if (globalOptions.json === true && normalized === \"toon\") {\n throw new PmCliError(`${commandLabel} cannot combine --json with --format toon`, EXIT_CODE.USAGE);\n }\n return {\n ...globalOptions,\n json: normalized === \"json\",\n };\n}\n\nfunction applyDefaultBriefListMode(\n listOptions: ReturnType<typeof normalizeListOptions>,\n defaultBrief: boolean | undefined,\n): void {\n if (\n defaultBrief === true &&\n listOptions.includeBody !== true &&\n listOptions.compact !== true &&\n listOptions.brief !== true &&\n listOptions.full !== true &&\n listOptions.fields === undefined\n ) {\n listOptions.brief = true;\n }\n}\n\nfunction registerContentAndGovernanceFilters(command: Command): void {\n command\n .option(\"--has-notes\", \"Show only items that have notes\")\n .option(\"--has-learnings\", \"Show only items that have learnings\")\n .option(\"--has-files\", \"Show only items that have linked files\")\n .option(\"--has-docs\", \"Show only items that have linked docs\")\n .option(\"--has-tests\", \"Show only items that have linked tests\")\n .option(\"--has-comments\", \"Show only items that have comments\")\n .option(\"--has-deps\", \"Show only items that have dependencies\")\n .option(\"--has-body\", \"Show only items that have a non-empty body\")\n .option(\"--has-linked-command\", \"Show only items whose linked tests carry a runnable command\")\n .option(\"--no-notes\", \"Show only items that have no notes\")\n .option(\"--no-learnings\", \"Show only items that have no learnings\")\n .option(\"--no-files\", \"Show only items that have no linked files\")\n .option(\"--filter-files-missing\", \"Alias for --no-files\")\n .option(\"--no-docs\", \"Show only items that have no linked docs\")\n .option(\"--filter-docs-missing\", \"Alias for --no-docs\")\n .option(\"--no-tests\", \"Show only items that have no linked tests\")\n .option(\"--no-comments\", \"Show only items that have no comments\")\n .option(\"--no-deps\", \"Show only items that have no dependencies\")\n .option(\"--empty-body\", \"Show only items with an empty body\")\n .option(\"--no-linked-command\", \"Show only items whose linked tests carry no runnable command\")\n .option(\"--filter-reviewer-missing\", \"Show only items missing reviewer\")\n .option(\"--filter-risk-missing\", \"Show only items missing risk\")\n .option(\"--filter-confidence-missing\", \"Show only items missing confidence\")\n .option(\"--filter-sprint-missing\", \"Show only items missing sprint\")\n .option(\"--filter-release-missing\", \"Show only items missing release\");\n}\n\nasync function runRegisteredListCommand(params: {\n name: string;\n status?: ItemStatus;\n excludeTerminal?: boolean;\n defaultBrief?: boolean;\n options: Record<string, unknown>;\n actionCommand: Command;\n}): Promise<void> {\n const globalOptions = getGlobalOptions(params.actionCommand);\n const startedAt = Date.now();\n const listOptions = normalizeListOptions(params.options);\n applyDefaultBriefListMode(listOptions, params.defaultBrief);\n if (params.excludeTerminal) listOptions.excludeTerminal = true;\n const result = await runList(params.status, listOptions, globalOptions);\n const streamMode = params.options.stream === true;\n const listFormat = parseListFormat(params.options.format);\n const tabular = listFormat === \"csv\" || listFormat === \"table\";\n const effectiveGlobal =\n listFormat === \"json\" || listFormat === \"toon\"\n ? resolveReadCommandOutputFormat(\"List\", params.options.format, globalOptions)\n : globalOptions;\n if (streamMode && !effectiveGlobal.json) {\n throw new PmCliError(\"--stream requires --json output mode.\", EXIT_CODE.USAGE);\n }\n if (tabular && streamMode) {\n throw new PmCliError(\"--format csv|table cannot be combined with --stream (line-delimited JSON).\", EXIT_CODE.USAGE);\n }\n if (tabular) {\n const rows = result.items as Array<Record<string, unknown>>;\n const rendered = listFormat === \"csv\" ? renderRowsAsCsv(rows) : renderRowsAsTable(rows);\n if (!effectiveGlobal.quiet && rendered.length > 0) {\n writeStdout(`${rendered}\\n`);\n }\n } else if (streamMode) {\n printListJsonStream(params.name, result, effectiveGlobal);\n } else {\n printResult(result, effectiveGlobal);\n }\n if (globalOptions.profile) {\n printError(`profile:command=${params.name} took_ms=${Date.now() - startedAt}`);\n }\n}\n\ninterface ListCommandDescriptor {\n name: string;\n description: string;\n status?: ItemStatus;\n excludeTerminal?: boolean;\n allowStatusFilter?: boolean;\n defaultBrief?: boolean;\n}\n\nfunction registerListCommand(program: Command, descriptor: ListCommandDescriptor): void {\n const { name, description, status, excludeTerminal, allowStatusFilter, defaultBrief } = descriptor;\n const command = program.command(name).description(description);\n if (allowStatusFilter) {\n command.option(\"--status <value>\", \"Filter by status (use all for no status restriction)\");\n }\n command\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--deadline-before <value>\", \"Filter by deadline upper bound (ISO/date string or relative)\")\n .option(\"--deadline-after <value>\", \"Filter by deadline lower bound (ISO/date string or relative)\")\n .option(\"--updated-after <value>\", 'Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. \"-2h\"/\"-7d\" for the past). \"Changed since my last window\" → --updated-after <ISO>')\n .option(\"--updated-before <value>\", \"Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-after <value>\", \"Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-before <value>\", \"Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--ids <value>\", \"Filter by explicit item IDs (comma-separated or repeatable)\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--parent <value>\", \"Filter by parent item ID\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\")\n .option(\"--filter-ac-missing\", \"Show only items missing acceptance_criteria\")\n .option(\"--filter-estimates-missing\", \"Show only items missing estimated_minutes\")\n .option(\"--filter-resolution-missing\", \"Show only terminal items missing resolution\")\n .option(\"--filter-metadata-missing\", \"Show only items missing any tracked metadata (AC, estimate, or resolution)\")\n .option(\"--limit <n>\", \"Limit returned item count\")\n .option(\"--offset <n>\", \"Skip the first n matching rows before limit is applied\")\n .option(\"--no-truncate\", \"Return every matched row, overriding any --limit (alias: --all)\")\n .option(\"--include-body\", \"Include item body in each returned list row\")\n .option(\"--compact\", \"Render compact list projection fields (mutually exclusive with --brief/--full/--fields)\")\n .option(\"--brief\", \"Ultra-compact output: id, status, type, title only (agent-optimized, mutually exclusive with --compact/--full/--fields)\")\n .option(\"--full\", \"Render full list projection fields (mutually exclusive with --compact/--brief/--fields)\")\n .option(\n \"--fields <value>\",\n \"Render custom comma-separated list fields (mutually exclusive with --compact/--brief/--full; valid: --fields id,title)\",\n )\n .option(\"--sort <value>\", \"Sort field: priority|deadline|updated_at|created_at|title|parent (aliases: updated, created)\")\n .option(\"--order <value>\", \"Sort order: asc|desc (requires --sort)\")\n .option(\"--tree\", \"Render rows in parent/child tree order\")\n .option(\"--tree-depth <n>\", \"Maximum recursion depth with --tree (0 keeps root rows only)\")\n .option(\"--format <value>\", \"Output render mode: csv|table (human export) or json|toon (machine output override)\")\n .option(\"--stream\", \"Emit line-delimited JSON rows (requires --json)\");\n registerContentAndGovernanceFilters(command);\n command.action(async (options: Record<string, unknown>, actionCommand) => {\n await runRegisteredListCommand({ name, status, excludeTerminal, defaultBrief, options, actionCommand });\n });\n // Positive alias for --no-truncate (Commander stores the negation as truncate=false).\n addHiddenOption(command, \"--all\", \"Alias for --no-truncate\");\n // Hidden pure snake_case underscore-duplicate alias (kept parse-functional).\n addHiddenOption(command, \"--tags <value>\", \"Alias for --tag\");\n addHiddenOption(command, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n addHiddenOption(command, \"--tree_depth <n>\", \"Alias for --tree-depth\");\n // Singular alias so `--filter-estimate-missing` works (matches update-many spelling).\n addHiddenOption(command, \"--filter-estimate-missing\", \"Alias for --filter-estimates-missing\");\n}\n\nasync function runAggregateAction(options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const result = await runAggregate(normalizeAggregateOptions(options), globalOptions);\n printResult(result, globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=aggregate took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runContextAction(options: Record<string, unknown>, actionCommand: Command): Promise<void> {\n const globalOptions = getGlobalOptions(actionCommand);\n const startedAt = Date.now();\n const normalized = normalizeContextOptions(options);\n const result = await runContext(normalized, globalOptions);\n const outputFormat = resolveContextOutputFormat(normalized, globalOptions);\n if (outputFormat === \"markdown\") {\n if (!globalOptions.quiet) {\n writeStdout(`${renderContextMarkdown(result)}\\n`);\n }\n } else {\n printResult(result, {\n ...globalOptions,\n json: outputFormat === \"json\",\n });\n }\n if (globalOptions.profile) {\n printError(`profile:command=context took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runNextAction(options: Record<string, unknown>, actionCommand: Command): Promise<void> {\n const globalOptions = getGlobalOptions(actionCommand);\n const startedAt = Date.now();\n const nextOptions = normalizeNextOptions(options);\n const result = await runNext(nextOptions, globalOptions);\n const outputFormat = resolveNextOutputFormat(nextOptions, globalOptions);\n if (outputFormat === \"markdown\") {\n if (!globalOptions.quiet) {\n writeStdout(`${renderNextMarkdown(result)}\\n`);\n }\n } else {\n printResult(result, { ...globalOptions, json: outputFormat === \"json\" });\n }\n if (globalOptions.profile) {\n printError(`profile:command=next took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runSearchAction(keywords: string[], options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const searchOptions = normalizeSearchOptions(options);\n const result = await runSearch(\n normalizeSearchKeywordsInput(keywords),\n {\n ...searchOptions,\n mode:\n typeof searchOptions.mode === \"string\" && searchOptions.mode.trim().length > 0\n ? searchOptions.mode\n : \"keyword\",\n },\n globalOptions,\n );\n printResult(result, resolveReadCommandOutputFormat(\"Search\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=search took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runEvalAction(options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const result = await runEval(\n {\n mode: typeof options.mode === \"string\" ? options.mode : undefined,\n k: typeof options.k === \"string\" ? options.k : undefined,\n failUnder: typeof options.failUnder === \"string\" ? options.failUnder : undefined,\n queries: typeof options.queries === \"string\" ? options.queries : undefined,\n format: typeof options.format === \"string\" ? options.format : undefined,\n },\n globalOptions,\n );\n printResult(result, resolveReadCommandOutputFormat(\"Eval\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=eval took_ms=${Date.now() - startedAt}`);\n }\n if (!result.passed) {\n throw new PmCliError(\n `Eval gate failed: aggregate nDCG@${result.k} ${result.aggregate.ndcg} is below --fail-under ${result.fail_under}`,\n EXIT_CODE.GENERIC_FAILURE,\n );\n }\n}\n\nasync function runGetAction(id: string, options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const result = await runGet(\n id,\n globalOptions,\n {\n depth: typeof options.depth === \"string\" ? options.depth : undefined,\n fields: typeof options.fields === \"string\" ? options.fields : undefined,\n full: Boolean(options.full),\n tree: options.tree === true,\n treeDepth:\n typeof options.treeDepth === \"string\"\n ? options.treeDepth\n : typeof options.tree_depth === \"string\"\n ? options.tree_depth\n : undefined,\n },\n );\n printResult(result, resolveReadCommandOutputFormat(\"Get\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=get took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runHistoryAction(id: string, options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n if (options.compact === true && options.full === true) {\n throw new PmCliError(\"History projection options are mutually exclusive. Use either --compact or --full.\", EXIT_CODE.USAGE);\n }\n const field = typeof options.field === \"string\" ? options.field : undefined;\n const result = await runHistory(\n id,\n {\n limit: typeof options.limit === \"string\" ? options.limit : undefined,\n compact: options.full === true ? false : true,\n diff: Boolean(options.diff) || field !== undefined,\n field,\n verify: Boolean(options.verify),\n },\n globalOptions,\n );\n printResult(result, resolveReadCommandOutputFormat(\"History\", options.format, globalOptions));\n if (globalOptions.profile) {\n printError(`profile:command=history took_ms=${Date.now() - startedAt}`);\n }\n}\n\nasync function runActivityAction(options: Record<string, unknown>, command: Command): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n if (options.compact === true && options.full === true) {\n throw new PmCliError(\"Activity projection options are mutually exclusive. Use either --compact or --full.\", EXIT_CODE.USAGE);\n }\n const normalized = normalizeActivityOptions(options);\n const result = await runActivity(normalized, globalOptions);\n const streamMode = resolveActivityStreamMode(options.stream);\n if (streamMode && !globalOptions.json) {\n throw new PmCliError(\"--stream requires --json output mode.\", EXIT_CODE.USAGE);\n }\n if (streamMode) {\n printActivityJsonStream(result, normalized, globalOptions);\n } else {\n printResult(result, globalOptions);\n }\n if (globalOptions.profile) {\n printError(`profile:command=activity took_ms=${Date.now() - startedAt}`);\n }\n}\n\n/**\n * Implements register list query commands for the public runtime surface of this module.\n */\nexport function registerListQueryCommands(program: Command, options?: RegisterListQueryCommandsOptions): void {\n const commandFilter = options?.commandFilter;\n const shouldRegister = (commandName: string): boolean => shouldRegisterListQueryCommand(commandName, commandFilter);\n const listCommandDescriptors: ListCommandDescriptor[] = [\n { name: \"list\", description: \"List active items with optional filters.\", excludeTerminal: true, allowStatusFilter: true, defaultBrief: true },\n { name: \"list-all\", description: \"List all items with optional filters.\", excludeTerminal: false, allowStatusFilter: true },\n { name: \"list-draft\", description: \"List draft items with optional filters.\", status: \"draft\" },\n { name: \"list-open\", description: \"List open items with optional filters.\", status: \"open\", excludeTerminal: false, allowStatusFilter: false, defaultBrief: true },\n { name: \"list-in-progress\", description: \"List in-progress items with optional filters.\", status: \"in_progress\", excludeTerminal: false, allowStatusFilter: false, defaultBrief: true },\n { name: \"list-blocked\", description: \"List blocked items with optional filters.\", status: \"blocked\", excludeTerminal: false, allowStatusFilter: false, defaultBrief: true },\n { name: \"list-closed\", description: \"List closed items with optional filters.\", status: \"closed\" },\n { name: \"list-canceled\", description: \"List canceled items with optional filters.\", status: \"canceled\" },\n ];\n for (const descriptor of listCommandDescriptors) {\n if (shouldRegister(descriptor.name)) {\n registerListCommand(program, descriptor);\n }\n }\n\n if (shouldRegister(\"aggregate\")) {\n const aggregateCommand = program\n .command(\"aggregate\")\n .description(\"Aggregate grouped item counts for governance queries.\")\n .option(\n \"--group-by <value>\",\n \"Comma-separated group-by fields (supported: parent,type,priority,status,assignee,tags,sprint,release)\",\n )\n .option(\"--count\", \"Return grouped counts (default behavior)\")\n .option(\"--completion\", \"Add open/in_progress/closed/other counts and completion_pct per group\")\n .option(\"--sum <field>\", \"Sum a numeric field per group\")\n .option(\"--avg <field>\", \"Average a numeric field per group\")\n .option(\"--include-unparented\", \"Include unparented rows when grouping by parent\")\n .option(\"--status <value>\", \"Filter by item status\")\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--deadline-before <value>\", \"Filter by deadline upper bound (ISO/date string or relative)\")\n .option(\"--deadline-after <value>\", \"Filter by deadline lower bound (ISO/date string or relative)\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--parent <value>\", \"Filter by parent item ID\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\");\n // Hidden pure snake_case underscore-duplicate aliases (kept parse-functional).\n addHiddenOption(aggregateCommand, \"--include_unparented\", \"Alias for --include-unparented\");\n addHiddenOption(aggregateCommand, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n aggregateCommand.action(runAggregateAction);\n }\n\n if (shouldRegister(\"context\")) {\n const contextCommand = program\n .command(\"context\")\n .alias(\"ctx\")\n .description(\"Show a token-efficient project context snapshot for next-work decisions.\")\n .option(\"--date <value>\", \"Anchor date/time for agenda window calculations (ISO/date string or relative)\")\n .option(\"--from <value>\", \"Agenda lower bound (ISO/date string or relative)\")\n .option(\"--to <value>\", \"Agenda upper bound (ISO/date string or relative)\")\n .option(\"--past\", \"Include past agenda entries in bounded windows\")\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\")\n .option(\"--parent <id>\", \"Scope the snapshot to one item's subtree (the item plus all descendants)\")\n .option(\"--limit <n>\", \"Limit focus and agenda rows per section\")\n .option(\"--format <value>\", \"Context output format override: markdown|toon|json\")\n .option(\"--depth <value>\", \"Context depth: brief|standard|deep|full (full = every section, no per-section cap)\")\n .option(\"--section <value...>\", \"Include specific sections (repeatable; overrides --depth)\")\n .option(\"--fields <value>\", \"Project focus rows to a comma-separated field subset (e.g. id,title,priority)\")\n .option(\"--activity-limit <n>\", \"Limit recent activity entries (default: settings or 10)\")\n .option(\"--stale-threshold <value>\", \"Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7)\");\n // Hidden pure snake_case underscore-duplicate alias (kept parse-functional).\n addHiddenOption(contextCommand, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n addHiddenOption(contextCommand, \"--max-items <n>\", \"Alias for --limit\");\n contextCommand.action(runContextAction);\n }\n\n if (shouldRegister(\"next\")) {\n const nextCommand = program\n .command(\"next\")\n .description(\"Recommend the next actionable (unblocked, ready) work item with rationale + blocked companion.\")\n .option(\"--type <value>\", \"Filter candidate items by type\")\n .option(\"--tag <value>\", \"Filter candidate items by tag\")\n .option(\"--priority <value>\", \"Filter candidate items by priority\")\n .option(\"--assignee <value>\", \"Filter candidate items by assignee\")\n .option(\"--assignee-filter <value>\", \"Filter assignee presence: assigned|unassigned\")\n .option(\"--sprint <value>\", \"Filter candidate items by sprint\")\n .option(\"--release <value>\", \"Filter candidate items by release\")\n .option(\"--parent <id>\", \"Scope to one item's subtree (the item plus all descendants)\")\n .option(\"--limit <n>\", \"Limit ready rows (default: 5; non-positive falls back to default)\")\n .option(\"--blocked-limit <n>\", \"Limit blocked rows (default: same as --limit)\")\n .option(\"--ready-only\", \"Omit the blocked companion list\")\n .option(\"--format <value>\", \"Next output format override: markdown|toon|json\");\n addHiddenOption(nextCommand, \"--assignee_filter <value>\", \"Alias for --assignee-filter\");\n addHiddenOption(nextCommand, \"--blocked_limit <n>\", \"Alias for --blocked-limit\");\n addHiddenOption(nextCommand, \"--ready_only\", \"Alias for --ready-only\");\n nextCommand.action(runNextAction);\n }\n\n if (shouldRegister(\"search\")) {\n const searchCommand = program\n .command(\"search\")\n .argument(\"<keywords...>\", \"Keyword query tokens\")\n .description(\n \"Search items with keyword, semantic, or hybrid retrieval. Inline field:value tokens \" +\n \"(tag:/status:/type:/priority:) in the query are parsed as filters, e.g. 'auth tag:area:search status:open'.\",\n )\n .option(\"--mode <value>\", \"Search mode: keyword|semantic|hybrid (default: keyword)\")\n .option(\"--semantic\", \"Shorthand for --mode semantic\")\n .option(\"--hybrid\", \"Shorthand for --mode hybrid\")\n .option(\n \"--match-mode <value>\",\n \"Token match mode: and|or|exact (default: or with all-terms ranking bonus; and = hard-require every token; exact = exact phrase)\",\n )\n .option(\n \"--min-score <value>\",\n \"Per-query minimum score threshold (finite number >= 0); overrides settings search.score_threshold for this query only\",\n )\n .option(\"--count\", \"Return only the count of matching items (post-filter/threshold, pre-limit); skips hit rows\")\n .option(\n \"--semantic-weight <value>\",\n \"Override hybrid semantic weight for this query (0..1); invalid values fall back to settings\",\n )\n .option(\"--include-linked\", \"Include linked files, docs, and tests in the searchable corpus\")\n .option(\"--title-exact\", \"Require exact normalized title match for the full query string\")\n .option(\"--phrase-exact\", \"Require exact normalized phrase match in searchable text\")\n .option(\"--highlight\", \"Emit per-field matched-text snippets (wrapped in «…») on each hit; off by default\")\n .option(\"--status <value>\", \"Filter by status before query (all, open/closed/canceled aliases, or configured status id; CSV)\")\n .option(\"--type <value>\", \"Filter by item type\")\n .option(\"--tag <value>\", \"Filter by tag\")\n .option(\"--priority <value>\", \"Filter by priority\")\n .option(\"--deadline-before <value>\", \"Filter by deadline upper bound (ISO/date string or relative)\")\n .option(\"--deadline-after <value>\", \"Filter by deadline lower bound (ISO/date string or relative)\")\n .option(\"--updated-after <value>\", 'Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. \"-2h\"/\"-7d\" for the past)')\n .option(\"--updated-before <value>\", \"Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-after <value>\", \"Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--created-before <value>\", \"Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)\")\n .option(\"--assignee <value>\", \"Filter by assignee\")\n .option(\"--sprint <value>\", \"Filter by sprint\")\n .option(\"--release <value>\", \"Filter by release\")\n .option(\"--parent <value>\", \"Filter by parent item ID\")\n .option(\"--compact\", \"Render compact search hits (default; mutually exclusive with --full/--fields)\")\n .option(\"--full\", \"Render full search hits with nested item payloads (mutually exclusive with --compact/--fields)\")\n .option(\n \"--fields <value>\",\n \"Render custom comma-separated search hit fields (mutually exclusive with --compact/--full; valid: --fields id,title,score; invalid: --full --fields id,title)\",\n )\n .option(\"--format <value>\", \"Search output format override: json|toon\")\n .option(\"--limit <n>\", \"Limit returned item count\");\n registerContentAndGovernanceFilters(searchCommand);\n searchCommand.action(runSearchAction);\n addHiddenOption(searchCommand, \"--tags <value>\", \"Alias for --tag\");\n }\n\n if (shouldRegister(\"eval\")) {\n program\n .command(\"eval\")\n .description(\n \"Evaluate search relevance against a curated golden-query set: reports nDCG@k, MRR@k, \" +\n \"precision@k, and recall@k per query plus the macro average. Use --fail-under as a CI gate.\",\n )\n .option(\"--mode <value>\", \"Default retrieval mode for queries without their own: keyword|semantic|hybrid (default: keyword)\")\n .option(\"--k <n>\", \"Metric cutoff @k (positive integer; default: 10)\")\n .option(\"--fail-under <value>\", \"Exit non-zero when aggregate nDCG@k falls below this threshold (0..1); CI gate\")\n .option(\"--queries <path>\", \"Path to the golden-query JSON file (default: <pmRoot>/search/eval-queries.json)\")\n .option(\"--format <value>\", \"Eval output format override: json|toon\")\n .action(runEvalAction);\n }\n\n if (shouldRegister(\"get\")) {\n const getCommand = program\n .command(\"get\")\n .argument(\"<id>\", \"Item id\")\n .option(\"--depth <value>\", \"Detail depth: brief|standard|deep|full (full aliases deep; default: standard)\")\n .option(\"--full\", \"Explicit full item read; equivalent to --depth deep (mutually exclusive with --depth/--fields)\")\n .option(\"--fields <value>\", \"Render custom comma-separated item metadata fields (for example: --fields id,title,status,parent,type)\")\n .option(\"--tree\", \"Include descendants rooted at the requested item\")\n .option(\"--tree-depth <n>\", \"Maximum subtree depth for --tree descendants\")\n .option(\"--format <value>\", \"Get output format override: json|toon\")\n .description(\"Show item details by ID.\")\n .action(runGetAction);\n addHiddenOption(getCommand, \"--tree_depth <n>\", \"Alias for --tree-depth\");\n }\n\n if (shouldRegister(\"history\")) {\n program\n .command(\"history\")\n .argument(\"<id>\", \"Item id\")\n .option(\"--limit <n>\", \"Return only the latest n history entries\")\n .option(\"--compact\", \"Condensed output: show entry index, timestamp, op, author, patch count, and changed fields\")\n .option(\"--full\", \"Show full history entries with JSON Patch payloads\")\n .option(\"--diff\", \"Include per-entry field-level before/after value diffs computed by replaying the history chain\")\n .option(\"--field <name>\", \"With --diff, show only entries that changed this field (implies --diff)\")\n .option(\"--verify\", \"Verify hash chain and replay integrity for the full history stream\")\n .option(\"--format <value>\", \"History output format override: json|toon\")\n .description(\"Show item history entries.\")\n .action(runHistoryAction);\n }\n\n if (shouldRegister(\"activity\")) {\n program\n .command(\"activity\")\n .option(\"--id <value>\", \"Filter by item ID\")\n .option(\"--op <value>\", \"Filter by history operation\")\n .option(\"--author <value>\", \"Filter by history author\")\n .option(\"--from <value>\", \"Lower timestamp bound (ISO/date string or relative)\")\n .option(\"--to <value>\", \"Upper timestamp bound (ISO/date string or relative)\")\n .option(\"--limit <n>\", \"Return only the latest n activity entries\")\n .option(\"--compact\", \"Condensed output: show only id, op, ts, author, msg per entry\")\n .option(\"--full\", \"Show full activity entries with JSON Patch payloads\")\n .option(\"--stream [mode]\", \"Emit line-delimited JSON rows (requires --json). Optional mode: rows|ndjson|jsonl\")\n .description(\"Show recent activity across items.\")\n .action(runActivityAction);\n }\n}\n\nexport const _testOnlyRegisterListQuery = {\n resolveReadCommandOutputFormat,\n parseListFormat,\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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S,EAC1B,OAAO,mBAAmB,+EAA+E,EACzG,OAAO,UAAU,gGAAgG,EACjH,OAAO,oBAAoB,wGAAwG,EACnI,OAAO,UAAU,kDAAkD,EACnE,OAAO,oBAAoB,8CAA8C,EACzE,OAAO,oBAAoB,uCAAuC,EAClE,YAAY,0BAA0B,EACtC,OAAO,YAAY;AACtB,oBAAgB,YAAY,oBAAoB,wBAAwB;EAC1E;AAEA,MAAI,eAAe,SAAS,GAAG;AAC7B,YACG,QAAQ,SAAS,EACjB,SAAS,QAAQ,SAAS,EAC1B,OAAO,eAAe,0CAA0C,EAChE,OAAO,aAAa,4FAA4F,EAChH,OAAO,UAAU,oDAAoD,EACrE,OAAO,UAAU,gGAAgG,EACjH,OAAO,kBAAkB,yEAAyE,EAClG,OAAO,YAAY,oEAAoE,EACvF,OAAO,oBAAoB,2CAA2C,EACtE,YAAY,4BAA4B,EACxC,OAAO,gBAAgB;EAC5B;AAEA,MAAI,eAAe,UAAU,GAAG;AAC9B,YACG,QAAQ,UAAU,EAClB,OAAO,gBAAgB,mBAAmB,EAC1C,OAAO,gBAAgB,6BAA6B,EACpD,OAAO,oBAAoB,0BAA0B,EACrD,OAAO,kBAAkB,qDAAqD,EAC9E,OAAO,gBAAgB,qDAAqD,EAC5E,OAAO,eAAe,2CAA2C,EACjE,OAAO,aAAa,+DAA+D,EACnF,OAAO,UAAU,qDAAqD,EACtE,OAAO,mBAAmB,mFAAmF,EAC7G,YAAY,oCAAoC,EAChD,OAAO,iBAAiB;EAC7B;AACF;AAEO,IAAM,6BAA6B;EACxC;EACA;;",
6
6
  "names": []
7
7
  }
@@ -7,11 +7,11 @@ import {
7
7
  normalizeCreateOptions,
8
8
  normalizeUpdateOptions,
9
9
  readOptionString
10
- } from "./chunk-6XTSYPPO.js";
10
+ } from "./chunk-PJPZTE7P.js";
11
11
  import {
12
12
  CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
13
13
  UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
14
- } from "./chunk-YCVWWIKY.js";
14
+ } from "./chunk-TR2C6V5T.js";
15
15
  import {
16
16
  splitCommaList
17
17
  } from "./chunk-5HIZDR5A.js";
@@ -19,14 +19,14 @@ import {
19
19
  printError,
20
20
  printResult,
21
21
  writeStdout
22
- } from "./chunk-SY75LYXR.js";
22
+ } from "./chunk-C6XSTACC.js";
23
23
  import {
24
24
  PmCliError
25
- } from "./chunk-YNCFP5AR.js";
25
+ } from "./chunk-BPJ5NYSJ.js";
26
26
  import {
27
27
  BUILTIN_ITEM_TYPE_VALUES,
28
28
  EXIT_CODE
29
- } from "./chunk-LCFJ7XAM.js";
29
+ } from "./chunk-2BVD4ZD2.js";
30
30
 
31
31
  // dist/cli/register-mutation.js
32
32
  import { Option } from "commander";
@@ -480,7 +480,7 @@ async function runCreateAction(typeOrTitle, secondTitle, options, command) {
480
480
  delete options.bodyFile;
481
481
  }
482
482
  const normalized = normalizeCreateOptions(options, { requireType: false });
483
- const { runCreate } = await import("./create-AZXCUYKP.js");
483
+ const { runCreate } = await import("./create-AMBMYP6F.js");
484
484
  const result = await runCreate(normalized, globalOptions);
485
485
  await invalidateSearchCachesForMutation(globalOptions, result);
486
486
  printResult(result, globalOptions);
@@ -513,7 +513,7 @@ function buildCloseManyListOptions(options) {
513
513
  async function runCloseManyAction(options, command) {
514
514
  const globalOptions = getGlobalOptions(command);
515
515
  const startedAt = Date.now();
516
- const { runCloseMany } = await import("./close-many-3L2RXH3M.js");
516
+ const { runCloseMany } = await import("./close-many-X4YKS3RO.js");
517
517
  const result = await runCloseMany({
518
518
  status: readOptionString(options, "filterStatus"),
519
519
  list: buildCloseManyListOptions(options),
@@ -538,7 +538,7 @@ async function runCloseManyAction(options, command) {
538
538
  async function runUpdateManyAction(options, command) {
539
539
  const globalOptions = getGlobalOptions(command);
540
540
  const startedAt = Date.now();
541
- const { runUpdateMany } = await import("./update-many-G4SM7BHC.js");
541
+ const { runUpdateMany } = await import("./update-many-34AIU6W7.js");
542
542
  const result = await runUpdateMany({
543
543
  status: readOptionString(options, "filterStatus"),
544
544
  list: buildUpdateManyListOptions(options),
@@ -556,7 +556,7 @@ async function runUpdateManyAction(options, command) {
556
556
  async function runCloseAction(id, text, options, command) {
557
557
  const globalOptions = getGlobalOptions(command);
558
558
  const startedAt = Date.now();
559
- const { runClose } = await import("./close-Z3Q4U7TS.js");
559
+ const { runClose } = await import("./close-E3RLZSP2.js");
560
560
  const reasonFromOption = typeof options.reason === "string" && options.reason.trim().length > 0 && options.reason || typeof options.closeReason === "string" && options.closeReason.trim().length > 0 && options.closeReason || void 0;
561
561
  const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
562
562
  const result = await runClose(id, resolvedText, {
@@ -641,7 +641,7 @@ function parsePlanReorderTo(normalizedSubcommand, reorderToken) {
641
641
  async function runPlanAction(subcommand, id, stepRef, reorderToken, options, command) {
642
642
  const globalOptions = getGlobalOptions(command);
643
643
  const startedAt = Date.now();
644
- const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-OSCNYFGC.js");
644
+ const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-MK2QY3GA.js");
645
645
  const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
646
646
  assertKnownPlanSubcommand(subcommand, normalizedSubcommand, PLAN_SUBCOMMANDS);
647
647
  const planOptions = normalizePlanAliases(options);
@@ -676,7 +676,7 @@ function parseNonNegativeIntFlag(raw, flag) {
676
676
  async function runHistoryCompactAction(id, options, command) {
677
677
  const globalOptions = getGlobalOptions(command);
678
678
  const startedAt = Date.now();
679
- const { runHistoryCompact, runHistoryCompactBulk, assertHistoryCompactTarget } = await import("./history-compact-NEXRPP2O.js");
679
+ const { runHistoryCompact, runHistoryCompactBulk, assertHistoryCompactTarget } = await import("./history-compact-GWQ4UOEI.js");
680
680
  const ids = typeof options.ids === "string" ? splitCommaList(options.ids) : void 0;
681
681
  const allOver = parseNonNegativeIntFlag(options.allOver, "--all-over");
682
682
  const minEntries = parseNonNegativeIntFlag(options.minEntries, "--min-entries");
@@ -727,7 +727,7 @@ function splitCollectedCommaList(raw) {
727
727
  async function runSchemaAction(subcommand, name, options, command) {
728
728
  const globalOptions = getGlobalOptions(command);
729
729
  const startedAt = Date.now();
730
- const schemaModule = await import("./schema-DAGSYO6E.js");
730
+ const schemaModule = await import("./schema-DGSTYYQB.js");
731
731
  const { SCHEMA_SUBCOMMANDS } = schemaModule;
732
732
  let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
733
733
  let typeName = name;
@@ -807,7 +807,7 @@ async function runCommentsAction(id, text, options, command) {
807
807
  const globalOptions = getGlobalOptions(command);
808
808
  const startedAt = Date.now();
809
809
  const sources = resolveCommentSources(text, options);
810
- const { runComments } = await import("./comments-HGHC2PN6.js");
810
+ const { runComments } = await import("./comments-ZNOD5PTV.js");
811
811
  const result = await runComments(id, {
812
812
  add: sources.add,
813
813
  stdin: sources.readFromStdin,
@@ -831,7 +831,7 @@ async function runCommentsAction(id, text, options, command) {
831
831
  async function runCopyAction(id, options, command) {
832
832
  const globalOptions = getGlobalOptions(command);
833
833
  const startedAt = Date.now();
834
- const { runCopy } = await import("./copy-UGMUGHZA.js");
834
+ const { runCopy } = await import("./copy-F7BUFY4J.js");
835
835
  const result = await runCopy(id, {
836
836
  title: readOptionString(options, "title"),
837
837
  author: readOptionString(options, "author"),
@@ -846,7 +846,7 @@ async function runCopyAction(id, options, command) {
846
846
  async function runFocusAction(id, options, command) {
847
847
  const globalOptions = getGlobalOptions(command);
848
848
  const startedAt = Date.now();
849
- const { runFocus } = await import("./focus-SUTMKXGX.js");
849
+ const { runFocus } = await import("./focus-N2QGNS5D.js");
850
850
  const result = await runFocus(id, { clear: options.clear === true }, globalOptions);
851
851
  printResult(result, globalOptions);
852
852
  if (globalOptions.profile) {
@@ -860,7 +860,7 @@ async function runUpdateAction(id, options, command) {
860
860
  options.body = await resolveBodyFileContent(options.bodyFile, options.body !== void 0 ? String(options.body) : void 0);
861
861
  delete options.bodyFile;
862
862
  }
863
- const { runUpdate } = await import("./update-CJGG5WMV.js");
863
+ const { runUpdate } = await import("./update-SDIRJGSY.js");
864
864
  const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
865
865
  await invalidateSearchCachesForMutation(globalOptions, result);
866
866
  printResult(result, globalOptions);
@@ -871,7 +871,7 @@ async function runUpdateAction(id, options, command) {
871
871
  async function runDeleteAction(id, options, command) {
872
872
  const globalOptions = getGlobalOptions(command);
873
873
  const startedAt = Date.now();
874
- const { runDelete } = await import("./delete-Y6SXIQ4X.js");
874
+ const { runDelete } = await import("./delete-6KQHZYIP.js");
875
875
  const result = await runDelete(id, {
876
876
  author: readOptionString(options, "author"),
877
877
  message: readOptionString(options, "message"),
@@ -911,7 +911,7 @@ function resolveAppendBody(text, options) {
911
911
  async function runAppendAction(id, text, options, command) {
912
912
  const globalOptions = getGlobalOptions(command);
913
913
  const startedAt = Date.now();
914
- const { runAppend } = await import("./append-F7WPGIQL.js");
914
+ const { runAppend } = await import("./append-CDPAYYSB.js");
915
915
  const result = await runAppend(id, {
916
916
  body: resolveAppendBody(text, options),
917
917
  author: readOptionString(options, "author"),
@@ -927,7 +927,7 @@ async function runAppendAction(id, text, options, command) {
927
927
  async function runRestoreAction(id, target, options, command) {
928
928
  const globalOptions = getGlobalOptions(command);
929
929
  const startedAt = Date.now();
930
- const { runRestore } = await import("./restore-LFAMMRYZ.js");
930
+ const { runRestore } = await import("./restore-EX4UUZL6.js");
931
931
  const result = await runRestore(id, target, {
932
932
  author: readOptionString(options, "author"),
933
933
  message: readOptionString(options, "message"),
@@ -942,7 +942,7 @@ async function runRestoreAction(id, target, options, command) {
942
942
  async function runProfileAction(subcommand, name, options, command) {
943
943
  const globalOptions = getGlobalOptions(command);
944
944
  const startedAt = Date.now();
945
- const profileModule = await import("./profile-TIGLAKJ7.js");
945
+ const profileModule = await import("./profile-HTBFINKQ.js");
946
946
  const { PROFILE_SUBCOMMANDS } = profileModule;
947
947
  const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
948
948
  if (!normalizedSubcommand) {
@@ -971,7 +971,7 @@ async function runNotesAction(id, text, options, command) {
971
971
  const globalOptions = getGlobalOptions(command);
972
972
  const startedAt = Date.now();
973
973
  const add = resolveSingleTextSource("note", text, options);
974
- const { runNotes } = await import("./notes-73WE2UV2.js");
974
+ const { runNotes } = await import("./notes-BGG7VL72.js");
975
975
  const result = await runNotes(id, {
976
976
  add,
977
977
  limit: readOptionString(options, "limit"),
@@ -992,7 +992,7 @@ async function runLearningsAction(id, text, options, command) {
992
992
  const globalOptions = getGlobalOptions(command);
993
993
  const startedAt = Date.now();
994
994
  const add = resolveSingleTextSource("learning", text, options);
995
- const { runLearnings } = await import("./learnings-M64NTSOR.js");
995
+ const { runLearnings } = await import("./learnings-YYY3U2Y7.js");
996
996
  const result = await runLearnings(id, {
997
997
  add,
998
998
  limit: readOptionString(options, "limit"),
@@ -1019,7 +1019,7 @@ async function runFilesAction(id, options, command) {
1019
1019
  const addGlobValues = readStringArrayOption(options, "addGlob");
1020
1020
  const removeValues = readStringArrayOption(options, "remove");
1021
1021
  const migrateValues = readStringArrayOption(options, "migrate");
1022
- const { runFiles } = await import("./files-72HZEBOE.js");
1022
+ const { runFiles } = await import("./files-H5YCA74Z.js");
1023
1023
  const result = await runFiles(id, {
1024
1024
  add: addValues,
1025
1025
  addGlob: addGlobValues,
@@ -1046,7 +1046,7 @@ async function runFilesDiscoverAction(id, options, command) {
1046
1046
  const globalOptions = getGlobalOptions(command);
1047
1047
  const startedAt = Date.now();
1048
1048
  const mergedOptions = { ...command.optsWithGlobals(), ...options };
1049
- const { runFilesDiscover } = await import("./files-72HZEBOE.js");
1049
+ const { runFilesDiscover } = await import("./files-H5YCA74Z.js");
1050
1050
  const result = await runFilesDiscover(id, {
1051
1051
  apply: Boolean(mergedOptions.apply),
1052
1052
  note: readOptionString(mergedOptions, "note"),
@@ -1070,7 +1070,7 @@ async function runDocsAction(id, options, command) {
1070
1070
  const addGlobValues = readStringArrayOption(options, "addGlob");
1071
1071
  const removeValues = readStringArrayOption(options, "remove");
1072
1072
  const migrateValues = readStringArrayOption(options, "migrate");
1073
- const { runDocs } = await import("./docs-VNPBZXEL.js");
1073
+ const { runDocs } = await import("./docs-WCVYY6I7.js");
1074
1074
  const result = await runDocs(id, {
1075
1075
  add: addValues,
1076
1076
  addGlob: addGlobValues,
@@ -1095,7 +1095,7 @@ async function runDocsAction(id, options, command) {
1095
1095
  async function runDepsAction(id, options, command) {
1096
1096
  const globalOptions = getGlobalOptions(command);
1097
1097
  const startedAt = Date.now();
1098
- const { runDeps } = await import("./deps-FMANWFRP.js");
1098
+ const { runDeps } = await import("./deps-CVDY7FFK.js");
1099
1099
  const result = await runDeps(id, {
1100
1100
  format: options.format,
1101
1101
  maxDepth: readOptionString(options, "maxDepth"),
@@ -1197,7 +1197,7 @@ function registerMutationCommands(program) {
1197
1197
  program.command("history-redact").argument("<id>", "Item id").option("--literal <value>", "Literal string to redact (repeatable)", collect).option("--regex <value>", "Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)", collect).option("--replacement <value>", 'Replacement string (default: "[redacted]")').option("--dry-run", "Preview redaction impact without writing item/history files").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the redaction marker entry").option("--force", "Force ownership/lock override").description("Redact sensitive literals/patterns from an item history stream and recompute hashes.").action(async (id, options, command) => {
1198
1198
  const globalOptions = getGlobalOptions(command);
1199
1199
  const startedAt = Date.now();
1200
- const { runHistoryRedact } = await import("./history-redact-WQJBZ3PX.js");
1200
+ const { runHistoryRedact } = await import("./history-redact-4GJOLXCM.js");
1201
1201
  const literal = Array.isArray(options.literal) ? options.literal : void 0;
1202
1202
  const regex = Array.isArray(options.regex) ? options.regex : void 0;
1203
1203
  const result = await runHistoryRedact(id, {
@@ -1220,7 +1220,7 @@ function registerMutationCommands(program) {
1220
1220
  program.command("history-repair").argument("[id]", "Item id (omit with --all)").option("--all", "Scan every stream for drift and repair each drifted stream in one audited pass").option("--dry-run", "Preview the re-anchor impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the repair marker entry").option("--force", "Force ownership/lock override").description("Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker. Use --all to repair every drifted stream.").action(async (id, options, command) => {
1221
1221
  const globalOptions = getGlobalOptions(command);
1222
1222
  const startedAt = Date.now();
1223
- const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-CBHMHAJO.js");
1223
+ const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-HVCVCGUF.js");
1224
1224
  const all = options.all === true;
1225
1225
  assertHistoryRepairTarget(id, all);
1226
1226
  const repairOptions = {
@@ -1265,4 +1265,4 @@ export {
1265
1265
  registerCommanderOptionContracts,
1266
1266
  registerMutationCommands
1267
1267
  };
1268
- //# sourceMappingURL=register-mutation-XX4H56PE.js.map
1268
+ //# sourceMappingURL=register-mutation-L5Q7AUDN.js.map