@inkeep/agents-run-api 0.0.0-dev-20250912184011 → 0.0.0-dev-20250912184739
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/index.cjs +4 -0
- package/dist/index.js +4 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -435,6 +435,10 @@ function createExecutionContext(params) {
|
|
|
435
435
|
// src/middleware/api-key-auth.ts
|
|
436
436
|
var logger2 = agentsCore.getLogger("env-key-auth");
|
|
437
437
|
var apiKeyAuth = () => factory.createMiddleware(async (c, next) => {
|
|
438
|
+
if (c.req.method === "OPTIONS") {
|
|
439
|
+
await next();
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
438
442
|
const authHeader = c.req.header("Authorization");
|
|
439
443
|
const tenantId = c.req.header("x-inkeep-tenant-id");
|
|
440
444
|
const projectId = c.req.header("x-inkeep-project-id");
|
package/dist/index.js
CHANGED
|
@@ -135,6 +135,10 @@ function createExecutionContext(params) {
|
|
|
135
135
|
// src/middleware/api-key-auth.ts
|
|
136
136
|
var logger2 = getLogger$1("env-key-auth");
|
|
137
137
|
var apiKeyAuth = () => createMiddleware(async (c, next) => {
|
|
138
|
+
if (c.req.method === "OPTIONS") {
|
|
139
|
+
await next();
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
138
142
|
const authHeader = c.req.header("Authorization");
|
|
139
143
|
const tenantId = c.req.header("x-inkeep-tenant-id");
|
|
140
144
|
const projectId = c.req.header("x-inkeep-project-id");
|
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-20250912184739",
|
|
4
4
|
"description": "Agents Run API for Inkeep Agent Framework - handles chat, agent execution, and streaming",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"traverse": "^0.6.11",
|
|
45
45
|
"ts-pattern": "^5.7.1",
|
|
46
46
|
"zod": "^4.1.5",
|
|
47
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
47
|
+
"@inkeep/agents-core": "^0.0.0-dev-20250912184739"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@hono/vite-dev-server": "^0.20.1",
|