@unbrained/pm-cli 2026.5.5 → 2026.5.10

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 (199) hide show
  1. package/.agents/pm/extensions/.managed-extensions.json +2 -2
  2. package/.agents/pm/extensions/beads/runtime.js +4 -4
  3. package/.agents/pm/extensions/beads/runtime.ts +5 -5
  4. package/.agents/pm/extensions/todos/runtime.js +7 -7
  5. package/.agents/pm/extensions/todos/runtime.ts +10 -10
  6. package/.agents/skills/HARNESS_COMPATIBILITY.md +45 -0
  7. package/.agents/skills/README.md +21 -0
  8. package/.agents/skills/pm-developer/SKILL.md +73 -0
  9. package/.agents/skills/pm-developer/references/COMMAND_PLAYBOOK.md +48 -0
  10. package/.agents/skills/pm-developer/references/PROMPTS.md +17 -0
  11. package/.agents/skills/pm-extensions/SKILL.md +57 -0
  12. package/.agents/skills/pm-extensions/references/LIFECYCLE.md +40 -0
  13. package/.agents/skills/pm-extensions/references/TROUBLESHOOTING.md +25 -0
  14. package/.agents/skills/pm-sdk/SKILL.md +50 -0
  15. package/.agents/skills/pm-sdk/references/INTEGRATION_CHECKLIST.md +31 -0
  16. package/.agents/skills/pm-sdk/references/PROMPTS.md +13 -0
  17. package/.agents/skills/pm-user/SKILL.md +59 -0
  18. package/.agents/skills/pm-user/references/PROMPTS.md +17 -0
  19. package/.agents/skills/pm-user/references/WORKFLOWS.md +35 -0
  20. package/.claude-plugin/marketplace.json +38 -0
  21. package/.pi/README.md +26 -0
  22. package/.pi/extensions/pm-cli/index.js +147 -0
  23. package/.pi/prompts/pm-workflow.md +5 -0
  24. package/.pi/skills/pm-native/SKILL.md +40 -0
  25. package/.pi/skills/pm-release/SKILL.md +35 -0
  26. package/AGENTS.md +1 -1
  27. package/CHANGELOG.md +17 -0
  28. package/PRD.md +16 -16
  29. package/README.md +22 -4
  30. package/dist/cli/commands/claim.js +6 -6
  31. package/dist/cli/commands/claim.js.map +1 -1
  32. package/dist/cli/commands/close.js +9 -9
  33. package/dist/cli/commands/close.js.map +1 -1
  34. package/dist/cli/commands/comments.d.ts +2 -0
  35. package/dist/cli/commands/comments.js +57 -8
  36. package/dist/cli/commands/comments.js.map +1 -1
  37. package/dist/cli/commands/completion.js +33 -4
  38. package/dist/cli/commands/completion.js.map +1 -1
  39. package/dist/cli/commands/config.js +6 -3
  40. package/dist/cli/commands/config.js.map +1 -1
  41. package/dist/cli/commands/contracts.js +4 -1
  42. package/dist/cli/commands/contracts.js.map +1 -1
  43. package/dist/cli/commands/create.d.ts +2 -2
  44. package/dist/cli/commands/create.js +4 -4
  45. package/dist/cli/commands/create.js.map +1 -1
  46. package/dist/cli/commands/docs.js +4 -4
  47. package/dist/cli/commands/docs.js.map +1 -1
  48. package/dist/cli/commands/files.js +10 -10
  49. package/dist/cli/commands/files.js.map +1 -1
  50. package/dist/cli/commands/get.js +5 -5
  51. package/dist/cli/commands/get.js.map +1 -1
  52. package/dist/cli/commands/guide.d.ts +55 -0
  53. package/dist/cli/commands/guide.js +260 -0
  54. package/dist/cli/commands/guide.js.map +1 -0
  55. package/dist/cli/commands/health.js +1 -1
  56. package/dist/cli/commands/health.js.map +1 -1
  57. package/dist/cli/commands/history.js +30 -10
  58. package/dist/cli/commands/history.js.map +1 -1
  59. package/dist/cli/commands/index.d.ts +1 -0
  60. package/dist/cli/commands/index.js +1 -0
  61. package/dist/cli/commands/index.js.map +1 -1
  62. package/dist/cli/commands/learnings.js +3 -3
  63. package/dist/cli/commands/learnings.js.map +1 -1
  64. package/dist/cli/commands/notes.js +3 -3
  65. package/dist/cli/commands/notes.js.map +1 -1
  66. package/dist/cli/commands/reindex.js +18 -32
  67. package/dist/cli/commands/reindex.js.map +1 -1
  68. package/dist/cli/commands/restore.d.ts +2 -2
  69. package/dist/cli/commands/restore.js +44 -24
  70. package/dist/cli/commands/restore.js.map +1 -1
  71. package/dist/cli/commands/search.d.ts +2 -0
  72. package/dist/cli/commands/search.js +30 -21
  73. package/dist/cli/commands/search.js.map +1 -1
  74. package/dist/cli/commands/test-all.d.ts +2 -0
  75. package/dist/cli/commands/test-all.js +2 -0
  76. package/dist/cli/commands/test-all.js.map +1 -1
  77. package/dist/cli/commands/test.d.ts +1 -0
  78. package/dist/cli/commands/test.js +4 -3
  79. package/dist/cli/commands/test.js.map +1 -1
  80. package/dist/cli/commands/update.js +118 -118
  81. package/dist/cli/commands/update.js.map +1 -1
  82. package/dist/cli/commands/validate.js +1 -1
  83. package/dist/cli/commands/validate.js.map +1 -1
  84. package/dist/cli/guide-topics.d.ts +25 -0
  85. package/dist/cli/guide-topics.js +283 -0
  86. package/dist/cli/guide-topics.js.map +1 -0
  87. package/dist/cli/help-content.js +25 -1
  88. package/dist/cli/help-content.js.map +1 -1
  89. package/dist/cli/register-list-query.js +38 -1
  90. package/dist/cli/register-list-query.js.map +1 -1
  91. package/dist/cli/register-mutation.js +17 -4
  92. package/dist/cli/register-mutation.js.map +1 -1
  93. package/dist/cli/register-setup.js +1 -1
  94. package/dist/cli/register-setup.js.map +1 -1
  95. package/dist/core/history/history.js +32 -11
  96. package/dist/core/history/history.js.map +1 -1
  97. package/dist/core/item/item-format.d.ts +2 -2
  98. package/dist/core/item/item-format.js +16 -16
  99. package/dist/core/item/item-format.js.map +1 -1
  100. package/dist/core/schema/runtime-field-filters.js +1 -1
  101. package/dist/core/schema/runtime-field-filters.js.map +1 -1
  102. package/dist/core/schema/runtime-field-values.js +2 -2
  103. package/dist/core/schema/runtime-field-values.js.map +1 -1
  104. package/dist/core/schema/runtime-schema.d.ts +1 -1
  105. package/dist/core/schema/runtime-schema.js +3 -3
  106. package/dist/core/schema/runtime-schema.js.map +1 -1
  107. package/dist/core/search/cache.js +7 -21
  108. package/dist/core/search/cache.js.map +1 -1
  109. package/dist/core/search/corpus.d.ts +13 -0
  110. package/dist/core/search/corpus.js +74 -0
  111. package/dist/core/search/corpus.js.map +1 -0
  112. package/dist/core/search/embedding-batches.js +90 -30
  113. package/dist/core/search/embedding-batches.js.map +1 -1
  114. package/dist/core/sentry/instrument.d.ts +3 -1
  115. package/dist/core/sentry/instrument.js +93 -9
  116. package/dist/core/sentry/instrument.js.map +1 -1
  117. package/dist/core/shared/constants.d.ts +1 -1
  118. package/dist/core/shared/constants.js +1 -1
  119. package/dist/core/shared/constants.js.map +1 -1
  120. package/dist/core/store/front-matter-cache.d.ts +1 -1
  121. package/dist/core/store/front-matter-cache.js +13 -13
  122. package/dist/core/store/front-matter-cache.js.map +1 -1
  123. package/dist/core/store/item-format-migration.js +5 -2
  124. package/dist/core/store/item-format-migration.js.map +1 -1
  125. package/dist/core/store/item-store.js +16 -15
  126. package/dist/core/store/item-store.js.map +1 -1
  127. package/dist/core/store/paths.js +1 -1
  128. package/dist/core/store/paths.js.map +1 -1
  129. package/dist/core/store/settings.js +6 -1
  130. package/dist/core/store/settings.js.map +1 -1
  131. package/dist/core/telemetry/runtime.js +97 -20
  132. package/dist/core/telemetry/runtime.js.map +1 -1
  133. package/dist/core/test/item-test-run-tracking.js +2 -2
  134. package/dist/core/test/item-test-run-tracking.js.map +1 -1
  135. package/dist/mcp/server.d.ts +2 -0
  136. package/dist/mcp/server.js +405 -0
  137. package/dist/mcp/server.js.map +1 -0
  138. package/dist/pi/native.d.ts +5 -0
  139. package/dist/pi/native.js +183 -0
  140. package/dist/pi/native.js.map +1 -0
  141. package/dist/sdk/cli-contracts.d.ts +3 -1
  142. package/dist/sdk/cli-contracts.js +67 -2
  143. package/dist/sdk/cli-contracts.js.map +1 -1
  144. package/dist/types.d.ts +10 -2
  145. package/dist/types.js.map +1 -1
  146. package/docs/AGENT_GUIDE.md +15 -0
  147. package/docs/ARCHITECTURE.md +2 -2
  148. package/docs/CLAUDE_CODE_PLUGIN.md +186 -0
  149. package/docs/CODEX_PLUGIN.md +33 -0
  150. package/docs/COMMANDS.md +6 -2
  151. package/docs/CONFIGURATION.md +2 -8
  152. package/docs/EXTENSIONS.md +1 -0
  153. package/docs/PI_PACKAGE.md +56 -0
  154. package/docs/QUICKSTART.md +1 -0
  155. package/docs/README.md +30 -1
  156. package/docs/RELEASING.md +9 -5
  157. package/docs/SDK.md +3 -2
  158. package/marketplace.json +34 -0
  159. package/package.json +38 -4
  160. package/plugins/pm-cli-claude/.claude-plugin/plugin.json +23 -0
  161. package/plugins/pm-cli-claude/.mcp.json +12 -0
  162. package/plugins/pm-cli-claude/README.md +184 -0
  163. package/plugins/pm-cli-claude/agents/pm-coordinator.md +48 -0
  164. package/plugins/pm-cli-claude/commands/pm-audit.md +39 -0
  165. package/plugins/pm-cli-claude/commands/pm-calendar.md +41 -0
  166. package/plugins/pm-cli-claude/commands/pm-close-task.md +20 -0
  167. package/plugins/pm-cli-claude/commands/pm-developer.md +38 -0
  168. package/plugins/pm-cli-claude/commands/pm-init.md +44 -0
  169. package/plugins/pm-cli-claude/commands/pm-list.md +39 -0
  170. package/plugins/pm-cli-claude/commands/pm-new.md +36 -0
  171. package/plugins/pm-cli-claude/commands/pm-planner.md +51 -0
  172. package/plugins/pm-cli-claude/commands/pm-release.md +41 -0
  173. package/plugins/pm-cli-claude/commands/pm-search.md +21 -0
  174. package/plugins/pm-cli-claude/commands/pm-start-task.md +27 -0
  175. package/plugins/pm-cli-claude/commands/pm-status.md +15 -0
  176. package/plugins/pm-cli-claude/commands/pm-triage.md +35 -0
  177. package/plugins/pm-cli-claude/commands/pm-workflow.md +49 -0
  178. package/plugins/pm-cli-claude/hooks/hooks.json +17 -0
  179. package/plugins/pm-cli-claude/hooks/session-start.mjs +55 -0
  180. package/plugins/pm-cli-claude/scripts/pm-mcp-server.mjs +60 -0
  181. package/plugins/pm-cli-claude/skills/pm-audit/SKILL.md +88 -0
  182. package/plugins/pm-cli-claude/skills/pm-developer/SKILL.md +116 -0
  183. package/plugins/pm-cli-claude/skills/pm-planner/SKILL.md +118 -0
  184. package/plugins/pm-cli-claude/skills/pm-release/SKILL.md +83 -0
  185. package/plugins/pm-cli-claude/skills/pm-workflow/SKILL.md +148 -0
  186. package/plugins/pm-cli-codex/.codex-plugin/plugin.json +45 -0
  187. package/plugins/pm-cli-codex/.mcp.json +14 -0
  188. package/plugins/pm-cli-codex/README.md +30 -0
  189. package/plugins/pm-cli-codex/assets/pm-cli-small.svg +4 -0
  190. package/plugins/pm-cli-codex/commands/pm-audit.md +8 -0
  191. package/plugins/pm-cli-codex/commands/pm-close-task.md +9 -0
  192. package/plugins/pm-cli-codex/commands/pm-start-task.md +9 -0
  193. package/plugins/pm-cli-codex/scripts/pm-mcp-server.mjs +54 -0
  194. package/plugins/pm-cli-codex/skills/pm-auditor/SKILL.md +21 -0
  195. package/plugins/pm-cli-codex/skills/pm-auditor/agents/openai.yaml +6 -0
  196. package/plugins/pm-cli-codex/skills/pm-native/SKILL.md +57 -0
  197. package/plugins/pm-cli-codex/skills/pm-native/agents/openai.yaml +6 -0
  198. package/plugins/pm-cli-codex/skills/pm-release/SKILL.md +19 -0
  199. package/plugins/pm-cli-codex/skills/pm-release/agents/openai.yaml +6 -0
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: pm-native
3
+ description: Use pm-cli natively in Codex through bundled MCP tools for planning, tracking, mutation, validation, and reporting without invoking the pm shell command.
4
+ license: MIT
5
+ ---
6
+
7
+ # pm Native Workflow
8
+
9
+ Use this skill whenever a Codex task should be tracked through pm.
10
+
11
+ ## Tool Preference
12
+
13
+ Use MCP tools before shell commands:
14
+
15
+ - Orient: `pm_context`, `pm_search`, `pm_list`, `pm_get`
16
+ - Mutate: `pm_create`, `pm_update`, `pm_claim`, `pm_release`, `pm_close`
17
+ - Evidence: `pm_comments`, `pm_files`, `pm_docs`, `pm_test`
18
+ - Verify: `pm_validate`, `pm_health`, `pm_contracts`
19
+ - Everything else: `pm_run` with an explicit `action`
20
+
21
+ Do not pass `path` during real repository work. For tests, pass a sandbox `cwd` or `path`.
22
+
23
+ ## Required Loop
24
+
25
+ 1. Run `pm_context`, `pm_search`, and `pm_list` before creating work.
26
+ 2. Reuse an existing item when one matches.
27
+ 3. Claim the item with `pm_claim`.
28
+ 4. Link changed files/docs/tests as work proceeds.
29
+ 5. Add concise evidence with `pm_comments`.
30
+ 6. Run linked and project verification.
31
+ 7. Close with `pm_close` and release with `pm_release`.
32
+
33
+ ## Native Argument Shape
34
+
35
+ Most tools accept:
36
+
37
+ ```json
38
+ {
39
+ "cwd": "/repo/root",
40
+ "author": "codex-agent",
41
+ "options": {
42
+ "limit": "10"
43
+ }
44
+ }
45
+ ```
46
+
47
+ `pm_run` accepts an `action` plus `options`:
48
+
49
+ ```json
50
+ {
51
+ "action": "calendar",
52
+ "options": {
53
+ "view": "week",
54
+ "format": "markdown"
55
+ }
56
+ }
57
+ ```
@@ -0,0 +1,6 @@
1
+ interface:
2
+ display_name: "pm Native"
3
+ short_description: "Track Codex work through native pm MCP tools"
4
+ icon_small: "./assets/pm-cli-small.svg"
5
+ icon_large: "./assets/pm-cli-small.svg"
6
+ default_prompt: "Use native pm tools to orient, claim, implement, verify, and close this task without shelling out to pm."
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: pm-release
3
+ description: Run compatibility-gated pm-cli release workflows with native pm tools, linked evidence, and public-surface verification.
4
+ license: MIT
5
+ ---
6
+
7
+ # pm Release
8
+
9
+ Use for release prep, compatibility gates, publication checks, and post-release verification.
10
+
11
+ ## Release Loop
12
+
13
+ 1. Find or create the release item after duplicate checks.
14
+ 2. Claim it and link release docs, changelog, compatibility scripts, and tests.
15
+ 3. Run sandboxed compatibility checks before changing release assets.
16
+ 4. Run full local gates before tagging or publishing.
17
+ 5. Verify public surfaces after publish and record results through `pm_comments`.
18
+
19
+ Use `pm_run` for release-adjacent pm actions not exposed as narrow tools.
@@ -0,0 +1,6 @@
1
+ interface:
2
+ display_name: "pm Release"
3
+ short_description: "Run pm release workflows with linked evidence"
4
+ icon_small: "./assets/pm-cli-small.svg"
5
+ icon_large: "./assets/pm-cli-small.svg"
6
+ default_prompt: "Use native pm tools to prepare, gate, publish-check, and document this pm-cli release."