@escapeaihq/client-core 0.49.1 → 0.138.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.
- package/README.md +445 -153
- package/dist/adapters/capabilities.d.ts +20 -3
- package/dist/adapters/capabilities.d.ts.map +1 -1
- package/dist/adapters/directorAdapter.d.ts +5 -4
- package/dist/adapters/directorAdapter.d.ts.map +1 -1
- package/dist/adapters/directorAdapter.js +5 -4
- package/dist/adapters/directorAdapter.js.map +1 -1
- package/dist/adapters/experienceModelCatalog.d.ts +382 -0
- package/dist/adapters/experienceModelCatalog.d.ts.map +1 -0
- package/dist/adapters/experienceModelCatalog.js +401 -0
- package/dist/adapters/experienceModelCatalog.js.map +1 -0
- package/dist/adapters/extractionAdapter.d.ts +81 -0
- package/dist/adapters/extractionAdapter.d.ts.map +1 -0
- package/dist/adapters/extractionAdapter.js +98 -0
- package/dist/adapters/extractionAdapter.js.map +1 -0
- package/dist/adapters/imageAdapter.d.ts +5 -1
- package/dist/adapters/imageAdapter.d.ts.map +1 -1
- package/dist/adapters/imageAdapter.js +5 -1
- package/dist/adapters/imageAdapter.js.map +1 -1
- package/dist/adapters/index.d.ts +54 -16
- package/dist/adapters/index.d.ts.map +1 -1
- package/dist/adapters/index.js +62 -11
- package/dist/adapters/index.js.map +1 -1
- package/dist/adapters/momentDirective.d.ts +66 -0
- package/dist/adapters/momentDirective.d.ts.map +1 -0
- package/dist/adapters/momentDirective.js +78 -0
- package/dist/adapters/momentDirective.js.map +1 -0
- package/dist/adapters/momentPolicy.d.ts +132 -0
- package/dist/adapters/momentPolicy.d.ts.map +1 -0
- package/dist/adapters/momentPolicy.js +165 -0
- package/dist/adapters/momentPolicy.js.map +1 -0
- package/dist/adapters/registry.d.ts +1 -1
- package/dist/adapters/registry.d.ts.map +1 -1
- package/dist/adapters/videoGenAdapter.d.ts +55 -0
- package/dist/adapters/videoGenAdapter.d.ts.map +1 -0
- package/dist/adapters/videoGenAdapter.js +78 -0
- package/dist/adapters/videoGenAdapter.js.map +1 -0
- package/dist/adapters/worldAdapter.d.ts +132 -11
- package/dist/adapters/worldAdapter.d.ts.map +1 -1
- package/dist/adapters/worldAdapter.js +127 -11
- package/dist/adapters/worldAdapter.js.map +1 -1
- package/dist/adapters/worldModelPreference.d.ts +173 -0
- package/dist/adapters/worldModelPreference.d.ts.map +1 -0
- package/dist/adapters/worldModelPreference.js +209 -0
- package/dist/adapters/worldModelPreference.js.map +1 -0
- package/dist/adapters/worldModelTradeoffs.d.ts +120 -0
- package/dist/adapters/worldModelTradeoffs.d.ts.map +1 -0
- package/dist/adapters/worldModelTradeoffs.js +154 -0
- package/dist/adapters/worldModelTradeoffs.js.map +1 -0
- package/dist/admin.d.ts +545 -0
- package/dist/admin.d.ts.map +1 -1
- package/dist/admin.js +230 -16
- package/dist/admin.js.map +1 -1
- package/dist/api.d.ts +10281 -2216
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +4174 -1240
- package/dist/api.js.map +1 -1
- package/dist/arcBoardJoin.d.ts +38 -0
- package/dist/arcBoardJoin.d.ts.map +1 -0
- package/dist/arcBoardJoin.js +37 -0
- package/dist/arcBoardJoin.js.map +1 -0
- package/dist/arcPreview.d.ts +49 -0
- package/dist/arcPreview.d.ts.map +1 -0
- package/dist/arcPreview.js +65 -0
- package/dist/arcPreview.js.map +1 -0
- package/dist/audio.d.ts +259 -16
- package/dist/audio.d.ts.map +1 -1
- package/dist/audio.js +605 -114
- package/dist/audio.js.map +1 -1
- package/dist/audioDsp.d.ts +45 -0
- package/dist/audioDsp.d.ts.map +1 -0
- package/dist/audioDsp.js +108 -0
- package/dist/audioDsp.js.map +1 -0
- package/dist/audioProtocol.d.ts +160 -0
- package/dist/audioProtocol.d.ts.map +1 -1
- package/dist/audioProtocol.js +99 -0
- package/dist/audioProtocol.js.map +1 -1
- package/dist/beatTitles.d.ts +33 -0
- package/dist/beatTitles.d.ts.map +1 -0
- package/dist/beatTitles.js +39 -0
- package/dist/beatTitles.js.map +1 -0
- package/dist/castProjection.d.ts +204 -1
- package/dist/castProjection.d.ts.map +1 -1
- package/dist/castProjection.js +202 -0
- package/dist/castProjection.js.map +1 -1
- package/dist/characterGrounding.d.ts +369 -0
- package/dist/characterGrounding.d.ts.map +1 -0
- package/dist/characterGrounding.js +408 -0
- package/dist/characterGrounding.js.map +1 -0
- package/dist/conversation/binding.d.ts +41 -1
- package/dist/conversation/binding.d.ts.map +1 -1
- package/dist/conversation/binding.js +12 -0
- package/dist/conversation/binding.js.map +1 -1
- package/dist/conversation/chatSessionStore.d.ts +178 -0
- package/dist/conversation/chatSessionStore.d.ts.map +1 -0
- package/dist/conversation/chatSessionStore.js +196 -0
- package/dist/conversation/chatSessionStore.js.map +1 -0
- package/dist/conversation/controller.d.ts +60 -0
- package/dist/conversation/controller.d.ts.map +1 -1
- package/dist/conversation/controller.js +104 -3
- package/dist/conversation/controller.js.map +1 -1
- package/dist/conversation/index.d.ts +2 -0
- package/dist/conversation/index.d.ts.map +1 -1
- package/dist/conversation/index.js +2 -0
- package/dist/conversation/index.js.map +1 -1
- package/dist/conversation/participant.d.ts +16 -0
- package/dist/conversation/participant.d.ts.map +1 -1
- package/dist/conversation/readSequencer.d.ts +38 -0
- package/dist/conversation/readSequencer.d.ts.map +1 -0
- package/dist/conversation/readSequencer.js +42 -0
- package/dist/conversation/readSequencer.js.map +1 -0
- package/dist/conversation/roster.d.ts +5 -1
- package/dist/conversation/roster.d.ts.map +1 -1
- package/dist/conversation/roster.js.map +1 -1
- package/dist/conversation/rosterProjection.d.ts +74 -1
- package/dist/conversation/rosterProjection.d.ts.map +1 -1
- package/dist/conversation/rosterProjection.js +135 -1
- package/dist/conversation/rosterProjection.js.map +1 -1
- package/dist/conversation/runtime.d.ts +20 -3
- package/dist/conversation/runtime.d.ts.map +1 -1
- package/dist/conversation/runtime.js +66 -7
- package/dist/conversation/runtime.js.map +1 -1
- package/dist/conversation/types.d.ts +43 -4
- package/dist/conversation/types.d.ts.map +1 -1
- package/dist/conversation/voice.d.ts +290 -13
- package/dist/conversation/voice.d.ts.map +1 -1
- package/dist/conversation/voice.js +565 -42
- package/dist/conversation/voice.js.map +1 -1
- package/dist/creatorCuration.d.ts +134 -0
- package/dist/creatorCuration.d.ts.map +1 -0
- package/dist/creatorCuration.js +228 -0
- package/dist/creatorCuration.js.map +1 -0
- package/dist/creatorDashboard.d.ts +155 -0
- package/dist/creatorDashboard.d.ts.map +1 -0
- package/dist/creatorDashboard.js +237 -0
- package/dist/creatorDashboard.js.map +1 -0
- package/dist/creatorUniverse.d.ts +95 -0
- package/dist/creatorUniverse.d.ts.map +1 -0
- package/dist/creatorUniverse.js +136 -0
- package/dist/creatorUniverse.js.map +1 -0
- package/dist/curationWrite.d.ts +76 -0
- package/dist/curationWrite.d.ts.map +1 -0
- package/dist/curationWrite.js +106 -0
- package/dist/curationWrite.js.map +1 -0
- package/dist/designTokens.d.ts +64 -0
- package/dist/designTokens.d.ts.map +1 -0
- package/dist/designTokens.js +117 -0
- package/dist/designTokens.js.map +1 -0
- package/dist/dialogAttribution.d.ts +79 -0
- package/dist/dialogAttribution.d.ts.map +1 -0
- package/dist/dialogAttribution.js +144 -0
- package/dist/dialogAttribution.js.map +1 -0
- package/dist/dmRunWorldReadiness.d.ts +605 -0
- package/dist/dmRunWorldReadiness.d.ts.map +1 -0
- package/dist/dmRunWorldReadiness.js +775 -0
- package/dist/dmRunWorldReadiness.js.map +1 -0
- package/dist/domains/access.d.ts +32 -0
- package/dist/domains/access.d.ts.map +1 -0
- package/dist/domains/access.js +43 -0
- package/dist/domains/access.js.map +1 -0
- package/dist/domains/adventureDefinitions.d.ts +159 -0
- package/dist/domains/adventureDefinitions.d.ts.map +1 -0
- package/dist/domains/adventureDefinitions.js +168 -0
- package/dist/domains/adventureDefinitions.js.map +1 -0
- package/dist/domains/adventures.d.ts +329 -0
- package/dist/domains/adventures.d.ts.map +1 -0
- package/dist/domains/adventures.js +359 -0
- package/dist/domains/adventures.js.map +1 -0
- package/dist/domains/arcs.d.ts +146 -0
- package/dist/domains/arcs.d.ts.map +1 -0
- package/dist/domains/arcs.js +202 -0
- package/dist/domains/arcs.js.map +1 -0
- package/dist/domains/artifacts.d.ts +259 -0
- package/dist/domains/artifacts.d.ts.map +1 -0
- package/dist/domains/artifacts.js +125 -0
- package/dist/domains/artifacts.js.map +1 -0
- package/dist/domains/chat.d.ts +158 -0
- package/dist/domains/chat.d.ts.map +1 -0
- package/dist/domains/chat.js +224 -0
- package/dist/domains/chat.js.map +1 -0
- package/dist/domains/decisions.d.ts +31 -0
- package/dist/domains/decisions.d.ts.map +1 -0
- package/dist/domains/decisions.js +42 -0
- package/dist/domains/decisions.js.map +1 -0
- package/dist/domains/documents.d.ts +218 -0
- package/dist/domains/documents.d.ts.map +1 -0
- package/dist/domains/documents.js +252 -0
- package/dist/domains/documents.js.map +1 -0
- package/dist/domains/enhancements.d.ts +106 -0
- package/dist/domains/enhancements.d.ts.map +1 -0
- package/dist/domains/enhancements.js +160 -0
- package/dist/domains/enhancements.js.map +1 -0
- package/dist/domains/graph.d.ts +454 -0
- package/dist/domains/graph.d.ts.map +1 -0
- package/dist/domains/graph.js +648 -0
- package/dist/domains/graph.js.map +1 -0
- package/dist/domains/images.d.ts +220 -0
- package/dist/domains/images.d.ts.map +1 -0
- package/dist/domains/images.js +307 -0
- package/dist/domains/images.js.map +1 -0
- package/dist/domains/ingestion.d.ts +312 -0
- package/dist/domains/ingestion.d.ts.map +1 -0
- package/dist/domains/ingestion.js +495 -0
- package/dist/domains/ingestion.js.map +1 -0
- package/dist/domains/me.d.ts +21 -0
- package/dist/domains/me.d.ts.map +1 -0
- package/dist/domains/me.js +23 -0
- package/dist/domains/me.js.map +1 -0
- package/dist/domains/orgs.d.ts +47 -0
- package/dist/domains/orgs.d.ts.map +1 -0
- package/dist/domains/orgs.js +75 -0
- package/dist/domains/orgs.js.map +1 -0
- package/dist/domains/personas.d.ts +135 -0
- package/dist/domains/personas.d.ts.map +1 -0
- package/dist/domains/personas.js +316 -0
- package/dist/domains/personas.js.map +1 -0
- package/dist/domains/projects.d.ts +53 -0
- package/dist/domains/projects.d.ts.map +1 -0
- package/dist/domains/projects.js +94 -0
- package/dist/domains/projects.js.map +1 -0
- package/dist/domains/quests.d.ts +431 -0
- package/dist/domains/quests.d.ts.map +1 -0
- package/dist/domains/quests.js +61 -0
- package/dist/domains/quests.js.map +1 -0
- package/dist/domains/reactor.d.ts +98 -0
- package/dist/domains/reactor.d.ts.map +1 -0
- package/dist/domains/reactor.js +131 -0
- package/dist/domains/reactor.js.map +1 -0
- package/dist/domains/showcase.d.ts +28 -0
- package/dist/domains/showcase.d.ts.map +1 -0
- package/dist/domains/showcase.js +28 -0
- package/dist/domains/showcase.js.map +1 -0
- package/dist/domains/storyboards.d.ts +1253 -0
- package/dist/domains/storyboards.d.ts.map +1 -0
- package/dist/domains/storyboards.js +781 -0
- package/dist/domains/storyboards.js.map +1 -0
- package/dist/domains/studioSettings.d.ts +39 -0
- package/dist/domains/studioSettings.d.ts.map +1 -0
- package/dist/domains/studioSettings.js +80 -0
- package/dist/domains/studioSettings.js.map +1 -0
- package/dist/domains/universes.d.ts +191 -0
- package/dist/domains/universes.d.ts.map +1 -0
- package/dist/domains/universes.js +276 -0
- package/dist/domains/universes.js.map +1 -0
- package/dist/domains/userDefaults.d.ts +18 -0
- package/dist/domains/userDefaults.d.ts.map +1 -0
- package/dist/domains/userDefaults.js +27 -0
- package/dist/domains/userDefaults.js.map +1 -0
- package/dist/domains/visemeBundles.d.ts +262 -0
- package/dist/domains/visemeBundles.d.ts.map +1 -0
- package/dist/domains/visemeBundles.js +373 -0
- package/dist/domains/visemeBundles.js.map +1 -0
- package/dist/domains/workflows.d.ts +142 -0
- package/dist/domains/workflows.d.ts.map +1 -0
- package/dist/domains/workflows.js +245 -0
- package/dist/domains/workflows.js.map +1 -0
- package/dist/enhancementDiff.d.ts +56 -0
- package/dist/enhancementDiff.d.ts.map +1 -0
- package/dist/enhancementDiff.js +110 -0
- package/dist/enhancementDiff.js.map +1 -0
- package/dist/generated/contract.d.ts +372 -0
- package/dist/generated/contract.d.ts.map +1 -0
- package/dist/generated/contract.js +390 -0
- package/dist/generated/contract.js.map +1 -0
- package/dist/graphSchema.d.ts +36 -5
- package/dist/graphSchema.d.ts.map +1 -1
- package/dist/graphSchema.js +88 -2
- package/dist/graphSchema.js.map +1 -1
- package/dist/http.d.ts +70 -1
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +263 -11
- package/dist/http.js.map +1 -1
- package/dist/identity.d.ts +81 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +65 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -0
- package/dist/index.js.map +1 -1
- package/dist/messageContent.d.ts +174 -0
- package/dist/messageContent.d.ts.map +1 -0
- package/dist/messageContent.js +405 -0
- package/dist/messageContent.js.map +1 -0
- package/dist/mutationEpoch.d.ts +83 -0
- package/dist/mutationEpoch.d.ts.map +1 -0
- package/dist/mutationEpoch.js +109 -0
- package/dist/mutationEpoch.js.map +1 -0
- package/dist/obo.d.ts +144 -0
- package/dist/obo.d.ts.map +1 -0
- package/dist/obo.js +135 -0
- package/dist/obo.js.map +1 -0
- package/dist/opusTransport.d.ts +113 -0
- package/dist/opusTransport.d.ts.map +1 -0
- package/dist/opusTransport.js +170 -0
- package/dist/opusTransport.js.map +1 -0
- package/dist/pagination.d.ts +18 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +26 -0
- package/dist/pagination.js.map +1 -0
- package/dist/platformAssistant.d.ts +55 -1
- package/dist/platformAssistant.d.ts.map +1 -1
- package/dist/platformAssistant.js +39 -1
- package/dist/platformAssistant.js.map +1 -1
- package/dist/pollUtils.d.ts +19 -0
- package/dist/pollUtils.d.ts.map +1 -0
- package/dist/pollUtils.js +35 -0
- package/dist/pollUtils.js.map +1 -0
- package/dist/questLog.d.ts +232 -0
- package/dist/questLog.d.ts.map +1 -0
- package/dist/questLog.js +522 -0
- package/dist/questLog.js.map +1 -0
- package/dist/reactor/dmDirectiveToExperience.d.ts +300 -0
- package/dist/reactor/dmDirectiveToExperience.d.ts.map +1 -0
- package/dist/reactor/dmDirectiveToExperience.js +401 -0
- package/dist/reactor/dmDirectiveToExperience.js.map +1 -0
- package/dist/reactor/dmSceneControlPrompt.d.ts +40 -0
- package/dist/reactor/dmSceneControlPrompt.d.ts.map +1 -0
- package/dist/reactor/dmSceneControlPrompt.js +145 -0
- package/dist/reactor/dmSceneControlPrompt.js.map +1 -0
- package/dist/reactor/dmWorldEntry.d.ts +1278 -0
- package/dist/reactor/dmWorldEntry.d.ts.map +1 -0
- package/dist/reactor/dmWorldEntry.js +1396 -0
- package/dist/reactor/dmWorldEntry.js.map +1 -0
- package/dist/reactor/framePromptCompaction.d.ts +223 -0
- package/dist/reactor/framePromptCompaction.d.ts.map +1 -0
- package/dist/reactor/framePromptCompaction.js +393 -0
- package/dist/reactor/framePromptCompaction.js.map +1 -0
- package/dist/reactor/frameWorldBind.d.ts +86 -0
- package/dist/reactor/frameWorldBind.d.ts.map +1 -0
- package/dist/reactor/frameWorldBind.js +79 -0
- package/dist/reactor/frameWorldBind.js.map +1 -0
- package/dist/reactor/happyOysterSeed.d.ts +166 -0
- package/dist/reactor/happyOysterSeed.d.ts.map +1 -0
- package/dist/reactor/happyOysterSeed.js +233 -0
- package/dist/reactor/happyOysterSeed.js.map +1 -0
- package/dist/reactor/happyOysterWalk.d.ts +274 -0
- package/dist/reactor/happyOysterWalk.d.ts.map +1 -0
- package/dist/reactor/happyOysterWalk.js +407 -0
- package/dist/reactor/happyOysterWalk.js.map +1 -0
- package/dist/reactor/happyOysterWorld.d.ts +718 -0
- package/dist/reactor/happyOysterWorld.d.ts.map +1 -0
- package/dist/reactor/happyOysterWorld.js +826 -0
- package/dist/reactor/happyOysterWorld.js.map +1 -0
- package/dist/reactor/heliosCommandDispatcher.d.ts.map +1 -1
- package/dist/reactor/heliosCommandDispatcher.js +5 -2
- package/dist/reactor/heliosCommandDispatcher.js.map +1 -1
- package/dist/reactor/hiddenWorldLifecycle.d.ts +101 -0
- package/dist/reactor/hiddenWorldLifecycle.d.ts.map +1 -0
- package/dist/reactor/hiddenWorldLifecycle.js +119 -0
- package/dist/reactor/hiddenWorldLifecycle.js.map +1 -0
- package/dist/reactor/imageCanvas.d.ts +15 -0
- package/dist/reactor/imageCanvas.d.ts.map +1 -0
- package/dist/reactor/imageCanvas.js +33 -0
- package/dist/reactor/imageCanvas.js.map +1 -0
- package/dist/reactor/index.d.ts +20 -0
- package/dist/reactor/index.d.ts.map +1 -1
- package/dist/reactor/index.js +81 -0
- package/dist/reactor/index.js.map +1 -1
- package/dist/reactor/longLiveCommandDispatcher.d.ts +23 -8
- package/dist/reactor/longLiveCommandDispatcher.d.ts.map +1 -1
- package/dist/reactor/longLiveCommandDispatcher.js +16 -4
- package/dist/reactor/longLiveCommandDispatcher.js.map +1 -1
- package/dist/reactor/longLiveSceneEntry.d.ts +203 -0
- package/dist/reactor/longLiveSceneEntry.d.ts.map +1 -0
- package/dist/reactor/longLiveSceneEntry.js +280 -0
- package/dist/reactor/longLiveSceneEntry.js.map +1 -0
- package/dist/reactor/momentCut.d.ts +153 -0
- package/dist/reactor/momentCut.d.ts.map +1 -0
- package/dist/reactor/momentCut.js +142 -0
- package/dist/reactor/momentCut.js.map +1 -0
- package/dist/reactor/promptAddonRegistry.d.ts +39 -3
- package/dist/reactor/promptAddonRegistry.d.ts.map +1 -1
- package/dist/reactor/promptAddonRegistry.js +44 -5
- package/dist/reactor/promptAddonRegistry.js.map +1 -1
- package/dist/reactor/promptTemplatePreview.d.ts +97 -0
- package/dist/reactor/promptTemplatePreview.d.ts.map +1 -0
- package/dist/reactor/promptTemplatePreview.js +185 -0
- package/dist/reactor/promptTemplatePreview.js.map +1 -0
- package/dist/reactor/reactorAvailability.d.ts +80 -0
- package/dist/reactor/reactorAvailability.d.ts.map +1 -0
- package/dist/reactor/reactorAvailability.js +121 -0
- package/dist/reactor/reactorAvailability.js.map +1 -0
- package/dist/reactor/reactorSessionRefusal.d.ts +125 -0
- package/dist/reactor/reactorSessionRefusal.d.ts.map +1 -0
- package/dist/reactor/reactorSessionRefusal.js +197 -0
- package/dist/reactor/reactorSessionRefusal.js.map +1 -0
- package/dist/reactor/reactorTokenScope.d.ts +47 -0
- package/dist/reactor/reactorTokenScope.d.ts.map +1 -0
- package/dist/reactor/reactorTokenScope.js +64 -0
- package/dist/reactor/reactorTokenScope.js.map +1 -0
- package/dist/reactor/resolveDirectorBeats.d.ts +65 -0
- package/dist/reactor/resolveDirectorBeats.d.ts.map +1 -0
- package/dist/reactor/resolveDirectorBeats.js +86 -0
- package/dist/reactor/resolveDirectorBeats.js.map +1 -0
- package/dist/reactor/sanaLiveEdit.d.ts +117 -0
- package/dist/reactor/sanaLiveEdit.d.ts.map +1 -0
- package/dist/reactor/sanaLiveEdit.js +105 -0
- package/dist/reactor/sanaLiveEdit.js.map +1 -0
- package/dist/reactor/sceneEntry.d.ts +66 -9
- package/dist/reactor/sceneEntry.d.ts.map +1 -1
- package/dist/reactor/sceneEntry.js +59 -66
- package/dist/reactor/sceneEntry.js.map +1 -1
- package/dist/reactor/sceneSeedImage.d.ts +199 -0
- package/dist/reactor/sceneSeedImage.d.ts.map +1 -0
- package/dist/reactor/sceneSeedImage.js +239 -0
- package/dist/reactor/sceneSeedImage.js.map +1 -0
- package/dist/reactor/seedImageOrchestrator.d.ts +70 -3
- package/dist/reactor/seedImageOrchestrator.d.ts.map +1 -1
- package/dist/reactor/seedImageOrchestrator.js +92 -28
- package/dist/reactor/seedImageOrchestrator.js.map +1 -1
- package/dist/reactor/toolPromptAddon.d.ts +37 -28
- package/dist/reactor/toolPromptAddon.d.ts.map +1 -1
- package/dist/reactor/toolPromptAddon.js +63 -101
- package/dist/reactor/toolPromptAddon.js.map +1 -1
- package/dist/reactor/worldMintLoop.d.ts +286 -0
- package/dist/reactor/worldMintLoop.d.ts.map +1 -0
- package/dist/reactor/worldMintLoop.js +381 -0
- package/dist/reactor/worldMintLoop.js.map +1 -0
- package/dist/reactor/worldSteerOutcome.d.ts +98 -0
- package/dist/reactor/worldSteerOutcome.d.ts.map +1 -0
- package/dist/reactor/worldSteerOutcome.js +81 -0
- package/dist/reactor/worldSteerOutcome.js.map +1 -0
- package/dist/retryAfter.d.ts +15 -0
- package/dist/retryAfter.d.ts.map +1 -0
- package/dist/retryAfter.js +75 -0
- package/dist/retryAfter.js.map +1 -0
- package/dist/seriesKey.d.ts +31 -0
- package/dist/seriesKey.d.ts.map +1 -0
- package/dist/seriesKey.js +33 -0
- package/dist/seriesKey.js.map +1 -0
- package/dist/sessionRefresh.d.ts +135 -0
- package/dist/sessionRefresh.d.ts.map +1 -0
- package/dist/sessionRefresh.js +215 -0
- package/dist/sessionRefresh.js.map +1 -0
- package/dist/sharedAudioContext.d.ts +39 -0
- package/dist/sharedAudioContext.d.ts.map +1 -0
- package/dist/sharedAudioContext.js +63 -0
- package/dist/sharedAudioContext.js.map +1 -0
- package/dist/singleFlight.d.ts +51 -0
- package/dist/singleFlight.d.ts.map +1 -0
- package/dist/singleFlight.js +87 -0
- package/dist/singleFlight.js.map +1 -0
- package/dist/storyGraph.d.ts +83 -0
- package/dist/storyGraph.d.ts.map +1 -1
- package/dist/storyGraph.js +169 -4
- package/dist/storyGraph.js.map +1 -1
- package/dist/storyboardMask.d.ts +343 -0
- package/dist/storyboardMask.d.ts.map +1 -0
- package/dist/storyboardMask.js +505 -0
- package/dist/storyboardMask.js.map +1 -0
- package/dist/storyboardTimeline.d.ts +93 -0
- package/dist/storyboardTimeline.d.ts.map +1 -0
- package/dist/storyboardTimeline.js +131 -0
- package/dist/storyboardTimeline.js.map +1 -0
- package/dist/studioAutomation.d.ts +104 -0
- package/dist/studioAutomation.d.ts.map +1 -0
- package/dist/studioAutomation.js +178 -0
- package/dist/studioAutomation.js.map +1 -0
- package/dist/tenantClaim.d.ts +86 -0
- package/dist/tenantClaim.d.ts.map +1 -0
- package/dist/tenantClaim.js +164 -0
- package/dist/tenantClaim.js.map +1 -0
- package/dist/timeFormat.d.ts +25 -0
- package/dist/timeFormat.d.ts.map +1 -1
- package/dist/timeFormat.js +56 -0
- package/dist/timeFormat.js.map +1 -1
- package/dist/toolSchemas.d.ts +53 -10
- package/dist/toolSchemas.d.ts.map +1 -1
- package/dist/toolSchemas.js +36 -9
- package/dist/toolSchemas.js.map +1 -1
- package/dist/transport.d.ts +120 -0
- package/dist/transport.d.ts.map +1 -0
- package/dist/transport.js +282 -0
- package/dist/transport.js.map +1 -0
- package/dist/videoGenFacade.d.ts +63 -0
- package/dist/videoGenFacade.d.ts.map +1 -0
- package/dist/videoGenFacade.js +49 -0
- package/dist/videoGenFacade.js.map +1 -0
- package/dist/visemeScheduler.d.ts +24 -2
- package/dist/visemeScheduler.d.ts.map +1 -1
- package/dist/visemeScheduler.js +31 -2
- package/dist/visemeScheduler.js.map +1 -1
- package/dist/vision/VisionPublisher.d.ts +88 -0
- package/dist/vision/VisionPublisher.d.ts.map +1 -1
- package/dist/vision/VisionPublisher.js +196 -13
- package/dist/vision/VisionPublisher.js.map +1 -1
- package/dist/vision/VisionSourceController.d.ts +67 -1
- package/dist/vision/VisionSourceController.d.ts.map +1 -1
- package/dist/vision/VisionSourceController.js +147 -5
- package/dist/vision/VisionSourceController.js.map +1 -1
- package/dist/vision/index.d.ts +2 -1
- package/dist/vision/index.d.ts.map +1 -1
- package/dist/vision/index.js +2 -1
- package/dist/vision/index.js.map +1 -1
- package/dist/vision/sourceKinds.d.ts +18 -5
- package/dist/vision/sourceKinds.d.ts.map +1 -1
- package/dist/vision/sourceKinds.js +15 -2
- package/dist/vision/sourceKinds.js.map +1 -1
- package/dist/vision/types.d.ts +7 -4
- package/dist/vision/types.d.ts.map +1 -1
- package/dist/vision/visionErrors.d.ts +45 -0
- package/dist/vision/visionErrors.d.ts.map +1 -0
- package/dist/vision/visionErrors.js +66 -0
- package/dist/vision/visionErrors.js.map +1 -0
- package/dist/voiceCloneCaption.d.ts +33 -0
- package/dist/voiceCloneCaption.d.ts.map +1 -0
- package/dist/voiceCloneCaption.js +69 -0
- package/dist/voiceCloneCaption.js.map +1 -0
- package/dist/websocket.d.ts +390 -10
- package/dist/websocket.d.ts.map +1 -1
- package/dist/websocket.js +152 -0
- package/dist/websocket.js.map +1 -1
- package/dist/workflowAuthoring.d.ts +139 -0
- package/dist/workflowAuthoring.d.ts.map +1 -0
- package/dist/workflowAuthoring.js +557 -0
- package/dist/workflowAuthoring.js.map +1 -0
- package/package.json +15 -5
- package/src/__tests__/adapters-director.test.ts +9 -6
- package/src/__tests__/adapters-extraction.test.ts +175 -0
- package/src/__tests__/adapters-image.test.ts +66 -0
- package/src/__tests__/adapters-momentPolicy.test.ts +218 -0
- package/src/__tests__/adapters-platform.test.ts +110 -4
- package/src/__tests__/adapters-videogen.test.ts +53 -0
- package/src/__tests__/adapters-world.test.ts +117 -7
- package/src/__tests__/admin.enhancement-defaults.test.ts +115 -0
- package/src/__tests__/admin.test.ts +282 -0
- package/src/__tests__/adventures-world-state.test.ts +156 -0
- package/src/__tests__/adventures.test.ts +111 -1
- package/src/__tests__/api-pollers.test.ts +113 -23
- package/src/__tests__/api.adventure-definitions.test.ts +312 -0
- package/src/__tests__/api.anchor-beat.test.ts +75 -0
- package/src/__tests__/api.arc-approval.test.ts +171 -0
- package/src/__tests__/api.arc-beats-floor.test.ts +56 -0
- package/src/__tests__/api.arc-generation.test.ts +168 -0
- package/src/__tests__/api.arc-templates.test.ts +78 -0
- package/src/__tests__/api.assignVideoSeries.test.ts +81 -0
- package/src/__tests__/api.cast-frame-choices.test.ts +141 -0
- package/src/__tests__/api.cutscene-registry.test.ts +148 -0
- package/src/__tests__/api.enhancement-addition-actions.test.ts +137 -0
- package/src/__tests__/api.enrichVideo-serialization.test.ts +116 -0
- package/src/__tests__/api.extraction-base.test.ts +87 -0
- package/src/__tests__/api.generateVideo-cutscene.test.ts +148 -0
- package/src/__tests__/api.job-pipeline-stages.test.ts +128 -0
- package/src/__tests__/api.list-images-filters.test.ts +6 -3
- package/src/__tests__/api.quest-curation.test.ts +169 -0
- package/src/__tests__/api.reprocessVideo.test.ts +71 -0
- package/src/__tests__/api.scene-split-merge.test.ts +129 -0
- package/src/__tests__/api.session-quests.test.ts +184 -0
- package/src/__tests__/api.test.ts +122 -0
- package/src/__tests__/api.transferSeries.test.ts +114 -0
- package/src/__tests__/api.unknown-clusters.test.ts +225 -0
- package/src/__tests__/api.uploadVideo-options.test.ts +156 -0
- package/src/__tests__/arcPreview.test.ts +71 -0
- package/src/__tests__/arcStyleProfile.test.ts +204 -0
- package/src/__tests__/artifacts-delete.test.ts +109 -0
- package/src/__tests__/audio.test.ts +864 -5
- package/src/__tests__/audioDsp.test.ts +196 -0
- package/src/__tests__/audioUnavailable.test.ts +43 -0
- package/src/__tests__/cast.test.ts +10 -1
- package/src/__tests__/castCurationProjection.test.ts +84 -0
- package/src/__tests__/castFramePipelinePending.test.ts +171 -0
- package/src/__tests__/castProjection.test.ts +497 -5
- package/src/__tests__/characterGrounding.test.ts +357 -0
- package/src/__tests__/contract.test.ts +97 -0
- package/src/__tests__/conversation/binding.test.ts +53 -0
- package/src/__tests__/conversation/chatSessionStore.test.ts +243 -0
- package/src/__tests__/conversation/controller.test.ts +328 -0
- package/src/__tests__/conversation/readSequencer.test.ts +52 -0
- package/src/__tests__/conversation/rosterProjection.test.ts +204 -3
- package/src/__tests__/conversation/runtime.test.ts +118 -1
- package/src/__tests__/conversation/voice.test.ts +741 -7
- package/src/__tests__/creatorCuration.test.ts +256 -0
- package/src/__tests__/creatorDashboard.test.ts +444 -0
- package/src/__tests__/creatorUniverse.test.ts +138 -0
- package/src/__tests__/curationWrite.test.ts +179 -0
- package/src/__tests__/decisions.test.ts +89 -0
- package/src/__tests__/designTokens.test.ts +72 -0
- package/src/__tests__/dialogAttribution.test.ts +187 -0
- package/src/__tests__/dmDirectiveToExperience.test.ts +198 -0
- package/src/__tests__/dmWorldEntry.test.ts +2102 -0
- package/src/__tests__/enhancementDiff.test.ts +132 -0
- package/src/__tests__/experienceModelCatalog.test.ts +292 -0
- package/src/__tests__/extractionStageState.test.ts +67 -0
- package/src/__tests__/getVideo.test.ts +95 -0
- package/src/__tests__/graphReadAfterWrite.test.ts +211 -0
- package/src/__tests__/graphSchema.test.ts +55 -4
- package/src/__tests__/happyOysterSeed.test.ts +208 -0
- package/src/__tests__/happyOysterWorld.test.ts +1241 -0
- package/src/__tests__/happyOysterWorldRefusal.test.ts +224 -0
- package/src/__tests__/hiddenWorldLifecycle.test.ts +203 -0
- package/src/__tests__/http.session-refresh.test.ts +424 -0
- package/src/__tests__/http.test.ts +316 -0
- package/src/__tests__/identity.test.ts +132 -0
- package/src/__tests__/loadBundleManifest.test.ts +192 -22
- package/src/__tests__/longLiveSceneEntry.test.ts +371 -0
- package/src/__tests__/me.test.ts +74 -0
- package/src/__tests__/messageContent.test.ts +395 -0
- package/src/__tests__/momentCut.test.ts +229 -0
- package/src/__tests__/mutationEpoch.test.ts +218 -0
- package/src/__tests__/obo.test.ts +159 -0
- package/src/__tests__/opusTransport.test.ts +182 -0
- package/src/__tests__/opusTransportLibopus.test.ts +125 -0
- package/src/__tests__/orgs.test.ts +229 -0
- package/src/__tests__/persona-generation.test.ts +187 -1
- package/src/__tests__/platformAssistant.test.ts +140 -0
- package/src/__tests__/projects.test.ts +338 -0
- package/src/__tests__/promptTemplatePreview.test.ts +160 -0
- package/src/__tests__/reactor/__fixtures__/realFramePromptText.ts +23 -0
- package/src/__tests__/reactor/api-reactor.test.ts +60 -21
- package/src/__tests__/reactor/framePromptCompaction.test.ts +300 -0
- package/src/__tests__/reactor/promptAddonRegistry.test.ts +82 -1
- package/src/__tests__/reactor/reactorTokenScope.test.ts +50 -0
- package/src/__tests__/reactor/resolveDirectorBeats.test.ts +156 -0
- package/src/__tests__/reactor/sceneEntry.test.ts +3 -0
- package/src/__tests__/reactor/sceneSeedImage.test.ts +361 -0
- package/src/__tests__/reactor/seedImageOrchestrator.test.ts +43 -5
- package/src/__tests__/reactor/toolPromptAddon.test.ts +34 -42
- package/src/__tests__/reactor-happyOysterWalk.test.ts +294 -0
- package/src/__tests__/reactorAvailability.test.ts +217 -0
- package/src/__tests__/reactorSessionRefusal.test.ts +189 -0
- package/src/__tests__/regeneration.test.ts +9 -9
- package/src/__tests__/reprocessBlockedReason.test.ts +30 -0
- package/src/__tests__/retryAfter.test.ts +65 -0
- package/src/__tests__/roleClaim.test.ts +102 -0
- package/src/__tests__/sanaLiveEdit.test.ts +84 -0
- package/src/__tests__/seriesKey.test.ts +24 -0
- package/src/__tests__/settings-set9.test.ts +238 -0
- package/src/__tests__/singleFlight.test.ts +348 -0
- package/src/__tests__/storyGraph.test.ts +111 -1
- package/src/__tests__/storyboardFrameCutscene.test.ts +115 -0
- package/src/__tests__/storyboardMask.test.ts +527 -0
- package/src/__tests__/storyboardTimeline.test.ts +228 -0
- package/src/__tests__/storyboards.test.ts +639 -0
- package/src/__tests__/studioAutomation.test.ts +325 -0
- package/src/__tests__/toolSchemas.test.ts +11 -18
- package/src/__tests__/transport.test.ts +312 -0
- package/src/__tests__/videoGenFacade.test.ts +141 -0
- package/src/__tests__/videoGraph.test.ts +43 -1
- package/src/__tests__/visemeScheduler.test.ts +55 -1
- package/src/__tests__/visibility.test.ts +143 -0
- package/src/__tests__/voiceCloneCaption.test.ts +80 -0
- package/src/__tests__/voiceFallback.test.ts +55 -0
- package/src/__tests__/websocket-error-turn-ended.test.ts +49 -0
- package/src/__tests__/websocket-session-attach.test.ts +288 -0
- package/src/__tests__/websocket-vision.test.ts +141 -0
- package/src/__tests__/websocket.test.ts +75 -1
- package/src/__tests__/workflowAuthoring.test.ts +187 -0
- package/src/__tests__/workflows.test.ts +640 -0
- package/src/__tests__/worldMintLoop.test.ts +448 -0
- package/src/__tests__/worldModelPreference.test.ts +302 -0
- package/src/__tests__/worldModelTradeoffs.test.ts +89 -0
- package/src/__tests__/worldSteerOutcome.test.ts +62 -0
- package/src/adapters/capabilities.ts +39 -3
- package/src/adapters/directorAdapter.ts +5 -4
- package/src/adapters/experienceModelCatalog.ts +538 -0
- package/src/adapters/extractionAdapter.ts +150 -0
- package/src/adapters/imageAdapter.ts +5 -1
- package/src/adapters/index.ts +104 -17
- package/src/adapters/momentDirective.ts +109 -0
- package/src/adapters/momentPolicy.ts +209 -0
- package/src/adapters/registry.ts +1 -1
- package/src/adapters/videoGenAdapter.ts +124 -0
- package/src/adapters/worldAdapter.ts +221 -16
- package/src/adapters/worldModelPreference.ts +247 -0
- package/src/adapters/worldModelTradeoffs.ts +247 -0
- package/src/admin.ts +842 -16
- package/src/api.ts +12670 -3446
- package/src/arcBoardJoin.ts +46 -0
- package/src/arcPreview.ts +103 -0
- package/src/audio.ts +691 -130
- package/src/audioDsp.ts +132 -0
- package/src/audioProtocol.ts +235 -0
- package/src/beatTitles.ts +51 -0
- package/src/castProjection.ts +311 -0
- package/src/characterGrounding.ts +491 -0
- package/src/conversation/binding.ts +53 -1
- package/src/conversation/chatSessionStore.ts +281 -0
- package/src/conversation/controller.ts +135 -3
- package/src/conversation/index.ts +2 -0
- package/src/conversation/participant.ts +16 -0
- package/src/conversation/readSequencer.ts +55 -0
- package/src/conversation/roster.ts +5 -1
- package/src/conversation/rosterProjection.ts +166 -2
- package/src/conversation/runtime.ts +66 -7
- package/src/conversation/types.ts +43 -4
- package/src/conversation/voice.ts +655 -51
- package/src/creatorCuration.ts +316 -0
- package/src/creatorDashboard.ts +344 -0
- package/src/creatorUniverse.ts +222 -0
- package/src/curationWrite.ts +108 -0
- package/src/designTokens.ts +157 -0
- package/src/dialogAttribution.ts +182 -0
- package/src/dmRunWorldReadiness.ts +1168 -0
- package/src/domains/access.ts +92 -0
- package/src/domains/adventureDefinitions.ts +313 -0
- package/src/domains/adventures.ts +557 -0
- package/src/domains/arcs.ts +350 -0
- package/src/domains/artifacts.ts +349 -0
- package/src/domains/chat.ts +338 -0
- package/src/domains/decisions.ts +62 -0
- package/src/domains/documents.ts +389 -0
- package/src/domains/enhancements.ts +259 -0
- package/src/domains/graph.ts +959 -0
- package/src/domains/images.ts +451 -0
- package/src/domains/ingestion.ts +695 -0
- package/src/domains/me.ts +27 -0
- package/src/domains/orgs.ts +168 -0
- package/src/domains/personas.ts +433 -0
- package/src/domains/projects.ts +177 -0
- package/src/domains/quests.ts +587 -0
- package/src/domains/reactor.ts +163 -0
- package/src/domains/showcase.ts +35 -0
- package/src/domains/storyboards.ts +1698 -0
- package/src/domains/studioSettings.ts +149 -0
- package/src/domains/universes.ts +433 -0
- package/src/domains/userDefaults.ts +37 -0
- package/src/domains/visemeBundles.ts +541 -0
- package/src/domains/workflows.ts +376 -0
- package/src/enhancementDiff.ts +171 -0
- package/src/generated/contract.ts +1011 -0
- package/src/graphSchema.ts +154 -6
- package/src/http.ts +295 -11
- package/src/identity.ts +123 -0
- package/src/index.ts +131 -0
- package/src/messageContent.ts +500 -0
- package/src/mutationEpoch.ts +107 -0
- package/src/obo.ts +201 -0
- package/src/opusTransport.ts +268 -0
- package/src/pagination.ts +29 -0
- package/src/platformAssistant.ts +97 -1
- package/src/pollUtils.ts +35 -0
- package/src/questLog.ts +704 -0
- package/src/reactor/dmDirectiveToExperience.ts +636 -0
- package/src/reactor/dmSceneControlPrompt.ts +152 -0
- package/src/reactor/dmWorldEntry.ts +2226 -0
- package/src/reactor/framePromptCompaction.ts +544 -0
- package/src/reactor/frameWorldBind.ts +133 -0
- package/src/reactor/happyOysterSeed.ts +329 -0
- package/src/reactor/happyOysterWalk.ts +541 -0
- package/src/reactor/happyOysterWorld.ts +1270 -0
- package/src/reactor/heliosCommandDispatcher.ts +5 -1
- package/src/reactor/hiddenWorldLifecycle.ts +182 -0
- package/src/reactor/imageCanvas.ts +38 -0
- package/src/reactor/index.ts +81 -0
- package/src/reactor/longLiveCommandDispatcher.ts +23 -8
- package/src/reactor/longLiveSceneEntry.ts +409 -0
- package/src/reactor/momentCut.ts +219 -0
- package/src/reactor/promptAddonRegistry.ts +83 -5
- package/src/reactor/promptTemplatePreview.ts +240 -0
- package/src/reactor/reactorAvailability.ts +155 -0
- package/src/reactor/reactorSessionRefusal.ts +260 -0
- package/src/reactor/reactorTokenScope.ts +69 -0
- package/src/reactor/resolveDirectorBeats.ts +140 -0
- package/src/reactor/sanaLiveEdit.ts +158 -0
- package/src/reactor/sceneEntry.ts +106 -88
- package/src/reactor/sceneSeedImage.ts +338 -0
- package/src/reactor/seedImageOrchestrator.ts +116 -34
- package/src/reactor/toolPromptAddon.ts +66 -102
- package/src/reactor/worldMintLoop.ts +545 -0
- package/src/reactor/worldSteerOutcome.ts +132 -0
- package/src/retryAfter.ts +71 -0
- package/src/seriesKey.ts +42 -0
- package/src/sessionRefresh.ts +237 -0
- package/src/sharedAudioContext.ts +67 -0
- package/src/singleFlight.ts +91 -0
- package/src/storyGraph.ts +247 -4
- package/src/storyboardMask.ts +756 -0
- package/src/storyboardTimeline.ts +220 -0
- package/src/studioAutomation.ts +208 -0
- package/src/tenantClaim.ts +170 -0
- package/src/timeFormat.ts +51 -0
- package/src/toolSchemas.ts +39 -10
- package/src/transport.ts +327 -0
- package/src/videoGenFacade.ts +90 -0
- package/src/visemeScheduler.ts +36 -3
- package/src/vision/VisionPublisher.ts +204 -14
- package/src/vision/VisionSourceController.ts +187 -6
- package/src/vision/__tests__/VisionPublisher.kvs.test.ts +50 -0
- package/src/vision/__tests__/VisionPublisher.test.ts +291 -0
- package/src/vision/__tests__/VisionSourceController.test.ts +376 -6
- package/src/vision/index.ts +5 -1
- package/src/vision/sourceKinds.ts +19 -5
- package/src/vision/types.ts +7 -4
- package/src/vision/visionErrors.ts +70 -0
- package/src/voiceCloneCaption.ts +77 -0
- package/src/websocket.ts +542 -9
- package/src/workflowAuthoring.ts +664 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beatTitles.d.ts","sourceRoot":"","sources":["../src/beatTitles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,kFAAkF;AAClF,wBAAgB,cAAc,CAC5B,KAAK,EAAE,SAAS,QAAQ,EAAE,GACzB,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAE/B;AAED;;;GAGG;AACH,wBAAgB,SAAS,CACvB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,GACtC,MAAM,CAER;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,GACtC,MAAM,CAGR"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ONE beat-id → display-label lookup for the DM-play surfaces. Pure — no
|
|
3
|
+
* React, no fetches: callers pass the story-ordered `BeatView[]` they already
|
|
4
|
+
* hold (`useSessionBeats` / `flattenStoryBeats` over `deriveStoryLanes`).
|
|
5
|
+
*
|
|
6
|
+
* §Q UX.10 wrote this resolution inline inside `groupQuestLogByBeat` (the quest
|
|
7
|
+
* log's Beat group headers). §Q UX.11 needs the same resolution for the DM
|
|
8
|
+
* lobby's session rows — `play-lobby-remix.html:403` shows "Scene 14 — the
|
|
9
|
+
* vault" where the lobby rendered `At beat <raw beatId>` — so it was lifted
|
|
10
|
+
* here and BOTH call sites read it. A second copy of the lookup is exactly the
|
|
11
|
+
* drift CLAUDE.md forbids.
|
|
12
|
+
*
|
|
13
|
+
* Vocabulary is "Beat", not "Scene"/"Act" (§Q UX.10's ruling): the wire carries
|
|
14
|
+
* no container above a beat, so naming one would invent structure the
|
|
15
|
+
* projection cannot prove.
|
|
16
|
+
*/
|
|
17
|
+
/** Index a story-ordered beat list by beat id — the lookup both callers share. */
|
|
18
|
+
export function indexBeatsById(beats) {
|
|
19
|
+
return new Map(beats.map((b) => [b.beatId, b]));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A beat's display label: the story graph's `label`, or the RAW id when the
|
|
23
|
+
* graph has no such beat. Never invents a name.
|
|
24
|
+
*/
|
|
25
|
+
export function beatTitle(beatId, beatById) {
|
|
26
|
+
return beatById.get(beatId)?.label ?? beatId;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A beat as a story-POSITIONED headline — `Beat 14 — the vault`, the shape the
|
|
30
|
+
* ratified lobby mockup shows. The ordinal is the beat's 1-based position in
|
|
31
|
+
* the graph's LEADS_TO story order, so it only appears when the graph actually
|
|
32
|
+
* knows the beat; otherwise this degrades to `Beat <raw id>` rather than
|
|
33
|
+
* guessing a position.
|
|
34
|
+
*/
|
|
35
|
+
export function beatHeadline(beatId, beatById) {
|
|
36
|
+
const beat = beatById.get(beatId);
|
|
37
|
+
return beat ? `Beat ${beat.order + 1} — ${beat.label}` : `Beat ${beatId}`;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=beatTitles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beatTitles.js","sourceRoot":"","sources":["../src/beatTitles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,kFAAkF;AAClF,MAAM,UAAU,cAAc,CAC5B,KAA0B;IAE1B,OAAO,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAClD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CACvB,MAAc,EACd,QAAuC;IAEvC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,KAAK,IAAI,MAAM,CAAC;AAC/C,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAC1B,MAAc,EACd,QAAuC;IAEvC,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAClC,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,KAAK,GAAG,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,QAAQ,MAAM,EAAE,CAAC;AAC5E,CAAC"}
|
package/dist/castProjection.d.ts
CHANGED
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
* side by `entity_id` string equality (the pre-R5c fragility this milestone
|
|
17
17
|
* removes). The function never mutates its input.
|
|
18
18
|
*/
|
|
19
|
-
import type { CastEntry, CastWithPersonaResponse } from './api';
|
|
19
|
+
import type { CastEntry, CastHiddenMember, CastPersonaOrphan, CastWithPersonaResponse } from './api';
|
|
20
|
+
import { type CharacterGrounding, type GroundingIndexStatus } from './characterGrounding';
|
|
20
21
|
/**
|
|
21
22
|
* Project a `CastWithPersonaResponse` into render-ready `CastEntry[]`.
|
|
22
23
|
*
|
|
@@ -32,4 +33,206 @@ import type { CastEntry, CastWithPersonaResponse } from './api';
|
|
|
32
33
|
* internally deterministic (the entityId tie-break breaks equal names).
|
|
33
34
|
*/
|
|
34
35
|
export declare function castWithPersona(response: CastWithPersonaResponse): CastEntry[];
|
|
36
|
+
/** §Q OPS.88b ledger 15 — the cast curator's two footers (OPS.88 design §11). */
|
|
37
|
+
export interface CastCurationFooters {
|
|
38
|
+
/** Members the latest analysis proposes that a curator removed ("Hidden by you"). */
|
|
39
|
+
hiddenByYou: CastHiddenMember[];
|
|
40
|
+
/** Entities a persona portrays that hold no seat in this video's cast. */
|
|
41
|
+
personaOrphans: CastPersonaOrphan[];
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Project the cast response's §11 footers: coalesced (an older backend sends
|
|
45
|
+
* neither — both read as empty), name fallbacks applied, ordered like the cast
|
|
46
|
+
* itself. Pure: the input response is not mutated.
|
|
47
|
+
*/
|
|
48
|
+
export declare function castCurationFooters(response: CastWithPersonaResponse): CastCurationFooters;
|
|
49
|
+
/**
|
|
50
|
+
* §Q GROUND.39 — a cast entry with its grounding attached as a TYPED field.
|
|
51
|
+
*
|
|
52
|
+
* This is the shape a curation surface renders: the entry plus one
|
|
53
|
+
* `CharacterGrounding | null`, so components consume `entry.grounding` instead
|
|
54
|
+
* of performing a per-row map lookup against a graph-derived index at render
|
|
55
|
+
* time. `null` means UNGRADED-or-unknown — a video the grounding layer never
|
|
56
|
+
* ran over and "this entity was not in the grounding read" both land here, and
|
|
57
|
+
* a renderer shows nothing for it. The fleet still holds both:
|
|
58
|
+
* `ENABLE_GROUNDING_PRESENCE` has been ON since 2026-08-05 (§P P56), so videos
|
|
59
|
+
* ingested since then carry a CII and everything older does not.
|
|
60
|
+
*
|
|
61
|
+
* The backend cast payload does not carry grounding today; the graph read that
|
|
62
|
+
* produces the index is deliberately contained in ONE web-side seam
|
|
63
|
+
* (`useCharacterGrounding`). When a typed wire field lands on
|
|
64
|
+
* `CastWithPersonaResponse`, the swap happens inside that seam and this
|
|
65
|
+
* projection — no component changes.
|
|
66
|
+
*/
|
|
67
|
+
export interface GroundedCastEntry extends CastEntry {
|
|
68
|
+
grounding: CharacterGrounding | null;
|
|
69
|
+
/**
|
|
70
|
+
* §Q GROUND.26 — the stored frame this projection WITHHELD, or `null` when
|
|
71
|
+
* nothing was withheld. Non-null implies `frame === null`.
|
|
72
|
+
*
|
|
73
|
+
* It exists so the suppression is VISIBLE rather than silent: a surface can
|
|
74
|
+
* say "this character's picture is being withheld and why" instead of
|
|
75
|
+
* rendering the same blank tile a character who never had one gets, and a
|
|
76
|
+
* check can count suppressions instead of watching frames quietly disappear.
|
|
77
|
+
*/
|
|
78
|
+
suppressedFrame: SuppressedCastFrame | null;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* §Q GROUND.26 — why a stored cast frame is withheld from the projection.
|
|
82
|
+
*
|
|
83
|
+
* An OBJECT rather than a bare string literal so the vocabulary has one home.
|
|
84
|
+
* Widening it is additive for readers and BREAKING for an exhaustive
|
|
85
|
+
* `Record<CastFrameSuppressionReason, …>` consumer — add the arm in the same PR.
|
|
86
|
+
*
|
|
87
|
+
* ⛔ **THE REASON IS NOT DECORATION.** A surface renders different copy per
|
|
88
|
+
* reason and a check grades per reason: `grounding_absent` says "we looked and
|
|
89
|
+
* this character was not on screen", `grounding_unreadable` says "we could not
|
|
90
|
+
* look". Reporting the second as the first accuses the pipeline of a verdict it
|
|
91
|
+
* never reached, in front of the creator, which is the silent-certification
|
|
92
|
+
* class this module refuses.
|
|
93
|
+
*/
|
|
94
|
+
export declare const CAST_FRAME_SUPPRESSION_REASON: {
|
|
95
|
+
/**
|
|
96
|
+
* The CII graded this character visual-ABSENT while it still held a frame
|
|
97
|
+
* chosen before the index existed (§Q GROUND.8 counts that row `unreplaced`).
|
|
98
|
+
*/
|
|
99
|
+
readonly GROUNDING_ABSENT: "grounding_absent";
|
|
100
|
+
/**
|
|
101
|
+
* §Q GROUND.52 — the grounding index could not be READ at all
|
|
102
|
+
* ({@link GROUNDING_INDEX_STATUS.UNREADABLE}), so nothing can certify this
|
|
103
|
+
* frame. Unlike `grounding_absent` this is not a verdict about the character:
|
|
104
|
+
* it is the absence of one, and the frame is held back until a read succeeds.
|
|
105
|
+
*/
|
|
106
|
+
readonly GROUNDING_UNREADABLE: "grounding_unreadable";
|
|
107
|
+
/**
|
|
108
|
+
* §Q GROUND.124 — the stored index cannot point at a verified crop of THIS
|
|
109
|
+
* character at this frame's moment (`CastFrame.indexBacked === false`).
|
|
110
|
+
*
|
|
111
|
+
* Distinct from `grounding_absent` because its SOURCE is different, and that
|
|
112
|
+
* is the whole point: `grounding_absent` is read off the graph node, which
|
|
113
|
+
* §Q GROUND.65's epoch fence deliberately holds at a human's curated verdict
|
|
114
|
+
* through a recompute. When that verdict cannot be re-anchored the node still
|
|
115
|
+
* reads WEAK while the artifact carries no crop at all, the ABSENT arm never
|
|
116
|
+
* fires, and a picture nothing stands behind renders. This reason is the
|
|
117
|
+
* artifact's own answer, computed server-side by the cast door.
|
|
118
|
+
*/
|
|
119
|
+
readonly GROUNDING_UNBACKED: "grounding_unbacked";
|
|
120
|
+
};
|
|
121
|
+
export type CastFrameSuppressionReason = (typeof CAST_FRAME_SUPPRESSION_REASON)[keyof typeof CAST_FRAME_SUPPRESSION_REASON];
|
|
122
|
+
/**
|
|
123
|
+
* §Q GROUND.26 — a withheld cast frame, named so it can be accounted for and
|
|
124
|
+
* resurrected.
|
|
125
|
+
*
|
|
126
|
+
* ⛔ **THIS IS A SUPPRESSION, NOT A DELETE.** The image row is untouched in the
|
|
127
|
+
* store and still on the wire; `imageId` is the handle that makes a later
|
|
128
|
+
* re-grade (or an owner override) able to bring back *this* picture rather than
|
|
129
|
+
* re-deriving one. A suppression record with no `imageId` would be a delete
|
|
130
|
+
* wearing a suppression's clothes.
|
|
131
|
+
*
|
|
132
|
+
* ⛔ **IT CARRIES NO `url`, DELIBERATELY.** The whole point is that these bytes
|
|
133
|
+
* must not reach a tile; handing a renderer the presigned url back would put
|
|
134
|
+
* the wrong face one `<img>` away from the surface that just refused it.
|
|
135
|
+
*/
|
|
136
|
+
export interface SuppressedCastFrame {
|
|
137
|
+
reason: CastFrameSuppressionReason;
|
|
138
|
+
/** The `Image` row that still exists — the resurrection handle. */
|
|
139
|
+
imageId: string;
|
|
140
|
+
/** The moment it was taken from, for the accounting line. `null` if unknown. */
|
|
141
|
+
sourceTimestamp: number | null;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* §Q GROUND.52 — what {@link attachCastGrounding} knows about the INDEX itself,
|
|
145
|
+
* as opposed to about any one character.
|
|
146
|
+
*
|
|
147
|
+
* Optional in every field, so `attachCastGrounding(entries, index)` keeps its
|
|
148
|
+
* pre-GROUND.52 behaviour byte for byte (client-core is a published contract
|
|
149
|
+
* with a pinned Vue consumer).
|
|
150
|
+
*/
|
|
151
|
+
export interface AttachCastGroundingOptions {
|
|
152
|
+
/**
|
|
153
|
+
* How well the index passed in is known. Omitted means
|
|
154
|
+
* {@link GROUNDING_INDEX_STATUS.READY} — "this map is what the read returned".
|
|
155
|
+
* Pass {@link GROUNDING_INDEX_STATUS.UNREADABLE} when the read could not be
|
|
156
|
+
* completed and every frame must be withheld until one can.
|
|
157
|
+
*
|
|
158
|
+
* ⚠ {@link GROUNDING_INDEX_STATUS.LOADING} suppresses NOTHING here on
|
|
159
|
+
* purpose: an in-flight read is not a verdict, and the surface's job in that
|
|
160
|
+
* window is to paint no claim at all (`CAST_FRAME_STATE.CHECKING`), not to
|
|
161
|
+
* report frames as withheld and then un-withhold them a moment later.
|
|
162
|
+
*/
|
|
163
|
+
indexStatus?: GroundingIndexStatus;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Attach grounding to cast entries — THE one join rule between the cast
|
|
167
|
+
* projection and the grounding read, shared by every consumer so the key
|
|
168
|
+
* cannot drift per app.
|
|
169
|
+
*
|
|
170
|
+
* ⛔ **THE JOIN KEY IS THE BARE `character.entityId`** — the same key
|
|
171
|
+
* `indexCharacterGrounding` writes from `Entity.properties.entityId`. It is
|
|
172
|
+
* NEVER the composite `GraphNode.id` (`"Entity:entityId:<value>"`): indexing
|
|
173
|
+
* on that id was the first implementation of the grounding read (codex P1,
|
|
174
|
+
* PR #1816) and it made every badge silently invisible on every video while
|
|
175
|
+
* all unit tests passed, because the fixtures used a bare-`id` shape the
|
|
176
|
+
* endpoint never emits. The join-key pin lives in this module's tests.
|
|
177
|
+
*
|
|
178
|
+
* A `null`/`undefined`/empty index yields `grounding: null` on every entry —
|
|
179
|
+
* the honest dark-posture reading, not an error. Pure: entries are not
|
|
180
|
+
* mutated; the returned array preserves the input order (the projection's
|
|
181
|
+
* `castWithPersona` ordering is the render order).
|
|
182
|
+
*
|
|
183
|
+
* ⭐ **§Q GROUND.26 — IT ALSO APPLIES THE ABSENT-SUPERSEDE SUPPRESSION, and
|
|
184
|
+
* that is one job rather than two.** This function IS the grounded projection
|
|
185
|
+
* step: the moment a row's grounding is known, what the row may show is known
|
|
186
|
+
* too. Splitting the suppression into a second call every surface must remember
|
|
187
|
+
* to make is how one of them forgets and paints the wrong face — and the two
|
|
188
|
+
* consumers here (React `web/`, Vue `../Web-App`) plus any engine UI are exactly
|
|
189
|
+
* the "a rule in two places is a rule breakable in one of them" shape
|
|
190
|
+
* `CastFrameSlot` already exists to prevent. The predicate itself lives once,
|
|
191
|
+
* in `characterGrounding.castFrameSuppressedByGrounding`.
|
|
192
|
+
*
|
|
193
|
+
* The suppression NEVER destroys: `frame` moves to
|
|
194
|
+
* {@link GroundedCastEntry.suppressedFrame} (minus its presigned url), the
|
|
195
|
+
* caller's entry is untouched, and the image row is untouched in the store.
|
|
196
|
+
*
|
|
197
|
+
* ⭐ **§Q GROUND.52 — `options.indexStatus` DECIDES WHAT AN EMPTY MAP MEANS.**
|
|
198
|
+
* An empty index has two causes that are opposite facts: the video is ungraded
|
|
199
|
+
* (nobody looked — suppress nothing), or the read FAILED (nobody could look —
|
|
200
|
+
* certify nothing). Without the status the join sees the same empty map either
|
|
201
|
+
* way and takes the permissive reading, which serves a stale pre-CII picture as
|
|
202
|
+
* though the index had cleared it. The parameter is OPTIONAL and its absence
|
|
203
|
+
* means {@link GROUNDING_INDEX_STATUS.READY}, so an existing two-argument call
|
|
204
|
+
* site (the Vue `../Web-App`) behaves exactly as it does today.
|
|
205
|
+
*
|
|
206
|
+
* ⭐ **§Q GROUND.124 — AND IT WITHHOLDS A FRAME THE ARTIFACT CANNOT BACK,
|
|
207
|
+
* WHICHEVER WAY THE GRAPH LEANS.** Everything above decides from the graph
|
|
208
|
+
* node's grounding property. That property is not the artifact: §Q GROUND.65's
|
|
209
|
+
* epoch fence deliberately keeps a human's curated verdict on the node through a
|
|
210
|
+
* recompute, so a character whose verdict the recompute could not re-anchor
|
|
211
|
+
* reads WEAK on the node while the stored index holds NO verified crop for them
|
|
212
|
+
* — and the ABSENT arm above never fires. `CastFrame.indexBacked` is the
|
|
213
|
+
* artifact's own answer about THIS picture, computed by the cast door, and
|
|
214
|
+
* `false` withholds regardless of level. It is checked FIRST because it is the
|
|
215
|
+
* narrower statement: it is about the frame, not about the character.
|
|
216
|
+
*/
|
|
217
|
+
export declare function attachCastGrounding(entries: readonly CastEntry[], groundingByEntityId: ReadonlyMap<string, CharacterGrounding> | null | undefined, options?: AttachCastGroundingOptions): GroundedCastEntry[];
|
|
218
|
+
/**
|
|
219
|
+
* The document-authored entity-id prefix (mirrors `shared/id_scheme.py`
|
|
220
|
+
* `DOCUMENT_ENTITY_ID_PREFIX`). `markEntitiesDistinct`'s backend contract
|
|
221
|
+
* (`set_entity_distinct`) requires the `docentId` side to be a `docent-`
|
|
222
|
+
* entity and the `entityId` side to be the Pegasus character, so a pair with
|
|
223
|
+
* zero or two docent entities is unsupported (would 422).
|
|
224
|
+
*/
|
|
225
|
+
export declare const DOCENT_ENTITY_ID_PREFIX = "docent-";
|
|
226
|
+
/**
|
|
227
|
+
* Resolve a 2-entity selection into a `markEntitiesDistinct` payload's
|
|
228
|
+
* `{docentId, entityId}` ordering, or `null` when the pair is unsupported
|
|
229
|
+
* (not exactly 2 selected, or not exactly one side is document-authored).
|
|
230
|
+
* The ONE mark-distinct pairing rule — shared by the console
|
|
231
|
+
* `CastCurationPanel` and the creator-surface curation entity table (W2.3-c)
|
|
232
|
+
* so the eligibility check can never drift between the two surfaces.
|
|
233
|
+
*/
|
|
234
|
+
export declare function resolveMarkDistinctPair(selectedIds: readonly string[]): {
|
|
235
|
+
docentId: string;
|
|
236
|
+
entityId: string;
|
|
237
|
+
} | null;
|
|
35
238
|
//# sourceMappingURL=castProjection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"castProjection.d.ts","sourceRoot":"","sources":["../src/castProjection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAGV,SAAS,
|
|
1
|
+
{"version":3,"file":"castProjection.d.ts","sourceRoot":"","sources":["../src/castProjection.ts"],"names":[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CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,SAAS,SAAS,EAAE,EAC7B,mBAAmB,EAAE,WAAW,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,IAAI,GAAG,SAAS,EAC/E,OAAO,CAAC,EAAE,0BAA0B,GACnC,iBAAiB,EAAE,CAyCrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,YAAY,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,SAAS,MAAM,EAAE,GAC7B;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAO/C"}
|
package/dist/castProjection.js
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* side by `entity_id` string equality (the pre-R5c fragility this milestone
|
|
17
17
|
* removes). The function never mutates its input.
|
|
18
18
|
*/
|
|
19
|
+
import { castFrameSuppressedByGrounding, GROUNDING_INDEX_STATUS, } from './characterGrounding.js';
|
|
19
20
|
/** Normalize one character: coalesce lists, apply display fallbacks, sort. */
|
|
20
21
|
function normalizeCharacter(character) {
|
|
21
22
|
const entityId = character.entityId ?? '';
|
|
@@ -31,6 +32,16 @@ function normalizeCharacter(character) {
|
|
|
31
32
|
title: arc.title || arc.arcId,
|
|
32
33
|
summary: arc.summary ?? null,
|
|
33
34
|
index: arc.index ?? 0,
|
|
35
|
+
// §Q GROUND.18d — the CII verdict the arc carries, projected through
|
|
36
|
+
// rather than dropped: the arc is shown WHATEVER it says (grounding never
|
|
37
|
+
// blocks narrative work), and a surface that cannot see the class would
|
|
38
|
+
// render an arc for a name nobody ever saw identically to a verified one.
|
|
39
|
+
//
|
|
40
|
+
// `?? null` is the module's deploy-skew rule, and here it is also the
|
|
41
|
+
// honest value: an older backend that sends no class has not told us the
|
|
42
|
+
// character is `mentioned_only`, it has told us nothing.
|
|
43
|
+
characterClass: arc.characterClass ?? null,
|
|
44
|
+
groundingStatus: arc.groundingStatus ?? null,
|
|
34
45
|
}))
|
|
35
46
|
.sort((a, b) => a.index - b.index || a.arcId.localeCompare(b.arcId));
|
|
36
47
|
return {
|
|
@@ -40,6 +51,12 @@ function normalizeCharacter(character) {
|
|
|
40
51
|
scenes,
|
|
41
52
|
arcs,
|
|
42
53
|
relatedCharacterIds: [...(character.relatedCharacterIds ?? [])],
|
|
54
|
+
// §Q OPS.88b ledger 15 — the §11 cast curation block passes THROUGH: the
|
|
55
|
+
// curator surface renders "Kept by you", "Not seen in the latest analysis"
|
|
56
|
+
// and the name/type disagreements off it. Carried only when the backend
|
|
57
|
+
// sent it (an older backend sends none), so a projection with no record
|
|
58
|
+
// reads exactly as before.
|
|
59
|
+
...(character.curation ? { curation: { ...character.curation } } : {}),
|
|
43
60
|
};
|
|
44
61
|
}
|
|
45
62
|
/** Normalize the bound persona (or null when unbound). */
|
|
@@ -73,8 +90,193 @@ export function castWithPersona(response) {
|
|
|
73
90
|
.map((entry) => ({
|
|
74
91
|
character: normalizeCharacter(entry.character),
|
|
75
92
|
persona: normalizePersona(entry.persona),
|
|
93
|
+
// §Q UX.3a — the identifying frame passes through UNCHANGED. Coalesced
|
|
94
|
+
// to null (never dropped): a renderer must be able to tell "no frame"
|
|
95
|
+
// from "this projection forgot to carry it", and an older backend that
|
|
96
|
+
// sends no `frame` at all degrades to the honest empty state.
|
|
97
|
+
frame: entry.frame ?? null,
|
|
76
98
|
}))
|
|
77
99
|
.sort((a, b) => a.character.name.localeCompare(b.character.name) ||
|
|
78
100
|
a.character.entityId.localeCompare(b.character.entityId));
|
|
79
101
|
}
|
|
102
|
+
const byNameThenId = (a, b) => a.name.localeCompare(b.name) || a.entityId.localeCompare(b.entityId);
|
|
103
|
+
/**
|
|
104
|
+
* Project the cast response's §11 footers: coalesced (an older backend sends
|
|
105
|
+
* neither — both read as empty), name fallbacks applied, ordered like the cast
|
|
106
|
+
* itself. Pure: the input response is not mutated.
|
|
107
|
+
*/
|
|
108
|
+
export function castCurationFooters(response) {
|
|
109
|
+
return {
|
|
110
|
+
hiddenByYou: (response.hiddenByYou ?? [])
|
|
111
|
+
.map((member) => ({ entityId: member.entityId, name: member.name || member.entityId }))
|
|
112
|
+
.sort(byNameThenId),
|
|
113
|
+
personaOrphans: (response.personaOrphans ?? [])
|
|
114
|
+
.map((orphan) => ({
|
|
115
|
+
entityId: orphan.entityId,
|
|
116
|
+
name: orphan.name || orphan.entityId,
|
|
117
|
+
personaIds: [...(orphan.personaIds ?? [])],
|
|
118
|
+
}))
|
|
119
|
+
.sort(byNameThenId),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* §Q GROUND.26 — why a stored cast frame is withheld from the projection.
|
|
124
|
+
*
|
|
125
|
+
* An OBJECT rather than a bare string literal so the vocabulary has one home.
|
|
126
|
+
* Widening it is additive for readers and BREAKING for an exhaustive
|
|
127
|
+
* `Record<CastFrameSuppressionReason, …>` consumer — add the arm in the same PR.
|
|
128
|
+
*
|
|
129
|
+
* ⛔ **THE REASON IS NOT DECORATION.** A surface renders different copy per
|
|
130
|
+
* reason and a check grades per reason: `grounding_absent` says "we looked and
|
|
131
|
+
* this character was not on screen", `grounding_unreadable` says "we could not
|
|
132
|
+
* look". Reporting the second as the first accuses the pipeline of a verdict it
|
|
133
|
+
* never reached, in front of the creator, which is the silent-certification
|
|
134
|
+
* class this module refuses.
|
|
135
|
+
*/
|
|
136
|
+
export const CAST_FRAME_SUPPRESSION_REASON = {
|
|
137
|
+
/**
|
|
138
|
+
* The CII graded this character visual-ABSENT while it still held a frame
|
|
139
|
+
* chosen before the index existed (§Q GROUND.8 counts that row `unreplaced`).
|
|
140
|
+
*/
|
|
141
|
+
GROUNDING_ABSENT: 'grounding_absent',
|
|
142
|
+
/**
|
|
143
|
+
* §Q GROUND.52 — the grounding index could not be READ at all
|
|
144
|
+
* ({@link GROUNDING_INDEX_STATUS.UNREADABLE}), so nothing can certify this
|
|
145
|
+
* frame. Unlike `grounding_absent` this is not a verdict about the character:
|
|
146
|
+
* it is the absence of one, and the frame is held back until a read succeeds.
|
|
147
|
+
*/
|
|
148
|
+
GROUNDING_UNREADABLE: 'grounding_unreadable',
|
|
149
|
+
/**
|
|
150
|
+
* §Q GROUND.124 — the stored index cannot point at a verified crop of THIS
|
|
151
|
+
* character at this frame's moment (`CastFrame.indexBacked === false`).
|
|
152
|
+
*
|
|
153
|
+
* Distinct from `grounding_absent` because its SOURCE is different, and that
|
|
154
|
+
* is the whole point: `grounding_absent` is read off the graph node, which
|
|
155
|
+
* §Q GROUND.65's epoch fence deliberately holds at a human's curated verdict
|
|
156
|
+
* through a recompute. When that verdict cannot be re-anchored the node still
|
|
157
|
+
* reads WEAK while the artifact carries no crop at all, the ABSENT arm never
|
|
158
|
+
* fires, and a picture nothing stands behind renders. This reason is the
|
|
159
|
+
* artifact's own answer, computed server-side by the cast door.
|
|
160
|
+
*/
|
|
161
|
+
GROUNDING_UNBACKED: 'grounding_unbacked',
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Attach grounding to cast entries — THE one join rule between the cast
|
|
165
|
+
* projection and the grounding read, shared by every consumer so the key
|
|
166
|
+
* cannot drift per app.
|
|
167
|
+
*
|
|
168
|
+
* ⛔ **THE JOIN KEY IS THE BARE `character.entityId`** — the same key
|
|
169
|
+
* `indexCharacterGrounding` writes from `Entity.properties.entityId`. It is
|
|
170
|
+
* NEVER the composite `GraphNode.id` (`"Entity:entityId:<value>"`): indexing
|
|
171
|
+
* on that id was the first implementation of the grounding read (codex P1,
|
|
172
|
+
* PR #1816) and it made every badge silently invisible on every video while
|
|
173
|
+
* all unit tests passed, because the fixtures used a bare-`id` shape the
|
|
174
|
+
* endpoint never emits. The join-key pin lives in this module's tests.
|
|
175
|
+
*
|
|
176
|
+
* A `null`/`undefined`/empty index yields `grounding: null` on every entry —
|
|
177
|
+
* the honest dark-posture reading, not an error. Pure: entries are not
|
|
178
|
+
* mutated; the returned array preserves the input order (the projection's
|
|
179
|
+
* `castWithPersona` ordering is the render order).
|
|
180
|
+
*
|
|
181
|
+
* ⭐ **§Q GROUND.26 — IT ALSO APPLIES THE ABSENT-SUPERSEDE SUPPRESSION, and
|
|
182
|
+
* that is one job rather than two.** This function IS the grounded projection
|
|
183
|
+
* step: the moment a row's grounding is known, what the row may show is known
|
|
184
|
+
* too. Splitting the suppression into a second call every surface must remember
|
|
185
|
+
* to make is how one of them forgets and paints the wrong face — and the two
|
|
186
|
+
* consumers here (React `web/`, Vue `../Web-App`) plus any engine UI are exactly
|
|
187
|
+
* the "a rule in two places is a rule breakable in one of them" shape
|
|
188
|
+
* `CastFrameSlot` already exists to prevent. The predicate itself lives once,
|
|
189
|
+
* in `characterGrounding.castFrameSuppressedByGrounding`.
|
|
190
|
+
*
|
|
191
|
+
* The suppression NEVER destroys: `frame` moves to
|
|
192
|
+
* {@link GroundedCastEntry.suppressedFrame} (minus its presigned url), the
|
|
193
|
+
* caller's entry is untouched, and the image row is untouched in the store.
|
|
194
|
+
*
|
|
195
|
+
* ⭐ **§Q GROUND.52 — `options.indexStatus` DECIDES WHAT AN EMPTY MAP MEANS.**
|
|
196
|
+
* An empty index has two causes that are opposite facts: the video is ungraded
|
|
197
|
+
* (nobody looked — suppress nothing), or the read FAILED (nobody could look —
|
|
198
|
+
* certify nothing). Without the status the join sees the same empty map either
|
|
199
|
+
* way and takes the permissive reading, which serves a stale pre-CII picture as
|
|
200
|
+
* though the index had cleared it. The parameter is OPTIONAL and its absence
|
|
201
|
+
* means {@link GROUNDING_INDEX_STATUS.READY}, so an existing two-argument call
|
|
202
|
+
* site (the Vue `../Web-App`) behaves exactly as it does today.
|
|
203
|
+
*
|
|
204
|
+
* ⭐ **§Q GROUND.124 — AND IT WITHHOLDS A FRAME THE ARTIFACT CANNOT BACK,
|
|
205
|
+
* WHICHEVER WAY THE GRAPH LEANS.** Everything above decides from the graph
|
|
206
|
+
* node's grounding property. That property is not the artifact: §Q GROUND.65's
|
|
207
|
+
* epoch fence deliberately keeps a human's curated verdict on the node through a
|
|
208
|
+
* recompute, so a character whose verdict the recompute could not re-anchor
|
|
209
|
+
* reads WEAK on the node while the stored index holds NO verified crop for them
|
|
210
|
+
* — and the ABSENT arm above never fires. `CastFrame.indexBacked` is the
|
|
211
|
+
* artifact's own answer about THIS picture, computed by the cast door, and
|
|
212
|
+
* `false` withholds regardless of level. It is checked FIRST because it is the
|
|
213
|
+
* narrower statement: it is about the frame, not about the character.
|
|
214
|
+
*/
|
|
215
|
+
export function attachCastGrounding(entries, groundingByEntityId, options) {
|
|
216
|
+
const unreadable = options?.indexStatus === GROUNDING_INDEX_STATUS.UNREADABLE;
|
|
217
|
+
return entries.map((entry) => {
|
|
218
|
+
const grounding = groundingByEntityId?.get(entry.character.entityId) ?? null;
|
|
219
|
+
// A suppression is only real when there IS a picture being withheld — a
|
|
220
|
+
// graded-ABSENT character that never had a frame reports nothing, or the
|
|
221
|
+
// suppressed count stops meaning anything.
|
|
222
|
+
const hasFrame = entry.frame != null;
|
|
223
|
+
// §Q GROUND.124 — the artifact's verdict about THIS picture. `undefined` is
|
|
224
|
+
// an older backend that does not send the field, and `null` is a video with
|
|
225
|
+
// no index; neither is a "no", so only an explicit `false` withholds.
|
|
226
|
+
const unbacked = entry.frame?.indexBacked === false;
|
|
227
|
+
// §Q GROUND.52 — an unreadable index withholds EVERY frame, and it outranks
|
|
228
|
+
// the per-character verdict because there is no per-character verdict to
|
|
229
|
+
// have: `groundingByEntityId` is empty by construction when the read failed,
|
|
230
|
+
// so `castFrameSuppressedByGrounding` would answer `false` for every row —
|
|
231
|
+
// the exact reading that served the stale picture.
|
|
232
|
+
const suppress = hasFrame && (unbacked || unreadable || castFrameSuppressedByGrounding(grounding));
|
|
233
|
+
return {
|
|
234
|
+
...entry,
|
|
235
|
+
grounding,
|
|
236
|
+
frame: suppress ? null : entry.frame,
|
|
237
|
+
suppressedFrame: suppress
|
|
238
|
+
? {
|
|
239
|
+
// ⛔ ORDERED MOST-SPECIFIC FIRST. `unbacked` is a statement about
|
|
240
|
+
// this picture and outranks both level-shaped reasons: a row that is
|
|
241
|
+
// ALSO graded ABSENT is still most precisely described as "no crop
|
|
242
|
+
// backs this frame", and reporting it as the level alone is how the
|
|
243
|
+
// §Q GROUND.65 seam stayed invisible.
|
|
244
|
+
reason: unbacked
|
|
245
|
+
? CAST_FRAME_SUPPRESSION_REASON.GROUNDING_UNBACKED
|
|
246
|
+
: unreadable
|
|
247
|
+
? CAST_FRAME_SUPPRESSION_REASON.GROUNDING_UNREADABLE
|
|
248
|
+
: CAST_FRAME_SUPPRESSION_REASON.GROUNDING_ABSENT,
|
|
249
|
+
imageId: entry.frame.imageId,
|
|
250
|
+
sourceTimestamp: entry.frame.sourceTimestamp ?? null,
|
|
251
|
+
}
|
|
252
|
+
: null,
|
|
253
|
+
};
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* The document-authored entity-id prefix (mirrors `shared/id_scheme.py`
|
|
258
|
+
* `DOCUMENT_ENTITY_ID_PREFIX`). `markEntitiesDistinct`'s backend contract
|
|
259
|
+
* (`set_entity_distinct`) requires the `docentId` side to be a `docent-`
|
|
260
|
+
* entity and the `entityId` side to be the Pegasus character, so a pair with
|
|
261
|
+
* zero or two docent entities is unsupported (would 422).
|
|
262
|
+
*/
|
|
263
|
+
export const DOCENT_ENTITY_ID_PREFIX = 'docent-';
|
|
264
|
+
/**
|
|
265
|
+
* Resolve a 2-entity selection into a `markEntitiesDistinct` payload's
|
|
266
|
+
* `{docentId, entityId}` ordering, or `null` when the pair is unsupported
|
|
267
|
+
* (not exactly 2 selected, or not exactly one side is document-authored).
|
|
268
|
+
* The ONE mark-distinct pairing rule — shared by the console
|
|
269
|
+
* `CastCurationPanel` and the creator-surface curation entity table (W2.3-c)
|
|
270
|
+
* so the eligibility check can never drift between the two surfaces.
|
|
271
|
+
*/
|
|
272
|
+
export function resolveMarkDistinctPair(selectedIds) {
|
|
273
|
+
if (selectedIds.length !== 2)
|
|
274
|
+
return null;
|
|
275
|
+
const [a, b] = selectedIds;
|
|
276
|
+
const aDoc = a.startsWith(DOCENT_ENTITY_ID_PREFIX);
|
|
277
|
+
const bDoc = b.startsWith(DOCENT_ENTITY_ID_PREFIX);
|
|
278
|
+
if (aDoc === bDoc)
|
|
279
|
+
return null; // both docent or neither → unsupported
|
|
280
|
+
return aDoc ? { docentId: a, entityId: b } : { docentId: b, entityId: a };
|
|
281
|
+
}
|
|
80
282
|
//# sourceMappingURL=castProjection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"castProjection.js","sourceRoot":"","sources":["../src/castProjection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"castProjection.js","sourceRoot":"","sources":["../src/castProjection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAYH,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,GAGvB,MAAM,sBAAsB,CAAC;AAE9B,8EAA8E;AAC9E,SAAS,kBAAkB,CAAC,SAAwB;IAClD,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,IAAI,EAAE,CAAC;IAC1C,MAAM,MAAM,GAAgB,CAAC,SAAS,CAAC,MAAM,IAAI,EAAE,CAAC;SACjD,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACf,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO;KACpC,CAAC,CAAC;SACF,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACtD,MAAM,IAAI,GAA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