rpg-engine 0.22.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +5 -5
  2. package/dist/campaign/create-campaign.d.ts +5 -0
  3. package/dist/campaign/create-campaign.js +40 -12
  4. package/dist/campaign/find-campaign.d.ts +5 -0
  5. package/dist/campaign/find-campaign.js +10 -5
  6. package/dist/campaign/host-files.d.ts +15 -4
  7. package/dist/campaign/host-files.js +130 -13
  8. package/dist/campaign/index.d.ts +2 -2
  9. package/dist/campaign/index.js +2 -2
  10. package/dist/cli/cli.js +18 -6
  11. package/dist/commands/config/dashboard.js +6 -1
  12. package/dist/commands/config/words.js +1 -1
  13. package/dist/commands/image.d.ts +3 -0
  14. package/dist/commands/image.js +31 -4
  15. package/dist/commands/import/import.d.ts +1 -1
  16. package/dist/commands/import/import.js +5 -0
  17. package/dist/commands/init.d.ts +2 -0
  18. package/dist/commands/init.js +21 -3
  19. package/dist/commands/shared/campaign/git.js +1 -1
  20. package/dist/commands/shared/campaign/images.js +5 -3
  21. package/dist/commands/shared/characters/voices.d.ts +2 -2
  22. package/dist/commands/shared/characters/voices.js +8 -5
  23. package/dist/core/context.d.ts +15 -6
  24. package/dist/core/context.js +2 -1
  25. package/dist/dashboard/guide/ar.md +7 -4
  26. package/dist/dashboard/guide/cs.md +6 -3
  27. package/dist/dashboard/guide/da.md +6 -3
  28. package/dist/dashboard/guide/de.md +6 -3
  29. package/dist/dashboard/guide/el.md +6 -3
  30. package/dist/dashboard/guide/en.md +5 -2
  31. package/dist/dashboard/guide/es.md +6 -3
  32. package/dist/dashboard/guide/fi.md +6 -3
  33. package/dist/dashboard/guide/fr.md +7 -4
  34. package/dist/dashboard/guide/he.md +6 -3
  35. package/dist/dashboard/guide/hi.md +6 -3
  36. package/dist/dashboard/guide/hu.md +6 -3
  37. package/dist/dashboard/guide/is.md +6 -3
  38. package/dist/dashboard/guide/it.md +37 -34
  39. package/dist/dashboard/guide/ja.md +6 -3
  40. package/dist/dashboard/guide/ko.md +6 -3
  41. package/dist/dashboard/guide/nb.md +6 -3
  42. package/dist/dashboard/guide/nl.md +8 -5
  43. package/dist/dashboard/guide/pl.md +6 -3
  44. package/dist/dashboard/guide/pt.md +6 -3
  45. package/dist/dashboard/guide/ro.md +6 -3
  46. package/dist/dashboard/guide/ru.md +7 -4
  47. package/dist/dashboard/guide/sv.md +6 -3
  48. package/dist/dashboard/guide/tr.md +7 -4
  49. package/dist/dashboard/guide/uk.md +7 -4
  50. package/dist/dashboard/guide/zh.md +6 -3
  51. package/dist/dashboard/i18n/ar.json +5 -2
  52. package/dist/dashboard/i18n/cs.json +5 -2
  53. package/dist/dashboard/i18n/da.json +5 -2
  54. package/dist/dashboard/i18n/de.json +5 -2
  55. package/dist/dashboard/i18n/el.json +5 -2
  56. package/dist/dashboard/i18n/es.json +5 -2
  57. package/dist/dashboard/i18n/fi.json +5 -2
  58. package/dist/dashboard/i18n/fr.json +5 -2
  59. package/dist/dashboard/i18n/he.json +5 -2
  60. package/dist/dashboard/i18n/hi.json +5 -2
  61. package/dist/dashboard/i18n/hu.json +5 -2
  62. package/dist/dashboard/i18n/is.json +5 -2
  63. package/dist/dashboard/i18n/it.json +5 -2
  64. package/dist/dashboard/i18n/ja.json +5 -2
  65. package/dist/dashboard/i18n/ko.json +5 -2
  66. package/dist/dashboard/i18n/nb.json +5 -2
  67. package/dist/dashboard/i18n/nl.json +5 -2
  68. package/dist/dashboard/i18n/pl.json +5 -2
  69. package/dist/dashboard/i18n/pt.json +5 -2
  70. package/dist/dashboard/i18n/ro.json +5 -2
  71. package/dist/dashboard/i18n/ru.json +5 -2
  72. package/dist/dashboard/i18n/sv.json +5 -2
  73. package/dist/dashboard/i18n/tr.json +5 -2
  74. package/dist/dashboard/i18n/uk.json +5 -2
  75. package/dist/dashboard/i18n/zh.json +5 -2
  76. package/dist/dashboard/parts/labels.js +1 -1
  77. package/dist/dashboard/settings/settings.js +13 -4
  78. package/dist/dashboard/shell/notices.js +1 -1
  79. package/dist/dashboard/style.css +15 -7
  80. package/dist/helpers/briefs.d.ts +4 -0
  81. package/dist/helpers/briefs.js +13 -0
  82. package/dist/helpers/chosen.d.ts +8 -4
  83. package/dist/helpers/chosen.js +38 -14
  84. package/dist/helpers/index.d.ts +3 -2
  85. package/dist/helpers/index.js +5 -3
  86. package/dist/helpers/opencode.d.ts +13 -0
  87. package/dist/helpers/opencode.js +202 -0
  88. package/dist/instructions/index.d.ts +2 -2
  89. package/dist/instructions/index.js +3 -3
  90. package/dist/server/approver.d.ts +4 -2
  91. package/dist/server/approver.js +27 -7
  92. package/dist/server/bell/antigravity.d.ts +10 -0
  93. package/dist/server/bell/antigravity.js +95 -0
  94. package/dist/server/bell/index.d.ts +2 -0
  95. package/dist/server/bell/index.js +2 -0
  96. package/dist/server/bell/listener.d.ts +43 -0
  97. package/dist/server/bell/listener.js +149 -0
  98. package/dist/server/dashboard/index.d.ts +10 -1
  99. package/dist/server/dashboard/index.js +6 -1
  100. package/dist/server/dashboard/news.d.ts +3 -1
  101. package/dist/server/dashboard/news.js +64 -10
  102. package/dist/server/mcp.d.ts +3 -2
  103. package/dist/server/mcp.js +11 -7
  104. package/dist/server/player-acts.d.ts +21 -1
  105. package/dist/server/player-acts.js +38 -2
  106. package/dist/server/route/front.d.ts +3 -0
  107. package/dist/server/route/front.js +97 -0
  108. package/dist/server/route/index.d.ts +3 -0
  109. package/dist/server/route/index.js +3 -0
  110. package/dist/server/route/notes.d.ts +8 -0
  111. package/dist/server/route/notes.js +50 -0
  112. package/dist/server/route/router.d.ts +31 -0
  113. package/dist/server/route/router.js +215 -0
  114. package/instructions/start.md +1 -1
  115. package/instructions/voices-opencode.md +1 -0
  116. package/package.json +3 -2
  117. package/plugins/opencode.js +174 -0
  118. package/dist/server/bell-listener.d.ts +0 -10
  119. package/dist/server/bell-listener.js +0 -52
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} verhaaltijd voor elke {real} dat je weg bent: als je terugkomt, laat de spelleider die tijd bij je eerste zet verstrijken en vertelt de spelleider wat de wereld intussen heeft gedaan",
36
36
  "{hours}h": "{hours}u",
