diff --git a/PLAN.md b/PLAN.md index e593e0b..d2c1af1 100644 --- a/PLAN.md +++ b/PLAN.md @@ -27,12 +27,13 @@ Dungeons & Ground — англоязычная веб‑платформа дл - стартовая локация; - 3 значимых NPC; - 2 фракции; + - 3 постоянных AI‑героя, созданных специально для этой вселенной; - сюжетная завязка; - скрытая угроза или цель; - начальная сцена. 5. Владелец подтверждает мир, создаёт кампанию и приглашает игроков ссылкой. 6. Каждый игрок создаёт персонажа вручную или с помощью AI. -7. Владелец добавляет постоянных AI‑героев и определяет, чьи персонажи могут временно переходить под управление AI. +7. Созданные вместе со вселенной постоянные AI‑герои автоматически входят в стартовую партию; владелец может добавлять других и определяет, чьи персонажи могут временно переходить под управление AI. 8. Игроки отправляют действия в текущем раунде. 9. AI‑DM обрабатывает раунд, когда: - ответили все активные реальные игроки; или diff --git a/README.md b/README.md index de064db..60b83a6 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ If the worker reports `POST /rest/v1/rpc/claim_ai_job 404` and `/rest/v1/profile 1. Click **Enter the Alpha** to open registration. Every account requires a display name, email, password, and 13+ confirmation. Existing users sign in with email/password; forgotten passwords use the email recovery flow. 2. Create a world in the dynamic coauthor chat. Unfinished conversations and generated drafts appear on the dashboard and resume after a reload. 3. Review every starting-world field, including the owner-only hidden threat, then confirm it. -4. A new campaign starts immediately with an owner-controlled hero and a persistent AI companion. Additional players create a human character manually or ask the coauthor for an editable draft; owners can add more AI companions the same way. +4. During world creation, the coauthor also creates three editable, universe-specific AI companions. A new campaign starts immediately with those companions and an owner-controlled hero. Additional players create a human character manually or ask the coauthor for an editable draft; owners can add more AI companions the same way. 5. The owner creates an expiring private invite link. Signed-in email users join through `/join/:token`. 6. Players save actions and mark them ready. The final ready action queues the round automatically; the owner can also continue without waiting. 7. The worker resolves server-owned rolls and state, publishes narration, and opens the next round. Visible campaign tabs synchronize every two seconds and immediately when the tab regains focus. diff --git a/apps/web/components/CoauthorWorldPreview.vue b/apps/web/components/CoauthorWorldPreview.vue index b454f47..ae80ba7 100644 --- a/apps/web/components/CoauthorWorldPreview.vue +++ b/apps/web/components/CoauthorWorldPreview.vue @@ -1,8 +1,16 @@