@inkeep/agents-run-api 0.0.0-dev-20260120222159 → 0.0.0-dev-20260120230946
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/env.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ declare const envSchema: z.ZodObject<{
|
|
|
20
20
|
INKEEP_AGENTS_MANAGE_DATABASE_URL: z.ZodOptional<z.ZodString>;
|
|
21
21
|
AGENTS_MANAGE_UI_URL: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22
22
|
LOG_LEVEL: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
error: "error";
|
|
23
24
|
trace: "trace";
|
|
24
25
|
debug: "debug";
|
|
25
26
|
info: "info";
|
|
26
27
|
warn: "warn";
|
|
27
|
-
error: "error";
|
|
28
28
|
}>>>;
|
|
29
29
|
NANGO_SERVER_URL: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
30
30
|
NANGO_SECRET_KEY: z.ZodOptional<z.ZodString>;
|
|
@@ -43,7 +43,7 @@ declare const env: {
|
|
|
43
43
|
INKEEP_AGENTS_MANAGE_API_URL: string;
|
|
44
44
|
INKEEP_AGENTS_EVAL_API_URL: string;
|
|
45
45
|
AGENTS_MANAGE_UI_URL: string;
|
|
46
|
-
LOG_LEVEL: "
|
|
46
|
+
LOG_LEVEL: "error" | "trace" | "debug" | "info" | "warn";
|
|
47
47
|
NANGO_SERVER_URL: string;
|
|
48
48
|
ANTHROPIC_API_KEY: string;
|
|
49
49
|
OTEL_BSP_SCHEDULE_DELAY: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseExecutionContext } from "@inkeep/agents-core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as hono0 from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/middleware/api-key-auth.d.ts
|
|
5
|
-
declare const apiKeyAuth: () =>
|
|
5
|
+
declare const apiKeyAuth: () => hono0.MiddlewareHandler<{
|
|
6
6
|
Variables: {
|
|
7
7
|
executionContext: BaseExecutionContext;
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ declare const apiKeyAuth: () => hono1.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 apiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) =>
|
|
14
|
+
declare const apiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => hono0.MiddlewareHandler<{
|
|
15
15
|
Variables: {
|
|
16
16
|
executionContext: BaseExecutionContext;
|
|
17
17
|
};
|
|
@@ -20,7 +20,7 @@ declare const apiKeyAuthExcept: (skipRouteCheck: (path: string) => boolean) => h
|
|
|
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 optionalAuth: () =>
|
|
23
|
+
declare const optionalAuth: () => hono0.MiddlewareHandler<{
|
|
24
24
|
Variables: {
|
|
25
25
|
executionContext?: BaseExecutionContext;
|
|
26
26
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FullExecutionContext } 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: FullExecutionContext;
|
|
11
11
|
};
|
|
@@ -14,7 +14,7 @@ declare const projectConfigMiddleware: hono0.MiddlewareHandler<{
|
|
|
14
14
|
* Creates a middleware that applies project config fetching except for specified route patterns
|
|
15
15
|
* @param skipRouteCheck - Function that returns true if the route should skip the middleware
|
|
16
16
|
*/
|
|
17
|
-
declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) =>
|
|
17
|
+
declare const projectConfigMiddlewareExcept: (skipRouteCheck: (path: string) => boolean) => hono2.MiddlewareHandler<{
|
|
18
18
|
Variables: {
|
|
19
19
|
executionContext: FullExecutionContext;
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-run-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260120230946",
|
|
4
4
|
"description": "Agents Run API for Inkeep Agent Framework - handles chat, agent execution, and streaming",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"hono": "^4.10.4",
|
|
42
42
|
"jmespath": "^0.16.0",
|
|
43
43
|
"llm-info": "^1.0.69",
|
|
44
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
44
|
+
"@inkeep/agents-core": "^0.0.0-dev-20260120230946"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@hono/zod-openapi": "^1.1.5",
|