Skip to main content

opencode_sqlite_session_ids

Function opencode_sqlite_session_ids 

Source
pub fn opencode_sqlite_session_ids(
    db_path: &Path,
) -> Result<Vec<String>, InterchangeError>
Expand description

D6: list every session id in an OpenCode SQLite store (oldest first) — exposed so CLI callers (convert, inspect) can detect a multi-session store and warn before Session::load/Session::from_opencode_sqlite silently picks just the primary one. Previously nothing surfaced this: convert opencode.db --to X converted 1-of-N sessions with no warning and no way to name a different one.