@tryarcanist/cli 0.1.216 → 0.1.218

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/README.md CHANGED
@@ -13,7 +13,7 @@ Requires Node.js 22 or newer.
13
13
  ## Quick start
14
14
 
15
15
  ```bash
16
- arcanist auth login # paste a token from Settings > CLI Tokens
16
+ arcanist auth login # paste a token from Settings > CLI
17
17
  arcanist sessions create https://github.com/your-org/your-repo "fix the login bug"
18
18
  arcanist sessions create https://github.com/your-org/your-repo "fix ARC-1635" --linear-issue https://linear.app/team/issue/ARC-1635/fix-login
19
19
  ```
@@ -26,7 +26,7 @@ arcanist sessions events "$SESSION_ID" --follow --json
26
26
 
27
27
  ## Authentication
28
28
 
29
- Generate a CLI token in the Arcanist UI at **Settings > CLI Tokens**, then:
29
+ Generate a CLI token in the Arcanist UI at **Settings > CLI**, then:
30
30
 
31
31
  ```bash
32
32
  arcanist auth login
@@ -222,7 +222,7 @@ Repeatable `--uploaded-file <path>` flags attach local UTF-8 text files to the p
222
222
  `--idempotency-key <uuid>` is for manually retrying a create request that may have reached the server.
223
223
  The CLI derives separate session and prompt idempotency keys from the provided value.
224
224
 
225
- `--onboarding` creates an onboarding session: the agent authors the repo's `.arcanist.json`, `.arcanist/` runtime files, `ARCANIST.md`, and conditionally `.arcanist/sandbox.yaml` + `.arcanist/sandbox.layer.Dockerfile` (when the base sandbox lacks a needed toolchain), proves what it can inside its sandbox, and opens the setup PR ready for review. The onboarding behavior is driven by the bridge's canonical onboarding playbook, not the prompt, so `--onboarding` needs no prompt: `arcanist sessions create <repo> --onboarding --wait`. Any prompt supplied alongside `--onboarding` is ignored. Team use; not part of the external API surface.
225
+ `--onboarding` creates an onboarding session: the agent authors the repo's `.arcanist.json` (`appRuntime` runtime contract plus optional `verify` review-preflight), a root `REVIEW.md` with repo-specific review checks (skipped only when the repo yields none), `.arcanist/` runtime files as needed, and `ARCANIST.md` only when the repo has no usable project doc, proves what it can inside its sandbox, and opens the setup PR ready for review. The onboarding behavior is driven by the bridge's canonical onboarding playbook, not the prompt, so `--onboarding` needs no prompt: `arcanist sessions create <repo> --onboarding --wait`. Any prompt supplied alongside `--onboarding` is ignored. Team use; not part of the external API surface.
226
226
 
227
227
  JSON mode returns `{sessionId, sessionUrl?, repoUrl, model?, agentRuntimeBackend?, reasoningEffort?, autoVerify?, baseBranch?, startBranch?, continuePrUrl?, continueMode?, onboarding?, promptId?}`. `sessionUrl` is emitted only when the server returns it; `agentRuntimeBackend` only when `--backend` is passed. With `--wait`, JSON mode also includes best-effort result fields when available: `prUrl?`, `publishedBranch?`, and `lastBranch?`.
228
228
 
@@ -529,7 +529,7 @@ SESSION_ID=$(jq -r '.sessionId' <<<"$RESULT")
529
529
 
530
530
  ## Troubleshooting
531
531
 
532
- - **401 on login verification**: token may be invalid or expired. Regenerate in **Settings > CLI Tokens**.
532
+ - **401 on login verification**: token may be invalid or expired. Regenerate in **Settings > CLI**.
533
533
  - **401 on a previously working token**: the token may have expired or been revoked in Settings. Regenerate and log in again.
534
534
  - **`You do not have access to this repository on GitHub`**: the token's user lacks repo access; fix the GitHub connection or use an accessible repo.
535
535
  - **`command not found`**: run `npm install -g @tryarcanist/cli`.
package/dist/index.js CHANGED
@@ -139,7 +139,6 @@ function hintForHttpStatus(status, resourceNoun) {
139
139
  if (status === 401 || status === 403) return "Run `arcanist auth login` or set `ARCANIST_TOKEN`.";
140
140
  if (status === 404) {
141
141
  if (resourceNoun === "token") return "List tokens with `arcanist tokens list`.";
142
- if (resourceNoun === "sandbox") return "Check sandbox state with `arcanist sandbox status`.";
143
142
  if (resourceNoun === "repo") return "Check accessible repositories with `arcanist repos list`.";
144
143
  return "List sessions with `arcanist sessions list`.";
145
144
  }
@@ -225,7 +224,6 @@ async function apiRequest(config, path, init, read) {
225
224
  function resourceNounForPath(path) {
226
225
  if (path.startsWith("/api/cli-tokens")) return "token";
227
226
  if (path.startsWith("/api/repos")) return "repo";
228
- if (path.startsWith("/api/sandbox")) return "sandbox";
229
227
  if (path.startsWith("/api/sessions")) return "session";
230
228
  return void 0;
231
229
  }
@@ -639,7 +637,6 @@ var GROK_SUBSCRIPTION_CLI_CONFIG = {
639
637
  displayName: "Grok",
640
638
  defaultBin: "grok",
641
639
  binEnvVar: "ARCANIST_GROK_BIN",
642
- binOption: "grok-path",
643
640
  // RFC 8628 device flow: prints a verification URL + code, usable from a
644
641
  // terminal without a local browser.
645
642
  loginArgs: ["login", "--device-auth"],
@@ -669,7 +666,6 @@ var CURSOR_SUBSCRIPTION_CLI_CONFIG = {
669
666
  displayName: "Cursor",
670
667
  defaultBin: "cursor-agent",
671
668
  binEnvVar: "ARCANIST_CURSOR_AGENT_BIN",
672
- binOption: "cursor-path",
673
669
  loginArgs: ["login"],
674
670
  // Cursor's CLI stores login state under its config dir; the location is not
675
671
  // formally documented, so pin every documented override at the throwaway
@@ -1762,7 +1758,6 @@ var AUTOMATION_ERROR_HINTS = {
1762
1758
  slack_channel_unavailable: "Check the Slack channel ID and confirm the bot can see the channel.",
1763
1759
  slack_bot_not_in_channel: "Invite the Arcanist bot to the channel, then retry.",
1764
1760
  rule_cap_reached: "Delete or disable an existing automation before creating another one. The cap is 20 enabled rules.",
1765
- installation_unresolved: "Reconnect or reinstall the GitHub integration for that repository, then retry.",
1766
1761
  model_not_available: "That model's backend (Claude/opencode) is limited to Arcanist team businesses; use the codex default or a codex model.",
1767
1762
  repo_skills_unavailable: "Arcanist could not verify the repo's skills right now. Retry once GitHub skill discovery is healthy.",
1768
1763
  unknown_skill: "That leading slash skill does not exist in the selected repository."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.216",
3
+ "version": "0.1.218",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {