refactor(sync): collapse 11 sync args into forwarded token array

- Replace syncHost/syncSnapshotPath/… with syncCliTokens: string[] passed verbatim to --sync-cli sync
- Move sync CLI validation from launcher to parseSyncCliTokens (app-side single owner)
- Extract resolveImmersionDbPath to shared db-path.ts importable by both launcher and app
- Delete driver.ts; inline types into libsql-driver.ts and hard-wire openLibsqlSyncDb
- Drop OpenSyncDb injection from mergeSnapshotIntoDb and createDbSnapshot
This commit is contained in:
2026-07-12 22:31:59 -07:00
parent 344a8b44c0
commit 806c56a99b
38 changed files with 473 additions and 798 deletions
-12
View File
@@ -278,18 +278,6 @@ input {
color: var(--muted);
}
.banner {
border-radius: 10px;
padding: 10px 14px;
font-size: 13px;
}
.banner-warn {
border: 1px solid rgba(245, 169, 127, 0.4);
background: rgba(245, 169, 127, 0.08);
color: var(--warn);
}
.empty-note {
padding: 14px 4px 4px;
font-size: 13px;