@mediadatafusion/pi-workflow-suite 0.0.18 → 0.0.19
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 +7 -0
- package/README.md +62 -38
- package/VERSION +1 -1
- package/config/workflow-settings.example.json +1 -0
- package/extensions/workflow-model-router.ts +3 -0
- package/extensions/workflow-modes.ts +371 -179
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable public releases will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.0.19] - 2026-06-10
|
|
6
|
+
|
|
7
|
+
### Improved
|
|
8
|
+
|
|
9
|
+
- Improved workflow widget and settings UI documentation.
|
|
10
|
+
- Refined editor hint readability controls.
|
|
11
|
+
|
|
5
12
|
## [0.0.18] - 2026-06-10
|
|
6
13
|
|
|
7
14
|
### Improved
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](#installation) [](#quick-start) [](#core-commands) [](#settings-reference)
|
|
6
6
|
|
|
7
|
-
**Workflow Suite Version:** `v0.0.
|
|
7
|
+
**Workflow Suite Version:** `v0.0.19`
|
|
8
8
|
|
|
9
9
|
## Overview
|
|
10
10
|
|
|
@@ -49,6 +49,7 @@ See Pi Workflow Suite in action: structured workflow modes, settings, runtime st
|
|
|
49
49
|
- [Workflow Roles And Model Selection](#workflow-roles-and-model-selection)
|
|
50
50
|
- [Workflow Settings UI](#workflow-settings-ui)
|
|
51
51
|
- [Workflow Presets](#workflow-presets)
|
|
52
|
+
- [Workflow Widgets And Editor Hints](#workflow-widgets-and-editor-hints)
|
|
52
53
|
- [Themes And UI](#themes-and-ui)
|
|
53
54
|
- [Sub-Agents And Parallel Work](#sub-agents-and-parallel-work)
|
|
54
55
|
- [Review, Validation, Repair, And Retry](#review-validation-repair-and-retry)
|
|
@@ -114,7 +115,7 @@ Pi Workflow Suite turns Pi into a guided workflow environment:
|
|
|
114
115
|
| Standard Mode | Direct active work with optional dynamic task-specific To Do tracking, configurable clarification, widgets, shared or Standard-specific model roles, presets, safety controls, and sub-agent orchestration. |
|
|
115
116
|
| Plan Mode | Approval-gated planning and execution where Planner, Reviewer, Executor, and Validator can each use the provider/model and thinking level that fits the phase. |
|
|
116
117
|
| Mission Mode | Long-running milestone workflows with approval, checkpoints, Mission-specific model overrides, validation gates, repair/retry, pause/resume, final-validation controls, and continuity tracking. |
|
|
117
|
-
| Themes And Startup UI | Workflow Suite themes, startup visual cards, startup logo modes, custom terminal logo text, custom brand cards,
|
|
118
|
+
| Themes And Startup UI | Workflow Suite themes, startup visual cards, startup logo modes, custom terminal logo text, custom brand cards, editor hint/status styling, widgets, and optional input border styling. |
|
|
118
119
|
| Interactive Diagrams | `workflow_diagram` Mermaid support with terminal preview, SVG-first clickable artifacts, PNG/runtime rendering support, dark-mode-friendly styling, and runtime artifact storage. |
|
|
119
120
|
| Web Research & Browser Verification | First-party `workflow_web_search`, `workflow_web_fetch`, and `workflow_browser_check` tools. Search and fetch for public web evidence with source URLs, blocked local/private/internal hosts, and time/size limits. Headless browser verification for runtime web app validation with interactive UI actions (click, type, read, screenshot, evaluate). |
|
|
120
121
|
| Repo Lock | Project-scoped Global Safety control that constrains normal file tools, bash path checks, and sub-agents to the active repository, with protected configuration paths and clear non-sandbox caveats. |
|
|
@@ -125,7 +126,7 @@ Pi Workflow Suite turns Pi into a guided workflow environment:
|
|
|
125
126
|
| Presets | Built-in and custom workflow profiles with selector commands and Ctrl+Shift+U cycling while active modes are running. |
|
|
126
127
|
| Settings | Interactive grouped settings UI plus direct commands for Standard, Plan, Mission, model selection, sub-agents, widgets, compaction, themes, and safety. |
|
|
127
128
|
| Sub-agents And Skills | Bundled workflow agents and skills for discovery, planning, safe execution, validation, git-safe summaries, and project-rule audits, with clear capability boundaries. |
|
|
128
|
-
| Widgets And Status | Mode-aware top/bottom widgets,
|
|
129
|
+
| Widgets And Status | Mode-aware top/bottom widgets, editor hints, shortcut controls, progress display, runtime summaries, and current-setting visibility. |
|
|
129
130
|
| Safety And Recovery | Phase-specific tool restrictions, destructive-command blocking, validation gates, install backup, live verification, audit, quarantine, sync, resume, and checkpoint tooling. |
|
|
130
131
|
|
|
131
132
|
## Feature Overview
|
|
@@ -153,7 +154,7 @@ Pi Workflow Suite turns Pi into a guided workflow environment:
|
|
|
153
154
|
|
|
154
155
|
Idle Mode is the default no-active-workflow state. It means there is no active Standard task, approved Plan execution, or Mission milestone running, but Workflow Suite still provides its management, inspection, and configuration surfaces.
|
|
155
156
|
|
|
156
|
-
Idle Mode is a first-class part of the Workflow Suite hierarchy. Users can inspect workflow status, open settings, change themes, preview startup visuals, review widget
|
|
157
|
+
Idle Mode is a first-class part of the Workflow Suite hierarchy. Users can inspect workflow status, open settings, change themes, preview startup visuals, review widget and editor hint behavior, inspect Repo Lock status through Global Safety settings, configure compaction, review installed workflow resources, and run safe runtime hygiene/status checks. Idle Mode is also where editor hints expose the primary entry points for Standard, Plan, and Mission.
|
|
157
158
|
|
|
158
159
|
Idle Mode is not a sandbox and does not imply Pi is unable to run commands. It only means Workflow Suite is not currently inside an active Standard, Plan, or Mission workflow. Repo Lock, tool guards, Pi permissions, and sub-agent configuration still determine what can run.
|
|
159
160
|
|
|
@@ -597,7 +598,7 @@ Quick access:
|
|
|
597
598
|
|
|
598
599
|
```text
|
|
599
600
|
/workflow presets # open preset selector
|
|
600
|
-
Ctrl+Shift+U # cycle presets
|
|
601
|
+
Ctrl+Shift+U # cycle presets while Standard/Plan/Mission Mode is active
|
|
601
602
|
/workflow presets list
|
|
602
603
|
/workflow presets apply <name>
|
|
603
604
|
/workflow presets next
|
|
@@ -609,7 +610,7 @@ Ctrl+Shift+U # cycle presets from the footer/status line while
|
|
|
609
610
|
/workflow presets delete <name>
|
|
610
611
|
```
|
|
611
612
|
|
|
612
|
-
The
|
|
613
|
+
The inline editor hints stay mode-specific and avoid idle clutter. By default, active workflows display compact, human-readable shortcuts and the other workflow mode:
|
|
613
614
|
|
|
614
615
|
```text
|
|
615
616
|
Idle: Standard:Ctrl+Shift+S Plan:Ctrl+Shift+L Mission:Ctrl+Shift+M
|
|
@@ -631,9 +632,55 @@ Workflow Suite settings are separate from Pi core settings. Workflow Suite setti
|
|
|
631
632
|
|
|
632
633
|
Pi core settings use a different file pair: global `~/.pi/agent/settings.json` plus exact-current-directory project settings at `<cwd>/.pi/settings.json`. Pi core project settings do not walk parent directories. Use `./scripts/audit-settings.sh [target-cwd]` to report both scopes without printing secrets.
|
|
633
634
|
|
|
635
|
+
## Workflow Widgets And Editor Hints
|
|
636
|
+
|
|
637
|
+
Workflow widgets are one of the core Workflow Suite surfaces. Standard, Plan, and Mission Mode can show active workflow status directly in the terminal through mode-aware top and bottom widgets.
|
|
638
|
+
|
|
639
|
+
The top and bottom widgets are independent visibility surfaces. Users can show either one or both, and toggling a widget does not change the underlying workflow state. The widgets are designed to keep long-running work readable without requiring users to repeatedly ask for status.
|
|
640
|
+
|
|
641
|
+
Depending on the active mode and settings, widgets can show:
|
|
642
|
+
|
|
643
|
+
- active workflow mode and lifecycle state,
|
|
644
|
+
- current and next task, step, or milestone,
|
|
645
|
+
- segmented progress bars,
|
|
646
|
+
- Standard Mode To Do progress,
|
|
647
|
+
- Plan Mode approval, execution, validation, and repair state,
|
|
648
|
+
- Mission Mode milestone, checkpoint, validation, retry, and runtime state,
|
|
649
|
+
- selected model route and thinking level,
|
|
650
|
+
- active preset and shortcut hints,
|
|
651
|
+
- sub-agent activity when worker orchestration is active.
|
|
652
|
+
|
|
653
|
+
Widget shortcuts:
|
|
654
|
+
|
|
655
|
+
```text
|
|
656
|
+
Ctrl+Shift+T toggle the active workflow top widget
|
|
657
|
+
Ctrl+Shift+B toggle the active workflow bottom widget
|
|
658
|
+
Ctrl+Shift+U cycle workflow presets while Standard, Plan, or Mission Mode is active
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
Widget commands:
|
|
662
|
+
|
|
663
|
+
```text
|
|
664
|
+
/workflow widgets status
|
|
665
|
+
/workflow widgets list
|
|
666
|
+
/workflow widgets configure
|
|
667
|
+
/workflow widgets toggle top
|
|
668
|
+
/workflow widgets toggle bottom
|
|
669
|
+
/workflow widgets on
|
|
670
|
+
/workflow widgets off
|
|
671
|
+
```
|
|
672
|
+
|
|
673
|
+
Editor hints are compact inline hints shown in the editor/input area. They can show entry shortcuts while idle and widget, preset, and mode-switch shortcuts while a workflow is active. Editor hints are configurable separately from the widget commands themselves, including visibility and contrast.
|
|
674
|
+
|
|
675
|
+
The interactive settings path is:
|
|
676
|
+
|
|
677
|
+
```text
|
|
678
|
+
/workflow settings UI Widgets
|
|
679
|
+
```
|
|
680
|
+
|
|
634
681
|
## Themes And UI
|
|
635
682
|
|
|
636
|
-
Workflow Suite themes control the palette used by Workflow Suite visual surfaces: status
|
|
683
|
+
Workflow Suite themes control the palette used by Workflow Suite visual surfaces: status text, editor hints, Standard/Plan/Mission widgets, startup visuals, and optional input-area border styling. They are Workflow Suite settings, separate from Pi core themes.
|
|
637
684
|
|
|
638
685
|
Open the interactive theme menu from the public settings surface:
|
|
639
686
|
|
|
@@ -657,7 +704,7 @@ Workflow Theme
|
|
|
657
704
|
|
|
658
705
|
How the pieces fit together:
|
|
659
706
|
|
|
660
|
-
- **Theme** changes Workflow Suite colors for widgets,
|
|
707
|
+
- **Theme** changes Workflow Suite colors for widgets, editor hints, status text, startup visuals, and optional input border styling.
|
|
661
708
|
- **Widget Text Style** controls the text treatment used by active workflow widgets.
|
|
662
709
|
- **Startup Visual** chooses the startup card layout: `none`, `minimal`, `workflow_duo`, `mission_control`, `diagnostic_center`, `data_stream`, `neural_grid`, or `custom_brand`.
|
|
663
710
|
- **Startup Text Style** controls startup visual text independently from active workflow widgets.
|
|
@@ -953,30 +1000,7 @@ Runtime tracking is active-runtime based:
|
|
|
953
1000
|
- Paused, blocked, stopped, completed, failed, draft, planned, and approved states do not accumulate active runtime.
|
|
954
1001
|
- `maxRuntimeHours` is enforced against active runtime at mission start/continue/validation/repair gates.
|
|
955
1002
|
|
|
956
|
-
Workflow entry and widget controls are available through `/standard`, `/plan`, `/mission`, and `/workflow widgets`.
|
|
957
|
-
|
|
958
|
-
```text
|
|
959
|
-
Ctrl+Shift+S toggle Standard Mode
|
|
960
|
-
Ctrl+Shift+L enter Plan Mode
|
|
961
|
-
Ctrl+Shift+M enter Mission Mode
|
|
962
|
-
Ctrl+Shift+T toggle active Standard/Plan/Mission top widget
|
|
963
|
-
Ctrl+Shift+B toggle active Standard/Plan/Mission bottom widget
|
|
964
|
-
Ctrl+Shift+U cycle presets while Standard/Plan/Mission Mode is active
|
|
965
|
-
```
|
|
966
|
-
|
|
967
|
-
Widget commands:
|
|
968
|
-
|
|
969
|
-
```text
|
|
970
|
-
/workflow widgets status
|
|
971
|
-
/workflow widgets list
|
|
972
|
-
/workflow widgets configure
|
|
973
|
-
/workflow widgets toggle top
|
|
974
|
-
/workflow widgets toggle bottom
|
|
975
|
-
/workflow widgets on
|
|
976
|
-
/workflow widgets off
|
|
977
|
-
```
|
|
978
|
-
|
|
979
|
-
Footer hints can be tuned without disabling the actual commands/shortcuts. The interactive path is `/workflow settings UI Widgets` → `Footer Hints`.
|
|
1003
|
+
Workflow entry and widget controls are available through `/standard`, `/plan`, `/mission`, and `/workflow widgets`. See [Workflow Widgets And Editor Hints](#workflow-widgets-and-editor-hints) for the top widget, bottom widget, shortcut, and editor hint controls.
|
|
980
1004
|
|
|
981
1005
|
Mission heartbeat and stale-status fields are tracked and displayed. Checkpoint interval settings record the preferred cadence for future timed checkpoint automation, while recovery actions remain user-supervised for safety.
|
|
982
1006
|
|
|
@@ -1014,8 +1038,8 @@ pi install -l npm:@mediadatafusion/pi-workflow-suite
|
|
|
1014
1038
|
### Installing specific versions
|
|
1015
1039
|
|
|
1016
1040
|
```bash
|
|
1017
|
-
pi install npm:@mediadatafusion/pi-workflow-suite@0.0.
|
|
1018
|
-
pi install -l npm:@mediadatafusion/pi-workflow-suite@0.0.
|
|
1041
|
+
pi install npm:@mediadatafusion/pi-workflow-suite@0.0.19
|
|
1042
|
+
pi install -l npm:@mediadatafusion/pi-workflow-suite@0.0.19
|
|
1019
1043
|
```
|
|
1020
1044
|
|
|
1021
1045
|
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>`.
|
|
@@ -1132,7 +1156,7 @@ Primary settings areas:
|
|
|
1132
1156
|
- `missions` — Mission Mode autonomy, runtime, checkpoints, validation, repair, and mission-specific model selection.
|
|
1133
1157
|
- `subagents` — workflow phase policies, worker targets, activity indicator, parallelism preferences, and edit-concurrency guidance. These settings do not edit arbitrary sub-agent tool permissions.
|
|
1134
1158
|
- `context` — compaction provider/model, auto-trigger behavior, trigger percentage, cooldown, reserve tokens, and keep-recent tokens.
|
|
1135
|
-
- `ui` — widgets, shortcuts, Workflow Suite theme selection, startup visuals, startup logo text styling,
|
|
1159
|
+
- `ui` — widgets, shortcuts, Workflow Suite theme selection, startup visuals, startup logo text styling, editor hints, status text, and optional themed input borders.
|
|
1136
1160
|
- `safety` — bash/tool guard settings.
|
|
1137
1161
|
|
|
1138
1162
|
Important Standard Mode settings:
|
|
@@ -1221,10 +1245,10 @@ See `docs/TROUBLESHOOTING.md` for detailed diagnostics.
|
|
|
1221
1245
|
|
|
1222
1246
|
## Versioning
|
|
1223
1247
|
|
|
1224
|
-
The current preparation version is `v0.0.
|
|
1248
|
+
The current preparation version is `v0.0.19`. Version information is intentionally aligned across:
|
|
1225
1249
|
|
|
1226
|
-
- `VERSION` (`v0.0.
|
|
1227
|
-
- `package.json` (`0.0.
|
|
1250
|
+
- `VERSION` (`v0.0.19`),
|
|
1251
|
+
- `package.json` (`0.0.19`),
|
|
1228
1252
|
- `package-lock.json`,
|
|
1229
1253
|
- this README,
|
|
1230
1254
|
- Workflow Suite settings/about output.
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v0.0.
|
|
1
|
+
v0.0.19
|
|
@@ -254,6 +254,7 @@
|
|
|
254
254
|
"showActiveWorkflowSwitchHint": true,
|
|
255
255
|
"showWidgetShortcutHint": true,
|
|
256
256
|
"showPresetShortcutHint": true,
|
|
257
|
+
"editorHintContrast": "normal",
|
|
257
258
|
"workflowTheme": "aurora",
|
|
258
259
|
"workflowThemeOverrides": {},
|
|
259
260
|
"startupVisual": "mission_control",
|
|
@@ -38,6 +38,7 @@ export type WorkflowStartupLogoFont = "block" | "shadow" | "outline" | "wide" |
|
|
|
38
38
|
export type WorkflowStartupLogoShadowDirection = "down_right" | "down" | "up" | "left" | "right";
|
|
39
39
|
export type WorkflowStartupLogoColorStyle = "theme" | "primary" | "split";
|
|
40
40
|
export type WorkflowWidgetTextPreset = "normal" | "bold" | "light" | "rich" | "italic" | "underline" | "terminal" | "smallcaps" | "typewriter";
|
|
41
|
+
export type WorkflowEditorHintContrast = "subtle" | "normal" | "bright" | "high";
|
|
41
42
|
export type CustomBrandBaseVisual = "minimal" | "diagnostic_center" | "workflow_duo" | "mission_control" | "data_stream" | "neural_grid";
|
|
42
43
|
export type RepairRetryGateName = "review" | "validation" | "missionValidation" | "missionFinalValidation";
|
|
43
44
|
|
|
@@ -239,6 +240,7 @@ export interface WorkflowSettings {
|
|
|
239
240
|
showActiveWorkflowSwitchHint?: boolean;
|
|
240
241
|
showWidgetShortcutHint?: boolean;
|
|
241
242
|
showPresetShortcutHint?: boolean;
|
|
243
|
+
editorHintContrast?: WorkflowEditorHintContrast;
|
|
242
244
|
workflowTheme?: string;
|
|
243
245
|
workflowThemeOverrides?: Record<string, string>;
|
|
244
246
|
widgetTextStyle?: WorkflowWidgetTextPreset;
|
|
@@ -528,6 +530,7 @@ const BUILTIN_DEFAULT_WORKFLOW_SETTINGS = {
|
|
|
528
530
|
"showActiveWorkflowSwitchHint": true,
|
|
529
531
|
"showWidgetShortcutHint": true,
|
|
530
532
|
"showPresetShortcutHint": true,
|
|
533
|
+
"editorHintContrast": "normal",
|
|
531
534
|
"workflowTheme": "aurora",
|
|
532
535
|
"workflowThemeOverrides": {},
|
|
533
536
|
"widgetTextStyle": undefined,
|