37
37
  "{length} across": "{length} breed",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} tekent ze in je chat, als simpele vectorafbeeldingen, met jouw abonnement.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} heeft de laatste afbeelding geweigerd: {why}. {by} maakt ze in plaats daarvan.",
39
40
  "{minutes}m": "{minutes}m",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Aanvallen",
211
212
  "Attack with {item}": "Aanvallen met {item}",
212
213
  "Author": "Auteur",
214
+ "Automatic commits": "Automatische commits",
213
215
  "autumn": "herfst",
214
216
  "Back": "Terug",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Hierheen terug als iedereen sterft, of als de tafel daarvoor kiest wanneer er één sterft",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "{command} kopiëren",
317
319
  "Copy did not work: select the words and copy them yourself.": "Kopiëren is niet gelukt: selecteer de woorden en kopieer ze zelf.",
318
320
  "count the dice {condition}": "tel de dobbelstenen {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Telt alleen mee bij automatische commits: zolang die uitstaan, zet de engine niets in de repository.",
319
322
  "Creature": "Wezen",
320
323
  "Creature {mark}": "Wezen {mark}",
321
324
  "Creatures": "Wezens",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "Met de spelleider",
1246
1249
  "With the same character": "Met hetzelfde personage",
1247
1250
  "With you": "Bij je",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Met jouw account vertaalt Codex of Claude Code de spelregels naar het {language}: tot die tijd blijven ze in het Engels.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Met jouw account vertaalt Codex, Claude Code of OpenCode de spelregels naar het {language}: tot die tijd blijven ze in het Engels.",
1249
1252
  "With your own dice: what did you roll?": "Met je eigen dobbelstenen: wat heb je gegooid?",
1250
1253
  "Within": "Binnen",
1251
1254
  "Without a licence, all rights are reserved.": "Zonder licentie zijn alle rechten voorbehouden.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Je zei nee: er is niets veranderd.",
1285
1288
  "Your AI app": "Jouw AI-app",
1286
1289
  "your AI app decides, as it does in any chat": "je AI-app bepaalt, zoals in elke chat",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "jouw AI-app, met eigen middelen: Claude tekent ze als vectorafbeeldingen, Codex en Antigravity schilderen ze, elk met jouw abonnement",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "je AI-app, met eigen middelen: Claude tekent ze als vectorafbeeldingen, Codex en Antigravity schilderen ze, OpenCode en de andere apps tekenen simpele vectorafbeeldingen in de chat, elk met jouw abonnement",
1288
1291
  "Your app decides": "Je app bepaalt",
1289
1292
  "Your books": "Jouw boeken",
1290
1293
  "Your character": "Jouw personage",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} historii za każdy okres nieobecności: {real}. Gdy wrócisz, przy pierwszym ruchu Mistrz Gry pozwala mu upłynąć i opowiada, co w tym czasie działo się w świecie",
36
36
  "{hours}h": "{hours} h",
37
37
  "{length} across": "{length} średnicy",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} rysuje je w Twoim czacie jako proste obrazy wektorowe, w ramach Twojego planu.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "Ostatni obraz został odrzucony przez {maker}: {why}. Zamiast tego tworzy je {by}.",
39
40
  "{minutes}m": "{minutes} min",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Atakuj",
211
212
  "Attack with {item}": "Atakuj: {item}",
212
213
  "Author": "Autor",
214
+ "Automatic commits": "Automatyczne commity",
213
215
  "autumn": "jesień",
