@tenux/cli 0.0.11 → 0.0.13
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
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
loadConfig,
|
|
10
10
|
saveConfig,
|
|
11
11
|
updateConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JN3TO63A.js";
|
|
13
13
|
|
|
14
14
|
// src/cli.ts
|
|
15
15
|
import { Command } from "commander";
|
|
@@ -180,7 +180,7 @@ program.command("login").description("Authenticate with Tenux via browser-based
|
|
|
180
180
|
deviceId,
|
|
181
181
|
deviceName,
|
|
182
182
|
userId,
|
|
183
|
-
projectsDir: join(homedir(), "tenux
|
|
183
|
+
projectsDir: join(homedir(), ".tenux", "projects")
|
|
184
184
|
};
|
|
185
185
|
saveConfig(config);
|
|
186
186
|
console.log(chalk.green(" \u2713"), "Config saved to", chalk.dim(getConfigPath()));
|
package/dist/index.js
CHANGED