@inkeep/agents-run-api 0.0.0-dev-20260107043750 → 0.0.0-dev-20260107161316

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.
@@ -1,9 +1,9 @@
1
1
  import { SandboxConfig } from "./types/execution-context.js";
2
2
  import { CredentialStoreRegistry, ServerConfig } from "@inkeep/agents-core";
3
3
  import { Hono } from "hono";
4
- import * as hono_types0 from "hono/types";
4
+ import * as hono_types3 from "hono/types";
5
5
 
6
6
  //#region src/create-app.d.ts
7
- declare function createExecutionHono(serverConfig: ServerConfig, credentialStores: CredentialStoreRegistry, sandboxConfig?: SandboxConfig): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
7
+ declare function createExecutionHono(serverConfig: ServerConfig, credentialStores: CredentialStoreRegistry, sandboxConfig?: SandboxConfig): Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
8
8
  //#endregion
9
9
  export { createExecutionHono };
package/dist/index.d.ts CHANGED
@@ -3,14 +3,14 @@ import { createExecutionHono } from "./create-app.js";
3
3
  import "./env.js";
4
4
  import { CredentialStore, ServerConfig } from "@inkeep/agents-core";
5
5
  import { Hono } from "hono";
6
- import * as hono_types1 from "hono/types";
6
+ import * as hono_types0 from "hono/types";
7
7
 
8
8
  //#region src/index.d.ts
9
- declare const app: Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
9
+ declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
10
10
  declare function createExecutionApp(config?: {
11
11
  serverConfig?: ServerConfig;
12
12
  credentialStores?: CredentialStore[];
13
13
  sandboxConfig?: SandboxConfig;
14
- }): Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
14
+ }): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
15
15
  //#endregion
16
16
  export { Hono, type NativeSandboxConfig, type SandboxConfig, type VercelSandboxConfig, createExecutionApp, createExecutionHono, app as default };
@@ -252,11 +252,9 @@ app.openapi(chatCompletionsRoute, async (c) => {
252
252
  const emitOperations = c.req.header("x-emit-operations") === "true";
253
253
  const forwardedHeaders = {};
254
254
  const xForwardedCookie = c.req.header("x-forwarded-cookie");
255
- const authorization = c.req.header("authorization");
256
255
  const cookie = c.req.header("cookie");
257
256
  if (xForwardedCookie) forwardedHeaders["x-forwarded-cookie"] = xForwardedCookie;
258
257
  else if (cookie) forwardedHeaders["x-forwarded-cookie"] = cookie;
259
- if (authorization) forwardedHeaders.authorization = authorization;
260
258
  const result = await new ExecutionHandler().execute({
261
259
  executionContext,
262
260
  conversationId,
@@ -77,11 +77,9 @@ app.openapi(chatDataStreamRoute, async (c) => {
77
77
  const targetAgentId = c.req.header("x-target-agent-id");
78
78
  const forwardedHeaders = {};
79
79
  const xForwardedCookie = c.req.header("x-forwarded-cookie");
80
- const authorization = c.req.header("authorization");
81
80
  const cookie = c.req.header("cookie");
82
81
  if (xForwardedCookie) forwardedHeaders["x-forwarded-cookie"] = xForwardedCookie;
83
82
  else if (cookie) forwardedHeaders["x-forwarded-cookie"] = cookie;
84
- if (authorization) forwardedHeaders.authorization = authorization;
85
83
  const activeSpan = trace.getActiveSpan();
86
84
  if (activeSpan) activeSpan.setAttributes({
87
85
  "conversation.id": conversationId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-run-api",
3
- "version": "0.0.0-dev-20260107043750",
3
+ "version": "0.0.0-dev-20260107161316",
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-20260107043750"
44
+ "@inkeep/agents-core": "^0.0.0-dev-20260107161316"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@hono/zod-openapi": "^1.1.5",