About the Helper
Quick install (macOS)
Run this in Terminal (macOS 11+):
/bin/bash -lc 'curl -fsSL https://lichanghengxjtu.github.io/SWEfficiency/nonllmplatform/downloadhelper/install_helper.sh | bash'
The installer will generate a localhost certificate, create/update a Python venv, install dependencies, write a LaunchAgent, and start the Helper.
Restart / Uninstall
Restart (stop then start):
launchctl bootout gui/$(id -u)/com.swefficiency.helper || true; launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.swefficiency.helper.plist; launchctl enable gui/$(id -u)/com.swefficiency.helper; launchctl kickstart -k gui/$(id -u)/com.swefficiency.helper
Uninstall:
launchctl bootout gui/$(id -u)/com.swefficiency.helper || true; rm -f ~/Library/LaunchAgents/com.swefficiency.helper.plist; rm -rf ~/.SWEfficiency ~/SWEfficiencyWork
Verify
Health endpoint:
curl -sk https://127.0.0.1:5050/api/health | cat
Expected JSON (example):
{"ok":true,"server":"swefficiency-helper","docker_sock":true}
Logs
Follow logs:
tail -f ~/Library/Logs/swefficiency-helper.log ~/Library/Logs/swefficiency-helper.err