@inkeep/agents-api 0.0.0-dev-20260329211800 → 0.0.0-dev-20260330155832

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.
Files changed (36) hide show
  1. package/dist/.well-known/workflow/v1/manifest.json +99 -99
  2. package/dist/createApp.d.ts +2 -2
  3. package/dist/createApp.js +6 -0
  4. package/dist/data/db/manageDbClient.d.ts +2 -2
  5. package/dist/data/db/runDbClient.d.ts +2 -2
  6. package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
  7. package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
  8. package/dist/data-reconciliation/handlers/scheduled-triggers.d.ts +2 -2
  9. package/dist/data-reconciliation/handlers/sub-agents.d.ts +2 -2
  10. package/dist/data-reconciliation/handlers/tools.d.ts +2 -2
  11. package/dist/domains/evals/routes/datasetTriggers.d.ts +2 -2
  12. package/dist/domains/evals/routes/index.d.ts +2 -2
  13. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  14. package/dist/domains/manage/routes/authLookup.d.ts +2 -2
  15. package/dist/domains/manage/routes/conversations.d.ts +2 -2
  16. package/dist/domains/manage/routes/conversations.js +37 -5
  17. package/dist/domains/manage/routes/index.d.ts +2 -2
  18. package/dist/domains/manage/routes/invitations.d.ts +2 -2
  19. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  20. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  21. package/dist/domains/mcp/routes/mcp.d.ts +2 -2
  22. package/dist/domains/run/routes/auth.d.ts +2 -2
  23. package/dist/domains/run/services/blob-storage/local-provider.js +1 -1
  24. package/dist/domains/run/tools/distill-conversation-history-tool.d.ts +1 -1
  25. package/dist/domains/run/types/chat.d.ts +13 -13
  26. package/dist/factory.d.ts +81 -81
  27. package/dist/index.d.ts +80 -80
  28. package/dist/middleware/errorHandler.js +0 -2
  29. package/dist/middleware/evalsAuth.d.ts +2 -2
  30. package/dist/middleware/projectConfig.d.ts +3 -3
  31. package/dist/middleware/requirePermission.d.ts +2 -2
  32. package/dist/middleware/runAuth.d.ts +4 -4
  33. package/dist/middleware/sessionAuth.d.ts +3 -3
  34. package/dist/middleware/tenantAccess.d.ts +2 -2
  35. package/dist/middleware/tracing.d.ts +3 -3
  36. package/package.json +5 -5
@@ -1,9 +1,29 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
5
- "startNextIterationStep": {
6
- "stepId": "step//./src/domains/run/workflow/functions/scheduledTriggerRunner//startNextIterationStep"
4
+ "node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_59326db5a7501857789e302437f4195e/node_modules/workflow/dist/internal/builtins.js": {
5
+ "__builtin_response_array_buffer": {
6
+ "stepId": "__builtin_response_array_buffer"
7
+ },
8
+ "__builtin_response_json": {
9
+ "stepId": "__builtin_response_json"
10
+ },
11
+ "__builtin_response_text": {
12
+ "stepId": "__builtin_response_text"
13
+ }
14
+ },
15
+ "src/domains/evals/workflow/functions/evaluateConversation.ts": {
16
+ "executeEvaluatorStep": {
17
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
18
+ },
19
+ "getConversationStep": {
20
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
21
+ },
22
+ "getEvaluatorsStep": {
23
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
24
+ },
25
+ "logStep": {
26
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
7
27
  }
8
28
  },
9
29
  "src/domains/evals/workflow/functions/runDatasetItem.ts": {
@@ -20,6 +40,16 @@
20
40
  "stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
21
41
  }
22
42
  },
43
+ "node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_59326db5a7501857789e302437f4195e/node_modules/workflow/dist/stdlib.js": {
44
+ "fetch": {
45
+ "stepId": "step//workflow@4.2.0-beta.67//fetch"
46
+ }
47
+ },
48
+ "src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
49
+ "startNextIterationStep": {
50
+ "stepId": "step//./src/domains/run/workflow/functions/scheduledTriggerRunner//startNextIterationStep"
51
+ }
52
+ },
23
53
  "src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
24
54
  "addConversationIdStep": {
25
55
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
@@ -67,36 +97,6 @@
67
97
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
68
98
  }
69
99
  },
