@unbrained/pm-cli 2026.11.27 → 2026.11.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 (176) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/cli-bundle/bundle-manifest.json +1 -1
  3. package/dist/cli-bundle/chunks/{chunk-SIRZ4VMT.js → chunk-2YD2AERA.js} +2 -2
  4. package/dist/cli-bundle/chunks/{chunk-WY7467RY.js → chunk-54AQJTUH.js} +2 -2
  5. package/dist/cli-bundle/chunks/chunk-56DKWGHE.js +2 -0
  6. package/dist/cli-bundle/chunks/chunk-56GUDMXN.js +113 -0
  7. package/dist/cli-bundle/chunks/chunk-5ECCMDSU.js +2 -0
  8. package/dist/cli-bundle/chunks/chunk-6RBD2AKU.js +2 -0
  9. package/dist/cli-bundle/chunks/{chunk-O23KTJL6.js → chunk-C4O5TZY3.js} +46 -46
  10. package/dist/cli-bundle/chunks/chunk-CATRDGAB.js +125 -0
  11. package/dist/cli-bundle/chunks/{chunk-X6TE47CS.js → chunk-CDUV7DFD.js} +2 -2
  12. package/dist/cli-bundle/chunks/chunk-CTM26LUE.js +4 -0
  13. package/dist/cli-bundle/chunks/chunk-D3I5AHNN.js +2 -0
  14. package/dist/cli-bundle/chunks/chunk-E2LQ6LCJ.js +2 -0
  15. package/dist/cli-bundle/chunks/{chunk-63AVXDZS.js → chunk-FG4TNQQM.js} +2 -2
  16. package/dist/cli-bundle/chunks/chunk-JQYPSABI.js +2 -0
  17. package/dist/cli-bundle/chunks/chunk-LMDIKSDZ.js +9 -0
  18. package/dist/cli-bundle/chunks/chunk-LRGYV6QQ.js +2 -0
  19. package/dist/cli-bundle/chunks/chunk-MO6PPUI6.js +2 -0
  20. package/dist/cli-bundle/chunks/chunk-O2SWNEBW.js +8 -0
  21. package/dist/cli-bundle/chunks/{chunk-6NJ3BONB.js → chunk-O2WNNIKK.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-5CMR4R5V.js → chunk-OFIYA3PI.js} +3 -3
  23. package/dist/cli-bundle/chunks/{chunk-ZGV4ZXDS.js → chunk-Q6BGQRCB.js} +2 -2
  24. package/dist/cli-bundle/chunks/chunk-RGE3XW3A.js +2 -0
  25. package/dist/cli-bundle/chunks/chunk-SP6CDM6B.js +31 -0
  26. package/dist/cli-bundle/chunks/{chunk-KS47NGMQ.js → chunk-T7RZPIOB.js} +14 -14
  27. package/dist/cli-bundle/chunks/{chunk-KP75JTTO.js → chunk-T7UTG56V.js} +4 -4
  28. package/dist/cli-bundle/chunks/chunk-TWRUA2NH.js +3 -0
  29. package/dist/cli-bundle/chunks/chunk-WKDKBS4P.js +4 -0
  30. package/dist/cli-bundle/chunks/chunk-YEMFOKFG.js +2 -0
  31. package/dist/cli-bundle/chunks/{chunk-Y5U7QCNX.js → chunk-YLS2N4SN.js} +2 -2
  32. package/dist/cli-bundle/chunks/{chunk-W7SPEGSP.js → chunk-ZXERHBMA.js} +2 -2
  33. package/dist/cli-bundle/chunks/field-definition-losses-JFMMMVTV.js +2 -0
  34. package/dist/cli-bundle/chunks/field-option-collisions-G4LQ2646.js +2 -0
  35. package/dist/cli-bundle/{focused-chunks/item-revision-NOHVIOQQ.js → chunks/item-revision-O7L3AA2W.js} +2 -2
  36. package/dist/cli-bundle/chunks/item-transaction-4XC74ULD.js +2 -0
  37. package/dist/cli-bundle/chunks/mutation-actor-A45DFDEO.js +2 -0
  38. package/dist/cli-bundle/chunks/mutation-admission-SIUIMAEO.js +2 -0
  39. package/dist/cli-bundle/chunks/{register-list-query-Q7UW2EPV.js → register-list-query-FCPGG2UT.js} +2 -2
  40. package/dist/cli-bundle/chunks/{register-mutation-YNW7E3T4.js → register-mutation-VD3JX23I.js} +2 -2
  41. package/dist/cli-bundle/chunks/register-operations-KHJD4GFZ.js +2 -0
  42. package/dist/cli-bundle/chunks/register-setup-EWAZZWPL.js +2 -0
  43. package/dist/cli-bundle/chunks/runtime-schema-3RAXYNG5.js +2 -0
  44. package/dist/cli-bundle/chunks/{settlement-hook-ESAAEBRM.js → settlement-hook-KWBOSRDZ.js} +2 -2
  45. package/dist/cli-bundle/chunks/stage-UIDZMTE5.js +2 -0
  46. package/dist/cli-bundle/focused-chunks/chunk-5MZXU6HB.js +2 -0
  47. package/dist/cli-bundle/focused-chunks/chunk-64DSKZJN.js +100 -0
  48. package/dist/cli-bundle/focused-chunks/{chunk-N7ZAMULP.js → chunk-7EKKUYN5.js} +2 -2
  49. package/dist/cli-bundle/focused-chunks/chunk-7P6OGPEG.js +2 -0
  50. package/dist/cli-bundle/focused-chunks/chunk-A5B43EWU.js +2 -0
  51. package/dist/cli-bundle/focused-chunks/chunk-AHCOSTL7.js +2 -0
  52. package/dist/cli-bundle/focused-chunks/chunk-CQLOYNJY.js +2 -0
  53. package/dist/cli-bundle/focused-chunks/chunk-E4C6T3NL.js +2 -0
  54. package/dist/cli-bundle/focused-chunks/{chunk-GUAT4OAC.js → chunk-HCWDMFWA.js} +2 -2
  55. package/dist/cli-bundle/focused-chunks/{chunk-AL47ODFZ.js → chunk-J4V3J5MC.js} +2 -2
  56. package/dist/cli-bundle/focused-chunks/chunk-JD45Y2BR.js +91 -0
  57. package/dist/cli-bundle/focused-chunks/chunk-KMGI5GZP.js +2 -0
  58. package/dist/cli-bundle/focused-chunks/chunk-MSLRDKWL.js +4 -0
  59. package/dist/cli-bundle/focused-chunks/{chunk-YPOATPTX.js → chunk-O33WUEAF.js} +2 -2
  60. package/dist/cli-bundle/focused-chunks/{chunk-7FKGIJEB.js → chunk-OEMI52ZS.js} +2 -2
  61. package/dist/cli-bundle/focused-chunks/{chunk-24W63UPP.js → chunk-Q6JCMFGU.js} +2 -2
  62. package/dist/cli-bundle/focused-chunks/chunk-RBOWKXFV.js +8 -0
  63. package/dist/cli-bundle/focused-chunks/chunk-TF57RHS2.js +2 -0
  64. package/dist/cli-bundle/focused-chunks/{chunk-REORRDPH.js → chunk-VNU3IFBL.js} +2 -2
  65. package/dist/cli-bundle/focused-chunks/chunk-X5ZVPFK7.js +4 -0
  66. package/dist/cli-bundle/focused-chunks/{chunk-52PHSTGP.js → chunk-XVCMYFQU.js} +2 -2
  67. package/dist/cli-bundle/focused-chunks/{chunk-4HLZOOZI.js → chunk-Y7EC2L2G.js} +3 -3
  68. package/dist/cli-bundle/focused-chunks/{chunk-UGQ2EXTU.js → chunk-YC3PFFDE.js} +56 -56
  69. package/dist/cli-bundle/focused-chunks/{chunk-7GZMOLQY.js → chunk-YX75PQFO.js} +2 -2
  70. package/dist/cli-bundle/focused-chunks/{chunk-AN4NFFLL.js → chunk-Z4FWJGQG.js} +2 -2
  71. package/dist/cli-bundle/focused-chunks/chunk-ZHHFOQSL.js +44 -0
  72. package/dist/cli-bundle/focused-chunks/chunk-ZUAPUBJK.js +2 -0
  73. package/dist/cli-bundle/focused-chunks/{chunk-HSWL6L2O.js → chunk-ZYHGQIQ7.js} +2 -2
  74. package/dist/cli-bundle/focused-chunks/field-definition-losses-NUZO3JCP.js +2 -0
  75. package/dist/cli-bundle/focused-chunks/field-option-collisions-63YQ2J3N.js +2 -0
  76. package/dist/cli-bundle/focused-chunks/item-revision-PV5O6F5Y.js +2 -0
  77. package/dist/cli-bundle/focused-chunks/item-transaction-S5QXBGAT.js +2 -0
  78. package/dist/cli-bundle/{chunks/mutation-actor-SFYTD2ZB.js → focused-chunks/mutation-actor-2AAUJG2Z.js} +2 -2
  79. package/dist/cli-bundle/focused-chunks/mutation-admission-X7HHNERR.js +2 -0
  80. package/dist/cli-bundle/focused-chunks/runtime-schema-5J2ONRNV.js +2 -0
  81. package/dist/cli-bundle/focused-chunks/stage-56RYPMBK.js +2 -0
  82. package/dist/cli-bundle/main.js +2 -2
  83. package/dist/cli-bundle/sdk-authoring.js +1 -1
  84. package/dist/cli-bundle/sdk-contracts.js +1 -1
  85. package/dist/cli-bundle/sdk-core.js +1 -1
  86. package/dist/cli-bundle/sdk-governance.js +1 -1
  87. package/dist/cli-bundle/sdk-graph.js +1 -1
  88. package/dist/cli-bundle/sdk-merge.js +63 -63
  89. package/dist/cli-bundle/sdk-query.js +1 -1
  90. package/dist/cli-bundle/sdk-runtime.js +1 -1
  91. package/dist/cli-bundle/sdk-testing.js +1 -1
  92. package/dist/cli-bundle/sdk.js +2 -2
  93. package/dist/core/extensions/item-fields.d.ts +15 -1
  94. package/dist/core/extensions/item-fields.js +1 -1
  95. package/dist/core/extensions/loader.js +1 -1
  96. package/dist/core/profile/profile-lint.js +1 -1
  97. package/dist/core/schema/runtime-schema.d.ts +20 -1
  98. package/dist/core/schema/runtime-schema.js +2 -2
  99. package/dist/sdk/agent/refusal-reachability.d.ts +1 -1
  100. package/dist/sdk/extension/command-options.d.ts +8 -0
  101. package/dist/sdk/extension/command-options.js +1 -1
  102. package/dist/sdk/extension-command-context.js +2 -2
  103. package/dist/sdk/governance/validate.js +1 -1
  104. package/dist/sdk/lifecycle/create.js +1 -1
  105. package/dist/sdk/lifecycle/update.js +2 -2
  106. package/dist/sdk/profile.js +1 -1
  107. package/dist/sdk/read-output-contracts.js +1 -1
  108. package/dist/sdk/schema/field-definition-losses.js +2 -0
  109. package/dist/sdk/schema/field-option-collisions.js +1 -1
  110. package/dist/sdk/schema.js +2 -2
  111. package/docs/COMMANDS.md +1 -1
  112. package/docs/CONFIGURATION.md +2 -0
  113. package/docs/EXTENSIONS.md +1 -1
  114. package/docs/SDK_AUDITED_MUTATIONS.md +12 -3
  115. package/marketplace.json +1 -1
  116. package/package.json +1 -1
  117. package/packages/pm-beads/package.json +1 -1
  118. package/packages/pm-calendar/package.json +1 -1
  119. package/packages/pm-command-kit/package.json +1 -1
  120. package/packages/pm-digital-twin/package.json +1 -1
  121. package/packages/pm-governance-audit/package.json +1 -1
  122. package/packages/pm-guide-shell/package.json +1 -1
  123. package/packages/pm-kanban/package.json +1 -1
  124. package/packages/pm-lifecycle-hooks/package.json +1 -1
  125. package/packages/pm-linked-test-adapters/package.json +1 -1
  126. package/packages/pm-search-advanced/package.json +1 -1
  127. package/packages/pm-templates/package.json +1 -1
  128. package/packages/pm-todos/package.json +1 -1
  129. package/packages/pm-vcs/package.json +1 -1
  130. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  131. package/plugins/pm-claude/package.json +1 -1
  132. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  133. package/plugins/pm-codex/package.json +1 -1
  134. package/plugins/pm-codex/plugin.json +1 -1
  135. package/runtime-dependencies.json +1 -1
  136. package/dist/cli-bundle/chunks/chunk-5M7UTO2G.js +0 -2
  137. package/dist/cli-bundle/chunks/chunk-66TNCHHG.js +0 -2
  138. package/dist/cli-bundle/chunks/chunk-AVHRMUXJ.js +0 -3
  139. package/dist/cli-bundle/chunks/chunk-HTT52JL3.js +0 -125
  140. package/dist/cli-bundle/chunks/chunk-J25DZRYJ.js +0 -31
  141. package/dist/cli-bundle/chunks/chunk-J6TFG34A.js +0 -4
  142. package/dist/cli-bundle/chunks/chunk-JX475QVU.js +0 -3
  143. package/dist/cli-bundle/chunks/chunk-OFX2VA5Z.js +0 -2
  144. package/dist/cli-bundle/chunks/chunk-QVDEZBSV.js +0 -8
  145. package/dist/cli-bundle/chunks/chunk-SX76UGEY.js +0 -3
  146. package/dist/cli-bundle/chunks/chunk-VC4BJIA7.js +0 -9
  147. package/dist/cli-bundle/chunks/chunk-XB6QEVUK.js +0 -2
  148. package/dist/cli-bundle/chunks/chunk-XYX4CXFR.js +0 -2
  149. package/dist/cli-bundle/chunks/chunk-YGK6SA7P.js +0 -2
  150. package/dist/cli-bundle/chunks/chunk-ZILIHDDY.js +0 -113
  151. package/dist/cli-bundle/chunks/field-option-collisions-UL6BIPAK.js +0 -2
  152. package/dist/cli-bundle/chunks/item-revision-WNUDY5DM.js +0 -2
  153. package/dist/cli-bundle/chunks/item-transaction-ER3OWOPV.js +0 -2
  154. package/dist/cli-bundle/chunks/mutation-admission-AVOOT3KH.js +0 -2
  155. package/dist/cli-bundle/chunks/register-operations-DAUTQCIO.js +0 -2
  156. package/dist/cli-bundle/chunks/register-setup-VSURGF7V.js +0 -2
  157. package/dist/cli-bundle/chunks/runtime-schema-Y4SHTEXL.js +0 -2
  158. package/dist/cli-bundle/chunks/stage-N5GDBS5A.js +0 -2
  159. package/dist/cli-bundle/focused-chunks/chunk-2XGHBYDA.js +0 -44
  160. package/dist/cli-bundle/focused-chunks/chunk-3QRMY6KF.js +0 -2
  161. package/dist/cli-bundle/focused-chunks/chunk-B2HJI6KA.js +0 -2
  162. package/dist/cli-bundle/focused-chunks/chunk-C2HW7BSE.js +0 -2
  163. package/dist/cli-bundle/focused-chunks/chunk-GISZWMBS.js +0 -2
  164. package/dist/cli-bundle/focused-chunks/chunk-H4JBS477.js +0 -2
  165. package/dist/cli-bundle/focused-chunks/chunk-HGJ4MILN.js +0 -100
  166. package/dist/cli-bundle/focused-chunks/chunk-I4GY7HAP.js +0 -3
  167. package/dist/cli-bundle/focused-chunks/chunk-KMG4O2IU.js +0 -4
  168. package/dist/cli-bundle/focused-chunks/chunk-OCKKIECS.js +0 -3
  169. package/dist/cli-bundle/focused-chunks/chunk-SXWUKNTY.js +0 -8
  170. package/dist/cli-bundle/focused-chunks/chunk-ZZYJS74B.js +0 -91
  171. package/dist/cli-bundle/focused-chunks/field-option-collisions-BP7ILGQK.js +0 -2
  172. package/dist/cli-bundle/focused-chunks/item-transaction-O26COBOJ.js +0 -2
  173. package/dist/cli-bundle/focused-chunks/mutation-actor-HVJV5S76.js +0 -2
  174. package/dist/cli-bundle/focused-chunks/mutation-admission-JRICEVYN.js +0 -2
  175. package/dist/cli-bundle/focused-chunks/runtime-schema-YXPYDD2C.js +0 -2
  176. package/dist/cli-bundle/focused-chunks/stage-NSX6ASBZ.js +0 -2
