@inkeep/agents-api 0.0.0-dev-20260408222751 → 0.0.0-dev-20260409021932
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 +40 -40
- package/dist/data/db/manageDbClient.d.ts +2 -2
- package/dist/data/db/runDbClient.d.ts +2 -2
- package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
- package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
- package/dist/data-reconciliation/handlers/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/agents/relationTools.d.ts +2 -2
- package/dist/domains/run/routes/auth.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/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,20 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"src/domains/run/workflow/steps/schedulerSteps.ts": {
|
|
5
|
-
"checkSchedulerCurrentStep": {
|
|
6
|
-
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
|
|
7
|
-
},
|
|
8
|
-
"dispatchDueTriggersStep": {
|
|
9
|
-
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//dispatchDueTriggersStep"
|
|
10
|
-
},
|
|
11
|
-
"msUntilNextMinuteStep": {
|
|
12
|
-
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//msUntilNextMinuteStep"
|
|
13
|
-
},
|
|
14
|
-
"registerSchedulerStep": {
|
|
15
|
-
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
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_ba33265d61d382fe160c46ba43387199/node_modules/workflow/dist/internal/builtins.js": {
|
|
19
5
|
"__builtin_response_array_buffer": {
|
|
20
6
|
"stepId": "__builtin_response_array_buffer"
|
|
@@ -45,6 +31,46 @@
|
|
|
45
31
|
"stepId": "step//./src/domains/evals/workflow/functions/evaluateConversation//logStep"
|
|
46
32
|
}
|
|
47
33
|
},
|
|
34
|
+
"src/domains/run/workflow/steps/schedulerSteps.ts": {
|
|
35
|
+
"checkSchedulerCurrentStep": {
|
|
36
|
+
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//checkSchedulerCurrentStep"
|
|
37
|
+
},
|
|
38
|
+
"dispatchDueTriggersStep": {
|
|
39
|
+
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//dispatchDueTriggersStep"
|
|
40
|
+
},
|
|
41
|
+
"msUntilNextMinuteStep": {
|
|
42
|
+
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//msUntilNextMinuteStep"
|
|
43
|
+
},
|
|
44
|
+
"registerSchedulerStep": {
|
|
45
|
+
"stepId": "step//./src/domains/run/workflow/steps/schedulerSteps//registerSchedulerStep"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
49
|
+
"executeDatasetItemStep": {
|
|
50
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
|
|
51
|
+
},
|
|
52
|
+
"executeEvaluatorStep": {
|
|
53
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeEvaluatorStep"
|
|
54
|
+
},
|
|
55
|
+
"filterEvaluatorsByAgentStep": {
|
|
56
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//filterEvaluatorsByAgentStep"
|
|
57
|
+
},
|
|
58
|
+
"logStep": {
|
|
59
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
|
|
60
|
+
},
|
|
61
|
+
"markCompletedStep": {
|
|
62
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markCompletedStep"
|
|
63
|
+
},
|
|
64
|
+
"markFailedStep": {
|
|
65
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markFailedStep"
|
|
66
|
+
},
|
|
67
|
+
"markRunningStep": {
|
|
68
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markRunningStep"
|
|
69
|
+
},
|
|
70
|
+
"recordConversationStep": {
|
|
71
|
+
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
48
74
|
"src/domains/run/workflow/steps/scheduledTriggerSteps.ts": {
|
|
49
75
|
"addConversationIdStep": {
|
|
50
76
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//addConversationIdStep"
|
|
@@ -83,32 +109,6 @@
|
|
|
83
109
|
"stepId": "step//./src/domains/run/workflow/steps/scheduledTriggerSteps//resetInvocationToPendingStep"
|
|
84
110
|
}
|
|
85
111
|
},
|
|
86
|
-
"src/domains/evals/workflow/functions/runDatasetItem.ts": {
|
|
87
|
-
"executeDatasetItemStep": {
|
|
88
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeDatasetItemStep"
|
|
89
|
-
},
|
|
90
|
-
"executeEvaluatorStep": {
|
|
91
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//executeEvaluatorStep"
|
|
92
|
-
},
|
|
93
|
-
"filterEvaluatorsByAgentStep": {
|
|
94
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//filterEvaluatorsByAgentStep"
|
|
95
|
-
},
|
|
96
|
-
"logStep": {
|
|
97
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//logStep"
|
|
98
|
-
},
|
|
99
|
-
"markCompletedStep": {
|
|
100
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markCompletedStep"
|
|
101
|
-
},
|
|
102
|
-
"markFailedStep": {
|
|
103
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markFailedStep"
|
|
104
|
-
},
|
|
105
|
-
"markRunningStep": {
|
|
106
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//markRunningStep"
|
|
107
|
-
},
|
|
108
|
-
"recordConversationStep": {
|
|
109
|
-
"stepId": "step//./src/domains/evals/workflow/functions/runDatasetItem//recordConversationStep"
|
|
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"
|
|
@@ -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_core6 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_core6.AgentsRunDatabaseClient;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { runDbClient as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _inkeep_agents_core0 from "@inkeep/agents-core";
|
|
2
2
|
|
|
3
3
|
//#region src/data-reconciliation/handlers/agent.d.ts
|
|
4
|
-
declare const agentHandlers:
|
|
4
|
+
declare const agentHandlers: _inkeep_agents_core0.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/context-configs.d.ts
|
|
4
|
-
declare const contextConfigsHandlers:
|
|
4
|
+
declare const contextConfigsHandlers: _inkeep_agents_core1.EntityEffectHandlers<"context_configs">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { contextConfigsHandlers };
|
|
@@ -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,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_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_types9 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_types9.BlankSchema, "/">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { authLookupRoutes as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono18 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/availableAgents.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono18.Env, {}, "/">;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { app as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono0 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/conversations.d.ts
|
|
5
|
-
declare const app: OpenAPIHono<
|
|
5
|
+
declare const app: OpenAPIHono<hono0.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 hono20 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/routes/feedback.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 hono10 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/domains/manage/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,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_types10 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_types10.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_types6 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_types6.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_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 };
|
|
@@ -2,7 +2,7 @@ import { AgentConfig, AgentRunContext, DelegateRelation } from "./agent-types.js
|
|
|
2
2
|
import "./Agent.js";
|
|
3
3
|
import { InternalRelation } from "../utils/project.js";
|
|
4
4
|
import { z } from "@hono/zod-openapi";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _inkeep_agents_core4 from "@inkeep/agents-core";
|
|
6
6
|
import { CredentialStoreRegistry, FullExecutionContext } from "@inkeep/agents-core";
|
|
7
7
|
import * as ai0 from "ai";
|
|
8
8
|
|
|
@@ -50,7 +50,7 @@ declare function createDelegateToAgentTool({
|
|
|
50
50
|
message: string;
|
|
51
51
|
}, {
|
|
52
52
|
toolCallId: any;
|
|
53
|
-
result:
|
|
53
|
+
result: _inkeep_agents_core4.Message | _inkeep_agents_core4.Task;
|
|
54
54
|
}>;
|
|
55
55
|
/**
|
|
56
56
|
* Parameters for building a transfer relation config
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono11 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<hono11.Env, {}, "/">;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { app as default, getAnonJwtSecret };
|
|
@@ -103,9 +103,9 @@ declare const VercelMessageSchema: z.ZodObject<{
|
|
|
103
103
|
role: z.ZodEnum<{
|
|
104
104
|
function: "function";
|
|
105
105
|
user: "user";
|
|
106
|
+
tool: "tool";
|
|
106
107
|
system: "system";
|
|
107
108
|
assistant: "assistant";
|
|
108
|
-
tool: "tool";
|
|
109
109
|
}>;
|
|
110
110
|
content: z.ZodAny;
|
|
111
111
|
parts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -178,9 +178,9 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
178
178
|
role: z.ZodEnum<{
|
|
179
179
|
function: "function";
|
|
180
180
|
user: "user";
|
|
181
|
+
tool: "tool";
|
|
181
182
|
system: "system";
|
|
182
183
|
assistant: "assistant";
|
|
183
|
-
tool: "tool";
|
|
184
184
|
}>;
|
|
185
185
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
186
186
|
type: z.ZodLiteral<"text">;
|
|
@@ -211,9 +211,9 @@ declare const ChatCompletionRequestSchema: z.ZodObject<{
|
|
|
211
211
|
role: z.ZodEnum<{
|
|
212
212
|
function: "function";
|
|
213
213
|
user: "user";
|
|
214
|
+
tool: "tool";
|
|
214
215
|
system: "system";
|
|
215
216
|
assistant: "assistant";
|
|
216
|
-
tool: "tool";
|
|
217
217
|
}>;
|
|
218
218
|
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
219
219
|
type: z.ZodLiteral<"text">;
|
|
@@ -74,7 +74,7 @@ declare function createInvocationIdempotentStep(params: {
|
|
|
74
74
|
projectId: string;
|
|
75
75
|
tenantId: string;
|
|
76
76
|
id: string;
|
|
77
|
-
status: "completed" | "pending" | "
|
|
77
|
+
status: "completed" | "pending" | "running" | "failed" | "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" | "pending" | "
|
|
123
|
+
status: "completed" | "pending" | "running" | "failed" | "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" | "pending" | "
|
|
156
|
+
status: "completed" | "pending" | "running" | "failed" | "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" | "pending" | "
|
|
187
|
+
status: "completed" | "pending" | "running" | "failed" | "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" | "pending" | "
|
|
218
|
+
status: "completed" | "pending" | "running" | "failed" | "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" | "pending" | "
|
|
268
|
+
status: "completed" | "pending" | "running" | "failed" | "cancelled";
|
|
269
269
|
ref?: {
|
|
270
270
|
type: "commit" | "tag" | "branch";
|
|
271
271
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono1 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/evalsAuth.d.ts
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import * as hono7 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: () => hono1.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 hono12 from "hono";
|
|
3
3
|
import { createAuth } from "@inkeep/agents-core/auth";
|
|
4
4
|
|
|
5
5
|
//#region src/middleware/manageAuth.d.ts
|
|
@@ -16,7 +16,7 @@ import { createAuth } from "@inkeep/agents-core/auth";
|
|
|
16
16
|
* EXCEPT for the legacy exception on GET /manage/tenants/:t/projects/:p/conversations/:id
|
|
17
17
|
* (see isLegacyApiKeyAllowedRoute). API keys are otherwise restricted to the run domain only.
|
|
18
18
|
*/
|
|
19
|
-
declare const manageBearerAuth: () =>
|
|
19
|
+
declare const manageBearerAuth: () => hono12.MiddlewareHandler<{
|
|
20
20
|
Variables: {
|
|
21
21
|
executionContext: BaseExecutionContext;
|
|
22
22
|
userId?: string;
|
|
@@ -30,6 +30,6 @@ declare const manageBearerAuth: () => hono8.MiddlewareHandler<{
|
|
|
30
30
|
* Uses Bearer token → manage bearer auth (bypass secret, session, Slack JWT, internal service),
|
|
31
31
|
* otherwise falls back to session auth.
|
|
32
32
|
*/
|
|
33
|
-
declare const manageBearerOrSessionAuth: () =>
|
|
33
|
+
declare const manageBearerOrSessionAuth: () => hono12.MiddlewareHandler<any, string, {}, Response>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { manageBearerAuth, manageBearerOrSessionAuth };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseExecutionContext, ResolvedRef } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono2 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: hono2.MiddlewareHandler<{
|
|
9
9
|
Variables: {
|
|
10
10
|
executionContext: BaseExecutionContext;
|
|
11
11
|
resolvedRef: ResolvedRef;
|
|
@@ -15,7 +15,7 @@ declare const projectConfigMiddleware: hono0.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) => hono2.MiddlewareHandler<{
|
|
19
19
|
Variables: {
|
|
20
20
|
executionContext: BaseExecutionContext;
|
|
21
21
|
resolvedRef: ResolvedRef;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ManageAppVariables } from "../types/app.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono14 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) => hono14.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 hono4 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) => hono4.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 hono7 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/runAuth.d.ts
|
|
5
|
-
declare const runApiKeyAuth: () =>
|
|
5
|
+
declare const runApiKeyAuth: () => hono7.MiddlewareHandler<{
|
|
6
6
|
Variables: {
|
|
7
7
|
executionContext: BaseExecutionContext;
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ declare const runApiKeyAuth: () => hono4.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) => hono7.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: () => hono7.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 hono5 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/sessionAuth.d.ts
|
|
5
5
|
|
|
@@ -8,12 +8,12 @@ import * as hono11 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: () => hono5.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: () => hono5.MiddlewareHandler<{
|
|
17
17
|
Variables: AppVariables;
|
|
18
18
|
}, string, {}, Response>;
|
|
19
19
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono15 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: () => hono15.MiddlewareHandler<{
|
|
16
16
|
Variables: {
|
|
17
17
|
userId: string;
|
|
18
18
|
tenantId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono16 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/tracing.d.ts
|
|
4
|
-
declare const otelBaggageMiddleware: () =>
|
|
5
|
-
declare const executionBaggageMiddleware: () =>
|
|
4
|
+
declare const otelBaggageMiddleware: () => hono16.MiddlewareHandler<any, string, {}, Response>;
|
|
5
|
+
declare const executionBaggageMiddleware: () => hono16.MiddlewareHandler<any, string, {}, Response>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { executionBaggageMiddleware, otelBaggageMiddleware };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260409021932",
|
|
4
4
|
"description": "Unified Inkeep Agents API - combines management, runtime, and evaluation capabilities",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"pg": "^8.16.3",
|
|
74
74
|
"undici": "^7.22.0",
|
|
75
75
|
"workflow": "4.2.0-beta.67",
|
|
76
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
77
|
-
"@inkeep/agents-email": "^0.0.0-dev-
|
|
78
|
-
"@inkeep/agents-mcp": "^0.0.0-dev-
|
|
79
|
-
"@inkeep/agents-work-apps": "^0.0.0-dev-
|
|
76
|
+
"@inkeep/agents-core": "^0.0.0-dev-20260409021932",
|
|
77
|
+
"@inkeep/agents-email": "^0.0.0-dev-20260409021932",
|
|
78
|
+
"@inkeep/agents-mcp": "^0.0.0-dev-20260409021932",
|
|
79
|
+
"@inkeep/agents-work-apps": "^0.0.0-dev-20260409021932"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@hono/zod-openapi": "^1.1.5",
|