Skip to main content

Module db

Module db 

Source

Structs§

Row

Constants§

PROVIDERS
Providers that belong to this tool. opencode-go is the Go subscription, opencode the Zen pay-as-you-go gateway.

Functions§

default_path
Default store location: $OPENCODE_DB, else the XDG data dir.
opencode_home
opencode’s own directory: $XDG_DATA_HOME/opencode, else ~/.local/share/opencode. Holds the store and auth.json (the Go key).
read_rows
Every OpenCode-owned assistant row at or after since_ms, oldest first.