From 0e95138bf07e7dce9d7829ae6c9b019bf7f21ff1 Mon Sep 17 00:00:00 2001 From: minhn4 Date: Wed, 15 Jul 2026 09:11:29 +0700 Subject: [PATCH 1/2] docs: clarify db filename nuance in Internal names bullet Name opencode.db as the released-build database file and show the opencode-.db pattern that produces opencode-local.db on source runs, with a pointer to core/src/database/database.ts. Co-Authored-By: Claude Fable 5 --- DIVERGENCES.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/DIVERGENCES.md b/DIVERGENCES.md index 9e5238c7f6..e2f3253be9 100644 --- a/DIVERGENCES.md +++ b/DIVERGENCES.md @@ -157,7 +157,8 @@ from the squash message first, or use a plain merge. `ai.opencode.desktop` appId / `opencode://` scheme (identity plumbing wired into deep-link handling). - **Internal names**: `@opencode-ai/*` package names and file names - inside `~/.local/share/codev` (e.g. `opencode-local.db`) keep upstream naming on purpose. - Renaming them would be a permanent merge-conflict machine for names users never see. - Do not "clean these up". (Env vars were originally in this bucket; that decision was - reversed — see the env-var rename row.) + inside `~/.local/share/codev` (`opencode.db` in released builds; `opencode-.db`, + e.g. `opencode-local.db`, when running from source — see `core/src/database/database.ts`) + keep upstream naming on purpose. Renaming them would be a permanent merge-conflict + machine for names users never see. Do not "clean these up". (Env vars were originally + in this bucket; that decision was reversed — see the env-var rename row.) From 633df1113adec57f96cf38c61123453d4de8f419 Mon Sep 17 00:00:00 2001 From: minhn4 Date: Wed, 15 Jul 2026 09:14:18 +0700 Subject: [PATCH 2/2] docs: drop resolved env-var footnote from Internal names bullet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The reversal is already documented where it's actionable — the env-var rename row's Why and On-conflict columns; the gaps section should describe current state only. Co-Authored-By: Claude Fable 5 --- DIVERGENCES.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DIVERGENCES.md b/DIVERGENCES.md index e2f3253be9..d61ee25038 100644 --- a/DIVERGENCES.md +++ b/DIVERGENCES.md @@ -160,5 +160,4 @@ from the squash message first, or use a plain merge. inside `~/.local/share/codev` (`opencode.db` in released builds; `opencode-.db`, e.g. `opencode-local.db`, when running from source — see `core/src/database/database.ts`) keep upstream naming on purpose. Renaming them would be a permanent merge-conflict - machine for names users never see. Do not "clean these up". (Env vars were originally - in this bucket; that decision was reversed — see the env-var rename row.) + machine for names users never see. Do not "clean these up".