@dexto/server 1.2.5 → 1.3.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/hono/index.cjs +8 -1
- package/dist/hono/index.d.ts +80 -68
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/index.js +11 -1
- package/dist/hono/routes/agents.d.ts +18 -15
- package/dist/hono/routes/agents.d.ts.map +1 -1
- package/dist/hono/routes/llm.d.ts +19 -19
- package/dist/hono/routes/memory.d.ts +1 -1
- package/dist/hono/routes/messages.cjs +10 -10
- package/dist/hono/routes/messages.d.ts +15 -15
- package/dist/hono/routes/messages.d.ts.map +1 -1
- package/dist/hono/routes/messages.js +10 -10
- package/dist/hono/routes/prompts.cjs +2 -2
- package/dist/hono/routes/prompts.d.ts +3 -3
- package/dist/hono/routes/prompts.js +2 -2
- package/dist/hono/routes/search.cjs +2 -24
- package/dist/hono/routes/search.d.ts +12 -10
- package/dist/hono/routes/search.d.ts.map +1 -1
- package/dist/hono/routes/search.js +3 -25
- package/dist/hono/routes/sessions.d.ts +6 -5
- package/dist/hono/routes/sessions.d.ts.map +1 -1
- package/dist/hono/routes/static.cjs +77 -0
- package/dist/hono/routes/static.d.ts +41 -0
- package/dist/hono/routes/static.d.ts.map +1 -0
- package/dist/hono/routes/static.js +52 -0
- package/dist/hono/schemas/responses.cjs +45 -22
- package/dist/hono/schemas/responses.d.ts +1205 -201
- package/dist/hono/schemas/responses.d.ts.map +1 -1
- package/dist/hono/schemas/responses.js +52 -32
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAsN9C,MAAM,MAAM,mBAAmB,GAAG;IAC9B,eAA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CAAC;;4CAA6E,CAAC;;wDAA4F,CAAC;gDAAkD,CAAC;kDAAoD,CAAC;;qDAAsF,CAAC;;wDAA4F,CAAC;gDAAkD,CAAC;kDAAoD,CAAC;;qDAAsF,CAAC;;wDAA4F,CAAC;gDAAkD,CAAC;kDAAoD,CAAC;;;2CAA2F,CAAC;;;;2CAAoI,CAAC;;;2CAA0F,CAAC;;oCAA8D,CAAC;6DAAmF,CAAC;sCAAyC,CAAC;;;;;;;mCAAiL,CAAC;iCAAoC,CAAC;oCAAsC,CAAC;6CAA+C,CAAC;uCAA0C,CAAC;sCAAyC,CAAC;;;;;mCAA2I,CAAC;gCAAkC,CAAC;+BAAmC,CAAC;0CAA4D,CAAC;;;;mCAAuG,CAAC;0CAA4C,CAAC;mCAAmD,CAAC;;;;mCAA0G,CAAC;0CAA4C,CAAC;mCAAmD,CAAC;;;;uCAA+S,CAAC;sCAAwC,CAAC;;;mCAAiF,CAAC;gCAAkC,CAAC;+CAAkF,CAAC;wCAAwD,CAAC;2CAA2B,CAAC;0CAA8C,CAAC;;;;;;oCAAkK,CAAC;oCAAsC,CAAC;yCAA2C,CAAC;6CAAgD,CAAC;;;;mCAAoF,CAAC;qCAAwC,CAAC;;;wCAAsF,CAAC;wCAA0C,CAAC;6CAA+C,CAAC;iDAAoD,CAAC;;;;;;kCAA2I,CAAC;;;;;sCAAyI,CAAC;uCAAsD,CAAC;;yCAAqE,CAAC;;;;;6CAA2O,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QADlrkH"}
|
|
@@ -10,10 +10,10 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
10
10
|
};
|
|
11
11
|
output: {
|
|
12
12
|
config: {
|
|
13
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
|
|
14
13
|
model: string;
|
|
15
|
-
|
|
14
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
|
|
16
15
|
router?: "vercel" | "in-built" | undefined;
|
|
16
|
+
maxIterations?: number | undefined;
|
|
17
17
|
baseURL?: string | undefined;
|
|
18
18
|
maxInputTokens?: number | undefined;
|
|
19
19
|
maxOutputTokens?: number | undefined;
|
|
@@ -43,15 +43,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
43
43
|
output: {
|
|
44
44
|
providers: {
|
|
45
45
|
openai?: {
|
|
46
|
-
hasApiKey: boolean;
|
|
47
46
|
name: string;
|
|
47
|
+
hasApiKey: boolean;
|
|
48
48
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
49
49
|
supportedRouters: ("vercel" | "in-built")[];
|
|
50
50
|
primaryEnvVar: string;
|
|
51
51
|
supportsBaseURL: boolean;
|
|
52
52
|
models: {
|
|
53
|
-
maxInputTokens: number;
|
|
54
53
|
name: string;
|
|
54
|
+
maxInputTokens: number;
|
|
55
55
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
56
56
|
default?: boolean | undefined;
|
|
57
57
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -67,15 +67,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
67
67
|
}[];
|
|
68
68
|
} | undefined;
|
|
69
69
|
"openai-compatible"?: {
|
|
70
|
-
hasApiKey: boolean;
|
|
71
70
|
name: string;
|
|
71
|
+
hasApiKey: boolean;
|
|
72
72
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
73
73
|
supportedRouters: ("vercel" | "in-built")[];
|
|
74
74
|
primaryEnvVar: string;
|
|
75
75
|
supportsBaseURL: boolean;
|
|
76
76
|
models: {
|
|
77
|
-
maxInputTokens: number;
|
|
78
77
|
name: string;
|
|
78
|
+
maxInputTokens: number;
|
|
79
79
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
80
80
|
default?: boolean | undefined;
|
|
81
81
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -91,15 +91,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
91
91
|
}[];
|
|
92
92
|
} | undefined;
|
|
93
93
|
anthropic?: {
|
|
94
|
-
hasApiKey: boolean;
|
|
95
94
|
name: string;
|
|
95
|
+
hasApiKey: boolean;
|
|
96
96
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
97
97
|
supportedRouters: ("vercel" | "in-built")[];
|
|
98
98
|
primaryEnvVar: string;
|
|
99
99
|
supportsBaseURL: boolean;
|
|
100
100
|
models: {
|
|
101
|
-
maxInputTokens: number;
|
|
102
101
|
name: string;
|
|
102
|
+
maxInputTokens: number;
|
|
103
103
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
104
104
|
default?: boolean | undefined;
|
|
105
105
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -115,15 +115,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
115
115
|
}[];
|
|
116
116
|
} | undefined;
|
|
117
117
|
google?: {
|
|
118
|
-
hasApiKey: boolean;
|
|
119
118
|
name: string;
|
|
119
|
+
hasApiKey: boolean;
|
|
120
120
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
121
121
|
supportedRouters: ("vercel" | "in-built")[];
|
|
122
122
|
primaryEnvVar: string;
|
|
123
123
|
supportsBaseURL: boolean;
|
|
124
124
|
models: {
|
|
125
|
-
maxInputTokens: number;
|
|
126
125
|
name: string;
|
|
126
|
+
maxInputTokens: number;
|
|
127
127
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
128
128
|
default?: boolean | undefined;
|
|
129
129
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -139,15 +139,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
139
139
|
}[];
|
|
140
140
|
} | undefined;
|
|
141
141
|
groq?: {
|
|
142
|
-
hasApiKey: boolean;
|
|
143
142
|
name: string;
|
|
143
|
+
hasApiKey: boolean;
|
|
144
144
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
145
145
|
supportedRouters: ("vercel" | "in-built")[];
|
|
146
146
|
primaryEnvVar: string;
|
|
147
147
|
supportsBaseURL: boolean;
|
|
148
148
|
models: {
|
|
149
|
-
maxInputTokens: number;
|
|
150
149
|
name: string;
|
|
150
|
+
maxInputTokens: number;
|
|
151
151
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
152
152
|
default?: boolean | undefined;
|
|
153
153
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -163,15 +163,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
163
163
|
}[];
|
|
164
164
|
} | undefined;
|
|
165
165
|
xai?: {
|
|
166
|
-
hasApiKey: boolean;
|
|
167
166
|
name: string;
|
|
167
|
+
hasApiKey: boolean;
|
|
168
168
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
169
169
|
supportedRouters: ("vercel" | "in-built")[];
|
|
170
170
|
primaryEnvVar: string;
|
|
171
171
|
supportsBaseURL: boolean;
|
|
172
172
|
models: {
|
|
173
|
-
maxInputTokens: number;
|
|
174
173
|
name: string;
|
|
174
|
+
maxInputTokens: number;
|
|
175
175
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
176
176
|
default?: boolean | undefined;
|
|
177
177
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -187,15 +187,15 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
187
187
|
}[];
|
|
188
188
|
} | undefined;
|
|
189
189
|
cohere?: {
|
|
190
|
-
hasApiKey: boolean;
|
|
191
190
|
name: string;
|
|
191
|
+
hasApiKey: boolean;
|
|
192
192
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
193
193
|
supportedRouters: ("vercel" | "in-built")[];
|
|
194
194
|
primaryEnvVar: string;
|
|
195
195
|
supportsBaseURL: boolean;
|
|
196
196
|
models: {
|
|
197
|
-
maxInputTokens: number;
|
|
198
197
|
name: string;
|
|
198
|
+
maxInputTokens: number;
|
|
199
199
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
200
200
|
default?: boolean | undefined;
|
|
201
201
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -213,9 +213,9 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
213
213
|
};
|
|
214
214
|
} | {
|
|
215
215
|
models: {
|
|
216
|
+
name: string;
|
|
216
217
|
provider: string;
|
|
217
218
|
maxInputTokens: number;
|
|
218
|
-
name: string;
|
|
219
219
|
supportedFileTypes: ("image" | "audio" | "pdf")[];
|
|
220
220
|
default?: boolean | undefined;
|
|
221
221
|
supportedRouters?: ("vercel" | "in-built")[] | undefined;
|
|
@@ -273,10 +273,10 @@ export declare function createLlmRouter(getAgent: () => DextoAgent): OpenAPIHono
|
|
|
273
273
|
};
|
|
274
274
|
output: {
|
|
275
275
|
config: {
|
|
276
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
|
|
277
276
|
model: string;
|
|
278
|
-
|
|
277
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere";
|
|
279
278
|
router: "vercel" | "in-built";
|
|
279
|
+
maxIterations: number;
|
|
280
280
|
baseURL?: string | undefined;
|
|
281
281
|
maxInputTokens?: number | undefined;
|
|
282
282
|
maxOutputTokens?: number | undefined;
|
|
@@ -45,7 +45,6 @@ export declare function createMemoryRouter(getAgent: () => DextoAgent): OpenAPIH
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
ok: true;
|
|
49
48
|
memories: {
|
|
50
49
|
content: string;
|
|
51
50
|
id: string;
|
|
@@ -58,6 +57,7 @@ export declare function createMemoryRouter(getAgent: () => DextoAgent): OpenAPIH
|
|
|
58
57
|
} | undefined;
|
|
59
58
|
tags?: string[] | undefined | undefined;
|
|
60
59
|
}[];
|
|
60
|
+
ok: true;
|
|
61
61
|
};
|
|
62
62
|
outputFormat: "json";
|
|
63
63
|
status: 200;
|
|
@@ -29,11 +29,11 @@ const MessageBodySchema = import_zod_openapi.z.object({
|
|
|
29
29
|
message: import_zod_openapi.z.string().optional().describe("The user message text"),
|
|
30
30
|
sessionId: import_zod_openapi.z.string().min(1, "Session ID is required").describe("The session to use for this message"),
|
|
31
31
|
imageData: import_zod_openapi.z.object({
|
|
32
|
-
|
|
32
|
+
image: import_zod_openapi.z.string().describe("Base64-encoded image data"),
|
|
33
33
|
mimeType: import_zod_openapi.z.string().describe("The MIME type of the image (e.g., image/png)")
|
|
34
34
|
}).optional().describe("Optional image data to include with the message"),
|
|
35
35
|
fileData: import_zod_openapi.z.object({
|
|
36
|
-
|
|
36
|
+
data: import_zod_openapi.z.string().describe("Base64-encoded file data"),
|
|
37
37
|
mimeType: import_zod_openapi.z.string().describe("The MIME type of the file (e.g., application/pdf)"),
|
|
38
38
|
filename: import_zod_openapi.z.string().optional().describe("The filename")
|
|
39
39
|
}).optional().describe("Optional file data to include with the message")
|
|
@@ -174,9 +174,9 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
174
174
|
const agent = getAgent();
|
|
175
175
|
agent.logger.info("Received message via POST /api/message");
|
|
176
176
|
const { message, sessionId, imageData, fileData } = ctx.req.valid("json");
|
|
177
|
-
const imageDataInput = imageData ? { image: imageData.
|
|
177
|
+
const imageDataInput = imageData ? { image: imageData.image, mimeType: imageData.mimeType } : void 0;
|
|
178
178
|
const fileDataInput = fileData ? {
|
|
179
|
-
data: fileData.
|
|
179
|
+
data: fileData.data,
|
|
180
180
|
mimeType: fileData.mimeType,
|
|
181
181
|
...fileData.filename && { filename: fileData.filename }
|
|
182
182
|
} : void 0;
|
|
@@ -193,9 +193,9 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
193
193
|
const agent = getAgent();
|
|
194
194
|
agent.logger.info("Received message via POST /api/message-sync");
|
|
195
195
|
const { message, sessionId, imageData, fileData } = ctx.req.valid("json");
|
|
196
|
-
const imageDataInput = imageData ? { image: imageData.
|
|
196
|
+
const imageDataInput = imageData ? { image: imageData.image, mimeType: imageData.mimeType } : void 0;
|
|
197
197
|
const fileDataInput = fileData ? {
|
|
198
|
-
data: fileData.
|
|
198
|
+
data: fileData.data,
|
|
199
199
|
mimeType: fileData.mimeType,
|
|
200
200
|
...fileData.filename && { filename: fileData.filename }
|
|
201
201
|
} : void 0;
|
|
@@ -228,9 +228,9 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
228
228
|
const agent = getAgent();
|
|
229
229
|
const body = ctx.req.valid("json");
|
|
230
230
|
const { message = "", sessionId, imageData, fileData } = body;
|
|
231
|
-
const imageDataInput = imageData ? { image: imageData.
|
|
231
|
+
const imageDataInput = imageData ? { image: imageData.image, mimeType: imageData.mimeType } : void 0;
|
|
232
232
|
const fileDataInput = fileData ? {
|
|
233
|
-
data: fileData.
|
|
233
|
+
data: fileData.data,
|
|
234
234
|
mimeType: fileData.mimeType,
|
|
235
235
|
...fileData.filename && { filename: fileData.filename }
|
|
236
236
|
} : void 0;
|
|
@@ -277,7 +277,7 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
277
277
|
data: JSON.stringify(approvalEvent.data)
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
|
-
const eventData = event.
|
|
280
|
+
const eventData = event.name === "llm:error" && event.error instanceof Error ? {
|
|
281
281
|
...event,
|
|
282
282
|
error: {
|
|
283
283
|
message: event.error.message,
|
|
@@ -286,7 +286,7 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
286
286
|
}
|
|
287
287
|
} : event;
|
|
288
288
|
await stream.writeSSE({
|
|
289
|
-
event: event.
|
|
289
|
+
event: event.name,
|
|
290
290
|
data: JSON.stringify(eventData)
|
|
291
291
|
});
|
|
292
292
|
}
|
|
@@ -9,12 +9,12 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
9
9
|
sessionId: string;
|
|
10
10
|
message?: string | undefined;
|
|
11
11
|
imageData?: {
|
|
12
|
+
image: string;
|
|
12
13
|
mimeType: string;
|
|
13
|
-
base64: string;
|
|
14
14
|
} | undefined;
|
|
15
15
|
fileData?: {
|
|
16
16
|
mimeType: string;
|
|
17
|
-
|
|
17
|
+
data: string;
|
|
18
18
|
filename?: string | undefined;
|
|
19
19
|
} | undefined;
|
|
20
20
|
};
|
|
@@ -31,12 +31,12 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
31
31
|
sessionId: string;
|
|
32
32
|
message?: string | undefined;
|
|
33
33
|
imageData?: {
|
|
34
|
+
image: string;
|
|
34
35
|
mimeType: string;
|
|
35
|
-
base64: string;
|
|
36
36
|
} | undefined;
|
|
37
37
|
fileData?: {
|
|
38
38
|
mimeType: string;
|
|
39
|
-
|
|
39
|
+
data: string;
|
|
40
40
|
filename?: string | undefined;
|
|
41
41
|
} | undefined;
|
|
42
42
|
};
|
|
@@ -54,12 +54,12 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
54
54
|
sessionId: string;
|
|
55
55
|
message?: string | undefined;
|
|
56
56
|
imageData?: {
|
|
57
|
+
image: string;
|
|
57
58
|
mimeType: string;
|
|
58
|
-
base64: string;
|
|
59
59
|
} | undefined;
|
|
60
60
|
fileData?: {
|
|
61
61
|
mimeType: string;
|
|
62
|
-
|
|
62
|
+
data: string;
|
|
63
63
|
filename?: string | undefined;
|
|
64
64
|
} | undefined;
|
|
65
65
|
};
|
|
@@ -73,12 +73,12 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
73
73
|
sessionId: string;
|
|
74
74
|
message?: string | undefined;
|
|
75
75
|
imageData?: {
|
|
76
|
+
image: string;
|
|
76
77
|
mimeType: string;
|
|
77
|
-
base64: string;
|
|
78
78
|
} | undefined;
|
|
79
79
|
fileData?: {
|
|
80
80
|
mimeType: string;
|
|
81
|
-
|
|
81
|
+
data: string;
|
|
82
82
|
filename?: string | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
};
|
|
@@ -86,9 +86,6 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
86
86
|
output: {
|
|
87
87
|
sessionId: string;
|
|
88
88
|
response: string;
|
|
89
|
-
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
|
|
90
|
-
model?: string | undefined;
|
|
91
|
-
router?: "vercel" | "in-built" | undefined;
|
|
92
89
|
reasoning?: string | undefined;
|
|
93
90
|
tokenUsage?: {
|
|
94
91
|
inputTokens?: number | undefined;
|
|
@@ -96,6 +93,9 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
96
93
|
reasoningTokens?: number | undefined;
|
|
97
94
|
totalTokens?: number | undefined;
|
|
98
95
|
} | undefined;
|
|
96
|
+
model?: string | undefined;
|
|
97
|
+
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
|
|
98
|
+
router?: "vercel" | "in-built" | undefined;
|
|
99
99
|
};
|
|
100
100
|
outputFormat: "json";
|
|
101
101
|
status: 200;
|
|
@@ -125,12 +125,12 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
125
125
|
sessionId: string;
|
|
126
126
|
message?: string | undefined;
|
|
127
127
|
imageData?: {
|
|
128
|
+
image: string;
|
|
128
129
|
mimeType: string;
|
|
129
|
-
base64: string;
|
|
130
130
|
} | undefined;
|
|
131
131
|
fileData?: {
|
|
132
132
|
mimeType: string;
|
|
133
|
-
|
|
133
|
+
data: string;
|
|
134
134
|
filename?: string | undefined;
|
|
135
135
|
} | undefined;
|
|
136
136
|
};
|
|
@@ -144,12 +144,12 @@ export declare function createMessagesRouter(getAgent: () => DextoAgent, approva
|
|
|
144
144
|
sessionId: string;
|
|
145
145
|
message?: string | undefined;
|
|
146
146
|
imageData?: {
|
|
147
|
+
image: string;
|
|
147
148
|
mimeType: string;
|
|
148
|
-
base64: string;
|
|
149
149
|
} | undefined;
|
|
150
150
|
fileData?: {
|
|
151
151
|
mimeType: string;
|
|
152
|
-
|
|
152
|
+
data: string;
|
|
153
153
|
filename?: string | undefined;
|
|
154
154
|
} | undefined;
|
|
155
155
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AA4ClF,wBAAgB,oBAAoB,CAChC,QAAQ,EAAE,MAAM,UAAU,EAC1B,mBAAmB,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AA4ClF,wBAAgB,oBAAoB,CAChC,QAAQ,EAAE,MAAM,UAAU,EAC1B,mBAAmB,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoW5C"}
|
|
@@ -6,11 +6,11 @@ const MessageBodySchema = z.object({
|
|
|
6
6
|
message: z.string().optional().describe("The user message text"),
|
|
7
7
|
sessionId: z.string().min(1, "Session ID is required").describe("The session to use for this message"),
|
|
8
8
|
imageData: z.object({
|
|
9
|
-
|
|
9
|
+
image: z.string().describe("Base64-encoded image data"),
|
|
10
10
|
mimeType: z.string().describe("The MIME type of the image (e.g., image/png)")
|
|
11
11
|
}).optional().describe("Optional image data to include with the message"),
|
|
12
12
|
fileData: z.object({
|
|
13
|
-
|
|
13
|
+
data: z.string().describe("Base64-encoded file data"),
|
|
14
14
|
mimeType: z.string().describe("The MIME type of the file (e.g., application/pdf)"),
|
|
15
15
|
filename: z.string().optional().describe("The filename")
|
|
16
16
|
}).optional().describe("Optional file data to include with the message")
|
|
@@ -151,9 +151,9 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
151
151
|
const agent = getAgent();
|
|
152
152
|
agent.logger.info("Received message via POST /api/message");
|
|
153
153
|
const { message, sessionId, imageData, fileData } = ctx.req.valid("json");
|
|
154
|
-
const imageDataInput = imageData ? { image: imageData.
|
|
154
|
+
const imageDataInput = imageData ? { image: imageData.image, mimeType: imageData.mimeType } : void 0;
|
|
155
155
|
const fileDataInput = fileData ? {
|
|
156
|
-
data: fileData.
|
|
156
|
+
data: fileData.data,
|
|
157
157
|
mimeType: fileData.mimeType,
|
|
158
158
|
...fileData.filename && { filename: fileData.filename }
|
|
159
159
|
} : void 0;
|
|
@@ -170,9 +170,9 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
170
170
|
const agent = getAgent();
|
|
171
171
|
agent.logger.info("Received message via POST /api/message-sync");
|
|
172
172
|
const { message, sessionId, imageData, fileData } = ctx.req.valid("json");
|
|
173
|
-
const imageDataInput = imageData ? { image: imageData.
|
|
173
|
+
const imageDataInput = imageData ? { image: imageData.image, mimeType: imageData.mimeType } : void 0;
|
|
174
174
|
const fileDataInput = fileData ? {
|
|
175
|
-
data: fileData.
|
|
175
|
+
data: fileData.data,
|
|
176
176
|
mimeType: fileData.mimeType,
|
|
177
177
|
...fileData.filename && { filename: fileData.filename }
|
|
178
178
|
} : void 0;
|
|
@@ -205,9 +205,9 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
205
205
|
const agent = getAgent();
|
|
206
206
|
const body = ctx.req.valid("json");
|
|
207
207
|
const { message = "", sessionId, imageData, fileData } = body;
|
|
208
|
-
const imageDataInput = imageData ? { image: imageData.
|
|
208
|
+
const imageDataInput = imageData ? { image: imageData.image, mimeType: imageData.mimeType } : void 0;
|
|
209
209
|
const fileDataInput = fileData ? {
|
|
210
|
-
data: fileData.
|
|
210
|
+
data: fileData.data,
|
|
211
211
|
mimeType: fileData.mimeType,
|
|
212
212
|
...fileData.filename && { filename: fileData.filename }
|
|
213
213
|
} : void 0;
|
|
@@ -254,7 +254,7 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
254
254
|
data: JSON.stringify(approvalEvent.data)
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
const eventData = event.
|
|
257
|
+
const eventData = event.name === "llm:error" && event.error instanceof Error ? {
|
|
258
258
|
...event,
|
|
259
259
|
error: {
|
|
260
260
|
message: event.error.message,
|
|
@@ -263,7 +263,7 @@ function createMessagesRouter(getAgent, approvalCoordinator) {
|
|
|
263
263
|
}
|
|
264
264
|
} : event;
|
|
265
265
|
await stream.writeSSE({
|
|
266
|
-
event: event.
|
|
266
|
+
event: event.name,
|
|
267
267
|
data: JSON.stringify(eventData)
|
|
268
268
|
});
|
|
269
269
|
}
|
|
@@ -37,7 +37,7 @@ const CustomPromptRequestSchema = import_zod_openapi.z.object({
|
|
|
37
37
|
}).strict()
|
|
38
38
|
).optional().describe("Array of argument definitions"),
|
|
39
39
|
resource: import_zod_openapi.z.object({
|
|
40
|
-
|
|
40
|
+
data: import_zod_openapi.z.string().min(1, "Resource data is required").describe("Base64-encoded resource data"),
|
|
41
41
|
mimeType: import_zod_openapi.z.string().min(1, "Resource MIME type is required").describe("MIME type of the resource (e.g., text/plain, application/pdf)"),
|
|
42
42
|
filename: import_zod_openapi.z.string().optional().describe("Resource filename")
|
|
43
43
|
}).strict().optional().describe("Attach a resource to this prompt")
|
|
@@ -182,7 +182,7 @@ function createPromptsRouter(getAgent) {
|
|
|
182
182
|
...promptArguments && promptArguments.length > 0 ? { arguments: promptArguments } : {},
|
|
183
183
|
...payload.resource ? {
|
|
184
184
|
resource: {
|
|
185
|
-
|
|
185
|
+
data: payload.resource.data,
|
|
186
186
|
mimeType: payload.resource.mimeType,
|
|
187
187
|
...payload.resource.filename ? { filename: payload.resource.filename } : {}
|
|
188
188
|
}
|
|
@@ -7,7 +7,7 @@ export declare function createPromptsRouter(getAgent: () => DextoAgent): OpenAPI
|
|
|
7
7
|
output: {
|
|
8
8
|
prompts: {
|
|
9
9
|
name: string;
|
|
10
|
-
source: "
|
|
10
|
+
source: "config" | "custom" | "mcp";
|
|
11
11
|
description?: string | undefined;
|
|
12
12
|
title?: string | undefined;
|
|
13
13
|
arguments?: {
|
|
@@ -40,7 +40,7 @@ export declare function createPromptsRouter(getAgent: () => DextoAgent): OpenAPI
|
|
|
40
40
|
}[] | undefined;
|
|
41
41
|
resource?: {
|
|
42
42
|
mimeType: string;
|
|
43
|
-
|
|
43
|
+
data: string;
|
|
44
44
|
filename?: string | undefined;
|
|
45
45
|
} | undefined;
|
|
46
46
|
};
|
|
@@ -48,7 +48,7 @@ export declare function createPromptsRouter(getAgent: () => DextoAgent): OpenAPI
|
|
|
48
48
|
output: {
|
|
49
49
|
prompt: {
|
|
50
50
|
name: string;
|
|
51
|
-
source: "
|
|
51
|
+
source: "config" | "custom" | "mcp";
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
title?: string | undefined;
|
|
54
54
|
arguments?: {
|
|
@@ -14,7 +14,7 @@ const CustomPromptRequestSchema = z.object({
|
|
|
14
14
|
}).strict()
|
|
15
15
|
).optional().describe("Array of argument definitions"),
|
|
16
16
|
resource: z.object({
|
|
17
|
-
|
|
17
|
+
data: z.string().min(1, "Resource data is required").describe("Base64-encoded resource data"),
|
|
18
18
|
mimeType: z.string().min(1, "Resource MIME type is required").describe("MIME type of the resource (e.g., text/plain, application/pdf)"),
|
|
19
19
|
filename: z.string().optional().describe("Resource filename")
|
|
20
20
|
}).strict().optional().describe("Attach a resource to this prompt")
|
|
@@ -159,7 +159,7 @@ function createPromptsRouter(getAgent) {
|
|
|
159
159
|
...promptArguments && promptArguments.length > 0 ? { arguments: promptArguments } : {},
|
|
160
160
|
...payload.resource ? {
|
|
161
161
|
resource: {
|
|
162
|
-
|
|
162
|
+
data: payload.resource.data,
|
|
163
163
|
mimeType: payload.resource.mimeType,
|
|
164
164
|
...payload.resource.filename ? { filename: payload.resource.filename } : {}
|
|
165
165
|
}
|
|
@@ -45,18 +45,7 @@ function createSearchRouter(getAgent) {
|
|
|
45
45
|
responses: {
|
|
46
46
|
200: {
|
|
47
47
|
description: "Message search results",
|
|
48
|
-
content: {
|
|
49
|
-
"application/json": {
|
|
50
|
-
schema: import_zod_openapi.z.object({
|
|
51
|
-
results: import_zod_openapi.z.array(import_responses.SearchResultSchema).describe("Array of search results"),
|
|
52
|
-
total: import_zod_openapi.z.number().int().nonnegative().describe("Total number of results available"),
|
|
53
|
-
hasMore: import_zod_openapi.z.boolean().describe(
|
|
54
|
-
"Whether there are more results beyond the current page"
|
|
55
|
-
),
|
|
56
|
-
query: import_zod_openapi.z.string().describe("Query that was searched")
|
|
57
|
-
}).strict().describe("Message search response")
|
|
58
|
-
}
|
|
59
|
-
}
|
|
48
|
+
content: { "application/json": { schema: import_responses.MessageSearchResponseSchema } }
|
|
60
49
|
}
|
|
61
50
|
}
|
|
62
51
|
});
|
|
@@ -70,18 +59,7 @@ function createSearchRouter(getAgent) {
|
|
|
70
59
|
responses: {
|
|
71
60
|
200: {
|
|
72
61
|
description: "Session search results",
|
|
73
|
-
content: {
|
|
74
|
-
"application/json": {
|
|
75
|
-
schema: import_zod_openapi.z.object({
|
|
76
|
-
results: import_zod_openapi.z.array(import_responses.SessionSearchResultSchema).describe("Array of session search results"),
|
|
77
|
-
total: import_zod_openapi.z.number().int().nonnegative().describe("Total number of sessions with matches"),
|
|
78
|
-
hasMore: import_zod_openapi.z.boolean().describe(
|
|
79
|
-
"Always false - session search returns all matching sessions without pagination"
|
|
80
|
-
),
|
|
81
|
-
query: import_zod_openapi.z.string().describe("Query that was searched")
|
|
82
|
-
}).strict().describe("Session search response")
|
|
83
|
-
}
|
|
84
|
-
}
|
|
62
|
+
content: { "application/json": { schema: import_responses.SessionSearchResponseSchema } }
|
|
85
63
|
}
|
|
86
64
|
}
|
|
87
65
|
});
|
|
@@ -21,18 +21,16 @@ export declare function createSearchRouter(getAgent: () => DextoAgent): OpenAPIH
|
|
|
21
21
|
text: string;
|
|
22
22
|
} | {
|
|
23
23
|
type: "image";
|
|
24
|
-
image
|
|
24
|
+
image: string;
|
|
25
25
|
mimeType?: string | undefined;
|
|
26
26
|
} | {
|
|
27
27
|
type: "file";
|
|
28
28
|
mimeType: string;
|
|
29
|
-
data
|
|
29
|
+
data: string;
|
|
30
30
|
filename?: string | undefined;
|
|
31
31
|
})[] | null;
|
|
32
32
|
role: "system" | "user" | "assistant" | "tool";
|
|
33
|
-
|
|
34
|
-
model?: string | undefined;
|
|
35
|
-
router?: string | undefined;
|
|
33
|
+
id?: string | undefined;
|
|
36
34
|
name?: string | undefined;
|
|
37
35
|
timestamp?: number | undefined;
|
|
38
36
|
reasoning?: string | undefined;
|
|
@@ -42,6 +40,9 @@ export declare function createSearchRouter(getAgent: () => DextoAgent): OpenAPIH
|
|
|
42
40
|
reasoningTokens?: number | undefined;
|
|
43
41
|
totalTokens?: number | undefined;
|
|
44
42
|
} | undefined;
|
|
43
|
+
model?: string | undefined;
|
|
44
|
+
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
|
|
45
|
+
router?: "vercel" | "in-built" | undefined;
|
|
45
46
|
toolCalls?: {
|
|
46
47
|
function: {
|
|
47
48
|
name: string;
|
|
@@ -84,18 +85,16 @@ export declare function createSearchRouter(getAgent: () => DextoAgent): OpenAPIH
|
|
|
84
85
|
text: string;
|
|
85
86
|
} | {
|
|
86
87
|
type: "image";
|
|
87
|
-
image
|
|
88
|
+
image: string;
|
|
88
89
|
mimeType?: string | undefined;
|
|
89
90
|
} | {
|
|
90
91
|
type: "file";
|
|
91
92
|
mimeType: string;
|
|
92
|
-
data
|
|
93
|
+
data: string;
|
|
93
94
|
filename?: string | undefined;
|
|
94
95
|
})[] | null;
|
|
95
96
|
role: "system" | "user" | "assistant" | "tool";
|
|
96
|
-
|
|
97
|
-
model?: string | undefined;
|
|
98
|
-
router?: string | undefined;
|
|
97
|
+
id?: string | undefined;
|
|
99
98
|
name?: string | undefined;
|
|
100
99
|
timestamp?: number | undefined;
|
|
101
100
|
reasoning?: string | undefined;
|
|
@@ -105,6 +104,9 @@ export declare function createSearchRouter(getAgent: () => DextoAgent): OpenAPIH
|
|
|
105
104
|
reasoningTokens?: number | undefined;
|
|
106
105
|
totalTokens?: number | undefined;
|
|
107
106
|
} | undefined;
|
|
107
|
+
model?: string | undefined;
|
|
108
|
+
provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | undefined;
|
|
109
|
+
router?: "vercel" | "in-built" | undefined;
|
|
108
110
|
toolCalls?: {
|
|
109
111
|
function: {
|
|
110
112
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA2B9C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA2B9C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwD5D"}
|