@inkeep/agents-api 0.0.0-dev-20260327195114 → 0.0.0-dev-20260327225559

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 (35) hide show
  1. package/dist/.well-known/workflow/v1/manifest.json +64 -64
  2. package/dist/createApp.d.ts +2 -2
  3. package/dist/data/db/manageDbClient.d.ts +2 -2
  4. package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
  5. package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
  6. package/dist/data-reconciliation/handlers/scheduled-triggers.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/mcp/routes/mcp.d.ts +2 -2
  21. package/dist/domains/run/routes/auth.d.ts +2 -2
  22. package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
  23. package/dist/factory.d.ts +81 -81
  24. package/dist/index.d.ts +80 -80
  25. package/dist/index.js +3 -3
  26. package/dist/middleware/manageAuth.d.ts +3 -3
  27. package/dist/middleware/projectConfig.d.ts +3 -3
  28. package/dist/middleware/requirePermission.d.ts +2 -2
  29. package/dist/middleware/runAuth.d.ts +4 -4
  30. package/dist/middleware/sessionAuth.d.ts +3 -3
  31. package/dist/middleware/tenantAccess.d.ts +2 -2
  32. package/dist/middleware/tracing.d.ts +3 -3
  33. package/dist/startup/playground-app.d.ts +2 -2
  34. package/dist/startup/playground-app.js +94 -41
  35. package/package.json +5 -5
@@ -26,6 +26,11 @@
26
26
  "stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
27
27
  }
28
28
  },
29
+ "src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
30
+ "startNextIterationStep": {
31
+ "stepId": "step//./src/domains/run/workflow/functions/scheduledTriggerRunner//startNextIterationStep"
32
+ }
33
+ },
29
34
  "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": {
30
35
  "fetch": {
31
36
  "stepId": "step//workflow@4.2.0-beta.67//fetch"
@@ -45,37 +50,6 @@
45
50
  "stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
46
51
  }
47
52
  },
48
- "src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
49
- "startNextIterationStep": {
50
- "stepId": "step//./src/domains/run/workflow/functions/scheduledTriggerRunner//startNextIterationStep"
51
- }
52
- },
53
- "src/domains/run/workflow/steps/agentExecutionSteps.ts": {
54
- "callLlmStep": {
55
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
56
- },
57
- "executeToolStep": {
58
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//executeToolStep"
59
- },
60
- "initializeTaskStep": {
61
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//initializeTaskStep"
62
- },
63
- "markWorkflowCompleteStep": {
64
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowCompleteStep"
65
- },
66
- "markWorkflowFailedStep": {
67
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowFailedStep"
68
- },
69
- "markWorkflowResumingStep": {
70
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowResumingStep"
71
- },
72
- "markWorkflowRunningStep": {
73
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowRunningStep"
74
- },
75
- "markWorkflowSuspendedStep": {
76
- "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowSuspendedStep"
77
- }
78
- },
79
53
  "src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
80
54
  "addConversationIdStep": {
81
55
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
@@ -122,6 +96,32 @@
122
96
  "resetInvocationToPendingStep": {
123
97
  "stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
124
98
  }
99
+ },
100
+ "src/domains/run/workflow/steps/agentExecutionSteps.ts": {
101
+ "callLlmStep": {
102
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
103
+ },
104
+ "executeToolStep": {
105
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//executeToolStep"
106
+ },
107
+ "initializeTaskStep": {
108
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//initializeTaskStep"
109
+ },
110
+ "markWorkflowCompleteStep": {
111
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowCompleteStep"
112
+ },
113
+ "markWorkflowFailedStep": {
114
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowFailedStep"
115
+ },
116
+ "markWorkflowResumingStep": {
117
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowResumingStep"
118
+ },
119
+ "markWorkflowRunningStep": {
120
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowRunningStep"
121
+ },
122
+ "markWorkflowSuspendedStep": {
123
+ "stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowSuspendedStep"
124
+ }
125
125
  }
126
126
  },
127
127
  "workflows": {
@@ -158,39 +158,6 @@
158
158
  }
159
159
  }
160
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
- },
194
161
  "src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
195
162
  "_scheduledTriggerRunnerWorkflow": {
196
163
  "workflowId": "workflow//./src/domains/run/workflow/functions/scheduledTriggerRunner//_scheduledTriggerRunnerWorkflow",
@@ -281,6 +248,39 @@
281
248
  }
282
249
  }
283
250
  },
