@inkeep/agents-cli 0.0.0-dev-20251014155922 → 0.0.0-dev-20251014185355
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.js +24 -13
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -78,18 +78,29 @@ var init_models = __esm({
|
|
|
78
78
|
"use strict";
|
|
79
79
|
init_esm_shims();
|
|
80
80
|
ANTHROPIC_MODELS = {
|
|
81
|
+
CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
|
|
81
82
|
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
83
|
+
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
|
|
82
84
|
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
85
|
+
CLAUDE_SONNET_4: "anthropic/claude-sonnet-4",
|
|
83
86
|
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
87
|
+
CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet",
|
|
84
88
|
CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
|
|
89
|
+
CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku",
|
|
85
90
|
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
|
|
86
91
|
};
|
|
87
92
|
OPENAI_MODELS = {
|
|
93
|
+
GPT_5: "openai/gpt-5",
|
|
88
94
|
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
95
|
+
GPT_5_MINI: "openai/gpt-5-mini",
|
|
89
96
|
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
97
|
+
GPT_5_NANO: "openai/gpt-5-nano",
|
|
90
98
|
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
99
|
+
GPT_4_1: "openai/gpt-4.1",
|
|
91
100
|
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
101
|
+
GPT_4_1_MINI: "openai/gpt-4.1-mini",
|
|
92
102
|
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
103
|
+
GPT_4_1_NANO: "openai/gpt-4.1-nano",
|
|
93
104
|
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
94
105
|
};
|
|
95
106
|
GOOGLE_MODELS = {
|
|
@@ -1573,7 +1584,7 @@ import {
|
|
|
1573
1584
|
text,
|
|
1574
1585
|
unique
|
|
1575
1586
|
} from "drizzle-orm/sqlite-core";
|
|
1576
|
-
var tenantScoped, projectScoped, agentScoped, subAgentScoped, uiProperties, timestamps, projects, agents, contextConfigs, contextCache, subAgents, subAgentRelations, externalAgents, tasks, taskRelations, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, tools, functionTools, functions, subAgentToolRelations,
|
|
1587
|
+
var tenantScoped, projectScoped, agentScoped, subAgentScoped, uiProperties, timestamps, projects, agents, contextConfigs, contextCache, subAgents, subAgentRelations, externalAgents, tasks, taskRelations, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, tools, functionTools, functions, subAgentToolRelations, subAgentFunctionToolRelations, conversations, messages, ledgerArtifacts, apiKeys, credentialReferences, tasksRelations, projectsRelations, taskRelationsRelations, contextConfigsRelations, contextCacheRelations, subAgentsRelations, agentRelations, externalAgentsRelations, apiKeysRelations, agentToolRelationsRelations, credentialReferencesRelations, toolsRelations, conversationsRelations, messagesRelations, artifactComponentsRelations, subAgentArtifactComponentsRelations, dataComponentsRelations, subAgentDataComponentsRelations, ledgerArtifactsRelations, functionsRelations, subAgentRelationsRelations, functionToolsRelations, subAgentFunctionToolRelationsRelations;
|
|
1577
1588
|
var init_schema = __esm({
|
|
1578
1589
|
"../packages/agents-core/src/db/schema.ts"() {
|
|
1579
1590
|
"use strict";
|
|
@@ -1970,8 +1981,8 @@ var init_schema = __esm({
|
|
|
1970
1981
|
}).onDelete("cascade")
|
|
1971
1982
|
]
|
|
1972
1983
|
);
|
|
1973
|
-
|
|
1974
|
-
"
|
|
1984
|
+
subAgentFunctionToolRelations = sqliteTable(
|
|
1985
|
+
"sub_agent_function_tool_relations",
|
|
1975
1986
|
{
|
|
1976
1987
|
...subAgentScoped,
|
|
1977
1988
|
functionToolId: text("function_tool_id").notNull(),
|
|
@@ -1979,11 +1990,11 @@ var init_schema = __esm({
|
|
|
1979
1990
|
},
|
|
1980
1991
|
(table) => [
|
|
1981
1992
|
primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
|
|
1982
|
-
// Foreign key constraint to
|
|
1993
|
+
// Foreign key constraint to sub_agents table
|
|
1983
1994
|
foreignKey({
|
|
1984
1995
|
columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
|
|
1985
1996
|
foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
|
|
1986
|
-
name: "
|
|
1997
|
+
name: "sub_agent_function_tool_relations_sub_agent_fk"
|
|
1987
1998
|
}).onDelete("cascade"),
|
|
1988
1999
|
// Foreign key constraint to functionTools table
|
|
1989
2000
|
foreignKey({
|
|
@@ -1994,7 +2005,7 @@ var init_schema = __esm({
|
|
|
1994
2005
|
functionTools.agentId,
|
|
1995
2006
|
functionTools.id
|
|
1996
2007
|
],
|
|
1997
|
-
name: "
|
|
2008
|
+
name: "sub_agent_function_tool_relations_function_tool_fk"
|
|
1998
2009
|
}).onDelete("cascade")
|
|
1999
2010
|
]
|
|
2000
2011
|
);
|
|
@@ -2220,7 +2231,7 @@ var init_schema = __esm({
|
|
|
2220
2231
|
relationName: "receivedMessages"
|
|
2221
2232
|
}),
|
|
2222
2233
|
toolRelations: many(subAgentToolRelations),
|
|
2223
|
-
functionToolRelations: many(
|
|
2234
|
+
functionToolRelations: many(subAgentFunctionToolRelations),
|
|
2224
2235
|
dataComponentRelations: many(subAgentDataComponents),
|
|
2225
2236
|
artifactComponentRelations: many(subAgentArtifactComponents)
|
|
2226
2237
|
}));
|
|
@@ -2425,17 +2436,17 @@ var init_schema = __esm({
|
|
|
2425
2436
|
fields: [functionTools.tenantId, functionTools.projectId, functionTools.functionId],
|
|
2426
2437
|
references: [functions.tenantId, functions.projectId, functions.id]
|
|
2427
2438
|
}),
|
|
2428
|
-
|
|
2439
|
+
subAgentRelations: many(subAgentFunctionToolRelations)
|
|
2429
2440
|
}));
|
|
2430
|
-
|
|
2431
|
-
|
|
2441
|
+
subAgentFunctionToolRelationsRelations = relations(
|
|
2442
|
+
subAgentFunctionToolRelations,
|
|
2432
2443
|
({ one }) => ({
|
|
2433
|
-
|
|
2434
|
-
fields: [
|
|
2444
|
+
subAgent: one(subAgents, {
|
|
2445
|
+
fields: [subAgentFunctionToolRelations.subAgentId],
|
|
2435
2446
|
references: [subAgents.id]
|
|
2436
2447
|
}),
|
|
2437
2448
|
functionTool: one(functionTools, {
|
|
2438
|
-
fields: [
|
|
2449
|
+
fields: [subAgentFunctionToolRelations.functionToolId],
|
|
2439
2450
|
references: [functionTools.id]
|
|
2440
2451
|
})
|
|
2441
2452
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251014185355",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"recast": "^0.23.0",
|
|
47
47
|
"ts-morph": "^26.0.0",
|
|
48
48
|
"tsx": "^4.20.5",
|
|
49
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
50
|
-
"@inkeep/agents-sdk": "^0.0.0-dev-
|
|
49
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251014185355",
|
|
50
|
+
"@inkeep/agents-sdk": "^0.0.0-dev-20251014185355"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/degit": "^2.8.6",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vitest": "^3.2.4"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@inkeep/agents-manage-ui": "0.0.0-dev-
|
|
65
|
+
"@inkeep/agents-manage-ui": "0.0.0-dev-20251014185355",
|
|
66
66
|
"zod": "^4.1.11"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|