@tryarcanist/cli 0.1.215 → 0.1.217
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 +3 -3
- package/dist/index.js +0 -5
- package/package.json +1 -1
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
|
|
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
|
|
29
|
+
Generate a CLI token in the Arcanist UI at **Settings > CLI**, then:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
arcanist auth login
|
|
@@ -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
|
|
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."
|