@evident-ai/cli 3.6.1-dev.c852a6f → 3.6.1-dev.d16cfbb
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 +30 -2
- package/dist/index.js +4685 -2166
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,21 @@ Show the currently authenticated user for the current endpoint.
|
|
|
63
63
|
evident whoami
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
+
### `evident status`
|
|
67
|
+
|
|
68
|
+
Check whether the configured credentials can reach Evident. It resolves
|
|
69
|
+
credentials the same way `evident run` does: `EVIDENT_RUNNER_KEY` /
|
|
70
|
+
`EVIDENT_AGENT_KEY` → `EVIDENT_TOKEN` → credentials stored by `evident login`,
|
|
71
|
+
then calls `GET /me` to confirm they are accepted.
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
evident status
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Options:
|
|
78
|
+
|
|
79
|
+
- `--json` — Output in JSON format.
|
|
80
|
+
|
|
66
81
|
### `evident run`
|
|
67
82
|
|
|
68
83
|
Connect to Evident and serve your runner. `evident run` authenticates, resolves
|
|
@@ -187,6 +202,12 @@ Options:
|
|
|
187
202
|
disabling cleanup. Each sweep also reclaims disk space freed by the sessions
|
|
188
203
|
it deleted, so the store shrinks rather than merely stopping its growth. Env:
|
|
189
204
|
`EVIDENT_SESSION_CLEANUP_INTERVAL`.
|
|
205
|
+
- `--session-archive` — Opt in to uploading full OpenCode transcripts as JSON
|
|
206
|
+
archives to the runner's durable-state bucket. Off by default. Env:
|
|
207
|
+
`EVIDENT_SESSION_ARCHIVE` (set to `on`, `true`, or `1`; the flag wins).
|
|
208
|
+
- `--session-archive-interval <duration>` — How often changed sessions are
|
|
209
|
+
archived (default: `1h`). An invalid value warns and falls back to `1h`. Env:
|
|
210
|
+
`EVIDENT_SESSION_ARCHIVE_INTERVAL` (the flag wins).
|
|
190
211
|
- `--enable-file-sync-to <dir>` — Let the runner write files Evident has queued
|
|
191
212
|
for it into this directory — it collects them as part of the polling it
|
|
192
213
|
already does, so they land a couple of seconds after you hand them over.
|
|
@@ -251,6 +272,14 @@ targets the **production** Evident platform by default.
|
|
|
251
272
|
flag wins if both are set.
|
|
252
273
|
- `EVIDENT_SESSION_CLEANUP_INTERVAL` — Equivalent to
|
|
253
274
|
`--session-cleanup-interval`; the flag wins if both are set.
|
|
275
|
+
- `EVIDENT_SESSION_ARCHIVE` — Enable or disable full transcript archives. Off by
|
|
276
|
+
default; accepted values are `on`/`true`/`1` and `off`/`false`/`0`. The
|
|
277
|
+
`--session-archive` flag wins if both are set.
|
|
278
|
+
- `EVIDENT_SESSION_ARCHIVE_INTERVAL` — Equivalent to
|
|
279
|
+
`--session-archive-interval`; default: `1h`. The flag wins if both are set.
|
|
280
|
+
- `EVIDENT_SESSION_ARCHIVE_FLUSH_MS` — Graceful-shutdown archive flush budget in
|
|
281
|
+
milliseconds (default: `2000`). The flush is best-effort and may leave changed
|
|
282
|
+
sessions for a later hourly run.
|
|
254
283
|
- `EVIDENT_SESSION_DB_PROVENANCE_STATE` — Override the path where the CLI stores
|
|
255
284
|
session-database provenance state (default:
|
|
256
285
|
`~/.local/state/evident/session-db-provenance.json`).
|
|
@@ -272,8 +301,7 @@ evident login
|
|
|
272
301
|
|
|
273
302
|
### 2. Create a runner
|
|
274
303
|
|
|
275
|
-
In the Evident web app, create a runner
|
|
276
|
-
ID.
|
|
304
|
+
In the Evident web app, create a runner. Note its runner ID.
|
|
277
305
|
|
|
278
306
|
### 3. Run it on your machine
|
|
279
307
|
|