pm-context 2026.7.14 → 2026.7.22

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/README.md CHANGED
@@ -116,3 +116,12 @@ Options:
116
116
  Project management is context management. `pm-context` makes that concrete by
117
117
  turning pm's source-of-truth items into portable context that can be reviewed,
118
118
  sent to another agent, or attached to a pull request.
119
+
120
+ ## Multi-agent merge safety
121
+
122
+ This repo tracks its project management in `.agents/pm/` and ships a committed `.gitattributes`
123
+ that maps those tracker artifacts to pm-cli's field-aware Git merge drivers, so concurrent-branch
124
+ tracker edits merge cleanly instead of hard-conflicting. The driver **definitions** live in
125
+ per-clone Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script
126
+ (guarded — it runs `pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so production / `--omit=dev` installs are not broken). To (re)run manually: `npm run merge:install`. After merging a branch that
127
+ touched `.agents/pm/`, run `pm history-repair --all` to reconcile history verification.
package/dist/index.js CHANGED
@@ -853,7 +853,7 @@ function setupCommands(api) {
853
853
  }
854
854
  export default defineExtension({
855
855
  name: "pm-context",
856
- version: "2026.7.14",
856
+ version: "2026.7.22",
857
857
  description: "Generate deterministic pm context packs for agent handoffs, reviews, and status briefs",
858
858
  activate(api) {
859
859
  setupCommands(api);
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-context",
3
- "version": "2026.7.14",
3
+ "version": "2026.7.22",
4
4
  "description": "Generate deterministic pm context packs for agent handoffs, reviews, and status briefs",
5
5
  "author": "@unbraind",
6
6
  "entry": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-context",
3
- "version": "2026.7.14",
3
+ "version": "2026.7.22",
4
4
  "description": "Generate deterministic pm context packs for agent handoffs, reviews, and status briefs",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,9 @@
26
26
  "changelog:check": "pm-changelog --pm-root .agents/pm --mode replace --output CHANGELOG.md --all-release-tags --release-version-from-package --item-url-base https://github.com/unbraind/pm-context/blob/main/.agents/pm --check",
27
27
  "release:notes": "pm-changelog --pm-root .agents/pm --stdout --since-previous-tag --until-release-tag --release-version-from-package --item-url-base https://github.com/unbraind/pm-context/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary",
28
28
  "release:check": "npm run typecheck && npm run build && npm test && npm run audit:prod && npm run pack:dry-run && npm run changelog:check",
29
- "prepublishOnly": "npm run release:check"
29
+ "prepublishOnly": "npm run release:check",
30
+ "prepare": "if command -v pm >/dev/null 2>&1; then pm merge install; fi",
31
+ "merge:install": "pm merge install"
30
32
  },
31
33
  "keywords": [
32
34
  "pm-cli",
@@ -50,7 +52,7 @@
50
52
  },
51
53
  "devDependencies": {
52
54
  "@types/node": "^26.1.1",
53
- "@unbrained/pm-cli": "^2026.7.10",
55
+ "@unbrained/pm-cli": "^2026.7.21",
54
56
  "pm-changelog": "^2026.7.10",
55
57
  "typescript": "^7.0.2"
56
58
  },