@inkeep/agents-cli 0.20.1 → 0.21.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/dist/index.js +13 -13
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1573,7 +1573,7 @@ import {
|
|
|
1573
1573
|
text,
|
|
1574
1574
|
unique
|
|
1575
1575
|
} 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,
|
|
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, 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
1577
|
var init_schema = __esm({
|
|
1578
1578
|
"../packages/agents-core/src/db/schema.ts"() {
|
|
1579
1579
|
"use strict";
|
|
@@ -1970,8 +1970,8 @@ var init_schema = __esm({
|
|
|
1970
1970
|
}).onDelete("cascade")
|
|
1971
1971
|
]
|
|
1972
1972
|
);
|
|
1973
|
-
|
|
1974
|
-
"
|
|
1973
|
+
subAgentFunctionToolRelations = sqliteTable(
|
|
1974
|
+
"sub_agent_function_tool_relations",
|
|
1975
1975
|
{
|
|
1976
1976
|
...subAgentScoped,
|
|
1977
1977
|
functionToolId: text("function_tool_id").notNull(),
|
|
@@ -1979,11 +1979,11 @@ var init_schema = __esm({
|
|
|
1979
1979
|
},
|
|
1980
1980
|
(table) => [
|
|
1981
1981
|
primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
|
|
1982
|
-
// Foreign key constraint to
|
|
1982
|
+
// Foreign key constraint to sub_agents table
|
|
1983
1983
|
foreignKey({
|
|
1984
1984
|
columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
|
|
1985
1985
|
foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
|
|
1986
|
-
name: "
|
|
1986
|
+
name: "sub_agent_function_tool_relations_sub_agent_fk"
|
|
1987
1987
|
}).onDelete("cascade"),
|
|
1988
1988
|
// Foreign key constraint to functionTools table
|
|
1989
1989
|
foreignKey({
|
|
@@ -1994,7 +1994,7 @@ var init_schema = __esm({
|
|
|
1994
1994
|
functionTools.agentId,
|
|
1995
1995
|
functionTools.id
|
|
1996
1996
|
],
|
|
1997
|
-
name: "
|
|
1997
|
+
name: "sub_agent_function_tool_relations_function_tool_fk"
|
|
1998
1998
|
}).onDelete("cascade")
|
|
1999
1999
|
]
|
|
2000
2000
|
);
|
|
@@ -2220,7 +2220,7 @@ var init_schema = __esm({
|
|
|
2220
2220
|
relationName: "receivedMessages"
|
|
2221
2221
|
}),
|
|
2222
2222
|
toolRelations: many(subAgentToolRelations),
|
|
2223
|
-
functionToolRelations: many(
|
|
2223
|
+
functionToolRelations: many(subAgentFunctionToolRelations),
|
|
2224
2224
|
dataComponentRelations: many(subAgentDataComponents),
|
|
2225
2225
|
artifactComponentRelations: many(subAgentArtifactComponents)
|
|
2226
2226
|
}));
|
|
@@ -2425,17 +2425,17 @@ var init_schema = __esm({
|
|
|
2425
2425
|
fields: [functionTools.tenantId, functionTools.projectId, functionTools.functionId],
|
|
2426
2426
|
references: [functions.tenantId, functions.projectId, functions.id]
|
|
2427
2427
|
}),
|
|
2428
|
-
|
|
2428
|
+
subAgentRelations: many(subAgentFunctionToolRelations)
|
|
2429
2429
|
}));
|
|
2430
|
-
|
|
2431
|
-
|
|
2430
|
+
subAgentFunctionToolRelationsRelations = relations(
|
|
2431
|
+
subAgentFunctionToolRelations,
|
|
2432
2432
|
({ one }) => ({
|
|
2433
|
-
|
|
2434
|
-
fields: [
|
|
2433
|
+
subAgent: one(subAgents, {
|
|
2434
|
+
fields: [subAgentFunctionToolRelations.subAgentId],
|
|
2435
2435
|
references: [subAgents.id]
|
|
2436
2436
|
}),
|
|
2437
2437
|
functionTool: one(functionTools, {
|
|
2438
|
-
fields: [
|
|
2438
|
+
fields: [subAgentFunctionToolRelations.functionToolId],
|
|
2439
2439
|
references: [functionTools.id]
|
|
2440
2440
|
})
|
|
2441
2441
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
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.
|
|
50
|
-
"@inkeep/agents-sdk": "^0.
|
|
49
|
+
"@inkeep/agents-core": "^0.21.0",
|
|
50
|
+
"@inkeep/agents-sdk": "^0.21.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/degit": "^2.8.6",
|