@tryarcanist/cli 0.1.322 → 0.1.324
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 +10 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7370,7 +7370,7 @@ import { Command } from "commander";
|
|
|
7370
7370
|
// package.json
|
|
7371
7371
|
var package_default = {
|
|
7372
7372
|
name: "@tryarcanist/cli",
|
|
7373
|
-
version: "0.1.
|
|
7373
|
+
version: "0.1.324",
|
|
7374
7374
|
description: "CLI for Arcanist - create and manage coding agent sessions",
|
|
7375
7375
|
type: "module",
|
|
7376
7376
|
bin: {
|
|
@@ -23879,12 +23879,16 @@ var PR_REVIEW_POLL_INTERVAL_MS = 1e4;
|
|
|
23879
23879
|
var PR_REVIEW_WAIT_TIMEOUT_MS = 30 * 60 * 1e3;
|
|
23880
23880
|
var SANDBOX_RUNTIME_BACKENDS = {
|
|
23881
23881
|
e2b: "e2b_cloud",
|
|
23882
|
-
modal: "modal_cloud"
|
|
23882
|
+
modal: "modal_cloud",
|
|
23883
|
+
sailbox: "sail_cloud"
|
|
23883
23884
|
};
|
|
23885
|
+
function isSandboxRuntimeOption(runtime) {
|
|
23886
|
+
return Object.hasOwn(SANDBOX_RUNTIME_BACKENDS, runtime);
|
|
23887
|
+
}
|
|
23884
23888
|
function resolveSandboxRuntimeBackend(runtime) {
|
|
23885
23889
|
if (runtime === void 0) return null;
|
|
23886
|
-
if (runtime
|
|
23887
|
-
throw new CliError("user", "Sandbox runtime must be modal or
|
|
23890
|
+
if (!isSandboxRuntimeOption(runtime)) {
|
|
23891
|
+
throw new CliError("user", "Sandbox runtime must be modal, e2b, or sailbox.");
|
|
23888
23892
|
}
|
|
23889
23893
|
return SANDBOX_RUNTIME_BACKENDS[runtime];
|
|
23890
23894
|
}
|
|
@@ -27514,13 +27518,13 @@ codex.command("use <state>").description("Turn using your saved Codex subscripti
|
|
|
27514
27518
|
codex.command("status").description("Show Codex subscription availability and whether auth is saved").action((options, command) => codexStatusCommand(options, command));
|
|
27515
27519
|
codex.command("logout").description("Deactivate the selector and remove the stored Codex subscription auth for your user").action((options, command) => codexLogoutCommand(options, command));
|
|
27516
27520
|
var sessions = program.command("sessions").description("Session commands");
|
|
27517
|
-
program.command("review <pr-url>").description("Run a Zeus review for a GitHub pull request").option("--focus <text>", "Ignored. Zeus always reviews the full pull request").option("--model <model>", "Pin the reviewer model (Arcanist members only); defaults to the Codex reviewer").option("--sandbox-runtime <runtime>", "Force the sandbox runtime (Arcanist members only): modal or
|
|
27521
|
+
program.command("review <pr-url>").description("Run a Zeus review for a GitHub pull request").option("--focus <text>", "Ignored. Zeus always reviews the full pull request").option("--model <model>", "Pin the reviewer model (Arcanist members only); defaults to the Codex reviewer").option("--sandbox-runtime <runtime>", "Force the sandbox runtime (Arcanist members only): modal, e2b, or sailbox").option("--wait", "Wait for the review and print its verdict and findings").option("--poll-interval <ms>", "Polling interval in milliseconds while waiting (default 10000)").addHelpText(
|
|
27518
27522
|
"after",
|
|
27519
27523
|
`
|
|
27520
27524
|
Examples:
|
|
27521
27525
|
arcanist review https://github.com/org/repo/pull/123 --wait --json
|
|
27522
27526
|
arcanist review https://github.com/org/repo/pull/123 --model gpt-5.5 --wait
|
|
27523
|
-
arcanist review https://github.com/org/repo/pull/123 --sandbox-runtime
|
|
27527
|
+
arcanist review https://github.com/org/repo/pull/123 --sandbox-runtime sailbox --wait
|
|
27524
27528
|
|
|
27525
27529
|
Zeus reviews with a pinned Codex reviewer model. --model pins a different reviewer model
|
|
27526
27530
|
instead (members only).
|