@dexto/server 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hono/index.d.ts +47 -18
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/routes/llm.cjs +37 -2
- package/dist/hono/routes/llm.d.ts +37 -8
- package/dist/hono/routes/llm.d.ts.map +1 -1
- package/dist/hono/routes/llm.js +38 -2
- package/dist/hono/routes/mcp.d.ts +5 -5
- package/dist/hono/routes/memory.d.ts +5 -5
- package/dist/hono/routes/schedules.cjs +3 -2
- package/dist/hono/routes/schedules.js +3 -3
- package/dist/hono/schemas/responses.d.ts +38 -8
- package/dist/hono/schemas/responses.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
package/dist/hono/index.d.ts
CHANGED
|
@@ -1381,8 +1381,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1381
1381
|
ok: true;
|
|
1382
1382
|
memory: {
|
|
1383
1383
|
content: string;
|
|
1384
|
-
id: string;
|
|
1385
1384
|
createdAt: number;
|
|
1385
|
+
id: string;
|
|
1386
1386
|
updatedAt: number;
|
|
1387
1387
|
metadata?: {
|
|
1388
1388
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1411,8 +1411,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1411
1411
|
output: {
|
|
1412
1412
|
memories: {
|
|
1413
1413
|
content: string;
|
|
1414
|
-
id: string;
|
|
1415
1414
|
createdAt: number;
|
|
1415
|
+
id: string;
|
|
1416
1416
|
updatedAt: number;
|
|
1417
1417
|
metadata?: {
|
|
1418
1418
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1439,8 +1439,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1439
1439
|
ok: true;
|
|
1440
1440
|
memory: {
|
|
1441
1441
|
content: string;
|
|
1442
|
-
id: string;
|
|
1443
1442
|
createdAt: number;
|
|
1443
|
+
id: string;
|
|
1444
1444
|
updatedAt: number;
|
|
1445
1445
|
metadata?: {
|
|
1446
1446
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1463,11 +1463,11 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1463
1463
|
};
|
|
1464
1464
|
} & {
|
|
1465
1465
|
json: {
|
|
1466
|
-
content?: string | undefined;
|
|
1467
1466
|
metadata?: import("zod").objectInputType<{
|
|
1468
1467
|
source: import("zod").ZodOptional<import("zod").ZodEnum<["user", "system"]>>;
|
|
1469
1468
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1470
1469
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
1470
|
+
content?: string | undefined;
|
|
1471
1471
|
tags?: string[] | undefined;
|
|
1472
1472
|
};
|
|
1473
1473
|
};
|
|
@@ -1475,8 +1475,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1475
1475
|
ok: true;
|
|
1476
1476
|
memory: {
|
|
1477
1477
|
content: string;
|
|
1478
|
-
id: string;
|
|
1479
1478
|
createdAt: number;
|
|
1479
|
+
id: string;
|
|
1480
1480
|
updatedAt: number;
|
|
1481
1481
|
metadata?: {
|
|
1482
1482
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1855,8 +1855,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1855
1855
|
type: "stdio";
|
|
1856
1856
|
command: string;
|
|
1857
1857
|
timeout?: number | undefined;
|
|
1858
|
-
enabled?: boolean | undefined;
|
|
1859
1858
|
args?: string[] | undefined;
|
|
1859
|
+
enabled?: boolean | undefined;
|
|
1860
1860
|
env?: Record<string, string> | undefined;
|
|
1861
1861
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
1862
1862
|
} | {
|
|
@@ -1922,9 +1922,9 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1922
1922
|
config: {
|
|
1923
1923
|
timeout: number;
|
|
1924
1924
|
type: "stdio";
|
|
1925
|
-
enabled: boolean;
|
|
1926
|
-
command: string;
|
|
1927
1925
|
args: string[];
|
|
1926
|
+
command: string;
|
|
1927
|
+
enabled: boolean;
|
|
1928
1928
|
env: {
|
|
1929
1929
|
[x: string]: string;
|
|
1930
1930
|
};
|
|
@@ -1967,8 +1967,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1967
1967
|
type: "stdio";
|
|
1968
1968
|
command: string;
|
|
1969
1969
|
timeout?: number | undefined;
|
|
1970
|
-
enabled?: boolean | undefined;
|
|
1971
1970
|
args?: string[] | undefined;
|
|
1971
|
+
enabled?: boolean | undefined;
|
|
1972
1972
|
env?: Record<string, string> | undefined;
|
|
1973
1973
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
1974
1974
|
} | {
|
|
@@ -2003,8 +2003,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2003
2003
|
type: "stdio";
|
|
2004
2004
|
command: string;
|
|
2005
2005
|
timeout?: number | undefined;
|
|
2006
|
-
enabled?: boolean | undefined;
|
|
2007
2006
|
args?: string[] | undefined;
|
|
2007
|
+
enabled?: boolean | undefined;
|
|
2008
2008
|
env?: Record<string, string> | undefined;
|
|
2009
2009
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
2010
2010
|
} | {
|
|
@@ -2776,13 +2776,16 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2776
2776
|
config: {
|
|
2777
2777
|
model: string;
|
|
2778
2778
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
2779
|
+
reasoning?: {
|
|
2780
|
+
variant: string;
|
|
2781
|
+
budgetTokens?: number | undefined | undefined;
|
|
2782
|
+
} | undefined;
|
|
2779
2783
|
maxIterations?: number | undefined;
|
|
2780
2784
|
baseURL?: string | undefined;
|
|
2781
2785
|
maxInputTokens?: number | undefined;
|
|
2782
2786
|
maxOutputTokens?: number | undefined;
|
|
2783
2787
|
temperature?: number | undefined;
|
|
2784
2788
|
allowedMediaTypes?: string[] | undefined;
|
|
2785
|
-
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2786
2789
|
hasApiKey?: boolean | undefined;
|
|
2787
2790
|
displayName?: string | undefined;
|
|
2788
2791
|
};
|
|
@@ -3212,16 +3215,19 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3212
3215
|
$post: {
|
|
3213
3216
|
input: {
|
|
3214
3217
|
json: {
|
|
3218
|
+
apiKey?: string | undefined;
|
|
3215
3219
|
model?: string | undefined;
|
|
3216
3220
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3217
|
-
apiKey?: string | undefined;
|
|
3218
3221
|
maxInputTokens?: number | undefined;
|
|
3222
|
+
reasoning?: {
|
|
3223
|
+
variant: string;
|
|
3224
|
+
budgetTokens?: number | undefined;
|
|
3225
|
+
} | null | undefined;
|
|
3226
|
+
temperature?: number | undefined;
|
|
3219
3227
|
maxIterations?: number | undefined;
|
|
3220
3228
|
baseURL?: string | undefined;
|
|
3221
3229
|
maxOutputTokens?: number | undefined;
|
|
3222
|
-
temperature?: number | undefined;
|
|
3223
3230
|
allowedMediaTypes?: string[] | undefined;
|
|
3224
|
-
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
3225
3231
|
} & {
|
|
3226
3232
|
sessionId?: string | undefined;
|
|
3227
3233
|
};
|
|
@@ -3230,13 +3236,16 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3230
3236
|
config: {
|
|
3231
3237
|
model: string;
|
|
3232
3238
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
3239
|
+
reasoning?: {
|
|
3240
|
+
variant: string;
|
|
3241
|
+
budgetTokens?: number | undefined | undefined;
|
|
3242
|
+
} | undefined;
|
|
3233
3243
|
maxIterations?: number | undefined;
|
|
3234
3244
|
baseURL?: string | undefined;
|
|
3235
3245
|
maxInputTokens?: number | undefined;
|
|
3236
3246
|
maxOutputTokens?: number | undefined;
|
|
3237
3247
|
temperature?: number | undefined;
|
|
3238
3248
|
allowedMediaTypes?: string[] | undefined;
|
|
3239
|
-
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3240
3249
|
hasApiKey?: boolean | undefined;
|
|
3241
3250
|
};
|
|
3242
3251
|
sessionId?: string | undefined;
|
|
@@ -3255,7 +3264,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3255
3264
|
provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
3256
3265
|
apiKey?: string | undefined | undefined;
|
|
3257
3266
|
baseURL?: string | undefined | undefined;
|
|
3258
|
-
|
|
3267
|
+
reasoning?: {
|
|
3268
|
+
variant: string;
|
|
3269
|
+
budgetTokens?: number | undefined | undefined;
|
|
3270
|
+
} | undefined;
|
|
3259
3271
|
filePath?: string | undefined | undefined;
|
|
3260
3272
|
displayName?: string | undefined | undefined;
|
|
3261
3273
|
maxInputTokens?: number | undefined | undefined;
|
|
@@ -3275,7 +3287,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3275
3287
|
provider?: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
3276
3288
|
apiKey?: string | undefined;
|
|
3277
3289
|
baseURL?: string | undefined;
|
|
3278
|
-
|
|
3290
|
+
reasoning?: {
|
|
3291
|
+
variant: string;
|
|
3292
|
+
budgetTokens?: number | undefined;
|
|
3293
|
+
} | undefined;
|
|
3279
3294
|
filePath?: string | undefined;
|
|
3280
3295
|
displayName?: string | undefined;
|
|
3281
3296
|
maxInputTokens?: number | undefined;
|
|
@@ -3288,7 +3303,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3288
3303
|
provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
3289
3304
|
apiKey?: string | undefined | undefined;
|
|
3290
3305
|
baseURL?: string | undefined | undefined;
|
|
3291
|
-
|
|
3306
|
+
reasoning?: {
|
|
3307
|
+
variant: string;
|
|
3308
|
+
budgetTokens?: number | undefined | undefined;
|
|
3309
|
+
} | undefined;
|
|
3292
3310
|
filePath?: string | undefined | undefined;
|
|
3293
3311
|
displayName?: string | undefined | undefined;
|
|
3294
3312
|
maxInputTokens?: number | undefined | undefined;
|
|
@@ -3338,6 +3356,17 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3338
3356
|
};
|
|
3339
3357
|
};
|
|
3340
3358
|
output: {
|
|
3359
|
+
reasoning: {
|
|
3360
|
+
capable: boolean;
|
|
3361
|
+
paradigm: "effort" | "adaptive-effort" | "thinking-level" | "budget" | "none";
|
|
3362
|
+
variants: {
|
|
3363
|
+
id: string;
|
|
3364
|
+
label: string;
|
|
3365
|
+
}[];
|
|
3366
|
+
supportedVariants: string[];
|
|
3367
|
+
supportsBudgetTokens: boolean;
|
|
3368
|
+
defaultVariant?: string | undefined;
|
|
3369
|
+
};
|
|
3341
3370
|
model: string;
|
|
3342
3371
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
3343
3372
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
package/dist/hono/index.d.ts.map
CHANGED
|
@@ -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;AAkBzD,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;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAC/B,GAAG,EAAE,OAAO,KACX,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,UAAU,CAAC;IACrB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,YAAY,EAAE,MAAM,SAAS,CAAC;IAC9B,mBAAmB,EAAE,mBAAm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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA6OX;AAID,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAGxD,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/hono/routes/llm.cjs
CHANGED
|
@@ -246,7 +246,40 @@ function createLlmRouter(getAgent) {
|
|
|
246
246
|
schema: import_zod_openapi.z.object({
|
|
247
247
|
provider: import_zod_openapi.z.enum(import_core2.LLM_PROVIDERS).describe("Provider name"),
|
|
248
248
|
model: import_zod_openapi.z.string().describe("Model name as provided"),
|
|
249
|
-
supportedFileTypes: import_zod_openapi.z.array(import_zod_openapi.z.enum(import_core2.SUPPORTED_FILE_TYPES)).describe("File types supported by this model")
|
|
249
|
+
supportedFileTypes: import_zod_openapi.z.array(import_zod_openapi.z.enum(import_core2.SUPPORTED_FILE_TYPES)).describe("File types supported by this model"),
|
|
250
|
+
reasoning: import_zod_openapi.z.object({
|
|
251
|
+
capable: import_zod_openapi.z.boolean().describe(
|
|
252
|
+
"Whether Dexto considers this provider/model reasoning-capable (derived from registry metadata plus explicit provider/model rules)"
|
|
253
|
+
),
|
|
254
|
+
paradigm: import_zod_openapi.z.enum([
|
|
255
|
+
"effort",
|
|
256
|
+
"adaptive-effort",
|
|
257
|
+
"thinking-level",
|
|
258
|
+
"budget",
|
|
259
|
+
"none"
|
|
260
|
+
]).describe("Reasoning control paradigm for this model"),
|
|
261
|
+
variants: import_zod_openapi.z.array(
|
|
262
|
+
import_zod_openapi.z.object({
|
|
263
|
+
id: import_zod_openapi.z.string().describe(
|
|
264
|
+
"Native reasoning variant identifier"
|
|
265
|
+
),
|
|
266
|
+
label: import_zod_openapi.z.string().describe(
|
|
267
|
+
"Display label for the native reasoning variant"
|
|
268
|
+
)
|
|
269
|
+
}).strict()
|
|
270
|
+
).describe("Native reasoning variants exposed to users"),
|
|
271
|
+
supportedVariants: import_zod_openapi.z.array(import_zod_openapi.z.string()).describe(
|
|
272
|
+
"Native reasoning variant IDs supported for this model/provider"
|
|
273
|
+
),
|
|
274
|
+
defaultVariant: import_zod_openapi.z.string().optional().describe(
|
|
275
|
+
"Default reasoning variant used when no explicit override is set"
|
|
276
|
+
),
|
|
277
|
+
supportsBudgetTokens: import_zod_openapi.z.boolean().describe(
|
|
278
|
+
"Whether this provider/model supports a budgetTokens-style escape hatch"
|
|
279
|
+
)
|
|
280
|
+
}).strict().describe(
|
|
281
|
+
"Reasoning tuning capabilities derived from registry metadata and explicit provider/model rules"
|
|
282
|
+
)
|
|
250
283
|
})
|
|
251
284
|
}
|
|
252
285
|
}
|
|
@@ -412,10 +445,12 @@ function createLlmRouter(getAgent) {
|
|
|
412
445
|
const providerInfo = import_core2.LLM_REGISTRY[provider];
|
|
413
446
|
supportedFileTypes = providerInfo?.supportedFileTypes ?? [];
|
|
414
447
|
}
|
|
448
|
+
const reasoning = (0, import_core2.getReasoningProfile)(provider, model);
|
|
415
449
|
return ctx.json({
|
|
416
450
|
provider,
|
|
417
451
|
model,
|
|
418
|
-
supportedFileTypes
|
|
452
|
+
supportedFileTypes,
|
|
453
|
+
reasoning
|
|
419
454
|
});
|
|
420
455
|
});
|
|
421
456
|
}
|
|
@@ -14,13 +14,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
14
14
|
config: {
|
|
15
15
|
model: string;
|
|
16
16
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
17
|
+
reasoning?: {
|
|
18
|
+
variant: string;
|
|
19
|
+
budgetTokens?: number | undefined | undefined;
|
|
20
|
+
} | undefined;
|
|
17
21
|
maxIterations?: number | undefined;
|
|
18
22
|
baseURL?: string | undefined;
|
|
19
23
|
maxInputTokens?: number | undefined;
|
|
20
24
|
maxOutputTokens?: number | undefined;
|
|
21
25
|
temperature?: number | undefined;
|
|
22
26
|
allowedMediaTypes?: string[] | undefined;
|
|
23
|
-
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
24
27
|
hasApiKey?: boolean | undefined;
|
|
25
28
|
displayName?: string | undefined;
|
|
26
29
|
};
|
|
@@ -450,16 +453,19 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
450
453
|
$post: {
|
|
451
454
|
input: {
|
|
452
455
|
json: {
|
|
456
|
+
apiKey?: string | undefined;
|
|
453
457
|
model?: string | undefined;
|
|
454
458
|
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
455
|
-
apiKey?: string | undefined;
|
|
456
459
|
maxInputTokens?: number | undefined;
|
|
460
|
+
reasoning?: {
|
|
461
|
+
variant: string;
|
|
462
|
+
budgetTokens?: number | undefined;
|
|
463
|
+
} | null | undefined;
|
|
464
|
+
temperature?: number | undefined;
|
|
457
465
|
maxIterations?: number | undefined;
|
|
458
466
|
baseURL?: string | undefined;
|
|
459
467
|
maxOutputTokens?: number | undefined;
|
|
460
|
-
temperature?: number | undefined;
|
|
461
468
|
allowedMediaTypes?: string[] | undefined;
|
|
462
|
-
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
463
469
|
} & {
|
|
464
470
|
sessionId?: string | undefined;
|
|
465
471
|
};
|
|
@@ -468,13 +474,16 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
468
474
|
config: {
|
|
469
475
|
model: string;
|
|
470
476
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
477
|
+
reasoning?: {
|
|
478
|
+
variant: string;
|
|
479
|
+
budgetTokens?: number | undefined | undefined;
|
|
480
|
+
} | undefined;
|
|
471
481
|
maxIterations?: number | undefined;
|
|
472
482
|
baseURL?: string | undefined;
|
|
473
483
|
maxInputTokens?: number | undefined;
|
|
474
484
|
maxOutputTokens?: number | undefined;
|
|
475
485
|
temperature?: number | undefined;
|
|
476
486
|
allowedMediaTypes?: string[] | undefined;
|
|
477
|
-
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
478
487
|
hasApiKey?: boolean | undefined;
|
|
479
488
|
};
|
|
480
489
|
sessionId?: string | undefined;
|
|
@@ -493,7 +502,10 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
493
502
|
provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
494
503
|
apiKey?: string | undefined | undefined;
|
|
495
504
|
baseURL?: string | undefined | undefined;
|
|
496
|
-
|
|
505
|
+
reasoning?: {
|
|
506
|
+
variant: string;
|
|
507
|
+
budgetTokens?: number | undefined | undefined;
|
|
508
|
+
} | undefined;
|
|
497
509
|
filePath?: string | undefined | undefined;
|
|
498
510
|
displayName?: string | undefined | undefined;
|
|
499
511
|
maxInputTokens?: number | undefined | undefined;
|
|
@@ -513,7 +525,10 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
513
525
|
provider?: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
|
|
514
526
|
apiKey?: string | undefined;
|
|
515
527
|
baseURL?: string | undefined;
|
|
516
|
-
|
|
528
|
+
reasoning?: {
|
|
529
|
+
variant: string;
|
|
530
|
+
budgetTokens?: number | undefined;
|
|
531
|
+
} | undefined;
|
|
517
532
|
filePath?: string | undefined;
|
|
518
533
|
displayName?: string | undefined;
|
|
519
534
|
maxInputTokens?: number | undefined;
|
|
@@ -526,7 +541,10 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
526
541
|
provider: "openai-compatible" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
527
542
|
apiKey?: string | undefined | undefined;
|
|
528
543
|
baseURL?: string | undefined | undefined;
|
|
529
|
-
|
|
544
|
+
reasoning?: {
|
|
545
|
+
variant: string;
|
|
546
|
+
budgetTokens?: number | undefined | undefined;
|
|
547
|
+
} | undefined;
|
|
530
548
|
filePath?: string | undefined | undefined;
|
|
531
549
|
displayName?: string | undefined | undefined;
|
|
532
550
|
maxInputTokens?: number | undefined | undefined;
|
|
@@ -576,6 +594,17 @@ export declare function createLlmRouter(getAgent: GetAgentFn): OpenAPIHono<impor
|
|
|
576
594
|
};
|
|
577
595
|
};
|
|
578
596
|
output: {
|
|
597
|
+
reasoning: {
|
|
598
|
+
capable: boolean;
|
|
599
|
+
paradigm: "effort" | "adaptive-effort" | "thinking-level" | "budget" | "none";
|
|
600
|
+
variants: {
|
|
601
|
+
id: string;
|
|
602
|
+
label: string;
|
|
603
|
+
}[];
|
|
604
|
+
supportedVariants: string[];
|
|
605
|
+
supportsBudgetTokens: boolean;
|
|
606
|
+
defaultVariant?: string | undefined;
|
|
607
|
+
};
|
|
579
608
|
model: string;
|
|
580
609
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
581
610
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
@@ -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;
|
|
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;AAwB9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAOpC,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAmFrE,wBAAgB,eAAe,CAAC,QAAQ,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA0J5C,CAAP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA5JA,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAohBD"}
|
package/dist/hono/routes/llm.js
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
getAllModelsForProvider,
|
|
9
9
|
getCuratedModelsForProvider,
|
|
10
10
|
getSupportedFileTypesForModel,
|
|
11
|
+
getReasoningProfile,
|
|
11
12
|
LLMUpdatesSchema
|
|
12
13
|
} from "@dexto/core";
|
|
13
14
|
import {
|
|
@@ -243,7 +244,40 @@ function createLlmRouter(getAgent) {
|
|
|
243
244
|
schema: z.object({
|
|
244
245
|
provider: z.enum(LLM_PROVIDERS).describe("Provider name"),
|
|
245
246
|
model: z.string().describe("Model name as provided"),
|
|
246
|
-
supportedFileTypes: z.array(z.enum(SUPPORTED_FILE_TYPES)).describe("File types supported by this model")
|
|
247
|
+
supportedFileTypes: z.array(z.enum(SUPPORTED_FILE_TYPES)).describe("File types supported by this model"),
|
|
248
|
+
reasoning: z.object({
|
|
249
|
+
capable: z.boolean().describe(
|
|
250
|
+
"Whether Dexto considers this provider/model reasoning-capable (derived from registry metadata plus explicit provider/model rules)"
|
|
251
|
+
),
|
|
252
|
+
paradigm: z.enum([
|
|
253
|
+
"effort",
|
|
254
|
+
"adaptive-effort",
|
|
255
|
+
"thinking-level",
|
|
256
|
+
"budget",
|
|
257
|
+
"none"
|
|
258
|
+
]).describe("Reasoning control paradigm for this model"),
|
|
259
|
+
variants: z.array(
|
|
260
|
+
z.object({
|
|
261
|
+
id: z.string().describe(
|
|
262
|
+
"Native reasoning variant identifier"
|
|
263
|
+
),
|
|
264
|
+
label: z.string().describe(
|
|
265
|
+
"Display label for the native reasoning variant"
|
|
266
|
+
)
|
|
267
|
+
}).strict()
|
|
268
|
+
).describe("Native reasoning variants exposed to users"),
|
|
269
|
+
supportedVariants: z.array(z.string()).describe(
|
|
270
|
+
"Native reasoning variant IDs supported for this model/provider"
|
|
271
|
+
),
|
|
272
|
+
defaultVariant: z.string().optional().describe(
|
|
273
|
+
"Default reasoning variant used when no explicit override is set"
|
|
274
|
+
),
|
|
275
|
+
supportsBudgetTokens: z.boolean().describe(
|
|
276
|
+
"Whether this provider/model supports a budgetTokens-style escape hatch"
|
|
277
|
+
)
|
|
278
|
+
}).strict().describe(
|
|
279
|
+
"Reasoning tuning capabilities derived from registry metadata and explicit provider/model rules"
|
|
280
|
+
)
|
|
247
281
|
})
|
|
248
282
|
}
|
|
249
283
|
}
|
|
@@ -409,10 +443,12 @@ function createLlmRouter(getAgent) {
|
|
|
409
443
|
const providerInfo = LLM_REGISTRY[provider];
|
|
410
444
|
supportedFileTypes = providerInfo?.supportedFileTypes ?? [];
|
|
411
445
|
}
|
|
446
|
+
const reasoning = getReasoningProfile(provider, model);
|
|
412
447
|
return ctx.json({
|
|
413
448
|
provider,
|
|
414
449
|
model,
|
|
415
|
-
supportedFileTypes
|
|
450
|
+
supportedFileTypes,
|
|
451
|
+
reasoning
|
|
416
452
|
});
|
|
417
453
|
});
|
|
418
454
|
}
|
|
@@ -9,8 +9,8 @@ export declare function createMcpRouter(getAgent: GetAgentFn, getAgentConfigPath
|
|
|
9
9
|
type: "stdio";
|
|
10
10
|
command: string;
|
|
11
11
|
timeout?: number | undefined;
|
|
12
|
-
enabled?: boolean | undefined;
|
|
13
12
|
args?: string[] | undefined;
|
|
13
|
+
enabled?: boolean | undefined;
|
|
14
14
|
env?: Record<string, string> | undefined;
|
|
15
15
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
16
16
|
} | {
|
|
@@ -76,9 +76,9 @@ export declare function createMcpRouter(getAgent: GetAgentFn, getAgentConfigPath
|
|
|
76
76
|
config: {
|
|
77
77
|
timeout: number;
|
|
78
78
|
type: "stdio";
|
|
79
|
-
enabled: boolean;
|
|
80
|
-
command: string;
|
|
81
79
|
args: string[];
|
|
80
|
+
command: string;
|
|
81
|
+
enabled: boolean;
|
|
82
82
|
env: {
|
|
83
83
|
[x: string]: string;
|
|
84
84
|
};
|
|
@@ -121,8 +121,8 @@ export declare function createMcpRouter(getAgent: GetAgentFn, getAgentConfigPath
|
|
|
121
121
|
type: "stdio";
|
|
122
122
|
command: string;
|
|
123
123
|
timeout?: number | undefined;
|
|
124
|
-
enabled?: boolean | undefined;
|
|
125
124
|
args?: string[] | undefined;
|
|
125
|
+
enabled?: boolean | undefined;
|
|
126
126
|
env?: Record<string, string> | undefined;
|
|
127
127
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
128
128
|
} | {
|
|
@@ -157,8 +157,8 @@ export declare function createMcpRouter(getAgent: GetAgentFn, getAgentConfigPath
|
|
|
157
157
|
type: "stdio";
|
|
158
158
|
command: string;
|
|
159
159
|
timeout?: number | undefined;
|
|
160
|
-
enabled?: boolean | undefined;
|
|
161
160
|
args?: string[] | undefined;
|
|
161
|
+
enabled?: boolean | undefined;
|
|
162
162
|
env?: Record<string, string> | undefined;
|
|
163
163
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
164
164
|
} | {
|
|
@@ -19,8 +19,8 @@ export declare function createMemoryRouter(getAgent: GetAgentFn): OpenAPIHono<im
|
|
|
19
19
|
ok: true;
|
|
20
20
|
memory: {
|
|
21
21
|
content: string;
|
|
22
|
-
id: string;
|
|
23
22
|
createdAt: number;
|
|
23
|
+
id: string;
|
|
24
24
|
updatedAt: number;
|
|
25
25
|
metadata?: {
|
|
26
26
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -49,8 +49,8 @@ export declare function createMemoryRouter(getAgent: GetAgentFn): OpenAPIHono<im
|
|
|
49
49
|
output: {
|
|
50
50
|
memories: {
|
|
51
51
|
content: string;
|
|
52
|
-
id: string;
|
|
53
52
|
createdAt: number;
|
|
53
|
+
id: string;
|
|
54
54
|
updatedAt: number;
|
|
55
55
|
metadata?: {
|
|
56
56
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -77,8 +77,8 @@ export declare function createMemoryRouter(getAgent: GetAgentFn): OpenAPIHono<im
|
|
|
77
77
|
ok: true;
|
|
78
78
|
memory: {
|
|
79
79
|
content: string;
|
|
80
|
-
id: string;
|
|
81
80
|
createdAt: number;
|
|
81
|
+
id: string;
|
|
82
82
|
updatedAt: number;
|
|
83
83
|
metadata?: {
|
|
84
84
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -101,11 +101,11 @@ export declare function createMemoryRouter(getAgent: GetAgentFn): OpenAPIHono<im
|
|
|
101
101
|
};
|
|
102
102
|
} & {
|
|
103
103
|
json: {
|
|
104
|
-
content?: string | undefined;
|
|
105
104
|
metadata?: z.objectInputType<{
|
|
106
105
|
source: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
|
|
107
106
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
108
107
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
108
|
+
content?: string | undefined;
|
|
109
109
|
tags?: string[] | undefined;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
@@ -113,8 +113,8 @@ export declare function createMemoryRouter(getAgent: GetAgentFn): OpenAPIHono<im
|
|
|
113
113
|
ok: true;
|
|
114
114
|
memory: {
|
|
115
115
|
content: string;
|
|
116
|
-
id: string;
|
|
117
116
|
createdAt: number;
|
|
117
|
+
id: string;
|
|
118
118
|
updatedAt: number;
|
|
119
119
|
metadata?: {
|
|
120
120
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -24,6 +24,7 @@ module.exports = __toCommonJS(schedules_exports);
|
|
|
24
24
|
var import_zod_openapi = require("@hono/zod-openapi");
|
|
25
25
|
var import_responses = require("../schemas/responses.js");
|
|
26
26
|
var import_tools_scheduler = require("@dexto/tools-scheduler");
|
|
27
|
+
var import_service = require("@dexto/tools-scheduler/service");
|
|
27
28
|
var import_core = require("@dexto/core");
|
|
28
29
|
const CreateScheduleSchema = import_zod_openapi.z.object({
|
|
29
30
|
name: import_zod_openapi.z.string().min(1).describe("Schedule name"),
|
|
@@ -57,9 +58,9 @@ function createSchedulesRouter(getAgent) {
|
|
|
57
58
|
const resolveScheduler = async (ctx) => {
|
|
58
59
|
const agent = await getAgent(ctx);
|
|
59
60
|
const agentId = agent.config?.agentId ?? "default";
|
|
60
|
-
let scheduler = (0,
|
|
61
|
+
let scheduler = (0, import_service.getSchedulerManager)(agentId) ?? null;
|
|
61
62
|
if (!scheduler) {
|
|
62
|
-
scheduler = await (0,
|
|
63
|
+
scheduler = await (0, import_service.ensureSchedulerManagerForAgent)(agent);
|
|
63
64
|
}
|
|
64
65
|
return { scheduler, agent };
|
|
65
66
|
};
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
ExecutionLogSchema,
|
|
5
5
|
ScheduleSchema
|
|
6
6
|
} from "../schemas/responses.js";
|
|
7
|
+
import { SchedulerErrorCode } from "@dexto/tools-scheduler";
|
|
7
8
|
import {
|
|
8
|
-
getSchedulerManager,
|
|
9
9
|
ensureSchedulerManagerForAgent,
|
|
10
|
-
|
|
11
|
-
} from "@dexto/tools-scheduler";
|
|
10
|
+
getSchedulerManager
|
|
11
|
+
} from "@dexto/tools-scheduler/service";
|
|
12
12
|
import { DextoRuntimeError, ErrorType } from "@dexto/core";
|
|
13
13
|
const CreateScheduleSchema = z.object({
|
|
14
14
|
name: z.string().min(1).describe("Schedule name"),
|
|
@@ -530,30 +530,45 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
|
|
|
530
530
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
531
531
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
532
532
|
allowedMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
533
|
-
|
|
533
|
+
reasoning: z.ZodOptional<z.ZodObject<{
|
|
534
|
+
variant: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
535
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
}, "strict", z.ZodTypeAny, {
|
|
537
|
+
variant: string;
|
|
538
|
+
budgetTokens?: number | undefined;
|
|
539
|
+
}, {
|
|
540
|
+
variant: string;
|
|
541
|
+
budgetTokens?: number | undefined;
|
|
542
|
+
}>>;
|
|
534
543
|
}, "apiKey"> & {
|
|
535
544
|
hasApiKey: z.ZodOptional<z.ZodBoolean>;
|
|
536
545
|
}, "strict", z.ZodTypeAny, {
|
|
537
546
|
model: string;
|
|
538
547
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
548
|
+
reasoning?: {
|
|
549
|
+
variant: string;
|
|
550
|
+
budgetTokens?: number | undefined;
|
|
551
|
+
} | undefined;
|
|
539
552
|
maxIterations?: number | undefined;
|
|
540
553
|
baseURL?: string | undefined;
|
|
541
554
|
maxInputTokens?: number | undefined;
|
|
542
555
|
maxOutputTokens?: number | undefined;
|
|
543
556
|
temperature?: number | undefined;
|
|
544
557
|
allowedMediaTypes?: string[] | undefined;
|
|
545
|
-
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
546
558
|
hasApiKey?: boolean | undefined;
|
|
547
559
|
}, {
|
|
548
560
|
model: string;
|
|
549
561
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
562
|
+
reasoning?: {
|
|
563
|
+
variant: string;
|
|
564
|
+
budgetTokens?: number | undefined;
|
|
565
|
+
} | undefined;
|
|
550
566
|
maxIterations?: number | undefined;
|
|
551
567
|
baseURL?: string | undefined;
|
|
552
568
|
maxInputTokens?: number | undefined;
|
|
553
569
|
maxOutputTokens?: number | undefined;
|
|
554
570
|
temperature?: number | undefined;
|
|
555
571
|
allowedMediaTypes?: string[] | undefined;
|
|
556
|
-
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
557
572
|
hasApiKey?: boolean | undefined;
|
|
558
573
|
}>;
|
|
559
574
|
export declare const LLMConfigSchema: z.ZodObject<{
|
|
@@ -566,29 +581,44 @@ export declare const LLMConfigSchema: z.ZodObject<{
|
|
|
566
581
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
567
582
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
568
583
|
allowedMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
569
|
-
|
|
584
|
+
reasoning: z.ZodOptional<z.ZodObject<{
|
|
585
|
+
variant: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
586
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
}, "strict", z.ZodTypeAny, {
|
|
588
|
+
variant: string;
|
|
589
|
+
budgetTokens?: number | undefined;
|
|
590
|
+
}, {
|
|
591
|
+
variant: string;
|
|
592
|
+
budgetTokens?: number | undefined;
|
|
593
|
+
}>>;
|
|
570
594
|
}, "strict", z.ZodTypeAny, {
|
|
571
595
|
model: string;
|
|
572
596
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
573
597
|
apiKey?: string | undefined;
|
|
574
598
|
maxInputTokens?: number | undefined;
|
|
599
|
+
reasoning?: {
|
|
600
|
+
variant: string;
|
|
601
|
+
budgetTokens?: number | undefined;
|
|
602
|
+
} | undefined;
|
|
603
|
+
temperature?: number | undefined;
|
|
575
604
|
maxIterations?: number | undefined;
|
|
576
605
|
baseURL?: string | undefined;
|
|
577
606
|
maxOutputTokens?: number | undefined;
|
|
578
|
-
temperature?: number | undefined;
|
|
579
607
|
allowedMediaTypes?: string[] | undefined;
|
|
580
|
-
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
581
608
|
}, {
|
|
582
609
|
model: string;
|
|
583
610
|
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
584
611
|
apiKey?: string | undefined;
|
|
585
612
|
maxInputTokens?: number | undefined;
|
|
613
|
+
reasoning?: {
|
|
614
|
+
variant: string;
|
|
615
|
+
budgetTokens?: number | undefined;
|
|
616
|
+
} | undefined;
|
|
617
|
+
temperature?: number | undefined;
|
|
586
618
|
maxIterations?: number | undefined;
|
|
587
619
|
baseURL?: string | undefined;
|
|
588
620
|
maxOutputTokens?: number | undefined;
|
|
589
|
-
temperature?: number | undefined;
|
|
590
621
|
allowedMediaTypes?: string[] | undefined;
|
|
591
|
-
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
592
622
|
}>;
|
|
593
623
|
export type LLMConfigResponse = z.output<typeof LLMConfigResponseSchema>;
|
|
594
624
|
export { AgentCardSchema, type AgentCard } from '@dexto/core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/hono/schemas/responses.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,EAAE,mBAAmB,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAM3E,eAAO,MAAM,cAAc;;;;;;;;;EAMO,CA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MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaG,CAAC;AAEpC,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGjE,eAAO,MAAM,oBAAoB;;;;;;;;;EAMD,CAAC;AAEjC,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGnE,eAAO,MAAM,oBAAoB;;;;;;;;;EAMS,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -19,7 +19,7 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var index_exports = {};
|
|
21
21
|
__export(index_exports, {
|
|
22
|
-
getSchedulerManager: () =>
|
|
22
|
+
getSchedulerManager: () => import_service.getSchedulerManager
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(index_exports);
|
|
25
25
|
__reExport(index_exports, require("./hono/index.js"), module.exports);
|
|
@@ -32,7 +32,7 @@ __reExport(index_exports, require("./events/types.js"), module.exports);
|
|
|
32
32
|
__reExport(index_exports, require("./mcp/mcp-handler.js"), module.exports);
|
|
33
33
|
__reExport(index_exports, require("./approval/manual-approval-handler.js"), module.exports);
|
|
34
34
|
__reExport(index_exports, require("./approval/approval-coordinator.js"), module.exports);
|
|
35
|
-
var
|
|
35
|
+
var import_service = require("@dexto/tools-scheduler/service");
|
|
36
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
37
37
|
0 && (module.exports = {
|
|
38
38
|
getSchedulerManager,
|
package/dist/index.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ export * from './events/types.js';
|
|
|
9
9
|
export * from './mcp/mcp-handler.js';
|
|
10
10
|
export * from './approval/manual-approval-handler.js';
|
|
11
11
|
export * from './approval/approval-coordinator.js';
|
|
12
|
-
export { getSchedulerManager } from '@dexto/tools-scheduler';
|
|
12
|
+
export { getSchedulerManager } from '@dexto/tools-scheduler/service';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export * from "./events/types.js";
|
|
|
8
8
|
export * from "./mcp/mcp-handler.js";
|
|
9
9
|
export * from "./approval/manual-approval-handler.js";
|
|
10
10
|
export * from "./approval/approval-coordinator.js";
|
|
11
|
-
import { getSchedulerManager } from "@dexto/tools-scheduler";
|
|
11
|
+
import { getSchedulerManager } from "@dexto/tools-scheduler/service";
|
|
12
12
|
export {
|
|
13
13
|
getSchedulerManager
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexto/server",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@hono/node-server": "1.19.5",
|
|
29
29
|
"@hono/zod-openapi": "^0.19.1",
|
|
30
|
-
"hono": "^4.
|
|
30
|
+
"hono": "^4.11.10",
|
|
31
31
|
"ws": "^8.18.1",
|
|
32
32
|
"yaml": "^2.7.1",
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
34
|
-
"@dexto/agent-config": "1.6.
|
|
35
|
-
"@dexto/agent-management": "1.6.
|
|
36
|
-
"@dexto/core": "1.6.
|
|
37
|
-
"@dexto/image-local": "1.6.
|
|
38
|
-
"@dexto/storage": "1.6.
|
|
39
|
-
"@dexto/tools-scheduler": "1.6.
|
|
34
|
+
"@dexto/agent-config": "1.6.2",
|
|
35
|
+
"@dexto/agent-management": "1.6.2",
|
|
36
|
+
"@dexto/core": "1.6.2",
|
|
37
|
+
"@dexto/image-local": "1.6.2",
|
|
38
|
+
"@dexto/storage": "1.6.2",
|
|
39
|
+
"@dexto/tools-scheduler": "1.6.2"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"zod": "^3.25.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
|
-
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup && cross-env NODE_OPTIONS='--max-old-space-size=8192' tsc -b tsconfig.json --
|
|
57
|
+
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup && node ../../scripts/clean-tsbuildinfo.mjs && cross-env NODE_OPTIONS='--max-old-space-size=8192' tsc -b tsconfig.json --emitDeclarationOnly",
|
|
58
58
|
"dev": "tsup --watch",
|
|
59
59
|
"typecheck": "tsc -p tsconfig.typecheck.json --noEmit",
|
|
60
60
|
"lint": "eslint . --ext .ts",
|