@agent-relay/config 0.1.0

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.
Files changed (53) hide show
  1. package/dist/agent-config.d.ts +47 -0
  2. package/dist/agent-config.d.ts.map +1 -0
  3. package/dist/agent-config.js +119 -0
  4. package/dist/agent-config.js.map +1 -0
  5. package/dist/bridge-config.d.ts +52 -0
  6. package/dist/bridge-config.d.ts.map +1 -0
  7. package/dist/bridge-config.js +143 -0
  8. package/dist/bridge-config.js.map +1 -0
  9. package/dist/bridge-utils.d.ts +30 -0
  10. package/dist/bridge-utils.d.ts.map +1 -0
  11. package/dist/bridge-utils.js +54 -0
  12. package/dist/bridge-utils.js.map +1 -0
  13. package/dist/cli-auth-config.d.ts +110 -0
  14. package/dist/cli-auth-config.d.ts.map +1 -0
  15. package/dist/cli-auth-config.js +391 -0
  16. package/dist/cli-auth-config.js.map +1 -0
  17. package/dist/cloud-config.d.ts +75 -0
  18. package/dist/cloud-config.d.ts.map +1 -0
  19. package/dist/cloud-config.js +109 -0
  20. package/dist/cloud-config.js.map +1 -0
  21. package/dist/index.d.ts +13 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +13 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/project-namespace.d.ts +73 -0
  26. package/dist/project-namespace.d.ts.map +1 -0
  27. package/dist/project-namespace.js +280 -0
  28. package/dist/project-namespace.js.map +1 -0
  29. package/dist/relay-config.d.ts +25 -0
  30. package/dist/relay-config.d.ts.map +1 -0
  31. package/dist/relay-config.js +25 -0
  32. package/dist/relay-config.js.map +1 -0
  33. package/dist/relay-file-writer.d.ts +200 -0
  34. package/dist/relay-file-writer.d.ts.map +1 -0
  35. package/dist/relay-file-writer.js +407 -0
  36. package/dist/relay-file-writer.js.map +1 -0
  37. package/dist/schemas.d.ts +672 -0
  38. package/dist/schemas.d.ts.map +1 -0
  39. package/dist/schemas.js +180 -0
  40. package/dist/schemas.js.map +1 -0
  41. package/dist/shadow-config.d.ts +87 -0
  42. package/dist/shadow-config.d.ts.map +1 -0
  43. package/dist/shadow-config.js +134 -0
  44. package/dist/shadow-config.js.map +1 -0
  45. package/dist/teams-config.d.ts +47 -0
  46. package/dist/teams-config.d.ts.map +1 -0
  47. package/dist/teams-config.js +100 -0
  48. package/dist/teams-config.js.map +1 -0
  49. package/dist/trajectory-config.d.ts +102 -0
  50. package/dist/trajectory-config.d.ts.map +1 -0
  51. package/dist/trajectory-config.js +185 -0
  52. package/dist/trajectory-config.js.map +1 -0
  53. package/package.json +98 -0
