diff --git a/.memory/worklog.json b/.memory/worklog.json index 68e47ed..c8637f0 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,11 +1,5 @@ { "entries": [ - { - "files_changed": 3, - "message": "Codex 会话活跃 · 最近命令:codex · 3 项未提交变更 · 最近提交:auto-save 2026-05-13 19:34 (~4)", - "ts": "2026-05-13T11:39:29Z", - "type": "session-heartbeat" - }, { "files_changed": 3, "hash": "fddc83b", @@ -3249,6 +3243,13 @@ "type": "session-heartbeat", "message": "Codex 会话活跃 · 最近命令:codex · 2 项未提交变更 · 最近提交:auto-save 2026-05-15 11:40 (~1)", "files_changed": 2 + }, + { + "ts": "2026-05-15T11:46:03+08:00", + "type": "commit", + "message": "auto-save 2026-05-15 11:45 (~2)", + "hash": "23b1def", + "files_changed": 2 } ] } diff --git a/scripts/start-dev-background.sh b/scripts/start-dev-background.sh index 9829de8..c64376b 100755 --- a/scripts/start-dev-background.sh +++ b/scripts/start-dev-background.sh @@ -27,7 +27,7 @@ start_api() { echo "missing api/.venv/bin/uvicorn" >&2 exit 1 fi - launchctl bootout "$LAUNCHD_DOMAIN" "$API_LABEL" >/dev/null 2>&1 || true + launchctl bootout "$LAUNCHD_DOMAIN/$API_LABEL" >/dev/null 2>&1 || true launchctl bootstrap "$LAUNCHD_DOMAIN" "$LAUNCHD_DIR/$API_LABEL.plist" launchctl kickstart -k "$LAUNCHD_DOMAIN/$API_LABEL" echo "api started on 4291 via launchd, log: $LOG_DIR/api.launchd.log" @@ -42,7 +42,7 @@ start_web() { echo "missing pnpm in PATH" >&2 exit 1 fi - launchctl bootout "$LAUNCHD_DOMAIN" "$WEB_LABEL" >/dev/null 2>&1 || true + launchctl bootout "$LAUNCHD_DOMAIN/$WEB_LABEL" >/dev/null 2>&1 || true launchctl bootstrap "$LAUNCHD_DOMAIN" "$LAUNCHD_DIR/$WEB_LABEL.plist" launchctl kickstart -k "$LAUNCHD_DOMAIN/$WEB_LABEL" echo "web started on 4290 via launchd, log: $LOG_DIR/web.launchd.log" diff --git a/scripts/stop-dev-background.sh b/scripts/stop-dev-background.sh index d0c5cf0..b87b377 100755 --- a/scripts/stop-dev-background.sh +++ b/scripts/stop-dev-background.sh @@ -7,7 +7,7 @@ LAUNCHD_DOMAIN="gui/$(id -u)" stop_launchd_label() { local label="$1" - if launchctl bootout "$LAUNCHD_DOMAIN" "$label" >/dev/null 2>&1; then + if launchctl bootout "$LAUNCHD_DOMAIN/$label" >/dev/null 2>&1; then echo "$label stopped" else echo "$label not loaded"