@sellable/install 0.1.250 → 0.1.252
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/package.json
CHANGED
|
@@ -310,13 +310,21 @@ acceptable only when it writes a fresh durable per-lane receipt artifact as it
|
|
|
310
310
|
works.
|
|
311
311
|
When visible Codex app thread tools are unavailable but local Codex CLI is
|
|
312
312
|
available, the accepted durable streaming-worker command shape is:
|
|
313
|
-
`codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> -`.
|
|
313
|
+
`codex -a never -s danger-full-access exec -m <worker-model> -C <repo> -o <worker-final-file> -`.
|
|
314
314
|
The approval and sandbox flags must come before the `exec` subcommand for Codex
|
|
315
315
|
CLI builds that expose `-a`/`-s` only at top level. Do not use
|
|
316
316
|
`codex exec --ask-for-approval never ...` or `codex exec -a never ...`; those
|
|
317
317
|
forms fail on current customer CLI installs. Pipe the lane packet prompt on
|
|
318
318
|
stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
319
319
|
pass exactly one lane packet per worker.
|
|
320
|
+
When launching durable Codex CLI workers from an automation parent, pass an
|
|
321
|
+
explicit supported worker model instead of relying on the Codex CLI default
|
|
322
|
+
model. Use the parent runtime model when known, for example:
|
|
323
|
+
`codex -a never -s danger-full-access exec -m <worker-model> -C <repo> -o <worker-final-file> -`.
|
|
324
|
+
Do not rely on the Codex CLI default model; some customer and VPS installs
|
|
325
|
+
default to unavailable model aliases. If the parent cannot identify a supported
|
|
326
|
+
worker model and a test `codex exec -m <worker-model>` launch is rejected, stop
|
|
327
|
+
with `blocked: worker_model_unavailable` before mutation.
|
|
320
328
|
When wrapping multiple local Codex CLI workers in a shell launcher, run the
|
|
321
329
|
wrapper with `/bin/bash -lc` or another explicitly chosen portable shell. Do not
|
|
322
330
|
rely on zsh-specific behavior. Do not use `status` as a shell variable because
|
|
@@ -328,7 +336,7 @@ Do not embed `<<'WORKER_PROMPT'` heredocs inside a single quoted or double
|
|
|
328
336
|
quoted `/bin/bash -lc '...'` command string; nested quoting is brittle and can
|
|
329
337
|
truncate the first worker before mutation. For multi-worker launchers, write one
|
|
330
338
|
plain prompt file per lane under the current run directory, then start each
|
|
331
|
-
worker with `codex -a never -s danger-full-access exec -C "$REPO" -o
|
|
339
|
+
worker with `codex -a never -s danger-full-access exec -m "$WORKER_MODEL" -C "$REPO" -o
|
|
332
340
|
"$worker_final_file" - < "$worker_prompt_file"`. Keep launcher shell variables
|
|
333
341
|
double-quoted and keep the prompt heredoc only in a standalone script/prompt-file
|
|
334
342
|
write step, not inside an already quoted shell argument. If the first launcher
|
|
@@ -386,7 +394,7 @@ launchers, write the same prompt body to `<worker-prompt-file>` and launch the
|
|
|
386
394
|
worker with stdin redirected from that file:
|
|
387
395
|
|
|
388
396
|
```
|
|
389
|
-
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - <<'WORKER_PROMPT'
|
|
397
|
+
codex -a never -s danger-full-access exec -m <worker-model> -C <repo> -o <worker-final-file> - <<'WORKER_PROMPT'
|
|
390
398
|
Use $sellable:create-evergreen-campaigns as the governing skill for this one lane worker.
|
|
391
399
|
|
|
392
400
|
Workspace id: <workspaceId>
|
|
@@ -409,7 +417,7 @@ Complete only this lane, write the required durable receipt JSON, and stop.
|
|
|
409
417
|
WORKER_PROMPT
|
|
410
418
|
|
|
411
419
|
# Multi-worker launcher equivalent:
|
|
412
|
-
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - < <worker-prompt-file>
|
|
420
|
+
codex -a never -s danger-full-access exec -m <worker-model> -C <repo> -o <worker-final-file> - < <worker-prompt-file>
|
|
413
421
|
```
|
|
414
422
|
|
|
415
423
|
If any placeholder cannot be filled from the current lane packet, do not inspect
|