rpg-engine 0.22.0 → 0.24.0

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 (156) hide show
  1. package/README.md +5 -5
  2. package/dist/campaign/create-campaign.d.ts +6 -1
  3. package/dist/campaign/create-campaign.js +41 -13
  4. package/dist/campaign/find-campaign.d.ts +5 -0
  5. package/dist/campaign/find-campaign.js +20 -5
  6. package/dist/campaign/host-files.d.ts +14 -4
  7. package/dist/campaign/host-files.js +193 -36
  8. package/dist/campaign/index.d.ts +2 -2
  9. package/dist/campaign/index.js +2 -2
  10. package/dist/campaign/settings.d.ts +3 -3
  11. package/dist/campaign/settings.js +5 -4
  12. package/dist/cli/cli.js +28 -7
  13. package/dist/commands/config/config.js +1 -1
  14. package/dist/commands/config/dashboard.js +28 -6
  15. package/dist/commands/config/words.js +2 -1
  16. package/dist/commands/image.d.ts +3 -0
  17. package/dist/commands/image.js +32 -5
  18. package/dist/commands/import/import.d.ts +3 -1
  19. package/dist/commands/import/import.js +16 -3
  20. package/dist/commands/init.d.ts +2 -0
  21. package/dist/commands/init.js +21 -3
  22. package/dist/commands/instructions.js +1 -1
  23. package/dist/commands/shared/campaign/git.js +1 -1
  24. package/dist/commands/shared/campaign/images.js +6 -3
  25. package/dist/commands/shared/campaign/mode.js +1 -1
  26. package/dist/commands/shared/characters/voices.d.ts +2 -2
  27. package/dist/commands/shared/characters/voices.js +9 -6
  28. package/dist/commands/shared/sheet/sheet.d.ts +2 -2
  29. package/dist/commands/shared/sheet/sheet.js +3 -3
  30. package/dist/core/context.d.ts +21 -6
  31. package/dist/core/context.js +2 -1
  32. package/dist/dashboard/acts/acts.js +39 -11
  33. package/dist/dashboard/acts/head.js +7 -0
  34. package/dist/dashboard/acts/names.js +4 -2
  35. package/dist/dashboard/acts/sending.js +23 -22
  36. package/dist/dashboard/acts/sheet.js +7 -149
  37. package/dist/dashboard/acts/strip.js +10 -14
  38. package/dist/dashboard/acts/talk.js +51 -0
  39. package/dist/dashboard/acts/thing.js +169 -0
  40. package/dist/dashboard/app.js +3 -3
  41. package/dist/dashboard/guide/ar.md +17 -14
  42. package/dist/dashboard/guide/cs.md +15 -12
  43. package/dist/dashboard/guide/da.md +15 -12
  44. package/dist/dashboard/guide/de.md +14 -11
  45. package/dist/dashboard/guide/el.md +14 -11
  46. package/dist/dashboard/guide/en.md +13 -10
  47. package/dist/dashboard/guide/es.md +14 -11
  48. package/dist/dashboard/guide/fi.md +14 -11
  49. package/dist/dashboard/guide/fr.md +14 -11
  50. package/dist/dashboard/guide/he.md +14 -11
  51. package/dist/dashboard/guide/hi.md +14 -11
  52. package/dist/dashboard/guide/hu.md +14 -11
  53. package/dist/dashboard/guide/is.md +14 -11
  54. package/dist/dashboard/guide/it.md +57 -54
  55. package/dist/dashboard/guide/ja.md +14 -11
  56. package/dist/dashboard/guide/ko.md +15 -12
  57. package/dist/dashboard/guide/nb.md +14 -11
  58. package/dist/dashboard/guide/nl.md +16 -13
  59. package/dist/dashboard/guide/pl.md +14 -11
  60. package/dist/dashboard/guide/pt.md +14 -11
  61. package/dist/dashboard/guide/ro.md +15 -12
  62. package/dist/dashboard/guide/ru.md +14 -11
  63. package/dist/dashboard/guide/sv.md +15 -12
  64. package/dist/dashboard/guide/tr.md +15 -12
  65. package/dist/dashboard/guide/uk.md +15 -12
  66. package/dist/dashboard/guide/zh.md +15 -12
  67. package/dist/dashboard/i18n/ar.json +28 -11
  68. package/dist/dashboard/i18n/cs.json +28 -11
  69. package/dist/dashboard/i18n/da.json +28 -11
  70. package/dist/dashboard/i18n/de.json +28 -11
  71. package/dist/dashboard/i18n/el.json +28 -11
  72. package/dist/dashboard/i18n/es.json +28 -11
  73. package/dist/dashboard/i18n/fi.json +28 -11
  74. package/dist/dashboard/i18n/fr.json +28 -11
  75. package/dist/dashboard/i18n/he.json +28 -11
  76. package/dist/dashboard/i18n/hi.json +28 -11
  77. package/dist/dashboard/i18n/hu.json +28 -11
  78. package/dist/dashboard/i18n/is.json +28 -11
  79. package/dist/dashboard/i18n/it.json +104 -87
  80. package/dist/dashboard/i18n/ja.json +28 -11
  81. package/dist/dashboard/i18n/ko.json +28 -11
  82. package/dist/dashboard/i18n/nb.json +28 -11
  83. package/dist/dashboard/i18n/nl.json +28 -11
  84. package/dist/dashboard/i18n/pl.json +28 -11
  85. package/dist/dashboard/i18n/pt.json +28 -11
  86. package/dist/dashboard/i18n/ro.json +28 -11
  87. package/dist/dashboard/i18n/ru.json +28 -11
  88. package/dist/dashboard/i18n/sv.json +28 -11
  89. package/dist/dashboard/i18n/tr.json +28 -11
  90. package/dist/dashboard/i18n/uk.json +28 -11
  91. package/dist/dashboard/i18n/zh.json +28 -11
  92. package/dist/dashboard/packages/packages.js +1 -1
  93. package/dist/dashboard/parts/icons.js +2 -0
  94. package/dist/dashboard/parts/labels.js +2 -1
  95. package/dist/dashboard/parts/layout.js +34 -0
  96. package/dist/dashboard/parts/widgets.js +6 -2
  97. package/dist/dashboard/settings/language-choice.js +1 -1
  98. package/dist/dashboard/settings/settings.js +73 -39
  99. package/dist/dashboard/settings/tabs.js +14 -0
  100. package/dist/dashboard/sheet/sheet.js +54 -33
  101. package/dist/dashboard/shell/notices.js +2 -2
  102. package/dist/dashboard/style.css +135 -52
  103. package/dist/helpers/antigravity.d.ts +47 -0
  104. package/dist/helpers/antigravity.js +434 -0
  105. package/dist/helpers/briefs.d.ts +4 -0
  106. package/dist/helpers/briefs.js +13 -0
  107. package/dist/helpers/chosen.d.ts +15 -7
  108. package/dist/helpers/chosen.js +96 -45
  109. package/dist/helpers/index.d.ts +4 -2
  110. package/dist/helpers/index.js +6 -3
  111. package/dist/helpers/opencode.d.ts +13 -0
  112. package/dist/helpers/opencode.js +295 -0
  113. package/dist/helpers/programs.d.ts +8 -0
  114. package/dist/helpers/programs.js +35 -2
  115. package/dist/helpers/stop.d.ts +2 -0
  116. package/dist/helpers/stop.js +20 -1
  117. package/dist/helpers/svg.d.ts +4 -1
  118. package/dist/helpers/svg.js +16 -4
  119. package/dist/instructions/index.d.ts +4 -2
  120. package/dist/instructions/index.js +6 -3
  121. package/dist/server/approver.d.ts +4 -2
  122. package/dist/server/approver.js +27 -7
  123. package/dist/server/bell/antigravity.d.ts +15 -0
  124. package/dist/server/bell/antigravity.js +113 -0
  125. package/dist/server/bell/index.d.ts +2 -0
  126. package/dist/server/bell/index.js +2 -0
  127. package/dist/server/bell/listener.d.ts +43 -0
  128. package/dist/server/bell/listener.js +154 -0
  129. package/dist/server/dashboard/index.d.ts +10 -1
  130. package/dist/server/dashboard/index.js +6 -1
  131. package/dist/server/dashboard/news.d.ts +3 -1
  132. package/dist/server/dashboard/news.js +64 -10
  133. package/dist/server/fence.d.ts +21 -0
  134. package/dist/server/fence.js +69 -0
  135. package/dist/server/mcp.d.ts +3 -2
  136. package/dist/server/mcp.js +37 -7
  137. package/dist/server/player-acts.d.ts +21 -1
  138. package/dist/server/player-acts.js +39 -3
  139. package/dist/server/route/front.d.ts +3 -0
  140. package/dist/server/route/front.js +97 -0
  141. package/dist/server/route/index.d.ts +3 -0
  142. package/dist/server/route/index.js +3 -0
  143. package/dist/server/route/notes.d.ts +8 -0
  144. package/dist/server/route/notes.js +50 -0
  145. package/dist/server/route/router.d.ts +31 -0
  146. package/dist/server/route/router.js +215 -0
  147. package/dist/server/subagent.d.ts +4 -0
  148. package/dist/server/subagent.js +30 -0
  149. package/instructions/start.md +1 -1
  150. package/instructions/voices-antigravity.md +1 -0
  151. package/instructions/voices-codex.md +1 -0
  152. package/instructions/voices-opencode.md +1 -0
  153. package/package.json +3 -2
  154. package/plugins/opencode.js +174 -0
  155. package/dist/server/bell-listener.d.ts +0 -10
  156. 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} історії за кожні {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}",
@@ -145,6 +146,7 @@
145
146
  "A square…": "Клітинка…",
146
147
  "a story that closes each session, with a thread that comes back": "історія, що завершується в кожній сесії, із ниткою, яка повертається",
147
148
  "About": "Про гру",
149
+ "About {item}": "Про {item}",
148
150
  "above {value}": "вище {value}",
149
151
  "Active": "Активні",
150
152
  "Add": "Додати",
@@ -195,6 +197,9 @@
195
197
  "Answer: {check}": "Відповісти: {check}",
196
198
  "Answers the master: {check}": "Відповідь майстру: {check}",
197
199
  "Antigravity makes them in your chat, from your Google plan.": "Їх створює Antigravity у твоєму чаті за твоїм планом Google.",
200
+ "Antigravity paints them on this computer, from your Google plan (a paid one: on the free plan its image tool fails)": "Antigravity малює їх на цьому комп'ютері за твоїм планом Google (платним: на безкоштовному плані його засіб для зображень не працює)",
201
+ "Antigravity paints them on this computer, from your Google plan.": "Antigravity малює їх на цьому комп'ютері за твоїм планом Google.",
202
+ "Antigravity's agy does not answer on this computer, or is not signed in.": "agy від Antigravity не відповідає на цьому комп'ютері або в ньому не виконано вхід.",
198
203
  "Arcs": "Арки",
199
204
  "Around": "Навколо",
200
205
  "Arrows move the map, plus and minus zoom, Escape closes a place's card. The list of places below says the same.": "Стрілки рухають мапу, плюс і мінус змінюють масштаб, Escape закриває картку місця. Список місць нижче розповідає те саме.",
@@ -210,6 +215,7 @@
210
215
  "Attack": "Атакувати",
211
216
  "Attack with {item}": "Атакувати: {item}",
212
217
  "Author": "Автор",
218
+ "Automatic commits": "Автоматичні коміти",
213
219
  "autumn": "осінь",
214
220
  "Back": "Назад",
215
221
  "Back here if they all die, or if the table chooses it when one dies": "Повернення сюди, якщо загинуть усі, або якщо стіл так вирішить, коли загине один",
@@ -245,6 +251,7 @@
245
251
  "By hand": "Вручну",
246
252
  "Calendar": "Календар",
247
253
  "Camp": "Табір",
254
+ "Campaign": "Кампанія",
248
255
  "Can't act": "Не може діяти",
249
256
  "Cancel": "Скасувати",
250
257
  "Castle": "Замок",
@@ -271,6 +278,7 @@
271
278
  "Choose": "Обрати",
272
279
  "Choose {name}": "Обрати {name}",
273
280
  "Choose on the map": "Обрати на мапі",
281
+ "Choose on whom": "Обери, на кого",
274
282
  "Choose whenever you like: the story goes on meanwhile. Read the pages here; ask the master anything in the chat.": "Обирай коли завгодно: історія тим часом триває. Сторінки можна читати тут, а майстра можна про все спитати в чаті.",
275
283
  "Chosen": "Обрано",
276
284
  "City": "Місто",
@@ -306,16 +314,16 @@
306
314
  "Completed": "Виконані",
307
315
  "Conditions on tokens": "Стани на токенах",
308
316
  "Confirm the choices": "Підтвердити вибір",
317
+ "Confirm: {sentence}": "Підтвердити: {sentence}",
309
318
  "Confirmed: they are the master's now, who writes them on the sheet and tells you.": "Підтверджено: тепер вибір у майстра, який запише його в аркуш персонажа й розповість тобі.",
310
319
  "Contents": "Зміст",
311
320
  "Continue": "Продовжити",
312
321
  "Copied": "Скопійовано",
313
- "Copied: paste it in the chat": "Скопійовано: встав у чат",
314
322
  "Copper": "Мідь",
315
323
  "Copy": "Копіювати",
316
324
  "Copy {command}": "Копіювати {command}",
317
- "Copy did not work: select the words and copy them yourself.": "Не вдалося скопіювати: виділи слова та скопіюй їх вручну.",
318
325
  "count the dice {condition}": "рахувати кубики {condition}",
326
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "Враховується лише з автоматичними комітами: поки вони вимкнені, рушій нічого не додає до репозиторію.",
319
327
  "Creature": "Істота",
320
328
  "Creature {mark}": "Істота {mark}",
321
329
  "Creatures": "Істоти",
@@ -350,6 +358,7 @@
350
358
  "Development notes": "Про розробку",
351
359
  "Diary": "Щоденник",
