@octonodes/sdk 0.1.5 → 0.1.8
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/PLUGINS.md +67 -6
- package/dist/gen/types.gen.d.ts +91 -0
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/plugins/schema/constants.d.ts +1 -0
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +2 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +315 -2
- package/dist/plugins/schema/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin.js +65 -20
- package/dist/plugins/schema/plugin.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.js +35 -2
- package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.js +100 -21
- package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/types.d.ts +3 -0
- package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/types.d.ts +5 -2
- package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -63,6 +63,39 @@ export declare const NpmClientBinding: z.ZodObject<{
|
|
|
63
63
|
env?: Record<string, string> | undefined;
|
|
64
64
|
}>;
|
|
65
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
|
+
}>;
|
|
66
99
|
/**
|
|
67
100
|
* One node contributed by a plugin. Unlike a project node (whose signature is
|
|
68
101
|
* discovered by `octonode scan`), a plugin node declares its contract directly
|
|
@@ -132,11 +165,53 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
132
165
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
133
166
|
}>;
|
|
134
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
|
+
}>>;
|
|
135
203
|
}, "strip", z.ZodTypeAny, {
|
|
136
204
|
id: string;
|
|
137
205
|
command: string;
|
|
138
206
|
symbol?: string | undefined;
|
|
139
207
|
label?: string | undefined;
|
|
208
|
+
source?: {
|
|
209
|
+
kind: "plugin";
|
|
210
|
+
} | {
|
|
211
|
+
package: string;
|
|
212
|
+
kind: "npm";
|
|
213
|
+
version: string;
|
|
214
|
+
} | undefined;
|
|
140
215
|
env?: string[] | undefined;
|
|
141
216
|
inputs?: Record<string, unknown> | undefined;
|
|
142
217
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -159,11 +234,24 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
159
234
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
160
235
|
}>;
|
|
161
236
|
} | undefined;
|
|
237
|
+
libraryExport?: string | undefined;
|
|
238
|
+
implementation?: {
|
|
239
|
+
module: string;
|
|
240
|
+
parameters: string[];
|
|
241
|
+
export: string;
|
|
242
|
+
} | undefined;
|
|
162
243
|
}, {
|
|
163
244
|
id: string;
|
|
164
245
|
command: string;
|
|
165
246
|
symbol?: string | undefined;
|
|
166
247
|
label?: string | undefined;
|
|
248
|
+
source?: {
|
|
249
|
+
kind: "plugin";
|
|
250
|
+
} | {
|
|
251
|
+
package: string;
|
|
252
|
+
kind: "npm";
|
|
253
|
+
version: string;
|
|
254
|
+
} | undefined;
|
|
167
255
|
env?: string[] | undefined;
|
|
168
256
|
inputs?: Record<string, unknown> | undefined;
|
|
169
257
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -186,6 +274,12 @@ export declare const PluginNode: z.ZodObject<{
|
|
|
186
274
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
187
275
|
}>;
|
|
188
276
|
} | undefined;
|
|
277
|
+
libraryExport?: string | undefined;
|
|
278
|
+
implementation?: {
|
|
279
|
+
module: string;
|
|
280
|
+
parameters: string[];
|
|
281
|
+
export: string;
|
|
282
|
+
} | undefined;
|
|
189
283
|
}>;
|
|
190
284
|
export type PluginNode = z.infer<typeof PluginNode>;
|
|
191
285
|
/**
|
|
@@ -214,7 +308,7 @@ export declare const PluginIntegration: z.ZodObject<{
|
|
|
214
308
|
package: z.ZodString;
|
|
215
309
|
version: z.ZodString;
|
|
216
310
|
spec: z.ZodString;
|
|
217
|
-
}, "
|
|
311
|
+
}, "strict", z.ZodTypeAny, {
|
|
218
312
|
package: string;
|
|
219
313
|
version: string;
|
|
220
314
|
spec: string;
|
|
@@ -223,6 +317,19 @@ export declare const PluginIntegration: z.ZodObject<{
|
|
|
223
317
|
version: string;
|
|
224
318
|
spec: string;
|
|
225
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">>;
|
|
226
333
|
}, "strip", z.ZodTypeAny, {
|
|
227
334
|
tags: string[];
|
|
228
335
|
npm?: {
|
|
@@ -232,6 +339,11 @@ export declare const PluginIntegration: z.ZodObject<{
|
|
|
232
339
|
} | undefined;
|
|
233
340
|
auth?: string[] | undefined;
|
|
234
341
|
category?: string | undefined;
|
|
342
|
+
npmDependencies?: {
|
|
343
|
+
package: string;
|
|
344
|
+
version: string;
|
|
345
|
+
spec: string;
|
|
346
|
+
}[] | undefined;
|
|
235
347
|
}, {
|
|
236
348
|
npm?: {
|
|
237
349
|
package: string;
|
|
@@ -241,6 +353,11 @@ export declare const PluginIntegration: z.ZodObject<{
|
|
|
241
353
|
auth?: string[] | undefined;
|
|
242
354
|
category?: string | undefined;
|
|
243
355
|
tags?: string[] | undefined;
|
|
356
|
+
npmDependencies?: {
|
|
357
|
+
package: string;
|
|
358
|
+
version: string;
|
|
359
|
+
spec: string;
|
|
360
|
+
}[] | undefined;
|
|
244
361
|
}>;
|
|
245
362
|
export type PluginIntegration = z.infer<typeof PluginIntegration>;
|
|
246
363
|
/** Credential metadata only. Values are supplied by the installing user at runtime. */
|
|
@@ -311,6 +428,22 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
311
428
|
kind: "npm";
|
|
312
429
|
version: string;
|
|
313
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
|
+
}>>;
|
|
314
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"]>>;
|
|
315
448
|
author: z.ZodOptional<z.ZodString>;
|
|
316
449
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -338,7 +471,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
338
471
|
package: z.ZodString;
|
|
339
472
|
version: z.ZodString;
|
|
340
473
|
spec: z.ZodString;
|
|
341
|
-
}, "
|
|
474
|
+
}, "strict", z.ZodTypeAny, {
|
|
342
475
|
package: string;
|
|
343
476
|
version: string;
|
|
344
477
|
spec: string;
|
|
@@ -347,6 +480,19 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
347
480
|
version: string;
|
|
348
481
|
spec: string;
|
|
349
482
|
}>>;
|
|
483
|
+
npmDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
484
|
+
package: z.ZodString;
|
|
485
|
+
version: z.ZodString;
|
|
486
|
+
spec: z.ZodString;
|
|
487
|
+
}, "strict", z.ZodTypeAny, {
|
|
488
|
+
package: string;
|
|
489
|
+
version: string;
|
|
490
|
+
spec: string;
|
|
491
|
+
}, {
|
|
492
|
+
package: string;
|
|
493
|
+
version: string;
|
|
494
|
+
spec: string;
|
|
495
|
+
}>, "many">>;
|
|
350
496
|
}, "strip", z.ZodTypeAny, {
|
|
351
497
|
tags: string[];
|
|
352
498
|
npm?: {
|
|
@@ -356,6 +502,11 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
356
502
|
} | undefined;
|
|
357
503
|
auth?: string[] | undefined;
|
|
358
504
|
category?: string | undefined;
|
|
505
|
+
npmDependencies?: {
|
|
506
|
+
package: string;
|
|
507
|
+
version: string;
|
|
508
|
+
spec: string;
|
|
509
|
+
}[] | undefined;
|
|
359
510
|
}, {
|
|
360
511
|
npm?: {
|
|
361
512
|
package: string;
|
|
@@ -365,6 +516,11 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
365
516
|
auth?: string[] | undefined;
|
|
366
517
|
category?: string | undefined;
|
|
367
518
|
tags?: string[] | undefined;
|
|
519
|
+
npmDependencies?: {
|
|
520
|
+
package: string;
|
|
521
|
+
version: string;
|
|
522
|
+
spec: string;
|
|
523
|
+
}[] | undefined;
|
|
368
524
|
}>>;
|
|
369
525
|
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
370
526
|
label: z.ZodString;
|
|
@@ -467,11 +623,53 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
467
623
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
468
624
|
}>;
|
|
469
625
|
}>>;
|
|
626
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
627
|
+
kind: z.ZodLiteral<"plugin">;
|
|
628
|
+
}, "strict", z.ZodTypeAny, {
|
|
629
|
+
kind: "plugin";
|
|
630
|
+
}, {
|
|
631
|
+
kind: "plugin";
|
|
632
|
+
}>, z.ZodObject<{
|
|
633
|
+
kind: z.ZodLiteral<"npm">;
|
|
634
|
+
package: z.ZodString;
|
|
635
|
+
version: z.ZodString;
|
|
636
|
+
}, "strict", z.ZodTypeAny, {
|
|
637
|
+
package: string;
|
|
638
|
+
kind: "npm";
|
|
639
|
+
version: string;
|
|
640
|
+
}, {
|
|
641
|
+
package: string;
|
|
642
|
+
kind: "npm";
|
|
643
|
+
version: string;
|
|
644
|
+
}>]>>;
|
|
645
|
+
/** Explicit mapping to the library export; workflow adapters keep their own argument convention. */
|
|
646
|
+
libraryExport: z.ZodOptional<z.ZodString>;
|
|
647
|
+
/** Compiler-owned original import identity, never a presentation override. */
|
|
648
|
+
implementation: z.ZodOptional<z.ZodObject<{
|
|
649
|
+
module: z.ZodString;
|
|
650
|
+
export: z.ZodString;
|
|
651
|
+
parameters: z.ZodArray<z.ZodString, "many">;
|
|
652
|
+
}, "strict", z.ZodTypeAny, {
|
|
653
|
+
module: string;
|
|
654
|
+
parameters: string[];
|
|
655
|
+
export: string;
|
|
656
|
+
}, {
|
|
657
|
+
module: string;
|
|
658
|
+
parameters: string[];
|
|
659
|
+
export: string;
|
|
660
|
+
}>>;
|
|
470
661
|
}, "strip", z.ZodTypeAny, {
|
|
471
662
|
id: string;
|
|
472
663
|
command: string;
|
|
473
664
|
symbol?: string | undefined;
|
|
474
665
|
label?: string | undefined;
|
|
666
|
+
source?: {
|
|
667
|
+
kind: "plugin";
|
|
668
|
+
} | {
|
|
669
|
+
package: string;
|
|
670
|
+
kind: "npm";
|
|
671
|
+
version: string;
|
|
672
|
+
} | undefined;
|
|
475
673
|
env?: string[] | undefined;
|
|
476
674
|
inputs?: Record<string, unknown> | undefined;
|
|
477
675
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -494,11 +692,24 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
494
692
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
495
693
|
}>;
|
|
496
694
|
} | undefined;
|
|
695
|
+
libraryExport?: string | undefined;
|
|
696
|
+
implementation?: {
|
|
697
|
+
module: string;
|
|
698
|
+
parameters: string[];
|
|
699
|
+
export: string;
|
|
700
|
+
} | undefined;
|
|
497
701
|
}, {
|
|
498
702
|
id: string;
|
|
499
703
|
command: string;
|
|
500
704
|
symbol?: string | undefined;
|
|
501
705
|
label?: string | undefined;
|
|
706
|
+
source?: {
|
|
707
|
+
kind: "plugin";
|
|
708
|
+
} | {
|
|
709
|
+
package: string;
|
|
710
|
+
kind: "npm";
|
|
711
|
+
version: string;
|
|
712
|
+
} | undefined;
|
|
502
713
|
env?: string[] | undefined;
|
|
503
714
|
inputs?: Record<string, unknown> | undefined;
|
|
504
715
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -521,6 +732,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
521
732
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
522
733
|
}>;
|
|
523
734
|
} | undefined;
|
|
735
|
+
libraryExport?: string | undefined;
|
|
736
|
+
implementation?: {
|
|
737
|
+
module: string;
|
|
738
|
+
parameters: string[];
|
|
739
|
+
export: string;
|
|
740
|
+
} | undefined;
|
|
524
741
|
}>, "many">>;
|
|
525
742
|
}, "strip", z.ZodTypeAny, {
|
|
526
743
|
nodes: {
|
|
@@ -528,6 +745,13 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
528
745
|
command: string;
|
|
529
746
|
symbol?: string | undefined;
|
|
530
747
|
label?: string | undefined;
|
|
748
|
+
source?: {
|
|
749
|
+
kind: "plugin";
|
|
750
|
+
} | {
|
|
751
|
+
package: string;
|
|
752
|
+
kind: "npm";
|
|
753
|
+
version: string;
|
|
754
|
+
} | undefined;
|
|
531
755
|
env?: string[] | undefined;
|
|
532
756
|
inputs?: Record<string, unknown> | undefined;
|
|
533
757
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -550,6 +774,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
550
774
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
551
775
|
}>;
|
|
552
776
|
} | undefined;
|
|
777
|
+
libraryExport?: string | undefined;
|
|
778
|
+
implementation?: {
|
|
779
|
+
module: string;
|
|
780
|
+
parameters: string[];
|
|
781
|
+
export: string;
|
|
782
|
+
} | undefined;
|
|
553
783
|
}[];
|
|
554
784
|
name: string;
|
|
555
785
|
id: string;
|
|
@@ -576,6 +806,11 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
576
806
|
} | undefined;
|
|
577
807
|
auth?: string[] | undefined;
|
|
578
808
|
category?: string | undefined;
|
|
809
|
+
npmDependencies?: {
|
|
810
|
+
package: string;
|
|
811
|
+
version: string;
|
|
812
|
+
spec: string;
|
|
813
|
+
}[] | undefined;
|
|
579
814
|
} | undefined;
|
|
580
815
|
description?: string | undefined;
|
|
581
816
|
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,6 +824,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
589
824
|
}>;
|
|
590
825
|
description?: string | undefined;
|
|
591
826
|
}> | undefined;
|
|
827
|
+
library?: {
|
|
828
|
+
entry: "library/index.js";
|
|
829
|
+
format: 1;
|
|
830
|
+
types: "library/index.d.ts";
|
|
831
|
+
exports: string[];
|
|
832
|
+
} | undefined;
|
|
592
833
|
author?: string | undefined;
|
|
593
834
|
homepage?: string | undefined;
|
|
594
835
|
license?: string | undefined;
|
|
@@ -601,6 +842,13 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
601
842
|
command: string;
|
|
602
843
|
symbol?: string | undefined;
|
|
603
844
|
label?: string | undefined;
|
|
845
|
+
source?: {
|
|
846
|
+
kind: "plugin";
|
|
847
|
+
} | {
|
|
848
|
+
package: string;
|
|
849
|
+
kind: "npm";
|
|
850
|
+
version: string;
|
|
851
|
+
} | undefined;
|
|
604
852
|
env?: string[] | undefined;
|
|
605
853
|
inputs?: Record<string, unknown> | undefined;
|
|
606
854
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -623,6 +871,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
623
871
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
624
872
|
}>;
|
|
625
873
|
} | undefined;
|
|
874
|
+
libraryExport?: string | undefined;
|
|
875
|
+
implementation?: {
|
|
876
|
+
module: string;
|
|
877
|
+
parameters: string[];
|
|
878
|
+
export: string;
|
|
879
|
+
} | undefined;
|
|
626
880
|
}[] | undefined;
|
|
627
881
|
source?: {
|
|
628
882
|
kind: "plugin";
|
|
@@ -640,6 +894,11 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
640
894
|
auth?: string[] | undefined;
|
|
641
895
|
category?: string | undefined;
|
|
642
896
|
tags?: string[] | undefined;
|
|
897
|
+
npmDependencies?: {
|
|
898
|
+
package: string;
|
|
899
|
+
version: string;
|
|
900
|
+
spec: string;
|
|
901
|
+
}[] | undefined;
|
|
643
902
|
} | undefined;
|
|
644
903
|
scope?: ("user" | "group" | "org" | "public")[] | undefined;
|
|
645
904
|
description?: string | undefined;
|
|
@@ -655,6 +914,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
655
914
|
description?: string | undefined;
|
|
656
915
|
}> | undefined;
|
|
657
916
|
schemaVersion?: string | undefined;
|
|
917
|
+
library?: {
|
|
918
|
+
entry: "library/index.js";
|
|
919
|
+
format: 1;
|
|
920
|
+
types: "library/index.d.ts";
|
|
921
|
+
exports: string[];
|
|
922
|
+
} | undefined;
|
|
658
923
|
author?: string | undefined;
|
|
659
924
|
homepage?: string | undefined;
|
|
660
925
|
license?: string | undefined;
|
|
@@ -668,6 +933,13 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
668
933
|
command: string;
|
|
669
934
|
symbol?: string | undefined;
|
|
670
935
|
label?: string | undefined;
|
|
936
|
+
source?: {
|
|
937
|
+
kind: "plugin";
|
|
938
|
+
} | {
|
|
939
|
+
package: string;
|
|
940
|
+
kind: "npm";
|
|
941
|
+
version: string;
|
|
942
|
+
} | undefined;
|
|
671
943
|
env?: string[] | undefined;
|
|
672
944
|
inputs?: Record<string, unknown> | undefined;
|
|
673
945
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -690,6 +962,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
690
962
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
691
963
|
}>;
|
|
692
964
|
} | undefined;
|
|
965
|
+
libraryExport?: string | undefined;
|
|
966
|
+
implementation?: {
|
|
967
|
+
module: string;
|
|
968
|
+
parameters: string[];
|
|
969
|
+
export: string;
|
|
970
|
+
} | undefined;
|
|
693
971
|
}[];
|
|
694
972
|
name: string;
|
|
695
973
|
id: string;
|
|
@@ -716,6 +994,11 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
716
994
|
} | undefined;
|
|
717
995
|
auth?: string[] | undefined;
|
|
718
996
|
category?: string | undefined;
|
|
997
|
+
npmDependencies?: {
|
|
998
|
+
package: string;
|
|
999
|
+
version: string;
|
|
1000
|
+
spec: string;
|
|
1001
|
+
}[] | undefined;
|
|
719
1002
|
} | undefined;
|
|
720
1003
|
description?: string | undefined;
|
|
721
1004
|
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;
|
|
@@ -729,6 +1012,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
729
1012
|
}>;
|
|
730
1013
|
description?: string | undefined;
|
|
731
1014
|
}> | undefined;
|
|
1015
|
+
library?: {
|
|
1016
|
+
entry: "library/index.js";
|
|
1017
|
+
format: 1;
|
|
1018
|
+
types: "library/index.d.ts";
|
|
1019
|
+
exports: string[];
|
|
1020
|
+
} | undefined;
|
|
732
1021
|
author?: string | undefined;
|
|
733
1022
|
homepage?: string | undefined;
|
|
734
1023
|
license?: string | undefined;
|
|
@@ -741,6 +1030,13 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
741
1030
|
command: string;
|
|
742
1031
|
symbol?: string | undefined;
|
|
743
1032
|
label?: string | undefined;
|
|
1033
|
+
source?: {
|
|
1034
|
+
kind: "plugin";
|
|
1035
|
+
} | {
|
|
1036
|
+
package: string;
|
|
1037
|
+
kind: "npm";
|
|
1038
|
+
version: string;
|
|
1039
|
+
} | undefined;
|
|
744
1040
|
env?: string[] | undefined;
|
|
745
1041
|
inputs?: Record<string, unknown> | undefined;
|
|
746
1042
|
outputs?: Record<string, unknown> | undefined;
|
|
@@ -763,6 +1059,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
763
1059
|
targets: Partial<Record<"node.inspector.inputs", string>>;
|
|
764
1060
|
}>;
|
|
765
1061
|
} | undefined;
|
|
1062
|
+
libraryExport?: string | undefined;
|
|
1063
|
+
implementation?: {
|
|
1064
|
+
module: string;
|
|
1065
|
+
parameters: string[];
|
|
1066
|
+
export: string;
|
|
1067
|
+
} | undefined;
|
|
766
1068
|
}[] | undefined;
|
|
767
1069
|
source?: {
|
|
768
1070
|
kind: "plugin";
|
|
@@ -780,6 +1082,11 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
780
1082
|
auth?: string[] | undefined;
|
|
781
1083
|
category?: string | undefined;
|
|
782
1084
|
tags?: string[] | undefined;
|
|
1085
|
+
npmDependencies?: {
|
|
1086
|
+
package: string;
|
|
1087
|
+
version: string;
|
|
1088
|
+
spec: string;
|
|
1089
|
+
}[] | undefined;
|
|
783
1090
|
} | undefined;
|
|
784
1091
|
scope?: ("user" | "group" | "org" | "public")[] | undefined;
|
|
785
1092
|
description?: string | undefined;
|
|
@@ -795,6 +1102,12 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
|
|
|
795
1102
|
description?: string | undefined;
|
|
796
1103
|
}> | undefined;
|
|
797
1104
|
schemaVersion?: string | undefined;
|
|
1105
|
+
library?: {
|
|
1106
|
+
entry: "library/index.js";
|
|
1107
|
+
format: 1;
|
|
1108
|
+
types: "library/index.d.ts";
|
|
1109
|
+
exports: string[];
|
|
1110
|
+
} | undefined;
|
|
798
1111
|
author?: string | undefined;
|
|
799
1112
|
homepage?: string | undefined;
|
|
800
1113
|
license?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;GAIG;AACH,eAAO,MAAM,WAAW,+CAA6C,CAAC;AACtE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,sCAAoC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,eAAO,MAAM,0BAA0B,QAAa,CAAC;AAerD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAed,CAAC;AACZ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,MAAM,MA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