@inkeep/agents-api 0.80.6 → 0.80.7
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/flow.cjs +889 -921
- package/dist/.well-known/workflow/v1/flow.cjs.debug.json +1 -1
- package/dist/.well-known/workflow/v1/manifest.json +57 -57
- package/dist/.well-known/workflow/v1/step.cjs +2 -2
- package/dist/.well-known/workflow/v1/step.cjs.debug.json +2 -2
- package/dist/createApp.d.ts +2 -2
- 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/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/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/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 +13 -13
- package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
- package/dist/env.d.ts +2 -2
- 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 +6 -6
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"/home/runner/work/agents/agents/agents-api/src/domains/run/workflow/functions/webhookDelivery.ts"
|
|
10
10
|
],
|
|
11
11
|
"serdeOnlyFiles": [
|
|
12
|
-
"/home/runner/work/agents/agents/node_modules/.pnpm/@workflow+builders@4.1.1_@opentelemetry+api@1.9.
|
|
12
|
+
"/home/runner/work/agents/agents/node_modules/.pnpm/@workflow+builders@4.1.1_@opentelemetry+api@1.9.1_supports-color@8.1.1/node_modules/@workflow/builders/dist/serde-checker.js"
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"src/domains/evals/workflow/steps/scheduledDatasetRunSteps.ts": {
|
|
5
|
-
"checkDatasetRunTriggerEnabledStep": {
|
|
6
|
-
"stepId": "step//./src/domains/evals/workflow/steps/scheduledDatasetRunSteps//checkDatasetRunTriggerEnabledStep"
|
|
7
|
-
},
|
|
8
|
-
"disableDatasetRunTriggerStep": {
|
|
9
|
-
"stepId": "step//./src/domains/evals/workflow/steps/scheduledDatasetRunSteps//disableDatasetRunTriggerStep"
|
|
10
|
-
},
|
|
11
|
-
"executeDatasetRunStep": {
|
|
12
|
-
"stepId": "step//./src/domains/evals/workflow/steps/scheduledDatasetRunSteps//executeDatasetRunStep"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
4
|
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
16
5
|
"executeEvaluatorStep": {
|
|
17
6
|
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
|
|
@@ -32,6 +21,17 @@
|
|
|
32
21
|
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//resolveAgentNameStep"
|
|
33
22
|
}
|
|
34
23
|
},
|
|
24
|
+
"src/domains/evals/workflow/steps/scheduledDatasetRunSteps.ts": {
|
|
25
|
+
"checkDatasetRunTriggerEnabledStep": {
|
|
26
|
+
"stepId": "step//./src/domains/evals/workflow/steps/scheduledDatasetRunSteps//checkDatasetRunTriggerEnabledStep"
|
|
27
|
+
},
|
|
28
|
+
"disableDatasetRunTriggerStep": {
|
|
29
|
+
"stepId": "step//./src/domains/evals/workflow/steps/scheduledDatasetRunSteps//disableDatasetRunTriggerStep"
|
|
30
|
+
},
|
|
31
|
+
"executeDatasetRunStep": {
|
|
32
|
+
"stepId": "step//./src/domains/evals/workflow/steps/scheduledDatasetRunSteps//executeDatasetRunStep"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
35
|
"src/domains/run/workflow/steps/schedulerSteps.ts": {
|
|
36
36
|
"checkSchedulerCurrentStep": {
|
|
37
37
|
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
|
|
@@ -46,49 +46,12 @@
|
|
|
46
46
|
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"src/domains/
|
|
50
|
-
"
|
|
51
|
-
"stepId": "step//./src/domains/
|
|
52
|
-
},
|
|
53
|
-
"executeEvaluatorStep": {
|
|
54
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeEvaluatorStep"
|
|
55
|
-
},
|
|
56
|
-
"filterEvaluatorsByAgentStep": {
|
|
57
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//filterEvaluatorsByAgentStep"
|
|
49
|
+
"src/domains/run/workflow/steps/webhookDeliverySteps.ts": {
|
|
50
|
+
"deliverWebhookStep": {
|
|
51
|
+
"stepId": "step//./src/domains/run/workflow/steps/webhookDeliverySteps//deliverWebhookStep"
|
|
58
52
|
},
|
|
59
53
|
"logStep": {
|
|
60
|
-
"stepId": "step//./src/domains/
|
|
61
|
-
},
|
|
62
|
-
"markCompletedStep": {
|
|
63
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markCompletedStep"
|
|
64
|
-
},
|
|
65
|
-
"markFailedStep": {
|
|
66
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markFailedStep"
|
|
67
|
-
},
|
|
68
|
-
"markRunningStep": {
|
|
69
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markRunningStep"
|
|
70
|
-
},
|
|
71
|
-
"recordConversationStep": {
|
|
72
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
73
|
-
},
|
|
74
|
-
"resolveAgentNameStep": {
|
|
75
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//resolveAgentNameStep"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"node_modules/.pnpm/workflow@4.6.0_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestjs+core@1_2617fe7e0b09a4241ecc91ee3c9f0292/node_modules/workflow/dist/internal/builtins.js": {
|
|
79
|
-
"__builtin_response_array_buffer": {
|
|
80
|
-
"stepId": "__builtin_response_array_buffer"
|
|
81
|
-
},
|
|
82
|
-
"__builtin_response_json": {
|
|
83
|
-
"stepId": "__builtin_response_json"
|
|
84
|
-
},
|
|
85
|
-
"__builtin_response_text": {
|
|
86
|
-
"stepId": "__builtin_response_text"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"node_modules/.pnpm/workflow@4.6.0_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestjs+core@1_2617fe7e0b09a4241ecc91ee3c9f0292/node_modules/workflow/dist/stdlib.js": {
|
|
90
|
-
"fetch": {
|
|
91
|
-
"stepId": "step//workflow@4.6.0//fetch"
|
|
54
|
+
"stepId": "step//./src/domains/run/workflow/steps/webhookDeliverySteps//logStep"
|
|
92
55
|
}
|
|
93
56
|
},
|
|
94
57
|
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
@@ -129,12 +92,20 @@
|
|
|
129
92
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
130
93
|
}
|
|
131
94
|
},
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"stepId": "step
|
|
95
|
+
"node_modules/.pnpm/workflow@4.6.0_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@_d15b02856e611d27d37d0fb70cbc8b4f/node_modules/workflow/dist/stdlib.js": {
|
|
96
|
+
"fetch": {
|
|
97
|
+
"stepId": "step//workflow@4.6.0//fetch"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"node_modules/.pnpm/workflow@4.6.0_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@_d15b02856e611d27d37d0fb70cbc8b4f/node_modules/workflow/dist/internal/builtins.js": {
|
|
101
|
+
"__builtin_response_array_buffer": {
|
|
102
|
+
"stepId": "__builtin_response_array_buffer"
|
|
135
103
|
},
|
|
136
|
-
"
|
|
137
|
-
"stepId": "
|
|
104
|
+
"__builtin_response_json": {
|
|
105
|
+
"stepId": "__builtin_response_json"
|
|
106
|
+
},
|
|
107
|
+
"__builtin_response_text": {
|
|
108
|
+
"stepId": "__builtin_response_text"
|
|
138
109
|
}
|
|
139
110
|
},
|
|
140
111
|
"src/domains/run/workflow/steps/agentExecutionSteps.ts": {
|
|
@@ -162,6 +133,35 @@
|
|
|
162
133
|
"markWorkflowSuspendedStep": {
|
|
163
134
|
"stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowSuspendedStep"
|
|
164
135
|
}
|
|
136
|
+
},
|
|
137
|
+
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
138
|
+
"executeDatasetItemStep": {
|
|
139
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
|
|
140
|
+
},
|
|
141
|
+
"executeEvaluatorStep": {
|
|
142
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeEvaluatorStep"
|
|
143
|
+
},
|
|
144
|
+
"filterEvaluatorsByAgentStep": {
|
|
145
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//filterEvaluatorsByAgentStep"
|
|
146
|
+
},
|
|
147
|
+
"logStep": {
|
|
148
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
|
|
149
|
+
},
|
|
150
|
+
"markCompletedStep": {
|
|
151
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markCompletedStep"
|
|
152
|
+
},
|
|
153
|
+
"markFailedStep": {
|
|
154
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markFailedStep"
|
|
155
|
+
},
|
|
156
|
+
"markRunningStep": {
|
|
157
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markRunningStep"
|
|
158
|
+
},
|
|
159
|
+
"recordConversationStep": {
|
|
160
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
161
|
+
},
|
|
162
|
+
"resolveAgentNameStep": {
|
|
163
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//resolveAgentNameStep"
|
|
164
|
+
}
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
"workflows": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/.well-known/workflow/v1/step.cjs
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 108836994 bytes
|
|
4
|
+
sha256: 5a72611658acf5c5a1aa9716cf5146d210494996d89817e27605beed8491041a
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"/home/runner/work/agents/agents/agents-api/src/domains/run/workflow/steps/scheduledTriggerSteps.ts",
|
|
8
8
|
"/home/runner/work/agents/agents/agents-api/src/domains/run/workflow/steps/schedulerSteps.ts",
|
|
9
9
|
"/home/runner/work/agents/agents/agents-api/src/domains/run/workflow/steps/webhookDeliverySteps.ts",
|
|
10
|
-
"/home/runner/work/agents/agents/node_modules/.pnpm/workflow@4.6.0_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.
|
|
10
|
+
"/home/runner/work/agents/agents/node_modules/.pnpm/workflow@4.6.0_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2_supports-color@_d15b02856e611d27d37d0fb70cbc8b4f/node_modules/workflow/dist/stdlib.js"
|
|
11
11
|
],
|
|
12
12
|
"workflowFiles": [
|
|
13
13
|
"/home/runner/work/agents/agents/agents-api/src/domains/evals/workflow/functions/evaluateConversation.ts",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"/home/runner/work/agents/agents/agents-api/src/domains/run/workflow/functions/webhookDelivery.ts"
|
|
20
20
|
],
|
|
21
21
|
"serdeOnlyFiles": [
|
|
22
|
-
"/home/runner/work/agents/agents/node_modules/.pnpm/@workflow+builders@4.1.1_@opentelemetry+api@1.9.
|
|
22
|
+
"/home/runner/work/agents/agents/node_modules/.pnpm/@workflow+builders@4.1.1_@opentelemetry+api@1.9.1_supports-color@8.1.1/node_modules/@workflow/builders/dist/serde-checker.js"
|
|
23
23
|
]
|
|
24
24
|
}
|
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_types0 from "hono/types";
|
|
5
5
|
|
|
6
6
|
//#region src/createApp.d.ts
|
|
7
7
|
declare const isWebhookRoute: (path: string) => boolean;
|
|
8
|
-
declare function createAgentsHono(config: AppConfig): Hono<
|
|
8
|
+
declare function createAgentsHono(config: AppConfig): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { createAgentsHono, isWebhookRoute };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core1 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_core1.AgentsManageDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { manageDbClient as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core2 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_core2.AgentsRunDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { runDbClient 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-reconciliation/handlers/agent.d.ts
|
|
4
|
-
declare const agentHandlers:
|
|
4
|
+
declare const agentHandlers: _inkeep_agents_core3.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,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/evals/routes/index.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 { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types5 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_types5.BlankEnv, hono_types5.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 hono13 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.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 { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono11 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/feedback.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 hono14 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/index.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono14.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../../../types/app.js";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
|
-
import * as
|
|
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,6 +1,6 @@
|
|
|
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/signoz.d.ts
|
|
6
6
|
declare class FetchResponseError extends Error {
|
|
@@ -22,6 +22,6 @@ declare function queryWithRetry(signoz: SignozConfig, payload: any): Promise<{
|
|
|
22
22
|
}>;
|
|
23
23
|
declare const app: Hono<{
|
|
24
24
|
Variables: ManageAppVariables;
|
|
25
|
-
},
|
|
25
|
+
}, hono_types10.BlankSchema, "/">;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { FetchResponseError, app as default, effectiveRetryCap, getMissingKeys, queryReferencesKeys, queryWithRetry, stripSelectFields };
|
|
@@ -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_types12 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_types12.BlankEnv, hono_types12.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 hono20 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<hono20.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>;
|
|
@@ -104,10 +104,10 @@ declare const VercelMessageSchema: z.ZodObject<{
|
|
|
104
104
|
id: z.ZodOptional<z.ZodString>;
|
|
105
105
|
role: z.ZodEnum<{
|
|
106
106
|
function: "function";
|
|
107
|
+
tool: "tool";
|
|
107
108
|
user: "user";
|
|
108
109
|
system: "system";
|
|
109
110
|
assistant: "assistant";
|
|
110
|
-
tool: "tool";
|
|
111
111
|
}>;
|
|
112
112
|
content: z.ZodAny;
|
|
113
113
|
parts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -162,9 +162,9 @@ declare const ContentItemSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
162
162
|
image_url: z.ZodObject<{
|
|
163
163
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
164
164
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
165
|
-
auto: "auto";
|
|
166
|
-
low: "low";
|
|
167
165
|
high: "high";
|
|
166
|
+
low: "low";
|
|
167
|
+
auto: "auto";
|
|
168
168
|
}>>;
|
|
169
169
|
}, z.core.$strip>;
|
|
170
170
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -179,10 +179,10 @@ type ContentItem = z.infer<typeof ContentItemSchema>;
|
|
|
179
179
|
declare const MessageSchema: z.ZodObject<{
|
|
180
180
|
role: z.ZodEnum<{
|
|
181
181
|
function: "function";
|
|
182
|
+
tool: "tool";
|
|
182
183
|
user: "user";
|
|
183
184
|
system: "system";
|
|
184
185
|
assistant: "assistant";
|
|
185
|
-
tool: "tool";
|
|
186
186
|
}>;
|
|
187
187
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
188
188
|
type: z.ZodLiteral<"text">;
|
|
@@ -192,9 +192,9 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
192
192
|
image_url: z.ZodObject<{
|
|
193
193
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
194
194
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
195
|
-
auto: "auto";
|
|
196
|
-
low: "low";
|
|
197
195
|
high: "high";
|
|
196
|
+
low: "low";
|
|
197
|
+
auto: "auto";
|
|
198
198
|
}>>;
|
|
199
199
|
}, z.core.$strip>;
|
|
200
200
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -212,10 +212,10 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
|
|
|
212
212
|
messages: z.ZodArray<z.ZodObject<{
|
|
213
213
|
role: z.ZodEnum<{
|
|
214
214
|
function: "function";
|
|
215
|
+
tool: "tool";
|
|
215
216
|
user: "user";
|
|
216
217
|
system: "system";
|
|
217
218
|
assistant: "assistant";
|
|
218
|
-
tool: "tool";
|
|
219
219
|
}>;
|
|
220
220
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
221
221
|
type: z.ZodLiteral<"text">;
|
|
@@ -225,9 +225,9 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
|
|
|
225
225
|
image_url: z.ZodObject<{
|
|
226
226
|
url: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
227
227
|
detail: z.ZodOptional<z.ZodEnum<{
|
|
228
|
-
auto: "auto";
|
|
229
|
-
low: "low";
|
|
230
228
|
high: "high";
|
|
229
|
+
low: "low";
|
|
230
|
+
auto: "auto";
|
|
231
231
|
}>>;
|
|
232
232
|
}, z.core.$strip>;
|
|
233
233
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -75,7 +75,7 @@ declare function createInvocationIdempotentStep(params: {
|
|
|
75
75
|
projectId: string;
|
|
76
76
|
tenantId: string;
|
|
77
77
|
id: string;
|
|
78
|
-
status: "pending" | "
|
|
78
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
79
79
|
ref?: {
|
|
80
80
|
type: "commit" | "tag" | "branch";
|
|
81
81
|
name: string;
|
|
@@ -121,7 +121,7 @@ declare function markRunningStep(params: {
|
|
|
121
121
|
projectId: string;
|
|
122
122
|
tenantId: string;
|
|
123
123
|
id: string;
|
|
124
|
-
status: "pending" | "
|
|
124
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
125
125
|
ref?: {
|
|
126
126
|
type: "commit" | "tag" | "branch";
|
|
127
127
|
name: string;
|
|
@@ -154,7 +154,7 @@ declare function addConversationIdStep(params: {
|
|
|
154
154
|
projectId: string;
|
|
155
155
|
tenantId: string;
|
|
156
156
|
id: string;
|
|
157
|
-
status: "pending" | "
|
|
157
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
158
158
|
ref?: {
|
|
159
159
|
type: "commit" | "tag" | "branch";
|
|
160
160
|
name: string;
|
|
@@ -185,7 +185,7 @@ declare function markCompletedStep(params: {
|
|
|
185
185
|
projectId: string;
|
|
186
186
|
tenantId: string;
|
|
187
187
|
id: string;
|
|
188
|
-
status: "pending" | "
|
|
188
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
189
189
|
ref?: {
|
|
190
190
|
type: "commit" | "tag" | "branch";
|
|
191
191
|
name: string;
|
|
@@ -216,7 +216,7 @@ declare function markFailedStep(params: {
|
|
|
216
216
|
projectId: string;
|
|
217
217
|
tenantId: string;
|
|
218
218
|
id: string;
|
|
219
|
-
status: "pending" | "
|
|
219
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
220
220
|
ref?: {
|
|
221
221
|
type: "commit" | "tag" | "branch";
|
|
222
222
|
name: string;
|
|
@@ -266,7 +266,7 @@ declare function resetInvocationToPendingStep(params: {
|
|
|
266
266
|
projectId: string;
|
|
267
267
|
tenantId: string;
|
|
268
268
|
id: string;
|
|
269
|
-
status: "pending" | "
|
|
269
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
270
270
|
ref?: {
|
|
271
271
|
type: "commit" | "tag" | "branch";
|
|
272
272
|
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;
|
|
@@ -89,7 +89,7 @@ declare const envSchema: z.ZodObject<{
|
|
|
89
89
|
declare const env: {
|
|
90
90
|
NODE_ENV: "development" | "production" | "test";
|
|
91
91
|
ENVIRONMENT: "development" | "production" | "test" | "pentest";
|
|
92
|
-
LOG_LEVEL: "
|
|
92
|
+
LOG_LEVEL: "trace" | "debug" | "info" | "warn" | "error";
|
|
93
93
|
INKEEP_AGENTS_MANAGE_DATABASE_URL: string;
|
|
94
94
|
INKEEP_AGENTS_RUN_DATABASE_URL: string;
|
|
95
95
|
INKEEP_AGENTS_API_URL: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono19 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/evalsAuth.d.ts
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import * as hono18 from "hono";
|
|
|
7
7
|
* Middleware to authenticate API requests using Bearer token authentication
|
|
8
8
|
* First checks if token matches INKEEP_AGENTS_EVAL_API_BYPASS_SECRET,
|
|
9
9
|
*/
|
|
10
|
-
declare const evalApiKeyAuth: () =>
|
|
10
|
+
declare const evalApiKeyAuth: () => hono19.MiddlewareHandler<{
|
|
11
11
|
Variables: {
|
|
12
12
|
executionContext: BaseExecutionContext;
|
|
13
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono0 from "hono";
|
|
3
3
|
import { createAuth } from "@inkeep/agents-core/auth";
|
|
4
4
|
|
|
5
5
|
//#region src/middleware/manageAuth.d.ts
|
|
@@ -18,7 +18,7 @@ import { createAuth } from "@inkeep/agents-core/auth";
|
|
|
18
18
|
* the narrow legacy exceptions enumerated in `LEGACY_API_KEY_ALLOWED_ROUTES`. API keys
|
|
19
19
|
* are otherwise restricted to the run domain only.
|
|
20
20
|
*/
|
|
21
|
-
declare const manageBearerAuth: () =>
|
|
21
|
+
declare const manageBearerAuth: () => hono0.MiddlewareHandler<{
|
|
22
22
|
Variables: {
|
|
23
23
|
executionContext: BaseExecutionContext;
|
|
24
24
|
userId?: string;
|
|
@@ -33,6 +33,6 @@ declare const manageBearerAuth: () => hono16.MiddlewareHandler<{
|
|
|
33
33
|
* Uses Bearer token → manage bearer auth (bypass secret, session, Slack JWT, internal service),
|
|
34
34
|
* otherwise falls back to session auth.
|
|
35
35
|
*/
|
|
36
|
-
declare const manageBearerOrSessionAuth: () =>
|
|
36
|
+
declare const manageBearerOrSessionAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { manageBearerAuth, manageBearerOrSessionAuth };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseExecutionContext, ResolvedRef } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono17 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/projectConfig.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Middleware that fetches the full project definition from the Management API
|
|
7
7
|
*/
|
|
8
|
-
declare const projectConfigMiddleware:
|
|
8
|
+
declare const projectConfigMiddleware: hono17.MiddlewareHandler<{
|
|
9
9
|
Variables: {
|
|
10
10
|
executionContext: BaseExecutionContext;
|
|
11
11
|
resolvedRef: ResolvedRef;
|
|
@@ -15,7 +15,7 @@ declare const projectConfigMiddleware: hono19.MiddlewareHandler<{
|
|
|
15
15
|
* Creates a middleware that applies project config fetching except for specified route patterns
|
|
16
16
|
* @param skipRouteCheck - Function that returns true if the route should skip the middleware
|
|
17
17
|
*/
|
|
18
|
-
declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) =>
|
|
18
|
+
declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) => hono17.MiddlewareHandler<{
|
|
19
19
|
Variables: {
|
|
20
20
|
executionContext: BaseExecutionContext;
|
|
21
21
|
resolvedRef: ResolvedRef;
|