9f8079058a
The upstream merge in PR #7240 introduced channel-based database path separation, causing non-latest/beta channels (including local dev) to open a different DB file (e.g. kilo-local.db) instead of kilo.db. This made all existing sessions invisible. Remove the channel-based path logic and always use kilo.db. Also remove the now-unused KILO_DISABLE_CHANNEL_DB flag. Closes #7472
12 lines
346 B
TypeScript
12 lines
346 B
TypeScript
import { describe, expect, test } from "bun:test"
|
|
import path from "path"
|
|
import { Database } from "../../src/storage/db"
|
|
|
|
describe("Database.Path", () => {
|
|
// kilocode_change - always use kilo.db regardless of channel
|
|
test("always uses kilo.db", () => {
|
|
const file = path.basename(Database.Path)
|
|
expect(file).toBe("kilo.db")
|
|
})
|
|
})
|