@noodleseed/one 0.138.0 → 0.139.1
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/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/import.d.ts +4 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +198 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/project-setup.d.ts +1 -1
- package/dist/commands/project-setup.d.ts.map +1 -1
- package/dist/commands/project-setup.js +2 -48
- package/dist/commands/project-setup.js.map +1 -1
- package/dist/commands/service-ops.d.ts.map +1 -1
- package/dist/commands/service-ops.js +44 -51
- package/dist/commands/service-ops.js.map +1 -1
- package/dist/mcp-import.d.ts +22 -0
- package/dist/mcp-import.d.ts.map +1 -0
- package/dist/mcp-import.js +91 -0
- package/dist/mcp-import.js.map +1 -0
- package/dist/self-host-init.d.ts +23 -0
- package/dist/self-host-init.d.ts.map +1 -0
- package/dist/self-host-init.js +315 -0
- package/dist/self-host-init.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +3 -3
- package/node_modules/@noodle-borg/agent-kit/dist/skill-authoring-refs.js +11 -2
- package/node_modules/@noodle-borg/agent-kit/dist/skill-connect-refs.js +31 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.js +3 -2
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-guide.d.ts +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-guide.js +35 -1
- package/node_modules/@noodle-borg/assistant-gateway/package.json +1 -1
- package/node_modules/@noodle-borg/authoring/dist/connections.js +1 -0
- package/node_modules/@noodle-borg/authoring/dist/connectors.d.ts +25 -3
- package/node_modules/@noodle-borg/authoring/dist/connectors.js +82 -7
- package/node_modules/@noodle-borg/authoring/dist/index.d.ts +1 -1
- package/node_modules/@noodle-borg/authoring/dist/model-tool-visibility.js +33 -0
- package/node_modules/@noodle-borg/authoring/dist/server.d.ts +5 -0
- package/node_modules/@noodle-borg/authoring/dist/server.js +7 -2
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-account.js +13 -1
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-authoring.js +30 -1
- package/node_modules/@noodle-borg/connector-defs/dist/call-graph.js +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/compile-mcp.js +95 -0
- package/node_modules/@noodle-borg/connector-defs/dist/compile.js +4 -0
- package/node_modules/@noodle-borg/connector-defs/dist/customer-routing.js +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/index.d.ts +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/schema.d.ts +642 -3
- package/node_modules/@noodle-borg/connector-defs/dist/schema.js +143 -1
- package/node_modules/@noodle-borg/connector-http/dist/index.d.ts +1 -0
- package/node_modules/@noodle-borg/connector-http/dist/index.js +1 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/config.js +76 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/egress.js +125 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/failure.js +48 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/index.d.ts +3 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/index.js +2 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/mcp-connector.d.ts +12 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/mcp-connector.js +125 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/result.js +55 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/types.d.ts +52 -0
- package/node_modules/@noodle-borg/connector-http/dist/mcp/types.js +10 -0
- package/node_modules/@noodle-borg/connector-http/package.json +4 -1
- package/node_modules/@noodle-borg/openapi-import/dist/index.js +1 -0
- package/node_modules/@noodle-borg/openapi-import/dist/mcp/index.js +4 -0
- package/node_modules/@noodle-borg/openapi-import/dist/mcp/probe.js +165 -0
- package/node_modules/@noodle-borg/openapi-import/dist/mcp/render.js +99 -0
- package/node_modules/@noodle-borg/openapi-import/dist/mcp/snapshot.js +290 -0
- package/node_modules/@noodle-borg/openapi-import/package.json +6 -2
- package/node_modules/@noodle-borg/runtime/dist/connector/types.d.ts +2 -0
- package/node_modules/@noodle-borg/runtime/dist/operation-execution.js +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/assistant-agent.js +8 -5
- package/node_modules/@noodle-borg/service/package.json +1 -1
- package/node_modules/@noodleseed/assistant/package.json +1 -1
- package/package.json +2 -2
|
@@ -229,6 +229,98 @@ declare const httpOperationSchema: z.ZodObject<{
|
|
|
229
229
|
audience: z.ZodOptional<z.ZodString>;
|
|
230
230
|
}, z.core.$strict>>;
|
|
231
231
|
}, z.core.$strict>;
|
|
232
|
+
/** One frozen upstream MCP tool projected as one ordinary connector operation. */
|
|
233
|
+
declare const mcpOperationSchema: z.ZodObject<{
|
|
234
|
+
type: z.ZodEnum<{
|
|
235
|
+
read: "read";
|
|
236
|
+
action: "action";
|
|
237
|
+
}>;
|
|
238
|
+
tool: z.ZodString;
|
|
239
|
+
input: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
240
|
+
output: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
241
|
+
result: z.ZodDefault<z.ZodEnum<{
|
|
242
|
+
text: "text";
|
|
243
|
+
structured: "structured";
|
|
244
|
+
}>>;
|
|
245
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
246
|
+
kind: z.ZodLiteral<"bearer">;
|
|
247
|
+
secret: z.ZodString;
|
|
248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
249
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
250
|
+
header: z.ZodString;
|
|
251
|
+
secret: z.ZodString;
|
|
252
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
253
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
254
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
255
|
+
custom: "custom";
|
|
256
|
+
oauth2: "oauth2";
|
|
257
|
+
}>>;
|
|
258
|
+
tokenUrl: z.ZodString;
|
|
259
|
+
clientId: z.ZodString;
|
|
260
|
+
clientSecret: z.ZodString;
|
|
261
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
263
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
client_secret_basic: "client_secret_basic";
|
|
265
|
+
client_secret_post: "client_secret_post";
|
|
266
|
+
}>>;
|
|
267
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
269
|
+
json: "json";
|
|
270
|
+
form: "form";
|
|
271
|
+
}>>;
|
|
272
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
273
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
274
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
275
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
276
|
+
jwt: "jwt";
|
|
277
|
+
expiresIn: "expiresIn";
|
|
278
|
+
expiresAt: "expiresAt";
|
|
279
|
+
}>>>;
|
|
280
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
283
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
284
|
+
provider: z.ZodString;
|
|
285
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
286
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
287
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
288
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
289
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
client_secret_basic: "client_secret_basic";
|
|
291
|
+
client_secret_post: "client_secret_post";
|
|
292
|
+
}>>;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
294
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
295
|
+
provider: z.ZodString;
|
|
296
|
+
sessionUrl: z.ZodString;
|
|
297
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
299
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
300
|
+
tokenUrl: z.ZodString;
|
|
301
|
+
clientId: z.ZodString;
|
|
302
|
+
clientSecret: z.ZodString;
|
|
303
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
304
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
305
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
306
|
+
client_secret_basic: "client_secret_basic";
|
|
307
|
+
client_secret_post: "client_secret_post";
|
|
308
|
+
}>>;
|
|
309
|
+
}, z.core.$strict>], "kind">>;
|
|
310
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
maxResponseBytes: z.ZodNumber;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
fake: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
314
|
+
structuredContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
316
|
+
text: z.ZodString;
|
|
317
|
+
}, z.core.$strict>]>>;
|
|
318
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
320
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
321
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, z.core.$strict>>;
|
|
323
|
+
}, z.core.$strict>;
|
|
232
324
|
/**
|
|
233
325
|
* A sandboxed-code operation: a JavaScript expression that evaluates to a handler `fn(input) -> output`,
|
|
234
326
|
* run with no ambient authority. No `path`/`method`/`request`/`response` — those are HTTP transport
|
|
@@ -497,6 +589,189 @@ declare const httpConnectorDefSchema: z.ZodObject<{
|
|
|
497
589
|
header: z.ZodString;
|
|
498
590
|
}, z.core.$strict>], "kind">>>;
|
|
499
591
|
}, z.core.$strict>;
|
|
592
|
+
/** A governed remote MCP connector with a compile-time-frozen tool snapshot. */
|
|
593
|
+
declare const mcpConnectorDefSchema: z.ZodObject<{
|
|
594
|
+
mcp: z.ZodObject<{
|
|
595
|
+
endpoint: z.ZodString;
|
|
596
|
+
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
597
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
598
|
+
kind: z.ZodLiteral<"bearer">;
|
|
599
|
+
secret: z.ZodString;
|
|
600
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
601
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
602
|
+
header: z.ZodString;
|
|
603
|
+
secret: z.ZodString;
|
|
604
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
605
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
606
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
607
|
+
custom: "custom";
|
|
608
|
+
oauth2: "oauth2";
|
|
609
|
+
}>>;
|
|
610
|
+
tokenUrl: z.ZodString;
|
|
611
|
+
clientId: z.ZodString;
|
|
612
|
+
clientSecret: z.ZodString;
|
|
613
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
614
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
615
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
616
|
+
client_secret_basic: "client_secret_basic";
|
|
617
|
+
client_secret_post: "client_secret_post";
|
|
618
|
+
}>>;
|
|
619
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
620
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
621
|
+
json: "json";
|
|
622
|
+
form: "form";
|
|
623
|
+
}>>;
|
|
624
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
625
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
626
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
627
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
628
|
+
jwt: "jwt";
|
|
629
|
+
expiresIn: "expiresIn";
|
|
630
|
+
expiresAt: "expiresAt";
|
|
631
|
+
}>>>;
|
|
632
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
633
|
+
}, z.core.$strict>>;
|
|
634
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
635
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
636
|
+
provider: z.ZodString;
|
|
637
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
638
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
639
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
640
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
641
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
642
|
+
client_secret_basic: "client_secret_basic";
|
|
643
|
+
client_secret_post: "client_secret_post";
|
|
644
|
+
}>>;
|
|
645
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
646
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
647
|
+
provider: z.ZodString;
|
|
648
|
+
sessionUrl: z.ZodString;
|
|
649
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
651
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
652
|
+
tokenUrl: z.ZodString;
|
|
653
|
+
clientId: z.ZodString;
|
|
654
|
+
clientSecret: z.ZodString;
|
|
655
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
656
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
657
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
client_secret_basic: "client_secret_basic";
|
|
659
|
+
client_secret_post: "client_secret_post";
|
|
660
|
+
}>>;
|
|
661
|
+
}, z.core.$strict>], "kind">>;
|
|
662
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
663
|
+
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
664
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
auto: "auto";
|
|
666
|
+
legacy: "legacy";
|
|
667
|
+
modern: "modern";
|
|
668
|
+
}>>;
|
|
669
|
+
}, z.core.$strict>;
|
|
670
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
671
|
+
type: z.ZodEnum<{
|
|
672
|
+
read: "read";
|
|
673
|
+
action: "action";
|
|
674
|
+
}>;
|
|
675
|
+
tool: z.ZodString;
|
|
676
|
+
input: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
677
|
+
output: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
678
|
+
result: z.ZodDefault<z.ZodEnum<{
|
|
679
|
+
text: "text";
|
|
680
|
+
structured: "structured";
|
|
681
|
+
}>>;
|
|
682
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
683
|
+
kind: z.ZodLiteral<"bearer">;
|
|
684
|
+
secret: z.ZodString;
|
|
685
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
686
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
687
|
+
header: z.ZodString;
|
|
688
|
+
secret: z.ZodString;
|
|
689
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
690
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
691
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
692
|
+
custom: "custom";
|
|
693
|
+
oauth2: "oauth2";
|
|
694
|
+
}>>;
|
|
695
|
+
tokenUrl: z.ZodString;
|
|
696
|
+
clientId: z.ZodString;
|
|
697
|
+
clientSecret: z.ZodString;
|
|
698
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
699
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
700
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
701
|
+
client_secret_basic: "client_secret_basic";
|
|
702
|
+
client_secret_post: "client_secret_post";
|
|
703
|
+
}>>;
|
|
704
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
705
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
706
|
+
json: "json";
|
|
707
|
+
form: "form";
|
|
708
|
+
}>>;
|
|
709
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
710
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
711
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
712
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
713
|
+
jwt: "jwt";
|
|
714
|
+
expiresIn: "expiresIn";
|
|
715
|
+
expiresAt: "expiresAt";
|
|
716
|
+
}>>>;
|
|
717
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
718
|
+
}, z.core.$strict>>;
|
|
719
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
720
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
721
|
+
provider: z.ZodString;
|
|
722
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
723
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
724
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
725
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
726
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
727
|
+
client_secret_basic: "client_secret_basic";
|
|
728
|
+
client_secret_post: "client_secret_post";
|
|
729
|
+
}>>;
|
|
730
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
731
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
732
|
+
provider: z.ZodString;
|
|
733
|
+
sessionUrl: z.ZodString;
|
|
734
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
736
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
737
|
+
tokenUrl: z.ZodString;
|
|
738
|
+
clientId: z.ZodString;
|
|
739
|
+
clientSecret: z.ZodString;
|
|
740
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
741
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
742
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
743
|
+
client_secret_basic: "client_secret_basic";
|
|
744
|
+
client_secret_post: "client_secret_post";
|
|
745
|
+
}>>;
|
|
746
|
+
}, z.core.$strict>], "kind">>;
|
|
747
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
748
|
+
maxResponseBytes: z.ZodNumber;
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
fake: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
751
|
+
structuredContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
753
|
+
text: z.ZodString;
|
|
754
|
+
}, z.core.$strict>]>>;
|
|
755
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
756
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
757
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
758
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
759
|
+
}, z.core.$strict>>;
|
|
760
|
+
}, z.core.$strict>>;
|
|
761
|
+
id: z.ZodString;
|
|
762
|
+
version: z.ZodString;
|
|
763
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
764
|
+
custom: "custom";
|
|
765
|
+
builtin: "builtin";
|
|
766
|
+
catalog: "catalog";
|
|
767
|
+
}>>;
|
|
768
|
+
credentialProfiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
769
|
+
kind: z.ZodLiteral<"bearer">;
|
|
770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
771
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
772
|
+
header: z.ZodString;
|
|
773
|
+
}, z.core.$strict>], "kind">>>;
|
|
774
|
+
}, z.core.$strict>;
|
|
500
775
|
/** A compute connector: sandboxed-code operations, no `http` block. */
|
|
501
776
|
declare const computeConnectorDefSchema: z.ZodObject<{
|
|
502
777
|
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -779,9 +1054,190 @@ declare const connectorDefSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
779
1054
|
header: z.ZodString;
|
|
780
1055
|
}, z.core.$strict>], "kind">>>;
|
|
781
1056
|
}, z.core.$strict>, z.ZodObject<{
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
1057
|
+
mcp: z.ZodObject<{
|
|
1058
|
+
endpoint: z.ZodString;
|
|
1059
|
+
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1060
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1061
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1062
|
+
secret: z.ZodString;
|
|
1063
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1064
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
1065
|
+
header: z.ZodString;
|
|
1066
|
+
secret: z.ZodString;
|
|
1067
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1068
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
1069
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
1070
|
+
custom: "custom";
|
|
1071
|
+
oauth2: "oauth2";
|
|
1072
|
+
}>>;
|
|
1073
|
+
tokenUrl: z.ZodString;
|
|
1074
|
+
clientId: z.ZodString;
|
|
1075
|
+
clientSecret: z.ZodString;
|
|
1076
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1079
|
+
client_secret_basic: "client_secret_basic";
|
|
1080
|
+
client_secret_post: "client_secret_post";
|
|
1081
|
+
}>>;
|
|
1082
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
1083
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
1084
|
+
json: "json";
|
|
1085
|
+
form: "form";
|
|
1086
|
+
}>>;
|
|
1087
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
1088
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
1089
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
1090
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1091
|
+
jwt: "jwt";
|
|
1092
|
+
expiresIn: "expiresIn";
|
|
1093
|
+
expiresAt: "expiresAt";
|
|
1094
|
+
}>>>;
|
|
1095
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1096
|
+
}, z.core.$strict>>;
|
|
1097
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1098
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
1099
|
+
provider: z.ZodString;
|
|
1100
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1104
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1105
|
+
client_secret_basic: "client_secret_basic";
|
|
1106
|
+
client_secret_post: "client_secret_post";
|
|
1107
|
+
}>>;
|
|
1108
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1109
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
1110
|
+
provider: z.ZodString;
|
|
1111
|
+
sessionUrl: z.ZodString;
|
|
1112
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1114
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
1115
|
+
tokenUrl: z.ZodString;
|
|
1116
|
+
clientId: z.ZodString;
|
|
1117
|
+
clientSecret: z.ZodString;
|
|
1118
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1119
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1121
|
+
client_secret_basic: "client_secret_basic";
|
|
1122
|
+
client_secret_post: "client_secret_post";
|
|
1123
|
+
}>>;
|
|
1124
|
+
}, z.core.$strict>], "kind">>;
|
|
1125
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1126
|
+
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
1128
|
+
auto: "auto";
|
|
1129
|
+
legacy: "legacy";
|
|
1130
|
+
modern: "modern";
|
|
1131
|
+
}>>;
|
|
1132
|
+
}, z.core.$strict>;
|
|
1133
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1134
|
+
type: z.ZodEnum<{
|
|
1135
|
+
read: "read";
|
|
1136
|
+
action: "action";
|
|
1137
|
+
}>;
|
|
1138
|
+
tool: z.ZodString;
|
|
1139
|
+
input: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1140
|
+
output: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1141
|
+
result: z.ZodDefault<z.ZodEnum<{
|
|
1142
|
+
text: "text";
|
|
1143
|
+
structured: "structured";
|
|
1144
|
+
}>>;
|
|
1145
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1146
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1147
|
+
secret: z.ZodString;
|
|
1148
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1149
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
1150
|
+
header: z.ZodString;
|
|
1151
|
+
secret: z.ZodString;
|
|
1152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1153
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
1154
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
1155
|
+
custom: "custom";
|
|
1156
|
+
oauth2: "oauth2";
|
|
1157
|
+
}>>;
|
|
1158
|
+
tokenUrl: z.ZodString;
|
|
1159
|
+
clientId: z.ZodString;
|
|
1160
|
+
clientSecret: z.ZodString;
|
|
1161
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1162
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1164
|
+
client_secret_basic: "client_secret_basic";
|
|
1165
|
+
client_secret_post: "client_secret_post";
|
|
1166
|
+
}>>;
|
|
1167
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
1168
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
1169
|
+
json: "json";
|
|
1170
|
+
form: "form";
|
|
1171
|
+
}>>;
|
|
1172
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
1173
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
1174
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
1175
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1176
|
+
jwt: "jwt";
|
|
1177
|
+
expiresIn: "expiresIn";
|
|
1178
|
+
expiresAt: "expiresAt";
|
|
1179
|
+
}>>>;
|
|
1180
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1181
|
+
}, z.core.$strict>>;
|
|
1182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1183
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
1184
|
+
provider: z.ZodString;
|
|
1185
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
1186
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1190
|
+
client_secret_basic: "client_secret_basic";
|
|
1191
|
+
client_secret_post: "client_secret_post";
|
|
1192
|
+
}>>;
|
|
1193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1194
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
1195
|
+
provider: z.ZodString;
|
|
1196
|
+
sessionUrl: z.ZodString;
|
|
1197
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1199
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
1200
|
+
tokenUrl: z.ZodString;
|
|
1201
|
+
clientId: z.ZodString;
|
|
1202
|
+
clientSecret: z.ZodString;
|
|
1203
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1204
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1205
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1206
|
+
client_secret_basic: "client_secret_basic";
|
|
1207
|
+
client_secret_post: "client_secret_post";
|
|
1208
|
+
}>>;
|
|
1209
|
+
}, z.core.$strict>], "kind">>;
|
|
1210
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
1211
|
+
maxResponseBytes: z.ZodNumber;
|
|
1212
|
+
}, z.core.$strict>>;
|
|
1213
|
+
fake: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1214
|
+
structuredContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1216
|
+
text: z.ZodString;
|
|
1217
|
+
}, z.core.$strict>]>>;
|
|
1218
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
1219
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
1220
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1221
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
}, z.core.$strict>>;
|
|
1223
|
+
}, z.core.$strict>>;
|
|
1224
|
+
id: z.ZodString;
|
|
1225
|
+
version: z.ZodString;
|
|
1226
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1227
|
+
custom: "custom";
|
|
1228
|
+
builtin: "builtin";
|
|
1229
|
+
catalog: "catalog";
|
|
1230
|
+
}>>;
|
|
1231
|
+
credentialProfiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1232
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1233
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1234
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
1235
|
+
header: z.ZodString;
|
|
1236
|
+
}, z.core.$strict>], "kind">>>;
|
|
1237
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1238
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1239
|
+
type: z.ZodEnum<{
|
|
1240
|
+
read: "read";
|
|
785
1241
|
action: "action";
|
|
786
1242
|
}>;
|
|
787
1243
|
input: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -1055,6 +1511,187 @@ export declare const connectorFileSchema: z.ZodObject<{
|
|
|
1055
1511
|
kind: z.ZodLiteral<"apiKey">;
|
|
1056
1512
|
header: z.ZodString;
|
|
1057
1513
|
}, z.core.$strict>], "kind">>>;
|
|
1514
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1515
|
+
mcp: z.ZodObject<{
|
|
1516
|
+
endpoint: z.ZodString;
|
|
1517
|
+
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1518
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1519
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1520
|
+
secret: z.ZodString;
|
|
1521
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1522
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
1523
|
+
header: z.ZodString;
|
|
1524
|
+
secret: z.ZodString;
|
|
1525
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1526
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
1527
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
1528
|
+
custom: "custom";
|
|
1529
|
+
oauth2: "oauth2";
|
|
1530
|
+
}>>;
|
|
1531
|
+
tokenUrl: z.ZodString;
|
|
1532
|
+
clientId: z.ZodString;
|
|
1533
|
+
clientSecret: z.ZodString;
|
|
1534
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1535
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1537
|
+
client_secret_basic: "client_secret_basic";
|
|
1538
|
+
client_secret_post: "client_secret_post";
|
|
1539
|
+
}>>;
|
|
1540
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
1541
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
1542
|
+
json: "json";
|
|
1543
|
+
form: "form";
|
|
1544
|
+
}>>;
|
|
1545
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
1546
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
1547
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
1548
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1549
|
+
jwt: "jwt";
|
|
1550
|
+
expiresIn: "expiresIn";
|
|
1551
|
+
expiresAt: "expiresAt";
|
|
1552
|
+
}>>>;
|
|
1553
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1554
|
+
}, z.core.$strict>>;
|
|
1555
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1556
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
1557
|
+
provider: z.ZodString;
|
|
1558
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1560
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1562
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1563
|
+
client_secret_basic: "client_secret_basic";
|
|
1564
|
+
client_secret_post: "client_secret_post";
|
|
1565
|
+
}>>;
|
|
1566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1567
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
1568
|
+
provider: z.ZodString;
|
|
1569
|
+
sessionUrl: z.ZodString;
|
|
1570
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
1571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1572
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
1573
|
+
tokenUrl: z.ZodString;
|
|
1574
|
+
clientId: z.ZodString;
|
|
1575
|
+
clientSecret: z.ZodString;
|
|
1576
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1577
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1579
|
+
client_secret_basic: "client_secret_basic";
|
|
1580
|
+
client_secret_post: "client_secret_post";
|
|
1581
|
+
}>>;
|
|
1582
|
+
}, z.core.$strict>], "kind">>;
|
|
1583
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1584
|
+
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
1585
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
1586
|
+
auto: "auto";
|
|
1587
|
+
legacy: "legacy";
|
|
1588
|
+
modern: "modern";
|
|
1589
|
+
}>>;
|
|
1590
|
+
}, z.core.$strict>;
|
|
1591
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1592
|
+
type: z.ZodEnum<{
|
|
1593
|
+
read: "read";
|
|
1594
|
+
action: "action";
|
|
1595
|
+
}>;
|
|
1596
|
+
tool: z.ZodString;
|
|
1597
|
+
input: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1598
|
+
output: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1599
|
+
result: z.ZodDefault<z.ZodEnum<{
|
|
1600
|
+
text: "text";
|
|
1601
|
+
structured: "structured";
|
|
1602
|
+
}>>;
|
|
1603
|
+
auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1604
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1605
|
+
secret: z.ZodString;
|
|
1606
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1607
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
1608
|
+
header: z.ZodString;
|
|
1609
|
+
secret: z.ZodString;
|
|
1610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1611
|
+
kind: z.ZodLiteral<"clientCredentials">;
|
|
1612
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
1613
|
+
custom: "custom";
|
|
1614
|
+
oauth2: "oauth2";
|
|
1615
|
+
}>>;
|
|
1616
|
+
tokenUrl: z.ZodString;
|
|
1617
|
+
clientId: z.ZodString;
|
|
1618
|
+
clientSecret: z.ZodString;
|
|
1619
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1620
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1622
|
+
client_secret_basic: "client_secret_basic";
|
|
1623
|
+
client_secret_post: "client_secret_post";
|
|
1624
|
+
}>>;
|
|
1625
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
1626
|
+
requestFormat: z.ZodDefault<z.ZodEnum<{
|
|
1627
|
+
json: "json";
|
|
1628
|
+
form: "form";
|
|
1629
|
+
}>>;
|
|
1630
|
+
clientIdField: z.ZodDefault<z.ZodString>;
|
|
1631
|
+
clientSecretField: z.ZodDefault<z.ZodString>;
|
|
1632
|
+
tokenResponsePath: z.ZodDefault<z.ZodString>;
|
|
1633
|
+
expirySource: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1634
|
+
jwt: "jwt";
|
|
1635
|
+
expiresIn: "expiresIn";
|
|
1636
|
+
expiresAt: "expiresAt";
|
|
1637
|
+
}>>>;
|
|
1638
|
+
fallbackTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1639
|
+
}, z.core.$strict>>;
|
|
1640
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1641
|
+
kind: z.ZodLiteral<"delegatedOAuth">;
|
|
1642
|
+
provider: z.ZodString;
|
|
1643
|
+
tokenUrl: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1647
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1648
|
+
client_secret_basic: "client_secret_basic";
|
|
1649
|
+
client_secret_post: "client_secret_post";
|
|
1650
|
+
}>>;
|
|
1651
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1652
|
+
kind: z.ZodLiteral<"delegatedSessionCookie">;
|
|
1653
|
+
provider: z.ZodString;
|
|
1654
|
+
sessionUrl: z.ZodString;
|
|
1655
|
+
tokenField: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1657
|
+
kind: z.ZodLiteral<"delegatedTokenExchange">;
|
|
1658
|
+
tokenUrl: z.ZodString;
|
|
1659
|
+
clientId: z.ZodString;
|
|
1660
|
+
clientSecret: z.ZodString;
|
|
1661
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1662
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
authMethod: z.ZodOptional<z.ZodEnum<{
|
|
1664
|
+
client_secret_basic: "client_secret_basic";
|
|
1665
|
+
client_secret_post: "client_secret_post";
|
|
1666
|
+
}>>;
|
|
1667
|
+
}, z.core.$strict>], "kind">>;
|
|
1668
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
1669
|
+
maxResponseBytes: z.ZodNumber;
|
|
1670
|
+
}, z.core.$strict>>;
|
|
1671
|
+
fake: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1672
|
+
structuredContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1674
|
+
text: z.ZodString;
|
|
1675
|
+
}, z.core.$strict>]>>;
|
|
1676
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
1677
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
1678
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1679
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
}, z.core.$strict>>;
|
|
1681
|
+
}, z.core.$strict>>;
|
|
1682
|
+
id: z.ZodString;
|
|
1683
|
+
version: z.ZodString;
|
|
1684
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1685
|
+
custom: "custom";
|
|
1686
|
+
builtin: "builtin";
|
|
1687
|
+
catalog: "catalog";
|
|
1688
|
+
}>>;
|
|
1689
|
+
credentialProfiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1690
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1691
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1692
|
+
kind: z.ZodLiteral<"apiKey">;
|
|
1693
|
+
header: z.ZodString;
|
|
1694
|
+
}, z.core.$strict>], "kind">>>;
|
|
1058
1695
|
}, z.core.$strict>, z.ZodObject<{
|
|
1059
1696
|
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1060
1697
|
type: z.ZodEnum<{
|
|
@@ -1096,8 +1733,10 @@ export type ConnectorFile = z.infer<typeof connectorFileSchema>;
|
|
|
1096
1733
|
export type ConnectorDef = z.infer<typeof connectorDefSchema>;
|
|
1097
1734
|
export type HttpConnectorDef = z.infer<typeof httpConnectorDefSchema>;
|
|
1098
1735
|
export type ComputeConnectorDef = z.infer<typeof computeConnectorDefSchema>;
|
|
1736
|
+
export type McpConnectorDef = z.infer<typeof mcpConnectorDefSchema>;
|
|
1099
1737
|
export type HttpOperationDef = z.infer<typeof httpOperationSchema>;
|
|
1100
1738
|
export type ComputeOperationDef = z.infer<typeof computeOperationSchema>;
|
|
1739
|
+
export type McpOperationDef = z.infer<typeof mcpOperationSchema>;
|
|
1101
1740
|
export type HttpAuthDef = z.infer<typeof httpAuthSchema>;
|
|
1102
1741
|
export type CredentialProfileDef = z.infer<typeof credentialProfileSchema>;
|
|
1103
1742
|
export type OperationCredentialsDef = z.infer<typeof operationCredentialsSchema>;
|