@daniel.stefan/metalink 1.3.15 → 1.3.17
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/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/core/dist/config/defaults.d.ts.map +1 -1
- package/packages/core/dist/config/defaults.js +4 -0
- package/packages/core/dist/config/defaults.js.map +1 -1
- package/packages/core/dist/config/index.d.ts +4 -4
- package/packages/core/dist/config/index.d.ts.map +1 -1
- package/packages/core/dist/config/index.js +3 -3
- package/packages/core/dist/config/index.js.map +1 -1
- package/packages/core/dist/config/loader.d.ts +28 -0
- package/packages/core/dist/config/loader.d.ts.map +1 -1
- package/packages/core/dist/config/loader.js +1 -0
- package/packages/core/dist/config/loader.js.map +1 -1
- package/packages/core/dist/config/schema.d.ts +1771 -9
- package/packages/core/dist/config/schema.d.ts.map +1 -1
- package/packages/core/dist/config/schema.js +37 -0
- package/packages/core/dist/config/schema.js.map +1 -1
- package/packages/core/dist/index.d.ts +1 -1
- package/packages/core/dist/index.js +1 -1
- package/packages/core/dist/server/git-manager.d.ts +81 -0
- package/packages/core/dist/server/git-manager.d.ts.map +1 -0
- package/packages/core/dist/server/git-manager.js +221 -0
- package/packages/core/dist/server/git-manager.js.map +1 -0
- package/packages/core/dist/server/http.d.ts.map +1 -1
- package/packages/core/dist/server/http.js +0 -37
- package/packages/core/dist/server/http.js.map +1 -1
- package/packages/core/dist/server/manager.d.ts +5 -0
- package/packages/core/dist/server/manager.d.ts.map +1 -1
- package/packages/core/dist/server/manager.js +35 -0
- package/packages/core/dist/server/manager.js.map +1 -1
|
@@ -124,6 +124,144 @@ export declare const StdioServerConfigSchema: z.ZodObject<{
|
|
|
124
124
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
125
125
|
}>;
|
|
126
126
|
export type StdioServerConfig = z.infer<typeof StdioServerConfigSchema>;
|
|
127
|
+
/**
|
|
128
|
+
* Git-based server configuration
|
|
129
|
+
* Auto-clones git repositories and runs MCP servers
|
|
130
|
+
*/
|
|
131
|
+
export declare const GitServerConfigSchema: z.ZodObject<{
|
|
132
|
+
name: z.ZodString;
|
|
133
|
+
transport: z.ZodLiteral<"git">;
|
|
134
|
+
git: z.ZodObject<{
|
|
135
|
+
url: z.ZodString;
|
|
136
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
137
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
138
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
139
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
141
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
142
|
+
token: z.ZodOptional<z.ZodString>;
|
|
143
|
+
username: z.ZodOptional<z.ZodString>;
|
|
144
|
+
password: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
type: "token" | "ssh" | "basic";
|
|
147
|
+
token?: string | undefined;
|
|
148
|
+
sshKeyPath?: string | undefined;
|
|
149
|
+
username?: string | undefined;
|
|
150
|
+
password?: string | undefined;
|
|
151
|
+
}, {
|
|
152
|
+
type: "token" | "ssh" | "basic";
|
|
153
|
+
token?: string | undefined;
|
|
154
|
+
sshKeyPath?: string | undefined;
|
|
155
|
+
username?: string | undefined;
|
|
156
|
+
password?: string | undefined;
|
|
157
|
+
}>>;
|
|
158
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
159
|
+
install: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
url: string;
|
|
162
|
+
branch?: string | undefined;
|
|
163
|
+
tag?: string | undefined;
|
|
164
|
+
commit?: string | undefined;
|
|
165
|
+
auth?: {
|
|
166
|
+
type: "token" | "ssh" | "basic";
|
|
167
|
+
token?: string | undefined;
|
|
168
|
+
sshKeyPath?: string | undefined;
|
|
169
|
+
username?: string | undefined;
|
|
170
|
+
password?: string | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
subdir?: string | undefined;
|
|
173
|
+
install?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
url: string;
|
|
176
|
+
branch?: string | undefined;
|
|
177
|
+
tag?: string | undefined;
|
|
178
|
+
commit?: string | undefined;
|
|
179
|
+
auth?: {
|
|
180
|
+
type: "token" | "ssh" | "basic";
|
|
181
|
+
token?: string | undefined;
|
|
182
|
+
sshKeyPath?: string | undefined;
|
|
183
|
+
username?: string | undefined;
|
|
184
|
+
password?: string | undefined;
|
|
185
|
+
} | undefined;
|
|
186
|
+
subdir?: string | undefined;
|
|
187
|
+
install?: string | undefined;
|
|
188
|
+
}>;
|
|
189
|
+
command: z.ZodString;
|
|
190
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
191
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
192
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
193
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
194
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
195
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
196
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
197
|
+
}, "strip", z.ZodTypeAny, {
|
|
198
|
+
enabled: boolean;
|
|
199
|
+
interval: number;
|
|
200
|
+
timeout: number;
|
|
201
|
+
}, {
|
|
202
|
+
enabled?: boolean | undefined;
|
|
203
|
+
interval?: number | undefined;
|
|
204
|
+
timeout?: number | undefined;
|
|
205
|
+
}>>>;
|
|
206
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
name: string;
|
|
209
|
+
transport: "git";
|
|
210
|
+
command: string;
|
|
211
|
+
args: string[];
|
|
212
|
+
env: Record<string, string>;
|
|
213
|
+
healthCheck: {
|
|
214
|
+
enabled: boolean;
|
|
215
|
+
interval: number;
|
|
216
|
+
timeout: number;
|
|
217
|
+
};
|
|
218
|
+
git: {
|
|
219
|
+
url: string;
|
|
220
|
+
branch?: string | undefined;
|
|
221
|
+
tag?: string | undefined;
|
|
222
|
+
commit?: string | undefined;
|
|
223
|
+
auth?: {
|
|
224
|
+
type: "token" | "ssh" | "basic";
|
|
225
|
+
token?: string | undefined;
|
|
226
|
+
sshKeyPath?: string | undefined;
|
|
227
|
+
username?: string | undefined;
|
|
228
|
+
password?: string | undefined;
|
|
229
|
+
} | undefined;
|
|
230
|
+
subdir?: string | undefined;
|
|
231
|
+
install?: string | undefined;
|
|
232
|
+
};
|
|
233
|
+
cwd?: string | undefined;
|
|
234
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
235
|
+
}, {
|
|
236
|
+
name: string;
|
|
237
|
+
transport: "git";
|
|
238
|
+
command: string;
|
|
239
|
+
git: {
|
|
240
|
+
url: string;
|
|
241
|
+
branch?: string | undefined;
|
|
242
|
+
tag?: string | undefined;
|
|
243
|
+
commit?: string | undefined;
|
|
244
|
+
auth?: {
|
|
245
|
+
type: "token" | "ssh" | "basic";
|
|
246
|
+
token?: string | undefined;
|
|
247
|
+
sshKeyPath?: string | undefined;
|
|
248
|
+
username?: string | undefined;
|
|
249
|
+
password?: string | undefined;
|
|
250
|
+
} | undefined;
|
|
251
|
+
subdir?: string | undefined;
|
|
252
|
+
install?: string | undefined;
|
|
253
|
+
};
|
|
254
|
+
args?: string[] | undefined;
|
|
255
|
+
env?: Record<string, string> | undefined;
|
|
256
|
+
cwd?: string | undefined;
|
|
257
|
+
healthCheck?: {
|
|
258
|
+
enabled?: boolean | undefined;
|
|
259
|
+
interval?: number | undefined;
|
|
260
|
+
timeout?: number | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
263
|
+
}>;
|
|
264
|
+
export type GitServerConfig = z.infer<typeof GitServerConfigSchema>;
|
|
127
265
|
/**
|
|
128
266
|
* HTTP (remote) server configuration
|
|
129
267
|
*/
|
|
@@ -304,6 +442,138 @@ export declare const ServerConfigSchema: z.ZodDiscriminatedUnion<"transport", [z
|
|
|
304
442
|
timeout?: number | undefined;
|
|
305
443
|
} | undefined;
|
|
306
444
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
445
|
+
}>, z.ZodObject<{
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
transport: z.ZodLiteral<"git">;
|
|
448
|
+
git: z.ZodObject<{
|
|
449
|
+
url: z.ZodString;
|
|
450
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
451
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
452
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
453
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
455
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
456
|
+
token: z.ZodOptional<z.ZodString>;
|
|
457
|
+
username: z.ZodOptional<z.ZodString>;
|
|
458
|
+
password: z.ZodOptional<z.ZodString>;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
type: "token" | "ssh" | "basic";
|
|
461
|
+
token?: string | undefined;
|
|
462
|
+
sshKeyPath?: string | undefined;
|
|
463
|
+
username?: string | undefined;
|
|
464
|
+
password?: string | undefined;
|
|
465
|
+
}, {
|
|
466
|
+
type: "token" | "ssh" | "basic";
|
|
467
|
+
token?: string | undefined;
|
|
468
|
+
sshKeyPath?: string | undefined;
|
|
469
|
+
username?: string | undefined;
|
|
470
|
+
password?: string | undefined;
|
|
471
|
+
}>>;
|
|
472
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
473
|
+
install: z.ZodOptional<z.ZodString>;
|
|
474
|
+
}, "strip", z.ZodTypeAny, {
|
|
475
|
+
url: string;
|
|
476
|
+
branch?: string | undefined;
|
|
477
|
+
tag?: string | undefined;
|
|
478
|
+
commit?: string | undefined;
|
|
479
|
+
auth?: {
|
|
480
|
+
type: "token" | "ssh" | "basic";
|
|
481
|
+
token?: string | undefined;
|
|
482
|
+
sshKeyPath?: string | undefined;
|
|
483
|
+
username?: string | undefined;
|
|
484
|
+
password?: string | undefined;
|
|
485
|
+
} | undefined;
|
|
486
|
+
subdir?: string | undefined;
|
|
487
|
+
install?: string | undefined;
|
|
488
|
+
}, {
|
|
489
|
+
url: string;
|
|
490
|
+
branch?: string | undefined;
|
|
491
|
+
tag?: string | undefined;
|
|
492
|
+
commit?: string | undefined;
|
|
493
|
+
auth?: {
|
|
494
|
+
type: "token" | "ssh" | "basic";
|
|
495
|
+
token?: string | undefined;
|
|
496
|
+
sshKeyPath?: string | undefined;
|
|
497
|
+
username?: string | undefined;
|
|
498
|
+
password?: string | undefined;
|
|
499
|
+
} | undefined;
|
|
500
|
+
subdir?: string | undefined;
|
|
501
|
+
install?: string | undefined;
|
|
502
|
+
}>;
|
|
503
|
+
command: z.ZodString;
|
|
504
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
505
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
506
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
507
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
508
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
509
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
510
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
511
|
+
}, "strip", z.ZodTypeAny, {
|
|
512
|
+
enabled: boolean;
|
|
513
|
+
interval: number;
|
|
514
|
+
timeout: number;
|
|
515
|
+
}, {
|
|
516
|
+
enabled?: boolean | undefined;
|
|
517
|
+
interval?: number | undefined;
|
|
518
|
+
timeout?: number | undefined;
|
|
519
|
+
}>>>;
|
|
520
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
|
522
|
+
name: string;
|
|
523
|
+
transport: "git";
|
|
524
|
+
command: string;
|
|
525
|
+
args: string[];
|
|
526
|
+
env: Record<string, string>;
|
|
527
|
+
healthCheck: {
|
|
528
|
+
enabled: boolean;
|
|
529
|
+
interval: number;
|
|
530
|
+
timeout: number;
|
|
531
|
+
};
|
|
532
|
+
git: {
|
|
533
|
+
url: string;
|
|
534
|
+
branch?: string | undefined;
|
|
535
|
+
tag?: string | undefined;
|
|
536
|
+
commit?: string | undefined;
|
|
537
|
+
auth?: {
|
|
538
|
+
type: "token" | "ssh" | "basic";
|
|
539
|
+
token?: string | undefined;
|
|
540
|
+
sshKeyPath?: string | undefined;
|
|
541
|
+
username?: string | undefined;
|
|
542
|
+
password?: string | undefined;
|
|
543
|
+
} | undefined;
|
|
544
|
+
subdir?: string | undefined;
|
|
545
|
+
install?: string | undefined;
|
|
546
|
+
};
|
|
547
|
+
cwd?: string | undefined;
|
|
548
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
549
|
+
}, {
|
|
550
|
+
name: string;
|
|
551
|
+
transport: "git";
|
|
552
|
+
command: string;
|
|
553
|
+
git: {
|
|
554
|
+
url: string;
|
|
555
|
+
branch?: string | undefined;
|
|
556
|
+
tag?: string | undefined;
|
|
557
|
+
commit?: string | undefined;
|
|
558
|
+
auth?: {
|
|
559
|
+
type: "token" | "ssh" | "basic";
|
|
560
|
+
token?: string | undefined;
|
|
561
|
+
sshKeyPath?: string | undefined;
|
|
562
|
+
username?: string | undefined;
|
|
563
|
+
password?: string | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
subdir?: string | undefined;
|
|
566
|
+
install?: string | undefined;
|
|
567
|
+
};
|
|
568
|
+
args?: string[] | undefined;
|
|
569
|
+
env?: Record<string, string> | undefined;
|
|
570
|
+
cwd?: string | undefined;
|
|
571
|
+
healthCheck?: {
|
|
572
|
+
enabled?: boolean | undefined;
|
|
573
|
+
interval?: number | undefined;
|
|
574
|
+
timeout?: number | undefined;
|
|
575
|
+
} | undefined;
|
|
576
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
307
577
|
}>, z.ZodObject<{
|
|
308
578
|
name: z.ZodString;
|
|
309
579
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -638,6 +908,138 @@ export declare const ProfileConfigSchema: z.ZodObject<{
|
|
|
638
908
|
timeout?: number | undefined;
|
|
639
909
|
} | undefined;
|
|
640
910
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
911
|
+
}>, z.ZodObject<{
|
|
912
|
+
name: z.ZodString;
|
|
913
|
+
transport: z.ZodLiteral<"git">;
|
|
914
|
+
git: z.ZodObject<{
|
|
915
|
+
url: z.ZodString;
|
|
916
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
917
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
918
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
919
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
920
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
921
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
922
|
+
token: z.ZodOptional<z.ZodString>;
|
|
923
|
+
username: z.ZodOptional<z.ZodString>;
|
|
924
|
+
password: z.ZodOptional<z.ZodString>;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
926
|
+
type: "token" | "ssh" | "basic";
|
|
927
|
+
token?: string | undefined;
|
|
928
|
+
sshKeyPath?: string | undefined;
|
|
929
|
+
username?: string | undefined;
|
|
930
|
+
password?: string | undefined;
|
|
931
|
+
}, {
|
|
932
|
+
type: "token" | "ssh" | "basic";
|
|
933
|
+
token?: string | undefined;
|
|
934
|
+
sshKeyPath?: string | undefined;
|
|
935
|
+
username?: string | undefined;
|
|
936
|
+
password?: string | undefined;
|
|
937
|
+
}>>;
|
|
938
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
939
|
+
install: z.ZodOptional<z.ZodString>;
|
|
940
|
+
}, "strip", z.ZodTypeAny, {
|
|
941
|
+
url: string;
|
|
942
|
+
branch?: string | undefined;
|
|
943
|
+
tag?: string | undefined;
|
|
944
|
+
commit?: string | undefined;
|
|
945
|
+
auth?: {
|
|
946
|
+
type: "token" | "ssh" | "basic";
|
|
947
|
+
token?: string | undefined;
|
|
948
|
+
sshKeyPath?: string | undefined;
|
|
949
|
+
username?: string | undefined;
|
|
950
|
+
password?: string | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
subdir?: string | undefined;
|
|
953
|
+
install?: string | undefined;
|
|
954
|
+
}, {
|
|
955
|
+
url: string;
|
|
956
|
+
branch?: string | undefined;
|
|
957
|
+
tag?: string | undefined;
|
|
958
|
+
commit?: string | undefined;
|
|
959
|
+
auth?: {
|
|
960
|
+
type: "token" | "ssh" | "basic";
|
|
961
|
+
token?: string | undefined;
|
|
962
|
+
sshKeyPath?: string | undefined;
|
|
963
|
+
username?: string | undefined;
|
|
964
|
+
password?: string | undefined;
|
|
965
|
+
} | undefined;
|
|
966
|
+
subdir?: string | undefined;
|
|
967
|
+
install?: string | undefined;
|
|
968
|
+
}>;
|
|
969
|
+
command: z.ZodString;
|
|
970
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
971
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
972
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
973
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
974
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
975
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
976
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
977
|
+
}, "strip", z.ZodTypeAny, {
|
|
978
|
+
enabled: boolean;
|
|
979
|
+
interval: number;
|
|
980
|
+
timeout: number;
|
|
981
|
+
}, {
|
|
982
|
+
enabled?: boolean | undefined;
|
|
983
|
+
interval?: number | undefined;
|
|
984
|
+
timeout?: number | undefined;
|
|
985
|
+
}>>>;
|
|
986
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
987
|
+
}, "strip", z.ZodTypeAny, {
|
|
988
|
+
name: string;
|
|
989
|
+
transport: "git";
|
|
990
|
+
command: string;
|
|
991
|
+
args: string[];
|
|
992
|
+
env: Record<string, string>;
|
|
993
|
+
healthCheck: {
|
|
994
|
+
enabled: boolean;
|
|
995
|
+
interval: number;
|
|
996
|
+
timeout: number;
|
|
997
|
+
};
|
|
998
|
+
git: {
|
|
999
|
+
url: string;
|
|
1000
|
+
branch?: string | undefined;
|
|
1001
|
+
tag?: string | undefined;
|
|
1002
|
+
commit?: string | undefined;
|
|
1003
|
+
auth?: {
|
|
1004
|
+
type: "token" | "ssh" | "basic";
|
|
1005
|
+
token?: string | undefined;
|
|
1006
|
+
sshKeyPath?: string | undefined;
|
|
1007
|
+
username?: string | undefined;
|
|
1008
|
+
password?: string | undefined;
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
subdir?: string | undefined;
|
|
1011
|
+
install?: string | undefined;
|
|
1012
|
+
};
|
|
1013
|
+
cwd?: string | undefined;
|
|
1014
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1015
|
+
}, {
|
|
1016
|
+
name: string;
|
|
1017
|
+
transport: "git";
|
|
1018
|
+
command: string;
|
|
1019
|
+
git: {
|
|
1020
|
+
url: string;
|
|
1021
|
+
branch?: string | undefined;
|
|
1022
|
+
tag?: string | undefined;
|
|
1023
|
+
commit?: string | undefined;
|
|
1024
|
+
auth?: {
|
|
1025
|
+
type: "token" | "ssh" | "basic";
|
|
1026
|
+
token?: string | undefined;
|
|
1027
|
+
sshKeyPath?: string | undefined;
|
|
1028
|
+
username?: string | undefined;
|
|
1029
|
+
password?: string | undefined;
|
|
1030
|
+
} | undefined;
|
|
1031
|
+
subdir?: string | undefined;
|
|
1032
|
+
install?: string | undefined;
|
|
1033
|
+
};
|
|
1034
|
+
args?: string[] | undefined;
|
|
1035
|
+
env?: Record<string, string> | undefined;
|
|
1036
|
+
cwd?: string | undefined;
|
|
1037
|
+
healthCheck?: {
|
|
1038
|
+
enabled?: boolean | undefined;
|
|
1039
|
+
interval?: number | undefined;
|
|
1040
|
+
timeout?: number | undefined;
|
|
1041
|
+
} | undefined;
|
|
1042
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
641
1043
|
}>, z.ZodObject<{
|
|
642
1044
|
name: z.ZodString;
|
|
643
1045
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -779,6 +1181,34 @@ export declare const ProfileConfigSchema: z.ZodObject<{
|
|
|
779
1181
|
};
|
|
780
1182
|
cwd?: string | undefined;
|
|
781
1183
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
1184
|
+
} | {
|
|
1185
|
+
name: string;
|
|
1186
|
+
transport: "git";
|
|
1187
|
+
command: string;
|
|
1188
|
+
args: string[];
|
|
1189
|
+
env: Record<string, string>;
|
|
1190
|
+
healthCheck: {
|
|
1191
|
+
enabled: boolean;
|
|
1192
|
+
interval: number;
|
|
1193
|
+
timeout: number;
|
|
1194
|
+
};
|
|
1195
|
+
git: {
|
|
1196
|
+
url: string;
|
|
1197
|
+
branch?: string | undefined;
|
|
1198
|
+
tag?: string | undefined;
|
|
1199
|
+
commit?: string | undefined;
|
|
1200
|
+
auth?: {
|
|
1201
|
+
type: "token" | "ssh" | "basic";
|
|
1202
|
+
token?: string | undefined;
|
|
1203
|
+
sshKeyPath?: string | undefined;
|
|
1204
|
+
username?: string | undefined;
|
|
1205
|
+
password?: string | undefined;
|
|
1206
|
+
} | undefined;
|
|
1207
|
+
subdir?: string | undefined;
|
|
1208
|
+
install?: string | undefined;
|
|
1209
|
+
};
|
|
1210
|
+
cwd?: string | undefined;
|
|
1211
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
782
1212
|
} | {
|
|
783
1213
|
name: string;
|
|
784
1214
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -860,6 +1290,34 @@ export declare const ProfileConfigSchema: z.ZodObject<{
|
|
|
860
1290
|
timeout?: number | undefined;
|
|
861
1291
|
} | undefined;
|
|
862
1292
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
1293
|
+
} | {
|
|
1294
|
+
name: string;
|
|
1295
|
+
transport: "git";
|
|
1296
|
+
command: string;
|
|
1297
|
+
git: {
|
|
1298
|
+
url: string;
|
|
1299
|
+
branch?: string | undefined;
|
|
1300
|
+
tag?: string | undefined;
|
|
1301
|
+
commit?: string | undefined;
|
|
1302
|
+
auth?: {
|
|
1303
|
+
type: "token" | "ssh" | "basic";
|
|
1304
|
+
token?: string | undefined;
|
|
1305
|
+
sshKeyPath?: string | undefined;
|
|
1306
|
+
username?: string | undefined;
|
|
1307
|
+
password?: string | undefined;
|
|
1308
|
+
} | undefined;
|
|
1309
|
+
subdir?: string | undefined;
|
|
1310
|
+
install?: string | undefined;
|
|
1311
|
+
};
|
|
1312
|
+
args?: string[] | undefined;
|
|
1313
|
+
env?: Record<string, string> | undefined;
|
|
1314
|
+
cwd?: string | undefined;
|
|
1315
|
+
healthCheck?: {
|
|
1316
|
+
enabled?: boolean | undefined;
|
|
1317
|
+
interval?: number | undefined;
|
|
1318
|
+
timeout?: number | undefined;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
863
1321
|
} | {
|
|
864
1322
|
name: string;
|
|
865
1323
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -1012,6 +1470,138 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1012
1470
|
timeout?: number | undefined;
|
|
1013
1471
|
} | undefined;
|
|
1014
1472
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
1473
|
+
}>, z.ZodObject<{
|
|
1474
|
+
name: z.ZodString;
|
|
1475
|
+
transport: z.ZodLiteral<"git">;
|
|
1476
|
+
git: z.ZodObject<{
|
|
1477
|
+
url: z.ZodString;
|
|
1478
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1482
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
1483
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
}, "strip", z.ZodTypeAny, {
|
|
1488
|
+
type: "token" | "ssh" | "basic";
|
|
1489
|
+
token?: string | undefined;
|
|
1490
|
+
sshKeyPath?: string | undefined;
|
|
1491
|
+
username?: string | undefined;
|
|
1492
|
+
password?: string | undefined;
|
|
1493
|
+
}, {
|
|
1494
|
+
type: "token" | "ssh" | "basic";
|
|
1495
|
+
token?: string | undefined;
|
|
1496
|
+
sshKeyPath?: string | undefined;
|
|
1497
|
+
username?: string | undefined;
|
|
1498
|
+
password?: string | undefined;
|
|
1499
|
+
}>>;
|
|
1500
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
install: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
}, "strip", z.ZodTypeAny, {
|
|
1503
|
+
url: string;
|
|
1504
|
+
branch?: string | undefined;
|
|
1505
|
+
tag?: string | undefined;
|
|
1506
|
+
commit?: string | undefined;
|
|
1507
|
+
auth?: {
|
|
1508
|
+
type: "token" | "ssh" | "basic";
|
|
1509
|
+
token?: string | undefined;
|
|
1510
|
+
sshKeyPath?: string | undefined;
|
|
1511
|
+
username?: string | undefined;
|
|
1512
|
+
password?: string | undefined;
|
|
1513
|
+
} | undefined;
|
|
1514
|
+
subdir?: string | undefined;
|
|
1515
|
+
install?: string | undefined;
|
|
1516
|
+
}, {
|
|
1517
|
+
url: string;
|
|
1518
|
+
branch?: string | undefined;
|
|
1519
|
+
tag?: string | undefined;
|
|
1520
|
+
commit?: string | undefined;
|
|
1521
|
+
auth?: {
|
|
1522
|
+
type: "token" | "ssh" | "basic";
|
|
1523
|
+
token?: string | undefined;
|
|
1524
|
+
sshKeyPath?: string | undefined;
|
|
1525
|
+
username?: string | undefined;
|
|
1526
|
+
password?: string | undefined;
|
|
1527
|
+
} | undefined;
|
|
1528
|
+
subdir?: string | undefined;
|
|
1529
|
+
install?: string | undefined;
|
|
1530
|
+
}>;
|
|
1531
|
+
command: z.ZodString;
|
|
1532
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1533
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1534
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1535
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1536
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1537
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1538
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1539
|
+
}, "strip", z.ZodTypeAny, {
|
|
1540
|
+
enabled: boolean;
|
|
1541
|
+
interval: number;
|
|
1542
|
+
timeout: number;
|
|
1543
|
+
}, {
|
|
1544
|
+
enabled?: boolean | undefined;
|
|
1545
|
+
interval?: number | undefined;
|
|
1546
|
+
timeout?: number | undefined;
|
|
1547
|
+
}>>>;
|
|
1548
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
1549
|
+
}, "strip", z.ZodTypeAny, {
|
|
1550
|
+
name: string;
|
|
1551
|
+
transport: "git";
|
|
1552
|
+
command: string;
|
|
1553
|
+
args: string[];
|
|
1554
|
+
env: Record<string, string>;
|
|
1555
|
+
healthCheck: {
|
|
1556
|
+
enabled: boolean;
|
|
1557
|
+
interval: number;
|
|
1558
|
+
timeout: number;
|
|
1559
|
+
};
|
|
1560
|
+
git: {
|
|
1561
|
+
url: string;
|
|
1562
|
+
branch?: string | undefined;
|
|
1563
|
+
tag?: string | undefined;
|
|
1564
|
+
commit?: string | undefined;
|
|
1565
|
+
auth?: {
|
|
1566
|
+
type: "token" | "ssh" | "basic";
|
|
1567
|
+
token?: string | undefined;
|
|
1568
|
+
sshKeyPath?: string | undefined;
|
|
1569
|
+
username?: string | undefined;
|
|
1570
|
+
password?: string | undefined;
|
|
1571
|
+
} | undefined;
|
|
1572
|
+
subdir?: string | undefined;
|
|
1573
|
+
install?: string | undefined;
|
|
1574
|
+
};
|
|
1575
|
+
cwd?: string | undefined;
|
|
1576
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1577
|
+
}, {
|
|
1578
|
+
name: string;
|
|
1579
|
+
transport: "git";
|
|
1580
|
+
command: string;
|
|
1581
|
+
git: {
|
|
1582
|
+
url: string;
|
|
1583
|
+
branch?: string | undefined;
|
|
1584
|
+
tag?: string | undefined;
|
|
1585
|
+
commit?: string | undefined;
|
|
1586
|
+
auth?: {
|
|
1587
|
+
type: "token" | "ssh" | "basic";
|
|
1588
|
+
token?: string | undefined;
|
|
1589
|
+
sshKeyPath?: string | undefined;
|
|
1590
|
+
username?: string | undefined;
|
|
1591
|
+
password?: string | undefined;
|
|
1592
|
+
} | undefined;
|
|
1593
|
+
subdir?: string | undefined;
|
|
1594
|
+
install?: string | undefined;
|
|
1595
|
+
};
|
|
1596
|
+
args?: string[] | undefined;
|
|
1597
|
+
env?: Record<string, string> | undefined;
|
|
1598
|
+
cwd?: string | undefined;
|
|
1599
|
+
healthCheck?: {
|
|
1600
|
+
enabled?: boolean | undefined;
|
|
1601
|
+
interval?: number | undefined;
|
|
1602
|
+
timeout?: number | undefined;
|
|
1603
|
+
} | undefined;
|
|
1604
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1015
1605
|
}>, z.ZodObject<{
|
|
1016
1606
|
name: z.ZodString;
|
|
1017
1607
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -1267,6 +1857,138 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1267
1857
|
timeout?: number | undefined;
|
|
1268
1858
|
} | undefined;
|
|
1269
1859
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
1860
|
+
}>, z.ZodObject<{
|
|
1861
|
+
name: z.ZodString;
|
|
1862
|
+
transport: z.ZodLiteral<"git">;
|
|
1863
|
+
git: z.ZodObject<{
|
|
1864
|
+
url: z.ZodString;
|
|
1865
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1866
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
1867
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1869
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
1870
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
1871
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1873
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1874
|
+
}, "strip", z.ZodTypeAny, {
|
|
1875
|
+
type: "token" | "ssh" | "basic";
|
|
1876
|
+
token?: string | undefined;
|
|
1877
|
+
sshKeyPath?: string | undefined;
|
|
1878
|
+
username?: string | undefined;
|
|
1879
|
+
password?: string | undefined;
|
|
1880
|
+
}, {
|
|
1881
|
+
type: "token" | "ssh" | "basic";
|
|
1882
|
+
token?: string | undefined;
|
|
1883
|
+
sshKeyPath?: string | undefined;
|
|
1884
|
+
username?: string | undefined;
|
|
1885
|
+
password?: string | undefined;
|
|
1886
|
+
}>>;
|
|
1887
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
1888
|
+
install: z.ZodOptional<z.ZodString>;
|
|
1889
|
+
}, "strip", z.ZodTypeAny, {
|
|
1890
|
+
url: string;
|
|
1891
|
+
branch?: string | undefined;
|
|
1892
|
+
tag?: string | undefined;
|
|
1893
|
+
commit?: string | undefined;
|
|
1894
|
+
auth?: {
|
|
1895
|
+
type: "token" | "ssh" | "basic";
|
|
1896
|
+
token?: string | undefined;
|
|
1897
|
+
sshKeyPath?: string | undefined;
|
|
1898
|
+
username?: string | undefined;
|
|
1899
|
+
password?: string | undefined;
|
|
1900
|
+
} | undefined;
|
|
1901
|
+
subdir?: string | undefined;
|
|
1902
|
+
install?: string | undefined;
|
|
1903
|
+
}, {
|
|
1904
|
+
url: string;
|
|
1905
|
+
branch?: string | undefined;
|
|
1906
|
+
tag?: string | undefined;
|
|
1907
|
+
commit?: string | undefined;
|
|
1908
|
+
auth?: {
|
|
1909
|
+
type: "token" | "ssh" | "basic";
|
|
1910
|
+
token?: string | undefined;
|
|
1911
|
+
sshKeyPath?: string | undefined;
|
|
1912
|
+
username?: string | undefined;
|
|
1913
|
+
password?: string | undefined;
|
|
1914
|
+
} | undefined;
|
|
1915
|
+
subdir?: string | undefined;
|
|
1916
|
+
install?: string | undefined;
|
|
1917
|
+
}>;
|
|
1918
|
+
command: z.ZodString;
|
|
1919
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1920
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1921
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1922
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1923
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1924
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1925
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1926
|
+
}, "strip", z.ZodTypeAny, {
|
|
1927
|
+
enabled: boolean;
|
|
1928
|
+
interval: number;
|
|
1929
|
+
timeout: number;
|
|
1930
|
+
}, {
|
|
1931
|
+
enabled?: boolean | undefined;
|
|
1932
|
+
interval?: number | undefined;
|
|
1933
|
+
timeout?: number | undefined;
|
|
1934
|
+
}>>>;
|
|
1935
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
name: string;
|
|
1938
|
+
transport: "git";
|
|
1939
|
+
command: string;
|
|
1940
|
+
args: string[];
|
|
1941
|
+
env: Record<string, string>;
|
|
1942
|
+
healthCheck: {
|
|
1943
|
+
enabled: boolean;
|
|
1944
|
+
interval: number;
|
|
1945
|
+
timeout: number;
|
|
1946
|
+
};
|
|
1947
|
+
git: {
|
|
1948
|
+
url: string;
|
|
1949
|
+
branch?: string | undefined;
|
|
1950
|
+
tag?: string | undefined;
|
|
1951
|
+
commit?: string | undefined;
|
|
1952
|
+
auth?: {
|
|
1953
|
+
type: "token" | "ssh" | "basic";
|
|
1954
|
+
token?: string | undefined;
|
|
1955
|
+
sshKeyPath?: string | undefined;
|
|
1956
|
+
username?: string | undefined;
|
|
1957
|
+
password?: string | undefined;
|
|
1958
|
+
} | undefined;
|
|
1959
|
+
subdir?: string | undefined;
|
|
1960
|
+
install?: string | undefined;
|
|
1961
|
+
};
|
|
1962
|
+
cwd?: string | undefined;
|
|
1963
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1964
|
+
}, {
|
|
1965
|
+
name: string;
|
|
1966
|
+
transport: "git";
|
|
1967
|
+
command: string;
|
|
1968
|
+
git: {
|
|
1969
|
+
url: string;
|
|
1970
|
+
branch?: string | undefined;
|
|
1971
|
+
tag?: string | undefined;
|
|
1972
|
+
commit?: string | undefined;
|
|
1973
|
+
auth?: {
|
|
1974
|
+
type: "token" | "ssh" | "basic";
|
|
1975
|
+
token?: string | undefined;
|
|
1976
|
+
sshKeyPath?: string | undefined;
|
|
1977
|
+
username?: string | undefined;
|
|
1978
|
+
password?: string | undefined;
|
|
1979
|
+
} | undefined;
|
|
1980
|
+
subdir?: string | undefined;
|
|
1981
|
+
install?: string | undefined;
|
|
1982
|
+
};
|
|
1983
|
+
args?: string[] | undefined;
|
|
1984
|
+
env?: Record<string, string> | undefined;
|
|
1985
|
+
cwd?: string | undefined;
|
|
1986
|
+
healthCheck?: {
|
|
1987
|
+
enabled?: boolean | undefined;
|
|
1988
|
+
interval?: number | undefined;
|
|
1989
|
+
timeout?: number | undefined;
|
|
1990
|
+
} | undefined;
|
|
1991
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1270
1992
|
}>, z.ZodObject<{
|
|
1271
1993
|
name: z.ZodString;
|
|
1272
1994
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -1408,6 +2130,34 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1408
2130
|
};
|
|
1409
2131
|
cwd?: string | undefined;
|
|
1410
2132
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
2133
|
+
} | {
|
|
2134
|
+
name: string;
|
|
2135
|
+
transport: "git";
|
|
2136
|
+
command: string;
|
|
2137
|
+
args: string[];
|
|
2138
|
+
env: Record<string, string>;
|
|
2139
|
+
healthCheck: {
|
|
2140
|
+
enabled: boolean;
|
|
2141
|
+
interval: number;
|
|
2142
|
+
timeout: number;
|
|
2143
|
+
};
|
|
2144
|
+
git: {
|
|
2145
|
+
url: string;
|
|
2146
|
+
branch?: string | undefined;
|
|
2147
|
+
tag?: string | undefined;
|
|
2148
|
+
commit?: string | undefined;
|
|
2149
|
+
auth?: {
|
|
2150
|
+
type: "token" | "ssh" | "basic";
|
|
2151
|
+
token?: string | undefined;
|
|
2152
|
+
sshKeyPath?: string | undefined;
|
|
2153
|
+
username?: string | undefined;
|
|
2154
|
+
password?: string | undefined;
|
|
2155
|
+
} | undefined;
|
|
2156
|
+
subdir?: string | undefined;
|
|
2157
|
+
install?: string | undefined;
|
|
2158
|
+
};
|
|
2159
|
+
cwd?: string | undefined;
|
|
2160
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1411
2161
|
} | {
|
|
1412
2162
|
name: string;
|
|
1413
2163
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -1489,6 +2239,34 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1489
2239
|
timeout?: number | undefined;
|
|
1490
2240
|
} | undefined;
|
|
1491
2241
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
2242
|
+
} | {
|
|
2243
|
+
name: string;
|
|
2244
|
+
transport: "git";
|
|
2245
|
+
command: string;
|
|
2246
|
+
git: {
|
|
2247
|
+
url: string;
|
|
2248
|
+
branch?: string | undefined;
|
|
2249
|
+
tag?: string | undefined;
|
|
2250
|
+
commit?: string | undefined;
|
|
2251
|
+
auth?: {
|
|
2252
|
+
type: "token" | "ssh" | "basic";
|
|
2253
|
+
token?: string | undefined;
|
|
2254
|
+
sshKeyPath?: string | undefined;
|
|
2255
|
+
username?: string | undefined;
|
|
2256
|
+
password?: string | undefined;
|
|
2257
|
+
} | undefined;
|
|
2258
|
+
subdir?: string | undefined;
|
|
2259
|
+
install?: string | undefined;
|
|
2260
|
+
};
|
|
2261
|
+
args?: string[] | undefined;
|
|
2262
|
+
env?: Record<string, string> | undefined;
|
|
2263
|
+
cwd?: string | undefined;
|
|
2264
|
+
healthCheck?: {
|
|
2265
|
+
enabled?: boolean | undefined;
|
|
2266
|
+
interval?: number | undefined;
|
|
2267
|
+
timeout?: number | undefined;
|
|
2268
|
+
} | undefined;
|
|
2269
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1492
2270
|
} | {
|
|
1493
2271
|
name: string;
|
|
1494
2272
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -1541,6 +2319,7 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1541
2319
|
base_servers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1542
2320
|
base_servers_auto_start: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1543
2321
|
base_servers_auto_expose_tools: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2322
|
+
gitMcpDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1544
2323
|
toolSafetyRules: z.ZodOptional<z.ZodObject<{
|
|
1545
2324
|
safePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1546
2325
|
riskyPatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1681,6 +2460,34 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1681
2460
|
};
|
|
1682
2461
|
cwd?: string | undefined;
|
|
1683
2462
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
2463
|
+
} | {
|
|
2464
|
+
name: string;
|
|
2465
|
+
transport: "git";
|
|
2466
|
+
command: string;
|
|
2467
|
+
args: string[];
|
|
2468
|
+
env: Record<string, string>;
|
|
2469
|
+
healthCheck: {
|
|
2470
|
+
enabled: boolean;
|
|
2471
|
+
interval: number;
|
|
2472
|
+
timeout: number;
|
|
2473
|
+
};
|
|
2474
|
+
git: {
|
|
2475
|
+
url: string;
|
|
2476
|
+
branch?: string | undefined;
|
|
2477
|
+
tag?: string | undefined;
|
|
2478
|
+
commit?: string | undefined;
|
|
2479
|
+
auth?: {
|
|
2480
|
+
type: "token" | "ssh" | "basic";
|
|
2481
|
+
token?: string | undefined;
|
|
2482
|
+
sshKeyPath?: string | undefined;
|
|
2483
|
+
username?: string | undefined;
|
|
2484
|
+
password?: string | undefined;
|
|
2485
|
+
} | undefined;
|
|
2486
|
+
subdir?: string | undefined;
|
|
2487
|
+
install?: string | undefined;
|
|
2488
|
+
};
|
|
2489
|
+
cwd?: string | undefined;
|
|
2490
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1684
2491
|
} | {
|
|
1685
2492
|
name: string;
|
|
1686
2493
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -1724,7 +2531,20 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1724
2531
|
name: string;
|
|
1725
2532
|
servers: ({
|
|
1726
2533
|
name: string;
|
|
1727
|
-
transport: "stdio";
|
|
2534
|
+
transport: "stdio";
|
|
2535
|
+
command: string;
|
|
2536
|
+
args: string[];
|
|
2537
|
+
env: Record<string, string>;
|
|
2538
|
+
healthCheck: {
|
|
2539
|
+
enabled: boolean;
|
|
2540
|
+
interval: number;
|
|
2541
|
+
timeout: number;
|
|
2542
|
+
};
|
|
2543
|
+
cwd?: string | undefined;
|
|
2544
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
2545
|
+
} | {
|
|
2546
|
+
name: string;
|
|
2547
|
+
transport: "git";
|
|
1728
2548
|
command: string;
|
|
1729
2549
|
args: string[];
|
|
1730
2550
|
env: Record<string, string>;
|
|
@@ -1733,6 +2553,21 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1733
2553
|
interval: number;
|
|
1734
2554
|
timeout: number;
|
|
1735
2555
|
};
|
|
2556
|
+
git: {
|
|
2557
|
+
url: string;
|
|
2558
|
+
branch?: string | undefined;
|
|
2559
|
+
tag?: string | undefined;
|
|
2560
|
+
commit?: string | undefined;
|
|
2561
|
+
auth?: {
|
|
2562
|
+
type: "token" | "ssh" | "basic";
|
|
2563
|
+
token?: string | undefined;
|
|
2564
|
+
sshKeyPath?: string | undefined;
|
|
2565
|
+
username?: string | undefined;
|
|
2566
|
+
password?: string | undefined;
|
|
2567
|
+
} | undefined;
|
|
2568
|
+
subdir?: string | undefined;
|
|
2569
|
+
install?: string | undefined;
|
|
2570
|
+
};
|
|
1736
2571
|
cwd?: string | undefined;
|
|
1737
2572
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
1738
2573
|
} | {
|
|
@@ -1796,6 +2631,7 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1796
2631
|
backgroundSchemaPopulation: boolean;
|
|
1797
2632
|
base_servers_auto_start: boolean;
|
|
1798
2633
|
base_servers_auto_expose_tools: boolean;
|
|
2634
|
+
gitMcpDir: string;
|
|
1799
2635
|
dynamicToolExposure: boolean;
|
|
1800
2636
|
timeouts: {
|
|
1801
2637
|
serverInit: number;
|
|
@@ -1887,6 +2723,34 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1887
2723
|
timeout?: number | undefined;
|
|
1888
2724
|
} | undefined;
|
|
1889
2725
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
2726
|
+
} | {
|
|
2727
|
+
name: string;
|
|
2728
|
+
transport: "git";
|
|
2729
|
+
command: string;
|
|
2730
|
+
git: {
|
|
2731
|
+
url: string;
|
|
2732
|
+
branch?: string | undefined;
|
|
2733
|
+
tag?: string | undefined;
|
|
2734
|
+
commit?: string | undefined;
|
|
2735
|
+
auth?: {
|
|
2736
|
+
type: "token" | "ssh" | "basic";
|
|
2737
|
+
token?: string | undefined;
|
|
2738
|
+
sshKeyPath?: string | undefined;
|
|
2739
|
+
username?: string | undefined;
|
|
2740
|
+
password?: string | undefined;
|
|
2741
|
+
} | undefined;
|
|
2742
|
+
subdir?: string | undefined;
|
|
2743
|
+
install?: string | undefined;
|
|
2744
|
+
};
|
|
2745
|
+
args?: string[] | undefined;
|
|
2746
|
+
env?: Record<string, string> | undefined;
|
|
2747
|
+
cwd?: string | undefined;
|
|
2748
|
+
healthCheck?: {
|
|
2749
|
+
enabled?: boolean | undefined;
|
|
2750
|
+
interval?: number | undefined;
|
|
2751
|
+
timeout?: number | undefined;
|
|
2752
|
+
} | undefined;
|
|
2753
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1890
2754
|
} | {
|
|
1891
2755
|
name: string;
|
|
1892
2756
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -1958,6 +2822,34 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
1958
2822
|
timeout?: number | undefined;
|
|
1959
2823
|
} | undefined;
|
|
1960
2824
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
2825
|
+
} | {
|
|
2826
|
+
name: string;
|
|
2827
|
+
transport: "git";
|
|
2828
|
+
command: string;
|
|
2829
|
+
git: {
|
|
2830
|
+
url: string;
|
|
2831
|
+
branch?: string | undefined;
|
|
2832
|
+
tag?: string | undefined;
|
|
2833
|
+
commit?: string | undefined;
|
|
2834
|
+
auth?: {
|
|
2835
|
+
type: "token" | "ssh" | "basic";
|
|
2836
|
+
token?: string | undefined;
|
|
2837
|
+
sshKeyPath?: string | undefined;
|
|
2838
|
+
username?: string | undefined;
|
|
2839
|
+
password?: string | undefined;
|
|
2840
|
+
} | undefined;
|
|
2841
|
+
subdir?: string | undefined;
|
|
2842
|
+
install?: string | undefined;
|
|
2843
|
+
};
|
|
2844
|
+
args?: string[] | undefined;
|
|
2845
|
+
env?: Record<string, string> | undefined;
|
|
2846
|
+
cwd?: string | undefined;
|
|
2847
|
+
healthCheck?: {
|
|
2848
|
+
enabled?: boolean | undefined;
|
|
2849
|
+
interval?: number | undefined;
|
|
2850
|
+
timeout?: number | undefined;
|
|
2851
|
+
} | undefined;
|
|
2852
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
1961
2853
|
} | {
|
|
1962
2854
|
name: string;
|
|
1963
2855
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -2003,6 +2895,7 @@ export declare const MetalinkConfigSchema: z.ZodObject<{
|
|
|
2003
2895
|
base_servers?: string[] | undefined;
|
|
2004
2896
|
base_servers_auto_start?: boolean | undefined;
|
|
2005
2897
|
base_servers_auto_expose_tools?: boolean | undefined;
|
|
2898
|
+
gitMcpDir?: string | undefined;
|
|
2006
2899
|
toolSafetyRules?: {
|
|
2007
2900
|
safePatterns?: string[] | undefined;
|
|
2008
2901
|
riskyPatterns?: string[] | undefined;
|
|
@@ -2102,6 +2995,138 @@ export declare const ConfigSchemas: {
|
|
|
2102
2995
|
timeout?: number | undefined;
|
|
2103
2996
|
} | undefined;
|
|
2104
2997
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
2998
|
+
}>, z.ZodObject<{
|
|
2999
|
+
name: z.ZodString;
|
|
3000
|
+
transport: z.ZodLiteral<"git">;
|
|
3001
|
+
git: z.ZodObject<{
|
|
3002
|
+
url: z.ZodString;
|
|
3003
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3006
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
3007
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
3008
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
token: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3012
|
+
}, "strip", z.ZodTypeAny, {
|
|
3013
|
+
type: "token" | "ssh" | "basic";
|
|
3014
|
+
token?: string | undefined;
|
|
3015
|
+
sshKeyPath?: string | undefined;
|
|
3016
|
+
username?: string | undefined;
|
|
3017
|
+
password?: string | undefined;
|
|
3018
|
+
}, {
|
|
3019
|
+
type: "token" | "ssh" | "basic";
|
|
3020
|
+
token?: string | undefined;
|
|
3021
|
+
sshKeyPath?: string | undefined;
|
|
3022
|
+
username?: string | undefined;
|
|
3023
|
+
password?: string | undefined;
|
|
3024
|
+
}>>;
|
|
3025
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
install: z.ZodOptional<z.ZodString>;
|
|
3027
|
+
}, "strip", z.ZodTypeAny, {
|
|
3028
|
+
url: string;
|
|
3029
|
+
branch?: string | undefined;
|
|
3030
|
+
tag?: string | undefined;
|
|
3031
|
+
commit?: string | undefined;
|
|
3032
|
+
auth?: {
|
|
3033
|
+
type: "token" | "ssh" | "basic";
|
|
3034
|
+
token?: string | undefined;
|
|
3035
|
+
sshKeyPath?: string | undefined;
|
|
3036
|
+
username?: string | undefined;
|
|
3037
|
+
password?: string | undefined;
|
|
3038
|
+
} | undefined;
|
|
3039
|
+
subdir?: string | undefined;
|
|
3040
|
+
install?: string | undefined;
|
|
3041
|
+
}, {
|
|
3042
|
+
url: string;
|
|
3043
|
+
branch?: string | undefined;
|
|
3044
|
+
tag?: string | undefined;
|
|
3045
|
+
commit?: string | undefined;
|
|
3046
|
+
auth?: {
|
|
3047
|
+
type: "token" | "ssh" | "basic";
|
|
3048
|
+
token?: string | undefined;
|
|
3049
|
+
sshKeyPath?: string | undefined;
|
|
3050
|
+
username?: string | undefined;
|
|
3051
|
+
password?: string | undefined;
|
|
3052
|
+
} | undefined;
|
|
3053
|
+
subdir?: string | undefined;
|
|
3054
|
+
install?: string | undefined;
|
|
3055
|
+
}>;
|
|
3056
|
+
command: z.ZodString;
|
|
3057
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3058
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3059
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3060
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3061
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3062
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3063
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3064
|
+
}, "strip", z.ZodTypeAny, {
|
|
3065
|
+
enabled: boolean;
|
|
3066
|
+
interval: number;
|
|
3067
|
+
timeout: number;
|
|
3068
|
+
}, {
|
|
3069
|
+
enabled?: boolean | undefined;
|
|
3070
|
+
interval?: number | undefined;
|
|
3071
|
+
timeout?: number | undefined;
|
|
3072
|
+
}>>>;
|
|
3073
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
3074
|
+
}, "strip", z.ZodTypeAny, {
|
|
3075
|
+
name: string;
|
|
3076
|
+
transport: "git";
|
|
3077
|
+
command: string;
|
|
3078
|
+
args: string[];
|
|
3079
|
+
env: Record<string, string>;
|
|
3080
|
+
healthCheck: {
|
|
3081
|
+
enabled: boolean;
|
|
3082
|
+
interval: number;
|
|
3083
|
+
timeout: number;
|
|
3084
|
+
};
|
|
3085
|
+
git: {
|
|
3086
|
+
url: string;
|
|
3087
|
+
branch?: string | undefined;
|
|
3088
|
+
tag?: string | undefined;
|
|
3089
|
+
commit?: string | undefined;
|
|
3090
|
+
auth?: {
|
|
3091
|
+
type: "token" | "ssh" | "basic";
|
|
3092
|
+
token?: string | undefined;
|
|
3093
|
+
sshKeyPath?: string | undefined;
|
|
3094
|
+
username?: string | undefined;
|
|
3095
|
+
password?: string | undefined;
|
|
3096
|
+
} | undefined;
|
|
3097
|
+
subdir?: string | undefined;
|
|
3098
|
+
install?: string | undefined;
|
|
3099
|
+
};
|
|
3100
|
+
cwd?: string | undefined;
|
|
3101
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3102
|
+
}, {
|
|
3103
|
+
name: string;
|
|
3104
|
+
transport: "git";
|
|
3105
|
+
command: string;
|
|
3106
|
+
git: {
|
|
3107
|
+
url: string;
|
|
3108
|
+
branch?: string | undefined;
|
|
3109
|
+
tag?: string | undefined;
|
|
3110
|
+
commit?: string | undefined;
|
|
3111
|
+
auth?: {
|
|
3112
|
+
type: "token" | "ssh" | "basic";
|
|
3113
|
+
token?: string | undefined;
|
|
3114
|
+
sshKeyPath?: string | undefined;
|
|
3115
|
+
username?: string | undefined;
|
|
3116
|
+
password?: string | undefined;
|
|
3117
|
+
} | undefined;
|
|
3118
|
+
subdir?: string | undefined;
|
|
3119
|
+
install?: string | undefined;
|
|
3120
|
+
};
|
|
3121
|
+
args?: string[] | undefined;
|
|
3122
|
+
env?: Record<string, string> | undefined;
|
|
3123
|
+
cwd?: string | undefined;
|
|
3124
|
+
healthCheck?: {
|
|
3125
|
+
enabled?: boolean | undefined;
|
|
3126
|
+
interval?: number | undefined;
|
|
3127
|
+
timeout?: number | undefined;
|
|
3128
|
+
} | undefined;
|
|
3129
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
2105
3130
|
}>, z.ZodObject<{
|
|
2106
3131
|
name: z.ZodString;
|
|
2107
3132
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -2649,6 +3674,138 @@ export declare const ConfigSchemas: {
|
|
|
2649
3674
|
timeout?: number | undefined;
|
|
2650
3675
|
} | undefined;
|
|
2651
3676
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
3677
|
+
}>, z.ZodObject<{
|
|
3678
|
+
name: z.ZodString;
|
|
3679
|
+
transport: z.ZodLiteral<"git">;
|
|
3680
|
+
git: z.ZodObject<{
|
|
3681
|
+
url: z.ZodString;
|
|
3682
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3684
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3685
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
3686
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
3687
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
3688
|
+
token: z.ZodOptional<z.ZodString>;
|
|
3689
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3690
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3691
|
+
}, "strip", z.ZodTypeAny, {
|
|
3692
|
+
type: "token" | "ssh" | "basic";
|
|
3693
|
+
token?: string | undefined;
|
|
3694
|
+
sshKeyPath?: string | undefined;
|
|
3695
|
+
username?: string | undefined;
|
|
3696
|
+
password?: string | undefined;
|
|
3697
|
+
}, {
|
|
3698
|
+
type: "token" | "ssh" | "basic";
|
|
3699
|
+
token?: string | undefined;
|
|
3700
|
+
sshKeyPath?: string | undefined;
|
|
3701
|
+
username?: string | undefined;
|
|
3702
|
+
password?: string | undefined;
|
|
3703
|
+
}>>;
|
|
3704
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
3705
|
+
install: z.ZodOptional<z.ZodString>;
|
|
3706
|
+
}, "strip", z.ZodTypeAny, {
|
|
3707
|
+
url: string;
|
|
3708
|
+
branch?: string | undefined;
|
|
3709
|
+
tag?: string | undefined;
|
|
3710
|
+
commit?: string | undefined;
|
|
3711
|
+
auth?: {
|
|
3712
|
+
type: "token" | "ssh" | "basic";
|
|
3713
|
+
token?: string | undefined;
|
|
3714
|
+
sshKeyPath?: string | undefined;
|
|
3715
|
+
username?: string | undefined;
|
|
3716
|
+
password?: string | undefined;
|
|
3717
|
+
} | undefined;
|
|
3718
|
+
subdir?: string | undefined;
|
|
3719
|
+
install?: string | undefined;
|
|
3720
|
+
}, {
|
|
3721
|
+
url: string;
|
|
3722
|
+
branch?: string | undefined;
|
|
3723
|
+
tag?: string | undefined;
|
|
3724
|
+
commit?: string | undefined;
|
|
3725
|
+
auth?: {
|
|
3726
|
+
type: "token" | "ssh" | "basic";
|
|
3727
|
+
token?: string | undefined;
|
|
3728
|
+
sshKeyPath?: string | undefined;
|
|
3729
|
+
username?: string | undefined;
|
|
3730
|
+
password?: string | undefined;
|
|
3731
|
+
} | undefined;
|
|
3732
|
+
subdir?: string | undefined;
|
|
3733
|
+
install?: string | undefined;
|
|
3734
|
+
}>;
|
|
3735
|
+
command: z.ZodString;
|
|
3736
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3737
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3738
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3739
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3740
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3741
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3742
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3743
|
+
}, "strip", z.ZodTypeAny, {
|
|
3744
|
+
enabled: boolean;
|
|
3745
|
+
interval: number;
|
|
3746
|
+
timeout: number;
|
|
3747
|
+
}, {
|
|
3748
|
+
enabled?: boolean | undefined;
|
|
3749
|
+
interval?: number | undefined;
|
|
3750
|
+
timeout?: number | undefined;
|
|
3751
|
+
}>>>;
|
|
3752
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
3753
|
+
}, "strip", z.ZodTypeAny, {
|
|
3754
|
+
name: string;
|
|
3755
|
+
transport: "git";
|
|
3756
|
+
command: string;
|
|
3757
|
+
args: string[];
|
|
3758
|
+
env: Record<string, string>;
|
|
3759
|
+
healthCheck: {
|
|
3760
|
+
enabled: boolean;
|
|
3761
|
+
interval: number;
|
|
3762
|
+
timeout: number;
|
|
3763
|
+
};
|
|
3764
|
+
git: {
|
|
3765
|
+
url: string;
|
|
3766
|
+
branch?: string | undefined;
|
|
3767
|
+
tag?: string | undefined;
|
|
3768
|
+
commit?: string | undefined;
|
|
3769
|
+
auth?: {
|
|
3770
|
+
type: "token" | "ssh" | "basic";
|
|
3771
|
+
token?: string | undefined;
|
|
3772
|
+
sshKeyPath?: string | undefined;
|
|
3773
|
+
username?: string | undefined;
|
|
3774
|
+
password?: string | undefined;
|
|
3775
|
+
} | undefined;
|
|
3776
|
+
subdir?: string | undefined;
|
|
3777
|
+
install?: string | undefined;
|
|
3778
|
+
};
|
|
3779
|
+
cwd?: string | undefined;
|
|
3780
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3781
|
+
}, {
|
|
3782
|
+
name: string;
|
|
3783
|
+
transport: "git";
|
|
3784
|
+
command: string;
|
|
3785
|
+
git: {
|
|
3786
|
+
url: string;
|
|
3787
|
+
branch?: string | undefined;
|
|
3788
|
+
tag?: string | undefined;
|
|
3789
|
+
commit?: string | undefined;
|
|
3790
|
+
auth?: {
|
|
3791
|
+
type: "token" | "ssh" | "basic";
|
|
3792
|
+
token?: string | undefined;
|
|
3793
|
+
sshKeyPath?: string | undefined;
|
|
3794
|
+
username?: string | undefined;
|
|
3795
|
+
password?: string | undefined;
|
|
3796
|
+
} | undefined;
|
|
3797
|
+
subdir?: string | undefined;
|
|
3798
|
+
install?: string | undefined;
|
|
3799
|
+
};
|
|
3800
|
+
args?: string[] | undefined;
|
|
3801
|
+
env?: Record<string, string> | undefined;
|
|
3802
|
+
cwd?: string | undefined;
|
|
3803
|
+
healthCheck?: {
|
|
3804
|
+
enabled?: boolean | undefined;
|
|
3805
|
+
interval?: number | undefined;
|
|
3806
|
+
timeout?: number | undefined;
|
|
3807
|
+
} | undefined;
|
|
3808
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
2652
3809
|
}>, z.ZodObject<{
|
|
2653
3810
|
name: z.ZodString;
|
|
2654
3811
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -2790,6 +3947,34 @@ export declare const ConfigSchemas: {
|
|
|
2790
3947
|
};
|
|
2791
3948
|
cwd?: string | undefined;
|
|
2792
3949
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
3950
|
+
} | {
|
|
3951
|
+
name: string;
|
|
3952
|
+
transport: "git";
|
|
3953
|
+
command: string;
|
|
3954
|
+
args: string[];
|
|
3955
|
+
env: Record<string, string>;
|
|
3956
|
+
healthCheck: {
|
|
3957
|
+
enabled: boolean;
|
|
3958
|
+
interval: number;
|
|
3959
|
+
timeout: number;
|
|
3960
|
+
};
|
|
3961
|
+
git: {
|
|
3962
|
+
url: string;
|
|
3963
|
+
branch?: string | undefined;
|
|
3964
|
+
tag?: string | undefined;
|
|
3965
|
+
commit?: string | undefined;
|
|
3966
|
+
auth?: {
|
|
3967
|
+
type: "token" | "ssh" | "basic";
|
|
3968
|
+
token?: string | undefined;
|
|
3969
|
+
sshKeyPath?: string | undefined;
|
|
3970
|
+
username?: string | undefined;
|
|
3971
|
+
password?: string | undefined;
|
|
3972
|
+
} | undefined;
|
|
3973
|
+
subdir?: string | undefined;
|
|
3974
|
+
install?: string | undefined;
|
|
3975
|
+
};
|
|
3976
|
+
cwd?: string | undefined;
|
|
3977
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
2793
3978
|
} | {
|
|
2794
3979
|
name: string;
|
|
2795
3980
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -2871,6 +4056,34 @@ export declare const ConfigSchemas: {
|
|
|
2871
4056
|
timeout?: number | undefined;
|
|
2872
4057
|
} | undefined;
|
|
2873
4058
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
4059
|
+
} | {
|
|
4060
|
+
name: string;
|
|
4061
|
+
transport: "git";
|
|
4062
|
+
command: string;
|
|
4063
|
+
git: {
|
|
4064
|
+
url: string;
|
|
4065
|
+
branch?: string | undefined;
|
|
4066
|
+
tag?: string | undefined;
|
|
4067
|
+
commit?: string | undefined;
|
|
4068
|
+
auth?: {
|
|
4069
|
+
type: "token" | "ssh" | "basic";
|
|
4070
|
+
token?: string | undefined;
|
|
4071
|
+
sshKeyPath?: string | undefined;
|
|
4072
|
+
username?: string | undefined;
|
|
4073
|
+
password?: string | undefined;
|
|
4074
|
+
} | undefined;
|
|
4075
|
+
subdir?: string | undefined;
|
|
4076
|
+
install?: string | undefined;
|
|
4077
|
+
};
|
|
4078
|
+
args?: string[] | undefined;
|
|
4079
|
+
env?: Record<string, string> | undefined;
|
|
4080
|
+
cwd?: string | undefined;
|
|
4081
|
+
healthCheck?: {
|
|
4082
|
+
enabled?: boolean | undefined;
|
|
4083
|
+
interval?: number | undefined;
|
|
4084
|
+
timeout?: number | undefined;
|
|
4085
|
+
} | undefined;
|
|
4086
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
2874
4087
|
} | {
|
|
2875
4088
|
name: string;
|
|
2876
4089
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -2966,14 +4179,116 @@ export declare const ConfigSchemas: {
|
|
|
2966
4179
|
logLevel?: "debug" | "info" | "warn" | "error" | undefined;
|
|
2967
4180
|
rateLimit?: {
|
|
2968
4181
|
enabled?: boolean | undefined;
|
|
2969
|
-
windowMs?: number | undefined;
|
|
2970
|
-
max?: number | undefined;
|
|
2971
|
-
keyGenerator?: "ip" | "user" | undefined;
|
|
4182
|
+
windowMs?: number | undefined;
|
|
4183
|
+
max?: number | undefined;
|
|
4184
|
+
keyGenerator?: "ip" | "user" | undefined;
|
|
4185
|
+
} | undefined;
|
|
4186
|
+
}>>;
|
|
4187
|
+
servers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
|
|
4188
|
+
name: z.ZodString;
|
|
4189
|
+
transport: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"stdio">>>;
|
|
4190
|
+
command: z.ZodString;
|
|
4191
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
4192
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4193
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4194
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
4195
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4196
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4197
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4198
|
+
}, "strip", z.ZodTypeAny, {
|
|
4199
|
+
enabled: boolean;
|
|
4200
|
+
interval: number;
|
|
4201
|
+
timeout: number;
|
|
4202
|
+
}, {
|
|
4203
|
+
enabled?: boolean | undefined;
|
|
4204
|
+
interval?: number | undefined;
|
|
4205
|
+
timeout?: number | undefined;
|
|
4206
|
+
}>>>;
|
|
4207
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
4208
|
+
}, "strip", z.ZodTypeAny, {
|
|
4209
|
+
name: string;
|
|
4210
|
+
transport: "stdio";
|
|
4211
|
+
command: string;
|
|
4212
|
+
args: string[];
|
|
4213
|
+
env: Record<string, string>;
|
|
4214
|
+
healthCheck: {
|
|
4215
|
+
enabled: boolean;
|
|
4216
|
+
interval: number;
|
|
4217
|
+
timeout: number;
|
|
4218
|
+
};
|
|
4219
|
+
cwd?: string | undefined;
|
|
4220
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4221
|
+
}, {
|
|
4222
|
+
name: string;
|
|
4223
|
+
command: string;
|
|
4224
|
+
transport?: "stdio" | undefined;
|
|
4225
|
+
args?: string[] | undefined;
|
|
4226
|
+
env?: Record<string, string> | undefined;
|
|
4227
|
+
cwd?: string | undefined;
|
|
4228
|
+
healthCheck?: {
|
|
4229
|
+
enabled?: boolean | undefined;
|
|
4230
|
+
interval?: number | undefined;
|
|
4231
|
+
timeout?: number | undefined;
|
|
2972
4232
|
} | undefined;
|
|
2973
|
-
|
|
2974
|
-
|
|
4233
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4234
|
+
}>, z.ZodObject<{
|
|
2975
4235
|
name: z.ZodString;
|
|
2976
|
-
transport: z.
|
|
4236
|
+
transport: z.ZodLiteral<"git">;
|
|
4237
|
+
git: z.ZodObject<{
|
|
4238
|
+
url: z.ZodString;
|
|
4239
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
4240
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
4241
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
4243
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
4244
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
4245
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4246
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4247
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
}, "strip", z.ZodTypeAny, {
|
|
4249
|
+
type: "token" | "ssh" | "basic";
|
|
4250
|
+
token?: string | undefined;
|
|
4251
|
+
sshKeyPath?: string | undefined;
|
|
4252
|
+
username?: string | undefined;
|
|
4253
|
+
password?: string | undefined;
|
|
4254
|
+
}, {
|
|
4255
|
+
type: "token" | "ssh" | "basic";
|
|
4256
|
+
token?: string | undefined;
|
|
4257
|
+
sshKeyPath?: string | undefined;
|
|
4258
|
+
username?: string | undefined;
|
|
4259
|
+
password?: string | undefined;
|
|
4260
|
+
}>>;
|
|
4261
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
4262
|
+
install: z.ZodOptional<z.ZodString>;
|
|
4263
|
+
}, "strip", z.ZodTypeAny, {
|
|
4264
|
+
url: string;
|
|
4265
|
+
branch?: string | undefined;
|
|
4266
|
+
tag?: string | undefined;
|
|
4267
|
+
commit?: string | undefined;
|
|
4268
|
+
auth?: {
|
|
4269
|
+
type: "token" | "ssh" | "basic";
|
|
4270
|
+
token?: string | undefined;
|
|
4271
|
+
sshKeyPath?: string | undefined;
|
|
4272
|
+
username?: string | undefined;
|
|
4273
|
+
password?: string | undefined;
|
|
4274
|
+
} | undefined;
|
|
4275
|
+
subdir?: string | undefined;
|
|
4276
|
+
install?: string | undefined;
|
|
4277
|
+
}, {
|
|
4278
|
+
url: string;
|
|
4279
|
+
branch?: string | undefined;
|
|
4280
|
+
tag?: string | undefined;
|
|
4281
|
+
commit?: string | undefined;
|
|
4282
|
+
auth?: {
|
|
4283
|
+
type: "token" | "ssh" | "basic";
|
|
4284
|
+
token?: string | undefined;
|
|
4285
|
+
sshKeyPath?: string | undefined;
|
|
4286
|
+
username?: string | undefined;
|
|
4287
|
+
password?: string | undefined;
|
|
4288
|
+
} | undefined;
|
|
4289
|
+
subdir?: string | undefined;
|
|
4290
|
+
install?: string | undefined;
|
|
4291
|
+
}>;
|
|
2977
4292
|
command: z.ZodString;
|
|
2978
4293
|
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2979
4294
|
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -2994,7 +4309,7 @@ export declare const ConfigSchemas: {
|
|
|
2994
4309
|
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
2995
4310
|
}, "strip", z.ZodTypeAny, {
|
|
2996
4311
|
name: string;
|
|
2997
|
-
transport: "
|
|
4312
|
+
transport: "git";
|
|
2998
4313
|
command: string;
|
|
2999
4314
|
args: string[];
|
|
3000
4315
|
env: Record<string, string>;
|
|
@@ -3003,12 +4318,42 @@ export declare const ConfigSchemas: {
|
|
|
3003
4318
|
interval: number;
|
|
3004
4319
|
timeout: number;
|
|
3005
4320
|
};
|
|
4321
|
+
git: {
|
|
4322
|
+
url: string;
|
|
4323
|
+
branch?: string | undefined;
|
|
4324
|
+
tag?: string | undefined;
|
|
4325
|
+
commit?: string | undefined;
|
|
4326
|
+
auth?: {
|
|
4327
|
+
type: "token" | "ssh" | "basic";
|
|
4328
|
+
token?: string | undefined;
|
|
4329
|
+
sshKeyPath?: string | undefined;
|
|
4330
|
+
username?: string | undefined;
|
|
4331
|
+
password?: string | undefined;
|
|
4332
|
+
} | undefined;
|
|
4333
|
+
subdir?: string | undefined;
|
|
4334
|
+
install?: string | undefined;
|
|
4335
|
+
};
|
|
3006
4336
|
cwd?: string | undefined;
|
|
3007
4337
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
3008
4338
|
}, {
|
|
3009
4339
|
name: string;
|
|
4340
|
+
transport: "git";
|
|
3010
4341
|
command: string;
|
|
3011
|
-
|
|
4342
|
+
git: {
|
|
4343
|
+
url: string;
|
|
4344
|
+
branch?: string | undefined;
|
|
4345
|
+
tag?: string | undefined;
|
|
4346
|
+
commit?: string | undefined;
|
|
4347
|
+
auth?: {
|
|
4348
|
+
type: "token" | "ssh" | "basic";
|
|
4349
|
+
token?: string | undefined;
|
|
4350
|
+
sshKeyPath?: string | undefined;
|
|
4351
|
+
username?: string | undefined;
|
|
4352
|
+
password?: string | undefined;
|
|
4353
|
+
} | undefined;
|
|
4354
|
+
subdir?: string | undefined;
|
|
4355
|
+
install?: string | undefined;
|
|
4356
|
+
};
|
|
3012
4357
|
args?: string[] | undefined;
|
|
3013
4358
|
env?: Record<string, string> | undefined;
|
|
3014
4359
|
cwd?: string | undefined;
|
|
@@ -3273,6 +4618,138 @@ export declare const ConfigSchemas: {
|
|
|
3273
4618
|
timeout?: number | undefined;
|
|
3274
4619
|
} | undefined;
|
|
3275
4620
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
4621
|
+
}>, z.ZodObject<{
|
|
4622
|
+
name: z.ZodString;
|
|
4623
|
+
transport: z.ZodLiteral<"git">;
|
|
4624
|
+
git: z.ZodObject<{
|
|
4625
|
+
url: z.ZodString;
|
|
4626
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
4627
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
4628
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
4629
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
4630
|
+
type: z.ZodEnum<["ssh", "token", "basic"]>;
|
|
4631
|
+
sshKeyPath: z.ZodOptional<z.ZodString>;
|
|
4632
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4633
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4634
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4635
|
+
}, "strip", z.ZodTypeAny, {
|
|
4636
|
+
type: "token" | "ssh" | "basic";
|
|
4637
|
+
token?: string | undefined;
|
|
4638
|
+
sshKeyPath?: string | undefined;
|
|
4639
|
+
username?: string | undefined;
|
|
4640
|
+
password?: string | undefined;
|
|
4641
|
+
}, {
|
|
4642
|
+
type: "token" | "ssh" | "basic";
|
|
4643
|
+
token?: string | undefined;
|
|
4644
|
+
sshKeyPath?: string | undefined;
|
|
4645
|
+
username?: string | undefined;
|
|
4646
|
+
password?: string | undefined;
|
|
4647
|
+
}>>;
|
|
4648
|
+
subdir: z.ZodOptional<z.ZodString>;
|
|
4649
|
+
install: z.ZodOptional<z.ZodString>;
|
|
4650
|
+
}, "strip", z.ZodTypeAny, {
|
|
4651
|
+
url: string;
|
|
4652
|
+
branch?: string | undefined;
|
|
4653
|
+
tag?: string | undefined;
|
|
4654
|
+
commit?: string | undefined;
|
|
4655
|
+
auth?: {
|
|
4656
|
+
type: "token" | "ssh" | "basic";
|
|
4657
|
+
token?: string | undefined;
|
|
4658
|
+
sshKeyPath?: string | undefined;
|
|
4659
|
+
username?: string | undefined;
|
|
4660
|
+
password?: string | undefined;
|
|
4661
|
+
} | undefined;
|
|
4662
|
+
subdir?: string | undefined;
|
|
4663
|
+
install?: string | undefined;
|
|
4664
|
+
}, {
|
|
4665
|
+
url: string;
|
|
4666
|
+
branch?: string | undefined;
|
|
4667
|
+
tag?: string | undefined;
|
|
4668
|
+
commit?: string | undefined;
|
|
4669
|
+
auth?: {
|
|
4670
|
+
type: "token" | "ssh" | "basic";
|
|
4671
|
+
token?: string | undefined;
|
|
4672
|
+
sshKeyPath?: string | undefined;
|
|
4673
|
+
username?: string | undefined;
|
|
4674
|
+
password?: string | undefined;
|
|
4675
|
+
} | undefined;
|
|
4676
|
+
subdir?: string | undefined;
|
|
4677
|
+
install?: string | undefined;
|
|
4678
|
+
}>;
|
|
4679
|
+
command: z.ZodString;
|
|
4680
|
+
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
4681
|
+
env: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4682
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
healthCheck: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
4684
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4685
|
+
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4686
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4687
|
+
}, "strip", z.ZodTypeAny, {
|
|
4688
|
+
enabled: boolean;
|
|
4689
|
+
interval: number;
|
|
4690
|
+
timeout: number;
|
|
4691
|
+
}, {
|
|
4692
|
+
enabled?: boolean | undefined;
|
|
4693
|
+
interval?: number | undefined;
|
|
4694
|
+
timeout?: number | undefined;
|
|
4695
|
+
}>>>;
|
|
4696
|
+
safety: z.ZodOptional<z.ZodEnum<["safe", "risky", "default"]>>;
|
|
4697
|
+
}, "strip", z.ZodTypeAny, {
|
|
4698
|
+
name: string;
|
|
4699
|
+
transport: "git";
|
|
4700
|
+
command: string;
|
|
4701
|
+
args: string[];
|
|
4702
|
+
env: Record<string, string>;
|
|
4703
|
+
healthCheck: {
|
|
4704
|
+
enabled: boolean;
|
|
4705
|
+
interval: number;
|
|
4706
|
+
timeout: number;
|
|
4707
|
+
};
|
|
4708
|
+
git: {
|
|
4709
|
+
url: string;
|
|
4710
|
+
branch?: string | undefined;
|
|
4711
|
+
tag?: string | undefined;
|
|
4712
|
+
commit?: string | undefined;
|
|
4713
|
+
auth?: {
|
|
4714
|
+
type: "token" | "ssh" | "basic";
|
|
4715
|
+
token?: string | undefined;
|
|
4716
|
+
sshKeyPath?: string | undefined;
|
|
4717
|
+
username?: string | undefined;
|
|
4718
|
+
password?: string | undefined;
|
|
4719
|
+
} | undefined;
|
|
4720
|
+
subdir?: string | undefined;
|
|
4721
|
+
install?: string | undefined;
|
|
4722
|
+
};
|
|
4723
|
+
cwd?: string | undefined;
|
|
4724
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4725
|
+
}, {
|
|
4726
|
+
name: string;
|
|
4727
|
+
transport: "git";
|
|
4728
|
+
command: string;
|
|
4729
|
+
git: {
|
|
4730
|
+
url: string;
|
|
4731
|
+
branch?: string | undefined;
|
|
4732
|
+
tag?: string | undefined;
|
|
4733
|
+
commit?: string | undefined;
|
|
4734
|
+
auth?: {
|
|
4735
|
+
type: "token" | "ssh" | "basic";
|
|
4736
|
+
token?: string | undefined;
|
|
4737
|
+
sshKeyPath?: string | undefined;
|
|
4738
|
+
username?: string | undefined;
|
|
4739
|
+
password?: string | undefined;
|
|
4740
|
+
} | undefined;
|
|
4741
|
+
subdir?: string | undefined;
|
|
4742
|
+
install?: string | undefined;
|
|
4743
|
+
};
|
|
4744
|
+
args?: string[] | undefined;
|
|
4745
|
+
env?: Record<string, string> | undefined;
|
|
4746
|
+
cwd?: string | undefined;
|
|
4747
|
+
healthCheck?: {
|
|
4748
|
+
enabled?: boolean | undefined;
|
|
4749
|
+
interval?: number | undefined;
|
|
4750
|
+
timeout?: number | undefined;
|
|
4751
|
+
} | undefined;
|
|
4752
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3276
4753
|
}>, z.ZodObject<{
|
|
3277
4754
|
name: z.ZodString;
|
|
3278
4755
|
transport: z.ZodEnum<["http", "sse", "sse-first", "http-stream"]>;
|
|
@@ -3414,6 +4891,34 @@ export declare const ConfigSchemas: {
|
|
|
3414
4891
|
};
|
|
3415
4892
|
cwd?: string | undefined;
|
|
3416
4893
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
4894
|
+
} | {
|
|
4895
|
+
name: string;
|
|
4896
|
+
transport: "git";
|
|
4897
|
+
command: string;
|
|
4898
|
+
args: string[];
|
|
4899
|
+
env: Record<string, string>;
|
|
4900
|
+
healthCheck: {
|
|
4901
|
+
enabled: boolean;
|
|
4902
|
+
interval: number;
|
|
4903
|
+
timeout: number;
|
|
4904
|
+
};
|
|
4905
|
+
git: {
|
|
4906
|
+
url: string;
|
|
4907
|
+
branch?: string | undefined;
|
|
4908
|
+
tag?: string | undefined;
|
|
4909
|
+
commit?: string | undefined;
|
|
4910
|
+
auth?: {
|
|
4911
|
+
type: "token" | "ssh" | "basic";
|
|
4912
|
+
token?: string | undefined;
|
|
4913
|
+
sshKeyPath?: string | undefined;
|
|
4914
|
+
username?: string | undefined;
|
|
4915
|
+
password?: string | undefined;
|
|
4916
|
+
} | undefined;
|
|
4917
|
+
subdir?: string | undefined;
|
|
4918
|
+
install?: string | undefined;
|
|
4919
|
+
};
|
|
4920
|
+
cwd?: string | undefined;
|
|
4921
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3417
4922
|
} | {
|
|
3418
4923
|
name: string;
|
|
3419
4924
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -3495,6 +5000,34 @@ export declare const ConfigSchemas: {
|
|
|
3495
5000
|
timeout?: number | undefined;
|
|
3496
5001
|
} | undefined;
|
|
3497
5002
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5003
|
+
} | {
|
|
5004
|
+
name: string;
|
|
5005
|
+
transport: "git";
|
|
5006
|
+
command: string;
|
|
5007
|
+
git: {
|
|
5008
|
+
url: string;
|
|
5009
|
+
branch?: string | undefined;
|
|
5010
|
+
tag?: string | undefined;
|
|
5011
|
+
commit?: string | undefined;
|
|
5012
|
+
auth?: {
|
|
5013
|
+
type: "token" | "ssh" | "basic";
|
|
5014
|
+
token?: string | undefined;
|
|
5015
|
+
sshKeyPath?: string | undefined;
|
|
5016
|
+
username?: string | undefined;
|
|
5017
|
+
password?: string | undefined;
|
|
5018
|
+
} | undefined;
|
|
5019
|
+
subdir?: string | undefined;
|
|
5020
|
+
install?: string | undefined;
|
|
5021
|
+
};
|
|
5022
|
+
args?: string[] | undefined;
|
|
5023
|
+
env?: Record<string, string> | undefined;
|
|
5024
|
+
cwd?: string | undefined;
|
|
5025
|
+
healthCheck?: {
|
|
5026
|
+
enabled?: boolean | undefined;
|
|
5027
|
+
interval?: number | undefined;
|
|
5028
|
+
timeout?: number | undefined;
|
|
5029
|
+
} | undefined;
|
|
5030
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3498
5031
|
} | {
|
|
3499
5032
|
name: string;
|
|
3500
5033
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -3547,6 +5080,7 @@ export declare const ConfigSchemas: {
|
|
|
3547
5080
|
base_servers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3548
5081
|
base_servers_auto_start: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3549
5082
|
base_servers_auto_expose_tools: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5083
|
+
gitMcpDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3550
5084
|
toolSafetyRules: z.ZodOptional<z.ZodObject<{
|
|
3551
5085
|
safePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3552
5086
|
riskyPatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3687,6 +5221,34 @@ export declare const ConfigSchemas: {
|
|
|
3687
5221
|
};
|
|
3688
5222
|
cwd?: string | undefined;
|
|
3689
5223
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5224
|
+
} | {
|
|
5225
|
+
name: string;
|
|
5226
|
+
transport: "git";
|
|
5227
|
+
command: string;
|
|
5228
|
+
args: string[];
|
|
5229
|
+
env: Record<string, string>;
|
|
5230
|
+
healthCheck: {
|
|
5231
|
+
enabled: boolean;
|
|
5232
|
+
interval: number;
|
|
5233
|
+
timeout: number;
|
|
5234
|
+
};
|
|
5235
|
+
git: {
|
|
5236
|
+
url: string;
|
|
5237
|
+
branch?: string | undefined;
|
|
5238
|
+
tag?: string | undefined;
|
|
5239
|
+
commit?: string | undefined;
|
|
5240
|
+
auth?: {
|
|
5241
|
+
type: "token" | "ssh" | "basic";
|
|
5242
|
+
token?: string | undefined;
|
|
5243
|
+
sshKeyPath?: string | undefined;
|
|
5244
|
+
username?: string | undefined;
|
|
5245
|
+
password?: string | undefined;
|
|
5246
|
+
} | undefined;
|
|
5247
|
+
subdir?: string | undefined;
|
|
5248
|
+
install?: string | undefined;
|
|
5249
|
+
};
|
|
5250
|
+
cwd?: string | undefined;
|
|
5251
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3690
5252
|
} | {
|
|
3691
5253
|
name: string;
|
|
3692
5254
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -3741,6 +5303,34 @@ export declare const ConfigSchemas: {
|
|
|
3741
5303
|
};
|
|
3742
5304
|
cwd?: string | undefined;
|
|
3743
5305
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5306
|
+
} | {
|
|
5307
|
+
name: string;
|
|
5308
|
+
transport: "git";
|
|
5309
|
+
command: string;
|
|
5310
|
+
args: string[];
|
|
5311
|
+
env: Record<string, string>;
|
|
5312
|
+
healthCheck: {
|
|
5313
|
+
enabled: boolean;
|
|
5314
|
+
interval: number;
|
|
5315
|
+
timeout: number;
|
|
5316
|
+
};
|
|
5317
|
+
git: {
|
|
5318
|
+
url: string;
|
|
5319
|
+
branch?: string | undefined;
|
|
5320
|
+
tag?: string | undefined;
|
|
5321
|
+
commit?: string | undefined;
|
|
5322
|
+
auth?: {
|
|
5323
|
+
type: "token" | "ssh" | "basic";
|
|
5324
|
+
token?: string | undefined;
|
|
5325
|
+
sshKeyPath?: string | undefined;
|
|
5326
|
+
username?: string | undefined;
|
|
5327
|
+
password?: string | undefined;
|
|
5328
|
+
} | undefined;
|
|
5329
|
+
subdir?: string | undefined;
|
|
5330
|
+
install?: string | undefined;
|
|
5331
|
+
};
|
|
5332
|
+
cwd?: string | undefined;
|
|
5333
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3744
5334
|
} | {
|
|
3745
5335
|
name: string;
|
|
3746
5336
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -3802,6 +5392,7 @@ export declare const ConfigSchemas: {
|
|
|
3802
5392
|
backgroundSchemaPopulation: boolean;
|
|
3803
5393
|
base_servers_auto_start: boolean;
|
|
3804
5394
|
base_servers_auto_expose_tools: boolean;
|
|
5395
|
+
gitMcpDir: string;
|
|
3805
5396
|
dynamicToolExposure: boolean;
|
|
3806
5397
|
timeouts: {
|
|
3807
5398
|
serverInit: number;
|
|
@@ -3893,6 +5484,34 @@ export declare const ConfigSchemas: {
|
|
|
3893
5484
|
timeout?: number | undefined;
|
|
3894
5485
|
} | undefined;
|
|
3895
5486
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5487
|
+
} | {
|
|
5488
|
+
name: string;
|
|
5489
|
+
transport: "git";
|
|
5490
|
+
command: string;
|
|
5491
|
+
git: {
|
|
5492
|
+
url: string;
|
|
5493
|
+
branch?: string | undefined;
|
|
5494
|
+
tag?: string | undefined;
|
|
5495
|
+
commit?: string | undefined;
|
|
5496
|
+
auth?: {
|
|
5497
|
+
type: "token" | "ssh" | "basic";
|
|
5498
|
+
token?: string | undefined;
|
|
5499
|
+
sshKeyPath?: string | undefined;
|
|
5500
|
+
username?: string | undefined;
|
|
5501
|
+
password?: string | undefined;
|
|
5502
|
+
} | undefined;
|
|
5503
|
+
subdir?: string | undefined;
|
|
5504
|
+
install?: string | undefined;
|
|
5505
|
+
};
|
|
5506
|
+
args?: string[] | undefined;
|
|
5507
|
+
env?: Record<string, string> | undefined;
|
|
5508
|
+
cwd?: string | undefined;
|
|
5509
|
+
healthCheck?: {
|
|
5510
|
+
enabled?: boolean | undefined;
|
|
5511
|
+
interval?: number | undefined;
|
|
5512
|
+
timeout?: number | undefined;
|
|
5513
|
+
} | undefined;
|
|
5514
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3896
5515
|
} | {
|
|
3897
5516
|
name: string;
|
|
3898
5517
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -3964,6 +5583,34 @@ export declare const ConfigSchemas: {
|
|
|
3964
5583
|
timeout?: number | undefined;
|
|
3965
5584
|
} | undefined;
|
|
3966
5585
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5586
|
+
} | {
|
|
5587
|
+
name: string;
|
|
5588
|
+
transport: "git";
|
|
5589
|
+
command: string;
|
|
5590
|
+
git: {
|
|
5591
|
+
url: string;
|
|
5592
|
+
branch?: string | undefined;
|
|
5593
|
+
tag?: string | undefined;
|
|
5594
|
+
commit?: string | undefined;
|
|
5595
|
+
auth?: {
|
|
5596
|
+
type: "token" | "ssh" | "basic";
|
|
5597
|
+
token?: string | undefined;
|
|
5598
|
+
sshKeyPath?: string | undefined;
|
|
5599
|
+
username?: string | undefined;
|
|
5600
|
+
password?: string | undefined;
|
|
5601
|
+
} | undefined;
|
|
5602
|
+
subdir?: string | undefined;
|
|
5603
|
+
install?: string | undefined;
|
|
5604
|
+
};
|
|
5605
|
+
args?: string[] | undefined;
|
|
5606
|
+
env?: Record<string, string> | undefined;
|
|
5607
|
+
cwd?: string | undefined;
|
|
5608
|
+
healthCheck?: {
|
|
5609
|
+
enabled?: boolean | undefined;
|
|
5610
|
+
interval?: number | undefined;
|
|
5611
|
+
timeout?: number | undefined;
|
|
5612
|
+
} | undefined;
|
|
5613
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
3967
5614
|
} | {
|
|
3968
5615
|
name: string;
|
|
3969
5616
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -4009,6 +5656,7 @@ export declare const ConfigSchemas: {
|
|
|
4009
5656
|
base_servers?: string[] | undefined;
|
|
4010
5657
|
base_servers_auto_start?: boolean | undefined;
|
|
4011
5658
|
base_servers_auto_expose_tools?: boolean | undefined;
|
|
5659
|
+
gitMcpDir?: string | undefined;
|
|
4012
5660
|
toolSafetyRules?: {
|
|
4013
5661
|
safePatterns?: string[] | undefined;
|
|
4014
5662
|
riskyPatterns?: string[] | undefined;
|
|
@@ -4093,6 +5741,34 @@ export declare function validateConfigSafe(config: unknown): z.SafeParseReturnTy
|
|
|
4093
5741
|
timeout?: number | undefined;
|
|
4094
5742
|
} | undefined;
|
|
4095
5743
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5744
|
+
} | {
|
|
5745
|
+
name: string;
|
|
5746
|
+
transport: "git";
|
|
5747
|
+
command: string;
|
|
5748
|
+
git: {
|
|
5749
|
+
url: string;
|
|
5750
|
+
branch?: string | undefined;
|
|
5751
|
+
tag?: string | undefined;
|
|
5752
|
+
commit?: string | undefined;
|
|
5753
|
+
auth?: {
|
|
5754
|
+
type: "token" | "ssh" | "basic";
|
|
5755
|
+
token?: string | undefined;
|
|
5756
|
+
sshKeyPath?: string | undefined;
|
|
5757
|
+
username?: string | undefined;
|
|
5758
|
+
password?: string | undefined;
|
|
5759
|
+
} | undefined;
|
|
5760
|
+
subdir?: string | undefined;
|
|
5761
|
+
install?: string | undefined;
|
|
5762
|
+
};
|
|
5763
|
+
args?: string[] | undefined;
|
|
5764
|
+
env?: Record<string, string> | undefined;
|
|
5765
|
+
cwd?: string | undefined;
|
|
5766
|
+
healthCheck?: {
|
|
5767
|
+
enabled?: boolean | undefined;
|
|
5768
|
+
interval?: number | undefined;
|
|
5769
|
+
timeout?: number | undefined;
|
|
5770
|
+
} | undefined;
|
|
5771
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4096
5772
|
} | {
|
|
4097
5773
|
name: string;
|
|
4098
5774
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -4164,6 +5840,34 @@ export declare function validateConfigSafe(config: unknown): z.SafeParseReturnTy
|
|
|
4164
5840
|
timeout?: number | undefined;
|
|
4165
5841
|
} | undefined;
|
|
4166
5842
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5843
|
+
} | {
|
|
5844
|
+
name: string;
|
|
5845
|
+
transport: "git";
|
|
5846
|
+
command: string;
|
|
5847
|
+
git: {
|
|
5848
|
+
url: string;
|
|
5849
|
+
branch?: string | undefined;
|
|
5850
|
+
tag?: string | undefined;
|
|
5851
|
+
commit?: string | undefined;
|
|
5852
|
+
auth?: {
|
|
5853
|
+
type: "token" | "ssh" | "basic";
|
|
5854
|
+
token?: string | undefined;
|
|
5855
|
+
sshKeyPath?: string | undefined;
|
|
5856
|
+
username?: string | undefined;
|
|
5857
|
+
password?: string | undefined;
|
|
5858
|
+
} | undefined;
|
|
5859
|
+
subdir?: string | undefined;
|
|
5860
|
+
install?: string | undefined;
|
|
5861
|
+
};
|
|
5862
|
+
args?: string[] | undefined;
|
|
5863
|
+
env?: Record<string, string> | undefined;
|
|
5864
|
+
cwd?: string | undefined;
|
|
5865
|
+
healthCheck?: {
|
|
5866
|
+
enabled?: boolean | undefined;
|
|
5867
|
+
interval?: number | undefined;
|
|
5868
|
+
timeout?: number | undefined;
|
|
5869
|
+
} | undefined;
|
|
5870
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4167
5871
|
} | {
|
|
4168
5872
|
name: string;
|
|
4169
5873
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -4209,6 +5913,7 @@ export declare function validateConfigSafe(config: unknown): z.SafeParseReturnTy
|
|
|
4209
5913
|
base_servers?: string[] | undefined;
|
|
4210
5914
|
base_servers_auto_start?: boolean | undefined;
|
|
4211
5915
|
base_servers_auto_expose_tools?: boolean | undefined;
|
|
5916
|
+
gitMcpDir?: string | undefined;
|
|
4212
5917
|
toolSafetyRules?: {
|
|
4213
5918
|
safePatterns?: string[] | undefined;
|
|
4214
5919
|
riskyPatterns?: string[] | undefined;
|
|
@@ -4265,6 +5970,34 @@ export declare function validateConfigSafe(config: unknown): z.SafeParseReturnTy
|
|
|
4265
5970
|
};
|
|
4266
5971
|
cwd?: string | undefined;
|
|
4267
5972
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
5973
|
+
} | {
|
|
5974
|
+
name: string;
|
|
5975
|
+
transport: "git";
|
|
5976
|
+
command: string;
|
|
5977
|
+
args: string[];
|
|
5978
|
+
env: Record<string, string>;
|
|
5979
|
+
healthCheck: {
|
|
5980
|
+
enabled: boolean;
|
|
5981
|
+
interval: number;
|
|
5982
|
+
timeout: number;
|
|
5983
|
+
};
|
|
5984
|
+
git: {
|
|
5985
|
+
url: string;
|
|
5986
|
+
branch?: string | undefined;
|
|
5987
|
+
tag?: string | undefined;
|
|
5988
|
+
commit?: string | undefined;
|
|
5989
|
+
auth?: {
|
|
5990
|
+
type: "token" | "ssh" | "basic";
|
|
5991
|
+
token?: string | undefined;
|
|
5992
|
+
sshKeyPath?: string | undefined;
|
|
5993
|
+
username?: string | undefined;
|
|
5994
|
+
password?: string | undefined;
|
|
5995
|
+
} | undefined;
|
|
5996
|
+
subdir?: string | undefined;
|
|
5997
|
+
install?: string | undefined;
|
|
5998
|
+
};
|
|
5999
|
+
cwd?: string | undefined;
|
|
6000
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4268
6001
|
} | {
|
|
4269
6002
|
name: string;
|
|
4270
6003
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -4319,6 +6052,34 @@ export declare function validateConfigSafe(config: unknown): z.SafeParseReturnTy
|
|
|
4319
6052
|
};
|
|
4320
6053
|
cwd?: string | undefined;
|
|
4321
6054
|
safety?: "safe" | "risky" | "default" | undefined;
|
|
6055
|
+
} | {
|
|
6056
|
+
name: string;
|
|
6057
|
+
transport: "git";
|
|
6058
|
+
command: string;
|
|
6059
|
+
args: string[];
|
|
6060
|
+
env: Record<string, string>;
|
|
6061
|
+
healthCheck: {
|
|
6062
|
+
enabled: boolean;
|
|
6063
|
+
interval: number;
|
|
6064
|
+
timeout: number;
|
|
6065
|
+
};
|
|
6066
|
+
git: {
|
|
6067
|
+
url: string;
|
|
6068
|
+
branch?: string | undefined;
|
|
6069
|
+
tag?: string | undefined;
|
|
6070
|
+
commit?: string | undefined;
|
|
6071
|
+
auth?: {
|
|
6072
|
+
type: "token" | "ssh" | "basic";
|
|
6073
|
+
token?: string | undefined;
|
|
6074
|
+
sshKeyPath?: string | undefined;
|
|
6075
|
+
username?: string | undefined;
|
|
6076
|
+
password?: string | undefined;
|
|
6077
|
+
} | undefined;
|
|
6078
|
+
subdir?: string | undefined;
|
|
6079
|
+
install?: string | undefined;
|
|
6080
|
+
};
|
|
6081
|
+
cwd?: string | undefined;
|
|
6082
|
+
safety?: "safe" | "risky" | "default" | undefined;
|
|
4322
6083
|
} | {
|
|
4323
6084
|
name: string;
|
|
4324
6085
|
transport: "http" | "sse" | "sse-first" | "http-stream";
|
|
@@ -4380,6 +6141,7 @@ export declare function validateConfigSafe(config: unknown): z.SafeParseReturnTy
|
|
|
4380
6141
|
backgroundSchemaPopulation: boolean;
|
|
4381
6142
|
base_servers_auto_start: boolean;
|
|
4382
6143
|
base_servers_auto_expose_tools: boolean;
|
|
6144
|
+
gitMcpDir: string;
|
|
4383
6145
|
dynamicToolExposure: boolean;
|
|
4384
6146
|
timeouts: {
|
|
4385
6147
|
serverInit: number;
|