v1.1.0: Skills integration, cross-platform support, bug fixes

This commit is contained in:
admin
2026-02-26 02:34:00 +04:00
Unverified
parent c9799c1eac
commit 2f49d51abd
10 changed files with 1709 additions and 58 deletions

View File

@@ -67,14 +67,20 @@ async function runQwenOnce(
const args = [...baseArgs];
if (model.trim()) args.push("--model", model.trim());
// Use qwen.cmd on Windows for proper execution
const qwenCommand = process.platform === "win32" ? "qwen.cmd" : "qwen";
// Cross-platform command detection
const qwenCommand = process.platform === "win32"
? "qwen.cmd"
: process.platform === "darwin"
? "qwen"
: "qwen";
const proc = Bun.spawn([qwenCommand, ...args], {
stdout: "pipe",
stderr: "pipe",
env: buildChildEnv(baseEnv, model, api),
shell: true,
// Detach on non-Windows to allow background execution
detached: process.platform !== "win32",
});
const [rawStdout, stderr] = await Promise.all([