Commit Graph

5 Commits

Author SHA1 Message Date
Mark IJbema 9f8079058a fix(cli): always use kilo.db regardless of channel
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
2026-03-23 18:33:21 +01:00
Catriel Müller b8f07d8070 resolve merge conflicts 2026-03-18 08:21:52 -03:00
Catriel Müller 95af221084 refactor: fix test 2026-03-17 18:10:43 -03:00
Dax Raad 523f792b48 core: update database path test to verify correct channel-based filename
The test now validates that the database file is named according to the current installation channel (latest/beta get 'opencode.db', others get sanitized names). This ensures users' data is stored in the correct location based on their update channel.
2026-03-07 18:53:29 -05:00
Luke Parker 4c7fe60493 fix(opencode): sanitize preview database filenames (#16430) 2026-03-07 04:34:29 +00:00