@unbrained/pm-cli 2026.8.31 → 2026.9.2
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/AGENTS.md +15 -13
- package/CHANGELOG.md +33 -6
- package/README.md +3 -3
- package/dist/cli/commands/merge.d.ts +1 -1
- package/dist/cli/commands/merge.js +3 -3
- package/dist/cli/register-mutation.js +8 -5
- package/dist/cli-bundle/bundle-manifest.json +129 -129
- package/dist/cli-bundle/chunks/{chunk-52JXYSDW.js → chunk-3WICXLVT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JIFYOJF7.js → chunk-DTGWEL23.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SXMHPK4V.js → chunk-FZ4Z2J4F.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-GOACULJW.js +13 -0
- package/dist/cli-bundle/chunks/{chunk-NW6LV3TU.js → chunk-NOPL37X4.js} +64 -64
- package/dist/cli-bundle/chunks/{chunk-OUGDA7NR.js → chunk-T6H5BZCP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IEFJ3ZEB.js → chunk-TAG4VC22.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-MWIN6OH2.js → chunk-UDW64J2W.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5DH5XCJL.js → chunk-X4RCGLTX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QZCIBZR3.js → chunk-Y7VOMSZT.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-ZLJIFSOE.js +35 -0
- package/dist/cli-bundle/chunks/{register-list-query-7C7DKZ2U.js → register-list-query-XYNX4ASQ.js} +2 -2
- package/dist/cli-bundle/chunks/register-mutation-WFQ7MJTX.js +20 -0
- package/dist/cli-bundle/chunks/{register-operations-IIMA5OKO.js → register-operations-JVTI7JPP.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-52H36QCB.js → register-setup-KVNC5KPL.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-VJ7EFMFL.js → chunk-242AXYB2.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-7VATS5QY.js +16 -0
- package/dist/cli-bundle/focused-chunks/{chunk-FOMZ6NG5.js → chunk-MKHG3T76.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-JCOOAUHK.js → chunk-O67VDLOT.js} +48 -48
- package/dist/cli-bundle/focused-chunks/{chunk-UN34D63M.js → chunk-PF3E6Q36.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-APN4QN6R.js → chunk-RMRCQPWU.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-BPWJ4QM5.js → chunk-S4U5CN5Q.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-T2LXXSOD.js +158 -0
- package/dist/cli-bundle/main.js +2 -2
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +25 -25
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +32 -32
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +10 -10
- package/dist/core/diagnostics/remediation.js +9 -4
- package/dist/core/history/drift-scan.js +6 -6
- package/dist/core/history/history.d.ts +6 -0
- package/dist/core/history/history.js +47 -5
- package/dist/core/history/replay.d.ts +12 -1
- package/dist/core/history/replay.js +60 -39
- package/dist/mcp/server.d.ts +2 -2
- package/dist/mcp/server.js +78 -15
- package/dist/mcp/tool-definitions.js +56 -2
- package/dist/sdk/agent-capability-contracts.js +4 -2
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +14 -2
- package/dist/sdk/governance/health.js +77 -11
- package/dist/sdk/governance/validate.js +4 -2
- package/dist/sdk/history-read.js +14 -6
- package/dist/sdk/history-repair.js +17 -10
- package/dist/sdk/index.d.ts +1 -0
- package/dist/sdk/index.js +3 -2
- package/dist/sdk/init-agent-guidance.js +4 -4
- package/dist/sdk/lifecycle/update.js +23 -10
- package/dist/sdk/mcp/discovery.d.ts +152 -0
- package/dist/sdk/mcp/discovery.js +495 -0
- package/dist/sdk/merge/index.d.ts +1 -1
- package/dist/sdk/merge/index.js +3 -3
- package/dist/sdk/merge/receipts.d.ts +51 -1
- package/dist/sdk/merge/receipts.js +146 -35
- package/dist/sdk/merge/three-way.d.ts +3 -1
- package/dist/sdk/merge/three-way.js +9 -7
- package/dist/sdk/runtime-extended-actions.js +4 -4
- package/docs/AGENT_GUIDE.md +11 -3
- package/docs/ARCHITECTURE.md +5 -0
- package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/CONTEXT_RECOVERY_PRIMITIVES.md +24 -6
- package/docs/MCP_2026_07_28.md +9 -5
- package/docs/MCP_CAPABILITY_SURFACES.md +7 -1
- package/docs/MCP_REMOTE_TRANSPORT_SECURITY.md +11 -1
- package/docs/MERGE_SAFETY.md +44 -2
- package/docs/OUTPUT_TOKEN_ACCOUNTING.md +5 -3
- package/docs/PROGRESSIVE_TOOL_DISCOVERY.md +42 -0
- package/docs/README.md +1 -0
- package/docs/agent-task-token-baseline.json +157 -3
- package/docs/agent-task-transcripts.json +143 -0
- package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +4 -3
- package/docs/performance/cli-transport-overhead.md +8 -6
- package/marketplace.json +2 -2
- package/package.json +2 -2
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/README.md +4 -3
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +168 -2
- package/dist/cli-bundle/chunks/chunk-2XVV45NJ.js +0 -35
- package/dist/cli-bundle/chunks/chunk-3FCSFWZT.js +0 -13
- package/dist/cli-bundle/chunks/register-mutation-OI4BJLUX.js +0 -20
- package/dist/cli-bundle/focused-chunks/chunk-BMD42PUG.js +0 -158
- package/dist/cli-bundle/focused-chunks/chunk-EUTABA4M.js +0 -16
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Official marketplace for pm CLI — native git-based project management for Claude Code and AI coding agents.",
|
|
9
|
-
"version": "2026.
|
|
9
|
+
"version": "2026.9.2"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "pm-claude",
|
|
14
14
|
"source": "./plugins/pm-claude",
|
|
15
15
|
"description": "Native pm CLI integration for Claude Code — 28 MCP tools, 5 workflow skills, 14 slash commands, 4 subagents, hybrid TUI task tracking, session context injection, and coordination subagents for git-based project management without leaving Claude Code.",
|
|
16
|
-
"version": "2026.
|
|
16
|
+
"version": "2026.9.2",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "unbrained",
|
|
19
19
|
"url": "https://github.com/unbraind/pm-cli"
|
package/AGENTS.md
CHANGED
|
@@ -4,15 +4,15 @@ This file is the low-context entrypoint for agents working in this repository. R
|
|
|
4
4
|
|
|
5
5
|
## Progressive Disclosure
|
|
6
6
|
|
|
7
|
-
| Need
|
|
8
|
-
|
|
9
|
-
| Agent workflow and ownership
|
|
10
|
-
| Exact command families and examples | [Command Reference](docs/COMMANDS.md)
|
|
11
|
-
| Sandbox-safe verification
|
|
12
|
-
| Settings, output, and environment
|
|
13
|
-
| Package or extension work
|
|
14
|
-
| Release work
|
|
15
|
-
| Full docs map
|
|
7
|
+
| Need | Read |
|
|
8
|
+
| ----------------------------------- | ----------------------------------------------------------------- |
|
|
9
|
+
| Agent workflow and ownership | [Agent Guide](docs/AGENT_GUIDE.md) |
|
|
10
|
+
| Exact command families and examples | [Command Reference](docs/COMMANDS.md) |
|
|
11
|
+
| Sandbox-safe verification | [Testing](docs/TESTING.md) |
|
|
12
|
+
| Settings, output, and environment | [Configuration](docs/CONFIGURATION.md) |
|
|
13
|
+
| Package or extension work | [Packages and Extensions](docs/EXTENSIONS.md), [SDK](docs/SDK.md) |
|
|
14
|
+
| Release work | [Releasing](docs/RELEASING.md) |
|
|
15
|
+
| Full docs map | [Documentation Index](docs/README.md) |
|
|
16
16
|
|
|
17
17
|
Use runtime contracts for exact flags because packages and settings can change the active surface:
|
|
18
18
|
|
|
@@ -58,10 +58,11 @@ On a fresh clone or worktree, also run `pm merge install` once: the committed `.
|
|
|
58
58
|
For real repository tracking, do not override `PM_PATH`. If a script must target a tracker explicitly, prefer `--pm-path <repo>/.agents/pm`; `--path` is only a backward-compatible tracker-root alias, not a workspace/cwd flag. For tests and dogfood runs, use sandboxed `PM_PATH` and `PM_GLOBAL_PATH`; prefer `node scripts/run-tests.mjs ...` because it sets them automatically.
|
|
59
59
|
|
|
60
60
|
<!-- pm-cli:agent-guidance:start:v1 -->
|
|
61
|
+
|
|
61
62
|
## pm Workflow Quickstart
|
|
62
63
|
|
|
63
64
|
```bash
|
|
64
|
-
pm context --limit 10
|
|
65
|
+
pm context --limit 10 --for orient
|
|
65
66
|
pm search "<request keywords>" --limit 10
|
|
66
67
|
pm list --status open --limit 20
|
|
67
68
|
pm list --status in_progress --limit 20
|
|
@@ -73,21 +74,22 @@ pm docs <id> --add path=<path>,scope=project,note="<why>"
|
|
|
73
74
|
pm test <id> --add command="node scripts/run-tests.mjs test -- <target>",scope=project,timeout_seconds=240
|
|
74
75
|
pm comments <id> "Evidence: <what changed and what passed>"
|
|
75
76
|
pm test <id> --run --progress
|
|
76
|
-
pm close <id> "<reason with evidence>" --validate-close warn
|
|
77
|
+
pm close <id> "<reason with evidence>" --resolution "<what changed>" --expected "<expected outcome>" --actual "<observed outcome>" --validate-close warn
|
|
77
78
|
pm release <id>
|
|
78
79
|
```
|
|
79
80
|
|
|
80
81
|
Author identity is automatic; use `--author` only for an explicit override.
|
|
82
|
+
|
|
81
83
|
<!-- pm-cli:agent-guidance:end -->
|
|
82
84
|
|
|
83
85
|
## Working Rules
|
|
84
86
|
|
|
85
|
-
- **Orient:**
|
|
87
|
+
- **Orient:** start with the measured canonical cold-start, `pm context --limit 10 --for orient`. Before `pm create`, also run request-specific `pm search`, `pm list --status open`, and `pm list --status in_progress` so duplicate and ownership checks use live state. If net-new work is required, create or reuse the parent lineage first and record duplicate-check evidence in a create-time comment.
|
|
86
88
|
- **Verify before you claim:** the verification recipe for the Non-Negotiable above. A `closed` item whose `resolution`/`close_reason` describes the fix represents completed, shipped work — never describe it as outstanding. Confirm release/CI/infra status against the live system, e.g. `pm get pm-9gxi`, `npm view @unbrained/pm-cli version`, `gh release list`, `gh run list --workflow=auto-release.yml`.
|
|
87
89
|
- **Implement:** keep edits scoped to the claimed item. Link changed files with `pm files`, docs with `pm docs`, and runnable verification with `pm test`.
|
|
88
90
|
- **Record:** use `pm comments`, `pm notes`, and `pm learnings` for progress, rationale, and durable lessons. Prefer append-style updates over rewriting item content.
|
|
89
91
|
- **Verify:** use sandbox-safe commands. For documentation-only work, run at least `pnpm build` and a focused link/content check. For broader work, run linked tests, coverage, validation, and release gates as appropriate.
|
|
90
|
-
- **Close:** add evidence first, then `pm close <id> "<reason>" --validate-close warn`, then `pm release <id>`.
|
|
92
|
+
- **Close:** add evidence first, then atomically include `--resolution`, `--expected`, and `--actual` on `pm close <id> "<reason>" --validate-close warn`, then `pm release <id>`. Structured evidence belongs in the immutable close event, not in a later backfill.
|
|
91
93
|
- **Land closeout through review:** tracker evidence, item closure, and the generated changelog are part of the reviewed delivery. Never push post-merge closeout commits directly to `main`; if evidence depends on the merge SHA, carry it in a normal `main`-based follow-up PR so the new head retains analyzer provenance. See [Releasing](docs/RELEASING.md#reviewed-delivery-closeout).
|
|
92
94
|
|
|
93
95
|
## Test Safety
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026.9.2 - 2026-09-02
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- GH-1174: Windows Node 24 receipt traversal negative control must fail closed portably ([pm-r97901](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-r97901.toon))
|
|
8
|
+
|
|
9
|
+
### Security
|
|
10
|
+
|
|
11
|
+
- GH-1173: make merge-receipt evidence diagnostics source-stable and record-addressable ([pm-dn8rwl](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-dn8rwl.toon))
|
|
12
|
+
|
|
13
|
+
## 2026.9.1 - 2026-09-01
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- GH-796: duplicate recurrence now reopens the canonical terminal item instead of creating a second item ([pm-83cz0o](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/features/pm-83cz0o.toon))
|
|
18
|
+
- Progressive MCP discovery and canonical tool results: reveal the minimum relevant catalog and deliver one unambiguous model-facing output contract ([pm-3g3f8z](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/features/pm-3g3f8z.toon))
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- The two-call agent cold start proposed as canonical costs more tokens than the four-call protocol it replaces, and no gate measures either ([pm-jjqyzd](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-jjqyzd.toon))
|
|
23
|
+
- GH-1166: root help hides the --all discovery option that reveals the full command surface ([pm-7f9zkh](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-7f9zkh.toon))
|
|
24
|
+
- GH-1104: health must not certify pending lossless merge receipts as reconciled ([pm-baksix](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-baksix.toon))
|
|
25
|
+
- GH-1135: item_hash_version 2 still masks writer hash divergence as corruption ([pm-2qahia](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-2qahia.toon))
|
|
26
|
+
|
|
27
|
+
### Other
|
|
28
|
+
|
|
29
|
+
- Document the measured canonical agent cold-start across docs and generated guidance ([pm-ka6d](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/chores/pm-ka6d.toon))
|
|
30
|
+
- Close-time completeness signal for structured resolution fields (resolution/expected/actual) — config-gated warn or require ([pm-wenq](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/tasks/pm-wenq.toon))
|
|
31
|
+
|
|
3
32
|
## 2026.8.31 - 2026-08-31
|
|
4
33
|
|
|
5
34
|
### Added
|
|
@@ -14,6 +43,10 @@
|
|
|
14
43
|
- The local preflight token-budget gate is red on a workstation and green in hosted CI for the same commit again, because the earlier remediation closed the one ambient channel that had bitten instead of closing the fixture's environment ([pm-4o7tlx](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-4o7tlx.toon))
|
|
15
44
|
- The bounded legacy MCP compatibility set stops one revision short of the spec's own legacy boundary, so every current host is refused at initialize and the dual-era guarantee is unmet ([pm-edywqn](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-edywqn.toon))
|
|
16
45
|
|
|
46
|
+
### Security
|
|
47
|
+
|
|
48
|
+
- Refresh compatible GitHub Actions and tsx tooling dependencies ([pm-k47gdd](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/chores/pm-k47gdd.toon))
|
|
49
|
+
|
|
17
50
|
### Deprecated
|
|
18
51
|
|
|
19
52
|
- The project's own agent-facing documentation and skills instruct deprecated command spellings, so the alias-usage signal that decides when a spelling can be retired is manufactured by the instructions rather than observed from callers ([pm-q2n4vd](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-q2n4vd.toon))
|
|
@@ -34,7 +67,6 @@
|
|
|
34
67
|
- GH-1148: cached drift mismatch can falsely report tracker corruption ([pm-sxg7wl](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-sxg7wl.toon))
|
|
35
68
|
- GH-1138: linked test name filters can pass after executing zero tests ([pm-ntnv4k](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-ntnv4k.toon))
|
|
36
69
|
- GH-1136: npm 12 object-form npm pack receipts break registry package installs ([pm-xrjy8o](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-xrjy8o.toon))
|
|
37
|
-
- GH-1135: item_hash_version 2 still masks writer hash divergence as corruption ([pm-2qahia](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-2qahia.toon))
|
|
38
70
|
- The annotation key=value grammar has three divergent comma behaviours, two of which silently corrupt the evidence text before it is made immutable ([pm-hu92i3](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-hu92i3.toon))
|
|
39
71
|
- GH-1150: health remediation for pending merge receipts must perform the repair ([pm-r0p3at](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-r0p3at.toon))
|
|
40
72
|
- GH-1134: required collection recovery omits truthful --clear-\* intent ([pm-t7wl00](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-t7wl00.toon))
|
|
@@ -132,7 +164,6 @@
|
|
|
132
164
|
|
|
133
165
|
### Fixed
|
|
134
166
|
|
|
135
|
-
- GH-1104: health must not certify pending lossless merge receipts as reconciled ([pm-baksix](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-baksix.toon))
|
|
136
167
|
- Dynamic-read continuation cursors are born stale: pm health emits a cursor that its next invocation rejects ([pm-oahhyc](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-oahhyc.toon))
|
|
137
168
|
- GH-1105: contracts must declare each command projection vocabulary before invocation ([pm-q4isdq](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-q4isdq.toon))
|
|
138
169
|
- The outcome-milestone ladder is a sibling set rather than a layer: 1,024 terminal items reach the roadmap apex through 154 typed roots without traversing any outcome milestone ([pm-h6b73t](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-h6b73t.toon))
|
|
@@ -223,10 +254,6 @@
|
|
|
223
254
|
|
|
224
255
|
## 2026.8.20 - 2026-08-20
|
|
225
256
|
|
|
226
|
-
### Added
|
|
227
|
-
|
|
228
|
-
- GH-796: no reopen transition for terminal items, so recurrence is recorded as a duplicate instead of a reopening ([pm-83cz0o](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/features/pm-83cz0o.toon))
|
|
229
|
-
|
|
230
257
|
### Fixed
|
|
231
258
|
|
|
232
259
|
- GH-529: init --agent-guidance emits run-tests.mjs linked-test example that may not exist in the target repo ([pm-surv](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/issues/pm-surv.toon))
|
package/README.md
CHANGED
|
@@ -99,11 +99,11 @@ pm release <item-id>
|
|
|
99
99
|
|
|
100
100
|
## Agent Loop
|
|
101
101
|
|
|
102
|
-
Use `pm next`
|
|
102
|
+
Use the measured one-call context intent for cold-start orientation. Use `pm next` as an alternative when you only need the single highest-priority ready item, then search all statuses before creating anything. Measurement methodology and ratcheted evidence live in the [Agent Guide](docs/AGENT_GUIDE.md#agent-quick-context).
|
|
103
103
|
|
|
104
104
|
```bash
|
|
105
|
-
pm
|
|
106
|
-
pm
|
|
105
|
+
pm context --limit 10 --for orient # canonical cold start: state, ownership, actionable work
|
|
106
|
+
# Alternative: pm next # one actionable item + rationale, ready/blocked queues
|
|
107
107
|
pm search "keywords for the requested work" --limit 10
|
|
108
108
|
pm list --status open --limit 20
|
|
109
109
|
pm list --status in_progress --limit 20
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* primitives. The SDK owns the three-way merge semantics, the git merge
|
|
6
6
|
* driver runner, and the repository merge-configuration installer.
|
|
7
7
|
*/
|
|
8
|
-
export { MERGE_DRIVER_ARTIFACT_VALUES, mergeHistoryStreams, mergeItemDocuments, mergeJsonDocuments, runMergeDriver, runMergeInstall, runMergeReceiptReport, runMergeReconcile, type MergeDriverArtifact, type MergeDriverOptions, type MergeDriverResult, type MergeInstallOptions, type MergeInstallResult, type MergeReceiptReport, type MergeReconcileOptions, type MergeReconcileResult, } from "../../sdk/merge/index.js";
|
|
8
|
+
export { MERGE_DRIVER_ARTIFACT_VALUES, mergeHistoryStreams, mergeItemDocuments, mergeJsonDocuments, runMergeDriver, runMergeInstall, runMergeReceiptEvidenceReport, runMergeReceiptReport, runMergeReconcile, type MergeDriverArtifact, type MergeDriverOptions, type MergeDriverResult, type MergeInstallOptions, type MergeInstallResult, type MergeReceiptEvidenceReport, type MergeReceiptReport, type MergeReconcileOptions, type MergeReconcileResult, } from "../../sdk/merge/index.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* driver runner, and the repository merge-configuration installer.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
10
|
-
export { MERGE_DRIVER_ARTIFACT_VALUES, mergeHistoryStreams, mergeItemDocuments, mergeJsonDocuments, runMergeDriver, runMergeInstall, runMergeReceiptReport, runMergeReconcile, } from "../../sdk/merge/index.js";
|
|
9
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0ac2cdcd-45da-5420-ba98-a49ecf54f75c")}catch(e){}}();
|
|
10
|
+
export { MERGE_DRIVER_ARTIFACT_VALUES, mergeHistoryStreams, mergeItemDocuments, mergeJsonDocuments, runMergeDriver, runMergeInstall, runMergeReceiptEvidenceReport, runMergeReceiptReport, runMergeReconcile, } from "../../sdk/merge/index.js";
|
|
11
11
|
//# sourceMappingURL=merge.js.map
|
|
12
|
-
//# debugId=
|
|
12
|
+
//# debugId=0ac2cdcd-45da-5420-ba98-a49ecf54f75c
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4e3b2528-5128-5bfd-8234-1e60fe90d9e2")}catch(e){}}();
|
|
3
3
|
import { resolveBodyFileContent, resolveCliBulkIdsInput, EXIT_CODE, splitCommaList, PmCliError, createUnknownSubcommandError, } from "../sdk/runtime-primitives.js";
|
|
4
4
|
import { CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, MERGE_SUBCOMMAND_VALUES, PLAN_CREATE_METADATA_PARAMETER_KEYS, UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS, } from "../sdk/cli-contracts.js";
|
|
5
5
|
import { BUILTIN_ITEM_TYPE_VALUES, PLAN_STEP_LINK_KIND_VALUES, } from "../types/index.js";
|
|
6
|
-
import { MERGE_DRIVER_ARTIFACT_VALUES, runMergeDriver, runMergeInstall, runMergeReconcile,
|
|
6
|
+
import { MERGE_DRIVER_ARTIFACT_VALUES, runMergeDriver, runMergeInstall, runMergeReconcile, runMergeReceiptEvidenceReport, } from "./commands/merge.js";
|
|
7
7
|
import { runAppend } from "./commands/append.js";
|
|
8
8
|
import { runClose } from "./commands/close.js";
|
|
9
9
|
import { runCloseMany } from "./commands/close-many.js";
|
|
@@ -847,9 +847,12 @@ async function runMergeAction(subcommand, artifact, base, ours, theirs, options,
|
|
|
847
847
|
if (artifact !== undefined) {
|
|
848
848
|
throw new PmCliError("merge report takes no positional arguments.", EXIT_CODE.USAGE);
|
|
849
849
|
}
|
|
850
|
-
|
|
850
|
+
const result = await runMergeReceiptEvidenceReport({
|
|
851
851
|
includeReconciled: options.includeReconciled === true,
|
|
852
|
-
})
|
|
852
|
+
});
|
|
853
|
+
printResult(result, globalOptions);
|
|
854
|
+
if (!result.ok)
|
|
855
|
+
process.exitCode = EXIT_CODE.GENERIC_FAILURE;
|
|
853
856
|
break;
|
|
854
857
|
}
|
|
855
858
|
case "driver":
|
|
@@ -1886,4 +1889,4 @@ export function registerMutationCommands(program, registrationOptions = {}) {
|
|
|
1886
1889
|
.action(runDepsAction);
|
|
1887
1890
|
}
|
|
1888
1891
|
//# sourceMappingURL=register-mutation.js.map
|
|
1889
|
-
//# debugId=
|
|
1892
|
+
//# debugId=4e3b2528-5128-5bfd-8234-1e60fe90d9e2
|