@nocha/cli 4.6.1 → 4.34.1
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/CHANGELOG.md +45 -94
- package/README.md +6 -1
- package/dist/NOCHA.schema.json +4044 -371
- package/dist/THIRD_PARTY_NOTICES.txt +2 -30
- package/dist/build-info.json +4 -4
- package/dist/dev-offline-compiler.js +9912 -23597
- package/dist/dev-offline-runner.js +3010 -1068
- package/dist/development-live-host.js +20944 -608
- package/dist/nocha.js +51625 -59571
- package/dist/reference-integrity.json +590 -709
- package/dist/references/README.md +2 -3
- package/dist/references/api/README.md +89 -149
- package/dist/references/api/SKILL.md +1 -1
- package/dist/references/api/experience-contract.md +36 -21
- package/dist/references/api/signatures/exports.md +997 -0
- package/dist/references/api/signatures/nocha.access.md +22 -0
- package/dist/references/api/signatures/nocha.ai.md +70 -0
- package/dist/references/api/signatures/nocha.assets.md +64 -0
- package/dist/references/api/signatures/nocha.assistant.md +46 -0
- package/dist/references/api/signatures/nocha.automations.md +94 -0
- package/dist/references/api/signatures/nocha.backend.md +22 -0
- package/dist/references/api/signatures/nocha.capabilities.md +16 -0
- package/dist/references/api/signatures/nocha.connectors.md +28 -0
- package/dist/references/api/signatures/nocha.context.md +16 -0
- package/dist/references/api/signatures/nocha.database.md +58 -0
- package/dist/references/api/signatures/nocha.device.md +118 -0
- package/dist/references/api/signatures/nocha.drive.md +16 -0
- package/dist/references/api/signatures/nocha.email.md +10 -0
- package/dist/references/api/signatures/nocha.excerpts.md +22 -0
- package/dist/references/api/signatures/nocha.experiences.md +34 -0
- package/dist/references/api/signatures/nocha.gamepad.md +28 -0
- package/dist/references/api/signatures/nocha.haptics.md +34 -0
- package/dist/references/api/signatures/nocha.hardware.md +88 -0
- package/dist/references/api/signatures/nocha.host.md +46 -0
- package/dist/references/api/signatures/nocha.inbox.md +22 -0
- package/dist/references/api/signatures/nocha.language.md +22 -0
- package/dist/references/api/signatures/nocha.library.md +112 -0
- package/dist/references/api/signatures/nocha.link.md +10 -0
- package/dist/references/api/signatures/nocha.machine.md +274 -0
- package/dist/references/api/signatures/nocha.memory.md +28 -0
- package/dist/references/api/signatures/nocha.module.md +10 -0
- package/dist/references/api/signatures/nocha.multiplayer.md +40 -0
- package/dist/references/api/signatures/nocha.navigation.md +46 -0
- package/dist/references/api/signatures/nocha.network.md +16 -0
- package/dist/references/api/signatures/nocha.notifications.md +28 -0
- package/dist/references/api/signatures/nocha.onEvent.md +10 -0
- package/dist/references/api/signatures/nocha.places.md +22 -0
- package/dist/references/api/signatures/nocha.player.md +10 -0
- package/dist/references/api/signatures/nocha.profiles.md +16 -0
- package/dist/references/api/signatures/nocha.ready.md +22 -0
- package/dist/references/api/signatures/nocha.screens.md +17 -0
- package/dist/references/api/signatures/nocha.search.md +10 -0
- package/dist/references/api/signatures/nocha.spaces.md +40 -0
- package/dist/references/api/signatures/nocha.state.md +22 -0
- package/dist/references/api/signatures/nocha.transfer.md +28 -0
- package/dist/references/api/signatures/nocha.use.md +10 -0
- package/dist/references/api/signatures/nocha.video.md +244 -0
- package/dist/references/api/signatures/nocha.viewport.md +34 -0
- package/dist/references/api/signatures/nocha.voice.md +28 -0
- package/dist/references/api/signatures/nocha.workspace.md +16 -0
- package/dist/references/api/signatures/registry.md +309 -0
- package/dist/references/api/signatures/server-exports.md +92 -0
- package/dist/references/api/signatures/watchirl.md +280 -0
- package/dist/references/api/signatures.md +58 -1291
- package/dist/references/base/NOCHA.json +42 -1
- package/dist/references/base/README.md +8 -7
- package/dist/references/base/SKILL.md +5 -5
- package/dist/references/base/index.html +2 -0
- package/dist/references/base/package-lock.json +427 -651
- package/dist/references/base/package.json +1 -1
- package/dist/references/base/server/tooling/sdk-plugin.ts +15 -5
- package/dist/references/base/server/tooling/sdk-sources.ts +3 -3
- package/dist/references/base/src/features/experience/application/start.ts +2 -2
- package/dist/references/base/src/features/experience/ui/components.ts +174 -12
- package/dist/references/base/src/features/experience/ui/home.ts +8 -7
- package/dist/references/base/src/features/experience/ui/mount.ts +30 -7
- package/dist/references/base/src/features/experience/ui/routes.ts +14 -3
- package/dist/references/base/src/locales/en.ts +7 -0
- package/dist/references/base/src/locales/fr.ts +8 -0
- package/dist/references/base/src/locales/index.ts +12 -0
- package/dist/references/base/src/main.ts +9 -2
- package/dist/references/base/src/platform/failure.ts +3 -97
- package/dist/references/base/src/platform/i18n.ts +83 -0
- package/dist/references/base/src/platform/nocha.ts +47 -4
- package/dist/references/base/src/platform/paging.ts +111 -0
- package/dist/references/base/src/platform/router.ts +235 -21
- package/dist/references/base/src/style.css +378 -51
- package/dist/references/base/src/types/nocha/index.d.ts +19393 -69
- package/dist/references/duel/NOCHA.json +6 -2
- package/dist/references/duel/README.md +2 -1
- package/dist/references/duel/index.html +1 -1
- package/dist/references/duel/package-lock.json +439 -621
- package/dist/references/duel/package.json +2 -2
- package/dist/references/duel/server/tooling/sdk-plugin.ts +15 -5
- package/dist/references/duel/server/tooling/sdk-sources.ts +3 -3
- package/dist/references/duel/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/README.md +31 -0
- package/dist/references/duel/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.d.ts +81 -0
- package/dist/references/duel/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.js +407 -0
- package/dist/references/duel/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/style.css +81 -0
- package/dist/references/duel/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/nocha-vendor.json +17 -0
- package/dist/references/duel/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/package.json +21 -0
- package/dist/references/duel/src/features/duel/api.ts +12 -11
- package/dist/references/duel/src/features/duel/model.ts +2 -1
- package/dist/references/duel/src/features/duel/renderer.ts +2 -1
- package/dist/references/duel/src/features/duel/ui.ts +17 -13
- package/dist/references/duel/src/locales/en.ts +43 -0
- package/dist/references/duel/src/locales/fr.ts +44 -0
- package/dist/references/duel/src/locales/index.ts +12 -0
- package/dist/references/duel/src/main.ts +9 -3
- package/dist/references/duel/src/platform/i18n.ts +83 -0
- package/dist/references/duel/src/types/nocha/index.d.ts +19393 -69
- package/dist/references/exploration/NOCHA.json +5 -1
- package/dist/references/exploration/README.md +2 -1
- package/dist/references/exploration/index.html +1 -1
- package/dist/references/exploration/package-lock.json +426 -650
- package/dist/references/exploration/package.json +2 -2
- package/dist/references/exploration/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/README.md +31 -0
- package/dist/references/exploration/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.d.ts +81 -0
- package/dist/references/exploration/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.js +407 -0
- package/dist/references/exploration/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/style.css +81 -0
- package/dist/references/exploration/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/nocha-vendor.json +17 -0
- package/dist/references/exploration/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/package.json +21 -0
- package/dist/references/exploration/src/features/exploration/model.ts +3 -1
- package/dist/references/exploration/src/features/exploration/renderer.ts +2 -1
- package/dist/references/exploration/src/features/exploration/ui.ts +8 -4
- package/dist/references/exploration/src/locales/en.ts +21 -0
- package/dist/references/exploration/src/locales/fr.ts +22 -0
- package/dist/references/exploration/src/locales/index.ts +12 -0
- package/dist/references/exploration/src/main.ts +9 -3
- package/dist/references/exploration/src/platform/i18n.ts +93 -0
- package/dist/references/guides/art-direction/SKILL.md +32 -42
- package/dist/references/packages/cli/README.md +6 -1
- package/dist/references/packages/experience-audio/README.md +68 -0
- package/dist/references/packages/experience-audio/SKILL.md +31 -0
- package/dist/references/packages/experience-input/README.md +4 -2
- package/dist/references/packages/experience-input/SKILL.md +1 -1
- package/dist/references/packages/experience-ui/README.md +79 -0
- package/dist/references/packages/experience-ui/SKILL.md +31 -0
- package/dist/references/packages/universe-foundation/README.md +63 -22
- package/dist/references/packages/universe-foundation/SKILL.md +4 -4
- package/dist/references/packages/world-ui/README.md +35 -1
- package/dist/references/platform/diagnostics.ts +66 -0
- package/dist/references/platform/failure.ts +6 -0
- package/dist/references/platform/lifecycle.ts +78 -0
- package/dist/references/platform/nocha.ts +103 -0
- package/dist/references/platform/paging.ts +112 -0
- package/dist/references/platform/router.ts +265 -0
- package/dist/references/platform/stored.ts +42 -0
- package/dist/references/racing/NOCHA.json +5 -1
- package/dist/references/racing/README.md +2 -1
- package/dist/references/racing/index.html +1 -1
- package/dist/references/racing/package-lock.json +426 -650
- package/dist/references/racing/package.json +2 -2
- package/dist/references/racing/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/README.md +31 -0
- package/dist/references/racing/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.d.ts +81 -0
- package/dist/references/racing/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.js +407 -0
- package/dist/references/racing/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/style.css +81 -0
- package/dist/references/racing/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/nocha-vendor.json +17 -0
- package/dist/references/racing/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/package.json +21 -0
- package/dist/references/racing/src/features/racing/model.ts +4 -1
- package/dist/references/racing/src/features/racing/renderer.ts +2 -1
- package/dist/references/racing/src/features/racing/ui.ts +8 -4
- package/dist/references/racing/src/locales/en.ts +21 -0
- package/dist/references/racing/src/locales/fr.ts +22 -0
- package/dist/references/racing/src/locales/index.ts +12 -0
- package/dist/references/racing/src/main.ts +9 -3
- package/dist/references/racing/src/platform/i18n.ts +93 -0
- package/dist/references/recipes/README.md +9 -3
- package/dist/references/recipes/ai-agent/NOCHA.json +94 -0
- package/dist/references/recipes/ai-agent/README.md +30 -0
- package/dist/references/recipes/ai-agent/SKILL.md +25 -0
- package/dist/references/recipes/ai-agent/recipe.ts +221 -0
- package/dist/references/recipes/ai-realtime-chat/NOCHA.json +3 -2
- package/dist/references/recipes/assistant-actions/README.md +34 -19
- package/dist/references/recipes/assistant-actions/SKILL.md +7 -9
- package/dist/references/recipes/assistant-actions/recipe.ts +61 -30
- package/dist/references/recipes/assistant-voice/NOCHA.json +1 -1
- package/dist/references/recipes/backend-transaction/NOCHA.json +6 -3
- package/dist/references/recipes/backend-transaction/README.md +22 -3
- package/dist/references/recipes/backend-transaction/SKILL.md +9 -4
- package/dist/references/recipes/backend-transaction/src/platform/failure.ts +3 -97
- package/dist/references/recipes/backend-transaction/src/platform/nocha.ts +47 -4
- package/dist/references/recipes/backend-transaction/src/platform/paging.ts +111 -0
- package/dist/references/recipes/backend-transaction/src/platform/router.ts +235 -21
- package/dist/references/recipes/database/NOCHA.json +71 -0
- package/dist/references/recipes/database/README.md +36 -0
- package/dist/references/recipes/database/SKILL.md +26 -0
- package/dist/references/recipes/database/recipe.ts +112 -0
- package/dist/references/recipes/device/NOCHA.json +2 -1
- package/dist/references/recipes/device/README.md +1 -1
- package/dist/references/recipes/device/SKILL.md +1 -1
- package/dist/references/recipes/device/recipe.ts +17 -1
- package/dist/references/recipes/drive/NOCHA.json +24 -0
- package/dist/references/recipes/drive/README.md +15 -0
- package/dist/references/recipes/drive/SKILL.md +24 -0
- package/dist/references/recipes/drive/recipe.ts +34 -0
- package/dist/references/recipes/email/NOCHA.json +1 -1
- package/dist/references/recipes/experience-calls/NOCHA.json +56 -0
- package/dist/references/recipes/experience-calls/README.md +16 -0
- package/dist/references/recipes/experience-calls/SKILL.md +24 -0
- package/dist/references/recipes/experience-calls/recipe.ts +44 -0
- package/dist/references/recipes/hardware/NOCHA.json +43 -0
- package/dist/references/recipes/hardware/README.md +15 -0
- package/dist/references/recipes/hardware/SKILL.md +24 -0
- package/dist/references/recipes/hardware/recipe.ts +33 -0
- package/dist/references/recipes/home-interface/NOCHA.json +54 -0
- package/dist/references/recipes/home-interface/SKILL.md +110 -0
- package/dist/references/recipes/home-interface/demo-data.ts +206 -0
- package/dist/references/recipes/home-interface/recipe.ts +588 -0
- package/dist/references/recipes/home-interface/scene/NOTICE +18 -0
- package/dist/references/recipes/home-interface/scene/boucle.ts +226 -0
- package/dist/references/recipes/home-interface/scene/fond.ts +220 -0
- package/dist/references/recipes/home-interface/scene/glsl.ts +95 -0
- package/dist/references/recipes/home-interface/scene/lieu.ts +93 -0
- package/dist/references/recipes/home-interface/scene/mouvement.ts +128 -0
- package/dist/references/recipes/home-interface/scene/profondeur.ts +60 -0
- package/dist/references/recipes/home-interface/scene/scene.css +51 -0
- package/dist/references/recipes/home-interface/scene/scene.ts +46 -0
- package/dist/references/recipes/home-interface/scene/teinte.ts +93 -0
- package/dist/references/recipes/i18n/README.md +26 -0
- package/dist/references/recipes/i18n/SKILL.md +22 -0
- package/dist/references/recipes/i18n/recipe.ts +86 -0
- package/dist/references/recipes/image-transformation/NOCHA.json +5 -3
- package/dist/references/recipes/image-transformation/README.md +1 -1
- package/dist/references/recipes/image-video-loop/NOCHA.json +7 -4
- package/dist/references/recipes/image-video-loop/src/features/video/api.ts +2 -2
- package/dist/references/recipes/image-video-loop/src/features/video/workflow.ts +6 -2
- package/dist/references/recipes/inbox/NOCHA.json +1 -1
- package/dist/references/recipes/multiplayer-canvas/NOCHA.json +3 -2
- package/dist/references/recipes/music/NOCHA.json +5 -4
- package/dist/references/recipes/music/README.md +1 -1
- package/dist/references/recipes/navigation/README.md +28 -0
- package/dist/references/recipes/navigation/SKILL.md +22 -0
- package/dist/references/recipes/network/NOCHA.json +1 -1
- package/dist/references/recipes/network/README.md +1 -1
- package/dist/references/recipes/network/recipe.ts +4 -3
- package/dist/references/recipes/notifications/NOCHA.json +13 -2
- package/dist/references/recipes/notifications/README.md +12 -4
- package/dist/references/recipes/notifications/SKILL.md +5 -4
- package/dist/references/recipes/notifications/recipe.ts +35 -1
- package/dist/references/recipes/package.json +2 -2
- package/dist/references/recipes/search/NOCHA.json +90 -0
- package/dist/references/recipes/search/README.md +43 -0
- package/dist/references/recipes/search/SKILL.md +24 -0
- package/dist/references/recipes/search/recipe.ts +160 -0
- package/dist/references/recipes/spaces/NOCHA.json +88 -0
- package/dist/references/recipes/spaces/README.md +10 -0
- package/dist/references/recipes/spaces/SKILL.md +23 -0
- package/dist/references/recipes/spaces/recipe.ts +61 -0
- package/dist/references/recipes/state-memory/NOCHA.json +11 -19
- package/dist/references/recipes/state-memory/README.md +6 -4
- package/dist/references/recipes/state-memory/SKILL.md +4 -3
- package/dist/references/recipes/state-memory/recipe.ts +65 -30
- package/dist/references/recipes/text-research/NOCHA.json +1 -1
- package/dist/references/recipes/three-room/README.md +2 -2
- package/dist/references/recipes/three-room/src/features/room/index.ts +3 -2
- package/dist/references/recipes/three-stage/README.md +2 -2
- package/dist/references/recipes/three-stage/src/features/stage/model.ts +17 -15
- package/dist/references/recipes/three-stage/src/features/stage/scene.ts +3 -2
- package/dist/references/recipes/three-stage/src/locales/en.ts +24 -0
- package/dist/references/recipes/three-stage/src/locales/fr.ts +25 -0
- package/dist/references/recipes/three-stage/src/locales/index.ts +13 -0
- package/dist/references/recipes/three-stage/src/platform/i18n.ts +84 -0
- package/dist/references/recipes/types/nocha/ai-operations.d.ts +81 -0
- package/dist/references/recipes/types/nocha/ai-voice-catalogue.d.ts +19 -0
- package/dist/references/recipes/types/nocha/ai.d.ts +2 -1
- package/dist/references/recipes/types/nocha/assets-media.d.ts +13 -0
- package/dist/references/recipes/types/nocha/assets-operations.d.ts +109 -0
- package/dist/references/recipes/types/nocha/assistant-open.d.ts +21 -0
- package/dist/references/recipes/types/nocha/assistant-paid.d.ts +18 -0
- package/dist/references/recipes/types/nocha/assistant.d.ts +44 -0
- package/dist/references/recipes/types/nocha/attachments.d.ts +1 -1
- package/dist/references/recipes/types/nocha/audio-media.d.ts +19 -0
- package/dist/references/recipes/types/nocha/backend-database.d.ts +15 -5
- package/dist/references/recipes/types/nocha/backend-media.d.ts +43 -0
- package/dist/references/recipes/types/nocha/backend-runtime.d.ts +36 -0
- package/dist/references/recipes/types/nocha/backend-search.d.ts +33 -0
- package/dist/references/recipes/types/nocha/backend-server-query.d.ts +26 -0
- package/dist/references/recipes/types/nocha/backend-server.d.ts +48 -2
- package/dist/references/recipes/types/nocha/backend-transactions.d.ts +32 -1
- package/dist/references/recipes/types/nocha/capabilities.d.ts +2 -2
- package/dist/references/recipes/types/nocha/capability-deadlines.d.ts +66 -1
- package/dist/references/recipes/types/nocha/capability-needs.d.ts +14 -0
- package/dist/references/recipes/types/nocha/capability-operations.d.ts +43 -9
- package/dist/references/recipes/types/nocha/capability-registry.d.ts +18 -0
- package/dist/references/recipes/types/nocha/character-package-types.d.ts +108 -0
- package/dist/references/recipes/types/nocha/clipping-types.d.ts +2 -0
- package/dist/references/recipes/types/nocha/content-refusal.d.ts +11 -0
- package/dist/references/recipes/types/nocha/context.d.ts +4 -0
- package/dist/references/recipes/types/nocha/database-watch.d.ts +13 -0
- package/dist/references/recipes/types/nocha/device-operations.d.ts +6 -0
- package/dist/references/recipes/types/nocha/device-types.d.ts +31 -1
- package/dist/references/recipes/types/nocha/drive-operations.d.ts +56 -0
- package/dist/references/recipes/types/nocha/drive-types.d.ts +77 -0
- package/dist/references/recipes/types/nocha/drive.d.ts +54 -0
- package/dist/references/recipes/types/nocha/error-codes.d.ts +240 -34
- package/dist/references/recipes/types/nocha/excerpts-operations.d.ts +79 -0
- package/dist/references/recipes/types/nocha/excerpts-types.d.ts +43 -0
- package/dist/references/recipes/types/nocha/excerpts.d.ts +17 -0
- package/dist/references/recipes/types/nocha/execution.d.ts +5 -4
- package/dist/references/recipes/types/nocha/experience-context-types.d.ts +17 -0
- package/dist/references/recipes/types/nocha/experience-context.d.ts +5 -1
- package/dist/references/recipes/types/nocha/experiences-operations.d.ts +218 -0
- package/dist/references/recipes/types/nocha/experiences-types.d.ts +93 -0
- package/dist/references/recipes/types/nocha/experiences.d.ts +47 -0
- package/dist/references/recipes/types/nocha/external-protocol.d.ts +76 -0
- package/dist/references/recipes/types/nocha/failure.d.ts +58 -0
- package/dist/references/recipes/types/nocha/fault.d.ts +6 -0
- package/dist/references/recipes/types/nocha/gamepad-target.d.ts +5 -0
- package/dist/references/recipes/types/nocha/gamepad-types.d.ts +63 -0
- package/dist/references/recipes/types/nocha/gamepad.d.ts +21 -0
- package/dist/references/recipes/types/nocha/generation-input.d.ts +7 -3
- package/dist/references/recipes/types/nocha/guards.d.ts +8 -0
- package/dist/references/recipes/types/nocha/haptics-types.d.ts +31 -0
- package/dist/references/recipes/types/nocha/haptics.d.ts +8 -0
- package/dist/references/recipes/types/nocha/hardware-operations.d.ts +353 -0
- package/dist/references/recipes/types/nocha/hardware.d.ts +32 -0
- package/dist/references/recipes/types/nocha/host-channels.d.ts +11 -0
- package/dist/references/recipes/types/nocha/host-feed.d.ts +27 -0
- package/dist/references/recipes/types/nocha/host-operations.d.ts +89 -0
- package/dist/references/recipes/types/nocha/host-types.d.ts +106 -0
- package/dist/references/recipes/types/nocha/host-upload.d.ts +35 -0
- package/dist/references/recipes/types/nocha/hosting.d.ts +17 -0
- package/dist/references/recipes/types/nocha/index.d.ts +153 -7
- package/dist/references/recipes/types/nocha/language-match.d.ts +8 -0
- package/dist/references/recipes/types/nocha/language.d.ts +18 -0
- package/dist/references/recipes/types/nocha/library-operations.d.ts +430 -0
- package/dist/references/recipes/types/nocha/library-types.d.ts +325 -0
- package/dist/references/recipes/types/nocha/library.d.ts +58 -0
- package/dist/references/recipes/types/nocha/link-operations.d.ts +32 -0
- package/dist/references/recipes/types/nocha/link-types.d.ts +17 -0
- package/dist/references/recipes/types/nocha/link.d.ts +21 -0
- package/dist/references/recipes/types/nocha/live-media-failure.d.ts +40 -0
- package/dist/references/recipes/types/nocha/live-media-status.d.ts +7 -0
- package/dist/references/recipes/types/nocha/live-media.d.ts +9 -1
- package/dist/references/recipes/types/nocha/machine-operations.d.ts +1135 -0
- package/dist/references/recipes/types/nocha/machine-streams.d.ts +4 -0
- package/dist/references/recipes/types/nocha/machine.d.ts +77 -0
- package/dist/references/recipes/types/nocha/media-read.d.ts +37 -0
- package/dist/references/recipes/types/nocha/module-types.d.ts +53 -0
- package/dist/references/recipes/types/nocha/module.d.ts +7 -0
- package/dist/references/recipes/types/nocha/navigation-capture.d.ts +32 -0
- package/dist/references/recipes/types/nocha/navigation.d.ts +11 -0
- package/dist/references/recipes/types/nocha/notifications-operations.d.ts +78 -1
- package/dist/references/recipes/types/nocha/notifications.d.ts +11 -1
- package/dist/references/recipes/types/nocha/operation-metadata.d.ts +3 -2
- package/dist/references/recipes/types/nocha/operation-waiting.d.ts +55 -1
- package/dist/references/recipes/types/nocha/operation-wire-types.d.ts +221 -18
- package/dist/references/recipes/types/nocha/places-operations.d.ts +79 -0
- package/dist/references/recipes/types/nocha/places-types.d.ts +40 -0
- package/dist/references/recipes/types/nocha/places.d.ts +13 -0
- package/dist/references/recipes/types/nocha/player.d.ts +9 -0
- package/dist/references/recipes/types/nocha/profiles-operations.d.ts +55 -0
- package/dist/references/recipes/types/nocha/profiles-types.d.ts +33 -0
- package/dist/references/recipes/types/nocha/profiles.d.ts +18 -0
- package/dist/references/recipes/types/nocha/protocol.d.ts +142 -12
- package/dist/references/recipes/types/nocha/screens-operations.d.ts +21 -0
- package/dist/references/recipes/types/nocha/screens-types.d.ts +60 -0
- package/dist/references/recipes/types/nocha/screens.d.ts +17 -0
- package/dist/references/recipes/types/nocha/search-operations.d.ts +435 -0
- package/dist/references/recipes/types/nocha/search-results.d.ts +12 -0
- package/dist/references/recipes/types/nocha/search-types.d.ts +249 -0
- package/dist/references/recipes/types/nocha/search.d.ts +41 -0
- package/dist/references/recipes/types/nocha/shared-usage.d.ts +5 -0
- package/dist/references/recipes/types/nocha/shortcut-keys.d.ts +49 -0
- package/dist/references/recipes/types/nocha/spaces-types.d.ts +37 -0
- package/dist/references/recipes/types/nocha/spaces.d.ts +34 -0
- package/dist/references/recipes/types/nocha/speech-rules.d.ts +66 -0
- package/dist/references/recipes/types/nocha/speech-voices.d.ts +88 -0
- package/dist/references/recipes/types/nocha/storage-operation-types.d.ts +11 -3
- package/dist/references/recipes/types/nocha/storage-operations.d.ts +71 -1
- package/dist/references/recipes/types/nocha/storage.d.ts +25 -3
- package/dist/references/recipes/types/nocha/transfer-payload.d.ts +15 -0
- package/dist/references/recipes/types/nocha/transfer-preview.d.ts +4 -0
- package/dist/references/recipes/types/nocha/transfer-runtime.d.ts +23 -0
- package/dist/references/recipes/types/nocha/transfer-source.d.ts +30 -0
- package/dist/references/recipes/types/nocha/transfer-types.d.ts +221 -0
- package/dist/references/recipes/types/nocha/transfer-zones.d.ts +26 -0
- package/dist/references/recipes/types/nocha/transfer.d.ts +148 -0
- package/dist/references/recipes/types/nocha/transport.d.ts +7 -6
- package/dist/references/recipes/types/nocha/types/ai-wire.d.ts +382 -16
- package/dist/references/recipes/types/nocha/types/ai.d.ts +14 -4
- package/dist/references/recipes/types/nocha/types/assets-wire.d.ts +55 -1
- package/dist/references/recipes/types/nocha/types/assets.d.ts +46 -9
- package/dist/references/recipes/types/nocha/types/hardware.d.ts +327 -0
- package/dist/references/recipes/types/nocha/types/machine-workspace.d.ts +684 -0
- package/dist/references/recipes/types/nocha/types/machine.d.ts +279 -0
- package/dist/references/recipes/types/nocha/types/storage.d.ts +72 -2
- package/dist/references/recipes/types/nocha/types/video-projects-wire.d.ts +203 -0
- package/dist/references/recipes/types/nocha/types/video-sdk-wire.d.ts +192 -13
- package/dist/references/recipes/types/nocha/types/video-wire.d.ts +127 -7
- package/dist/references/recipes/types/nocha/types/video.d.ts +79 -3
- package/dist/references/recipes/types/nocha/types/voice-wire.d.ts +42 -6
- package/dist/references/recipes/types/nocha/ui-host.d.ts +44 -0
- package/dist/references/recipes/types/nocha/ui-text.d.ts +20 -0
- package/dist/references/recipes/types/nocha/ui-theme.d.ts +12 -0
- package/dist/references/recipes/types/nocha/validate.d.ts +51 -0
- package/dist/references/recipes/types/nocha/video-analysis.d.ts +12 -0
- package/dist/references/recipes/types/nocha/video-media.d.ts +1 -3
- package/dist/references/recipes/types/nocha/video-operations.d.ts +282 -1
- package/dist/references/recipes/types/nocha/video-playback.d.ts +14 -0
- package/dist/references/recipes/types/nocha/video-presentation.d.ts +55 -0
- package/dist/references/recipes/types/nocha/video-projects.d.ts +5 -0
- package/dist/references/recipes/types/nocha/video-settings-bridge.d.ts +22 -0
- package/dist/references/recipes/types/nocha/video-settings-controls.d.ts +42 -0
- package/dist/references/recipes/types/nocha/video-settings-css.d.ts +5 -0
- package/dist/references/recipes/types/nocha/video-settings-media.d.ts +16 -0
- package/dist/references/recipes/types/nocha/video-settings-state.d.ts +60 -0
- package/dist/references/recipes/types/nocha/video-settings-types.d.ts +296 -0
- package/dist/references/recipes/types/nocha/video-settings.d.ts +28 -0
- package/dist/references/recipes/types/nocha/video-workflow-picker.d.ts +25 -0
- package/dist/references/recipes/types/nocha/video-workflow-rules.d.ts +112 -0
- package/dist/references/recipes/types/nocha/viewport-types.d.ts +15 -0
- package/dist/references/recipes/types/nocha/viewport.d.ts +11 -1
- package/dist/references/recipes/types/nocha/voice-audition.d.ts +38 -0
- package/dist/references/recipes/types/nocha/voice-browser-categories.d.ts +38 -0
- package/dist/references/recipes/types/nocha/voice-browser-core.d.ts +32 -0
- package/dist/references/recipes/types/nocha/voice-browser.d.ts +12 -0
- package/dist/references/recipes/types/nocha/voice-favorites-account.d.ts +29 -0
- package/dist/references/recipes/types/nocha/voice-field.d.ts +11 -0
- package/dist/references/recipes/types/nocha/voice-imagine-toggle.d.ts +30 -0
- package/dist/references/recipes/types/nocha/voice-listing.d.ts +66 -0
- package/dist/references/recipes/types/nocha/voice-memory.d.ts +32 -0
- package/dist/references/recipes/types/nocha/voice-picker-bar.d.ts +31 -0
- package/dist/references/recipes/types/nocha/voice-picker-css.d.ts +4 -0
- package/dist/references/recipes/types/nocha/voice-picker-data.d.ts +92 -0
- package/dist/references/recipes/types/nocha/voice-picker-facets.d.ts +50 -0
- package/dist/references/recipes/types/nocha/voice-picker-list.d.ts +39 -0
- package/dist/references/recipes/types/nocha/voice-picker-models.d.ts +44 -0
- package/dist/references/recipes/types/nocha/voice-picker-row.d.ts +56 -0
- package/dist/references/recipes/types/nocha/voice-picker-state.d.ts +54 -0
- package/dist/references/recipes/types/nocha/voice-picker-types.d.ts +246 -0
- package/dist/references/recipes/types/nocha/voice-picker.d.ts +18 -0
- package/dist/references/recipes/types/nocha/voice-random.d.ts +52 -0
- package/dist/references/recipes/types/nocha/voice-recovery.d.ts +10 -0
- package/dist/references/recipes/types/nocha/voice-system-picker.d.ts +12 -0
- package/dist/references/recipes/types/nocha/voice.d.ts +5 -2
- package/dist/references/recipes/types/nocha/workspace.d.ts +3 -0
- package/dist/references/shooter/NOCHA.json +5 -1
- package/dist/references/shooter/README.md +2 -1
- package/dist/references/shooter/index.html +1 -1
- package/dist/references/shooter/package-lock.json +426 -650
- package/dist/references/shooter/package.json +2 -2
- package/dist/references/shooter/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/README.md +31 -0
- package/dist/references/shooter/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.d.ts +81 -0
- package/dist/references/shooter/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/index.js +407 -0
- package/dist/references/shooter/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/lib/style.css +81 -0
- package/dist/references/shooter/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/nocha-vendor.json +17 -0
- package/dist/references/shooter/server/vendor/experience-input/0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c/package.json +21 -0
- package/dist/references/shooter/src/features/shooter/model.ts +3 -1
- package/dist/references/shooter/src/features/shooter/renderer.ts +2 -1
- package/dist/references/shooter/src/features/shooter/ui.ts +8 -4
- package/dist/references/shooter/src/locales/en.ts +24 -0
- package/dist/references/shooter/src/locales/fr.ts +25 -0
- package/dist/references/shooter/src/locales/index.ts +12 -0
- package/dist/references/shooter/src/main.ts +9 -3
- package/dist/references/shooter/src/platform/i18n.ts +93 -0
- package/dist/references/stage/NOCHA.json +5 -1
- package/dist/references/stage/README.md +4 -4
- package/dist/references/stage/SKILL.md +1 -1
- package/dist/references/stage/index.html +2 -0
- package/dist/references/stage/package-lock.json +521 -740
- package/dist/references/stage/package.json +2 -2
- package/dist/references/stage/server/tooling/sdk-plugin.ts +15 -5
- package/dist/references/stage/server/tooling/sdk-sources.ts +3 -3
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/README.md +71 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/pointer.d.ts +82 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/pointer.js +273 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/types.d.ts +337 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/universe.css +14 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/universe.d.ts +57 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/universe.js +205 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/viewport.d.ts +17 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/widget-types.js +1 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/nocha-vendor.json +108 -0
- package/dist/references/stage/server/vendor/world-ui/0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/package.json +34 -0
- package/dist/references/stage/src/features/stage/model.ts +17 -15
- package/dist/references/stage/src/features/stage/scene.ts +3 -2
- package/dist/references/stage/src/locales/en.ts +23 -0
- package/dist/references/stage/src/locales/fr.ts +24 -0
- package/dist/references/stage/src/locales/index.ts +12 -0
- package/dist/references/stage/src/main.ts +9 -3
- package/dist/references/stage/src/platform/i18n.ts +83 -0
- package/dist/references/stage/src/types/nocha/index.d.ts +19393 -69
- package/dist/references/stage/vite.config.ts +1 -1
- package/dist/references/workshop/NOCHA.json +23 -10
- package/dist/references/workshop/README.md +4 -2
- package/dist/references/workshop/index.html +1 -0
- package/dist/references/workshop/package-lock.json +515 -739
- package/dist/references/workshop/package.json +1 -1
- package/dist/references/workshop/server/app/domain/schemas.ts +2 -1
- package/dist/references/workshop/server/app/domain/workshop.ts +6 -3
- package/dist/references/workshop/server/tooling/sdk-plugin.ts +15 -5
- package/dist/references/workshop/server/tooling/sdk-sources.ts +3 -3
- package/dist/references/workshop/src/features/proposals/api.ts +17 -16
- package/dist/references/workshop/src/features/proposals/controller.ts +18 -18
- package/dist/references/workshop/src/features/proposals/index.ts +4 -3
- package/dist/references/workshop/src/features/proposals/view.ts +16 -13
- package/dist/references/workshop/src/locales/en.ts +75 -0
- package/dist/references/workshop/src/locales/fr.ts +76 -0
- package/dist/references/workshop/src/locales/index.ts +12 -0
- package/dist/references/workshop/src/main.ts +6 -2
- package/dist/references/workshop/src/platform/failure.ts +3 -97
- package/dist/references/workshop/src/platform/i18n.ts +83 -0
- package/dist/references/workshop/src/platform/nocha.ts +4 -3
- package/dist/references/workshop/src/styles.css +1 -1
- package/dist/references/workshop/src/types/nocha/backend-server.d.ts +14601 -11
- package/dist/references/workshop/src/types/nocha/index.d.ts +4755 -69
- package/dist/sdk-versions.json +2 -2
- package/dist/sdks/@nocha/sdk/dist/ai-operations.d.ts +81 -0
- package/dist/sdks/@nocha/sdk/dist/assets-operations.d.ts +109 -0
- package/dist/sdks/@nocha/sdk/dist/assistant-open.d.ts +20 -0
- package/dist/sdks/@nocha/sdk/dist/assistant-paid.d.ts +17 -0
- package/dist/sdks/@nocha/sdk/dist/assistant.d.ts +44 -0
- package/dist/sdks/@nocha/sdk/dist/audio-media.d.ts +18 -0
- package/dist/sdks/@nocha/sdk/dist/backend-database.d.ts +15 -5
- package/dist/sdks/@nocha/sdk/dist/backend-media.d.ts +42 -0
- package/dist/sdks/@nocha/sdk/dist/backend-runtime.d.ts +36 -0
- package/dist/sdks/@nocha/sdk/dist/backend-search.d.ts +32 -0
- package/dist/sdks/@nocha/sdk/dist/backend-server-host-core.d.ts +26 -3
- package/dist/sdks/@nocha/sdk/dist/backend-server-host.d.ts +1 -1
- package/dist/sdks/@nocha/sdk/dist/backend-server-host.js +261 -26
- package/dist/sdks/@nocha/sdk/dist/backend-server-query.d.ts +25 -0
- package/dist/sdks/@nocha/sdk/dist/backend-server.d.ts +48 -2
- package/dist/sdks/@nocha/sdk/dist/backend-server.js +36 -2
- package/dist/sdks/@nocha/sdk/dist/backend-transactions.d.ts +32 -1
- package/dist/sdks/@nocha/sdk/dist/bridge.js +3 -3
- package/dist/sdks/@nocha/sdk/dist/capabilities.d.ts +2 -2
- package/dist/sdks/@nocha/sdk/dist/capabilities.js +12 -2
- package/dist/sdks/@nocha/sdk/dist/capability-deadlines.d.ts +66 -1
- package/dist/sdks/@nocha/sdk/dist/capability-needs.d.ts +14 -0
- package/dist/sdks/@nocha/sdk/dist/capability-operations.d.ts +43 -9
- package/dist/sdks/@nocha/sdk/dist/capability-registry.d.ts +17 -0
- package/dist/sdks/@nocha/sdk/dist/character-package-types.d.ts +107 -0
- package/dist/sdks/@nocha/sdk/dist/chunk-AJF3E3TH.js +26 -0
- package/dist/sdks/@nocha/sdk/dist/chunk-DGHVP7N5.js +3835 -0
- package/dist/sdks/@nocha/sdk/dist/chunk-EIYOBJTN.js +330 -0
- package/dist/sdks/@nocha/sdk/dist/chunk-Z4YFZ7FO.js +108 -0
- package/dist/sdks/@nocha/sdk/dist/clipping-types.d.ts +2 -0
- package/dist/sdks/@nocha/sdk/dist/content-refusal.d.ts +10 -0
- package/dist/sdks/@nocha/sdk/dist/context.d.ts +4 -0
- package/dist/sdks/@nocha/sdk/dist/database-watch.d.ts +12 -0
- package/dist/sdks/@nocha/sdk/dist/device-operations.d.ts +6 -0
- package/dist/sdks/@nocha/sdk/dist/device-types.d.ts +31 -1
- package/dist/sdks/@nocha/sdk/dist/drive-operations.d.ts +55 -0
- package/dist/sdks/@nocha/sdk/dist/drive-types.d.ts +76 -0
- package/dist/sdks/@nocha/sdk/dist/drive.d.ts +53 -0
- package/dist/sdks/@nocha/sdk/dist/error-codes.d.ts +240 -34
- package/dist/sdks/@nocha/sdk/dist/excerpts-operations.d.ts +78 -0
- package/dist/sdks/@nocha/sdk/dist/excerpts-types.d.ts +42 -0
- package/dist/sdks/@nocha/sdk/dist/excerpts.d.ts +16 -0
- package/dist/sdks/@nocha/sdk/dist/execution.d.ts +5 -4
- package/dist/sdks/@nocha/sdk/dist/experience-context-host.d.ts +9 -6
- package/dist/sdks/@nocha/sdk/dist/experience-context-types.d.ts +17 -0
- package/dist/sdks/@nocha/sdk/dist/experience-context.d.ts +5 -1
- package/dist/sdks/@nocha/sdk/dist/experiences-operations.d.ts +217 -0
- package/dist/sdks/@nocha/sdk/dist/experiences-types.d.ts +92 -0
- package/dist/sdks/@nocha/sdk/dist/experiences.d.ts +46 -0
- package/dist/sdks/@nocha/sdk/dist/external-protocol.d.ts +75 -0
- package/dist/sdks/@nocha/sdk/dist/failure.d.ts +57 -0
- package/dist/sdks/@nocha/sdk/dist/gamepad-types.d.ts +62 -0
- package/dist/sdks/@nocha/sdk/dist/gamepad.d.ts +20 -0
- package/dist/sdks/@nocha/sdk/dist/guards.d.ts +20 -0
- package/dist/sdks/@nocha/sdk/dist/haptics-types.d.ts +30 -0
- package/dist/sdks/@nocha/sdk/dist/hardware-operations.d.ts +352 -0
- package/dist/sdks/@nocha/sdk/dist/hardware.d.ts +31 -0
- package/dist/sdks/@nocha/sdk/dist/host-channels.d.ts +10 -0
- package/dist/sdks/@nocha/sdk/dist/host-feed.d.ts +26 -0
- package/dist/sdks/@nocha/sdk/dist/host-operations.d.ts +88 -0
- package/dist/sdks/@nocha/sdk/dist/host-types.d.ts +105 -0
- package/dist/sdks/@nocha/sdk/dist/host.d.ts +3 -1
- package/dist/sdks/@nocha/sdk/dist/host.js +691 -12
- package/dist/sdks/@nocha/sdk/dist/hosting.d.ts +16 -0
- package/dist/sdks/@nocha/sdk/dist/index.d.ts +153 -7
- package/dist/sdks/@nocha/sdk/dist/index.js +12769 -1343
- package/dist/sdks/@nocha/sdk/dist/language-match.d.ts +7 -0
- package/dist/sdks/@nocha/sdk/dist/language.d.ts +17 -0
- package/dist/sdks/@nocha/sdk/dist/library-operations.d.ts +429 -0
- package/dist/sdks/@nocha/sdk/dist/library-types.d.ts +324 -0
- package/dist/sdks/@nocha/sdk/dist/library.d.ts +57 -0
- package/dist/sdks/@nocha/sdk/dist/link-operations.d.ts +31 -0
- package/dist/sdks/@nocha/sdk/dist/link-types.d.ts +16 -0
- package/dist/sdks/@nocha/sdk/dist/link.d.ts +20 -0
- package/dist/sdks/@nocha/sdk/dist/live-media-failure.d.ts +39 -0
- package/dist/sdks/@nocha/sdk/dist/machine-operations.d.ts +1134 -0
- package/dist/sdks/@nocha/sdk/dist/machine-stream-host.d.ts +16 -0
- package/dist/sdks/@nocha/sdk/dist/machine-stream-types.d.ts +168 -0
- package/dist/sdks/@nocha/sdk/dist/machine.d.ts +76 -0
- package/dist/sdks/@nocha/sdk/dist/module-types.d.ts +52 -0
- package/dist/sdks/@nocha/sdk/dist/navigation-capture.d.ts +31 -0
- package/dist/sdks/@nocha/sdk/dist/navigation-host.d.ts +6 -0
- package/dist/sdks/@nocha/sdk/dist/navigation.d.ts +11 -0
- package/dist/sdks/@nocha/sdk/dist/notifications-operations.d.ts +78 -1
- package/dist/sdks/@nocha/sdk/dist/notifications.d.ts +11 -1
- package/dist/sdks/@nocha/sdk/dist/operation-metadata.d.ts +3 -2
- package/dist/sdks/@nocha/sdk/dist/operation-wire-types.d.ts +221 -18
- package/dist/sdks/@nocha/sdk/dist/places-operations.d.ts +78 -0
- package/dist/sdks/@nocha/sdk/dist/places-types.d.ts +39 -0
- package/dist/sdks/@nocha/sdk/dist/places.d.ts +12 -0
- package/dist/sdks/@nocha/sdk/dist/player.d.ts +8 -0
- package/dist/sdks/@nocha/sdk/dist/profiles-operations.d.ts +54 -0
- package/dist/sdks/@nocha/sdk/dist/profiles-types.d.ts +32 -0
- package/dist/sdks/@nocha/sdk/dist/profiles.d.ts +17 -0
- package/dist/sdks/@nocha/sdk/dist/protocol.d.ts +142 -12
- package/dist/sdks/@nocha/sdk/dist/protocol.js +407 -11
- package/dist/sdks/@nocha/sdk/dist/screens-operations.d.ts +20 -0
- package/dist/sdks/@nocha/sdk/dist/screens-types.d.ts +59 -0
- package/dist/sdks/@nocha/sdk/dist/screens.d.ts +16 -0
- package/dist/sdks/@nocha/sdk/dist/search-operations.d.ts +434 -0
- package/dist/sdks/@nocha/sdk/dist/search-types.d.ts +248 -0
- package/dist/sdks/@nocha/sdk/dist/search.d.ts +40 -0
- package/dist/sdks/@nocha/sdk/dist/self-hosted.d.ts +66 -0
- package/dist/sdks/@nocha/sdk/dist/self-hosted.js +4117 -0
- package/dist/sdks/@nocha/sdk/dist/server-chunk-EFI5ST2P.js +134 -0
- package/dist/sdks/@nocha/sdk/dist/shared-usage.d.ts +4 -0
- package/dist/sdks/@nocha/sdk/dist/shortcut-keys.d.ts +48 -0
- package/dist/sdks/@nocha/sdk/dist/spaces-types.d.ts +36 -0
- package/dist/sdks/@nocha/sdk/dist/spaces.d.ts +33 -0
- package/dist/sdks/@nocha/sdk/dist/speech-rules.d.ts +65 -0
- package/dist/sdks/@nocha/sdk/dist/speech-voices.d.ts +87 -0
- package/dist/sdks/@nocha/sdk/dist/storage-operation-types.d.ts +11 -3
- package/dist/sdks/@nocha/sdk/dist/storage-operations.d.ts +71 -1
- package/dist/sdks/@nocha/sdk/dist/storage.d.ts +25 -3
- package/dist/sdks/@nocha/sdk/dist/transfer-types.d.ts +220 -0
- package/dist/sdks/@nocha/sdk/dist/transfer.d.ts +147 -0
- package/dist/sdks/@nocha/sdk/dist/transport.d.ts +7 -6
- package/dist/sdks/@nocha/sdk/dist/types/ai-wire.d.ts +382 -16
- package/dist/sdks/@nocha/sdk/dist/types/ai.d.ts +14 -4
- package/dist/sdks/@nocha/sdk/dist/types/assets-wire.d.ts +55 -1
- package/dist/sdks/@nocha/sdk/dist/types/assets.d.ts +46 -9
- package/dist/sdks/@nocha/sdk/dist/types/hardware.d.ts +326 -0
- package/dist/sdks/@nocha/sdk/dist/types/machine-workspace.d.ts +683 -0
- package/dist/sdks/@nocha/sdk/dist/types/machine.d.ts +278 -0
- package/dist/sdks/@nocha/sdk/dist/types/storage.d.ts +72 -2
- package/dist/sdks/@nocha/sdk/dist/types/video-projects-wire.d.ts +202 -0
- package/dist/sdks/@nocha/sdk/dist/types/video-sdk-wire.d.ts +192 -13
- package/dist/sdks/@nocha/sdk/dist/types/video-wire.d.ts +127 -7
- package/dist/sdks/@nocha/sdk/dist/types/video.d.ts +79 -3
- package/dist/sdks/@nocha/sdk/dist/types/voice-wire.d.ts +42 -6
- package/dist/sdks/@nocha/sdk/dist/ui-text.d.ts +19 -0
- package/dist/sdks/@nocha/sdk/dist/usage-facade.d.ts +2 -1
- package/dist/sdks/@nocha/sdk/dist/validate.d.ts +50 -0
- package/dist/sdks/@nocha/sdk/dist/video-analysis.d.ts +11 -0
- package/dist/sdks/@nocha/sdk/dist/video-operations.d.ts +282 -1
- package/dist/sdks/@nocha/sdk/dist/video-presentation.d.ts +54 -0
- package/dist/sdks/@nocha/sdk/dist/video-settings-bridge.d.ts +21 -0
- package/dist/sdks/@nocha/sdk/dist/video-settings-state.d.ts +59 -0
- package/dist/sdks/@nocha/sdk/dist/video-settings-types.d.ts +295 -0
- package/dist/sdks/@nocha/sdk/dist/video-settings.d.ts +27 -0
- package/dist/sdks/@nocha/sdk/dist/video-workflow-picker.d.ts +24 -0
- package/dist/sdks/@nocha/sdk/dist/video-workflow-rules.d.ts +111 -0
- package/dist/sdks/@nocha/sdk/dist/viewport-types.d.ts +15 -0
- package/dist/sdks/@nocha/sdk/dist/viewport.d.ts +11 -1
- package/dist/sdks/@nocha/sdk/dist/vite.js +24 -2
- package/dist/sdks/@nocha/sdk/dist/voice-audition.d.ts +37 -0
- package/dist/sdks/@nocha/sdk/dist/voice-browser.d.ts +11 -0
- package/dist/sdks/@nocha/sdk/dist/voice-favorites-account.d.ts +28 -0
- package/dist/sdks/@nocha/sdk/dist/voice-field.d.ts +10 -0
- package/dist/sdks/@nocha/sdk/dist/voice-imagine-toggle.d.ts +29 -0
- package/dist/sdks/@nocha/sdk/dist/voice-picker-types.d.ts +245 -0
- package/dist/sdks/@nocha/sdk/dist/voice-picker.d.ts +17 -0
- package/dist/sdks/@nocha/sdk/dist/voice-random.d.ts +51 -0
- package/dist/sdks/@nocha/sdk/dist/voice-recovery.d.ts +9 -0
- package/dist/sdks/@nocha/sdk/dist/voice.d.ts +5 -2
- package/dist/sdks/@nocha/sdk/dist/workspace.d.ts +3 -0
- package/dist/sdks/@nocha/sdk/package.json +5 -1
- package/dist/sdks/@watchirl/experience-sdk/dist/index.d.ts +2 -2
- package/dist/sdks/@watchirl/experience-sdk/dist/index.js +1518 -4698
- package/dist/sdks/@watchirl/experience-sdk/dist/legacy-video.d.ts +2 -2
- package/dist/sdks/@watchirl/experience-sdk/dist/types.d.ts +1 -1
- package/dist/sdks/@watchirl/experience-sdk/package.json +1 -1
- package/dist/watchirl-sdk.js +1512 -4690
- package/package.json +1 -1
- package/dist/references/base/src/types/nocha/access.d.ts +0 -24
- package/dist/references/base/src/types/nocha/ai-operations.d.ts +0 -253
- package/dist/references/base/src/types/nocha/ai.d.ts +0 -5
- package/dist/references/base/src/types/nocha/assets-operations.d.ts +0 -103
- package/dist/references/base/src/types/nocha/assets.d.ts +0 -5
- package/dist/references/base/src/types/nocha/assistant-contract.d.ts +0 -30
- package/dist/references/base/src/types/nocha/assistant-controls.d.ts +0 -12
- package/dist/references/base/src/types/nocha/assistant.d.ts +0 -58
- package/dist/references/base/src/types/nocha/attachments.d.ts +0 -6
- package/dist/references/base/src/types/nocha/automations-operations.d.ts +0 -378
- package/dist/references/base/src/types/nocha/automations-types.d.ts +0 -157
- package/dist/references/base/src/types/nocha/automations.d.ts +0 -28
- package/dist/references/base/src/types/nocha/backend-database.d.ts +0 -18
- package/dist/references/base/src/types/nocha/backend-operations.d.ts +0 -72
- package/dist/references/base/src/types/nocha/backend-requests.d.ts +0 -58
- package/dist/references/base/src/types/nocha/backend-runtime.d.ts +0 -107
- package/dist/references/base/src/types/nocha/backend-server-error.d.ts +0 -8
- package/dist/references/base/src/types/nocha/backend-server-json.d.ts +0 -20
- package/dist/references/base/src/types/nocha/backend-server.d.ts +0 -49
- package/dist/references/base/src/types/nocha/backend-transactions.d.ts +0 -54
- package/dist/references/base/src/types/nocha/backend.d.ts +0 -5
- package/dist/references/base/src/types/nocha/bridge.d.ts +0 -7
- package/dist/references/base/src/types/nocha/capabilities.d.ts +0 -5
- package/dist/references/base/src/types/nocha/capability-deadlines.d.ts +0 -64
- package/dist/references/base/src/types/nocha/capability-needs.d.ts +0 -155
- package/dist/references/base/src/types/nocha/capability-operations.d.ts +0 -74
- package/dist/references/base/src/types/nocha/clipping-types.d.ts +0 -135
- package/dist/references/base/src/types/nocha/clipping.d.ts +0 -4
- package/dist/references/base/src/types/nocha/connectors-operations.d.ts +0 -104
- package/dist/references/base/src/types/nocha/connectors-types.d.ts +0 -11
- package/dist/references/base/src/types/nocha/connectors.d.ts +0 -15
- package/dist/references/base/src/types/nocha/context.d.ts +0 -19
- package/dist/references/base/src/types/nocha/device-operations.d.ts +0 -453
- package/dist/references/base/src/types/nocha/device-types.d.ts +0 -54
- package/dist/references/base/src/types/nocha/device.d.ts +0 -5
- package/dist/references/base/src/types/nocha/email-operations.d.ts +0 -31
- package/dist/references/base/src/types/nocha/email.d.ts +0 -10
- package/dist/references/base/src/types/nocha/error-codes.d.ts +0 -300
- package/dist/references/base/src/types/nocha/errors.d.ts +0 -37
- package/dist/references/base/src/types/nocha/execution.d.ts +0 -16
- package/dist/references/base/src/types/nocha/experience-context-types.d.ts +0 -13
- package/dist/references/base/src/types/nocha/experience-context.d.ts +0 -9
- package/dist/references/base/src/types/nocha/generation-input.d.ts +0 -16
- package/dist/references/base/src/types/nocha/guards.d.ts +0 -13
- package/dist/references/base/src/types/nocha/inbox-operations.d.ts +0 -59
- package/dist/references/base/src/types/nocha/inbox.d.ts +0 -24
- package/dist/references/base/src/types/nocha/listeners.d.ts +0 -5
- package/dist/references/base/src/types/nocha/live-media.d.ts +0 -7
- package/dist/references/base/src/types/nocha/multiplayer-facade.d.ts +0 -45
- package/dist/references/base/src/types/nocha/multiplayer-operations.d.ts +0 -81
- package/dist/references/base/src/types/nocha/multiplayer-subscriptions.d.ts +0 -11
- package/dist/references/base/src/types/nocha/multiplayer.d.ts +0 -17
- package/dist/references/base/src/types/nocha/navigation.d.ts +0 -17
- package/dist/references/base/src/types/nocha/network-operations.d.ts +0 -53
- package/dist/references/base/src/types/nocha/network.d.ts +0 -14
- package/dist/references/base/src/types/nocha/notifications-operations.d.ts +0 -30
- package/dist/references/base/src/types/nocha/notifications.d.ts +0 -10
- package/dist/references/base/src/types/nocha/operation-metadata.d.ts +0 -68
- package/dist/references/base/src/types/nocha/operation-waiting.d.ts +0 -62
- package/dist/references/base/src/types/nocha/operation-wire-types.d.ts +0 -320
- package/dist/references/base/src/types/nocha/outirl-operations.d.ts +0 -353
- package/dist/references/base/src/types/nocha/outirl.d.ts +0 -32
- package/dist/references/base/src/types/nocha/presence-operations.d.ts +0 -25
- package/dist/references/base/src/types/nocha/protocol.d.ts +0 -379
- package/dist/references/base/src/types/nocha/retry.d.ts +0 -6
- package/dist/references/base/src/types/nocha/state.d.ts +0 -14
- package/dist/references/base/src/types/nocha/storage-operation-types.d.ts +0 -50
- package/dist/references/base/src/types/nocha/storage-operations.d.ts +0 -230
- package/dist/references/base/src/types/nocha/storage.d.ts +0 -33
- package/dist/references/base/src/types/nocha/transport.d.ts +0 -37
- package/dist/references/base/src/types/nocha/types/ai-wire.d.ts +0 -338
- package/dist/references/base/src/types/nocha/types/ai.d.ts +0 -21
- package/dist/references/base/src/types/nocha/types/assets-wire.d.ts +0 -28
- package/dist/references/base/src/types/nocha/types/assets.d.ts +0 -41
- package/dist/references/base/src/types/nocha/types/json.d.ts +0 -9
- package/dist/references/base/src/types/nocha/types/network.d.ts +0 -17
- package/dist/references/base/src/types/nocha/types/outirl.d.ts +0 -327
- package/dist/references/base/src/types/nocha/types/storage.d.ts +0 -75
- package/dist/references/base/src/types/nocha/types/video-sdk-wire.d.ts +0 -461
- package/dist/references/base/src/types/nocha/types/video-wire.d.ts +0 -441
- package/dist/references/base/src/types/nocha/types/video.d.ts +0 -165
- package/dist/references/base/src/types/nocha/types/voice-wire.d.ts +0 -18
- package/dist/references/base/src/types/nocha/video-input.d.ts +0 -16
- package/dist/references/base/src/types/nocha/video-media.d.ts +0 -9
- package/dist/references/base/src/types/nocha/video-operations.d.ts +0 -647
- package/dist/references/base/src/types/nocha/video-playback.d.ts +0 -7
- package/dist/references/base/src/types/nocha/video-properties.d.ts +0 -7
- package/dist/references/base/src/types/nocha/video-resource.d.ts +0 -6
- package/dist/references/base/src/types/nocha/video.d.ts +0 -5
- package/dist/references/base/src/types/nocha/viewport-types.d.ts +0 -15
- package/dist/references/base/src/types/nocha/viewport.d.ts +0 -8
- package/dist/references/base/src/types/nocha/voice.d.ts +0 -14
- package/dist/references/base/src/types/nocha/workspace.d.ts +0 -8
- package/dist/references/duel/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/README.md +0 -29
- package/dist/references/duel/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.d.ts +0 -58
- package/dist/references/duel/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.js +0 -332
- package/dist/references/duel/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/style.css +0 -80
- package/dist/references/duel/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/nocha-vendor.json +0 -17
- package/dist/references/duel/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/package.json +0 -21
- package/dist/references/duel/src/types/nocha/access.d.ts +0 -24
- package/dist/references/duel/src/types/nocha/ai-operations.d.ts +0 -253
- package/dist/references/duel/src/types/nocha/ai.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/assets-operations.d.ts +0 -103
- package/dist/references/duel/src/types/nocha/assets.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/assistant-contract.d.ts +0 -30
- package/dist/references/duel/src/types/nocha/assistant-controls.d.ts +0 -12
- package/dist/references/duel/src/types/nocha/assistant.d.ts +0 -58
- package/dist/references/duel/src/types/nocha/attachments.d.ts +0 -6
- package/dist/references/duel/src/types/nocha/automations-operations.d.ts +0 -378
- package/dist/references/duel/src/types/nocha/automations-types.d.ts +0 -157
- package/dist/references/duel/src/types/nocha/automations.d.ts +0 -28
- package/dist/references/duel/src/types/nocha/backend-database.d.ts +0 -18
- package/dist/references/duel/src/types/nocha/backend-operations.d.ts +0 -72
- package/dist/references/duel/src/types/nocha/backend-requests.d.ts +0 -58
- package/dist/references/duel/src/types/nocha/backend-runtime.d.ts +0 -107
- package/dist/references/duel/src/types/nocha/backend-server-error.d.ts +0 -8
- package/dist/references/duel/src/types/nocha/backend-server-json.d.ts +0 -20
- package/dist/references/duel/src/types/nocha/backend-server.d.ts +0 -49
- package/dist/references/duel/src/types/nocha/backend-transactions.d.ts +0 -54
- package/dist/references/duel/src/types/nocha/backend.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/bridge.d.ts +0 -7
- package/dist/references/duel/src/types/nocha/capabilities.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/capability-deadlines.d.ts +0 -64
- package/dist/references/duel/src/types/nocha/capability-needs.d.ts +0 -155
- package/dist/references/duel/src/types/nocha/capability-operations.d.ts +0 -74
- package/dist/references/duel/src/types/nocha/clipping-types.d.ts +0 -135
- package/dist/references/duel/src/types/nocha/clipping.d.ts +0 -4
- package/dist/references/duel/src/types/nocha/connectors-operations.d.ts +0 -104
- package/dist/references/duel/src/types/nocha/connectors-types.d.ts +0 -11
- package/dist/references/duel/src/types/nocha/connectors.d.ts +0 -15
- package/dist/references/duel/src/types/nocha/context.d.ts +0 -19
- package/dist/references/duel/src/types/nocha/device-operations.d.ts +0 -453
- package/dist/references/duel/src/types/nocha/device-types.d.ts +0 -54
- package/dist/references/duel/src/types/nocha/device.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/email-operations.d.ts +0 -31
- package/dist/references/duel/src/types/nocha/email.d.ts +0 -10
- package/dist/references/duel/src/types/nocha/error-codes.d.ts +0 -300
- package/dist/references/duel/src/types/nocha/errors.d.ts +0 -37
- package/dist/references/duel/src/types/nocha/execution.d.ts +0 -16
- package/dist/references/duel/src/types/nocha/experience-context-types.d.ts +0 -13
- package/dist/references/duel/src/types/nocha/experience-context.d.ts +0 -9
- package/dist/references/duel/src/types/nocha/generation-input.d.ts +0 -16
- package/dist/references/duel/src/types/nocha/guards.d.ts +0 -13
- package/dist/references/duel/src/types/nocha/inbox-operations.d.ts +0 -59
- package/dist/references/duel/src/types/nocha/inbox.d.ts +0 -24
- package/dist/references/duel/src/types/nocha/listeners.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/live-media.d.ts +0 -7
- package/dist/references/duel/src/types/nocha/multiplayer-facade.d.ts +0 -45
- package/dist/references/duel/src/types/nocha/multiplayer-operations.d.ts +0 -81
- package/dist/references/duel/src/types/nocha/multiplayer-subscriptions.d.ts +0 -11
- package/dist/references/duel/src/types/nocha/multiplayer.d.ts +0 -17
- package/dist/references/duel/src/types/nocha/navigation.d.ts +0 -17
- package/dist/references/duel/src/types/nocha/network-operations.d.ts +0 -53
- package/dist/references/duel/src/types/nocha/network.d.ts +0 -14
- package/dist/references/duel/src/types/nocha/notifications-operations.d.ts +0 -30
- package/dist/references/duel/src/types/nocha/notifications.d.ts +0 -10
- package/dist/references/duel/src/types/nocha/operation-metadata.d.ts +0 -68
- package/dist/references/duel/src/types/nocha/operation-waiting.d.ts +0 -62
- package/dist/references/duel/src/types/nocha/operation-wire-types.d.ts +0 -320
- package/dist/references/duel/src/types/nocha/outirl-operations.d.ts +0 -353
- package/dist/references/duel/src/types/nocha/outirl.d.ts +0 -32
- package/dist/references/duel/src/types/nocha/presence-operations.d.ts +0 -25
- package/dist/references/duel/src/types/nocha/protocol.d.ts +0 -379
- package/dist/references/duel/src/types/nocha/retry.d.ts +0 -6
- package/dist/references/duel/src/types/nocha/state.d.ts +0 -14
- package/dist/references/duel/src/types/nocha/storage-operation-types.d.ts +0 -50
- package/dist/references/duel/src/types/nocha/storage-operations.d.ts +0 -230
- package/dist/references/duel/src/types/nocha/storage.d.ts +0 -33
- package/dist/references/duel/src/types/nocha/transport.d.ts +0 -37
- package/dist/references/duel/src/types/nocha/types/ai-wire.d.ts +0 -338
- package/dist/references/duel/src/types/nocha/types/ai.d.ts +0 -21
- package/dist/references/duel/src/types/nocha/types/assets-wire.d.ts +0 -28
- package/dist/references/duel/src/types/nocha/types/assets.d.ts +0 -41
- package/dist/references/duel/src/types/nocha/types/json.d.ts +0 -9
- package/dist/references/duel/src/types/nocha/types/network.d.ts +0 -17
- package/dist/references/duel/src/types/nocha/types/outirl.d.ts +0 -327
- package/dist/references/duel/src/types/nocha/types/storage.d.ts +0 -75
- package/dist/references/duel/src/types/nocha/types/video-sdk-wire.d.ts +0 -461
- package/dist/references/duel/src/types/nocha/types/video-wire.d.ts +0 -441
- package/dist/references/duel/src/types/nocha/types/video.d.ts +0 -165
- package/dist/references/duel/src/types/nocha/types/voice-wire.d.ts +0 -18
- package/dist/references/duel/src/types/nocha/video-input.d.ts +0 -16
- package/dist/references/duel/src/types/nocha/video-media.d.ts +0 -9
- package/dist/references/duel/src/types/nocha/video-operations.d.ts +0 -647
- package/dist/references/duel/src/types/nocha/video-playback.d.ts +0 -7
- package/dist/references/duel/src/types/nocha/video-properties.d.ts +0 -7
- package/dist/references/duel/src/types/nocha/video-resource.d.ts +0 -6
- package/dist/references/duel/src/types/nocha/video.d.ts +0 -5
- package/dist/references/duel/src/types/nocha/viewport-types.d.ts +0 -15
- package/dist/references/duel/src/types/nocha/viewport.d.ts +0 -8
- package/dist/references/duel/src/types/nocha/voice.d.ts +0 -14
- package/dist/references/duel/src/types/nocha/workspace.d.ts +0 -8
- package/dist/references/exploration/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/README.md +0 -29
- package/dist/references/exploration/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.d.ts +0 -58
- package/dist/references/exploration/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.js +0 -332
- package/dist/references/exploration/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/style.css +0 -80
- package/dist/references/exploration/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/nocha-vendor.json +0 -17
- package/dist/references/exploration/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/package.json +0 -21
- package/dist/references/racing/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/README.md +0 -29
- package/dist/references/racing/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.d.ts +0 -58
- package/dist/references/racing/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.js +0 -332
- package/dist/references/racing/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/style.css +0 -80
- package/dist/references/racing/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/nocha-vendor.json +0 -17
- package/dist/references/racing/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/package.json +0 -21
- package/dist/references/recipes/outirl/NOCHA.json +0 -43
- package/dist/references/recipes/outirl/README.md +0 -15
- package/dist/references/recipes/outirl/SKILL.md +0 -24
- package/dist/references/recipes/outirl/recipe.ts +0 -33
- package/dist/references/recipes/three-room/src/features/universe-foundation/index.d.ts +0 -30
- package/dist/references/recipes/three-room/src/features/universe-foundation/index.js +0 -226
- package/dist/references/recipes/three-room/src/features/universe-foundation/style.css +0 -14
- package/dist/references/recipes/three-stage/src/features/universe-foundation/index.d.ts +0 -30
- package/dist/references/recipes/three-stage/src/features/universe-foundation/index.js +0 -226
- package/dist/references/recipes/three-stage/src/features/universe-foundation/style.css +0 -14
- package/dist/references/recipes/types/nocha/outirl-operations.d.ts +0 -353
- package/dist/references/recipes/types/nocha/outirl.d.ts +0 -32
- package/dist/references/recipes/types/nocha/types/outirl.d.ts +0 -327
- package/dist/references/shooter/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/README.md +0 -29
- package/dist/references/shooter/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.d.ts +0 -58
- package/dist/references/shooter/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/index.js +0 -332
- package/dist/references/shooter/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/lib/style.css +0 -80
- package/dist/references/shooter/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/nocha-vendor.json +0 -17
- package/dist/references/shooter/server/vendor/experience-input/0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087/package.json +0 -21
- package/dist/references/stage/server/vendor/world-ui/0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/README.md +0 -37
- package/dist/references/stage/server/vendor/world-ui/0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/lib/pointer.d.ts +0 -82
- package/dist/references/stage/server/vendor/world-ui/0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/lib/pointer.js +0 -273
- package/dist/references/stage/server/vendor/world-ui/0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/lib/types.d.ts +0 -352
- package/dist/references/stage/server/vendor/world-ui/0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/nocha-vendor.json +0 -103
- package/dist/references/stage/server/vendor/world-ui/0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/package.json +0 -24
- package/dist/references/stage/src/features/universe-foundation/index.d.ts +0 -30
- package/dist/references/stage/src/features/universe-foundation/index.js +0 -226
- package/dist/references/stage/src/features/universe-foundation/style.css +0 -14
- package/dist/references/stage/src/types/nocha/access.d.ts +0 -24
- package/dist/references/stage/src/types/nocha/ai-operations.d.ts +0 -253
- package/dist/references/stage/src/types/nocha/ai.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/assets-operations.d.ts +0 -103
- package/dist/references/stage/src/types/nocha/assets.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/assistant-contract.d.ts +0 -30
- package/dist/references/stage/src/types/nocha/assistant-controls.d.ts +0 -12
- package/dist/references/stage/src/types/nocha/assistant.d.ts +0 -58
- package/dist/references/stage/src/types/nocha/attachments.d.ts +0 -6
- package/dist/references/stage/src/types/nocha/automations-operations.d.ts +0 -378
- package/dist/references/stage/src/types/nocha/automations-types.d.ts +0 -157
- package/dist/references/stage/src/types/nocha/automations.d.ts +0 -28
- package/dist/references/stage/src/types/nocha/backend-database.d.ts +0 -18
- package/dist/references/stage/src/types/nocha/backend-operations.d.ts +0 -72
- package/dist/references/stage/src/types/nocha/backend-requests.d.ts +0 -58
- package/dist/references/stage/src/types/nocha/backend-runtime.d.ts +0 -107
- package/dist/references/stage/src/types/nocha/backend-server-error.d.ts +0 -8
- package/dist/references/stage/src/types/nocha/backend-server-json.d.ts +0 -20
- package/dist/references/stage/src/types/nocha/backend-server.d.ts +0 -49
- package/dist/references/stage/src/types/nocha/backend-transactions.d.ts +0 -54
- package/dist/references/stage/src/types/nocha/backend.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/bridge.d.ts +0 -7
- package/dist/references/stage/src/types/nocha/capabilities.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/capability-deadlines.d.ts +0 -64
- package/dist/references/stage/src/types/nocha/capability-needs.d.ts +0 -155
- package/dist/references/stage/src/types/nocha/capability-operations.d.ts +0 -74
- package/dist/references/stage/src/types/nocha/clipping-types.d.ts +0 -135
- package/dist/references/stage/src/types/nocha/clipping.d.ts +0 -4
- package/dist/references/stage/src/types/nocha/connectors-operations.d.ts +0 -104
- package/dist/references/stage/src/types/nocha/connectors-types.d.ts +0 -11
- package/dist/references/stage/src/types/nocha/connectors.d.ts +0 -15
- package/dist/references/stage/src/types/nocha/context.d.ts +0 -19
- package/dist/references/stage/src/types/nocha/device-operations.d.ts +0 -453
- package/dist/references/stage/src/types/nocha/device-types.d.ts +0 -54
- package/dist/references/stage/src/types/nocha/device.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/email-operations.d.ts +0 -31
- package/dist/references/stage/src/types/nocha/email.d.ts +0 -10
- package/dist/references/stage/src/types/nocha/error-codes.d.ts +0 -300
- package/dist/references/stage/src/types/nocha/errors.d.ts +0 -37
- package/dist/references/stage/src/types/nocha/execution.d.ts +0 -16
- package/dist/references/stage/src/types/nocha/experience-context-types.d.ts +0 -13
- package/dist/references/stage/src/types/nocha/experience-context.d.ts +0 -9
- package/dist/references/stage/src/types/nocha/generation-input.d.ts +0 -16
- package/dist/references/stage/src/types/nocha/guards.d.ts +0 -13
- package/dist/references/stage/src/types/nocha/inbox-operations.d.ts +0 -59
- package/dist/references/stage/src/types/nocha/inbox.d.ts +0 -24
- package/dist/references/stage/src/types/nocha/listeners.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/live-media.d.ts +0 -7
- package/dist/references/stage/src/types/nocha/multiplayer-facade.d.ts +0 -45
- package/dist/references/stage/src/types/nocha/multiplayer-operations.d.ts +0 -81
- package/dist/references/stage/src/types/nocha/multiplayer-subscriptions.d.ts +0 -11
- package/dist/references/stage/src/types/nocha/multiplayer.d.ts +0 -17
- package/dist/references/stage/src/types/nocha/navigation.d.ts +0 -17
- package/dist/references/stage/src/types/nocha/network-operations.d.ts +0 -53
- package/dist/references/stage/src/types/nocha/network.d.ts +0 -14
- package/dist/references/stage/src/types/nocha/notifications-operations.d.ts +0 -30
- package/dist/references/stage/src/types/nocha/notifications.d.ts +0 -10
- package/dist/references/stage/src/types/nocha/operation-metadata.d.ts +0 -68
- package/dist/references/stage/src/types/nocha/operation-waiting.d.ts +0 -62
- package/dist/references/stage/src/types/nocha/operation-wire-types.d.ts +0 -320
- package/dist/references/stage/src/types/nocha/outirl-operations.d.ts +0 -353
- package/dist/references/stage/src/types/nocha/outirl.d.ts +0 -32
- package/dist/references/stage/src/types/nocha/presence-operations.d.ts +0 -25
- package/dist/references/stage/src/types/nocha/protocol.d.ts +0 -379
- package/dist/references/stage/src/types/nocha/retry.d.ts +0 -6
- package/dist/references/stage/src/types/nocha/state.d.ts +0 -14
- package/dist/references/stage/src/types/nocha/storage-operation-types.d.ts +0 -50
- package/dist/references/stage/src/types/nocha/storage-operations.d.ts +0 -230
- package/dist/references/stage/src/types/nocha/storage.d.ts +0 -33
- package/dist/references/stage/src/types/nocha/transport.d.ts +0 -37
- package/dist/references/stage/src/types/nocha/types/ai-wire.d.ts +0 -338
- package/dist/references/stage/src/types/nocha/types/ai.d.ts +0 -21
- package/dist/references/stage/src/types/nocha/types/assets-wire.d.ts +0 -28
- package/dist/references/stage/src/types/nocha/types/assets.d.ts +0 -41
- package/dist/references/stage/src/types/nocha/types/json.d.ts +0 -9
- package/dist/references/stage/src/types/nocha/types/network.d.ts +0 -17
- package/dist/references/stage/src/types/nocha/types/outirl.d.ts +0 -327
- package/dist/references/stage/src/types/nocha/types/storage.d.ts +0 -75
- package/dist/references/stage/src/types/nocha/types/video-sdk-wire.d.ts +0 -461
- package/dist/references/stage/src/types/nocha/types/video-wire.d.ts +0 -441
- package/dist/references/stage/src/types/nocha/types/video.d.ts +0 -165
- package/dist/references/stage/src/types/nocha/types/voice-wire.d.ts +0 -18
- package/dist/references/stage/src/types/nocha/video-input.d.ts +0 -16
- package/dist/references/stage/src/types/nocha/video-media.d.ts +0 -9
- package/dist/references/stage/src/types/nocha/video-operations.d.ts +0 -647
- package/dist/references/stage/src/types/nocha/video-playback.d.ts +0 -7
- package/dist/references/stage/src/types/nocha/video-properties.d.ts +0 -7
- package/dist/references/stage/src/types/nocha/video-resource.d.ts +0 -6
- package/dist/references/stage/src/types/nocha/video.d.ts +0 -5
- package/dist/references/stage/src/types/nocha/viewport-types.d.ts +0 -15
- package/dist/references/stage/src/types/nocha/viewport.d.ts +0 -8
- package/dist/references/stage/src/types/nocha/voice.d.ts +0 -14
- package/dist/references/stage/src/types/nocha/workspace.d.ts +0 -8
- package/dist/references/workshop/AGENTS.md +0 -40
- package/dist/references/workshop/src/types/nocha/access.d.ts +0 -24
- package/dist/references/workshop/src/types/nocha/ai-operations.d.ts +0 -253
- package/dist/references/workshop/src/types/nocha/ai.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/assets-operations.d.ts +0 -103
- package/dist/references/workshop/src/types/nocha/assets.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/assistant-contract.d.ts +0 -30
- package/dist/references/workshop/src/types/nocha/assistant-controls.d.ts +0 -12
- package/dist/references/workshop/src/types/nocha/assistant.d.ts +0 -58
- package/dist/references/workshop/src/types/nocha/attachments.d.ts +0 -6
- package/dist/references/workshop/src/types/nocha/automations-operations.d.ts +0 -378
- package/dist/references/workshop/src/types/nocha/automations-types.d.ts +0 -157
- package/dist/references/workshop/src/types/nocha/automations.d.ts +0 -28
- package/dist/references/workshop/src/types/nocha/backend-database.d.ts +0 -18
- package/dist/references/workshop/src/types/nocha/backend-operations.d.ts +0 -72
- package/dist/references/workshop/src/types/nocha/backend-requests.d.ts +0 -58
- package/dist/references/workshop/src/types/nocha/backend-runtime.d.ts +0 -107
- package/dist/references/workshop/src/types/nocha/backend-server-error.d.ts +0 -8
- package/dist/references/workshop/src/types/nocha/backend-server-json.d.ts +0 -20
- package/dist/references/workshop/src/types/nocha/backend-transactions.d.ts +0 -54
- package/dist/references/workshop/src/types/nocha/backend.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/bridge.d.ts +0 -7
- package/dist/references/workshop/src/types/nocha/capabilities.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/capability-deadlines.d.ts +0 -64
- package/dist/references/workshop/src/types/nocha/capability-needs.d.ts +0 -155
- package/dist/references/workshop/src/types/nocha/capability-operations.d.ts +0 -74
- package/dist/references/workshop/src/types/nocha/clipping-types.d.ts +0 -135
- package/dist/references/workshop/src/types/nocha/clipping.d.ts +0 -4
- package/dist/references/workshop/src/types/nocha/connectors-operations.d.ts +0 -104
- package/dist/references/workshop/src/types/nocha/connectors-types.d.ts +0 -11
- package/dist/references/workshop/src/types/nocha/connectors.d.ts +0 -15
- package/dist/references/workshop/src/types/nocha/context.d.ts +0 -19
- package/dist/references/workshop/src/types/nocha/device-operations.d.ts +0 -453
- package/dist/references/workshop/src/types/nocha/device-types.d.ts +0 -54
- package/dist/references/workshop/src/types/nocha/device.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/email-operations.d.ts +0 -31
- package/dist/references/workshop/src/types/nocha/email.d.ts +0 -10
- package/dist/references/workshop/src/types/nocha/error-codes.d.ts +0 -300
- package/dist/references/workshop/src/types/nocha/errors.d.ts +0 -37
- package/dist/references/workshop/src/types/nocha/execution.d.ts +0 -16
- package/dist/references/workshop/src/types/nocha/experience-context-types.d.ts +0 -13
- package/dist/references/workshop/src/types/nocha/experience-context.d.ts +0 -9
- package/dist/references/workshop/src/types/nocha/generation-input.d.ts +0 -16
- package/dist/references/workshop/src/types/nocha/guards.d.ts +0 -13
- package/dist/references/workshop/src/types/nocha/inbox-operations.d.ts +0 -59
- package/dist/references/workshop/src/types/nocha/inbox.d.ts +0 -24
- package/dist/references/workshop/src/types/nocha/listeners.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/live-media.d.ts +0 -7
- package/dist/references/workshop/src/types/nocha/multiplayer-facade.d.ts +0 -45
- package/dist/references/workshop/src/types/nocha/multiplayer-operations.d.ts +0 -81
- package/dist/references/workshop/src/types/nocha/multiplayer-subscriptions.d.ts +0 -11
- package/dist/references/workshop/src/types/nocha/multiplayer.d.ts +0 -17
- package/dist/references/workshop/src/types/nocha/navigation.d.ts +0 -17
- package/dist/references/workshop/src/types/nocha/network-operations.d.ts +0 -53
- package/dist/references/workshop/src/types/nocha/network.d.ts +0 -14
- package/dist/references/workshop/src/types/nocha/notifications-operations.d.ts +0 -30
- package/dist/references/workshop/src/types/nocha/notifications.d.ts +0 -10
- package/dist/references/workshop/src/types/nocha/operation-metadata.d.ts +0 -68
- package/dist/references/workshop/src/types/nocha/operation-waiting.d.ts +0 -62
- package/dist/references/workshop/src/types/nocha/operation-wire-types.d.ts +0 -320
- package/dist/references/workshop/src/types/nocha/outirl-operations.d.ts +0 -353
- package/dist/references/workshop/src/types/nocha/outirl.d.ts +0 -32
- package/dist/references/workshop/src/types/nocha/presence-operations.d.ts +0 -25
- package/dist/references/workshop/src/types/nocha/protocol.d.ts +0 -379
- package/dist/references/workshop/src/types/nocha/retry.d.ts +0 -6
- package/dist/references/workshop/src/types/nocha/state.d.ts +0 -14
- package/dist/references/workshop/src/types/nocha/storage-operation-types.d.ts +0 -50
- package/dist/references/workshop/src/types/nocha/storage-operations.d.ts +0 -230
- package/dist/references/workshop/src/types/nocha/storage.d.ts +0 -33
- package/dist/references/workshop/src/types/nocha/transport.d.ts +0 -37
- package/dist/references/workshop/src/types/nocha/types/ai-wire.d.ts +0 -338
- package/dist/references/workshop/src/types/nocha/types/ai.d.ts +0 -21
- package/dist/references/workshop/src/types/nocha/types/assets-wire.d.ts +0 -28
- package/dist/references/workshop/src/types/nocha/types/assets.d.ts +0 -41
- package/dist/references/workshop/src/types/nocha/types/json.d.ts +0 -9
- package/dist/references/workshop/src/types/nocha/types/network.d.ts +0 -17
- package/dist/references/workshop/src/types/nocha/types/outirl.d.ts +0 -327
- package/dist/references/workshop/src/types/nocha/types/storage.d.ts +0 -75
- package/dist/references/workshop/src/types/nocha/types/video-sdk-wire.d.ts +0 -461
- package/dist/references/workshop/src/types/nocha/types/video-wire.d.ts +0 -441
- package/dist/references/workshop/src/types/nocha/types/video.d.ts +0 -165
- package/dist/references/workshop/src/types/nocha/types/voice-wire.d.ts +0 -18
- package/dist/references/workshop/src/types/nocha/video-input.d.ts +0 -16
- package/dist/references/workshop/src/types/nocha/video-media.d.ts +0 -9
- package/dist/references/workshop/src/types/nocha/video-operations.d.ts +0 -647
- package/dist/references/workshop/src/types/nocha/video-playback.d.ts +0 -7
- package/dist/references/workshop/src/types/nocha/video-properties.d.ts +0 -7
- package/dist/references/workshop/src/types/nocha/video-resource.d.ts +0 -6
- package/dist/references/workshop/src/types/nocha/video.d.ts +0 -5
- package/dist/references/workshop/src/types/nocha/viewport-types.d.ts +0 -15
- package/dist/references/workshop/src/types/nocha/viewport.d.ts +0 -8
- package/dist/references/workshop/src/types/nocha/voice.d.ts +0 -14
- package/dist/references/workshop/src/types/nocha/workspace.d.ts +0 -8
- package/dist/sdks/@nocha/sdk/dist/chunk-3ULBSRGX.js +0 -26
- package/dist/sdks/@nocha/sdk/dist/chunk-4AHRR2WX.js +0 -120
- package/dist/sdks/@nocha/sdk/dist/chunk-A3QFRV4K.js +0 -231
- package/dist/sdks/@nocha/sdk/dist/chunk-MNRQELK7.js +0 -1975
- package/dist/sdks/@nocha/sdk/dist/outirl-operations.d.ts +0 -352
- package/dist/sdks/@nocha/sdk/dist/outirl.d.ts +0 -31
- package/dist/sdks/@nocha/sdk/dist/server-chunk-ZTA43KOG.js +0 -121
- package/dist/sdks/@nocha/sdk/dist/types/outirl.d.ts +0 -326
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/access.d.ts +0 -23
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/ai-operations.d.ts +0 -252
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assets-operations.d.ts +0 -102
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant-contract.d.ts +0 -29
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant-controls.d.ts +0 -11
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant.d.ts +0 -57
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations-operations.d.ts +0 -377
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations-types.d.ts +0 -156
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations.d.ts +0 -27
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-database.d.ts +0 -17
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-operations.d.ts +0 -71
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-requests.d.ts +0 -57
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-runtime.d.ts +0 -106
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-transactions.d.ts +0 -53
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/bridge.d.ts +0 -6
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-deadlines.d.ts +0 -63
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-needs.d.ts +0 -154
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-operations.d.ts +0 -73
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/clipping-types.d.ts +0 -134
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors-operations.d.ts +0 -103
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors-types.d.ts +0 -10
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors.d.ts +0 -14
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/context.d.ts +0 -18
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/device-operations.d.ts +0 -452
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/device-types.d.ts +0 -53
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/email-operations.d.ts +0 -30
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/email.d.ts +0 -9
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/error-codes.d.ts +0 -299
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/errors.d.ts +0 -36
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/execution.d.ts +0 -15
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/experience-context-types.d.ts +0 -12
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/experience-context.d.ts +0 -8
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/inbox-operations.d.ts +0 -58
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/inbox.d.ts +0 -23
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/index.d.ts +0 -101
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer-facade.d.ts +0 -44
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer-operations.d.ts +0 -80
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer.d.ts +0 -16
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/navigation.d.ts +0 -16
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/network-operations.d.ts +0 -52
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/network.d.ts +0 -13
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/notifications-operations.d.ts +0 -29
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/notifications.d.ts +0 -9
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/operation-metadata.d.ts +0 -67
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/operation-wire-types.d.ts +0 -319
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/outirl-operations.d.ts +0 -352
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/outirl.d.ts +0 -31
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/presence-operations.d.ts +0 -24
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/protocol.d.ts +0 -378
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/state.d.ts +0 -13
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage-operation-types.d.ts +0 -49
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage-operations.d.ts +0 -229
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage.d.ts +0 -32
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/transport.d.ts +0 -36
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/ai-wire.d.ts +0 -337
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/ai.d.ts +0 -20
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/assets-wire.d.ts +0 -27
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/assets.d.ts +0 -40
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/json.d.ts +0 -8
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/network.d.ts +0 -16
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/outirl.d.ts +0 -326
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/storage.d.ts +0 -74
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video-sdk-wire.d.ts +0 -460
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video-wire.d.ts +0 -440
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video.d.ts +0 -164
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/voice-wire.d.ts +0 -17
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/video-operations.d.ts +0 -646
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/video-properties.d.ts +0 -6
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/viewport-types.d.ts +0 -14
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/viewport.d.ts +0 -7
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/voice.d.ts +0 -13
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/workspace.d.ts +0 -7
- /package/dist/references/duel/server/vendor/experience-input/{0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087 → 0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c}/LICENSE +0 -0
- /package/dist/references/exploration/server/vendor/experience-input/{0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087 → 0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c}/LICENSE +0 -0
- /package/dist/references/racing/server/vendor/experience-input/{0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087 → 0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c}/LICENSE +0 -0
- /package/dist/references/shooter/server/vendor/experience-input/{0.2.2-2afef667ed23d6cdeb8dda34c3d2f183e54c4f4447ec960b624d7b5921c0c087 → 0.2.4-e760060497535b002d4934c04ec40e13bdcbe03f2d303932fa42a7b301d40b7c}/LICENSE +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/LICENSE +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/canvas2d.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/canvas2d.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/context.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/context.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/dialog.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/dialog.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/edit-bar.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/edit-bar.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/environment.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/environment.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/fields.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/fields.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/focus.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/focus.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/index.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/index.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/keys.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/keys.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/layout.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/layout.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/mirror.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/mirror.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/motion.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/motion.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/navigation.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/navigation.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/options-diff.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/options-diff.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-geometry.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-geometry.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-layout.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-layout.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-place.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-place.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-scroll.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel-scroll.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/panel.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/picker.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/picker.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/picture.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/picture.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/scroll-guard.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/scroll-guard.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/stacking.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/stacking.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/style.css +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/surface.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/surface.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/theme.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/theme.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/types.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b/lib/widget-types.js → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f/lib/viewport.js} +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widget-types.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widget.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widget.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/button-face.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/button-face.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/button.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/button.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/card-face.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/card-face.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/choice.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/choice.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/field-paint.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/field-paint.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/file-button.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/file-button.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/image.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/image.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/label.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/label.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/link.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/link.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/progress.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/progress.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/slider.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/slider.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/text-field.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/text-field.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/toggle.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/toggle.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/video.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/widgets/video.js +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/world-ui.d.ts +0 -0
- /package/dist/references/stage/server/vendor/world-ui/{0.5.2-4a57a5904f77c0abfd1833815b3981b6385821c2a14039dc4acb3bf65599908b → 0.6.1-691896a7efb9060c8a26f17a92e146757e3f12b47dc8e36bf9bf0ae43184f58f}/lib/world-ui.js +0 -0
|
@@ -0,0 +1,3835 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __export = (target, all) => {
|
|
3
|
+
for (var name in all)
|
|
4
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
// src/error-codes.ts
|
|
8
|
+
var D = "denied";
|
|
9
|
+
var B = "billing";
|
|
10
|
+
var T = "transient";
|
|
11
|
+
var A = "aborted";
|
|
12
|
+
var I = "invalid";
|
|
13
|
+
var U = "unknown";
|
|
14
|
+
var experienceTriggerErrorCodes = [
|
|
15
|
+
"trigger_managed_by_mail",
|
|
16
|
+
"trigger_slug_taken",
|
|
17
|
+
"workspace_unavailable",
|
|
18
|
+
"mail_workspace_not_allowed"
|
|
19
|
+
];
|
|
20
|
+
var nochaErrorClasses = {
|
|
21
|
+
// SDK
|
|
22
|
+
bridge_unavailable: D,
|
|
23
|
+
usage_required: I,
|
|
24
|
+
invalid_request: I,
|
|
25
|
+
invalid_result: U,
|
|
26
|
+
invocation_timed_out: T,
|
|
27
|
+
aborted: A,
|
|
28
|
+
invocation_failed: U,
|
|
29
|
+
unknown_error: U,
|
|
30
|
+
navigation_unavailable: D,
|
|
31
|
+
navigation_timed_out: T,
|
|
32
|
+
user_action_required: D,
|
|
33
|
+
upload_failed: U,
|
|
34
|
+
upload_interrupted: T,
|
|
35
|
+
source_too_large: I,
|
|
36
|
+
transfer_unavailable: D,
|
|
37
|
+
not_external: D,
|
|
38
|
+
// Host uploads (`assets.upload`, attachments, `drive.save`): an expired or spent upload authorization, two uploads
|
|
39
|
+
// already running for the account, an upload address the host does not send to; `payload_too_large` (HTTP 413): a
|
|
40
|
+
// request or file beyond its route's bound, like the other `*_too_large`.
|
|
41
|
+
upload_unavailable: T,
|
|
42
|
+
upload_busy: T,
|
|
43
|
+
invalid_upload: U,
|
|
44
|
+
payload_too_large: I,
|
|
45
|
+
// Web and native hosts
|
|
46
|
+
client_update_required: D,
|
|
47
|
+
capability_denied: D,
|
|
48
|
+
request_cancelled: A,
|
|
49
|
+
experience_inactive: T,
|
|
50
|
+
public_control_consent_required: D,
|
|
51
|
+
request_failed: U,
|
|
52
|
+
invalid_response: U,
|
|
53
|
+
multiplayer_unavailable: T,
|
|
54
|
+
rate_limited: T,
|
|
55
|
+
multiplayer_receipt_missing: T,
|
|
56
|
+
multiplayer_receipt_unsupported: D,
|
|
57
|
+
multiplayer_receipt_backlog: I,
|
|
58
|
+
multiplayer_receipt_invalid: U,
|
|
59
|
+
voice_host_unavailable: D,
|
|
60
|
+
native_host_required: D,
|
|
61
|
+
device_inactive: A,
|
|
62
|
+
device_permission_denied: D,
|
|
63
|
+
device_unavailable: D,
|
|
64
|
+
device_busy: T,
|
|
65
|
+
device_timeout: T,
|
|
66
|
+
device_limit: I,
|
|
67
|
+
device_limit_exceeded: I,
|
|
68
|
+
device_media_size: I,
|
|
69
|
+
device_operation_unknown: I,
|
|
70
|
+
device_invalid_request: I,
|
|
71
|
+
// Nocha API behind the reader
|
|
72
|
+
unauthorized: D,
|
|
73
|
+
identity_required: D,
|
|
74
|
+
service_unavailable: T,
|
|
75
|
+
internal_error: T,
|
|
76
|
+
not_found: I,
|
|
77
|
+
not_ready: D,
|
|
78
|
+
playback_unavailable: D,
|
|
79
|
+
experience_unpublished: T,
|
|
80
|
+
playback_changed: D,
|
|
81
|
+
playback_temporarily_unavailable: T,
|
|
82
|
+
runtime_unavailable: T,
|
|
83
|
+
authentication_required: D,
|
|
84
|
+
public_read_denied: D,
|
|
85
|
+
review_unavailable: D,
|
|
86
|
+
workspace_access_denied: D,
|
|
87
|
+
workspace_revoked: D,
|
|
88
|
+
workspace_context_required: D,
|
|
89
|
+
workspace_selection_invalid: I,
|
|
90
|
+
// Spaces of an experience that declares them (`nocha.spaces`): `space_denied` this person may not enter it,
|
|
91
|
+
// `space_not_declared` no data usage declares this kind, `team_required` no team chosen, `space_mismatch` an
|
|
92
|
+
// operation sent to a space its usage does not declare, `space_not_attached` its space is not attached yet (ask
|
|
93
|
+
// `nocha.spaces.<kind>()` first), `embedded_spaces` a creator setting the manifest now decides, `team_not_member` an
|
|
94
|
+
// `asTeam` the person may not act for (not a current member of that team, or a reference `actAsTeam` never returned).
|
|
95
|
+
space_denied: D,
|
|
96
|
+
space_not_declared: I,
|
|
97
|
+
team_required: I,
|
|
98
|
+
space_mismatch: D,
|
|
99
|
+
space_not_attached: I,
|
|
100
|
+
embedded_spaces: I,
|
|
101
|
+
team_not_member: D,
|
|
102
|
+
data_contract_incompatible: D,
|
|
103
|
+
public_control_denied: D,
|
|
104
|
+
review_external_integration_unavailable: D,
|
|
105
|
+
revision_schema_unsupported: D,
|
|
106
|
+
usage_unknown: I,
|
|
107
|
+
usage_operation_denied: I,
|
|
108
|
+
usage_resource_denied: I,
|
|
109
|
+
usage_scope_denied: I,
|
|
110
|
+
usage_cap_exceeded: B,
|
|
111
|
+
usage_public_read_denied: D,
|
|
112
|
+
usage_public_control_denied: D,
|
|
113
|
+
// Speech shared across the experience (`share: 'experience'`): the media usage does not declare `share`, a shared
|
|
114
|
+
// line names no explicit `model` and `voice`, the listener it waited on did not finish (call again with the same
|
|
115
|
+
// request and key, possibly leading it with one's own consent), or the line left the cache since it was served.
|
|
116
|
+
usage_share_denied: I,
|
|
117
|
+
shared_speech_selection_required: I,
|
|
118
|
+
shared_speech_retry: T,
|
|
119
|
+
shared_speech_expired: I,
|
|
120
|
+
// Storage
|
|
121
|
+
// `*_full`: the workspace budget is reached (free keys or records); `*_too_large`: one value exceeds its own limit.
|
|
122
|
+
state_conflict: I,
|
|
123
|
+
conflict: I,
|
|
124
|
+
memory_conflict: I,
|
|
125
|
+
database_conflict: I,
|
|
126
|
+
idempotency_conflict: I,
|
|
127
|
+
memory_full: I,
|
|
128
|
+
database_full: I,
|
|
129
|
+
memory_value_too_large: I,
|
|
130
|
+
database_record_too_large: I,
|
|
131
|
+
database_insert_limit: I,
|
|
132
|
+
database_unavailable: T,
|
|
133
|
+
// Experience search indexes (`search`): `*_full` an index or mark budget, `search_adults_only` a `people` index
|
|
134
|
+
// for a signed-in account not declared 18+, `search_asset_denied` an asset the writer did not upload in this experience.
|
|
135
|
+
search_index_unknown: I,
|
|
136
|
+
search_record_too_large: I,
|
|
137
|
+
search_index_full: I,
|
|
138
|
+
search_owner_limit: I,
|
|
139
|
+
search_conflict: I,
|
|
140
|
+
search_filter_invalid: I,
|
|
141
|
+
search_cursor_expired: I,
|
|
142
|
+
search_profile_required: I,
|
|
143
|
+
search_location_required: I,
|
|
144
|
+
search_location_rate_limited: T,
|
|
145
|
+
search_marks_full: I,
|
|
146
|
+
search_adults_only: D,
|
|
147
|
+
search_unavailable: T,
|
|
148
|
+
search_asset_denied: I,
|
|
149
|
+
// Backend pilot: an unknown outcome/deadline requires receipt reconciliation, never blind retry.
|
|
150
|
+
backend_unavailable: T,
|
|
151
|
+
backend_capacity_exceeded: T,
|
|
152
|
+
backend_budget_exhausted: D,
|
|
153
|
+
backend_route_unknown: I,
|
|
154
|
+
backend_route_owner_only: D,
|
|
155
|
+
backend_usage_denied: D,
|
|
156
|
+
backend_resource_protected: D,
|
|
157
|
+
backend_paid_capability_denied: D,
|
|
158
|
+
backend_input_invalid: I,
|
|
159
|
+
backend_output_invalid: U,
|
|
160
|
+
backend_deadline_exceeded: U,
|
|
161
|
+
backend_outcome_unknown: U,
|
|
162
|
+
backend_revision_required: D,
|
|
163
|
+
// The person's own Mac (`machine`): the `denied` codes wait for an action (pairing, consent, the Mac's settings or
|
|
164
|
+
// confirmation, an update, the operator right), never for a retry; `machine_offline` and `machine_unavailable` pass by
|
|
165
|
+
// themselves; `machine_host_unsupported` names a host or SDK without the machine streams. End-to-end terminals:
|
|
166
|
+
// `machine_device_untrusted` (the Mac has not authorized this device, revoked it, or its handshake failed: the host
|
|
167
|
+
// offers pairing) and `machine_protocol_outdated` (the Mac or the host must be updated; never a plain terminal).
|
|
168
|
+
machine_not_paired: D,
|
|
169
|
+
machine_consent_required: D,
|
|
170
|
+
machine_consent_denied: D,
|
|
171
|
+
machine_operator_required: D,
|
|
172
|
+
machine_offline: T,
|
|
173
|
+
machine_agent_incompatible: D,
|
|
174
|
+
machine_terminal_disabled: D,
|
|
175
|
+
machine_paused: D,
|
|
176
|
+
machine_confirmation_required: D,
|
|
177
|
+
machine_locked: D,
|
|
178
|
+
machine_tmux_missing: D,
|
|
179
|
+
machine_session_not_found: I,
|
|
180
|
+
machine_session_ended: I,
|
|
181
|
+
machine_limit: I,
|
|
182
|
+
machine_host_unsupported: D,
|
|
183
|
+
machine_invalid_request: I,
|
|
184
|
+
machine_unavailable: T,
|
|
185
|
+
machine_device_untrusted: D,
|
|
186
|
+
machine_protocol_outdated: D,
|
|
187
|
+
// « Établi », the Mac's projects (`workspace.*`, `files.*`, `git.*`, `agents.*`), worded in `machineWorkspaceErrorMessages`.
|
|
188
|
+
machine_workspace_disabled: D,
|
|
189
|
+
machine_root_not_found: I,
|
|
190
|
+
machine_path_denied: D,
|
|
191
|
+
machine_path_not_found: I,
|
|
192
|
+
machine_path_exists: I,
|
|
193
|
+
machine_too_large: I,
|
|
194
|
+
machine_git_unavailable: D,
|
|
195
|
+
machine_git_not_repository: I,
|
|
196
|
+
machine_git_failed: I,
|
|
197
|
+
machine_agent_unavailable: D,
|
|
198
|
+
machine_conversation_not_found: I,
|
|
199
|
+
machine_interaction_not_found: I,
|
|
200
|
+
// Personal connected accounts
|
|
201
|
+
connector_not_granted: D,
|
|
202
|
+
connector_scope_missing: D,
|
|
203
|
+
connector_reauthorization_required: D,
|
|
204
|
+
connector_unavailable: T,
|
|
205
|
+
connectors_unavailable: T,
|
|
206
|
+
connector_failed: I,
|
|
207
|
+
connector_uncertain: U,
|
|
208
|
+
connector_confirmation_required: D,
|
|
209
|
+
quota_exceeded: T,
|
|
210
|
+
// Managed network
|
|
211
|
+
network_unavailable: T,
|
|
212
|
+
network_declaration_required: I,
|
|
213
|
+
network_revision_required: D,
|
|
214
|
+
network_method_denied: I,
|
|
215
|
+
network_path_invalid: I,
|
|
216
|
+
network_body_invalid: I,
|
|
217
|
+
network_asset_integrity: U,
|
|
218
|
+
network_outcome_unknown: U,
|
|
219
|
+
network_access_denied: D,
|
|
220
|
+
network_rate_limited: T,
|
|
221
|
+
network_destination_invalid: I,
|
|
222
|
+
network_destination_private: I,
|
|
223
|
+
network_redirect_denied: I,
|
|
224
|
+
network_response_too_large: I,
|
|
225
|
+
network_timeout: U,
|
|
226
|
+
network_transport_failed: U,
|
|
227
|
+
// Owner-keyed recipients: no key the owner confirmed for this declaration (or a working revision outside the owner's
|
|
228
|
+
// session), no secret key on this host, the owner's hourly quota or this account's share of it, a keyed response
|
|
229
|
+
// that is not plain text; `network_asset_busy`: too many remote files downloading at once.
|
|
230
|
+
network_secret_missing: D,
|
|
231
|
+
network_secrets_unavailable: D,
|
|
232
|
+
network_secret_quota: T,
|
|
233
|
+
network_secret_unsafe_response: U,
|
|
234
|
+
network_asset_busy: T,
|
|
235
|
+
// Notifications sent to a player
|
|
236
|
+
notifications_unavailable: D,
|
|
237
|
+
notifications_disabled: D,
|
|
238
|
+
notifications_rate_limited: T,
|
|
239
|
+
notifications_not_declared: I,
|
|
240
|
+
// Triggers, automations and the experience inbox
|
|
241
|
+
inbox_unavailable: D,
|
|
242
|
+
inbox_full: I,
|
|
243
|
+
inbox_event_not_found: I,
|
|
244
|
+
trigger_not_found: I,
|
|
245
|
+
trigger_disabled: D,
|
|
246
|
+
trigger_limit_reached: I,
|
|
247
|
+
trigger_managed_by_mail: I,
|
|
248
|
+
trigger_slug_taken: I,
|
|
249
|
+
workspace_unavailable: I,
|
|
250
|
+
automation_schedule_invalid: I,
|
|
251
|
+
automation_rate_limited: T,
|
|
252
|
+
// The person's Drive, through the host dialog: `sign_in_required` asks a visitor to sign in first;
|
|
253
|
+
// `drive_unavailable` names a host without the Drive (nocha dev, a standalone page); `drive_read_only` a save to a
|
|
254
|
+
// read-only library, refused like `drive_forbidden`; `drive_mount_unavailable` a library that does not answer.
|
|
255
|
+
drive_unavailable: D,
|
|
256
|
+
sign_in_required: D,
|
|
257
|
+
drive_forbidden: D,
|
|
258
|
+
drive_read_only: D,
|
|
259
|
+
drive_not_found: I,
|
|
260
|
+
drive_name_conflict: I,
|
|
261
|
+
drive_invalid_name: I,
|
|
262
|
+
drive_unsupported_type: I,
|
|
263
|
+
drive_upload_expired: T,
|
|
264
|
+
drive_file_too_large: I,
|
|
265
|
+
drive_mount_unavailable: T,
|
|
266
|
+
// Experience mail
|
|
267
|
+
mail_unavailable: D,
|
|
268
|
+
mail_disabled: D,
|
|
269
|
+
mail_recipient_not_allowed: I,
|
|
270
|
+
mail_reply_expired: I,
|
|
271
|
+
mail_too_large: I,
|
|
272
|
+
mail_rate_limited: T,
|
|
273
|
+
mail_sender_not_allowed: D,
|
|
274
|
+
mail_send_failed: U,
|
|
275
|
+
mail_workspace_not_allowed: I,
|
|
276
|
+
// Experience places: the capability is absent on this host (or this is not the published play); a refused point.
|
|
277
|
+
places_unavailable: T,
|
|
278
|
+
invalid_places: I,
|
|
279
|
+
place_removed: I,
|
|
280
|
+
place_limit: I,
|
|
281
|
+
place_keyword_unknown: I,
|
|
282
|
+
// Public profiles (`profiles`): the capability is absent on this host.
|
|
283
|
+
profiles_unavailable: T,
|
|
284
|
+
// Swipe excerpts: absent on this host (or not the published play); a player who is not the owner or an editor; a refused excerpt.
|
|
285
|
+
excerpts_unavailable: D,
|
|
286
|
+
excerpts_forbidden: D,
|
|
287
|
+
invalid_excerpts: I,
|
|
288
|
+
excerpt_removed: I,
|
|
289
|
+
excerpt_limit: I,
|
|
290
|
+
excerpt_keyword_unknown: I,
|
|
291
|
+
// The person's library (`library`, served by the web host): `library_inactive` a frame the host did not mount as the
|
|
292
|
+
// account's interface (an ordinary player, the app, offline, `nocha dev`: show a demo); `library_unavailable` a read
|
|
293
|
+
// of the host that failed; `invalid_input` an input the host refuses; `activation_required` an `open` without a gesture.
|
|
294
|
+
library_inactive: D,
|
|
295
|
+
library_unavailable: T,
|
|
296
|
+
invalid_input: I,
|
|
297
|
+
activation_required: D,
|
|
298
|
+
// Calls between experiences (`experiences`, relayed by the web host): `experience_call_unavailable` a host without the
|
|
299
|
+
// relay or an experience that exposes nothing here (`available()` then answers false); `experience_call_denied` an
|
|
300
|
+
// undeclared call or one the called experience does not admit; `experience_call_consent_refused` the person refused
|
|
301
|
+
// (nothing is kept); `experience_call_quota` too many calls for now; `experience_call_failed` the called experience
|
|
302
|
+
// failed, timed out or answered outside its schema; `experience_call_invalid` an input outside the declared schema.
|
|
303
|
+
experience_call_unavailable: D,
|
|
304
|
+
experience_call_denied: D,
|
|
305
|
+
experience_call_consent_refused: D,
|
|
306
|
+
experience_call_quota: T,
|
|
307
|
+
experience_call_failed: T,
|
|
308
|
+
experience_call_invalid: I,
|
|
309
|
+
// A swipe experience (`nocha.host`, served by the host): `host_inactive` a frame the host did not mount as the swipe
|
|
310
|
+
// experience (an ordinary player, `nocha dev`, an older host: show a demo); `hosting_restricted` a revision declaring
|
|
311
|
+
// `hosts` that its owner may not publish yet (reserved to Nocha's main account until the operator opens it).
|
|
312
|
+
host_inactive: D,
|
|
313
|
+
hosting_restricted: D,
|
|
314
|
+
// Workflow module calls (`nocha.module`, only inside a host's workflow run, never `nocha dev` nor `/playback/invoke`):
|
|
315
|
+
// a host that delivers none, a call this host does not hold, a spend beyond what is left of the call's confirmed budget
|
|
316
|
+
module_unavailable: D,
|
|
317
|
+
module_call_unknown: I,
|
|
318
|
+
module_budget_exhausted: B,
|
|
319
|
+
// Automation allowance and overage billing
|
|
320
|
+
automation_allowance_exhausted: B,
|
|
321
|
+
automation_billing_blocked: B,
|
|
322
|
+
// Declarative workflows (`automations`): activation, effectful tests and publication need the host's confirmation
|
|
323
|
+
automations_unavailable: T,
|
|
324
|
+
workflow_host_confirmation_required: D,
|
|
325
|
+
workflow_published_revision_required: D,
|
|
326
|
+
workflow_account_required: D,
|
|
327
|
+
workflow_limit_reached: B,
|
|
328
|
+
workflow_version_conflict: I,
|
|
329
|
+
workflow_consent_expired: I,
|
|
330
|
+
workflow_invalid: I,
|
|
331
|
+
// Developer API keys
|
|
332
|
+
api_key_not_allowed: D,
|
|
333
|
+
api_key_scope_denied: D,
|
|
334
|
+
api_key_experience_denied: D,
|
|
335
|
+
api_key_expired: D,
|
|
336
|
+
api_key_revoked: D,
|
|
337
|
+
api_key_watchirl_unavailable: D,
|
|
338
|
+
api_key_limit_reached: I,
|
|
339
|
+
// Self-hosted experience server API: a browser caller, a token to ask the page again for (`revision_changed`: minted
|
|
340
|
+
// for an older revision), a capability or usage the served revision does not allow, `frame.external` not granted
|
|
341
|
+
browser_request_refused: D,
|
|
342
|
+
player_token_invalid: D,
|
|
343
|
+
revision_changed: D,
|
|
344
|
+
capability_not_allowed: D,
|
|
345
|
+
usage_not_declared: I,
|
|
346
|
+
external_hosting_pending: D,
|
|
347
|
+
rate_limit_unavailable: T,
|
|
348
|
+
// AI and spending
|
|
349
|
+
experience_authorization_required: B,
|
|
350
|
+
experience_cap_exhausted: B,
|
|
351
|
+
credit_exhausted: B,
|
|
352
|
+
review_budget_exhausted: B,
|
|
353
|
+
review_spending_not_authorized: B,
|
|
354
|
+
generation_quote_expired: B,
|
|
355
|
+
generation_quote_conflict: B,
|
|
356
|
+
spend_settlement_conflict: B,
|
|
357
|
+
spend_reconciliation_required: B,
|
|
358
|
+
spend_authorization_pending: B,
|
|
359
|
+
participant_daily_cap_reached: B,
|
|
360
|
+
paid_consent_required: B,
|
|
361
|
+
spend_journal_failed: U,
|
|
362
|
+
spend_busy: T,
|
|
363
|
+
intelligence_unavailable: T,
|
|
364
|
+
generation_paused: T,
|
|
365
|
+
pricing_unavailable: T,
|
|
366
|
+
generation_estimate_unavailable: T,
|
|
367
|
+
generation_options_unavailable: T,
|
|
368
|
+
data_consent_unavailable: T,
|
|
369
|
+
generation_failed: U,
|
|
370
|
+
generation_budget_exceeded: I,
|
|
371
|
+
operation_retired: I,
|
|
372
|
+
generation_effort_conflict: I,
|
|
373
|
+
generation_effort_unavailable: I,
|
|
374
|
+
generation_policy_required: I,
|
|
375
|
+
// Speech model and voice selection: refused before any operation or charge; `voice_preview_unavailable`: this voice
|
|
376
|
+
// has no free sample here (auditioning it costs a synthesis); `voice_favorites_limit`: the participant's favourite
|
|
377
|
+
// voices are full (`ai.voiceFavoritesUpdate`)
|
|
378
|
+
model_unavailable: I,
|
|
379
|
+
voice_unavailable: I,
|
|
380
|
+
voice_preview_unavailable: I,
|
|
381
|
+
generation_model_conflict: I,
|
|
382
|
+
voice_favorites_limit: I,
|
|
383
|
+
// Voice calls, refused by the host: an unknown or ended call, a previous call's settlement still open, another call
|
|
384
|
+
// starting, an invalid start, consent or microphone refused, a call superseded by a newer start or a closing
|
|
385
|
+
// document, an invalid answer from the call service, a session that must be started again.
|
|
386
|
+
voice_call_not_found: I,
|
|
387
|
+
voice_call_reconciliation_required: B,
|
|
388
|
+
voice_call_busy: T,
|
|
389
|
+
voice_call_input_invalid: I,
|
|
390
|
+
voice_call_consent_required: D,
|
|
391
|
+
voice_call_microphone_denied: D,
|
|
392
|
+
voice_call_obsolete: A,
|
|
393
|
+
voice_call_result_invalid: U,
|
|
394
|
+
voice_call_restart_required: I,
|
|
395
|
+
generation_usage_unknown: I,
|
|
396
|
+
generation_not_found: I,
|
|
397
|
+
generation_request_conflict: I,
|
|
398
|
+
spend_request_conflict: I,
|
|
399
|
+
media_idempotency_conflict: I,
|
|
400
|
+
realtime_in_progress: I,
|
|
401
|
+
experience_revision_changed: D,
|
|
402
|
+
// Media
|
|
403
|
+
media_unavailable: T,
|
|
404
|
+
media_usage_required: I,
|
|
405
|
+
media_usage_denied: D,
|
|
406
|
+
media_access_denied: D,
|
|
407
|
+
media_retention_denied: D,
|
|
408
|
+
media_reference_denied: D,
|
|
409
|
+
media_not_found: I,
|
|
410
|
+
media_recovery_required: D,
|
|
411
|
+
media_too_large: I,
|
|
412
|
+
media_reference_too_large: I,
|
|
413
|
+
media_unsupported: I,
|
|
414
|
+
media_reference_unsupported: I,
|
|
415
|
+
media_invalid_resource: U,
|
|
416
|
+
media_resource_conflict: I,
|
|
417
|
+
erasure_changed: I,
|
|
418
|
+
media_unsupported_host: D,
|
|
419
|
+
playback_unsupported_host: D,
|
|
420
|
+
// A media a record or a film still cites, which removing it would break; the experience's media storage is full.
|
|
421
|
+
media_cited: I,
|
|
422
|
+
media_storage_full: I,
|
|
423
|
+
// Live camera and microphone (`device.media`): outside the experience's own address, a visitor to sign in, a refused
|
|
424
|
+
// permission, a device in use (or a hidden page), no device at all. `describeLiveMediaFailure` words each one.
|
|
425
|
+
media_requires_experience_host: D,
|
|
426
|
+
media_sign_in_required: D,
|
|
427
|
+
media_permission_denied: D,
|
|
428
|
+
media_device_busy: T,
|
|
429
|
+
media_device_missing: D,
|
|
430
|
+
video_recovery_unavailable: T,
|
|
431
|
+
video_request_refused: D,
|
|
432
|
+
video_recovery_required: D,
|
|
433
|
+
// Video
|
|
434
|
+
video_unavailable: T,
|
|
435
|
+
video_connection_required: D,
|
|
436
|
+
video_media_unauthorized: D,
|
|
437
|
+
video_media_unavailable: T,
|
|
438
|
+
video_invalid_response: U,
|
|
439
|
+
video_generation_not_found: I,
|
|
440
|
+
video_not_ready: T,
|
|
441
|
+
video_request_failed: T,
|
|
442
|
+
video_data_unavailable: T,
|
|
443
|
+
video_connection_unavailable: T,
|
|
444
|
+
clipping_unavailable: T,
|
|
445
|
+
clipping_not_found: I,
|
|
446
|
+
invalid_media_usage: I,
|
|
447
|
+
provider_unavailable: T,
|
|
448
|
+
studio_references_unavailable: T,
|
|
449
|
+
media_reference_copy_unavailable: T,
|
|
450
|
+
creator_attribution_unavailable: T,
|
|
451
|
+
transfers_unavailable: T,
|
|
452
|
+
video_consent_required: B,
|
|
453
|
+
video_project_payer_unsupported: D,
|
|
454
|
+
workflow_unknown: I,
|
|
455
|
+
workflow_unsupported: I,
|
|
456
|
+
// The participant's own Tripirl projects (`video.projects.*`): refused to this experience, gone, changed since the
|
|
457
|
+
// revision shown, still running a film, or a setting that cannot change; an action the project's state refuses now
|
|
458
|
+
// (`actions.*.reason`: work running, nothing to resume, already finished, nothing to cancel).
|
|
459
|
+
video_projects_not_allowed: D,
|
|
460
|
+
project_not_found: I,
|
|
461
|
+
revision_conflict: I,
|
|
462
|
+
generation_not_terminal: I,
|
|
463
|
+
setting_not_editable: I,
|
|
464
|
+
video_project_running: I,
|
|
465
|
+
video_project_nothing_to_resume: I,
|
|
466
|
+
video_project_already_finished: I,
|
|
467
|
+
video_project_not_running: I,
|
|
468
|
+
// `video.projects.addReference`: an asset that is not the participant's own, a file Tripirl cannot read as a video.
|
|
469
|
+
video_reference_asset_not_found: I,
|
|
470
|
+
video_reference_refused: I,
|
|
471
|
+
// Mac hardware
|
|
472
|
+
hardware_unavailable: T,
|
|
473
|
+
hardware_invalid_response: U,
|
|
474
|
+
hardware_owner_required: D,
|
|
475
|
+
hardware_connection_required: D,
|
|
476
|
+
hardware_hue_connection_required: D,
|
|
477
|
+
hardware_leds_connection_required: D,
|
|
478
|
+
hardware_audio_connection_required: D,
|
|
479
|
+
hardware_connection_changed: D,
|
|
480
|
+
hardware_access_revoked: D,
|
|
481
|
+
hardware_access_denied: D,
|
|
482
|
+
hardware_device_denied: D,
|
|
483
|
+
hardware_host_unavailable: D,
|
|
484
|
+
hardware_agent_incompatible: D,
|
|
485
|
+
hardware_hue_setup_required: D,
|
|
486
|
+
hardware_audio_setup_required: D,
|
|
487
|
+
hardware_audio_transcription_denied: D,
|
|
488
|
+
hardware_audio_quota_exceeded: B,
|
|
489
|
+
hardware_invalid_request: I,
|
|
490
|
+
hardware_audio_capture_not_found: I,
|
|
491
|
+
hardware_audio_device_not_found: I,
|
|
492
|
+
hardware_audio_busy: I,
|
|
493
|
+
hardware_rate_limited: T,
|
|
494
|
+
hardware_host_offline: T,
|
|
495
|
+
hardware_leds_unreachable: T,
|
|
496
|
+
hardware_hue_network: T,
|
|
497
|
+
hardware_hue_unavailable: T,
|
|
498
|
+
hardware_device_service_unavailable: T,
|
|
499
|
+
hardware_audio_unreachable: T,
|
|
500
|
+
hardware_audio_unavailable: T,
|
|
501
|
+
hardware_audio_transcription_unavailable: T,
|
|
502
|
+
hardware_audio_source_missing: D,
|
|
503
|
+
hardware_audio_format_unsupported: D,
|
|
504
|
+
hardware_desktop_connection_required: D,
|
|
505
|
+
DESKTOP_DISABLED: D,
|
|
506
|
+
DESKTOP_UNSUPPORTED_PLATFORM: D,
|
|
507
|
+
DESKTOP_AUTOMATION_DENIED: D,
|
|
508
|
+
DESKTOP_TERMINAL_UNAVAILABLE: T,
|
|
509
|
+
DESKTOP_AGENT_UNKNOWN: I,
|
|
510
|
+
DESKTOP_DICTATION_UNAVAILABLE: T,
|
|
511
|
+
DESKTOP_COMMAND_FAILED: U,
|
|
512
|
+
// Local development (nocha dev)
|
|
513
|
+
development_unavailable: T,
|
|
514
|
+
development_expired: T,
|
|
515
|
+
request_timeout: T,
|
|
516
|
+
topic_limit: I
|
|
517
|
+
};
|
|
518
|
+
function isNochaErrorCode(value) {
|
|
519
|
+
return typeof value === "string" && Object.hasOwn(nochaErrorClasses, value);
|
|
520
|
+
}
|
|
521
|
+
var hostUnavailableErrorCodes = [
|
|
522
|
+
"bridge_unavailable",
|
|
523
|
+
"native_host_required",
|
|
524
|
+
"client_update_required",
|
|
525
|
+
"navigation_unavailable",
|
|
526
|
+
"voice_host_unavailable",
|
|
527
|
+
"media_unsupported_host",
|
|
528
|
+
"notifications_unavailable",
|
|
529
|
+
"drive_unavailable",
|
|
530
|
+
"media_requires_experience_host",
|
|
531
|
+
"library_inactive",
|
|
532
|
+
"experience_call_unavailable",
|
|
533
|
+
"host_inactive"
|
|
534
|
+
];
|
|
535
|
+
var unknownOutcomeErrorCodes = [
|
|
536
|
+
"invocation_timed_out",
|
|
537
|
+
"network_outcome_unknown",
|
|
538
|
+
"network_timeout",
|
|
539
|
+
"spend_journal_failed"
|
|
540
|
+
];
|
|
541
|
+
var machineErrorCodes = [
|
|
542
|
+
"machine_not_paired",
|
|
543
|
+
"machine_consent_required",
|
|
544
|
+
"machine_consent_denied",
|
|
545
|
+
"machine_operator_required",
|
|
546
|
+
"machine_offline",
|
|
547
|
+
"machine_agent_incompatible",
|
|
548
|
+
"machine_terminal_disabled",
|
|
549
|
+
"machine_paused",
|
|
550
|
+
"machine_confirmation_required",
|
|
551
|
+
"machine_locked",
|
|
552
|
+
"machine_tmux_missing",
|
|
553
|
+
"machine_session_not_found",
|
|
554
|
+
"machine_session_ended",
|
|
555
|
+
"machine_limit",
|
|
556
|
+
"machine_host_unsupported",
|
|
557
|
+
"machine_invalid_request",
|
|
558
|
+
"machine_unavailable",
|
|
559
|
+
"machine_workspace_disabled",
|
|
560
|
+
"machine_root_not_found",
|
|
561
|
+
"machine_path_denied",
|
|
562
|
+
"machine_path_not_found",
|
|
563
|
+
"machine_path_exists",
|
|
564
|
+
"machine_too_large",
|
|
565
|
+
"machine_git_unavailable",
|
|
566
|
+
"machine_git_not_repository",
|
|
567
|
+
"machine_git_failed",
|
|
568
|
+
"machine_agent_unavailable",
|
|
569
|
+
"machine_conversation_not_found",
|
|
570
|
+
"machine_interaction_not_found",
|
|
571
|
+
"machine_device_untrusted",
|
|
572
|
+
"machine_protocol_outdated"
|
|
573
|
+
];
|
|
574
|
+
var machineWorkspaceErrorMessages = {
|
|
575
|
+
machine_workspace_disabled: { fr: "\xC9tabli est d\xE9sactiv\xE9 sur ce Mac : activez-le dans Nocha, sur la page Ce Mac.", en: "\xC9tabli is off on this Mac: turn it on in Nocha, on the This Mac page." },
|
|
576
|
+
machine_root_not_found: { fr: "Ce dossier n\u2019est plus autoris\xE9 sur le Mac, ou il a \xE9t\xE9 d\xE9plac\xE9.", en: "This folder is no longer allowed on the Mac, or it was moved." },
|
|
577
|
+
machine_path_denied: { fr: "Acc\xE8s refus\xE9 : fichier sensible ou chemin hors des dossiers autoris\xE9s.", en: "Access denied: a sensitive file or a path outside the allowed folders." },
|
|
578
|
+
machine_path_not_found: { fr: "Ce fichier ou ce dossier n\u2019existe pas.", en: "This file or folder does not exist." },
|
|
579
|
+
machine_path_exists: { fr: "Un fichier ou un dossier porte d\xE9j\xE0 ce nom.", en: "A file or folder already has this name." },
|
|
580
|
+
machine_too_large: { fr: "Trop volumineux pour \xC9tabli.", en: "Too large for \xC9tabli." },
|
|
581
|
+
machine_git_unavailable: { fr: "Git est introuvable sur ce Mac.", en: "Git is not available on this Mac." },
|
|
582
|
+
machine_git_not_repository: { fr: "Ce dossier n\u2019est pas un d\xE9p\xF4t Git.", en: "This folder is not a Git repository." },
|
|
583
|
+
machine_git_failed: { fr: "Git a refus\xE9 l\u2019op\xE9ration.", en: "Git refused the operation." },
|
|
584
|
+
machine_agent_unavailable: { fr: "Cet agent n\u2019est pas disponible sur ce Mac : activez-le et installez une version prise en charge.", en: "This agent is not available on this Mac: turn it on and install a supported version." },
|
|
585
|
+
machine_conversation_not_found: { fr: "Cette conversation n\u2019existe plus.", en: "This conversation no longer exists." },
|
|
586
|
+
machine_interaction_not_found: { fr: "Cette demande n\u2019attend plus de r\xE9ponse.", en: "This request no longer awaits an answer." }
|
|
587
|
+
};
|
|
588
|
+
var machineStreamIdentityCodes = ["unauthorized", "identity_required", "sign_in_required"];
|
|
589
|
+
var experienceBackendErrorCodes = [
|
|
590
|
+
"invalid_request",
|
|
591
|
+
"identity_required",
|
|
592
|
+
"workspace_access_denied",
|
|
593
|
+
"usage_unknown",
|
|
594
|
+
"usage_operation_denied",
|
|
595
|
+
"usage_resource_denied",
|
|
596
|
+
"idempotency_conflict",
|
|
597
|
+
"database_conflict",
|
|
598
|
+
"backend_unavailable",
|
|
599
|
+
"backend_capacity_exceeded",
|
|
600
|
+
"backend_budget_exhausted",
|
|
601
|
+
"backend_route_unknown",
|
|
602
|
+
"backend_route_owner_only",
|
|
603
|
+
"backend_usage_denied",
|
|
604
|
+
"backend_resource_protected",
|
|
605
|
+
"backend_paid_capability_denied",
|
|
606
|
+
"backend_input_invalid",
|
|
607
|
+
"backend_output_invalid",
|
|
608
|
+
"backend_deadline_exceeded",
|
|
609
|
+
"backend_outcome_unknown",
|
|
610
|
+
"backend_revision_required",
|
|
611
|
+
"search_index_unknown",
|
|
612
|
+
"search_record_too_large",
|
|
613
|
+
"search_index_full",
|
|
614
|
+
"search_owner_limit",
|
|
615
|
+
"search_conflict",
|
|
616
|
+
"search_filter_invalid",
|
|
617
|
+
"search_cursor_expired",
|
|
618
|
+
"search_profile_required",
|
|
619
|
+
"search_location_required",
|
|
620
|
+
"search_adults_only",
|
|
621
|
+
"search_unavailable",
|
|
622
|
+
"search_asset_denied"
|
|
623
|
+
];
|
|
624
|
+
|
|
625
|
+
// src/errors.ts
|
|
626
|
+
var genericCodes = /* @__PURE__ */ new Set(["invocation_failed", "request_failed", "unknown_error"]);
|
|
627
|
+
var hostRetryable = /* @__PURE__ */ new WeakMap();
|
|
628
|
+
var NochaError = class extends Error {
|
|
629
|
+
code;
|
|
630
|
+
wireCode;
|
|
631
|
+
trace_id;
|
|
632
|
+
correlation_id;
|
|
633
|
+
operation_id;
|
|
634
|
+
idempotency_key;
|
|
635
|
+
details;
|
|
636
|
+
constructor(code, message, metadata = {}) {
|
|
637
|
+
super(message);
|
|
638
|
+
this.name = "NochaError";
|
|
639
|
+
const known = isNochaErrorCode(code);
|
|
640
|
+
this.code = known ? code : "unknown_error";
|
|
641
|
+
const wireCode = metadata.wireCode ?? (known ? void 0 : String(code));
|
|
642
|
+
if (wireCode !== void 0 && wireCode !== this.code) this.wireCode = wireCode;
|
|
643
|
+
if (metadata.trace_id !== void 0) this.trace_id = metadata.trace_id;
|
|
644
|
+
if (metadata.correlation_id !== void 0) this.correlation_id = metadata.correlation_id;
|
|
645
|
+
if (metadata.operation_id !== void 0) this.operation_id = metadata.operation_id;
|
|
646
|
+
if (metadata.idempotency_key !== void 0) this.idempotency_key = metadata.idempotency_key;
|
|
647
|
+
if (metadata.details !== void 0) this.details = Object.freeze({ ...metadata.details });
|
|
648
|
+
hostRetryable.set(this, metadata.retryable === true);
|
|
649
|
+
}
|
|
650
|
+
/** True when retrying later, with the same idempotency key, can succeed. */
|
|
651
|
+
get retryable() {
|
|
652
|
+
return classifyError(this) === "transient";
|
|
653
|
+
}
|
|
654
|
+
};
|
|
655
|
+
function isNochaError(value) {
|
|
656
|
+
return value instanceof NochaError || value instanceof Error && value.name === "NochaError" && typeof value.code === "string";
|
|
657
|
+
}
|
|
658
|
+
function classifyError(error) {
|
|
659
|
+
if (!isNochaError(error)) {
|
|
660
|
+
return error !== null && typeof error === "object" && error.name === "AbortError" ? "aborted" : "unknown";
|
|
661
|
+
}
|
|
662
|
+
const code = isNochaErrorCode(error.code) ? error.code : "unknown_error";
|
|
663
|
+
if (genericCodes.has(code)) return hostRetryable.get(error) === true ? "transient" : "unknown";
|
|
664
|
+
return nochaErrorClasses[code];
|
|
665
|
+
}
|
|
666
|
+
function wireError(value, fallback = { code: "invocation_failed", message: "Nocha invocation failed" }) {
|
|
667
|
+
const error = value !== null && typeof value === "object" && !Array.isArray(value) ? value : {};
|
|
668
|
+
const raw = typeof error.code === "string" && error.code ? error.code : fallback.code;
|
|
669
|
+
const known = isNochaErrorCode(raw);
|
|
670
|
+
return new NochaError(known ? raw : "unknown_error", typeof error.message === "string" ? error.message : fallback.message, {
|
|
671
|
+
retryable: error.retryable === true,
|
|
672
|
+
...known ? {} : { wireCode: raw },
|
|
673
|
+
...typeof error.trace_id === "string" ? { trace_id: error.trace_id } : {},
|
|
674
|
+
...typeof error.correlation_id === "string" ? { correlation_id: error.correlation_id } : {},
|
|
675
|
+
...error.details !== null && typeof error.details === "object" && !Array.isArray(error.details) ? { details: error.details } : {}
|
|
676
|
+
});
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
// src/experience-context-types.ts
|
|
680
|
+
var experienceHostKinds = ["web", "mac", "ios", "android"];
|
|
681
|
+
function isExperienceHostKind(value) {
|
|
682
|
+
return typeof value === "string" && experienceHostKinds.includes(value);
|
|
683
|
+
}
|
|
684
|
+
function isExperienceContext(value) {
|
|
685
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) return false;
|
|
686
|
+
const device = value.device;
|
|
687
|
+
if (!device || typeof device !== "object" || Array.isArray(device)) return false;
|
|
688
|
+
const { type, platform, sessionId } = device;
|
|
689
|
+
return typeof type === "string" && ["phone", "tablet", "desktop", "unknown"].includes(type) && typeof platform === "string" && ["ios", "android", "web"].includes(platform) && typeof sessionId === "string" && /^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$/i.test(sessionId);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// src/language-match.ts
|
|
693
|
+
var EXPERIENCE_LANGUAGE_PATTERN = /^[a-z]{2,3}(?:-[A-Z]{2})?$/;
|
|
694
|
+
function isExperienceLanguage(value) {
|
|
695
|
+
return typeof value === "string" && EXPERIENCE_LANGUAGE_PATTERN.test(value);
|
|
696
|
+
}
|
|
697
|
+
var tag = (value) => value.trim().replaceAll("_", "-").toLowerCase();
|
|
698
|
+
var primary = (value) => value.split("-")[0];
|
|
699
|
+
function matchExperienceLanguage(preferences, available) {
|
|
700
|
+
const offered = available.filter((language) => typeof language === "string").map((language) => ({ language, tag: tag(language) }));
|
|
701
|
+
for (const preference of preferences) {
|
|
702
|
+
if (typeof preference !== "string" || !preference.trim()) continue;
|
|
703
|
+
const wanted = tag(preference), base2 = primary(wanted);
|
|
704
|
+
const match = offered.find((item) => item.tag === wanted) ?? offered.find((item) => item.tag === base2) ?? offered.find((item) => primary(item.tag) === base2);
|
|
705
|
+
if (match) return match.language;
|
|
706
|
+
}
|
|
707
|
+
return null;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
// src/backend-runtime.ts
|
|
711
|
+
var EXPERIENCE_BACKEND_PROFILE = "pilot-atomic";
|
|
712
|
+
var EXPERIENCE_BACKEND_RUNNER_ABI = "nocha.backend.v1";
|
|
713
|
+
|
|
714
|
+
// src/types/assets-wire.ts
|
|
715
|
+
var assetMediaTypes = ["image/jpeg", "image/png", "image/webp", "audio/mpeg", "audio/wav", "audio/flac", "audio/ogg", "video/mp4", "video/quicktime"];
|
|
716
|
+
var ASSET_MEDIA_MAX_BYTES = 64 * 1024 * 1024;
|
|
717
|
+
var ASSET_VIDEO_MAX_BYTES = 1024 * 1024 * 1024;
|
|
718
|
+
var GENERATED_VIDEO_MEDIA_MAX_BYTES = 256 * 1024 * 1024;
|
|
719
|
+
var assetMediaMaxBytes = (type) => type === "video/mp4" || type === "video/quicktime" ? ASSET_VIDEO_MAX_BYTES : ASSET_MEDIA_MAX_BYTES;
|
|
720
|
+
|
|
721
|
+
// src/backend-media.ts
|
|
722
|
+
var backendMediaStoreContentTypes = Object.freeze([
|
|
723
|
+
"video/mp4",
|
|
724
|
+
"video/quicktime",
|
|
725
|
+
"audio/mpeg",
|
|
726
|
+
"audio/wav",
|
|
727
|
+
"image/jpeg",
|
|
728
|
+
"image/png",
|
|
729
|
+
"image/webp"
|
|
730
|
+
]);
|
|
731
|
+
var backendMediaStoreMaxBytes = ASSET_VIDEO_MAX_BYTES;
|
|
732
|
+
var backendMediaStorePathPattern = /^\/tmp\/(?:[A-Za-z0-9._-]+\/){0,8}[A-Za-z0-9._-]{1,200}$/;
|
|
733
|
+
var backendMediaStoreNamePattern = /^[A-Za-z0-9._ -]{1,120}$/;
|
|
734
|
+
var backendMediaGrantStoreTimeoutMs = 15 * 60 * 1e3;
|
|
735
|
+
var backendMediaStoreHeaders = Object.freeze({
|
|
736
|
+
receipt: "x-nocha-receipt",
|
|
737
|
+
usage: "x-nocha-usage",
|
|
738
|
+
name: "x-nocha-name",
|
|
739
|
+
sha256: "x-nocha-sha256"
|
|
740
|
+
});
|
|
741
|
+
|
|
742
|
+
// src/operation-waiting.ts
|
|
743
|
+
var operationWaiting = {
|
|
744
|
+
default: 15e3,
|
|
745
|
+
access: { request: 3e5 },
|
|
746
|
+
// `attach` may wait for the host's sign-in proposal or its team choice.
|
|
747
|
+
spaces: { default: 15e3, attach: 3e5 },
|
|
748
|
+
// `open` waits for the person in the host's screen (a panel may stay open a while).
|
|
749
|
+
screens: { default: 15e3, open: 18e5 },
|
|
750
|
+
// One multiplayer call may refresh credentials, connect (20 s) then run a command (10 s).
|
|
751
|
+
multiplayer: { default: 35e3 },
|
|
752
|
+
// HTTPS transport 10 s plus two revision checks and the idempotency receipt.
|
|
753
|
+
network: { default: 2e4 },
|
|
754
|
+
// Attachment uploads stream up to 64 MiB through the host. assets.media is not an operation: its host acknowledges at
|
|
755
|
+
// once, asks assets.read for a read grant, then reads at most 64 MiB (256 MiB for a generated MP4) and stops any read
|
|
756
|
+
// after 15 minutes.
|
|
757
|
+
assets: { default: 6e4, uploadAttachment: 10 * 6e4, media: 10 * 6e4, "media.firstReply": 15e3 },
|
|
758
|
+
// video.media is not an operation: its host acknowledges at once, calls video.get, then streams at most
|
|
759
|
+
// 256 MiB and stops any read after 15 minutes.
|
|
760
|
+
video: { default: 3e4, "clipping.uploadSource": 31 * 6e4, media: 10 * 6e4, "media.firstReply": 15e3, "projects.addReference": 6 * 6e4 },
|
|
761
|
+
// Mac calls: 25 s, transcription 150 s.
|
|
762
|
+
hardware: { default: 35e3, "audio.transcribe": 165e3 },
|
|
763
|
+
// decide: 8 s provider deadline plus up to 5 s settlement; voice.start waits for host consent.
|
|
764
|
+
ai: { default: 3e4, decide: 2e4, "voice.start": 12e4, "voice.state": 15e3 },
|
|
765
|
+
// Device operations may wait for a consent sheet or a system picker.
|
|
766
|
+
device: {
|
|
767
|
+
default: 18e4,
|
|
768
|
+
availability: 15e3,
|
|
769
|
+
"haptics.trigger": 15e3,
|
|
770
|
+
"haptics.pattern": 15e3,
|
|
771
|
+
"haptics.stop": 15e3,
|
|
772
|
+
"camera.stream": 3e5,
|
|
773
|
+
"microphone.stream": 3e5,
|
|
774
|
+
"motion.unsubscribe": 15e3,
|
|
775
|
+
"notifications.list": 15e3,
|
|
776
|
+
"notifications.cancel": 15e3,
|
|
777
|
+
"alarms.list": 15e3,
|
|
778
|
+
"alarms.cancel": 15e3
|
|
779
|
+
},
|
|
780
|
+
// Consent resolution and the queued request, without waiting for any device delivery.
|
|
781
|
+
notifications: { default: 2e4 },
|
|
782
|
+
// The person chooses in the host's Drive dialog (up to 3 minutes), then the host moves up to 64 MiB.
|
|
783
|
+
drive: { default: 18e4, save: 13 * 6e4, pick: 13 * 6e4, "pick.firstReply": 15e3 },
|
|
784
|
+
// The person reads the address in the host's affordance and confirms, or closes it (up to 2 minutes).
|
|
785
|
+
link: { default: 12e4, open: 12e4 },
|
|
786
|
+
// One read of the person's library by the web host (a few API pages at most); icons and avatars fetch up to 24 images;
|
|
787
|
+
// `open` may wait for the person's consent to another creator's interface; `prefetch` is a hint answered at once.
|
|
788
|
+
library: { default: 2e4, icons: 3e4, avatars: 3e4, open: 12e4, prefetch: 5e3 },
|
|
789
|
+
// Public profiles of the workspace: one directory read; `get` also reads up to 50 photos.
|
|
790
|
+
profiles: { default: 15e3, get: 3e4 },
|
|
791
|
+
// The person chooses in the provider's sheet (up to 15 minutes); `available` reads the designation, `handle` one relay.
|
|
792
|
+
// `available` reads the called experience; `call` may wait for the person's consent and a sheet's gesture (up to 15
|
|
793
|
+
// minutes); `handle` is one relay of the called document's answer; `open` hands a window to the host; `pick` waits while
|
|
794
|
+
// the person chooses in the picker window; `host` one answer of the host composing a swipe experience's feed.
|
|
795
|
+
experiences: { default: 2e4, call: 15 * 6e4, handle: 12e4, open: 15e3, pick: 30 * 6e4, host: 15e3 },
|
|
796
|
+
// One bounded page of the workspace inbox, or an acknowledgement.
|
|
797
|
+
inbox: { default: 15e3 },
|
|
798
|
+
// Recipient resolution, metering and the queued message, without waiting for delivery.
|
|
799
|
+
email: { default: 2e4 },
|
|
800
|
+
// One call relayed to the Mac; connect waits for the host's consent dialog, attach and watch for the host's stream.
|
|
801
|
+
// Établi: the Mac's picker (60 s), commit hooks and fetch (55 s), a checkout (30 s), the start of a conversation that
|
|
802
|
+
// may ask the person (60 s), a long poll (15 s), a search and a project's structure (10 s), each plus the relay.
|
|
803
|
+
machine: {
|
|
804
|
+
default: 2e4,
|
|
805
|
+
connect: 18e4,
|
|
806
|
+
"terminal.attach": 3e4,
|
|
807
|
+
"terminal.watch": 3e4,
|
|
808
|
+
"workspace.requestRoot": 75e3,
|
|
809
|
+
"files.search": 2e4,
|
|
810
|
+
"files.tree": 2e4,
|
|
811
|
+
"git.commit": 7e4,
|
|
812
|
+
"git.fetch": 7e4,
|
|
813
|
+
"git.checkout": 45e3,
|
|
814
|
+
"agents.start": 75e3,
|
|
815
|
+
"agents.events": 25e3
|
|
816
|
+
},
|
|
817
|
+
navigation: { connect: 15e3, command: 15e3 }
|
|
818
|
+
// An import answers once Watchirl accepted it (consent, project, operation), never after its download: follow it with
|
|
819
|
+
// `get` (one status read and signed addresses); `list` reads up to 20 imports.
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
// src/storage-operations.ts
|
|
823
|
+
var common = { spend: "none", deadlineMs: null, sdkMarginMs: null, sdkTimeoutMs: operationWaiting.default, rateBucket: "public-playback" };
|
|
824
|
+
var read = { ...common, access: "read", observer: "declared-public-read", publicRead: "eligible", idempotency: "read" };
|
|
825
|
+
var write = { ...common, access: "contribute", observer: "denied", publicRead: "denied" };
|
|
826
|
+
var storageOperations = {
|
|
827
|
+
state: {
|
|
828
|
+
get: {
|
|
829
|
+
...read,
|
|
830
|
+
capability: "state",
|
|
831
|
+
operation: "get",
|
|
832
|
+
input: "StateGetInput",
|
|
833
|
+
output: "StateSnapshot",
|
|
834
|
+
resource: null,
|
|
835
|
+
facades: [{ path: "state.get", kind: "direct" }, { path: "state.watch", kind: "composite", live: "state" }]
|
|
836
|
+
},
|
|
837
|
+
set: {
|
|
838
|
+
...write,
|
|
839
|
+
capability: "state",
|
|
840
|
+
operation: "set",
|
|
841
|
+
input: "StateSetInput",
|
|
842
|
+
output: "StateSnapshot",
|
|
843
|
+
resource: null,
|
|
844
|
+
idempotency: "durable-receipt",
|
|
845
|
+
facades: [{ path: "state.set", kind: "direct" }]
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
memory: {
|
|
849
|
+
get: {
|
|
850
|
+
...read,
|
|
851
|
+
capability: "memory",
|
|
852
|
+
operation: "get",
|
|
853
|
+
input: "MemoryGetInput",
|
|
854
|
+
output: "MemoryValue",
|
|
855
|
+
resource: "key",
|
|
856
|
+
facades: [{ path: "memory.get", kind: "direct" }]
|
|
857
|
+
},
|
|
858
|
+
set: {
|
|
859
|
+
...write,
|
|
860
|
+
capability: "memory",
|
|
861
|
+
operation: "set",
|
|
862
|
+
input: "MemorySetInput",
|
|
863
|
+
output: "MemoryValue",
|
|
864
|
+
resource: "key",
|
|
865
|
+
idempotency: "compare-and-set",
|
|
866
|
+
facades: [{ path: "memory.set", kind: "direct" }]
|
|
867
|
+
},
|
|
868
|
+
remove: {
|
|
869
|
+
...write,
|
|
870
|
+
capability: "memory",
|
|
871
|
+
operation: "remove",
|
|
872
|
+
input: "MemoryRemoveInput",
|
|
873
|
+
output: "MemoryRemoveOutput",
|
|
874
|
+
resource: "key",
|
|
875
|
+
idempotency: "compare-and-set",
|
|
876
|
+
facades: [{ path: "memory.remove", kind: "direct" }]
|
|
877
|
+
},
|
|
878
|
+
// The keys of the usage, never one key: `prefix` narrows them and the server keeps them within the declaration.
|
|
879
|
+
list: {
|
|
880
|
+
...read,
|
|
881
|
+
capability: "memory",
|
|
882
|
+
operation: "list",
|
|
883
|
+
input: "MemoryListInput",
|
|
884
|
+
output: "MemoryListOutput",
|
|
885
|
+
resource: "key",
|
|
886
|
+
facades: [{ path: "memory.list", kind: "direct" }]
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
database: {
|
|
890
|
+
insert: {
|
|
891
|
+
...write,
|
|
892
|
+
capability: "database",
|
|
893
|
+
operation: "insert",
|
|
894
|
+
input: "DatabaseInsertInput",
|
|
895
|
+
output: "DatabaseInsertOutput",
|
|
896
|
+
resource: "collection",
|
|
897
|
+
idempotency: "durable-receipt",
|
|
898
|
+
facades: [{ path: "database.insert", kind: "direct" }]
|
|
899
|
+
},
|
|
900
|
+
get: {
|
|
901
|
+
...read,
|
|
902
|
+
capability: "database",
|
|
903
|
+
operation: "get",
|
|
904
|
+
input: "DatabaseGetInput",
|
|
905
|
+
output: "DatabaseGetOutput",
|
|
906
|
+
resource: "collection",
|
|
907
|
+
facades: [{ path: "database.get", kind: "direct" }]
|
|
908
|
+
},
|
|
909
|
+
// database.watch: the first page of query, which the host also subscribes to the collection's shared writes.
|
|
910
|
+
query: {
|
|
911
|
+
...read,
|
|
912
|
+
capability: "database",
|
|
913
|
+
operation: "query",
|
|
914
|
+
input: "DatabaseQueryInput",
|
|
915
|
+
output: "DatabaseQueryOutput",
|
|
916
|
+
resource: "collection",
|
|
917
|
+
facades: [{ path: "database.query", kind: "direct" }, { path: "database.watch", kind: "composite", live: "database" }]
|
|
918
|
+
},
|
|
919
|
+
update: {
|
|
920
|
+
...write,
|
|
921
|
+
capability: "database",
|
|
922
|
+
operation: "update",
|
|
923
|
+
input: "DatabaseUpdateInput",
|
|
924
|
+
output: "DatabaseUpdateOutput",
|
|
925
|
+
resource: "collection",
|
|
926
|
+
idempotency: "compare-and-set",
|
|
927
|
+
facades: [{ path: "database.update", kind: "direct" }]
|
|
928
|
+
},
|
|
929
|
+
remove: {
|
|
930
|
+
...write,
|
|
931
|
+
capability: "database",
|
|
932
|
+
operation: "remove",
|
|
933
|
+
input: "DatabaseRemoveInput",
|
|
934
|
+
output: "DatabaseRemoveOutput",
|
|
935
|
+
resource: "collection",
|
|
936
|
+
idempotency: "compare-and-set",
|
|
937
|
+
facades: [{ path: "database.remove", kind: "direct" }]
|
|
938
|
+
},
|
|
939
|
+
// Server-only final commit. There is no frontend facade or single top-level resource.
|
|
940
|
+
transact: {
|
|
941
|
+
...write,
|
|
942
|
+
capability: "database",
|
|
943
|
+
operation: "transact",
|
|
944
|
+
input: "BackendTransactionInput",
|
|
945
|
+
output: "BackendTransactionCommitResult",
|
|
946
|
+
resource: null,
|
|
947
|
+
idempotency: "durable-receipt",
|
|
948
|
+
facades: []
|
|
949
|
+
},
|
|
950
|
+
// After transact, which keeps the public tuple's order. Only the record's author changes it, and only the
|
|
951
|
+
// participant's own page makes a record shared.
|
|
952
|
+
visibility: {
|
|
953
|
+
...write,
|
|
954
|
+
capability: "database",
|
|
955
|
+
operation: "visibility",
|
|
956
|
+
input: "DatabaseVisibilityInput",
|
|
957
|
+
output: "DatabaseVisibilityOutput",
|
|
958
|
+
resource: "collection",
|
|
959
|
+
idempotency: "host-defined",
|
|
960
|
+
facades: [
|
|
961
|
+
{ path: "database.setVisibility", kind: "direct" },
|
|
962
|
+
{ path: "database.share", kind: "composite" },
|
|
963
|
+
{ path: "database.unshare", kind: "composite" }
|
|
964
|
+
]
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
};
|
|
968
|
+
var storageCapabilities = Object.keys(storageOperations);
|
|
969
|
+
var storageOperationList = Object.values(storageOperations).flatMap((group) => Object.values(group));
|
|
970
|
+
var storageReadOperations = storageOperationList.filter((item) => item.access === "read");
|
|
971
|
+
var databaseOperations = [
|
|
972
|
+
storageOperations.database.insert.operation,
|
|
973
|
+
storageOperations.database.get.operation,
|
|
974
|
+
storageOperations.database.query.operation,
|
|
975
|
+
storageOperations.database.update.operation,
|
|
976
|
+
storageOperations.database.remove.operation,
|
|
977
|
+
storageOperations.database.transact.operation,
|
|
978
|
+
storageOperations.database.visibility.operation
|
|
979
|
+
];
|
|
980
|
+
var stateOperations = Object.values(storageOperations.state).map((item) => item.operation);
|
|
981
|
+
var memoryOperations = Object.values(storageOperations.memory).map((item) => item.operation);
|
|
982
|
+
function findStorageOperation(capability, operation) {
|
|
983
|
+
return storageOperationList.find((item) => item.capability === capability && item.operation === operation);
|
|
984
|
+
}
|
|
985
|
+
function isStorageOperationId(capability, operation) {
|
|
986
|
+
return storageOperationList.some((item) => item.capability === capability && `${item.capability}.${item.operation}` === operation);
|
|
987
|
+
}
|
|
988
|
+
function isStoragePublicReadId(capability, operation) {
|
|
989
|
+
return storageReadOperations.some((item) => item.capability === capability && item.publicRead === "eligible" && `${item.capability}.${item.operation}` === operation);
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
// src/types/video-wire.ts
|
|
993
|
+
var tripirlVideoStepIds = ["sourceAnalyses", "projectAnalysis", "story", "worldReferences", "locationBible", "shotPlan", "dialogueAudio", "storyboardSheets", "clipPrompts", "clips", "filmExport"];
|
|
994
|
+
var tripirlVideoLocales = ["fr-FR", "en-US", "es-ES", "de-DE", "it-IT", "pt-PT", "nl-NL", "pl-PL", "sv-SE", "da-DK", "nb-NO", "fi-FI", "cs-CZ", "sk-SK", "hr-HR", "bg-BG", "ro-RO", "hu-HU", "el-GR", "ru-RU", "uk-UA", "tr-TR", "ar-SA", "hi-IN", "ta-IN", "id-ID", "ms-MY", "vi-VN", "zh-CN", "ja-JP", "ko-KR", "th-TH"];
|
|
995
|
+
|
|
996
|
+
// src/types/video-sdk-wire.ts
|
|
997
|
+
var videoLocales = tripirlVideoLocales;
|
|
998
|
+
|
|
999
|
+
// src/guards.ts
|
|
1000
|
+
var isRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
1001
|
+
var isString = (value) => typeof value === "string";
|
|
1002
|
+
var isNonEmptyString = (value) => typeof value === "string" && value.length > 0;
|
|
1003
|
+
var isBoolean = (value) => typeof value === "boolean";
|
|
1004
|
+
var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
|
|
1005
|
+
var isCount = (value) => typeof value === "number" && Number.isSafeInteger(value) && value >= 0;
|
|
1006
|
+
var isNullable = (value, check) => value === null || check(value);
|
|
1007
|
+
var isUuid = (value) => typeof value === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
|
|
1008
|
+
var isBase64 = (value) => typeof value === "string" && /^[A-Za-z0-9+/]*={0,2}$/.test(value);
|
|
1009
|
+
var CODE_PATTERN = /^[a-z][a-z0-9_]{0,63}$/;
|
|
1010
|
+
var isArrayOf = (value, check) => Array.isArray(value) && value.every(check);
|
|
1011
|
+
var maxJsonDepth = 64;
|
|
1012
|
+
function isIdempotencyKey(value) {
|
|
1013
|
+
return typeof value === "string" && value.length >= 8 && value.length <= 200 && ![...value].some((character) => character.charCodeAt(0) < 32 || character.charCodeAt(0) === 127);
|
|
1014
|
+
}
|
|
1015
|
+
function isPlainObject(value) {
|
|
1016
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
1017
|
+
const prototype = Object.getPrototypeOf(value);
|
|
1018
|
+
return prototype === Object.prototype || prototype === null;
|
|
1019
|
+
}
|
|
1020
|
+
function jsonProblem(value, depth, ancestors, files = false) {
|
|
1021
|
+
if (value === void 0 || value === null || typeof value === "string" || typeof value === "boolean") return void 0;
|
|
1022
|
+
if (typeof value === "number") return Number.isFinite(value) ? void 0 : "numbers must be finite";
|
|
1023
|
+
if (typeof value !== "object") return `${typeof value} values are not JSON`;
|
|
1024
|
+
if (files && typeof File !== "undefined" && value instanceof File) return void 0;
|
|
1025
|
+
if (depth > maxJsonDepth) return "values are nested too deeply";
|
|
1026
|
+
if (ancestors.has(value)) return "values contain a cycle";
|
|
1027
|
+
const items = Array.isArray(value) ? value : isPlainObject(value) ? Object.values(value) : void 0;
|
|
1028
|
+
if (!items) return "only plain objects and arrays are JSON";
|
|
1029
|
+
ancestors.add(value);
|
|
1030
|
+
try {
|
|
1031
|
+
for (const item of items) {
|
|
1032
|
+
const problem = jsonProblem(item, depth + 1, ancestors, files);
|
|
1033
|
+
if (problem) return problem;
|
|
1034
|
+
}
|
|
1035
|
+
return void 0;
|
|
1036
|
+
} finally {
|
|
1037
|
+
ancestors.delete(value);
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
// src/video-properties.ts
|
|
1042
|
+
var videoStepIdPattern = /^[A-Za-z][A-Za-z0-9_-]{0,63}$/;
|
|
1043
|
+
var finite = (value) => typeof value === "number" && Number.isFinite(value);
|
|
1044
|
+
function propertyValue(value, depth = 0) {
|
|
1045
|
+
if (depth > 32) return void 0;
|
|
1046
|
+
if (value === null || typeof value === "string" || typeof value === "boolean" || finite(value)) return value;
|
|
1047
|
+
if (Array.isArray(value)) {
|
|
1048
|
+
const parsed2 = value.map((item) => propertyValue(item, depth + 1));
|
|
1049
|
+
return parsed2.some((item) => item === void 0) ? void 0 : parsed2;
|
|
1050
|
+
}
|
|
1051
|
+
if (!isRecord(value)) return void 0;
|
|
1052
|
+
const parsed = Object.entries(value).map(([key, item]) => [key, propertyValue(item, depth + 1)]);
|
|
1053
|
+
return parsed.some(([, item]) => item === void 0) ? void 0 : Object.fromEntries(parsed);
|
|
1054
|
+
}
|
|
1055
|
+
function propertyMap(value) {
|
|
1056
|
+
if (!isRecord(value)) return void 0;
|
|
1057
|
+
return Object.fromEntries(Object.entries(value).flatMap(([key, item]) => {
|
|
1058
|
+
const parsed = propertyValue(item);
|
|
1059
|
+
return parsed === void 0 ? [] : [[key, parsed]];
|
|
1060
|
+
}));
|
|
1061
|
+
}
|
|
1062
|
+
function readVideoProperties(value) {
|
|
1063
|
+
if (!isRecord(value)) return void 0;
|
|
1064
|
+
return Object.fromEntries(Object.entries(value).flatMap(([step, values]) => {
|
|
1065
|
+
const parsed = videoStepIdPattern.test(step) ? propertyMap(values) : void 0;
|
|
1066
|
+
return parsed === void 0 ? [] : [[step, parsed]];
|
|
1067
|
+
}));
|
|
1068
|
+
}
|
|
1069
|
+
function readEffectiveVideoProperties(value) {
|
|
1070
|
+
if (!isRecord(value)) return void 0;
|
|
1071
|
+
return Object.fromEntries(Object.entries(value).flatMap(([step, block]) => {
|
|
1072
|
+
if (!videoStepIdPattern.test(step) || !isRecord(block) || !isRecord(block.module) || typeof block.module.id !== "string" || !Number.isSafeInteger(block.module.revision) || Number(block.module.revision) <= 0) return [];
|
|
1073
|
+
const values = propertyMap(block.values);
|
|
1074
|
+
return values === void 0 ? [] : [[step, { module: { id: block.module.id, revision: block.module.revision }, values }]];
|
|
1075
|
+
}));
|
|
1076
|
+
}
|
|
1077
|
+
function readVideoPropertyDefinition(value, depth = 0) {
|
|
1078
|
+
if (depth > 32 || !isRecord(value) || typeof value.key !== "string") return null;
|
|
1079
|
+
const effect = value.cost_effect;
|
|
1080
|
+
if (effect !== "none" && effect !== "may_change_quantity" && effect !== "may_change_unit_price" && effect !== "may_change_route") return null;
|
|
1081
|
+
const defaultValue = propertyValue(value.default);
|
|
1082
|
+
if (defaultValue === void 0) return null;
|
|
1083
|
+
const base2 = { key: value.key, cost_effect: effect, default: defaultValue };
|
|
1084
|
+
if (value.type === "boolean" && value.constraints === null) return { ...base2, type: "boolean", constraints: null };
|
|
1085
|
+
if (!isRecord(value.constraints)) return null;
|
|
1086
|
+
const constraints = value.constraints;
|
|
1087
|
+
if (value.type === "integer" || value.type === "number") {
|
|
1088
|
+
return { ...base2, type: value.type, constraints: Object.fromEntries(["minimum", "maximum", "step"].flatMap((key) => finite(constraints[key]) ? [[key, constraints[key]]] : [])) };
|
|
1089
|
+
}
|
|
1090
|
+
if (value.type === "string") return { ...base2, type: "string", constraints: Number.isSafeInteger(constraints.max_length) && Number(constraints.max_length) > 0 ? { max_length: constraints.max_length } : {} };
|
|
1091
|
+
if (value.type === "enum" && Array.isArray(constraints.values)) {
|
|
1092
|
+
const values = constraints.values.filter((item) => typeof item === "string" || typeof item === "boolean" || finite(item));
|
|
1093
|
+
return { ...base2, type: "enum", constraints: { values } };
|
|
1094
|
+
}
|
|
1095
|
+
if (value.type === "route" && Array.isArray(constraints.routes)) {
|
|
1096
|
+
const routes = constraints.routes.filter(isRecord).flatMap((route) => typeof route.provider === "string" && typeof route.model === "string" ? [{ provider: route.provider, model: route.model }] : []);
|
|
1097
|
+
return { ...base2, type: "route", constraints: { ...typeof constraints.need === "string" ? { need: constraints.need } : {}, routes } };
|
|
1098
|
+
}
|
|
1099
|
+
if (value.type === "object" && Array.isArray(constraints.fields)) {
|
|
1100
|
+
const fields = constraints.fields.map((item) => readVideoPropertyDefinition(item, depth + 1)).filter((item) => item !== null);
|
|
1101
|
+
return { ...base2, type: "object", constraints: { fields } };
|
|
1102
|
+
}
|
|
1103
|
+
return null;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
// src/video-analysis.ts
|
|
1107
|
+
var string = (value) => typeof value === "string";
|
|
1108
|
+
var words = (value) => string(value) ? value : "";
|
|
1109
|
+
var textOrNull = (value) => string(value) && value.length > 0 ? value : null;
|
|
1110
|
+
var ms = (value) => typeof value === "number" && Number.isSafeInteger(value) && value >= 0;
|
|
1111
|
+
var records = (value) => Array.isArray(value) ? value.filter(isRecord) : [];
|
|
1112
|
+
var ids = (value) => Array.isArray(value) ? value.filter((item) => string(item) && item.length > 0) : [];
|
|
1113
|
+
var span = (value) => ms(value.start_ms) && ms(value.end_ms) && value.end_ms >= value.start_ms;
|
|
1114
|
+
var subject = (value) => string(value.id) && value.id.length > 0 && string(value.label);
|
|
1115
|
+
function readVideoSourceAnalysis(value) {
|
|
1116
|
+
if (!isRecord(value) || !ms(value.duration_ms) || value.duration_ms === 0 || !string(value.summary) || !isRecord(value.source)) return null;
|
|
1117
|
+
const source = value.source, audio = isRecord(value.audio) ? value.audio : {};
|
|
1118
|
+
if (!string(source.sha256) || !ms(source.width) || !ms(source.height)) return null;
|
|
1119
|
+
return {
|
|
1120
|
+
duration_ms: value.duration_ms,
|
|
1121
|
+
summary: value.summary,
|
|
1122
|
+
places: records(value.places).filter(subject).map((item) => ({ id: item.id, label: item.label, description: words(item.description) })),
|
|
1123
|
+
people: records(value.people).filter(subject).map((item) => ({
|
|
1124
|
+
id: item.id,
|
|
1125
|
+
label: item.label,
|
|
1126
|
+
description: words(item.description),
|
|
1127
|
+
appearance: words(item.appearance),
|
|
1128
|
+
appearances: records(item.appearances).filter(span).map(({ start_ms, end_ms }) => ({ start_ms, end_ms })),
|
|
1129
|
+
speaks: item.speaks === true
|
|
1130
|
+
})),
|
|
1131
|
+
objects: records(value.objects).filter(subject).map((item) => ({ id: item.id, label: item.label, description: words(item.description) })),
|
|
1132
|
+
shots: records(value.shots).filter(span).map((item) => ({
|
|
1133
|
+
start_ms: item.start_ms,
|
|
1134
|
+
end_ms: item.end_ms,
|
|
1135
|
+
camera: words(item.camera),
|
|
1136
|
+
action: words(item.action),
|
|
1137
|
+
people: ids(item.people)
|
|
1138
|
+
})),
|
|
1139
|
+
events: records(value.events).filter((item) => ms(item.start_ms) && (item.end_ms === null || ms(item.end_ms)) && string(item.description)).map((item) => ({
|
|
1140
|
+
start_ms: item.start_ms,
|
|
1141
|
+
end_ms: item.end_ms,
|
|
1142
|
+
kind: words(item.kind),
|
|
1143
|
+
description: item.description,
|
|
1144
|
+
people: ids(item.people)
|
|
1145
|
+
})),
|
|
1146
|
+
transcript: records(value.transcript).filter((item) => span(item) && string(item.text)).map((item) => ({
|
|
1147
|
+
start_ms: item.start_ms,
|
|
1148
|
+
end_ms: item.end_ms,
|
|
1149
|
+
speaker: textOrNull(item.speaker),
|
|
1150
|
+
text: item.text
|
|
1151
|
+
})),
|
|
1152
|
+
audio: { music: textOrNull(audio.music), ambience: textOrNull(audio.ambience), speech: textOrNull(audio.speech) },
|
|
1153
|
+
source: {
|
|
1154
|
+
sha256: source.sha256,
|
|
1155
|
+
width: source.width,
|
|
1156
|
+
height: source.height,
|
|
1157
|
+
fps: typeof source.fps === "number" && Number.isFinite(source.fps) && source.fps > 0 ? source.fps : null
|
|
1158
|
+
}
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
function readVideoAnalysisResult(value) {
|
|
1162
|
+
if (!isRecord(value) || value.kind !== "analysis") return null;
|
|
1163
|
+
const analysis = readVideoSourceAnalysis(value.analysis);
|
|
1164
|
+
return analysis ? { kind: "analysis", analysis } : null;
|
|
1165
|
+
}
|
|
1166
|
+
function readVideoReferenceReplaces(value) {
|
|
1167
|
+
if (!isRecord(value)) return void 0;
|
|
1168
|
+
const subjectId = textOrNull(value.subject_id), description = textOrNull(value.description);
|
|
1169
|
+
if (!subjectId && !description) return void 0;
|
|
1170
|
+
return { ...subjectId ? { subject_id: subjectId } : {}, ...description ? { description } : {} };
|
|
1171
|
+
}
|
|
1172
|
+
function readVideoEditPlan(value) {
|
|
1173
|
+
if (value === void 0) return void 0;
|
|
1174
|
+
if (!isRecord(value)) return null;
|
|
1175
|
+
const analysisId = value.source_analysis_id;
|
|
1176
|
+
return {
|
|
1177
|
+
source_analysis_id: string(analysisId) && analysisId ? analysisId : null,
|
|
1178
|
+
mappings: records(value.mappings).filter((item) => isRecord(item.reference) && string(item.reference.asset_id) && item.reference.asset_id).map((item) => {
|
|
1179
|
+
const reference = item.reference, replaces = isRecord(item.replaces) ? item.replaces : {};
|
|
1180
|
+
return {
|
|
1181
|
+
reference: { asset_id: reference.asset_id, role: textOrNull(reference.role), name: textOrNull(reference.name) },
|
|
1182
|
+
replaces: { subject_id: textOrNull(replaces.subject_id), description: textOrNull(replaces.description) },
|
|
1183
|
+
source: item.source === "explicit" ? "explicit" : "inferred",
|
|
1184
|
+
image_index: ms(item.image_index) && item.image_index > 0 ? item.image_index : null,
|
|
1185
|
+
visual_sheet: item.visual_sheet === true
|
|
1186
|
+
};
|
|
1187
|
+
}),
|
|
1188
|
+
warnings: Array.isArray(value.warnings) ? value.warnings.filter((item) => string(item) && item.length > 0) : []
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
function readVideoReviewWarnings(value) {
|
|
1192
|
+
if (!Array.isArray(value)) return void 0;
|
|
1193
|
+
return records(value).filter((item) => string(item.code) && item.code && string(item.message) && item.message).map((item) => ({
|
|
1194
|
+
code: item.code,
|
|
1195
|
+
clip: ms(item.clip) && Number.isInteger(item.clip) && item.clip > 0 ? item.clip : null,
|
|
1196
|
+
message: item.message
|
|
1197
|
+
}));
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
// src/gamepad-types.ts
|
|
1201
|
+
var GAMEPAD_SUMMARY_EVENT = "experience.gamepad.summary";
|
|
1202
|
+
var GAMEPAD_TARGET_ATTRIBUTE = "data-nocha-gamepad-target";
|
|
1203
|
+
var GAMEPAD_MAX_SLOTS = 8;
|
|
1204
|
+
var GAMEPAD_MAX_AXES = 4;
|
|
1205
|
+
var GAMEPAD_MAX_BUTTONS = 17;
|
|
1206
|
+
var GAMEPAD_ID_MAX_CHARS = 160;
|
|
1207
|
+
var GAMEPAD_BUTTON = {
|
|
1208
|
+
cross: 0,
|
|
1209
|
+
circle: 1,
|
|
1210
|
+
square: 2,
|
|
1211
|
+
triangle: 3,
|
|
1212
|
+
l1: 4,
|
|
1213
|
+
r1: 5,
|
|
1214
|
+
l2: 6,
|
|
1215
|
+
r2: 7,
|
|
1216
|
+
share: 8,
|
|
1217
|
+
options: 9,
|
|
1218
|
+
l3: 10,
|
|
1219
|
+
r3: 11,
|
|
1220
|
+
up: 12,
|
|
1221
|
+
down: 13,
|
|
1222
|
+
left: 14,
|
|
1223
|
+
right: 15
|
|
1224
|
+
};
|
|
1225
|
+
var summaryKeys = /* @__PURE__ */ new Set(["claimed", "count", "ids"]);
|
|
1226
|
+
function cleanId(id) {
|
|
1227
|
+
if (id.length > GAMEPAD_ID_MAX_CHARS) return false;
|
|
1228
|
+
for (const character of id) {
|
|
1229
|
+
const code = character.charCodeAt(0);
|
|
1230
|
+
if (code < 32 || code === 127) return false;
|
|
1231
|
+
}
|
|
1232
|
+
return true;
|
|
1233
|
+
}
|
|
1234
|
+
function isGamepadSummary(value) {
|
|
1235
|
+
if (!isRecord(value) || Object.keys(value).length !== summaryKeys.size || Object.keys(value).some((key) => !summaryKeys.has(key))) return false;
|
|
1236
|
+
const { count, ids: ids2, claimed } = value;
|
|
1237
|
+
return isCount(count) && count <= GAMEPAD_MAX_SLOTS && isBoolean(claimed) && Array.isArray(ids2) && ids2.length === count && ids2.every((id) => typeof id === "string" && cleanId(id));
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
// src/viewport-types.ts
|
|
1241
|
+
function isExperienceViewport(value) {
|
|
1242
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) return false;
|
|
1243
|
+
const viewport = value;
|
|
1244
|
+
const positive = ["layoutWidth", "layoutHeight", "scale"];
|
|
1245
|
+
const nonnegative = ["visualWidth", "visualHeight", "offsetTop", "offsetLeft", "keyboardInset"];
|
|
1246
|
+
if (positive.some((key) => typeof viewport[key] !== "number" || !Number.isFinite(viewport[key]) || viewport[key] <= 0) || nonnegative.some((key) => typeof viewport[key] !== "number" || !Number.isFinite(viewport[key]) || viewport[key] < 0) || typeof viewport.keyboardVisible !== "boolean") return false;
|
|
1247
|
+
const v = value;
|
|
1248
|
+
return v.offsetLeft + v.visualWidth <= v.layoutWidth + 1 && v.offsetTop + v.visualHeight <= v.layoutHeight + 1 && v.keyboardInset <= v.layoutHeight && (v.keyboardVisible || v.keyboardInset === 0);
|
|
1249
|
+
}
|
|
1250
|
+
var SAFE_AREA_DECLARATION_EVENT = "experience.safe-area.declare";
|
|
1251
|
+
function isSafeAreaDeclaration(value) {
|
|
1252
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value) && value.mode === "overlay";
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
// src/shortcut-keys.ts
|
|
1256
|
+
var SHORTCUT_MODIFIERS = ["ctrl", "alt", "shift", "meta"];
|
|
1257
|
+
var ASSISTANT_SHORTCUTS_EVENT = "experience.assistant.shortcuts";
|
|
1258
|
+
var ASSISTANT_SHORTCUT_EVENT = "experience.assistant.shortcut";
|
|
1259
|
+
var ASSISTANT_SHORTCUTS_MAX = 48;
|
|
1260
|
+
var CODE = /^(Key[A-Z]|Digit[0-9]|F([1-9]|1[0-9]|2[0-4])|Arrow(Up|Down|Left|Right)|Space|Enter|Backspace|Delete|Tab|Escape|Home|End|PageUp|PageDown|Minus|Equal|BracketLeft|BracketRight|Backslash|Semicolon|Quote|Backquote|Comma|Period|Slash|Numpad[0-9]|NumpadAdd|NumpadSubtract|NumpadMultiply|NumpadDivide|NumpadDecimal|NumpadEnter)$/;
|
|
1261
|
+
var FUNCTION_KEY = /^F([1-9]|1[0-9]|2[0-4])$/;
|
|
1262
|
+
function parseShortcutKeys(keys) {
|
|
1263
|
+
if (typeof keys !== "string" || keys.length > 48) return null;
|
|
1264
|
+
const parts = keys.split("+"), code = parts.pop() ?? "";
|
|
1265
|
+
const modifiers = parts;
|
|
1266
|
+
let last = -1;
|
|
1267
|
+
for (const modifier of modifiers) {
|
|
1268
|
+
const index = SHORTCUT_MODIFIERS.indexOf(modifier);
|
|
1269
|
+
if (index <= last) return null;
|
|
1270
|
+
last = index;
|
|
1271
|
+
}
|
|
1272
|
+
return CODE.test(code) ? { modifiers, code } : null;
|
|
1273
|
+
}
|
|
1274
|
+
function isShortcutKeys(keys, scope = "app") {
|
|
1275
|
+
const parts = parseShortcutKeys(keys);
|
|
1276
|
+
if (!parts) return false;
|
|
1277
|
+
if (FUNCTION_KEY.test(parts.code)) return true;
|
|
1278
|
+
const { modifiers } = parts;
|
|
1279
|
+
return scope === "global" ? modifiers.includes("ctrl") || modifiers.includes("meta") : modifiers.some((modifier) => modifier !== "shift");
|
|
1280
|
+
}
|
|
1281
|
+
function shortcutKeysFromEvent(event) {
|
|
1282
|
+
if (!CODE.test(event.code)) return null;
|
|
1283
|
+
const pressed = { ctrl: event.ctrlKey, alt: event.altKey, shift: event.shiftKey, meta: event.metaKey };
|
|
1284
|
+
return [...SHORTCUT_MODIFIERS.filter((modifier) => pressed[modifier]), event.code].join("+");
|
|
1285
|
+
}
|
|
1286
|
+
var GLYPHS = {
|
|
1287
|
+
ArrowUp: "\u2191",
|
|
1288
|
+
ArrowDown: "\u2193",
|
|
1289
|
+
ArrowLeft: "\u2190",
|
|
1290
|
+
ArrowRight: "\u2192",
|
|
1291
|
+
Enter: "\u21A9",
|
|
1292
|
+
NumpadEnter: "\u2324",
|
|
1293
|
+
Backspace: "\u232B",
|
|
1294
|
+
Delete: "\u2326",
|
|
1295
|
+
Tab: "\u21E5",
|
|
1296
|
+
Escape: "\u238B",
|
|
1297
|
+
Space: "Space",
|
|
1298
|
+
Home: "\u2196",
|
|
1299
|
+
End: "\u2198",
|
|
1300
|
+
PageUp: "\u21DE",
|
|
1301
|
+
PageDown: "\u21DF",
|
|
1302
|
+
Minus: "-",
|
|
1303
|
+
Equal: "=",
|
|
1304
|
+
BracketLeft: "[",
|
|
1305
|
+
BracketRight: "]",
|
|
1306
|
+
Backslash: "\\",
|
|
1307
|
+
Semicolon: ";",
|
|
1308
|
+
Quote: "'",
|
|
1309
|
+
Backquote: "`",
|
|
1310
|
+
Comma: ",",
|
|
1311
|
+
Period: ".",
|
|
1312
|
+
Slash: "/",
|
|
1313
|
+
NumpadAdd: "+",
|
|
1314
|
+
NumpadSubtract: "-",
|
|
1315
|
+
NumpadMultiply: "*",
|
|
1316
|
+
NumpadDivide: "/",
|
|
1317
|
+
NumpadDecimal: "."
|
|
1318
|
+
};
|
|
1319
|
+
function shortcutLabel(keys, apple, key) {
|
|
1320
|
+
const parts = parseShortcutKeys(keys);
|
|
1321
|
+
if (!parts) return keys;
|
|
1322
|
+
const { modifiers, code } = parts;
|
|
1323
|
+
const printed = key && /^[a-z]$/i.test(key) && code.startsWith("Key") && !modifiers.includes("alt") ? key.toUpperCase() : void 0;
|
|
1324
|
+
const name = printed ?? (/^Key[A-Z]$/.test(code) ? code.slice(3) : /^Digit[0-9]$/.test(code) ? code.slice(5) : /^Numpad[0-9]$/.test(code) ? `Num ${code.slice(6)}` : GLYPHS[code] ?? code);
|
|
1325
|
+
if (apple) return `${modifiers.includes("ctrl") ? "\u2303" : ""}${modifiers.includes("alt") ? "\u2325" : ""}${modifiers.includes("shift") ? "\u21E7" : ""}${modifiers.includes("meta") ? "\u2318" : ""}${name}`;
|
|
1326
|
+
const words2 = { ctrl: "Ctrl", alt: "Alt", shift: "Shift", meta: "Win" };
|
|
1327
|
+
return [...modifiers.map((modifier) => words2[modifier]), name].join("+");
|
|
1328
|
+
}
|
|
1329
|
+
function isAssistantShortcuts(value) {
|
|
1330
|
+
return Array.isArray(value) && value.length <= ASSISTANT_SHORTCUTS_MAX && value.every((item) => item !== null && typeof item === "object" && typeof item.action === "string" && /^[a-z][a-z0-9_]{0,39}$/.test(item.action) && isShortcutKeys(item.keys, item.scope) && typeof item.label === "string" && item.label.length >= 1 && item.label.length <= 32 && (item.scope === "app" || item.scope === "global"));
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
// src/assistant-open.ts
|
|
1334
|
+
var ASSISTANT_OPEN_EVENT = "experience.assistant.open";
|
|
1335
|
+
var ASSISTANT_OPENED_EVENT = "experience.assistant.opened";
|
|
1336
|
+
var ASSISTANT_OPEN_INTERVAL_MS = 1500;
|
|
1337
|
+
var ASSISTANT_OPEN_REFUSALS = ["invalid_request", "user_action_required", "rate_limited", "capability_denied"];
|
|
1338
|
+
var THREAD = /^[a-z][a-z0-9_-]{0,63}$/;
|
|
1339
|
+
var isAssistantThread = (value) => typeof value === "string" && THREAD.test(value);
|
|
1340
|
+
var ASSISTANT_OPEN_DRAFT_MAX = 2e3;
|
|
1341
|
+
var isAssistantDraft = (value) => typeof value === "string" && value.trim().length > 0 && value.length <= ASSISTANT_OPEN_DRAFT_MAX;
|
|
1342
|
+
|
|
1343
|
+
// src/capability-registry.ts
|
|
1344
|
+
var experienceCapabilities = ["presence", "multiplayer", "state", "ai", "assets", "video", "hardware", "memory", "database", "device", "network", "notifications", "inbox", "email", "backend", "automations", "connectors", "drive", "transfer", "search", "machine", "places", "link", "library", "excerpts", "experiences", "profiles"];
|
|
1345
|
+
var hostPseudoCapabilities = ["access", "workspace", "module", "spaces", "screens"];
|
|
1346
|
+
var usageFreeCapabilities = new Set(hostPseudoCapabilities.filter((capability) => capability !== "module"));
|
|
1347
|
+
var bridgeCapabilities = /* @__PURE__ */ new Set([...experienceCapabilities, ...hostPseudoCapabilities]);
|
|
1348
|
+
|
|
1349
|
+
// src/speech-rules.ts
|
|
1350
|
+
var SPEECH_MODEL_ID_MAX_LENGTH = 100;
|
|
1351
|
+
var SPEECH_VOICE_ID_MAX_LENGTH = 160;
|
|
1352
|
+
var SPEECH_MODEL_ID_PATTERN = new RegExp(`^[A-Za-z0-9][A-Za-z0-9._:@/-]{0,${SPEECH_MODEL_ID_MAX_LENGTH - 1}}$`);
|
|
1353
|
+
var SPEECH_VOICE_ID_PATTERN = new RegExp(`^[A-Za-z0-9_:.-]{1,${SPEECH_VOICE_ID_MAX_LENGTH}}$`);
|
|
1354
|
+
var speechVoiceAliases = [
|
|
1355
|
+
"alloy",
|
|
1356
|
+
"ash",
|
|
1357
|
+
"ballad",
|
|
1358
|
+
"coral",
|
|
1359
|
+
"echo",
|
|
1360
|
+
"fable",
|
|
1361
|
+
"nova",
|
|
1362
|
+
"onyx",
|
|
1363
|
+
"sage",
|
|
1364
|
+
"shimmer",
|
|
1365
|
+
"verse",
|
|
1366
|
+
"marin",
|
|
1367
|
+
"cedar"
|
|
1368
|
+
];
|
|
1369
|
+
var speechVoiceGenders = ["female", "male", "neutral"];
|
|
1370
|
+
var speechVoiceAges = ["young", "middle", "old"];
|
|
1371
|
+
var isSpeechModelId = (value) => typeof value === "string" && SPEECH_MODEL_ID_PATTERN.test(value);
|
|
1372
|
+
var isSpeechVoiceId = (value) => typeof value === "string" && SPEECH_VOICE_ID_PATTERN.test(value);
|
|
1373
|
+
var isSpeechVoiceAlias = (value) => typeof value === "string" && speechVoiceAliases.includes(value);
|
|
1374
|
+
var speechSettingRanges = {
|
|
1375
|
+
stability: { min: 0, max: 1 },
|
|
1376
|
+
similarityBoost: { min: 0, max: 1 },
|
|
1377
|
+
style: { min: 0, max: 1 },
|
|
1378
|
+
speed: { min: 0.7, max: 1.2 }
|
|
1379
|
+
};
|
|
1380
|
+
var aiModelNeeds = ["audio.synthesize", "audio.sound_effect", "audio.generate", "audio.transcribe"];
|
|
1381
|
+
var voiceFacets = [
|
|
1382
|
+
"language",
|
|
1383
|
+
"locale",
|
|
1384
|
+
"collection",
|
|
1385
|
+
"query",
|
|
1386
|
+
"gender",
|
|
1387
|
+
"age",
|
|
1388
|
+
"accent",
|
|
1389
|
+
"category",
|
|
1390
|
+
"use_cases",
|
|
1391
|
+
"descriptives",
|
|
1392
|
+
"featured",
|
|
1393
|
+
"sort",
|
|
1394
|
+
"max_price_multiplier",
|
|
1395
|
+
"verified_for"
|
|
1396
|
+
];
|
|
1397
|
+
var voiceSorts = ["created_date", "usage_character_count_1y", "trending", "cloned_by_count"];
|
|
1398
|
+
var voiceCollections = ["standard", "library", "all"];
|
|
1399
|
+
var voiceCatalogueCollections = ["standard", "library", "both", "all"];
|
|
1400
|
+
var VOICE_FACET_PATTERN = /^[A-Za-z0-9][A-Za-z0-9 _-]{0,49}$/;
|
|
1401
|
+
var VOICE_FACET_LIST_MAX = 5;
|
|
1402
|
+
|
|
1403
|
+
// src/capability-needs.ts
|
|
1404
|
+
var generate = { role: "generate", mediaUsage: false, storedMediaResult: false };
|
|
1405
|
+
var capabilityNeeds = {
|
|
1406
|
+
"text.short": { ...generate, providerCapability: "text.generate", waitMs: 2e4 },
|
|
1407
|
+
"text.chat": { ...generate, providerCapability: "text.generate", waitMs: 2e4 },
|
|
1408
|
+
"text.long": { ...generate, providerCapability: "text.generate", waitMs: 9e4 },
|
|
1409
|
+
"text.structured": { ...generate, providerCapability: "text.generate_structured", waitMs: 6e4 },
|
|
1410
|
+
"web.research": { ...generate, providerCapability: "web.research", waitMs: 9e4 },
|
|
1411
|
+
"audio.synthesize": { ...generate, providerCapability: "audio.synthesize", waitMs: 2e4, mediaUsage: true },
|
|
1412
|
+
"audio.transcribe": { ...generate, providerCapability: "audio.transcribe", waitMs: 12e4 },
|
|
1413
|
+
"audio.generate": { ...generate, providerCapability: "audio.generate", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1414
|
+
"image.generate": { ...generate, providerCapability: "image.generate", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1415
|
+
"image.edit": { ...generate, providerCapability: "image.edit", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1416
|
+
"video.generate": { ...generate, providerCapability: "video.generate", waitMs: 18e4, mediaUsage: true, storedMediaResult: true },
|
|
1417
|
+
"image.remove_background": { ...generate, providerCapability: "image.remove_background", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1418
|
+
"image.upscale": { ...generate, providerCapability: "image.upscale", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1419
|
+
"audio.sound_effect": { ...generate, providerCapability: "audio.sound_effect", waitMs: 3e5, mediaUsage: true, storedMediaResult: true },
|
|
1420
|
+
"video.extend": { ...generate, providerCapability: "video.extend", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1421
|
+
"video.upscale": { ...generate, providerCapability: "video.upscale", waitMs: 6e5, mediaUsage: true, storedMediaResult: true },
|
|
1422
|
+
"audio.voice_change": { ...generate, providerCapability: "audio.voice_change", waitMs: 3e5, mediaUsage: true, storedMediaResult: true },
|
|
1423
|
+
"text.decision": { role: "decide", providerCapability: "text.decide", waitMs: 8e3, mediaUsage: false, storedMediaResult: false },
|
|
1424
|
+
"voice.call": { role: "voice", providerCapability: "voice.call", waitMs: 2e4, mediaUsage: false, storedMediaResult: false }
|
|
1425
|
+
};
|
|
1426
|
+
var allCapabilityNeeds = Object.keys(capabilityNeeds);
|
|
1427
|
+
var aiGenerateNeeds = allCapabilityNeeds.filter((need) => capabilityNeeds[need].role === "generate");
|
|
1428
|
+
var aiDecideNeeds = allCapabilityNeeds.filter((need) => capabilityNeeds[need].role === "decide");
|
|
1429
|
+
var voiceCallNeeds = allCapabilityNeeds.filter((need) => capabilityNeeds[need].role === "voice");
|
|
1430
|
+
var mediaResultNeeds = allCapabilityNeeds.filter((need) => capabilityNeeds[need].storedMediaResult);
|
|
1431
|
+
var mediaUsageNeeds = allCapabilityNeeds.filter((need) => capabilityNeeds[need].mediaUsage);
|
|
1432
|
+
var generationDeadlines = Object.fromEntries(aiGenerateNeeds.map((need) => [need, capabilityNeeds[need].waitMs]));
|
|
1433
|
+
var capabilityNeedWaits = Object.fromEntries(allCapabilityNeeds.map((need) => [need, capabilityNeeds[need].waitMs]));
|
|
1434
|
+
var needProviderCapabilities = Object.fromEntries(allCapabilityNeeds.map((need) => [need, capabilityNeeds[need].providerCapability]));
|
|
1435
|
+
var generationWaiting = {
|
|
1436
|
+
fallbackMs: 2e4,
|
|
1437
|
+
visionTextMs: 3e5,
|
|
1438
|
+
sdkMarginMs: 6e4,
|
|
1439
|
+
negotiatedAdmissionMs: 25e3,
|
|
1440
|
+
pollIntervalMs: 2e3,
|
|
1441
|
+
pollMaxMs: 8e3
|
|
1442
|
+
};
|
|
1443
|
+
function generationWaitMs(need, hasInputAssets = false) {
|
|
1444
|
+
const base2 = Object.hasOwn(capabilityNeeds, need) ? capabilityNeeds[need].waitMs : generationWaiting.fallbackMs;
|
|
1445
|
+
return hasInputAssets && need.startsWith("text.") ? Math.max(base2, generationWaiting.visionTextMs) : base2;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
// src/transfer-types.ts
|
|
1449
|
+
var NOCHA_TRANSFER_PROTOCOL = "nocha.transfer.v1";
|
|
1450
|
+
var TRANSFER_HELLO_EVENT = "transfer.hello";
|
|
1451
|
+
var TRANSFER_HTML_DRAG_EVENT = "transfer.html-drag";
|
|
1452
|
+
var TRANSFER_MAX_ITEMS = 32;
|
|
1453
|
+
var TRANSFER_MAX_BYTES = 512 * 1024 * 1024;
|
|
1454
|
+
var TRANSFER_PREVIEW_MAX_BYTES = 256 * 1024;
|
|
1455
|
+
var TRANSFER_PAYLOAD_TIMEOUT_MS = 12e4;
|
|
1456
|
+
var TRANSFER_DROP_TIMEOUT_MS = 3e4;
|
|
1457
|
+
var TRANSFER_DROP_ACTIVATION_MS = 5e3;
|
|
1458
|
+
var TRANSFER_ROLE_PATTERN = /^[a-z][a-z0-9-]{0,31}$/;
|
|
1459
|
+
var TRANSFER_ITEM_ID_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}$/;
|
|
1460
|
+
var TRANSFER_DRAG_ID_PATTERN = /^[A-Za-z0-9-]{8,64}$/;
|
|
1461
|
+
var TRANSFER_MAX_ACCEPTS = 16;
|
|
1462
|
+
var TRANSFER_MAX_TYPES = 32;
|
|
1463
|
+
var TRANSFER_LABEL_MAX = 60;
|
|
1464
|
+
var transferMimeTypes = {
|
|
1465
|
+
image: ["image/jpeg", "image/png", "image/webp", "image/gif", "image/avif", "image/heic", "image/heif", "image/svg+xml"],
|
|
1466
|
+
video: ["video/mp4", "video/quicktime", "video/webm"],
|
|
1467
|
+
audio: ["audio/mpeg", "audio/mp4", "audio/aac", "audio/wav", "audio/ogg", "audio/webm", "audio/flac"],
|
|
1468
|
+
document: ["application/pdf", "text/plain", "text/markdown"]
|
|
1469
|
+
};
|
|
1470
|
+
var transferTypeAliases = {
|
|
1471
|
+
"image/jpg": "image/jpeg",
|
|
1472
|
+
"image/pjpeg": "image/jpeg",
|
|
1473
|
+
"audio/mp3": "audio/mpeg",
|
|
1474
|
+
"audio/x-mp3": "audio/mpeg",
|
|
1475
|
+
"audio/mpeg3": "audio/mpeg",
|
|
1476
|
+
"audio/x-mpeg": "audio/mpeg",
|
|
1477
|
+
"audio/x-m4a": "audio/mp4",
|
|
1478
|
+
"audio/m4a": "audio/mp4",
|
|
1479
|
+
"audio/x-wav": "audio/wav",
|
|
1480
|
+
"audio/wave": "audio/wav",
|
|
1481
|
+
"audio/vnd.wave": "audio/wav",
|
|
1482
|
+
"audio/x-aac": "audio/aac",
|
|
1483
|
+
"audio/x-flac": "audio/flac",
|
|
1484
|
+
"video/x-m4v": "video/mp4",
|
|
1485
|
+
"text/x-markdown": "text/markdown"
|
|
1486
|
+
};
|
|
1487
|
+
var familyOf = { image: "image", video: "video", audio: "audio" };
|
|
1488
|
+
var kindByType = new Map(
|
|
1489
|
+
Object.entries(transferMimeTypes).flatMap(([kind, types]) => types.map((type) => [type, kind]))
|
|
1490
|
+
);
|
|
1491
|
+
function normalizeTransferType(value) {
|
|
1492
|
+
if (typeof value !== "string" || value.length > 255) return null;
|
|
1493
|
+
const type = (value.split(";", 1)[0] ?? "").trim().toLowerCase();
|
|
1494
|
+
const canonical = transferTypeAliases[type] ?? type;
|
|
1495
|
+
return kindByType.has(canonical) ? canonical : null;
|
|
1496
|
+
}
|
|
1497
|
+
function transferKindOf(type) {
|
|
1498
|
+
const normalized = normalizeTransferType(type);
|
|
1499
|
+
return normalized ? kindByType.get(normalized) ?? null : null;
|
|
1500
|
+
}
|
|
1501
|
+
function isTransferTypePattern(value) {
|
|
1502
|
+
if (typeof value !== "string") return false;
|
|
1503
|
+
if (value.endsWith("/*")) return Object.hasOwn(familyOf, value.slice(0, -2));
|
|
1504
|
+
return normalizeTransferType(value) === value;
|
|
1505
|
+
}
|
|
1506
|
+
function matchesTransferType(pattern, type) {
|
|
1507
|
+
const normalized = normalizeTransferType(type);
|
|
1508
|
+
if (!normalized) return false;
|
|
1509
|
+
if (pattern.endsWith("/*")) return familyOf[pattern.slice(0, -2)] === kindByType.get(normalized);
|
|
1510
|
+
return pattern === normalized;
|
|
1511
|
+
}
|
|
1512
|
+
function matchesTransferTypes(patterns, type) {
|
|
1513
|
+
return patterns.some((pattern) => matchesTransferType(pattern, type));
|
|
1514
|
+
}
|
|
1515
|
+
var ascii = (head, offset, text2) => [...text2].every((character, index) => head[offset + index] === character.charCodeAt(0));
|
|
1516
|
+
var isoBoxes = ["ftyp", "moov", "mdat", "wide", "free", "skip", "pnot"];
|
|
1517
|
+
function transferSignatureMatches(type, head) {
|
|
1518
|
+
switch (type) {
|
|
1519
|
+
case "image/jpeg":
|
|
1520
|
+
return head[0] === 255 && head[1] === 216 && head[2] === 255;
|
|
1521
|
+
case "image/png":
|
|
1522
|
+
return [137, 80, 78, 71, 13, 10, 26, 10].every((byte, index) => head[index] === byte);
|
|
1523
|
+
case "image/gif":
|
|
1524
|
+
return ascii(head, 0, "GIF8");
|
|
1525
|
+
case "image/webp":
|
|
1526
|
+
return ascii(head, 0, "RIFF") && ascii(head, 8, "WEBP");
|
|
1527
|
+
case "audio/wav":
|
|
1528
|
+
return ascii(head, 0, "RIFF") && ascii(head, 8, "WAVE");
|
|
1529
|
+
case "image/avif":
|
|
1530
|
+
case "image/heic":
|
|
1531
|
+
case "image/heif":
|
|
1532
|
+
case "video/mp4":
|
|
1533
|
+
case "video/quicktime":
|
|
1534
|
+
case "audio/mp4":
|
|
1535
|
+
return isoBoxes.some((box) => ascii(head, 4, box));
|
|
1536
|
+
case "video/webm":
|
|
1537
|
+
case "audio/webm":
|
|
1538
|
+
return head[0] === 26 && head[1] === 69 && head[2] === 223 && head[3] === 163;
|
|
1539
|
+
case "audio/mpeg":
|
|
1540
|
+
return ascii(head, 0, "ID3") || head[0] === 255 && ((head[1] ?? 0) & 224) === 224;
|
|
1541
|
+
case "audio/aac":
|
|
1542
|
+
return ascii(head, 0, "ID3") || head[0] === 255 && ((head[1] ?? 0) & 246) === 240;
|
|
1543
|
+
case "audio/ogg":
|
|
1544
|
+
return ascii(head, 0, "OggS");
|
|
1545
|
+
case "audio/flac":
|
|
1546
|
+
return ascii(head, 0, "fLaC") || ascii(head, 0, "ID3");
|
|
1547
|
+
case "application/pdf":
|
|
1548
|
+
return ascii(head, 0, "%PDF-");
|
|
1549
|
+
default:
|
|
1550
|
+
return null;
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
// src/host-channels.ts
|
|
1555
|
+
var NOCHA_UPLOAD_PROTOCOL = "nocha.upload.v1";
|
|
1556
|
+
var NOCHA_MEDIA_PROTOCOL = "nocha.media.v1";
|
|
1557
|
+
var NOCHA_VIDEO_PLAYBACK_PROTOCOL = "nocha.video-playback.v1";
|
|
1558
|
+
var NOCHA_LINK_OPEN_EVENT = "nocha.link.open";
|
|
1559
|
+
|
|
1560
|
+
// src/shared-usage.ts
|
|
1561
|
+
var USAGE_ID_PATTERN = /^[a-zA-Z0-9][a-zA-Z0-9._:-]{0,127}$/;
|
|
1562
|
+
var isUsageId = (value) => typeof value === "string" && USAGE_ID_PATTERN.test(value);
|
|
1563
|
+
|
|
1564
|
+
// src/external-protocol.ts
|
|
1565
|
+
var NOCHA_EXTERNAL_PROTOCOL = "nocha.external.v1";
|
|
1566
|
+
var NOCHA_EXTERNAL_DEFAULT_HOSTS = ["https://*.novelchallenge.com"];
|
|
1567
|
+
var NOCHA_EXTERNAL_HOSTS_META = "nocha:hosts";
|
|
1568
|
+
var NOCHA_EXTERNAL_HOSTING_META = "nocha:hosting";
|
|
1569
|
+
var NOCHA_EXTERNAL_CODE_META = "nocha:code";
|
|
1570
|
+
var NONCE = /^[A-Za-z0-9_-]{16,128}$/;
|
|
1571
|
+
var REQUEST_ID = /^[A-Za-z0-9_-]{8,128}$/;
|
|
1572
|
+
var CODE2 = /^[a-z0-9]{6,10}$/;
|
|
1573
|
+
var PLAYER_TOKEN = /^npt_[A-Za-z0-9._-]{40,4096}$/;
|
|
1574
|
+
var DATETIME = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,9})?Z$/;
|
|
1575
|
+
var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
|
|
1576
|
+
var ORIGIN_HOST = new RegExp(`^${LABEL}(?:\\.${LABEL})*$`);
|
|
1577
|
+
var PATTERN_HOST = new RegExp(`^(?:${LABEL}\\.)+[a-z]{2,63}$`);
|
|
1578
|
+
function exact(value, keys) {
|
|
1579
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) return false;
|
|
1580
|
+
const own = Object.keys(value);
|
|
1581
|
+
return own.length === keys.length && keys.every((key) => Object.hasOwn(value, key));
|
|
1582
|
+
}
|
|
1583
|
+
function matches(pattern, value) {
|
|
1584
|
+
return typeof value === "string" && pattern.test(value);
|
|
1585
|
+
}
|
|
1586
|
+
function isDatetime(value) {
|
|
1587
|
+
return matches(DATETIME, value) && Number.isFinite(Date.parse(value));
|
|
1588
|
+
}
|
|
1589
|
+
function parseOrigin(origin) {
|
|
1590
|
+
if (typeof origin !== "string" || origin.length > 300) return null;
|
|
1591
|
+
try {
|
|
1592
|
+
const url = new URL(origin);
|
|
1593
|
+
return url.protocol === "https:" && url.origin === origin && ORIGIN_HOST.test(url.hostname) ? { host: url.hostname, port: url.port } : null;
|
|
1594
|
+
} catch {
|
|
1595
|
+
return null;
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
function isPlayerToken(value) {
|
|
1599
|
+
return exact(value, ["token", "api", "environment", "participantId", "expiresAt"]) && matches(PLAYER_TOKEN, value.token) && parseOrigin(value.api) !== null && (value.environment === "play" || value.environment === "development") && typeof value.participantId === "string" && value.participantId.length > 0 && value.participantId.length <= 200 && isDatetime(value.expiresAt);
|
|
1600
|
+
}
|
|
1601
|
+
function isError(value) {
|
|
1602
|
+
return exact(value, ["code", "message"]) && matches(CODE_PATTERN, value.code) && typeof value.message === "string" && value.message.length <= 1e3;
|
|
1603
|
+
}
|
|
1604
|
+
function isExternalFrameMessage(value) {
|
|
1605
|
+
if (!value || typeof value !== "object" || value.protocol !== NOCHA_EXTERNAL_PROTOCOL) return false;
|
|
1606
|
+
const message = value;
|
|
1607
|
+
switch (message.type) {
|
|
1608
|
+
case "hello":
|
|
1609
|
+
return exact(value, ["protocol", "type", "nonce", "code"]) && matches(NONCE, message.nonce) && matches(CODE2, message.code);
|
|
1610
|
+
case "hello.ack":
|
|
1611
|
+
return exact(value, ["protocol", "type", "nonce", "sdkVersion"]) && matches(NONCE, message.nonce) && message.sdkVersion === 4;
|
|
1612
|
+
case "player-token.request":
|
|
1613
|
+
return exact(value, ["protocol", "type", "requestId"]) && matches(REQUEST_ID, message.requestId);
|
|
1614
|
+
case "player-token.result":
|
|
1615
|
+
return exact(value, ["protocol", "type", "requestId", "token"]) && matches(REQUEST_ID, message.requestId) && (message.token === null || isPlayerToken(message.token));
|
|
1616
|
+
case "player-token.error":
|
|
1617
|
+
return exact(value, ["protocol", "type", "requestId", "error"]) && matches(REQUEST_ID, message.requestId) && isError(message.error);
|
|
1618
|
+
default:
|
|
1619
|
+
return false;
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
function parseHostPattern(pattern) {
|
|
1623
|
+
const match = /^https:\/\/(\*\.)?([^/:]+)(?::(\d{1,5}))?$/.exec(pattern.toLowerCase());
|
|
1624
|
+
if (!match || !PATTERN_HOST.test(match[2])) return null;
|
|
1625
|
+
const port = match[3] === void 0 ? 443 : Number(match[3]);
|
|
1626
|
+
if (port < 1 || port > 65535) return null;
|
|
1627
|
+
return { wildcard: match[1] !== void 0, host: match[2], port: port === 443 ? "" : String(port) };
|
|
1628
|
+
}
|
|
1629
|
+
function matchesExternalHostPattern(origin, pattern) {
|
|
1630
|
+
const target = parseOrigin(origin);
|
|
1631
|
+
const rule = parseHostPattern(pattern);
|
|
1632
|
+
if (!target || !rule || target.port !== rule.port) return false;
|
|
1633
|
+
return rule.wildcard ? target.host.endsWith(`.${rule.host}`) : target.host === rule.host;
|
|
1634
|
+
}
|
|
1635
|
+
function normalizeExternalHostPattern(pattern) {
|
|
1636
|
+
const rule = typeof pattern === "string" ? parseHostPattern(pattern) : null;
|
|
1637
|
+
return rule ? `https://${rule.wildcard ? "*." : ""}${rule.host}${rule.port ? `:${rule.port}` : ""}` : null;
|
|
1638
|
+
}
|
|
1639
|
+
function parseExternalCodes(content) {
|
|
1640
|
+
return typeof content === "string" ? [...new Set(content.split(/\s+/).filter((code) => CODE2.test(code)))] : [];
|
|
1641
|
+
}
|
|
1642
|
+
function externalFrameOrigins(codes, patterns) {
|
|
1643
|
+
const valid = codes.filter((code) => typeof code === "string" && CODE2.test(code));
|
|
1644
|
+
return [...new Set(patterns.flatMap((pattern) => {
|
|
1645
|
+
const normalized = normalizeExternalHostPattern(pattern);
|
|
1646
|
+
return normalized?.startsWith("https://*.") ? valid.map((code) => normalized.replace("*", code)) : [];
|
|
1647
|
+
}))];
|
|
1648
|
+
}
|
|
1649
|
+
function parseExternalHostPatterns(content) {
|
|
1650
|
+
const declared = typeof content === "string" ? content.split(/\s+/).flatMap((item) => normalizeExternalHostPattern(item) ?? []) : [];
|
|
1651
|
+
return [.../* @__PURE__ */ new Set([...NOCHA_EXTERNAL_DEFAULT_HOSTS, ...declared])];
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
// src/operation-metadata.ts
|
|
1655
|
+
var operationDefaults = {
|
|
1656
|
+
needs: [],
|
|
1657
|
+
transport: "invoke",
|
|
1658
|
+
access: "contribute",
|
|
1659
|
+
observer: "denied",
|
|
1660
|
+
publicRead: "denied",
|
|
1661
|
+
publicControl: null,
|
|
1662
|
+
mediaUsage: false,
|
|
1663
|
+
spend: "none",
|
|
1664
|
+
idempotency: "host-defined",
|
|
1665
|
+
waiting: "operation",
|
|
1666
|
+
deadlineMs: null,
|
|
1667
|
+
sdkMarginMs: null,
|
|
1668
|
+
rateBucket: "public-playback",
|
|
1669
|
+
compatibility: "current"
|
|
1670
|
+
};
|
|
1671
|
+
var operationRead = { access: "read", idempotency: "read" };
|
|
1672
|
+
var observerRead = { ...operationRead, observer: "declared-public-read" };
|
|
1673
|
+
var publicRead = { ...observerRead, publicRead: "eligible" };
|
|
1674
|
+
|
|
1675
|
+
// src/automations-operations.ts
|
|
1676
|
+
var base = { ...operationDefaults, capability: "automations", sdkTimeoutMs: 12e4, rateBucket: "experience-automations" };
|
|
1677
|
+
var automationsOperationDefinitions = {
|
|
1678
|
+
catalog: { ...base, ...operationRead, operation: "catalog", input: "automations.catalog", output: "automations.catalog", facades: [{ path: "automations.catalog", kind: "direct" }] },
|
|
1679
|
+
list: { ...base, ...operationRead, operation: "list", input: "automations.list", output: "automations.list", facades: [{ path: "automations.list", kind: "direct" }] },
|
|
1680
|
+
get: { ...base, ...operationRead, operation: "get", input: "automations.get", output: "automations.get", facades: [{ path: "automations.get", kind: "direct" }] },
|
|
1681
|
+
create: { ...base, operation: "create", input: "automations.create", output: "automations.create", facades: [{ path: "automations.create", kind: "direct" }] },
|
|
1682
|
+
save: { ...base, operation: "save", input: "automations.save", output: "automations.save", idempotency: "compare-and-set", facades: [{ path: "automations.save", kind: "direct" }] },
|
|
1683
|
+
validate: { ...base, ...operationRead, operation: "validate", input: "automations.validate", output: "automations.validate", facades: [{ path: "automations.validate", kind: "direct" }] },
|
|
1684
|
+
remove: { ...base, operation: "remove", input: "automations.remove", output: "automations.remove", facades: [{ path: "automations.remove", kind: "direct" }] },
|
|
1685
|
+
activate: { ...base, operation: "activate", input: "automations.activate", output: "automations.activate", facades: [{ path: "automations.activate", kind: "direct" }] },
|
|
1686
|
+
pause: { ...base, operation: "pause", input: "automations.pause", output: "automations.pause", facades: [{ path: "automations.pause", kind: "direct" }] },
|
|
1687
|
+
test: { ...base, operation: "test", input: "automations.test", output: "automations.test", spend: "may-spend", facades: [{ path: "automations.test", kind: "direct" }] },
|
|
1688
|
+
runs: { ...base, ...operationRead, operation: "runs", input: "automations.runs", output: "automations.runs", facades: [{ path: "automations.runs", kind: "direct" }] },
|
|
1689
|
+
run: { ...base, ...operationRead, operation: "run", input: "automations.run", output: "automations.run", facades: [{ path: "automations.run", kind: "direct" }] },
|
|
1690
|
+
"templates.list": { ...base, ...operationRead, operation: "templates.list", input: "automations.templates.list", output: "automations.templates.list", facades: [{ path: "automations.templates.list", kind: "direct" }] },
|
|
1691
|
+
"templates.publish": { ...base, operation: "templates.publish", input: "automations.templates.publish", output: "automations.templates.publish", facades: [{ path: "automations.templates.publish", kind: "direct" }] },
|
|
1692
|
+
"templates.use": { ...base, operation: "templates.use", input: "automations.templates.use", output: "automations.templates.use", facades: [{ path: "automations.templates.use", kind: "direct" }] }
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
// src/ai-operations.ts
|
|
1696
|
+
var aiOperationDefinitions = {
|
|
1697
|
+
"generate": {
|
|
1698
|
+
...operationDefaults,
|
|
1699
|
+
capability: "ai",
|
|
1700
|
+
operation: "generate",
|
|
1701
|
+
input: "ai.generate",
|
|
1702
|
+
output: "ai.generate",
|
|
1703
|
+
sdkTimeoutMs: null,
|
|
1704
|
+
needs: aiGenerateNeeds,
|
|
1705
|
+
spend: "may-spend",
|
|
1706
|
+
waiting: "generation-need",
|
|
1707
|
+
sdkMarginMs: generationWaiting.sdkMarginMs,
|
|
1708
|
+
idempotency: "durable-receipt",
|
|
1709
|
+
facades: [{ path: "ai.generate", kind: "composite" }]
|
|
1710
|
+
},
|
|
1711
|
+
"estimate": {
|
|
1712
|
+
...operationDefaults,
|
|
1713
|
+
capability: "ai",
|
|
1714
|
+
operation: "estimate",
|
|
1715
|
+
input: "ai.estimate",
|
|
1716
|
+
output: "ai.estimate",
|
|
1717
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1718
|
+
...operationRead,
|
|
1719
|
+
needs: aiGenerateNeeds,
|
|
1720
|
+
facades: [{ path: "ai.estimate", kind: "direct" }]
|
|
1721
|
+
},
|
|
1722
|
+
"options": {
|
|
1723
|
+
...operationDefaults,
|
|
1724
|
+
capability: "ai",
|
|
1725
|
+
operation: "options",
|
|
1726
|
+
input: "ai.options",
|
|
1727
|
+
output: "ai.options",
|
|
1728
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1729
|
+
...operationRead,
|
|
1730
|
+
needs: aiGenerateNeeds,
|
|
1731
|
+
facades: [{ path: "ai.options", kind: "direct" }]
|
|
1732
|
+
},
|
|
1733
|
+
// `ai.voiceCatalogue` is a composite of these two reads, not an operation: it declares both.
|
|
1734
|
+
"models": {
|
|
1735
|
+
...operationDefaults,
|
|
1736
|
+
capability: "ai",
|
|
1737
|
+
operation: "models",
|
|
1738
|
+
input: "ai.models",
|
|
1739
|
+
output: "ai.models",
|
|
1740
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1741
|
+
...operationRead,
|
|
1742
|
+
needs: aiGenerateNeeds,
|
|
1743
|
+
facades: [{ path: "ai.models", kind: "direct" }, { path: "ai.voiceCatalogue", kind: "composite" }]
|
|
1744
|
+
},
|
|
1745
|
+
"voices": {
|
|
1746
|
+
...operationDefaults,
|
|
1747
|
+
capability: "ai",
|
|
1748
|
+
operation: "voices",
|
|
1749
|
+
input: "ai.voices",
|
|
1750
|
+
output: "ai.voices",
|
|
1751
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1752
|
+
...operationRead,
|
|
1753
|
+
needs: aiGenerateNeeds,
|
|
1754
|
+
facades: [{ path: "ai.voices", kind: "direct" }, { path: "ai.voiceCatalogue", kind: "composite" }]
|
|
1755
|
+
},
|
|
1756
|
+
// The provider's own sample of a listed voice: a read that synthesizes nothing, so it never spends.
|
|
1757
|
+
"voicePreview": {
|
|
1758
|
+
...operationDefaults,
|
|
1759
|
+
capability: "ai",
|
|
1760
|
+
operation: "voicePreview",
|
|
1761
|
+
input: "ai.voicePreview",
|
|
1762
|
+
output: "ai.voicePreview",
|
|
1763
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1764
|
+
...operationRead,
|
|
1765
|
+
needs: aiGenerateNeeds,
|
|
1766
|
+
spend: "none",
|
|
1767
|
+
facades: [{ path: "ai.voicePreview", kind: "direct" }]
|
|
1768
|
+
},
|
|
1769
|
+
// The participant's favourite voices, kept by Nocha for every experience: free reads and writes.
|
|
1770
|
+
"voiceFavorites": {
|
|
1771
|
+
...operationDefaults,
|
|
1772
|
+
capability: "ai",
|
|
1773
|
+
operation: "voiceFavorites",
|
|
1774
|
+
input: "ai.voiceFavorites",
|
|
1775
|
+
output: "ai.voiceFavorites",
|
|
1776
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1777
|
+
...operationRead,
|
|
1778
|
+
needs: aiGenerateNeeds,
|
|
1779
|
+
spend: "none",
|
|
1780
|
+
facades: [{ path: "ai.voiceFavorites", kind: "direct" }]
|
|
1781
|
+
},
|
|
1782
|
+
"voiceFavoritesUpdate": {
|
|
1783
|
+
...operationDefaults,
|
|
1784
|
+
capability: "ai",
|
|
1785
|
+
operation: "voiceFavoritesUpdate",
|
|
1786
|
+
input: "ai.voiceFavoritesUpdate",
|
|
1787
|
+
output: "ai.voiceFavoritesUpdate",
|
|
1788
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1789
|
+
needs: aiGenerateNeeds,
|
|
1790
|
+
spend: "none",
|
|
1791
|
+
facades: [{ path: "ai.voiceFavoritesUpdate", kind: "direct" }]
|
|
1792
|
+
},
|
|
1793
|
+
"get": {
|
|
1794
|
+
...operationDefaults,
|
|
1795
|
+
capability: "ai",
|
|
1796
|
+
operation: "get",
|
|
1797
|
+
input: "ai.get",
|
|
1798
|
+
output: "ai.get",
|
|
1799
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1800
|
+
...operationRead,
|
|
1801
|
+
needs: aiGenerateNeeds,
|
|
1802
|
+
facades: [{ path: "ai.get", kind: "direct" }]
|
|
1803
|
+
},
|
|
1804
|
+
"decide": {
|
|
1805
|
+
...operationDefaults,
|
|
1806
|
+
capability: "ai",
|
|
1807
|
+
operation: "decide",
|
|
1808
|
+
input: "ai.decide",
|
|
1809
|
+
output: "ai.decide",
|
|
1810
|
+
sdkTimeoutMs: operationWaiting.ai["decide"],
|
|
1811
|
+
needs: aiDecideNeeds,
|
|
1812
|
+
spend: "may-spend",
|
|
1813
|
+
facades: [{ path: "ai.decide", kind: "direct" }]
|
|
1814
|
+
},
|
|
1815
|
+
"voice.start": {
|
|
1816
|
+
...operationDefaults,
|
|
1817
|
+
capability: "ai",
|
|
1818
|
+
operation: "voice.start",
|
|
1819
|
+
input: "ai.voice.start",
|
|
1820
|
+
output: "ai.voice.start",
|
|
1821
|
+
sdkTimeoutMs: operationWaiting.ai["voice.start"],
|
|
1822
|
+
needs: voiceCallNeeds,
|
|
1823
|
+
spend: "may-spend",
|
|
1824
|
+
transport: "voice-host",
|
|
1825
|
+
facades: [{ path: "voice.start", kind: "direct" }]
|
|
1826
|
+
},
|
|
1827
|
+
"voice.stop": {
|
|
1828
|
+
...operationDefaults,
|
|
1829
|
+
capability: "ai",
|
|
1830
|
+
operation: "voice.stop",
|
|
1831
|
+
input: "ai.voice.stop",
|
|
1832
|
+
output: "ai.voice.stop",
|
|
1833
|
+
sdkTimeoutMs: operationWaiting.ai.default,
|
|
1834
|
+
needs: voiceCallNeeds,
|
|
1835
|
+
transport: "voice-host",
|
|
1836
|
+
facades: [{ path: "voice.stop", kind: "direct" }]
|
|
1837
|
+
},
|
|
1838
|
+
"voice.state": {
|
|
1839
|
+
...operationDefaults,
|
|
1840
|
+
capability: "ai",
|
|
1841
|
+
operation: "voice.state",
|
|
1842
|
+
input: "ai.voice.state",
|
|
1843
|
+
output: "ai.voice.state",
|
|
1844
|
+
sdkTimeoutMs: operationWaiting.ai["voice.state"],
|
|
1845
|
+
...operationRead,
|
|
1846
|
+
needs: voiceCallNeeds,
|
|
1847
|
+
transport: "voice-host",
|
|
1848
|
+
facades: [{ path: "voice.state", kind: "direct" }]
|
|
1849
|
+
}
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
// src/assets-operations.ts
|
|
1853
|
+
var assetsOperationDefinitions = {
|
|
1854
|
+
"read": {
|
|
1855
|
+
...operationDefaults,
|
|
1856
|
+
capability: "assets",
|
|
1857
|
+
operation: "read",
|
|
1858
|
+
input: "assets.read",
|
|
1859
|
+
output: "assets.read",
|
|
1860
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1861
|
+
...publicRead,
|
|
1862
|
+
facades: [{ path: "assets.read", kind: "direct" }, { path: "assets.media", kind: "composite" }]
|
|
1863
|
+
},
|
|
1864
|
+
"upload": {
|
|
1865
|
+
...operationDefaults,
|
|
1866
|
+
capability: "assets",
|
|
1867
|
+
operation: "upload",
|
|
1868
|
+
input: "assets.upload",
|
|
1869
|
+
output: "assets.upload",
|
|
1870
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1871
|
+
mediaUsage: true,
|
|
1872
|
+
facades: [{ path: "assets.upload", kind: "direct" }]
|
|
1873
|
+
},
|
|
1874
|
+
"uploadAttachment": {
|
|
1875
|
+
...operationDefaults,
|
|
1876
|
+
capability: "assets",
|
|
1877
|
+
operation: "uploadAttachment",
|
|
1878
|
+
input: "assets.uploadAttachment",
|
|
1879
|
+
output: "assets.uploadAttachment",
|
|
1880
|
+
sdkTimeoutMs: operationWaiting.assets["uploadAttachment"],
|
|
1881
|
+
mediaUsage: true,
|
|
1882
|
+
transport: "binary-upload",
|
|
1883
|
+
idempotency: "durable-receipt",
|
|
1884
|
+
facades: [{ path: "assets.uploadAttachment", kind: "direct" }]
|
|
1885
|
+
},
|
|
1886
|
+
"attachmentUrl": {
|
|
1887
|
+
...operationDefaults,
|
|
1888
|
+
capability: "assets",
|
|
1889
|
+
operation: "attachmentUrl",
|
|
1890
|
+
input: "assets.attachmentUrl",
|
|
1891
|
+
output: "assets.attachmentUrl",
|
|
1892
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1893
|
+
mediaUsage: true,
|
|
1894
|
+
...operationRead,
|
|
1895
|
+
facades: [{ path: "assets.attachmentUrl", kind: "direct" }]
|
|
1896
|
+
},
|
|
1897
|
+
// The caller's own media under the usage, with an account and contribute access: only its author lists, shares, hides or
|
|
1898
|
+
// removes one; sharing needs the participant's own page.
|
|
1899
|
+
"share": {
|
|
1900
|
+
...operationDefaults,
|
|
1901
|
+
capability: "assets",
|
|
1902
|
+
operation: "share",
|
|
1903
|
+
input: "assets.share",
|
|
1904
|
+
output: "assets.share",
|
|
1905
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1906
|
+
facades: [{ path: "assets.share", kind: "direct" }, { path: "assets.setVisibility", kind: "composite" }]
|
|
1907
|
+
},
|
|
1908
|
+
"unshare": {
|
|
1909
|
+
...operationDefaults,
|
|
1910
|
+
capability: "assets",
|
|
1911
|
+
operation: "unshare",
|
|
1912
|
+
input: "assets.unshare",
|
|
1913
|
+
output: "assets.unshare",
|
|
1914
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1915
|
+
facades: [{ path: "assets.unshare", kind: "direct" }, { path: "assets.setVisibility", kind: "composite" }]
|
|
1916
|
+
},
|
|
1917
|
+
"list": {
|
|
1918
|
+
...operationDefaults,
|
|
1919
|
+
capability: "assets",
|
|
1920
|
+
operation: "list",
|
|
1921
|
+
input: "assets.list",
|
|
1922
|
+
output: "assets.list",
|
|
1923
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1924
|
+
facades: [{ path: "assets.list", kind: "direct" }]
|
|
1925
|
+
},
|
|
1926
|
+
"remove": {
|
|
1927
|
+
...operationDefaults,
|
|
1928
|
+
capability: "assets",
|
|
1929
|
+
operation: "remove",
|
|
1930
|
+
input: "assets.remove",
|
|
1931
|
+
output: "assets.remove",
|
|
1932
|
+
sdkTimeoutMs: operationWaiting.assets.default,
|
|
1933
|
+
facades: [{ path: "assets.remove", kind: "direct" }]
|
|
1934
|
+
}
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
// src/video-operations.ts
|
|
1938
|
+
var videoOperationDefinitions = {
|
|
1939
|
+
"connection": {
|
|
1940
|
+
...operationDefaults,
|
|
1941
|
+
capability: "video",
|
|
1942
|
+
operation: "connection",
|
|
1943
|
+
input: "video.connection",
|
|
1944
|
+
output: "video.connection",
|
|
1945
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
1946
|
+
facades: [{ path: "video.connection", kind: "direct" }]
|
|
1947
|
+
},
|
|
1948
|
+
"workflows": {
|
|
1949
|
+
...operationDefaults,
|
|
1950
|
+
capability: "video",
|
|
1951
|
+
operation: "workflows",
|
|
1952
|
+
input: "video.workflows",
|
|
1953
|
+
output: "video.workflows",
|
|
1954
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
1955
|
+
...operationRead,
|
|
1956
|
+
facades: [{ path: "video.workflows", kind: "direct" }]
|
|
1957
|
+
},
|
|
1958
|
+
"workflow": {
|
|
1959
|
+
...operationDefaults,
|
|
1960
|
+
capability: "video",
|
|
1961
|
+
operation: "workflow",
|
|
1962
|
+
input: "video.workflow",
|
|
1963
|
+
output: "video.workflow",
|
|
1964
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
1965
|
+
...operationRead,
|
|
1966
|
+
facades: [{ path: "video.workflow", kind: "direct" }]
|
|
1967
|
+
},
|
|
1968
|
+
"estimate": {
|
|
1969
|
+
...operationDefaults,
|
|
1970
|
+
capability: "video",
|
|
1971
|
+
operation: "estimate",
|
|
1972
|
+
input: "video.estimate",
|
|
1973
|
+
output: "video.estimate",
|
|
1974
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
1975
|
+
...operationRead,
|
|
1976
|
+
facades: [{ path: "video.estimate", kind: "direct" }]
|
|
1977
|
+
},
|
|
1978
|
+
"create": {
|
|
1979
|
+
...operationDefaults,
|
|
1980
|
+
capability: "video",
|
|
1981
|
+
operation: "create",
|
|
1982
|
+
input: "video.create",
|
|
1983
|
+
output: "video.create",
|
|
1984
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
1985
|
+
mediaUsage: true,
|
|
1986
|
+
spend: "may-spend",
|
|
1987
|
+
idempotency: "durable-receipt",
|
|
1988
|
+
facades: [{ path: "video.create", kind: "direct" }]
|
|
1989
|
+
},
|
|
1990
|
+
"list": {
|
|
1991
|
+
...operationDefaults,
|
|
1992
|
+
capability: "video",
|
|
1993
|
+
operation: "list",
|
|
1994
|
+
input: "video.list",
|
|
1995
|
+
output: "video.list",
|
|
1996
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
1997
|
+
...observerRead,
|
|
1998
|
+
facades: [{ path: "video.list", kind: "direct" }]
|
|
1999
|
+
},
|
|
2000
|
+
"get": {
|
|
2001
|
+
...operationDefaults,
|
|
2002
|
+
capability: "video",
|
|
2003
|
+
operation: "get",
|
|
2004
|
+
input: "video.get",
|
|
2005
|
+
output: "video.get",
|
|
2006
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2007
|
+
...observerRead,
|
|
2008
|
+
facades: [{ path: "video.get", kind: "direct" }, { path: "video.wait", kind: "composite" }, { path: "video.media", kind: "composite" }, { path: "video.playback", kind: "composite" }]
|
|
2009
|
+
},
|
|
2010
|
+
"retry": {
|
|
2011
|
+
...operationDefaults,
|
|
2012
|
+
capability: "video",
|
|
2013
|
+
operation: "retry",
|
|
2014
|
+
input: "video.retry",
|
|
2015
|
+
output: "video.retry",
|
|
2016
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2017
|
+
spend: "may-spend",
|
|
2018
|
+
idempotency: "durable-receipt",
|
|
2019
|
+
facades: [{ path: "video.retry", kind: "direct" }]
|
|
2020
|
+
},
|
|
2021
|
+
"cancel": {
|
|
2022
|
+
...operationDefaults,
|
|
2023
|
+
capability: "video",
|
|
2024
|
+
operation: "cancel",
|
|
2025
|
+
input: "video.cancel",
|
|
2026
|
+
output: "video.cancel",
|
|
2027
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2028
|
+
facades: [{ path: "video.cancel", kind: "direct" }]
|
|
2029
|
+
},
|
|
2030
|
+
"remove": {
|
|
2031
|
+
...operationDefaults,
|
|
2032
|
+
capability: "video",
|
|
2033
|
+
operation: "remove",
|
|
2034
|
+
input: "video.remove",
|
|
2035
|
+
output: "video.remove",
|
|
2036
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2037
|
+
facades: [{ path: "video.remove", kind: "direct" }]
|
|
2038
|
+
},
|
|
2039
|
+
// By its author only; sharing needs the participant's own page.
|
|
2040
|
+
"share": {
|
|
2041
|
+
...operationDefaults,
|
|
2042
|
+
capability: "video",
|
|
2043
|
+
operation: "share",
|
|
2044
|
+
input: "video.share",
|
|
2045
|
+
output: "video.share",
|
|
2046
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2047
|
+
facades: [{ path: "video.share", kind: "direct" }, { path: "video.setVisibility", kind: "composite" }]
|
|
2048
|
+
},
|
|
2049
|
+
"unshare": {
|
|
2050
|
+
...operationDefaults,
|
|
2051
|
+
capability: "video",
|
|
2052
|
+
operation: "unshare",
|
|
2053
|
+
input: "video.unshare",
|
|
2054
|
+
output: "video.unshare",
|
|
2055
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2056
|
+
facades: [{ path: "video.unshare", kind: "direct" }, { path: "video.setVisibility", kind: "composite" }]
|
|
2057
|
+
},
|
|
2058
|
+
"clipping.create": {
|
|
2059
|
+
...operationDefaults,
|
|
2060
|
+
capability: "video",
|
|
2061
|
+
operation: "clipping.create",
|
|
2062
|
+
input: "video.clipping.create",
|
|
2063
|
+
output: "video.clipping.create",
|
|
2064
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2065
|
+
mediaUsage: true,
|
|
2066
|
+
facades: [{ path: "video.clipping.create", kind: "direct" }]
|
|
2067
|
+
},
|
|
2068
|
+
"clipping.list": {
|
|
2069
|
+
...operationDefaults,
|
|
2070
|
+
capability: "video",
|
|
2071
|
+
operation: "clipping.list",
|
|
2072
|
+
input: "video.clipping.list",
|
|
2073
|
+
output: "video.clipping.list",
|
|
2074
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2075
|
+
...observerRead,
|
|
2076
|
+
facades: [{ path: "video.clipping.list", kind: "direct" }]
|
|
2077
|
+
},
|
|
2078
|
+
"clipping.get": {
|
|
2079
|
+
...operationDefaults,
|
|
2080
|
+
capability: "video",
|
|
2081
|
+
operation: "clipping.get",
|
|
2082
|
+
input: "video.clipping.get",
|
|
2083
|
+
output: "video.clipping.get",
|
|
2084
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2085
|
+
...observerRead,
|
|
2086
|
+
facades: [{ path: "video.clipping.get", kind: "direct" }]
|
|
2087
|
+
},
|
|
2088
|
+
"clipping.remove": {
|
|
2089
|
+
...operationDefaults,
|
|
2090
|
+
capability: "video",
|
|
2091
|
+
operation: "clipping.remove",
|
|
2092
|
+
input: "video.clipping.remove",
|
|
2093
|
+
output: "video.clipping.remove",
|
|
2094
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2095
|
+
facades: [{ path: "video.clipping.remove", kind: "direct" }]
|
|
2096
|
+
},
|
|
2097
|
+
"clipping.uploadSource": {
|
|
2098
|
+
...operationDefaults,
|
|
2099
|
+
capability: "video",
|
|
2100
|
+
operation: "clipping.uploadSource",
|
|
2101
|
+
input: "video.clipping.uploadSource",
|
|
2102
|
+
output: "video.clipping.uploadSource",
|
|
2103
|
+
sdkTimeoutMs: operationWaiting.video["clipping.uploadSource"],
|
|
2104
|
+
transport: "binary-upload",
|
|
2105
|
+
facades: [{ path: "video.clipping.uploadSource", kind: "direct" }]
|
|
2106
|
+
},
|
|
2107
|
+
"clipping.estimate": {
|
|
2108
|
+
...operationDefaults,
|
|
2109
|
+
capability: "video",
|
|
2110
|
+
operation: "clipping.estimate",
|
|
2111
|
+
input: "video.clipping.estimate",
|
|
2112
|
+
output: "video.clipping.estimate",
|
|
2113
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2114
|
+
...operationRead,
|
|
2115
|
+
facades: [{ path: "video.clipping.estimate", kind: "direct" }]
|
|
2116
|
+
},
|
|
2117
|
+
"clipping.propose": {
|
|
2118
|
+
...operationDefaults,
|
|
2119
|
+
capability: "video",
|
|
2120
|
+
operation: "clipping.propose",
|
|
2121
|
+
input: "video.clipping.propose",
|
|
2122
|
+
output: "video.clipping.propose",
|
|
2123
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2124
|
+
spend: "may-spend",
|
|
2125
|
+
idempotency: "durable-receipt",
|
|
2126
|
+
facades: [{ path: "video.clipping.propose", kind: "direct" }]
|
|
2127
|
+
},
|
|
2128
|
+
"clipping.updatePlan": {
|
|
2129
|
+
...operationDefaults,
|
|
2130
|
+
capability: "video",
|
|
2131
|
+
operation: "clipping.updatePlan",
|
|
2132
|
+
input: "video.clipping.updatePlan",
|
|
2133
|
+
output: "video.clipping.updatePlan",
|
|
2134
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2135
|
+
facades: [{ path: "video.clipping.updatePlan", kind: "direct" }]
|
|
2136
|
+
},
|
|
2137
|
+
"clipping.createExport": {
|
|
2138
|
+
...operationDefaults,
|
|
2139
|
+
capability: "video",
|
|
2140
|
+
operation: "clipping.createExport",
|
|
2141
|
+
input: "video.clipping.createExport",
|
|
2142
|
+
output: "video.clipping.createExport",
|
|
2143
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2144
|
+
spend: "may-spend",
|
|
2145
|
+
idempotency: "durable-receipt",
|
|
2146
|
+
facades: [{ path: "video.clipping.createExport", kind: "direct" }]
|
|
2147
|
+
},
|
|
2148
|
+
"clipping.getJob": {
|
|
2149
|
+
...operationDefaults,
|
|
2150
|
+
capability: "video",
|
|
2151
|
+
operation: "clipping.getJob",
|
|
2152
|
+
input: "video.clipping.getJob",
|
|
2153
|
+
output: "video.clipping.getJob",
|
|
2154
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2155
|
+
...operationRead,
|
|
2156
|
+
facades: [{ path: "video.clipping.getJob", kind: "direct" }]
|
|
2157
|
+
},
|
|
2158
|
+
"clipping.cancelJob": {
|
|
2159
|
+
...operationDefaults,
|
|
2160
|
+
capability: "video",
|
|
2161
|
+
operation: "clipping.cancelJob",
|
|
2162
|
+
input: "video.clipping.cancelJob",
|
|
2163
|
+
output: "video.clipping.cancelJob",
|
|
2164
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2165
|
+
facades: [{ path: "video.clipping.cancelJob", kind: "direct" }]
|
|
2166
|
+
},
|
|
2167
|
+
"clipping.resumeJob": {
|
|
2168
|
+
...operationDefaults,
|
|
2169
|
+
capability: "video",
|
|
2170
|
+
operation: "clipping.resumeJob",
|
|
2171
|
+
input: "video.clipping.resumeJob",
|
|
2172
|
+
output: "video.clipping.resumeJob",
|
|
2173
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2174
|
+
spend: "may-spend",
|
|
2175
|
+
idempotency: "durable-receipt",
|
|
2176
|
+
facades: [{ path: "video.clipping.resumeJob", kind: "direct" }]
|
|
2177
|
+
},
|
|
2178
|
+
"clipping.prepareMutation": {
|
|
2179
|
+
...operationDefaults,
|
|
2180
|
+
capability: "video",
|
|
2181
|
+
operation: "clipping.prepareMutation",
|
|
2182
|
+
input: "video.clipping.prepareMutation",
|
|
2183
|
+
output: "video.clipping.prepareMutation",
|
|
2184
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2185
|
+
transport: "host-document",
|
|
2186
|
+
facades: [{ path: "video.clipping.prepareMutation", kind: "direct" }]
|
|
2187
|
+
},
|
|
2188
|
+
"clipping.readMutation": {
|
|
2189
|
+
...operationDefaults,
|
|
2190
|
+
capability: "video",
|
|
2191
|
+
operation: "clipping.readMutation",
|
|
2192
|
+
input: "video.clipping.readMutation",
|
|
2193
|
+
output: "video.clipping.readMutation",
|
|
2194
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2195
|
+
...operationRead,
|
|
2196
|
+
transport: "host-document",
|
|
2197
|
+
facades: [{ path: "video.clipping.readMutation", kind: "direct" }]
|
|
2198
|
+
},
|
|
2199
|
+
"clipping.completeMutation": {
|
|
2200
|
+
...operationDefaults,
|
|
2201
|
+
capability: "video",
|
|
2202
|
+
operation: "clipping.completeMutation",
|
|
2203
|
+
input: "video.clipping.completeMutation",
|
|
2204
|
+
output: "video.clipping.completeMutation",
|
|
2205
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2206
|
+
transport: "host-document",
|
|
2207
|
+
facades: [{ path: "video.clipping.completeMutation", kind: "direct" }]
|
|
2208
|
+
},
|
|
2209
|
+
// The participant's own Tripirl projects: signed-in only, never observed nor public; one per-account rate bucket.
|
|
2210
|
+
"projects.list": {
|
|
2211
|
+
...operationDefaults,
|
|
2212
|
+
capability: "video",
|
|
2213
|
+
operation: "projects.list",
|
|
2214
|
+
input: "video.projects.list",
|
|
2215
|
+
output: "video.projects.list",
|
|
2216
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2217
|
+
...operationRead,
|
|
2218
|
+
rateBucket: "experience-video-projects",
|
|
2219
|
+
facades: [{ path: "video.projects.list", kind: "direct" }]
|
|
2220
|
+
},
|
|
2221
|
+
"projects.get": {
|
|
2222
|
+
...operationDefaults,
|
|
2223
|
+
capability: "video",
|
|
2224
|
+
operation: "projects.get",
|
|
2225
|
+
input: "video.projects.get",
|
|
2226
|
+
output: "video.projects.get",
|
|
2227
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2228
|
+
...operationRead,
|
|
2229
|
+
rateBucket: "experience-video-projects",
|
|
2230
|
+
facades: [{ path: "video.projects.get", kind: "direct" }]
|
|
2231
|
+
},
|
|
2232
|
+
"projects.artifacts": {
|
|
2233
|
+
...operationDefaults,
|
|
2234
|
+
capability: "video",
|
|
2235
|
+
operation: "projects.artifacts",
|
|
2236
|
+
input: "video.projects.artifacts",
|
|
2237
|
+
output: "video.projects.artifacts",
|
|
2238
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2239
|
+
...operationRead,
|
|
2240
|
+
rateBucket: "experience-video-projects",
|
|
2241
|
+
facades: [{ path: "video.projects.artifacts", kind: "direct" }]
|
|
2242
|
+
},
|
|
2243
|
+
"projects.media": {
|
|
2244
|
+
...operationDefaults,
|
|
2245
|
+
capability: "video",
|
|
2246
|
+
operation: "projects.media",
|
|
2247
|
+
input: "video.projects.media",
|
|
2248
|
+
output: "video.projects.media",
|
|
2249
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2250
|
+
...operationRead,
|
|
2251
|
+
rateBucket: "experience-video-projects",
|
|
2252
|
+
facades: [{ path: "video.projects.media", kind: "composite" }]
|
|
2253
|
+
},
|
|
2254
|
+
"projects.cancel": {
|
|
2255
|
+
...operationDefaults,
|
|
2256
|
+
capability: "video",
|
|
2257
|
+
operation: "projects.cancel",
|
|
2258
|
+
input: "video.projects.cancel",
|
|
2259
|
+
output: "video.projects.cancel",
|
|
2260
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2261
|
+
rateBucket: "experience-video-projects",
|
|
2262
|
+
facades: [{ path: "video.projects.cancel", kind: "direct" }]
|
|
2263
|
+
},
|
|
2264
|
+
"projects.previewSettings": {
|
|
2265
|
+
...operationDefaults,
|
|
2266
|
+
capability: "video",
|
|
2267
|
+
operation: "projects.previewSettings",
|
|
2268
|
+
input: "video.projects.previewSettings",
|
|
2269
|
+
output: "video.projects.previewSettings",
|
|
2270
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2271
|
+
...operationRead,
|
|
2272
|
+
rateBucket: "experience-video-projects",
|
|
2273
|
+
facades: [{ path: "video.projects.previewSettings", kind: "direct" }]
|
|
2274
|
+
},
|
|
2275
|
+
"projects.updateSettings": {
|
|
2276
|
+
...operationDefaults,
|
|
2277
|
+
capability: "video",
|
|
2278
|
+
operation: "projects.updateSettings",
|
|
2279
|
+
input: "video.projects.updateSettings",
|
|
2280
|
+
output: "video.projects.updateSettings",
|
|
2281
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2282
|
+
rateBucket: "experience-video-projects",
|
|
2283
|
+
facades: [{ path: "video.projects.updateSettings", kind: "direct" }]
|
|
2284
|
+
},
|
|
2285
|
+
"projects.resume": {
|
|
2286
|
+
...operationDefaults,
|
|
2287
|
+
capability: "video",
|
|
2288
|
+
operation: "projects.resume",
|
|
2289
|
+
input: "video.projects.resume",
|
|
2290
|
+
output: "video.projects.resume",
|
|
2291
|
+
sdkTimeoutMs: operationWaiting.video.default,
|
|
2292
|
+
rateBucket: "experience-video-projects",
|
|
2293
|
+
facades: [{ path: "video.projects.resume", kind: "direct" }]
|
|
2294
|
+
},
|
|
2295
|
+
// Tripirl copies the video into the project before answering: up to a few minutes for a long one.
|
|
2296
|
+
"projects.addReference": {
|
|
2297
|
+
...operationDefaults,
|
|
2298
|
+
capability: "video",
|
|
2299
|
+
operation: "projects.addReference",
|
|
2300
|
+
input: "video.projects.addReference",
|
|
2301
|
+
output: "video.projects.addReference",
|
|
2302
|
+
sdkTimeoutMs: operationWaiting.video["projects.addReference"],
|
|
2303
|
+
rateBucket: "experience-video-projects",
|
|
2304
|
+
facades: [{ path: "video.projects.addReference", kind: "direct" }]
|
|
2305
|
+
}
|
|
2306
|
+
};
|
|
2307
|
+
var videoOperations = [
|
|
2308
|
+
videoOperationDefinitions["connection"].operation,
|
|
2309
|
+
videoOperationDefinitions["workflows"].operation,
|
|
2310
|
+
videoOperationDefinitions["workflow"].operation,
|
|
2311
|
+
videoOperationDefinitions["estimate"].operation,
|
|
2312
|
+
videoOperationDefinitions["create"].operation,
|
|
2313
|
+
videoOperationDefinitions["list"].operation,
|
|
2314
|
+
videoOperationDefinitions["get"].operation,
|
|
2315
|
+
videoOperationDefinitions["retry"].operation,
|
|
2316
|
+
videoOperationDefinitions["cancel"].operation,
|
|
2317
|
+
videoOperationDefinitions["remove"].operation,
|
|
2318
|
+
videoOperationDefinitions["share"].operation,
|
|
2319
|
+
videoOperationDefinitions["unshare"].operation,
|
|
2320
|
+
videoOperationDefinitions["clipping.create"].operation,
|
|
2321
|
+
videoOperationDefinitions["clipping.list"].operation,
|
|
2322
|
+
videoOperationDefinitions["clipping.get"].operation,
|
|
2323
|
+
videoOperationDefinitions["clipping.remove"].operation,
|
|
2324
|
+
videoOperationDefinitions["clipping.uploadSource"].operation,
|
|
2325
|
+
videoOperationDefinitions["clipping.estimate"].operation,
|
|
2326
|
+
videoOperationDefinitions["clipping.propose"].operation,
|
|
2327
|
+
videoOperationDefinitions["clipping.updatePlan"].operation,
|
|
2328
|
+
videoOperationDefinitions["clipping.createExport"].operation,
|
|
2329
|
+
videoOperationDefinitions["clipping.getJob"].operation,
|
|
2330
|
+
videoOperationDefinitions["clipping.cancelJob"].operation,
|
|
2331
|
+
videoOperationDefinitions["clipping.resumeJob"].operation,
|
|
2332
|
+
videoOperationDefinitions["clipping.prepareMutation"].operation,
|
|
2333
|
+
videoOperationDefinitions["clipping.readMutation"].operation,
|
|
2334
|
+
videoOperationDefinitions["clipping.completeMutation"].operation,
|
|
2335
|
+
videoOperationDefinitions["projects.list"].operation,
|
|
2336
|
+
videoOperationDefinitions["projects.get"].operation,
|
|
2337
|
+
videoOperationDefinitions["projects.artifacts"].operation,
|
|
2338
|
+
videoOperationDefinitions["projects.media"].operation,
|
|
2339
|
+
videoOperationDefinitions["projects.cancel"].operation,
|
|
2340
|
+
videoOperationDefinitions["projects.previewSettings"].operation,
|
|
2341
|
+
videoOperationDefinitions["projects.updateSettings"].operation,
|
|
2342
|
+
videoOperationDefinitions["projects.resume"].operation,
|
|
2343
|
+
videoOperationDefinitions["projects.addReference"].operation
|
|
2344
|
+
];
|
|
2345
|
+
var videoWaitSchedule = { fastMs: 2e3, fastForMs: 2e4, steadyMs: 5e3, steadyForMs: 12e4, slowMs: 15e3, minimumIntervalMs: 2e3 };
|
|
2346
|
+
|
|
2347
|
+
// src/hardware-operations.ts
|
|
2348
|
+
var hardwareOperationDefinitions = {
|
|
2349
|
+
"metrics.read": {
|
|
2350
|
+
...operationDefaults,
|
|
2351
|
+
capability: "hardware",
|
|
2352
|
+
operation: "metrics.read",
|
|
2353
|
+
input: "hardware.metrics.read",
|
|
2354
|
+
output: "hardware.metrics.read",
|
|
2355
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2356
|
+
...operationRead,
|
|
2357
|
+
facades: [{ path: "hardware.metrics", kind: "direct" }]
|
|
2358
|
+
},
|
|
2359
|
+
"hue.lights.read": {
|
|
2360
|
+
...operationDefaults,
|
|
2361
|
+
capability: "hardware",
|
|
2362
|
+
operation: "hue.lights.read",
|
|
2363
|
+
input: "hardware.hue.lights.read",
|
|
2364
|
+
output: "hardware.hue.lights.read",
|
|
2365
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2366
|
+
...operationRead,
|
|
2367
|
+
publicControl: "hue",
|
|
2368
|
+
rateBucket: "hardware-control",
|
|
2369
|
+
facades: [{ path: "hardware.hue.lights", kind: "direct" }]
|
|
2370
|
+
},
|
|
2371
|
+
"hue.lights.set": {
|
|
2372
|
+
...operationDefaults,
|
|
2373
|
+
capability: "hardware",
|
|
2374
|
+
operation: "hue.lights.set",
|
|
2375
|
+
input: "hardware.hue.lights.set",
|
|
2376
|
+
output: "hardware.hue.lights.set",
|
|
2377
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2378
|
+
publicControl: "hue",
|
|
2379
|
+
rateBucket: "hardware-control",
|
|
2380
|
+
facades: [{ path: "hardware.hue.set", kind: "direct" }]
|
|
2381
|
+
},
|
|
2382
|
+
"leds.read": {
|
|
2383
|
+
...operationDefaults,
|
|
2384
|
+
capability: "hardware",
|
|
2385
|
+
operation: "leds.read",
|
|
2386
|
+
input: "hardware.leds.read",
|
|
2387
|
+
output: "hardware.leds.read",
|
|
2388
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2389
|
+
...operationRead,
|
|
2390
|
+
publicControl: "leds",
|
|
2391
|
+
rateBucket: "hardware-control",
|
|
2392
|
+
facades: [{ path: "hardware.leds.read", kind: "direct" }]
|
|
2393
|
+
},
|
|
2394
|
+
"leds.set": {
|
|
2395
|
+
...operationDefaults,
|
|
2396
|
+
capability: "hardware",
|
|
2397
|
+
operation: "leds.set",
|
|
2398
|
+
input: "hardware.leds.set",
|
|
2399
|
+
output: "hardware.leds.set",
|
|
2400
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2401
|
+
publicControl: "leds",
|
|
2402
|
+
rateBucket: "hardware-control",
|
|
2403
|
+
facades: [{ path: "hardware.leds.set", kind: "direct" }]
|
|
2404
|
+
},
|
|
2405
|
+
"audio.devices": {
|
|
2406
|
+
...operationDefaults,
|
|
2407
|
+
capability: "hardware",
|
|
2408
|
+
operation: "audio.devices",
|
|
2409
|
+
input: "hardware.audio.devices",
|
|
2410
|
+
output: "hardware.audio.devices",
|
|
2411
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2412
|
+
...operationRead,
|
|
2413
|
+
rateBucket: "hardware-audio",
|
|
2414
|
+
facades: [{ path: "hardware.audio.devices", kind: "direct" }]
|
|
2415
|
+
},
|
|
2416
|
+
"audio.start": {
|
|
2417
|
+
...operationDefaults,
|
|
2418
|
+
capability: "hardware",
|
|
2419
|
+
operation: "audio.start",
|
|
2420
|
+
input: "hardware.audio.start",
|
|
2421
|
+
output: "hardware.audio.start",
|
|
2422
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2423
|
+
rateBucket: "hardware-audio",
|
|
2424
|
+
facades: [{ path: "hardware.audio.start", kind: "direct" }]
|
|
2425
|
+
},
|
|
2426
|
+
"audio.read": {
|
|
2427
|
+
...operationDefaults,
|
|
2428
|
+
capability: "hardware",
|
|
2429
|
+
operation: "audio.read",
|
|
2430
|
+
input: "hardware.audio.read",
|
|
2431
|
+
output: "hardware.audio.read",
|
|
2432
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2433
|
+
...operationRead,
|
|
2434
|
+
rateBucket: "hardware-audio",
|
|
2435
|
+
facades: [{ path: "hardware.audio.read", kind: "direct" }]
|
|
2436
|
+
},
|
|
2437
|
+
"audio.stop": {
|
|
2438
|
+
...operationDefaults,
|
|
2439
|
+
capability: "hardware",
|
|
2440
|
+
operation: "audio.stop",
|
|
2441
|
+
input: "hardware.audio.stop",
|
|
2442
|
+
output: "hardware.audio.stop",
|
|
2443
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2444
|
+
rateBucket: "hardware-audio",
|
|
2445
|
+
facades: [{ path: "hardware.audio.stop", kind: "direct" }]
|
|
2446
|
+
},
|
|
2447
|
+
"audio.transcribe": {
|
|
2448
|
+
...operationDefaults,
|
|
2449
|
+
capability: "hardware",
|
|
2450
|
+
operation: "audio.transcribe",
|
|
2451
|
+
input: "hardware.audio.transcribe",
|
|
2452
|
+
output: "hardware.audio.transcribe",
|
|
2453
|
+
sdkTimeoutMs: operationWaiting.hardware["audio.transcribe"],
|
|
2454
|
+
rateBucket: "hardware-audio",
|
|
2455
|
+
spend: "may-spend",
|
|
2456
|
+
facades: [{ path: "hardware.audio.transcribe", kind: "direct" }]
|
|
2457
|
+
},
|
|
2458
|
+
"network.read": {
|
|
2459
|
+
...operationDefaults,
|
|
2460
|
+
capability: "hardware",
|
|
2461
|
+
operation: "network.read",
|
|
2462
|
+
input: "hardware.network.read",
|
|
2463
|
+
output: "hardware.network.read",
|
|
2464
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2465
|
+
...publicRead,
|
|
2466
|
+
rateBucket: "hardware-network",
|
|
2467
|
+
facades: [{ path: "hardware.network", kind: "direct" }]
|
|
2468
|
+
},
|
|
2469
|
+
"desktop.read": {
|
|
2470
|
+
...operationDefaults,
|
|
2471
|
+
capability: "hardware",
|
|
2472
|
+
operation: "desktop.read",
|
|
2473
|
+
input: "hardware.desktop.read",
|
|
2474
|
+
output: "hardware.desktop.read",
|
|
2475
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2476
|
+
...operationRead,
|
|
2477
|
+
rateBucket: "hardware-desktop",
|
|
2478
|
+
facades: [{ path: "hardware.desktop.read", kind: "direct" }]
|
|
2479
|
+
},
|
|
2480
|
+
"desktop.dictation": {
|
|
2481
|
+
...operationDefaults,
|
|
2482
|
+
capability: "hardware",
|
|
2483
|
+
operation: "desktop.dictation",
|
|
2484
|
+
input: "hardware.desktop.dictation",
|
|
2485
|
+
output: "hardware.desktop.dictation",
|
|
2486
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2487
|
+
rateBucket: "hardware-desktop",
|
|
2488
|
+
facades: [{ path: "hardware.desktop.dictation", kind: "direct" }]
|
|
2489
|
+
},
|
|
2490
|
+
"desktop.terminal": {
|
|
2491
|
+
...operationDefaults,
|
|
2492
|
+
capability: "hardware",
|
|
2493
|
+
operation: "desktop.terminal",
|
|
2494
|
+
input: "hardware.desktop.terminal",
|
|
2495
|
+
output: "hardware.desktop.terminal",
|
|
2496
|
+
sdkTimeoutMs: operationWaiting.hardware.default,
|
|
2497
|
+
rateBucket: "hardware-desktop",
|
|
2498
|
+
facades: [{ path: "hardware.desktop.terminal", kind: "direct" }]
|
|
2499
|
+
}
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2502
|
+
// src/network-operations.ts
|
|
2503
|
+
var networkOperationDefinitions = {
|
|
2504
|
+
"request": {
|
|
2505
|
+
...operationDefaults,
|
|
2506
|
+
capability: "network",
|
|
2507
|
+
operation: "request",
|
|
2508
|
+
input: "network.request",
|
|
2509
|
+
output: "network.request",
|
|
2510
|
+
sdkTimeoutMs: operationWaiting.network.default,
|
|
2511
|
+
idempotency: "durable-receipt",
|
|
2512
|
+
facades: [{ path: "network.request", kind: "direct" }]
|
|
2513
|
+
},
|
|
2514
|
+
"asset": {
|
|
2515
|
+
...operationDefaults,
|
|
2516
|
+
capability: "network",
|
|
2517
|
+
operation: "asset",
|
|
2518
|
+
input: "network.asset",
|
|
2519
|
+
output: "network.asset",
|
|
2520
|
+
sdkTimeoutMs: operationWaiting.network.default,
|
|
2521
|
+
...operationRead,
|
|
2522
|
+
facades: [{ path: "network.asset", kind: "direct" }]
|
|
2523
|
+
}
|
|
2524
|
+
};
|
|
2525
|
+
|
|
2526
|
+
// src/multiplayer-operations.ts
|
|
2527
|
+
var multiplayerOperationDefinitions = {
|
|
2528
|
+
"presence": {
|
|
2529
|
+
...operationDefaults,
|
|
2530
|
+
capability: "multiplayer",
|
|
2531
|
+
operation: "presence",
|
|
2532
|
+
input: "multiplayer.presence",
|
|
2533
|
+
output: "multiplayer.presence",
|
|
2534
|
+
sdkTimeoutMs: operationWaiting.multiplayer.default,
|
|
2535
|
+
transport: "live-host",
|
|
2536
|
+
...publicRead,
|
|
2537
|
+
facades: [{ path: "multiplayer.presence", kind: "direct" }, { path: "multiplayer.onPresence", kind: "composite" }]
|
|
2538
|
+
},
|
|
2539
|
+
"subscribe": {
|
|
2540
|
+
...operationDefaults,
|
|
2541
|
+
capability: "multiplayer",
|
|
2542
|
+
operation: "subscribe",
|
|
2543
|
+
input: "multiplayer.subscribe",
|
|
2544
|
+
output: "multiplayer.subscribe",
|
|
2545
|
+
sdkTimeoutMs: operationWaiting.multiplayer.default,
|
|
2546
|
+
transport: "live-host",
|
|
2547
|
+
...publicRead,
|
|
2548
|
+
facades: [{ path: "multiplayer.subscribe", kind: "composite" }]
|
|
2549
|
+
},
|
|
2550
|
+
"publish": {
|
|
2551
|
+
...operationDefaults,
|
|
2552
|
+
capability: "multiplayer",
|
|
2553
|
+
operation: "publish",
|
|
2554
|
+
input: "multiplayer.publish",
|
|
2555
|
+
output: "multiplayer.publish",
|
|
2556
|
+
sdkTimeoutMs: operationWaiting.multiplayer.default,
|
|
2557
|
+
transport: "live-host",
|
|
2558
|
+
facades: [{ path: "multiplayer.publish", kind: "direct" }]
|
|
2559
|
+
}
|
|
2560
|
+
};
|
|
2561
|
+
|
|
2562
|
+
// src/device-operations.ts
|
|
2563
|
+
var deviceOperationDefinitions = {
|
|
2564
|
+
"availability": {
|
|
2565
|
+
...operationDefaults,
|
|
2566
|
+
capability: "device",
|
|
2567
|
+
operation: "availability",
|
|
2568
|
+
input: "device.availability",
|
|
2569
|
+
output: "device.availability",
|
|
2570
|
+
sdkTimeoutMs: operationWaiting.device["availability"],
|
|
2571
|
+
transport: "native-host",
|
|
2572
|
+
...operationRead,
|
|
2573
|
+
facades: [
|
|
2574
|
+
{ path: "device.availability", kind: "direct" },
|
|
2575
|
+
{ path: "device.media.status", kind: "composite" },
|
|
2576
|
+
{ path: "device.media.offerHost", kind: "composite" }
|
|
2577
|
+
]
|
|
2578
|
+
},
|
|
2579
|
+
"camera.capture": {
|
|
2580
|
+
...operationDefaults,
|
|
2581
|
+
capability: "device",
|
|
2582
|
+
operation: "camera.capture",
|
|
2583
|
+
input: "device.camera.capture",
|
|
2584
|
+
output: "device.camera.capture",
|
|
2585
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2586
|
+
transport: "native-host",
|
|
2587
|
+
facades: [{ path: "device.camera.capture", kind: "direct" }]
|
|
2588
|
+
},
|
|
2589
|
+
"camera.stream": {
|
|
2590
|
+
...operationDefaults,
|
|
2591
|
+
capability: "device",
|
|
2592
|
+
operation: "camera.stream",
|
|
2593
|
+
input: "device.camera.stream",
|
|
2594
|
+
output: "device.camera.stream",
|
|
2595
|
+
sdkTimeoutMs: operationWaiting.device["camera.stream"],
|
|
2596
|
+
transport: "native-host",
|
|
2597
|
+
facades: [{ path: "device.media.getUserMedia", kind: "composite" }]
|
|
2598
|
+
},
|
|
2599
|
+
"photos.pick": {
|
|
2600
|
+
...operationDefaults,
|
|
2601
|
+
capability: "device",
|
|
2602
|
+
operation: "photos.pick",
|
|
2603
|
+
input: "device.photos.pick",
|
|
2604
|
+
output: "device.photos.pick",
|
|
2605
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2606
|
+
transport: "native-host",
|
|
2607
|
+
facades: [{ path: "device.photos.pick", kind: "direct" }]
|
|
2608
|
+
},
|
|
2609
|
+
"microphone.stream": {
|
|
2610
|
+
...operationDefaults,
|
|
2611
|
+
capability: "device",
|
|
2612
|
+
operation: "microphone.stream",
|
|
2613
|
+
input: "device.microphone.stream",
|
|
2614
|
+
output: "device.microphone.stream",
|
|
2615
|
+
sdkTimeoutMs: operationWaiting.device["microphone.stream"],
|
|
2616
|
+
transport: "native-host",
|
|
2617
|
+
facades: [{ path: "device.media.getUserMedia", kind: "composite" }]
|
|
2618
|
+
},
|
|
2619
|
+
"motion.subscribe": {
|
|
2620
|
+
...operationDefaults,
|
|
2621
|
+
capability: "device",
|
|
2622
|
+
operation: "motion.subscribe",
|
|
2623
|
+
input: "device.motion.subscribe",
|
|
2624
|
+
output: "device.motion.subscribe",
|
|
2625
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2626
|
+
transport: "native-host",
|
|
2627
|
+
facades: [{ path: "device.motion.subscribe", kind: "composite" }]
|
|
2628
|
+
},
|
|
2629
|
+
"motion.unsubscribe": {
|
|
2630
|
+
...operationDefaults,
|
|
2631
|
+
capability: "device",
|
|
2632
|
+
operation: "motion.unsubscribe",
|
|
2633
|
+
input: "device.motion.unsubscribe",
|
|
2634
|
+
output: "device.motion.unsubscribe",
|
|
2635
|
+
sdkTimeoutMs: operationWaiting.device["motion.unsubscribe"],
|
|
2636
|
+
transport: "native-host",
|
|
2637
|
+
facades: [{ path: "device.motion.subscribe", kind: "composite" }]
|
|
2638
|
+
},
|
|
2639
|
+
"haptics.trigger": {
|
|
2640
|
+
...operationDefaults,
|
|
2641
|
+
capability: "device",
|
|
2642
|
+
operation: "haptics.trigger",
|
|
2643
|
+
input: "device.haptics.trigger",
|
|
2644
|
+
output: "device.haptics.trigger",
|
|
2645
|
+
sdkTimeoutMs: operationWaiting.device["haptics.trigger"],
|
|
2646
|
+
transport: "native-host",
|
|
2647
|
+
facades: [{ path: "device.haptics.trigger", kind: "direct" }]
|
|
2648
|
+
},
|
|
2649
|
+
"haptics.pattern": {
|
|
2650
|
+
...operationDefaults,
|
|
2651
|
+
capability: "device",
|
|
2652
|
+
operation: "haptics.pattern",
|
|
2653
|
+
input: "device.haptics.pattern",
|
|
2654
|
+
output: "device.haptics.pattern",
|
|
2655
|
+
sdkTimeoutMs: operationWaiting.device["haptics.pattern"],
|
|
2656
|
+
transport: "native-host",
|
|
2657
|
+
facades: [{ path: "device.haptics.pattern", kind: "direct" }]
|
|
2658
|
+
},
|
|
2659
|
+
"haptics.stop": {
|
|
2660
|
+
...operationDefaults,
|
|
2661
|
+
capability: "device",
|
|
2662
|
+
operation: "haptics.stop",
|
|
2663
|
+
input: "device.haptics.stop",
|
|
2664
|
+
output: "device.haptics.stop",
|
|
2665
|
+
sdkTimeoutMs: operationWaiting.device["haptics.stop"],
|
|
2666
|
+
transport: "native-host",
|
|
2667
|
+
facades: [{ path: "device.haptics.stop", kind: "direct" }]
|
|
2668
|
+
},
|
|
2669
|
+
"location.current": {
|
|
2670
|
+
...operationDefaults,
|
|
2671
|
+
capability: "device",
|
|
2672
|
+
operation: "location.current",
|
|
2673
|
+
input: "device.location.current",
|
|
2674
|
+
output: "device.location.current",
|
|
2675
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2676
|
+
transport: "native-host",
|
|
2677
|
+
...operationRead,
|
|
2678
|
+
facades: [{ path: "device.location.current", kind: "direct" }]
|
|
2679
|
+
},
|
|
2680
|
+
"share.open": {
|
|
2681
|
+
...operationDefaults,
|
|
2682
|
+
capability: "device",
|
|
2683
|
+
operation: "share.open",
|
|
2684
|
+
input: "device.share.open",
|
|
2685
|
+
output: "device.share.open",
|
|
2686
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2687
|
+
transport: "native-host",
|
|
2688
|
+
facades: [{ path: "device.share.open", kind: "direct" }]
|
|
2689
|
+
},
|
|
2690
|
+
"notifications.schedule": {
|
|
2691
|
+
...operationDefaults,
|
|
2692
|
+
capability: "device",
|
|
2693
|
+
operation: "notifications.schedule",
|
|
2694
|
+
input: "device.notifications.schedule",
|
|
2695
|
+
output: "device.notifications.schedule",
|
|
2696
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2697
|
+
transport: "native-host",
|
|
2698
|
+
facades: [{ path: "device.notifications.schedule", kind: "direct" }]
|
|
2699
|
+
},
|
|
2700
|
+
"notifications.list": {
|
|
2701
|
+
...operationDefaults,
|
|
2702
|
+
capability: "device",
|
|
2703
|
+
operation: "notifications.list",
|
|
2704
|
+
input: "device.notifications.list",
|
|
2705
|
+
output: "device.notifications.list",
|
|
2706
|
+
sdkTimeoutMs: operationWaiting.device["notifications.list"],
|
|
2707
|
+
transport: "native-host",
|
|
2708
|
+
...operationRead,
|
|
2709
|
+
facades: [{ path: "device.notifications.list", kind: "direct" }]
|
|
2710
|
+
},
|
|
2711
|
+
"notifications.cancel": {
|
|
2712
|
+
...operationDefaults,
|
|
2713
|
+
capability: "device",
|
|
2714
|
+
operation: "notifications.cancel",
|
|
2715
|
+
input: "device.notifications.cancel",
|
|
2716
|
+
output: "device.notifications.cancel",
|
|
2717
|
+
sdkTimeoutMs: operationWaiting.device["notifications.cancel"],
|
|
2718
|
+
transport: "native-host",
|
|
2719
|
+
facades: [{ path: "device.notifications.cancel", kind: "direct" }]
|
|
2720
|
+
},
|
|
2721
|
+
"alarms.schedule": {
|
|
2722
|
+
...operationDefaults,
|
|
2723
|
+
capability: "device",
|
|
2724
|
+
operation: "alarms.schedule",
|
|
2725
|
+
input: "device.alarms.schedule",
|
|
2726
|
+
output: "device.alarms.schedule",
|
|
2727
|
+
sdkTimeoutMs: operationWaiting.device.default,
|
|
2728
|
+
transport: "native-host",
|
|
2729
|
+
facades: [{ path: "device.alarms.schedule", kind: "direct" }]
|
|
2730
|
+
},
|
|
2731
|
+
"alarms.list": {
|
|
2732
|
+
...operationDefaults,
|
|
2733
|
+
capability: "device",
|
|
2734
|
+
operation: "alarms.list",
|
|
2735
|
+
input: "device.alarms.list",
|
|
2736
|
+
output: "device.alarms.list",
|
|
2737
|
+
sdkTimeoutMs: operationWaiting.device["alarms.list"],
|
|
2738
|
+
transport: "native-host",
|
|
2739
|
+
...operationRead,
|
|
2740
|
+
facades: [{ path: "device.alarms.list", kind: "direct" }]
|
|
2741
|
+
},
|
|
2742
|
+
"alarms.cancel": {
|
|
2743
|
+
...operationDefaults,
|
|
2744
|
+
capability: "device",
|
|
2745
|
+
operation: "alarms.cancel",
|
|
2746
|
+
input: "device.alarms.cancel",
|
|
2747
|
+
output: "device.alarms.cancel",
|
|
2748
|
+
sdkTimeoutMs: operationWaiting.device["alarms.cancel"],
|
|
2749
|
+
transport: "native-host",
|
|
2750
|
+
facades: [{ path: "device.alarms.cancel", kind: "direct" }]
|
|
2751
|
+
}
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
// src/presence-operations.ts
|
|
2755
|
+
var presenceOperationDefinitions = {
|
|
2756
|
+
"list": {
|
|
2757
|
+
...operationDefaults,
|
|
2758
|
+
capability: "presence",
|
|
2759
|
+
operation: "list",
|
|
2760
|
+
input: "presence.list",
|
|
2761
|
+
output: "presence.list",
|
|
2762
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
2763
|
+
...publicRead,
|
|
2764
|
+
compatibility: "wire-alias",
|
|
2765
|
+
facades: []
|
|
2766
|
+
}
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
// src/notifications-operations.ts
|
|
2770
|
+
var notificationsOperationDefinitions = {
|
|
2771
|
+
"send": {
|
|
2772
|
+
...operationDefaults,
|
|
2773
|
+
capability: "notifications",
|
|
2774
|
+
operation: "send",
|
|
2775
|
+
input: "notifications.send",
|
|
2776
|
+
output: "notifications.send",
|
|
2777
|
+
sdkTimeoutMs: operationWaiting.notifications.default,
|
|
2778
|
+
idempotency: "durable-receipt",
|
|
2779
|
+
rateBucket: "experience-notifications",
|
|
2780
|
+
facades: [{ path: "notifications.send", kind: "direct" }]
|
|
2781
|
+
},
|
|
2782
|
+
"schedule": {
|
|
2783
|
+
...operationDefaults,
|
|
2784
|
+
capability: "notifications",
|
|
2785
|
+
operation: "schedule",
|
|
2786
|
+
input: "notifications.schedule",
|
|
2787
|
+
output: "notifications.schedule",
|
|
2788
|
+
sdkTimeoutMs: operationWaiting.notifications.default,
|
|
2789
|
+
rateBucket: "experience-notifications",
|
|
2790
|
+
facades: [{ path: "notifications.schedule", kind: "direct" }]
|
|
2791
|
+
},
|
|
2792
|
+
"cancel": {
|
|
2793
|
+
...operationDefaults,
|
|
2794
|
+
capability: "notifications",
|
|
2795
|
+
operation: "cancel",
|
|
2796
|
+
input: "notifications.cancel",
|
|
2797
|
+
output: "notifications.cancel",
|
|
2798
|
+
sdkTimeoutMs: operationWaiting.notifications.default,
|
|
2799
|
+
rateBucket: "experience-notifications",
|
|
2800
|
+
facades: [{ path: "notifications.cancel", kind: "direct" }]
|
|
2801
|
+
},
|
|
2802
|
+
"list": {
|
|
2803
|
+
...operationDefaults,
|
|
2804
|
+
...operationRead,
|
|
2805
|
+
capability: "notifications",
|
|
2806
|
+
operation: "list",
|
|
2807
|
+
input: "notifications.list",
|
|
2808
|
+
output: "notifications.list",
|
|
2809
|
+
sdkTimeoutMs: operationWaiting.notifications.default,
|
|
2810
|
+
rateBucket: "experience-notifications",
|
|
2811
|
+
facades: [{ path: "notifications.scheduled", kind: "direct" }]
|
|
2812
|
+
}
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2815
|
+
// src/inbox-operations.ts
|
|
2816
|
+
var inboxOperationDefinitions = {
|
|
2817
|
+
"list": {
|
|
2818
|
+
...operationDefaults,
|
|
2819
|
+
...operationRead,
|
|
2820
|
+
capability: "inbox",
|
|
2821
|
+
operation: "list",
|
|
2822
|
+
input: "inbox.list",
|
|
2823
|
+
output: "inbox.list",
|
|
2824
|
+
sdkTimeoutMs: operationWaiting.inbox.default,
|
|
2825
|
+
rateBucket: "experience-inbox",
|
|
2826
|
+
facades: [{ path: "inbox.list", kind: "direct" }, { path: "inbox.watch", kind: "composite" }]
|
|
2827
|
+
},
|
|
2828
|
+
"ack": {
|
|
2829
|
+
...operationDefaults,
|
|
2830
|
+
capability: "inbox",
|
|
2831
|
+
operation: "ack",
|
|
2832
|
+
input: "inbox.ack",
|
|
2833
|
+
output: "inbox.ack",
|
|
2834
|
+
sdkTimeoutMs: operationWaiting.inbox.default,
|
|
2835
|
+
rateBucket: "experience-inbox",
|
|
2836
|
+
facades: [{ path: "inbox.ack", kind: "direct" }]
|
|
2837
|
+
}
|
|
2838
|
+
};
|
|
2839
|
+
|
|
2840
|
+
// src/email-operations.ts
|
|
2841
|
+
var emailOperationDefinitions = {
|
|
2842
|
+
"send": {
|
|
2843
|
+
...operationDefaults,
|
|
2844
|
+
capability: "email",
|
|
2845
|
+
operation: "send",
|
|
2846
|
+
input: "email.send",
|
|
2847
|
+
output: "email.send",
|
|
2848
|
+
sdkTimeoutMs: operationWaiting.email.default,
|
|
2849
|
+
spend: "may-spend",
|
|
2850
|
+
idempotency: "durable-receipt",
|
|
2851
|
+
rateBucket: "experience-email",
|
|
2852
|
+
facades: [{ path: "email.send", kind: "direct" }]
|
|
2853
|
+
}
|
|
2854
|
+
};
|
|
2855
|
+
|
|
2856
|
+
// src/connectors-operations.ts
|
|
2857
|
+
var connectorsOperationDefinitions = {
|
|
2858
|
+
status: { ...operationDefaults, capability: "connectors", operation: "status", input: "connectors.status", output: "connectors.status", sdkTimeoutMs: 3e4, idempotency: "read", rateBucket: "experience-connectors", facades: [{ path: "connectors.status", kind: "direct" }] },
|
|
2859
|
+
request: { ...operationDefaults, capability: "connectors", operation: "request", input: "connectors.request", output: "connectors.request", sdkTimeoutMs: null, rateBucket: "experience-connectors", facades: [{ path: "connectors.request", kind: "direct" }] },
|
|
2860
|
+
invoke: { ...operationDefaults, capability: "connectors", operation: "invoke", input: "connectors.invoke", output: "connectors.invoke", sdkTimeoutMs: 45e3, idempotency: "durable-receipt", rateBucket: "experience-connectors", facades: [{ path: "connectors.invoke", kind: "direct" }] },
|
|
2861
|
+
revoke: { ...operationDefaults, capability: "connectors", operation: "revoke", input: "connectors.revoke", output: "connectors.revoke", sdkTimeoutMs: 3e4, rateBucket: "experience-connectors", facades: [{ path: "connectors.revoke", kind: "direct" }] }
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
// src/backend-operations.ts
|
|
2865
|
+
var backendOperationDefinitions = {
|
|
2866
|
+
request: {
|
|
2867
|
+
...operationDefaults,
|
|
2868
|
+
capability: "backend",
|
|
2869
|
+
operation: "request",
|
|
2870
|
+
input: "backend.request",
|
|
2871
|
+
output: "backend.request",
|
|
2872
|
+
// Host waits at most 60 s for admission/execution; leave a margin for durable storage.
|
|
2873
|
+
idempotency: "durable-receipt",
|
|
2874
|
+
sdkTimeoutMs: 65e3,
|
|
2875
|
+
facades: []
|
|
2876
|
+
},
|
|
2877
|
+
get: {
|
|
2878
|
+
...operationDefaults,
|
|
2879
|
+
...operationRead,
|
|
2880
|
+
capability: "backend",
|
|
2881
|
+
operation: "get",
|
|
2882
|
+
input: "backend.get",
|
|
2883
|
+
output: "backend.get",
|
|
2884
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
2885
|
+
facades: []
|
|
2886
|
+
},
|
|
2887
|
+
cancel: {
|
|
2888
|
+
...operationDefaults,
|
|
2889
|
+
...operationRead,
|
|
2890
|
+
capability: "backend",
|
|
2891
|
+
operation: "cancel",
|
|
2892
|
+
input: "backend.cancel",
|
|
2893
|
+
output: "backend.cancel",
|
|
2894
|
+
idempotency: "durable-receipt",
|
|
2895
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
2896
|
+
facades: []
|
|
2897
|
+
}
|
|
2898
|
+
};
|
|
2899
|
+
var backendOperations = ["request", "get", "cancel"];
|
|
2900
|
+
|
|
2901
|
+
// src/drive-operations.ts
|
|
2902
|
+
var driveOperationDefinitions = {
|
|
2903
|
+
"save": {
|
|
2904
|
+
...operationDefaults,
|
|
2905
|
+
capability: "drive",
|
|
2906
|
+
operation: "save",
|
|
2907
|
+
input: "drive.save",
|
|
2908
|
+
output: "drive.save",
|
|
2909
|
+
sdkTimeoutMs: operationWaiting.drive.save,
|
|
2910
|
+
transport: "binary-upload",
|
|
2911
|
+
facades: [{ path: "drive.save", kind: "direct" }]
|
|
2912
|
+
},
|
|
2913
|
+
"pick": {
|
|
2914
|
+
...operationDefaults,
|
|
2915
|
+
capability: "drive",
|
|
2916
|
+
operation: "pick",
|
|
2917
|
+
input: "drive.pick",
|
|
2918
|
+
output: "drive.pick",
|
|
2919
|
+
sdkTimeoutMs: operationWaiting.drive.pick,
|
|
2920
|
+
transport: "host-document",
|
|
2921
|
+
...operationRead,
|
|
2922
|
+
facades: [{ path: "drive.pick", kind: "direct" }]
|
|
2923
|
+
}
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
// src/link-operations.ts
|
|
2927
|
+
var linkOperationDefinitions = {
|
|
2928
|
+
"open": {
|
|
2929
|
+
...operationDefaults,
|
|
2930
|
+
...publicRead,
|
|
2931
|
+
capability: "link",
|
|
2932
|
+
operation: "open",
|
|
2933
|
+
input: "link.open",
|
|
2934
|
+
output: "link.open",
|
|
2935
|
+
sdkTimeoutMs: operationWaiting.link.open,
|
|
2936
|
+
transport: "host-document",
|
|
2937
|
+
facades: [{ path: "link.open", kind: "direct" }]
|
|
2938
|
+
}
|
|
2939
|
+
};
|
|
2940
|
+
|
|
2941
|
+
// src/library-operations.ts
|
|
2942
|
+
var library = { ...operationDefaults, ...operationRead, capability: "library", transport: "host-document", sdkTimeoutMs: operationWaiting.library.default };
|
|
2943
|
+
var libraryOperationDefinitions = {
|
|
2944
|
+
"experiences": { ...library, operation: "experiences", input: "library.experiences", output: "library.experiences", facades: [{ path: "library.experiences", kind: "direct" }] },
|
|
2945
|
+
"catalogue": { ...library, operation: "catalogue", input: "library.catalogue", output: "library.catalogue", facades: [{ path: "library.catalogue", kind: "direct" }] },
|
|
2946
|
+
"search": { ...library, operation: "search", input: "library.search", output: "library.search", facades: [{ path: "library.search", kind: "direct" }] },
|
|
2947
|
+
"bookmarks": { ...library, operation: "bookmarks", input: "library.bookmarks", output: "library.bookmarks", facades: [{ path: "library.bookmarks", kind: "direct" }] },
|
|
2948
|
+
"teams": { ...library, operation: "teams", input: "library.teams", output: "library.teams", facades: [{ path: "library.teams", kind: "direct" }] },
|
|
2949
|
+
"teamExperiences": { ...library, operation: "teamExperiences", input: "library.teamExperiences", output: "library.teamExperiences", facades: [{ path: "library.teamExperiences", kind: "direct" }] },
|
|
2950
|
+
"journal": { ...library, operation: "journal", input: "library.journal", output: "library.journal", facades: [{ path: "library.journal", kind: "direct" }] },
|
|
2951
|
+
"facets": { ...library, operation: "facets", input: "library.facets", output: "library.facets", facades: [{ path: "library.facets", kind: "direct" }] },
|
|
2952
|
+
"account": { ...library, operation: "account", input: "library.account", output: "library.account", facades: [{ path: "library.account", kind: "direct" }] },
|
|
2953
|
+
"icons": { ...library, operation: "icons", input: "library.icons", output: "library.icons", sdkTimeoutMs: operationWaiting.library.icons, facades: [{ path: "library.icons", kind: "direct" }] },
|
|
2954
|
+
"avatars": { ...library, operation: "avatars", input: "library.avatars", output: "library.avatars", sdkTimeoutMs: operationWaiting.library.avatars, facades: [{ path: "library.avatars", kind: "direct" }] },
|
|
2955
|
+
"open": { ...library, operation: "open", input: "library.open", output: "library.open", sdkTimeoutMs: operationWaiting.library.open, facades: [{ path: "library.open", kind: "direct" }] },
|
|
2956
|
+
"interfaces": { ...library, operation: "interfaces", input: "library.interfaces", output: "library.interfaces", facades: [{ path: "library.interfaces", kind: "direct" }] },
|
|
2957
|
+
"collections": { ...library, operation: "collections", input: "library.collections", output: "library.collections", facades: [{ path: "library.collections", kind: "direct" }] },
|
|
2958
|
+
"bookmark": { ...library, access: "contribute", idempotency: "host-defined", operation: "bookmark", input: "library.bookmark", output: "library.bookmark", facades: [{ path: "library.bookmark", kind: "direct" }] },
|
|
2959
|
+
"bookmarked": { ...library, operation: "bookmarked", input: "library.bookmarked", output: "library.bookmarked", facades: [{ path: "library.bookmarked", kind: "direct" }] },
|
|
2960
|
+
"prefetch": { ...library, operation: "prefetch", input: "library.prefetch", output: "library.prefetch", sdkTimeoutMs: operationWaiting.library.prefetch, facades: [{ path: "library.prefetch", kind: "direct" }] }
|
|
2961
|
+
};
|
|
2962
|
+
var libraryOperations = Object.keys(libraryOperationDefinitions);
|
|
2963
|
+
|
|
2964
|
+
// src/host-operations.ts
|
|
2965
|
+
var host = { ...operationDefaults, capability: "experiences", transport: "host-document", sdkTimeoutMs: operationWaiting.experiences.host };
|
|
2966
|
+
var hostOperationDefinitions = {
|
|
2967
|
+
"host.configure": { ...host, operation: "host.configure", input: "experiences.host.configure", output: "experiences.host.configure", facades: [{ path: "host.configure", kind: "direct" }] },
|
|
2968
|
+
"host.navigate": {
|
|
2969
|
+
...host,
|
|
2970
|
+
operation: "host.navigate",
|
|
2971
|
+
input: "experiences.host.navigate",
|
|
2972
|
+
output: "experiences.host.navigate",
|
|
2973
|
+
facades: [{ path: "host.next", kind: "composite" }, { path: "host.previous", kind: "composite" }, { path: "host.goTo", kind: "composite" }, { path: "host.reload", kind: "composite" }]
|
|
2974
|
+
},
|
|
2975
|
+
"host.items": { ...host, ...operationRead, operation: "host.items", input: "experiences.host.items", output: "experiences.host.items", facades: [{ path: "host.items", kind: "composite" }] }
|
|
2976
|
+
};
|
|
2977
|
+
var experiencesHostOperations = Object.keys(hostOperationDefinitions);
|
|
2978
|
+
|
|
2979
|
+
// src/experiences-operations.ts
|
|
2980
|
+
var experiences = { ...operationDefaults, capability: "experiences", transport: "host-document" };
|
|
2981
|
+
var experiencesOperationDefinitions = {
|
|
2982
|
+
"available": { ...experiences, ...operationRead, operation: "available", input: "experiences.available", output: "experiences.available", sdkTimeoutMs: operationWaiting.experiences.default, facades: [{ path: "experiences.available", kind: "composite" }] },
|
|
2983
|
+
"call": { ...experiences, operation: "call", input: "experiences.call", output: "experiences.call", sdkTimeoutMs: operationWaiting.experiences.call, facades: [{ path: "experiences.call", kind: "composite" }] },
|
|
2984
|
+
"open": { ...experiences, ...operationRead, operation: "open", input: "experiences.open", output: "experiences.open", sdkTimeoutMs: operationWaiting.experiences.open, facades: [{ path: "experiences.open", kind: "composite" }] },
|
|
2985
|
+
"handle": { ...experiences, operation: "handle", input: "experiences.handle", output: "experiences.handle", sdkTimeoutMs: operationWaiting.experiences.handle, facades: [{ path: "experiences.handle", kind: "composite" }] },
|
|
2986
|
+
"pick": { ...experiences, operation: "pick", input: "experiences.pick", output: "experiences.pick", sdkTimeoutMs: operationWaiting.experiences.pick, facades: [{ path: "experiences.pick", kind: "composite" }] },
|
|
2987
|
+
...hostOperationDefinitions
|
|
2988
|
+
};
|
|
2989
|
+
var experiencesOperations = Object.keys(experiencesOperationDefinitions);
|
|
2990
|
+
var experiencesClientOperations = ["available", "call", "open"];
|
|
2991
|
+
var EXPERIENCES_HOST_GRANT = "host";
|
|
2992
|
+
|
|
2993
|
+
// src/search-operations.ts
|
|
2994
|
+
var reads = { ...operationDefaults, sdkTimeoutMs: operationWaiting.default, rateBucket: "experience-search" };
|
|
2995
|
+
var writes = { ...operationDefaults, sdkTimeoutMs: operationWaiting.default, rateBucket: "experience-search-writes" };
|
|
2996
|
+
var facades = [{ path: "search.index", kind: "composite" }];
|
|
2997
|
+
var searchOperationDefinitions = {
|
|
2998
|
+
"save": { ...writes, capability: "search", operation: "save", input: "search.save", output: "search.save", idempotency: "compare-and-set", facades },
|
|
2999
|
+
"patch": { ...writes, capability: "search", operation: "patch", input: "search.patch", output: "search.patch", idempotency: "compare-and-set", facades },
|
|
3000
|
+
"remove": { ...writes, capability: "search", operation: "remove", input: "search.remove", output: "search.remove", facades },
|
|
3001
|
+
"visibility": { ...writes, capability: "search", operation: "visibility", input: "search.visibility", output: "search.visibility", facades },
|
|
3002
|
+
"locate": { ...writes, capability: "search", operation: "locate", input: "search.locate", output: "search.locate", facades },
|
|
3003
|
+
"mine": { ...reads, ...operationRead, capability: "search", operation: "mine", input: "search.mine", output: "search.mine", facades },
|
|
3004
|
+
"query": { ...reads, ...publicRead, capability: "search", operation: "query", input: "search.query", output: "search.query", facades },
|
|
3005
|
+
"get": { ...reads, ...publicRead, capability: "search", operation: "get", input: "search.get", output: "search.get", facades },
|
|
3006
|
+
"similar": { ...reads, ...publicRead, capability: "search", operation: "similar", input: "search.similar", output: "search.similar", facades },
|
|
3007
|
+
"forMe": { ...reads, ...operationRead, capability: "search", operation: "forMe", input: "search.forMe", output: "search.forMe", facades },
|
|
3008
|
+
"mark": { ...writes, capability: "search", operation: "mark", input: "search.mark", output: "search.mark", facades },
|
|
3009
|
+
"unmark": { ...writes, capability: "search", operation: "unmark", input: "search.unmark", output: "search.unmark", facades },
|
|
3010
|
+
"marks": { ...reads, ...operationRead, capability: "search", operation: "marks", input: "search.marks", output: "search.marks", facades },
|
|
3011
|
+
"block": { ...writes, capability: "search", operation: "block", input: "search.block", output: "search.block", facades },
|
|
3012
|
+
"unblock": { ...writes, capability: "search", operation: "unblock", input: "search.unblock", output: "search.unblock", facades },
|
|
3013
|
+
"upsert": { ...writes, capability: "search", operation: "upsert", input: "search.upsert", output: "search.upsert", idempotency: "compare-and-set", facades: [] },
|
|
3014
|
+
"delete": { ...writes, capability: "search", operation: "delete", input: "search.delete", output: "search.delete", facades: [] }
|
|
3015
|
+
};
|
|
3016
|
+
var searchOperations = Object.keys(searchOperationDefinitions);
|
|
3017
|
+
var searchBackendOperations = ["query", "get", "similar", "forMe", "mine", "marks", "upsert", "patch", "visibility", "delete"];
|
|
3018
|
+
var searchBackendOnlyOperations = ["upsert", "delete"];
|
|
3019
|
+
var searchFrontendOperations = searchOperations.filter((operation) => !searchBackendOnlyOperations.includes(operation));
|
|
3020
|
+
|
|
3021
|
+
// src/machine-operations.ts
|
|
3022
|
+
var waits = operationWaiting.machine;
|
|
3023
|
+
var machine = { ...operationDefaults, sdkTimeoutMs: waits.default, rateBucket: "experience-machine" };
|
|
3024
|
+
var stream = { ...machine, transport: "machine-host" };
|
|
3025
|
+
var workspace = { ...machine, rateBucket: "experience-machine-workspace" };
|
|
3026
|
+
var machineOperationDefinitions = {
|
|
3027
|
+
"list": { ...machine, ...operationRead, capability: "machine", operation: "list", input: "machine.list", output: "machine.list", facades: [{ path: "machine.list", kind: "direct" }] },
|
|
3028
|
+
"connect": { ...machine, capability: "machine", operation: "connect", input: "machine.connect", output: "machine.connect", sdkTimeoutMs: waits.connect, facades: [{ path: "machine.connect", kind: "direct" }] },
|
|
3029
|
+
"revoke": { ...machine, capability: "machine", operation: "revoke", input: "machine.revoke", output: "machine.revoke", facades: [{ path: "machine.revoke", kind: "direct" }] },
|
|
3030
|
+
"terminal.sessions": { ...machine, ...operationRead, capability: "machine", operation: "terminal.sessions", input: "machine.terminal.sessions", output: "machine.terminal.sessions", facades: [{ path: "machine.terminal.sessions", kind: "direct" }] },
|
|
3031
|
+
"terminal.create": { ...machine, capability: "machine", operation: "terminal.create", input: "machine.terminal.create", output: "machine.terminal.create", facades: [{ path: "machine.terminal.create", kind: "direct" }] },
|
|
3032
|
+
"terminal.close": { ...machine, capability: "machine", operation: "terminal.close", input: "machine.terminal.close", output: "machine.terminal.close", facades: [{ path: "machine.terminal.close", kind: "direct" }] },
|
|
3033
|
+
"terminal.rename": { ...machine, capability: "machine", operation: "terminal.rename", input: "machine.terminal.rename", output: "machine.terminal.rename", facades: [{ path: "machine.terminal.rename", kind: "direct" }] },
|
|
3034
|
+
"terminal.attach": { ...stream, capability: "machine", operation: "terminal.attach", input: "machine.terminal.attach", output: "machine.terminal.attach", sdkTimeoutMs: waits["terminal.attach"], facades: [{ path: "machine.terminal.attach", kind: "composite" }] },
|
|
3035
|
+
"terminal.watch": { ...stream, capability: "machine", operation: "terminal.watch", input: "machine.terminal.watch", output: "machine.terminal.watch", sdkTimeoutMs: waits["terminal.watch"], facades: [{ path: "machine.terminal.watch", kind: "composite" }] },
|
|
3036
|
+
"workspace.roots": { ...workspace, ...operationRead, capability: "machine", operation: "workspace.roots", input: "machine.workspace.roots", output: "machine.workspace.roots", facades: [{ path: "machine.workspace.roots", kind: "direct" }] },
|
|
3037
|
+
"workspace.discover": { ...workspace, ...operationRead, capability: "machine", operation: "workspace.discover", input: "machine.workspace.discover", output: "machine.workspace.discover", facades: [{ path: "machine.workspace.discover", kind: "direct" }] },
|
|
3038
|
+
"workspace.requestRoot": { ...workspace, capability: "machine", operation: "workspace.requestRoot", input: "machine.workspace.requestRoot", output: "machine.workspace.requestRoot", sdkTimeoutMs: waits["workspace.requestRoot"], facades: [{ path: "machine.workspace.requestRoot", kind: "direct" }] },
|
|
3039
|
+
"files.list": { ...workspace, ...operationRead, capability: "machine", operation: "files.list", input: "machine.files.list", output: "machine.files.list", facades: [{ path: "machine.files.list", kind: "direct" }] },
|
|
3040
|
+
"files.stat": { ...workspace, ...operationRead, capability: "machine", operation: "files.stat", input: "machine.files.stat", output: "machine.files.stat", facades: [{ path: "machine.files.stat", kind: "direct" }] },
|
|
3041
|
+
"files.read": { ...workspace, ...operationRead, capability: "machine", operation: "files.read", input: "machine.files.read", output: "machine.files.read", facades: [{ path: "machine.files.read", kind: "direct" }] },
|
|
3042
|
+
"files.write": { ...workspace, capability: "machine", operation: "files.write", input: "machine.files.write", output: "machine.files.write", facades: [{ path: "machine.files.write", kind: "direct" }] },
|
|
3043
|
+
"files.mkdir": { ...workspace, capability: "machine", operation: "files.mkdir", input: "machine.files.mkdir", output: "machine.files.mkdir", facades: [{ path: "machine.files.mkdir", kind: "direct" }] },
|
|
3044
|
+
"files.move": { ...workspace, capability: "machine", operation: "files.move", input: "machine.files.move", output: "machine.files.move", facades: [{ path: "machine.files.move", kind: "direct" }] },
|
|
3045
|
+
"files.trash": { ...workspace, capability: "machine", operation: "files.trash", input: "machine.files.trash", output: "machine.files.trash", facades: [{ path: "machine.files.trash", kind: "direct" }] },
|
|
3046
|
+
"files.find": { ...workspace, ...operationRead, capability: "machine", operation: "files.find", input: "machine.files.find", output: "machine.files.find", facades: [{ path: "machine.files.find", kind: "direct" }] },
|
|
3047
|
+
"files.search": { ...workspace, ...operationRead, capability: "machine", operation: "files.search", input: "machine.files.search", output: "machine.files.search", sdkTimeoutMs: waits["files.search"], facades: [{ path: "machine.files.search", kind: "direct" }] },
|
|
3048
|
+
"files.tree": { ...workspace, ...operationRead, capability: "machine", operation: "files.tree", input: "machine.files.tree", output: "machine.files.tree", sdkTimeoutMs: waits["files.tree"], facades: [{ path: "machine.files.tree", kind: "direct" }] },
|
|
3049
|
+
"git.status": { ...workspace, ...operationRead, capability: "machine", operation: "git.status", input: "machine.git.status", output: "machine.git.status", facades: [{ path: "machine.git.status", kind: "direct" }] },
|
|
3050
|
+
"git.diff": { ...workspace, ...operationRead, capability: "machine", operation: "git.diff", input: "machine.git.diff", output: "machine.git.diff", facades: [{ path: "machine.git.diff", kind: "direct" }] },
|
|
3051
|
+
"git.log": { ...workspace, ...operationRead, capability: "machine", operation: "git.log", input: "machine.git.log", output: "machine.git.log", facades: [{ path: "machine.git.log", kind: "direct" }] },
|
|
3052
|
+
"git.show": { ...workspace, ...operationRead, capability: "machine", operation: "git.show", input: "machine.git.show", output: "machine.git.show", facades: [{ path: "machine.git.show", kind: "direct" }] },
|
|
3053
|
+
"git.branches": { ...workspace, ...operationRead, capability: "machine", operation: "git.branches", input: "machine.git.branches", output: "machine.git.branches", facades: [{ path: "machine.git.branches", kind: "direct" }] },
|
|
3054
|
+
"git.stage": { ...workspace, capability: "machine", operation: "git.stage", input: "machine.git.stage", output: "machine.git.stage", facades: [{ path: "machine.git.stage", kind: "direct" }] },
|
|
3055
|
+
"git.unstage": { ...workspace, capability: "machine", operation: "git.unstage", input: "machine.git.unstage", output: "machine.git.unstage", facades: [{ path: "machine.git.unstage", kind: "direct" }] },
|
|
3056
|
+
"git.discard": { ...workspace, capability: "machine", operation: "git.discard", input: "machine.git.discard", output: "machine.git.discard", facades: [{ path: "machine.git.discard", kind: "direct" }] },
|
|
3057
|
+
"git.commit": { ...workspace, capability: "machine", operation: "git.commit", input: "machine.git.commit", output: "machine.git.commit", sdkTimeoutMs: waits["git.commit"], facades: [{ path: "machine.git.commit", kind: "direct" }] },
|
|
3058
|
+
"git.checkout": { ...workspace, capability: "machine", operation: "git.checkout", input: "machine.git.checkout", output: "machine.git.checkout", sdkTimeoutMs: waits["git.checkout"], facades: [{ path: "machine.git.checkout", kind: "direct" }] },
|
|
3059
|
+
"git.fetch": { ...workspace, capability: "machine", operation: "git.fetch", input: "machine.git.fetch", output: "machine.git.fetch", sdkTimeoutMs: waits["git.fetch"], facades: [{ path: "machine.git.fetch", kind: "direct" }] },
|
|
3060
|
+
"agents.capabilities": { ...workspace, ...operationRead, capability: "machine", operation: "agents.capabilities", input: "machine.agents.capabilities", output: "machine.agents.capabilities", facades: [{ path: "machine.agents.capabilities", kind: "direct" }] },
|
|
3061
|
+
"agents.list": { ...workspace, ...operationRead, capability: "machine", operation: "agents.list", input: "machine.agents.list", output: "machine.agents.list", facades: [{ path: "machine.agents.list", kind: "direct" }] },
|
|
3062
|
+
"agents.read": { ...workspace, ...operationRead, capability: "machine", operation: "agents.read", input: "machine.agents.read", output: "machine.agents.read", facades: [{ path: "machine.agents.read", kind: "direct" }] },
|
|
3063
|
+
"agents.events": { ...workspace, ...operationRead, capability: "machine", operation: "agents.events", input: "machine.agents.events", output: "machine.agents.events", sdkTimeoutMs: waits["agents.events"], facades: [{ path: "machine.agents.events", kind: "direct" }] },
|
|
3064
|
+
"agents.item": { ...workspace, ...operationRead, capability: "machine", operation: "agents.item", input: "machine.agents.item", output: "machine.agents.item", facades: [{ path: "machine.agents.item", kind: "direct" }] },
|
|
3065
|
+
"agents.start": { ...workspace, capability: "machine", operation: "agents.start", input: "machine.agents.start", output: "machine.agents.start", sdkTimeoutMs: waits["agents.start"], facades: [{ path: "machine.agents.start", kind: "direct" }] },
|
|
3066
|
+
"agents.send": { ...workspace, capability: "machine", operation: "agents.send", input: "machine.agents.send", output: "machine.agents.send", facades: [{ path: "machine.agents.send", kind: "direct" }] },
|
|
3067
|
+
"agents.configure": { ...workspace, capability: "machine", operation: "agents.configure", input: "machine.agents.configure", output: "machine.agents.configure", facades: [{ path: "machine.agents.configure", kind: "direct" }] },
|
|
3068
|
+
"agents.interrupt": { ...workspace, capability: "machine", operation: "agents.interrupt", input: "machine.agents.interrupt", output: "machine.agents.interrupt", facades: [{ path: "machine.agents.interrupt", kind: "direct" }] },
|
|
3069
|
+
"agents.respond": { ...workspace, capability: "machine", operation: "agents.respond", input: "machine.agents.respond", output: "machine.agents.respond", facades: [{ path: "machine.agents.respond", kind: "direct" }] },
|
|
3070
|
+
"agents.rename": { ...workspace, capability: "machine", operation: "agents.rename", input: "machine.agents.rename", output: "machine.agents.rename", facades: [{ path: "machine.agents.rename", kind: "direct" }] },
|
|
3071
|
+
"agents.close": { ...workspace, capability: "machine", operation: "agents.close", input: "machine.agents.close", output: "machine.agents.close", facades: [{ path: "machine.agents.close", kind: "direct" }] }
|
|
3072
|
+
};
|
|
3073
|
+
var machineOperations = Object.keys(machineOperationDefinitions);
|
|
3074
|
+
|
|
3075
|
+
// src/places-operations.ts
|
|
3076
|
+
var placesOperationDefinitions = {
|
|
3077
|
+
list: {
|
|
3078
|
+
...operationDefaults,
|
|
3079
|
+
...operationRead,
|
|
3080
|
+
capability: "places",
|
|
3081
|
+
operation: "list",
|
|
3082
|
+
input: "places.list",
|
|
3083
|
+
output: "places.list",
|
|
3084
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
3085
|
+
facades: [{ path: "places.list", kind: "direct" }]
|
|
3086
|
+
},
|
|
3087
|
+
publish: {
|
|
3088
|
+
...operationDefaults,
|
|
3089
|
+
capability: "places",
|
|
3090
|
+
operation: "publish",
|
|
3091
|
+
input: "places.publish",
|
|
3092
|
+
output: "places.publish",
|
|
3093
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
3094
|
+
facades: [{ path: "places.publish", kind: "direct" }]
|
|
3095
|
+
},
|
|
3096
|
+
remove: {
|
|
3097
|
+
...operationDefaults,
|
|
3098
|
+
capability: "places",
|
|
3099
|
+
operation: "remove",
|
|
3100
|
+
input: "places.remove",
|
|
3101
|
+
output: "places.remove",
|
|
3102
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
3103
|
+
facades: [{ path: "places.remove", kind: "direct" }]
|
|
3104
|
+
}
|
|
3105
|
+
};
|
|
3106
|
+
|
|
3107
|
+
// src/excerpts-operations.ts
|
|
3108
|
+
var excerptsOperationDefinitions = {
|
|
3109
|
+
list: {
|
|
3110
|
+
...operationDefaults,
|
|
3111
|
+
...operationRead,
|
|
3112
|
+
capability: "excerpts",
|
|
3113
|
+
operation: "list",
|
|
3114
|
+
input: "excerpts.list",
|
|
3115
|
+
output: "excerpts.list",
|
|
3116
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
3117
|
+
facades: [{ path: "excerpts.list", kind: "direct" }]
|
|
3118
|
+
},
|
|
3119
|
+
publish: {
|
|
3120
|
+
...operationDefaults,
|
|
3121
|
+
capability: "excerpts",
|
|
3122
|
+
operation: "publish",
|
|
3123
|
+
input: "excerpts.publish",
|
|
3124
|
+
output: "excerpts.publish",
|
|
3125
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
3126
|
+
facades: [{ path: "excerpts.publish", kind: "direct" }]
|
|
3127
|
+
},
|
|
3128
|
+
remove: {
|
|
3129
|
+
...operationDefaults,
|
|
3130
|
+
capability: "excerpts",
|
|
3131
|
+
operation: "remove",
|
|
3132
|
+
input: "excerpts.remove",
|
|
3133
|
+
output: "excerpts.remove",
|
|
3134
|
+
sdkTimeoutMs: operationWaiting.default,
|
|
3135
|
+
facades: [{ path: "excerpts.remove", kind: "direct" }]
|
|
3136
|
+
}
|
|
3137
|
+
};
|
|
3138
|
+
|
|
3139
|
+
// src/profiles-operations.ts
|
|
3140
|
+
var profiles = { ...operationDefaults, ...publicRead, capability: "profiles" };
|
|
3141
|
+
var profilesOperationDefinitions = {
|
|
3142
|
+
me: {
|
|
3143
|
+
...profiles,
|
|
3144
|
+
operation: "me",
|
|
3145
|
+
input: "profiles.me",
|
|
3146
|
+
output: "profiles.me",
|
|
3147
|
+
sdkTimeoutMs: operationWaiting.profiles.default,
|
|
3148
|
+
facades: [{ path: "profiles.me", kind: "direct" }]
|
|
3149
|
+
},
|
|
3150
|
+
get: {
|
|
3151
|
+
...profiles,
|
|
3152
|
+
operation: "get",
|
|
3153
|
+
input: "profiles.get",
|
|
3154
|
+
output: "profiles.get",
|
|
3155
|
+
sdkTimeoutMs: operationWaiting.profiles.get,
|
|
3156
|
+
facades: [{ path: "profiles.get", kind: "direct" }]
|
|
3157
|
+
}
|
|
3158
|
+
};
|
|
3159
|
+
var profilesOperations = Object.keys(profilesOperationDefinitions);
|
|
3160
|
+
|
|
3161
|
+
// src/capability-operations.ts
|
|
3162
|
+
var capabilityOperations = {
|
|
3163
|
+
automations: automationsOperationDefinitions,
|
|
3164
|
+
connectors: connectorsOperationDefinitions,
|
|
3165
|
+
backend: backendOperationDefinitions,
|
|
3166
|
+
ai: aiOperationDefinitions,
|
|
3167
|
+
assets: assetsOperationDefinitions,
|
|
3168
|
+
video: videoOperationDefinitions,
|
|
3169
|
+
hardware: hardwareOperationDefinitions,
|
|
3170
|
+
network: networkOperationDefinitions,
|
|
3171
|
+
multiplayer: multiplayerOperationDefinitions,
|
|
3172
|
+
device: deviceOperationDefinitions,
|
|
3173
|
+
presence: presenceOperationDefinitions,
|
|
3174
|
+
notifications: notificationsOperationDefinitions,
|
|
3175
|
+
inbox: inboxOperationDefinitions,
|
|
3176
|
+
email: emailOperationDefinitions,
|
|
3177
|
+
drive: driveOperationDefinitions,
|
|
3178
|
+
link: linkOperationDefinitions,
|
|
3179
|
+
library: libraryOperationDefinitions,
|
|
3180
|
+
experiences: experiencesOperationDefinitions,
|
|
3181
|
+
search: searchOperationDefinitions,
|
|
3182
|
+
machine: machineOperationDefinitions,
|
|
3183
|
+
places: placesOperationDefinitions,
|
|
3184
|
+
excerpts: excerptsOperationDefinitions,
|
|
3185
|
+
profiles: profilesOperationDefinitions
|
|
3186
|
+
};
|
|
3187
|
+
var capabilityOperationList = Object.values(capabilityOperations).flatMap((group) => Object.values(group));
|
|
3188
|
+
var storageEntries = storageOperationList.map((item) => ({ ...operationDefaults, ...item }));
|
|
3189
|
+
var operationList = [...storageEntries, ...capabilityOperationList];
|
|
3190
|
+
function findOperation(capability, operation) {
|
|
3191
|
+
return operationList.find((item) => item.capability === capability && item.operation === operation);
|
|
3192
|
+
}
|
|
3193
|
+
function operationAccess(capability, operation) {
|
|
3194
|
+
return findOperation(capability, operation)?.access ?? "contribute";
|
|
3195
|
+
}
|
|
3196
|
+
function operationTransport(capability, operation) {
|
|
3197
|
+
return findOperation(capability, operation)?.transport ?? null;
|
|
3198
|
+
}
|
|
3199
|
+
function operationMaySpend(capability, operation) {
|
|
3200
|
+
return findOperation(capability, operation)?.spend === "may-spend";
|
|
3201
|
+
}
|
|
3202
|
+
function hostServed(capability, operation) {
|
|
3203
|
+
if (hostPseudoCapabilities.includes(capability)) return true;
|
|
3204
|
+
const transport = operationTransport(capability, operation);
|
|
3205
|
+
return transport !== null && transport !== "invoke" && transport !== "policy-only";
|
|
3206
|
+
}
|
|
3207
|
+
function publicControlScope(capability, operation) {
|
|
3208
|
+
return findOperation(capability, operation)?.publicControl ?? null;
|
|
3209
|
+
}
|
|
3210
|
+
function isPublicControlId(id) {
|
|
3211
|
+
return operationList.some((item) => item.publicControl !== null && `${item.capability}.${item.operation}` === id);
|
|
3212
|
+
}
|
|
3213
|
+
function publicReadEligible(capability, operation) {
|
|
3214
|
+
return findOperation(capability, operation)?.publicRead === "eligible";
|
|
3215
|
+
}
|
|
3216
|
+
var legacyOperationClassifications = [{ capability: "video", operation: "result", observer: "declared-public-read", compatibility: "policy-only" }];
|
|
3217
|
+
function observerOperationAllowed(capability, operation) {
|
|
3218
|
+
return findOperation(capability, operation)?.observer === "declared-public-read" || legacyOperationClassifications.some((item) => item.capability === capability && item.operation === operation);
|
|
3219
|
+
}
|
|
3220
|
+
function operationRateBucket(capability, operation) {
|
|
3221
|
+
if (typeof capability !== "string" || typeof operation !== "string") return "public-playback";
|
|
3222
|
+
return findOperation(capability, operation)?.rateBucket ?? (capability === "hardware" && operation.startsWith("audio.") ? "hardware-audio" : capability === "hardware" && operation.startsWith("desktop.") ? "hardware-desktop" : "public-playback");
|
|
3223
|
+
}
|
|
3224
|
+
var mediaEntries = capabilityOperationList.filter((item) => item.mediaUsage);
|
|
3225
|
+
var operationId = (item) => `${item.capability}.${item.operation}`;
|
|
3226
|
+
var mediaUsageOperationIds = [...mediaUsageNeeds, ...mediaEntries.map(operationId)];
|
|
3227
|
+
var mediaInvocationOperationIds = operationList.filter((item) => item.capability === "assets" || item.capability === "video" || item.capability === "ai" && item.needs === aiOperationDefinitions.generate.needs).map((item) => `${item.capability}.${item.operation}`);
|
|
3228
|
+
var networkOperationIds = Object.values(networkOperationDefinitions).map((item) => `${item.capability}.${item.operation}`);
|
|
3229
|
+
var audioEntries = Object.values(hardwareOperationDefinitions).filter((item) => item.rateBucket === "hardware-audio");
|
|
3230
|
+
var networkEntries = Object.values(hardwareOperationDefinitions).filter((item) => item.rateBucket === "hardware-network");
|
|
3231
|
+
var desktopEntries = Object.values(hardwareOperationDefinitions).filter((item) => item.rateBucket === "hardware-desktop");
|
|
3232
|
+
var suffix = (prefix, operation) => operation.slice(prefix.length);
|
|
3233
|
+
var hardwareAudioOperationNames = audioEntries.map((item) => suffix("audio.", item.operation));
|
|
3234
|
+
var hardwareNetworkOperationNames = networkEntries.map((item) => suffix("network.", item.operation));
|
|
3235
|
+
var hardwareDesktopOperationNames = desktopEntries.map((item) => suffix("desktop.", item.operation));
|
|
3236
|
+
function isGenerationRead(capability, operation) {
|
|
3237
|
+
const entry = findOperation(capability, operation);
|
|
3238
|
+
return entry?.capability === "ai" && entry.needs === aiOperationDefinitions.generate.needs && entry.access === "read";
|
|
3239
|
+
}
|
|
3240
|
+
function mediaNeedOperationAllowed(operation, inputNeed, declarations) {
|
|
3241
|
+
const entry = findOperation("ai", operation);
|
|
3242
|
+
return !!entry && entry.needs === aiOperationDefinitions.generate.needs && (typeof inputNeed === "string" ? declarations.includes(inputNeed) : operation === aiOperationDefinitions.get.operation && declarations.some((op) => typeof op === "string" && /^(image|audio|video)\./.test(op)));
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
// src/capability-deadlines.ts
|
|
3246
|
+
var capabilityDeadlines = {
|
|
3247
|
+
default: operationWaiting.default,
|
|
3248
|
+
access: operationWaiting.access,
|
|
3249
|
+
spaces: operationWaiting.spaces,
|
|
3250
|
+
screens: operationWaiting.screens,
|
|
3251
|
+
multiplayer: operationWaiting.multiplayer,
|
|
3252
|
+
network: operationWaiting.network,
|
|
3253
|
+
assets: { default: operationWaiting.assets.default, uploadAttachment: assetsOperationDefinitions.uploadAttachment.sdkTimeoutMs, media: operationWaiting.assets.media },
|
|
3254
|
+
video: { default: operationWaiting.video.default, "clipping.uploadSource": videoOperationDefinitions["clipping.uploadSource"].sdkTimeoutMs, media: operationWaiting.video.media },
|
|
3255
|
+
hardware: { default: operationWaiting.hardware.default, "audio.transcribe": hardwareOperationDefinitions["audio.transcribe"].sdkTimeoutMs },
|
|
3256
|
+
ai: { default: operationWaiting.ai.default, decide: aiOperationDefinitions.decide.sdkTimeoutMs, "voice.start": aiOperationDefinitions["voice.start"].sdkTimeoutMs, "voice.state": aiOperationDefinitions["voice.state"].sdkTimeoutMs },
|
|
3257
|
+
device: {
|
|
3258
|
+
default: operationWaiting.device.default,
|
|
3259
|
+
availability: deviceOperationDefinitions.availability.sdkTimeoutMs,
|
|
3260
|
+
"haptics.trigger": deviceOperationDefinitions["haptics.trigger"].sdkTimeoutMs,
|
|
3261
|
+
"haptics.pattern": deviceOperationDefinitions["haptics.pattern"].sdkTimeoutMs,
|
|
3262
|
+
"haptics.stop": deviceOperationDefinitions["haptics.stop"].sdkTimeoutMs,
|
|
3263
|
+
"motion.unsubscribe": deviceOperationDefinitions["motion.unsubscribe"].sdkTimeoutMs,
|
|
3264
|
+
"camera.stream": deviceOperationDefinitions["camera.stream"].sdkTimeoutMs,
|
|
3265
|
+
"microphone.stream": deviceOperationDefinitions["microphone.stream"].sdkTimeoutMs,
|
|
3266
|
+
"notifications.list": deviceOperationDefinitions["notifications.list"].sdkTimeoutMs,
|
|
3267
|
+
"notifications.cancel": deviceOperationDefinitions["notifications.cancel"].sdkTimeoutMs,
|
|
3268
|
+
"alarms.list": deviceOperationDefinitions["alarms.list"].sdkTimeoutMs,
|
|
3269
|
+
"alarms.cancel": deviceOperationDefinitions["alarms.cancel"].sdkTimeoutMs
|
|
3270
|
+
},
|
|
3271
|
+
notifications: {
|
|
3272
|
+
default: operationWaiting.notifications.default,
|
|
3273
|
+
send: notificationsOperationDefinitions.send.sdkTimeoutMs,
|
|
3274
|
+
schedule: notificationsOperationDefinitions.schedule.sdkTimeoutMs,
|
|
3275
|
+
cancel: notificationsOperationDefinitions.cancel.sdkTimeoutMs,
|
|
3276
|
+
list: notificationsOperationDefinitions.list.sdkTimeoutMs
|
|
3277
|
+
},
|
|
3278
|
+
inbox: { default: operationWaiting.inbox.default, list: inboxOperationDefinitions.list.sdkTimeoutMs, ack: inboxOperationDefinitions.ack.sdkTimeoutMs },
|
|
3279
|
+
email: { default: operationWaiting.email.default, send: emailOperationDefinitions.send.sdkTimeoutMs },
|
|
3280
|
+
drive: { default: operationWaiting.drive.default, save: driveOperationDefinitions.save.sdkTimeoutMs, pick: driveOperationDefinitions.pick.sdkTimeoutMs },
|
|
3281
|
+
machine: {
|
|
3282
|
+
default: operationWaiting.machine.default,
|
|
3283
|
+
connect: machineOperationDefinitions.connect.sdkTimeoutMs,
|
|
3284
|
+
"terminal.attach": machineOperationDefinitions["terminal.attach"].sdkTimeoutMs,
|
|
3285
|
+
"terminal.watch": machineOperationDefinitions["terminal.watch"].sdkTimeoutMs,
|
|
3286
|
+
"workspace.requestRoot": machineOperationDefinitions["workspace.requestRoot"].sdkTimeoutMs,
|
|
3287
|
+
"files.search": machineOperationDefinitions["files.search"].sdkTimeoutMs,
|
|
3288
|
+
"files.tree": machineOperationDefinitions["files.tree"].sdkTimeoutMs,
|
|
3289
|
+
"git.commit": machineOperationDefinitions["git.commit"].sdkTimeoutMs,
|
|
3290
|
+
"git.fetch": machineOperationDefinitions["git.fetch"].sdkTimeoutMs,
|
|
3291
|
+
"git.checkout": machineOperationDefinitions["git.checkout"].sdkTimeoutMs,
|
|
3292
|
+
"agents.start": machineOperationDefinitions["agents.start"].sdkTimeoutMs,
|
|
3293
|
+
"agents.events": machineOperationDefinitions["agents.events"].sdkTimeoutMs
|
|
3294
|
+
},
|
|
3295
|
+
navigation: operationWaiting.navigation,
|
|
3296
|
+
library: {
|
|
3297
|
+
default: operationWaiting.library.default,
|
|
3298
|
+
icons: libraryOperationDefinitions.icons.sdkTimeoutMs,
|
|
3299
|
+
avatars: libraryOperationDefinitions.avatars.sdkTimeoutMs,
|
|
3300
|
+
open: libraryOperationDefinitions.open.sdkTimeoutMs,
|
|
3301
|
+
prefetch: libraryOperationDefinitions.prefetch.sdkTimeoutMs
|
|
3302
|
+
},
|
|
3303
|
+
experiences: {
|
|
3304
|
+
default: operationWaiting.experiences.default,
|
|
3305
|
+
call: experiencesOperationDefinitions.call.sdkTimeoutMs,
|
|
3306
|
+
handle: experiencesOperationDefinitions.handle.sdkTimeoutMs,
|
|
3307
|
+
open: experiencesOperationDefinitions.open.sdkTimeoutMs,
|
|
3308
|
+
pick: experiencesOperationDefinitions.pick.sdkTimeoutMs,
|
|
3309
|
+
"host.configure": experiencesOperationDefinitions["host.configure"].sdkTimeoutMs,
|
|
3310
|
+
"host.navigate": experiencesOperationDefinitions["host.navigate"].sdkTimeoutMs,
|
|
3311
|
+
"host.items": experiencesOperationDefinitions["host.items"].sdkTimeoutMs
|
|
3312
|
+
},
|
|
3313
|
+
places: { default: operationWaiting.default, list: placesOperationDefinitions.list.sdkTimeoutMs, publish: placesOperationDefinitions.publish.sdkTimeoutMs, remove: placesOperationDefinitions.remove.sdkTimeoutMs },
|
|
3314
|
+
excerpts: { default: operationWaiting.default, list: excerptsOperationDefinitions.list.sdkTimeoutMs, publish: excerptsOperationDefinitions.publish.sdkTimeoutMs, remove: excerptsOperationDefinitions.remove.sdkTimeoutMs },
|
|
3315
|
+
profiles: { default: operationWaiting.profiles.default, me: profilesOperationDefinitions.me.sdkTimeoutMs, get: profilesOperationDefinitions.get.sdkTimeoutMs }
|
|
3316
|
+
};
|
|
3317
|
+
|
|
3318
|
+
// src/spaces-types.ts
|
|
3319
|
+
var spaceKinds = ["personal", "public", "team"];
|
|
3320
|
+
var SPACES_CHANGED_EVENT = "spaces.changed";
|
|
3321
|
+
var SPACE_INPUT_KEY = "__nocha_space";
|
|
3322
|
+
var SPACE_REF_PATTERN = /^(?:personal|public|team:[1-9]\d{0,3})$/;
|
|
3323
|
+
var TEAM_REF_PATTERN = /^t_[A-Za-z0-9_-]{43}$/;
|
|
3324
|
+
function isTeamRef(value) {
|
|
3325
|
+
return typeof value === "string" && TEAM_REF_PATTERN.test(value);
|
|
3326
|
+
}
|
|
3327
|
+
function isSpaceTeam(value) {
|
|
3328
|
+
return typeof value === "object" && value !== null && isTeamRef(value.ref) && typeof value.name === "string";
|
|
3329
|
+
}
|
|
3330
|
+
function isSpaceKind(value) {
|
|
3331
|
+
return typeof value === "string" && spaceKinds.includes(value);
|
|
3332
|
+
}
|
|
3333
|
+
function isSpaceRef(value) {
|
|
3334
|
+
return typeof value === "string" && SPACE_REF_PATTERN.test(value);
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3337
|
+
// src/screens-types.ts
|
|
3338
|
+
var SCREEN_ID_PATTERN = /^[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*$/;
|
|
3339
|
+
var SCREEN_ID_MAX_LENGTH = 64;
|
|
3340
|
+
var SCREEN_TEXT_MAX_LENGTH = 2e3;
|
|
3341
|
+
var SCREEN_LABEL_MAX_LENGTH = 120;
|
|
3342
|
+
var isScreenId = (value) => typeof value === "string" && value.length <= SCREEN_ID_MAX_LENGTH && SCREEN_ID_PATTERN.test(value);
|
|
3343
|
+
var record = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
3344
|
+
var text = (value, max) => typeof value === "string" && value.trim().length > 0 && value.length <= max;
|
|
3345
|
+
var optional = (value, max) => value === void 0 || text(value, max);
|
|
3346
|
+
var only = (value, keys) => Object.keys(value).every((key) => keys.includes(key));
|
|
3347
|
+
function isConfirmScreenInput(value) {
|
|
3348
|
+
return record(value) && only(value, ["title", "text", "confirm"]) && text(value.text, SCREEN_TEXT_MAX_LENGTH) && optional(value.title, SCREEN_LABEL_MAX_LENGTH) && optional(value.confirm, SCREEN_LABEL_MAX_LENGTH);
|
|
3349
|
+
}
|
|
3350
|
+
function isCreditsConfirmScreenInput(value) {
|
|
3351
|
+
return record(value) && only(value, ["label", "maximumMicrocredits", "detail"]) && text(value.label, SCREEN_LABEL_MAX_LENGTH) && typeof value.maximumMicrocredits === "string" && /^[1-9]\d{0,17}$/.test(value.maximumMicrocredits) && optional(value.detail, SCREEN_TEXT_MAX_LENGTH);
|
|
3352
|
+
}
|
|
3353
|
+
function isScreenResult(value) {
|
|
3354
|
+
return record(value) && (value.status === "cancelled" || value.status === "done" && Object.hasOwn(value, "value"));
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
// src/screens-operations.ts
|
|
3358
|
+
var screensOperations = {
|
|
3359
|
+
open: { capability: "screens", operation: "open", transport: "host-document", sdkTimeoutMs: operationWaiting.screens.open },
|
|
3360
|
+
available: { capability: "screens", operation: "available", transport: "host-document", sdkTimeoutMs: operationWaiting.screens.default }
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
// src/types/voice-wire.ts
|
|
3364
|
+
var voiceCallConnections = ["idle", "connecting", "connected", "reconnecting", "closing", "closed", "failed"];
|
|
3365
|
+
var voiceCallMicrophones = ["off", "on"];
|
|
3366
|
+
var voiceCallPlaybacks = ["idle", "playing"];
|
|
3367
|
+
var voiceCallReasonings = ["idle", "running", "awaiting_confirmation"];
|
|
3368
|
+
var voiceCallSettlements = ["pending", "settled", "incomplete"];
|
|
3369
|
+
var voiceStopReasons = ["user", "experience_closed"];
|
|
3370
|
+
var VOICE_CALL_PERSONA_LIMITS = Object.freeze({ fictionalRole: 240, objective: 600, tone: 240, opening: 500, boundaries: 8, boundary: 300 });
|
|
3371
|
+
|
|
3372
|
+
// src/link-types.ts
|
|
3373
|
+
var LINK_URL_MAX_LENGTH = 2048;
|
|
3374
|
+
var LINK_LABEL_MAX_LENGTH = 80;
|
|
3375
|
+
|
|
3376
|
+
// src/library-types.ts
|
|
3377
|
+
var LIBRARY_SURFACES = ["home", "bookmarks", "team", "search", "teams", "experiences"];
|
|
3378
|
+
var LIBRARY_SHELVES = ["board", "mine", "recent", "followed"];
|
|
3379
|
+
var LIBRARY_PAGE_MAX = 60;
|
|
3380
|
+
var LIBRARY_PAGE_DEFAULT = 24;
|
|
3381
|
+
var LIBRARY_QUERY_MAX_LENGTH = 120;
|
|
3382
|
+
var LIBRARY_ICON_CODES_MAX = 24;
|
|
3383
|
+
var LIBRARY_ICON_SIZES = [64, 128, 256];
|
|
3384
|
+
var LIBRARY_AVATAR_HANDLES_MAX = 24;
|
|
3385
|
+
var LIBRARY_HANDLE_PATTERN = /^[a-z0-9_]{3,32}$/;
|
|
3386
|
+
var LIBRARY_PREFETCH_CODES_MAX = 6;
|
|
3387
|
+
var LIBRARY_BOOKMARKED_CODES_MAX = 30;
|
|
3388
|
+
var LIBRARY_CATALOGUE_TAGS_MAX = 3;
|
|
3389
|
+
var LIBRARY_RECT_OFFSET_MAX = 1e4;
|
|
3390
|
+
var LIBRARY_RECT_SIZE_MAX = 1e4;
|
|
3391
|
+
var LIBRARY_INTERFACE_SOURCES = ["mine", "collection", "favorite", "catalogue"];
|
|
3392
|
+
|
|
3393
|
+
// src/profiles-types.ts
|
|
3394
|
+
var PROFILES_PARTICIPANTS_MAX = 50;
|
|
3395
|
+
var PROFILE_PARTICIPANT_PATTERN = /^p_[A-Za-z0-9_-]{43}$/;
|
|
3396
|
+
var PROFILE_AVATAR_SIZES = ["small", "medium"];
|
|
3397
|
+
|
|
3398
|
+
// src/character-package-types.ts
|
|
3399
|
+
var CHARACTER_PACKAGE_FORMAT = "nocha:character-package@1";
|
|
3400
|
+
var CHARACTER_PACKAGE_IMAGE_MAX_BYTES = 4 * 1024 * 1024;
|
|
3401
|
+
var CHARACTER_PACKAGE_CARD_MAX_BYTES = 15 * 1024;
|
|
3402
|
+
var CHARACTER_PACKAGE_RIG_FORMATS = ["plateau-live.look@1", "plateau-live.puppet@1"];
|
|
3403
|
+
|
|
3404
|
+
// src/experiences-types.ts
|
|
3405
|
+
var EXPOSED_NAME_PATTERN = /^[a-z][a-z0-9-]{1,39}$/;
|
|
3406
|
+
var EXPOSED_OPERATION_PATTERN = /^[a-z][a-zA-Z0-9]{0,39}(?:\.[a-z][a-zA-Z0-9]{0,39}){0,3}$/;
|
|
3407
|
+
var EXPERIENCE_CALL_JSON_MAX_BYTES = 256 * 1024;
|
|
3408
|
+
var EXPERIENCE_CALL_FILE_MAX_BYTES = 8 * 1024 * 1024;
|
|
3409
|
+
var EXPERIENCE_CALL_FILES_MAX_BYTES = 32 * 1024 * 1024;
|
|
3410
|
+
var EXPERIENCE_OPEN_CODE_PATTERN = /^[A-Za-z0-9_-]{1,200}$/;
|
|
3411
|
+
var EXPERIENCE_OPEN_URL_MAX_LENGTH = 2048;
|
|
3412
|
+
|
|
3413
|
+
// src/host-types.ts
|
|
3414
|
+
var HOST_ITEMS_MAX = 20;
|
|
3415
|
+
var HOST_STAGE_MARGIN_MAX = 96;
|
|
3416
|
+
var HOST_KEYWORD_MAX_LENGTH = 64;
|
|
3417
|
+
var HOST_SOURCE_KINDS = ["catalogue", "follows", "keyword"];
|
|
3418
|
+
var HOST_RAIL_MODES = ["shown", "hidden", "device"];
|
|
3419
|
+
var HOST_RAIL_SIDES = ["left", "right"];
|
|
3420
|
+
var HOST_TRANSITIONS = ["slide", "fade"];
|
|
3421
|
+
var HOST_ITEM_KINDS = ["experience", "excerpt"];
|
|
3422
|
+
var HOST_CHANGE_PHASES = ["arriving", "active"];
|
|
3423
|
+
var HOST_DIRECTIONS = ["forward", "backward", "none"];
|
|
3424
|
+
var HOST_CHANGE_EVENT = "experiences.host.change";
|
|
3425
|
+
|
|
3426
|
+
// src/drive-types.ts
|
|
3427
|
+
var DRIVE_TRANSFER_MAX_BYTES = 64 * 1024 * 1024;
|
|
3428
|
+
var DRIVE_FOLDER_MAX_DEPTH = 30;
|
|
3429
|
+
|
|
3430
|
+
// src/protocol.ts
|
|
3431
|
+
var NOCHA_BRIDGE_PROTOCOL = "nocha.bridge.v4";
|
|
3432
|
+
var browserCapabilities = ["presence", "state", "ai", "assets", "video", "hardware", "memory", "database", "multiplayer", "device", "network", "notifications", "inbox", "email", "backend", "automations", "connectors", "drive", "transfer", "search", "machine", "places", "link", "library", "excerpts", "experiences", "profiles"];
|
|
3433
|
+
var generatedCapabilities = browserCapabilities;
|
|
3434
|
+
var assistantVoices = [
|
|
3435
|
+
"brise",
|
|
3436
|
+
"sillage",
|
|
3437
|
+
"marin",
|
|
3438
|
+
"quartz",
|
|
3439
|
+
"ripple",
|
|
3440
|
+
"vesper",
|
|
3441
|
+
"willow",
|
|
3442
|
+
"stone",
|
|
3443
|
+
"gleam",
|
|
3444
|
+
"meridian",
|
|
3445
|
+
"bossa",
|
|
3446
|
+
"tempo",
|
|
3447
|
+
"beacon",
|
|
3448
|
+
"delta",
|
|
3449
|
+
"cinder",
|
|
3450
|
+
"nuri",
|
|
3451
|
+
"juni",
|
|
3452
|
+
"flitz",
|
|
3453
|
+
"nira",
|
|
3454
|
+
"harema",
|
|
3455
|
+
"shida",
|
|
3456
|
+
"noeul"
|
|
3457
|
+
];
|
|
3458
|
+
var assistantLegacyVoices = ["alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse", "marin", "cedar"];
|
|
3459
|
+
var imageSizes = ["1024x1024", "1536x1024", "1024x1536", "1536x864", "864x1536", "1536x1152", "1152x1536"];
|
|
3460
|
+
var imageQualities = ["low", "medium", "high"];
|
|
3461
|
+
var imageAspectRatios = ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4"];
|
|
3462
|
+
var imageSizeByAspectRatio = {
|
|
3463
|
+
"1:1": "1024x1024",
|
|
3464
|
+
"3:2": "1536x1024",
|
|
3465
|
+
"2:3": "1024x1536",
|
|
3466
|
+
"16:9": "1536x864",
|
|
3467
|
+
"9:16": "864x1536",
|
|
3468
|
+
"4:3": "1536x1152",
|
|
3469
|
+
"3:4": "1152x1536"
|
|
3470
|
+
};
|
|
3471
|
+
var NOCHA_NAVIGATION_PROTOCOL = "nocha.navigation.v1";
|
|
3472
|
+
function unsafePathCharacters(value) {
|
|
3473
|
+
return [...value].some((character) => character === "\\" || character.charCodeAt(0) < 32 || character.charCodeAt(0) === 127);
|
|
3474
|
+
}
|
|
3475
|
+
function normalizeExperienceLocation(target, base2 = { pathname: "/", search: "", hash: "" }) {
|
|
3476
|
+
if (typeof target !== "string" && (target === null || typeof target !== "object" || typeof target.pathname !== "string" || typeof target.search !== "string" || typeof target.hash !== "string")) {
|
|
3477
|
+
throw new NochaError("invalid_request", "Expected an experience location");
|
|
3478
|
+
}
|
|
3479
|
+
const source = typeof target === "string" ? target : `${target.pathname}${target.search}${target.hash}`;
|
|
3480
|
+
if (!source || source.trim() !== source || source.length > 16384 || unsafePathCharacters(source) || source.startsWith("//") || /^[a-z][a-z\d+.-]*:/i.test(source)) throw new NochaError("invalid_request", "Expected an internal experience location");
|
|
3481
|
+
if (typeof target !== "string" && (!target.pathname.startsWith("/") || target.search !== "" && !target.search.startsWith("?") || target.hash !== "" && !target.hash.startsWith("#"))) throw new NochaError("invalid_request", "Invalid experience location");
|
|
3482
|
+
const url = new URL(source, `https://experience.invalid${base2.pathname}${base2.search}${base2.hash}`);
|
|
3483
|
+
if (url.origin !== "https://experience.invalid" || url.username || url.password) throw new NochaError("invalid_request", "Expected an internal experience location");
|
|
3484
|
+
let path;
|
|
3485
|
+
try {
|
|
3486
|
+
path = decodeURIComponent(url.pathname);
|
|
3487
|
+
} catch {
|
|
3488
|
+
throw new NochaError("invalid_request", "Invalid experience pathname");
|
|
3489
|
+
}
|
|
3490
|
+
if (path === "/_nocha" || path.startsWith("/_nocha/") || unsafePathCharacters(path)) throw new NochaError("invalid_request", "Reserved experience pathname");
|
|
3491
|
+
for (const key of url.searchParams.keys()) if (key.startsWith("__nocha_")) throw new NochaError("invalid_request", "Reserved reader parameter");
|
|
3492
|
+
return { pathname: url.pathname, search: url.search, hash: url.hash };
|
|
3493
|
+
}
|
|
3494
|
+
function isExperienceLocation(value) {
|
|
3495
|
+
if (!value || typeof value !== "object") return false;
|
|
3496
|
+
const location = value;
|
|
3497
|
+
if (typeof location.pathname !== "string" || typeof location.search !== "string" || typeof location.hash !== "string") return false;
|
|
3498
|
+
try {
|
|
3499
|
+
const normalized = normalizeExperienceLocation(location);
|
|
3500
|
+
return normalized.pathname === location.pathname && normalized.search === location.search && normalized.hash === location.hash;
|
|
3501
|
+
} catch {
|
|
3502
|
+
return false;
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
var deviceHapticStyles = ["selection", "light", "medium", "heavy", "soft", "rigid", "success", "warning", "error"];
|
|
3506
|
+
var DEVICE_HAPTIC_PATTERN_MAX_STEPS = 16;
|
|
3507
|
+
var DEVICE_HAPTIC_PATTERN_MAX_DELAY_MS = 1e3;
|
|
3508
|
+
var DEVICE_HAPTIC_PATTERN_MIN_INTERVAL_MS = 40;
|
|
3509
|
+
var DEVICE_HAPTIC_PATTERN_MAX_DURATION_MS = 3e3;
|
|
3510
|
+
var DEVICE_HAPTIC_PATTERNS_PER_SECOND = 4;
|
|
3511
|
+
var NOTIFICATION_SCHEDULE_MIN_LEAD_MS = 6e4;
|
|
3512
|
+
var NOTIFICATION_SCHEDULE_MAX_LEAD_MS = 12096e5;
|
|
3513
|
+
var NOTIFICATION_SCHEDULE_MAX_PENDING = 16;
|
|
3514
|
+
|
|
3515
|
+
export {
|
|
3516
|
+
__export,
|
|
3517
|
+
experienceTriggerErrorCodes,
|
|
3518
|
+
nochaErrorClasses,
|
|
3519
|
+
isNochaErrorCode,
|
|
3520
|
+
hostUnavailableErrorCodes,
|
|
3521
|
+
unknownOutcomeErrorCodes,
|
|
3522
|
+
machineErrorCodes,
|
|
3523
|
+
machineWorkspaceErrorMessages,
|
|
3524
|
+
machineStreamIdentityCodes,
|
|
3525
|
+
experienceBackendErrorCodes,
|
|
3526
|
+
NochaError,
|
|
3527
|
+
isNochaError,
|
|
3528
|
+
classifyError,
|
|
3529
|
+
wireError,
|
|
3530
|
+
isRecord,
|
|
3531
|
+
isString,
|
|
3532
|
+
isNonEmptyString,
|
|
3533
|
+
isBoolean,
|
|
3534
|
+
isFiniteNumber,
|
|
3535
|
+
isCount,
|
|
3536
|
+
isNullable,
|
|
3537
|
+
isUuid,
|
|
3538
|
+
isBase64,
|
|
3539
|
+
CODE_PATTERN,
|
|
3540
|
+
isArrayOf,
|
|
3541
|
+
isIdempotencyKey,
|
|
3542
|
+
isPlainObject,
|
|
3543
|
+
jsonProblem,
|
|
3544
|
+
experienceHostKinds,
|
|
3545
|
+
isExperienceHostKind,
|
|
3546
|
+
isExperienceContext,
|
|
3547
|
+
EXPERIENCE_LANGUAGE_PATTERN,
|
|
3548
|
+
isExperienceLanguage,
|
|
3549
|
+
matchExperienceLanguage,
|
|
3550
|
+
EXPERIENCE_BACKEND_PROFILE,
|
|
3551
|
+
EXPERIENCE_BACKEND_RUNNER_ABI,
|
|
3552
|
+
assetMediaTypes,
|
|
3553
|
+
ASSET_MEDIA_MAX_BYTES,
|
|
3554
|
+
ASSET_VIDEO_MAX_BYTES,
|
|
3555
|
+
GENERATED_VIDEO_MEDIA_MAX_BYTES,
|
|
3556
|
+
assetMediaMaxBytes,
|
|
3557
|
+
backendMediaStoreContentTypes,
|
|
3558
|
+
backendMediaStoreMaxBytes,
|
|
3559
|
+
backendMediaStorePathPattern,
|
|
3560
|
+
backendMediaStoreNamePattern,
|
|
3561
|
+
backendMediaGrantStoreTimeoutMs,
|
|
3562
|
+
backendMediaStoreHeaders,
|
|
3563
|
+
operationWaiting,
|
|
3564
|
+
storageOperations,
|
|
3565
|
+
storageCapabilities,
|
|
3566
|
+
storageOperationList,
|
|
3567
|
+
storageReadOperations,
|
|
3568
|
+
databaseOperations,
|
|
3569
|
+
stateOperations,
|
|
3570
|
+
memoryOperations,
|
|
3571
|
+
findStorageOperation,
|
|
3572
|
+
isStorageOperationId,
|
|
3573
|
+
isStoragePublicReadId,
|
|
3574
|
+
tripirlVideoStepIds,
|
|
3575
|
+
videoLocales,
|
|
3576
|
+
videoStepIdPattern,
|
|
3577
|
+
readVideoProperties,
|
|
3578
|
+
readEffectiveVideoProperties,
|
|
3579
|
+
readVideoPropertyDefinition,
|
|
3580
|
+
readVideoSourceAnalysis,
|
|
3581
|
+
readVideoAnalysisResult,
|
|
3582
|
+
readVideoReferenceReplaces,
|
|
3583
|
+
readVideoEditPlan,
|
|
3584
|
+
readVideoReviewWarnings,
|
|
3585
|
+
GAMEPAD_SUMMARY_EVENT,
|
|
3586
|
+
GAMEPAD_TARGET_ATTRIBUTE,
|
|
3587
|
+
GAMEPAD_MAX_SLOTS,
|
|
3588
|
+
GAMEPAD_MAX_AXES,
|
|
3589
|
+
GAMEPAD_MAX_BUTTONS,
|
|
3590
|
+
GAMEPAD_ID_MAX_CHARS,
|
|
3591
|
+
GAMEPAD_BUTTON,
|
|
3592
|
+
isGamepadSummary,
|
|
3593
|
+
isExperienceViewport,
|
|
3594
|
+
SAFE_AREA_DECLARATION_EVENT,
|
|
3595
|
+
isSafeAreaDeclaration,
|
|
3596
|
+
SHORTCUT_MODIFIERS,
|
|
3597
|
+
ASSISTANT_SHORTCUTS_EVENT,
|
|
3598
|
+
ASSISTANT_SHORTCUT_EVENT,
|
|
3599
|
+
ASSISTANT_SHORTCUTS_MAX,
|
|
3600
|
+
parseShortcutKeys,
|
|
3601
|
+
isShortcutKeys,
|
|
3602
|
+
shortcutKeysFromEvent,
|
|
3603
|
+
shortcutLabel,
|
|
3604
|
+
isAssistantShortcuts,
|
|
3605
|
+
ASSISTANT_OPEN_EVENT,
|
|
3606
|
+
ASSISTANT_OPENED_EVENT,
|
|
3607
|
+
ASSISTANT_OPEN_INTERVAL_MS,
|
|
3608
|
+
ASSISTANT_OPEN_REFUSALS,
|
|
3609
|
+
isAssistantThread,
|
|
3610
|
+
ASSISTANT_OPEN_DRAFT_MAX,
|
|
3611
|
+
isAssistantDraft,
|
|
3612
|
+
experienceCapabilities,
|
|
3613
|
+
hostPseudoCapabilities,
|
|
3614
|
+
usageFreeCapabilities,
|
|
3615
|
+
bridgeCapabilities,
|
|
3616
|
+
SPEECH_MODEL_ID_MAX_LENGTH,
|
|
3617
|
+
SPEECH_VOICE_ID_MAX_LENGTH,
|
|
3618
|
+
SPEECH_MODEL_ID_PATTERN,
|
|
3619
|
+
SPEECH_VOICE_ID_PATTERN,
|
|
3620
|
+
speechVoiceAliases,
|
|
3621
|
+
speechVoiceGenders,
|
|
3622
|
+
speechVoiceAges,
|
|
3623
|
+
isSpeechModelId,
|
|
3624
|
+
isSpeechVoiceId,
|
|
3625
|
+
isSpeechVoiceAlias,
|
|
3626
|
+
speechSettingRanges,
|
|
3627
|
+
aiModelNeeds,
|
|
3628
|
+
voiceFacets,
|
|
3629
|
+
voiceSorts,
|
|
3630
|
+
voiceCollections,
|
|
3631
|
+
voiceCatalogueCollections,
|
|
3632
|
+
VOICE_FACET_PATTERN,
|
|
3633
|
+
VOICE_FACET_LIST_MAX,
|
|
3634
|
+
capabilityNeeds,
|
|
3635
|
+
allCapabilityNeeds,
|
|
3636
|
+
aiGenerateNeeds,
|
|
3637
|
+
aiDecideNeeds,
|
|
3638
|
+
voiceCallNeeds,
|
|
3639
|
+
mediaResultNeeds,
|
|
3640
|
+
mediaUsageNeeds,
|
|
3641
|
+
generationDeadlines,
|
|
3642
|
+
capabilityNeedWaits,
|
|
3643
|
+
needProviderCapabilities,
|
|
3644
|
+
generationWaiting,
|
|
3645
|
+
generationWaitMs,
|
|
3646
|
+
NOCHA_TRANSFER_PROTOCOL,
|
|
3647
|
+
TRANSFER_HELLO_EVENT,
|
|
3648
|
+
TRANSFER_HTML_DRAG_EVENT,
|
|
3649
|
+
TRANSFER_MAX_ITEMS,
|
|
3650
|
+
TRANSFER_MAX_BYTES,
|
|
3651
|
+
TRANSFER_PREVIEW_MAX_BYTES,
|
|
3652
|
+
TRANSFER_PAYLOAD_TIMEOUT_MS,
|
|
3653
|
+
TRANSFER_DROP_TIMEOUT_MS,
|
|
3654
|
+
TRANSFER_DROP_ACTIVATION_MS,
|
|
3655
|
+
TRANSFER_ROLE_PATTERN,
|
|
3656
|
+
TRANSFER_ITEM_ID_PATTERN,
|
|
3657
|
+
TRANSFER_DRAG_ID_PATTERN,
|
|
3658
|
+
TRANSFER_MAX_ACCEPTS,
|
|
3659
|
+
TRANSFER_MAX_TYPES,
|
|
3660
|
+
TRANSFER_LABEL_MAX,
|
|
3661
|
+
transferMimeTypes,
|
|
3662
|
+
normalizeTransferType,
|
|
3663
|
+
transferKindOf,
|
|
3664
|
+
isTransferTypePattern,
|
|
3665
|
+
matchesTransferType,
|
|
3666
|
+
matchesTransferTypes,
|
|
3667
|
+
transferSignatureMatches,
|
|
3668
|
+
NOCHA_UPLOAD_PROTOCOL,
|
|
3669
|
+
NOCHA_MEDIA_PROTOCOL,
|
|
3670
|
+
NOCHA_VIDEO_PLAYBACK_PROTOCOL,
|
|
3671
|
+
NOCHA_LINK_OPEN_EVENT,
|
|
3672
|
+
USAGE_ID_PATTERN,
|
|
3673
|
+
isUsageId,
|
|
3674
|
+
NOCHA_EXTERNAL_PROTOCOL,
|
|
3675
|
+
NOCHA_EXTERNAL_DEFAULT_HOSTS,
|
|
3676
|
+
NOCHA_EXTERNAL_HOSTS_META,
|
|
3677
|
+
NOCHA_EXTERNAL_HOSTING_META,
|
|
3678
|
+
NOCHA_EXTERNAL_CODE_META,
|
|
3679
|
+
isExternalFrameMessage,
|
|
3680
|
+
matchesExternalHostPattern,
|
|
3681
|
+
normalizeExternalHostPattern,
|
|
3682
|
+
parseExternalCodes,
|
|
3683
|
+
externalFrameOrigins,
|
|
3684
|
+
parseExternalHostPatterns,
|
|
3685
|
+
automationsOperationDefinitions,
|
|
3686
|
+
aiOperationDefinitions,
|
|
3687
|
+
assetsOperationDefinitions,
|
|
3688
|
+
videoOperationDefinitions,
|
|
3689
|
+
videoOperations,
|
|
3690
|
+
videoWaitSchedule,
|
|
3691
|
+
hardwareOperationDefinitions,
|
|
3692
|
+
networkOperationDefinitions,
|
|
3693
|
+
multiplayerOperationDefinitions,
|
|
3694
|
+
deviceOperationDefinitions,
|
|
3695
|
+
presenceOperationDefinitions,
|
|
3696
|
+
notificationsOperationDefinitions,
|
|
3697
|
+
inboxOperationDefinitions,
|
|
3698
|
+
emailOperationDefinitions,
|
|
3699
|
+
connectorsOperationDefinitions,
|
|
3700
|
+
backendOperationDefinitions,
|
|
3701
|
+
backendOperations,
|
|
3702
|
+
driveOperationDefinitions,
|
|
3703
|
+
linkOperationDefinitions,
|
|
3704
|
+
libraryOperationDefinitions,
|
|
3705
|
+
libraryOperations,
|
|
3706
|
+
hostOperationDefinitions,
|
|
3707
|
+
experiencesHostOperations,
|
|
3708
|
+
experiencesOperationDefinitions,
|
|
3709
|
+
experiencesOperations,
|
|
3710
|
+
experiencesClientOperations,
|
|
3711
|
+
EXPERIENCES_HOST_GRANT,
|
|
3712
|
+
searchOperationDefinitions,
|
|
3713
|
+
searchOperations,
|
|
3714
|
+
searchBackendOperations,
|
|
3715
|
+
searchBackendOnlyOperations,
|
|
3716
|
+
searchFrontendOperations,
|
|
3717
|
+
machineOperationDefinitions,
|
|
3718
|
+
machineOperations,
|
|
3719
|
+
placesOperationDefinitions,
|
|
3720
|
+
excerptsOperationDefinitions,
|
|
3721
|
+
profilesOperationDefinitions,
|
|
3722
|
+
profilesOperations,
|
|
3723
|
+
capabilityOperations,
|
|
3724
|
+
operationList,
|
|
3725
|
+
findOperation,
|
|
3726
|
+
operationAccess,
|
|
3727
|
+
operationTransport,
|
|
3728
|
+
operationMaySpend,
|
|
3729
|
+
hostServed,
|
|
3730
|
+
publicControlScope,
|
|
3731
|
+
isPublicControlId,
|
|
3732
|
+
publicReadEligible,
|
|
3733
|
+
legacyOperationClassifications,
|
|
3734
|
+
observerOperationAllowed,
|
|
3735
|
+
operationRateBucket,
|
|
3736
|
+
mediaUsageOperationIds,
|
|
3737
|
+
mediaInvocationOperationIds,
|
|
3738
|
+
networkOperationIds,
|
|
3739
|
+
hardwareAudioOperationNames,
|
|
3740
|
+
hardwareNetworkOperationNames,
|
|
3741
|
+
hardwareDesktopOperationNames,
|
|
3742
|
+
isGenerationRead,
|
|
3743
|
+
mediaNeedOperationAllowed,
|
|
3744
|
+
capabilityDeadlines,
|
|
3745
|
+
spaceKinds,
|
|
3746
|
+
SPACES_CHANGED_EVENT,
|
|
3747
|
+
SPACE_INPUT_KEY,
|
|
3748
|
+
SPACE_REF_PATTERN,
|
|
3749
|
+
TEAM_REF_PATTERN,
|
|
3750
|
+
isTeamRef,
|
|
3751
|
+
isSpaceTeam,
|
|
3752
|
+
isSpaceKind,
|
|
3753
|
+
isSpaceRef,
|
|
3754
|
+
SCREEN_ID_PATTERN,
|
|
3755
|
+
SCREEN_ID_MAX_LENGTH,
|
|
3756
|
+
SCREEN_TEXT_MAX_LENGTH,
|
|
3757
|
+
SCREEN_LABEL_MAX_LENGTH,
|
|
3758
|
+
isScreenId,
|
|
3759
|
+
isConfirmScreenInput,
|
|
3760
|
+
isCreditsConfirmScreenInput,
|
|
3761
|
+
isScreenResult,
|
|
3762
|
+
screensOperations,
|
|
3763
|
+
voiceCallConnections,
|
|
3764
|
+
voiceCallMicrophones,
|
|
3765
|
+
voiceCallPlaybacks,
|
|
3766
|
+
voiceCallReasonings,
|
|
3767
|
+
voiceCallSettlements,
|
|
3768
|
+
voiceStopReasons,
|
|
3769
|
+
VOICE_CALL_PERSONA_LIMITS,
|
|
3770
|
+
LINK_URL_MAX_LENGTH,
|
|
3771
|
+
LINK_LABEL_MAX_LENGTH,
|
|
3772
|
+
LIBRARY_SURFACES,
|
|
3773
|
+
LIBRARY_SHELVES,
|
|
3774
|
+
LIBRARY_PAGE_MAX,
|
|
3775
|
+
LIBRARY_PAGE_DEFAULT,
|
|
3776
|
+
LIBRARY_QUERY_MAX_LENGTH,
|
|
3777
|
+
LIBRARY_ICON_CODES_MAX,
|
|
3778
|
+
LIBRARY_ICON_SIZES,
|
|
3779
|
+
LIBRARY_AVATAR_HANDLES_MAX,
|
|
3780
|
+
LIBRARY_HANDLE_PATTERN,
|
|
3781
|
+
LIBRARY_PREFETCH_CODES_MAX,
|
|
3782
|
+
LIBRARY_BOOKMARKED_CODES_MAX,
|
|
3783
|
+
LIBRARY_CATALOGUE_TAGS_MAX,
|
|
3784
|
+
LIBRARY_RECT_OFFSET_MAX,
|
|
3785
|
+
LIBRARY_RECT_SIZE_MAX,
|
|
3786
|
+
LIBRARY_INTERFACE_SOURCES,
|
|
3787
|
+
PROFILES_PARTICIPANTS_MAX,
|
|
3788
|
+
PROFILE_PARTICIPANT_PATTERN,
|
|
3789
|
+
PROFILE_AVATAR_SIZES,
|
|
3790
|
+
CHARACTER_PACKAGE_FORMAT,
|
|
3791
|
+
CHARACTER_PACKAGE_IMAGE_MAX_BYTES,
|
|
3792
|
+
CHARACTER_PACKAGE_CARD_MAX_BYTES,
|
|
3793
|
+
CHARACTER_PACKAGE_RIG_FORMATS,
|
|
3794
|
+
EXPOSED_NAME_PATTERN,
|
|
3795
|
+
EXPOSED_OPERATION_PATTERN,
|
|
3796
|
+
EXPERIENCE_CALL_JSON_MAX_BYTES,
|
|
3797
|
+
EXPERIENCE_CALL_FILE_MAX_BYTES,
|
|
3798
|
+
EXPERIENCE_CALL_FILES_MAX_BYTES,
|
|
3799
|
+
EXPERIENCE_OPEN_CODE_PATTERN,
|
|
3800
|
+
EXPERIENCE_OPEN_URL_MAX_LENGTH,
|
|
3801
|
+
HOST_ITEMS_MAX,
|
|
3802
|
+
HOST_STAGE_MARGIN_MAX,
|
|
3803
|
+
HOST_KEYWORD_MAX_LENGTH,
|
|
3804
|
+
HOST_SOURCE_KINDS,
|
|
3805
|
+
HOST_RAIL_MODES,
|
|
3806
|
+
HOST_RAIL_SIDES,
|
|
3807
|
+
HOST_TRANSITIONS,
|
|
3808
|
+
HOST_ITEM_KINDS,
|
|
3809
|
+
HOST_CHANGE_PHASES,
|
|
3810
|
+
HOST_DIRECTIONS,
|
|
3811
|
+
HOST_CHANGE_EVENT,
|
|
3812
|
+
DRIVE_TRANSFER_MAX_BYTES,
|
|
3813
|
+
DRIVE_FOLDER_MAX_DEPTH,
|
|
3814
|
+
NOCHA_BRIDGE_PROTOCOL,
|
|
3815
|
+
browserCapabilities,
|
|
3816
|
+
generatedCapabilities,
|
|
3817
|
+
assistantVoices,
|
|
3818
|
+
assistantLegacyVoices,
|
|
3819
|
+
imageSizes,
|
|
3820
|
+
imageQualities,
|
|
3821
|
+
imageAspectRatios,
|
|
3822
|
+
imageSizeByAspectRatio,
|
|
3823
|
+
NOCHA_NAVIGATION_PROTOCOL,
|
|
3824
|
+
normalizeExperienceLocation,
|
|
3825
|
+
isExperienceLocation,
|
|
3826
|
+
deviceHapticStyles,
|
|
3827
|
+
DEVICE_HAPTIC_PATTERN_MAX_STEPS,
|
|
3828
|
+
DEVICE_HAPTIC_PATTERN_MAX_DELAY_MS,
|
|
3829
|
+
DEVICE_HAPTIC_PATTERN_MIN_INTERVAL_MS,
|
|
3830
|
+
DEVICE_HAPTIC_PATTERN_MAX_DURATION_MS,
|
|
3831
|
+
DEVICE_HAPTIC_PATTERNS_PER_SECOND,
|
|
3832
|
+
NOTIFICATION_SCHEDULE_MIN_LEAD_MS,
|
|
3833
|
+
NOTIFICATION_SCHEDULE_MAX_LEAD_MS,
|
|
3834
|
+
NOTIFICATION_SCHEDULE_MAX_PENDING
|
|
3835
|
+
};
|