@evident-ai/cli 3.2.1-dev.978ce0d → 3.2.1-dev.a675493
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 +7 -2
- package/dist/index.js +391 -67
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -111,7 +111,10 @@ Options:
|
|
|
111
111
|
`7d`, `24h`). Setting this (or `--session-cleanup-max-count`) is what enables
|
|
112
112
|
cleanup — there is no separate on/off flag. An invalid value is warned about
|
|
113
113
|
and ignored, which can leave cleanup off if it was the only rule set. Env:
|
|
114
|
-
`EVIDENT_SESSION_CLEANUP_MAX_AGE`.
|
|
114
|
+
`EVIDENT_SESSION_CLEANUP_MAX_AGE`. With cleanup off, a runner whose local
|
|
115
|
+
session store has grown large warns once at startup, on the runner's page,
|
|
116
|
+
naming this flag — turning cleanup on both stops the store growing further
|
|
117
|
+
and reclaims disk space already used by deleted sessions.
|
|
115
118
|
- `--session-cleanup-max-count <n>` — Keep only the newest N OpenCode sessions
|
|
116
119
|
by last activity, deleting the rest. Also enables cleanup; combines with
|
|
117
120
|
`--session-cleanup-max-age` as OR. A session with a turn actively in progress
|
|
@@ -132,7 +135,9 @@ Options:
|
|
|
132
135
|
`EVIDENT_MAX_ACTIVE_SESSIONS`.
|
|
133
136
|
- `--session-cleanup-interval <duration>` — How often the cleanup sweep runs
|
|
134
137
|
(default: `1h`). An invalid value falls back to the default rather than
|
|
135
|
-
disabling cleanup.
|
|
138
|
+
disabling cleanup. Each sweep also reclaims disk space freed by the sessions
|
|
139
|
+
it deleted, so the store shrinks rather than merely stopping its growth. Env:
|
|
140
|
+
`EVIDENT_SESSION_CLEANUP_INTERVAL`.
|
|
136
141
|
- `--enable-file-sync-to <dir>` — Let the runner write files Evident has queued
|
|
137
142
|
for it into this directory — it collects them as part of the polling it
|
|
138
143
|
already does, so they land a couple of seconds after you hand them over.
|