seriesoftubes/src/game/96-map
Wolfgang Nagele 7438fd1065 Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one
The MCP server gains a second session, --browser: the game in the player's tab, reached through the
agent relay npm run dev hosts at /agent (loopback unless --host; Host and Origin checked, no token).
The player turns it on in Settings → Agent API, a section only the development page has, and picks the
clock: a pace of 30 s to 5 min a day that nobody can pause, or the agent's own. Headless gets the
running clock too (--clock realtime --pace MS) and both get a wait tool.

All of it lives in src/agent/ (development page only). The game offers HOOKS, UI.clockLocked,
setSpeed() and runClock(dt), the frame's day block moved out unchanged, and nothing more: the page
players get grows by under 1 KB gzipped and runs exactly as before.
2026-11-03 16:18:43 -05:00
..
10-canvas.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
20-land-and-clouds.js Faster routing and map: finished flows leave the rank loop, flows keep their exit table, lazy exit labels, off-screen links culled by box 2026-11-01 13:51:25 +01:00
30-settings.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
40-level-of-detail.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
50-link-geometry.js Faster Networks tab and map labels: count connections without building them, cache exchange lists, grid label check 2026-11-01 13:08:43 +01:00
60-draw.js Faster routing and map: finished flows leave the rank loop, flows keep their exit table, lazy exit labels, off-screen links culled by box 2026-11-01 13:51:25 +01:00
70-world-layer.js Architect runs (prototype): one network, built brief by brief 2026-10-30 08:01:42 +01:00
75-city-size.js Map: cities show their size, and crowded small ones step back to a dot 2026-10-31 11:36:48 +01:00
80-cities.js DDoS rework (#242): world-sized floods on customers, spread over every port, RTBH per target, Flowspec rule budgets, magnet scrubbing, new NOC card 2026-10-31 12:20:14 +01:00
85-puzzle-cities.js Map: cities show their size, and crowded small ones step back to a dot 2026-10-31 11:36:48 +01:00
87-chaos-monkey.js Badges: Met the Backhoe becomes Met the Chaos Monkey 2026-10-30 11:44:22 +01:00
88-cable-ships.js Cable ships a tad smaller on the map 2026-11-01 12:07:24 +00:00
90-input.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
95-clicks.js Keyboard shortcuts: the Help button works on the title screen; MCP knows the new actions 2026-11-03 11:50:48 +01:00