auto-save 2026-05-15 11:51 (~3)
This commit is contained in:
@@ -1,11 +1,5 @@
|
|||||||
{
|
{
|
||||||
"entries": [
|
"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,
|
"files_changed": 3,
|
||||||
"hash": "fddc83b",
|
"hash": "fddc83b",
|
||||||
@@ -3249,6 +3243,13 @@
|
|||||||
"type": "session-heartbeat",
|
"type": "session-heartbeat",
|
||||||
"message": "Codex 会话活跃 · 最近命令:codex · 2 项未提交变更 · 最近提交:auto-save 2026-05-15 11:40 (~1)",
|
"message": "Codex 会话活跃 · 最近命令:codex · 2 项未提交变更 · 最近提交:auto-save 2026-05-15 11:40 (~1)",
|
||||||
"files_changed": 2
|
"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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ start_api() {
|
|||||||
echo "missing api/.venv/bin/uvicorn" >&2
|
echo "missing api/.venv/bin/uvicorn" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 bootstrap "$LAUNCHD_DOMAIN" "$LAUNCHD_DIR/$API_LABEL.plist"
|
||||||
launchctl kickstart -k "$LAUNCHD_DOMAIN/$API_LABEL"
|
launchctl kickstart -k "$LAUNCHD_DOMAIN/$API_LABEL"
|
||||||
echo "api started on 4291 via launchd, log: $LOG_DIR/api.launchd.log"
|
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
|
echo "missing pnpm in PATH" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 bootstrap "$LAUNCHD_DOMAIN" "$LAUNCHD_DIR/$WEB_LABEL.plist"
|
||||||
launchctl kickstart -k "$LAUNCHD_DOMAIN/$WEB_LABEL"
|
launchctl kickstart -k "$LAUNCHD_DOMAIN/$WEB_LABEL"
|
||||||
echo "web started on 4290 via launchd, log: $LOG_DIR/web.launchd.log"
|
echo "web started on 4290 via launchd, log: $LOG_DIR/web.launchd.log"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ LAUNCHD_DOMAIN="gui/$(id -u)"
|
|||||||
|
|
||||||
stop_launchd_label() {
|
stop_launchd_label() {
|
||||||
local label="$1"
|
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"
|
echo "$label stopped"
|
||||||
else
|
else
|
||||||
echo "$label not loaded"
|
echo "$label not loaded"
|
||||||
|
|||||||
Reference in New Issue
Block a user