@@ -1,8 +1,8 @@
1
- import{assertInitializedTracker as Se}from"./environment/tracker-preflight.js";import $e from"node:path";import{mkdir as ve}from"node:fs/promises";import{resolveAuthor as T}from"../core/shared/author.js";import{pathExists as Ee,readFileIfExists as k}from"../core/fs/fs-utils.js";import{writeWorkspaceJsonWithHistory as ke}from"../core/history/workspace-history.js";import{acquireLock as x}from"../core/lock/lock.js";import{refreshMergeAttributeFenceIfInstalled as Ae}from"./merge/install.js";import{assertAliasesAvailable as Re,assertTypeFolderAvailable as be,escapeForDoubleQuotes as N,normalizeAddTypeInput as ae,parseItemTypesFile as D,removeItemType as Fe,serializeItemTypesFile as B,upsertItemType as X}from"../core/schema/item-types-file.js";import{assertStatusTokensAvailable as ne,BUILTIN_STATUS_IDS as re,normalizeAddStatusInput as Ie,normalizeStatusToken as C,parseStatusDefsFile as ie,removeStatusDef as Te,serializeStatusDefsFile as ce,upsertStatusDef as xe}from"../core/schema/status-defs-file.js";import{normalizeAddFieldInput as Ce,normalizeFieldKey as V,parseFieldsFile as le,removeField as Le,serializeFieldsFile as ue,upsertField as Ue}from"../core/schema/fields-file.js";import{normalizeTypePresetName as Pe,resolveTypePresetDefinitions as me,TYPE_PRESET_NAMES as je}from"../core/schema/type-presets.js";import{inferTypesFromTitles as qe}from"../core/schema/type-inference.js";import{DEFAULT_RUNTIME_SCHEMA_FILE_PATHS as G,filePathForSchemaSection as O,normalizeRuntimeSchemaSettings as A,resolveRuntimeFieldRegistry as Z,resolveRuntimeStatusRegistry as K}from"../core/schema/runtime-schema.js";import{normalizeItemTypeFolder as Ne,resolveItemTypeRegistry as H,toDefaultFolder as Ge}from"../core/item/type-registry.js";import{listAllItemMetadataLight as W}from"../core/store/item-store.js";import{EXIT_CODE as h}from"../core/shared/constants.js";import{PmCliError as y}from"../core/shared/errors.js";import{nowIso as S}from"../core/shared/time.js";import{getActiveExtensionRegistrations as j,runActiveOnWriteHooks as R}from"../core/extensions/index.js";import{resolvePmRoot as b}from"../core/store/paths.js";import{readSettings as F,resolveGovernanceKnobs as L}from"../core/store/settings.js";import{assertFieldOptionsAvailable as Oe}from"./schema/field-option-collisions.js";import{resolvePmToolCustomFieldCollision as He}from"./cli-contracts/tool-schema.js";import{WORKFLOW_POLICY_ACTIONS as ze}from"./governance/workflow-policy.js";export*from"./governance/workflow-policy.js";const At=[...ze,"add-type","remove-type","add-status","remove-status","add-field","remove-field","list-fields","show-field","apply-preset","list","show","show-status","rename-type","rename-field","remap-status"];import{formatSchemaEvolutionMigrationHuman as ss,runSchemaEvolutionMigration as os}from"./schema-migration.js";import{planSchemaEvolutionMigration as ns}from"./schema-migration.js";const Y="schema-types",pe="schema-statuses",fe="schema-fields";function U(e){return ke({pmRoot:e.pmRoot,filePath:e.filePath,raw:e.raw,op:e.op,author:e.author,lockTtlSeconds:e.settings.locks.ttl_seconds,lockWaitMs:e.settings.locks.wait_ms})}async function Rt(e,t,o){const s=b(process.cwd(),o.path);await I(s);let a;try{a=ae({name:e,description:t.description,defaultStatus:t.defaultStatus,folder:t.folder,aliases:t.alias})}catch(d){throw new y(d instanceof Error?d.message:String(d),h.USAGE)}const n=await F(s),c=A(n.schema),r=O(s,c.files.types,G.types),m=[],p=T(t.author,n.author_default),g=L(n),l=await x(s,Y,n.locks.ttl_seconds,p,!!t.force,g.force_required_for_stale_lock,n.locks.wait_ms);let f;try{const d=await k(r);let i;try{i=D(d)}catch(u){throw new y(u instanceof Error?u.message:String(u),h.GENERIC_FAILURE)}try{Re(a,i);const u=new Map,w=H(n,j());for(const[$,v]of Object.entries(w.type_to_folder)){const _=v.trim().toLowerCase();_.length>0&&!u.has(_)&&u.set(_,$)}be(a,i,u)}catch(u){throw new y(u instanceof Error?u.message:String(u),h.USAGE)}f=X(i,a),f.replaced&&f.previousName!==void 0&&f.previousName!==f.definition.name&&m.push(`type_recased:${f.previousName}->${f.definition.name}`),await U({pmRoot:s,filePath:r,raw:B(f.file),op:"schema:add-type",author:p,settings:n}),await te(s,[f.definition],m,"schema:add-type-folder"),m.push(...await R({path:r,scope:"project",op:"schema:add-type"}))}finally{await l()}return await de(s,m),{action:"add-type",registered:!0,replaced:f.replaced,type:f.definition,file:{path:r,definitions:f.file.definitions.length},warnings:P(m),generated_at:S()}}async function I(e){await Se(e)}async function de(e,t){try{const o=await Ae(e);o.status==="refreshed"?t.push("merge_fence_refreshed"):o.status==="not_installed"&&t.push('merge_fence_not_installed:type folders lack git merge drivers; run "pm merge install"')}catch{t.push('merge_fence_refresh_failed:run "pm merge install" to reconcile')}}function P(e){return[...new Set(e)].sort((t,o)=>t.localeCompare(o))}async function De(e,t,o,s){const a=H(t,j()),n=s.trim().toLowerCase();return(await W(e,t.item_format,a.type_to_folder,[],o)).filter(r=>typeof r.type=="string"&&r.type.toLowerCase()===n).length}async function Me(e,t,o,s){const a=H(t,j()),n=K(o),c=C(s);return(await W(e,t.item_format,a.type_to_folder,[],o)).filter(m=>{const p=typeof m.status=="string"?m.status:"";return(n.alias_to_id.get(C(p))??C(p))===c}).length}async function Be(e,t,o,s,a){if(a.length===0||re.has(a))return;const n=await Me(t,o,s,a);n>0&&e.push(`items_using_status:${n}`);const c=he(s.workflow,a);c.length>0&&e.push(`status_referenced_by_workflow:${c.join(",")}`)}function he(e,t){return[["draft_status",e.draft_status],["open_status",e.open_status],["in_progress_status",e.in_progress_status],["blocked_status",e.blocked_status],["close_status",e.close_status],["canceled_status",e.canceled_status]].filter(([,s])=>s!==void 0&&C(s)===t).map(([s])=>s)}async function bt(e,t,o){const s=b(process.cwd(),o.path);await I(s);const a=await F(s),n=A(a.schema),c=O(s,n.files.types,G.types),r=[],m=T(t.author,a.author_default),p=L(a),g=await x(s,Y,a.locks.ttl_seconds,m,!!t.force,p.force_required_for_stale_lock,a.locks.wait_ms);let l;try{const f=await k(c);let d;try{d=D(f)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.GENERIC_FAILURE)}try{l=Fe(d,e)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}if(l.removed){const i=(l.definition?.name??e??"").trim();if(i.length>0){const u=await De(s,a,n,i);u>0&&r.push(`items_using_type:${u}`)}await U({pmRoot:s,filePath:c,raw:B(l.file),op:"schema:remove-type",author:m,settings:a}),r.push(...await R({path:c,scope:"project",op:"schema:remove-type"}))}}finally{await g()}return l.removed&&await de(s,r),{action:"remove-type",removed:l.removed,...l.definition?{type:l.definition}:{},file:{path:c,definitions:l.file.definitions.length},warnings:P(r),generated_at:S()}}function ee(e,t){return O(e,t.files.statuses,G.statuses)}function J(e,t){return O(e,t.files.fields,G.fields)}function ye(e,t){return O(e,t.files.types,G.types)}async function te(e,t,o,s){for(const a of t){const n=Ne(a.folder??Ge(a.name)),c=$e.join(e,n);await Ee(c)||(await ve(c,{recursive:!0}),o.push(...await R({path:c,scope:"project",op:s})))}}function se(e){return{key:e.key,type:e.type,commands:[...e.commands],cli_flag:`--${e.cli_flag}`,cli_aliases:e.cli_aliases.map(t=>`--${t}`),...e.description?{description:e.description}:{},required:e.required,required_on_create:e.required_on_create,allow_unset:e.allow_unset,required_types:[...e.required_types]}}function Ke(e){if(e)return{id:e.id,...e.roles.length>0?{roles:[...e.roles]}:{},...e.aliases.length>0?{aliases:[...e.aliases]}:{},...e.description?{description:e.description}:{},...typeof e.order=="number"?{order:e.order}:{}}}function We(e){const t=new Map;for(const o of e){const s=C(o.id);if(s.length!==0){t.set(s,s);for(const a of Array.isArray(o.aliases)?o.aliases:[]){const n=C(a);n.length>0&&!t.has(n)&&t.set(n,s)}}}return t}async function Ft(e,t,o){const s=b(process.cwd(),o.path);await I(s);let a;try{a=Ie({id:e,roles:t.role,aliases:t.alias,description:t.description,order:t.order})}catch(w){throw new y(w instanceof Error?w.message:String(w),h.USAGE)}const n=await F(s),c=A(n.schema),r=ee(s,c),m=K(c);try{ne(a,m.alias_to_id)}catch(w){throw new y(w instanceof Error?w.message:String(w),h.USAGE)}const p=Ke(m.by_id.get(a.id));if((a.roles??p?.roles??[]).length===0)throw new y(`Status "${a.id}" requires at least one lifecycle role. Re-run with --role active, --role blocked, --role draft, or an appropriate terminal/default role.`,h.USAGE,{code:"status_lifecycle_role_required",examples:[`pm schema add-status "${N(a.id)}" --role active`,`pm schema add-status "${N(a.id)}" --role blocked`]});const l=[],f=T(t.author,n.author_default),d=L(n),i=await x(s,pe,n.locks.ttl_seconds,f,!!t.force,d.force_required_for_stale_lock,n.locks.wait_ms);let u;try{const w=await k(r);let $;try{$=ie(w)}catch(_){throw new y(_ instanceof Error?_.message:String(_),h.GENERIC_FAILURE)}const v=We($.statuses);try{ne(a,v)}catch(_){throw new y(_ instanceof Error?_.message:String(_),h.USAGE)}u=xe($,a,p),await U({pmRoot:s,filePath:r,raw:ce(u.file),op:"schema:add-status",author:f,settings:n}),l.push(...await R({path:r,scope:"project",op:"schema:add-status"}))}finally{await i()}return{action:"add-status",registered:!0,replaced:u.replaced,status:u.definition,file:{path:r,statuses:u.file.statuses.length},warnings:P(l),generated_at:S()}}async function It(e,t,o){const s=b(process.cwd(),o.path);await I(s);const a=await F(s),n=A(a.schema),c=ee(s,n),r=[],m=T(t.author,a.author_default),p=L(a),g=await x(s,pe,a.locks.ttl_seconds,m,!!t.force,p.force_required_for_stale_lock,a.locks.wait_ms);let l;try{const f=await k(c);let d;try{d=ie(f)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.GENERIC_FAILURE)}try{l=Te(d,e)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}if(l.removed){const i=C(l.definition?.id??e);await Be(r,s,a,n,i),await U({pmRoot:s,filePath:c,raw:ce(l.file),op:"schema:remove-status",author:m,settings:a}),r.push(...await R({path:c,scope:"project",op:"schema:remove-status"}))}}finally{await g()}return{action:"remove-status",removed:l.removed,...l.definition?{status:l.definition}:{},file:{path:c,statuses:l.file.statuses.length},warnings:P(r),generated_at:S()}}function we(e){return{name:e.name,folder:e.folder,aliases:Array.isArray(e.aliases)?[...e.aliases]:[],...e.default_status?{default_status:e.default_status}:{},...e.description?{description:e.description}:{}}}function Ye(e,t,o){return{...we(e),source:t,...o?{extension:o}:{},required_create_fields:[...e.required_create_fields],required_create_repeatables:[...e.required_create_repeatables],options:structuredClone(e.options),command_option_policies:structuredClone(e.command_option_policies)}}function _e(e){return{id:e.id,source:re.has(e.id)?"builtin":"custom",roles:Array.isArray(e.roles)?[...e.roles]:[],aliases:Array.isArray(e.aliases)?[...e.aliases]:[],...e.description?{description:e.description}:{},...typeof e.order=="number"?{order:e.order}:{}}}function ge(e,t,o){const s=e.toLowerCase();return o.has(s)?"extension":t.has(s)?"custom":"builtin"}function Je(){const e=new Map,t=j();for(const o of t?.item_types??[]){const s=o.types;if(Array.isArray(s))for(const a of s){if(typeof a!="object"||a===null||Array.isArray(a))continue;const n=a.name;typeof n=="string"&&n.trim().length>0&&e.set(n.trim().toLowerCase(),{layer:o.layer,name:o.name})}}return e}function Qe(e){const t=K(e),o=[],s=[];for(const a of t.definitions){const n=_e(a);n.source==="builtin"?o.push(n):s.push(n)}return{builtin:o,custom:s}}async function M(e){const t=b(process.cwd(),e.path);await I(t);const o=await F(t),s=A(o.schema),a=O(t,s.files.types,G.types),n=ee(t,s),c=H(o,j()),r=Je(),m=new Set((o.item_types?.definitions??[]).map(p=>p.name.trim().toLowerCase()).filter(p=>p.length>0&&!r.has(p)));return{pmRoot:t,typesPath:a,statusesPath:n,byType:c.by_type,customNames:m,extensionProvenance:r,schema:s}}async function Tt(e){const t=await M(e),o=[],s=[],a=[];for(const r of Object.values(t.byType).sort((m,p)=>m.name.localeCompare(p.name))){const m=ge(r.name,t.customNames,new Set(t.extensionProvenance.keys())),p=we(r);m==="extension"?a.push(p):m==="custom"?s.push(p):o.push(p)}const n=Qe(t.schema),c=Z(t.schema).definitions.map(se);return{action:"list",builtin:o,custom:s,extension:a,counts:{builtin:o.length,custom:s.length,extension:a.length,total:o.length+s.length+a.length},statuses:{builtin:n.builtin,custom:n.custom,counts:{builtin:n.builtin.length,custom:n.custom.length,total:n.builtin.length+n.custom.length}},fields:{custom:c,counts:{total:c.length}},file:{path:t.typesPath},generated_at:S()}}async function xt(e,t){const o=(e??"").trim();if(o.length===0)throw new y("Type name must not be empty.",h.USAGE);const s=await M(t),a=Object.values(s.byType).find(n=>n.name.toLowerCase()===o.toLowerCase()||n.aliases.some(c=>c.toLowerCase()===o.toLowerCase()));if(!a)throw new y(`Unknown item type "${o}". Run pm schema list to inspect registered types, or pm schema add-type "${N(o)}" to register it.`,h.NOT_FOUND,{code:"unknown_item_type"});return{action:"show",type:Ye(a,ge(a.name,s.customNames,new Set(s.extensionProvenance.keys())),s.extensionProvenance.get(a.name.toLowerCase())),file:{path:s.typesPath},generated_at:S()}}async function Ct(e,t){const o=C(e);if(o.length===0)throw new y("Status id must not be empty.",h.USAGE);const s=await M(t),a=K(s.schema),n=a.alias_to_id.get(o)??o,c=a.by_id.get(n);if(!c)throw new y(`Unknown status "${e}". Run pm schema list to inspect registered statuses, or pm schema add-status "${N(e??"")}" to register it.`,h.NOT_FOUND,{code:"unknown_status"});return{action:"show-status",status:_e(c),file:{path:s.statusesPath},generated_at:S()}}async function Lt(e,t,o){const s=b(process.cwd(),o.path);await I(s);let a;try{a=Ce({key:e,type:t.type,commands:t.commands,description:t.description,cliFlag:t.cliFlag,aliases:t.alias,required:t.required,requiredOnCreate:t.requiredOnCreate,allowUnset:t.allowUnset,requiredTypes:t.requiredTypes})}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}Oe(a);const n=await F(s),c=A(n.schema),r=J(s,c),m=[],p=He(a.key);p&&m.push(`custom_field_mcp_input_collision:${p.field}:${p.property}:${p.owner}:use=${p.nested_path}`);const g=T(t.author,n.author_default),l=L(n),f=await x(s,fe,n.locks.ttl_seconds,g,!!t.force,l.force_required_for_stale_lock,n.locks.wait_ms);let d;try{const i=await k(r);let u;try{u=le(i)}catch(w){throw new y(w instanceof Error?w.message:String(w),h.GENERIC_FAILURE)}d=Ue(u,a),await U({pmRoot:s,filePath:r,raw:ue(d.file),op:"schema:add-field",author:g,settings:n}),m.push(...await R({path:r,scope:"project",op:"schema:add-field"}))}finally{await f()}return{action:"add-field",registered:!0,replaced:d.replaced,field:d.definition,file:{path:r,fields:d.file.fields.length},warnings:P(m),generated_at:S()}}async function Xe(e,t,o,s){const a=H(t,j());return(await W(e,t.item_format,a.type_to_folder,[],o)).filter(c=>{const r=c[s];return r==null?!1:Array.isArray(r)?r.length>0:typeof r=="string"?r.trim().length>0:!0}).length}async function Ut(e,t,o){const s=b(process.cwd(),o.path);await I(s);const a=await F(s),n=A(a.schema),c=J(s,n),r=[],m=T(t.author,a.author_default),p=L(a),g=await x(s,fe,a.locks.ttl_seconds,m,!!t.force,p.force_required_for_stale_lock,a.locks.wait_ms);let l;try{const f=await k(c);let d;try{d=le(f)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.GENERIC_FAILURE)}try{l=Le(d,e)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}if(l.removed){const i=V(l.definition?.key??e),u=V(l.definition?.metadata_key??l.definition?.front_matter_key??i);if(u.length>0){const w=await Xe(s,a,n,u);w>0&&r.push(`items_using_field:${w}`)}await U({pmRoot:s,filePath:c,raw:ue(l.file),op:"schema:remove-field",author:m,settings:a}),r.push(...await R({path:c,scope:"project",op:"schema:remove-field"}))}}finally{await g()}return{action:"remove-field",removed:l.removed,...l.definition?{field:l.definition}:{},file:{path:c,fields:l.file.fields.length},warnings:P(r),generated_at:S()}}async function Pt(e){const t=await M(e),o=Z(t.schema).definitions.map(se);return{action:"list-fields",fields:o,counts:{total:o.length},file:{path:J(t.pmRoot,t.schema)},generated_at:S()}}async function jt(e,t){const o=V(e);if(o.length===0)throw new y("Field key must not be empty.",h.USAGE);const s=await M(t),a=Z(s.schema).by_key.get(o);if(!a)throw new y(`Unknown custom field "${e}". Run pm schema list-fields to inspect registered fields, or pm schema add-field "${N(e??"")}" to register it.`,h.NOT_FOUND,{code:"unknown_field"});return{action:"show-field",field:se(a),file:{path:J(s.pmRoot,s.schema)},generated_at:S()}}async function qt(e,t,o){const s=b(process.cwd(),o.path);await I(s);let a;try{const u=Pe(e);if(u===void 0)throw new Error(`Type preset name is required. Allowed: ${je.join(", ")}.`);a=u}catch(u){throw new y(u instanceof Error?u.message:String(u),h.USAGE)}const n=await F(s),c=A(n.schema),r=ye(s,c),m=[],p=T(t.author,n.author_default),g=L(n),l=[],f=[];let d;const i=await x(s,Y,n.locks.ttl_seconds,p,!!t.force,g.force_required_for_stale_lock,n.locks.wait_ms);try{const u=await k(r);let w;try{w=D(u)}catch(v){throw new y(v instanceof Error?v.message:String(v),h.GENERIC_FAILURE)}let $=w;for(const v of me(a)){const _=X($,v);$=_.file,(_.replaced?f:l).push(_.definition.name)}d=$.definitions.length,await U({pmRoot:s,filePath:r,raw:B($),op:"schema:apply-preset",author:p,settings:n}),await te(s,me(a),m,"schema:apply-preset-folder"),m.push(...await R({path:r,scope:"project",op:"schema:apply-preset"}))}finally{await i()}return{action:"apply-preset",preset:a,registered:l,replaced:f,file:{path:r,definitions:d},warnings:P(m),generated_at:S()}}function Ve(e){if(e===void 0)return 10;if(!Number.isInteger(e)||e<1)throw new y("--min-count must be a positive integer (>= 1).",h.USAGE);return e}async function Nt(e,t){const o=b(process.cwd(),t.path);await I(o);const s=await F(o),a=A(s.schema),n=ye(o,a),c=Ve(e.minCount),r=H(s,j()),p=(await W(o,s.item_format,r.type_to_folder,[],a)).map(_=>typeof _.title=="string"?_.title:""),g=qe(p,{minCount:c}),l=[],f=[],d=[],i=[];let u;if(!e.apply){let _;try{_=D(await k(n))}catch(q){throw new y(q instanceof Error?q.message:String(q),h.GENERIC_FAILURE)}return u=_.definitions.length,{action:"infer-types",applied:!1,min_count:c,candidates:g,registered:f,replaced:d,skipped:i,file:{path:n,definitions:u},warnings:l,generated_at:S()}}const w=T(e.author,s.author_default),$=L(s),v=await x(o,Y,s.locks.ttl_seconds,w,!!e.force,$.force_required_for_stale_lock,s.locks.wait_ms);try{const _=await k(n);let q;try{q=D(_)}catch(E){throw new y(E instanceof Error?E.message:String(E),h.GENERIC_FAILURE)}let z=q;for(const E of g){if(E.shadows_builtin){i.push({name:E.name,reason:"shadows_builtin"});continue}let oe;try{oe=ae({name:E.name})}catch{i.push({name:E.name,reason:"invalid_type_token"});continue}const Q=X(z,oe);z=Q.file,(Q.replaced?d:f).push(Q.definition.name)}u=z.definitions.length,await U({pmRoot:o,filePath:n,raw:B(z),op:"schema:infer-types",author:w,settings:s}),await te(o,z.definitions.filter(E=>f.includes(E.name)||d.includes(E.name)),l,"schema:infer-types-folder"),l.push(...await R({path:n,scope:"project",op:"schema:infer-types"}))}finally{await v()}return{action:"infer-types",applied:!0,min_count:c,candidates:g,registered:f,replaced:d,skipped:i,file:{path:n,definitions:u},warnings:P(l),generated_at:S()}}function Gt(e){const t=e.replaced?"Updated":"Registered",o=e.type.aliases&&e.type.aliases.length>0?` (aliases: ${e.type.aliases.join(", ")})`:"";return`${t} custom item type "${e.type.name}"${o} in ${e.file.path}. Run: pm create "${N(e.type.name)}" "<title>"`}function Ot(e){return e.removed?`Removed custom item type "${e.type?.name??"(unknown)"}" from ${e.file.path}.`:`No custom item type matched; nothing removed from ${e.file.path}.`}function Ht(e){const t=e.replaced?"Updated":"Registered",o=e.status.roles&&e.status.roles.length>0?` (roles: ${e.status.roles.join(", ")})`:"",s=e.status.aliases&&e.status.aliases.length>0?` (aliases: ${e.status.aliases.join(", ")})`:"";return`${t} status "${e.status.id}"${o}${s} in ${e.file.path}.`}function zt(e){return e.removed?`Removed custom status "${e.status?.id??"(unknown)"}" from ${e.file.path}.`:`No custom status matched; nothing removed from ${e.file.path}.`}function Dt(e){const t=[`Schema types: ${e.counts.total} total (${e.counts.builtin} builtin, ${e.counts.custom} custom, ${e.counts.extension} extension)`];for(const[o,s]of[["builtin",e.builtin],["custom",e.custom],["extension",e.extension]])s.length!==0&&t.push(`${o}: ${s.map(a=>a.name).join(", ")}`);t.push(`statuses: ${e.statuses.counts.total} total (${e.statuses.counts.builtin} builtin, ${e.statuses.counts.custom} custom)`);for(const[o,s]of[["builtin statuses",e.statuses.builtin],["custom statuses",e.statuses.custom]])s.length!==0&&t.push(`${o}: ${s.map(a=>a.id).join(", ")}`);return t.push(`custom fields: ${e.fields.counts.total} total`),e.fields.custom.length>0&&t.push(`fields: ${e.fields.custom.map(o=>`${o.key} (${o.type}, ${o.cli_flag})`).join(", ")}`),t.push("Inspect one: pm schema show <Type>"),t.push("Inspect one status: pm schema show-status <status>"),t.push("Inspect one field: pm schema show-field <key>"),t.join(`
1
+ import{assertInitializedTracker as Se}from"./environment/tracker-preflight.js";import $e from"node:path";import{mkdir as ve}from"node:fs/promises";import{resolveAuthor as T}from"../core/shared/author.js";import{pathExists as Ee,readFileIfExists as k}from"../core/fs/fs-utils.js";import{writeWorkspaceJsonWithHistory as ke}from"../core/history/workspace-history.js";import{acquireLock as x}from"../core/lock/lock.js";import{refreshMergeAttributeFenceIfInstalled as Ae}from"./merge/install.js";import{assertAliasesAvailable as Re,assertTypeFolderAvailable as Fe,escapeForDoubleQuotes as N,normalizeAddTypeInput as ae,parseItemTypesFile as D,removeItemType as be,serializeItemTypesFile as B,upsertItemType as X}from"../core/schema/item-types-file.js";import{assertStatusTokensAvailable as ne,BUILTIN_STATUS_IDS as re,normalizeAddStatusInput as Ie,normalizeStatusToken as C,parseStatusDefsFile as ie,removeStatusDef as Te,serializeStatusDefsFile as ce,upsertStatusDef as xe}from"../core/schema/status-defs-file.js";import{normalizeAddFieldInput as Ce,normalizeFieldKey as V,parseFieldsFile as le,removeField as Le,serializeFieldsFile as ue,upsertField as Ue}from"../core/schema/fields-file.js";import{normalizeTypePresetName as Pe,resolveTypePresetDefinitions as me,TYPE_PRESET_NAMES as je}from"../core/schema/type-presets.js";import{inferTypesFromTitles as qe}from"../core/schema/type-inference.js";import{DEFAULT_RUNTIME_SCHEMA_FILE_PATHS as G,filePathForSchemaSection as O,normalizeRuntimeSchemaSettings as A,resolveRuntimeFieldRegistry as Z,resolveRuntimeStatusRegistry as K}from"../core/schema/runtime-schema.js";import{normalizeItemTypeFolder as Ne,resolveItemTypeRegistry as H,toDefaultFolder as Ge}from"../core/item/type-registry.js";import{listAllItemMetadataLight as W}from"../core/store/item-store.js";import{EXIT_CODE as h}from"../core/shared/constants.js";import{PmCliError as y}from"../core/shared/errors.js";import{nowIso as S}from"../core/shared/time.js";import{getActiveExtensionRegistrations as j,runActiveOnWriteHooks as R}from"../core/extensions/index.js";import{resolvePmRoot as F}from"../core/store/paths.js";import{readSettings as b,resolveGovernanceKnobs as L}from"../core/store/settings.js";import{assertFieldOptionsAvailable as Oe}from"./schema/field-option-collisions.js";import{resolvePmToolCustomFieldCollision as He}from"./cli-contracts/tool-schema.js";import{WORKFLOW_POLICY_ACTIONS as ze}from"./governance/workflow-policy.js";export*from"./governance/workflow-policy.js";const At=[...ze,"add-type","remove-type","add-status","remove-status","add-field","remove-field","list-fields","show-field","apply-preset","list","show","show-status","rename-type","rename-field","remap-status"];import{formatSchemaEvolutionMigrationHuman as ss,runSchemaEvolutionMigration as os}from"./schema-migration.js";import{planSchemaEvolutionMigration as ns}from"./schema-migration.js";const Y="schema-types",pe="schema-statuses",fe="schema-fields";function U(e){return ke({pmRoot:e.pmRoot,filePath:e.filePath,raw:e.raw,op:e.op,author:e.author,lockTtlSeconds:e.settings.locks.ttl_seconds,lockWaitMs:e.settings.locks.wait_ms})}async function Rt(e,t,o){const s=F(process.cwd(),o.path);await I(s);let a;try{a=ae({name:e,description:t.description,defaultStatus:t.defaultStatus,folder:t.folder,aliases:t.alias})}catch(d){throw new y(d instanceof Error?d.message:String(d),h.USAGE)}const n=await b(s),c=A(n.schema),r=O(s,c.files.types,G.types),m=[],p=T(t.author,n.author_default),g=L(n),l=await x(s,Y,n.locks.ttl_seconds,p,!!t.force,g.force_required_for_stale_lock,n.locks.wait_ms);let f;try{const d=await k(r);let i;try{i=D(d)}catch(u){throw new y(u instanceof Error?u.message:String(u),h.GENERIC_FAILURE)}try{Re(a,i);const u=new Map,w=H(n,j());for(const[$,v]of Object.entries(w.type_to_folder)){const _=v.trim().toLowerCase();_.length>0&&!u.has(_)&&u.set(_,$)}Fe(a,i,u)}catch(u){throw new y(u instanceof Error?u.message:String(u),h.USAGE)}f=X(i,a),f.replaced&&f.previousName!==void 0&&f.previousName!==f.definition.name&&m.push(`type_recased:${f.previousName}->${f.definition.name}`),await U({pmRoot:s,filePath:r,raw:B(f.file),op:"schema:add-type",author:p,settings:n}),await te(s,[f.definition],m,"schema:add-type-folder"),m.push(...await R({path:r,scope:"project",op:"schema:add-type"}))}finally{await l()}return await de(s,m),{action:"add-type",registered:!0,replaced:f.replaced,type:f.definition,file:{path:r,definitions:f.file.definitions.length},warnings:P(m),generated_at:S()}}async function I(e){await Se(e)}async function de(e,t){try{const o=await Ae(e);o.status==="refreshed"?t.push("merge_fence_refreshed"):o.status==="not_installed"&&t.push('merge_fence_not_installed:type folders lack git merge drivers; run "pm merge install"')}catch{t.push('merge_fence_refresh_failed:run "pm merge install" to reconcile')}}function P(e){return[...new Set(e)].sort((t,o)=>t.localeCompare(o))}async function De(e,t,o,s){const a=H(t,j()),n=s.trim().toLowerCase();return(await W(e,t.item_format,a.type_to_folder,[],o)).filter(r=>typeof r.type=="string"&&r.type.toLowerCase()===n).length}async function Me(e,t,o,s){const a=H(t,j()),n=K(o),c=C(s);return(await W(e,t.item_format,a.type_to_folder,[],o)).filter(m=>{const p=typeof m.status=="string"?m.status:"";return(n.alias_to_id.get(C(p))??C(p))===c}).length}async function Be(e,t,o,s,a){if(a.length===0||re.has(a))return;const n=await Me(t,o,s,a);n>0&&e.push(`items_using_status:${n}`);const c=he(s.workflow,a);c.length>0&&e.push(`status_referenced_by_workflow:${c.join(",")}`)}function he(e,t){return[["draft_status",e.draft_status],["open_status",e.open_status],["in_progress_status",e.in_progress_status],["blocked_status",e.blocked_status],["close_status",e.close_status],["canceled_status",e.canceled_status]].filter(([,s])=>s!==void 0&&C(s)===t).map(([s])=>s)}async function Ft(e,t,o){const s=F(process.cwd(),o.path);await I(s);const a=await b(s),n=A(a.schema),c=O(s,n.files.types,G.types),r=[],m=T(t.author,a.author_default),p=L(a),g=await x(s,Y,a.locks.ttl_seconds,m,!!t.force,p.force_required_for_stale_lock,a.locks.wait_ms);let l;try{const f=await k(c);let d;try{d=D(f)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.GENERIC_FAILURE)}try{l=be(d,e)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}if(l.removed){const i=(l.definition?.name??e??"").trim();if(i.length>0){const u=await De(s,a,n,i);u>0&&r.push(`items_using_type:${u}`)}await U({pmRoot:s,filePath:c,raw:B(l.file),op:"schema:remove-type",author:m,settings:a}),r.push(...await R({path:c,scope:"project",op:"schema:remove-type"}))}}finally{await g()}return l.removed&&await de(s,r),{action:"remove-type",removed:l.removed,...l.definition?{type:l.definition}:{},file:{path:c,definitions:l.file.definitions.length},warnings:P(r),generated_at:S()}}function ee(e,t){return O(e,t.files.statuses,G.statuses)}function J(e,t){return O(e,t.files.fields,G.fields)}function ye(e,t){return O(e,t.files.types,G.types)}async function te(e,t,o,s){for(const a of t){const n=Ne(a.folder??Ge(a.name)),c=$e.join(e,n);await Ee(c)||(await ve(c,{recursive:!0}),o.push(...await R({path:c,scope:"project",op:s})))}}function se(e){return{key:e.key,type:e.type,commands:[...e.commands],cli_flag:`--${e.cli_flag}`,cli_aliases:e.cli_aliases.map(t=>`--${t}`),...e.description?{description:e.description}:{},required:e.required,required_on_create:e.required_on_create,allow_unset:e.allow_unset,required_types:[...e.required_types]}}function Ke(e){if(e)return{id:e.id,...e.roles.length>0?{roles:[...e.roles]}:{},...e.aliases.length>0?{aliases:[...e.aliases]}:{},...e.description?{description:e.description}:{},...typeof e.order=="number"?{order:e.order}:{}}}function We(e){const t=new Map;for(const o of e){const s=C(o.id);if(s.length!==0){t.set(s,s);for(const a of Array.isArray(o.aliases)?o.aliases:[]){const n=C(a);n.length>0&&!t.has(n)&&t.set(n,s)}}}return t}async function bt(e,t,o){const s=F(process.cwd(),o.path);await I(s);let a;try{a=Ie({id:e,roles:t.role,aliases:t.alias,description:t.description,order:t.order})}catch(w){throw new y(w instanceof Error?w.message:String(w),h.USAGE)}const n=await b(s),c=A(n.schema),r=ee(s,c),m=K(c);try{ne(a,m.alias_to_id)}catch(w){throw new y(w instanceof Error?w.message:String(w),h.USAGE)}const p=Ke(m.by_id.get(a.id));if((a.roles??p?.roles??[]).length===0)throw new y(`Status "${a.id}" requires at least one lifecycle role. Re-run with --role active, --role blocked, --role draft, or an appropriate terminal/default role.`,h.USAGE,{code:"status_lifecycle_role_required",examples:[`pm schema add-status "${N(a.id)}" --role active`,`pm schema add-status "${N(a.id)}" --role blocked`]});const l=[],f=T(t.author,n.author_default),d=L(n),i=await x(s,pe,n.locks.ttl_seconds,f,!!t.force,d.force_required_for_stale_lock,n.locks.wait_ms);let u;try{const w=await k(r);let $;try{$=ie(w)}catch(_){throw new y(_ instanceof Error?_.message:String(_),h.GENERIC_FAILURE)}const v=We($.statuses);try{ne(a,v)}catch(_){throw new y(_ instanceof Error?_.message:String(_),h.USAGE)}u=xe($,a,p),await U({pmRoot:s,filePath:r,raw:ce(u.file),op:"schema:add-status",author:f,settings:n}),l.push(...await R({path:r,scope:"project",op:"schema:add-status"}))}finally{await i()}return{action:"add-status",registered:!0,replaced:u.replaced,status:u.definition,file:{path:r,statuses:u.file.statuses.length},warnings:P(l),generated_at:S()}}async function It(e,t,o){const s=F(process.cwd(),o.path);await I(s);const a=await b(s),n=A(a.schema),c=ee(s,n),r=[],m=T(t.author,a.author_default),p=L(a),g=await x(s,pe,a.locks.ttl_seconds,m,!!t.force,p.force_required_for_stale_lock,a.locks.wait_ms);let l;try{const f=await k(c);let d;try{d=ie(f)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.GENERIC_FAILURE)}try{l=Te(d,e)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}if(l.removed){const i=C(l.definition?.id??e);await Be(r,s,a,n,i),await U({pmRoot:s,filePath:c,raw:ce(l.file),op:"schema:remove-status",author:m,settings:a}),r.push(...await R({path:c,scope:"project",op:"schema:remove-status"}))}}finally{await g()}return{action:"remove-status",removed:l.removed,...l.definition?{status:l.definition}:{},file:{path:c,statuses:l.file.statuses.length},warnings:P(r),generated_at:S()}}function we(e){return{name:e.name,folder:e.folder,aliases:Array.isArray(e.aliases)?[...e.aliases]:[],...e.default_status?{default_status:e.default_status}:{},...e.description?{description:e.description}:{}}}function Ye(e,t,o){return{...we(e),source:t,...o?{extension:o}:{},required_create_fields:[...e.required_create_fields],required_create_repeatables:[...e.required_create_repeatables],options:structuredClone(e.options),command_option_policies:structuredClone(e.command_option_policies)}}function _e(e){return{id:e.id,source:re.has(e.id)?"builtin":"custom",roles:Array.isArray(e.roles)?[...e.roles]:[],aliases:Array.isArray(e.aliases)?[...e.aliases]:[],...e.description?{description:e.description}:{},...typeof e.order=="number"?{order:e.order}:{}}}function ge(e,t,o){const s=e.toLowerCase();return o.has(s)?"extension":t.has(s)?"custom":"builtin"}function Je(){const e=new Map,t=j();for(const o of t?.item_types??[]){const s=o.types;if(Array.isArray(s))for(const a of s){if(typeof a!="object"||a===null||Array.isArray(a))continue;const n=a.name;typeof n=="string"&&n.trim().length>0&&e.set(n.trim().toLowerCase(),{layer:o.layer,name:o.name})}}return e}function Qe(e){const t=K(e),o=[],s=[];for(const a of t.definitions){const n=_e(a);n.source==="builtin"?o.push(n):s.push(n)}return{builtin:o,custom:s}}async function M(e){const t=F(process.cwd(),e.path);await I(t);const o=await b(t),s=A(o.schema),a=O(t,s.files.types,G.types),n=ee(t,s),c=H(o,j()),r=Je(),m=new Set((o.item_types?.definitions??[]).map(p=>p.name.trim().toLowerCase()).filter(p=>p.length>0&&!r.has(p)));return{pmRoot:t,typesPath:a,statusesPath:n,byType:c.by_type,customNames:m,extensionProvenance:r,schema:s}}async function Tt(e){const t=await M(e),o=[],s=[],a=[];for(const r of Object.values(t.byType).sort((m,p)=>m.name.localeCompare(p.name))){const m=ge(r.name,t.customNames,new Set(t.extensionProvenance.keys())),p=we(r);m==="extension"?a.push(p):m==="custom"?s.push(p):o.push(p)}const n=Qe(t.schema),c=Z(t.schema).definitions.map(se);return{action:"list",builtin:o,custom:s,extension:a,counts:{builtin:o.length,custom:s.length,extension:a.length,total:o.length+s.length+a.length},statuses:{builtin:n.builtin,custom:n.custom,counts:{builtin:n.builtin.length,custom:n.custom.length,total:n.builtin.length+n.custom.length}},fields:{custom:c,counts:{total:c.length}},file:{path:t.typesPath},generated_at:S()}}async function xt(e,t){const o=(e??"").trim();if(o.length===0)throw new y("Type name must not be empty.",h.USAGE);const s=await M(t),a=Object.values(s.byType).find(n=>n.name.toLowerCase()===o.toLowerCase()||n.aliases.some(c=>c.toLowerCase()===o.toLowerCase()));if(!a)throw new y(`Unknown item type "${o}". Run pm schema list to inspect registered types, or pm schema add-type "${N(o)}" to register it.`,h.NOT_FOUND,{code:"unknown_item_type"});return{action:"show",type:Ye(a,ge(a.name,s.customNames,new Set(s.extensionProvenance.keys())),s.extensionProvenance.get(a.name.toLowerCase())),file:{path:s.typesPath},generated_at:S()}}async function Ct(e,t){const o=C(e);if(o.length===0)throw new y("Status id must not be empty.",h.USAGE);const s=await M(t),a=K(s.schema),n=a.alias_to_id.get(o)??o,c=a.by_id.get(n);if(!c)throw new y(`Unknown status "${e}". Run pm schema list to inspect registered statuses, or pm schema add-status "${N(e??"")}" to register it.`,h.NOT_FOUND,{code:"unknown_status"});return{action:"show-status",status:_e(c),file:{path:s.statusesPath},generated_at:S()}}async function Lt(e,t,o){const s=F(process.cwd(),o.path);await I(s);let a;try{a=Ce({key:e,type:t.type,commands:t.commands,description:t.description,cliFlag:t.cliFlag,aliases:t.alias,required:t.required,requiredOnCreate:t.requiredOnCreate,allowUnset:t.allowUnset,requiredTypes:t.requiredTypes})}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}Oe(a,{cliFlag:t.cliFlag,aliases:t.alias});const n=await b(s),c=A(n.schema),r=J(s,c),m=[],p=He(a.key);p&&m.push(`custom_field_mcp_input_collision:${p.field}:${p.property}:${p.owner}:use=${p.nested_path}`);const g=T(t.author,n.author_default),l=L(n),f=await x(s,fe,n.locks.ttl_seconds,g,!!t.force,l.force_required_for_stale_lock,n.locks.wait_ms);let d;try{const i=await k(r);let u;try{u=le(i)}catch(w){throw new y(w instanceof Error?w.message:String(w),h.GENERIC_FAILURE)}d=Ue(u,a),await U({pmRoot:s,filePath:r,raw:ue(d.file),op:"schema:add-field",author:g,settings:n}),m.push(...await R({path:r,scope:"project",op:"schema:add-field"}))}finally{await f()}return{action:"add-field",registered:!0,replaced:d.replaced,field:d.definition,file:{path:r,fields:d.file.fields.length},warnings:P(m),generated_at:S()}}async function Xe(e,t,o,s){const a=H(t,j());return(await W(e,t.item_format,a.type_to_folder,[],o)).filter(c=>{const r=c[s];return r==null?!1:Array.isArray(r)?r.length>0:typeof r=="string"?r.trim().length>0:!0}).length}async function Ut(e,t,o){const s=F(process.cwd(),o.path);await I(s);const a=await b(s),n=A(a.schema),c=J(s,n),r=[],m=T(t.author,a.author_default),p=L(a),g=await x(s,fe,a.locks.ttl_seconds,m,!!t.force,p.force_required_for_stale_lock,a.locks.wait_ms);let l;try{const f=await k(c);let d;try{d=le(f)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.GENERIC_FAILURE)}try{l=Le(d,e)}catch(i){throw new y(i instanceof Error?i.message:String(i),h.USAGE)}if(l.removed){const i=V(l.definition?.key??e),u=V(l.definition?.metadata_key??l.definition?.front_matter_key??i);if(u.length>0){const w=await Xe(s,a,n,u);w>0&&r.push(`items_using_field:${w}`)}await U({pmRoot:s,filePath:c,raw:ue(l.file),op:"schema:remove-field",author:m,settings:a}),r.push(...await R({path:c,scope:"project",op:"schema:remove-field"}))}}finally{await g()}return{action:"remove-field",removed:l.removed,...l.definition?{field:l.definition}:{},file:{path:c,fields:l.file.fields.length},warnings:P(r),generated_at:S()}}async function Pt(e){const t=await M(e),o=Z(t.schema).definitions.map(se);return{action:"list-fields",fields:o,counts:{total:o.length},file:{path:J(t.pmRoot,t.schema)},generated_at:S()}}async function jt(e,t){const o=V(e);if(o.length===0)throw new y("Field key must not be empty.",h.USAGE);const s=await M(t),a=Z(s.schema).by_key.get(o);if(!a)throw new y(`Unknown custom field "${e}". Run pm schema list-fields to inspect registered fields, or pm schema add-field "${N(e??"")}" to register it.`,h.NOT_FOUND,{code:"unknown_field"});return{action:"show-field",field:se(a),file:{path:J(s.pmRoot,s.schema)},generated_at:S()}}async function qt(e,t,o){const s=F(process.cwd(),o.path);await I(s);let a;try{const u=Pe(e);if(u===void 0)throw new Error(`Type preset name is required. Allowed: ${je.join(", ")}.`);a=u}catch(u){throw new y(u instanceof Error?u.message:String(u),h.USAGE)}const n=await b(s),c=A(n.schema),r=ye(s,c),m=[],p=T(t.author,n.author_default),g=L(n),l=[],f=[];let d;const i=await x(s,Y,n.locks.ttl_seconds,p,!!t.force,g.force_required_for_stale_lock,n.locks.wait_ms);try{const u=await k(r);let w;try{w=D(u)}catch(v){throw new y(v instanceof Error?v.message:String(v),h.GENERIC_FAILURE)}let $=w;for(const v of me(a)){const _=X($,v);$=_.file,(_.replaced?f:l).push(_.definition.name)}d=$.definitions.length,await U({pmRoot:s,filePath:r,raw:B($),op:"schema:apply-preset",author:p,settings:n}),await te(s,me(a),m,"schema:apply-preset-folder"),m.push(...await R({path:r,scope:"project",op:"schema:apply-preset"}))}finally{await i()}return{action:"apply-preset",preset:a,registered:l,replaced:f,file:{path:r,definitions:d},warnings:P(m),generated_at:S()}}function Ve(e){if(e===void 0)return 10;if(!Number.isInteger(e)||e<1)throw new y("--min-count must be a positive integer (>= 1).",h.USAGE);return e}async function Nt(e,t){const o=F(process.cwd(),t.path);await I(o);const s=await b(o),a=A(s.schema),n=ye(o,a),c=Ve(e.minCount),r=H(s,j()),p=(await W(o,s.item_format,r.type_to_folder,[],a)).map(_=>typeof _.title=="string"?_.title:""),g=qe(p,{minCount:c}),l=[],f=[],d=[],i=[];let u;if(!e.apply){let _;try{_=D(await k(n))}catch(q){throw new y(q instanceof Error?q.message:String(q),h.GENERIC_FAILURE)}return u=_.definitions.length,{action:"infer-types",applied:!1,min_count:c,candidates:g,registered:f,replaced:d,skipped:i,file:{path:n,definitions:u},warnings:l,generated_at:S()}}const w=T(e.author,s.author_default),$=L(s),v=await x(o,Y,s.locks.ttl_seconds,w,!!e.force,$.force_required_for_stale_lock,s.locks.wait_ms);try{const _=await k(n);let q;try{q=D(_)}catch(E){throw new y(E instanceof Error?E.message:String(E),h.GENERIC_FAILURE)}let z=q;for(const E of g){if(E.shadows_builtin){i.push({name:E.name,reason:"shadows_builtin"});continue}let oe;try{oe=ae({name:E.name})}catch{i.push({name:E.name,reason:"invalid_type_token"});continue}const Q=X(z,oe);z=Q.file,(Q.replaced?d:f).push(Q.definition.name)}u=z.definitions.length,await U({pmRoot:o,filePath:n,raw:B(z),op:"schema:infer-types",author:w,settings:s}),await te(o,z.definitions.filter(E=>f.includes(E.name)||d.includes(E.name)),l,"schema:infer-types-folder"),l.push(...await R({path:n,scope:"project",op:"schema:infer-types"}))}finally{await v()}return{action:"infer-types",applied:!0,min_count:c,candidates:g,registered:f,replaced:d,skipped:i,file:{path:n,definitions:u},warnings:P(l),generated_at:S()}}function Gt(e){const t=e.replaced?"Updated":"Registered",o=e.type.aliases&&e.type.aliases.length>0?` (aliases: ${e.type.aliases.join(", ")})`:"";return`${t} custom item type "${e.type.name}"${o} in ${e.file.path}. Run: pm create "${N(e.type.name)}" "<title>"`}function Ot(e){return e.removed?`Removed custom item type "${e.type?.name??"(unknown)"}" from ${e.file.path}.`:`No custom item type matched; nothing removed from ${e.file.path}.`}function Ht(e){const t=e.replaced?"Updated":"Registered",o=e.status.roles&&e.status.roles.length>0?` (roles: ${e.status.roles.join(", ")})`:"",s=e.status.aliases&&e.status.aliases.length>0?` (aliases: ${e.status.aliases.join(", ")})`:"";return`${t} status "${e.status.id}"${o}${s} in ${e.file.path}.`}function zt(e){return e.removed?`Removed custom status "${e.status?.id??"(unknown)"}" from ${e.file.path}.`:`No custom status matched; nothing removed from ${e.file.path}.`}function Dt(e){const t=[`Schema types: ${e.counts.total} total (${e.counts.builtin} builtin, ${e.counts.custom} custom, ${e.counts.extension} extension)`];for(const[o,s]of[["builtin",e.builtin],["custom",e.custom],["extension",e.extension]])s.length!==0&&t.push(`${o}: ${s.map(a=>a.name).join(", ")}`);t.push(`statuses: ${e.statuses.counts.total} total (${e.statuses.counts.builtin} builtin, ${e.statuses.counts.custom} custom)`);for(const[o,s]of[["builtin statuses",e.statuses.builtin],["custom statuses",e.statuses.custom]])s.length!==0&&t.push(`${o}: ${s.map(a=>a.id).join(", ")}`);return t.push(`custom fields: ${e.fields.counts.total} total`),e.fields.custom.length>0&&t.push(`fields: ${e.fields.custom.map(o=>`${o.key} (${o.type}, ${o.cli_flag})`).join(", ")}`),t.push("Inspect one: pm schema show <Type>"),t.push("Inspect one status: pm schema show-status <status>"),t.push("Inspect one field: pm schema show-field <key>"),t.join(`
2
2
  `)}function Mt(e){const t=[`type: ${e.type.name}`,`source: ${e.type.source}`,`folder: ${e.type.folder}`];return e.type.default_status&&t.push(`default_status: ${e.type.default_status}`),e.type.aliases.length>0&&t.push(`aliases: ${e.type.aliases.join(", ")}`),e.type.description&&t.push(`description: ${e.type.description}`),e.type.options.length>0&&t.push(`options: ${e.type.options.map(o=>o.key).join(", ")}`),t.join(`
3
3
  `)}function Bt(e){const t=[`status: ${e.status.id}`,`source: ${e.status.source}`];return e.status.roles.length>0&&t.push(`roles: ${e.status.roles.join(", ")}`),e.status.aliases.length>0&&t.push(`aliases: ${e.status.aliases.join(", ")}`),e.status.description&&t.push(`description: ${e.status.description}`),typeof e.status.order=="number"&&t.push(`order: ${e.status.order}`),t.join(`
4
4
  `)}function Ze(e){const t=[];e.required&&t.push("required"),e.required_on_create&&t.push("required_on_create"),e.allow_unset||t.push("no_unset");const o=t.length>0?` [${t.join(", ")}]`:"";return`${e.key} (${e.type}) ${e.cli_flag} commands=${e.commands.join("/")}${o}`}function Kt(e){return`${e.replaced?"Updated":"Registered"} custom field "${e.field.key}" in ${e.file.path}. Use it: pm create "<title>" --${(e.field.cli_flag??e.field.key).replaceAll("_","-")} <value>`}function Wt(e){return e.removed?`Removed custom field "${e.field?.key??"(unknown)"}" from ${e.file.path}.`:`No custom field matched; nothing removed from ${e.file.path}.`}function Yt(e){const t=[`Custom fields: ${e.counts.total} total`];for(const o of e.fields)t.push(` ${Ze(o)}`);return t.push("Inspect one: pm schema show-field <key>"),t.join(`
5
5
  `)}function Jt(e){const t=e.field,o=[`field: ${t.key}`,`type: ${t.type}`,`cli_flag: ${t.cli_flag}`,`commands: ${t.commands.join(", ")}`];return t.cli_aliases.length>0&&o.push(`cli_aliases: ${t.cli_aliases.join(", ")}`),t.description&&o.push(`description: ${t.description}`),t.required&&o.push("required: true"),t.required_on_create&&o.push("required_on_create: true"),t.allow_unset||o.push("allow_unset: false"),t.required_types.length>0&&o.push(`required_types: ${t.required_types.join(", ")}`),o.join(`
6
6
  `)}function Qt(e){const t=e.registered.length>0?`registered: ${e.registered.join(", ")}`:"",o=e.replaced.length>0?`updated: ${e.replaced.join(", ")}`:"",s=[t,o].filter(a=>a.length>0).join("; ");return`Applied "${e.preset}" type preset to ${e.file.path}${s.length>0?` (${s})`:""}.`}function Xt(e){if(e.candidates.length===0)return`No title-prefix conventions found with at least ${e.min_count} items. Lower the threshold with --min-count <n>.`;const t=e.applied?[`Inferred and registered custom types from title prefixes (min-count ${e.min_count}):`]:[`Inferred custom type candidates from title prefixes (min-count ${e.min_count}, dry-run):`];for(const o of e.candidates){const s=o.shadows_builtin?" [shadows built-in, skipped]":"";t.push(` ${o.name} <- "${o.prefix}" (${o.count} items)${s}`)}return e.applied?(e.registered.length>0&&t.push(`registered: ${e.registered.join(", ")}`),e.replaced.length>0&&t.push(`updated: ${e.replaced.join(", ")}`)):t.push("Re-run with --apply to register the non-shadowing candidates."),t.join(`
7
- `)}const Vt={workflowSlotsReferencing:he};export{At as SCHEMA_SUBCOMMANDS,Vt as _testOnlySchemaCommand,te as ensureTypeFolderScaffold,Kt as formatSchemaAddFieldHuman,Ht as formatSchemaAddStatusHuman,Gt as formatSchemaAddTypeHuman,Qt as formatSchemaApplyPresetHuman,ss as formatSchemaEvolutionMigrationHuman,Xt as formatSchemaInferTypesHuman,Yt as formatSchemaListFieldsHuman,Dt as formatSchemaListHuman,Wt as formatSchemaRemoveFieldHuman,zt as formatSchemaRemoveStatusHuman,Ot as formatSchemaRemoveTypeHuman,Jt as formatSchemaShowFieldHuman,Mt as formatSchemaShowHuman,Bt as formatSchemaShowStatusHuman,ns as planSchemaEvolutionMigration,Lt as runSchemaAddField,Ft as runSchemaAddStatus,Rt as runSchemaAddType,qt as runSchemaApplyPreset,os as runSchemaEvolutionMigration,Nt as runSchemaInferTypes,Tt as runSchemaList,Pt as runSchemaListFields,Ut as runSchemaRemoveField,It as runSchemaRemoveStatus,bt as runSchemaRemoveType,xt as runSchemaShow,jt as runSchemaShowField,Ct as runSchemaShowStatus};
7
+ `)}const Vt={workflowSlotsReferencing:he};export{At as SCHEMA_SUBCOMMANDS,Vt as _testOnlySchemaCommand,te as ensureTypeFolderScaffold,Kt as formatSchemaAddFieldHuman,Ht as formatSchemaAddStatusHuman,Gt as formatSchemaAddTypeHuman,Qt as formatSchemaApplyPresetHuman,ss as formatSchemaEvolutionMigrationHuman,Xt as formatSchemaInferTypesHuman,Yt as formatSchemaListFieldsHuman,Dt as formatSchemaListHuman,Wt as formatSchemaRemoveFieldHuman,zt as formatSchemaRemoveStatusHuman,Ot as formatSchemaRemoveTypeHuman,Jt as formatSchemaShowFieldHuman,Mt as formatSchemaShowHuman,Bt as formatSchemaShowStatusHuman,ns as planSchemaEvolutionMigration,Lt as runSchemaAddField,bt as runSchemaAddStatus,Rt as runSchemaAddType,qt as runSchemaApplyPreset,os as runSchemaEvolutionMigration,Nt as runSchemaInferTypes,Tt as runSchemaList,Pt as runSchemaListFields,Ut as runSchemaRemoveField,It as runSchemaRemoveStatus,Ft as runSchemaRemoveType,xt as runSchemaShow,jt as runSchemaShowField,Ct as runSchemaShowStatus};
8
8
  //# sourceMappingURL=schema.js.map
