@unbrained/pm-cli 2026.9.20 → 2026.9.22

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 (255) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +32 -1
  3. package/dist/cli/commander-usage.d.ts +5 -1
  4. package/dist/cli/commander-usage.js +2 -2
  5. package/dist/cli/commands/annotations/comments.d.ts +2 -0
  6. package/dist/cli/commands/{comments.js → annotations/comments.js} +1 -1
  7. package/dist/cli/commands/{docs.d.ts → annotations/docs.d.ts} +2 -2
  8. package/dist/cli/commands/{docs.js → annotations/docs.js} +1 -1
  9. package/dist/cli/commands/{files.d.ts → annotations/files.d.ts} +2 -2
  10. package/dist/cli/commands/{files.js → annotations/files.js} +1 -1
  11. package/dist/cli/commands/annotations/learnings.d.ts +2 -0
  12. package/dist/cli/commands/{learnings.js → annotations/learnings.js} +1 -1
  13. package/dist/cli/commands/annotations/notes.d.ts +2 -0
  14. package/dist/cli/commands/{notes.js → annotations/notes.js} +1 -1
  15. package/dist/cli/commands/extension/extension.d.ts +6 -0
  16. package/dist/cli/commands/{extension.js → extension/extension.js} +1 -1
  17. package/dist/cli/commands/{gc.d.ts → governance/gc.d.ts} +2 -2
  18. package/dist/cli/commands/{gc.js → governance/gc.js} +1 -1
  19. package/dist/cli/commands/governance/health.d.ts +6 -0
  20. package/dist/cli/commands/{deps.js → governance/health.js} +2 -2
  21. package/dist/cli/commands/governance/telemetry.d.ts +6 -0
  22. package/dist/cli/commands/{telemetry.js → governance/telemetry.js} +1 -1
  23. package/dist/cli/commands/governance/validate.d.ts +9 -0
  24. package/dist/cli/commands/governance/validate.js +2 -0
  25. package/dist/cli/commands/history/activity.d.ts +6 -0
  26. package/dist/cli/commands/{activity.js → history/activity.js} +1 -1
  27. package/dist/cli/commands/history/history-compact.d.ts +7 -0
  28. package/dist/cli/commands/{history-compact.js → history/history-compact.js} +1 -1
  29. package/dist/cli/commands/{history-redact.d.ts → history/history-redact.d.ts} +2 -2
  30. package/dist/cli/commands/history/history-redact.js +2 -0
  31. package/dist/cli/commands/{history-repair.d.ts → history/history-repair.d.ts} +2 -2
  32. package/dist/cli/commands/{history-repair.js → history/history-repair.js} +1 -1
  33. package/dist/cli/commands/history/history.d.ts +2 -0
  34. package/dist/cli/commands/{history.js → history/history.js} +1 -1
  35. package/dist/cli/commands/history/restore.d.ts +6 -0
  36. package/dist/cli/commands/history/restore.js +2 -0
  37. package/dist/cli/commands/lifecycle/append.d.ts +2 -0
  38. package/dist/cli/commands/{append.js → lifecycle/append.js} +1 -1
  39. package/dist/cli/commands/lifecycle/claim.d.ts +2 -0
  40. package/dist/cli/commands/{claim.js → lifecycle/claim.js} +1 -1
  41. package/dist/cli/commands/lifecycle/close-many.d.ts +2 -0
  42. package/dist/cli/commands/{close-many.js → lifecycle/close-many.js} +1 -1
  43. package/dist/cli/commands/lifecycle/close.d.ts +6 -0
  44. package/dist/cli/commands/lifecycle/close.js +2 -0
  45. package/dist/cli/commands/lifecycle/copy.d.ts +6 -0
  46. package/dist/cli/commands/lifecycle/copy.js +2 -0
  47. package/dist/cli/commands/lifecycle/create.d.ts +6 -0
  48. package/dist/cli/commands/{create.js → lifecycle/create.js} +1 -1
  49. package/dist/cli/commands/lifecycle/delete.d.ts +6 -0
  50. package/dist/cli/commands/{delete.js → lifecycle/delete.js} +1 -1
  51. package/dist/cli/commands/lifecycle/focus.d.ts +6 -0
  52. package/dist/cli/commands/lifecycle/focus.js +2 -0
  53. package/dist/cli/commands/lifecycle/plan.d.ts +6 -0
  54. package/dist/cli/commands/{plan.js → lifecycle/plan.js} +1 -1
  55. package/dist/cli/commands/lifecycle/update-many.d.ts +2 -0
  56. package/dist/cli/commands/lifecycle/update-many.js +2 -0
  57. package/dist/cli/commands/lifecycle/update.d.ts +6 -0
  58. package/dist/cli/commands/{copy.js → lifecycle/update.js} +2 -2
  59. package/dist/cli/commands/query/aggregate.d.ts +2 -0
  60. package/dist/cli/commands/{aggregate.js → query/aggregate.js} +1 -1
  61. package/dist/cli/commands/query/context.d.ts +6 -0
  62. package/dist/cli/commands/{focus.js → query/context.js} +2 -2
  63. package/dist/cli/commands/{deps.d.ts → query/deps.d.ts} +2 -2
  64. package/dist/cli/commands/query/deps.js +2 -0
  65. package/dist/cli/commands/query/duplicates.d.ts +6 -0
  66. package/dist/cli/commands/{duplicates.js → query/duplicates.js} +1 -1
  67. package/dist/cli/commands/{eval.d.ts → query/eval.d.ts} +2 -2
  68. package/dist/cli/commands/{eval.js → query/eval.js} +1 -1
  69. package/dist/cli/commands/query/get.d.ts +6 -0
  70. package/dist/cli/commands/{get.js → query/get.js} +1 -1
  71. package/dist/cli/commands/{graph.d.ts → query/graph.d.ts} +2 -2
  72. package/dist/cli/commands/{graph.js → query/graph.js} +1 -1
  73. package/dist/cli/commands/{list.d.ts → query/list.d.ts} +2 -2
  74. package/dist/cli/commands/{list.js → query/list.js} +1 -1
  75. package/dist/cli/commands/{next.d.ts → query/next.d.ts} +2 -2
  76. package/dist/cli/commands/{next.js → query/next.js} +1 -1
  77. package/dist/cli/commands/query/search.d.ts +6 -0
  78. package/dist/cli/commands/{search.js → query/search.js} +1 -1
  79. package/dist/cli/commands/query/stats.d.ts +6 -0
  80. package/dist/cli/commands/{stats.js → query/stats.js} +1 -1
  81. package/dist/cli/commands/{test-all.d.ts → test/test-all.d.ts} +2 -2
  82. package/dist/cli/commands/{test-all.js → test/test-all.js} +1 -1
  83. package/dist/cli/commands/{test-runs.d.ts → test/test-runs.d.ts} +2 -2
  84. package/dist/cli/commands/{test-runs.js → test/test-runs.js} +1 -1
  85. package/dist/cli/commands/{test.d.ts → test/test.d.ts} +2 -2
  86. package/dist/cli/commands/{test.js → test/test.js} +1 -1
  87. package/dist/cli/commands/{config.d.ts → workspace/config.d.ts} +2 -2
  88. package/dist/cli/commands/{config.js → workspace/config.js} +1 -1
  89. package/dist/cli/commands/workspace/contracts.d.ts +2 -0
  90. package/dist/cli/commands/{contracts.js → workspace/contracts.js} +1 -1
  91. package/dist/cli/commands/{init.d.ts → workspace/init.d.ts} +2 -2
  92. package/dist/cli/commands/{update.js → workspace/init.js} +2 -2
  93. package/dist/cli/commands/workspace/merge.d.ts +8 -0
  94. package/dist/cli/commands/workspace/merge.js +2 -0
  95. package/dist/cli/commands/{profile.d.ts → workspace/profile.d.ts} +2 -2
  96. package/dist/cli/commands/{profile.js → workspace/profile.js} +1 -1
  97. package/dist/cli/commands/workspace/schema.d.ts +7 -0
  98. package/dist/cli/commands/workspace/schema.js +2 -0
  99. package/dist/cli/commands/workspace/upgrade.d.ts +2 -0
  100. package/dist/cli/commands/{update-many.js → workspace/upgrade.js} +2 -2
  101. package/dist/cli/register-annotations.js +1 -1
  102. package/dist/cli/register-history-activity.js +1 -1
  103. package/dist/cli/register-history-maintenance.js +1 -1
  104. package/dist/cli/register-list-query.js +1 -1
  105. package/dist/cli/register-mutation.js +1 -1
  106. package/dist/cli/register-operations.js +1 -1
  107. package/dist/cli/register-setup.js +1 -1
  108. package/dist/cli/schema/registration.js +1 -1
  109. package/dist/cli/stats-analytics-json.d.ts +1 -1
  110. package/dist/cli/stats-analytics-json.js +1 -1
  111. package/dist/cli-bundle/bundle-manifest.json +152 -152
  112. package/dist/cli-bundle/chunks/{chunk-GRHSNUQO.js → chunk-3OFFMS2N.js} +2 -2
  113. package/dist/cli-bundle/chunks/{chunk-QZTS23BV.js → chunk-4XOV7Q5R.js} +2 -2
  114. package/dist/cli-bundle/chunks/{chunk-2QLXN6HZ.js → chunk-AVWHZUNC.js} +26 -26
  115. package/dist/cli-bundle/chunks/{chunk-2UNYUB4A.js → chunk-BJBBOUYQ.js} +2 -2
  116. package/dist/cli-bundle/chunks/{chunk-JBJUOOJI.js → chunk-CM57QHVK.js} +5 -5
  117. package/dist/cli-bundle/chunks/{chunk-TTFVQB4S.js → chunk-D2OV2UBV.js} +2 -2
  118. package/dist/cli-bundle/chunks/{chunk-33R5PEKI.js → chunk-GFTN5OS4.js} +2 -2
  119. package/dist/cli-bundle/chunks/{chunk-HAFSMFJK.js → chunk-JSW33Q6R.js} +3 -3
  120. package/dist/cli-bundle/chunks/{chunk-FBWAECBI.js → chunk-ML42DLI3.js} +3 -3
  121. package/dist/cli-bundle/chunks/{chunk-2FEKKSLN.js → chunk-SBTT42A4.js} +43 -43
  122. package/dist/cli-bundle/chunks/chunk-SGFQQXFD.js +2 -0
  123. package/dist/cli-bundle/chunks/{chunk-7YUYLYJQ.js → chunk-UDNYAMCM.js} +6 -6
  124. package/dist/cli-bundle/chunks/{chunk-K7RWRJLT.js → chunk-ZSPZJOMK.js} +2 -2
  125. package/dist/cli-bundle/chunks/{register-list-query-5V43MYPN.js → register-list-query-VOS5CBX4.js} +2 -2
  126. package/dist/cli-bundle/chunks/register-mutation-LWZH6UFJ.js +20 -0
  127. package/dist/cli-bundle/chunks/{register-operations-LJU5H2CU.js → register-operations-YJK4DNFZ.js} +2 -2
  128. package/dist/cli-bundle/chunks/{register-setup-HJUNGYBB.js → register-setup-Q3CYF67Q.js} +2 -2
  129. package/dist/cli-bundle/focused-chunks/{chunk-L6L4XCLY.js → chunk-AO5FR7PN.js} +2 -2
  130. package/dist/cli-bundle/focused-chunks/{chunk-K5ZCBC6Y.js → chunk-CASXNCNQ.js} +2 -2
  131. package/dist/cli-bundle/focused-chunks/{chunk-FXAZPSU6.js → chunk-FKYUTTFL.js} +2 -2
  132. package/dist/cli-bundle/focused-chunks/{chunk-DPBTIFW7.js → chunk-IOL25GKH.js} +2 -2
  133. package/dist/cli-bundle/focused-chunks/{chunk-N6KI3LWF.js → chunk-JCD5YESL.js} +2 -2
  134. package/dist/cli-bundle/focused-chunks/{chunk-6MNKQKT6.js → chunk-LH24XUPJ.js} +2 -2
  135. package/dist/cli-bundle/focused-chunks/{chunk-IA5CCSBB.js → chunk-MXESHALQ.js} +2 -2
  136. package/dist/cli-bundle/focused-chunks/{chunk-3XPBKIV6.js → chunk-PRMQTT7X.js} +12 -12
  137. package/dist/cli-bundle/focused-chunks/{chunk-ISEOBALS.js → chunk-QFEDRPPI.js} +2 -2
  138. package/dist/cli-bundle/focused-chunks/{chunk-UIS5FVHH.js → chunk-QYN77MQP.js} +49 -49
  139. package/dist/cli-bundle/focused-chunks/{chunk-5BLRMUMK.js → chunk-TSI73EEM.js} +3 -3
  140. package/dist/cli-bundle/focused-chunks/{chunk-PC6ZZVNP.js → chunk-UAU4DJSR.js} +3 -3
  141. package/dist/cli-bundle/focused-chunks/{chunk-RQL5WLNZ.js → chunk-URH727T5.js} +2 -2
  142. package/dist/cli-bundle/focused-chunks/{chunk-U2SB2BMM.js → chunk-UT7VS4X2.js} +2 -2
  143. package/dist/cli-bundle/focused-chunks/{chunk-HYPK5OPA.js → chunk-V2NARGRH.js} +2 -2
  144. package/dist/cli-bundle/focused-chunks/{chunk-DRNXMOSV.js → chunk-XR5EBU3B.js} +2 -2
  145. package/dist/cli-bundle/main.js +18 -18
  146. package/dist/cli-bundle/sdk-authoring.js +1 -1
  147. package/dist/cli-bundle/sdk-contracts.js +1 -1
  148. package/dist/cli-bundle/sdk-core.js +21 -21
  149. package/dist/cli-bundle/sdk-governance.js +1 -1
  150. package/dist/cli-bundle/sdk-graph.js +1 -1
  151. package/dist/cli-bundle/sdk-merge.js +38 -38
  152. package/dist/cli-bundle/sdk-query.js +1 -1
  153. package/dist/cli-bundle/sdk-runtime.js +1 -1
  154. package/dist/cli-bundle/sdk-testing.js +1 -1
  155. package/dist/cli-bundle/sdk.js +1 -1
  156. package/dist/core/config/positional-value.d.ts +0 -2
  157. package/dist/core/config/positional-value.js +1 -1
  158. package/dist/core/history/history-diff.js +1 -1
  159. package/dist/core/schema/type-workflows.d.ts +1 -1
  160. package/dist/core/schema/type-workflows.js +1 -1
  161. package/dist/core/search/eval.d.ts +1 -1
  162. package/dist/core/search/eval.js +1 -1
  163. package/dist/core/shared/item-metadata-contract.d.ts +0 -4
  164. package/dist/core/shared/item-metadata-contract.js +1 -1
  165. package/dist/sdk/completion/bash.d.ts +1 -1
  166. package/dist/sdk/completion/bash.js +1 -1
  167. package/dist/sdk/extension/shared.d.ts +2 -2
  168. package/dist/sdk/extension/shared.js +1 -1
  169. package/dist/sdk/governance/upgrade.d.ts +2 -0
  170. package/dist/sdk/governance/upgrade.js +2 -2
  171. package/dist/sdk/public-surface.json +1 -1
  172. package/dist/sdk/query/search-contracts.d.ts +0 -1
  173. package/dist/sdk/query/search-contracts.js +1 -1
  174. package/dist/sdk/schema.d.ts +8 -4
  175. package/dist/sdk/schema.js +1 -1
  176. package/docs/ARCHITECTURE.md +31 -4
  177. package/docs/BUILD_AND_RELEASE_ACCEPTANCE.md +50 -1
  178. package/docs/COMMANDS.md +1 -1
  179. package/docs/EXTENSIONS.md +1 -1
  180. package/docs/README.md +1 -0
  181. package/docs/READ_OUTPUT_CONTRACTS.md +1 -1
  182. package/docs/RELEASING.md +7 -1
  183. package/docs/SDK_CONTEXT_INTEGRITY_PRIMITIVES.md +1 -1
  184. package/docs/VALIDATION_PORTABILITY.md +82 -0
  185. package/marketplace.json +2 -2
  186. package/package.json +10 -8
  187. package/packages/pm-beads/package.json +1 -1
  188. package/packages/pm-calendar/package.json +1 -1
  189. package/packages/pm-command-kit/package.json +1 -1
  190. package/packages/pm-digital-twin/package.json +1 -1
  191. package/packages/pm-governance-audit/package.json +1 -1
  192. package/packages/pm-guide-shell/extensions/guide-shell/runtime.ts +23 -17
  193. package/packages/pm-guide-shell/package.json +1 -1
  194. package/packages/pm-kanban/package.json +1 -1
  195. package/packages/pm-lifecycle-hooks/package.json +1 -1
  196. package/packages/pm-linked-test-adapters/package.json +1 -1
  197. package/packages/pm-search-advanced/package.json +1 -1
  198. package/packages/pm-templates/package.json +1 -1
  199. package/packages/pm-todos/package.json +1 -1
  200. package/packages/pm-vcs/package.json +1 -1
  201. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  202. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  203. package/scripts/build-lease.mjs +27 -0
  204. package/dist/cli/commands/activity.d.ts +0 -6
  205. package/dist/cli/commands/aggregate.d.ts +0 -2
  206. package/dist/cli/commands/append.d.ts +0 -2
  207. package/dist/cli/commands/claim.d.ts +0 -2
  208. package/dist/cli/commands/close-many.d.ts +0 -2
  209. package/dist/cli/commands/close.d.ts +0 -6
  210. package/dist/cli/commands/close.js +0 -2
  211. package/dist/cli/commands/comments.d.ts +0 -2
  212. package/dist/cli/commands/context.d.ts +0 -6
  213. package/dist/cli/commands/context.js +0 -2
  214. package/dist/cli/commands/contracts.d.ts +0 -2
  215. package/dist/cli/commands/copy.d.ts +0 -6
  216. package/dist/cli/commands/create.d.ts +0 -6
  217. package/dist/cli/commands/delete.d.ts +0 -6
  218. package/dist/cli/commands/duplicates.d.ts +0 -6
  219. package/dist/cli/commands/extension.d.ts +0 -6
  220. package/dist/cli/commands/focus.d.ts +0 -6
  221. package/dist/cli/commands/get.d.ts +0 -6
  222. package/dist/cli/commands/health.d.ts +0 -6
  223. package/dist/cli/commands/health.js +0 -2
  224. package/dist/cli/commands/history-compact.d.ts +0 -7
  225. package/dist/cli/commands/history-redact.js +0 -2
  226. package/dist/cli/commands/history.d.ts +0 -2
  227. package/dist/cli/commands/index.d.ts +0 -55
  228. package/dist/cli/commands/index.js +0 -2
  229. package/dist/cli/commands/init-agent-guidance.d.ts +0 -6
  230. package/dist/cli/commands/init-agent-guidance.js +0 -2
  231. package/dist/cli/commands/init.js +0 -2
  232. package/dist/cli/commands/learnings.d.ts +0 -2
  233. package/dist/cli/commands/lifecycle-transitions.d.ts +0 -2
  234. package/dist/cli/commands/lifecycle-transitions.js +0 -2
  235. package/dist/cli/commands/merge.d.ts +0 -8
  236. package/dist/cli/commands/merge.js +0 -2
  237. package/dist/cli/commands/notes.d.ts +0 -2
  238. package/dist/cli/commands/plan.d.ts +0 -6
  239. package/dist/cli/commands/restore.d.ts +0 -6
  240. package/dist/cli/commands/restore.js +0 -2
  241. package/dist/cli/commands/scheduling-shortcuts.d.ts +0 -6
  242. package/dist/cli/commands/scheduling-shortcuts.js +0 -2
  243. package/dist/cli/commands/schema.d.ts +0 -7
  244. package/dist/cli/commands/schema.js +0 -2
  245. package/dist/cli/commands/search.d.ts +0 -6
  246. package/dist/cli/commands/stats.d.ts +0 -6
  247. package/dist/cli/commands/telemetry.d.ts +0 -6
  248. package/dist/cli/commands/update-many.d.ts +0 -2
  249. package/dist/cli/commands/update.d.ts +0 -6
  250. package/dist/cli/commands/upgrade.d.ts +0 -2
  251. package/dist/cli/commands/upgrade.js +0 -2
  252. package/dist/cli/commands/validate.d.ts +0 -9
  253. package/dist/cli/commands/validate.js +0 -2
  254. package/dist/cli-bundle/chunks/chunk-T3AMFUCN.js +0 -2
  255. package/dist/cli-bundle/chunks/register-mutation-EVRYSU72.js +0 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-cli",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "description": "Git-native project management CLI for humans and agents.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.10.0",
@@ -123,7 +123,8 @@
123
123
  "lint:complexity:baseline": "eslint . --suppress-rule complexity --suppress-rule sonarjs/cognitive-complexity",
124
124
  "lint:duplicates": "jscpd --config .jscpd.json && jscpd --config .jscpd.source.json && jscpd --config .jscpd.tables.json",
125
125
  "lint:codefactor": "pnpm quality:static",
126
- "quality:static": "pnpm lint:eslint && pnpm lint:duplicates && pnpm build && node scripts/contracts-snapshot.mjs --check && node scripts/generate-agent-capability-surfaces.mjs --check && node scripts/generate-error-code-catalog.mjs --check && node scripts/release/repository-assurance.mjs repository-static-quality --trigger ci --json && node scripts/release/audit-package-boundary.mjs && node scripts/release/package-sdk-contract-parity.mjs && node scripts/release/surface-replication-gate.mjs && node scripts/release/command-grammar-gate.mjs && node scripts/release/flag-invocation-parity.mjs && node scripts/release/flag-lexicon-gate.mjs && node scripts/release/refusal-closure-gate.mjs && node scripts/release/agent-task-token-gate.mjs && pnpm quality:mcp-deprecations && node dist/cli.js assurance run tracker-context-quality --trigger ci --dry-run --json --output-budget unbounded && node scripts/release/gate-registry.mjs && node scripts/sdk-surface-snapshot.mjs --check && node scripts/bench/sdk-entrypoint-costs.mjs --check && node scripts/bench/cli-transport-floor.mjs --check && node dist/cli.js assurance run graph-composition --trigger ci --dry-run --json --output-budget unbounded && node dist/cli.js assurance run record-integrity --trigger ci --dry-run --json --output-budget unbounded",
126
+ "quality:static": "pnpm quality:exports && pnpm lint:eslint && pnpm lint:duplicates && pnpm build && node scripts/contracts-snapshot.mjs --check && node scripts/generate-agent-capability-surfaces.mjs --check && node scripts/generate-error-code-catalog.mjs --check && node scripts/release/repository-assurance.mjs repository-static-quality --trigger ci --json && node scripts/release/audit-package-boundary.mjs && node scripts/release/package-sdk-contract-parity.mjs && node scripts/release/surface-replication-gate.mjs && node scripts/release/command-grammar-gate.mjs && node scripts/release/flag-invocation-parity.mjs && node scripts/release/flag-lexicon-gate.mjs && node scripts/release/refusal-closure-gate.mjs && node scripts/release/agent-task-token-gate.mjs && pnpm quality:mcp-deprecations && node dist/cli.js assurance run tracker-context-quality --trigger ci --dry-run --json --output-budget unbounded && node scripts/release/gate-registry.mjs && node scripts/sdk-surface-snapshot.mjs --check && node scripts/bench/sdk-entrypoint-costs.mjs --check && node scripts/bench/cli-transport-floor.mjs --check && node dist/cli.js assurance run graph-composition --trigger ci --dry-run --json --output-budget unbounded && node dist/cli.js assurance run record-integrity --trigger ci --dry-run --json --output-budget unbounded",
127
+ "quality:exports": "knip --no-config-hints && node scripts/run-tests.mjs test -- tests/unit/scripts/release/dead-exports.spec.ts",
127
128
  "quality:command-grammar": "pnpm build && node scripts/release/command-grammar-gate.mjs && node scripts/release/flag-invocation-parity.mjs && node scripts/release/flag-lexicon-gate.mjs",
