@unbrained/pm-cli 2026.11.5 → 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 (349) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +20 -0
  3. package/dist/cli/expected-revisions.js +1 -1
  4. package/dist/cli/main.js +1 -1
  5. package/dist/cli/register-operations.js +1 -1
  6. package/dist/cli/runtime/close-fields-retry.js +2 -0
  7. package/dist/cli-bundle/bundle-manifest.json +1 -1
  8. package/dist/cli-bundle/chunks/chunk-3DI6CEF3.js +3 -0
  9. package/dist/cli-bundle/chunks/{chunk-6VRX2CM7.js → chunk-4PPWVIIT.js} +2 -2
  10. package/dist/cli-bundle/chunks/{chunk-7ZRCYESH.js → chunk-5KHLV7JU.js} +47 -47
  11. package/dist/cli-bundle/chunks/{chunk-JI2GDE4I.js → chunk-BQ5O3CBF.js} +51 -51
  12. package/dist/cli-bundle/chunks/{chunk-F6NDMKZ4.js → chunk-COKKWMSC.js} +2 -2
  13. package/dist/cli-bundle/chunks/chunk-D53G3NOE.js +6 -0
  14. package/dist/cli-bundle/chunks/{chunk-LS3GI3H4.js → chunk-ETHAZC3F.js} +2 -2
  15. package/dist/cli-bundle/chunks/chunk-F3B2ULHB.js +122 -0
  16. package/dist/cli-bundle/chunks/chunk-JZWFZH2K.js +2 -0
  17. package/dist/cli-bundle/chunks/{chunk-335BZ75D.js → chunk-KPAVZILX.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-OH6WQ7VT.js → chunk-MQOZNGPS.js} +2 -2
  19. package/dist/cli-bundle/chunks/chunk-O6TIOKCM.js +9 -0
  20. package/dist/cli-bundle/chunks/{chunk-XLSHFYXZ.js → chunk-OIBSKKCO.js} +2 -2
  21. package/dist/cli-bundle/chunks/{chunk-HRFGFIYU.js → chunk-OJZG7Y6S.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-HRCMORE7.js → chunk-QG6FLDM4.js} +2 -2
  23. package/dist/cli-bundle/chunks/{chunk-D7KYPRK4.js → chunk-RFI4O6NU.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-OJDMJT7Y.js → chunk-TGQPCNAD.js} +2 -2
  25. package/dist/cli-bundle/chunks/{chunk-DAX3AOFI.js → chunk-VM6OGNQC.js} +2 -2
  26. package/dist/cli-bundle/chunks/{chunk-S4LPZ4TN.js → chunk-WS2N4TQW.js} +7 -7
  27. package/dist/cli-bundle/chunks/{chunk-UEGXWXUZ.js → chunk-WXVMPLBY.js} +2 -2
  28. package/dist/cli-bundle/chunks/{chunk-2RPORE7M.js → chunk-WYIDX67P.js} +30 -30
  29. package/dist/cli-bundle/chunks/{chunk-7DEKAXVA.js → chunk-XSEDESNW.js} +2 -2
  30. package/dist/cli-bundle/chunks/item-revision-SPEKTFBB.js +2 -0
  31. package/dist/cli-bundle/chunks/item-transaction-BT55TQXE.js +2 -0
  32. package/dist/cli-bundle/chunks/{mutation-admission-INMM3HHG.js → mutation-admission-LUXUKISJ.js} +2 -2
  33. package/dist/cli-bundle/chunks/{register-list-query-5Y5JKWU5.js → register-list-query-DU4W7VJU.js} +3 -3
  34. package/dist/cli-bundle/chunks/{register-mutation-WC7OSQID.js → register-mutation-IC2C53QK.js} +2 -2
  35. package/dist/cli-bundle/chunks/register-operations-AHDWE2G3.js +2 -0
  36. package/dist/cli-bundle/chunks/{register-setup-RRFOS7IT.js → register-setup-7BGG3CI3.js} +2 -2
  37. package/dist/cli-bundle/chunks/{stage-E3MMV4TV.js → stage-S5BYWLGY.js} +2 -2
  38. package/dist/cli-bundle/focused-chunks/{chunk-CPMSL4HS.js → chunk-4EXRRSDS.js} +2 -2
  39. package/dist/cli-bundle/focused-chunks/chunk-4LDOL6U7.js +26 -0
  40. package/dist/cli-bundle/focused-chunks/chunk-A46YSPRF.js +2 -0
  41. package/dist/cli-bundle/focused-chunks/{chunk-RFTJZ5VB.js → chunk-AI2PYNFI.js} +2 -2
  42. package/dist/cli-bundle/focused-chunks/chunk-AJ2I377F.js +44 -0
  43. package/dist/cli-bundle/focused-chunks/{chunk-NQ7GYFOX.js → chunk-BIDF4KO7.js} +5 -5
  44. package/dist/cli-bundle/focused-chunks/{chunk-VWWTIX5L.js → chunk-CWFNQQZE.js} +2 -2
  45. package/dist/cli-bundle/focused-chunks/chunk-D3U7FOZR.js +2 -0
  46. package/dist/cli-bundle/focused-chunks/{chunk-F62XGAAY.js → chunk-G2VIY6XA.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/{chunk-MG7C3JUY.js → chunk-GFF6BITP.js} +2 -2
  48. package/dist/cli-bundle/focused-chunks/{chunk-LW64TINU.js → chunk-IIBWXNW3.js} +2 -2
  49. package/dist/cli-bundle/focused-chunks/{chunk-AHWJPZSJ.js → chunk-IYJRFJHT.js} +2 -2
  50. package/dist/cli-bundle/focused-chunks/{chunk-D2TBEBNW.js → chunk-J5N42SKC.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/{chunk-MC7IE7D7.js → chunk-JRJOFMI7.js} +2 -2
  52. package/dist/cli-bundle/focused-chunks/{chunk-CZM75DE3.js → chunk-KL33JMPC.js} +2 -2
  53. package/dist/cli-bundle/focused-chunks/{chunk-E56OXRYH.js → chunk-LH4C7BLB.js} +2 -2
  54. package/dist/cli-bundle/focused-chunks/{chunk-YMGB2O4E.js → chunk-LTQEYE2L.js} +2 -2
  55. package/dist/cli-bundle/focused-chunks/chunk-LTTMERPN.js +12 -0
  56. package/dist/cli-bundle/focused-chunks/{chunk-7KK66ISG.js → chunk-LW4TN5ZM.js} +2 -2
  57. package/dist/cli-bundle/focused-chunks/{chunk-XHOBYCVE.js → chunk-MESFDQ3H.js} +2 -2
  58. package/dist/cli-bundle/focused-chunks/{chunk-G4QP365K.js → chunk-MWTBAI3V.js} +2 -2
  59. package/dist/cli-bundle/focused-chunks/chunk-TWULNB3N.js +2 -0
  60. package/dist/cli-bundle/focused-chunks/{chunk-C6P6HPCX.js → chunk-XAC6NP7U.js} +2 -2
  61. package/dist/cli-bundle/focused-chunks/{chunk-GS3JC5UU.js → chunk-XG3TBYQK.js} +2 -2
  62. package/dist/cli-bundle/focused-chunks/chunk-XMZAFKVP.js +91 -0
  63. package/dist/cli-bundle/focused-chunks/item-revision-ELI6NGMY.js +2 -0
  64. package/dist/cli-bundle/focused-chunks/{item-transaction-AEAYVVHA.js → item-transaction-GUGAUY77.js} +2 -2
  65. package/dist/cli-bundle/focused-chunks/{mutation-admission-4WM7TNHZ.js → mutation-admission-54FI37AA.js} +2 -2
  66. package/dist/cli-bundle/focused-chunks/{stage-WV7QXR4C.js → stage-OHDJ43T2.js} +2 -2
  67. package/dist/cli-bundle/main.js +31 -31
  68. package/dist/cli-bundle/sdk-authoring.js +1 -1
  69. package/dist/cli-bundle/sdk-contracts.js +1 -1
  70. package/dist/cli-bundle/sdk-core.js +1 -1
  71. package/dist/cli-bundle/sdk-governance.js +1 -1
  72. package/dist/cli-bundle/sdk-graph.js +1 -1
  73. package/dist/cli-bundle/sdk-merge.js +57 -57
  74. package/dist/cli-bundle/sdk-query.js +1 -1
  75. package/dist/cli-bundle/sdk-runtime.js +1 -1
  76. package/dist/cli-bundle/sdk-testing.js +1 -1
  77. package/dist/cli-bundle/sdk.js +2 -2
  78. package/dist/core/store/item-mutation-precondition.d.ts +58 -0
  79. package/dist/core/store/item-mutation-precondition.js +1 -1
  80. package/dist/sdk/command-line.d.ts +5 -1
  81. package/dist/sdk/command-line.js +1 -1
  82. package/dist/sdk/governance/health/projection.js +1 -1
  83. package/dist/sdk/governance/health.d.ts +3 -3
  84. package/dist/sdk/governance/health.js +2 -2
  85. package/dist/sdk/lifecycle/close.js +1 -1
  86. package/dist/sdk/lifecycle/item-revision.d.ts +15 -4
  87. package/dist/sdk/lifecycle/item-revision.js +1 -1
  88. package/dist/sdk/output/list-envelope.d.ts +18 -7
  89. package/dist/sdk/output/list-envelope.js +1 -1
  90. package/dist/sdk/output-projection.js +1 -1
  91. package/dist/sdk/public-surface.json +1 -1
  92. package/dist/sdk/query/get.d.ts +16 -6
  93. package/dist/sdk/query/get.js +1 -1
  94. package/dist/sdk/query/search/response.js +1 -1
  95. package/dist/sdk/runtime.js +1 -1
  96. package/docs/CLOSE_EVIDENCE_RECOVERY.md +36 -2
  97. package/docs/COMMANDS.md +10 -1
  98. package/docs/GET_READ_EVIDENCE.md +24 -3
  99. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +7 -0
  100. package/docs/RELEASING.md +41 -6
  101. package/docs/SDK.md +24 -7
  102. package/marketplace.json +1 -1
  103. package/package.json +1 -1
  104. package/packages/pm-beads/package.json +1 -1
  105. package/packages/pm-calendar/package.json +1 -1
  106. package/packages/pm-command-kit/package.json +1 -1
  107. package/packages/pm-digital-twin/package.json +1 -1
  108. package/packages/pm-governance-audit/package.json +1 -1
  109. package/packages/pm-guide-shell/package.json +1 -1
  110. package/packages/pm-kanban/package.json +1 -1
  111. package/packages/pm-lifecycle-hooks/package.json +1 -1
  112. package/packages/pm-linked-test-adapters/package.json +1 -1
  113. package/packages/pm-search-advanced/package.json +1 -1
  114. package/packages/pm-templates/package.json +1 -1
  115. package/packages/pm-todos/package.json +1 -1
  116. package/packages/pm-vcs/package.json +1 -1
  117. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  118. package/plugins/pm-claude/package.json +1 -1
  119. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  120. package/plugins/pm-codex/package.json +1 -1
  121. package/plugins/pm-codex/plugin.json +1 -1
  122. package/runtime-dependencies.json +1 -1
  123. package/dist/cli/after-command-context-usage.d.ts +0 -21
  124. package/dist/cli/argv-utils.d.ts +0 -12
  125. package/dist/cli/bootstrap-args.d.ts +0 -6
  126. package/dist/cli/bundle-integrity.d.ts +0 -49
  127. package/dist/cli/command-namespaces.d.ts +0 -9
  128. package/dist/cli/commander-usage.d.ts +0 -73
  129. package/dist/cli/commands/annotations/comments.d.ts +0 -2
  130. package/dist/cli/commands/annotations/docs.d.ts +0 -6
  131. package/dist/cli/commands/annotations/files.d.ts +0 -6
  132. package/dist/cli/commands/annotations/learnings.d.ts +0 -2
  133. package/dist/cli/commands/annotations/notes.d.ts +0 -2
  134. package/dist/cli/commands/extension/describe.d.ts +0 -2
  135. package/dist/cli/commands/extension/extension.d.ts +0 -6
  136. package/dist/cli/commands/extension/scaffold.d.ts +0 -2
  137. package/dist/cli/commands/extension/shared.d.ts +0 -2
  138. package/dist/cli/commands/governance/gc.d.ts +0 -6
  139. package/dist/cli/commands/governance/health.d.ts +0 -6
  140. package/dist/cli/commands/governance/telemetry.d.ts +0 -6
  141. package/dist/cli/commands/governance/validate.d.ts +0 -9
  142. package/dist/cli/commands/history/activity.d.ts +0 -6
  143. package/dist/cli/commands/history/history-compact.d.ts +0 -7
  144. package/dist/cli/commands/history/history-redact.d.ts +0 -8
  145. package/dist/cli/commands/history/history-repair.d.ts +0 -7
  146. package/dist/cli/commands/history/history.d.ts +0 -2
  147. package/dist/cli/commands/history/restore.d.ts +0 -6
  148. package/dist/cli/commands/lifecycle/append.d.ts +0 -6
  149. package/dist/cli/commands/lifecycle/claim.d.ts +0 -2
  150. package/dist/cli/commands/lifecycle/close-many.d.ts +0 -2
  151. package/dist/cli/commands/lifecycle/close.d.ts +0 -6
  152. package/dist/cli/commands/lifecycle/copy.d.ts +0 -6
  153. package/dist/cli/commands/lifecycle/create.d.ts +0 -10
  154. package/dist/cli/commands/lifecycle/delete.d.ts +0 -6
  155. package/dist/cli/commands/lifecycle/focus.d.ts +0 -6
  156. package/dist/cli/commands/lifecycle/plan.d.ts +0 -9
  157. package/dist/cli/commands/lifecycle/update-many.d.ts +0 -6
  158. package/dist/cli/commands/lifecycle/update.d.ts +0 -10
  159. package/dist/cli/commands/query/aggregate.d.ts +0 -2
  160. package/dist/cli/commands/query/context.d.ts +0 -6
  161. package/dist/cli/commands/query/deps.d.ts +0 -6
  162. package/dist/cli/commands/query/duplicates.d.ts +0 -6
  163. package/dist/cli/commands/query/eval.d.ts +0 -6
  164. package/dist/cli/commands/query/get.d.ts +0 -6
  165. package/dist/cli/commands/query/graph.d.ts +0 -7
  166. package/dist/cli/commands/query/list.d.ts +0 -6
  167. package/dist/cli/commands/query/next.d.ts +0 -6
  168. package/dist/cli/commands/query/search.d.ts +0 -6
  169. package/dist/cli/commands/query/stats.d.ts +0 -6
  170. package/dist/cli/commands/test/test-all.d.ts +0 -6
  171. package/dist/cli/commands/test/test-runs.d.ts +0 -6
  172. package/dist/cli/commands/test/test.d.ts +0 -6
  173. package/dist/cli/commands/workspace/config.d.ts +0 -6
  174. package/dist/cli/commands/workspace/contracts.d.ts +0 -2
  175. package/dist/cli/commands/workspace/init.d.ts +0 -6
  176. package/dist/cli/commands/workspace/merge.d.ts +0 -8
  177. package/dist/cli/commands/workspace/profile.d.ts +0 -6
  178. package/dist/cli/commands/workspace/schema.d.ts +0 -7
  179. package/dist/cli/commands/workspace/upgrade.d.ts +0 -2
  180. package/dist/cli/context-intent-invocation.d.ts +0 -2
  181. package/dist/cli/description-stdin.d.ts +0 -2
  182. package/dist/cli/error-guidance.d.ts +0 -276
  183. package/dist/cli/expected-revisions.d.ts +0 -55
  184. package/dist/cli/extension-command-help.d.ts +0 -137
  185. package/dist/cli/extension-command-options.d.ts +0 -37
  186. package/dist/cli/extension-recovery.d.ts +0 -31
  187. package/dist/cli/help-content.d.ts +0 -57
  188. package/dist/cli/help-json-payload.d.ts +0 -83
  189. package/dist/cli/invocation-profile.d.ts +0 -26
  190. package/dist/cli/main.d.ts +0 -263
  191. package/dist/cli/migration-gates.d.ts +0 -55
  192. package/dist/cli/option-values.d.ts +0 -3
  193. package/dist/cli/preflight-warnings.d.ts +0 -11
  194. package/dist/cli/register-annotations.d.ts +0 -11
  195. package/dist/cli/register-assurance.d.ts +0 -8
  196. package/dist/cli/register-files-lookup.d.ts +0 -9
  197. package/dist/cli/register-history-activity.d.ts +0 -8
  198. package/dist/cli/register-history-author.d.ts +0 -8
  199. package/dist/cli/register-history-maintenance.d.ts +0 -9
  200. package/dist/cli/register-list-query.d.ts +0 -27
  201. package/dist/cli/register-mutation-options.d.ts +0 -10
  202. package/dist/cli/register-mutation.d.ts +0 -16
  203. package/dist/cli/register-operations.d.ts +0 -85
  204. package/dist/cli/register-setup.d.ts +0 -16
  205. package/dist/cli/register-structured-mutation.d.ts +0 -15
  206. package/dist/cli/registration-helpers.d.ts +0 -2
  207. package/dist/cli/runtime/activation.d.ts +0 -51
  208. package/dist/cli/runtime/field-route-retry.d.ts +0 -15
  209. package/dist/cli/runtime/invocation-options.d.ts +0 -43
  210. package/dist/cli/runtime/projection-retry.d.ts +0 -9
  211. package/dist/cli/runtime/selection.d.ts +0 -35
  212. package/dist/cli/runtime/telemetry-outcome.d.ts +0 -20
  213. package/dist/cli/runtime-compatibility-boundary.d.ts +0 -17
  214. package/dist/cli/schema/registration.d.ts +0 -4
  215. package/dist/cli/schema-registration-helpers.d.ts +0 -24
  216. package/dist/cli/search-refresh.d.ts +0 -2
  217. package/dist/cli/stats-analytics-json.d.ts +0 -9
  218. package/dist/cli/telemetry-flush.d.ts +0 -2
  219. package/dist/cli-bundle/chunks/chunk-5GWEY4P6.js +0 -122
  220. package/dist/cli-bundle/chunks/chunk-AUEKTX7V.js +0 -6
  221. package/dist/cli-bundle/chunks/chunk-FRNMQM45.js +0 -2
  222. package/dist/cli-bundle/chunks/chunk-HNGLDMSZ.js +0 -9
  223. package/dist/cli-bundle/chunks/chunk-YKXATU2G.js +0 -3
  224. package/dist/cli-bundle/chunks/item-revision-OJJVPQY7.js +0 -2
  225. package/dist/cli-bundle/chunks/item-transaction-QEPBUCMY.js +0 -2
  226. package/dist/cli-bundle/chunks/register-operations-PO63DBZH.js +0 -2
  227. package/dist/cli-bundle/focused-chunks/chunk-5PMJOJCZ.js +0 -44
  228. package/dist/cli-bundle/focused-chunks/chunk-G5PJCR7R.js +0 -2
  229. package/dist/cli-bundle/focused-chunks/chunk-M6V7UMWL.js +0 -26
  230. package/dist/cli-bundle/focused-chunks/chunk-MK4HV4JO.js +0 -2
  231. package/dist/cli-bundle/focused-chunks/chunk-O7EI33NP.js +0 -91
  232. package/dist/cli-bundle/focused-chunks/chunk-SNOXXRSJ.js +0 -2
  233. package/dist/cli-bundle/focused-chunks/chunk-UPJUTP2V.js +0 -12
  234. package/dist/cli-bundle/focused-chunks/item-revision-CTDO4H3I.js +0 -2
  235. package/dist/cli.d.ts +0 -13
  236. package/dist/core/checkpoint/checkpoint-gc.d.ts +0 -61
  237. package/dist/core/checkpoint/mutation-context.d.ts +0 -10
  238. package/dist/core/diagnostics/remediation.d.ts +0 -52
  239. package/dist/core/extensions/activation-transaction.d.ts +0 -22
  240. package/dist/core/extensions/command-visibility-tier.d.ts +0 -8
  241. package/dist/core/extensions/exporter-output-contract.d.ts +0 -12
  242. package/dist/core/extensions/extension-candidate.d.ts +0 -26
  243. package/dist/core/extensions/extension-runtime-helpers.d.ts +0 -16
  244. package/dist/core/extensions/module-graph-snapshot.d.ts +0 -19
  245. package/dist/core/extensions/preflight-ownership.d.ts +0 -5
  246. package/dist/core/extensions/read-output-contract.d.ts +0 -5
  247. package/dist/core/extensions/reserved-host-flags.d.ts +0 -18
  248. package/dist/core/extensions/service-ownership.d.ts +0 -8
  249. package/dist/core/extensions/version-diagnostics.d.ts +0 -2
  250. package/dist/core/fs/atomic-create.d.ts +0 -7
  251. package/dist/core/fs/index.d.ts +0 -6
  252. package/dist/core/fs/path-utils.d.ts +0 -2
  253. package/dist/core/history/drift-cache.d.ts +0 -4
  254. package/dist/core/history/drift-scan.d.ts +0 -51
  255. package/dist/core/history/index.d.ts +0 -6
  256. package/dist/core/history/tombstone.d.ts +0 -3
  257. package/dist/core/history/version-address.d.ts +0 -13
  258. package/dist/core/item/index.d.ts +0 -9
  259. package/dist/core/item/item-type-definition.d.ts +0 -51
  260. package/dist/core/item/toon-decode.d.ts +0 -25
  261. package/dist/core/lock/index.d.ts +0 -6
  262. package/dist/core/lock/lock-confinement.d.ts +0 -55
  263. package/dist/core/lock/lock-gc.d.ts +0 -93
  264. package/dist/core/output/mutation-projection.d.ts +0 -13
  265. package/dist/core/output/query-summary.d.ts +0 -30
  266. package/dist/core/search/staleness.d.ts +0 -23
  267. package/dist/core/sentry/sensitive-assignments.d.ts +0 -9
  268. package/dist/core/shared/conflict-markers.d.ts +0 -18
  269. package/dist/core/shared/index.d.ts +0 -9
  270. package/dist/core/shared/memo.d.ts +0 -7
  271. package/dist/core/store/index.d.ts +0 -9
  272. package/dist/core/store/settings-concurrency.d.ts +0 -7
  273. package/dist/core/telemetry/read-sampling.d.ts +0 -8
  274. package/dist/core/test/item-test-run-tracking.d.ts +0 -12
  275. package/dist/core/validate/estimate-defaults.d.ts +0 -21
  276. package/dist/core/validate/linked-artifact-reference.d.ts +0 -20
  277. package/dist/mcp/http-server.d.ts +0 -60
  278. package/dist/mcp/legacy-adapter.d.ts +0 -59
  279. package/dist/mcp/runtime-capabilities.d.ts +0 -57
  280. package/dist/mcp/server.d.ts +0 -101
  281. package/dist/sdk/cli-contracts/bootstrap-command-scanner.d.ts +0 -23
  282. package/dist/sdk/cli-contracts/registration-helpers.d.ts +0 -123
  283. package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +0 -796
  284. package/dist/sdk/cli-contracts/string-lists.d.ts +0 -9
  285. package/dist/sdk/cli-contracts/tool-parameter-tables.d.ts +0 -35
  286. package/dist/sdk/context/usage-egress.d.ts +0 -9
  287. package/dist/sdk/dependencies/context-budget-recovery.d.ts +0 -21
  288. package/dist/sdk/dependency-flag-validation.d.ts +0 -32
  289. package/dist/sdk/extension/author-manifest.d.ts +0 -22
  290. package/dist/sdk/extension/bundled-catalog.d.ts +0 -35
  291. package/dist/sdk/extension/concurrency.d.ts +0 -7
  292. package/dist/sdk/extension/copy-scope.d.ts +0 -2
  293. package/dist/sdk/extension/custom-field-collisions.d.ts +0 -6
  294. package/dist/sdk/extension/install-receipts.d.ts +0 -7
  295. package/dist/sdk/extension/install-snapshot.d.ts +0 -34
  296. package/dist/sdk/extension/managed-update-status.d.ts +0 -3
  297. package/dist/sdk/extension/runtime-summary.d.ts +0 -9
  298. package/dist/sdk/extension/scaffold.d.ts +0 -38
  299. package/dist/sdk/generated/error-code-catalog-rows.d.ts +0 -39
  300. package/dist/sdk/generated/generated-error-code-catalog-part-1.d.ts +0 -8
  301. package/dist/sdk/generated/generated-error-code-catalog-part-2.d.ts +0 -8
  302. package/dist/sdk/governance/assurance-limits.d.ts +0 -7
  303. package/dist/sdk/governance/defect-recurrence-signals.d.ts +0 -10
  304. package/dist/sdk/governance/health-merge-evidence.d.ts +0 -23
  305. package/dist/sdk/governance/tracked-runtime-cache.d.ts +0 -24
  306. package/dist/sdk/governance/validate-history-drift.d.ts +0 -7
  307. package/dist/sdk/history/attestation-scan.d.ts +0 -16
  308. package/dist/sdk/history-mcp.d.ts +0 -17
  309. package/dist/sdk/lifecycle/checkpoint-rollback.d.ts +0 -15
  310. package/dist/sdk/lifecycle/core-field-recovery.d.ts +0 -33
  311. package/dist/sdk/lifecycle/core-item-fields.d.ts +0 -6
  312. package/dist/sdk/lifecycle/event-validation-messages.d.ts +0 -6
  313. package/dist/sdk/lifecycle/hierarchy-mutation-lock.d.ts +0 -15
  314. package/dist/sdk/lifecycle/legacy-none-tokens.d.ts +0 -71
  315. package/dist/sdk/lifecycle/mcp-actions.d.ts +0 -24
  316. package/dist/sdk/lifecycle/metadata-normalizers.d.ts +0 -8
  317. package/dist/sdk/lifecycle/mutation-facet-contracts.d.ts +0 -6
  318. package/dist/sdk/lifecycle/mutation-option-validation.d.ts +0 -2
  319. package/dist/sdk/lifecycle/recurrence-parsers.d.ts +0 -34
  320. package/dist/sdk/lifecycle/release-handoff.d.ts +0 -12
  321. package/dist/sdk/lifecycle/repeatable-metadata-parsers.d.ts +0 -18
  322. package/dist/sdk/lifecycle/repeated-terminal-state.d.ts +0 -45
  323. package/dist/sdk/merge/abandoned-receipts.d.ts +0 -15
  324. package/dist/sdk/merge/history-scalar-rebase.d.ts +0 -9
  325. package/dist/sdk/merge/ignored-artifacts.d.ts +0 -13
  326. package/dist/sdk/merge/indexed-receipt-blobs.d.ts +0 -4
  327. package/dist/sdk/merge/receipt-file-boundary.d.ts +0 -23
  328. package/dist/sdk/merge/settlement-hook.d.ts +0 -12
  329. package/dist/sdk/merge/stage.d.ts +0 -13
  330. package/dist/sdk/merge/worktree-config.d.ts +0 -11
  331. package/dist/sdk/query/light-metadata.d.ts +0 -3
  332. package/dist/sdk/query/window-pagination.d.ts +0 -20
  333. package/dist/sdk/read-output/extension.d.ts +0 -7
  334. package/dist/sdk/read-output/provenance.d.ts +0 -20
  335. package/dist/sdk/read-output/surfaces.d.ts +0 -27
  336. package/dist/sdk/runtime/actions.d.ts +0 -4
  337. package/dist/sdk/runtime/mutation-admission.d.ts +0 -2
  338. package/dist/sdk/runtime/mutation-value-validation.d.ts +0 -16
  339. package/dist/sdk/runtime/schema.d.ts +0 -4
  340. package/dist/sdk/runtime-action-aliases.d.ts +0 -7
  341. package/dist/sdk/runtime-extended-actions.d.ts +0 -27
  342. package/dist/sdk/runtime-stats-options.d.ts +0 -9
  343. package/dist/sdk/test/command-args.d.ts +0 -4
  344. package/dist/sdk/test/command-resolution.d.ts +0 -5
  345. package/dist/sdk/test/entry.d.ts +0 -18
  346. package/dist/sdk/test/execution-receipts.d.ts +0 -34
  347. package/dist/sdk/test/receipt-index-snapshot.d.ts +0 -2
  348. package/dist/sdk/test/workspace-snapshot.d.ts +0 -11
  349. package/dist/sdk/traceability/runtime-files-lookup.d.ts +0 -8
@@ -1,85 +0,0 @@
1
- import type { Command } from "commander";
2
- import { requireClaimTarget } from "./commands/lifecycle/claim.js";
3
- /** Refuse mutations and trust acknowledgement before scheduling an execution-only background run. */
4
- declare function validateBackgroundTestOptions(options:Record<string,unknown>,values:{
5
- addValues:string[];
6
- addJsonValues:string[];
7
- removeValues:string[];
8
- removeIndexValues:string[];
9
- }):void;
10
- /** Translate CLI option values into the shared SDK linked-test action contract. */
11
- declare function buildRunTestOptions(options:Record<string,unknown>,values:{
12
- addValues:string[];
13
- addJsonValues:string[];
14
- removeValues:string[];
15
- removeIndexValues:string[];
16
- }):{
17
- list:boolean;
18
- run:boolean;
19
- match:string | undefined;
20
- onlyIndex:string | number | undefined;
21
- onlyLast:boolean;
22
- timeout:string | undefined;
23
- progress:boolean;
24
- envSet:string[];
25
- envClear:string[];
26
- sharedHostSafe:boolean;
27
- pmContext:string | undefined;
28
- overrideLinkedPmContext:boolean;
29
- workspaceContext:string | undefined;
30
- overrideLinkedWorkspaceContext:boolean;
31
- allowUntrustedLinkedTests:boolean;
32
- acknowledgeLinkedTests:boolean;
33
- failOnContextMismatch:boolean;
34
- failOnSkipped:boolean;
35
- failOnEmptyTestRun:boolean;
36
- requireAssertionsForPm:boolean;
37
- checkContext:boolean;
38
- autoPmContext:boolean;
39
- author:string | undefined;
40
- message:string | undefined;
41
- force:boolean;
42
- measure:string[];
43
- metricBelow:string | undefined;
44
- metricDiff:string | undefined;
45
- update:string | undefined;
46
- updateIndex:string | number | undefined;
47
- setJson:string | undefined;
48
- add:string[];
49
- addJson:string[];
50
- remove:string[];
51
- removeIndex:string[];
52
- };
53
- /** Public contract for test-only operation adapter coverage. */
54
- export declare const _testOnlyRegisterOperations:{
55
- buildRunTestOptions:typeof buildRunTestOptions;
56
- buildRunTestAllOptions:typeof buildRunTestAllOptions;
57
- runWorkspacePositionAction:typeof runWorkspacePositionAction;
58
- validateBackgroundTestOptions:typeof validateBackgroundTestOptions;
59
- };
60
- declare function buildRunTestAllOptions(options:Record<string,unknown>):{
61
- status:string | undefined;
62
- limit:string | undefined;
63
- offset:string | undefined;
64
- timeout:string | undefined;
65
- progress:boolean;
66
- envSet:string[];
67
- envClear:string[];
68
- sharedHostSafe:boolean;
69
- pmContext:string | undefined;
70
- overrideLinkedPmContext:boolean;
71
- workspaceContext:string | undefined;
72
- overrideLinkedWorkspaceContext:boolean;
73
- allowUntrustedLinkedTests:boolean;
74
- failOnContextMismatch:boolean;
75
- failOnSkipped:boolean;
76
- failOnEmptyTestRun:boolean;
77
- requireAssertionsForPm:boolean;
78
- checkContext:boolean;
79
- autoPmContext:boolean;
80
- };
81
- declare function runWorkspacePositionAction(_options:Record<string,unknown>,command:Command):Promise<void>;
82
- /** Re-exported so registration callers keep one claim-target contract with the SDK. */
83
- export { requireClaimTarget };
84
- /** Implements register operation commands for the public runtime surface of this module. */
85
- export declare function registerOperationCommands(program:Command):void;
@@ -1,16 +0,0 @@
1
- /**
2
- * @module cli/register-setup
3
- *
4
- * Provides CLI runtime support for Register Setup.
5
- */
6
- import type { Command } from "commander";
7
- type ExtensionSubcommandAction = "init" | "install" | "uninstall" | "explore" | "manage" | "describe" | "reload" | "doctor" | "catalog" | "adopt" | "adopt-all" | "activate" | "deactivate" | "migrate";
8
- type LifecycleCommandVocabulary = "extension" | "package";
9
- declare function normalizeExtensionOptions(options:Record<string,unknown>,forcedAction?:ExtensionSubcommandAction,vocabulary?:LifecycleCommandVocabulary):Record<string,unknown>;
10
- /** Internal setup helpers exposed only for deterministic unit coverage. */
11
- export declare const _testOnlyRegisterSetup:{
12
- normalizeExtensionOptions:typeof normalizeExtensionOptions;
13
- };
14
- /** Register initialization, configuration, package, and extension setup commands. */
15
- export declare function registerSetupCommands(program:Command):void;
16
- export {};
@@ -1,15 +0,0 @@
1
- import type { Command } from "commander";
2
- declare function runItemReopenAction(id:string,reason:string,options:Record<string,unknown>,command:Command):Promise<void>;
3
- /** Preview or commit the ordered item plan through the shared lifecycle coordinator. */
4
- declare function runItemMutateAction(options:Record<string,unknown>,command:Command):Promise<void>;
5
- /** Compose completion evidence, closure and release before previewing or committing the plan. */
6
- declare function runItemCompleteAction(id:string,positionalReason:string | undefined,options:Record<string,unknown>,command:Command):Promise<void>;
7
- /** Register `pm item mutate`, the stable noun-first atomic batch surface. */
8
- export declare function registerStructuredMutationCommands(program:Command):void;
9
- /** Internal action hooks used by exhaustive source-level registration tests. */
10
- export declare const structuredMutationTestOnly:{
11
- runItemCompleteAction:typeof runItemCompleteAction;
12
- runItemMutateAction:typeof runItemMutateAction;
13
- runItemReopenAction:typeof runItemReopenAction;
14
- };
15
- export {};
@@ -1,2 +0,0 @@
1
- /** @module cli/registration-helpers Compatibility export for SDK-owned invocation normalization. */
2
- export * from "../sdk/cli-contracts/registration-helpers.js";
@@ -1,51 +0,0 @@
1
- /**
2
- * @module cli/runtime/activation
3
- * Selects extension activation from static contributions and the requested command path.
4
- */
5
- import { Command } from "commander";
6
- import { type ExtensionDiscoveryResult } from "../../sdk/runtime-primitives.js";
7
- /** Normalized command path, arguments and provided options used to select extension activation without importing extension code. */
8
- interface RuntimeExtensionActivationProbe {
9
- commandPath?:string;
10
- commandArgs?:string[];
11
- allowCommandPrefixMatch?:boolean;
12
- }
13
- /** Collect positional words before the first option to probe the requested command path. */
14
- declare function collectLeadingCommandArgs(commandArgs:readonly string[] | undefined):string[];
15
- /** Match leading command paths against both native history spellings and stable extension operation identities. */
16
- declare function collectActivationCommandCandidates(probe:RuntimeExtensionActivationProbe):string[];
17
- /** Compare an extension activation command with the normalized invocation probe. */
18
- declare function activationCommandMatchesProbe(command:string,probe:RuntimeExtensionActivationProbe):boolean;
19
- /** Read and normalize the command paths declared by an extension activation manifest. */
20
- declare function extensionActivationCommands(extension:ExtensionDiscoveryResult["effective"][number]):string[];
21
- /** Collect the capabilities declared by one discovered extension. */
22
- declare function extensionCapabilities(extension:ExtensionDiscoveryResult["effective"][number]):Set<string>;
23
- /** Test whether any declared capability belongs to the capability family required by an invocation. */
24
- declare function hasAnyCapability(capabilities:Set<string>,expected:Set<string>):boolean;
25
- /** Identify command paths that require search provider or vector-store registrations. */
26
- declare function commandPathNeedsSearchExtensions(commandPath:string | undefined):boolean;
27
- /** Check the provided invocation flags against one activation-sensitive flag family. */
28
- declare function probeUsesAnyFlag(probe:RuntimeExtensionActivationProbe,flags:Set<string>):boolean;
29
- /** Identify invocations that consume extension-provided create templates. */
30
- declare function commandPathNeedsTemplateExtensions(probe:RuntimeExtensionActivationProbe):boolean;
31
- /** Recognize runtime template contributions that require extension activation. */
32
- declare function extensionProvidesTemplatesRuntime(commands:readonly string[]):boolean;
33
- /** Match direct command paths plus the built-in create-template bridge. */
34
- declare function matchesStaticExtensionCommand(commands:readonly string[],probe:RuntimeExtensionActivationProbe):boolean;
35
- /** Identify contribution surfaces that participate in global runtime behavior. */
36
- declare function hasGlobalExtensionContributions(contributions:NonNullable<ExtensionDiscoveryResult["effective"][number]["contributions"]>):boolean;
37
- /** Resolve an exact activation verdict from declared commands and contributions. */
38
- declare function resolveStaticExtensionActivationDecision(extension:ExtensionDiscoveryResult["effective"][number],probe:RuntimeExtensionActivationProbe):boolean | undefined;
39
- /** Combine static contributions and capability fallbacks to decide whether one extension must activate. */
40
- declare function extensionNeedsActivationForProbe(extension:ExtensionDiscoveryResult["effective"][number],probe:RuntimeExtensionActivationProbe):boolean;
41
- /** Decide whether installed providers must activate for a targeted invocation or complete command discovery. */
42
- declare function discoveryNeedsActivationForProbe(discovery:ExtensionDiscoveryResult,probe:RuntimeExtensionActivationProbe):boolean;
43
- /** Build a deterministic activation scope; completion and unconstrained discovery include every installed command provider. */
44
- declare function buildRuntimeExtensionActivationScope(probe:RuntimeExtensionActivationProbe):string;
45
- /** Create the loader predicate for extensions needed by the current invocation. */
46
- declare function buildRuntimeExtensionFilterForProbe(probe:RuntimeExtensionActivationProbe):((extension:ExtensionDiscoveryResult["effective"][number]) => boolean) | undefined;
47
- /** Build an activation probe from bootstrap argv before Commander registration. */
48
- declare function buildBootstrapActivationProbe(invocationArgv:string[]):RuntimeExtensionActivationProbe;
49
- /** Collect the command arguments retained by Commander for an activation probe. */
50
- declare function collectParsedActivationCommandArgs(command:Command):string[];
51
- export { RuntimeExtensionActivationProbe,activationCommandMatchesProbe,buildBootstrapActivationProbe,buildRuntimeExtensionActivationScope,buildRuntimeExtensionFilterForProbe,collectActivationCommandCandidates,collectLeadingCommandArgs,collectParsedActivationCommandArgs,commandPathNeedsSearchExtensions,commandPathNeedsTemplateExtensions,discoveryNeedsActivationForProbe,extensionActivationCommands,extensionCapabilities,extensionNeedsActivationForProbe,extensionProvidesTemplatesRuntime,hasAnyCapability,hasGlobalExtensionContributions,matchesStaticExtensionCommand,probeUsesAnyFlag,resolveStaticExtensionActivationDecision };
@@ -1,15 +0,0 @@
1
- /**
2
- * @module cli/runtime/field-route-retry
3
- *
4
- * Turns a refused `--field <key>=<value>` assignment for a project-schema key
5
- * into the executable retry that uses the key's declared flag (pm-wftvem). The
6
- * repair is a minimal edit of the caller's own invocation: every other token,
7
- * including tracker scope and output controls, stays where it was.
8
- */
9
- import type { PmCliErrorRecoveryPayload } from "../../sdk/runtime-primitives.js";
10
- /**
11
- * Attach an executable retry to a project-schema field refusal when exactly
12
- * one `--field` assignment names the refused key; otherwise keep the
13
- * producer's recovery unchanged rather than guess.
14
- */
15
- export declare function repairSchemaFieldRecovery(argv:readonly string[],code:string | undefined,field:string | undefined,recovery:PmCliErrorRecoveryPayload | undefined):PmCliErrorRecoveryPayload | undefined;
@@ -1,43 +0,0 @@
1
- /**
2
- * @module cli/runtime/invocation-options
3
- * Preserves global-option boundaries, contributed flag schemas and read-output provenance.
4
- */
5
- import { Command } from "commander";
6
- import { type FlagDefinition,type GlobalOptions,createEmptyExtensionRegistrationRegistry } from "../../sdk/runtime-primitives.js";
7
- import { type ExtensionCommandHelpDescriptor } from "../extension-command-help.js";
8
- import { type LooseCommandFlagDefinition } from "../extension-command-options.js";
9
- /** Carry private read-output provenance across Commander's option rebuilds. */
10
- declare function copyReadOutputInvocationProvenance(source:object,target:object):void;
11
- /** Record the exact compatibility flags present in the raw CLI invocation. */
12
- declare function recordCliReadOutputInvocationProvenance(actionCommand:Command,commandPath:string,commandOptions:Record<string,unknown>):void;
13
- /**
14
- * Hand canonical `--output-include` projection modes to the command that owns
15
- * them, leaving only field selectors for post-execution projection.
16
- *
17
- * `--output-include brief` must be the exact behaviour of `--brief`, which the
18
- * emitted migration hint promises; a mode can only be honoured before the
19
- * command computes its rows, so it cannot be resolved by the output layer.
20
- */
21
- declare function forwardReadOutputIncludeModes(actionCommand:Command,commandPath:string,globalOptions:GlobalOptions,commandOptions:Record<string,unknown>):void;
22
- /** Separate handler options from global controls, then validate and coerce contributed flags against the command's declared schema. */
23
- declare function extractCommandScopedOptions(command:Command,commandArgs:string[],extensionFlagDefinitions?:LooseCommandFlagDefinition[]):Record<string,unknown>;
24
- /** Join contributed flags by stable operation identity so canonical and compatibility command paths share the same schema. */
25
- declare function collectExtensionFlagDefinitionsForCommand(registrations:ReturnType<typeof createEmptyExtensionRegistrationRegistry>,commandPath:string):FlagDefinition[];
26
- /** Collect contributed flag definitions for the command paths traversed by this invocation. */
27
- declare function collectExtensionFlagDefinitionsForInvocation(registrations:ReturnType<typeof createEmptyExtensionRegistrationRegistry>,commandPath:string,commandArgs:string[]):FlagDefinition[];
28
- /** Read contributed positional argument definitions for a dynamic command. */
29
- declare function dynamicCommandArguments(descriptor:ExtensionCommandHelpDescriptor):ExtensionCommandHelpDescriptor["arguments"];
30
- /**
31
- * Reports whether {@link commandPath} is the generated command path of a
32
- * registered importer (`<name> import`) or exporter (`<name> export`). Importers
33
- * and exporters read/write a source/destination via flags and take no positional
34
- * operand, so an unexpected positional is a usage error; free-form
35
- * `registerCommand` commands intentionally accept positionals via `context.args`
36
- * and are excluded.
37
- */
38
- declare function isImporterOrExporterCommandPath(registrations:ReturnType<typeof createEmptyExtensionRegistrationRegistry> | null,commandPath:string):boolean;
39
- /** Reject missing required or excess positional arguments before invoking a contributed handler. */
40
- declare function validateDynamicExtensionCommandArgs(descriptor:ExtensionCommandHelpDescriptor,args:string[]):void;
41
- /** Validate contributed arguments and options together before extension dispatch. */
42
- declare function validateDynamicExtensionCommandInvocation(descriptor:ExtensionCommandHelpDescriptor | undefined,args:string[],options:Record<string,unknown>,extensionFlagDefinitions:LooseCommandFlagDefinition[]):void;
43
- export { collectExtensionFlagDefinitionsForCommand,collectExtensionFlagDefinitionsForInvocation,copyReadOutputInvocationProvenance,dynamicCommandArguments,extractCommandScopedOptions,forwardReadOutputIncludeModes,isImporterOrExporterCommandPath,recordCliReadOutputInvocationProvenance,validateDynamicExtensionCommandArgs,validateDynamicExtensionCommandInvocation };
@@ -1,9 +0,0 @@
1
- /**
2
- * @module cli/runtime/projection-retry
3
- *
4
- * Repairs read projections as minimal edits to the original invocation, keeping
5
- * tracker scope, operands, output encoding and unrelated controls intact.
6
- */
7
- import type { PmCliErrorRecoveryPayload } from "../../sdk/runtime-primitives.js";
8
- /** Preserve the original read invocation when correcting known projection refusals. */
9
- export declare function repairProjectionRecovery(argv:readonly string[],code:string | undefined,recovery:PmCliErrorRecoveryPayload | undefined):PmCliErrorRecoveryPayload | undefined;
@@ -1,35 +0,0 @@
1
- /**
2
- * @module cli/runtime/selection
3
- * Selects core registration families and refuses implicit corrections of mutating flags.
4
- */
5
- import { Command } from "commander";
6
- import { normalizeBootstrapInvocation } from "../bootstrap-args.js";
7
- /** Recognize the read-only package inventory before extension bootstrap. */
8
- declare function isStaticExtensionInventoryInvocation(invocationArgv:string[]):boolean;
9
- /** Protect literal preview candidates in the item namespace until the real parser settles the selected action; host-owned global grammar also captures the tracker roots. */
10
- declare function resolveStructuredMutationPreviewInvocation(invocationArgv:string[]):{
11
- path:string | undefined;
12
- } | undefined;
13
- /** Core read command names used to select the list/query registration family. */
14
- declare const LIST_QUERY_COMMAND_NAMES:Set<string>;
15
- /** Registration-family switches computed from one CLI invocation. */
16
- interface CoreCommandRegistrationSelection {
17
- setup:boolean;
18
- listQuery:boolean;
19
- mutation:boolean;
20
- operation:boolean;
21
- targetCommandName?:string;
22
- }
23
- /** Recognize version requests before loading command families. */
24
- declare function invocationRequestsVersion(invocationArgv:string[]):boolean;
25
- /** Load only the selected core registration family, retaining complete discovery for help and unknown paths. */
26
- declare function resolveCoreCommandRegistrationSelection(invocationArgv:string[]):CoreCommandRegistrationSelection;
27
- /** Decide whether the invocation needs the expanded help text attached to registered commands. */
28
- declare function shouldAttachRichHelpTextForInvocation(invocationArgv:string[]):boolean;
29
- /** Decide whether extension command paths must be registered for this invocation. */
30
- declare function shouldRegisterDynamicExtensionPaths(_rootProgram:Command,invocationArgv:string[]):boolean;
31
- /** Decide whether the invocation needs flags supplied by the runtime item schema. */
32
- declare function shouldRegisterRuntimeSchemaFlags(invocationArgv:string[]):boolean;
33
- /** Refuse unknown flags with correction guidance while requiring an explicit retry for mutations. */
34
- declare function enforceExplicitRetryForFlagTypos(bootstrapInvocation:ReturnType<typeof normalizeBootstrapInvocation>):void;
35
- export { CoreCommandRegistrationSelection,LIST_QUERY_COMMAND_NAMES,enforceExplicitRetryForFlagTypos,invocationRequestsVersion,isStaticExtensionInventoryInvocation,resolveStructuredMutationPreviewInvocation,resolveCoreCommandRegistrationSelection,shouldAttachRichHelpTextForInvocation,shouldRegisterDynamicExtensionPaths,shouldRegisterRuntimeSchemaFlags };
@@ -1,20 +0,0 @@
1
- import { type TelemetryCommandOutcome,type TelemetryCommandResolution,type TelemetryErrorCategory,type TelemetryResolutionStage } from "../../sdk/runtime-primitives.js";
2
- /** Read a string-valued field from a structured command result without coercion. */
3
- declare function readRecordString(record:Record<string,unknown> | null,...keys:string[]):string | undefined;
4
- /** Read a boolean-valued field from a structured command result without coercion. */
5
- declare function readRecordBoolean(record:Record<string,unknown> | null,...keys:string[]):boolean | undefined;
6
- /** Read a number-valued field from a structured command result without coercion. */
7
- declare function readRecordNumber(record:Record<string,unknown> | null,...keys:string[]):number | undefined;
8
- /** Accept only declared command-resolution values for telemetry receipts. */
9
- declare function normalizeTelemetryCommandResolution(value:string | undefined):TelemetryCommandResolution | undefined;
10
- /** Accept only declared resolution-stage values for telemetry receipts. */
11
- declare function normalizeTelemetryResolutionStage(value:string | undefined):TelemetryResolutionStage | undefined;
12
- /** Accept only declared error-category values for telemetry receipts. */
13
- declare function normalizeTelemetryErrorCategory(value:string | undefined):TelemetryErrorCategory | undefined;
14
- /** Derive a completion failure message from the command result and process outcome. */
15
- declare function inferPostActionFailureMessage(result:Record<string,unknown> | null):string | undefined;
16
- /** Derive the canonical completion error code from the structured result. */
17
- declare function inferPostActionErrorCode(ok:boolean,exitCode:number):string | undefined;
18
- /** Combine structured command receipts and exit state into a terminal telemetry outcome. */
19
- declare function buildPostActionTelemetryOutcome():TelemetryCommandOutcome;
20
- export { buildPostActionTelemetryOutcome,inferPostActionErrorCode,inferPostActionFailureMessage,normalizeTelemetryCommandResolution,normalizeTelemetryErrorCategory,normalizeTelemetryResolutionStage,readRecordBoolean,readRecordNumber,readRecordString };
@@ -1,17 +0,0 @@
1
- /** Options for one early CLI compatibility check and deferred dispatch. */
2
- export interface RuntimeCompatibleCliOptions {
3
- /** Version of the executable package, when its manifest was readable. */
4
- executingVersion?:string;
5
- /** Project root whose local package and lock metadata governs mutation. */
6
- projectRoot:string;
7
- /** CLI invocation arguments after the executable path. */
8
- argv:readonly string[];
9
- /** Explicit recovery override for one invocation. */
10
- allowStale:boolean;
11
- /** Deferred CLI bundle dispatch, called only after compatibility succeeds. */
12
- run:() => Promise<void>;
13
- /** Error sink used by the executable transport. */
14
- writeError:(message:string) => void;
15
- }
16
- /** Apply SDK compatibility/output policy, emitting structured read warnings only after successful dispatch. */
17
- export declare function runRuntimeCompatibleCli(options:RuntimeCompatibleCliOptions):Promise<void>;
@@ -1,4 +0,0 @@
1
- /** @module cli/schema/registration Schema command parsing and presentation over public SDK operations. */
2
- import type { Command } from "commander";
3
- /** Register schema controls in discoverable groups without changing SDK mutation semantics. */
4
- export declare function registerSchemaCommand(program:Command):void;
@@ -1,24 +0,0 @@
1
- /**
2
- * @module cli/schema-registration-helpers
3
- *
4
- * Pure parsing and typo-detection helpers shared by schema command
5
- * registration and its focused contract tests.
6
- */
7
- import { isPureSnakeCaseAlias } from "../sdk/runtime-primitives.js";
8
- /**
9
- * Return whether a token must remain on the schema-action refusal path.
10
- *
11
- * Bare custom-type shorthand is intentionally limited to PascalCase names.
12
- * Lowercase tokens occupy the action namespace, so a misspelling such as
13
- * `pm schema nonsense` cannot silently register a new type. Explicit
14
- * `pm schema add-type <name>` remains available for every valid type name.
15
- */
16
- export declare function looksLikeSchemaSubcommandTypo(value:string):boolean;
17
- /**
18
- * Parse the integer `--order` value accepted by `pm schema add-status`.
19
- *
20
- * Undefined and blank values remain absent, while explicitly invalid values
21
- * fail with the same usage error as other schema registration parsing.
22
- */
23
- export declare function parseSchemaOrderOption(raw:unknown):number | undefined;
24
- export { isPureSnakeCaseAlias };
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
@@ -1,9 +0,0 @@
1
- /**
2
- * @module cli/stats-analytics-json
3
- *
4
- * Validates the compact JSON adapter used to keep the agent-facing stats CLI
5
- * contract bounded while preserving the fully typed SDK and MCP primitives.
6
- */
7
- import type { StatsCommandOptions } from "./commands/query/stats.js";
8
- /** Parse and strictly validate the compact CLI improvement-analytics payload. */
9
- export declare function parseStatsAnalyticsJson(input:string | undefined):StatsCommandOptions;
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};