refactor: rename db

This commit is contained in:
Catriel Müller
2026-02-23 11:04:07 -03:00
parent 325224ceb7
commit 5f161009d7
7 changed files with 21 additions and 5 deletions
@@ -89,6 +89,13 @@ const BRANDING_REPLACEMENTS: BrandingReplacement[] = [
description: "upgrade command",
},
// Database filename
{
pattern: /opencode\.db/g,
replacement: "kilo.db",
description: "Database filename",
},
// Generic product name replacement (must come after specific patterns)
// Only replace "OpenCode" when it's a standalone word
{
@@ -109,6 +109,12 @@ const TAURI_REPLACEMENTS: TauriReplacement[] = [
},
// Rust source specific
{
pattern: /opencode\.db/g,
replacement: "kilo.db",
description: "Database filename",
fileTypes: [".rs"],
},
{
pattern: /opencode\.settings\.dat/g,
replacement: "kilo.settings.dat",