@mediadatafusion/pi-workflow-suite 0.0.7 → 0.0.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 +6 -0
- package/README.md +23 -34
- package/VERSION +1 -1
- package/package.json +6 -2
- package/scripts/check-clean-release-tree.sh +1 -1
- package/scripts/prepare-package-readme.mjs +89 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable public releases will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.0.8] - 2026-05-23
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Restored package README media rendering for npm and pi.dev while keeping promotional media assets out of the install payload.
|
|
10
|
+
|
|
5
11
|
## [0.0.7] - 2026-05-23
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
# Pi Workflow Suite
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<img src="https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.3/docs/assets/pi-workflow-suite-header.png" alt="Pi Workflow Suite — structured workflow orchestration for Pi" />
|
|
5
|
-
</p>
|
|
3
|
+

|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
<a href="#installation"><img src="https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.3/docs/assets/readme-link-install.svg" alt="Install" /></a>
|
|
9
|
-
<a href="#quick-start"><img src="https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.3/docs/assets/readme-link-quick-start.svg" alt="Quick Start" /></a>
|
|
10
|
-
<a href="#core-commands"><img src="https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.3/docs/assets/readme-link-commands.svg" alt="Commands" /></a>
|
|
11
|
-
<a href="#settings-reference"><img src="https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.3/docs/assets/readme-link-settings.svg" alt="Settings" /></a>
|
|
12
|
-
</p>
|
|
5
|
+
[](#installation) [](#quick-start) [](#core-commands) [](#settings-reference)
|
|
13
6
|
|
|
14
|
-
**Workflow Suite Version:** `v0.0.
|
|
7
|
+
**Workflow Suite Version:** `v0.0.8`
|
|
15
8
|
|
|
16
9
|
## Overview
|
|
17
10
|
|
|
@@ -23,27 +16,23 @@ Pi itself is intentionally minimal and extensible. Pi Workflow Suite layers an o
|
|
|
23
16
|
|
|
24
17
|
See Pi Workflow Suite in action: structured workflow modes, settings, runtime status, and guided execution inside Pi.
|
|
25
18
|
|
|
26
|
-
https://
|
|
19
|
+
[](https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@0.0.6/docs/assets/pi-workflow-suite-demo.mp4)
|
|
27
20
|
|
|
28
21
|
## Screenshots
|
|
29
22
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<td><img src="docs/assets/screenshots/05-mission-mode.png" alt="Mission Mode milestone progress" /></td>
|
|
44
|
-
<td><img src="docs/assets/screenshots/06-diagram-mermaid.png" alt="Workflow Suite Mermaid diagram output" /></td>
|
|
45
|
-
</tr>
|
|
46
|
-
</table>
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+

|
|
26
|
+
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+

|
|
34
|
+
|
|
35
|
+

|
|
47
36
|
|
|
48
37
|
## Contents
|
|
49
38
|
|
|
@@ -1182,10 +1171,10 @@ See `docs/TROUBLESHOOTING.md` for detailed diagnostics.
|
|
|
1182
1171
|
|
|
1183
1172
|
## Versioning
|
|
1184
1173
|
|
|
1185
|
-
The current public preview version is `v0.0.
|
|
1174
|
+
The current public preview version is `v0.0.8`. Version information is intentionally aligned across:
|
|
1186
1175
|
|
|
1187
|
-
- `VERSION` (`v0.0.
|
|
1188
|
-
- `package.json` (`0.0.
|
|
1176
|
+
- `VERSION` (`v0.0.8`),
|
|
1177
|
+
- `package.json` (`0.0.8`),
|
|
1189
1178
|
- `package-lock.json`,
|
|
1190
1179
|
- this README,
|
|
1191
1180
|
- Workflow Suite settings/about output.
|
|
@@ -1217,20 +1206,20 @@ The intended package and repository identities are:
|
|
|
1217
1206
|
https://github.com/MediaDataFusion/pi-workflow-suite
|
|
1218
1207
|
```
|
|
1219
1208
|
|
|
1220
|
-
The current release candidate is prepared as `@mediadatafusion/pi-workflow-suite@0.0.
|
|
1209
|
+
The current release candidate is prepared as `@mediadatafusion/pi-workflow-suite@0.0.8`.
|
|
1221
1210
|
|
|
1222
1211
|
Private DEV, private main, and the clean public release repository should carry the same approved package version before publication.
|
|
1223
1212
|
|
|
1224
1213
|
After npm publication, install with:
|
|
1225
1214
|
|
|
1226
1215
|
```bash
|
|
1227
|
-
pi install npm:@mediadatafusion/pi-workflow-suite@0.0.
|
|
1216
|
+
pi install npm:@mediadatafusion/pi-workflow-suite@0.0.8
|
|
1228
1217
|
```
|
|
1229
1218
|
|
|
1230
1219
|
After npm publication, temporary evaluation in a current Pi run can use:
|
|
1231
1220
|
|
|
1232
1221
|
```bash
|
|
1233
|
-
pi -e npm:@mediadatafusion/pi-workflow-suite@0.0.
|
|
1222
|
+
pi -e npm:@mediadatafusion/pi-workflow-suite@0.0.8
|
|
1234
1223
|
```
|
|
1235
1224
|
|
|
1236
1225
|
## Planned Enhancements
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v0.0.
|
|
1
|
+
v0.0.8
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediadatafusion/pi-workflow-suite",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
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": {
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"scripts/bootstrap-project.sh",
|
|
50
50
|
"scripts/check-clean-release-tree.sh",
|
|
51
51
|
"scripts/check-package-size.mjs",
|
|
52
|
+
"scripts/prepare-package-readme.mjs",
|
|
52
53
|
"scripts/build-package-export.mjs",
|
|
53
54
|
"README.md",
|
|
54
55
|
"LICENSE.md",
|
|
@@ -104,6 +105,9 @@
|
|
|
104
105
|
"check:ts": "tsc --noEmit --noCheck",
|
|
105
106
|
"typecheck": "tsc --noEmit",
|
|
106
107
|
"validate": "npm run check:ts && ./scripts/check-clean-release-tree.sh && npm run check:package-size && git diff --check",
|
|
107
|
-
"check:package-size": "node scripts/check-package-size.mjs"
|
|
108
|
+
"check:package-size": "node scripts/check-package-size.mjs",
|
|
109
|
+
"prepack": "node scripts/prepare-package-readme.mjs apply",
|
|
110
|
+
"postpack": "node scripts/prepare-package-readme.mjs restore",
|
|
111
|
+
"restore:package-readme": "node scripts/prepare-package-readme.mjs restore"
|
|
108
112
|
}
|
|
109
113
|
}
|
|
@@ -18,7 +18,7 @@ if [[ -e .cursor && -n "$(git ls-files .cursor)" ]]; then report '.cursor/ must
|
|
|
18
18
|
|
|
19
19
|
while IFS= read -r path; do
|
|
20
20
|
case "$path" in
|
|
21
|
-
agents/*|config/*|extensions/*|skills/*|docs/assets/*|themes/*|scripts/install-to-live.sh|scripts/verify-live.sh|scripts/audit-live.sh|scripts/quarantine-live-junk.sh|scripts/backup-live.sh|scripts/audit-settings.sh|scripts/bootstrap-project.sh|scripts/check-clean-release-tree.sh|scripts/check-package-size.mjs|scripts/build-package-export.mjs|README.md|CHANGELOG.md|CONTRIBUTING.md|LICENSE.md|NOTICE|SECURITY.md|SUPPORT.md|TRADEMARKS.md|VERSION|package.json|package-lock.json|tsconfig.json|.gitignore)
|
|
21
|
+
agents/*|config/*|extensions/*|skills/*|docs/assets/*|themes/*|scripts/install-to-live.sh|scripts/verify-live.sh|scripts/audit-live.sh|scripts/quarantine-live-junk.sh|scripts/backup-live.sh|scripts/audit-settings.sh|scripts/bootstrap-project.sh|scripts/check-clean-release-tree.sh|scripts/check-package-size.mjs|scripts/prepare-package-readme.mjs|scripts/build-package-export.mjs|README.md|CHANGELOG.md|CONTRIBUTING.md|LICENSE.md|NOTICE|SECURITY.md|SUPPORT.md|TRADEMARKS.md|VERSION|package.json|package-lock.json|tsconfig.json|.gitignore)
|
|
22
22
|
;;
|
|
23
23
|
docs/*)
|
|
24
24
|
report "non-asset docs file is not allowed: $path"
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { existsSync, readFileSync, renameSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { dirname, resolve } from 'node:path';
|
|
4
|
+
import { fileURLToPath } from 'node:url';
|
|
5
|
+
|
|
6
|
+
const scriptDir = dirname(fileURLToPath(import.meta.url));
|
|
7
|
+
const repoRoot = resolve(scriptDir, '..');
|
|
8
|
+
const readmePath = resolve(repoRoot, 'README.md');
|
|
9
|
+
const backupPath = resolve(repoRoot, '.package-readme.source.md');
|
|
10
|
+
const mediaVersion = '0.0.6';
|
|
11
|
+
|
|
12
|
+
function mediaCdn(assetPath) {
|
|
13
|
+
return `https://cdn.jsdelivr.net/npm/@mediadatafusion/pi-workflow-suite@${mediaVersion}/${assetPath}`;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function buildPackageReadme(sourceReadme) {
|
|
17
|
+
const headerBlock = `# Pi Workflow Suite\n\n${
|
|
18
|
+
`})`
|
|
19
|
+
}\n\n${[
|
|
20
|
+
`[})](#installation)`,
|
|
21
|
+
`[})](#quick-start)`,
|
|
22
|
+
`[})](#core-commands)`,
|
|
23
|
+
`[})](#settings-reference)`,
|
|
24
|
+
].join(' ')}\n\n**Workflow Suite Version:** `;
|
|
25
|
+
|
|
26
|
+
let readme = sourceReadme.replace(
|
|
27
|
+
/^# Pi Workflow Suite\n\n<p align="center">[\s\S]*?\*\*Workflow Suite Version:\*\* /,
|
|
28
|
+
headerBlock,
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
const packageMediaBlock = `## Quick Demo\n\nSee Pi Workflow Suite in action: structured workflow modes, settings, runtime status, and guided execution inside Pi.\n\n[})](${mediaCdn('docs/assets/pi-workflow-suite-demo.mp4')})\n\n## Screenshots\n\n${[
|
|
32
|
+
['Pi Workflow Suite Mission Home with workflow graphs', 'docs/assets/screenshots/00-mission-home.png'],
|
|
33
|
+
['Pi Workflow Suite startup logo', 'docs/assets/screenshots/01-startup-Logo.png'],
|
|
34
|
+
['Workflow Suite theme settings', 'docs/assets/screenshots/02-theme-settings.png'],
|
|
35
|
+
['Workflow Suite global safety settings', 'docs/assets/screenshots/03-GlobalSafetySettings.png'],
|
|
36
|
+
['Workflow Suite shared sub-agent settings', 'docs/assets/screenshots/04-SharedSubAgentsSettings.png'],
|
|
37
|
+
['Mission Mode milestone progress', 'docs/assets/screenshots/05-mission-mode.png'],
|
|
38
|
+
['Workflow Suite Mermaid diagram output', 'docs/assets/screenshots/06-diagram-mermaid.png'],
|
|
39
|
+
].map(([alt, path]) => `})`).join('\n\n')}\n\n`;
|
|
40
|
+
|
|
41
|
+
return readme.replace(/## Quick Demo[\s\S]*?## Contents\n/, `${packageMediaBlock}## Contents\n`);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function assertPackageReadme(readme) {
|
|
45
|
+
const required = [
|
|
46
|
+
mediaCdn('docs/assets/pi-workflow-suite-header.png'),
|
|
47
|
+
mediaCdn('docs/assets/pi-workflow-suite-demo.gif'),
|
|
48
|
+
mediaCdn('docs/assets/pi-workflow-suite-demo.mp4'),
|
|
49
|
+
mediaCdn('docs/assets/screenshots/00-mission-home.png'),
|
|
50
|
+
mediaCdn('docs/assets/screenshots/06-diagram-mermaid.png'),
|
|
51
|
+
'[![Watch the Pi Workflow Suite quick demo]',
|
|
52
|
+
];
|
|
53
|
+
for (const needle of required) {
|
|
54
|
+
if (!readme.includes(needle)) throw new Error(`package README missing ${needle}`);
|
|
55
|
+
}
|
|
56
|
+
if (readme.includes('https://github.com/user-attachments/assets/9782fefc-5349-4cc9-b4ea-20b4c916a8b9')) {
|
|
57
|
+
throw new Error('package README still contains raw GitHub demo attachment URL');
|
|
58
|
+
}
|
|
59
|
+
if (readme.includes('src="docs/assets/screenshots/') || readme.includes('](docs/assets/screenshots/')) {
|
|
60
|
+
throw new Error('package README still contains source-relative screenshot paths');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function apply() {
|
|
65
|
+
if (existsSync(backupPath)) throw new Error('README backup already exists; run restore first');
|
|
66
|
+
const sourceReadme = readFileSync(readmePath, 'utf8');
|
|
67
|
+
const packageReadme = buildPackageReadme(sourceReadme);
|
|
68
|
+
assertPackageReadme(packageReadme);
|
|
69
|
+
writeFileSync(backupPath, sourceReadme);
|
|
70
|
+
writeFileSync(readmePath, packageReadme);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function restore() {
|
|
74
|
+
if (!existsSync(backupPath)) return;
|
|
75
|
+
renameSync(backupPath, readmePath);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function check() {
|
|
79
|
+
assertPackageReadme(readFileSync(readmePath, 'utf8'));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const command = process.argv[2];
|
|
83
|
+
if (command === 'apply') apply();
|
|
84
|
+
else if (command === 'restore') restore();
|
|
85
|
+
else if (command === 'check') check();
|
|
86
|
+
else {
|
|
87
|
+
console.error('Usage: prepare-package-readme.mjs apply|restore|check');
|
|
88
|
+
process.exit(1);
|
|
89
|
+
}
|