@klex/agent-admin-api 0.11.2 → 0.13.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 (2) hide show
  1. package/dist/index.d.ts +880 -754
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -15,6 +15,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
15
15
  } & {
16
16
  "/v1/cloud/status": {
17
17
  $get: {
18
+ output: {
19
+ error: string;
20
+ code: string;
21
+ remediation?: string | undefined;
22
+ };
23
+ outputFormat: "json";
24
+ status: 500;
25
+ input: {};
26
+ } | {
18
27
  output: {
19
28
  cloudEnabled: boolean;
20
29
  enrolled: boolean;
@@ -26,26 +35,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
26
35
  outputFormat: "json";
27
36
  status: 200;
28
37
  input: {};
29
- } | {
30
- output: {
31
- error: string;
32
- code: string;
33
- remediation?: string | undefined;
34
- };
35
- outputFormat: "json";
36
- status: 500;
37
- input: {};
38
38
  };
39
39
  };
40
40
  } & {
41
41
  "/v1/cloud/enroll": {
42
42
  $post: {
43
43
  output: {
44
- clientId: string;
45
- enrolledAt: string;
44
+ error: string;
45
+ code: string;
46
+ remediation?: string | undefined;
46
47
  };
47
48
  outputFormat: "json";
48
- status: 200;
49
+ status: 400;
49
50
  input: {
50
51
  json: {
51
52
  enrollmentCode: string;
@@ -58,7 +59,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
58
59
  remediation?: string | undefined;
59
60
  };
60
61
  outputFormat: "json";
61
- status: 400;
62
+ status: 500;
62
63
  input: {
63
64
  json: {
64
65
  enrollmentCode: string;
@@ -66,12 +67,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
66
67
  };
67
68
  } | {
68
69
  output: {
69
- error: string;
70
- code: string;
71
- remediation?: string | undefined;
70
+ clientId: string;
71
+ enrolledAt: string;
72
72
  };
73
73
  outputFormat: "json";
74
- status: 500;
74
+ status: 200;
75
75
  input: {
76
76
  json: {
77
77
  enrollmentCode: string;
@@ -94,10 +94,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
94
94
  "/v1/settings/agent": {
95
95
  $patch: {
96
96
  output: {
97
- officialName: string;
97
+ error: string;
98
+ code: string;
99
+ remediation?: string | undefined;
98
100
  };
99
101
  outputFormat: "json";
100
- status: 200;
102
+ status: 400;
101
103
  input: {
102
104
  json: {
103
105
  officialName: string;
@@ -110,7 +112,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
110
112
  remediation?: string | undefined;
111
113
  };
112
114
  outputFormat: "json";
113
- status: 400;
115
+ status: 500;
114
116
  input: {
115
117
  json: {
116
118
  officialName: string;
@@ -118,12 +120,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
118
120
  };
119
121
  } | {
120
122
  output: {
121
- error: string;
122
- code: string;
123
- remediation?: string | undefined;
123
+ officialName: string;
124
124
  };
125
125
  outputFormat: "json";
126
- status: 500;
126
+ status: 200;
127
127
  input: {
128
128
  json: {
129
129
  officialName: string;
@@ -134,6 +134,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
134
134
  } & {
135
135
  "/v1/settings/model-selection": {
136
136
  $get: {
137
+ output: {
138
+ error: string;
139
+ code: string;
140
+ remediation?: string | undefined;
141
+ };
142
+ outputFormat: "json";
143
+ status: 500;
144
+ input: {};
145
+ } | {
137
146
  output: {
138
147
  chat: {
139
148
  providerId: string;
@@ -189,6 +198,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
189
198
  };
190
199
  } | undefined;
191
200
  }[];
201
+ instincts: {
202
+ providerId: string;
203
+ modelId: string;
204
+ providerOptions?: {
205
+ [x: string]: {
206
+ [x: string]: import("hono/utils/types").JSONValue;
207
+ };
208
+ } | undefined;
209
+ api: "evaluation" | "generation";
210
+ attemptTimeoutMs?: number | undefined;
211
+ }[];
192
212
  voice: {
193
213
  sts: {
194
214
  providerId: string;
@@ -223,6 +243,77 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
223
243
  outputFormat: "json";
224
244
  status: 200;
225
245
  input: {};
246
+ };
247
+ };
248
+ } & {
249
+ "/v1/settings/model-selection": {
250
+ $patch: {
251
+ output: {
252
+ error: string;
253
+ code: string;
254
+ remediation?: string | undefined;
255
+ };
256
+ outputFormat: "json";
257
+ status: 400;
258
+ input: {
259
+ json: {
260
+ chat?: {
261
+ providerId: string;
262
+ modelId: string;
263
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
264
+ }[] | undefined;
265
+ compaction?: {
266
+ providerId: string;
267
+ modelId: string;
268
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
269
+ }[] | undefined;
270
+ memory?: {
271
+ providerId: string;
272
+ modelId: string;
273
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
274
+ }[] | undefined;
275
+ imageVision?: {
276
+ providerId: string;
277
+ modelId: string;
278
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
279
+ }[] | undefined;
280
+ audioListening?: {
281
+ providerId: string;
282
+ modelId: string;
283
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
284
+ }[] | undefined;
285
+ consult?: {
286
+ providerId: string;
287
+ modelId: string;
288
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
289
+ }[] | undefined;
290
+ instincts?: {
291
+ providerId: string;
292
+ modelId: string;
293
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
294
+ api?: "evaluation" | "generation" | undefined;
295
+ attemptTimeoutMs?: number | undefined;
296
+ }[] | undefined;
297
+ voice?: {
298
+ sts: {
299
+ providerId: string;
300
+ modelId: string;
301
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
302
+ voiceId?: string | undefined;
303
+ }[];
304
+ tts: {
305
+ providerId: string;
306
+ modelId: string;
307
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
308
+ }[];
309
+ stt: {
310
+ providerId: string;
311
+ modelId: string;
312
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
313
+ }[];
314
+ } | undefined;
315
+ };
316
+ };
226
317
  } | {
227
318
  output: {
228
319
  error: string;
@@ -231,12 +322,66 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
231
322
  };
232
323
  outputFormat: "json";
233
324
  status: 500;
234
- input: {};
235
- };
236
- };
237
- } & {
238
- "/v1/settings/model-selection": {
239
- $patch: {
325
+ input: {
326
+ json: {
327
+ chat?: {
328
+ providerId: string;
329
+ modelId: string;
330
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
331
+ }[] | undefined;
332
+ compaction?: {
333
+ providerId: string;
334
+ modelId: string;
335
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
336
+ }[] | undefined;
337
+ memory?: {
338
+ providerId: string;
339
+ modelId: string;
340
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
341
+ }[] | undefined;
342
+ imageVision?: {
343
+ providerId: string;
344
+ modelId: string;
345
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
346
+ }[] | undefined;
347
+ audioListening?: {
348
+ providerId: string;
349
+ modelId: string;
350
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
351
+ }[] | undefined;
352
+ consult?: {
353
+ providerId: string;
354
+ modelId: string;
355
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
356
+ }[] | undefined;
357
+ instincts?: {
358
+ providerId: string;
359
+ modelId: string;
360
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
361
+ api?: "evaluation" | "generation" | undefined;
362
+ attemptTimeoutMs?: number | undefined;
363
+ }[] | undefined;
364
+ voice?: {
365
+ sts: {
366
+ providerId: string;
367
+ modelId: string;
368
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
369
+ voiceId?: string | undefined;
370
+ }[];
371
+ tts: {
372
+ providerId: string;
373
+ modelId: string;
374
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
375
+ }[];
376
+ stt: {
377
+ providerId: string;
378
+ modelId: string;
379
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
380
+ }[];
381
+ } | undefined;
382
+ };
383
+ };
384
+ } | {
240
385
  output: {
241
386
  chat: {
242
387
  providerId: string;
@@ -292,6 +437,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
292
437
  };
293
438
  } | undefined;
294
439
  }[];
440
+ instincts: {
441
+ providerId: string;
442
+ modelId: string;
443
+ providerOptions?: {
444
+ [x: string]: {
445
+ [x: string]: import("hono/utils/types").JSONValue;
446
+ };
447
+ } | undefined;
448
+ api: "evaluation" | "generation";
449
+ attemptTimeoutMs?: number | undefined;
450
+ }[];
295
451
  voice: {
296
452
  sts: {
297
453
  providerId: string;
@@ -361,6 +517,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
361
517
  modelId: string;
362
518
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
363
519
  }[] | undefined;
520
+ instincts?: {
521
+ providerId: string;
522
+ modelId: string;
523
+ providerOptions?: Record<string, Record<string, unknown>> | undefined;
524
+ api?: "evaluation" | "generation" | undefined;
525
+ attemptTimeoutMs?: number | undefined;
526
+ }[] | undefined;
364
527
  voice?: {
365
528
  sts: {
366
529
  providerId: string;
@@ -381,67 +544,50 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
381
544
  } | undefined;
382
545
  };
383
546
  };
547
+ };
548
+ };
549
+ } & {
550
+ "/v1/settings/timezone": {
551
+ $get: {
552
+ output: {
553
+ timezone: string;
554
+ };
555
+ outputFormat: "json";
556
+ status: 200;
557
+ input: {};
558
+ };
559
+ };
560
+ } & {
561
+ "/v1/introspect": {
562
+ $get: {
563
+ output: {
564
+ error: string;
565
+ code: string;
566
+ remediation?: string | undefined;
567
+ };
568
+ outputFormat: "json";
569
+ status: 500;
570
+ input: {};
384
571
  } | {
385
- output: {
386
- error: string;
387
- code: string;
388
- remediation?: string | undefined;
389
- };
390
- outputFormat: "json";
391
- status: 400;
392
- input: {
393
- json: {
394
- chat?: {
395
- providerId: string;
396
- modelId: string;
397
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
398
- }[] | undefined;
399
- compaction?: {
400
- providerId: string;
401
- modelId: string;
402
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
403
- }[] | undefined;
404
- memory?: {
405
- providerId: string;
406
- modelId: string;
407
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
408
- }[] | undefined;
409
- imageVision?: {
410
- providerId: string;
411
- modelId: string;
412
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
413
- }[] | undefined;
414
- audioListening?: {
415
- providerId: string;
416
- modelId: string;
417
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
418
- }[] | undefined;
419
- consult?: {
420
- providerId: string;
421
- modelId: string;
422
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
423
- }[] | undefined;
424
- voice?: {
425
- sts: {
426
- providerId: string;
427
- modelId: string;
428
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
429
- voiceId?: string | undefined;
430
- }[];
431
- tts: {
432
- providerId: string;
433
- modelId: string;
434
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
435
- }[];
436
- stt: {
437
- providerId: string;
438
- modelId: string;
439
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
440
- }[];
441
- } | undefined;
442
- };
443
- };
444
- } | {
572
+ output: {
573
+ path: string[];
574
+ state: {
575
+ [x: string]: import("hono/utils/types").JSONValue;
576
+ } | null;
577
+ children: {
578
+ id: string;
579
+ hasState: boolean;
580
+ hasChildren: boolean;
581
+ }[];
582
+ };
583
+ outputFormat: "json";
584
+ status: 200;
585
+ input: {};
586
+ };
587
+ };
588
+ } & {
589
+ "/v1/mcp-servers": {
590
+ $get: {
445
591
  output: {
446
592
  error: string;
447
593
  code: string;
@@ -449,102 +595,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
449
595
  };
450
596
  outputFormat: "json";
451
597
  status: 500;
452
- input: {
453
- json: {
454
- chat?: {
455
- providerId: string;
456
- modelId: string;
457
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
458
- }[] | undefined;
459
- compaction?: {
460
- providerId: string;
461
- modelId: string;
462
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
463
- }[] | undefined;
464
- memory?: {
465
- providerId: string;
466
- modelId: string;
467
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
468
- }[] | undefined;
469
- imageVision?: {
470
- providerId: string;
471
- modelId: string;
472
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
473
- }[] | undefined;
474
- audioListening?: {
475
- providerId: string;
476
- modelId: string;
477
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
478
- }[] | undefined;
479
- consult?: {
480
- providerId: string;
481
- modelId: string;
482
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
483
- }[] | undefined;
484
- voice?: {
485
- sts: {
486
- providerId: string;
487
- modelId: string;
488
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
489
- voiceId?: string | undefined;
490
- }[];
491
- tts: {
492
- providerId: string;
493
- modelId: string;
494
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
495
- }[];
496
- stt: {
497
- providerId: string;
498
- modelId: string;
499
- providerOptions?: Record<string, Record<string, unknown>> | undefined;
500
- }[];
501
- } | undefined;
502
- };
503
- };
504
- };
505
- };
506
- } & {
507
- "/v1/settings/timezone": {
508
- $get: {
509
- output: {
510
- timezone: string;
511
- };
512
- outputFormat: "json";
513
- status: 200;
514
- input: {};
515
- };
516
- };
517
- } & {
518
- "/v1/introspect": {
519
- $get: {
520
- output: {
521
- path: string[];
522
- state: {
523
- [x: string]: import("hono/utils/types").JSONValue;
524
- } | null;
525
- children: {
526
- id: string;
527
- hasState: boolean;
528
- hasChildren: boolean;
529
- }[];
530
- };
531
- outputFormat: "json";
532
- status: 200;
533
598
  input: {};
534
599
  } | {
535
- output: {
536
- error: string;
537
- code: string;
538
- remediation?: string | undefined;
539
- };
540
- outputFormat: "json";
541
- status: 500;
542
- input: {};
543
- };
544
- };
545
- } & {
546
- "/v1/mcp-servers": {
547
- $get: {
548
600
  output: {
549
601
  servers: {
550
602
  name: string;
@@ -571,51 +623,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
571
623
  outputFormat: "json";
572
624
  status: 200;
573
625
  input: {};
574
- } | {
575
- output: {
576
- error: string;
577
- code: string;
578
- remediation?: string | undefined;
579
- };
580
- outputFormat: "json";
581
- status: 500;
582
- input: {};
583
626
  };
584
627
  };
585
628
  } & {
586
629
  "/v1/mcp-servers/:name": {
587
630
  $get: {
588
- output: {
589
- server: {
590
- name: string;
591
- status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
592
- toolCount: number;
593
- supportsPushNotifications: boolean;
594
- supportsRealtimeMedia: boolean;
595
- transport: "http" | "stdio";
596
- headerNames: string[];
597
- usesInteractiveOAuth: boolean;
598
- authorization: {
599
- id: string;
600
- createdAt: string;
601
- expiresAt: string;
602
- } | null;
603
- lastError: {
604
- name: string;
605
- message: string;
606
- at: string;
607
- } | null;
608
- nextRetryAt: string | null;
609
- };
610
- };
611
- outputFormat: "json";
612
- status: 200;
613
- input: {
614
- param: {
615
- name: string;
616
- };
617
- };
618
- } | {
619
631
  output: {
620
632
  error: string;
621
633
  code: string;
@@ -641,13 +653,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
641
653
  name: string;
642
654
  };
643
655
  };
644
- };
645
- };
646
- } & {
647
- "/v1/mcp-servers": {
648
- $post: {
656
+ } | {
649
657
  output: {
650
- servers: {
658
+ server: {
651
659
  name: string;
652
660
  status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
653
661
  toolCount: number;
@@ -667,31 +675,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
667
675
  at: string;
668
676
  } | null;
669
677
  nextRetryAt: string | null;
670
- }[];
678
+ };
671
679
  };
672
680
  outputFormat: "json";
673
- status: 201;
681
+ status: 200;
674
682
  input: {
675
- json: {
676
- name: string;
677
- type?: "stdio" | undefined;
678
- command: string;
679
- args?: string[] | undefined;
680
- env?: Record<string, string> | undefined;
681
- versionNegotiation?: "auto" | "legacy" | {
682
- pin: string;
683
- } | undefined;
684
- } | {
683
+ param: {
685
684
  name: string;
686
- type?: "http" | "streamable-http" | undefined;
687
- url: string;
688
- headers?: Record<string, string> | undefined;
689
- versionNegotiation?: "auto" | "legacy" | {
690
- pin: string;
691
- } | undefined;
692
685
  };
693
686
  };
694
- } | {
687
+ };
688
+ };
689
+ } & {
690
+ "/v1/mcp-servers": {
691
+ $post: {
695
692
  output: {
696
693
  error: string;
697
694
  code: string;
@@ -775,11 +772,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
775
772
  } | undefined;
776
773
  };
777
774
  };
778
- };
779
- };
780
- } & {
781
- "/v1/mcp-servers/:name": {
782
- $patch: {
775
+ } | {
783
776
  output: {
784
777
  servers: {
785
778
  name: string;
@@ -804,13 +797,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
804
797
  }[];
805
798
  };
806
799
  outputFormat: "json";
807
- status: 200;
800
+ status: 201;
808
801
  input: {
809
- param: {
810
- name: string;
811
- };
812
- } & {
813
802
  json: {
803
+ name: string;
814
804
  type?: "stdio" | undefined;
815
805
  command: string;
816
806
  args?: string[] | undefined;
@@ -819,15 +809,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
819
809
  pin: string;
820
810
  } | undefined;
821
811
  } | {
812
+ name: string;
822
813
  type?: "http" | "streamable-http" | undefined;
823
- url?: string | undefined;
824
- headerUpdates?: Record<string, string | null> | undefined;
814
+ url: string;
815
+ headers?: Record<string, string> | undefined;
825
816
  versionNegotiation?: "auto" | "legacy" | {
826
817
  pin: string;
827
818
  } | undefined;
828
819
  };
829
820
  };
830
- } | {
821
+ };
822
+ };
823
+ } & {
824
+ "/v1/mcp-servers/:name": {
825
+ $patch: {
831
826
  output: {
832
827
  error: string;
833
828
  code: string;
@@ -917,11 +912,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
917
912
  } | undefined;
918
913
  };
919
914
  };
920
- };
921
- };
922
- } & {
923
- "/v1/mcp-servers/:name": {
924
- $delete: {
915
+ } | {
925
916
  output: {
926
917
  servers: {
927
918
  name: string;
@@ -951,8 +942,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
951
942
  param: {
952
943
  name: string;
953
944
  };
954
- };
955
- } | {
945
+ } & {
946
+ json: {
947
+ type?: "stdio" | undefined;
948
+ command: string;
949
+ args?: string[] | undefined;
950
+ env?: Record<string, string> | undefined;
951
+ versionNegotiation?: "auto" | "legacy" | {
952
+ pin: string;
953
+ } | undefined;
954
+ } | {
955
+ type?: "http" | "streamable-http" | undefined;
956
+ url?: string | undefined;
957
+ headerUpdates?: Record<string, string | null> | undefined;
958
+ versionNegotiation?: "auto" | "legacy" | {
959
+ pin: string;
960
+ } | undefined;
961
+ };
962
+ };
963
+ };
964
+ };
965
+ } & {
966
+ "/v1/mcp-servers/:name": {
967
+ $delete: {
956
968
  output: {
957
969
  error: string;
958
970
  code: string;
@@ -978,11 +990,55 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
978
990
  name: string;
979
991
  };
980
992
  };
993
+ } | {
994
+ output: {
995
+ servers: {
996
+ name: string;
997
+ status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
998
+ toolCount: number;
999
+ supportsPushNotifications: boolean;
1000
+ supportsRealtimeMedia: boolean;
1001
+ transport: "http" | "stdio";
1002
+ headerNames: string[];
1003
+ usesInteractiveOAuth: boolean;
1004
+ authorization: {
1005
+ id: string;
1006
+ createdAt: string;
1007
+ expiresAt: string;
1008
+ } | null;
1009
+ lastError: {
1010
+ name: string;
1011
+ message: string;
1012
+ at: string;
1013
+ } | null;
1014
+ nextRetryAt: string | null;
1015
+ }[];
1016
+ };
1017
+ outputFormat: "json";
1018
+ status: 200;
1019
+ input: {
1020
+ param: {
1021
+ name: string;
1022
+ };
1023
+ };
981
1024
  };
982
1025
  };
983
1026
  } & {
984
1027
  "/v1/mcp-servers/:name/tool-calls": {
985
1028
  $get: {
1029
+ output: {
1030
+ error: string;
1031
+ code: string;
1032
+ remediation?: string | undefined;
1033
+ };
1034
+ outputFormat: "json";
1035
+ status: 500;
1036
+ input: {
1037
+ param: {
1038
+ name: string;
1039
+ };
1040
+ };
1041
+ } | {
986
1042
  output: {
987
1043
  toolCalls: {
988
1044
  id: string;
@@ -1005,34 +1061,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1005
1061
  name: string;
1006
1062
  };
1007
1063
  };
1008
- } | {
1009
- output: {
1010
- error: string;
1011
- code: string;
1012
- remediation?: string | undefined;
1013
- };
1014
- outputFormat: "json";
1015
- status: 500;
1016
- input: {
1017
- param: {
1018
- name: string;
1019
- };
1020
- };
1021
1064
  };
1022
1065
  };
1023
1066
  } & {
1024
1067
  "/v1/mcp-servers/:name/authorization": {
1025
1068
  $put: {
1026
1069
  output: {
1027
- id: string;
1028
- serverName: string;
1029
- serverUrl: string;
1030
- authorizationUrl: string;
1031
- state: string;
1032
- expiresAt: string;
1070
+ error: string;
1071
+ code: string;
1072
+ remediation?: string | undefined;
1033
1073
  };
1034
1074
  outputFormat: "json";
1035
- status: 200;
1075
+ status: 404;
1036
1076
  input: {
1037
1077
  param: {
1038
1078
  name: string;
@@ -1045,7 +1085,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1045
1085
  remediation?: string | undefined;
1046
1086
  };
1047
1087
  outputFormat: "json";
1048
- status: 404;
1088
+ status: 409;
1049
1089
  input: {
1050
1090
  param: {
1051
1091
  name: string;
@@ -1058,7 +1098,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1058
1098
  remediation?: string | undefined;
1059
1099
  };
1060
1100
  outputFormat: "json";
1061
- status: 409;
1101
+ status: 503;
1062
1102
  input: {
1063
1103
  param: {
1064
1104
  name: string;
@@ -1071,7 +1111,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1071
1111
  remediation?: string | undefined;
1072
1112
  };
1073
1113
  outputFormat: "json";
1074
- status: 503;
1114
+ status: 504;
1075
1115
  input: {
1076
1116
  param: {
1077
1117
  name: string;
@@ -1079,12 +1119,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1079
1119
  };
1080
1120
  } | {
1081
1121
  output: {
1082
- error: string;
1083
- code: string;
1084
- remediation?: string | undefined;
1122
+ id: string;
1123
+ serverName: string;
1124
+ serverUrl: string;
1125
+ authorizationUrl: string;
1126
+ state: string;
1127
+ expiresAt: string;
1085
1128
  };
1086
1129
  outputFormat: "json";
1087
- status: 504;
1130
+ status: 200;
1088
1131
  input: {
1089
1132
  param: {
1090
1133
  name: string;
@@ -1095,15 +1138,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1095
1138
  } & {
1096
1139
  "/v1/mcp-servers/:name/authorization": {
1097
1140
  $delete: {
1098
- output: {};
1099
- outputFormat: string;
1100
- status: 204;
1101
- input: {
1102
- param: {
1103
- name: string;
1104
- };
1105
- };
1106
- } | {
1107
1141
  output: {
1108
1142
  error: string;
1109
1143
  code: string;
@@ -1116,16 +1150,27 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1116
1150
  name: string;
1117
1151
  };
1118
1152
  };
1153
+ } | {
1154
+ output: {};
1155
+ outputFormat: string;
1156
+ status: 204;
1157
+ input: {
1158
+ param: {
1159
+ name: string;
1160
+ };
1161
+ };
1119
1162
  };
1120
1163
  };
1121
1164
  } & {
1122
1165
  "/v1/mcp-oauth/callback": {
1123
1166
  $post: {
1124
1167
  output: {
1125
- accepted: true;
1168
+ error: string;
1169
+ code: string;
1170
+ remediation?: string | undefined;
1126
1171
  };
1127
1172
  outputFormat: "json";
1128
- status: 202;
1173
+ status: 400;
1129
1174
  input: {
1130
1175
  json: {
1131
1176
  state: string;
@@ -1141,7 +1186,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1141
1186
  remediation?: string | undefined;
1142
1187
  };
1143
1188
  outputFormat: "json";
1144
- status: 400;
1189
+ status: 404;
1145
1190
  input: {
1146
1191
  json: {
1147
1192
  state: string;
@@ -1152,12 +1197,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1152
1197
  };
1153
1198
  } | {
1154
1199
  output: {
1155
- error: string;
1156
- code: string;
1157
- remediation?: string | undefined;
1200
+ accepted: true;
1158
1201
  };
1159
1202
  outputFormat: "json";
1160
- status: 404;
1203
+ status: 202;
1161
1204
  input: {
1162
1205
  json: {
1163
1206
  state: string;
@@ -1373,12 +1416,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1373
1416
  } & {
1374
1417
  "/v1/god-messages/session": {
1375
1418
  $get: {
1419
+ output: {
1420
+ error: string;
1421
+ code: string;
1422
+ remediation?: string | undefined;
1423
+ };
1424
+ outputFormat: "json";
1425
+ status: 404;
1426
+ input: {};
1427
+ } | {
1376
1428
  output: {
1377
1429
  name: string;
1378
1430
  extensionIdentifier?: string | undefined;
1379
1431
  kind: "child" | "default" | "god";
1380
1432
  parentId: string | null;
1381
- modelPurpose: "audioListening" | "chat" | "compaction" | "consult" | "imageVision" | "memory";
1433
+ modelPurpose: "audioListening" | "chat" | "compaction" | "consult" | "imageVision" | "instincts" | "memory";
1382
1434
  id: string;
1383
1435
  status: "active" | "terminated";
1384
1436
  runtimeState: "idle" | "leased" | "retrying" | "success" | "terminated" | "working";
@@ -1427,33 +1479,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1427
1479
  outputFormat: "json";
1428
1480
  status: 200;
1429
1481
  input: {};
1430
- } | {
1431
- output: {
1432
- error: string;
1433
- code: string;
1434
- remediation?: string | undefined;
1435
- };
1436
- outputFormat: "json";
1437
- status: 404;
1438
- input: {};
1439
1482
  };
1440
1483
  };
1441
1484
  } & {
1442
1485
  "/v1/god-messages/messages": {
1443
1486
  $get: {
1444
1487
  output: {
1445
- messages: {
1446
- id: string;
1447
- role: string;
1448
- parts: {
1449
- [x: string]: import("hono/utils/types").JSONValue;
1450
- }[];
1451
- }[];
1452
- nextCursor: string | null;
1453
- hasMore: boolean;
1488
+ error: string;
1489
+ code: string;
1490
+ remediation?: string | undefined;
1454
1491
  };
1455
1492
  outputFormat: "json";
1456
- status: 200;
1493
+ status: 400;
1457
1494
  input: {
1458
1495
  query: {
1459
1496
  limit?: unknown;
@@ -1467,7 +1504,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1467
1504
  remediation?: string | undefined;
1468
1505
  };
1469
1506
  outputFormat: "json";
1470
- status: 400;
1507
+ status: 500;
1471
1508
  input: {
1472
1509
  query: {
1473
1510
  limit?: unknown;
@@ -1476,12 +1513,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1476
1513
  };
1477
1514
  } | {
1478
1515
  output: {
1479
- error: string;
1480
- code: string;
1481
- remediation?: string | undefined;
1516
+ messages: {
1517
+ id: string;
1518
+ role: string;
1519
+ parts: {
1520
+ [x: string]: import("hono/utils/types").JSONValue;
1521
+ }[];
1522
+ }[];
1523
+ nextCursor: string | null;
1524
+ hasMore: boolean;
1482
1525
  };
1483
1526
  outputFormat: "json";
1484
- status: 500;
1527
+ status: 200;
1485
1528
  input: {
1486
1529
  query: {
1487
1530
  limit?: unknown;
@@ -1493,13 +1536,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1493
1536
  } & {
1494
1537
  "/v1/god-messages/reset": {
1495
1538
  $post: {
1496
- output: {
1497
- sessionId: string;
1498
- };
1499
- outputFormat: "json";
1500
- status: 200;
1501
- input: {};
1502
- } | {
1503
1539
  output: {
1504
1540
  error: string;
1505
1541
  code: string;
@@ -1526,11 +1562,52 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1526
1562
  outputFormat: "json";
1527
1563
  status: 500;
1528
1564
  input: {};
1565
+ } | {
1566
+ output: {
1567
+ sessionId: string;
1568
+ };
1569
+ outputFormat: "json";
1570
+ status: 200;
1571
+ input: {};
1529
1572
  };
1530
1573
  };
1531
1574
  } & {
1532
1575
  "/v1/sessions": {
1533
1576
  $get: {
1577
+ output: {
1578
+ error: string;
1579
+ code: string;
1580
+ remediation?: string | undefined;
1581
+ };
1582
+ outputFormat: "json";
1583
+ status: 400;
1584
+ input: {
1585
+ query: {
1586
+ kind?: "child" | "default" | "god" | undefined;
1587
+ parentInstanceId?: string | undefined;
1588
+ live?: "false" | "true" | undefined;
1589
+ limit?: unknown;
1590
+ cursor?: string | undefined;
1591
+ };
1592
+ };
1593
+ } | {
1594
+ output: {
1595
+ error: string;
1596
+ code: string;
1597
+ remediation?: string | undefined;
1598
+ };
1599
+ outputFormat: "json";
1600
+ status: 500;
1601
+ input: {
1602
+ query: {
1603
+ kind?: "child" | "default" | "god" | undefined;
1604
+ parentInstanceId?: string | undefined;
1605
+ live?: "false" | "true" | undefined;
1606
+ limit?: unknown;
1607
+ cursor?: string | undefined;
1608
+ };
1609
+ };
1610
+ } | {
1534
1611
  output: {
1535
1612
  sessions: {
1536
1613
  instanceId: string;
@@ -1562,21 +1639,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1562
1639
  cursor?: string | undefined;
1563
1640
  };
1564
1641
  };
1565
- } | {
1642
+ };
1643
+ };
1644
+ } & {
1645
+ "/v1/sessions/:instanceId": {
1646
+ $get: {
1566
1647
  output: {
1567
1648
  error: string;
1568
1649
  code: string;
1569
1650
  remediation?: string | undefined;
1570
1651
  };
1571
1652
  outputFormat: "json";
1572
- status: 400;
1653
+ status: 404;
1573
1654
  input: {
1574
- query: {
1575
- kind?: "child" | "default" | "god" | undefined;
1576
- parentInstanceId?: string | undefined;
1577
- live?: "false" | "true" | undefined;
1578
- limit?: unknown;
1579
- cursor?: string | undefined;
1655
+ param: {
1656
+ instanceId: string;
1580
1657
  };
1581
1658
  };
1582
1659
  } | {
@@ -1588,19 +1665,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1588
1665
  outputFormat: "json";
1589
1666
  status: 500;
1590
1667
  input: {
1591
- query: {
1592
- kind?: "child" | "default" | "god" | undefined;
1593
- parentInstanceId?: string | undefined;
1594
- live?: "false" | "true" | undefined;
1595
- limit?: unknown;
1596
- cursor?: string | undefined;
1668
+ param: {
1669
+ instanceId: string;
1597
1670
  };
1598
1671
  };
1599
- };
1600
- };
1601
- } & {
1602
- "/v1/sessions/:instanceId": {
1603
- $get: {
1672
+ } | {
1604
1673
  output: {
1605
1674
  instanceId: string;
1606
1675
  sessionId: string;
@@ -1624,6 +1693,29 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1624
1693
  instanceId: string;
1625
1694
  };
1626
1695
  };
1696
+ };
1697
+ };
1698
+ } & {
1699
+ "/v1/sessions/:instanceId/messages": {
1700
+ $get: {
1701
+ output: {
1702
+ error: string;
1703
+ code: string;
1704
+ remediation?: string | undefined;
1705
+ };
1706
+ outputFormat: "json";
1707
+ status: 400;
1708
+ input: {
1709
+ param: {
1710
+ instanceId: string;
1711
+ };
1712
+ } & {
1713
+ query: {
1714
+ limit?: unknown;
1715
+ cursor?: unknown;
1716
+ includeProviderMetadata?: "false" | "true" | undefined;
1717
+ };
1718
+ };
1627
1719
  } | {
1628
1720
  output: {
1629
1721
  error: string;
@@ -1636,6 +1728,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1636
1728
  param: {
1637
1729
  instanceId: string;
1638
1730
  };
1731
+ } & {
1732
+ query: {
1733
+ limit?: unknown;
1734
+ cursor?: unknown;
1735
+ includeProviderMetadata?: "false" | "true" | undefined;
1736
+ };
1639
1737
  };
1640
1738
  } | {
1641
1739
  output: {
@@ -1649,12 +1747,14 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1649
1747
  param: {
1650
1748
  instanceId: string;
1651
1749
  };
1750
+ } & {
1751
+ query: {
1752
+ limit?: unknown;
1753
+ cursor?: unknown;
1754
+ includeProviderMetadata?: "false" | "true" | undefined;
1755
+ };
1652
1756
  };
1653
- };
1654
- };
1655
- } & {
1656
- "/v1/sessions/:instanceId/messages": {
1657
- $get: {
1757
+ } | {
1658
1758
  output: {
1659
1759
  messages: {
1660
1760
  id: string;
@@ -1684,7 +1784,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1684
1784
  includeProviderMetadata?: "false" | "true" | undefined;
1685
1785
  };
1686
1786
  };
1687
- } | {
1787
+ };
1788
+ };
1789
+ } & {
1790
+ "/v1/usage": {
1791
+ $get: {
1688
1792
  output: {
1689
1793
  error: string;
1690
1794
  code: string;
@@ -1693,33 +1797,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1693
1797
  outputFormat: "json";
1694
1798
  status: 400;
1695
1799
  input: {
1696
- param: {
1697
- instanceId: string;
1698
- };
1699
- } & {
1700
- query: {
1701
- limit?: unknown;
1702
- cursor?: unknown;
1703
- includeProviderMetadata?: "false" | "true" | undefined;
1704
- };
1705
- };
1706
- } | {
1707
- output: {
1708
- error: string;
1709
- code: string;
1710
- remediation?: string | undefined;
1711
- };
1712
- outputFormat: "json";
1713
- status: 404;
1714
- input: {
1715
- param: {
1716
- instanceId: string;
1717
- };
1718
- } & {
1719
1800
  query: {
1801
+ splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
1802
+ from?: string | undefined;
1803
+ to?: string | undefined;
1804
+ granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
1720
1805
  limit?: unknown;
1721
- cursor?: unknown;
1722
- includeProviderMetadata?: "false" | "true" | undefined;
1723
1806
  };
1724
1807
  };
1725
1808
  } | {
@@ -1731,26 +1814,25 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1731
1814
  outputFormat: "json";
1732
1815
  status: 500;
1733
1816
  input: {
1734
- param: {
1735
- instanceId: string;
1736
- };
1737
- } & {
1738
1817
  query: {
1818
+ splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
1819
+ from?: string | undefined;
1820
+ to?: string | undefined;
1821
+ granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
1739
1822
  limit?: unknown;
1740
- cursor?: unknown;
1741
- includeProviderMetadata?: "false" | "true" | undefined;
1742
1823
  };
1743
1824
  };
1744
- };
1745
- };
1746
- } & {
1747
- "/v1/usage": {
1748
- $get: {
1825
+ } | {
1749
1826
  output: {
1750
1827
  dataPoints: {
1751
1828
  bucket: string | null;
1752
1829
  splitKey: string | null;
1753
1830
  callCount: number;
1831
+ api: "evaluation" | "generation" | null;
1832
+ tokenUsageReported: boolean | null;
1833
+ cacheUsageReported: boolean | null;
1834
+ tokenUsageUnreportedCount: number;
1835
+ cacheUsageUnreportedCount: number;
1754
1836
  inputTokens: number;
1755
1837
  outputTokens: number;
1756
1838
  inputCacheWriteTokens: number;
@@ -1783,23 +1865,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1783
1865
  limit?: unknown;
1784
1866
  };
1785
1867
  };
1786
- } | {
1868
+ };
1869
+ };
1870
+ } & {
1871
+ "/v1/skills": {
1872
+ $get: {
1787
1873
  output: {
1788
1874
  error: string;
1789
1875
  code: string;
1790
1876
  remediation?: string | undefined;
1791
1877
  };
1792
1878
  outputFormat: "json";
1793
- status: 400;
1794
- input: {
1795
- query: {
1796
- splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
1797
- from?: string | undefined;
1798
- to?: string | undefined;
1799
- granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
1800
- limit?: unknown;
1801
- };
1802
- };
1879
+ status: 500;
1880
+ input: {};
1803
1881
  } | {
1804
1882
  output: {
1805
1883
  error: string;
@@ -1807,21 +1885,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1807
1885
  remediation?: string | undefined;
1808
1886
  };
1809
1887
  outputFormat: "json";
1810
- status: 500;
1811
- input: {
1812
- query: {
1813
- splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
1814
- from?: string | undefined;
1815
- to?: string | undefined;
1816
- granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
1817
- limit?: unknown;
1818
- };
1819
- };
1820
- };
1821
- };
1822
- } & {
1823
- "/v1/skills": {
1824
- $get: {
1888
+ status: 503;
1889
+ input: {};
1890
+ } | {
1825
1891
  output: {
1826
1892
  skills: {
1827
1893
  name: string;
@@ -1836,6 +1902,23 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1836
1902
  outputFormat: "json";
1837
1903
  status: 200;
1838
1904
  input: {};
1905
+ };
1906
+ };
1907
+ } & {
1908
+ "/v1/skills/:name": {
1909
+ $get: {
1910
+ output: {
1911
+ error: string;
1912
+ code: string;
1913
+ remediation?: string | undefined;
1914
+ };
1915
+ outputFormat: "json";
1916
+ status: 404;
1917
+ input: {
1918
+ param: {
1919
+ name: string;
1920
+ };
1921
+ };
1839
1922
  } | {
1840
1923
  output: {
1841
1924
  error: string;
@@ -1844,7 +1927,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1844
1927
  };
1845
1928
  outputFormat: "json";
1846
1929
  status: 500;
1847
- input: {};
1930
+ input: {
1931
+ param: {
1932
+ name: string;
1933
+ };
1934
+ };
1848
1935
  } | {
1849
1936
  output: {
1850
1937
  error: string;
@@ -1853,12 +1940,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1853
1940
  };
1854
1941
  outputFormat: "json";
1855
1942
  status: 503;
1856
- input: {};
1857
- };
1858
- };
1859
- } & {
1860
- "/v1/skills/:name": {
1861
- $get: {
1943
+ input: {
1944
+ param: {
1945
+ name: string;
1946
+ };
1947
+ };
1948
+ } | {
1862
1949
  output: {
1863
1950
  name: string;
1864
1951
  description: string;
@@ -1877,17 +1964,22 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1877
1964
  name: string;
1878
1965
  };
1879
1966
  };
1880
- } | {
1967
+ };
1968
+ };
1969
+ } & {
1970
+ "/v1/episode-summaries": {
1971
+ $get: {
1881
1972
  output: {
1882
1973
  error: string;
1883
1974
  code: string;
1884
1975
  remediation?: string | undefined;
1885
1976
  };
1886
1977
  outputFormat: "json";
1887
- status: 404;
1978
+ status: 400;
1888
1979
  input: {
1889
- param: {
1890
- name: string;
1980
+ query: {
1981
+ limit?: unknown;
1982
+ cursor?: string | undefined;
1891
1983
  };
1892
1984
  };
1893
1985
  } | {
@@ -1899,8 +1991,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1899
1991
  outputFormat: "json";
1900
1992
  status: 500;
1901
1993
  input: {
1902
- param: {
1903
- name: string;
1994
+ query: {
1995
+ limit?: unknown;
1996
+ cursor?: string | undefined;
1904
1997
  };
1905
1998
  };
1906
1999
  } | {
@@ -1912,93 +2005,65 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1912
2005
  outputFormat: "json";
1913
2006
  status: 503;
1914
2007
  input: {
1915
- param: {
1916
- name: string;
2008
+ query: {
2009
+ limit?: unknown;
2010
+ cursor?: string | undefined;
1917
2011
  };
1918
2012
  };
1919
- };
1920
- };
1921
- } & {
1922
- "/v1/provider-types": {
1923
- $get: {
1924
- output: {
1925
- providerTypes: {
1926
- displayName: string;
1927
- description: string;
1928
- logoSvg?: string | undefined;
1929
- documentationUrl?: string | undefined;
1930
- capabilities: {
1931
- modelDiscovery: boolean;
1932
- voiceDiscovery: boolean;
1933
- voicePreview: boolean;
1934
- connectivityTest: boolean;
1935
- customModels: boolean;
1936
- };
1937
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
1938
- settingsSchema: {
1939
- [x: string]: import("hono/utils/types").JSONValue;
1940
- };
1941
- }[];
1942
- };
1943
- outputFormat: "json";
1944
- status: 200;
1945
- input: {};
1946
- };
1947
- };
1948
- } & {
1949
- "/v1/provider-types/:type/can-add": {
1950
- $post: {
2013
+ } | {
1951
2014
  output: {
1952
- ok: boolean;
1953
- code?: string | undefined;
1954
- message?: string | undefined;
1955
- provider?: {
1956
- id: string;
1957
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
1958
- metadata: {
1959
- displayName: string;
1960
- description: string;
1961
- logoSvg?: string | undefined;
1962
- documentationUrl?: string | undefined;
1963
- capabilities: {
1964
- modelDiscovery: boolean;
1965
- voiceDiscovery: boolean;
1966
- voicePreview: boolean;
1967
- connectivityTest: boolean;
1968
- customModels: boolean;
1969
- };
1970
- };
1971
- settings: {
1972
- [x: string]: import("hono/utils/types").JSONValue;
1973
- };
1974
- operations: {
1975
- update: {
1976
- available: boolean;
1977
- code?: string | undefined;
1978
- message?: string | undefined;
1979
- remediation?: string | undefined;
1980
- };
1981
- remove: {
1982
- available: boolean;
1983
- code?: string | undefined;
1984
- message?: string | undefined;
1985
- remediation?: string | undefined;
1986
- };
1987
- };
1988
- } | undefined;
2015
+ summaries: {
2016
+ episodeId: string;
2017
+ title: string;
2018
+ startedAt: string;
2019
+ endedAt: string;
2020
+ createdAt: string;
2021
+ }[];
2022
+ nextCursor: string | null;
2023
+ hasMore: boolean;
1989
2024
  };
1990
2025
  outputFormat: "json";
1991
2026
  status: 200;
1992
2027
  input: {
1993
- param: {
1994
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
1995
- };
1996
- } & {
1997
- json: {
1998
- settings: Record<string, unknown>;
2028
+ query: {
2029
+ limit?: unknown;
2030
+ cursor?: string | undefined;
1999
2031
  };
2000
2032
  };
2001
- } | {
2033
+ };
2034
+ };
2035
+ } & {
2036
+ "/v1/provider-types": {
2037
+ $get: {
2038
+ output: {
2039
+ providerTypes: {
2040
+ displayName: string;
2041
+ description: string;
2042
+ logoSvg?: string | undefined;
2043
+ documentationUrl?: string | undefined;
2044
+ capabilities: {
2045
+ modelDiscovery: boolean;
2046
+ voiceDiscovery: boolean;
2047
+ voicePreview: boolean;
2048
+ connectivityTest: boolean;
2049
+ customModels: boolean;
2050
+ generation: boolean;
2051
+ evaluation: boolean;
2052
+ };
2053
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2054
+ settingsSchema: {
2055
+ [x: string]: import("hono/utils/types").JSONValue;
2056
+ };
2057
+ }[];
2058
+ };
2059
+ outputFormat: "json";
2060
+ status: 200;
2061
+ input: {};
2062
+ };
2063
+ };
2064
+ } & {
2065
+ "/v1/provider-types/:type/can-add": {
2066
+ $post: {
2002
2067
  output: {
2003
2068
  error: string;
2004
2069
  code: string;
@@ -2008,7 +2073,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2008
2073
  status: 400;
2009
2074
  input: {
2010
2075
  param: {
2011
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2076
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2012
2077
  };
2013
2078
  } & {
2014
2079
  json: {
@@ -2025,22 +2090,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2025
2090
  status: 500;
2026
2091
  input: {
2027
2092
  param: {
2028
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2093
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2029
2094
  };
2030
2095
  } & {
2031
2096
  json: {
2032
2097
  settings: Record<string, unknown>;
2033
2098
  };
2034
2099
  };
2035
- };
2036
- };
2037
- } & {
2038
- "/v1/providers": {
2039
- $get: {
2100
+ } | {
2040
2101
  output: {
2041
- providers: {
2102
+ ok: boolean;
2103
+ code?: string | undefined;
2104
+ message?: string | undefined;
2105
+ provider?: {
2042
2106
  id: string;
2043
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2107
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2044
2108
  metadata: {
2045
2109
  displayName: string;
2046
2110
  description: string;
@@ -2052,6 +2116,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2052
2116
  voicePreview: boolean;
2053
2117
  connectivityTest: boolean;
2054
2118
  customModels: boolean;
2119
+ generation: boolean;
2120
+ evaluation: boolean;
2055
2121
  };
2056
2122
  };
2057
2123
  settings: {
@@ -2071,23 +2137,28 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2071
2137
  remediation?: string | undefined;
2072
2138
  };
2073
2139
  };
2074
- }[];
2140
+ } | undefined;
2075
2141
  };
2076
2142
  outputFormat: "json";
2077
2143
  status: 200;
2078
- input: {};
2144
+ input: {
2145
+ param: {
2146
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2147
+ };
2148
+ } & {
2149
+ json: {
2150
+ settings: Record<string, unknown>;
2151
+ };
2152
+ };
2079
2153
  };
2080
2154
  };
2081
2155
  } & {
2082
2156
  "/v1/providers": {
2083
- $post: {
2157
+ $get: {
2084
2158
  output: {
2085
- ok: boolean;
2086
- code?: string | undefined;
2087
- message?: string | undefined;
2088
- provider?: {
2159
+ providers: {
2089
2160
  id: string;
2090
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2161
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2091
2162
  metadata: {
2092
2163
  displayName: string;
2093
2164
  description: string;
@@ -2099,6 +2170,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2099
2170
  voicePreview: boolean;
2100
2171
  connectivityTest: boolean;
2101
2172
  customModels: boolean;
2173
+ generation: boolean;
2174
+ evaluation: boolean;
2102
2175
  };
2103
2176
  };
2104
2177
  settings: {
@@ -2118,18 +2191,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2118
2191
  remediation?: string | undefined;
2119
2192
  };
2120
2193
  };
2121
- } | undefined;
2194
+ }[];
2122
2195
  };
2123
2196
  outputFormat: "json";
2124
- status: 201;
2125
- input: {
2126
- json: {
2127
- id: string;
2128
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2129
- settings: Record<string, unknown>;
2130
- };
2131
- };
2132
- } | {
2197
+ status: 200;
2198
+ input: {};
2199
+ };
2200
+ };
2201
+ } & {
2202
+ "/v1/providers": {
2203
+ $post: {
2133
2204
  output: {
2134
2205
  error: string;
2135
2206
  code: string;
@@ -2140,7 +2211,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2140
2211
  input: {
2141
2212
  json: {
2142
2213
  id: string;
2143
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2214
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2144
2215
  settings: Record<string, unknown>;
2145
2216
  };
2146
2217
  };
@@ -2155,7 +2226,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2155
2226
  input: {
2156
2227
  json: {
2157
2228
  id: string;
2158
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2229
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2159
2230
  settings: Record<string, unknown>;
2160
2231
  };
2161
2232
  };
@@ -2170,22 +2241,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2170
2241
  input: {
2171
2242
  json: {
2172
2243
  id: string;
2173
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2244
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2174
2245
  settings: Record<string, unknown>;
2175
2246
  };
2176
2247
  };
2177
- };
2178
- };
2179
- } & {
2180
- "/v1/providers/:id": {
2181
- $patch: {
2248
+ } | {
2182
2249
  output: {
2183
2250
  ok: boolean;
2184
2251
  code?: string | undefined;
2185
2252
  message?: string | undefined;
2186
2253
  provider?: {
2187
2254
  id: string;
2188
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2255
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2189
2256
  metadata: {
2190
2257
  displayName: string;
2191
2258
  description: string;
@@ -2197,6 +2264,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2197
2264
  voicePreview: boolean;
2198
2265
  connectivityTest: boolean;
2199
2266
  customModels: boolean;
2267
+ generation: boolean;
2268
+ evaluation: boolean;
2200
2269
  };
2201
2270
  };
2202
2271
  settings: {
@@ -2219,17 +2288,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2219
2288
  } | undefined;
2220
2289
  };
2221
2290
  outputFormat: "json";
2222
- status: 200;
2291
+ status: 201;
2223
2292
  input: {
2224
- param: {
2225
- id: string;
2226
- };
2227
- } & {
2228
2293
  json: {
2229
- settings?: Record<string, unknown> | undefined;
2294
+ id: string;
2295
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2296
+ settings: Record<string, unknown>;
2230
2297
  };
2231
2298
  };
2232
- } | {
2299
+ };
2300
+ };
2301
+ } & {
2302
+ "/v1/providers/:id": {
2303
+ $patch: {
2233
2304
  output: {
2234
2305
  error: string;
2235
2306
  code: string;
@@ -2280,18 +2351,14 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2280
2351
  settings?: Record<string, unknown> | undefined;
2281
2352
  };
2282
2353
  };
2283
- };
2284
- };
2285
- } & {
2286
- "/v1/providers/:id": {
2287
- $delete: {
2354
+ } | {
2288
2355
  output: {
2289
2356
  ok: boolean;
2290
2357
  code?: string | undefined;
2291
2358
  message?: string | undefined;
2292
2359
  provider?: {
2293
2360
  id: string;
2294
- type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
2361
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2295
2362
  metadata: {
2296
2363
  displayName: string;
2297
2364
  description: string;
@@ -2303,6 +2370,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2303
2370
  voicePreview: boolean;
2304
2371
  connectivityTest: boolean;
2305
2372
  customModels: boolean;
2373
+ generation: boolean;
2374
+ evaluation: boolean;
2306
2375
  };
2307
2376
  };
2308
2377
  settings: {
@@ -2330,8 +2399,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2330
2399
  param: {
2331
2400
  id: string;
2332
2401
  };
2402
+ } & {
2403
+ json: {
2404
+ settings?: Record<string, unknown> | undefined;
2405
+ };
2333
2406
  };
2334
- } | {
2407
+ };
2408
+ };
2409
+ } & {
2410
+ "/v1/providers/:id": {
2411
+ $delete: {
2335
2412
  output: {
2336
2413
  error: string;
2337
2414
  code: string;
@@ -2383,14 +2460,47 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2383
2460
  id: string;
2384
2461
  };
2385
2462
  };
2386
- };
2387
- };
2388
- } & {
2389
- "/v1/providers/:id/test": {
2390
- $post: {
2463
+ } | {
2391
2464
  output: {
2392
- latencyMs: number;
2393
- target?: string | undefined;
2465
+ ok: boolean;
2466
+ code?: string | undefined;
2467
+ message?: string | undefined;
2468
+ provider?: {
2469
+ id: string;
2470
+ type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
2471
+ metadata: {
2472
+ displayName: string;
2473
+ description: string;
2474
+ logoSvg?: string | undefined;
2475
+ documentationUrl?: string | undefined;
2476
+ capabilities: {
2477
+ modelDiscovery: boolean;
2478
+ voiceDiscovery: boolean;
2479
+ voicePreview: boolean;
2480
+ connectivityTest: boolean;
2481
+ customModels: boolean;
2482
+ generation: boolean;
2483
+ evaluation: boolean;
2484
+ };
2485
+ };
2486
+ settings: {
2487
+ [x: string]: import("hono/utils/types").JSONValue;
2488
+ };
2489
+ operations: {
2490
+ update: {
2491
+ available: boolean;
2492
+ code?: string | undefined;
2493
+ message?: string | undefined;
2494
+ remediation?: string | undefined;
2495
+ };
2496
+ remove: {
2497
+ available: boolean;
2498
+ code?: string | undefined;
2499
+ message?: string | undefined;
2500
+ remediation?: string | undefined;
2501
+ };
2502
+ };
2503
+ } | undefined;
2394
2504
  };
2395
2505
  outputFormat: "json";
2396
2506
  status: 200;
@@ -2399,7 +2509,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2399
2509
  id: string;
2400
2510
  };
2401
2511
  };
2402
- } | {
2512
+ };
2513
+ };
2514
+ } & {
2515
+ "/v1/providers/:id/test": {
2516
+ $post: {
2403
2517
  output: {
2404
2518
  error: string;
2405
2519
  code: string;
@@ -2438,51 +2552,30 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2438
2552
  id: string;
2439
2553
  };
2440
2554
  };
2555
+ } | {
2556
+ output: {
2557
+ latencyMs: number;
2558
+ target?: string | undefined;
2559
+ };
2560
+ outputFormat: "json";
2561
+ status: 200;
2562
+ input: {
2563
+ param: {
2564
+ id: string;
2565
+ };
2566
+ };
2441
2567
  };
2442
2568
  };
2443
2569
  } & {
2444
2570
  "/v1/providers/:id/models": {
2445
2571
  $get: {
2446
2572
  output: {
2447
- models: {
2448
- modelId: string;
2449
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2450
- displayName?: string | undefined;
2451
- contextSize?: number | undefined;
2452
- capabilities?: {
2453
- input?: {
2454
- image?: {
2455
- mediaTypes?: string[] | undefined;
2456
- maxBytes?: number | undefined;
2457
- maxWidth?: number | undefined;
2458
- maxHeight?: number | undefined;
2459
- maxTotalPixels?: number | undefined;
2460
- } | undefined;
2461
- audio?: {
2462
- mediaTypes?: string[] | undefined;
2463
- maxBytes?: number | undefined;
2464
- maxLengthSeconds?: number | undefined;
2465
- } | undefined;
2466
- } | undefined;
2467
- voice?: {
2468
- sts?: boolean | undefined;
2469
- tts?: boolean | undefined;
2470
- stt?: boolean | undefined;
2471
- } | undefined;
2472
- tools?: boolean | undefined;
2473
- reasoning?: boolean | undefined;
2474
- } | undefined;
2475
- createdAt?: string | undefined;
2476
- source: "discovered" | "manual" | "merged";
2477
- provenance?: {
2478
- source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
2479
- documentationUrl?: string | undefined;
2480
- reviewedAt?: string | undefined;
2481
- }[] | undefined;
2482
- }[];
2573
+ error: string;
2574
+ code: string;
2575
+ remediation?: string | undefined;
2483
2576
  };
2484
2577
  outputFormat: "json";
2485
- status: 200;
2578
+ status: 400;
2486
2579
  input: {
2487
2580
  param: {
2488
2581
  id: string;
@@ -2499,7 +2592,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2499
2592
  remediation?: string | undefined;
2500
2593
  };
2501
2594
  outputFormat: "json";
2502
- status: 400;
2595
+ status: 404;
2503
2596
  input: {
2504
2597
  param: {
2505
2598
  id: string;
@@ -2516,7 +2609,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2516
2609
  remediation?: string | undefined;
2517
2610
  };
2518
2611
  outputFormat: "json";
2519
- status: 404;
2612
+ status: 500;
2520
2613
  input: {
2521
2614
  param: {
2522
2615
  id: string;
@@ -2528,12 +2621,45 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2528
2621
  };
2529
2622
  } | {
2530
2623
  output: {
2531
- error: string;
2532
- code: string;
2533
- remediation?: string | undefined;
2624
+ models: {
2625
+ modelId: string;
2626
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2627
+ displayName?: string | undefined;
2628
+ contextSize?: number | undefined;
2629
+ capabilities?: {
2630
+ input?: {
2631
+ image?: {
2632
+ mediaTypes?: string[] | undefined;
2633
+ maxBytes?: number | undefined;
2634
+ maxWidth?: number | undefined;
2635
+ maxHeight?: number | undefined;
2636
+ maxTotalPixels?: number | undefined;
2637
+ } | undefined;
2638
+ audio?: {
2639
+ mediaTypes?: string[] | undefined;
2640
+ maxBytes?: number | undefined;
2641
+ maxLengthSeconds?: number | undefined;
2642
+ } | undefined;
2643
+ } | undefined;
2644
+ voice?: {
2645
+ sts?: boolean | undefined;
2646
+ tts?: boolean | undefined;
2647
+ stt?: boolean | undefined;
2648
+ } | undefined;
2649
+ tools?: boolean | undefined;
2650
+ reasoning?: boolean | undefined;
2651
+ } | undefined;
2652
+ createdAt?: string | undefined;
2653
+ source: "discovered" | "manual" | "merged";
2654
+ provenance?: {
2655
+ source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
2656
+ documentationUrl?: string | undefined;
2657
+ reviewedAt?: string | undefined;
2658
+ }[] | undefined;
2659
+ }[];
2534
2660
  };
2535
2661
  outputFormat: "json";
2536
- status: 500;
2662
+ status: 200;
2537
2663
  input: {
2538
2664
  param: {
2539
2665
  id: string;
@@ -2549,17 +2675,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2549
2675
  "/v1/providers/:id/voices": {
2550
2676
  $get: {
2551
2677
  output: {
2552
- defaultVoiceId?: string | undefined;
2553
- stale?: boolean | undefined;
2554
- voices: {
2555
- voiceId: string;
2556
- displayName: string;
2557
- description?: string | undefined;
2558
- isPreviewAvailable: boolean;
2559
- }[];
2678
+ error: string;
2679
+ code: string;
2680
+ remediation?: string | undefined;
2560
2681
  };
2561
2682
  outputFormat: "json";
2562
- status: 200;
2683
+ status: 400;
2563
2684
  input: {
2564
2685
  param: {
2565
2686
  id: string;
@@ -2577,7 +2698,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2577
2698
  remediation?: string | undefined;
2578
2699
  };
2579
2700
  outputFormat: "json";
2580
- status: 400;
2701
+ status: 404;
2581
2702
  input: {
2582
2703
  param: {
2583
2704
  id: string;
@@ -2595,7 +2716,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2595
2716
  remediation?: string | undefined;
2596
2717
  };
2597
2718
  outputFormat: "json";
2598
- status: 404;
2719
+ status: 429;
2599
2720
  input: {
2600
2721
  param: {
2601
2722
  id: string;
@@ -2613,7 +2734,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2613
2734
  remediation?: string | undefined;
2614
2735
  };
2615
2736
  outputFormat: "json";
2616
- status: 429;
2737
+ status: 500;
2617
2738
  input: {
2618
2739
  param: {
2619
2740
  id: string;
@@ -2631,7 +2752,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2631
2752
  remediation?: string | undefined;
2632
2753
  };
2633
2754
  outputFormat: "json";
2634
- status: 500;
2755
+ status: 502;
2635
2756
  input: {
2636
2757
  param: {
2637
2758
  id: string;
@@ -2644,12 +2765,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2644
2765
  };
2645
2766
  } | {
2646
2767
  output: {
2647
- error: string;
2648
- code: string;
2649
- remediation?: string | undefined;
2768
+ defaultVoiceId?: string | undefined;
2769
+ stale?: boolean | undefined;
2770
+ voices: {
2771
+ voiceId: string;
2772
+ displayName: string;
2773
+ description?: string | undefined;
2774
+ isPreviewAvailable: boolean;
2775
+ }[];
2650
2776
  };
2651
2777
  outputFormat: "json";
2652
- status: 502;
2778
+ status: 200;
2653
2779
  input: {
2654
2780
  param: {
2655
2781
  id: string;
@@ -2773,82 +2899,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2773
2899
  } & {
2774
2900
  "/v1/providers/:id/models": {
2775
2901
  $post: {
2776
- output: {
2777
- models: {
2778
- modelId: string;
2779
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2780
- displayName?: string | undefined;
2781
- contextSize?: number | undefined;
2782
- capabilities?: {
2783
- input?: {
2784
- image?: {
2785
- mediaTypes?: string[] | undefined;
2786
- maxBytes?: number | undefined;
2787
- maxWidth?: number | undefined;
2788
- maxHeight?: number | undefined;
2789
- maxTotalPixels?: number | undefined;
2790
- } | undefined;
2791
- audio?: {
2792
- mediaTypes?: string[] | undefined;
2793
- maxBytes?: number | undefined;
2794
- maxLengthSeconds?: number | undefined;
2795
- } | undefined;
2796
- } | undefined;
2797
- voice?: {
2798
- sts?: boolean | undefined;
2799
- tts?: boolean | undefined;
2800
- stt?: boolean | undefined;
2801
- } | undefined;
2802
- tools?: boolean | undefined;
2803
- reasoning?: boolean | undefined;
2804
- } | undefined;
2805
- createdAt?: string | undefined;
2806
- source: "discovered" | "manual" | "merged";
2807
- provenance?: {
2808
- source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
2809
- documentationUrl?: string | undefined;
2810
- reviewedAt?: string | undefined;
2811
- }[] | undefined;
2812
- }[];
2813
- };
2814
- outputFormat: "json";
2815
- status: 200;
2816
- input: {
2817
- param: {
2818
- id: string;
2819
- };
2820
- } & {
2821
- json: {
2822
- modelId: string;
2823
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2824
- displayName?: string | undefined;
2825
- contextSize?: number | undefined;
2826
- capabilities?: {
2827
- input?: {
2828
- image?: {
2829
- mediaTypes?: string[] | undefined;
2830
- maxBytes?: number | undefined;
2831
- maxWidth?: number | undefined;
2832
- maxHeight?: number | undefined;
2833
- maxTotalPixels?: number | undefined;
2834
- } | undefined;
2835
- audio?: {
2836
- mediaTypes?: string[] | undefined;
2837
- maxBytes?: number | undefined;
2838
- maxLengthSeconds?: number | undefined;
2839
- } | undefined;
2840
- } | undefined;
2841
- voice?: {
2842
- sts?: boolean | undefined;
2843
- tts?: boolean | undefined;
2844
- stt?: boolean | undefined;
2845
- } | undefined;
2846
- tools?: boolean | undefined;
2847
- reasoning?: boolean | undefined;
2848
- } | undefined;
2849
- };
2850
- };
2851
- } | {
2852
2902
  output: {
2853
2903
  error: string;
2854
2904
  code: string;
@@ -2863,7 +2913,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2863
2913
  } & {
2864
2914
  json: {
2865
2915
  modelId: string;
2866
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2916
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2867
2917
  displayName?: string | undefined;
2868
2918
  contextSize?: number | undefined;
2869
2919
  capabilities?: {
@@ -2906,7 +2956,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2906
2956
  } & {
2907
2957
  json: {
2908
2958
  modelId: string;
2909
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2959
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2910
2960
  displayName?: string | undefined;
2911
2961
  contextSize?: number | undefined;
2912
2962
  capabilities?: {
@@ -2949,7 +2999,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2949
2999
  } & {
2950
3000
  json: {
2951
3001
  modelId: string;
2952
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3002
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2953
3003
  displayName?: string | undefined;
2954
3004
  contextSize?: number | undefined;
2955
3005
  capabilities?: {
@@ -2992,7 +3042,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2992
3042
  } & {
2993
3043
  json: {
2994
3044
  modelId: string;
2995
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3045
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
2996
3046
  displayName?: string | undefined;
2997
3047
  contextSize?: number | undefined;
2998
3048
  capabilities?: {
@@ -3020,15 +3070,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3020
3070
  } | undefined;
3021
3071
  };
3022
3072
  };
3023
- };
3024
- };
3025
- } & {
3026
- "/v1/providers/:id/models/:modelId": {
3027
- $patch: {
3073
+ } | {
3028
3074
  output: {
3029
3075
  models: {
3030
3076
  modelId: string;
3031
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3077
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3032
3078
  displayName?: string | undefined;
3033
3079
  contextSize?: number | undefined;
3034
3080
  capabilities?: {
@@ -3068,11 +3114,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3068
3114
  input: {
3069
3115
  param: {
3070
3116
  id: string;
3071
- modelId: string;
3072
3117
  };
3073
3118
  } & {
3074
3119
  json: {
3075
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3120
+ modelId: string;
3121
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3076
3122
  displayName?: string | undefined;
3077
3123
  contextSize?: number | undefined;
3078
3124
  capabilities?: {
@@ -3100,7 +3146,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3100
3146
  } | undefined;
3101
3147
  };
3102
3148
  };
3103
- } | {
3149
+ };
3150
+ };
3151
+ } & {
3152
+ "/v1/providers/:id/models/:modelId": {
3153
+ $patch: {
3104
3154
  output: {
3105
3155
  error: string;
3106
3156
  code: string;
@@ -3115,7 +3165,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3115
3165
  };
3116
3166
  } & {
3117
3167
  json: {
3118
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3168
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3119
3169
  displayName?: string | undefined;
3120
3170
  contextSize?: number | undefined;
3121
3171
  capabilities?: {
@@ -3158,7 +3208,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3158
3208
  };
3159
3209
  } & {
3160
3210
  json: {
3161
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3211
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3162
3212
  displayName?: string | undefined;
3163
3213
  contextSize?: number | undefined;
3164
3214
  capabilities?: {
@@ -3201,7 +3251,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3201
3251
  };
3202
3252
  } & {
3203
3253
  json: {
3204
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3254
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3205
3255
  displayName?: string | undefined;
3206
3256
  contextSize?: number | undefined;
3207
3257
  capabilities?: {
@@ -3229,15 +3279,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3229
3279
  } | undefined;
3230
3280
  };
3231
3281
  };
3232
- };
3233
- };
3234
- } & {
3235
- "/v1/providers/:id/models/:modelId": {
3236
- $delete: {
3282
+ } | {
3237
3283
  output: {
3238
3284
  models: {
3239
3285
  modelId: string;
3240
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3286
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3241
3287
  displayName?: string | undefined;
3242
3288
  contextSize?: number | undefined;
3243
3289
  capabilities?: {
@@ -3279,8 +3325,41 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3279
3325
  id: string;
3280
3326
  modelId: string;
3281
3327
  };
3328
+ } & {
3329
+ json: {
3330
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3331
+ displayName?: string | undefined;
3332
+ contextSize?: number | undefined;
3333
+ capabilities?: {
3334
+ input?: {
3335
+ image?: {
3336
+ mediaTypes?: string[] | undefined;
3337
+ maxBytes?: number | undefined;
3338
+ maxWidth?: number | undefined;
3339
+ maxHeight?: number | undefined;
3340
+ maxTotalPixels?: number | undefined;
3341
+ } | undefined;
3342
+ audio?: {
3343
+ mediaTypes?: string[] | undefined;
3344
+ maxBytes?: number | undefined;
3345
+ maxLengthSeconds?: number | undefined;
3346
+ } | undefined;
3347
+ } | undefined;
3348
+ voice?: {
3349
+ sts?: boolean | undefined;
3350
+ tts?: boolean | undefined;
3351
+ stt?: boolean | undefined;
3352
+ } | undefined;
3353
+ tools?: boolean | undefined;
3354
+ reasoning?: boolean | undefined;
3355
+ } | undefined;
3356
+ };
3282
3357
  };
3283
- } | {
3358
+ };
3359
+ };
3360
+ } & {
3361
+ "/v1/providers/:id/models/:modelId": {
3362
+ $delete: {
3284
3363
  output: {
3285
3364
  error: string;
3286
3365
  code: string;
@@ -3336,30 +3415,58 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3336
3415
  modelId: string;
3337
3416
  };
3338
3417
  };
3339
- };
3340
- };
3341
- } & {
3342
- "/v1/introspect/:path": {
3343
- $get: {
3418
+ } | {
3344
3419
  output: {
3345
- path: string[];
3346
- state: {
3347
- [x: string]: import("hono/utils/types").JSONValue;
3348
- } | null;
3349
- children: {
3350
- id: string;
3351
- hasState: boolean;
3352
- hasChildren: boolean;
3420
+ models: {
3421
+ modelId: string;
3422
+ kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3423
+ displayName?: string | undefined;
3424
+ contextSize?: number | undefined;
3425
+ capabilities?: {
3426
+ input?: {
3427
+ image?: {
3428
+ mediaTypes?: string[] | undefined;
3429
+ maxBytes?: number | undefined;
3430
+ maxWidth?: number | undefined;
3431
+ maxHeight?: number | undefined;
3432
+ maxTotalPixels?: number | undefined;
3433
+ } | undefined;
3434
+ audio?: {
3435
+ mediaTypes?: string[] | undefined;
3436
+ maxBytes?: number | undefined;
3437
+ maxLengthSeconds?: number | undefined;
3438
+ } | undefined;
3439
+ } | undefined;
3440
+ voice?: {
3441
+ sts?: boolean | undefined;
3442
+ tts?: boolean | undefined;
3443
+ stt?: boolean | undefined;
3444
+ } | undefined;
3445
+ tools?: boolean | undefined;
3446
+ reasoning?: boolean | undefined;
3447
+ } | undefined;
3448
+ createdAt?: string | undefined;
3449
+ source: "discovered" | "manual" | "merged";
3450
+ provenance?: {
3451
+ source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
3452
+ documentationUrl?: string | undefined;
3453
+ reviewedAt?: string | undefined;
3454
+ }[] | undefined;
3353
3455
  }[];
3354
3456
  };
3355
3457
  outputFormat: "json";
3356
3458
  status: 200;
3357
3459
  input: {
3358
3460
  param: {
3359
- path: string;
3461
+ id: string;
3462
+ modelId: string;
3360
3463
  };
3361
3464
  };
3362
- } | {
3465
+ };
3466
+ };
3467
+ } & {
3468
+ "/v1/introspect/:path": {
3469
+ $get: {
3363
3470
  output: {
3364
3471
  error: string;
3365
3472
  code: string;
@@ -3398,6 +3505,25 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3398
3505
  path: string;
3399
3506
  };
3400
3507
  };
3508
+ } | {
3509
+ output: {
3510
+ path: string[];
3511
+ state: {
3512
+ [x: string]: import("hono/utils/types").JSONValue;
3513
+ } | null;
3514
+ children: {
3515
+ id: string;
3516
+ hasState: boolean;
3517
+ hasChildren: boolean;
3518
+ }[];
3519
+ };
3520
+ outputFormat: "json";
3521
+ status: 200;
3522
+ input: {
3523
+ param: {
3524
+ path: string;
3525
+ };
3526
+ };
3401
3527
  };
3402
3528
  };
3403
3529
  }, "/", "/v1/introspect/:path">;