@inkeep/agents-api 0.0.0-dev-20260406183632 → 0.0.0-dev-20260406185511
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.
- package/dist/.well-known/workflow/v1/manifest.json +70 -70
- package/dist/createApp.d.ts +2 -2
- package/dist/data/db/manageDbClient.d.ts +2 -2
- package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
- package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
- package/dist/data-reconciliation/handlers/sub-agents.d.ts +2 -2
- package/dist/data-reconciliation/handlers/tools.d.ts +2 -2
- package/dist/domains/evals/routes/index.d.ts +2 -2
- package/dist/domains/evals/workflow/routes.d.ts +2 -2
- package/dist/domains/manage/routes/authLookup.d.ts +2 -2
- package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
- package/dist/domains/manage/routes/conversations.d.ts +2 -2
- package/dist/domains/manage/routes/feedback.d.ts +2 -2
- package/dist/domains/manage/routes/index.d.ts +2 -2
- package/dist/domains/manage/routes/invitations.d.ts +2 -2
- package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
- package/dist/domains/manage/routes/signoz.d.ts +2 -2
- package/dist/domains/manage/routes/users.d.ts +2 -2
- package/dist/domains/mcp/routes/mcp.d.ts +2 -2
- package/dist/domains/run/agents/relationTools.d.ts +2 -2
- package/dist/domains/run/routes/auth.d.ts +2 -2
- package/dist/domains/run/tools/distill-conversation-history-tool.d.ts +1 -1
- package/dist/domains/run/types/chat.d.ts +16 -16
- package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
- package/dist/factory.d.ts +80 -80
- package/dist/index.d.ts +80 -80
- package/dist/middleware/evalsAuth.d.ts +2 -2
- package/dist/middleware/manageAuth.d.ts +3 -3
- package/dist/middleware/requireEntitlement.d.ts +2 -2
- package/dist/middleware/requirePermission.d.ts +2 -2
- package/dist/middleware/runAuth.d.ts +4 -4
- package/dist/middleware/sessionAuth.d.ts +3 -3
- package/dist/middleware/tenantAccess.d.ts +2 -2
- package/dist/middleware/tracing.d.ts +3 -3
- package/package.json +5 -5
|
@@ -12,9 +12,30 @@
|
|
|
12
12
|
"stepId": "__builtin_response_text"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"stepId": "step
|
|
15
|
+
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
16
|
+
"executeDatasetItemStep": {
|
|
17
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
|
|
18
|
+
},
|
|
19
|
+
"executeEvaluatorStep": {
|
|
20
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeEvaluatorStep"
|
|
21
|
+
},
|
|
22
|
+
"filterEvaluatorsByAgentStep": {
|
|
23
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//filterEvaluatorsByAgentStep"
|
|
24
|
+
},
|
|
25
|
+
"logStep": {
|
|
26
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
|
|
27
|
+
},
|
|
28
|
+
"markCompletedStep": {
|
|
29
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markCompletedStep"
|
|
30
|
+
},
|
|
31
|
+
"markFailedStep": {
|
|
32
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markFailedStep"
|
|
33
|
+
},
|
|
34
|
+
"markRunningStep": {
|
|
35
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markRunningStep"
|
|
36
|
+
},
|
|
37
|
+
"recordConversationStep": {
|
|
38
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
18
39
|
}
|
|
19
40
|
},
|
|
20
41
|
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
@@ -45,6 +66,11 @@
|
|
|
45
66
|
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
|
|
46
67
|
}
|
|
47
68
|
},
|
|
69
|
+
"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": {
|
|
70
|
+
"fetch": {
|
|
71
|
+
"stepId": "step//workflow@4.2.0-beta.67//fetch"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
48
74
|
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
49
75
|
"addConversationIdStep": {
|
|
50
76
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
@@ -83,32 +109,6 @@
|
|
|
83
109
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
84
110
|
}
|
|
85
111
|
},
|
|
86
|
-
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
87
|
-
"executeDatasetItemStep": {
|
|
88
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
|
|
89
|
-
},
|
|
90
|
-
"executeEvaluatorStep": {
|
|
91
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeEvaluatorStep"
|
|
92
|
-
},
|
|
93
|
-
"filterEvaluatorsByAgentStep": {
|
|
94
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//filterEvaluatorsByAgentStep"
|
|
95
|
-
},
|
|
96
|
-
"logStep": {
|
|
97
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
|
|
98
|
-
},
|
|
99
|
-
"markCompletedStep": {
|
|
100
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markCompletedStep"
|
|
101
|
-
},
|
|
102
|
-
"markFailedStep": {
|
|
103
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markFailedStep"
|
|
104
|
-
},
|
|
105
|
-
"markRunningStep": {
|
|
106
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markRunningStep"
|
|
107
|
-
},
|
|
108
|
-
"recordConversationStep": {
|
|
109
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
112
|
"src/domains/run/workflow/steps/agentExecutionSteps.ts": {
|
|
113
113
|
"callLlmStep": {
|
|
114
114
|
"stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
|
|
@@ -137,16 +137,16 @@
|
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"workflows": {
|
|
140
|
-
"src/domains/evals/workflow/functions/
|
|
141
|
-
"
|
|
142
|
-
"workflowId": "workflow//./src/domains/evals/workflow/functions/
|
|
140
|
+
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
141
|
+
"_runDatasetItemWorkflow": {
|
|
142
|
+
"workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
|
|
143
143
|
"graph": {
|
|
144
144
|
"nodes": [
|
|
145
145
|
{
|
|
146
146
|
"id": "start",
|
|
147
147
|
"type": "workflowStart",
|
|
148
148
|
"data": {
|
|
149
|
-
"label": "Start:
|
|
149
|
+
"label": "Start: _runDatasetItemWorkflow",
|
|
150
150
|
"nodeKind": "workflow_start"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
@@ -170,16 +170,16 @@
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
|
-
"src/domains/evals/workflow/functions/
|
|
174
|
-
"
|
|
175
|
-
"workflowId": "workflow//./src/domains/evals/workflow/functions/
|
|
173
|
+
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
174
|
+
"_evaluateConversationWorkflow": {
|
|
175
|
+
"workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
|
|
176
176
|
"graph": {
|
|
177
177
|
"nodes": [
|
|
178
178
|
{
|
|
179
179
|
"id": "start",
|
|
180
180
|
"type": "workflowStart",
|
|
181
181
|
"data": {
|
|
182
|
-
"label": "Start:
|
|
182
|
+
"label": "Start: _evaluateConversationWorkflow",
|
|
183
183
|
"nodeKind": "workflow_start"
|
|
184
184
|
}
|
|
185
185
|
},
|
|
@@ -312,39 +312,6 @@
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
},
|
|
315
|
-
"src/domains/run/workflow/functions/agentExecution.ts": {
|
|
316
|
-
"_agentExecutionWorkflow": {
|
|
317
|
-
"workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
|
|
318
|
-
"graph": {
|
|
319
|
-
"nodes": [
|
|
320
|
-
{
|
|
321
|
-
"id": "start",
|
|
322
|
-
"type": "workflowStart",
|
|
323
|
-
"data": {
|
|
324
|
-
"label": "Start: _agentExecutionWorkflow",
|
|
325
|
-
"nodeKind": "workflow_start"
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"id": "end",
|
|
330
|
-
"type": "workflowEnd",
|
|
331
|
-
"data": {
|
|
332
|
-
"label": "Return",
|
|
333
|
-
"nodeKind": "workflow_end"
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
],
|
|
337
|
-
"edges": [
|
|
338
|
-
{
|
|
339
|
-
"id": "e_start_end",
|
|
340
|
-
"source": "start",
|
|
341
|
-
"target": "end",
|
|
342
|
-
"type": "default"
|
|
343
|
-
}
|
|
344
|
-
]
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
315
|
"src/domains/run/workflow/functions/schedulerWorkflow.ts": {
|
|
349
316
|
"_schedulerWorkflow": {
|
|
350
317
|
"workflowId": "workflow//./src/domains/run/workflow/functions/schedulerWorkflow//_schedulerWorkflow",
|
|
@@ -400,6 +367,39 @@
|
|
|
400
367
|
]
|
|
401
368
|
}
|
|
402
369
|
}
|
|
370
|
+
},
|
|
371
|
+
"src/domains/run/workflow/functions/agentExecution.ts": {
|
|
372
|
+
"_agentExecutionWorkflow": {
|
|
373
|
+
"workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
|
|
374
|
+
"graph": {
|
|
375
|
+
"nodes": [
|
|
376
|
+
{
|
|
377
|
+
"id": "start",
|
|
378
|
+
"type": "workflowStart",
|
|
379
|
+
"data": {
|
|
380
|
+
"label": "Start: _agentExecutionWorkflow",
|
|
381
|
+
"nodeKind": "workflow_start"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"id": "end",
|
|
386
|
+
"type": "workflowEnd",
|
|
387
|
+
"data": {
|
|
388
|
+
"label": "Return",
|
|
389
|
+
"nodeKind": "workflow_end"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"edges": [
|
|
394
|
+
{
|
|
395
|
+
"id": "e_start_end",
|
|
396
|
+
"source": "start",
|
|
397
|
+
"target": "end",
|
|
398
|
+
"type": "default"
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
403
|
}
|
|
404
404
|
},
|
|
405
405
|
"classes": {}
|
package/dist/createApp.d.ts
CHANGED
|
@@ -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
|
|
4
|
+
import * as hono_types4 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<
|
|
8
|
+
declare function createAgentsHono(config: AppConfig): Hono<hono_types4.BlankEnv, hono_types4.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { createAgentsHono, isWebhookRoute };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
4
|
+
declare const manageDbClient: _inkeep_agents_core3.AgentsManageDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { manageDbClient as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
4
|
+
declare const agentHandlers: _inkeep_agents_core6.EntityEffectHandlers<"agent">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { agentHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
4
|
+
declare const contextConfigsHandlers: _inkeep_agents_core0.EntityEffectHandlers<"context_configs">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { contextConfigsHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
4
|
+
declare const subAgentsHandlers: _inkeep_agents_core4.EntityEffectHandlers<"sub_agents">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { subAgentsHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core5 from "@inkeep/agents-core";
|
|
2
2
|
|
|
3
3
|
//#region src/data-reconciliation/handlers/tools.d.ts
|
|
4
|
-
declare const toolsHandlers:
|
|
4
|
+
declare const toolsHandlers: _inkeep_agents_core5.EntityEffectHandlers<"tools">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { toolsHandlers };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono13 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
2
|
+
import * as hono_types9 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/workflow/routes.d.ts
|
|
5
|
-
declare const workflowRoutes: Hono<
|
|
5
|
+
declare const workflowRoutes: Hono<hono_types9.BlankEnv, hono_types9.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
|
|
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
|
-
},
|
|
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
|
|
2
|
+
import * as hono12 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/availableAgents.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
2
|
+
import * as hono16 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
2
|
+
import * as hono14 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/feedback.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
2
|
+
import * as hono15 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono15.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
|
|
3
|
+
import * as hono_types3 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
|
-
},
|
|
8
|
+
}, hono_types3.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
|
|
3
|
+
import * as hono_types6 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
|
-
},
|
|
8
|
+
}, hono_types6.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
|
|
3
|
+
import * as hono_types8 from "hono/types";
|
|
4
4
|
|
|
5
5
|
//#region src/domains/manage/routes/signoz.d.ts
|
|
6
6
|
declare const app: Hono<{
|
|
7
7
|
Variables: ManageAppVariables;
|
|
8
|
-
},
|
|
8
|
+
}, hono_types8.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
|
|
3
|
+
import * as hono_types11 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
|
-
},
|
|
8
|
+
}, hono_types11.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { usersRoutes as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types1 from "hono/types";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/mcp/routes/mcp.d.ts
|
|
5
|
-
declare const app: Hono<
|
|
5
|
+
declare const app: Hono<hono_types1.BlankEnv, hono_types1.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
|
|
5
|
+
import * as _inkeep_agents_core1 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:
|
|
51
|
+
result: _inkeep_agents_core1.Message | _inkeep_agents_core1.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
|
|
2
|
+
import * as hono17 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<
|
|
6
|
+
declare const app: OpenAPIHono<hono17.Env, {}, "/">;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { app as default, getAnonJwtSecret };
|
|
@@ -29,9 +29,9 @@ declare const ConversationHistorySummarySchema: z.ZodObject<{
|
|
|
29
29
|
tool_call_id: z.ZodString;
|
|
30
30
|
content_summary: z.ZodString;
|
|
31
31
|
relevance: z.ZodEnum<{
|
|
32
|
-
low: "low";
|
|
33
32
|
high: "high";
|
|
34
33
|
medium: "medium";
|
|
34
|
+
low: "low";
|
|
35
35
|
}>;
|
|
36
36
|
}, z.core.$strip>>>;
|
|
37
37
|
conversation_flow: z.ZodObject<{
|
|
@@ -7,9 +7,9 @@ declare const InlineDocumentDataSchema: z.ZodUnion<readonly [z.ZodUnion<readonly
|
|
|
7
7
|
/** OpenAI-specific image detail level. Has no effect on other providers. */
|
|
8
8
|
declare const ImageDetailEnum: readonly ["auto", "low", "high"];
|
|
9
9
|
declare const ImageDetailSchema: z.ZodEnum<{
|
|
10
|
-
auto: "auto";
|
|
11
|
-
low: "low";
|
|
12
10
|
high: "high";
|
|
11
|
+
low: "low";
|
|
12
|
+
auto: "auto";
|
|
13
13
|
}>;
|
|
14
14
|
type ImageDetail = z.infer<typeof ImageDetailSchema>;
|
|
15
15
|
declare const ImageContentItemSchema: z.ZodObject<{
|
|
@@ -17,9 +17,9 @@ declare const ImageContentItemSchema: z.ZodObject<{
|
|
|
17
17
|
image_url: z.ZodObject<{
|
|
18
18
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
19
19
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
20
|
-
auto: "auto";
|
|
21
|
-
low: "low";
|
|
22
20
|
high: "high";
|
|
21
|
+
low: "low";
|
|
22
|
+
auto: "auto";
|
|
23
23
|
}>>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
}, z.core.$strip>;
|
|
@@ -102,10 +102,10 @@ 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
|
-
tool: "tool";
|
|
107
105
|
system: "system";
|
|
106
|
+
user: "user";
|
|
108
107
|
assistant: "assistant";
|
|
108
|
+
tool: "tool";
|
|
109
109
|
}>;
|
|
110
110
|
content: z.ZodAny;
|
|
111
111
|
parts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -160,9 +160,9 @@ declare const ContentItemSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
160
160
|
image_url: z.ZodObject<{
|
|
161
161
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
162
162
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
163
|
-
auto: "auto";
|
|
164
|
-
low: "low";
|
|
165
163
|
high: "high";
|
|
164
|
+
low: "low";
|
|
165
|
+
auto: "auto";
|
|
166
166
|
}>>;
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -177,10 +177,10 @@ 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
|
-
tool: "tool";
|
|
182
180
|
system: "system";
|
|
181
|
+
user: "user";
|
|
183
182
|
assistant: "assistant";
|
|
183
|
+
tool: "tool";
|
|
184
184
|
}>;
|
|
185
185
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
186
186
|
type: z.ZodLiteral<"text">;
|
|
@@ -190,9 +190,9 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
190
190
|
image_url: z.ZodObject<{
|
|
191
191
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
192
192
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
193
|
-
auto: "auto";
|
|
194
|
-
low: "low";
|
|
195
193
|
high: "high";
|
|
194
|
+
low: "low";
|
|
195
|
+
auto: "auto";
|
|
196
196
|
}>>;
|
|
197
197
|
}, z.core.$strip>;
|
|
198
198
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -210,10 +210,10 @@ 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
|
-
tool: "tool";
|
|
215
213
|
system: "system";
|
|
214
|
+
user: "user";
|
|
216
215
|
assistant: "assistant";
|
|
216
|
+
tool: "tool";
|
|
217
217
|
}>;
|
|
218
218
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
219
219
|
type: z.ZodLiteral<"text">;
|
|
@@ -223,9 +223,9 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
|
|
|
223
223
|
image_url: z.ZodObject<{
|
|
224
224
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
225
225
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
226
|
-
auto: "auto";
|
|
227
|
-
low: "low";
|
|
228
226
|
high: "high";
|
|
227
|
+
low: "low";
|
|
228
|
+
auto: "auto";
|
|
229
229
|
}>>;
|
|
230
230
|
}, z.core.$strip>;
|
|
231
231
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -74,7 +74,7 @@ declare function createInvocationIdempotentStep(params: {
|
|
|
74
74
|
projectId: string;
|
|
75
75
|
tenantId: string;
|
|
76
76
|
id: string;
|
|
77
|
-
status: "
|
|
77
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
123
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
156
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
187
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
218
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
268
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
269
269
|
ref?: {
|
|
270
270
|
type: "commit" | "tag" | "branch";
|
|
271
271
|
name: string;
|