@fern-api/fdr-sdk 1.2.116-bf36e5943c → 1.2.117-ec81981dc4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/mcp-hosting/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAezB,eAAO,MAAM,yBAAyB,kDAAgD,CAAC;AAEvF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;IAQ9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAmCZ,CAAC;AAkBnB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAnB3B,8EAA8E;;QAE9E,kEAAkE;;;;YAdlE,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAYxE,8EAA8E;;QAE9E,kEAAkE;;;;YAdlE,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAYxE,8EAA8E;;YAE9E,kEAAkE;;;;gBAdlE,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAxE,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8C3E,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./client.js";
2
2
  export * from "./contract.js";
3
+ export * from "./kv.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/mcp-hosting/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/mcp-hosting/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,39 @@
1
+ import type { McpAuthScheme, McpMetadata } from "./contract.js";
2
+ import type { DeploymentConfig } from "./schemas.js";
3
+ export type { DeploymentConfig } from "./schemas.js";
4
+ /**
5
+ * The serving-plane KV contract: the value shapes FDR writes to Cloudflare
6
+ * KV at deploy time and the edge workers read at request time. This module
7
+ * is the single source of truth for both sides — FDR imports the projection
8
+ * functions; the outbound worker imports the runtime schema from the
9
+ * `mcp-hosting-schemas` subpath below.
10
+ */
11
+ export interface Requirement {
12
+ label: string;
13
+ envVar: string;
14
+ type: "required" | "optional";
15
+ }
16
+ /** Value of the `meta:{scriptName}` key. Display/audit projection. */
17
+ export interface DeploymentMeta {
18
+ authSchemes: McpAuthScheme[];
19
+ toolCount: number;
20
+ deployedAt: string;
21
+ requirements: Requirement[];
22
+ }
23
+ /** Accept pre-parsed metadata (already validated by the contract schema). */
24
+ export declare function deploymentMetaFromParsed(parsed: McpMetadata, deployedAt?: Date): DeploymentMeta;
25
+ /** Accept pre-parsed metadata (already validated by the contract schema). */
26
+ export declare function deploymentConfigFromParsed(parsed: McpMetadata): DeploymentConfig;
27
+ /**
28
+ * Derive the WfP script name from the server's identity.
29
+ * orgId and slug are already validated by the contract schema.
30
+ */
31
+ export declare function scriptNameFor(input: {
32
+ orgId: string;
33
+ slug: string;
34
+ }): string;
35
+ export declare const KV_KEY_PREFIX_ORG = "org:";
36
+ export declare const KV_KEY_PREFIX_CONFIG = "config:";
37
+ export declare const KV_KEY_PREFIX_META = "meta:";
38
+ export declare const KV_KEY_PREFIXES: readonly ["org:", "config:", "meta:"];
39
+ //# sourceMappingURL=kv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kv.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/mcp-hosting/kv.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD;;;;;;GAMG;AAEH,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;CACjC;AAED,sEAAsE;AACtE,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE,aAAa,EAAE,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,WAAW,EAAE,CAAC;CAC/B;AAED,6EAA6E;AAC7E,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,GAAE,IAAiB,GAAG,cAAc,CAW3G;AAED,6EAA6E;AAC7E,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,WAAW,GAAG,gBAAgB,CAYhF;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAE5E;AAGD,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,oBAAoB,YAAY,CAAC;AAC9C,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAC1C,eAAO,MAAM,eAAe,uCAAyE,CAAC"}
@@ -0,0 +1,520 @@
1
+ import * as z from "zod";
2
+ export declare const McpAuthSchemeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3
+ type: z.ZodLiteral<"bearer">;
4
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5
+ type: z.ZodLiteral<"bearer">;
6
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7
+ type: z.ZodLiteral<"bearer">;
8
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
9
+ type: z.ZodLiteral<"apiKey">;
10
+ paramName: z.ZodString;
11
+ in: z.ZodEnum<["header", "query", "cookie"]>;
12
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13
+ type: z.ZodLiteral<"apiKey">;
14
+ paramName: z.ZodString;
15
+ in: z.ZodEnum<["header", "query", "cookie"]>;
16
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
17
+ type: z.ZodLiteral<"apiKey">;
18
+ paramName: z.ZodString;
19
+ in: z.ZodEnum<["header", "query", "cookie"]>;
20
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
21
+ type: z.ZodLiteral<"basic">;
22
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23
+ type: z.ZodLiteral<"basic">;
24
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25
+ type: z.ZodLiteral<"basic">;
26
+ }, z.ZodTypeAny, "passthrough">>]>;
27
+ export declare const McpMetadataSchema: z.ZodObject<{
28
+ name: z.ZodString;
29
+ toolsets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
30
+ toolsetMetadata: z.ZodArray<z.ZodObject<{
31
+ name: z.ZodString;
32
+ title: z.ZodString;
33
+ description: z.ZodString;
34
+ toolCount: z.ZodNumber;
35
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
36
+ name: z.ZodString;
37
+ title: z.ZodString;
38
+ description: z.ZodString;
39
+ toolCount: z.ZodNumber;
40
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41
+ name: z.ZodString;
42
+ title: z.ZodString;
43
+ description: z.ZodString;
44
+ toolCount: z.ZodNumber;
45
+ }, z.ZodTypeAny, "passthrough">>, "many">;
46
+ auth: z.ZodObject<{
47
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
48
+ type: z.ZodLiteral<"bearer">;
49
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
50
+ type: z.ZodLiteral<"bearer">;
51
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
52
+ type: z.ZodLiteral<"bearer">;
53
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
54
+ type: z.ZodLiteral<"apiKey">;
55
+ paramName: z.ZodString;
56
+ in: z.ZodEnum<["header", "query", "cookie"]>;
57
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
58
+ type: z.ZodLiteral<"apiKey">;
59
+ paramName: z.ZodString;
60
+ in: z.ZodEnum<["header", "query", "cookie"]>;
61
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
62
+ type: z.ZodLiteral<"apiKey">;
63
+ paramName: z.ZodString;
64
+ in: z.ZodEnum<["header", "query", "cookie"]>;
65
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
66
+ type: z.ZodLiteral<"basic">;
67
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
68
+ type: z.ZodLiteral<"basic">;
69
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
70
+ type: z.ZodLiteral<"basic">;
71
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
72
+ required: z.ZodBoolean;
73
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
74
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
75
+ type: z.ZodLiteral<"bearer">;
76
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77
+ type: z.ZodLiteral<"bearer">;
78
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
79
+ type: z.ZodLiteral<"bearer">;
80
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
81
+ type: z.ZodLiteral<"apiKey">;
82
+ paramName: z.ZodString;
83
+ in: z.ZodEnum<["header", "query", "cookie"]>;
84
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
85
+ type: z.ZodLiteral<"apiKey">;
86
+ paramName: z.ZodString;
87
+ in: z.ZodEnum<["header", "query", "cookie"]>;
88
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
89
+ type: z.ZodLiteral<"apiKey">;
90
+ paramName: z.ZodString;
91
+ in: z.ZodEnum<["header", "query", "cookie"]>;
92
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
93
+ type: z.ZodLiteral<"basic">;
94
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
95
+ type: z.ZodLiteral<"basic">;
96
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
97
+ type: z.ZodLiteral<"basic">;
98
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
99
+ required: z.ZodBoolean;
100
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
101
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
102
+ type: z.ZodLiteral<"bearer">;
103
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104
+ type: z.ZodLiteral<"bearer">;
105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
106
+ type: z.ZodLiteral<"bearer">;
107
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
108
+ type: z.ZodLiteral<"apiKey">;
109
+ paramName: z.ZodString;
110
+ in: z.ZodEnum<["header", "query", "cookie"]>;
111
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
112
+ type: z.ZodLiteral<"apiKey">;
113
+ paramName: z.ZodString;
114
+ in: z.ZodEnum<["header", "query", "cookie"]>;
115
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116
+ type: z.ZodLiteral<"apiKey">;
117
+ paramName: z.ZodString;
118
+ in: z.ZodEnum<["header", "query", "cookie"]>;
119
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
120
+ type: z.ZodLiteral<"basic">;
121
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
122
+ type: z.ZodLiteral<"basic">;
123
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
124
+ type: z.ZodLiteral<"basic">;
125
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
126
+ required: z.ZodBoolean;
127
+ }, z.ZodTypeAny, "passthrough">>;
128
+ skippedTools: z.ZodArray<z.ZodObject<{
129
+ name: z.ZodString;
130
+ reason: z.ZodString;
131
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
132
+ name: z.ZodString;
133
+ reason: z.ZodString;
134
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
135
+ name: z.ZodString;
136
+ reason: z.ZodString;
137
+ }, z.ZodTypeAny, "passthrough">>, "many">;
138
+ environmentVariables: z.ZodArray<z.ZodObject<{
139
+ name: z.ZodString;
140
+ description: z.ZodString;
141
+ required: z.ZodBoolean;
142
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
143
+ name: z.ZodString;
144
+ description: z.ZodString;
145
+ required: z.ZodBoolean;
146
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
147
+ name: z.ZodString;
148
+ description: z.ZodString;
149
+ required: z.ZodBoolean;
150
+ }, z.ZodTypeAny, "passthrough">>, "many">;
151
+ baseUrl: z.ZodEffects<z.ZodString, string, string>;
152
+ followRedirects: z.ZodBoolean;
153
+ maxRedirects: z.ZodNumber;
154
+ allowedRedirectHosts: z.ZodArray<z.ZodString, "many">;
155
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
156
+ name: z.ZodString;
157
+ toolsets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
158
+ toolsetMetadata: z.ZodArray<z.ZodObject<{
159
+ name: z.ZodString;
160
+ title: z.ZodString;
161
+ description: z.ZodString;
162
+ toolCount: z.ZodNumber;
163
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
164
+ name: z.ZodString;
165
+ title: z.ZodString;
166
+ description: z.ZodString;
167
+ toolCount: z.ZodNumber;
168
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
169
+ name: z.ZodString;
170
+ title: z.ZodString;
171
+ description: z.ZodString;
172
+ toolCount: z.ZodNumber;
173
+ }, z.ZodTypeAny, "passthrough">>, "many">;
174
+ auth: z.ZodObject<{
175
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
176
+ type: z.ZodLiteral<"bearer">;
177
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
178
+ type: z.ZodLiteral<"bearer">;
179
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
180
+ type: z.ZodLiteral<"bearer">;
181
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
182
+ type: z.ZodLiteral<"apiKey">;
183
+ paramName: z.ZodString;
184
+ in: z.ZodEnum<["header", "query", "cookie"]>;
185
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
186
+ type: z.ZodLiteral<"apiKey">;
187
+ paramName: z.ZodString;
188
+ in: z.ZodEnum<["header", "query", "cookie"]>;
189
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
190
+ type: z.ZodLiteral<"apiKey">;
191
+ paramName: z.ZodString;
192
+ in: z.ZodEnum<["header", "query", "cookie"]>;
193
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
194
+ type: z.ZodLiteral<"basic">;
195
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
196
+ type: z.ZodLiteral<"basic">;
197
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
198
+ type: z.ZodLiteral<"basic">;
199
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
200
+ required: z.ZodBoolean;
201
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
202
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
203
+ type: z.ZodLiteral<"bearer">;
204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
205
+ type: z.ZodLiteral<"bearer">;
206
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
207
+ type: z.ZodLiteral<"bearer">;
208
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
209
+ type: z.ZodLiteral<"apiKey">;
210
+ paramName: z.ZodString;
211
+ in: z.ZodEnum<["header", "query", "cookie"]>;
212
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
213
+ type: z.ZodLiteral<"apiKey">;
214
+ paramName: z.ZodString;
215
+ in: z.ZodEnum<["header", "query", "cookie"]>;
216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
217
+ type: z.ZodLiteral<"apiKey">;
218
+ paramName: z.ZodString;
219
+ in: z.ZodEnum<["header", "query", "cookie"]>;
220
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
221
+ type: z.ZodLiteral<"basic">;
222
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
223
+ type: z.ZodLiteral<"basic">;
224
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
225
+ type: z.ZodLiteral<"basic">;
226
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
227
+ required: z.ZodBoolean;
228
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
229
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
230
+ type: z.ZodLiteral<"bearer">;
231
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
232
+ type: z.ZodLiteral<"bearer">;
233
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
234
+ type: z.ZodLiteral<"bearer">;
235
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
236
+ type: z.ZodLiteral<"apiKey">;
237
+ paramName: z.ZodString;
238
+ in: z.ZodEnum<["header", "query", "cookie"]>;
239
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
240
+ type: z.ZodLiteral<"apiKey">;
241
+ paramName: z.ZodString;
242
+ in: z.ZodEnum<["header", "query", "cookie"]>;
243
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
244
+ type: z.ZodLiteral<"apiKey">;
245
+ paramName: z.ZodString;
246
+ in: z.ZodEnum<["header", "query", "cookie"]>;
247
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
248
+ type: z.ZodLiteral<"basic">;
249
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
250
+ type: z.ZodLiteral<"basic">;
251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
252
+ type: z.ZodLiteral<"basic">;
253
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
254
+ required: z.ZodBoolean;
255
+ }, z.ZodTypeAny, "passthrough">>;
256
+ skippedTools: z.ZodArray<z.ZodObject<{
257
+ name: z.ZodString;
258
+ reason: z.ZodString;
259
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
260
+ name: z.ZodString;
261
+ reason: z.ZodString;
262
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
263
+ name: z.ZodString;
264
+ reason: z.ZodString;
265
+ }, z.ZodTypeAny, "passthrough">>, "many">;
266
+ environmentVariables: z.ZodArray<z.ZodObject<{
267
+ name: z.ZodString;
268
+ description: z.ZodString;
269
+ required: z.ZodBoolean;
270
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
271
+ name: z.ZodString;
272
+ description: z.ZodString;
273
+ required: z.ZodBoolean;
274
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
275
+ name: z.ZodString;
276
+ description: z.ZodString;
277
+ required: z.ZodBoolean;
278
+ }, z.ZodTypeAny, "passthrough">>, "many">;
279
+ baseUrl: z.ZodEffects<z.ZodString, string, string>;
280
+ followRedirects: z.ZodBoolean;
281
+ maxRedirects: z.ZodNumber;
282
+ allowedRedirectHosts: z.ZodArray<z.ZodString, "many">;
283
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
284
+ name: z.ZodString;
285
+ toolsets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
286
+ toolsetMetadata: z.ZodArray<z.ZodObject<{
287
+ name: z.ZodString;
288
+ title: z.ZodString;
289
+ description: z.ZodString;
290
+ toolCount: z.ZodNumber;
291
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
292
+ name: z.ZodString;
293
+ title: z.ZodString;
294
+ description: z.ZodString;
295
+ toolCount: z.ZodNumber;
296
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
297
+ name: z.ZodString;
298
+ title: z.ZodString;
299
+ description: z.ZodString;
300
+ toolCount: z.ZodNumber;
301
+ }, z.ZodTypeAny, "passthrough">>, "many">;
302
+ auth: z.ZodObject<{
303
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
304
+ type: z.ZodLiteral<"bearer">;
305
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
306
+ type: z.ZodLiteral<"bearer">;
307
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
308
+ type: z.ZodLiteral<"bearer">;
309
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
310
+ type: z.ZodLiteral<"apiKey">;
311
+ paramName: z.ZodString;
312
+ in: z.ZodEnum<["header", "query", "cookie"]>;
313
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
314
+ type: z.ZodLiteral<"apiKey">;
315
+ paramName: z.ZodString;
316
+ in: z.ZodEnum<["header", "query", "cookie"]>;
317
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
318
+ type: z.ZodLiteral<"apiKey">;
319
+ paramName: z.ZodString;
320
+ in: z.ZodEnum<["header", "query", "cookie"]>;
321
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
322
+ type: z.ZodLiteral<"basic">;
323
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
324
+ type: z.ZodLiteral<"basic">;
325
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
326
+ type: z.ZodLiteral<"basic">;
327
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
328
+ required: z.ZodBoolean;
329
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
330
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
331
+ type: z.ZodLiteral<"bearer">;
332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
333
+ type: z.ZodLiteral<"bearer">;
334
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
335
+ type: z.ZodLiteral<"bearer">;
336
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
337
+ type: z.ZodLiteral<"apiKey">;
338
+ paramName: z.ZodString;
339
+ in: z.ZodEnum<["header", "query", "cookie"]>;
340
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
341
+ type: z.ZodLiteral<"apiKey">;
342
+ paramName: z.ZodString;
343
+ in: z.ZodEnum<["header", "query", "cookie"]>;
344
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
345
+ type: z.ZodLiteral<"apiKey">;
346
+ paramName: z.ZodString;
347
+ in: z.ZodEnum<["header", "query", "cookie"]>;
348
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
349
+ type: z.ZodLiteral<"basic">;
350
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
351
+ type: z.ZodLiteral<"basic">;
352
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
353
+ type: z.ZodLiteral<"basic">;
354
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
355
+ required: z.ZodBoolean;
356
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
357
+ schemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
358
+ type: z.ZodLiteral<"bearer">;
359
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
360
+ type: z.ZodLiteral<"bearer">;
361
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
362
+ type: z.ZodLiteral<"bearer">;
363
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
364
+ type: z.ZodLiteral<"apiKey">;
365
+ paramName: z.ZodString;
366
+ in: z.ZodEnum<["header", "query", "cookie"]>;
367
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
368
+ type: z.ZodLiteral<"apiKey">;
369
+ paramName: z.ZodString;
370
+ in: z.ZodEnum<["header", "query", "cookie"]>;
371
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
372
+ type: z.ZodLiteral<"apiKey">;
373
+ paramName: z.ZodString;
374
+ in: z.ZodEnum<["header", "query", "cookie"]>;
375
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
376
+ type: z.ZodLiteral<"basic">;
377
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
378
+ type: z.ZodLiteral<"basic">;
379
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
380
+ type: z.ZodLiteral<"basic">;
381
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
382
+ required: z.ZodBoolean;
383
+ }, z.ZodTypeAny, "passthrough">>;
384
+ skippedTools: z.ZodArray<z.ZodObject<{
385
+ name: z.ZodString;
386
+ reason: z.ZodString;
387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
388
+ name: z.ZodString;
389
+ reason: z.ZodString;
390
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
391
+ name: z.ZodString;
392
+ reason: z.ZodString;
393
+ }, z.ZodTypeAny, "passthrough">>, "many">;
394
+ environmentVariables: z.ZodArray<z.ZodObject<{
395
+ name: z.ZodString;
396
+ description: z.ZodString;
397
+ required: z.ZodBoolean;
398
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
399
+ name: z.ZodString;
400
+ description: z.ZodString;
401
+ required: z.ZodBoolean;
402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
403
+ name: z.ZodString;
404
+ description: z.ZodString;
405
+ required: z.ZodBoolean;
406
+ }, z.ZodTypeAny, "passthrough">>, "many">;
407
+ baseUrl: z.ZodEffects<z.ZodString, string, string>;
408
+ followRedirects: z.ZodBoolean;
409
+ maxRedirects: z.ZodNumber;
410
+ allowedRedirectHosts: z.ZodArray<z.ZodString, "many">;
411
+ }, z.ZodTypeAny, "passthrough">>;
412
+ export declare const DeploymentConfigSchema: z.ZodObject<{
413
+ serverName: z.ZodString;
414
+ baseUrl: z.ZodEffects<z.ZodString, string, string>;
415
+ /**
416
+ * Runtime rewrite of the upstream base URL. Part of the edge contract
417
+ * (the outbound worker honors it) but not yet written by FDR.
418
+ */
419
+ baseUrlOverride: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
420
+ followRedirects: z.ZodBoolean;
421
+ maxRedirects: z.ZodNumber;
422
+ allowedRedirectHosts: z.ZodArray<z.ZodString, "many">;
423
+ authSchemes: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
424
+ type: z.ZodLiteral<"bearer">;
425
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
426
+ type: z.ZodLiteral<"bearer">;
427
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
428
+ type: z.ZodLiteral<"bearer">;
429
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
430
+ type: z.ZodLiteral<"apiKey">;
431
+ paramName: z.ZodString;
432
+ in: z.ZodEnum<["header", "query", "cookie"]>;
433
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
434
+ type: z.ZodLiteral<"apiKey">;
435
+ paramName: z.ZodString;
436
+ in: z.ZodEnum<["header", "query", "cookie"]>;
437
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
438
+ type: z.ZodLiteral<"apiKey">;
439
+ paramName: z.ZodString;
440
+ in: z.ZodEnum<["header", "query", "cookie"]>;
441
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
442
+ type: z.ZodLiteral<"basic">;
443
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
+ type: z.ZodLiteral<"basic">;
445
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
446
+ type: z.ZodLiteral<"basic">;
447
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
448
+ authRequired: z.ZodBoolean;
449
+ toolsets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
450
+ toolsetMetadata: z.ZodArray<z.ZodObject<{
451
+ name: z.ZodString;
452
+ title: z.ZodString;
453
+ description: z.ZodString;
454
+ toolCount: z.ZodNumber;
455
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
456
+ name: z.ZodString;
457
+ title: z.ZodString;
458
+ description: z.ZodString;
459
+ toolCount: z.ZodNumber;
460
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
461
+ name: z.ZodString;
462
+ title: z.ZodString;
463
+ description: z.ZodString;
464
+ toolCount: z.ZodNumber;
465
+ }, z.ZodTypeAny, "passthrough">>, "many">;
466
+ }, "strip", z.ZodTypeAny, {
467
+ baseUrl: string;
468
+ authSchemes: (z.objectOutputType<{
469
+ type: z.ZodLiteral<"bearer">;
470
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
471
+ type: z.ZodLiteral<"apiKey">;
472
+ paramName: z.ZodString;
473
+ in: z.ZodEnum<["header", "query", "cookie"]>;
474
+ }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
475
+ type: z.ZodLiteral<"basic">;
476
+ }, z.ZodTypeAny, "passthrough">)[];
477
+ toolsets: Record<string, string[]>;
478
+ toolsetMetadata: z.objectOutputType<{
479
+ name: z.ZodString;
480
+ title: z.ZodString;
481
+ description: z.ZodString;
482
+ toolCount: z.ZodNumber;
483
+ }, z.ZodTypeAny, "passthrough">[];
484
+ followRedirects: boolean;
485
+ maxRedirects: number;
486
+ allowedRedirectHosts: string[];
487
+ serverName: string;
488
+ authRequired: boolean;
489
+ baseUrlOverride?: string | undefined;
490
+ }, {
491
+ baseUrl: string;
492
+ authSchemes: (z.objectInputType<{
493
+ type: z.ZodLiteral<"bearer">;
494
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
495
+ type: z.ZodLiteral<"apiKey">;
496
+ paramName: z.ZodString;
497
+ in: z.ZodEnum<["header", "query", "cookie"]>;
498
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
499
+ type: z.ZodLiteral<"basic">;
500
+ }, z.ZodTypeAny, "passthrough">)[];
501
+ toolsets: Record<string, string[]>;
502
+ toolsetMetadata: z.objectInputType<{
503
+ name: z.ZodString;
504
+ title: z.ZodString;
505
+ description: z.ZodString;
506
+ toolCount: z.ZodNumber;
507
+ }, z.ZodTypeAny, "passthrough">[];
508
+ followRedirects: boolean;
509
+ maxRedirects: number;
510
+ allowedRedirectHosts: string[];
511
+ serverName: string;
512
+ authRequired: boolean;
513
+ baseUrlOverride?: string | undefined;
514
+ }>;
515
+ export type DeploymentConfig = z.infer<typeof DeploymentConfigSchema>;
516
+ export type McpAuthScheme = z.infer<typeof McpAuthSchemeSchema>;
517
+ export type McpMetadata = z.infer<typeof McpMetadataSchema>;
518
+ /** Parse a runtime `config:` KV value. */
519
+ export declare function parseDeploymentConfig(json: string): DeploymentConfig;
520
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/mcp-hosting/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;kCAU9B,CAAC;AAcH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAmCZ,CAAC;AAEnB,eAAO,MAAM,sBAAsB;;;IAG/B;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASL,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,0CAA0C;AAC1C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAEpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/fdr-sdk",
3
- "version": "1.2.116-bf36e5943c",
3
+ "version": "1.2.117-ec81981dc4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern-platform.git",
@@ -81,6 +81,12 @@
81
81
  "require": "./dist/js/orpc-client.js",
82
82
  "default": "./dist/js/orpc-client.mjs"
83
83
  },
84
+ "./mcp-hosting-schemas": {
85
+ "types": "./dist/types/orpc-client/mcp-hosting/schemas.d.ts",
86
+ "import": "./dist/js/orpc-client/mcp-hosting/schemas.mjs",
87
+ "require": "./dist/js/orpc-client/mcp-hosting/schemas.js",
88
+ "default": "./dist/js/orpc-client/mcp-hosting/schemas.mjs"
89
+ },
84
90
  "./navigation/ledger-root-builder": {
85
91
  "types": "./dist/types/navigation/ledger-root-builder.d.ts",
86
92
  "import": "./dist/js/navigation/ledger-root-builder.mjs",