@evident-ai/cli 3.6.1-dev.1a9c5e7 → 3.6.1-dev.3527a6a
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 +28 -5
- package/dist/index.js +2649 -742
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,10 +98,13 @@ Options:
|
|
|
98
98
|
healthy when the runner starts it itself (default: `180`). On expiry the runner
|
|
99
99
|
warns and comes online anyway rather than failing. Env:
|
|
100
100
|
`EVIDENT_OPENCODE_START_TIMEOUT` (seconds).
|
|
101
|
-
- `--opencode-version <v1|v2>` —
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
- `--opencode-version <v1|v2|auto>` — `auto` (default) checks for a running server
|
|
102
|
+
on the selected port, then uses your installed binary if no server is identified.
|
|
103
|
+
Use `v1` or `v2` to skip server-protocol detection. If both protocol probes require
|
|
104
|
+
credentials, the CLI reports the ambiguity rather than guessing. Env:
|
|
105
|
+
`EVIDENT_OPENCODE_VERSION`. When `evident run` starts V2, it generates a server
|
|
106
|
+
password for its requests. If you started a released V2 that needs a password this
|
|
107
|
+
command does not have, the CLI identifies it but does not join it.
|
|
105
108
|
- `--litestream-config <path>` — Start `litestream replicate` for the OpenCode
|
|
106
109
|
session database with this config file. Use this for runner images that persist
|
|
107
110
|
the session database; the file is produced by `runner-synchroniser litestream-config`.
|
|
@@ -184,6 +187,12 @@ Options:
|
|
|
184
187
|
disabling cleanup. Each sweep also reclaims disk space freed by the sessions
|
|
185
188
|
it deleted, so the store shrinks rather than merely stopping its growth. Env:
|
|
186
189
|
`EVIDENT_SESSION_CLEANUP_INTERVAL`.
|
|
190
|
+
- `--session-archive` — Opt in to uploading full OpenCode transcripts as JSON
|
|
191
|
+
archives to the runner's durable-state bucket. Off by default. Env:
|
|
192
|
+
`EVIDENT_SESSION_ARCHIVE` (set to `on`, `true`, or `1`; the flag wins).
|
|
193
|
+
- `--session-archive-interval <duration>` — How often changed sessions are
|
|
194
|
+
archived (default: `1h`). An invalid value warns and falls back to `1h`. Env:
|
|
195
|
+
`EVIDENT_SESSION_ARCHIVE_INTERVAL` (the flag wins).
|
|
187
196
|
- `--enable-file-sync-to <dir>` — Let the runner write files Evident has queued
|
|
188
197
|
for it into this directory — it collects them as part of the polling it
|
|
189
198
|
already does, so they land a couple of seconds after you hand them over.
|
|
@@ -192,6 +201,12 @@ Options:
|
|
|
192
201
|
runner collects nothing and refuses any queued file, telling you why. Use
|
|
193
202
|
`--enable-file-sync-to ~/.claude` to connect a Claude subscription from the
|
|
194
203
|
web — see the website's Model providers doc.
|
|
204
|
+
- `--enable-file-sync-to-exact-file <path>` — Let the runner write files Evident has
|
|
205
|
+
queued for it to exactly this one file; it does not grant the directory holding it.
|
|
206
|
+
Repeatable (up to 16); each value must be absolute once a leading `~` is
|
|
207
|
+
expanded, and the filesystem root is rejected. Use
|
|
208
|
+
`--enable-file-sync-to-exact-file ~/.local/share/opencode/mcp-auth.json` for
|
|
209
|
+
OpenCode's MCP token store.
|
|
195
210
|
|
|
196
211
|
## Global flags
|
|
197
212
|
|
|
@@ -233,7 +248,7 @@ targets the **production** Evident platform by default.
|
|
|
233
248
|
- `EVIDENT_OPENCODE_START_TIMEOUT` — Equivalent to `--opencode-start-timeout`
|
|
234
249
|
(seconds); the flag wins if both are set.
|
|
235
250
|
- `EVIDENT_OPENCODE_VERSION` — Equivalent to `--opencode-version`; the flag wins
|
|
236
|
-
if both are set. Defaults to `
|
|
251
|
+
if both are set. Accepts `v1`, `v2`, or `auto`. Defaults to `auto`.
|
|
237
252
|
- `EVIDENT_SESSION_CLEANUP_MAX_AGE` — Equivalent to `--session-cleanup-max-age`;
|
|
238
253
|
the flag wins if both are set.
|
|
239
254
|
- `EVIDENT_SESSION_CLEANUP_MAX_COUNT` — Equivalent to
|
|
@@ -242,6 +257,14 @@ targets the **production** Evident platform by default.
|
|
|
242
257
|
flag wins if both are set.
|
|
243
258
|
- `EVIDENT_SESSION_CLEANUP_INTERVAL` — Equivalent to
|
|
244
259
|
`--session-cleanup-interval`; the flag wins if both are set.
|
|
260
|
+
- `EVIDENT_SESSION_ARCHIVE` — Enable or disable full transcript archives. Off by
|
|
261
|
+
default; accepted values are `on`/`true`/`1` and `off`/`false`/`0`. The
|
|
262
|
+
`--session-archive` flag wins if both are set.
|
|
263
|
+
- `EVIDENT_SESSION_ARCHIVE_INTERVAL` — Equivalent to
|
|
264
|
+
`--session-archive-interval`; default: `1h`. The flag wins if both are set.
|
|
265
|
+
- `EVIDENT_SESSION_ARCHIVE_FLUSH_MS` — Graceful-shutdown archive flush budget in
|
|
266
|
+
milliseconds (default: `2000`). The flush is best-effort and may leave changed
|
|
267
|
+
sessions for a later hourly run.
|
|
245
268
|
- `EVIDENT_SESSION_DB_PROVENANCE_STATE` — Override the path where the CLI stores
|
|
246
269
|
session-database provenance state (default:
|
|
247
270
|
`~/.local/state/evident/session-db-provenance.json`).
|