docs(@projects/@magic-civilization): 📝 p2-86 — render-client fix verified (connect-first + 150s grace)
Tools register after restart (confirmed). First in-session call timed out (slow
throttled MCP-spawned windowed Godot); fixed via connect-first + 150s grace +
respawn (6310433cc), re-verified through the built client (NODE_EXIT=0, real
3.85MB PNG). Running MCP needs to reload the post-fix dist (one restart) to use
it in-session.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5b3dcd56dc
commit
7e110ded35
2 changed files with 12 additions and 8 deletions
|
|
@ -37,9 +37,13 @@ complementing the headless state API.
|
|||
+ `render_client.ts` TCP transport + `scripts/render-driver-server.sh`.
|
||||
- [x] `npm install` run (100 pkgs); build clean; `.mcp.json` already registers
|
||||
`magic-civ` → `dist/index.js` (no change needed).
|
||||
- [ ] Final proof: tools surface in a **Claude session** — needs a Claude restart
|
||||
(the one step not self-verifiable from here). `dist/` is gitignored → built
|
||||
locally; rebuild on each host (`npm install && npm run build`).
|
||||
- [x] Tools surface in a Claude session after restart (confirmed: `magic_civ_screenshot`
|
||||
registered + callable). `dist/` is gitignored → rebuild per host (`npm install && npm run build`).
|
||||
- [~] In-session capture: the first call timed out — windowed Godot spawned by the MCP
|
||||
(throttled background GUI) inits slower than 45s. **Fixed** (`28e3a406b`): connect-first
|
||||
(use an already-running foreground game) + 150s spawn grace + respawn-on-failure.
|
||||
**Re-verified via the built client** (NODE_EXIT=0, real 3.85MB 3420×1923 PNG). The
|
||||
running MCP must reload the post-fix `dist` (one more restart) to use it in-session.
|
||||
|
||||
## Progress (2026-06-18) — Phase 2 done (modulo restart)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"generated_at": "2026-06-19T02:10:18Z",
|
||||
"generated_at": "2026-06-19T15:16:47Z",
|
||||
"totals": {
|
||||
"oos": 31,
|
||||
"done": 247,
|
||||
"in_progress": 0,
|
||||
"partial": 34,
|
||||
"missing": 5,
|
||||
"oos": 31,
|
||||
"in_progress": 0,
|
||||
"done": 247,
|
||||
"stub": 6,
|
||||
"missing": 5,
|
||||
"total": 323
|
||||
},
|
||||
"objectives": [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue