@agentdock/wire 0.0.95 → 0.0.97

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 (78) hide show
  1. package/dist/agentCapabilities.d.ts +5 -2
  2. package/dist/agentCapabilities.js +1 -1
  3. package/dist/agentCompatibility.d.ts +83 -0
  4. package/dist/agentCompatibility.js +1 -0
  5. package/dist/agentInstallGuide.js +1 -1
  6. package/dist/checkpointSchemas.d.ts +5 -0
  7. package/dist/checkpointSchemas.js +1 -1
  8. package/dist/enterpriseCurrency.d.ts +120 -0
  9. package/dist/enterpriseCurrency.js +1 -0
  10. package/dist/enterpriseDirectory.d.ts +636 -0
  11. package/dist/enterpriseDirectory.js +1 -0
  12. package/dist/enterpriseFileService.d.ts +7 -0
  13. package/dist/enterpriseFileService.js +1 -0
  14. package/dist/enterpriseGatewayExports.d.ts +4 -0
  15. package/dist/enterpriseGatewayExports.js +1 -0
  16. package/dist/enterpriseOverview.d.ts +423 -0
  17. package/dist/enterpriseOverview.js +1 -0
  18. package/dist/enterprisePolicy.d.ts +452 -489
  19. package/dist/enterprisePolicy.js +1 -1
  20. package/dist/enterprisePolicyExports.d.ts +4 -2
  21. package/dist/enterprisePolicyExports.js +1 -1
  22. package/dist/enterpriseRange.d.ts +19 -0
  23. package/dist/enterpriseRange.js +1 -0
  24. package/dist/enterpriseRuntime.d.ts +574 -46
  25. package/dist/enterpriseRuntime.js +1 -1
  26. package/dist/enterpriseUserContainer.d.ts +2 -0
  27. package/dist/enterpriseUserContainer.js +1 -0
  28. package/dist/gateway.d.ts +1393 -876
  29. package/dist/gateway.js +1 -1
  30. package/dist/gatewayBodyRetention.d.ts +149 -0
  31. package/dist/gatewayBodyRetention.js +2 -0
  32. package/dist/gatewayUsage.d.ts +3248 -0
  33. package/dist/gatewayUsage.js +1 -0
  34. package/dist/inboundEvents.d.ts +0 -6
  35. package/dist/inboundEvents.js +1 -1
  36. package/dist/index.d.ts +15 -6
  37. package/dist/index.js +1 -1
  38. package/dist/interactionEvents.d.ts +2 -2
  39. package/dist/legacyProtocol.d.ts +36 -36
  40. package/dist/machine.d.ts +1 -6
  41. package/dist/machine.js +1 -1
  42. package/dist/messageMeta.d.ts +9 -7
  43. package/dist/messageMeta.js +1 -1
  44. package/dist/messages.d.ts +36 -36
  45. package/dist/ops.d.ts +112 -0
  46. package/dist/ops.js +1 -1
  47. package/dist/opsExports.d.ts +4 -0
  48. package/dist/opsExports.js +1 -0
  49. package/dist/pushPreferences.d.ts +12 -0
  50. package/dist/pushPreferences.js +1 -0
  51. package/dist/rpc.d.ts +537 -66
  52. package/dist/rpc.js +1 -1
  53. package/dist/scheduledTasks.d.ts +96 -21
  54. package/dist/scheduledTasks.js +1 -1
  55. package/dist/session.d.ts +4 -0
  56. package/dist/session.js +1 -0
  57. package/dist/sessionBtw.d.ts +2 -2
  58. package/dist/sessionFiles.d.ts +70 -0
  59. package/dist/sessionFiles.js +1 -0
  60. package/dist/sessionSlashCommands.d.ts +15 -0
  61. package/dist/sessionSlashCommands.js +1 -0
  62. package/dist/spawnError.d.ts +3 -3
  63. package/dist/stats.d.ts +31 -31
  64. package/dist/sync.d.ts +45 -45
  65. package/dist/sync.js +1 -1
  66. package/dist/telemetry.d.ts +13 -13
  67. package/dist/telemetry.js +1 -1
  68. package/dist/workspaceFileReaderProtocol.d.ts +270 -0
  69. package/dist/workspaceFileReaderProtocol.js +1 -0
  70. package/dist/workspaceFileRelay.d.ts +188 -0
  71. package/dist/workspaceFileRelay.js +1 -0
  72. package/package.json +1 -1
  73. package/dist/agentRuntimeSettings.d.ts +0 -139
  74. package/dist/agentRuntimeSettings.js +0 -1
  75. package/dist/enterpriseGateway.d.ts +0 -214
  76. package/dist/enterpriseGateway.js +0 -1
  77. package/dist/goals.d.ts +0 -829
  78. package/dist/goals.js +0 -1
@@ -1,5 +1,549 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ export declare const ENTERPRISE_RUNTIME_AGENTS: readonly ["claude", "codex", "opencode"];
4
+ export type EnterpriseRuntimeAgent = (typeof ENTERPRISE_RUNTIME_AGENTS)[number];
5
+ export declare function isEnterpriseRuntimeAgent(value: string): value is EnterpriseRuntimeAgent;
6
+ export declare const EnterpriseRuntimeAgentSchema: z.ZodEnum<["claude", "codex", "opencode"]>;
7
+
8
+ export declare const ENTERPRISE_GATEWAY_PATHS: Readonly<Record<EnterpriseRuntimeAgent, string>>;
9
+
10
+ export declare const EnterpriseRuntimeProjectionSchema: z.ZodObject<{
11
+ edition: z.ZodLiteral<"enterprise">;
12
+ enterpriseId: z.ZodString;
13
+ userId: z.ZodString;
14
+ machineId: z.ZodString;
15
+ configVersion: z.ZodString;
16
+ issuedAt: z.ZodString;
17
+ expiresAt: z.ZodString;
18
+ gateway: z.ZodObject<{
19
+ url: z.ZodString;
20
+ platformToken: z.ZodString;
21
+ }, "strict", z.ZodTypeAny, {
22
+ url: string;
23
+ platformToken: string;
24
+ }, {
25
+ url: string;
26
+ platformToken: string;
27
+ }>;
28
+ agents: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
29
+ authorizedModels: z.ZodArray<z.ZodObject<{
30
+ modelId: z.ZodString;
31
+ displayName: z.ZodString;
32
+ status: z.ZodEnum<["authorized", "blocked"]>;
33
+ reason: z.ZodOptional<z.ZodEnum<["policy-blocked", "projection-stale"]>>;
34
+ }, "strict", z.ZodTypeAny, {
35
+ status: "authorized" | "blocked";
36
+ modelId: string;
37
+ displayName: string;
38
+ reason?: "policy-blocked" | "projection-stale" | undefined;
39
+ }, {
40
+ status: "authorized" | "blocked";
41
+ modelId: string;
42
+ displayName: string;
43
+ reason?: "policy-blocked" | "projection-stale" | undefined;
44
+ }>, "many">;
45
+ defaultModel: z.ZodNullable<z.ZodString>;
46
+ }, "strict", z.ZodTypeAny, {
47
+ authorizedModels: {
48
+ status: "authorized" | "blocked";
49
+ modelId: string;
50
+ displayName: string;
51
+ reason?: "policy-blocked" | "projection-stale" | undefined;
52
+ }[];
53
+ defaultModel: string | null;
54
+ }, {
55
+ authorizedModels: {
56
+ status: "authorized" | "blocked";
57
+ modelId: string;
58
+ displayName: string;
59
+ reason?: "policy-blocked" | "projection-stale" | undefined;
60
+ }[];
61
+ defaultModel: string | null;
62
+ }>, {
63
+ authorizedModels: {
64
+ status: "authorized" | "blocked";
65
+ modelId: string;
66
+ displayName: string;
67
+ reason?: "policy-blocked" | "projection-stale" | undefined;
68
+ }[];
69
+ defaultModel: string | null;
70
+ }, {
71
+ authorizedModels: {
72
+ status: "authorized" | "blocked";
73
+ modelId: string;
74
+ displayName: string;
75
+ reason?: "policy-blocked" | "projection-stale" | undefined;
76
+ }[];
77
+ defaultModel: string | null;
78
+ }>>;
79
+ }, "strict", z.ZodTypeAny, {
80
+ agents: Record<string, {
81
+ authorizedModels: {
82
+ status: "authorized" | "blocked";
83
+ modelId: string;
84
+ displayName: string;
85
+ reason?: "policy-blocked" | "projection-stale" | undefined;
86
+ }[];
87
+ defaultModel: string | null;
88
+ }>;
89
+ machineId: string;
90
+ edition: "enterprise";
91
+ enterpriseId: string;
92
+ userId: string;
93
+ configVersion: string;
94
+ issuedAt: string;
95
+ expiresAt: string;
96
+ gateway: {
97
+ url: string;
98
+ platformToken: string;
99
+ };
100
+ }, {
101
+ agents: Record<string, {
102
+ authorizedModels: {
103
+ status: "authorized" | "blocked";
104
+ modelId: string;
105
+ displayName: string;
106
+ reason?: "policy-blocked" | "projection-stale" | undefined;
107
+ }[];
108
+ defaultModel: string | null;
109
+ }>;
110
+ machineId: string;
111
+ edition: "enterprise";
112
+ enterpriseId: string;
113
+ userId: string;
114
+ configVersion: string;
115
+ issuedAt: string;
116
+ expiresAt: string;
117
+ gateway: {
118
+ url: string;
119
+ platformToken: string;
120
+ };
121
+ }>;
122
+ export type EnterpriseRuntimeProjection = z.infer<typeof EnterpriseRuntimeProjectionSchema>;
123
+
124
+ export type EnterpriseProjectionOverwriteDecision = 'replace' | 'duplicate' | 'stale';
125
+
126
+ export declare function sameProjectionIdentity(a: EnterpriseRuntimeProjection, b: EnterpriseRuntimeProjection): boolean;
127
+
128
+ export declare function resolveProjectionOverwrite(stored: EnterpriseRuntimeProjection, incoming: EnterpriseRuntimeProjection): EnterpriseProjectionOverwriteDecision;
129
+
130
+ export declare const EnterpriseRuntimeProjectionDeliverySchema: z.ZodObject<{
131
+ username: z.ZodString;
132
+ projection: z.ZodObject<{
133
+ edition: z.ZodLiteral<"enterprise">;
134
+ enterpriseId: z.ZodString;
135
+ userId: z.ZodString;
136
+ machineId: z.ZodString;
137
+ configVersion: z.ZodString;
138
+ issuedAt: z.ZodString;
139
+ expiresAt: z.ZodString;
140
+ gateway: z.ZodObject<{
141
+ url: z.ZodString;
142
+ platformToken: z.ZodString;
143
+ }, "strict", z.ZodTypeAny, {
144
+ url: string;
145
+ platformToken: string;
146
+ }, {
147
+ url: string;
148
+ platformToken: string;
149
+ }>;
150
+ agents: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
151
+ authorizedModels: z.ZodArray<z.ZodObject<{
152
+ modelId: z.ZodString;
153
+ displayName: z.ZodString;
154
+ status: z.ZodEnum<["authorized", "blocked"]>;
155
+ reason: z.ZodOptional<z.ZodEnum<["policy-blocked", "projection-stale"]>>;
156
+ }, "strict", z.ZodTypeAny, {
157
+ status: "authorized" | "blocked";
158
+ modelId: string;
159
+ displayName: string;
160
+ reason?: "policy-blocked" | "projection-stale" | undefined;
161
+ }, {
162
+ status: "authorized" | "blocked";
163
+ modelId: string;
164
+ displayName: string;
165
+ reason?: "policy-blocked" | "projection-stale" | undefined;
166
+ }>, "many">;
167
+ defaultModel: z.ZodNullable<z.ZodString>;
168
+ }, "strict", z.ZodTypeAny, {
169
+ authorizedModels: {
170
+ status: "authorized" | "blocked";
171
+ modelId: string;
172
+ displayName: string;
173
+ reason?: "policy-blocked" | "projection-stale" | undefined;
174
+ }[];
175
+ defaultModel: string | null;
176
+ }, {
177
+ authorizedModels: {
178
+ status: "authorized" | "blocked";
179
+ modelId: string;
180
+ displayName: string;
181
+ reason?: "policy-blocked" | "projection-stale" | undefined;
182
+ }[];
183
+ defaultModel: string | null;
184
+ }>, {
185
+ authorizedModels: {
186
+ status: "authorized" | "blocked";
187
+ modelId: string;
188
+ displayName: string;
189
+ reason?: "policy-blocked" | "projection-stale" | undefined;
190
+ }[];
191
+ defaultModel: string | null;
192
+ }, {
193
+ authorizedModels: {
194
+ status: "authorized" | "blocked";
195
+ modelId: string;
196
+ displayName: string;
197
+ reason?: "policy-blocked" | "projection-stale" | undefined;
198
+ }[];
199
+ defaultModel: string | null;
200
+ }>>;
201
+ }, "strict", z.ZodTypeAny, {
202
+ agents: Record<string, {
203
+ authorizedModels: {
204
+ status: "authorized" | "blocked";
205
+ modelId: string;
206
+ displayName: string;
207
+ reason?: "policy-blocked" | "projection-stale" | undefined;
208
+ }[];
209
+ defaultModel: string | null;
210
+ }>;
211
+ machineId: string;
212
+ edition: "enterprise";
213
+ enterpriseId: string;
214
+ userId: string;
215
+ configVersion: string;
216
+ issuedAt: string;
217
+ expiresAt: string;
218
+ gateway: {
219
+ url: string;
220
+ platformToken: string;
221
+ };
222
+ }, {
223
+ agents: Record<string, {
224
+ authorizedModels: {
225
+ status: "authorized" | "blocked";
226
+ modelId: string;
227
+ displayName: string;
228
+ reason?: "policy-blocked" | "projection-stale" | undefined;
229
+ }[];
230
+ defaultModel: string | null;
231
+ }>;
232
+ machineId: string;
233
+ edition: "enterprise";
234
+ enterpriseId: string;
235
+ userId: string;
236
+ configVersion: string;
237
+ issuedAt: string;
238
+ expiresAt: string;
239
+ gateway: {
240
+ url: string;
241
+ platformToken: string;
242
+ };
243
+ }>;
244
+ }, "strict", z.ZodTypeAny, {
245
+ username: string;
246
+ projection: {
247
+ agents: Record<string, {
248
+ authorizedModels: {
249
+ status: "authorized" | "blocked";
250
+ modelId: string;
251
+ displayName: string;
252
+ reason?: "policy-blocked" | "projection-stale" | undefined;
253
+ }[];
254
+ defaultModel: string | null;
255
+ }>;
256
+ machineId: string;
257
+ edition: "enterprise";
258
+ enterpriseId: string;
259
+ userId: string;
260
+ configVersion: string;
261
+ issuedAt: string;
262
+ expiresAt: string;
263
+ gateway: {
264
+ url: string;
265
+ platformToken: string;
266
+ };
267
+ };
268
+ }, {
269
+ username: string;
270
+ projection: {
271
+ agents: Record<string, {
272
+ authorizedModels: {
273
+ status: "authorized" | "blocked";
274
+ modelId: string;
275
+ displayName: string;
276
+ reason?: "policy-blocked" | "projection-stale" | undefined;
277
+ }[];
278
+ defaultModel: string | null;
279
+ }>;
280
+ machineId: string;
281
+ edition: "enterprise";
282
+ enterpriseId: string;
283
+ userId: string;
284
+ configVersion: string;
285
+ issuedAt: string;
286
+ expiresAt: string;
287
+ gateway: {
288
+ url: string;
289
+ platformToken: string;
290
+ };
291
+ };
292
+ }>;
293
+ export type EnterpriseRuntimeProjectionDelivery = z.infer<typeof EnterpriseRuntimeProjectionDeliverySchema>;
294
+
295
+ export declare const EnterpriseRuntimeProjectionBatchSchema: z.ZodObject<{
296
+ edition: z.ZodLiteral<"enterprise">;
297
+ enterpriseId: z.ZodString;
298
+ projectionId: z.ZodString;
299
+ generatedAt: z.ZodString;
300
+ projections: z.ZodArray<z.ZodObject<{
301
+ username: z.ZodString;
302
+ projection: z.ZodObject<{
303
+ edition: z.ZodLiteral<"enterprise">;
304
+ enterpriseId: z.ZodString;
305
+ userId: z.ZodString;
306
+ machineId: z.ZodString;
307
+ configVersion: z.ZodString;
308
+ issuedAt: z.ZodString;
309
+ expiresAt: z.ZodString;
310
+ gateway: z.ZodObject<{
311
+ url: z.ZodString;
312
+ platformToken: z.ZodString;
313
+ }, "strict", z.ZodTypeAny, {
314
+ url: string;
315
+ platformToken: string;
316
+ }, {
317
+ url: string;
318
+ platformToken: string;
319
+ }>;
320
+ agents: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
321
+ authorizedModels: z.ZodArray<z.ZodObject<{
322
+ modelId: z.ZodString;
323
+ displayName: z.ZodString;
324
+ status: z.ZodEnum<["authorized", "blocked"]>;
325
+ reason: z.ZodOptional<z.ZodEnum<["policy-blocked", "projection-stale"]>>;
326
+ }, "strict", z.ZodTypeAny, {
327
+ status: "authorized" | "blocked";
328
+ modelId: string;
329
+ displayName: string;
330
+ reason?: "policy-blocked" | "projection-stale" | undefined;
331
+ }, {
332
+ status: "authorized" | "blocked";
333
+ modelId: string;
334
+ displayName: string;
335
+ reason?: "policy-blocked" | "projection-stale" | undefined;
336
+ }>, "many">;
337
+ defaultModel: z.ZodNullable<z.ZodString>;
338
+ }, "strict", z.ZodTypeAny, {
339
+ authorizedModels: {
340
+ status: "authorized" | "blocked";
341
+ modelId: string;
342
+ displayName: string;
343
+ reason?: "policy-blocked" | "projection-stale" | undefined;
344
+ }[];
345
+ defaultModel: string | null;
346
+ }, {
347
+ authorizedModels: {
348
+ status: "authorized" | "blocked";
349
+ modelId: string;
350
+ displayName: string;
351
+ reason?: "policy-blocked" | "projection-stale" | undefined;
352
+ }[];
353
+ defaultModel: string | null;
354
+ }>, {
355
+ authorizedModels: {
356
+ status: "authorized" | "blocked";
357
+ modelId: string;
358
+ displayName: string;
359
+ reason?: "policy-blocked" | "projection-stale" | undefined;
360
+ }[];
361
+ defaultModel: string | null;
362
+ }, {
363
+ authorizedModels: {
364
+ status: "authorized" | "blocked";
365
+ modelId: string;
366
+ displayName: string;
367
+ reason?: "policy-blocked" | "projection-stale" | undefined;
368
+ }[];
369
+ defaultModel: string | null;
370
+ }>>;
371
+ }, "strict", z.ZodTypeAny, {
372
+ agents: Record<string, {
373
+ authorizedModels: {
374
+ status: "authorized" | "blocked";
375
+ modelId: string;
376
+ displayName: string;
377
+ reason?: "policy-blocked" | "projection-stale" | undefined;
378
+ }[];
379
+ defaultModel: string | null;
380
+ }>;
381
+ machineId: string;
382
+ edition: "enterprise";
383
+ enterpriseId: string;
384
+ userId: string;
385
+ configVersion: string;
386
+ issuedAt: string;
387
+ expiresAt: string;
388
+ gateway: {
389
+ url: string;
390
+ platformToken: string;
391
+ };
392
+ }, {
393
+ agents: Record<string, {
394
+ authorizedModels: {
395
+ status: "authorized" | "blocked";
396
+ modelId: string;
397
+ displayName: string;
398
+ reason?: "policy-blocked" | "projection-stale" | undefined;
399
+ }[];
400
+ defaultModel: string | null;
401
+ }>;
402
+ machineId: string;
403
+ edition: "enterprise";
404
+ enterpriseId: string;
405
+ userId: string;
406
+ configVersion: string;
407
+ issuedAt: string;
408
+ expiresAt: string;
409
+ gateway: {
410
+ url: string;
411
+ platformToken: string;
412
+ };
413
+ }>;
414
+ }, "strict", z.ZodTypeAny, {
415
+ username: string;
416
+ projection: {
417
+ agents: Record<string, {
418
+ authorizedModels: {
419
+ status: "authorized" | "blocked";
420
+ modelId: string;
421
+ displayName: string;
422
+ reason?: "policy-blocked" | "projection-stale" | undefined;
423
+ }[];
424
+ defaultModel: string | null;
425
+ }>;
426
+ machineId: string;
427
+ edition: "enterprise";
428
+ enterpriseId: string;
429
+ userId: string;
430
+ configVersion: string;
431
+ issuedAt: string;
432
+ expiresAt: string;
433
+ gateway: {
434
+ url: string;
435
+ platformToken: string;
436
+ };
437
+ };
438
+ }, {
439
+ username: string;
440
+ projection: {
441
+ agents: Record<string, {
442
+ authorizedModels: {
443
+ status: "authorized" | "blocked";
444
+ modelId: string;
445
+ displayName: string;
446
+ reason?: "policy-blocked" | "projection-stale" | undefined;
447
+ }[];
448
+ defaultModel: string | null;
449
+ }>;
450
+ machineId: string;
451
+ edition: "enterprise";
452
+ enterpriseId: string;
453
+ userId: string;
454
+ configVersion: string;
455
+ issuedAt: string;
456
+ expiresAt: string;
457
+ gateway: {
458
+ url: string;
459
+ platformToken: string;
460
+ };
461
+ };
462
+ }>, "many">;
463
+ }, "strict", z.ZodTypeAny, {
464
+ edition: "enterprise";
465
+ enterpriseId: string;
466
+ projectionId: string;
467
+ generatedAt: string;
468
+ projections: {
469
+ username: string;
470
+ projection: {
471
+ agents: Record<string, {
472
+ authorizedModels: {
473
+ status: "authorized" | "blocked";
474
+ modelId: string;
475
+ displayName: string;
476
+ reason?: "policy-blocked" | "projection-stale" | undefined;
477
+ }[];
478
+ defaultModel: string | null;
479
+ }>;
480
+ machineId: string;
481
+ edition: "enterprise";
482
+ enterpriseId: string;
483
+ userId: string;
484
+ configVersion: string;
485
+ issuedAt: string;
486
+ expiresAt: string;
487
+ gateway: {
488
+ url: string;
489
+ platformToken: string;
490
+ };
491
+ };
492
+ }[];
493
+ }, {
494
+ edition: "enterprise";
495
+ enterpriseId: string;
496
+ projectionId: string;
497
+ generatedAt: string;
498
+ projections: {
499
+ username: string;
500
+ projection: {
501
+ agents: Record<string, {
502
+ authorizedModels: {
503
+ status: "authorized" | "blocked";
504
+ modelId: string;
505
+ displayName: string;
506
+ reason?: "policy-blocked" | "projection-stale" | undefined;
507
+ }[];
508
+ defaultModel: string | null;
509
+ }>;
510
+ machineId: string;
511
+ edition: "enterprise";
512
+ enterpriseId: string;
513
+ userId: string;
514
+ configVersion: string;
515
+ issuedAt: string;
516
+ expiresAt: string;
517
+ gateway: {
518
+ url: string;
519
+ platformToken: string;
520
+ };
521
+ };
522
+ }[];
523
+ }>;
524
+ export type EnterpriseRuntimeProjectionBatch = z.infer<typeof EnterpriseRuntimeProjectionBatchSchema>;
525
+
526
+ export declare const EnterpriseRuntimeProjectionAckSchema: z.ZodObject<{
527
+ username: z.ZodString;
528
+ machineId: z.ZodString;
529
+ configVersion: z.ZodString;
530
+ status: z.ZodEnum<["applied", "duplicate", "stale", "rejected", "failed"]>;
531
+ errorCode: z.ZodOptional<z.ZodString>;
532
+ }, "strict", z.ZodTypeAny, {
533
+ status: "failed" | "duplicate" | "stale" | "applied" | "rejected";
534
+ machineId: string;
535
+ configVersion: string;
536
+ username: string;
537
+ errorCode?: string | undefined;
538
+ }, {
539
+ status: "failed" | "duplicate" | "stale" | "applied" | "rejected";
540
+ machineId: string;
541
+ configVersion: string;
542
+ username: string;
543
+ errorCode?: string | undefined;
544
+ }>;
545
+ export type EnterpriseRuntimeProjectionAck = z.infer<typeof EnterpriseRuntimeProjectionAckSchema>;
546
+
3
547
  export declare const EnterpriseAgentRuntimeSettingsSchema: z.ZodObject<{
4
548
  edition: z.ZodLiteral<"enterprise">;
5
549
  agent: z.ZodEnum<["claude", "codex", "opencode"]>;
@@ -11,20 +555,20 @@ export declare const EnterpriseAgentRuntimeSettingsSchema: z.ZodObject<{
11
555
  allowedModels: z.ZodArray<z.ZodString, "many">;
12
556
  defaultModel: z.ZodNullable<z.ZodString>;
13
557
  }, "strict", z.ZodTypeAny, {
14
- agent: "codex" | "claude" | "opencode";
558
+ agent: "claude" | "codex" | "opencode";
15
559
  defaultModel: string | null;
16
- configVersion: string;
17
560
  edition: "enterprise";
561
+ configVersion: string;
18
562
  issuedAt: string;
19
563
  expiresAt: string;
20
564
  gatewayUrl: string;
21
565
  platformGatewayToken: string;
22
566
  allowedModels: string[];
23
567
  }, {
24
- agent: "codex" | "claude" | "opencode";
568
+ agent: "claude" | "codex" | "opencode";
25
569
  defaultModel: string | null;
26
- configVersion: string;
27
570
  edition: "enterprise";
571
+ configVersion: string;
28
572
  issuedAt: string;
29
573
  expiresAt: string;
30
574
  gatewayUrl: string;
@@ -36,7 +580,6 @@ export type EnterpriseAgentRuntimeSettings = z.infer<typeof EnterpriseAgentRunti
36
580
  export declare const EnterpriseAgentRuntimeConfigSchema: z.ZodObject<{
37
581
  username: z.ZodString;
38
582
  agent: z.ZodEnum<["claude", "codex", "opencode"]>;
39
- routeId: z.ZodOptional<z.ZodString>;
40
583
  machineId: z.ZodOptional<z.ZodString>;
41
584
  configVersion: z.ZodOptional<z.ZodString>;
42
585
  issuedAt: z.ZodOptional<z.ZodString>;
@@ -50,10 +593,9 @@ export declare const EnterpriseAgentRuntimeConfigSchema: z.ZodObject<{
50
593
  codexConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
51
594
  opencodeConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
595
  }, "strict", z.ZodTypeAny, {
53
- agent: "codex" | "claude" | "opencode";
596
+ agent: "claude" | "codex" | "opencode";
54
597
  username: string;
55
598
  machineId?: string | undefined;
56
- routeId?: string | undefined;
57
599
  defaultModel?: string | null | undefined;
58
600
  configVersion?: string | undefined;
59
601
  issuedAt?: string | undefined;
@@ -66,10 +608,9 @@ export declare const EnterpriseAgentRuntimeConfigSchema: z.ZodObject<{
66
608
  codexConfig?: Record<string, unknown> | undefined;
67
609
  opencodeConfig?: Record<string, unknown> | undefined;
68
610
  }, {
69
- agent: "codex" | "claude" | "opencode";
611
+ agent: "claude" | "codex" | "opencode";
70
612
  username: string;
71
613
  machineId?: string | undefined;
72
- routeId?: string | undefined;
73
614
  defaultModel?: string | null | undefined;
74
615
  configVersion?: string | undefined;
75
616
  issuedAt?: string | undefined;
@@ -86,7 +627,6 @@ export declare const EnterpriseAgentRuntimeConfigBatchSchema: z.ZodObject<{
86
627
  configs: z.ZodArray<z.ZodObject<{
87
628
  username: z.ZodString;
88
629
  agent: z.ZodEnum<["claude", "codex", "opencode"]>;
89
- routeId: z.ZodOptional<z.ZodString>;
90
630
  machineId: z.ZodOptional<z.ZodString>;
91
631
  configVersion: z.ZodOptional<z.ZodString>;
92
632
  issuedAt: z.ZodOptional<z.ZodString>;
@@ -100,10 +640,9 @@ export declare const EnterpriseAgentRuntimeConfigBatchSchema: z.ZodObject<{
100
640
  codexConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
101
641
  opencodeConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102
642
  }, "strict", z.ZodTypeAny, {
103
- agent: "codex" | "claude" | "opencode";
643
+ agent: "claude" | "codex" | "opencode";
104
644
  username: string;
105
645
  machineId?: string | undefined;
106
- routeId?: string | undefined;
107
646
  defaultModel?: string | null | undefined;
108
647
  configVersion?: string | undefined;
109
648
  issuedAt?: string | undefined;
@@ -116,10 +655,9 @@ export declare const EnterpriseAgentRuntimeConfigBatchSchema: z.ZodObject<{
116
655
  codexConfig?: Record<string, unknown> | undefined;
117
656
  opencodeConfig?: Record<string, unknown> | undefined;
118
657
  }, {
119
- agent: "codex" | "claude" | "opencode";
658
+ agent: "claude" | "codex" | "opencode";
120
659
  username: string;
121
660
  machineId?: string | undefined;
122
- routeId?: string | undefined;
123
661
  defaultModel?: string | null | undefined;
124
662
  configVersion?: string | undefined;
125
663
  issuedAt?: string | undefined;
@@ -134,10 +672,9 @@ export declare const EnterpriseAgentRuntimeConfigBatchSchema: z.ZodObject<{
134
672
  }>, "many">;
135
673
  }, "strict", z.ZodTypeAny, {
136
674
  configs: {
137
- agent: "codex" | "claude" | "opencode";
675
+ agent: "claude" | "codex" | "opencode";
138
676
  username: string;
139
677
  machineId?: string | undefined;
140
- routeId?: string | undefined;
141
678
  defaultModel?: string | null | undefined;
142
679
  configVersion?: string | undefined;
143
680
  issuedAt?: string | undefined;
@@ -152,10 +689,9 @@ export declare const EnterpriseAgentRuntimeConfigBatchSchema: z.ZodObject<{
152
689
  }[];
153
690
  }, {
154
691
  configs: {
155
- agent: "codex" | "claude" | "opencode";
692
+ agent: "claude" | "codex" | "opencode";
156
693
  username: string;
157
694
  machineId?: string | undefined;
158
- routeId?: string | undefined;
159
695
  defaultModel?: string | null | undefined;
160
696
  configVersion?: string | undefined;
161
697
  issuedAt?: string | undefined;
@@ -172,11 +708,10 @@ export declare const EnterpriseAgentRuntimeConfigBatchSchema: z.ZodObject<{
172
708
  export type EnterpriseAgentRuntimeConfig = z.infer<typeof EnterpriseAgentRuntimeConfigSchema>;
173
709
  export declare const EnterpriseRuntimeBindingDiagnosticSchema: z.ZodObject<{
174
710
  id: z.ZodString;
175
- routeId: z.ZodString;
176
- model: z.ZodString;
177
711
  username: z.ZodString;
178
712
  machineId: z.ZodString;
179
713
  agent: z.ZodEnum<["claude", "codex", "opencode"]>;
714
+ allowedModels: z.ZodArray<z.ZodString, "many">;
180
715
  status: z.ZodEnum<["active", "revoked", "expired", "failed"]>;
181
716
  configVersion: z.ZodString;
182
717
  issuedAt: z.ZodString;
@@ -189,15 +724,14 @@ export declare const EnterpriseRuntimeBindingDiagnosticSchema: z.ZodObject<{
189
724
  cleanupLastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
725
  }, "strict", z.ZodTypeAny, {
191
726
  status: "failed" | "active" | "revoked" | "expired";
192
- model: string;
193
- agent: "codex" | "claude" | "opencode";
727
+ agent: "claude" | "codex" | "opencode";
194
728
  id: string;
195
729
  machineId: string;
196
- routeId: string;
197
- username: string;
198
730
  configVersion: string;
199
731
  issuedAt: string;
200
732
  expiresAt: string;
733
+ username: string;
734
+ allowedModels: string[];
201
735
  revokedAt: string | null;
202
736
  lastErrorCode: string | null;
203
737
  cleanupPending?: boolean | undefined;
@@ -206,15 +740,14 @@ export declare const EnterpriseRuntimeBindingDiagnosticSchema: z.ZodObject<{
206
740
  cleanupLastError?: string | null | undefined;
207
741
  }, {
208
742
  status: "failed" | "active" | "revoked" | "expired";
209
- model: string;
210
- agent: "codex" | "claude" | "opencode";
743
+ agent: "claude" | "codex" | "opencode";
211
744
  id: string;
212
745
  machineId: string;
213
- routeId: string;
214
- username: string;
215
746
  configVersion: string;
216
747
  issuedAt: string;
217
748
  expiresAt: string;
749
+ username: string;
750
+ allowedModels: string[];
218
751
  revokedAt: string | null;
219
752
  lastErrorCode: string | null;
220
753
  cleanupPending?: boolean | undefined;
@@ -225,11 +758,10 @@ export declare const EnterpriseRuntimeBindingDiagnosticSchema: z.ZodObject<{
225
758
  export declare const EnterpriseRuntimeBindingDiagnosticsSchema: z.ZodObject<{
226
759
  bindings: z.ZodArray<z.ZodObject<{
227
760
  id: z.ZodString;
228
- routeId: z.ZodString;
229
- model: z.ZodString;
230
761
  username: z.ZodString;
231
762
  machineId: z.ZodString;
232
763
  agent: z.ZodEnum<["claude", "codex", "opencode"]>;
764
+ allowedModels: z.ZodArray<z.ZodString, "many">;
233
765
  status: z.ZodEnum<["active", "revoked", "expired", "failed"]>;
234
766
  configVersion: z.ZodString;
235
767
  issuedAt: z.ZodString;
@@ -242,15 +774,14 @@ export declare const EnterpriseRuntimeBindingDiagnosticsSchema: z.ZodObject<{
242
774
  cleanupLastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
775
  }, "strict", z.ZodTypeAny, {
244
776
  status: "failed" | "active" | "revoked" | "expired";
245
- model: string;
246
- agent: "codex" | "claude" | "opencode";
777
+ agent: "claude" | "codex" | "opencode";
247
778
  id: string;
248
779
  machineId: string;
249
- routeId: string;
250
- username: string;
251
780
  configVersion: string;
252
781
  issuedAt: string;
253
782
  expiresAt: string;
783
+ username: string;
784
+ allowedModels: string[];
254
785
  revokedAt: string | null;
255
786
  lastErrorCode: string | null;
256
787
  cleanupPending?: boolean | undefined;
@@ -259,15 +790,14 @@ export declare const EnterpriseRuntimeBindingDiagnosticsSchema: z.ZodObject<{
259
790
  cleanupLastError?: string | null | undefined;
260
791
  }, {
261
792
  status: "failed" | "active" | "revoked" | "expired";
262
- model: string;
263
- agent: "codex" | "claude" | "opencode";
793
+ agent: "claude" | "codex" | "opencode";
264
794
  id: string;
265
795
  machineId: string;
266
- routeId: string;
267
- username: string;
268
796
  configVersion: string;
269
797
  issuedAt: string;
270
798
  expiresAt: string;
799
+ username: string;
800
+ allowedModels: string[];
271
801
  revokedAt: string | null;
272
802
  lastErrorCode: string | null;
273
803
  cleanupPending?: boolean | undefined;
@@ -278,15 +808,14 @@ export declare const EnterpriseRuntimeBindingDiagnosticsSchema: z.ZodObject<{
278
808
  }, "strict", z.ZodTypeAny, {
279
809
  bindings: {
280
810
  status: "failed" | "active" | "revoked" | "expired";
281
- model: string;
282
- agent: "codex" | "claude" | "opencode";
811
+ agent: "claude" | "codex" | "opencode";
283
812
  id: string;
284
813
  machineId: string;
285
- routeId: string;
286
- username: string;
287
814
  configVersion: string;
288
815
  issuedAt: string;
289
816
  expiresAt: string;
817
+ username: string;
818
+ allowedModels: string[];
290
819
  revokedAt: string | null;
291
820
  lastErrorCode: string | null;
292
821
  cleanupPending?: boolean | undefined;
@@ -297,15 +826,14 @@ export declare const EnterpriseRuntimeBindingDiagnosticsSchema: z.ZodObject<{
297
826
  }, {
298
827
  bindings: {
299
828
  status: "failed" | "active" | "revoked" | "expired";
300
- model: string;
301
- agent: "codex" | "claude" | "opencode";
829
+ agent: "claude" | "codex" | "opencode";
302
830
  id: string;
303
831
  machineId: string;
304
- routeId: string;
305
- username: string;
306
832
  configVersion: string;
307
833
  issuedAt: string;
308
834
  expiresAt: string;
835
+ username: string;
836
+ allowedModels: string[];
309
837
  revokedAt: string | null;
310
838
  lastErrorCode: string | null;
311
839
  cleanupPending?: boolean | undefined;