@octonodes/sdk 0.2.38 → 0.2.41

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 (284) hide show
  1. package/README.md +7 -2
  2. package/dist/constants.d.ts +1 -1
  3. package/dist/constants.d.ts.map +1 -1
  4. package/dist/constants.js +1 -1
  5. package/dist/constants.js.map +1 -1
  6. package/dist/data-tables/table.d.ts +2 -2
  7. package/dist/data-tables/table.d.ts.map +1 -1
  8. package/dist/data-tables/types.d.ts +1 -1
  9. package/dist/data-tables/types.d.ts.map +1 -1
  10. package/dist/gen/client/client.gen.d.ts +1 -1
  11. package/dist/gen/client/client.gen.d.ts.map +1 -1
  12. package/dist/gen/client/client.gen.js +3 -3
  13. package/dist/gen/client/client.gen.js.map +1 -1
  14. package/dist/gen/client/index.d.ts +9 -9
  15. package/dist/gen/client/index.d.ts.map +1 -1
  16. package/dist/gen/client/index.js +5 -5
  17. package/dist/gen/client/index.js.map +1 -1
  18. package/dist/gen/client/types.gen.d.ts +4 -4
  19. package/dist/gen/client/types.gen.d.ts.map +1 -1
  20. package/dist/gen/client/utils.gen.d.ts +2 -2
  21. package/dist/gen/client/utils.gen.d.ts.map +1 -1
  22. package/dist/gen/client/utils.gen.js +4 -4
  23. package/dist/gen/client/utils.gen.js.map +1 -1
  24. package/dist/gen/client.gen.d.ts +2 -2
  25. package/dist/gen/client.gen.d.ts.map +1 -1
  26. package/dist/gen/client.gen.js +1 -1
  27. package/dist/gen/client.gen.js.map +1 -1
  28. package/dist/gen/core/bodySerializer.gen.d.ts +1 -1
  29. package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -1
  30. package/dist/gen/core/serverSentEvents.gen.d.ts +1 -1
  31. package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -1
  32. package/dist/gen/core/types.gen.d.ts +2 -2
  33. package/dist/gen/core/types.gen.d.ts.map +1 -1
  34. package/dist/gen/core/utils.gen.d.ts +1 -1
  35. package/dist/gen/core/utils.gen.d.ts.map +1 -1
  36. package/dist/gen/core/utils.gen.js +1 -1
  37. package/dist/gen/core/utils.gen.js.map +1 -1
  38. package/dist/gen/index.d.ts +2 -2
  39. package/dist/gen/index.d.ts.map +1 -1
  40. package/dist/gen/index.js +14 -7
  41. package/dist/gen/index.js.map +1 -1
  42. package/dist/gen/sdk.gen.d.ts +127 -91
  43. package/dist/gen/sdk.gen.d.ts.map +1 -1
  44. package/dist/gen/sdk.gen.js +249 -176
  45. package/dist/gen/sdk.gen.js.map +1 -1
  46. package/dist/gen/types.gen.d.ts +5347 -580
  47. package/dist/gen/types.gen.d.ts.map +1 -1
  48. package/dist/index.d.ts +4 -4
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +2 -2
  51. package/dist/index.js.map +1 -1
  52. package/dist/octonode-client.d.ts +7 -7
  53. package/dist/octonode-client.d.ts.map +1 -1
  54. package/dist/octonode-client.js +4 -4
  55. package/dist/octonode-client.js.map +1 -1
  56. package/dist/plugins/index.d.ts +1 -1
  57. package/dist/plugins/index.d.ts.map +1 -1
  58. package/dist/plugins/index.js +1 -1
  59. package/dist/plugins/index.js.map +1 -1
  60. package/dist/plugins/schema/app/app.d.ts +958 -0
  61. package/dist/plugins/schema/app/app.d.ts.map +1 -0
  62. package/dist/plugins/schema/app/app.js +202 -0
  63. package/dist/plugins/schema/app/app.js.map +1 -0
  64. package/dist/plugins/schema/app/contributions/constants/constants.d.ts +4 -0
  65. package/dist/plugins/schema/app/contributions/constants/constants.d.ts.map +1 -0
  66. package/dist/plugins/schema/app/contributions/constants/constants.js +52 -0
  67. package/dist/plugins/schema/app/contributions/constants/constants.js.map +1 -0
  68. package/dist/plugins/schema/app/contributions/constants/index.d.ts +2 -0
  69. package/dist/plugins/schema/app/contributions/constants/index.d.ts.map +1 -0
  70. package/dist/plugins/schema/app/contributions/constants/index.js +9 -0
  71. package/dist/plugins/schema/app/contributions/constants/index.js.map +1 -0
  72. package/dist/plugins/schema/app/contributions/contributions.d.ts +352 -0
  73. package/dist/plugins/schema/app/contributions/contributions.d.ts.map +1 -0
  74. package/dist/plugins/schema/app/contributions/contributions.js +133 -0
  75. package/dist/plugins/schema/app/contributions/contributions.js.map +1 -0
  76. package/dist/plugins/schema/app/contributions/index.d.ts +3 -0
  77. package/dist/plugins/schema/app/contributions/index.d.ts.map +1 -0
  78. package/dist/plugins/schema/app/contributions/index.js +20 -0
  79. package/dist/plugins/schema/app/contributions/index.js.map +1 -0
  80. package/dist/plugins/schema/app/contributions.d.ts +10 -10
  81. package/dist/plugins/schema/app-contributions.d.ts +10 -10
  82. package/dist/plugins/schema/app.d.ts +89 -89
  83. package/dist/plugins/schema/app.d.ts.map +1 -1
  84. package/dist/plugins/schema/app.js +4 -3
  85. package/dist/plugins/schema/app.js.map +1 -1
  86. package/dist/plugins/schema/constants/constants.d.ts +69 -0
  87. package/dist/plugins/schema/constants/constants.d.ts.map +1 -0
  88. package/dist/plugins/schema/constants/constants.js +412 -0
  89. package/dist/plugins/schema/constants/constants.js.map +1 -0
  90. package/dist/plugins/schema/constants/index.d.ts +2 -0
  91. package/dist/plugins/schema/constants/index.d.ts.map +1 -0
  92. package/dist/plugins/schema/constants/index.js +59 -0
  93. package/dist/plugins/schema/constants/index.js.map +1 -0
  94. package/dist/plugins/schema/constants.d.ts +11 -1
  95. package/dist/plugins/schema/constants.d.ts.map +1 -1
  96. package/dist/plugins/schema/constants.js +21 -1
  97. package/dist/plugins/schema/constants.js.map +1 -1
  98. package/dist/plugins/schema/diagnostics/constants.d.ts +124 -0
  99. package/dist/plugins/schema/diagnostics/constants.d.ts.map +1 -0
  100. package/dist/plugins/schema/diagnostics/constants.js +182 -0
  101. package/dist/plugins/schema/diagnostics/constants.js.map +1 -0
  102. package/dist/plugins/schema/diagnostics/index.d.ts +9 -0
  103. package/dist/plugins/schema/diagnostics/index.d.ts.map +1 -0
  104. package/dist/plugins/schema/diagnostics/index.js +32 -0
  105. package/dist/plugins/schema/diagnostics/index.js.map +1 -0
  106. package/dist/plugins/schema/diagnostics/location.d.ts +3 -0
  107. package/dist/plugins/schema/diagnostics/location.d.ts.map +1 -0
  108. package/dist/plugins/schema/diagnostics/location.js +22 -0
  109. package/dist/plugins/schema/diagnostics/location.js.map +1 -0
  110. package/dist/plugins/schema/diagnostics/messages.d.ts +11 -0
  111. package/dist/plugins/schema/diagnostics/messages.d.ts.map +1 -0
  112. package/dist/plugins/schema/diagnostics/messages.js +32 -0
  113. package/dist/plugins/schema/diagnostics/messages.js.map +1 -0
  114. package/dist/plugins/schema/diagnostics/registry.d.ts +6 -0
  115. package/dist/plugins/schema/diagnostics/registry.d.ts.map +1 -0
  116. package/dist/plugins/schema/diagnostics/registry.js +35 -0
  117. package/dist/plugins/schema/diagnostics/registry.js.map +1 -0
  118. package/dist/plugins/schema/diagnostics/report.d.ts +4 -0
  119. package/dist/plugins/schema/diagnostics/report.d.ts.map +1 -0
  120. package/dist/plugins/schema/diagnostics/report.js +13 -0
  121. package/dist/plugins/schema/diagnostics/report.js.map +1 -0
  122. package/dist/plugins/schema/diagnostics/runtime.d.ts +3 -0
  123. package/dist/plugins/schema/diagnostics/runtime.d.ts.map +1 -0
  124. package/dist/plugins/schema/diagnostics/runtime.js +42 -0
  125. package/dist/plugins/schema/diagnostics/runtime.js.map +1 -0
  126. package/dist/plugins/schema/diagnostics/schema.d.ts +239 -0
  127. package/dist/plugins/schema/diagnostics/schema.d.ts.map +1 -0
  128. package/dist/plugins/schema/diagnostics/schema.js +58 -0
  129. package/dist/plugins/schema/diagnostics/schema.js.map +1 -0
  130. package/dist/plugins/schema/diagnostics/types.d.ts +37 -0
  131. package/dist/plugins/schema/diagnostics/types.d.ts.map +1 -0
  132. package/dist/plugins/schema/diagnostics/types.js +3 -0
  133. package/dist/plugins/schema/diagnostics/types.js.map +1 -0
  134. package/dist/plugins/schema/icons.d.ts +2 -3
  135. package/dist/plugins/schema/icons.d.ts.map +1 -1
  136. package/dist/plugins/schema/icons.js +3 -57
  137. package/dist/plugins/schema/icons.js.map +1 -1
  138. package/dist/plugins/schema/ipc/constants.d.ts +3 -0
  139. package/dist/plugins/schema/ipc/constants.d.ts.map +1 -0
  140. package/dist/plugins/schema/ipc/constants.js +7 -0
  141. package/dist/plugins/schema/ipc/constants.js.map +1 -0
  142. package/dist/plugins/schema/ipc/envelope.d.ts +939 -62
  143. package/dist/plugins/schema/ipc/envelope.d.ts.map +1 -1
  144. package/dist/plugins/schema/ipc/envelope.js +23 -24
  145. package/dist/plugins/schema/ipc/envelope.js.map +1 -1
  146. package/dist/plugins/schema/ipc/types.d.ts +12 -0
  147. package/dist/plugins/schema/ipc/types.d.ts.map +1 -0
  148. package/dist/plugins/schema/ipc/types.js +3 -0
  149. package/dist/plugins/schema/ipc/types.js.map +1 -0
  150. package/dist/plugins/schema/ipc-envelope.d.ts +46 -46
  151. package/dist/plugins/schema/ipc-envelope.js +1 -1
  152. package/dist/plugins/schema/ipc-envelope.js.map +1 -1
  153. package/dist/plugins/schema/plugin/constants.d.ts +15 -0
  154. package/dist/plugins/schema/plugin/constants.d.ts.map +1 -0
  155. package/dist/plugins/schema/plugin/constants.js +19 -0
  156. package/dist/plugins/schema/plugin/constants.js.map +1 -0
  157. package/dist/plugins/schema/plugin/contents.d.ts +27 -0
  158. package/dist/plugins/schema/plugin/contents.d.ts.map +1 -0
  159. package/dist/plugins/schema/plugin/contents.js +39 -0
  160. package/dist/plugins/schema/plugin/contents.js.map +1 -0
  161. package/dist/plugins/schema/plugin/execution.d.ts +4041 -463
  162. package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
  163. package/dist/plugins/schema/plugin/execution.js +20 -9
  164. package/dist/plugins/schema/plugin/execution.js.map +1 -1
  165. package/dist/plugins/schema/plugin/members.d.ts +279 -0
  166. package/dist/plugins/schema/plugin/members.d.ts.map +1 -0
  167. package/dist/plugins/schema/plugin/members.js +53 -0
  168. package/dist/plugins/schema/plugin/members.js.map +1 -0
  169. package/dist/plugins/schema/plugin/plugin.d.ts +1132 -339
  170. package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
  171. package/dist/plugins/schema/plugin/plugin.js +87 -21
  172. package/dist/plugins/schema/plugin/plugin.js.map +1 -1
  173. package/dist/plugins/schema/plugin/publishing.d.ts +95 -108
  174. package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
  175. package/dist/plugins/schema/plugin/publishing.js +3 -8
  176. package/dist/plugins/schema/plugin/publishing.js.map +1 -1
  177. package/dist/plugins/schema/plugin/runtime.d.ts +227 -0
  178. package/dist/plugins/schema/plugin/runtime.d.ts.map +1 -0
  179. package/dist/plugins/schema/plugin/runtime.js +109 -0
  180. package/dist/plugins/schema/plugin/runtime.js.map +1 -0
  181. package/dist/plugins/schema/plugin/view.d.ts +39 -0
  182. package/dist/plugins/schema/plugin/view.d.ts.map +1 -0
  183. package/dist/plugins/schema/plugin/view.js +22 -0
  184. package/dist/plugins/schema/plugin/view.js.map +1 -0
  185. package/dist/plugins/schema/plugin-publishing.d.ts +86 -86
  186. package/dist/plugins/schema/plugin-publishing.js +1 -1
  187. package/dist/plugins/schema/plugin-publishing.js.map +1 -1
  188. package/dist/plugins/schema/plugin-sdk/index.d.ts +14 -9
  189. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
  190. package/dist/plugins/schema/plugin-sdk/index.js +28 -15
  191. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
  192. package/dist/plugins/schema/plugin.d.ts +81 -81
  193. package/dist/plugins/schema/plugin.js +3 -3
  194. package/dist/plugins/schema/plugin.js.map +1 -1
  195. package/dist/plugins/schema/project/analysis.d.ts +686 -0
  196. package/dist/plugins/schema/project/analysis.d.ts.map +1 -0
  197. package/dist/plugins/schema/project/analysis.js +65 -0
  198. package/dist/plugins/schema/project/analysis.js.map +1 -0
  199. package/dist/plugins/sdk/clients/constants.d.ts +2 -0
  200. package/dist/plugins/sdk/clients/constants.d.ts.map +1 -0
  201. package/dist/plugins/sdk/clients/constants.js +37 -0
  202. package/dist/plugins/sdk/clients/constants.js.map +1 -0
  203. package/dist/plugins/sdk/define/node.d.ts.map +1 -1
  204. package/dist/plugins/sdk/define-node.d.ts +2 -2
  205. package/dist/plugins/sdk/define-node.d.ts.map +1 -1
  206. package/dist/plugins/sdk/definitions/clients/index.d.ts +2 -0
  207. package/dist/plugins/sdk/definitions/clients/index.d.ts.map +1 -0
  208. package/dist/plugins/sdk/definitions/clients/index.js +7 -0
  209. package/dist/plugins/sdk/definitions/clients/index.js.map +1 -0
  210. package/dist/plugins/sdk/definitions/clients/output.d.ts +2 -2
  211. package/dist/plugins/sdk/definitions/clients/output.d.ts.map +1 -1
  212. package/dist/plugins/sdk/definitions/clients/output.js +4 -37
  213. package/dist/plugins/sdk/definitions/clients/output.js.map +1 -1
  214. package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
  215. package/dist/plugins/sdk/definitions/compiler/catalog.js +4 -3
  216. package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
  217. package/dist/plugins/sdk/definitions/compiler/index.d.ts +5 -4
  218. package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
  219. package/dist/plugins/sdk/definitions/compiler/index.js +11 -10
  220. package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
  221. package/dist/plugins/sdk/definitions/compiler/types.d.ts +20 -2
  222. package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -1
  223. package/dist/plugins/sdk/definitions/index.d.ts +2 -2
  224. package/dist/plugins/sdk/definitions/index.d.ts.map +1 -1
  225. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +1 -1
  226. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -1
  227. package/dist/plugins/sdk/definitions/npm/emit/js.js +2 -2
  228. package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -1
  229. package/dist/plugins/sdk/definitions/npm/types.d.ts +26 -1
  230. package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
  231. package/dist/plugins/sdk/definitions/types.d.ts +2 -2
  232. package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
  233. package/dist/plugins/sdk/json/index.d.ts +4 -0
  234. package/dist/plugins/sdk/json/index.d.ts.map +1 -0
  235. package/dist/plugins/sdk/json/index.js +9 -0
  236. package/dist/plugins/sdk/json/index.js.map +1 -0
  237. package/dist/plugins/sdk/json/safety.d.ts +2 -0
  238. package/dist/plugins/sdk/json/safety.d.ts.map +1 -0
  239. package/dist/plugins/sdk/json/safety.js +42 -0
  240. package/dist/plugins/sdk/json/safety.js.map +1 -0
  241. package/dist/plugins/sdk/json/schema.d.ts +1 -1
  242. package/dist/plugins/sdk/json/schema.d.ts.map +1 -1
  243. package/dist/plugins/sdk/json/types.d.ts +6 -0
  244. package/dist/plugins/sdk/json/types.d.ts.map +1 -0
  245. package/dist/plugins/sdk/json/types.js +3 -0
  246. package/dist/plugins/sdk/json/types.js.map +1 -0
  247. package/dist/plugins/sdk/nodes/index.d.ts.map +1 -1
  248. package/dist/plugins/sdk/nodes/index.js +4 -4
  249. package/dist/plugins/sdk/nodes/index.js.map +1 -1
  250. package/dist/plugins/sdk/plugin/index.d.ts +3 -3
  251. package/dist/plugins/sdk/plugin/index.d.ts.map +1 -1
  252. package/dist/plugins/sdk/plugin/index.js +1 -1
  253. package/dist/plugins/sdk/plugin/index.js.map +1 -1
  254. package/dist/plugins/sdk/plugin.d.ts +1 -1
  255. package/dist/plugins/sdk/plugin.d.ts.map +1 -1
  256. package/dist/plugins/sdk/plugin.js +5 -4
  257. package/dist/plugins/sdk/plugin.js.map +1 -1
  258. package/dist/plugins/sdk/plugin.types.d.ts +3 -3
  259. package/dist/plugins/sdk/plugin.types.d.ts.map +1 -1
  260. package/dist/plugins/sdk/plugins/define/node.d.ts +5 -5
  261. package/dist/plugins/sdk/plugins/define/node.d.ts.map +1 -1
  262. package/dist/plugins/sdk/plugins/define/node.js +1 -1
  263. package/dist/plugins/sdk/plugins/define/node.js.map +1 -1
  264. package/dist/plugins/sdk/plugins/define-node.d.ts +4 -4
  265. package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -1
  266. package/dist/plugins/sdk/plugins/define-node.js +1 -1
  267. package/dist/plugins/sdk/plugins/define-node.js.map +1 -1
  268. package/dist/plugins/sdk/plugins/index.d.ts +14 -14
  269. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
  270. package/dist/plugins/sdk/plugins/index.js +14 -14
  271. package/dist/plugins/sdk/plugins/index.js.map +1 -1
  272. package/dist/plugins/sdk/plugins/types.d.ts +2 -2
  273. package/dist/plugins/sdk/plugins/types.d.ts.map +1 -1
  274. package/dist/plugins/sdk/project/index.d.ts +3 -3
  275. package/dist/plugins/sdk/project/index.d.ts.map +1 -1
  276. package/dist/plugins/sdk/project/index.js +1 -1
  277. package/dist/plugins/sdk/project/index.js.map +1 -1
  278. package/dist/plugins/sdk/runner.d.ts +0 -1
  279. package/dist/plugins/sdk/runner.d.ts.map +1 -1
  280. package/dist/plugins/sdk/runner.js +14 -46
  281. package/dist/plugins/sdk/runner.js.map +1 -1
  282. package/dist/plugins/sdk/types.d.ts +1 -1
  283. package/dist/plugins/sdk/types.d.ts.map +1 -1
  284. package/package.json +3 -3
@@ -1,10 +1,5 @@
1
1
  import { z } from "zod";
2
- /**
3
- * The IPC protocol version. Every envelope carries this in its `octonode`
4
- * field so the wire format can evolve without ambiguity. Bump only on a
5
- * breaking change to the envelope shape.
6
- */
7
- export declare const PROTOCOL_VERSION: "1";
2
+ import type { MakeDescribeRequestArgs, MakeInvokeRequestArgs } from "./types.js";
8
3
  /**
9
4
  * A JSON Schema object, kept deliberately loose. It is the lowest common
10
5
  * denominator every language can emit and validate against, which is what
@@ -38,9 +33,9 @@ export declare const InvocationContext: z.ZodObject<{
38
33
  env?: string | undefined;
39
34
  deadlineMs?: number | undefined;
40
35
  }, {
41
- config?: Record<string, unknown> | undefined;
42
36
  runId?: string | undefined;
43
37
  env?: string | undefined;
38
+ config?: Record<string, unknown> | undefined;
44
39
  attempt?: number | undefined;
45
40
  deadlineMs?: number | undefined;
46
41
  }>;
@@ -66,9 +61,9 @@ export declare const InvokeRequest: z.ZodObject<{
66
61
  env?: string | undefined;
67
62
  deadlineMs?: number | undefined;
68
63
  }, {
69
- config?: Record<string, unknown> | undefined;
70
64
  runId?: string | undefined;
71
65
  env?: string | undefined;
66
+ config?: Record<string, unknown> | undefined;
72
67
  attempt?: number | undefined;
73
68
  deadlineMs?: number | undefined;
74
69
  }>>;
@@ -92,9 +87,9 @@ export declare const InvokeRequest: z.ZodObject<{
92
87
  node?: string | undefined;
93
88
  inputs?: unknown;
94
89
  context?: {
95
- config?: Record<string, unknown> | undefined;
96
90
  runId?: string | undefined;
97
91
  env?: string | undefined;
92
+ config?: Record<string, unknown> | undefined;
98
93
  attempt?: number | undefined;
99
94
  deadlineMs?: number | undefined;
100
95
  } | undefined;
@@ -143,9 +138,9 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
143
138
  env?: string | undefined;
144
139
  deadlineMs?: number | undefined;
145
140
  }, {
146
- config?: Record<string, unknown> | undefined;
147
141
  runId?: string | undefined;
148
142
  env?: string | undefined;
143
+ config?: Record<string, unknown> | undefined;
149
144
  attempt?: number | undefined;
150
145
  deadlineMs?: number | undefined;
151
146
  }>>;
@@ -169,9 +164,9 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
169
164
  node?: string | undefined;
170
165
  inputs?: unknown;
171
166
  context?: {
172
- config?: Record<string, unknown> | undefined;
173
167
  runId?: string | undefined;
174
168
  env?: string | undefined;
169
+ config?: Record<string, unknown> | undefined;
175
170
  attempt?: number | undefined;
176
171
  deadlineMs?: number | undefined;
177
172
  } | undefined;
@@ -199,18 +194,156 @@ export declare const NodeError: z.ZodObject<{
199
194
  retryable: z.ZodDefault<z.ZodBoolean>;
200
195
  details: z.ZodOptional<z.ZodUnknown>;
201
196
  stack: z.ZodOptional<z.ZodString>;
197
+ diagnostic: z.ZodOptional<z.ZodObject<{
198
+ kind: z.ZodEnum<["typeMismatch", "missingInput", "missingMember", "unsupported", "unavailable", "codeIssue", "syntax", "arguments", "nullability", "generics", "classes", "modules", "declarations", "configuration", "controlFlow", "async", "jsx", "unused", "deprecated", "lint", "unsafeOperation", "validation", "serialization", "timeout", "cancelled", "permission", "network", "resource", "runtimeError", "missingReference", "range", "decorators", "operators", "informational", "improvement"]>;
199
+ coverage: z.ZodOptional<z.ZodEnum<["specific", "family", "fallback", "internal"]>>;
200
+ action: z.ZodOptional<z.ZodEnum<["reviewSource", "reviewTypes", "reviewInput", "reviewOutput", "reviewImports", "reviewSettings", "reviewAsync", "checkDependencies", "checkPermissions", "checkService", "reviewNode", "checkResources"]>>;
201
+ input: z.ZodOptional<z.ZodString>;
202
+ expected: z.ZodOptional<z.ZodString>;
203
+ provided: z.ZodOptional<z.ZodString>;
204
+ targets: z.ZodArray<z.ZodObject<{
205
+ workflowId: z.ZodString;
206
+ workflowName: z.ZodString;
207
+ nodeId: z.ZodOptional<z.ZodString>;
208
+ nodeName: z.ZodOptional<z.ZodString>;
209
+ port: z.ZodOptional<z.ZodString>;
210
+ revision: z.ZodOptional<z.ZodString>;
211
+ producerNodeId: z.ZodOptional<z.ZodString>;
212
+ producerName: z.ZodOptional<z.ZodString>;
213
+ outputPort: z.ZodOptional<z.ZodString>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ workflowId: string;
216
+ workflowName: string;
217
+ nodeId?: string | undefined;
218
+ revision?: string | undefined;
219
+ nodeName?: string | undefined;
220
+ port?: string | undefined;
221
+ producerNodeId?: string | undefined;
222
+ producerName?: string | undefined;
223
+ outputPort?: string | undefined;
224
+ }, {
225
+ workflowId: string;
226
+ workflowName: string;
227
+ nodeId?: string | undefined;
228
+ revision?: string | undefined;
229
+ nodeName?: string | undefined;
230
+ port?: string | undefined;
231
+ producerNodeId?: string | undefined;
232
+ producerName?: string | undefined;
233
+ outputPort?: string | undefined;
234
+ }>, "many">;
235
+ }, "strip", z.ZodTypeAny, {
236
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
237
+ targets: {
238
+ workflowId: string;
239
+ workflowName: string;
240
+ nodeId?: string | undefined;
241
+ revision?: string | undefined;
242
+ nodeName?: string | undefined;
243
+ port?: string | undefined;
244
+ producerNodeId?: string | undefined;
245
+ producerName?: string | undefined;
246
+ outputPort?: string | undefined;
247
+ }[];
248
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
249
+ expected?: string | undefined;
250
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
251
+ input?: string | undefined;
252
+ provided?: string | undefined;
253
+ }, {
254
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
255
+ targets: {
256
+ workflowId: string;
257
+ workflowName: string;
258
+ nodeId?: string | undefined;
259
+ revision?: string | undefined;
260
+ nodeName?: string | undefined;
261
+ port?: string | undefined;
262
+ producerNodeId?: string | undefined;
263
+ producerName?: string | undefined;
264
+ outputPort?: string | undefined;
265
+ }[];
266
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
267
+ expected?: string | undefined;
268
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
269
+ input?: string | undefined;
270
+ provided?: string | undefined;
271
+ }>>;
272
+ } & {
273
+ name: z.ZodOptional<z.ZodString>;
274
+ systemCode: z.ZodOptional<z.ZodString>;
275
+ causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
276
+ name: z.ZodOptional<z.ZodString>;
277
+ code: z.ZodOptional<z.ZodString>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ name?: string | undefined;
280
+ code?: string | undefined;
281
+ }, {
282
+ name?: string | undefined;
283
+ code?: string | undefined;
284
+ }>, "many">>;
202
285
  }, "strip", z.ZodTypeAny, {
203
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
286
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
204
287
  message: string;
205
288
  retryable: boolean;
289
+ name?: string | undefined;
290
+ systemCode?: string | undefined;
291
+ causes?: {
292
+ name?: string | undefined;
293
+ code?: string | undefined;
294
+ }[] | undefined;
206
295
  details?: unknown;
207
296
  stack?: string | undefined;
297
+ diagnostic?: {
298
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
299
+ targets: {
300
+ workflowId: string;
301
+ workflowName: string;
302
+ nodeId?: string | undefined;
303
+ revision?: string | undefined;
304
+ nodeName?: string | undefined;
305
+ port?: string | undefined;
306
+ producerNodeId?: string | undefined;
307
+ producerName?: string | undefined;
308
+ outputPort?: string | undefined;
309
+ }[];
310
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
311
+ expected?: string | undefined;
312
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
313
+ input?: string | undefined;
314
+ provided?: string | undefined;
315
+ } | undefined;
208
316
  }, {
209
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
317
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
210
318
  message: string;
319
+ name?: string | undefined;
320
+ systemCode?: string | undefined;
321
+ causes?: {
322
+ name?: string | undefined;
323
+ code?: string | undefined;
324
+ }[] | undefined;
211
325
  retryable?: boolean | undefined;
212
326
  details?: unknown;
213
327
  stack?: string | undefined;
328
+ diagnostic?: {
329
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
330
+ targets: {
331
+ workflowId: string;
332
+ workflowName: string;
333
+ nodeId?: string | undefined;
334
+ revision?: string | undefined;
335
+ nodeName?: string | undefined;
336
+ port?: string | undefined;
337
+ producerNodeId?: string | undefined;
338
+ producerName?: string | undefined;
339
+ outputPort?: string | undefined;
340
+ }[];
341
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
342
+ expected?: string | undefined;
343
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
344
+ input?: string | undefined;
345
+ provided?: string | undefined;
346
+ } | undefined;
214
347
  }>;
215
348
  export type NodeError = z.infer<typeof NodeError>;
216
349
  declare const ResultOk: z.ZodObject<{
@@ -243,26 +376,189 @@ declare const ResultErr: z.ZodObject<{
243
376
  retryable: z.ZodDefault<z.ZodBoolean>;
244
377
  details: z.ZodOptional<z.ZodUnknown>;
245
378
  stack: z.ZodOptional<z.ZodString>;
379
+ diagnostic: z.ZodOptional<z.ZodObject<{
380
+ kind: z.ZodEnum<["typeMismatch", "missingInput", "missingMember", "unsupported", "unavailable", "codeIssue", "syntax", "arguments", "nullability", "generics", "classes", "modules", "declarations", "configuration", "controlFlow", "async", "jsx", "unused", "deprecated", "lint", "unsafeOperation", "validation", "serialization", "timeout", "cancelled", "permission", "network", "resource", "runtimeError", "missingReference", "range", "decorators", "operators", "informational", "improvement"]>;
381
+ coverage: z.ZodOptional<z.ZodEnum<["specific", "family", "fallback", "internal"]>>;
382
+ action: z.ZodOptional<z.ZodEnum<["reviewSource", "reviewTypes", "reviewInput", "reviewOutput", "reviewImports", "reviewSettings", "reviewAsync", "checkDependencies", "checkPermissions", "checkService", "reviewNode", "checkResources"]>>;
383
+ input: z.ZodOptional<z.ZodString>;
384
+ expected: z.ZodOptional<z.ZodString>;
385
+ provided: z.ZodOptional<z.ZodString>;
386
+ targets: z.ZodArray<z.ZodObject<{
387
+ workflowId: z.ZodString;
388
+ workflowName: z.ZodString;
389
+ nodeId: z.ZodOptional<z.ZodString>;
390
+ nodeName: z.ZodOptional<z.ZodString>;
391
+ port: z.ZodOptional<z.ZodString>;
392
+ revision: z.ZodOptional<z.ZodString>;
393
+ producerNodeId: z.ZodOptional<z.ZodString>;
394
+ producerName: z.ZodOptional<z.ZodString>;
395
+ outputPort: z.ZodOptional<z.ZodString>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ workflowId: string;
398
+ workflowName: string;
399
+ nodeId?: string | undefined;
400
+ revision?: string | undefined;
401
+ nodeName?: string | undefined;
402
+ port?: string | undefined;
403
+ producerNodeId?: string | undefined;
404
+ producerName?: string | undefined;
405
+ outputPort?: string | undefined;
406
+ }, {
407
+ workflowId: string;
408
+ workflowName: string;
409
+ nodeId?: string | undefined;
410
+ revision?: string | undefined;
411
+ nodeName?: string | undefined;
412
+ port?: string | undefined;
413
+ producerNodeId?: string | undefined;
414
+ producerName?: string | undefined;
415
+ outputPort?: string | undefined;
416
+ }>, "many">;
417
+ }, "strip", z.ZodTypeAny, {
418
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
419
+ targets: {
420
+ workflowId: string;
421
+ workflowName: string;
422
+ nodeId?: string | undefined;
423
+ revision?: string | undefined;
424
+ nodeName?: string | undefined;
425
+ port?: string | undefined;
426
+ producerNodeId?: string | undefined;
427
+ producerName?: string | undefined;
428
+ outputPort?: string | undefined;
429
+ }[];
430
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
431
+ expected?: string | undefined;
432
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
433
+ input?: string | undefined;
434
+ provided?: string | undefined;
435
+ }, {
436
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
437
+ targets: {
438
+ workflowId: string;
439
+ workflowName: string;
440
+ nodeId?: string | undefined;
441
+ revision?: string | undefined;
442
+ nodeName?: string | undefined;
443
+ port?: string | undefined;
444
+ producerNodeId?: string | undefined;
445
+ producerName?: string | undefined;
446
+ outputPort?: string | undefined;
447
+ }[];
448
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
449
+ expected?: string | undefined;
450
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
451
+ input?: string | undefined;
452
+ provided?: string | undefined;
453
+ }>>;
454
+ } & {
455
+ name: z.ZodOptional<z.ZodString>;
456
+ systemCode: z.ZodOptional<z.ZodString>;
457
+ causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
+ name: z.ZodOptional<z.ZodString>;
459
+ code: z.ZodOptional<z.ZodString>;
460
+ }, "strip", z.ZodTypeAny, {
461
+ name?: string | undefined;
462
+ code?: string | undefined;
463
+ }, {
464
+ name?: string | undefined;
465
+ code?: string | undefined;
466
+ }>, "many">>;
246
467
  }, "strip", z.ZodTypeAny, {
247
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
468
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
248
469
  message: string;
249
470
  retryable: boolean;
471
+ name?: string | undefined;
472
+ systemCode?: string | undefined;
473
+ causes?: {
474
+ name?: string | undefined;
475
+ code?: string | undefined;
476
+ }[] | undefined;
250
477
  details?: unknown;
251
478
  stack?: string | undefined;
479
+ diagnostic?: {
480
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
481
+ targets: {
482
+ workflowId: string;
483
+ workflowName: string;
484
+ nodeId?: string | undefined;
485
+ revision?: string | undefined;
486
+ nodeName?: string | undefined;
487
+ port?: string | undefined;
488
+ producerNodeId?: string | undefined;
489
+ producerName?: string | undefined;
490
+ outputPort?: string | undefined;
491
+ }[];
492
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
493
+ expected?: string | undefined;
494
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
495
+ input?: string | undefined;
496
+ provided?: string | undefined;
497
+ } | undefined;
252
498
  }, {
253
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
499
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
254
500
  message: string;
501
+ name?: string | undefined;
502
+ systemCode?: string | undefined;
503
+ causes?: {
504
+ name?: string | undefined;
505
+ code?: string | undefined;
506
+ }[] | undefined;
255
507
  retryable?: boolean | undefined;
256
508
  details?: unknown;
257
509
  stack?: string | undefined;
510
+ diagnostic?: {
511
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
512
+ targets: {
513
+ workflowId: string;
514
+ workflowName: string;
515
+ nodeId?: string | undefined;
516
+ revision?: string | undefined;
517
+ nodeName?: string | undefined;
518
+ port?: string | undefined;
519
+ producerNodeId?: string | undefined;
520
+ producerName?: string | undefined;
521
+ outputPort?: string | undefined;
522
+ }[];
523
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
524
+ expected?: string | undefined;
525
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
526
+ input?: string | undefined;
527
+ provided?: string | undefined;
528
+ } | undefined;
258
529
  }>;
259
530
  }, "strip", z.ZodTypeAny, {
260
531
  error: {
261
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
532
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
262
533
  message: string;
263
534
  retryable: boolean;
535
+ name?: string | undefined;
536
+ systemCode?: string | undefined;
537
+ causes?: {
538
+ name?: string | undefined;
539
+ code?: string | undefined;
540
+ }[] | undefined;
264
541
  details?: unknown;
265
542
  stack?: string | undefined;
543
+ diagnostic?: {
544
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
545
+ targets: {
546
+ workflowId: string;
547
+ workflowName: string;
548
+ nodeId?: string | undefined;
549
+ revision?: string | undefined;
550
+ nodeName?: string | undefined;
551
+ port?: string | undefined;
552
+ producerNodeId?: string | undefined;
553
+ producerName?: string | undefined;
554
+ outputPort?: string | undefined;
555
+ }[];
556
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
557
+ expected?: string | undefined;
558
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
559
+ input?: string | undefined;
560
+ provided?: string | undefined;
561
+ } | undefined;
266
562
  };
267
563
  type: "result";
268
564
  octonode: "1";
@@ -270,11 +566,36 @@ declare const ResultErr: z.ZodObject<{
270
566
  invocationId: string;
271
567
  }, {
272
568
  error: {
273
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
569
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
274
570
  message: string;
571
+ name?: string | undefined;
572
+ systemCode?: string | undefined;
573
+ causes?: {
574
+ name?: string | undefined;
575
+ code?: string | undefined;
576
+ }[] | undefined;
275
577
  retryable?: boolean | undefined;
276
578
  details?: unknown;
277
579
  stack?: string | undefined;
580
+ diagnostic?: {
581
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
582
+ targets: {
583
+ workflowId: string;
584
+ workflowName: string;
585
+ nodeId?: string | undefined;
586
+ revision?: string | undefined;
587
+ nodeName?: string | undefined;
588
+ port?: string | undefined;
589
+ producerNodeId?: string | undefined;
590
+ producerName?: string | undefined;
591
+ outputPort?: string | undefined;
592
+ }[];
593
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
594
+ expected?: string | undefined;
595
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
596
+ input?: string | undefined;
597
+ provided?: string | undefined;
598
+ } | undefined;
278
599
  };
279
600
  type: "result";
280
601
  octonode: "1";
@@ -311,26 +632,189 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
311
632
  retryable: z.ZodDefault<z.ZodBoolean>;
312
633
  details: z.ZodOptional<z.ZodUnknown>;
313
634
  stack: z.ZodOptional<z.ZodString>;
635
+ diagnostic: z.ZodOptional<z.ZodObject<{
636
+ kind: z.ZodEnum<["typeMismatch", "missingInput", "missingMember", "unsupported", "unavailable", "codeIssue", "syntax", "arguments", "nullability", "generics", "classes", "modules", "declarations", "configuration", "controlFlow", "async", "jsx", "unused", "deprecated", "lint", "unsafeOperation", "validation", "serialization", "timeout", "cancelled", "permission", "network", "resource", "runtimeError", "missingReference", "range", "decorators", "operators", "informational", "improvement"]>;
637
+ coverage: z.ZodOptional<z.ZodEnum<["specific", "family", "fallback", "internal"]>>;
638
+ action: z.ZodOptional<z.ZodEnum<["reviewSource", "reviewTypes", "reviewInput", "reviewOutput", "reviewImports", "reviewSettings", "reviewAsync", "checkDependencies", "checkPermissions", "checkService", "reviewNode", "checkResources"]>>;
639
+ input: z.ZodOptional<z.ZodString>;
640
+ expected: z.ZodOptional<z.ZodString>;
641
+ provided: z.ZodOptional<z.ZodString>;
642
+ targets: z.ZodArray<z.ZodObject<{
643
+ workflowId: z.ZodString;
644
+ workflowName: z.ZodString;
645
+ nodeId: z.ZodOptional<z.ZodString>;
646
+ nodeName: z.ZodOptional<z.ZodString>;
647
+ port: z.ZodOptional<z.ZodString>;
648
+ revision: z.ZodOptional<z.ZodString>;
649
+ producerNodeId: z.ZodOptional<z.ZodString>;
650
+ producerName: z.ZodOptional<z.ZodString>;
651
+ outputPort: z.ZodOptional<z.ZodString>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ workflowId: string;
654
+ workflowName: string;
655
+ nodeId?: string | undefined;
656
+ revision?: string | undefined;
657
+ nodeName?: string | undefined;
658
+ port?: string | undefined;
659
+ producerNodeId?: string | undefined;
660
+ producerName?: string | undefined;
661
+ outputPort?: string | undefined;
662
+ }, {
663
+ workflowId: string;
664
+ workflowName: string;
665
+ nodeId?: string | undefined;
666
+ revision?: string | undefined;
667
+ nodeName?: string | undefined;
668
+ port?: string | undefined;
669
+ producerNodeId?: string | undefined;
670
+ producerName?: string | undefined;
671
+ outputPort?: string | undefined;
672
+ }>, "many">;
673
+ }, "strip", z.ZodTypeAny, {
674
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
675
+ targets: {
676
+ workflowId: string;
677
+ workflowName: string;
678
+ nodeId?: string | undefined;
679
+ revision?: string | undefined;
680
+ nodeName?: string | undefined;
681
+ port?: string | undefined;
682
+ producerNodeId?: string | undefined;
683
+ producerName?: string | undefined;
684
+ outputPort?: string | undefined;
685
+ }[];
686
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
687
+ expected?: string | undefined;
688
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
689
+ input?: string | undefined;
690
+ provided?: string | undefined;
691
+ }, {
692
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
693
+ targets: {
694
+ workflowId: string;
695
+ workflowName: string;
696
+ nodeId?: string | undefined;
697
+ revision?: string | undefined;
698
+ nodeName?: string | undefined;
699
+ port?: string | undefined;
700
+ producerNodeId?: string | undefined;
701
+ producerName?: string | undefined;
702
+ outputPort?: string | undefined;
703
+ }[];
704
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
705
+ expected?: string | undefined;
706
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
707
+ input?: string | undefined;
708
+ provided?: string | undefined;
709
+ }>>;
710
+ } & {
711
+ name: z.ZodOptional<z.ZodString>;
712
+ systemCode: z.ZodOptional<z.ZodString>;
713
+ causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
714
+ name: z.ZodOptional<z.ZodString>;
715
+ code: z.ZodOptional<z.ZodString>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ name?: string | undefined;
718
+ code?: string | undefined;
719
+ }, {
720
+ name?: string | undefined;
721
+ code?: string | undefined;
722
+ }>, "many">>;
314
723
  }, "strip", z.ZodTypeAny, {
315
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
724
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
316
725
  message: string;
317
726
  retryable: boolean;
727
+ name?: string | undefined;
728
+ systemCode?: string | undefined;
729
+ causes?: {
730
+ name?: string | undefined;
731
+ code?: string | undefined;
732
+ }[] | undefined;
318
733
  details?: unknown;
319
734
  stack?: string | undefined;
735
+ diagnostic?: {
736
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
737
+ targets: {
738
+ workflowId: string;
739
+ workflowName: string;
740
+ nodeId?: string | undefined;
741
+ revision?: string | undefined;
742
+ nodeName?: string | undefined;
743
+ port?: string | undefined;
744
+ producerNodeId?: string | undefined;
745
+ producerName?: string | undefined;
746
+ outputPort?: string | undefined;
747
+ }[];
748
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
749
+ expected?: string | undefined;
750
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
751
+ input?: string | undefined;
752
+ provided?: string | undefined;
753
+ } | undefined;
320
754
  }, {
321
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
755
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
322
756
  message: string;
757
+ name?: string | undefined;
758
+ systemCode?: string | undefined;
759
+ causes?: {
760
+ name?: string | undefined;
761
+ code?: string | undefined;
762
+ }[] | undefined;
323
763
  retryable?: boolean | undefined;
324
764
  details?: unknown;
325
765
  stack?: string | undefined;
766
+ diagnostic?: {
767
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
768
+ targets: {
769
+ workflowId: string;
770
+ workflowName: string;
771
+ nodeId?: string | undefined;
772
+ revision?: string | undefined;
773
+ nodeName?: string | undefined;
774
+ port?: string | undefined;
775
+ producerNodeId?: string | undefined;
776
+ producerName?: string | undefined;
777
+ outputPort?: string | undefined;
778
+ }[];
779
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
780
+ expected?: string | undefined;
781
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
782
+ input?: string | undefined;
783
+ provided?: string | undefined;
784
+ } | undefined;
326
785
  }>;
327
786
  }, "strip", z.ZodTypeAny, {
328
787
  error: {
329
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
788
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
330
789
  message: string;
331
790
  retryable: boolean;
791
+ name?: string | undefined;
792
+ systemCode?: string | undefined;
793
+ causes?: {
794
+ name?: string | undefined;
795
+ code?: string | undefined;
796
+ }[] | undefined;
332
797
  details?: unknown;
333
798
  stack?: string | undefined;
799
+ diagnostic?: {
800
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
801
+ targets: {
802
+ workflowId: string;
803
+ workflowName: string;
804
+ nodeId?: string | undefined;
805
+ revision?: string | undefined;
806
+ nodeName?: string | undefined;
807
+ port?: string | undefined;
808
+ producerNodeId?: string | undefined;
809
+ producerName?: string | undefined;
810
+ outputPort?: string | undefined;
811
+ }[];
812
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
813
+ expected?: string | undefined;
814
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
815
+ input?: string | undefined;
816
+ provided?: string | undefined;
817
+ } | undefined;
334
818
  };
335
819
  type: "result";
336
820
  octonode: "1";
@@ -338,11 +822,36 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
338
822
  invocationId: string;
339
823
  }, {
340
824
  error: {
341
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
825
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
342
826
  message: string;
827
+ name?: string | undefined;
828
+ systemCode?: string | undefined;
829
+ causes?: {
830
+ name?: string | undefined;
831
+ code?: string | undefined;
832
+ }[] | undefined;
343
833
  retryable?: boolean | undefined;
344
834
  details?: unknown;
345
835
  stack?: string | undefined;
836
+ diagnostic?: {
837
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
838
+ targets: {
839
+ workflowId: string;
840
+ workflowName: string;
841
+ nodeId?: string | undefined;
842
+ revision?: string | undefined;
843
+ nodeName?: string | undefined;
844
+ port?: string | undefined;
845
+ producerNodeId?: string | undefined;
846
+ producerName?: string | undefined;
847
+ outputPort?: string | undefined;
848
+ }[];
849
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
850
+ expected?: string | undefined;
851
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
852
+ input?: string | undefined;
853
+ provided?: string | undefined;
854
+ } | undefined;
346
855
  };
347
856
  type: "result";
348
857
  octonode: "1";
@@ -377,7 +886,7 @@ export declare const NodeManifest: z.ZodObject<{
377
886
  /** Setup params for non-function kinds (constructor/config shape). */
