@unbrained/pm-cli 2026.10.26 → 2026.10.28

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 (159) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +39 -1
  3. package/dist/cli/commander-usage.js +2 -2
  4. package/dist/cli/error-guidance.js +2 -2
  5. package/dist/cli/register-list-query.js +5 -5
  6. package/dist/cli-bundle/bundle-manifest.json +1 -1
  7. package/dist/cli-bundle/chunks/chunk-2J7I54MQ.js +2 -0
  8. package/dist/cli-bundle/chunks/{chunk-25MTQAHX.js → chunk-3KMYHYJV.js} +2 -2
  9. package/dist/cli-bundle/chunks/chunk-7V37RC2L.js +114 -0
  10. package/dist/cli-bundle/chunks/chunk-AHVN4GHF.js +31 -0
  11. package/dist/cli-bundle/chunks/{chunk-VS2IIV3F.js → chunk-CS7QDSUX.js} +28 -28
  12. package/dist/cli-bundle/chunks/{chunk-T7T4WLUY.js → chunk-CXUQEZDX.js} +3 -3
  13. package/dist/cli-bundle/chunks/{chunk-ZT64RDMF.js → chunk-D3AIQZXF.js} +2 -2
  14. package/dist/cli-bundle/chunks/{chunk-7UDQAINZ.js → chunk-D6P6IBPN.js} +2 -2
  15. package/dist/cli-bundle/chunks/{chunk-TGOG5BFM.js → chunk-DKLEDWVW.js} +2 -2
  16. package/dist/cli-bundle/chunks/{chunk-MWCG25PO.js → chunk-DM3PICGU.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-Y42DYMZX.js → chunk-E5QBZ4HI.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-XAIR53QZ.js → chunk-JESLOJD7.js} +2 -2
  19. package/dist/cli-bundle/chunks/{chunk-57YPOOED.js → chunk-LWW4F4G2.js} +2 -2
  20. package/dist/cli-bundle/chunks/chunk-PQLRKFPZ.js +20 -0
  21. package/dist/cli-bundle/chunks/{chunk-ONC4BBQP.js → chunk-RZQNFHXO.js} +2 -2
  22. package/dist/cli-bundle/chunks/chunk-SPPHDVZE.js +2 -0
  23. package/dist/cli-bundle/chunks/{chunk-ER7RLJW5.js → chunk-TH5KPAN4.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-OCDRHIVQ.js → chunk-XHONSCLJ.js} +6 -6
  25. package/dist/cli-bundle/chunks/{chunk-NGKTROAO.js → chunk-YUBUNECD.js} +42 -42
  26. package/dist/cli-bundle/chunks/{chunk-Z35XAHUN.js → chunk-YYD5MNAV.js} +2 -2
  27. package/dist/cli-bundle/chunks/{chunk-UF6EXZSP.js → chunk-ZX3XMTZG.js} +2 -2
  28. package/dist/cli-bundle/chunks/indexed-receipt-blobs-LHLE7PSG.js +4 -0
  29. package/dist/cli-bundle/chunks/{mutation-admission-VTNV6JV2.js → mutation-admission-GKDKHRTZ.js} +2 -2
  30. package/dist/cli-bundle/chunks/{register-list-query-LZDWUZS4.js → register-list-query-MHJJUM6M.js} +9 -9
  31. package/dist/cli-bundle/chunks/{register-mutation-M2A7PH42.js → register-mutation-SN425O3R.js} +2 -2
  32. package/dist/cli-bundle/chunks/{register-operations-E7P2JTXM.js → register-operations-EYUIUGPW.js} +2 -2
  33. package/dist/cli-bundle/chunks/{register-setup-DOV7KGSH.js → register-setup-WUZ2ZSMY.js} +2 -2
  34. package/dist/cli-bundle/chunks/{settlement-hook-SVD6CO7U.js → settlement-hook-MN3Y7LVX.js} +2 -2
  35. package/dist/cli-bundle/chunks/{stage-LYLEOAQB.js → stage-2FYJGGG3.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/chunk-3EHVI673.js +2 -0
  37. package/dist/cli-bundle/focused-chunks/chunk-46WLWK73.js +2 -0
  38. package/dist/cli-bundle/focused-chunks/{chunk-E5C24MCV.js → chunk-4GN2ZPT5.js} +2 -2
  39. package/dist/cli-bundle/focused-chunks/{chunk-NLZUI234.js → chunk-6L4KKRK7.js} +18 -18
  40. package/dist/cli-bundle/focused-chunks/{chunk-D5YQ4KAE.js → chunk-6VDRAJYX.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/{chunk-KTXU5WU6.js → chunk-7SZPZOIC.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/{chunk-YQKLKRMW.js → chunk-B4ZQJEMT.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/{chunk-NE27VCU7.js → chunk-BZSACRVX.js} +3 -3
  44. package/dist/cli-bundle/focused-chunks/{chunk-ADSBGYLW.js → chunk-C2GLO7HU.js} +55 -55
  45. package/dist/cli-bundle/focused-chunks/{chunk-UP765R2V.js → chunk-DRN4W3YJ.js} +2 -2
  46. package/dist/cli-bundle/focused-chunks/chunk-EGN2HFRU.js +2 -0
  47. package/dist/cli-bundle/focused-chunks/{chunk-CSCZYSNZ.js → chunk-F6UQJJYB.js} +2 -2
  48. package/dist/cli-bundle/focused-chunks/{chunk-I7H3XF25.js → chunk-I4X6AKOO.js} +2 -2
  49. package/dist/cli-bundle/focused-chunks/chunk-IQKLJFJE.js +79 -0
  50. package/dist/cli-bundle/focused-chunks/{chunk-KERJNFXY.js → chunk-JTCGDODH.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/{chunk-IF6C43IP.js → chunk-L5GX2FGZ.js} +2 -2
  52. package/dist/cli-bundle/focused-chunks/{chunk-PK5FJIVA.js → chunk-LPWZERVD.js} +11 -11
  53. package/dist/cli-bundle/focused-chunks/{chunk-YW5GHQN2.js → chunk-ML5JIUM6.js} +2 -2
  54. package/dist/cli-bundle/focused-chunks/{chunk-BL77VCRB.js → chunk-OASYSUOH.js} +16 -16
  55. package/dist/cli-bundle/focused-chunks/{chunk-BH7RE2ZY.js → chunk-ON5WFDCG.js} +2 -2
  56. package/dist/cli-bundle/focused-chunks/{chunk-WDWHUJQW.js → chunk-QUPGBO2L.js} +2 -2
  57. package/dist/cli-bundle/focused-chunks/{chunk-226XKW3W.js → chunk-R3EA3SDW.js} +3 -3
  58. package/dist/cli-bundle/focused-chunks/{chunk-B266DDBJ.js → chunk-TUN4M757.js} +2 -2
  59. package/dist/cli-bundle/focused-chunks/{chunk-YTEC2EPM.js → chunk-Z26ZPQH6.js} +3 -3
  60. package/dist/cli-bundle/focused-chunks/indexed-receipt-blobs-5H6RMRTK.js +4 -0
  61. package/dist/cli-bundle/focused-chunks/{mutation-admission-L42E3U5U.js → mutation-admission-TM3SVU2O.js} +2 -2
  62. package/dist/cli-bundle/focused-chunks/{settlement-hook-3CADO4XZ.js → settlement-hook-LBVWWSCF.js} +2 -2
  63. package/dist/cli-bundle/focused-chunks/{stage-TUQHWU7N.js → stage-7ZBRX2Q2.js} +2 -2
  64. package/dist/cli-bundle/main.js +21 -21
  65. package/dist/cli-bundle/sdk-authoring.js +1 -1
  66. package/dist/cli-bundle/sdk-contracts.js +2 -2
  67. package/dist/cli-bundle/sdk-core.js +34 -33
  68. package/dist/cli-bundle/sdk-governance.js +1 -1
  69. package/dist/cli-bundle/sdk-graph.js +1 -1
  70. package/dist/cli-bundle/sdk-merge.js +57 -57
  71. package/dist/cli-bundle/sdk-query.js +1 -1
  72. package/dist/cli-bundle/sdk-runtime.js +1 -1
  73. package/dist/cli-bundle/sdk-testing.js +1 -1
  74. package/dist/cli-bundle/sdk.js +11 -11
  75. package/dist/core/history/event-index.d.ts +6 -0
  76. package/dist/core/history/event-index.js +7 -6
  77. package/dist/core/history/read.d.ts +3 -1
  78. package/dist/core/history/read.js +1 -1
  79. package/dist/core/item/priority.js +1 -1
  80. package/dist/core/shared/errors.d.ts +2 -0
  81. package/dist/core/shared/errors.js +1 -1
  82. package/dist/core/store/item-store.js +1 -1
  83. package/dist/mcp/tool-definitions.js +1 -1
  84. package/dist/sdk/agent/command-recovery.d.ts +5 -0
  85. package/dist/sdk/agent/command-recovery.js +1 -1
  86. package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
  87. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +1 -1
  88. package/dist/sdk/cli-contracts/grammar-contracts.js +1 -1
  89. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
  90. package/dist/sdk/cli-contracts/tool-schema.js +1 -1
  91. package/dist/sdk/command-line.d.ts +6 -0
  92. package/dist/sdk/command-line.js +1 -1
  93. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  94. package/dist/sdk/index.d.ts +1 -1
  95. package/dist/sdk/index.js +1 -1
  96. package/dist/sdk/lifecycle/close.js +1 -1
  97. package/dist/sdk/lifecycle/create.js +1 -1
  98. package/dist/sdk/lifecycle/update-many.js +1 -1
  99. package/dist/sdk/lifecycle/update.js +1 -1
  100. package/dist/sdk/merge/indexed-receipt-blobs.d.ts +3 -1
  101. package/dist/sdk/merge/indexed-receipt-blobs.js +2 -2
  102. package/dist/sdk/merge/receipt-file-boundary.d.ts +2 -0
  103. package/dist/sdk/merge/receipt-file-boundary.js +1 -1
  104. package/dist/sdk/merge/receipts.js +2 -2
  105. package/dist/sdk/mutation-events.d.ts +6 -0
  106. package/dist/sdk/mutation-events.js +1 -1
  107. package/dist/sdk/public-surface.json +1 -1
  108. package/dist/sdk/query/history.d.ts +4 -0
  109. package/dist/sdk/query/history.js +1 -1
  110. package/dist/sdk/runtime/actions.js +1 -1
  111. package/dist/sdk/runtime-extended-actions.js +1 -1
  112. package/dist/sdk/runtime.js +1 -1
  113. package/dist/sdk/test/command-resolution.d.ts +5 -0
  114. package/dist/sdk/test/command-resolution.js +3 -0
  115. package/dist/sdk/test/execution.js +3 -3
  116. package/dist/sdk/test/receipt-index-snapshot.d.ts +2 -0
  117. package/dist/sdk/test/receipt-index-snapshot.js +2 -0
  118. package/dist/sdk/test/workspace-snapshot.d.ts +1 -1
  119. package/dist/sdk/test/workspace-snapshot.js +1 -1
  120. package/docs/COMMANDS.md +28 -1
  121. package/docs/PERFORMANCE.md +21 -6
  122. package/docs/RELEASING.md +11 -0
  123. package/docs/SDK.md +40 -0
  124. package/docs/SDK_CONTEXT_COORDINATION.md +35 -4
  125. package/docs/TESTING.md +42 -3
  126. package/docs/generated/FLAG_LEXICON_BUDGETS.md +2 -2
  127. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +4 -3
  128. package/marketplace.json +1 -1
  129. package/package.json +1 -1
  130. package/packages/pm-beads/package.json +1 -1
  131. package/packages/pm-calendar/package.json +1 -1
  132. package/packages/pm-command-kit/package.json +1 -1
  133. package/packages/pm-digital-twin/package.json +1 -1
  134. package/packages/pm-governance-audit/package.json +1 -1
  135. package/packages/pm-guide-shell/package.json +1 -1
  136. package/packages/pm-kanban/package.json +1 -1
  137. package/packages/pm-lifecycle-hooks/package.json +1 -1
  138. package/packages/pm-linked-test-adapters/package.json +1 -1
  139. package/packages/pm-search-advanced/package.json +1 -1
  140. package/packages/pm-templates/package.json +1 -1
  141. package/packages/pm-todos/package.json +1 -1
  142. package/packages/pm-vcs/package.json +1 -1
  143. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  144. package/plugins/pm-claude/package.json +1 -1
  145. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  146. package/plugins/pm-codex/package.json +1 -1
  147. package/plugins/pm-codex/plugin.json +1 -1
  148. package/runtime-dependencies.json +1 -1
  149. package/dist/cli-bundle/chunks/chunk-N6FTEILW.js +0 -20
  150. package/dist/cli-bundle/chunks/chunk-OUDR2HWR.js +0 -113
  151. package/dist/cli-bundle/chunks/chunk-RUKSEZE7.js +0 -2
  152. package/dist/cli-bundle/chunks/chunk-YJBIPNDL.js +0 -2
  153. package/dist/cli-bundle/chunks/chunk-ZLVFUZI4.js +0 -30
  154. package/dist/cli-bundle/chunks/indexed-receipt-blobs-NWQIDTH7.js +0 -4
  155. package/dist/cli-bundle/focused-chunks/chunk-ABMNYWV6.js +0 -2
  156. package/dist/cli-bundle/focused-chunks/chunk-NFN2P4TW.js +0 -2
  157. package/dist/cli-bundle/focused-chunks/chunk-UHWTPOM4.js +0 -78
  158. package/dist/cli-bundle/focused-chunks/chunk-VVRXF4JO.js +0 -2
  159. package/dist/cli-bundle/focused-chunks/indexed-receipt-blobs-YFDNGHCM.js +0 -4
@@ -1,11 +1,11 @@
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]="888bf806-b6de-5dee-9494-59ad5057c159")}catch{}})();import{EXIT_CODE,PmCliError,readSettings,renderRowsAsCsv,renderRowsAsTable,resolvePmRoot}from"../sdk/runtime-primitives.js";import{renderPmCommandAliasMigrationHint,resolvePmCommandAlias}from"../sdk/cli-contracts.js";import{EVAL_QUERY_SET_SCHEMA_ID}from"../sdk/eval.js";import{applyContextIntentProjection}from"../sdk/context-intent-contracts.js";import{renderPmClosedDomainHelp}from"../sdk/agent/closed-domain-contracts.js";import{serializeNdjsonRows,serializeNdjsonStream}from"../sdk/output.js";import{listMutationEvents,subscribeMutationEventBatches,subscribeMutationEvents}from"../sdk/mutation-events.js";import{registerHistoryActivityCommand}from"./register-history-activity.js";import{registerHistoryMaintenanceCommands}from"./register-history-maintenance.js";import{runAggregate}from"./commands/query/aggregate.js";import{renderContextMarkdown,runContext,resolveContextOutputFormat}from"./commands/query/context.js";import{runEval}from"./commands/query/eval.js";import{runGet}from"./commands/query/get.js";import{runGraph}from"./commands/query/graph.js";import{runHistory}from"./commands/history/history.js";import{runList}from"./commands/query/list.js";import{LIST_COMMAND_DEFAULT_PROJECTIONS}from"../sdk/query/list.js";import{renderNextMarkdown,runNext,resolveNextOutputFormat}from"./commands/query/next.js";import{runSearch}from"./commands/query/search.js";import{addHiddenOption,collect,getGlobalOptions,normalizeAggregateOptions,normalizeContextOptions,normalizeListOptions,normalizeNextOptions,normalizeSearchKeywordsInput,normalizeSearchOptions,printError,printListJsonStream,printResult,setActiveCommandResult,writeStdout}from"./registration-helpers.js";function shouldRegisterListQueryCommand(commandName,commandFilter){return!commandFilter||commandFilter.size===0?!0:commandName==="context"?commandFilter.has("context")||commandFilter.has("ctx"):commandFilter.has(commandName)}function parseListFormat(rawFormat){if(rawFormat===void 0)return;if(typeof rawFormat!="string")throw new PmCliError("List --format must be one of csv|table|json|ndjson|toon",EXIT_CODE.USAGE);const normalized=rawFormat.trim().toLowerCase();if(normalized==="csv"||normalized==="table"||normalized==="json"||normalized==="ndjson"||normalized==="toon")return normalized;throw new PmCliError("List --format must be one of csv|table|json|ndjson|toon",EXIT_CODE.USAGE)}function resolveReadCommandOutputFormat(commandLabel,rawFormat,globalOptions,allowNdjson=!1){if(rawFormat===void 0)return globalOptions;if(typeof rawFormat!="string")throw new PmCliError(`${commandLabel} --format must be one of ${allowNdjson?"json|ndjson|toon":"json|toon"}`,EXIT_CODE.USAGE);const normalized=rawFormat.trim().toLowerCase();if(normalized!=="json"&&(normalized!=="ndjson"||!allowNdjson)&&normalized!=="toon")throw new PmCliError(`${commandLabel} --format must be one of ${allowNdjson?"json|ndjson|toon":"json|toon"}`,EXIT_CODE.USAGE);if(globalOptions.json===!0&&normalized==="toon")throw new PmCliError(`${commandLabel} cannot combine --json with --format toon`,EXIT_CODE.USAGE);return{...globalOptions,json:normalized==="json"||normalized==="ndjson"}}function applyDefaultListProjection(listOptions,commandName){LIST_COMMAND_DEFAULT_PROJECTIONS[commandName]==="brief"&&listOptions.includeBody!==!0&&listOptions.compact!==!0&&listOptions.brief!==!0&&listOptions.full!==!0&&listOptions.fields===void 0&&(listOptions.brief=!0)}function registerContentAndGovernanceFilters(command){command.option("--has-notes","Show only items that have notes").option("--has-learnings","Show only items that have learnings").option("--has-files","Show only items that have linked files").option("--has-docs","Show only items that have linked docs").option("--has-tests","Show only items that have linked tests").option("--has-comments","Show only items that have comments").option("--has-deps","Show only items that have dependencies").option("--has-body","Show only items that have a non-empty body").option("--has-linked-command","Show only items whose linked tests carry a runnable command").option("--no-notes","Show only items that have no notes").option("--no-learnings","Show only items that have no learnings").option("--no-files","Show only items that have no linked files").option("--filter-files-missing","Alias for --no-files").option("--no-docs","Show only items that have no linked docs").option("--filter-docs-missing","Alias for --no-docs").option("--no-tests","Show only items that have no linked tests").option("--no-comments","Show only items that have no comments").option("--no-deps","Show only items that have no dependencies").option("--empty-body","Show only items with an empty body").option("--no-linked-command","Show only items whose linked tests carry no runnable command").option("--filter-reviewer-missing","Show only items missing reviewer").option("--filter-risk-missing","Show only items missing risk").option("--filter-confidence-missing","Show only items missing confidence").option("--filter-sprint-missing","Show only items missing sprint").option("--filter-release-missing","Show only items missing release")}const CANONICAL_LIST_STATUS_VARIANTS={draft:{name:"list-draft",dependencyBlocked:!1},open:{name:"list-open",dependencyBlocked:!1},in_progress:{name:"list-in-progress",dependencyBlocked:!1},blocked:{name:"list-blocked",dependencyBlocked:!0},closed:{name:"list-closed",dependencyBlocked:!1},canceled:{name:"list-canceled",dependencyBlocked:!1}};function resolveRegisteredListOutputContext(options,globalOptions){const streamMode=options.stream===!0,listFormat=parseListFormat(options.format),tabular=listFormat==="csv"||listFormat==="table",effectiveGlobal=listFormat==="json"||listFormat==="ndjson"||listFormat==="toon"?resolveReadCommandOutputFormat("List",options.format,globalOptions,!0):globalOptions;if(streamMode&&!effectiveGlobal.json)throw new PmCliError("--stream requires --json output mode.",EXIT_CODE.USAGE);if((tabular||listFormat==="ndjson")&&streamMode)throw new PmCliError("--format csv|table|ndjson cannot be combined with --stream.",EXIT_CODE.USAGE);return{streamMode,listFormat,effectiveGlobal}}function renderRegisteredListResult(commandName,result,output){if(output.listFormat==="csv"||output.listFormat==="table"){setActiveCommandResult(result);const rows=result.items,rendered=output.listFormat==="csv"?renderRowsAsCsv(rows):renderRowsAsTable(rows);!output.effectiveGlobal.quiet&&rendered.length>0&&writeStdout(`${rendered}
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]="9c5f2e6d-c6a0-5ecf-b659-712fb5b37f3c")}catch{}})();import{EXIT_CODE,PmCliError,readSettings,renderRowsAsCsv,renderRowsAsTable,resolvePmRoot}from"../sdk/runtime-primitives.js";import{renderPmCommandAliasMigrationHint,resolvePmCommandAlias}from"../sdk/cli-contracts.js";import{EVAL_QUERY_SET_SCHEMA_ID}from"../sdk/eval.js";import{applyContextIntentProjection}from"../sdk/context-intent-contracts.js";import{renderPmClosedDomainHelp}from"../sdk/agent/closed-domain-contracts.js";import{serializeNdjsonRows,serializeNdjsonStream}from"../sdk/output.js";import{listMutationEvents,subscribeMutationEventBatches,subscribeMutationEvents}from"../sdk/mutation-events.js";import{registerHistoryActivityCommand}from"./register-history-activity.js";import{registerHistoryMaintenanceCommands}from"./register-history-maintenance.js";import{runAggregate}from"./commands/query/aggregate.js";import{renderContextMarkdown,runContext,resolveContextOutputFormat}from"./commands/query/context.js";import{runEval}from"./commands/query/eval.js";import{runGet}from"./commands/query/get.js";import{runGraph}from"./commands/query/graph.js";import{runHistory}from"./commands/history/history.js";import{runList}from"./commands/query/list.js";import{LIST_COMMAND_DEFAULT_PROJECTIONS}from"../sdk/query/list.js";import{renderNextMarkdown,runNext,resolveNextOutputFormat}from"./commands/query/next.js";import{runSearch}from"./commands/query/search.js";import{addHiddenOption,collect,getGlobalOptions,normalizeAggregateOptions,normalizeContextOptions,normalizeListOptions,normalizeNextOptions,normalizeSearchKeywordsInput,normalizeSearchOptions,printError,printListJsonStream,printResult,setActiveCommandResult,writeStdout}from"./registration-helpers.js";function shouldRegisterListQueryCommand(commandName,commandFilter){return!commandFilter||commandFilter.size===0?!0:commandName==="context"?commandFilter.has("context")||commandFilter.has("ctx"):commandFilter.has(commandName)}function parseListFormat(rawFormat){if(rawFormat===void 0)return;if(typeof rawFormat!="string")throw new PmCliError("List --format must be one of csv|table|json|ndjson|toon",EXIT_CODE.USAGE);const normalized=rawFormat.trim().toLowerCase();if(normalized==="csv"||normalized==="table"||normalized==="json"||normalized==="ndjson"||normalized==="toon")return normalized;throw new PmCliError("List --format must be one of csv|table|json|ndjson|toon",EXIT_CODE.USAGE)}function resolveReadCommandOutputFormat(commandLabel,rawFormat,globalOptions,allowNdjson=!1){if(rawFormat===void 0)return globalOptions;if(typeof rawFormat!="string")throw new PmCliError(`${commandLabel} --format must be one of ${allowNdjson?"json|ndjson|toon":"json|toon"}`,EXIT_CODE.USAGE);const normalized=rawFormat.trim().toLowerCase();if(normalized!=="json"&&(normalized!=="ndjson"||!allowNdjson)&&normalized!=="toon")throw new PmCliError(`${commandLabel} --format must be one of ${allowNdjson?"json|ndjson|toon":"json|toon"}`,EXIT_CODE.USAGE);if(globalOptions.json===!0&&normalized==="toon")throw new PmCliError(`${commandLabel} cannot combine --json with --format toon`,EXIT_CODE.USAGE);return{...globalOptions,json:normalized==="json"||normalized==="ndjson"}}function applyDefaultListProjection(listOptions,commandName){LIST_COMMAND_DEFAULT_PROJECTIONS[commandName]==="brief"&&listOptions.includeBody!==!0&&listOptions.compact!==!0&&listOptions.brief!==!0&&listOptions.full!==!0&&listOptions.fields===void 0&&(listOptions.brief=!0)}function registerContentAndGovernanceFilters(command){command.option("--has-notes","Show only items that have notes").option("--has-learnings","Show only items that have learnings").option("--has-files","Show only items that have linked files").option("--has-docs","Show only items that have linked docs").option("--has-tests","Show only items that have linked tests").option("--has-comments","Show only items that have comments").option("--has-deps","Show only items that have dependencies").option("--has-body","Show only items that have a non-empty body").option("--has-linked-command","Show only items whose linked tests carry a runnable command").option("--no-notes","Show only items that have no notes").option("--no-learnings","Show only items that have no learnings").option("--no-files","Show only items that have no linked files").option("--filter-files-missing","Alias for --no-files").option("--no-docs","Show only items that have no linked docs").option("--filter-docs-missing","Alias for --no-docs").option("--no-tests","Show only items that have no linked tests").option("--no-comments","Show only items that have no comments").option("--no-deps","Show only items that have no dependencies").option("--empty-body","Show only items with an empty body").option("--no-linked-command","Show only items whose linked tests carry no runnable command").option("--filter-reviewer-missing","Show only items missing reviewer").option("--filter-risk-missing","Show only items missing risk").option("--filter-confidence-missing","Show only items missing confidence").option("--filter-sprint-missing","Show only items missing sprint").option("--filter-release-missing","Show only items missing release")}const CANONICAL_LIST_STATUS_VARIANTS={draft:{name:"list-draft",dependencyBlocked:!1},open:{name:"list-open",dependencyBlocked:!1},in_progress:{name:"list-in-progress",dependencyBlocked:!1},blocked:{name:"list-blocked",dependencyBlocked:!0},closed:{name:"list-closed",dependencyBlocked:!1},canceled:{name:"list-canceled",dependencyBlocked:!1}};function resolveRegisteredListOutputContext(options,globalOptions){const streamMode=options.stream===!0,listFormat=parseListFormat(options.format),tabular=listFormat==="csv"||listFormat==="table",effectiveGlobal=listFormat==="json"||listFormat==="ndjson"||listFormat==="toon"?resolveReadCommandOutputFormat("List",options.format,globalOptions,!0):globalOptions;if(streamMode&&!effectiveGlobal.json)throw new PmCliError("--stream requires --json output mode.",EXIT_CODE.USAGE);if((tabular||listFormat==="ndjson")&&streamMode)throw new PmCliError("--format csv|table|ndjson cannot be combined with --stream.",EXIT_CODE.USAGE);return{streamMode,listFormat,effectiveGlobal}}function renderRegisteredListResult(commandName,result,output){if(output.listFormat==="csv"||output.listFormat==="table"){setActiveCommandResult(result);const rows=result.items,rendered=output.listFormat==="csv"?renderRowsAsCsv(rows):renderRowsAsTable(rows);!output.effectiveGlobal.quiet&&rendered.length>0&&writeStdout(`${rendered}
2
2
  `)}else if(output.listFormat==="ndjson"){setActiveCommandResult(result);const rendered=serializeNdjsonRows(result.items);!output.effectiveGlobal.quiet&&rendered.length>0&&writeStdout(`${rendered}
3
3
  `)}else output.streamMode?printListJsonStream(commandName,result,output.effectiveGlobal):printResult(result,output.effectiveGlobal)}async function runRegisteredListCommand(params){const parsedGlobalOptions=getGlobalOptions(params.actionCommand),globalOptions=params.aliasContract?{...parsedGlobalOptions,command:params.aliasContract.canonical}:parsedGlobalOptions,startedAt=Date.now();params.aliasContract?.lifecycle==="deprecated"&&await readSettings(resolvePmRoot(process.cwd(),globalOptions.path)).then(settings=>settings.ux.deprecation_hints)&&printError(renderPmCommandAliasMigrationHint(params.aliasContract));const intentOptions=applyContextIntentProjection("list",params.options),listOptions=normalizeListOptions(intentOptions),selection=resolveRegisteredListSelection(params,listOptions),{effectiveName,effectiveStatus,effectiveDependencyBlocked,effectiveExcludeTerminal}=selection;applyDefaultListProjection(listOptions,params.name),Object.assign(listOptions,{projectionCommand:effectiveName}),effectiveExcludeTerminal&&(listOptions.excludeTerminal=!0),listOptions.dependencyBlocked=effectiveDependencyBlocked;const output=resolveRegisteredListOutputContext(intentOptions,globalOptions),result=await runList(effectiveDependencyBlocked?void 0:effectiveStatus,listOptions,globalOptions);renderRegisteredListResult("list",result,output),globalOptions.profile&&printError(`profile:command=list took_ms=${Date.now()-startedAt}`)}function resolveRegisteredListSelection(params,listOptions){let effectiveName=params.name,effectiveStatus=params.status,effectiveDependencyBlocked=params.dependencyBlocked===!0,effectiveExcludeTerminal=params.excludeTerminal===!0;const requestedStatus=listOptions.status?.trim().toLowerCase(),requestedVariant=params.name==="list"&&requestedStatus!==void 0?CANONICAL_LIST_STATUS_VARIANTS[requestedStatus]:void 0;return params.name==="list"&&(params.options.all===!0||requestedStatus==="all"?(effectiveName="list-all",effectiveExcludeTerminal=!1,listOptions.status=void 0):requestedStatus!==void 0&&requestedVariant!==void 0&&(effectiveName=requestedVariant.name,effectiveStatus=requestedStatus,effectiveDependencyBlocked=requestedVariant.dependencyBlocked,effectiveExcludeTerminal=!1,listOptions.status=void 0)),(effectiveName==="list-open"||effectiveName==="list-in-progress")&&(listOptions.lifecycleBucket=effectiveName==="list-open"?"open":"in_progress",effectiveStatus=void 0),{effectiveName,effectiveStatus,effectiveDependencyBlocked,effectiveExcludeTerminal}}function registerListCommand(program,descriptor){const{name,description,status,excludeTerminal,allowStatusFilter,dependencyBlocked,aliasContract}=descriptor,command=program.command(name,{hidden:aliasContract?.hidden===!0}).description(description);allowStatusFilter&&command.option("--status <value>","Filter by status (repeatable or comma-separated; matches any; all selects every status)",collect),name==="list"&&command.option("--all","Include every lifecycle status"),command.option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("list","--for")}`).option("--token-budget <n>","Override the selected intent's maximum estimated output tokens").option("--type <value>","Filter by item type (repeatable or comma-separated; matches any)",collect).option("--tag <value>","Filter by tag (repeatable or comma-separated; matches any)",collect).option("--priority <value>","Filter by priority (repeatable or comma-separated; matches any)",collect).option("--deadline-before <value>","Filter by deadline upper bound (ISO/date string or relative)").option("--deadline-after <value>","Filter by deadline lower bound (ISO/date string or relative)").option("--today","Filter to items updated since local midnight today").option("--recent","Filter to items updated in the last 7 days").option("--updated-after <value>","Updated since ISO timestamp or signed relative (-2h/-7d for past); use last-window ISO").option("--updated-before <value>","Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)").option("--created-after <value>","Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)").option("--created-before <value>","Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)").option("--ids <value>","Filter by explicit item IDs (comma-separated or repeatable)").option("--assignee <value>","Filter by assignee",collect).option("--assignee-filter <value>","Filter assignee presence: assigned|unassigned").option("--parent <value>","Filter by parent item ID").option("--sprint <value>","Filter by sprint",collect).option("--release <value>","Filter by release",collect).option("--filter-ac-missing","Show only items missing acceptance_criteria").option("--filter-estimates-missing","Show only items missing estimated_minutes").option("--filter-resolution-missing","Show only terminal items missing resolution").option("--filter-metadata-missing","Show only items missing any tracked metadata (AC, estimate, or resolution)").option("--limit <n>","Alias for --output-limit; --output-budget may cap rows").option("--offset <n>","Skip the first n matching rows before limit is applied").option("--after <cursor>","Query next_cursor; output_cursor uses --output-cursor").option("--no-truncate","Disable default token cap; explicit --limit and --output-budget apply").option("--include-body","Include item body in each returned list row").option("--strict-read","Fail closed if any item document or item directory cannot be read").option("--compact","Render compact list projection fields (mutually exclusive with --brief/--full/--fields)").option("--brief","Brief rows: id, status, type, title and leading sort field (priority by default; excludes --compact/--full/--fields)").option("--full","Render full list projection fields (mutually exclusive with --compact/--brief/--fields)").option("--fields <value>",`Render custom comma-separated list fields (mutually exclusive with --compact/--brief/--full). ${renderPmClosedDomainHelp(name,"--fields")}`).option("--sort <value>","Sort field: priority|deadline|updated_at|created_at|title|parent (aliases: updated, created)").option("--order <value>","Sort order: asc|desc (requires --sort)").option("--tree","Render rows in parent/child tree order").option("--tree-depth <n>","Maximum recursion depth with --tree (0 keeps root rows only)").option("--format <value>","Output render mode: csv|table (human export) or json|ndjson|toon (machine output override)").option("--stream","Emit line-delimited JSON rows (requires --json)"),registerContentAndGovernanceFilters(command),command.action(async(options,actionCommand)=>{await runRegisteredListCommand({name,status,excludeTerminal,dependencyBlocked,options,actionCommand,aliasContract})}),addHiddenOption(command,"--tags <value>","Alias for --tag"),addHiddenOption(command,"--assignee_filter <value>","Alias for --assignee-filter"),addHiddenOption(command,"--tree_depth <n>","Alias for --tree-depth"),addHiddenOption(command,"--token_budget <n>","Alias for --token-budget"),addHiddenOption(command,"--filter-estimate-missing","Alias for --filter-estimates-missing")}async function runAggregateAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runAggregate(normalizeAggregateOptions(options),globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=aggregate took_ms=${Date.now()-startedAt}`)}async function runContextAction(options,actionCommand){const globalOptions=getGlobalOptions(actionCommand),startedAt=Date.now(),normalized=normalizeContextOptions(applyContextIntentProjection("context",options)),result=await runContext(normalized,globalOptions),outputFormat=resolveContextOutputFormat(normalized,globalOptions);if(outputFormat==="markdown")globalOptions.quiet||writeStdout(`${renderContextMarkdown(result)}
4
4
  `);else if(outputFormat==="ndjson"){setActiveCommandResult(result);const rendered=serializeNdjsonRows([...result.high_level,...result.low_level,...result.blocked_fallback]);!globalOptions.quiet&&rendered.length>0&&writeStdout(`${rendered}
5
5
  `)}else printResult(result,{...globalOptions,json:outputFormat==="json"});globalOptions.profile&&printError(`profile:command=context took_ms=${Date.now()-startedAt}`)}async function runNextAction(options,actionCommand){const globalOptions=getGlobalOptions(actionCommand),startedAt=Date.now(),nextOptions=normalizeNextOptions(applyContextIntentProjection("next",options)),result=await runNext(nextOptions,globalOptions),outputFormat=resolveNextOutputFormat(nextOptions,globalOptions);outputFormat==="markdown"?globalOptions.quiet||writeStdout(`${renderNextMarkdown(result)}
6
6
  `):printResult(result,{...globalOptions,json:outputFormat==="json"}),globalOptions.profile&&printError(`profile:command=next took_ms=${Date.now()-startedAt}`)}async function runSearchAction(keywords,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),query=normalizeSearchKeywordsInput(keywords),intentOptions=applyContextIntentProjection("search",options,[query]),searchOptions=normalizeSearchOptions(intentOptions),result=await runSearch(query,searchOptions,globalOptions),outputFormat=typeof intentOptions.format=="string"?intentOptions.format.trim().toLowerCase():void 0,effectiveGlobal=resolveReadCommandOutputFormat("Search",intentOptions.format,globalOptions,!0);if(outputFormat==="ndjson"){setActiveCommandResult(result);const rendered=serializeNdjsonRows(result.items);!effectiveGlobal.quiet&&rendered.length>0&&writeStdout(`${rendered}
7
- `)}else printResult(result,effectiveGlobal);globalOptions.profile&&printError(`profile:command=search took_ms=${Date.now()-startedAt}`)}async function runEvalAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runEval({mode:typeof options.mode=="string"?options.mode:void 0,k:typeof options.k=="string"?options.k:void 0,failUnder:typeof options.failUnder=="string"?options.failUnder:void 0,queries:typeof options.queries=="string"?options.queries:void 0,format:typeof options.format=="string"?options.format:void 0},globalOptions);if(printResult(result,resolveReadCommandOutputFormat("Eval",options.format,globalOptions)),globalOptions.profile&&printError(`profile:command=eval took_ms=${Date.now()-startedAt}`),!result.passed)throw new PmCliError("Eval gate failed: one or more aggregate or per-query thresholds were not met; inspect the metric report",EXIT_CODE.GENERIC_FAILURE)}async function runGetAction(id,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),intentOptions=applyContextIntentProjection("get",options,[id]),result=await runGet(id,globalOptions,{depth:typeof intentOptions.depth=="string"?intentOptions.depth:void 0,fields:typeof intentOptions.fields=="string"?intentOptions.fields:void 0,full:!!intentOptions.full,tree:intentOptions.tree===!0,treeDepth:typeof intentOptions.treeDepth=="string"?intentOptions.treeDepth:typeof intentOptions.tree_depth=="string"?intentOptions.tree_depth:void 0,at:typeof intentOptions.at=="string"?intentOptions.at:void 0});printResult(result,resolveReadCommandOutputFormat("Get",intentOptions.format,globalOptions)),globalOptions.profile&&printError(`profile:command=get took_ms=${Date.now()-startedAt}`)}async function runHistoryAction(id,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now();if([options.compact,options.raw,options.full,options.provenance].filter(value=>value===!0).length>1)throw new PmCliError("History projection options are mutually exclusive. Use --compact, --provenance, or --full.",EXIT_CODE.USAGE);const field=typeof options.field=="string"?options.field:void 0,strictExit=!!options.strictExit||!!options.failOnWarn;if(strictExit&&!options.verify)throw new PmCliError("--strict-exit requires --verify (it gates on the verification result).",EXIT_CODE.USAGE);const result=await runHistory(id,{limit:typeof options.limit=="string"?options.limit:void 0,compact:!(options.full===!0||options.provenance===!0),provenance:options.provenance===!0,provenanceSummary:options.provenanceSummary===!0,harness:readRepeatableStringOption(options,"harness"),agentInstance:readRepeatableStringOption(options,"agentInstance"),provenanceFilter:readRepeatableStringOption(options,"provenanceFilter"),diff:!!options.diff||field!==void 0,field,verify:!!options.verify},globalOptions);printResult(result,resolveReadCommandOutputFormat("History",options.format,globalOptions)),strictExit&&result.verification&&!result.verification.ok&&(process.exitCode=EXIT_CODE.GENERIC_FAILURE),globalOptions.profile&&printError(`profile:command=history took_ms=${Date.now()-startedAt}`)}function readRepeatableStringOption(options,key){const value=options[key];return Array.isArray(value)?value:void 0}function buildMutationEventOptions(options,pmRoot){const harness=readRepeatableStringOption(options,"harness"),agentInstance=readRepeatableStringOption(options,"agentInstance"),provenanceFilter=readRepeatableStringOption(options,"provenanceFilter"),rawCursorMode=typeof options.cursorMode=="string"?options.cursorMode:void 0;if(rawCursorMode!==void 0&&rawCursorMode!=="batch"&&rawCursorMode!=="row")throw new PmCliError("Events --cursor-mode must be batch or row.",EXIT_CODE.USAGE,{code:"invalid_event_cursor_mode"});const cursorMode=rawCursorMode;return{pmRoot,since:typeof options.since=="string"?options.since:void 0,type:readRepeatableStringOption(options,"type"),author:readRepeatableStringOption(options,"author"),item:readRepeatableStringOption(options,"item"),limit:typeof options.limit=="string"?Number(options.limit):void 0,full:options.full===!0,...options.provenance===!0?{provenance:!0}:{},...options.provenanceSummary===!0?{provenanceSummary:!0}:{},...harness===void 0?{}:{harness},...agentInstance===void 0?{}:{agentInstance},...provenanceFilter===void 0?{}:{provenanceFilter},cursorMode}}async function followMutationEvents(eventOptions,options,quiet){if(options.provenanceSummary===!0)throw new PmCliError("Events --provenance-summary is bounded to one page and cannot be combined with --follow.",EXIT_CODE.USAGE);const intervalMs=typeof options.intervalMs=="string"?Number(options.intervalMs):void 0;if(eventOptions.cursorMode==="row"){for await(const event of subscribeMutationEvents({...eventOptions,intervalMs}))quiet||writeStdout(`${JSON.stringify(event)}
8
- `);return}for await(const page of subscribeMutationEventBatches({...eventOptions,intervalMs}))quiet||writeStdout(`${serializeNdjsonStream(page.events,{count:page.count,has_more:page.has_more,next_cursor:page.next_cursor??null,source:page.source,heartbeat:page.count===0})}
9
- `)}function renderMutationEventPage(page){return page.cursor_mode==="row"?serializeNdjsonRows(page.events):serializeNdjsonStream(page.events,{count:page.count,has_more:page.has_more,next_cursor:page.next_cursor??null,source:page.source,...page.provenance_summary===void 0?{}:{provenance_summary:page.provenance_summary}})}async function runEventsAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),eventOptions=buildMutationEventOptions(options,globalOptions.path);if(options.follow===!0){await followMutationEvents(eventOptions,options,globalOptions.quiet===!0);return}const page=await listMutationEvents(eventOptions);if(setActiveCommandResult(page),globalOptions.json){printResult(page,globalOptions),globalOptions.profile&&printError(`profile:command=events took_ms=${Date.now()-startedAt}`);return}const rendered=renderMutationEventPage(page);!globalOptions.quiet&&rendered.length>0&&writeStdout(`${rendered}
10
- `),globalOptions.profile&&printError(`profile:command=events took_ms=${Date.now()-startedAt}`)}async function runGraphAction(subcommand,id,target,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runGraph(subcommand,id,target,{...Array.isArray(options.kind)?{kind:options.kind}:{},maxDepth:typeof options.maxDepth=="string"?options.maxDepth:void 0,limit:typeof options.limit=="string"?options.limit:void 0,after:typeof options.after=="string"?options.after:void 0,direction:typeof options.direction=="string"?options.direction:void 0,maxPaths:typeof options.maxPaths=="string"?options.maxPaths:void 0,sample:typeof options.sample=="string"?options.sample:void 0,...Array.isArray(options.exemptIsolate)?{exemptIsolate:options.exemptIsolate}:{},...Array.isArray(options.exemptIsolateType)?{exemptIsolateType:options.exemptIsolateType}:{},saveBaseline:options.saveBaseline===!0,rebuild:options.rebuild===!0,clear:options.clear===!0,summary:options.summary===!0,full:options.full===!0},globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=graph took_ms=${Date.now()-startedAt}`)}function registerListQueryCommands(program,options){const commandFilter=options?.commandFilter,shouldRegister=commandName=>shouldRegisterListQueryCommand(commandName,commandFilter),listCommandDescriptors=[{name:"list",description:"List active items with optional lifecycle-status and project filters.",excludeTerminal:!0,allowStatusFilter:!0},{name:"list-all",description:"List all items with optional filters.",excludeTerminal:!1,allowStatusFilter:!0},{name:"list-draft",description:"List draft items with optional filters.",status:"draft"},{name:"list-open",description:"List open items with optional filters.",status:"open",excludeTerminal:!1,allowStatusFilter:!1},{name:"list-in-progress",description:"List in-progress items with optional filters.",status:"in_progress",excludeTerminal:!1,allowStatusFilter:!1},{name:"list-blocked",description:"List blocked items (blocked status or open blocked_by dependencies, matching pm next) with optional filters.",dependencyBlocked:!0,excludeTerminal:!1,allowStatusFilter:!1},{name:"list-closed",description:"List closed items with optional filters.",status:"closed"},{name:"list-canceled",description:"List canceled items with optional filters.",status:"canceled"}];for(const descriptor of listCommandDescriptors)if(shouldRegister(descriptor.name)){const aliasContract=resolvePmCommandAlias(descriptor.name);registerListCommand(program,{...descriptor,...aliasContract?.registration==="commander"?{aliasContract}:{}})}if(shouldRegister("aggregate")){const aggregateCommand=program.command("aggregate").description("Group item counts and numeric measures.").option("--set-mode <value>","Set grouping: element (default)|tuple").option("--limit <value>","Group page size (default: 50)").option("--after <value>","Continue with next_after cursor").option("--group-by <value>","Fields: parent,type,priority,status,assignee,tags,sprint,release (comma-separated)").option("--count","Counts (default)").option("--completion","Status counts and completion_pct").option("--sum <field>","Group numeric sum").option("--avg <field>","Group numeric average").option("--include-unparented","Keep unparented group").option("--status <value>","Item status").option("--type <value>","Item type").option("--tag <value>","Filter by tag").option("--priority <value>","Filter by priority").option("--deadline-before <value>","Latest deadline (ISO/date or relative)").option("--deadline-after <value>","Earliest deadline (ISO/date or relative)").option("--assignee <value>","Filter by assignee").option("--assignee-filter <value>","Assignee presence: assigned|unassigned").option("--parent <value>","Parent ID").option("--sprint <value>","Filter by sprint").option("--release <value>","Filter by release");addHiddenOption(aggregateCommand,"--include_unparented","Alias for --include-unparented"),addHiddenOption(aggregateCommand,"--assignee_filter <value>","Alias for --assignee-filter"),aggregateCommand.action(runAggregateAction)}if(shouldRegister("context")){const contextCommand=program.command("context").alias("ctx").description("Show a token-efficient project context snapshot for next-work decisions.").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("context","--for")}`).option("--date <value>","Anchor date/time for agenda window calculations (ISO/date string or relative)").option("--from <value>","Agenda lower bound (ISO/date string or relative)").option("--to <value>","Agenda upper bound (ISO/date string or relative)").option("--past","Include past agenda entries in bounded windows").option("--type <value>","Filter by item type").option("--tag <value>","Filter by tag").option("--priority <value>","Filter by priority").option("--assignee <value>","Filter by assignee").option("--assignee-filter <value>","Filter assignee presence: assigned|unassigned").option("--sprint <value>","Filter by sprint").option("--release <value>","Filter by release").option("--parent <id>","Scope the snapshot to one item's subtree (the item plus all descendants)").option("--limit <n>","Limit focus and agenda rows per section").option("--after <cursor>","Query next_cursor; output_cursor uses --output-cursor").option("--format <value>","Context output format override: markdown|toon|json|ndjson").option("--depth <value>","Context depth: brief|standard|deep|full (full = every section, no per-section cap)").option("--section <value...>","Include specific sections (repeatable; overrides --depth)").option("--fields <value>","Project focus rows to a comma-separated field subset (e.g. id,title,priority)").option("--activity-limit <n>","Limit recent activity entries (default: settings or 10)").option("--stale-threshold <value>","Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7)").option("--explain-ranking","Include the scorer model, per-signal contributions, and ranked candidate ids").option("--token-budget <n>","Complete JSON/TOON response token ceiling").option("--no-extension-health","Omit the installed extension health summary").option("--no-tags","Omit tag arrays from context focus rows");addHiddenOption(contextCommand,"--assignee_filter <value>","Alias for --assignee-filter"),addHiddenOption(contextCommand,"--max-items <n>","Alias for --limit"),addHiddenOption(contextCommand,"--explain_ranking","Alias for --explain-ranking"),addHiddenOption(contextCommand,"--token_budget <n>","Alias for --token-budget"),contextCommand.action(runContextAction)}if(shouldRegister("next")){const nextCommand=program.command("next").description("Recommend the next actionable (unblocked, ready) work item with rationale + blocked companion.").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("next","--for")}`).option("--type <value>","Filter candidate items by type").option("--tag <value>","Filter candidate items by tag").option("--priority <value>","Filter candidate items by priority").option("--assignee <value>","Filter candidate items by assignee").option("--assignee-filter <value>","Filter assignee presence: assigned|unassigned").option("--sprint <value>","Filter candidate items by sprint").option("--release <value>","Filter candidate items by release").option("--parent <id>","Scope to one item's subtree (the item plus all descendants)").option("--limit <n>","Limit ready rows (default: 5; non-positive falls back to default)").option("--blocked-limit <n>","Limit blocked rows (default: same as --limit)").option("--ready-only","Omit the blocked companion list").option("--include-decisions","Include human-gated Decision items in the claimable ready queue").option("--include-gates","Include outcome gates in the ready queue").option("--include-containers","Include containers with unfinished descendants in the ready queue").option("--format <value>","Next output format override: markdown|toon|json").option("--explain-ranking","Include the scorer model, per-signal contributions, and ranked ready ids").option("--token-budget <n>","Maximum estimated tokens spent on the ranked ready queue");addHiddenOption(nextCommand,"--assignee_filter <value>","Alias for --assignee-filter"),addHiddenOption(nextCommand,"--blocked_limit <n>","Alias for --blocked-limit"),addHiddenOption(nextCommand,"--ready_only","Alias for --ready-only"),addHiddenOption(nextCommand,"--explain_ranking","Alias for --explain-ranking"),addHiddenOption(nextCommand,"--token_budget <n>","Alias for --token-budget"),nextCommand.action(runNextAction)}if(shouldRegister("search")){const searchCommand=program.command("search").argument("<keywords...>","Keyword query tokens").description("Search items with keyword, semantic, or hybrid retrieval. Inline field:value tokens (tag:/status:/type:/priority:) in the query are parsed as filters, e.g. 'auth tag:area:search status:open'.").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("search","--for")}`).option("--token-budget <n>","Override the selected intent's maximum estimated output tokens").option("--mode <value>","Search mode: keyword|semantic|hybrid (default: auto)").option("--semantic","Shorthand for --mode semantic").option("--hybrid","Shorthand for --mode hybrid").option("--match-mode <value>","Token match mode: and|or|exact (default: or with all-terms ranking bonus; and = hard-require every token; exact = exact phrase)").option("--min-score <value>","Per-query minimum score threshold (finite number >= 0); overrides settings search.score_threshold for this query only").option("--count","Return only the count of matching items (post-filter/threshold, pre-limit); skips hit rows").option("--semantic-weight <value>","Override hybrid semantic weight for this query (0..1); invalid values fall back to settings").option("--include-linked","Include linked files, docs, and tests in the searchable corpus").option("--title-exact","Require exact normalized title match for the full query string").option("--phrase-exact","Require exact normalized phrase match in searchable text").option("--highlight","Emit per-field matched-text snippets (wrapped in \xAB\u2026\xBB) on each hit; off by default").option("--status <value>","Filter by status before query (all, open/closed/canceled aliases, or configured status id; CSV)").option("--type <value>","Filter by item type").option("--tag <value>","Filter by tag").option("--priority <value>","Filter by priority").option("--deadline-before <value>","Filter by deadline upper bound (ISO/date string or relative)").option("--deadline-after <value>","Filter by deadline lower bound (ISO/date string or relative)").option("--updated-after <value>",'Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. "-2h"/"-7d" for the past)').option("--updated-before <value>","Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)").option("--created-after <value>","Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)").option("--created-before <value>","Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)").option("--assignee <value>","Filter by assignee").option("--sprint <value>","Filter by sprint").option("--release <value>","Filter by release").option("--parent <value>","Filter by parent item ID").option("--compact","Render compact search hits (default; mutually exclusive with --full/--fields)").option("--full","Render full search hits with nested item payloads (mutually exclusive with --compact/--fields)").option("--fields <value>",`Render custom comma-separated search hit fields (mutually exclusive with --compact/--full). ${renderPmClosedDomainHelp("search","--fields")}`).option("--format <value>","Search output format override: json|ndjson|toon").option("--limit <n>","Limit returned item count").option("--after <cursor>","Query next_cursor; output_cursor uses --output-cursor");registerContentAndGovernanceFilters(searchCommand),searchCommand.action(runSearchAction),addHiddenOption(searchCommand,"--tags <value>","Alias for --tag"),addHiddenOption(searchCommand,"--token_budget <n>","Alias for --token-budget")}if(shouldRegister("eval")&&program.command("eval").description("Evaluate search relevance against a curated golden-query set: reports nDCG@k, MRR@k, precision@k, and recall@k per query plus the macro average. Use --fail-under as a CI gate.").option("--mode <value>","Default retrieval mode for queries without their own: keyword|semantic|hybrid (default: keyword)").option("--k <n>","Metric cutoff @k (positive integer; default: 10)").option("--fail-under <value>","Exit non-zero when aggregate nDCG@k falls below this threshold (0..1); CI gate").option("--queries <path>",`Query JSON (${EVAL_QUERY_SET_SCHEMA_ID}); default: search/eval-queries.json; errors show an example`).option("--format <value>","Eval output format override: json|toon").action(runEvalAction),shouldRegister("get")){const getCommand=program.command("get").argument("<id>","Item id").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("get","--for")}`).option("--token-budget <n>","Override the selected intent's maximum estimated output tokens").option("--depth <value>","brief|standard|deep|full (default: standard)").option("--full","Full details and children for any type; excludes --depth/--fields").option("--fields <value>",`Render custom comma-separated item metadata fields. ${renderPmClosedDomainHelp("get","--fields")}`).option("--tree","Include descendants rooted at the requested item").option("--tree-depth <n>","Maximum subtree depth for --tree descendants").option("--at <version-or-timestamp>","Reconstruct a verified historical item state without mutating it").option("--format <value>","Get output format override: json|toon").description("Show item details by ID.").action(runGetAction);addHiddenOption(getCommand,"--tree_depth <n>","Alias for --tree-depth"),addHiddenOption(getCommand,"--token_budget <n>","Alias for --token-budget")}if(shouldRegister("history")){const historyCommand=program.command("history").enablePositionalOptions().argument("<id>","Item id").option("--limit <n>","Latest n entries").option("--compact","Index, time, op, author, patch count, fields").option("--full","Full entries with JSON Patches").option("--provenance","Authors and provenance; no patches").option("--provenance-summary","Count provenance completeness").option("--harness <value>","Recorded/resolved harness (repeatable)",collect).option("--agent-instance <value>","Agent instance (repeatable)",collect).option("--provenance-filter <dimension=value>","Exact provenance match (repeatable)",collect).option("--diff","Before/after field diffs").option("--field <name>","Filter changed field; implies --diff").option("--verify","Verify full chain and replay").option("--strict-exit","With --verify, fail on integrity errors").option("--fail-on-warn","Alias for --strict-exit").option("--format <value>","Output: json|toon").description("Show item history entries.").action(runHistoryAction);registerHistoryMaintenanceCommands(historyCommand,!0),registerHistoryActivityCommand(historyCommand.command("activity"))}shouldRegister("events")&&program.command("events").option("--since <cursor-or-timestamp>","Resume strictly after a durable cursor, or include events from an ISO timestamp").option("--type <value>","Filter by mutation operation (repeatable or comma-separated)",collect).option("--author <value>","Filter by mutation author (repeatable or comma-separated)",collect).option("--item <value>","Filter by item or workspace stream id (repeatable or comma-separated)",collect).option("--limit <n>","Return at most 1,000 events (default: 100)").option("--cursor-mode <mode>","Cursor framing: batch emits one terminal trailer (default); row preserves one cursor per event").option("--full","Include each complete authoritative history entry").option("--provenance","Include patch-free author, harness, instance, and extensible provenance").option("--provenance-summary","Include bounded provenance completeness counts").option("--harness <value>","Filter by recorded or vocabulary-resolved harness (repeatable)",collect).option("--agent-instance <value>","Filter by privacy-safe agent instance (repeatable)",collect).option("--provenance-filter <dimension=value>","Filter by an exact declared provenance value (repeatable)",collect).option("--follow","Continue emitting committed events as newline-delimited JSON").option("--interval-ms <n>","Empty-read delay while following (minimum: 10ms; default: 250ms)").description("Emit cursor-resumable committed mutation facts as newline-delimited JSON.").action(runEventsAction),shouldRegister("activity")&&registerHistoryActivityCommand(program.command("activity",{hidden:!0})),shouldRegister("graph")&&program.command("graph").argument("<subcommand>","Graph query (ancestors, descendants, predecessors, successors, paths, impact, analyze, audit, communities, redundancy, dominators, slack, centrality, articulation, plan, index)").argument("[id]","Root item id (traversals, paths, impact, and dominators)").argument("[target]","Target item id (paths only)").option("--kind <value>","Restrict traversal to registered relationship kinds (repeatable or comma-separated)",collect).option("--max-depth <value>","Maximum traversal depth (non-negative integer)").option("--limit <value>","Maximum returned rows per bounded collection").option("--after <value>","Resume a traversal after this previously returned node id").option("--direction <value>","Edge orientation for paths/impact (outgoing, incoming, or both)").option("--max-paths <value>","Maximum enumerated paths (paths only)").option("--sample <value>","Maximum evidence sample entries per audit finding (audit only)").option("--exempt-isolate <value>","Item ids treated as explicitly valid isolates by the audit (repeatable or comma-separated)",collect).option("--exempt-isolate-type <value>","Item types whose active isolates are policy-valid for the audit (repeatable or comma-separated)",collect).option("--save-baseline","Persist the audit census as the change-since-baseline comparison point (audit only)").option("--rebuild","Rebuild and warm the durable graph index (index only)").option("--clear","Delete the durable graph index (index only)").option("--summary","Return counts-first envelopes without row collections").option("--full","Return the complete graph row projection").description("Bounded workspace relationship-graph queries, analytics, and governance audit.").action(runGraphAction)}const _testOnlyRegisterListQuery={resolveReadCommandOutputFormat,parseListFormat};export{_testOnlyRegisterListQuery,registerListQueryCommands};
7
+ `)}else printResult(result,effectiveGlobal);globalOptions.profile&&printError(`profile:command=search took_ms=${Date.now()-startedAt}`)}async function runEvalAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runEval({mode:typeof options.mode=="string"?options.mode:void 0,k:typeof options.k=="string"?options.k:void 0,failUnder:typeof options.failUnder=="string"?options.failUnder:void 0,queries:typeof options.queries=="string"?options.queries:void 0,format:typeof options.format=="string"?options.format:void 0},globalOptions);if(printResult(result,resolveReadCommandOutputFormat("Eval",options.format,globalOptions)),globalOptions.profile&&printError(`profile:command=eval took_ms=${Date.now()-startedAt}`),!result.passed)throw new PmCliError("Eval gate failed: one or more aggregate or per-query thresholds were not met; inspect the metric report",EXIT_CODE.GENERIC_FAILURE)}async function runGetAction(id,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),intentOptions=applyContextIntentProjection("get",options,[id]),result=await runGet(id,globalOptions,{depth:typeof intentOptions.depth=="string"?intentOptions.depth:void 0,fields:typeof intentOptions.fields=="string"?intentOptions.fields:void 0,full:!!intentOptions.full,tree:intentOptions.tree===!0,treeDepth:typeof intentOptions.treeDepth=="string"?intentOptions.treeDepth:typeof intentOptions.tree_depth=="string"?intentOptions.tree_depth:void 0,at:typeof intentOptions.at=="string"?intentOptions.at:void 0});printResult(result,resolveReadCommandOutputFormat("Get",intentOptions.format,globalOptions)),globalOptions.profile&&printError(`profile:command=get took_ms=${Date.now()-startedAt}`)}async function runHistoryAction(id,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now();if([options.compact,options.raw,options.full,options.provenance].filter(value=>value===!0).length>1)throw new PmCliError("History projection options are mutually exclusive. Use --compact, --provenance, or --full.",EXIT_CODE.USAGE);const field=typeof options.field=="string"?options.field:void 0,strictExit=!!options.strictExit||!!options.failOnWarn;if(strictExit&&!options.verify)throw new PmCliError("--strict-exit requires --verify (it gates on the verification result).",EXIT_CODE.USAGE);const result=await runHistory(id,{limit:typeof options.limit=="string"?options.limit:void 0,compact:!(options.full===!0||options.provenance===!0),provenance:options.provenance===!0,provenanceSummary:options.provenanceSummary===!0,harness:readRepeatableStringOption(options,"harness"),agentInstance:readRepeatableStringOption(options,"agentInstance"),provenanceFilter:readRepeatableStringOption(options,"provenanceFilter"),diff:!!options.diff||field!==void 0,field,verify:!!options.verify},globalOptions);printResult(result,resolveReadCommandOutputFormat("History",options.format,globalOptions)),strictExit&&result.verification&&!result.verification.ok&&(process.exitCode=EXIT_CODE.GENERIC_FAILURE),globalOptions.profile&&printError(`profile:command=history took_ms=${Date.now()-startedAt}`)}function readRepeatableStringOption(options,key){const value=options[key];return Array.isArray(value)?value:void 0}function buildMutationEventOptions(options,pmRoot){const harness=readRepeatableStringOption(options,"harness"),agentInstance=readRepeatableStringOption(options,"agentInstance"),provenanceFilter=readRepeatableStringOption(options,"provenanceFilter"),rawCursorMode=typeof options.cursorMode=="string"?options.cursorMode:void 0;if(rawCursorMode!==void 0&&rawCursorMode!=="batch"&&rawCursorMode!=="row")throw new PmCliError("Events --cursor-mode must be batch or row.",EXIT_CODE.USAGE,{code:"invalid_event_cursor_mode"});const cursorMode=rawCursorMode;return{pmRoot,since:typeof options.since=="string"?options.since:void 0,type:readRepeatableStringOption(options,"type"),author:readRepeatableStringOption(options,"author"),item:readRepeatableStringOption(options,"item"),limit:typeof options.limit=="string"?Number(options.limit):void 0,full:options.full===!0,...options.verify===!0?{verify:!0}:{},...options.provenance===!0?{provenance:!0}:{},...options.provenanceSummary===!0?{provenanceSummary:!0}:{},...harness===void 0?{}:{harness},...agentInstance===void 0?{}:{agentInstance},...provenanceFilter===void 0?{}:{provenanceFilter},cursorMode}}async function followMutationEvents(eventOptions,options,quiet){if(options.provenanceSummary===!0)throw new PmCliError("Events --provenance-summary is bounded to one page and cannot be combined with --follow.",EXIT_CODE.USAGE);const intervalMs=typeof options.intervalMs=="string"?Number(options.intervalMs):void 0;if(eventOptions.cursorMode==="row"){for await(const event of subscribeMutationEvents({...eventOptions,intervalMs}))quiet||writeStdout(`${JSON.stringify(event)}
8
+ `);return}for await(const page of subscribeMutationEventBatches({...eventOptions,intervalMs}))quiet||writeStdout(`${serializeNdjsonStream(page.events,{count:page.count,has_more:page.has_more,next_cursor:page.next_cursor??null,source:page.source,integrity:page.integrity,...page.verified_streams===void 0?{}:{verified_streams:page.verified_streams},heartbeat:page.count===0})}
9
+ `)}function renderMutationEventPage(page){return page.cursor_mode==="row"?serializeNdjsonRows(page.events):serializeNdjsonStream(page.events,{count:page.count,has_more:page.has_more,next_cursor:page.next_cursor??null,source:page.source,integrity:page.integrity,...page.verified_streams===void 0?{}:{verified_streams:page.verified_streams},...page.provenance_summary===void 0?{}:{provenance_summary:page.provenance_summary}})}async function runEventsAction(options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),eventOptions=buildMutationEventOptions(options,globalOptions.path);if(options.follow===!0){await followMutationEvents(eventOptions,options,globalOptions.quiet===!0);return}const page=await listMutationEvents(eventOptions);if(setActiveCommandResult(page),globalOptions.json){printResult(page,globalOptions),globalOptions.profile&&printError(`profile:command=events took_ms=${Date.now()-startedAt}`);return}const rendered=renderMutationEventPage(page);!globalOptions.quiet&&rendered.length>0&&writeStdout(`${rendered}
10
+ `),globalOptions.profile&&printError(`profile:command=events took_ms=${Date.now()-startedAt}`)}async function runGraphAction(subcommand,id,target,options,command){const globalOptions=getGlobalOptions(command),startedAt=Date.now(),result=await runGraph(subcommand,id,target,{...Array.isArray(options.kind)?{kind:options.kind}:{},maxDepth:typeof options.maxDepth=="string"?options.maxDepth:void 0,limit:typeof options.limit=="string"?options.limit:void 0,after:typeof options.after=="string"?options.after:void 0,direction:typeof options.direction=="string"?options.direction:void 0,maxPaths:typeof options.maxPaths=="string"?options.maxPaths:void 0,sample:typeof options.sample=="string"?options.sample:void 0,...Array.isArray(options.exemptIsolate)?{exemptIsolate:options.exemptIsolate}:{},...Array.isArray(options.exemptIsolateType)?{exemptIsolateType:options.exemptIsolateType}:{},saveBaseline:options.saveBaseline===!0,rebuild:options.rebuild===!0,clear:options.clear===!0,summary:options.summary===!0,full:options.full===!0},globalOptions);printResult(result,globalOptions),globalOptions.profile&&printError(`profile:command=graph took_ms=${Date.now()-startedAt}`)}function registerListQueryCommands(program,options){const commandFilter=options?.commandFilter,shouldRegister=commandName=>shouldRegisterListQueryCommand(commandName,commandFilter),listCommandDescriptors=[{name:"list",description:"List active items with optional lifecycle-status and project filters.",excludeTerminal:!0,allowStatusFilter:!0},{name:"list-all",description:"List all items with optional filters.",excludeTerminal:!1,allowStatusFilter:!0},{name:"list-draft",description:"List draft items with optional filters.",status:"draft"},{name:"list-open",description:"List open items with optional filters.",status:"open",excludeTerminal:!1,allowStatusFilter:!1},{name:"list-in-progress",description:"List in-progress items with optional filters.",status:"in_progress",excludeTerminal:!1,allowStatusFilter:!1},{name:"list-blocked",description:"List blocked items (blocked status or open blocked_by dependencies, matching pm next) with optional filters.",dependencyBlocked:!0,excludeTerminal:!1,allowStatusFilter:!1},{name:"list-closed",description:"List closed items with optional filters.",status:"closed"},{name:"list-canceled",description:"List canceled items with optional filters.",status:"canceled"}];for(const descriptor of listCommandDescriptors)if(shouldRegister(descriptor.name)){const aliasContract=resolvePmCommandAlias(descriptor.name);registerListCommand(program,{...descriptor,...aliasContract?.registration==="commander"?{aliasContract}:{}})}if(shouldRegister("aggregate")){const aggregateCommand=program.command("aggregate").description("Group item counts and numeric measures.").option("--set-mode <value>","Set grouping: element (default)|tuple").option("--limit <value>","Group page size (default: 50)").option("--after <value>","Continue with next_after cursor").option("--group-by <value>","Fields: parent,type,priority,status,assignee,tags,sprint,release (comma-separated)").option("--count","Counts (default)").option("--completion","Status counts and completion_pct").option("--sum <field>","Group numeric sum").option("--avg <field>","Group numeric average").option("--include-unparented","Keep unparented group").option("--status <value>","Item status").option("--type <value>","Item type").option("--tag <value>","Filter by tag").option("--priority <value>","Filter by priority").option("--deadline-before <value>","Latest deadline (ISO/date or relative)").option("--deadline-after <value>","Earliest deadline (ISO/date or relative)").option("--assignee <value>","Filter by assignee").option("--assignee-filter <value>","Assignee presence: assigned|unassigned").option("--parent <value>","Parent ID").option("--sprint <value>","Filter by sprint").option("--release <value>","Filter by release");addHiddenOption(aggregateCommand,"--include_unparented","Alias for --include-unparented"),addHiddenOption(aggregateCommand,"--assignee_filter <value>","Alias for --assignee-filter"),aggregateCommand.action(runAggregateAction)}if(shouldRegister("context")){const contextCommand=program.command("context").alias("ctx").description("Show a token-efficient project context snapshot for next-work decisions.").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("context","--for")}`).option("--date <value>","Anchor date/time for agenda window calculations (ISO/date string or relative)").option("--from <value>","Agenda lower bound (ISO/date string or relative)").option("--to <value>","Agenda upper bound (ISO/date string or relative)").option("--past","Include past agenda entries in bounded windows").option("--type <value>","Filter by item type").option("--tag <value>","Filter by tag").option("--priority <value>","Filter by priority").option("--assignee <value>","Filter by assignee").option("--assignee-filter <value>","Filter assignee presence: assigned|unassigned").option("--sprint <value>","Filter by sprint").option("--release <value>","Filter by release").option("--parent <id>","Scope the snapshot to one item's subtree (the item plus all descendants)").option("--limit <n>","Limit focus and agenda rows per section").option("--after <cursor>","Query next_cursor; output_cursor uses --output-cursor").option("--format <value>","Context output format override: markdown|toon|json|ndjson").option("--depth <value>","Context depth: brief|standard|deep|full (full = every section, no per-section cap)").option("--section <value...>","Include specific sections (repeatable; overrides --depth)").option("--fields <value>","Project focus rows to a comma-separated field subset (e.g. id,title,priority)").option("--activity-limit <n>","Limit recent activity entries (default: settings or 10)").option("--stale-threshold <value>","Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7)").option("--explain-ranking","Include the scorer model, per-signal contributions, and ranked candidate ids").option("--token-budget <n>","Complete JSON/TOON response token ceiling").option("--no-extension-health","Omit the installed extension health summary").option("--no-tags","Omit tag arrays from context focus rows");addHiddenOption(contextCommand,"--assignee_filter <value>","Alias for --assignee-filter"),addHiddenOption(contextCommand,"--max-items <n>","Alias for --limit"),addHiddenOption(contextCommand,"--explain_ranking","Alias for --explain-ranking"),addHiddenOption(contextCommand,"--token_budget <n>","Alias for --token-budget"),contextCommand.action(runContextAction)}if(shouldRegister("next")){const nextCommand=program.command("next").description("Recommend the next actionable (unblocked, ready) work item with rationale + blocked companion.").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("next","--for")}`).option("--type <value>","Filter candidate items by type").option("--tag <value>","Filter candidate items by tag").option("--priority <value>","Filter candidate items by priority").option("--assignee <value>","Filter candidate items by assignee").option("--assignee-filter <value>","Filter assignee presence: assigned|unassigned").option("--sprint <value>","Filter candidate items by sprint").option("--release <value>","Filter candidate items by release").option("--parent <id>","Scope to one item's subtree (the item plus all descendants)").option("--limit <n>","Limit ready rows (default: 5; non-positive falls back to default)").option("--blocked-limit <n>","Limit blocked rows (default: same as --limit)").option("--ready-only","Omit the blocked companion list").option("--include-decisions","Include human-gated Decision items in the claimable ready queue").option("--include-gates","Include outcome gates in the ready queue").option("--include-containers","Include containers with unfinished descendants in the ready queue").option("--format <value>","Next output format override: markdown|toon|json").option("--explain-ranking","Include the scorer model, per-signal contributions, and ranked ready ids").option("--token-budget <n>","Maximum estimated tokens spent on the ranked ready queue");addHiddenOption(nextCommand,"--assignee_filter <value>","Alias for --assignee-filter"),addHiddenOption(nextCommand,"--blocked_limit <n>","Alias for --blocked-limit"),addHiddenOption(nextCommand,"--ready_only","Alias for --ready-only"),addHiddenOption(nextCommand,"--explain_ranking","Alias for --explain-ranking"),addHiddenOption(nextCommand,"--token_budget <n>","Alias for --token-budget"),nextCommand.action(runNextAction)}if(shouldRegister("search")){const searchCommand=program.command("search").argument("<keywords...>","Keyword query tokens").description("Search items with keyword, semantic, or hybrid retrieval. Inline field:value tokens (tag:/status:/type:/priority:) in the query are parsed as filters, e.g. 'auth tag:area:search status:open'.").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("search","--for")}`).option("--token-budget <n>","Override the selected intent's maximum estimated output tokens").option("--mode <value>","Search mode: keyword|semantic|hybrid (default: auto)").option("--semantic","Shorthand for --mode semantic").option("--hybrid","Shorthand for --mode hybrid").option("--match-mode <value>","Token match mode: and|or|exact (default: or with all-terms ranking bonus; and = hard-require every token; exact = exact phrase)").option("--min-score <value>","Per-query minimum score threshold (finite number >= 0); overrides settings search.score_threshold for this query only").option("--count","Return only the count of matching items (post-filter/threshold, pre-limit); skips hit rows").option("--semantic-weight <value>","Override hybrid semantic weight for this query (0..1); invalid values fall back to settings").option("--include-linked","Include linked files, docs, and tests in the searchable corpus").option("--title-exact","Require exact normalized title match for the full query string").option("--phrase-exact","Require exact normalized phrase match in searchable text").option("--highlight","Emit per-field matched-text snippets (wrapped in \xAB\u2026\xBB) on each hit; off by default").option("--status <value>","Filter by status before query (all, open/closed/canceled aliases, or configured status id; CSV)").option("--type <value>","Filter by item type").option("--tag <value>","Filter by tag").option("--priority <value>","Filter by priority").option("--deadline-before <value>","Filter by deadline upper bound (ISO/date string or relative)").option("--deadline-after <value>","Filter by deadline lower bound (ISO/date string or relative)").option("--updated-after <value>",'Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. "-2h"/"-7d" for the past)').option("--updated-before <value>","Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)").option("--created-after <value>","Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)").option("--created-before <value>","Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)").option("--assignee <value>","Filter by assignee").option("--sprint <value>","Filter by sprint").option("--release <value>","Filter by release").option("--parent <value>","Filter by parent item ID").option("--compact","Render compact search hits (default; mutually exclusive with --full/--fields)").option("--full","Render full search hits with nested item payloads (mutually exclusive with --compact/--fields)").option("--fields <value>",`Render custom comma-separated search hit fields (mutually exclusive with --compact/--full). ${renderPmClosedDomainHelp("search","--fields")}`).option("--format <value>","Search output format override: json|ndjson|toon").option("--limit <n>","Limit returned item count").option("--after <cursor>","Query next_cursor; output_cursor uses --output-cursor");registerContentAndGovernanceFilters(searchCommand),searchCommand.action(runSearchAction),addHiddenOption(searchCommand,"--tags <value>","Alias for --tag"),addHiddenOption(searchCommand,"--token_budget <n>","Alias for --token-budget")}if(shouldRegister("eval")&&program.command("eval").description("Evaluate search relevance against a curated golden-query set: reports nDCG@k, MRR@k, precision@k, and recall@k per query plus the macro average. Use --fail-under as a CI gate.").option("--mode <value>","Default retrieval mode for queries without their own: keyword|semantic|hybrid (default: keyword)").option("--k <n>","Metric cutoff @k (positive integer; default: 10)").option("--fail-under <value>","Exit non-zero when aggregate nDCG@k falls below this threshold (0..1); CI gate").option("--queries <path>",`Query JSON (${EVAL_QUERY_SET_SCHEMA_ID}); default: search/eval-queries.json; errors show an example`).option("--format <value>","Eval output format override: json|toon").action(runEvalAction),shouldRegister("get")){const getCommand=program.command("get").argument("<id>","Item id").option("--for <intent>",`Apply a declared context intent projection. ${renderPmClosedDomainHelp("get","--for")}`).option("--token-budget <n>","Override the selected intent's maximum estimated output tokens").option("--depth <value>","brief|standard|deep|full (default: standard)").option("--full","Full details and children for any type; excludes --depth/--fields").option("--fields <value>",`Render custom comma-separated item metadata fields. ${renderPmClosedDomainHelp("get","--fields")}`).option("--tree","Include descendants rooted at the requested item").option("--tree-depth <n>","Maximum subtree depth for --tree descendants").option("--at <version-or-timestamp>","Reconstruct a verified historical item state without mutating it").option("--format <value>","Get output format override: json|toon").description("Show item details by ID.").action(runGetAction);addHiddenOption(getCommand,"--tree_depth <n>","Alias for --tree-depth"),addHiddenOption(getCommand,"--token_budget <n>","Alias for --token-budget")}if(shouldRegister("history")){const historyCommand=program.command("history").enablePositionalOptions().argument("<id>","Item id").option("--limit <n>","Latest n entries").option("--compact","Index, time, op, author, patch count, fields").option("--full","Full entries with JSON Patches").option("--provenance","Authors and provenance; no patches").option("--provenance-summary","Count provenance completeness").option("--harness <value>","Recorded/resolved harness (repeatable)",collect).option("--agent-instance <value>","Agent instance (repeatable)",collect).option("--provenance-filter <dimension=value>","Exact provenance match (repeatable)",collect).option("--diff","Before/after field diffs").option("--field <name>","Filter changed field; implies --diff").option("--verify","Verify full chain and replay").option("--strict-exit","With --verify, fail on integrity errors").option("--fail-on-warn","Alias for --strict-exit").option("--format <value>","Output: json|toon").description("Show item history entries.").action(runHistoryAction);registerHistoryMaintenanceCommands(historyCommand,!0),registerHistoryActivityCommand(historyCommand.command("activity"))}shouldRegister("events")&&program.command("events").option("--since <cursor-or-timestamp>","Resume strictly after a durable cursor, or include events from an ISO timestamp").option("--type <value>","Filter by mutation operation (repeatable or comma-separated)",collect).option("--author <value>","Filter by mutation author (repeatable or comma-separated)",collect).option("--item <value>","Filter by item or workspace stream id (repeatable or comma-separated)",collect).option("--limit <n>","Return at most 1,000 events (default: 100)").option("--cursor-mode <mode>","Cursors: batch trailer (default) or per-row").option("--full","Include each complete authoritative history entry").option("--verify","Verify selected authoritative history chains").option("--provenance","Include patch-free author, harness, instance, and extensible provenance").option("--provenance-summary","Include bounded provenance completeness counts").option("--harness <value>","Filter by recorded or vocabulary-resolved harness (repeatable)",collect).option("--agent-instance <value>","Filter by privacy-safe agent instance (repeatable)",collect).option("--provenance-filter <dimension=value>","Filter by an exact declared provenance value (repeatable)",collect).option("--follow","Follow committed events as NDJSON").option("--interval-ms <n>","Empty-read delay while following (minimum: 10ms; default: 250ms)").description("Read mutation events as NDJSON with resumable cursors.").action(runEventsAction),shouldRegister("activity")&&registerHistoryActivityCommand(program.command("activity",{hidden:!0})),shouldRegister("graph")&&program.command("graph").argument("<subcommand>","Graph query (ancestors, descendants, predecessors, successors, paths, impact, analyze, audit, communities, redundancy, dominators, slack, centrality, articulation, plan, index)").argument("[id]","Root item id (traversals, paths, impact, and dominators)").argument("[target]","Target item id (paths only)").option("--kind <value>","Restrict traversal to registered relationship kinds (repeatable or comma-separated)",collect).option("--max-depth <value>","Maximum traversal depth (non-negative integer)").option("--limit <value>","Maximum returned rows per bounded collection").option("--after <value>","Resume a traversal after this previously returned node id").option("--direction <value>","Edge orientation for paths/impact (outgoing, incoming, or both)").option("--max-paths <value>","Maximum enumerated paths (paths only)").option("--sample <value>","Maximum evidence sample entries per audit finding (audit only)").option("--exempt-isolate <value>","Item ids treated as explicitly valid isolates by the audit (repeatable or comma-separated)",collect).option("--exempt-isolate-type <value>","Item types whose active isolates are policy-valid for the audit (repeatable or comma-separated)",collect).option("--save-baseline","Persist the audit census as the change-since-baseline comparison point (audit only)").option("--rebuild","Rebuild and warm the durable graph index (index only)").option("--clear","Delete the durable graph index (index only)").option("--summary","Return counts-first envelopes without row collections").option("--full","Return the complete graph row projection").description("Bounded workspace relationship-graph queries, analytics, and governance audit.").action(runGraphAction)}const _testOnlyRegisterListQuery={resolveReadCommandOutputFormat,parseListFormat};export{_testOnlyRegisterListQuery,registerListQueryCommands};
11
11
  //# sourceMappingURL=register-list-query.js.map
