@evident-ai/cli 3.4.1-dev.f9c90e1 → 3.4.1-dev.fb92ede

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
@@ -98,6 +98,12 @@ 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>` — Which OpenCode major version to launch: `v1` or
102
+ `v2` (default: `v1`). Env: `EVIDENT_OPENCODE_VERSION`. **`v2` currently only works
103
+ against an already-running, unauthenticated `opencode2` process** — auto-starting
104
+ one is hard-gated off pending
105
+ [#2075](https://github.com/sroze/evident/issues/2075) and errors immediately
106
+ otherwise.
101
107
  - `--litestream-config <path>` — Start `litestream replicate` for the OpenCode
102
108
  session database with this config file. Use this for runner images that persist
103
109
  the session database; the file is produced by `runner-synchroniser litestream-config`.
@@ -212,10 +218,18 @@ targets the **production** Evident platform by default.
212
218
  - `EVIDENT_RESOURCE_USAGE_REPORTING` — Equivalent to
213
219
  `--no-resource-usage-reporting`; set it to `off` to disable. The flag wins
214
220
  if both are set.
221
+ - `OPENCODE_LOG_LEVEL` — OpenCode log level when `evident run` starts an
222
+ image-owned process: `DEBUG`, `INFO`, `WARN`, or `ERROR` (default: `INFO`).
223
+ Invalid values fall back to `INFO`.
224
+ Under `--opencode-version v2`, the accepted set is
225
+ `all|trace|debug|info|warn|warning|error|fatal|none` and invalid values fall back to
226
+ `info`.
215
227
  - `EVIDENT_LOG_LEVEL` — Equivalent to `--log-level`; the flag wins if both are
216
228
  set, and `-v`/`--verbose` also outranks this env var.
217
229
  - `EVIDENT_OPENCODE_START_TIMEOUT` — Equivalent to `--opencode-start-timeout`
218
230
  (seconds); the flag wins if both are set.
231
+ - `EVIDENT_OPENCODE_VERSION` — Equivalent to `--opencode-version`; the flag wins
232
+ if both are set. Defaults to `v1`.
219
233
  - `EVIDENT_SESSION_CLEANUP_MAX_AGE` — Equivalent to `--session-cleanup-max-age`;
220
234
  the flag wins if both are set.
221
235
  - `EVIDENT_SESSION_CLEANUP_MAX_COUNT` — Equivalent to