@agimon-ai/doompi-workflow 0.0.1-alpha.16 → 0.0.1-alpha.17

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 CHANGED
@@ -42,6 +42,12 @@ Replay claims the failed record atomically, transfers only `PI_SESSION_ID`, and
42
42
  controls to the exact run generation that was authorized. Recovery resumes the failed
43
43
  work; it does not quietly launch a second copy beside it.
44
44
 
45
+ ## Package guidance
46
+
47
+ The package ships a root `llms.txt` index. While the parent-only Help mode is active it
48
+ contributes `workflow-help`; deactivating Help removes that generated wrapper. The static
49
+ `workflow-recovery` skill remains discoverable independently of Help.
50
+
45
51
  ## Progress without transcript noise
46
52
 
47
53
  Running workflows appear in a transient task-like list above the editor with the current
@@ -1,2 +1,2 @@
1
- const e=require("./workflow/piExtension.cjs"),t=require("./leader.cjs");function n(n){let r=t.registerLeaderContribution(n);e.createWorkflowPiExtension({onModeChange:e=>r.setMode(e)})(n)}exports.registerWorkflowExtension=n;
1
+ const e=require("./workflow/piExtension.cjs"),t=require("./leader.cjs");let n=require("@agimon-ai/doompi-extension-contracts/help");function r(r){let i=t.registerLeaderContribution(r),a=(0,n.registerDoomHelpContribution)(r,{source:`@agimon-ai/doompi-workflow`,moduleUrl:require("url").pathToFileURL(__filename).href,skills:[{name:`workflow-help`,description:`Use Doom Pi workflows, monitor long-running jobs, and recover failed runs safely.`}]});e.createWorkflowPiExtension({onModeChange:e=>i.setMode(e)})(r),r.on(`session_shutdown`,()=>{a.dispose(),i.dispose()})}exports.registerWorkflowExtension=r;
2
2
  //# sourceMappingURL=extension.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.cjs","names":["registerLeaderContribution"],"sources":["../../../src/adapters/pi/extension.ts"],"sourcesContent":["import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';\nimport { createWorkflowPiExtension } from './workflow/piExtension.ts';\nimport { registerLeaderContribution } from './leader.ts';\n\nexport function registerWorkflowExtension(pi: ExtensionAPI): void {\n const leader = registerLeaderContribution(pi);\n createWorkflowPiExtension({ onModeChange: (enabled) => leader.setMode(enabled) })(pi);\n}\n"],"mappings":"wEAIA,SAAgB,EAA0B,EAAwB,CAChE,IAAM,EAASA,EAAAA,2BAA2B,CAAE,EAC5C,EAAA,0BAA0B,CAAE,aAAe,GAAY,EAAO,QAAQ,CAAO,CAAE,CAAC,CAAC,CAAC,CAAE,CACtF"}
1
+ {"version":3,"file":"extension.cjs","names":["registerLeaderContribution","registerDoomHelpContribution"],"sources":["../../../src/adapters/pi/extension.ts"],"sourcesContent":["import { registerDoomHelpContribution } from '@agimon-ai/doompi-extension-contracts/help';\nimport type { ExtensionAPI } from '@earendil-works/pi-coding-agent';\nimport { registerLeaderContribution } from './leader.ts';\nimport { createWorkflowPiExtension } from './workflow/piExtension.ts';\n\nexport function registerWorkflowExtension(pi: ExtensionAPI): void {\n const leader = registerLeaderContribution(pi);\n const help = registerDoomHelpContribution(pi, {\n source: '@agimon-ai/doompi-workflow',\n moduleUrl: import.meta.url,\n skills: [\n {\n name: 'workflow-help',\n description: 'Use Doom Pi workflows, monitor long-running jobs, and recover failed runs safely.',\n },\n ],\n });\n createWorkflowPiExtension({ onModeChange: (enabled) => leader.setMode(enabled) })(pi);\n pi.on('session_shutdown', () => {\n help.dispose();\n leader.dispose();\n });\n}\n"],"mappings":"oIAKA,SAAgB,EAA0B,EAAwB,CAChE,IAAM,EAASA,EAAAA,2BAA2B,CAAE,EACtC,GAAA,EAAOC,EAAAA,6BAAAA,CAA6B,EAAI,CAC5C,OAAQ,6BACR,UAAA,QAAA,KAAA,CAAA,CAAA,cAAA,UAAA,CAAA,CAAA,KACA,OAAQ,CACN,CACE,KAAM,gBACN,YAAa,mFACf,CACF,CACF,CAAC,EACD,EAAA,0BAA0B,CAAE,aAAe,GAAY,EAAO,QAAQ,CAAO,CAAE,CAAC,CAAC,CAAC,CAAE,EACpF,EAAG,GAAG,uBAA0B,CAC9B,EAAK,QAAQ,EACb,EAAO,QAAQ,CACjB,CAAC,CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.cts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;iBAIgB,0BAA0B,IAAI"}
1
+ {"version":3,"file":"extension.d.cts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;iBAKgB,0BAA0B,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.mts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;iBAIgB,0BAA0B,IAAI"}
1
+ {"version":3,"file":"extension.d.mts","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"mappings":";;iBAKgB,0BAA0B,IAAI"}
@@ -1,2 +1,2 @@
1
- import{createWorkflowPiExtension as e}from"./workflow/piExtension.mjs";import{registerLeaderContribution as t}from"./leader.mjs";function n(n){let r=t(n);e({onModeChange:e=>r.setMode(e)})(n)}export{n as registerWorkflowExtension};
1
+ import{createWorkflowPiExtension as e}from"./workflow/piExtension.mjs";import{registerLeaderContribution as t}from"./leader.mjs";import{registerDoomHelpContribution as n}from"@agimon-ai/doompi-extension-contracts/help";function r(r){let i=t(r),a=n(r,{source:`@agimon-ai/doompi-workflow`,moduleUrl:import.meta.url,skills:[{name:`workflow-help`,description:`Use Doom Pi workflows, monitor long-running jobs, and recover failed runs safely.`}]});e({onModeChange:e=>i.setMode(e)})(r),r.on(`session_shutdown`,()=>{a.dispose(),i.dispose()})}export{r as registerWorkflowExtension};
2
2
  //# sourceMappingURL=extension.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.mjs","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"sourcesContent":["import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';\nimport { createWorkflowPiExtension } from './workflow/piExtension.ts';\nimport { registerLeaderContribution } from './leader.ts';\n\nexport function registerWorkflowExtension(pi: ExtensionAPI): void {\n const leader = registerLeaderContribution(pi);\n createWorkflowPiExtension({ onModeChange: (enabled) => leader.setMode(enabled) })(pi);\n}\n"],"mappings":"iIAIA,SAAgB,EAA0B,EAAwB,CAChE,IAAM,EAAS,EAA2B,CAAE,EAC5C,EAA0B,CAAE,aAAe,GAAY,EAAO,QAAQ,CAAO,CAAE,CAAC,CAAC,CAAC,CAAE,CACtF"}
1
+ {"version":3,"file":"extension.mjs","names":[],"sources":["../../../src/adapters/pi/extension.ts"],"sourcesContent":["import { registerDoomHelpContribution } from '@agimon-ai/doompi-extension-contracts/help';\nimport type { ExtensionAPI } from '@earendil-works/pi-coding-agent';\nimport { registerLeaderContribution } from './leader.ts';\nimport { createWorkflowPiExtension } from './workflow/piExtension.ts';\n\nexport function registerWorkflowExtension(pi: ExtensionAPI): void {\n const leader = registerLeaderContribution(pi);\n const help = registerDoomHelpContribution(pi, {\n source: '@agimon-ai/doompi-workflow',\n moduleUrl: import.meta.url,\n skills: [\n {\n name: 'workflow-help',\n description: 'Use Doom Pi workflows, monitor long-running jobs, and recover failed runs safely.',\n },\n ],\n });\n createWorkflowPiExtension({ onModeChange: (enabled) => leader.setMode(enabled) })(pi);\n pi.on('session_shutdown', () => {\n help.dispose();\n leader.dispose();\n });\n}\n"],"mappings":"2NAKA,SAAgB,EAA0B,EAAwB,CAChE,IAAM,EAAS,EAA2B,CAAE,EACtC,EAAO,EAA6B,EAAI,CAC5C,OAAQ,6BACR,UAAW,YAAY,IACvB,OAAQ,CACN,CACE,KAAM,gBACN,YAAa,mFACf,CACF,CACF,CAAC,EACD,EAA0B,CAAE,aAAe,GAAY,EAAO,QAAQ,CAAO,CAAE,CAAC,CAAC,CAAC,CAAE,EACpF,EAAG,GAAG,uBAA0B,CAC9B,EAAK,QAAQ,EACb,EAAO,QAAQ,CACjB,CAAC,CACH"}
package/llms.txt ADDED
@@ -0,0 +1,8 @@
1
+ # Doom Pi Workflow
2
+
3
+ Package-owned guidance for launching, monitoring, and recovering Doom Pi workflows.
4
+
5
+ ## Resources
6
+
7
+ - [Package README](./README.md): Workflow mode, leader bindings, execution model, monitoring, and public entrypoints.
8
+ - [Workflow recovery skill](./skills/workflow-recovery/SKILL.md): Evidence-first recovery of failed or interrupted workflow runs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/doompi-workflow",
3
- "version": "0.0.1-alpha.16",
3
+ "version": "0.0.1-alpha.17",
4
4
  "description": "Doompi workflow execution and monitoring integration",
5
5
  "keywords": [
6
6
  "ai",
@@ -14,7 +14,9 @@
14
14
  "author": "Vuong Ngo",
15
15
  "files": [
16
16
  "dist",
17
- "skills"
17
+ "llms.txt",
18
+ "README.md",
19
+ "skills/workflow-recovery/SKILL.md"
18
20
  ],
19
21
  "type": "module",
20
22
  "main": "./dist/index.cjs",
@@ -45,10 +47,10 @@
45
47
  "dependencies": {
46
48
  "@modelcontextprotocol/sdk": "1.29.0",
47
49
  "zod": "4.4.3",
48
- "@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.16",
49
- "@agimon-ai/doompi-ui": "0.0.1-alpha.16",
50
- "@agimon-ai/doompi-telemetry": "0.0.1-alpha.16",
51
- "@agimon-ai/workflow-mcp": "0.23.6"
50
+ "@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.17",
51
+ "@agimon-ai/doompi-telemetry": "0.0.1-alpha.17",
52
+ "@agimon-ai/doompi-ui": "0.0.1-alpha.17",
53
+ "@agimon-ai/workflow-mcp": "0.23.7"
52
54
  },
53
55
  "devDependencies": {
54
56
  "@earendil-works/pi-coding-agent": "0.84.2",