@unbrained/pm-cli 2026.11.14 → 2026.11.16

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 (281) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/README.md +1 -1
  3. package/dist/cli/error-guidance.js +2 -2
  4. package/dist/cli/extension-command-help.js +2 -2
  5. package/dist/cli/help-content.js +2 -2
  6. package/dist/cli/register-operations.js +1 -1
  7. package/dist/cli-bundle/bundle-manifest.json +1 -1
  8. package/dist/cli-bundle/chunks/{chunk-UJMQP2HP.js → chunk-2D26HRXB.js} +2 -2
  9. package/dist/cli-bundle/chunks/{chunk-EXO4PM5J.js → chunk-2WNORBVN.js} +86 -71
  10. package/dist/cli-bundle/chunks/chunk-4I7YG3VZ.js +3 -0
  11. package/dist/cli-bundle/chunks/chunk-4WIVCOA7.js +2 -0
  12. package/dist/cli-bundle/chunks/chunk-A3WCP4TU.js +6 -0
  13. package/dist/cli-bundle/chunks/chunk-AB5S6TWE.js +124 -0
  14. package/dist/cli-bundle/chunks/chunk-BV7J3LRH.js +114 -0
  15. package/dist/cli-bundle/chunks/{chunk-AXTUB74T.js → chunk-DZWRNL6R.js} +2 -2
  16. package/dist/cli-bundle/chunks/chunk-E4BQRZF2.js +10 -0
  17. package/dist/cli-bundle/chunks/chunk-ERD2RYWM.js +31 -0
  18. package/dist/cli-bundle/chunks/chunk-F7P42FL5.js +9 -0
  19. package/dist/cli-bundle/chunks/{chunk-547OEGDR.js → chunk-FZ4XWWLO.js} +25 -25
  20. package/dist/cli-bundle/chunks/{chunk-65SBMIK6.js → chunk-I3T2FVUA.js} +2 -2
  21. package/dist/cli-bundle/chunks/chunk-IGEBFNWE.js +2 -0
  22. package/dist/cli-bundle/chunks/chunk-IYICNCK2.js +2 -0
  23. package/dist/cli-bundle/chunks/chunk-J257NZRD.js +20 -0
  24. package/dist/cli-bundle/chunks/chunk-JD3XWF66.js +3 -0
  25. package/dist/cli-bundle/chunks/chunk-JLHD7OQ2.js +2 -0
  26. package/dist/cli-bundle/chunks/{chunk-V2OAXGHK.js → chunk-KGOGLKL2.js} +2 -2
  27. package/dist/cli-bundle/chunks/chunk-LC4DJVXR.js +2 -0
  28. package/dist/cli-bundle/chunks/chunk-NHNM3GIP.js +3 -0
  29. package/dist/cli-bundle/chunks/{chunk-RSAN2YUU.js → chunk-NYN5OR2T.js} +2 -2
  30. package/dist/cli-bundle/chunks/chunk-OFZQEQ6X.js +2 -0
  31. package/dist/cli-bundle/chunks/chunk-QGL5IAP4.js +8 -0
  32. package/dist/cli-bundle/chunks/chunk-R24NZ2TB.js +8 -0
  33. package/dist/cli-bundle/chunks/chunk-VJLZHOTP.js +2 -0
  34. package/dist/cli-bundle/chunks/chunk-VO2HSB5F.js +2 -0
  35. package/dist/cli-bundle/chunks/{indexed-receipt-blobs-I6RQGD6Y.js → indexed-receipt-blobs-HNLN6UXH.js} +2 -2
  36. package/dist/cli-bundle/chunks/item-revision-PSOL5I4H.js +2 -0
  37. package/dist/cli-bundle/chunks/item-transaction-55QTCU2M.js +2 -0
  38. package/dist/cli-bundle/chunks/mutation-actor-BDBBH3ZS.js +2 -0
  39. package/dist/cli-bundle/chunks/mutation-admission-WUN7JYVJ.js +2 -0
  40. package/dist/cli-bundle/chunks/{register-list-query-MCNOV6ML.js → register-list-query-AESCVO6H.js} +2 -2
  41. package/dist/cli-bundle/chunks/{register-mutation-KYXLYHOK.js → register-mutation-SKCEP5QU.js} +3 -3
  42. package/dist/cli-bundle/chunks/register-operations-ZT4OYCF3.js +2 -0
  43. package/dist/cli-bundle/chunks/register-setup-JVWNS2TY.js +2 -0
  44. package/dist/cli-bundle/chunks/{settlement-hook-JHXLUBEN.js → settlement-hook-MVVVUIVZ.js} +2 -2
  45. package/dist/cli-bundle/chunks/stage-RMU3JAWM.js +2 -0
  46. package/dist/cli-bundle/focused-chunks/chunk-3WVMEA2A.js +6 -0
  47. package/dist/cli-bundle/focused-chunks/chunk-5UVJOAUP.js +91 -0
  48. package/dist/cli-bundle/focused-chunks/chunk-5WQ3LNUK.js +78 -0
  49. package/dist/cli-bundle/focused-chunks/chunk-6E4X7MQA.js +26 -0
  50. package/dist/cli-bundle/focused-chunks/{chunk-IDAYTYNN.js → chunk-7SEPCQV2.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/{chunk-EXCVUBAE.js → chunk-7XHE335U.js} +2 -2
  52. package/dist/cli-bundle/focused-chunks/chunk-BEHIMEV2.js +2 -0
  53. package/dist/cli-bundle/focused-chunks/chunk-CZFZCSOX.js +2 -0
  54. package/dist/cli-bundle/focused-chunks/{chunk-TA4EGVE6.js → chunk-DFBHW7HP.js} +3 -3
  55. package/dist/cli-bundle/focused-chunks/chunk-DZMP3VYQ.js +26 -0
  56. package/dist/cli-bundle/focused-chunks/chunk-HHMMIHZP.js +2 -0
  57. package/dist/cli-bundle/focused-chunks/chunk-HPC2M6JD.js +6 -0
  58. package/dist/cli-bundle/focused-chunks/{chunk-EAYRYXA6.js → chunk-HR5FEUUL.js} +2 -2
  59. package/dist/cli-bundle/focused-chunks/chunk-J7ESCE7M.js +24 -0
  60. package/dist/cli-bundle/focused-chunks/chunk-KRNF3WTC.js +3 -0
  61. package/dist/cli-bundle/focused-chunks/chunk-KWZLY35A.js +2 -0
  62. package/dist/cli-bundle/focused-chunks/chunk-M4IA4LC6.js +8 -0
  63. package/dist/cli-bundle/focused-chunks/{chunk-3SUKWYR2.js → chunk-NASE6JC2.js} +2 -2
  64. package/dist/cli-bundle/focused-chunks/chunk-ONM2R32I.js +65 -0
  65. package/dist/cli-bundle/focused-chunks/chunk-PDXSMSO5.js +3 -0
  66. package/dist/cli-bundle/focused-chunks/chunk-PEL4SQXV.js +2 -0
  67. package/dist/cli-bundle/focused-chunks/chunk-QJ647CQE.js +2 -0
  68. package/dist/cli-bundle/focused-chunks/chunk-SFATIM77.js +12 -0
  69. package/dist/cli-bundle/focused-chunks/{chunk-EH7JKGDH.js → chunk-UBBTBNUY.js} +2 -2
  70. package/dist/cli-bundle/focused-chunks/chunk-ZCN35TCK.js +2 -0
  71. package/dist/cli-bundle/focused-chunks/chunk-ZSQ2FT22.js +44 -0
  72. package/dist/cli-bundle/focused-chunks/{indexed-receipt-blobs-7XGVHYAO.js → indexed-receipt-blobs-ADMQXF3N.js} +2 -2
  73. package/dist/cli-bundle/focused-chunks/item-revision-GNKYO6GZ.js +2 -0
  74. package/dist/cli-bundle/focused-chunks/item-transaction-AUUQHR5Z.js +2 -0
  75. package/dist/cli-bundle/focused-chunks/mutation-actor-OBRD7HFZ.js +2 -0
  76. package/dist/cli-bundle/focused-chunks/mutation-admission-6TX3EOJX.js +2 -0
  77. package/dist/cli-bundle/focused-chunks/{settlement-hook-H56537UV.js → settlement-hook-5U2M75BY.js} +2 -2
  78. package/dist/cli-bundle/focused-chunks/stage-LERF2YJU.js +2 -0
  79. package/dist/cli-bundle/main.js +10 -10
  80. package/dist/cli-bundle/sdk-authoring.js +1 -1
  81. package/dist/cli-bundle/sdk-contracts.js +3 -3
  82. package/dist/cli-bundle/sdk-core.js +1 -1
  83. package/dist/cli-bundle/sdk-governance.js +1 -1
  84. package/dist/cli-bundle/sdk-graph.js +1 -1
  85. package/dist/cli-bundle/sdk-merge.js +57 -57
  86. package/dist/cli-bundle/sdk-query.js +1 -1
  87. package/dist/cli-bundle/sdk-runtime.js +1 -1
  88. package/dist/cli-bundle/sdk-testing.js +1 -1
  89. package/dist/cli-bundle/sdk.js +11 -11
  90. package/dist/core/diagnostics/remediation.js +1 -1
  91. package/dist/core/extensions/extension-hook-runtime.js +1 -1
  92. package/dist/core/extensions/extension-types.d.ts +30 -0
  93. package/dist/core/extensions/extension-types.js +1 -1
  94. package/dist/core/extensions/index.d.ts +21 -1
  95. package/dist/core/extensions/index.js +1 -1
  96. package/dist/core/extensions/mutation-actor-snapshot.js +2 -0
  97. package/dist/core/extensions/mutation-actor.js +2 -0
  98. package/dist/core/item/deferred-fields.js +2 -0
  99. package/dist/core/item/item-format-version.d.ts +8 -7
  100. package/dist/core/item/item-format-version.js +1 -1
  101. package/dist/core/item/item-format.js +2 -2
  102. package/dist/core/output/mutation-projection.js +1 -1
  103. package/dist/core/output/output.d.ts +7 -0
  104. package/dist/core/output/output.js +3 -3
  105. package/dist/core/schema/runtime-field-values.d.ts +4 -0
  106. package/dist/core/schema/runtime-field-values.js +1 -1
  107. package/dist/core/shared/errors.d.ts +22 -0
  108. package/dist/core/shared/errors.js +1 -1
  109. package/dist/core/shared/item-metadata-contract.js +1 -1
  110. package/dist/core/store/item-store.d.ts +15 -4
  111. package/dist/core/store/item-store.js +1 -1
  112. package/dist/core/telemetry/policy.d.ts +21 -2
  113. package/dist/core/telemetry/policy.js +1 -1
  114. package/dist/sdk/agent/closed-domain-contracts.js +1 -1
  115. package/dist/sdk/authoring.d.ts +1 -1
  116. package/dist/sdk/authoring.js +1 -1
  117. package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
  118. package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
  119. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +1 -1
  120. package/dist/sdk/cli-contracts/registration-helpers.js +1 -1
  121. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +1 -1
  122. package/dist/sdk/cli-contracts/runtime-contracts.js +1 -1
  123. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +1 -1
  124. package/dist/sdk/cli-contracts/tool-option-contracts.js +1 -1
  125. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
  126. package/dist/sdk/cli-contracts/tool-schema.d.ts +1 -1
  127. package/dist/sdk/cli-contracts/tool-schema.js +1 -1
  128. package/dist/sdk/completion/bash.js +1 -1
  129. package/dist/sdk/completion/fish.js +4 -1
  130. package/dist/sdk/completion/zsh.js +14 -2
  131. package/dist/sdk/extension/command-options.d.ts +23 -4
  132. package/dist/sdk/extension/command-options.js +1 -1
  133. package/dist/sdk/extension/native-command-options.js +2 -0
  134. package/dist/sdk/flag-invocation-contracts.js +1 -1
  135. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  136. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
  137. package/dist/sdk/governance/health.js +2 -2
  138. package/dist/sdk/governance/in-progress-work-health.d.ts +49 -0
  139. package/dist/sdk/governance/in-progress-work-health.js +2 -0
  140. package/dist/sdk/governance/lifecycle-dependency-cycles.d.ts +12 -0
  141. package/dist/sdk/governance/lifecycle-dependency-cycles.js +2 -0
  142. package/dist/sdk/governance/stale-work.d.ts +143 -2
  143. package/dist/sdk/governance/stale-work.js +1 -1
  144. package/dist/sdk/governance/validate-deferred-fields.js +2 -0
  145. package/dist/sdk/governance/validate.d.ts +2 -2
  146. package/dist/sdk/governance/validate.js +1 -1
  147. package/dist/sdk/governance.d.ts +1 -1
  148. package/dist/sdk/governance.js +1 -1
  149. package/dist/sdk/history-compact.js +1 -1
  150. package/dist/sdk/index.d.ts +1 -1
  151. package/dist/sdk/index.js +1 -1
  152. package/dist/sdk/item-transaction.d.ts +2 -2
  153. package/dist/sdk/item-transaction.js +1 -1
  154. package/dist/sdk/lifecycle/claim.d.ts +46 -3
  155. package/dist/sdk/lifecycle/claim.js +1 -1
  156. package/dist/sdk/lifecycle/close.js +1 -1
  157. package/dist/sdk/lifecycle/copy.js +1 -1
  158. package/dist/sdk/lifecycle/create-deferrals.js +2 -0
  159. package/dist/sdk/lifecycle/create.d.ts +6 -2
  160. package/dist/sdk/lifecycle/create.js +1 -1
  161. package/dist/sdk/lifecycle/restore.js +1 -1
  162. package/dist/sdk/lifecycle/shared-unset-fields.d.ts +7 -1
  163. package/dist/sdk/lifecycle/shared-unset-fields.js +1 -1
  164. package/dist/sdk/lifecycle/task-composition.js +1 -1
  165. package/dist/sdk/merge/three-way.d.ts +1 -1
  166. package/dist/sdk/merge/three-way.js +2 -2
  167. package/dist/sdk/ownership-source.d.ts +32 -0
  168. package/dist/sdk/ownership-source.js +1 -1
  169. package/dist/sdk/package-import-adapters.d.ts +9 -1
  170. package/dist/sdk/package-import-adapters.js +1 -1
  171. package/dist/sdk/public-surface.json +1 -1
  172. package/dist/sdk/query/complete-list.d.ts +14 -5
  173. package/dist/sdk/query/complete-list.js +1 -1
  174. package/dist/sdk/query/context.d.ts +5 -1
  175. package/dist/sdk/query/context.js +2 -2
  176. package/dist/sdk/query/list.js +1 -1
  177. package/dist/sdk/query/next.d.ts +19 -3
  178. package/dist/sdk/query/next.js +1 -1
  179. package/dist/sdk/query/projection-contracts.d.ts +6 -0
  180. package/dist/sdk/query/projection-contracts.js +1 -1
  181. package/dist/sdk/read-output/extension.js +1 -1
  182. package/dist/sdk/runtime-input.d.ts +6 -2
  183. package/dist/sdk/runtime-input.js +1 -1
  184. package/dist/sdk/runtime-primitives.d.ts +2 -2
  185. package/dist/sdk/runtime-primitives.js +1 -1
  186. package/dist/sdk/runtime.d.ts +2 -2
  187. package/dist/sdk/runtime.js +1 -1
  188. package/dist/sdk/structured-mutations.js +1 -1
  189. package/dist/sdk/testing.d.ts +15 -2
  190. package/dist/sdk/testing.js +1 -1
  191. package/dist/types.d.ts +8 -0
  192. package/dist/types.js +1 -1
  193. package/docs/AGENT_GUIDE.md +2 -0
  194. package/docs/COMMANDS.md +31 -0
  195. package/docs/CONFIGURATION.md +20 -7
  196. package/docs/EXTENSIONS.md +1 -1
  197. package/docs/LIFECYCLE_COMMANDS.md +8 -1
  198. package/docs/MUTATION_INTEGRITY.md +79 -1
  199. package/docs/SDK.md +139 -5
  200. package/docs/generated/FLAG_LEXICON_BUDGETS.md +3 -3
  201. package/marketplace.json +1 -1
  202. package/node_modules/commander/Readme.md +6 -32
  203. package/node_modules/commander/index.js +1 -1
  204. package/node_modules/commander/lib/command.js +22 -9
  205. package/node_modules/commander/lib/help.js +6 -2
  206. package/node_modules/commander/lib/option.js +1 -1
  207. package/node_modules/commander/package.json +2 -1
  208. package/node_modules/commander/typings/index.d.ts +6 -3
  209. package/node_modules/semver/classes/range.js +2 -2
  210. package/node_modules/semver/internal/constants.js +30 -0
  211. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  212. package/node_modules/semver/package.json +1 -1
  213. package/package.json +8 -5
  214. package/packages/pm-beads/package.json +1 -1
  215. package/packages/pm-calendar/extensions/calendar/command-definitions.ts +2 -0
  216. package/packages/pm-calendar/package.json +1 -1
  217. package/packages/pm-command-kit/package.json +1 -1
  218. package/packages/pm-digital-twin/package.json +1 -1
  219. package/packages/pm-governance-audit/package.json +1 -1
  220. package/packages/pm-guide-shell/package.json +1 -1
  221. package/packages/pm-kanban/package.json +1 -1
  222. package/packages/pm-lifecycle-hooks/package.json +1 -1
  223. package/packages/pm-linked-test-adapters/package.json +1 -1
  224. package/packages/pm-search-advanced/package.json +1 -1
  225. package/packages/pm-templates/package.json +1 -1
  226. package/packages/pm-todos/extensions/todos/runtime.ts +3 -0
  227. package/packages/pm-todos/package.json +1 -1
  228. package/packages/pm-vcs/package.json +1 -1
  229. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  230. package/plugins/pm-claude/package.json +1 -1
  231. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  232. package/plugins/pm-codex/package.json +1 -1
  233. package/plugins/pm-codex/plugin.json +1 -1
  234. package/runtime-dependencies.json +1 -1
  235. package/dist/cli-bundle/chunks/chunk-25BUKX4W.js +0 -2
  236. package/dist/cli-bundle/chunks/chunk-27FG6ROB.js +0 -2
  237. package/dist/cli-bundle/chunks/chunk-5TGFB34A.js +0 -2
  238. package/dist/cli-bundle/chunks/chunk-BHH65KLL.js +0 -2
  239. package/dist/cli-bundle/chunks/chunk-C7M54YV6.js +0 -122
  240. package/dist/cli-bundle/chunks/chunk-DMWL3K4A.js +0 -20
  241. package/dist/cli-bundle/chunks/chunk-DVN7CD5B.js +0 -2
  242. package/dist/cli-bundle/chunks/chunk-DZ7CWUVM.js +0 -8
  243. package/dist/cli-bundle/chunks/chunk-FRCNYOTG.js +0 -9
  244. package/dist/cli-bundle/chunks/chunk-HXECILIE.js +0 -31
  245. package/dist/cli-bundle/chunks/chunk-IDFRGH4X.js +0 -3
  246. package/dist/cli-bundle/chunks/chunk-JSTBYDLL.js +0 -3
  247. package/dist/cli-bundle/chunks/chunk-MELSYAFE.js +0 -124
  248. package/dist/cli-bundle/chunks/chunk-O4ZLEN4T.js +0 -3
  249. package/dist/cli-bundle/chunks/chunk-OTM6PXZQ.js +0 -8
  250. package/dist/cli-bundle/chunks/chunk-PC5DGK3C.js +0 -6
  251. package/dist/cli-bundle/chunks/chunk-PF3V443A.js +0 -2
  252. package/dist/cli-bundle/chunks/chunk-U2HVJVA5.js +0 -2
  253. package/dist/cli-bundle/chunks/chunk-VERRDW3Q.js +0 -2
  254. package/dist/cli-bundle/chunks/item-revision-VGIHIWZM.js +0 -2
  255. package/dist/cli-bundle/chunks/item-transaction-6OB6BGTD.js +0 -2
  256. package/dist/cli-bundle/chunks/mutation-admission-LL6SGQYU.js +0 -2
  257. package/dist/cli-bundle/chunks/register-operations-6RQF6IAE.js +0 -2
  258. package/dist/cli-bundle/chunks/register-setup-XGPOFFD3.js +0 -2
  259. package/dist/cli-bundle/chunks/stage-ZS7WNUD4.js +0 -2
  260. package/dist/cli-bundle/focused-chunks/chunk-2A4JCFMI.js +0 -2
  261. package/dist/cli-bundle/focused-chunks/chunk-2T6MQ7NP.js +0 -3
  262. package/dist/cli-bundle/focused-chunks/chunk-32QYILXW.js +0 -82
  263. package/dist/cli-bundle/focused-chunks/chunk-4WOF3Q6R.js +0 -2
  264. package/dist/cli-bundle/focused-chunks/chunk-5IQPFV4Y.js +0 -2
  265. package/dist/cli-bundle/focused-chunks/chunk-6C7NBJ7A.js +0 -26
  266. package/dist/cli-bundle/focused-chunks/chunk-7KNF6RCV.js +0 -12
  267. package/dist/cli-bundle/focused-chunks/chunk-FNLOLNPQ.js +0 -2
  268. package/dist/cli-bundle/focused-chunks/chunk-G6ERMFJ5.js +0 -3
  269. package/dist/cli-bundle/focused-chunks/chunk-HRLGC3P7.js +0 -28
  270. package/dist/cli-bundle/focused-chunks/chunk-I7A5VP5E.js +0 -65
  271. package/dist/cli-bundle/focused-chunks/chunk-JHC3X43E.js +0 -2
  272. package/dist/cli-bundle/focused-chunks/chunk-MKYNDWT3.js +0 -91
  273. package/dist/cli-bundle/focused-chunks/chunk-RDTHL44U.js +0 -2
  274. package/dist/cli-bundle/focused-chunks/chunk-UCCLV5GJ.js +0 -8
  275. package/dist/cli-bundle/focused-chunks/chunk-W3RWCLEU.js +0 -2
  276. package/dist/cli-bundle/focused-chunks/chunk-W57DSFSU.js +0 -44
  277. package/dist/cli-bundle/focused-chunks/chunk-YNYO7PMT.js +0 -26
  278. package/dist/cli-bundle/focused-chunks/item-revision-7J7WSCPC.js +0 -2
  279. package/dist/cli-bundle/focused-chunks/item-transaction-F5YMCPRB.js +0 -2
  280. package/dist/cli-bundle/focused-chunks/mutation-admission-2NRQEAOG.js +0 -2
  281. package/dist/cli-bundle/focused-chunks/stage-2KVCKOGC.js +0 -2
@@ -1,6 +1,6 @@
1
- (function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9490326e-507d-5b3e-9958-08c12afbc5ff")}catch{}})();import{parseBootstrapHelpRequest}from"./bootstrap-args.js";import{formatPmPositionalActionFlagTip,PM_POSITIONAL_ACTION_CONTRACTS,resolvePmPositionalActionContract}from"../sdk/cli-contracts/grammar-contracts.js";import{listPmCommandsForTier,measurePmCoreHelp,PM_CORE_HELP_OPTION_FLAGS,resolvePmCommandVisibilityTier}from"../sdk/agent-capability-contracts.js";import{PM_COMMAND_ALIAS_CONTRACTS,PM_RELOCATED_COMMAND_ALIASES,renderPmCommandAliasMigrationHint}from"../sdk/cli-contracts.js";const COMMAND_HELP_VISIBILITY_TIERS=new WeakMap;function setPmCommandHelpVisibilityTier(command,tier){COMMAND_HELP_VISIBILITY_TIERS.set(command,tier)}function getPmCommandHelpVisibilityTier(command){return COMMAND_HELP_VISIBILITY_TIERS.get(command)}function firstExampleOrEmpty(examples){return examples.length>0?[examples[0]]:[]}function renderCompactHelpBundle(bundle){const lines=["","Intent:",` ${bundle.why}`],compactExamples=firstExampleOrEmpty(bundle.examples);return compactExamples.length>0&&(lines.push("","Example:"),lines.push(` ${compactExamples[0]}`)),lines.push("","Need deeper rationale and more examples?"),lines.push(" Re-run with --explain."),lines.join(`
1
+ (function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="96142225-d8ca-5d01-a239-4a2fd1971550")}catch{}})();import{parseBootstrapHelpRequest}from"./bootstrap-args.js";import{formatPmPositionalActionFlagTip,PM_POSITIONAL_ACTION_CONTRACTS,resolvePmPositionalActionContract}from"../sdk/cli-contracts/grammar-contracts.js";import{listPmCommandsForTier,measurePmCoreHelp,PM_CORE_HELP_OPTION_FLAGS,resolvePmCommandVisibilityTier}from"../sdk/agent-capability-contracts.js";import{PM_COMMAND_ALIAS_CONTRACTS,PM_RELOCATED_COMMAND_ALIASES,renderPmCommandAliasMigrationHint}from"../sdk/cli-contracts.js";const COMMAND_HELP_VISIBILITY_TIERS=new WeakMap;function setPmCommandHelpVisibilityTier(command,tier){COMMAND_HELP_VISIBILITY_TIERS.set(command,tier)}function getPmCommandHelpVisibilityTier(command){return COMMAND_HELP_VISIBILITY_TIERS.get(command)}function firstExampleOrEmpty(examples){return examples.length>0?[examples[0]]:[]}function renderCompactHelpBundle(bundle){const lines=["","Intent:",` ${bundle.why}`],compactExamples=firstExampleOrEmpty(bundle.examples);return compactExamples.length>0&&(lines.push("","Example:"),lines.push(` ${compactExamples[0]}`)),lines.push("","Need deeper rationale and more examples?"),lines.push(" Re-run with --explain."),lines.join(`
2
2
  `)}function renderDetailedHelpBundle(bundle){const lines=["","Why use this command:",` ${bundle.why}`,"","Examples:",...bundle.examples.map(example=>` ${example}`)];return bundle.tips&&bundle.tips.length>0&&(lines.push("","Tips:"),lines.push(...bundle.tips.map(tip=>` - ${tip}`))),lines.join(`
3
- `)}function renderHelpBundle(bundle,detailMode){return detailMode==="detailed"?renderDetailedHelpBundle(bundle):renderCompactHelpBundle(bundle)}function normalizeHelpCommandPath(commandPath){return commandPath.trim().toLowerCase().split(/\s+/).filter(part=>part.length>0).join(" ")}const HELP_PATH_ALIASES={cal:"calendar",ctx:"context"};function findDirectChildCommand(parent,name){return parent.commands.find(entry=>entry.name()===name)??null}function findCommandByPath(root,pathParts){let current=root;for(const part of pathParts){const next=findDirectChildCommand(current,part);if(!next)return null;current=next}return current}function attachBundleByPath(root,commandPath,bundle,detailMode){const command=findCommandByPath(root,commandPath.split(" ").filter(part=>part.length>0));command&&command.addHelpText("after",renderHelpBundle(bundle,detailMode))}function resolveHelpDetailMode(argv){return argv.includes("--explain")?"detailed":"compact"}function isFullHelpDiscovery(argv){return argv.includes("--all")||argv.includes("--explain")}const HELP_BY_COMMAND_PATH={"item reopen":{why:"Reopens recurring work while archiving earlier closure evidence and declaring its current planning outcome.",examples:['pm item reopen pm-a1b2 "The failure recurred" --expected-result "The recurrence regression passes"'],tips:["Without --expected-result, follow recovery.suggested_retry_args to restore current planning before claiming the item."]},ops:{why:"Groups workspace diagnostics, quality checks, and maintenance under one discoverable command.",examples:["pm ops health --summary","pm ops validate --check-history-drift","pm ops --help"]},init:{why:"Bootstraps tracker storage and settings so all other commands can run safely.",examples:["pm init","pm init acme","pm init ./pm-sandbox --defaults","pm init --preset minimal","pm init --agent-guidance add","pm init --defaults --with-packages"],tips:["Run this once per repository before create/list/update commands.","A path-like positional (`./dir`, `/tmp/dir`) initializes that tracker path; a plain word remains an id prefix.","Rewriting id prefix, governance preset, or default author on an existing tracker requires --force.","Use --preset for non-interactive automation; omit it in a TTY to use the setup wizard.","Use --agent-guidance add to inject compact AGENTS/CLAUDE workflow guidance, or --agent-guidance status to inspect missing guidance without modifying files.","Use --with-packages when agents need bundled commands such as calendar and templates available immediately."]},config:{why:"Reads or updates project/global settings such as definition-of-done, item format, telemetry, and policy toggles.",examples:["pm config project get definition-of-done",'pm config project set definition-of-done --criterion "tests pass"',"pm config project set item-format --format toon","pm config project set sprint-release-format-policy --policy strict_error","pm config project set governance-preset --policy minimal","pm config project set governance-ownership-enforcement --policy none","pm config project set test-result-tracking --policy enabled","pm config global set telemetry-tracking --policy disabled"]},extension:{why:"Compatibility command for package-backed runtime extension lifecycle operations across project or global scope.",examples:["pm package install ./my-package --project","pm package install '*' --project","pm package doctor --project --detail summary","pm package manage --global","pm package activate sample-ext --project","pm package deactivate sample-ext --project","pm package uninstall sample-ext --global","pm package explore --project","pm package manage --global","pm package describe sample-ext --project","pm package doctor --detail deep"],tips:["Prefer pm install and pm package in new user-facing automation.","Use pm extension when maintaining existing extension-specific scripts or debugging the compatibility runtime directly.","Bundled aliases beads and todos resolve to package-shipped extension sources.","Use --gh/--github shorthand for GitHub sources and --ref to pin a branch, tag, or ref.","Install updates settings activation state automatically unless extension allowlist mode is unchanged.","Use --adopt for single-extension adoption and --adopt-all to bulk-register unmanaged installs as managed without reinstalling.","Use --manage for concise triage summaries and remediation-oriented diagnostics alongside full extension details.","Use --describe to map exactly what each loaded extension registers (commands, hooks, item types, providers, overrides) in one call.","Use --doctor for consolidated diagnostics with warning codes, remediation hints, and optional deep detail payloads."]},package:{why:"Installs, explores, manages, diagnoses, adopts, activates, deactivates, and refreshes package-backed pm runtime extensions.",examples:["pm package install npm:@scope/pm-package --project","pm package install ./my-package --project","pm package doctor --project --detail deep","pm package manage --project --runtime-probe","pm package describe --project","pm package activate sample-ext --project","pm package upgrade --packages-only --dry-run"],tips:["Prefer package vocabulary for user-facing workflows; extension vocabulary remains available for compatibility.","Use pm package describe [name] to map every surface a package registers without reading its manifest or running diagnostics.","Use pm upgrade to refresh the CLI/SDK and managed packages from their recorded sources.","Use --dry-run before upgrade when automation needs a deterministic plan."]},"package init":{why:"Generates an installable starter pm package with package metadata and a root extension entrypoint.",examples:["pm package init ./my-package","pm package init ./my-hook-package --capability hooks","pm package init ./my-search-package --capability search","pm package init ./my-sync-package --capability importers","pm package init ./my-domain-package --capability schema","pm package init ./my-output-package --capability renderers","pm package install ./my-sync-package --project","pm package doctor --project --detail summary"],tips:["Use --capability hooks for a starter after_command lifecycle reactor with runnable SDK testing coverage.","Use --capability search for a starter search provider/vector-store adapter with runnable SDK testing coverage.","Use --capability importers for paired import/export commands that move project context across systems.","Use --capability schema for a starter custom item type, field, and migration so pm models your project domain.","Use --capability renderers/parser/preflight/services for starter override surfaces (output renderer, parsed-option rewrite, pre-run gate decision, built-in service) \u2014 one runnable starter per SDK capability.","The generated package is local-install safe; add SDK runtime imports only after declaring dependencies and validating with package doctor.","Use package doctor after changes to verify activation, policy, and collision diagnostics."]},"package install":{why:"Installs pm packages from local paths, npm sources, GitHub sources, bundled aliases, or wildcard/all aliases.",examples:["pm package install ./my-package --project","pm package install npm:pm-changelog --project","pm package install --github org/repo/packages/my-pm-package --ref main"],tips:["Prefer the top-level pm install alias in scripts when only installation is needed.","Run pm package manage or pm package doctor after installing external packages."]},"package doctor":{why:"Diagnoses package activation, policy, collision, and managed-state health for project or global package scopes.",examples:["pm package doctor --project --detail summary","pm package doctor --project --detail deep --trace","pm package doctor --project --isolated --detail deep --trace"],tips:["Use --isolated (alias --ignore-global) for hermetic project smoke tests that must ignore globally installed package registrations.","Set PM_GLOBAL_PATH for a whole subprocess suite when every pm invocation must avoid machine-local global package state: PM_GLOBAL_PATH=$(mktemp -d) pm package doctor --project --detail deep --trace.","Non-isolated project diagnostics include global registrations and emit remediation when global package state can affect the result."]},"package catalog":{why:"Lists bundled first-party package catalog metadata and compact field projections.",examples:["pm package catalog --project","pm package catalog --project --fields alias,installed,install_command","pm package list --project --fields alias,package_name,category"],tips:["Use --fields for low-token package discovery in agent loops.","External npm package discovery still belongs to npm search."]},"extension init":{why:"Generates an installable starter runtime extension with manifest and entrypoint files.",examples:["pm package init ./my-extension","pm package init ./my-hook-extension --capability hooks","pm package init ./my-search-extension --capability search","pm package init ./my-sync-extension --capability importers","pm package init ./my-domain-extension --capability schema","pm package init ./my-output-extension --capability renderers","pm package --install --project ./my-sync-extension","pm package --doctor --project --detail summary"],tips:["Use --capability hooks when the extension should react to command lifecycle events.","Use --capability search when the extension should register retrieval primitives.","Use --capability importers when the extension should register project-context import/export commands.","Use --capability schema when the extension should register custom item types, fields, and migrations.","Use --capability renderers/parser/preflight/services to override pm's output rendering, parsed options, pre-run gate, or a built-in service.","Use package init for new distributable package workflows; extension init is the compatibility-level runtime scaffold."]},"extension install":{why:"Installs a compatibility runtime extension from local, npm, GitHub, bundled alias, or wildcard sources.",examples:["pm package install ./my-extension --project","pm package --install --project ./my-extension","pm package doctor --project --detail summary"],tips:["Prefer pm install or pm package install for new package-first automation."]},"extension doctor":{why:"Diagnoses compatibility extension activation, policy, collision, and managed-state health for project or global extension scopes.",examples:["pm package doctor --project --detail summary","pm package doctor --project --detail deep --trace","pm package doctor --project --isolated --detail deep --trace"],tips:["Use --isolated (alias --ignore-global) for hermetic project smoke tests that must ignore globally installed extension registrations.","Set PM_GLOBAL_PATH for a whole subprocess suite when every pm invocation must avoid machine-local global extension state: PM_GLOBAL_PATH=$(mktemp -d) pm extension doctor --project --detail deep --trace.","Prefer pm package doctor in new package-first workflows."]},"extension catalog":{why:"Compatibility view of bundled package catalog metadata.",examples:["pm package catalog --project","pm package catalog --project --fields alias,installed,install_command"],tips:["Prefer pm package catalog in new user-facing workflows."]},install:{why:"Installs a pm package into project scope by default, using local, npm, GitHub, or bundled alias sources.",examples:["pm package install '*' --project","pm package install ./packages/pm-todos --project","pm package install npm:@scope/pm-package --global","pm package install --github org/repo/packages/my-pm-package --ref main"],tips:["Installed packages are recorded in managed state and can be inspected with pm package manage."]},upgrade:{why:"Updates the global pm CLI/SDK and refreshes managed pm packages from recorded install sources.",examples:["pm package upgrade --dry-run","pm package upgrade --packages-only --project","pm package upgrade todos --dry-run","pm package upgrade --cli-only --repair","pm package upgrade --tag next --dry-run"],tips:["Omit target to include the CLI/SDK plus all managed packages in the selected scope.","Pass a target to refresh one managed package by name, directory, package name, or source.","Use --packages-only in repository automation when the global CLI should not be changed."]},create:{why:"Creates a new planning item with deterministic metadata and history.",examples:['pm create --title "Harden lock flow" --description "Improve stale lock handling" --type Task --status open --priority 1 --message "Create lock hardening task" --create-mode progressive','pm create --title "Weekly planning sync" --description "Recurring coordination meeting" --type Meeting --schedule-preset lightweight','pm create --title "Asset: Hero model" --description "Track playable model asset" --type Asset --status open --priority 1 --message "Create asset item" --type-option category=Character --dep "id=pm-epic01,kind=parent,created_at=now" --comment "created_at=now,text=Why this asset item exists." --note "created_at=now,text=Initial implementation note." --learning "created_at=now,text=Durable lesson placeholder." --file "path=src/assets/hero.glb,note=tracked asset" --test "command=node scripts/run-tests.mjs test,timeout_seconds=240" --doc "path=README.md,note=asset docs"'],tips:["Use --schedule-preset lightweight for Reminder/Meeting/Event when you want minimal required create inputs.","Use --type <value> to load type-aware policy guidance in --help output.","Bulk creation is pm item mutate --from items.jsonl (JSON Lines, array, or envelope; --upsert-key <field> makes re-runs idempotent)."]},focus:{why:"Sets a session focused item so new pm create items default their --parent to it (project management = context management).",examples:["pm focus pm-epic1","pm focus","pm focus --clear"],tips:["Focus is session-local (stored in .agents/pm/runtime/session.json, gitignored) \u2014 it never affects teammates.",'An explicit --parent on pm create always overrides the focused item; use --parent "" to create with no parent.',"A stale focused item produces the same missing-parent validation as an explicit stale --parent."]},update:{why:"Mutates existing item fields while preserving history and lock safety.",examples:['pm update pm-a1b2 --status in_progress --message "Start implementation"','pm update pm-a1b2 --unset close-reason --message "Clear stale close reason after reopen"','pm update pm-a1b2 --unset assignee --deadline +2d --message "Replan ownership and deadline"','pm update pm-a1b2 --body "Backfilled body text for legacy item" --message "Normalize missing body"'],tips:['Use "pm close <ID> <TEXT>" to close items instead of --status closed.',"When reopening from closed to a non-terminal status, update clears stale close_reason unless explicitly set via --close-reason.",'Use "pm append <ID> --body <text>" for additive notes; use update --body to replace body content.']},"update-many":{why:"Bulk-updates matched item sets with dry-run previews and rollback checkpoints for safe large-scale metadata changes.",examples:["pm update-many --filter-status open --status in_progress --dry-run",'pm update-many --filter-tag wave:7 --replace-tests --test "command=node scripts/run-tests.mjs test -- tests/core/history.spec.ts,timeout_seconds=240"','pm update-many --filter-tag governance --reviewer maintainer-review --message "Normalize reviewer metadata"',"pm update-many --rollback ckpt-abc123"],tips:["Use --dry-run first to inspect proposed changes before apply mode.","Linked-array mutation flags mirror pm update semantics (for example --replace-tests, --clear-files, and repeatable --doc/--note seeds).","Checkpoints are enabled by default for apply mode and can be restored with --rollback."]},"close-many":{why:"Bulk-closes matched items with a shared reason routed through full pm close semantics (close validation, active-child orphan checks, blocked-edge cleanup) plus dry-run previews and rollback checkpoints \u2014 unlike update-many --status closed, which bypasses close validation.",examples:['pm close-many --filter-sprint S-12 --reason "Sprint S-12 acceptance criteria met" --dry-run','pm close-many --filter-tag wave:7 --reason "Superseded by redesign" --validate-close warn','pm close-many --ids pm-a,pm-b,pm-c --reason "Closed in batch" --resolution "Verified by integration suite"',"pm close-many --rollback close-many-20260604-abc123"],tips:["At least one filter (--filter-* or --ids) is required so close-many never matches every item.","Already-terminal matches are skipped by default; pass --force to re-close them.","Use --dry-run to preview matches plus per-item skip reasons and active-child orphan warnings before applying.","Checkpoints are enabled by default for apply mode; restore with --rollback <checkpoint-id>."]},templates:{why:"Saves, lists, and inspects reusable create option bundles for repeatable workflows.",examples:['pm templates save triage-default --title "Triage item" --description "..." --type Task --status open --priority 2 --message "Seed triage template"',"pm templates list","pm templates show triage-default"],tips:["Template names are positional arguments (`pm templates save <name>` and `pm templates show <name>`), not --name flags.","Combine templates with explicit create flags; explicit flags always override template defaults."]},deps:{why:"Inspects an item dependency graph as a tree or graph payload to understand blockers and hierarchy links.",examples:["pm deps pm-a1b2","pm deps pm-a1b2 --format graph","pm deps pm-a1b2 --max-depth 2 --collapse repeated --summary"],tips:["Use --summary for lightweight counts when full graph payloads are unnecessary."]},list:{why:"Lists active items with deterministic filtering and ordering.",examples:["pm list --limit 20","pm list --type Task --priority 0 --tag release --status in_progress","pm list --compact --sort deadline --order asc","pm list --fields id,title,parent,type --sort parent --order asc"]},"list-all":{why:"Lists all item states (including terminal states) when you need full visibility.",examples:["pm list --all --limit 50","pm list --all --type Issue --include-body"]},"list-open":{why:"Shows work that is ready to claim and start.",examples:["pm list --status open --priority 0 --limit 10"]},"list-in-progress":{why:"Tracks active execution and owner progress.",examples:["pm list --status in_progress --priority 0 --limit 20"]},"list-blocked":{why:"Surfaces blocked work that needs intervention.",examples:["pm list --blocked --limit 20"]},"list-closed":{why:"Reviews completed work and closure outcomes.",examples:["pm list --status closed --limit 20 --type Task"]},"list-canceled":{why:"Audits intentionally discontinued work.",examples:["pm list --status canceled --limit 20"]},"list-draft":{why:"Finds incompletely defined items that need refinement before execution.",examples:["pm list --status draft --limit 20"]},aggregate:{why:"Runs grouped aggregation queries for governance checks such as decomposition by parent/type or triage by status/priority.",examples:["pm aggregate --group-by parent,type --count","pm aggregate --group-by type,status --count","pm aggregate --group-by parent,type --count --status open --parent pm-feature01"],tips:["Current aggregate mode is grouped counts only, so pass --count explicitly."]},guide:{why:"Routes local progressive-disclosure documentation so agents can fetch only the context they need.",examples:["pm package install guide-shell --project","pm guide","pm guide quickstart","pm guide commands --depth standard","pm guide skills --depth deep --format markdown","pm guide release --json"],tips:["Use brief depth for minimal token footprint, standard for excerpted docs, and deep for full local document rendering.","Use --list to force topic index output even when topic parsing is ambiguous."]},calendar:{why:"Provides deadline/reminder/event scheduling views for planning and coordination.",examples:["pm calendar","pm calendar --view agenda --from +0d --to +7d --tag release","pm calendar --view week --date 2026-04-06 --full-period --include deadlines,events","pm calendar --view month --tag release --format json"],tips:["Day/week/month views are anchored period windows; default mode clips the start to now unless --past or --full-period is set.","--full-period applies only to day/week/month views; use --from/--to to bound agenda windows."]},context:{why:"Builds an agent-optimized snapshot of critical active work plus near-term agenda context with progressive depth levels.",examples:["pm context","pm ctx --depth standard --limit 10","pm ctx --depth deep --tag release","pm ctx --section hierarchy --section progress --section blockers","pm context --depth standard --activity-limit 20 --stale-threshold 14d","pm context --from +0d --to +7d --format markdown --depth deep"],tips:["High-level focus contains Epics/Features and low-level focus contains Tasks/Issues/Chores/Decisions/Event/Reminder/Milestone/Meeting/Plan.","When no open or in-progress work exists, blocked items are shown as fallback context.","--depth brief (default) shows focus+agenda; standard adds hierarchy/activity/progress/workload; deep adds blockers/files/staleness/tests.","--section overrides --depth and selects specific sections: hierarchy, activity, progress, blockers, files, workload, staleness, tests.","Configure defaults via pm config project set context --default-depth standard --activity-limit 15."]},next:{why:"Answers 'what should I work on now?' with the highest-priority ready item, rationale, and ranked ready and blocked queues.",examples:["pm next","pm next --json","pm next --limit 3 --ready-only","pm next --parent pm-mpbb","pm next --tag release --format markdown"],tips:["Ready = active status, no open blockers, and no open children (a concrete leaf); the recommendation resumes in-progress work before starting new work.","An item is blocked when its scalar blocked_by or a blocked_by dependency points at a non-terminal item; the blocked list names the blockers to clear.","Containers (Epics/Features with open children) are never recommended directly \u2014 the actionable leaf beneath them is.","Use --parent to scope to one epic's subtree, or --ready-only to drop the blocked companion list for the tightest output."]},search:{why:"Finds relevant items by keyword, semantic, or hybrid retrieval modes.",examples:['pm search "lock stale retry" --mode keyword --limit 10','pm search "extension migration blockers" --mode hybrid --type Task --priority 0','pm search "Cross-Epic Realism Dependency Council" --mode keyword --title-exact'],tips:["Use --title-exact to require exact normalized title parity, or --phrase-exact to require full-phrase matches in item text fields.","Use --include-linked when linked docs/files/tests should influence scoring."]},eval:{why:"Measures search relevance against a curated golden-query set so retrieval regressions are caught, not guessed.",examples:["pm eval --json","pm eval --mode hybrid --k 10","pm eval --fail-under 0.6 --json","pm eval --queries ./my-eval.json --mode semantic"],tips:["Curate ground truth in <pmRoot>/search/eval-queries.json as an array of {query, relevant_ids, mode?} objects.","Wire --fail-under into CI to fail the build when aggregate nDCG@k drops below your baseline."]},reindex:{why:"Rebuilds search artifacts after large changes to item corpus or provider/vector config.",examples:["pm reindex --mode keyword","pm reindex --mode hybrid --progress --json"],tips:["Use --progress for non-interactive visibility during local embedding runs.","JSON output includes semantic stale/unchanged/embed/upsert counts so agents can gate long reindex work without parsing stderr."]},get:{why:"Shows details for one item by ID, with optional lower-token projections for agent loops.",examples:["pm get pm-a1b2","pm get pm-a1b2 --depth brief --json","pm get pm-a1b2 --fields id,title,status,parent,type --json","pm get pm-a1b2 --at 7 --fields id,title,status,body --json"],tips:["Default depth is standard for body plus linked artifacts without append-only logs; use brief for metadata-only checks or --full for complete history-heavy metadata.","Use --fields for the smallest deterministic item metadata payload when an agent only needs specific fields.","Schedule metadata is normalized under schedule; request schedule.start_at or schedule.location for narrow calendar reads.","Children are type-agnostic and include bounded deterministic samples plus continuation metadata when a parent has direct children.","Use --at <version|timestamp> for a verified read-only historical projection; reconstructed/as_of fields distinguish it from current state.","JSON output shape is { item, linked, claim_state, schedule, children }; body is nested at item.body (parity with list --include-body)."]},history:{why:"Inspect recorded mutations.",examples:["pm history pm-a1b2 --order oldest_first","pm history pm-a1b2 --full --verify"]},"history-compact":{why:"Compacts long history streams into a synthetic checkpoint while preserving replay integrity. Pass an item id for one stream, or a bulk selector (--ids/--all-over/--closed/--all-streams) to sweep many.",examples:["pm history-compact pm-a1b2 --dry-run",'pm history-compact pm-a1b2 --before 25 --message "Compact early history"',"pm history-compact --all-over 500 --dry-run","pm history-compact --closed","pm history-compact --ids pm-a1b2,pm-c3d4 --dry-run"]},activity:{why:"Reviews recent tracker-wide activity across items.",examples:["pm activity --limit 50","pm activity --full --id pm-a1b2 --limit 50","pm activity --id pm-a1b2 --op update --from -7d --to now","pm activity --json --stream rows --limit 200"],tips:["Use --stream with --json for line-delimited automation output; --from is inclusive and --to is exclusive."]},restore:{why:"Restores an item to a prior timestamp/version with history replay safety.",examples:['pm restore pm-a1b2 2026-04-01T00:00:00.000Z --message "Rollback to known-good state"']},close:{why:"Transitions work to terminal closed state with explicit rationale.",examples:['pm close pm-a1b2 "Done" --resolution "Delivered" --expected "Required outcome" --actual "Verified outcome" --release-assignment --validate-close warn','pm close pm-a1b2 "Done" --validate-close','pm close pm-a1b2 "Done" --validate-close off','pm close pm-a1b2 "Done" --validate-close strict']},delete:{why:"Removes an item while preserving history evidence and lock/ownership checks.",examples:['pm delete pm-a1b2 --message "Remove duplicate item"']},append:{why:"Adds implementation notes to body without replacing existing content.",examples:['pm append pm-a1b2 --body "Implemented retry with bounded backoff." --message "Record implementation detail"']},comments:{why:"Adds or reviews lightweight status updates linked to an item.",examples:['pm comments pm-a1b2 "Verified fix on Linux and macOS"','pm comments pm-a1b2 --add "Verified fix on Linux and macOS"','printf "%s\\n" "## Verification" "- linux pass" "- mac pass" | pm comments pm-a1b2 --stdin',"pm comments pm-a1b2 --file docs/release-evidence.md",'pm comments pm-a1b2 --add "text: verification note with commas, key-like words, and parser details"','pm comments pm-a1b2 --add "Follow-up needed after review" --force',"pm comments pm-a1b2 --limit 10"],tips:["Use exactly one comment source at a time: positional [text], --add, --stdin, or --file.","Use --force when adding comments to items currently assigned to a different owner.","When --add payload resembles CSV-like key fragments (for example text=hello,scope:project), plain-text fallback is intentional; use explicit text=..., markdown text: ..., or stdin token - for structured intent."]},notes:{why:"Adds or reviews durable implementation notes linked to an item.",examples:['pm notes pm-a1b2 --add "Investigated parser edge case and documented fallback logic."','pm notes pm-a1b2 --add "text: parser rationale with commas, colons, and key-like wording"','pm notes pm-a1b2 --edit 1 --add "Corrected durable note"',"pm notes pm-a1b2 --delete 2","pm notes pm-a1b2 --limit 10"],tips:["CSV-like add payloads with extra key fragments are treated as plain text by design; use explicit text keys (text= or text:) when structured parsing is required."]},learnings:{why:"Adds or reviews post-implementation learnings for future work.",examples:['pm learnings pm-a1b2 --add "Avoid direct test-runner commands in linked tests; use sandbox runner."','pm learnings pm-a1b2 --add "text: lesson with commas, key-like words, and punctuation-safe context"',"pm learnings pm-a1b2 --edit 1 --file docs/corrected-learning.md","pm learnings pm-a1b2 --delete 2","pm learnings pm-a1b2 --limit 10"],tips:["If you intended structured parsing for a key-like payload, prefer explicit text=..., markdown text: ..., or stdin token -; ambiguous CSV-like forms intentionally remain plain text."]},files:{why:"Associates changed source files with tracker items for reproducibility.",examples:['pm files pm-a1b2 --add "path=src/cli/main.ts,note=help orchestration"','pm files pm-a1b2 --add src/cli/main.ts --note "help orchestration"',"pm files discover pm-a1b2",'pm files discover pm-a1b2 --apply --note "discovered from item text"']},docs:{why:"Associates relevant documentation paths with tracker items.",examples:['pm docs pm-a1b2 --add "path=README.md,note=user-facing command guidance"','pm docs pm-a1b2 --add README.md --note "user-facing command guidance"']},test:{why:"Links test commands/paths and optionally executes them for one item.",examples:['pm test pm-a1b2 --add "command=node scripts/run-tests.mjs test -- tests/unit/output.spec.ts,timeout_seconds=2400"','pm test pm-a1b2 --add "command=pm list --all --type Task --limit 200,assert_stdout_contains=count:,assert_stdout_regex=count:\\s+\\d+"','pm test pm-a1b2 --add "command=pm list --all --type Task --limit 200,pm_context_mode=auto"',"pm test pm-a1b2 --run --timeout 2400 --env-set PORT=0 --env-clear PLAYWRIGHT_BASE_URL --shared-host-safe --pm-context tracker --fail-on-context-mismatch --fail-on-skipped","pm test pm-a1b2 --run --timeout 2400 --pm-context auto","pm test pm-a1b2 --run --background --timeout 2400 --progress"]},"test-all":{why:"Runs linked tests in bulk for release/readiness sweeps.",examples:["pm test-all --status in_progress --limit 5 --offset 10 --timeout 2400","pm test-all --status closed --timeout 3600 --progress --env-set PORT=0 --shared-host-safe --fail-on-skipped","pm test-all --status in_progress --pm-context tracker --fail-on-context-mismatch --require-assertions-for-pm","pm test-all --status in_progress --pm-context auto --fail-on-context-mismatch","pm test-all --status in_progress --background --timeout 3600"]},"test-runs":{why:"Manages background linked-test runs with lifecycle controls and log/status inspection.",examples:["pm test-runs list --status running --limit 20","pm test-runs status tr-abc123","pm test-runs logs tr-abc123 --stream stderr --tail 200","pm test-runs stop tr-abc123","pm test-runs resume tr-abc123"]},stats:{why:"Reports tracker-level totals and distribution by type/status.",examples:["pm stats","pm stats --json"]},telemetry:{why:"Inspects and manages local telemetry queue/runtime state for observability diagnostics.",examples:["pm telemetry status","pm telemetry stats --limit 10","pm telemetry flush","pm telemetry clear"]},health:{why:"Validates tracker/runtime health including extension triage, migration, and integrity diagnostics.",examples:["pm health","pm health --check-only --summary --json","pm health --brief --json","pm health --no-refresh","pm health --refresh-vectors"]},validate:{why:"Runs standalone metadata, resolution, lifecycle (including dependency-cycle diagnostics), linked-file, linked-command reference, and history drift checks with default remediation hints for resolution gaps.",examples:["pm validate","pm validate --check-resolution --json","pm validate --check-lifecycle --dependency-cycle-severity error","pm validate --check-lifecycle --parent-cycle-severity error","pm validate --check-files --scan-mode tracked-all","pm validate --check-files --scan-mode tracked-all-strict --include-pm-internals","pm validate --check-command-references","pm validate --check-resolution --fail-on-warn --json"],tips:["Resolution-gap warnings include default `pm update <id> ...` remediation hint templates in check details."]},gc:{why:"Deletes optional cache artifacts by default to keep local tracker state tidy; use --dry-run to preview targets without deleting files.",examples:["pm gc --dry-run","pm gc"]},claim:{why:"Claims an item to signal active ownership and reduce conflicts.",examples:["pm claim pm-a1b2 --start",'pm claim pm-a1b2 --force --message "Take over terminal item"','pm claim pm-a1b2 --author "release-service" --message "Explicit non-agent identity override"'],tips:["Claim is an atomic test-and-set: a non-terminal item held by another principal refuses with already_claimed_by. Use --if-available to skip that item without failing. Terminal items still require --force, even when --if-available is set. Use --force for coordinated takeovers; stale locks require --force only when governance.force_required_for_stale_lock is enabled.","Harness identity is automatic; use --author only to assert an intentional external principal."]},release:{why:"Releases an active claim when paused, handed off, or completed.",examples:["pm release pm-a1b2 --pause",'pm release pm-a1b2 --handoff review --message "Implemented; run linked verification"'],tips:["Register the project queue with pm schema add-status review --role active before using --handoff."]},"start-task":{why:"Lifecycle alias that claims an item and sets status to in_progress.",examples:['pm claim --start pm-a1b2 --message "Start implementation"']},"pause-task":{why:"Lifecycle alias that sets status to open and releases active assignment.",examples:['pm release --pause pm-a1b2 --message "Pause for dependency unblock"']},"close-task":{why:"Lifecycle alias that closes with reason text and clears assignment metadata.",examples:['pm close --release-assignment pm-a1b2 "All acceptance criteria met" --message "Close and handoff"']},meet:{why:"Shortcut to create a Meeting from friendly time flags (start/duration) without structured --event CSV.",examples:['pm meet "Sprint Planning" --start +1h --duration 1h','pm meet "1:1" --start 2026-07-01T15:00:00Z --end 2026-07-01T15:30:00Z --location "Room A"'],tips:["Start defaults to now and duration to 1h; pass --end to set an explicit end instead of --duration.","--duration accepts relative tokens (h/d/w/m where m is months) plus sub-hour forms like 30min or PT30M."]},event:{why:"Shortcut to create an Event from friendly time flags (start/duration) without structured --event CSV.",examples:['pm event "Release v2" --start 2026-07-01T10:00:00Z --duration 2h','pm event "Conference" --start 2026-08-01 --all-day'],tips:["Start defaults to now and duration to 1h; pass --end to set an explicit end instead of --duration.","--duration accepts relative tokens (h/d/w/m where m is months) plus sub-hour forms like 30min or PT30M."]},remind:{why:"Shortcut to create a Reminder from a single point in time without structured --reminder CSV.",examples:['pm remind "Review PR" --at +2d','pm remind "Follow up" --at 2026-07-01T09:00:00Z --text "Ping the team"'],tips:["The reminder time defaults to +1d and the reminder text defaults to the title."]},completion:{why:"Generates shell completion scripts for faster and more reliable command entry.",examples:["pm completion bash","pm completion zsh","pm completion fish","pm completion bash --eager-tags"],tips:["Default scripts resolve tag suggestions lazily at completion time; use --eager-tags to embed current tags directly."]},contracts:{why:"Exposes machine-readable CLI command and tool schema contracts for agent integrations.",examples:["pm contracts","pm contracts --command list --runtime-only","pm contracts --command update --flags-only","pm contracts --availability-only --runtime-only","pm contracts --action create","pm contracts --schema-only"],tips:["Use --command to narrow actions/schema to one CLI surface; combine with --flags-only or --availability-only for lighter payloads."]}};for(const{alias,canonical}of PM_RELOCATED_COMMAND_ALIASES){const bundle=HELP_BY_COMMAND_PATH[alias];bundle&&(HELP_BY_COMMAND_PATH[canonical]={...bundle,examples:bundle.examples.map(example=>example.replace(`pm ${alias}`,`pm ${canonical}`))})}const ROOT_HELP_BUNDLE={why:"Provides deterministic project management workflows for humans and coding agents.",examples:["pm init","pm package install guide-shell --project","pm list --status open --limit 10",'pm create --title "..." --description "..." --type Task --status open --priority 1 --message "..." --create-mode progressive'],tips:["Use <command> --help for command-specific guidance and examples.","Install guide-shell before using pm guide for local docs and skills routing.","Use --json for machine parsing and integration flows.","Use --no-pager to force direct help output in CI and other non-interactive shells."]},deprecatedHelpAliases=PM_COMMAND_ALIAS_CONTRACTS.filter(entry=>entry.lifecycle==="deprecated");for(const contract of deprecatedHelpAliases){const bundle=HELP_BY_COMMAND_PATH[contract.alias];HELP_BY_COMMAND_PATH[contract.alias]={...bundle,why:`Deprecated: use pm ${contract.canonical_argv.join(" ")}. ${bundle.why}`}}for(const bundle of[ROOT_HELP_BUNDLE,...Object.values(HELP_BY_COMMAND_PATH)])bundle.examples=bundle.examples.map(example=>{for(const contract of deprecatedHelpAliases){const alias=contract.alias.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");example=example.replaceAll(new RegExp(`\\bpm ${alias}(?![\\w-])`,"g"),`pm ${contract.canonical_argv.join(" ")}`)}return example});function resolveCanonicalHelpPath(commandPath){const normalized=normalizeHelpCommandPath(commandPath??"");return normalized?HELP_PATH_ALIASES[normalized]??normalized:""}function resolveHelpBundleForPath(commandPath){const canonicalPath=resolveCanonicalHelpPath(commandPath);return canonicalPath?HELP_BY_COMMAND_PATH[canonicalPath]??ROOT_HELP_BUNDLE:ROOT_HELP_BUNDLE}function resolveHelpNarrative(commandPath,detailMode){const bundle=resolveHelpBundleForPath(commandPath);return{intent:bundle.why,examples:detailMode==="detailed"?[...bundle.examples]:firstExampleOrEmpty(bundle.examples),tips:detailMode==="detailed"?[...bundle.tips??[]]:[],detail_mode:detailMode}}function renderFullCommandAliasHelp(){const permanentAliases=PM_COMMAND_ALIAS_CONTRACTS.filter(({lifecycle})=>lifecycle==="permanent"),deprecatedAliases=PM_COMMAND_ALIAS_CONTRACTS.filter(({lifecycle})=>lifecycle==="deprecated");return["","Command aliases:",...permanentAliases.map(({alias,canonical_argv:canonicalArgv})=>` ${alias} -> pm ${canonicalArgv.join(" ")}`),"","Deprecated aliases:",...deprecatedAliases.map(contract=>` ${contract.alias} -> pm ${contract.canonical_argv.join(" ")} (${renderPmCommandAliasMigrationHint(contract)})`)].join(`
3
+ `)}function renderHelpBundle(bundle,detailMode){return detailMode==="detailed"?renderDetailedHelpBundle(bundle):renderCompactHelpBundle(bundle)}function normalizeHelpCommandPath(commandPath){return commandPath.trim().toLowerCase().split(/\s+/).filter(part=>part.length>0).join(" ")}const HELP_PATH_ALIASES={cal:"calendar",ctx:"context"};function findDirectChildCommand(parent,name){return parent.commands.find(entry=>entry.name()===name)??null}function findCommandByPath(root,pathParts){let current=root;for(const part of pathParts){const next=findDirectChildCommand(current,part);if(!next)return null;current=next}return current}function attachBundleByPath(root,commandPath,bundle,detailMode){const command=findCommandByPath(root,commandPath.split(" ").filter(part=>part.length>0));command&&command.addHelpText("after",renderHelpBundle(bundle,detailMode))}function resolveHelpDetailMode(argv){return argv.includes("--explain")?"detailed":"compact"}function isFullHelpDiscovery(argv){return argv.includes("--all")||argv.includes("--explain")}const HELP_BY_COMMAND_PATH={"item reopen":{why:"Reopens recurring work while archiving earlier closure evidence and declaring its current planning outcome.",examples:['pm item reopen pm-a1b2 "The failure recurred" --expected-result "The recurrence regression passes"'],tips:["Without --expected-result, follow recovery.suggested_retry_args to restore current planning before claiming the item."]},ops:{why:"Groups workspace diagnostics, quality checks, and maintenance under one discoverable command.",examples:["pm ops health --summary","pm ops validate --check-history-drift","pm ops --help"]},init:{why:"Bootstraps tracker storage and settings so all other commands can run safely.",examples:["pm init","pm init acme","pm init ./pm-sandbox --defaults","pm init --preset minimal","pm init --agent-guidance add","pm init --defaults --with-packages"],tips:["Run this once per repository before create/list/update commands.","A path-like positional (`./dir`, `/tmp/dir`) initializes that tracker path; a plain word remains an id prefix.","Rewriting id prefix, governance preset, or default author on an existing tracker requires --force.","Use --preset for non-interactive automation; omit it in a TTY to use the setup wizard.","Use --agent-guidance add to inject compact AGENTS/CLAUDE workflow guidance, or --agent-guidance status to inspect missing guidance without modifying files.","Use --with-packages when agents need bundled commands such as calendar and templates available immediately."]},config:{why:"Reads or updates project/global settings such as definition-of-done, item format, telemetry, and policy toggles.",examples:["pm config project get definition-of-done",'pm config project set definition-of-done --criterion "tests pass"',"pm config project set item-format --format toon","pm config project set sprint-release-format-policy --policy strict_error","pm config project set governance-preset --policy minimal","pm config project set governance-ownership-enforcement --policy none","pm config project set test-result-tracking --policy enabled","pm config global set telemetry-tracking --policy disabled"]},extension:{why:"Compatibility command for package-backed runtime extension lifecycle operations across project or global scope.",examples:["pm package install ./my-package --project","pm package install '*' --project","pm package doctor --project --detail summary","pm package manage --global","pm package activate sample-ext --project","pm package deactivate sample-ext --project","pm package uninstall sample-ext --global","pm package explore --project","pm package manage --global","pm package describe sample-ext --project","pm package doctor --detail deep"],tips:["Prefer pm install and pm package in new user-facing automation.","Use pm extension when maintaining existing extension-specific scripts or debugging the compatibility runtime directly.","Bundled aliases beads and todos resolve to package-shipped extension sources.","Use --gh/--github shorthand for GitHub sources and --ref to pin a branch, tag, or ref.","Install updates settings activation state automatically unless extension allowlist mode is unchanged.","Use --adopt for single-extension adoption and --adopt-all to bulk-register unmanaged installs as managed without reinstalling.","Use --manage for concise triage summaries and remediation-oriented diagnostics alongside full extension details.","Use --describe to map exactly what each loaded extension registers (commands, hooks, item types, providers, overrides) in one call.","Use --doctor for consolidated diagnostics with warning codes, remediation hints, and optional deep detail payloads."]},package:{why:"Installs, explores, manages, diagnoses, adopts, activates, deactivates, and refreshes package-backed pm runtime extensions.",examples:["pm package install npm:@scope/pm-package --project","pm package install ./my-package --project","pm package doctor --project --detail deep","pm package manage --project --runtime-probe","pm package describe --project","pm package activate sample-ext --project","pm package upgrade --packages-only --dry-run"],tips:["Prefer package vocabulary for user-facing workflows; extension vocabulary remains available for compatibility.","Use pm package describe [name] to map every surface a package registers without reading its manifest or running diagnostics.","Use pm upgrade to refresh the CLI/SDK and managed packages from their recorded sources.","Use --dry-run before upgrade when automation needs a deterministic plan."]},"package init":{why:"Generates an installable starter pm package with package metadata and a root extension entrypoint.",examples:["pm package init ./my-package","pm package init ./my-hook-package --capability hooks","pm package init ./my-search-package --capability search","pm package init ./my-sync-package --capability importers","pm package init ./my-domain-package --capability schema","pm package init ./my-output-package --capability renderers","pm package install ./my-sync-package --project","pm package doctor --project --detail summary"],tips:["Use --capability hooks for a starter after_command lifecycle reactor with runnable SDK testing coverage.","Use --capability search for a starter search provider/vector-store adapter with runnable SDK testing coverage.","Use --capability importers for paired import/export commands that move project context across systems.","Use --capability schema for a starter custom item type, field, and migration so pm models your project domain.","Use --capability renderers/parser/preflight/services for starter override surfaces (output renderer, parsed-option rewrite, pre-run gate decision, built-in service) \u2014 one runnable starter per SDK capability.","The generated package is local-install safe; add SDK runtime imports only after declaring dependencies and validating with package doctor.","Use package doctor after changes to verify activation, policy, and collision diagnostics."]},"package install":{why:"Installs pm packages from local paths, npm sources, GitHub sources, bundled aliases, or wildcard/all aliases.",examples:["pm package install ./my-package --project","pm package install npm:pm-changelog --project","pm package install --github org/repo/packages/my-pm-package --ref main"],tips:["Prefer the top-level pm install alias in scripts when only installation is needed.","Run pm package manage or pm package doctor after installing external packages."]},"package doctor":{why:"Diagnoses package activation, policy, collision, and managed-state health for project or global package scopes.",examples:["pm package doctor --project --detail summary","pm package doctor --project --detail deep --trace","pm package doctor --project --isolated --detail deep --trace"],tips:["Use --isolated (alias --ignore-global) for hermetic project smoke tests that must ignore globally installed package registrations.","Set PM_GLOBAL_PATH for a whole subprocess suite when every pm invocation must avoid machine-local global package state: PM_GLOBAL_PATH=$(mktemp -d) pm package doctor --project --detail deep --trace.","Non-isolated project diagnostics include global registrations and emit remediation when global package state can affect the result."]},"package catalog":{why:"Lists bundled first-party package catalog metadata and compact field projections.",examples:["pm package catalog --project","pm package catalog --project --fields alias,installed,install_command","pm package list --project --fields alias,package_name,category"],tips:["Use --fields for low-token package discovery in agent loops.","External npm package discovery still belongs to npm search."]},"extension init":{why:"Generates an installable starter runtime extension with manifest and entrypoint files.",examples:["pm package init ./my-extension","pm package init ./my-hook-extension --capability hooks","pm package init ./my-search-extension --capability search","pm package init ./my-sync-extension --capability importers","pm package init ./my-domain-extension --capability schema","pm package init ./my-output-extension --capability renderers","pm package --install --project ./my-sync-extension","pm package --doctor --project --detail summary"],tips:["Use --capability hooks when the extension should react to command lifecycle events.","Use --capability search when the extension should register retrieval primitives.","Use --capability importers when the extension should register project-context import/export commands.","Use --capability schema when the extension should register custom item types, fields, and migrations.","Use --capability renderers/parser/preflight/services to override pm's output rendering, parsed options, pre-run gate, or a built-in service.","Use package init for new distributable package workflows; extension init is the compatibility-level runtime scaffold."]},"extension install":{why:"Installs a compatibility runtime extension from local, npm, GitHub, bundled alias, or wildcard sources.",examples:["pm package install ./my-extension --project","pm package --install --project ./my-extension","pm package doctor --project --detail summary"],tips:["Prefer pm install or pm package install for new package-first automation."]},"extension doctor":{why:"Diagnoses compatibility extension activation, policy, collision, and managed-state health for project or global extension scopes.",examples:["pm package doctor --project --detail summary","pm package doctor --project --detail deep --trace","pm package doctor --project --isolated --detail deep --trace"],tips:["Use --isolated (alias --ignore-global) for hermetic project smoke tests that must ignore globally installed extension registrations.","Set PM_GLOBAL_PATH for a whole subprocess suite when every pm invocation must avoid machine-local global extension state: PM_GLOBAL_PATH=$(mktemp -d) pm extension doctor --project --detail deep --trace.","Prefer pm package doctor in new package-first workflows."]},"extension catalog":{why:"Compatibility view of bundled package catalog metadata.",examples:["pm package catalog --project","pm package catalog --project --fields alias,installed,install_command"],tips:["Prefer pm package catalog in new user-facing workflows."]},install:{why:"Installs a pm package into project scope by default, using local, npm, GitHub, or bundled alias sources.",examples:["pm package install '*' --project","pm package install ./packages/pm-todos --project","pm package install npm:@scope/pm-package --global","pm package install --github org/repo/packages/my-pm-package --ref main"],tips:["Installed packages are recorded in managed state and can be inspected with pm package manage."]},upgrade:{why:"Updates the global pm CLI/SDK and refreshes managed pm packages from recorded install sources.",examples:["pm package upgrade --dry-run","pm package upgrade --packages-only --project","pm package upgrade todos --dry-run","pm package upgrade --cli-only --repair","pm package upgrade --tag next --dry-run"],tips:["Omit target to include the CLI/SDK plus all managed packages in the selected scope.","Pass a target to refresh one managed package by name, directory, package name, or source.","Use --packages-only in repository automation when the global CLI should not be changed."]},create:{why:"Creates a new planning item with deterministic metadata and history.",examples:['pm create --title "Harden lock flow" --description "Improve stale lock handling" --type Task --status open --priority 1 --message "Create lock hardening task" --create-mode progressive','pm create --title "Weekly planning sync" --description "Recurring coordination meeting" --type Meeting --schedule-preset lightweight','pm create --title "Asset: Hero model" --description "Track playable model asset" --type Asset --status open --priority 1 --message "Create asset item" --type-option category=Character --dep "id=pm-epic01,kind=parent,created_at=now" --comment "created_at=now,text=Why this asset item exists." --note "created_at=now,text=Initial implementation note." --learning "created_at=now,text=Durable lesson placeholder." --file "path=src/assets/hero.glb,note=tracked asset" --test "command=node scripts/run-tests.mjs test,timeout_seconds=240" --doc "path=README.md,note=asset docs"'],tips:["Use --schedule-preset lightweight for Reminder/Meeting/Event when you want minimal required create inputs.","Use --type <value> to load type-aware policy guidance in --help output.","Bulk creation is pm item mutate --from items.jsonl (JSON Lines, array, or envelope; --upsert-key <field> makes re-runs idempotent)."]},focus:{why:"Sets a session focused item so new pm create items default their --parent to it (project management = context management).",examples:["pm focus pm-epic1","pm focus","pm focus --clear"],tips:["Focus is session-local (stored in .agents/pm/runtime/session.json, gitignored) \u2014 it never affects teammates.",'An explicit --parent on pm create always overrides the focused item; use --parent "" to create with no parent.',"A stale focused item produces the same missing-parent validation as an explicit stale --parent."]},update:{why:"Mutates existing item fields while preserving history and lock safety.",examples:['pm update pm-a1b2 --status in_progress --message "Start implementation"','pm update pm-a1b2 --unset close-reason --message "Clear stale close reason after reopen"','pm update pm-a1b2 --unset assignee --deadline +2d --message "Replan ownership and deadline"','pm update pm-a1b2 --body "Backfilled body text for legacy item" --message "Normalize missing body"'],tips:['Use "pm close <ID> <TEXT>" to close items instead of --status closed.',"When reopening from closed to a non-terminal status, update clears stale close_reason unless explicitly set via --close-reason.",'Use "pm append <ID> --body <text>" for additive notes; use update --body to replace body content.']},"update-many":{why:"Bulk-updates matched item sets with dry-run previews and rollback checkpoints for safe large-scale metadata changes.",examples:["pm update-many --filter-status open --status in_progress --dry-run",'pm update-many --filter-tag wave:7 --replace-tests --test "command=node scripts/run-tests.mjs test -- tests/core/history.spec.ts,timeout_seconds=240"','pm update-many --filter-tag governance --reviewer maintainer-review --message "Normalize reviewer metadata"',"pm update-many --rollback ckpt-abc123"],tips:["Use --dry-run first to inspect proposed changes before apply mode.","Linked-array mutation flags mirror pm update semantics (for example --replace-tests, --clear-files, and repeatable --doc/--note seeds).","Checkpoints are enabled by default for apply mode and can be restored with --rollback."]},"close-many":{why:"Bulk-closes matched items with a shared reason routed through full pm close semantics (close validation, active-child orphan checks, blocked-edge cleanup) plus dry-run previews and rollback checkpoints \u2014 unlike update-many --status closed, which bypasses close validation.",examples:['pm close-many --filter-sprint S-12 --reason "Sprint S-12 acceptance criteria met" --dry-run','pm close-many --filter-tag wave:7 --reason "Superseded by redesign" --validate-close warn','pm close-many --ids pm-a,pm-b,pm-c --reason "Closed in batch" --resolution "Verified by integration suite"',"pm close-many --rollback close-many-20260604-abc123"],tips:["At least one filter (--filter-* or --ids) is required so close-many never matches every item.","Already-terminal matches are skipped by default; pass --force to re-close them.","Use --dry-run to preview matches plus per-item skip reasons and active-child orphan warnings before applying.","Checkpoints are enabled by default for apply mode; restore with --rollback <checkpoint-id>."]},templates:{why:"Saves, lists, and inspects reusable create option bundles for repeatable workflows.",examples:['pm templates save triage-default --title "Triage item" --description "..." --type Task --status open --priority 2 --message "Seed triage template"',"pm templates list","pm templates show triage-default"],tips:["Template names are positional arguments (`pm templates save <name>` and `pm templates show <name>`), not --name flags.","Combine templates with explicit create flags; explicit flags always override template defaults."]},deps:{why:"Inspects an item dependency graph as a tree or graph payload to understand blockers and hierarchy links.",examples:["pm deps pm-a1b2","pm deps pm-a1b2 --format graph","pm deps pm-a1b2 --max-depth 2 --collapse repeated --summary"],tips:["Use --summary for lightweight counts when full graph payloads are unnecessary."]},list:{why:"Lists active items with deterministic filtering and ordering.",examples:["pm list --limit 20","pm list --type Task --priority 0 --tag release --status in_progress","pm list --compact --sort deadline --order asc","pm list --fields id,title,parent,type --sort parent --order asc"]},"list-all":{why:"Lists all item states (including terminal states) when you need full visibility.",examples:["pm list --all --limit 50","pm list --all --type Issue --include-body"]},"list-open":{why:"Shows work that is ready to claim and start.",examples:["pm list --status open --priority 0 --limit 10"]},"list-in-progress":{why:"Tracks active execution and owner progress.",examples:["pm list --status in_progress --priority 0 --limit 20"]},"list-blocked":{why:"Surfaces blocked work that needs intervention.",examples:["pm list --blocked --limit 20"]},"list-closed":{why:"Reviews completed work and closure outcomes.",examples:["pm list --status closed --limit 20 --type Task"]},"list-canceled":{why:"Audits intentionally discontinued work.",examples:["pm list --status canceled --limit 20"]},"list-draft":{why:"Finds incompletely defined items that need refinement before execution.",examples:["pm list --status draft --limit 20"]},aggregate:{why:"Runs grouped aggregation queries for governance checks such as decomposition by parent/type or triage by status/priority.",examples:["pm aggregate --group-by parent,type --count","pm aggregate --group-by type,status --count","pm aggregate --group-by parent,type --count --status open --parent pm-feature01"],tips:["Current aggregate mode is grouped counts only, so pass --count explicitly."]},guide:{why:"Routes local progressive-disclosure documentation so agents can fetch only the context they need.",examples:["pm package install guide-shell --project","pm guide","pm guide quickstart","pm guide commands --depth standard","pm guide skills --depth deep --format markdown","pm guide release --json"],tips:["Use brief depth for minimal token footprint, standard for excerpted docs, and deep for full local document rendering.","Use --list to force topic index output even when topic parsing is ambiguous."]},calendar:{why:"Provides deadline/reminder/event scheduling views for planning and coordination.",examples:["pm calendar","pm calendar --view agenda --from +0d --to +7d --tag release","pm calendar --view week --date 2026-04-06 --full-period --include deadlines,events","pm calendar --view month --tag release --format json"],tips:["Day/week/month views are anchored period windows; default mode clips the start to now unless --past or --full-period is set.","--full-period applies only to day/week/month views; use --from/--to to bound agenda windows."]},context:{why:"Builds an agent-optimized snapshot of critical active work plus near-term agenda context with progressive depth levels.",examples:["pm context","pm ctx --depth standard --limit 10","pm ctx --depth deep --tag release","pm ctx --section hierarchy --section progress --section blockers","pm context --depth standard --activity-limit 20 --stale-threshold 14d","pm context --from +0d --to +7d --format markdown --depth deep"],tips:["High-level focus contains Epics/Features and low-level focus contains Tasks/Issues/Chores/Decisions/Event/Reminder/Milestone/Meeting/Plan.","When no open or in-progress work exists, blocked items are shown as fallback context.","--depth brief (default) shows focus+agenda; standard adds hierarchy/activity/progress/workload; deep adds blockers/files/staleness/tests.","--section overrides --depth and selects specific sections: hierarchy, activity, progress, blockers, files, workload, staleness, tests.","Configure defaults via pm config project set context --default-depth standard --activity-limit 15."]},next:{why:"Answers 'what should I work on now?' with the highest-priority ready item, rationale, and ranked ready and blocked queues.",examples:["pm next","pm next --json","pm next --limit 3 --ready-only","pm next --parent pm-mpbb","pm next --tag release --format markdown"],tips:["Ready = active status, no open blockers, and no open children (a concrete leaf); the recommendation resumes in-progress work before starting new work.","An item is blocked when its scalar blocked_by or a blocked_by dependency points at a non-terminal item; the blocked list names the blockers to clear.","Containers (Epics/Features with open children) are never recommended directly \u2014 the actionable leaf beneath them is.","Use --parent to scope to one epic's subtree, or --ready-only to drop the blocked companion list for the tightest output."]},search:{why:"Finds relevant items by keyword, semantic, or hybrid retrieval modes.",examples:['pm search "lock stale retry" --mode keyword --limit 10','pm search "extension migration blockers" --mode hybrid --type Task --priority 0','pm search "Cross-Epic Realism Dependency Council" --mode keyword --title-exact'],tips:["Use --title-exact to require exact normalized title parity, or --phrase-exact to require full-phrase matches in item text fields.","Use --include-linked when linked docs/files/tests should influence scoring."]},eval:{why:"Measures search relevance against a curated golden-query set so retrieval regressions are caught, not guessed.",examples:["pm eval --json","pm eval --mode hybrid --k 10","pm eval --fail-under 0.6 --json","pm eval --queries ./my-eval.json --mode semantic"],tips:["Curate ground truth in <pmRoot>/search/eval-queries.json as an array of {query, relevant_ids, mode?} objects.","Wire --fail-under into CI to fail the build when aggregate nDCG@k drops below your baseline."]},reindex:{why:"Rebuilds search artifacts after large changes to item corpus or provider/vector config.",examples:["pm reindex --mode keyword","pm reindex --mode hybrid --progress --json"],tips:["Use --progress for non-interactive visibility during local embedding runs.","JSON output includes semantic stale/unchanged/embed/upsert counts so agents can gate long reindex work without parsing stderr."]},get:{why:"Shows details for one item by ID, with optional lower-token projections for agent loops.",examples:["pm get pm-a1b2","pm get pm-a1b2 --depth brief --json","pm get pm-a1b2 --fields id,title,status,parent,type --json","pm get pm-a1b2 --at 7 --fields id,title,status,body --json"],tips:["Default depth is standard for body plus linked artifacts without append-only logs; use brief for metadata-only checks or --full for complete history-heavy metadata.","Use --fields for the smallest deterministic item metadata payload when an agent only needs specific fields.","Schedule metadata is normalized under schedule; request schedule.start_at or schedule.location for narrow calendar reads.","Children are type-agnostic and include bounded deterministic samples plus continuation metadata when a parent has direct children.","Use --at <version|timestamp> for a verified read-only historical projection; reconstructed/as_of fields distinguish it from current state.","JSON output shape is { item, linked, claim_state, schedule, children }; body is nested at item.body (parity with list --include-body)."]},history:{why:"Inspect recorded mutations.",examples:["pm history pm-a1b2 --order oldest_first","pm history pm-a1b2 --full --verify"]},"history-compact":{why:"Compacts long history streams into a synthetic checkpoint while preserving replay integrity. Pass an item id for one stream, or a bulk selector (--ids/--all-over/--closed/--all-streams) to sweep many.",examples:["pm history-compact pm-a1b2 --dry-run",'pm history-compact pm-a1b2 --before 25 --message "Compact early history"',"pm history-compact --all-over 500 --dry-run","pm history-compact --closed","pm history-compact --ids pm-a1b2,pm-c3d4 --dry-run"]},activity:{why:"Reviews recent tracker-wide activity across items.",examples:["pm activity --limit 50","pm activity --full --id pm-a1b2 --limit 50","pm activity --id pm-a1b2 --op update --from -7d --to now","pm activity --json --stream rows --limit 200"],tips:["Use --stream with --json for line-delimited automation output; --from is inclusive and --to is exclusive."]},restore:{why:"Restores an item to a prior timestamp/version with history replay safety.",examples:['pm restore pm-a1b2 2026-04-01T00:00:00.000Z --message "Rollback to known-good state"']},close:{why:"Transitions work to terminal closed state with explicit rationale.",examples:['pm close pm-a1b2 "Done" --resolution "Delivered" --expected "Required outcome" --actual "Verified outcome" --release-assignment --validate-close warn','pm close pm-a1b2 "Done" --validate-close','pm close pm-a1b2 "Done" --validate-close off','pm close pm-a1b2 "Done" --validate-close strict']},delete:{why:"Removes an item while preserving history evidence and lock/ownership checks.",examples:['pm delete pm-a1b2 --message "Remove duplicate item"']},append:{why:"Adds implementation notes to body without replacing existing content.",examples:['pm append pm-a1b2 --body "Implemented retry with bounded backoff." --message "Record implementation detail"']},comments:{why:"Adds or reviews lightweight status updates linked to an item.",examples:['pm comments pm-a1b2 "Verified fix on Linux and macOS"','pm comments pm-a1b2 --add "Verified fix on Linux and macOS"','printf "%s\\n" "## Verification" "- linux pass" "- mac pass" | pm comments pm-a1b2 --stdin',"pm comments pm-a1b2 --file docs/release-evidence.md",'pm comments pm-a1b2 --add "text: verification note with commas, key-like words, and parser details"','pm comments pm-a1b2 --add "Follow-up needed after review" --force',"pm comments pm-a1b2 --limit 10"],tips:["Use exactly one comment source at a time: positional [text], --add, --stdin, or --file.","Use --force when adding comments to items currently assigned to a different owner.","When --add payload resembles CSV-like key fragments (for example text=hello,scope:project), plain-text fallback is intentional; use explicit text=..., markdown text: ..., or stdin token - for structured intent."]},notes:{why:"Adds or reviews durable implementation notes linked to an item.",examples:['pm notes pm-a1b2 --add "Investigated parser edge case and documented fallback logic."','pm notes pm-a1b2 --add "text: parser rationale with commas, colons, and key-like wording"','pm notes pm-a1b2 --edit 1 --add "Corrected durable note"',"pm notes pm-a1b2 --delete 2","pm notes pm-a1b2 --limit 10"],tips:["CSV-like add payloads with extra key fragments are treated as plain text by design; use explicit text keys (text= or text:) when structured parsing is required."]},learnings:{why:"Adds or reviews post-implementation learnings for future work.",examples:['pm learnings pm-a1b2 --add "Avoid direct test-runner commands in linked tests; use sandbox runner."','pm learnings pm-a1b2 --add "text: lesson with commas, key-like words, and punctuation-safe context"',"pm learnings pm-a1b2 --edit 1 --file docs/corrected-learning.md","pm learnings pm-a1b2 --delete 2","pm learnings pm-a1b2 --limit 10"],tips:["If you intended structured parsing for a key-like payload, prefer explicit text=..., markdown text: ..., or stdin token -; ambiguous CSV-like forms intentionally remain plain text."]},files:{why:"Associates changed source files with tracker items for reproducibility.",examples:['pm files pm-a1b2 --add "path=src/cli/main.ts,note=help orchestration"','pm files pm-a1b2 --add src/cli/main.ts --note "help orchestration"',"pm files discover pm-a1b2",'pm files discover pm-a1b2 --apply --note "discovered from item text"']},docs:{why:"Associates relevant documentation paths with tracker items.",examples:['pm docs pm-a1b2 --add "path=README.md,note=user-facing command guidance"','pm docs pm-a1b2 --add README.md --note "user-facing command guidance"']},test:{why:"Links test commands/paths and optionally executes them for one item.",examples:['pm test pm-a1b2 --add "command=node scripts/run-tests.mjs test -- tests/unit/output.spec.ts,timeout_seconds=2400"','pm test pm-a1b2 --add "command=pm list --all --type Task --limit 200,assert_stdout_contains=count:,assert_stdout_regex=count:\\s+\\d+"','pm test pm-a1b2 --add "command=pm list --all --type Task --limit 200,pm_context_mode=auto"',"pm test pm-a1b2 --run --timeout 2400 --env-set PORT=0 --env-clear PLAYWRIGHT_BASE_URL --shared-host-safe --pm-context tracker --fail-on-context-mismatch --fail-on-skipped","pm test pm-a1b2 --run --timeout 2400 --pm-context auto","pm test pm-a1b2 --run --background --timeout 2400 --progress"]},"test-all":{why:"Runs linked tests in bulk for release/readiness sweeps.",examples:["pm test-all --status in_progress --limit 5 --offset 10 --timeout 2400","pm test-all --status closed --timeout 3600 --progress --env-set PORT=0 --shared-host-safe --fail-on-skipped","pm test-all --status in_progress --pm-context tracker --fail-on-context-mismatch --require-assertions-for-pm","pm test-all --status in_progress --pm-context auto --fail-on-context-mismatch","pm test-all --status in_progress --background --timeout 3600"]},"test-runs":{why:"Manages background linked-test runs with lifecycle controls and log/status inspection.",examples:["pm test-runs list --status running --limit 20","pm test-runs status tr-abc123","pm test-runs logs tr-abc123 --stream stderr --tail 200","pm test-runs stop tr-abc123","pm test-runs resume tr-abc123"]},stats:{why:"Reports tracker-level totals and distribution by type/status.",examples:["pm stats","pm stats --json"]},telemetry:{why:"Inspects and manages local telemetry queue/runtime state for observability diagnostics.",examples:["pm telemetry status","pm telemetry stats --limit 10","pm telemetry flush","pm telemetry clear"]},health:{why:"Validates tracker/runtime health including extension triage, migration, and integrity diagnostics.",examples:["pm health","pm health --check-only --summary --json","pm health --brief --json","pm health --no-refresh","pm health --refresh-vectors"]},validate:{why:"Runs standalone metadata, resolution, lifecycle (including dependency-cycle diagnostics), linked-file, linked-command reference, and history drift checks with default remediation hints for resolution gaps.",examples:["pm validate","pm validate --check-resolution --json","pm validate --check-lifecycle --dependency-cycle-severity error","pm validate --check-lifecycle --parent-cycle-severity error","pm validate --check-files --scan-mode tracked-all","pm validate --check-files --scan-mode tracked-all-strict --include-pm-internals","pm validate --check-command-references","pm validate --check-resolution --fail-on-warn --json"],tips:["Resolution-gap warnings include default `pm update <id> ...` remediation hint templates in check details."]},gc:{why:"Deletes optional cache artifacts by default to keep local tracker state tidy; use --dry-run to preview targets without deleting files.",examples:["pm gc --dry-run","pm gc"]},claim:{why:"Claims an item to signal active ownership and reduce conflicts.",examples:["pm claim pm-a1b2 --start",'pm claim pm-a1b2 --takeover-stale --message "Take over an abandoned claim"','pm claim pm-a1b2 --force --message "Take over terminal item"','pm claim pm-a1b2 --author "release-service" --message "Explicit non-agent identity override"'],tips:["Claim is an atomic test-and-set: a non-terminal item held by another principal refuses with already_claimed_by. Use --if-available to skip that item without failing. Terminal items still require --force, even when --if-available is set. Use --force for coordinated takeovers; stale locks require --force only when governance.force_required_for_stale_lock is enabled.","The refusal reports the holder's claim age, last activity and idle hours. --takeover-stale takes over only a claim idle for at least mutation_guard.stale_in_progress_hours (default 72), refuses an active one with stale_claim_takeover_refused, and records the previous holder and idle time in the claim's history entry.","Harness identity is automatic; use --author only to assert an intentional external principal."]},release:{why:"Releases an active claim when paused, handed off, or completed.",examples:["pm release pm-a1b2 --pause",'pm release pm-a1b2 --handoff review --message "Implemented; run linked verification"'],tips:["Register the project queue with pm schema add-status review --role active before using --handoff."]},"start-task":{why:"Lifecycle alias that claims an item and sets status to in_progress.",examples:['pm claim --start pm-a1b2 --message "Start implementation"']},"pause-task":{why:"Lifecycle alias that sets status to open and releases active assignment.",examples:['pm release --pause pm-a1b2 --message "Pause for dependency unblock"']},"close-task":{why:"Lifecycle alias that closes with reason text and clears assignment metadata.",examples:['pm close --release-assignment pm-a1b2 "All acceptance criteria met" --message "Close and handoff"']},meet:{why:"Shortcut to create a Meeting from friendly time flags (start/duration) without structured --event CSV.",examples:['pm meet "Sprint Planning" --start +1h --duration 1h','pm meet "1:1" --start 2026-07-01T15:00:00Z --end 2026-07-01T15:30:00Z --location "Room A"'],tips:["Start defaults to now and duration to 1h; pass --end to set an explicit end instead of --duration.","--duration accepts relative tokens (h/d/w/m where m is months) plus sub-hour forms like 30min or PT30M."]},event:{why:"Shortcut to create an Event from friendly time flags (start/duration) without structured --event CSV.",examples:['pm event "Release v2" --start 2026-07-01T10:00:00Z --duration 2h','pm event "Conference" --start 2026-08-01 --all-day'],tips:["Start defaults to now and duration to 1h; pass --end to set an explicit end instead of --duration.","--duration accepts relative tokens (h/d/w/m where m is months) plus sub-hour forms like 30min or PT30M."]},remind:{why:"Shortcut to create a Reminder from a single point in time without structured --reminder CSV.",examples:['pm remind "Review PR" --at +2d','pm remind "Follow up" --at 2026-07-01T09:00:00Z --text "Ping the team"'],tips:["The reminder time defaults to +1d and the reminder text defaults to the title."]},completion:{why:"Generates shell completion scripts for faster and more reliable command entry.",examples:["pm completion bash","pm completion zsh","pm completion fish","pm completion bash --eager-tags"],tips:["Default scripts resolve tag suggestions lazily at completion time; use --eager-tags to embed current tags directly."]},contracts:{why:"Exposes machine-readable CLI command and tool schema contracts for agent integrations.",examples:["pm contracts","pm contracts --command list --runtime-only","pm contracts --command update --flags-only","pm contracts --availability-only --runtime-only","pm contracts --action create","pm contracts --schema-only"],tips:["Use --command to narrow actions/schema to one CLI surface; combine with --flags-only or --availability-only for lighter payloads."]}};for(const{alias,canonical}of PM_RELOCATED_COMMAND_ALIASES){const bundle=HELP_BY_COMMAND_PATH[alias];bundle&&(HELP_BY_COMMAND_PATH[canonical]={...bundle,examples:bundle.examples.map(example=>example.replace(`pm ${alias}`,`pm ${canonical}`))})}const ROOT_HELP_BUNDLE={why:"Provides deterministic project management workflows for humans and coding agents.",examples:["pm init","pm package install guide-shell --project","pm list --status open --limit 10",'pm create --title "..." --description "..." --type Task --status open --priority 1 --message "..." --create-mode progressive'],tips:["Use <command> --help for command-specific guidance and examples.","Install guide-shell before using pm guide for local docs and skills routing.","Use --json for machine parsing and integration flows.","Use --no-pager to force direct help output in CI and other non-interactive shells."]},deprecatedHelpAliases=PM_COMMAND_ALIAS_CONTRACTS.filter(entry=>entry.lifecycle==="deprecated");for(const contract of deprecatedHelpAliases){const bundle=HELP_BY_COMMAND_PATH[contract.alias];HELP_BY_COMMAND_PATH[contract.alias]={...bundle,why:`Deprecated: use pm ${contract.canonical_argv.join(" ")}. ${bundle.why}`}}for(const bundle of[ROOT_HELP_BUNDLE,...Object.values(HELP_BY_COMMAND_PATH)])bundle.examples=bundle.examples.map(example=>{for(const contract of deprecatedHelpAliases){const alias=contract.alias.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");example=example.replaceAll(new RegExp(`\\bpm ${alias}(?![\\w-])`,"g"),`pm ${contract.canonical_argv.join(" ")}`)}return example});function resolveCanonicalHelpPath(commandPath){const normalized=normalizeHelpCommandPath(commandPath??"");return normalized?HELP_PATH_ALIASES[normalized]??normalized:""}function resolveHelpBundleForPath(commandPath){const canonicalPath=resolveCanonicalHelpPath(commandPath);return canonicalPath?HELP_BY_COMMAND_PATH[canonicalPath]??ROOT_HELP_BUNDLE:ROOT_HELP_BUNDLE}function resolveHelpNarrative(commandPath,detailMode){const bundle=resolveHelpBundleForPath(commandPath);return{intent:bundle.why,examples:detailMode==="detailed"?[...bundle.examples]:firstExampleOrEmpty(bundle.examples),tips:detailMode==="detailed"?[...bundle.tips??[]]:[],detail_mode:detailMode}}function renderFullCommandAliasHelp(){const permanentAliases=PM_COMMAND_ALIAS_CONTRACTS.filter(({lifecycle})=>lifecycle==="permanent"),deprecatedAliases=PM_COMMAND_ALIAS_CONTRACTS.filter(({lifecycle})=>lifecycle==="deprecated");return["","Command aliases:",...permanentAliases.map(({alias,canonical_argv:canonicalArgv})=>` ${alias} -> pm ${canonicalArgv.join(" ")}`),"","Deprecated aliases:",...deprecatedAliases.map(contract=>` ${contract.alias} -> pm ${contract.canonical_argv.join(" ")} (${renderPmCommandAliasMigrationHint(contract)})`)].join(`
4
4
  `)}function configureTieredHelpVisibility(program,baselineHelp,fullDiscovery,selectedRootCommands){const coreOptions=new Set(PM_CORE_HELP_OPTION_FLAGS);program.configureHelp({visibleCommands(command){const visible=baselineHelp.visibleCommands(command);return fullDiscovery?visible.filter(candidate=>(getPmCommandHelpVisibilityTier(candidate)??resolvePmCommandVisibilityTier(candidate.name()))!=="internal"):command!==program?visible:visible.filter(candidate=>selectedRootCommands.has(candidate))},visibleOptions(command){const visible=baselineHelp.visibleOptions(command);return command!==program||fullDiscovery?visible:visible.filter(option=>coreOptions.has(option.flags))}});const continuationOptions=program.options.filter(option=>option.long==="--output-cursor");for(const command of program.commands.flatMap(root=>[root,...root.commands]))["list","search","context"].includes(command.name())&&command.configureHelp({visibleOptions:target=>[...baselineHelp.visibleOptions(target),...continuationOptions]})}function selectBudgetedRootCommands(program,baselineHelp,selectedRootCommands,rootHelpText){const coreCommands=new Set(listPmCommandsForTier("core")),budgetHelp=program.createHelp();budgetHelp.prepareContext({error:!1,helpWidth:80,outputHasColors:!1});const renderBudgetHelp=()=>`${budgetHelp.formatHelp(program,budgetHelp)}${rootHelpText}
5
5
  `,rootCandidates=baselineHelp.visibleCommands(program);for(const candidate of rootCandidates)getPmCommandHelpVisibilityTier(candidate)===void 0&&(candidate.name()==="help"||coreCommands.has(candidate.name()))&&selectedRootCommands.add(candidate);for(const candidate of rootCandidates)getPmCommandHelpVisibilityTier(candidate)==="core"&&(selectedRootCommands.add(candidate),measurePmCoreHelp(renderBudgetHelp()).within_budget||selectedRootCommands.delete(candidate))}function attachRichHelpText(program,argv=process.argv.slice(2)){const baselineHelp=program.createHelp(),fullDiscovery=isFullHelpDiscovery(argv),selectedRootCommands=new Set;configureTieredHelpVisibility(program,baselineHelp,fullDiscovery,selectedRootCommands);const detailMode=resolveHelpDetailMode(argv),rootHelpText=renderHelpBundle(ROOT_HELP_BUNDLE,detailMode);program.addHelpText("after",rootHelpText),fullDiscovery&&program.addHelpText("after",renderFullCommandAliasHelp()),selectBudgetedRootCommands(program,baselineHelp,selectedRootCommands,rootHelpText);for(const[commandPath,bundle]of Object.entries(HELP_BY_COMMAND_PATH))attachBundleByPath(program,commandPath,bundle,detailMode);const requestedPath=normalizeHelpCommandPath(parseBootstrapHelpRequest(argv).commandPathTokens.join(" ")),positionalAction=resolvePmPositionalActionContract(requestedPath);if(positionalAction){attachBundleByPath(program,positionalAction.parent,{why:positionalAction.description,examples:[positionalAction.example],tips:[`Action path: pm ${positionalAction.command}`,formatPmPositionalActionFlagTip(positionalAction.accepted_flags)]},detailMode);return}const positionalActions=PM_POSITIONAL_ACTION_CONTRACTS.filter(({parent})=>parent===requestedPath);positionalActions.length>0&&attachBundleByPath(program,requestedPath,{why:`Dispatches one declared positional action: ${positionalActions.map(({action})=>action).join("|")}.`,examples:positionalActions.map(({example})=>example),tips:[`Inspect one action directly with pm ${requestedPath} <action> --help --json.`]},detailMode)}const _testOnly={renderCompactHelpBundle,renderDetailedHelpBundle};export{ROOT_HELP_BUNDLE,_testOnly,attachRichHelpText,firstExampleOrEmpty,getPmCommandHelpVisibilityTier,isFullHelpDiscovery,normalizeHelpCommandPath,resolveHelpBundleForPath,resolveHelpDetailMode,resolveHelpNarrative,setPmCommandHelpVisibilityTier};
6
6
  //# sourceMappingURL=help-content.js.map
@@ -1,2 +1,2 @@
1
- (function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="69796e03-11a2-5267-9789-8c12757f79e1")}catch{}})();import{resolvePmCommandAlias,renderPmCommandAliasMigrationHint}from"../sdk/cli-contracts/command-aliases.js";import{setActiveCommandResult,EXIT_CODE,PmCliError,createUnknownSubcommandError,resolveAuthor,resolvePmRoot,readSettings}from"../sdk/runtime-primitives.js";import{runStartTask,runPauseTask,runCloseTask}from"../sdk/lifecycle/task-composition.js";import{parseStatsAnalyticsJson}from"./stats-analytics-json.js";import{createWorkspaceSnapshot,deleteWorkspaceSnapshot,inspectWorkspaceSnapshot,listWorkspaceSnapshots,planWorkspaceSnapshotRestore,restoreWorkspaceSnapshotWithRecovery,WORKSPACE_SNAPSHOT_ACTIONS}from"../sdk/workspace-snapshot.js";import{readWorkspacePosition}from"../sdk/governance/workspace-position.js";import{requireClaimTarget,runClaim,runClaimNext,runRelease}from"./commands/lifecycle/claim.js";import{runContracts}from"./commands/workspace/contracts.js";import{runDuplicates}from"./commands/query/duplicates.js";import{runGc}from"./commands/governance/gc.js";import{runHealth}from"./commands/governance/health.js";import{runStats}from"./commands/query/stats.js";import{runTelemetry}from"./commands/governance/telemetry.js";import{runTest}from"./commands/test/test.js";import{runTestAll}from"./commands/test/test-all.js";import{runStartBackgroundRun,runTestRunsWorker}from"./commands/test/test-runs.js";import{runValidate}from"./commands/governance/validate.js";import{buildBackgroundTestAllCommandArgs,applyActiveCommandResultService,buildBackgroundTestCommandArgs,addHiddenOption,collect,getGlobalOptions,invalidateSearchCachesForMutation,printError,printResult,readOptionString}from"./registration-helpers.js";import{registerAssuranceCommand}from"./register-assurance.js";import{assertTestMeasurementRun}from"../sdk/test/prerequisites.js";function resolveTelemetrySubcommand(namespaceOrSubcommand,subcommand){const normalizedNamespace=namespaceOrSubcommand?.trim().toLowerCase(),normalizedSubcommand=subcommand?.trim().toLowerCase();if(normalizedNamespace===void 0||normalizedNamespace.length===0)return normalizedSubcommand;if(normalizedNamespace==="local-analytics")return normalizedSubcommand&&normalizedSubcommand.length>0?normalizedSubcommand:"status";if(normalizedSubcommand!==void 0&&normalizedSubcommand.length>0)throw createUnknownSubcommandError({command_path:"telemetry",token:`${namespaceOrSubcommand} ${subcommand}`,allowed:["status","flush","stats","clear","local-analytics"],token_kind:"path",examples:["pm telemetry stats --limit 10","pm telemetry local-analytics status --json"]});return normalizedNamespace}function collectTestMutationValues(options){return{addValues:Array.isArray(options.add)?options.add:[],addJsonValues:Array.isArray(options.addJson)?options.addJson:[],removeValues:Array.isArray(options.remove)?options.remove:[],removeIndexValues:Array.isArray(options.removeIndex)?options.removeIndex:[]}}function validateBackgroundTestOptions(options,values){if(options.background===!0){if(options.run!==!0)throw new PmCliError("--background requires --run",EXIT_CODE.USAGE);if(options.acknowledgeLinkedTests===!0)throw new PmCliError("--background cannot be combined with --acknowledge-linked-tests; acknowledgement is a non-executing foreground operation",EXIT_CODE.USAGE);if(options.update!==void 0||options.updateIndex!==void 0||options.setJson!==void 0||values.addValues.length>0||values.addJsonValues.length>0||values.removeValues.length>0||values.removeIndexValues.length>0)throw new PmCliError("--background does not support --add/--add-json/--remove/--remove-index or metadata edits; update linked tests first, then run in background",EXIT_CODE.USAGE)}}async function runBackgroundLinkedTests(id,options,globalOptions,values){const result=await runStartBackgroundRun({kind:"test",commandArgs:buildBackgroundTestCommandArgs(id,{...options,add:values.addValues,addJson:values.addJsonValues,remove:values.removeValues,removeIndex:values.removeIndexValues}),targetId:id,author:typeof options.author=="string"?options.author:void 0,noExtensions:globalOptions.noExtensions===!0},globalOptions);printResult(result,globalOptions)}function buildTestEditOptions(options){return{update:typeof options.update=="string"?options.update:void 0,updateIndex:typeof options.updateIndex=="string"||typeof options.updateIndex=="number"?options.updateIndex:void 0,setJson:typeof options.setJson=="string"?options.setJson:void 0}}function buildRunTestOptions(options,values){return{add:values.addValues,addJson:values.addJsonValues,remove:values.removeValues,removeIndex:values.removeIndexValues,...buildTestEditOptions(options),list:!!options.list,fullHistory:options.fullHistory===!0,run:!!options.run,match:typeof options.match=="string"?options.match:void 0,onlyIndex:typeof options.onlyIndex=="string"||typeof options.onlyIndex=="number"?options.onlyIndex:void 0,onlyLast:!!options.onlyLast,timeout:typeof options.timeout=="string"?options.timeout:void 0,progress:!!options.progress,envSet:Array.isArray(options.envSet)?options.envSet:[],envClear:Array.isArray(options.envClear)?options.envClear:[],sharedHostSafe:!!options.sharedHostSafe,pmContext:typeof options.pmContext=="string"?options.pmContext:void 0,overrideLinkedPmContext:!!options.overrideLinkedPmContext,workspaceContext:typeof options.workspaceContext=="string"?options.workspaceContext:void 0,overrideLinkedWorkspaceContext:!!options.overrideLinkedWorkspaceContext,allowUntrustedLinkedTests:!!options.allowUntrustedLinkedTests,acknowledgeLinkedTests:!!options.acknowledgeLinkedTests,failOnContextMismatch:!!options.failOnContextMismatch,failOnSkipped:!!options.failOnSkipped,failOnEmptyTestRun:!!options.failOnEmptyTestRun,requireAssertionsForPm:!!options.requireAssertionsForPm,checkContext:!!options.checkContext,fullOutput:!!options.fullOutput,autoPmContext:!!options.autoPmContext,author:typeof options.author=="string"?options.author:void 0,message:typeof options.message=="string"?options.message:void 0,force:!!options.force,measure:Array.isArray(options.measure)?options.measure:[],metricBelow:typeof options.metricBelow=="string"?options.metricBelow:void 0,metricDiff:typeof options.metricDiff=="string"?options.metricDiff:void 0}}const _testOnlyRegisterOperations={buildRunTestOptions,buildRunTestAllOptions,runWorkspacePositionAction,validateBackgroundTestOptions};async function runForegroundLinkedTests(id,options,globalOptions,values){const result=await runTest(id,buildRunTestOptions(options,values),globalOptions);(options.update!==void 0||options.updateIndex!==void 0||options.setJson!==void 0||values.addValues.length>0||values.addJsonValues.length>0||values.removeValues.length>0||options.run===!0||values.removeIndexValues.length>0)&&await invalidateSearchCachesForMutation(globalOptions,result),printResult(result,globalOptions),(result.run_results.some(entry=>entry.status==="failed"||entry.status==="refused")||result.fail_on_skipped_triggered===!0)&&(process.exitCode=EXIT_CODE.DEPENDENCY_FAILED)}async function runTestCommandAction(id,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),values=collectTestMutationValues(options);options.background===!0&&assertTestMeasurementRun(id,buildRunTestOptions(options,values),globalOptions,resolvePmRoot(process.cwd(),globalOptions.path),!0),validateBackgroundTestOptions(options,values),options.background===!0?await runBackgroundLinkedTests(id,options,globalOptions,values):await runForegroundLinkedTests(id,options,globalOptions,values),globalOptions.profile&&printError(`profile:command=test took_ms=${Date.now()-startedAt}`)}function buildLifecycleMutationOptions(options){const author=readOptionString(options,"author"),assignee=readOptionString(options,"assignee");if(author!==void 0&&assignee!==void 0&&author!==assignee)throw new PmCliError("Lifecycle ownership received conflicting --author and --assignee values; use one actor value for both aliases.",EXIT_CODE.USAGE,{code:"conflicting_lifecycle_owner",examples:["pm claim pm-123","pm claim pm-123 --start","pm release pm-123"]});return{author:author??assignee,message:readOptionString(options,"message")}}async function runTestAllAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now();if(options.background===!0){const result2=await runStartBackgroundRun({kind:"test-all",commandArgs:buildBackgroundTestAllCommandArgs(options),statusFilter:readOptionString(options,"status"),noExtensions:globalOptions.noExtensions===!0},globalOptions);printResult(result2,globalOptions),globalOptions.profile&&printError(`profile:command=test-all took_ms=${Date.now()-startedAt}`);return}const result=await runTestAll(buildRunTestAllOptions(options),globalOptions);await invalidateSearchCachesForMutation(globalOptions,{ids:result.results.map(entry=>entry.id)}),printResult(result,globalOptions),(result.failed>0||result.fail_on_skipped_triggered===!0)&&(process.exitCode=EXIT_CODE.DEPENDENCY_FAILED),globalOptions.profile&&printError(`profile:command=test-all took_ms=${Date.now()-startedAt}`)}function buildRunTestAllOptions(options){return{status:readOptionString(options,"status"),limit:readOptionString(options,"limit"),offset:readOptionString(options,"offset"),timeout:readOptionString(options,"timeout"),progress:!!options.progress,envSet:Array.isArray(options.envSet)?options.envSet:[],envClear:Array.isArray(options.envClear)?options.envClear:[],sharedHostSafe:!!options.sharedHostSafe,pmContext:readOptionString(options,"pmContext"),overrideLinkedPmContext:!!options.overrideLinkedPmContext,workspaceContext:readOptionString(options,"workspaceContext"),overrideLinkedWorkspaceContext:!!options.overrideLinkedWorkspaceContext,allowUntrustedLinkedTests:!!options.allowUntrustedLinkedTests,failOnContextMismatch:!!options.failOnContextMismatch,failOnSkipped:!!options.failOnSkipped,failOnEmptyTestRun:!!options.failOnEmptyTestRun,requireAssertionsForPm:!!options.requireAssertionsForPm,checkContext:!!options.checkContext,fullOutput:!!options.fullOutput,autoPmContext:!!options.autoPmContext}}async function runTelemetryAction(namespaceOrSubcommand,subcommand,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runTelemetry({subcommand:resolveTelemetrySubcommand(namespaceOrSubcommand,subcommand),limit:readOptionString(options,"limit")},globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=telemetry took_ms=${Date.now()-startedAt}`)}async function runStatsAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),analytics=parseStatsAnalyticsJson(readOptionString(options,"analytics")),result=await runStats(globalOptions,{includeEmpty:options.includeEmpty===!0,storage:options.storage===!0,metadataCoverage:options.metadataCoverage===!0,byAssignee:options.byAssignee===!0,byTag:options.byTag===!0,byPriority:options.byPriority===!0,tagPrefix:readOptionString(options,"tagPrefix"),fieldUtilization:options.fieldUtilization===!0,...analytics});result.recorded_observations?.some(entry=>entry.changed)===!0&&await invalidateSearchCachesForMutation(globalOptions,{ids:result.recorded_observations?.flatMap(entry=>entry.observation.item_id?[entry.observation.item_id]:[])}),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=stats took_ms=${Date.now()-startedAt}`)}async function runDuplicatesAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),threshold=readOptionString(options,"threshold"),limit=readOptionString(options,"limit"),result=await runDuplicates(globalOptions,{...options.exhaustive===!0?{exhaustive:!0}:{},status:Array.isArray(options.status)&&options.status.length>0?options.status:void 0,since:readOptionString(options,"since"),...threshold===void 0?{}:{threshold:Number(threshold)},...limit===void 0?{}:{limit:Number(limit)}});printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=duplicates took_ms=${Date.now()-startedAt}`)}async function runHealthAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),strictExit=!!options.strictExit||!!options.failOnWarn,result=await runHealth(globalOptions,{strictExit,strictDirectories:!!options.strictDirectories,requireMergeDrivers:!!options.requireMergeDrivers,checkOnly:!!options.checkOnly,checkTelemetry:!!options.checkTelemetry,noRefresh:!!options.noRefresh,refreshVectors:!!options.refreshVectors,verboseStaleItems:!!options.verboseStaleItems,verboseAuthorEvents:!!options.verboseAuthorEvents,brief:!!options.brief,summary:!!options.summary||strictExit&&options.full!==!0,skipVectors:!!options.skipVectors,skipIntegrity:!!options.skipIntegrity,skipDrift:!!options.skipDrift,full:!!options.full});printResult(result,globalOptions),strictExit&&!result.ok&&(setActiveCommandResult({...result,exit_code:EXIT_CODE.GENERIC_FAILURE,error_code:"health_findings",error_category:"validation",command_resolution:"health_findings",resolution_stage:"execute"}),process.exitCode=EXIT_CODE.GENERIC_FAILURE),globalOptions.profile&&printError(`profile:command=health took_ms=${Date.now()-startedAt}`)}async function runValidateAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runValidate({checkMetadata:!!options.checkMetadata,metadataProfile:readOptionString(options,"metadataProfile"),checkResolution:!!options.checkResolution,checkCompleteness:!!options.checkCompleteness,checkLifecycle:!!options.checkLifecycle,checkStaleBlockers:!!options.checkStaleBlockers,dependencyCycleSeverity:readOptionString(options,"dependencyCycleSeverity"),parentCycleSeverity:readOptionString(options,"parentCycleSeverity"),checkFiles:!!options.checkFiles,checkCommandReferences:!!options.checkCommandReferences,scanMode:readOptionString(options,"scanMode"),includePmInternals:!!options.includePmInternals,verboseFileLists:!!options.verboseFileLists,verboseDiagnostics:!!options.verboseDiagnostics,allAffectedIds:!!options.allAffectedIds,checkHistoryDrift:!!options.checkHistoryDrift,checkStorageIntegrity:!!options.checkStorageIntegrity,fixHints:!!options.fixHints,autoFix:!!options.autoFix,dryRun:!!options.dryRun,fixScope:Array.isArray(options.fixScope)?options.fixScope:void 0,pruneMissing:!!options.pruneMissing,counts:!!options.counts,full:!!options.full},globalOptions);printResult(result,globalOptions),(options.strictExit||options.failOnWarn)&&(result.has_warnings||!result.ok)&&(setActiveCommandResult({...result,exit_code:EXIT_CODE.GENERIC_FAILURE,error_code:"validation_findings",error_category:"validation",command_resolution:"validation_findings",resolution_stage:"execute"}),process.exitCode=EXIT_CODE.GENERIC_FAILURE),globalOptions.profile&&printError(`profile:command=validate took_ms=${Date.now()-startedAt}`)}async function runGcAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runGc(globalOptions,{dryRun:options.dryRun===!0,scope:Array.isArray(options.scope)?options.scope:[]});printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=gc took_ms=${Date.now()-startedAt}`)}async function runWorkspaceSnapshotAction(action,target,options,command){const globalOptions=getGlobalOptions(command),pmRoot=resolvePmRoot(process.cwd(),globalOptions.path),normalizedAction=action.trim().toLowerCase();if(!WORKSPACE_SNAPSHOT_ACTIONS.some(entry=>entry===normalizedAction))throw createUnknownSubcommandError({command_path:"workspace snapshot",token:action,allowed:WORKSPACE_SNAPSHOT_ACTIONS,display_name:"workspace snapshot",token_kind:"action",examples:["pm workspace snapshot create before-migration","pm workspace snapshot restore before-migration"]});if(normalizedAction==="list"){printResult(await listWorkspaceSnapshots(pmRoot),globalOptions);return}if(normalizedAction==="create"){printResult(await createWorkspaceSnapshot(pmRoot,target===void 0?{}:{name:target}),globalOptions);return}if(target===void 0)throw new PmCliError(`pm workspace snapshot ${normalizedAction} requires a snapshot name or fingerprint`,EXIT_CODE.USAGE);if(normalizedAction==="inspect"){printResult(await inspectWorkspaceSnapshot(pmRoot,target),globalOptions);return}if(normalizedAction==="restore"){if(options.dryRun===!0){printResult(await planWorkspaceSnapshotRestore(pmRoot,target),globalOptions);return}const settings=await readSettings(pmRoot);printResult(await restoreWorkspaceSnapshotWithRecovery(pmRoot,target,{force:options.force===!0,author:resolveAuthor(readOptionString(options,"author"),settings.author_default),message:readOptionString(options,"message"),lockTtlSeconds:settings.locks.ttl_seconds,lockWaitMs:settings.locks.wait_ms}),globalOptions);return}printResult(await deleteWorkspaceSnapshot(pmRoot,target),globalOptions)}async function runWorkspacePositionAction(_options,command){const globalOptions=getGlobalOptions(command);printResult(await readWorkspacePosition(globalOptions),globalOptions)}async function runContractsAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runContracts({action:readOptionString(options,"action"),command:readOptionString(options,"command"),summary:!!options.summary,schemaOnly:!!options.schemaOnly,flagsOnly:!!options.flagsOnly,availabilityOnly:!!options.availabilityOnly,runtimeOnly:!!options.runtimeOnly||!!options.activeOnly,full:!!options.full},globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=contracts took_ms=${Date.now()-startedAt}`)}async function runClaimAction(id,options,command){const next=options.next===!0,start=options.start===!0;if(start&&id){await runStartTaskAction(id,options,command);return}requireClaimTarget(id,next,start);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),lifecycleOptions={...buildLifecycleMutationOptions(options),ifAvailable:options.ifAvailable===!0,maxAttempts:options.maxAttempts,...start?{start:!0}:{}},result=next?await runClaimNext(!!options.force,globalOptions,lifecycleOptions,readClaimNextSelection(options)):await runClaim(id,!!options.force,globalOptions,lifecycleOptions);await invalidateSearchCachesForMutation(globalOptions,result),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=claim took_ms=${Date.now()-startedAt}`)}function readClaimNextSelection(options){return{type:readOptionString(options,"type"),tag:readOptionString(options,"tag"),priority:options.priority,assigneeFilter:readOptionString(options,"assigneeFilter"),parent:readOptionString(options,"parent"),sprint:readOptionString(options,"sprint"),release:readOptionString(options,"release"),includeDecisions:options.includeDecisions===!0,includeGates:options.includeGates===!0,includeContainers:options.includeContainers===!0,tokenBudget:options.tokenBudget??options.token_budget,explainRanking:options.explainRanking===!0||options.explain_ranking===!0}}async function runReleaseAction(id,options,command){if(options.pause===!0){await runPauseTaskAction(id,options,command);return}const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runRelease(id,!!options.force,globalOptions,{...buildLifecycleMutationOptions(options),ownershipReleaseBypass:options.ownershipReleaseBypass===!0,handoff:options.handoff});await invalidateSearchCachesForMutation(globalOptions,result),printResult(await applyActiveCommandResultService("release",[id],options,globalOptions,result),globalOptions),globalOptions.profile&&printError(`profile:command=release took_ms=${Date.now()-startedAt}`)}async function printLifecycleAliasHint(command){const global2=getGlobalOptions(command),alias=resolvePmCommandAlias(command.name());!alias||global2.json||global2.quiet||(await readSettings(resolvePmRoot(process.cwd(),global2.path))).ux?.deprecation_hints&&printError(renderPmCommandAliasMigrationHint(alias))}async function runStartTaskAction(id,options,command){await printLifecycleAliasHint(command);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runStartTask(id,{...buildLifecycleMutationOptions(options),force:!!options.force,next:options.next===!0,ifAvailable:options.ifAvailable===!0},globalOptions);await invalidateSearchCachesForMutation(globalOptions,result.update),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=start-task took_ms=${Date.now()-startedAt}`)}async function runPauseTaskAction(id,options,command){await printLifecycleAliasHint(command);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runPauseTask(id,{...buildLifecycleMutationOptions(options),handoff:readOptionString(options,"handoff"),force:!!options.force},globalOptions);await invalidateSearchCachesForMutation(globalOptions,result.release),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=pause-task took_ms=${Date.now()-startedAt}`)}async function runCloseTaskAction(id,reason,options,command){await printLifecycleAliasHint(command);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runCloseTask(id,reason,{...buildLifecycleMutationOptions(options),validateClose:readOptionString(options,"validateClose"),force:!!options.force},globalOptions);await invalidateSearchCachesForMutation(globalOptions,result.release),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=close-task took_ms=${Date.now()-startedAt}`)}function addLinkedTestExecutionOptions(command){return command.option("--background","Run linked tests in managed background mode").option("--timeout <seconds>","Default run timeout in seconds (requires --run)").option("--progress","Emit stderr run progress (requires --run; automatic in TTY)").option("--env-set <value>","Set run environment (KEY=VALUE, repeatable)",collect).option("--env-clear <value>","Clear run environment (NAME, repeatable)",collect).option("--shared-host-safe","Apply additive shared-host-safe run defaults").option("--pm-context <mode>","PM test context: schema|tracker|auto|none (default: schema)").option("--override-linked-pm-context","Override stored context with --pm-context").option("--workspace-context <mode>","Source-workspace mode: source|isolated|snapshot (default: source)").option("--override-linked-workspace-context","Override stored context with --workspace-context").option("--allow-untrusted-linked-tests","Execute untrusted linked commands when project policy also permits it").option("--fail-on-context-mismatch","Fail linked PM commands when context item counts differ").option("--fail-on-skipped","Treat skipped linked tests as dependency failures").option("--fail-on-empty-test-run","Fail successful commands reporting zero executed tests").option("--require-assertions-for-pm","Require assertion metadata for linked PM command tests").option("--check-context","Check PM context before execution and report the full execution context").option("--full-output","Report full stdout/stderr of passing rows").option("--auto-pm-context","Route mismatched PM tracker reads through tracker context")}function registerOperationCommands(program){registerAssuranceCommand(program);const testCommand=program.command("test").argument("<id>","Item id").option("--add <value>","Link isolated test; runs only with --run (CSV/markdown or stdin)",collect).option("--add-json <value>","Link isolated test; runs only with --run (JSON object/array or stdin)",collect).option("--remove <value>","Remove exact command/path (command=<value>, path=<value>, or stdin -)",collect).option("--remove-index <n>","Remove 1-based --list position (repeatable)",collect).option("--list","List linked tests without mutating").option("--update <value>","Edit exact command or path=<value>").option("--update-index <n>","Edit current 1-based --list position").option("--set-json <value>","Metadata patch; null clears optional fields").option("--run","Run linked test commands").option("--match <value>","Run matching command/path substring").option("--only-index <n>","Run 1-based --list position").option("--only-last","Run most recently added test").option("--full-history","Return all linked tests after a write");testCommand.option("--acknowledge-linked-tests","Trust current commands in this clone without execution"),addLinkedTestExecutionOptions(testCommand).option("--measure <value>","Record name=value[,unit=...][,threshold=...]; requires --run",collect).option("--metric-below <value>","Return evidence below name=value").option("--metric-diff <name>","Diff the latest two values").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").description("Manage tests linked to an item and optionally run them.").action(runTestCommandAction);const testAllCommand=program.command("test-all").description("Run linked tests across matching items.").option("--status <value>","Filter items by status before running tests").option("--limit <n>","Limit matching items before running linked tests").option("--offset <n>","Skip matching items before running linked tests");addLinkedTestExecutionOptions(testAllCommand).action(runTestAllAction),program.command("test-runs-worker",{hidden:!0}).argument("<runId>","Background run id").description("Internal background worker command.").action(async(runId,_options,command)=>{const globalOptions=getGlobalOptions(command);await runTestRunsWorker(runId,globalOptions)}),program.command("telemetry").argument("[namespace-or-subcommand]","Telemetry subcommand: status, flush, stats, clear (default: status)").argument("[subcommand]","Compatibility alias target for local-analytics: status, flush, stats, clear").option("--limit <n>","Maximum command groups returned by telemetry stats").description("Inspect and manage local telemetry queue/runtime state.").action(runTelemetryAction),program.command("duplicates").description("Find duplicate clusters across all statuses.").option("--status <value>","Statuses (repeatable or comma-separated)",collect,[]).option("--since <value>","Created at or after this time").option("--threshold <value>","Minimum similarity (0-1)").option("--limit <n>","Maximum clusters").option("--exhaustive","Score all pairs within the safety bound").action(runDuplicatesAction),program.command("stats").description("Show project tracker statistics.").option("--include-empty","Restore zero-count registered item-type and lifecycle-status buckets").option("--storage","Include aggregate history-stream storage metrics (total streams/lines/bytes, largest + deepest streams, oldest/newest entries)").option("--metadata-coverage","Include metadata coverage % (acceptance_criteria, estimated_minutes, resolution, tags, parent) overall and by type").option("--by-assignee","Include a lifecycle-bucketed item breakdown grouped by assignee").option("--by-tag","Include a lifecycle-bucketed item breakdown grouped by tag").option("--by-priority","Include a lifecycle-bucketed item breakdown grouped by priority").option("--tag-prefix <value>","With --by-tag: only count tags starting with this prefix (e.g. domain:)").option("--field-utilization","Report content-field utilization rates (notes/learnings/files/docs/tests/comments/deps/body) for governance analysis").option("--analytics <json>","Improvement ledger/history analytics JSON").action(runStatsAction),program.command("health").description("Show project tracker health checks.").option("--strict-directories","Treat optional item-type directories as required failures").option("--require-merge-drivers","Treat absent clone-local merge drivers as a required health failure").option("--check-only","Run read-only health diagnostics without refreshing vectors").option("--check-telemetry","Probe telemetry endpoint health and include network diagnostics").option("--no-refresh","Disable automatic vector refresh attempts during health checks").option("--refresh-vectors","Explicitly enable vector refresh attempts during health checks").option("--verbose-stale-items","Include full stale vectorization ID lists in health output").option("--verbose-author-events","Include every actionable unknown-author event coordinate for review or disposition").option("--brief","Emit compact health details for low-token agent checks").option("--summary","Emit one-line-style status and warning count, also with --full").option("--skip-vectors","Skip vectorization check for a faster run").option("--skip-integrity","Skip item/history file integrity check for a faster run").option("--skip-drift","Skip history drift hash check for a faster run").option("--full","Run every check (slow integrity, drift, vectors too); keeps --summary/--brief").option("--strict-exit","Return non-zero exit when health is not ok and default to actionable summary output; use --full for complete details").option("--fail-on-warn","Alias for --strict-exit").action(runHealthAction),program.command("validate").description("Validate metadata, lifecycle policies, files, command references, and history.").option("--check-metadata","Run metadata completeness checks").option("--metadata-profile <value>","Metadata profile (core|strict|custom)").option("--check-resolution","Run closed-item resolution metadata checks").option("--check-completeness","Check declarative lifecycle field requirements").option("--check-lifecycle","Run active-item lifecycle governance drift checks").option("--check-stale-blockers","Include stale blocker-pattern diagnostics in lifecycle checks").option("--dependency-cycle-severity <value>","Set dependency-cycle warning policy for lifecycle checks (off|warn|error)").option("--parent-cycle-severity <value>","Set parent-hierarchy cycle warning policy for lifecycle checks (off|warn|error)").option("--check-files","Run linked-file and orphaned-file checks").option("--check-command-references","Run linked-command PM-ID reference checks").option("--scan-mode <value>","Select file candidate scan mode for --check-files (default|tracked-all|tracked-all-strict)").option("--include-pm-internals","Include PM storage internals in tracked-all candidate scans").option("--verbose-file-lists","Include full file-path lists for validate --check-files details").option("--verbose-diagnostics","Include full diagnostic ID lists").option("--all-affected-ids","Emit complete missing_* affected-ID lists with no truncation (implied by --json)").option("--strict-exit","Return non-zero exit when validation warnings are present").option("--fail-on-warn","Alias for --strict-exit").option("--fix-hints","Add a machine-executable fix_hints[] of pm commands to each failing check's details").option("--auto-fix","Apply safe, deterministic field backfills").option("--dry-run","Preview planned --auto-fix/--prune-missing fixes without applying them").option("--fix-scope <scope>","Grant --auto-fix scopes (metadata, resolution, estimates, timestamps, lifecycle; comma-separated or repeatable). Default: metadata, resolution; other scopes require explicit opt-in",collect).option("--prune-missing","Remove deleted-path file/doc links; preserves real files").option("--check-history-drift","Run item/history hash drift checks").option("--check-storage-integrity","Run the post-merge storage-integrity check (unreadable items, history conflict markers, resurrected deletes, unparseable config/schema)").option("--counts","Keep validation counts and totals while omitting per-item diagnostic arrays").option("--full","Return the complete validation diagnostic projection").action(runValidateAction),program.command("gc").option("--dry-run","Preview cleanup targets without deleting files; without this flag, pm gc deletes matched artifacts").option("--scope <value>","Limit cleanup to one or more scopes (comma-separated or repeatable): index, embeddings, runtime, locks, checkpoints, transactions",collect).description("Delete optional cache artifacts by default (including expired lock debris) and show a summary.").action(runGcAction);const workspaceCommand=program.command("workspace").description("Inspect workspace state and snapshots.");workspaceCommand.command("position").description("Show merge and history readiness.").action(runWorkspacePositionAction),workspaceCommand.command("snapshot").argument("<action>","Action: create, list, inspect, restore, delete").argument("[target]","Optional name for create; name or fingerprint otherwise").description("Manage content-addressed tracker snapshots.").option("--dry-run","Preview restore file, item, stream, and history-entry impact without mutating state").option("--force","Explicitly confirm a whole-workspace snapshot restore").option("--author <value>","Actor recorded on the restore audit event").option("--message <value>","Human-readable restore rationale").action(runWorkspaceSnapshotAction),program.command("contracts").description("Show machine-readable command and schema contracts for agents.").option("--action <value>","Filter tool schema branches to a specific action").option("--command <value>","Scope contracts output to one CLI command (narrow-by-default)").option("--summary","Return one command+intent row per top-level command for cheap agent bootstrap").option("--schema-only","Return schema-focused output only").option("--flags-only","Return command flag contracts only").option("--availability-only","Return action availability surface only").option("--runtime-only","Include only actions invocable in the current runtime").option("--active-only","Alias for --runtime-only").option("--full","Include full schema and command-flag surfaces (large; default brief output omits heavy sections for unfiltered queries)").action(runContractsAction);const claimCommand=program.command("claim").option("--start","Claim and start (id or --next)").argument("[id]","Item id (omit with --next)").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force claim override").option("--if-available","Skip another author's claim (skipped=true)").option("--next","Atomically claim the next caller-available actionable item").option("--type <value>","Filter --next candidates by type").option("--tag <value>","Filter --next candidates by tag").option("--priority <value>","Filter --next candidates by priority").option("--assignee-filter <value>","Filter --next candidates: assigned|unassigned").option("--parent <id>","Scope --next candidates to a subtree").option("--sprint <value>","Filter --next candidates by sprint").option("--release <value>","Filter --next candidates by release").option("--max-attempts <n>","Bound the --next candidate walk (default 10; maximum 100)").option("--include-decisions","Allow --next to claim human-gated Decision items").option("--include-gates","Allow --next to claim outcome gates").option("--include-containers","Allow --next to claim containers with unfinished descendants").option("--token-budget <n>","Bound the estimated tokens used to rank --next candidates").option("--explain-ranking","Include ranking provenance for --next selection").description("Claim an item for active work.").action(runClaimAction);addHiddenOption(claimCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands"),addHiddenOption(claimCommand,"--token_budget <n>","Alias for --token-budget"),addHiddenOption(claimCommand,"--explain_ranking","Alias for --explain-ranking");const releaseCommand=program.command("release").option("--pause","Use open status").option("--handoff <status>","Needs --message").argument("<id>","Item id").option("--author <value>","Author").option("--message <value>","Message").option("--force","Override ownership").description("Release ownership.").action(runReleaseAction);addHiddenOption(releaseCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands");const startTaskCommand=program.command("start-task",{hidden:!0}).argument("<id>","Item id").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership or terminal override when required").description("Lifecycle alias: claim an item and move it to in_progress.").action(runStartTaskAction);addHiddenOption(startTaskCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands");const pauseTaskCommand=program.command("pause-task",{hidden:!0}).argument("<id>","Item id").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override when required").description("Lifecycle alias: move an item to open and release its claim.").action(runPauseTaskAction);addHiddenOption(pauseTaskCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands");const closeTaskCommand=program.command("close-task",{hidden:!0}).argument("<id>","Item id").argument("[reason]","Close reason text").option("--author <value>","Mutation author").option("--message <value>","History message").option("--validate-close <value>","Close-time validation mode: off|warn|strict").option("--force","Force ownership or terminal override when required").description("Lifecycle alias: close an item and release assignment metadata.").action(runCloseTaskAction);addHiddenOption(closeTaskCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands")}export{_testOnlyRegisterOperations,registerOperationCommands,requireClaimTarget};
1
+ (function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="465324c9-c5c2-5093-b979-3fa1a9979911")}catch{}})();import{resolvePmCommandAlias,renderPmCommandAliasMigrationHint}from"../sdk/cli-contracts/command-aliases.js";import{setActiveCommandResult,EXIT_CODE,PmCliError,createUnknownSubcommandError,resolveAuthor,resolvePmRoot,readSettings}from"../sdk/runtime-primitives.js";import{runStartTask,runPauseTask,runCloseTask}from"../sdk/lifecycle/task-composition.js";import{parseStatsAnalyticsJson}from"./stats-analytics-json.js";import{createWorkspaceSnapshot,deleteWorkspaceSnapshot,inspectWorkspaceSnapshot,listWorkspaceSnapshots,planWorkspaceSnapshotRestore,restoreWorkspaceSnapshotWithRecovery,WORKSPACE_SNAPSHOT_ACTIONS}from"../sdk/workspace-snapshot.js";import{readWorkspacePosition}from"../sdk/governance/workspace-position.js";import{requireClaimTarget,runClaim,runClaimNext,runRelease}from"./commands/lifecycle/claim.js";import{runContracts}from"./commands/workspace/contracts.js";import{runDuplicates}from"./commands/query/duplicates.js";import{runGc}from"./commands/governance/gc.js";import{runHealth}from"./commands/governance/health.js";import{runStats}from"./commands/query/stats.js";import{runTelemetry}from"./commands/governance/telemetry.js";import{runTest}from"./commands/test/test.js";import{runTestAll}from"./commands/test/test-all.js";import{runStartBackgroundRun,runTestRunsWorker}from"./commands/test/test-runs.js";import{runValidate}from"./commands/governance/validate.js";import{buildBackgroundTestAllCommandArgs,applyActiveCommandResultService,buildBackgroundTestCommandArgs,addHiddenOption,collect,getGlobalOptions,invalidateSearchCachesForMutation,printError,printResult,readOptionString}from"./registration-helpers.js";import{registerAssuranceCommand}from"./register-assurance.js";import{assertTestMeasurementRun}from"../sdk/test/prerequisites.js";function resolveTelemetrySubcommand(namespaceOrSubcommand,subcommand){const normalizedNamespace=namespaceOrSubcommand?.trim().toLowerCase(),normalizedSubcommand=subcommand?.trim().toLowerCase();if(normalizedNamespace===void 0||normalizedNamespace.length===0)return normalizedSubcommand;if(normalizedNamespace==="local-analytics")return normalizedSubcommand&&normalizedSubcommand.length>0?normalizedSubcommand:"status";if(normalizedSubcommand!==void 0&&normalizedSubcommand.length>0)throw createUnknownSubcommandError({command_path:"telemetry",token:`${namespaceOrSubcommand} ${subcommand}`,allowed:["status","flush","stats","clear","local-analytics"],token_kind:"path",examples:["pm telemetry stats --limit 10","pm telemetry local-analytics status --json"]});return normalizedNamespace}function collectTestMutationValues(options){return{addValues:Array.isArray(options.add)?options.add:[],addJsonValues:Array.isArray(options.addJson)?options.addJson:[],removeValues:Array.isArray(options.remove)?options.remove:[],removeIndexValues:Array.isArray(options.removeIndex)?options.removeIndex:[]}}function validateBackgroundTestOptions(options,values){if(options.background===!0){if(options.run!==!0)throw new PmCliError("--background requires --run",EXIT_CODE.USAGE);if(options.acknowledgeLinkedTests===!0)throw new PmCliError("--background cannot be combined with --acknowledge-linked-tests; acknowledgement is a non-executing foreground operation",EXIT_CODE.USAGE);if(options.update!==void 0||options.updateIndex!==void 0||options.setJson!==void 0||values.addValues.length>0||values.addJsonValues.length>0||values.removeValues.length>0||values.removeIndexValues.length>0)throw new PmCliError("--background does not support --add/--add-json/--remove/--remove-index or metadata edits; update linked tests first, then run in background",EXIT_CODE.USAGE)}}async function runBackgroundLinkedTests(id,options,globalOptions,values){const result=await runStartBackgroundRun({kind:"test",commandArgs:buildBackgroundTestCommandArgs(id,{...options,add:values.addValues,addJson:values.addJsonValues,remove:values.removeValues,removeIndex:values.removeIndexValues}),targetId:id,author:typeof options.author=="string"?options.author:void 0,noExtensions:globalOptions.noExtensions===!0},globalOptions);printResult(result,globalOptions)}function buildTestEditOptions(options){return{update:typeof options.update=="string"?options.update:void 0,updateIndex:typeof options.updateIndex=="string"||typeof options.updateIndex=="number"?options.updateIndex:void 0,setJson:typeof options.setJson=="string"?options.setJson:void 0}}function buildRunTestOptions(options,values){return{add:values.addValues,addJson:values.addJsonValues,remove:values.removeValues,removeIndex:values.removeIndexValues,...buildTestEditOptions(options),list:!!options.list,fullHistory:options.fullHistory===!0,run:!!options.run,match:typeof options.match=="string"?options.match:void 0,onlyIndex:typeof options.onlyIndex=="string"||typeof options.onlyIndex=="number"?options.onlyIndex:void 0,onlyLast:!!options.onlyLast,timeout:typeof options.timeout=="string"?options.timeout:void 0,progress:!!options.progress,envSet:Array.isArray(options.envSet)?options.envSet:[],envClear:Array.isArray(options.envClear)?options.envClear:[],sharedHostSafe:!!options.sharedHostSafe,pmContext:typeof options.pmContext=="string"?options.pmContext:void 0,overrideLinkedPmContext:!!options.overrideLinkedPmContext,workspaceContext:typeof options.workspaceContext=="string"?options.workspaceContext:void 0,overrideLinkedWorkspaceContext:!!options.overrideLinkedWorkspaceContext,allowUntrustedLinkedTests:!!options.allowUntrustedLinkedTests,acknowledgeLinkedTests:!!options.acknowledgeLinkedTests,failOnContextMismatch:!!options.failOnContextMismatch,failOnSkipped:!!options.failOnSkipped,failOnEmptyTestRun:!!options.failOnEmptyTestRun,requireAssertionsForPm:!!options.requireAssertionsForPm,checkContext:!!options.checkContext,fullOutput:!!options.fullOutput,autoPmContext:!!options.autoPmContext,author:typeof options.author=="string"?options.author:void 0,message:typeof options.message=="string"?options.message:void 0,force:!!options.force,measure:Array.isArray(options.measure)?options.measure:[],metricBelow:typeof options.metricBelow=="string"?options.metricBelow:void 0,metricDiff:typeof options.metricDiff=="string"?options.metricDiff:void 0}}const _testOnlyRegisterOperations={buildRunTestOptions,buildRunTestAllOptions,runWorkspacePositionAction,validateBackgroundTestOptions};async function runForegroundLinkedTests(id,options,globalOptions,values){const result=await runTest(id,buildRunTestOptions(options,values),globalOptions);(options.update!==void 0||options.updateIndex!==void 0||options.setJson!==void 0||values.addValues.length>0||values.addJsonValues.length>0||values.removeValues.length>0||options.run===!0||values.removeIndexValues.length>0)&&await invalidateSearchCachesForMutation(globalOptions,result),printResult(result,globalOptions),(result.run_results.some(entry=>entry.status==="failed"||entry.status==="refused")||result.fail_on_skipped_triggered===!0)&&(process.exitCode=EXIT_CODE.DEPENDENCY_FAILED)}async function runTestCommandAction(id,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),values=collectTestMutationValues(options);options.background===!0&&assertTestMeasurementRun(id,buildRunTestOptions(options,values),globalOptions,resolvePmRoot(process.cwd(),globalOptions.path),!0),validateBackgroundTestOptions(options,values),options.background===!0?await runBackgroundLinkedTests(id,options,globalOptions,values):await runForegroundLinkedTests(id,options,globalOptions,values),globalOptions.profile&&printError(`profile:command=test took_ms=${Date.now()-startedAt}`)}function buildLifecycleMutationOptions(options){const author=readOptionString(options,"author"),assignee=readOptionString(options,"assignee");if(author!==void 0&&assignee!==void 0&&author!==assignee)throw new PmCliError("Lifecycle ownership received conflicting --author and --assignee values; use one actor value for both aliases.",EXIT_CODE.USAGE,{code:"conflicting_lifecycle_owner",examples:["pm claim pm-123","pm claim pm-123 --start","pm release pm-123"]});return{author:author??assignee,message:readOptionString(options,"message")}}async function runTestAllAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now();if(options.background===!0){const result2=await runStartBackgroundRun({kind:"test-all",commandArgs:buildBackgroundTestAllCommandArgs(options),statusFilter:readOptionString(options,"status"),noExtensions:globalOptions.noExtensions===!0},globalOptions);printResult(result2,globalOptions),globalOptions.profile&&printError(`profile:command=test-all took_ms=${Date.now()-startedAt}`);return}const result=await runTestAll(buildRunTestAllOptions(options),globalOptions);await invalidateSearchCachesForMutation(globalOptions,{ids:result.results.map(entry=>entry.id)}),printResult(result,globalOptions),(result.failed>0||result.fail_on_skipped_triggered===!0)&&(process.exitCode=EXIT_CODE.DEPENDENCY_FAILED),globalOptions.profile&&printError(`profile:command=test-all took_ms=${Date.now()-startedAt}`)}function buildRunTestAllOptions(options){return{status:readOptionString(options,"status"),limit:readOptionString(options,"limit"),offset:readOptionString(options,"offset"),timeout:readOptionString(options,"timeout"),progress:!!options.progress,envSet:Array.isArray(options.envSet)?options.envSet:[],envClear:Array.isArray(options.envClear)?options.envClear:[],sharedHostSafe:!!options.sharedHostSafe,pmContext:readOptionString(options,"pmContext"),overrideLinkedPmContext:!!options.overrideLinkedPmContext,workspaceContext:readOptionString(options,"workspaceContext"),overrideLinkedWorkspaceContext:!!options.overrideLinkedWorkspaceContext,allowUntrustedLinkedTests:!!options.allowUntrustedLinkedTests,failOnContextMismatch:!!options.failOnContextMismatch,failOnSkipped:!!options.failOnSkipped,failOnEmptyTestRun:!!options.failOnEmptyTestRun,requireAssertionsForPm:!!options.requireAssertionsForPm,checkContext:!!options.checkContext,fullOutput:!!options.fullOutput,autoPmContext:!!options.autoPmContext}}async function runTelemetryAction(namespaceOrSubcommand,subcommand,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runTelemetry({subcommand:resolveTelemetrySubcommand(namespaceOrSubcommand,subcommand),limit:readOptionString(options,"limit")},globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=telemetry took_ms=${Date.now()-startedAt}`)}async function runStatsAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),analytics=parseStatsAnalyticsJson(readOptionString(options,"analytics")),result=await runStats(globalOptions,{includeEmpty:options.includeEmpty===!0,storage:options.storage===!0,metadataCoverage:options.metadataCoverage===!0,byAssignee:options.byAssignee===!0,byTag:options.byTag===!0,byPriority:options.byPriority===!0,tagPrefix:readOptionString(options,"tagPrefix"),fieldUtilization:options.fieldUtilization===!0,...analytics});result.recorded_observations?.some(entry=>entry.changed)===!0&&await invalidateSearchCachesForMutation(globalOptions,{ids:result.recorded_observations?.flatMap(entry=>entry.observation.item_id?[entry.observation.item_id]:[])}),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=stats took_ms=${Date.now()-startedAt}`)}async function runDuplicatesAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),threshold=readOptionString(options,"threshold"),limit=readOptionString(options,"limit"),result=await runDuplicates(globalOptions,{...options.exhaustive===!0?{exhaustive:!0}:{},status:Array.isArray(options.status)&&options.status.length>0?options.status:void 0,since:readOptionString(options,"since"),...threshold===void 0?{}:{threshold:Number(threshold)},...limit===void 0?{}:{limit:Number(limit)}});printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=duplicates took_ms=${Date.now()-startedAt}`)}async function runHealthAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),strictExit=!!options.strictExit||!!options.failOnWarn,result=await runHealth(globalOptions,{strictExit,strictDirectories:!!options.strictDirectories,requireMergeDrivers:!!options.requireMergeDrivers,checkOnly:!!options.checkOnly,checkTelemetry:!!options.checkTelemetry,noRefresh:!!options.noRefresh,refreshVectors:!!options.refreshVectors,verboseStaleItems:!!options.verboseStaleItems,verboseAuthorEvents:!!options.verboseAuthorEvents,brief:!!options.brief,summary:!!options.summary||strictExit&&options.full!==!0,skipVectors:!!options.skipVectors,skipIntegrity:!!options.skipIntegrity,skipDrift:!!options.skipDrift,full:!!options.full});printResult(result,globalOptions),strictExit&&!result.ok&&(setActiveCommandResult({...result,exit_code:EXIT_CODE.GENERIC_FAILURE,error_code:"health_findings",error_category:"validation",command_resolution:"health_findings",resolution_stage:"execute"}),process.exitCode=EXIT_CODE.GENERIC_FAILURE),globalOptions.profile&&printError(`profile:command=health took_ms=${Date.now()-startedAt}`)}async function runValidateAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runValidate({checkMetadata:!!options.checkMetadata,metadataProfile:readOptionString(options,"metadataProfile"),checkResolution:!!options.checkResolution,checkCompleteness:!!options.checkCompleteness,checkLifecycle:!!options.checkLifecycle,checkStaleBlockers:!!options.checkStaleBlockers,dependencyCycleSeverity:readOptionString(options,"dependencyCycleSeverity"),parentCycleSeverity:readOptionString(options,"parentCycleSeverity"),checkFiles:!!options.checkFiles,checkCommandReferences:!!options.checkCommandReferences,scanMode:readOptionString(options,"scanMode"),includePmInternals:!!options.includePmInternals,verboseFileLists:!!options.verboseFileLists,verboseDiagnostics:!!options.verboseDiagnostics,allAffectedIds:!!options.allAffectedIds,checkHistoryDrift:!!options.checkHistoryDrift,checkStorageIntegrity:!!options.checkStorageIntegrity,fixHints:!!options.fixHints,autoFix:!!options.autoFix,dryRun:!!options.dryRun,fixScope:Array.isArray(options.fixScope)?options.fixScope:void 0,pruneMissing:!!options.pruneMissing,counts:!!options.counts,full:!!options.full},globalOptions);printResult(result,globalOptions),(options.strictExit||options.failOnWarn)&&(result.has_warnings||!result.ok)&&(setActiveCommandResult({...result,exit_code:EXIT_CODE.GENERIC_FAILURE,error_code:"validation_findings",error_category:"validation",command_resolution:"validation_findings",resolution_stage:"execute"}),process.exitCode=EXIT_CODE.GENERIC_FAILURE),globalOptions.profile&&printError(`profile:command=validate took_ms=${Date.now()-startedAt}`)}async function runGcAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runGc(globalOptions,{dryRun:options.dryRun===!0,scope:Array.isArray(options.scope)?options.scope:[]});printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=gc took_ms=${Date.now()-startedAt}`)}async function runWorkspaceSnapshotAction(action,target,options,command){const globalOptions=getGlobalOptions(command),pmRoot=resolvePmRoot(process.cwd(),globalOptions.path),normalizedAction=action.trim().toLowerCase();if(!WORKSPACE_SNAPSHOT_ACTIONS.some(entry=>entry===normalizedAction))throw createUnknownSubcommandError({command_path:"workspace snapshot",token:action,allowed:WORKSPACE_SNAPSHOT_ACTIONS,display_name:"workspace snapshot",token_kind:"action",examples:["pm workspace snapshot create before-migration","pm workspace snapshot restore before-migration"]});if(normalizedAction==="list"){printResult(await listWorkspaceSnapshots(pmRoot),globalOptions);return}if(normalizedAction==="create"){printResult(await createWorkspaceSnapshot(pmRoot,target===void 0?{}:{name:target}),globalOptions);return}if(target===void 0)throw new PmCliError(`pm workspace snapshot ${normalizedAction} requires a snapshot name or fingerprint`,EXIT_CODE.USAGE);if(normalizedAction==="inspect"){printResult(await inspectWorkspaceSnapshot(pmRoot,target),globalOptions);return}if(normalizedAction==="restore"){if(options.dryRun===!0){printResult(await planWorkspaceSnapshotRestore(pmRoot,target),globalOptions);return}const settings=await readSettings(pmRoot);printResult(await restoreWorkspaceSnapshotWithRecovery(pmRoot,target,{force:options.force===!0,author:resolveAuthor(readOptionString(options,"author"),settings.author_default),message:readOptionString(options,"message"),lockTtlSeconds:settings.locks.ttl_seconds,lockWaitMs:settings.locks.wait_ms}),globalOptions);return}printResult(await deleteWorkspaceSnapshot(pmRoot,target),globalOptions)}async function runWorkspacePositionAction(_options,command){const globalOptions=getGlobalOptions(command);printResult(await readWorkspacePosition(globalOptions),globalOptions)}async function runContractsAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runContracts({action:readOptionString(options,"action"),command:readOptionString(options,"command"),summary:!!options.summary,schemaOnly:!!options.schemaOnly,flagsOnly:!!options.flagsOnly,availabilityOnly:!!options.availabilityOnly,runtimeOnly:!!options.runtimeOnly||!!options.activeOnly,full:!!options.full},globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=contracts took_ms=${Date.now()-startedAt}`)}async function runClaimAction(id,options,command){const next=options.next===!0,start=options.start===!0;if(start&&id){await runStartTaskAction(id,options,command);return}requireClaimTarget(id,next,start);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),lifecycleOptions={...buildLifecycleMutationOptions(options),ifAvailable:options.ifAvailable===!0,...options.takeoverStale===!0?{takeoverStale:!0}:{},maxAttempts:options.maxAttempts,...start?{start:!0}:{}},result=next?await runClaimNext(!!options.force,globalOptions,lifecycleOptions,readClaimNextSelection(options)):await runClaim(id,!!options.force,globalOptions,lifecycleOptions);await invalidateSearchCachesForMutation(globalOptions,result),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=claim took_ms=${Date.now()-startedAt}`)}function readClaimNextSelection(options){return{type:readOptionString(options,"type"),tag:readOptionString(options,"tag"),priority:options.priority,assigneeFilter:readOptionString(options,"assigneeFilter"),parent:readOptionString(options,"parent"),sprint:readOptionString(options,"sprint"),release:readOptionString(options,"release"),includeDecisions:options.includeDecisions===!0,includeGates:options.includeGates===!0,includeContainers:options.includeContainers===!0,tokenBudget:options.tokenBudget??options.token_budget,explainRanking:options.explainRanking===!0||options.explain_ranking===!0}}async function runReleaseAction(id,options,command){if(options.pause===!0){await runPauseTaskAction(id,options,command);return}const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runRelease(id,!!options.force,globalOptions,{...buildLifecycleMutationOptions(options),ownershipReleaseBypass:options.ownershipReleaseBypass===!0,handoff:options.handoff});await invalidateSearchCachesForMutation(globalOptions,result),printResult(await applyActiveCommandResultService("release",[id],options,globalOptions,result),globalOptions),globalOptions.profile&&printError(`profile:command=release took_ms=${Date.now()-startedAt}`)}async function printLifecycleAliasHint(command){const global2=getGlobalOptions(command),alias=resolvePmCommandAlias(command.name());!alias||global2.json||global2.quiet||(await readSettings(resolvePmRoot(process.cwd(),global2.path))).ux?.deprecation_hints&&printError(renderPmCommandAliasMigrationHint(alias))}async function runStartTaskAction(id,options,command){await printLifecycleAliasHint(command);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runStartTask(id,{...buildLifecycleMutationOptions(options),force:!!options.force,next:options.next===!0,ifAvailable:options.ifAvailable===!0,...options.takeoverStale===!0?{takeoverStale:!0}:{}},globalOptions);await invalidateSearchCachesForMutation(globalOptions,result.update),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=start-task took_ms=${Date.now()-startedAt}`)}async function runPauseTaskAction(id,options,command){await printLifecycleAliasHint(command);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runPauseTask(id,{...buildLifecycleMutationOptions(options),handoff:readOptionString(options,"handoff"),force:!!options.force},globalOptions);await invalidateSearchCachesForMutation(globalOptions,result.release),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=pause-task took_ms=${Date.now()-startedAt}`)}async function runCloseTaskAction(id,reason,options,command){await printLifecycleAliasHint(command);const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runCloseTask(id,reason,{...buildLifecycleMutationOptions(options),validateClose:readOptionString(options,"validateClose"),force:!!options.force},globalOptions);await invalidateSearchCachesForMutation(globalOptions,result.release),printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=close-task took_ms=${Date.now()-startedAt}`)}function addLinkedTestExecutionOptions(command){return command.option("--background","Run linked tests in managed background mode").option("--timeout <seconds>","Default run timeout in seconds (requires --run)").option("--progress","Emit stderr run progress (requires --run; automatic in TTY)").option("--env-set <value>","Set run environment (KEY=VALUE, repeatable)",collect).option("--env-clear <value>","Clear run environment (NAME, repeatable)",collect).option("--shared-host-safe","Apply additive shared-host-safe run defaults").option("--pm-context <mode>","PM test context: schema|tracker|auto|none (default: schema)").option("--override-linked-pm-context","Override stored context with --pm-context").option("--workspace-context <mode>","Source-workspace mode: source|isolated|snapshot (default: source)").option("--override-linked-workspace-context","Override stored context with --workspace-context").option("--allow-untrusted-linked-tests","Execute untrusted linked commands when project policy also permits it").option("--fail-on-context-mismatch","Fail linked PM commands when context item counts differ").option("--fail-on-skipped","Treat skipped linked tests as dependency failures").option("--fail-on-empty-test-run","Fail successful commands reporting zero executed tests").option("--require-assertions-for-pm","Require assertion metadata for linked PM command tests").option("--check-context","Check PM context before execution and report the full execution context").option("--full-output","Report full stdout/stderr of passing rows").option("--auto-pm-context","Route mismatched PM tracker reads through tracker context")}function registerOperationCommands(program){registerAssuranceCommand(program);const testCommand=program.command("test").argument("<id>","Item id").option("--add <value>","Link isolated test; runs only with --run (CSV/markdown or stdin)",collect).option("--add-json <value>","Link isolated test; runs only with --run (JSON object/array or stdin)",collect).option("--remove <value>","Remove exact command/path (command=<value>, path=<value>, or stdin -)",collect).option("--remove-index <n>","Remove 1-based --list position (repeatable)",collect).option("--list","List linked tests without mutating").option("--update <value>","Edit exact command or path=<value>").option("--update-index <n>","Edit current 1-based --list position").option("--set-json <value>","Metadata patch; null clears optional fields").option("--run","Run linked test commands").option("--match <value>","Run matching command/path substring").option("--only-index <n>","Run 1-based --list position").option("--only-last","Run most recently added test").option("--full-history","Return all linked tests after a write");testCommand.option("--acknowledge-linked-tests","Trust current commands in this clone without execution"),addLinkedTestExecutionOptions(testCommand).option("--measure <value>","Record name=value[,unit=...][,threshold=...]; requires --run",collect).option("--metric-below <value>","Return evidence below name=value").option("--metric-diff <name>","Diff the latest two values").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").description("Manage tests linked to an item and optionally run them.").action(runTestCommandAction);const testAllCommand=program.command("test-all").description("Run linked tests across matching items.").option("--status <value>","Filter items by status before running tests").option("--limit <n>","Limit matching items before running linked tests").option("--offset <n>","Skip matching items before running linked tests");addLinkedTestExecutionOptions(testAllCommand).action(runTestAllAction),program.command("test-runs-worker",{hidden:!0}).argument("<runId>","Background run id").description("Internal background worker command.").action(async(runId,_options,command)=>{const globalOptions=getGlobalOptions(command);await runTestRunsWorker(runId,globalOptions)}),program.command("telemetry").argument("[namespace-or-subcommand]","Telemetry subcommand: status, flush, stats, clear (default: status)").argument("[subcommand]","Compatibility alias target for local-analytics: status, flush, stats, clear").option("--limit <n>","Maximum command groups returned by telemetry stats").description("Inspect and manage local telemetry queue/runtime state.").action(runTelemetryAction),program.command("duplicates").description("Find duplicate clusters across all statuses.").option("--status <value>","Statuses (repeatable or comma-separated)",collect,[]).option("--since <value>","Created at or after this time").option("--threshold <value>","Minimum similarity (0-1)").option("--limit <n>","Maximum clusters").option("--exhaustive","Score all pairs within the safety bound").action(runDuplicatesAction),program.command("stats").description("Show project tracker statistics.").option("--include-empty","Restore zero-count registered item-type and lifecycle-status buckets").option("--storage","Include aggregate history-stream storage metrics (total streams/lines/bytes, largest + deepest streams, oldest/newest entries)").option("--metadata-coverage","Include metadata coverage % (acceptance_criteria, estimated_minutes, resolution, tags, parent) overall and by type").option("--by-assignee","Include a lifecycle-bucketed item breakdown grouped by assignee").option("--by-tag","Include a lifecycle-bucketed item breakdown grouped by tag").option("--by-priority","Include a lifecycle-bucketed item breakdown grouped by priority").option("--tag-prefix <value>","With --by-tag: only count tags starting with this prefix (e.g. domain:)").option("--field-utilization","Report content-field utilization rates (notes/learnings/files/docs/tests/comments/deps/body) for governance analysis").option("--analytics <json>","Improvement ledger/history analytics JSON").action(runStatsAction),program.command("health").description("Show project tracker health checks.").option("--strict-directories","Treat optional item-type directories as required failures").option("--require-merge-drivers","Treat absent clone-local merge drivers as a required health failure").option("--check-only","Run read-only health diagnostics without refreshing vectors").option("--check-telemetry","Probe telemetry endpoint health and include network diagnostics").option("--no-refresh","Disable automatic vector refresh attempts during health checks").option("--refresh-vectors","Explicitly enable vector refresh attempts during health checks").option("--verbose-stale-items","Include full stale vectorization ID lists in health output").option("--verbose-author-events","Include every actionable unknown-author event coordinate for review or disposition").option("--brief","Emit compact health details for low-token agent checks").option("--summary","Emit one-line-style status and warning count, also with --full").option("--skip-vectors","Skip vectorization check for a faster run").option("--skip-integrity","Skip item/history file integrity check for a faster run").option("--skip-drift","Skip history drift hash check for a faster run").option("--full","Run every check (slow integrity, drift, vectors too); keeps --summary/--brief").option("--strict-exit","Return non-zero exit when health is not ok and default to actionable summary output; use --full for complete details").option("--fail-on-warn","Alias for --strict-exit").action(runHealthAction),program.command("validate").description("Validate metadata, lifecycle policies, files, command references, and history.").option("--check-metadata","Run metadata completeness checks").option("--metadata-profile <value>","Metadata profile (core|strict|custom)").option("--check-resolution","Run closed-item resolution metadata checks").option("--check-completeness","Check declarative lifecycle field requirements").option("--check-lifecycle","Run active-item lifecycle governance drift checks").option("--check-stale-blockers","Include stale blocker-pattern diagnostics in lifecycle checks").option("--dependency-cycle-severity <value>","Set dependency-cycle warning policy for lifecycle checks (off|warn|error)").option("--parent-cycle-severity <value>","Set parent-hierarchy cycle warning policy for lifecycle checks (off|warn|error)").option("--check-files","Run linked-file and orphaned-file checks").option("--check-command-references","Run linked-command PM-ID reference checks").option("--scan-mode <value>","Select file candidate scan mode for --check-files (default|tracked-all|tracked-all-strict)").option("--include-pm-internals","Include PM storage internals in tracked-all candidate scans").option("--verbose-file-lists","Include full file-path lists for validate --check-files details").option("--verbose-diagnostics","Include full diagnostic ID lists").option("--all-affected-ids","Emit complete missing_* affected-ID lists with no truncation (implied by --json)").option("--strict-exit","Return non-zero exit when validation warnings are present").option("--fail-on-warn","Alias for --strict-exit").option("--fix-hints","Add a machine-executable fix_hints[] of pm commands to each failing check's details").option("--auto-fix","Apply safe, deterministic field backfills").option("--dry-run","Preview planned --auto-fix/--prune-missing fixes without applying them").option("--fix-scope <scope>","Grant --auto-fix scopes (metadata, resolution, estimates, timestamps, lifecycle; comma-separated or repeatable). Default: metadata, resolution; other scopes require explicit opt-in",collect).option("--prune-missing","Remove deleted-path file/doc links; preserves real files").option("--check-history-drift","Run item/history hash drift checks").option("--check-storage-integrity","Run the post-merge storage-integrity check (unreadable items, history conflict markers, resurrected deletes, unparseable config/schema)").option("--counts","Keep validation counts and totals while omitting per-item diagnostic arrays").option("--full","Return the complete validation diagnostic projection").action(runValidateAction),program.command("gc").option("--dry-run","Preview cleanup targets without deleting files; without this flag, pm gc deletes matched artifacts").option("--scope <value>","Limit cleanup to one or more scopes (comma-separated or repeatable): index, embeddings, runtime, locks, checkpoints, transactions",collect).description("Delete optional cache artifacts by default (including expired lock debris) and show a summary.").action(runGcAction);const workspaceCommand=program.command("workspace").description("Inspect workspace state and snapshots.");workspaceCommand.command("position").description("Show merge and history readiness.").action(runWorkspacePositionAction),workspaceCommand.command("snapshot").argument("<action>","Action: create, list, inspect, restore, delete").argument("[target]","Optional name for create; name or fingerprint otherwise").description("Manage content-addressed tracker snapshots.").option("--dry-run","Preview restore file, item, stream, and history-entry impact without mutating state").option("--force","Explicitly confirm a whole-workspace snapshot restore").option("--author <value>","Actor recorded on the restore audit event").option("--message <value>","Human-readable restore rationale").action(runWorkspaceSnapshotAction),program.command("contracts").description("Show machine-readable command and schema contracts for agents.").option("--action <value>","Filter tool schema branches to a specific action").option("--command <value>","Scope contracts output to one CLI command (narrow-by-default)").option("--summary","Return one command+intent row per top-level command for cheap agent bootstrap").option("--schema-only","Return schema-focused output only").option("--flags-only","Return command flag contracts only").option("--availability-only","Return action availability surface only").option("--runtime-only","Include only actions invocable in the current runtime").option("--active-only","Alias for --runtime-only").option("--full","Include full schema and command-flag surfaces (large; default brief output omits heavy sections for unfiltered queries)").action(runContractsAction);const claimCommand=program.command("claim").option("--start","Claim and start (id or --next)").argument("[id]","Item id (omit with --next)").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force claim override").option("--if-available","Skip another author's claim (skipped=true)").option("--takeover-stale","Take over an idle claim (stale-work policy)").option("--next","Atomically claim the next caller-available actionable item").option("--type <value>","Filter --next candidates by type").option("--tag <value>","Filter --next candidates by tag").option("--priority <value>","Filter --next candidates by priority").option("--assignee-filter <value>","Filter --next candidates: assigned|unassigned").option("--parent <id>","Scope --next candidates to a subtree").option("--sprint <value>","Filter --next candidates by sprint").option("--release <value>","Filter --next candidates by release").option("--max-attempts <n>","Bound the --next candidate walk (default 10; maximum 100)").option("--include-decisions","Allow --next to claim human-gated Decision items").option("--include-gates","Allow --next to claim outcome gates").option("--include-containers","Allow --next to claim containers with unfinished descendants").option("--token-budget <n>","Bound the estimated tokens used to rank --next candidates").option("--explain-ranking","Include ranking provenance for --next selection").description("Claim an item for active work.").action(runClaimAction);addHiddenOption(claimCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands"),addHiddenOption(claimCommand,"--token_budget <n>","Alias for --token-budget"),addHiddenOption(claimCommand,"--explain_ranking","Alias for --explain-ranking");const releaseCommand=program.command("release").option("--pause","Use open status").option("--handoff <status>","Needs --message").argument("<id>","Item id").option("--author <value>","Author").option("--message <value>","Message").option("--force","Override ownership").description("Release ownership.").action(runReleaseAction);addHiddenOption(releaseCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands");const startTaskCommand=program.command("start-task",{hidden:!0}).argument("<id>","Item id").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership or terminal override when required").option("--takeover-stale","Take over an idle claim (stale-work policy)").description("Lifecycle alias: claim an item and move it to in_progress.").action(runStartTaskAction);addHiddenOption(startTaskCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands");const pauseTaskCommand=program.command("pause-task",{hidden:!0}).argument("<id>","Item id").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override when required").description("Lifecycle alias: move an item to open and release its claim.").action(runPauseTaskAction);addHiddenOption(pauseTaskCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands");const closeTaskCommand=program.command("close-task",{hidden:!0}).argument("<id>","Item id").argument("[reason]","Close reason text").option("--author <value>","Mutation author").option("--message <value>","History message").option("--validate-close <value>","Close-time validation mode: off|warn|strict").option("--force","Force ownership or terminal override when required").description("Lifecycle alias: close an item and release assignment metadata.").action(runCloseTaskAction);addHiddenOption(closeTaskCommand,"--assignee <value>","Alias for --author on lifecycle ownership commands")}export{_testOnlyRegisterOperations,registerOperationCommands,requireClaimTarget};
2
2
  //# sourceMappingURL=register-operations.js.map
@@ -1 +1 @@
1
- {"schema_version":1,"generation":"54c0ef40f375b2d27e40d0c37df5c2a1ad5b3f7a8af0ce57e2789c292f611c4f","files":[{"path":"chunks/chunk-25BUKX4W.js","sha256":"17c423fb6b7de15fd302b5937223b806eca8155c5445a99dab469ebc9fb83bab"},{"path":"chunks/chunk-25BUKX4W.js.map","sha256":"e6751e2d42b1cb31cd4796ce1c3f572c489e55ebf8cf8c549fc8ec47caf9afbc"},{"path":"chunks/chunk-27FG6ROB.js","sha256":"b7a6b688d54a0627b69e43530e67d81169e8059b64792bb194cdb2ca2efafbab"},{"path":"chunks/chunk-27FG6ROB.js.map","sha256":"cb3599b08e31263e24a58443321712f9de9edfb61280744beb7beca07028cdaa"},{"path":"chunks/chunk-547OEGDR.js","sha256":"2b9db7d01b2b3470942cf174bb8f3779c387516ef3d0d9f254e3342e314d295a"},{"path":"chunks/chunk-547OEGDR.js.map","sha256":"2f88932107b68cc3a9ef3ef1b1a633522fec536f21b6c938200a1d4dd6e0e8ff"},{"path":"chunks/chunk-5TGFB34A.js","sha256":"629800ad8244852612cc2a1c4ceeeb052e940677f6e91cbc163e117d5fa0fc14"},{"path":"chunks/chunk-5TGFB34A.js.map","sha256":"fd1765929df526e5d7a2a0bd78c7a29c990cc79e70cd18810136cbca50ce975a"},{"path":"chunks/chunk-65SBMIK6.js","sha256":"5654b9628f651407c2c05a10a6f11294054fd717c34df17aa322114b2112e0ca"},{"path":"chunks/chunk-65SBMIK6.js.map","sha256":"3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"},{"path":"chunks/chunk-AXTUB74T.js","sha256":"8e5d9fc649e4de7c3b2821818dd2be7c6ed8cc92846766e517950590ca38a7c1"},{"path":"chunks/chunk-AXTUB74T.js.map","sha256":"a293fc0d94c56a7f11857fdc95a5355cf5ceca2329c9a17dd21416824f947b0b"},{"path":"chunks/chunk-BHH65KLL.js","sha256":"924d69210c3c543375e5be080d85cd0d10da7eab8636a37e9c20f49a7ac04131"},{"path":"chunks/chunk-BHH65KLL.js.map","sha256":"504741aafd383ea493136c423efe05de384ed30da8f1815a78e6cac625c6ef00"},{"path":"chunks/chunk-C7M54YV6.js","sha256":"73c964a9ca416cd1f8dedee1d59381b3c7302e5ddd696926e6e1db81e6d82627"},{"path":"chunks/chunk-C7M54YV6.js.map","sha256":"8750913c04de7153f9e12457f3372426906be16c33c5d0fc22daf9f9894f8448"},{"path":"chunks/chunk-DEZPZOQ7.js","sha256":"ef11ddab9ecc9533cac75ccc8ca41058a59382dfbe3262033fa21c7264d73b0d"},{"path":"chunks/chunk-DEZPZOQ7.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-DMWL3K4A.js","sha256":"b63fddce7bf7f69d482b2d53e1517f59ee3d38893467248ccb0786eabb8b33b6"},{"path":"chunks/chunk-DMWL3K4A.js.map","sha256":"f1e584b9354ad751e18b64403de634a8803d8f96812588bca638cc8e583dda45"},{"path":"chunks/chunk-DVN7CD5B.js","sha256":"e352b42b30ce3e6ed5583179a83bfb9c76c747dd73b16b8d42c43e6d4a164192"},{"path":"chunks/chunk-DVN7CD5B.js.map","sha256":"367f1c2c7c785d2c722224f7148e6e5bd0259c2e9749173bc7952289a895d1b6"},{"path":"chunks/chunk-DZ7CWUVM.js","sha256":"5bfc9a95d0abd1894b97f27cf062893936efa18acbd7668949be0817230e0675"},{"path":"chunks/chunk-DZ7CWUVM.js.map","sha256":"7031b64b2fb737d26106e4aac790a2b15c943ad1f7996e621c91ce07b9691a10"},{"path":"chunks/chunk-EXO4PM5J.js","sha256":"d29176a0aa514883722e05c8e412f499b2f4451151b082d60bb0c0d1dd680cdd"},{"path":"chunks/chunk-EXO4PM5J.js.map","sha256":"f79025cb1e315e53512a3b14885ec5858fb12968ce4a0d163fe52fd03439839a"},{"path":"chunks/chunk-FRCNYOTG.js","sha256":"1dc2ed3c173a97c2279a2d4ef766a5fd3c61e506a7932bc74ce5fe088a901cca"},{"path":"chunks/chunk-FRCNYOTG.js.map","sha256":"d925a922861335acd467b1ce4240f23c0302c088a2148aec81e7dff58c2579b8"},{"path":"chunks/chunk-HXECILIE.js","sha256":"4d487c6ef7210cbdf199a9e60a518a4ab5f16da97d532ea500008aa916955199"},{"path":"chunks/chunk-HXECILIE.js.map","sha256":"e684b4bca2f84304c58de5a1180fa10ceaa2ec9552cc190a4c54609e4be582b8"},{"path":"chunks/chunk-IB7UB5TE.js","sha256":"158940f663a676247075395b646afbce49c7b88138d677699bdabf9add9776df"},{"path":"chunks/chunk-IB7UB5TE.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-IDFRGH4X.js","sha256":"40124aca8f9fe91742e8469a71bdc05717b85a46310e1c51ca9b77cffebb4ecd"},{"path":"chunks/chunk-IDFRGH4X.js.map","sha256":"f973eccfa0678d073460746c274936115e5db3f8c8314ec25c63cb37df719b5e"},{"path":"chunks/chunk-JSTBYDLL.js","sha256":"c93f25994b2025eda2392d57c839c4ad8c707dfdd76cdfcd9364d0f05566e661"},{"path":"chunks/chunk-JSTBYDLL.js.map","sha256":"9f46ba52257e0016fe485dd8c5b74874b7026b13cdb192bb5f008cb3424948bf"},{"path":"chunks/chunk-MELSYAFE.js","sha256":"e88cabf4333e26a36f5c447599b674a8e0619ad10f448b482b4499b7c888b5fa"},{"path":"chunks/chunk-MELSYAFE.js.map","sha256":"bafc93dec44e3c58ae62d340dbac865c2d3d87239fef7e8093ddb6b9ac8ef00b"},{"path":"chunks/chunk-O4ZLEN4T.js","sha256":"c840a800fd85b0a9078b28e5cbc51b048ca15f14179bf5865e6840105093a8a6"},{"path":"chunks/chunk-O4ZLEN4T.js.map","sha256":"ac003ffbf6bca2076ea011786e029b165d5626153de1f2ad73053bbf3517b243"},{"path":"chunks/chunk-OTM6PXZQ.js","sha256":"0d0e17c3bbdadcaf42f33c3eb53f65a16b4da0464994e406e565af2f369a74d4"},{"path":"chunks/chunk-OTM6PXZQ.js.map","sha256":"6891e9179042addffd88d12c8e1e02a0598c5b577cc5857271cf485b72077c46"},{"path":"chunks/chunk-PC5DGK3C.js","sha256":"6533db2da751e3bd1816789aa1a53a512d397f8963c84426736bc35869b0bcd9"},{"path":"chunks/chunk-PC5DGK3C.js.map","sha256":"deb4bbfb297c913646620f22e4c12925e689d7af6d39d07955c0526f712b82e9"},{"path":"chunks/chunk-PF3V443A.js","sha256":"8eb4fb9d6243204f1e2990ba0c9a6ab62df00579e56d38abe2be57d6de86939a"},{"path":"chunks/chunk-PF3V443A.js.map","sha256":"4a5ca6e764c15fb0d450a503ccc2a44ed842607387bdd8736d4173063f5da2be"},{"path":"chunks/chunk-RSAN2YUU.js","sha256":"6d761ffb0fd8a6f76a78205e18eb54dc93cd51bfc24e17162a4731a2351399f2"},{"path":"chunks/chunk-RSAN2YUU.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"chunks/chunk-SPPHDVZE.js","sha256":"ba82130f93656299c39dc713ba1f03fc47bec7a39fac6594c72e10ba398f04d3"},{"path":"chunks/chunk-SPPHDVZE.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"chunks/chunk-U2HVJVA5.js","sha256":"25c5b1fc8ddd3cb64d042865fee2406008b86e1279a02b0c2f110827dc79fce0"},{"path":"chunks/chunk-U2HVJVA5.js.map","sha256":"a825a13fa2fffd1a1fb2f09aedaadbfde813be6be0570c74adefa421f37f03dd"},{"path":"chunks/chunk-UJMQP2HP.js","sha256":"33d8da387462b3150d10560acf8d13d63ab2fbb654f247cd777e7cc45c5ab19c"},{"path":"chunks/chunk-UJMQP2HP.js.map","sha256":"26c92ca1dcf896743cae73cdf47c47a8133e4e9cff4590b313c02d7094087305"},{"path":"chunks/chunk-V2OAXGHK.js","sha256":"9b1b4a4053d5ccac0d21b7a48d4045683913f33938d3904b286520573ce0fffa"},{"path":"chunks/chunk-V2OAXGHK.js.map","sha256":"65a6798e58abe05dd23155d9913808ddd605f59dafe8011040ad766caad3f7b8"},{"path":"chunks/chunk-VERRDW3Q.js","sha256":"a841a8803cb592b4155baae188974891939d38c507ff76a70d7f38ccee3e067b"},{"path":"chunks/chunk-VERRDW3Q.js.map","sha256":"28a454c63b7b0f56502f9f039a994cc8d71e668e5430039fa7e666fc328d9baf"},{"path":"chunks/chunk-VS565KBX.js","sha256":"f66d92e0d59add33123dc44938a2cf76a749b262d5c044d8bbccce24861f9351"},{"path":"chunks/chunk-VS565KBX.js.map","sha256":"562c753aa39adbfdbeefaf390e68fdadd1fe986bcb6e82f9355315e8d6a16ec9"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/context-budget-recovery-L2WP5S26.js","sha256":"94308a0c40cb90380fb5f3c00c105b04df651eb699452e4a1eff4392936bad3e"},{"path":"chunks/context-budget-recovery-L2WP5S26.js.map","sha256":"bdec4d79334c795b8b4fdcf03f3820adac1f8a3a220767d3cf0de29c4d3a79e2"},{"path":"chunks/indexed-receipt-blobs-I6RQGD6Y.js","sha256":"6a9e5f49b8c0212d359d9a148334403e1ece480b71fe9056780a686ca49a4e06"},{"path":"chunks/indexed-receipt-blobs-I6RQGD6Y.js.map","sha256":"cd38ac9e4b9beec9644d2629c41c46fef0179d7fcd36a1df7cafd1cdf5f22489"},{"path":"chunks/item-revision-VGIHIWZM.js","sha256":"b3df14e1ef964026ee41591e9f1764d91fe29ad61966a91dbbb2a6fae827cf51"},{"path":"chunks/item-revision-VGIHIWZM.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/item-transaction-6OB6BGTD.js","sha256":"f7cebd74f265fcbbcca0838f853091c0f44aeef60da55c1b02f0e4c2ad04b660"},{"path":"chunks/item-transaction-6OB6BGTD.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/mutation-admission-LL6SGQYU.js","sha256":"cb3663f0e3a2cda263b135d0d33c8436106cb95c160b9903cf0acaa64c37ae0a"},{"path":"chunks/mutation-admission-LL6SGQYU.js.map","sha256":"442edc3e0ad6c8e614c4729e5af935f14e79902c0af0c9779e3fe68fbc7248ea"},{"path":"chunks/register-list-query-MCNOV6ML.js","sha256":"eee30ae9d8969a7879b041c77f0ad132d059aa7f3f05930e0093138504d768bb"},{"path":"chunks/register-list-query-MCNOV6ML.js.map","sha256":"f98d8f279badbacfe3eaf4f7567acb7b7cb985ac13a0f55a8c4641dd15cd5910"},{"path":"chunks/register-mutation-KYXLYHOK.js","sha256":"ad1336f972524b98de30a45453bf997156f64a4e4843b1fdc1f99baabc04c4bd"},{"path":"chunks/register-mutation-KYXLYHOK.js.map","sha256":"45c932d69f1a3e4684b6497282d32358243c50f9fbd4e1d09141eed3b54eb102"},{"path":"chunks/register-operations-6RQF6IAE.js","sha256":"2ddc15c3d0ecc12f007a7a85409f185b0e3f8811e7eb4d1847419fc7911640a4"},{"path":"chunks/register-operations-6RQF6IAE.js.map","sha256":"ca89410b4b891bb8f0a6305def8b647b666db5fe8276f5c3e1e74ee3cb2bb6ee"},{"path":"chunks/register-setup-XGPOFFD3.js","sha256":"fd6867e2cf965a73eef21d0a43e316298942e3495f300ee4b2b2af12789f6108"},{"path":"chunks/register-setup-XGPOFFD3.js.map","sha256":"f05b4d69992dc1793327db69bfc5c7e5ad8090ffbba980fc38f63121a53f643b"},{"path":"chunks/settlement-hook-JHXLUBEN.js","sha256":"60574b6f2502b42ca6797b76a0a41d2ebfe8f4cd1087d19c9648ad7ed01cbf46"},{"path":"chunks/settlement-hook-JHXLUBEN.js.map","sha256":"6e0577b035532efe4968d1a3bbaf491e0d790074b735ff94448143e5a700c747"},{"path":"chunks/stage-ZS7WNUD4.js","sha256":"5fec54a6aeb1bb79cd8f2d0fc90792be4427ac84e0a4ec1decaea7d867bf4084"},{"path":"chunks/stage-ZS7WNUD4.js.map","sha256":"1cfaef9f0b1890e2dfed29ad9121a25281e2f074e8183edc9163c214e4b00437"},{"path":"focused-chunks/chunk-2A4JCFMI.js","sha256":"4a9ecbebeaea8bc1bbb4347e8127c069c82b3b636bbbc5c54319c6fc1d67bac7"},{"path":"focused-chunks/chunk-2A4JCFMI.js.map","sha256":"fbe76c47a1c5f963993636b7c6b2aadf39d926145d50094fa4d68510bb21f099"},{"path":"focused-chunks/chunk-2T6MQ7NP.js","sha256":"33d063c0d519b6d65b36bdb842378da2f8914f20bfe8ccb2692fed9a25bd54e7"},{"path":"focused-chunks/chunk-2T6MQ7NP.js.map","sha256":"8546cc0048c0c43165a20ef22f64678f4050ab704fd5f24106f87919b276c755"},{"path":"focused-chunks/chunk-32QYILXW.js","sha256":"07bcf28633013a267b9ed4f536af78e64f6f8ba4e88b5202b97862913d8428eb"},{"path":"focused-chunks/chunk-32QYILXW.js.map","sha256":"3b6f954f79253214ec0949e8c8a12cb68bf0cd029c7697afb765bbc812e83b77"},{"path":"focused-chunks/chunk-3SUKWYR2.js","sha256":"be84b4c0c5e8ccdfef9fb60b803541877a03e363a934f151f54d2db79e3dee89"},{"path":"focused-chunks/chunk-3SUKWYR2.js.map","sha256":"f169910643c9722f7af2f7c82ad2fc13744fc195f7e4f7e80847906b8b574906"},{"path":"focused-chunks/chunk-4WOF3Q6R.js","sha256":"0656a531dd00dca89e4e6b3e58b7423ea20c584ece4c3480c9dc0becb9ea5e5d"},{"path":"focused-chunks/chunk-4WOF3Q6R.js.map","sha256":"cd0e98dcb3e0af5b843471965b4cbba9dac8deeca052587327f3f00c0d7b93d0"},{"path":"focused-chunks/chunk-5IQPFV4Y.js","sha256":"d424a84b5afe96294faa9e6e2bfc5f64cabf09c19b79586f2a7f334bb863d522"},{"path":"focused-chunks/chunk-5IQPFV4Y.js.map","sha256":"bfe324e86198585dd63d88606d482f8cc71cf5416ed34e77859689715af25b89"},{"path":"focused-chunks/chunk-6C7NBJ7A.js","sha256":"d3cff065541b3dd2ae81d446081dbb5457148db039018be06732aaa358b9da58"},{"path":"focused-chunks/chunk-6C7NBJ7A.js.map","sha256":"6b01b8409eb1b5b7f2c0e382c9f9888811c4b1798a898ace781885f74e1c62e4"},{"path":"focused-chunks/chunk-7KNF6RCV.js","sha256":"6c587991d11f0261984f7dc5ba5e94aa427a87dc235ba98efe4466d9bc32a553"},{"path":"focused-chunks/chunk-7KNF6RCV.js.map","sha256":"9ca435c648b846a712a78b78e0662989dd0ca012f7bd1f22af9052269d75eff4"},{"path":"focused-chunks/chunk-C3O6JJPO.js","sha256":"1f495890523f3550ee1050149240e68e386d729f0278be125ee51c337c2952c4"},{"path":"focused-chunks/chunk-C3O6JJPO.js.map","sha256":"7222eba51724ce2de54f854d9e01ca89dd73272e6407cdd8b9211be1cf9675c1"},{"path":"focused-chunks/chunk-EAYRYXA6.js","sha256":"541560c55488c4f4486311c98ea6ba7cce51fb29a4bf8bcb8420aaccd8780b10"},{"path":"focused-chunks/chunk-EAYRYXA6.js.map","sha256":"2b3a95cd41fd97a89ef351323002637cdaeb093c80939a0278d05f9efd9d2118"},{"path":"focused-chunks/chunk-EGN2HFRU.js","sha256":"60ca3c4b0c5584d8866c75892f5c5224db858ef11328a0d99265b2c94eb3815d"},{"path":"focused-chunks/chunk-EGN2HFRU.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"focused-chunks/chunk-EH7JKGDH.js","sha256":"bf0fb5dd35314653623a5a6a02861cbfaaa25d111bf70441ff2536223908a685"},{"path":"focused-chunks/chunk-EH7JKGDH.js.map","sha256":"e27692e5f33d7d892f44ef51f07249e209463d941ba29599482b794019759709"},{"path":"focused-chunks/chunk-EXCVUBAE.js","sha256":"006d1012142bd97bc0adc206c86509b8bc4f2b6c23f177060d20b263706cc5dc"},{"path":"focused-chunks/chunk-EXCVUBAE.js.map","sha256":"863073db0139bc67f4fdfcdd83f80ac9fff85f85127388cfd6c87807074699f2"},{"path":"focused-chunks/chunk-FNLOLNPQ.js","sha256":"0dc5f216cf3f163049c00073864dc9491f0fd2dac95368b51c3e50de3ce35896"},{"path":"focused-chunks/chunk-FNLOLNPQ.js.map","sha256":"a4eb80021e5972a23bb79e9ff6da79ad628414c8ef97d4a556eba76b7afd5b90"},{"path":"focused-chunks/chunk-FOA7XKWP.js","sha256":"3e57188628de10dafcc17048ef3dcc5b9061c29ff4f34620a4d62de45ee606fa"},{"path":"focused-chunks/chunk-FOA7XKWP.js.map","sha256":"562c753aa39adbfdbeefaf390e68fdadd1fe986bcb6e82f9355315e8d6a16ec9"},{"path":"focused-chunks/chunk-G6ERMFJ5.js","sha256":"2b65658ea244174c234a3190965d9bdc6fec1f625cf7d34d019ee53ac89fdd52"},{"path":"focused-chunks/chunk-G6ERMFJ5.js.map","sha256":"22c39dcfda645869aaf1242d3287de74ff3e9b6186967a7cd17e9aafc7e26822"},{"path":"focused-chunks/chunk-GHQVM6K6.js","sha256":"79ea412a6b8b7c176f75f19aaaabf6fbbfbc826c4362254c90183003f4b8f1d6"},{"path":"focused-chunks/chunk-GHQVM6K6.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/chunk-HRLGC3P7.js","sha256":"7cbc05d2d54eba6741ff0b620f1055a2c18c8e59c373870e0dc2c3d8e22cfffc"},{"path":"focused-chunks/chunk-HRLGC3P7.js.map","sha256":"4f2b8dc2691d95630fea75c1370779e3e535c166c515b28c3fc29d99ee7d4f2d"},{"path":"focused-chunks/chunk-I5LGPUWH.js","sha256":"f2289c3bdd0121277e0e06133743ab4633ccb4384d70ba302df15b53ce1be45d"},{"path":"focused-chunks/chunk-I5LGPUWH.js.map","sha256":"5372543aa2680b9ab13778a97bd74f239974c09fdbc238233d00006a6c16021a"},{"path":"focused-chunks/chunk-I7A5VP5E.js","sha256":"b19cf35a2700dbcee1675d2baf2be507236ac06794f1a5fdce5e67023aad8010"},{"path":"focused-chunks/chunk-I7A5VP5E.js.map","sha256":"372b5a9b6c325f70c705590c458c1718b657049494182d536929b6e6540eab93"},{"path":"focused-chunks/chunk-IDAYTYNN.js","sha256":"4cf4b10a5600acff248e6fa45a40bfb028cce8d4def56901dcccca778f9e8058"},{"path":"focused-chunks/chunk-IDAYTYNN.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"focused-chunks/chunk-JHC3X43E.js","sha256":"25fca222b0e1623200a88afe4512cd6ef96f5828fc4a94717e271a281b34b6ee"},{"path":"focused-chunks/chunk-JHC3X43E.js.map","sha256":"8b883458bd932973390e136ac0619dd520ae7f08f36bb0d058e6be72d90dcd0c"},{"path":"focused-chunks/chunk-MKYNDWT3.js","sha256":"b1334604a2d40e651afa002e9ec19ccce775835ca121c8332ccc624ac6585258"},{"path":"focused-chunks/chunk-MKYNDWT3.js.map","sha256":"a4a3bdf8029a940d65b72c2df55dcf17109229ab98850460e2679adf4a0164cb"},{"path":"focused-chunks/chunk-RDTHL44U.js","sha256":"16147868b709be96766142aa62373f10866c012cb23e6607f01a12a3282793eb"},{"path":"focused-chunks/chunk-RDTHL44U.js.map","sha256":"37a4a040b53d3967014e24c06713f3bb7f10ae8b6e2e67d36a4ea32b113769b8"},{"path":"focused-chunks/chunk-SVOOGGAK.js","sha256":"cf84553a8001feee7147d6941274dc00cf8644ded0da1e4b611b542c02f6dcb5"},{"path":"focused-chunks/chunk-SVOOGGAK.js.map","sha256":"c6941ba9e7060fcb63add9bb1b246052f16f530b85845320f23076a4db57f341"},{"path":"focused-chunks/chunk-TA4EGVE6.js","sha256":"6a80b3dc576d371ffb6307cdd42409ee00269e02002b718e50a1f1bc803a4b62"},{"path":"focused-chunks/chunk-TA4EGVE6.js.map","sha256":"26caacaf2e6171056f04695cb09bdf2f914364ad5fbf957b1f20a58e94579dde"},{"path":"focused-chunks/chunk-UCCLV5GJ.js","sha256":"2fc738efbe5a5e512a2d07911d58f61d6718b06014f3d3231bf1ae82fb51e63b"},{"path":"focused-chunks/chunk-UCCLV5GJ.js.map","sha256":"8cceb2f21b2b0df0e9645fb6c151c8ec033af2023f755ed788c75efcf58fee54"},{"path":"focused-chunks/chunk-W3RWCLEU.js","sha256":"c7d37d9561288cb209a21feec8d23ffe7ea479f82cacc1a78d22c173dd1d8576"},{"path":"focused-chunks/chunk-W3RWCLEU.js.map","sha256":"2f513302643ad4da77cc42f983b240931cf5aa55c93e84f0049e004e3689c0ba"},{"path":"focused-chunks/chunk-W57DSFSU.js","sha256":"dcba01bc5d26639caf762083abd20f430238aaed223dddcd5935b5f92a33c6d4"},{"path":"focused-chunks/chunk-W57DSFSU.js.map","sha256":"8a6db1fbf84b1717a1bf8b07ce199b073dc05d3d0f271c0336df28e7373f354a"},{"path":"focused-chunks/chunk-YNYO7PMT.js","sha256":"67d9a5ef37c792351f9d813905f1b3f56803a3189e952e77e4a23a9e25aadd9c"},{"path":"focused-chunks/chunk-YNYO7PMT.js.map","sha256":"c3681ae4357e9a0ebbf25a86ed94ca0ef0bf6dea3532d5eb5707173f5708c41d"},{"path":"focused-chunks/context-budget-recovery-5MKOCGY5.js","sha256":"1f103ba5015f9f0dabbb93e2fa2cd59078036e68b9b1f3da2bd265025dbd44f1"},{"path":"focused-chunks/context-budget-recovery-5MKOCGY5.js.map","sha256":"3e209028283d24aafcd47b35e66acb6297ef80f0f13f6bf0e7e393a9f15d4317"},{"path":"focused-chunks/indexed-receipt-blobs-7XGVHYAO.js","sha256":"dcfeb93e2ae577f5dd834ff0b159b39faa05ba516cd1364f734206dcaf818860"},{"path":"focused-chunks/indexed-receipt-blobs-7XGVHYAO.js.map","sha256":"82230162c7538ff401bdb67dd28a671f3bb6c8e0c874fb375bd3f303db03e1cc"},{"path":"focused-chunks/item-revision-7J7WSCPC.js","sha256":"c0858d90be77dccbbcfaedd1279a797cd048f15a9987894a5a09b23e7d7e8769"},{"path":"focused-chunks/item-revision-7J7WSCPC.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/item-transaction-F5YMCPRB.js","sha256":"5a68b0f80d8d8d9f339931e17d57f23ec14c6ee8c0a61b87e792823df993c448"},{"path":"focused-chunks/item-transaction-F5YMCPRB.js.map","sha256":"ce3d7bdb82f993beb8748ee7e066a4ccb236ac7bdc97f2d43a913bcbc36d1024"},{"path":"focused-chunks/mutation-admission-2NRQEAOG.js","sha256":"224cd343826656c069501454ca95f7a70bd927052428c1def43d008e3a5299ef"},{"path":"focused-chunks/mutation-admission-2NRQEAOG.js.map","sha256":"da67cac3159b4a3ab6cfd23b3066ef3ea1bd5f30fe2509a24f2e0d2d2e7422e8"},{"path":"focused-chunks/settlement-hook-H56537UV.js","sha256":"1cf7677ed2a857da74d12353bed01a3aa5d5b99c94368f191424325873587c18"},{"path":"focused-chunks/settlement-hook-H56537UV.js.map","sha256":"d49b55f7df2dff3c6287f163f6a2bb801dca8caf522412c0b328eb9f74be5c7f"},{"path":"focused-chunks/stage-2KVCKOGC.js","sha256":"bb1ebe987bd3dd02b69f2c87ea7a2505528903511de83426295cfa3d29661ae9"},{"path":"focused-chunks/stage-2KVCKOGC.js.map","sha256":"459992e40035455aa340d185dfdd852ced4f004910301d0ed888bf8266c45535"},{"path":"main.js","sha256":"f21744261e335d3eff7a5f74a8659d4c51c2a325edec7aca17a16fab26264e0e"},{"path":"main.js.map","sha256":"1a3a69ca0119ea7da52a88ae4c36ed9584db62effa666619cc84ff7d7a771528"},{"path":"sdk-authoring.js","sha256":"ef3eb2bcac60aff831bb6b048511928ed8f034be5d18f3cb2b9e95c5dc44a888"},{"path":"sdk-authoring.js.map","sha256":"d99e513766bc491e2f9b8826f98ca5ab17cd80503440f1bffec1454533257e2c"},{"path":"sdk-contracts.js","sha256":"d869556f61dff75ff97e1a7c5e4e0b80ffe5678c683407d814ce26130d5be616"},{"path":"sdk-contracts.js.map","sha256":"6fa9badbc2ab7619166cb70da5dd565fbac803c57c14d4f7b5b3e5d28ff0ede0"},{"path":"sdk-core.js","sha256":"1254118f6b98fdc4d604980f4b91c661eb9d9f46b291f8882c0c2319a714c38c"},{"path":"sdk-core.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-governance.js","sha256":"6ed64f767d651fe01cca020acbfbbe64e3849bbc9627f89d1e84abc362e9321f"},{"path":"sdk-governance.js.map","sha256":"6daac36d5524ac41ebe68f6403017b0c7ab206a1fdbbcbba37dd56bce43849f3"},{"path":"sdk-graph.js","sha256":"9b92a768cf6f1a98cf60fdc81599d75b2da7b7b215fe048d201cebbbdf2f16ab"},{"path":"sdk-graph.js.map","sha256":"e5a85af71ce564c10ed21e6feded88f81b39ee0147cb981f207ac095179ae9cf"},{"path":"sdk-merge.js","sha256":"2e377dd92deb8f83ef1a10f6bb65611f77ef42ad2c10346dac52f3380f82df0b"},{"path":"sdk-merge.js.map","sha256":"af0a8f15e7638545251c92ac7170fb5d88d06fb59310f7b6f214dfdd2ec57422"},{"path":"sdk-query.js","sha256":"b541d208478c9e24067be299b0bacb2d1b2a8d7a89d94111d5049b00257a98ea"},{"path":"sdk-query.js.map","sha256":"29a379fafc726bbfb3d6a3404bc03acb7607cc32726bcd7ed6fe3a8cdc733520"},{"path":"sdk-runtime.js","sha256":"4376d84bbd43f6c116c63e9dd93efe010de436627f5f0e83a835b52e3d0be5fc"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"9cf1f710c6cfd7253b789ec73aca8ff99b25ab98a869eec9213cf74e033ffbf9"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"43b6eb7a22cc8a80550f1058e9cf9500b76cb77320c1d9f01e8ec072471bb156"},{"path":"sdk.js.map","sha256":"74ae597be0f151627036091210e80a6c2219ed10e1214dfe4d218066eb0c9464"}]}
1
+ {"schema_version":1,"generation":"cfefb0374b8dc9efc5e8c239637fa34616d7d548ead0ce8bd39eadcd6514d052","files":[{"path":"chunks/chunk-2D26HRXB.js","sha256":"526f14410955aa58705545ba164de2009c1f1b1eaad824d6cca0daa15ffb0903"},{"path":"chunks/chunk-2D26HRXB.js.map","sha256":"26c92ca1dcf896743cae73cdf47c47a8133e4e9cff4590b313c02d7094087305"},{"path":"chunks/chunk-2WNORBVN.js","sha256":"b7be048f01cc50caee4bc51092a2a21125da9d9b6f8bbc67ff79377a12e938da"},{"path":"chunks/chunk-2WNORBVN.js.map","sha256":"e4a135a36b01ee0f0e2b27ae8053d84168b8d86b24b6e56c98e8cb9b171bc896"},{"path":"chunks/chunk-4I7YG3VZ.js","sha256":"c4fa62089516830aa423c856e5fd6371899cf87d33a0f7220c91a75c648a4c8d"},{"path":"chunks/chunk-4I7YG3VZ.js.map","sha256":"7c1b74a7056a4532a849f9edf3d56593910386b7c6829c66933c1b0bf5ff94a9"},{"path":"chunks/chunk-4WIVCOA7.js","sha256":"825e1086a9c741edb8dbb6166e609a0a0cc57fb2899c78f510f7380ae4431516"},{"path":"chunks/chunk-4WIVCOA7.js.map","sha256":"f5d93cabf04a204c83f4ffa75c13fed5d762fee2fab46d55aa0202981e98f6cb"},{"path":"chunks/chunk-A3WCP4TU.js","sha256":"5a5e84468d428071a06b5b2f9e7494d9735c22781cb3f73b0a3a5a9c9b7111e6"},{"path":"chunks/chunk-A3WCP4TU.js.map","sha256":"d6745b3346378863264729fae776caa6121fde4bd2979dc30224022eb0ba1004"},{"path":"chunks/chunk-AB5S6TWE.js","sha256":"d67022852887e4e9e6e6fa20b99b7bed303730bb1028385d9c1ece37c5abbec3"},{"path":"chunks/chunk-AB5S6TWE.js.map","sha256":"3967422f584a7bf0926d815bceae4a01f5dd1424d935c2e6616397ae62a8e292"},{"path":"chunks/chunk-BV7J3LRH.js","sha256":"e871ca2543b92eafc0fe30a4c96dad6bde9114b22b1faddc8d99cf814d10ba47"},{"path":"chunks/chunk-BV7J3LRH.js.map","sha256":"7c2fc0314de4d3e5eb7569468795b744e8e3d7c31a79770e4c59d158469c27a1"},{"path":"chunks/chunk-DEZPZOQ7.js","sha256":"ef11ddab9ecc9533cac75ccc8ca41058a59382dfbe3262033fa21c7264d73b0d"},{"path":"chunks/chunk-DEZPZOQ7.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-DZWRNL6R.js","sha256":"e671bfade0f3a266a6bac5251f75b31e0d0774af549593387aab2e1da42de88f"},{"path":"chunks/chunk-DZWRNL6R.js.map","sha256":"a293fc0d94c56a7f11857fdc95a5355cf5ceca2329c9a17dd21416824f947b0b"},{"path":"chunks/chunk-E4BQRZF2.js","sha256":"20a1b656b404e28443abe7aab530ee74ad0bcfe4551ceeddec79e718ac77df86"},{"path":"chunks/chunk-E4BQRZF2.js.map","sha256":"e1c6c8989fa22ac306508dd5a62ce84e569e38e13ac0eeb1f969ab864e993d82"},{"path":"chunks/chunk-ERD2RYWM.js","sha256":"1d7ef2d24746a88e1c64125ec661c47105afa30a5e13b9fc994687227565e927"},{"path":"chunks/chunk-ERD2RYWM.js.map","sha256":"191aadc159495746ac6b69590b6b97d6036aa4551e172fa9f4b07a89b24b5967"},{"path":"chunks/chunk-F7P42FL5.js","sha256":"904bad8b93744b093ad18dde74b7138c85a3a3745913107b5a98cd4cb8562032"},{"path":"chunks/chunk-F7P42FL5.js.map","sha256":"b659f67af207a0af34f6727018fe0e71e555f85a46fb47123c36619bce6fda0f"},{"path":"chunks/chunk-FZ4XWWLO.js","sha256":"e9c6ffc1d5e3fe47e7d614a72ce6eb5f3a9f61689fcc4f247a1968a2a61ff4fd"},{"path":"chunks/chunk-FZ4XWWLO.js.map","sha256":"80847e41abb99e731a5b2ad34d6de7bc1784ebdaa225ca8ca46006c0e523dd16"},{"path":"chunks/chunk-I3T2FVUA.js","sha256":"a251d5cfaa4bf4bc74ec837b7b4348e825699632344a86dbc179a87d6081a25c"},{"path":"chunks/chunk-I3T2FVUA.js.map","sha256":"3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"},{"path":"chunks/chunk-IB7UB5TE.js","sha256":"158940f663a676247075395b646afbce49c7b88138d677699bdabf9add9776df"},{"path":"chunks/chunk-IB7UB5TE.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-IGEBFNWE.js","sha256":"f27d6d3198f60494ed45b8129c2cea69cbac0f47c7ddc5c235680c73a1f23ba4"},{"path":"chunks/chunk-IGEBFNWE.js.map","sha256":"cf2c13c14490957ae01aa3eeb0920c7c3787620e1a2d3f0432eb4333f89541c2"},{"path":"chunks/chunk-IYICNCK2.js","sha256":"abed6ff58c82192beb6fa2c1861b4619d1bd951aa3998ac12dab760cf438dcf6"},{"path":"chunks/chunk-IYICNCK2.js.map","sha256":"8c3f9bc21159c21bb4b73b471763f27ad3fe6a337a9359a60ab30fa6490e0eed"},{"path":"chunks/chunk-J257NZRD.js","sha256":"0bb296ee9a5e435adc9da999b60d5d8f73c6030f1d10394b6b33a16a051506ac"},{"path":"chunks/chunk-J257NZRD.js.map","sha256":"e811af604cd770494e2f8935422bceaf5cc35816a2296f4b270b189930db4b50"},{"path":"chunks/chunk-JD3XWF66.js","sha256":"3952b73fad083a45260b019666f7b351eb01ba6ecba3140bdd79930a4d2dfc74"},{"path":"chunks/chunk-JD3XWF66.js.map","sha256":"2ad074af800eb7c096f917f834890fed1334a67a704d63c65b23729d5a491616"},{"path":"chunks/chunk-JLHD7OQ2.js","sha256":"f2d0f6c637ac081de908de8ef2f9b9f60e2f18272925f8979eafdfc7750b0f24"},{"path":"chunks/chunk-JLHD7OQ2.js.map","sha256":"bc788ae8ccad578014c0af04a70e5c83036e0c41db14b8e948a64e80f52f3710"},{"path":"chunks/chunk-KGOGLKL2.js","sha256":"5d4b52887cd18160964a01a98987c9f08930766896d9936144e4abd88ecc7768"},{"path":"chunks/chunk-KGOGLKL2.js.map","sha256":"641581c76390cc5902570045ca30095fe8b52843d53ce9a7be041ea615db0242"},{"path":"chunks/chunk-LC4DJVXR.js","sha256":"46c5be94120999222d9efaa3b250b8b2bba811f89b1effdb181a2946617276da"},{"path":"chunks/chunk-LC4DJVXR.js.map","sha256":"d9dc15aeb5f1557b54e787678877d406f805674323e9ed5f410a9390e49e9bd1"},{"path":"chunks/chunk-NHNM3GIP.js","sha256":"7aef67810732763008ad5154ca47232274f7bd09518d6580e8426fa59c4a4a6d"},{"path":"chunks/chunk-NHNM3GIP.js.map","sha256":"92eda2406fb7c813e9835c1361ef3475010c81e826d908b07d243b91adccef7a"},{"path":"chunks/chunk-NYN5OR2T.js","sha256":"29f12234b0738880dc524d0b7305fa47af419d56d6420ba9faf4b4027e64826d"},{"path":"chunks/chunk-NYN5OR2T.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"chunks/chunk-OFZQEQ6X.js","sha256":"02dca8249fc594214ac8870e3c695961fb99b614ce0c663845dc448bb55cc1c4"},{"path":"chunks/chunk-OFZQEQ6X.js.map","sha256":"d0c5b0163dec07515b5ae3cabe1c07a6bf70e0573084357b31de499e4e3acafc"},{"path":"chunks/chunk-QGL5IAP4.js","sha256":"bf525b4b96e1b4359f2bcc067943784b9124494fd869d247f4760a44b9b7da7e"},{"path":"chunks/chunk-QGL5IAP4.js.map","sha256":"c9c787282e540d52704c9b8632b8bb70ed80ce30fd53c6299f51f88f8fd609ef"},{"path":"chunks/chunk-R24NZ2TB.js","sha256":"8f584e43b1d70e3f54c8fa0beac5823ab95bcce4c3be0d9ead5de8b1bc77020f"},{"path":"chunks/chunk-R24NZ2TB.js.map","sha256":"66758bf9b15f1040bc04c920be0896d6d606736fda8133ff7aa7680c5e1429a9"},{"path":"chunks/chunk-SPPHDVZE.js","sha256":"ba82130f93656299c39dc713ba1f03fc47bec7a39fac6594c72e10ba398f04d3"},{"path":"chunks/chunk-SPPHDVZE.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"chunks/chunk-VJLZHOTP.js","sha256":"24eeae7e94787f42cf7aede38c5008aaad02e8e4ad365939623bc233e0f57734"},{"path":"chunks/chunk-VJLZHOTP.js.map","sha256":"cb0812a061a9e4f378a32e52212dbd3b496327ecefa43f40be2c052f407d2e27"},{"path":"chunks/chunk-VO2HSB5F.js","sha256":"c61c3c54e791e13d4b27e00891590da80ae115d14d8b71d5eecf328deafa3f62"},{"path":"chunks/chunk-VO2HSB5F.js.map","sha256":"1543a9d5b5f38bdf5b3281bb0f416240092580b047f111c978af0fb80f24758d"},{"path":"chunks/chunk-VS565KBX.js","sha256":"f66d92e0d59add33123dc44938a2cf76a749b262d5c044d8bbccce24861f9351"},{"path":"chunks/chunk-VS565KBX.js.map","sha256":"562c753aa39adbfdbeefaf390e68fdadd1fe986bcb6e82f9355315e8d6a16ec9"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/context-budget-recovery-L2WP5S26.js","sha256":"94308a0c40cb90380fb5f3c00c105b04df651eb699452e4a1eff4392936bad3e"},{"path":"chunks/context-budget-recovery-L2WP5S26.js.map","sha256":"bdec4d79334c795b8b4fdcf03f3820adac1f8a3a220767d3cf0de29c4d3a79e2"},{"path":"chunks/indexed-receipt-blobs-HNLN6UXH.js","sha256":"9e715283487f5cc03d3cc7b77a1722fe1f17155b870941d31c14e34b3d1a9504"},{"path":"chunks/indexed-receipt-blobs-HNLN6UXH.js.map","sha256":"cd38ac9e4b9beec9644d2629c41c46fef0179d7fcd36a1df7cafd1cdf5f22489"},{"path":"chunks/item-revision-PSOL5I4H.js","sha256":"75cd98df56e5cfe59728e8e3cb147593fe1b237ca0de9a0752056dd511c0fbe7"},{"path":"chunks/item-revision-PSOL5I4H.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/item-transaction-55QTCU2M.js","sha256":"e7d14bbeb49ac55413113119b216aaed96558542666c88958329974280e7552e"},{"path":"chunks/item-transaction-55QTCU2M.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/mutation-actor-BDBBH3ZS.js","sha256":"f1f62862994742e50ffb76290c608728852f93a13b0afa72d1055f7017e9311c"},{"path":"chunks/mutation-actor-BDBBH3ZS.js.map","sha256":"e945f57d6fdec119e842932add67e6a4c6104fa11e7dd7e80a58ec0d1d3db222"},{"path":"chunks/mutation-admission-WUN7JYVJ.js","sha256":"07518b96026b6785c129c16236afb54df9b84080db4d67e7b451737df30f06d4"},{"path":"chunks/mutation-admission-WUN7JYVJ.js.map","sha256":"7946abfab918b9710aa349f85ff45302b0d41906bb9468abcf6b132c7cc107f4"},{"path":"chunks/register-list-query-AESCVO6H.js","sha256":"7e34c7b680a3e9258081b2963ccf9b069ea9feedd4cee63c5bba1c8b9493c2cc"},{"path":"chunks/register-list-query-AESCVO6H.js.map","sha256":"b51ad98834f0389fa779215be67e39a36cf0bc350547c9a6c4356a83b33e2090"},{"path":"chunks/register-mutation-SKCEP5QU.js","sha256":"b3be237a0676f7b4bb36cf354ea8166deeaf68bb8ebf92c673fef4dc9c84ae71"},{"path":"chunks/register-mutation-SKCEP5QU.js.map","sha256":"9634a0cd199f542b87171c7c621cb4fdaffa0268a78bea9c9f7f1d093392460d"},{"path":"chunks/register-operations-ZT4OYCF3.js","sha256":"47e25c352400baddd57dd1b0b1e15329a8b8a568d50d5b8974a0f4ceb8b2a3f8"},{"path":"chunks/register-operations-ZT4OYCF3.js.map","sha256":"bfd86a5a4e5b7bcaf4d1dba79c3fdfe4d405552d0e3ddeefe1e4eed7c644625b"},{"path":"chunks/register-setup-JVWNS2TY.js","sha256":"ad3d40cc45e351ca093057bb517a13187e1f375cee4963af2706524349930cf9"},{"path":"chunks/register-setup-JVWNS2TY.js.map","sha256":"25f98c7cc27c1abccaa77966ee11288c6ab3073b366cfba157df31e42867633c"},{"path":"chunks/settlement-hook-MVVVUIVZ.js","sha256":"edd09289e3546686be83774c331a5f2cbe65360be613e74f76c918e3ca33e822"},{"path":"chunks/settlement-hook-MVVVUIVZ.js.map","sha256":"6e0577b035532efe4968d1a3bbaf491e0d790074b735ff94448143e5a700c747"},{"path":"chunks/stage-RMU3JAWM.js","sha256":"3926c046dc685484673cf4bbae53f9cd936715c82833253b659c79e48fca6907"},{"path":"chunks/stage-RMU3JAWM.js.map","sha256":"c721dac845dcadaae3616cda0c577f1cbef9fefe59016264e1462b8ed40d10a6"},{"path":"focused-chunks/chunk-3WVMEA2A.js","sha256":"85bcb50793c0c8fac314defd58f4f3d12fc3f3952acc627ff1e4aa933b5caae8"},{"path":"focused-chunks/chunk-3WVMEA2A.js.map","sha256":"018cc3a558ee1c9ededf29f51888739c256cb645cc7007377d01a7a74ca51fe6"},{"path":"focused-chunks/chunk-5UVJOAUP.js","sha256":"ae6d396b1b7435866aeae3322e02881d15f55e5349ac876e366424770782ac71"},{"path":"focused-chunks/chunk-5UVJOAUP.js.map","sha256":"7358ba61bdc1e892b32a546556b236a48928f5f7e797d17991eaf36b896b08e7"},{"path":"focused-chunks/chunk-5WQ3LNUK.js","sha256":"7f727be48b389f96312fa99a84c1f4daef3bf3a5edc9be3a9a760f0fe368ca05"},{"path":"focused-chunks/chunk-5WQ3LNUK.js.map","sha256":"c7e07f34ba028426bcb24d3be1ea2a71e9314061c02305675ac406ccb4984437"},{"path":"focused-chunks/chunk-6E4X7MQA.js","sha256":"c76487fdae187ef8332fa1e2ca46bc719c54860b32e10340619e4d963ec13013"},{"path":"focused-chunks/chunk-6E4X7MQA.js.map","sha256":"dc0179af8c75ba5b195339722519edb183262296ba3c3f53178684ff674f3dea"},{"path":"focused-chunks/chunk-7SEPCQV2.js","sha256":"d884489be606e9c6f2c2ecba460a05a8d6ebb61cc99239e21c7a57090f72d644"},{"path":"focused-chunks/chunk-7SEPCQV2.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"focused-chunks/chunk-7XHE335U.js","sha256":"6a7e5076980338e62f85a49a798a136c3aca4d4dab07ab9d3d2da3dcc3197978"},{"path":"focused-chunks/chunk-7XHE335U.js.map","sha256":"863073db0139bc67f4fdfcdd83f80ac9fff85f85127388cfd6c87807074699f2"},{"path":"focused-chunks/chunk-BEHIMEV2.js","sha256":"fa60a6bc5b9827ab0cf566fb36544f06a72be45ba3a58433a5929ccaf31352ff"},{"path":"focused-chunks/chunk-BEHIMEV2.js.map","sha256":"bded8e623b9d6d012d7745dfdbae78257a06ec4c07e92dc58eda7bb9f2876953"},{"path":"focused-chunks/chunk-C3O6JJPO.js","sha256":"1f495890523f3550ee1050149240e68e386d729f0278be125ee51c337c2952c4"},{"path":"focused-chunks/chunk-C3O6JJPO.js.map","sha256":"7222eba51724ce2de54f854d9e01ca89dd73272e6407cdd8b9211be1cf9675c1"},{"path":"focused-chunks/chunk-CZFZCSOX.js","sha256":"1250f487a5f8549414fcfab5042348af35f89279f14df58497e941ba0eae7dbd"},{"path":"focused-chunks/chunk-CZFZCSOX.js.map","sha256":"67690eeb7f15245f642d7235ccf592d38d5f7b3034e08c8ef42bc449c90caf99"},{"path":"focused-chunks/chunk-DFBHW7HP.js","sha256":"f0994b69d18458e0cf9d14229509034b33c4ac0fde109e0b3f598323e1d327cd"},{"path":"focused-chunks/chunk-DFBHW7HP.js.map","sha256":"4e25cbee2b2343837a5464ba347e361e14cf26b9f9625f4f4f755946762beeb7"},{"path":"focused-chunks/chunk-DZMP3VYQ.js","sha256":"104b43afd7720dde148f55b7170ea88e0f3e2cc439c33f019b7e6823412a9b2a"},{"path":"focused-chunks/chunk-DZMP3VYQ.js.map","sha256":"e4458e6d62675734c4e28b57b2ef9d98c51a4809c2edf81f152ff7f7c9895c10"},{"path":"focused-chunks/chunk-EGN2HFRU.js","sha256":"60ca3c4b0c5584d8866c75892f5c5224db858ef11328a0d99265b2c94eb3815d"},{"path":"focused-chunks/chunk-EGN2HFRU.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"focused-chunks/chunk-FOA7XKWP.js","sha256":"3e57188628de10dafcc17048ef3dcc5b9061c29ff4f34620a4d62de45ee606fa"},{"path":"focused-chunks/chunk-FOA7XKWP.js.map","sha256":"562c753aa39adbfdbeefaf390e68fdadd1fe986bcb6e82f9355315e8d6a16ec9"},{"path":"focused-chunks/chunk-GHQVM6K6.js","sha256":"79ea412a6b8b7c176f75f19aaaabf6fbbfbc826c4362254c90183003f4b8f1d6"},{"path":"focused-chunks/chunk-GHQVM6K6.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/chunk-HHMMIHZP.js","sha256":"277de368d671e94bc4b285f1994071d25125e14c8fbb0d1926b90639a9ff7096"},{"path":"focused-chunks/chunk-HHMMIHZP.js.map","sha256":"324e795cb8291b71ad8c59fea3ca70ec77a998800bb06077c5fd79837c52ebe2"},{"path":"focused-chunks/chunk-HPC2M6JD.js","sha256":"dce17ed4e3a1a7c380ac102d59dbe0aaa53a60395c71dd8224b164a999217fde"},{"path":"focused-chunks/chunk-HPC2M6JD.js.map","sha256":"c9a5dc74ee14d5aa4d47ed33485e6f5097918254e2d05feba38989c31c6e499b"},{"path":"focused-chunks/chunk-HR5FEUUL.js","sha256":"041997963fa099e8664aa0b8832a8f500603316b54a57317bbd31ed1dd59d397"},{"path":"focused-chunks/chunk-HR5FEUUL.js.map","sha256":"2b3a95cd41fd97a89ef351323002637cdaeb093c80939a0278d05f9efd9d2118"},{"path":"focused-chunks/chunk-I5LGPUWH.js","sha256":"f2289c3bdd0121277e0e06133743ab4633ccb4384d70ba302df15b53ce1be45d"},{"path":"focused-chunks/chunk-I5LGPUWH.js.map","sha256":"5372543aa2680b9ab13778a97bd74f239974c09fdbc238233d00006a6c16021a"},{"path":"focused-chunks/chunk-J7ESCE7M.js","sha256":"959550796cf49fe70dac6b727c5380397345cb4add12a5ada0520e54516bc4c5"},{"path":"focused-chunks/chunk-J7ESCE7M.js.map","sha256":"d7364797609e844c2230a8b26c59c230ec4eb25c977f0ac3d25254d5f9c512bc"},{"path":"focused-chunks/chunk-KRNF3WTC.js","sha256":"91e176998e02e1d118fcf13ff8a048c62112cb3eae8fda1faa7d7d88ae8c1726"},{"path":"focused-chunks/chunk-KRNF3WTC.js.map","sha256":"e3433abb2538a06fbe35fcb37fcaae452a57026d2c44ee9e688f34233ce569b8"},{"path":"focused-chunks/chunk-KWZLY35A.js","sha256":"2f3126d9aa46317889a4c8984214e91b69573f540b13ae1bfb52472e8307b2b1"},{"path":"focused-chunks/chunk-KWZLY35A.js.map","sha256":"237e554f344bb13eec7fe223fbda45da2a5e2ebfe08a138830df554217244be5"},{"path":"focused-chunks/chunk-M4IA4LC6.js","sha256":"571754db2d425fca4bb8a275546cff41205b6ac1fc461a78158cac2b3407ccbb"},{"path":"focused-chunks/chunk-M4IA4LC6.js.map","sha256":"0874225d03cdb9741c8605b9f2094afc26fa811f15672b06641b55198a0773dd"},{"path":"focused-chunks/chunk-NASE6JC2.js","sha256":"bd8c39be2155eeb2e3b7a327f4c31a0c3afc6d871351140c0724cd880d60f8b0"},{"path":"focused-chunks/chunk-NASE6JC2.js.map","sha256":"f169910643c9722f7af2f7c82ad2fc13744fc195f7e4f7e80847906b8b574906"},{"path":"focused-chunks/chunk-ONM2R32I.js","sha256":"1b97eb7b0e47003bd65744a07d7b57af9b4ee9f78a81a8830096c971b185969c"},{"path":"focused-chunks/chunk-ONM2R32I.js.map","sha256":"500fa313c0107f1c815d58d4cf29fdbe8bc3bf041173896a2267ef34f9241fb2"},{"path":"focused-chunks/chunk-PDXSMSO5.js","sha256":"48f1ccd77005d343ffaaff215e7af1b9b8615c5a2ae6bd8b1b79590e74bb202e"},{"path":"focused-chunks/chunk-PDXSMSO5.js.map","sha256":"a3f439422acee2666aa238ab99fe31f35882e716d30897f9b6f73e013c6e49e2"},{"path":"focused-chunks/chunk-PEL4SQXV.js","sha256":"9fb27396704f552c9fa615f50dc6e6a2b1c6eac22b05c67106047883ca477252"},{"path":"focused-chunks/chunk-PEL4SQXV.js.map","sha256":"2b94158f16e62bd8453c5ebb27571b97d827dc215c997fe69fbd5cda308f3693"},{"path":"focused-chunks/chunk-QJ647CQE.js","sha256":"807901460ee6bddfd43a76aec049f72b1d57a42b24a976adeea43ca30bc55dd3"},{"path":"focused-chunks/chunk-QJ647CQE.js.map","sha256":"17e1c7bfacd97e44b217c2bf491fc4661944b9b975f4c91d84f7daff870c42c3"},{"path":"focused-chunks/chunk-SFATIM77.js","sha256":"28a3eeea5fc4274f75dc6ee882487d7309bfd28687f5e9dfdbd450633b28a8dc"},{"path":"focused-chunks/chunk-SFATIM77.js.map","sha256":"c3bd219c6b8853ab937dc752fde703363dd0ae1e6ed9ae0de6105b58724e467a"},{"path":"focused-chunks/chunk-SVOOGGAK.js","sha256":"cf84553a8001feee7147d6941274dc00cf8644ded0da1e4b611b542c02f6dcb5"},{"path":"focused-chunks/chunk-SVOOGGAK.js.map","sha256":"c6941ba9e7060fcb63add9bb1b246052f16f530b85845320f23076a4db57f341"},{"path":"focused-chunks/chunk-UBBTBNUY.js","sha256":"537c1d12aaedf8a5ef39c983880e30d444cc926223d7fbe2c9fd6f649e400490"},{"path":"focused-chunks/chunk-UBBTBNUY.js.map","sha256":"e27692e5f33d7d892f44ef51f07249e209463d941ba29599482b794019759709"},{"path":"focused-chunks/chunk-ZCN35TCK.js","sha256":"96bc106fc741f63e4e13e851ceb524e29ce827c9f84dc33c54be64a7e6e5455d"},{"path":"focused-chunks/chunk-ZCN35TCK.js.map","sha256":"e69901f98551f4be59bf5cf888a17aebdb7224b97498c29817d114b091de3c1e"},{"path":"focused-chunks/chunk-ZSQ2FT22.js","sha256":"829608f4e02ab87509d7278fa8bb8b04a63a186958715f945f33598141900c52"},{"path":"focused-chunks/chunk-ZSQ2FT22.js.map","sha256":"1a44d2c39ad016a979aa1279451829ae3c3aaa2753e446a8d129a3fec45066be"},{"path":"focused-chunks/context-budget-recovery-5MKOCGY5.js","sha256":"1f103ba5015f9f0dabbb93e2fa2cd59078036e68b9b1f3da2bd265025dbd44f1"},{"path":"focused-chunks/context-budget-recovery-5MKOCGY5.js.map","sha256":"3e209028283d24aafcd47b35e66acb6297ef80f0f13f6bf0e7e393a9f15d4317"},{"path":"focused-chunks/indexed-receipt-blobs-ADMQXF3N.js","sha256":"3b7bc11b32c81a92c7746897800a5616f85f7fcab9ef079ac676483c56a573e8"},{"path":"focused-chunks/indexed-receipt-blobs-ADMQXF3N.js.map","sha256":"82230162c7538ff401bdb67dd28a671f3bb6c8e0c874fb375bd3f303db03e1cc"},{"path":"focused-chunks/item-revision-GNKYO6GZ.js","sha256":"e0dfcb81851b49d02dd00aeea2043925f31adc73d49dcb9ab723f16f6d19cfaa"},{"path":"focused-chunks/item-revision-GNKYO6GZ.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/item-transaction-AUUQHR5Z.js","sha256":"91ed921561441d90572a9caccf8e00bd349e23546b9f643966849461e68712b7"},{"path":"focused-chunks/item-transaction-AUUQHR5Z.js.map","sha256":"e574a5bc7becef67932db5f81918bbe091521eb40a6e85e014ec7c7271a2576e"},{"path":"focused-chunks/mutation-actor-OBRD7HFZ.js","sha256":"098bfddfd03371ba615644290f9dd8ad0a06367cb1ec0c9a291145df459d2c01"},{"path":"focused-chunks/mutation-actor-OBRD7HFZ.js.map","sha256":"0a58e9530a2177ce31f2715c05461358b2bb00ff010ca1ba9b202e71137e670b"},{"path":"focused-chunks/mutation-admission-6TX3EOJX.js","sha256":"841f6e89868584dccacf9edb0f0e2459334c026515f6af4d61ef67c5d5869e48"},{"path":"focused-chunks/mutation-admission-6TX3EOJX.js.map","sha256":"82bd218167bf6ff8e0c5eeb252933255fe58b39337245f42cfe6ad6621931876"},{"path":"focused-chunks/settlement-hook-5U2M75BY.js","sha256":"423030df86b4c0175c4ac818a0352c6335dfec23e6d27696f3eb0ea11e9225bf"},{"path":"focused-chunks/settlement-hook-5U2M75BY.js.map","sha256":"d49b55f7df2dff3c6287f163f6a2bb801dca8caf522412c0b328eb9f74be5c7f"},{"path":"focused-chunks/stage-LERF2YJU.js","sha256":"d7e52b8b5c0a614a1200b79b83878926603c184b74f5148f8dbbe7f5c798aa59"},{"path":"focused-chunks/stage-LERF2YJU.js.map","sha256":"53384e77cf51a5eaf3292f99c9375c57e284c0a07762ec49ce3c5eb59ae38f28"},{"path":"main.js","sha256":"35bcbf3d872f752c18789ce3391f60a2fd13073c78fb19ab45130088b700bd4e"},{"path":"main.js.map","sha256":"6c636c1b47a106ab0db0f66b98d5adf111fbe5ec6efcc3fc700f8799a94c0b64"},{"path":"sdk-authoring.js","sha256":"e3621d79a4bcbfc6dbedb48a5def99e7bdc447a77b1f2beb6013a0fcf89fed80"},{"path":"sdk-authoring.js.map","sha256":"aa10772f5c98eaabc9ef1e5e6dce73b0799e26d103822301e60befeaf4e4ea09"},{"path":"sdk-contracts.js","sha256":"91afe549e5bdfd25941cfa624ec28f52637d50a1328c9df88f5eea9a92a14f3d"},{"path":"sdk-contracts.js.map","sha256":"515c5e8807edef4e1b16b888ffa14f6d04b04fd1ad9cfa86d04d713c8c7bea1a"},{"path":"sdk-core.js","sha256":"901cc22c06c27ca73ce6410cca7a88a3384d129f7e1ca89b8420d63e85326c8a"},{"path":"sdk-core.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-governance.js","sha256":"ba46d6565335958671a029e564dd28893ddf731935e3f7866f3bd8dd819f11a5"},{"path":"sdk-governance.js.map","sha256":"450278735dc0083d7a24894b5a6360cb6aeaef1934af269cb0e4795689a09b41"},{"path":"sdk-graph.js","sha256":"79472cd2d1e1cf26ce4992bbe24c619a565d44507eeb9006c526de52815a5462"},{"path":"sdk-graph.js.map","sha256":"552c360231aa6eb2c7d97c8f204ba6bd75499cb6e5e3a3460a7f230630d0fc51"},{"path":"sdk-merge.js","sha256":"aac6e3107e47b66c83f5662c79146a439dd707e25db2e59f881364a7a219ec4e"},{"path":"sdk-merge.js.map","sha256":"073d88bdea6d04d6befa8b06b5110645f85c895fcf99675a986339f2f372d96b"},{"path":"sdk-query.js","sha256":"fd3a6c95359c3db2869c3630b34e17daa0ac86a1e52cfb0776b4bb266f7e575b"},{"path":"sdk-query.js.map","sha256":"92317b5ace411b23f96fa4fc7ceb70bca343c22e826765d792ffdcea99a876cc"},{"path":"sdk-runtime.js","sha256":"31f83d89de2d337c54ac88c52b0b96ee145f4702d829fcb1d10a14764dcff022"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"cc16a07495fdbf192d1f2322309de509af7a02ce5df75a7f1d146e9e92ae3bb0"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"e59bb2c9a83bc1d27a23ba083f0aea657233b0121c53a51f7061ca28e6eb8633"},{"path":"sdk.js.map","sha256":"dc7ccfbcb2866bf63a5c2b89385892ce376d02aac20a885dd99fb6d2c46c538f"}]}
@@ -1,2 +1,2 @@
1
- import{b as a}from"./chunk-VS565KBX.js";import{A as l,C as d}from"./chunk-O4ZLEN4T.js";import{execFile as g}from"node:child_process";import{promisify as m}from"node:util";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="e57ef62f-fd40-5a33-9816-e24d8dba4d1d")}catch{}})();var p=m(g);async function k(t,r){if(r.length===0)return[];let i;try{let e=p("git",["check-ignore","--verbose","-z","--stdin"],{cwd:t,env:a(),timeout:1e4}),n=e.child.stdin;n!==null&&(n.on("error",()=>{e.child.kill()}),n.end(`${r.join("\0")}\0`)),{stdout:i}=await e}catch(e){if(typeof e=="object"&&e!==null&&"code"in e&&e.code===1)return[];throw new d("Git could not verify ignore rules for merge artifacts; no automatic settlement is safe until that check succeeds.",l.CONFLICT,{code:"merge_settlement_review_required",reason:"ignore_check_unavailable",nextSteps:["Check Git configuration and ignore-file readability, then retry pm merge reconcile --stage --dry-run."]})}let o=i.split("\0"),c=[];for(let e=0;e+3<o.length;e+=4){let[n,f,s,u]=o.slice(e,e+4);s.startsWith("!")||c.push({path:u,source:n,line:Number(f),pattern:s})}return c}export{k as a};
2
- //# sourceMappingURL=chunk-UJMQP2HP.js.map
1
+ import{b as a}from"./chunk-VS565KBX.js";import{A as l,C as d}from"./chunk-NHNM3GIP.js";import{execFile as g}from"node:child_process";import{promisify as m}from"node:util";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="e57ef62f-fd40-5a33-9816-e24d8dba4d1d")}catch{}})();var p=m(g);async function k(t,r){if(r.length===0)return[];let i;try{let e=p("git",["check-ignore","--verbose","-z","--stdin"],{cwd:t,env:a(),timeout:1e4}),n=e.child.stdin;n!==null&&(n.on("error",()=>{e.child.kill()}),n.end(`${r.join("\0")}\0`)),{stdout:i}=await e}catch(e){if(typeof e=="object"&&e!==null&&"code"in e&&e.code===1)return[];throw new d("Git could not verify ignore rules for merge artifacts; no automatic settlement is safe until that check succeeds.",l.CONFLICT,{code:"merge_settlement_review_required",reason:"ignore_check_unavailable",nextSteps:["Check Git configuration and ignore-file readability, then retry pm merge reconcile --stage --dry-run."]})}let o=i.split("\0"),c=[];for(let e=0;e+3<o.length;e+=4){let[n,f,s,u]=o.slice(e,e+4);s.startsWith("!")||c.push({path:u,source:n,line:Number(f),pattern:s})}return c}export{k as a};
2
+ //# sourceMappingURL=chunk-2D26HRXB.js.map