v1.5.2: Fix PowerShell CLI + Enforce QwenClaw as Always-ON Agent

This commit is contained in:
admin
2026-02-26 16:53:13 +04:00
Unverified
parent 24999d8fa2
commit 7255ca42aa
6 changed files with 487 additions and 5 deletions

View File

@@ -20,7 +20,8 @@ import { fileURLToPath } from "url";
import { existsSync, readFileSync } from "fs";
const __dirname = dirname(fileURLToPath(import.meta.url));
const QWENCLAW_DIR = join(__dirname, "..");
// Use absolute path to qwenclaw installation
const QWENCLAW_DIR = process.env.QWENCLAW_DIR || join(__dirname, "..");
const QWENCLAW_START = join(QWENCLAW_DIR, "src", "index.ts");
// Colors for terminal output