@inkeep/agents-run-api 0.0.0-dev-20250915105321 → 0.0.0-dev-20250915163022
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 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -461,6 +461,7 @@ var apiKeyAuth = () => factory.createMiddleware(async (c, next) => {
|
|
|
461
461
|
return;
|
|
462
462
|
} else if (apiKey) {
|
|
463
463
|
const executionContext = await extractContextFromApiKey(apiKey);
|
|
464
|
+
executionContext.agentId = agentId;
|
|
464
465
|
c.set("executionContext", executionContext);
|
|
465
466
|
logger.info({}, "API key authenticated successfully");
|
|
466
467
|
await next();
|
|
@@ -478,12 +479,14 @@ var apiKeyAuth = () => factory.createMiddleware(async (c, next) => {
|
|
|
478
479
|
}
|
|
479
480
|
try {
|
|
480
481
|
const executionContext = await extractContextFromApiKey(apiKey);
|
|
482
|
+
executionContext.agentId = agentId;
|
|
481
483
|
c.set("executionContext", executionContext);
|
|
482
484
|
logger.debug(
|
|
483
485
|
{
|
|
484
486
|
tenantId: executionContext.tenantId,
|
|
485
487
|
projectId: executionContext.projectId,
|
|
486
|
-
graphId: executionContext.graphId
|
|
488
|
+
graphId: executionContext.graphId,
|
|
489
|
+
agentId: executionContext.agentId
|
|
487
490
|
},
|
|
488
491
|
"API key authenticated successfully"
|
|
489
492
|
);
|
package/dist/index.js
CHANGED
|
@@ -166,6 +166,7 @@ var apiKeyAuth = () => createMiddleware(async (c, next) => {
|
|
|
166
166
|
return;
|
|
167
167
|
} else if (apiKey) {
|
|
168
168
|
const executionContext = await extractContextFromApiKey(apiKey);
|
|
169
|
+
executionContext.agentId = agentId;
|
|
169
170
|
c.set("executionContext", executionContext);
|
|
170
171
|
logger.info({}, "API key authenticated successfully");
|
|
171
172
|
await next();
|
|
@@ -183,12 +184,14 @@ var apiKeyAuth = () => createMiddleware(async (c, next) => {
|
|
|
183
184
|
}
|
|
184
185
|
try {
|
|
185
186
|
const executionContext = await extractContextFromApiKey(apiKey);
|
|
187
|
+
executionContext.agentId = agentId;
|
|
186
188
|
c.set("executionContext", executionContext);
|
|
187
189
|
logger.debug(
|
|
188
190
|
{
|
|
189
191
|
tenantId: executionContext.tenantId,
|
|
190
192
|
projectId: executionContext.projectId,
|
|
191
|
-
graphId: executionContext.graphId
|
|
193
|
+
graphId: executionContext.graphId,
|
|
194
|
+
agentId: executionContext.agentId
|
|
192
195
|
},
|
|
193
196
|
"API key authenticated successfully"
|
|
194
197
|
);
|
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-20250915163022",
|
|
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-20250915163022"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@hono/vite-dev-server": "^0.20.1",
|