70
- "src/domains/evals/workflow/functions/evaluateConversation.ts": {
71
- "executeEvaluatorStep": {
72
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
73
- },
74
- "getConversationStep": {
75
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
76
- },
77
- "getEvaluatorsStep": {
78
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
79
- },
80
- "logStep": {
81
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
82
- }
83
- },
84
- "node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_59326db5a7501857789e302437f4195e/node_modules/workflow/dist/stdlib.js": {
85
- "fetch": {
86
- "stepId": "step//workflow@4.2.0-beta.67//fetch"
87
- }
88
- },
89
- "node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_59326db5a7501857789e302437f4195e/node_modules/workflow/dist/internal/builtins.js": {
90
- "__builtin_response_array_buffer": {
91
- "stepId": "__builtin_response_array_buffer"
92
- },
93
- "__builtin_response_json": {
94
- "stepId": "__builtin_response_json"
95
- },
96
- "__builtin_response_text": {
97
- "stepId": "__builtin_response_text"
98
- }
99
- },
100
100
  "src/domains/run/workflow/steps/agentExecutionSteps.ts": {
101
101
  "callLlmStep": {
102
102
  "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
@@ -125,6 +125,72 @@
125
125
  }
126
126
  },
127
127
  "workflows": {
128
+ "src/domains/evals/workflow/functions/evaluateConversation.ts": {
129
+ "_evaluateConversationWorkflow": {
130
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
131
+ "graph": {
132
+ "nodes": [
133
+ {
134
+ "id": "start",
135
+ "type": "workflowStart",
136
+ "data": {
137
+ "label": "Start: _evaluateConversationWorkflow",
138
+ "nodeKind": "workflow_start"
139
+ }
140
+ },
141
+ {
142
+ "id": "end",
143
+ "type": "workflowEnd",
144
+ "data": {
145
+ "label": "Return",
146
+ "nodeKind": "workflow_end"
147
+ }
148
+ }
149
+ ],
150
+ "edges": [
151
+ {
152
+ "id": "e_start_end",
153
+ "source": "start",
154
+ "target": "end",
155
+ "type": "default"
156
+ }
157
+ ]
158
+ }
159
+ }
160
+ },
161
+ "src/domains/evals/workflow/functions/runDatasetItem.ts": {
162
+ "_runDatasetItemWorkflow": {
163
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
164
+ "graph": {
165
+ "nodes": [
166
+ {
167
+ "id": "start",
168
+ "type": "workflowStart",
169
+ "data": {
170
+ "label": "Start: _runDatasetItemWorkflow",
171
+ "nodeKind": "workflow_start"
172
+ }
173
+ },
174
+ {
175
+ "id": "end",
176
+ "type": "workflowEnd",
177
+ "data": {
178
+ "label": "Return",
179
+ "nodeKind": "workflow_end"
180
+ }
181
+ }
182
+ ],
183
+ "edges": [
184
+ {
185
+ "id": "e_start_end",
186
+ "source": "start",
187
+ "target": "end",
188
+ "type": "default"
189
+ }
190
+ ]
191
+ }
192
+ }
193
+ },
128
194
  "src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
129
195
  "_scheduledTriggerRunnerWorkflow": {
130
196
  "workflowId": "workflow//./src/domains/run/workflow/functions/scheduledTriggerRunner//_scheduledTriggerRunnerWorkflow",
@@ -215,72 +281,6 @@
215
281
  }
216
282
  }
217
283
  },
218
- "src/domains/evals/workflow/functions/runDatasetItem.ts": {
219
- "_runDatasetItemWorkflow": {
220
- "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
221
- "graph": {
222
- "nodes": [
223
- {
224
- "id": "start",
225
- "type": "workflowStart",
226
- "data": {
227
- "label": "Start: _runDatasetItemWorkflow",
228
- "nodeKind": "workflow_start"
229
- }
230
- },
231
- {
232
- "id": "end",
233
- "type": "workflowEnd",
234
- "data": {
235
- "label": "Return",
236
- "nodeKind": "workflow_end"
237
- }
238
- }
239
- ],
240
- "edges": [
241
- {
242
- "id": "e_start_end",
243
- "source": "start",
244
- "target": "end",
245
- "type": "default"
246
- }
247
- ]
248
- }
249
- }
250
- },
251
- "src/domains/evals/workflow/functions/evaluateConversation.ts": {
252
- "_evaluateConversationWorkflow": {
253
- "workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
254
- "graph": {
255
- "nodes": [
256
- {
257
- "id": "start",
258
- "type": "workflowStart",
259
- "data": {
260
- "label": "Start: _evaluateConversationWorkflow",
261
- "nodeKind": "workflow_start"
262
- }
263
- },
264
- {
265
- "id": "end",
266
- "type": "workflowEnd",
267
- "data": {
268
- "label": "Return",
269
- "nodeKind": "workflow_end"
270
- }
271
- }
272
- ],
273
- "edges": [
274
- {
275
- "id": "e_start_end",
276
- "source": "start",
277
- "target": "end",
278
- "type": "default"
279
- }
280
- ]
281
- }
282
- }
283
- },
284
284
  "src/domains/run/workflow/functions/agentExecution.ts": {
285
285
  "_agentExecutionWorkflow": {
286
286
  "workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
@@ -1,10 +1,10 @@
1
1
  import { AppConfig } from "./types/app.js";
2
2
  import "./types/index.js";
3
3
  import { Hono } from "hono";
4
- import * as hono_types5 from "hono/types";
4
+ import * as hono_types10 from "hono/types";
5
5
 
6
6
  //#region src/createApp.d.ts
7
7
  declare const isWebhookRoute: (path: string) => boolean;
8
- declare function createAgentsHono(config: AppConfig): Hono<hono_types5.BlankEnv, hono_types5.BlankSchema, "/">;
8
+ declare function createAgentsHono(config: AppConfig): Hono<hono_types10.BlankEnv, hono_types10.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { createAgentsHono, isWebhookRoute };
package/dist/createApp.js CHANGED
@@ -38,6 +38,12 @@ function createAgentsHono(config) {
38
38
  const { serverConfig, credentialStores, auth, sandboxConfig } = config;
39
39
  const app = new OpenAPIHono();
40
40
  app.use("*", requestId());
41
+ app.use("*", async (c, next) => {
42
+ await next();
43
+ c.header("X-Content-Type-Options", "nosniff");
44
+ c.header("Referrer-Policy", "strict-origin-when-cross-origin");
45
+ c.header("X-XSS-Protection", "0");
46
+ });
41
47
  app.use("/api/auth/*", cors(authCorsConfig));
42
48
  if (auth) {
43
49
  if (env.ENVIRONMENT === "development") app.post("/api/auth/dev-session", async (c) => {
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core5 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core4 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data/db/manageDbClient.d.ts
4
- declare const manageDbClient: _inkeep_agents_core5.AgentsManageDatabaseClient;
4
+ declare const manageDbClient: _inkeep_agents_core4.AgentsManageDatabaseClient;
5
5
  //#endregion
6
6
  export { manageDbClient as default };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core0 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core3 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data/db/runDbClient.d.ts
4
- declare const runDbClient: _inkeep_agents_core0.AgentsRunDatabaseClient;
4
+ declare const runDbClient: _inkeep_agents_core3.AgentsRunDatabaseClient;
5
5
  //#endregion
6
6
  export { runDbClient as default };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core4 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core1 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/agent.d.ts
4
- declare const agentHandlers: _inkeep_agents_core4.EntityEffectHandlers<"agent">;
4
+ declare const agentHandlers: _inkeep_agents_core1.EntityEffectHandlers<"agent">;
5
5
  //#endregion
6
6
  export { agentHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core0 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core2 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/context-configs.d.ts
4
- declare const contextConfigsHandlers: _inkeep_agents_core0.EntityEffectHandlers<"context_configs">;
4
+ declare const contextConfigsHandlers: _inkeep_agents_core2.EntityEffectHandlers<"context_configs">;
5
5
  //#endregion
6
6
  export { contextConfigsHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core1 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core0 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/scheduled-triggers.d.ts
4
- declare const scheduledTriggersHandlers: _inkeep_agents_core1.EntityEffectHandlers<"scheduled_triggers">;
4
+ declare const scheduledTriggersHandlers: _inkeep_agents_core0.EntityEffectHandlers<"scheduled_triggers">;
5
5
  //#endregion
6
6
  export { scheduledTriggersHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core2 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core5 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/sub-agents.d.ts
4
- declare const subAgentsHandlers: _inkeep_agents_core2.EntityEffectHandlers<"sub_agents">;
4
+ declare const subAgentsHandlers: _inkeep_agents_core5.EntityEffectHandlers<"sub_agents">;
5
5
  //#endregion
6
6
  export { subAgentsHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core3 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core0 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/tools.d.ts
4
- declare const toolsHandlers: _inkeep_agents_core3.EntityEffectHandlers<"tools">;
4
+ declare const toolsHandlers: _inkeep_agents_core0.EntityEffectHandlers<"tools">;
5
5
  //#endregion
6
6
  export { toolsHandlers };
@@ -1,7 +1,7 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono8 from "hono";
2
+ import * as hono10 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/datasetTriggers.d.ts
5
- declare const app: OpenAPIHono<hono8.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono10.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono10 from "hono";
2
+ import * as hono12 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono10.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono12.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types12 from "hono/types";
2
+ import * as hono_types3 from "hono/types";
3
3
 
4
4
  //#region src/domains/evals/workflow/routes.d.ts
5
- declare const workflowRoutes: Hono<hono_types12.BlankEnv, hono_types12.BlankSchema, "/">;
5
+ declare const workflowRoutes: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
6
6
  //#endregion
7
7
  export { workflowRoutes };
@@ -1,10 +1,10 @@
1
1
  import { ManageAppVariables } from "../../../types/app.js";
2
2
  import { Hono } from "hono";
3
- import * as hono_types1 from "hono/types";
3
+ import * as hono_types2 from "hono/types";
4
4
 
5
5
  //#region src/domains/manage/routes/authLookup.d.ts
6
6
  declare const authLookupRoutes: Hono<{
7
7
  Variables: ManageAppVariables;
8
- }, hono_types1.BlankSchema, "/">;
8
+ }, hono_types2.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { authLookupRoutes as default };
@@ -1,7 +1,7 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono17 from "hono";
2
+ import * as hono14 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/conversations.d.ts
5
- declare const app: OpenAPIHono<hono17.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono14.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -7,6 +7,7 @@ import { resolveMessagesListBlobUris } from "../../run/services/blob-storage/res
7
7
  import { OpenAPIHono, z } from "@hono/zod-openapi";
8
8
  import { TenantProjectIdParamsSchema, TenantProjectParamsSchema, commonGetErrorResponses, createApiError, formatMessagesForLLMContext, getConversation, getConversationHistory, listConversations } from "@inkeep/agents-core";
9
9
  import { createProtectedRoute } from "@inkeep/agents-core/middleware";
10
+ import { ALLOWED_IMAGE_MIME_TYPES, ALLOWED_TEXT_DOCUMENT_MIME_TYPES, normalizeMimeType } from "@inkeep/agents-core/constants/allowed-file-formats";
10
11
 
11
12
  //#region src/domains/manage/routes/conversations.ts
12
13
  const logger = getLogger$1("conversations-media");
@@ -15,6 +16,38 @@ function isMediaNotFoundError(error) {
15
16
  const normalized = (error instanceof Error ? error.message : String(error)).toLowerCase();
16
17
  return normalized.includes("enoent") || normalized.includes("nosuchkey") || normalized.includes("statuscode: 404") || normalized.includes(" 404") || normalized.includes(" not found");
17
18
  }
19
+ const SAFE_IMAGE_PASSTHROUGH_MIME_TYPES = new Set([...ALLOWED_IMAGE_MIME_TYPES].filter((t) => t !== "image/svg+xml"));
20
+ const TEXT_DOCUMENT_DOWNLOAD_MIME_TYPES = new Set(ALLOWED_TEXT_DOCUMENT_MIME_TYPES);
21
+ function getSafeMediaResponseHeaders({ contentType, contentLength }) {
22
+ const normalizedContentType = normalizeMimeType(contentType);
23
+ if (SAFE_IMAGE_PASSTHROUGH_MIME_TYPES.has(normalizedContentType)) return {
24
+ "Content-Type": contentType,
25
+ "X-Content-Type-Options": "nosniff",
26
+ "Cache-Control": "private, max-age=31536000, immutable",
27
+ "Content-Length": contentLength.toString()
28
+ };
29
+ if (normalizedContentType === "application/pdf") return {
30
+ "Content-Type": "application/pdf",
31
+ "Content-Disposition": "attachment",
32
+ "X-Content-Type-Options": "nosniff",
33
+ "Cache-Control": "private, max-age=31536000, immutable",
34
+ "Content-Length": contentLength.toString()
35
+ };
36
+ if (TEXT_DOCUMENT_DOWNLOAD_MIME_TYPES.has(normalizedContentType)) return {
37
+ "Content-Type": "text/plain; charset=utf-8",
38
+ "Content-Disposition": "attachment",
39
+ "X-Content-Type-Options": "nosniff",
40
+ "Cache-Control": "private, max-age=31536000, immutable",
41
+ "Content-Length": contentLength.toString()
42
+ };
43
+ return {
44
+ "Content-Type": "application/octet-stream",
45
+ "Content-Disposition": "attachment",
46
+ "X-Content-Type-Options": "nosniff",
47
+ "Cache-Control": "private, max-age=31536000, immutable",
48
+ "Content-Length": contentLength.toString()
49
+ };
50
+ }
18
51
  const ConversationListQuerySchema = z.object({
19
52
  page: z.coerce.number().min(1).default(1).optional(),
20
53
  limit: z.coerce.number().min(1).max(200).default(20).optional(),
@@ -213,11 +246,10 @@ app.openapi(createProtectedRoute({
213
246
  const result = await getBlobStorageProvider().download(key);
214
247
  return new Response(result.data, {
215
248
  status: 200,
216
- headers: {
217
- "Content-Type": result.contentType,
218
- "Cache-Control": "private, max-age=31536000, immutable",
219
- "Content-Length": result.data.length.toString()
220
- }
249
+ headers: getSafeMediaResponseHeaders({
250
+ contentType: result.contentType,
251
+ contentLength: result.data.length
252
+ })
221
253
  });
222
254
  } catch (error) {
223
255
  const errorMessage = error instanceof Error ? error.message : String(error);
@@ -1,7 +1,7 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono9 from "hono";
2
+ import * as hono13 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono9.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono13.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,10 +1,10 @@
1
1
  import { ManageAppVariables } from "../../../types/app.js";
2
2
  import { Hono } from "hono";
3
- import * as hono_types0 from "hono/types";
3
+ import * as hono_types1 from "hono/types";
4
4
 
5
5
  //#region src/domains/manage/routes/invitations.d.ts
6
6
  declare const invitationsRoutes: Hono<{
7
7
  Variables: ManageAppVariables;
8
- }, hono_types0.BlankSchema, "/">;
8
+ }, hono_types1.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { invitationsRoutes as default };
@@ -1,10 +1,10 @@
1
1
  import { ManageAppVariables } from "../../../types/app.js";
2
2
  import { Hono } from "hono";
3
- import * as hono_types0 from "hono/types";
3
+ import * as hono_types7 from "hono/types";
4
4
 
5
5
  //#region src/domains/manage/routes/passwordResetLinks.d.ts
6
6
  declare const passwordResetLinksRoutes: Hono<{
7
7
  Variables: ManageAppVariables;
8
- }, hono_types0.BlankSchema, "/">;
8
+ }, hono_types7.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { passwordResetLinksRoutes as default };
@@ -1,10 +1,10 @@
1
1
  import { ManageAppVariables } from "../../../types/app.js";
2
2
  import { Hono } from "hono";
3
- import * as hono_types2 from "hono/types";
3
+ import * as hono_types8 from "hono/types";
4
4
 
5
5
  //#region src/domains/manage/routes/signoz.d.ts
6
6
  declare const app: Hono<{
7
7
  Variables: ManageAppVariables;
8
- }, hono_types2.BlankSchema, "/">;
8
+ }, hono_types8.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types7 from "hono/types";
2
+ import * as hono_types5 from "hono/types";
3
3
 
4
4
  //#region src/domains/mcp/routes/mcp.d.ts
5
- declare const app: Hono<hono_types7.BlankEnv, hono_types7.BlankSchema, "/">;
5
+ declare const app: Hono<hono_types5.BlankEnv, hono_types5.BlankSchema, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,8 +1,8 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono18 from "hono";
2
+ import * as hono19 from "hono";
3
3
 
4
4
  //#region src/domains/run/routes/auth.d.ts
5
5
  declare function getAnonJwtSecret(): Uint8Array;
6
- declare const app: OpenAPIHono<hono18.Env, {}, "/">;
6
+ declare const app: OpenAPIHono<hono19.Env, {}, "/">;
7
7
  //#endregion
8
8
  export { app as default, getAnonJwtSecret };
@@ -1,8 +1,8 @@
1
1
  import { getLogger } from "../../../../logger.js";
2
2
  import { env } from "../../../../env.js";
3
3
  import path from "node:path";
4
- import { access, lstat, mkdir, readFile, rm, writeFile } from "node:fs/promises";
5
4
  import { getMimeTypeFromExtension } from "@inkeep/agents-core/constants/allowed-file-formats";
5
+ import { access, lstat, mkdir, readFile, rm, writeFile } from "node:fs/promises";
6
6
 
7
7
  //#region src/domains/run/services/blob-storage/local-provider.ts
8
8
  const logger = getLogger("LocalBlobStorageProvider");
@@ -29,9 +29,9 @@ declare const ConversationHistorySummarySchema: z.ZodObject<{
29
29
  tool_call_id: z.ZodString;
30
30
  content_summary: z.ZodString;
31
31
  relevance: z.ZodEnum<{
32
- low: "low";
33
32
  high: "high";
34
33
  medium: "medium";
34
+ low: "low";
35
35
  }>;
36
36
  }, z.core.$strip>>>;
37
37
  conversation_flow: z.ZodObject<{
@@ -7,9 +7,9 @@ declare const InlineDocumentDataSchema: z.ZodUnion<readonly [z.ZodUnion<readonly
7
7
  /** OpenAI-specific image detail level. Has no effect on other providers. */
8
8
  declare const ImageDetailEnum: readonly ["auto", "low", "high"];
9
9
  declare const ImageDetailSchema: z.ZodEnum<{
10
- auto: "auto";
11
- low: "low";
12
10
  high: "high";
11
+ low: "low";
12
+ auto: "auto";
13
13
  }>;
14
14
  type ImageDetail = z.infer<typeof ImageDetailSchema>;
15
15
  declare const ImageContentItemSchema: z.ZodObject<{
@@ -17,9 +17,9 @@ declare const ImageContentItemSchema: z.ZodObject<{
17
17
  image_url: z.ZodObject<{
18
18
  url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
19
19
  detail: z.ZodOptional<z.ZodEnum<{
20
- auto: "auto";
21
- low: "low";
22
20
  high: "high";
21
+ low: "low";
22
+ auto: "auto";
23
23
  }>>;
24
24
  }, z.core.$strip>;
25
25
  }, z.core.$strip>;
@@ -102,9 +102,9 @@ declare const VercelMessagePartSchema: z.ZodUnion<readonly [z.ZodObject<{
102
102
  declare const VercelMessageSchema: z.ZodObject<{
103
103
  role: z.ZodEnum<{
104
104
  function: "function";
105
- user: "user";
106
105
  tool: "tool";
107
106
  system: "system";
107
+ user: "user";
108
108
  assistant: "assistant";
109
109
  }>;
110
110
  content: z.ZodAny;
@@ -160,9 +160,9 @@ declare const ContentItemSchema: z.ZodUnion<readonly [z.ZodObject<{
160
160
  image_url: z.ZodObject<{
161
161
  url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
162
162
  detail: z.ZodOptional<z.ZodEnum<{
163
- auto: "auto";
164
- low: "low";
165
163
  high: "high";
164
+ low: "low";
165
+ auto: "auto";
166
166
  }>>;
167
167
  }, z.core.$strip>;
168
168
  }, z.core.$strip>, z.ZodObject<{
@@ -177,9 +177,9 @@ type ContentItem = z.infer<typeof ContentItemSchema>;
177
177
  declare const MessageSchema: z.ZodObject<{
178
178
  role: z.ZodEnum<{
179
179
  function: "function";
180
- user: "user";
181
180
  tool: "tool";
182
181
  system: "system";
182
+ user: "user";
183
183
  assistant: "assistant";
184
184
  }>;
185
185
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -190,9 +190,9 @@ declare const MessageSchema: z.ZodObject<{
190
190
  image_url: z.ZodObject<{
191
191
  url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
192
192
  detail: z.ZodOptional<z.ZodEnum<{
193
- auto: "auto";
194
- low: "low";
195
193
  high: "high";
194
+ low: "low";
195
+ auto: "auto";
196
196
  }>>;
197
197
  }, z.core.$strip>;
198
198
  }, z.core.$strip>, z.ZodObject<{
@@ -210,9 +210,9 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
210
210
  messages: z.ZodArray<z.ZodObject<{
211
211
  role: z.ZodEnum<{
212
212
  function: "function";
213
- user: "user";
214
213
  tool: "tool";
215
214
  system: "system";
215
+ user: "user";
216
216
  assistant: "assistant";
217
217
  }>;
218
218
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -223,9 +223,9 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
223
223
  image_url: z.ZodObject<{
224
224
  url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
225
225
  detail: z.ZodOptional<z.ZodEnum<{
226
- auto: "auto";
227
- low: "low";
228
226
  high: "high";
227
+ low: "low";
228
+ auto: "auto";
229
229
  }>>;
230
230
  }, z.core.$strip>;
231
231
  }, z.core.$strip>, z.ZodObject<{