@inkeep/agents-api 0.0.0-dev-20260327225559 → 0.0.0-dev-20260328075633
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 +63 -63
- 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/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/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/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 +16 -16
- 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/manageAuth.d.ts +3 -3
- package/dist/middleware/projectConfig.d.ts +3 -3
- 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,41 +1,11 @@
|
|
|
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_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"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
16
|
-
"executeEvaluatorStep": {
|
|
17
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
|
|
18
|
-
},
|
|
19
|
-
"getConversationStep": {
|
|
20
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getConversationStep"
|
|
21
|
-
},
|
|
22
|
-
"getEvaluatorsStep": {
|
|
23
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//getEvaluatorsStep"
|
|
24
|
-
},
|
|
25
|
-
"logStep": {
|
|
26
|
-
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
4
|
"src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
|
|
30
5
|
"startNextIterationStep": {
|
|
31
6
|
"stepId": "step//./src/domains/run/workflow/functions/scheduledTriggerRunner//startNextIterationStep"
|
|
32
7
|
}
|
|
33
8
|
},
|
|
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": {
|
|
35
|
-
"fetch": {
|
|
36
|
-
"stepId": "step//workflow@4.2.0-beta.67//fetch"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
9
|
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
40
10
|
"callChatApiStep": {
|
|
41
11
|
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//callChatApiStep"
|
|
@@ -97,6 +67,36 @@
|
|
|
97
67
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
98
68
|
}
|
|
99
69
|
},
|
|
70
|
+
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
71
|
+
"executeEvaluatorStep": {
|
|
72
|
+
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
|
|
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"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
100
|
"src/domains/run/workflow/steps/agentExecutionSteps.ts": {
|
|
101
101
|
"callLlmStep": {
|
|
102
102
|
"stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
|
|
@@ -125,39 +125,6 @@
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
"workflows": {
|
|
128
|
-
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
129
|
-
"_evaluateConversationWorkflow": {
|
|
130
|
-
"workflowId": "workflow//./src/domains/evals/workflow/functions/evaluateConversation//_evaluateConversationWorkflow",
|
|
131
|
-
"graph": {
|
|
132
|
-
"nodes": [
|
|
133
|
-
{
|
|
134
|
-
"id": "start",
|
|
135
|
-
"type": "workflowStart",
|
|
136
|
-
"data": {
|
|
137
|
-
"label": "Start: _evaluateConversationWorkflow",
|
|
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
128
|
"src/domains/run/workflow/functions/scheduledTriggerRunner.ts": {
|
|
162
129
|
"_scheduledTriggerRunnerWorkflow": {
|
|
163
130
|
"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/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_types5 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_types5.BlankEnv, hono_types5.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { createAgentsHono, isWebhookRoute };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core5 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_core5.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-reconciliation/handlers/agent.d.ts
|
|
4
|
-
declare const agentHandlers:
|
|
4
|
+
declare const agentHandlers: _inkeep_agents_core4.EntityEffectHandlers<"agent">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { agentHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core1 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_core1.EntityEffectHandlers<"scheduled_triggers">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { scheduledTriggersHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core2 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_core2.EntityEffectHandlers<"sub_agents">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { subAgentsHandlers };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core3 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_core3.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 hono8 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/datasetTriggers.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono8.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 hono10 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/evals/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono10.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_types12 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_types12.BlankEnv, hono_types12.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_types1 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_types1.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 hono11 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/availableAgents.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono11.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/conversations.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono17.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono9 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono9.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_types0 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_types0.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_types0 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_types0.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_types2 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_types2.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_types9 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_types9.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_types7 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_types7.BlankEnv, hono_types7.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 hono18 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<hono18.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";
|
|
32
33
|
high: "high";
|
|
33
34
|
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
|
-
high: "high";
|
|
11
|
-
low: "low";
|
|
12
10
|
auto: "auto";
|
|
11
|
+
low: "low";
|
|
12
|
+
high: "high";
|
|
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
|
-
high: "high";
|
|
21
|
-
low: "low";
|
|
22
20
|
auto: "auto";
|
|
21
|
+
low: "low";
|
|
22
|
+
high: "high";
|
|
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
|
-
system: "system";
|
|
106
105
|
user: "user";
|
|
107
|
-
assistant: "assistant";
|
|
108
106
|
tool: "tool";
|
|
107
|
+
system: "system";
|
|
108
|
+
assistant: "assistant";
|
|
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
|
-
high: "high";
|
|
164
|
-
low: "low";
|
|
165
163
|
auto: "auto";
|
|
164
|
+
low: "low";
|
|
165
|
+
high: "high";
|
|
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
|
-
system: "system";
|
|
181
180
|
user: "user";
|
|
182
|
-
assistant: "assistant";
|
|
183
181
|
tool: "tool";
|
|
182
|
+
system: "system";
|
|
183
|
+
assistant: "assistant";
|
|
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
|
-
high: "high";
|
|
194
|
-
low: "low";
|
|
195
193
|
auto: "auto";
|
|
194
|
+
low: "low";
|
|
195
|
+
high: "high";
|
|
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
|
-
system: "system";
|
|
214
213
|
user: "user";
|
|
215
|
-
assistant: "assistant";
|
|
216
214
|
tool: "tool";
|
|
215
|
+
system: "system";
|
|
216
|
+
assistant: "assistant";
|
|
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
|
-
high: "high";
|
|
227
|
-
low: "low";
|
|
228
226
|
auto: "auto";
|
|
227
|
+
low: "low";
|
|
228
|
+
high: "high";
|
|
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: "pending" | "failed" | "running" | "completed" | "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: "pending" | "failed" | "running" | "completed" | "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: "pending" | "failed" | "running" | "completed" | "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: "pending" | "failed" | "running" | "completed" | "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: "pending" | "failed" | "running" | "completed" | "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: "pending" | "failed" | "running" | "completed" | "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";
|
|
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;
|
|
@@ -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: "error" | "trace" | "debug" | "info" | "warn";
|
|
83
83
|
INKEEP_AGENTS_MANAGE_DATABASE_URL: string;
|
|
84
84
|
INKEEP_AGENTS_RUN_DATABASE_URL: string;
|
|
85
85
|
INKEEP_AGENTS_API_URL: string;
|