@inkeep/agents-run-api 0.0.0-dev-20250912144623 → 0.0.0-dev-20250912152002
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.
|
@@ -30,8 +30,7 @@ var envSchema = z.object({
|
|
|
30
30
|
NODE_ENV: z.enum(["development", "production", "test"]).optional(),
|
|
31
31
|
ENVIRONMENT: z.enum(["development", "production", "pentest", "test"]).optional().default("development"),
|
|
32
32
|
DB_FILE_NAME: z.string().default("file:../local.db"),
|
|
33
|
-
|
|
34
|
-
AGENT_BASE_URL: z.string().optional(),
|
|
33
|
+
AGENTS_RUN_API_URL: z.string().optional().default("http://localhost:3003"),
|
|
35
34
|
LOG_LEVEL: z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
36
35
|
NANGO_SECRET_KEY: z.string().optional(),
|
|
37
36
|
OPENAI_API_KEY: z.string().optional(),
|
|
@@ -43,9 +42,6 @@ var envSchema = z.object({
|
|
|
43
42
|
var parseEnv = () => {
|
|
44
43
|
try {
|
|
45
44
|
const parsedEnv = envSchema.parse(process.env);
|
|
46
|
-
if (!parsedEnv.AGENT_BASE_URL) {
|
|
47
|
-
parsedEnv.AGENT_BASE_URL = `http://localhost:${parsedEnv.PORT}`;
|
|
48
|
-
}
|
|
49
45
|
return parsedEnv;
|
|
50
46
|
} catch (error) {
|
|
51
47
|
if (error instanceof z.ZodError) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createDefaultConversationHistoryConfig, getFormattedConversationHistory, getFullConversationContext, getScopedHistory, getUserFacingHistory, saveA2AMessageResponse } from './chunk-
|
|
1
|
+
export { createDefaultConversationHistoryConfig, getFormattedConversationHistory, getFullConversationContext, getScopedHistory, getUserFacingHistory, saveA2AMessageResponse } from './chunk-QXMFZ2QW.js';
|
package/dist/index.cjs
CHANGED
|
@@ -103,8 +103,7 @@ var init_env = __esm({
|
|
|
103
103
|
NODE_ENV: z5.z.enum(["development", "production", "test"]).optional(),
|
|
104
104
|
ENVIRONMENT: z5.z.enum(["development", "production", "pentest", "test"]).optional().default("development"),
|
|
105
105
|
DB_FILE_NAME: z5.z.string().default("file:../local.db"),
|
|
106
|
-
|
|
107
|
-
AGENT_BASE_URL: z5.z.string().optional(),
|
|
106
|
+
AGENTS_RUN_API_URL: z5.z.string().optional().default("http://localhost:3003"),
|
|
108
107
|
LOG_LEVEL: z5.z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
109
108
|
NANGO_SECRET_KEY: z5.z.string().optional(),
|
|
110
109
|
OPENAI_API_KEY: z5.z.string().optional(),
|
|
@@ -116,9 +115,6 @@ var init_env = __esm({
|
|
|
116
115
|
parseEnv = () => {
|
|
117
116
|
try {
|
|
118
117
|
const parsedEnv = envSchema.parse(process.env);
|
|
119
|
-
if (!parsedEnv.AGENT_BASE_URL) {
|
|
120
|
-
parsedEnv.AGENT_BASE_URL = `http://localhost:${parsedEnv.PORT}`;
|
|
121
|
-
}
|
|
122
118
|
return parsedEnv;
|
|
123
119
|
} catch (error) {
|
|
124
120
|
if (error instanceof z5.z.ZodError) {
|
|
@@ -582,7 +578,7 @@ function setupOpenAPIRoutes(app6) {
|
|
|
582
578
|
},
|
|
583
579
|
servers: [
|
|
584
580
|
{
|
|
585
|
-
url: env.
|
|
581
|
+
url: env.AGENTS_RUN_API_URL,
|
|
586
582
|
description: "Development server"
|
|
587
583
|
}
|
|
588
584
|
]
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { env, __publicField, dbClient_default, getFormattedConversationHistory, createDefaultConversationHistoryConfig, saveA2AMessageResponse } from './chunk-
|
|
1
|
+
import { env, __publicField, dbClient_default, getFormattedConversationHistory, createDefaultConversationHistoryConfig, saveA2AMessageResponse } from './chunk-QXMFZ2QW.js';
|
|
2
2
|
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
|
|
3
3
|
import { BaggageSpanProcessor, ALLOW_ALL_BAGGAGE_KEYS } from '@opentelemetry/baggage-span-processor';
|
|
4
4
|
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-proto';
|
|
@@ -274,7 +274,7 @@ function setupOpenAPIRoutes(app6) {
|
|
|
274
274
|
},
|
|
275
275
|
servers: [
|
|
276
276
|
{
|
|
277
|
-
url: env.
|
|
277
|
+
url: env.AGENTS_RUN_API_URL,
|
|
278
278
|
description: "Development server"
|
|
279
279
|
}
|
|
280
280
|
]
|
|
@@ -2150,7 +2150,7 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
|
|
|
2150
2150
|
);
|
|
2151
2151
|
}
|
|
2152
2152
|
span.setAttributes({ "validation.passed": true });
|
|
2153
|
-
const { getFormattedConversationHistory: getFormattedConversationHistory2 } = await import('./conversations-
|
|
2153
|
+
const { getFormattedConversationHistory: getFormattedConversationHistory2 } = await import('./conversations-MJOBSKWG.js');
|
|
2154
2154
|
const conversationHistory = await getFormattedConversationHistory2({
|
|
2155
2155
|
tenantId: artifactData.tenantId,
|
|
2156
2156
|
projectId: artifactData.projectId,
|
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-20250912152002",
|
|
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-20250912152002"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@hono/vite-dev-server": "^0.20.1",
|