@tryarcanist/cli 0.1.347 → 0.1.349
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/dist/index.js +3 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7409,7 +7409,7 @@ function isTerminalPhase(phase, _sessionKind) {
|
|
|
7409
7409
|
// package.json
|
|
7410
7410
|
var package_default = {
|
|
7411
7411
|
name: "@tryarcanist/cli",
|
|
7412
|
-
version: "0.1.
|
|
7412
|
+
version: "0.1.349",
|
|
7413
7413
|
description: "Command-line interface for Arcanist: inspect sessions, prepare Zeus environments, and trigger reviews",
|
|
7414
7414
|
type: "module",
|
|
7415
7415
|
bin: {
|
|
@@ -23878,19 +23878,9 @@ async function reviewCommand(prUrl, options = {}, command) {
|
|
|
23878
23878
|
method: "POST",
|
|
23879
23879
|
body: JSON.stringify({
|
|
23880
23880
|
prUrl,
|
|
23881
|
-
// Send an explicitly passed model even when empty (e.g. --model "$VAR" with an
|
|
23882
|
-
// unset VAR) so the server rejects it as invalid instead of silently routing.
|
|
23883
|
-
...options.model !== void 0 ? { model: options.model } : {},
|
|
23884
23881
|
...sandboxRuntimeBackend !== null ? { sandboxRuntimeBackend } : {}
|
|
23885
23882
|
})
|
|
23886
23883
|
});
|
|
23887
|
-
if (trigger.skipped && trigger.reason === "duplicate_diff") {
|
|
23888
|
-
emit(command, options, trigger, (payload) => {
|
|
23889
|
-
const source = payload.sourcePrUrl ? sanitizeTerminalText(payload.sourcePrUrl) : "a prior pull request";
|
|
23890
|
-
console.log(`Zeus review skipped: this pull request has the same diff as ${source}.`);
|
|
23891
|
-
});
|
|
23892
|
-
return;
|
|
23893
|
-
}
|
|
23894
23884
|
if (!options.wait || trigger.cached) {
|
|
23895
23885
|
emit(command, options, trigger, (payload) => {
|
|
23896
23886
|
if (payload.cached) console.log(`Zeus review already completed: ${payload.verdict ?? "unknown"}.`);
|
|
@@ -27557,17 +27547,15 @@ codex.command("use <state>").description("Turn using your saved Codex subscripti
|
|
|
27557
27547
|
codex.command("status").description("Show Codex subscription availability and whether auth is saved").action((options, command) => codexStatusCommand(options, command));
|
|
27558
27548
|
codex.command("logout").description("Deactivate the selector and remove the stored Codex subscription auth for your user").action((options, command) => codexLogoutCommand(options, command));
|
|
27559
27549
|
var sessions = program.command("sessions").description("Session commands");
|
|
27560
|
-
program.command("review <pr-url>").description("Run a Zeus review for a GitHub pull request").option("--
|
|
27550
|
+
program.command("review <pr-url>").description("Run a Zeus review for a GitHub pull request").option("--sandbox-runtime <runtime>", "Force the sandbox runtime (Arcanist members only): modal, e2b, or sailbox").option("--wait", "Wait until the review is published, cancelled, or admission-rejected").option("--poll-interval <ms>", "Polling interval in milliseconds while waiting (default 10000)").addHelpText(
|
|
27561
27551
|
"after",
|
|
27562
27552
|
`
|
|
27563
27553
|
Examples:
|
|
27564
27554
|
arcanist review https://github.com/org/repo/pull/123 --wait --json
|
|
27565
|
-
arcanist review https://github.com/org/repo/pull/123 --model gpt-5.5 --wait
|
|
27566
27555
|
arcanist review https://github.com/org/repo/pull/123 --sandbox-runtime sailbox --wait
|
|
27567
27556
|
|
|
27568
27557
|
--wait returns when the review is published, cancelled, or admission-rejected. The 30-minute timeout applies only while status is in_flight.
|
|
27569
|
-
Zeus
|
|
27570
|
-
instead (members only).
|
|
27558
|
+
Zeus always uses the pinned Codex reviewer.
|
|
27571
27559
|
Zeus review is currently available to Arcanist members only.
|
|
27572
27560
|
`
|
|
27573
27561
|
).action((prUrl, options, command) => reviewCommand(prUrl, options, command));
|