package/docs/COMMANDS.md CHANGED
@@ -1706,7 +1706,7 @@ pm create Spike "Investigate retry backoff"
1706
1706
  - `add-status <id>` writes a custom lifecycle status (idempotent UPSERT keyed on the normalized id; re-adding sets `replaced: true`). Roles are validated against the runtime status roles: `draft`, `active`, `blocked`, `terminal`, `terminal_done`, `terminal_canceled`, `default_open`, `default_close`, `default_cancel`.
1707
1707
  - `remove-status <id>` removes a custom status. The six built-in statuses (`open`, `in_progress`, `blocked`, `closed`, `canceled`, `draft`) are refused. It WARNS (non-blocking) with `items_using_status:<N>` when items currently use that status.
1708
1708
  - Built-in types (Chore, Decision, Epic, Event, Feature, Issue, Meeting, Milestone, Plan, Reminder, Task) are reserved and cannot be redefined or removed.
1709
- - `add-field <key>` registers a custom metadata field in `.agents/pm/schema/fields.json` (shape: `{ "fields": [RuntimeFieldDefinition...] }`). Each custom field dynamically registers a CLI flag on create/update (and any other commands you list) so projects can capture typed project-specific metadata without hand-editing JSON. It is an idempotent UPSERT keyed on the normalized key, and refuses keys that shadow a built-in field. It also refuses a field whose key, flag or alias equals a built-in option of a command it is registered for (`schema_field_option_collision`, exit 2): the parser keeps one option per name, so `pm schema add-field full --commands create,list` would make `pm list --full` read as a field filter. Names are compared as the option keys a value is read under, so punctuation counts as a word break (`token.budget` equals `--token-budget`). The refusal names each shadowed option per command and, when some requested commands are free, the narrower `--commands` list. `severity` is the one built-in a field may redefine. `pm profile apply` and `pm schema rename-field` (for the target name, dry run included) refuse the same way, `pm profile lint` reports `field_option_collision`, and `pm validate --check-metadata` reports fields already stored as `validate_schema_field_option_collision:<n>` with rows under `schema_field_option_collisions` ([pm-pta8um](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-pta8um.toon); repository-only tracker record excluded from npm). Each flag and alias must also be one option spelling: a long name without spaces, pipes, commas, `=` or brackets, or a short flag of one dash and one character. A spelling the parser would split (`--alias 'full|deep'` registers a second `--full`) or a malformed short flag (`-xy`) is refused with `schema_field_flag_invalid` (exit 2) by `add-field`, `profile apply` and `rename-field`; `pm profile lint` reports `field_flag_invalid`. A short spelling is compared with the command's own short flags (`-p` is `--priority` on create and update), and `-h`/`--help` are reserved on every command. `pm validate --check-metadata` reports stored spellings as `validate_schema_field_flag_invalid:<n>` with rows under `schema_field_flag_invalid` (a stored definition the registry drops entirely, such as an empty flag, is not reported yet: [pm-x9r2h3](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-x9r2h3.toon), repository tracker record excluded from npm), and the CLI skips such a spelling when it registers field options, so a stored definition can no longer stop a command from starting or take over help; an SDK caller checks one spelling with `describeFieldFlagSpellingDefect` from `@unbrained/pm-cli/sdk`, which returns the reason or `undefined` ([pm-8patuh](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-8patuh.toon); repository tracker record, excluded from npm). `list-fields` / `show-field <key>` inspect registered fields; `remove-field <key>` drops one and WARNS (non-blocking) with `items_using_field:<N>` when items still carry a value. See [CONFIGURATION.md](CONFIGURATION.md) for the full `schema/fields.json` format.
1709
+ - `add-field <key>` registers a custom metadata field in `.agents/pm/schema/fields.json` (shape: `{ "fields": [RuntimeFieldDefinition...] }`). Each custom field dynamically registers a CLI flag on create/update (and any other commands you list) so projects can capture typed project-specific metadata without hand-editing JSON. It is an idempotent UPSERT keyed on the normalized key, and refuses keys that shadow a built-in field. It also refuses a field whose key, flag or alias equals a built-in option of a command it is registered for (`schema_field_option_collision`, exit 2): the parser keeps one option per name, so `pm schema add-field full --commands create,list` would make `pm list --full` read as a field filter. Names are compared as the option keys a value is read under, so punctuation counts as a word break (`token.budget` equals `--token-budget`). The refusal names each shadowed option per command and, when some requested commands are free, the narrower `--commands` list. `severity` is the one built-in a field may redefine. `pm profile apply` and `pm schema rename-field` (for the target name, dry run included) refuse the same way, `pm profile lint` reports `field_option_collision`, and `pm validate --check-metadata` reports fields already stored as `validate_schema_field_option_collision:<n>` with rows under `schema_field_option_collisions` ([pm-pta8um](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-pta8um.toon); repository-only tracker record excluded from npm). Each flag and alias must also be one option spelling: a long name without spaces, pipes, commas, `=` or brackets, or a short flag of one dash and one character. A spelling the parser would split (`--alias 'full|deep'` registers a second `--full`) or a malformed short flag (`-xy`) is refused with `schema_field_flag_invalid` (exit 2) by `add-field`, `profile apply` and `rename-field`; `pm profile lint` reports `field_flag_invalid`. A supplied `--cli-flag` or `--alias` that normalizes to nothing (`--cli-flag ' '`) is refused the same way instead of being read as omitted. A short spelling is compared with the command's own short flags (`-p` is `--priority` on create and update), and `-h`/`--help` are reserved on every command as flags and aliases; a key `help` behind another flag (`--cli-flag help-topic`) is free, because the help option never delivers a parsed value ([pm-2nwcgg](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-2nwcgg.toon); repository tracker record, excluded from npm). `pm validate --check-metadata` reports stored spellings as `validate_schema_field_flag_invalid:<n>` with rows under `schema_field_flag_invalid`, and a stored definition the registry drops or reads only in part, such as an empty flag or a blank alias, as `validate_schema_field_definition_dropped:<n>` or `validate_schema_field_definition_partial:<n>` with rows under `schema_field_definition_losses` ([pm-x9r2h3](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-x9r2h3.toon), repository tracker record excluded from npm), and the CLI skips such a spelling when it registers field options, so a stored definition can no longer stop a command from starting or take over help; an SDK caller checks one spelling with `describeFieldFlagSpellingDefect` from `@unbrained/pm-cli/sdk`, which returns the reason or `undefined` ([pm-8patuh](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-8patuh.toon); repository tracker record, excluded from npm). `list-fields` / `show-field <key>` inspect registered fields; `remove-field <key>` drops one and WARNS (non-blocking) with `items_using_field:<N>` when items still carry a value. See [CONFIGURATION.md](CONFIGURATION.md) for the full `schema/fields.json` format.
1710
1710
  - `apply-preset <agile|ops|research>` batch-registers a domain type preset into an already-initialized project (the same vocabulary `pm init --type-preset` seeds); it is idempotent (re-running reports `replaced` entries) and shares its definitions with init.
