pm-ts-starter 2026.8.7 → 2026.8.8

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026.8.8 - 2026-08-08
4
+
5
+ ### Other
6
+
7
+ - Adopt pm CLI and SDK 2026.8.7 with extension-asset merge safety ([pm-ts-starter-sirq](https://github.com/unbraind/pm-ts-starter/blob/main/.agents/pm/chores/pm-ts-starter-sirq.toon))
8
+
3
9
  ## 2026.8.7 - 2026-08-07
4
10
 
5
11
  ### Fixed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pm-ts-starter
2
2
 
3
- TypeScript reference extension for [pm-cli](https://github.com/unbraind/pm-cli) covering **all 9 SDK capability types** in one fully-typed `index.ts`, aligned to the **pm-cli 2026.7.6 SDK**.
3
+ TypeScript reference extension for [pm-cli](https://github.com/unbraind/pm-cli) covering **all 9 SDK capability types** in one fully-typed `index.ts`, aligned to the **pm-cli 2026.8.7 SDK**.
4
4
 
5
5
  Each capability is a small, SAFE, inert demo with teaching comments. Copy the
6
6
  ones you need into your own extension and delete the rest. The reference also
@@ -55,7 +55,7 @@ pm ts-starter-demo import
55
55
  pm ts-starter-demo export
56
56
  ```
57
57
 
58
- The 2026.7.6 SDK accepts an optional third `options` argument
58
+ The current SDK accepts an optional third `options` argument
59
59
  (`ImportExportRegistrationOptions`) that adds a full command definition
60
60
  (description, flags, intent, examples, `failure_hints`, positional arguments)
61
61
  to the auto-created command path — surfaced in help exactly like
@@ -95,7 +95,7 @@ Every `registerCommand` definition now carries:
95
95
  (`ExtensionCommandArgumentDefinition`), so help output and runtime contracts
96
96
  describe positional args, not just flags.
97
97
  - **`value_type`** on every flag (`string` | `number` | `boolean`), the field
98
- the 2026.7.6 SDK reads first (over the legacy `type`).
98
+ the current SDK reads first (over the legacy `type`).
99
99
 
100
100
  Command handlers throw **`PmCliExpectedError`-shaped errors** built locally
101
101
  (`pmExpectedError`) rather than importing the CLI's error class at runtime.
@@ -137,7 +137,7 @@ 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 (a portable Node guard, `scripts/prepare-merge-driver.mjs`: it runs
140
+ per-clone Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script (a portable TypeScript guard, `scripts/prepare-merge-driver.ts`: it runs
141
141
  `pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so
142
142
  production / `--omit=dev` installs are not broken; being Node-based it behaves identically
143
143
  on POSIX shells and Windows `cmd.exe`). To (re)run manually: `npm run merge:install`.
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-ts-starter",
3
- "version": "2026.8.7",
3
+ "version": "2026.8.8",
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.8.7",
3
+ "version": "2026.8.8",
4
4
  "description": "TypeScript reference extension for pm-cli covering all capability types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,17 +34,17 @@
34
34
  "release:check": "npm run typecheck && npm run build && npm run coverage && 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 --respect-item-release --pm-bin ./node_modules/.bin/pm --github-step-summary",
37
- "prepare": "node scripts/prepare-merge-driver.mjs",
37
+ "prepare": "node scripts/prepare-merge-driver.ts",
38
38
  "merge:install": "pm merge install",
39
39
  "coverage": "npm run build && npm run build:test && node scripts/coverage-gate.ts"
40
40
  },
41
41
  "peerDependencies": {
42
- "@unbrained/pm-cli": ">=2026.7.29"
42
+ "@unbrained/pm-cli": ">=2026.8.7"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "^26.1.1",
46
- "@unbrained/pm-cli": "^2026.7.29",
47
- "pm-changelog": "^2026.7.25",
45
+ "@types/node": "^26.2.0",
46
+ "@unbrained/pm-cli": "^2026.8.7",
47
+ "pm-changelog": "^2026.8.7",
48
48
  "typescript": "^7.0.2"
49
49
  },
50
50
  "keywords": [
@@ -99,7 +99,8 @@
99
99
  "coverageGate": {
100
100
  "sources": [
101
101
  ".",
102
- "scripts/coverage-gate.ts"
102
+ "scripts/coverage-gate.ts",
103
+ "scripts/prepare-merge-driver.ts"
103
104
  ],
104
105
  "tests": [
105
106
  "test/*.test.ts"