214
216
  "Back": "Wstecz",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Powrót tutaj, jeśli zginą wszyscy, albo jeśli stół tak zdecyduje, gdy zginie jedna postać",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "Kopiuj {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "Kopiowanie nie wyszło: zaznacz słowa i skopiuj je ręcznie.",
318
320
  "count the dice {condition}": "policz kości {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Działa tylko przy automatycznych commitach: gdy są wyłączone, silnik niczego nie zapisuje w repozytorium.",
319
322
  "Creature": "Stwór",
320
323
  "Creature {mark}": "Stwór {mark}",
321
324
  "Creatures": "Stworzenia",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "Z Mistrzem Gry",
1246
1249
  "With the same character": "Z tą samą postacią",
1247
1250
  "With you": "Przy sobie",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Za pomocą Twojego konta Codex lub Claude Code tłumaczy zasady gry na język {language}. Do tego czasu pozostają po angielsku.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Z użyciem Twojego konta Codex, Claude Code lub OpenCode tłumaczy zasady gry na język {language}: do tego czasu pozostają po angielsku.",
1249
1252
  "With your own dice: what did you roll?": "Własnymi kośćmi: ile wypadło?",
1250
1253
  "Within": "Wewnątrz",
1251
1254
  "Without a licence, all rights are reserved.": "Bez licencji wszelkie prawa są zastrzeżone.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Odmowa: nic się nie zmieniło.",
1285
1288
  "Your AI app": "Twoja aplikacja AI",
1286
1289
  "your AI app decides, as it does in any chat": "decyduje twoja aplikacja AI, jak w każdym czacie",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "twoja aplikacja AI, własnymi środkami: Claude rysuje je jako obrazy wektorowe, Codex i Antigravity malują je, każdy w ramach twojego planu",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "twoja aplikacja AI, własnymi siłami: Claude rysuje je jako obrazy wektorowe, Codex i Antigravity je malują, a OpenCode i pozostałe aplikacje rysują w czacie proste obrazy wektorowe – każda w ramach Twojego planu",
1288
1291
  "Your app decides": "Decyduje aplikacja",
1289
1292
  "Your books": "Twoje podręczniki",
1290
1293
  "Your character": "Twoja postać",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} de história para cada {real} de ausência: quando você voltar, na sua primeira ação o mestre deixa esse tempo passar e conta o que o mundo fez nesse meio-tempo",
36
36
  "{hours}h": "{hours}h",
37
37
  "{length} across": "{length} de diâmetro",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} as desenha no seu chat, como imagens vetoriais simples, com o seu plano.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} recusou a última imagem: {why}. {by} faz no lugar.",
39
40
  "{minutes}m": "{minutes}m",
40
41
  "{month} {year}": "{month} de {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Atacar",
211
212
  "Attack with {item}": "Atacar com {item}",
212
213
  "Author": "Autor",
214
+ "Automatic commits": "Commits automáticos",
213
215
  "autumn": "outono",
214
216
  "Back": "Voltar",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Vocês voltam aqui se todos morrerem, ou se a mesa escolher isso quando um morrer",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "Copiar {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "Não foi possível copiar: selecione as palavras e copie manualmente.",
318
320
  "count the dice {condition}": "contar os dados {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Só vale com commits automáticos: enquanto estiverem desativados, o motor não envia nada para o repositório.",
319
322
  "Creature": "Criatura",
320
323
  "Creature {mark}": "Criatura {mark}",
321
324
  "Creatures": "Criaturas",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "Com o mestre",
1246
1249
  "With the same character": "Com o mesmo personagem",
1247
1250
  "With you": "Com você",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Com a sua conta, o Codex ou o Claude Code está traduzindo as regras do jogo para {language}: até lá, elas continuam em inglês.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Com a sua conta, o Codex, o Claude Code ou o OpenCode está traduzindo as regras do jogo para {language}: até lá, elas continuam em inglês.",
1249
1252
  "With your own dice: what did you roll?": "Com seus próprios dados: quanto deu?",
1250
1253
  "Within": "Dentro",
1251
1254
  "Without a licence, all rights are reserved.": "Sem licença, todos os direitos são reservados.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Você recusou: nada mudou.",
1285
1288
  "Your AI app": "Seu app de IA",
1286
1289
  "your AI app decides, as it does in any chat": "seu app de IA decide, como em qualquer chat",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "seu app de IA, com os próprios recursos: o Claude desenha como imagens vetoriais, o Codex e o Antigravity pintam, cada um com o seu plano",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "seu app de IA, com os próprios recursos: o Claude as desenha como imagens vetoriais, o Codex e o Antigravity as pintam, o OpenCode e os outros apps desenham imagens vetoriais simples no chat, cada um com o seu plano",
1288
1291
  "Your app decides": "Seu app decide",
1289
1292
  "Your books": "Seus livros",
1290
1293
  "Your character": "Seu personagem",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} de poveste pentru fiecare {real} de absență: când revii, la prima ta mutare maestrul de joc îl lasă să treacă și povestește ce a făcut lumea între timp",
36
36
  "{hours}h": "{hours}h",
37
37
  "{length} across": "{length} în diametru",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} le desenează în chatul tău, ca imagini vectoriale simple, din planul tău.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} a refuzat ultima imagine: {why}. În locul lui, le creează {by}.",
39
40
  "{minutes}m": "{minutes}m",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Atacă",
211
212
  "Attack with {item}": "Atacă cu {item}",
212
213
  "Author": "Autor",
214
+ "Automatic commits": "Commituri automate",
213
215
  "autumn": "toamnă",
