auto-save 2026-05-17 13:18 (~5)

This commit is contained in:
2026-05-17 13:18:29 +08:00
parent 253e82a322
commit f2742df3c6
5 changed files with 18 additions and 18 deletions

View File

@@ -1,18 +1,5 @@
{
"entries": [
{
"files_changed": 1,
"message": "Codex 会话活跃 · 最近命令codex · 1 项未提交变更 · 最近提交auto-save 2026-05-14 17:54 (~1)",
"ts": "2026-05-14T09:58:43Z",
"type": "session-heartbeat"
},
{
"files_changed": 1,
"hash": "b6ad97d",
"message": "auto-save 2026-05-14 17:59 (~1)",
"ts": "2026-05-14T17:59:49+08:00",
"type": "commit"
},
{
"files_changed": 1,
"hash": "e576fa1",
@@ -3269,6 +3256,19 @@
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 main · 2 项未提交变更 · 最近提交auto-save 2026-05-17 13:06 (~2)",
"files_changed": 2
},
{
"ts": "2026-05-17T13:13:05+08:00",
"type": "commit",
"message": "auto-save 2026-05-17 13:13 (~6)",
"hash": "253e82a",
"files_changed": 6
},
{
"ts": "2026-05-17T05:18:24Z",
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 main · 5 项未提交变更 · 最近提交auto-save 2026-05-17 13:13 (~6)",
"files_changed": 5
}
]
}

View File

@@ -3,7 +3,7 @@
## 启动
- 后台启动(不弹 Terminal`./scripts/start-dev-background.sh`(通过 macOS launchd 后台托管;前端 4290 + 后端 4291日志写入 `.logs/`
- 后台停止:`./scripts/stop-dev-background.sh`
- 前端 dev`cd web && pnpm dev`Next.js 16端口 4290
- 前端 dev`cd web && npm run dev`Next.js 16端口 4290
- 后端 dev`cd api && uvicorn main:app --host 127.0.0.1 --port 4291`FastAPI端口 4291重任务用
- 注意:后端不要带 `--reload` 跑长下载 / 抽帧 / 音频任务reload 会等待后台任务结束,导致 4291 端口占用但新请求卡住。

View File

@@ -545,7 +545,7 @@
</tr>
<tr>
<td>前端开发服务</td>
<td><code>cd web && pnpm dev</code></td>
<td><code>cd web && npm run dev</code></td>
<td>Next.js App Router主页面是 <code>web/app/page.tsx</code>,默认端口 4290。</td>
</tr>
<tr>

View File

@@ -8,7 +8,7 @@
<array>
<string>/bin/zsh</string>
<string>-lc</string>
<string>cd /Users/kangwan/Projects/business/20260512-20260512-skg-tk-二创验证/web &amp;&amp; exec pnpm dev</string>
<string>cd /Users/kangwan/Projects/business/20260512-20260512-skg-tk-二创验证/web &amp;&amp; exec npm run dev</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/kangwan/Projects/business/20260512-20260512-skg-tk-二创验证/web</string>

View File

@@ -38,8 +38,8 @@ start_web() {
echo "web already running on 4290"
return
fi
if ! command -v pnpm >/dev/null 2>&1; then
echo "missing pnpm in PATH" >&2
if ! command -v npm >/dev/null 2>&1; then
echo "missing npm in PATH" >&2
exit 1
fi
launchctl bootout "$LAUNCHD_DOMAIN/$WEB_LABEL" >/dev/null 2>&1 || true