chore(chrome-qwen-bridge): connect

This commit is contained in:
yiliang114
2025-12-20 15:54:20 +08:00
parent a60c5c6697
commit a1f893f0c6
3 changed files with 546 additions and 323 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
# 添加必要的 PATH
export PATH="/usr/local/bin:/Users/yiliang/.npm-global/bin:$PATH"
LOG="/var/folders/sy/9mwf8c3n2b57__q35fyxwdhh0000gp/T/qwen-wrapper.log"
echo "$(date): Wrapper started" >> "$LOG"
echo "$(date): PATH=$PATH" >> "$LOG"
# 使用完整路径运行 node
exec /usr/local/bin/node "$(dirname "$0")/host.js" 2>> "$LOG"