@evident-ai/cli 3.1.1-dev.fe0815c → 3.2.0
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 +15 -0
- package/dist/index.js +548 -73
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,6 +117,19 @@ Options:
|
|
|
117
117
|
`--session-cleanup-max-age` as OR. A session with a turn actively in progress
|
|
118
118
|
is never deleted, regardless of either rule. Env:
|
|
119
119
|
`EVIDENT_SESSION_CLEANUP_MAX_COUNT`.
|
|
120
|
+
- `--max-active-sessions <n>` — Cap how many sessions the runner will have
|
|
121
|
+
actively working at once (default: unlimited). Counts sessions with work in
|
|
122
|
+
flight and is per runner process, not global across runners. Once the cap is
|
|
123
|
+
reached, new work simply stays pending and is picked up on a later poll tick
|
|
124
|
+
— nothing is dropped or errored — but a follow-up into a conversation whose
|
|
125
|
+
session is already active is never blocked, since it costs no extra slot. A
|
|
126
|
+
legitimately long-running turn holds its slot for as long as it runs
|
|
127
|
+
(bounded only by the 6h absolute processing ceiling), so pick N with that in
|
|
128
|
+
mind. After a restart the runner re-adopts work it had already claimed,
|
|
129
|
+
which can briefly push the active count above the cap — that's deliberate;
|
|
130
|
+
the cap bounds new dispatch, not re-adoption. An invalid value (`0`,
|
|
131
|
+
negative, non-numeric) is warned about and falls back to unlimited. Env:
|
|
132
|
+
`EVIDENT_MAX_ACTIVE_SESSIONS`.
|
|
120
133
|
- `--session-cleanup-interval <duration>` — How often the cleanup sweep runs
|
|
121
134
|
(default: `1h`). An invalid value falls back to the default rather than
|
|
122
135
|
disabling cleanup. Env: `EVIDENT_SESSION_CLEANUP_INTERVAL`.
|
|
@@ -161,6 +174,8 @@ targets the **production** Evident platform by default.
|
|
|
161
174
|
the flag wins if both are set.
|
|
162
175
|
- `EVIDENT_SESSION_CLEANUP_MAX_COUNT` — Equivalent to
|
|
163
176
|
`--session-cleanup-max-count`; the flag wins if both are set.
|
|
177
|
+
- `EVIDENT_MAX_ACTIVE_SESSIONS` — Equivalent to `--max-active-sessions`; the
|
|
178
|
+
flag wins if both are set.
|
|
164
179
|
- `EVIDENT_SESSION_CLEANUP_INTERVAL` — Equivalent to
|
|
165
180
|
`--session-cleanup-interval`; the flag wins if both are set.
|
|
166
181
|
|