@tryarcanist/cli 0.1.220 → 0.1.221

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -975,7 +975,13 @@ async function reviewCommand(prUrl, options = {}, command) {
975
975
  const { config } = resolveBusinessContext(command, options);
976
976
  const trigger = await apiFetch(config, "/api/pr-reviews", {
977
977
  method: "POST",
978
- body: JSON.stringify({ prUrl, ...options.focus ? { focus: options.focus } : {} })
978
+ body: JSON.stringify({
979
+ prUrl,
980
+ ...options.focus ? { focus: options.focus } : {},
981
+ // Send an explicitly passed model even when empty (e.g. --model "$VAR" with an
982
+ // unset VAR) so the server rejects it as invalid instead of silently routing.
983
+ ...options.model !== void 0 ? { model: options.model } : {}
984
+ })
979
985
  });
980
986
  if (!options.wait || trigger.cached) {
981
987
  emit(command, options, trigger, (payload) => {
@@ -6405,14 +6411,17 @@ cursor.command("use <state>").description("Turn using your saved Cursor subscrip
6405
6411
  cursor.command("status").description("Show whether your workspace is eligible and whether a Cursor subscription auth is saved").action((options, command) => agentSubscriptionStatusCommand(CURSOR_SUBSCRIPTION_CLI_CONFIG, options, command));
6406
6412
  cursor.command("logout").description("Deactivate the selector and remove the stored Cursor subscription auth for your user").action((options, command) => agentSubscriptionLogoutCommand(CURSOR_SUBSCRIPTION_CLI_CONFIG, options, command));
6407
6413
  var sessions = program.command("sessions").description("Session commands");
6408
- program.command("review <pr-url>").description("Run a Zeus review for a GitHub pull request").option("--focus <text>", "Focus the review on a specific concern").option("--wait", "Wait for the review and print its verdict and findings").addHelpText(
6414
+ program.command("review <pr-url>").description("Run a Zeus review for a GitHub pull request").option("--focus <text>", "Focus the review on a specific concern").option("--model <model>", "Pin the reviewer model (Arcanist members only); defaults to automatic routing").option("--wait", "Wait for the review and print its verdict and findings").addHelpText(
6409
6415
  "after",
6410
6416
  `
6411
6417
  Examples:
6412
6418
  arcanist review https://github.com/org/repo/pull/123 --wait --json
6413
6419
  arcanist review https://github.com/org/repo/pull/123 --focus "Check auth" --wait
6420
+ arcanist review https://github.com/org/repo/pull/123 --model gpt-5.5 --wait
6414
6421
 
6415
- Zeus always runs the platform-managed Codex reviewer; --model and --backend do not apply to reviews.
6422
+ When the PR came from an Arcanist session, Zeus defaults to the runtime backend opposite
6423
+ the author's as a cross-check; otherwise it uses the default Codex reviewer. --model pins
6424
+ a specific reviewer model instead (members only).
6416
6425
  Zeus review is currently available to Arcanist members only.
6417
6426
  `
6418
6427
  ).action((prUrl, options, command) => reviewCommand(prUrl, options, command));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.220",
3
+ "version": "0.1.221",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {