@tryarcanist/cli 0.1.202 → 0.1.203
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 +2 -0
- package/dist/index.js +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -211,6 +211,8 @@ Use `--continue-pr <url>` to continue an open same-repo pull request. The contro
|
|
|
211
211
|
|
|
212
212
|
Use `--linear-issue <id|url>` to attach a Linear issue reference to the created session.
|
|
213
213
|
The CLI echoes the request value as `linearIssue` in JSON output; pickup writeback occurs after the first prompt is durably enqueued.
|
|
214
|
+
Use `--jira-issue <key|url>` to attach a Jira issue reference to the created session.
|
|
215
|
+
The CLI echoes the request value as `jiraIssue` in JSON output; pickup writeback occurs after the first prompt is durably enqueued.
|
|
214
216
|
|
|
215
217
|
Repeatable `--uploaded-file <path>` flags attach local UTF-8 text files to the prompt. Uploaded file names come from the local basename; directory components are not sent.
|
|
216
218
|
|
package/dist/index.js
CHANGED
|
@@ -3461,6 +3461,11 @@ async function createCommand(repoUrl, promptArg, options, command) {
|
|
|
3461
3461
|
throw new CliError("user", "--linear-issue must not be empty.");
|
|
3462
3462
|
}
|
|
3463
3463
|
if (linearIssue) body.linearIssue = linearIssue;
|
|
3464
|
+
const jiraIssue = options.jiraIssue?.trim();
|
|
3465
|
+
if (options.jiraIssue !== void 0 && !jiraIssue) {
|
|
3466
|
+
throw new CliError("user", "--jira-issue must not be empty.");
|
|
3467
|
+
}
|
|
3468
|
+
if (jiraIssue) body.jiraIssue = jiraIssue;
|
|
3464
3469
|
if (continuePr) body.continuePrUrl = continuePr;
|
|
3465
3470
|
if (continueMode) body.continueMode = continueMode;
|
|
3466
3471
|
if (options.cold) body.cold = true;
|
|
@@ -3533,6 +3538,7 @@ async function createCommand(repoUrl, promptArg, options, command) {
|
|
|
3533
3538
|
if (baseBranch) output.baseBranch = baseBranch;
|
|
3534
3539
|
if (startBranch) output.startBranch = startBranch;
|
|
3535
3540
|
if (linearIssue) output.linearIssue = linearIssue;
|
|
3541
|
+
if (jiraIssue) output.jiraIssue = jiraIssue;
|
|
3536
3542
|
if (continuePr) output.continuePrUrl = continuePr;
|
|
3537
3543
|
if (continueMode) output.continueMode = continueMode;
|
|
3538
3544
|
if (options.onboarding) output.onboarding = true;
|
|
@@ -5523,7 +5529,7 @@ function addCreateOptions(cmd) {
|
|
|
5523
5529
|
return cmd.argument("<repo-url>", "Repository URL").argument("[prompt]", "Prompt to send, or '-' to read stdin").option("--model <model>", "Model to use").option("--backend <backend>", "Agent runtime backend: codex (default), claude_code, or opencode").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(
|
|
5524
5530
|
"--start-branch <branch>",
|
|
5525
5531
|
"Resume an existing branch with its history instead of forking a new one off base"
|
|
5526
|
-
).option("--linear-issue <id|url>", "Associate the session with a Linear 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(
|
|
5532
|
+
).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(
|
|
5527
5533
|
"--uploaded-file <path>",
|
|
5528
5534
|
"Attach a local text file to the prompt as uploadedFiles; repeat for multiple files",
|
|
5529
5535
|
collectUploadedFileOption
|