214
216
  "Back": "Înapoi",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Reveniți aici dacă mor toți, sau dacă masa alege asta când moare unul",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "Copiază {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "Copierea nu a reușit: selectează cuvintele și copiază-le tu.",
318
320
  "count the dice {condition}": "numără zarurile {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Se aplică doar cu commiturile automate: cât timp sunt dezactivate, motorul nu adaugă nimic în repository.",
319
322
  "Creature": "Creatură",
320
323
  "Creature {mark}": "Creatură {mark}",
321
324
  "Creatures": "Creaturi",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "Cu maestrul de joc",
1246
1249
  "With the same character": "Cu același personaj",
1247
1250
  "With you": "La tine",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Cu contul tău, Codex sau Claude Code traduce regulile jocului în {language}: până atunci rămân în engleză.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Cu contul tău, Codex, Claude Code sau OpenCode traduce regulile jocului în {language}: până atunci rămân în engleză.",
1249
1252
  "With your own dice: what did you roll?": "Cu zarurile tale: ce ai aruncat?",
1250
1253
  "Within": "Înăuntru",
1251
1254
  "Without a licence, all rights are reserved.": "Fără licență, toate drepturile sunt rezervate.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Ai spus nu: nu s-a schimbat nimic.",
1285
1288
  "Your AI app": "Aplicația ta de AI",
1286
1289
  "your AI app decides, as it does in any chat": "aplicația ta de IA decide, ca în orice chat",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "aplicația ta de AI, cu mijloacele ei: Claude le desenează ca imagini vectoriale, Codex și Antigravity le pictează, fiecare din planul tău",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "aplicația ta de AI, cu mijloacele ei: Claude le desenează ca imagini vectoriale, Codex și Antigravity le pictează, OpenCode și celelalte aplicații desenează imagini vectoriale simple în chat, fiecare din planul tău",
1288
1291
  "Your app decides": "Decide aplicația ta",
1289
1292
  "Your books": "Cărțile tale",
1290
1293
  "Your character": "Personajul tău",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} истории за каждые {real} твоего отсутствия: когда ты вернёшься, при твоём первом ходе мастер даст этому времени пройти и расскажет, что за это время произошло в мире",
36
36
  "{hours}h": "{hours} ч",
37
37
  "{length} across": "{length} в поперечнике",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} рисует их в твоём чате как простые векторные изображения в рамках твоего тарифа.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} отказался создавать последнее изображение: {why}. Вместо этого их создаёт {by}.",
39
40
  "{minutes}m": "{minutes} мин",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Атаковать",
211
212
  "Attack with {item}": "Атаковать: {item}",
212
213
  "Author": "Автор",
214
+ "Automatic commits": "Автокоммиты",
213
215
  "autumn": "осень",
214
216
  "Back": "Назад",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Сюда вернётесь, если погибнут все, или если стол так решит, когда погибнет один",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "Копировать {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "Не удалось скопировать: выдели текст и скопируй его вручную.",
318
320
  "count the dice {condition}": "считать кубики {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Работает только при включённых автокоммитах: пока они выключены, движок ничего не добавляет в репозиторий.",
319
322
  "Creature": "Существо",
320
323
  "Creature {mark}": "Существо {mark}",
321
324
  "Creatures": "Существа",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "С мастером",
1246
1249
  "With the same character": "С тем же персонажем",
1247
1250
  "With you": "При тебе",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "С твоего аккаунта Codex или Claude Code переводит правила игры на {language}: до тех пор они остаются на английском.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "С твоим аккаунтом Codex, Claude Code или OpenCode переводит правила игры на {language}: до этого они остаются на английском.",
1249
1252
  "With your own dice: what did you roll?": "Своими кубиками: что выпало?",
1250
1253
  "Within": "Внутри",
1251
1254
  "Without a licence, all rights are reserved.": "Без лицензии все права защищены.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Ты отказался: ничего не изменилось.",
1285
1288
  "Your AI app": "Твоё ИИ-приложение",
1286
1289
  "your AI app decides, as it does in any chat": "ИИ-приложение решает само, как в любом чате",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "твоё ИИ-приложение своими средствами: Claude рисует векторные изображения, Codex и Antigravity — обычные картинки, каждый по твоему тарифу",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "твоё ИИ-приложение своими средствами: Claude рисует их как векторные изображения, Codex и Antigravity создают живописные картинки, OpenCode и другие приложения рисуют в чате простые векторные изображения — всё в рамках твоего тарифа",
1288
1291
  "Your app decides": "Решает приложение",
1289
1292
  "Your books": "Твои книги",
1290
1293
  "Your character": "Твой персонаж",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} av berättelsen för varje {real} du är borta: när du kommer tillbaka låter spelledaren tiden gå vid ditt första drag och berättar vad världen har gjort under tiden",
36
36
  "{hours}h": "{hours} h",
37
37
  "{length} across": "{length} tvärs över",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} ritar dem i din chatt som enkla vektorbilder via din plan.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} avvisade den senaste bilden: {why}. {by} gör dem i stället.",
39
40
  "{minutes}m": "{minutes} min",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Attackera",
211
212
  "Attack with {item}": "Attackera med {item}",
212
213
  "Author": "Upphovsperson",
214
+ "Automatic commits": "Automatiska commits",
213
215
  "autumn": "höst",
