@inkeep/agents-api 0.0.0-dev-20260406200043 → 0.0.0-dev-20260406234350

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 (34) hide show
  1. package/dist/.well-known/workflow/v1/manifest.json +47 -47
  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/sub-agents.d.ts +2 -2
  7. package/dist/data-reconciliation/handlers/tools.d.ts +2 -2
  8. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  9. package/dist/domains/manage/routes/authLookup.d.ts +2 -2
  10. package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
  11. package/dist/domains/manage/routes/conversations.d.ts +2 -2
  12. package/dist/domains/manage/routes/feedback.d.ts +2 -2
  13. package/dist/domains/manage/routes/index.d.ts +2 -2
  14. package/dist/domains/manage/routes/invitations.d.ts +2 -2
  15. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  16. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  17. package/dist/domains/manage/routes/users.d.ts +2 -2
  18. package/dist/domains/mcp/routes/mcp.d.ts +2 -2
  19. package/dist/domains/run/agents/relationTools.d.ts +2 -2
  20. package/dist/domains/run/routes/auth.d.ts +2 -2
  21. package/dist/domains/run/routes/executions.js +3 -3
  22. package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
  23. package/dist/env.d.ts +3 -3
  24. package/dist/factory.d.ts +3 -3
  25. package/dist/index.d.ts +2 -2
  26. package/dist/middleware/evalsAuth.d.ts +2 -2
  27. package/dist/middleware/manageAuth.d.ts +3 -3
  28. package/dist/middleware/projectConfig.d.ts +3 -3
  29. package/dist/middleware/requireEntitlement.d.ts +2 -2
  30. package/dist/middleware/requirePermission.d.ts +2 -2
  31. package/dist/middleware/runAuth.d.ts +4 -4
  32. package/dist/middleware/sessionAuth.d.ts +3 -3
  33. package/dist/middleware/tenantAccess.d.ts +2 -2
  34. package/package.json +5 -5
@@ -26,6 +26,20 @@
26
26
  "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
27
27
  }
28
28
  },
29
+ "src/domains/run/workflow/steps/schedulerSteps.ts": {
30
+ "checkSchedulerCurrentStep": {
31
+ "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
32
+ },
33
+ "dispatchDueTriggersStep": {
34
+ "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//dispatchDueTriggersStep"
35
+ },
36
+ "msUntilNextMinuteStep": {
37
+ "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//msUntilNextMinuteStep"
38
+ },
39
+ "registerSchedulerStep": {
40
+ "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
41
+ }
42
+ },
29
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_ba33265d61d382fe160c46ba43387199/node_modules/workflow/dist/stdlib.js": {
30
44
  "fetch": {
31
45
  "stepId": "step//workflow@4.2.0-beta.67//fetch"
@@ -57,20 +71,6 @@
57
71
  "stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
58
72
  }
59
73
  },
60
- "src/domains/run/workflow/steps/schedulerSteps.ts": {
61
- "checkSchedulerCurrentStep": {
62
- "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
63
- },
64
- "dispatchDueTriggersStep": {
65
- "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//dispatchDueTriggersStep"
66
- },
67
- "msUntilNextMinuteStep": {
68
- "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//msUntilNextMinuteStep"
69
- },
70
- "registerSchedulerStep": {
71
- "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
72
- }
73
- },
74
74
  "src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
75
75
  "addConversationIdStep": {
76
76
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
@@ -312,30 +312,19 @@
312
312
  }
313
313
  }
314
314
  },
315
- "src/domains/run/workflow/functions/schedulerWorkflow.ts": {
316
- "_schedulerWorkflow": {
317
- "workflowId": "workflow//./src/domains/run/workflow/functions/schedulerWorkflow//_schedulerWorkflow",
315
+ "src/domains/run/workflow/functions/agentExecution.ts": {
316
+ "_agentExecutionWorkflow": {
317
+ "workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
318
318
  "graph": {
319
319
  "nodes": [
320
320
  {
321
321
  "id": "start",
322
322
  "type": "workflowStart",
323
323
  "data": {
324
- "label": "Start: _schedulerWorkflow",
324
+ "label": "Start: _agentExecutionWorkflow",
325
325
  "nodeKind": "workflow_start"
326
326
  }
327
327
  },
328
- {
329
- "id": "node_0",
330
- "type": "primitive",
331
- "data": {
332
- "label": "sleep",
333
- "nodeKind": "primitive"
334
- },
335
- "metadata": {
336
- "loopId": "loop_0"
337
- }
338
- },
339
328
  {
340
329
  "id": "end",
341
330
  "type": "workflowEnd",
@@ -347,20 +336,8 @@
347
336
  ],
348
337
  "edges": [
349
338
  {
350
- "id": "e_node_0_back_node_0",
351
- "source": "node_0",
352
- "target": "node_0",
353
- "type": "loop"
354
- },
355
- {
356
- "id": "e_start_node_0",
339
+ "id": "e_start_end",
357
340
  "source": "start",
358
- "target": "node_0",
359
- "type": "default"
360
- },
361
- {
362
- "id": "e_node_0_end",
363
- "source": "node_0",
364
341
  "target": "end",
365
342
  "type": "default"
366
343
  }
@@ -368,19 +345,30 @@
368
345
  }
369
346
  }
370
347
  },
371
- "src/domains/run/workflow/functions/agentExecution.ts": {
372
- "_agentExecutionWorkflow": {
373
- "workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
348
+ "src/domains/run/workflow/functions/schedulerWorkflow.ts": {
349
+ "_schedulerWorkflow": {
350
+ "workflowId": "workflow//./src/domains/run/workflow/functions/schedulerWorkflow//_schedulerWorkflow",
374
351
  "graph": {
375
352
  "nodes": [
376
353
  {
377
354
  "id": "start",
378
355
  "type": "workflowStart",
379
356
  "data": {
380
- "label": "Start: _agentExecutionWorkflow",
357
+ "label": "Start: _schedulerWorkflow",
381
358
  "nodeKind": "workflow_start"
382
359
  }
383
360
  },
361
+ {
362
+ "id": "node_0",
363
+ "type": "primitive",
364
+ "data": {
365
+ "label": "sleep",
366
+ "nodeKind": "primitive"
367
+ },
368
+ "metadata": {
369
+ "loopId": "loop_0"
370
+ }
371
+ },
384
372
  {
385
373
  "id": "end",
386
374
  "type": "workflowEnd",
@@ -392,8 +380,20 @@
392
380
  ],
393
381
  "edges": [
394
382
  {
395
- "id": "e_start_end",
383
+ "id": "e_node_0_back_node_0",
384
+ "source": "node_0",
385
+ "target": "node_0",
386
+ "type": "loop"
387
+ },
388
+ {
389
+ "id": "e_start_node_0",
396
390
  "source": "start",
391
+ "target": "node_0",
392
+ "type": "default"
393
+ },
394
+ {
395
+ "id": "e_node_0_end",
396
+ "source": "node_0",
397
397
  "target": "end",
398
398
  "type": "default"
399
399
  }
@@ -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_types12 from "hono/types";
4
+ import * as hono_types0 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_types12.BlankEnv, hono_types12.BlankSchema, "/">;
8
+ declare function createAgentsHono(config: AppConfig): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { createAgentsHono, isWebhookRoute };
@@ -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/db/manageDbClient.d.ts
4
- declare const manageDbClient: _inkeep_agents_core3.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_core6 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core5 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data/db/runDbClient.d.ts
4
- declare const runDbClient: _inkeep_agents_core6.AgentsRunDatabaseClient;
4
+ declare const runDbClient: _inkeep_agents_core5.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_core6 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_core6.EntityEffectHandlers<"agent">;
5
5
  //#endregion
6
6
  export { agentHandlers };
@@ -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/sub-agents.d.ts
4
- declare const subAgentsHandlers: _inkeep_agents_core1.EntityEffectHandlers<"sub_agents">;
4
+ declare const subAgentsHandlers: _inkeep_agents_core0.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_core1 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_core1.EntityEffectHandlers<"tools">;
5
5
  //#endregion
6
6
  export { toolsHandlers };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types3 from "hono/types";
2
+ import * as hono_types5 from "hono/types";
3
3
 
4
4
  //#region src/domains/evals/workflow/routes.d.ts
5
- declare const workflowRoutes: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
5
+ declare const workflowRoutes: Hono<hono_types5.BlankEnv, hono_types5.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_types2 from "hono/types";
3
+ import * as hono_types7 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_types2.BlankSchema, "/">;
8
+ }, hono_types7.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 hono16 from "hono";
2
+ import * as hono14 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/availableAgents.d.ts
5
- declare const app: OpenAPIHono<hono16.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 hono17 from "hono";
2
+ import * as hono15 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<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 hono18 from "hono";
2
+ import * as hono16 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/feedback.d.ts
5
- declare const app: OpenAPIHono<hono18.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono16.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 hono19 from "hono";
2
+ import * as hono17 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono19.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono17.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_types11 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_types11.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_types1 from "hono/types";
3
+ import * as hono_types12 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_types1.BlankSchema, "/">;
8
+ }, hono_types12.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_types8 from "hono/types";
3
+ import * as hono_types13 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_types8.BlankSchema, "/">;
8
+ }, hono_types13.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_types9 from "hono/types";
3
+ import * as hono_types8 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_types9.BlankSchema, "/">;
8
+ }, hono_types8.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { usersRoutes as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types5 from "hono/types";
2
+ import * as hono_types9 from "hono/types";
3
3
 
4
4
  //#region src/domains/mcp/routes/mcp.d.ts
5
- declare const app: Hono<hono_types5.BlankEnv, hono_types5.BlankSchema, "/">;
5
+ declare const app: Hono<hono_types9.BlankEnv, hono_types9.BlankSchema, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -2,7 +2,7 @@ import { AgentConfig, DelegateRelation } from "./agent-types.js";
2
2
  import "./Agent.js";
3
3
  import { InternalRelation } from "../utils/project.js";
4
4
  import { z } from "@hono/zod-openapi";
5
- import * as _inkeep_agents_core4 from "@inkeep/agents-core";
5
+ import * as _inkeep_agents_core2 from "@inkeep/agents-core";
6
6
  import { CredentialStoreRegistry, FullExecutionContext } from "@inkeep/agents-core";
7
7
  import * as ai0 from "ai";
8
8
 
@@ -48,7 +48,7 @@ declare function createDelegateToAgentTool({
48
48
  message: string;
49
49
  }, {
50
50
  toolCallId: any;
51
- result: _inkeep_agents_core4.Message | _inkeep_agents_core4.Task;
51
+ result: _inkeep_agents_core2.Message | _inkeep_agents_core2.Task;
52
52
  }>;
53
53
  /**
54
54
  * Parameters for building a transfer relation config
@@ -1,8 +1,8 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono20 from "hono";
2
+ import * as hono18 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<hono20.Env, {}, "/">;
6
+ declare const app: OpenAPIHono<hono18.Env, {}, "/">;
7
7
  //#endregion
8
8
  export { app as default, getAnonJwtSecret };
@@ -62,7 +62,7 @@ const createExecutionRoute = createProtectedRoute({
62
62
  });
63
63
  const getExecutionRoute = createProtectedRoute({
64
64
  method: "get",
65
- path: "/executions/:executionId",
65
+ path: "/executions/{executionId}",
66
66
  tags: ["Executions"],
67
67
  summary: "Get execution status",
68
68
  description: "Returns the status of a durable execution.",
@@ -94,7 +94,7 @@ const getExecutionRoute = createProtectedRoute({
94
94
  });
95
95
  const reconnectExecutionStreamRoute = createProtectedRoute({
96
96
  method: "get",
97
- path: "/executions/:executionId/stream",
97
+ path: "/executions/{executionId}/stream",
98
98
  tags: ["Executions"],
99
99
  summary: "Reconnect to execution stream",
100
100
  description: "Reconnects to the SSE stream of an existing durable execution.",
@@ -114,7 +114,7 @@ const reconnectExecutionStreamRoute = createProtectedRoute({
114
114
  });
115
115
  const approveToolCallRoute = createProtectedRoute({
116
116
  method: "post",
117
- path: "/executions/:executionId/approvals/:toolCallId",
117
+ path: "/executions/{executionId}/approvals/{toolCallId}",
118
118
  tags: ["Executions"],
119
119
  summary: "Approve or deny a tool call",
120
120
  description: "Resumes a suspended durable execution by approving or denying a pending tool call.",
@@ -74,7 +74,7 @@ declare function createInvocationIdempotentStep(params: {
74
74
  projectId: string;
75
75
  tenantId: string;
76
76
  id: string;
77
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
77
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
78
78
  ref?: {
79
79
  type: "commit" | "tag" | "branch";
80
80
  name: string;
@@ -120,7 +120,7 @@ declare function markRunningStep(params: {
120
120
  projectId: string;
121
121
  tenantId: string;
122
122
  id: string;
123
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
123
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
124
124
  ref?: {
125
125
  type: "commit" | "tag" | "branch";
126
126
  name: string;
@@ -153,7 +153,7 @@ declare function addConversationIdStep(params: {
153
153
  projectId: string;
154
154
  tenantId: string;
155
155
  id: string;
156
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
156
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
157
157
  ref?: {
158
158
  type: "commit" | "tag" | "branch";
159
159
  name: string;
@@ -184,7 +184,7 @@ declare function markCompletedStep(params: {
184
184
  projectId: string;
185
185
  tenantId: string;
186
186
  id: string;
187
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
187
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
188
188
  ref?: {
189
189
  type: "commit" | "tag" | "branch";
190
190
  name: string;
@@ -215,7 +215,7 @@ declare function markFailedStep(params: {
215
215
  projectId: string;
216
216
  tenantId: string;
217
217
  id: string;
218
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
218
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
219
219
  ref?: {
220
220
  type: "commit" | "tag" | "branch";
221
221
  name: string;
@@ -265,7 +265,7 @@ declare function resetInvocationToPendingStep(params: {
265
265
  projectId: string;
266
266
  tenantId: string;
267
267
  id: string;
268
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
268
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
269
269
  ref?: {
270
270
  type: "commit" | "tag" | "branch";
271
271
  name: string;
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";
17
+ trace: "trace";
18
18
  debug: "debug";
19
19
  info: "info";
20
20
  warn: "warn";
21
- trace: "trace";
21
+ error: "error";
22
22
  }>>;
23
23
  INKEEP_AGENTS_MANAGE_DATABASE_URL: z.ZodString;
24
24
  INKEEP_AGENTS_RUN_DATABASE_URL: z.ZodString;
@@ -78,7 +78,7 @@ declare const envSchema: z.ZodObject<{
78
78
  declare const env: {
79
79
  NODE_ENV: "development" | "production" | "test";
80
80
  ENVIRONMENT: "development" | "production" | "test" | "pentest";
81
- LOG_LEVEL: "error" | "debug" | "info" | "warn" | "trace";
81
+ LOG_LEVEL: "trace" | "debug" | "info" | "warn" | "error";
82
82
  INKEEP_AGENTS_MANAGE_DATABASE_URL: string;
83
83
  INKEEP_AGENTS_RUN_DATABASE_URL: string;
84
84
  INKEEP_AGENTS_API_URL: string;
package/dist/factory.d.ts CHANGED
@@ -2,10 +2,10 @@ import { SandboxConfig } from "./types/app.js";
2
2
  import "./types/index.js";
3
3
  import { createAgentsHono } from "./createApp.js";
4
4
  import { CredentialStore, ServerConfig } from "@inkeep/agents-core";
5
- import * as hono0 from "hono";
5
+ import * as hono6 from "hono";
6
6
  import * as zod0 from "zod";
7
7
  import { EmailServiceConfig, SSOProviderConfig, UserAuthConfig } from "@inkeep/agents-core/auth";
8
- import * as hono_types0 from "hono/types";
8
+ import * as hono_types1 from "hono/types";
9
9
  import * as better_auth0 from "better-auth";
10
10
  import * as better_auth_plugins0 from "better-auth/plugins";
11
11
 
@@ -479,6 +479,6 @@ declare function createAgentsApp(config?: {
479
479
  auth?: UserAuthConfig;
480
480
  sandboxConfig?: SandboxConfig;
481
481
  emailService?: EmailServiceConfig;
482
- }): hono0.Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
482
+ }): hono6.Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
483
483
  //#endregion
484
484
  export { type SSOProviderConfig, type UserAuthConfig, createAgentsApp, createAgentsAuth, createAgentsHono };
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_types10 from "hono/types";
9
+ import * as hono_types3 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_types10.BlankEnv, hono_types10.BlankSchema, "/">;
477
+ declare const app: Hono<hono_types3.BlankEnv, hono_types3.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 hono0 from "hono";
2
+ import * as hono9 from "hono";
3
3
 
4
4
  //#region src/middleware/evalsAuth.d.ts
5
5
 
@@ -7,7 +7,7 @@ import * as hono0 from "hono";
7
7
  * Middleware to authenticate API requests using Bearer token authentication
8
8
  * First checks if token matches INKEEP_AGENTS_EVAL_API_BYPASS_SECRET,
9
9
  */
10
- declare const evalApiKeyAuth: () => hono0.MiddlewareHandler<{
10
+ declare const evalApiKeyAuth: () => hono9.MiddlewareHandler<{
11
11
  Variables: {
12
12
  executionContext: BaseExecutionContext;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  import { BaseExecutionContext } from "@inkeep/agents-core";
2
- import * as hono1 from "hono";
2
+ import * as hono19 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: () => hono1.MiddlewareHandler<{
19
+ declare const manageBearerAuth: () => hono19.MiddlewareHandler<{
20
20
  Variables: {
21
21
  executionContext: BaseExecutionContext;
22
22
  userId?: string;
@@ -30,6 +30,6 @@ declare const manageBearerAuth: () => hono1.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: () => hono1.MiddlewareHandler<any, string, {}, Response>;
33
+ declare const manageBearerOrSessionAuth: () => hono19.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 hono3 from "hono";
2
+ import * as hono7 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: hono3.MiddlewareHandler<{
8
+ declare const projectConfigMiddleware: hono7.MiddlewareHandler<{
9
9
  Variables: {
10
10
  executionContext: BaseExecutionContext;
11
11
  resolvedRef: ResolvedRef;
@@ -15,7 +15,7 @@ declare const projectConfigMiddleware: hono3.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) => hono3.MiddlewareHandler<{
18
+ declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) => hono7.MiddlewareHandler<{
19
19
  Variables: {
20
20
  executionContext: BaseExecutionContext;
21
21
  resolvedRef: ResolvedRef;
@@ -1,5 +1,5 @@
1
1
  import { ManageAppVariables } from "../types/app.js";
2
- import * as hono5 from "hono";
2
+ import * as hono0 from "hono";
3
3
 
4
4
  //#region src/middleware/requireEntitlement.d.ts
5
5
  type EntitlementConfig = {
@@ -11,6 +11,6 @@ declare const requireEntitlement: <Env$1 extends {
11
11
  Variables: ManageAppVariables;
12
12
  } = {
13
13
  Variables: ManageAppVariables;
14
- }>(config: EntitlementConfig) => hono5.MiddlewareHandler<Env$1, string, {}, Response>;
14
+ }>(config: EntitlementConfig) => hono0.MiddlewareHandler<Env$1, string, {}, Response>;
15
15
  //#endregion
16
16
  export { requireEntitlement };
@@ -1,5 +1,5 @@
1
1
  import { ManageAppVariables } from "../types/app.js";
2
- import * as hono7 from "hono";
2
+ import * as hono0 from "hono";
3
3
 
4
4
  //#region src/middleware/requirePermission.d.ts
5
5
  type Permission = {
@@ -9,6 +9,6 @@ declare const requirePermission: <Env$1 extends {
9
9
  Variables: ManageAppVariables;
10
10
  } = {
11
11
  Variables: ManageAppVariables;
12
- }>(permissions: Permission) => hono7.MiddlewareHandler<Env$1, string, {}, Response>;
12
+ }>(permissions: Permission) => hono0.MiddlewareHandler<Env$1, string, {}, Response>;
13
13
  //#endregion
14
14
  export { requirePermission };
@@ -1,8 +1,8 @@
1
1
  import { BaseExecutionContext } from "@inkeep/agents-core";
2
- import * as hono8 from "hono";
2
+ import * as hono1 from "hono";
3
3
 
4
4
  //#region src/middleware/runAuth.d.ts
5
- declare const runApiKeyAuth: () => hono8.MiddlewareHandler<{
5
+ declare const runApiKeyAuth: () => hono1.MiddlewareHandler<{
6
6
  Variables: {
7
7
  executionContext: BaseExecutionContext;
8
8
  };
@@ -11,7 +11,7 @@ declare const runApiKeyAuth: () => hono8.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) => hono8.MiddlewareHandler<{
14
+ declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => hono1.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: () => hono8.MiddlewareHandler<{
23
+ declare const runOptionalAuth: () => hono1.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 hono14 from "hono";
2
+ import * as hono4 from "hono";
3
3
 
4
4
  //#region src/middleware/sessionAuth.d.ts
5
5
 
@@ -8,12 +8,12 @@ import * as hono14 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: () => hono14.MiddlewareHandler<any, string, {}, Response>;
11
+ declare const sessionAuth: () => hono4.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: () => hono14.MiddlewareHandler<{
16
+ declare const sessionContext: () => hono4.MiddlewareHandler<{
17
17
  Variables: AppVariables;
18
18
  }, string, {}, Response>;
19
19
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as hono6 from "hono";
1
+ import * as hono10 from "hono";
2
2
 
3
3
  //#region src/middleware/tenantAccess.d.ts
4
4
 
@@ -12,7 +12,7 @@ import * as hono6 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: () => hono6.MiddlewareHandler<{
15
+ declare const requireTenantAccess: () => hono10.MiddlewareHandler<{
16
16
  Variables: {
17
17
  userId: string;
18
18
  tenantId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-api",
3
- "version": "0.0.0-dev-20260406200043",
3
+ "version": "0.0.0-dev-20260406234350",
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-20260406200043",
77
- "@inkeep/agents-email": "^0.0.0-dev-20260406200043",
78
- "@inkeep/agents-mcp": "^0.0.0-dev-20260406200043",
79
- "@inkeep/agents-work-apps": "^0.0.0-dev-20260406200043"
76
+ "@inkeep/agents-core": "^0.0.0-dev-20260406234350",
77
+ "@inkeep/agents-email": "^0.0.0-dev-20260406234350",
78
+ "@inkeep/agents-mcp": "^0.0.0-dev-20260406234350",
79
+ "@inkeep/agents-work-apps": "^0.0.0-dev-20260406234350"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@hono/zod-openapi": "^1.1.5",