@tryarcanist/cli 0.1.242 → 0.1.244
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 +4 -0
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -192,6 +192,8 @@ arcanist sessions create your-org/your-repo - --model gpt-5.5
|
|
|
192
192
|
arcanist sessions create your-org/your-repo "port to claude" --backend claude_code --model claude-opus-4-8
|
|
193
193
|
arcanist sessions create your-org/your-repo "refactor auth" --reasoning-effort xhigh
|
|
194
194
|
arcanist sessions create your-org/your-repo "verify this automatically" --auto-verify
|
|
195
|
+
arcanist sessions create your-org/your-repo "use the saved login" --browser-identity identity-id
|
|
196
|
+
arcanist sessions create your-org/your-repo "start signed out" --browser-identity none
|
|
195
197
|
arcanist sessions create your-org/your-repo "fix release branch" --base-branch release/2026-06
|
|
196
198
|
arcanist sessions create your-org/your-repo "review the trace" --uploaded-file trace.txt
|
|
197
199
|
arcanist sessions create your-org/your-repo "retry-safe create" --idempotency-key 1f0e6f1a-...
|
|
@@ -203,6 +205,8 @@ arcanist sessions create your-org/your-repo "retry-safe create" --idempotency-ke
|
|
|
203
205
|
|
|
204
206
|
Use `--auto-verify` to opt the created session into automatic QA verification after PR creation. Auto verification is default-off at session create unless another surface explicitly enables it.
|
|
205
207
|
|
|
208
|
+
Use `--browser-identity <id|none>` to attach a business browser identity to the session, or pass `none` to explicitly start without one. Access is authorized by the control plane when the session is created.
|
|
209
|
+
|
|
206
210
|
Use `--base-branch <branch>` to target a non-default base branch. The CLI only validates that the branch value is non-empty; branch existence is checked later by the session runtime.
|
|
207
211
|
|
|
208
212
|
Use `--start-branch <branch>` to resume an existing branch with its history instead of forking a fresh branch off base; the control plane verifies the branch exists on the remote and fails closed if it does not.
|
package/dist/index.js
CHANGED
|
@@ -10931,6 +10931,11 @@ async function createCommand(repoUrl, promptArg, options, command) {
|
|
|
10931
10931
|
if (continuePr) body.continuePrUrl = continuePr;
|
|
10932
10932
|
if (continueMode) body.continueMode = continueMode;
|
|
10933
10933
|
if (options.onboarding) body.onboarding = true;
|
|
10934
|
+
const browserIdentity = options.browserIdentity?.trim();
|
|
10935
|
+
if (options.browserIdentity !== void 0 && !browserIdentity) {
|
|
10936
|
+
throw new CliError("user", "--browser-identity must be an identity ID or 'none'.");
|
|
10937
|
+
}
|
|
10938
|
+
if (browserIdentity) body.browserIdentityId = browserIdentity === "none" ? null : browserIdentity;
|
|
10934
10939
|
const sessionData = await apiFetch(config, "/api/sessions", {
|
|
10935
10940
|
method: "POST",
|
|
10936
10941
|
headers: { "Idempotency-Key": sessionIdempotencyKey },
|
|
@@ -12971,7 +12976,7 @@ function addCreateOptions(cmd) {
|
|
|
12971
12976
|
return cmd.argument("<repo-url>", "Repository URL").argument("[prompt]", "Prompt to send, or '-' to read stdin").option("--model <model>", "Model to use").option("--reasoning-effort <effort>", "Reasoning effort to use for models that support it").option("--auto-verify", "Opt this session into automatic QA verification after PR creation").option("--base-branch <branch>", "Base branch to create the session against (defaults to the repo default branch)").option(
|
|
12972
12977
|
"--start-branch <branch>",
|
|
12973
12978
|
"Resume an existing branch with its history instead of forking a new one off base"
|
|
12974
|
-
).option("--linear-issue <id|url>", "Associate the session with a Linear issue for pickup writeback").option("--jira-issue <key|url>", "Associate the session with a Jira issue for pickup writeback").option("--continue-pr <url>", "Continue from an existing same-repo pull request").option("--continue-mode <mode>", "Continuation mode: auto (default), update-pr, or new-pr").option("--prompt-stdin", "Read prompt from stdin").option(
|
|
12979
|
+
).option("--linear-issue <id|url>", "Associate the session with a Linear issue for pickup writeback").option("--jira-issue <key|url>", "Associate the session with a Jira issue for pickup writeback").option("--continue-pr <url>", "Continue from an existing same-repo pull request").option("--continue-mode <mode>", "Continuation mode: auto (default), update-pr, or new-pr").option("--browser-identity <id|none>", "Attach a business browser identity, or explicitly attach none").option("--prompt-stdin", "Read prompt from stdin").option(
|
|
12975
12980
|
"--uploaded-file <path>",
|
|
12976
12981
|
"Attach a local text file to the prompt as uploadedFiles; repeat for multiple files",
|
|
12977
12982
|
collectUploadedFileOption
|