@synergenius/flowweaver-pack-weaver 0.3.1 → 0.5.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.
Files changed (161) hide show
  1. package/dist/bot/dashboard.d.ts +3 -0
  2. package/dist/bot/dashboard.d.ts.map +1 -1
  3. package/dist/bot/dashboard.js +141 -0
  4. package/dist/bot/dashboard.js.map +1 -1
  5. package/dist/bot/index.d.ts +8 -1
  6. package/dist/bot/index.d.ts.map +1 -1
  7. package/dist/bot/index.js +5 -0
  8. package/dist/bot/index.js.map +1 -1
  9. package/dist/bot/notifications.d.ts.map +1 -1
  10. package/dist/bot/notifications.js +18 -0
  11. package/dist/bot/notifications.js.map +1 -1
  12. package/dist/bot/session-state.d.ts +19 -0
  13. package/dist/bot/session-state.d.ts.map +1 -0
  14. package/dist/bot/session-state.js +56 -0
  15. package/dist/bot/session-state.js.map +1 -0
  16. package/dist/bot/steering.d.ts +13 -0
  17. package/dist/bot/steering.d.ts.map +1 -0
  18. package/dist/bot/steering.js +35 -0
  19. package/dist/bot/steering.js.map +1 -0
  20. package/dist/bot/system-prompt.d.ts +1 -0
  21. package/dist/bot/system-prompt.d.ts.map +1 -1
  22. package/dist/bot/system-prompt.js +55 -0
  23. package/dist/bot/system-prompt.js.map +1 -1
  24. package/dist/bot/task-queue.d.ts +26 -0
  25. package/dist/bot/task-queue.d.ts.map +1 -0
  26. package/dist/bot/task-queue.js +87 -0
  27. package/dist/bot/task-queue.js.map +1 -0
  28. package/dist/bot/types.d.ts +37 -1
  29. package/dist/bot/types.d.ts.map +1 -1
  30. package/dist/cli-bridge.d.ts +2 -0
  31. package/dist/cli-bridge.d.ts.map +1 -0
  32. package/dist/cli-bridge.js +31 -0
  33. package/dist/cli-bridge.js.map +1 -0
  34. package/dist/cli-handlers.d.ts +50 -0
  35. package/dist/cli-handlers.d.ts.map +1 -0
  36. package/dist/{cli.js → cli-handlers.js} +413 -181
  37. package/dist/cli-handlers.js.map +1 -0
  38. package/dist/index.d.ts +3 -0
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +4 -0
  41. package/dist/index.js.map +1 -1
  42. package/dist/mcp-tools.d.ts +13 -0
  43. package/dist/mcp-tools.d.ts.map +1 -0
  44. package/dist/mcp-tools.js +175 -0
  45. package/dist/mcp-tools.js.map +1 -0
  46. package/dist/node-types/abort-task.d.ts +22 -0
  47. package/dist/node-types/abort-task.d.ts.map +1 -0
  48. package/dist/node-types/abort-task.js +33 -0
  49. package/dist/node-types/abort-task.js.map +1 -0
  50. package/dist/node-types/approval-gate.d.ts +35 -0
  51. package/dist/node-types/approval-gate.d.ts.map +1 -0
  52. package/dist/node-types/approval-gate.js +62 -0
  53. package/dist/node-types/approval-gate.js.map +1 -0
  54. package/dist/node-types/bot-report.d.ts +22 -0
  55. package/dist/node-types/bot-report.d.ts.map +1 -0
  56. package/dist/node-types/bot-report.js +63 -0
  57. package/dist/node-types/bot-report.js.map +1 -0
  58. package/dist/node-types/build-context.d.ts +29 -0
  59. package/dist/node-types/build-context.d.ts.map +1 -0
  60. package/dist/node-types/build-context.js +73 -0
  61. package/dist/node-types/build-context.js.map +1 -0
  62. package/dist/node-types/detect-provider.d.ts +20 -0
  63. package/dist/node-types/detect-provider.d.ts.map +1 -0
  64. package/dist/node-types/detect-provider.js +72 -0
  65. package/dist/node-types/detect-provider.js.map +1 -0
  66. package/dist/node-types/exec-validate-retry.d.ts +38 -0
  67. package/dist/node-types/exec-validate-retry.d.ts.map +1 -0
  68. package/dist/node-types/exec-validate-retry.js +250 -0
  69. package/dist/node-types/exec-validate-retry.js.map +1 -0
  70. package/dist/node-types/execute-plan.d.ts +34 -0
  71. package/dist/node-types/execute-plan.d.ts.map +1 -0
  72. package/dist/node-types/execute-plan.js +175 -0
  73. package/dist/node-types/execute-plan.js.map +1 -0
  74. package/dist/node-types/execute-target.d.ts +26 -0
  75. package/dist/node-types/execute-target.d.ts.map +1 -0
  76. package/dist/node-types/execute-target.js +312 -0
  77. package/dist/node-types/execute-target.js.map +1 -0
  78. package/dist/node-types/fix-errors.d.ts +32 -0
  79. package/dist/node-types/fix-errors.d.ts.map +1 -0
  80. package/dist/node-types/fix-errors.js +106 -0
  81. package/dist/node-types/fix-errors.js.map +1 -0
  82. package/dist/node-types/git-ops.d.ts +18 -0
  83. package/dist/node-types/git-ops.d.ts.map +1 -0
  84. package/dist/node-types/git-ops.js +65 -0
  85. package/dist/node-types/git-ops.js.map +1 -0
  86. package/dist/node-types/index.d.ts +20 -0
  87. package/dist/node-types/index.d.ts.map +1 -0
  88. package/dist/node-types/index.js +20 -0
  89. package/dist/node-types/index.js.map +1 -0
  90. package/dist/node-types/load-config.d.ts +15 -0
  91. package/dist/node-types/load-config.d.ts.map +1 -0
  92. package/dist/node-types/load-config.js +26 -0
  93. package/dist/node-types/load-config.js.map +1 -0
  94. package/dist/node-types/plan-task.d.ts +32 -0
  95. package/dist/node-types/plan-task.d.ts.map +1 -0
  96. package/dist/node-types/plan-task.js +122 -0
  97. package/dist/node-types/plan-task.js.map +1 -0
  98. package/dist/node-types/read-workflow.d.ts +30 -0
  99. package/dist/node-types/read-workflow.d.ts.map +1 -0
  100. package/dist/node-types/read-workflow.js +72 -0
  101. package/dist/node-types/read-workflow.js.map +1 -0
  102. package/dist/node-types/receive-task.d.ts +31 -0
  103. package/dist/node-types/receive-task.d.ts.map +1 -0
  104. package/dist/node-types/receive-task.js +72 -0
  105. package/dist/node-types/receive-task.js.map +1 -0
  106. package/dist/node-types/report.d.ts +15 -0
  107. package/dist/node-types/report.d.ts.map +1 -0
  108. package/dist/node-types/report.js +25 -0
  109. package/dist/node-types/report.js.map +1 -0
  110. package/dist/node-types/resolve-target.d.ts +24 -0
  111. package/dist/node-types/resolve-target.d.ts.map +1 -0
  112. package/dist/node-types/resolve-target.js +67 -0
  113. package/dist/node-types/resolve-target.js.map +1 -0
  114. package/dist/node-types/route-task.d.ts +26 -0
  115. package/dist/node-types/route-task.d.ts.map +1 -0
  116. package/dist/node-types/route-task.js +29 -0
  117. package/dist/node-types/route-task.js.map +1 -0
  118. package/dist/node-types/send-notify.d.ts +20 -0
  119. package/dist/node-types/send-notify.d.ts.map +1 -0
  120. package/dist/node-types/send-notify.js +75 -0
  121. package/dist/node-types/send-notify.js.map +1 -0
  122. package/dist/node-types/validate-result.d.ts +32 -0
  123. package/dist/node-types/validate-result.d.ts.map +1 -0
  124. package/dist/node-types/validate-result.js +53 -0
  125. package/dist/node-types/validate-result.js.map +1 -0
  126. package/dist/templates/index.d.ts +2 -0
  127. package/dist/templates/index.d.ts.map +1 -1
  128. package/dist/templates/index.js +3 -1
  129. package/dist/templates/index.js.map +1 -1
  130. package/dist/templates/weaver-bot-template.d.ts +3 -0
  131. package/dist/templates/weaver-bot-template.d.ts.map +1 -0
  132. package/dist/templates/weaver-bot-template.js +99 -0
  133. package/dist/templates/weaver-bot-template.js.map +1 -0
  134. package/dist/templates/weaver-template.d.ts.map +1 -1
  135. package/dist/templates/weaver-template.js +15 -653
  136. package/dist/templates/weaver-template.js.map +1 -1
  137. package/dist/workflows/index.d.ts +5 -0
  138. package/dist/workflows/index.d.ts.map +1 -0
  139. package/dist/workflows/index.js +5 -0
  140. package/dist/workflows/index.js.map +1 -0
  141. package/dist/workflows/weaver-bot-batch.d.ts +57 -0
  142. package/dist/workflows/weaver-bot-batch.d.ts.map +1 -0
  143. package/dist/workflows/weaver-bot-batch.js +60 -0
  144. package/dist/workflows/weaver-bot-batch.js.map +1 -0
  145. package/dist/workflows/weaver-bot-session.d.ts +65 -0
  146. package/dist/workflows/weaver-bot-session.d.ts.map +1 -0
  147. package/dist/workflows/weaver-bot-session.js +68 -0
  148. package/dist/workflows/weaver-bot-session.js.map +1 -0
  149. package/dist/workflows/weaver-bot.d.ts +72 -0
  150. package/dist/workflows/weaver-bot.d.ts.map +1 -0
  151. package/dist/workflows/weaver-bot.js +75 -0
  152. package/dist/workflows/weaver-bot.js.map +1 -0
  153. package/dist/workflows/weaver.d.ts +24 -0
  154. package/dist/workflows/weaver.d.ts.map +1 -0
  155. package/dist/workflows/weaver.js +28 -0
  156. package/dist/workflows/weaver.js.map +1 -0
  157. package/flowweaver.manifest.json +1004 -3
  158. package/package.json +23 -5
  159. package/dist/cli.d.ts +0 -3
  160. package/dist/cli.d.ts.map +0 -1
  161. package/dist/cli.js.map +0 -1
