Skip to content

Commit 476eb75

Browse files
ashu17706claude
andcommitted
fix: add missing cline and copilot to default agents seed
The smriti_session_meta table has a FOREIGN KEY on agent_id referencing smriti_agents, but only claude-code, codex, and cursor were seeded. This caused FK constraint failures when ingesting copilot or cline sessions on a clean database. Closes #30 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent eece25e commit 476eb75

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/db.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,18 @@ const DEFAULT_AGENTS = [
408408
log_pattern: ".cursor/**/*.json",
409409
parser: "cursor",
410410
},
411+
{
412+
id: "cline",
413+
display_name: "Cline",
414+
log_pattern: "~/.cline/tasks/**/*.json",
415+
parser: "cline",
416+
},
417+
{
418+
id: "copilot",
419+
display_name: "GitHub Copilot",
420+
log_pattern: "*/chatSessions/*.json",
421+
parser: "copilot",
422+
},
411423
] as const;
412424

413425
/** Default category taxonomy */

0 commit comments

Comments
 (0)