Files
awoooi/scripts/aider_watch_client/launchd/com.awoooi.aider-flush.plist
Your Name ce918ee44e
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 10m18s
feat(client): B5 install.sh + launchd aider-flush plist
Mac 端安裝腳本:pipx install aider-watch-client → symlink 到 /opt/homebrew/bin →
驗 ~/.aider-watch.env 必要 key → 建 ~/aider-watch 工作目錄 →
載 launchd com.awoooi.aider-flush(每 5min flush buffer)→ 跑 aider-watch doctor。

走 a 路線(LAN direct AIDER_API_URL=http://192.168.0.120:32334/api/v1/aider/events)。
全景檢查:家用場景,B3 buffer + 5min flush 已覆蓋短暫斷網,無需 Tailscale。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 19:40:02 +08:00

34 lines
929 B
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<!-- aider-watch-client flush | 2026-04-20 @ Asia/Taipei
每 5 min 把 ~/aider-watch/buffer 未推送的 event flush 回 awoooi API -->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.awoooi.aider-flush</string>
<key>ProgramArguments</key>
<array>
<string>/Users/ogt/.local/bin/aider-watch</string>
<string>flush</string>
</array>
<key>StartInterval</key>
<integer>300</integer>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
</dict>
<key>StandardOutPath</key>
<string>/Users/ogt/aider-watch/logs/flush.log</string>
<key>StandardErrorPath</key>
<string>/Users/ogt/aider-watch/logs/flush.log</string>
<key>RunAtLoad</key>
<false/>
</dict>
</plist>