@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,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* §Q `MOMENT.7` — THE CUT, AS A PLAN THE SURFACE CAN EXECUTE.
|
|
3
|
+
*
|
|
4
|
+
* The DM names a MOMENT (`[SCENE:enter_world mode=cut duration=20
|
|
5
|
+
* transition=cut]`, taught by §Q MOMENT.12); `parseMomentDirectiveParams`
|
|
6
|
+
* validates it; this module turns the validated params into the two facts a
|
|
7
|
+
* cut executor needs and nothing else:
|
|
8
|
+
*
|
|
9
|
+
* - **how long it plays** before it holds on its last frame, and
|
|
10
|
+
* - **which vendor transition** carries the change.
|
|
11
|
+
*
|
|
12
|
+
* WHY A SEPARATE CONSTANT FOR THE LENGTH (design R6, ratified): reusing
|
|
13
|
+
* `DM_WORLD_AUTO_STOP_MS_DEFAULT` would make one number mean both "how long a
|
|
14
|
+
* walkable excursion may run" and "how long a cutscene plays" — two semantics
|
|
15
|
+
* on one slot is the drift shape this repo treats as a bug.
|
|
16
|
+
*
|
|
17
|
+
* ⛔ **THE TRANSITION IS THE VENDOR'S OWN, NOT A COMMAND SEQUENCE WE INVENT.**
|
|
18
|
+
* Helios `set_image` takes `{ transition: 'cut' | 'blend' }` (see
|
|
19
|
+
* `seedImageOrchestrator.ApplySeedImageOptions`) — a hard change vs a smoothed
|
|
20
|
+
* one — and `swap_seed` already hardcodes `'blend'` for exactly this reason.
|
|
21
|
+
* So the directive's `transition=` is not a new mechanism: it is that literal,
|
|
22
|
+
* chosen by the DM instead of frozen in the dispatcher.
|
|
23
|
+
*
|
|
24
|
+
* ⛔ **AND IT IS OMITTED ON A SESSION'S FIRST SEED, ON MEASURED EVIDENCE.**
|
|
25
|
+
* `sceneEntry.ts` records it verbatim: *"empirically including `'cut'` here
|
|
26
|
+
* correlated with the image never taking effect in the React app even though
|
|
27
|
+
* the spike (no transition) reliably loads the seed"*. A cold `enter_world
|
|
28
|
+
* mode=cut` IS a first seed, so sending the param there would trade a working
|
|
29
|
+
* seed for a word. The cut quality of a cold entry is that it is a fresh
|
|
30
|
+
* build; the param only governs a MID-SESSION re-seed.
|
|
31
|
+
*
|
|
32
|
+
* Framework-agnostic (client-core): the plan is pure data, the executor that
|
|
33
|
+
* consumes it lives beside the pane, and `../Web-App` pins this package.
|
|
34
|
+
*/
|
|
35
|
+
import type { MomentDirectiveParams, MomentTransition } from '../adapters/momentDirective';
|
|
36
|
+
/**
|
|
37
|
+
* How long a cut plays before the executor pauses it (design §5.3, owner
|
|
38
|
+
* recommendation). Its own constant per design R6 — never shared with the
|
|
39
|
+
* walkable excursion cap.
|
|
40
|
+
*/
|
|
41
|
+
export declare const HELIOS_CUT_DEFAULT_MS = 20000;
|
|
42
|
+
/**
|
|
43
|
+
* The longest bound a directive may ask for.
|
|
44
|
+
*
|
|
45
|
+
* ⛔ NOT a taste limit — a TIMER limit. `setTimeout` takes a signed 32-bit
|
|
46
|
+
* delay: anything past ~24.8 days is clamped and **fires immediately**, so a
|
|
47
|
+
* `duration=999999999` would not be a very long cut, it would be an instant
|
|
48
|
+
* pause. Ten minutes is far past any directed cut (the vendor bills session
|
|
49
|
+
* lifetime, and the design's own recommendation is 20 s), and honoring a
|
|
50
|
+
* larger ask AT the cap is the honest failure: the cut is shorter than asked,
|
|
51
|
+
* never shorter than a frame.
|
|
52
|
+
*/
|
|
53
|
+
export declare const HELIOS_CUT_MAX_MS: number;
|
|
54
|
+
/**
|
|
55
|
+
* What the surface is doing with a bounded cut, published as a DOM fact
|
|
56
|
+
* (`data-world-cut-phase`) so a harness grades the executor on what it did
|
|
57
|
+
* rather than on whether a component rendered.
|
|
58
|
+
*/
|
|
59
|
+
export declare const MOMENT_CUT_PHASES: Readonly<{
|
|
60
|
+
/** The cut is running and its bound is armed. */
|
|
61
|
+
readonly PLAYING: "playing";
|
|
62
|
+
/** The bound elapsed → `pause` sent; the last frame holds while the DM
|
|
63
|
+
* narrates over it. NOT an exit: the world stays warm and re-enterable. */
|
|
64
|
+
readonly BOUNDED: "bounded";
|
|
65
|
+
}>;
|
|
66
|
+
export type MomentCutPhase = (typeof MOMENT_CUT_PHASES)[keyof typeof MOMENT_CUT_PHASES];
|
|
67
|
+
/** The two facts an executor needs to run one cut. */
|
|
68
|
+
export interface MomentCutPlan {
|
|
69
|
+
/** How long the cut plays before it is paused on its last frame. */
|
|
70
|
+
durationMs: number;
|
|
71
|
+
/**
|
|
72
|
+
* The vendor `set_image` transition this change rides, or `undefined` when
|
|
73
|
+
* none may be sent (a session's FIRST seed — see the module note; sending
|
|
74
|
+
* one there breaks the seed).
|
|
75
|
+
*/
|
|
76
|
+
transition?: MomentTransition;
|
|
77
|
+
}
|
|
78
|
+
/** The world directives that can carry a cut (the two `MOMENT.4` seam kinds). */
|
|
79
|
+
export type MomentCutDirectiveKind = 'enter_world' | 'steer_world';
|
|
80
|
+
/**
|
|
81
|
+
* Resolve one directive's moment params into a cut plan, or `null` when this
|
|
82
|
+
* directive is not a cut for this surface to execute.
|
|
83
|
+
*
|
|
84
|
+
* `null` — deliberately, and these are the only two reasons:
|
|
85
|
+
* - the model painting this pane is not a CUT model under the policy
|
|
86
|
+
* (`interactionModeForWorldModel`). The mapping is read from
|
|
87
|
+
* `momentPolicy`, never restated here, so the owner's HappyOyster=walk /
|
|
88
|
+
* Helios=every-cut rulings keep exactly one home;
|
|
89
|
+
* - the DM explicitly asked for `mode=walk`. A cut executor must not bound a
|
|
90
|
+
* moment the DM asked to be driven — an unbounded walk on the wrong model
|
|
91
|
+
* is a routing problem, and silently capping it at 20 s would hide it.
|
|
92
|
+
*
|
|
93
|
+
* An ABSENT `mode` is a cut on a cut model: that is today's directive, and
|
|
94
|
+
* every Helios moment is a cut by the ruling.
|
|
95
|
+
*/
|
|
96
|
+
export declare function resolveMomentCutPlan(input: {
|
|
97
|
+
kind: MomentCutDirectiveKind;
|
|
98
|
+
params: MomentDirectiveParams;
|
|
99
|
+
/** The model currently painting the pane. */
|
|
100
|
+
modelId: string;
|
|
101
|
+
/** Whether this would be the FIRST seed of the live session. */
|
|
102
|
+
isFirstSeed: boolean;
|
|
103
|
+
}): MomentCutPlan | null;
|
|
104
|
+
/**
|
|
105
|
+
* The four timestamps a cut passes through, in the order the pane observes
|
|
106
|
+
* them. Every field optional: a cut that has not reached a mark has not
|
|
107
|
+
* recorded one, and `null` is not zero.
|
|
108
|
+
*/
|
|
109
|
+
export interface MomentCutMarks {
|
|
110
|
+
/** The cold build started (the seed prepare kicked off). */
|
|
111
|
+
buildStartedAt?: number | null;
|
|
112
|
+
/** The first generated frame reached the player (the stream revealed). */
|
|
113
|
+
firstFrameAt?: number | null;
|
|
114
|
+
/** A mid-session re-seed was sent (`set_image` with the transition). */
|
|
115
|
+
seedSwapAt?: number | null;
|
|
116
|
+
/** The first frame AFTER that re-seed — the scene visibly changed. */
|
|
117
|
+
sceneChangedAt?: number | null;
|
|
118
|
+
/**
|
|
119
|
+
* §Q `MOMENT.17` — the bound elapsed and the executor sent `pause`.
|
|
120
|
+
*
|
|
121
|
+
* Recorded so the cut's PLAYED length is a measurement rather than an
|
|
122
|
+
* assumption: how long the world was actually delivering frames when the
|
|
123
|
+
* cut ended.
|
|
124
|
+
*/
|
|
125
|
+
boundReachedAt?: number | null;
|
|
126
|
+
/**
|
|
127
|
+
* §Q `MOMENT.17` — the instant THIS cut's countdown armed (integrated wave
|
|
128
|
+
* codex, findings 5+6). A directive can arrive after the scene already
|
|
129
|
+
* revealed, and a hide restarts the countdown without a re-build — so the
|
|
130
|
+
* play window opens when the countdown arms, not at the build's first
|
|
131
|
+
* frame. Absent (older callers) ⇒ the measurer falls back to
|
|
132
|
+
* `firstFrameAt`, the pre-fix semantics.
|
|
133
|
+
*/
|
|
134
|
+
boundArmedAt?: number | null;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* §Q MOMENT.7 — THE TWO LATENCIES NOBODY HAD MEASURED.
|
|
138
|
+
*
|
|
139
|
+
* The row exists partly because the "~40 s cold build" everyone quotes is in
|
|
140
|
+
* NO file in this repo (design §5.7 / V17). These are the two numbers a cut
|
|
141
|
+
* is priced on, so the executor records them from real marks and the check
|
|
142
|
+
* reports them, rather than a constant being asserted from memory.
|
|
143
|
+
*
|
|
144
|
+
* `null` for a latency whose marks are incomplete, non-finite, or out of
|
|
145
|
+
* order — a negative duration is a broken clock, not a fast build, and
|
|
146
|
+
* reporting it as a measurement would be worse than reporting nothing.
|
|
147
|
+
*/
|
|
148
|
+
export declare function measureMomentCutLatencies(marks: MomentCutMarks): {
|
|
149
|
+
buildToFirstFrameMs: number | null;
|
|
150
|
+
seedSwapToSceneChangeMs: number | null;
|
|
151
|
+
playedBeforeBoundMs: number | null;
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=momentCut.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"momentCut.d.ts","sourceRoot":"","sources":["../../src/reactor/momentCut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAGH,OAAO,KAAK,EACV,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AAErC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,QAAS,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,QAAc,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;IAC5B,iDAAiD;;IAEjD;gFAC4E;;EAEnE,CAAC;AAEZ,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D,sDAAsD;AACtD,MAAM,WAAW,aAAa;IAC5B,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,iFAAiF;AACjF,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,aAAa,CAAC;AAcnE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,IAAI,EAAE,sBAAsB,CAAC;IAC7B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,WAAW,EAAE,OAAO,CAAC;CACtB,GAAG,aAAa,GAAG,IAAI,CAWvB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,cAAc,GAAG;IAChE,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC,CAmBA"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* §Q `MOMENT.7` — THE CUT, AS A PLAN THE SURFACE CAN EXECUTE.
|
|
3
|
+
*
|
|
4
|
+
* The DM names a MOMENT (`[SCENE:enter_world mode=cut duration=20
|
|
5
|
+
* transition=cut]`, taught by §Q MOMENT.12); `parseMomentDirectiveParams`
|
|
6
|
+
* validates it; this module turns the validated params into the two facts a
|
|
7
|
+
* cut executor needs and nothing else:
|
|
8
|
+
*
|
|
9
|
+
* - **how long it plays** before it holds on its last frame, and
|
|
10
|
+
* - **which vendor transition** carries the change.
|
|
11
|
+
*
|
|
12
|
+
* WHY A SEPARATE CONSTANT FOR THE LENGTH (design R6, ratified): reusing
|
|
13
|
+
* `DM_WORLD_AUTO_STOP_MS_DEFAULT` would make one number mean both "how long a
|
|
14
|
+
* walkable excursion may run" and "how long a cutscene plays" — two semantics
|
|
15
|
+
* on one slot is the drift shape this repo treats as a bug.
|
|
16
|
+
*
|
|
17
|
+
* ⛔ **THE TRANSITION IS THE VENDOR'S OWN, NOT A COMMAND SEQUENCE WE INVENT.**
|
|
18
|
+
* Helios `set_image` takes `{ transition: 'cut' | 'blend' }` (see
|
|
19
|
+
* `seedImageOrchestrator.ApplySeedImageOptions`) — a hard change vs a smoothed
|
|
20
|
+
* one — and `swap_seed` already hardcodes `'blend'` for exactly this reason.
|
|
21
|
+
* So the directive's `transition=` is not a new mechanism: it is that literal,
|
|
22
|
+
* chosen by the DM instead of frozen in the dispatcher.
|
|
23
|
+
*
|
|
24
|
+
* ⛔ **AND IT IS OMITTED ON A SESSION'S FIRST SEED, ON MEASURED EVIDENCE.**
|
|
25
|
+
* `sceneEntry.ts` records it verbatim: *"empirically including `'cut'` here
|
|
26
|
+
* correlated with the image never taking effect in the React app even though
|
|
27
|
+
* the spike (no transition) reliably loads the seed"*. A cold `enter_world
|
|
28
|
+
* mode=cut` IS a first seed, so sending the param there would trade a working
|
|
29
|
+
* seed for a word. The cut quality of a cold entry is that it is a fresh
|
|
30
|
+
* build; the param only governs a MID-SESSION re-seed.
|
|
31
|
+
*
|
|
32
|
+
* Framework-agnostic (client-core): the plan is pure data, the executor that
|
|
33
|
+
* consumes it lives beside the pane, and `../Web-App` pins this package.
|
|
34
|
+
*/
|
|
35
|
+
import { interactionModeForWorldModel } from '../adapters/momentPolicy.js';
|
|
36
|
+
/**
|
|
37
|
+
* How long a cut plays before the executor pauses it (design §5.3, owner
|
|
38
|
+
* recommendation). Its own constant per design R6 — never shared with the
|
|
39
|
+
* walkable excursion cap.
|
|
40
|
+
*/
|
|
41
|
+
export const HELIOS_CUT_DEFAULT_MS = 20_000;
|
|
42
|
+
/**
|
|
43
|
+
* The longest bound a directive may ask for.
|
|
44
|
+
*
|
|
45
|
+
* ⛔ NOT a taste limit — a TIMER limit. `setTimeout` takes a signed 32-bit
|
|
46
|
+
* delay: anything past ~24.8 days is clamped and **fires immediately**, so a
|
|
47
|
+
* `duration=999999999` would not be a very long cut, it would be an instant
|
|
48
|
+
* pause. Ten minutes is far past any directed cut (the vendor bills session
|
|
49
|
+
* lifetime, and the design's own recommendation is 20 s), and honoring a
|
|
50
|
+
* larger ask AT the cap is the honest failure: the cut is shorter than asked,
|
|
51
|
+
* never shorter than a frame.
|
|
52
|
+
*/
|
|
53
|
+
export const HELIOS_CUT_MAX_MS = 10 * 60_000;
|
|
54
|
+
/**
|
|
55
|
+
* What the surface is doing with a bounded cut, published as a DOM fact
|
|
56
|
+
* (`data-world-cut-phase`) so a harness grades the executor on what it did
|
|
57
|
+
* rather than on whether a component rendered.
|
|
58
|
+
*/
|
|
59
|
+
export const MOMENT_CUT_PHASES = Object.freeze({
|
|
60
|
+
/** The cut is running and its bound is armed. */
|
|
61
|
+
PLAYING: 'playing',
|
|
62
|
+
/** The bound elapsed → `pause` sent; the last frame holds while the DM
|
|
63
|
+
* narrates over it. NOT an exit: the world stays warm and re-enterable. */
|
|
64
|
+
BOUNDED: 'bounded',
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* The transition a directive defaults to when the DM names none (design §5.4):
|
|
68
|
+
* entering a world is a scene change (a cut); re-aiming the world you are
|
|
69
|
+
* standing in is the same place changing around you (a blend).
|
|
70
|
+
*/
|
|
71
|
+
const DEFAULT_TRANSITION_BY_KIND = {
|
|
72
|
+
enter_world: 'cut',
|
|
73
|
+
steer_world: 'blend',
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Resolve one directive's moment params into a cut plan, or `null` when this
|
|
77
|
+
* directive is not a cut for this surface to execute.
|
|
78
|
+
*
|
|
79
|
+
* `null` — deliberately, and these are the only two reasons:
|
|
80
|
+
* - the model painting this pane is not a CUT model under the policy
|
|
81
|
+
* (`interactionModeForWorldModel`). The mapping is read from
|
|
82
|
+
* `momentPolicy`, never restated here, so the owner's HappyOyster=walk /
|
|
83
|
+
* Helios=every-cut rulings keep exactly one home;
|
|
84
|
+
* - the DM explicitly asked for `mode=walk`. A cut executor must not bound a
|
|
85
|
+
* moment the DM asked to be driven — an unbounded walk on the wrong model
|
|
86
|
+
* is a routing problem, and silently capping it at 20 s would hide it.
|
|
87
|
+
*
|
|
88
|
+
* An ABSENT `mode` is a cut on a cut model: that is today's directive, and
|
|
89
|
+
* every Helios moment is a cut by the ruling.
|
|
90
|
+
*/
|
|
91
|
+
export function resolveMomentCutPlan(input) {
|
|
92
|
+
const { kind, params, modelId, isFirstSeed } = input;
|
|
93
|
+
if (interactionModeForWorldModel(modelId) !== 'cut')
|
|
94
|
+
return null;
|
|
95
|
+
if (params.mode === 'walk')
|
|
96
|
+
return null;
|
|
97
|
+
const durationMs = params.durationSeconds !== undefined
|
|
98
|
+
? Math.min(params.durationSeconds * 1000, HELIOS_CUT_MAX_MS)
|
|
99
|
+
: HELIOS_CUT_DEFAULT_MS;
|
|
100
|
+
const transition = params.transition ?? DEFAULT_TRANSITION_BY_KIND[kind];
|
|
101
|
+
return isFirstSeed ? { durationMs } : { durationMs, transition };
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* §Q MOMENT.7 — THE TWO LATENCIES NOBODY HAD MEASURED.
|
|
105
|
+
*
|
|
106
|
+
* The row exists partly because the "~40 s cold build" everyone quotes is in
|
|
107
|
+
* NO file in this repo (design §5.7 / V17). These are the two numbers a cut
|
|
108
|
+
* is priced on, so the executor records them from real marks and the check
|
|
109
|
+
* reports them, rather than a constant being asserted from memory.
|
|
110
|
+
*
|
|
111
|
+
* `null` for a latency whose marks are incomplete, non-finite, or out of
|
|
112
|
+
* order — a negative duration is a broken clock, not a fast build, and
|
|
113
|
+
* reporting it as a measurement would be worse than reporting nothing.
|
|
114
|
+
*/
|
|
115
|
+
export function measureMomentCutLatencies(marks) {
|
|
116
|
+
return {
|
|
117
|
+
buildToFirstFrameMs: elapsed(marks.buildStartedAt, marks.firstFrameAt),
|
|
118
|
+
seedSwapToSceneChangeMs: elapsed(marks.seedSwapAt, marks.sceneChangedAt),
|
|
119
|
+
// §Q MOMENT.17 — how long the world was DELIVERING FRAMES when the bound
|
|
120
|
+
// elapsed. `null` until a bound is reached, and `null` (never 0) when the
|
|
121
|
+
// cut reached its bound having never revealed a frame: that is the defect,
|
|
122
|
+
// and reporting it as a zero-length play would launder it into a number.
|
|
123
|
+
//
|
|
124
|
+
// Measured from `boundArmedAt` when the caller records one (integrated
|
|
125
|
+
// wave codex, findings 5+6): the play window is THIS countdown's, so a
|
|
126
|
+
// directive that arrived after the reveal — or a re-arm after a hide —
|
|
127
|
+
// must not bill pre-cut or hidden time to the cut. `firstFrameAt` stays
|
|
128
|
+
// the REVEAL guard: no frame ever revealed ⇒ null, whatever armed.
|
|
129
|
+
playedBeforeBoundMs: marks.firstFrameAt == null
|
|
130
|
+
? null
|
|
131
|
+
: elapsed(marks.boundArmedAt ?? marks.firstFrameAt, marks.boundReachedAt),
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function elapsed(from, to) {
|
|
135
|
+
if (typeof from !== 'number' || typeof to !== 'number')
|
|
136
|
+
return null;
|
|
137
|
+
if (!Number.isFinite(from) || !Number.isFinite(to))
|
|
138
|
+
return null;
|
|
139
|
+
const ms = to - from;
|
|
140
|
+
return ms >= 0 ? ms : null;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=momentCut.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"momentCut.js","sourceRoot":"","sources":["../../src/reactor/momentCut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAMxE;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,GAAG,MAAM,CAAC;AAE7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7C,iDAAiD;IACjD,OAAO,EAAE,SAAS;IAClB;gFAC4E;IAC5E,OAAO,EAAE,SAAS;CACV,CAAC,CAAC;AAoBZ;;;;GAIG;AACH,MAAM,0BAA0B,GAE5B;IACF,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,OAAO;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAOpC;IACC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IACrD,IAAI,4BAA4B,CAAC,OAAO,CAAC,KAAK,KAAK;QAAE,OAAO,IAAI,CAAC;IACjE,IAAI,MAAM,CAAC,IAAI,KAAK,MAAM;QAAE,OAAO,IAAI,CAAC;IAExC,MAAM,UAAU,GACd,MAAM,CAAC,eAAe,KAAK,SAAS;QAClC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,eAAe,GAAG,IAAI,EAAE,iBAAiB,CAAC;QAC5D,CAAC,CAAC,qBAAqB,CAAC;IAC5B,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACzE,OAAO,WAAW,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AACnE,CAAC;AAmCD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAqB;IAK7D,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,YAAY,CAAC;QACtE,uBAAuB,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;QACxE,yEAAyE;QACzE,0EAA0E;QAC1E,2EAA2E;QAC3E,yEAAyE;QACzE,EAAE;QACF,uEAAuE;QACvE,uEAAuE;QACvE,uEAAuE;QACvE,wEAAwE;QACxE,mEAAmE;QACnE,mBAAmB,EACjB,KAAK,CAAC,YAAY,IAAI,IAAI;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,IAAI,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC;KAC9E,CAAC;AACJ,CAAC;AAED,SAAS,OAAO,CACd,IAA+B,EAC/B,EAA6B;IAE7B,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,OAAO,EAAE,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACpE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;QAAE,OAAO,IAAI,CAAC;IAChE,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7B,CAAC"}
|
|
@@ -18,10 +18,12 @@
|
|
|
18
18
|
* 2. Add the addon-text builder.
|
|
19
19
|
* 3. Add one entry here so the persona UI picks it up automatically.
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* SET.8 (settings spec §3): tenant-scoped STUDIO-DEFINED add-ons now live in
|
|
22
|
+
* a DynamoDB registry behind `ApiClient.listPromptAddons()`; merge them with
|
|
23
|
+
* this code-defined set via {@link mergePromptAddons} below — UIs should
|
|
24
|
+
* consume the merged view, never a second copy of either list.
|
|
24
25
|
*/
|
|
26
|
+
import type { StudioAddon } from '../api';
|
|
25
27
|
export interface PromptAddonDescriptor {
|
|
26
28
|
/** Stable ID matching `prompt_addon_ids` in `PersonaConfig`. */
|
|
27
29
|
id: string;
|
|
@@ -29,9 +31,43 @@ export interface PromptAddonDescriptor {
|
|
|
29
31
|
label: string;
|
|
30
32
|
/** One-sentence description for helper text under the option. */
|
|
31
33
|
description: string;
|
|
34
|
+
/** Lazily resolve the addon's BODY text for read-only display (SET.8
|
|
35
|
+
* add-ons registry UI). Delegates to the addon's own canonical module —
|
|
36
|
+
* the body is never copied here. Optional: code-defined addons whose text
|
|
37
|
+
* is applied elsewhere may omit it. */
|
|
38
|
+
getText?: () => string;
|
|
32
39
|
}
|
|
33
40
|
export declare const KNOWN_PROMPT_ADDONS: readonly PromptAddonDescriptor[];
|
|
34
41
|
/** Look up a descriptor by ID. Returns `undefined` for unknown IDs —
|
|
35
42
|
* callers can fall back to rendering the raw ID string. */
|
|
36
43
|
export declare function getPromptAddonDescriptor(id: string): PromptAddonDescriptor | undefined;
|
|
44
|
+
/** One entry of the merged code+studio add-on registry. */
|
|
45
|
+
export interface MergedPromptAddon {
|
|
46
|
+
/** Stable ID — joins `PersonaConfig.prompt_addon_ids` unchanged (§3: one
|
|
47
|
+
* enable mechanism for both provenances). */
|
|
48
|
+
id: string;
|
|
49
|
+
/** Display label (`label` for code-defined, `name` for studio-defined). */
|
|
50
|
+
label: string;
|
|
51
|
+
description: string;
|
|
52
|
+
/** `code` = ships in client-core, body LOCKED in the UI; `studio` =
|
|
53
|
+
* per-tenant editable row. */
|
|
54
|
+
source: 'code' | 'studio';
|
|
55
|
+
/** The addon body when known (studio rows always carry it; code-defined
|
|
56
|
+
* entries only when their descriptor exposes `getText`). */
|
|
57
|
+
content?: string;
|
|
58
|
+
/** Studio rows only: pre-populate `prompt_addon_ids` for NEW personas. */
|
|
59
|
+
enabledByDefault?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Merge the code-defined descriptor set with a tenant's studio-defined rows
|
|
63
|
+
* into one registry view (code-defined first, registry order; then studio
|
|
64
|
+
* rows in list order). On an id collision the CODE-defined entry wins and
|
|
65
|
+
* the studio row is dropped — code-defined bodies are single-sourced in
|
|
66
|
+
* their own modules and must never be shadowed by a stored copy.
|
|
67
|
+
*/
|
|
68
|
+
export declare function mergePromptAddons(studioAddons: readonly StudioAddon[]): MergedPromptAddon[];
|
|
69
|
+
/** Merged-registry id→entry lookup (`getPromptAddonDescriptor`'s §3
|
|
70
|
+
* successor — consults BOTH provenances). Returns `undefined` for unknown
|
|
71
|
+
* ids; callers can fall back to rendering the raw id string. */
|
|
72
|
+
export declare function getMergedPromptAddon(id: string, studioAddons: readonly StudioAddon[]): MergedPromptAddon | undefined;
|
|
37
73
|
//# sourceMappingURL=promptAddonRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptAddonRegistry.d.ts","sourceRoot":"","sources":["../../src/reactor/promptAddonRegistry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"promptAddonRegistry.d.ts","sourceRoot":"","sources":["../../src/reactor/promptAddonRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,MAAM,WAAW,qBAAqB;IACpC,gEAAgE;IAChE,EAAE,EAAE,MAAM,CAAC;IACX,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;IACpB;;;2CAGuC;IACvC,OAAO,CAAC,EAAE,MAAM,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,EAAE,SAAS,qBAAqB,EAQ/D,CAAC;AAEF;4DAC4D;AAC5D,wBAAgB,wBAAwB,CACtC,EAAE,EAAE,MAAM,GACT,qBAAqB,GAAG,SAAS,CAEnC;AAWD,2DAA2D;AAC3D,MAAM,WAAW,iBAAiB;IAChC;iDAC6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB;kCAC8B;IAC9B,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B;gEAC4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,SAAS,WAAW,EAAE,GACnC,iBAAiB,EAAE,CAqBrB;AAED;;gEAEgE;AAChE,wBAAgB,oBAAoB,CAClC,EAAE,EAAE,MAAM,EACV,YAAY,EAAE,SAAS,WAAW,EAAE,GACnC,iBAAiB,GAAG,SAAS,CAE/B"}
|
|
@@ -18,16 +18,19 @@
|
|
|
18
18
|
* 2. Add the addon-text builder.
|
|
19
19
|
* 3. Add one entry here so the persona UI picks it up automatically.
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* SET.8 (settings spec §3): tenant-scoped STUDIO-DEFINED add-ons now live in
|
|
22
|
+
* a DynamoDB registry behind `ApiClient.listPromptAddons()`; merge them with
|
|
23
|
+
* this code-defined set via {@link mergePromptAddons} below — UIs should
|
|
24
|
+
* consume the merged view, never a second copy of either list.
|
|
24
25
|
*/
|
|
25
26
|
import { HELIOS_WORLD_STEERING_ADDON_ID } from './toolPromptAddonId.js';
|
|
27
|
+
import { getHeliosSteeringAddonText } from './toolPromptAddon.js';
|
|
26
28
|
export const KNOWN_PROMPT_ADDONS = [
|
|
27
29
|
{
|
|
28
30
|
id: HELIOS_WORLD_STEERING_ADDON_ID,
|
|
29
|
-
label: '
|
|
30
|
-
description: 'Lets this persona drive
|
|
31
|
+
label: 'Scene control',
|
|
32
|
+
description: 'Lets this persona drive the viewer’s experience surface with scene-control tags ([SCENE:enter_world], [SCENE:seek_video], [SCENE:exit_world]) — transport into the world model, seek the video, or return to it. Auto-enabled when the persona is bound to a source video or character image.',
|
|
33
|
+
getText: getHeliosSteeringAddonText,
|
|
31
34
|
},
|
|
32
35
|
];
|
|
33
36
|
/** Look up a descriptor by ID. Returns `undefined` for unknown IDs —
|
|
@@ -35,4 +38,40 @@ export const KNOWN_PROMPT_ADDONS = [
|
|
|
35
38
|
export function getPromptAddonDescriptor(id) {
|
|
36
39
|
return KNOWN_PROMPT_ADDONS.find(a => a.id === id);
|
|
37
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Merge the code-defined descriptor set with a tenant's studio-defined rows
|
|
43
|
+
* into one registry view (code-defined first, registry order; then studio
|
|
44
|
+
* rows in list order). On an id collision the CODE-defined entry wins and
|
|
45
|
+
* the studio row is dropped — code-defined bodies are single-sourced in
|
|
46
|
+
* their own modules and must never be shadowed by a stored copy.
|
|
47
|
+
*/
|
|
48
|
+
export function mergePromptAddons(studioAddons) {
|
|
49
|
+
const merged = KNOWN_PROMPT_ADDONS.map(a => ({
|
|
50
|
+
id: a.id,
|
|
51
|
+
label: a.label,
|
|
52
|
+
description: a.description,
|
|
53
|
+
source: 'code',
|
|
54
|
+
content: a.getText?.(),
|
|
55
|
+
}));
|
|
56
|
+
const codeIds = new Set(merged.map(a => a.id));
|
|
57
|
+
for (const row of studioAddons) {
|
|
58
|
+
if (codeIds.has(row.addon_id))
|
|
59
|
+
continue;
|
|
60
|
+
merged.push({
|
|
61
|
+
id: row.addon_id,
|
|
62
|
+
label: row.name,
|
|
63
|
+
description: row.description,
|
|
64
|
+
source: 'studio',
|
|
65
|
+
content: row.content,
|
|
66
|
+
enabledByDefault: row.enabled_by_default,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
return merged;
|
|
70
|
+
}
|
|
71
|
+
/** Merged-registry id→entry lookup (`getPromptAddonDescriptor`'s §3
|
|
72
|
+
* successor — consults BOTH provenances). Returns `undefined` for unknown
|
|
73
|
+
* ids; callers can fall back to rendering the raw id string. */
|
|
74
|
+
export function getMergedPromptAddon(id, studioAddons) {
|
|
75
|
+
return mergePromptAddons(studioAddons).find(a => a.id === id);
|
|
76
|
+
}
|
|
38
77
|
//# sourceMappingURL=promptAddonRegistry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptAddonRegistry.js","sourceRoot":"","sources":["../../src/reactor/promptAddonRegistry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"promptAddonRegistry.js","sourceRoot":"","sources":["../../src/reactor/promptAddonRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAgB/D,MAAM,CAAC,MAAM,mBAAmB,GAAqC;IACnE;QACE,EAAE,EAAE,8BAA8B;QAClC,KAAK,EAAE,eAAe;QACtB,WAAW,EACT,+RAA+R;QACjS,OAAO,EAAE,0BAA0B;KACpC;CACF,CAAC;AAEF;4DAC4D;AAC5D,MAAM,UAAU,wBAAwB,CACtC,EAAU;IAEV,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACpD,CAAC;AA6BD;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAC/B,YAAoC;IAEpC,MAAM,MAAM,GAAwB,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAChE,EAAE,EAAE,CAAC,CAAC,EAAE;QACR,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,WAAW,EAAE,CAAC,CAAC,WAAW;QAC1B,MAAM,EAAE,MAAe;QACvB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE;KACvB,CAAC,CAAC,CAAC;IACJ,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/C,KAAK,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;QAC/B,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC;YAAE,SAAS;QACxC,MAAM,CAAC,IAAI,CAAC;YACV,EAAE,EAAE,GAAG,CAAC,QAAQ;YAChB,KAAK,EAAE,GAAG,CAAC,IAAI;YACf,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,gBAAgB,EAAE,GAAG,CAAC,kBAAkB;SACzC,CAAC,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;gEAEgE;AAChE,MAAM,UAAU,oBAAoB,CAClC,EAAU,EACV,YAAoC;IAEpC,OAAO,iBAAiB,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser-side prompt-template PREVIEW rendering (SET.14, settings spec
|
|
3
|
+
* `2026-07-13-creator-studio-settings.md` §4 — the live-preview half of
|
|
4
|
+
* ledger deliverable #7).
|
|
5
|
+
*
|
|
6
|
+
* This module MIRRORS the server's assembly semantics
|
|
7
|
+
* (`shared/prompt_assembly.py`) so the settings g-prompts group can show a
|
|
8
|
+
* creator exactly what a generated persona's `custom_system_prompt` will look
|
|
9
|
+
* like WITHOUT a round-trip. It is a preview mirror only — the server stays
|
|
10
|
+
* the authority; keep the two in lock-step when either changes:
|
|
11
|
+
*
|
|
12
|
+
* - Placeholder vocabulary: {@link ASSEMBLY_TEMPLATE_PLACEHOLDERS} mirrors
|
|
13
|
+
* the Python frozenset. A template using any OTHER placeholder (or a
|
|
14
|
+
* malformed/unbalanced brace, or a nested replacement field like
|
|
15
|
+
* `{entity_name:{video_title}}`) fails the render — the pipeline then
|
|
16
|
+
* falls back to the synthesized prompt, and the preview must say so
|
|
17
|
+
* rather than showing a prompt that will never exist.
|
|
18
|
+
* - OQ-4 override semantics: `default_system_prompt_override` `false`
|
|
19
|
+
* (default) ⇒ the synthesized prompt is used AS-IS; `true` ⇒ the rendered
|
|
20
|
+
* template REPLACES it (falling back to synthesis on a render failure).
|
|
21
|
+
* - OQ-5 add-on propagation: `{prompt_addons}` inside the template renders
|
|
22
|
+
* EMPTY at assembly; the tenant's default-enabled add-on BODIES are
|
|
23
|
+
* appended as a trailing `\n\n`-joined block at prompt-BUILD time
|
|
24
|
+
* (`prompt_addons_suffix`). The preview shows that final built shape.
|
|
25
|
+
* - Length cap: a render longer than {@link MAX_CUSTOM_SYSTEM_PROMPT_LENGTH}
|
|
26
|
+
* is a render failure server-side (the stored row would fail validation),
|
|
27
|
+
* so it is one here too.
|
|
28
|
+
*/
|
|
29
|
+
/** Mirror of `shared/persona_models.MAX_CUSTOM_SYSTEM_PROMPT_LENGTH`. */
|
|
30
|
+
export declare const MAX_CUSTOM_SYSTEM_PROMPT_LENGTH = 4000;
|
|
31
|
+
/** Mirror of `shared/prompt_assembly.ASSEMBLY_TEMPLATE_PLACEHOLDERS` — the
|
|
32
|
+
* COMPLETE placeholder vocabulary of the assembly template (spec §4). */
|
|
33
|
+
export declare const ASSEMBLY_TEMPLATE_PLACEHOLDERS: ReadonlySet<string>;
|
|
34
|
+
/** The per-persona facts a template may interpolate — the TS mirror of
|
|
35
|
+
* `shared/prompt_assembly.PersonaPromptContext` (camelCase locally; this
|
|
36
|
+
* never crosses the wire). */
|
|
37
|
+
export interface PersonaPromptPreviewContext {
|
|
38
|
+
entityName: string;
|
|
39
|
+
entityType: string;
|
|
40
|
+
entityDescription: string;
|
|
41
|
+
/** Carries the videoId (the ingestion slug) — same convention as the
|
|
42
|
+
* server context. */
|
|
43
|
+
videoTitle: string;
|
|
44
|
+
}
|
|
45
|
+
/** A preview subject: the context facts plus the synthesized prompt the
|
|
46
|
+
* OQ-4 `false` path would store as-is. */
|
|
47
|
+
export interface PromptPreviewSubject {
|
|
48
|
+
/** Display name for the subject picker ("preview as …"). */
|
|
49
|
+
label: string;
|
|
50
|
+
context: PersonaPromptPreviewContext;
|
|
51
|
+
/** The persona's LLM-authored `custom_system_prompt` (or the sample's
|
|
52
|
+
* stand-in). Empty string when the persona has none. */
|
|
53
|
+
synthesizedPrompt: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The built-in sample subject used when the tenant has no persona yet
|
|
57
|
+
* (spec §4: "a real persona of the tenant, or the Han-Solo-style sample when
|
|
58
|
+
* none exists") — editing must never be blind against an empty account.
|
|
59
|
+
*/
|
|
60
|
+
export declare const SAMPLE_PREVIEW_SUBJECT: PromptPreviewSubject;
|
|
61
|
+
/** The `{field}` names used by a template, or `null` when malformed —
|
|
62
|
+
* the TS mirror of `shared/prompt_template_utils.template_field_names`. */
|
|
63
|
+
export declare function templateFieldNames(template: string): Set<string> | null;
|
|
64
|
+
/**
|
|
65
|
+
* Render a studio assembly template against per-persona facts — the mirror of
|
|
66
|
+
* `shared/prompt_assembly.render_system_prompt_template`. Returns `null` on
|
|
67
|
+
* any render failure (malformed braces, unknown placeholder, nested field,
|
|
68
|
+
* over-long result); the caller previews the fallback-to-synthesis path.
|
|
69
|
+
* `{prompt_addons}` renders EMPTY per OQ-5.
|
|
70
|
+
*/
|
|
71
|
+
export declare function renderSystemPromptTemplate(template: string, context: PersonaPromptPreviewContext): string | null;
|
|
72
|
+
/** The result of a full preview build. */
|
|
73
|
+
export interface PromptPreview {
|
|
74
|
+
/** The final prompt as it will exist at chat prompt-BUILD time (assembly
|
|
75
|
+
* result + the trailing default-add-on block). */
|
|
76
|
+
prompt: string;
|
|
77
|
+
/** True when the OQ-4 `true` path used the rendered template. */
|
|
78
|
+
usedTemplate: boolean;
|
|
79
|
+
/** True when override was requested but the template failed to render
|
|
80
|
+
* (the pipeline falls back to the synthesized prompt — surface a warning). */
|
|
81
|
+
renderFailed: boolean;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Build the full preview — the mirror of
|
|
85
|
+
* `shared/prompt_assembly.assemble_generated_persona_prompt` (OQ-4) plus the
|
|
86
|
+
* prompt-BUILD-time `prompt_addons_suffix` block (OQ-5).
|
|
87
|
+
*
|
|
88
|
+
* `defaultAddonBodies` = the bodies of the tenant's `enabled_by_default`
|
|
89
|
+
* studio add-ons, registry order (the caller filters its merged registry).
|
|
90
|
+
*/
|
|
91
|
+
export declare function buildPromptPreview({ template, override, subject, defaultAddonBodies, }: {
|
|
92
|
+
template: string;
|
|
93
|
+
override: boolean;
|
|
94
|
+
subject: PromptPreviewSubject;
|
|
95
|
+
defaultAddonBodies: readonly string[];
|
|
96
|
+
}): PromptPreview;
|
|
97
|
+
//# sourceMappingURL=promptTemplatePreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptTemplatePreview.d.ts","sourceRoot":"","sources":["../../src/reactor/promptTemplatePreview.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,yEAAyE;AACzE,eAAO,MAAM,+BAA+B,OAAO,CAAC;AAEpD;yEACyE;AACzE,eAAO,MAAM,8BAA8B,EAAE,WAAW,CAAC,MAAM,CAM7D,CAAC;AAEH;;8BAE8B;AAC9B,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B;yBACqB;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;0CAC0C;AAC1C,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,2BAA2B,CAAC;IACrC;4DACwD;IACxD,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,oBAepC,CAAC;AA8DF;2EAC2E;AAC3E,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAMvE;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,2BAA2B,GACnC,MAAM,GAAG,IAAI,CAqBf;AAED,0CAA0C;AAC1C,MAAM,WAAW,aAAa;IAC5B;sDACkD;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,YAAY,EAAE,OAAO,CAAC;IACtB;kFAC8E;IAC9E,YAAY,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,kBAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC,GAAG,aAAa,CAmBhB"}
|