@tryarcanist/cli 0.1.407 → 0.1.408

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 (3) hide show
  1. package/README.md +0 -72
  2. package/dist/index.js +83 -127
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -245,52 +245,6 @@ ARCANIST_TOKEN=arc_... arcanist auth whoami --json
245
245
 
246
246
  JSON mode prints the raw `/api/auth/whoami` API response. Fields currently include `userId`, `email`, `tokenId`, `tokenScope`, and `authMode`.
247
247
 
248
- ### `arcanist auth browser-session`
249
-
250
- QA only. Trades a write-scope CLI token for a 24-hour browser session for the same user and prints it as a Playwright storage state (`{"cookies":[...],"origins":[]}`) on stdout. Only GitHub logins listed in the QA worker's `QA_BROWSER_SESSION_LOGINS` may do this; production returns 404. The output holds a live session token, so write it to a private file.
251
-
252
- ```bash
253
- ARCANIST_API_URL=https://qa.tryarcanist.com arcanist auth browser-session > storage-state.json
254
- ```
255
-
256
- ### `arcanist codex login`
257
-
258
- Local development only; deployed workspaces return 403.
259
-
260
- Authenticates a Codex/ChatGPT subscription and stores it for your Codex sessions, then activates it (turns on "use subscription auth for OpenAI sessions"). Runs the Codex CLI device-authorization login locally under a temporary `CODEX_HOME`, then uploads the resulting `auth.json` to Arcanist (encrypted, per user). The credential is never written to your default `~/.codex`. Requires a write-scoped token. If activation fails the credential is still saved; run `arcanist codex use on`.
261
-
262
- ```bash
263
- arcanist codex login
264
- arcanist codex login --codex-path /usr/local/bin/codex
265
- ```
266
-
267
- `--codex-path <path>` overrides the `codex` executable used (default: `codex` on `PATH`, or `ARCANIST_CODEX_BIN`).
268
-
269
- ### `arcanist codex use <on|off>`
270
-
271
- `on` works in local development only; deployed workspaces return 403. `off` works everywhere.
272
-
273
- Turns using your saved Codex subscription auth for OpenAI sessions on or off, without changing the stored credential. `arcanist codex login` turns it on automatically; use this to toggle it later.
274
-
275
- ```bash
276
- arcanist codex use on
277
- arcanist codex use off
278
- ```
279
-
280
- ### `arcanist codex status`
281
-
282
- Deployed workspaces report subscription auth as unavailable; it works in local development only.
283
-
284
- Shows that Codex subscription auth is available and whether an `auth.json` is currently saved.
285
-
286
- ```bash
287
- arcanist codex status
288
- arcanist codex status --json
289
- ```
290
-
291
- JSON mode returns `{eligible, credential: {isSet, lastValidationStatus?, lastValidationReasonCode?}}`; `eligible` is always
292
- `true` and remains for compatibility with older clients.
293
-
294
248
  ### `arcanist sessions get <session-id>`
295
249
 
296
250
  ```bash
@@ -374,17 +328,6 @@ arcanist sessions artifacts get abc123 art-1 -o ./run-evidence
374
328
 
375
329
  `-o, --output <dir>` picks the destination directory (default: the current directory). An artifact ID that is not in the session exits non-zero. JSON mode returns `{artifactId, path}`.
376
330
 
377
- ### `arcanist review-models show|set|clear`
378
-
379
- Arcanist members only. Stage models for your own `tryarcanist/arcanist` reviews; customer reviews never read them.
380
- A per-PR eval row still wins. `--user <id>` targets another member.
381
-
382
- ```bash
383
- arcanist review-models set --scouts deepseek-ai/DeepSeek-V4.1-Flash --verifier deepseek-ai/DeepSeek-V4.1-Flash
384
- arcanist review-models show
385
- arcanist review-models clear
386
- ```
387
-
388
331
  ### `arcanist repos list`
389
332
 
390
333
  ```bash
@@ -452,8 +395,6 @@ For cron, prefer `ARCANIST_TOKEN` or a logged-in `~/.arcanist/config.json` over
452
395
 
453
396
  ```bash
454
397
  arcanist reviews get <pr-request-id> --json
455
- arcanist reviews stages <session-id> --json
456
- arcanist reviews stages <session-id> judge --json
457
398
  arcanist sessions view <session-id> --json
458
399
  ```
459
400
 
@@ -465,19 +406,6 @@ API errors retain the normal exit codes. Quiet text mode suppresses output. JSON
465
406
  The lifecycle snapshot preserves `unavailableRequestIds` and retry/recovery state.
466
407
  For a **local request ID**, use `arcanist review --request <id> --no-wait --json` with its existing review exit codes.
467
408
 
468
- Stage reads require Arcanist membership. The index lists stage names, byte sizes, and upload timestamps.
469
- A selected record includes full structured `input`, `output`, and `threads`. The CLI fetches no other records.
470
-
471
409
  `sessions view` returns the enriched session envelope for the token workspace.
472
410
  Its prompts contain the first page only (`promptLimit=1`). Use `sessions transcript` for full activity and `sessions artifacts` for files.
473
411
  `sessions get` keeps its raw session response.
474
-
475
- ## Operator workspace admission
476
-
477
- Arcanist operators can set a workspace’s review allowance through the CLI with an admin token in `ARCANIST_TOKEN`:
478
-
479
- ```sh
480
- arcanist workspaces review-limit <business-id> default --json
481
- ```
482
-
483
- Modes are `default`, `pilot`, `unlimited`, and `off`. `off` pauses setup and new reviews while retaining the stored cap; the other modes enable admission and set the selected cap. Set `ARCANIST_API_URL` to the intended deployment. Customer CLI tokens cannot change operator admission.