@octonodes/sdk 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/PLUGINS.md +128 -0
  2. package/README.md +107 -9
  3. package/dist/gen/index.d.ts +2 -2
  4. package/dist/gen/index.d.ts.map +1 -1
  5. package/dist/gen/index.js +4 -3
  6. package/dist/gen/index.js.map +1 -1
  7. package/dist/gen/sdk.gen.d.ts +9 -1
  8. package/dist/gen/sdk.gen.d.ts.map +1 -1
  9. package/dist/gen/sdk.gen.js +21 -3
  10. package/dist/gen/sdk.gen.js.map +1 -1
  11. package/dist/gen/types.gen.d.ts +230 -0
  12. package/dist/gen/types.gen.d.ts.map +1 -1
  13. package/dist/plugins/index.d.ts +2 -0
  14. package/dist/plugins/index.d.ts.map +1 -0
  15. package/dist/plugins/index.js +19 -0
  16. package/dist/plugins/index.js.map +1 -0
  17. package/dist/plugins/schema/constants.d.ts +33 -0
  18. package/dist/plugins/schema/constants.d.ts.map +1 -0
  19. package/dist/plugins/schema/constants.js +207 -0
  20. package/dist/plugins/schema/constants.js.map +1 -0
  21. package/dist/plugins/schema/icons.d.ts +5 -0
  22. package/dist/plugins/schema/icons.d.ts.map +1 -0
  23. package/dist/plugins/schema/icons.js +62 -0
  24. package/dist/plugins/schema/icons.js.map +1 -0
  25. package/dist/plugins/schema/ipc-envelope.d.ts +923 -0
  26. package/dist/plugins/schema/ipc-envelope.d.ts.map +1 -0
  27. package/dist/plugins/schema/ipc-envelope.js +210 -0
  28. package/dist/plugins/schema/ipc-envelope.js.map +1 -0
  29. package/dist/plugins/schema/plugin-sdk/index.d.ts +5 -0
  30. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -0
  31. package/dist/plugins/schema/plugin-sdk/index.js +25 -0
  32. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -0
  33. package/dist/plugins/schema/plugin.d.ts +662 -0
  34. package/dist/plugins/schema/plugin.d.ts.map +1 -0
  35. package/dist/plugins/schema/plugin.js +144 -0
  36. package/dist/plugins/schema/plugin.js.map +1 -0
  37. package/dist/plugins/sdk/define-node.d.ts +103 -0
  38. package/dist/plugins/sdk/define-node.d.ts.map +1 -0
  39. package/dist/plugins/sdk/define-node.js +58 -0
  40. package/dist/plugins/sdk/define-node.js.map +1 -0
  41. package/dist/plugins/sdk/json-schema.d.ts +17 -0
  42. package/dist/plugins/sdk/json-schema.d.ts.map +1 -0
  43. package/dist/plugins/sdk/json-schema.js +79 -0
  44. package/dist/plugins/sdk/json-schema.js.map +1 -0
  45. package/dist/plugins/sdk/plugin.d.ts +7 -0
  46. package/dist/plugins/sdk/plugin.d.ts.map +1 -0
  47. package/dist/plugins/sdk/plugin.js +74 -0
  48. package/dist/plugins/sdk/plugin.js.map +1 -0
  49. package/dist/plugins/sdk/plugin.types.d.ts +15 -0
  50. package/dist/plugins/sdk/plugin.types.d.ts.map +1 -0
  51. package/dist/plugins/sdk/plugin.types.js +3 -0
  52. package/dist/plugins/sdk/plugin.types.js.map +1 -0
  53. package/dist/plugins/sdk/plugins/define-node.d.ts +29 -0
  54. package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -0
  55. package/dist/plugins/sdk/plugins/define-node.js +16 -0
  56. package/dist/plugins/sdk/plugins/define-node.js.map +1 -0
  57. package/dist/plugins/sdk/plugins/index.d.ts +10 -0
  58. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -0
  59. package/dist/plugins/sdk/plugins/index.js +23 -0
  60. package/dist/plugins/sdk/plugins/index.js.map +1 -0
  61. package/dist/plugins/sdk/plugins/types.d.ts +34 -0
  62. package/dist/plugins/sdk/plugins/types.d.ts.map +1 -0
  63. package/dist/plugins/sdk/plugins/types.js +3 -0
  64. package/dist/plugins/sdk/plugins/types.js.map +1 -0
  65. package/dist/plugins/sdk/runner.d.ts +36 -0
  66. package/dist/plugins/sdk/runner.d.ts.map +1 -0
  67. package/dist/plugins/sdk/runner.js +324 -0
  68. package/dist/plugins/sdk/runner.js.map +1 -0
  69. package/package.json +21 -5