@@ -0,0 +1,672 @@
1
+ import { z } from 'zod';
2
+ export declare const ConnectionConfigSchema: z.ZodObject<{
3
+ maxFrameBytes: z.ZodNumber;
4
+ heartbeatMs: z.ZodNumber;
5
+ heartbeatTimeoutMultiplier: z.ZodNumber;
6
+ maxWriteQueueSize: z.ZodNumber;
7
+ writeQueueHighWaterMark: z.ZodNumber;
8
+ writeQueueLowWaterMark: z.ZodNumber;
9
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
24
+ export declare const TmuxWrapperConfigSchema: z.ZodObject<{
25
+ pollInterval: z.ZodNumber;
26
+ idleBeforeInjectMs: z.ZodNumber;
27
+ injectRetryMs: z.ZodNumber;
28
+ debug: z.ZodBoolean;
29
+ debugLogIntervalMs: z.ZodNumber;
30
+ mouseMode: z.ZodBoolean;
31
+ activityIdleThresholdMs: z.ZodNumber;
32
+ outputStabilityTimeoutMs: z.ZodNumber;
33
+ outputStabilityPollMs: z.ZodNumber;
34
+ streamLogs: z.ZodBoolean;
35
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
58
+ export declare const RelayRuntimeConfigSchema: z.ZodObject<{
59
+ trajectories: z.ZodOptional<z.ZodObject<{
60
+ storeInRepo: z.ZodOptional<z.ZodBoolean>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ storeInRepo?: boolean | undefined;
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
+ }>;
75
+ export declare const BridgeConfigSchema: z.ZodObject<{
76
+ projects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
77
+ lead: z.ZodOptional<z.ZodString>;
78
+ cli: z.ZodOptional<z.ZodString>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ cli?: string | undefined;
81
+ lead?: string | undefined;
82
+ }, {
83
+ cli?: string | undefined;
84
+ lead?: string | undefined;
85
+ }>>>;
86
+ defaultCli: z.ZodOptional<z.ZodString>;
87
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
100
+ export declare const TeamsConfigSchema: z.ZodObject<{
101
+ team: z.ZodString;
102
+ agents: z.ZodDefault<z.ZodArray<z.ZodObject<{
103
+ name: z.ZodString;
104
+ cli: z.ZodString;
105
+ role: z.ZodOptional<z.ZodString>;
106
+ task: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
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">>;
118
+ autoSpawn: z.ZodOptional<z.ZodBoolean>;
119
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
138
+ export declare const ShadowRoleConfigSchema: z.ZodObject<{
139
+ prompt: z.ZodOptional<z.ZodString>;
140
+ speakOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ speakOn: string[];
143
+ prompt?: string | undefined;
144
+ }, {
145
+ speakOn?: string[] | undefined;
146
+ prompt?: string | undefined;
147
+ }>;
148
+ export declare const ShadowPairConfigSchema: z.ZodObject<{
149
+ shadow: z.ZodString;
150
+ shadowRole: z.ZodOptional<z.ZodString>;
151
+ speakOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ shadow: string;
154
+ speakOn?: string[] | undefined;
155
+ shadowRole?: string | undefined;
156
+ }, {
157
+ shadow: string;
158
+ speakOn?: string[] | undefined;
159
+ shadowRole?: string | undefined;
160
+ }>;
161
+ export declare const ShadowConfigSchema: z.ZodObject<{
162
+ shadows: z.ZodOptional<z.ZodObject<{
163
+ pairs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
164
+ shadow: z.ZodString;
165
+ shadowRole: z.ZodOptional<z.ZodString>;
166
+ speakOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ shadow: string;
169
+ speakOn?: string[] | undefined;
170
+ shadowRole?: string | undefined;
171
+ }, {
172
+ shadow: string;
173
+ speakOn?: string[] | undefined;
174
+ shadowRole?: string | undefined;
175
+ }>>>;
176
+ roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
177
+ prompt: z.ZodOptional<z.ZodString>;
178
+ speakOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ speakOn: string[];
181
+ prompt?: string | undefined;
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
+ }>;
232
+ export declare const AgentFrontmatterSchema: z.ZodObject<{
233
+ name: z.ZodOptional<z.ZodString>;
234
+ model: z.ZodOptional<z.ZodString>;
235
+ description: z.ZodOptional<z.ZodString>;
236
+ agentType: z.ZodOptional<z.ZodString>;
237
+ role: z.ZodOptional<z.ZodString>;
238
+ 'allowed-tools': z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
254
+ export declare const CLIAuthConfigSchema: z.ZodObject<{
255
+ command: z.ZodString;
256
+ args: z.ZodArray<z.ZodString, "many">;
257
+ deviceFlowArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
258
+ urlPattern: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
259
+ credentialPath: z.ZodOptional<z.ZodString>;
260
+ displayName: z.ZodString;
261
+ prompts: z.ZodDefault<z.ZodArray<z.ZodObject<{
262
+ pattern: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
263
+ response: z.ZodString;
264
+ delay: z.ZodOptional<z.ZodNumber>;
265
+ description: z.ZodString;
266
+ }, "strip", z.ZodTypeAny, {
267
+ description: string;
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">>;
278
+ errorPatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
279
+ pattern: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
280
+ message: z.ZodString;
281
+ recoverable: z.ZodBoolean;
282
+ hint: z.ZodOptional<z.ZodString>;
283
+ }, "strip", z.ZodTypeAny, {
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">>;
294
+ waitTimeout: z.ZodNumber;
295
+ supportsDeviceFlow: z.ZodOptional<z.ZodBoolean>;
296
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
341
+ export declare const CloudConfigSchema: z.ZodObject<{
342
+ port: z.ZodNumber;
343
+ publicUrl: z.ZodString;
344
+ appUrl: z.ZodString;
345
+ sessionSecret: z.ZodString;
346
+ localDashboardUrl: z.ZodOptional<z.ZodString>;
347
+ databaseUrl: z.ZodString;
348
+ redisUrl: z.ZodString;
349
+ github: z.ZodObject<{
350
+ clientId: z.ZodString;
351
+ clientSecret: z.ZodString;
352
+ webhookSecret: z.ZodOptional<z.ZodString>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ clientId: string;
355
+ clientSecret: string;
356
+ webhookSecret?: string | undefined;
357
+ }, {
358
+ clientId: string;
359
+ clientSecret: string;
360
+ webhookSecret?: string | undefined;
361
+ }>;
362
+ providers: z.ZodDefault<z.ZodObject<{
363
+ anthropic: z.ZodOptional<z.ZodObject<{
364
+ clientId: z.ZodString;
365
+ }, "strip", z.ZodTypeAny, {
366
+ clientId: string;
367
+ }, {
368
+ clientId: string;
369
+ }>>;
370
+ openai: z.ZodOptional<z.ZodObject<{
371
+ clientId: z.ZodString;
372
+ }, "strip", z.ZodTypeAny, {
373
+ clientId: string;
374
+ }, {
375
+ clientId: string;
376
+ }>>;
377
+ google: z.ZodOptional<z.ZodObject<{
378
+ clientId: z.ZodString;
379
+ clientSecret: z.ZodString;
380
+ }, "strip", z.ZodTypeAny, {
381
+ clientId: string;
382
+ clientSecret: string;
383
+ }, {
384
+ clientId: string;
385
+ clientSecret: string;
386
+ }>>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ anthropic?: {
389
+ clientId: string;
390
+ } | undefined;
391
+ openai?: {
392
+ clientId: string;
393
+ } | undefined;
394
+ google?: {
395
+ clientId: string;
396
+ clientSecret: string;
397
+ } | undefined;
398
+ }, {
399
+ anthropic?: {
400
+ clientId: string;
401
+ } | undefined;
402
+ openai?: {
403
+ clientId: string;
404
+ } | undefined;
405
+ google?: {
406
+ clientId: string;
407
+ clientSecret: string;
408
+ } | undefined;
409
+ }>>;
410
+ vault: z.ZodObject<{
411
+ masterKey: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ masterKey: string;
414
+ }, {
415
+ masterKey: string;
416
+ }>;
417
+ compute: z.ZodObject<{
418
+ provider: z.ZodEnum<["fly", "railway", "docker"]>;
419
+ fly: z.ZodOptional<z.ZodObject<{
420
+ apiToken: z.ZodString;
421
+ org: z.ZodString;
422
+ region: z.ZodOptional<z.ZodString>;
423
+ workspaceDomain: z.ZodOptional<z.ZodString>;
424
+ registryAuth: z.ZodOptional<z.ZodObject<{
425
+ username: z.ZodString;
426
+ password: z.ZodString;
427
+ }, "strip", z.ZodTypeAny, {
428
+ username: string;
429
+ password: string;
430
+ }, {
431
+ username: string;
432
+ password: string;
433
+ }>>;
434
+ snapshotRetentionDays: z.ZodOptional<z.ZodNumber>;
435
+ volumeSizeGb: z.ZodOptional<z.ZodNumber>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ apiToken: string;
438
+ org: string;
439
+ region?: string | undefined;
440
+ workspaceDomain?: string | undefined;
441
+ registryAuth?: {
442
+ username: string;
443
+ password: string;
444
+ } | undefined;
445
+ snapshotRetentionDays?: number | undefined;
446
+ volumeSizeGb?: number | undefined;
447
+ }, {
448
+ apiToken: string;
449
+ org: string;
450
+ region?: string | undefined;
451
+ workspaceDomain?: string | undefined;
452
+ registryAuth?: {
453
+ username: string;
454
+ password: string;
455
+ } | undefined;
456
+ snapshotRetentionDays?: number | undefined;
457
+ volumeSizeGb?: number | undefined;
458
+ }>>;
459
+ railway: z.ZodOptional<z.ZodObject<{
460
+ apiToken: z.ZodString;
461
+ }, "strip", z.ZodTypeAny, {
462
+ apiToken: string;
463
+ }, {
464
+ apiToken: string;
465
+ }>>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ provider: "fly" | "railway" | "docker";
468
+ fly?: {
469
+ apiToken: string;
470
+ org: string;
471
+ region?: string | undefined;
472
+ workspaceDomain?: string | undefined;
473
+ registryAuth?: {
474
+ username: string;
475
+ password: string;
476
+ } | undefined;
477
+ snapshotRetentionDays?: number | undefined;
478
+ volumeSizeGb?: number | undefined;
479
+ } | undefined;
480
+ railway?: {
481
+ apiToken: string;
482
+ } | undefined;
483
+ }, {
484
+ provider: "fly" | "railway" | "docker";
485
+ fly?: {
486
+ apiToken: string;
487
+ org: string;
488
+ region?: string | undefined;
489
+ workspaceDomain?: string | undefined;
490
+ registryAuth?: {
491
+ username: string;
492
+ password: string;
493
+ } | undefined;
494
+ snapshotRetentionDays?: number | undefined;
495
+ volumeSizeGb?: number | undefined;
496
+ } | undefined;
497
+ railway?: {
498
+ apiToken: string;
499
+ } | undefined;
500
+ }>;
501
+ nango: z.ZodObject<{
502
+ secretKey: z.ZodString;
503
+ host: z.ZodOptional<z.ZodString>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ secretKey: string;
506
+ host?: string | undefined;
507
+ }, {
508
+ secretKey: string;
509
+ host?: string | undefined;
510
+ }>;
511
+ stripe: z.ZodObject<{
512
+ secretKey: z.ZodString;
513
+ publishableKey: z.ZodString;
514
+ webhookSecret: z.ZodString;
515
+ priceIds: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
516
+ }, "strip", z.ZodTypeAny, {
517
+ webhookSecret: string;
518
+ secretKey: string;
519
+ publishableKey: string;
520
+ priceIds: Record<string, string | undefined>;
521
+ }, {
522
+ webhookSecret: string;
523
+ secretKey: string;
524
+ publishableKey: string;
525
+ priceIds: Record<string, string | undefined>;
526
+ }>;
527
+ adminUsers: z.ZodArray<z.ZodString, "many">;
528
+ }, "strip", z.ZodTypeAny, {
529
+ port: number;
530
+ publicUrl: string;
531
+ appUrl: string;
532
+ sessionSecret: string;
533
+ databaseUrl: string;
534
+ redisUrl: string;
535
+ github: {
536
+ clientId: string;
537
+ clientSecret: string;
538
+ webhookSecret?: string | undefined;
539
+ };
540
+ providers: {
541
+ anthropic?: {
542
+ clientId: string;
543
+ } | undefined;
544
+ openai?: {
545
+ clientId: string;
546
+ } | undefined;
547
+ google?: {
548
+ clientId: string;
549
+ clientSecret: string;
550
+ } | undefined;
551
+ };
552
+ vault: {
553
+ masterKey: string;
554
+ };
555
+ compute: {
556
+ provider: "fly" | "railway" | "docker";
557
+ fly?: {
558
+ apiToken: string;
559
+ org: string;
560
+ region?: string | undefined;
561
+ workspaceDomain?: string | undefined;
562
+ registryAuth?: {
563
+ username: string;
564
+ password: string;
565
+ } | undefined;
566
+ snapshotRetentionDays?: number | undefined;
567
+ volumeSizeGb?: number | undefined;
568
+ } | undefined;
569
+ railway?: {
570
+ apiToken: string;
571
+ } | undefined;
572
+ };
573
+ nango: {
574
+ secretKey: string;
575
+ host?: string | undefined;
576
+ };
577
+ stripe: {
578
+ webhookSecret: string;
579
+ secretKey: string;
580
+ publishableKey: string;
581
+ priceIds: Record<string, string | undefined>;
582
+ };
583
+ adminUsers: string[];
584
+ localDashboardUrl?: string | undefined;
585
+ }, {
586
+ port: number;
587
+ publicUrl: string;
588
+ appUrl: string;
589
+ sessionSecret: string;
590
+ databaseUrl: string;
591
+ redisUrl: string;
592
+ github: {
593
+ clientId: string;
594
+ clientSecret: string;
595
+ webhookSecret?: string | undefined;
596
+ };
597
+ vault: {
598
+ masterKey: string;
599
+ };
600
+ compute: {
601
+ provider: "fly" | "railway" | "docker";
602
+ fly?: {
603
+ apiToken: string;
604
+ org: string;
605
+ region?: string | undefined;
606
+ workspaceDomain?: string | undefined;
607
+ registryAuth?: {
608
+ username: string;
609
+ password: string;
610
+ } | undefined;
611
+ snapshotRetentionDays?: number | undefined;
612
+ volumeSizeGb?: number | undefined;
613
+ } | undefined;
614
+ railway?: {
615
+ apiToken: string;
616
+ } | undefined;
617
+ };
618
+ nango: {
619
+ secretKey: string;
620
+ host?: string | undefined;
621
+ };
622
+ stripe: {
623
+ webhookSecret: string;
624
+ secretKey: string;
625
+ publishableKey: string;
626
+ priceIds: Record<string, string | undefined>;
627
+ };
628
+ adminUsers: string[];
629
+ localDashboardUrl?: string | undefined;
630
+ providers?: {
631
+ anthropic?: {
632
+ clientId: string;
633
+ } | undefined;
634
+ openai?: {
635
+ clientId: string;
636
+ } | undefined;
637
+ google?: {
638
+ clientId: string;
639
+ clientSecret: string;
640
+ } | undefined;
641
+ } | undefined;
642
+ }>;
643
+ export declare const jsonSchemas: {
644
+ connection: Record<string, unknown> & {
645
+ $id: string;
646
+ };
647
+ tmuxWrapper: Record<string, unknown> & {
648
+ $id: string;
649
+ };
650
+ relayRuntime: Record<string, unknown> & {
651
+ $id: string;
652
+ };
653
+ bridge: Record<string, unknown> & {
654
+ $id: string;
655
+ };
656
+ teams: Record<string, unknown> & {
657
+ $id: string;
658
+ };
659
+ shadow: Record<string, unknown> & {
660
+ $id: string;
661
+ };
662
+ agentFrontmatter: Record<string, unknown> & {
663
+ $id: string;
664
+ };
665
+ cliAuth: Record<string, unknown> & {
666
+ $id: string;
667
+ };
668
+ cloud: Record<string, unknown> & {
669
+ $id: string;
670
+ };
671
+ };
672
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa5B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+D5B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUvB,CAAC"}