@synergenius/flowweaver-pack-weaver 0.5.1 → 0.5.3

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 (245) hide show
  1. package/README.md +167 -0
  2. package/dist/bot/agent-provider.d.ts +15 -1
  3. package/dist/bot/agent-provider.d.ts.map +1 -1
  4. package/dist/bot/agent-provider.js +78 -2
  5. package/dist/bot/agent-provider.js.map +1 -1
  6. package/dist/bot/ai-client.d.ts +4 -0
  7. package/dist/bot/ai-client.d.ts.map +1 -0
  8. package/dist/bot/ai-client.js +50 -0
  9. package/dist/bot/ai-client.js.map +1 -0
  10. package/dist/bot/bot-agent-channel.d.ts +14 -1
  11. package/dist/bot/bot-agent-channel.d.ts.map +1 -1
  12. package/dist/bot/bot-agent-channel.js +16 -0
  13. package/dist/bot/bot-agent-channel.js.map +1 -1
  14. package/dist/bot/cli-provider.d.ts +18 -2
  15. package/dist/bot/cli-provider.d.ts.map +1 -1
  16. package/dist/bot/cli-provider.js +20 -2
  17. package/dist/bot/cli-provider.js.map +1 -1
  18. package/dist/bot/dashboard.d.ts.map +1 -1
  19. package/dist/bot/dashboard.js +2 -2
  20. package/dist/bot/dashboard.js.map +1 -1
  21. package/dist/bot/file-lock.d.ts +7 -0
  22. package/dist/bot/file-lock.d.ts.map +1 -0
  23. package/dist/bot/file-lock.js +64 -0
  24. package/dist/bot/file-lock.js.map +1 -0
  25. package/dist/bot/file-validator.d.ts +7 -0
  26. package/dist/bot/file-validator.d.ts.map +1 -0
  27. package/dist/bot/file-validator.js +20 -0
  28. package/dist/bot/file-validator.js.map +1 -0
  29. package/dist/bot/genesis-store.d.ts +18 -0
  30. package/dist/bot/genesis-store.d.ts.map +1 -0
  31. package/dist/bot/genesis-store.js +89 -0
  32. package/dist/bot/genesis-store.js.map +1 -0
  33. package/dist/bot/index.d.ts +7 -1
  34. package/dist/bot/index.d.ts.map +1 -1
  35. package/dist/bot/index.js +8 -0
  36. package/dist/bot/index.js.map +1 -1
  37. package/dist/bot/provider-registry.js +2 -2
  38. package/dist/bot/provider-registry.js.map +1 -1
  39. package/dist/bot/runner.d.ts.map +1 -1
  40. package/dist/bot/runner.js +2 -4
  41. package/dist/bot/runner.js.map +1 -1
  42. package/dist/bot/session-state.d.ts +3 -3
  43. package/dist/bot/session-state.d.ts.map +1 -1
  44. package/dist/bot/session-state.js +24 -15
  45. package/dist/bot/session-state.js.map +1 -1
  46. package/dist/bot/steering.d.ts +2 -2
  47. package/dist/bot/steering.d.ts.map +1 -1
  48. package/dist/bot/steering.js +20 -15
  49. package/dist/bot/steering.js.map +1 -1
  50. package/dist/bot/step-executor.d.ts +9 -0
  51. package/dist/bot/step-executor.d.ts.map +1 -0
  52. package/dist/bot/step-executor.js +51 -0
  53. package/dist/bot/step-executor.js.map +1 -0
  54. package/dist/bot/task-queue.d.ts +8 -8
  55. package/dist/bot/task-queue.d.ts.map +1 -1
  56. package/dist/bot/task-queue.js +58 -47
  57. package/dist/bot/task-queue.js.map +1 -1
  58. package/dist/bot/types.d.ts +131 -0
  59. package/dist/bot/types.d.ts.map +1 -1
  60. package/dist/cli-bridge.d.ts.map +1 -1
  61. package/dist/cli-bridge.js +2 -1
  62. package/dist/cli-bridge.js.map +1 -1
  63. package/dist/cli-handlers.d.ts +4 -1
  64. package/dist/cli-handlers.d.ts.map +1 -1
  65. package/dist/cli-handlers.js +84 -8
  66. package/dist/cli-handlers.js.map +1 -1
  67. package/dist/index.d.ts +4 -3
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +3 -1
  70. package/dist/index.js.map +1 -1
  71. package/dist/mcp-tools.d.ts.map +1 -1
  72. package/dist/mcp-tools.js +27 -5
  73. package/dist/mcp-tools.js.map +1 -1
  74. package/dist/node-types/abort-task.d.ts +5 -12
  75. package/dist/node-types/abort-task.d.ts.map +1 -1
  76. package/dist/node-types/abort-task.js +11 -16
  77. package/dist/node-types/abort-task.js.map +1 -1
  78. package/dist/node-types/approval-gate.d.ts +4 -21
  79. package/dist/node-types/approval-gate.d.ts.map +1 -1
  80. package/dist/node-types/approval-gate.js +17 -23
  81. package/dist/node-types/approval-gate.js.map +1 -1
  82. package/dist/node-types/bot-report.d.ts +8 -10
  83. package/dist/node-types/bot-report.d.ts.map +1 -1
  84. package/dist/node-types/bot-report.js +28 -24
  85. package/dist/node-types/bot-report.js.map +1 -1
  86. package/dist/node-types/build-context.d.ts +5 -18
  87. package/dist/node-types/build-context.d.ts.map +1 -1
  88. package/dist/node-types/build-context.js +14 -23
  89. package/dist/node-types/build-context.js.map +1 -1
  90. package/dist/node-types/detect-provider.d.ts +7 -10
  91. package/dist/node-types/detect-provider.d.ts.map +1 -1
  92. package/dist/node-types/detect-provider.js +8 -12
  93. package/dist/node-types/detect-provider.js.map +1 -1
  94. package/dist/node-types/exec-validate-retry.d.ts +5 -26
  95. package/dist/node-types/exec-validate-retry.d.ts.map +1 -1
  96. package/dist/node-types/exec-validate-retry.js +21 -144
  97. package/dist/node-types/exec-validate-retry.js.map +1 -1
  98. package/dist/node-types/execute-plan.d.ts +10 -18
  99. package/dist/node-types/execute-plan.d.ts.map +1 -1
  100. package/dist/node-types/execute-plan.js +13 -68
  101. package/dist/node-types/execute-plan.js.map +1 -1
  102. package/dist/node-types/execute-target.d.ts +5 -15
  103. package/dist/node-types/execute-target.d.ts.map +1 -1
  104. package/dist/node-types/execute-target.js +17 -85
  105. package/dist/node-types/execute-target.js.map +1 -1
  106. package/dist/node-types/fix-errors.d.ts +9 -17
  107. package/dist/node-types/fix-errors.d.ts.map +1 -1
  108. package/dist/node-types/fix-errors.js +13 -64
  109. package/dist/node-types/fix-errors.js.map +1 -1
  110. package/dist/node-types/genesis-apply-retry.d.ts +24 -0
  111. package/dist/node-types/genesis-apply-retry.d.ts.map +1 -0
  112. package/dist/node-types/genesis-apply-retry.js +95 -0
  113. package/dist/node-types/genesis-apply-retry.js.map +1 -0
  114. package/dist/node-types/genesis-apply.d.ts +29 -0
  115. package/dist/node-types/genesis-apply.d.ts.map +1 -0
  116. package/dist/node-types/genesis-apply.js +76 -0
  117. package/dist/node-types/genesis-apply.js.map +1 -0
  118. package/dist/node-types/genesis-approve.d.ts +19 -0
  119. package/dist/node-types/genesis-approve.d.ts.map +1 -0
  120. package/dist/node-types/genesis-approve.js +54 -0
  121. package/dist/node-types/genesis-approve.js.map +1 -0
  122. package/dist/node-types/genesis-check-stabilize.d.ts +16 -0
  123. package/dist/node-types/genesis-check-stabilize.d.ts.map +1 -0
  124. package/dist/node-types/genesis-check-stabilize.js +32 -0
  125. package/dist/node-types/genesis-check-stabilize.js.map +1 -0
  126. package/dist/node-types/genesis-check-threshold.d.ts +15 -0
  127. package/dist/node-types/genesis-check-threshold.d.ts.map +1 -0
  128. package/dist/node-types/genesis-check-threshold.js +29 -0
  129. package/dist/node-types/genesis-check-threshold.js.map +1 -0
  130. package/dist/node-types/genesis-commit.d.ts +17 -0
  131. package/dist/node-types/genesis-commit.d.ts.map +1 -0
  132. package/dist/node-types/genesis-commit.js +59 -0
  133. package/dist/node-types/genesis-commit.js.map +1 -0
  134. package/dist/node-types/genesis-compile-validate.d.ts +26 -0
  135. package/dist/node-types/genesis-compile-validate.d.ts.map +1 -0
  136. package/dist/node-types/genesis-compile-validate.js +60 -0
  137. package/dist/node-types/genesis-compile-validate.js.map +1 -0
  138. package/dist/node-types/genesis-diff-fingerprint.d.ts +15 -0
  139. package/dist/node-types/genesis-diff-fingerprint.d.ts.map +1 -0
  140. package/dist/node-types/genesis-diff-fingerprint.js +59 -0
  141. package/dist/node-types/genesis-diff-fingerprint.js.map +1 -0
  142. package/dist/node-types/genesis-diff-workflow.d.ts +15 -0
  143. package/dist/node-types/genesis-diff-workflow.d.ts.map +1 -0
  144. package/dist/node-types/genesis-diff-workflow.js +39 -0
  145. package/dist/node-types/genesis-diff-workflow.js.map +1 -0
  146. package/dist/node-types/genesis-load-config.d.ts +17 -0
  147. package/dist/node-types/genesis-load-config.d.ts.map +1 -0
  148. package/dist/node-types/genesis-load-config.js +35 -0
  149. package/dist/node-types/genesis-load-config.js.map +1 -0
  150. package/dist/node-types/genesis-observe.d.ts +18 -0
  151. package/dist/node-types/genesis-observe.d.ts.map +1 -0
  152. package/dist/node-types/genesis-observe.js +101 -0
  153. package/dist/node-types/genesis-observe.js.map +1 -0
  154. package/dist/node-types/genesis-propose.d.ts +17 -0
  155. package/dist/node-types/genesis-propose.d.ts.map +1 -0
  156. package/dist/node-types/genesis-propose.js +67 -0
  157. package/dist/node-types/genesis-propose.js.map +1 -0
  158. package/dist/node-types/genesis-report.d.ts +18 -0
  159. package/dist/node-types/genesis-report.d.ts.map +1 -0
  160. package/dist/node-types/genesis-report.js +61 -0
  161. package/dist/node-types/genesis-report.js.map +1 -0
  162. package/dist/node-types/genesis-snapshot.d.ts +15 -0
  163. package/dist/node-types/genesis-snapshot.d.ts.map +1 -0
  164. package/dist/node-types/genesis-snapshot.js +26 -0
  165. package/dist/node-types/genesis-snapshot.js.map +1 -0
  166. package/dist/node-types/genesis-try-apply.d.ts +18 -0
  167. package/dist/node-types/genesis-try-apply.d.ts.map +1 -0
  168. package/dist/node-types/genesis-try-apply.js +109 -0
  169. package/dist/node-types/genesis-try-apply.js.map +1 -0
  170. package/dist/node-types/genesis-update-history.d.ts +15 -0
  171. package/dist/node-types/genesis-update-history.d.ts.map +1 -0
  172. package/dist/node-types/genesis-update-history.js +57 -0
  173. package/dist/node-types/genesis-update-history.js.map +1 -0
  174. package/dist/node-types/genesis-validate-proposal.d.ts +16 -0
  175. package/dist/node-types/genesis-validate-proposal.d.ts.map +1 -0
  176. package/dist/node-types/genesis-validate-proposal.js +52 -0
  177. package/dist/node-types/genesis-validate-proposal.js.map +1 -0
  178. package/dist/node-types/git-ops.d.ts +5 -8
  179. package/dist/node-types/git-ops.d.ts.map +1 -1
  180. package/dist/node-types/git-ops.js +16 -14
  181. package/dist/node-types/git-ops.js.map +1 -1
  182. package/dist/node-types/index.d.ts +17 -0
  183. package/dist/node-types/index.d.ts.map +1 -1
  184. package/dist/node-types/index.js +17 -0
  185. package/dist/node-types/index.js.map +1 -1
  186. package/dist/node-types/load-config.d.ts +4 -2
  187. package/dist/node-types/load-config.d.ts.map +1 -1
  188. package/dist/node-types/load-config.js +3 -2
  189. package/dist/node-types/load-config.js.map +1 -1
  190. package/dist/node-types/plan-task.d.ts +5 -20
  191. package/dist/node-types/plan-task.d.ts.map +1 -1
  192. package/dist/node-types/plan-task.js +16 -85
  193. package/dist/node-types/plan-task.js.map +1 -1
  194. package/dist/node-types/read-workflow.d.ts +5 -20
  195. package/dist/node-types/read-workflow.d.ts.map +1 -1
  196. package/dist/node-types/read-workflow.js +16 -28
  197. package/dist/node-types/read-workflow.js.map +1 -1
  198. package/dist/node-types/receive-task.d.ts +9 -20
  199. package/dist/node-types/receive-task.d.ts.map +1 -1
  200. package/dist/node-types/receive-task.js +16 -19
  201. package/dist/node-types/receive-task.js.map +1 -1
  202. package/dist/node-types/report.d.ts +3 -4
  203. package/dist/node-types/report.d.ts.map +1 -1
  204. package/dist/node-types/report.js +6 -6
  205. package/dist/node-types/report.js.map +1 -1
  206. package/dist/node-types/resolve-target.d.ts +7 -15
  207. package/dist/node-types/resolve-target.d.ts.map +1 -1
  208. package/dist/node-types/resolve-target.js +47 -47
  209. package/dist/node-types/resolve-target.js.map +1 -1
  210. package/dist/node-types/route-task.d.ts +4 -16
  211. package/dist/node-types/route-task.d.ts.map +1 -1
  212. package/dist/node-types/route-task.js +6 -13
  213. package/dist/node-types/route-task.js.map +1 -1
  214. package/dist/node-types/send-notify.d.ts +5 -11
  215. package/dist/node-types/send-notify.d.ts.map +1 -1
  216. package/dist/node-types/send-notify.js +17 -24
  217. package/dist/node-types/send-notify.js.map +1 -1
  218. package/dist/node-types/validate-result.d.ts +11 -19
  219. package/dist/node-types/validate-result.d.ts.map +1 -1
  220. package/dist/node-types/validate-result.js +18 -33
  221. package/dist/node-types/validate-result.js.map +1 -1
  222. package/dist/workflows/genesis-task.d.ts +54 -0
  223. package/dist/workflows/genesis-task.d.ts.map +1 -0
  224. package/dist/workflows/genesis-task.js +56 -0
  225. package/dist/workflows/genesis-task.js.map +1 -0
  226. package/dist/workflows/index.d.ts +1 -1
  227. package/dist/workflows/index.d.ts.map +1 -1
  228. package/dist/workflows/index.js +1 -1
  229. package/dist/workflows/index.js.map +1 -1
  230. package/dist/workflows/weaver-bot-batch.d.ts +15 -26
  231. package/dist/workflows/weaver-bot-batch.d.ts.map +1 -1
  232. package/dist/workflows/weaver-bot-batch.js +15 -26
  233. package/dist/workflows/weaver-bot-batch.js.map +1 -1
  234. package/dist/workflows/weaver-bot.d.ts +18 -32
  235. package/dist/workflows/weaver-bot.d.ts.map +1 -1
  236. package/dist/workflows/weaver-bot.js +18 -32
  237. package/dist/workflows/weaver-bot.js.map +1 -1
  238. package/dist/workflows/weaver.d.ts +9 -9
  239. package/dist/workflows/weaver.js +9 -9
  240. package/flowweaver.manifest.json +493 -557
  241. package/package.json +3 -3
  242. package/dist/workflows/weaver-bot-session.d.ts +0 -65
  243. package/dist/workflows/weaver-bot-session.d.ts.map +0 -1
  244. package/dist/workflows/weaver-bot-session.js +0 -68
  245. package/dist/workflows/weaver-bot-session.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifestVersion": 1,
3
3
  "name": "@synergenius/flowweaver-pack-weaver",
4
- "version": "0.5.1",
4
+ "version": "0.5.3",
5
5
  "description": "Autonomous workflow runner for Flow Weaver. Auto-detect providers, execute workflows, notify results.",
6
6
  "engineVersion": ">=0.19.4",
7
7
  "categories": [
@@ -28,8 +28,8 @@
28
28
  "description": "Project root directory (pass-through)"
29
29
  },
30
30
  "config": {
31
- "dataType": "string",
32
- "description": "Weaver configuration (JSON)"
31
+ "dataType": "object",
32
+ "description": "Weaver configuration"
33
33
  }
34
34
  }
35
35
  },
@@ -45,26 +45,14 @@
45
45
  "description": "Project root directory"
46
46
  },
47
47
  "config": {
48
- "dataType": "string",
49
- "description": "Weaver configuration (JSON)"
48
+ "dataType": "object",
49
+ "description": "Weaver configuration"
50
50
  }
51
51
  },
52
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)"
53
+ "env": {
54
+ "dataType": "object",
55
+ "description": "Weaver environment bundle"
68
56
  }
69
57
  }
70
58
  },
@@ -75,43 +63,15 @@
75
63
  "functionName": "weaverResolveTarget",
76
64
  "isAsync": false,
