@signalridge/pi-workflows 1.3.1 → 1.4.0
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 +10 -0
- package/README.md +40 -11
- package/package.json +3 -2
- package/skills/workflow-authoring/SKILL.md +166 -18
- package/skills/workflow-authoring/examples/named-task-graph.js +34 -0
- package/skills/workflow-authoring/references/capabilities.md +2 -1
- package/skills/workflow-authoring/references/capability-details.md +22 -4
- package/skills/workflow-authoring/references/focused-recipes.md +1 -0
- package/skills/workflow-authoring/references/lifecycle.md +3 -3
- package/skills/workflow-authoring/references/pattern-selection.md +1 -0
- package/skills/workflow-authoring/references/registry-ownership.md +1 -1
- package/skills/workflow-authoring/references/review.md +7 -5
- package/skills/workflow-authoring/references/runtime.md +4 -3
- package/skills/workflow-patterns/SKILL.md +72 -33
- package/skills/workflow-review/SKILL.md +70 -0
- package/src/capabilities.ts +28 -3
- package/src/engine.ts +384 -124
- package/src/index.ts +126 -9
- package/src/journal.ts +266 -27
- package/src/orchestrator.ts +478 -0
- package/src/runtime.ts +332 -123
- package/src/ui.ts +2 -2
package/src/ui.ts
CHANGED
|
@@ -148,7 +148,7 @@ async function selectList<T>(
|
|
|
148
148
|
if (ctx.mode !== "tui") return undefined;
|
|
149
149
|
return ctx.ui.custom<T | undefined>((_tui, theme, _keybindings, done) => {
|
|
150
150
|
const container = new Container();
|
|
151
|
-
container.addChild(new DynamicBorder((s: string) => theme.fg("
|
|
151
|
+
container.addChild(new DynamicBorder((s: string) => theme.fg("borderAccent", s)));
|
|
152
152
|
container.addChild(new Text(theme.fg("accent", theme.bold(title)), 1, 0));
|
|
153
153
|
container.addChild(new Text(theme.fg("dim", renderExtra(theme)), 1, 0));
|
|
154
154
|
const list = new SelectList(items, Math.min(12, Math.max(1, items.length)), {
|
|
@@ -162,7 +162,7 @@ async function selectList<T>(
|
|
|
162
162
|
list.onCancel = () => done(undefined);
|
|
163
163
|
container.addChild(list);
|
|
164
164
|
container.addChild(new Text(theme.fg("dim", "↑↓ select · enter confirm · esc back"), 1, 0));
|
|
165
|
-
container.addChild(new DynamicBorder((s: string) => theme.fg("
|
|
165
|
+
container.addChild(new DynamicBorder((s: string) => theme.fg("borderAccent", s)));
|
|
166
166
|
return {
|
|
167
167
|
render: (width) => container.render(width),
|
|
168
168
|
invalidate: () => container.invalidate(),
|