@dexto/server 1.5.7 → 1.5.8

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.
@@ -226,11 +226,11 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
226
226
  $get: {
227
227
  input: {
228
228
  param: {
229
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
229
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
230
230
  };
231
231
  };
232
232
  output: {
233
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
233
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
234
234
  hasKey: boolean;
235
235
  envVar: string;
236
236
  keyValue?: string | undefined;
@@ -244,12 +244,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
244
244
  $post: {
245
245
  input: {
246
246
  json: {
247
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
247
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
248
248
  apiKey: string;
249
249
  };
250
250
  };
251
251
  output: {
252
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
252
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
253
253
  ok: true;
254
254
  envVar: string;
255
255
  };
@@ -348,6 +348,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
348
348
  metadata?: {
349
349
  [x: string]: import("hono/utils/types").JSONValue;
350
350
  } | undefined;
351
+ kind?: "default" | "background" | undefined;
351
352
  }[];
352
353
  count: number;
353
354
  };
@@ -377,6 +378,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
377
378
  data: string;
378
379
  filename?: string | undefined;
379
380
  })[];
381
+ kind?: "default" | "background" | undefined;
380
382
  };
381
383
  };
382
384
  output: {};
@@ -402,6 +404,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
402
404
  data: string;
403
405
  filename?: string | undefined;
404
406
  })[];
407
+ kind?: "default" | "background" | undefined;
405
408
  };
406
409
  };
407
410
  output: {
@@ -1591,7 +1594,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1591
1594
  totalTokens?: number | undefined;
1592
1595
  } | undefined;
1593
1596
  model?: string | undefined;
1594
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1597
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1595
1598
  toolCalls?: {
1596
1599
  function: {
1597
1600
  name: string;
@@ -1673,7 +1676,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1673
1676
  totalTokens?: number | undefined;
1674
1677
  } | undefined;
1675
1678
  model?: string | undefined;
1676
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1679
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1677
1680
  toolCalls?: {
1678
1681
  function: {
1679
1682
  name: string;
@@ -1806,7 +1809,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1806
1809
  totalTokens?: number | undefined;
1807
1810
  } | undefined;
1808
1811
  model?: string | undefined;
1809
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1812
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1810
1813
  toolCalls?: {
1811
1814
  function: {
1812
1815
  name: string;
@@ -1956,7 +1959,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1956
1959
  output: {
1957
1960
  config: {
1958
1961
  model: string;
1959
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
1962
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
1960
1963
  maxIterations?: number | undefined;
1961
1964
  baseURL?: string | undefined;
1962
1965
  maxInputTokens?: number | undefined;
@@ -1981,6 +1984,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
1981
1984
  input: {
1982
1985
  query: {
1983
1986
  provider?: string | string[] | undefined;
1987
+ scope?: "curated" | "all" | undefined;
1988
+ includeModels?: "0" | "1" | "true" | "false" | undefined;
1984
1989
  hasKey?: "0" | "1" | "true" | "false" | undefined;
1985
1990
  fileType?: "image" | "audio" | "pdf" | undefined;
1986
1991
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
@@ -2341,7 +2346,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2341
2346
  } | undefined;
2342
2347
  }[];
2343
2348
  } | undefined;
2344
- dexto?: {
2349
+ "dexto-nova"?: {
2345
2350
  name: string;
2346
2351
  hasApiKey: boolean;
2347
2352
  supportedFileTypes: ("image" | "audio" | "pdf")[];
@@ -2392,7 +2397,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2392
2397
  input: {
2393
2398
  json: {
2394
2399
  model?: string | undefined;
2395
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2400
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2396
2401
  apiKey?: string | undefined;
2397
2402
  maxInputTokens?: number | undefined;
2398
2403
  maxIterations?: number | undefined;
@@ -2408,7 +2413,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2408
2413
  output: {
2409
2414
  config: {
2410
2415
  model: string;
2411
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
2416
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2412
2417
  maxIterations?: number | undefined;
2413
2418
  baseURL?: string | undefined;
2414
2419
  maxInputTokens?: number | undefined;
@@ -2431,7 +2436,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2431
2436
  output: {
2432
2437
  models: {
2433
2438
  name: string;
2434
- provider: "dexto" | "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
2439
+ provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2435
2440
  apiKey?: string | undefined | undefined;
2436
2441
  baseURL?: string | undefined | undefined;
2437
2442
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined | undefined;
@@ -2451,7 +2456,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2451
2456
  input: {
2452
2457
  json: {
2453
2458
  name: string;
2454
- provider?: "dexto" | "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
2459
+ provider?: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2455
2460
  apiKey?: string | undefined;
2456
2461
  baseURL?: string | undefined;
2457
2462
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -2464,7 +2469,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2464
2469
  output: {
2465
2470
  model: {
2466
2471
  name: string;
2467
- provider: "dexto" | "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
2472
+ provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2468
2473
  apiKey?: string | undefined | undefined;
2469
2474
  baseURL?: string | undefined | undefined;
2470
2475
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined | undefined;
@@ -2513,12 +2518,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2513
2518
  input: {
2514
2519
  query: {
2515
2520
  model: string;
2516
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
2521
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2517
2522
  };
2518
2523
  };
2519
2524
  output: {
2520
2525
  model: string;
2521
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
2526
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2522
2527
  supportedFileTypes: ("image" | "audio" | "pdf")[];
2523
2528
  };
2524
2529
  outputFormat: "json";
@@ -2630,7 +2635,7 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
2630
2635
  totalTokens?: number | undefined;
2631
2636
  } | undefined;
2632
2637
  model?: string | undefined;
2633
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2638
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2634
2639
  };
2635
2640
  outputFormat: "json";
2636
2641
  status: 200;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hono/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAgBzD,OAAO,EAAsB,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AASlF,OAAO,EAGH,KAAK,kBAAkB,EAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAKxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AA+B1E,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,UAAU,CAAC;IACrB,YAAY,EAAE,MAAM,SAAS,CAAC;IAC9B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,iBAAiB,EAAE,sBAAsB,CAAC;IAC1C,aAAa,EAAE,qBAAqB,CAAC;IACrC,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,qFAAqF;IACrF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAKF,wBAAgB,cA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA4M5D;AAID,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAGxD,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -13,11 +13,11 @@ export declare function createKeyRouter(): OpenAPIHono<import("hono").Env, {
13
13
  $get: {
14
14
  input: {
15
15
  param: {
16
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
16
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
17
17
  };
18
18
  };
19
19
  output: {
20
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
20
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
21
21
  hasKey: boolean;
22
22
  envVar: string;
23
23
  keyValue?: string | undefined;
@@ -31,12 +31,12 @@ export declare function createKeyRouter(): OpenAPIHono<import("hono").Env, {
31
31
  $post: {
32
32
  input: {
33
33
  json: {
34
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
34
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
35
35
  apiKey: string;
36
36
  };
37
37
  };
38
38
  output: {
39
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
39
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
40
40
  ok: true;
41
41
  envVar: string;
42
42
  };
@@ -28,11 +28,17 @@ var import_agent_management = require("@dexto/agent-management");
28
28
  var import_responses = require("../schemas/responses.js");
29
29
  const CurrentQuerySchema = import_zod_openapi.z.object({
30
30
  sessionId: import_zod_openapi.z.string().optional().describe("Session identifier to retrieve session-specific LLM configuration")
31
- }).describe("Query parameters for getting current LLM configuration");
31
+ }).strict().describe("Query parameters for getting current LLM configuration");
32
32
  const CatalogQuerySchema = import_zod_openapi.z.object({
33
+ scope: import_zod_openapi.z.enum(["curated", "all"]).default("all").describe(
34
+ "Catalog scope: 'curated' returns a small, UI-friendly set of models; 'all' returns the full registry (can be large)"
35
+ ),
33
36
  provider: import_zod_openapi.z.union([import_zod_openapi.z.string(), import_zod_openapi.z.array(import_zod_openapi.z.string())]).optional().transform(
34
37
  (value) => Array.isArray(value) ? value : value ? value.split(",") : void 0
35
38
  ).describe("Comma-separated list of LLM providers to filter by"),
39
+ includeModels: import_zod_openapi.z.union([import_zod_openapi.z.literal("true"), import_zod_openapi.z.literal("false"), import_zod_openapi.z.literal("1"), import_zod_openapi.z.literal("0")]).optional().transform(
40
+ (raw) => raw === "true" || raw === "1" ? true : raw === "false" || raw === "0" ? false : void 0
41
+ ).describe("Include models list in the response (true or false)"),
36
42
  hasKey: import_zod_openapi.z.union([import_zod_openapi.z.literal("true"), import_zod_openapi.z.literal("false"), import_zod_openapi.z.literal("1"), import_zod_openapi.z.literal("0")]).optional().transform(
37
43
  (raw) => raw === "true" || raw === "1" ? true : raw === "false" || raw === "0" ? false : void 0
38
44
  ).describe("Filter by API key presence (true or false)"),
@@ -41,7 +47,7 @@ const CatalogQuerySchema = import_zod_openapi.z.object({
41
47
  (raw) => raw === "true" || raw === "1" ? true : raw === "false" || raw === "0" ? false : void 0
42
48
  ).describe("Include only default models (true or false)"),
43
49
  mode: import_zod_openapi.z.enum(["grouped", "flat"]).default("grouped").describe("Response format mode (grouped by provider or flat list)")
44
- }).describe("Query parameters for filtering and formatting the LLM catalog");
50
+ }).strict().describe("Query parameters for filtering and formatting the LLM catalog");
45
51
  const SwitchLLMBodySchema = import_core2.LLMUpdatesSchema.and(
46
52
  import_zod_openapi.z.object({
47
53
  sessionId: import_zod_openapi.z.string().optional().describe("Session identifier for session-specific LLM configuration")
@@ -224,7 +230,7 @@ function createLlmRouter(getAgent) {
224
230
  method: "get",
225
231
  path: "/llm/capabilities",
226
232
  summary: "Get Model Capabilities",
227
- description: "Returns the capabilities (supported file types) for a specific provider/model combination. Handles gateway providers (dexto, openrouter) by resolving to the underlying model capabilities.",
233
+ description: "Returns the capabilities (supported file types) for a specific provider/model combination. Handles gateway providers (dexto-nova, openrouter) by resolving to the underlying model capabilities.",
228
234
  tags: ["llm"],
229
235
  request: {
230
236
  query: import_zod_openapi.z.object({
@@ -267,7 +273,7 @@ function createLlmRouter(getAgent) {
267
273
  } catch {
268
274
  }
269
275
  const { apiKey, ...configWithoutKey } = currentConfig;
270
- const viaDexto = (0, import_agent_management.isDextoAuthEnabled)() && currentConfig.provider === "dexto";
276
+ const viaDexto = (0, import_agent_management.isDextoAuthEnabled)() && currentConfig.provider === "dexto-nova";
271
277
  return ctx.json({
272
278
  config: {
273
279
  ...configWithoutKey,
@@ -280,15 +286,23 @@ function createLlmRouter(getAgent) {
280
286
  });
281
287
  }).openapi(catalogRoute, (ctx) => {
282
288
  const queryParams = ctx.req.valid("query");
289
+ const includeModels = queryParams.includeModels ?? true;
290
+ const scope = queryParams.scope ?? "all";
283
291
  const providers = {};
284
292
  for (const provider of import_core2.LLM_PROVIDERS) {
285
- if (provider === "dexto" && !(0, import_agent_management.isDextoAuthEnabled)()) {
293
+ if (provider === "dexto-nova" && !(0, import_agent_management.isDextoAuthEnabled)()) {
286
294
  continue;
287
295
  }
288
296
  const info = import_core2.LLM_REGISTRY[provider];
289
- const displayName = provider.charAt(0).toUpperCase() + provider.slice(1);
297
+ const displayName = provider === "dexto-nova" ? "Dexto Nova" : provider.charAt(0).toUpperCase() + provider.slice(1);
290
298
  const keyStatus = (0, import_agent_management.getProviderKeyStatus)(provider);
291
- const models = (0, import_core2.getAllModelsForProvider)(provider);
299
+ const models = (() => {
300
+ if (!includeModels) return [];
301
+ if (scope === "all") {
302
+ return (0, import_core2.getAllModelsForProvider)(provider);
303
+ }
304
+ return (0, import_core2.getCuratedModelsForProvider)(provider);
305
+ })();
292
306
  providers[provider] = {
293
307
  name: displayName,
294
308
  hasApiKey: keyStatus.hasApiKey,
@@ -13,7 +13,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
13
13
  output: {
14
14
  config: {
15
15
  model: string;
16
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
16
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
17
17
  maxIterations?: number | undefined;
18
18
  baseURL?: string | undefined;
19
19
  maxInputTokens?: number | undefined;
@@ -38,6 +38,8 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
38
38
  input: {
39
39
  query: {
40
40
  provider?: string | string[] | undefined;
41
+ scope?: "curated" | "all" | undefined;
42
+ includeModels?: "0" | "1" | "true" | "false" | undefined;
41
43
  hasKey?: "0" | "1" | "true" | "false" | undefined;
42
44
  fileType?: "image" | "audio" | "pdf" | undefined;
43
45
  defaultOnly?: "0" | "1" | "true" | "false" | undefined;
@@ -398,7 +400,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
398
400
  } | undefined;
399
401
  }[];
400
402
  } | undefined;
401
- dexto?: {
403
+ "dexto-nova"?: {
402
404
  name: string;
403
405
  hasApiKey: boolean;
404
406
  supportedFileTypes: ("image" | "audio" | "pdf")[];
@@ -449,7 +451,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
449
451
  input: {
450
452
  json: {
451
453
  model?: string | undefined;
452
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
454
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
453
455
  apiKey?: string | undefined;
454
456
  maxInputTokens?: number | undefined;
455
457
  maxIterations?: number | undefined;
@@ -465,7 +467,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
465
467
  output: {
466
468
  config: {
467
469
  model: string;
468
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
470
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
469
471
  maxIterations?: number | undefined;
470
472
  baseURL?: string | undefined;
471
473
  maxInputTokens?: number | undefined;
@@ -488,7 +490,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
488
490
  output: {
489
491
  models: {
490
492
  name: string;
491
- provider: "dexto" | "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
493
+ provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
492
494
  apiKey?: string | undefined | undefined;
493
495
  baseURL?: string | undefined | undefined;
494
496
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined | undefined;
@@ -508,7 +510,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
508
510
  input: {
509
511
  json: {
510
512
  name: string;
511
- provider?: "dexto" | "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | undefined;
513
+ provider?: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
512
514
  apiKey?: string | undefined;
513
515
  baseURL?: string | undefined;
514
516
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -521,7 +523,7 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
521
523
  output: {
522
524
  model: {
523
525
  name: string;
524
- provider: "dexto" | "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
526
+ provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
525
527
  apiKey?: string | undefined | undefined;
526
528
  baseURL?: string | undefined | undefined;
527
529
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined | undefined;
@@ -570,12 +572,12 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
570
572
  input: {
571
573
  query: {
572
574
  model: string;
573
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
575
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
574
576
  };
575
577
  };
576
578
  output: {
577
579
  model: string;
578
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
580
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
579
581
  supportedFileTypes: ("image" | "audio" | "pdf")[];
580
582
  };
581
583
  outputFormat: "json";
@@ -1 +1 @@
1
- {"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/llm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAsB9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAOpC,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAgErE,wB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwdnD"}
@@ -6,6 +6,7 @@ import {
6
6
  SUPPORTED_FILE_TYPES,
7
7
  supportsBaseURL,
8
8
  getAllModelsForProvider,
9
+ getCuratedModelsForProvider,
9
10
  getSupportedFileTypesForModel,
10
11
  LLMUpdatesSchema
11
12
  } from "@dexto/core";
@@ -24,11 +25,17 @@ import {
24
25
  } from "../schemas/responses.js";
25
26
  const CurrentQuerySchema = z.object({
26
27
  sessionId: z.string().optional().describe("Session identifier to retrieve session-specific LLM configuration")
27
- }).describe("Query parameters for getting current LLM configuration");
28
+ }).strict().describe("Query parameters for getting current LLM configuration");
28
29
  const CatalogQuerySchema = z.object({
30
+ scope: z.enum(["curated", "all"]).default("all").describe(
31
+ "Catalog scope: 'curated' returns a small, UI-friendly set of models; 'all' returns the full registry (can be large)"
32
+ ),
29
33
  provider: z.union([z.string(), z.array(z.string())]).optional().transform(
30
34
  (value) => Array.isArray(value) ? value : value ? value.split(",") : void 0
31
35
  ).describe("Comma-separated list of LLM providers to filter by"),
36
+ includeModels: z.union([z.literal("true"), z.literal("false"), z.literal("1"), z.literal("0")]).optional().transform(
37
+ (raw) => raw === "true" || raw === "1" ? true : raw === "false" || raw === "0" ? false : void 0
38
+ ).describe("Include models list in the response (true or false)"),
32
39
  hasKey: z.union([z.literal("true"), z.literal("false"), z.literal("1"), z.literal("0")]).optional().transform(
33
40
  (raw) => raw === "true" || raw === "1" ? true : raw === "false" || raw === "0" ? false : void 0
34
41
  ).describe("Filter by API key presence (true or false)"),
@@ -37,7 +44,7 @@ const CatalogQuerySchema = z.object({
37
44
  (raw) => raw === "true" || raw === "1" ? true : raw === "false" || raw === "0" ? false : void 0
38
45
  ).describe("Include only default models (true or false)"),
39
46
  mode: z.enum(["grouped", "flat"]).default("grouped").describe("Response format mode (grouped by provider or flat list)")
40
- }).describe("Query parameters for filtering and formatting the LLM catalog");
47
+ }).strict().describe("Query parameters for filtering and formatting the LLM catalog");
41
48
  const SwitchLLMBodySchema = LLMUpdatesSchema.and(
42
49
  z.object({
43
50
  sessionId: z.string().optional().describe("Session identifier for session-specific LLM configuration")
@@ -220,7 +227,7 @@ function createLlmRouter(getAgent) {
220
227
  method: "get",
221
228
  path: "/llm/capabilities",
222
229
  summary: "Get Model Capabilities",
223
- description: "Returns the capabilities (supported file types) for a specific provider/model combination. Handles gateway providers (dexto, openrouter) by resolving to the underlying model capabilities.",
230
+ description: "Returns the capabilities (supported file types) for a specific provider/model combination. Handles gateway providers (dexto-nova, openrouter) by resolving to the underlying model capabilities.",
224
231
  tags: ["llm"],
225
232
  request: {
226
233
  query: z.object({
@@ -263,7 +270,7 @@ function createLlmRouter(getAgent) {
263
270
  } catch {
264
271
  }
265
272
  const { apiKey, ...configWithoutKey } = currentConfig;
266
- const viaDexto = isDextoAuthEnabled() && currentConfig.provider === "dexto";
273
+ const viaDexto = isDextoAuthEnabled() && currentConfig.provider === "dexto-nova";
267
274
  return ctx.json({
268
275
  config: {
269
276
  ...configWithoutKey,
@@ -276,15 +283,23 @@ function createLlmRouter(getAgent) {
276
283
  });
277
284
  }).openapi(catalogRoute, (ctx) => {
278
285
  const queryParams = ctx.req.valid("query");
286
+ const includeModels = queryParams.includeModels ?? true;
287
+ const scope = queryParams.scope ?? "all";
279
288
  const providers = {};
280
289
  for (const provider of LLM_PROVIDERS) {
281
- if (provider === "dexto" && !isDextoAuthEnabled()) {
290
+ if (provider === "dexto-nova" && !isDextoAuthEnabled()) {
282
291
  continue;
283
292
  }
284
293
  const info = LLM_REGISTRY[provider];
285
- const displayName = provider.charAt(0).toUpperCase() + provider.slice(1);
294
+ const displayName = provider === "dexto-nova" ? "Dexto Nova" : provider.charAt(0).toUpperCase() + provider.slice(1);
286
295
  const keyStatus = getProviderKeyStatus(provider);
287
- const models = getAllModelsForProvider(provider);
296
+ const models = (() => {
297
+ if (!includeModels) return [];
298
+ if (scope === "all") {
299
+ return getAllModelsForProvider(provider);
300
+ }
301
+ return getCuratedModelsForProvider(provider);
302
+ })();
288
303
  providers[provider] = {
289
304
  name: displayName,
290
305
  hasApiKey: keyStatus.hasApiKey,
@@ -106,7 +106,7 @@ export declare function createMessagesRouter(getAgent: GetAgentFn, approvalCoord
106
106
  totalTokens?: number | undefined;
107
107
  } | undefined;
108
108
  model?: string | undefined;
109
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
109
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
110
110
  };
111
111
  outputFormat: "json";
112
112
  status: 200;
@@ -27,7 +27,8 @@ const QueuedMessageSchema = import_zod_openapi.z.object({
27
27
  id: import_zod_openapi.z.string().describe("Unique identifier for the queued message"),
28
28
  content: import_zod_openapi.z.array(import_responses.ContentPartSchema).describe("Message content parts"),
29
29
  queuedAt: import_zod_openapi.z.number().describe("Unix timestamp when message was queued"),
30
- metadata: import_zod_openapi.z.record(import_zod_openapi.z.unknown()).optional().describe("Optional metadata")
30
+ metadata: import_zod_openapi.z.record(import_zod_openapi.z.unknown()).optional().describe("Optional metadata"),
31
+ kind: import_zod_openapi.z.enum(["default", "background"]).optional().describe("Optional queued message kind")
31
32
  }).strict().describe("A message waiting in the queue");
32
33
  const TextPartSchema = import_zod_openapi.z.object({
33
34
  type: import_zod_openapi.z.literal("text").describe("Content type identifier"),
@@ -46,7 +47,8 @@ const FilePartSchema = import_zod_openapi.z.object({
46
47
  }).describe("File content part");
47
48
  const QueueContentPartSchema = import_zod_openapi.z.discriminatedUnion("type", [TextPartSchema, ImagePartSchema, FilePartSchema]).describe("Content part - text, image, or file");
48
49
  const QueueMessageBodySchema = import_zod_openapi.z.object({
49
- content: import_zod_openapi.z.union([import_zod_openapi.z.string(), import_zod_openapi.z.array(QueueContentPartSchema)]).describe("Message content - string for text, or ContentPart[] for multimodal")
50
+ content: import_zod_openapi.z.union([import_zod_openapi.z.string(), import_zod_openapi.z.array(QueueContentPartSchema)]).describe("Message content - string for text, or ContentPart[] for multimodal"),
51
+ kind: import_zod_openapi.z.enum(["default", "background"]).optional().describe("Optional queued message kind")
50
52
  }).describe("Request body for queueing a message");
51
53
  function createQueueRouter(getAgent) {
52
54
  const app = new import_zod_openapi.OpenAPIHono();
@@ -172,7 +174,11 @@ function createQueueRouter(getAgent) {
172
174
  const { sessionId } = ctx.req.valid("param");
173
175
  const { content: rawContent } = ctx.req.valid("json");
174
176
  const content = typeof rawContent === "string" ? [{ type: "text", text: rawContent }] : rawContent;
175
- const result = await agent.queueMessage(sessionId, { content });
177
+ const { kind } = ctx.req.valid("json");
178
+ const result = await agent.queueMessage(sessionId, {
179
+ content,
180
+ ...kind !== void 0 && { kind }
181
+ });
176
182
  return ctx.json(
177
183
  {
178
184
  queued: result.queued,
@@ -52,6 +52,7 @@ export declare function createQueueRouter(getAgent: GetAgentFn): OpenAPIHono<imp
52
52
  metadata?: {
53
53
  [x: string]: import("hono/utils/types").JSONValue;
54
54
  } | undefined;
55
+ kind?: "default" | "background" | undefined;
55
56
  }[];
56
57
  count: number;
57
58
  };
@@ -81,6 +82,7 @@ export declare function createQueueRouter(getAgent: GetAgentFn): OpenAPIHono<imp
81
82
  data: string;
82
83
  filename?: string | undefined;
83
84
  })[];
85
+ kind?: "default" | "background" | undefined;
84
86
  };
85
87
  };
86
88
  output: {};
@@ -106,6 +108,7 @@ export declare function createQueueRouter(getAgent: GetAgentFn): OpenAPIHono<imp
106
108
  data: string;
107
109
  filename?: string | undefined;
108
110
  })[];
111
+ kind?: "default" | "background" | undefined;
109
112
  };
110
113
  };
111
114
  output: {
@@ -1 +1 @@
1
- {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAe,MAAM,aAAa,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAqDrE,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoLrD"}
1
+ {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAe,MAAM,aAAa,CAAC;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAuDrE,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwLrD"}
@@ -4,7 +4,8 @@ const QueuedMessageSchema = z.object({
4
4
  id: z.string().describe("Unique identifier for the queued message"),
5
5
  content: z.array(ContentPartSchema).describe("Message content parts"),
6
6
  queuedAt: z.number().describe("Unix timestamp when message was queued"),
7
- metadata: z.record(z.unknown()).optional().describe("Optional metadata")
7
+ metadata: z.record(z.unknown()).optional().describe("Optional metadata"),
8
+ kind: z.enum(["default", "background"]).optional().describe("Optional queued message kind")
8
9
  }).strict().describe("A message waiting in the queue");
9
10
  const TextPartSchema = z.object({
10
11
  type: z.literal("text").describe("Content type identifier"),
@@ -23,7 +24,8 @@ const FilePartSchema = z.object({
23
24
  }).describe("File content part");
24
25
  const QueueContentPartSchema = z.discriminatedUnion("type", [TextPartSchema, ImagePartSchema, FilePartSchema]).describe("Content part - text, image, or file");
25
26
  const QueueMessageBodySchema = z.object({
26
- content: z.union([z.string(), z.array(QueueContentPartSchema)]).describe("Message content - string for text, or ContentPart[] for multimodal")
27
+ content: z.union([z.string(), z.array(QueueContentPartSchema)]).describe("Message content - string for text, or ContentPart[] for multimodal"),
28
+ kind: z.enum(["default", "background"]).optional().describe("Optional queued message kind")
27
29
  }).describe("Request body for queueing a message");
28
30
  function createQueueRouter(getAgent) {
29
31
  const app = new OpenAPIHono();
@@ -149,7 +151,11 @@ function createQueueRouter(getAgent) {
149
151
  const { sessionId } = ctx.req.valid("param");
150
152
  const { content: rawContent } = ctx.req.valid("json");
151
153
  const content = typeof rawContent === "string" ? [{ type: "text", text: rawContent }] : rawContent;
152
- const result = await agent.queueMessage(sessionId, { content });
154
+ const { kind } = ctx.req.valid("json");
155
+ const result = await agent.queueMessage(sessionId, {
156
+ content,
157
+ ...kind !== void 0 && { kind }
158
+ });
153
159
  return ctx.json(
154
160
  {
155
161
  queued: result.queued,
@@ -56,7 +56,7 @@ export declare function createSearchRouter(getAgent: GetAgentFn): OpenAPIHono<im
56
56
  totalTokens?: number | undefined;
57
57
  } | undefined;
58
58
  model?: string | undefined;
59
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
59
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
60
60
  toolCalls?: {
61
61
  function: {
62
62
  name: string;
@@ -138,7 +138,7 @@ export declare function createSearchRouter(getAgent: GetAgentFn): OpenAPIHono<im
138
138
  totalTokens?: number | undefined;
139
139
  } | undefined;
140
140
  model?: string | undefined;
141
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
141
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
142
142
  toolCalls?: {
143
143
  function: {
144
144
  name: string;
@@ -108,7 +108,7 @@ export declare function createSessionsRouter(getAgent: GetAgentFn): OpenAPIHono<
108
108
  totalTokens?: number | undefined;
109
109
  } | undefined;
110
110
  model?: string | undefined;
111
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
111
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
112
112
  toolCalls?: {
113
113
  function: {
114
114
  name: string;
@@ -380,7 +380,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
380
380
  totalTokens?: number | undefined;
381
381
  }>>;
382
382
  model: z.ZodOptional<z.ZodString>;
383
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
383
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
384
384
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
385
385
  id: z.ZodString;
386
386
  type: z.ZodLiteral<"function">;
@@ -451,7 +451,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
451
451
  totalTokens?: number | undefined;
452
452
  } | undefined;
453
453
  model?: string | undefined;
454
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
454
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
455
455
  toolCalls?: {
456
456
  function: {
457
457
  name: string;
@@ -501,7 +501,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
501
501
  totalTokens?: number | undefined;
502
502
  } | undefined;
503
503
  model?: string | undefined;
504
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
504
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
505
505
  toolCalls?: {
506
506
  function: {
507
507
  name: string;
@@ -521,7 +521,7 @@ export type ToolCall = z.output<typeof ToolCallSchema>;
521
521
  export type TokenUsage = z.output<typeof TokenUsageSchema>;
522
522
  export type InternalMessage = z.output<typeof InternalMessageSchema>;
523
523
  export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
524
- provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
524
+ provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
525
525
  model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
526
526
  apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
527
527
  maxIterations: z.ZodOptional<z.ZodNumber>;
@@ -535,7 +535,7 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
535
535
  hasApiKey: z.ZodOptional<z.ZodBoolean>;
536
536
  }, "strict", z.ZodTypeAny, {
537
537
  model: string;
538
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
538
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
539
539
  maxIterations?: number | undefined;
540
540
  baseURL?: string | undefined;
541
541
  maxInputTokens?: number | undefined;
@@ -546,7 +546,7 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
546
546
  hasApiKey?: boolean | undefined;
547
547
  }, {
548
548
  model: string;
549
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
549
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
550
550
  maxIterations?: number | undefined;
551
551
  baseURL?: string | undefined;
552
552
  maxInputTokens?: number | undefined;
@@ -557,7 +557,7 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
557
557
  hasApiKey?: boolean | undefined;
558
558
  }>;
559
559
  export declare const LLMConfigSchema: z.ZodObject<{
560
- provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
560
+ provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
561
561
  model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
562
562
  apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
563
563
  maxIterations: z.ZodOptional<z.ZodNumber>;
@@ -569,7 +569,7 @@ export declare const LLMConfigSchema: z.ZodObject<{
569
569
  reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
570
570
  }, "strict", z.ZodTypeAny, {
571
571
  model: string;
572
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
572
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
573
573
  apiKey?: string | undefined;
574
574
  maxInputTokens?: number | undefined;
575
575
  maxIterations?: number | undefined;
@@ -580,7 +580,7 @@ export declare const LLMConfigSchema: z.ZodObject<{
580
580
  reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
581
581
  }, {
582
582
  model: string;
583
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
583
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
584
584
  apiKey?: string | undefined;
585
585
  maxInputTokens?: number | undefined;
586
586
  maxIterations?: number | undefined;
@@ -733,7 +733,7 @@ export declare const SearchResultSchema: z.ZodObject<{
733
733
  totalTokens?: number | undefined;
734
734
  }>>;
735
735
  model: z.ZodOptional<z.ZodString>;
736
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
736
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
737
737
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
738
738
  id: z.ZodString;
739
739
  type: z.ZodLiteral<"function">;
@@ -804,7 +804,7 @@ export declare const SearchResultSchema: z.ZodObject<{
804
804
  totalTokens?: number | undefined;
805
805
  } | undefined;
806
806
  model?: string | undefined;
807
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
807
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
808
808
  toolCalls?: {
809
809
  function: {
810
810
  name: string;
@@ -854,7 +854,7 @@ export declare const SearchResultSchema: z.ZodObject<{
854
854
  totalTokens?: number | undefined;
855
855
  } | undefined;
856
856
  model?: string | undefined;
857
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
857
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
858
858
  toolCalls?: {
859
859
  function: {
860
860
  name: string;
@@ -909,7 +909,7 @@ export declare const SearchResultSchema: z.ZodObject<{
909
909
  totalTokens?: number | undefined;
910
910
  } | undefined;
911
911
  model?: string | undefined;
912
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
912
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
913
913
  toolCalls?: {
914
914
  function: {
915
915
  name: string;
@@ -965,7 +965,7 @@ export declare const SearchResultSchema: z.ZodObject<{
965
965
  totalTokens?: number | undefined;
966
966
  } | undefined;
967
967
  model?: string | undefined;
968
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
968
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
969
969
  toolCalls?: {
970
970
  function: {
971
971
  name: string;
@@ -1104,7 +1104,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1104
1104
  totalTokens?: number | undefined;
1105
1105
  }>>;
1106
1106
  model: z.ZodOptional<z.ZodString>;
1107
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
1107
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
1108
1108
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1109
1109
  id: z.ZodString;
1110
1110
  type: z.ZodLiteral<"function">;
@@ -1175,7 +1175,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1175
1175
  totalTokens?: number | undefined;
1176
1176
  } | undefined;
1177
1177
  model?: string | undefined;
1178
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1178
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1179
1179
  toolCalls?: {
1180
1180
  function: {
1181
1181
  name: string;
@@ -1225,7 +1225,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1225
1225
  totalTokens?: number | undefined;
1226
1226
  } | undefined;
1227
1227
  model?: string | undefined;
1228
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1228
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1229
1229
  toolCalls?: {
1230
1230
  function: {
1231
1231
  name: string;
@@ -1280,7 +1280,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1280
1280
  totalTokens?: number | undefined;
1281
1281
  } | undefined;
1282
1282
  model?: string | undefined;
1283
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1283
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1284
1284
  toolCalls?: {
1285
1285
  function: {
1286
1286
  name: string;
@@ -1336,7 +1336,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1336
1336
  totalTokens?: number | undefined;
1337
1337
  } | undefined;
1338
1338
  model?: string | undefined;
1339
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1339
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1340
1340
  toolCalls?: {
1341
1341
  function: {
1342
1342
  name: string;
@@ -1414,7 +1414,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1414
1414
  totalTokens?: number | undefined;
1415
1415
  } | undefined;
1416
1416
  model?: string | undefined;
1417
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1417
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1418
1418
  toolCalls?: {
1419
1419
  function: {
1420
1420
  name: string;
@@ -1479,7 +1479,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1479
1479
  totalTokens?: number | undefined;
1480
1480
  } | undefined;
1481
1481
  model?: string | undefined;
1482
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1482
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1483
1483
  toolCalls?: {
1484
1484
  function: {
1485
1485
  name: string;
@@ -1617,7 +1617,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1617
1617
  totalTokens?: number | undefined;
1618
1618
  }>>;
1619
1619
  model: z.ZodOptional<z.ZodString>;
1620
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
1620
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
1621
1621
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
1622
  id: z.ZodString;
1623
1623
  type: z.ZodLiteral<"function">;
@@ -1688,7 +1688,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1688
1688
  totalTokens?: number | undefined;
1689
1689
  } | undefined;
1690
1690
  model?: string | undefined;
1691
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1691
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1692
1692
  toolCalls?: {
1693
1693
  function: {
1694
1694
  name: string;
@@ -1738,7 +1738,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1738
1738
  totalTokens?: number | undefined;
1739
1739
  } | undefined;
1740
1740
  model?: string | undefined;
1741
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1741
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1742
1742
  toolCalls?: {
1743
1743
  function: {
1744
1744
  name: string;
@@ -1793,7 +1793,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1793
1793
  totalTokens?: number | undefined;
1794
1794
  } | undefined;
1795
1795
  model?: string | undefined;
1796
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1796
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1797
1797
  toolCalls?: {
1798
1798
  function: {
1799
1799
  name: string;
@@ -1849,7 +1849,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1849
1849
  totalTokens?: number | undefined;
1850
1850
  } | undefined;
1851
1851
  model?: string | undefined;
1852
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1852
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1853
1853
  toolCalls?: {
1854
1854
  function: {
1855
1855
  name: string;
@@ -1911,7 +1911,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1911
1911
  totalTokens?: number | undefined;
1912
1912
  } | undefined;
1913
1913
  model?: string | undefined;
1914
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1914
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1915
1915
  toolCalls?: {
1916
1916
  function: {
1917
1917
  name: string;
@@ -1972,7 +1972,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1972
1972
  totalTokens?: number | undefined;
1973
1973
  } | undefined;
1974
1974
  model?: string | undefined;
1975
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1975
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1976
1976
  toolCalls?: {
1977
1977
  function: {
1978
1978
  name: string;
@@ -2115,7 +2115,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2115
2115
  totalTokens?: number | undefined;
2116
2116
  }>>;
2117
2117
  model: z.ZodOptional<z.ZodString>;
2118
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
2118
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
2119
2119
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
2120
2120
  id: z.ZodString;
2121
2121
  type: z.ZodLiteral<"function">;
@@ -2186,7 +2186,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2186
2186
  totalTokens?: number | undefined;
2187
2187
  } | undefined;
2188
2188
  model?: string | undefined;
2189
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2189
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2190
2190
  toolCalls?: {
2191
2191
  function: {
2192
2192
  name: string;
@@ -2236,7 +2236,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2236
2236
  totalTokens?: number | undefined;
2237
2237
  } | undefined;
2238
2238
  model?: string | undefined;
2239
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2239
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2240
2240
  toolCalls?: {
2241
2241
  function: {
2242
2242
  name: string;
@@ -2291,7 +2291,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2291
2291
  totalTokens?: number | undefined;
2292
2292
  } | undefined;
2293
2293
  model?: string | undefined;
2294
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2294
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2295
2295
  toolCalls?: {
2296
2296
  function: {
2297
2297
  name: string;
@@ -2347,7 +2347,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2347
2347
  totalTokens?: number | undefined;
2348
2348
  } | undefined;
2349
2349
  model?: string | undefined;
2350
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2350
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2351
2351
  toolCalls?: {
2352
2352
  function: {
2353
2353
  name: string;
@@ -2425,7 +2425,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2425
2425
  totalTokens?: number | undefined;
2426
2426
  } | undefined;
2427
2427
  model?: string | undefined;
2428
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2428
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2429
2429
  toolCalls?: {
2430
2430
  function: {
2431
2431
  name: string;
@@ -2490,7 +2490,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2490
2490
  totalTokens?: number | undefined;
2491
2491
  } | undefined;
2492
2492
  model?: string | undefined;
2493
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2493
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2494
2494
  toolCalls?: {
2495
2495
  function: {
2496
2496
  name: string;
@@ -2561,7 +2561,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2561
2561
  totalTokens?: number | undefined;
2562
2562
  } | undefined;
2563
2563
  model?: string | undefined;
2564
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2564
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2565
2565
  toolCalls?: {
2566
2566
  function: {
2567
2567
  name: string;
@@ -2631,7 +2631,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2631
2631
  totalTokens?: number | undefined;
2632
2632
  } | undefined;
2633
2633
  model?: string | undefined;
2634
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2634
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2635
2635
  toolCalls?: {
2636
2636
  function: {
2637
2637
  name: string;
@@ -29,6 +29,7 @@ var import_a2a_sse_subscriber = require("../events/a2a-sse-subscriber.js");
29
29
  var import_approval_coordinator = require("../approval/approval-coordinator.js");
30
30
  var import_manual_approval_handler = require("../approval/manual-approval-handler.js");
31
31
  async function startDextoServer(agent, options = {}) {
32
+ (0, import_core.startLlmRegistryAutoUpdate)();
32
33
  const {
33
34
  port: requestedPort,
34
35
  hostname = "0.0.0.0",
@@ -1 +1 @@
1
- {"version":3,"file":"start-server.d.ts","sourceRoot":"","sources":["../../src/hono/start-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAM7D,MAAM,MAAM,uBAAuB,GAAG;IAClC,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC/B,qFAAqF;IACrF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,GAAG,EAAE,QAAQ,CAAC;IACd,2CAA2C;IAC3C,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B,wCAAwC;IACxC,SAAS,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAsB,gBAAgB,CAClC,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,uBAA4B,GACtC,OAAO,CAAC,sBAAsB,CAAC,CA2FjC"}
1
+ {"version":3,"file":"start-server.d.ts","sourceRoot":"","sources":["../../src/hono/start-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAM7D,MAAM,MAAM,uBAAuB,GAAG;IAClC,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC/B,qFAAqF;IACrF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,GAAG,EAAE,QAAQ,CAAC;IACd,2CAA2C;IAC3C,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B,wCAAwC;IACxC,SAAS,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAsB,gBAAgB,CAClC,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,uBAA4B,GACtC,OAAO,CAAC,sBAAsB,CAAC,CA8FjC"}
@@ -1,4 +1,4 @@
1
- import { createAgentCard, logger } from "@dexto/core";
1
+ import { createAgentCard, logger, startLlmRegistryAutoUpdate } from "@dexto/core";
2
2
  import { createDextoApp } from "./index.js";
3
3
  import { createNodeServer } from "./node/index.js";
4
4
  import { WebhookEventSubscriber } from "../events/webhook-subscriber.js";
@@ -6,6 +6,7 @@ import { A2ASseEventSubscriber } from "../events/a2a-sse-subscriber.js";
6
6
  import { ApprovalCoordinator } from "../approval/approval-coordinator.js";
7
7
  import { createManualApprovalHandler } from "../approval/manual-approval-handler.js";
8
8
  async function startDextoServer(agent, options = {}) {
9
+ startLlmRegistryAutoUpdate();
9
10
  const {
10
11
  port: requestedPort,
11
12
  hostname = "0.0.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/server",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -31,9 +31,9 @@
31
31
  "ws": "^8.18.1",
32
32
  "yaml": "^2.7.1",
33
33
  "@modelcontextprotocol/sdk": "^1.25.2",
34
- "@dexto/agent-management": "1.5.7",
35
- "@dexto/core": "1.5.7",
36
- "@dexto/image-local": "1.5.7"
34
+ "@dexto/agent-management": "1.5.8",
35
+ "@dexto/core": "1.5.8",
36
+ "@dexto/image-local": "1.5.8"
37
37
  },
38
38
  "files": [
39
39
  "dist",