@inkeep/agents-run-api 0.0.0-dev-20251013201931 → 0.0.0-dev-20251013202856
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/{chunk-7IMXW4RD.js → chunk-IBMWBEXH.js} +1 -1
- package/dist/{chunk-NZHNG4A3.js → chunk-LHCIBW34.js} +3 -1
- package/dist/{chunk-XO4RG36I.js → chunk-RZXPMRBA.js} +1 -1
- package/dist/{chunk-QRT6EIUX.js → chunk-T5AYIGCU.js} +2 -2
- package/dist/{conversations-OFIM2WLJ.js → conversations-6OGSD67W.js} +1 -1
- package/dist/dbClient-CSP4YJOO.js +1 -0
- package/dist/index.cjs +3 -1
- package/dist/index.js +5 -5
- package/dist/instrumentation.cjs +3 -1
- package/dist/instrumentation.js +1 -1
- package/package.json +2 -2
- package/dist/dbClient-UQHVUUUY.js +0 -1
|
@@ -11,9 +11,11 @@ var envSchema = z.object({
|
|
|
11
11
|
TURSO_AUTH_TOKEN: z.string().optional(),
|
|
12
12
|
AGENTS_RUN_API_URL: z.string().optional().default("http://localhost:3003"),
|
|
13
13
|
LOG_LEVEL: z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
14
|
+
NANGO_SERVER_URL: z.string().optional().default("https://api.nango.dev"),
|
|
14
15
|
NANGO_SECRET_KEY: z.string().optional(),
|
|
15
|
-
OPENAI_API_KEY: z.string().optional(),
|
|
16
16
|
ANTHROPIC_API_KEY: z.string(),
|
|
17
|
+
OPENAI_API_KEY: z.string().optional(),
|
|
18
|
+
GOOGLE_GENERATIVE_AI_API_KEY: z.string().optional(),
|
|
17
19
|
INKEEP_AGENTS_RUN_API_BYPASS_SECRET: z.string().optional(),
|
|
18
20
|
OTEL_BSP_SCHEDULE_DELAY: z.coerce.number().optional().default(500),
|
|
19
21
|
OTEL_BSP_MAX_EXPORT_BATCH_SIZE: z.coerce.number().optional().default(64)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getLogger } from './chunk-A2S7GSHL.js';
|
|
2
|
-
import { env } from './chunk-
|
|
2
|
+
import { env } from './chunk-LHCIBW34.js';
|
|
3
3
|
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
|
|
4
4
|
import { BaggageSpanProcessor, ALLOW_ALL_BAGGAGE_KEYS } from '@opentelemetry/baggage-span-processor';
|
|
5
5
|
import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dbClient_default } from './chunk-
|
|
1
|
+
import { dbClient_default } from './chunk-IBMWBEXH.js';
|
|
2
2
|
import { createMessage, getConversationHistory } from '@inkeep/agents-core';
|
|
3
3
|
import { nanoid } from 'nanoid';
|
|
4
4
|
|
|
@@ -191,7 +191,7 @@ async function getConversationScopedArtifacts(params) {
|
|
|
191
191
|
return [];
|
|
192
192
|
}
|
|
193
193
|
const { getLedgerArtifacts } = await import('@inkeep/agents-core');
|
|
194
|
-
const dbClient = (await import('./dbClient-
|
|
194
|
+
const dbClient = (await import('./dbClient-CSP4YJOO.js')).default;
|
|
195
195
|
const visibleTaskIds = visibleMessages.map((msg) => msg.taskId).filter((taskId) => Boolean(taskId));
|
|
196
196
|
const referenceArtifacts = [];
|
|
197
197
|
for (const taskId of visibleTaskIds) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createDefaultConversationHistoryConfig, getConversationScopedArtifacts, getFormattedConversationHistory, getFullConversationContext, getScopedHistory, getUserFacingHistory, saveA2AMessageResponse } from './chunk-
|
|
1
|
+
export { createDefaultConversationHistoryConfig, getConversationScopedArtifacts, getFormattedConversationHistory, getFullConversationContext, getScopedHistory, getUserFacingHistory, saveA2AMessageResponse } from './chunk-T5AYIGCU.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { dbClient_default as default } from './chunk-IBMWBEXH.js';
|
package/dist/index.cjs
CHANGED
|
@@ -75,9 +75,11 @@ var init_env = __esm({
|
|
|
75
75
|
TURSO_AUTH_TOKEN: z6.z.string().optional(),
|
|
76
76
|
AGENTS_RUN_API_URL: z6.z.string().optional().default("http://localhost:3003"),
|
|
77
77
|
LOG_LEVEL: z6.z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
78
|
+
NANGO_SERVER_URL: z6.z.string().optional().default("https://api.nango.dev"),
|
|
78
79
|
NANGO_SECRET_KEY: z6.z.string().optional(),
|
|
79
|
-
OPENAI_API_KEY: z6.z.string().optional(),
|
|
80
80
|
ANTHROPIC_API_KEY: z6.z.string(),
|
|
81
|
+
OPENAI_API_KEY: z6.z.string().optional(),
|
|
82
|
+
GOOGLE_GENERATIVE_AI_API_KEY: z6.z.string().optional(),
|
|
81
83
|
INKEEP_AGENTS_RUN_API_BYPASS_SECRET: z6.z.string().optional(),
|
|
82
84
|
OTEL_BSP_SCHEDULE_DELAY: z6.z.coerce.number().optional().default(500),
|
|
83
85
|
OTEL_BSP_MAX_EXPORT_BATCH_SIZE: z6.z.coerce.number().optional().default(64)
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { flushBatchProcessor } from './chunk-
|
|
1
|
+
import { flushBatchProcessor } from './chunk-RZXPMRBA.js';
|
|
2
2
|
import { getLogger } from './chunk-A2S7GSHL.js';
|
|
3
|
-
import { getFormattedConversationHistory, createDefaultConversationHistoryConfig, saveA2AMessageResponse } from './chunk-
|
|
4
|
-
import { dbClient_default } from './chunk-
|
|
5
|
-
import { env } from './chunk-
|
|
3
|
+
import { getFormattedConversationHistory, createDefaultConversationHistoryConfig, saveA2AMessageResponse } from './chunk-T5AYIGCU.js';
|
|
4
|
+
import { dbClient_default } from './chunk-IBMWBEXH.js';
|
|
5
|
+
import { env } from './chunk-LHCIBW34.js';
|
|
6
6
|
import { __publicField } from './chunk-PKBMQBKP.js';
|
|
7
7
|
import { getTracer, HeadersScopeSchema, getRequestExecutionContext, createApiError, getAgentWithDefaultSubAgent, contextValidationMiddleware, getConversationId, getFullAgent, createOrGetConversation, getActiveAgentForConversation, setActiveAgentForConversation, getSubAgentById, handleContextResolution, createMessage, commonGetErrorResponses, loggerFactory, createDefaultCredentialStores, CredentialStoreRegistry, listTaskIdsByContextId, getTask, getLedgerArtifacts, upsertLedgerArtifact, createTask, updateTask, setSpanWithError, updateConversation, handleApiError, TaskState, setActiveAgentForThread, getConversation, getAgentById, getRelatedAgentsForAgent, getToolsForAgent, getDataComponentsForAgent, getArtifactComponentsForAgent, dbResultToMcpTool, validateAndGetApiKey, getProject, ContextResolver, CredentialStuffer, MCPServerType, getCredentialReference, McpClient, getFunctionToolsForSubAgent, getFunction, getContextConfigById, getFullAgentDefinition, TemplateEngine, agentHasArtifactComponents, MCPTransportType, SPAN_KEYS, getExternalAgent } from '@inkeep/agents-core';
|
|
8
8
|
import { otel } from '@hono/otel';
|
|
@@ -7310,7 +7310,7 @@ var Agent = class {
|
|
|
7310
7310
|
inputSchema: tool3.inputSchema || tool3.parameters || {},
|
|
7311
7311
|
usageGuidelines: name.startsWith("transfer_to_") || name.startsWith("delegate_to_") ? `Use this tool to ${name.startsWith("transfer_to_") ? "transfer" : "delegate"} to another agent when appropriate.` : "Use this tool when appropriate for the task at hand."
|
|
7312
7312
|
}));
|
|
7313
|
-
const { getConversationScopedArtifacts } = await import('./conversations-
|
|
7313
|
+
const { getConversationScopedArtifacts } = await import('./conversations-6OGSD67W.js');
|
|
7314
7314
|
const historyConfig = this.config.conversationHistoryConfig ?? createDefaultConversationHistoryConfig();
|
|
7315
7315
|
const referenceArtifacts = await getConversationScopedArtifacts({
|
|
7316
7316
|
tenantId: this.config.tenantId,
|
package/dist/instrumentation.cjs
CHANGED
|
@@ -22,9 +22,11 @@ var envSchema = zod.z.object({
|
|
|
22
22
|
TURSO_AUTH_TOKEN: zod.z.string().optional(),
|
|
23
23
|
AGENTS_RUN_API_URL: zod.z.string().optional().default("http://localhost:3003"),
|
|
24
24
|
LOG_LEVEL: zod.z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
25
|
+
NANGO_SERVER_URL: zod.z.string().optional().default("https://api.nango.dev"),
|
|
25
26
|
NANGO_SECRET_KEY: zod.z.string().optional(),
|
|
26
|
-
OPENAI_API_KEY: zod.z.string().optional(),
|
|
27
27
|
ANTHROPIC_API_KEY: zod.z.string(),
|
|
28
|
+
OPENAI_API_KEY: zod.z.string().optional(),
|
|
29
|
+
GOOGLE_GENERATIVE_AI_API_KEY: zod.z.string().optional(),
|
|
28
30
|
INKEEP_AGENTS_RUN_API_BYPASS_SECRET: zod.z.string().optional(),
|
|
29
31
|
OTEL_BSP_SCHEDULE_DELAY: zod.z.coerce.number().optional().default(500),
|
|
30
32
|
OTEL_BSP_MAX_EXPORT_BATCH_SIZE: zod.z.coerce.number().optional().default(64)
|
package/dist/instrumentation.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { defaultBatchProcessor, defaultContextManager, defaultInstrumentations, defaultResource, defaultSDK, defaultSpanProcessors, defaultTextMapPropagator, flushBatchProcessor } from './chunk-
|
|
1
|
+
export { defaultBatchProcessor, defaultContextManager, defaultInstrumentations, defaultResource, defaultSDK, defaultSpanProcessors, defaultTextMapPropagator, flushBatchProcessor } from './chunk-RZXPMRBA.js';
|
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-20251013202856",
|
|
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",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"traverse": "^0.6.11",
|
|
52
52
|
"ts-pattern": "^5.7.1",
|
|
53
53
|
"zod": "^4.1.11",
|
|
54
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
54
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251013202856"
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
57
|
"keytar": "^7.9.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { dbClient_default as default } from './chunk-7IMXW4RD.js';
|