@inkeep/agents-api 0.0.0-dev-20260329211800 → 0.0.0-dev-20260330023836
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 +97 -97
- package/dist/createApp.d.ts +2 -2
- package/dist/createApp.js +6 -0
- package/dist/data/db/manageDbClient.d.ts +2 -2
- package/dist/data/db/runDbClient.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/scheduled-triggers.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/datasetTriggers.d.ts +2 -2
- package/dist/domains/evals/routes/index.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/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 +10 -10
- package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
- package/dist/env.d.ts +2 -2
- package/dist/factory.d.ts +81 -81
- package/dist/index.d.ts +78 -78
- package/dist/middleware/errorHandler.js +0 -2
- package/dist/middleware/manageAuth.d.ts +3 -3
- package/dist/middleware/requirePermission.d.ts +2 -2
- package/dist/middleware/runAuth.d.ts +4 -4
- package/dist/middleware/tenantAccess.d.ts +2 -2
- package/dist/middleware/tracing.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"stepId": "
|
|
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_59326db5a7501857789e302437f4195e/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"
|
|
7
13
|
}
|
|
8
14
|
},
|
|
9
15
|
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
@@ -20,6 +26,25 @@
|
|
|
20
26
|
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
|
|
21
27
|
}
|
|
22
28
|
},
|
|
29
|
+
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
30
|
+
"executeEvaluatorStep": {
|
|
31
|
+
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
|
|
32
|
+
},
|
|
33
|
+
"getConversationStep": {
|
|
34
|
+
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
|
|
35
|
+
},
|
|
36
|
+
"getEvaluatorsStep": {
|
|
37
|
+
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
|
|
38
|
+
},
|
|
39
|
+
"logStep": {
|
|
40
|
+
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_59326db5a7501857789e302437f4195e/node_modules/workflow/dist/stdlib.js": {
|
|
44
|
+
"fetch": {
|
|
45
|
+
"stepId": "step//workflow@4.2.0-beta.67//fetch"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
23
48
|
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
24
49
|
"addConversationIdStep": {
|
|
25
50
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
@@ -67,34 +92,9 @@
|
|
|
67
92
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
68
93
|
}
|
|
69
94
|
},
|
|
70
|
-
"src/domains/
|
|
71
|
-
"
|
|
72
|
-
"stepId": "step//./src/domains/
|
|
73
|
-
},
|
|
74
|
-
"getConversationStep": {
|
|
75
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
|
|
76
|
-
},
|
|
77
|
-
"getEvaluatorsStep": {
|
|
78
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
|
|
79
|
-
},
|
|
80
|
-
"logStep": {
|
|
81
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"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": {
|
|
85
|
-
"fetch": {
|
|
86
|
-
"stepId": "step//workflow@4.2.0-beta.67//fetch"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"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/internal/builtins.js": {
|
|
90
|
-
"__builtin_response_array_buffer": {
|
|
91
|
-
"stepId": "__builtin_response_array_buffer"
|
|
92
|
-
},
|
|
93
|
-
"__builtin_response_json": {
|
|
94
|
-
"stepId": "__builtin_response_json"
|
|
95
|
-
},
|
|
96
|
-
"__builtin_response_text": {
|
|
97
|
-
"stepId": "__builtin_response_text"
|
|
95
|
+
"src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
|
|
96
|
+
"startNextIterationStep": {
|
|
97
|
+
"stepId": "step//./src/domains/run/workflow/functions/scheduledTriggerRunner//startNextIterationStep"
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"src/domains/run/workflow/steps/agentExecutionSteps.ts": {
|
|
@@ -125,6 +125,72 @@
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
"workflows": {
|
|
128
|
+
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
129
|
+
"_runDatasetItemWorkflow": {
|
|
130
|
+
"workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
|
|
131
|
+
"graph": {
|
|
132
|
+
"nodes": [
|
|
133
|
+
{
|
|
134
|
+
"id": "start",
|
|
135
|
+
"type": "workflowStart",
|
|
136
|
+
"data": {
|
|
137
|
+
"label": "Start: _runDatasetItemWorkflow",
|
|
138
|
+
"nodeKind": "workflow_start"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "end",
|
|
143
|
+
"type": "workflowEnd",
|
|
144
|
+
"data": {
|
|
145
|
+
"label": "Return",
|
|
146
|
+
"nodeKind": "workflow_end"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"edges": [
|
|
151
|
+
{
|
|
152
|
+
"id": "e_start_end",
|
|
153
|
+
"source": "start",
|
|
154
|
+
"target": "end",
|
|
155
|
+
"type": "default"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
162
|
+
"_evaluateConversationWorkflow": {
|
|
163
|
+
"workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
|
|
164
|
+
"graph": {
|
|
165
|
+
"nodes": [
|
|
166
|
+
{
|
|
167
|
+
"id": "start",
|
|
168
|
+
"type": "workflowStart",
|
|
169
|
+
"data": {
|
|
170
|
+
"label": "Start: _evaluateConversationWorkflow",
|
|
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
|
+
},
|
|
128
194
|
"src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
|
|
129
195
|
"_scheduledTriggerRunnerWorkflow": {
|
|
130
196
|
"workflowId": "workflow//./src/domains/run/workflow/functions/scheduledTriggerRunner//_scheduledTriggerRunnerWorkflow",
|
|
@@ -215,72 +281,6 @@
|
|
|
215
281
|
}
|
|
216
282
|
}
|
|
217
283
|
},
|
|
218
|
-
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
219
|
-
"_runDatasetItemWorkflow": {
|
|
220
|
-
"workflowId": "workflow//./src/domains/evals/workflow/functions/runDatasetItem//_runDatasetItemWorkflow",
|
|
221
|
-
"graph": {
|
|
222
|
-
"nodes": [
|
|
223
|
-
{
|
|
224
|
-
"id": "start",
|
|
225
|
-
"type": "workflowStart",
|
|
226
|
-
"data": {
|
|
227
|
-
"label": "Start: _runDatasetItemWorkflow",
|
|
228
|
-
"nodeKind": "workflow_start"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"id": "end",
|
|
233
|
-
"type": "workflowEnd",
|
|
234
|
-
"data": {
|
|
235
|
-
"label": "Return",
|
|
236
|
-
"nodeKind": "workflow_end"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"edges": [
|
|
241
|
-
{
|
|
242
|
-
"id": "e_start_end",
|
|
243
|
-
"source": "start",
|
|
244
|
-
"target": "end",
|
|
245
|
-
"type": "default"
|
|
246
|
-
}
|
|
247
|
-
]
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
252
|
-
"_evaluateConversationWorkflow": {
|
|
253
|
-
"workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
|
|
254
|
-
"graph": {
|
|
255
|
-
"nodes": [
|
|
256
|
-
{
|
|
257
|
-
"id": "start",
|
|
258
|
-
"type": "workflowStart",
|
|
259
|
-
"data": {
|
|
260
|
-
"label": "Start: _evaluateConversationWorkflow",
|
|
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",
|
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_types1 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_types1.BlankEnv, hono_types1.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { createAgentsHono, isWebhookRoute };
|
package/dist/createApp.js
CHANGED
|
@@ -38,6 +38,12 @@ function createAgentsHono(config) {
|
|
|
38
38
|
const { serverConfig, credentialStores, auth, sandboxConfig } = config;
|
|
39
39
|
const app = new OpenAPIHono();
|
|
40
40
|
app.use("*", requestId());
|
|
41
|
+
app.use("*", async (c, next) => {
|
|
42
|
+
await next();
|
|
43
|
+
c.header("X-Content-Type-Options", "nosniff");
|
|
44
|
+
c.header("Referrer-Policy", "strict-origin-when-cross-origin");
|
|
45
|
+
c.header("X-XSS-Protection", "0");
|
|
46
|
+
});
|
|
41
47
|
app.use("/api/auth/*", cors(authCorsConfig));
|
|
42
48
|
if (auth) {
|
|
43
49
|
if (env.ENVIRONMENT === "development") app.post("/api/auth/dev-session", async (c) => {
|
|
@@ -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_core4 from "@inkeep/agents-core";
|
|
2
2
|
|
|
3
3
|
//#region src/data/db/runDbClient.d.ts
|
|
4
|
-
declare const runDbClient:
|
|
4
|
+
declare const runDbClient: _inkeep_agents_core4.AgentsRunDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { runDbClient as default };
|
|
@@ -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/agent.d.ts
|
|
4
|
-
declare const agentHandlers:
|
|
4
|
+
declare const agentHandlers: _inkeep_agents_core5.EntityEffectHandlers<"agent">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { agentHandlers };
|
|
@@ -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/context-configs.d.ts
|
|
4
|
-
declare const contextConfigsHandlers:
|
|
4
|
+
declare const contextConfigsHandlers: _inkeep_agents_core6.EntityEffectHandlers<"context_configs">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { contextConfigsHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core7 from "@inkeep/agents-core";
|
|
2
2
|
|
|
3
3
|
//#region src/data-reconciliation/handlers/scheduled-triggers.d.ts
|
|
4
|
-
declare const scheduledTriggersHandlers:
|
|
4
|
+
declare const scheduledTriggersHandlers: _inkeep_agents_core7.EntityEffectHandlers<"scheduled_triggers">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { scheduledTriggersHandlers };
|
|
@@ -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/sub-agents.d.ts
|
|
4
|
-
declare const subAgentsHandlers:
|
|
4
|
+
declare const subAgentsHandlers: _inkeep_agents_core0.EntityEffectHandlers<"sub_agents">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { subAgentsHandlers };
|
|
@@ -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/tools.d.ts
|
|
4
|
-
declare const toolsHandlers:
|
|
4
|
+
declare const toolsHandlers: _inkeep_agents_core0.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 hono12 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/datasetTriggers.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 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,10 +1,10 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../../../types/app.js";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
|
-
import * as
|
|
3
|
+
import * as hono_types10 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_types10.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 hono18 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/availableAgents.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
2
|
+
import * as hono14 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.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 hono17 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
3
|
+
import * as hono_types7 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_types7.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_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
|
-
},
|
|
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
|
|
3
|
+
import * as hono_types9 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_types9.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_types5 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_types5.BlankEnv, hono_types5.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgentConfig, DelegateRelation } from "./agent-types.js";
|
|
2
2
|
import "./Agent.js";
|
|
3
3
|
import { InternalRelation } from "../utils/project.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _inkeep_agents_core1 from "@inkeep/agents-core";
|
|
5
5
|
import { CredentialStoreRegistry, FullExecutionContext } from "@inkeep/agents-core";
|
|
6
6
|
import * as ai0 from "ai";
|
|
7
7
|
|
|
@@ -45,7 +45,7 @@ declare function createDelegateToAgentTool({
|
|
|
45
45
|
message: string;
|
|
46
46
|
}, {
|
|
47
47
|
toolCallId: any;
|
|
48
|
-
result:
|
|
48
|
+
result: _inkeep_agents_core1.Message | _inkeep_agents_core1.Task;
|
|
49
49
|
}>;
|
|
50
50
|
/**
|
|
51
51
|
* 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 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<
|
|
6
|
+
declare const app: OpenAPIHono<hono19.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>;
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -108,7 +108,7 @@ declare function createInvocationIdempotentStep(params: {
|
|
|
108
108
|
projectId: string;
|
|
109
109
|
tenantId: string;
|
|
110
110
|
id: string;
|
|
111
|
-
status: "
|
|
111
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
156
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
188
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
218
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
248
|
+
status: "completed" | "pending" | "failed" | "running" | "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: "
|
|
291
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
292
292
|
ref?: {
|
|
293
293
|
type: "commit" | "tag" | "branch";
|
|
294
294
|
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";
|
|
18
17
|
trace: "trace";
|
|
19
18
|
debug: "debug";
|
|
20
19
|
info: "info";
|
|
21
20
|
warn: "warn";
|
|
21
|
+
error: "error";
|
|
22
22
|
}>>;
|
|
23
23
|
INKEEP_AGENTS_MANAGE_DATABASE_URL: z.ZodString;
|
|
24
24
|
INKEEP_AGENTS_RUN_DATABASE_URL: z.ZodString;
|
|
@@ -79,7 +79,7 @@ declare const envSchema: z.ZodObject<{
|
|
|
79
79
|
declare const env: {
|
|
80
80
|
NODE_ENV: "development" | "production" | "test";
|
|
81
81
|
ENVIRONMENT: "development" | "production" | "test" | "pentest";
|
|
82
|
-
LOG_LEVEL: "
|
|
82
|
+
LOG_LEVEL: "trace" | "debug" | "info" | "warn" | "error";
|
|
83
83
|
INKEEP_AGENTS_MANAGE_DATABASE_URL: string;
|
|
84
84
|
INKEEP_AGENTS_RUN_DATABASE_URL: string;
|
|
85
85
|
INKEEP_AGENTS_API_URL: string;
|