1711
1711
  - `add-type --infer` scans existing item titles for stable `PREFIX-`/`PREFIX:` conventions and proposes them as custom types. It previews candidates by default (dry-run); pass `--apply` to register the non-shadowing candidates and `--min-count <n>` to tune the per-prefix threshold (default 10). Candidates whose name resolves to a built-in type are reported and skipped.
1712
1712
  - `rename-type`, `rename-field`, and `remap-status` are lossless migration verbs. The runtime derives a deterministic workspace-and-request-bound migration id for resumable retries; `--migration-id` remains an optional authoritative override for external orchestration. Start with `--dry-run --json` to inspect the derived id, fingerprint, affected count, and ordered per-item changes without persisting a plan. Execution stages the target definition, writes immutable history on every affected item and the workspace stream, then retires the source. A field rename refuses any item that already has the target key; `--type <Type>` optionally restricts a field rename.
@@ -862,6 +862,8 @@ Fields live in `.agents/pm/schema/fields.json` with the shape `{ "fields": [Runt
862
862
  - `description` — surfaced in `--help`.
863
863
  - `value_schema` — optional recursive JSON-value validation applied after CLI coercion and before create/update persistence. It supports `type`, `const`, `enum`, `min_length`, `min_items`, `format: "date-time"`, object `properties`/`required`/`additional_properties`, array `items`, and exact-one `one_of` variants. This lets project-defined fields enforce domain semantics without custom command code.
864
864
 
865
+ The registry skips a definition it cannot use instead of failing: one whose key or `cli_flag` normalizes to nothing, whose `value_schema` is invalid, or which is not an object, and one whose explicit `metadata_key` names nothing while its key is built-in item metadata (elsewhere such a key falls back to the field key). It also ignores a blank alias, an unknown `type` (read as `string`) or command, a `description` that is not a string, a `repeatable`, `required`, `required_on_create` or `allow_unset` value that is not a boolean, and a `value_schema` keyword it does not read (such as `minLength`; the supported spelling is `min_length`), which is then not enforced. `pm validate --check-metadata` names every such stored entry, in `schema/fields.json` or inline in `settings.json` (judged as settings validation admits it), with its position and reason (`validate_schema_field_definition_dropped:<n>` and `validate_schema_field_definition_partial:<n>`, rows under `schema_field_definition_losses`). A `null` or scalar entry in `schema/fields.json`, `schema/statuses.json` or `schema/types.json`, or a type entry without a string `name`, is skipped with a `runtime_schema_<section>_entry_invalid:<n>` warning that `pm health` reports (a skipped status keeps its position, which is the implicit order of the statuses after it); before, one such entry discarded every setting in favour of its default ([pm-x9r2h3](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-x9r2h3.toon); repository tracker record, excluded from npm).
866
+
865
867
  End-to-end example — add a required-on-create `component` string field on `Task` items:
866
868
 
867
869
  ```jsonc
