@mediadatafusion/pi-workflow-suite 0.0.12 → 0.0.14

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
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable public releases will be documented in this file.
4
4
 
5
+ ## [0.0.14] - 2026-06-08
6
+
7
+ ### Fixed
8
+
9
+ - Restored the npm/pi.dev publish preparation path so the package-safe README is active before npm publish starts, preserving the rendered package README while keeping media pinned to the published `0.0.12` assets.
10
+
11
+ ## [0.0.13] - 2026-06-08
12
+
13
+ ### Changed
14
+
15
+ - Prepared the small runtime package to use the refreshed `0.0.12` npm-hosted package media while keeping promotional media assets out of the install payload.
16
+
5
17
  ## [0.0.12] - 2026-06-07
6
18
 
7
19
  ### Added
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![Install](https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.12/docs/assets/readme-link-install.svg)](#installation) [![Quick Start](https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.12/docs/assets/readme-link-quick-start.svg)](#quick-start) [![Commands](https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.12/docs/assets/readme-link-commands.svg)](#core-commands) [![Settings](https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.12/docs/assets/readme-link-settings.svg)](#settings-reference)
6
6
 
7
- **Workflow Suite Version:** `v0.0.12`
7
+ **Workflow Suite Version:** `v0.0.14`
8
8
 
9
9
  ## Overview
10
10
 
@@ -1007,8 +1007,8 @@ pi install -l npm:@mediadatafusion/pi-workflow-suite
1007
1007
  ### Installing specific versions
1008
1008
 
1009
1009
  ```bash
1010
- pi install npm:@mediadatafusion/pi-workflow-suite@0.0.12
1011
- pi install -l npm:@mediadatafusion/pi-workflow-suite@0.0.12
1010
+ pi install npm:@mediadatafusion/pi-workflow-suite@0.0.14
1011
+ pi install -l npm:@mediadatafusion/pi-workflow-suite@0.0.14
1012
1012
  ```
1013
1013
 
1014
1014
  An unversioned install follows normal update behavior: `pi update` and `pi update --extensions` will pick up new package releases. A versioned install pins the package to that version. Pinned package specs are intentionally skipped by Pi's normal package update commands. To move a pinned install to a newer version, reinstall with the desired version. To switch back to latest tracking, use the unversioned install command without `@<version>`.
@@ -1214,10 +1214,10 @@ See `docs/TROUBLESHOOTING.md` for detailed diagnostics.
1214
1214
 
1215
1215
  ## Versioning
1216
1216
 
1217
- The current preparation version is `v0.0.12`. Version information is intentionally aligned across:
1217
+ The current preparation version is `v0.0.14`. Version information is intentionally aligned across:
1218
1218
 
1219
- - `VERSION` (`v0.0.12`),
1220
- - `package.json` (`0.0.12`),
1219
+ - `VERSION` (`v0.0.14`),
1220
+ - `package.json` (`0.0.14`),
1221
1221
  - `package-lock.json`,
1222
1222
  - this README,
1223
1223
  - Workflow Suite settings/about output.
package/VERSION CHANGED
@@ -1 +1 @@
1
- v0.0.12
1
+ v0.0.14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediadatafusion/pi-workflow-suite",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Structured workflow orchestration suite for Pi with Standard, Plan, Mission, compaction, diagrams, web access, repo lock, and safety gates.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -41,7 +41,6 @@
41
41
  "agents/",
42
42
  "config/",
43
43
  "themes/",
44
- "docs/assets/",
45
44
  "scripts/install-to-live.sh",
46
45
  "scripts/verify-live.sh",
47
46
  "scripts/audit-live.sh",
@@ -115,7 +114,9 @@
115
114
  "prepack": "node scripts/prepare-package-readme.mjs apply",
116
115
  "postpack": "node scripts/prepare-package-readme.mjs restore --pack",
117
116
  "restore:package-readme": "node scripts/prepare-package-readme.mjs restore",
118
- "prepublishOnly": "node scripts/prepare-package-readme.mjs apply --publish",
117
+ "prepare:publish-readme": "node scripts/prepare-package-readme.mjs apply --publish && node scripts/prepare-package-readme.mjs check",
118
+ "cleanup:publish-readme": "node scripts/prepare-package-readme.mjs restore",
119
+ "prepublishOnly": "node scripts/prepare-package-readme.mjs ensure-publish-ready",
119
120
  "postpublish": "node scripts/prepare-package-readme.mjs restore --publish",
120
121
  "check:package-readme": "node scripts/prepare-package-readme.mjs check"
121
122
  }
@@ -106,11 +106,25 @@ function check() {
106
106
  assertPackageReadme(readFileSync(readmePath, 'utf8'));
107
107
  }
108
108
 
109
+ function ensurePublishReady() {
110
+ check();
111
+ if (!existsSync(publishMarkerPath)) {
112
+ throw new Error(
113
+ [
114
+ 'package README is package-safe but publish marker is missing.',
115
+ 'Run `npm run prepare:publish-readme` before `npm publish --access public` so npm sees the package README before publish starts.',
116
+ 'If a previous publish failed, run `npm run cleanup:publish-readme` first.',
117
+ ].join(' '),
118
+ );
119
+ }
120
+ }
121
+
109
122
  const command = process.argv[2];
110
123
  if (command === 'apply') apply();
111
124
  else if (command === 'restore') restore();
112
125
  else if (command === 'check') check();
126
+ else if (command === 'ensure-publish-ready') ensurePublishReady();
113
127
  else {
114
- console.error('Usage: prepare-package-readme.mjs apply|restore|check [--publish|--pack]');
128
+ console.error('Usage: prepare-package-readme.mjs apply|restore|check|ensure-publish-ready [--publish|--pack]');
115
129
  process.exit(1);
116
130
  }
@@ -1,10 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="144" height="42" viewBox="0 0 144 42" role="img" aria-label="Commands">
2
- <defs>
3
- <linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0" stop-color="#781d6b"/>
5
- <stop offset="1" stop-color="#217598"/>
6
- </linearGradient>
7
- </defs>
8
- <rect x="1" y="1" width="142" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
9
- <text x="72.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Commands</text>
10
- </svg>
@@ -1,10 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="112" height="42" viewBox="0 0 112 42" role="img" aria-label="Install">
2
- <defs>
3
- <linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0" stop-color="#781d6b"/>
5
- <stop offset="1" stop-color="#217598"/>
6
- </linearGradient>
7
- </defs>
8
- <rect x="1" y="1" width="110" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
9
- <text x="56.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Install</text>
10
- </svg>
@@ -1,10 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="156" height="42" viewBox="0 0 156 42" role="img" aria-label="Quick Start">
2
- <defs>
3
- <linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0" stop-color="#781d6b"/>
5
- <stop offset="1" stop-color="#217598"/>
6
- </linearGradient>
7
- </defs>
8
- <rect x="1" y="1" width="154" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
9
- <text x="78.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Quick Start</text>
10
- </svg>
@@ -1,10 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="126" height="42" viewBox="0 0 126 42" role="img" aria-label="Settings">
2
- <defs>
3
- <linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0" stop-color="#781d6b"/>
5
- <stop offset="1" stop-color="#217598"/>
6
- </linearGradient>
7
- </defs>
8
- <rect x="1" y="1" width="124" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
9
- <text x="63.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Settings</text>
10
- </svg>
@@ -1 +0,0 @@
1
-