@inkeep/agents-api 0.0.0-dev-20260415131100 → 0.0.0-dev-20260415183758

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 +39 -39
  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/routes/index.d.ts +2 -2
  9. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  10. package/dist/domains/manage/routes/authLookup.d.ts +2 -2
  11. package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
  12. package/dist/domains/manage/routes/conversations.d.ts +2 -2
  13. package/dist/domains/manage/routes/feedback.d.ts +2 -2
  14. package/dist/domains/manage/routes/index.d.ts +2 -2
  15. package/dist/domains/manage/routes/invitations.d.ts +2 -2
  16. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  17. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  18. package/dist/domains/manage/routes/users.d.ts +2 -2
  19. package/dist/domains/mcp/routes/mcp.d.ts +2 -2
  20. package/dist/domains/run/routes/auth.d.ts +2 -2
  21. package/dist/domains/run/types/chat.d.ts +3 -3
  22. package/dist/factory.d.ts +341 -341
  23. package/dist/index.d.ts +340 -340
  24. package/dist/middleware/branchScopedDb.js +37 -26
  25. package/dist/middleware/evalsAuth.d.ts +2 -2
  26. package/dist/middleware/manageAuth.d.ts +3 -3
  27. package/dist/middleware/projectConfig.d.ts +3 -3
  28. package/dist/middleware/requireEntitlement.d.ts +2 -2
  29. package/dist/middleware/requirePermission.d.ts +2 -2
  30. package/dist/middleware/runAuth.d.ts +4 -4
  31. package/dist/middleware/sessionAuth.d.ts +3 -3
  32. package/dist/middleware/tenantAccess.d.ts +2 -2
  33. package/dist/middleware/tracing.d.ts +3 -3
  34. package/package.json +5 -5
@@ -1,34 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
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_ba33265d61d382fe160c46ba43387199/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
- "filterEvaluatorsByAgentStep": {
20
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//filterEvaluatorsByAgentStep"
21
- },
22
- "getConversationStep": {
23
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
24
- },
25
- "getEvaluatorsStep": {
26
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
27
- },
28
- "logStep": {
29
- "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
30
- }
31
- },
32
4
  "src/domains/evals/workflow/functions/runDatasetItem.ts": {
33
5
  "executeDatasetItemStep": {
34
6
  "stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
@@ -55,6 +27,17 @@
55
27
  "stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
56
28
  }
57
29
  },
30
+ "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/internal/builtins.js": {
31
+ "__builtin_response_array_buffer": {
32
+ "stepId": "__builtin_response_array_buffer"
33
+ },
34
+ "__builtin_response_json": {
35
+ "stepId": "__builtin_response_json"
36
+ },
37
+ "__builtin_response_text": {
38
+ "stepId": "__builtin_response_text"
39
+ }
40
+ },
58
41
  "src/domains/run/workflow/steps/schedulerSteps.ts": {
59
42
  "checkSchedulerCurrentStep": {
60
43
  "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
@@ -69,9 +52,21 @@
69
52
  "stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
70
53
  }
71
54
  },
72
- "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": {
73
- "fetch": {
74
- "stepId": "step//workflow@4.2.0-beta.67//fetch"
55
+ "src/domains/evals/workflow/functions/evaluateConversation.ts": {
56
+ "executeEvaluatorStep": {
57
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
58
+ },
59
+ "filterEvaluatorsByAgentStep": {
60
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//filterEvaluatorsByAgentStep"
61
+ },
62
+ "getConversationStep": {
63
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
64
+ },
65
+ "getEvaluatorsStep": {
66
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
67
+ },
68
+ "logStep": {
69
+ "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
75
70
  }
76
71
  },
77
72
  "src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
@@ -112,6 +107,11 @@
112
107
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
113
108
  }
114
109
  },
110
+ "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": {
111
+ "fetch": {
112
+ "stepId": "step//workflow@4.2.0-beta.67//fetch"
113
+ }
114
+ },
115
115
  "src/domains/run/workflow/steps/agentExecutionSteps.ts": {
116
116
  "callLlmStep": {
117
117
  "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
@@ -140,16 +140,16 @@
140
140
  }
141
141
  },
