@dexto/server 1.6.19 → 1.6.21
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/a2a/jsonrpc/methods.cjs +1 -1
- package/dist/a2a/jsonrpc/methods.d.ts +14 -4
- package/dist/a2a/jsonrpc/methods.d.ts.map +1 -1
- package/dist/a2a/jsonrpc/methods.js +1 -1
- package/dist/hono/index.cjs +39 -8
- package/dist/hono/index.d.ts +43 -4503
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/index.js +42 -9
- package/dist/hono/routes/a2a-jsonrpc.d.ts.map +1 -1
- package/dist/hono/routes/a2a-tasks.cjs +173 -34
- package/dist/hono/routes/a2a-tasks.d.ts +1 -498
- package/dist/hono/routes/a2a-tasks.d.ts.map +1 -1
- package/dist/hono/routes/a2a-tasks.js +177 -34
- package/dist/hono/routes/a2a.d.ts.map +1 -1
- package/dist/hono/routes/agents.cjs +410 -329
- package/dist/hono/routes/agents.d.ts +16048 -73
- package/dist/hono/routes/agents.d.ts.map +1 -1
- package/dist/hono/routes/agents.js +418 -330
- package/dist/hono/routes/approvals.cjs +103 -78
- package/dist/hono/routes/approvals.d.ts +2090 -112
- package/dist/hono/routes/approvals.d.ts.map +1 -1
- package/dist/hono/routes/approvals.js +108 -78
- package/dist/hono/routes/dexto-auth.cjs +40 -33
- package/dist/hono/routes/dexto-auth.d.ts +401 -2
- package/dist/hono/routes/dexto-auth.d.ts.map +1 -1
- package/dist/hono/routes/dexto-auth.js +40 -33
- package/dist/hono/routes/discovery.cjs +16 -14
- package/dist/hono/routes/discovery.d.ts +586 -1
- package/dist/hono/routes/discovery.d.ts.map +1 -1
- package/dist/hono/routes/discovery.js +16 -14
- package/dist/hono/routes/greeting.cjs +26 -22
- package/dist/hono/routes/greeting.d.ts +787 -3
- package/dist/hono/routes/greeting.d.ts.map +1 -1
- package/dist/hono/routes/greeting.js +26 -22
- package/dist/hono/routes/health.d.ts +1 -1
- package/dist/hono/routes/key.cjs +60 -52
- package/dist/hono/routes/key.d.ts +1597 -1
- package/dist/hono/routes/key.d.ts.map +1 -1
- package/dist/hono/routes/key.js +60 -52
- package/dist/hono/routes/llm.cjs +381 -348
- package/dist/hono/routes/llm.d.ts +12137 -87
- package/dist/hono/routes/llm.d.ts.map +1 -1
- package/dist/hono/routes/llm.js +385 -348
- package/dist/hono/routes/mcp.cjs +273 -212
- package/dist/hono/routes/mcp.d.ts +6605 -316
- package/dist/hono/routes/mcp.d.ts.map +1 -1
- package/dist/hono/routes/mcp.js +287 -213
- package/dist/hono/routes/memory.cjs +102 -89
- package/dist/hono/routes/memory.d.ts +5368 -4
- package/dist/hono/routes/memory.d.ts.map +1 -1
- package/dist/hono/routes/memory.js +108 -90
- package/dist/hono/routes/messages.cjs +171 -164
- package/dist/hono/routes/messages.d.ts +3899 -10
- package/dist/hono/routes/messages.d.ts.map +1 -1
- package/dist/hono/routes/messages.js +181 -165
- package/dist/hono/routes/models.cjs +106 -64
- package/dist/hono/routes/models.d.ts +2874 -1
- package/dist/hono/routes/models.d.ts.map +1 -1
- package/dist/hono/routes/models.js +108 -64
- package/dist/hono/routes/openrouter.cjs +79 -65
- package/dist/hono/routes/openrouter.d.ts +854 -1
- package/dist/hono/routes/openrouter.d.ts.map +1 -1
- package/dist/hono/routes/openrouter.js +79 -65
- package/dist/hono/routes/prompts.cjs +137 -104
- package/dist/hono/routes/prompts.d.ts +2820 -12
- package/dist/hono/routes/prompts.d.ts.map +1 -1
- package/dist/hono/routes/prompts.js +144 -105
- package/dist/hono/routes/queue.cjs +158 -132
- package/dist/hono/routes/queue.d.ts +5148 -13
- package/dist/hono/routes/queue.d.ts.map +1 -1
- package/dist/hono/routes/queue.js +168 -133
- package/dist/hono/routes/resources.cjs +65 -46
- package/dist/hono/routes/resources.d.ts +1983 -5
- package/dist/hono/routes/resources.d.ts.map +1 -1
- package/dist/hono/routes/resources.js +72 -47
- package/dist/hono/routes/schedules.cjs +233 -226
- package/dist/hono/routes/schedules.d.ts +4202 -26
- package/dist/hono/routes/schedules.d.ts.map +1 -1
- package/dist/hono/routes/schedules.js +233 -226
- package/dist/hono/routes/search.cjs +34 -30
- package/dist/hono/routes/search.d.ts +2837 -14
- package/dist/hono/routes/search.d.ts.map +1 -1
- package/dist/hono/routes/search.js +40 -31
- package/dist/hono/routes/sessions.cjs +404 -392
- package/dist/hono/routes/sessions.d.ts +16585 -30
- package/dist/hono/routes/sessions.d.ts.map +1 -1
- package/dist/hono/routes/sessions.js +408 -393
- package/dist/hono/routes/static.d.ts.map +1 -1
- package/dist/hono/routes/system-prompt.cjs +57 -61
- package/dist/hono/routes/system-prompt.d.ts +1228 -2
- package/dist/hono/routes/system-prompt.d.ts.map +1 -1
- package/dist/hono/routes/system-prompt.js +58 -62
- package/dist/hono/routes/tools.cjs +29 -34
- package/dist/hono/routes/tools.d.ts +1756 -7
- package/dist/hono/routes/tools.d.ts.map +1 -1
- package/dist/hono/routes/tools.js +33 -33
- package/dist/hono/routes/webhooks.cjs +159 -132
- package/dist/hono/routes/webhooks.d.ts +2504 -14
- package/dist/hono/routes/webhooks.d.ts.map +1 -1
- package/dist/hono/routes/webhooks.js +163 -132
- package/dist/hono/routes/workspaces.cjs +84 -79
- package/dist/hono/routes/workspaces.d.ts +2093 -2
- package/dist/hono/routes/workspaces.d.ts.map +1 -1
- package/dist/hono/routes/workspaces.js +89 -80
- package/dist/hono/schemas/responses.cjs +492 -235
- package/dist/hono/schemas/responses.d.ts +1461 -146
- package/dist/hono/schemas/responses.d.ts.map +1 -1
- package/dist/hono/schemas/responses.js +247 -9
- package/dist/hono/types.d.ts +11 -0
- package/dist/hono/types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -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,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oB;;;;;;;;;EAMS,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -1,9 +1,140 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
2
2
|
import {
|
|
3
3
|
LLM_PRICING_STATUSES,
|
|
4
4
|
LLMConfigBaseSchema as CoreLLMConfigBaseSchema,
|
|
5
5
|
LLM_PROVIDERS
|
|
6
6
|
} from "@dexto/core";
|
|
7
|
+
const JsonValueOpenApiPlaceholder = {
|
|
8
|
+
type: "object",
|
|
9
|
+
additionalProperties: true,
|
|
10
|
+
description: "Any JSON-serializable value"
|
|
11
|
+
};
|
|
12
|
+
const JsonValueSchema = z.lazy(
|
|
13
|
+
() => z.union([
|
|
14
|
+
z.string(),
|
|
15
|
+
z.number(),
|
|
16
|
+
z.boolean(),
|
|
17
|
+
z.null(),
|
|
18
|
+
z.array(JsonValueSchema),
|
|
19
|
+
z.record(z.string(), JsonValueSchema)
|
|
20
|
+
])
|
|
21
|
+
).openapi("JsonValue", JsonValueOpenApiPlaceholder).describe("Any JSON-serializable value");
|
|
22
|
+
const JsonObjectSchema = z.record(z.string(), JsonValueSchema).openapi("JsonObject", {
|
|
23
|
+
type: "object",
|
|
24
|
+
additionalProperties: true
|
|
25
|
+
}).describe("JSON object with arbitrary serializable values");
|
|
26
|
+
const JsonSchemaPrimitiveTypeSchema = z.enum(["string", "number", "integer", "boolean", "object", "array"]).describe("JSON Schema primitive type");
|
|
27
|
+
const JsonSchemaEnumValueSchema = z.union([z.string(), z.number(), z.boolean(), z.null()]).describe("Allowed JSON Schema enum value");
|
|
28
|
+
const JsonSchemaPropertySchema = z.object({
|
|
29
|
+
type: JsonSchemaPrimitiveTypeSchema.optional().describe("Property type"),
|
|
30
|
+
description: z.string().optional().describe("Property description"),
|
|
31
|
+
enum: z.array(JsonSchemaEnumValueSchema).optional().describe("Enum values"),
|
|
32
|
+
default: JsonValueSchema.optional().describe("Default value"),
|
|
33
|
+
format: z.string().optional().describe("JSON Schema format hint")
|
|
34
|
+
}).passthrough().describe("JSON Schema property definition");
|
|
35
|
+
const ToolInputSchema = z.object({
|
|
36
|
+
type: z.literal("object").optional().describe('Schema type, always "object" when present'),
|
|
37
|
+
properties: z.record(z.string(), JsonSchemaPropertySchema).optional().describe("Property definitions"),
|
|
38
|
+
required: z.array(z.string()).optional().describe("Required property names")
|
|
39
|
+
}).passthrough().describe("JSON Schema for tool input parameters");
|
|
40
|
+
const IssueSchema = z.object({
|
|
41
|
+
code: z.string().describe("Machine-readable issue code"),
|
|
42
|
+
message: z.string().describe("Human-readable issue message"),
|
|
43
|
+
scope: z.string().describe("Domain that produced the issue"),
|
|
44
|
+
type: z.string().describe("Error type used for HTTP status mapping"),
|
|
45
|
+
severity: z.enum(["error", "warning"]).describe("Issue severity"),
|
|
46
|
+
path: z.array(z.union([z.string(), z.number()])).optional().describe("Optional location for the issue"),
|
|
47
|
+
context: JsonValueSchema.optional().describe("Optional structured issue context")
|
|
48
|
+
}).strict().describe("Structured validation or runtime issue");
|
|
49
|
+
const ApiErrorResponseSchema = z.object({
|
|
50
|
+
name: z.string().optional().describe("Optional error class name"),
|
|
51
|
+
message: z.string().describe("Human-readable error message"),
|
|
52
|
+
code: z.string().optional().describe("Machine-readable error code"),
|
|
53
|
+
scope: z.string().optional().describe("Domain that produced the error"),
|
|
54
|
+
type: z.string().optional().describe("Error type used for HTTP status mapping"),
|
|
55
|
+
severity: z.enum(["error", "warning"]).optional().describe("Optional error severity for lightweight failures"),
|
|
56
|
+
endpoint: z.string().describe("Request path that failed"),
|
|
57
|
+
method: z.string().describe("HTTP method for the failed request"),
|
|
58
|
+
traceId: z.string().optional().describe("Optional trace identifier"),
|
|
59
|
+
recovery: z.union([z.string(), z.array(z.string())]).optional().describe("Optional recovery guidance"),
|
|
60
|
+
context: JsonValueSchema.optional().describe("Optional structured error context"),
|
|
61
|
+
issues: z.array(IssueSchema).optional().describe("Validation issues when present"),
|
|
62
|
+
errorCount: z.number().int().nonnegative().optional().describe("Number of errors"),
|
|
63
|
+
warningCount: z.number().int().nonnegative().optional().describe("Number of warnings"),
|
|
64
|
+
stack: z.string().optional().describe("Development-only stack trace")
|
|
65
|
+
}).strict().describe("Standard API error response");
|
|
66
|
+
const BadRequestErrorResponse = {
|
|
67
|
+
description: "Validation or request error",
|
|
68
|
+
content: {
|
|
69
|
+
"application/json": {
|
|
70
|
+
schema: ApiErrorResponseSchema
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
const PaymentRequiredErrorResponse = {
|
|
75
|
+
description: "Payment required",
|
|
76
|
+
content: {
|
|
77
|
+
"application/json": {
|
|
78
|
+
schema: ApiErrorResponseSchema
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const ForbiddenErrorResponse = {
|
|
83
|
+
description: "Forbidden",
|
|
84
|
+
content: {
|
|
85
|
+
"application/json": {
|
|
86
|
+
schema: ApiErrorResponseSchema
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const NotFoundErrorResponse = {
|
|
91
|
+
description: "Resource not found",
|
|
92
|
+
content: {
|
|
93
|
+
"application/json": {
|
|
94
|
+
schema: ApiErrorResponseSchema
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const TimeoutErrorResponse = {
|
|
99
|
+
description: "Request timed out",
|
|
100
|
+
content: {
|
|
101
|
+
"application/json": {
|
|
102
|
+
schema: ApiErrorResponseSchema
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
const ConflictErrorResponse = {
|
|
107
|
+
description: "Conflict",
|
|
108
|
+
content: {
|
|
109
|
+
"application/json": {
|
|
110
|
+
schema: ApiErrorResponseSchema
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
const RateLimitErrorResponse = {
|
|
115
|
+
description: "Rate limited",
|
|
116
|
+
content: {
|
|
117
|
+
"application/json": {
|
|
118
|
+
schema: ApiErrorResponseSchema
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
const InternalErrorResponse = {
|
|
123
|
+
description: "Internal server error",
|
|
124
|
+
content: {
|
|
125
|
+
"application/json": {
|
|
126
|
+
schema: ApiErrorResponseSchema
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
const UpstreamErrorResponse = {
|
|
131
|
+
description: "Upstream service failure",
|
|
132
|
+
content: {
|
|
133
|
+
"application/json": {
|
|
134
|
+
schema: ApiErrorResponseSchema
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
7
138
|
import { MemorySchema } from "@dexto/core";
|
|
8
139
|
import { LLMConfigBaseSchema } from "@dexto/core";
|
|
9
140
|
const TextPartSchema = z.object({
|
|
@@ -41,6 +172,78 @@ const ContentPartSchema = z.discriminatedUnion("type", [
|
|
|
41
172
|
FilePartSchema,
|
|
42
173
|
UIResourcePartSchema
|
|
43
174
|
]).describe("Message content part (text, image, file, or UI resource)");
|
|
175
|
+
const RequestContentPartSchema = z.discriminatedUnion("type", [TextPartSchema, ImagePartSchema, FilePartSchema]).describe("Request message content part (text, image, or file)");
|
|
176
|
+
const RequestContentSchema = z.union([z.string(), z.array(RequestContentPartSchema)]).describe("Message content - string for text, or ContentPart[] for multimodal");
|
|
177
|
+
function serializeBinaryValue(value) {
|
|
178
|
+
if (typeof value === "string") {
|
|
179
|
+
return value;
|
|
180
|
+
}
|
|
181
|
+
if (value instanceof URL) {
|
|
182
|
+
return value.toString();
|
|
183
|
+
}
|
|
184
|
+
if (value instanceof ArrayBuffer) {
|
|
185
|
+
return Buffer.from(new Uint8Array(value)).toString("base64");
|
|
186
|
+
}
|
|
187
|
+
return Buffer.from(value).toString("base64");
|
|
188
|
+
}
|
|
189
|
+
function toContentInput(rawContent) {
|
|
190
|
+
if (typeof rawContent === "string") {
|
|
191
|
+
return [{ type: "text", text: rawContent }];
|
|
192
|
+
}
|
|
193
|
+
return rawContent.map((part) => {
|
|
194
|
+
switch (part.type) {
|
|
195
|
+
case "text":
|
|
196
|
+
return {
|
|
197
|
+
type: "text",
|
|
198
|
+
text: part.text
|
|
199
|
+
};
|
|
200
|
+
case "image":
|
|
201
|
+
return {
|
|
202
|
+
type: "image",
|
|
203
|
+
image: part.image,
|
|
204
|
+
...part.mimeType !== void 0 ? { mimeType: part.mimeType } : {}
|
|
205
|
+
};
|
|
206
|
+
case "file":
|
|
207
|
+
return {
|
|
208
|
+
type: "file",
|
|
209
|
+
data: part.data,
|
|
210
|
+
mimeType: part.mimeType,
|
|
211
|
+
...part.filename !== void 0 ? { filename: part.filename } : {}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
function toApiContentPart(part) {
|
|
217
|
+
switch (part.type) {
|
|
218
|
+
case "text":
|
|
219
|
+
return {
|
|
220
|
+
type: "text",
|
|
221
|
+
text: part.text
|
|
222
|
+
};
|
|
223
|
+
case "image":
|
|
224
|
+
return {
|
|
225
|
+
type: "image",
|
|
226
|
+
image: serializeBinaryValue(part.image),
|
|
227
|
+
...part.mimeType !== void 0 ? { mimeType: part.mimeType } : {}
|
|
228
|
+
};
|
|
229
|
+
case "file":
|
|
230
|
+
return {
|
|
231
|
+
type: "file",
|
|
232
|
+
data: serializeBinaryValue(part.data),
|
|
233
|
+
mimeType: part.mimeType,
|
|
234
|
+
...part.filename !== void 0 ? { filename: part.filename } : {}
|
|
235
|
+
};
|
|
236
|
+
case "ui-resource":
|
|
237
|
+
return {
|
|
238
|
+
type: "ui-resource",
|
|
239
|
+
uri: part.uri,
|
|
240
|
+
mimeType: part.mimeType,
|
|
241
|
+
...part.content !== void 0 ? { content: part.content } : {},
|
|
242
|
+
...part.blob !== void 0 ? { blob: part.blob } : {},
|
|
243
|
+
...part.metadata !== void 0 ? { metadata: part.metadata } : {}
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
}
|
|
44
247
|
const ToolCallSchema = z.object({
|
|
45
248
|
id: z.string().describe("Unique identifier for this tool call"),
|
|
46
249
|
type: z.literal("function").describe("Tool call type (currently only function is supported)"),
|
|
@@ -154,7 +357,7 @@ const WorkspaceSchema = z.object({
|
|
|
154
357
|
}).strict().describe("Workspace metadata");
|
|
155
358
|
const ScheduleTaskSchema = z.object({
|
|
156
359
|
instruction: z.string().describe("Instruction to execute"),
|
|
157
|
-
metadata:
|
|
360
|
+
metadata: JsonObjectSchema.optional().describe("Optional task metadata")
|
|
158
361
|
}).strict().describe("Schedule task definition");
|
|
159
362
|
const ScheduleSchema = z.object({
|
|
160
363
|
id: z.string().describe("Schedule ID"),
|
|
@@ -265,12 +468,12 @@ const ResourceSchema = z.object({
|
|
|
265
468
|
serverName: z.string().optional().describe("Original server/provider name (for MCP resources)"),
|
|
266
469
|
size: z.number().optional().describe("Size of the resource in bytes (if known)"),
|
|
267
470
|
lastModified: z.string().datetime().optional().describe("Last modified timestamp (ISO 8601 string)"),
|
|
268
|
-
metadata: z.record(z.
|
|
471
|
+
metadata: z.record(z.string(), JsonValueSchema).optional().describe("Additional metadata specific to the resource type")
|
|
269
472
|
}).strict().describe("Resource metadata");
|
|
270
473
|
const ToolSchema = z.object({
|
|
271
474
|
name: z.string().describe("Tool name"),
|
|
272
475
|
description: z.string().describe("Tool description"),
|
|
273
|
-
inputSchema:
|
|
476
|
+
inputSchema: ToolInputSchema.describe("JSON Schema for tool input parameters")
|
|
274
477
|
}).strict().describe("Tool metadata");
|
|
275
478
|
const PromptArgumentSchema = z.object({
|
|
276
479
|
name: z.string().describe("Argument name"),
|
|
@@ -281,15 +484,31 @@ const PromptDefinitionSchema = z.object({
|
|
|
281
484
|
name: z.string().describe("Prompt name"),
|
|
282
485
|
title: z.string().optional().describe("Prompt title"),
|
|
283
486
|
description: z.string().optional().describe("Prompt description"),
|
|
284
|
-
arguments: z.array(PromptArgumentSchema).optional().describe("Array of argument definitions")
|
|
487
|
+
arguments: z.array(PromptArgumentSchema).optional().describe("Array of argument definitions"),
|
|
488
|
+
disableModelInvocation: z.boolean().optional().describe("Exclude from auto-invocation list in system prompt"),
|
|
489
|
+
userInvocable: z.boolean().optional().describe("Whether to show in slash command menu"),
|
|
490
|
+
allowedTools: z.array(z.string()).optional().describe("Tools to auto-approve when this prompt is active"),
|
|
491
|
+
toolkits: z.array(z.string()).optional().describe("Toolkits to load when invoked"),
|
|
492
|
+
model: z.string().optional().describe("Model to use when this prompt is invoked"),
|
|
493
|
+
context: z.enum(["inline", "fork"]).optional().describe("Execution context for this prompt"),
|
|
494
|
+
agent: z.string().optional().describe("Agent ID to use for fork execution")
|
|
285
495
|
}).strict().describe("Prompt definition (MCP-compliant)");
|
|
286
496
|
const PromptInfoSchema = z.object({
|
|
287
497
|
name: z.string().describe("Prompt name"),
|
|
288
498
|
title: z.string().optional().describe("Prompt title"),
|
|
289
499
|
description: z.string().optional().describe("Prompt description"),
|
|
290
500
|
arguments: z.array(PromptArgumentSchema).optional().describe("Array of argument definitions"),
|
|
501
|
+
disableModelInvocation: z.boolean().optional().describe("Exclude from auto-invocation list in system prompt"),
|
|
502
|
+
userInvocable: z.boolean().optional().describe("Whether to show in slash command menu"),
|
|
503
|
+
allowedTools: z.array(z.string()).optional().describe("Tools to auto-approve when this prompt is active"),
|
|
504
|
+
toolkits: z.array(z.string()).optional().describe("Toolkits to load when invoked"),
|
|
505
|
+
model: z.string().optional().describe("Model to use when this prompt is invoked"),
|
|
506
|
+
context: z.enum(["inline", "fork"]).optional().describe("Execution context for this prompt"),
|
|
507
|
+
agent: z.string().optional().describe("Agent ID to use for fork execution"),
|
|
291
508
|
source: z.enum(["mcp", "config", "custom"]).describe("Source of the prompt"),
|
|
292
|
-
|
|
509
|
+
displayName: z.string().optional().describe("Base display name set by provider"),
|
|
510
|
+
commandName: z.string().optional().describe("Collision-resolved slash command name"),
|
|
511
|
+
metadata: JsonObjectSchema.optional().describe("Additional metadata")
|
|
293
512
|
}).strict().describe("Enhanced prompt information");
|
|
294
513
|
const PromptSchema = z.object({
|
|
295
514
|
id: z.string().describe("Unique prompt identifier"),
|
|
@@ -307,7 +526,7 @@ const ErrorResponseSchema = z.object({
|
|
|
307
526
|
error: z.object({
|
|
308
527
|
message: z.string().describe("Error message"),
|
|
309
528
|
code: z.string().optional().describe("Error code"),
|
|
310
|
-
details:
|
|
529
|
+
details: JsonValueSchema.optional().describe("Additional error details")
|
|
311
530
|
}).strict().describe("Error details")
|
|
312
531
|
}).strict().describe("Error API response");
|
|
313
532
|
const StandardErrorEnvelopeSchema = z.object({
|
|
@@ -315,7 +534,7 @@ const StandardErrorEnvelopeSchema = z.object({
|
|
|
315
534
|
message: z.string().describe("Error message"),
|
|
316
535
|
scope: z.string().describe("Error scope"),
|
|
317
536
|
type: z.string().describe("Error type"),
|
|
318
|
-
context:
|
|
537
|
+
context: JsonValueSchema.optional().describe("Error context"),
|
|
319
538
|
recovery: z.union([z.string(), z.array(z.string())]).optional().describe("Recovery guidance"),
|
|
320
539
|
traceId: z.string().describe("Trace identifier"),
|
|
321
540
|
endpoint: z.string().describe("Request endpoint"),
|
|
@@ -332,15 +551,24 @@ const DeleteResponseSchema = z.object({
|
|
|
332
551
|
export {
|
|
333
552
|
AgentCardSchema,
|
|
334
553
|
AgentRegistryEntrySchema,
|
|
554
|
+
ApiErrorResponseSchema,
|
|
555
|
+
BadRequestErrorResponse,
|
|
335
556
|
CatalogModelInfoSchema,
|
|
557
|
+
ConflictErrorResponse,
|
|
336
558
|
ContentPartSchema,
|
|
337
559
|
DeleteResponseSchema,
|
|
338
560
|
ErrorResponseSchema,
|
|
339
561
|
ExecutionLogSchema,
|
|
340
562
|
FilePartSchema,
|
|
563
|
+
ForbiddenErrorResponse,
|
|
341
564
|
HttpServerConfigSchema,
|
|
342
565
|
ImagePartSchema,
|
|
566
|
+
InternalErrorResponse,
|
|
343
567
|
InternalMessageSchema,
|
|
568
|
+
IssueSchema,
|
|
569
|
+
JsonObjectSchema,
|
|
570
|
+
JsonSchemaPropertySchema,
|
|
571
|
+
JsonValueSchema,
|
|
344
572
|
LLMConfigBaseSchema,
|
|
345
573
|
LLMConfigResponseSchema,
|
|
346
574
|
LLMConfigSchema,
|
|
@@ -349,7 +577,9 @@ export {
|
|
|
349
577
|
MessageSearchResponseSchema,
|
|
350
578
|
ModelFlatSchema,
|
|
351
579
|
ModelStatisticsSchema,
|
|
580
|
+
NotFoundErrorResponse,
|
|
352
581
|
OkResponseSchema,
|
|
582
|
+
PaymentRequiredErrorResponse,
|
|
353
583
|
PermissionsConfigSchema,
|
|
354
584
|
PricingStatusSchema,
|
|
355
585
|
PromptArgumentSchema,
|
|
@@ -357,6 +587,9 @@ export {
|
|
|
357
587
|
PromptInfoSchema,
|
|
358
588
|
PromptSchema,
|
|
359
589
|
ProviderCatalogSchema,
|
|
590
|
+
RateLimitErrorResponse,
|
|
591
|
+
RequestContentPartSchema,
|
|
592
|
+
RequestContentSchema,
|
|
360
593
|
ResourceConfigSchema,
|
|
361
594
|
ResourceSchema,
|
|
362
595
|
ScheduleSchema,
|
|
@@ -373,11 +606,16 @@ export {
|
|
|
373
606
|
StatusResponseSchema,
|
|
374
607
|
StdioServerConfigSchema,
|
|
375
608
|
TextPartSchema,
|
|
609
|
+
TimeoutErrorResponse,
|
|
376
610
|
TokenUsageSchema,
|
|
377
611
|
ToolCallSchema,
|
|
612
|
+
ToolInputSchema,
|
|
378
613
|
ToolSchema,
|
|
379
614
|
UIResourcePartSchema,
|
|
615
|
+
UpstreamErrorResponse,
|
|
380
616
|
UsageSummarySchema,
|
|
381
617
|
WebhookSchema,
|
|
382
|
-
WorkspaceSchema
|
|
618
|
+
WorkspaceSchema,
|
|
619
|
+
toApiContentPart,
|
|
620
|
+
toContentInput
|
|
383
621
|
};
|
package/dist/hono/types.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import type { Context } from 'hono';
|
|
2
|
+
import type { Hono } from 'hono';
|
|
3
|
+
import type { RouteConfig, RouteConfigToTypedResponse } from '@hono/zod-openapi';
|
|
1
4
|
import type { OpenAPIHono } from '@hono/zod-openapi';
|
|
5
|
+
import type { DextoAgent } from '@dexto/core';
|
|
6
|
+
import type { Input, ToSchema } from 'hono/types';
|
|
2
7
|
import type { WebhookEventSubscriber } from '../events/webhook-subscriber.js';
|
|
3
8
|
export type DextoApp = OpenAPIHono & {
|
|
4
9
|
webhookSubscriber?: WebhookEventSubscriber;
|
|
5
10
|
};
|
|
11
|
+
export type GetAgentFn = (ctx: Context) => DextoAgent | Promise<DextoAgent>;
|
|
12
|
+
export type GetAgentConfigPathFn = (ctx: Context) => string | undefined | Promise<string | undefined>;
|
|
13
|
+
export type OpenAPIRouteSchema<R extends RouteConfig & {
|
|
14
|
+
getRoutingPath(): string;
|
|
15
|
+
}, I extends Input['in']> = ToSchema<R['method'], ReturnType<R['getRoutingPath']>, I, RouteConfigToTypedResponse<R>>;
|
|
16
|
+
export type HonoRouterSchema<T> = T extends Hono<any, infer S, any> ? S : never;
|
|
6
17
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/hono/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/hono/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG;IACjC,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;CAC9C,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/hono/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAA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": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"ws": "^8.18.1",
|
|
32
32
|
"yaml": "^2.8.3",
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.28.0",
|
|
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.21",
|
|
35
|
+
"@dexto/agent-management": "1.6.21",
|
|
36
|
+
"@dexto/core": "1.6.21",
|
|
37
|
+
"@dexto/image-local": "1.6.21",
|
|
38
|
+
"@dexto/storage": "1.6.21",
|
|
39
|
+
"@dexto/tools-scheduler": "1.6.21"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist",
|