@dexto/server 1.3.0 → 1.4.0
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/approval/manual-approval-handler.cjs +23 -15
- package/dist/approval/manual-approval-handler.d.ts.map +1 -1
- package/dist/approval/manual-approval-handler.js +23 -15
- package/dist/events/webhook-subscriber.cjs +1 -1
- package/dist/events/webhook-subscriber.d.ts.map +1 -1
- package/dist/events/webhook-subscriber.js +1 -1
- package/dist/hono/__tests__/test-fixtures.cjs +2 -2
- package/dist/hono/__tests__/test-fixtures.d.ts.map +1 -1
- package/dist/hono/__tests__/test-fixtures.js +2 -2
- package/dist/hono/index.cjs +6 -1
- package/dist/hono/index.d.ts +433 -88
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/index.js +6 -1
- package/dist/hono/middleware/error.d.ts.map +1 -1
- package/dist/hono/routes/agents.cjs +8 -10
- package/dist/hono/routes/agents.d.ts +15 -8
- package/dist/hono/routes/agents.d.ts.map +1 -1
- package/dist/hono/routes/agents.js +10 -10
- package/dist/hono/routes/approvals.cjs +52 -1
- package/dist/hono/routes/approvals.d.ts +25 -0
- package/dist/hono/routes/approvals.d.ts.map +1 -1
- package/dist/hono/routes/approvals.js +52 -1
- package/dist/hono/routes/llm.cjs +110 -31
- package/dist/hono/routes/llm.d.ts +72 -20
- package/dist/hono/routes/llm.d.ts.map +1 -1
- package/dist/hono/routes/llm.js +108 -25
- package/dist/hono/routes/mcp.cjs +8 -4
- package/dist/hono/routes/mcp.d.ts +4 -1
- package/dist/hono/routes/mcp.d.ts.map +1 -1
- package/dist/hono/routes/mcp.js +9 -5
- package/dist/hono/routes/memory.d.ts +1 -1
- package/dist/hono/routes/messages.cjs +54 -62
- package/dist/hono/routes/messages.d.ts +87 -43
- package/dist/hono/routes/messages.d.ts.map +1 -1
- package/dist/hono/routes/messages.js +55 -63
- package/dist/hono/routes/prompts.d.ts +6 -6
- package/dist/hono/routes/queue.cjs +202 -0
- package/dist/hono/routes/queue.d.ts +171 -0
- package/dist/hono/routes/queue.d.ts.map +1 -0
- package/dist/hono/routes/queue.js +178 -0
- package/dist/hono/routes/resources.d.ts +1 -1
- package/dist/hono/routes/search.d.ts +33 -7
- package/dist/hono/routes/search.d.ts.map +1 -1
- package/dist/hono/routes/sessions.cjs +65 -11
- package/dist/hono/routes/sessions.d.ts +22 -1
- package/dist/hono/routes/sessions.d.ts.map +1 -1
- package/dist/hono/routes/sessions.js +65 -11
- package/dist/hono/schemas/responses.cjs +24 -5
- package/dist/hono/schemas/responses.d.ts +799 -81
- package/dist/hono/schemas/responses.d.ts.map +1 -1
- package/dist/hono/schemas/responses.js +24 -10
- package/package.json +3 -3
|
@@ -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;
|
|
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,CAAC;AAEnC,eAAO,MAAM,eAAe;;;;;;;;;;;;EAOO,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAQO,CAAC;AAEnC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0B0C,CAAC;AAE5E,eAAO,MAAM,iBAAiB;;;;;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,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEvE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAae,CAAC;AAE7C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAYO,CAAC;AAEjC,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,YAAY,CAAC,CAAC;AAOnD,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC;;;;;;;;;iEAO1B,CAAC;AAG7C,eAAO,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"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import {
|
|
3
|
-
LLMConfigBaseSchema as CoreLLMConfigBaseSchema,
|
|
4
|
-
LLM_PROVIDERS,
|
|
5
|
-
LLM_ROUTERS
|
|
6
|
-
} from "@dexto/core";
|
|
2
|
+
import { LLMConfigBaseSchema as CoreLLMConfigBaseSchema, LLM_PROVIDERS } from "@dexto/core";
|
|
7
3
|
import { MemorySchema } from "@dexto/core";
|
|
8
4
|
import { LLMConfigBaseSchema } from "@dexto/core";
|
|
9
5
|
const TextPartSchema = z.object({
|
|
@@ -21,7 +17,26 @@ const FilePartSchema = z.object({
|
|
|
21
17
|
mimeType: z.string().describe("MIME type of the file"),
|
|
22
18
|
filename: z.string().optional().describe("Optional filename")
|
|
23
19
|
}).strict().describe("File content part");
|
|
24
|
-
const
|
|
20
|
+
const UIResourcePartSchema = z.object({
|
|
21
|
+
type: z.literal("ui-resource").describe("Part type: ui-resource"),
|
|
22
|
+
uri: z.string().describe("URI identifying the UI resource (must start with ui://)"),
|
|
23
|
+
mimeType: z.string().describe("MIME type: text/html, text/uri-list, or application/vnd.mcp-ui.remote-dom"),
|
|
24
|
+
content: z.string().optional().describe("Inline HTML content or URL"),
|
|
25
|
+
blob: z.string().optional().describe("Base64-encoded content (alternative to content)"),
|
|
26
|
+
metadata: z.object({
|
|
27
|
+
title: z.string().optional().describe("Display title for the UI resource"),
|
|
28
|
+
preferredSize: z.object({
|
|
29
|
+
width: z.number().describe("Preferred width in pixels"),
|
|
30
|
+
height: z.number().describe("Preferred height in pixels")
|
|
31
|
+
}).strict().optional().describe("Preferred rendering size")
|
|
32
|
+
}).strict().optional().describe("Optional metadata for the UI resource")
|
|
33
|
+
}).strict().describe("UI Resource content part for MCP-UI interactive components");
|
|
34
|
+
const ContentPartSchema = z.discriminatedUnion("type", [
|
|
35
|
+
TextPartSchema,
|
|
36
|
+
ImagePartSchema,
|
|
37
|
+
FilePartSchema,
|
|
38
|
+
UIResourcePartSchema
|
|
39
|
+
]).describe("Message content part (text, image, file, or UI resource)");
|
|
25
40
|
const ToolCallSchema = z.object({
|
|
26
41
|
id: z.string().describe("Unique identifier for this tool call"),
|
|
27
42
|
type: z.literal("function").describe("Tool call type (currently only function is supported)"),
|
|
@@ -45,10 +60,10 @@ const InternalMessageSchema = z.object({
|
|
|
45
60
|
tokenUsage: TokenUsageSchema.optional().describe("Optional token usage accounting"),
|
|
46
61
|
model: z.string().optional().describe("Model identifier for assistant messages"),
|
|
47
62
|
provider: z.enum(LLM_PROVIDERS).optional().describe("Provider identifier for assistant messages"),
|
|
48
|
-
router: z.enum(LLM_ROUTERS).optional().describe("Router metadata for assistant messages"),
|
|
49
63
|
toolCalls: z.array(ToolCallSchema).optional().describe("Tool calls made by the assistant"),
|
|
50
64
|
toolCallId: z.string().optional().describe("ID of the tool call this message responds to"),
|
|
51
|
-
name: z.string().optional().describe("Name of the tool that produced this result")
|
|
65
|
+
name: z.string().optional().describe("Name of the tool that produced this result"),
|
|
66
|
+
success: z.boolean().optional().describe("Whether tool execution succeeded (present for role=tool messages)")
|
|
52
67
|
}).strict().describe("Internal message representation");
|
|
53
68
|
const LLMConfigResponseSchema = CoreLLMConfigBaseSchema.omit({ apiKey: true }).extend({
|
|
54
69
|
hasApiKey: z.boolean().optional().describe("Whether an API key is configured")
|
|
@@ -112,7 +127,6 @@ const CatalogModelInfoSchema = z.object({
|
|
|
112
127
|
maxInputTokens: z.number().int().positive().describe("Maximum input tokens"),
|
|
113
128
|
default: z.boolean().optional().describe("Whether this is a default model"),
|
|
114
129
|
supportedFileTypes: z.array(z.enum(["audio", "pdf", "image"])).describe("File types this model supports"),
|
|
115
|
-
supportedRouters: z.array(z.enum(["vercel", "in-built"])).optional().describe("Routing strategies this model supports"),
|
|
116
130
|
displayName: z.string().optional().describe("Human-readable display name"),
|
|
117
131
|
pricing: z.object({
|
|
118
132
|
inputPerM: z.number().describe("Input cost per million tokens (USD)"),
|
|
@@ -127,7 +141,6 @@ const ProviderCatalogSchema = z.object({
|
|
|
127
141
|
name: z.string().describe("Provider display name"),
|
|
128
142
|
hasApiKey: z.boolean().describe("Whether API key is configured"),
|
|
129
143
|
primaryEnvVar: z.string().describe("Primary environment variable for API key"),
|
|
130
|
-
supportedRouters: z.array(z.enum(["vercel", "in-built"])).describe("Routing strategies supported by this provider"),
|
|
131
144
|
supportsBaseURL: z.boolean().describe("Whether custom base URLs are supported"),
|
|
132
145
|
models: z.array(CatalogModelInfoSchema).describe("Models available from this provider"),
|
|
133
146
|
supportedFileTypes: z.array(z.enum(["audio", "pdf", "image"])).describe("Provider-level file type support")
|
|
@@ -243,5 +256,6 @@ export {
|
|
|
243
256
|
ToolCallSchema,
|
|
244
257
|
ToolConfirmationConfigSchema,
|
|
245
258
|
ToolSchema,
|
|
259
|
+
UIResourcePartSchema,
|
|
246
260
|
WebhookSchema
|
|
247
261
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexto/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"ws": "^8.18.1",
|
|
32
32
|
"yaml": "^2.7.1",
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.17.2",
|
|
34
|
-
"@dexto/agent-management": "1.
|
|
35
|
-
"@dexto/core": "1.
|
|
34
|
+
"@dexto/agent-management": "1.4.0",
|
|
35
|
+
"@dexto/core": "1.4.0"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist",
|