@agimon-ai/doompi-workflow 0.0.1-alpha.40 → 0.0.1-alpha.43
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/README.md +1 -1
- package/package.json +11 -11
- package/web/index.ts +11 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi-workflow",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.43",
|
|
4
4
|
"description": "GitHub Actions-style workflow graphs, artifacts, recovery, and asynchronous runs for DoomPi.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
68
68
|
"hono": "4.13.3",
|
|
69
69
|
"zod": "4.4.3",
|
|
70
|
-
"@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.
|
|
71
|
-
"@agimon-ai/doompi-
|
|
72
|
-
"@agimon-ai/doompi-
|
|
73
|
-
"@agimon-ai/doompi-web-components": "0.0.1-alpha.
|
|
74
|
-
"@agimon-ai/doompi-web-contracts": "0.0.1-alpha.
|
|
75
|
-
"@agimon-ai/doompi-web-security": "0.0.1-alpha.
|
|
70
|
+
"@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.43",
|
|
71
|
+
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.43",
|
|
72
|
+
"@agimon-ai/doompi-ui": "0.0.1-alpha.43",
|
|
73
|
+
"@agimon-ai/doompi-web-components": "0.0.1-alpha.4",
|
|
74
|
+
"@agimon-ai/doompi-web-contracts": "0.0.1-alpha.6",
|
|
75
|
+
"@agimon-ai/doompi-web-security": "0.0.1-alpha.5"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
79
|
-
"@earendil-works/pi-tui": "0.84.
|
|
78
|
+
"@earendil-works/pi-coding-agent": "0.84.4",
|
|
79
|
+
"@earendil-works/pi-tui": "0.84.4",
|
|
80
80
|
"@tanstack/react-store": "0.11.1",
|
|
81
81
|
"@tanstack/store": "0.11.1",
|
|
82
82
|
"@types/node": "26.2.0",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"vitest": "4.1.11"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
94
|
-
"@earendil-works/pi-tui": "0.84.
|
|
93
|
+
"@earendil-works/pi-coding-agent": "0.84.4",
|
|
94
|
+
"@earendil-works/pi-tui": "0.84.4"
|
|
95
95
|
},
|
|
96
96
|
"peerDependenciesMeta": {
|
|
97
97
|
"@earendil-works/pi-coding-agent": {
|
package/web/index.ts
CHANGED
|
@@ -16,6 +16,16 @@ export function useWorkflowsBadge(sessionId: string | null): number {
|
|
|
16
16
|
|
|
17
17
|
const WORKFLOWS_GROUP = { key: 'w', label: 'workflows', detail: 'multi-step agent runs' };
|
|
18
18
|
|
|
19
|
+
const workflowActivitySource = {
|
|
20
|
+
subscribe(listener: () => void) {
|
|
21
|
+
const subscription = workflows.store.subscribe(listener);
|
|
22
|
+
return () => subscription.unsubscribe();
|
|
23
|
+
},
|
|
24
|
+
isActive(sessionId: string | null) {
|
|
25
|
+
return workflows.select(workflows.store.state, sessionId).runs.some((run) => run.stage === 'running');
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
|
|
19
29
|
/** The named export the generated plugin registry imports. */
|
|
20
30
|
export const webPlugin = defineWebPlugin({
|
|
21
31
|
id: 'workflows',
|
|
@@ -27,6 +37,7 @@ export const webPlugin = defineWebPlugin({
|
|
|
27
37
|
name: 'workflows',
|
|
28
38
|
keys: 'w r',
|
|
29
39
|
widgetKeys: ['workflow-mcp-progress', 'workflow-mcp-follow'],
|
|
40
|
+
activeSource: workflowActivitySource,
|
|
30
41
|
tab: 'workflows',
|
|
31
42
|
order: 30,
|
|
32
43
|
},
|