@evident-ai/cli 3.1.1-dev.9e90301 → 3.1.1-dev.9fe57bf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -106,6 +106,28 @@ Options:
106
106
  Claude credential is ever read. An unrecognized value falls back to `auto` with
107
107
  a warning. Env: `EVIDENT_CLAUDE_USAGE_REPORTING`.
108
108
  - `--json` — Output in JSON format (forces non-interactive mode).
109
+ - `--session-cleanup-max-age <duration>` — Delete OpenCode sessions idle longer
110
+ than this window (format `<number><unit>`, unit one of `s, m, h, d` — e.g.
111
+ `7d`, `24h`). Setting this (or `--session-cleanup-max-count`) is what enables
112
+ cleanup — there is no separate on/off flag. An invalid value is warned about
113
+ and ignored, which can leave cleanup off if it was the only rule set. Env:
114
+ `EVIDENT_SESSION_CLEANUP_MAX_AGE`.
115
+ - `--session-cleanup-max-count <n>` — Keep only the newest N OpenCode sessions
116
+ by last activity, deleting the rest. Also enables cleanup; combines with
117
+ `--session-cleanup-max-age` as OR. A session with a turn actively in progress
118
+ is never deleted, regardless of either rule. Env:
119
+ `EVIDENT_SESSION_CLEANUP_MAX_COUNT`.
120
+ - `--session-cleanup-interval <duration>` — How often the cleanup sweep runs
121
+ (default: `1h`). An invalid value falls back to the default rather than
122
+ disabling cleanup. Env: `EVIDENT_SESSION_CLEANUP_INTERVAL`.
123
+ - `--enable-file-sync-to <dir>` — Let the runner write files Evident has queued
124
+ for it into this directory — it collects them as part of the polling it
125
+ already does, so they land a couple of seconds after you hand them over.
126
+ Repeatable (up to 16); each value must be absolute once a leading `~` is
127
+ expanded, and the filesystem root is rejected. Omit it entirely and the
128
+ runner collects nothing and refuses any queued file, telling you why. Use
129
+ `--enable-file-sync-to ~/.claude` to connect a Claude subscription from the
130
+ web — see the website's Model providers doc.
109
131
 
110
132
  ## Global flags
111
133
 
@@ -131,6 +153,16 @@ targets the **production** Evident platform by default.
131
153
  - `EVIDENT_TUNNEL_URL` — Override the tunnel relay URL (equivalent to `--tunnel`).
132
154
  - `EVIDENT_CLAUDE_USAGE_REPORTING` — Equivalent to `--claude-usage-reporting`; the
133
155
  flag wins if both are set.
156
+ - `EVIDENT_LOG_LEVEL` — Equivalent to `--log-level`; the flag wins if both are
157
+ set, and `-v`/`--verbose` also outranks this env var.
158
+ - `EVIDENT_OPENCODE_START_TIMEOUT` — Equivalent to `--opencode-start-timeout`
159
+ (seconds); the flag wins if both are set.
160
+ - `EVIDENT_SESSION_CLEANUP_MAX_AGE` — Equivalent to `--session-cleanup-max-age`;
161
+ the flag wins if both are set.
162
+ - `EVIDENT_SESSION_CLEANUP_MAX_COUNT` — Equivalent to
163
+ `--session-cleanup-max-count`; the flag wins if both are set.
164
+ - `EVIDENT_SESSION_CLEANUP_INTERVAL` — Equivalent to
165
+ `--session-cleanup-interval`; the flag wins if both are set.
134
166
 
135
167
  Authentication precedence for `run`: `EVIDENT_RUNNER_KEY`/`EVIDENT_AGENT_KEY`
136
168
  (tied; `EVIDENT_RUNNER_KEY` wins if both are set) → `EVIDENT_TOKEN` →