@inkeep/agents-cli 0.8.1 → 0.8.2
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 +8 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1374,7 +1374,7 @@ import {
|
|
|
1374
1374
|
text,
|
|
1375
1375
|
unique
|
|
1376
1376
|
} from "drizzle-orm/sqlite-core";
|
|
1377
|
-
var projects, agentGraph, contextConfigs, contextCache, agents, agentRelations, externalAgents, tasks, taskRelations, dataComponents, agentDataComponents, artifactComponents, agentArtifactComponents, tools, agentToolRelations, conversations, messages, ledgerArtifacts, apiKeys, credentialReferences, ledgerArtifactsTaskIdIdx, ledgerArtifactsContextIdIdx, ledgerArtifactsTaskContextNameUnique, tasksRelations, projectsRelations, taskRelationsRelations, contextConfigsRelations, contextCacheRelations, agentsRelations, agentGraphRelations, externalAgentsRelations, apiKeysRelations, agentToolRelationsRelations, credentialReferencesRelations, toolsRelations, conversationsRelations, messagesRelations, artifactComponentsRelations, agentArtifactComponentsRelations, dataComponentsRelations, agentDataComponentsRelations, ledgerArtifactsRelations, agentRelationsRelations;
|
|
1377
|
+
var projects, agentGraph, contextConfigs, contextCache, agents, agentRelations, externalAgents, tasks, taskRelations, dataComponents, agentDataComponents, artifactComponents, agentArtifactComponents, tools, agentToolRelations, conversations, messages, ledgerArtifacts, apiKeys, credentialReferences, ledgerArtifactsTaskIdIdx, ledgerArtifactsToolCallIdIdx, ledgerArtifactsContextIdIdx, ledgerArtifactsTaskContextNameUnique, tasksRelations, projectsRelations, taskRelationsRelations, contextConfigsRelations, contextCacheRelations, agentsRelations, agentGraphRelations, externalAgentsRelations, apiKeysRelations, agentToolRelationsRelations, credentialReferencesRelations, toolsRelations, conversationsRelations, messagesRelations, artifactComponentsRelations, agentArtifactComponentsRelations, dataComponentsRelations, agentDataComponentsRelations, ledgerArtifactsRelations, agentRelationsRelations;
|
|
1378
1378
|
var init_schema = __esm({
|
|
1379
1379
|
"../packages/agents-core/src/db/schema.ts"() {
|
|
1380
1380
|
"use strict";
|
|
@@ -1869,7 +1869,9 @@ var init_schema = __esm({
|
|
|
1869
1869
|
projectId: text("project_id").notNull(),
|
|
1870
1870
|
id: text("id").notNull(),
|
|
1871
1871
|
// Links
|
|
1872
|
-
taskId: text("task_id"),
|
|
1872
|
+
taskId: text("task_id").notNull(),
|
|
1873
|
+
toolCallId: text("tool_call_id"),
|
|
1874
|
+
// Added for traceability to the specific tool execution
|
|
1873
1875
|
contextId: text("context_id").notNull(),
|
|
1874
1876
|
// Core Artifact fields
|
|
1875
1877
|
type: text("type").notNull().default("source"),
|
|
@@ -1888,7 +1890,7 @@ var init_schema = __esm({
|
|
|
1888
1890
|
updatedAt: text("updated_at").notNull().default(sql`CURRENT_TIMESTAMP`)
|
|
1889
1891
|
},
|
|
1890
1892
|
(table) => [
|
|
1891
|
-
primaryKey({ columns: [table.tenantId, table.projectId, table.id] }),
|
|
1893
|
+
primaryKey({ columns: [table.tenantId, table.projectId, table.id, table.taskId] }),
|
|
1892
1894
|
foreignKey({
|
|
1893
1895
|
columns: [table.tenantId, table.projectId],
|
|
1894
1896
|
foreignColumns: [projects.tenantId, projects.id],
|
|
@@ -1957,6 +1959,9 @@ var init_schema = __esm({
|
|
|
1957
1959
|
ledgerArtifactsTaskIdIdx = index("ledger_artifacts_task_id_idx").on(
|
|
1958
1960
|
ledgerArtifacts.taskId
|
|
1959
1961
|
);
|
|
1962
|
+
ledgerArtifactsToolCallIdIdx = index("ledger_artifacts_tool_call_id_idx").on(
|
|
1963
|
+
ledgerArtifacts.toolCallId
|
|
1964
|
+
);
|
|
1960
1965
|
ledgerArtifactsContextIdIdx = index("ledger_artifacts_context_id_idx").on(
|
|
1961
1966
|
ledgerArtifacts.contextId
|
|
1962
1967
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"recast": "^0.23.0",
|
|
46
46
|
"ts-morph": "^26.0.0",
|
|
47
47
|
"tsx": "^4.20.5",
|
|
48
|
-
"@inkeep/agents-core": "^0.8.
|
|
49
|
-
"@inkeep/agents-manage-ui": "^0.8.
|
|
48
|
+
"@inkeep/agents-core": "^0.8.2",
|
|
49
|
+
"@inkeep/agents-manage-ui": "^0.8.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/degit": "^2.8.6",
|