@unbrained/pm-cli 2026.9.27 → 2026.9.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/.claude-plugin/marketplace.json +4 -6
  2. package/CHANGELOG.md +26 -0
  3. package/dist/cli/help-json-payload.js +1 -1
  4. package/dist/cli/register-operations.js +1 -1
  5. package/dist/cli-bundle/bundle-manifest.json +154 -154
  6. package/dist/cli-bundle/chunks/{chunk-OKVDVERQ.js → chunk-35DME35A.js} +2 -2
  7. package/dist/cli-bundle/chunks/{chunk-AUS6USO4.js → chunk-A2G5OG6W.js} +2 -2
  8. package/dist/cli-bundle/chunks/chunk-CPOWTIIS.js +2 -0
  9. package/dist/cli-bundle/chunks/{chunk-7TAGYNFP.js → chunk-GLH2LNRH.js} +2 -2
  10. package/dist/cli-bundle/chunks/{chunk-3BTJ66CB.js → chunk-NBDB3SRC.js} +48 -48
  11. package/dist/cli-bundle/chunks/{chunk-JX6WCCHL.js → chunk-NEUIVBFO.js} +2 -2
  12. package/dist/cli-bundle/chunks/{chunk-6OJVQ7SW.js → chunk-OYCCWPBM.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-LKGQUZ5M.js → chunk-PLNNUAFZ.js} +2 -2
  14. package/dist/cli-bundle/chunks/{chunk-4SLLCDFL.js → chunk-PR4UAMI5.js} +8 -8
  15. package/dist/cli-bundle/chunks/{chunk-TSF2LPIH.js → chunk-UT7GRGHY.js} +2 -2
  16. package/dist/cli-bundle/chunks/{chunk-V5UGBYHN.js → chunk-VMJLM7P2.js} +62 -62
  17. package/dist/cli-bundle/chunks/{chunk-IEP3VAT5.js → chunk-YERBAGQD.js} +2 -2
  18. package/dist/cli-bundle/chunks/chunk-ZFHJP7YD.js +29 -0
  19. package/dist/cli-bundle/chunks/{register-list-query-6PAJ4PBU.js → register-list-query-N6RP6PSP.js} +2 -2
  20. package/dist/cli-bundle/chunks/{register-mutation-RZCXZXYS.js → register-mutation-CY7JGQE6.js} +2 -2
  21. package/dist/cli-bundle/chunks/{register-operations-GK6VU2H2.js → register-operations-53HAD3QP.js} +2 -2
  22. package/dist/cli-bundle/chunks/{register-setup-ASEMNMBF.js → register-setup-NVX6374E.js} +2 -2
  23. package/dist/cli-bundle/focused-chunks/{chunk-OJRX6G22.js → chunk-5KJXX2TZ.js} +2 -2
  24. package/dist/cli-bundle/focused-chunks/{chunk-MILJCOFJ.js → chunk-6IVQPNYN.js} +2 -2
  25. package/dist/cli-bundle/focused-chunks/{chunk-NETVXIH5.js → chunk-A5O3VYWV.js} +2 -2
  26. package/dist/cli-bundle/focused-chunks/chunk-AZA4AEOR.js +75 -0
  27. package/dist/cli-bundle/focused-chunks/chunk-BGWF6CMP.js +2 -0
  28. package/dist/cli-bundle/focused-chunks/{chunk-PDVL7QYU.js → chunk-BRLXKRI2.js} +15 -15
  29. package/dist/cli-bundle/focused-chunks/{chunk-SMADBUPL.js → chunk-DTLRXY77.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-6UNKK3UH.js → chunk-IJXZQE3D.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-NWRVNHAD.js → chunk-IWLMQLBO.js} +6 -6
  32. package/dist/cli-bundle/focused-chunks/chunk-K7GSZ7YZ.js +2 -0
  33. package/dist/cli-bundle/focused-chunks/{chunk-OJKJFDIG.js → chunk-ONDNR3VU.js} +2 -2
  34. package/dist/cli-bundle/focused-chunks/{chunk-NZAG7OKB.js → chunk-OVVCXTIE.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/{chunk-GZD4ZYIB.js → chunk-V7OPZRL6.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-LBDWUHQD.js → chunk-Y5Z3XNGY.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/{chunk-QO4MTAEA.js → chunk-YZB7IPR6.js} +2 -2
  38. package/dist/cli-bundle/focused-chunks/{chunk-DQ3MB7BO.js → chunk-ZMQTIS3L.js} +2 -2
  39. package/dist/cli-bundle/main.js +21 -21
  40. package/dist/cli-bundle/sdk-authoring.js +1 -1
  41. package/dist/cli-bundle/sdk-contracts.js +1 -1
  42. package/dist/cli-bundle/sdk-core.js +18 -18
  43. package/dist/cli-bundle/sdk-governance.js +1 -1
  44. package/dist/cli-bundle/sdk-graph.js +1 -1
  45. package/dist/cli-bundle/sdk-merge.js +51 -51
  46. package/dist/cli-bundle/sdk-query.js +1 -1
  47. package/dist/cli-bundle/sdk-runtime.js +1 -1
  48. package/dist/cli-bundle/sdk-testing.js +1 -1
  49. package/dist/cli-bundle/sdk.js +1 -1
  50. package/dist/core/diagnostics/remediation.js +1 -1
  51. package/dist/core/item/item-format.js +1 -1
  52. package/dist/core/store/settings.js +3 -3
  53. package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
  54. package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
  55. package/dist/sdk/completion/fish.js +3 -3
  56. package/dist/sdk/completion/zsh.js +3 -3
  57. package/dist/sdk/extension/copy-scope.d.ts +2 -2
  58. package/dist/sdk/extension/copy-scope.js +1 -1
  59. package/dist/sdk/extension/install-plan.js +1 -1
  60. package/dist/sdk/extension/install-runtime.js +2 -2
  61. package/dist/sdk/extension/static-inventory.js +1 -1
  62. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  63. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
  64. package/dist/sdk/governance/health-merge-evidence.d.ts +18 -0
  65. package/dist/sdk/governance/health-merge-evidence.js +2 -0
  66. package/dist/sdk/governance/health.js +1 -1
  67. package/dist/sdk/merge/install.js +2 -2
  68. package/dist/sdk/output-projection.d.ts +1 -1
  69. package/dist/sdk/output-projection.js +1 -1
  70. package/dist/sdk/public-surface.json +1 -1
  71. package/dist/sdk/read-output-budget.d.ts +1 -1
  72. package/dist/sdk/read-output-budget.js +1 -1
  73. package/dist/sdk/read-output-contracts.js +1 -1
  74. package/dist/sdk/test/execution.d.ts +11 -0
  75. package/dist/sdk/test/execution.js +2 -2
  76. package/dist/sdk/test/parsers.d.ts +1 -1
  77. package/dist/sdk/test/parsers.js +1 -1
  78. package/dist/types.d.ts +3 -3
  79. package/dist/types.js +1 -1
  80. package/docs/AGENT_READ_AND_TEST_RECEIPTS.md +21 -0
  81. package/docs/CLAUDE_CODE_PLUGIN.md +12 -7
  82. package/docs/CONFIGURATION.md +2 -0
  83. package/docs/PACKAGE_EVIDENCE.md +18 -7
  84. package/docs/README.md +1 -0
  85. package/docs/TESTING.md +14 -3
  86. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +7 -3
  87. package/marketplace.json +4 -6
  88. package/package.json +5 -5
  89. package/packages/pm-beads/package.json +1 -1
  90. package/packages/pm-calendar/package.json +1 -1
  91. package/packages/pm-command-kit/package.json +1 -1
  92. package/packages/pm-digital-twin/package.json +1 -1
  93. package/packages/pm-governance-audit/package.json +1 -1
  94. package/packages/pm-guide-shell/package.json +1 -1
  95. package/packages/pm-kanban/package.json +1 -1
  96. package/packages/pm-lifecycle-hooks/package.json +1 -1
  97. package/packages/pm-linked-test-adapters/package.json +1 -1
  98. package/packages/pm-search-advanced/package.json +1 -1
  99. package/packages/pm-templates/package.json +1 -1
  100. package/packages/pm-todos/package.json +1 -1
  101. package/packages/pm-vcs/package.json +1 -1
  102. package/plugins/pm-claude/.claude-plugin/plugin.json +4 -2
  103. package/plugins/pm-claude/.mcp.json +1 -2
  104. package/plugins/pm-claude/README.md +7 -7
  105. package/plugins/pm-claude/package.json +2 -2
  106. package/plugins/pm-claude/{commands/pm-calendar.md → skills/pm-calendar/SKILL.md} +1 -0
  107. package/plugins/pm-claude/{commands/pm-close-task.md → skills/pm-close-task/SKILL.md} +1 -0
  108. package/plugins/pm-claude/{commands/pm-init.md → skills/pm-init/SKILL.md} +2 -1
  109. package/plugins/pm-claude/{commands/pm-list.md → skills/pm-list/SKILL.md} +2 -1
  110. package/plugins/pm-claude/{commands/pm-new.md → skills/pm-new/SKILL.md} +1 -0
  111. package/plugins/pm-claude/{commands/pm-search.md → skills/pm-search/SKILL.md} +1 -0
  112. package/plugins/pm-claude/{commands/pm-start-task.md → skills/pm-start-task/SKILL.md} +1 -0
  113. package/plugins/pm-claude/{commands/pm-status.md → skills/pm-status/SKILL.md} +1 -0
  114. package/plugins/pm-claude/{commands/pm-triage.md → skills/pm-triage/SKILL.md} +1 -0
  115. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  116. package/plugins/pm-codex/package.json +2 -2
  117. package/plugins/pm-codex/plugin.json +1 -1
  118. package/dist/cli-bundle/chunks/chunk-4UPZLUT2.js +0 -29
  119. package/dist/cli-bundle/chunks/chunk-LC6WEA5U.js +0 -2
  120. package/dist/cli-bundle/focused-chunks/chunk-6J2YCGSN.js +0 -75
  121. package/dist/cli-bundle/focused-chunks/chunk-E7LYK7V5.js +0 -2
  122. package/dist/cli-bundle/focused-chunks/chunk-KMPKKSA6.js +0 -2
  123. package/plugins/pm-claude/commands/pm-audit.md +0 -38
  124. package/plugins/pm-claude/commands/pm-developer.md +0 -38
  125. package/plugins/pm-claude/commands/pm-planner.md +0 -54
  126. package/plugins/pm-claude/commands/pm-release.md +0 -41
  127. package/plugins/pm-claude/commands/pm-workflow.md +0 -49
@@ -1,2 +0,0 @@
1
- import{Ea as p,Fa as i,Ga as v,Ha as _}from"./chunk-V5UGBYHN.js";import{ab as w}from"./chunk-3BTJ66CB.js";import b from"node:fs/promises";import f from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1dead22c-ea8e-5a98-bc73-8de82bbb4dcc")}catch{}})();function y(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}function m(e){return e!=="invalid"&&e!=="unreadable"}function j(e){let n=JSON.parse(e);if(typeof n!="object"||n===null||Array.isArray(n))throw new SyntaxError("Invalid settings object");let t=n.extensions;if(t===void 0)return{enabled:[],disabled:[]};if(typeof t!="object"||t===null||Array.isArray(t))throw new SyntaxError("Invalid extensions settings");let r=t;if(r.enabled!==void 0&&(!Array.isArray(r.enabled)||!r.enabled.every(a=>typeof a=="string"))||r.disabled!==void 0&&(!Array.isArray(r.disabled)||!r.disabled.every(a=>typeof a=="string")))throw new SyntaxError("Invalid extension enablement lists");return{enabled:r.enabled??[],disabled:r.disabled??[]}}async function S(e){let n;try{n=await b.readFile(e,"utf8")}catch(t){return y(t)?{status:"absent",enabled:[],disabled:[]}:{status:"unreadable",enabled:[],disabled:[],error:{code:"settings_unreadable",path:e}}}try{return{status:"ok",...j(n)}}catch{return{status:"invalid",enabled:[],disabled:[],error:{code:"settings_invalid",path:e}}}}async function A(e){let n;try{n=await b.readFile(e,"utf8")}catch(t){return y(t)?{status:"absent",entries:[]}:{status:"unreadable",entries:[],error:{code:"managed_state_unreadable",path:e}}}try{let t=JSON.parse(n),r=_(t);if(!r||typeof t!="object"||t===null||!Array.isArray(t.entries)||r.entries.length!==t.entries.length)throw new SyntaxError("Invalid managed extension state");return{status:"ok",entries:r.entries}}catch{return{status:"invalid",entries:[],error:{code:"managed_state_invalid",path:e}}}}async function I(e){try{return{directories:(await b.readdir(e,{withFileTypes:!0})).filter(t=>t.isDirectory()).map(t=>t.name).sort((t,r)=>t.localeCompare(r))}}catch(n){return y(n)?{directories:[]}:{directories:[],error:{code:"extensions_unreadable",path:e}}}}async function M(e){let n;try{n=await b.readFile(e,"utf8")}catch(t){return y(t)?{manifest:null,error:{code:"manifest_invalid",path:e}}:{manifest:null,error:{code:"manifest_unreadable",path:e}}}try{let t=v(JSON.parse(n));return t?{manifest:t}:{manifest:null,error:{code:"manifest_invalid",path:e}}}catch{return{manifest:null,error:{code:"manifest_invalid",path:e}}}}function N(e){let n=e.manifest?.name??e.directory,t=new Set(p(e.settings.enabled)),r=new Set(p(e.settings.disabled)),a=!m(e.settings.status)||!e.manifest?null:!r.has(n)&&(t.size===0||t.has(n)),o=m(e.managed.status)?e.managed.entries.some(d=>i(d.name)===i(n)||i(d.directory)===i(e.directory)):null;return{name:n,directory:e.directory,scope:e.scope,installed:!0,status:e.manifest?a===!1?"inactive":"installed":"malformed_manifest",configured_enabled:a,managed:o,runtime_active:null,...e.manifest?{version:e.manifest.version}:{}}}async function R(e){let n=e.scope??"project",t=n==="global"?w(e.cwd??process.cwd()):e.pmRoot,r=f.join(t,"extensions"),a=await S(f.join(t,"settings.json")),o=await A(f.join(r,".managed-extensions.json")),d=await I(r),l=[];for(let s of[a,o,d])s.error&&l.push(s.error);let c=e.name?.trim(),u=[];for(let s of d.directories){let x=f.join(r,s,"manifest.json"),g=await M(x);g.error&&l.push(g.error);let h=N({directory:s,scope:n,manifest:g.manifest,settings:a,managed:o});c&&![h.name,s].some(E=>i(E)===i(c))||u.push(h)}return c&&u.length===0&&l.every(s=>s.code!=="extensions_unreadable")&&u.push({name:c,directory:null,scope:n,installed:!1,status:"absent",configured_enabled:m(a.status)?!1:null,managed:m(o.status)?!1:null,runtime_active:null}),{scope:n,complete:l.length===0,settings_status:a.status,managed_state_status:o.status,extensions:u,errors:l}}export{R as a};
2
- //# sourceMappingURL=chunk-LC6WEA5U.js.map