214
216
  "Back": "Tillbaka",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Hit går ni tillbaka om alla dör, eller om bordet väljer det när en dör",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "Kopiera {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "Kopieringen misslyckades: markera orden och kopiera själv.",
318
320
  "count the dice {condition}": "räkna tärningarna {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Gäller bara med automatiska commits: när de är avstängda lägger motorn ingenting i repositoryt.",
319
322
  "Creature": "Varelse",
320
323
  "Creature {mark}": "Varelse {mark}",
321
324
  "Creatures": "Varelser",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "Med spelledaren",
1246
1249
  "With the same character": "Med samma rollperson",
1247
1250
  "With you": "Med dig",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Med ditt konto översätter Codex eller Claude Code spelets regler till {language}. Tills det är klart förblir de på engelska.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Med ditt konto översätter Codex, Claude Code eller OpenCode spelets regler till {language}: tills dess förblir de på engelska.",
1249
1252
  "With your own dice: what did you roll?": "Med dina egna tärningar: vad slog du?",
1250
1253
  "Within": "Inuti",
1251
1254
  "Without a licence, all rights are reserved.": "Utan licens förbehålls alla rättigheter.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Du sa nej: ingenting ändrades.",
1285
1288
  "Your AI app": "Din AI-app",
1286
1289
  "your AI app decides, as it does in any chat": "din AI-app bestämmer, som i vilken chatt som helst",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "din AI-app, med egna medel: Claude ritar dem som vektorbilder, Codex och Antigravity målar dem, var och en med din plan",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "din AI-app med egna medel: Claude ritar dem som vektorbilder, Codex och Antigravity målar dem, OpenCode och de andra apparna ritar enkla vektorbilder i chatten, alla via din plan",
1288
1291
  "Your app decides": "Din app bestämmer",
1289
1292
  "Your books": "Dina böcker",
1290
1293
  "Your character": "Din rollperson",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "Uzakta geçirdiğin her {real} için hikâyeden {game}: döndüğünde ilk hamlende oyun yöneticisi bu süreyi geçirir ve bu arada dünyanın neler yaptığını anlatır",
36
36
  "{hours}h": "{hours}sa",
37
37
  "{length} across": "çapı {length}",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} bunları sohbetinde, planınla basit vektör görseller olarak çizer.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} son görseli reddetti: {why}. Onun yerine {by} yapıyor.",
39
40
  "{minutes}m": "{minutes}dk",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Saldır",
211
212
  "Attack with {item}": "{item} ile saldır",
212
213
  "Author": "Yazar",
214
+ "Automatic commits": "Otomatik commit'ler",
213
215
  "autumn": "sonbahar",
214
216
  "Back": "Geri",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Herkes ölürse ya da biri öldüğünde masa bunu seçerse buraya dönülür",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "{command} komutunu kopyala",
317
319
  "Copy did not work: select the words and copy them yourself.": "Kopyalanamadı: sözcükleri seçip kendin kopyala.",
318
320
  "count the dice {condition}": "{condition} zarları say",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Yalnızca otomatik commit'lerle geçerli: bunlar kapalıyken motor depoya hiçbir şey eklemez.",
319
322
  "Creature": "Yaratık",
320
323
  "Creature {mark}": "Yaratık {mark}",
321
324
  "Creatures": "Yaratıklar",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "Oyun yöneticisiyle",
1246
1249
  "With the same character": "Aynı karakterle",
1247
1250
  "With you": "Yanında",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Hesabınla Codex veya Claude Code, oyunun kurallarını {language} diline çeviriyor: o zamana kadar kurallar İngilizce kalır.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Hesabın sayesinde Codex, Claude Code veya OpenCode oyunun kurallarını {language} diline çeviriyor: o zamana kadar kurallar İngilizce kalır.",
1249
1252
  "With your own dice: what did you roll?": "Kendi zarlarınla: kaç attın?",
1250
1253
  "Within": "İçinde",
1251
1254
  "Without a licence, all rights are reserved.": "Lisans yoksa tüm haklar saklıdır.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Hayır dedin: hiçbir şey değişmedi.",
1285
1288
  "Your AI app": "Yapay zekâ uygulaman",
1286
1289
  "your AI app decides, as it does in any chat": "yapay zekâ uygulaman, her sohbette olduğu gibi karar verir",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "yapay zekâ uygulaman, kendi imkânlarıyla: Claude vektör görsel olarak çizer, Codex ve Antigravity boyar; her biri senin planını kullanır",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "kendi yöntemleriyle yapay zekâ uygulaman: Claude bunları vektör görseller olarak çizer, Codex ve Antigravity boyar, OpenCode ve diğer uygulamalar sohbette basit vektör görseller çizer; hepsi senin planınla çalışır",
1288
1291
  "Your app decides": "Uygulaman karar verir",
1289
1292
  "Your books": "Kitapların",
1290
1293
  "Your character": "Karakterin",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "{game} історії за кожні {real} твоєї відсутності: коли повернешся, після твого першого ходу майстер пропускає цей час і розповідає, що за цей час відбулося у світі",
36
36
  "{hours}h": "{hours} год",
37
37
  "{length} across": "{length} упоперек",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "{maker} малює їх у твоєму чаті як прості векторні зображення за твоїм тарифним планом.",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} відхилив останнє зображення: {why}. Натомість їх створює {by}.",
39
40
  "{minutes}m": "{minutes} хв",
40
41
  "{month} {year}": "{month} {year}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "Атакувати",
211
212
  "Attack with {item}": "Атакувати: {item}",
212
213
  "Author": "Автор",
214
+ "Automatic commits": "Автоматичні коміти",
213
215
  "autumn": "осінь",
214
216
  "Back": "Назад",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "Повернення сюди, якщо загинуть усі, або якщо стіл так вирішить, коли загине один",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "Копіювати {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "Не вдалося скопіювати: виділи слова та скопіюй їх вручну.",
318
320
  "count the dice {condition}": "рахувати кубики {condition}",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Враховується лише з автоматичними комітами: поки вони вимкнені, рушій нічого не додає до репозиторію.",
319
322
  "Creature": "Істота",
320
323
  "Creature {mark}": "Істота {mark}",
321
324
  "Creatures": "Істоти",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "З майстром",
1246
1249
  "With the same character": "З тим самим персонажем",
