auto-save 2026-05-15 11:51 (~3)

This commit is contained in:
2026-05-15 11:51:33 +08:00
parent 23b1def0a8
commit de3cef4b72
3 changed files with 10 additions and 9 deletions

View File

@@ -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
}
]
}

View File

@@ -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"

View File

@@ -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"