Harden analysis timeout and config/prompt loading for package installs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
喻长发
2026-09-04 17:18:05 +08:00
co-authored by Cursor
parent 8c33d08537
commit 68364966cc
3 changed files with 31 additions and 5 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ if lsof -nP -iTCP:$PORT -sTCP:LISTEN >/dev/null 2>&1; then
fi
cd "$SERVER"
[ -f config.json ] || cp config.example.json config.json
mkdir -p "$SERVER"
if [ ! -f config.json ] && [ -f config.example.json ]; then cp config.example.json config.json; fi
osascript <<APPLESCRIPT
tell application "Terminal"