@@ -1 +1 @@
1
- {"schema_version":1,"generation":"b7783150f08dfa6c11d6ecaa7d48b3f8f3b6120f6a59b78149d211923ace0c45","files":[{"path":"chunks/chunk-25MTQAHX.js","sha256":"29dedcfafd125b8ae47a15ec9979298ea1a25e67115451cafe3daf90a5a465a7"},{"path":"chunks/chunk-25MTQAHX.js.map","sha256":"cf3f9572b981d49095912d307890b123ad93c7ed5e4d65e009b9e6a5acd9f017"},{"path":"chunks/chunk-4D25HF3V.js","sha256":"9104ab502758f12401a9bce2d0768f79a313ce457d02712f526cebde93c3a973"},{"path":"chunks/chunk-4D25HF3V.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-57YPOOED.js","sha256":"9b6d561575fe1ebde236e8f4ded09aa59b36cb8812a1e891a97bcb3172a953bc"},{"path":"chunks/chunk-57YPOOED.js.map","sha256":"26c92ca1dcf896743cae73cdf47c47a8133e4e9cff4590b313c02d7094087305"},{"path":"chunks/chunk-7UDQAINZ.js","sha256":"65b1061cb7c682a45ffca874003bc589c2f158faae46c05c5562e11f8535b77b"},{"path":"chunks/chunk-7UDQAINZ.js.map","sha256":"cdc5f18bcb081348882caef0a34341b1c5c352818b71c4a5fd682a943c3d8308"},{"path":"chunks/chunk-DEZPZOQ7.js","sha256":"ef11ddab9ecc9533cac75ccc8ca41058a59382dfbe3262033fa21c7264d73b0d"},{"path":"chunks/chunk-DEZPZOQ7.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-ER7RLJW5.js","sha256":"0196cb0a5271dfda6df5ce9e57c8bf3bbcedf8f8ba00d8bbe1c1ea2f72c2172b"},{"path":"chunks/chunk-ER7RLJW5.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"chunks/chunk-IB7UB5TE.js","sha256":"158940f663a676247075395b646afbce49c7b88138d677699bdabf9add9776df"},{"path":"chunks/chunk-IB7UB5TE.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-MWCG25PO.js","sha256":"0d16c09e630716bc9ba7b53e15a323aa206b90ecd03d914bf27e3a586a0b424f"},{"path":"chunks/chunk-MWCG25PO.js.map","sha256":"f16ff9e3c72bb0e377b3c28b6fdd79fac49b17e2737557e0ddb7b60045c5d9c9"},{"path":"chunks/chunk-N6FTEILW.js","sha256":"ce8ec17cf2b05491535fdd82c6b05b7f18fcf1f156718d2c6cfbc4f7c4bdeb13"},{"path":"chunks/chunk-N6FTEILW.js.map","sha256":"95fdd7c6b5e86c9277b4cce00de4b0fa48ca0a91bb8d93761fc8ba27a84c4ea0"},{"path":"chunks/chunk-NGKTROAO.js","sha256":"dec8f6ce6ecdaf45ac8de5a3b562b9ce21db01a53e64a071f18d8400a3787196"},{"path":"chunks/chunk-NGKTROAO.js.map","sha256":"e26ba7081b4f40042fe1b6b25601e03268e6d78d0fac672d99a119a111d51f55"},{"path":"chunks/chunk-OCDRHIVQ.js","sha256":"d29f3ee42adcfd36487ffb66dfbf49bbec39ff4b8b450ffbcdedbfbc31864c62"},{"path":"chunks/chunk-OCDRHIVQ.js.map","sha256":"477632618f2eb64cdf6d1021e61e2dc53ee9f2ee03c0d132df5e959776cc8263"},{"path":"chunks/chunk-ONC4BBQP.js","sha256":"15b239865a8ac3995780ac3bf40bf5e9d3d6b9db5b27c1d4d6c555ea68cf7333"},{"path":"chunks/chunk-ONC4BBQP.js.map","sha256":"367a35ea4c68716ee624e2c15fdf6007348e66a549d516ce3241ae4e03ed2c59"},{"path":"chunks/chunk-OUDR2HWR.js","sha256":"03ac9056998e48aa9a05200227c8033cbaf44c1d96f91a50e870d4232e1eba6c"},{"path":"chunks/chunk-OUDR2HWR.js.map","sha256":"b6b9071438ab783aef54a9c1d6343ec9a019cf0e9c2ab3467e235ac4bf3c314e"},{"path":"chunks/chunk-RUKSEZE7.js","sha256":"05eaf33deb0ed71f2979b8fe576bc019edca18774a54dece107eb75ec54f64cc"},{"path":"chunks/chunk-RUKSEZE7.js.map","sha256":"f570cccc63e03deaced83773e055aff40fd8b72aa9b561e46a8ac21eef65788a"},{"path":"chunks/chunk-SGFQQXFD.js","sha256":"27cfd4152f894bbd21c5d4f1d8ba40ea447d11983ec3b09a578d8bbc787522d7"},{"path":"chunks/chunk-SGFQQXFD.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-T7T4WLUY.js","sha256":"1b7fc71bf0040737223c0d29a743c33c6f9b05c2c25f027dfbd0246f4505df45"},{"path":"chunks/chunk-T7T4WLUY.js.map","sha256":"00abd119757ecbd3c489f197621c4be0e15e26af35500ccf91801b3ce07cad07"},{"path":"chunks/chunk-TGOG5BFM.js","sha256":"633174cb3a7b15db905709f57c102aa73b48b1d8acb38547adf9cabb9806f881"},{"path":"chunks/chunk-TGOG5BFM.js.map","sha256":"c2218ca098df35d18170680f27fab92545bb0ba873097da9cb9f94836ac4efeb"},{"path":"chunks/chunk-UF6EXZSP.js","sha256":"2a02469f9392d8bf6d60ba8b9eac82f5d9ba28e229c61b57fc76811222258787"},{"path":"chunks/chunk-UF6EXZSP.js.map","sha256":"ba0dd87d747597e14f13c6e932b6288d1b06f08931b4f76cac3939f0fdab48a7"},{"path":"chunks/chunk-VS2IIV3F.js","sha256":"645f2e257cede1eb03daac76c42922250e9cc71ec7483dbafc9f5393578e0797"},{"path":"chunks/chunk-VS2IIV3F.js.map","sha256":"d252865ff010ac10c9bbe2ed9007d292f1606ead473b330f085d95f877865511"},{"path":"chunks/chunk-VS565KBX.js","sha256":"f66d92e0d59add33123dc44938a2cf76a749b262d5c044d8bbccce24861f9351"},{"path":"chunks/chunk-VS565KBX.js.map","sha256":"562c753aa39adbfdbeefaf390e68fdadd1fe986bcb6e82f9355315e8d6a16ec9"},{"path":"chunks/chunk-XAIR53QZ.js","sha256":"30f832df288df30bda2fe7dfa302860a362e032346ae26776e6b4d8a0764ce1f"},{"path":"chunks/chunk-XAIR53QZ.js.map","sha256":"5a88302b311b9fc31f5a53ce361b70d1690e80dd3608e1a9e69360d954fed08a"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-Y42DYMZX.js","sha256":"209ae07f2011f97f03921ab20cdfbbee203513d10b20abf12a799ce485983ea3"},{"path":"chunks/chunk-Y42DYMZX.js.map","sha256":"f47797d7414cfd1e177ff2699f808d393b6ddc5d38ef75b9eeacce7a2342a715"},{"path":"chunks/chunk-YJBIPNDL.js","sha256":"bcfaf812dbd210775632f0b2891e81cf69b1025c5ed26834deb954f4955237c8"},{"path":"chunks/chunk-YJBIPNDL.js.map","sha256":"9749cefc7d34864b41ef16fa8f8d47185f084a02c37638c6b2bc54b20e4ed92a"},{"path":"chunks/chunk-Z35XAHUN.js","sha256":"051e00a35a3904b54995222b9dda6e8e7478b3476aed9d74ace8b849c91fc2ba"},{"path":"chunks/chunk-Z35XAHUN.js.map","sha256":"3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"},{"path":"chunks/chunk-ZLVFUZI4.js","sha256":"084673b8e6cd4fe46c71f4d56da90702ebc9527575b086416a7cb4d3e5bf04fd"},{"path":"chunks/chunk-ZLVFUZI4.js.map","sha256":"eddad9440b3bc1e958a2798cd9fa8f2a833e6f746c6b347260cde6980207909d"},{"path":"chunks/chunk-ZT64RDMF.js","sha256":"293857f8565119a43f8765d08c374a7a29b732ef5e61e43ea6c502cb9ee6248c"},{"path":"chunks/chunk-ZT64RDMF.js.map","sha256":"cf48b3dd50abd9c5056145ee034d578f463a1e6c1f483bb6c88c6ede4e6914b1"},{"path":"chunks/context-budget-recovery-L2WP5S26.js","sha256":"94308a0c40cb90380fb5f3c00c105b04df651eb699452e4a1eff4392936bad3e"},{"path":"chunks/context-budget-recovery-L2WP5S26.js.map","sha256":"bdec4d79334c795b8b4fdcf03f3820adac1f8a3a220767d3cf0de29c4d3a79e2"},{"path":"chunks/indexed-receipt-blobs-NWQIDTH7.js","sha256":"92726608880604fbdb3854e45e1cb4605f558f5b92c97ecd3eb400c336de108c"},{"path":"chunks/indexed-receipt-blobs-NWQIDTH7.js.map","sha256":"fa7a302cba5728f051e525664dd0057853c99bbc332ce036dc6848dfc50b5b87"},{"path":"chunks/mutation-admission-VTNV6JV2.js","sha256":"398f48a0683f5cd2dd8fccf4d6b583ef6dd80d2ce96172e325018cf0dbde789e"},{"path":"chunks/mutation-admission-VTNV6JV2.js.map","sha256":"e380f366c43aaf591b023222423a57578d104ed97f2684f4b52037aa9f548eb1"},{"path":"chunks/register-list-query-LZDWUZS4.js","sha256":"8f270591cf95541bfd80f652488f779c62b44ccca8e73147e5b83846b804e9e6"},{"path":"chunks/register-list-query-LZDWUZS4.js.map","sha256":"7188ff85ccc3edf56fef59450a43c8b3030edb31b5fbe62923c8fa4487bd9036"},{"path":"chunks/register-mutation-M2A7PH42.js","sha256":"db85adf1b0d264497ac18cdef3997ff5f8b48613bb5c6b43f78531b18a9aad5e"},{"path":"chunks/register-mutation-M2A7PH42.js.map","sha256":"8812686dbe1ebebfe63f60fc8409a5c9bffe874e02f97acaed32f422b5db7dcf"},{"path":"chunks/register-operations-E7P2JTXM.js","sha256":"1169986e9ad9507ad1fd1dc7600f11ecdf0b8d82ed1eac970879840bc14802ba"},{"path":"chunks/register-operations-E7P2JTXM.js.map","sha256":"fad49951530c0085428b3c2e97a742e737e8645b4dcb05ddcd4282155abc0c39"},{"path":"chunks/register-setup-DOV7KGSH.js","sha256":"dd41a911db3950bf07122ae1f4fbe0a49ccc8fd9dbb35a3e500fc97485760394"},{"path":"chunks/register-setup-DOV7KGSH.js.map","sha256":"b323d344776471d1ba98d57233da41b2f0ceeb634519e85552b10ce0243c3485"},{"path":"chunks/settlement-hook-SVD6CO7U.js","sha256":"1fd05ef82bc8b8a1392968b390502e86d0904e2414b88e102489b898648ddf6d"},{"path":"chunks/settlement-hook-SVD6CO7U.js.map","sha256":"6e0577b035532efe4968d1a3bbaf491e0d790074b735ff94448143e5a700c747"},{"path":"chunks/stage-LYLEOAQB.js","sha256":"3cf25eaec91bcd85fe507b147e2e0bd5dacac6f4ffa25ed040a3436b819e96bc"},{"path":"chunks/stage-LYLEOAQB.js.map","sha256":"1cfaef9f0b1890e2dfed29ad9121a25281e2f074e8183edc9163c214e4b00437"},{"path":"focused-chunks/chunk-226XKW3W.js","sha256":"a598b326ab51e13571058f634364e6e202e98078b842644e5924094b9057f9e4"},{"path":"focused-chunks/chunk-226XKW3W.js.map","sha256":"f72f4b938a9be3f3bac5c7b892b80d866d55d26fef8dc6966600de84f02d2628"},{"path":"focused-chunks/chunk-ABMNYWV6.js","sha256":"1ab5ce5cb55c2e4de9a59624c91383acccf937043553f265f4cdbad761b48e61"},{"path":"focused-chunks/chunk-ABMNYWV6.js.map","sha256":"9ede681a9232f37a309b3f8e173a31d7479278b2503dccf25fb63af930aefc43"},{"path":"focused-chunks/chunk-ADSBGYLW.js","sha256":"0c5d81d0ba00e07bd90c4d5c06238a1f6daafed3a493d00039ca4530d6d596b2"},{"path":"focused-chunks/chunk-ADSBGYLW.js.map","sha256":"5c964f75efc11a21ccb1457d04fd43f1c7f2fde38385f7c3487bade63c57b926"},{"path":"focused-chunks/chunk-AK2CI2GI.js","sha256":"8a40e489e22d02a4d6c0e02a3ff847d93b633d662cd952e4023079ffb4a3fdc5"},{"path":"focused-chunks/chunk-AK2CI2GI.js.map","sha256":"70aa5aa38f1d2f486c5e165db51939b7777df85572706d3bb4165e55f8614488"},{"path":"focused-chunks/chunk-B266DDBJ.js","sha256":"e17dc3aa1520e0d98933b9af8d441a18477ff28a8dbea0e3707411dc19e97c79"},{"path":"focused-chunks/chunk-B266DDBJ.js.map","sha256":"28917f3c4d14ec223f7c49f5abb15afcf8cd5f8339ef2fbb163231386522d0e5"},{"path":"focused-chunks/chunk-BH7RE2ZY.js","sha256":"8c17f64cb7c374bffcfbfb6287f743eafe26abd61634e63379bb368ae1355d27"},{"path":"focused-chunks/chunk-BH7RE2ZY.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"focused-chunks/chunk-BL77VCRB.js","sha256":"e3111fdbcd6e09ccc34301db73d2bec1468b9f9f66befbce2058090049191ba7"},{"path":"focused-chunks/chunk-BL77VCRB.js.map","sha256":"feccd4d53e6d9af1edb4d62c87498ad02f4743fb8466f30deb75dc2350de7268"},{"path":"focused-chunks/chunk-CSCZYSNZ.js","sha256":"52640b6be8add986633174d5f658a9c980ba37e0e49a123bb87bb32f7bb1fa4a"},{"path":"focused-chunks/chunk-CSCZYSNZ.js.map","sha256":"4ff83d0c72fd7fcfe01122078975137054e1a25f46e306237676e0d27dda3ff4"},{"path":"focused-chunks/chunk-D5YQ4KAE.js","sha256":"549175652c59a5419d05acb8d5252f47feaa353ceae71ca5a530bcac102bd4ba"},{"path":"focused-chunks/chunk-D5YQ4KAE.js.map","sha256":"4396ac746bbf261934d7422cca2b7ad78503a560335e6de2bbb35842232087fd"},{"path":"focused-chunks/chunk-E5C24MCV.js","sha256":"f92ede8861d0dc55f2f23001b4c7b1ca50027f2150c17a6c0a906eb3d95de41d"},{"path":"focused-chunks/chunk-E5C24MCV.js.map","sha256":"80f6c87b0f5dc75681ed748b40ba004822e36fc904f28ba9d01bfa21c5880772"},{"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-I7H3XF25.js","sha256":"f3feb7eb79c28b4c093cc29470e684ae20a09fc72017fef58fa9f3922cd36335"},{"path":"focused-chunks/chunk-I7H3XF25.js.map","sha256":"237e554f344bb13eec7fe223fbda45da2a5e2ebfe08a138830df554217244be5"},{"path":"focused-chunks/chunk-IF6C43IP.js","sha256":"0c9541a471852df38b6bcfba11ef80fa2cd84b447e4648e0770c2ddff333ac22"},{"path":"focused-chunks/chunk-IF6C43IP.js.map","sha256":"b4ce6b876e4a59283af7dbf0ddb0fca809b1f58eb005ff2711d91f085ece81ff"},{"path":"focused-chunks/chunk-KERJNFXY.js","sha256":"0e903fb3017ca186af7b0d68718456a6e2afa9d5f25fc09e9a3d35d5564dcad0"},{"path":"focused-chunks/chunk-KERJNFXY.js.map","sha256":"64ddee936d43e684273d7d32a25708f938da912434f3776265c359883ce66558"},{"path":"focused-chunks/chunk-KTXU5WU6.js","sha256":"f5889c044e6461183b8857a1de0432297725ac7a8d2d6aedbd9fd5fb8d83287d"},{"path":"focused-chunks/chunk-KTXU5WU6.js.map","sha256":"908dee1d64bb49984b47067ef70caef66146cbf76132681ff741a04340ecfe93"},{"path":"focused-chunks/chunk-NE27VCU7.js","sha256":"4288a42b6dca59abd2e2e8e65372743c46e844ba3217e8fac0481ff4455a8e31"},{"path":"focused-chunks/chunk-NE27VCU7.js.map","sha256":"b7853aa106acc3656a9055667261e6e76643d841e6c552a96369549d6e8e32bf"},{"path":"focused-chunks/chunk-NFN2P4TW.js","sha256":"1fb065a73f186acd1ccb5d7d65876140f2e36e7d6c378ef621c9365198db3f01"},{"path":"focused-chunks/chunk-NFN2P4TW.js.map","sha256":"d7d6d003a323732a00962abf8cadcba5295010c039e55987967101e0c4fa45da"},{"path":"focused-chunks/chunk-NLZUI234.js","sha256":"37a17f2661e0e295a4b31bc63505e8c70682830c07646098f9ea3e462307d9b4"},{"path":"focused-chunks/chunk-NLZUI234.js.map","sha256":"5f19aa3ce2f13c1f7cb9b75bea981d5f129b217aa78d1da17851b34c50edd6c3"},{"path":"focused-chunks/chunk-PK5FJIVA.js","sha256":"2342186f6dade60c6695641a8f5dfe417ec89049ea928d781b2ff2d723d4a7a6"},{"path":"focused-chunks/chunk-PK5FJIVA.js.map","sha256":"5fd223168f35e7e1867260c883cd4e9e799d55379b3cd04dcac6473cc6710c33"},{"path":"focused-chunks/chunk-SVOOGGAK.js","sha256":"cf84553a8001feee7147d6941274dc00cf8644ded0da1e4b611b542c02f6dcb5"},{"path":"focused-chunks/chunk-SVOOGGAK.js.map","sha256":"c6941ba9e7060fcb63add9bb1b246052f16f530b85845320f23076a4db57f341"},{"path":"focused-chunks/chunk-UHWTPOM4.js","sha256":"63600d014eec0790b788f05fdb6dfafada855c7cc29f51496e72684303a7ad88"},{"path":"focused-chunks/chunk-UHWTPOM4.js.map","sha256":"055410f9e0b01dac842c31a20e39e93459faf20e124dc1df0eb9b588225c6985"},{"path":"focused-chunks/chunk-UP765R2V.js","sha256":"12748ea1e7bf2f7813996324d02ab699c7a9e98fa9b761b59baf806e3717f6e3"},{"path":"focused-chunks/chunk-UP765R2V.js.map","sha256":"55cc43f1df0c83cb8ead390bd23156dd886a5df20019102f1b097a510ac89cef"},{"path":"focused-chunks/chunk-VVRXF4JO.js","sha256":"36c83f33f8e49f9b51f4beaea1e2861c7303e6dab09fac5beee2b4e30960fed8"},{"path":"focused-chunks/chunk-VVRXF4JO.js.map","sha256":"f570cccc63e03deaced83773e055aff40fd8b72aa9b561e46a8ac21eef65788a"},{"path":"focused-chunks/chunk-WDWHUJQW.js","sha256":"361bb8ec3d9f555ad476e0d880670bbc73804f12d714d89fdcda499ee7b36579"},{"path":"focused-chunks/chunk-WDWHUJQW.js.map","sha256":"098356b5f02b8b6367ddefe181f34a9be0bb5025044cf8febad72d65df154689"},{"path":"focused-chunks/chunk-YLVHHWHN.js","sha256":"aed33cc3c5024b75a909cf5c01ac1d0161d9f56cc87c9c7638662f82a4d94626"},{"path":"focused-chunks/chunk-YLVHHWHN.js.map","sha256":"2536922ae21f29b6d28033a35d9aba3d921ee26867d733ba0a76857c97366cd9"},{"path":"focused-chunks/chunk-YQKLKRMW.js","sha256":"1ffb3232d03015d12e9e4d47c89f02946b55e75cc0cb4263655ee470fa6a79bd"},{"path":"focused-chunks/chunk-YQKLKRMW.js.map","sha256":"989983130a504bcf5fa92afa91c206969a2e015d35980123285d917b25553b41"},{"path":"focused-chunks/chunk-YTEC2EPM.js","sha256":"19cd5e6a2d5ba63b98f5503cca30354f4bd1124003c6153d2e6c37510657a5fe"},{"path":"focused-chunks/chunk-YTEC2EPM.js.map","sha256":"5cf811e737f183ecb568a84847618bbbf1d7bd542b6606d178ebd651d00e3b8c"},{"path":"focused-chunks/chunk-YW5GHQN2.js","sha256":"a6cdc936520ec1f59fa84b5e382051c66ece1c43eedd38ab00556a4aa69cb42e"},{"path":"focused-chunks/chunk-YW5GHQN2.js.map","sha256":"0526cffbd8e6ff2a57811e2ffba2060c83eb84e6ad7adde876c13d93f422592d"},{"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-YFDNGHCM.js","sha256":"e9c1228b2e8b16ece962baae4a422d5b5fb2e38b93e7406466a98f4c5d6dc74d"},{"path":"focused-chunks/indexed-receipt-blobs-YFDNGHCM.js.map","sha256":"57b273a9f6437bafaada297723cb222a607a701eb49aac2922e6b723f10fe0b4"},{"path":"focused-chunks/mutation-admission-L42E3U5U.js","sha256":"4ec5017aed56a00d07b98c91913c162bb6c826f7178d0385cf49ab281c7f0d35"},{"path":"focused-chunks/mutation-admission-L42E3U5U.js.map","sha256":"3d37817bd6aa0a3c99f04b5c040d4f91ee0efc042c2fc5dad392d46db5b8fc5a"},{"path":"focused-chunks/settlement-hook-3CADO4XZ.js","sha256":"32bb8ed5541ee8773afb4131f561b61594f2ef22a3eda5ed4a1fe7a824e00fc4"},{"path":"focused-chunks/settlement-hook-3CADO4XZ.js.map","sha256":"d49b55f7df2dff3c6287f163f6a2bb801dca8caf522412c0b328eb9f74be5c7f"},{"path":"focused-chunks/stage-TUQHWU7N.js","sha256":"d544ff47290db8f4343911d196184c4f16989570a8479a968c1df408b00e0cb1"},{"path":"focused-chunks/stage-TUQHWU7N.js.map","sha256":"53384e77cf51a5eaf3292f99c9375c57e284c0a07762ec49ce3c5eb59ae38f28"},{"path":"main.js","sha256":"3e5171b5ad732d1527bc8922b231a7817f83034cef5e32abf679d2f1b7d5f6c3"},{"path":"main.js.map","sha256":"e20311e25ee4afa3423b1a6b23ed4c39561ca6b0edd33e85ea01a1d52d036cf4"},{"path":"sdk-authoring.js","sha256":"41a8500868d46bbd4f5053f5caea57b662ca0870714a0259ac2a098613893e7a"},{"path":"sdk-authoring.js.map","sha256":"b6d5ccbd2349ec776bbf56ee1c075d1254f0829c34402ba35d3af055dc7e8777"},{"path":"sdk-contracts.js","sha256":"813e5d551cba7e320a6d117fc4e09d764615408b8857b0108891464731a497af"},{"path":"sdk-contracts.js.map","sha256":"f0e186c198da913280db0c4ba3f6386e8059229f00da25bc3b6fc20fd6b2a015"},{"path":"sdk-core.js","sha256":"ac8c1b2e19e8ff2316e6221d94f500a66cb92544b6711acf374881bf78a26266"},{"path":"sdk-core.js.map","sha256":"a058d5c2ec77cf082c065e68a853731b7dd33f56dede5783ccccdefa9d77b305"},{"path":"sdk-governance.js","sha256":"4202ca593642ce6042c39d5422d74016b2a86d7b35783bb4610d6b78c8d06b17"},{"path":"sdk-governance.js.map","sha256":"13ae39ee088e18fc9ee1ac0932dbc5a46ccc66ad60d6ea53601c03fa289ac3c7"},{"path":"sdk-graph.js","sha256":"e10ba37c94a24c9adb66d49293047517370496ddbd72d5c9d774055e213e5012"},{"path":"sdk-graph.js.map","sha256":"efa166700ff746731db3675b94e7cba11af2828f29b74e91c00ca4214f4220d0"},{"path":"sdk-merge.js","sha256":"6c7eb6334af22b0b519c380790853bc593d1342ea3940de82a02b58e4cacdc94"},{"path":"sdk-merge.js.map","sha256":"1f3e532675e70f75c004c76f10179aea06a8538e1ad46f3a6422456afe66290f"},{"path":"sdk-query.js","sha256":"68c97a0fe033b1c4697c955d5b6b56f42aa2f3cfcd1d7c0414f10eeacbdf009f"},{"path":"sdk-query.js.map","sha256":"a1ba8ab9c5987801d95003041b29f209436c4dda2b098e47576207f1f0a5160f"},{"path":"sdk-runtime.js","sha256":"2bc61418e9c80bda7d2a35fa0638481d8a8b4b15b45c17c658d7b5fdfca04d18"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"0c6e634beec619839468d42b08637e6fb4e410427bb7511e7d0fd4effe733e80"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"18edf6df3004523a46bbdebdf53479d86294a7b46bb726dcdb027ece4d19284b"},{"path":"sdk.js.map","sha256":"18904274a54bce03f41117ac375c54e4ae183cb2e67125ec078c872a54f4e854"}]}
1
+ {"schema_version":1,"generation":"5b919026d5cce1c1800779b6d57271245055c92a335eb329c7588b6ea0315495","files":[{"path":"chunks/chunk-2J7I54MQ.js","sha256":"863d8ae88d72463a7f9dacd69ca83010ed51259342c68cca94c914ce0c25f40e"},{"path":"chunks/chunk-2J7I54MQ.js.map","sha256":"ebdbd692be0adb0d075e8751788b0b1cea95d035fde3a2548e968e670ec65b49"},{"path":"chunks/chunk-3KMYHYJV.js","sha256":"d43457b33d1497162b25c5edd4ea4603ac0304dac62296af46501f297b2fdedc"},{"path":"chunks/chunk-3KMYHYJV.js.map","sha256":"cf3f9572b981d49095912d307890b123ad93c7ed5e4d65e009b9e6a5acd9f017"},{"path":"chunks/chunk-4D25HF3V.js","sha256":"9104ab502758f12401a9bce2d0768f79a313ce457d02712f526cebde93c3a973"},{"path":"chunks/chunk-4D25HF3V.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-7V37RC2L.js","sha256":"b53ffd42f10b83ea892218ae8487940fa50a5cedf4dbd474f0b5542aea8a2205"},{"path":"chunks/chunk-7V37RC2L.js.map","sha256":"8f2562e12c056656ba8376c7503cc9c7167726f86136749a06e611a83ce5f38d"},{"path":"chunks/chunk-AHVN4GHF.js","sha256":"8284978d813c47d1916e8588569a63c6838d26a18333d00bfd61431ac732a6eb"},{"path":"chunks/chunk-AHVN4GHF.js.map","sha256":"6c7e71076d4591fd0489ede60f426652fc1d2256743a0a0c29122e59ac1388a5"},{"path":"chunks/chunk-CS7QDSUX.js","sha256":"ae8a077ad0a614dc0f4dfd6d5cd3221285c4b27ec76baf4d1970f88acc34754a"},{"path":"chunks/chunk-CS7QDSUX.js.map","sha256":"bc128bef0047b15b32e7187d588f32a7be964cf13f14f4c49d3603165e2ce87b"},{"path":"chunks/chunk-CXUQEZDX.js","sha256":"e1ee8bf42715612570539d0b528d834727b797eeaaa50d60c97efb4f429dd036"},{"path":"chunks/chunk-CXUQEZDX.js.map","sha256":"00abd119757ecbd3c489f197621c4be0e15e26af35500ccf91801b3ce07cad07"},{"path":"chunks/chunk-D3AIQZXF.js","sha256":"82b58ca69c1f399e3f0ba2aa7fea3d0cfa57bb39a456a4886cd5078e9b678333"},{"path":"chunks/chunk-D3AIQZXF.js.map","sha256":"cf48b3dd50abd9c5056145ee034d578f463a1e6c1f483bb6c88c6ede4e6914b1"},{"path":"chunks/chunk-D6P6IBPN.js","sha256":"eb28ab03934e20c52d03476d364ae815a27a698bdd48aca515fdc51eb9ef7450"},{"path":"chunks/chunk-D6P6IBPN.js.map","sha256":"cdc5f18bcb081348882caef0a34341b1c5c352818b71c4a5fd682a943c3d8308"},{"path":"chunks/chunk-DEZPZOQ7.js","sha256":"ef11ddab9ecc9533cac75ccc8ca41058a59382dfbe3262033fa21c7264d73b0d"},{"path":"chunks/chunk-DEZPZOQ7.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-DKLEDWVW.js","sha256":"ae8b37db71acb6a04d7ce25a5bb7d92bded6cac2b5dd60cf695583a0ffed6f94"},{"path":"chunks/chunk-DKLEDWVW.js.map","sha256":"c2218ca098df35d18170680f27fab92545bb0ba873097da9cb9f94836ac4efeb"},{"path":"chunks/chunk-DM3PICGU.js","sha256":"0eae8533d4d9d31cb5971bcb7f90d37ad7abc7d48ce9bcfb7bb45a86210a78f6"},{"path":"chunks/chunk-DM3PICGU.js.map","sha256":"f16ff9e3c72bb0e377b3c28b6fdd79fac49b17e2737557e0ddb7b60045c5d9c9"},{"path":"chunks/chunk-E5QBZ4HI.js","sha256":"95e9bff9159e229dbe158c0d1f72ec9f4e549cf865e42be75c94cb1edbbd72fe"},{"path":"chunks/chunk-E5QBZ4HI.js.map","sha256":"f47797d7414cfd1e177ff2699f808d393b6ddc5d38ef75b9eeacce7a2342a715"},{"path":"chunks/chunk-IB7UB5TE.js","sha256":"158940f663a676247075395b646afbce49c7b88138d677699bdabf9add9776df"},{"path":"chunks/chunk-IB7UB5TE.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-JESLOJD7.js","sha256":"ba055cd54312e8197650f034fce8dc31b6c5fec28494bf6b3c3ac487d6c100be"},{"path":"chunks/chunk-JESLOJD7.js.map","sha256":"5a88302b311b9fc31f5a53ce361b70d1690e80dd3608e1a9e69360d954fed08a"},{"path":"chunks/chunk-LWW4F4G2.js","sha256":"67a69fe5ad1909987e6a90d51f439bfb1117266fc977b5642feaf42c6ebdeff1"},{"path":"chunks/chunk-LWW4F4G2.js.map","sha256":"26c92ca1dcf896743cae73cdf47c47a8133e4e9cff4590b313c02d7094087305"},{"path":"chunks/chunk-PQLRKFPZ.js","sha256":"0cee4d4fb634aa3c433de85419efbaaef7a51b979e2139c63e3b26f7a84980bb"},{"path":"chunks/chunk-PQLRKFPZ.js.map","sha256":"1814f41c4c51c6513dcb96975cad513773efe050851c17f1ffd66524c9eff3b5"},{"path":"chunks/chunk-RZQNFHXO.js","sha256":"c3fa6d9b4eea68c2eae47977103e38093760fd4984eedd766fa875a555bfd387"},{"path":"chunks/chunk-RZQNFHXO.js.map","sha256":"8aac34a076af4a2d4dd16a7800129cba858469fd705233a5a63959268e2ff396"},{"path":"chunks/chunk-SGFQQXFD.js","sha256":"27cfd4152f894bbd21c5d4f1d8ba40ea447d11983ec3b09a578d8bbc787522d7"},{"path":"chunks/chunk-SGFQQXFD.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-SPPHDVZE.js","sha256":"ba82130f93656299c39dc713ba1f03fc47bec7a39fac6594c72e10ba398f04d3"},{"path":"chunks/chunk-SPPHDVZE.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"chunks/chunk-TH5KPAN4.js","sha256":"861710916af5aafba2ed59506f3083c89cd25d06e9cce891f4f7ee1b571cf687"},{"path":"chunks/chunk-TH5KPAN4.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"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/chunk-XHONSCLJ.js","sha256":"583f5d313ef059f4bc7737b680cbaf15063e7ff23b71be2e20bc30e69a3eb15b"},{"path":"chunks/chunk-XHONSCLJ.js.map","sha256":"898549f0db83ab6f971b0ccd77ca49b0ec66427120b194639cfdb45ac78976a4"},{"path":"chunks/chunk-YUBUNECD.js","sha256":"09668a1b8754886fc329e4a62e46d202465b45d4450f6557be18e8fe1ae72295"},{"path":"chunks/chunk-YUBUNECD.js.map","sha256":"0f7214418a24f6b4d7be4960a7ed91596a6179a80c7053897cba8d627a85349d"},{"path":"chunks/chunk-YYD5MNAV.js","sha256":"867a57fc766ee4761538a09cd4d7b2c8e54ff9fd838c5cb027ead8f06b74cda1"},{"path":"chunks/chunk-YYD5MNAV.js.map","sha256":"3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"},{"path":"chunks/chunk-ZX3XMTZG.js","sha256":"aab70d9af2977b206062457a63298889f4b904a48521ba8a2e28f88aa0d28ad6"},{"path":"chunks/chunk-ZX3XMTZG.js.map","sha256":"ba0dd87d747597e14f13c6e932b6288d1b06f08931b4f76cac3939f0fdab48a7"},{"path":"chunks/context-budget-recovery-L2WP5S26.js","sha256":"94308a0c40cb90380fb5f3c00c105b04df651eb699452e4a1eff4392936bad3e"},{"path":"chunks/context-budget-recovery-L2WP5S26.js.map","sha256":"bdec4d79334c795b8b4fdcf03f3820adac1f8a3a220767d3cf0de29c4d3a79e2"},{"path":"chunks/indexed-receipt-blobs-LHLE7PSG.js","sha256":"1cca72d77d3a9d53f5dcdca9eb336ee64ce8236c7696b029cb0392768047b21a"},{"path":"chunks/indexed-receipt-blobs-LHLE7PSG.js.map","sha256":"cd38ac9e4b9beec9644d2629c41c46fef0179d7fcd36a1df7cafd1cdf5f22489"},{"path":"chunks/mutation-admission-GKDKHRTZ.js","sha256":"48b67a5dbfa61a3019880eb4fdcfdc202c23f322c3902f5e9da6d453bb2ce92f"},{"path":"chunks/mutation-admission-GKDKHRTZ.js.map","sha256":"e380f366c43aaf591b023222423a57578d104ed97f2684f4b52037aa9f548eb1"},{"path":"chunks/register-list-query-MHJJUM6M.js","sha256":"c9374125f2b6c661345df78ec323df901ef36b4e3f1767f187768398cc8ab4a6"},{"path":"chunks/register-list-query-MHJJUM6M.js.map","sha256":"cb669550212d73478b1feca0be991c1f2e8e5693fb22e3c7a6753e14e6b49cc4"},{"path":"chunks/register-mutation-SN425O3R.js","sha256":"bb2a0a47b8b21710b4709bff22af44a9767af78dcbce2775c62705891cff3d72"},{"path":"chunks/register-mutation-SN425O3R.js.map","sha256":"8812686dbe1ebebfe63f60fc8409a5c9bffe874e02f97acaed32f422b5db7dcf"},{"path":"chunks/register-operations-EYUIUGPW.js","sha256":"edef36c269bfeed8bbeb565f322645117515747a0dc0cd70c49efc1f327efc9c"},{"path":"chunks/register-operations-EYUIUGPW.js.map","sha256":"fad49951530c0085428b3c2e97a742e737e8645b4dcb05ddcd4282155abc0c39"},{"path":"chunks/register-setup-WUZ2ZSMY.js","sha256":"7c4fc7f69cc6134c3da3db2875860b75ca8124c0b98a601e8297bcedc66ce6fc"},{"path":"chunks/register-setup-WUZ2ZSMY.js.map","sha256":"b323d344776471d1ba98d57233da41b2f0ceeb634519e85552b10ce0243c3485"},{"path":"chunks/settlement-hook-MN3Y7LVX.js","sha256":"1130efaf5bdf7478c4d6296ff07210bea3f31c00188c1c9db635323fd9076012"},{"path":"chunks/settlement-hook-MN3Y7LVX.js.map","sha256":"6e0577b035532efe4968d1a3bbaf491e0d790074b735ff94448143e5a700c747"},{"path":"chunks/stage-2FYJGGG3.js","sha256":"41118a63bca4cbf552ee6d53fe4b579d6b489da8582e4a3c4aa5653a465d9bff"},{"path":"chunks/stage-2FYJGGG3.js.map","sha256":"1cfaef9f0b1890e2dfed29ad9121a25281e2f074e8183edc9163c214e4b00437"},{"path":"focused-chunks/chunk-3EHVI673.js","sha256":"66a7ee849d6a573b37b826179b6e1b0ba84b37f1fa6617f639e7c26e07d3dbd5"},{"path":"focused-chunks/chunk-3EHVI673.js.map","sha256":"63a46e86ec24163dcb548ad1da69031731955079a9cb9376d232c3cae93693b8"},{"path":"focused-chunks/chunk-46WLWK73.js","sha256":"35e3a28956989b19402bccd7223ef3e6fc3a533f031394ccf3364058599d5624"},{"path":"focused-chunks/chunk-46WLWK73.js.map","sha256":"c53c24b89db739e7f1fe70b4c45fe792f566303445b6bcab4176ab2bf62fecf6"},{"path":"focused-chunks/chunk-4GN2ZPT5.js","sha256":"49232ac8248ab8d3f369272aac37ed2aca385dc7d515c793ba67f9a767725a2a"},{"path":"focused-chunks/chunk-4GN2ZPT5.js.map","sha256":"80f6c87b0f5dc75681ed748b40ba004822e36fc904f28ba9d01bfa21c5880772"},{"path":"focused-chunks/chunk-6L4KKRK7.js","sha256":"d4fe843ef59b8732d4872ae462d9ccfeb353a9971641ac8c316e725d0f87ab4e"},{"path":"focused-chunks/chunk-6L4KKRK7.js.map","sha256":"9d919d10ddab2ebdaffccefd96d9a58cdcedff5198fcdddd88005fa24ffd8bfe"},{"path":"focused-chunks/chunk-6VDRAJYX.js","sha256":"a21331f1430402578cb7bedf2a8642da462e4355c40da823694f18eddaf44241"},{"path":"focused-chunks/chunk-6VDRAJYX.js.map","sha256":"4396ac746bbf261934d7422cca2b7ad78503a560335e6de2bbb35842232087fd"},{"path":"focused-chunks/chunk-7SZPZOIC.js","sha256":"850f8b45078dbee6b390af5d07e181baf0cd3e2b63ccfab3a892221f9c63ebb3"},{"path":"focused-chunks/chunk-7SZPZOIC.js.map","sha256":"cc17dc1e84cbc8dc82d4c7d5c6dd907e151d95c6fa532de8228433c6b59a9f9c"},{"path":"focused-chunks/chunk-AK2CI2GI.js","sha256":"8a40e489e22d02a4d6c0e02a3ff847d93b633d662cd952e4023079ffb4a3fdc5"},{"path":"focused-chunks/chunk-AK2CI2GI.js.map","sha256":"70aa5aa38f1d2f486c5e165db51939b7777df85572706d3bb4165e55f8614488"},{"path":"focused-chunks/chunk-B4ZQJEMT.js","sha256":"80edff487ba9b16d9a4fce628b347b8536a5ba2679a2c59c2a1347f6e04c2a79"},{"path":"focused-chunks/chunk-B4ZQJEMT.js.map","sha256":"989983130a504bcf5fa92afa91c206969a2e015d35980123285d917b25553b41"},{"path":"focused-chunks/chunk-BZSACRVX.js","sha256":"a2845ce69bb8152ba71e93175dfb98d83ebfadd1b41e5fa677796e4f80b414a3"},{"path":"focused-chunks/chunk-BZSACRVX.js.map","sha256":"5f2f98f01feb06e4e5ce6f7feab58015cd6336bbffcf33c1cf2f5767afd85023"},{"path":"focused-chunks/chunk-C2GLO7HU.js","sha256":"0a1d1528cb354b8deb28ab45b41fd9981a1063ca83b2d008c64bd9c194a72715"},{"path":"focused-chunks/chunk-C2GLO7HU.js.map","sha256":"f66107c65436348fbb60281bb2962dcd3225985eee88e1a9193191176e46bf29"},{"path":"focused-chunks/chunk-DRN4W3YJ.js","sha256":"7eabe2688cc642fb11ec1ed59a612cf67952ca56244c9ed1cdab1d980a43b406"},{"path":"focused-chunks/chunk-DRN4W3YJ.js.map","sha256":"55cc43f1df0c83cb8ead390bd23156dd886a5df20019102f1b097a510ac89cef"},{"path":"focused-chunks/chunk-EGN2HFRU.js","sha256":"60ca3c4b0c5584d8866c75892f5c5224db858ef11328a0d99265b2c94eb3815d"},{"path":"focused-chunks/chunk-EGN2HFRU.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"focused-chunks/chunk-F6UQJJYB.js","sha256":"6642328adfe4eeed106e1269e85699846e16405cd8f4b513d4c0cd6de491da33"},{"path":"focused-chunks/chunk-F6UQJJYB.js.map","sha256":"4ff83d0c72fd7fcfe01122078975137054e1a25f46e306237676e0d27dda3ff4"},{"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-I4X6AKOO.js","sha256":"53fd435fc477283f61d8c5c6236d33e536d996b1d82ff2a1872a24a79dbde45a"},{"path":"focused-chunks/chunk-I4X6AKOO.js.map","sha256":"237e554f344bb13eec7fe223fbda45da2a5e2ebfe08a138830df554217244be5"},{"path":"focused-chunks/chunk-IQKLJFJE.js","sha256":"038cf314b0f709a70ea3640020b1f3815a73b0ea21d639cd5b3cb15f3ca9f063"},{"path":"focused-chunks/chunk-IQKLJFJE.js.map","sha256":"3fa92136b21d14cd5cd814f99accde55c068c92ff9e8eb2bb223cc6082fe0ea4"},{"path":"focused-chunks/chunk-JTCGDODH.js","sha256":"dd8d22d485b312f0ebc4fae09879c1c3ab66ab5fe7e48c71a31c8a1c1d20ff10"},{"path":"focused-chunks/chunk-JTCGDODH.js.map","sha256":"64ddee936d43e684273d7d32a25708f938da912434f3776265c359883ce66558"},{"path":"focused-chunks/chunk-L5GX2FGZ.js","sha256":"d89d573faa72aca4d46ce2b2fa9e7b1acf2b882d1d9043715ed4b70b053b856e"},{"path":"focused-chunks/chunk-L5GX2FGZ.js.map","sha256":"b4ce6b876e4a59283af7dbf0ddb0fca809b1f58eb005ff2711d91f085ece81ff"},{"path":"focused-chunks/chunk-LPWZERVD.js","sha256":"efbc36acbe2297642b27ee437793767f117e5be8a170e7194432571d05088502"},{"path":"focused-chunks/chunk-LPWZERVD.js.map","sha256":"2db437eb23481478d7ef350c9dca70ac6538e42d4d30c734fcdf4f0d45792efe"},{"path":"focused-chunks/chunk-ML5JIUM6.js","sha256":"75452cd2eafcca706965833a3c6b37f50c87a34fd94c854d120f803f8e57d067"},{"path":"focused-chunks/chunk-ML5JIUM6.js.map","sha256":"0526cffbd8e6ff2a57811e2ffba2060c83eb84e6ad7adde876c13d93f422592d"},{"path":"focused-chunks/chunk-OASYSUOH.js","sha256":"d74e0da156161eb9102b65384cc9d435d2886a20da12baea4fdd4a5fa8dd4901"},{"path":"focused-chunks/chunk-OASYSUOH.js.map","sha256":"76085eac0cd55743a93003678e13063c62d3b0479cd82491ed2e44424acfd866"},{"path":"focused-chunks/chunk-ON5WFDCG.js","sha256":"36d4a28f390b62493ca1a0adc5acf9fd73ffe7bdacfbbd728409f2e06263137c"},{"path":"focused-chunks/chunk-ON5WFDCG.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"focused-chunks/chunk-QUPGBO2L.js","sha256":"da8cd92b41cec2a7a3f0a9ec05a7f2c7d68a530501033f5146dab47907304d60"},{"path":"focused-chunks/chunk-QUPGBO2L.js.map","sha256":"098356b5f02b8b6367ddefe181f34a9be0bb5025044cf8febad72d65df154689"},{"path":"focused-chunks/chunk-R3EA3SDW.js","sha256":"9c463a5fc674778c6e35d4292dc4bddc66fb0cfd7e29cb1eaf2594e56b0817ed"},{"path":"focused-chunks/chunk-R3EA3SDW.js.map","sha256":"f72f4b938a9be3f3bac5c7b892b80d866d55d26fef8dc6966600de84f02d2628"},{"path":"focused-chunks/chunk-SVOOGGAK.js","sha256":"cf84553a8001feee7147d6941274dc00cf8644ded0da1e4b611b542c02f6dcb5"},{"path":"focused-chunks/chunk-SVOOGGAK.js.map","sha256":"c6941ba9e7060fcb63add9bb1b246052f16f530b85845320f23076a4db57f341"},{"path":"focused-chunks/chunk-TUN4M757.js","sha256":"317095f728899a79bb60cec8ace1515f1ec51615ce3fab95a156b7551c3db518"},{"path":"focused-chunks/chunk-TUN4M757.js.map","sha256":"28917f3c4d14ec223f7c49f5abb15afcf8cd5f8339ef2fbb163231386522d0e5"},{"path":"focused-chunks/chunk-YLVHHWHN.js","sha256":"aed33cc3c5024b75a909cf5c01ac1d0161d9f56cc87c9c7638662f82a4d94626"},{"path":"focused-chunks/chunk-YLVHHWHN.js.map","sha256":"2536922ae21f29b6d28033a35d9aba3d921ee26867d733ba0a76857c97366cd9"},{"path":"focused-chunks/chunk-Z26ZPQH6.js","sha256":"af219ecd8896875d4c631de80194b15dde1fa7a82bb5c899b65f0a67e206b2bb"},{"path":"focused-chunks/chunk-Z26ZPQH6.js.map","sha256":"5354c1570bddb72fe6b58eb4dc3d117fe7a15f5d21288e4609f5b942b87d6aa5"},{"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-5H6RMRTK.js","sha256":"bca69844fead4bd3609018c0a0cc87e0266b90ba9d2e6a03af48fb4889067ab0"},{"path":"focused-chunks/indexed-receipt-blobs-5H6RMRTK.js.map","sha256":"82230162c7538ff401bdb67dd28a671f3bb6c8e0c874fb375bd3f303db03e1cc"},{"path":"focused-chunks/mutation-admission-TM3SVU2O.js","sha256":"ba36bb960052c901d58dbca09e41b1c7e7ea91a261d32f9364173e034915e582"},{"path":"focused-chunks/mutation-admission-TM3SVU2O.js.map","sha256":"3d37817bd6aa0a3c99f04b5c040d4f91ee0efc042c2fc5dad392d46db5b8fc5a"},{"path":"focused-chunks/settlement-hook-LBVWWSCF.js","sha256":"fed2011fbde0f245d7516d5ee439e569c232dcb7d5b962ff3c7e1e931341d0da"},{"path":"focused-chunks/settlement-hook-LBVWWSCF.js.map","sha256":"d49b55f7df2dff3c6287f163f6a2bb801dca8caf522412c0b328eb9f74be5c7f"},{"path":"focused-chunks/stage-7ZBRX2Q2.js","sha256":"efd192549e39050ad822d0c0a9c0ea1d87e79f65c05b6a3f2d27fde2b25f4ec7"},{"path":"focused-chunks/stage-7ZBRX2Q2.js.map","sha256":"53384e77cf51a5eaf3292f99c9375c57e284c0a07762ec49ce3c5eb59ae38f28"},{"path":"main.js","sha256":"7d95d8d654fc192a495b271b20b28352c1724172692fb13b9c116a0e302bfa65"},{"path":"main.js.map","sha256":"385e6c589c2a80fff4a10bd977120534e2a680a1a38369ff4882a2421fa01865"},{"path":"sdk-authoring.js","sha256":"413ad7bce5fd87a9f4928166c835929a36dc8cce4ddbcaba940d9fe0dbb53504"},{"path":"sdk-authoring.js.map","sha256":"b6d5ccbd2349ec776bbf56ee1c075d1254f0829c34402ba35d3af055dc7e8777"},{"path":"sdk-contracts.js","sha256":"7419ac1ab87c76430f2f427f585ef59376157ddcd3012f6c185bc28fb87e9d47"},{"path":"sdk-contracts.js.map","sha256":"f2d605e21b4753e5e09d28a27b3f1f66e74251b50b0a05d548284491314d6656"},{"path":"sdk-core.js","sha256":"dafda962c316f5bd5c622955649eeb8070b7f0f465eb421fab740ad023e0ea4f"},{"path":"sdk-core.js.map","sha256":"b19df867b7f7d6a034b776cb2c15548e9c9e0465a9facd0c13648edab1a374bc"},{"path":"sdk-governance.js","sha256":"16c529db533fed9ce058175f9bb9c9358fb6a339166be1d5bbb0fcfbb9fe9ec8"},{"path":"sdk-governance.js.map","sha256":"13ae39ee088e18fc9ee1ac0932dbc5a46ccc66ad60d6ea53601c03fa289ac3c7"},{"path":"sdk-graph.js","sha256":"676d5a3a1305cb084dffbf1e2d9196b1fcd410a9ab5c851e5a55ec92481a0dfd"},{"path":"sdk-graph.js.map","sha256":"efa166700ff746731db3675b94e7cba11af2828f29b74e91c00ca4214f4220d0"},{"path":"sdk-merge.js","sha256":"94ab30b28f5aa5bafd24fa8270590385ce569578c74241267aee829f5f9f3efc"},{"path":"sdk-merge.js.map","sha256":"e97941fade8d097f05c553e63f4dc781d9a2cd3ff04b5efebead659613eece63"},{"path":"sdk-query.js","sha256":"1c08cf8d6bddf5726901c227e902757a844170b6c6dd484f157031c2f22e57c5"},{"path":"sdk-query.js.map","sha256":"a1ba8ab9c5987801d95003041b29f209436c4dda2b098e47576207f1f0a5160f"},{"path":"sdk-runtime.js","sha256":"ebe6232031ed864190c8bad44bc1a2f3605024343003749890b79f0b68068ee6"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"96001e1acb39d53fd43b783ea6f2ce88756484652010d477419b789886219055"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"f34e86529f73d775a704a5ab7004b617e1c90d4a4058a9fb77e304e855198271"},{"path":"sdk.js.map","sha256":"079959bf334f1a52f3a4d3fad2fabb91f0e221ff4146c6e839934dfa974c036e"}]}
@@ -0,0 +1,2 @@
1
+ import{Ub as g}from"./chunk-CS7QDSUX.js";import{Cd as R,Db as C,Mf as z,Qe as V,Re as $,We as B,f as N,g as m,i as E,j as L,k,lh as G,mh as T,ud as I,vd as v,wd as D,xb as M,xd as A,yb as F,yd as _,zd as w}from"./chunk-7V37RC2L.js";import{A as b,C as y}from"./chunk-RZQNFHXO.js";import{Command as se}from"commander";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="df7f766c-1121-5712-b562-423d2cda95ce")}catch{}})();function Xe(e){return new se().name("pm").description("Universal, flexible, extensible, agent-optimized project management CLI for any project or programming language.").version(e).showHelpAfterError(!1).allowExcessArguments(!1).allowUnknownOption(!1).configureOutput({writeOut:t=>{z(t)},writeErr:()=>{}}).option("--json","Output JSON instead of TOON; mutations emit a flat receipt with top-level id/status/changed_field_count while reads use documented entity or collection envelopes").option("--lean","Omit null and empty containers from JSON output").option("--token-accounting","Attach a bounded per-section token-cost receipt to command output").option("--output-include <fields>","Retain comma-separated fields or sections in read output").option("--output-limit <count>","Bound rows in read output").option("--output-budget <tokens|unbounded>","Bound estimated tokens in read output or explicitly disable the default ceiling").option("--output-format <toon|json>","Select the result encoding for reads and mutations").option("--output-session <state>","Carry a JSON session budget and served-item ledger across read calls").option("--output-cursor <cursor>","Resume continuation_kind=output_cursor").option("--output-row-contract","Include row selectors, encoding metadata, and read-output receipts").option("--quiet","Suppress stdout output").option("--no-changed-fields","Omit the changed_fields array from mutation output (keeps changed_field_count)").option("--full-changed-fields","Restore the legacy full mutation envelope and changed_fields array").option("--id-only","Print only id and status for single-item mutation output").option("--pm-path <dir>","Explicit tracker storage path for this command (preferred over --path)").option("--path <dir>","Backward-compatible alias for --pm-path; this is the tracker storage path, not a workspace cwd").option("--no-extensions","Disable extension loading").option("--no-pager","Disable pager integration for help and long output").option("--explain","Render extended rationale and examples in help output").option("--all","Reveal every public command and compatibility alias").option("--profile","Print deterministic timing diagnostics").option("--author <id>","Override mutation author for this invocation").exitOverride()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8efedca0-725e-520f-ad06-825a0cccddaa")}catch{}})();var W=new Set(["append","claim","close","close-task","comments","copy","delete","deps","docs","files","focus","get","history","history-compact","history-redact","history-repair","learnings","notes","pause-task","release","restore","start-task","test","update"]),U=new Map([["files","discover"],["item","complete"]]),re=new Map([["append",1],["close",1],["close-task",1],["comments",1],["item complete",1],["learnings",1],["notes",1],["restore",1]]);function j(e){let t=m(e?.trim().toLowerCase()??"");return W.has(t)||U.has(t)}function ae(e,t,n){let o=W.has(n)?t+1:void 0,i=_(e.slice(t+1));if(i===void 0)return o;let r=t+1+i,a=`${n} ${e[r]}`,s=m(a);return s===a?n==="item"&&e[r]==="complete"?r+1:o:j(s)?P(e,r,s):void 0}function P(e,t,n){if(["history","context","ctx","update","close","item"].includes(n))return ae(e,t,n);let o=U.get(n);if(o===void 0)return t+1;let i=e[t+1]?.toLowerCase()===o;return t+(i?2:1)}function le(e){let t=new Map;for(let n of g(e))for(let o of[n.flag,n.short,...n.aliases??[]])o&&t.set(o,n);return t}function ce(e){let t=[];for(let n=0;n<e.length;n+=1){let o=e[n];if(o==="--")break;o==="--id"?(t.push({index:n,consumed:2,value:e[n+1]}),n+=1):o.startsWith("--id=")&&t.push({index:n,consumed:1,value:o.slice(5)})}return t}function ue(e,t,n){if(e.indexOf("=")>=0||t===void 0||t.startsWith("-"))return!1;let o=n.get(e);return o!==void 0&&o.value_type!=="boolean"}function de(e,t,n,o,i){let r=0;for(let a=t;a<e.length;a+=1){let s=e[a];if(s==="--")break;if(s==="--id"){a+=1;continue}if(!s.startsWith("--id=")){if(!s.startsWith("-")){if(a<o)return!0;r+=1;continue}ue(s,e[a+1],i)&&(a+=1)}}return r>(re.get(m(n))??0)}function q(e){let t=_(e),n=t===void 0?void 0:e[t]?.toLowerCase();if(n!=="context"&&n!=="ctx"&&!j(n))return{argv:[...e],changed:!1,conflict:!1};let o=P(e,t,n);if(o===void 0)return{argv:[...e],changed:!1,conflict:!1};let i=o>t+1?`${m(e.slice(t,o-1).join(" "))} ${e[o-1]}`:n,r=le(i),a=ce(e),s=a[0];if(!s||!s.value?.trim())return{argv:[...e],changed:!1,conflict:!1};if(a.length>1||de(e,o,i,s.index,r))return{argv:[...e],changed:!1,conflict:!0,itemId:s.value};let l=[...e.slice(0,s.index),...e.slice(s.index+s.consumed)],c=_(l),u=P(l,c,n);return l.splice(u,0,s.value),{argv:l,changed:!0,conflict:!1,itemId:s.value}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f05cec18-5e48-5151-8ada-577c9df5885d")}catch{}})();var fe=new Set(["--output-include","--output-limit","--output-budget","--output-format","--output-session","--output-cursor"]),pe=new Set(["toon","json"]);function me(e,t,n){let o=e[t];if(v.has(o))return n.booleanFlags.add(o),1;let i=o.indexOf("="),r=i>0?o.slice(0,i):o;if(!I.has(r))return 1;let a=i>0?o.slice(i+1):void 0,s=a===void 0&&A(r,e[t+1]),l=a??(s?e[t+1]:void 0);return r==="--author"?n.author=l??"":typeof l=="string"&&l.length>0&&(fe.has(r)?n.outputValues:n.pathValues).set(r,l),s?2:1}function he(e){let t={booleanFlags:new Set,outputValues:new Map,pathValues:new Map},n=0;for(;n<e.length&&e[n]!=="--";)n+=me(e,n,t);return{path:t.pathValues.get("--pm-path")??t.pathValues.get("--path"),noExtensions:t.booleanFlags.has("--no-extensions")||["history attest","history-attest"].includes(J(e)??""),noPager:t.booleanFlags.has("--no-pager"),json:t.booleanFlags.has("--json")?t.outputValues.get("--output-format")!=="toon":t.outputValues.get("--output-format")==="json",quiet:t.booleanFlags.has("--quiet"),lean:t.booleanFlags.has("--lean"),tokenAccounting:t.booleanFlags.has("--token-accounting"),...t.booleanFlags.has("--output-row-contract")?{outputRowContract:!0}:{},...t.outputValues.get("--output-include")===void 0?{}:{outputInclude:t.outputValues.get("--output-include")},...t.outputValues.get("--output-limit")===void 0?{}:{outputLimit:t.outputValues.get("--output-limit")},...t.outputValues.get("--output-budget")===void 0?{}:{outputBudget:t.outputValues.get("--output-budget")},...pe.has(t.outputValues.get("--output-format"))?{outputFormat:t.outputValues.get("--output-format")}:{},...t.outputValues.get("--output-session")===void 0?{}:{outputSession:t.outputValues.get("--output-session")},...t.outputValues.get("--output-cursor")===void 0?{}:{outputCursor:t.outputValues.get("--output-cursor")},...t.author===""?{authorMissingValue:!0}:t.author!==void 0?{author:t.author}:{}}}function X(e){let t=[],n=0;for(;n<e.length;){let o=e[n];if(o==="--")break;if(v.has(o)||o==="--profile"||o==="--id-only"||o==="--full-changed-fields"||o==="--explain"){n+=1;continue}if(I.has(o)){n+=A(o,e[n+1])?2:1;continue}if(D(o)){n+=1;continue}t.push(o),n+=1}return t}function ge(e){let t=X(e);if(t[0]?.trim().toLowerCase()==="help"){let o=[];for(let i=1;i<t.length;i+=1){let r=t[i];if(r.startsWith("-"))break;o.push(r.trim().toLowerCase())}return{requested:!0,commandPathTokens:o}}if(t.findIndex(o=>o==="--help"||o==="-h")<0)return{requested:!1,commandPathTokens:[]};let n=[];for(let o of t){if(o.startsWith("-"))break;n.push(o.trim().toLowerCase())}return{requested:!0,commandPathTokens:n}}function S(e){return _(e)}function be(e){return w(e)}function ye(e,t){return t.noPager?!0:process.stdout.isTTY===!0?!1:ge(e).requested}function ut(e){let t=["PAGER","MANPAGER","GIT_PAGER","LESS"],n=t.map(r=>process.env[r]),o=()=>{for(let[r,a]of t.entries()){let s=n[r];s===void 0?delete process.env[a]:process.env[a]=s}},i=he(e);return ye(e,i)&&(process.env.PAGER="cat",process.env.MANPAGER="cat",process.env.GIT_PAGER="cat",(typeof process.env.LESS!="string"||process.env.LESS.trim().length===0)&&(process.env.LESS="FRX")),o}var _e=new Set(["install","uninstall","explore","manage","doctor","adopt","adopt-all","activate","deactivate"]);function Ie(e){let t=S(e);if(t===void 0||e[t]!=="extension")return[...e];let n=e[t+1];if(!n||n.startsWith("-"))return[...e];if(!_e.has(n))return[...e];if(e.includes("--help")||e.includes("-h"))return[...e];let o=`--${n}`;return e.includes(o)?[...e]:[...e.slice(0,t+1),o,...e.slice(t+2)]}var we=new Set(["pm","pm-cli"]);function ke(e,t){let n=S(e);if(n===void 0)return e;let o=e[n];return we.has(o.trim().toLowerCase())?(t.push({from:o,to:[],reason:"executable_alias",confidence:"high"}),[...e.slice(0,n),...e.slice(n+1)]):e}function Ce(e,t){let n=S(e);if(n!==void 0&&e[n]==="help"){let s=S(e.slice(n+1));n=s===void 0?void 0:n+1+s}if(n===void 0)return e;let o=e[n],i=L[o.trim().toLowerCase()];if(!i)return e;let r=i.split(" "),a=[...e.slice(0,n),...r,...e.slice(n+1)];return t.push({from:o,to:r,reason:"command_alias",confidence:"high"}),a}function x(e){return e.replace(/^--?/,"").replace(/_/g,"-").replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function K(e){return x(e).replace(/-/g,"")}function Y(e,t,n){let o=e.get(t);if(o===void 0){e.set(t,n);return}o!==n&&e.set(t,null)}function ve(e){let t=[],n=o=>{typeof o=="string"&&o.startsWith("--")&&t.push(o)};n(e.flag);for(let o of e.aliases??[])n(o);return t}function Te(e,t){let n=t??g(e),o=new Map,i=new Map,r=new Map,a=new Set;for(let s of n){let l=ve(s);if(l.length===0)continue;let c=`--${x(l[0])}`;for(let d of l)Y(o,x(d),c),Y(i,K(d),c);let u=K(c);r.has(c)||r.set(c,u),s.list===!0&&a.add(c)}return{canonicalByNormalized:o,canonicalByCompact:i,canonicalComparables:[...r.entries()].map(([s,l])=>({canonicalFlag:s,comparable:l})),listCanonicalFlags:a}}function Z(e,t){let n=x(e),o=t.canonicalByNormalized.get(n);if(typeof o=="string")return{flag:o,reason:"flag_alias",confidence:"high"};let i=n.replace(/-/g,""),r=t.canonicalByCompact.get(i);if(typeof r=="string")return{flag:r,reason:"flag_alias",confidence:"high"};let a=i.length>=8?2:1,s=Number.POSITIVE_INFINITY,l,c=!1;for(let u of t.canonicalComparables){let d=C(i,u.comparable,a);if(d!==null){if(d<s){s=d,l=u.canonicalFlag,c=!1;continue}d===s&&l!==u.canonicalFlag&&(c=!0)}}return!l||c||!Number.isFinite(s)||s<=0?null:{flag:l,reason:"flag_typo",confidence:s>=2?"medium":"high"}}function dt(e){let t=[`${e}s`];return e.endsWith("y")&&e.length>1&&t.push(`${e.slice(0,-1)}ies`),t}function Se(e,t=!1){if(t||e.includes("://"))return null;let n=e.match(/^([A-Za-z][A-Za-z0-9_-]{1,63})([:=])(.*)$/);if(!n)return null;let o=n[1],i=n[3];return i.length===0?null:{key:o,value:i}}function xe(e,t,n=!1){if(n||!e.startsWith("--"))return{tokens:[e]};let o=e.indexOf("="),i=o>=0?e.slice(0,o):e,r=o>=0?e.slice(o+1):void 0,a=Z(i,t);if(!a)return{tokens:[e]};let s=r===void 0?a.flag:`${a.flag}=${r}`;return s===e?{tokens:[e]}:{tokens:[s],event:{from:e,to:[s],reason:a.reason,confidence:a.confidence}}}function Oe(e){let t=new Set,n=!1;for(let o=0;o<e.length;o+=1){if(n){t.add(o),n=!1;continue}let i=e[o];n=i==="--path"||i==="--pm-path"}return t}function Ee(e){if(!e.startsWith("--"))return null;let t=e.indexOf("=");return t<0?{flag:e}:{flag:e.slice(0,t),inlineValue:e.slice(t+1)}}function Ae(e,t,n){n.push(e[t]);let o=e[t+1];return typeof o=="string"&&o!=="--"?(n.push(o),t+2):t+1}function Pe(e,t,n,o){if(n.inlineValue!==void 0)return{originalTokens:[e[t]],value:n.inlineValue,consumed:1};let i=[],r=t+1;for(;r<e.length&&e[r]!=="--"&&!e[r].startsWith("-")&&(i.length===0||o.has(n.flag));)i.push(e[r]),r+=1;let a=i.length===0?1:1+i.length;return{originalTokens:e.slice(t,t+a),value:i.length===0?void 0:i.join(","),consumed:a}}function Ne(e,t,n,o){let i=e.get(n);if(i){i.values.push(o.value),i.occurrences+=1;return}e.set(n,{outputIndex:t.length,originalTokens:o.originalTokens,values:[o.value],occurrences:1}),t.push(null)}function Le(e,t){let n=[],o=[];for(let[i,r]of e){if(!(r.occurrences>=2||t.has(i)&&r.originalTokens.length>2)){o.push({outputIndex:r.outputIndex,tokens:r.originalTokens});continue}let a=`${i}=${r.values.join(",")}`;o.push({outputIndex:r.outputIndex,tokens:[a]}),n.push({from:`${i} (x${r.occurrences})`,to:[a],reason:"list_merge",confidence:"high"})}return{events:n,splices:o}}function Me(e,t){t.sort((n,o)=>o.outputIndex-n.outputIndex);for(let n of t)e.splice(n.outputIndex,1,...n.tokens)}function Fe(e,t,n=new Set,o=new Set){if(t.size===0)return{argv:[...e],events:[]};let i=[],r=new Map,a=0;for(;a<e.length;){let c=e[a];if(c==="--"){i.push(...e.slice(a));break}if(n.has(c)){a=Ae(e,a,i);continue}let u=Ee(c);if(!u||!t.has(u.flag)){i.push(c),a+=1;continue}let d=Pe(e,a,u,o);if(d.value===void 0){i.push(c),a+=d.consumed;continue}Ne(r,i,u.flag,{originalTokens:d.originalTokens,value:d.value}),a+=d.consumed}let{events:s,splices:l}=Le(r,o);return Me(i,l),{argv:i,events:s}}var H=new Map([["--add",new Set(["command","cmd","path"])],["--remove",new Set(["command","path"])]]);function De(e,t){if(e!=="test"||t.length<2)return!1;let n=t[t.length-1],o=t[t.length-2],i=H.get(o);return i!==void 0&&i.has(n)}function Re(e,t,n){if(t!=="test")return e;let o=[],i=0;for(;i<e.length;){let r=e[i];if(r==="--")return o.push(...e.slice(i)),o;let a=H.get(r),s=a?e[i+1]:void 0;if(!a||typeof s!="string"||!a.has(s)){o.push(r),i+=1;continue}let l=i+2;for(;l<e.length&&!e[l].startsWith("-");)l+=1;if(l-(i+2)!==1){o.push(r),i+=1;continue}let c=e[i+2],u=`${s}=${c}`;o.push(r,u),n.push({from:`${r} ${s} ${c}`,to:[r,u],reason:"bare_key_value",confidence:"high"}),i+=3}return o}function Ve(e,t,n,o){let i=[],r=Oe(e);for(let a=0;a<e.length;a+=1){let s=e[a];if(s==="--"){i.push(...e.slice(a));break}let l=r.has(a),c=i[i.length-1];if(s.startsWith("--")){let h=xe(s,t,l);i.push(...h.tokens),h.event&&o.push(h.event);continue}let u=Se(s,l);if(!u||typeof c=="string"&&c.startsWith("-")&&!c.includes("=")||["search","comments","notes","learnings"].includes(n)||De(n,i)){i.push(s);continue}let d=Z(u.key,t);if(!d){i.push(s);continue}let p=u.value.startsWith("-")?[`${d.flag}=${u.value}`]:[d.flag,u.value];i.push(...p),o.push({from:s,to:p,reason:"bare_key_value",confidence:d.confidence})}return i}function $e(e){for(let t=0;t<e.length;t+=1){let n=e[t];if(n==="--")break;if(n==="--verify"){let o=e[t+1];if(o===void 0||o==="--")throw new y("history attest --verify requires a bundle file.",b.USAGE);e.splice(t,2,`--verify=${o}`)}else(I.has(n)||n==="--output"||n==="--hash-algorithm")&&(t+=1)}}function Be(e,t){if(!e.some(o=>o==="--help"||o==="-h"))return;let n=new Set(g(t).flatMap(o=>[o.flag,...o.aliases??[],...o.short===void 0?[]:[o.short]]));for(let o=0;o<e.length;o+=1){let i=e[o];if(i==="--")break;i!=="--help"&&i!=="-h"||n.has(e[o-1])&&!v.has(e[o-1])&&(e[o-1]=i)}}function ft(e){let t=[],n=ke(e,t),o=Ie(n);(o.length!==n.length||o.some((h,ie)=>h!==n[ie]))&&t.push({from:n.join(" "),to:[...o],reason:"legacy_extension_action",confidence:"high"});let i=Ce(o,t),r=q(i);if(r.conflict)throw new y("Provide the item id either positionally or with --id, not both.",b.USAGE);r.changed&&t.push({from:`--id ${r.itemId}`,to:[r.itemId],reason:"item_id_alias",confidence:"high"});let a=be(r.argv),s=J(r.argv),l=m(s??a??""),c=Te(s??a),u=Ve(r.argv,c,l,t),d=Re(u,l,t),p=Fe(d,c.listCanonicalFlags,I,a==="create"?new Set(["--tags"]):new Set);for(let h of p.events)t.push(h);return Be(p.argv,s??a),s==="history attest"&&$e(p.argv),{argv:p.argv,commandName:a,trace:t}}function J(e){let t=X(e),n=t[0]?.trim().toLowerCase(),o=t[1]?.trim().toLowerCase(),i=N(t);return i?i.canonical:(n==="extension"||n==="package"||n==="packages")&&typeof o=="string"&&o.length>0&&!o.startsWith("-")?`${n} ${o}`:n}function pt(e){for(let t=0;t<e.length;t+=1){let n=e[t];if(n==="--")break;if(n==="--type"){let o=e[t+1];if(typeof o=="string"&&o.trim().length>0)return o.trim();continue}if(n.startsWith("--type=")){let o=n.slice(7).trim();if(o.length>0)return o}}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fb625cd9-f8a8-56cf-88ab-abef64051497")}catch{}})();function yt(e){if(e===void 0)return()=>{};let t=e.trim();if(t.length===0)throw new y("--author requires a non-empty value.",b.USAGE,{code:"missing_required_argument",nextSteps:["Pass an explicit author identifier with --author <id>."]});let n=G();T(t);let o=!1;return()=>{o||(o=!0,n===void 0?T(void 0):T(n))}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d0e60f7e-e0a8-5ef4-9af7-4a1f102ccb7d")}catch{}})();var f=Object.freeze({clock:"PM_CLOCK",tickMs:"PM_CLOCK_TICK_MS",seed:"PM_SEED"});function O(e,t,n,o){return new y(e,b.USAGE,{code:"invalid_reproducible_process_environment",reason:t,field:n,required:`${f.clock} and ${f.seed}; ${f.tickMs} is optional`,nextSteps:[`Set ${f.clock} to an ISO-8601 instant with Z or a numeric UTC offset and ${f.seed} to a non-empty reproducibility seed.`,`Optionally set ${f.tickMs} to a non-negative integer; it defaults to 1.`,"Unset all three variables to retain normal wall-clock and cryptographic-random behavior."],recovery:{recovery_mode:"compact",provided_fields:o,missing_required_fields:t==="incomplete"?[f.clock,f.seed].filter(i=>!o.includes(i)):void 0}})}function ze(e){let t=e[f.clock],n=e[f.tickMs],o=e[f.seed],i=[[f.clock,t],[f.tickMs,n],[f.seed,o]].filter(a=>a[1]!==void 0).map(([a])=>a);if(i.length===0)return;if(t===void 0||o===void 0)throw O("Reproducible process execution requires PM_CLOCK and PM_SEED together.","incomplete",t===void 0?f.clock:f.seed,i);if(o.trim().length===0)throw O(`${f.seed} must not be empty.`,"invalid_value",f.seed,i);if(!B(t))throw O(`${f.clock} must be a valid ISO-8601 instant with Z or a numeric UTC offset.`,"invalid_value",f.clock,i);let r=n===void 0?1:Number(n);if(n?.trim().length===0||!Number.isSafeInteger(r)||r<0)throw O(`${f.tickMs} must be a non-negative integer.`,"invalid_value",f.tickMs,i);return V({clock:t,seed:o,tickMs:r})}function Ge(e){let t=ze(e);return t===void 0?n=>n():$(t)}async function vt(e,t){return Ge(e)(t)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7eec77b5-0b24-5f0f-967c-a75907f4cd66")}catch{}})();var Q=new Set([...Object.values(M),...F,"--full","--brief","--compact","--summary","--fields","--section","--token-budget"]),ee=new Set(["--full-changed-fields","--no-changed-fields","--id-only"]);function Lt(e,t){if(!["block","unblock"].includes(e)||t.includes(e)||!t.includes("update"))return;let n=new Set(g("update").map(o=>o.flag));if((e==="block"?["--blocked-by","--blocked-reason"]:["--unset","--unblock-note"]).every(o=>n.has(o)))return e==="block"?{examples:[["update","<item-id>","--blocked-by","<blocker-id>","--blocked-reason","<reason>"]],nextSteps:["Choose the actual item and blocker identifiers before running update. --blocked-by records the blocker field and its blocked_by relationship."]}:{examples:[["update","<item-id>","--unset","blocked-by","--unset","blocked-reason","--unblock-note","<note>"]],nextSteps:["Inspect the item's blockers before running update. --unset blocked-by removes the blocker field and all blocked_by relationships; --unset blocked-reason clears the stale reason. --unblock-note alone records a note and does not unblock the item.","If your project also uses a blocked lifecycle status, choose its appropriate next status separately with update --status."]}}function We(e,t){let n=e.includes("="),o=n?e.slice(e.indexOf("=")+1):t;if(!(!o||o.startsWith("--")))return{consumed:n?1:2,replacement:["--from",o],conflicts:["--from"]}}function Ue(e,t,n,o){if(t==="--since"&&e==="activity")return We(n,o);if(t==="--full"&&e==="context"&&n===t)return{consumed:1,replacement:["--depth","full"],conflicts:["--depth","--output-include","--fields","--section","--for"]};if(t==="--depth"&&["list","search"].includes(e)){let i=n.includes("=");return(i?n.slice(n.indexOf("=")+1):o)!=="full"?void 0:{consumed:i?1:2,replacement:["--full"],conflicts:["--full","--brief","--compact","--output-include","--fields","--for"]}}return t==="--toon"&&n===t?{consumed:1,replacement:["--output-format","toon"],conflicts:["--json","--format","--output-format","--stream"]}:void 0}function Mt(e,t,n){let o=e==="ctx"?"context":m(e);if(!["context","list","search","get","activity"].includes(o)||t.includes("--"))return;let i=w(t);if((i==="ctx"?"context":i)!==o)return;let r=n.split("=",1)[0],a=t.flatMap((p,h)=>p===r||p.startsWith(`${r}=`)?[h]:[]);if(a.length!==1)return;let s=a[0],l=Ue(o,r,t[s],t[s+1]);if(!l)return;let{replacement:c,consumed:u,conflicts:d}=l;if(!t.some(p=>d.includes(p.split("=",1)[0])))return[...t.slice(0,s),...c,...t.slice(s+u)]}function te(e){let t=e.split("=",1)[0].replaceAll("_","-");return Q.has(t)||t.length>=5&&[...Q].some(n=>n.startsWith(t))}function Ft(e,t){let n=e.split("=",1)[0].replaceAll("_","-");return te(n)?!ee.has(t):ee.has(n)?!te(t):!0}function ne(e){return e.trim().match(/--[a-z0-9][a-z0-9_-]*/i)?.[0]?.replaceAll("_","-").toLowerCase()}function Dt(e){if(!(!Array.isArray(e)||e.length===0))return w(e)}function je(e,t){let n=ne(t);if(!n)return;let o=g(e).find(i=>i.flag===n||i.aliases?.includes(n));return o?o.value_type==="boolean"?null:`<${o.value_name??"value"}>`:"<value>"}function Rt(e,t,n){let o=[...e],i=o.indexOf("--"),r=i<0?o.length:i;for(let a of n){let s=ne(a);if(!s||o.slice(0,r).some(u=>u===s||u.startsWith(`${s}=`)))continue;let l=je(t,s),c=l?[s,l]:[s];o.splice(r,0,...c),r+=c.length}return o.length===e.length?void 0:R(o)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bd9a8d3b-bc6f-5309-a3fb-7e5f41ef9dab")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="12066389-daef-5fce-b7a6-0ecffa926d66")}catch{}})();function Ut(e,t){let n=e.trim().split(/\s+/u);if(!(n.length<2||t.includes(n.join(" "))))for(let o=1;o<n.length;o+=1){if(!t.includes(n.slice(0,o).join(" ")))return;let i=n.slice(o).join(" "),r=k(i),a=new Set(t.filter(s=>s===i||s.endsWith(` ${i}`)||s===r?.canonical).map(s=>k(s)?.canonical??s).filter(s=>t.includes(s)));if(a.size>0)return a.size===1?[...a][0]:void 0}}var qe={add:["create","append"],fetch:["get"],inspect:["get","health"],log:["history","comments","notes"],ls:["list"],pause:["release"],read:["get"],remove:["delete"],rm:["delete"],show:["get"],start:["start-task"]};function oe(e,t){let n=e.trim().toLowerCase(),o=t.trim().toLowerCase();if(o.length===0)return Number.POSITIVE_INFINITY;let i=n.split(" "),r=qe[o]?.indexOf(m(n));if(r!==void 0&&r>=0)return r;if(n===o)return 10;if(i.includes(o))return 11;if(i.some(l=>l.startsWith(o)))return 12;let a=o.length>=5?2:1,s=Number.POSITIVE_INFINITY;for(let l of i){let c=C(l,o,a);c!==null&&(s=Math.min(s,c))}return Number.isFinite(s)?20+s:n.includes(o)?30:Number.POSITIVE_INFINITY}function jt(e,t){return e.map(n=>({path:n,score:oe(n,t)})).filter(n=>Number.isFinite(n.score)).sort((n,o)=>n.score!==o.score?n.score-o.score:n.path===o.path?0:n.path<o.path?-1:1).map(n=>n.path)}function qt(e,t,n){let o=new Set(t),i=E.filter(s=>s.lifecycle==="deprecated").slice().sort((s,l)=>l.alias.length-s.alias.length),r=[],a=e.flatMap(s=>{let l=i.find(u=>s===u.alias||s.startsWith(`${u.alias} `)),c=s;if(l){let u=s.slice(l.alias.length);if(!o.has(`${l.canonical}${u}`))return[];c=`${l.canonical_argv.join(" ")}${u}`}return n!==void 0&&oe(s,n)<10&&r.push(c),[c]});return[...new Set(r.length>0?r:a)]}export{Xe as a,j as b,q as c,he as d,X as e,ge as f,S as g,be as h,ut as i,Ie as j,dt as k,Fe as l,Re as m,ft as n,pt as o,yt as p,f as q,ze as r,Ge as s,vt as t,Lt as u,Mt as v,te as w,Ft as x,Dt as y,je as z,Rt as A,Ut as B,oe as C,jt as D,qt as E};
2
+ //# sourceMappingURL=chunk-2J7I54MQ.js.map
@@ -1,2 +1,2 @@
1
- import{A as o,C as r}from"./chunk-ONC4BBQP.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="be9abae1-85ae-5a68-96bc-c738218ace5e")}catch{}})();function u(n){return n instanceof r||n instanceof Error?n.message:"Unknown failure"}function d(n){if(typeof n!="object"||n===null||!("exitCode"in n))return;let e=n.exitCode;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function f(n){let e=Math.trunc(n);return e>o.SUCCESS?e:o.GENERIC_FAILURE}function s(n){return typeof n=="object"&&n!==null&&"code"in n&&typeof n.code=="string"&&n.code.startsWith("commander.")}function l(n,e){if(n instanceof Error)return n;let t=new Error(e),i=d(n);return i!==void 0&&(t.exitCode=f(i)),t}export{u as a,d as b,f as c,s as d,l as e};
2
- //# sourceMappingURL=chunk-25MTQAHX.js.map
1
+ import{A as o,C as r}from"./chunk-RZQNFHXO.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="be9abae1-85ae-5a68-96bc-c738218ace5e")}catch{}})();function u(n){return n instanceof r||n instanceof Error?n.message:"Unknown failure"}function d(n){if(typeof n!="object"||n===null||!("exitCode"in n))return;let e=n.exitCode;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function f(n){let e=Math.trunc(n);return e>o.SUCCESS?e:o.GENERIC_FAILURE}function s(n){return typeof n=="object"&&n!==null&&"code"in n&&typeof n.code=="string"&&n.code.startsWith("commander.")}function l(n,e){if(n instanceof Error)return n;let t=new Error(e),i=d(n);return i!==void 0&&(t.exitCode=f(i)),t}export{u as a,d as b,f as c,s as d,l as e};
2
+ //# sourceMappingURL=chunk-3KMYHYJV.js.map