@inkeep/agents-api 0.0.0-dev-20260331031331 → 0.0.0-dev-20260331052759

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 (30) hide show
  1. package/dist/.well-known/workflow/v1/manifest.json +58 -58
  2. package/dist/createApp.d.ts +2 -2
  3. package/dist/data/db/manageDbClient.d.ts +2 -2
  4. package/dist/data/db/runDbClient.d.ts +2 -2
  5. package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
  6. package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
  7. package/dist/data-reconciliation/handlers/sub-agents.d.ts +2 -2
  8. package/dist/data-reconciliation/handlers/tools.d.ts +2 -2
  9. package/dist/domains/evals/routes/datasetTriggers.d.ts +2 -2
  10. package/dist/domains/evals/routes/index.d.ts +2 -2
  11. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  12. package/dist/domains/manage/routes/authLookup.d.ts +2 -2
  13. package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
  14. package/dist/domains/manage/routes/conversations.d.ts +2 -2
  15. package/dist/domains/manage/routes/index.d.ts +2 -2
  16. package/dist/domains/manage/routes/invitations.d.ts +2 -2
  17. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  18. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  19. package/dist/domains/manage/routes/users.d.ts +2 -2
  20. package/dist/domains/run/routes/auth.js +2 -2
  21. package/dist/domains/run/types/chat.d.ts +3 -3
  22. package/dist/env.d.ts +2 -2
  23. package/dist/index.d.ts +2 -2
  24. package/dist/middleware/manageAuth.d.ts +3 -3
  25. package/dist/middleware/projectConfig.d.ts +3 -3
  26. package/dist/middleware/runAuth.d.ts +4 -4
  27. package/dist/middleware/sessionAuth.d.ts +3 -3
  28. package/dist/middleware/tenantAccess.d.ts +2 -2
  29. package/dist/middleware/tracing.d.ts +3 -3
  30. package/package.json +5 -5
@@ -12,9 +12,18 @@
12
12
  "stepId": "__builtin_response_text"
13
13
  }
14
14
  },
15
- "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": {
16
- "fetch": {
17
- "stepId": "step//workflow@4.2.0-beta.67//fetch"
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"
18
27
  }
19
28
  },
20
29
  "src/domains/evals/workflow/functions/runDatasetItem.ts": {
@@ -31,6 +40,11 @@
31
40
  "stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
32
41
  }
33
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
+ },
34
48
  "src/domains/run/workflow/steps/schedulerSteps.ts": {
35
49
  "checkSchedulerCurrentStep": {
36
50
  "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
@@ -45,20 +59,6 @@
45
59
  "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
46
60
  }
47
61
  },
48
- "src/domains/evals/workflow/functions/evaluateConversation.ts": {
49
- "executeEvaluatorStep": {
50
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
51
- },
52
- "getConversationStep": {
53
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
54
- },
55
- "getEvaluatorsStep": {
56
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
57
- },
58
- "logStep": {
59
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
60
- }
61
- },
62
62
  "src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
63
63
  "addConversationIdStep": {
64
64
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
@@ -125,16 +125,16 @@
125
125
  }
126
126
  },
