@inkeep/agents-run-api 0.0.0-dev-20250924193535 → 0.0.0-dev-20250924224100

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.
@@ -15,8 +15,7 @@ var envSchema = z.object({
15
15
  NANGO_SECRET_KEY: z.string().optional(),
16
16
  OPENAI_API_KEY: z.string().optional(),
17
17
  ANTHROPIC_API_KEY: z.string(),
18
- INKEEP_AGENTS_RUN_API_BYPASS_SECRET: z.string().optional(),
19
- OTEL_MAX_EXPORT_BATCH_SIZE: z.coerce.number().optional()
18
+ INKEEP_AGENTS_RUN_API_BYPASS_SECRET: z.string().optional()
20
19
  });
21
20
  var parseEnv = () => {
22
21
  try {
@@ -1 +1 @@
1
- export { createDefaultConversationHistoryConfig, getFormattedConversationHistory, getFullConversationContext, getScopedHistory, getUserFacingHistory, saveA2AMessageResponse } from './chunk-7PHUFKNP.js';
1
+ export { createDefaultConversationHistoryConfig, getFormattedConversationHistory, getFullConversationContext, getScopedHistory, getUserFacingHistory, saveA2AMessageResponse } from './chunk-AFP4EIVB.js';
package/dist/index.cjs CHANGED
@@ -5,6 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var agentsCore = require('@inkeep/agents-core');
6
6
  var z5 = require('zod');
7
7
  var nanoid = require('nanoid');
8
+ var otel = require('@hono/otel');
9
+ var zodOpenapi = require('@hono/zod-openapi');
10
+ var api = require('@opentelemetry/api');
11
+ var hono = require('hono');
12
+ var cors = require('hono/cors');
13
+ var httpException = require('hono/http-exception');
14
+ var requestId = require('hono/request-id');
8
15
  var autoInstrumentationsNode = require('@opentelemetry/auto-instrumentations-node');
9
16
  var baggageSpanProcessor = require('@opentelemetry/baggage-span-processor');
10
17
  var contextAsyncHooks = require('@opentelemetry/context-async-hooks');
@@ -14,20 +21,12 @@ var resources = require('@opentelemetry/resources');
14
21
  var sdkNode = require('@opentelemetry/sdk-node');
15
22
  var sdkTraceBase = require('@opentelemetry/sdk-trace-base');
16
23
  var semanticConventions = require('@opentelemetry/semantic-conventions');
17
- var otel = require('@hono/otel');
18
- var zodOpenapi = require('@hono/zod-openapi');
19
- var api = require('@opentelemetry/api');
20
- var hono = require('hono');
21
- var cors = require('hono/cors');
22
- var httpException = require('hono/http-exception');
23
- var requestId = require('hono/request-id');
24
24
  var factory = require('hono/factory');
25
25
  var swaggerUi = require('@hono/swagger-ui');
26
26
  var streaming = require('hono/streaming');
27
27
  var destr = require('destr');
28
28
  var traverse = require('traverse');
29
29
  var ai = require('ai');
30
- var agentsSdk = require('@inkeep/agents-sdk');
31
30
  var anthropic = require('@ai-sdk/anthropic');
32
31
  var gateway = require('@ai-sdk/gateway');
33
32
  var google = require('@ai-sdk/google');
@@ -70,8 +69,7 @@ var init_env = __esm({
70
69
  NANGO_SECRET_KEY: z5.z.string().optional(),
71
70
  OPENAI_API_KEY: z5.z.string().optional(),
72
71
  ANTHROPIC_API_KEY: z5.z.string(),
73
- INKEEP_AGENTS_RUN_API_BYPASS_SECRET: z5.z.string().optional(),
74
- OTEL_MAX_EXPORT_BATCH_SIZE: z5.z.coerce.number().optional()
72
+ INKEEP_AGENTS_RUN_API_BYPASS_SECRET: z5.z.string().optional()
75
73
  });
76
74
  parseEnv = () => {
77
75
  try {
@@ -285,48 +283,48 @@ var init_conversations = __esm({
285
283
  init_dbClient();
286
284
  }
287
285
  });
288
-
289
- // src/instrumentation.ts
290
- init_env();
291
- var maxExportBatchSize = env.OTEL_MAX_EXPORT_BATCH_SIZE ?? (env.ENVIRONMENT === "development" ? 1 : 512);
292
286
  var otlpExporter = new exporterTraceOtlpHttp.OTLPTraceExporter();
293
- var batchProcessor = new sdkTraceBase.BatchSpanProcessor(otlpExporter, {
294
- maxExportBatchSize
295
- });
296
- var resource = resources.resourceFromAttributes({
287
+ var defaultBatchProcessor = new sdkTraceBase.BatchSpanProcessor(otlpExporter);
288
+ var defaultResource = resources.resourceFromAttributes({
297
289
  [semanticConventions.ATTR_SERVICE_NAME]: "inkeep-agents-run-api"
298
290
  });
299
- var sdk = new sdkNode.NodeSDK({
300
- resource,
301
- contextManager: new contextAsyncHooks.AsyncLocalStorageContextManager(),
302
- textMapPropagator: new core.CompositePropagator({
303
- propagators: [new core.W3CTraceContextPropagator(), new core.W3CBaggagePropagator()]
304
- }),
305
- spanProcessors: [new baggageSpanProcessor.BaggageSpanProcessor(baggageSpanProcessor.ALLOW_ALL_BAGGAGE_KEYS), batchProcessor],
306
- instrumentations: [
307
- autoInstrumentationsNode.getNodeAutoInstrumentations({
308
- "@opentelemetry/instrumentation-http": {
309
- enabled: true,
310
- requestHook: (span, request) => {
311
- const url = request?.url ?? request?.path;
312
- if (!url) return;
313
- const u = new URL(url, "http://localhost");
314
- span.updateName(`${request?.method || "UNKNOWN"} ${u.pathname}`);
315
- }
316
- },
317
- "@opentelemetry/instrumentation-undici": {
318
- requestHook: (span) => {
319
- const method = span.attributes?.["http.request.method"];
320
- const host = span.attributes?.["server.address"];
321
- const path = span.attributes?.["url.path"];
322
- if (method && path)
323
- span.updateName(host ? `${method} ${host}${path}` : `${method} ${path}`);
324
- }
291
+ var defaultInstrumentations = [
292
+ autoInstrumentationsNode.getNodeAutoInstrumentations({
293
+ "@opentelemetry/instrumentation-http": {
294
+ enabled: true,
295
+ requestHook: (span, request) => {
296
+ const url = request?.url ?? request?.path;
297
+ if (!url) return;
298
+ const u = new URL(url, "http://localhost");
299
+ span.updateName(`${request?.method || "UNKNOWN"} ${u.pathname}`);
325
300
  }
326
- })
327
- ]
301
+ },
302
+ "@opentelemetry/instrumentation-undici": {
303
+ requestHook: (span) => {
304
+ const method = span.attributes?.["http.request.method"];
305
+ const host = span.attributes?.["server.address"];
306
+ const path = span.attributes?.["url.path"];
307
+ if (method && path)
308
+ span.updateName(host ? `${method} ${host}${path}` : `${method} ${path}`);
309
+ }
310
+ }
311
+ })
312
+ ];
313
+ var defaultSpanProcessors = [
314
+ new baggageSpanProcessor.BaggageSpanProcessor(baggageSpanProcessor.ALLOW_ALL_BAGGAGE_KEYS),
315
+ defaultBatchProcessor
316
+ ];
317
+ var defaultContextManager = new contextAsyncHooks.AsyncLocalStorageContextManager();
318
+ var defaultTextMapPropagator = new core.CompositePropagator({
319
+ propagators: [new core.W3CTraceContextPropagator(), new core.W3CBaggagePropagator()]
320
+ });
321
+ new sdkNode.NodeSDK({
322
+ resource: defaultResource,
323
+ contextManager: defaultContextManager,
324
+ textMapPropagator: defaultTextMapPropagator,
325
+ spanProcessors: defaultSpanProcessors,
326
+ instrumentations: defaultInstrumentations
328
327
  });
329
- sdk.start();
330
328
  init_dbClient();
331
329
  init_env();
332
330
 
@@ -1401,6 +1399,17 @@ __publicField(_ArtifactReferenceSchema, "ARTIFACT_PROPS_SCHEMA", {
1401
1399
  required: ["artifact_id", "task_id"]
1402
1400
  });
1403
1401
  var ArtifactReferenceSchema = _ArtifactReferenceSchema;
1402
+
1403
+ // src/utils/default-status-schemas.ts
1404
+ var retrieveStatusSchema = {
1405
+ type: "retrieve",
1406
+ description: 'Use this when the system found or retrieved specific information from searches, queries, or lookups. ONLY report ACTUAL findings that appear explicitly in the tool results - never make up data, names, numbers, or details. The label must state the SPECIFIC discovery (e.g., "Found 3 authentication methods", "Database contains 500 records", "API supports JSON format") not the act of searching. Every detail must be traceable to actual tool output. NEVER invent placeholder names, fictional data, or information not present in the activities.'
1407
+ };
1408
+ var actionStatusSchema = {
1409
+ type: "action",
1410
+ description: 'Use this when the system executed a tool or performed an operation that modified state or had side effects. ONLY report ACTUAL tool executions and their results as they appear in the tool outputs - never make up tool names, parameters, or outcomes. The label must describe what specific action was performed and its concrete result based on actual tool execution data. DO NOT make up examples like "Ran test suite with X passes" unless a test suite was ACTUALLY run and reported X passes. DO NOT say "Executed database query" unless a database query was ACTUALLY executed. Only report what literally happened. NEVER invent tool names, execution results, or details not explicitly present in the tool execution activities. If a tool failed, report the actual failure, not imagined success.'
1411
+ };
1412
+ var defaultStatusSchemas = [retrieveStatusSchema, actionStatusSchema];
1404
1413
  var logger5 = agentsCore.getLogger("ModelFactory");
1405
1414
  var _ModelFactory = class _ModelFactory {
1406
1415
  /**
@@ -1930,7 +1939,7 @@ var GraphSession = class {
1930
1939
  }
1931
1940
  const now = Date.now();
1932
1941
  const elapsedTime = now - statusUpdateState.startTime;
1933
- const statusComponents = statusUpdateState.config.statusComponents && statusUpdateState.config.statusComponents.length > 0 ? statusUpdateState.config.statusComponents : agentsSdk.defaultStatusSchemas;
1942
+ const statusComponents = statusUpdateState.config.statusComponents && statusUpdateState.config.statusComponents.length > 0 ? statusUpdateState.config.statusComponents : defaultStatusSchemas;
1934
1943
  const result = await this.generateStructuredStatusUpdate(
1935
1944
  this.events.slice(statusUpdateState.lastEventCount),
1936
1945
  elapsedTime,
@@ -9204,21 +9213,21 @@ function createExecutionHono(serverConfig, credentialStores) {
9204
9213
  app6.route("/v1/mcp", mcp_default);
9205
9214
  app6.route("/agents", agents_default);
9206
9215
  setupOpenAPIRoutes(app6);
9207
- app6.use("/tenants/*", async (c, next) => {
9216
+ app6.use("/tenants/*", async (_c, next) => {
9208
9217
  await next();
9209
- await batchProcessor.forceFlush();
9218
+ await defaultBatchProcessor.forceFlush();
9210
9219
  });
9211
- app6.use("/agents/*", async (c, next) => {
9220
+ app6.use("/agents/*", async (_c, next) => {
9212
9221
  await next();
9213
- await batchProcessor.forceFlush();
9222
+ await defaultBatchProcessor.forceFlush();
9214
9223
  });
9215
- app6.use("/v1/*", async (c, next) => {
9224
+ app6.use("/v1/*", async (_c, next) => {
9216
9225
  await next();
9217
- await batchProcessor.forceFlush();
9226
+ await defaultBatchProcessor.forceFlush();
9218
9227
  });
9219
- app6.use("/api/*", async (c, next) => {
9228
+ app6.use("/api/*", async (_c, next) => {
9220
9229
  await next();
9221
- await batchProcessor.forceFlush();
9230
+ await defaultBatchProcessor.forceFlush();
9222
9231
  });
9223
9232
  const baseApp = new hono.Hono();
9224
9233
  baseApp.route("/", app6);
package/dist/index.js CHANGED
@@ -1,4 +1,12 @@
1
- import { env, __publicField, dbClient_default, getFormattedConversationHistory, createDefaultConversationHistoryConfig, saveA2AMessageResponse } from './chunk-7PHUFKNP.js';
1
+ import { __publicField, dbClient_default, getFormattedConversationHistory, env, createDefaultConversationHistoryConfig, saveA2AMessageResponse } from './chunk-AFP4EIVB.js';
2
+ import { getLogger, getTracer, HeadersScopeSchema, getRequestExecutionContext, createApiError, getAgentGraphWithDefaultAgent, contextValidationMiddleware, getFullGraph, createOrGetConversation, getActiveAgentForConversation, setActiveAgentForConversation, getAgentById, handleContextResolution, createMessage, commonGetErrorResponses, loggerFactory, createDefaultCredentialStores, CredentialStoreRegistry, listTaskIdsByContextId, getTask, getLedgerArtifacts, getAgentGraphById, createTask, updateTask, setSpanWithError, updateConversation, handleApiError, TaskState, setActiveAgentForThread, getConversation, getRelatedAgentsForGraph, getToolsForAgent, getDataComponentsForAgent, getArtifactComponentsForAgent, validateAndGetApiKey, getProject, ContextResolver, CredentialStuffer, MCPServerType, getCredentialReference, McpClient, getContextConfigById, getFullGraphDefinition, TemplateEngine, graphHasArtifactComponents, MCPTransportType, getExternalAgent } from '@inkeep/agents-core';
3
+ import { otel } from '@hono/otel';
4
+ import { OpenAPIHono, createRoute, z as z$1 } from '@hono/zod-openapi';
5
+ import { trace, propagation, context, SpanStatusCode } from '@opentelemetry/api';
6
+ import { Hono } from 'hono';
7
+ import { cors } from 'hono/cors';
8
+ import { HTTPException } from 'hono/http-exception';
9
+ import { requestId } from 'hono/request-id';
2
10
  import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
3
11
  import { BaggageSpanProcessor, ALLOW_ALL_BAGGAGE_KEYS } from '@opentelemetry/baggage-span-processor';
4
12
  import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';
@@ -8,14 +16,6 @@ import { resourceFromAttributes } from '@opentelemetry/resources';
8
16
  import { NodeSDK } from '@opentelemetry/sdk-node';
9
17
  import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-base';
10
18
  import { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
11
- import { getLogger, getTracer, HeadersScopeSchema, getRequestExecutionContext, createApiError, getAgentGraphWithDefaultAgent, contextValidationMiddleware, getFullGraph, createOrGetConversation, getActiveAgentForConversation, setActiveAgentForConversation, getAgentById, handleContextResolution, createMessage, commonGetErrorResponses, loggerFactory, createDefaultCredentialStores, CredentialStoreRegistry, listTaskIdsByContextId, getTask, getLedgerArtifacts, getAgentGraphById, createTask, updateTask, setSpanWithError, updateConversation, handleApiError, TaskState, setActiveAgentForThread, getConversation, getRelatedAgentsForGraph, getToolsForAgent, getDataComponentsForAgent, getArtifactComponentsForAgent, validateAndGetApiKey, getProject, ContextResolver, CredentialStuffer, MCPServerType, getCredentialReference, McpClient, getContextConfigById, getFullGraphDefinition, TemplateEngine, graphHasArtifactComponents, MCPTransportType, getExternalAgent } from '@inkeep/agents-core';
12
- import { otel } from '@hono/otel';
13
- import { OpenAPIHono, createRoute, z as z$1 } from '@hono/zod-openapi';
14
- import { trace, propagation, context, SpanStatusCode } from '@opentelemetry/api';
15
- import { Hono } from 'hono';
16
- import { cors } from 'hono/cors';
17
- import { HTTPException } from 'hono/http-exception';
18
- import { requestId } from 'hono/request-id';
19
19
  import { createMiddleware } from 'hono/factory';
20
20
  import { swaggerUI } from '@hono/swagger-ui';
21
21
  import z4, { z } from 'zod';
@@ -24,7 +24,6 @@ import { nanoid } from 'nanoid';
24
24
  import destr from 'destr';
25
25
  import traverse from 'traverse';
26
26
  import { createUIMessageStream, JsonToSseTransformStream, parsePartialJson, generateObject, tool, streamText, generateText, streamObject } from 'ai';
27
- import { defaultStatusSchemas } from '@inkeep/agents-sdk';
28
27
  import { createAnthropic, anthropic } from '@ai-sdk/anthropic';
29
28
  import { createGateway, gateway } from '@ai-sdk/gateway';
30
29
  import { createGoogleGenerativeAI, google } from '@ai-sdk/google';
@@ -36,45 +35,48 @@ import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/
36
35
  import { z as z$2 } from 'zod/v3';
37
36
  import { toReqRes, toFetchResponse } from 'fetch-to-node';
38
37
 
39
- var maxExportBatchSize = env.OTEL_MAX_EXPORT_BATCH_SIZE ?? (env.ENVIRONMENT === "development" ? 1 : 512);
40
38
  var otlpExporter = new OTLPTraceExporter();
41
- var batchProcessor = new BatchSpanProcessor(otlpExporter, {
42
- maxExportBatchSize
43
- });
44
- var resource = resourceFromAttributes({
39
+ var defaultBatchProcessor = new BatchSpanProcessor(otlpExporter);
40
+ var defaultResource = resourceFromAttributes({
45
41
  [ATTR_SERVICE_NAME]: "inkeep-agents-run-api"
46
42
  });
47
- var sdk = new NodeSDK({
48
- resource,
49
- contextManager: new AsyncLocalStorageContextManager(),
50
- textMapPropagator: new CompositePropagator({
51
- propagators: [new W3CTraceContextPropagator(), new W3CBaggagePropagator()]
52
- }),
53
- spanProcessors: [new BaggageSpanProcessor(ALLOW_ALL_BAGGAGE_KEYS), batchProcessor],
54
- instrumentations: [
55
- getNodeAutoInstrumentations({
56
- "@opentelemetry/instrumentation-http": {
57
- enabled: true,
58
- requestHook: (span, request) => {
59
- const url = request?.url ?? request?.path;
60
- if (!url) return;
61
- const u = new URL(url, "http://localhost");
62
- span.updateName(`${request?.method || "UNKNOWN"} ${u.pathname}`);
63
- }
64
- },
65
- "@opentelemetry/instrumentation-undici": {
66
- requestHook: (span) => {
67
- const method = span.attributes?.["http.request.method"];
68
- const host = span.attributes?.["server.address"];
69
- const path = span.attributes?.["url.path"];
70
- if (method && path)
71
- span.updateName(host ? `${method} ${host}${path}` : `${method} ${path}`);
72
- }
43
+ var defaultInstrumentations = [
44
+ getNodeAutoInstrumentations({
45
+ "@opentelemetry/instrumentation-http": {
46
+ enabled: true,
47
+ requestHook: (span, request) => {
48
+ const url = request?.url ?? request?.path;
49
+ if (!url) return;
50
+ const u = new URL(url, "http://localhost");
51
+ span.updateName(`${request?.method || "UNKNOWN"} ${u.pathname}`);
73
52
  }
74
- })
75
- ]
53
+ },
54
+ "@opentelemetry/instrumentation-undici": {
55
+ requestHook: (span) => {
56
+ const method = span.attributes?.["http.request.method"];
57
+ const host = span.attributes?.["server.address"];
58
+ const path = span.attributes?.["url.path"];
59
+ if (method && path)
60
+ span.updateName(host ? `${method} ${host}${path}` : `${method} ${path}`);
61
+ }
62
+ }
63
+ })
64
+ ];
65
+ var defaultSpanProcessors = [
66
+ new BaggageSpanProcessor(ALLOW_ALL_BAGGAGE_KEYS),
67
+ defaultBatchProcessor
68
+ ];
69
+ var defaultContextManager = new AsyncLocalStorageContextManager();
70
+ var defaultTextMapPropagator = new CompositePropagator({
71
+ propagators: [new W3CTraceContextPropagator(), new W3CBaggagePropagator()]
72
+ });
73
+ new NodeSDK({
74
+ resource: defaultResource,
75
+ contextManager: defaultContextManager,
76
+ textMapPropagator: defaultTextMapPropagator,
77
+ spanProcessors: defaultSpanProcessors,
78
+ instrumentations: defaultInstrumentations
76
79
  });
77
- sdk.start();
78
80
 
79
81
  // src/types/execution-context.ts
80
82
  function createExecutionContext(params) {
@@ -1130,6 +1132,17 @@ __publicField(_ArtifactReferenceSchema, "ARTIFACT_PROPS_SCHEMA", {
1130
1132
  required: ["artifact_id", "task_id"]
1131
1133
  });
1132
1134
  var ArtifactReferenceSchema = _ArtifactReferenceSchema;
1135
+
1136
+ // src/utils/default-status-schemas.ts
1137
+ var retrieveStatusSchema = {
1138
+ type: "retrieve",
1139
+ description: 'Use this when the system found or retrieved specific information from searches, queries, or lookups. ONLY report ACTUAL findings that appear explicitly in the tool results - never make up data, names, numbers, or details. The label must state the SPECIFIC discovery (e.g., "Found 3 authentication methods", "Database contains 500 records", "API supports JSON format") not the act of searching. Every detail must be traceable to actual tool output. NEVER invent placeholder names, fictional data, or information not present in the activities.'
1140
+ };
1141
+ var actionStatusSchema = {
1142
+ type: "action",
1143
+ description: 'Use this when the system executed a tool or performed an operation that modified state or had side effects. ONLY report ACTUAL tool executions and their results as they appear in the tool outputs - never make up tool names, parameters, or outcomes. The label must describe what specific action was performed and its concrete result based on actual tool execution data. DO NOT make up examples like "Ran test suite with X passes" unless a test suite was ACTUALLY run and reported X passes. DO NOT say "Executed database query" unless a database query was ACTUALLY executed. Only report what literally happened. NEVER invent tool names, execution results, or details not explicitly present in the tool execution activities. If a tool failed, report the actual failure, not imagined success.'
1144
+ };
1145
+ var defaultStatusSchemas = [retrieveStatusSchema, actionStatusSchema];
1133
1146
  var logger5 = getLogger("ModelFactory");
1134
1147
  var _ModelFactory = class _ModelFactory {
1135
1148
  /**
@@ -2123,7 +2136,7 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
2123
2136
  );
2124
2137
  }
2125
2138
  span.setAttributes({ "validation.passed": true });
2126
- const { getFormattedConversationHistory: getFormattedConversationHistory2 } = await import('./conversations-WDOIWO7W.js');
2139
+ const { getFormattedConversationHistory: getFormattedConversationHistory2 } = await import('./conversations-LKYN44FI.js');
2127
2140
  const conversationHistory = await getFormattedConversationHistory2({
2128
2141
  tenantId: artifactData.tenantId,
2129
2142
  projectId: artifactData.projectId,
@@ -8907,21 +8920,21 @@ function createExecutionHono(serverConfig, credentialStores) {
8907
8920
  app6.route("/v1/mcp", mcp_default);
8908
8921
  app6.route("/agents", agents_default);
8909
8922
  setupOpenAPIRoutes(app6);
8910
- app6.use("/tenants/*", async (c, next) => {
8923
+ app6.use("/tenants/*", async (_c, next) => {
8911
8924
  await next();
8912
- await batchProcessor.forceFlush();
8925
+ await defaultBatchProcessor.forceFlush();
8913
8926
  });
8914
- app6.use("/agents/*", async (c, next) => {
8927
+ app6.use("/agents/*", async (_c, next) => {
8915
8928
  await next();
8916
- await batchProcessor.forceFlush();
8929
+ await defaultBatchProcessor.forceFlush();
8917
8930
  });
8918
- app6.use("/v1/*", async (c, next) => {
8931
+ app6.use("/v1/*", async (_c, next) => {
8919
8932
  await next();
8920
- await batchProcessor.forceFlush();
8933
+ await defaultBatchProcessor.forceFlush();
8921
8934
  });
8922
- app6.use("/api/*", async (c, next) => {
8935
+ app6.use("/api/*", async (_c, next) => {
8923
8936
  await next();
8924
- await batchProcessor.forceFlush();
8937
+ await defaultBatchProcessor.forceFlush();
8925
8938
  });
8926
8939
  const baseApp = new Hono();
8927
8940
  baseApp.route("/", app6);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-run-api",
3
- "version": "0.0.0-dev-20250924193535",
3
+ "version": "0.0.0-dev-20250924224100",
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",
@@ -48,8 +48,7 @@
48
48
  "traverse": "^0.6.11",
49
49
  "ts-pattern": "^5.7.1",
50
50
  "zod": "^4.1.5",
51
- "@inkeep/agents-sdk": "^0.0.0-dev-20250924193535",
52
- "@inkeep/agents-core": "^0.0.0-dev-20250924193535"
51
+ "@inkeep/agents-core": "^0.0.0-dev-20250924224100"
53
52
  },
54
53
  "devDependencies": {
55
54
  "@hono/vite-dev-server": "^0.20.1",