feat(npcs): add groups, storyline bindings, and Foundry import

Nested NPC groups with color, graph filter, and scene/storyline binding; Foundry worlds/modules import actors into groups; storyline merge asks on NPC name conflicts and reports NPC counts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-20 13:19:22 +08:00
parent 37ba855faf
commit f4c0ac1438
41 changed files with 5210 additions and 418 deletions
@@ -61,7 +61,7 @@ function minimalProject(overrides: Partial<Project> = {}): Project {
updatedAt: '2020-01-01T00:00:00.000Z',
createdWithAppVersion: '1',
appVersion: '1',
schemaVersion: 8,
schemaVersion: 9,
},
scenes: {},
sceneListOrder: [],
@@ -69,6 +69,7 @@ function minimalProject(overrides: Partial<Project> = {}): Project {
campaignAudios: [],
materials: [],
npcs: [],
npcGroups: [],
npcRelations: [],
currentSceneId: null,
currentGraphNodeId: null,