@unbrained/pm-cli 2026.5.11 → 2026.5.12

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 (84) hide show
  1. package/AGENTS.md +3 -116
  2. package/CHANGELOG.md +7 -0
  3. package/PRD.md +11 -11
  4. package/README.md +11 -1
  5. package/dist/cli/commands/contracts.js +8 -2
  6. package/dist/cli/commands/contracts.js.map +1 -1
  7. package/dist/cli/commands/extension.d.ts +9 -2
  8. package/dist/cli/commands/extension.js +247 -67
  9. package/dist/cli/commands/extension.js.map +1 -1
  10. package/dist/cli/commands/index.d.ts +1 -0
  11. package/dist/cli/commands/index.js +1 -0
  12. package/dist/cli/commands/index.js.map +1 -1
  13. package/dist/cli/commands/test.js +14 -6
  14. package/dist/cli/commands/test.js.map +1 -1
  15. package/dist/cli/commands/upgrade.d.ts +63 -0
  16. package/dist/cli/commands/upgrade.js +260 -0
  17. package/dist/cli/commands/upgrade.js.map +1 -0
  18. package/dist/cli/guide-topics.js +18 -16
  19. package/dist/cli/guide-topics.js.map +1 -1
  20. package/dist/cli/help-content.js +42 -2
  21. package/dist/cli/help-content.js.map +1 -1
  22. package/dist/cli/register-setup.js +168 -90
  23. package/dist/cli/register-setup.js.map +1 -1
  24. package/dist/core/packages/manifest.d.ts +13 -0
  25. package/dist/core/packages/manifest.js +139 -0
  26. package/dist/core/packages/manifest.js.map +1 -0
  27. package/dist/mcp/server.js +9 -2
  28. package/dist/mcp/server.js.map +1 -1
  29. package/dist/sdk/cli-contracts.d.ts +18 -17
  30. package/dist/sdk/cli-contracts.js +137 -35
  31. package/dist/sdk/cli-contracts.js.map +1 -1
  32. package/dist/sdk/index.d.ts +1 -0
  33. package/dist/sdk/index.js +1 -0
  34. package/dist/sdk/index.js.map +1 -1
  35. package/docs/ARCHITECTURE.md +1 -1
  36. package/docs/COMMANDS.md +14 -1
  37. package/docs/EXTENSIONS.md +112 -29
  38. package/docs/QUICKSTART.md +10 -2
  39. package/docs/README.md +4 -6
  40. package/docs/SDK.md +16 -12
  41. package/package.json +5 -23
  42. package/packages/pm-beads/README.md +10 -0
  43. package/{.agents/pm → packages/pm-beads}/extensions/beads/index.js +24 -9
  44. package/packages/pm-beads/extensions/beads/index.ts +131 -0
  45. package/packages/pm-beads/package.json +17 -0
  46. package/packages/pm-todos/README.md +11 -0
  47. package/{.agents/pm → packages/pm-todos}/extensions/todos/index.js +24 -9
  48. package/packages/pm-todos/extensions/todos/index.ts +149 -0
  49. package/{.agents/pm → packages/pm-todos}/extensions/todos/runtime.js +1 -1
  50. package/{.agents/pm → packages/pm-todos}/extensions/todos/runtime.ts +1 -1
  51. package/packages/pm-todos/package.json +17 -0
  52. package/plugins/pm-cli-claude/README.md +1 -2
  53. package/plugins/pm-cli-claude/hooks/session-start.mjs +4 -55
  54. package/.agents/pm/extensions/.managed-extensions.json +0 -42
  55. package/.agents/skills/HARNESS_COMPATIBILITY.md +0 -45
  56. package/.agents/skills/README.md +0 -21
  57. package/.agents/skills/pm-developer/SKILL.md +0 -73
  58. package/.agents/skills/pm-developer/references/COMMAND_PLAYBOOK.md +0 -48
  59. package/.agents/skills/pm-developer/references/PROMPTS.md +0 -17
  60. package/.agents/skills/pm-extensions/SKILL.md +0 -57
  61. package/.agents/skills/pm-extensions/references/LIFECYCLE.md +0 -40
  62. package/.agents/skills/pm-extensions/references/TROUBLESHOOTING.md +0 -25
  63. package/.agents/skills/pm-sdk/SKILL.md +0 -50
  64. package/.agents/skills/pm-sdk/references/INTEGRATION_CHECKLIST.md +0 -31
  65. package/.agents/skills/pm-sdk/references/PROMPTS.md +0 -13
  66. package/.agents/skills/pm-user/SKILL.md +0 -59
  67. package/.agents/skills/pm-user/references/PROMPTS.md +0 -17
  68. package/.agents/skills/pm-user/references/WORKFLOWS.md +0 -35
  69. package/.pi/README.md +0 -35
  70. package/.pi/agents/pm-triage-agent.md +0 -19
  71. package/.pi/agents/pm-verification-agent.md +0 -21
  72. package/.pi/chains/pm-native-delivery.chain.md +0 -11
  73. package/.pi/extensions/pm-cli/index.js +0 -387
  74. package/.pi/prompts/pm-workflow.md +0 -5
  75. package/.pi/skills/pm-native/SKILL.md +0 -44
  76. package/.pi/skills/pm-release/SKILL.md +0 -35
  77. package/dist/pi/native.d.ts +0 -5
  78. package/dist/pi/native.js +0 -236
  79. package/dist/pi/native.js.map +0 -1
  80. package/docs/PI_PACKAGE.md +0 -141
  81. /package/{.agents/pm → packages/pm-beads}/extensions/beads/manifest.json +0 -0
  82. /package/{.agents/pm → packages/pm-beads}/extensions/beads/runtime.js +0 -0
  83. /package/{.agents/pm → packages/pm-beads}/extensions/beads/runtime.ts +0 -0
  84. /package/{.agents/pm → packages/pm-todos}/extensions/todos/manifest.json +0 -0
@@ -37,4 +37,5 @@ export { runStartBackgroundRun, runTestRunsList, runTestRunsLogs, runTestRunsRes
37
37
  export { loadCreateTemplateOptions, runTemplatesList, runTemplatesSave, runTemplatesShow, type TemplatesListResult, type TemplatesSaveResult, type TemplatesShowResult, } from "./templates.js";
38
38
  export { runUpdate } from "./update.js";
39
39
  export { runUpdateMany, type UpdateManyCommandOptions, type UpdateManyResult } from "./update-many.js";
40
+ export { runUpgrade, type UpgradeCommandOptions, type UpgradeResult } from "./upgrade.js";
40
41
  export { runValidate, type ValidateCheck, type ValidateCommandOptions, type ValidateResult } from "./validate.js";
@@ -37,5 +37,6 @@ export { runStartBackgroundRun, runTestRunsList, runTestRunsLogs, runTestRunsRes
37
37
  export { loadCreateTemplateOptions, runTemplatesList, runTemplatesSave, runTemplatesShow, } from "./templates.js";
38
38
  export { runUpdate } from "./update.js";
39
39
  export { runUpdateMany } from "./update-many.js";
40
+ export { runUpgrade } from "./upgrade.js";
40
41
  export { runValidate } from "./validate.js";
41
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["cli/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAA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,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAoB,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,YAAY,EAAsD,MAAM,gBAAgB,CAAC;AAClG,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAA2C,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,GAIjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAwD,MAAM,kBAAkB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAwE,MAAM,eAAe,CAAC","sourcesContent":["export { runAppend } from \"./append.js\";\nexport { runAggregate, type AggregateOptions, type AggregateResult } from \"./aggregate.js\";\nexport { runCompletion, type CompletionResult, type CompletionShell } from \"./completion.js\";\nexport { runActivity } from \"./activity.js\";\nexport { runClaim, runRelease } from \"./claim.js\";\nexport { runClose, type CloseCommandOptions, type CloseResult } from \"./close.js\";\nexport { runComments } from \"./comments.js\";\nexport { runCommentsAudit, type CommentsAuditOptions, type CommentsAuditResult } from \"./comments-audit.js\";\nexport { runConfig, type ConfigCommandOptions, type ConfigResult } from \"./config.js\";\nexport { runContracts, type ContractsCommandOptions, type ContractsResult } from \"./contracts.js\";\nexport {\n CALENDAR_OUTPUT_VALUES,\n CALENDAR_VIEW_VALUES,\n renderCalendarMarkdown,\n resolveCalendarOutputFormat,\n runCalendar,\n type CalendarOptions,\n type CalendarOutputFormat,\n type CalendarResult,\n type CalendarView,\n} from \"./calendar.js\";\nexport {\n CONTEXT_OUTPUT_VALUES,\n renderContextMarkdown,\n resolveContextOutputFormat,\n runContext,\n type ContextOptions,\n type ContextOutputFormat,\n type ContextResult,\n} from \"./context.js\";\nexport { runCreate, type CreateCommandOptions } from \"./create.js\";\nexport { runDelete, type DeleteCommandOptions, type DeleteResult } from \"./delete.js\";\nexport { runDeps, DEPS_FORMAT_VALUES, type DepsCommandOptions, type DepsFormat, type DepsResult } from \"./deps.js\";\nexport { runDedupeAudit, DEDUPE_AUDIT_MODES, type DedupeAuditMode, type DedupeAuditOptions, type DedupeAuditResult } from \"./dedupe-audit.js\";\nexport { runDocs } from \"./docs.js\";\nexport {\n GUIDE_DEPTH_VALUES,\n GUIDE_OUTPUT_VALUES,\n renderGuideMarkdown,\n resolveGuideOutputFormat,\n runGuide,\n type GuideDepth,\n type GuideOptions,\n type GuideOutputFormat,\n type GuideResult,\n} from \"./guide.js\";\nexport { runExtension, type ExtensionCommandOptions, type ExtensionCommandResult } from \"./extension.js\";\nexport { runFiles, runFilesDiscover } from \"./files.js\";\nexport { runGc } from \"./gc.js\";\nexport { runGet } from \"./get.js\";\nexport { runHealth } from \"./health.js\";\nexport { runHistory } from \"./history.js\";\nexport { runInit } from \"./init.js\";\nexport { runLearnings } from \"./learnings.js\";\nexport { runList, type ListOptions } from \"./list.js\";\nexport { runNormalize, type NormalizeCommandOptions, type NormalizeResult } from \"./normalize.js\";\nexport { runNotes } from \"./notes.js\";\nexport { runSearch } from \"./search.js\";\nexport { runReindex, type ReindexOptions, type ReindexResult } from \"./reindex.js\";\nexport { runRestore } from \"./restore.js\";\nexport { runStats } from \"./stats.js\";\nexport { runTest } from \"./test.js\";\nexport { runTestAll } from \"./test-all.js\";\nexport {\n runStartBackgroundRun,\n runTestRunsList,\n runTestRunsLogs,\n runTestRunsResume,\n runTestRunsStatus,\n runTestRunsStop,\n runTestRunsWorker,\n} from \"./test-runs.js\";\nexport {\n loadCreateTemplateOptions,\n runTemplatesList,\n runTemplatesSave,\n runTemplatesShow,\n type TemplatesListResult,\n type TemplatesSaveResult,\n type TemplatesShowResult,\n} from \"./templates.js\";\nexport { runUpdate } from \"./update.js\";\nexport { runUpdateMany, type UpdateManyCommandOptions, type UpdateManyResult } from \"./update-many.js\";\nexport { runValidate, type ValidateCheck, type ValidateCommandOptions, type ValidateResult } from \"./validate.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["cli/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAA+C,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,aAAa,EAA+C,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,QAAQ,EAA8C,MAAM,YAAY,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAuD,MAAM,qBAAqB,CAAC;AAC5G,OAAO,EAAE,SAAS,EAAgD,MAAM,aAAa,CAAC;AACtF,OAAO,EAAE,YAAY,EAAsD,MAAM,gBAAgB,CAAC;AAClG,OAAO,EACL,sBAAsB,EACtB,oBAA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,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,GAIjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAwD,MAAM,kBAAkB,CAAC;AACvG,OAAO,EAAE,UAAU,EAAkD,MAAM,cAAc,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAwE,MAAM,eAAe,CAAC","sourcesContent":["export { runAppend } from \"./append.js\";\nexport { runAggregate, type AggregateOptions, type AggregateResult } from \"./aggregate.js\";\nexport { runCompletion, type CompletionResult, type CompletionShell } from \"./completion.js\";\nexport { runActivity } from \"./activity.js\";\nexport { runClaim, runRelease } from \"./claim.js\";\nexport { runClose, type CloseCommandOptions, type CloseResult } from \"./close.js\";\nexport { runComments } from \"./comments.js\";\nexport { runCommentsAudit, type CommentsAuditOptions, type CommentsAuditResult } from \"./comments-audit.js\";\nexport { runConfig, type ConfigCommandOptions, type ConfigResult } from \"./config.js\";\nexport { runContracts, type ContractsCommandOptions, type ContractsResult } from \"./contracts.js\";\nexport {\n CALENDAR_OUTPUT_VALUES,\n CALENDAR_VIEW_VALUES,\n renderCalendarMarkdown,\n resolveCalendarOutputFormat,\n runCalendar,\n type CalendarOptions,\n type CalendarOutputFormat,\n type CalendarResult,\n type CalendarView,\n} from \"./calendar.js\";\nexport {\n CONTEXT_OUTPUT_VALUES,\n renderContextMarkdown,\n resolveContextOutputFormat,\n runContext,\n type ContextOptions,\n type ContextOutputFormat,\n type ContextResult,\n} from \"./context.js\";\nexport { runCreate, type CreateCommandOptions } from \"./create.js\";\nexport { runDelete, type DeleteCommandOptions, type DeleteResult } from \"./delete.js\";\nexport { runDeps, DEPS_FORMAT_VALUES, type DepsCommandOptions, type DepsFormat, type DepsResult } from \"./deps.js\";\nexport { runDedupeAudit, DEDUPE_AUDIT_MODES, type DedupeAuditMode, type DedupeAuditOptions, type DedupeAuditResult } from \"./dedupe-audit.js\";\nexport { runDocs } from \"./docs.js\";\nexport {\n GUIDE_DEPTH_VALUES,\n GUIDE_OUTPUT_VALUES,\n renderGuideMarkdown,\n resolveGuideOutputFormat,\n runGuide,\n type GuideDepth,\n type GuideOptions,\n type GuideOutputFormat,\n type GuideResult,\n} from \"./guide.js\";\nexport { runExtension, type ExtensionCommandOptions, type ExtensionCommandResult } from \"./extension.js\";\nexport { runFiles, runFilesDiscover } from \"./files.js\";\nexport { runGc } from \"./gc.js\";\nexport { runGet } from \"./get.js\";\nexport { runHealth } from \"./health.js\";\nexport { runHistory } from \"./history.js\";\nexport { runInit } from \"./init.js\";\nexport { runLearnings } from \"./learnings.js\";\nexport { runList, type ListOptions } from \"./list.js\";\nexport { runNormalize, type NormalizeCommandOptions, type NormalizeResult } from \"./normalize.js\";\nexport { runNotes } from \"./notes.js\";\nexport { runSearch } from \"./search.js\";\nexport { runReindex, type ReindexOptions, type ReindexResult } from \"./reindex.js\";\nexport { runRestore } from \"./restore.js\";\nexport { runStats } from \"./stats.js\";\nexport { runTest } from \"./test.js\";\nexport { runTestAll } from \"./test-all.js\";\nexport {\n runStartBackgroundRun,\n runTestRunsList,\n runTestRunsLogs,\n runTestRunsResume,\n runTestRunsStatus,\n runTestRunsStop,\n runTestRunsWorker,\n} from \"./test-runs.js\";\nexport {\n loadCreateTemplateOptions,\n runTemplatesList,\n runTemplatesSave,\n runTemplatesShow,\n type TemplatesListResult,\n type TemplatesSaveResult,\n type TemplatesShowResult,\n} from \"./templates.js\";\nexport { runUpdate } from \"./update.js\";\nexport { runUpdateMany, type UpdateManyCommandOptions, type UpdateManyResult } from \"./update-many.js\";\nexport { runUpgrade, type UpgradeCommandOptions, type UpgradeResult } from \"./upgrade.js\";\nexport { runValidate, type ValidateCheck, type ValidateCommandOptions, type ValidateResult } from \"./validate.js\";\n"]}
@@ -22,8 +22,8 @@ const MAX_LINKED_TEST_COMMAND_LABEL_LENGTH = 120;
22
22
  const LINKED_TEST_PROTECTED_ENV_KEYS = new Set(["PM_PATH", "PM_GLOBAL_PATH", "FORCE_COLOR"]);
23
23
  const LINKED_TEST_ENV_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;
24
24
  const PM_CONTEXT_MODE_VALUES = ["schema", "tracker", "auto"];
25
- const LINKED_TEST_TRACKER_DIRS_TO_SKIP = new Set(["locks", "extensions"]);
26
- const LINKED_TEST_ITEM_COUNT_DIRS_TO_SKIP = new Set(["history", "index", "search", "extensions", "locks"]);
25
+ const LINKED_TEST_TRACKER_DIRS_TO_SKIP = new Set(["locks", "extensions", "runtime"]);
26
+ const LINKED_TEST_ITEM_COUNT_DIRS_TO_SKIP = new Set(["history", "index", "search", "extensions", "locks", "runtime"]);
27
27
  const LINKED_TEST_INFRA_COLLISION_PATTERNS = [
28
28
  /eaddrinuse/i,
29
29
  /address already in use/i,
@@ -1200,11 +1200,19 @@ async function copyIntoSandboxIfPresent(sourcePath, targetPath, recursive = fals
1200
1200
  return;
1201
1201
  }
1202
1202
  await mkdir(path.dirname(targetPath), { recursive: true });
1203
- if (recursive) {
1204
- await cp(sourcePath, targetPath, { recursive: true, force: true });
1205
- return;
1203
+ try {
1204
+ if (recursive) {
1205
+ await cp(sourcePath, targetPath, { recursive: true, force: true });
1206
+ return;
1207
+ }
1208
+ await cp(sourcePath, targetPath, { force: true });
1209
+ }
1210
+ catch (error) {
1211
+ if (typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT") {
1212
+ return;
1213
+ }
1214
+ throw error;
1206
1215
  }
1207
- await cp(sourcePath, targetPath, { force: true });
1208
1216
  }
1209
1217
  async function seedLinkedTestSandbox(sandboxPmPath, sandboxGlobalPath, sourceRoots) {
1210
1218
  await copyIntoSandboxIfPresent(getSettingsPath(sourceRoots.projectPmRoot), getSettingsPath(sandboxPmPath));