@@ -306,7 +306,7 @@ Use the public SDK barrel. Do not deep-import from `src/core` or `dist/core`.
306
306
  - `api.extension` is a read-only identity (`name`, `layer`, `version`, `capabilities`, `pm_min_version?`, `pm_max_version?`, `source_package?`) for self-identifying logs and version gating without re-reading the manifest.
307
307
  - `api.registerCommand(definition)` adds package-owned commands; `read_output` opts readers into the [SDK output contract](SDK.md#minimal-command-extension).
308
308
  - `api.registerFlags(command, flags)` adds runtime command flags. A flag may declare `value_type` (canonical; the legacy `type` alias is honored only when `value_type` is absent), `list: true` to accumulate repeated/comma-joined values like core `--tags`, a `default` applied when the flag is omitted, and `value_validation: "strict"` to refuse malformed `number`/`boolean` tokens before the handler runs (the default `"coerce"` forwards the raw token). The handler reads each flag from `context.options` under its camel-case handler key (`--status-filter` → `statusFilter`), published as `sdk_option` by `pm contracts --command <command> --flags-only --json`; CLI, `PmClient.run`, MCP, and `runRegisteredCommandForTest` all deliver that key with the same defaults and coercion, and host flags such as `--json`, `--author`, and `--pm-path` arrive in `context.global` and are listed as `inherited_flags`. On the CLI, a command that declares flags refuses any other option with `unknown_option` before the handler runs (a command that declares none still receives undeclared options for now, see pm-4of199 in the SDK guide), and two spellings of one flag with different values (`--status-filter open -s closed`) are refused with `extension_option_spelling_conflict`, so declare every option a handler reads. See [Handler keys and ownership](SDK.md#handler-keys-and-ownership).
309
- - `api.registerItemFields(fields)` adds custom metadata fields. Agents can set declared fields with repeatable `pm create --field name=value` and `pm update <id> --field name=value`; undeclared names are rejected. Extension declarations are matched first; a name that no active extension declares but the project schema does (for example `gate_evidence`) is refused with `project_schema_field_requires_declared_flag`, which names a CLI flag and an SDK option that each set only that field (each is omitted when every spelling is shared with another declared field or with an option of the command itself) and, on the CLI, an executable `suggested_retry_args` that rewrites only that assignment. The guidance follows the invoking scope (a bulk `update-many` row is routed under `update_many`, not `update`), and when the same invocation already sets that field through a declared flag, alias or option, no route or retry is offered, because the retry would carry two values for one field ([pm-wftvem](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-wftvem.toon); tracker record excluded from npm); reserved core keys keep `core_item_field_requires_dedicated_flag`. `SchemaFieldDefinition.type` is the same closed union used by `pm schema add-field`: `string | number | boolean | string_array | array | object`. Unsupported values fail at compile time for TypeScript authors and at activation for JavaScript packages, with a did-you-mean hint on typos. `string_array` is the repeatable string collection; `array` and `object` require JSON containers. Active fields support `get`, `list` and `search` projections with `--fields name` or `--fields item.name`, preserving declared value types through `PmClient` and CLI reads. Disabled packages do not contribute selectors. Tracked by [pm-gh1571](../.agents/pm/issues/pm-gh1571.toon). Item fields an extension registers are set through the repeatable `--field name=value` assignment, not through a per-field option, so a name such as `full` or `limit` leaves `pm list --full`, `pm list --limit` and `pm search --full` working as before; the built-in option collision check that `pm schema add-field` applies does not apply to them. Such a name still meets the projection-mode vocabulary of `--output-include` (`full` there selects the full projection), so select it with `--fields <name>` ([pm-3s4jwl](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-3s4jwl.toon); tracker record excluded from npm).
309
+ - `api.registerItemFields(fields)` adds custom metadata fields. Agents can set declared fields with repeatable `pm create --field name=value` and `pm update <id> --field name=value`; undeclared names are rejected. Extension declarations are matched first; a name that no active extension declares but the project schema does (for example `gate_evidence`) is refused with `project_schema_field_requires_declared_flag`, which names a CLI flag and an SDK option that each set only that field (each is omitted when every spelling is shared with another declared field or with an option of the command itself) and, on the CLI, an executable `suggested_retry_args` that rewrites only that assignment. The guidance follows the invoking scope (a bulk `update-many` row is routed under `update_many`, not `update`), and when the same invocation already sets that field through a declared flag, alias or option, no route or retry is offered, because the retry would carry two values for one field ([pm-wftvem](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-wftvem.toon); tracker record excluded from npm); reserved core keys keep `core_item_field_requires_dedicated_flag`. `SchemaFieldDefinition.type` is the same closed union used by `pm schema add-field`: `string | number | boolean | string_array | array | object`. Unsupported values fail at compile time for TypeScript authors and at activation for JavaScript packages, with a did-you-mean hint on typos. `string_array` is the repeatable string collection; `array` and `object` require JSON containers. Active fields support `get`, `list` and `search` projections with `--fields name` or `--fields item.name`, preserving declared value types through `PmClient` and CLI reads. Disabled packages do not contribute selectors. Tracked by [pm-gh1571](../.agents/pm/issues/pm-gh1571.toon). Item fields an extension registers are set through the repeatable `--field name=value` assignment, not through a per-field option, so a name such as `full` or `limit` leaves `pm list --full`, `pm list --limit` and `pm search --full` working as before; the built-in option collision check that `pm schema add-field` applies does not apply to them. Such a name still meets the projection-mode vocabulary of `--output-include` (`full` there selects the full projection), so select it with `--fields <name>` ([pm-3s4jwl](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-3s4jwl.toon); tracker record excluded from npm). A field named after built-in item metadata (`priority`, `status` and the other reserved keys in `RESERVED_ITEM_FIELD_NAMES`) is dropped at activation with the warning `extension_item_field_reserved:<layer>:<package>:<field>:rename=<prefix>_<field>`, which `pm package doctor` and `pm health` report; the package's other fields and every `pm create` and `pm update` keep working. Before, one such field made every create and update exit 2 with an untyped `command_failed` ([pm-dhlij3](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-dhlij3.toon); tracker record excluded from npm).
310
310
  - Custom fields whose camel-case option name is already owned by a canonical MCP input remain usable through `options.<name>`, but authoring surfaces report the collision instead of allowing silent top-level shadowing. `pm schema add-field`, `pm profile lint`, and `pm package doctor` name the field, canonical `mcp_tool_input` owner, and nested recovery path. SDK authors can preflight the same rule with `resolvePmToolCustomFieldCollision`. A separate, stricter rule covers CLI options: a field whose key, flag or alias equals a built-in option of a command it is registered for is refused by `pm schema add-field` and `pm profile apply` with `schema_field_option_collision`, because the built-in option would stop working there; give profile fields a project-specific prefix or list only commands where the name is free.
311
311
  - `api.registerItemTypes(types)` adds custom item types.
312
312
  - `api.registerRelationshipKinds(definitions)` adds validated graph semantics. Definitions declare direction, inverse spelling, ordering/precedence, hierarchy, cardinality, lifecycle, aliases, payload schema, compatibility version, and self-edge policy. Active definitions govern CLI, MCP, and SDK dependency mutation admission as well as workspace graph assembly; mutation aliases are stored canonically. Requires the `schema` capability and is governed by the `schema.relationshipkinds` policy surface. See [relationship mutation admission](RELATIONSHIP_GRAPH.md#contract), tracked by [pm-7dsolo](../.agents/pm/issues/pm-7dsolo.toon).
@@ -76,9 +76,18 @@ a flag or alias the parser would split is refused with
76
76
  `schema_field_flag_invalid`, and an option that shadows a built-in option of a
77
77
  command the field is registered for with `schema_field_option_collision`. A
78
78
  definition left exactly as stored is not judged again, so an unrelated write
79
- keeps a legacy definition, which `pm validate --check-metadata` keeps reporting
80
- unless the registry drops it entirely (pm-x9r2h3 tracks reporting those)
81
- ([pm-3s4jwl](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-3s4jwl.toon);
79
+ keeps a legacy definition, which `pm validate --check-metadata` keeps reporting,
80
+ including one the registry drops entirely
81
+ ([pm-3s4jwl](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-3s4jwl.toon),
82
+ [pm-x9r2h3](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-x9r2h3.toon);
83
+ tracker records excluded from npm). The registry reads the last definition of
84
+ each key, the fields file after the inline list, so a stored copy that a
85
+ proposal makes effective, such as an earlier duplicate exposed by removing the
86
+ later one, is judged as a change, as the registry resolves it. A spelling the
87
+ registry drops (a blank alias) cannot shadow an option, so on a stored entry it
88
+ stays a `pm validate --check-metadata` report; only a newly supplied one is
89
+ refused
90
+ ([pm-2nwcgg](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-2nwcgg.toon);
82
91
  tracker record excluded from npm).
83
92
 
84
93
  Request `includePreview: true` to receive an optional `preview` settings tree
package/marketplace.json CHANGED
@@ -1 +1 @@
1
- {"name":"pm","owner":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"description":"Official marketplace for pm CLI — native git-based project management for Claude Code and AI coding agents.","version":"2026.11.27","plugins":[{"name":"pm-claude","source":"./plugins/pm-claude","description":"Native pm CLI integration for Claude Code — 32 MCP tools, 14 workflow skills with slash invocations, 4 subagents, hybrid TUI task tracking, session context injection, and coordination subagents for git-based project management without leaving Claude Code.","version":"2026.11.27","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","project-management","mcp","tasks","agents","workflows","git-native","task-tracker","ai"],"category":"productivity"}]}
1
+ {"name":"pm","owner":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"description":"Official marketplace for pm CLI — native git-based project management for Claude Code and AI coding agents.","version":"2026.11.28","plugins":[{"name":"pm-claude","source":"./plugins/pm-claude","description":"Native pm CLI integration for Claude Code — 32 MCP tools, 14 workflow skills with slash invocations, 4 subagents, hybrid TUI task tracking, session context injection, and coordination subagents for git-based project management without leaving Claude Code.","version":"2026.11.28","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","project-management","mcp","tasks","agents","workflows","git-native","task-tracker","ai"],"category":"productivity"}]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbrained/pm-cli",
3
- "version": "2026.11.27",
3
+ "version": "2026.11.28",
4
4
  "description": "Git-native project management CLI for humans and agents.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.28.5",
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-beads","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for importing Beads JSONL records.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-beads#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-beads"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","beads"],"pm":{"aliases":["beads"],"extensions":["extensions/beads"],"catalog":{"display_name":"Beads Import","category":"migration","summary":"Import Beads JSONL records into pm while preserving source IDs.","tags":["migration","beads","import"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-beads#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-beads","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-beads","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for importing Beads JSONL records.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-beads#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-beads"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","beads"],"pm":{"aliases":["beads"],"extensions":["extensions/beads"],"catalog":{"display_name":"Beads Import","category":"migration","summary":"Import Beads JSONL records into pm while preserving source IDs.","tags":["migration","beads","import"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-beads#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-beads","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-calendar","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for calendar and agenda views.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-calendar#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-calendar"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","calendar","agenda"],"pm":{"aliases":["calendar"],"extensions":["extensions/calendar"],"catalog":{"display_name":"Calendar Views","category":"workflow","summary":"Show agenda, day, week, and month views for deadlines, reminders, and scheduled events.","tags":["calendar","agenda","workflow"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-calendar#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-calendar","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-calendar","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for calendar and agenda views.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-calendar#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-calendar"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","calendar","agenda"],"pm":{"aliases":["calendar"],"extensions":["extensions/calendar"],"catalog":{"display_name":"Calendar Views","category":"workflow","summary":"Show agenda, day, week, and month views for deadlines, reminders, and scheduled events.","tags":["calendar","agenda","workflow"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-calendar#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-calendar","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-command-kit","version":"2026.11.27","private":true,"type":"module","description":"First-party pm exemplar package for the commands capability: registerCommand, registerFlags, and registerParser.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-command-kit#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-command-kit"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","sdk","commands","exemplar"],"pm":{"aliases":["command-kit"],"extensions":["extensions/command-kit"],"catalog":{"display_name":"Command Kit Exemplar","category":"sdk","summary":"Copy-paste-able exemplar for registerCommand, registerFlags, and registerParser.","tags":["sdk","commands","parser","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-command-kit#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-command-kit","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-command-kit","version":"2026.11.28","private":true,"type":"module","description":"First-party pm exemplar package for the commands capability: registerCommand, registerFlags, and registerParser.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-command-kit#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-command-kit"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","sdk","commands","exemplar"],"pm":{"aliases":["command-kit"],"extensions":["extensions/command-kit"],"catalog":{"display_name":"Command Kit Exemplar","category":"sdk","summary":"Copy-paste-able exemplar for registerCommand, registerFlags, and registerParser.","tags":["sdk","commands","parser","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-command-kit#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-command-kit","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-digital-twin","version":"2026.11.27","private":true,"type":"module","description":"Beyond-PM exemplar: a temporal production-facility digital twin built entirely on public pm SDK and extension primitives.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-digital-twin"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","sdk","digital-twin","event-sourcing","temporal-graph","exemplar"],"pm":{"aliases":["digital-twin","twin"],"extensions":["extensions/digital-twin"],"catalog":{"display_name":"Digital Twin SDK Exemplar","category":"sdk","summary":"Temporal facility graph proving event replay, point-in-time state, invariants, federation, checkpoints, and compact exports through public SDK contracts.","tags":["sdk","digital-twin","event-sourcing","graph","offline-first","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin","report":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin/GAP_REPORT.md"}},"docs":["README.md","GAP_REPORT.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-digital-twin","version":"2026.11.28","private":true,"type":"module","description":"Beyond-PM exemplar: a temporal production-facility digital twin built entirely on public pm SDK and extension primitives.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-digital-twin"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","sdk","digital-twin","event-sourcing","temporal-graph","exemplar"],"pm":{"aliases":["digital-twin","twin"],"extensions":["extensions/digital-twin"],"catalog":{"display_name":"Digital Twin SDK Exemplar","category":"sdk","summary":"Temporal facility graph proving event replay, point-in-time state, invariants, federation, checkpoints, and compact exports through public SDK contracts.","tags":["sdk","digital-twin","event-sourcing","graph","offline-first","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin","report":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-digital-twin/GAP_REPORT.md"}},"docs":["README.md","GAP_REPORT.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-governance-audit","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for governance audit and normalization workflows.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-governance-audit#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-governance-audit"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","governance","audit","normalize","hooks"],"pm":{"aliases":["governance-audit","audit"],"extensions":["extensions/governance-audit"],"catalog":{"display_name":"Governance Audit","category":"governance","summary":"Run dedupe audits, comments audits, and normalize sweeps as package-owned workflows.","tags":["governance","audit","normalize","hooks"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-governance-audit#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-governance-audit","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-governance-audit","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for governance audit and normalization workflows.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-governance-audit#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-governance-audit"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","governance","audit","normalize","hooks"],"pm":{"aliases":["governance-audit","audit"],"extensions":["extensions/governance-audit"],"catalog":{"display_name":"Governance Audit","category":"governance","summary":"Run dedupe audits, comments audits, and normalize sweeps as package-owned workflows.","tags":["governance","audit","normalize","hooks"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-governance-audit#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-governance-audit","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-guide-shell","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for guide and shell completion workflows.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-guide-shell#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-guide-shell"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","guide","completion","shell"],"pm":{"aliases":["guide-shell"],"extensions":["extensions/guide-shell"],"catalog":{"display_name":"Guide + Shell UX","category":"workflow","summary":"Restore guide documentation and shell completion commands as package-owned UX surfaces.","tags":["guide","completion","shell"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-guide-shell#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-guide-shell","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-guide-shell","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for guide and shell completion workflows.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-guide-shell#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-guide-shell"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","guide","completion","shell"],"pm":{"aliases":["guide-shell"],"extensions":["extensions/guide-shell"],"catalog":{"display_name":"Guide + Shell UX","category":"workflow","summary":"Restore guide documentation and shell completion commands as package-owned UX surfaces.","tags":["guide","completion","shell"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-guide-shell#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-guide-shell","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-kanban","version":"2026.11.27","private":true,"type":"module","description":"First-party pm archetype package: a complete Kanban continuous-flow profile built on public SDK primitives.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-kanban#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-kanban"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","sdk","profile","archetype","kanban","exemplar"],"pm":{"aliases":["kanban"],"extensions":["extensions/kanban"],"catalog":{"display_name":"Kanban Archetype","category":"sdk","summary":"Installable Kanban continuous-flow archetype: Card item type, flow fields, and a ProjectProfileDefinition built on public SDK primitives.","tags":["sdk","profile","archetype","kanban","schema","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-kanban#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-kanban","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-kanban","version":"2026.11.28","private":true,"type":"module","description":"First-party pm archetype package: a complete Kanban continuous-flow profile built on public SDK primitives.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-kanban#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-kanban"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","sdk","profile","archetype","kanban","exemplar"],"pm":{"aliases":["kanban"],"extensions":["extensions/kanban"],"catalog":{"display_name":"Kanban Archetype","category":"sdk","summary":"Installable Kanban continuous-flow archetype: Card item type, flow fields, and a ProjectProfileDefinition built on public SDK primitives.","tags":["sdk","profile","archetype","kanban","schema","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-kanban#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-kanban","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-lifecycle-hooks","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package demonstrating safe lifecycle hook registration.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-lifecycle-hooks#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-lifecycle-hooks"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","hooks","lifecycle","sdk"],"pm":{"aliases":["lifecycle-hooks"],"extensions":["extensions/lifecycle-hooks"],"catalog":{"display_name":"Lifecycle Hooks","category":"sdk","summary":"Default-inert lifecycle hook exemplar for package authors.","tags":["hooks","lifecycle","sdk"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-lifecycle-hooks#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-lifecycle-hooks","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-lifecycle-hooks","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package demonstrating safe lifecycle hook registration.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-lifecycle-hooks#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-lifecycle-hooks"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","hooks","lifecycle","sdk"],"pm":{"aliases":["lifecycle-hooks"],"extensions":["extensions/lifecycle-hooks"],"catalog":{"display_name":"Lifecycle Hooks","category":"sdk","summary":"Default-inert lifecycle hook exemplar for package authors.","tags":["hooks","lifecycle","sdk"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-lifecycle-hooks#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-lifecycle-hooks","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-linked-test-adapters","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for optional linked-test run management adapters and reporters.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-linked-test-adapters#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-linked-test-adapters"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","linked-tests","background-runs","test-runs"],"pm":{"aliases":["linked-test-adapters"],"extensions":["extensions/linked-test-adapters"],"catalog":{"display_name":"Linked Test Adapters","category":"testing","summary":"Restore optional linked-test run management/reporting command surfaces.","tags":["tests","linked-tests","background","reporting"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-linked-test-adapters#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-linked-test-adapters","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-linked-test-adapters","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for optional linked-test run management adapters and reporters.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-linked-test-adapters#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-linked-test-adapters"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","linked-tests","background-runs","test-runs"],"pm":{"aliases":["linked-test-adapters"],"extensions":["extensions/linked-test-adapters"],"catalog":{"display_name":"Linked Test Adapters","category":"testing","summary":"Restore optional linked-test run management/reporting command surfaces.","tags":["tests","linked-tests","background","reporting"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-linked-test-adapters#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-linked-test-adapters","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-search-advanced","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for semantic, hybrid, and reindex search workflows.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-search-advanced#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-search-advanced"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","search","reindex","semantic","hybrid"],"pm":{"aliases":["search-advanced"],"extensions":["extensions/search-advanced"],"catalog":{"display_name":"Advanced Search","category":"search","summary":"Enable semantic/hybrid search modes and reindex workflows.","tags":["search","semantic","hybrid","reindex"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-search-advanced#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-search-advanced","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-search-advanced","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for semantic, hybrid, and reindex search workflows.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-search-advanced#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-search-advanced"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","search","reindex","semantic","hybrid"],"pm":{"aliases":["search-advanced"],"extensions":["extensions/search-advanced"],"catalog":{"display_name":"Advanced Search","category":"search","summary":"Enable semantic/hybrid search modes and reindex workflows.","tags":["search","semantic","hybrid","reindex"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-search-advanced#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-search-advanced","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-templates","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for reusable create templates.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-templates#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-templates"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","templates"],"pm":{"aliases":["templates"],"extensions":["extensions/templates"],"catalog":{"display_name":"Create Templates","category":"workflow","summary":"Save, list, show, and apply reusable pm create option templates.","tags":["templates","create","workflow"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-templates#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-templates","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-templates","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for reusable create templates.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-templates#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-templates"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","templates"],"pm":{"aliases":["templates"],"extensions":["extensions/templates"],"catalog":{"display_name":"Create Templates","category":"workflow","summary":"Save, list, show, and apply reusable pm create option templates.","tags":["templates","create","workflow"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-templates#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-templates","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-todos","version":"2026.11.27","private":true,"type":"module","description":"First-party pm package for Todo markdown import and export.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-todos#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-todos"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","todos"],"pm":{"aliases":["todos"],"extensions":["extensions/todos"],"catalog":{"display_name":"Todos Import/Export","category":"migration","summary":"Import and export Todo markdown tasks through pm package commands.","tags":["migration","todos","import","export"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-todos#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-todos","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-todos","version":"2026.11.28","private":true,"type":"module","description":"First-party pm package for Todo markdown import and export.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-todos#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-todos"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","project-management","todos"],"pm":{"aliases":["todos"],"extensions":["extensions/todos"],"catalog":{"display_name":"Todos Import/Export","category":"migration","summary":"Import and export Todo markdown tasks through pm package commands.","tags":["migration","todos","import","export"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-todos#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-todos","report":"https://github.com/unbraind/pm-cli/issues"}},"docs":["README.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-vcs-sdk-exemplar","version":"2026.11.27","private":true,"type":"module","description":"Beyond-PM exemplar: a VCS-style changeset workflow built entirely on public pm SDK and extension primitives.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-vcs"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","sdk","vcs","event-sourcing","exemplar"],"pm":{"aliases":["vcs-exemplar"],"extensions":["extensions/vcs"],"catalog":{"display_name":"VCS SDK Exemplar","category":"sdk","summary":"Non-PM changeset/ref workflow proving custom schema, domain commands, hooks, history replay, and typed relationship events through public SDK contracts.","tags":["sdk","vcs","event-sourcing","graph","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs","report":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs/GAP_REPORT.md"}},"docs":["README.md","GAP_REPORT.md"],"examples":["README.md"]}}
1
+ {"name":"@unbrained/pm-vcs-sdk-exemplar","version":"2026.11.28","private":true,"type":"module","description":"Beyond-PM exemplar: a VCS-style changeset workflow built entirely on public pm SDK and extension primitives.","homepage":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs#readme","repository":{"type":"git","url":"git+https://github.com/unbraind/pm-cli.git","directory":"packages/pm-vcs"},"bugs":{"url":"https://github.com/unbraind/pm-cli/issues"},"keywords":["pm-package","sdk","vcs","event-sourcing","exemplar"],"pm":{"aliases":["vcs-exemplar"],"extensions":["extensions/vcs"],"catalog":{"display_name":"VCS SDK Exemplar","category":"sdk","summary":"Non-PM changeset/ref workflow proving custom schema, domain commands, hooks, history replay, and typed relationship events through public SDK contracts.","tags":["sdk","vcs","event-sourcing","graph","exemplar"],"links":{"docs":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs#readme","repository":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs","report":"https://github.com/unbraind/pm-cli/tree/main/packages/pm-vcs/GAP_REPORT.md"}},"docs":["README.md","GAP_REPORT.md"],"examples":["README.md"]}}
@@ -1 +1 @@
1
- {"$schema":"https://json.schemastore.org/claude-code-plugin-manifest.json","name":"pm-claude","displayName":"pm CLI","description":"Native pm CLI integration for Claude Code — 32 MCP tools, 14 skills with slash invocations, 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.","version":"2026.11.27","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","project-management","mcp","tasks","agents","workflows","git-native","task-tracker","ai"]}
1
+ {"$schema":"https://json.schemastore.org/claude-code-plugin-manifest.json","name":"pm-claude","displayName":"pm CLI","description":"Native pm CLI integration for Claude Code — 32 MCP tools, 14 skills with slash invocations, 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.","version":"2026.11.28","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","project-management","mcp","tasks","agents","workflows","git-native","task-tracker","ai"]}
@@ -1 +1 @@
1
- {"name":"pm-claude-runtime","private":true,"type":"module","version":"2026.11.27","dependencies":{"@unbrained/pm-cli":"2026.11.27"}}
1
+ {"name":"pm-claude-runtime","private":true,"type":"module","version":"2026.11.28","dependencies":{"@unbrained/pm-cli":"2026.11.28"}}
@@ -1 +1 @@
1
- {"name":"pm-codex","version":"2026.11.27","description":"Native Codex integration for pm-cli with bundled MCP tools, skills, commands, and agent workflows.","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli/tree/main/plugins/pm-codex","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","codex","mcp","project-management","agents","tasks","workflows"],"skills":"./skills/","mcpServers":"./.mcp.json","interface":{"displayName":"pm CLI","shortDescription":"Native pm tracker tools and agent workflows","longDescription":"Use pm CLI from Codex through native MCP tools instead of shelling out to the pm command. The plugin bundles tracker operations, skills, command prompts, and subagent workflow guidance for planning, execution, validation, release, and audit work.","developerName":"unbrained","category":"Coding","capabilities":["Interactive","Read","Write"],"websiteURL":"https://github.com/unbraind/pm-cli","privacyPolicyURL":"https://github.com/unbraind/pm-cli/blob/main/SECURITY.md","termsOfServiceURL":"https://github.com/unbraind/pm-cli/blob/main/LICENSE","defaultPrompt":["Use pm CLI to orient, claim, track, verify, and close this repository task"],"composerIcon":"./assets/pm-cli-small.svg","logo":"./assets/pm-cli-small.svg","screenshots":[],"brandColor":"#2563EB"}}
1
+ {"name":"pm-codex","version":"2026.11.28","description":"Native Codex integration for pm-cli with bundled MCP tools, skills, commands, and agent workflows.","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli/tree/main/plugins/pm-codex","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","codex","mcp","project-management","agents","tasks","workflows"],"skills":"./skills/","mcpServers":"./.mcp.json","interface":{"displayName":"pm CLI","shortDescription":"Native pm tracker tools and agent workflows","longDescription":"Use pm CLI from Codex through native MCP tools instead of shelling out to the pm command. The plugin bundles tracker operations, skills, command prompts, and subagent workflow guidance for planning, execution, validation, release, and audit work.","developerName":"unbrained","category":"Coding","capabilities":["Interactive","Read","Write"],"websiteURL":"https://github.com/unbraind/pm-cli","privacyPolicyURL":"https://github.com/unbraind/pm-cli/blob/main/SECURITY.md","termsOfServiceURL":"https://github.com/unbraind/pm-cli/blob/main/LICENSE","defaultPrompt":["Use pm CLI to orient, claim, track, verify, and close this repository task"],"composerIcon":"./assets/pm-cli-small.svg","logo":"./assets/pm-cli-small.svg","screenshots":[],"brandColor":"#2563EB"}}
@@ -1 +1 @@
1
- {"name":"pm-codex-runtime","private":true,"type":"module","version":"2026.11.27","dependencies":{"@unbrained/pm-cli":"2026.11.27"}}
1
+ {"name":"pm-codex-runtime","private":true,"type":"module","version":"2026.11.28","dependencies":{"@unbrained/pm-cli":"2026.11.28"}}
@@ -1 +1 @@
1
- {"$schema":"https://agent-plugins.org/schemas/1.0.0/plugin.schema.json","name":"pm-codex","version":"2026.11.27","description":"Repository-native project context workflows and a version-pinned pm MCP server for Codex.","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli/tree/main/plugins/pm-codex","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","codex","mcp","project-management","agents"],"extensions":{"com.openai":{"interface":{"displayName":"pm CLI","shortDescription":"Track project context with pm","longDescription":"Orient, plan, implement, verify, and hand off work with repository-native pm records and a bundled MCP server.","developerName":"unbrained","category":"Coding","capabilities":["Interactive","Read","Write"],"websiteURL":"https://github.com/unbraind/pm-cli","privacyPolicyURL":"https://github.com/unbraind/pm-cli/blob/main/SECURITY.md","termsOfServiceURL":"https://github.com/unbraind/pm-cli/blob/main/LICENSE","defaultPrompt":["Use pm to orient, track, verify, and hand off this repository task."],"composerIcon":"./assets/pm-cli-small.svg","logo":"./assets/pm-cli-small.svg","brandColor":"#2563EB"}}}}
1
+ {"$schema":"https://agent-plugins.org/schemas/1.0.0/plugin.schema.json","name":"pm-codex","version":"2026.11.28","description":"Repository-native project context workflows and a version-pinned pm MCP server for Codex.","author":{"name":"unbrained","url":"https://github.com/unbraind/pm-cli"},"homepage":"https://github.com/unbraind/pm-cli/tree/main/plugins/pm-codex","repository":"https://github.com/unbraind/pm-cli","license":"MIT","keywords":["pm-cli","codex","mcp","project-management","agents"],"extensions":{"com.openai":{"interface":{"displayName":"pm CLI","shortDescription":"Track project context with pm","longDescription":"Orient, plan, implement, verify, and hand off work with repository-native pm records and a bundled MCP server.","developerName":"unbrained","category":"Coding","capabilities":["Interactive","Read","Write"],"websiteURL":"https://github.com/unbraind/pm-cli","privacyPolicyURL":"https://github.com/unbraind/pm-cli/blob/main/SECURITY.md","termsOfServiceURL":"https://github.com/unbraind/pm-cli/blob/main/LICENSE","defaultPrompt":["Use pm to orient, track, verify, and hand off this repository task."],"composerIcon":"./assets/pm-cli-small.svg","logo":"./assets/pm-cli-small.svg","brandColor":"#2563EB"}}}}
@@ -1 +1 @@
1
- {"name":"@unbrained/pm-cli","version":"2026.11.27","lockfileVersion":3,"requires":true,"packages":{"":{"name":"@unbrained/pm-cli","version":"2026.11.27","dependencies":{"@sentry/node":"10.78.0","@toon-format/toon":"^4.4.0","commander":"^15.1.0","fast-json-patch":"^3.1.1","npm-package-arg":"^13.0.2","semver":"7.8.6","tar":"7.5.23","yaml":"^2.9.1"},"peerDependencies":{"@types/node":"^22 || ^24 || ^26"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"bin":{"pm-cli":"dist/cli.js","pm":"dist/cli.js","pm-mcp":"dist/mcp/server.js","pm-mcp-http":"dist/mcp/http-server.js"},"engines":{"node":">=22.18.0"}},"node_modules/@isaacs/fs-minipass":{"version":"4.0.1","resolved":"https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz","integrity":"sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==","engines":{"node":">=18.0.0"},"dependencies":{"minipass":"7.1.3"}},"node_modules/@opentelemetry/api":{"version":"1.9.1","resolved":"https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.1.tgz","integrity":"sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==","engines":{"node":">=8.0.0"}},"node_modules/@opentelemetry/api-logs":{"version":"0.220.0","resolved":"https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz","integrity":"sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==","engines":{"node":">=8.0.0"},"dependencies":{"@opentelemetry/api":"1.9.1"}},"node_modules/@opentelemetry/core":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/core/-/core-2.12.1.tgz","integrity":"sha512-3hr6Pj0/G0oVgIGb97IVcw9BjZ6eudonKjrmQxw7JquyU/XmVbJelkmyoU0sT/OvHGkv+r1tcrwv8MbSX7aKHw==","peerDependencies":{"@opentelemetry/api":">=1.0.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/instrumentation":{"version":"0.220.0","resolved":"https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz","integrity":"sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==","peerDependencies":{"@opentelemetry/api":"^1.3.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/api-logs":"0.220.0","import-in-the-middle":"3.6.0","require-in-the-middle":"8.0.1"}},"node_modules/@opentelemetry/resources":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/resources/-/resources-2.12.1.tgz","integrity":"sha512-IwrNcuLCvnJAnNLkXxx0Uw+rjBkVW6VGQrhd7PanNf0LavOzkTk9sDAjdqegM7p/VdxefNRrii6d+wBRJfz35g==","peerDependencies":{"@opentelemetry/api":">=1.3.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/sdk-trace":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/sdk-trace/-/sdk-trace-2.12.1.tgz","integrity":"sha512-vANdmCYnn+Ka/alBKxwICMl4Koa+aQBlRC9zAZy+Ig1Obbo3RZt2oiyv+8/gET5rrBBYrO3YniPcXfwZrN01rg==","peerDependencies":{"@opentelemetry/api":">=1.3.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/resources":"2.12.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/sdk-trace-base":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.12.1.tgz","integrity":"sha512-CMrcqFxTikYmYQCuHToBO4kQvWIseRk2ztzWidTd7VutIxj1rljvJZCZnFPJEGNOS7FvaSmRL21Jeuu3/wrCAQ==","peerDependencies":{"@opentelemetry/api":">=1.3.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/resources":"2.12.1","@opentelemetry/sdk-trace":"2.12.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/semantic-conventions":{"version":"1.45.0","resolved":"https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.45.0.tgz","integrity":"sha512-aOP45mbcOKbQVvFWfQmgoOPT8R2iwbbbgl83k4CujGV9BrJhFr3qG55MFpwFs4YLabpuW3HhzUY9eQxPlDqaZw==","engines":{"node":">=14"}},"node_modules/@sentry/conventions":{"version":"0.16.0","resolved":"https://registry.npmjs.org/@sentry/conventions/-/conventions-0.16.0.tgz","integrity":"sha512-fO9PLmHdVURcSPUpWCItWAtgKiMwGdJHbovoSEyLplX5sxs2ugvI4CBPTrkkgqhObnZOD0CnWBKDzSVQYBKEyQ==","engines":{"node":">=14"}},"node_modules/@sentry/core":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/core/-/core-10.78.0.tgz","integrity":"sha512-MMR4ME+agrjbvQ0DtTYJJypm+QlCoz9UJgWN8gjcXqlyDjYk69LwPjnaocYN1JyQMy2dx5Hk4S/Rt12gTQ5cGw==","engines":{"node":">=18"},"dependencies":{"@sentry/conventions":"0.16.0"}},"node_modules/@sentry/node":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/node/-/node-10.78.0.tgz","integrity":"sha512-AE6nyehiCK6zcktrqzzBby5OCBqIL2ZwOyOLqoenczI7ufumfmcOMSpD0IVqjeIC/Kf0N0ymujqGPzqXgu9KrA==","engines":{"node":">=18"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/instrumentation":"0.220.0","@opentelemetry/sdk-trace-base":"2.12.1","@sentry/conventions":"0.16.0","@sentry/core":"10.78.0","@sentry/node-core":"10.78.0","@sentry/opentelemetry":"10.78.0","@sentry/server-utils":"10.78.0","import-in-the-middle":"3.6.0"}},"node_modules/@sentry/node-core":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/node-core/-/node-core-10.78.0.tgz","integrity":"sha512-HJ3k7xINBiiTzc/QaIRHdt5ugctVYtcZnjruTxFa2tXFJSJYhVtgCE+DzLSkHXbVAlVS/rilAMGcO9GUiIqWTQ==","peerDependencies":{"@opentelemetry/api":">=1.9.0 <1.10.0","@opentelemetry/core":">=2.8.0 <3.0.0","@opentelemetry/exporter-trace-otlp-http":">=0.57.0 <0.300.0","@opentelemetry/instrumentation":">=0.57.1 <0.300.0","@opentelemetry/sdk-trace-base":"^1.30.1 || ^2.1.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true},"@opentelemetry/core":{"optional":true},"@opentelemetry/exporter-trace-otlp-http":{"optional":true},"@opentelemetry/instrumentation":{"optional":true},"@opentelemetry/sdk-trace-base":{"optional":true}},"engines":{"node":">=18"},"dependencies":{"@sentry/conventions":"0.16.0","@sentry/core":"10.78.0","@sentry/opentelemetry":"10.78.0","import-in-the-middle":"3.6.0"},"optionalDependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/instrumentation":"0.220.0","@opentelemetry/sdk-trace-base":"2.12.1"}},"node_modules/@sentry/opentelemetry":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-10.78.0.tgz","integrity":"sha512-s47uqNaHres6ijiMsaoI6/DRev80vUqTqRMk0u/DfF9xAJttK7gOGqZBESr0YD2BXA21O+sUPsPeWuHlYHiScA==","peerDependencies":{"@opentelemetry/api":">=1.9.0 <1.10.0","@opentelemetry/core":">=2.8.0 <3.0.0","@opentelemetry/sdk-trace-base":"^1.30.1 || ^2.1.0"},"engines":{"node":">=18"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/sdk-trace-base":"2.12.1","@sentry/conventions":"0.16.0","@sentry/core":"10.78.0"}},"node_modules/@sentry/server-utils":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/server-utils/-/server-utils-10.78.0.tgz","integrity":"sha512-MssOiA9SansFX4E51cloHZEy4bYSZyszFNWUWeIGgQiYyTN84PbPJmyLuboj26G/ycSBW2pUERPbcfjxcs7BrA==","engines":{"node":">=18"},"dependencies":{"@sentry/conventions":"0.16.0","@sentry/core":"10.78.0"}},"node_modules/@toon-format/toon":{"version":"4.4.0","resolved":"https://registry.npmjs.org/@toon-format/toon/-/toon-4.4.0.tgz","integrity":"sha512-A6UcsVoWbNdhdLNhJbe6JpRlocmf/DZGG57fur3bd8oQtsjBaKWo2hHbOU2zTuy+byUmLIOyP1xJeitopCZzpQ=="},"node_modules/chownr":{"version":"3.0.0","resolved":"https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz","integrity":"sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==","engines":{"node":">=18"}},"node_modules/cjs-module-lexer":{"version":"2.3.0","resolved":"https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.3.0.tgz","integrity":"sha512-lmNyBzi6iYiqyrExTctfmjd8tInx+dHu9PBomTfH5RXS53c27JMFJgzNv5TyAnm3PgGf+MLy0+Ws41/HlVxdKQ=="},"node_modules/commander":{"version":"15.1.0","resolved":"https://registry.npmjs.org/commander/-/commander-15.1.0.tgz","integrity":"sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==","engines":{"node":">=22.12.0"}},"node_modules/debug":{"version":"4.4.3","resolved":"https://registry.npmjs.org/debug/-/debug-4.4.3.tgz","integrity":"sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==","peerDependencies":{"supports-color":"*"},"peerDependenciesMeta":{"supports-color":{"optional":true}},"engines":{"node":">=6.0"},"dependencies":{"ms":"2.1.3"},"optionalDependencies":{"supports-color":"8.1.1"}},"node_modules/es-module-lexer":{"version":"3.0.4","resolved":"https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-3.0.4.tgz","integrity":"sha512-BldNY5mwkVu+cQ5Ymn3e6hB9Sx8XHx4ZevWbiUyZbfKxJxYO27Hf0wfzkxIaD5CAJMaGl3YspKELj0ff/7nCMA=="},"node_modules/fast-json-patch":{"version":"3.1.1","resolved":"https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz","integrity":"sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ=="},"node_modules/has-flag":{"version":"4.0.0","resolved":"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz","integrity":"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==","engines":{"node":">=8"},"optional":true},"node_modules/hosted-git-info":{"version":"9.0.3","resolved":"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.3.tgz","integrity":"sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg==","engines":{"node":"^20.17.0 || >=22.9.0"},"dependencies":{"lru-cache":"11.5.2"}},"node_modules/import-in-the-middle":{"version":"3.6.0","resolved":"https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-3.6.0.tgz","integrity":"sha512-xRU7hI24S2FhucXtuZXn8EpcOjfVP6iiEQyR0USayPeaOroEmSsNlqnl95866iRdRtkHrd6Q/Z4D14R60au0+A==","engines":{"node":">=18"},"dependencies":{"cjs-module-lexer":"2.3.0","es-module-lexer":"3.0.4","module-details-from-path":"1.0.4"}},"node_modules/lru-cache":{"version":"11.5.2","resolved":"https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz","integrity":"sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==","engines":{"node":"20 || >=22"}},"node_modules/minipass":{"version":"7.1.3","resolved":"https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz","integrity":"sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==","engines":{"node":">=16 || 14 >=14.17"}},"node_modules/minizlib":{"version":"3.1.0","resolved":"https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz","integrity":"sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==","engines":{"node":">= 18"},"dependencies":{"minipass":"7.1.3"}},"node_modules/module-details-from-path":{"version":"1.0.4","resolved":"https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.4.tgz","integrity":"sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w=="},"node_modules/ms":{"version":"2.1.3","resolved":"https://registry.npmjs.org/ms/-/ms-2.1.3.tgz","integrity":"sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="},"node_modules/npm-package-arg":{"version":"13.0.2","resolved":"https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-13.0.2.tgz","integrity":"sha512-IciCE3SY3uE84Ld8WZU23gAPPV9rIYod4F+rc+vJ7h7cwAJt9Vk6TVsK60ry7Uj3SRS3bqRRIGuTp9YVlk6WNA==","engines":{"node":"^20.17.0 || >=22.9.0"},"dependencies":{"hosted-git-info":"9.0.3","proc-log":"6.1.0","semver":"7.8.6","validate-npm-package-name":"7.0.2"}},"node_modules/proc-log":{"version":"6.1.0","resolved":"https://registry.npmjs.org/proc-log/-/proc-log-6.1.0.tgz","integrity":"sha512-iG+GYldRf2BQ0UDUAd6JQ/RwzaQy6mXmsk/IzlYyal4A4SNFw54MeH4/tLkF4I5WoWG9SQwuqWzS99jaFQHBuQ==","engines":{"node":"^20.17.0 || >=22.9.0"}},"node_modules/require-in-the-middle":{"version":"8.0.1","resolved":"https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-8.0.1.tgz","integrity":"sha512-QT7FVMXfWOYFbeRBF6nu+I6tr2Tf3u0q8RIEjNob/heKY/nh7drD/k7eeMFmSQgnTtCzLDcCu/XEnpW2wk4xCQ==","engines":{"node":">=9.3.0 || >=8.10.0 <9.0.0"},"dependencies":{"debug":"4.4.3","module-details-from-path":"1.0.4"}},"node_modules/semver":{"version":"7.8.6","resolved":"https://registry.npmjs.org/semver/-/semver-7.8.6.tgz","integrity":"sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==","engines":{"node":">=10"},"hasBin":true},"node_modules/supports-color":{"version":"8.1.1","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz","integrity":"sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==","engines":{"node":">=10"},"dependencies":{"has-flag":"4.0.0"},"optional":true},"node_modules/tar":{"version":"7.5.23","resolved":"https://registry.npmjs.org/tar/-/tar-7.5.23.tgz","integrity":"sha512-lkukzdoGngZHJZXxW4S/E4Fp9ghTDlyZXrQGRNoJ/LXvDKcXUTq2sg5yQe74po7Voea6n/IN09+wE/QvJMiifA==","engines":{"node":">=18"},"dependencies":{"@isaacs/fs-minipass":"4.0.1","chownr":"3.0.0","minipass":"7.1.3","minizlib":"3.1.0","yallist":"5.0.0"}},"node_modules/validate-npm-package-name":{"version":"7.0.2","resolved":"https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz","integrity":"sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==","engines":{"node":"^20.17.0 || >=22.9.0"}},"node_modules/yallist":{"version":"5.0.0","resolved":"https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz","integrity":"sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==","engines":{"node":">=18"}},"node_modules/yaml":{"version":"2.9.1","resolved":"https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz","integrity":"sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==","engines":{"node":">= 14.6"},"hasBin":true}}}
1
+ {"name":"@unbrained/pm-cli","version":"2026.11.28","lockfileVersion":3,"requires":true,"packages":{"":{"name":"@unbrained/pm-cli","version":"2026.11.28","dependencies":{"@sentry/node":"10.78.0","@toon-format/toon":"^4.4.0","commander":"^15.1.0","fast-json-patch":"^3.1.1","npm-package-arg":"^13.0.2","semver":"7.8.6","tar":"7.5.23","yaml":"^2.9.1"},"peerDependencies":{"@types/node":"^22 || ^24 || ^26"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"bin":{"pm-cli":"dist/cli.js","pm":"dist/cli.js","pm-mcp":"dist/mcp/server.js","pm-mcp-http":"dist/mcp/http-server.js"},"engines":{"node":">=22.18.0"}},"node_modules/@isaacs/fs-minipass":{"version":"4.0.1","resolved":"https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz","integrity":"sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==","engines":{"node":">=18.0.0"},"dependencies":{"minipass":"7.1.3"}},"node_modules/@opentelemetry/api":{"version":"1.9.1","resolved":"https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.1.tgz","integrity":"sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==","engines":{"node":">=8.0.0"}},"node_modules/@opentelemetry/api-logs":{"version":"0.220.0","resolved":"https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz","integrity":"sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==","engines":{"node":">=8.0.0"},"dependencies":{"@opentelemetry/api":"1.9.1"}},"node_modules/@opentelemetry/core":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/core/-/core-2.12.1.tgz","integrity":"sha512-3hr6Pj0/G0oVgIGb97IVcw9BjZ6eudonKjrmQxw7JquyU/XmVbJelkmyoU0sT/OvHGkv+r1tcrwv8MbSX7aKHw==","peerDependencies":{"@opentelemetry/api":">=1.0.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/instrumentation":{"version":"0.220.0","resolved":"https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz","integrity":"sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==","peerDependencies":{"@opentelemetry/api":"^1.3.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/api-logs":"0.220.0","import-in-the-middle":"3.6.0","require-in-the-middle":"8.0.1"}},"node_modules/@opentelemetry/resources":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/resources/-/resources-2.12.1.tgz","integrity":"sha512-IwrNcuLCvnJAnNLkXxx0Uw+rjBkVW6VGQrhd7PanNf0LavOzkTk9sDAjdqegM7p/VdxefNRrii6d+wBRJfz35g==","peerDependencies":{"@opentelemetry/api":">=1.3.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/sdk-trace":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/sdk-trace/-/sdk-trace-2.12.1.tgz","integrity":"sha512-vANdmCYnn+Ka/alBKxwICMl4Koa+aQBlRC9zAZy+Ig1Obbo3RZt2oiyv+8/gET5rrBBYrO3YniPcXfwZrN01rg==","peerDependencies":{"@opentelemetry/api":">=1.3.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/resources":"2.12.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/sdk-trace-base":{"version":"2.12.1","resolved":"https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.12.1.tgz","integrity":"sha512-CMrcqFxTikYmYQCuHToBO4kQvWIseRk2ztzWidTd7VutIxj1rljvJZCZnFPJEGNOS7FvaSmRL21Jeuu3/wrCAQ==","peerDependencies":{"@opentelemetry/api":">=1.3.0 <1.10.0"},"engines":{"node":"^18.19.0 || >=20.6.0"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/resources":"2.12.1","@opentelemetry/sdk-trace":"2.12.1","@opentelemetry/semantic-conventions":"1.45.0"}},"node_modules/@opentelemetry/semantic-conventions":{"version":"1.45.0","resolved":"https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.45.0.tgz","integrity":"sha512-aOP45mbcOKbQVvFWfQmgoOPT8R2iwbbbgl83k4CujGV9BrJhFr3qG55MFpwFs4YLabpuW3HhzUY9eQxPlDqaZw==","engines":{"node":">=14"}},"node_modules/@sentry/conventions":{"version":"0.16.0","resolved":"https://registry.npmjs.org/@sentry/conventions/-/conventions-0.16.0.tgz","integrity":"sha512-fO9PLmHdVURcSPUpWCItWAtgKiMwGdJHbovoSEyLplX5sxs2ugvI4CBPTrkkgqhObnZOD0CnWBKDzSVQYBKEyQ==","engines":{"node":">=14"}},"node_modules/@sentry/core":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/core/-/core-10.78.0.tgz","integrity":"sha512-MMR4ME+agrjbvQ0DtTYJJypm+QlCoz9UJgWN8gjcXqlyDjYk69LwPjnaocYN1JyQMy2dx5Hk4S/Rt12gTQ5cGw==","engines":{"node":">=18"},"dependencies":{"@sentry/conventions":"0.16.0"}},"node_modules/@sentry/node":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/node/-/node-10.78.0.tgz","integrity":"sha512-AE6nyehiCK6zcktrqzzBby5OCBqIL2ZwOyOLqoenczI7ufumfmcOMSpD0IVqjeIC/Kf0N0ymujqGPzqXgu9KrA==","engines":{"node":">=18"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/instrumentation":"0.220.0","@opentelemetry/sdk-trace-base":"2.12.1","@sentry/conventions":"0.16.0","@sentry/core":"10.78.0","@sentry/node-core":"10.78.0","@sentry/opentelemetry":"10.78.0","@sentry/server-utils":"10.78.0","import-in-the-middle":"3.6.0"}},"node_modules/@sentry/node-core":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/node-core/-/node-core-10.78.0.tgz","integrity":"sha512-HJ3k7xINBiiTzc/QaIRHdt5ugctVYtcZnjruTxFa2tXFJSJYhVtgCE+DzLSkHXbVAlVS/rilAMGcO9GUiIqWTQ==","peerDependencies":{"@opentelemetry/api":">=1.9.0 <1.10.0","@opentelemetry/core":">=2.8.0 <3.0.0","@opentelemetry/exporter-trace-otlp-http":">=0.57.0 <0.300.0","@opentelemetry/instrumentation":">=0.57.1 <0.300.0","@opentelemetry/sdk-trace-base":"^1.30.1 || ^2.1.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true},"@opentelemetry/core":{"optional":true},"@opentelemetry/exporter-trace-otlp-http":{"optional":true},"@opentelemetry/instrumentation":{"optional":true},"@opentelemetry/sdk-trace-base":{"optional":true}},"engines":{"node":">=18"},"dependencies":{"@sentry/conventions":"0.16.0","@sentry/core":"10.78.0","@sentry/opentelemetry":"10.78.0","import-in-the-middle":"3.6.0"},"optionalDependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/instrumentation":"0.220.0","@opentelemetry/sdk-trace-base":"2.12.1"}},"node_modules/@sentry/opentelemetry":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-10.78.0.tgz","integrity":"sha512-s47uqNaHres6ijiMsaoI6/DRev80vUqTqRMk0u/DfF9xAJttK7gOGqZBESr0YD2BXA21O+sUPsPeWuHlYHiScA==","peerDependencies":{"@opentelemetry/api":">=1.9.0 <1.10.0","@opentelemetry/core":">=2.8.0 <3.0.0","@opentelemetry/sdk-trace-base":"^1.30.1 || ^2.1.0"},"engines":{"node":">=18"},"dependencies":{"@opentelemetry/api":"1.9.1","@opentelemetry/core":"2.12.1","@opentelemetry/sdk-trace-base":"2.12.1","@sentry/conventions":"0.16.0","@sentry/core":"10.78.0"}},"node_modules/@sentry/server-utils":{"version":"10.78.0","resolved":"https://registry.npmjs.org/@sentry/server-utils/-/server-utils-10.78.0.tgz","integrity":"sha512-MssOiA9SansFX4E51cloHZEy4bYSZyszFNWUWeIGgQiYyTN84PbPJmyLuboj26G/ycSBW2pUERPbcfjxcs7BrA==","engines":{"node":">=18"},"dependencies":{"@sentry/conventions":"0.16.0","@sentry/core":"10.78.0"}},"node_modules/@toon-format/toon":{"version":"4.4.0","resolved":"https://registry.npmjs.org/@toon-format/toon/-/toon-4.4.0.tgz","integrity":"sha512-A6UcsVoWbNdhdLNhJbe6JpRlocmf/DZGG57fur3bd8oQtsjBaKWo2hHbOU2zTuy+byUmLIOyP1xJeitopCZzpQ=="},"node_modules/chownr":{"version":"3.0.0","resolved":"https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz","integrity":"sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==","engines":{"node":">=18"}},"node_modules/cjs-module-lexer":{"version":"2.3.0","resolved":"https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.3.0.tgz","integrity":"sha512-lmNyBzi6iYiqyrExTctfmjd8tInx+dHu9PBomTfH5RXS53c27JMFJgzNv5TyAnm3PgGf+MLy0+Ws41/HlVxdKQ=="},"node_modules/commander":{"version":"15.1.0","resolved":"https://registry.npmjs.org/commander/-/commander-15.1.0.tgz","integrity":"sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==","engines":{"node":">=22.12.0"}},"node_modules/debug":{"version":"4.4.3","resolved":"https://registry.npmjs.org/debug/-/debug-4.4.3.tgz","integrity":"sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==","peerDependencies":{"supports-color":"*"},"peerDependenciesMeta":{"supports-color":{"optional":true}},"engines":{"node":">=6.0"},"dependencies":{"ms":"2.1.3"},"optionalDependencies":{"supports-color":"8.1.1"}},"node_modules/es-module-lexer":{"version":"3.0.4","resolved":"https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-3.0.4.tgz","integrity":"sha512-BldNY5mwkVu+cQ5Ymn3e6hB9Sx8XHx4ZevWbiUyZbfKxJxYO27Hf0wfzkxIaD5CAJMaGl3YspKELj0ff/7nCMA=="},"node_modules/fast-json-patch":{"version":"3.1.1","resolved":"https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz","integrity":"sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ=="},"node_modules/has-flag":{"version":"4.0.0","resolved":"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz","integrity":"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==","engines":{"node":">=8"},"optional":true},"node_modules/hosted-git-info":{"version":"9.0.3","resolved":"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.3.tgz","integrity":"sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg==","engines":{"node":"^20.17.0 || >=22.9.0"},"dependencies":{"lru-cache":"11.5.2"}},"node_modules/import-in-the-middle":{"version":"3.6.0","resolved":"https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-3.6.0.tgz","integrity":"sha512-xRU7hI24S2FhucXtuZXn8EpcOjfVP6iiEQyR0USayPeaOroEmSsNlqnl95866iRdRtkHrd6Q/Z4D14R60au0+A==","engines":{"node":">=18"},"dependencies":{"cjs-module-lexer":"2.3.0","es-module-lexer":"3.0.4","module-details-from-path":"1.0.4"}},"node_modules/lru-cache":{"version":"11.5.2","resolved":"https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz","integrity":"sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==","engines":{"node":"20 || >=22"}},"node_modules/minipass":{"version":"7.1.3","resolved":"https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz","integrity":"sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==","engines":{"node":">=16 || 14 >=14.17"}},"node_modules/minizlib":{"version":"3.1.0","resolved":"https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz","integrity":"sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==","engines":{"node":">= 18"},"dependencies":{"minipass":"7.1.3"}},"node_modules/module-details-from-path":{"version":"1.0.4","resolved":"https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.4.tgz","integrity":"sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w=="},"node_modules/ms":{"version":"2.1.3","resolved":"https://registry.npmjs.org/ms/-/ms-2.1.3.tgz","integrity":"sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="},"node_modules/npm-package-arg":{"version":"13.0.2","resolved":"https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-13.0.2.tgz","integrity":"sha512-IciCE3SY3uE84Ld8WZU23gAPPV9rIYod4F+rc+vJ7h7cwAJt9Vk6TVsK60ry7Uj3SRS3bqRRIGuTp9YVlk6WNA==","engines":{"node":"^20.17.0 || >=22.9.0"},"dependencies":{"hosted-git-info":"9.0.3","proc-log":"6.1.0","semver":"7.8.6","validate-npm-package-name":"7.0.2"}},"node_modules/proc-log":{"version":"6.1.0","resolved":"https://registry.npmjs.org/proc-log/-/proc-log-6.1.0.tgz","integrity":"sha512-iG+GYldRf2BQ0UDUAd6JQ/RwzaQy6mXmsk/IzlYyal4A4SNFw54MeH4/tLkF4I5WoWG9SQwuqWzS99jaFQHBuQ==","engines":{"node":"^20.17.0 || >=22.9.0"}},"node_modules/require-in-the-middle":{"version":"8.0.1","resolved":"https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-8.0.1.tgz","integrity":"sha512-QT7FVMXfWOYFbeRBF6nu+I6tr2Tf3u0q8RIEjNob/heKY/nh7drD/k7eeMFmSQgnTtCzLDcCu/XEnpW2wk4xCQ==","engines":{"node":">=9.3.0 || >=8.10.0 <9.0.0"},"dependencies":{"debug":"4.4.3","module-details-from-path":"1.0.4"}},"node_modules/semver":{"version":"7.8.6","resolved":"https://registry.npmjs.org/semver/-/semver-7.8.6.tgz","integrity":"sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==","engines":{"node":">=10"},"hasBin":true},"node_modules/supports-color":{"version":"8.1.1","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz","integrity":"sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==","engines":{"node":">=10"},"dependencies":{"has-flag":"4.0.0"},"optional":true},"node_modules/tar":{"version":"7.5.23","resolved":"https://registry.npmjs.org/tar/-/tar-7.5.23.tgz","integrity":"sha512-lkukzdoGngZHJZXxW4S/E4Fp9ghTDlyZXrQGRNoJ/LXvDKcXUTq2sg5yQe74po7Voea6n/IN09+wE/QvJMiifA==","engines":{"node":">=18"},"dependencies":{"@isaacs/fs-minipass":"4.0.1","chownr":"3.0.0","minipass":"7.1.3","minizlib":"3.1.0","yallist":"5.0.0"}},"node_modules/validate-npm-package-name":{"version":"7.0.2","resolved":"https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz","integrity":"sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==","engines":{"node":"^20.17.0 || >=22.9.0"}},"node_modules/yallist":{"version":"5.0.0","resolved":"https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz","integrity":"sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==","engines":{"node":">=18"}},"node_modules/yaml":{"version":"2.9.1","resolved":"https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz","integrity":"sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==","engines":{"node":">= 14.6"},"hasBin":true}}}