@tryarcanist/cli 0.1.37 → 0.1.39
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/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1565,7 +1565,8 @@ async function createCommand(repoUrl, promptArg, options, command) {
|
|
|
1565
1565
|
headers: { "Idempotency-Key": sessionIdempotencyKey },
|
|
1566
1566
|
body: JSON.stringify({
|
|
1567
1567
|
context: { repoUrl },
|
|
1568
|
-
...options.model ? { model: options.model } : {}
|
|
1568
|
+
...options.model ? { model: options.model } : {},
|
|
1569
|
+
...options.reasoningEffort ? { reasoningEffort: options.reasoningEffort } : {}
|
|
1569
1570
|
})
|
|
1570
1571
|
});
|
|
1571
1572
|
const sessionId = sessionData.sessionId;
|
|
@@ -1605,6 +1606,7 @@ async function createCommand(repoUrl, promptArg, options, command) {
|
|
|
1605
1606
|
...sessionData.sessionUrl ? { sessionUrl: sessionData.sessionUrl } : {},
|
|
1606
1607
|
repoUrl,
|
|
1607
1608
|
...options.model ? { model: options.model } : {},
|
|
1609
|
+
...options.reasoningEffort ? { reasoningEffort: options.reasoningEffort } : {},
|
|
1608
1610
|
...promptId ? { promptId } : {}
|
|
1609
1611
|
});
|
|
1610
1612
|
return;
|
|
@@ -1915,7 +1917,7 @@ program.hook("preAction", (_thisCommand, actionCommand) => {
|
|
|
1915
1917
|
applyColorEnvironment(getRuntimeOptions(actionCommand));
|
|
1916
1918
|
});
|
|
1917
1919
|
function addCreateOptions(cmd) {
|
|
1918
|
-
return cmd.argument("<repo-url>", "Repository URL").argument("[prompt]", "Prompt to send, or '-' to read stdin").option("--model <model>", "Model to use").option("--prompt-stdin", "Read prompt from stdin").option("--wait", "Wait for the created prompt to finish and exit non-zero if it fails").option(
|
|
1920
|
+
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("--prompt-stdin", "Read prompt from stdin").option("--wait", "Wait for the created prompt to finish and exit non-zero if it fails").option(
|
|
1919
1921
|
"--poll-interval <ms>",
|
|
1920
1922
|
"Polling interval in milliseconds while waiting",
|
|
1921
1923
|
String(DEFAULT_WATCH_POLL_INTERVAL_MS)
|