77
65
  "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)"
66
+ "env": {
67
+ "dataType": "object",
68
+ "description": "Weaver environment bundle"
93
69
  }
94
70
  },
95
71
  "outputs": {
96
- "projectDir": {
72
+ "ctx": {
97
73
  "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"
74
+ "description": "Weaver context (JSON)"
115
75
  }
116
76
  }
117
77
  },
@@ -122,43 +82,15 @@
122
82
  "functionName": "weaverExecuteTarget",
123
83
  "isAsync": true,
124
84
  "inputs": {
125
- "projectDir": {
85
+ "ctx": {
126
86
  "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"
87
+ "description": "Weaver context (JSON)"
144
88
  }
145
89
  },
146
90
  "outputs": {
147
- "projectDir": {
91
+ "ctx": {
148
92
  "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)"
93
+ "description": "Weaver context with resultJson (JSON)"
162
94
  }
163
95
  }
164
96
  },
@@ -169,35 +101,15 @@
169
101
  "functionName": "weaverSendNotify",
170
102
  "isAsync": false,
171
103
  "inputs": {
172
- "projectDir": {
173
- "dataType": "string",
174
- "description": "Project root directory"
175
- },
176
- "config": {
104
+ "ctx": {
177
105
  "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)"
106
+ "description": "Weaver context (JSON)"
187
107
  }
188
108
  },
189
109
  "outputs": {
190
- "projectDir": {
110
+ "ctx": {
191
111
  "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)"
112
+ "description": "Weaver context (pass-through, JSON)"
201
113
  }
202
114
  }
203
115
  },
@@ -208,17 +120,9 @@
208
120
  "functionName": "weaverReport",
209
121
  "isAsync": false,
210
122
  "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": {
123
+ "ctx": {
220
124
  "dataType": "string",
221
- "description": "Result (JSON)"
125
+ "description": "Weaver context (JSON)"
222
126
  }
223
127
  },
224
128
  "outputs": {
@@ -235,21 +139,9 @@
235
139
  "functionName": "weaverReceiveTask",
236
140
  "isAsync": true,
237
141
  "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)"
142
+ "env": {
143
+ "dataType": "object",
144
+ "description": "Weaver environment bundle"
253
145
  },
254
146
  "taskJson": {
255
147
  "dataType": "string",
@@ -258,29 +150,9 @@
258
150
  }
259
151
  },
260
152
  "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": {
153
+ "ctx": {
274
154
  "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"
155
+ "description": "Weaver context (JSON)"
284
156
  }
285
157
  }
286
158
  },
@@ -291,47 +163,15 @@
291
163
  "functionName": "weaverRouteTask",
292
164
  "isAsync": false,
293
165
  "inputs": {
294
- "projectDir": {
295
- "dataType": "string",
296
- "description": "Project root directory"
297
- },
298
- "config": {
299
- "dataType": "string",
300
- "description": "Config (JSON)"
301
- },
302
- "providerType": {
166
+ "ctx": {
303
167
  "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)"
168
+ "description": "Weaver context (JSON)"
313
169
  }
314
170
  },
315
171
  "outputs": {
316
- "projectDir": {
317
- "dataType": "string",
318
- "description": "Project root directory (pass-through)"
319
- },
320
- "config": {
172
+ "ctx": {
321
173
  "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)"
174
+ "description": "Weaver context (pass-through, JSON)"
335
175
  }
336
176
  }
337
177
  },
@@ -342,31 +182,15 @@
342
182
  "functionName": "weaverReadWorkflow",
343
183
  "isAsync": false,
344
184
  "inputs": {
345
- "projectDir": {
346
- "dataType": "string",
347
- "description": "Project root directory"
348
- },
349
- "taskJson": {
185
+ "ctx": {
350
186
  "dataType": "string",
351
- "description": "Task (JSON)"
187
+ "description": "Weaver context (JSON)"
352
188
  }
353
189
  },
354
190
  "outputs": {
355
- "projectDir": {
356
- "dataType": "string",
357
- "description": "Project root directory (pass-through)"
358
- },
359
- "taskJson": {
191
+ "ctx": {
360
192
  "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)"
193
+ "description": "Weaver context with resultJson (JSON)"
370
194
  }
371
195
  }
372
196
  },
@@ -377,535 +201,638 @@
377
201
  "functionName": "weaverBuildContext",
378
202
  "isAsync": false,
379
203
  "inputs": {
380
- "projectDir": {
204
+ "ctx": {
381
205
  "dataType": "string",
382
- "description": "Project root directory"
383
- },
384
- "config": {
206
+ "description": "Weaver context (JSON)"
207
+ }
208
+ },
209
+ "outputs": {
210
+ "ctx": {
385
211
  "dataType": "string",
386
- "description": "Config (JSON)"
387
- },
388
- "providerType": {
212
+ "description": "Weaver context with contextBundle (JSON)"
213
+ }
214
+ }
215
+ },
216
+ {
217
+ "name": "weaverPlanTask",
218
+ "description": "Send task + context to AI provider and get execution plan.",
219
+ "file": "dist/node-types/plan-task.js",
220
+ "functionName": "weaverPlanTask",
221
+ "isAsync": true,
222
+ "inputs": {
223
+ "ctx": {
389
224
  "dataType": "string",
390
- "description": "Provider type"
391
- },
392
- "providerInfo": {
225
+ "description": "Weaver context (JSON)"
226
+ }
227
+ },
228
+ "outputs": {
229
+ "ctx": {
393
230
  "dataType": "string",
394
- "description": "Provider info (JSON)"
395
- },
396
- "taskJson": {
231
+ "description": "Weaver context with planJson (JSON)"
232
+ }
233
+ }
234
+ },
235
+ {
236
+ "name": "weaverApprovalGate",
237
+ "description": "Present plan for user approval with auto-approve support.",
238
+ "file": "dist/node-types/approval-gate.js",
239
+ "functionName": "weaverApprovalGate",
240
+ "isAsync": true,
241
+ "inputs": {
242
+ "ctx": {
397
243
  "dataType": "string",
398
- "description": "Task (JSON)"
244
+ "description": "Weaver context (JSON)"
399
245
  }
400
246
  },
401
247
  "outputs": {
402
- "projectDir": {
248
+ "ctx": {
403
249
  "dataType": "string",
404
- "description": "Project root directory (pass-through)"
250
+ "description": "Weaver context with rejectionReason (JSON)"
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "name": "weaverAbortTask",
256
+ "description": "Handle plan rejection and format abort result.",
257
+ "file": "dist/node-types/abort-task.js",
258
+ "functionName": "weaverAbortTask",
259
+ "isAsync": false,
260
+ "inputs": {
261
+ "ctx": {
262
+ "dataType": "string",
263
+ "description": "Weaver context (JSON)"
264
+ }
265
+ },
266
+ "outputs": {
267
+ "ctx": {
268
+ "dataType": "string",
269
+ "description": "Weaver context with abort resultJson (JSON)"
270
+ }
271
+ }
272
+ },
273
+ {
274
+ "name": "weaverExecValidateRetry",
275
+ "description": "Execute-validate-fix retry loop (up to 3 attempts).",
276
+ "file": "dist/node-types/exec-validate-retry.js",
277
+ "functionName": "weaverExecValidateRetry",
278
+ "isAsync": true,
279
+ "inputs": {
280
+ "ctx": {
281
+ "dataType": "string",
282
+ "description": "Weaver context (JSON)"
283
+ }
284
+ },
285
+ "outputs": {
286
+ "ctx": {
287
+ "dataType": "string",
288
+ "description": "Weaver context with results (JSON)"
289
+ }
290
+ }
291
+ },
292
+ {
293
+ "name": "weaverExecutePlan",
294
+ "description": "Execute plan steps via the flow-weaver CLI.",
295
+ "file": "dist/node-types/execute-plan.js",
296
+ "functionName": "weaverExecutePlan",
297
+ "isAsync": true,
298
+ "inputs": {
299
+ "env": {
300
+ "dataType": "object",
301
+ "description": "Weaver environment bundle"
405
302
  },
406
- "config": {
303
+ "planJson": {
407
304
  "dataType": "string",
408
- "description": "Config (pass-through)"
305
+ "description": "Plan (JSON)"
409
306
  },
410
- "providerType": {
307
+ "taskJson": {
411
308
  "dataType": "string",
412
- "description": "Provider type (pass-through)"
309
+ "description": "Task (JSON)"
310
+ }
311
+ },
312
+ "outputs": {
313
+ "env": {
314
+ "dataType": "object",
315
+ "description": "Weaver environment bundle (pass-through)"
413
316
  },
414
- "providerInfo": {
317
+ "executionResultJson": {
415
318
  "dataType": "string",
416
- "description": "Provider info (pass-through)"
319
+ "description": "Execution result (JSON)"
417
320
  },
418
321
  "taskJson": {
419
322
  "dataType": "string",
420
323
  "description": "Task (pass-through)"
421
324
  },
422
- "contextBundle": {
325
+ "filesModified": {
423
326
  "dataType": "string",
424
- "description": "Knowledge bundle (markdown)"
327
+ "description": "Files modified (JSON array)"
425
328
  }
426
329
  }
427
330
  },
428
331
  {
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,
332
+ "name": "weaverValidateResult",
333
+ "description": "Validate modified files using flow-weaver validate.",
334
+ "file": "dist/node-types/validate-result.js",
335
+ "functionName": "weaverValidateResult",
336
+ "isAsync": false,
434
337
  "inputs": {
435
- "projectDir": {
436
- "dataType": "string",
437
- "description": "Project root directory"
338
+ "env": {
339
+ "dataType": "object",
340
+ "description": "Weaver environment bundle"
438
341
  },
439
- "config": {
440
- "dataType": "string",
441
- "description": "Config (JSON)"
442
- },
443
- "providerType": {
444
- "dataType": "string",
445
- "description": "Provider type"
446
- },
447
- "providerInfo": {
342
+ "executionResultJson": {
448
343
  "dataType": "string",
449
- "description": "Provider info (JSON)"
344
+ "description": "Execution result (JSON)"
450
345
  },
451
346
  "taskJson": {
452
347
  "dataType": "string",
453
348
  "description": "Task (JSON)"
454
349
  },
455
- "contextBundle": {
350
+ "filesModified": {
456
351
  "dataType": "string",
457
- "description": "Knowledge bundle"
352
+ "description": "Files modified (JSON array)"
458
353
  }
459
354
  },
460
355
  "outputs": {
461
- "projectDir": {
356
+ "env": {
357
+ "dataType": "object",
358
+ "description": "Weaver environment bundle (pass-through)"
359
+ },
360
+ "validationResultJson": {
462
361
  "dataType": "string",
463
- "description": "Project root directory (pass-through)"
362
+ "description": "Validation results (JSON)"
464
363
  },
465
- "config": {
364
+ "taskJson": {
466
365
  "dataType": "string",
467
- "description": "Config (pass-through)"
366
+ "description": "Task (pass-through)"
468
367
  },
469
- "providerType": {
368
+ "allValid": {
369
+ "dataType": "boolean",
370
+ "description": "Whether all files passed validation"
371
+ }
372
+ }
373
+ },
374
+ {
375
+ "name": "weaverFixErrors",
376
+ "description": "Send validation errors to AI for a repair plan.",
377
+ "file": "dist/node-types/fix-errors.js",
378
+ "functionName": "weaverFixErrors",
379
+ "isAsync": true,
380
+ "inputs": {
381
+ "env": {
382
+ "dataType": "object",
383
+ "description": "Weaver environment bundle"
384
+ },
385
+ "validationResultJson": {
386
+ "dataType": "string",
387
+ "description": "Validation results (JSON)"
388
+ },
389
+ "taskJson": {
470
390
  "dataType": "string",
471
- "description": "Provider type (pass-through)"
391
+ "description": "Task (JSON)"
392
+ }
393
+ },
394
+ "outputs": {
395
+ "env": {
396
+ "dataType": "object",
397
+ "description": "Weaver environment bundle (pass-through)"
472
398
  },
473
- "providerInfo": {
399
+ "fixPlanJson": {
474
400
  "dataType": "string",
475
- "description": "Provider info (pass-through)"
401
+ "description": "Fix plan (JSON)"
476
402
  },
477
403
  "taskJson": {
478
404
  "dataType": "string",
479
405
  "description": "Task (pass-through)"
480
- },
481
- "planJson": {
406
+ }
407
+ }
408
+ },
409
+ {
410
+ "name": "weaverGitOps",
411
+ "description": "Git operations: stage, commit, branch on modified files.",
412
+ "file": "dist/node-types/git-ops.js",
413
+ "functionName": "weaverGitOps",
414
+ "isAsync": false,
415
+ "inputs": {
416
+ "ctx": {
482
417
  "dataType": "string",
483
- "description": "Execution plan (JSON)"
418
+ "description": "Weaver context (JSON)"
419
+ }
420
+ },
421
+ "outputs": {
422
+ "ctx": {
423
+ "dataType": "string",
424
+ "description": "Weaver context with gitResultJson (JSON)"
484
425
  }
485
426
  }
486
427
  },
487
428
  {
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,
429
+ "name": "weaverBotReport",
430
+ "description": "Generate final bot report from any execution path.",
431
+ "file": "dist/node-types/bot-report.js",
432
+ "functionName": "weaverBotReport",
433
+ "isAsync": false,
493
434
  "inputs": {
494
- "projectDir": {
435
+ "mainCtx": {
495
436
  "dataType": "string",
496
- "description": "Project root directory"
437
+ "description": "Context from main path (JSON)",
438
+ "optional": true
497
439
  },
498
- "config": {
440
+ "readCtx": {
499
441
  "dataType": "string",
500
- "description": "Config (JSON)"
442
+ "description": "Context from read-only path (JSON)",
443
+ "optional": true
501
444
  },
502
- "providerType": {
445
+ "abortCtx": {
503
446
  "dataType": "string",
504
- "description": "Provider type"
505
- },
506
- "providerInfo": {
447
+ "description": "Context from abort path (JSON)",
448
+ "optional": true
449
+ }
450
+ },
451
+ "outputs": {
452
+ "summary": {
507
453
  "dataType": "string",
508
- "description": "Provider info"
454
+ "description": "Summary text"
509
455
  },
510
- "planJson": {
456
+ "reportJson": {
511
457
  "dataType": "string",
512
- "description": "Plan (JSON)"
513
- },
514
- "taskJson": {
458
+ "description": "Full report (JSON)"
459
+ }
460
+ }
461
+ },
462
+ {
463
+ "name": "genesisLoadConfig",
464
+ "description": "Read .genesis/config.json, validate target workflow, generate cycle ID.",
465
+ "file": "dist/node-types/genesis-load-config.js",
466
+ "functionName": "genesisLoadConfig",
467
+ "isAsync": false,
468
+ "inputs": {
469
+ "env": {
470
+ "dataType": "object",
471
+ "description": "Weaver environment bundle"
472
+ }
473
+ },
474
+ "outputs": {
475
+ "ctx": {
515
476
  "dataType": "string",
516
- "description": "Task (JSON)"
477
+ "description": "Genesis context (JSON)"
478
+ }
479
+ }
480
+ },
481
+ {
482
+ "name": "genesisObserve",
483
+ "description": "Fingerprint project state: hash files, git branch/commit, scan workflows.",
484
+ "file": "dist/node-types/genesis-observe.js",
485
+ "functionName": "genesisObserve",
486
+ "isAsync": true,
487
+ "inputs": {
488
+ "ctx": {
489
+ "dataType": "string",
490
+ "description": "Genesis context (JSON)"
517
491
  }
518
492
  },
519
493
  "outputs": {
520
- "projectDir": {
494
+ "ctx": {
521
495
  "dataType": "string",
522
- "description": "Project root directory (pass-through)"
523
- },
524
- "config": {
496
+ "description": "Genesis context with fingerprintJson (JSON)"
497
+ }
498
+ }
499
+ },
500
+ {
501
+ "name": "genesisDiffFingerprint",
502
+ "description": "Compare current fingerprint against last saved, output diff summary.",
503
+ "file": "dist/node-types/genesis-diff-fingerprint.js",
504
+ "functionName": "genesisDiffFingerprint",
505
+ "isAsync": false,
506
+ "inputs": {
507
+ "ctx": {
525
508
  "dataType": "string",
526
- "description": "Config (pass-through)"
527
- },
528
- "providerType": {
509
+ "description": "Genesis context (JSON)"
510
+ }
511
+ },
512
+ "outputs": {
513
+ "ctx": {
529
514
  "dataType": "string",
530
- "description": "Provider type (pass-through)"
531
- },
532
- "providerInfo": {
515
+ "description": "Genesis context with diffJson (JSON)"
516
+ }
517
+ }
518
+ },
519
+ {
520
+ "name": "genesisCheckStabilize",
521
+ "description": "Check if stabilize mode is active (config flag or 3+ consecutive rollbacks).",
522
+ "file": "dist/node-types/genesis-check-stabilize.js",
523
+ "functionName": "genesisCheckStabilize",
524
+ "isAsync": false,
525
+ "inputs": {
526
+ "ctx": {
533
527
  "dataType": "string",
534
- "description": "Provider info (pass-through)"
535
- },
536
- "planJson": {
528
+ "description": "Genesis context (JSON)"
529
+ }
530
+ },
531
+ "outputs": {
532
+ "ctx": {
537
533
  "dataType": "string",
538
- "description": "Plan (pass-through)"
539
- },
540
- "taskJson": {
534
+ "description": "Genesis context with stabilized (JSON)"
535
+ }
536
+ }
537
+ },
538
+ {
539
+ "name": "genesisPropose",
540
+ "description": "Send project context to AI provider and get a structured evolution proposal.",
541
+ "file": "dist/node-types/genesis-propose.js",
542
+ "functionName": "genesisPropose",
543
+ "isAsync": true,
544
+ "inputs": {
545
+ "ctx": {
541
546
  "dataType": "string",
542
- "description": "Task (pass-through)"
543
- },
544
- "rejectionReason": {
547
+ "description": "Genesis context (JSON)"
548
+ }
549
+ },
550
+ "outputs": {
551
+ "ctx": {
545
552
  "dataType": "string",
546
- "description": "Rejection reason (on failure)"
553
+ "description": "Genesis context with proposalJson (JSON)"
547
554
  }
548
555
  }
549
556
  },
550
557
  {
551
- "name": "weaverAbortTask",
552
- "description": "Handle plan rejection and format abort result.",
553
- "file": "dist/node-types/abort-task.js",
554
- "functionName": "weaverAbortTask",
558
+ "name": "genesisValidateProposal",
559
+ "description": "Validate and trim proposal to fit budget. Recalculate costs, filter stabilize violations.",
560
+ "file": "dist/node-types/genesis-validate-proposal.js",
561
+ "functionName": "genesisValidateProposal",
555
562
  "isAsync": false,
556
563
  "inputs": {
557
- "projectDir": {
558
- "dataType": "string",
559
- "description": "Project root directory"
560
- },
561
- "taskJson": {
562
- "dataType": "string",
563
- "description": "Task (JSON)"
564
- },
565
- "rejectionReason": {
564
+ "ctx": {
566
565
  "dataType": "string",
567
- "description": "Rejection reason"
566
+ "description": "Genesis context (JSON)"
568
567
  }
569
568
  },
570
569
  "outputs": {
571
- "projectDir": {
572
- "dataType": "string",
573
- "description": "Project root directory (pass-through)"
574
- },
575
- "taskJson": {
570
+ "ctx": {
576
571
  "dataType": "string",
577
- "description": "Task (pass-through)"
578
- },
579
- "resultJson": {
572
+ "description": "Genesis context with validated proposalJson (JSON)"
573
+ }
574
+ }
575
+ },
576
+ {
577
+ "name": "genesisSnapshot",
578
+ "description": "Save target workflow snapshot before modifications for rollback.",
579
+ "file": "dist/node-types/genesis-snapshot.js",
580
+ "functionName": "genesisSnapshot",
581
+ "isAsync": false,
582
+ "inputs": {
583
+ "ctx": {
580
584
  "dataType": "string",
581
- "description": "Abort result (JSON)"
582
- },
583
- "filesModified": {
585
+ "description": "Genesis context (JSON)"
586
+ }
587
+ },
588
+ "outputs": {
589
+ "ctx": {
584
590
  "dataType": "string",
585
- "description": "Files modified (empty, JSON)"
591
+ "description": "Genesis context with snapshotPath (JSON)"
586
592
  }
587
593
  }
588
594
  },
589
595
  {
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",
596
+ "name": "genesisApply",
597
+ "description": "Apply proposal operations to the target workflow via flow-weaver modify CLI.",
598
+ "file": "dist/node-types/genesis-apply.js",
599
+ "functionName": "genesisApply",
594
600
  "isAsync": true,
595
601
  "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"
602
+ "env": {
603
+ "dataType": "object",
604
+ "description": "Weaver environment bundle"
607
605
  },
608
- "providerInfo": {
606
+ "genesisConfigJson": {
609
607
  "dataType": "string",
610
- "description": "Provider info (JSON)"
608
+ "description": "Genesis configuration (JSON)"
611
609
  },
612
- "planJson": {
610
+ "proposalJson": {
613
611
  "dataType": "string",
614
- "description": "Execution plan (JSON)"
612
+ "description": "Genesis proposal (JSON)"
615
613
  },
616
- "taskJson": {
614
+ "snapshotPath": {
617
615
  "dataType": "string",
618
- "description": "Task (JSON)"
616
+ "description": "Path to the pre-apply snapshot"
619
617
  }
620
618
  },
621
619
  "outputs": {
622
- "projectDir": {
623
- "dataType": "string",
624
- "description": "Project root directory (pass-through)"
620
+ "env": {
621
+ "dataType": "object",
622
+ "description": "Weaver environment bundle (pass-through)"
625
623
  },
626
- "resultJson": {
624
+ "genesisConfigJson": {
627
625
  "dataType": "string",
628
- "description": "Final execution result (JSON)"
626
+ "description": "Genesis configuration (pass-through)"
629
627
  },
630
- "validationResultJson": {
628
+ "proposalJson": {
631
629
  "dataType": "string",
632
- "description": "Final validation result (JSON)"
630
+ "description": "Genesis proposal (pass-through)"
633
631
  },
634
- "filesModified": {
632
+ "snapshotPath": {
635
633
  "dataType": "string",
636
- "description": "All modified files (JSON array)"
634
+ "description": "Snapshot path (pass-through)"
637
635
  },
638
- "allValid": {
639
- "dataType": "boolean",
640
- "description": "Whether all files are valid"
636
+ "applyResultJson": {
637
+ "dataType": "string",
638
+ "description": "Apply result (JSON)"
641
639
  }
642
640
  }
643
641
  },
644
642
  {
645
- "name": "weaverExecutePlan",
646
- "description": "Execute plan steps via the flow-weaver CLI.",
647
- "file": "dist/node-types/execute-plan.js",
648
- "functionName": "weaverExecutePlan",
643
+ "name": "genesisCompileValidate",
644
+ "description": "Run flow-weaver validate and compile on modified workflow. Rollback on failure.",
645
+ "file": "dist/node-types/genesis-compile-validate.js",
646
+ "functionName": "genesisCompileValidate",
649
647
  "isAsync": true,
650
648
  "inputs": {
651
- "projectDir": {
652
- "dataType": "string",
653
- "description": "Project root directory"
654
- },
655
- "config": {
656
- "dataType": "string",
657
- "description": "Config (JSON)"
649
+ "env": {
650
+ "dataType": "object",
651
+ "description": "Weaver environment bundle"
658
652
  },
659
- "providerType": {
653
+ "genesisConfigJson": {
660
654
  "dataType": "string",
661
- "description": "Provider type"
655
+ "description": "Genesis configuration (JSON)"
662
656
  },
663
- "providerInfo": {
657
+ "snapshotPath": {
664
658
  "dataType": "string",
665
- "description": "Provider info"
666
- },
667
- "planJson": {
668
- "dataType": "string",
669
- "description": "Plan (JSON)"
659
+ "description": "Path to the pre-apply snapshot"
670
660
  },
671
- "taskJson": {
661
+ "applyResultJson": {
672
662
  "dataType": "string",
673
- "description": "Task (JSON)"
663
+ "description": "Apply result (JSON)"
674
664
  }
675
665
  },
676
666
  "outputs": {
677
- "projectDir": {
678
- "dataType": "string",
679
- "description": "Project root directory (pass-through)"
667
+ "env": {
668
+ "dataType": "object",
669
+ "description": "Weaver environment bundle (pass-through)"
680
670
  },
681
- "config": {
671
+ "genesisConfigJson": {
682
672
  "dataType": "string",
683
- "description": "Config (pass-through)"
673
+ "description": "Genesis configuration (pass-through)"
684
674
  },
685
- "providerType": {
675
+ "snapshotPath": {
686
676
  "dataType": "string",
687
- "description": "Provider type (pass-through)"
688
- },
689
- "providerInfo": {
677
+ "description": "Snapshot path (pass-through)"
678
+ }
679
+ }
680
+ },
681
+ {
682
+ "name": "genesisTryApply",
683
+ "description": "Apply proposal operations then validate + compile. Restore snapshot on failure.",
684
+ "file": "dist/node-types/genesis-try-apply.js",
685
+ "functionName": "genesisTryApply",
686
+ "isAsync": true,
687
+ "inputs": {
688
+ "ctx": {
690
689
  "dataType": "string",
691
- "description": "Provider info (pass-through)"
692
- },
693
- "executionResultJson": {
690
+ "description": "Genesis context (JSON)"
691
+ }
692
+ },
693
+ "outputs": {
694
+ "ctx": {
694
695
  "dataType": "string",
695
- "description": "Execution result (JSON)"
696
- },
697
- "taskJson": {
696
+ "description": "Genesis context with apply results (JSON)"
697
+ }
698
+ }
699
+ },
700
+ {
701
+ "name": "genesisApplyRetry",
702
+ "description": "Scoped retry loop for apply + compile. Up to 3 attempts with AI-revised proposals.",
703
+ "file": "dist/node-types/genesis-apply-retry.js",
704
+ "functionName": "genesisApplyRetry",
705
+ "isAsync": true,
706
+ "inputs": {
707
+ "ctx": {
698
708
  "dataType": "string",
699
- "description": "Task (pass-through)"
700
- },
701
- "filesModified": {
709
+ "description": "Genesis context (JSON)"
710
+ }
711
+ },
712
+ "outputs": {
713
+ "ctx": {
702
714
  "dataType": "string",
703
- "description": "Files modified (JSON array)"
715
+ "description": "Genesis context with applyResultJson (JSON)"
704
716
  }
705
717
  }
706
718
  },
707
719
  {
708
- "name": "weaverValidateResult",
709
- "description": "Validate modified files using flow-weaver validate.",
710
- "file": "dist/node-types/validate-result.js",
711
- "functionName": "weaverValidateResult",
720
+ "name": "genesisDiffWorkflow",
721
+ "description": "Run flow-weaver diff between snapshot and current target workflow.",
722
+ "file": "dist/node-types/genesis-diff-workflow.js",
723
+ "functionName": "genesisDiffWorkflow",
712
724
  "isAsync": false,
713
725
  "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": {
726
+ "ctx": {
739
727
  "dataType": "string",
740
- "description": "Files modified (JSON array)"
728
+ "description": "Genesis context (JSON)"
741
729
  }
742
730
  },
743
731
  "outputs": {
744
- "projectDir": {
745
- "dataType": "string",
746
- "description": "Project root directory (pass-through)"
747
- },
748
- "config": {
732
+ "ctx": {
749
733
  "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": {
734
+ "description": "Genesis context with workflowDiffJson (JSON)"
735
+ }
736
+ }
737
+ },
738
+ {
739
+ "name": "genesisCheckThreshold",
740
+ "description": "Compare proposal impact level against approval threshold.",
741
+ "file": "dist/node-types/genesis-check-threshold.js",
742
+ "functionName": "genesisCheckThreshold",
743
+ "isAsync": false,
744
+ "inputs": {
745
+ "ctx": {
761
746
  "dataType": "string",
762
- "description": "Validation results (JSON)"
763
- },
764
- "taskJson": {
747
+ "description": "Genesis context (JSON)"
748
+ }
749
+ },
750
+ "outputs": {
751
+ "ctx": {
765
752
  "dataType": "string",
766
- "description": "Task (pass-through)"
767
- },
768
- "allValid": {
769
- "dataType": "boolean",
770
- "description": "Whether all files passed validation"
753
+ "description": "Genesis context with approvalRequired (JSON)"
771
754
  }
772
755
  }
773
756
  },
774
757
  {
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",
758
+ "name": "genesisApprove",
759
+ "description": "Handle approval for genesis proposals. Auto-approve below threshold or in auto mode.",
760
+ "file": "dist/node-types/genesis-approve.js",
761
+ "functionName": "genesisApprove",
779
762
  "isAsync": true,
780
763
  "inputs": {
781
- "projectDir": {
782
- "dataType": "string",
783
- "description": "Project root directory"
784
- },
785
- "config": {
764
+ "ctx": {
786
765
  "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)"
766
+ "description": "Genesis context (JSON)"
804
767
  }
805
768
  },
806
769
  "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": {
770
+ "ctx": {
820
771
  "dataType": "string",
821
- "description": "Provider info (pass-through)"
822
- },
823
- "fixPlanJson": {
772
+ "description": "Genesis context with approved (JSON)"
773
+ }
774
+ }
775
+ },
776
+ {
777
+ "name": "genesisCommit",
778
+ "description": "Git add and commit if approved, restore from snapshot if rejected.",
779
+ "file": "dist/node-types/genesis-commit.js",
780
+ "functionName": "genesisCommit",
781
+ "isAsync": true,
782
+ "inputs": {
783
+ "ctx": {
824
784
  "dataType": "string",
825
- "description": "Fix plan (JSON)"
826
- },
827
- "taskJson": {
785
+ "description": "Genesis context (JSON)"
786
+ }
787
+ },
788
+ "outputs": {
789
+ "ctx": {
828
790
  "dataType": "string",
829
- "description": "Task (pass-through)"
791
+ "description": "Genesis context with commitResultJson (JSON)"
830
792
  }
831
793
  }
832
794
  },
833
795
  {
834
- "name": "weaverGitOps",
835
- "description": "Git operations: stage, commit, branch on modified files.",
836
- "file": "dist/node-types/git-ops.js",
837
- "functionName": "weaverGitOps",
796
+ "name": "genesisUpdateHistory",
797
+ "description": "Build cycle record, determine outcome, append to genesis history.",
798
+ "file": "dist/node-types/genesis-update-history.js",
799
+ "functionName": "genesisUpdateHistory",
838
800
  "isAsync": false,
839
801
  "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": {
802
+ "ctx": {
849
803
  "dataType": "string",
850
- "description": "Config (JSON)"
804
+ "description": "Genesis context (JSON)"
851
805
  }
852
806
  },
853
807
  "outputs": {
854
- "projectDir": {
855
- "dataType": "string",
856
- "description": "Project root directory (pass-through)"
857
- },
858
- "gitResultJson": {
808
+ "ctx": {
859
809
  "dataType": "string",
860
- "description": "Git operation result (JSON)"
810
+ "description": "Genesis context with cycleRecordJson (JSON)"
861
811
  }
862
812
  }
863
813
  },
864
814
  {
865
- "name": "weaverBotReport",
866
- "description": "Generate final bot report from any execution path.",
867
- "file": "dist/node-types/bot-report.js",
868
- "functionName": "weaverBotReport",
815
+ "name": "genesisReport",
816
+ "description": "Format genesis cycle summary for console output. Fires from any path.",
817
+ "file": "dist/node-types/genesis-report.js",
818
+ "functionName": "genesisReport",
869
819
  "isAsync": false,
870
820
  "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": {
821
+ "successCtx": {
891
822
  "dataType": "string",
892
- "description": "Files modified (JSON array)",
823
+ "description": "Genesis context from success path (JSON)",
893
824
  "optional": true
894
825
  },
895
- "gitResultJson": {
826
+ "failCtx": {
896
827
  "dataType": "string",
897
- "description": "Git result (JSON)",
828
+ "description": "Genesis context from fail path (JSON)",
898
829
  "optional": true
899
830
  }
900
831
  },
901
832
  "outputs": {
902
833
  "summary": {
903
834
  "dataType": "string",
904
- "description": "Summary text"
905
- },
906
- "reportJson": {
907
- "dataType": "string",
908
- "description": "Full report (JSON)"
835
+ "description": "Formatted summary text"
909
836
  }
910
837
  }
911
838
  }
@@ -974,6 +901,11 @@
974
901
  "name": "queue",
975
902
  "description": "Manage bot task queue",
976
903
  "usage": "<add|list|clear|remove> [task|id]"
904
+ },
905
+ {
906
+ "name": "genesis",
907
+ "description": "Run a Genesis self-evolution cycle on a target workflow",
908
+ "usage": "[--init] [--watch]"
977
909
  }
978
910
  ],
979
911
  "mcpEntrypoint": "dist/mcp-tools.js",
@@ -1009,6 +941,10 @@
1009
941
  {
1010
942
  "name": "fw_weaver_status",
1011
943
  "description": "Get bot session status"
944
+ },
945
+ {
946
+ "name": "fw_weaver_genesis",
947
+ "description": "Run a Genesis self-evolution cycle on a target workflow"
1012
948
  }
1013
949
  ],
1014
950
  "initContributions": {