@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.
- package/README.md +7 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/data-tables/table.d.ts +2 -2
- package/dist/data-tables/table.d.ts.map +1 -1
- package/dist/data-tables/types.d.ts +1 -1
- package/dist/data-tables/types.d.ts.map +1 -1
- package/dist/gen/client/client.gen.d.ts +1 -1
- package/dist/gen/client/client.gen.d.ts.map +1 -1
- package/dist/gen/client/client.gen.js +3 -3
- package/dist/gen/client/client.gen.js.map +1 -1
- package/dist/gen/client/index.d.ts +9 -9
- package/dist/gen/client/index.d.ts.map +1 -1
- package/dist/gen/client/index.js +5 -5
- package/dist/gen/client/index.js.map +1 -1
- package/dist/gen/client/types.gen.d.ts +4 -4
- package/dist/gen/client/types.gen.d.ts.map +1 -1
- package/dist/gen/client/utils.gen.d.ts +2 -2
- package/dist/gen/client/utils.gen.d.ts.map +1 -1
- package/dist/gen/client/utils.gen.js +4 -4
- package/dist/gen/client/utils.gen.js.map +1 -1
- package/dist/gen/client.gen.d.ts +2 -2
- package/dist/gen/client.gen.d.ts.map +1 -1
- package/dist/gen/client.gen.js +1 -1
- package/dist/gen/client.gen.js.map +1 -1
- package/dist/gen/core/bodySerializer.gen.d.ts +1 -1
- package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gen/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/gen/core/types.gen.d.ts +2 -2
- package/dist/gen/core/types.gen.d.ts.map +1 -1
- package/dist/gen/core/utils.gen.d.ts +1 -1
- package/dist/gen/core/utils.gen.d.ts.map +1 -1
- package/dist/gen/core/utils.gen.js +1 -1
- package/dist/gen/core/utils.gen.js.map +1 -1
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/index.js +14 -7
- package/dist/gen/index.js.map +1 -1
- package/dist/gen/sdk.gen.d.ts +127 -91
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +249 -176
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +5347 -580
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/octonode-client.d.ts +7 -7
- package/dist/octonode-client.d.ts.map +1 -1
- package/dist/octonode-client.js +4 -4
- package/dist/octonode-client.js.map +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/schema/app/app.d.ts +958 -0
- package/dist/plugins/schema/app/app.d.ts.map +1 -0
- package/dist/plugins/schema/app/app.js +202 -0
- package/dist/plugins/schema/app/app.js.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/constants.d.ts +4 -0
- package/dist/plugins/schema/app/contributions/constants/constants.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/constants.js +52 -0
- package/dist/plugins/schema/app/contributions/constants/constants.js.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/index.d.ts +2 -0
- package/dist/plugins/schema/app/contributions/constants/index.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/index.js +9 -0
- package/dist/plugins/schema/app/contributions/constants/index.js.map +1 -0
- package/dist/plugins/schema/app/contributions/contributions.d.ts +352 -0
- package/dist/plugins/schema/app/contributions/contributions.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/contributions.js +133 -0
- package/dist/plugins/schema/app/contributions/contributions.js.map +1 -0
- package/dist/plugins/schema/app/contributions/index.d.ts +3 -0
- package/dist/plugins/schema/app/contributions/index.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/index.js +20 -0
- package/dist/plugins/schema/app/contributions/index.js.map +1 -0
- package/dist/plugins/schema/app/contributions.d.ts +10 -10
- package/dist/plugins/schema/app-contributions.d.ts +10 -10
- package/dist/plugins/schema/app.d.ts +89 -89
- package/dist/plugins/schema/app.d.ts.map +1 -1
- package/dist/plugins/schema/app.js +4 -3
- package/dist/plugins/schema/app.js.map +1 -1
- package/dist/plugins/schema/constants/constants.d.ts +69 -0
- package/dist/plugins/schema/constants/constants.d.ts.map +1 -0
- package/dist/plugins/schema/constants/constants.js +412 -0
- package/dist/plugins/schema/constants/constants.js.map +1 -0
- package/dist/plugins/schema/constants/index.d.ts +2 -0
- package/dist/plugins/schema/constants/index.d.ts.map +1 -0
- package/dist/plugins/schema/constants/index.js +59 -0
- package/dist/plugins/schema/constants/index.js.map +1 -0
- package/dist/plugins/schema/constants.d.ts +11 -1
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +21 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/diagnostics/constants.d.ts +124 -0
- package/dist/plugins/schema/diagnostics/constants.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/constants.js +182 -0
- package/dist/plugins/schema/diagnostics/constants.js.map +1 -0
- package/dist/plugins/schema/diagnostics/index.d.ts +9 -0
- package/dist/plugins/schema/diagnostics/index.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/index.js +32 -0
- package/dist/plugins/schema/diagnostics/index.js.map +1 -0
- package/dist/plugins/schema/diagnostics/location.d.ts +3 -0
- package/dist/plugins/schema/diagnostics/location.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/location.js +22 -0
- package/dist/plugins/schema/diagnostics/location.js.map +1 -0
- package/dist/plugins/schema/diagnostics/messages.d.ts +11 -0
- package/dist/plugins/schema/diagnostics/messages.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/messages.js +32 -0
- package/dist/plugins/schema/diagnostics/messages.js.map +1 -0
- package/dist/plugins/schema/diagnostics/registry.d.ts +6 -0
- package/dist/plugins/schema/diagnostics/registry.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/registry.js +35 -0
- package/dist/plugins/schema/diagnostics/registry.js.map +1 -0
- package/dist/plugins/schema/diagnostics/report.d.ts +4 -0
- package/dist/plugins/schema/diagnostics/report.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/report.js +13 -0
- package/dist/plugins/schema/diagnostics/report.js.map +1 -0
- package/dist/plugins/schema/diagnostics/runtime.d.ts +3 -0
- package/dist/plugins/schema/diagnostics/runtime.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/runtime.js +42 -0
- package/dist/plugins/schema/diagnostics/runtime.js.map +1 -0
- package/dist/plugins/schema/diagnostics/schema.d.ts +239 -0
- package/dist/plugins/schema/diagnostics/schema.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/schema.js +58 -0
- package/dist/plugins/schema/diagnostics/schema.js.map +1 -0
- package/dist/plugins/schema/diagnostics/types.d.ts +37 -0
- package/dist/plugins/schema/diagnostics/types.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/types.js +3 -0
- package/dist/plugins/schema/diagnostics/types.js.map +1 -0
- package/dist/plugins/schema/icons.d.ts +2 -3
- package/dist/plugins/schema/icons.d.ts.map +1 -1
- package/dist/plugins/schema/icons.js +3 -57
- package/dist/plugins/schema/icons.js.map +1 -1
- package/dist/plugins/schema/ipc/constants.d.ts +3 -0
- package/dist/plugins/schema/ipc/constants.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/constants.js +7 -0
- package/dist/plugins/schema/ipc/constants.js.map +1 -0
- package/dist/plugins/schema/ipc/envelope.d.ts +939 -62
- package/dist/plugins/schema/ipc/envelope.d.ts.map +1 -1
- package/dist/plugins/schema/ipc/envelope.js +23 -24
- package/dist/plugins/schema/ipc/envelope.js.map +1 -1
- package/dist/plugins/schema/ipc/types.d.ts +12 -0
- package/dist/plugins/schema/ipc/types.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/types.js +3 -0
- package/dist/plugins/schema/ipc/types.js.map +1 -0
- package/dist/plugins/schema/ipc-envelope.d.ts +46 -46
- package/dist/plugins/schema/ipc-envelope.js +1 -1
- package/dist/plugins/schema/ipc-envelope.js.map +1 -1
- package/dist/plugins/schema/plugin/constants.d.ts +15 -0
- package/dist/plugins/schema/plugin/constants.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/constants.js +19 -0
- package/dist/plugins/schema/plugin/constants.js.map +1 -0
- package/dist/plugins/schema/plugin/contents.d.ts +27 -0
- package/dist/plugins/schema/plugin/contents.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/contents.js +39 -0
- package/dist/plugins/schema/plugin/contents.js.map +1 -0
- package/dist/plugins/schema/plugin/execution.d.ts +4041 -463
- package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/execution.js +20 -9
- package/dist/plugins/schema/plugin/execution.js.map +1 -1
- package/dist/plugins/schema/plugin/members.d.ts +279 -0
- package/dist/plugins/schema/plugin/members.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/members.js +53 -0
- package/dist/plugins/schema/plugin/members.js.map +1 -0
- package/dist/plugins/schema/plugin/plugin.d.ts +1132 -339
- package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/plugin.js +87 -21
- package/dist/plugins/schema/plugin/plugin.js.map +1 -1
- package/dist/plugins/schema/plugin/publishing.d.ts +95 -108
- package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/publishing.js +3 -8
- package/dist/plugins/schema/plugin/publishing.js.map +1 -1
- package/dist/plugins/schema/plugin/runtime.d.ts +227 -0
- package/dist/plugins/schema/plugin/runtime.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/runtime.js +109 -0
- package/dist/plugins/schema/plugin/runtime.js.map +1 -0
- package/dist/plugins/schema/plugin/view.d.ts +39 -0
- package/dist/plugins/schema/plugin/view.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/view.js +22 -0
- package/dist/plugins/schema/plugin/view.js.map +1 -0
- package/dist/plugins/schema/plugin-publishing.d.ts +86 -86
- package/dist/plugins/schema/plugin-publishing.js +1 -1
- package/dist/plugins/schema/plugin-publishing.js.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.d.ts +14 -9
- package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.js +28 -15
- package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +81 -81
- package/dist/plugins/schema/plugin.js +3 -3
- package/dist/plugins/schema/plugin.js.map +1 -1
- package/dist/plugins/schema/project/analysis.d.ts +686 -0
- package/dist/plugins/schema/project/analysis.d.ts.map +1 -0
- package/dist/plugins/schema/project/analysis.js +65 -0
- package/dist/plugins/schema/project/analysis.js.map +1 -0
- package/dist/plugins/sdk/clients/constants.d.ts +2 -0
- package/dist/plugins/sdk/clients/constants.d.ts.map +1 -0
- package/dist/plugins/sdk/clients/constants.js +37 -0
- package/dist/plugins/sdk/clients/constants.js.map +1 -0
- package/dist/plugins/sdk/define/node.d.ts.map +1 -1
- package/dist/plugins/sdk/define-node.d.ts +2 -2
- package/dist/plugins/sdk/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/clients/index.d.ts +2 -0
- package/dist/plugins/sdk/definitions/clients/index.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/clients/index.js +7 -0
- package/dist/plugins/sdk/definitions/clients/index.js.map +1 -0
- package/dist/plugins/sdk/definitions/clients/output.d.ts +2 -2
- package/dist/plugins/sdk/definitions/clients/output.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/clients/output.js +4 -37
- package/dist/plugins/sdk/definitions/clients/output.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.js +4 -3
- package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.d.ts +5 -4
- package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.js +11 -10
- package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/types.d.ts +20 -2
- package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/index.d.ts +2 -2
- package/dist/plugins/sdk/definitions/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.js +2 -2
- package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts +26 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/types.d.ts +2 -2
- package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
- package/dist/plugins/sdk/json/index.d.ts +4 -0
- package/dist/plugins/sdk/json/index.d.ts.map +1 -0
- package/dist/plugins/sdk/json/index.js +9 -0
- package/dist/plugins/sdk/json/index.js.map +1 -0
- package/dist/plugins/sdk/json/safety.d.ts +2 -0
- package/dist/plugins/sdk/json/safety.d.ts.map +1 -0
- package/dist/plugins/sdk/json/safety.js +42 -0
- package/dist/plugins/sdk/json/safety.js.map +1 -0
- package/dist/plugins/sdk/json/schema.d.ts +1 -1
- package/dist/plugins/sdk/json/schema.d.ts.map +1 -1
- package/dist/plugins/sdk/json/types.d.ts +6 -0
- package/dist/plugins/sdk/json/types.d.ts.map +1 -0
- package/dist/plugins/sdk/json/types.js +3 -0
- package/dist/plugins/sdk/json/types.js.map +1 -0
- package/dist/plugins/sdk/nodes/index.d.ts.map +1 -1
- package/dist/plugins/sdk/nodes/index.js +4 -4
- package/dist/plugins/sdk/nodes/index.js.map +1 -1
- package/dist/plugins/sdk/plugin/index.d.ts +3 -3
- package/dist/plugins/sdk/plugin/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin/index.js +1 -1
- package/dist/plugins/sdk/plugin/index.js.map +1 -1
- package/dist/plugins/sdk/plugin.d.ts +1 -1
- package/dist/plugins/sdk/plugin.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin.js +5 -4
- package/dist/plugins/sdk/plugin.js.map +1 -1
- package/dist/plugins/sdk/plugin.types.d.ts +3 -3
- package/dist/plugins/sdk/plugin.types.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.d.ts +5 -5
- package/dist/plugins/sdk/plugins/define/node.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.js +1 -1
- package/dist/plugins/sdk/plugins/define/node.js.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.d.ts +4 -4
- package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.js +1 -1
- package/dist/plugins/sdk/plugins/define-node.js.map +1 -1
- package/dist/plugins/sdk/plugins/index.d.ts +14 -14
- package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +14 -14
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/dist/plugins/sdk/plugins/types.d.ts +2 -2
- package/dist/plugins/sdk/plugins/types.d.ts.map +1 -1
- package/dist/plugins/sdk/project/index.d.ts +3 -3
- package/dist/plugins/sdk/project/index.d.ts.map +1 -1
- package/dist/plugins/sdk/project/index.js +1 -1
- package/dist/plugins/sdk/project/index.js.map +1 -1
- package/dist/plugins/sdk/runner.d.ts +0 -1
- package/dist/plugins/sdk/runner.d.ts.map +1 -1
- package/dist/plugins/sdk/runner.js +14 -46
- package/dist/plugins/sdk/runner.js.map +1 -1
- package/dist/plugins/sdk/types.d.ts +1 -1
- package/dist/plugins/sdk/types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -38,9 +38,9 @@ export declare const InvocationContext: z.ZodObject<{
|
|
|
38
38
|
env?: string | undefined;
|
|
39
39
|
deadlineMs?: number | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
config?: Record<string, unknown> | undefined;
|
|
42
41
|
runId?: string | undefined;
|
|
43
42
|
env?: string | undefined;
|
|
43
|
+
config?: Record<string, unknown> | undefined;
|
|
44
44
|
attempt?: number | undefined;
|
|
45
45
|
deadlineMs?: number | undefined;
|
|
46
46
|
}>;
|
|
@@ -66,9 +66,9 @@ export declare const InvokeRequest: z.ZodObject<{
|
|
|
66
66
|
env?: string | undefined;
|
|
67
67
|
deadlineMs?: number | undefined;
|
|
68
68
|
}, {
|
|
69
|
-
config?: Record<string, unknown> | undefined;
|
|
70
69
|
runId?: string | undefined;
|
|
71
70
|
env?: string | undefined;
|
|
71
|
+
config?: Record<string, unknown> | undefined;
|
|
72
72
|
attempt?: number | undefined;
|
|
73
73
|
deadlineMs?: number | undefined;
|
|
74
74
|
}>>;
|
|
@@ -92,9 +92,9 @@ export declare const InvokeRequest: z.ZodObject<{
|
|
|
92
92
|
node?: string | undefined;
|
|
93
93
|
inputs?: unknown;
|
|
94
94
|
context?: {
|
|
95
|
-
config?: Record<string, unknown> | undefined;
|
|
96
95
|
runId?: string | undefined;
|
|
97
96
|
env?: string | undefined;
|
|
97
|
+
config?: Record<string, unknown> | undefined;
|
|
98
98
|
attempt?: number | undefined;
|
|
99
99
|
deadlineMs?: number | undefined;
|
|
100
100
|
} | undefined;
|
|
@@ -143,9 +143,9 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
143
143
|
env?: string | undefined;
|
|
144
144
|
deadlineMs?: number | undefined;
|
|
145
145
|
}, {
|
|
146
|
-
config?: Record<string, unknown> | undefined;
|
|
147
146
|
runId?: string | undefined;
|
|
148
147
|
env?: string | undefined;
|
|
148
|
+
config?: Record<string, unknown> | undefined;
|
|
149
149
|
attempt?: number | undefined;
|
|
150
150
|
deadlineMs?: number | undefined;
|
|
151
151
|
}>>;
|
|
@@ -169,9 +169,9 @@ export declare const RequestEnvelope: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
169
169
|
node?: string | undefined;
|
|
170
170
|
inputs?: unknown;
|
|
171
171
|
context?: {
|
|
172
|
-
config?: Record<string, unknown> | undefined;
|
|
173
172
|
runId?: string | undefined;
|
|
174
173
|
env?: string | undefined;
|
|
174
|
+
config?: Record<string, unknown> | undefined;
|
|
175
175
|
attempt?: number | undefined;
|
|
176
176
|
deadlineMs?: number | undefined;
|
|
177
177
|
} | undefined;
|
|
@@ -200,13 +200,13 @@ export declare const NodeError: z.ZodObject<{
|
|
|
200
200
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
201
201
|
stack: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
203
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
204
204
|
message: string;
|
|
205
205
|
retryable: boolean;
|
|
206
206
|
details?: unknown;
|
|
207
207
|
stack?: string | undefined;
|
|
208
208
|
}, {
|
|
209
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
209
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
210
210
|
message: string;
|
|
211
211
|
retryable?: boolean | undefined;
|
|
212
212
|
details?: unknown;
|
|
@@ -244,13 +244,13 @@ declare const ResultErr: z.ZodObject<{
|
|
|
244
244
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
245
245
|
stack: z.ZodOptional<z.ZodString>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
247
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
248
248
|
message: string;
|
|
249
249
|
retryable: boolean;
|
|
250
250
|
details?: unknown;
|
|
251
251
|
stack?: string | undefined;
|
|
252
252
|
}, {
|
|
253
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
253
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
254
254
|
message: string;
|
|
255
255
|
retryable?: boolean | undefined;
|
|
256
256
|
details?: unknown;
|
|
@@ -258,7 +258,7 @@ declare const ResultErr: z.ZodObject<{
|
|
|
258
258
|
}>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
error: {
|
|
261
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
261
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
262
262
|
message: string;
|
|
263
263
|
retryable: boolean;
|
|
264
264
|
details?: unknown;
|
|
@@ -270,7 +270,7 @@ declare const ResultErr: z.ZodObject<{
|
|
|
270
270
|
invocationId: string;
|
|
271
271
|
}, {
|
|
272
272
|
error: {
|
|
273
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
273
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
274
274
|
message: string;
|
|
275
275
|
retryable?: boolean | undefined;
|
|
276
276
|
details?: unknown;
|
|
@@ -312,13 +312,13 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
|
|
|
312
312
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
313
313
|
stack: z.ZodOptional<z.ZodString>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
315
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
316
316
|
message: string;
|
|
317
317
|
retryable: boolean;
|
|
318
318
|
details?: unknown;
|
|
319
319
|
stack?: string | undefined;
|
|
320
320
|
}, {
|
|
321
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
321
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
322
322
|
message: string;
|
|
323
323
|
retryable?: boolean | undefined;
|
|
324
324
|
details?: unknown;
|
|
@@ -326,7 +326,7 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
|
|
|
326
326
|
}>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
error: {
|
|
329
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
329
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
330
330
|
message: string;
|
|
331
331
|
retryable: boolean;
|
|
332
332
|
details?: unknown;
|
|
@@ -338,7 +338,7 @@ export declare const ResultEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodObj
|
|
|
338
338
|
invocationId: string;
|
|
339
339
|
}, {
|
|
340
340
|
error: {
|
|
341
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
341
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
342
342
|
message: string;
|
|
343
343
|
retryable?: boolean | undefined;
|
|
344
344
|
details?: unknown;
|
|
@@ -377,7 +377,7 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
377
377
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
378
378
|
setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
379
379
|
/** 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>]>>;
|
|
380
|
+
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
381
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
382
382
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
383
383
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -420,7 +420,6 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
420
420
|
id: string;
|
|
421
421
|
language: string;
|
|
422
422
|
symbol?: string | undefined;
|
|
423
|
-
config?: Record<string, unknown> | undefined;
|
|
424
423
|
service?: {
|
|
425
424
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
426
425
|
methods: {
|
|
@@ -433,17 +432,17 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
433
432
|
label?: string | undefined;
|
|
434
433
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
435
434
|
workflowId?: string | undefined;
|
|
435
|
+
icon?: string | undefined;
|
|
436
|
+
config?: Record<string, unknown> | undefined;
|
|
436
437
|
inputs?: Record<string, unknown> | undefined;
|
|
437
438
|
outputs?: Record<string, unknown> | undefined;
|
|
438
439
|
description?: string | undefined;
|
|
439
440
|
defaults?: Record<string, unknown> | undefined;
|
|
440
441
|
setup?: Record<string, unknown> | undefined;
|
|
441
|
-
icon?: string | undefined;
|
|
442
442
|
}, {
|
|
443
443
|
id: string;
|
|
444
444
|
language: string;
|
|
445
445
|
symbol?: string | undefined;
|
|
446
|
-
config?: Record<string, unknown> | undefined;
|
|
447
446
|
service?: {
|
|
448
447
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
449
448
|
methods: {
|
|
@@ -456,12 +455,13 @@ export declare const NodeManifest: z.ZodObject<{
|
|
|
456
455
|
label?: string | undefined;
|
|
457
456
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
458
457
|
workflowId?: string | undefined;
|
|
458
|
+
icon?: string | undefined;
|
|
459
|
+
config?: Record<string, unknown> | undefined;
|
|
459
460
|
inputs?: Record<string, unknown> | undefined;
|
|
460
461
|
outputs?: Record<string, unknown> | undefined;
|
|
461
462
|
description?: string | undefined;
|
|
462
463
|
defaults?: Record<string, unknown> | undefined;
|
|
463
464
|
setup?: Record<string, unknown> | undefined;
|
|
464
|
-
icon?: string | undefined;
|
|
465
465
|
}>;
|
|
466
466
|
export type NodeManifest = z.infer<typeof NodeManifest>;
|
|
467
467
|
declare const ManifestOk: z.ZodObject<{
|
|
@@ -489,7 +489,7 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
489
489
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
490
490
|
setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
491
491
|
/** 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>]>>;
|
|
492
|
+
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
493
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
494
494
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
495
495
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -532,7 +532,6 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
532
532
|
id: string;
|
|
533
533
|
language: string;
|
|
534
534
|
symbol?: string | undefined;
|
|
535
|
-
config?: Record<string, unknown> | undefined;
|
|
536
535
|
service?: {
|
|
537
536
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
538
537
|
methods: {
|
|
@@ -545,17 +544,17 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
545
544
|
label?: string | undefined;
|
|
546
545
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
547
546
|
workflowId?: string | undefined;
|
|
547
|
+
icon?: string | undefined;
|
|
548
|
+
config?: Record<string, unknown> | undefined;
|
|
548
549
|
inputs?: Record<string, unknown> | undefined;
|
|
549
550
|
outputs?: Record<string, unknown> | undefined;
|
|
550
551
|
description?: string | undefined;
|
|
551
552
|
defaults?: Record<string, unknown> | undefined;
|
|
552
553
|
setup?: Record<string, unknown> | undefined;
|
|
553
|
-
icon?: string | undefined;
|
|
554
554
|
}, {
|
|
555
555
|
id: string;
|
|
556
556
|
language: string;
|
|
557
557
|
symbol?: string | undefined;
|
|
558
|
-
config?: Record<string, unknown> | undefined;
|
|
559
558
|
service?: {
|
|
560
559
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
561
560
|
methods: {
|
|
@@ -568,12 +567,13 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
568
567
|
label?: string | undefined;
|
|
569
568
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
570
569
|
workflowId?: string | undefined;
|
|
570
|
+
icon?: string | undefined;
|
|
571
|
+
config?: Record<string, unknown> | undefined;
|
|
571
572
|
inputs?: Record<string, unknown> | undefined;
|
|
572
573
|
outputs?: Record<string, unknown> | undefined;
|
|
573
574
|
description?: string | undefined;
|
|
574
575
|
defaults?: Record<string, unknown> | undefined;
|
|
575
576
|
setup?: Record<string, unknown> | undefined;
|
|
576
|
-
icon?: string | undefined;
|
|
577
577
|
}>;
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
579
|
type: "manifest";
|
|
@@ -584,7 +584,6 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
584
584
|
id: string;
|
|
585
585
|
language: string;
|
|
586
586
|
symbol?: string | undefined;
|
|
587
|
-
config?: Record<string, unknown> | undefined;
|
|
588
587
|
service?: {
|
|
589
588
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
590
589
|
methods: {
|
|
@@ -597,12 +596,13 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
597
596
|
label?: string | undefined;
|
|
598
597
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
599
598
|
workflowId?: string | undefined;
|
|
599
|
+
icon?: string | undefined;
|
|
600
|
+
config?: Record<string, unknown> | undefined;
|
|
600
601
|
inputs?: Record<string, unknown> | undefined;
|
|
601
602
|
outputs?: Record<string, unknown> | undefined;
|
|
602
603
|
description?: string | undefined;
|
|
603
604
|
defaults?: Record<string, unknown> | undefined;
|
|
604
605
|
setup?: Record<string, unknown> | undefined;
|
|
605
|
-
icon?: string | undefined;
|
|
606
606
|
};
|
|
607
607
|
}, {
|
|
608
608
|
type: "manifest";
|
|
@@ -613,7 +613,6 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
613
613
|
id: string;
|
|
614
614
|
language: string;
|
|
615
615
|
symbol?: string | undefined;
|
|
616
|
-
config?: Record<string, unknown> | undefined;
|
|
617
616
|
service?: {
|
|
618
617
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
619
618
|
methods: {
|
|
@@ -626,12 +625,13 @@ declare const ManifestOk: z.ZodObject<{
|
|
|
626
625
|
label?: string | undefined;
|
|
627
626
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
628
627
|
workflowId?: string | undefined;
|
|
628
|
+
icon?: string | undefined;
|
|
629
|
+
config?: Record<string, unknown> | undefined;
|
|
629
630
|
inputs?: Record<string, unknown> | undefined;
|
|
630
631
|
outputs?: Record<string, unknown> | undefined;
|
|
631
632
|
description?: string | undefined;
|
|
632
633
|
defaults?: Record<string, unknown> | undefined;
|
|
633
634
|
setup?: Record<string, unknown> | undefined;
|
|
634
|
-
icon?: string | undefined;
|
|
635
635
|
};
|
|
636
636
|
}>;
|
|
637
637
|
declare const ManifestErr: z.ZodObject<{
|
|
@@ -646,13 +646,13 @@ declare const ManifestErr: z.ZodObject<{
|
|
|
646
646
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
647
647
|
stack: z.ZodOptional<z.ZodString>;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
649
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
650
650
|
message: string;
|
|
651
651
|
retryable: boolean;
|
|
652
652
|
details?: unknown;
|
|
653
653
|
stack?: string | undefined;
|
|
654
654
|
}, {
|
|
655
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
655
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
656
656
|
message: string;
|
|
657
657
|
retryable?: boolean | undefined;
|
|
658
658
|
details?: unknown;
|
|
@@ -660,7 +660,7 @@ declare const ManifestErr: z.ZodObject<{
|
|
|
660
660
|
}>;
|
|
661
661
|
}, "strip", z.ZodTypeAny, {
|
|
662
662
|
error: {
|
|
663
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
663
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
664
664
|
message: string;
|
|
665
665
|
retryable: boolean;
|
|
666
666
|
details?: unknown;
|
|
@@ -672,7 +672,7 @@ declare const ManifestErr: z.ZodObject<{
|
|
|
672
672
|
invocationId: string;
|
|
673
673
|
}, {
|
|
674
674
|
error: {
|
|
675
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
675
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
676
676
|
message: string;
|
|
677
677
|
retryable?: boolean | undefined;
|
|
678
678
|
details?: unknown;
|
|
@@ -709,7 +709,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
709
709
|
/** Setup params for non-function kinds (constructor/config shape). */
|
|
710
710
|
setup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
711
711
|
/** 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>]>>;
|
|
712
|
+
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
713
|
/** Advisory default config — a one-time seed; config owns it thereafter. */
|
|
714
714
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
715
715
|
/** Explicit service exposure. Plain classes never populate this field. */
|
|
@@ -752,7 +752,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
752
752
|
id: string;
|
|
753
753
|
language: string;
|
|
754
754
|
symbol?: string | undefined;
|
|
755
|
-
config?: Record<string, unknown> | undefined;
|
|
756
755
|
service?: {
|
|
757
756
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
758
757
|
methods: {
|
|
@@ -765,17 +764,17 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
765
764
|
label?: string | undefined;
|
|
766
765
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
767
766
|
workflowId?: string | undefined;
|
|
767
|
+
icon?: string | undefined;
|
|
768
|
+
config?: Record<string, unknown> | undefined;
|
|
768
769
|
inputs?: Record<string, unknown> | undefined;
|
|
769
770
|
outputs?: Record<string, unknown> | undefined;
|
|
770
771
|
description?: string | undefined;
|
|
771
772
|
defaults?: Record<string, unknown> | undefined;
|
|
772
773
|
setup?: Record<string, unknown> | undefined;
|
|
773
|
-
icon?: string | undefined;
|
|
774
774
|
}, {
|
|
775
775
|
id: string;
|
|
776
776
|
language: string;
|
|
777
777
|
symbol?: string | undefined;
|
|
778
|
-
config?: Record<string, unknown> | undefined;
|
|
779
778
|
service?: {
|
|
780
779
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
781
780
|
methods: {
|
|
@@ -788,12 +787,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
788
787
|
label?: string | undefined;
|
|
789
788
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
790
789
|
workflowId?: string | undefined;
|
|
790
|
+
icon?: string | undefined;
|
|
791
|
+
config?: Record<string, unknown> | undefined;
|
|
791
792
|
inputs?: Record<string, unknown> | undefined;
|
|
792
793
|
outputs?: Record<string, unknown> | undefined;
|
|
793
794
|
description?: string | undefined;
|
|
794
795
|
defaults?: Record<string, unknown> | undefined;
|
|
795
796
|
setup?: Record<string, unknown> | undefined;
|
|
796
|
-
icon?: string | undefined;
|
|
797
797
|
}>;
|
|
798
798
|
}, "strip", z.ZodTypeAny, {
|
|
799
799
|
type: "manifest";
|
|
@@ -804,7 +804,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
804
804
|
id: string;
|
|
805
805
|
language: string;
|
|
806
806
|
symbol?: string | undefined;
|
|
807
|
-
config?: Record<string, unknown> | undefined;
|
|
808
807
|
service?: {
|
|
809
808
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
810
809
|
methods: {
|
|
@@ -817,12 +816,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
817
816
|
label?: string | undefined;
|
|
818
817
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
819
818
|
workflowId?: string | undefined;
|
|
819
|
+
icon?: string | undefined;
|
|
820
|
+
config?: Record<string, unknown> | undefined;
|
|
820
821
|
inputs?: Record<string, unknown> | undefined;
|
|
821
822
|
outputs?: Record<string, unknown> | undefined;
|
|
822
823
|
description?: string | undefined;
|
|
823
824
|
defaults?: Record<string, unknown> | undefined;
|
|
824
825
|
setup?: Record<string, unknown> | undefined;
|
|
825
|
-
icon?: string | undefined;
|
|
826
826
|
};
|
|
827
827
|
}, {
|
|
828
828
|
type: "manifest";
|
|
@@ -833,7 +833,6 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
833
833
|
id: string;
|
|
834
834
|
language: string;
|
|
835
835
|
symbol?: string | undefined;
|
|
836
|
-
config?: Record<string, unknown> | undefined;
|
|
837
836
|
service?: {
|
|
838
837
|
lifecycle: "invocation" | "workflow-run" | "worker";
|
|
839
838
|
methods: {
|
|
@@ -846,12 +845,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
846
845
|
label?: string | undefined;
|
|
847
846
|
kind?: "function" | "class" | "service" | "const" | undefined;
|
|
848
847
|
workflowId?: string | undefined;
|
|
848
|
+
icon?: string | undefined;
|
|
849
|
+
config?: Record<string, unknown> | undefined;
|
|
849
850
|
inputs?: Record<string, unknown> | undefined;
|
|
850
851
|
outputs?: Record<string, unknown> | undefined;
|
|
851
852
|
description?: string | undefined;
|
|
852
853
|
defaults?: Record<string, unknown> | undefined;
|
|
853
854
|
setup?: Record<string, unknown> | undefined;
|
|
854
|
-
icon?: string | undefined;
|
|
855
855
|
};
|
|
856
856
|
}>, z.ZodObject<{
|
|
857
857
|
octonode: z.ZodLiteral<"1">;
|
|
@@ -865,13 +865,13 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
865
865
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
866
866
|
stack: z.ZodOptional<z.ZodString>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
868
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
869
869
|
message: string;
|
|
870
870
|
retryable: boolean;
|
|
871
871
|
details?: unknown;
|
|
872
872
|
stack?: string | undefined;
|
|
873
873
|
}, {
|
|
874
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
874
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
875
875
|
message: string;
|
|
876
876
|
retryable?: boolean | undefined;
|
|
877
877
|
details?: unknown;
|
|
@@ -879,7 +879,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
879
879
|
}>;
|
|
880
880
|
}, "strip", z.ZodTypeAny, {
|
|
881
881
|
error: {
|
|
882
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
882
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
883
883
|
message: string;
|
|
884
884
|
retryable: boolean;
|
|
885
885
|
details?: unknown;
|
|
@@ -891,7 +891,7 @@ export declare const ManifestEnvelope: z.ZodDiscriminatedUnion<"status", [z.ZodO
|
|
|
891
891
|
invocationId: string;
|
|
892
892
|
}, {
|
|
893
893
|
error: {
|
|
894
|
-
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "
|
|
894
|
+
code: "VALIDATION_ERROR" | "RUNTIME_ERROR" | "NON_RETRYABLE" | "TIMEOUT";
|
|
895
895
|
message: string;
|
|
896
896
|
retryable?: boolean | undefined;
|
|
897
897
|
details?: unknown;
|
|
@@ -9,7 +9,7 @@ exports.makeManifestResult = makeManifestResult;
|
|
|
9
9
|
exports.makeManifestError = makeManifestError;
|
|
10
10
|
// Generated from packages/schema/src/ipc-envelope.ts. Do not edit; run the Octonode SDK sync.
|
|
11
11
|
const zod_1 = require("zod");
|
|
12
|
-
const icons_1 = require("./icons");
|
|
12
|
+
const icons_1 = require("./icons.js");
|
|
13
13
|
/**
|
|
14
14
|
* The IPC protocol version. Every envelope carries this in its `octonode`
|
|
15
15
|
* field so the wire format can evolve without ambiguity. Bump only on a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipc-envelope.js","sourceRoot":"","sources":["../../../src/plugins/schema/ipc-envelope.ts"],"names":[],"mappings":";;;AAuLA,8CAcC;AAED,kDAOC;AAED,oCAQC;AAED,0CAQC;AAED,gDAQC;AAED,8CAQC;AAtPD,8FAA8F;AAC9F,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"ipc-envelope.js","sourceRoot":"","sources":["../../../src/plugins/schema/ipc-envelope.ts"],"names":[],"mappings":";;;AAuLA,8CAcC;AAED,kDAOC;AAED,oCAQC;AAED,0CAQC;AAED,gDAQC;AAED,8CAQC;AAtPD,8FAA8F;AAC9F,6BAAwB;AACxB,sCAAoC;AAEpC;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,GAAY,CAAC;AAE7C;;;;;GAKG;AACU,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAGhD;;;;GAIG;AACU,QAAA,SAAS,GAAG,OAAC,CAAC,IAAI,CAAC;IAC9B,kBAAkB,EAAE,0CAA0C;IAC9D,eAAe,EAAE,8CAA8C;IAC/D,SAAS,EAAE,iCAAiC;IAC5C,eAAe,EAAE,iDAAiD;CACnE,CAAC,CAAC;AAGH;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,GAAG,EAAE,OAAC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es: number;
|
|
5
|
+
artifactBytes: number;
|
|
6
|
+
uploadBytes: number;
|
|
7
|
+
archiveBytes: number;
|
|
8
|
+
receipts: number;
|
|
9
|
+
pendingEvents: number;
|
|
10
|
+
eventBatchSize: number;
|
|
11
|
+
eventBatchBytes: number;
|
|
12
|
+
storedBytes: number;
|
|
13
|
+
receiptRetentionMs: number;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,0BAA0B,QAAa,CAAC;AAErD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;CAYjC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PLUGIN_LIBRARY_LIMITS = exports.PLUGIN_UI_BUNDLE_MAX_BYTES = void 0;
|
|
4
|
+
// Generated from packages/schema/src/plugin/constants.ts. Do not edit; run the Octonode SDK sync.
|
|
5
|
+
exports.PLUGIN_UI_BUNDLE_MAX_BYTES = 512 * 1024;
|
|
6
|
+
exports.PLUGIN_LIBRARY_LIMITS = {
|
|
7
|
+
entries: 1000,
|
|
8
|
+
snapshotBytes: 4 * 1024 * 1024,
|
|
9
|
+
artifactBytes: 16 * 1024 * 1024,
|
|
10
|
+
uploadBytes: 17 * 1024 * 1024,
|
|
11
|
+
archiveBytes: 16 * 1024 * 1024,
|
|
12
|
+
receipts: 4096,
|
|
13
|
+
pendingEvents: 100,
|
|
14
|
+
eventBatchSize: 20,
|
|
15
|
+
eventBatchBytes: 8 * 1024 * 1024,
|
|
16
|
+
storedBytes: 64 * 1024 * 1024,
|
|
17
|
+
receiptRetentionMs: 7 * 24 * 60 * 60 * 1000,
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/constants.ts"],"names":[],"mappings":";;;AAAA,kGAAkG;AACrF,QAAA,0BAA0B,GAAG,GAAG,GAAG,IAAI,CAAC;AAExC,QAAA,qBAAqB,GAAG;IACnC,OAAO,EAAE,IAAI;IACb,aAAa,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI;IAC9B,aAAa,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI;IAC/B,WAAW,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI;IAC7B,YAAY,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI;IAC9B,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,EAAE;IAClB,eAAe,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI;IAChC,WAAW,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI;IAC7B,kBAAkB,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI;CAC5C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PluginManifest } from "./plugin.js";
|
|
3
|
+
/** Display names only; definitions and runtime artifacts are stored separately. */
|
|
4
|
+
export declare const PluginContents: z.ZodObject<{
|
|
5
|
+
types: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
services: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
constants: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
classes: z.ZodArray<z.ZodString, "many">;
|
|
9
|
+
}, "strict", z.ZodTypeAny, {
|
|
10
|
+
classes: string[];
|
|
11
|
+
types: string[];
|
|
12
|
+
services: string[];
|
|
13
|
+
constants: string[];
|
|
14
|
+
}, {
|
|
15
|
+
classes: string[];
|
|
16
|
+
types: string[];
|
|
17
|
+
services: string[];
|
|
18
|
+
constants: string[];
|
|
19
|
+
}>;
|
|
20
|
+
/** Older npm releases keep their inventory in SDK contracts instead of contents. */
|
|
21
|
+
export declare function pluginContents(manifest: Pick<PluginManifest, "contents" | "clients" | "sdkExports">): {
|
|
22
|
+
classes: string[];
|
|
23
|
+
types: string[];
|
|
24
|
+
services: string[];
|
|
25
|
+
constants: string[];
|
|
26
|
+
} | undefined;
|
|
27
|
+
//# sourceMappingURL=contents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contents.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/contents.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAiB;AAE/C,mFAAmF;AACnF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAOhB,CAAC;AAEZ,oFAAoF;AACpF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;;;;;cAsBnG"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PluginContents = void 0;
|
|
4
|
+
exports.pluginContents = pluginContents;
|
|
5
|
+
// Generated from packages/schema/src/plugin/contents.ts. Do not edit; run the Octonode SDK sync.
|
|
6
|
+
const zod_1 = require("zod");
|
|
7
|
+
/** Display names only; definitions and runtime artifacts are stored separately. */
|
|
8
|
+
exports.PluginContents = zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
types: zod_1.z.array(zod_1.z.string().min(1).max(240)).max(10000),
|
|
11
|
+
services: zod_1.z.array(zod_1.z.string().min(1).max(240)).max(10000),
|
|
12
|
+
constants: zod_1.z.array(zod_1.z.string().min(1).max(240)).max(10000),
|
|
13
|
+
classes: zod_1.z.array(zod_1.z.string().min(1).max(240)).max(10000),
|
|
14
|
+
})
|
|
15
|
+
.strict();
|
|
16
|
+
/** Older npm releases keep their inventory in SDK contracts instead of contents. */
|
|
17
|
+
function pluginContents(manifest) {
|
|
18
|
+
if (manifest.contents)
|
|
19
|
+
return manifest.contents;
|
|
20
|
+
if (!manifest.sdkExports && !manifest.clients)
|
|
21
|
+
return undefined;
|
|
22
|
+
const exports = manifest.sdkExports ?? [];
|
|
23
|
+
const clients = Object.values(manifest.clients ?? {});
|
|
24
|
+
return {
|
|
25
|
+
types: exports.filter((item) => item.kind === "type").map((item) => item.name),
|
|
26
|
+
services: [...new Set(clients.map((client) => client.export))],
|
|
27
|
+
constants: exports.filter((item) => item.kind === "constant").map((item) => item.name),
|
|
28
|
+
classes: [
|
|
29
|
+
...new Set([
|
|
30
|
+
...exports
|
|
31
|
+
.filter((item) => item.kind === "client" &&
|
|
32
|
+
!clients.some((client) => client.export === item.name && client.construction === "call"))
|
|
33
|
+
.map((item) => item.name),
|
|
34
|
+
...clients.filter((client) => client.construction === "new").map((client) => client.export),
|
|
35
|
+
]),
|
|
36
|
+
],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=contents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contents.js","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/contents.ts"],"names":[],"mappings":";;;AAeA,wCAsBC;AArCD,iGAAiG;AACjG,6BAAwB;AAGxB,mFAAmF;AACtE,QAAA,cAAc,GAAG,OAAC;KAC5B,MAAM,CAAC;IACN,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IACrD,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC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