@inkeep/agents-api 0.72.1 → 0.72.2
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 +62 -62
- package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
- package/dist/data-reconciliation/handlers/sub-agents.d.ts +2 -2
- package/dist/domains/evals/routes/index.d.ts +2 -2
- package/dist/domains/evals/workflow/routes.d.ts +2 -2
- package/dist/domains/manage/routes/authLookup.d.ts +2 -2
- package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
- package/dist/domains/manage/routes/conversations.d.ts +2 -2
- package/dist/domains/manage/routes/feedback.d.ts +2 -2
- package/dist/domains/manage/routes/index.d.ts +2 -2
- package/dist/domains/manage/routes/invitations.d.ts +2 -2
- package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
- package/dist/domains/manage/routes/signoz.d.ts +2 -2
- package/dist/domains/manage/routes/users.d.ts +2 -2
- package/dist/domains/mcp/routes/mcp.d.ts +2 -2
- package/dist/domains/run/types/chat.d.ts +3 -3
- package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
- package/dist/factory.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/middleware/evalsAuth.d.ts +2 -2
- 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/package.json +5 -5
|
@@ -1,17 +1,6 @@
|
|
|
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_b575c43228ab2aea588d772a2c5a2708/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
4
|
"src/domains/evals/workflow/functions/evaluateConversation.ts": {
|
|
16
5
|
"executeEvaluatorStep": {
|
|
17
6
|
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//executeEvaluatorStep"
|
|
@@ -43,6 +32,68 @@
|
|
|
43
32
|
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
|
|
44
33
|
}
|
|
45
34
|
},
|
|
35
|
+
"src/domains/run/workflow/steps/webhookDeliverySteps.ts": {
|
|
36
|
+
"deliverWebhookStep": {
|
|
37
|
+
"stepId": "step//./src/domains/run/workflow/steps/webhookDeliverySteps//deliverWebhookStep"
|
|
38
|
+
},
|
|
39
|
+
"logStep": {
|
|
40
|
+
"stepId": "step//./src/domains/run/workflow/steps/webhookDeliverySteps//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_b575c43228ab2aea588d772a2c5a2708/node_modules/workflow/dist/stdlib.js": {
|
|
44
|
+
"fetch": {
|
|
45
|
+
"stepId": "step//workflow@4.2.0-beta.67//fetch"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_b575c43228ab2aea588d772a2c5a2708/node_modules/workflow/dist/internal/builtins.js": {
|
|
49
|
+
"__builtin_response_array_buffer": {
|
|
50
|
+
"stepId": "__builtin_response_array_buffer"
|
|
51
|
+
},
|
|
52
|
+
"__builtin_response_json": {
|
|
53
|
+
"stepId": "__builtin_response_json"
|
|
54
|
+
},
|
|
55
|
+
"__builtin_response_text": {
|
|
56
|
+
"stepId": "__builtin_response_text"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
60
|
+
"addConversationIdStep": {
|
|
61
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
62
|
+
},
|
|
63
|
+
"checkInvocationCancelledStep": {
|
|
64
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkInvocationCancelledStep"
|
|
65
|
+
},
|
|
66
|
+
"checkTriggerEnabledStep": {
|
|
67
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkTriggerEnabledStep"
|
|
68
|
+
},
|
|
69
|
+
"createInvocationIdempotentStep": {
|
|
70
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//createInvocationIdempotentStep"
|
|
71
|
+
},
|
|
72
|
+
"disableOneTimeTriggerStep": {
|
|
73
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//disableOneTimeTriggerStep"
|
|
74
|
+
},
|
|
75
|
+
"executeScheduledTriggerStep": {
|
|
76
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//executeScheduledTriggerStep"
|
|
77
|
+
},
|
|
78
|
+
"incrementAttemptStep": {
|
|
79
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//incrementAttemptStep"
|
|
80
|
+
},
|
|
81
|
+
"logStep": {
|
|
82
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//logStep"
|
|
83
|
+
},
|
|
84
|
+
"markCompletedStep": {
|
|
85
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markCompletedStep"
|
|
86
|
+
},
|
|
87
|
+
"markFailedStep": {
|
|
88
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markFailedStep"
|
|
89
|
+
},
|
|
90
|
+
"markRunningStep": {
|
|
91
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markRunningStep"
|
|
92
|
+
},
|
|
93
|
+
"resetInvocationToPendingStep": {
|
|
94
|
+
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
46
97
|
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
47
98
|
"executeDatasetItemStep": {
|
|
48
99
|
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
|
|
@@ -69,19 +120,6 @@
|
|
|
69
120
|
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
70
121
|
}
|
|
71
122
|
},
|
|
72
|
-
"node_modules/.pnpm/workflow@4.2.0-beta.67_@nestjs+common@11.1.13_reflect-metadata@0.2.2_rxjs@7.8.2__@nestj_b575c43228ab2aea588d772a2c5a2708/node_modules/workflow/dist/stdlib.js": {
|
|
73
|
-
"fetch": {
|
|
74
|
-
"stepId": "step//workflow@4.2.0-beta.67//fetch"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"src/domains/run/workflow/steps/webhookDeliverySteps.ts": {
|
|
78
|
-
"deliverWebhookStep": {
|
|
79
|
-
"stepId": "step//./src/domains/run/workflow/steps/webhookDeliverySteps//deliverWebhookStep"
|
|
80
|
-
},
|
|
81
|
-
"logStep": {
|
|
82
|
-
"stepId": "step//./src/domains/run/workflow/steps/webhookDeliverySteps//logStep"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
123
|
"src/domains/run/workflow/steps/agentExecutionSteps.ts": {
|
|
86
124
|
"callLlmStep": {
|
|
87
125
|
"stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//callLlmStep"
|
|
@@ -107,44 +145,6 @@
|
|
|
107
145
|
"markWorkflowSuspendedStep": {
|
|
108
146
|
"stepId": "step//./src/domains/run/workflow/steps/agentExecutionSteps//markWorkflowSuspendedStep"
|
|
109
147
|
}
|
|
110
|
-
},
|
|
111
|
-
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
112
|
-
"addConversationIdStep": {
|
|
113
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
114
|
-
},
|
|
115
|
-
"checkInvocationCancelledStep": {
|
|
116
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkInvocationCancelledStep"
|
|
117
|
-
},
|
|
118
|
-
"checkTriggerEnabledStep": {
|
|
119
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//checkTriggerEnabledStep"
|
|
120
|
-
},
|
|
121
|
-
"createInvocationIdempotentStep": {
|
|
122
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//createInvocationIdempotentStep"
|
|
123
|
-
},
|
|
124
|
-
"disableOneTimeTriggerStep": {
|
|
125
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//disableOneTimeTriggerStep"
|
|
126
|
-
},
|
|
127
|
-
"executeScheduledTriggerStep": {
|
|
128
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//executeScheduledTriggerStep"
|
|
129
|
-
},
|
|
130
|
-
"incrementAttemptStep": {
|
|
131
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//incrementAttemptStep"
|
|
132
|
-
},
|
|
133
|
-
"logStep": {
|
|
134
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//logStep"
|
|
135
|
-
},
|
|
136
|
-
"markCompletedStep": {
|
|
137
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markCompletedStep"
|
|
138
|
-
},
|
|
139
|
-
"markFailedStep": {
|
|
140
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markFailedStep"
|
|
141
|
-
},
|
|
142
|
-
"markRunningStep": {
|
|
143
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//markRunningStep"
|
|
144
|
-
},
|
|
145
|
-
"resetInvocationToPendingStep": {
|
|
146
|
-
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
147
|
-
}
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
"workflows": {
|
|
@@ -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/context-configs.d.ts
|
|
4
|
-
declare const contextConfigsHandlers:
|
|
4
|
+
declare const contextConfigsHandlers: _inkeep_agents_core4.EntityEffectHandlers<"context_configs">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { contextConfigsHandlers };
|
|
@@ -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/sub-agents.d.ts
|
|
4
|
-
declare const subAgentsHandlers:
|
|
4
|
+
declare const subAgentsHandlers: _inkeep_agents_core6.EntityEffectHandlers<"sub_agents">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { subAgentsHandlers };
|
|
@@ -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/evals/routes/index.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 { Hono } from "hono";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono_types11 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_types11.BlankEnv, hono_types11.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_types13 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_types13.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 hono20 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/availableAgents.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono20.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 hono19 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.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 { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono6 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/feedback.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono6.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_types5 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_types5.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { invitationsRoutes as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../../../types/app.js";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
|
-
import * as
|
|
3
|
+
import * as hono_types6 from "hono/types";
|
|
4
4
|
|
|
5
5
|
//#region src/domains/manage/routes/passwordResetLinks.d.ts
|
|
6
6
|
declare const passwordResetLinksRoutes: Hono<{
|
|
7
7
|
Variables: ManageAppVariables;
|
|
8
|
-
},
|
|
8
|
+
}, hono_types6.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { passwordResetLinksRoutes as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../../../types/app.js";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
|
-
import * as
|
|
3
|
+
import * as hono_types7 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_types7.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_types8 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_types8.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_types9 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_types9.BlankEnv, hono_types9.BlankSchema, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -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
|
-
user: "user";
|
|
106
105
|
system: "system";
|
|
106
|
+
user: "user";
|
|
107
107
|
assistant: "assistant";
|
|
108
108
|
tool: "tool";
|
|
109
109
|
}>;
|
|
@@ -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
|
-
user: "user";
|
|
181
180
|
system: "system";
|
|
181
|
+
user: "user";
|
|
182
182
|
assistant: "assistant";
|
|
183
183
|
tool: "tool";
|
|
184
184
|
}>;
|
|
@@ -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
|
-
user: "user";
|
|
214
213
|
system: "system";
|
|
214
|
+
user: "user";
|
|
215
215
|
assistant: "assistant";
|
|
216
216
|
tool: "tool";
|
|
217
217
|
}>;
|
|
@@ -74,7 +74,7 @@ declare function createInvocationIdempotentStep(params: {
|
|
|
74
74
|
projectId: string;
|
|
75
75
|
tenantId: string;
|
|
76
76
|
id: string;
|
|
77
|
-
status: "completed" | "
|
|
77
|
+
status: "completed" | "failed" | "pending" | "running" | "cancelled";
|
|
78
78
|
ref?: {
|
|
79
79
|
type: "commit" | "tag" | "branch";
|
|
80
80
|
name: string;
|
|
@@ -120,7 +120,7 @@ declare function markRunningStep(params: {
|
|
|
120
120
|
projectId: string;
|
|
121
121
|
tenantId: string;
|
|
122
122
|
id: string;
|
|
123
|
-
status: "completed" | "
|
|
123
|
+
status: "completed" | "failed" | "pending" | "running" | "cancelled";
|
|
124
124
|
ref?: {
|
|
125
125
|
type: "commit" | "tag" | "branch";
|
|
126
126
|
name: string;
|
|
@@ -153,7 +153,7 @@ declare function addConversationIdStep(params: {
|
|
|
153
153
|
projectId: string;
|
|
154
154
|
tenantId: string;
|
|
155
155
|
id: string;
|
|
156
|
-
status: "completed" | "
|
|
156
|
+
status: "completed" | "failed" | "pending" | "running" | "cancelled";
|
|
157
157
|
ref?: {
|
|
158
158
|
type: "commit" | "tag" | "branch";
|
|
159
159
|
name: string;
|
|
@@ -184,7 +184,7 @@ declare function markCompletedStep(params: {
|
|
|
184
184
|
projectId: string;
|
|
185
185
|
tenantId: string;
|
|
186
186
|
id: string;
|
|
187
|
-
status: "completed" | "
|
|
187
|
+
status: "completed" | "failed" | "pending" | "running" | "cancelled";
|
|
188
188
|
ref?: {
|
|
189
189
|
type: "commit" | "tag" | "branch";
|
|
190
190
|
name: string;
|
|
@@ -215,7 +215,7 @@ declare function markFailedStep(params: {
|
|
|
215
215
|
projectId: string;
|
|
216
216
|
tenantId: string;
|
|
217
217
|
id: string;
|
|
218
|
-
status: "completed" | "
|
|
218
|
+
status: "completed" | "failed" | "pending" | "running" | "cancelled";
|
|
219
219
|
ref?: {
|
|
220
220
|
type: "commit" | "tag" | "branch";
|
|
221
221
|
name: string;
|
|
@@ -265,7 +265,7 @@ declare function resetInvocationToPendingStep(params: {
|
|
|
265
265
|
projectId: string;
|
|
266
266
|
tenantId: string;
|
|
267
267
|
id: string;
|
|
268
|
-
status: "completed" | "
|
|
268
|
+
status: "completed" | "failed" | "pending" | "running" | "cancelled";
|
|
269
269
|
ref?: {
|
|
270
270
|
type: "commit" | "tag" | "branch";
|
|
271
271
|
name: string;
|
package/dist/factory.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { SandboxConfig } from "./types/app.js";
|
|
|
2
2
|
import "./types/index.js";
|
|
3
3
|
import { createAgentsHono } from "./createApp.js";
|
|
4
4
|
import { CredentialStore, ServerConfig } from "@inkeep/agents-core";
|
|
5
|
-
import * as
|
|
5
|
+
import * as hono0 from "hono";
|
|
6
6
|
import { EmailServiceConfig, SSOProviderConfig, UserAuthConfig, createAuth } from "@inkeep/agents-core/auth";
|
|
7
|
-
import * as
|
|
7
|
+
import * as hono_types3 from "hono/types";
|
|
8
8
|
|
|
9
9
|
//#region src/factory.d.ts
|
|
10
10
|
declare function createAgentsAuth(userAuthConfig?: UserAuthConfig, emailService?: EmailServiceConfig): ReturnType<typeof createAuth>;
|
|
@@ -14,6 +14,6 @@ declare function createAgentsApp(config?: {
|
|
|
14
14
|
auth?: UserAuthConfig;
|
|
15
15
|
sandboxConfig?: SandboxConfig;
|
|
16
16
|
emailService?: EmailServiceConfig;
|
|
17
|
-
}):
|
|
17
|
+
}): hono0.Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { type SSOProviderConfig, type UserAuthConfig, createAgentsApp, createAgentsAuth, createAgentsHono };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { NativeSandboxConfig, SandboxConfig, VercelSandboxConfig } from "./domai
|
|
|
5
5
|
import { SSOProviderConfig, UserAuthConfig, createAgentsApp, createAgentsAuth } from "./factory.js";
|
|
6
6
|
import "./sentry.js";
|
|
7
7
|
import { Hono } from "hono";
|
|
8
|
-
import * as
|
|
8
|
+
import * as hono_types1 from "hono/types";
|
|
9
9
|
|
|
10
10
|
//#region src/index.d.ts
|
|
11
11
|
declare const auth: ReturnType<typeof createAgentsAuth>;
|
|
12
|
-
declare const app: Hono<
|
|
12
|
+
declare const app: Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { type AppConfig, type AppVariables, Hono, type NativeSandboxConfig, type SSOProviderConfig, type SandboxConfig, type UserAuthConfig, type VercelSandboxConfig, auth, createAgentsApp, createAgentsHono, app as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono5 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/evalsAuth.d.ts
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import * as hono0 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: () => hono5.MiddlewareHandler<{
|
|
11
11
|
Variables: {
|
|
12
12
|
executionContext: BaseExecutionContext;
|
|
13
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono7 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/requireEntitlement.d.ts
|
|
5
5
|
type EntitlementConfig = {
|
|
@@ -11,6 +11,6 @@ declare const requireEntitlement: <Env$1 extends {
|
|
|
11
11
|
Variables: ManageAppVariables;
|
|
12
12
|
} = {
|
|
13
13
|
Variables: ManageAppVariables;
|
|
14
|
-
}>(config: EntitlementConfig) =>
|
|
14
|
+
}>(config: EntitlementConfig) => hono7.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { requireEntitlement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono8 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/requirePermission.d.ts
|
|
5
5
|
type Permission = {
|
|
@@ -9,6 +9,6 @@ declare const requirePermission: <Env$1 extends {
|
|
|
9
9
|
Variables: ManageAppVariables;
|
|
10
10
|
} = {
|
|
11
11
|
Variables: ManageAppVariables;
|
|
12
|
-
}>(permissions: Permission) =>
|
|
12
|
+
}>(permissions: Permission) => hono8.MiddlewareHandler<Env$1, string, {}, Response>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { requirePermission };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono9 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/runAuth.d.ts
|
|
5
|
-
declare const runApiKeyAuth: () =>
|
|
5
|
+
declare const runApiKeyAuth: () => hono9.MiddlewareHandler<{
|
|
6
6
|
Variables: {
|
|
7
7
|
executionContext: BaseExecutionContext;
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ declare const runApiKeyAuth: () => hono10.MiddlewareHandler<{
|
|
|
11
11
|
* Creates a middleware that applies API key authentication except for specified route patterns
|
|
12
12
|
* @param skipRouteCheck - Function that returns true if the route should skip authentication
|
|
13
13
|
*/
|
|
14
|
-
declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) =>
|
|
14
|
+
declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => hono9.MiddlewareHandler<{
|
|
15
15
|
Variables: {
|
|
16
16
|
executionContext: BaseExecutionContext;
|
|
17
17
|
};
|
|
@@ -20,7 +20,7 @@ declare const runApiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) =
|
|
|
20
20
|
* Helper middleware for endpoints that optionally support API key authentication
|
|
21
21
|
* If no auth header is present, it continues without setting the executionContext
|
|
22
22
|
*/
|
|
23
|
-
declare const runOptionalAuth: () =>
|
|
23
|
+
declare const runOptionalAuth: () => hono9.MiddlewareHandler<{
|
|
24
24
|
Variables: {
|
|
25
25
|
executionContext?: BaseExecutionContext;
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono12 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/sessionAuth.d.ts
|
|
5
5
|
|
|
@@ -8,12 +8,12 @@ import * as hono7 from "hono";
|
|
|
8
8
|
* Requires that a user has already been authenticated via Better Auth session.
|
|
9
9
|
* Used primarily for manage routes that require an active user session.
|
|
10
10
|
*/
|
|
11
|
-
declare const sessionAuth: () =>
|
|
11
|
+
declare const sessionAuth: () => hono12.MiddlewareHandler<any, string, {}, Response>;
|
|
12
12
|
/**
|
|
13
13
|
* Global session middleware - sets user and session in context for all routes
|
|
14
14
|
* Used for all routes that require an active user session.
|
|
15
15
|
*/
|
|
16
|
-
declare const sessionContext: () =>
|
|
16
|
+
declare const sessionContext: () => hono12.MiddlewareHandler<{
|
|
17
17
|
Variables: AppVariables;
|
|
18
18
|
}, string, {}, Response>;
|
|
19
19
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono16 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/tenantAccess.d.ts
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ import * as hono13 from "hono";
|
|
|
12
12
|
* - API key user: Access only to the tenant associated with the API key
|
|
13
13
|
* - Session user: Access based on organization membership
|
|
14
14
|
*/
|
|
15
|
-
declare const requireTenantAccess: () =>
|
|
15
|
+
declare const requireTenantAccess: () => hono16.MiddlewareHandler<{
|
|
16
16
|
Variables: {
|
|
17
17
|
userId: string;
|
|
18
18
|
tenantId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-api",
|
|
3
|
-
"version": "0.72.
|
|
3
|
+
"version": "0.72.2",
|
|
4
4
|
"description": "Unified Inkeep Agents API - combines management, runtime, and evaluation capabilities",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"pg": "^8.16.3",
|
|
76
76
|
"undici": "^7.22.0",
|
|
77
77
|
"workflow": "4.2.0-beta.67",
|
|
78
|
-
"@inkeep/agents-core": "^0.72.
|
|
79
|
-
"@inkeep/agents-email": "^0.72.
|
|
80
|
-
"@inkeep/agents-mcp": "^0.72.
|
|
81
|
-
"@inkeep/agents-work-apps": "^0.72.
|
|
78
|
+
"@inkeep/agents-core": "^0.72.2",
|
|
79
|
+
"@inkeep/agents-email": "^0.72.2",
|
|
80
|
+
"@inkeep/agents-mcp": "^0.72.2",
|
|
81
|
+
"@inkeep/agents-work-apps": "^0.72.2"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"@hono/zod-openapi": "^1.1.5",
|