@evident-ai/cli 3.3.1-dev.e98fa27 → 3.4.1-dev.11f0c53
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 +22 -1
- package/dist/index.js +1540 -173
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -98,13 +98,29 @@ 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
|
+
- `--litestream-config <path>` — Start `litestream replicate` for the OpenCode
|
|
102
|
+
session database with this config file. Use this for runner images that persist
|
|
103
|
+
the session database; the file is produced by `runner-synchroniser litestream-config`.
|
|
104
|
+
Omit it to disable replication.
|
|
101
105
|
- `--claude-usage-reporting <mode>` — Whether to report the local Claude Code
|
|
102
106
|
subscription's rate-limit usage to Evident, so it shows on the runner page:
|
|
103
107
|
`auto` (default) reports it when a usable Claude Code login is found on this
|
|
104
108
|
machine and stays silent otherwise; `on` forces reporting and warns loudly (and
|
|
105
109
|
keeps retrying) if no usable login is found; `off` disables it entirely — no
|
|
106
110
|
Claude credential is ever read. An unrecognized value falls back to `auto` with
|
|
107
|
-
|
|
111
|
+
a warning. Env: `EVIDENT_CLAUDE_USAGE_REPORTING`.
|
|
112
|
+
- `--openai-usage-reporting <mode>` — Whether to report the ChatGPT plan usage
|
|
113
|
+
from an OpenCode login to Evident, so it shows on the runner page: `auto`
|
|
114
|
+
(default) reports it when a usable ChatGPT login is found and stays silent
|
|
115
|
+
otherwise; `on` forces reporting and warns loudly (and keeps retrying) if no
|
|
116
|
+
usable login is found; `off` disables it entirely — no OpenCode login is ever
|
|
117
|
+
read. An unrecognized value falls back to `auto` with a warning. Env:
|
|
118
|
+
`EVIDENT_OPENAI_USAGE_REPORTING`.
|
|
119
|
+
- `--no-resource-usage-reporting` — Don't report this machine's CPU
|
|
120
|
+
utilization, total and available memory, core count, disk space, and the
|
|
121
|
+
OpenCode session-store size to Evident, so it shows on the runner page. On
|
|
122
|
+
by default; nothing else about the machine leaves it. Env:
|
|
123
|
+
`EVIDENT_RESOURCE_USAGE_REPORTING=off` (the flag wins if both are set).
|
|
108
124
|
- `--json` — Output in JSON format (forces non-interactive mode).
|
|
109
125
|
- `--session-cleanup-max-age <duration>` — Delete OpenCode sessions idle longer
|
|
110
126
|
than this window (format `<number><unit>`, unit one of `s, m, h, d` — e.g.
|
|
@@ -171,6 +187,11 @@ targets the **production** Evident platform by default.
|
|
|
171
187
|
- `EVIDENT_TUNNEL_URL` — Override the tunnel relay URL (equivalent to `--tunnel`).
|
|
172
188
|
- `EVIDENT_CLAUDE_USAGE_REPORTING` — Equivalent to `--claude-usage-reporting`; the
|
|
173
189
|
flag wins if both are set.
|
|
190
|
+
- `EVIDENT_OPENAI_USAGE_REPORTING` — Equivalent to `--openai-usage-reporting`; the
|
|
191
|
+
flag wins if both are set.
|
|
192
|
+
- `EVIDENT_RESOURCE_USAGE_REPORTING` — Equivalent to
|
|
193
|
+
`--no-resource-usage-reporting`; set it to `off` to disable. The flag wins
|
|
194
|
+
if both are set.
|
|
174
195
|
- `EVIDENT_LOG_LEVEL` — Equivalent to `--log-level`; the flag wins if both are
|
|
175
196
|
set, and `-v`/`--verbose` also outranks this env var.
|
|
176
197
|
- `EVIDENT_OPENCODE_START_TIMEOUT` — Equivalent to `--opencode-start-timeout`
|