352
360
  "Dice": "Кубики",
361
+ "Dice and coins": "Кубики та монети",
353
362
  "Dice and measures": "Кубики та міри",
354
363
  "Dice edges": "Ребра кубиків",
355
364
  "Dice set": "Набір кубиків",
@@ -446,6 +455,7 @@
446
455
  "from here": "звідси",
447
456
  "From where": "Звідки",
448
457
  "from your party, as the crow flies": "від твого загону, по прямій",
458
+ "Game": "Гра",
449
459
  "Game style": "Стиль гри",
450
460
  "Game system": "Система гри",
451
461
  "Game systems, extensions and languages come from npm: a file, a link or a folder can be added all the same.": "Системи гри, розширення та мови беруться з npm, але файл, посилання чи теку все одно можна додати.",
@@ -579,7 +589,7 @@
579
589
  "keep the lowest": "залишити найнижчий",
580
590
  "Keep the repository private. It holds the log of your sessions and your user's name on this computer; with the chats in, everything you wrote to the master too.": "Не робіть репозиторій публічним. У ньому зберігаються журнал сесій і ім'я твого користувача на цьому комп'ютері; якщо додати чати, то й усе, що ти писав(-ла) майстру.",
581
591
  "Keeping {what}": "Утримує {what}",
582
- "Kept in this browser alone.": "Зберігається лише в цьому браузері.",
592
+ "Kept in this browser alone: the master hears nothing of them.": "Зберігаються лише в цьому браузері: майстер нічого про них не знає.",
583
593
  "Key": "Легенда",
584
594
  "Kind": "Тип",
585
595
  "Kinds": "Види",
@@ -615,6 +625,7 @@
615
625
  "Load": "Вантаж",
616
626
  "Load more": "Завантажити ще",
617
627
  "long marches and sleepless nights": "довгі переходи та безсонні ночі",
628
+ "Look": "Вигляд",
618
629
  "Lore": "Знання",
619
630
  "Low": "Найнижчі",
620
631
  "lowest of {count}": "найнижчий з {count}",
@@ -627,6 +638,7 @@
627
638
  "Map of {place}": "Мапа: {place}",
628
639
  "Maps": "Мапи",
629
640
  "Marble": "Мармур",
641
+ "Master": "Майстер",
630
642
  "Master's rolls": "Кидки майстра",
631
643
  "Master's thinking": "Роздуми майстра",
632
644
  "Medium": "Середній",
@@ -668,6 +680,7 @@
668
680
  "Next month": "Наступний місяць",
669
681
  "next to {name}": "поруч із {name}",
670
682
  "next to you": "поруч із тобою",
683
+ "No": "Ні",
671
684
  "No campaign searches it any more, and the text RPG Engine read of its books is deleted. The books stay where they are.": "Жодна кампанія більше не шукає в ній, а текст, який RPG Engine зчитав з її книг, видалено. Книги залишаються на місці.",
672
685
  "No documents yet: the letters, notices and pages your character finds or reads come here, to read again.": "Документів поки немає: листи, оголошення й сторінки, які знаходить або читає твій персонаж, з'являтимуться тут, щоб їх можна було перечитати.",
673
686
  "No language matches: write its code, such as pt-BR.": "Жодна мова не підходить: напиши її код, наприклад pt-BR.",
@@ -701,7 +714,7 @@
701
714
  "Not connected: the sheet as of {time}. It comes back when the game does.": "Немає зв'язку: аркуш персонажа станом на {time}. Він повернеться, коли гра відновить зв'язок.",
702
715
  "not done": "не виконано",
703
716
  "Not found yet": "Ще не знайдено",
704
- "Not heard: say it again in the chat": "Не почуто: повтори в чаті",
717
+ "Not heard: the chat was closed": "Не почуто: чат був закритий",
705
718
  "Not in this campaign": "Не в цій кампанії",
706
719
  "Not on this computer: the master does not search it until you add it again.": "Немає на цьому комп’ютері: майстер не шукає в ній, доки ти не додаси її знову.",
707
720
  "Not there now, as a disk taken out: its books stay known for when it is back.": "Зараз недоступно, як витягнутий диск: її книги залишаються відомими до повернення.",
@@ -803,6 +816,7 @@
803
816
  "Portal": "Портал",
804
817
  "Premise": "Передумова",
805
818
  "Preparation": "Підготовка",
819
+ "Press again to tell the master.": "Натисни ще раз, щоб сказати майстру.",
806
820
  "Previous month": "Попередній місяць",
807
821
  "Propose changes to your story": "Запропонувати зміни до історії",
808
822
  "Prose": "Розповідь",
@@ -866,9 +880,11 @@
866
880
  "Ruby": "Рубін",
867
881
  "Ruin": "Руїни",
868
882
  "Rules": "Правила",
883
+ "Rules and difficulty": "Правила та складність",
869
884
  "Ruleset": "Версія правил",
870
885
  "sad": "сумний",
871
886
  "Said to the master": "Сказано майстру",
887
+ "Said to the master: they read it as soon as you write in the chat": "Сказано майстру: він прочитає це, щойно ти напишеш у чаті",
872
888
  "Sapphire": "Сапфір",
873
889
  "Save": "Зберегти",
874
890
  "Save now": "Зберегти зараз",
@@ -878,6 +894,7 @@
878
894
  "Saved.": "Збережено.",
879
895
  "Saves": "Збереження",
880
896
  "Saves in the repository": "Збереження в репозиторії",
897
+ "Say it again": "Повторити",
881
898
  "Scene": "Сцена",
882
899
  "Scene {number}": "Сцена {number}",
883
900
  "Scroll": "Сувій",
@@ -1016,7 +1033,6 @@
1016
1033
  "The file is more than {size} MB: no package is that big.": "Файл завеликий, понад {size} МБ: пакетів такого розміру не буває.",
1017
1034
  "The folder {name} has characters npm cannot take: move it to another path.": "У назві папки {name} є символи, які npm не приймає: перемісти її в інше місце.",
1018
1035
  "The folder is on this computer and in this campaign: its books are read now, then the master searches them.": "Папка є на цьому комп’ютері й у цій кампанії: її книги зчитуються зараз, а потім майстер шукає в них.",
1019
- "The game": "Гра",
1020
1036
  "The game follows these rules from the master's next move: the sheets are worked out with them, and the master reads them.": "З наступного ходу майстра гра йде за цими правилами: аркуші персонажів перераховуються за ними, і майстер їх читає.",
1021
1037
  "The game gave no saves: reload the page.": "Гра не надала збережень: перезавантаж сторінку.",
1022
1038
  "The game gave no setup: reload the page.": "Гра не надала налаштувань: перезавантаж сторінку.",
@@ -1051,6 +1067,7 @@
1051
1067
  "The master hears it at their next call": "Майстер дізнається про неї під час наступного звернення",
1052
1068
  "The master is about to read it": "Майстер зараз це прочитає",
1053
1069
  "The master is reading it": "Майстер це читає",
1070
+ "The master is waiting for your answer: answer that first.": "Майстер чекає на твою відповідь: спершу дай її.",
1054
1071
  "The master knows: write to them in the chat, and the story begins.": "Майстер усе знає: напиши йому в чаті, і історія почнеться.",
1055
1072
  "The master makes it": "Створює майстер",
1056
1073
  "the master makes it from a few words of yours": "майстер створює його з кількох твоїх слів",
@@ -1059,7 +1076,7 @@
1059
1076
  "The master makes them with {tool}.": "Майстер створює їх за допомогою {tool}.",
1060
1077
  "the master makes them with ElevenLabs, connected to your AI app, from your ElevenLabs plan": "майстер створює їх за допомогою ElevenLabs, підключеного до твого ШІ-застосунку, за твоїм планом ElevenLabs",
1061
1078
  "The master plays in {language}, and the page is written in it too.": "Майстер грає мовою {language}, і сторінка теж нею написана.",
1062
- "The master plays in {language}; the page stays in English: Codex or Claude Code would translate it on this computer.": "Майстер грає мовою {language}; сторінка залишається англійською: Codex або Claude Code переклали б її на цьому комп’ютері.",
1079
+ "The master plays in {language}; the page stays in English: your AI app would translate it on this computer, but none can now.": "Майстер грає мовою: {language}; сторінка залишається англійською: твій ШІ-застосунок міг би перекласти її на цьому комп'ютері, але зараз жодного немає.",
1063
1080
  "The master plays in {language}; the page stays in English.": "Майстер грає мовою {language}; сторінка залишається англійською.",
1064
1081
  "The master plays in {language}; this computer is translating the page into it, in English meanwhile.": "Майстер грає мовою {language}; цей комп’ютер перекладає сторінку цією мовою, а поки що вона залишається англійською.",
1065
1082
  "the master teaches it as much as you need": "майстер навчає стільки, скільки потрібно",
@@ -1077,7 +1094,7 @@
1077
1094
  "The note's title": "Заголовок нотатки",
1078
1095
  "The order of the turns": "Порядок ходів",
1079
1096
  "the orders you give your companions, kept until you lift one": "накази, які ти даєш своїм супутникам, діють, доки ти їх не скасуєш",
1080
- "The page stays in English: Codex or Claude Code would translate it into {language} on this computer.": "Сторінка залишається англійською: Codex або Claude Code могли б перекласти її мовою «{language}» на цьому комп'ютері.",
1097
+ "The page stays in English: your AI app would translate it into {language} on this computer, but none can now.": "Сторінка залишається англійською: твій ШІ-застосунок міг би перекласти її мовою {language} на цьому комп'ютері, але зараз жодного немає.",
1081
1098
  "The page's": "Сторінки",
1082
1099
  "the page's look": "вигляд сторінки",
1083
1100
  "The pages this option names": "Сторінки, на які посилається цей параметр",
@@ -1129,7 +1146,6 @@
1129
1146
  "This campaign, as an adventure": "Ця кампанія як пригода",
1130
1147
  "This campaign's folder is a git repository: what should the engine do with it?": "Тека цієї кампанії є git-репозиторієм: що рушій має з нею робити?",
1131
1148
  "This campaign's folder is in a git repository that holds other folders too: what should the engine do with it? A push sends your commits on those folders as well.": "Тека цієї кампанії міститься в git-репозиторії, де є й інші теки. Що рушію робити з ним? Push надішле також твої коміти в цих теках.",
1132
- "This chat does not hear it by itself: copy it, then paste it in the chat.": "Чат сам цього не почує: скопіюй і встав у чат.",
1133
1149
  "this computer does not let it be read: check who may open it.": "цей комп'ютер не дозволяє його прочитати: перевір, хто має право його відкривати.",
1134
1150
  "This computer is translating the page into {language}: until then it stays in English.": "Цей комп'ютер перекладає сторінку мовою «{language}»: до того часу вона залишається англійською.",
1135
1151
  "This game's style does not pass the page's check of legibility: the page keeps its own.": "Стиль цієї гри не проходить перевірку читабельності сторінки: сторінка зберігає свій.",
@@ -1152,6 +1168,7 @@
1152
1168
  "today": "сьогодні",
1153
1169
  "Today": "Сьогодні",
1154
1170
  "Token symbols": "Символи на фішках",
1171
+ "Tokens": "Фішки",
1155
1172
  "Top bar": "Верхня панель",
1156
1173
  "Topic": "Тема",
1157
1174
  "Toss": "Кинути",
@@ -1225,7 +1242,6 @@
1225
1242
  "when you may take back a choice or a roll": "коли можна скасувати вибір або кидок",
1226
1243
  "Whenever you like · {done} of {count} done": "Коли завгодно · зроблено {done} із {count}",
1227
1244
  "Where its extension puts it.": "Де його розміщує розширення.",
1228
- "Where the page shows what the extensions add, in this campaign.": "Де сторінка показує, що додають розширення в цій кампанії.",
1229
1245
  "Where the party is": "Де зараз загін",
1230
1246
  "Wherever {name} is used, this goes back to what the game system gives:": "Скрізь, де використовується {name}, це повернеться до того, що дає ігрова система:",
1231
1247
  "whether the saves go into the repository": "чи потрапляють збереження в репозиторій",
@@ -1245,7 +1261,7 @@
1245
1261
  "With the master": "З майстром",
1246
1262
  "With the same character": "З тим самим персонажем",
1247
1263
  "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}: до того часу вони залишаються англійською.",
1264
+ "With your account, your AI app is translating the game's rules into {language}: until then they stay in English.": "З твоїм обліковим записом ШІ-застосунок перекладає правила гри мовою {language}: до того часу вони залишаються англійською.",
1249
1265
  "With your own dice: what did you roll?": "Власними кубиками: що випало?",
1250
1266
  "Within": "Усередині",
1251
1267
  "Without a licence, all rights are reserved.": "Без ліцензії всі права захищені.",
@@ -1263,6 +1279,7 @@
1263
1279
  "Write your character's story": "Написати історію персонажа",
1264
1280
  "written in the campaign, but it reads as no time: the story's time stops until you choose one here": "записано в кампанії, але це не схоже на проміжок часу: час історії зупиняється, доки ти не обереш його тут",
1265
1281
  "Wry": "Іронічна",
1282
+ "Yes": "Так",
1266
1283
  "You": "Ти",
1267
1284
  "you bring one you already have, as a sheet, a file or a description, at its level": "ти приносиш уже готового персонажа: як аркуш персонажа, файл або опис, на його рівні",
1268
1285
  "You can also give a page you see a picture of your own: with its picture button, or dropped in the campaign's inbox folder for the master.": "Сторінці, яку ти бачиш, можна також дати власне зображення: кнопкою зображення або поклавши його для майстра в папку inbox кампанії.",
@@ -1284,7 +1301,7 @@
1284
1301
  "You said no: nothing changed.": "Відмову прийнято: нічого не змінилося.",
1285
1302
  "Your AI app": "Твій ШІ-застосунок",
1286
1303
  "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 — як растрові, кожен за твоїм планом",
1304
+ "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
1305
  "Your app decides": "Вирішує застосунок",
1289
1306
  "Your books": "Твої книги",
1290
1307
  "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}",
@@ -145,6 +146,7 @@
145
146
  "A square…": "某个格子…",
146
147
  "a story that closes each session, with a thread that comes back": "每场游戏都有完整收尾的故事,并留下一条日后回归的线索",
147
148
  "About": "关于",
149
+ "About {item}": "关于{item}",
148
150
  "above {value}": "高于{value}",
149
151
  "Active": "进行中",
150
152
  "Add": "添加",
@@ -195,6 +197,9 @@
195
197
  "Answer: {check}": "回应:{check}",
196
198
  "Answers the master: {check}": "回应主持人:{check}",
197
199
  "Antigravity makes them in your chat, from your Google plan.": "由 Antigravity 在你的对话中使用你的 Google 套餐生成。",
200
+ "Antigravity paints them on this computer, from your Google plan (a paid one: on the free plan its image tool fails)": "Antigravity 会在这台电脑上,通过你的 Google 套餐来绘制(需付费套餐:免费套餐下它的图像工具会失败)",
201
+ "Antigravity paints them on this computer, from your Google plan.": "Antigravity 会在这台电脑上,通过你的 Google 套餐来绘制。",
202
+ "Antigravity's agy does not answer on this computer, or is not signed in.": "这台电脑上的 Antigravity agy 没有响应,或者尚未登录。",
198
203
  "Arcs": "长线",
199
204
  "Around": "周围",
200
205
  "Arrows move the map, plus and minus zoom, Escape closes a place's card. The list of places below says the same.": "方向键移动地图,加号和减号缩放,Esc 关闭地点卡片。下方的地点列表内容相同。",
@@ -210,6 +215,7 @@
210
215
  "Attack": "攻击",
211
216
  "Attack with {item}": "用{item}攻击",
212
217
  "Author": "作者",
218
+ "Automatic commits": "自动提交",
213
219
  "autumn": "秋季",
214
220
  "Back": "返回",
215
221
  "Back here if they all die, or if the table chooses it when one dies": "全员死亡时,或有一人死亡而玩家们选择回档时,会回到这里",
@@ -245,6 +251,7 @@
245
251
  "By hand": "手动",
246
252
  "Calendar": "日历",
247
253
  "Camp": "营地",
254
+ "Campaign": "战役",
248
255
  "Can't act": "无法行动",
249
256
  "Cancel": "取消",
250
257
  "Castle": "城堡",
@@ -271,6 +278,7 @@
271
278
  "Choose": "选择",
272
279
  "Choose {name}": "选择{name}",
273
280
  "Choose on the map": "在地图上选择",
281
+ "Choose on whom": "选择对象",
274
282
  "Choose whenever you like: the story goes on meanwhile. Read the pages here; ask the master anything in the chat.": "随时都可以选择,故事会继续进行。你可以在这里阅读各页内容,有任何问题都可以在聊天中问主持人。",
275
283
  "Chosen": "已选",
276
284
  "City": "城市",
@@ -306,16 +314,16 @@
306
314
  "Completed": "已完成",
307
315
  "Conditions on tokens": "棋子状态",
308
316
  "Confirm the choices": "确认选择",
317
+ "Confirm: {sentence}": "确认:{sentence}",
309
318
  "Confirmed: they are the master's now, who writes them on the sheet and tells you.": "已确认:选择已交给主持人,主持人会写到角色卡上并告诉你。",
310
319
  "Contents": "目录",
311
320
  "Continue": "继续",
312
321
  "Copied": "已复制",
313
- "Copied: paste it in the chat": "已复制:请粘贴到聊天中",
314
322
  "Copper": "铜",
315
323
  "Copy": "复制",
316
324
  "Copy {command}": "复制 {command}",
317
- "Copy did not work: select the words and copy them yourself.": "复制失败:请选中文字自行复制。",
318
325
  "count the dice {condition}": "统计{condition}的骰子数",
326
+ "Counts only with automatic commits: while they are off, the engine puts nothing into the repository.": "仅在开启自动提交时生效:关闭期间,引擎不会向仓库写入任何内容。",
319
327
  "Creature": "生物",
320
328
  "Creature {mark}": "生物 {mark}",
321
329
  "Creatures": "生物",
@@ -350,6 +358,7 @@
350
358
  "Development notes": "关于开发",
351
359
  "Diary": "日记",
352
360
  "Dice": "骰子",
361
+ "Dice and coins": "骰子与硬币",
353
362
  "Dice and measures": "骰子与单位",
354
363
  "Dice edges": "骰子棱角",
355
364
  "Dice set": "骰子套装",
@@ -446,6 +455,7 @@
446
455
  "from here": "从这里",
447
456
  "From where": "从哪里开始",
448
457
  "from your party, as the crow flies": "距你的队伍,直线距离",
458
+ "Game": "游戏",
449
459
  "Game style": "游戏风格",
450
460
  "Game system": "游戏系统",
451
461
  "Game systems, extensions and languages come from npm: a file, a link or a folder can be added all the same.": "游戏系统、扩展和语言来自 npm;也可以通过文件、链接或文件夹添加。",
@@ -579,7 +589,7 @@
579
589
  "keep the lowest": "保留最低的",
580
590
  "Keep the repository private. It holds the log of your sessions and your user's name on this computer; with the chats in, everything you wrote to the master too.": "请将仓库设为私有。里面有你的会话记录和你在这台电脑上的用户名;如果包含聊天记录,还有你对主持人说过的一切。",
581
591
  "Keeping {what}": "维持 {what}",
582
- "Kept in this browser alone.": "仅保存在此浏览器中。",
592
+ "Kept in this browser alone: the master hears nothing of them.": "仅保存在此浏览器中,主持人对此一无所知。",
583
593
  "Key": "图例",
584
594
  "Kind": "类型",
585
595
  "Kinds": "类型",
@@ -615,6 +625,7 @@
615
625
  "Load": "负重",
616
626
  "Load more": "加载更多",
617
627
  "long marches and sleepless nights": "长途跋涉和不眠之夜",
628
+ "Look": "外观",
618
629
  "Lore": "见闻",
619
630
  "Low": "最低",
620
631
  "lowest of {count}": "{count}个中取最低",
@@ -627,6 +638,7 @@
627
638
  "Map of {place}": "{place}的地图",
628
639
  "Maps": "地图",
629
640
  "Marble": "大理石",
641
+ "Master": "主持人",
630
642
  "Master's rolls": "主持人的掷骰",
631
643
  "Master's thinking": "主持人的思考",
632
644
  "Medium": "中等",
@@ -668,6 +680,7 @@
668
680
  "Next month": "下个月",
669
681
  "next to {name}": "在{name}旁边",
670
682
  "next to you": "在你身旁",
683
+ "No": "否",
671
684
  "No campaign searches it any more, and the text RPG Engine read of its books is deleted. The books stay where they are.": "所有战役都不会再查阅它,RPG Engine 从其中的书读取的文本也会删除。书仍在原处。",