142
142
  "workflows": {
143
- "src/domains/evals/workflow/functions/evaluateConversation.ts": {
144
- "_evaluateConversationWorkflow": {
145
- "workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
143
+ "src/domains/evals/workflow/functions/runDatasetItem.ts": {
144
+ "_runDatasetItemWorkflow": {
145
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
146
146
  "graph": {
147
147
  "nodes": [
148
148
  {
149
149
  "id": "start",
150
150
  "type": "workflowStart",
151
151
  "data": {
152
- "label": "Start: _evaluateConversationWorkflow",
152
+ "label": "Start: _runDatasetItemWorkflow",
153
153
  "nodeKind": "workflow_start"
154
154
  }
155
155
  },
@@ -173,16 +173,16 @@
173
173
  }
174
174
  }
175
175
  },
176
- "src/domains/evals/workflow/functions/runDatasetItem.ts": {
177
- "_runDatasetItemWorkflow": {
178
- "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
176
+ "src/domains/evals/workflow/functions/evaluateConversation.ts": {
177
+ "_evaluateConversationWorkflow": {
178
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
179
179
  "graph": {
180
180
  "nodes": [
181
181
  {
182
182
  "id": "start",
183
183
  "type": "workflowStart",
184
184
  "data": {
185
- "label": "Start: _runDatasetItemWorkflow",
185
+ "label": "Start: _evaluateConversationWorkflow",
186
186
  "nodeKind": "workflow_start"
187
187
  }
188
188
  },
@@ -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_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_types1.BlankEnv, hono_types1.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_core1 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core3 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data/db/manageDbClient.d.ts
4
- declare const manageDbClient: _inkeep_agents_core1.AgentsManageDatabaseClient;
4
+ declare const manageDbClient: _inkeep_agents_core3.AgentsManageDatabaseClient;
5
5
  //#endregion
6
6
  export { manageDbClient as default };
@@ -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/runDbClient.d.ts
4
- declare const runDbClient: _inkeep_agents_core4.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_core1 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_core1.EntityEffectHandlers<"agent">;
5
5
  //#endregion
6
6
  export { agentHandlers };
@@ -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/sub-agents.d.ts
4
- declare const subAgentsHandlers: _inkeep_agents_core3.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_core0 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core4 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/tools.d.ts
4
- declare const toolsHandlers: _inkeep_agents_core0.EntityEffectHandlers<"tools">;
4
+ declare const toolsHandlers: _inkeep_agents_core4.EntityEffectHandlers<"tools">;
5
5
  //#endregion
6
6
  export { toolsHandlers };
@@ -1,7 +1,7 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import * as hono12 from "hono";
2
+ import * as hono16 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono12.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono16.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types3 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_types3.BlankEnv, hono_types3.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_types9 from "hono/types";
3
+ import * as hono_types8 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_types9.BlankSchema, "/">;
8
+ }, hono_types8.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 hono14 from "hono";
2
+ import * as hono17 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/availableAgents.d.ts
5
- declare const app: OpenAPIHono<hono14.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono17.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 hono16 from "hono";
2
+ import * as hono18 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/conversations.d.ts
5
- declare const app: OpenAPIHono<hono16.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono18.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 hono15 from "hono";
2
+ import * as hono19 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/feedback.d.ts
5
- declare const app: OpenAPIHono<hono15.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono19.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 hono20 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono13.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono20.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_types9 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_types9.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_types8 from "hono/types";
3
+ import * as hono_types10 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_types8.BlankSchema, "/">;
8
+ }, hono_types10.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_types5 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_types5.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_types13 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_types13.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_types11 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_types11.BlankEnv, hono_types11.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 hono17 from "hono";
2
+ import * as hono10 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<hono17.Env, {}, "/">;
6
+ declare const app: OpenAPIHono<hono10.Env, {}, "/">;
7
7
  //#endregion
8
8
  export { app as default, getAnonJwtSecret };
@@ -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
- system: "system";
106
105
  user: "user";
106
+ system: "system";
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
- system: "system";
181
180
  user: "user";
181
+ system: "system";
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
- system: "system";
214
213
  user: "user";
214
+ system: "system";
215
215
  assistant: "assistant";
216
216
  tool: "tool";
217
217
  }>;