@unbrained/pm-cli 2026.7.17 → 2026.7.18

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 (264) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +13 -0
  3. package/dist/cli/commands/close.d.ts +1 -1
  4. package/dist/cli/commands/close.js +3 -3
  5. package/dist/cli/commands/close.js.map +1 -1
  6. package/dist/cli/commands/completion.js +47 -5
  7. package/dist/cli/commands/completion.js.map +1 -1
  8. package/dist/cli/commands/context.d.ts +2 -2
  9. package/dist/cli/commands/context.js +42 -28
  10. package/dist/cli/commands/context.js.map +1 -1
  11. package/dist/cli/commands/contracts.js +5 -3
  12. package/dist/cli/commands/contracts.js.map +1 -1
  13. package/dist/cli/commands/graph.d.ts +7 -0
  14. package/dist/cli/commands/graph.js +11 -0
  15. package/dist/cli/commands/graph.js.map +1 -0
  16. package/dist/cli/commands/index.d.ts +1 -0
  17. package/dist/cli/commands/index.js +3 -2
  18. package/dist/cli/commands/index.js.map +1 -1
  19. package/dist/cli/commands/next.d.ts +1 -1
  20. package/dist/cli/commands/next.js +3 -3
  21. package/dist/cli/commands/next.js.map +1 -1
  22. package/dist/cli/main.js +3 -2
  23. package/dist/cli/main.js.map +1 -1
  24. package/dist/cli/register-list-query.js +49 -7
  25. package/dist/cli/register-list-query.js.map +1 -1
  26. package/dist/cli/register-mutation.js +7 -3
  27. package/dist/cli/register-mutation.js.map +1 -1
  28. package/dist/cli-bundle/bundle-manifest.json +157 -149
  29. package/dist/cli-bundle/chunks/{chunk-N7I2DGLP.js → chunk-35FHWD4C.js} +4 -4
  30. package/dist/cli-bundle/chunks/{chunk-37V5MXAU.js.map → chunk-35FHWD4C.js.map} +1 -7
  31. package/dist/cli-bundle/chunks/{chunk-MSGETE6I.js → chunk-3CUQZNQ6.js} +67 -509
  32. package/dist/cli-bundle/chunks/chunk-3CUQZNQ6.js.map +7 -0
  33. package/dist/cli-bundle/chunks/chunk-3QDR6ZLU.js +800 -0
  34. package/dist/cli-bundle/chunks/chunk-3QDR6ZLU.js.map +7 -0
  35. package/dist/cli-bundle/chunks/{chunk-QNUAZYGW.js → chunk-43UMFKCK.js} +3 -3
  36. package/dist/cli-bundle/chunks/{chunk-HF63SBLC.js → chunk-6VHUGVNP.js} +39 -16
  37. package/dist/cli-bundle/chunks/chunk-6VHUGVNP.js.map +1 -0
  38. package/dist/cli-bundle/chunks/{chunk-B6SH2YNN.js → chunk-7R6UIHYY.js} +2 -2
  39. package/dist/cli-bundle/chunks/{chunk-NCAFUBJX.js → chunk-7UCY6DR5.js} +183 -12
  40. package/dist/cli-bundle/chunks/chunk-7UCY6DR5.js.map +1 -0
  41. package/dist/cli-bundle/chunks/{chunk-23TCGBRK.js → chunk-ADXDCAKP.js} +2 -2
  42. package/dist/cli-bundle/chunks/{chunk-7LTCLTRG.js → chunk-AXRT7K5V.js} +16 -3
  43. package/dist/cli-bundle/chunks/chunk-AXRT7K5V.js.map +7 -0
  44. package/dist/cli-bundle/chunks/{chunk-P56LKFQX.js → chunk-BDA35QG5.js} +34 -4
  45. package/dist/cli-bundle/chunks/chunk-BDA35QG5.js.map +7 -0
  46. package/dist/cli-bundle/chunks/{chunk-2MPMKJF2.js → chunk-DHNG452T.js} +2 -2
  47. package/dist/cli-bundle/chunks/{chunk-AFSV5HBB.js → chunk-E4FXM2XB.js} +2 -2
  48. package/dist/cli-bundle/chunks/{chunk-QKVVV6QO.js → chunk-EWIT5WIC.js} +3 -3
  49. package/dist/cli-bundle/chunks/chunk-EX7OQT3Y.js +783 -0
  50. package/dist/cli-bundle/chunks/chunk-EX7OQT3Y.js.map +1 -0
  51. package/dist/cli-bundle/chunks/{chunk-LLODAQMP.js → chunk-F3VC3GOV.js} +41 -18
  52. package/dist/cli-bundle/chunks/chunk-F3VC3GOV.js.map +7 -0
  53. package/dist/cli-bundle/chunks/{chunk-S46R2M3W.js → chunk-GKPCTQYG.js} +1709 -5
  54. package/dist/cli-bundle/chunks/chunk-GKPCTQYG.js.map +7 -0
  55. package/dist/cli-bundle/chunks/{chunk-HXVHBERL.js → chunk-HPAYDSR2.js} +2 -2
  56. package/dist/cli-bundle/chunks/{chunk-XNPMDSQQ.js → chunk-HYTOJW2Q.js} +2 -2
  57. package/dist/cli-bundle/chunks/{chunk-V3VBXQQV.js → chunk-I3INI567.js} +516 -429
  58. package/dist/cli-bundle/chunks/chunk-I3INI567.js.map +7 -0
  59. package/dist/cli-bundle/chunks/{chunk-V7MP6YTN.js → chunk-IL5SPRMH.js} +2 -2
  60. package/dist/cli-bundle/chunks/{chunk-YQCWK2MB.js → chunk-L5BTTDU5.js} +68 -503
  61. package/dist/cli-bundle/chunks/chunk-L5BTTDU5.js.map +1 -0
  62. package/dist/cli-bundle/chunks/{chunk-SIJV365F.js → chunk-NCVT6XEL.js} +17 -4
  63. package/dist/cli-bundle/chunks/chunk-NCVT6XEL.js.map +1 -0
  64. package/dist/cli-bundle/chunks/{chunk-DCC2AQBD.js → chunk-OGVTB5VO.js} +32 -31
  65. package/dist/cli-bundle/chunks/chunk-OGVTB5VO.js.map +7 -0
  66. package/dist/cli-bundle/chunks/{chunk-6XAZB6SE.js → chunk-QPGQNLPI.js} +1660 -7
  67. package/dist/cli-bundle/chunks/chunk-QPGQNLPI.js.map +1 -0
  68. package/dist/cli-bundle/chunks/{chunk-KOEZCHRF.js → chunk-QRZNCRNA.js} +2 -2
  69. package/dist/cli-bundle/chunks/{chunk-G6KM4YKY.js → chunk-RXPQ5Q23.js} +3 -3
  70. package/dist/cli-bundle/chunks/{chunk-7CTQ7WW5.js → chunk-SIPOACV5.js} +514 -427
  71. package/dist/cli-bundle/chunks/chunk-SIPOACV5.js.map +1 -0
  72. package/dist/cli-bundle/chunks/{chunk-XYJK6GIQ.js → chunk-TGBTLGPX.js} +2 -2
  73. package/dist/cli-bundle/chunks/{chunk-37V5MXAU.js → chunk-TLWJP5BF.js} +3 -3
  74. package/dist/cli-bundle/chunks/chunk-TLWJP5BF.js.map +7 -0
  75. package/dist/cli-bundle/chunks/{chunk-3D4YVTNG.js → chunk-TZAE66GQ.js} +2 -2
  76. package/dist/cli-bundle/chunks/{chunk-S6FF7VW6.js → chunk-WQXRZMFN.js} +187 -16
  77. package/dist/cli-bundle/chunks/chunk-WQXRZMFN.js.map +7 -0
  78. package/dist/cli-bundle/chunks/{chunk-SPFZV2GR.js → chunk-XPUTSGJU.js} +32 -31
  79. package/dist/cli-bundle/chunks/chunk-XPUTSGJU.js.map +1 -0
  80. package/dist/cli-bundle/chunks/{chunk-CFSUNEL7.js → chunk-XWBD6DSR.js} +3 -3
  81. package/dist/cli-bundle/chunks/{chunk-MNV226E4.js → chunk-XWYQ2LT4.js} +2 -2
  82. package/dist/cli-bundle/chunks/{chunk-I7GY4X6Y.js → chunk-YFE7JHX3.js} +26 -5
  83. package/dist/cli-bundle/chunks/chunk-YFE7JHX3.js.map +1 -0
  84. package/dist/cli-bundle/chunks/{chunk-FZGM3PNA.js → chunk-YIIIAKCE.js} +2 -2
  85. package/dist/cli-bundle/chunks/{close-BEP7MHF3.js → close-GPD7DTJV.js} +3 -3
  86. package/dist/cli-bundle/chunks/{close-Y6QFUJQN.js → close-X3CF6FQP.js} +3 -3
  87. package/dist/cli-bundle/chunks/{close-many-JJFW7KTT.js → close-many-J7A5EHOQ.js} +5 -5
  88. package/dist/cli-bundle/chunks/{close-many-QJ6FKJUE.js → close-many-NQLYGPYW.js} +5 -5
  89. package/dist/cli-bundle/chunks/{deps-EVTOQMKW.js → deps-MQ4ZIGZB.js} +13 -4
  90. package/dist/cli-bundle/chunks/{deps-5NC4IZH7.js → deps-NIIKXLPB.js} +13 -4
  91. package/dist/cli-bundle/chunks/{profile-U2B6Y7GE.js → profile-AVCIIZID.js} +3 -3
  92. package/dist/cli-bundle/chunks/{profile-AGUKS52S.js → profile-LFYO3HHX.js} +3 -3
  93. package/dist/cli-bundle/chunks/{register-list-query-A5KRJ5J2.js → register-list-query-MZUF2EEC.js} +41 -13
  94. package/dist/cli-bundle/chunks/register-list-query-MZUF2EEC.js.map +1 -0
  95. package/dist/cli-bundle/chunks/{register-list-query-NEYP3TXO.js → register-list-query-UKMF55FT.js} +40 -12
  96. package/dist/cli-bundle/chunks/register-list-query-UKMF55FT.js.map +7 -0
  97. package/dist/cli-bundle/chunks/{register-mutation-6LOPBAHC.js → register-mutation-2PBW2GEX.js} +15 -13
  98. package/dist/cli-bundle/chunks/register-mutation-2PBW2GEX.js.map +1 -0
  99. package/dist/cli-bundle/chunks/{register-mutation-GCZOALNJ.js → register-mutation-T6RVNJC4.js} +14 -12
  100. package/dist/cli-bundle/chunks/{register-mutation-GCZOALNJ.js.map → register-mutation-T6RVNJC4.js.map} +2 -2
  101. package/dist/cli-bundle/chunks/{register-operations-6ZZIF27A.js → register-operations-KHZYR6MG.js} +11 -11
  102. package/dist/cli-bundle/chunks/{register-operations-REDIAEGI.js → register-operations-WPQ2LWZJ.js} +11 -11
  103. package/dist/cli-bundle/chunks/{register-setup-J3JS2ZVT.js → register-setup-PGDNOXDQ.js} +5 -5
  104. package/dist/cli-bundle/chunks/{register-setup-BHPMN5SK.js → register-setup-TDN7WAO6.js} +5 -5
  105. package/dist/cli-bundle/chunks/{update-SA6AG23P.js → update-SQYZA3ZW.js} +4 -4
  106. package/dist/cli-bundle/chunks/{update-PQQHLYCC.js → update-XZJYS5X7.js} +4 -4
  107. package/dist/cli-bundle/chunks/{update-many-RQVTFJPD.js → update-many-R24B3GBK.js} +6 -6
  108. package/dist/cli-bundle/chunks/{update-many-TV3L3KBX.js → update-many-WQ3R3J6N.js} +6 -6
  109. package/dist/cli-bundle/main.js +25 -9
  110. package/dist/cli-bundle/main.js.map +2 -2
  111. package/dist/cli-bundle/sdk-runtime.js +19 -16
  112. package/dist/cli-bundle/sdk.js +95 -305
  113. package/dist/cli-bundle/sdk.js.map +4 -4
  114. package/dist/core/item/actionability.d.ts +12 -0
  115. package/dist/core/item/actionability.js +39 -4
  116. package/dist/core/item/actionability.js.map +1 -1
  117. package/dist/core/sentry/instrument.d.ts +11 -0
  118. package/dist/core/sentry/instrument.js +21 -2
  119. package/dist/core/sentry/instrument.js.map +1 -1
  120. package/dist/mcp/server.d.ts +16 -18
  121. package/dist/mcp/server.js +84 -31
  122. package/dist/mcp/server.js.map +1 -1
  123. package/dist/mcp/tool-definitions.js +17 -4
  124. package/dist/mcp/tool-definitions.js.map +1 -1
  125. package/dist/sdk/actionability.d.ts +10 -0
  126. package/dist/sdk/actionability.js +14 -0
  127. package/dist/sdk/actionability.js.map +1 -0
  128. package/dist/sdk/cli-contracts/enum-contracts.d.ts +6 -2
  129. package/dist/sdk/cli-contracts/enum-contracts.js +19 -2
  130. package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
  131. package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
  132. package/dist/sdk/cli-contracts/flag-contracts.js +21 -2
  133. package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
  134. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +2 -0
  135. package/dist/sdk/cli-contracts/tool-option-contracts.js +16 -2
  136. package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
  137. package/dist/sdk/cli-contracts/tool-parameter-tables.js +80 -3
  138. package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
  139. package/dist/sdk/cli-contracts/tool-schema.d.ts +20 -0
  140. package/dist/sdk/cli-contracts/tool-schema.js +97 -9
  141. package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
  142. package/dist/sdk/cli-contracts.d.ts +2 -2
  143. package/dist/sdk/cli-contracts.js +4 -4
  144. package/dist/sdk/cli-contracts.js.map +1 -1
  145. package/dist/sdk/dependencies.d.ts +42 -53
  146. package/dist/sdk/dependencies.js +177 -125
  147. package/dist/sdk/dependencies.js.map +1 -1
  148. package/dist/sdk/governance/validate.js +3 -3
  149. package/dist/sdk/governance/validate.js.map +1 -1
  150. package/dist/sdk/graph/analytics.d.ts +124 -0
  151. package/dist/sdk/graph/analytics.js +464 -0
  152. package/dist/sdk/graph/analytics.js.map +1 -0
  153. package/dist/sdk/graph/assembly.d.ts +97 -0
  154. package/dist/sdk/graph/assembly.js +146 -0
  155. package/dist/sdk/graph/assembly.js.map +1 -0
  156. package/dist/sdk/graph/cache.d.ts +66 -0
  157. package/dist/sdk/graph/cache.js +148 -0
  158. package/dist/sdk/graph/cache.js.map +1 -0
  159. package/dist/sdk/graph/governance.d.ts +108 -0
  160. package/dist/sdk/graph/governance.js +360 -0
  161. package/dist/sdk/graph/governance.js.map +1 -0
  162. package/dist/sdk/graph/index.d.ts +16 -0
  163. package/dist/sdk/graph/index.js +20 -0
  164. package/dist/sdk/graph/index.js.map +1 -0
  165. package/dist/sdk/graph/remediation.d.ts +52 -0
  166. package/dist/sdk/graph/remediation.js +148 -0
  167. package/dist/sdk/graph/remediation.js.map +1 -0
  168. package/dist/sdk/graph/run.d.ts +295 -0
  169. package/dist/sdk/graph/run.js +468 -0
  170. package/dist/sdk/graph/run.js.map +1 -0
  171. package/dist/sdk/graph/traversal.d.ts +77 -0
  172. package/dist/sdk/graph/traversal.js +262 -0
  173. package/dist/sdk/graph/traversal.js.map +1 -0
  174. package/dist/sdk/index.d.ts +4 -2
  175. package/dist/sdk/index.js +6 -4
  176. package/dist/sdk/index.js.map +1 -1
  177. package/dist/sdk/query/list.d.ts +8 -0
  178. package/dist/sdk/query/list.js +19 -3
  179. package/dist/sdk/query/list.js.map +1 -1
  180. package/dist/sdk/relationship-context.d.ts +42 -0
  181. package/dist/sdk/relationship-context.js +99 -20
  182. package/dist/sdk/relationship-context.js.map +1 -1
  183. package/dist/sdk/relationships.d.ts +13 -0
  184. package/dist/sdk/relationships.js +30 -2
  185. package/dist/sdk/relationships.js.map +1 -1
  186. package/dist/sdk/runtime-input.d.ts +41 -0
  187. package/dist/sdk/runtime-input.js +422 -2
  188. package/dist/sdk/runtime-input.js.map +1 -1
  189. package/dist/sdk/runtime.d.ts +12 -23
  190. package/dist/sdk/runtime.js +19 -371
  191. package/dist/sdk/runtime.js.map +1 -1
  192. package/dist/sdk/test/linked-command-detection.js +12 -3
  193. package/dist/sdk/test/linked-command-detection.js.map +1 -1
  194. package/docs/AGENT_GUIDE.md +1 -0
  195. package/docs/COMMANDS.md +19 -1
  196. package/docs/RELATIONSHIP_GRAPH.md +99 -3
  197. package/docs/SDK.md +17 -3
  198. package/marketplace.json +2 -2
  199. package/package.json +1 -1
  200. package/packages/pm-beads/package.json +1 -1
  201. package/packages/pm-calendar/package.json +1 -1
  202. package/packages/pm-command-kit/package.json +1 -1
  203. package/packages/pm-governance-audit/package.json +1 -1
  204. package/packages/pm-guide-shell/package.json +1 -1
  205. package/packages/pm-kanban/package.json +1 -1
  206. package/packages/pm-lifecycle-hooks/package.json +1 -1
  207. package/packages/pm-linked-test-adapters/package.json +1 -1
  208. package/packages/pm-search-advanced/package.json +1 -1
  209. package/packages/pm-templates/package.json +1 -1
  210. package/packages/pm-todos/package.json +1 -1
  211. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  212. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  213. package/dist/cli-bundle/chunks/chunk-6XAZB6SE.js.map +0 -1
  214. package/dist/cli-bundle/chunks/chunk-7CTQ7WW5.js.map +0 -1
  215. package/dist/cli-bundle/chunks/chunk-7LTCLTRG.js.map +0 -7
  216. package/dist/cli-bundle/chunks/chunk-DCC2AQBD.js.map +0 -7
  217. package/dist/cli-bundle/chunks/chunk-HF63SBLC.js.map +0 -1
  218. package/dist/cli-bundle/chunks/chunk-I7GY4X6Y.js.map +0 -1
  219. package/dist/cli-bundle/chunks/chunk-LLODAQMP.js.map +0 -7
  220. package/dist/cli-bundle/chunks/chunk-MSGETE6I.js.map +0 -7
  221. package/dist/cli-bundle/chunks/chunk-N7I2DGLP.js.map +0 -1
  222. package/dist/cli-bundle/chunks/chunk-NCAFUBJX.js.map +0 -1
  223. package/dist/cli-bundle/chunks/chunk-P56LKFQX.js.map +0 -7
  224. package/dist/cli-bundle/chunks/chunk-S46R2M3W.js.map +0 -7
  225. package/dist/cli-bundle/chunks/chunk-S6FF7VW6.js.map +0 -7
  226. package/dist/cli-bundle/chunks/chunk-SIJV365F.js.map +0 -1
  227. package/dist/cli-bundle/chunks/chunk-SPFZV2GR.js.map +0 -1
  228. package/dist/cli-bundle/chunks/chunk-V3VBXQQV.js.map +0 -7
  229. package/dist/cli-bundle/chunks/chunk-YQCWK2MB.js.map +0 -1
  230. package/dist/cli-bundle/chunks/register-list-query-A5KRJ5J2.js.map +0 -1
  231. package/dist/cli-bundle/chunks/register-list-query-NEYP3TXO.js.map +0 -7
  232. package/dist/cli-bundle/chunks/register-mutation-6LOPBAHC.js.map +0 -1
  233. /package/dist/cli-bundle/chunks/{chunk-QNUAZYGW.js.map → chunk-43UMFKCK.js.map} +0 -0
  234. /package/dist/cli-bundle/chunks/{chunk-B6SH2YNN.js.map → chunk-7R6UIHYY.js.map} +0 -0
  235. /package/dist/cli-bundle/chunks/{chunk-23TCGBRK.js.map → chunk-ADXDCAKP.js.map} +0 -0
  236. /package/dist/cli-bundle/chunks/{chunk-2MPMKJF2.js.map → chunk-DHNG452T.js.map} +0 -0
  237. /package/dist/cli-bundle/chunks/{chunk-AFSV5HBB.js.map → chunk-E4FXM2XB.js.map} +0 -0
  238. /package/dist/cli-bundle/chunks/{chunk-QKVVV6QO.js.map → chunk-EWIT5WIC.js.map} +0 -0
  239. /package/dist/cli-bundle/chunks/{chunk-HXVHBERL.js.map → chunk-HPAYDSR2.js.map} +0 -0
  240. /package/dist/cli-bundle/chunks/{chunk-XNPMDSQQ.js.map → chunk-HYTOJW2Q.js.map} +0 -0
  241. /package/dist/cli-bundle/chunks/{chunk-V7MP6YTN.js.map → chunk-IL5SPRMH.js.map} +0 -0
  242. /package/dist/cli-bundle/chunks/{chunk-KOEZCHRF.js.map → chunk-QRZNCRNA.js.map} +0 -0
  243. /package/dist/cli-bundle/chunks/{chunk-G6KM4YKY.js.map → chunk-RXPQ5Q23.js.map} +0 -0
  244. /package/dist/cli-bundle/chunks/{chunk-XYJK6GIQ.js.map → chunk-TGBTLGPX.js.map} +0 -0
  245. /package/dist/cli-bundle/chunks/{chunk-3D4YVTNG.js.map → chunk-TZAE66GQ.js.map} +0 -0
  246. /package/dist/cli-bundle/chunks/{chunk-CFSUNEL7.js.map → chunk-XWBD6DSR.js.map} +0 -0
  247. /package/dist/cli-bundle/chunks/{chunk-MNV226E4.js.map → chunk-XWYQ2LT4.js.map} +0 -0
  248. /package/dist/cli-bundle/chunks/{chunk-FZGM3PNA.js.map → chunk-YIIIAKCE.js.map} +0 -0
  249. /package/dist/cli-bundle/chunks/{close-BEP7MHF3.js.map → close-GPD7DTJV.js.map} +0 -0
  250. /package/dist/cli-bundle/chunks/{close-Y6QFUJQN.js.map → close-X3CF6FQP.js.map} +0 -0
  251. /package/dist/cli-bundle/chunks/{close-many-JJFW7KTT.js.map → close-many-J7A5EHOQ.js.map} +0 -0
  252. /package/dist/cli-bundle/chunks/{close-many-QJ6FKJUE.js.map → close-many-NQLYGPYW.js.map} +0 -0
  253. /package/dist/cli-bundle/chunks/{deps-EVTOQMKW.js.map → deps-MQ4ZIGZB.js.map} +0 -0
  254. /package/dist/cli-bundle/chunks/{deps-5NC4IZH7.js.map → deps-NIIKXLPB.js.map} +0 -0
  255. /package/dist/cli-bundle/chunks/{profile-U2B6Y7GE.js.map → profile-AVCIIZID.js.map} +0 -0
  256. /package/dist/cli-bundle/chunks/{profile-AGUKS52S.js.map → profile-LFYO3HHX.js.map} +0 -0
  257. /package/dist/cli-bundle/chunks/{register-operations-6ZZIF27A.js.map → register-operations-KHZYR6MG.js.map} +0 -0
  258. /package/dist/cli-bundle/chunks/{register-operations-REDIAEGI.js.map → register-operations-WPQ2LWZJ.js.map} +0 -0
  259. /package/dist/cli-bundle/chunks/{register-setup-J3JS2ZVT.js.map → register-setup-PGDNOXDQ.js.map} +0 -0
  260. /package/dist/cli-bundle/chunks/{register-setup-BHPMN5SK.js.map → register-setup-TDN7WAO6.js.map} +0 -0
  261. /package/dist/cli-bundle/chunks/{update-SA6AG23P.js.map → update-SQYZA3ZW.js.map} +0 -0
  262. /package/dist/cli-bundle/chunks/{update-PQQHLYCC.js.map → update-XZJYS5X7.js.map} +0 -0
  263. /package/dist/cli-bundle/chunks/{update-many-RQVTFJPD.js.map → update-many-R24B3GBK.js.map} +0 -0
  264. /package/dist/cli-bundle/chunks/{update-many-TV3L3KBX.js.map → update-many-WQ3R3J6N.js.map} +0 -0
@@ -11,7 +11,7 @@ import {
11
11
  readFirstStringFromCommanderOptions,
12
12
  readFirstValueFromCommanderOptions,
13
13
  readStringArrayFromCommanderOptions
14
- } from "./chunk-S6FF7VW6.js";
14
+ } from "./chunk-WQXRZMFN.js";
15
15
  import {
16
16
  printError,
17
17
  writeStdout
@@ -3105,4 +3105,4 @@ export {
3105
3105
  normalizeNextOptions,
3106
3106
  invalidateSearchCachesForMutation
3107
3107
  };
3108
- //# sourceMappingURL=chunk-B6SH2YNN.js.map
3108
+ //# sourceMappingURL=chunk-7R6UIHYY.js.map
@@ -1,5 +1,5 @@
1
1
 
2
- !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]="9decba65-3d76-51de-a780-8cac1ab5d5b7")}catch(e){}}();
2
+ !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]="ebed3dd6-7ac3-5ba9-81af-461fa44a9c47")}catch(e){}}();
3
3
  import {
4
4
  KNOWN_EXTENSION_CAPABILITIES,
5
5
  KNOWN_EXTENSION_POLICY_MODES,
@@ -1192,6 +1192,7 @@ var PM_CORE_COMMAND_NAMES = [
1192
1192
  "context",
1193
1193
  "ctx",
1194
1194
  "get",
1195
+ "graph",
1195
1196
  "search",
1196
1197
  "eval",
1197
1198
  "next",
@@ -1234,6 +1235,20 @@ var PM_CORE_COMMAND_NAMES = [
1234
1235
  "remind",
1235
1236
  "help"
1236
1237
  ];
1238
+ var GRAPH_SUBCOMMAND_VALUES = [
1239
+ "ancestors",
1240
+ "descendants",
1241
+ "predecessors",
1242
+ "successors",
1243
+ "paths",
1244
+ "impact",
1245
+ "analyze",
1246
+ "audit",
1247
+ "communities",
1248
+ "redundancy",
1249
+ "dominators",
1250
+ "plan"
1251
+ ];
1237
1252
  var PM_TOOL_ACTIONS = [
1238
1253
  "init",
1239
1254
  "config",
@@ -1305,6 +1320,7 @@ var PM_TOOL_ACTIONS = [
1305
1320
  "files",
1306
1321
  "docs",
1307
1322
  "deps",
1323
+ "graph",
1308
1324
  "test",
1309
1325
  "test-all",
1310
1326
  "telemetry",
@@ -1677,7 +1693,9 @@ var TOOL_DEPS_OPTION_CONTRACTS = [
1677
1693
  { param: "nodeLimit", flag: "--node-limit" },
1678
1694
  { param: "edgeLimit", flag: "--edge-limit" },
1679
1695
  { param: "tokenBudget", flag: "--token-budget" },
1680
- { param: "cursor", flag: "--cursor" }
1696
+ { param: "cursor", flag: "--cursor" },
1697
+ { param: "direction", flag: "--direction" },
1698
+ { param: "kind", flag: "--kind", repeatable: true }
1681
1699
  ];
1682
1700
 
1683
1701
  // dist/sdk/cli-contracts/string-lists.js
@@ -2831,6 +2849,23 @@ var DEPS_FLAG_CONTRACTS = [
2831
2849
  { flag: "--format" },
2832
2850
  { flag: "--max-depth" },
2833
2851
  { flag: "--collapse" },
2852
+ { flag: "--summary" },
2853
+ { flag: "--node-limit" },
2854
+ { flag: "--edge-limit" },
2855
+ { flag: "--token-budget" },
2856
+ { flag: "--cursor" },
2857
+ { flag: "--direction" },
2858
+ { flag: "--kind", list: true }
2859
+ ];
2860
+ var GRAPH_FLAG_CONTRACTS = [
2861
+ { flag: "--kind", list: true },
2862
+ { flag: "--max-depth" },
2863
+ { flag: "--limit" },
2864
+ { flag: "--after" },
2865
+ { flag: "--direction" },
2866
+ { flag: "--max-paths" },
2867
+ { flag: "--sample" },
2868
+ { flag: "--exempt-isolate", list: true },
2834
2869
  { flag: "--summary" }
2835
2870
  ];
2836
2871
  var EVAL_FLAG_CONTRACTS = [
@@ -2983,6 +3018,7 @@ var SUBCOMMAND_FLAG_CONTRACTS_BY_COMMAND = new Map([
2983
3018
  ["files", FILES_FLAG_CONTRACTS],
2984
3019
  ["docs", DOCS_FLAG_CONTRACTS],
2985
3020
  ["deps", DEPS_FLAG_CONTRACTS],
3021
+ ["graph", GRAPH_FLAG_CONTRACTS],
2986
3022
  ["test", TEST_FLAG_CONTRACTS],
2987
3023
  ["test-all", TEST_ALL_FLAG_CONTRACTS],
2988
3024
  ["telemetry", TELEMETRY_FLAG_CONTRACTS],
@@ -3395,6 +3431,22 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
3395
3431
  edgeLimit: { anyOf: [{ type: "string" }, { type: "integer", minimum: 1 }] },
3396
3432
  tokenBudget: { anyOf: [{ type: "string" }, { type: "integer", minimum: 1 }] },
3397
3433
  cursor: { type: "string" },
3434
+ direction: { type: "string", enum: ["outgoing", "incoming", "both"] },
3435
+ kind: {
3436
+ anyOf: [
3437
+ { type: "string" },
3438
+ { type: "array", items: { type: "string" } }
3439
+ ]
3440
+ },
3441
+ after: { type: "string" },
3442
+ maxPaths: { anyOf: [{ type: "string" }, { type: "integer", minimum: 1 }] },
3443
+ sample: { anyOf: [{ type: "string" }, { type: "integer", minimum: 1 }] },
3444
+ exemptIsolate: {
3445
+ anyOf: [
3446
+ { type: "string" },
3447
+ { type: "array", items: { type: "string" } }
3448
+ ]
3449
+ },
3398
3450
  collapse: { type: "string", enum: ["none", "repeated"] },
3399
3451
  shell: { type: "string", enum: ["bash", "zsh", "fish"] },
3400
3452
  stdin: { type: "boolean" },
@@ -3710,7 +3762,7 @@ var PM_TOOL_PARAMETER_METADATA = {
3710
3762
  examples: ["Task", "Feature"]
3711
3763
  },
3712
3764
  subcommand: {
3713
- description: "Subcommand selector for schema, profile, and telemetry actions."
3765
+ description: "Subcommand selector for schema, profile, telemetry, and graph actions."
3714
3766
  },
3715
3767
  name: {
3716
3768
  description: "Custom item type name (schema add-type/remove-type/show), custom status id (schema show-status/add-status/remove-status), custom field key (schema add-field/remove-field/show-field), or profile name (profile show/apply/lint).",
@@ -4290,6 +4342,30 @@ var PM_TOOL_PARAMETER_METADATA = {
4290
4342
  cursor: {
4291
4343
  description: "Opaque continuation cursor returned by deps --format context."
4292
4344
  },
4345
+ direction: {
4346
+ description: 'Graph-context traversal direction for deps action ("outgoing", "incoming", or "both").',
4347
+ examples: ["both", "incoming"]
4348
+ },
4349
+ kind: {
4350
+ description: "Registered relationship kinds narrowing deps --format context traversal (string, comma-separated, or array).",
4351
+ examples: ["blocked_by", ["parent", "related"]]
4352
+ },
4353
+ after: {
4354
+ description: "Continuation cursor resuming a bounded listing or traversal after this previously returned id.",
4355
+ examples: ["pm-x1y2"]
4356
+ },
4357
+ maxPaths: {
4358
+ description: "Maximum enumerated paths for graph paths queries.",
4359
+ examples: [5, "10"]
4360
+ },
4361
+ sample: {
4362
+ description: "Maximum evidence sample entries per graph audit finding.",
4363
+ examples: [10, "25"]
4364
+ },
4365
+ exemptIsolate: {
4366
+ description: "Item ids the graph audit treats as explicitly valid isolates (string, comma-separated, or array).",
4367
+ examples: ["pm-x1y2", ["pm-x1y2", "pm-a3b4"]]
4368
+ },
4293
4369
  collapse: {
4294
4370
  description: 'Dependency tree collapse mode for deps action ("none" or "repeated").',
4295
4371
  examples: ["none", "repeated"]
@@ -4359,6 +4435,43 @@ var PM_TOOL_ACTION_SCOPED_PARAMETER_METADATA = {
4359
4435
  description: "Profile name for show/apply/lint. Built-in profiles are agile, ops, and research; an active extension can contribute additional archetype names that resolve here too.",
4360
4436
  examples: ["agile", "ops", "research"]
4361
4437
  }
4438
+ },
4439
+ graph: {
4440
+ subcommand: {
4441
+ description: "Graph query selector: ancestors|descendants|predecessors|successors|paths|impact|analyze|audit|communities|redundancy|dominators|plan. Traversals, paths, impact, and dominators require id; paths also requires target; plan derives dry-run remediation proposals from the governance audit.",
4442
+ examples: ["successors", "audit"]
4443
+ },
4444
+ id: {
4445
+ description: "Root item id for traversal, paths, impact, and dominators graph queries.",
4446
+ examples: ["pm-x1y2"]
4447
+ },
4448
+ target: {
4449
+ description: "Target item id for graph paths queries.",
4450
+ examples: ["pm-a3b4"]
4451
+ },
4452
+ direction: {
4453
+ description: 'Edge orientation for graph paths/impact/dominators queries ("outgoing", "incoming", or "both"; default "both").',
4454
+ examples: ["incoming"]
4455
+ },
4456
+ kind: {
4457
+ description: "Registered relationship kinds narrowing the graph query (string, comma-separated, or array).",
4458
+ examples: ["blocked_by", ["parent", "related"]]
4459
+ },
4460
+ maxDepth: {
4461
+ description: "Maximum graph traversal depth (non-negative integer).",
4462
+ examples: [2, "4"]
4463
+ },
4464
+ after: {
4465
+ description: "Resume a hierarchy/ordering graph traversal after this previously returned node id.",
4466
+ examples: ["pm-x1y2"]
4467
+ },
4468
+ limit: {
4469
+ description: "Maximum returned rows per bounded graph collection (traversal ids, impact rows, analyze/communities samples, redundancy rows, dominator bottlenecks).",
4470
+ examples: [10, "25"]
4471
+ },
4472
+ summary: {
4473
+ description: "When true, return counts-first graph envelopes without row collections."
4474
+ }
4362
4475
  }
4363
4476
  };
4364
4477
 
@@ -4383,6 +4496,29 @@ var PM_TOOL_ACTION_MUTATION_PARAMETER_KEYS = {
4383
4496
  "update-many": ["fullChangedFields"],
4384
4497
  "close-many": ["fullChangedFields"]
4385
4498
  };
4499
+ var PM_TOOL_ACTION_NESTED_OPTION_COMPATIBILITY_KEYS = Object.freeze({
4500
+ "close-many": [
4501
+ "list",
4502
+ "expected_result",
4503
+ "expected",
4504
+ "actual_result",
4505
+ "actual",
4506
+ "validate_close",
4507
+ "dry_run",
4508
+ "checkpoint",
4509
+ "no_checkpoint",
4510
+ "filterAssignee_filter"
4511
+ ],
4512
+ "update-many": [
4513
+ "list",
4514
+ "update",
4515
+ "dry_run",
4516
+ "checkpoint",
4517
+ "no_checkpoint",
4518
+ "filterAssignee_filter"
4519
+ ],
4520
+ ...Object.fromEntries(PM_TOOL_ACTIONS.filter((action) => action === "install" || action === "extension" || action === "package" || action.startsWith("extension-") || action.startsWith("package-")).map((action) => [action, ["project", "local", "global"]]))
4521
+ });
4386
4522
  function toSchemaKeyList(values) {
4387
4523
  return normalizeUniqueStringList(values);
4388
4524
  }
@@ -4947,7 +5083,34 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
4947
5083
  },
4948
5084
  deps: {
4949
5085
  required: ["id"],
4950
- optional: ["format", "maxDepth", "collapse", "summary", "nodeLimit", "edgeLimit", "tokenBudget", "cursor"]
5086
+ optional: [
5087
+ "format",
5088
+ "maxDepth",
5089
+ "collapse",
5090
+ "summary",
5091
+ "nodeLimit",
5092
+ "edgeLimit",
5093
+ "tokenBudget",
5094
+ "cursor",
5095
+ "direction",
5096
+ "kind"
5097
+ ]
5098
+ },
5099
+ graph: {
5100
+ required: ["subcommand"],
5101
+ optional: [
5102
+ "id",
5103
+ "target",
5104
+ "kind",
5105
+ "maxDepth",
5106
+ "limit",
5107
+ "after",
5108
+ "direction",
5109
+ "maxPaths",
5110
+ "sample",
5111
+ "exemptIsolate",
5112
+ "summary"
5113
+ ]
4951
5114
  },
4952
5115
  test: {
4953
5116
  required: ["id"],
@@ -5247,18 +5410,24 @@ function buildActionScopedAllOf(contract) {
5247
5410
  }
5248
5411
  return allOf;
5249
5412
  }
5250
- function buildActionScopedToolSchema(action) {
5413
+ function pmToolActionParameterKeys(action) {
5414
+ if (!Object.prototype.hasOwnProperty.call(PM_TOOL_ACTION_SCHEMA_CONTRACTS, action)) {
5415
+ return void 0;
5416
+ }
5251
5417
  const contract = PM_TOOL_ACTION_SCHEMA_CONTRACTS[action];
5252
- const required = toSchemaKeyList(contract.required ?? []);
5253
- const optional = toSchemaKeyList(contract.optional ?? []);
5254
5418
  const mutationParameterKeys = PM_TOOL_ACTION_MUTATION_PARAMETER_KEYS[action] ?? [];
5255
- const allowedKeys = toSchemaKeyList([
5419
+ return toSchemaKeyList([
5256
5420
  "action",
5257
5421
  ...PM_TOOL_GLOBAL_PARAMETER_KEYS,
5258
5422
  ...mutationParameterKeys,
5259
- ...required,
5260
- ...optional
5423
+ ...contract.required ?? [],
5424
+ ...contract.optional ?? []
5261
5425
  ]);
5426
+ }
5427
+ function buildActionScopedToolSchema(action) {
5428
+ const contract = PM_TOOL_ACTION_SCHEMA_CONTRACTS[action];
5429
+ const required = toSchemaKeyList(contract.required ?? []);
5430
+ const allowedKeys = pmToolActionParameterKeys(action);
5262
5431
  const schema = {
5263
5432
  type: "object",
5264
5433
  additionalProperties: false,
@@ -5377,6 +5546,7 @@ export {
5377
5546
  PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,
5378
5547
  PM_EXTENSION_POLICY_SURFACE_CONTRACTS,
5379
5548
  PM_CORE_COMMAND_NAMES,
5549
+ GRAPH_SUBCOMMAND_VALUES,
5380
5550
  PM_TOOL_ACTIONS,
5381
5551
  isPmToolAction,
5382
5552
  isPmExtensionCapabilityContract,
@@ -5466,6 +5636,7 @@ export {
5466
5636
  GET_FLAG_CONTRACTS,
5467
5637
  GUIDE_FLAG_CONTRACTS,
5468
5638
  DEPS_FLAG_CONTRACTS,
5639
+ GRAPH_FLAG_CONTRACTS,
5469
5640
  EVAL_FLAG_CONTRACTS,
5470
5641
  NEXT_FLAG_CONTRACTS,
5471
5642
  SEARCH_FLAG_CONTRACTS,
@@ -5480,6 +5651,6 @@ export {
5480
5651
  PM_TOOL_PARAMETERS_SCHEMA,
5481
5652
  PM_PROVIDER_TOOL_PARAMETERS_SCHEMA
5482
5653
  };
5483
- //# sourceMappingURL=chunk-NCAFUBJX.js.map
5654
+ //# sourceMappingURL=chunk-7UCY6DR5.js.map
5484
5655
 
5485
- //# debugId=9decba65-3d76-51de-a780-8cac1ab5d5b7
5656
+ //# debugId=ebed3dd6-7ac3-5ba9-81af-461fa44a9c47