378
887
  setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
379
888
  /** Advisory default icon — a one-time seed; config owns it thereafter. */
380
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
889
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
381
890
  /** Advisory default config — a one-time seed; config owns it thereafter. */
382
891
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
383
892
  /** Explicit service exposure. Plain classes never populate this field. */
@@ -420,7 +929,6 @@ export declare const NodeManifest: z.ZodObject<{
420
929
  id: string;
421
930
  language: string;
422
931
  symbol?: string | undefined;
423
- config?: Record<string, unknown> | undefined;
424
932
  service?: {
425
933
  lifecycle: "invocation" | "workflow-run" | "worker";
426
934
  methods: {
@@ -433,17 +941,17 @@ export declare const NodeManifest: z.ZodObject<{
433
941
  label?: string | undefined;
434
942
  kind?: "function" | "class" | "service" | "const" | undefined;
435
943
  workflowId?: string | undefined;
944
+ icon?: string | undefined;
945
+ config?: Record<string, unknown> | undefined;
436
946
  inputs?: Record<string, unknown> | undefined;
437
947
  outputs?: Record<string, unknown> | undefined;
438
948
  description?: string | undefined;
439
949
  defaults?: Record<string, unknown> | undefined;
440
950
  setup?: Record<string, unknown> | undefined;
441
- icon?: string | undefined;
442
951
  }, {
443
952
  id: string;
444
953
  language: string;
445
954
  symbol?: string | undefined;
446
- config?: Record<string, unknown> | undefined;
447
955
  service?: {
448
956
  lifecycle: "invocation" | "workflow-run" | "worker";
449
957
  methods: {
@@ -456,12 +964,13 @@ export declare const NodeManifest: z.ZodObject<{
456
964
  label?: string | undefined;
457
965
  kind?: "function" | "class" | "service" | "const" | undefined;
458
966
  workflowId?: string | undefined;
967
+ icon?: string | undefined;
968
+ config?: Record<string, unknown> | undefined;
459
969
  inputs?: Record<string, unknown> | undefined;
460
970
  outputs?: Record<string, unknown> | undefined;
461
971
  description?: string | undefined;
462
972
  defaults?: Record<string, unknown> | undefined;
463
973
  setup?: Record<string, unknown> | undefined;
464
- icon?: string | undefined;
465
974
  }>;
466
975
  export type NodeManifest = z.infer<typeof NodeManifest>;
467
976
  declare const ManifestOk: z.ZodObject<{
@@ -489,7 +998,7 @@ declare const ManifestOk: z.ZodObject<{
489
998
  /** Setup params for non-function kinds (constructor/config shape). */
490
999
  setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
491
1000
  /** Advisory default icon — a one-time seed; config owns it thereafter. */
492
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
1001
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
493
1002
  /** Advisory default config — a one-time seed; config owns it thereafter. */
494
1003
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
495
1004
  /** Explicit service exposure. Plain classes never populate this field. */
@@ -532,7 +1041,6 @@ declare const ManifestOk: z.ZodObject<{
532
1041
  id: string;
533
1042
  language: string;
534
1043
  symbol?: string | undefined;
535
- config?: Record<string, unknown> | undefined;
536
1044
  service?: {
537
1045
  lifecycle: "invocation" | "workflow-run" | "worker";
538
1046
  methods: {
@@ -545,17 +1053,17 @@ declare const ManifestOk: z.ZodObject<{
545
1053
  label?: string | undefined;
546
1054
  kind?: "function" | "class" | "service" | "const" | undefined;
547
1055
  workflowId?: string | undefined;
1056
+ icon?: string | undefined;
1057
+ config?: Record<string, unknown> | undefined;
548
1058
  inputs?: Record<string, unknown> | undefined;
549
1059
  outputs?: Record<string, unknown> | undefined;
550
1060
  description?: string | undefined;
551
1061
  defaults?: Record<string, unknown> | undefined;
552
1062
  setup?: Record<string, unknown> | undefined;
553
- icon?: string | undefined;
554
1063
  }, {
555
1064
  id: string;
556
1065
  language: string;
557
1066
  symbol?: string | undefined;
558
- config?: Record<string, unknown> | undefined;
559
1067
  service?: {
560
1068
  lifecycle: "invocation" | "workflow-run" | "worker";
561
1069
  methods: {
@@ -568,12 +1076,13 @@ declare const ManifestOk: z.ZodObject<{
568
1076
  label?: string | undefined;
569
1077
  kind?: "function" | "class" | "service" | "const" | undefined;
570
1078
  workflowId?: string | undefined;
1079
+ icon?: string | undefined;
1080
+ config?: Record<string, unknown> | undefined;
571
1081
  inputs?: Record<string, unknown> | undefined;
572
1082
  outputs?: Record<string, unknown> | undefined;
573
1083
  description?: string | undefined;
574
1084
  defaults?: Record<string, unknown> | undefined;
575
1085
  setup?: Record<string, unknown> | undefined;
576
- icon?: string | undefined;
577
1086
  }>;
578
1087
  }, "strip", z.ZodTypeAny, {
579
1088
  type: "manifest";
@@ -584,7 +1093,6 @@ declare const ManifestOk: z.ZodObject<{
584
1093
  id: string;
585
1094
  language: string;
586
1095
  symbol?: string | undefined;
587
- config?: Record<string, unknown> | undefined;
588
1096
  service?: {
589
1097
  lifecycle: "invocation" | "workflow-run" | "worker";
590
1098
  methods: {
@@ -597,12 +1105,13 @@ declare const ManifestOk: z.ZodObject<{
597
1105
  label?: string | undefined;
598
1106
  kind?: "function" | "class" | "service" | "const" | undefined;
599
1107
  workflowId?: string | undefined;
1108
+ icon?: string | undefined;
1109
+ config?: Record<string, unknown> | undefined;
600
1110
  inputs?: Record<string, unknown> | undefined;
601
1111
  outputs?: Record<string, unknown> | undefined;
602
1112
  description?: string | undefined;
603
1113
  defaults?: Record<string, unknown> | undefined;
604
1114
  setup?: Record<string, unknown> | undefined;
605
- icon?: string | undefined;
606
1115
  };
607
1116
  }, {
608
1117
  type: "manifest";
@@ -613,7 +1122,6 @@ declare const ManifestOk: z.ZodObject<{
613
1122
  id: string;
614
1123
  language: string;
615
1124
  symbol?: string | undefined;
616
- config?: Record<string, unknown> | undefined;
617
1125
  service?: {
618
1126
  lifecycle: "invocation" | "workflow-run" | "worker";
619
1127
  methods: {
@@ -626,12 +1134,13 @@ declare const ManifestOk: z.ZodObject<{
626
1134
  label?: string | undefined;
627
1135
  kind?: "function" | "class" | "service" | "const" | undefined;
628
1136
  workflowId?: string | undefined;
1137
+ icon?: string | undefined;
1138
+ config?: Record<string, unknown> | undefined;
629
1139
  inputs?: Record<string, unknown> | undefined;
630
1140
  outputs?: Record<string, unknown> | undefined;
631
1141
  description?: string | undefined;
632
1142
  defaults?: Record<string, unknown> | undefined;
633
1143
  setup?: Record<string, unknown> | undefined;
634
- icon?: string | undefined;
635
1144
  };
636
1145
  }>;
637
1146
  declare const ManifestErr: z.ZodObject<{
@@ -645,26 +1154,189 @@ declare const ManifestErr: z.ZodObject<{
645
1154
  retryable: z.ZodDefault<z.ZodBoolean>;
646
1155
  details: z.ZodOptional<z.ZodUnknown>;
647
1156
  stack: z.ZodOptional<z.ZodString>;
1157
+ diagnostic: z.ZodOptional<z.ZodObject<{
1158
+ kind: z.ZodEnum<["typeMismatch", "missingInput", "missingMember", "unsupported", "unavailable", "codeIssue", "syntax", "arguments", "nullability", "generics", "classes", "modules", "declarations", "configuration", "controlFlow", "async", "jsx", "unused", "deprecated", "lint", "unsafeOperation", "validation", "serialization", "timeout", "cancelled", "permission", "network", "resource", "runtimeError", "missingReference", "range", "decorators", "operators", "informational", "improvement"]>;
1159
+ coverage: z.ZodOptional<z.ZodEnum<["specific", "family", "fallback", "internal"]>>;
1160
+ action: z.ZodOptional<z.ZodEnum<["reviewSource", "reviewTypes", "reviewInput", "reviewOutput", "reviewImports", "reviewSettings", "reviewAsync", "checkDependencies", "checkPermissions", "checkService", "reviewNode", "checkResources"]>>;
1161
+ input: z.ZodOptional<z.ZodString>;
1162
+ expected: z.ZodOptional<z.ZodString>;
1163
+ provided: z.ZodOptional<z.ZodString>;
1164
+ targets: z.ZodArray<z.ZodObject<{
1165
+ workflowId: z.ZodString;
1166
+ workflowName: z.ZodString;
1167
+ nodeId: z.ZodOptional<z.ZodString>;
1168
+ nodeName: z.ZodOptional<z.ZodString>;
1169
+ port: z.ZodOptional<z.ZodString>;
1170
+ revision: z.ZodOptional<z.ZodString>;
1171
+ producerNodeId: z.ZodOptional<z.ZodString>;
1172
+ producerName: z.ZodOptional<z.ZodString>;
1173
+ outputPort: z.ZodOptional<z.ZodString>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ workflowId: string;
1176
+ workflowName: string;
1177
+ nodeId?: string | undefined;
1178
+ revision?: string | undefined;
1179
+ nodeName?: string | undefined;
1180
+ port?: string | undefined;
1181
+ producerNodeId?: string | undefined;
1182
+ producerName?: string | undefined;
1183
+ outputPort?: string | undefined;
1184
+ }, {
1185
+ workflowId: string;
1186
+ workflowName: string;
1187
+ nodeId?: string | undefined;
1188
+ revision?: string | undefined;
1189
+ nodeName?: string | undefined;
1190
+ port?: string | undefined;
1191
+ producerNodeId?: string | undefined;
1192
+ producerName?: string | undefined;
1193
+ outputPort?: string | undefined;
1194
+ }>, "many">;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1197
+ targets: {
1198
+ workflowId: string;
1199
+ workflowName: string;
1200
+ nodeId?: string | undefined;
1201
+ revision?: string | undefined;
1202
+ nodeName?: string | undefined;
1203
+ port?: string | undefined;
1204
+ producerNodeId?: string | undefined;
1205
+ producerName?: string | undefined;
1206
+ outputPort?: string | undefined;
1207
+ }[];
1208
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1209
+ expected?: string | undefined;
1210
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1211
+ input?: string | undefined;
1212
+ provided?: string | undefined;
1213
+ }, {
1214
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1215
+ targets: {
1216
+ workflowId: string;
1217
+ workflowName: string;
1218
+ nodeId?: string | undefined;
1219
+ revision?: string | undefined;
1220
+ nodeName?: string | undefined;
1221
+ port?: string | undefined;
1222
+ producerNodeId?: string | undefined;
1223
+ producerName?: string | undefined;
1224
+ outputPort?: string | undefined;
1225
+ }[];
1226
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1227
+ expected?: string | undefined;
1228
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1229
+ input?: string | undefined;
1230
+ provided?: string | undefined;
1231
+ }>>;
1232
+ } & {
1233
+ name: z.ZodOptional<z.ZodString>;
1234
+ systemCode: z.ZodOptional<z.ZodString>;
1235
+ causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1236
+ name: z.ZodOptional<z.ZodString>;
1237
+ code: z.ZodOptional<z.ZodString>;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ name?: string | undefined;
1240
+ code?: string | undefined;
1241
+ }, {
1242
+ name?: string | undefined;
1243
+ code?: string | undefined;
1244
+ }>, "many">>;
648
1245
  }, "strip", z.ZodTypeAny, {
649
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1246
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
650
1247
  message: string;
651
1248
  retryable: boolean;
1249
+ name?: string | undefined;
1250
+ systemCode?: string | undefined;
1251
+ causes?: {
1252
+ name?: string | undefined;
1253
+ code?: string | undefined;
1254
+ }[] | undefined;
652
1255
  details?: unknown;
653
1256
  stack?: string | undefined;
1257
+ diagnostic?: {
1258
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1259
+ targets: {
1260
+ workflowId: string;
1261
+ workflowName: string;
1262
+ nodeId?: string | undefined;
1263
+ revision?: string | undefined;
1264
+ nodeName?: string | undefined;
1265
+ port?: string | undefined;
1266
+ producerNodeId?: string | undefined;
1267
+ producerName?: string | undefined;
1268
+ outputPort?: string | undefined;
1269
+ }[];
1270
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1271
+ expected?: string | undefined;
1272
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1273
+ input?: string | undefined;
1274
+ provided?: string | undefined;
1275
+ } | undefined;
654
1276
  }, {
655
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1277
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
656
1278
  message: string;
1279
+ name?: string | undefined;
1280
+ systemCode?: string | undefined;
1281
+ causes?: {
1282
+ name?: string | undefined;
1283
+ code?: string | undefined;
1284
+ }[] | undefined;
657
1285
  retryable?: boolean | undefined;
658
1286
  details?: unknown;
659
1287
  stack?: string | undefined;
1288
+ diagnostic?: {
1289
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1290
+ targets: {
1291
+ workflowId: string;
1292
+ workflowName: string;
1293
+ nodeId?: string | undefined;
1294
+ revision?: string | undefined;
1295
+ nodeName?: string | undefined;
1296
+ port?: string | undefined;
1297
+ producerNodeId?: string | undefined;
1298
+ producerName?: string | undefined;
1299
+ outputPort?: string | undefined;
1300
+ }[];
1301
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1302
+ expected?: string | undefined;
1303
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1304
+ input?: string | undefined;
1305
+ provided?: string | undefined;
1306
+ } | undefined;
660
1307
  }>;
661
1308
  }, "strip", z.ZodTypeAny, {
662
1309
  error: {
663
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1310
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
664
1311
  message: string;
665
1312
  retryable: boolean;
1313
+ name?: string | undefined;
1314
+ systemCode?: string | undefined;
1315
+ causes?: {
1316
+ name?: string | undefined;
1317
+ code?: string | undefined;
1318
+ }[] | undefined;
666
1319
  details?: unknown;
667
1320
  stack?: string | undefined;
1321
+ diagnostic?: {
1322
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1323
+ targets: {
1324
+ workflowId: string;
1325
+ workflowName: string;
1326
+ nodeId?: string | undefined;
1327
+ revision?: string | undefined;
1328
+ nodeName?: string | undefined;
1329
+ port?: string | undefined;
1330
+ producerNodeId?: string | undefined;
1331
+ producerName?: string | undefined;
1332
+ outputPort?: string | undefined;
1333
+ }[];
1334
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1335
+ expected?: string | undefined;
1336
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1337
+ input?: string | undefined;
1338
+ provided?: string | undefined;
1339
+ } | undefined;
668
1340
  };
669
1341
  type: "manifest";
670
1342
  octonode: "1";
@@ -672,11 +1344,36 @@ declare const ManifestErr: z.ZodObject<{
672
1344
  invocationId: string;
673
1345
  }, {
674
1346
  error: {
675
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1347
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
676
1348
  message: string;
1349
+ name?: string | undefined;
1350
+ systemCode?: string | undefined;
1351
+ causes?: {
1352
+ name?: string | undefined;
1353
+ code?: string | undefined;
1354
+ }[] | undefined;
677
1355
  retryable?: boolean | undefined;
678
1356
  details?: unknown;
679
1357
  stack?: string | undefined;
1358
+ diagnostic?: {
1359
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1360
+ targets: {
1361
+ workflowId: string;
1362
+ workflowName: string;
1363
+ nodeId?: string | undefined;
1364
+ revision?: string | undefined;
1365
+ nodeName?: string | undefined;
1366
+ port?: string | undefined;
1367
+ producerNodeId?: string | undefined;
1368
+ producerName?: string | undefined;
1369
+ outputPort?: string | undefined;
1370
+ }[];
1371
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1372
+ expected?: string | undefined;
1373
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1374
+ input?: string | undefined;
1375
+ provided?: string | undefined;
1376
+ } | undefined;
680
1377
  };
681
1378
  type: "manifest";
682
1379
  octonode: "1";
@@ -709,7 +1406,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
709
1406
  /** Setup params for non-function kinds (constructor/config shape). */
710
1407
  setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
1408
  /** Advisory default icon — a one-time seed; config owns it thereafter. */
712
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
1409
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>>;
713
1410
  /** Advisory default config — a one-time seed; config owns it thereafter. */
714
1411
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
715
1412
  /** Explicit service exposure. Plain classes never populate this field. */
@@ -752,7 +1449,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
752
1449
  id: string;
753
1450
  language: string;
754
1451
  symbol?: string | undefined;
755
- config?: Record<string, unknown> | undefined;
756
1452
  service?: {
757
1453
  lifecycle: "invocation" | "workflow-run" | "worker";
758
1454
  methods: {
@@ -765,17 +1461,17 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
765
1461
  label?: string | undefined;
766
1462
  kind?: "function" | "class" | "service" | "const" | undefined;
767
1463
  workflowId?: string | undefined;
1464
+ icon?: string | undefined;
1465
+ config?: Record<string, unknown> | undefined;
768
1466
  inputs?: Record<string, unknown> | undefined;
769
1467
  outputs?: Record<string, unknown> | undefined;
770
1468
  description?: string | undefined;
771
1469
  defaults?: Record<string, unknown> | undefined;
772
1470
  setup?: Record<string, unknown> | undefined;
773
- icon?: string | undefined;
774
1471
  }, {
775
1472
  id: string;
776
1473
  language: string;
777
1474
  symbol?: string | undefined;
778
- config?: Record<string, unknown> | undefined;
779
1475
  service?: {
780
1476
  lifecycle: "invocation" | "workflow-run" | "worker";
781
1477
  methods: {
@@ -788,12 +1484,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
788
1484
  label?: string | undefined;
789
1485
  kind?: "function" | "class" | "service" | "const" | undefined;
790
1486
  workflowId?: string | undefined;
1487
+ icon?: string | undefined;
1488
+ config?: Record<string, unknown> | undefined;
791
1489
  inputs?: Record<string, unknown> | undefined;
792
1490
  outputs?: Record<string, unknown> | undefined;
793
1491
  description?: string | undefined;
794
1492
  defaults?: Record<string, unknown> | undefined;
795
1493
  setup?: Record<string, unknown> | undefined;
796
- icon?: string | undefined;
797
1494
  }>;
798
1495
  }, "strip", z.ZodTypeAny, {
799
1496
  type: "manifest";
@@ -804,7 +1501,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
804
1501
  id: string;
805
1502
  language: string;
806
1503
  symbol?: string | undefined;
807
- config?: Record<string, unknown> | undefined;
808
1504
  service?: {
809
1505
  lifecycle: "invocation" | "workflow-run" | "worker";
810
1506
  methods: {
@@ -817,12 +1513,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
817
1513
  label?: string | undefined;
818
1514
  kind?: "function" | "class" | "service" | "const" | undefined;
819
1515
  workflowId?: string | undefined;
1516
+ icon?: string | undefined;
1517
+ config?: Record<string, unknown> | undefined;
820
1518
  inputs?: Record<string, unknown> | undefined;
821
1519
  outputs?: Record<string, unknown> | undefined;
822
1520
  description?: string | undefined;
823
1521
  defaults?: Record<string, unknown> | undefined;
824
1522
  setup?: Record<string, unknown> | undefined;
825
- icon?: string | undefined;
826
1523
  };
827
1524
  }, {
828
1525
  type: "manifest";
@@ -833,7 +1530,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
833
1530
  id: string;
834
1531
  language: string;
835
1532
  symbol?: string | undefined;
836
- config?: Record<string, unknown> | undefined;
837
1533
  service?: {
838
1534
  lifecycle: "invocation" | "workflow-run" | "worker";
839
1535
  methods: {
@@ -846,12 +1542,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
846
1542
  label?: string | undefined;
847
1543
  kind?: "function" | "class" | "service" | "const" | undefined;
848
1544
  workflowId?: string | undefined;
1545
+ icon?: string | undefined;
1546
+ config?: Record<string, unknown> | undefined;
849
1547
  inputs?: Record<string, unknown> | undefined;
850
1548
  outputs?: Record<string, unknown> | undefined;
851
1549
  description?: string | undefined;
852
1550
  defaults?: Record<string, unknown> | undefined;
853
1551
  setup?: Record<string, unknown> | undefined;
854
- icon?: string | undefined;
855
1552
  };
856
1553
  }>, z.ZodObject<{
857
1554
  octonode: z.ZodLiteral<"1">;
@@ -864,26 +1561,189 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
864
1561
  retryable: z.ZodDefault<z.ZodBoolean>;
865
1562
  details: z.ZodOptional<z.ZodUnknown>;
866
1563
  stack: z.ZodOptional<z.ZodString>;
1564
+ diagnostic: z.ZodOptional<z.ZodObject<{
1565
+ kind: z.ZodEnum<["typeMismatch", "missingInput", "missingMember", "unsupported", "unavailable", "codeIssue", "syntax", "arguments", "nullability", "generics", "classes", "modules", "declarations", "configuration", "controlFlow", "async", "jsx", "unused", "deprecated", "lint", "unsafeOperation", "validation", "serialization", "timeout", "cancelled", "permission", "network", "resource", "runtimeError", "missingReference", "range", "decorators", "operators", "informational", "improvement"]>;
1566
+ coverage: z.ZodOptional<z.ZodEnum<["specific", "family", "fallback", "internal"]>>;
1567
+ action: z.ZodOptional<z.ZodEnum<["reviewSource", "reviewTypes", "reviewInput", "reviewOutput", "reviewImports", "reviewSettings", "reviewAsync", "checkDependencies", "checkPermissions", "checkService", "reviewNode", "checkResources"]>>;
1568
+ input: z.ZodOptional<z.ZodString>;
1569
+ expected: z.ZodOptional<z.ZodString>;
1570
+ provided: z.ZodOptional<z.ZodString>;
1571
+ targets: z.ZodArray<z.ZodObject<{
1572
+ workflowId: z.ZodString;
1573
+ workflowName: z.ZodString;
1574
+ nodeId: z.ZodOptional<z.ZodString>;
1575
+ nodeName: z.ZodOptional<z.ZodString>;
1576
+ port: z.ZodOptional<z.ZodString>;
1577
+ revision: z.ZodOptional<z.ZodString>;
1578
+ producerNodeId: z.ZodOptional<z.ZodString>;
1579
+ producerName: z.ZodOptional<z.ZodString>;
1580
+ outputPort: z.ZodOptional<z.ZodString>;
1581
+ }, "strip", z.ZodTypeAny, {
1582
+ workflowId: string;
1583
+ workflowName: string;
1584
+ nodeId?: string | undefined;
1585
+ revision?: string | undefined;
1586
+ nodeName?: string | undefined;
1587
+ port?: string | undefined;
1588
+ producerNodeId?: string | undefined;
1589
+ producerName?: string | undefined;
1590
+ outputPort?: string | undefined;
1591
+ }, {
1592
+ workflowId: string;
1593
+ workflowName: string;
1594
+ nodeId?: string | undefined;
1595
+ revision?: string | undefined;
1596
+ nodeName?: string | undefined;
1597
+ port?: string | undefined;
1598
+ producerNodeId?: string | undefined;
1599
+ producerName?: string | undefined;
1600
+ outputPort?: string | undefined;
1601
+ }>, "many">;
1602
+ }, "strip", z.ZodTypeAny, {
1603
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1604
+ targets: {
1605
+ workflowId: string;
1606
+ workflowName: string;
1607
+ nodeId?: string | undefined;
1608
+ revision?: string | undefined;
1609
+ nodeName?: string | undefined;
1610
+ port?: string | undefined;
1611
+ producerNodeId?: string | undefined;
1612
+ producerName?: string | undefined;
1613
+ outputPort?: string | undefined;
1614
+ }[];
1615
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1616
+ expected?: string | undefined;
1617
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1618
+ input?: string | undefined;
1619
+ provided?: string | undefined;
1620
+ }, {
1621
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1622
+ targets: {
1623
+ workflowId: string;
1624
+ workflowName: string;
1625
+ nodeId?: string | undefined;
1626
+ revision?: string | undefined;
1627
+ nodeName?: string | undefined;
1628
+ port?: string | undefined;
1629
+ producerNodeId?: string | undefined;
1630
+ producerName?: string | undefined;
1631
+ outputPort?: string | undefined;
1632
+ }[];
1633
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1634
+ expected?: string | undefined;
1635
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1636
+ input?: string | undefined;
1637
+ provided?: string | undefined;
1638
+ }>>;
1639
+ } & {
1640
+ name: z.ZodOptional<z.ZodString>;
1641
+ systemCode: z.ZodOptional<z.ZodString>;
1642
+ causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1643
+ name: z.ZodOptional<z.ZodString>;
1644
+ code: z.ZodOptional<z.ZodString>;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ name?: string | undefined;
1647
+ code?: string | undefined;
1648
+ }, {
1649
+ name?: string | undefined;
1650
+ code?: string | undefined;
1651
+ }>, "many">>;
867
1652
  }, "strip", z.ZodTypeAny, {
868
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1653
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
869
1654
  message: string;
870
1655
  retryable: boolean;
1656
+ name?: string | undefined;
1657
+ systemCode?: string | undefined;
1658
+ causes?: {
1659
+ name?: string | undefined;
1660
+ code?: string | undefined;
1661
+ }[] | undefined;
871
1662
  details?: unknown;
872
1663
  stack?: string | undefined;
1664
+ diagnostic?: {
1665
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1666
+ targets: {
1667
+ workflowId: string;
1668
+ workflowName: string;
1669
+ nodeId?: string | undefined;
1670
+ revision?: string | undefined;
1671
+ nodeName?: string | undefined;
1672
+ port?: string | undefined;
1673
+ producerNodeId?: string | undefined;
1674
+ producerName?: string | undefined;
1675
+ outputPort?: string | undefined;
1676
+ }[];
1677
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1678
+ expected?: string | undefined;
1679
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1680
+ input?: string | undefined;
1681
+ provided?: string | undefined;
1682
+ } | undefined;
873
1683
  }, {
874
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1684
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
875
1685
  message: string;
1686
+ name?: string | undefined;
1687
+ systemCode?: string | undefined;
1688
+ causes?: {
1689
+ name?: string | undefined;
1690
+ code?: string | undefined;
1691
+ }[] | undefined;
876
1692
  retryable?: boolean | undefined;
877
1693
  details?: unknown;
878
1694
  stack?: string | undefined;
1695
+ diagnostic?: {
1696
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1697
+ targets: {
1698
+ workflowId: string;
1699
+ workflowName: string;
1700
+ nodeId?: string | undefined;
1701
+ revision?: string | undefined;
1702
+ nodeName?: string | undefined;
1703
+ port?: string | undefined;
1704
+ producerNodeId?: string | undefined;
1705
+ producerName?: string | undefined;
1706
+ outputPort?: string | undefined;
1707
+ }[];
1708
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1709
+ expected?: string | undefined;
1710
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1711
+ input?: string | undefined;
1712
+ provided?: string | undefined;
1713
+ } | undefined;
879
1714
  }>;
880
1715
  }, "strip", z.ZodTypeAny, {
881
1716
  error: {
882
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1717
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
883
1718
  message: string;
884
1719
  retryable: boolean;
1720
+ name?: string | undefined;
1721
+ systemCode?: string | undefined;
1722
+ causes?: {
1723
+ name?: string | undefined;
1724
+ code?: string | undefined;
1725
+ }[] | undefined;
885
1726
  details?: unknown;
886
1727
  stack?: string | undefined;
1728
+ diagnostic?: {
1729
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1730
+ targets: {
1731
+ workflowId: string;
1732
+ workflowName: string;
1733
+ nodeId?: string | undefined;
1734
+ revision?: string | undefined;
1735
+ nodeName?: string | undefined;
1736
+ port?: string | undefined;
1737
+ producerNodeId?: string | undefined;
1738
+ producerName?: string | undefined;
1739
+ outputPort?: string | undefined;
1740
+ }[];
1741
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1742
+ expected?: string | undefined;
1743
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1744
+ input?: string | undefined;
1745
+ provided?: string | undefined;
1746
+ } | undefined;
887
1747
  };
888
1748
  type: "manifest";
889
1749
  octonode: "1";
@@ -891,11 +1751,36 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
891
1751
  invocationId: string;
892
1752
  }, {
893
1753
  error: {
894
- code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "TIMEOUT" | "NON_RETRYABLE";
1754
+ code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
895
1755
  message: string;
1756
+ name?: string | undefined;
1757
+ systemCode?: string | undefined;
1758
+ causes?: {
1759
+ name?: string | undefined;
1760
+ code?: string | undefined;
1761
+ }[] | undefined;
896
1762
  retryable?: boolean | undefined;
897
1763
  details?: unknown;
898
1764
  stack?: string | undefined;
1765
+ diagnostic?: {
1766
+ kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
1767
+ targets: {
1768
+ workflowId: string;
1769
+ workflowName: string;
1770
+ nodeId?: string | undefined;
1771
+ revision?: string | undefined;
1772
+ nodeName?: string | undefined;
1773
+ port?: string | undefined;
1774
+ producerNodeId?: string | undefined;
1775
+ producerName?: string | undefined;
1776
+ outputPort?: string | undefined;
1777
+ }[];
1778
+ action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
1779
+ expected?: string | undefined;
1780
+ coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
1781
+ input?: string | undefined;
1782
+ provided?: string | undefined;
1783
+ } | undefined;
899
1784
  };
900
1785
  type: "manifest";
901
1786
  octonode: "1";
@@ -905,16 +1790,8 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
905
1790
  export type ManifestEnvelope = z.infer<typeof ManifestEnvelope>;
906
1791
  export type ManifestResult = z.infer<typeof ManifestOk>;
907
1792
  export type ManifestError = z.infer<typeof ManifestErr>;
908
- export declare function makeInvokeRequest(args: {
909
- invocationId: string;
910
- inputs: unknown;
911
- node?: string;
912
- context?: Partial<InvocationContext>;
913
- }): InvokeRequest;
914
- export declare function makeDescribeRequest(args: {
915
- invocationId: string;
916
- node?: string;
917
- }): DescribeRequest;
1793
+ export declare function makeInvokeRequest(args: MakeInvokeRequestArgs): InvokeRequest;
1794
+ export declare function makeDescribeRequest(args: MakeDescribeRequestArgs): DescribeRequest;
918
1795
  export declare function makeOkResult(invocationId: string, outputs: unknown): OkResult;
919
1796
  export declare function makeErrorResult(invocationId: string, error: NodeError): ErrorResult;
920
1797
  export declare function makeManifestResult(invocationId: string, manifest: NodeManifest): ManifestResult;