@inkeep/agents-api 0.0.0-dev-20260403024429 → 0.0.0-dev-20260403030520
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 +82 -82
- package/dist/data/db/manageDbClient.d.ts +2 -2
- package/dist/data/db/runDbClient.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/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/playgroundToken.js +2 -1
- 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/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 +13 -13
- 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 +80 -80
- package/dist/middleware/evalsAuth.d.ts +2 -2
- package/dist/middleware/manageAuth.d.ts +3 -3
- package/dist/middleware/projectConfig.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
|
@@ -1,6 +1,17 @@
|
|
|
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_f2f795b431e3251af7151f15245efde0/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
|
+
},
|
|
4
15
|
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
5
16
|
"executeEvaluatorStep": {
|
|
6
17
|
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
|
|
@@ -15,55 +26,6 @@
|
|
|
15
26
|
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
|
|
16
27
|
}
|
|
17
28
|
},
|
|
18
|
-
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
19
|
-
"addConversationIdStep": {
|
|
20
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
21
|
-
},
|
|
22
|
-
"checkInvocationCancelledStep": {
|
|
23
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkInvocationCancelledStep"
|
|
24
|
-
},
|
|
25
|
-
"checkTriggerEnabledStep": {
|
|
26
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkTriggerEnabledStep"
|
|
27
|
-
},
|
|
28
|
-
"createInvocationIdempotentStep": {
|
|
29
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//createInvocationIdempotentStep"
|
|
30
|
-
},
|
|
31
|
-
"disableOneTimeTriggerStep": {
|
|
32
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//disableOneTimeTriggerStep"
|
|
33
|
-
},
|
|
34
|
-
"executeScheduledTriggerStep": {
|
|
35
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//executeScheduledTriggerStep"
|
|
36
|
-
},
|
|
37
|
-
"incrementAttemptStep": {
|
|
38
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//incrementAttemptStep"
|
|
39
|
-
},
|
|
40
|
-
"logStep": {
|
|
41
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//logStep"
|
|
42
|
-
},
|
|
43
|
-
"markCompletedStep": {
|
|
44
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markCompletedStep"
|
|
45
|
-
},
|
|
46
|
-
"markFailedStep": {
|
|
47
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markFailedStep"
|
|
48
|
-
},
|
|
49
|
-
"markRunningStep": {
|
|
50
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markRunningStep"
|
|
51
|
-
},
|
|
52
|
-
"resetInvocationToPendingStep": {
|
|
53
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_f2f795b431e3251af7151f15245efde0/node_modules/workflow/dist/internal/builtins.js": {
|
|
57
|
-
"__builtin_response_array_buffer": {
|
|
58
|
-
"stepId": "__builtin_response_array_buffer"
|
|
59
|
-
},
|
|
60
|
-
"__builtin_response_json": {
|
|
61
|
-
"stepId": "__builtin_response_json"
|
|
62
|
-
},
|
|
63
|
-
"__builtin_response_text": {
|
|
64
|
-
"stepId": "__builtin_response_text"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
29
|
"src/domains/run/workflow/steps/schedulerSteps.ts": {
|
|
68
30
|
"checkSchedulerCurrentStep": {
|
|
69
31
|
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
|
|
@@ -109,6 +71,44 @@
|
|
|
109
71
|
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
110
72
|
}
|
|
111
73
|
},
|
|
74
|
+
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
75
|
+
"addConversationIdStep": {
|
|
76
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
77
|
+
},
|
|
78
|
+
"checkInvocationCancelledStep": {
|
|
79
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkInvocationCancelledStep"
|
|
80
|
+
},
|
|
81
|
+
"checkTriggerEnabledStep": {
|
|
82
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkTriggerEnabledStep"
|
|
83
|
+
},
|
|
84
|
+
"createInvocationIdempotentStep": {
|
|
85
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//createInvocationIdempotentStep"
|
|
86
|
+
},
|
|
87
|
+
"disableOneTimeTriggerStep": {
|
|
88
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//disableOneTimeTriggerStep"
|
|
89
|
+
},
|
|
90
|
+
"executeScheduledTriggerStep": {
|
|
91
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//executeScheduledTriggerStep"
|
|
92
|
+
},
|
|
93
|
+
"incrementAttemptStep": {
|
|
94
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//incrementAttemptStep"
|
|
95
|
+
},
|
|
96
|
+
"logStep": {
|
|
97
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//logStep"
|
|
98
|
+
},
|
|
99
|
+
"markCompletedStep": {
|
|
100
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markCompletedStep"
|
|
101
|
+
},
|
|
102
|
+
"markFailedStep": {
|
|
103
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markFailedStep"
|
|
104
|
+
},
|
|
105
|
+
"markRunningStep": {
|
|
106
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markRunningStep"
|
|
107
|
+
},
|
|
108
|
+
"resetInvocationToPendingStep": {
|
|
109
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
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"
|
|
@@ -279,30 +279,19 @@
|
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
|
-
"src/domains/run/workflow/functions/
|
|
283
|
-
"
|
|
284
|
-
"workflowId": "workflow//./src/domains/run/workflow/functions/
|
|
282
|
+
"src/domains/run/workflow/functions/agentExecution.ts": {
|
|
283
|
+
"_agentExecutionWorkflow": {
|
|
284
|
+
"workflowId": "workflow//./src/domains/run/workflow/functions/agentExecution//_agentExecutionWorkflow",
|
|
285
285
|
"graph": {
|
|
286
286
|
"nodes": [
|
|
287
287
|
{
|
|
288
288
|
"id": "start",
|
|
289
289
|
"type": "workflowStart",
|
|
290
290
|
"data": {
|
|
291
|
-
"label": "Start:
|
|
291
|
+
"label": "Start: _agentExecutionWorkflow",
|
|
292
292
|
"nodeKind": "workflow_start"
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
|
-
{
|
|
296
|
-
"id": "node_0",
|
|
297
|
-
"type": "primitive",
|
|
298
|
-
"data": {
|
|
299
|
-
"label": "sleep",
|
|
300
|
-
"nodeKind": "primitive"
|
|
301
|
-
},
|
|
302
|
-
"metadata": {
|
|
303
|
-
"loopId": "loop_0"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
295
|
{
|
|
307
296
|
"id": "end",
|
|
308
297
|
"type": "workflowEnd",
|
|
@@ -314,20 +303,8 @@
|
|
|
314
303
|
],
|
|
315
304
|
"edges": [
|
|
316
305
|
{
|
|
317
|
-
"id": "
|
|
318
|
-
"source": "node_0",
|
|
319
|
-
"target": "node_0",
|
|
320
|
-
"type": "loop"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"id": "e_start_node_0",
|
|
306
|
+
"id": "e_start_end",
|
|
324
307
|
"source": "start",
|
|
325
|
-
"target": "node_0",
|
|
326
|
-
"type": "default"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"id": "e_node_0_end",
|
|
330
|
-
"source": "node_0",
|
|
331
308
|
"target": "end",
|
|
332
309
|
"type": "default"
|
|
333
310
|
}
|
|
@@ -335,19 +312,30 @@
|
|
|
335
312
|
}
|
|
336
313
|
}
|
|
337
314
|
},
|
|
338
|
-
"src/domains/run/workflow/functions/
|
|
339
|
-
"
|
|
340
|
-
"workflowId": "workflow//./src/domains/run/workflow/functions/
|
|
315
|
+
"src/domains/run/workflow/functions/schedulerWorkflow.ts": {
|
|
316
|
+
"_schedulerWorkflow": {
|
|
317
|
+
"workflowId": "workflow//./src/domains/run/workflow/functions/schedulerWorkflow//_schedulerWorkflow",
|
|
341
318
|
"graph": {
|
|
342
319
|
"nodes": [
|
|
343
320
|
{
|
|
344
321
|
"id": "start",
|
|
345
322
|
"type": "workflowStart",
|
|
346
323
|
"data": {
|
|
347
|
-
"label": "Start:
|
|
324
|
+
"label": "Start: _schedulerWorkflow",
|
|
348
325
|
"nodeKind": "workflow_start"
|
|
349
326
|
}
|
|
350
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
|
+
},
|
|
351
339
|
{
|
|
352
340
|
"id": "end",
|
|
353
341
|
"type": "workflowEnd",
|
|
@@ -359,8 +347,20 @@
|
|
|
359
347
|
],
|
|
360
348
|
"edges": [
|
|
361
349
|
{
|
|
362
|
-
"id": "
|
|
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",
|
|
363
357
|
"source": "start",
|
|
358
|
+
"target": "node_0",
|
|
359
|
+
"type": "default"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"id": "e_node_0_end",
|
|
363
|
+
"source": "node_0",
|
|
364
364
|
"target": "end",
|
|
365
365
|
"type": "default"
|
|
366
366
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core0 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_core0.AgentsManageDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { manageDbClient as default };
|
|
@@ -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/runDbClient.d.ts
|
|
4
|
-
declare const runDbClient:
|
|
4
|
+
declare const runDbClient: _inkeep_agents_core3.AgentsRunDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { runDbClient 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/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_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 hono19 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono19.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_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
|
-
},
|
|
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
|
|
2
|
+
import * as hono15 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/availableAgents.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
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
|
|
2
|
+
import * as hono18 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.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 hono11 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono11.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_types1 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_types1.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_types2 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_types2.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { passwordResetLinksRoutes as default };
|
|
@@ -14,7 +14,8 @@ const PlaygroundTokenRequestSchema = z.object({
|
|
|
14
14
|
});
|
|
15
15
|
const PlaygroundTokenResponseSchema = z.object({
|
|
16
16
|
apiKey: z.string().describe("Temporary API key for playground use"),
|
|
17
|
-
expiresAt: z.string().describe("ISO 8601 timestamp when the key expires")
|
|
17
|
+
expiresAt: z.string().describe("ISO 8601 timestamp when the key expires"),
|
|
18
|
+
appId: z.string().describe("App ID for client authentication")
|
|
18
19
|
});
|
|
19
20
|
app.openapi(createProtectedRoute({
|
|
20
21
|
method: "post",
|
|
@@ -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/signoz.d.ts
|
|
6
6
|
declare const app: Hono<{
|
|
7
7
|
Variables: ManageAppVariables;
|
|
8
|
-
},
|
|
8
|
+
}, hono_types3.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_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
|
-
},
|
|
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
|
|
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<
|
|
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
|
|
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,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
|
-
tool: "tool";
|
|
106
105
|
user: "user";
|
|
106
|
+
tool: "tool";
|
|
107
107
|
system: "system";
|
|
108
108
|
assistant: "assistant";
|
|
109
109
|
}>;
|
|
@@ -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,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
|
-
tool: "tool";
|
|
181
180
|
user: "user";
|
|
181
|
+
tool: "tool";
|
|
182
182
|
system: "system";
|
|
183
183
|
assistant: "assistant";
|
|
184
184
|
}>;
|
|
@@ -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,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
|
-
tool: "tool";
|
|
214
213
|
user: "user";
|
|
214
|
+
tool: "tool";
|
|
215
215
|
system: "system";
|
|
216
216
|
assistant: "assistant";
|
|
217
217
|
}>;
|
|
@@ -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<{
|
|
@@ -71,7 +71,7 @@ declare function createInvocationIdempotentStep(params: {
|
|
|
71
71
|
projectId: string;
|
|
72
72
|
tenantId: string;
|
|
73
73
|
id: string;
|
|
74
|
-
status: "
|
|
74
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
75
75
|
ref?: {
|
|
76
76
|
type: "commit" | "tag" | "branch";
|
|
77
77
|
name: string;
|
|
@@ -116,7 +116,7 @@ declare function markRunningStep(params: {
|
|
|
116
116
|
projectId: string;
|
|
117
117
|
tenantId: string;
|
|
118
118
|
id: string;
|
|
119
|
-
status: "
|
|
119
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
120
120
|
ref?: {
|
|
121
121
|
type: "commit" | "tag" | "branch";
|
|
122
122
|
name: string;
|
|
@@ -148,7 +148,7 @@ declare function addConversationIdStep(params: {
|
|
|
148
148
|
projectId: string;
|
|
149
149
|
tenantId: string;
|
|
150
150
|
id: string;
|
|
151
|
-
status: "
|
|
151
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
152
152
|
ref?: {
|
|
153
153
|
type: "commit" | "tag" | "branch";
|
|
154
154
|
name: string;
|
|
@@ -178,7 +178,7 @@ declare function markCompletedStep(params: {
|
|
|
178
178
|
projectId: string;
|
|
179
179
|
tenantId: string;
|
|
180
180
|
id: string;
|
|
181
|
-
status: "
|
|
181
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
182
182
|
ref?: {
|
|
183
183
|
type: "commit" | "tag" | "branch";
|
|
184
184
|
name: string;
|
|
@@ -208,7 +208,7 @@ declare function markFailedStep(params: {
|
|
|
208
208
|
projectId: string;
|
|
209
209
|
tenantId: string;
|
|
210
210
|
id: string;
|
|
211
|
-
status: "
|
|
211
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
212
212
|
ref?: {
|
|
213
213
|
type: "commit" | "tag" | "branch";
|
|
214
214
|
name: string;
|
|
@@ -257,7 +257,7 @@ declare function resetInvocationToPendingStep(params: {
|
|
|
257
257
|
projectId: string;
|
|
258
258
|
tenantId: string;
|
|
259
259
|
id: string;
|
|
260
|
-
status: "
|
|
260
|
+
status: "completed" | "pending" | "failed" | "running" | "cancelled";
|
|
261
261
|
ref?: {
|
|
262
262
|
type: "commit" | "tag" | "branch";
|
|
263
263
|
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
18
|
trace: "trace";
|
|
18
19
|
debug: "debug";
|
|
19
20
|
info: "info";
|
|
20
21
|
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;
|
|
@@ -77,7 +77,7 @@ declare const envSchema: z.ZodObject<{
|
|
|
77
77
|
declare const env: {
|
|
78
78
|
NODE_ENV: "development" | "production" | "test";
|
|
79
79
|
ENVIRONMENT: "development" | "production" | "test" | "pentest";
|
|
80
|
-
LOG_LEVEL: "
|
|
80
|
+
LOG_LEVEL: "error" | "trace" | "debug" | "info" | "warn";
|
|
81
81
|
INKEEP_AGENTS_MANAGE_DATABASE_URL: string;
|
|
82
82
|
INKEEP_AGENTS_RUN_DATABASE_URL: string;
|
|
83
83
|
INKEEP_AGENTS_API_URL: string;
|