@tryarcanist/cli 0.1.262 → 0.1.264
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 +12 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -417,6 +417,18 @@ arcanist tokens revoke 42 --yes --json
|
|
|
417
417
|
|
|
418
418
|
Under `--json`, `--yes` is required.
|
|
419
419
|
|
|
420
|
+
### `arcanist anubis <pr-url>`
|
|
421
|
+
|
|
422
|
+
Runs an Anubis QA verification on a pull request: Anubis boots your app and a browser in a sandbox, tests the PR's changed behavior through the running product, and posts the verdict as a PR comment marked `arcanist-anubis:v1`. Needs a write-scoped token and write access to the repository.
|
|
423
|
+
|
|
424
|
+
```bash
|
|
425
|
+
arcanist anubis https://github.com/your-org/your-repo/pull/123 --wait --json
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
Without `--wait`, JSON mode returns `{sessionId, claimed? | duplicate?}`; with `--wait`, `{sessionId, sessionStatus, verdict, summary?}`. Known verdicts are `works`, `broken`, and `could-not-verify`.
|
|
429
|
+
`--poll-interval <ms>` overrides the 15s status polling cadence while waiting.
|
|
430
|
+
Active runs are deduplicated server-side, so the idempotency-key option does not apply.
|
|
431
|
+
|
|
420
432
|
## Automation recipes
|
|
421
433
|
|
|
422
434
|
Run a prompt on a schedule and alert only when the prompt itself fails — `sessions create --wait` makes the exit code reflect the prompt outcome:
|
package/dist/index.js
CHANGED
|
@@ -12821,7 +12821,7 @@ Examples:
|
|
|
12821
12821
|
Known verdicts are works, broken, and could-not-verify.
|
|
12822
12822
|
Anubis deduplicates active runs server-side; it does not use --idempotency-key.
|
|
12823
12823
|
The result is posted as a PR comment marked arcanist-anubis:v1.
|
|
12824
|
-
Anubis
|
|
12824
|
+
Anubis requires a write-scoped CLI token and repository write access.
|
|
12825
12825
|
`
|
|
12826
12826
|
).action((prUrl, options, command) => anubisCommand(prUrl, options, command));
|
|
12827
12827
|
addCreateOptions(sessions.command("create").description("Create a session and send a prompt")).action(
|