@dexto/server 1.6.21 → 1.6.24

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 (57) hide show
  1. package/dist/approval/wire-approval-events.cjs +44 -0
  2. package/dist/approval/wire-approval-events.d.ts +4 -0
  3. package/dist/approval/wire-approval-events.d.ts.map +1 -0
  4. package/dist/approval/wire-approval-events.js +20 -0
  5. package/dist/events/a2a-sse-subscriber.cjs +3 -0
  6. package/dist/events/a2a-sse-subscriber.d.ts.map +1 -1
  7. package/dist/events/a2a-sse-subscriber.js +3 -0
  8. package/dist/events/session-sse-subscriber.cjs +167 -0
  9. package/dist/events/session-sse-subscriber.d.ts +13 -0
  10. package/dist/events/session-sse-subscriber.d.ts.map +1 -0
  11. package/dist/events/session-sse-subscriber.js +143 -0
  12. package/dist/events/usage-event-subscriber.cjs +2 -2
  13. package/dist/events/usage-event-subscriber.d.ts.map +1 -1
  14. package/dist/events/usage-event-subscriber.js +2 -2
  15. package/dist/hono/__tests__/test-fixtures.cjs +8 -0
  16. package/dist/hono/__tests__/test-fixtures.d.ts +1 -0
  17. package/dist/hono/__tests__/test-fixtures.d.ts.map +1 -1
  18. package/dist/hono/__tests__/test-fixtures.js +8 -0
  19. package/dist/hono/index.cjs +2 -1
  20. package/dist/hono/index.d.ts +2 -0
  21. package/dist/hono/index.d.ts.map +1 -1
  22. package/dist/hono/index.js +2 -1
  23. package/dist/hono/node/index.cjs +51 -6
  24. package/dist/hono/node/index.d.ts.map +1 -1
  25. package/dist/hono/node/index.js +51 -6
  26. package/dist/hono/routes/llm.cjs +1 -1
  27. package/dist/hono/routes/llm.d.ts +175 -175
  28. package/dist/hono/routes/llm.d.ts.map +1 -1
  29. package/dist/hono/routes/llm.js +1 -1
  30. package/dist/hono/routes/messages.cjs +43 -53
  31. package/dist/hono/routes/messages.d.ts +1 -2
  32. package/dist/hono/routes/messages.d.ts.map +1 -1
  33. package/dist/hono/routes/messages.js +43 -53
  34. package/dist/hono/routes/models.d.ts +5 -5
  35. package/dist/hono/routes/prompts.d.ts +50 -50
  36. package/dist/hono/routes/queue.d.ts +106 -12
  37. package/dist/hono/routes/queue.d.ts.map +1 -1
  38. package/dist/hono/routes/resources.d.ts +5 -5
  39. package/dist/hono/routes/search.d.ts +297 -43
  40. package/dist/hono/routes/search.d.ts.map +1 -1
  41. package/dist/hono/routes/sessions.cjs +93 -2
  42. package/dist/hono/routes/sessions.d.ts +1736 -93
  43. package/dist/hono/routes/sessions.d.ts.map +1 -1
  44. package/dist/hono/routes/sessions.js +95 -3
  45. package/dist/hono/routes/tools.d.ts +5 -5
  46. package/dist/hono/schemas/responses.cjs +59 -3
  47. package/dist/hono/schemas/responses.d.ts +658 -97
  48. package/dist/hono/schemas/responses.d.ts.map +1 -1
  49. package/dist/hono/schemas/responses.js +59 -4
  50. package/dist/hono/start-server.cjs +9 -0
  51. package/dist/hono/start-server.d.ts.map +1 -1
  52. package/dist/hono/start-server.js +9 -0
  53. package/dist/index.cjs +5 -1
  54. package/dist/index.d.ts +2 -0
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +2 -0
  57. package/package.json +7 -7
