@escapeaihq/client-core 0.52.0 → 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 +13 -0
- package/dist/conversation/binding.d.ts.map +1 -1
- 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 +44 -0
- package/dist/conversation/controller.d.ts.map +1 -1
- package/dist/conversation/controller.js +82 -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.map +1 -1
- package/dist/reactor/dmSceneControlPrompt.js +64 -2
- package/dist/reactor/dmSceneControlPrompt.js.map +1 -1
- 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 +19 -0
- package/dist/reactor/index.d.ts.map +1 -1
- package/dist/reactor/index.js +78 -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 +42 -3
- 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.map +1 -1
- package/dist/reactor/toolPromptAddon.js +16 -2
- 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 +273 -10
- package/dist/websocket.d.ts.map +1 -1
- package/dist/websocket.js +79 -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/chatSessionStore.test.ts +243 -0
- package/src/__tests__/conversation/controller.test.ts +211 -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 +79 -0
- 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-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-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 +13 -0
- package/src/conversation/chatSessionStore.ts +281 -0
- package/src/conversation/controller.ts +96 -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 +69 -2
- 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 +78 -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 +81 -3
- 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 +16 -2
- 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 +361 -12
- package/src/workflowAuthoring.ts +664 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* §Q `WORLD.3` — THE ONE PLACE A SCENE ENTRY DECIDES WHICH PICTURE THE WORLD IS
|
|
3
|
+
* CONDITIONED ON.
|
|
4
|
+
*
|
|
5
|
+
* **The bug this file exists to close (owner, live 2026-08-13):** *"Helios image
|
|
6
|
+
* is not grounded in the storyboard images. It looks nothing like the images in
|
|
7
|
+
* the storyboard."*
|
|
8
|
+
*
|
|
9
|
+
* `DM.19` ratified that a DM world entry tracks the ratified board, and it
|
|
10
|
+
* shipped the PROMPT half: `useDmWorldEntry.framePromptFor` composes the beat's
|
|
11
|
+
* frame prompt and it reaches the pane as `customPrompt`. The IMAGE half never
|
|
12
|
+
* landed. Both scene-entry orchestrators — `prepareSceneEntry` (Helios) and
|
|
13
|
+
* `prepareLongLiveSceneEntry` (LongLive-2) — opened with
|
|
14
|
+
* `apiClient.extractImage({videoId, entity, timestamp})`, which runs ffmpeg
|
|
15
|
+
* against the SOURCE VIDEO's presigned URL. So the world was TEXT-conditioned on
|
|
16
|
+
* the storyboard beat and IMAGE-conditioned on a still from the original film:
|
|
17
|
+
* two different scenes, and on an image-to-video model the picture wins.
|
|
18
|
+
*
|
|
19
|
+
* (The third transport, HappyOyster, was never affected — `planDmWorldEntry`
|
|
20
|
+
* puts `frameImageUrl(frame)` on the plan as `seedImageUrl` and
|
|
21
|
+
* `prepareHappyOysterSeedFromUrl` fetches THOSE bytes. That is the behaviour
|
|
22
|
+
* this seam brings to the other two, not a new invention.)
|
|
23
|
+
*
|
|
24
|
+
* ## What a board frame's image actually is
|
|
25
|
+
*
|
|
26
|
+
* ⛔ NOT `StoryboardFrame.imageId` — **there is no such field.** `image_id` /
|
|
27
|
+
* `stylized_image_id` live on `FrameRef` (the character/setting REFERENCE images
|
|
28
|
+
* fed to the adapter), and that field's own docstring in
|
|
29
|
+
* `shared/storyboard_models.py` says it is *"PROVENANCE, not a fetch handle"* —
|
|
30
|
+
* the gatherer stamps an image-store id when the reference came from the store
|
|
31
|
+
* and a bare S3 KEY otherwise, so nothing can re-read bytes from it.
|
|
32
|
+
*
|
|
33
|
+
* The RENDERED frame is `FrameVariant.image_key`
|
|
34
|
+
* (`shared/s3_keys.storyboard_frame_key` → `storyboard-frames/{sb}/{frame}/
|
|
35
|
+
* {variant}.png`), surfaced to clients as the detail-read-only presigned
|
|
36
|
+
* `image_url` and read through `frameImageUrl(frame)`. A presigned URL, not an
|
|
37
|
+
* id — which is why {@link loadSeedImageFileFromUrl} exists beside
|
|
38
|
+
* `loadSeedImageFile`.
|
|
39
|
+
*
|
|
40
|
+
* ## The fallback is REAL and it is a fallback
|
|
41
|
+
*
|
|
42
|
+
* A beat nobody storyboarded (or whose frame never rendered) still has to
|
|
43
|
+
* condition on something, and the frozen playhead is the honest answer there.
|
|
44
|
+
* The film extract therefore stays — as the DOCUMENTED fallback, taken only when
|
|
45
|
+
* no board seed was supplied. On the board path `extractImage` is **not called
|
|
46
|
+
* at all**: no ffmpeg run, no `ImageRecord` written, nothing added to the user's
|
|
47
|
+
* gallery for a frame we already own.
|
|
48
|
+
*/
|
|
49
|
+
import type { ApiClient, ImageRecord } from '../api';
|
|
50
|
+
/**
|
|
51
|
+
* Where a scene entry's conditioning image came from. A closed set, because
|
|
52
|
+
* every consumer that reports provenance (the pane's `data-world-seed-source`,
|
|
53
|
+
* the coherence check that grades it) must compare against the SAME two
|
|
54
|
+
* strings — a raw literal at either end is how a provenance claim drifts from
|
|
55
|
+
* the bytes it describes.
|
|
56
|
+
*/
|
|
57
|
+
export declare const SCENE_SEED_SOURCES: {
|
|
58
|
+
/** The ratified storyboard frame for the beat — the DM-grounded path. */
|
|
59
|
+
readonly BOARD_FRAME: "board_frame";
|
|
60
|
+
/** An ffmpeg still from the source video at the frozen playhead — the
|
|
61
|
+
* documented fallback for a beat with no rendered board frame. */
|
|
62
|
+
readonly FILM_EXTRACT: "film_extract";
|
|
63
|
+
/**
|
|
64
|
+
* NO NEW SEED WAS SENT, BY DESIGN — a permanent HappyOyster world was
|
|
65
|
+
* REOPENED (or an already-running one re-aimed). `planDmWorldEntry` clears
|
|
66
|
+
* `seedImageUrl` on `'reopen'`/`'steer'` precisely because the world already
|
|
67
|
+
* exists and is billed; conditioning it again would be a second create.
|
|
68
|
+
*
|
|
69
|
+
* A THIRD value rather than a silence, because the two are opposite facts and
|
|
70
|
+
* a grader has to tell them apart: a reopened world owes no seed, while a pane
|
|
71
|
+
* that publishes nothing at all is the unaskable surface this whole axis
|
|
72
|
+
* exists to forbid. Not returned by {@link resolveSceneSeedImage} — that seam
|
|
73
|
+
* always produces bytes — which is why {@link ResolvedSceneSeed} narrows to
|
|
74
|
+
* the two it can answer with.
|
|
75
|
+
*/
|
|
76
|
+
readonly REOPENED_WORLD: "reopened_world";
|
|
77
|
+
};
|
|
78
|
+
/** Every provenance a world SURFACE can publish, reopens included. */
|
|
79
|
+
export type SceneSeedSource = (typeof SCENE_SEED_SOURCES)[keyof typeof SCENE_SEED_SOURCES];
|
|
80
|
+
/** The provenances {@link resolveSceneSeedImage} can return — it always
|
|
81
|
+
* produces bytes, so a reopen is not one of them. */
|
|
82
|
+
export type ResolvedSceneSeedSource = typeof SCENE_SEED_SOURCES.BOARD_FRAME | typeof SCENE_SEED_SOURCES.FILM_EXTRACT;
|
|
83
|
+
/**
|
|
84
|
+
* Sentinel entity name for the `ExtractImageRequest`. The backend endpoint
|
|
85
|
+
* requires the field but uses `timestamp` for the actual frame extraction when
|
|
86
|
+
* both are given — `entity` survives only as a label on the resulting
|
|
87
|
+
* `ImageRecord`, and (via `aggregateEntityContext`) as the entity NAME in the
|
|
88
|
+
* grounding both orchestrators build.
|
|
89
|
+
*
|
|
90
|
+
* Single-homed here because the board path has no extract call to take it from
|
|
91
|
+
* and still needs the identical label, so the grounding does not change shape
|
|
92
|
+
* depending on which picture the world was seeded with.
|
|
93
|
+
*/
|
|
94
|
+
export declare const SCENE_ENTITY_LABEL = "scene";
|
|
95
|
+
/** Prefix for the provenance ref of a film-extract seed. The board path's ref
|
|
96
|
+
* is the frame object's own S3 key, which is self-identifying; an
|
|
97
|
+
* `ImageRecord` id is not, so it is namespaced. */
|
|
98
|
+
export declare const SCENE_SEED_EXTRACT_REF_PREFIX = "extract:";
|
|
99
|
+
/** The resolved conditioning image plus everything the orchestrators used to
|
|
100
|
+
* take off the extract response. */
|
|
101
|
+
export interface ResolvedSceneSeed {
|
|
102
|
+
/** The bytes, ready for `reactor.uploadFile`. */
|
|
103
|
+
file: File;
|
|
104
|
+
/** Which of the two paths produced {@link ResolvedSceneSeed.file}. */
|
|
105
|
+
source: ResolvedSceneSeedSource;
|
|
106
|
+
/**
|
|
107
|
+
* Tracked `ImageRecord` id — the film-extract path only. `null` on the board
|
|
108
|
+
* path, where no `ImageRecord` is minted: a board frame is not a gallery
|
|
109
|
+
* bookmark and there is nothing at `/images/{id}` to deep-link to.
|
|
110
|
+
*/
|
|
111
|
+
imageId: string | null;
|
|
112
|
+
/** The board frame's presigned image URL on the board path; `null` otherwise. */
|
|
113
|
+
boardImageUrl: string | null;
|
|
114
|
+
/** The playhead the entity grounding brackets. */
|
|
115
|
+
sourceTimestamp: number;
|
|
116
|
+
/** Minimal record for `aggregateEntityContext` (it reads only
|
|
117
|
+
* `source_entity`, `source_video_id` and `source_timestamp`). */
|
|
118
|
+
imageRecord: ImageRecord;
|
|
119
|
+
}
|
|
120
|
+
export interface SceneSeedImageInput {
|
|
121
|
+
/** The Seer video / story being watched. */
|
|
122
|
+
videoId: string;
|
|
123
|
+
/** The frozen playhead — the extract point AND the enrichment bracket. */
|
|
124
|
+
timestamp: number;
|
|
125
|
+
/**
|
|
126
|
+
* The ratified board frame's presigned image URL for the beat being entered
|
|
127
|
+
* (`DmWorldEntryPlan.seedImageUrl` / `frameImageUrl(frame)`). Supplied ⇒ the
|
|
128
|
+
* world is conditioned on THAT picture. Absent/`null`/empty ⇒ the documented
|
|
129
|
+
* film-extract fallback.
|
|
130
|
+
*/
|
|
131
|
+
boardSeedImageUrl?: string | null;
|
|
132
|
+
apiClient: ApiClient;
|
|
133
|
+
signal?: AbortSignal;
|
|
134
|
+
/** Upload filename stem; the extension is always MIME-derived. */
|
|
135
|
+
filenameStem?: string;
|
|
136
|
+
/** Injectable `fetch` for the board path (tests, non-browser hosts). */
|
|
137
|
+
fetchImpl?: typeof fetch;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Resolve the conditioning image for a scene entry — the board frame when the
|
|
141
|
+
* caller supplied one, the film extract otherwise.
|
|
142
|
+
*
|
|
143
|
+
* Throws on either path's failure rather than silently degrading: a board-seeded
|
|
144
|
+
* entry that quietly fell back to the film would reproduce exactly the defect
|
|
145
|
+
* this seam closes, and it would do so invisibly.
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* THE ONE RULE for "does this host actually have a board frame to seed from".
|
|
149
|
+
*
|
|
150
|
+
* §Q `MOMENT.16` fold (codex on PR #2009) — this test used to be an inline
|
|
151
|
+
* `boardSeedImageUrl?.trim() || null` inside {@link resolveSceneSeedImage}, and
|
|
152
|
+
* the moment a SECOND caller needed the same answer the two disagreed: the pane
|
|
153
|
+
* published `data-world-board-frame="resolved"` for an empty-or-whitespace URL
|
|
154
|
+
* while this resolver trimmed it and took the film-extract fallback. A DOM fact
|
|
155
|
+
* that disagrees with the seam it describes is worse than no fact — the
|
|
156
|
+
* MOMENT.16 check would then red a CORRECT fallback as a board-seed failure.
|
|
157
|
+
*
|
|
158
|
+
* @param raw the presigned board-frame URL a host resolved, if any.
|
|
159
|
+
* @returns the usable URL, or `null` when there is none.
|
|
160
|
+
*/
|
|
161
|
+
export declare function usableBoardSeedUrl(raw: string | null | undefined): string | null;
|
|
162
|
+
export declare function resolveSceneSeedImage(input: SceneSeedImageInput): Promise<ResolvedSceneSeed>;
|
|
163
|
+
/**
|
|
164
|
+
* The object path inside a presigned storyboard-frame URL, or `null` when the
|
|
165
|
+
* URL cannot be parsed.
|
|
166
|
+
*
|
|
167
|
+
* The presigned QUERY carries a per-signature credential and expiry, so it is
|
|
168
|
+
* different on every read of the same frame and is useless as an identity. The
|
|
169
|
+
* PATH is `storyboard-frames/{storyboardId}/{frameId}/{variantId}.png`
|
|
170
|
+
* (`shared/s3_keys.storyboard_frame_key`) — stable, and self-identifying down to
|
|
171
|
+
* the variant.
|
|
172
|
+
*/
|
|
173
|
+
export declare function storyboardFrameKeyFromUrl(url: string): string | null;
|
|
174
|
+
/**
|
|
175
|
+
* The three provenance fields every scene-entry payload carries. Named exactly
|
|
176
|
+
* as `SceneEntryPayload` / `LongLiveSceneEntryPayload` name them so a caller can
|
|
177
|
+
* hand a payload straight to {@link sceneSeedProvenanceRef} — a re-mapping step
|
|
178
|
+
* at each call site is a place for `seedImageUrl` to be read as `boardImageUrl`
|
|
179
|
+
* and silently produce `null`, which is exactly what happened before this type
|
|
180
|
+
* existed (caught by `sceneWorldPane.test.tsx`, on the shipped pane).
|
|
181
|
+
*/
|
|
182
|
+
export interface SceneSeedProvenance {
|
|
183
|
+
seedSource: SceneSeedSource;
|
|
184
|
+
seedImageUrl: string | null;
|
|
185
|
+
imageId: string | null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* A stable, shareable token naming WHERE a seed's bytes came from — what the
|
|
189
|
+
* world pane publishes so a live run can be asked which picture it was
|
|
190
|
+
* conditioned on, and what a coherence check compares against the board.
|
|
191
|
+
*
|
|
192
|
+
* Board path ⇒ the frame object's S3 key (see
|
|
193
|
+
* {@link storyboardFrameKeyFromUrl}). Film path ⇒ the `ImageRecord` id behind
|
|
194
|
+
* {@link SCENE_SEED_EXTRACT_REF_PREFIX}, so the two can never be confused for
|
|
195
|
+
* one another. `null` when the seed carries no handle at all — which includes
|
|
196
|
+
* every reopen, where no bytes were sent.
|
|
197
|
+
*/
|
|
198
|
+
export declare function sceneSeedProvenanceRef(seed: SceneSeedProvenance): string | null;
|
|
199
|
+
//# sourceMappingURL=sceneSeedImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sceneSeedImage.d.ts","sourceRoot":"","sources":["../../src/reactor/sceneSeedImage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAMrD;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;IAC7B,yEAAyE;;IAEzE;uEACmE;;IAEnE;;;;;;;;;;;;OAYG;;CAEK,CAAC;AAEX,sEAAsE;AACtE,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D;sDACsD;AACtD,MAAM,MAAM,uBAAuB,GAC/B,OAAO,kBAAkB,CAAC,WAAW,GACrC,OAAO,kBAAkB,CAAC,YAAY,CAAC;AAE3C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAE1C;;oDAEoD;AACpD,eAAO,MAAM,6BAA6B,aAAa,CAAC;AAExD;qCACqC;AACrC,MAAM,WAAW,iBAAiB;IAChC,iDAAiD;IACjD,IAAI,EAAE,IAAI,CAAC;IACX,sEAAsE;IACtE,MAAM,EAAE,uBAAuB,CAAC;IAChC;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,iFAAiF;IACjF,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kDAAkD;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB;sEACkE;IAClE,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,SAAS,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;IAErB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B;AA8BD;;;;;;;GAOG;AACH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAEhF;AAED,wBAAsB,qBAAqB,CACzC,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,iBAAiB,CAAC,CAmE5B;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAMpE;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,mBAAmB,GACxB,MAAM,GAAG,IAAI,CAYf"}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* §Q `WORLD.3` — THE ONE PLACE A SCENE ENTRY DECIDES WHICH PICTURE THE WORLD IS
|
|
3
|
+
* CONDITIONED ON.
|
|
4
|
+
*
|
|
5
|
+
* **The bug this file exists to close (owner, live 2026-08-13):** *"Helios image
|
|
6
|
+
* is not grounded in the storyboard images. It looks nothing like the images in
|
|
7
|
+
* the storyboard."*
|
|
8
|
+
*
|
|
9
|
+
* `DM.19` ratified that a DM world entry tracks the ratified board, and it
|
|
10
|
+
* shipped the PROMPT half: `useDmWorldEntry.framePromptFor` composes the beat's
|
|
11
|
+
* frame prompt and it reaches the pane as `customPrompt`. The IMAGE half never
|
|
12
|
+
* landed. Both scene-entry orchestrators — `prepareSceneEntry` (Helios) and
|
|
13
|
+
* `prepareLongLiveSceneEntry` (LongLive-2) — opened with
|
|
14
|
+
* `apiClient.extractImage({videoId, entity, timestamp})`, which runs ffmpeg
|
|
15
|
+
* against the SOURCE VIDEO's presigned URL. So the world was TEXT-conditioned on
|
|
16
|
+
* the storyboard beat and IMAGE-conditioned on a still from the original film:
|
|
17
|
+
* two different scenes, and on an image-to-video model the picture wins.
|
|
18
|
+
*
|
|
19
|
+
* (The third transport, HappyOyster, was never affected — `planDmWorldEntry`
|
|
20
|
+
* puts `frameImageUrl(frame)` on the plan as `seedImageUrl` and
|
|
21
|
+
* `prepareHappyOysterSeedFromUrl` fetches THOSE bytes. That is the behaviour
|
|
22
|
+
* this seam brings to the other two, not a new invention.)
|
|
23
|
+
*
|
|
24
|
+
* ## What a board frame's image actually is
|
|
25
|
+
*
|
|
26
|
+
* ⛔ NOT `StoryboardFrame.imageId` — **there is no such field.** `image_id` /
|
|
27
|
+
* `stylized_image_id` live on `FrameRef` (the character/setting REFERENCE images
|
|
28
|
+
* fed to the adapter), and that field's own docstring in
|
|
29
|
+
* `shared/storyboard_models.py` says it is *"PROVENANCE, not a fetch handle"* —
|
|
30
|
+
* the gatherer stamps an image-store id when the reference came from the store
|
|
31
|
+
* and a bare S3 KEY otherwise, so nothing can re-read bytes from it.
|
|
32
|
+
*
|
|
33
|
+
* The RENDERED frame is `FrameVariant.image_key`
|
|
34
|
+
* (`shared/s3_keys.storyboard_frame_key` → `storyboard-frames/{sb}/{frame}/
|
|
35
|
+
* {variant}.png`), surfaced to clients as the detail-read-only presigned
|
|
36
|
+
* `image_url` and read through `frameImageUrl(frame)`. A presigned URL, not an
|
|
37
|
+
* id — which is why {@link loadSeedImageFileFromUrl} exists beside
|
|
38
|
+
* `loadSeedImageFile`.
|
|
39
|
+
*
|
|
40
|
+
* ## The fallback is REAL and it is a fallback
|
|
41
|
+
*
|
|
42
|
+
* A beat nobody storyboarded (or whose frame never rendered) still has to
|
|
43
|
+
* condition on something, and the frozen playhead is the honest answer there.
|
|
44
|
+
* The film extract therefore stays — as the DOCUMENTED fallback, taken only when
|
|
45
|
+
* no board seed was supplied. On the board path `extractImage` is **not called
|
|
46
|
+
* at all**: no ffmpeg run, no `ImageRecord` written, nothing added to the user's
|
|
47
|
+
* gallery for a frame we already own.
|
|
48
|
+
*/
|
|
49
|
+
import { loadSeedImageFile, loadSeedImageFileFromUrl, } from './seedImageOrchestrator.js';
|
|
50
|
+
/**
|
|
51
|
+
* Where a scene entry's conditioning image came from. A closed set, because
|
|
52
|
+
* every consumer that reports provenance (the pane's `data-world-seed-source`,
|
|
53
|
+
* the coherence check that grades it) must compare against the SAME two
|
|
54
|
+
* strings — a raw literal at either end is how a provenance claim drifts from
|
|
55
|
+
* the bytes it describes.
|
|
56
|
+
*/
|
|
57
|
+
export const SCENE_SEED_SOURCES = {
|
|
58
|
+
/** The ratified storyboard frame for the beat — the DM-grounded path. */
|
|
59
|
+
BOARD_FRAME: 'board_frame',
|
|
60
|
+
/** An ffmpeg still from the source video at the frozen playhead — the
|
|
61
|
+
* documented fallback for a beat with no rendered board frame. */
|
|
62
|
+
FILM_EXTRACT: 'film_extract',
|
|
63
|
+
/**
|
|
64
|
+
* NO NEW SEED WAS SENT, BY DESIGN — a permanent HappyOyster world was
|
|
65
|
+
* REOPENED (or an already-running one re-aimed). `planDmWorldEntry` clears
|
|
66
|
+
* `seedImageUrl` on `'reopen'`/`'steer'` precisely because the world already
|
|
67
|
+
* exists and is billed; conditioning it again would be a second create.
|
|
68
|
+
*
|
|
69
|
+
* A THIRD value rather than a silence, because the two are opposite facts and
|
|
70
|
+
* a grader has to tell them apart: a reopened world owes no seed, while a pane
|
|
71
|
+
* that publishes nothing at all is the unaskable surface this whole axis
|
|
72
|
+
* exists to forbid. Not returned by {@link resolveSceneSeedImage} — that seam
|
|
73
|
+
* always produces bytes — which is why {@link ResolvedSceneSeed} narrows to
|
|
74
|
+
* the two it can answer with.
|
|
75
|
+
*/
|
|
76
|
+
REOPENED_WORLD: 'reopened_world',
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Sentinel entity name for the `ExtractImageRequest`. The backend endpoint
|
|
80
|
+
* requires the field but uses `timestamp` for the actual frame extraction when
|
|
81
|
+
* both are given — `entity` survives only as a label on the resulting
|
|
82
|
+
* `ImageRecord`, and (via `aggregateEntityContext`) as the entity NAME in the
|
|
83
|
+
* grounding both orchestrators build.
|
|
84
|
+
*
|
|
85
|
+
* Single-homed here because the board path has no extract call to take it from
|
|
86
|
+
* and still needs the identical label, so the grounding does not change shape
|
|
87
|
+
* depending on which picture the world was seeded with.
|
|
88
|
+
*/
|
|
89
|
+
export const SCENE_ENTITY_LABEL = 'scene';
|
|
90
|
+
/** Prefix for the provenance ref of a film-extract seed. The board path's ref
|
|
91
|
+
* is the frame object's own S3 key, which is self-identifying; an
|
|
92
|
+
* `ImageRecord` id is not, so it is namespaced. */
|
|
93
|
+
export const SCENE_SEED_EXTRACT_REF_PREFIX = 'extract:';
|
|
94
|
+
/**
|
|
95
|
+
* Build the minimal `ImageRecord` the entity aggregator needs.
|
|
96
|
+
*
|
|
97
|
+
* One copy, deliberately: `sceneEntry.ts` and `longLiveSceneEntry.ts` each held
|
|
98
|
+
* a byte-identical private `synthesizeImageRecord` (the LongLive one's docblock
|
|
99
|
+
* even said *"Mirrors `sceneEntry.ts::synthesizeImageRecord`"*), which is the
|
|
100
|
+
* second-copy-of-a-behaviour the house rule calls a bug.
|
|
101
|
+
*/
|
|
102
|
+
function synthesizeImageRecord(videoId, fields) {
|
|
103
|
+
const now = new Date().toISOString();
|
|
104
|
+
return {
|
|
105
|
+
image_id: '',
|
|
106
|
+
user_id: '',
|
|
107
|
+
s3_key: fields.s3Key,
|
|
108
|
+
s3_bucket: '',
|
|
109
|
+
category: 'extracted',
|
|
110
|
+
content_type: 'image/png',
|
|
111
|
+
source_video_id: videoId,
|
|
112
|
+
source_entity: fields.entity,
|
|
113
|
+
source_timestamp: fields.sourceTimestamp,
|
|
114
|
+
created_at: now,
|
|
115
|
+
updated_at: now,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Resolve the conditioning image for a scene entry — the board frame when the
|
|
120
|
+
* caller supplied one, the film extract otherwise.
|
|
121
|
+
*
|
|
122
|
+
* Throws on either path's failure rather than silently degrading: a board-seeded
|
|
123
|
+
* entry that quietly fell back to the film would reproduce exactly the defect
|
|
124
|
+
* this seam closes, and it would do so invisibly.
|
|
125
|
+
*/
|
|
126
|
+
/**
|
|
127
|
+
* THE ONE RULE for "does this host actually have a board frame to seed from".
|
|
128
|
+
*
|
|
129
|
+
* §Q `MOMENT.16` fold (codex on PR #2009) — this test used to be an inline
|
|
130
|
+
* `boardSeedImageUrl?.trim() || null` inside {@link resolveSceneSeedImage}, and
|
|
131
|
+
* the moment a SECOND caller needed the same answer the two disagreed: the pane
|
|
132
|
+
* published `data-world-board-frame="resolved"` for an empty-or-whitespace URL
|
|
133
|
+
* while this resolver trimmed it and took the film-extract fallback. A DOM fact
|
|
134
|
+
* that disagrees with the seam it describes is worse than no fact — the
|
|
135
|
+
* MOMENT.16 check would then red a CORRECT fallback as a board-seed failure.
|
|
136
|
+
*
|
|
137
|
+
* @param raw the presigned board-frame URL a host resolved, if any.
|
|
138
|
+
* @returns the usable URL, or `null` when there is none.
|
|
139
|
+
*/
|
|
140
|
+
export function usableBoardSeedUrl(raw) {
|
|
141
|
+
return raw?.trim() || null;
|
|
142
|
+
}
|
|
143
|
+
export async function resolveSceneSeedImage(input) {
|
|
144
|
+
const { videoId, timestamp, boardSeedImageUrl, apiClient, signal, filenameStem, fetchImpl, } = input;
|
|
145
|
+
const boardUrl = usableBoardSeedUrl(boardSeedImageUrl);
|
|
146
|
+
if (boardUrl !== null) {
|
|
147
|
+
const file = await loadSeedImageFileFromUrl(boardUrl, {
|
|
148
|
+
...(signal ? { signal } : {}),
|
|
149
|
+
...(filenameStem === undefined ? {} : { filenameStem }),
|
|
150
|
+
...(fetchImpl ? { fetchImpl } : {}),
|
|
151
|
+
});
|
|
152
|
+
return {
|
|
153
|
+
file,
|
|
154
|
+
source: SCENE_SEED_SOURCES.BOARD_FRAME,
|
|
155
|
+
imageId: null,
|
|
156
|
+
boardImageUrl: boardUrl,
|
|
157
|
+
sourceTimestamp: timestamp,
|
|
158
|
+
// The board frame's own object key is the `s3_key` here — the grounding
|
|
159
|
+
// label still comes from `source_entity`, so this only has to be the
|
|
160
|
+
// truth about where the bytes came from.
|
|
161
|
+
imageRecord: synthesizeImageRecord(videoId, {
|
|
162
|
+
s3Key: storyboardFrameKeyFromUrl(boardUrl) ?? '',
|
|
163
|
+
sourceTimestamp: timestamp,
|
|
164
|
+
entity: SCENE_ENTITY_LABEL,
|
|
165
|
+
}),
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
// Fallback — extract the frozen-playhead frame server-side. The endpoint runs
|
|
169
|
+
// ffmpeg against the source video's presigned URL and persists an
|
|
170
|
+
// `ImageRecord` (a free gallery bookmark).
|
|
171
|
+
const extract = await apiClient.extractImage({ videoId, entity: SCENE_ENTITY_LABEL, timestamp }, { signal });
|
|
172
|
+
// The seed-image proxy is the only browser-safe path to the extracted bytes
|
|
173
|
+
// (the raw S3 bucket has no CORS rules). No `imageId` ⇒ the `ImageRecord`
|
|
174
|
+
// write failed and the frame is unreachable — fail loudly here rather than
|
|
175
|
+
// later, where the user has already seen "Materializing…".
|
|
176
|
+
if (!extract.imageId) {
|
|
177
|
+
throw new Error('extract-image did not return an imageId — the ImageRecord write failed and the frame is unreachable from the browser.');
|
|
178
|
+
}
|
|
179
|
+
const file = await loadSeedImageFile(extract.imageId, apiClient, {
|
|
180
|
+
...(signal ? { signal } : {}),
|
|
181
|
+
...(filenameStem === undefined ? {} : { filenameStem }),
|
|
182
|
+
});
|
|
183
|
+
return {
|
|
184
|
+
file,
|
|
185
|
+
source: SCENE_SEED_SOURCES.FILM_EXTRACT,
|
|
186
|
+
imageId: extract.imageId,
|
|
187
|
+
boardImageUrl: null,
|
|
188
|
+
sourceTimestamp: extract.sourceTimestamp,
|
|
189
|
+
imageRecord: synthesizeImageRecord(videoId, {
|
|
190
|
+
s3Key: extract.imageS3Key,
|
|
191
|
+
sourceTimestamp: extract.sourceTimestamp,
|
|
192
|
+
entity: extract.entity,
|
|
193
|
+
}),
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* The object path inside a presigned storyboard-frame URL, or `null` when the
|
|
198
|
+
* URL cannot be parsed.
|
|
199
|
+
*
|
|
200
|
+
* The presigned QUERY carries a per-signature credential and expiry, so it is
|
|
201
|
+
* different on every read of the same frame and is useless as an identity. The
|
|
202
|
+
* PATH is `storyboard-frames/{storyboardId}/{frameId}/{variantId}.png`
|
|
203
|
+
* (`shared/s3_keys.storyboard_frame_key`) — stable, and self-identifying down to
|
|
204
|
+
* the variant.
|
|
205
|
+
*/
|
|
206
|
+
export function storyboardFrameKeyFromUrl(url) {
|
|
207
|
+
try {
|
|
208
|
+
return new URL(url).pathname.replace(/^\/+/, '') || null;
|
|
209
|
+
}
|
|
210
|
+
catch {
|
|
211
|
+
return null;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* A stable, shareable token naming WHERE a seed's bytes came from — what the
|
|
216
|
+
* world pane publishes so a live run can be asked which picture it was
|
|
217
|
+
* conditioned on, and what a coherence check compares against the board.
|
|
218
|
+
*
|
|
219
|
+
* Board path ⇒ the frame object's S3 key (see
|
|
220
|
+
* {@link storyboardFrameKeyFromUrl}). Film path ⇒ the `ImageRecord` id behind
|
|
221
|
+
* {@link SCENE_SEED_EXTRACT_REF_PREFIX}, so the two can never be confused for
|
|
222
|
+
* one another. `null` when the seed carries no handle at all — which includes
|
|
223
|
+
* every reopen, where no bytes were sent.
|
|
224
|
+
*/
|
|
225
|
+
export function sceneSeedProvenanceRef(seed) {
|
|
226
|
+
if (seed.seedSource === SCENE_SEED_SOURCES.BOARD_FRAME) {
|
|
227
|
+
return seed.seedImageUrl === null
|
|
228
|
+
? null
|
|
229
|
+
: storyboardFrameKeyFromUrl(seed.seedImageUrl);
|
|
230
|
+
}
|
|
231
|
+
// A reopened world carries no seed at all — the SOURCE is the whole answer
|
|
232
|
+
// there, and inventing a ref would be a handle to bytes nobody sent.
|
|
233
|
+
if (seed.seedSource === SCENE_SEED_SOURCES.REOPENED_WORLD)
|
|
234
|
+
return null;
|
|
235
|
+
return seed.imageId === null
|
|
236
|
+
? null
|
|
237
|
+
: `${SCENE_SEED_EXTRACT_REF_PREFIX}${seed.imageId}`;
|
|
238
|
+
}
|
|
239
|
+
//# sourceMappingURL=sceneSeedImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sceneSeedImage.js","sourceRoot":"","sources":["../../src/reactor/sceneSeedImage.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pure async orchestration of the "selected image → Reactor seed" flow.
|
|
3
3
|
*
|
|
4
|
+
* ✅ **RE-VERIFIED LIVE 2026-07-14 (§Q VIS.1).** Do NOT "fix" this by switching
|
|
5
|
+
* to the inline `{ image_b64, transition }` shape the SDK's `llms.txt` summary
|
|
6
|
+
* mentions — that claim has been filed as a bug twice and is wrong. The FileRef
|
|
7
|
+
* path below works on the live deployment TODAY, proven two ways on the same
|
|
8
|
+
* day: `scripts/spikes/helios_set_image_spike.py` (→ `image_accepted {640x384}`,
|
|
9
|
+
* `conditions_ready { has_image: true }`, seeded frames) and the DEPLOYED
|
|
10
|
+
* Step-Into-Scene surface on staging (same two events in the browser console,
|
|
11
|
+
* world renders the seed frame). The historical "silently rejects uploads"
|
|
12
|
+
* symptom was the pre-`start` ack wait, removed in the fix below.
|
|
13
|
+
*
|
|
4
14
|
* Wire shape: Helios's `set_image` command expects `{ image: <FileRef>,
|
|
5
15
|
* transition? }`. The FileRef comes from `reactor.uploadFile()`, which
|
|
6
16
|
* uploads the bytes via HTTP to Reactor's object store and returns a
|
|
@@ -25,7 +35,8 @@
|
|
|
25
35
|
* load blob from `apiClient.getSeedImageBlob`
|
|
26
36
|
* → wrap as `File` with extension derived from MIME (round 14 fix)
|
|
27
37
|
* → `reactor.uploadFile(file)` → `FileRef`
|
|
28
|
-
* → `reactor.sendCommand(
|
|
38
|
+
* → `reactor.sendCommand(commandName, { image: ref, transition })`
|
|
39
|
+
* (`commandName` is REQUIRED — see {@link HELIOS_SET_IMAGE_COMMAND})
|
|
29
40
|
* → optionally await `waitForImageReady()` (model echoes `image_set`
|
|
30
41
|
* with width/height)
|
|
31
42
|
*
|
|
@@ -72,6 +83,24 @@ export declare function downscaleImageForDataChannel(blob: Blob, options?: Downs
|
|
|
72
83
|
* is the bare base64 payload, which is what Helios expects.
|
|
73
84
|
*/
|
|
74
85
|
export declare function fileToBase64(file: Blob): Promise<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The Helios image-conditioning command — the ONE place this literal is
|
|
88
|
+
* spelled. It is HELIOS-SPECIFIC, not a generic default: a §Q SB-W.6 staging
|
|
89
|
+
* A/B (2026-07-25) sent the byte-identical `set_image` envelope to both live
|
|
90
|
+
* models and only Helios answered.
|
|
91
|
+
*
|
|
92
|
+
* helios → `image_accepted {width:640,height:384}` + `conditions_ready
|
|
93
|
+
* {has_image:true}` + `state.image_set:true`
|
|
94
|
+
* longlive-v2 → NO ack, NO error — the command is silently dropped, and the
|
|
95
|
+
* uploaded bytes are wasted.
|
|
96
|
+
*
|
|
97
|
+
* That is why {@link ApplySeedImageOptions.commandName} is REQUIRED rather than
|
|
98
|
+
* defaulting to this constant: a silent default let the Director announce a
|
|
99
|
+
* LongLive seed with Helios's command and report success. Per-model command
|
|
100
|
+
* selection is single-homed on `WorldAdapterDescriptor.seedImageCommand`
|
|
101
|
+
* (`adapters/worldAdapter.ts`) — resolve from there, don't re-spell the literal.
|
|
102
|
+
*/
|
|
103
|
+
export declare const HELIOS_SET_IMAGE_COMMAND = "set_image";
|
|
75
104
|
export interface ApplySeedImageOptions {
|
|
76
105
|
/** `'cut'` (default) for the first seed in a session, `'blend'` for
|
|
77
106
|
* subsequent swaps so the model smooths the visual transition.
|
|
@@ -94,7 +123,25 @@ export interface ApplySeedImageOptions {
|
|
|
94
123
|
* producing `seed.<ext>`. Matches `loadSeedImageFile`'s option
|
|
95
124
|
* name and semantics. */
|
|
96
125
|
filenameStem?: string;
|
|
126
|
+
/** The Reactor command STRING that carries the uploaded `FileRef`.
|
|
127
|
+
* **REQUIRED — there is deliberately no default** (§Q SB-W.6). The Reactor
|
|
128
|
+
* SDK is model-agnostic: the command name is caller-chosen and an unknown
|
|
129
|
+
* command is dropped with no error, so a default would silently ship one
|
|
130
|
+
* vendor's command to another vendor's model. Resolve it from the world
|
|
131
|
+
* adapter's `seedImageCommand` (see {@link HELIOS_SET_IMAGE_COMMAND}); a
|
|
132
|
+
* model with NO image-seed command must not call this function at all. */
|
|
133
|
+
commandName: string;
|
|
97
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Wrap already-fetched seed bytes as a `File` with a MIME-derived extension.
|
|
137
|
+
*
|
|
138
|
+
* The ONE place that naming rule lives (§Q WORLD.3). Both seed sources — the
|
|
139
|
+
* ImageRecord proxy below and {@link loadSeedImageFileFromUrl}'s presigned
|
|
140
|
+
* storyboard-frame URL — hand their blob here rather than each re-deriving the
|
|
141
|
+
* extension, so a PNG board frame cannot arrive at Reactor calling itself
|
|
142
|
+
* `.jpg` on one path and `.png` on the other.
|
|
143
|
+
*/
|
|
144
|
+
export declare function blobToSeedFile(blob: Blob, filenameStem?: string): File;
|
|
98
145
|
/**
|
|
99
146
|
* Fetch a seed image by id and wrap it as a `File` ready to hand to
|
|
100
147
|
* `reactor.uploadFile`. Useful on its own for the pending-queue path —
|
|
@@ -105,17 +152,37 @@ export declare function loadSeedImageFile(imageId: string, apiClient: ApiClient,
|
|
|
105
152
|
signal?: AbortSignal;
|
|
106
153
|
filenameStem?: string;
|
|
107
154
|
}): Promise<File>;
|
|
155
|
+
/**
|
|
156
|
+
* Fetch seed bytes from a URL WE OWN and wrap them as a `File` — the sibling of
|
|
157
|
+
* {@link loadSeedImageFile} for images that are not `ImageRecord`s.
|
|
158
|
+
*
|
|
159
|
+
* §Q `WORLD.3`. A ratified storyboard frame's rendered image is an S3 object
|
|
160
|
+
* (`shared/s3_keys.storyboard_frame_key`) surfaced as a PRESIGNED URL on the
|
|
161
|
+
* board detail read — it is not an `ImageRecord`, so
|
|
162
|
+
* `/api/reactor/seed-image?imageId=…` cannot serve it and `loadSeedImageFile`
|
|
163
|
+
* has no handle to ask for. This is the path a board-seeded world entry uses.
|
|
164
|
+
*
|
|
165
|
+
* A plain cross-origin `fetch` of that presigned URL is the SAME thing
|
|
166
|
+
* `prepareHappyOysterSeedFromUrl` already does on the live, billed HappyOyster
|
|
167
|
+
* create path — this is not a new trust assumption, it is the existing one
|
|
168
|
+
* reused for the Helios/LongLive panes.
|
|
169
|
+
*/
|
|
170
|
+
export declare function loadSeedImageFileFromUrl(url: string, options?: {
|
|
171
|
+
signal?: AbortSignal;
|
|
172
|
+
filenameStem?: string;
|
|
173
|
+
fetchImpl?: typeof fetch;
|
|
174
|
+
}): Promise<File>;
|
|
108
175
|
/**
|
|
109
176
|
* Upload an already-loaded seed file and apply it to the live Reactor
|
|
110
177
|
* session. Splits from `loadSeedImageFile` so the React hook can queue
|
|
111
178
|
* a file ahead of the `ready` transition and flush it later.
|
|
112
179
|
*/
|
|
113
|
-
export declare function sendSeedFileToReactor(file: File, reactor: SeedImageReactorBridge, options
|
|
180
|
+
export declare function sendSeedFileToReactor(file: File, reactor: SeedImageReactorBridge, options: Omit<ApplySeedImageOptions, 'signal' | 'filenameStem'>): Promise<void>;
|
|
114
181
|
/**
|
|
115
182
|
* Convenience wrapper: load + upload + set_image in one call. Throws
|
|
116
183
|
* `AbortError` if the signal aborts during the fetch. Use the split
|
|
117
184
|
* primitives (`loadSeedImageFile` + `sendSeedFileToReactor`) when the
|
|
118
185
|
* caller needs to queue pre-`ready`.
|
|
119
186
|
*/
|
|
120
|
-
export declare function loadAndApplySeedImage(imageId: string, apiClient: ApiClient, reactor: SeedImageReactorBridge, options
|
|
187
|
+
export declare function loadAndApplySeedImage(imageId: string, apiClient: ApiClient, reactor: SeedImageReactorBridge, options: ApplySeedImageOptions): Promise<void>;
|
|
121
188
|
//# sourceMappingURL=seedImageOrchestrator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seedImageOrchestrator.d.ts","sourceRoot":"","sources":["../../src/reactor/seedImageOrchestrator.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"seedImageOrchestrator.d.ts","sourceRoot":"","sources":["../../src/reactor/seedImageOrchestrator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,UAAU,EAAE,CACV,IAAI,EAAE,IAAI,GAAG,IAAI,EACjB,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KACxB,OAAO,CAAC,OAAO,CAAC,CAAC;CACvB;AAuBD,MAAM,WAAW,gBAAgB;IAC/B;;+DAE2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;uDAEmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,EACV,OAAO,GAAE,gBAAqB,GAC7B,OAAO,CAAC,IAAI,CAAC,CA4Cf;AAED;;;;GAIG;AACH,wBAAsB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAoB9D;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,cAAc,CAAC;AAEpD,MAAM,WAAW,qBAAqB;IACpC;;+DAE2D;IAC3D,UAAU,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IAC7B;;;mBAGe;IACf,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC;;;;6CAIyC;IACzC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;8BAI0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;+EAM2E;IAC3E,WAAW,EAAE,MAAM,CAAC;CACrB;AAcD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAKtE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,EACpB,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAO,GAC5D,OAAO,CAAC,IAAI,CAAC,CAKf;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,wBAAwB,CAC5C,GAAG,EAAE,MAAM,EACX,OAAO,GAAE;IACP,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GACL,OAAO,CAAC,IAAI,CAAC,CAcf;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CACzC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,sBAAsB,EAC/B,OAAO,EAAE,IAAI,CAAC,qBAAqB,EAAE,QAAQ,GAAG,cAAc,CAAC,GAC9D,OAAO,CAAC,IAAI,CAAC,CA0Df;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,sBAAsB,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,IAAI,CAAC,CAcf"}
|