1247
1250
  "With you": "З тобою",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "З твого акаунта Codex або Claude Code перекладає правила гри мовою {language}: до того часу вони залишаються англійською.",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "З твоїм обліковим записом Codex, Claude Code або OpenCode перекладає правила гри мовою {language}: до того часу вони залишаються англійською.",
1249
1252
  "With your own dice: what did you roll?": "Власними кубиками: що випало?",
1250
1253
  "Within": "Усередині",
1251
1254
  "Without a licence, all rights are reserved.": "Без ліцензії всі права захищені.",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "Відмову прийнято: нічого не змінилося.",
1285
1288
  "Your AI app": "Твій ШІ-застосунок",
1286
1289
  "your AI app decides, as it does in any chat": "ваш ШІ-застосунок вирішує сам, як і в будь-якому чаті",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "твій ШІ-застосунок власними засобами: Claude малює їх як векторні зображення, Codex і Antigravity — як растрові, кожен за твоїм планом",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "твій AI-застосунок власними засобами: Claude малює їх як векторні зображення, Codex і Antigravity створюють растрові картинки, OpenCode та інші застосунки малюють прості векторні зображення в чаті, кожен — за твоїм тарифним планом",
1288
1291
  "Your app decides": "Вирішує застосунок",
1289
1292
  "Your books": "Твої книги",
1290
1293
  "Your character": "Твій персонаж",
@@ -35,6 +35,7 @@
35
35
  "{game} of the story for every {real} you are away: when you come back, at your first move the master lets it pass and tells what the world did meanwhile": "你每离开{real},故事就过去{game}:你回来后的第一步行动时,主持人会让这段时间流逝,并讲述这期间世界发生了什么",
36
36
  "{hours}h": "{hours}小时",
37
37
  "{length} across": "宽 {length}",
38
+ "{maker} draws them in your chat, as simple vector pictures, from your plan.": "由 {maker} 使用你的套餐,在聊天中绘制简单的矢量图。",
38
39
  "{maker} refused the last picture: {why}. {by} makes them instead.": "{maker} 拒绝了上一张图片:{why}。改由 {by} 生成。",
39
40
  "{minutes}m": "{minutes}分钟",
40
41
  "{month} {year}": "{year}年{month}",
@@ -210,6 +211,7 @@
210
211
  "Attack": "攻击",
211
212
  "Attack with {item}": "用{item}攻击",
212
213
  "Author": "作者",
214
+ "Automatic commits": "自动提交",
213
215
  "autumn": "秋季",
214
216
  "Back": "返回",
215
217
  "Back here if they all die, or if the table chooses it when one dies": "全员死亡时,或有一人死亡而玩家们选择回档时,会回到这里",
@@ -316,6 +318,7 @@
316
318
  "Copy {command}": "复制 {command}",
317
319
  "Copy did not work: select the words and copy them yourself.": "复制失败:请选中文字自行复制。",
318
320
  "count the dice {condition}": "统计{condition}的骰子数",
321
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "仅在开启自动提交时生效:关闭期间,引擎不会向仓库写入任何内容。",
319
322
  "Creature": "生物",
320
323
  "Creature {mark}": "生物 {mark}",
321
324
  "Creatures": "生物",
@@ -1245,7 +1248,7 @@
1245
1248
  "With the master": "和主持人一起",
1246
1249
  "With the same character": "沿用同一角色",
1247
1250
  "With you": "随身携带",
1248
- "With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.": "Codex 或 Claude Code 正在通过你的账号将游戏规则翻译成{language},在此之前规则仍为英文。",
1251
+ "With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.": "Codex、Claude Code 或 OpenCode 正在通过你的账号将游戏规则翻译成{language},在此之前规则仍为英文。",
1249
1252
  "With your own dice: what did you roll?": "用你自己的骰子:掷出了多少?",
1250
1253
  "Within": "内部",
1251
1254
  "Without a licence, all rights are reserved.": "未附许可证时,保留所有权利。",
@@ -1284,7 +1287,7 @@
1284
1287
  "You said no: nothing changed.": "你选择了拒绝,没有任何更改。",
1285
1288
  "Your AI app": "你的 AI 应用",
1286
1289
  "your AI app decides, as it does in any chat": "由你的 AI 应用决定,和平时聊天一样",
1287
- "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, each from your plan": "由你的 AI 应用自行生成:Claude 绘制矢量图,Codex 和 Antigravity 绘制画作,均使用你的套餐",
1290
+ "your AI app, by its own means: Claude draws them as vector pictures, Codex and Antigravity paint them, OpenCode and the other apps draw simple vector pictures in the chat, each from your plan": "你的 AI 应用会用自己的方式来画:Claude 绘制矢量图,Codex 和 Antigravity 绘制画作,OpenCode 和其他应用在聊天中绘制简单的矢量图,均使用你的套餐",
1288
1291
  "Your app decides": "由你的应用决定",
1289
1292
  "Your books": "你的书",
1290
1293
  "Your character": "你的角色",
