Initial commit: QwenClaw persistent daemon for Qwen Code

This commit is contained in:
admin
2026-02-26 02:16:18 +04:00
Unverified
commit 80cdad994c
53 changed files with 7285 additions and 0 deletions

26
src/index.ts Normal file
View File

@@ -0,0 +1,26 @@
import { start } from "./commands/start";
import { stop, stopAll, clear } from "./commands/stop";
import { status } from "./commands/status";
import { telegram } from "./commands/telegram";
import { send } from "./commands/send";
const args = process.argv.slice(2);
const command = args[0];
if (command === "--stop-all") {
stopAll();
} else if (command === "--stop") {
stop();
} else if (command === "--clear") {
clear();
} else if (command === "start") {
start(args.slice(1));
} else if (command === "status") {
status();
} else if (command === "telegram") {
telegram();
} else if (command === "send") {
send(args.slice(1));
} else {
start();
}