127
127
  "workflows": {
128
- "src/domains/evals/workflow/functions/runDatasetItem.ts": {
129
- "_runDatasetItemWorkflow": {
130
- "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
128
+ "src/domains/evals/workflow/functions/evaluateConversation.ts": {
129
+ "_evaluateConversationWorkflow": {
130
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
131
131
  "graph": {
132
132
  "nodes": [
133
133
  {
134
134
  "id": "start",
135
135
  "type": "workflowStart",
136
136
  "data": {
137
- "label": "Start: _runDatasetItemWorkflow",
137
+ "label": "Start: _evaluateConversationWorkflow",
138
138
  "nodeKind": "workflow_start"
139
139
  }
140
140
  },
@@ -158,16 +158,16 @@
158
158
  }
159
159
  }
160
160
  },
161
- "src/domains/evals/workflow/functions/evaluateConversation.ts": {
162
- "_evaluateConversationWorkflow": {
163
- "workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
161
+ "src/domains/evals/workflow/functions/runDatasetItem.ts": {
162
+ "_runDatasetItemWorkflow": {
163
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
164
164
  "graph": {
165
165
  "nodes": [
166
166
  {
167
167
  "id": "start",
168
168
  "type": "workflowStart",
169
169
  "data": {
170
- "label": "Start: _evaluateConversationWorkflow",
170
+ "label": "Start: _runDatasetItemWorkflow",
171
171
  "nodeKind": "workflow_start"
172
172
  }
173
173
  },
@@ -267,39 +267,6 @@
267
267
  }
268
268
  }
269
269
  },
270
- "src/domains/run/workflow/functions/agentExecution.ts": {
271
- "_agentExecutionWorkflow": {
272
- "workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
273
- "graph": {
274
- "nodes": [
275
- {
276
- "id": "start",
277
- "type": "workflowStart",
278
- "data": {
279
- "label": "Start: _agentExecutionWorkflow",
280
- "nodeKind": "workflow_start"
281
- }
282
- },
283
- {
284
- "id": "end",
285
- "type": "workflowEnd",
286
- "data": {
287
- "label": "Return",
288
- "nodeKind": "workflow_end"
289
- }
290
- }
291
- ],
292
- "edges": [
293
- {
294
- "id": "e_start_end",
295
- "source": "start",
296
- "target": "end",
297
- "type": "default"
298
- }
299
- ]
300
- }
301
- }
302
- },
303
270
  "src/domains/run/workflow/functions/schedulerWorkflow.ts": {
304
271
  "_schedulerWorkflow": {
305
272
  "workflowId": "workflow//./src/domains/run/workflow/functions/schedulerWorkflow//_schedulerWorkflow",
@@ -355,6 +322,39 @@
355
322
  ]
356
323
  }
357
324
  }
325
+ },
326
+ "src/domains/run/workflow/functions/agentExecution.ts": {
327
+ "_agentExecutionWorkflow": {
328
+ "workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
329
+ "graph": {
330
+ "nodes": [
331
+ {
332
+ "id": "start",
333
+ "type": "workflowStart",
334
+ "data": {
335
+ "label": "Start: _agentExecutionWorkflow",
336
+ "nodeKind": "workflow_start"
337
+ }
338
+ },
339
+ {
340
+ "id": "end",
341
+ "type": "workflowEnd",
342
+ "data": {
343
+ "label": "Return",
344
+ "nodeKind": "workflow_end"
345
+ }
346
+ }
347
+ ],
348
+ "edges": [
349
+ {
350
+ "id": "e_start_end",
351
+ "source": "start",
352
+ "target": "end",
353
+ "type": "default"
354
+ }
355
+ ]
356
+ }
357
+ }
358
358
  }
359
359
  },
360
360
  "classes": {}
@@ -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_types1 from "hono/types";
4
+ import * as hono_types12 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_types1.BlankEnv, hono_types1.BlankSchema, "/">;
8
+ declare function createAgentsHono(config: AppConfig): Hono<hono_types12.BlankEnv, hono_types12.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { createAgentsHono, isWebhookRoute };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core4 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core0 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data/db/manageDbClient.d.ts
4
- declare const manageDbClient: _inkeep_agents_core4.AgentsManageDatabaseClient;
4
+ declare const manageDbClient: _inkeep_agents_core0.AgentsManageDatabaseClient;
5
5
  //#endregion
6
6
  export { manageDbClient as default };
@@ -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/db/runDbClient.d.ts
4
- declare const runDbClient: _inkeep_agents_core1.AgentsRunDatabaseClient;
4
+ declare const runDbClient: _inkeep_agents_core0.AgentsRunDatabaseClient;
5
5
  //#endregion
6
6
  export { runDbClient as default };
@@ -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/agent.d.ts
4
- declare const agentHandlers: _inkeep_agents_core0.EntityEffectHandlers<"agent">;
4
+ declare const agentHandlers: _inkeep_agents_core2.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_core1 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_core1.EntityEffectHandlers<"context_configs">;
5
5
  //#endregion
6
6
  export { contextConfigsHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core3 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core4 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/sub-agents.d.ts
4
- declare const subAgentsHandlers: _inkeep_agents_core3.EntityEffectHandlers<"sub_agents">;
4
+ declare const subAgentsHandlers: _inkeep_agents_core4.EntityEffectHandlers<"sub_agents">;
5
5
  //#endregion
6
6
  export { subAgentsHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core2 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core3 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/tools.d.ts
4
- declare const toolsHandlers: _inkeep_agents_core2.EntityEffectHandlers<"tools">;
4
+ declare const toolsHandlers: _inkeep_agents_core3.EntityEffectHandlers<"tools">;
5
5
  //#endregion
6
6
  export { toolsHandlers };
@@ -1,7 +1,7 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono17 from "hono";
2
+ import * as hono12 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/datasetTriggers.d.ts
5
- declare const app: OpenAPIHono<hono17.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono12.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 hono18 from "hono";
2
+ import * as hono13 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono18.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono13.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types4 from "hono/types";
2
+ import * as hono_types6 from "hono/types";
3
3
 
4
4
  //#region src/domains/evals/workflow/routes.d.ts
5
- declare const workflowRoutes: Hono<hono_types4.BlankEnv, hono_types4.BlankSchema, "/">;
5
+ declare const workflowRoutes: Hono<hono_types6.BlankEnv, hono_types6.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_types3 from "hono/types";
3
+ import * as hono_types1 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_types3.BlankSchema, "/">;
8
+ }, hono_types1.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 hono12 from "hono";
2
+ import * as hono15 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/availableAgents.d.ts
5
- declare const app: OpenAPIHono<hono12.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono15.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 hono13 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<hono13.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono14.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 hono14 from "hono";
2
+ import * as hono16 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono14.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono16.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_types7 from "hono/types";
3
+ import * as hono_types4 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_types7.BlankSchema, "/">;
8
+ }, hono_types4.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_types6 from "hono/types";
3
+ import * as hono_types3 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_types6.BlankSchema, "/">;
8
+ }, hono_types3.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_types10 from "hono/types";
3
+ import * as hono_types2 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_types10.BlankSchema, "/">;
8
+ }, hono_types2.BlankSchema, "/">;
9
9
  //#endregion
10
10
  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_types11 from "hono/types";
3
+ import * as hono_types5 from "hono/types";
4
4
 
5
5
  //#region src/domains/manage/routes/users.d.ts
6
6
  declare const usersRoutes: Hono<{
7
7
  Variables: ManageAppVariables;
8
- }, hono_types11.BlankSchema, "/">;
8
+ }, hono_types5.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { usersRoutes as default };
@@ -150,8 +150,8 @@ app.openapi(createProtectedRoute({
150
150
  }
151
151
  const isRefresh = !!anonUserId;
152
152
  if (!anonUserId) anonUserId = `anon_${crypto.randomUUID()}`;
153
- const tenantId = isRefresh ? refreshTenantId ?? appRecord.tenantId : appRecord.tenantId || c.req.header("x-inkeep-tenant-id") || null;
154
- const projectId = isRefresh ? refreshProjectId ?? appRecord.projectId : appRecord.projectId || c.req.header("x-inkeep-project-id") || null;
153
+ const tenantId = isRefresh ? refreshTenantId ?? appRecord.tenantId : appRecord.tenantId;
154
+ const projectId = isRefresh ? refreshProjectId ?? appRecord.projectId : appRecord.projectId;
155
155
  const lifetimeSeconds = env.INKEEP_ANON_SESSION_LIFETIME_SECONDS;
156
156
  const now = Math.floor(Date.now() / 1e3);
157
157
  const exp = now + lifetimeSeconds;
@@ -102,8 +102,8 @@ 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
  system: "system";
106
+ user: "user";
107
107
  assistant: "assistant";
108
108
  tool: "tool";
109
109
  }>;
@@ -177,8 +177,8 @@ 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
  system: "system";
181
+ user: "user";
182
182
  assistant: "assistant";
183
183
  tool: "tool";
184
184
  }>;
@@ -210,8 +210,8 @@ 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
  system: "system";
214
+ user: "user";
215
215
  assistant: "assistant";
216
216
  tool: "tool";
217
217
  }>;
package/dist/env.d.ts CHANGED
@@ -14,11 +14,11 @@ declare const envSchema: z.ZodObject<{
14
14
  pentest: "pentest";
15
15
  }>>;
16
16
  LOG_LEVEL: z.ZodDefault<z.ZodEnum<{
17
- error: "error";
18
17
  trace: "trace";
19
18
  debug: "debug";
20
19
  info: "info";
21
20
  warn: "warn";
21
+ error: "error";
22
22
  }>>;
23
23
  INKEEP_AGENTS_MANAGE_DATABASE_URL: z.ZodString;
24
24
  INKEEP_AGENTS_RUN_DATABASE_URL: z.ZodString;
@@ -79,7 +79,7 @@ declare const envSchema: z.ZodObject<{
79
79
  declare const env: {
80
80
  NODE_ENV: "development" | "production" | "test";
81
81
  ENVIRONMENT: "development" | "production" | "test" | "pentest";
82
- LOG_LEVEL: "error" | "trace" | "debug" | "info" | "warn";
82
+ LOG_LEVEL: "trace" | "debug" | "info" | "warn" | "error";
83
83
  INKEEP_AGENTS_MANAGE_DATABASE_URL: string;
84
84
  INKEEP_AGENTS_RUN_DATABASE_URL: string;
85
85
  INKEEP_AGENTS_API_URL: string;
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { SSOProviderConfig, UserAuthConfig, createAgentsApp } from "./factory.js
6
6
  import "./sentry.js";
7
7
  import { Hono } from "hono";
8
8
  import * as zod32 from "zod";
9
- import * as hono_types12 from "hono/types";
9
+ import * as hono_types10 from "hono/types";
10
10
  import * as better_auth43 from "better-auth";
11
11
  import * as better_auth_plugins4 from "better-auth/plugins";
12
12
 
@@ -474,6 +474,6 @@ declare const auth: better_auth43.Auth<{
474
474
  }>;
475
475
  }];
476
476
  }>;
477
- declare const app: Hono<hono_types12.BlankEnv, hono_types12.BlankSchema, "/">;
477
+ declare const app: Hono<hono_types10.BlankEnv, hono_types10.BlankSchema, "/">;
478
478
  //#endregion
479
479
  export { type AppConfig, type AppVariables, Hono, type NativeSandboxConfig, type SSOProviderConfig, type SandboxConfig, type UserAuthConfig, type VercelSandboxConfig, auth, createAgentsApp, createAgentsHono, app as default };
@@ -1,5 +1,5 @@
1
1
  import { BaseExecutionContext } from "@inkeep/agents-core";
2
- import * as hono15 from "hono";
2
+ import * as hono1 from "hono";
3
3
  import { createAuth } from "@inkeep/agents-core/auth";
4
4
 
5
5
  //#region src/middleware/manageAuth.d.ts
@@ -16,7 +16,7 @@ import { createAuth } from "@inkeep/agents-core/auth";
16
16
  * EXCEPT for the legacy exception on GET /manage/tenants/:t/projects/:p/conversations/:id
17
17
  * (see isLegacyApiKeyAllowedRoute). API keys are otherwise restricted to the run domain only.
18
18
  */
19
- declare const manageBearerAuth: () => hono15.MiddlewareHandler<{
19
+ declare const manageBearerAuth: () => hono1.MiddlewareHandler<{
20
20
  Variables: {
21
21
  executionContext: BaseExecutionContext;
22
22
  userId?: string;
@@ -30,6 +30,6 @@ declare const manageBearerAuth: () => hono15.MiddlewareHandler<{
30
30
  * Uses Bearer token → manage bearer auth (bypass secret, session, Slack JWT, internal service),
31
31
  * otherwise falls back to session auth.
32
32
  */
33
- declare const manageBearerOrSessionAuth: () => hono15.MiddlewareHandler<any, string, {}, Response>;
33
+ declare const manageBearerOrSessionAuth: () => hono1.MiddlewareHandler<any, string, {}, Response>;
34
34
  //#endregion
35
35
  export { manageBearerAuth, manageBearerOrSessionAuth };
@@ -1,11 +1,11 @@
1
1
  import { BaseExecutionContext, ResolvedRef } from "@inkeep/agents-core";
2
- import * as hono1 from "hono";
2
+ import * as hono17 from "hono";
3
3
 
4
4
  //#region src/middleware/projectConfig.d.ts
5
5
  /**
6
6
  * Middleware that fetches the full project definition from the Management API
7
7
  */
8
- declare const projectConfigMiddleware: hono1.MiddlewareHandler<{
8
+ declare const projectConfigMiddleware: hono17.MiddlewareHandler<{
9
9
  Variables: {
10
10
  executionContext: BaseExecutionContext;
11
11
  resolvedRef: ResolvedRef;
@@ -15,7 +15,7 @@ declare const projectConfigMiddleware: hono1.MiddlewareHandler<{
15
15
  * Creates a middleware that applies project config fetching except for specified route patterns
16
16
  * @param skipRouteCheck - Function that returns true if the route should skip the middleware
17
17
  */
18
- declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) => hono1.MiddlewareHandler<{
18
+ declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) => hono17.MiddlewareHandler<{
19
19
  Variables: {
20
20
  executionContext: BaseExecutionContext;
21
21
  resolvedRef: ResolvedRef;
@@ -1,8 +1,8 @@
1
1
  import { BaseExecutionContext } from "@inkeep/agents-core";
2
- import * as hono4 from "hono";
2
+ import * as hono7 from "hono";
3
3
 
4
4
  //#region src/middleware/runAuth.d.ts
5
- declare const runApiKeyAuth: () => hono4.MiddlewareHandler<{
5
+ declare const runApiKeyAuth: () => hono7.MiddlewareHandler<{
6
6
  Variables: {
7
7
  executionContext: BaseExecutionContext;
8
8
  };
@@ -11,7 +11,7 @@ declare const runApiKeyAuth: () => hono4.MiddlewareHandler<{
11
11
  * Creates a middleware that applies API key authentication except for specified route patterns
12
12
  * @param skipRouteCheck - Function that returns true if the route should skip authentication
13
13
  */
14
- declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => hono4.MiddlewareHandler<{
14
+ declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => hono7.MiddlewareHandler<{
15
15
  Variables: {
16
16
  executionContext: BaseExecutionContext;
17
17
  };
@@ -20,7 +20,7 @@ declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) =
20
20
  * Helper middleware for endpoints that optionally support API key authentication
21
21
  * If no auth header is present, it continues without setting the executionContext
22
22
  */
23
- declare const runOptionalAuth: () => hono4.MiddlewareHandler<{
23
+ declare const runOptionalAuth: () => hono7.MiddlewareHandler<{
24
24
  Variables: {
25
25
  executionContext?: BaseExecutionContext;
26
26
  };
@@ -1,5 +1,5 @@
1
1
  import { AppVariables } from "../types/app.js";
2
- import * as hono7 from "hono";
2
+ import * as hono10 from "hono";
3
3
 
4
4
  //#region src/middleware/sessionAuth.d.ts
5
5
 
@@ -8,12 +8,12 @@ import * as hono7 from "hono";
8
8
  * Requires that a user has already been authenticated via Better Auth session.
9
9
  * Used primarily for manage routes that require an active user session.
10
10
  */
11
- declare const sessionAuth: () => hono7.MiddlewareHandler<any, string, {}, Response>;
11
+ declare const sessionAuth: () => hono10.MiddlewareHandler<any, string, {}, Response>;
12
12
  /**
13
13
  * Global session middleware - sets user and session in context for all routes
14
14
  * Used for all routes that require an active user session.
15
15
  */
16
- declare const sessionContext: () => hono7.MiddlewareHandler<{
16
+ declare const sessionContext: () => hono10.MiddlewareHandler<{
17
17
  Variables: AppVariables;
18
18
  }, string, {}, Response>;
19
19
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as hono9 from "hono";
1
+ import * as hono4 from "hono";
2
2
 
3
3
  //#region src/middleware/tenantAccess.d.ts
4
4
 
@@ -12,7 +12,7 @@ import * as hono9 from "hono";
12
12
  * - API key user: Access only to the tenant associated with the API key
13
13
  * - Session user: Access based on organization membership
14
14
  */
15
- declare const requireTenantAccess: () => hono9.MiddlewareHandler<{
15
+ declare const requireTenantAccess: () => hono4.MiddlewareHandler<{
16
16
  Variables: {
17
17
  userId: string;
18
18
  tenantId: string;
@@ -1,7 +1,7 @@
1
- import * as hono10 from "hono";
1
+ import * as hono5 from "hono";
2
2
 
3
3
  //#region src/middleware/tracing.d.ts
4
- declare const otelBaggageMiddleware: () => hono10.MiddlewareHandler<any, string, {}, Response>;
5
- declare const executionBaggageMiddleware: () => hono10.MiddlewareHandler<any, string, {}, Response>;
4
+ declare const otelBaggageMiddleware: () => hono5.MiddlewareHandler<any, string, {}, Response>;
5
+ declare const executionBaggageMiddleware: () => hono5.MiddlewareHandler<any, string, {}, Response>;
6
6
  //#endregion
7
7
  export { executionBaggageMiddleware, otelBaggageMiddleware };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-api",
3
- "version": "0.0.0-dev-20260331031331",
3
+ "version": "0.0.0-dev-20260331052759",
4
4
  "description": "Unified Inkeep Agents API - combines management, runtime, and evaluation capabilities",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -73,10 +73,10 @@
73
73
  "pg": "^8.16.3",
74
74
  "undici": "^7.22.0",
75
75
  "workflow": "4.2.0-beta.67",
76
- "@inkeep/agents-core": "^0.0.0-dev-20260331031331",
77
- "@inkeep/agents-email": "^0.0.0-dev-20260331031331",
78
- "@inkeep/agents-mcp": "^0.0.0-dev-20260331031331",
79
- "@inkeep/agents-work-apps": "^0.0.0-dev-20260331031331"
76
+ "@inkeep/agents-core": "^0.0.0-dev-20260331052759",
77
+ "@inkeep/agents-email": "^0.0.0-dev-20260331052759",
78
+ "@inkeep/agents-mcp": "^0.0.0-dev-20260331052759",
79
+ "@inkeep/agents-work-apps": "^0.0.0-dev-20260331052759"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@hono/zod-openapi": "^1.1.5",