@unbrained/pm-cli 2026.11.6 → 2026.11.7

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 (343) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +13 -0
  3. package/dist/cli/expected-revisions.js +1 -1
  4. package/dist/cli/main.js +1 -1
  5. package/dist/cli/runtime/close-fields-retry.js +2 -0
  6. package/dist/cli-bundle/bundle-manifest.json +1 -1
  7. package/dist/cli-bundle/chunks/chunk-3DI6CEF3.js +3 -0
  8. package/dist/cli-bundle/chunks/{chunk-6VRX2CM7.js → chunk-4PPWVIIT.js} +2 -2
  9. package/dist/cli-bundle/chunks/{chunk-7ZRCYESH.js → chunk-5KHLV7JU.js} +47 -47
  10. package/dist/cli-bundle/chunks/{chunk-X3URBPMV.js → chunk-BQ5O3CBF.js} +51 -51
  11. package/dist/cli-bundle/chunks/{chunk-WC4M2H6R.js → chunk-COKKWMSC.js} +2 -2
  12. package/dist/cli-bundle/chunks/chunk-D53G3NOE.js +6 -0
  13. package/dist/cli-bundle/chunks/{chunk-LS3GI3H4.js → chunk-ETHAZC3F.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-F3B2ULHB.js +122 -0
  15. package/dist/cli-bundle/chunks/chunk-JZWFZH2K.js +2 -0
  16. package/dist/cli-bundle/chunks/{chunk-335BZ75D.js → chunk-KPAVZILX.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-OH6WQ7VT.js → chunk-MQOZNGPS.js} +2 -2
  18. package/dist/cli-bundle/chunks/chunk-O6TIOKCM.js +9 -0
  19. package/dist/cli-bundle/chunks/{chunk-PE3ASURT.js → chunk-OIBSKKCO.js} +2 -2
  20. package/dist/cli-bundle/chunks/{chunk-HRFGFIYU.js → chunk-OJZG7Y6S.js} +2 -2
  21. package/dist/cli-bundle/chunks/{chunk-SLC5UWCM.js → chunk-QG6FLDM4.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-D7KYPRK4.js → chunk-RFI4O6NU.js} +2 -2
  23. package/dist/cli-bundle/chunks/{chunk-TSQCUBUX.js → chunk-TGQPCNAD.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-DAX3AOFI.js → chunk-VM6OGNQC.js} +2 -2
  25. package/dist/cli-bundle/chunks/{chunk-S4LPZ4TN.js → chunk-WS2N4TQW.js} +7 -7
  26. package/dist/cli-bundle/chunks/{chunk-UEGXWXUZ.js → chunk-WXVMPLBY.js} +2 -2
  27. package/dist/cli-bundle/chunks/{chunk-QNWUIPBO.js → chunk-WYIDX67P.js} +30 -30
  28. package/dist/cli-bundle/chunks/{chunk-7DEKAXVA.js → chunk-XSEDESNW.js} +2 -2
  29. package/dist/cli-bundle/chunks/item-revision-SPEKTFBB.js +2 -0
  30. package/dist/cli-bundle/chunks/item-transaction-BT55TQXE.js +2 -0
  31. package/dist/cli-bundle/chunks/{mutation-admission-INMM3HHG.js → mutation-admission-LUXUKISJ.js} +2 -2
  32. package/dist/cli-bundle/chunks/{register-list-query-5Y5JKWU5.js → register-list-query-DU4W7VJU.js} +3 -3
  33. package/dist/cli-bundle/chunks/{register-mutation-MDSUU3G7.js → register-mutation-IC2C53QK.js} +2 -2
  34. package/dist/cli-bundle/chunks/{register-operations-WJHZJFK2.js → register-operations-AHDWE2G3.js} +2 -2
  35. package/dist/cli-bundle/chunks/{register-setup-RRFOS7IT.js → register-setup-7BGG3CI3.js} +2 -2
  36. package/dist/cli-bundle/chunks/{stage-E3MMV4TV.js → stage-S5BYWLGY.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/{chunk-CPMSL4HS.js → chunk-4EXRRSDS.js} +2 -2
  38. package/dist/cli-bundle/focused-chunks/chunk-4LDOL6U7.js +26 -0
  39. package/dist/cli-bundle/focused-chunks/chunk-A46YSPRF.js +2 -0
  40. package/dist/cli-bundle/focused-chunks/{chunk-RFTJZ5VB.js → chunk-AI2PYNFI.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/chunk-AJ2I377F.js +44 -0
  42. package/dist/cli-bundle/focused-chunks/{chunk-WSOAASCY.js → chunk-BIDF4KO7.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/{chunk-VWWTIX5L.js → chunk-CWFNQQZE.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-D3U7FOZR.js +2 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-F62XGAAY.js → chunk-G2VIY6XA.js} +2 -2
  46. package/dist/cli-bundle/focused-chunks/{chunk-MG7C3JUY.js → chunk-GFF6BITP.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/{chunk-LW64TINU.js → chunk-IIBWXNW3.js} +2 -2
  48. package/dist/cli-bundle/focused-chunks/{chunk-AHWJPZSJ.js → chunk-IYJRFJHT.js} +2 -2
  49. package/dist/cli-bundle/focused-chunks/{chunk-D2TBEBNW.js → chunk-J5N42SKC.js} +2 -2
  50. package/dist/cli-bundle/focused-chunks/{chunk-MC7IE7D7.js → chunk-JRJOFMI7.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/{chunk-CZM75DE3.js → chunk-KL33JMPC.js} +2 -2
  52. package/dist/cli-bundle/focused-chunks/{chunk-E56OXRYH.js → chunk-LH4C7BLB.js} +2 -2
  53. package/dist/cli-bundle/focused-chunks/{chunk-YMGB2O4E.js → chunk-LTQEYE2L.js} +2 -2
  54. package/dist/cli-bundle/focused-chunks/chunk-LTTMERPN.js +12 -0
  55. package/dist/cli-bundle/focused-chunks/{chunk-7KK66ISG.js → chunk-LW4TN5ZM.js} +2 -2
  56. package/dist/cli-bundle/focused-chunks/{chunk-XHOBYCVE.js → chunk-MESFDQ3H.js} +2 -2
  57. package/dist/cli-bundle/focused-chunks/{chunk-G4QP365K.js → chunk-MWTBAI3V.js} +2 -2
  58. package/dist/cli-bundle/focused-chunks/chunk-TWULNB3N.js +2 -0
  59. package/dist/cli-bundle/focused-chunks/{chunk-C6P6HPCX.js → chunk-XAC6NP7U.js} +2 -2
  60. package/dist/cli-bundle/focused-chunks/{chunk-GS3JC5UU.js → chunk-XG3TBYQK.js} +2 -2
  61. package/dist/cli-bundle/focused-chunks/chunk-XMZAFKVP.js +91 -0
  62. package/dist/cli-bundle/focused-chunks/item-revision-ELI6NGMY.js +2 -0
  63. package/dist/cli-bundle/focused-chunks/{item-transaction-H2XACBOP.js → item-transaction-GUGAUY77.js} +2 -2
  64. package/dist/cli-bundle/focused-chunks/{mutation-admission-4WM7TNHZ.js → mutation-admission-54FI37AA.js} +2 -2
  65. package/dist/cli-bundle/focused-chunks/{stage-WV7QXR4C.js → stage-OHDJ43T2.js} +2 -2
  66. package/dist/cli-bundle/main.js +31 -31
  67. package/dist/cli-bundle/sdk-authoring.js +1 -1
  68. package/dist/cli-bundle/sdk-contracts.js +1 -1
  69. package/dist/cli-bundle/sdk-core.js +1 -1
  70. package/dist/cli-bundle/sdk-governance.js +1 -1
  71. package/dist/cli-bundle/sdk-graph.js +1 -1
  72. package/dist/cli-bundle/sdk-merge.js +57 -57
  73. package/dist/cli-bundle/sdk-query.js +1 -1
  74. package/dist/cli-bundle/sdk-runtime.js +1 -1
  75. package/dist/cli-bundle/sdk-testing.js +1 -1
  76. package/dist/cli-bundle/sdk.js +2 -2
  77. package/dist/core/store/item-mutation-precondition.d.ts +58 -0
  78. package/dist/core/store/item-mutation-precondition.js +1 -1
  79. package/dist/sdk/command-line.d.ts +5 -1
  80. package/dist/sdk/command-line.js +1 -1
  81. package/dist/sdk/lifecycle/close.js +1 -1
  82. package/dist/sdk/lifecycle/item-revision.d.ts +15 -4
  83. package/dist/sdk/lifecycle/item-revision.js +1 -1
  84. package/dist/sdk/output/list-envelope.d.ts +18 -7
  85. package/dist/sdk/output/list-envelope.js +1 -1
  86. package/dist/sdk/output-projection.js +1 -1
  87. package/dist/sdk/public-surface.json +1 -1
  88. package/dist/sdk/query/get.d.ts +16 -6
  89. package/dist/sdk/query/get.js +1 -1
  90. package/dist/sdk/query/search/response.js +1 -1
  91. package/dist/sdk/runtime.js +1 -1
  92. package/docs/CLOSE_EVIDENCE_RECOVERY.md +36 -2
  93. package/docs/COMMANDS.md +10 -1
  94. package/docs/GET_READ_EVIDENCE.md +24 -3
  95. package/docs/RELEASING.md +17 -0
  96. package/docs/SDK.md +24 -7
  97. package/marketplace.json +1 -1
  98. package/package.json +1 -1
  99. package/packages/pm-beads/package.json +1 -1
  100. package/packages/pm-calendar/package.json +1 -1
  101. package/packages/pm-command-kit/package.json +1 -1
  102. package/packages/pm-digital-twin/package.json +1 -1
  103. package/packages/pm-governance-audit/package.json +1 -1
  104. package/packages/pm-guide-shell/package.json +1 -1
  105. package/packages/pm-kanban/package.json +1 -1
  106. package/packages/pm-lifecycle-hooks/package.json +1 -1
  107. package/packages/pm-linked-test-adapters/package.json +1 -1
  108. package/packages/pm-search-advanced/package.json +1 -1
  109. package/packages/pm-templates/package.json +1 -1
  110. package/packages/pm-todos/package.json +1 -1
  111. package/packages/pm-vcs/package.json +1 -1
  112. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  113. package/plugins/pm-claude/package.json +1 -1
  114. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  115. package/plugins/pm-codex/package.json +1 -1
  116. package/plugins/pm-codex/plugin.json +1 -1
  117. package/runtime-dependencies.json +1 -1
  118. package/dist/cli/after-command-context-usage.d.ts +0 -21
  119. package/dist/cli/argv-utils.d.ts +0 -12
  120. package/dist/cli/bootstrap-args.d.ts +0 -6
  121. package/dist/cli/bundle-integrity.d.ts +0 -49
  122. package/dist/cli/command-namespaces.d.ts +0 -9
  123. package/dist/cli/commander-usage.d.ts +0 -73
  124. package/dist/cli/commands/annotations/comments.d.ts +0 -2
  125. package/dist/cli/commands/annotations/docs.d.ts +0 -6
  126. package/dist/cli/commands/annotations/files.d.ts +0 -6
  127. package/dist/cli/commands/annotations/learnings.d.ts +0 -2
  128. package/dist/cli/commands/annotations/notes.d.ts +0 -2
  129. package/dist/cli/commands/extension/describe.d.ts +0 -2
  130. package/dist/cli/commands/extension/extension.d.ts +0 -6
  131. package/dist/cli/commands/extension/scaffold.d.ts +0 -2
  132. package/dist/cli/commands/extension/shared.d.ts +0 -2
  133. package/dist/cli/commands/governance/gc.d.ts +0 -6
  134. package/dist/cli/commands/governance/health.d.ts +0 -6
  135. package/dist/cli/commands/governance/telemetry.d.ts +0 -6
  136. package/dist/cli/commands/governance/validate.d.ts +0 -9
  137. package/dist/cli/commands/history/activity.d.ts +0 -6
  138. package/dist/cli/commands/history/history-compact.d.ts +0 -7
  139. package/dist/cli/commands/history/history-redact.d.ts +0 -8
  140. package/dist/cli/commands/history/history-repair.d.ts +0 -7
  141. package/dist/cli/commands/history/history.d.ts +0 -2
  142. package/dist/cli/commands/history/restore.d.ts +0 -6
  143. package/dist/cli/commands/lifecycle/append.d.ts +0 -6
  144. package/dist/cli/commands/lifecycle/claim.d.ts +0 -2
  145. package/dist/cli/commands/lifecycle/close-many.d.ts +0 -2
  146. package/dist/cli/commands/lifecycle/close.d.ts +0 -6
  147. package/dist/cli/commands/lifecycle/copy.d.ts +0 -6
  148. package/dist/cli/commands/lifecycle/create.d.ts +0 -10
  149. package/dist/cli/commands/lifecycle/delete.d.ts +0 -6
  150. package/dist/cli/commands/lifecycle/focus.d.ts +0 -6
  151. package/dist/cli/commands/lifecycle/plan.d.ts +0 -9
  152. package/dist/cli/commands/lifecycle/update-many.d.ts +0 -6
  153. package/dist/cli/commands/lifecycle/update.d.ts +0 -10
  154. package/dist/cli/commands/query/aggregate.d.ts +0 -2
  155. package/dist/cli/commands/query/context.d.ts +0 -6
  156. package/dist/cli/commands/query/deps.d.ts +0 -6
  157. package/dist/cli/commands/query/duplicates.d.ts +0 -6
  158. package/dist/cli/commands/query/eval.d.ts +0 -6
  159. package/dist/cli/commands/query/get.d.ts +0 -6
  160. package/dist/cli/commands/query/graph.d.ts +0 -7
  161. package/dist/cli/commands/query/list.d.ts +0 -6
  162. package/dist/cli/commands/query/next.d.ts +0 -6
  163. package/dist/cli/commands/query/search.d.ts +0 -6
  164. package/dist/cli/commands/query/stats.d.ts +0 -6
  165. package/dist/cli/commands/test/test-all.d.ts +0 -6
  166. package/dist/cli/commands/test/test-runs.d.ts +0 -6
  167. package/dist/cli/commands/test/test.d.ts +0 -6
  168. package/dist/cli/commands/workspace/config.d.ts +0 -6
  169. package/dist/cli/commands/workspace/contracts.d.ts +0 -2
  170. package/dist/cli/commands/workspace/init.d.ts +0 -6
  171. package/dist/cli/commands/workspace/merge.d.ts +0 -8
  172. package/dist/cli/commands/workspace/profile.d.ts +0 -6
  173. package/dist/cli/commands/workspace/schema.d.ts +0 -7
  174. package/dist/cli/commands/workspace/upgrade.d.ts +0 -2
  175. package/dist/cli/context-intent-invocation.d.ts +0 -2
  176. package/dist/cli/description-stdin.d.ts +0 -2
  177. package/dist/cli/error-guidance.d.ts +0 -276
  178. package/dist/cli/expected-revisions.d.ts +0 -55
  179. package/dist/cli/extension-command-help.d.ts +0 -137
  180. package/dist/cli/extension-command-options.d.ts +0 -37
  181. package/dist/cli/extension-recovery.d.ts +0 -31
  182. package/dist/cli/help-content.d.ts +0 -57
  183. package/dist/cli/help-json-payload.d.ts +0 -83
  184. package/dist/cli/invocation-profile.d.ts +0 -26
  185. package/dist/cli/main.d.ts +0 -263
  186. package/dist/cli/migration-gates.d.ts +0 -55
  187. package/dist/cli/option-values.d.ts +0 -3
  188. package/dist/cli/preflight-warnings.d.ts +0 -11
  189. package/dist/cli/register-annotations.d.ts +0 -11
  190. package/dist/cli/register-assurance.d.ts +0 -8
  191. package/dist/cli/register-files-lookup.d.ts +0 -9
  192. package/dist/cli/register-history-activity.d.ts +0 -8
  193. package/dist/cli/register-history-author.d.ts +0 -8
  194. package/dist/cli/register-history-maintenance.d.ts +0 -9
  195. package/dist/cli/register-list-query.d.ts +0 -27
  196. package/dist/cli/register-mutation-options.d.ts +0 -10
  197. package/dist/cli/register-mutation.d.ts +0 -16
  198. package/dist/cli/register-operations.d.ts +0 -85
  199. package/dist/cli/register-setup.d.ts +0 -16
  200. package/dist/cli/register-structured-mutation.d.ts +0 -15
  201. package/dist/cli/registration-helpers.d.ts +0 -2
  202. package/dist/cli/runtime/activation.d.ts +0 -51
  203. package/dist/cli/runtime/field-route-retry.d.ts +0 -15
  204. package/dist/cli/runtime/invocation-options.d.ts +0 -43
  205. package/dist/cli/runtime/projection-retry.d.ts +0 -9
  206. package/dist/cli/runtime/selection.d.ts +0 -35
  207. package/dist/cli/runtime/telemetry-outcome.d.ts +0 -20
  208. package/dist/cli/runtime-compatibility-boundary.d.ts +0 -17
  209. package/dist/cli/schema/registration.d.ts +0 -4
  210. package/dist/cli/schema-registration-helpers.d.ts +0 -24
  211. package/dist/cli/search-refresh.d.ts +0 -2
  212. package/dist/cli/stats-analytics-json.d.ts +0 -9
  213. package/dist/cli/telemetry-flush.d.ts +0 -2
  214. package/dist/cli-bundle/chunks/chunk-5GWEY4P6.js +0 -122
  215. package/dist/cli-bundle/chunks/chunk-AUEKTX7V.js +0 -6
  216. package/dist/cli-bundle/chunks/chunk-FRNMQM45.js +0 -2
  217. package/dist/cli-bundle/chunks/chunk-HNGLDMSZ.js +0 -9
  218. package/dist/cli-bundle/chunks/chunk-YKXATU2G.js +0 -3
  219. package/dist/cli-bundle/chunks/item-revision-OJJVPQY7.js +0 -2
  220. package/dist/cli-bundle/chunks/item-transaction-TBKEATN6.js +0 -2
  221. package/dist/cli-bundle/focused-chunks/chunk-2KTJY7BV.js +0 -44
  222. package/dist/cli-bundle/focused-chunks/chunk-G5PJCR7R.js +0 -2
  223. package/dist/cli-bundle/focused-chunks/chunk-M6V7UMWL.js +0 -26
  224. package/dist/cli-bundle/focused-chunks/chunk-MK4HV4JO.js +0 -2
  225. package/dist/cli-bundle/focused-chunks/chunk-O7EI33NP.js +0 -91
  226. package/dist/cli-bundle/focused-chunks/chunk-SNOXXRSJ.js +0 -2
  227. package/dist/cli-bundle/focused-chunks/chunk-UPJUTP2V.js +0 -12
  228. package/dist/cli-bundle/focused-chunks/item-revision-CTDO4H3I.js +0 -2
  229. package/dist/cli.d.ts +0 -13
  230. package/dist/core/checkpoint/checkpoint-gc.d.ts +0 -61
  231. package/dist/core/checkpoint/mutation-context.d.ts +0 -10
  232. package/dist/core/diagnostics/remediation.d.ts +0 -52
  233. package/dist/core/extensions/activation-transaction.d.ts +0 -22
  234. package/dist/core/extensions/command-visibility-tier.d.ts +0 -8
  235. package/dist/core/extensions/exporter-output-contract.d.ts +0 -12
  236. package/dist/core/extensions/extension-candidate.d.ts +0 -26
  237. package/dist/core/extensions/extension-runtime-helpers.d.ts +0 -16
  238. package/dist/core/extensions/module-graph-snapshot.d.ts +0 -19
  239. package/dist/core/extensions/preflight-ownership.d.ts +0 -5
  240. package/dist/core/extensions/read-output-contract.d.ts +0 -5
  241. package/dist/core/extensions/reserved-host-flags.d.ts +0 -18
  242. package/dist/core/extensions/service-ownership.d.ts +0 -8
  243. package/dist/core/extensions/version-diagnostics.d.ts +0 -2
  244. package/dist/core/fs/atomic-create.d.ts +0 -7
  245. package/dist/core/fs/index.d.ts +0 -6
  246. package/dist/core/fs/path-utils.d.ts +0 -2
  247. package/dist/core/history/drift-cache.d.ts +0 -4
  248. package/dist/core/history/drift-scan.d.ts +0 -51
  249. package/dist/core/history/index.d.ts +0 -6
  250. package/dist/core/history/tombstone.d.ts +0 -3
  251. package/dist/core/history/version-address.d.ts +0 -13
  252. package/dist/core/item/index.d.ts +0 -9
  253. package/dist/core/item/item-type-definition.d.ts +0 -51
  254. package/dist/core/item/toon-decode.d.ts +0 -25
  255. package/dist/core/lock/index.d.ts +0 -6
  256. package/dist/core/lock/lock-confinement.d.ts +0 -55
  257. package/dist/core/lock/lock-gc.d.ts +0 -93
  258. package/dist/core/output/mutation-projection.d.ts +0 -13
  259. package/dist/core/output/query-summary.d.ts +0 -30
  260. package/dist/core/search/staleness.d.ts +0 -23
  261. package/dist/core/sentry/sensitive-assignments.d.ts +0 -9
  262. package/dist/core/shared/conflict-markers.d.ts +0 -18
  263. package/dist/core/shared/index.d.ts +0 -9
  264. package/dist/core/shared/memo.d.ts +0 -7
  265. package/dist/core/store/index.d.ts +0 -9
  266. package/dist/core/store/settings-concurrency.d.ts +0 -7
  267. package/dist/core/telemetry/read-sampling.d.ts +0 -8
  268. package/dist/core/test/item-test-run-tracking.d.ts +0 -12
  269. package/dist/core/validate/estimate-defaults.d.ts +0 -21
  270. package/dist/core/validate/linked-artifact-reference.d.ts +0 -20
  271. package/dist/mcp/http-server.d.ts +0 -60
  272. package/dist/mcp/legacy-adapter.d.ts +0 -59
  273. package/dist/mcp/runtime-capabilities.d.ts +0 -57
  274. package/dist/mcp/server.d.ts +0 -101
  275. package/dist/sdk/cli-contracts/bootstrap-command-scanner.d.ts +0 -23
  276. package/dist/sdk/cli-contracts/registration-helpers.d.ts +0 -123
  277. package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +0 -796
  278. package/dist/sdk/cli-contracts/string-lists.d.ts +0 -9
  279. package/dist/sdk/cli-contracts/tool-parameter-tables.d.ts +0 -35
  280. package/dist/sdk/context/usage-egress.d.ts +0 -9
  281. package/dist/sdk/dependencies/context-budget-recovery.d.ts +0 -21
  282. package/dist/sdk/dependency-flag-validation.d.ts +0 -32
  283. package/dist/sdk/extension/author-manifest.d.ts +0 -22
  284. package/dist/sdk/extension/bundled-catalog.d.ts +0 -35
  285. package/dist/sdk/extension/concurrency.d.ts +0 -7
  286. package/dist/sdk/extension/copy-scope.d.ts +0 -2
  287. package/dist/sdk/extension/custom-field-collisions.d.ts +0 -6
  288. package/dist/sdk/extension/install-receipts.d.ts +0 -7
  289. package/dist/sdk/extension/install-snapshot.d.ts +0 -34
  290. package/dist/sdk/extension/managed-update-status.d.ts +0 -3
  291. package/dist/sdk/extension/runtime-summary.d.ts +0 -9
  292. package/dist/sdk/extension/scaffold.d.ts +0 -38
  293. package/dist/sdk/generated/error-code-catalog-rows.d.ts +0 -39
  294. package/dist/sdk/generated/generated-error-code-catalog-part-1.d.ts +0 -8
  295. package/dist/sdk/generated/generated-error-code-catalog-part-2.d.ts +0 -8
  296. package/dist/sdk/governance/assurance-limits.d.ts +0 -7
  297. package/dist/sdk/governance/defect-recurrence-signals.d.ts +0 -10
  298. package/dist/sdk/governance/health-merge-evidence.d.ts +0 -23
  299. package/dist/sdk/governance/tracked-runtime-cache.d.ts +0 -24
  300. package/dist/sdk/governance/validate-history-drift.d.ts +0 -7
  301. package/dist/sdk/history/attestation-scan.d.ts +0 -16
  302. package/dist/sdk/history-mcp.d.ts +0 -17
  303. package/dist/sdk/lifecycle/checkpoint-rollback.d.ts +0 -15
  304. package/dist/sdk/lifecycle/core-field-recovery.d.ts +0 -33
  305. package/dist/sdk/lifecycle/core-item-fields.d.ts +0 -6
  306. package/dist/sdk/lifecycle/event-validation-messages.d.ts +0 -6
  307. package/dist/sdk/lifecycle/hierarchy-mutation-lock.d.ts +0 -15
  308. package/dist/sdk/lifecycle/legacy-none-tokens.d.ts +0 -71
  309. package/dist/sdk/lifecycle/mcp-actions.d.ts +0 -24
  310. package/dist/sdk/lifecycle/metadata-normalizers.d.ts +0 -8
  311. package/dist/sdk/lifecycle/mutation-facet-contracts.d.ts +0 -6
  312. package/dist/sdk/lifecycle/mutation-option-validation.d.ts +0 -2
  313. package/dist/sdk/lifecycle/recurrence-parsers.d.ts +0 -34
  314. package/dist/sdk/lifecycle/release-handoff.d.ts +0 -12
  315. package/dist/sdk/lifecycle/repeatable-metadata-parsers.d.ts +0 -18
  316. package/dist/sdk/lifecycle/repeated-terminal-state.d.ts +0 -45
  317. package/dist/sdk/merge/abandoned-receipts.d.ts +0 -15
  318. package/dist/sdk/merge/history-scalar-rebase.d.ts +0 -9
  319. package/dist/sdk/merge/ignored-artifacts.d.ts +0 -13
  320. package/dist/sdk/merge/indexed-receipt-blobs.d.ts +0 -4
  321. package/dist/sdk/merge/receipt-file-boundary.d.ts +0 -23
  322. package/dist/sdk/merge/settlement-hook.d.ts +0 -12
  323. package/dist/sdk/merge/stage.d.ts +0 -13
  324. package/dist/sdk/merge/worktree-config.d.ts +0 -11
  325. package/dist/sdk/query/light-metadata.d.ts +0 -3
  326. package/dist/sdk/query/window-pagination.d.ts +0 -20
  327. package/dist/sdk/read-output/extension.d.ts +0 -7
  328. package/dist/sdk/read-output/provenance.d.ts +0 -20
  329. package/dist/sdk/read-output/surfaces.d.ts +0 -27
  330. package/dist/sdk/runtime/actions.d.ts +0 -4
  331. package/dist/sdk/runtime/mutation-admission.d.ts +0 -2
  332. package/dist/sdk/runtime/mutation-value-validation.d.ts +0 -16
  333. package/dist/sdk/runtime/schema.d.ts +0 -4
  334. package/dist/sdk/runtime-action-aliases.d.ts +0 -7
  335. package/dist/sdk/runtime-extended-actions.d.ts +0 -27
  336. package/dist/sdk/runtime-stats-options.d.ts +0 -9
  337. package/dist/sdk/test/command-args.d.ts +0 -4
  338. package/dist/sdk/test/command-resolution.d.ts +0 -5
  339. package/dist/sdk/test/entry.d.ts +0 -18
  340. package/dist/sdk/test/execution-receipts.d.ts +0 -34
  341. package/dist/sdk/test/receipt-index-snapshot.d.ts +0 -2
  342. package/dist/sdk/test/workspace-snapshot.d.ts +0 -11
  343. package/dist/sdk/traceability/runtime-files-lookup.d.ts +0 -8
@@ -1,137 +0,0 @@
1
- /**
2
- * @module cli/extension-command-help
3
- *
4
- * Provides CLI runtime support for Extension Command Help.
5
- */
6
- import { Command } from "commander";
7
- import { type FlagDefinition,type RegisteredExtensionCommandDefinition,type RegisteredExtensionFlagDefinitions } from "../sdk/runtime-primitives.js";
8
- import type { PmCommandCapabilityFamily,PmCommandVisibilityTier } from "../sdk/agent-capability-contracts.js";
9
- /** Documents the extension command argument help descriptor payload exchanged by command, SDK, and package integrations. */
10
- export interface ExtensionCommandArgumentHelpDescriptor {
11
- /** Value that configures or reports name for this contract. */
12
- name:string;
13
- /** Value that configures or reports required for this contract. */
14
- required:boolean;
15
- /** Value that configures or reports variadic for this contract. */
16
- variadic:boolean;
17
- /** Value that configures or reports description for this contract. */
18
- description?:string;
19
- }
20
- /** Documents the extension command help descriptor payload exchanged by command, SDK, and package integrations. */
21
- export interface ExtensionCommandHelpDescriptor {
22
- /** Value that configures or reports command for this contract. */
23
- command:string;
24
- /** Value that configures or reports action for this contract. */
25
- action:string;
26
- /** Value that configures or reports description for this contract. */
27
- description?:string;
28
- /** Value that configures or reports intent for this contract. */
29
- intent?:string;
30
- /** Value that configures or reports examples for this contract. */
31
- examples:string[];
32
- /** Value that configures or reports failure hints for this contract. */
33
- failure_hints:string[];
34
- /** Value that configures or reports arguments for this contract. */
35
- arguments:ExtensionCommandArgumentHelpDescriptor[];
36
- /** Value that configures or reports flags for this contract. */
37
- flags:FlagDefinition[];
38
- /** Minimum agent surface tier declared by the package. */
39
- tier:PmCommandVisibilityTier;
40
- /** Capability family declared by the package. */
41
- family:PmCommandCapabilityFamily;
42
- /** Value that configures or reports source for this contract. */
43
- source?:{
44
- layer:"global" | "project";
45
- name:string;
46
- package?:string;
47
- version?:string;
48
- };
49
- }
50
- /** Documents the help option summary payload exchanged by command, SDK, and package integrations. */
51
- export interface HelpOptionSummary {
52
- /** Value that configures or reports flags for this contract. */
53
- flags:string;
54
- /** Value that configures or reports long for this contract. */
55
- long:string | null;
56
- /** Value that configures or reports short for this contract. */
57
- short:string | null;
58
- /** Value that configures or reports description for this contract. */
59
- description:string;
60
- /** Value that configures or reports takes value for this contract. */
61
- takes_value:boolean;
62
- /** Value that configures or reports value required for this contract. */
63
- value_required:boolean;
64
- /** Value that configures or reports value name for this contract. */
65
- value_name:string | null;
66
- /** Value that configures or reports variadic for this contract. */
67
- variadic:boolean;
68
- /** Value that configures or reports required for this contract. */
69
- required:boolean;
70
- /** Value that configures or reports aliases for this contract. */
71
- aliases:string[];
72
- /** Value that configures or reports alias for for this contract. */
73
- alias_for:string | null;
74
- /** Fallback value used when callers do not provide an override. */
75
- default_value?:unknown;
76
- }
77
- /** Implements normalize extension command path for the public runtime surface of this module. */
78
- export declare function normalizeExtensionCommandPath(commandPath:string):string;
79
- /** Build verified flattened-alias mappings within one extension and layer. */
80
- export declare function buildCanonicalExtensionAliases(handlers:ReadonlyArray<{
81
- command:string;
82
- layer:"project" | "global";
83
- name:string;
84
- }>,definitions:ReadonlyArray<{
85
- command:string;
86
- layer:"project" | "global";
87
- name:string;
88
- }>):Map<string,string>;
89
- /** Resolve whether a registered extension flag consumes a value. */
90
- export declare function extensionFlagTakesValueForInvocation(invocationArgv:string[],commandName:string | undefined,normalizedMissing:string | undefined,descriptors:ReadonlyMap<string,ExtensionCommandHelpDescriptor>):boolean | undefined;
91
- /** Canonical value-arity contract shared by extension invocation recovery, Commander parsing, and structured help. */
92
- export declare function resolveExtensionFlagArity(definition:Readonly<FlagDefinition>):{
93
- takesValue:boolean;
94
- valueName:string | null;
95
- };
96
- /** Implements collect dynamic extension flag help by command for the public runtime surface of this module. */
97
- export declare function collectDynamicExtensionFlagHelpByCommand(registrations:RegisteredExtensionFlagDefinitions[]):Map<string,string>;
98
- /** Implements collect extension command help descriptors for the public runtime surface of this module. */
99
- export declare function collectExtensionCommandHelpDescriptors(commandHandlers:string[],commandDefinitions:RegisteredExtensionCommandDefinition[],flagRegistrations:RegisteredExtensionFlagDefinitions[],canonicalAliases?:ReadonlyMap<string,string>):Map<string,ExtensionCommandHelpDescriptor>;
100
- /** Implements apply dynamic extension arguments for the public runtime surface of this module. */
101
- export declare function applyDynamicExtensionArguments(command:Command,descriptor:ExtensionCommandHelpDescriptor):void;
102
- /** Implements apply dynamic extension flag options for the public runtime surface of this module. */
103
- export declare function applyDynamicExtensionFlagOptions(command:Command,definitions:FlagDefinition[]):void;
104
- /**
105
- * Builds the "Extension-provided flags" help block for only the definitions that
106
- * are NOT already rendered as real commander options on {@link command}. After
107
- * {@link applyDynamicExtensionFlagOptions} registers extension flags as first
108
- * class options, repeating them verbatim in an after-text block duplicated every
109
- * flag in `--help` output; this filters those already-listed flags out so the
110
- * block is emitted only when it carries flags the Options section does not.
111
- */
112
- export declare function buildResidualDynamicExtensionFlagHelp(command:Command,definitions:FlagDefinition[]):string | null;
113
- /** Implements build dynamic extension help option summaries for the public runtime surface of this module. */
114
- export declare function buildDynamicExtensionHelpOptionSummaries(descriptor:ExtensionCommandHelpDescriptor | undefined):HelpOptionSummary[];
115
- /** Implements merge help option summaries for the public runtime surface of this module. */
116
- export declare function mergeHelpOptionSummaries(base:HelpOptionSummary[],extension:HelpOptionSummary[]):HelpOptionSummary[];
117
- /** Implements build dynamic extension command metadata help for the public runtime surface of this module. */
118
- export declare function buildDynamicExtensionCommandMetadataHelp(descriptor:ExtensionCommandHelpDescriptor):string | null;
119
- /** Implements command aliases for the public runtime surface of this module. */
120
- export declare function commandAliases(command:Command):string[];
121
- /** Implements find direct child command for the public runtime surface of this module. */
122
- export declare function findDirectChildCommand(parent:Command,name:string):Command | null;
123
- /** Implements find command by path for the public runtime surface of this module. */
124
- export declare function findCommandByPath(root:Command,pathParts:string[]):Command | null;
125
- /** Implements ensure command path for the public runtime surface of this module. */
126
- export declare function ensureCommandPath(root:Command,pathParts:string[]):Command | null;
127
- /** Locate core leaves that a path would replace or extend; existing groups can host unique extension leaves. */
128
- export declare function findExtensionCommandPathCollision(root:Command,pathParts:string[]):{
129
- core_path:string;
130
- extension_path:string;
131
- } | null;
132
- /** Build an ownership-rich warning when an extension alias would shadow or graft beneath a core command. */
133
- export declare function buildExtensionCommandCollisionWarning(root:Command,commandPath:string,aliases:ReadonlyMap<string,string>,descriptor:ExtensionCommandHelpDescriptor | undefined,hasHandler?:boolean):string | null;
134
- /** Collect deterministic extension command paths while reporting and excluding aliases that collide with core ownership. */
135
- export declare function collectSafeExtensionCommandPaths(root:Command,commandHandlers:readonly string[],descriptors:ReadonlyMap<string,ExtensionCommandHelpDescriptor>,aliases:ReadonlyMap<string,string>,onCollision:(warning:string) => void):string[];
136
- /** Record and surface one extension collision with stable recovery guidance. */
137
- export declare function reportExtensionCommandCollision(activationWarnings:string[],report:(message:string) => void,warning:string):void;
@@ -1,37 +0,0 @@
1
- /** Flag metadata consumed by loose-option parsing across core and extension commands. */
2
- export interface LooseCommandFlagDefinition {
3
- /** Canonical long option token. */
4
- long?:string;
5
- /** Optional short option token. */
6
- short?:string;
7
- /** Backward-compatible aliases emitted by core command contracts. */
8
- aliases?:string[];
9
- /** Canonical runtime value kind. */
10
- value_type?:string;
11
- /** Backward-compatible runtime value kind alias. */
12
- type?:string;
13
- /** Whether the option can be supplied to the command. */
14
- enabled?:boolean;
15
- /** Whether callers must provide the option. */
16
- required?:boolean;
17
- /** Whether repeated or comma-delimited values accumulate. */
18
- list?:boolean;
19
- /** Whether repeated occurrences accumulate without splitting commas. */
20
- repeatable?:boolean;
21
- /** Value used when callers omit the option. */
22
- default?:unknown;
23
- /** `strict` refuses malformed number/boolean tokens before dispatch; `coerce` (default) forwards them. */
24
- value_validation?:string;
25
- }
26
- /** Implements collect loose command option keys for definitions for the public runtime surface of this module. */
27
- export declare function collectLooseCommandOptionKeysForDefinitions(definitions:ReadonlyArray<LooseCommandFlagDefinition>):Set<string>;
28
- /** Implements validate loose command options with flag definitions for the public runtime surface of this module. */
29
- export declare function validateLooseCommandOptionsWithFlagDefinitions(options:Record<string,unknown>,definitions:ReadonlyArray<LooseCommandFlagDefinition>,commandPath:string):void;
30
- /** Implements coerce loose command options with flag definitions for the public runtime surface of this module. */
31
- export declare function coerceLooseCommandOptionsWithFlagDefinitions(options:Record<string,unknown>,definitions:ReadonlyArray<LooseCommandFlagDefinition>,occurrenceSource?:Record<string,unknown>,commandPath?:string):Record<string,unknown>;
32
- /** Implements parse loose command options for the public runtime surface of this module. */
33
- export declare function parseLooseCommandOptions(args:string[]):Record<string,unknown>;
34
- /** Returns the positional operands in `args`, skipping option tokens and the values they consume (`--flag value`, `--flag=value`, `-f value`, and boolean flags). Tokens after a bare `--` separator are all positional. Used to count genuinely unexpected positionals for extension commands that declare no arguments without miscounting leaked/undeclared option tokens as operands. */
35
- export declare function collectLoosePositionalArgs(args:string[]):string[];
36
- /** Implements strip loose command option tokens for the public runtime surface of this module. */
37
- export declare function stripLooseCommandOptionTokens(args:string[],definitions:ReadonlyArray<LooseCommandFlagDefinition>):string[];
@@ -1,31 +0,0 @@
1
- import { activateExtensions,loadExtensions,readSettings,resolveImplicitPmRoot } from "../sdk/runtime-primitives.js";
2
- /** Extension failure safe to append to unknown-command output. */
3
- export interface ExtensionRecoveryFailure {
4
- /** Extension resolution layer that failed. */
5
- layer:string;
6
- /** Installed extension identity. */
7
- name:string;
8
- /** Actionable loader or activation error. */
9
- error:string;
10
- /** Command paths declared statically for this extension. */
11
- declared_commands?:string[];
12
- /** Whether the failed extension declares the attempted command path. */
13
- declared_command_match?:boolean;
14
- /** Bounded commands that repair or diagnose the failed installation. */
15
- recovery_commands?:string[];
16
- }
17
- /** Injectable recovery dependencies used to exercise loader failure boundaries. */
18
- export interface ExtensionRecoveryDependencies {
19
- /** Reads active tracker settings. */
20
- readSettings:typeof readSettings;
21
- /** Loads installed extension modules. */
22
- loadExtensions:typeof loadExtensions;
23
- /** Activates loaded extension modules. */
24
- activateExtensions:typeof activateExtensions;
25
- /** Resolves the ordinary cwd tracker independently from an explicit CLI path. */
26
- resolveImplicitPmRoot:typeof resolveImplicitPmRoot;
27
- }
28
- /** Reload extensions and return bounded load plus activation failures. */
29
- export declare function loadExtensionRecoveryFailures(pmRoot:string,overrides?:Partial<ExtensionRecoveryDependencies>,attemptedCommandPaths?:readonly string[]):Promise<ExtensionRecoveryFailure[]>;
30
- /** Loads recovery details only for unknown-command failures. */
31
- export declare function loadUnknownCommandRecoveryFailures(classificationCode:string,pmRoot:string,overrides?:Partial<ExtensionRecoveryDependencies>,attemptedCommandPaths?:readonly string[]):Promise<ExtensionRecoveryFailure[]>;
@@ -1,57 +0,0 @@
1
- /**
2
- * @module cli/help-content
3
- *
4
- * Provides CLI runtime support for Help Content.
5
- */
6
- import { Command } from "commander";
7
- import { type PmCommandVisibilityTier } from "../sdk/agent-capability-contracts.js";
8
- /** Attach a package command's declared tier to its Commander presentation node. */
9
- export declare function setPmCommandHelpVisibilityTier(command:Command,tier:PmCommandVisibilityTier):void;
10
- /** Read presentation metadata attached to a package-created Commander node. */
11
- export declare function getPmCommandHelpVisibilityTier(command:Command):PmCommandVisibilityTier | undefined;
12
- /** Documents the help bundle payload exchanged by command, SDK, and package integrations. */
13
- export interface HelpBundle {
14
- /** Value that configures or reports why for this contract. */
15
- why:string;
16
- /** Value that configures or reports examples for this contract. */
17
- examples:string[];
18
- /** Value that configures or reports tips for this contract. */
19
- tips?:string[];
20
- }
21
- /** Documents the help narrative payload exchanged by command, SDK, and package integrations. */
22
- export interface HelpNarrative {
23
- /** Value that configures or reports intent for this contract. */
24
- intent:string;
25
- /** Value that configures or reports examples for this contract. */
26
- examples:string[];
27
- /** Value that configures or reports tips for this contract. */
28
- tips:string[];
29
- /** Strategy used to control detail behavior. */
30
- detail_mode:HelpDetailMode;
31
- }
32
- /** Restricts help detail mode values accepted by command, SDK, and storage contracts. */
33
- export type HelpDetailMode = "compact" | "detailed";
34
- /** Implements first example or empty for the public runtime surface of this module. */
35
- export declare function firstExampleOrEmpty(examples:string[]):string[];
36
- declare function renderCompactHelpBundle(bundle:HelpBundle):string;
37
- declare function renderDetailedHelpBundle(bundle:HelpBundle):string;
38
- /** Implements normalize help command path for the public runtime surface of this module. */
39
- export declare function normalizeHelpCommandPath(commandPath:string):string;
40
- /** Implements resolve help detail mode for the public runtime surface of this module. */
41
- export declare function resolveHelpDetailMode(argv:string[]):HelpDetailMode;
42
- /** Whether an invocation requests the complete public command discovery tier. */
43
- export declare function isFullHelpDiscovery(argv:readonly string[]):boolean;
44
- /** Public contract for root help bundle, shared by SDK and presentation-layer consumers. */
45
- export declare const ROOT_HELP_BUNDLE:HelpBundle;
46
- /** Implements resolve help bundle for path for the public runtime surface of this module. */
47
- export declare function resolveHelpBundleForPath(commandPath:string | undefined):HelpBundle;
48
- /** Implements resolve help narrative for the public runtime surface of this module. */
49
- export declare function resolveHelpNarrative(commandPath:string | undefined,detailMode:HelpDetailMode):HelpNarrative;
50
- /** Implements attach rich help text for the public runtime surface of this module. */
51
- export declare function attachRichHelpText(program:Command,argv?:string[]):void;
52
- /** Public contract for test only, shared by SDK and presentation-layer consumers. */
53
- export declare const _testOnly:{
54
- renderCompactHelpBundle:typeof renderCompactHelpBundle;
55
- renderDetailedHelpBundle:typeof renderDetailedHelpBundle;
56
- };
57
- export {};
@@ -1,83 +0,0 @@
1
- /**
2
- * @module cli/help-json-payload
3
- *
4
- * Provides CLI runtime support for Help Json Payload.
5
- */
6
- import { Command } from "commander";
7
- import { resolveItemTypeRegistry } from "../sdk/runtime-primitives.js";
8
- import { type HelpOptionSummary,type ExtensionCommandHelpDescriptor } from "./extension-command-help.js";
9
- import { type PmPositionalActionContract } from "../sdk/cli-contracts/grammar-contracts.js";
10
- import { type PmCommandCapabilityFamily,type PmCommandVisibilityTier } from "../sdk/agent-capability-contracts.js";
11
- /** Documents the help argument summary payload exchanged by command, SDK, and package integrations. */
12
- export interface HelpArgumentSummary {
13
- /** Value that configures or reports name for this contract. */
14
- name:string;
15
- /** Value that configures or reports required for this contract. */
16
- required:boolean;
17
- /** Value that configures or reports variadic for this contract. */
18
- variadic:boolean;
19
- /** Value that configures or reports description for this contract. */
20
- description:string | null;
21
- }
22
- /** Documents the help subcommand summary payload exchanged by command, SDK, and package integrations. */
23
- export interface HelpSubcommandSummary {
24
- /** Value that configures or reports name for this contract. */
25
- name:string;
26
- /** Value that configures or reports aliases for this contract. */
27
- aliases:string[];
28
- /** Value that configures or reports description for this contract. */
29
- description:string;
30
- /** Shared command visibility tier. */
31
- tier:PmCommandVisibilityTier;
32
- /** Shared command capability family. */
33
- family:PmCommandCapabilityFamily;
34
- /** Canonical command path when this row is an executable alias. */
35
- alias_for?:string;
36
- /** Compatibility lifecycle declared by the canonical alias contract. */
37
- alias_lifecycle?:"permanent" | "deprecated";
38
- /** True when callers should migrate from this executable spelling. */
39
- deprecated?:true;
40
- }
41
- type ExtensionCommandSurface = Pick<ExtensionCommandHelpDescriptor,"tier" | "family">;
42
- /** Resolve semantic package metadata, or fold descendant tiers and families for a namespace. */
43
- declare function resolveExtensionCommandSurface(commandPath:string,descriptors:ReadonlyMap<string,ExtensionCommandHelpDescriptor>,allowDescendants?:boolean):ExtensionCommandSurface | undefined;
44
- /** Find a registered command or known positional parent; reject missing namespace leaves instead of returning root help. */
45
- declare function resolveCommandFromPathTokens(root:Command,pathTokens:string[]):Command | null;
46
- declare function readOptionAttributeName(option:unknown):string | null;
47
- declare function buildOptionAliasMap(options:unknown[]):Map<string,string[]>;
48
- declare function buildHelpOptionSummaries(command:Command):HelpOptionSummary[];
49
- declare function compactHelpOptionAliases(options:HelpOptionSummary[]):HelpOptionSummary[];
50
- declare function buildHelpArgumentSummaries(command:Command):HelpArgumentSummary[];
51
- /** Describe discoverable children with semantic tiers and package metadata, retaining hidden public commands for full discovery. */
52
- declare function buildHelpSubcommandSummaries(command:Command,extensionDescriptors?:ReadonlyMap<string,ExtensionCommandHelpDescriptor>,includeAll?:boolean):HelpSubcommandSummary[];
53
- interface PositionalActionHelpProjection {
54
- arguments:HelpArgumentSummary[];
55
- options:HelpOptionSummary[];
56
- subcommands:HelpSubcommandSummary[];
57
- usage:string;
58
- }
59
- /** Build the command/action structural view shared by every JSON help field. */
60
- declare function buildPositionalActionHelpProjection(action:PmPositionalActionContract | undefined,targetCommand:Command,resolvedPath:string,allOptions:HelpOptionSummary[],extensionDescriptors?:ReadonlyMap<string,ExtensionCommandHelpDescriptor>,includeAll?:boolean):PositionalActionHelpProjection;
61
- /** Build structured help for the requested command path, including canonical metadata, flags, aliases, and examples. */
62
- declare function buildJsonHelpPayload(rootProgram:Command,targetCommand:Command,argv:string[],requestedPath:string[],extensionDescriptors:ReadonlyMap<string,ExtensionCommandHelpDescriptor>):Record<string,unknown>;
63
- /** Implements maybe render bootstrap json help for the public runtime surface of this module. */
64
- export declare function maybeRenderBootstrapJsonHelp(rootProgram:Command,argv:string[],extensionDescriptors:ReadonlyMap<string,ExtensionCommandHelpDescriptor>,requestedArgv?:string[]):Promise<boolean>;
65
- declare function buildCreateUpdatePolicyHelpText(commandName:"create" | "update",typeRegistry:ReturnType<typeof resolveItemTypeRegistry>,argv:string[]):string;
66
- /** Implements attach create update policy help text for the public runtime surface of this module. */
67
- export declare function attachCreateUpdatePolicyHelpText(rootProgram:Command,typeRegistry:ReturnType<typeof resolveItemTypeRegistry>,argv:string[]):void;
68
- /** Public contract for test only, shared by SDK and presentation-layer consumers. */
69
- export declare const _testOnly:{
70
- attachCreateUpdatePolicyHelpText:typeof attachCreateUpdatePolicyHelpText;
71
- buildCreateUpdatePolicyHelpText:typeof buildCreateUpdatePolicyHelpText;
72
- buildJsonHelpPayload:typeof buildJsonHelpPayload;
73
- buildPositionalActionHelpProjection:typeof buildPositionalActionHelpProjection;
74
- buildHelpArgumentSummaries:typeof buildHelpArgumentSummaries;
75
- buildHelpOptionSummaries:typeof buildHelpOptionSummaries;
76
- buildHelpSubcommandSummaries:typeof buildHelpSubcommandSummaries;
77
- buildOptionAliasMap:typeof buildOptionAliasMap;
78
- compactHelpOptionAliases:typeof compactHelpOptionAliases;
79
- readOptionAttributeName:typeof readOptionAttributeName;
80
- resolveCommandFromPathTokens:typeof resolveCommandFromPathTokens;
81
- resolveExtensionCommandSurface:typeof resolveExtensionCommandSurface;
82
- };
83
- export {};
@@ -1,26 +0,0 @@
1
- /**
2
- * @module cli/invocation-profile
3
- *
4
- * Measures the executable's runtime lifetime, including module loading and
5
- * pending output, independently of the narrower command-handler diagnostics.
6
- */
7
- import type { Writable } from "node:stream";
8
- /** Minimal process boundary, also usable by embedded executable hosts. */
9
- interface InvocationProfileHost {
10
- /** Register a callback after pending event-loop work and output drain. */
11
- once(event:"beforeExit",listener:() => void):unknown;
12
- /** Remove an unconsumed callback when an embedding host disposes it. */
13
- off(event:"beforeExit",listener:() => void):unknown;
14
- /** Monotonic seconds since runtime startup, including module initialization. */
15
- uptime():number;
16
- /** Diagnostic destination; command output remains on stdout. */
17
- stderr:Pick<Writable,"write">;
18
- }
19
- /**
20
- * Emit exactly one total when the process drains, even for help or refusals.
21
- * Runtime uptime excludes parent-side spawn and final OS teardown. The legacy
22
- * command records retain their shape; the receipt explicitly names their scope.
23
- * Return a disposer for hosts that reuse the process instead of exiting.
24
- */
25
- export declare function registerInvocationProfile(argv:readonly string[],host?:InvocationProfileHost):() => void;
26
- export {};
@@ -1,263 +0,0 @@
1
- import { Command } from "commander";
2
- import { describeUnknownError,isCommanderError,normalizeThrownExitCode,readThrownExitCode,wrapThrownErrorForSentry } from "../sdk/error-runtime.js";
3
- import { type ActiveExtensionHookContext,type ExtensionCommandRegistry,type ExtensionDiscoveryResult,type ExtensionHookRegistry,type ExtensionParserRegistry,type ExtensionPreflightRegistry,type ExtensionRendererRegistry,type ExtensionServiceRegistry,type GlobalOptions,type PmCliErrorContext,type PreflightRuntimeDecision,type RegisteredExtensionSchemaMigrationDefinition,type TelemetryCommandOutcome,type TelemetryCommandResolution,type TelemetryErrorCategory,type TelemetryResolutionStage,createEmptyExtensionRegistrationRegistry,readSettings,readSettingsWithMetadata } from "../sdk/runtime-primitives.js";
4
- import type { PmSettings } from "../types/index.js";
5
- import { resolveUnknownCommanderToken } from "./commander-usage.js";
6
- import { type ExtensionCommandHelpDescriptor } from "./extension-command-help.js";
7
- import { type LooseCommandFlagDefinition } from "./extension-command-options.js";
8
- import { type MandatoryMigrationBlocker } from "./migration-gates.js";
9
- import type { RuntimeExtensionActivationProbe } from "./runtime/activation.js";
10
- import { activationCommandMatchesProbe,buildBootstrapActivationProbe,buildRuntimeExtensionActivationScope,buildRuntimeExtensionFilterForProbe,collectActivationCommandCandidates,collectLeadingCommandArgs,collectParsedActivationCommandArgs,commandPathNeedsSearchExtensions,commandPathNeedsTemplateExtensions,discoveryNeedsActivationForProbe,extensionActivationCommands,extensionCapabilities,extensionNeedsActivationForProbe,extensionProvidesTemplatesRuntime,hasAnyCapability,hasGlobalExtensionContributions,matchesStaticExtensionCommand,probeUsesAnyFlag,resolveStaticExtensionActivationDecision } from "./runtime/activation.js";
11
- import { collectExtensionFlagDefinitionsForCommand,collectExtensionFlagDefinitionsForInvocation,extractCommandScopedOptions,isImporterOrExporterCommandPath,recordCliReadOutputInvocationProvenance,validateDynamicExtensionCommandInvocation } from "./runtime/invocation-options.js";
12
- import { enforceExplicitRetryForFlagTypos,invocationRequestsVersion,resolveCoreCommandRegistrationSelection,shouldAttachRichHelpTextForInvocation,shouldRegisterDynamicExtensionPaths,shouldRegisterRuntimeSchemaFlags } from "./runtime/selection.js";
13
- import { buildPostActionTelemetryOutcome,inferPostActionErrorCode,inferPostActionFailureMessage,normalizeTelemetryCommandResolution,normalizeTelemetryErrorCategory,normalizeTelemetryResolutionStage,readRecordBoolean,readRecordNumber,readRecordString } from "./runtime/telemetry-outcome.js";
14
- declare function setActiveExtensionHookContextForTest(context:ActiveExtensionHookContext<MandatoryMigrationBlocker> | null):void;
15
- declare function setActiveRuntimeExtensionCommandDescriptorsForTest(descriptors:Map<string,ExtensionCommandHelpDescriptor>):void;
16
- interface RuntimeExtensionSnapshot {
17
- hooks:ExtensionHookRegistry;
18
- commands:ExtensionCommandRegistry;
19
- parsers:ExtensionParserRegistry;
20
- preflight:ExtensionPreflightRegistry;
21
- services:ExtensionServiceRegistry;
22
- renderers:ExtensionRendererRegistry;
23
- registrations:ReturnType<typeof createEmptyExtensionRegistrationRegistry>;
24
- pmRoot:string;
25
- settings:PmSettings;
26
- commandHandlers:string[];
27
- commandFlagHelp:Map<string,string>;
28
- commandDescriptors:Map<string,ExtensionCommandHelpDescriptor>;
29
- commandAliases:Map<string,string>;
30
- loadWarnings:string[];
31
- activationWarnings:string[];
32
- loadedCount:number;
33
- loadFailedCount:number;
34
- activationFailedCount:number;
35
- contextIntentPackages:Array<{
36
- name:string;
37
- module:unknown;
38
- }>;
39
- }
40
- interface RuntimeExtensionDiscoverySnapshot {
41
- pmRoot:string;
42
- settings:PmSettings;
43
- discovery:ExtensionDiscoveryResult;
44
- discoveryMs:number;
45
- settingsReadWarnings:string[];
46
- }
47
- declare function inferMissingFieldsFromErrorMessage(message:string):string[] | undefined;
48
- /** Build replayable recovery guidance after removing sensitive matcher values from every invocation representation. */
49
- declare function buildPmCliRecoveryContext(context:PmCliErrorContext | undefined,invocationArgv:string[],rawMessage:string):PmCliErrorContext;
50
- declare function runAndClearAfterCommandHooks(outcome:TelemetryCommandOutcome):Promise<void>;
51
- declare function envFlagEnabled(key:string):boolean;
52
- declare function shouldLogHandledErrorToSentry(exitCode:number):boolean;
53
- declare function maybeLogHandledCliErrorToSentry(params:{
54
- command:string;
55
- error_code:string;
56
- error_category:TelemetryErrorCategory;
57
- exit_code:number;
58
- error_message:string;
59
- command_resolution?:TelemetryCommandResolution;
60
- resolution_stage?:TelemetryResolutionStage;
61
- source_context?:string;
62
- },bootstrapGlobal?:GlobalOptions):Promise<boolean>;
63
- declare function handleGenericRunPmCliError(params:{
64
- error:unknown;
65
- attemptedCommand:string;
66
- bootstrapGlobal:GlobalOptions;
67
- emitTelemetryCommandError:(event:{
68
- command:string;
69
- errorCode:string;
70
- errorMessage:string;
71
- exitCode:number;
72
- options:Record<string,unknown>;
73
- resolutionStage:TelemetryResolutionStage;
74
- }) => Promise<{
75
- errorCategory:TelemetryErrorCategory;
76
- commandResolution:TelemetryCommandResolution;
77
- }>;
78
- }):Promise<void>;
79
- declare function toLooseFieldDefinitionType(fieldType:string):"string" | "number" | "boolean";
80
- declare function commandHasLongOption(command:Command,longFlag:string):boolean;
81
- declare function commandHasShortOption(command:Command,shortFlag:string):boolean;
82
- declare function addRuntimeFieldOption(command:Command,flagToken:string,description:string,repeatable:boolean):void;
83
- declare function collectRuntimeFieldLooseFlagDefinitionsForCommand(commandPath:string,pmRoot:string):Promise<LooseCommandFlagDefinition[]>;
84
- declare function registerRuntimeSchemaFieldFlags(rootProgram:Command,invocationArgv:string[]):Promise<void>;
85
- declare function maybeAttachCreateUpdatePolicyHelpText(rootProgram:Command,pmRoot:string,invocationArgv:string[],registrations:ReturnType<typeof createEmptyExtensionRegistrationRegistry>,settings?:PmSettings):Promise<void>;
86
- declare function defaultPreflightDecision():PreflightRuntimeDecision;
87
- declare function buildRuntimeExtensionSnapshotCacheKey(pmRoot:string,activationScope?:string):string;
88
- declare function bootstrapProfileEnabled(invocationArgv:string[]):boolean;
89
- declare function buildRuntimeExtensionDiscoverySnapshotCacheKey(pmRoot:string):string;
90
- /** Surface settings-read warnings once per command on stderr. readSettings() silently falls back to defaults when settings.json is invalid, so most commands (create/list/search/...) generate the warning but never show it — a typo would change behavior with no explanation. Only the `settings_read_*` codes are surfaced (the corrupt-settings fallbacks: invalid_json / invalid_schema / merge_failed); other informational settings warnings (schema bootstrap, legacy-format coercion) stay quiet. Mirrors the same finding in `pm health`, which also carries a remediation_map for it. */
91
- declare function emitSettingsReadWarnings(warnings:readonly string[]):void;
92
- declare function emitExtensionProfile(globalOptions:GlobalOptions,snapshot:RuntimeExtensionSnapshot):void;
93
- declare function emitExtensionSkippedProfile(profileEnabled:boolean | undefined,snapshot:RuntimeExtensionDiscoverySnapshot,probe:RuntimeExtensionActivationProbe):void;
94
- declare function loadRuntimeExtensionDiscoverySnapshot(pmRoot:string,readSettingsWithMetadataFn?:typeof readSettingsWithMetadata):Promise<RuntimeExtensionDiscoverySnapshot | null>;
95
- declare function loadRuntimeExtensionSnapshot(pmRoot:string,probe?:RuntimeExtensionActivationProbe,readSettingsFn?:typeof readSettings):Promise<RuntimeExtensionSnapshot | null>;
96
- declare function maybeLoadRuntimeExtensions(command:Command):Promise<{
97
- hooks:ExtensionHookRegistry;
98
- commands:ExtensionCommandRegistry;
99
- parsers:ExtensionParserRegistry;
100
- preflight:ExtensionPreflightRegistry;
101
- services:ExtensionServiceRegistry;
102
- renderers:ExtensionRendererRegistry;
103
- registrations:ReturnType<typeof createEmptyExtensionRegistrationRegistry>;
104
- pmRoot:string;
105
- } | null>;
106
- /** Load the complete installed registry for recovery without registering guessed command handlers. */
107
- declare function loadRuntimeExtensionCommandDescriptorsForRecovery(pmRoot:string):Promise<Map<string,ExtensionCommandHelpDescriptor>>;
108
- declare function executeRegisteredRuntimeMigrations(migrations:RegisteredExtensionSchemaMigrationDefinition[],pmRoot:string):Promise<string[]>;
109
- declare function runRequiredExtensionCommand(command:Command,options:Record<string,unknown>,globalOptions:GlobalOptions,extensionFlagDefinitions?:LooseCommandFlagDefinition[]):Promise<unknown>;
110
- /** Wrap each action once so validated parser overrides and extension handlers precede the original core action. */
111
- declare function wrapProgramActionsForExtensionHandlers(rootProgram:Command):void;
112
- /** Apply descendant-derived visibility to every generated extension namespace. */
113
- declare function applyDynamicExtensionRootHelpVisibility(rootProgram:Command,preexistingTopLevelCommands:ReadonlySet<string>,descriptors:ReadonlyMap<string,ExtensionCommandHelpDescriptor>):void;
114
- declare function registerDynamicExtensionCommandPaths(rootProgram:Command,invocationArgv:string[]):Promise<void>;
115
- /**
116
- * The root `program` is a module-level singleton. Any path that enters
117
- * `runPmCli` a second time in the same process (an embedding host, a long-lived
118
- * plugin runtime, or a retry) re-runs core command registration against it, and
119
- * Commander throws `cannot add command 'X' as already have command 'X'` on the
120
- * second pass. That is a raw `Error` (not a `CommandError`), so it escapes the
121
- * Sentry release-gate CLI-error allowlist and can silently block the daily
122
- * auto-release (Sentry PM-CLI-1R / pm-zyez — the fragility class pm-nb08 warns
123
- * about).
124
- *
125
- * Make top-level registration idempotent: a duplicate `program.command(name)`
126
- * returns a throwaway `Command`, so its chained `.argument()/.option()/.action()`
127
- * builders apply harmlessly while the already-wired original command is
128
- * preserved. The guard is installed once per program (Symbol flag) and only
129
- * short-circuits exact duplicates — every first-time registration still flows
130
- * through Commander untouched.
131
- */
132
- declare function ensureIdempotentTopLevelCommandRegistration(rootProgram:Command):void;
133
- type TelemetryCommandErrorEmitter = (params:{
134
- command:string;
135
- errorCode:string;
136
- errorMessage:string;
137
- exitCode:number;
138
- options:Record<string,unknown>;
139
- resolutionStage:TelemetryResolutionStage;
140
- }) => Promise<{
141
- errorCategory:TelemetryErrorCategory;
142
- commandResolution:TelemetryCommandResolution;
143
- }>;
144
- interface RunPmCliErrorContext {
145
- error:unknown;
146
- invocationArgv:string[];
147
- bootstrapGlobal:GlobalOptions;
148
- jsonErrors:boolean;
149
- bootstrapPmRoot:string;
150
- attemptedCommand:string;
151
- emitTelemetryCommandError:TelemetryCommandErrorEmitter;
152
- }
153
- declare function prepareExtensionServicesForRunPmCliError(params:{
154
- invocationArgv:string[];
155
- bootstrapGlobal:GlobalOptions;
156
- bootstrapPmRoot:string;
157
- }):Promise<void>;
158
- declare function setRecoveredExtensionServices(bootstrapSnapshot:Pick<RuntimeExtensionSnapshot,"services"> | null):void;
159
- declare function handleRunPmCliKnownError(context:RunPmCliErrorContext,numericExitCode:number | undefined):Promise<boolean>;
160
- /** Classify failed help requests by semantic operation so optional package recovery and error telemetry retain the attempted command. */
161
- declare function handleUnknownHelpCommandError(context:RunPmCliErrorContext,code:string | undefined):Promise<void>;
162
- declare function handleRunPmCliHelpDisplayError(context:RunPmCliErrorContext,code:string | undefined,rawMessage:string):Promise<boolean>;
163
- declare function handleRunPmCliCommanderUsageError(context:RunPmCliErrorContext,code:string):Promise<void>;
164
- declare function shouldHandleRunPmCliCommanderError(error:unknown):boolean;
165
- declare function handleRunPmCliCommanderError(context:RunPmCliErrorContext):Promise<void>;
166
- declare function handleRunPmCliError(params:{
167
- error:unknown;
168
- invocationArgv:string[];
169
- }):Promise<void>;
170
- /** Implements run pm cli for the public runtime surface of this module. */
171
- export declare function runPmCli(rawArgv?:string[]):Promise<void>;
172
- /** Public contract for test only, shared by SDK and presentation-layer consumers. */
173
- export declare const _testOnly:{
174
- activationCommandMatchesProbe:typeof activationCommandMatchesProbe;
175
- applyDynamicExtensionRootHelpVisibility:typeof applyDynamicExtensionRootHelpVisibility;
176
- bootstrapProfileEnabled:typeof bootstrapProfileEnabled;
177
- buildBootstrapActivationProbe:typeof buildBootstrapActivationProbe;
178
- buildPostActionTelemetryOutcome:typeof buildPostActionTelemetryOutcome;
179
- buildPmCliRecoveryContext:typeof buildPmCliRecoveryContext;
180
- buildRuntimeExtensionDiscoverySnapshotCacheKey:typeof buildRuntimeExtensionDiscoverySnapshotCacheKey;
181
- buildRuntimeExtensionActivationScope:typeof buildRuntimeExtensionActivationScope;
182
- buildRuntimeExtensionSnapshotCacheKey:typeof buildRuntimeExtensionSnapshotCacheKey;
183
- buildRuntimeExtensionFilterForProbe:typeof buildRuntimeExtensionFilterForProbe;
184
- addRuntimeFieldOption:typeof addRuntimeFieldOption;
185
- collectActivationCommandCandidates:typeof collectActivationCommandCandidates;
186
- collectExtensionFlagDefinitionsForCommand:typeof collectExtensionFlagDefinitionsForCommand;
187
- collectExtensionFlagDefinitionsForInvocation:typeof collectExtensionFlagDefinitionsForInvocation;
188
- collectLeadingCommandArgs:typeof collectLeadingCommandArgs;
189
- collectParsedActivationCommandArgs:typeof collectParsedActivationCommandArgs;
190
- collectRuntimeFieldLooseFlagDefinitionsForCommand:typeof collectRuntimeFieldLooseFlagDefinitionsForCommand;
191
- commandHasLongOption:typeof commandHasLongOption;
192
- commandHasShortOption:typeof commandHasShortOption;
193
- commandPathNeedsSearchExtensions:typeof commandPathNeedsSearchExtensions;
194
- commandPathNeedsTemplateExtensions:typeof commandPathNeedsTemplateExtensions;
195
- describeUnknownError:typeof describeUnknownError;
196
- defaultPreflightDecision:typeof defaultPreflightDecision;
197
- discoveryNeedsActivationForProbe:typeof discoveryNeedsActivationForProbe;
198
- emitExtensionProfile:typeof emitExtensionProfile;
199
- emitExtensionSkippedProfile:typeof emitExtensionSkippedProfile;
200
- emitSettingsReadWarnings:typeof emitSettingsReadWarnings;
201
- ensureIdempotentTopLevelCommandRegistration:typeof ensureIdempotentTopLevelCommandRegistration;
202
- enforceExplicitRetryForFlagTypos:typeof enforceExplicitRetryForFlagTypos;
203
- envFlagEnabled:typeof envFlagEnabled;
204
- executeRegisteredRuntimeMigrations:typeof executeRegisteredRuntimeMigrations;
205
- extractCommandScopedOptions:typeof extractCommandScopedOptions;
206
- extensionActivationCommands:typeof extensionActivationCommands;
207
- extensionCapabilities:typeof extensionCapabilities;
208
- extensionNeedsActivationForProbe:typeof extensionNeedsActivationForProbe;
209
- extensionProvidesTemplatesRuntime:typeof extensionProvidesTemplatesRuntime;
210
- hasAnyCapability:typeof hasAnyCapability;
211
- hasGlobalExtensionContributions:typeof hasGlobalExtensionContributions;
212
- handleGenericRunPmCliError:typeof handleGenericRunPmCliError;
213
- handleRunPmCliCommanderError:typeof handleRunPmCliCommanderError;
214
- handleRunPmCliError:typeof handleRunPmCliError;
215
- handleRunPmCliHelpDisplayError:typeof handleRunPmCliHelpDisplayError;
216
- handleRunPmCliKnownError:typeof handleRunPmCliKnownError;
217
- handleRunPmCliCommanderUsageError:typeof handleRunPmCliCommanderUsageError;
218
- handleUnknownHelpCommandError:typeof handleUnknownHelpCommandError;
219
- inferMissingFieldsFromErrorMessage:typeof inferMissingFieldsFromErrorMessage;
220
- inferPostActionErrorCode:typeof inferPostActionErrorCode;
221
- inferPostActionFailureMessage:typeof inferPostActionFailureMessage;
222
- invocationRequestsVersion:typeof invocationRequestsVersion;
223
- isCommanderError:typeof isCommanderError;
224
- loadRuntimeExtensionCommandDescriptorsForRecovery:typeof loadRuntimeExtensionCommandDescriptorsForRecovery;
225
- loadRuntimeExtensionDiscoverySnapshot:typeof loadRuntimeExtensionDiscoverySnapshot;
226
- loadRuntimeExtensionSnapshot:typeof loadRuntimeExtensionSnapshot;
227
- maybeLoadRuntimeExtensions:typeof maybeLoadRuntimeExtensions;
228
- maybeAttachCreateUpdatePolicyHelpText:typeof maybeAttachCreateUpdatePolicyHelpText;
229
- maybeLogHandledCliErrorToSentry:typeof maybeLogHandledCliErrorToSentry;
230
- matchesStaticExtensionCommand:typeof matchesStaticExtensionCommand;
231
- normalizeTelemetryCommandResolution:typeof normalizeTelemetryCommandResolution;
232
- normalizeTelemetryErrorCategory:typeof normalizeTelemetryErrorCategory;
233
- normalizeTelemetryResolutionStage:typeof normalizeTelemetryResolutionStage;
234
- normalizeThrownExitCode:typeof normalizeThrownExitCode;
235
- probeUsesAnyFlag:typeof probeUsesAnyFlag;
236
- prepareExtensionServicesForRunPmCliError:typeof prepareExtensionServicesForRunPmCliError;
237
- readRecordBoolean:typeof readRecordBoolean;
238
- readRecordNumber:typeof readRecordNumber;
239
- readRecordString:typeof readRecordString;
240
- recordCliReadOutputInvocationProvenance:typeof recordCliReadOutputInvocationProvenance;
241
- registerDynamicExtensionCommandPaths:typeof registerDynamicExtensionCommandPaths;
242
- registerRuntimeSchemaFieldFlags:typeof registerRuntimeSchemaFieldFlags;
243
- resolveCoreCommandRegistrationSelection:typeof resolveCoreCommandRegistrationSelection;
244
- resolveStaticExtensionActivationDecision:typeof resolveStaticExtensionActivationDecision;
245
- resolveUnknownHelpToken:typeof resolveUnknownCommanderToken;
246
- readThrownExitCode:typeof readThrownExitCode;
247
- runAndClearAfterCommandHooks:typeof runAndClearAfterCommandHooks;
248
- runRequiredExtensionCommand:typeof runRequiredExtensionCommand;
249
- shouldAttachRichHelpTextForInvocation:typeof shouldAttachRichHelpTextForInvocation;
250
- shouldLogHandledErrorToSentry:typeof shouldLogHandledErrorToSentry;
251
- shouldRegisterDynamicExtensionPaths:typeof shouldRegisterDynamicExtensionPaths;
252
- shouldRegisterRuntimeSchemaFlags:typeof shouldRegisterRuntimeSchemaFlags;
253
- shouldHandleRunPmCliCommanderError:typeof shouldHandleRunPmCliCommanderError;
254
- setActiveExtensionHookContextForTest:typeof setActiveExtensionHookContextForTest;
255
- setActiveRuntimeExtensionCommandDescriptorsForTest:typeof setActiveRuntimeExtensionCommandDescriptorsForTest;
256
- setRecoveredExtensionServices:typeof setRecoveredExtensionServices;
257
- toLooseFieldDefinitionType:typeof toLooseFieldDefinitionType;
258
- isImporterOrExporterCommandPath:typeof isImporterOrExporterCommandPath;
259
- validateDynamicExtensionCommandInvocation:typeof validateDynamicExtensionCommandInvocation;
260
- wrapProgramActionsForExtensionHandlers:typeof wrapProgramActionsForExtensionHandlers;
261
- wrapThrownErrorForSentry:typeof wrapThrownErrorForSentry;
262
- };
263
- export {};