@octonodes/sdk 0.2.6 → 0.2.7

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 (30) hide show
  1. package/dist/gen/index.d.ts +2 -2
  2. package/dist/gen/index.d.ts.map +1 -1
  3. package/dist/gen/index.js +3 -2
  4. package/dist/gen/index.js.map +1 -1
  5. package/dist/gen/sdk.gen.d.ts +9 -1
  6. package/dist/gen/sdk.gen.d.ts.map +1 -1
  7. package/dist/gen/sdk.gen.js +20 -2
  8. package/dist/gen/sdk.gen.js.map +1 -1
  9. package/dist/gen/types.gen.d.ts +67 -0
  10. package/dist/gen/types.gen.d.ts.map +1 -1
  11. package/dist/plugins/schema/plugin/execution.js +1 -1
  12. package/dist/plugins/schema/plugin/execution.js.map +1 -1
  13. package/dist/plugins/schema/plugin/plugin.d.ts +1131 -0
  14. package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -0
  15. package/dist/plugins/schema/plugin/plugin.js +247 -0
  16. package/dist/plugins/schema/plugin/plugin.js.map +1 -0
  17. package/dist/plugins/schema/plugin/publishing.d.ts +1019 -0
  18. package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -0
  19. package/dist/plugins/schema/plugin/publishing.js +167 -0
  20. package/dist/plugins/schema/plugin/publishing.js.map +1 -0
  21. package/dist/plugins/schema/plugin/version.d.ts +8 -0
  22. package/dist/plugins/schema/plugin/version.d.ts.map +1 -0
  23. package/dist/plugins/schema/plugin/version.js +61 -0
  24. package/dist/plugins/schema/plugin/version.js.map +1 -0
  25. package/dist/plugins/schema/plugin-publishing.d.ts +4 -4
  26. package/dist/plugins/schema/plugin-sdk/index.d.ts +3 -3
  27. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
  28. package/dist/plugins/schema/plugin-sdk/index.js +3 -3
  29. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
  30. package/package.json +1 -1
@@ -0,0 +1,1131 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * A plugin's distribution scope — who may discover and install it. `user` is
4
+ * private to its publisher in the hosted marketplace; group/org/public widen
5
+ * visibility. Local folder installs do not publish and remain local.
6
+ */
7
+ export declare const PluginScope: z.ZodEnum<["user", "group", "org", "public"]>;
8
+ export type PluginScope = z.infer<typeof PluginScope>;
9
+ export declare const PluginUiTarget: z.ZodEnum<["node.inspector.inputs"]>;
10
+ export type PluginUiTarget = z.infer<typeof PluginUiTarget>;
11
+ export declare const PLUGIN_UI_BUNDLE_MAX_BYTES: number;
12
+ export declare const PluginNodeUi: z.ZodObject<{
13
+ apiVersion: z.ZodLiteral<"1">;
14
+ renderers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
15
+ label: z.ZodString;
16
+ targets: z.ZodRecord<z.ZodEnum<["node.inspector.inputs"]>, z.ZodEffects<z.ZodString, string, string>>;
17
+ }, "strict", z.ZodTypeAny, {
18
+ label: string;
19
+ targets: Partial<Record<"node.inspector.inputs", string>>;
20
+ }, {
21
+ label: string;
22
+ targets: Partial<Record<"node.inspector.inputs", string>>;
23
+ }>>, Record<string, {
24
+ label: string;
25
+ targets: Partial<Record<"node.inspector.inputs", string>>;
26
+ }>, Record<string, {
27
+ label: string;
28
+ targets: Partial<Record<"node.inspector.inputs", string>>;
29
+ }>>;
30
+ }, "strict", z.ZodTypeAny, {
31
+ apiVersion: "1";
32
+ renderers: Record<string, {
33
+ label: string;
34
+ targets: Partial<Record<"node.inspector.inputs", string>>;
35
+ }>;
36
+ }, {
37
+ apiVersion: "1";
38
+ renderers: Record<string, {
39
+ label: string;
40
+ targets: Partial<Record<"node.inspector.inputs", string>>;
41
+ }>;
42
+ }>;
43
+ export type PluginNodeUi = z.infer<typeof PluginNodeUi>;
44
+ /**
45
+ * Scopes supported by the hosted marketplace.
46
+ */
47
+ export type MarketplaceScope = PluginScope;
48
+ /** Build an upstream SDK client from connection fields, never from public node inputs. */
49
+ export declare const NpmClientBinding: z.ZodObject<{
50
+ module: z.ZodEffects<z.ZodString, string, string>;
51
+ export: z.ZodString;
52
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
53
+ env: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
54
+ }, "strict", z.ZodTypeAny, {
55
+ module: string;
56
+ export: string;
57
+ options?: Record<string, unknown> | undefined;
58
+ env?: Record<string, string> | undefined;
59
+ }, {
60
+ module: string;
61
+ export: string;
62
+ options?: Record<string, unknown> | undefined;
63
+ env?: Record<string, string> | undefined;
64
+ }>;
65
+ export type NpmClientBinding = z.infer<typeof NpmClientBinding>;
66
+ export declare const PluginImplementationSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
67
+ kind: z.ZodLiteral<"plugin">;
68
+ }, "strict", z.ZodTypeAny, {
69
+ kind: "plugin";
70
+ }, {
71
+ kind: "plugin";
72
+ }>, z.ZodObject<{
73
+ kind: z.ZodLiteral<"npm">;
74
+ package: z.ZodString;
75
+ version: z.ZodString;
76
+ }, "strict", z.ZodTypeAny, {
77
+ package: string;
78
+ kind: "npm";
79
+ version: string;
80
+ }, {
81
+ package: string;
82
+ kind: "npm";
83
+ version: string;
84
+ }>]>;
85
+ export type PluginImplementationSource = z.infer<typeof PluginImplementationSource>;
86
+ export declare const PluginNpmDependency: z.ZodObject<{
87
+ package: z.ZodString;
88
+ version: z.ZodString;
89
+ spec: z.ZodString;
90
+ }, "strict", z.ZodTypeAny, {
91
+ package: string;
92
+ version: string;
93
+ spec: string;
94
+ }, {
95
+ package: string;
96
+ version: string;
97
+ spec: string;
98
+ }>;
99
+ /**
100
+ * One node contributed by a plugin. Unlike a project node (whose signature is
101
+ * discovered by `octonode scan`), a plugin node declares its contract directly
102
+ * in the manifest — the plugin author owns it. `command` is resolved relative
103
+ * to the plugin folder, so a plugin is a self-contained, relocatable bundle.
104
+ */
105
+ export declare const PluginNode: z.ZodObject<{
106
+ id: z.ZodString;
107
+ /** The command the engine spawns, relative to the plugin folder. */
108
+ command: z.ZodString;
109
+ language: z.ZodOptional<z.ZodString>;
110
+ label: z.ZodOptional<z.ZodString>;
111
+ symbol: z.ZodOptional<z.ZodString>;
112
+ description: z.ZodOptional<z.ZodString>;
113
+ icon: z.ZodOptional<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"]>>;
114
+ trigger: z.ZodOptional<z.ZodBoolean>;
115
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
116
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
117
+ /** Names of environment variables / secrets this node expects to be injected. */
118
+ env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
119
+ connections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
120
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
121
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
122
+ module: z.ZodEffects<z.ZodString, string, string>;
123
+ export: z.ZodString;
124
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
125
+ env: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
126
+ }, "strict", z.ZodTypeAny, {
127
+ module: string;
128
+ export: string;
129
+ options?: Record<string, unknown> | undefined;
130
+ env?: Record<string, string> | undefined;
131
+ }, {
132
+ module: string;
133
+ export: string;
134
+ options?: Record<string, unknown> | undefined;
135
+ env?: Record<string, string> | undefined;
136
+ }>>>;
137
+ ui: z.ZodOptional<z.ZodObject<{
138
+ apiVersion: z.ZodLiteral<"1">;
139
+ renderers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
140
+ label: z.ZodString;
141
+ targets: z.ZodRecord<z.ZodEnum<["node.inspector.inputs"]>, z.ZodEffects<z.ZodString, string, string>>;
142
+ }, "strict", z.ZodTypeAny, {
143
+ label: string;
144
+ targets: Partial<Record<"node.inspector.inputs", string>>;
145
+ }, {
146
+ label: string;
147
+ targets: Partial<Record<"node.inspector.inputs", string>>;
148
+ }>>, Record<string, {
149
+ label: string;
150
+ targets: Partial<Record<"node.inspector.inputs", string>>;
151
+ }>, Record<string, {
152
+ label: string;
153
+ targets: Partial<Record<"node.inspector.inputs", string>>;
154
+ }>>;
155
+ }, "strict", z.ZodTypeAny, {
156
+ apiVersion: "1";
157
+ renderers: Record<string, {
158
+ label: string;
159
+ targets: Partial<Record<"node.inspector.inputs", string>>;
160
+ }>;
161
+ }, {
162
+ apiVersion: "1";
163
+ renderers: Record<string, {
164
+ label: string;
165
+ targets: Partial<Record<"node.inspector.inputs", string>>;
166
+ }>;
167
+ }>>;
168
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
169
+ kind: z.ZodLiteral<"plugin">;
170
+ }, "strict", z.ZodTypeAny, {
171
+ kind: "plugin";
172
+ }, {
173
+ kind: "plugin";
174
+ }>, z.ZodObject<{
175
+ kind: z.ZodLiteral<"npm">;
176
+ package: z.ZodString;
177
+ version: z.ZodString;
178
+ }, "strict", z.ZodTypeAny, {
179
+ package: string;
180
+ kind: "npm";
181
+ version: string;
182
+ }, {
183
+ package: string;
184
+ kind: "npm";
185
+ version: string;
186
+ }>]>>;
187
+ /** Explicit mapping to the library export; workflow adapters keep their own argument convention. */
188
+ libraryExport: z.ZodOptional<z.ZodString>;
189
+ /** Compiler-owned original import identity, never a presentation override. */
190
+ implementation: z.ZodOptional<z.ZodObject<{
191
+ module: z.ZodString;
192
+ export: z.ZodString;
193
+ parameters: z.ZodArray<z.ZodString, "many">;
194
+ }, "strict", z.ZodTypeAny, {
195
+ module: string;
196
+ parameters: string[];
197
+ export: string;
198
+ }, {
199
+ module: string;
200
+ parameters: string[];
201
+ export: string;
202
+ }>>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ id: string;
205
+ command: string;
206
+ symbol?: string | undefined;
207
+ label?: string | undefined;
208
+ source?: {
209
+ kind: "plugin";
210
+ } | {
211
+ package: string;
212
+ kind: "npm";
213
+ version: string;
214
+ } | undefined;
215
+ env?: string[] | undefined;
216
+ inputs?: Record<string, unknown> | undefined;
217
+ outputs?: Record<string, unknown> | undefined;
218
+ description?: string | undefined;
219
+ defaults?: Record<string, unknown> | undefined;
220
+ language?: string | undefined;
221
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
222
+ trigger?: boolean | undefined;
223
+ connections?: string[] | undefined;
224
+ bindings?: Record<string, {
225
+ module: string;
226
+ export: string;
227
+ options?: Record<string, unknown> | undefined;
228
+ env?: Record<string, string> | undefined;
229
+ }> | undefined;
230
+ ui?: {
231
+ apiVersion: "1";
232
+ renderers: Record<string, {
233
+ label: string;
234
+ targets: Partial<Record<"node.inspector.inputs", string>>;
235
+ }>;
236
+ } | undefined;
237
+ libraryExport?: string | undefined;
238
+ implementation?: {
239
+ module: string;
240
+ parameters: string[];
241
+ export: string;
242
+ } | undefined;
243
+ }, {
244
+ id: string;
245
+ command: string;
246
+ symbol?: string | undefined;
247
+ label?: string | undefined;
248
+ source?: {
249
+ kind: "plugin";
250
+ } | {
251
+ package: string;
252
+ kind: "npm";
253
+ version: string;
254
+ } | undefined;
255
+ env?: string[] | undefined;
256
+ inputs?: Record<string, unknown> | undefined;
257
+ outputs?: Record<string, unknown> | undefined;
258
+ description?: string | undefined;
259
+ defaults?: Record<string, unknown> | undefined;
260
+ language?: string | undefined;
261
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
262
+ trigger?: boolean | undefined;
263
+ connections?: string[] | undefined;
264
+ bindings?: Record<string, {
265
+ module: string;
266
+ export: string;
267
+ options?: Record<string, unknown> | undefined;
268
+ env?: Record<string, string> | undefined;
269
+ }> | undefined;
270
+ ui?: {
271
+ apiVersion: "1";
272
+ renderers: Record<string, {
273
+ label: string;
274
+ targets: Partial<Record<"node.inspector.inputs", string>>;
275
+ }>;
276
+ } | undefined;
277
+ libraryExport?: string | undefined;
278
+ implementation?: {
279
+ module: string;
280
+ parameters: string[];
281
+ export: string;
282
+ } | undefined;
283
+ }>;
284
+ export type PluginNode = z.infer<typeof PluginNode>;
285
+ /**
286
+ * A coarse capability the plugin needs at runtime. Shown on the install
287
+ * consent screen and enforced before a node is handed the resource.
288
+ */
289
+ export declare const PluginPermission: z.ZodObject<{
290
+ resource: z.ZodEnum<["project_data", "secrets", "network"]>;
291
+ access: z.ZodEnum<["read", "write", "outbound"]>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ resource: "project_data" | "secrets" | "network";
294
+ access: "read" | "write" | "outbound";
295
+ }, {
296
+ resource: "project_data" | "secrets" | "network";
297
+ access: "read" | "write" | "outbound";
298
+ }>;
299
+ export type PluginPermission = z.infer<typeof PluginPermission>;
300
+ /** Discovery/marketplace metadata (used by the Studio Marketplace in Phase 14). */
301
+ export declare const PluginIntegration: z.ZodObject<{
302
+ category: z.ZodOptional<z.ZodString>;
303
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
304
+ /** Secrets/env the integration needs to authenticate (e.g. ["JIRA_TOKEN"]). */
305
+ auth: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
306
+ /** Original npm dependency used by generated npm nodes. */
307
+ npm: z.ZodOptional<z.ZodObject<{
308
+ package: z.ZodString;
309
+ version: z.ZodString;
310
+ spec: z.ZodString;
311
+ }, "strict", z.ZodTypeAny, {
312
+ package: string;
313
+ version: string;
314
+ spec: string;
315
+ }, {
316
+ package: string;
317
+ version: string;
318
+ spec: string;
319
+ }>>;
320
+ npmDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
321
+ package: z.ZodString;
322
+ version: z.ZodString;
323
+ spec: z.ZodString;
324
+ }, "strict", z.ZodTypeAny, {
325
+ package: string;
326
+ version: string;
327
+ spec: string;
328
+ }, {
329
+ package: string;
330
+ version: string;
331
+ spec: string;
332
+ }>, "many">>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ tags: string[];
335
+ npm?: {
336
+ package: string;
337
+ version: string;
338
+ spec: string;
339
+ } | undefined;
340
+ auth?: string[] | undefined;
341
+ category?: string | undefined;
342
+ npmDependencies?: {
343
+ package: string;
344
+ version: string;
345
+ spec: string;
346
+ }[] | undefined;
347
+ }, {
348
+ npm?: {
349
+ package: string;
350
+ version: string;
351
+ spec: string;
352
+ } | undefined;
353
+ auth?: string[] | undefined;
354
+ category?: string | undefined;
355
+ tags?: string[] | undefined;
356
+ npmDependencies?: {
357
+ package: string;
358
+ version: string;
359
+ spec: string;
360
+ }[] | undefined;
361
+ }>;
362
+ export type PluginIntegration = z.infer<typeof PluginIntegration>;
363
+ /** Credential metadata only. Values are supplied by the installing user at runtime. */
364
+ export declare const PluginConnection: z.ZodObject<{
365
+ label: z.ZodString;
366
+ description: z.ZodOptional<z.ZodString>;
367
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
368
+ label: z.ZodString;
369
+ description: z.ZodOptional<z.ZodString>;
370
+ secret: z.ZodDefault<z.ZodBoolean>;
371
+ required: z.ZodDefault<z.ZodBoolean>;
372
+ }, "strict", z.ZodTypeAny, {
373
+ label: string;
374
+ required: boolean;
375
+ secret: boolean;
376
+ description?: string | undefined;
377
+ }, {
378
+ label: string;
379
+ description?: string | undefined;
380
+ required?: boolean | undefined;
381
+ secret?: boolean | undefined;
382
+ }>>;
383
+ }, "strict", z.ZodTypeAny, {
384
+ label: string;
385
+ fields: Record<string, {
386
+ label: string;
387
+ required: boolean;
388
+ secret: boolean;
389
+ description?: string | undefined;
390
+ }>;
391
+ description?: string | undefined;
392
+ }, {
393
+ label: string;
394
+ fields: Record<string, {
395
+ label: string;
396
+ description?: string | undefined;
397
+ required?: boolean | undefined;
398
+ secret?: boolean | undefined;
399
+ }>;
400
+ description?: string | undefined;
401
+ }>;
402
+ export type PluginConnection = z.infer<typeof PluginConnection>;
403
+ /** The shared plugin contract used by the SDK, generators, and marketplace. */
404
+ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
405
+ schemaVersion: z.ZodDefault<z.ZodString>;
406
+ /** Stable plugin id; namespaces its nodes as `<id>/<nodeId>`. */
407
+ id: z.ZodString;
408
+ name: z.ZodString;
409
+ version: z.ZodString;
410
+ description: z.ZodOptional<z.ZodString>;
411
+ /** Implementation authority; absent on legacy artifacts. */
412
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
413
+ kind: z.ZodLiteral<"plugin">;
414
+ }, "strict", z.ZodTypeAny, {
415
+ kind: "plugin";
416
+ }, {
417
+ kind: "plugin";
418
+ }>, z.ZodObject<{
419
+ kind: z.ZodLiteral<"npm">;
420
+ package: z.ZodString;
421
+ version: z.ZodString;
422
+ }, "strict", z.ZodTypeAny, {
423
+ package: string;
424
+ kind: "npm";
425
+ version: string;
426
+ }, {
427
+ package: string;
428
+ kind: "npm";
429
+ version: string;
430
+ }>]>>;
431
+ library: z.ZodOptional<z.ZodObject<{
432
+ format: z.ZodLiteral<1>;
433
+ entry: z.ZodLiteral<"library/index.js">;
434
+ types: z.ZodLiteral<"library/index.d.ts">;
435
+ exports: z.ZodArray<z.ZodString, "many">;
436
+ }, "strict", z.ZodTypeAny, {
437
+ entry: "library/index.js";
438
+ format: 1;
439
+ types: "library/index.d.ts";
440
+ exports: string[];
441
+ }, {
442
+ entry: "library/index.js";
443
+ format: 1;
444
+ types: "library/index.d.ts";
445
+ exports: string[];
446
+ }>>;
447
+ icon: z.ZodOptional<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"]>>;
448
+ author: z.ZodOptional<z.ZodString>;
449
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
450
+ repository: z.ZodOptional<z.ZodString>;
451
+ homepage: z.ZodOptional<z.ZodString>;
452
+ license: z.ZodOptional<z.ZodString>;
453
+ /** Distribution tiers this plugin may be discovered/installed from. Private by default. */
454
+ scope: z.ZodDefault<z.ZodArray<z.ZodEnum<["user", "group", "org", "public"]>, "many">>;
455
+ /** Coarse runtime capabilities the plugin requests; consented to at install. */
456
+ permissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
457
+ resource: z.ZodEnum<["project_data", "secrets", "network"]>;
458
+ access: z.ZodEnum<["read", "write", "outbound"]>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ resource: "project_data" | "secrets" | "network";
461
+ access: "read" | "write" | "outbound";
462
+ }, {
463
+ resource: "project_data" | "secrets" | "network";
464
+ access: "read" | "write" | "outbound";
465
+ }>, "many">>;
466
+ integration: z.ZodOptional<z.ZodObject<{
467
+ category: z.ZodOptional<z.ZodString>;
468
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
469
+ /** Secrets/env the integration needs to authenticate (e.g. ["JIRA_TOKEN"]). */
470
+ auth: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
471
+ /** Original npm dependency used by generated npm nodes. */
472
+ npm: z.ZodOptional<z.ZodObject<{
473
+ package: z.ZodString;
474
+ version: z.ZodString;
475
+ spec: z.ZodString;
476
+ }, "strict", z.ZodTypeAny, {
477
+ package: string;
478
+ version: string;
479
+ spec: string;
480
+ }, {
481
+ package: string;
482
+ version: string;
483
+ spec: string;
484
+ }>>;
485
+ npmDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
486
+ package: z.ZodString;
487
+ version: z.ZodString;
488
+ spec: z.ZodString;
489
+ }, "strict", z.ZodTypeAny, {
490
+ package: string;
491
+ version: string;
492
+ spec: string;
493
+ }, {
494
+ package: string;
495
+ version: string;
496
+ spec: string;
497
+ }>, "many">>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ tags: string[];
500
+ npm?: {
501
+ package: string;
502
+ version: string;
503
+ spec: string;
504
+ } | undefined;
505
+ auth?: string[] | undefined;
506
+ category?: string | undefined;
507
+ npmDependencies?: {
508
+ package: string;
509
+ version: string;
510
+ spec: string;
511
+ }[] | undefined;
512
+ }, {
513
+ npm?: {
514
+ package: string;
515
+ version: string;
516
+ spec: string;
517
+ } | undefined;
518
+ auth?: string[] | undefined;
519
+ category?: string | undefined;
520
+ tags?: string[] | undefined;
521
+ npmDependencies?: {
522
+ package: string;
523
+ version: string;
524
+ spec: string;
525
+ }[] | undefined;
526
+ }>>;
527
+ connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
528
+ label: z.ZodString;
529
+ description: z.ZodOptional<z.ZodString>;
530
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
531
+ label: z.ZodString;
532
+ description: z.ZodOptional<z.ZodString>;
533
+ secret: z.ZodDefault<z.ZodBoolean>;
534
+ required: z.ZodDefault<z.ZodBoolean>;
535
+ }, "strict", z.ZodTypeAny, {
536
+ label: string;
537
+ required: boolean;
538
+ secret: boolean;
539
+ description?: string | undefined;
540
+ }, {
541
+ label: string;
542
+ description?: string | undefined;
543
+ required?: boolean | undefined;
544
+ secret?: boolean | undefined;
545
+ }>>;
546
+ }, "strict", z.ZodTypeAny, {
547
+ label: string;
548
+ fields: Record<string, {
549
+ label: string;
550
+ required: boolean;
551
+ secret: boolean;
552
+ description?: string | undefined;
553
+ }>;
554
+ description?: string | undefined;
555
+ }, {
556
+ label: string;
557
+ fields: Record<string, {
558
+ label: string;
559
+ description?: string | undefined;
560
+ required?: boolean | undefined;
561
+ secret?: boolean | undefined;
562
+ }>;
563
+ description?: string | undefined;
564
+ }>>>;
565
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
566
+ id: z.ZodString;
567
+ /** The command the engine spawns, relative to the plugin folder. */
568
+ command: z.ZodString;
569
+ language: z.ZodOptional<z.ZodString>;
570
+ label: z.ZodOptional<z.ZodString>;
571
+ symbol: z.ZodOptional<z.ZodString>;
572
+ description: z.ZodOptional<z.ZodString>;
573
+ icon: z.ZodOptional<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"]>>;
574
+ trigger: z.ZodOptional<z.ZodBoolean>;
575
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
576
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
577
+ /** Names of environment variables / secrets this node expects to be injected. */
578
+ env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
579
+ connections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
580
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
581
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
582
+ module: z.ZodEffects<z.ZodString, string, string>;
583
+ export: z.ZodString;
584
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
585
+ env: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
586
+ }, "strict", z.ZodTypeAny, {
587
+ module: string;
588
+ export: string;
589
+ options?: Record<string, unknown> | undefined;
590
+ env?: Record<string, string> | undefined;
591
+ }, {
592
+ module: string;
593
+ export: string;
594
+ options?: Record<string, unknown> | undefined;
595
+ env?: Record<string, string> | undefined;
596
+ }>>>;
597
+ ui: z.ZodOptional<z.ZodObject<{
598
+ apiVersion: z.ZodLiteral<"1">;
599
+ renderers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
600
+ label: z.ZodString;
601
+ targets: z.ZodRecord<z.ZodEnum<["node.inspector.inputs"]>, z.ZodEffects<z.ZodString, string, string>>;
602
+ }, "strict", z.ZodTypeAny, {
603
+ label: string;
604
+ targets: Partial<Record<"node.inspector.inputs", string>>;
605
+ }, {
606
+ label: string;
607
+ targets: Partial<Record<"node.inspector.inputs", string>>;
608
+ }>>, Record<string, {
609
+ label: string;
610
+ targets: Partial<Record<"node.inspector.inputs", string>>;
611
+ }>, Record<string, {
612
+ label: string;
613
+ targets: Partial<Record<"node.inspector.inputs", string>>;
614
+ }>>;
615
+ }, "strict", z.ZodTypeAny, {
616
+ apiVersion: "1";
617
+ renderers: Record<string, {
618
+ label: string;
619
+ targets: Partial<Record<"node.inspector.inputs", string>>;
620
+ }>;
621
+ }, {
622
+ apiVersion: "1";
623
+ renderers: Record<string, {
624
+ label: string;
625
+ targets: Partial<Record<"node.inspector.inputs", string>>;
626
+ }>;
627
+ }>>;
628
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
629
+ kind: z.ZodLiteral<"plugin">;
630
+ }, "strict", z.ZodTypeAny, {
631
+ kind: "plugin";
632
+ }, {
633
+ kind: "plugin";
634
+ }>, z.ZodObject<{
635
+ kind: z.ZodLiteral<"npm">;
636
+ package: z.ZodString;
637
+ version: z.ZodString;
638
+ }, "strict", z.ZodTypeAny, {
639
+ package: string;
640
+ kind: "npm";
641
+ version: string;
642
+ }, {
643
+ package: string;
644
+ kind: "npm";
645
+ version: string;
646
+ }>]>>;
647
+ /** Explicit mapping to the library export; workflow adapters keep their own argument convention. */
648
+ libraryExport: z.ZodOptional<z.ZodString>;
649
+ /** Compiler-owned original import identity, never a presentation override. */
650
+ implementation: z.ZodOptional<z.ZodObject<{
651
+ module: z.ZodString;
652
+ export: z.ZodString;
653
+ parameters: z.ZodArray<z.ZodString, "many">;
654
+ }, "strict", z.ZodTypeAny, {
655
+ module: string;
656
+ parameters: string[];
657
+ export: string;
658
+ }, {
659
+ module: string;
660
+ parameters: string[];
661
+ export: string;
662
+ }>>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ id: string;
665
+ command: string;
666
+ symbol?: string | undefined;
667
+ label?: string | undefined;
668
+ source?: {
669
+ kind: "plugin";
670
+ } | {
671
+ package: string;
672
+ kind: "npm";
673
+ version: string;
674
+ } | undefined;
675
+ env?: string[] | undefined;
676
+ inputs?: Record<string, unknown> | undefined;
677
+ outputs?: Record<string, unknown> | undefined;
678
+ description?: string | undefined;
679
+ defaults?: Record<string, unknown> | undefined;
680
+ language?: string | undefined;
681
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
682
+ trigger?: boolean | undefined;
683
+ connections?: string[] | undefined;
684
+ bindings?: Record<string, {
685
+ module: string;
686
+ export: string;
687
+ options?: Record<string, unknown> | undefined;
688
+ env?: Record<string, string> | undefined;
689
+ }> | undefined;
690
+ ui?: {
691
+ apiVersion: "1";
692
+ renderers: Record<string, {
693
+ label: string;
694
+ targets: Partial<Record<"node.inspector.inputs", string>>;
695
+ }>;
696
+ } | undefined;
697
+ libraryExport?: string | undefined;
698
+ implementation?: {
699
+ module: string;
700
+ parameters: string[];
701
+ export: string;
702
+ } | undefined;
703
+ }, {
704
+ id: string;
705
+ command: string;
706
+ symbol?: string | undefined;
707
+ label?: string | undefined;
708
+ source?: {
709
+ kind: "plugin";
710
+ } | {
711
+ package: string;
712
+ kind: "npm";
713
+ version: string;
714
+ } | undefined;
715
+ env?: string[] | undefined;
716
+ inputs?: Record<string, unknown> | undefined;
717
+ outputs?: Record<string, unknown> | undefined;
718
+ description?: string | undefined;
719
+ defaults?: Record<string, unknown> | undefined;
720
+ language?: string | undefined;
721
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
722
+ trigger?: boolean | undefined;
723
+ connections?: string[] | undefined;
724
+ bindings?: Record<string, {
725
+ module: string;
726
+ export: string;
727
+ options?: Record<string, unknown> | undefined;
728
+ env?: Record<string, string> | undefined;
729
+ }> | undefined;
730
+ ui?: {
731
+ apiVersion: "1";
732
+ renderers: Record<string, {
733
+ label: string;
734
+ targets: Partial<Record<"node.inspector.inputs", string>>;
735
+ }>;
736
+ } | undefined;
737
+ libraryExport?: string | undefined;
738
+ implementation?: {
739
+ module: string;
740
+ parameters: string[];
741
+ export: string;
742
+ } | undefined;
743
+ }>, "many">>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ nodes: {
746
+ id: string;
747
+ command: string;
748
+ symbol?: string | undefined;
749
+ label?: string | undefined;
750
+ source?: {
751
+ kind: "plugin";
752
+ } | {
753
+ package: string;
754
+ kind: "npm";
755
+ version: string;
756
+ } | undefined;
757
+ env?: string[] | undefined;
758
+ inputs?: Record<string, unknown> | undefined;
759
+ outputs?: Record<string, unknown> | undefined;
760
+ description?: string | undefined;
761
+ defaults?: Record<string, unknown> | undefined;
762
+ language?: string | undefined;
763
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
764
+ trigger?: boolean | undefined;
765
+ connections?: string[] | undefined;
766
+ bindings?: Record<string, {
767
+ module: string;
768
+ export: string;
769
+ options?: Record<string, unknown> | undefined;
770
+ env?: Record<string, string> | undefined;
771
+ }> | undefined;
772
+ ui?: {
773
+ apiVersion: "1";
774
+ renderers: Record<string, {
775
+ label: string;
776
+ targets: Partial<Record<"node.inspector.inputs", string>>;
777
+ }>;
778
+ } | undefined;
779
+ libraryExport?: string | undefined;
780
+ implementation?: {
781
+ module: string;
782
+ parameters: string[];
783
+ export: string;
784
+ } | undefined;
785
+ }[];
786
+ name: string;
787
+ id: string;
788
+ scope: ("user" | "group" | "org" | "public")[];
789
+ version: string;
790
+ schemaVersion: string;
791
+ permissions: {
792
+ resource: "project_data" | "secrets" | "network";
793
+ access: "read" | "write" | "outbound";
794
+ }[];
795
+ repository?: string | undefined;
796
+ source?: {
797
+ kind: "plugin";
798
+ } | {
799
+ package: string;
800
+ kind: "npm";
801
+ version: string;
802
+ } | undefined;
803
+ integration?: {
804
+ tags: string[];
805
+ npm?: {
806
+ package: string;
807
+ version: string;
808
+ spec: string;
809
+ } | undefined;
810
+ auth?: string[] | undefined;
811
+ category?: string | undefined;
812
+ npmDependencies?: {
813
+ package: string;
814
+ version: string;
815
+ spec: string;
816
+ }[] | undefined;
817
+ } | undefined;
818
+ description?: string | undefined;
819
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
820
+ connections?: Record<string, {
821
+ label: string;
822
+ fields: Record<string, {
823
+ label: string;
824
+ required: boolean;
825
+ secret: boolean;
826
+ description?: string | undefined;
827
+ }>;
828
+ description?: string | undefined;
829
+ }> | undefined;
830
+ library?: {
831
+ entry: "library/index.js";
832
+ format: 1;
833
+ types: "library/index.d.ts";
834
+ exports: string[];
835
+ } | undefined;
836
+ author?: string | undefined;
837
+ contributors?: string[] | undefined;
838
+ homepage?: string | undefined;
839
+ license?: string | undefined;
840
+ }, {
841
+ name: string;
842
+ id: string;
843
+ version: string;
844
+ nodes?: {
845
+ id: string;
846
+ command: string;
847
+ symbol?: string | undefined;
848
+ label?: string | undefined;
849
+ source?: {
850
+ kind: "plugin";
851
+ } | {
852
+ package: string;
853
+ kind: "npm";
854
+ version: string;
855
+ } | undefined;
856
+ env?: string[] | undefined;
857
+ inputs?: Record<string, unknown> | undefined;
858
+ outputs?: Record<string, unknown> | undefined;
859
+ description?: string | undefined;
860
+ defaults?: Record<string, unknown> | undefined;
861
+ language?: string | undefined;
862
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
863
+ trigger?: boolean | undefined;
864
+ connections?: string[] | undefined;
865
+ bindings?: Record<string, {
866
+ module: string;
867
+ export: string;
868
+ options?: Record<string, unknown> | undefined;
869
+ env?: Record<string, string> | undefined;
870
+ }> | undefined;
871
+ ui?: {
872
+ apiVersion: "1";
873
+ renderers: Record<string, {
874
+ label: string;
875
+ targets: Partial<Record<"node.inspector.inputs", string>>;
876
+ }>;
877
+ } | undefined;
878
+ libraryExport?: string | undefined;
879
+ implementation?: {
880
+ module: string;
881
+ parameters: string[];
882
+ export: string;
883
+ } | undefined;
884
+ }[] | undefined;
885
+ repository?: string | undefined;
886
+ source?: {
887
+ kind: "plugin";
888
+ } | {
889
+ package: string;
890
+ kind: "npm";
891
+ version: string;
892
+ } | undefined;
893
+ integration?: {
894
+ npm?: {
895
+ package: string;
896
+ version: string;
897
+ spec: string;
898
+ } | undefined;
899
+ auth?: string[] | undefined;
900
+ category?: string | undefined;
901
+ tags?: string[] | undefined;
902
+ npmDependencies?: {
903
+ package: string;
904
+ version: string;
905
+ spec: string;
906
+ }[] | undefined;
907
+ } | undefined;
908
+ scope?: ("user" | "group" | "org" | "public")[] | undefined;
909
+ description?: string | undefined;
910
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
911
+ connections?: Record<string, {
912
+ label: string;
913
+ fields: Record<string, {
914
+ label: string;
915
+ description?: string | undefined;
916
+ required?: boolean | undefined;
917
+ secret?: boolean | undefined;
918
+ }>;
919
+ description?: string | undefined;
920
+ }> | undefined;
921
+ schemaVersion?: string | undefined;
922
+ library?: {
923
+ entry: "library/index.js";
924
+ format: 1;
925
+ types: "library/index.d.ts";
926
+ exports: string[];
927
+ } | undefined;
928
+ author?: string | undefined;
929
+ contributors?: string[] | undefined;
930
+ homepage?: string | undefined;
931
+ license?: string | undefined;
932
+ permissions?: {
933
+ resource: "project_data" | "secrets" | "network";
934
+ access: "read" | "write" | "outbound";
935
+ }[] | undefined;
936
+ }>, {
937
+ nodes: {
938
+ id: string;
939
+ command: string;
940
+ symbol?: string | undefined;
941
+ label?: string | undefined;
942
+ source?: {
943
+ kind: "plugin";
944
+ } | {
945
+ package: string;
946
+ kind: "npm";
947
+ version: string;
948
+ } | undefined;
949
+ env?: string[] | undefined;
950
+ inputs?: Record<string, unknown> | undefined;
951
+ outputs?: Record<string, unknown> | undefined;
952
+ description?: string | undefined;
953
+ defaults?: Record<string, unknown> | undefined;
954
+ language?: string | undefined;
955
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
956
+ trigger?: boolean | undefined;
957
+ connections?: string[] | undefined;
958
+ bindings?: Record<string, {
959
+ module: string;
960
+ export: string;
961
+ options?: Record<string, unknown> | undefined;
962
+ env?: Record<string, string> | undefined;
963
+ }> | undefined;
964
+ ui?: {
965
+ apiVersion: "1";
966
+ renderers: Record<string, {
967
+ label: string;
968
+ targets: Partial<Record<"node.inspector.inputs", string>>;
969
+ }>;
970
+ } | undefined;
971
+ libraryExport?: string | undefined;
972
+ implementation?: {
973
+ module: string;
974
+ parameters: string[];
975
+ export: string;
976
+ } | undefined;
977
+ }[];
978
+ name: string;
979
+ id: string;
980
+ scope: ("user" | "group" | "org" | "public")[];
981
+ version: string;
982
+ schemaVersion: string;
983
+ permissions: {
984
+ resource: "project_data" | "secrets" | "network";
985
+ access: "read" | "write" | "outbound";
986
+ }[];
987
+ repository?: string | undefined;
988
+ source?: {
989
+ kind: "plugin";
990
+ } | {
991
+ package: string;
992
+ kind: "npm";
993
+ version: string;
994
+ } | undefined;
995
+ integration?: {
996
+ tags: string[];
997
+ npm?: {
998
+ package: string;
999
+ version: string;
1000
+ spec: string;
1001
+ } | undefined;
1002
+ auth?: string[] | undefined;
1003
+ category?: string | undefined;
1004
+ npmDependencies?: {
1005
+ package: string;
1006
+ version: string;
1007
+ spec: string;
1008
+ }[] | undefined;
1009
+ } | undefined;
1010
+ description?: string | undefined;
1011
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
1012
+ connections?: Record<string, {
1013
+ label: string;
1014
+ fields: Record<string, {
1015
+ label: string;
1016
+ required: boolean;
1017
+ secret: boolean;
1018
+ description?: string | undefined;
1019
+ }>;
1020
+ description?: string | undefined;
1021
+ }> | undefined;
1022
+ library?: {
1023
+ entry: "library/index.js";
1024
+ format: 1;
1025
+ types: "library/index.d.ts";
1026
+ exports: string[];
1027
+ } | undefined;
1028
+ author?: string | undefined;
1029
+ contributors?: string[] | undefined;
1030
+ homepage?: string | undefined;
1031
+ license?: string | undefined;
1032
+ }, {
1033
+ name: string;
1034
+ id: string;
1035
+ version: string;
1036
+ nodes?: {
1037
+ id: string;
1038
+ command: string;
1039
+ symbol?: string | undefined;
1040
+ label?: string | undefined;
1041
+ source?: {
1042
+ kind: "plugin";
1043
+ } | {
1044
+ package: string;
1045
+ kind: "npm";
1046
+ version: string;
1047
+ } | undefined;
1048
+ env?: string[] | undefined;
1049
+ inputs?: Record<string, unknown> | undefined;
1050
+ outputs?: Record<string, unknown> | undefined;
1051
+ description?: string | undefined;
1052
+ defaults?: Record<string, unknown> | undefined;
1053
+ language?: string | undefined;
1054
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
1055
+ trigger?: boolean | undefined;
1056
+ connections?: string[] | undefined;
1057
+ bindings?: Record<string, {
1058
+ module: string;
1059
+ export: string;
1060
+ options?: Record<string, unknown> | undefined;
1061
+ env?: Record<string, string> | undefined;
1062
+ }> | undefined;
1063
+ ui?: {
1064
+ apiVersion: "1";
1065
+ renderers: Record<string, {
1066
+ label: string;
1067
+ targets: Partial<Record<"node.inspector.inputs", string>>;
1068
+ }>;
1069
+ } | undefined;
1070
+ libraryExport?: string | undefined;
1071
+ implementation?: {
1072
+ module: string;
1073
+ parameters: string[];
1074
+ export: string;
1075
+ } | undefined;
1076
+ }[] | undefined;
1077
+ repository?: string | undefined;
1078
+ source?: {
1079
+ kind: "plugin";
1080
+ } | {
1081
+ package: string;
1082
+ kind: "npm";
1083
+ version: string;
1084
+ } | undefined;
1085
+ integration?: {
1086
+ npm?: {
1087
+ package: string;
1088
+ version: string;
1089
+ spec: string;
1090
+ } | undefined;
1091
+ auth?: string[] | undefined;
1092
+ category?: string | undefined;
1093
+ tags?: string[] | undefined;
1094
+ npmDependencies?: {
1095
+ package: string;
1096
+ version: string;
1097
+ spec: string;
1098
+ }[] | undefined;
1099
+ } | undefined;
1100
+ scope?: ("user" | "group" | "org" | "public")[] | undefined;
1101
+ description?: string | undefined;
1102
+ icon?: "function" | "group" | "workflow" | "code" | "type" | "typescript" | "variable" | "webhook" | "filter" | "replace" | "search" | "split" | "repeat" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "copy-x" | "database" | "dices" | "flag" | "flask" | "git-branch" | "git-merge" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "ruler" | "scan-eye" | "scissors" | "server-cog" | "settings" | "sigma" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "ungroup" | "wand" | "wave" | "x" | undefined;
1103
+ connections?: Record<string, {
1104
+ label: string;
1105
+ fields: Record<string, {
1106
+ label: string;
1107
+ description?: string | undefined;
1108
+ required?: boolean | undefined;
1109
+ secret?: boolean | undefined;
1110
+ }>;
1111
+ description?: string | undefined;
1112
+ }> | undefined;
1113
+ schemaVersion?: string | undefined;
1114
+ library?: {
1115
+ entry: "library/index.js";
1116
+ format: 1;
1117
+ types: "library/index.d.ts";
1118
+ exports: string[];
1119
+ } | undefined;
1120
+ author?: string | undefined;
1121
+ contributors?: string[] | undefined;
1122
+ homepage?: string | undefined;
1123
+ license?: string | undefined;
1124
+ permissions?: {
1125
+ resource: "project_data" | "secrets" | "network";
1126
+ access: "read" | "write" | "outbound";
1127
+ }[] | undefined;
1128
+ }>;
1129
+ export type PluginManifest = z.infer<typeof PluginManifest>;
1130
+ export type PluginManifestInput = z.input<typeof PluginManifest>;
1131
+ //# sourceMappingURL=plugin.d.ts.map