@inkeep/agents-run-api 0.31.6 → 0.32.0
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/README.md +2 -2
- package/dist/{SandboxExecutorFactory-QVNCS6YN.js → SandboxExecutorFactory-D3OSN652.js} +45 -48
- package/dist/{chunk-IMJLQGAX.js → chunk-54Z7AOV4.js} +7 -6
- package/dist/chunk-BYF2SHLS.js +13 -0
- package/dist/chunk-IVALDC72.js +204 -0
- package/dist/{chunk-Z4TYO3W3.js → chunk-N2FZD53W.js} +1 -3
- package/dist/{chunk-DWEFKQTA.js → chunk-YBBSNUL3.js} +1 -1
- package/dist/{conversations-V6DNH5MW.js → conversations-ZZI6XV2G.js} +1 -1
- package/dist/dbClient-XRZSZEYI.js +1 -0
- package/dist/index.cjs +723 -293
- package/dist/index.js +334 -111
- package/dist/instrumentation.cjs +1 -3
- package/dist/instrumentation.js +1 -1
- package/package.json +5 -4
- package/templates/v1/phase1/system-prompt.xml +2 -7
- package/dist/chunk-TRNLEUK2.js +0 -26
- package/dist/dbClient-PLEBWGM4.js +0 -1
package/dist/instrumentation.cjs
CHANGED
|
@@ -17,9 +17,7 @@ agentsCore.loadEnvironmentFiles();
|
|
|
17
17
|
var envSchema = zod.z.object({
|
|
18
18
|
NODE_ENV: zod.z.enum(["development", "production", "test"]).optional(),
|
|
19
19
|
ENVIRONMENT: zod.z.enum(["development", "production", "pentest", "test"]).optional().default("development"),
|
|
20
|
-
|
|
21
|
-
TURSO_DATABASE_URL: zod.z.string().optional(),
|
|
22
|
-
TURSO_AUTH_TOKEN: zod.z.string().optional(),
|
|
20
|
+
DATABASE_URL: zod.z.string().optional(),
|
|
23
21
|
AGENTS_RUN_API_URL: zod.z.string().optional().default("http://localhost:3003"),
|
|
24
22
|
LOG_LEVEL: zod.z.enum(["trace", "debug", "info", "warn", "error"]).optional().default("debug"),
|
|
25
23
|
NANGO_SERVER_URL: zod.z.string().optional().default("https://api.nango.dev"),
|
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-YBBSNUL3.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-run-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"drizzle-orm": "^0.44.4",
|
|
46
46
|
"exit-hook": "^4.0.0",
|
|
47
47
|
"fetch-to-node": "^2.1.0",
|
|
48
|
-
"hono": "^4.10.
|
|
48
|
+
"hono": "^4.10.4",
|
|
49
49
|
"jmespath": "^0.16.0",
|
|
50
50
|
"json-schema-to-zod": "^2.6.1",
|
|
51
51
|
"nanoid": "^5.1.5",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"traverse": "^0.6.11",
|
|
54
54
|
"ts-pattern": "^5.7.1",
|
|
55
55
|
"zod": "4.1.5",
|
|
56
|
-
"@inkeep/agents-core": "^0.
|
|
56
|
+
"@inkeep/agents-core": "^0.32.0"
|
|
57
57
|
},
|
|
58
58
|
"optionalDependencies": {
|
|
59
59
|
"keytar": "^7.9.0"
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"typescript": "^5.3.3",
|
|
73
73
|
"vite": "^7.1.11",
|
|
74
74
|
"vite-tsconfig-paths": "^5.1.4",
|
|
75
|
-
"vitest": "^3.2.4"
|
|
75
|
+
"vitest": "^3.2.4",
|
|
76
|
+
"@electric-sql/pglite": "^0.3.13"
|
|
76
77
|
},
|
|
77
78
|
"engines": {
|
|
78
79
|
"node": ">=22.0.0"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
- You ARE the user's assistant - there are no other agents, specialists, or experts
|
|
22
22
|
- NEVER say you are connecting them to anyone or anything
|
|
23
23
|
- Continue conversations as if you personally have been handling them the entire time
|
|
24
|
-
- Answer questions directly without any transition phrases or transfer language
|
|
24
|
+
- Answer questions directly without any transition phrases or transfer language except when transferring to another agent or delegating to another agent
|
|
25
25
|
{{TRANSFER_INSTRUCTIONS}}
|
|
26
26
|
{{DELEGATION_INSTRUCTIONS}}
|
|
27
27
|
</security>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<interaction_guidelines>
|
|
30
30
|
- Be helpful, accurate, and professional
|
|
31
31
|
- Use tools when appropriate to provide better assistance
|
|
32
|
-
-
|
|
32
|
+
- Use tools directly without announcing or explaining what you're doing ("Let me search...", "I'll look for...", etc.)
|
|
33
33
|
- Save important tool results as artifacts when they contain structured data that should be preserved and referenced
|
|
34
34
|
- Ask for clarification when requests are ambiguous
|
|
35
35
|
|
|
@@ -47,11 +47,6 @@
|
|
|
47
47
|
- NEVER mention delegation occurred: just present the results
|
|
48
48
|
- If delegation returns artifacts, reference them as if you created them
|
|
49
49
|
|
|
50
|
-
🚨 TRANSFER TOOL RULES - CRITICAL:
|
|
51
|
-
- When calling transfer_to_* tools, call the tool IMMEDIATELY without any explanatory text
|
|
52
|
-
- Do NOT explain the transfer, do NOT say "I'll hand this off", do NOT provide reasoning
|
|
53
|
-
- Just call the transfer tool directly when you determine it's needed
|
|
54
|
-
- The tool call is sufficient - no additional text should be generated
|
|
55
50
|
</interaction_guidelines>
|
|
56
51
|
|
|
57
52
|
{{THINKING_PREPARATION_INSTRUCTIONS}}
|
package/dist/chunk-TRNLEUK2.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { env } from './chunk-Z4TYO3W3.js';
|
|
2
|
-
import { createDatabaseClient } from '@inkeep/agents-core';
|
|
3
|
-
|
|
4
|
-
var getDbConfig = () => {
|
|
5
|
-
if (env.ENVIRONMENT === "test") {
|
|
6
|
-
return { url: ":memory:" };
|
|
7
|
-
}
|
|
8
|
-
if (env.TURSO_DATABASE_URL && env.TURSO_AUTH_TOKEN) {
|
|
9
|
-
return {
|
|
10
|
-
url: env.TURSO_DATABASE_URL,
|
|
11
|
-
authToken: env.TURSO_AUTH_TOKEN
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
if (!env.DB_FILE_NAME) {
|
|
15
|
-
throw new Error(
|
|
16
|
-
"Database configuration error: DB_FILE_NAME must be set if Turso is not configured."
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
return {
|
|
20
|
-
url: env.DB_FILE_NAME
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
var dbClient = createDatabaseClient(getDbConfig());
|
|
24
|
-
var dbClient_default = dbClient;
|
|
25
|
-
|
|
26
|
-
export { dbClient_default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { dbClient_default as default } from './chunk-TRNLEUK2.js';
|