pm-ts-starter 2026.7.22 → 2026.7.23

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026.7.23 - 2026-07-23
4
+
5
+ ### Fixed
6
+
7
+ - Recommend pm merge reconcile (2026.7.22) over raw history-repair in Multi-agent merge safety docs ([pm-ts-starter-quha](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/issues/pm-ts-starter-quha.toon))
8
+
9
+ ### Other
10
+
11
+ - Adopt pm field-aware merge driver for multi-agent branch-merge safety ([pm-ts-starter-vevn](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/chores/pm-ts-starter-vevn.toon))
12
+
3
13
  ## 2026.7.19 - 2026-07-19
4
14
 
5
15
  ### Added
package/README.md CHANGED
@@ -137,6 +137,16 @@ This package is release-ready for GitHub, npm, and Bun-compatible installs. CI r
137
137
  This repo tracks its project management in `.agents/pm/` and ships a committed `.gitattributes`
138
138
  that maps those tracker artifacts to pm-cli's field-aware Git merge drivers, so concurrent-branch
139
139
  tracker edits merge cleanly instead of hard-conflicting. The driver **definitions** live in
140
- per-clone Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script
141
- (`pm merge install`). To (re)run manually: `npm run merge:install`. After merging a branch that
142
- touched `.agents/pm/`, run `pm history-repair --all` to reconcile history verification.
140
+ per-clone Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script (a portable Node guard, `scripts/prepare-merge-driver.mjs`: it runs
141
+ `pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so
142
+ production / `--omit=dev` installs are not broken; being Node-based it behaves identically
143
+ on POSIX shells and Windows `cmd.exe`). To (re)run manually: `npm run merge:install`.
144
+
145
+ After merging a branch that touched `.agents/pm/`, reconcile any residual history-hash drift with
146
+ **`pm merge reconcile`** (pm-cli ≥ 2026.7.22): preview with `pm merge reconcile --dry-run`, apply with
147
+ `pm merge reconcile --message "post-merge reconcile"`, then confirm with `pm validate`, which scans the
148
+ whole tracker and flags remaining history drift across **every** affected item (`pm merge reconcile`
149
+ itself lists each affected stream in its output; `pm history --verify <id>` spot-checks one item). The field-aware driver already unions every author's
150
+ content, so `reconcile` only re-greens the hash chain (no data loss) — see the authoritative
151
+ [pm-cli merge-safety guide](https://github.com/unbraind/pm-cli/blob/main/docs/MERGE_SAFETY.md). The
152
+ older blunt `pm history-repair --all` remains available as a lower-level primitive.
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-ts-starter",
3
- "version": "2026.7.22",
3
+ "version": "2026.7.23",
4
4
  "description": "TypeScript reference extension covering all 9 SDK capability types: commands, renderers, hooks, schema, importers, search, parser, preflight, services. Aligned to the pm-cli 2026.7.6 SDK: demonstrates defineExtension plus registerCommand/registerFlags (with failure_hints + typed positional arguments), registerItemFields/registerItemTypes/registerMigration, the five api.hooks.* lifecycle hooks, registerImporter/registerExporter (with ImportExportRegistrationOptions), registerRenderer, registerSearchProvider/registerVectorStoreAdapter, registerParser, registerPreflight, registerService, PmCliExpectedError-shaped errors, demo commands for the plan/context/search/history-compact pm surfaces, and a guided `ts-starter setup --interactive` onboarding - all fully typed.",
5
5
  "author": "@unbraind",
6
6
  "entry": "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-ts-starter",
3
- "version": "2026.7.22",
3
+ "version": "2026.7.23",
4
4
  "description": "TypeScript reference extension for pm-cli covering all capability types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "release:check": "npm run typecheck && npm run build && npm test && npm run audit:prod && npm run pack:dry-run && npm run changelog:check",
35
35
  "prepublishOnly": "npm run release:check",
36
36
  "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-ts-starter/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary",
37
- "prepare": "if command -v pm >/dev/null 2>&1; then pm merge install; fi",
37
+ "prepare": "node scripts/prepare-merge-driver.mjs",
38
38
  "merge:install": "pm merge install"
39
39
  },
40
40
  "peerDependencies": {
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^26.1.1",
45
- "@unbrained/pm-cli": "^2026.7.21",
45
+ "@unbrained/pm-cli": "^2026.7.22",
46
46
  "pm-changelog": "^2026.7.6",
47
47
  "typescript": "^7.0.2"
48
48
  },