@@ -0,0 +1,662 @@
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
+ /**
49
+ * One node contributed by a plugin. Unlike a project node (whose signature is
50
+ * discovered by `octonode scan`), a plugin node declares its contract directly
51
+ * in the manifest — the plugin author owns it. `command` is resolved relative
52
+ * to the plugin folder, so a plugin is a self-contained, relocatable bundle.
53
+ */
54
+ export declare const PluginNode: z.ZodObject<{
55
+ id: z.ZodString;
56
+ /** The command the engine spawns, relative to the plugin folder. */
57
+ command: z.ZodString;
58
+ language: z.ZodOptional<z.ZodString>;
59
+ label: z.ZodOptional<z.ZodString>;
60
+ symbol: z.ZodOptional<z.ZodString>;
61
+ description: z.ZodOptional<z.ZodString>;
62
+ 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"]>>;
63
+ trigger: z.ZodOptional<z.ZodBoolean>;
64
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
65
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
66
+ /** Names of environment variables / secrets this node expects to be injected. */
67
+ env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ connections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
70
+ ui: z.ZodOptional<z.ZodObject<{
71
+ apiVersion: z.ZodLiteral<"1">;
72
+ renderers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
73
+ label: z.ZodString;
74
+ targets: z.ZodRecord<z.ZodEnum<["node.inspector.inputs"]>, z.ZodEffects<z.ZodString, string, string>>;
75
+ }, "strict", z.ZodTypeAny, {
76
+ label: string;
77
+ targets: Partial<Record<"node.inspector.inputs", string>>;
78
+ }, {
79
+ label: string;
80
+ targets: Partial<Record<"node.inspector.inputs", string>>;
81
+ }>>, Record<string, {
82
+ label: string;
83
+ targets: Partial<Record<"node.inspector.inputs", string>>;
84
+ }>, Record<string, {
85
+ label: string;
86
+ targets: Partial<Record<"node.inspector.inputs", string>>;
87
+ }>>;
88
+ }, "strict", z.ZodTypeAny, {
89
+ apiVersion: "1";
90
+ renderers: Record<string, {
91
+ label: string;
92
+ targets: Partial<Record<"node.inspector.inputs", string>>;
93
+ }>;
94
+ }, {
95
+ apiVersion: "1";
96
+ renderers: Record<string, {
97
+ label: string;
98
+ targets: Partial<Record<"node.inspector.inputs", string>>;
99
+ }>;
100
+ }>>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ id: string;
103
+ command: string;
104
+ symbol?: string | undefined;
105
+ label?: string | undefined;
106
+ env?: string[] | undefined;
107
+ inputs?: Record<string, unknown> | undefined;
108
+ outputs?: Record<string, unknown> | undefined;
109
+ description?: string | undefined;
110
+ defaults?: Record<string, unknown> | undefined;
111
+ language?: string | undefined;
112
+ 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;
113
+ trigger?: boolean | undefined;
114
+ connections?: string[] | undefined;
115
+ ui?: {
116
+ apiVersion: "1";
117
+ renderers: Record<string, {
118
+ label: string;
119
+ targets: Partial<Record<"node.inspector.inputs", string>>;
120
+ }>;
121
+ } | undefined;
122
+ }, {
123
+ id: string;
124
+ command: string;
125
+ symbol?: string | undefined;
126
+ label?: string | undefined;
127
+ env?: string[] | undefined;
128
+ inputs?: Record<string, unknown> | undefined;
129
+ outputs?: Record<string, unknown> | undefined;
130
+ description?: string | undefined;
131
+ defaults?: Record<string, unknown> | undefined;
132
+ language?: string | undefined;
133
+ 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;
134
+ trigger?: boolean | undefined;
135
+ connections?: string[] | undefined;
136
+ ui?: {
137
+ apiVersion: "1";
138
+ renderers: Record<string, {
139
+ label: string;
140
+ targets: Partial<Record<"node.inspector.inputs", string>>;
141
+ }>;
142
+ } | undefined;
143
+ }>;
144
+ export type PluginNode = z.infer<typeof PluginNode>;
145
+ /**
146
+ * A coarse capability the plugin needs at runtime. Shown on the install
147
+ * consent screen and enforced before a node is handed the resource.
148
+ */
149
+ export declare const PluginPermission: z.ZodObject<{
150
+ resource: z.ZodEnum<["project_data", "secrets", "network"]>;
151
+ access: z.ZodEnum<["read", "write", "outbound"]>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ resource: "project_data" | "secrets" | "network";
154
+ access: "read" | "write" | "outbound";
155
+ }, {
156
+ resource: "project_data" | "secrets" | "network";
157
+ access: "read" | "write" | "outbound";
158
+ }>;
159
+ export type PluginPermission = z.infer<typeof PluginPermission>;
160
+ /** Discovery/marketplace metadata (used by the Studio Marketplace in Phase 14). */
161
+ export declare const PluginIntegration: z.ZodObject<{
162
+ category: z.ZodOptional<z.ZodString>;
163
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
164
+ /** Secrets/env the integration needs to authenticate (e.g. ["JIRA_TOKEN"]). */
165
+ auth: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
166
+ /** Original npm dependency used by generated npm nodes. */
167
+ npm: z.ZodOptional<z.ZodObject<{
168
+ package: z.ZodString;
169
+ version: z.ZodString;
170
+ spec: z.ZodString;
171
+ }, "strip", z.ZodTypeAny, {
172
+ package: string;
173
+ version: string;
174
+ spec: string;
175
+ }, {
176
+ package: string;
177
+ version: string;
178
+ spec: string;
179
+ }>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ tags: string[];
182
+ auth?: string[] | undefined;
183
+ category?: string | undefined;
184
+ npm?: {
185
+ package: string;
186
+ version: string;
187
+ spec: string;
188
+ } | undefined;
189
+ }, {
190
+ auth?: string[] | undefined;
191
+ category?: string | undefined;
192
+ tags?: string[] | undefined;
193
+ npm?: {
194
+ package: string;
195
+ version: string;
196
+ spec: string;
197
+ } | undefined;
198
+ }>;
199
+ export type PluginIntegration = z.infer<typeof PluginIntegration>;
200
+ /** Credential metadata only. Values are supplied by the installing user at runtime. */
201
+ export declare const PluginConnection: z.ZodObject<{
202
+ label: z.ZodString;
203
+ description: z.ZodOptional<z.ZodString>;
204
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
205
+ label: z.ZodString;
206
+ description: z.ZodOptional<z.ZodString>;
207
+ secret: z.ZodDefault<z.ZodBoolean>;
208
+ required: z.ZodDefault<z.ZodBoolean>;
209
+ }, "strict", z.ZodTypeAny, {
210
+ label: string;
211
+ required: boolean;
212
+ secret: boolean;
213
+ description?: string | undefined;
214
+ }, {
215
+ label: string;
216
+ description?: string | undefined;
217
+ required?: boolean | undefined;
218
+ secret?: boolean | undefined;
219
+ }>>;
220
+ }, "strict", z.ZodTypeAny, {
221
+ label: string;
222
+ fields: Record<string, {
223
+ label: string;
224
+ required: boolean;
225
+ secret: boolean;
226
+ description?: string | undefined;
227
+ }>;
228
+ description?: string | undefined;
229
+ }, {
230
+ label: string;
231
+ fields: Record<string, {
232
+ label: string;
233
+ description?: string | undefined;
234
+ required?: boolean | undefined;
235
+ secret?: boolean | undefined;
236
+ }>;
237
+ description?: string | undefined;
238
+ }>;
239
+ export type PluginConnection = z.infer<typeof PluginConnection>;
240
+ /** The shared plugin contract used by the SDK, generators, and marketplace. */
241
+ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
242
+ schemaVersion: z.ZodDefault<z.ZodString>;
243
+ /** Stable plugin id; namespaces its nodes as `<id>/<nodeId>`. */
244
+ id: z.ZodString;
245
+ name: z.ZodString;
246
+ version: z.ZodString;
247
+ description: z.ZodOptional<z.ZodString>;
248
+ 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"]>>;
249
+ author: z.ZodOptional<z.ZodString>;
250
+ homepage: z.ZodOptional<z.ZodString>;
251
+ license: z.ZodOptional<z.ZodString>;
252
+ /** Distribution tiers this plugin may be discovered/installed from. Private by default. */
253
+ scope: z.ZodDefault<z.ZodArray<z.ZodEnum<["user", "group", "org", "public"]>, "many">>;
254
+ /** Coarse runtime capabilities the plugin requests; consented to at install. */
255
+ permissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
256
+ resource: z.ZodEnum<["project_data", "secrets", "network"]>;
257
+ access: z.ZodEnum<["read", "write", "outbound"]>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ resource: "project_data" | "secrets" | "network";
260
+ access: "read" | "write" | "outbound";
261
+ }, {
262
+ resource: "project_data" | "secrets" | "network";
263
+ access: "read" | "write" | "outbound";
264
+ }>, "many">>;
265
+ integration: z.ZodOptional<z.ZodObject<{
266
+ category: z.ZodOptional<z.ZodString>;
267
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
268
+ /** Secrets/env the integration needs to authenticate (e.g. ["JIRA_TOKEN"]). */
269
+ auth: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
+ /** Original npm dependency used by generated npm nodes. */
271
+ npm: z.ZodOptional<z.ZodObject<{
272
+ package: z.ZodString;
273
+ version: z.ZodString;
274
+ spec: z.ZodString;
275
+ }, "strip", z.ZodTypeAny, {
276
+ package: string;
277
+ version: string;
278
+ spec: string;
279
+ }, {
280
+ package: string;
281
+ version: string;
282
+ spec: string;
283
+ }>>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ tags: string[];
286
+ auth?: string[] | undefined;
287
+ category?: string | undefined;
288
+ npm?: {
289
+ package: string;
290
+ version: string;
291
+ spec: string;
292
+ } | undefined;
293
+ }, {
294
+ auth?: string[] | undefined;
295
+ category?: string | undefined;
296
+ tags?: string[] | undefined;
297
+ npm?: {
298
+ package: string;
299
+ version: string;
300
+ spec: string;
301
+ } | undefined;
302
+ }>>;
303
+ connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
304
+ label: z.ZodString;
305
+ description: z.ZodOptional<z.ZodString>;
306
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
307
+ label: z.ZodString;
308
+ description: z.ZodOptional<z.ZodString>;
309
+ secret: z.ZodDefault<z.ZodBoolean>;
310
+ required: z.ZodDefault<z.ZodBoolean>;
311
+ }, "strict", z.ZodTypeAny, {
312
+ label: string;
313
+ required: boolean;
314
+ secret: boolean;
315
+ description?: string | undefined;
316
+ }, {
317
+ label: string;
318
+ description?: string | undefined;
319
+ required?: boolean | undefined;
320
+ secret?: boolean | undefined;
321
+ }>>;
322
+ }, "strict", z.ZodTypeAny, {
323
+ label: string;
324
+ fields: Record<string, {
325
+ label: string;
326
+ required: boolean;
327
+ secret: boolean;
328
+ description?: string | undefined;
329
+ }>;
330
+ description?: string | undefined;
331
+ }, {
332
+ label: string;
333
+ fields: Record<string, {
334
+ label: string;
335
+ description?: string | undefined;
336
+ required?: boolean | undefined;
337
+ secret?: boolean | undefined;
338
+ }>;
339
+ description?: string | undefined;
340
+ }>>>;
341
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
342
+ id: z.ZodString;
343
+ /** The command the engine spawns, relative to the plugin folder. */
344
+ command: z.ZodString;
345
+ language: z.ZodOptional<z.ZodString>;
346
+ label: z.ZodOptional<z.ZodString>;
347
+ symbol: z.ZodOptional<z.ZodString>;
348
+ description: z.ZodOptional<z.ZodString>;
349
+ 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"]>>;
350
+ trigger: z.ZodOptional<z.ZodBoolean>;
351
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
352
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
353
+ /** Names of environment variables / secrets this node expects to be injected. */
354
+ env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
355
+ connections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
356
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
+ ui: z.ZodOptional<z.ZodObject<{
358
+ apiVersion: z.ZodLiteral<"1">;
359
+ renderers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
360
+ label: z.ZodString;
361
+ targets: z.ZodRecord<z.ZodEnum<["node.inspector.inputs"]>, z.ZodEffects<z.ZodString, string, string>>;
362
+ }, "strict", z.ZodTypeAny, {
363
+ label: string;
364
+ targets: Partial<Record<"node.inspector.inputs", string>>;
365
+ }, {
366
+ label: string;
367
+ targets: Partial<Record<"node.inspector.inputs", string>>;
368
+ }>>, Record<string, {
369
+ label: string;
370
+ targets: Partial<Record<"node.inspector.inputs", string>>;
371
+ }>, Record<string, {
372
+ label: string;
373
+ targets: Partial<Record<"node.inspector.inputs", string>>;
374
+ }>>;
375
+ }, "strict", z.ZodTypeAny, {
376
+ apiVersion: "1";
377
+ renderers: Record<string, {
378
+ label: string;
379
+ targets: Partial<Record<"node.inspector.inputs", string>>;
380
+ }>;
381
+ }, {
382
+ apiVersion: "1";
383
+ renderers: Record<string, {
384
+ label: string;
385
+ targets: Partial<Record<"node.inspector.inputs", string>>;
386
+ }>;
387
+ }>>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ id: string;
390
+ command: string;
391
+ symbol?: string | undefined;
392
+ label?: string | undefined;
393
+ env?: string[] | undefined;
394
+ inputs?: Record<string, unknown> | undefined;
395
+ outputs?: Record<string, unknown> | undefined;
396
+ description?: string | undefined;
397
+ defaults?: Record<string, unknown> | undefined;
398
+ language?: string | undefined;
399
+ 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;
400
+ trigger?: boolean | undefined;
401
+ connections?: string[] | undefined;
402
+ ui?: {
403
+ apiVersion: "1";
404
+ renderers: Record<string, {
405
+ label: string;
406
+ targets: Partial<Record<"node.inspector.inputs", string>>;
407
+ }>;
408
+ } | undefined;
409
+ }, {
410
+ id: string;
411
+ command: string;
412
+ symbol?: string | undefined;
413
+ label?: string | undefined;
414
+ env?: string[] | undefined;
415
+ inputs?: Record<string, unknown> | undefined;
416
+ outputs?: Record<string, unknown> | undefined;
417
+ description?: string | undefined;
418
+ defaults?: Record<string, unknown> | undefined;
419
+ language?: string | undefined;
420
+ 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;
421
+ trigger?: boolean | undefined;
422
+ connections?: string[] | undefined;
423
+ ui?: {
424
+ apiVersion: "1";
425
+ renderers: Record<string, {
426
+ label: string;
427
+ targets: Partial<Record<"node.inspector.inputs", string>>;
428
+ }>;
429
+ } | undefined;
430
+ }>, "many">>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ nodes: {
433
+ id: string;
434
+ command: string;
435
+ symbol?: string | undefined;
436
+ label?: string | undefined;
437
+ env?: string[] | undefined;
438
+ inputs?: Record<string, unknown> | undefined;
439
+ outputs?: Record<string, unknown> | undefined;
440
+ description?: string | undefined;
441
+ defaults?: Record<string, unknown> | undefined;
442
+ language?: string | undefined;
443
+ 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;
444
+ trigger?: boolean | undefined;
445
+ connections?: string[] | undefined;
446
+ ui?: {
447
+ apiVersion: "1";
448
+ renderers: Record<string, {
449
+ label: string;
450
+ targets: Partial<Record<"node.inspector.inputs", string>>;
451
+ }>;
452
+ } | undefined;
453
+ }[];
454
+ name: string;
455
+ id: string;
456
+ scope: ("user" | "group" | "org" | "public")[];
457
+ version: string;
458
+ schemaVersion: string;
459
+ permissions: {
460
+ resource: "project_data" | "secrets" | "network";
461
+ access: "read" | "write" | "outbound";
462
+ }[];
463
+ integration?: {
464
+ tags: string[];
465
+ auth?: string[] | undefined;
466
+ category?: string | undefined;
467
+ npm?: {
468
+ package: string;
469
+ version: string;
470
+ spec: string;
471
+ } | undefined;
472
+ } | undefined;
473
+ description?: string | undefined;
474
+ 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;
475
+ connections?: Record<string, {
476
+ label: string;
477
+ fields: Record<string, {
478
+ label: string;
479
+ required: boolean;
480
+ secret: boolean;
481
+ description?: string | undefined;
482
+ }>;
483
+ description?: string | undefined;
484
+ }> | undefined;
485
+ author?: string | undefined;
486
+ homepage?: string | undefined;
487
+ license?: string | undefined;
488
+ }, {
489
+ name: string;
490
+ id: string;
491
+ version: string;
492
+ nodes?: {
493
+ id: string;
494
+ command: string;
495
+ symbol?: string | undefined;
496
+ label?: string | undefined;
497
+ env?: string[] | undefined;
498
+ inputs?: Record<string, unknown> | undefined;
499
+ outputs?: Record<string, unknown> | undefined;
500
+ description?: string | undefined;
501
+ defaults?: Record<string, unknown> | undefined;
502
+ language?: string | undefined;
503
+ 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;
504
+ trigger?: boolean | undefined;
505
+ connections?: string[] | undefined;
506
+ ui?: {
507
+ apiVersion: "1";
508
+ renderers: Record<string, {
509
+ label: string;
510
+ targets: Partial<Record<"node.inspector.inputs", string>>;
511
+ }>;
512
+ } | undefined;
513
+ }[] | undefined;
514
+ integration?: {
515
+ auth?: string[] | undefined;
516
+ category?: string | undefined;
517
+ tags?: string[] | undefined;
518
+ npm?: {
519
+ package: string;
520
+ version: string;
521
+ spec: string;
522
+ } | undefined;
523
+ } | undefined;
524
+ scope?: ("user" | "group" | "org" | "public")[] | undefined;
525
+ description?: string | undefined;
526
+ 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;
527
+ connections?: Record<string, {
528
+ label: string;
529
+ fields: Record<string, {
530
+ label: string;
531
+ description?: string | undefined;
532
+ required?: boolean | undefined;
533
+ secret?: boolean | undefined;
534
+ }>;
535
+ description?: string | undefined;
536
+ }> | undefined;
537
+ schemaVersion?: string | undefined;
538
+ author?: string | undefined;
539
+ homepage?: string | undefined;
540
+ license?: string | undefined;
541
+ permissions?: {
542
+ resource: "project_data" | "secrets" | "network";
543
+ access: "read" | "write" | "outbound";
544
+ }[] | undefined;
545
+ }>, {
546
+ nodes: {
547
+ id: string;
548
+ command: string;
549
+ symbol?: string | undefined;
550
+ label?: string | undefined;
551
+ env?: string[] | undefined;
552
+ inputs?: Record<string, unknown> | undefined;
553
+ outputs?: Record<string, unknown> | undefined;
554
+ description?: string | undefined;
555
+ defaults?: Record<string, unknown> | undefined;
556
+ language?: string | undefined;
557
+ 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;
558
+ trigger?: boolean | undefined;
559
+ connections?: string[] | undefined;
560
+ ui?: {
561
+ apiVersion: "1";
562
+ renderers: Record<string, {
563
+ label: string;
564
+ targets: Partial<Record<"node.inspector.inputs", string>>;
565
+ }>;
566
+ } | undefined;
567
+ }[];
568
+ name: string;
569
+ id: string;
570
+ scope: ("user" | "group" | "org" | "public")[];
571
+ version: string;
572
+ schemaVersion: string;
573
+ permissions: {
574
+ resource: "project_data" | "secrets" | "network";
575
+ access: "read" | "write" | "outbound";
576
+ }[];
577
+ integration?: {
578
+ tags: string[];
579
+ auth?: string[] | undefined;
580
+ category?: string | undefined;
581
+ npm?: {
582
+ package: string;
583
+ version: string;
584
+ spec: string;
585
+ } | undefined;
586
+ } | undefined;
587
+ description?: string | undefined;
588
+ 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;
589
+ connections?: Record<string, {
590
+ label: string;
591
+ fields: Record<string, {
592
+ label: string;
593
+ required: boolean;
594
+ secret: boolean;
595
+ description?: string | undefined;
596
+ }>;
597
+ description?: string | undefined;
598
+ }> | undefined;
599
+ author?: string | undefined;
600
+ homepage?: string | undefined;
601
+ license?: string | undefined;
602
+ }, {
603
+ name: string;
604
+ id: string;
605
+ version: string;
606
+ nodes?: {
607
+ id: string;
608
+ command: string;
609
+ symbol?: string | undefined;
610
+ label?: string | undefined;
611
+ env?: string[] | undefined;
612
+ inputs?: Record<string, unknown> | undefined;
613
+ outputs?: Record<string, unknown> | undefined;
614
+ description?: string | undefined;
615
+ defaults?: Record<string, unknown> | undefined;
616
+ language?: string | undefined;
617
+ 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;
618
+ trigger?: boolean | undefined;
619
+ connections?: string[] | undefined;
620
+ ui?: {
621
+ apiVersion: "1";
622
+ renderers: Record<string, {
623
+ label: string;
624
+ targets: Partial<Record<"node.inspector.inputs", string>>;
625
+ }>;
626
+ } | undefined;
627
+ }[] | undefined;
628
+ integration?: {
629
+ auth?: string[] | undefined;
630
+ category?: string | undefined;
631
+ tags?: string[] | undefined;
632
+ npm?: {
633
+ package: string;
634
+ version: string;
635
+ spec: string;
636
+ } | undefined;
637
+ } | undefined;
638
+ scope?: ("user" | "group" | "org" | "public")[] | undefined;
639
+ description?: string | undefined;
640
+ 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;
641
+ connections?: Record<string, {
642
+ label: string;
643
+ fields: Record<string, {
644
+ label: string;
645
+ description?: string | undefined;
646
+ required?: boolean | undefined;
647
+ secret?: boolean | undefined;
648
+ }>;
649
+ description?: string | undefined;
650
+ }> | undefined;
651
+ schemaVersion?: string | undefined;
652
+ author?: string | undefined;
653
+ homepage?: string | undefined;
654
+ license?: string | undefined;
655
+ permissions?: {
656
+ resource: "project_data" | "secrets" | "network";
657
+ access: "read" | "write" | "outbound";
658
+ }[] | undefined;
659
+ }>;
660
+ export type PluginManifest = z.infer<typeof PluginManifest>;
661
+ export type PluginManifestInput = z.input<typeof PluginManifest>;
662
+ //# sourceMappingURL=plugin.d.ts.map