@agent-relay/config 11.2.0 → 11.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas.d.ts +48 -529
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +21 -14
- package/dist/schemas.js.map +1 -1
- package/package.json +2 -3
package/dist/schemas.d.ts
CHANGED
|
@@ -6,21 +6,7 @@ export declare const ConnectionConfigSchema: z.ZodObject<{
|
|
|
6
6
|
maxWriteQueueSize: z.ZodNumber;
|
|
7
7
|
writeQueueHighWaterMark: z.ZodNumber;
|
|
8
8
|
writeQueueLowWaterMark: z.ZodNumber;
|
|
9
|
-
},
|
|
10
|
-
maxFrameBytes: number;
|
|
11
|
-
heartbeatMs: number;
|
|
12
|
-
heartbeatTimeoutMultiplier: number;
|
|
13
|
-
maxWriteQueueSize: number;
|
|
14
|
-
writeQueueHighWaterMark: number;
|
|
15
|
-
writeQueueLowWaterMark: number;
|
|
16
|
-
}, {
|
|
17
|
-
maxFrameBytes: number;
|
|
18
|
-
heartbeatMs: number;
|
|
19
|
-
heartbeatTimeoutMultiplier: number;
|
|
20
|
-
maxWriteQueueSize: number;
|
|
21
|
-
writeQueueHighWaterMark: number;
|
|
22
|
-
writeQueueLowWaterMark: number;
|
|
23
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
24
10
|
export declare const TmuxWrapperConfigSchema: z.ZodObject<{
|
|
25
11
|
pollInterval: z.ZodNumber;
|
|
26
12
|
idleBeforeInjectMs: z.ZodNumber;
|
|
@@ -32,71 +18,19 @@ export declare const TmuxWrapperConfigSchema: z.ZodObject<{
|
|
|
32
18
|
outputStabilityTimeoutMs: z.ZodNumber;
|
|
33
19
|
outputStabilityPollMs: z.ZodNumber;
|
|
34
20
|
streamLogs: z.ZodBoolean;
|
|
35
|
-
},
|
|
36
|
-
pollInterval: number;
|
|
37
|
-
idleBeforeInjectMs: number;
|
|
38
|
-
injectRetryMs: number;
|
|
39
|
-
debug: boolean;
|
|
40
|
-
debugLogIntervalMs: number;
|
|
41
|
-
mouseMode: boolean;
|
|
42
|
-
activityIdleThresholdMs: number;
|
|
43
|
-
outputStabilityTimeoutMs: number;
|
|
44
|
-
outputStabilityPollMs: number;
|
|
45
|
-
streamLogs: boolean;
|
|
46
|
-
}, {
|
|
47
|
-
pollInterval: number;
|
|
48
|
-
idleBeforeInjectMs: number;
|
|
49
|
-
injectRetryMs: number;
|
|
50
|
-
debug: boolean;
|
|
51
|
-
debugLogIntervalMs: number;
|
|
52
|
-
mouseMode: boolean;
|
|
53
|
-
activityIdleThresholdMs: number;
|
|
54
|
-
outputStabilityTimeoutMs: number;
|
|
55
|
-
outputStabilityPollMs: number;
|
|
56
|
-
streamLogs: boolean;
|
|
57
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
58
22
|
export declare const RelayRuntimeConfigSchema: z.ZodObject<{
|
|
59
23
|
trajectories: z.ZodOptional<z.ZodObject<{
|
|
60
24
|
storeInRepo: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
}, {
|
|
64
|
-
storeInRepo?: boolean | undefined;
|
|
65
|
-
}>>;
|
|
66
|
-
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
trajectories?: {
|
|
68
|
-
storeInRepo?: boolean | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
trajectories?: {
|
|
72
|
-
storeInRepo?: boolean | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
}>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
75
27
|
export declare const BridgeConfigSchema: z.ZodObject<{
|
|
76
28
|
projects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
77
29
|
lead: z.ZodOptional<z.ZodString>;
|
|
78
30
|
cli: z.ZodOptional<z.ZodString>;
|
|
79
|
-
},
|
|
80
|
-
cli?: string | undefined;
|
|
81
|
-
lead?: string | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
cli?: string | undefined;
|
|
84
|
-
lead?: string | undefined;
|
|
85
|
-
}>>>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
86
32
|
defaultCli: z.ZodOptional<z.ZodString>;
|
|
87
|
-
},
|
|
88
|
-
projects?: Record<string, {
|
|
89
|
-
cli?: string | undefined;
|
|
90
|
-
lead?: string | undefined;
|
|
91
|
-
}> | undefined;
|
|
92
|
-
defaultCli?: string | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
projects?: Record<string, {
|
|
95
|
-
cli?: string | undefined;
|
|
96
|
-
lead?: string | undefined;
|
|
97
|
-
}> | undefined;
|
|
98
|
-
defaultCli?: string | undefined;
|
|
99
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
100
34
|
export declare const TeamsConfigSchema: z.ZodObject<{
|
|
101
35
|
team: z.ZodString;
|
|
102
36
|
agents: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -104,131 +38,31 @@ export declare const TeamsConfigSchema: z.ZodObject<{
|
|
|
104
38
|
cli: z.ZodString;
|
|
105
39
|
role: z.ZodOptional<z.ZodString>;
|
|
106
40
|
task: z.ZodOptional<z.ZodString>;
|
|
107
|
-
},
|
|
108
|
-
name: string;
|
|
109
|
-
cli: string;
|
|
110
|
-
role?: string | undefined;
|
|
111
|
-
task?: string | undefined;
|
|
112
|
-
}, {
|
|
113
|
-
name: string;
|
|
114
|
-
cli: string;
|
|
115
|
-
role?: string | undefined;
|
|
116
|
-
task?: string | undefined;
|
|
117
|
-
}>, "many">>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
118
42
|
autoSpawn: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
-
},
|
|
120
|
-
agents: {
|
|
121
|
-
name: string;
|
|
122
|
-
cli: string;
|
|
123
|
-
role?: string | undefined;
|
|
124
|
-
task?: string | undefined;
|
|
125
|
-
}[];
|
|
126
|
-
team: string;
|
|
127
|
-
autoSpawn?: boolean | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
team: string;
|
|
130
|
-
agents?: {
|
|
131
|
-
name: string;
|
|
132
|
-
cli: string;
|
|
133
|
-
role?: string | undefined;
|
|
134
|
-
task?: string | undefined;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
autoSpawn?: boolean | undefined;
|
|
137
|
-
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
138
44
|
export declare const ShadowRoleConfigSchema: z.ZodObject<{
|
|
139
45
|
prompt: z.ZodOptional<z.ZodString>;
|
|
140
|
-
speakOn: z.ZodDefault<z.ZodArray<z.ZodString
|
|
141
|
-
},
|
|
142
|
-
speakOn: string[];
|
|
143
|
-
prompt?: string | undefined;
|
|
144
|
-
}, {
|
|
145
|
-
speakOn?: string[] | undefined;
|
|
146
|
-
prompt?: string | undefined;
|
|
147
|
-
}>;
|
|
46
|
+
speakOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
148
48
|
export declare const ShadowPairConfigSchema: z.ZodObject<{
|
|
149
49
|
shadow: z.ZodString;
|
|
150
50
|
shadowRole: z.ZodOptional<z.ZodString>;
|
|
151
|
-
speakOn: z.ZodOptional<z.ZodArray<z.ZodString
|
|
152
|
-
},
|
|
153
|
-
shadow: string;
|
|
154
|
-
speakOn?: string[] | undefined;
|
|
155
|
-
shadowRole?: string | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
shadow: string;
|
|
158
|
-
speakOn?: string[] | undefined;
|
|
159
|
-
shadowRole?: string | undefined;
|
|
160
|
-
}>;
|
|
51
|
+
speakOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
161
53
|
export declare const ShadowConfigSchema: z.ZodObject<{
|
|
162
54
|
shadows: z.ZodOptional<z.ZodObject<{
|
|
163
55
|
pairs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
164
56
|
shadow: z.ZodString;
|
|
165
57
|
shadowRole: z.ZodOptional<z.ZodString>;
|
|
166
|
-
speakOn: z.ZodOptional<z.ZodArray<z.ZodString
|
|
167
|
-
},
|
|
168
|
-
shadow: string;
|
|
169
|
-
speakOn?: string[] | undefined;
|
|
170
|
-
shadowRole?: string | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
shadow: string;
|
|
173
|
-
speakOn?: string[] | undefined;
|
|
174
|
-
shadowRole?: string | undefined;
|
|
175
|
-
}>>>;
|
|
58
|
+
speakOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
+
}, z.core.$strip>>>;
|
|
176
60
|
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
177
61
|
prompt: z.ZodOptional<z.ZodString>;
|
|
178
|
-
speakOn: z.ZodDefault<z.ZodArray<z.ZodString
|
|
179
|
-
},
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}, {
|
|
183
|
-
speakOn?: string[] | undefined;
|
|
184
|
-
prompt?: string | undefined;
|
|
185
|
-
}>>>;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
pairs?: Record<string, {
|
|
188
|
-
shadow: string;
|
|
189
|
-
speakOn?: string[] | undefined;
|
|
190
|
-
shadowRole?: string | undefined;
|
|
191
|
-
}> | undefined;
|
|
192
|
-
roles?: Record<string, {
|
|
193
|
-
speakOn: string[];
|
|
194
|
-
prompt?: string | undefined;
|
|
195
|
-
}> | undefined;
|
|
196
|
-
}, {
|
|
197
|
-
pairs?: Record<string, {
|
|
198
|
-
shadow: string;
|
|
199
|
-
speakOn?: string[] | undefined;
|
|
200
|
-
shadowRole?: string | undefined;
|
|
201
|
-
}> | undefined;
|
|
202
|
-
roles?: Record<string, {
|
|
203
|
-
speakOn?: string[] | undefined;
|
|
204
|
-
prompt?: string | undefined;
|
|
205
|
-
}> | undefined;
|
|
206
|
-
}>>;
|
|
207
|
-
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
shadows?: {
|
|
209
|
-
pairs?: Record<string, {
|
|
210
|
-
shadow: string;
|
|
211
|
-
speakOn?: string[] | undefined;
|
|
212
|
-
shadowRole?: string | undefined;
|
|
213
|
-
}> | undefined;
|
|
214
|
-
roles?: Record<string, {
|
|
215
|
-
speakOn: string[];
|
|
216
|
-
prompt?: string | undefined;
|
|
217
|
-
}> | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
}, {
|
|
220
|
-
shadows?: {
|
|
221
|
-
pairs?: Record<string, {
|
|
222
|
-
shadow: string;
|
|
223
|
-
speakOn?: string[] | undefined;
|
|
224
|
-
shadowRole?: string | undefined;
|
|
225
|
-
}> | undefined;
|
|
226
|
-
roles?: Record<string, {
|
|
227
|
-
speakOn?: string[] | undefined;
|
|
228
|
-
prompt?: string | undefined;
|
|
229
|
-
}> | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
}>;
|
|
62
|
+
speakOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
232
66
|
export declare const AgentFrontmatterSchema: z.ZodObject<{
|
|
233
67
|
name: z.ZodOptional<z.ZodString>;
|
|
234
68
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -236,108 +70,30 @@ export declare const AgentFrontmatterSchema: z.ZodObject<{
|
|
|
236
70
|
agentType: z.ZodOptional<z.ZodString>;
|
|
237
71
|
role: z.ZodOptional<z.ZodString>;
|
|
238
72
|
'allowed-tools': z.ZodOptional<z.ZodString>;
|
|
239
|
-
},
|
|
240
|
-
model?: string | undefined;
|
|
241
|
-
description?: string | undefined;
|
|
242
|
-
agentType?: string | undefined;
|
|
243
|
-
role?: string | undefined;
|
|
244
|
-
name?: string | undefined;
|
|
245
|
-
'allowed-tools'?: string | undefined;
|
|
246
|
-
}, {
|
|
247
|
-
model?: string | undefined;
|
|
248
|
-
description?: string | undefined;
|
|
249
|
-
agentType?: string | undefined;
|
|
250
|
-
role?: string | undefined;
|
|
251
|
-
name?: string | undefined;
|
|
252
|
-
'allowed-tools'?: string | undefined;
|
|
253
|
-
}>;
|
|
73
|
+
}, z.core.$strip>;
|
|
254
74
|
export declare const CLIAuthConfigSchema: z.ZodObject<{
|
|
255
75
|
command: z.ZodString;
|
|
256
|
-
args: z.ZodArray<z.ZodString
|
|
257
|
-
deviceFlowArgs: z.ZodOptional<z.ZodArray<z.ZodString
|
|
258
|
-
urlPattern: z.
|
|
76
|
+
args: z.ZodArray<z.ZodString>;
|
|
77
|
+
deviceFlowArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
+
urlPattern: z.ZodCustom<RegExp, RegExp>;
|
|
259
79
|
credentialPath: z.ZodOptional<z.ZodString>;
|
|
260
80
|
displayName: z.ZodString;
|
|
261
81
|
prompts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
262
|
-
pattern: z.
|
|
82
|
+
pattern: z.ZodCustom<RegExp, RegExp>;
|
|
263
83
|
response: z.ZodString;
|
|
264
84
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
265
85
|
description: z.ZodString;
|
|
266
|
-
},
|
|
267
|
-
|
|
268
|
-
pattern: RegExp;
|
|
269
|
-
response: string;
|
|
270
|
-
delay?: number | undefined;
|
|
271
|
-
}, {
|
|
272
|
-
description: string;
|
|
273
|
-
pattern: RegExp;
|
|
274
|
-
response: string;
|
|
275
|
-
delay?: number | undefined;
|
|
276
|
-
}>, "many">>;
|
|
277
|
-
successPatterns: z.ZodDefault<z.ZodArray<z.ZodType<RegExp, z.ZodTypeDef, RegExp>, "many">>;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
successPatterns: z.ZodDefault<z.ZodArray<z.ZodCustom<RegExp, RegExp>>>;
|
|
278
88
|
errorPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
|
-
pattern: z.
|
|
89
|
+
pattern: z.ZodCustom<RegExp, RegExp>;
|
|
280
90
|
message: z.ZodString;
|
|
281
91
|
recoverable: z.ZodBoolean;
|
|
282
92
|
hint: z.ZodOptional<z.ZodString>;
|
|
283
|
-
},
|
|
284
|
-
message: string;
|
|
285
|
-
pattern: RegExp;
|
|
286
|
-
recoverable: boolean;
|
|
287
|
-
hint?: string | undefined;
|
|
288
|
-
}, {
|
|
289
|
-
message: string;
|
|
290
|
-
pattern: RegExp;
|
|
291
|
-
recoverable: boolean;
|
|
292
|
-
hint?: string | undefined;
|
|
293
|
-
}>, "many">>;
|
|
93
|
+
}, z.core.$strip>>>;
|
|
294
94
|
waitTimeout: z.ZodNumber;
|
|
295
95
|
supportsDeviceFlow: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
-
},
|
|
297
|
-
command: string;
|
|
298
|
-
args: string[];
|
|
299
|
-
urlPattern: RegExp;
|
|
300
|
-
displayName: string;
|
|
301
|
-
prompts: {
|
|
302
|
-
description: string;
|
|
303
|
-
pattern: RegExp;
|
|
304
|
-
response: string;
|
|
305
|
-
delay?: number | undefined;
|
|
306
|
-
}[];
|
|
307
|
-
successPatterns: RegExp[];
|
|
308
|
-
waitTimeout: number;
|
|
309
|
-
deviceFlowArgs?: string[] | undefined;
|
|
310
|
-
credentialPath?: string | undefined;
|
|
311
|
-
errorPatterns?: {
|
|
312
|
-
message: string;
|
|
313
|
-
pattern: RegExp;
|
|
314
|
-
recoverable: boolean;
|
|
315
|
-
hint?: string | undefined;
|
|
316
|
-
}[] | undefined;
|
|
317
|
-
supportsDeviceFlow?: boolean | undefined;
|
|
318
|
-
}, {
|
|
319
|
-
command: string;
|
|
320
|
-
args: string[];
|
|
321
|
-
urlPattern: RegExp;
|
|
322
|
-
displayName: string;
|
|
323
|
-
waitTimeout: number;
|
|
324
|
-
deviceFlowArgs?: string[] | undefined;
|
|
325
|
-
credentialPath?: string | undefined;
|
|
326
|
-
prompts?: {
|
|
327
|
-
description: string;
|
|
328
|
-
pattern: RegExp;
|
|
329
|
-
response: string;
|
|
330
|
-
delay?: number | undefined;
|
|
331
|
-
}[] | undefined;
|
|
332
|
-
successPatterns?: RegExp[] | undefined;
|
|
333
|
-
errorPatterns?: {
|
|
334
|
-
message: string;
|
|
335
|
-
pattern: RegExp;
|
|
336
|
-
recoverable: boolean;
|
|
337
|
-
hint?: string | undefined;
|
|
338
|
-
}[] | undefined;
|
|
339
|
-
supportsDeviceFlow?: boolean | undefined;
|
|
340
|
-
}>;
|
|
96
|
+
}, z.core.$strip>;
|
|
341
97
|
export declare const CloudConfigSchema: z.ZodObject<{
|
|
342
98
|
port: z.ZodNumber;
|
|
343
99
|
publicUrl: z.ZodString;
|
|
@@ -349,72 +105,29 @@ export declare const CloudConfigSchema: z.ZodObject<{
|
|
|
349
105
|
clientId: z.ZodString;
|
|
350
106
|
clientSecret: z.ZodString;
|
|
351
107
|
webhookSecret: z.ZodOptional<z.ZodString>;
|
|
352
|
-
},
|
|
353
|
-
clientId: string;
|
|
354
|
-
clientSecret: string;
|
|
355
|
-
webhookSecret?: string | undefined;
|
|
356
|
-
}, {
|
|
357
|
-
clientId: string;
|
|
358
|
-
clientSecret: string;
|
|
359
|
-
webhookSecret?: string | undefined;
|
|
360
|
-
}>;
|
|
108
|
+
}, z.core.$strip>;
|
|
361
109
|
providers: z.ZodDefault<z.ZodObject<{
|
|
362
110
|
anthropic: z.ZodOptional<z.ZodObject<{
|
|
363
111
|
clientId: z.ZodString;
|
|
364
|
-
},
|
|
365
|
-
clientId: string;
|
|
366
|
-
}, {
|
|
367
|
-
clientId: string;
|
|
368
|
-
}>>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
369
113
|
openai: z.ZodOptional<z.ZodObject<{
|
|
370
114
|
clientId: z.ZodString;
|
|
371
|
-
},
|
|
372
|
-
clientId: string;
|
|
373
|
-
}, {
|
|
374
|
-
clientId: string;
|
|
375
|
-
}>>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
376
116
|
google: z.ZodOptional<z.ZodObject<{
|
|
377
117
|
clientId: z.ZodString;
|
|
378
118
|
clientSecret: z.ZodString;
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
clientSecret: string;
|
|
382
|
-
}, {
|
|
383
|
-
clientId: string;
|
|
384
|
-
clientSecret: string;
|
|
385
|
-
}>>;
|
|
386
|
-
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
anthropic?: {
|
|
388
|
-
clientId: string;
|
|
389
|
-
} | undefined;
|
|
390
|
-
openai?: {
|
|
391
|
-
clientId: string;
|
|
392
|
-
} | undefined;
|
|
393
|
-
google?: {
|
|
394
|
-
clientId: string;
|
|
395
|
-
clientSecret: string;
|
|
396
|
-
} | undefined;
|
|
397
|
-
}, {
|
|
398
|
-
anthropic?: {
|
|
399
|
-
clientId: string;
|
|
400
|
-
} | undefined;
|
|
401
|
-
openai?: {
|
|
402
|
-
clientId: string;
|
|
403
|
-
} | undefined;
|
|
404
|
-
google?: {
|
|
405
|
-
clientId: string;
|
|
406
|
-
clientSecret: string;
|
|
407
|
-
} | undefined;
|
|
408
|
-
}>>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
}, z.core.$strip>>;
|
|
409
121
|
vault: z.ZodObject<{
|
|
410
122
|
masterKey: z.ZodString;
|
|
411
|
-
},
|
|
412
|
-
masterKey: string;
|
|
413
|
-
}, {
|
|
414
|
-
masterKey: string;
|
|
415
|
-
}>;
|
|
123
|
+
}, z.core.$strip>;
|
|
416
124
|
compute: z.ZodObject<{
|
|
417
|
-
provider: z.ZodEnum<
|
|
125
|
+
provider: z.ZodEnum<{
|
|
126
|
+
daytona: "daytona";
|
|
127
|
+
fly: "fly";
|
|
128
|
+
railway: "railway";
|
|
129
|
+
docker: "docker";
|
|
130
|
+
}>;
|
|
418
131
|
fly: z.ZodOptional<z.ZodObject<{
|
|
419
132
|
apiToken: z.ZodString;
|
|
420
133
|
org: z.ZodString;
|
|
@@ -423,220 +136,26 @@ export declare const CloudConfigSchema: z.ZodObject<{
|
|
|
423
136
|
registryAuth: z.ZodOptional<z.ZodObject<{
|
|
424
137
|
username: z.ZodString;
|
|
425
138
|
password: z.ZodString;
|
|
426
|
-
},
|
|
427
|
-
username: string;
|
|
428
|
-
password: string;
|
|
429
|
-
}, {
|
|
430
|
-
username: string;
|
|
431
|
-
password: string;
|
|
432
|
-
}>>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
433
140
|
snapshotRetentionDays: z.ZodOptional<z.ZodNumber>;
|
|
434
141
|
volumeSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
435
|
-
},
|
|
436
|
-
apiToken: string;
|
|
437
|
-
org: string;
|
|
438
|
-
region?: string | undefined;
|
|
439
|
-
workspaceDomain?: string | undefined;
|
|
440
|
-
registryAuth?: {
|
|
441
|
-
username: string;
|
|
442
|
-
password: string;
|
|
443
|
-
} | undefined;
|
|
444
|
-
snapshotRetentionDays?: number | undefined;
|
|
445
|
-
volumeSizeGb?: number | undefined;
|
|
446
|
-
}, {
|
|
447
|
-
apiToken: string;
|
|
448
|
-
org: string;
|
|
449
|
-
region?: string | undefined;
|
|
450
|
-
workspaceDomain?: string | undefined;
|
|
451
|
-
registryAuth?: {
|
|
452
|
-
username: string;
|
|
453
|
-
password: string;
|
|
454
|
-
} | undefined;
|
|
455
|
-
snapshotRetentionDays?: number | undefined;
|
|
456
|
-
volumeSizeGb?: number | undefined;
|
|
457
|
-
}>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
458
143
|
railway: z.ZodOptional<z.ZodObject<{
|
|
459
144
|
apiToken: z.ZodString;
|
|
460
|
-
},
|
|
461
|
-
|
|
462
|
-
}, {
|
|
463
|
-
apiToken: string;
|
|
464
|
-
}>>;
|
|
465
|
-
}, "strip", z.ZodTypeAny, {
|
|
466
|
-
provider: "daytona" | "fly" | "railway" | "docker";
|
|
467
|
-
fly?: {
|
|
468
|
-
apiToken: string;
|
|
469
|
-
org: string;
|
|
470
|
-
region?: string | undefined;
|
|
471
|
-
workspaceDomain?: string | undefined;
|
|
472
|
-
registryAuth?: {
|
|
473
|
-
username: string;
|
|
474
|
-
password: string;
|
|
475
|
-
} | undefined;
|
|
476
|
-
snapshotRetentionDays?: number | undefined;
|
|
477
|
-
volumeSizeGb?: number | undefined;
|
|
478
|
-
} | undefined;
|
|
479
|
-
railway?: {
|
|
480
|
-
apiToken: string;
|
|
481
|
-
} | undefined;
|
|
482
|
-
}, {
|
|
483
|
-
provider: "daytona" | "fly" | "railway" | "docker";
|
|
484
|
-
fly?: {
|
|
485
|
-
apiToken: string;
|
|
486
|
-
org: string;
|
|
487
|
-
region?: string | undefined;
|
|
488
|
-
workspaceDomain?: string | undefined;
|
|
489
|
-
registryAuth?: {
|
|
490
|
-
username: string;
|
|
491
|
-
password: string;
|
|
492
|
-
} | undefined;
|
|
493
|
-
snapshotRetentionDays?: number | undefined;
|
|
494
|
-
volumeSizeGb?: number | undefined;
|
|
495
|
-
} | undefined;
|
|
496
|
-
railway?: {
|
|
497
|
-
apiToken: string;
|
|
498
|
-
} | undefined;
|
|
499
|
-
}>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
}, z.core.$strip>;
|
|
500
147
|
nango: z.ZodObject<{
|
|
501
148
|
secretKey: z.ZodString;
|
|
502
149
|
host: z.ZodOptional<z.ZodString>;
|
|
503
|
-
},
|
|
504
|
-
secretKey: string;
|
|
505
|
-
host?: string | undefined;
|
|
506
|
-
}, {
|
|
507
|
-
secretKey: string;
|
|
508
|
-
host?: string | undefined;
|
|
509
|
-
}>;
|
|
150
|
+
}, z.core.$strip>;
|
|
510
151
|
stripe: z.ZodObject<{
|
|
511
152
|
secretKey: z.ZodString;
|
|
512
153
|
publishableKey: z.ZodString;
|
|
513
154
|
webhookSecret: z.ZodString;
|
|
514
155
|
priceIds: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
|
|
515
|
-
},
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
publishableKey: string;
|
|
519
|
-
priceIds: Record<string, string | undefined>;
|
|
520
|
-
}, {
|
|
521
|
-
webhookSecret: string;
|
|
522
|
-
secretKey: string;
|
|
523
|
-
publishableKey: string;
|
|
524
|
-
priceIds: Record<string, string | undefined>;
|
|
525
|
-
}>;
|
|
526
|
-
adminUsers: z.ZodArray<z.ZodString, "many">;
|
|
527
|
-
}, "strip", z.ZodTypeAny, {
|
|
528
|
-
port: number;
|
|
529
|
-
publicUrl: string;
|
|
530
|
-
appUrl: string;
|
|
531
|
-
sessionSecret: string;
|
|
532
|
-
databaseUrl: string;
|
|
533
|
-
redisUrl: string;
|
|
534
|
-
github: {
|
|
535
|
-
clientId: string;
|
|
536
|
-
clientSecret: string;
|
|
537
|
-
webhookSecret?: string | undefined;
|
|
538
|
-
};
|
|
539
|
-
providers: {
|
|
540
|
-
anthropic?: {
|
|
541
|
-
clientId: string;
|
|
542
|
-
} | undefined;
|
|
543
|
-
openai?: {
|
|
544
|
-
clientId: string;
|
|
545
|
-
} | undefined;
|
|
546
|
-
google?: {
|
|
547
|
-
clientId: string;
|
|
548
|
-
clientSecret: string;
|
|
549
|
-
} | undefined;
|
|
550
|
-
};
|
|
551
|
-
vault: {
|
|
552
|
-
masterKey: string;
|
|
553
|
-
};
|
|
554
|
-
compute: {
|
|
555
|
-
provider: "daytona" | "fly" | "railway" | "docker";
|
|
556
|
-
fly?: {
|
|
557
|
-
apiToken: string;
|
|
558
|
-
org: string;
|
|
559
|
-
region?: string | undefined;
|
|
560
|
-
workspaceDomain?: string | undefined;
|
|
561
|
-
registryAuth?: {
|
|
562
|
-
username: string;
|
|
563
|
-
password: string;
|
|
564
|
-
} | undefined;
|
|
565
|
-
snapshotRetentionDays?: number | undefined;
|
|
566
|
-
volumeSizeGb?: number | undefined;
|
|
567
|
-
} | undefined;
|
|
568
|
-
railway?: {
|
|
569
|
-
apiToken: string;
|
|
570
|
-
} | undefined;
|
|
571
|
-
};
|
|
572
|
-
nango: {
|
|
573
|
-
secretKey: string;
|
|
574
|
-
host?: string | undefined;
|
|
575
|
-
};
|
|
576
|
-
stripe: {
|
|
577
|
-
webhookSecret: string;
|
|
578
|
-
secretKey: string;
|
|
579
|
-
publishableKey: string;
|
|
580
|
-
priceIds: Record<string, string | undefined>;
|
|
581
|
-
};
|
|
582
|
-
adminUsers: string[];
|
|
583
|
-
}, {
|
|
584
|
-
port: number;
|
|
585
|
-
publicUrl: string;
|
|
586
|
-
appUrl: string;
|
|
587
|
-
sessionSecret: string;
|
|
588
|
-
databaseUrl: string;
|
|
589
|
-
redisUrl: string;
|
|
590
|
-
github: {
|
|
591
|
-
clientId: string;
|
|
592
|
-
clientSecret: string;
|
|
593
|
-
webhookSecret?: string | undefined;
|
|
594
|
-
};
|
|
595
|
-
vault: {
|
|
596
|
-
masterKey: string;
|
|
597
|
-
};
|
|
598
|
-
compute: {
|
|
599
|
-
provider: "daytona" | "fly" | "railway" | "docker";
|
|
600
|
-
fly?: {
|
|
601
|
-
apiToken: string;
|
|
602
|
-
org: string;
|
|
603
|
-
region?: string | undefined;
|
|
604
|
-
workspaceDomain?: string | undefined;
|
|
605
|
-
registryAuth?: {
|
|
606
|
-
username: string;
|
|
607
|
-
password: string;
|
|
608
|
-
} | undefined;
|
|
609
|
-
snapshotRetentionDays?: number | undefined;
|
|
610
|
-
volumeSizeGb?: number | undefined;
|
|
611
|
-
} | undefined;
|
|
612
|
-
railway?: {
|
|
613
|
-
apiToken: string;
|
|
614
|
-
} | undefined;
|
|
615
|
-
};
|
|
616
|
-
nango: {
|
|
617
|
-
secretKey: string;
|
|
618
|
-
host?: string | undefined;
|
|
619
|
-
};
|
|
620
|
-
stripe: {
|
|
621
|
-
webhookSecret: string;
|
|
622
|
-
secretKey: string;
|
|
623
|
-
publishableKey: string;
|
|
624
|
-
priceIds: Record<string, string | undefined>;
|
|
625
|
-
};
|
|
626
|
-
adminUsers: string[];
|
|
627
|
-
providers?: {
|
|
628
|
-
anthropic?: {
|
|
629
|
-
clientId: string;
|
|
630
|
-
} | undefined;
|
|
631
|
-
openai?: {
|
|
632
|
-
clientId: string;
|
|
633
|
-
} | undefined;
|
|
634
|
-
google?: {
|
|
635
|
-
clientId: string;
|
|
636
|
-
clientSecret: string;
|
|
637
|
-
} | undefined;
|
|
638
|
-
} | undefined;
|
|
639
|
-
}>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
adminUsers: z.ZodArray<z.ZodString>;
|
|
158
|
+
}, z.core.$strip>;
|
|
640
159
|
export declare const jsonSchemas: {
|
|
641
160
|
connection: Record<string, unknown> & {
|
|
642
161
|
$id: string;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;iBAOjC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;iBAWlC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;iBAMnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;iBAW7B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;iBAa5B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;iBAO7B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;iBAOjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;iBA8B9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8D5B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUvB,CAAC"}
|
package/dist/schemas.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { zodToJsonSchema } from 'zod-to-json-schema';
|
|
3
2
|
const withId = (schema, id) => Object.assign(schema, { $id: id });
|
|
3
|
+
/**
|
|
4
|
+
* Render a config schema as JSON Schema draft-7.
|
|
5
|
+
*
|
|
6
|
+
* `io: 'input'` describes what a user writes in a config file (fields with a
|
|
7
|
+
* `.default()` stay optional); `unrepresentable: 'any'` keeps `z.instanceof(RegExp)`
|
|
8
|
+
* fields — which have no JSON Schema equivalent — from throwing.
|
|
9
|
+
*/
|
|
10
|
+
const toJsonSchema = (schema) => z.toJSONSchema(schema, { target: 'draft-7', io: 'input', unrepresentable: 'any' });
|
|
4
11
|
// Relay connection defaults (used by broker + wrapper)
|
|
5
12
|
export const ConnectionConfigSchema = z.object({
|
|
6
13
|
maxFrameBytes: z.number().int().positive(),
|
|
@@ -31,7 +38,7 @@ export const RelayRuntimeConfigSchema = z.object({
|
|
|
31
38
|
});
|
|
32
39
|
export const BridgeConfigSchema = z.object({
|
|
33
40
|
projects: z
|
|
34
|
-
.record(z.object({
|
|
41
|
+
.record(z.string(), z.object({
|
|
35
42
|
lead: z.string().optional(),
|
|
36
43
|
cli: z.string().optional(),
|
|
37
44
|
}))
|
|
@@ -62,8 +69,8 @@ export const ShadowPairConfigSchema = z.object({
|
|
|
62
69
|
export const ShadowConfigSchema = z.object({
|
|
63
70
|
shadows: z
|
|
64
71
|
.object({
|
|
65
|
-
pairs: z.record(ShadowPairConfigSchema).optional(),
|
|
66
|
-
roles: z.record(ShadowRoleConfigSchema).optional(),
|
|
72
|
+
pairs: z.record(z.string(), ShadowPairConfigSchema).optional(),
|
|
73
|
+
roles: z.record(z.string(), ShadowRoleConfigSchema).optional(),
|
|
67
74
|
})
|
|
68
75
|
.optional(),
|
|
69
76
|
});
|
|
@@ -161,19 +168,19 @@ export const CloudConfigSchema = z.object({
|
|
|
161
168
|
secretKey: z.string(),
|
|
162
169
|
publishableKey: z.string(),
|
|
163
170
|
webhookSecret: z.string(),
|
|
164
|
-
priceIds: z.record(z.string().optional()),
|
|
171
|
+
priceIds: z.record(z.string(), z.string().optional()),
|
|
165
172
|
}),
|
|
166
173
|
adminUsers: z.array(z.string()),
|
|
167
174
|
});
|
|
168
175
|
export const jsonSchemas = {
|
|
169
|
-
connection: withId(
|
|
170
|
-
tmuxWrapper: withId(
|
|
171
|
-
relayRuntime: withId(
|
|
172
|
-
bridge: withId(
|
|
173
|
-
teams: withId(
|
|
174
|
-
shadow: withId(
|
|
175
|
-
agentFrontmatter: withId(
|
|
176
|
-
cliAuth: withId(
|
|
177
|
-
cloud: withId(
|
|
176
|
+
connection: withId(toJsonSchema(ConnectionConfigSchema), 'RelayConnectionConfig'),
|
|
177
|
+
tmuxWrapper: withId(toJsonSchema(TmuxWrapperConfigSchema), 'RelayTmuxWrapperConfig'),
|
|
178
|
+
relayRuntime: withId(toJsonSchema(RelayRuntimeConfigSchema), 'RelayRuntimeConfig'),
|
|
179
|
+
bridge: withId(toJsonSchema(BridgeConfigSchema), 'BridgeConfig'),
|
|
180
|
+
teams: withId(toJsonSchema(TeamsConfigSchema), 'TeamsConfig'),
|
|
181
|
+
shadow: withId(toJsonSchema(ShadowConfigSchema), 'ShadowConfig'),
|
|
182
|
+
agentFrontmatter: withId(toJsonSchema(AgentFrontmatterSchema), 'AgentFrontmatter'),
|
|
183
|
+
cliAuth: withId(toJsonSchema(CLIAuthConfigSchema), 'CLIAuthConfig'),
|
|
184
|
+
cloud: withId(toJsonSchema(CloudConfigSchema), 'CloudConfig'),
|
|
178
185
|
};
|
|
179
186
|
//# sourceMappingURL=schemas.js.map
|
package/dist/schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OA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AAC,kBAAkB,CAAC,EAAE,cAAc,CAAC;IAChE,gBAAgB,EAAE,MAAM,CAAC,YAAY,CAAC,sBAAsB,CAAC,EAAE,kBAAkB,CAAC;IAClF,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE,eAAe,CAAC;IACnE,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,aAAa,CAAC;CAC9D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-relay/config",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.1",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=22.0.0"
|
|
6
6
|
},
|
|
@@ -86,8 +86,7 @@
|
|
|
86
86
|
"test:watch": "vitest"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"zod": "^
|
|
90
|
-
"zod-to-json-schema": "^3.23.1"
|
|
89
|
+
"zod": "^4.4.3"
|
|
91
90
|
},
|
|
92
91
|
"devDependencies": {
|
|
93
92
|
"@types/node": "^22.19.3",
|