128
129
  "quality:recovery-closure": "pnpm build && node scripts/release/refusal-closure-gate.mjs",
129
130
  "quality:token-budget": "node scripts/release/token-budget-gate.mjs",
@@ -222,20 +223,21 @@
222
223
  "@eslint/js": "^10.0.1",
223
224
  "@modelcontextprotocol/ext-apps": "2.0.0",
224
225
  "@sentry/cli": "^3.8.0",
225
- "@types/node": "^26.6.1",
226
+ "@types/node": "^26.6.2",
226
227
  "@types/npm-package-arg": "^6.1.4",
227
228
  "@vitest/coverage-v8": "^4.1.11",
228
229
  "esbuild": "0.28.2",
229
- "eslint": "^10.10.0",
230
+ "eslint": "^10.11.0",
230
231
  "eslint-plugin-sonarjs": "^4.2.1",
231
- "eslint-plugin-unicorn": "75.0.0",
232
- "fast-check": "^4.10.1",
232
+ "eslint-plugin-unicorn": "76.0.0",
233
+ "fast-check": "^4.10.2",
233
234
  "github-slugger": "2.0.0",
234
- "greptile": "^3.5.2",
235
+ "greptile": "^3.5.3",
235
236
  "jscpd": "^5.3.0",
237
+ "knip": "^6.37.0",
236
238
  "marked": "18.0.13",
