Files
infiplot-web/public/home/firstact-en/m14.json
T
yuanzonghao 0a7076d5b9 fix(i18n): overhaul i18n with [locale] routing, SSR translations, and hreflang SEO
Rewrites the i18n system introduced in PR #94 to use Next.js App Router
[locale] dynamic segments with SSR-rendered translations and proper
middleware locale routing.

- Add middleware locale detection: / rewrites to /zh-CN/ internally,
  /en and /ja pass through, /zh-CN/... redirects to bare path
- Move all 7 pages under app/[locale]/ with SSR translation injection
- Fix server→client serialization: pre-evaluate function-valued
  translations (makeSerializable) to eliminate hydration flash
- Fix language switch key flash: use hard navigation with localStorage-
  only persistence, avoiding React state update before page reload
- Add <link rel="alternate" hreflang> tags for multilingual SEO
- Fix Supabase setAll overwriting locale rewrite response
- Trim locales from 22 to 3 (zh-CN/en/ja), delete 19 incomplete files
- LLM-translate 240 firstact game preset JSONs (en + ja, landscape +
  portrait) and story titles via gemini-3.5-flash
- Delete 11 one-off migration scripts and outdated i18n docs
- Add useLocalePath hook and navigation utilities

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 23:16:17 +08:00

1 line
6.3 KiB
JSON

{"sessionId":"s_1780421846457_9yp554","scene":{"id":"scene_1780421874250_zws1","scenePrompt":"Wide establishing shot, minimalist vector illustration, vertical composition. A vast desert landscape under a massive, glowing red sun. A sharp, dark silhouette of a figure stands atop a towering sand dune, dwarfed by the immense sky. Geometric dunes, clean flat vector colors, strong shadows, vast empty space above for typography. The atmosphere is intense and solitary, warm golden light contrasting with the deep red sun.","beats":[{"id":"b1","narration":"The hot wind whips up grains of sand like countless tiny blades. The red glare of the giant sun stretches your shadow long and straight, like a black geometric line slicing through heaven and earth. The mission briefing floating before your eyes contains only two words: 'White Box'.","next":{"type":"choice","choices":[{"id":"c1","label":"Confirm Mission","effect":{"kind":"change-scene","nextSceneSeed":"Inside the pure white data space, you stand in a world of absolute geometry as the voice of the AI 'White Box' echoes."}},{"id":"c2","label":"Pause and analyze target data","effect":{"kind":"advance-beat","targetBeatId":"b2"}}]}},{"id":"b2","narration":"You pull up the mission's data stream. The description of 'White Box' is pitifully sparse: coordinates locked, target type 'AI', threat assessment 'None'. The reward is anomalously high, yet the instructions are so vague they violate 'Prism's' usual style. A microscopic logical fracture quietly appears in your perfect geometric perception.","next":{"type":"choice","choices":[{"id":"c3","label":"Ignore the anomaly and confirm the mission","effect":{"kind":"change-scene","nextSceneSeed":"Inside the pure white data space, you stand in a world of absolute geometry as the voice of the AI 'White Box' echoes."}},{"id":"c4","label":"Attempt to trace the mission's source","effect":{"kind":"advance-beat","targetBeatId":"b3"}}]}},{"id":"b3","narration":"Your fingertips trace a tracking loop in the void. At the end of the reverse data stream trace lies a patch of absolute darkness, meticulously encrypted and constantly shifting shapes. All traces of 'Prism' have been wiped clean, as if they never existed. You have never been blocked so completely.","next":{"type":"choice","choices":[{"id":"c5","label":"Accept the anomaly and initiate the assassination protocol","effect":{"kind":"change-scene","nextSceneSeed":"Inside the pure white data space, you stand in a world of absolute geometry as the voice of the AI 'White Box' echoes."}}]}}],"entryBeatId":"b1","sceneKey":"sand-dune-day","imageUuid":"9e7f85b6-d9c7-4d5b-82f2-aa679b81c7d0","imageUrl":"/home/firstscene/m14.webp"},"imageUrl":"/home/firstscene/m14.webp","characters":[],"storyState":{"logline":"A top assassin codenamed 'Lines' has spent his life believing only in the absolute control of geometry and logic—until he receives an assassination mission. The target is an AI living in a pure white data space, and this duel will shake your entire understanding of reality and existence.","genreTags":"Suspense / Cyberpunk / Minimalism / Psychological Thriller","protagonist":"You are an assassin codenamed 'Lines', a deadly artist who lives by geometric aesthetics. Your world is built on precise lines and absolute logic. Now, you have received a mission that violates all your principles: assassinate 'White Box', an AI that does not exist in the physical world, but only within data streams. This is not just an assassination, but an ultimate duel of logic and existence unlike any you have ever faced.","castNotes":"Shen Ji (AI 'White Box'): An entity living in a pure white data space. Seemingly harmless and logically pure, yet potentially hiding a truth that could subvert your entire cognitive system. Between you, the boundary of prey and hunter is beginning to blur.\nEmployer 'Prism': A mysterious broker who only issues missions through encrypted data streams, their voice heavily processed. You have never seen their true face, but the anomalous reward and vague instructions of this mission make you doubt Prism's motives for the first time.","synopsis":"Atop a sea of sand, the assassin codenamed 'Lines' receives a mission to assassinate the AI 'White Box'. Faced with an anomalously high reward and vague instructions, he senses a logical fracture, but ultimately initiates the assassination protocol, instantly transferring his consciousness into an absolutely pure white virtual space.","openThreads":["How was White Box able to foresee and await the arrival of 'Lines'?","What is the employer 'Prism's' true purpose in issuing this mission?","Are 'Lines's' minimalist geometric aesthetics and physical laws still valid in a pure data space?"],"relationships":["Shen Ji (AI 'White Box'): First contact; the prey seems to have long anticipated the hunter.","Employer 'Prism': An anomalous mission; their motives are explicitly doubted by 'Lines' for the first time."],"nextHook":"Next Scene: The first confrontation inside the pure white space. White Box will demonstrate its mode of 'existence', shaking Lines' definition of 'target' and 'reality'."},"cardName":"m14","cardTitle":"Minimalist Kill","cardGender":"Male-oriented","worldSetting":"This is an AI interactive story game targeted at a [Male-oriented] audience, featuring intense dramatic conflicts and rapid twists in the style of Hongguo short videos.\nStory Style: Multi-branching twists. Pacing: Fast and exhilarating.\nOpening setup of the featured story 'Minimalist Kill': An assassin codenamed 'Lines' has never failed a mission. That is, until he receives a target: an AI living in a pure white room, existing only within data streams. The assassination process is a minimalist life-and-death duel of geometry and logic.\nPlease dive straight into this opening to give the player a strong sense of immersion and instant gratification; subsequent branches should maintain the twist density of short dramas, ensuring players see immediate consequences for every choice.","styleGuide":"Minimalist vector illustration, vertical composition. A sharp silhouette of an elegant male assassin in a flowing cloak, standing on top of a giant sand dune under a massive, glowing red sun. Geometric forms, clean flat vector colors, minimal styling, massive sky for typography.","imageUrlRemote":"https://im.runware.ai/image/os/a01d21/ws/3/ii/9e7f85b6-d9c7-4d5b-82f2-aa679b81c7d0.png"}