@bjoernrochel/sevro 0.1.0-rc.6 → 0.1.0-rc.7
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/docs/development-cli.md +8 -0
- package/docs/installing.md +2 -2
- package/package.json +1 -1
- package/src/cli-invocation.ts +10 -1
package/docs/development-cli.md
CHANGED
|
@@ -53,6 +53,14 @@ only passive conditions. `--host` and `--adapter-module` are exclusive. Use
|
|
|
53
53
|
`--protected-root` to add private roots for Codex, including when no shell
|
|
54
54
|
checks are selected.
|
|
55
55
|
|
|
56
|
+
Use `--codex-timeout-ms <milliseconds>` to set the native Codex execution
|
|
57
|
+
timeout. It accepts an integer from `1` through `1800000` (30 minutes) and
|
|
58
|
+
defaults to `600000` (10 minutes) when omitted. It applies to every selected
|
|
59
|
+
Codex route, including semantic and advisory roles, and to both `exec` and
|
|
60
|
+
`app-server` entrypoints. For a 20-minute app-server evaluation, add
|
|
61
|
+
`--codex-entrypoint app-server --codex-timeout-ms 1200000` to the Codex command
|
|
62
|
+
above. The option requires a Codex host route; invalid values fail before a run.
|
|
63
|
+
|
|
56
64
|
### Trial concurrency
|
|
57
65
|
|
|
58
66
|
`--jobs <positive integer>` bounds simultaneous trials within one case and
|
package/docs/installing.md
CHANGED
|
@@ -22,10 +22,10 @@ Local installation records the selected version in the project lockfile.
|
|
|
22
22
|
|
|
23
23
|
## Current release
|
|
24
24
|
|
|
25
|
-
The current release is `0.1.0-rc.
|
|
25
|
+
The current release is `0.1.0-rc.7`. Install this exact version:
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
bun add --exact @bjoernrochel/sevro@0.1.0-rc.
|
|
28
|
+
bun add --exact @bjoernrochel/sevro@0.1.0-rc.7
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
<!-- sevro-current-release:end -->
|
package/package.json
CHANGED
package/src/cli-invocation.ts
CHANGED
|
@@ -60,6 +60,7 @@ const RUN_OPTIONS = {
|
|
|
60
60
|
host: { type: "string" },
|
|
61
61
|
"codex-bin": { type: "string" },
|
|
62
62
|
"codex-entrypoint": { type: "string" },
|
|
63
|
+
"codex-timeout-ms": { type: "string" },
|
|
63
64
|
"codex-auth-file": { type: "string" },
|
|
64
65
|
"claude-bin": { type: "string" },
|
|
65
66
|
"claude-credential-file": { type: "string" },
|
|
@@ -198,7 +199,11 @@ const HOST_COMPATIBILITY: CompatibilityRule[] = [
|
|
|
198
199
|
!r.codex &&
|
|
199
200
|
!r.semanticCodex &&
|
|
200
201
|
!r.advisoryCodex &&
|
|
201
|
-
|
|
202
|
+
[
|
|
203
|
+
v["codex-bin"],
|
|
204
|
+
v["codex-auth-file"],
|
|
205
|
+
v["codex-timeout-ms"] !== undefined,
|
|
206
|
+
].some(Boolean),
|
|
202
207
|
message: "Codex options require a Codex host route",
|
|
203
208
|
},
|
|
204
209
|
{
|
|
@@ -355,6 +360,10 @@ function commonCodexOptions(
|
|
|
355
360
|
return {
|
|
356
361
|
binary: absoluteOption(values["codex-bin"], "--codex-bin"),
|
|
357
362
|
authFile: absoluteOption(values["codex-auth-file"], "--codex-auth-file"),
|
|
363
|
+
timeoutMs:
|
|
364
|
+
values["codex-timeout-ms"] === undefined
|
|
365
|
+
? undefined
|
|
366
|
+
: Number(values["codex-timeout-ms"]),
|
|
358
367
|
projectRoot: roots.projectRoot,
|
|
359
368
|
resultsRoot: roots.resultsRoot,
|
|
360
369
|
additionalProtectedRoots: [...privateRoots, roots.runStateRoot],
|