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.
This commit is contained in:
parent
2526dd458d
commit
7438fd1065
53 changed files with 1827 additions and 170 deletions
|
|
@ -3849,19 +3849,30 @@
|
|||
"security_and_china.tier_scrubbing_center_online_in_city":"<b>Centro di scrubbing {tier} attivo a {city}.</b><br>Gli attacchi fino a {g} vengono ripuliti, e puoi vendere protezione DDoS.",
|
||||
"security_and_china.tier_scrubbing_unlocks_at_customer":"<b>Lo scrubbing {tier} si sblocca al livello cliente {lv}.</b>",
|
||||
"security_and_china.you_counter_flooded_a_hospital_in":"Hai contro-floodato un ospedale in un paese che non sai pronunciare.",
|
||||
"settings.a_pace_runs_one_simulated_day":"Con un ritmo passa un giorno simulato ogni 30 secondi fino a 5 minuti, e l'agente deve stare al passo. Se lo muove l'agente, l'orologio resta fermo finché non chiede dei giorni.",
|
||||
"settings.agent_api":"API per agenti",
|
||||
"settings.agent_relay_connected":"Relay per agenti collegato: ora uno strumento può giocare questa partita in questa scheda.",
|
||||
"settings.agent_s_clock":"Orologio dell'agente",
|
||||
"settings.an_early_heads_up_below_60":"Un avviso in anticipo sotto il 60% di soddisfazione, molto prima che siano furiosi.",
|
||||
"settings.auto_follows_your_device_s_reduce":"Auto segue l’impostazione “riduci movimento” del tuo dispositivo. Off congela la mappa: niente pacchetti in movimento, pulsazioni o testo fluttuante.",
|
||||
"settings.customers_and_alerts":"Clienti e avvisi",
|
||||
"settings.display_and_sound":"Schermo e audio",
|
||||
"settings.for_reporting_layout_bugs_shows_what":"Per segnalare bug di layout: mostra cosa lo schermo dice al gioco.",
|
||||
"settings.let_an_ai_agent_drive_this_game":"Lascia giocare un agente IA",
|
||||
"settings.n_min":"{n} min",
|
||||
"settings.n_sec":"{n} s",
|
||||
"settings.only_trouble_and_milestones_pop_up":"Compaiono solo i problemi e i traguardi; tutto il resto finisce in silenzio nel registro del NOC. Attivo di default in Best Effort.",
|
||||
"settings.pace_t_per_day":"{t} per giorno simulato",
|
||||
"settings.pause_on_outages_that_hurt":"Pausa sui guasti che fanno male",
|
||||
"settings.pause_when_a_customer_is_furious":"Pausa quando un cliente è furioso",
|
||||
"settings.quiet_notifications":"Notifiche discrete",
|
||||
"settings.saved_on_this_device":"Salvate su questo dispositivo.",
|
||||
"settings.stops_the_game_when_a_failure":"Ferma il gioco quando un guasto ti costa traffico vero, non quando si reinstrada da solo.",
|
||||
"settings.the_agent_moves_it":"Lo muove l'agente",
|
||||
"settings.the_clock_while_an_agent_plays":"L'orologio mentre gioca un agente",
|
||||
"settings.the_game_stops_so_you_can":"Il gioco si ferma così puoi sistemare il servizio prima che disdicano. Utilissimo ad alta velocità.",
|
||||
"settings.warn_when_a_customer_gets_unhappy":"Avvisa quando un cliente diventa scontento",
|
||||
"settings.while_agent_mode_is_on_the":"Finché la modalità agente è attiva, l'orologio non è tuo. Con un ritmo va da solo e non si può fermare a mano, nemmeno con una finestra aperta (comprese le tue), e aspetta finché non è collegato nessun agente. Oppure lo muove l'agente, e non succede nulla finché non chiede dei giorni. La pagina si collega al relay locale per agenti (npm run dev ne avvia uno), così strumenti come il server MCP possono giocare questa partita mentre guardi.",
|
||||
"share_card.build_the_internet_one_tube_at":"Costruisci internet, un tubo alla volta",
|
||||
"share_card.n_in_r_regions":"{n} in {r} regioni",
|
||||
"share_card.not_this_time":"non stavolta",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue