@inkeep/agents-run-api 0.1.9 → 0.1.10

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 CHANGED
@@ -8859,7 +8859,7 @@ function createExecutionHono(serverConfig, credentialStores) {
8859
8859
  if (bag && typeof bag.setEntry === "function") {
8860
8860
  bag = bag.setEntry("request.id", { value: String(reqId ?? "unknown") });
8861
8861
  const ctxWithBag = api.propagation.setBaggage(api.context.active(), bag);
8862
- return api.context.with(ctxWithBag, () => next());
8862
+ return await api.context.with(ctxWithBag, async () => await next());
8863
8863
  }
8864
8864
  return next();
8865
8865
  });
@@ -8994,7 +8994,7 @@ function createExecutionHono(serverConfig, credentialStores) {
8994
8994
  api.propagation.getBaggage(api.context.active()) ?? api.propagation.createBaggage()
8995
8995
  );
8996
8996
  const ctxWithBag = api.propagation.setBaggage(api.context.active(), bag);
8997
- return api.context.with(ctxWithBag, () => next());
8997
+ return await api.context.with(ctxWithBag, async () => await next());
8998
8998
  });
8999
8999
  app6.openapi(
9000
9000
  zodOpenapi.createRoute({
package/dist/index.js CHANGED
@@ -8521,7 +8521,7 @@ function createExecutionHono(serverConfig, credentialStores) {
8521
8521
  if (bag && typeof bag.setEntry === "function") {
8522
8522
  bag = bag.setEntry("request.id", { value: String(reqId ?? "unknown") });
8523
8523
  const ctxWithBag = propagation.setBaggage(context.active(), bag);
8524
- return context.with(ctxWithBag, () => next());
8524
+ return await context.with(ctxWithBag, async () => await next());
8525
8525
  }
8526
8526
  return next();
8527
8527
  });
@@ -8656,7 +8656,7 @@ function createExecutionHono(serverConfig, credentialStores) {
8656
8656
  propagation.getBaggage(context.active()) ?? propagation.createBaggage()
8657
8657
  );
8658
8658
  const ctxWithBag = propagation.setBaggage(context.active(), bag);
8659
- return context.with(ctxWithBag, () => next());
8659
+ return await context.with(ctxWithBag, async () => await next());
8660
8660
  });
8661
8661
  app6.openapi(
8662
8662
  createRoute({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-run-api",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
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",
@@ -42,7 +42,7 @@
42
42
  "traverse": "^0.6.11",
43
43
  "ts-pattern": "^5.7.1",
44
44
  "zod": "^4.1.5",
45
- "@inkeep/agents-core": "^0.1.9"
45
+ "@inkeep/agents-core": "^0.1.10"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@hono/vite-dev-server": "^0.20.1",