@inkeep/agents-cli 0.8.0 → 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.
Files changed (2) hide show
  1. package/dist/index.js +10 -3
  2. 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
  );
@@ -20580,6 +20585,8 @@ var init_env = __esm({
20580
20585
  envSchema = z9.object({
20581
20586
  ENVIRONMENT: z9.enum(["development", "production", "pentest", "test"]).optional(),
20582
20587
  DB_FILE_NAME: z9.string().optional(),
20588
+ TURSO_DATABASE_URL: z9.string().optional(),
20589
+ TURSO_AUTH_TOKEN: z9.string().optional(),
20583
20590
  OTEL_TRACES_FORCE_FLUSH_ENABLED: z9.coerce.boolean().optional()
20584
20591
  });
20585
20592
  parseEnv = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-cli",
3
- "version": "0.8.0",
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.0",
49
- "@inkeep/agents-manage-ui": "^0.8.0"
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",