@klex/agent-admin-api 0.11.0 → 0.11.2

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 (3) hide show
  1. package/README.md +2 -2
  2. package/dist/index.d.ts +695 -707
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -41,12 +41,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
41
41
  "/v1/cloud/enroll": {
42
42
  $post: {
43
43
  output: {
44
- error: string;
45
- code: string;
46
- remediation?: string | undefined;
44
+ clientId: string;
45
+ enrolledAt: string;
47
46
  };
48
47
  outputFormat: "json";
49
- status: 400;
48
+ status: 200;
50
49
  input: {
51
50
  json: {
52
51
  enrollmentCode: string;
@@ -59,7 +58,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
59
58
  remediation?: string | undefined;
60
59
  };
61
60
  outputFormat: "json";
62
- status: 500;
61
+ status: 400;
63
62
  input: {
64
63
  json: {
65
64
  enrollmentCode: string;
@@ -67,11 +66,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
67
66
  };
68
67
  } | {
69
68
  output: {
70
- clientId: string;
71
- enrolledAt: string;
69
+ error: string;
70
+ code: string;
71
+ remediation?: string | undefined;
72
72
  };
73
73
  outputFormat: "json";
74
- status: 200;
74
+ status: 500;
75
75
  input: {
76
76
  json: {
77
77
  enrollmentCode: string;
@@ -94,12 +94,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
94
94
  "/v1/settings/agent": {
95
95
  $patch: {
96
96
  output: {
97
- error: string;
98
- code: string;
99
- remediation?: string | undefined;
97
+ officialName: string;
100
98
  };
101
99
  outputFormat: "json";
102
- status: 400;
100
+ status: 200;
103
101
  input: {
104
102
  json: {
105
103
  officialName: string;
@@ -112,7 +110,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
112
110
  remediation?: string | undefined;
113
111
  };
114
112
  outputFormat: "json";
115
- status: 500;
113
+ status: 400;
116
114
  input: {
117
115
  json: {
118
116
  officialName: string;
@@ -120,10 +118,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
120
118
  };
121
119
  } | {
122
120
  output: {
123
- officialName: string;
121
+ error: string;
122
+ code: string;
123
+ remediation?: string | undefined;
124
124
  };
125
125
  outputFormat: "json";
126
- status: 200;
126
+ status: 500;
127
127
  input: {
128
128
  json: {
129
129
  officialName: string;
@@ -134,15 +134,6 @@ 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
- } | {
146
137
  output: {
147
138
  chat: {
148
139
  providerId: string;
@@ -232,18 +223,112 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
232
223
  outputFormat: "json";
233
224
  status: 200;
234
225
  input: {};
226
+ } | {
227
+ output: {
228
+ error: string;
229
+ code: string;
230
+ remediation?: string | undefined;
231
+ };
232
+ outputFormat: "json";
233
+ status: 500;
234
+ input: {};
235
235
  };
236
236
  };
237
237
  } & {
238
238
  "/v1/settings/model-selection": {
239
239
  $patch: {
240
240
  output: {
241
- error: string;
242
- code: string;
243
- remediation?: string | undefined;
241
+ chat: {
242
+ providerId: string;
243
+ modelId: string;
244
+ providerOptions?: {
245
+ [x: string]: {
246
+ [x: string]: import("hono/utils/types").JSONValue;
247
+ };
248
+ } | undefined;
249
+ }[];
250
+ compaction: {
251
+ providerId: string;
252
+ modelId: string;
253
+ providerOptions?: {
254
+ [x: string]: {
255
+ [x: string]: import("hono/utils/types").JSONValue;
256
+ };
257
+ } | undefined;
258
+ }[];
259
+ memory: {
260
+ providerId: string;
261
+ modelId: string;
262
+ providerOptions?: {
263
+ [x: string]: {
264
+ [x: string]: import("hono/utils/types").JSONValue;
265
+ };
266
+ } | undefined;
267
+ }[];
268
+ imageVision: {
269
+ providerId: string;
270
+ modelId: string;
271
+ providerOptions?: {
272
+ [x: string]: {
273
+ [x: string]: import("hono/utils/types").JSONValue;
274
+ };
275
+ } | undefined;
276
+ }[];
277
+ audioListening: {
278
+ providerId: string;
279
+ modelId: string;
280
+ providerOptions?: {
281
+ [x: string]: {
282
+ [x: string]: import("hono/utils/types").JSONValue;
283
+ };
284
+ } | undefined;
285
+ }[];
286
+ consult: {
287
+ providerId: string;
288
+ modelId: string;
289
+ providerOptions?: {
290
+ [x: string]: {
291
+ [x: string]: import("hono/utils/types").JSONValue;
292
+ };
293
+ } | undefined;
294
+ }[];
295
+ voice: {
296
+ sts: {
297
+ providerId: string;
298
+ modelId: string;
299
+ providerOptions?: {
300
+ [x: string]: {
301
+ [x: string]: import("hono/utils/types").JSONValue;
302
+ };
303
+ } | undefined;
304
+ voiceId?: string | undefined;
305
+ }[];
306
+ tts: {
307
+ providerId: string;
308
+ modelId: string;
309
+ providerOptions?: {
310
+ [x: string]: {
311
+ [x: string]: import("hono/utils/types").JSONValue;
312
+ };
313
+ } | undefined;
314
+ }[];
315
+ stt: {
316
+ providerId: string;
317
+ modelId: string;
318
+ providerOptions?: {
319
+ [x: string]: {
320
+ [x: string]: import("hono/utils/types").JSONValue;
321
+ };
322
+ } | undefined;
323
+ }[];
324
+ };
325
+ warnings: {
326
+ modelId: string;
327
+ message: string;
328
+ }[];
244
329
  };
245
330
  outputFormat: "json";
246
- status: 400;
331
+ status: 200;
247
332
  input: {
248
333
  json: {
249
334
  chat?: {
@@ -303,7 +388,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
303
388
  remediation?: string | undefined;
304
389
  };
305
390
  outputFormat: "json";
306
- status: 500;
391
+ status: 400;
307
392
  input: {
308
393
  json: {
309
394
  chat?: {
@@ -358,97 +443,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
358
443
  };
359
444
  } | {
360
445
  output: {
361
- chat: {
362
- providerId: string;
363
- modelId: string;
364
- providerOptions?: {
365
- [x: string]: {
366
- [x: string]: import("hono/utils/types").JSONValue;
367
- };
368
- } | undefined;
369
- }[];
370
- compaction: {
371
- providerId: string;
372
- modelId: string;
373
- providerOptions?: {
374
- [x: string]: {
375
- [x: string]: import("hono/utils/types").JSONValue;
376
- };
377
- } | undefined;
378
- }[];
379
- memory: {
380
- providerId: string;
381
- modelId: string;
382
- providerOptions?: {
383
- [x: string]: {
384
- [x: string]: import("hono/utils/types").JSONValue;
385
- };
386
- } | undefined;
387
- }[];
388
- imageVision: {
389
- providerId: string;
390
- modelId: string;
391
- providerOptions?: {
392
- [x: string]: {
393
- [x: string]: import("hono/utils/types").JSONValue;
394
- };
395
- } | undefined;
396
- }[];
397
- audioListening: {
398
- providerId: string;
399
- modelId: string;
400
- providerOptions?: {
401
- [x: string]: {
402
- [x: string]: import("hono/utils/types").JSONValue;
403
- };
404
- } | undefined;
405
- }[];
406
- consult: {
407
- providerId: string;
408
- modelId: string;
409
- providerOptions?: {
410
- [x: string]: {
411
- [x: string]: import("hono/utils/types").JSONValue;
412
- };
413
- } | undefined;
414
- }[];
415
- voice: {
416
- sts: {
417
- providerId: string;
418
- modelId: string;
419
- providerOptions?: {
420
- [x: string]: {
421
- [x: string]: import("hono/utils/types").JSONValue;
422
- };
423
- } | undefined;
424
- voiceId?: string | undefined;
425
- }[];
426
- tts: {
427
- providerId: string;
428
- modelId: string;
429
- providerOptions?: {
430
- [x: string]: {
431
- [x: string]: import("hono/utils/types").JSONValue;
432
- };
433
- } | undefined;
434
- }[];
435
- stt: {
436
- providerId: string;
437
- modelId: string;
438
- providerOptions?: {
439
- [x: string]: {
440
- [x: string]: import("hono/utils/types").JSONValue;
441
- };
442
- } | undefined;
443
- }[];
444
- };
445
- warnings: {
446
- modelId: string;
447
- message: string;
448
- }[];
446
+ error: string;
447
+ code: string;
448
+ remediation?: string | undefined;
449
449
  };
450
450
  outputFormat: "json";
451
- status: 200;
451
+ status: 500;
452
452
  input: {
453
453
  json: {
454
454
  chat?: {
@@ -517,15 +517,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
517
517
  } & {
518
518
  "/v1/introspect": {
519
519
  $get: {
520
- output: {
521
- error: string;
522
- code: string;
523
- remediation?: string | undefined;
524
- };
525
- outputFormat: "json";
526
- status: 500;
527
- input: {};
528
- } | {
529
520
  output: {
530
521
  path: string[];
531
522
  state: {
@@ -540,11 +531,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
540
531
  outputFormat: "json";
541
532
  status: 200;
542
533
  input: {};
543
- };
544
- };
545
- } & {
546
- "/v1/mcp-servers": {
547
- $get: {
534
+ } | {
548
535
  output: {
549
536
  error: string;
550
537
  code: string;
@@ -553,11 +540,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
553
540
  outputFormat: "json";
554
541
  status: 500;
555
542
  input: {};
556
- } | {
557
- output: {
558
- servers: {
559
- name: string;
560
- status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
543
+ };
544
+ };
545
+ } & {
546
+ "/v1/mcp-servers": {
547
+ $get: {
548
+ output: {
549
+ servers: {
550
+ name: string;
551
+ status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
561
552
  toolCount: number;
562
553
  supportsPushNotifications: boolean;
563
554
  supportsRealtimeMedia: boolean;
@@ -580,11 +571,51 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
580
571
  outputFormat: "json";
581
572
  status: 200;
582
573
  input: {};
574
+ } | {
575
+ output: {
576
+ error: string;
577
+ code: string;
578
+ remediation?: string | undefined;
579
+ };
580
+ outputFormat: "json";
581
+ status: 500;
582
+ input: {};
583
583
  };
584
584
  };
585
585
  } & {
586
586
  "/v1/mcp-servers/:name": {
587
587
  $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
+ } | {
588
619
  output: {
589
620
  error: string;
590
621
  code: string;
@@ -610,9 +641,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
610
641
  name: string;
611
642
  };
612
643
  };
613
- } | {
644
+ };
645
+ };
646
+ } & {
647
+ "/v1/mcp-servers": {
648
+ $post: {
614
649
  output: {
615
- server: {
650
+ servers: {
616
651
  name: string;
617
652
  status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
618
653
  toolCount: number;
@@ -632,20 +667,31 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
632
667
  at: string;
633
668
  } | null;
634
669
  nextRetryAt: string | null;
635
- };
670
+ }[];
636
671
  };
637
672
  outputFormat: "json";
638
- status: 200;
673
+ status: 201;
639
674
  input: {
640
- param: {
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
+ } | {
641
685
  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;
642
692
  };
643
693
  };
644
- };
645
- };
646
- } & {
647
- "/v1/mcp-servers": {
648
- $post: {
694
+ } | {
649
695
  output: {
650
696
  error: string;
651
697
  code: string;
@@ -729,7 +775,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
729
775
  } | undefined;
730
776
  };
731
777
  };
732
- } | {
778
+ };
779
+ };
780
+ } & {
781
+ "/v1/mcp-servers/:name": {
782
+ $patch: {
733
783
  output: {
734
784
  servers: {
735
785
  name: string;
@@ -754,10 +804,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
754
804
  }[];
755
805
  };
756
806
  outputFormat: "json";
757
- status: 201;
807
+ status: 200;
758
808
  input: {
759
- json: {
809
+ param: {
760
810
  name: string;
811
+ };
812
+ } & {
813
+ json: {
761
814
  type?: "stdio" | undefined;
762
815
  command: string;
763
816
  args?: string[] | undefined;
@@ -766,20 +819,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
766
819
  pin: string;
767
820
  } | undefined;
768
821
  } | {
769
- name: string;
770
822
  type?: "http" | "streamable-http" | undefined;
771
- url: string;
772
- headers?: Record<string, string> | undefined;
823
+ url?: string | undefined;
824
+ headerUpdates?: Record<string, string | null> | undefined;
773
825
  versionNegotiation?: "auto" | "legacy" | {
774
826
  pin: string;
775
827
  } | undefined;
776
828
  };
777
829
  };
778
- };
779
- };
780
- } & {
781
- "/v1/mcp-servers/:name": {
782
- $patch: {
830
+ } | {
783
831
  output: {
784
832
  error: string;
785
833
  code: string;
@@ -869,7 +917,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
869
917
  } | undefined;
870
918
  };
871
919
  };
872
- } | {
920
+ };
921
+ };
922
+ } & {
923
+ "/v1/mcp-servers/:name": {
924
+ $delete: {
873
925
  output: {
874
926
  servers: {
875
927
  name: string;
@@ -899,29 +951,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
899
951
  param: {
900
952
  name: string;
901
953
  };
902
- } & {
903
- json: {
904
- type?: "stdio" | undefined;
905
- command: string;
906
- args?: string[] | undefined;
907
- env?: Record<string, string> | undefined;
908
- versionNegotiation?: "auto" | "legacy" | {
909
- pin: string;
910
- } | undefined;
911
- } | {
912
- type?: "http" | "streamable-http" | undefined;
913
- url?: string | undefined;
914
- headerUpdates?: Record<string, string | null> | undefined;
915
- versionNegotiation?: "auto" | "legacy" | {
916
- pin: string;
917
- } | undefined;
918
- };
919
954
  };
920
- };
921
- };
922
- } & {
923
- "/v1/mcp-servers/:name": {
924
- $delete: {
955
+ } | {
925
956
  output: {
926
957
  error: string;
927
958
  code: string;
@@ -947,55 +978,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
947
978
  name: string;
948
979
  };
949
980
  };
950
- } | {
951
- output: {
952
- servers: {
953
- name: string;
954
- status: "authorization_required" | "authorizing" | "connected" | "connecting" | "disconnected" | "error";
955
- toolCount: number;
956
- supportsPushNotifications: boolean;
957
- supportsRealtimeMedia: boolean;
958
- transport: "http" | "stdio";
959
- headerNames: string[];
960
- usesInteractiveOAuth: boolean;
961
- authorization: {
962
- id: string;
963
- createdAt: string;
964
- expiresAt: string;
965
- } | null;
966
- lastError: {
967
- name: string;
968
- message: string;
969
- at: string;
970
- } | null;
971
- nextRetryAt: string | null;
972
- }[];
973
- };
974
- outputFormat: "json";
975
- status: 200;
976
- input: {
977
- param: {
978
- name: string;
979
- };
980
- };
981
981
  };
982
982
  };
983
983
  } & {
984
984
  "/v1/mcp-servers/:name/tool-calls": {
985
985
  $get: {
986
- output: {
987
- error: string;
988
- code: string;
989
- remediation?: string | undefined;
990
- };
991
- outputFormat: "json";
992
- status: 500;
993
- input: {
994
- param: {
995
- name: string;
996
- };
997
- };
998
- } | {
999
986
  output: {
1000
987
  toolCalls: {
1001
988
  id: string;
@@ -1018,18 +1005,34 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1018
1005
  name: string;
1019
1006
  };
1020
1007
  };
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
1021
  };
1022
1022
  };
1023
1023
  } & {
1024
1024
  "/v1/mcp-servers/:name/authorization": {
1025
1025
  $put: {
1026
1026
  output: {
1027
- error: string;
1028
- code: string;
1029
- remediation?: string | undefined;
1027
+ id: string;
1028
+ serverName: string;
1029
+ serverUrl: string;
1030
+ authorizationUrl: string;
1031
+ state: string;
1032
+ expiresAt: string;
1030
1033
  };
1031
1034
  outputFormat: "json";
1032
- status: 404;
1035
+ status: 200;
1033
1036
  input: {
1034
1037
  param: {
1035
1038
  name: string;
@@ -1042,7 +1045,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1042
1045
  remediation?: string | undefined;
1043
1046
  };
1044
1047
  outputFormat: "json";
1045
- status: 409;
1048
+ status: 404;
1046
1049
  input: {
1047
1050
  param: {
1048
1051
  name: string;
@@ -1055,7 +1058,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1055
1058
  remediation?: string | undefined;
1056
1059
  };
1057
1060
  outputFormat: "json";
1058
- status: 503;
1061
+ status: 409;
1059
1062
  input: {
1060
1063
  param: {
1061
1064
  name: string;
@@ -1068,7 +1071,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1068
1071
  remediation?: string | undefined;
1069
1072
  };
1070
1073
  outputFormat: "json";
1071
- status: 504;
1074
+ status: 503;
1072
1075
  input: {
1073
1076
  param: {
1074
1077
  name: string;
@@ -1076,15 +1079,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1076
1079
  };
1077
1080
  } | {
1078
1081
  output: {
1079
- id: string;
1080
- serverName: string;
1081
- serverUrl: string;
1082
- authorizationUrl: string;
1083
- state: string;
1084
- expiresAt: string;
1082
+ error: string;
1083
+ code: string;
1084
+ remediation?: string | undefined;
1085
1085
  };
1086
1086
  outputFormat: "json";
1087
- status: 200;
1087
+ status: 504;
1088
1088
  input: {
1089
1089
  param: {
1090
1090
  name: string;
@@ -1095,6 +1095,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1095
1095
  } & {
1096
1096
  "/v1/mcp-servers/:name/authorization": {
1097
1097
  $delete: {
1098
+ output: {};
1099
+ outputFormat: string;
1100
+ status: 204;
1101
+ input: {
1102
+ param: {
1103
+ name: string;
1104
+ };
1105
+ };
1106
+ } | {
1098
1107
  output: {
1099
1108
  error: string;
1100
1109
  code: string;
@@ -1107,27 +1116,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1107
1116
  name: string;
1108
1117
  };
1109
1118
  };
1110
- } | {
1111
- output: {};
1112
- outputFormat: string;
1113
- status: 204;
1114
- input: {
1115
- param: {
1116
- name: string;
1117
- };
1118
- };
1119
1119
  };
1120
1120
  };
1121
1121
  } & {
1122
1122
  "/v1/mcp-oauth/callback": {
1123
1123
  $post: {
1124
1124
  output: {
1125
- error: string;
1126
- code: string;
1127
- remediation?: string | undefined;
1125
+ accepted: true;
1128
1126
  };
1129
1127
  outputFormat: "json";
1130
- status: 400;
1128
+ status: 202;
1131
1129
  input: {
1132
1130
  json: {
1133
1131
  state: string;
@@ -1143,7 +1141,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1143
1141
  remediation?: string | undefined;
1144
1142
  };
1145
1143
  outputFormat: "json";
1146
- status: 404;
1144
+ status: 400;
1147
1145
  input: {
1148
1146
  json: {
1149
1147
  state: string;
@@ -1154,10 +1152,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1154
1152
  };
1155
1153
  } | {
1156
1154
  output: {
1157
- accepted: true;
1155
+ error: string;
1156
+ code: string;
1157
+ remediation?: string | undefined;
1158
1158
  };
1159
1159
  outputFormat: "json";
1160
- status: 202;
1160
+ status: 404;
1161
1161
  input: {
1162
1162
  json: {
1163
1163
  state: string;
@@ -1172,12 +1172,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1172
1172
  "/v1/god-messages": {
1173
1173
  $post: {
1174
1174
  output: {
1175
- error: string;
1176
- code: string;
1177
- remediation?: string | undefined;
1175
+ sessionId: string;
1178
1176
  };
1179
1177
  outputFormat: "json";
1180
- status: 400;
1178
+ status: 202;
1181
1179
  input: {
1182
1180
  json: {
1183
1181
  content: ({
@@ -1217,7 +1215,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1217
1215
  remediation?: string | undefined;
1218
1216
  };
1219
1217
  outputFormat: "json";
1220
- status: 409;
1218
+ status: 400;
1221
1219
  input: {
1222
1220
  json: {
1223
1221
  content: ({
@@ -1257,7 +1255,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1257
1255
  remediation?: string | undefined;
1258
1256
  };
1259
1257
  outputFormat: "json";
1260
- status: 500;
1258
+ status: 409;
1261
1259
  input: {
1262
1260
  json: {
1263
1261
  content: ({
@@ -1297,7 +1295,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1297
1295
  remediation?: string | undefined;
1298
1296
  };
1299
1297
  outputFormat: "json";
1300
- status: 503;
1298
+ status: 500;
1301
1299
  input: {
1302
1300
  json: {
1303
1301
  content: ({
@@ -1332,10 +1330,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1332
1330
  };
1333
1331
  } | {
1334
1332
  output: {
1335
- sessionId: string;
1333
+ error: string;
1334
+ code: string;
1335
+ remediation?: string | undefined;
1336
1336
  };
1337
1337
  outputFormat: "json";
1338
- status: 202;
1338
+ status: 503;
1339
1339
  input: {
1340
1340
  json: {
1341
1341
  content: ({
@@ -1373,15 +1373,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1373
1373
  } & {
1374
1374
  "/v1/god-messages/session": {
1375
1375
  $get: {
1376
- output: {
1377
- error: string;
1378
- code: string;
1379
- remediation?: string | undefined;
1380
- };
1381
- outputFormat: "json";
1382
- status: 404;
1383
- input: {};
1384
- } | {
1385
1376
  output: {
1386
1377
  name: string;
1387
1378
  extensionIdentifier?: string | undefined;
@@ -1436,18 +1427,33 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1436
1427
  outputFormat: "json";
1437
1428
  status: 200;
1438
1429
  input: {};
1430
+ } | {
1431
+ output: {
1432
+ error: string;
1433
+ code: string;
1434
+ remediation?: string | undefined;
1435
+ };
1436
+ outputFormat: "json";
1437
+ status: 404;
1438
+ input: {};
1439
1439
  };
1440
1440
  };
1441
1441
  } & {
1442
1442
  "/v1/god-messages/messages": {
1443
1443
  $get: {
1444
1444
  output: {
1445
- error: string;
1446
- code: string;
1447
- remediation?: string | undefined;
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;
1448
1454
  };
1449
1455
  outputFormat: "json";
1450
- status: 400;
1456
+ status: 200;
1451
1457
  input: {
1452
1458
  query: {
1453
1459
  limit?: unknown;
@@ -1461,7 +1467,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1461
1467
  remediation?: string | undefined;
1462
1468
  };
1463
1469
  outputFormat: "json";
1464
- status: 500;
1470
+ status: 400;
1465
1471
  input: {
1466
1472
  query: {
1467
1473
  limit?: unknown;
@@ -1470,18 +1476,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1470
1476
  };
1471
1477
  } | {
1472
1478
  output: {
1473
- messages: {
1474
- id: string;
1475
- role: string;
1476
- parts: {
1477
- [x: string]: import("hono/utils/types").JSONValue;
1478
- }[];
1479
- }[];
1480
- nextCursor: string | null;
1481
- hasMore: boolean;
1479
+ error: string;
1480
+ code: string;
1481
+ remediation?: string | undefined;
1482
1482
  };
1483
1483
  outputFormat: "json";
1484
- status: 200;
1484
+ status: 500;
1485
1485
  input: {
1486
1486
  query: {
1487
1487
  limit?: unknown;
@@ -1493,6 +1493,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1493
1493
  } & {
1494
1494
  "/v1/god-messages/reset": {
1495
1495
  $post: {
1496
+ output: {
1497
+ sessionId: string;
1498
+ };
1499
+ outputFormat: "json";
1500
+ status: 200;
1501
+ input: {};
1502
+ } | {
1496
1503
  output: {
1497
1504
  error: string;
1498
1505
  code: string;
@@ -1519,52 +1526,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1519
1526
  outputFormat: "json";
1520
1527
  status: 500;
1521
1528
  input: {};
1522
- } | {
1523
- output: {
1524
- sessionId: string;
1525
- };
1526
- outputFormat: "json";
1527
- status: 200;
1528
- input: {};
1529
1529
  };
1530
1530
  };
1531
1531
  } & {
1532
1532
  "/v1/sessions": {
1533
1533
  $get: {
1534
- output: {
1535
- error: string;
1536
- code: string;
1537
- remediation?: string | undefined;
1538
- };
1539
- outputFormat: "json";
1540
- status: 400;
1541
- input: {
1542
- query: {
1543
- kind?: "child" | "default" | "god" | undefined;
1544
- parentInstanceId?: string | undefined;
1545
- live?: "false" | "true" | undefined;
1546
- limit?: unknown;
1547
- cursor?: string | undefined;
1548
- };
1549
- };
1550
- } | {
1551
- output: {
1552
- error: string;
1553
- code: string;
1554
- remediation?: string | undefined;
1555
- };
1556
- outputFormat: "json";
1557
- status: 500;
1558
- input: {
1559
- query: {
1560
- kind?: "child" | "default" | "god" | undefined;
1561
- parentInstanceId?: string | undefined;
1562
- live?: "false" | "true" | undefined;
1563
- limit?: unknown;
1564
- cursor?: string | undefined;
1565
- };
1566
- };
1567
- } | {
1568
1534
  output: {
1569
1535
  sessions: {
1570
1536
  instanceId: string;
@@ -1596,21 +1562,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1596
1562
  cursor?: string | undefined;
1597
1563
  };
1598
1564
  };
1599
- };
1600
- };
1601
- } & {
1602
- "/v1/sessions/:instanceId": {
1603
- $get: {
1565
+ } | {
1604
1566
  output: {
1605
1567
  error: string;
1606
1568
  code: string;
1607
1569
  remediation?: string | undefined;
1608
1570
  };
1609
1571
  outputFormat: "json";
1610
- status: 404;
1572
+ status: 400;
1611
1573
  input: {
1612
- param: {
1613
- instanceId: string;
1574
+ query: {
1575
+ kind?: "child" | "default" | "god" | undefined;
1576
+ parentInstanceId?: string | undefined;
1577
+ live?: "false" | "true" | undefined;
1578
+ limit?: unknown;
1579
+ cursor?: string | undefined;
1614
1580
  };
1615
1581
  };
1616
1582
  } | {
@@ -1622,11 +1588,19 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1622
1588
  outputFormat: "json";
1623
1589
  status: 500;
1624
1590
  input: {
1625
- param: {
1626
- instanceId: string;
1591
+ query: {
1592
+ kind?: "child" | "default" | "god" | undefined;
1593
+ parentInstanceId?: string | undefined;
1594
+ live?: "false" | "true" | undefined;
1595
+ limit?: unknown;
1596
+ cursor?: string | undefined;
1627
1597
  };
1628
1598
  };
1629
- } | {
1599
+ };
1600
+ };
1601
+ } & {
1602
+ "/v1/sessions/:instanceId": {
1603
+ $get: {
1630
1604
  output: {
1631
1605
  instanceId: string;
1632
1606
  sessionId: string;
@@ -1650,29 +1624,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1650
1624
  instanceId: string;
1651
1625
  };
1652
1626
  };
1653
- };
1654
- };
1655
- } & {
1656
- "/v1/sessions/:instanceId/messages": {
1657
- $get: {
1658
- output: {
1659
- error: string;
1660
- code: string;
1661
- remediation?: string | undefined;
1662
- };
1663
- outputFormat: "json";
1664
- status: 400;
1665
- input: {
1666
- param: {
1667
- instanceId: string;
1668
- };
1669
- } & {
1670
- query: {
1671
- limit?: unknown;
1672
- cursor?: unknown;
1673
- includeProviderMetadata?: "false" | "true" | undefined;
1674
- };
1675
- };
1676
1627
  } | {
1677
1628
  output: {
1678
1629
  error: string;
@@ -1685,12 +1636,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1685
1636
  param: {
1686
1637
  instanceId: string;
1687
1638
  };
1688
- } & {
1689
- query: {
1690
- limit?: unknown;
1691
- cursor?: unknown;
1692
- includeProviderMetadata?: "false" | "true" | undefined;
1693
- };
1694
1639
  };
1695
1640
  } | {
1696
1641
  output: {
@@ -1704,14 +1649,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1704
1649
  param: {
1705
1650
  instanceId: string;
1706
1651
  };
1707
- } & {
1708
- query: {
1709
- limit?: unknown;
1710
- cursor?: unknown;
1711
- includeProviderMetadata?: "false" | "true" | undefined;
1712
- };
1713
1652
  };
1714
- } | {
1653
+ };
1654
+ };
1655
+ } & {
1656
+ "/v1/sessions/:instanceId/messages": {
1657
+ $get: {
1715
1658
  output: {
1716
1659
  messages: {
1717
1660
  id: string;
@@ -1741,11 +1684,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1741
1684
  includeProviderMetadata?: "false" | "true" | undefined;
1742
1685
  };
1743
1686
  };
1744
- };
1745
- };
1746
- } & {
1747
- "/v1/usage": {
1748
- $get: {
1687
+ } | {
1749
1688
  output: {
1750
1689
  error: string;
1751
1690
  code: string;
@@ -1754,12 +1693,14 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1754
1693
  outputFormat: "json";
1755
1694
  status: 400;
1756
1695
  input: {
1696
+ param: {
1697
+ instanceId: string;
1698
+ };
1699
+ } & {
1757
1700
  query: {
1758
- splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
1759
- from?: string | undefined;
1760
- to?: string | undefined;
1761
- granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
1762
1701
  limit?: unknown;
1702
+ cursor?: unknown;
1703
+ includeProviderMetadata?: "false" | "true" | undefined;
1763
1704
  };
1764
1705
  };
1765
1706
  } | {
@@ -1769,17 +1710,42 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1769
1710
  remediation?: string | undefined;
1770
1711
  };
1771
1712
  outputFormat: "json";
1772
- status: 500;
1713
+ status: 404;
1773
1714
  input: {
1715
+ param: {
1716
+ instanceId: string;
1717
+ };
1718
+ } & {
1774
1719
  query: {
1775
- splitBy?: "endpoint" | "model" | "none" | "provider" | undefined;
1776
- from?: string | undefined;
1777
- to?: string | undefined;
1778
- granularity?: "daily" | "event" | "hourly" | "weekly" | undefined;
1779
1720
  limit?: unknown;
1721
+ cursor?: unknown;
1722
+ includeProviderMetadata?: "false" | "true" | undefined;
1780
1723
  };
1781
1724
  };
1782
1725
  } | {
1726
+ output: {
1727
+ error: string;
1728
+ code: string;
1729
+ remediation?: string | undefined;
1730
+ };
1731
+ outputFormat: "json";
1732
+ status: 500;
1733
+ input: {
1734
+ param: {
1735
+ instanceId: string;
1736
+ };
1737
+ } & {
1738
+ query: {
1739
+ limit?: unknown;
1740
+ cursor?: unknown;
1741
+ includeProviderMetadata?: "false" | "true" | undefined;
1742
+ };
1743
+ };
1744
+ };
1745
+ };
1746
+ } & {
1747
+ "/v1/usage": {
1748
+ $get: {
1783
1749
  output: {
1784
1750
  dataPoints: {
1785
1751
  bucket: string | null;
@@ -1817,19 +1783,23 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1817
1783
  limit?: unknown;
1818
1784
  };
1819
1785
  };
1820
- };
1821
- };
1822
- } & {
1823
- "/v1/skills": {
1824
- $get: {
1786
+ } | {
1825
1787
  output: {
1826
1788
  error: string;
1827
1789
  code: string;
1828
1790
  remediation?: string | undefined;
1829
1791
  };
1830
1792
  outputFormat: "json";
1831
- status: 500;
1832
- input: {};
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
+ };
1833
1803
  } | {
1834
1804
  output: {
1835
1805
  error: string;
@@ -1837,9 +1807,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1837
1807
  remediation?: string | undefined;
1838
1808
  };
1839
1809
  outputFormat: "json";
1840
- status: 503;
1841
- input: {};
1842
- } | {
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: {
1843
1825
  output: {
1844
1826
  skills: {
1845
1827
  name: string;
@@ -1854,18 +1836,42 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1854
1836
  outputFormat: "json";
1855
1837
  status: 200;
1856
1838
  input: {};
1839
+ } | {
1840
+ output: {
1841
+ error: string;
1842
+ code: string;
1843
+ remediation?: string | undefined;
1844
+ };
1845
+ outputFormat: "json";
1846
+ status: 500;
1847
+ input: {};
1848
+ } | {
1849
+ output: {
1850
+ error: string;
1851
+ code: string;
1852
+ remediation?: string | undefined;
1853
+ };
1854
+ outputFormat: "json";
1855
+ status: 503;
1856
+ input: {};
1857
1857
  };
1858
1858
  };
1859
1859
  } & {
1860
1860
  "/v1/skills/:name": {
1861
1861
  $get: {
1862
1862
  output: {
1863
- error: string;
1864
- code: string;
1865
- remediation?: string | undefined;
1863
+ name: string;
1864
+ description: string;
1865
+ origin: "learned";
1866
+ createdAt?: string | undefined;
1867
+ updatedAt?: string | undefined;
1868
+ lastReadAt?: string | null | undefined;
1869
+ readCount?: number | undefined;
1870
+ body: string;
1871
+ sourceEpisodes?: string[] | undefined;
1866
1872
  };
1867
1873
  outputFormat: "json";
1868
- status: 404;
1874
+ status: 200;
1869
1875
  input: {
1870
1876
  param: {
1871
1877
  name: string;
@@ -1878,7 +1884,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1878
1884
  remediation?: string | undefined;
1879
1885
  };
1880
1886
  outputFormat: "json";
1881
- status: 500;
1887
+ status: 404;
1882
1888
  input: {
1883
1889
  param: {
1884
1890
  name: string;
@@ -1891,7 +1897,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1891
1897
  remediation?: string | undefined;
1892
1898
  };
1893
1899
  outputFormat: "json";
1894
- status: 503;
1900
+ status: 500;
1895
1901
  input: {
1896
1902
  param: {
1897
1903
  name: string;
@@ -1899,18 +1905,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1899
1905
  };
1900
1906
  } | {
1901
1907
  output: {
1902
- name: string;
1903
- description: string;
1904
- origin: "learned";
1905
- createdAt?: string | undefined;
1906
- updatedAt?: string | undefined;
1907
- lastReadAt?: string | null | undefined;
1908
- readCount?: number | undefined;
1909
- body: string;
1910
- sourceEpisodes?: string[] | undefined;
1908
+ error: string;
1909
+ code: string;
1910
+ remediation?: string | undefined;
1911
1911
  };
1912
1912
  outputFormat: "json";
1913
- status: 200;
1913
+ status: 503;
1914
1914
  input: {
1915
1915
  param: {
1916
1916
  name: string;
@@ -1933,55 +1933,21 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1933
1933
  voicePreview: boolean;
1934
1934
  connectivityTest: boolean;
1935
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: {
1951
- output: {
1952
- error: string;
1953
- code: string;
1954
- remediation?: string | undefined;
1955
- };
1956
- outputFormat: "json";
1957
- status: 400;
1958
- input: {
1959
- param: {
1960
- 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";
1961
- };
1962
- } & {
1963
- json: {
1964
- settings: Record<string, unknown>;
1965
- };
1966
- };
1967
- } | {
1968
- output: {
1969
- error: string;
1970
- code: string;
1971
- remediation?: string | undefined;
1972
- };
1973
- outputFormat: "json";
1974
- status: 500;
1975
- input: {
1976
- param: {
1977
- 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";
1978
- };
1979
- } & {
1980
- json: {
1981
- settings: Record<string, unknown>;
1982
- };
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
+ }[];
1983
1942
  };
1984
- } | {
1943
+ outputFormat: "json";
1944
+ status: 200;
1945
+ input: {};
1946
+ };
1947
+ };
1948
+ } & {
1949
+ "/v1/provider-types/:type/can-add": {
1950
+ $post: {
1985
1951
  output: {
1986
1952
  ok: boolean;
1987
1953
  code?: string | undefined;
@@ -2032,6 +1998,40 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2032
1998
  settings: Record<string, unknown>;
2033
1999
  };
2034
2000
  };
2001
+ } | {
2002
+ output: {
2003
+ error: string;
2004
+ code: string;
2005
+ remediation?: string | undefined;
2006
+ };
2007
+ outputFormat: "json";
2008
+ status: 400;
2009
+ input: {
2010
+ 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";
2012
+ };
2013
+ } & {
2014
+ json: {
2015
+ settings: Record<string, unknown>;
2016
+ };
2017
+ };
2018
+ } | {
2019
+ output: {
2020
+ error: string;
2021
+ code: string;
2022
+ remediation?: string | undefined;
2023
+ };
2024
+ outputFormat: "json";
2025
+ status: 500;
2026
+ input: {
2027
+ 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";
2029
+ };
2030
+ } & {
2031
+ json: {
2032
+ settings: Record<string, unknown>;
2033
+ };
2034
+ };
2035
2035
  };
2036
2036
  };
2037
2037
  } & {
@@ -2081,51 +2081,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2081
2081
  } & {
2082
2082
  "/v1/providers": {
2083
2083
  $post: {
2084
- output: {
2085
- error: string;
2086
- code: string;
2087
- remediation?: string | undefined;
2088
- };
2089
- outputFormat: "json";
2090
- status: 400;
2091
- input: {
2092
- json: {
2093
- id: string;
2094
- 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";
2095
- settings: Record<string, unknown>;
2096
- };
2097
- };
2098
- } | {
2099
- output: {
2100
- error: string;
2101
- code: string;
2102
- remediation?: string | undefined;
2103
- };
2104
- outputFormat: "json";
2105
- status: 409;
2106
- input: {
2107
- json: {
2108
- id: string;
2109
- 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";
2110
- settings: Record<string, unknown>;
2111
- };
2112
- };
2113
- } | {
2114
- output: {
2115
- error: string;
2116
- code: string;
2117
- remediation?: string | undefined;
2118
- };
2119
- outputFormat: "json";
2120
- status: 500;
2121
- input: {
2122
- json: {
2123
- id: string;
2124
- 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";
2125
- settings: Record<string, unknown>;
2126
- };
2127
- };
2128
- } | {
2129
2084
  output: {
2130
2085
  ok: boolean;
2131
2086
  code?: string | undefined;
@@ -2174,11 +2129,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2174
2129
  settings: Record<string, unknown>;
2175
2130
  };
2176
2131
  };
2177
- };
2178
- };
2179
- } & {
2180
- "/v1/providers/:id": {
2181
- $patch: {
2132
+ } | {
2182
2133
  output: {
2183
2134
  error: string;
2184
2135
  code: string;
@@ -2187,12 +2138,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2187
2138
  outputFormat: "json";
2188
2139
  status: 400;
2189
2140
  input: {
2190
- param: {
2191
- id: string;
2192
- };
2193
- } & {
2194
2141
  json: {
2195
- settings?: Record<string, unknown> | undefined;
2142
+ 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";
2144
+ settings: Record<string, unknown>;
2196
2145
  };
2197
2146
  };
2198
2147
  } | {
@@ -2202,14 +2151,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2202
2151
  remediation?: string | undefined;
2203
2152
  };
2204
2153
  outputFormat: "json";
2205
- status: 404;
2154
+ status: 409;
2206
2155
  input: {
2207
- param: {
2208
- id: string;
2209
- };
2210
- } & {
2211
2156
  json: {
2212
- settings?: Record<string, unknown> | undefined;
2157
+ 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";
2159
+ settings: Record<string, unknown>;
2213
2160
  };
2214
2161
  };
2215
2162
  } | {
@@ -2221,15 +2168,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2221
2168
  outputFormat: "json";
2222
2169
  status: 500;
2223
2170
  input: {
2224
- param: {
2225
- id: string;
2226
- };
2227
- } & {
2228
2171
  json: {
2229
- settings?: Record<string, unknown> | undefined;
2172
+ 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";
2174
+ settings: Record<string, unknown>;
2230
2175
  };
2231
2176
  };
2232
- } | {
2177
+ };
2178
+ };
2179
+ } & {
2180
+ "/v1/providers/:id": {
2181
+ $patch: {
2233
2182
  output: {
2234
2183
  ok: boolean;
2235
2184
  code?: string | undefined;
@@ -2280,11 +2229,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2280
2229
  settings?: Record<string, unknown> | undefined;
2281
2230
  };
2282
2231
  };
2283
- };
2284
- };
2285
- } & {
2286
- "/v1/providers/:id": {
2287
- $delete: {
2232
+ } | {
2288
2233
  output: {
2289
2234
  error: string;
2290
2235
  code: string;
@@ -2296,6 +2241,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2296
2241
  param: {
2297
2242
  id: string;
2298
2243
  };
2244
+ } & {
2245
+ json: {
2246
+ settings?: Record<string, unknown> | undefined;
2247
+ };
2299
2248
  };
2300
2249
  } | {
2301
2250
  output: {
@@ -2309,18 +2258,9 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2309
2258
  param: {
2310
2259
  id: string;
2311
2260
  };
2312
- };
2313
- } | {
2314
- output: {
2315
- error: string;
2316
- code: string;
2317
- remediation?: string | undefined;
2318
- };
2319
- outputFormat: "json";
2320
- status: 409;
2321
- input: {
2322
- param: {
2323
- id: string;
2261
+ } & {
2262
+ json: {
2263
+ settings?: Record<string, unknown> | undefined;
2324
2264
  };
2325
2265
  };
2326
2266
  } | {
@@ -2335,8 +2275,16 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2335
2275
  param: {
2336
2276
  id: string;
2337
2277
  };
2278
+ } & {
2279
+ json: {
2280
+ settings?: Record<string, unknown> | undefined;
2281
+ };
2338
2282
  };
2339
- } | {
2283
+ };
2284
+ };
2285
+ } & {
2286
+ "/v1/providers/:id": {
2287
+ $delete: {
2340
2288
  output: {
2341
2289
  ok: boolean;
2342
2290
  code?: string | undefined;
@@ -2383,11 +2331,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2383
2331
  id: string;
2384
2332
  };
2385
2333
  };
2386
- };
2387
- };
2388
- } & {
2389
- "/v1/providers/:id/test": {
2390
- $post: {
2334
+ } | {
2391
2335
  output: {
2392
2336
  error: string;
2393
2337
  code: string;
@@ -2420,7 +2364,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2420
2364
  remediation?: string | undefined;
2421
2365
  };
2422
2366
  outputFormat: "json";
2423
- status: 500;
2367
+ status: 409;
2424
2368
  input: {
2425
2369
  param: {
2426
2370
  id: string;
@@ -2428,11 +2372,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2428
2372
  };
2429
2373
  } | {
2430
2374
  output: {
2431
- latencyMs: number;
2432
- target?: string | undefined;
2375
+ error: string;
2376
+ code: string;
2377
+ remediation?: string | undefined;
2433
2378
  };
2434
2379
  outputFormat: "json";
2435
- status: 200;
2380
+ status: 500;
2436
2381
  input: {
2437
2382
  param: {
2438
2383
  id: string;
@@ -2441,8 +2386,20 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2441
2386
  };
2442
2387
  };
2443
2388
  } & {
2444
- "/v1/providers/:id/models": {
2445
- $get: {
2389
+ "/v1/providers/:id/test": {
2390
+ $post: {
2391
+ output: {
2392
+ latencyMs: number;
2393
+ target?: string | undefined;
2394
+ };
2395
+ outputFormat: "json";
2396
+ status: 200;
2397
+ input: {
2398
+ param: {
2399
+ id: string;
2400
+ };
2401
+ };
2402
+ } | {
2446
2403
  output: {
2447
2404
  error: string;
2448
2405
  code: string;
@@ -2454,10 +2411,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2454
2411
  param: {
2455
2412
  id: string;
2456
2413
  };
2457
- } & {
2458
- query: {
2459
- refresh?: "false" | "true" | undefined;
2460
- };
2461
2414
  };
2462
2415
  } | {
2463
2416
  output: {
@@ -2471,10 +2424,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2471
2424
  param: {
2472
2425
  id: string;
2473
2426
  };
2474
- } & {
2475
- query: {
2476
- refresh?: "false" | "true" | undefined;
2477
- };
2478
2427
  };
2479
2428
  } | {
2480
2429
  output: {
@@ -2488,12 +2437,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2488
2437
  param: {
2489
2438
  id: string;
2490
2439
  };
2491
- } & {
2492
- query: {
2493
- refresh?: "false" | "true" | undefined;
2494
- };
2495
2440
  };
2496
- } | {
2441
+ };
2442
+ };
2443
+ } & {
2444
+ "/v1/providers/:id/models": {
2445
+ $get: {
2497
2446
  output: {
2498
2447
  models: {
2499
2448
  modelId: string;
@@ -2533,7 +2482,58 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2533
2482
  }[];
2534
2483
  };
2535
2484
  outputFormat: "json";
2536
- status: 200;
2485
+ status: 200;
2486
+ input: {
2487
+ param: {
2488
+ id: string;
2489
+ };
2490
+ } & {
2491
+ query: {
2492
+ refresh?: "false" | "true" | undefined;
2493
+ };
2494
+ };
2495
+ } | {
2496
+ output: {
2497
+ error: string;
2498
+ code: string;
2499
+ remediation?: string | undefined;
2500
+ };
2501
+ outputFormat: "json";
2502
+ status: 400;
2503
+ input: {
2504
+ param: {
2505
+ id: string;
2506
+ };
2507
+ } & {
2508
+ query: {
2509
+ refresh?: "false" | "true" | undefined;
2510
+ };
2511
+ };
2512
+ } | {
2513
+ output: {
2514
+ error: string;
2515
+ code: string;
2516
+ remediation?: string | undefined;
2517
+ };
2518
+ outputFormat: "json";
2519
+ status: 404;
2520
+ input: {
2521
+ param: {
2522
+ id: string;
2523
+ };
2524
+ } & {
2525
+ query: {
2526
+ refresh?: "false" | "true" | undefined;
2527
+ };
2528
+ };
2529
+ } | {
2530
+ output: {
2531
+ error: string;
2532
+ code: string;
2533
+ remediation?: string | undefined;
2534
+ };
2535
+ outputFormat: "json";
2536
+ status: 500;
2537
2537
  input: {
2538
2538
  param: {
2539
2539
  id: string;
@@ -2549,12 +2549,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2549
2549
  "/v1/providers/:id/voices": {
2550
2550
  $get: {
2551
2551
  output: {
2552
- error: string;
2553
- code: string;
2554
- remediation?: string | undefined;
2552
+ defaultVoiceId?: string | undefined;
2553
+ stale?: boolean | undefined;
2554
+ voices: {
2555
+ voiceId: string;
2556
+ displayName: string;
2557
+ description?: string | undefined;
2558
+ isPreviewAvailable: boolean;
2559
+ }[];
2555
2560
  };
2556
2561
  outputFormat: "json";
2557
- status: 400;
2562
+ status: 200;
2558
2563
  input: {
2559
2564
  param: {
2560
2565
  id: string;
@@ -2572,7 +2577,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2572
2577
  remediation?: string | undefined;
2573
2578
  };
2574
2579
  outputFormat: "json";
2575
- status: 404;
2580
+ status: 400;
2576
2581
  input: {
2577
2582
  param: {
2578
2583
  id: string;
@@ -2590,7 +2595,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2590
2595
  remediation?: string | undefined;
2591
2596
  };
2592
2597
  outputFormat: "json";
2593
- status: 429;
2598
+ status: 404;
2594
2599
  input: {
2595
2600
  param: {
2596
2601
  id: string;
@@ -2608,7 +2613,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2608
2613
  remediation?: string | undefined;
2609
2614
  };
2610
2615
  outputFormat: "json";
2611
- status: 500;
2616
+ status: 429;
2612
2617
  input: {
2613
2618
  param: {
2614
2619
  id: string;
@@ -2626,7 +2631,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2626
2631
  remediation?: string | undefined;
2627
2632
  };
2628
2633
  outputFormat: "json";
2629
- status: 502;
2634
+ status: 500;
2630
2635
  input: {
2631
2636
  param: {
2632
2637
  id: string;
@@ -2639,29 +2644,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2639
2644
  };
2640
2645
  } | {
2641
2646
  output: {
2642
- selectionSupported: boolean;
2643
- defaultVoiceId?: string | undefined;
2644
- fallback?: boolean | undefined;
2645
- stale?: boolean | undefined;
2646
- voices: {
2647
- voiceId: string;
2648
- displayName: string;
2649
- description?: string | undefined;
2650
- language?: string | undefined;
2651
- region?: string | undefined;
2652
- provenance: {
2653
- source: "discovered" | "maintained";
2654
- documentationUrl: string;
2655
- reviewedAt?: string | undefined;
2656
- };
2657
- preview: {
2658
- available: boolean;
2659
- mode?: "live" | undefined;
2660
- };
2661
- }[];
2647
+ error: string;
2648
+ code: string;
2649
+ remediation?: string | undefined;
2662
2650
  };
2663
2651
  outputFormat: "json";
2664
- status: 200;
2652
+ status: 502;
2665
2653
  input: {
2666
2654
  param: {
2667
2655
  id: string;
@@ -2785,6 +2773,82 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2785
2773
  } & {
2786
2774
  "/v1/providers/:id/models": {
2787
2775
  $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
+ } | {
2788
2852
  output: {
2789
2853
  error: string;
2790
2854
  code: string;
@@ -2956,7 +3020,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
2956
3020
  } | undefined;
2957
3021
  };
2958
3022
  };
2959
- } | {
3023
+ };
3024
+ };
3025
+ } & {
3026
+ "/v1/providers/:id/models/:modelId": {
3027
+ $patch: {
2960
3028
  output: {
2961
3029
  models: {
2962
3030
  modelId: string;
@@ -3000,10 +3068,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3000
3068
  input: {
3001
3069
  param: {
3002
3070
  id: string;
3071
+ modelId: string;
3003
3072
  };
3004
3073
  } & {
3005
3074
  json: {
3006
- modelId: string;
3007
3075
  kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3008
3076
  displayName?: string | undefined;
3009
3077
  contextSize?: number | undefined;
@@ -3032,11 +3100,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3032
3100
  } | undefined;
3033
3101
  };
3034
3102
  };
3035
- };
3036
- };
3037
- } & {
3038
- "/v1/providers/:id/models/:modelId": {
3039
- $patch: {
3103
+ } | {
3040
3104
  output: {
3041
3105
  error: string;
3042
3106
  code: string;
@@ -3165,7 +3229,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3165
3229
  } | undefined;
3166
3230
  };
3167
3231
  };
3168
- } | {
3232
+ };
3233
+ };
3234
+ } & {
3235
+ "/v1/providers/:id/models/:modelId": {
3236
+ $delete: {
3169
3237
  output: {
3170
3238
  models: {
3171
3239
  modelId: string;
@@ -3211,41 +3279,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3211
3279
  id: string;
3212
3280
  modelId: string;
3213
3281
  };
3214
- } & {
3215
- json: {
3216
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3217
- displayName?: string | undefined;
3218
- contextSize?: number | undefined;
3219
- capabilities?: {
3220
- input?: {
3221
- image?: {
3222
- mediaTypes?: string[] | undefined;
3223
- maxBytes?: number | undefined;
3224
- maxWidth?: number | undefined;
3225
- maxHeight?: number | undefined;
3226
- maxTotalPixels?: number | undefined;
3227
- } | undefined;
3228
- audio?: {
3229
- mediaTypes?: string[] | undefined;
3230
- maxBytes?: number | undefined;
3231
- maxLengthSeconds?: number | undefined;
3232
- } | undefined;
3233
- } | undefined;
3234
- voice?: {
3235
- sts?: boolean | undefined;
3236
- tts?: boolean | undefined;
3237
- stt?: boolean | undefined;
3238
- } | undefined;
3239
- tools?: boolean | undefined;
3240
- reasoning?: boolean | undefined;
3241
- } | undefined;
3242
- };
3243
3282
  };
3244
- };
3245
- };
3246
- } & {
3247
- "/v1/providers/:id/models/:modelId": {
3248
- $delete: {
3283
+ } | {
3249
3284
  output: {
3250
3285
  error: string;
3251
3286
  code: string;
@@ -3301,58 +3336,30 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3301
3336
  modelId: string;
3302
3337
  };
3303
3338
  };
3304
- } | {
3339
+ };
3340
+ };
3341
+ } & {
3342
+ "/v1/introspect/:path": {
3343
+ $get: {
3305
3344
  output: {
3306
- models: {
3307
- modelId: string;
3308
- kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
3309
- displayName?: string | undefined;
3310
- contextSize?: number | undefined;
3311
- capabilities?: {
3312
- input?: {
3313
- image?: {
3314
- mediaTypes?: string[] | undefined;
3315
- maxBytes?: number | undefined;
3316
- maxWidth?: number | undefined;
3317
- maxHeight?: number | undefined;
3318
- maxTotalPixels?: number | undefined;
3319
- } | undefined;
3320
- audio?: {
3321
- mediaTypes?: string[] | undefined;
3322
- maxBytes?: number | undefined;
3323
- maxLengthSeconds?: number | undefined;
3324
- } | undefined;
3325
- } | undefined;
3326
- voice?: {
3327
- sts?: boolean | undefined;
3328
- tts?: boolean | undefined;
3329
- stt?: boolean | undefined;
3330
- } | undefined;
3331
- tools?: boolean | undefined;
3332
- reasoning?: boolean | undefined;
3333
- } | undefined;
3334
- createdAt?: string | undefined;
3335
- source: "discovered" | "manual" | "merged";
3336
- provenance?: {
3337
- source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
3338
- documentationUrl?: string | undefined;
3339
- reviewedAt?: string | undefined;
3340
- }[] | undefined;
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;
3341
3353
  }[];
3342
3354
  };
3343
3355
  outputFormat: "json";
3344
3356
  status: 200;
3345
3357
  input: {
3346
3358
  param: {
3347
- id: string;
3348
- modelId: string;
3359
+ path: string;
3349
3360
  };
3350
3361
  };
3351
- };
3352
- };
3353
- } & {
3354
- "/v1/introspect/:path": {
3355
- $get: {
3362
+ } | {
3356
3363
  output: {
3357
3364
  error: string;
3358
3365
  code: string;
@@ -3391,25 +3398,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3391
3398
  path: string;
3392
3399
  };
3393
3400
  };
3394
- } | {
3395
- output: {
3396
- path: string[];
3397
- state: {
3398
- [x: string]: import("hono/utils/types").JSONValue;
3399
- } | null;
3400
- children: {
3401
- id: string;
3402
- hasState: boolean;
3403
- hasChildren: boolean;
3404
- }[];
3405
- };
3406
- outputFormat: "json";
3407
- status: 200;
3408
- input: {
3409
- param: {
3410
- path: string;
3411
- };
3412
- };
3413
3401
  };
3414
3402
  };
3415
3403
  }, "/", "/v1/introspect/:path">;