Rust CLI with clap subcommands (pretty/raw json/raw plain/fetch/cache/config). Per-workspace dual HTTP (Zen balance + Go limits) run with tokio::join, 500 ms workspace pacing, TTL-180s file cache, retry/backoff for transient failures. scrape.rs holds the only OpenCode-coupled HTML selectors (placeholders until the real Zen/Go pages are captured). Unicode blitter-block bars in pretty mode; stable JSON/plain raw output for widgets and agent plugins.
15 lines
455 B
TOML
15 lines
455 B
TOML
# Example ocd config. Copy to ~/.config/ocd/config.toml and edit.
|
|
# Cookies are the full Cookie header value. ${VAR} expands from the environment.
|
|
default_concurrency = 1
|
|
default_ttl_secs = 180
|
|
|
|
[[account]]
|
|
name = "work"
|
|
cookie = "${OCD_COOKIE_WORK}"
|
|
default_workspace = "ws_REPLACE_ME"
|
|
extra_workspaces = []
|
|
|
|
[[account]]
|
|
name = "personal"
|
|
cookie = "ocd_session=...."
|
|
default_workspace = "ws_REPLACE_ME" |