@@ -236,7 +236,7 @@ export function settingLabel(name) {
236
236
  veils: t("Veils"),
237
237
  orders: t("Standing orders"),
238
238
  language: t("Language"),
239
- git: t("Git"),
239
+ git: t("Automatic commits"),
240
240
  "git-saves": t("Saves in the repository"),
241
241
  "git-sessions": t("Chats in the repository"),
242
242
  companions: t("Companions"),
@@ -68,7 +68,7 @@ export function SettingsView({ version, several = false }) {
68
68
  if (shown.length === 0) {
69
69
  return null;
70
70
  }
71
- return (_jsxs("section", { class: "settings-group", children: [_jsx("h3", { children: groupTitle(index) }), group.note !== undefined && _jsx("p", { class: "settings-group-note", children: group.note() }), shown.map((setting) => (_jsx(SettingRow, { setting: setting, off: offBy(setting, settings), several: several, parts: settings.find((one) => one.name === customParts[setting.name]), onChange: change }, setting.name)))] }, group.names[0]));
71
+ return (_jsxs("section", { class: "settings-group", children: [_jsx("h3", { children: groupTitle(index) }), group.note !== undefined && (_jsxs("div", { class: "settings-group-note setting-note fix", children: [_jsx(Icon, { name: "lock" }), _jsx("p", { children: group.note() })] })), shown.map((setting) => (_jsx(SettingRow, { setting: setting, off: offBy(setting, settings), several: several, parts: settings.find((one) => one.name === customParts[setting.name]), onChange: change }, setting.name)))] }, group.names[0]));
72
72
  }), _jsx(WidgetSettings, { onChange: change }), _jsx(PageSettings, {})] }));
73
73
  }
74
74
  /**
@@ -78,10 +78,19 @@ export function SettingsView({ version, several = false }) {
78
78
  function meansText(setting, value, means, several) {
79
79
  return several && setting === "saves" && value === "checkpoint" ? t("if they all die, or if the table chooses it when one dies: back to the end of the last scene") : t(means);
80
80
  }
81
- /** Why a setting counts for nothing now, as the prose while an author is written (D-395); undefined for one that counts. */
81
+ /**
82
+ * Why a setting counts for nothing now, as the prose while an author is written (D-395), or what goes into the repository while the engine commits nothing
83
+ * (D-576); undefined for one that counts. Its values stay to choose, for when it counts again.
84
+ */
82
85
  function offBy(setting, settings) {
83
- const author = settings.find((one) => one.name === "author")?.value;
84
- return setting.name === "prose" && author !== undefined ? t("The author you wrote takes its place: this counts again once you clear the author.") : undefined;
86
+ const valueOf = (name) => settings.find((one) => one.name === name)?.value;
87
+ if (setting.name === "prose" && valueOf("author") !== undefined) {
88
+ return t("The author you wrote takes its place: this counts again once you clear the author.");
89
+ }
90
+ if ((setting.name === "git-saves" || setting.name === "git-sessions") && valueOf("git") === "off") {
91
+ return t("Counts only with automatic commits: while they are off, the engine puts nothing into the repository.");
92
+ }
93
+ return undefined;
85
94
  }
86
95
  /**
87
96
  * One setting: its name and what it is, its values to choose from, a list's items to add and take off, the player's own words, or the language; what the chosen
@@ -45,7 +45,7 @@ export function gameNotices(problems, textsTranslating) {
45
45
  ...(translation?.state === "translating" ? [{ kind: "info", text: t("This computer is translating the page into {language}: until then it stays in English.", { language }) }] : []),
46
46
  ...(translation?.state === "unable" ? [{ kind: "info", text: t("The page stays in English: Codex or Claude Code would translate it into {language} on this computer.", { language }) }] : []),
47
47
  ...(textsTranslating !== undefined
48
- ? [{ kind: "info", text: t("With your account, Codex or Claude Code is translating the game's rules into {language}: until then they stay in English.", { language: textsLanguage }) }]
48
+ ? [{ kind: "info", text: t("With your account, Codex, Claude Code or OpenCode is translating the game's rules into {language}: until then they stay in English.", { language: textsLanguage }) }]
49
49
  : []),
50
50
  ];
51
51
  }
@@ -7946,12 +7946,14 @@
7946
7946
  }
7947
7947
  }
7948
7948
 
7949
+ /* What a whole group asks of the player, as keeping the repository private: a setting's note in ink with its edge, its icon saying what it is about. Not
7950
+ the accent's tint, which on the light page fades to grey and on the dark one is the gold of what is chosen; not the warning's colour, for nothing is wrong. */
7949
7951
  .settings-group-note {
7950
7952
  margin: 4px 0 8px;
7951
- padding: 8px 12px;
7952
- border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--rule));
7953
- border-radius: var(--radius-l);
7954
- background: color-mix(in srgb, var(--accent) 10%, var(--panel));
7953
+ }
7954
+
7955
+ .settings-group-note > p {
7956
+ margin: 0;
7955
7957
  }
7956
7958
 
7957
7959
  .settings-group h3 + .setting,
@@ -8178,10 +8180,16 @@
8178
8180
  gap: 6px;
8179
8181
  }
8180
8182
 
8181
- /* A setting that counts for nothing now, as the prose while an author is written: its values faded, still to choose. */
8182
- .setting.off > .segmented,
8183
+ /* A setting that counts for nothing now, as the prose while an author is written or what goes into the repository without commits: the chosen value's
8184
+ gold paled and what it means in the muted ink, still to choose. Colours, not opacity: the values stay at 4.5:1, as they can still be chosen. */
8185
+ .setting.off > .segmented button[aria-checked="true"] {
8186
+ background: color-mix(in srgb, var(--gold) 35%, var(--float));
8187
+ color: var(--ink);
8188
+ }
8189
+
8183
8190
  .setting.off .setting-means {
8184
- opacity: 0.55;
8191
+ border-inline-start-color: color-mix(in srgb, var(--gold) 45%, var(--rule));
8192
+ color: var(--muted);
8185
8193
  }
8186
8194
 