251
+ "src/domains/evals/workflow/functions/runDatasetItem.ts": {
252
+ "_runDatasetItemWorkflow": {
253
+ "workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
254
+ "graph": {
255
+ "nodes": [
256
+ {
257
+ "id": "start",
258
+ "type": "workflowStart",
259
+ "data": {
260
+ "label": "Start: _runDatasetItemWorkflow",
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_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_core0 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_core0.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_core2 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core5 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/agent.d.ts
4
- declare const agentHandlers: _inkeep_agents_core2.EntityEffectHandlers<"agent">;
4
+ declare const agentHandlers: _inkeep_agents_core5.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/context-configs.d.ts
4
- declare const contextConfigsHandlers: _inkeep_agents_core3.EntityEffectHandlers<"context_configs">;
4
+ declare const contextConfigsHandlers: _inkeep_agents_core0.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_core3 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_core3.EntityEffectHandlers<"scheduled_triggers">;
5
5
  //#endregion
6
6
  export { scheduledTriggersHandlers };
@@ -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/sub-agents.d.ts
4
- declare const subAgentsHandlers: _inkeep_agents_core4.EntityEffectHandlers<"sub_agents">;
4
+ declare const subAgentsHandlers: _inkeep_agents_core1.EntityEffectHandlers<"sub_agents">;
5
5
  //#endregion
6
6
  export { subAgentsHandlers };
@@ -1,6 +1,6 @@
1
- import * as _inkeep_agents_core5 from "@inkeep/agents-core";
1
+ import * as _inkeep_agents_core2 from "@inkeep/agents-core";
2
2
 
3
3
  //#region src/data-reconciliation/handlers/tools.d.ts
4
- declare const toolsHandlers: _inkeep_agents_core5.EntityEffectHandlers<"tools">;
4
+ declare const toolsHandlers: _inkeep_agents_core2.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 hono13 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/datasetTriggers.d.ts
5
- declare const app: OpenAPIHono<hono12.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono13.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 hono6 from "hono";
3
3
 
4
4
  //#region src/domains/evals/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono17.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono6.Env, {}, "/">;
6
6
  //#endregion
7
7
  export { app as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types8 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_types8.BlankEnv, hono_types8.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_types4 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_types4.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 hono11 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<hono11.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 hono18 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<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 hono10 from "hono";
2
+ import * as hono14 from "hono";
3
3
 
4
4
  //#region src/domains/manage/routes/index.d.ts
5
- declare const app: OpenAPIHono<hono10.Env, {}, "/">;
5
+ declare const app: OpenAPIHono<hono14.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_types3 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_types3.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_types7 from "hono/types";
3
+ import * as hono_types8 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_types7.BlankSchema, "/">;
8
+ }, hono_types8.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_types6 from "hono/types";
3
+ import * as hono_types11 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_types6.BlankSchema, "/">;
8
+ }, hono_types11.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_types5 from "hono/types";
3
+ import * as hono_types10 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_types5.BlankSchema, "/">;
8
+ }, hono_types10.BlankSchema, "/">;
9
9
  //#endregion
10
10
  export { usersRoutes as default };
@@ -1,7 +1,7 @@
1
1
  import { Hono } from "hono";
2
- import * as hono_types10 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_types10.BlankEnv, hono_types10.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 };
@@ -108,7 +108,7 @@ declare function createInvocationIdempotentStep(params: {
108
108
  projectId: string;
109
109
  tenantId: string;
110
110
  id: string;
111
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
111
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
112
112
  ref?: {
113
113
  type: "commit" | "tag" | "branch";
114
114
  name: string;
@@ -153,7 +153,7 @@ declare function markRunningStep(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;
@@ -185,7 +185,7 @@ declare function addConversationIdStep(params: {
185
185
  projectId: string;
186
186
  tenantId: string;
187
187
  id: string;
188
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
188
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
189
189
  ref?: {
190
190
  type: "commit" | "tag" | "branch";
191
191
  name: string;
@@ -215,7 +215,7 @@ declare function markCompletedStep(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;
@@ -245,7 +245,7 @@ declare function markFailedStep(params: {
245
245
  projectId: string;
246
246
  tenantId: string;
247
247
  id: string;
248
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
248
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
249
249
  ref?: {
250
250
  type: "commit" | "tag" | "branch";
251
251
  name: string;
@@ -288,7 +288,7 @@ declare function resetInvocationToPendingStep(params: {
288
288
  projectId: string;
289
289
  tenantId: string;
290
290
  id: string;
291
- status: "completed" | "pending" | "failed" | "running" | "cancelled";
291
+ status: "completed" | "pending" | "running" | "failed" | "cancelled";
292
292
  ref?: {
293
293
  type: "commit" | "tag" | "branch";
294
294
  name: string;