Functions§
- collect_
opencode - collect_
opencode_ from - Read one data directory: SQLite databases first (the current format), then the
legacy
storage/message/**.jsonfiles, de-duplicated by message id. - roots
- OpenCode data directories:
$OPENCODE_DATA_DIR, else$XDG_DATA_HOME/opencodeand~/.local/share/opencode(OpenCode uses the XDG layout on every OS), plus the platform data dir (%LOCALAPPDATA%on Windows).