@@ -13,7 +13,7 @@ declare const CatalogQuerySchema: z.ZodObject<{
13
13
  provider: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, string[] | undefined, string | string[] | undefined>;
14
14
  includeModels: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>, boolean | undefined, "0" | "1" | "true" | "false" | undefined>;
15
15
  hasKey: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>, boolean | undefined, "0" | "1" | "true" | "false" | undefined>;
16
- fileType: z.ZodOptional<z.ZodEnum<["pdf", "image", "audio"]>>;
16
+ fileType: z.ZodOptional<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>>;
17
17
  defaultOnly: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>, boolean | undefined, "0" | "1" | "true" | "false" | undefined>;
18
18
  mode: z.ZodDefault<z.ZodEnum<["grouped", "flat"]>>;
19
19
  }, "strict", z.ZodTypeAny, {
@@ -22,14 +22,14 @@ declare const CatalogQuerySchema: z.ZodObject<{
22
22
  provider?: string[] | undefined;
23
23
  includeModels?: boolean | undefined;
24
24
  hasKey?: boolean | undefined;
25
- fileType?: "image" | "audio" | "pdf" | undefined;
25
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
26
26
  defaultOnly?: boolean | undefined;
27
27
  }, {
28
28
  scope?: "curated" | "all" | undefined;
29
29
  provider?: string | string[] | undefined;
30
30
  includeModels?: "0" | "1" | "true" | "false" | undefined;
31
31
  hasKey?: "0" | "1" | "true" | "false" | undefined;
32
- fileType?: "image" | "audio" | "pdf" | undefined;
32
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
33
33
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
34
34
  mode?: "flat" | "grouped" | undefined;
35
35
  }>;
@@ -57,58 +57,58 @@ declare const SwitchLLMBodySchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
57
57
  apiKey?: string | undefined;
58
58
  model?: string | undefined;
59
59
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
60
+ maxIterations?: number | undefined;
61
+ baseURL?: string | undefined;
60
62
  maxInputTokens?: number | undefined;
63
+ maxOutputTokens?: number | undefined;
64
+ temperature?: number | undefined;
65
+ allowedMediaTypes?: string[] | undefined;
61
66
  reasoning?: {
62
67
  variant: string;
63
68
  budgetTokens?: number | undefined;
64
69
  } | null | undefined;
65
- temperature?: number | undefined;
66
- maxIterations?: number | undefined;
67
- baseURL?: string | undefined;
68
- maxOutputTokens?: number | undefined;
69
- allowedMediaTypes?: string[] | undefined;
70
70
  }, {
71
71
  apiKey?: string | undefined;
72
72
  model?: string | undefined;
73
73
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
74
+ maxIterations?: number | undefined;
75
+ baseURL?: string | undefined;
74
76
  maxInputTokens?: number | undefined;
77
+ maxOutputTokens?: number | undefined;
78
+ temperature?: number | undefined;
79
+ allowedMediaTypes?: string[] | undefined;
75
80
  reasoning?: {
76
81
  variant: string;
77
82
  budgetTokens?: number | undefined;
78
83
  } | null | undefined;
79
- temperature?: number | undefined;
80
- maxIterations?: number | undefined;
81
- baseURL?: string | undefined;
82
- maxOutputTokens?: number | undefined;
83
- allowedMediaTypes?: string[] | undefined;
84
84
  }>, {
85
85
  apiKey?: string | undefined;
86
86
  model?: string | undefined;
87
87
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
88
+ maxIterations?: number | undefined;
89
+ baseURL?: string | undefined;
88
90
  maxInputTokens?: number | undefined;
91
+ maxOutputTokens?: number | undefined;
92
+ temperature?: number | undefined;
93
+ allowedMediaTypes?: string[] | undefined;
89
94
  reasoning?: {
90
95
  variant: string;
91
96
  budgetTokens?: number | undefined;
92
97
  } | null | undefined;
93
- temperature?: number | undefined;
94
- maxIterations?: number | undefined;
95
- baseURL?: string | undefined;
96
- maxOutputTokens?: number | undefined;
97
- allowedMediaTypes?: string[] | undefined;
98
98
  }, {
99
99
  apiKey?: string | undefined;
100
100
  model?: string | undefined;
101
101
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
102
+ maxIterations?: number | undefined;
103
+ baseURL?: string | undefined;
102
104
  maxInputTokens?: number | undefined;
105
+ maxOutputTokens?: number | undefined;
106
+ temperature?: number | undefined;
107
+ allowedMediaTypes?: string[] | undefined;
103
108
  reasoning?: {
104
109
  variant: string;
105
110
  budgetTokens?: number | undefined;
106
111
  } | null | undefined;
107
- temperature?: number | undefined;
108
- maxIterations?: number | undefined;
109
- baseURL?: string | undefined;
110
- maxOutputTokens?: number | undefined;
111
- allowedMediaTypes?: string[] | undefined;
112
112
  }>, z.ZodObject<{
113
113
  sessionId: z.ZodOptional<z.ZodString>;
114
114
  }, "strip", z.ZodTypeAny, {
@@ -1315,7 +1315,7 @@ declare const catalogRoute: {
1315
1315
  provider: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, string[] | undefined, string | string[] | undefined>;
1316
1316
  includeModels: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>, boolean | undefined, "0" | "1" | "true" | "false" | undefined>;
1317
1317
  hasKey: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>, boolean | undefined, "0" | "1" | "true" | "false" | undefined>;
1318
- fileType: z.ZodOptional<z.ZodEnum<["pdf", "image", "audio"]>>;
1318
+ fileType: z.ZodOptional<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>>;
1319
1319
  defaultOnly: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">, z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>, boolean | undefined, "0" | "1" | "true" | "false" | undefined>;
1320
1320
  mode: z.ZodDefault<z.ZodEnum<["grouped", "flat"]>>;
1321
1321
  }, "strict", z.ZodTypeAny, {
@@ -1324,14 +1324,14 @@ declare const catalogRoute: {
1324
1324
  provider?: string[] | undefined;
1325
1325
  includeModels?: boolean | undefined;
1326
1326
  hasKey?: boolean | undefined;
1327
- fileType?: "image" | "audio" | "pdf" | undefined;
1327
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
1328
1328
  defaultOnly?: boolean | undefined;
1329
1329
  }, {
1330
1330
  scope?: "curated" | "all" | undefined;
1331
1331
  provider?: string | string[] | undefined;
1332
1332
  includeModels?: "0" | "1" | "true" | "false" | undefined;
1333
1333
  hasKey?: "0" | "1" | "true" | "false" | undefined;
1334
- fileType?: "image" | "audio" | "pdf" | undefined;
1334
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
1335
1335
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
1336
1336
  mode?: "flat" | "grouped" | undefined;
1337
1337
  }>;
@@ -1351,7 +1351,7 @@ declare const catalogRoute: {
1351
1351
  name: z.ZodString;
1352
1352
  maxInputTokens: z.ZodNumber;
1353
1353
  default: z.ZodOptional<z.ZodBoolean>;
1354
- supportedFileTypes: z.ZodArray<z.ZodEnum<["audio", "pdf", "image"]>, "many">;
1354
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
1355
1355
  displayName: z.ZodOptional<z.ZodString>;
1356
1356
  pricing: z.ZodOptional<z.ZodObject<{
1357
1357
  inputPerM: z.ZodNumber;
@@ -1378,7 +1378,7 @@ declare const catalogRoute: {
1378
1378
  }, "strict", z.ZodTypeAny, {
1379
1379
  name: string;
1380
1380
  maxInputTokens: number;
1381
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1381
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1382
1382
  default?: boolean | undefined;
1383
1383
  displayName?: string | undefined;
1384
1384
  pricing?: {
@@ -1392,7 +1392,7 @@ declare const catalogRoute: {
1392
1392
  }, {
1393
1393
  name: string;
1394
1394
  maxInputTokens: number;
1395
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1395
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1396
1396
  default?: boolean | undefined;
1397
1397
  displayName?: string | undefined;
1398
1398
  pricing?: {
@@ -1404,17 +1404,17 @@ declare const catalogRoute: {
1404
1404
  unit?: "per_million_tokens" | undefined;
1405
1405
  } | undefined;
1406
1406
  }>, "many">;
1407
- supportedFileTypes: z.ZodArray<z.ZodEnum<["audio", "pdf", "image"]>, "many">;
1407
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
1408
1408
  }, "strict", z.ZodTypeAny, {
1409
1409
  name: string;
1410
1410
  hasApiKey: boolean;
1411
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1411
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1412
1412
  primaryEnvVar: string;
1413
1413
  supportsBaseURL: boolean;
1414
1414
  models: {
1415
1415
  name: string;
1416
1416
  maxInputTokens: number;
1417
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1417
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1418
1418
  default?: boolean | undefined;
1419
1419
  displayName?: string | undefined;
1420
1420
  pricing?: {
@@ -1429,13 +1429,13 @@ declare const catalogRoute: {
1429
1429
  }, {
1430
1430
  name: string;
1431
1431
  hasApiKey: boolean;
1432
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1432
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1433
1433
  primaryEnvVar: string;
1434
1434
  supportsBaseURL: boolean;
1435
1435
  models: {
1436
1436
  name: string;
1437
1437
  maxInputTokens: number;
1438
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1438
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1439
1439
  default?: boolean | undefined;
1440
1440
  displayName?: string | undefined;
1441
1441
  pricing?: {
@@ -1452,13 +1452,13 @@ declare const catalogRoute: {
1452
1452
  providers: Partial<Record<"openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova", {
1453
1453
  name: string;
1454
1454
  hasApiKey: boolean;
1455
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1455
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1456
1456
  primaryEnvVar: string;
1457
1457
  supportsBaseURL: boolean;
1458
1458
  models: {
1459
1459
  name: string;
1460
1460
  maxInputTokens: number;
1461
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1461
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1462
1462
  default?: boolean | undefined;
1463
1463
  displayName?: string | undefined;
1464
1464
  pricing?: {
@@ -1475,13 +1475,13 @@ declare const catalogRoute: {
1475
1475
  providers: Partial<Record<"openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova", {
1476
1476
  name: string;
1477
1477
  hasApiKey: boolean;
1478
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1478
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1479
1479
  primaryEnvVar: string;
1480
1480
  supportsBaseURL: boolean;
1481
1481
  models: {
1482
1482
  name: string;
1483
1483
  maxInputTokens: number;
1484
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1484
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1485
1485
  default?: boolean | undefined;
1486
1486
  displayName?: string | undefined;
1487
1487
  pricing?: {
@@ -1499,7 +1499,7 @@ declare const catalogRoute: {
1499
1499
  name: z.ZodString;
1500
1500
  maxInputTokens: z.ZodNumber;
1501
1501
  default: z.ZodOptional<z.ZodBoolean>;
1502
- supportedFileTypes: z.ZodArray<z.ZodEnum<["audio", "pdf", "image"]>, "many">;
1502
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
1503
1503
  displayName: z.ZodOptional<z.ZodString>;
1504
1504
  pricing: z.ZodOptional<z.ZodObject<{
1505
1505
  inputPerM: z.ZodNumber;
@@ -1529,7 +1529,7 @@ declare const catalogRoute: {
1529
1529
  name: string;
1530
1530
  provider: string;
1531
1531
  maxInputTokens: number;
1532
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1532
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1533
1533
  default?: boolean | undefined;
1534
1534
  displayName?: string | undefined;
1535
1535
  pricing?: {
@@ -1544,7 +1544,7 @@ declare const catalogRoute: {
1544
1544
  name: string;
1545
1545
  provider: string;
1546
1546
  maxInputTokens: number;
1547
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1547
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1548
1548
  default?: boolean | undefined;
1549
1549
  displayName?: string | undefined;
1550
1550
  pricing?: {
@@ -1561,7 +1561,7 @@ declare const catalogRoute: {
1561
1561
  name: string;
1562
1562
  provider: string;
1563
1563
  maxInputTokens: number;
1564
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1564
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1565
1565
  default?: boolean | undefined;
1566
1566
  displayName?: string | undefined;
1567
1567
  pricing?: {
@@ -1578,7 +1578,7 @@ declare const catalogRoute: {
1578
1578
  name: string;
1579
1579
  provider: string;
1580
1580
  maxInputTokens: number;
1581
- supportedFileTypes: ("image" | "audio" | "pdf")[];
1581
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
1582
1582
  default?: boolean | undefined;
1583
1583
  displayName?: string | undefined;
1584
1584
  pricing?: {
@@ -2640,58 +2640,58 @@ declare const switchRoute: {
2640
2640
  apiKey?: string | undefined;
2641
2641
  model?: string | undefined;
2642
2642
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2643
+ maxIterations?: number | undefined;
2644
+ baseURL?: string | undefined;
2643
2645
  maxInputTokens?: number | undefined;
2646
+ maxOutputTokens?: number | undefined;
2647
+ temperature?: number | undefined;
2648
+ allowedMediaTypes?: string[] | undefined;
2644
2649
  reasoning?: {
2645
2650
  variant: string;
2646
2651
  budgetTokens?: number | undefined;
2647
2652
  } | null | undefined;
2648
- temperature?: number | undefined;
2649
- maxIterations?: number | undefined;
2650
- baseURL?: string | undefined;
2651
- maxOutputTokens?: number | undefined;
2652
- allowedMediaTypes?: string[] | undefined;
2653
2653
  }, {
2654
2654
  apiKey?: string | undefined;
2655
2655
  model?: string | undefined;
2656
2656
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2657
+ maxIterations?: number | undefined;
2658
+ baseURL?: string | undefined;
2657
2659
  maxInputTokens?: number | undefined;
2660
+ maxOutputTokens?: number | undefined;
2661
+ temperature?: number | undefined;
2662
+ allowedMediaTypes?: string[] | undefined;
2658
2663
  reasoning?: {
2659
2664
  variant: string;
2660
2665
  budgetTokens?: number | undefined;
2661
2666
  } | null | undefined;
2662
- temperature?: number | undefined;
2663
- maxIterations?: number | undefined;
2664
- baseURL?: string | undefined;
2665
- maxOutputTokens?: number | undefined;
2666
- allowedMediaTypes?: string[] | undefined;
2667
2667
  }>, {
2668
2668
  apiKey?: string | undefined;
2669
2669
  model?: string | undefined;
2670
2670
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2671
+ maxIterations?: number | undefined;
2672
+ baseURL?: string | undefined;
2671
2673
  maxInputTokens?: number | undefined;
2674
+ maxOutputTokens?: number | undefined;
2675
+ temperature?: number | undefined;
2676
+ allowedMediaTypes?: string[] | undefined;
2672
2677
  reasoning?: {
2673
2678
  variant: string;
2674
2679
  budgetTokens?: number | undefined;
2675
2680
  } | null | undefined;
2676
- temperature?: number | undefined;
2677
- maxIterations?: number | undefined;
2678
- baseURL?: string | undefined;
2679
- maxOutputTokens?: number | undefined;
2680
- allowedMediaTypes?: string[] | undefined;
2681
2681
  }, {
2682
2682
  apiKey?: string | undefined;
2683
2683
  model?: string | undefined;
2684
2684
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2685
+ maxIterations?: number | undefined;
2686
+ baseURL?: string | undefined;
2685
2687
  maxInputTokens?: number | undefined;
2688
+ maxOutputTokens?: number | undefined;
2689
+ temperature?: number | undefined;
2690
+ allowedMediaTypes?: string[] | undefined;
2686
2691
  reasoning?: {
2687
2692
  variant: string;
2688
2693
  budgetTokens?: number | undefined;
2689
2694
  } | null | undefined;
2690
- temperature?: number | undefined;
2691
- maxIterations?: number | undefined;
2692
- baseURL?: string | undefined;
2693
- maxOutputTokens?: number | undefined;
2694
- allowedMediaTypes?: string[] | undefined;
2695
2695
  }>, z.ZodObject<{
2696
2696
  sessionId: z.ZodOptional<z.ZodString>;
2697
2697
  }, "strip", z.ZodTypeAny, {
@@ -7897,7 +7897,7 @@ declare const capabilitiesRoute: {
7897
7897
  schema: z.ZodObject<{
7898
7898
  provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
7899
7899
  model: z.ZodString;
7900
- supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio"]>, "many">;
7900
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
7901
7901
  reasoning: z.ZodObject<{
7902
7902
  capable: z.ZodBoolean;
7903
7903
  paradigm: z.ZodEnum<["effort", "adaptive-effort", "thinking-level", "budget", "none"]>;
@@ -7949,7 +7949,7 @@ declare const capabilitiesRoute: {
7949
7949
  };
7950
7950
  model: string;
7951
7951
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
7952
- supportedFileTypes: ("image" | "audio" | "pdf")[];
7952
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
7953
7953
  }, {
7954
7954
  reasoning: {
7955
7955
  capable: boolean;
@@ -7964,7 +7964,7 @@ declare const capabilitiesRoute: {
7964
7964
  };
7965
7965
  model: string;
7966
7966
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
7967
- supportedFileTypes: ("image" | "audio" | "pdf")[];
7967
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
7968
7968
  }>;
7969
7969
  };
7970
7970
  };
@@ -8998,20 +8998,20 @@ declare const modelPickerStateRoute: {
8998
8998
  model: z.ZodString;
8999
8999
  baseURL: z.ZodOptional<z.ZodString>;
9000
9000
  displayName: z.ZodOptional<z.ZodString>;
9001
- supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio"]>, "many">;
9001
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
9002
9002
  source: z.ZodEnum<["catalog", "custom", "local-installed"]>;
9003
9003
  }, "strict", z.ZodTypeAny, {
9004
+ source: "custom" | "catalog" | "local-installed";
9004
9005
  model: string;
9005
9006
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9006
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9007
- source: "custom" | "catalog" | "local-installed";
9007
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9008
9008
  baseURL?: string | undefined;
9009
9009
  displayName?: string | undefined;
9010
9010
  }, {
9011
+ source: "custom" | "catalog" | "local-installed";
9011
9012
  model: string;
9012
9013
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9013
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9014
- source: "custom" | "catalog" | "local-installed";
9014
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9015
9015
  baseURL?: string | undefined;
9016
9016
  displayName?: string | undefined;
9017
9017
  }>, "many">;
@@ -9020,20 +9020,20 @@ declare const modelPickerStateRoute: {
9020
9020
  model: z.ZodString;
9021
9021
  baseURL: z.ZodOptional<z.ZodString>;
9022
9022
  displayName: z.ZodOptional<z.ZodString>;
9023
- supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio"]>, "many">;
9023
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
9024
9024
  source: z.ZodEnum<["catalog", "custom", "local-installed"]>;
9025
9025
  }, "strict", z.ZodTypeAny, {
9026
+ source: "custom" | "catalog" | "local-installed";
9026
9027
  model: string;
9027
9028
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9028
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9029
- source: "custom" | "catalog" | "local-installed";
9029
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9030
9030
  baseURL?: string | undefined;
9031
9031
  displayName?: string | undefined;
9032
9032
  }, {
9033
+ source: "custom" | "catalog" | "local-installed";
9033
9034
  model: string;
9034
9035
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9035
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9036
- source: "custom" | "catalog" | "local-installed";
9036
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9037
9037
  baseURL?: string | undefined;
9038
9038
  displayName?: string | undefined;
9039
9039
  }>, "many">;
@@ -9042,20 +9042,20 @@ declare const modelPickerStateRoute: {
9042
9042
  model: z.ZodString;
9043
9043
  baseURL: z.ZodOptional<z.ZodString>;
9044
9044
  displayName: z.ZodOptional<z.ZodString>;
9045
- supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio"]>, "many">;
9045
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
9046
9046
  source: z.ZodEnum<["catalog", "custom", "local-installed"]>;
9047
9047
  }, "strict", z.ZodTypeAny, {
9048
+ source: "custom" | "catalog" | "local-installed";
9048
9049
  model: string;
9049
9050
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9050
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9051
- source: "custom" | "catalog" | "local-installed";
9051
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9052
9052
  baseURL?: string | undefined;
9053
9053
  displayName?: string | undefined;
9054
9054
  }, {
9055
+ source: "custom" | "catalog" | "local-installed";
9055
9056
  model: string;
9056
9057
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9057
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9058
- source: "custom" | "catalog" | "local-installed";
9058
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9059
9059
  baseURL?: string | undefined;
9060
9060
  displayName?: string | undefined;
9061
9061
  }>, "many">;
@@ -9064,86 +9064,86 @@ declare const modelPickerStateRoute: {
9064
9064
  model: z.ZodString;
9065
9065
  baseURL: z.ZodOptional<z.ZodString>;
9066
9066
  displayName: z.ZodOptional<z.ZodString>;
9067
- supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio"]>, "many">;
9067
+ supportedFileTypes: z.ZodArray<z.ZodEnum<["pdf", "image", "audio", "video", "document"]>, "many">;
9068
9068
  source: z.ZodEnum<["catalog", "custom", "local-installed"]>;
9069
9069
  }, "strict", z.ZodTypeAny, {
9070
+ source: "custom" | "catalog" | "local-installed";
9070
9071
  model: string;
9071
9072
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9072
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9073
- source: "custom" | "catalog" | "local-installed";
9073
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9074
9074
  baseURL?: string | undefined;
9075
9075
  displayName?: string | undefined;
9076
9076
  }, {
9077
+ source: "custom" | "catalog" | "local-installed";
9077
9078
  model: string;
9078
9079
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9079
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9080
- source: "custom" | "catalog" | "local-installed";
9080
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9081
9081
  baseURL?: string | undefined;
9082
9082
  displayName?: string | undefined;
9083
9083
  }>, "many">;
9084
9084
  }, "strict", z.ZodTypeAny, {
9085
9085
  custom: {
9086
+ source: "custom" | "catalog" | "local-installed";
9086
9087
  model: string;
9087
9088
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9088
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9089
- source: "custom" | "catalog" | "local-installed";
9089
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9090
9090
  baseURL?: string | undefined;
9091
9091
  displayName?: string | undefined;
9092
9092
  }[];
9093
9093
  favorites: {
9094
+ source: "custom" | "catalog" | "local-installed";
9094
9095
  model: string;
9095
9096
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9096
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9097
- source: "custom" | "catalog" | "local-installed";
9097
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9098
9098
  baseURL?: string | undefined;
9099
9099
  displayName?: string | undefined;
9100
9100
  }[];
9101
9101
  featured: {
9102
+ source: "custom" | "catalog" | "local-installed";
9102
9103
  model: string;
9103
9104
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9104
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9105
- source: "custom" | "catalog" | "local-installed";
9105
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9106
9106
  baseURL?: string | undefined;
9107
9107
  displayName?: string | undefined;
9108
9108
  }[];
9109
9109
  recents: {
9110
+ source: "custom" | "catalog" | "local-installed";
9110
9111
  model: string;
9111
9112
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9112
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9113
- source: "custom" | "catalog" | "local-installed";
9113
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9114
9114
  baseURL?: string | undefined;
9115
9115
  displayName?: string | undefined;
9116
9116
  }[];
9117
9117
  }, {
9118
9118
  custom: {
9119
+ source: "custom" | "catalog" | "local-installed";
9119
9120
  model: string;
9120
9121
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9121
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9122
- source: "custom" | "catalog" | "local-installed";
9122
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9123
9123
  baseURL?: string | undefined;
9124
9124
  displayName?: string | undefined;
9125
9125
  }[];
9126
9126
  favorites: {
9127
+ source: "custom" | "catalog" | "local-installed";
9127
9128
  model: string;
9128
9129
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9129
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9130
- source: "custom" | "catalog" | "local-installed";
9130
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9131
9131
  baseURL?: string | undefined;
9132
9132
  displayName?: string | undefined;
9133
9133
  }[];
9134
9134
  featured: {
9135
+ source: "custom" | "catalog" | "local-installed";
9135
9136
  model: string;
9136
9137
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9137
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9138
- source: "custom" | "catalog" | "local-installed";
9138
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9139
9139
  baseURL?: string | undefined;
9140
9140
  displayName?: string | undefined;
9141
9141
  }[];
9142
9142
  recents: {
9143
+ source: "custom" | "catalog" | "local-installed";
9143
9144
  model: string;
9144
9145
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9145
- supportedFileTypes: ("image" | "audio" | "pdf")[];
9146
- source: "custom" | "catalog" | "local-installed";
9146
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
9147
9147
  baseURL?: string | undefined;
9148
9148
  displayName?: string | undefined;
9149
9149
  }[];
@@ -11065,7 +11065,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11065
11065
  provider?: string | string[] | undefined;
11066
11066
  includeModels?: "0" | "1" | "true" | "false" | undefined;
11067
11067
  hasKey?: "0" | "1" | "true" | "false" | undefined;
11068
- fileType?: "image" | "audio" | "pdf" | undefined;
11068
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
11069
11069
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
11070
11070
  mode?: "flat" | "grouped" | undefined;
11071
11071
  };
@@ -11104,7 +11104,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11104
11104
  provider?: string | string[] | undefined;
11105
11105
  includeModels?: "0" | "1" | "true" | "false" | undefined;
11106
11106
  hasKey?: "0" | "1" | "true" | "false" | undefined;
11107
- fileType?: "image" | "audio" | "pdf" | undefined;
11107
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
11108
11108
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
11109
11109
  mode?: "flat" | "grouped" | undefined;
11110
11110
  };
@@ -11143,7 +11143,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11143
11143
  provider?: string | string[] | undefined;
11144
11144
  includeModels?: "0" | "1" | "true" | "false" | undefined;
11145
11145
  hasKey?: "0" | "1" | "true" | "false" | undefined;
11146
- fileType?: "image" | "audio" | "pdf" | undefined;
11146
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
11147
11147
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
11148
11148
  mode?: "flat" | "grouped" | undefined;
11149
11149
  };
@@ -11182,7 +11182,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11182
11182
  provider?: string | string[] | undefined;
11183
11183
  includeModels?: "0" | "1" | "true" | "false" | undefined;
11184
11184
  hasKey?: "0" | "1" | "true" | "false" | undefined;
11185
- fileType?: "image" | "audio" | "pdf" | undefined;
11185
+ fileType?: "image" | "audio" | "video" | "pdf" | "document" | undefined;
11186
11186
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
11187
11187
  mode?: "flat" | "grouped" | undefined;
11188
11188
  };
@@ -11192,13 +11192,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11192
11192
  openai?: {
11193
11193
  name: string;
11194
11194
  hasApiKey: boolean;
11195
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11195
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11196
11196
  primaryEnvVar: string;
11197
11197
  supportsBaseURL: boolean;
11198
11198
  models: {
11199
11199
  name: string;
11200
11200
  maxInputTokens: number;
11201
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11201
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11202
11202
  default?: boolean | undefined;
11203
11203
  displayName?: string | undefined;
11204
11204
  pricing?: {
@@ -11214,13 +11214,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11214
11214
  "openai-compatible"?: {
11215
11215
  name: string;
11216
11216
  hasApiKey: boolean;
11217
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11217
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11218
11218
  primaryEnvVar: string;
11219
11219
  supportsBaseURL: boolean;
11220
11220
  models: {
11221
11221
  name: string;
11222
11222
  maxInputTokens: number;
11223
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11223
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11224
11224
  default?: boolean | undefined;
11225
11225
  displayName?: string | undefined;
11226
11226
  pricing?: {
@@ -11236,13 +11236,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11236
11236
  anthropic?: {
11237
11237
  name: string;
11238
11238
  hasApiKey: boolean;
11239
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11239
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11240
11240
  primaryEnvVar: string;
11241
11241
  supportsBaseURL: boolean;
11242
11242
  models: {
11243
11243
  name: string;
11244
11244
  maxInputTokens: number;
11245
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11245
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11246
11246
  default?: boolean | undefined;
11247
11247
  displayName?: string | undefined;
11248
11248
  pricing?: {
@@ -11258,13 +11258,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11258
11258
  google?: {
11259
11259
  name: string;
11260
11260
  hasApiKey: boolean;
11261
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11261
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11262
11262
  primaryEnvVar: string;
11263
11263
  supportsBaseURL: boolean;
11264
11264
  models: {
11265
11265
  name: string;
11266
11266
  maxInputTokens: number;
11267
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11267
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11268
11268
  default?: boolean | undefined;
11269
11269
  displayName?: string | undefined;
11270
11270
  pricing?: {
@@ -11280,13 +11280,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11280
11280
  groq?: {
11281
11281
  name: string;
11282
11282
  hasApiKey: boolean;
11283
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11283
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11284
11284
  primaryEnvVar: string;
11285
11285
  supportsBaseURL: boolean;
11286
11286
  models: {
11287
11287
  name: string;
11288
11288
  maxInputTokens: number;
11289
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11289
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11290
11290
  default?: boolean | undefined;
11291
11291
  displayName?: string | undefined;
11292
11292
  pricing?: {
@@ -11302,13 +11302,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11302
11302
  xai?: {
11303
11303
  name: string;
11304
11304
  hasApiKey: boolean;
11305
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11305
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11306
11306
  primaryEnvVar: string;
11307
11307
  supportsBaseURL: boolean;
11308
11308
  models: {
11309
11309
  name: string;
11310
11310
  maxInputTokens: number;
11311
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11311
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11312
11312
  default?: boolean | undefined;
11313
11313
  displayName?: string | undefined;
11314
11314
  pricing?: {
@@ -11324,13 +11324,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11324
11324
  cohere?: {
11325
11325
  name: string;
11326
11326
  hasApiKey: boolean;
11327
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11327
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11328
11328
  primaryEnvVar: string;
11329
11329
  supportsBaseURL: boolean;
11330
11330
  models: {
11331
11331
  name: string;
11332
11332
  maxInputTokens: number;
11333
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11333
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11334
11334
  default?: boolean | undefined;
11335
11335
  displayName?: string | undefined;
11336
11336
  pricing?: {
@@ -11346,13 +11346,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11346
11346
  minimax?: {
11347
11347
  name: string;
11348
11348
  hasApiKey: boolean;
11349
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11349
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11350
11350
  primaryEnvVar: string;
11351
11351
  supportsBaseURL: boolean;
11352
11352
  models: {
11353
11353
  name: string;
11354
11354
  maxInputTokens: number;
11355
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11355
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11356
11356
  default?: boolean | undefined;
11357
11357
  displayName?: string | undefined;
11358
11358
  pricing?: {
@@ -11368,13 +11368,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11368
11368
  glm?: {
11369
11369
  name: string;
11370
11370
  hasApiKey: boolean;
11371
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11371
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11372
11372
  primaryEnvVar: string;
11373
11373
  supportsBaseURL: boolean;
11374
11374
  models: {
11375
11375
  name: string;
11376
11376
  maxInputTokens: number;
11377
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11377
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11378
11378
  default?: boolean | undefined;
11379
11379
  displayName?: string | undefined;
11380
11380
  pricing?: {
@@ -11390,13 +11390,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11390
11390
  openrouter?: {
11391
11391
  name: string;
11392
11392
  hasApiKey: boolean;
11393
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11393
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11394
11394
  primaryEnvVar: string;
11395
11395
  supportsBaseURL: boolean;
11396
11396
  models: {
11397
11397
  name: string;
11398
11398
  maxInputTokens: number;
11399
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11399
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11400
11400
  default?: boolean | undefined;
11401
11401
  displayName?: string | undefined;
11402
11402
  pricing?: {
@@ -11412,13 +11412,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11412
11412
  litellm?: {
11413
11413
  name: string;
11414
11414
  hasApiKey: boolean;
11415
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11415
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11416
11416
  primaryEnvVar: string;
11417
11417
  supportsBaseURL: boolean;
11418
11418
  models: {
11419
11419
  name: string;
11420
11420
  maxInputTokens: number;
11421
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11421
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11422
11422
  default?: boolean | undefined;
11423
11423
  displayName?: string | undefined;
11424
11424
  pricing?: {
@@ -11434,13 +11434,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11434
11434
  glama?: {
11435
11435
  name: string;
11436
11436
  hasApiKey: boolean;
11437
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11437
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11438
11438
  primaryEnvVar: string;
11439
11439
  supportsBaseURL: boolean;
11440
11440
  models: {
11441
11441
  name: string;
11442
11442
  maxInputTokens: number;
11443
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11443
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11444
11444
  default?: boolean | undefined;
11445
11445
  displayName?: string | undefined;
11446
11446
  pricing?: {
@@ -11456,13 +11456,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11456
11456
  vertex?: {
11457
11457
  name: string;
11458
11458
  hasApiKey: boolean;
11459
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11459
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11460
11460
  primaryEnvVar: string;
11461
11461
  supportsBaseURL: boolean;
11462
11462
  models: {
11463
11463
  name: string;
11464
11464
  maxInputTokens: number;
11465
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11465
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11466
11466
  default?: boolean | undefined;
11467
11467
  displayName?: string | undefined;
11468
11468
  pricing?: {
@@ -11478,13 +11478,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11478
11478
  bedrock?: {
11479
11479
  name: string;
11480
11480
  hasApiKey: boolean;
11481
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11481
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11482
11482
  primaryEnvVar: string;
11483
11483
  supportsBaseURL: boolean;
11484
11484
  models: {
11485
11485
  name: string;
11486
11486
  maxInputTokens: number;
11487
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11487
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11488
11488
  default?: boolean | undefined;
11489
11489
  displayName?: string | undefined;
11490
11490
  pricing?: {
@@ -11500,13 +11500,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11500
11500
  local?: {
11501
11501
  name: string;
11502
11502
  hasApiKey: boolean;
11503
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11503
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11504
11504
  primaryEnvVar: string;
11505
11505
  supportsBaseURL: boolean;
11506
11506
  models: {
11507
11507
  name: string;
11508
11508
  maxInputTokens: number;
11509
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11509
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11510
11510
  default?: boolean | undefined;
11511
11511
  displayName?: string | undefined;
11512
11512
  pricing?: {
@@ -11522,13 +11522,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11522
11522
  ollama?: {
11523
11523
  name: string;
11524
11524
  hasApiKey: boolean;
11525
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11525
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11526
11526
  primaryEnvVar: string;
11527
11527
  supportsBaseURL: boolean;
11528
11528
  models: {
11529
11529
  name: string;
11530
11530
  maxInputTokens: number;
11531
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11531
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11532
11532
  default?: boolean | undefined;
11533
11533
  displayName?: string | undefined;
11534
11534
  pricing?: {
@@ -11544,13 +11544,13 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11544
11544
  "dexto-nova"?: {
11545
11545
  name: string;
11546
11546
  hasApiKey: boolean;
11547
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11547
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11548
11548
  primaryEnvVar: string;
11549
11549
  supportsBaseURL: boolean;
11550
11550
  models: {
11551
11551
  name: string;
11552
11552
  maxInputTokens: number;
11553
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11553
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11554
11554
  default?: boolean | undefined;
11555
11555
  displayName?: string | undefined;
11556
11556
  pricing?: {
@@ -11569,7 +11569,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11569
11569
  name: string;
11570
11570
  provider: string;
11571
11571
  maxInputTokens: number;
11572
- supportedFileTypes: ("image" | "audio" | "pdf")[];
11572
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
11573
11573
  default?: boolean | undefined;
11574
11574
  displayName?: string | undefined;
11575
11575
  pricing?: {
@@ -11594,16 +11594,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11594
11594
  apiKey?: string | undefined;
11595
11595
  model?: string | undefined;
11596
11596
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
11597
+ maxIterations?: number | undefined;
11598
+ baseURL?: string | undefined;
11597
11599
  maxInputTokens?: number | undefined;
11600
+ maxOutputTokens?: number | undefined;
11601
+ temperature?: number | undefined;
11602
+ allowedMediaTypes?: string[] | undefined;
11598
11603
  reasoning?: {
11599
11604
  variant: string;
11600
11605
  budgetTokens?: number | undefined;
11601
11606
  } | null | undefined;
11602
- temperature?: number | undefined;
11603
- maxIterations?: number | undefined;
11604
- baseURL?: string | undefined;
11605
- maxOutputTokens?: number | undefined;
11606
- allowedMediaTypes?: string[] | undefined;
11607
11607
  } & {
11608
11608
  sessionId?: string | undefined;
11609
11609
  };
@@ -11641,16 +11641,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11641
11641
  apiKey?: string | undefined;
11642
11642
  model?: string | undefined;
11643
11643
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
11644
+ maxIterations?: number | undefined;
11645
+ baseURL?: string | undefined;
11644
11646
  maxInputTokens?: number | undefined;
11647
+ maxOutputTokens?: number | undefined;
11648
+ temperature?: number | undefined;
11649
+ allowedMediaTypes?: string[] | undefined;
11645
11650
  reasoning?: {
11646
11651
  variant: string;
11647
11652
  budgetTokens?: number | undefined;
11648
11653
  } | null | undefined;
11649
- temperature?: number | undefined;
11650
- maxIterations?: number | undefined;
11651
- baseURL?: string | undefined;
11652
- maxOutputTokens?: number | undefined;
11653
- allowedMediaTypes?: string[] | undefined;
11654
11654
  } & {
11655
11655
  sessionId?: string | undefined;
11656
11656
  };
@@ -11688,16 +11688,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11688
11688
  apiKey?: string | undefined;
11689
11689
  model?: string | undefined;
11690
11690
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
11691
+ maxIterations?: number | undefined;
11692
+ baseURL?: string | undefined;
11691
11693
  maxInputTokens?: number | undefined;
11694
+ maxOutputTokens?: number | undefined;
11695
+ temperature?: number | undefined;
11696
+ allowedMediaTypes?: string[] | undefined;
11692
11697
  reasoning?: {
11693
11698
  variant: string;
11694
11699
  budgetTokens?: number | undefined;
11695
11700
  } | null | undefined;
11696
- temperature?: number | undefined;
11697
- maxIterations?: number | undefined;
11698
- baseURL?: string | undefined;
11699
- maxOutputTokens?: number | undefined;
11700
- allowedMediaTypes?: string[] | undefined;
11701
11701
  } & {
11702
11702
  sessionId?: string | undefined;
11703
11703
  };
@@ -11735,16 +11735,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11735
11735
  apiKey?: string | undefined;
11736
11736
  model?: string | undefined;
11737
11737
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
11738
+ maxIterations?: number | undefined;
11739
+ baseURL?: string | undefined;
11738
11740
  maxInputTokens?: number | undefined;
11741
+ maxOutputTokens?: number | undefined;
11742
+ temperature?: number | undefined;
11743
+ allowedMediaTypes?: string[] | undefined;
11739
11744
  reasoning?: {
11740
11745
  variant: string;
11741
11746
  budgetTokens?: number | undefined;
11742
11747
  } | null | undefined;
11743
- temperature?: number | undefined;
11744
- maxIterations?: number | undefined;
11745
- baseURL?: string | undefined;
11746
- maxOutputTokens?: number | undefined;
11747
- allowedMediaTypes?: string[] | undefined;
11748
11748
  } & {
11749
11749
  sessionId?: string | undefined;
11750
11750
  };
@@ -11775,16 +11775,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
11775
11775
  apiKey?: string | undefined;
11776
11776
  model?: string | undefined;
11777
11777
  provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
11778
+ maxIterations?: number | undefined;
11779
+ baseURL?: string | undefined;
11778
11780
  maxInputTokens?: number | undefined;
11781
+ maxOutputTokens?: number | undefined;
11782
+ temperature?: number | undefined;
11783
+ allowedMediaTypes?: string[] | undefined;
11779
11784
  reasoning?: {
11780
11785
  variant: string;
11781
11786
  budgetTokens?: number | undefined;
11782
11787
  } | null | undefined;
11783
- temperature?: number | undefined;
11784
- maxIterations?: number | undefined;
11785
- baseURL?: string | undefined;
11786
- maxOutputTokens?: number | undefined;
11787
- allowedMediaTypes?: string[] | undefined;
11788
11788
  } & {
11789
11789
  sessionId?: string | undefined;
11790
11790
  };
@@ -12266,34 +12266,34 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
12266
12266
  input: {};
12267
12267
  output: {
12268
12268
  custom: {
12269
+ source: "custom" | "catalog" | "local-installed";
12269
12270
  model: string;
12270
12271
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
12271
- supportedFileTypes: ("image" | "audio" | "pdf")[];
12272
- source: "custom" | "catalog" | "local-installed";
12272
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
12273
12273
  baseURL?: string | undefined;
12274
12274
  displayName?: string | undefined;
12275
12275
  }[];
12276
12276
  favorites: {
12277
+ source: "custom" | "catalog" | "local-installed";
12277
12278
  model: string;
12278
12279
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
12279
- supportedFileTypes: ("image" | "audio" | "pdf")[];
12280
- source: "custom" | "catalog" | "local-installed";
12280
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
12281
12281
  baseURL?: string | undefined;
12282
12282
  displayName?: string | undefined;
12283
12283
  }[];
12284
12284
  featured: {
12285
+ source: "custom" | "catalog" | "local-installed";
12285
12286
  model: string;
12286
12287
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
12287
- supportedFileTypes: ("image" | "audio" | "pdf")[];
12288
- source: "custom" | "catalog" | "local-installed";
12288
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
12289
12289
  baseURL?: string | undefined;
12290
12290
  displayName?: string | undefined;
12291
12291
  }[];
12292
12292
  recents: {
12293
+ source: "custom" | "catalog" | "local-installed";
12293
12294
  model: string;
12294
12295
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
12295
- supportedFileTypes: ("image" | "audio" | "pdf")[];
12296
- source: "custom" | "catalog" | "local-installed";
12296
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
12297
12297
  baseURL?: string | undefined;
12298
12298
  displayName?: string | undefined;
12299
12299
  }[];
@@ -12722,7 +12722,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
12722
12722
  };
12723
12723
  model: string;
12724
12724
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
12725
- supportedFileTypes: ("image" | "audio" | "pdf")[];
12725
+ supportedFileTypes: ("image" | "audio" | "video" | "pdf" | "document")[];
12726
12726
  };
12727
12727
  outputFormat: "json";
12728
12728
  status: 200;