@dexto/server 1.5.6 → 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.
- package/dist/hono/index.cjs +6 -1
- package/dist/hono/index.d.ts +127 -22
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/index.js +6 -1
- package/dist/hono/middleware/error.cjs +6 -2
- package/dist/hono/middleware/error.d.ts.map +1 -1
- package/dist/hono/middleware/error.js +6 -2
- package/dist/hono/routes/a2a-tasks.d.ts +5 -5
- package/dist/hono/routes/dexto-auth.cjs +72 -0
- package/dist/hono/routes/dexto-auth.d.ts +21 -0
- package/dist/hono/routes/dexto-auth.d.ts.map +1 -0
- package/dist/hono/routes/dexto-auth.js +52 -0
- package/dist/hono/routes/key.d.ts +4 -4
- package/dist/hono/routes/llm.cjs +75 -5
- package/dist/hono/routes/llm.d.ts +97 -8
- package/dist/hono/routes/llm.d.ts.map +1 -1
- package/dist/hono/routes/llm.js +80 -6
- package/dist/hono/routes/mcp.d.ts +1 -1
- package/dist/hono/routes/messages.d.ts +1 -1
- package/dist/hono/routes/queue.cjs +9 -3
- package/dist/hono/routes/queue.d.ts +3 -0
- package/dist/hono/routes/queue.d.ts.map +1 -1
- package/dist/hono/routes/queue.js +9 -3
- package/dist/hono/routes/search.d.ts +2 -2
- package/dist/hono/routes/sessions.d.ts +1 -1
- package/dist/hono/schemas/responses.d.ts +41 -41
- package/dist/hono/start-server.cjs +1 -0
- package/dist/hono/start-server.d.ts.map +1 -1
- package/dist/hono/start-server.js +2 -1
- package/dist/mcp/mcp-handler.cjs +0 -1
- package/dist/mcp/mcp-handler.d.ts.map +1 -1
- package/dist/mcp/mcp-handler.js +0 -1
- package/package.json +4 -4
|
@@ -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;
|
|
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
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>>;
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>;
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>;
|
|
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,26 +569,26 @@ 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
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
|
+
maxInputTokens?: number | undefined;
|
|
574
575
|
maxIterations?: number | undefined;
|
|
575
576
|
baseURL?: string | undefined;
|
|
576
|
-
maxInputTokens?: number | undefined;
|
|
577
577
|
maxOutputTokens?: number | undefined;
|
|
578
578
|
temperature?: number | undefined;
|
|
579
579
|
allowedMediaTypes?: string[] | undefined;
|
|
580
|
-
reasoningEffort?: "
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
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
|
+
maxInputTokens?: number | undefined;
|
|
585
586
|
maxIterations?: number | undefined;
|
|
586
587
|
baseURL?: string | undefined;
|
|
587
|
-
maxInputTokens?: number | undefined;
|
|
588
588
|
maxOutputTokens?: number | undefined;
|
|
589
589
|
temperature?: number | undefined;
|
|
590
590
|
allowedMediaTypes?: string[] | undefined;
|
|
591
|
-
reasoningEffort?: "
|
|
591
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
592
592
|
}>;
|
|
593
593
|
export type LLMConfigResponse = z.output<typeof LLMConfigResponseSchema>;
|
|
594
594
|
export { AgentCardSchema, type AgentCard } from '@dexto/core';
|
|
@@ -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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>>;
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>>;
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>>;
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>>;
|
|
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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | 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,
|
|
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/dist/mcp/mcp-handler.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-handler.d.ts","sourceRoot":"","sources":["../../src/mcp/mcp-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;AAExD,wBAAsB,kBAAkB,CACpC,aAAa,GAAE,gBAAyB,GACzC,OAAO,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"mcp-handler.d.ts","sourceRoot":"","sources":["../../src/mcp/mcp-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;AAExD,wBAAsB,kBAAkB,CACpC,aAAa,GAAE,gBAAyB,GACzC,OAAO,CAAC,SAAS,CAAC,CAkBpB;AAED,wBAAsB,mBAAmB,CACrC,KAAK,EAAE,UAAU,EACjB,aAAa,EAAE,SAAS,EACxB,YAAY,EAAE,SAAS,GACxB,OAAO,CAAC,SAAS,CAAC,CA+CpB;AAED,wBAAsB,2BAA2B,CAC7C,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,SAAS,EACxB,WAAW,EAAE,YAAY,GAC1B,OAAO,CAAC,IAAI,CAAC,CAyBf;AAED,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,SAAS;sBAM1B,eAAe,OAAO,cAAc,QAAQ,OAAO;qBASpD,eAAe,OAAO,cAAc;SAUrE"}
|
package/dist/mcp/mcp-handler.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexto/server",
|
|
3
|
-
"version": "1.5.
|
|
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.
|
|
35
|
-
"@dexto/core": "1.5.
|
|
36
|
-
"@dexto/image-local": "1.5.
|
|
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",
|