chore(chrome-qwen-bridge): wip use chat ui

This commit is contained in:
yiliang114
2025-12-22 08:22:19 +08:00
parent 84e190fd9d
commit 43c703a79d
8 changed files with 1570 additions and 305 deletions

View File

@@ -14,4 +14,13 @@ if [ ! -f "$NODE_PATH" ]; then
fi
# 执行 Native Host
exec "$NODE_PATH" "$DIR/host.js"
# Prefer local CLI build if available and QWEN_CLI_PATH is not set
if [ -z "$QWEN_CLI_PATH" ]; then
LOCAL_CLI="$DIR/../../cli/dist/index.js"
if [ -f "$LOCAL_CLI" ]; then
export QWEN_CLI_PATH="$LOCAL_CLI"
fi
fi
exec "$NODE_PATH" "$DIR/host.js"