@@ -1,16 +1,1016 @@
1
1
  {
2
2
  "manifestVersion": 1,
3
3
  "name": "@synergenius/flowweaver-pack-weaver",
4
- "version": "0.3.1",
4
+ "version": "0.5.0",
5
5
  "description": "Autonomous workflow runner for Flow Weaver. Auto-detect providers, execute workflows, notify results.",
6
6
  "engineVersion": ">=0.17.13",
7
7
  "categories": [
8
8
  "automation",
9
9
  "ai"
10
10
  ],
11
- "nodeTypes": [],
11
+ "nodeTypes": [
12
+ {
13
+ "name": "weaverLoadConfig",
14
+ "description": "Read .weaver.json, merge with defaults, and output the config object.",
15
+ "file": "dist/node-types/load-config.js",
16
+ "functionName": "weaverLoadConfig",
17
+ "isAsync": false,
18
+ "inputs": {
19
+ "projectDir": {
20
+ "dataType": "string",
21
+ "description": "Project root directory (defaults to cwd)",
22
+ "optional": true
23
+ }
24
+ },
25
+ "outputs": {
26
+ "projectDir": {
27
+ "dataType": "string",
28
+ "description": "Project root directory (pass-through)"
29
+ },
30
+ "config": {
31
+ "dataType": "string",
32
+ "description": "Weaver configuration (JSON)"
33
+ }
34
+ }
35
+ },
36
+ {
37
+ "name": "weaverDetectProvider",
38
+ "description": "Auto-detect or resolve the configured AI provider.",
39
+ "file": "dist/node-types/detect-provider.js",
40
+ "functionName": "weaverDetectProvider",
41
+ "isAsync": false,
42
+ "inputs": {
43
+ "projectDir": {
44
+ "dataType": "string",
45
+ "description": "Project root directory"
46
+ },
47
+ "config": {
48
+ "dataType": "string",
49
+ "description": "Weaver configuration (JSON)"
50
+ }
51
+ },
52
+ "outputs": {
53
+ "projectDir": {
54
+ "dataType": "string",
55
+ "description": "Project root directory (pass-through)"
56
+ },
57
+ "config": {
58
+ "dataType": "string",
59
+ "description": "Config (pass-through)"
60
+ },
61
+ "providerType": {
62
+ "dataType": "string",
63
+ "description": "Resolved provider type"
64
+ },
65
+ "providerInfo": {
66
+ "dataType": "string",
67
+ "description": "Provider details (JSON)"
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "name": "weaverResolveTarget",
73
+ "description": "Find the target workflow file from config or by scanning the project directory.",
74
+ "file": "dist/node-types/resolve-target.js",
75
+ "functionName": "weaverResolveTarget",
76
+ "isAsync": false,
77
+ "inputs": {
78
+ "projectDir": {
79
+ "dataType": "string",
80
+ "description": "Project root directory"
81
+ },
82
+ "config": {
83
+ "dataType": "string",
84
+ "description": "Config (JSON)"
85
+ },
86
+ "providerType": {
87
+ "dataType": "string",
88
+ "description": "Provider type (pass-through)"
89
+ },
90
+ "providerInfo": {
91
+ "dataType": "string",
92
+ "description": "Provider info (pass-through)"
93
+ }
94
+ },
95
+ "outputs": {
96
+ "projectDir": {
97
+ "dataType": "string",
98
+ "description": "Project root directory (pass-through)"
99
+ },
100
+ "config": {
101
+ "dataType": "string",
102
+ "description": "Config (pass-through)"
103
+ },
104
+ "providerType": {
105
+ "dataType": "string",
106
+ "description": "Provider type (pass-through)"
107
+ },
108
+ "providerInfo": {
109
+ "dataType": "string",
110
+ "description": "Provider info (pass-through)"
111
+ },
112
+ "targetPath": {
113
+ "dataType": "string",
114
+ "description": "Absolute path to target workflow"
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "name": "weaverExecuteTarget",
120
+ "description": "Run the target workflow via the flow-weaver executor with an AI agent channel.",
121
+ "file": "dist/node-types/execute-target.js",
122
+ "functionName": "weaverExecuteTarget",
123
+ "isAsync": true,
124
+ "inputs": {
125
+ "projectDir": {
126
+ "dataType": "string",
127
+ "description": "Project root directory"
128
+ },
129
+ "config": {
130
+ "dataType": "string",
131
+ "description": "Config (JSON)"
132
+ },
133
+ "providerType": {
134
+ "dataType": "string",
135
+ "description": "Provider type"
136
+ },
137
+ "providerInfo": {
138
+ "dataType": "string",
139
+ "description": "Provider info (JSON)"
140
+ },
141
+ "targetPath": {
142
+ "dataType": "string",
143
+ "description": "Absolute path to target workflow"
144
+ }
145
+ },
146
+ "outputs": {
147
+ "projectDir": {
148
+ "dataType": "string",
149
+ "description": "Project root directory (pass-through)"
150
+ },
151
+ "config": {
152
+ "dataType": "string",
153
+ "description": "Config (pass-through)"
154
+ },
155
+ "targetPath": {
156
+ "dataType": "string",
157
+ "description": "Target path (pass-through)"
158
+ },
159
+ "resultJson": {
160
+ "dataType": "string",
161
+ "description": "Workflow execution result (JSON)"
162
+ }
163
+ }
164
+ },
165
+ {
166
+ "name": "weaverSendNotify",
167
+ "description": "Send webhook/Discord/Slack notifications based on config.",
168
+ "file": "dist/node-types/send-notify.js",
169
+ "functionName": "weaverSendNotify",
170
+ "isAsync": false,
171
+ "inputs": {
172
+ "projectDir": {
173
+ "dataType": "string",
174
+ "description": "Project root directory"
175
+ },
176
+ "config": {
177
+ "dataType": "string",
178
+ "description": "Config (JSON)"
179
+ },
180
+ "targetPath": {
181
+ "dataType": "string",
182
+ "description": "Target path"
183
+ },
184
+ "resultJson": {
185
+ "dataType": "string",
186
+ "description": "Result (JSON)"
187
+ }
188
+ },
189
+ "outputs": {
190
+ "projectDir": {
191
+ "dataType": "string",
192
+ "description": "Project root directory (pass-through)"
193
+ },
194
+ "targetPath": {
195
+ "dataType": "string",
196
+ "description": "Target path (pass-through)"
197
+ },
198
+ "resultJson": {
199
+ "dataType": "string",
200
+ "description": "Result (pass-through)"
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "name": "weaverReport",
206
+ "description": "Format the result summary, suitable for display or further processing.",
207
+ "file": "dist/node-types/report.js",
208
+ "functionName": "weaverReport",
209
+ "isAsync": false,
210
+ "inputs": {
211
+ "projectDir": {
212
+ "dataType": "string",
213
+ "description": "Project root directory"
214
+ },
215
+ "targetPath": {
216
+ "dataType": "string",
217
+ "description": "Target workflow path"
218
+ },
219
+ "resultJson": {
220
+ "dataType": "string",
221
+ "description": "Result (JSON)"
222
+ }
223
+ },
224
+ "outputs": {
225
+ "summary": {
226
+ "dataType": "string",
227
+ "description": "Summary string"
228
+ }
229
+ }
230
+ },
231
+ {
232
+ "name": "weaverReceiveTask",
233
+ "description": "Receive a task from CLI args, MCP, or the task queue.",
234
+ "file": "dist/node-types/receive-task.js",
235
+ "functionName": "weaverReceiveTask",
236
+ "isAsync": true,
237
+ "inputs": {
238
+ "projectDir": {
239
+ "dataType": "string",
240
+ "description": "Project root directory"
241
+ },
242
+ "config": {
243
+ "dataType": "string",
244
+ "description": "Config (JSON)"
245
+ },
246
+ "providerType": {
247
+ "dataType": "string",
248
+ "description": "Provider type"
249
+ },
250
+ "providerInfo": {
251
+ "dataType": "string",
252
+ "description": "Provider info (JSON)"
253
+ },
254
+ "taskJson": {
255
+ "dataType": "string",
256
+ "description": "Pre-supplied task (JSON)",
257
+ "optional": true
258
+ }
259
+ },
260
+ "outputs": {
261
+ "projectDir": {
262
+ "dataType": "string",
263
+ "description": "Project root directory (pass-through)"
264
+ },
265
+ "config": {
266
+ "dataType": "string",
267
+ "description": "Config (pass-through)"
268
+ },
269
+ "providerType": {
270
+ "dataType": "string",
271
+ "description": "Provider type (pass-through)"
272
+ },
273
+ "providerInfo": {
274
+ "dataType": "string",
275
+ "description": "Provider info (pass-through)"
276
+ },
277
+ "taskJson": {
278
+ "dataType": "string",
279
+ "description": "Parsed task (JSON)"
280
+ },
281
+ "hasTask": {
282
+ "dataType": "boolean",
283
+ "description": "Whether a task was found"
284
+ }
285
+ }
286
+ },
287
+ {
288
+ "name": "weaverRouteTask",
289
+ "description": "Route task by mode: actionable (success) or read-only (failure).",
290
+ "file": "dist/node-types/route-task.js",
291
+ "functionName": "weaverRouteTask",
292
+ "isAsync": false,
293
+ "inputs": {
294
+ "projectDir": {
295
+ "dataType": "string",
296
+ "description": "Project root directory"
297
+ },
298
+ "config": {
299
+ "dataType": "string",
300
+ "description": "Config (JSON)"
301
+ },
302
+ "providerType": {
303
+ "dataType": "string",
304
+ "description": "Provider type"
305
+ },
306
+ "providerInfo": {
307
+ "dataType": "string",
308
+ "description": "Provider info (JSON)"
309
+ },
310
+ "taskJson": {
311
+ "dataType": "string",
312
+ "description": "Task (JSON)"
313
+ }
314
+ },
315
+ "outputs": {
316
+ "projectDir": {
317
+ "dataType": "string",
318
+ "description": "Project root directory (pass-through)"
319
+ },
320
+ "config": {
321
+ "dataType": "string",
322
+ "description": "Config (pass-through)"
323
+ },
324
+ "providerType": {
325
+ "dataType": "string",
326
+ "description": "Provider type (pass-through)"
327
+ },
328
+ "providerInfo": {
329
+ "dataType": "string",
330
+ "description": "Provider info (pass-through)"
331
+ },
332
+ "taskJson": {
333
+ "dataType": "string",
334
+ "description": "Task (pass-through)"
335
+ }
336
+ }
337
+ },
338
+ {
339
+ "name": "weaverReadWorkflow",
340
+ "description": "Read and analyze a workflow file with diagram.",
341
+ "file": "dist/node-types/read-workflow.js",
342
+ "functionName": "weaverReadWorkflow",
343
+ "isAsync": false,
344
+ "inputs": {
345
+ "projectDir": {
346
+ "dataType": "string",
347
+ "description": "Project root directory"
348
+ },
349
+ "taskJson": {
350
+ "dataType": "string",
351
+ "description": "Task (JSON)"
352
+ }
353
+ },
354
+ "outputs": {
355
+ "projectDir": {
356
+ "dataType": "string",
357
+ "description": "Project root directory (pass-through)"
358
+ },
359
+ "taskJson": {
360
+ "dataType": "string",
361
+ "description": "Task (pass-through)"
362
+ },
363
+ "resultJson": {
364
+ "dataType": "string",
365
+ "description": "Workflow description and diagram (JSON)"
366
+ },
367
+ "filesModified": {
368
+ "dataType": "string",
369
+ "description": "Files modified (empty, JSON)"
370
+ }
371
+ }
372
+ },
373
+ {
374
+ "name": "weaverBuildContext",
375
+ "description": "Build the AI knowledge bundle from flow-weaver context.",
376
+ "file": "dist/node-types/build-context.js",
377
+ "functionName": "weaverBuildContext",
378
+ "isAsync": false,
379
+ "inputs": {
380
+ "projectDir": {
381
+ "dataType": "string",
382
+ "description": "Project root directory"
383
+ },
384
+ "config": {
385
+ "dataType": "string",
386
+ "description": "Config (JSON)"
387
+ },
388
+ "providerType": {
389
+ "dataType": "string",
390
+ "description": "Provider type"
391
+ },
392
+ "providerInfo": {
393
+ "dataType": "string",
394
+ "description": "Provider info (JSON)"
395
+ },
396
+ "taskJson": {
397
+ "dataType": "string",
398
+ "description": "Task (JSON)"
399
+ }
400
+ },
401
+ "outputs": {
402
+ "projectDir": {
403
+ "dataType": "string",
404
+ "description": "Project root directory (pass-through)"
405
+ },
406
+ "config": {
407
+ "dataType": "string",
408
+ "description": "Config (pass-through)"
409
+ },
410
+ "providerType": {
411
+ "dataType": "string",
412
+ "description": "Provider type (pass-through)"
413
+ },
414
+ "providerInfo": {
415
+ "dataType": "string",
416
+ "description": "Provider info (pass-through)"
417
+ },
418
+ "taskJson": {
419
+ "dataType": "string",
420
+ "description": "Task (pass-through)"
421
+ },
422
+ "contextBundle": {
423
+ "dataType": "string",
424
+ "description": "Knowledge bundle (markdown)"
425
+ }
426
+ }
427
+ },
428
+ {
429
+ "name": "weaverPlanTask",
430
+ "description": "Send task + context to AI provider and get execution plan.",
431
+ "file": "dist/node-types/plan-task.js",
432
+ "functionName": "weaverPlanTask",
433
+ "isAsync": true,
434
+ "inputs": {
435
+ "projectDir": {
436
+ "dataType": "string",
437
+ "description": "Project root directory"
438
+ },
439
+ "config": {
440
+ "dataType": "string",
441
+ "description": "Config (JSON)"
442
+ },
443
+ "providerType": {
444
+ "dataType": "string",
445
+ "description": "Provider type"
446
+ },
447
+ "providerInfo": {
448
+ "dataType": "string",
449
+ "description": "Provider info (JSON)"
450
+ },
451
+ "taskJson": {
452
+ "dataType": "string",
453
+ "description": "Task (JSON)"
454
+ },
455
+ "contextBundle": {
456
+ "dataType": "string",
457
+ "description": "Knowledge bundle"
458
+ }
459
+ },
460
+ "outputs": {
461
+ "projectDir": {
462
+ "dataType": "string",
463
+ "description": "Project root directory (pass-through)"
464
+ },
465
+ "config": {
466
+ "dataType": "string",
467
+ "description": "Config (pass-through)"
468
+ },
469
+ "providerType": {
470
+ "dataType": "string",
471
+ "description": "Provider type (pass-through)"
472
+ },
473
+ "providerInfo": {
474
+ "dataType": "string",
475
+ "description": "Provider info (pass-through)"
476
+ },
477
+ "taskJson": {
478
+ "dataType": "string",
479
+ "description": "Task (pass-through)"
480
+ },
481
+ "planJson": {
482
+ "dataType": "string",
483
+ "description": "Execution plan (JSON)"
484
+ }
485
+ }
486
+ },
487
+ {
488
+ "name": "weaverApprovalGate",
489
+ "description": "Present plan for user approval with auto-approve support.",
490
+ "file": "dist/node-types/approval-gate.js",
491
+ "functionName": "weaverApprovalGate",
492
+ "isAsync": true,
493
+ "inputs": {
494
+ "projectDir": {
495
+ "dataType": "string",
496
+ "description": "Project root directory"
497
+ },
498
+ "config": {
499
+ "dataType": "string",
500
+ "description": "Config (JSON)"
501
+ },
502
+ "providerType": {
503
+ "dataType": "string",
504
+ "description": "Provider type"
505
+ },
506
+ "providerInfo": {
507
+ "dataType": "string",
508
+ "description": "Provider info"
509
+ },
510
+ "planJson": {
511
+ "dataType": "string",
512
+ "description": "Plan (JSON)"
513
+ },
514
+ "taskJson": {
515
+ "dataType": "string",
516
+ "description": "Task (JSON)"
517
+ }
518
+ },
519
+ "outputs": {
520
+ "projectDir": {
521
+ "dataType": "string",
522
+ "description": "Project root directory (pass-through)"
523
+ },
524
+ "config": {
525
+ "dataType": "string",
526
+ "description": "Config (pass-through)"
527
+ },
528
+ "providerType": {
529
+ "dataType": "string",
530
+ "description": "Provider type (pass-through)"
531
+ },
532
+ "providerInfo": {
533
+ "dataType": "string",
534
+ "description": "Provider info (pass-through)"
535
+ },
536
+ "planJson": {
537
+ "dataType": "string",
538
+ "description": "Plan (pass-through)"
539
+ },
540
+ "taskJson": {
541
+ "dataType": "string",
542
+ "description": "Task (pass-through)"
543
+ },
544
+ "rejectionReason": {
545
+ "dataType": "string",
546
+ "description": "Rejection reason (on failure)"
547
+ }
548
+ }
549
+ },
550
+ {
551
+ "name": "weaverAbortTask",
552
+ "description": "Handle plan rejection and format abort result.",
553
+ "file": "dist/node-types/abort-task.js",
554
+ "functionName": "weaverAbortTask",
555
+ "isAsync": false,
556
+ "inputs": {
557
+ "projectDir": {
558
+ "dataType": "string",
559
+ "description": "Project root directory"
560
+ },
561
+ "taskJson": {
562
+ "dataType": "string",
563
+ "description": "Task (JSON)"
564
+ },
565
+ "rejectionReason": {
566
+ "dataType": "string",
567
+ "description": "Rejection reason"
568
+ }
569
+ },
570
+ "outputs": {
571
+ "projectDir": {
572
+ "dataType": "string",
573
+ "description": "Project root directory (pass-through)"
574
+ },
575
+ "taskJson": {
576
+ "dataType": "string",
577
+ "description": "Task (pass-through)"
578
+ },
579
+ "resultJson": {
580
+ "dataType": "string",
581
+ "description": "Abort result (JSON)"
582
+ },
583
+ "filesModified": {
584
+ "dataType": "string",
585
+ "description": "Files modified (empty, JSON)"
586
+ }
587
+ }
588
+ },
589
+ {
590
+ "name": "weaverExecValidateRetry",
591
+ "description": "Execute-validate-fix retry loop (up to 3 attempts).",
592
+ "file": "dist/node-types/exec-validate-retry.js",
593
+ "functionName": "weaverExecValidateRetry",
594
+ "isAsync": true,
595
+ "inputs": {
596
+ "projectDir": {
597
+ "dataType": "string",
598
+ "description": "Project root directory"
599
+ },
600
+ "config": {
601
+ "dataType": "string",
602
+ "description": "Config (JSON)"
603
+ },
604
+ "providerType": {
605
+ "dataType": "string",
606
+ "description": "Provider type"
607
+ },
608
+ "providerInfo": {
609
+ "dataType": "string",
610
+ "description": "Provider info (JSON)"
611
+ },
612
+ "planJson": {
613
+ "dataType": "string",
614
+ "description": "Execution plan (JSON)"
615
+ },
616
+ "taskJson": {
617
+ "dataType": "string",
618
+ "description": "Task (JSON)"
619
+ }
620
+ },
621
+ "outputs": {
622
+ "projectDir": {
623
+ "dataType": "string",
624
+ "description": "Project root directory (pass-through)"
625
+ },
626
+ "resultJson": {
627
+ "dataType": "string",
628
+ "description": "Final execution result (JSON)"
629
+ },
630
+ "validationResultJson": {
631
+ "dataType": "string",
632
+ "description": "Final validation result (JSON)"
633
+ },
634
+ "filesModified": {
635
+ "dataType": "string",
636
+ "description": "All modified files (JSON array)"
637
+ },
638
+ "allValid": {
639
+ "dataType": "boolean",
640
+ "description": "Whether all files are valid"
641
+ }
642
+ }
643
+ },
644
+ {
645
+ "name": "weaverExecutePlan",
646
+ "description": "Execute plan steps via the flow-weaver CLI.",
647
+ "file": "dist/node-types/execute-plan.js",
648
+ "functionName": "weaverExecutePlan",
649
+ "isAsync": true,
650
+ "inputs": {
651
+ "projectDir": {
652
+ "dataType": "string",
653
+ "description": "Project root directory"
654
+ },
655
+ "config": {
656
+ "dataType": "string",
657
+ "description": "Config (JSON)"
658
+ },
659
+ "providerType": {
660
+ "dataType": "string",
661
+ "description": "Provider type"
662
+ },
663
+ "providerInfo": {
664
+ "dataType": "string",
665
+ "description": "Provider info"
666
+ },
667
+ "planJson": {
668
+ "dataType": "string",
669
+ "description": "Plan (JSON)"
670
+ },
671
+ "taskJson": {
672
+ "dataType": "string",
673
+ "description": "Task (JSON)"
674
+ }
675
+ },
676
+ "outputs": {
677
+ "projectDir": {
678
+ "dataType": "string",
679
+ "description": "Project root directory (pass-through)"
680
+ },
681
+ "config": {
682
+ "dataType": "string",
683
+ "description": "Config (pass-through)"
684
+ },
685
+ "providerType": {
686
+ "dataType": "string",
687
+ "description": "Provider type (pass-through)"
688
+ },
689
+ "providerInfo": {
690
+ "dataType": "string",
691
+ "description": "Provider info (pass-through)"
692
+ },
693
+ "executionResultJson": {
694
+ "dataType": "string",
695
+ "description": "Execution result (JSON)"
696
+ },
697
+ "taskJson": {
698
+ "dataType": "string",
699
+ "description": "Task (pass-through)"
700
+ },
701
+ "filesModified": {
702
+ "dataType": "string",
703
+ "description": "Files modified (JSON array)"
704
+ }
705
+ }
706
+ },
707
+ {
708
+ "name": "weaverValidateResult",
709
+ "description": "Validate modified files using flow-weaver validate.",
710
+ "file": "dist/node-types/validate-result.js",
711
+ "functionName": "weaverValidateResult",
712
+ "isAsync": false,
713
+ "inputs": {
714
+ "projectDir": {
715
+ "dataType": "string",
716
+ "description": "Project root directory"
717
+ },
718
+ "config": {
719
+ "dataType": "string",
720
+ "description": "Config (JSON)"
721
+ },
722
+ "providerType": {
723
+ "dataType": "string",
724
+ "description": "Provider type"
725
+ },
726
+ "providerInfo": {
727
+ "dataType": "string",
728
+ "description": "Provider info"
729
+ },
730
+ "executionResultJson": {
731
+ "dataType": "string",
732
+ "description": "Execution result (JSON)"
733
+ },
734
+ "taskJson": {
735
+ "dataType": "string",
736
+ "description": "Task (JSON)"
737
+ },
738
+ "filesModified": {
739
+ "dataType": "string",
740
+ "description": "Files modified (JSON array)"
741
+ }
742
+ },
743
+ "outputs": {
744
+ "projectDir": {
745
+ "dataType": "string",
746
+ "description": "Project root directory (pass-through)"
747
+ },
748
+ "config": {
749
+ "dataType": "string",
750
+ "description": "Config (pass-through)"
751
+ },
752
+ "providerType": {
753
+ "dataType": "string",
754
+ "description": "Provider type (pass-through)"
755
+ },
756
+ "providerInfo": {
757
+ "dataType": "string",
758
+ "description": "Provider info (pass-through)"
759
+ },
760
+ "validationResultJson": {
761
+ "dataType": "string",
762
+ "description": "Validation results (JSON)"
763
+ },
764
+ "taskJson": {
765
+ "dataType": "string",
766
+ "description": "Task (pass-through)"
767
+ },
768
+ "allValid": {
769
+ "dataType": "boolean",
770
+ "description": "Whether all files passed validation"
771
+ }
772
+ }
773
+ },
774
+ {
775
+ "name": "weaverFixErrors",
776
+ "description": "Send validation errors to AI for a repair plan.",
777
+ "file": "dist/node-types/fix-errors.js",
778
+ "functionName": "weaverFixErrors",
779
+ "isAsync": true,
780
+ "inputs": {
781
+ "projectDir": {
782
+ "dataType": "string",
783
+ "description": "Project root directory"
784
+ },
785
+ "config": {
786
+ "dataType": "string",
787
+ "description": "Config (JSON)"
788
+ },
789
+ "providerType": {
790
+ "dataType": "string",
791
+ "description": "Provider type"
792
+ },
793
+ "providerInfo": {
794
+ "dataType": "string",
795
+ "description": "Provider info (JSON)"
796
+ },
797
+ "validationResultJson": {
798
+ "dataType": "string",
799
+ "description": "Validation results (JSON)"
800
+ },
801
+ "taskJson": {
802
+ "dataType": "string",
803
+ "description": "Task (JSON)"
804
+ }
805
+ },
806
+ "outputs": {
807
+ "projectDir": {
808
+ "dataType": "string",
809
+ "description": "Project root directory (pass-through)"
810
+ },
811
+ "config": {
812
+ "dataType": "string",
813
+ "description": "Config (pass-through)"
814
+ },
815
+ "providerType": {
816
+ "dataType": "string",
817
+ "description": "Provider type (pass-through)"
818
+ },
819
+ "providerInfo": {
820
+ "dataType": "string",
821
+ "description": "Provider info (pass-through)"
822
+ },
823
+ "fixPlanJson": {
824
+ "dataType": "string",
825
+ "description": "Fix plan (JSON)"
826
+ },
827
+ "taskJson": {
828
+ "dataType": "string",
829
+ "description": "Task (pass-through)"
830
+ }
831
+ }
832
+ },
833
+ {
834
+ "name": "weaverGitOps",
835
+ "description": "Git operations: stage, commit, branch on modified files.",
836
+ "file": "dist/node-types/git-ops.js",
837
+ "functionName": "weaverGitOps",
838
+ "isAsync": false,
839
+ "inputs": {
840
+ "projectDir": {
841
+ "dataType": "string",
842
+ "description": "Project root directory"
843
+ },
844
+ "filesModified": {
845
+ "dataType": "string",
846
+ "description": "Files modified (JSON array)"
847
+ },
848
+ "config": {
849
+ "dataType": "string",
850
+ "description": "Config (JSON)"
851
+ }
852
+ },
853
+ "outputs": {
854
+ "projectDir": {
855
+ "dataType": "string",
856
+ "description": "Project root directory (pass-through)"
857
+ },
858
+ "gitResultJson": {
859
+ "dataType": "string",
860
+ "description": "Git operation result (JSON)"
861
+ }
862
+ }
863
+ },
864
+ {
865
+ "name": "weaverBotReport",
866
+ "description": "Generate final bot report from any execution path.",
867
+ "file": "dist/node-types/bot-report.js",
868
+ "functionName": "weaverBotReport",
869
+ "isAsync": false,
870
+ "inputs": {
871
+ "readResult": {
872
+ "dataType": "string",
873
+ "description": "From read-only path (JSON)",
874
+ "optional": true
875
+ },
876
+ "mainResult": {
877
+ "dataType": "string",
878
+ "description": "From main execution path (JSON)",
879
+ "optional": true
880
+ },
881
+ "abortResult": {
882
+ "dataType": "string",
883
+ "description": "From abort path (JSON)",
884
+ "optional": true
885
+ },
886
+ "taskJson": {
887
+ "dataType": "string",
888
+ "description": "Task (JSON)"
889
+ },
890
+ "filesModified": {
891
+ "dataType": "string",
892
+ "description": "Files modified (JSON array)",
893
+ "optional": true
894
+ },
895
+ "gitResultJson": {
896
+ "dataType": "string",
897
+ "description": "Git result (JSON)",
898
+ "optional": true
899
+ }
900
+ },
901
+ "outputs": {
902
+ "summary": {
903
+ "dataType": "string",
904
+ "description": "Summary text"
905
+ },
906
+ "reportJson": {
907
+ "dataType": "string",
908
+ "description": "Full report (JSON)"
909
+ }
910
+ }
911
+ }
912
+ ],
12
913
  "workflows": [],
13
914
  "patterns": [],
915
+ "cliEntrypoint": "dist/cli-bridge.js",
916
+ "cliCommands": [
917
+ {
918
+ "name": "run",
919
+ "description": "Run a workflow file",
920
+ "usage": "<file>"
921
+ },
922
+ {
923
+ "name": "history",
924
+ "description": "List recent runs",
925
+ "usage": "[id]"
926
+ },
927
+ {
928
+ "name": "costs",
929
+ "description": "Show cost summary"
930
+ },
931
+ {
932
+ "name": "providers",
933
+ "description": "List available providers"
934
+ },
935
+ {
936
+ "name": "watch",
937
+ "description": "Watch file, re-run on change",
938
+ "usage": "<file>"
939
+ },
940
+ {
941
+ "name": "cron",
942
+ "description": "Run on cron schedule",
943
+ "usage": "<schedule> <file>"
944
+ },
945
+ {
946
+ "name": "pipeline",
947
+ "description": "Run multi-stage pipeline",
948
+ "usage": "<config.json>"
949
+ },
950
+ {
951
+ "name": "dashboard",
952
+ "description": "Start live dashboard",
953
+ "usage": "[file]"
954
+ },
955
+ {
956
+ "name": "eject",
957
+ "description": "Eject managed workflow for customization"
958
+ },
959
+ {
960
+ "name": "bot",
961
+ "description": "Run the autonomous bot with a task",
962
+ "usage": "<task>"
963
+ },
964
+ {
965
+ "name": "session",
966
+ "description": "Start interactive bot session"
967
+ },
968
+ {
969
+ "name": "steer",
970
+ "description": "Send steering command to running bot",
971
+ "usage": "<pause|resume|cancel|redirect|queue> [payload]"
972
+ },
973
+ {
974
+ "name": "queue",
975
+ "description": "Manage bot task queue",
976
+ "usage": "<add|list|clear|remove> [task|id]"
977
+ }
978
+ ],
979
+ "mcpEntrypoint": "dist/mcp-tools.js",
980
+ "mcpTools": [
981
+ {
982
+ "name": "fw_weaver_run",
983
+ "description": "Execute a workflow with the AI runner"
984
+ },
985
+ {
986
+ "name": "fw_weaver_history",
987
+ "description": "Query run history"
988
+ },
989
+ {
990
+ "name": "fw_weaver_costs",
991
+ "description": "Get cost summary"
992
+ },
993
+ {
994
+ "name": "fw_weaver_providers",
995
+ "description": "List available providers"
996
+ },
997
+ {
998
+ "name": "fw_weaver_bot",
999
+ "description": "Run the autonomous bot with a task"
1000
+ },
1001
+ {
1002
+ "name": "fw_weaver_steer",
1003
+ "description": "Send steering command to running bot"
1004
+ },
1005
+ {
1006
+ "name": "fw_weaver_queue",
1007
+ "description": "Manage bot task queue"
1008
+ },
1009
+ {
1010
+ "name": "fw_weaver_status",
1011
+ "description": "Get bot session status"
1012
+ }
1013
+ ],
14
1014
  "initContributions": {
15
1015
  "useCase": {
16
1016
  "id": "ai-runner",
@@ -18,7 +1018,8 @@
18
1018
  "description": "Autonomous workflow execution with AI providers and notifications"
19
1019
  },
20
1020
  "templates": [
21
- "weaver"
1021
+ "weaver",
1022
+ "weaver-bot"
22
1023
  ]
23
1024
  },
24
1025
  "docs": [