@inkeep/agents-run-api 0.0.0-dev-20250913005011 → 0.0.0-dev-20250913011433
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
|
@@ -9001,13 +9001,15 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
9001
9001
|
app6.use("*", async (c, next) => {
|
|
9002
9002
|
const executionContext = c.get("executionContext");
|
|
9003
9003
|
if (!executionContext) {
|
|
9004
|
+
logger23.debug("Empty execution context");
|
|
9004
9005
|
return next();
|
|
9005
9006
|
}
|
|
9006
9007
|
const { tenantId, projectId, graphId } = executionContext;
|
|
9007
9008
|
let conversationId;
|
|
9008
9009
|
if (c.req.header("content-type")?.includes("application/json")) {
|
|
9009
9010
|
try {
|
|
9010
|
-
const
|
|
9011
|
+
const cloned = c.req.raw.clone();
|
|
9012
|
+
const body = await cloned.json().catch(() => null);
|
|
9011
9013
|
conversationId = body?.conversationId;
|
|
9012
9014
|
} catch (_) {
|
|
9013
9015
|
logger23.debug("Conversation ID not found in JSON body");
|
|
@@ -9025,6 +9027,7 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
9025
9027
|
})
|
|
9026
9028
|
);
|
|
9027
9029
|
if (!Object.keys(entries).length) {
|
|
9030
|
+
logger23.debug("Empty entries for baggage");
|
|
9028
9031
|
return next();
|
|
9029
9032
|
}
|
|
9030
9033
|
const bag = Object.entries(entries).reduce(
|
package/dist/index.js
CHANGED
|
@@ -8658,13 +8658,15 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8658
8658
|
app6.use("*", async (c, next) => {
|
|
8659
8659
|
const executionContext = c.get("executionContext");
|
|
8660
8660
|
if (!executionContext) {
|
|
8661
|
+
logger23.debug("Empty execution context");
|
|
8661
8662
|
return next();
|
|
8662
8663
|
}
|
|
8663
8664
|
const { tenantId, projectId, graphId } = executionContext;
|
|
8664
8665
|
let conversationId;
|
|
8665
8666
|
if (c.req.header("content-type")?.includes("application/json")) {
|
|
8666
8667
|
try {
|
|
8667
|
-
const
|
|
8668
|
+
const cloned = c.req.raw.clone();
|
|
8669
|
+
const body = await cloned.json().catch(() => null);
|
|
8668
8670
|
conversationId = body?.conversationId;
|
|
8669
8671
|
} catch (_) {
|
|
8670
8672
|
logger23.debug("Conversation ID not found in JSON body");
|
|
@@ -8682,6 +8684,7 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8682
8684
|
})
|
|
8683
8685
|
);
|
|
8684
8686
|
if (!Object.keys(entries).length) {
|
|
8687
|
+
logger23.debug("Empty entries for baggage");
|
|
8685
8688
|
return next();
|
|
8686
8689
|
}
|
|
8687
8690
|
const bag = Object.entries(entries).reduce(
|
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-20250913011433",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"traverse": "^0.6.11",
|
|
44
44
|
"ts-pattern": "^5.7.1",
|
|
45
45
|
"zod": "^4.1.5",
|
|
46
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
46
|
+
"@inkeep/agents-core": "^0.0.0-dev-20250913011433"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@hono/vite-dev-server": "^0.20.1",
|