672
685
  "No documents yet: the letters, notices and pages your character finds or reads come here, to read again.": "还没有文档。你的角色找到或读过的信件、告示和书页都会收在这里,方便重读。",
673
686
  "No language matches: write its code, such as pt-BR.": "没有匹配的语言:请输入语言代码,例如 pt-BR。",
@@ -701,7 +714,7 @@
701
714
  "Not connected: the sheet as of {time}. It comes back when the game does.": "未连接:这是 {time} 的角色卡。游戏恢复连接后会自动更新。",
702
715
  "not done": "未完成",
703
716
  "Not found yet": "尚未发现",
704
- "Not heard: say it again in the chat": "未收到:请在聊天中再说一次",
717
+ "Not heard: the chat was closed": "主持人没听到:聊天已关闭",
705
718
  "Not in this campaign": "不在本战役中",
706
719
  "Not on this computer: the master does not search it until you add it again.": "不在这台电脑上:重新添加之前,主持人不会查阅它。",
707
720
  "Not there now, as a disk taken out: its books stay known for when it is back.": "当前不可用,就像拔出的磁盘:它的书会保留记录,待其恢复后可继续使用。",
@@ -803,6 +816,7 @@
803
816
  "Portal": "传送门",
804
817
  "Premise": "前提",
805
818
  "Preparation": "准备",
819
+ "Press again to tell the master.": "再按一次,告诉主持人。",
806
820
  "Previous month": "上个月",
807
821
  "Propose changes to your story": "提出故事修改建议",
808
822
  "Prose": "文风",
@@ -866,9 +880,11 @@
866
880
  "Ruby": "红宝石",
867
881
  "Ruin": "废墟",
868
882
  "Rules": "规则",
883
+ "Rules and difficulty": "规则与难度",
869
884
  "Ruleset": "规则版本",
870
885
  "sad": "悲伤",
871
886
  "Said to the master": "已告诉主持人",
887
+ "Said to the master: they read it as soon as you write in the chat": "已告诉主持人:你在聊天中一发送,主持人就会看到",
872
888
  "Sapphire": "蓝宝石",
873
889
  "Save": "保存",
874
890
  "Save now": "立即存档",
@@ -878,6 +894,7 @@
878
894
  "Saved.": "已存档。",
879
895
  "Saves": "存档",
880
896
  "Saves in the repository": "仓库中的存档",
897
+ "Say it again": "再说一遍",
881
898
  "Scene": "场景",
882
899
  "Scene {number}": "场景 {number}",
883
900
  "Scroll": "卷轴",
@@ -1016,7 +1033,6 @@
1016
1033
  "The file is more than {size} MB: no package is that big.": "文件超过 {size} MB,没有哪个包会这么大。",
1017
1034
  "The folder {name} has characters npm cannot take: move it to another path.": "文件夹 {name} 含有 npm 不支持的字符,请移到其他路径。",
1018
1035
  "The folder is on this computer and in this campaign: its books are read now, then the master searches them.": "文件夹位于这台电脑,并用于本战役:其中的书会先读取,之后由主持人查阅。",
1019
- "The game": "游戏",
1020
1036
  "The game follows these rules from the master's next move: the sheets are worked out with them, and the master reads them.": "从主持人的下一步起,游戏遵循这些规则:角色卡按它们重新计算,主持人也会阅读它们。",
1021
1037
  "The game gave no saves: reload the page.": "游戏没有给出存档:请刷新页面。",
1022
1038
  "The game gave no setup: reload the page.": "游戏没有给出设定:请刷新页面。",
@@ -1051,6 +1067,7 @@
1051
1067
  "The master hears it at their next call": "主持人会在下次行动时收到",
1052
1068
  "The master is about to read it": "主持人即将阅读",
1053
1069
  "The master is reading it": "主持人正在阅读",
1070
+ "The master is waiting for your answer: answer that first.": "主持人在等你的回答,请先回答。",
1054
1071
  "The master knows: write to them in the chat, and the story begins.": "主持人已知晓:在聊天中给主持人留言,故事就开始了。",
1055
1072
  "The master makes it": "由主持人生成",
1056
1073
  "the master makes it from a few words of yours": "主持人根据你的几句描述来创建",
@@ -1059,7 +1076,7 @@
1059
1076
  "The master makes them with {tool}.": "由主持人用 {tool} 生成。",
1060
1077
  "the master makes them with ElevenLabs, connected to your AI app, from your ElevenLabs plan": "由主持人用已连接到你的 AI 应用的 ElevenLabs 生成,使用你的 ElevenLabs 套餐",
1061
1078
  "The master plays in {language}, and the page is written in it too.": "主持人使用{language}进行游戏,页面也使用这种语言。",
1062
- "The master plays in {language}; the page stays in English: Codex or Claude Code would translate it on this computer.": "主持人使用{language}进行游戏;页面仍显示英文:Codex 或 Claude Code 可以在这台电脑上翻译页面。",
1079
+ "The master plays in {language}; the page stays in English: your AI app would translate it on this computer, but none can now.": "主持人使用{language}进行游戏,页面仍为英文:你的 AI 应用本可以在这台电脑上翻译页面,但现在无法使用。",
1063
1080
  "The master plays in {language}; the page stays in English.": "主持人使用{language}进行游戏,页面仍为英文。",
1064
1081
  "The master plays in {language}; this computer is translating the page into it, in English meanwhile.": "主持人使用{language}进行游戏;这台电脑正在将页面翻译成该语言,在此期间页面暂时显示英文。",
1065
1082
  "the master teaches it as much as you need": "主持人会按你的需要来教",
@@ -1077,7 +1094,7 @@
1077
1094
  "The note's title": "笔记标题",
1078
1095
  "The order of the turns": "回合顺序",
1079
1096
  "the orders you give your companions, kept until you lift one": "你给同伴下达的指令,撤销前一直有效",
1080
- "The page stays in English: Codex or Claude Code would translate it into {language} on this computer.": "页面仍显示英文:可由这台电脑上的 Codex 或 Claude Code 将其翻译成{language}。",
1097
+ "The page stays in English: your AI app would translate it into {language} on this computer, but none can now.": "页面仍为英文:你的 AI 应用本可以在这台电脑上将其翻译成{language},但现在无法使用。",
1081
1098
  "The page's": "页面的",
1082
1099
  "the page's look": "页面外观",
1083
1100
  "The pages this option names": "此选项所指的页面",
@@ -1129,7 +1146,6 @@
1129
1146
  "This campaign, as an adventure": "将本战役导出为冒险",
1130
1147
  "This campaign's folder is a git repository: what should the engine do with it?": "本战役的文件夹是一个 git 仓库:引擎该如何处理?",
1131
1148
  "This campaign's folder is in a git repository that holds other folders too: what should the engine do with it? A push sends your commits on those folders as well.": "这个战役的文件夹所在的 git 仓库里还有其他文件夹:引擎该如何处理?推送时,这些文件夹上的提交也会一并发送。",
1132
- "This chat does not hear it by itself: copy it, then paste it in the chat.": "聊天不会自动收到这句话:请复制后粘贴到聊天中。",
1133
1149
  "this computer does not let it be read: check who may open it.": "这台电脑不允许读取该文件:请检查打开权限。",
1134
1150
  "This computer is translating the page into {language}: until then it stays in English.": "这台电脑正在将页面翻译成{language},在此之前仍显示英文。",
1135
1151
  "This game's style does not pass the page's check of legibility: the page keeps its own.": "这个游戏的风格未通过页面的可读性检查:页面保留自己的风格。",
@@ -1152,6 +1168,7 @@
1152
1168
  "today": "今天",
1153
1169
  "Today": "今天",
1154
1170
  "Token symbols": "棋子标记",
1171
+ "Tokens": "棋子",
1155
1172
  "Top bar": "顶栏",
1156
1173
  "Topic": "话题",
1157
1174
  "Toss": "抛",
@@ -1225,7 +1242,6 @@
1225
1242
  "when you may take back a choice or a roll": "什么时候可以撤回选择或掷骰",
1226
1243
  "Whenever you like · {done} of {count} done": "随时都可以 · 已完成 {done}/{count}",
1227
1244
  "Where its extension puts it.": "该扩展放置它的位置。",
1228
- "Where the page shows what the extensions add, in this campaign.": "在本战役中,页面显示扩展所添加内容的位置。",
1229
1245
  "Where the party is": "队伍所在位置",
1230
1246
  "Wherever {name} is used, this goes back to what the game system gives:": "凡是用到{name}的地方,这些都会恢复为游戏系统的原有内容:",
1231
1247
  "whether the saves go into the repository": "存档是否放入仓库",
@@ -1245,7 +1261,7 @@
1245
1261
  "With the master": "和主持人一起",
1246
1262
  "With the same character": "沿用同一角色",
1247
1263
  "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},在此之前规则仍为英文。",
1264
+ "With your account, your AI app is translating the game's rules into {language}: until then they stay in English.": "你的 AI 应用正在用你的账号把游戏规则翻译成{language},在此之前规则仍为英文。",
1249
1265
  "With your own dice: what did you roll?": "用你自己的骰子:掷出了多少?",
1250
1266
  "Within": "内部",
1251
1267
  "Without a licence, all rights are reserved.": "未附许可证时,保留所有权利。",
@@ -1263,6 +1279,7 @@
1263
1279
  "Write your character's story": "撰写角色的故事",
1264
1280
  "written in the campaign, but it reads as no time: the story's time stops until you choose one here": "战役中有写,但无法识别为时间:故事时间会停止,直到你在这里选择一个",
1265
1281
  "Wry": "戏谑",
1282
+ "Yes": "是",
1266
1283
  "You": "你",
1267
1284
  "you bring one you already have, as a sheet, a file or a description, at its level": "带上你已有的角色,可以是角色卡、文件或描述,沿用其等级",
1268
1285
  "You can also give a page you see a picture of your own: with its picture button, or dropped in the campaign's inbox folder for the master.": "你也可以为看到的页面设置自己的图片:点击页面的图片按钮,或者把图片放进战役的 inbox 文件夹,交给主持人。",
@@ -1284,7 +1301,7 @@
1284
1301
  "You said no: nothing changed.": "你选择了拒绝,没有任何更改。",
1285
1302
  "Your AI app": "你的 AI 应用",
1286
1303
  "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 绘制画作,均使用你的套餐",
1304
+ "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
1305
  "Your app decides": "由你的应用决定",
1289
1306
  "Your books": "你的书",
1290
1307
  "Your character": "你的角色",
@@ -224,7 +224,7 @@ export function PackagesPage({ version, tab, item, layers = [], sceneOpen = fals
224
224
  : change(`extension:${extension.package}`, "remove", extension.package, phraseLabel(extension.name))), onUpdate: () => void change(`extension:${extension.package}`, "update", extension.package, phraseLabel(extension.name)), onUninstall: () => setAsking({ kind: "uninstall", what: "extension", name: phraseLabel(extension.name), target: extension.package, at: `extension:${extension.package}` }) }, extension.package))), view.missing.map((name) => _jsx(MissingRow, { name: name, state: rowState(`extension:${name}`), onInstall: () => void add(`extension:${name}`, name) }, name))] })), _jsx(CardSaid, { said: said, at: "extensions" })] })] }), _jsxs("section", { class: "card", "aria-labelledby": "packages-themes", children: [_jsx(CardHead, { icon: iconPath("theme"), title: _jsx("h3", { id: "packages-themes", tabIndex: -1, children: t("Themes") }), ...(themes.length === 0 ? {} : { note: String(themes.length) }) }), _jsxs("div", { class: "card-body package-body", children: [themes.length === 0 && _jsx("p", { class: "package-note", children: t("None: a theme changes the page's colours, faces and pictures, in every campaign; you find them in Add, in the catalog.") }), themes.length > 0 && (_jsxs(_Fragment, { children: [_jsx("ul", { class: "package-list", children: themes.map((theme) => {
225
225
  const entry = themeEntryOf(theme, catalog.read);
226
226
  return (_jsx(ThemeRow, { theme: theme, newer: newerVersion(entry), needs: needs(entry?.newer), shown: theme.id === themeShown, fresh: fresh.includes(`theme:${theme.id}`), state: rowState(`theme:${theme.id}`), onUpdate: () => void update(`theme:${theme.id}`, theme.id, theme.name, entry), onUninstall: () => setAsking({ kind: "uninstall", what: "theme", name: theme.name, target: `theme:${theme.id}`, at: `theme:${theme.id}` }) }, theme.id));
227
- }) }), _jsx("p", { class: "package-note", children: t("You choose one in Settings, under Game style.") })] })), _jsx(CardSaid, { said: said, at: "themes" })] })] }), _jsxs("section", { class: "card", "aria-labelledby": "packages-languages", children: [_jsx(CardHead, { icon: iconPath("language"), title: _jsx("h3", { id: "packages-languages", tabIndex: -1, children: t("Languages") }) }), _jsxs("div", { class: "card-body package-body", children: [languages.length === 0 && _jsx("p", { class: "package-note", children: t("None. The dashboard has its own languages; a language package takes the place of one with a translation made by hand.") }), languages.length > 0 && (_jsx("ul", { class: "package-list", children: languages.map((language) => {
227
+ }) }), _jsx("p", { class: "package-note", children: _jsx("a", { class: "md-link", href: sectionAddress("settings", "page"), onClick: () => window.scrollTo({ top: 0 }), children: t("You choose one in Settings, under Game style.") }) })] })), _jsx(CardSaid, { said: said, at: "themes" })] })] }), _jsxs("section", { class: "card", "aria-labelledby": "packages-languages", children: [_jsx(CardHead, { icon: iconPath("language"), title: _jsx("h3", { id: "packages-languages", tabIndex: -1, children: t("Languages") }) }), _jsxs("div", { class: "card-body package-body", children: [languages.length === 0 && _jsx("p", { class: "package-note", children: t("None. The dashboard has its own languages; a language package takes the place of one with a translation made by hand.") }), languages.length > 0 && (_jsx("ul", { class: "package-list", children: languages.map((language) => {
228
228
  const entry = languageEntryOf(language, catalog.read);
229
229
  return (_jsx(LanguageRow, { language: language, newer: newerVersion(entry), needs: needs(entry?.newer), fresh: fresh.includes(`language:${language.code}`), state: rowState(`language:${language.code}`), onUpdate: () => void update(`language:${language.code}`, language.package, languageTitle(language), entry), onUninstall: () => setAsking({
230
230
  kind: "uninstall",
@@ -99,6 +99,8 @@ const iconPaths = {
99
99
  // A painter's palette: a theme, the page's colours and faces (D-574).
100
100
  theme: "M12 3a9 9 0 1 0 0 18c1 0 1.7-.8 1.7-1.7 0-.4-.2-.8-.4-1.1-.3-.3-.4-.7-.4-1.1 0-.9.8-1.7 1.7-1.7h2.1a5.3 5.3 0 0 0 5.3-5.3C22 6.6 17.5 3 12 3Z M7.5 12h.01 M9 8h.01 M13.5 7h.01 M17 10h.01",
101
101
  window: "M3 5h18v14H3Z M3 9h18 M6 7h.01 M8.5 7h.01",
102
+ // The campaign's folder as a git repository, in Settings: a branch that joins its trunk.
103
+ branch: "M7 4a2 2 0 1 0 0 4a2 2 0 1 0 0-4Z M7 16a2 2 0 1 0 0 4a2 2 0 1 0 0-4Z M17 6.5a2 2 0 1 0 0 4a2 2 0 1 0 0-4Z M7 8v8 M17 10.5c0 3.5-4 3-10 5.5",
102
104
  more: "M6 9l6 6 6-6",
103
105
  // A thing in a list of bonds, as attuned: two rings linked.
104
106
  bond: "M9 7.5a4.5 4.5 0 1 0 0 9a4.5 4.5 0 1 0 0-9Z M15 7.5a4.5 4.5 0 1 0 0 9a4.5 4.5 0 1 0 0-9Z",
@@ -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"),
@@ -345,6 +345,7 @@ export function valueLabel(value) {
345
345
  other: t("Another tool"),
346
346
  // Names of programs, the same in every language.
347
347
  codex: "Codex",
348
+ antigravity: "Antigravity",
348
349
  elevenlabs: "ElevenLabs",
349
350
  };
350
351
  return labels[value] ?? itemLabel(value);
@@ -102,6 +102,40 @@ export function trackPlaces(counter) {
102
102
  const place = (number) => Math.min(1, Math.max(0, (number - min) / span));
103
103
  return { zero: place(0), value: place(counter.value) };
104
104
  }
105
+ /**
106
+ * What is carried, what is equipped first (D-581 (6)): each thing equipped at depth 0, in its order, out of the container it is in, so without its `inside`,
107
+ * with what it holds under it at the same depths from it; then the rest as it was. Nothing equipped, all of it is the rest.
108
+ */
109
+ export function equippedFirst(items) {
110
+ const depths = items.map((item) => item.depth ?? 0);
111
+ const taken = new Set();
112
+ const equipped = [];
113
+ items.forEach((item, index) => {
114
+ if (taken.has(index) || item.equipped !== true) {
115
+ return;
116
+ }
117
+ // The thing and what it holds: the lines after it deeper than it.
118
+ const top = depths[index];
119
+ let end = index + 1;
120
+ while (end < items.length && depths[end] > top) {
121
+ end++;
122
+ }
123
+ for (let line = index; line < end; line++) {
124
+ taken.add(line);
125
+ equipped.push(movedLine(items[line], depths[line] - top, line === index));
126
+ }
127
+ });
128
+ return { equipped, rest: items.filter((_, index) => !taken.has(index)) };
129
+ }
130
+ /** A line moved to the head of its list: at its depth there, out of its container when it is the thing moved. */
131
+ function movedLine(item, depth, head) {
132
+ const moved = { ...item };
133
+ delete moved.depth;
134
+ if (head) {
135
+ delete moved.inside;
136
+ }
137
+ return depth === 0 ? moved : { ...moved, depth };
138
+ }
105
139
  function widgetRank(value) {
106
140
  const widget = widgetOf(value);
107
141
  return widgetOrder.indexOf(widget === "progress" ? "number" : widget);
@@ -1,7 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "preact/jsx-runtime";
2
2
  // The widgets of a value (D-273, D-284): pips, a bar, a track centred on zero, a number's progress, chips or a list of sentences; each says its value in words
3
3
  // for a screen reader.
4
- import { ActName, usePlayerActs } from "../acts/names.js";
4
+ import { useContext } from "preact/hooks";
5
+ import { thingKey } from "../acts/acts.js";
6
+ import { ActName, ThingVerbsContext, usePlayerActs } from "../acts/names.js";
5
7
  import { numberText, t } from "../text.js";
6
8
  import { ChangedMark, isChanged } from "./changed.js";
7
9
  import { Coins } from "./coins.js";
@@ -63,12 +65,14 @@ export function Chips({ value, fields }) {
63
65
  /** A list's items, each a button that acts when the system names verbs for its field (D-495). */
64
66
  function Items({ items, field, fields }) {
65
67
  const verbs = usePlayerActs()?.actions[field];
68
+ // A thing's verbs are the same wherever the sheet has it (D-581 (D)); outside a sheet, those of the list.
69
+ const verbsOf = useContext(ThingVerbsContext);
66
70
  const acting = verbs !== undefined && verbs.length > 0;
67
71
  const sentences = items.some((item) => item.trim().split(/\s+/).length >= sentenceWords);
68
72
  return (_jsx("ul", { class: [sentences ? "notes" : "chips", acting ? "acting" : ""].filter((name) => name !== "").join(" "), children: items.map((item) => {
69
73
  const label = itemLabel(item, fields);
70
74
  // An item is only a name: one of a page of the game system the campaign changed has the asterisk after it (D-564).
71
- return (_jsxs("li", { children: [acting ? _jsx(ActName, { verbs: verbs, item: label, page: item, children: label }) : label, isChanged(item) && _jsx(ChangedMark, {})] }, item));
75
+ return (_jsxs("li", { children: [acting ? _jsx(ActName, { verbs: verbsOf?.get(thingKey(item)) ?? verbs, item: label, page: item, children: label }) : label, isChanged(item) && _jsx(ChangedMark, {})] }, item));
72
76
  }) }));
73
77
  }
74
78
  /** Someone's effects as tags, each with its end; past `most`, how many more. */
@@ -75,7 +75,7 @@ export function languageLine(code) {
75
75
  return t("The master plays in {language}; this computer is translating the page into it, in English meanwhile.", { language: name });
76
76
  }
77
77
  if (state === "unable") {
78
- return t("The master plays in {language}; the page stays in English: Codex or Claude Code would translate it on this computer.", { language: name });
78
+ return t("The master plays in {language}; the page stays in English: your AI app would translate it on this computer, but none can now.", { language: name });
79
79
  }
80
80
  return state === "ready"
81
81
  ? t("The master plays in {language}, and the page is written in it too.", { language: name })