237
239
  "parse5": "8.0.1",
238
- "tsx": "^4.23.13",
240
+ "tsx": "^4.23.15",
239
241
  "typescript": "^6.0.3",
240
242
  "typescript-eslint": "^8.70.0",
241
243
  "vitest": "^4.1.11"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-beads",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for importing Beads JSONL records.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-calendar",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for calendar and agenda views.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-command-kit",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm exemplar package for the commands capability: registerCommand, registerFlags, and registerParser.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-digital-twin",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Beyond-PM exemplar: a temporal production-facility digital twin built entirely on public pm SDK and extension primitives.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-governance-audit",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for governance audit and normalization workflows.",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Runtime contracts and behavior for packages/pm guide shell/extensions/guide shell/runtime.
2
+ * Adapt package commands to public SDK guide/completion operations and preserve their Markdown, script and word-list transports.
3
3
  *
4
4
  * @module packages/pm-guide-shell/extensions/guide-shell/runtime
5
5
  */
@@ -27,6 +27,7 @@ import {
27
27
  type ServiceOverrideContext,
28
28
  } from "@unbrained/pm-cli/sdk";
29
29
 
30
+ /** Resolve the explicit topic before positional input and retain only SDK-supported guide options. */
30
31
  function normalizeGuideOptions(
31
32
  args: string[],
32
33
  options: Record<string, unknown>,
@@ -44,6 +45,7 @@ function normalizeGuideOptions(
44
45
  };
45
46
  }
46
47
 
48
+ /** Choose the shell with a Bash default and normalize camel-case or snake-case choice options. */
47
49
  function normalizeCompletionOptions(
48
50
  args: string[],
49
51
  options: Record<string, unknown>,
@@ -66,6 +68,7 @@ function normalizeCompletionOptions(
66
68
  };
67
69
  }
68
70
 
71
+ /** Return distinct nonblank runtime type names in stable locale order without inventing fallback types. */
69
72
  function collectTypeNames(
70
73
  typeRegistry: ReturnType<typeof resolveItemTypeRegistry>,
71
74
  ): string[] {
@@ -79,12 +82,7 @@ function collectTypeNames(
79
82
  ].sort((left, right) => left.localeCompare(right));
80
83
  }
81
84
 
82
- function collectTypeToFolder(
83
- typeRegistry: ReturnType<typeof resolveItemTypeRegistry>,
84
- ): Record<string, string> {
85
- return typeRegistry.type_to_folder;
86
- }
87
-
85
+ /** Extract nonblank workflow status identifiers in stable locale order for helper responses. */
88
86
  function collectStatusNames(
89
87
  statusRegistry: ReturnType<typeof resolveRuntimeStatusRegistry>,
90
88
  ): string[] {
@@ -156,6 +154,7 @@ async function buildCompletionRuntimeConfig(global: GlobalOptions): Promise<Comp
156
154
  };
157
155
  }
158
156
 
157
+ /** Accept only non-array objects as output envelopes; primitive and array results remain unwrapped. */
159
158
  function payloadRecord(payload: unknown): Record<string, unknown> | undefined {
160
159
  return typeof payload === "object" &&
161
160
  payload !== null &&
@@ -164,15 +163,18 @@ function payloadRecord(payload: unknown): Record<string, unknown> | undefined {
164
163
  : undefined;
165
164
  }
166
165
 
166
+ /** Honor an explicit JSON envelope format and otherwise select the default human-readable transport. */
167
167
  function readPayloadFormat(payload: unknown): "toon" | "json" {
168
168
  return payloadRecord(payload)?.format === "json" ? "json" : "toon";
169
169
  }
170
170
 
171
+ /** Unwrap an own result property while preserving bare results and explicit undefined payload values. */
171
172
  function readPayloadResult(payload: unknown): unknown {
172
173
  const record = payloadRecord(payload);
173
174
  return record && Object.hasOwn(record, "result") ? record.result : payload;
174
175
  }
175
176
 
177
+ /** Trim and deduplicate nonblank string tags across all items, then sort the helper word list. */
176
178
  function collectTagsFromItems(items: ItemMetadata[]): string[] {
177
179
  const tagSet = new Set<string>();
178
180
  for (const item of items) {
@@ -186,6 +188,7 @@ function collectTagsFromItems(items: ItemMetadata[]): string[] {
186
188
  return [...tagSet].sort((left, right) => left.localeCompare(right));
187
189
  }
188
190
 
191
+ /** Read only string entries from the requested helper collection, returning no choices for malformed results. */
189
192
  function readStringArrayResult(
190
193
  result: unknown,
191
194
  key: "tags" | "statuses" | "types",
@@ -199,6 +202,7 @@ function readStringArrayResult(
199
202
  : [];
200
203
  }
201
204
 
205
+ /** Serialize explicit JSON or the whitespace-delimited helper protocol, always terminating output with a newline. */
202
206
  function renderJsonOrWords(
203
207
  payload: unknown,
204
208
  result: unknown,
@@ -210,6 +214,7 @@ function renderJsonOrWords(
210
214
  return `${readStringArrayResult(result, key).join(" ")}\n`;
211
215
  }
212
216
 
217
+ /** Render explicit JSON or a generated script with a trailing newline; defer unsupported result shapes. */
213
218
  function renderCompletionPackageOutput(
214
219
  payload: unknown,
215
220
  result: unknown,
@@ -228,6 +233,7 @@ function renderCompletionPackageOutput(
228
233
  return null;
229
234
  }
230
235
 
236
+ /** Render guide Markdown or JSON according to SDK format precedence and defer generic TOON rendering. */
231
237
  function renderGuidePackageOutput(
232
238
  context: ServiceOverrideContext,
233
239
  result: unknown,
@@ -247,7 +253,7 @@ function renderGuidePackageOutput(
247
253
  return null;
248
254
  }
249
255
 
250
- /** Executes the guide package operation through the package runtime. */
256
+ /** Normalize package arguments and delegate guide discovery to the public SDK using the caller workspace options. */
251
257
  export async function runGuidePackage(
252
258
  args: string[],
253
259
  options: Record<string, unknown>,
@@ -256,7 +262,7 @@ export async function runGuidePackage(
256
262
  return runGuide(normalizeGuideOptions(args, options), global);
257
263
  }
258
264
 
259
- /** Executes the completion package operation through the package runtime. */
265
+ /** Render the requested shell using explicit choices plus the active workspace schema and package command paths. */
260
266
  export async function runCompletionPackage(
261
267
  args: string[],
262
268
  options: Record<string, unknown>,
@@ -273,7 +279,7 @@ export async function runCompletionPackage(
273
279
  );
274
280
  }
275
281
 
276
- /** Executes the completion tags package operation through the package runtime. */
282
+ /** Collect tags across configured item folders and formats; return an empty counted collection before initialization. */
277
283
  export async function runCompletionTagsPackage(
278
284
  global: GlobalOptions,
279
285
  ): Promise<{ tags: string[]; count: number }> {
@@ -284,7 +290,7 @@ export async function runCompletionTagsPackage(
284
290
  const settings = await readSettings(pmRoot);
285
291
  const registrations = getActiveExtensionRegistrations();
286
292
  const typeRegistry = resolveItemTypeRegistry(settings, registrations);
287
- const typeToFolder = collectTypeToFolder(typeRegistry);
293
+ const typeToFolder = typeRegistry.type_to_folder;
288
294
  const itemFormat = (
289
295
  settings.item_format === "json_markdown" ? "json_markdown" : "toon"
290
296
  ) as "toon" | "json_markdown";
@@ -302,7 +308,7 @@ export async function runCompletionTagsPackage(
302
308
  };
303
309
  }
304
310
 
305
- /** Executes the completion statuses package operation through the package runtime. */
311
+ /** Expose configured workflow status IDs with an exact count, or an empty collection before initialization. */
306
312
  export async function runCompletionStatusesPackage(
307
313
  global: GlobalOptions,
308
314
  ): Promise<{ statuses: string[]; count: number }> {
@@ -320,7 +326,7 @@ export async function runCompletionStatusesPackage(
320
326
  };
321
327
  }
322
328
 
323
- /** Executes the completion types package operation through the package runtime. */
329
+ /** Expose distinct configured and extension-provided type names with an exact count; tolerate an uninitialized workspace. */
324
330
  export async function runCompletionTypesPackage(
325
331
  global: GlobalOptions,
326
332
  ): Promise<{ types: string[]; count: number }> {
@@ -338,7 +344,7 @@ export async function runCompletionTypesPackage(
338
344
  };
339
345
  }
340
346
 
341
- /** Formats guide shell package output data for the selected output mode. */
347
+ /** Preserve script and word-list wire formats for canonical commands and compatibility aliases, with explicit JSON output retained. */
342
348
  export function renderGuideShellPackageOutput(
343
349
  context: ServiceOverrideContext,
344
350
  ): string | null {
@@ -349,13 +355,13 @@ export function renderGuideShellPackageOutput(
349
355
  if (context.command === "completion") {
350
356
  return renderCompletionPackageOutput(context.payload, result);
351
357
  }
352
- if (context.command === "completion-tags") {
358
+ if (context.command === "completion-tags" || context.command === "completion tags") {
353
359
  return renderJsonOrWords(context.payload, result, "tags");
354
360
  }
355
- if (context.command === "completion-statuses") {
361
+ if (context.command === "completion-statuses" || context.command === "completion statuses") {
356
362
  return renderJsonOrWords(context.payload, result, "statuses");
357
363
  }
358
- if (context.command === "completion-types") {
364
+ if (context.command === "completion-types" || context.command === "completion types") {
359
365
  return renderJsonOrWords(context.payload, result, "types");
360
366
  }
361
367
  return null;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-guide-shell",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for guide and shell completion workflows.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-kanban",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm archetype package: a complete Kanban continuous-flow profile built on public SDK primitives.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-lifecycle-hooks",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package demonstrating safe lifecycle hook registration.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-linked-test-adapters",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for optional linked-test run management adapters and reporters.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-search-advanced",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for semantic, hybrid, and reindex search workflows.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-templates",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for reusable create templates.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-todos",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "First-party pm package for Todo markdown import and export.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-vcs-sdk-exemplar",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Beyond-PM exemplar: a VCS-style changeset workflow built entirely on public pm SDK and extension primitives.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pm-claude",
3
3
  "description": "Native pm CLI integration for Claude Code — 28 MCP tools, 5 workflow skills, 14 slash commands, 4 subagents (coordinator, delivery-chain, triage, verification), hybrid TUI task tracking (pm as persistent store + Claude Code task panel as live view), session context injection, and full git-based project management without leaving Claude Code.",
4
- "version": "2026.9.20",
4
+ "version": "2026.9.22",
5
5
  "author": {
6
6
  "name": "unbrained",
7
7
  "url": "https://github.com/unbraind/pm-cli"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-codex",
3
- "version": "2026.9.20",
3
+ "version": "2026.9.22",
4
4
  "description": "Native Codex integration for pm-cli with bundled MCP tools, skills, commands, and agent workflows.",
5
5
  "author": {
6
6
  "name": "unbrained",
@@ -3,6 +3,32 @@ import { mkdir, readFile, realpath, rm, writeFile } from "node:fs/promises";
3
3
  import path from "node:path";
4
4
  import { setTimeout as delay } from "node:timers/promises";
5
5
 
6
+ /** Read a published owner conservatively; incomplete receipts never authorize recovery. */
7
+ async function readLeaseOwner(ownerFile) {
8
+ try {
9
+ const owner = JSON.parse(await readFile(ownerFile, "utf8"));
10
+ return owner && Number.isSafeInteger(owner.pid) && owner.pid > 0
11
+ && typeof owner.token === "string" && owner.token.length > 0 ? owner : undefined;
12
+ } catch {
13
+ return undefined;
14
+ }
15
+ }
16
+
17
+ /** Diagnose a missing owner without deleting its lease or assuming its consumers stopped. */
18
+ async function assertLeaseOwnerPresent(ownerFile) {
19
+ const owner = await readLeaseOwner(ownerFile);
20
+ if (!owner) return;
21
+ try {
22
+ process.kill(owner.pid, 0);
23
+ } catch (error) {
24
+ if (error.code !== "ESRCH") return;
25
+ // The original owner may have released and another acquired between reads.
26
+ const current = await readLeaseOwner(ownerFile);
27
+ if (current?.pid !== owner.pid || current.token !== owner.token) return;
28
+ throw new Error(`Abandoned build lease: recorded owner PID ${owner.pid} is absent. Inspect ${ownerFile}; confirm its producer and consumers have stopped before manually removing the lease. No files were removed.`, { cause: error });
29
+ }
30
+ }
31
+
6
32
  /**
7
33
  * Hold an exclusive checkout lease through a complete producer or consumer.
8
34
  * Never steal a lock by age: a slow compiler or test is still its owner.
@@ -27,6 +53,7 @@ export async function withBuildLease(root, operation, options = {}) {
27
53
  break;
28
54
  } catch (error) {
29
55
  if (error.code !== "EEXIST") throw error;
56
+ await assertLeaseOwnerPresent(ownerFile);
30
57
  if (Date.now() >= deadline) {
31
58
  throw new Error("Timed out waiting for build lease. Check .cache/build-lease/owner.json; remove an abandoned lease only after confirming its producer and consumers have stopped.", { cause: error });
32
59
  }
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/activity
3
- *
4
- * Compatibility export for the SDK-owned activity query operation.
5
- */
6
- export * from "../../sdk/query/activity.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/aggregate Compatibility export for the SDK-owned aggregate query. */
2
- export * from "../../sdk/query/aggregate.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/append Compatibility export for the SDK-owned append lifecycle operation. */
2
- export * from "../../sdk/lifecycle/append.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/claim Compatibility export for SDK-owned ownership lifecycle operations. */
2
- export * from "../../sdk/lifecycle/claim.js";
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/close-many Compatibility export for the SDK-owned bulk close operation. */
2
- export * from "../../sdk/lifecycle/close-many.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/close
3
- *
4
- * Compatibility presentation shim for the SDK-owned close-item operation.
5
- */
6
- export { _testOnlyCloseCommand, closeItem, runClose, type CloseCommandOptions, type CloseResult, } from "../../sdk/lifecycle/close.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9d427524-4929-5184-b94e-8f808627d26e")}catch(e2){}})();import{_testOnlyCloseCommand,closeItem,runClose}from"../../sdk/lifecycle/close.js";export{_testOnlyCloseCommand,closeItem,runClose};
2
- //# sourceMappingURL=close.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/comments Compatibility export for SDK-owned comment annotations. */
2
- export * from "../../sdk/comments.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/context
3
- *
4
- * Compatibility export for the SDK-owned context query operation.
5
- */
6
- export * from "../../sdk/query/context.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="90ac260a-3714-526b-b8b5-d6e1c6c3dbb1")}catch(e2){}})();export*from"../../sdk/query/context.js";
2
- //# sourceMappingURL=context.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/contracts Compatibility export for SDK-owned runtime contracts. */
2
- export * from "../../sdk/cli-contracts/runtime-contracts.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/copy
3
- *
4
- * Preserves the CLI import path while copy lifecycle behavior is owned by the SDK.
5
- */
6
- export { runCopy, type CopyOptions, type CopyResult, } from "../../sdk/lifecycle/copy.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/create
3
- *
4
- * Compatibility export for the SDK-owned create lifecycle operation.
5
- */
6
- export * from "../../sdk/lifecycle/create.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/delete
3
- *
4
- * Preserves the CLI import path while the delete transaction is owned by the SDK.
5
- */
6
- export { runDelete, type DeleteCommandOptions, type DeleteResult, } from "../../sdk/lifecycle/delete.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/duplicates
3
- *
4
- * Compatibility export for SDK-owned duplicate-cluster discovery.
5
- */
6
- export * from "../../sdk/duplicates.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/extension
3
- *
4
- * Compatibility exports for the SDK-owned extension and package engine.
5
- */
6
- export * from "../../sdk/extension.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/focus
3
- *
4
- * Preserves the CLI import path while focus lifecycle behavior is owned by the SDK.
5
- */
6
- export { runFocus, type FocusOptions, type FocusResult, } from "../../sdk/lifecycle/focus.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/get
3
- *
4
- * Preserves the CLI import path while item retrieval is owned by the SDK.
5
- */
6
- export { _testOnlyGetCommand, runGet, type GetOptions, type GetResult, } from "../../sdk/query/get.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * @module cli/commands/health
3
- *
4
- * Compatibility adapter for the SDK-owned project health engine.
5
- */
6
- export * from "../../sdk/governance/health.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d413f650-10c4-55c1-8403-90a7783ef5e9")}catch(e2){}})();export*from"../../sdk/governance/health.js";
2
- //# sourceMappingURL=health.js.map
@@ -1,7 +0,0 @@
1
- /**
2
- * @module cli/commands/history-compact
3
- *
4
- * Presentation compatibility shim for public SDK history compaction. The SDK
5
- * owns checkpointing, pruning, integrity verification, and bulk target policy.
6
- */
7
- export { assertHistoryCompactTarget, runHistoryCompact, runHistoryCompactBulk, type HistoryCompactBulkCommandOptions, type HistoryCompactBulkItemResult, type HistoryCompactBulkResult, type HistoryCompactCommandOptions, type HistoryCompactResult, } from "../../sdk/history-compact.js";
@@ -1,2 +0,0 @@
1
- !(function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c713a4ec-b6a5-5a77-8c53-610dde8a386d")}catch(e2){}})();import{_testOnly,resolveHistorySubject,runHistoryRedact}from"../../sdk/history-redact.js";export{_testOnly,resolveHistorySubject,runHistoryRedact};
2
- //# sourceMappingURL=history-redact.js.map
@@ -1,2 +0,0 @@
1
- /** @module cli/commands/history Compatibility export for the SDK-owned history query. */
2
- export * from "../../sdk/query/history.js";
@@ -1,55 +0,0 @@
1
- /**
2
- * @module cli/commands/index
3
- *
4
- * Implements the pm command index command surface and its agent-facing runtime behavior.
5
- */
6
- export { runAppend } from "./append.js";
7
- export { runAggregate, type AggregateOptions, type AggregateResult, } from "./aggregate.js";
8
- export { runActivity } from "./activity.js";
9
- export { runClaim, runClaimNext, runRelease } from "./claim.js";
10
- export { runClose, type CloseCommandOptions, type CloseResult, } from "./close.js";
11
- export { runCloseMany, type CloseManyCommandOptions, type CloseManyResult, } from "./close-many.js";
12
- export { runComments } from "./comments.js";
13
- export { runConfig, type ConfigCommandOptions, type ConfigResult, } from "./config.js";
14
- export { runContracts, type ContractsCommandOptions, type ContractsResult, } from "./contracts.js";
15
- export { CONTEXT_OUTPUT_VALUES, buildChildrenByParent, collectSubtreeIds, compareCriticalItems, renderContextMarkdown, resolveContextOutputFormat, runContext, toContextFocusItem, type ContextFocusItem, type ContextOptions, type ContextOutputFormat, type ContextResult, } from "./context.js";
16
- export { NEXT_OUTPUT_VALUES, renderNextMarkdown, resolveNextOutputFormat, runNext, type NextActionableItem, type NextBlockerRef, type NextOptions, type NextOutputFormat, type NextRecommendation, type NextResult, } from "./next.js";
17
- export { runCreate, type CreateCommandOptions } from "./create.js";
18
- export { runCopy, type CopyOptions, type CopyResult } from "./copy.js";
19
- export { runFocus, type FocusOptions, type FocusResult } from "./focus.js";
20
- export { runMeet, runEvent, runRemind, type MeetingEventShortcutOptions, type ReminderShortcutOptions, type SchedulingShortcutCommonOptions, } from "./scheduling-shortcuts.js";
21
- export { suggestNextLifecycleTransition, type LifecycleTransitionSuggestion, } from "./lifecycle-transitions.js";
22
- export { runDelete, type DeleteCommandOptions, type DeleteResult, } from "./delete.js";
23
- export { runDeps, DEPS_FORMAT_VALUES, type DepsCommandOptions, type DepsFormat, type DepsResult, } from "./deps.js";
24
- export { runDocs } from "./docs.js";
25
- export { runGraph, GRAPH_SUBCOMMAND_VALUES, type GraphCommandOptions, type GraphResult, type GraphSubcommand, } from "./graph.js";
26
- export { runExtension, type ExtensionCommandOptions, type ExtensionCommandResult, } from "./extension.js";
27
- export { runFiles, runFilesDiscover } from "./files.js";
28
- export { runGc } from "./gc.js";
29
- export { runGet } from "./get.js";
30
- export { runHealth } from "./health.js";
31
- export { runHistory } from "./history.js";
32
- export { runHistoryCompact, type HistoryCompactCommandOptions, type HistoryCompactResult, } from "./history-compact.js";
33
- export { runHistoryRedact, type HistoryRedactCommandOptions, type HistoryRedactResult, } from "./history-redact.js";
34
- export { assertHistoryRepairTarget, runHistoryRepair, runHistoryRepairAll, type HistoryRepairAllResult, type HistoryRepairAllStreamResult, type HistoryRepairCommandOptions, type HistoryRepairResult, } from "./history-repair.js";
35
- export { runInit, summarizeInitResult, type InitConciseResult, } from "./init.js";
36
- export { INIT_AGENT_GUIDANCE_MODE_VALUES, runInitAgentGuidance, type InitAgentGuidanceMode, type InitAgentGuidanceSummary, type RunInitAgentGuidanceOptions, type RunInitAgentGuidanceResult, } from "./init-agent-guidance.js";
37
- export { runLearnings } from "./learnings.js";
38
- export { runList, type ListOptions } from "./list.js";
39
- export { runNotes } from "./notes.js";
40
- export { runPlan, PLAN_SUBCOMMANDS, PLAN_SHOW_DEPTH_VALUES, type PlanCommandOptions, type PlanCommandResult, type PlanDispatchInput, type PlanResultPlan, type PlanStepSummary, type PlanShowDepth, type PlanSubcommand, } from "./plan.js";
41
- export { runSchemaAddType, runSchemaRemoveType, runSchemaAddStatus, runSchemaRemoveStatus, runSchemaAddField, runSchemaRemoveField, runSchemaListFields, runSchemaShowField, runSchemaApplyPreset, runSchemaInferTypes, runSchemaList, runSchemaShow, runSchemaShowStatus, formatSchemaAddTypeHuman, formatSchemaRemoveTypeHuman, formatSchemaAddStatusHuman, formatSchemaRemoveStatusHuman, formatSchemaAddFieldHuman, formatSchemaRemoveFieldHuman, formatSchemaListFieldsHuman, formatSchemaShowFieldHuman, formatSchemaApplyPresetHuman, formatSchemaInferTypesHuman, formatSchemaListHuman, formatSchemaShowHuman, formatSchemaShowStatusHuman, SCHEMA_SUBCOMMANDS, type SchemaSubcommand, type SchemaAddTypeCommandOptions, type SchemaAddTypeResult, type SchemaRemoveTypeCommandOptions, type SchemaRemoveTypeResult, type SchemaAddStatusCommandOptions, type SchemaAddStatusResult, type SchemaRemoveStatusCommandOptions, type SchemaRemoveStatusResult, type SchemaAddFieldCommandOptions, type SchemaAddFieldResult, type SchemaRemoveFieldCommandOptions, type SchemaRemoveFieldResult, type SchemaListFieldsResult, type SchemaShowFieldResult, type SchemaApplyPresetCommandOptions, type SchemaApplyPresetResult, type SchemaAddTypeInferCommandOptions, type SchemaAddTypeInferResult, type SchemaListResult, type SchemaShowResult, type SchemaShowStatusResult, } from "./schema.js";
42
- export { runProfileApply, runProfileLint, runProfileList, runProfileShow, formatProfileApplyHuman, formatProfileLintHuman, formatProfileListHuman, formatProfileShowHuman, PROFILE_SUBCOMMANDS, type ProfileSubcommand, type ProfileApplyCommandOptions, type ProfileApplyResult, type ProfileLintResult, type ProfileListResult, type ProfileShowResult, type ProfileResult, } from "./profile.js";
43
- export { runSearch } from "./search.js";
44
- export { runEval } from "./eval.js";
45
- export { runRestore } from "./restore.js";
46
- export { runStats } from "./stats.js";
47
- export { runDuplicates } from "./duplicates.js";
48
- export { runTelemetry, TELEMETRY_SUBCOMMANDS, type TelemetryCommandOptions, type TelemetrySubcommand, } from "./telemetry.js";
49
- export { runTest } from "./test.js";
50
- export { runTestAll } from "./test-all.js";
51
- export { runStartBackgroundRun, runTestRunsList, runTestRunsLogs, runTestRunsResume, runTestRunsStatus, runTestRunsStop, runTestRunsWorker, } from "./test-runs.js";
52
- export { runUpdate } from "./update.js";
53
- export { runUpdateMany, type UpdateManyCommandOptions, type UpdateManyResult, } from "./update-many.js";
54
- export { runUpgrade, type UpgradeCommandOptions, type UpgradeResult, } from "./upgrade.js";
55
- export { runValidate, type ValidateCheck, type ValidateCommandOptions, type ValidateResult, } from "./validate.js";