8187
8195
  .setting-off {
@@ -4,6 +4,10 @@ import type { PictureSubject } from "../core/context.ts";
4
4
  * which the page crops.
5
5
  */
6
6
  export declare function chatBrief(subject: PictureSubject): string;
7
+ /** Antigravity's painted brief, with the SVG drawing for when its image tool fails (D-572). */
8
+ export declare function antigravityBrief(subject: PictureSubject): string;
9
+ /** The SVG brief as the chat draws the picture itself (D-572), as OpenCode: handed back with image, svg, never as a file. */
10
+ export declare function drawnBrief(subject: PictureSubject): string;
7
11
  /** The painted brief of a place's or a quest's picture, a portrait or a creature's head, as Codex makes it. */
8
12
  export declare function paintedBrief(subject: PictureSubject): string;
9
13
  /**
@@ -5,6 +5,14 @@
5
5
  export function chatBrief(subject) {
6
6
  return paintedBrief(subject).replace(imageAsk, chatAsk).replace("landscape, 21:9", "landscape, 16:9");
7
7
  }
8
+ /** Antigravity's painted brief, with the SVG drawing for when its image tool fails (D-572). */
9
+ export function antigravityBrief(subject) {
10
+ return `${chatBrief(subject)}\n${svgInstead}`;
11
+ }
12
+ /** The SVG brief as the chat draws the picture itself (D-572), as OpenCode: handed back with image, svg, never as a file. */
13
+ export function drawnBrief(subject) {
14
+ return `${svgBrief(subject).replace(svgOpening, chatDraw)}\n${handIn}`;
15
+ }
8
16
  /** The painted brief of a place's or a quest's picture, a portrait or a creature's head, as Codex makes it. */
9
17
  export function paintedBrief(subject) {
10
18
  if (subject.kind === "portrait") {
@@ -97,6 +105,11 @@ const creatureFraming = "a close-up of the head, its face or muzzle centred and
97
105
  const svgOpening = "Draw exactly one picture as SVG code from the brief below. Reply with the SVG alone, from <svg to </svg>: no words, no code fence.";
98
106
  const svgStyle = "Style/medium: vector illustration with depth: layered shapes from far to near, gradients for sky, light and water, far layers paler and bluer, "
99
107
  + "a few soft blurred shapes for mist and glow; a sober palette of muted natural colours";
108
+ // The chat draws the SVG itself, and gives it to the engine in its call.
109
+ const chatDraw = "Draw exactly one new picture from the brief below yourself, as SVG code.";
110
+ const handIn = "Then call image again for the same page with svg holding the code, from <svg to </svg>: write no file, and do not show the code to the player.";
111
+ const svgInstead = "If your image tool fails or you have none, draw it as SVG code instead: one <svg> root with a viewBox of the same proportions, only shapes and gradients, "
112
+ + "no text, script, style or image, under 40 KB; then call image again for the same page with svg holding the code.";
100
113
  const svgRules = "SVG rules: one <svg> root with only the viewBox above and xmlns; only the elements svg, g, defs, path, rect, circle, ellipse, polygon, polyline, line, "
101
114
  + "linearGradient, radialGradient, stop, clipPath, mask, filter, feGaussianBlur; no script, style, text, image, use, a, foreignObject or animation, "
102
115
  + "no event attributes, no href, no url() other than url(#id) of this file; under 40 KB";
@@ -3,13 +3,17 @@ import type { DocumentReader, PictureMaker, TextWriter } from "../core/context.t
3
3
  export declare const codexClient = "codex-mcp-client";
4
4
  /** Antigravity's chat, as its MCP client names itself: it makes its pictures itself. */
5
5
  export declare const antigravityClient = "antigravity-client";
6
+ /** OpenCode's chat, as its MCP client names itself: its master draws the pictures, and OpenCode does the work outside the chat there, and nowhere else (D-578 (3)). */
7
+ export declare const openCodeClient = "opencode";
6
8
  /**
7
9
  * The pictures of this computer, by the campaign's choice, which `choice` reads when a picture is asked: unset or chat, the chat `host` names, by its own
8
10
  * means; codex; elevenlabs, or the name of another image tool of the master's, from the brief. Codex, where it cannot or refuses, leaves the picture to the chat
9
11
  * in use; once it refused, it is not asked again while the server lives, until the choice changes.
10
12
  */
11
13
  export declare function hostPictures(host: () => string | undefined, choice?: () => string | undefined, codex?: PictureMaker, claude?: PictureMaker): PictureMaker;
12
- /** The writer of text of this computer for the chat `host` names (D-406), chosen as the pictures are: Codex first, then Claude. */
13
- export declare function hostWriter(host: () => string | undefined, codex?: TextWriter, claude?: TextWriter): TextWriter;
14
- /** The importer of this computer for the chat `host` names (D-489 (1)): Codex in Codex, else Claude first, which Elena's probe measured, then Codex. */
15
- export declare function hostReader(host: () => string | undefined, codex?: DocumentReader, claude?: DocumentReader): DocumentReader;
14
+ /** A chat that draws its pictures itself as SVG code (D-572), as OpenCode: from the SVG brief image gives it, handed back with image, svg; the engine starts nothing. */
15
+ export declare function chatDrawing(name: string): PictureMaker;
16
+ /** The writer of text of this computer for the chat `host` names (D-406): Codex first, then Claude; in OpenCode, OpenCode before them. */
17
+ export declare function hostWriter(host: () => string | undefined, codex?: TextWriter, claude?: TextWriter, openCode?: TextWriter): TextWriter;
18
+ /** The importer of this computer for the chat `host` names (D-489 (1)): Codex in Codex, else Claude first, which Elena's probe measured, then Codex; in OpenCode, OpenCode before them. */
19
+ export declare function hostReader(host: () => string | undefined, codex?: DocumentReader, claude?: DocumentReader, openCode?: DocumentReader): DocumentReader;