@tenux/cli 0.0.11 → 0.0.12
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.
|
@@ -209,7 +209,11 @@ async function handleClaudeQuery(command, supabase) {
|
|
|
209
209
|
prompt,
|
|
210
210
|
project_path,
|
|
211
211
|
model,
|
|
212
|
-
session_id
|
|
212
|
+
session_id,
|
|
213
|
+
effort,
|
|
214
|
+
permission_mode,
|
|
215
|
+
max_budget,
|
|
216
|
+
system_prompt
|
|
213
217
|
} = command.payload;
|
|
214
218
|
if (!prompt) throw new Error("prompt is required");
|
|
215
219
|
const config = loadConfig();
|
|
@@ -233,6 +237,10 @@ async function handleClaudeQuery(command, supabase) {
|
|
|
233
237
|
// structured streaming output
|
|
234
238
|
];
|
|
235
239
|
if (model) args.push("--model", model);
|
|
240
|
+
if (effort) args.push("--effort", effort);
|
|
241
|
+
if (permission_mode) args.push("--permission-mode", permission_mode);
|
|
242
|
+
if (max_budget) args.push("--max-budget-usd", max_budget);
|
|
243
|
+
if (system_prompt) args.push("--append-system-prompt", system_prompt);
|
|
236
244
|
if (session_id) args.push("--resume", session_id);
|
|
237
245
|
const isWindows = process.platform === "win32";
|
|
238
246
|
const claudeBin = isWindows ? "claude.cmd" : "claude";
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED