@ultrst-armada/kloks 1.25.1 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -5
- package/packages/audio-midi/dist/{audioClipEngine-E5ODQNYR.js → audioClipEngine-P2XTGBMZ.js} +3 -3
- package/packages/audio-midi/dist/{audioInputManager-OOH3TOJ6.js → audioInputManager-YL5KYUWC.js} +2 -2
- package/packages/audio-midi/dist/bowser-F6LIZBYW.js +2821 -0
- package/packages/audio-midi/dist/chunk-34KJBG4F.js +357 -0
- package/packages/audio-midi/dist/{chunk-3FXNT6PF.js → chunk-6RGU6QHK.js} +2 -2
- package/packages/audio-midi/dist/{chunk-QGM4M3NI.js → chunk-EAQYK3U2.js} +4 -0
- package/packages/audio-midi/dist/chunk-IOAPEUC7.js +3424 -0
- package/packages/audio-midi/dist/chunk-J64ZDIIX.js +2753 -0
- package/packages/audio-midi/dist/chunk-K6H7T3EP.js +1991 -0
- package/packages/audio-midi/dist/chunk-N3MSTUJN.js +4785 -0
- package/packages/audio-midi/dist/{chunk-2U7VIADS.js → chunk-QNGB2HIN.js} +1 -1
- package/packages/audio-midi/dist/chunk-VP26OHBN.js +480 -0
- package/packages/audio-midi/dist/chunk-VRLVLNLG.js +1727 -0
- package/packages/audio-midi/dist/dist-TKZ5TDRN.js +1124 -0
- package/packages/audio-midi/dist/{dist-XMSSRYDR.js → dist-W7ZJS3LZ.js} +1 -1
- package/packages/audio-midi/dist/dist-es-3DGJJFOU.js +338 -0
- package/packages/audio-midi/dist/dist-es-5IACWOIO.js +69 -0
- package/packages/audio-midi/dist/dist-es-BWLDIBIA.js +47 -0
- package/packages/audio-midi/dist/dist-es-DO3F4OBN.js +377 -0
- package/packages/audio-midi/dist/dist-es-NN7AKU7P.js +175 -0
- package/packages/audio-midi/dist/dist-es-QZ6GKMM7.js +220 -0
- package/packages/audio-midi/dist/dist-es-R3VEGXOP.js +87 -0
- package/packages/audio-midi/dist/dist-es-TLPJYZTE.js +294 -0
- package/packages/audio-midi/dist/event-streams-DRE6QVD6.js +940 -0
- package/packages/audio-midi/dist/index.js +19 -19
- package/packages/audio-midi/dist/loadSso-M3ZIZDGO.js +586 -0
- package/packages/audio-midi/dist/multipart-parser-YYFFJ4QD.js +371 -0
- package/packages/audio-midi/dist/signin-YXALFRYB.js +831 -0
- package/packages/audio-midi/dist/src-2QCYQXYH.js +1396 -0
- package/packages/audio-midi/dist/sso-oidc-NXFKRL6O.js +847 -0
- package/packages/audio-midi/dist/sts-MICPT37B.js +1253 -0
- package/packages/audio-midi/dist/{transformers.node-HWHOAE4H.js → transformers.node-R6VHTGC2.js} +1 -1
- package/packages/backend/dist/ai-inference/DeterministicEndpointExecutor.d.ts +26 -0
- package/packages/backend/dist/ai-inference/errorParser.d.ts +11 -0
- package/packages/backend/dist/ai-inference/index.d.ts +6 -97
- package/packages/backend/dist/ai-inference/inferenceExecutor.d.ts +11 -0
- package/packages/backend/dist/ai-inference/types.d.ts +45 -0
- package/packages/backend/dist/ai-keys/index.d.ts +6 -68
- package/packages/backend/dist/ai-keys/keyStore.d.ts +44 -0
- package/packages/backend/dist/ai-keys/keyValidator.d.ts +7 -0
- package/packages/backend/dist/ai-keys/keysStorage.d.ts +14 -0
- package/packages/backend/dist/{types-NITEaxAh.d.ts → ai-keys/types.d.ts} +5 -9
- package/packages/backend/dist/ai-models/catalogData.d.ts +6 -0
- package/packages/backend/dist/ai-models/endpointRefresher.d.ts +13 -0
- package/packages/backend/dist/ai-models/index.d.ts +7 -70
- package/packages/backend/dist/ai-models/modelCatalog.d.ts +33 -0
- package/packages/backend/dist/ai-models/modelHealthService.d.ts +15 -0
- package/packages/backend/dist/{types-fYUdf9oB.d.ts → ai-models/types.d.ts} +3 -7
- package/packages/backend/dist/ai-provider/AIProviderService.d.ts +16 -0
- package/packages/backend/dist/{AITransportClient-dToGr8nj.d.ts → ai-provider/AITransportClient.d.ts} +3 -5
- package/packages/backend/dist/ai-provider/index.d.ts +6 -30
- package/packages/backend/dist/ai-provider/providers.d.ts +9 -0
- package/packages/backend/dist/{types-Di4ZAQYA.d.ts → ai-provider/types.d.ts} +4 -6
- package/packages/backend/dist/ai-routing/failoverEngine.d.ts +10 -0
- package/packages/backend/dist/ai-routing/healthCheckService.d.ts +19 -0
- package/packages/backend/dist/ai-routing/index.d.ts +6 -115
- package/packages/backend/dist/ai-routing/metricsLogger.d.ts +51 -0
- package/packages/backend/dist/ai-routing/types.d.ts +30 -0
- package/packages/backend/dist/ai-tools/ToolManagerService.d.ts +11 -0
- package/packages/backend/dist/ai-tools/index.d.ts +6 -80
- package/packages/backend/dist/ai-tools/mcpEngine.d.ts +19 -0
- package/packages/backend/dist/ai-tools/toolValidationLoop.d.ts +10 -0
- package/packages/backend/dist/ai-tools/types.d.ts +37 -0
- package/packages/backend/dist/api/BaseApiRoute.d.ts +9 -0
- package/packages/backend/dist/api/index.d.ts +4 -32
- package/packages/backend/dist/api/middleware.d.ts +3 -0
- package/packages/backend/dist/api/sse.d.ts +1 -0
- package/packages/backend/dist/api/types.d.ts +14 -0
- package/packages/backend/dist/architecture/types.d.ts +53 -0
- package/packages/backend/dist/auth/BaseAccountProvider.d.ts +7 -0
- package/packages/backend/dist/auth/CanonicalAuthClient.d.ts +6 -0
- package/packages/backend/dist/auth/UnifiedAuthCore.d.ts +23 -0
- package/packages/backend/dist/auth/UnifiedAuthCore.test.d.ts +1 -0
- package/packages/backend/dist/auth/index.d.ts +2 -27
- package/packages/backend/dist/auth/index.js +1 -1
- package/packages/backend/dist/{chunk-SNKPYPDW.js → chunk-2COYZMUJ.js} +1 -0
- package/packages/backend/dist/{chunk-SHZAQTIT.js → chunk-3W4TN6XB.js} +184 -95
- package/packages/backend/dist/chunk-52M4L74T.js +247 -0
- package/packages/backend/dist/chunk-GZD5A54P.js +67 -0
- package/packages/backend/dist/{chunk-SVNL5IVN.js → chunk-IB5SLBHT.js} +1 -1
- package/packages/backend/dist/{chunk-COA3ABWL.js → chunk-JRNH5KPV.js} +3 -3
- package/packages/backend/dist/{chunk-IGZB4RYT.js → chunk-QXIMZLGS.js} +1 -1
- package/packages/backend/dist/client/index.d.ts +21 -19
- package/packages/backend/dist/client/useBackend.d.ts +18 -0
- package/packages/backend/dist/connectivity/BackendClient.d.ts +40 -0
- package/packages/backend/dist/connectivity/BackendContract.d.ts +42 -0
- package/packages/backend/dist/connectivity/BackendRegistry.d.ts +20 -0
- package/packages/backend/dist/connectivity/BackendResolver.d.ts +33 -0
- package/packages/backend/dist/connectivity/CallbackRegistry.d.ts +17 -0
- package/packages/backend/dist/connectivity/ConcurrencyManager.d.ts +28 -0
- package/packages/backend/dist/connectivity/EventBus.d.ts +18 -0
- package/packages/backend/dist/connectivity/FrontendSession.d.ts +30 -0
- package/packages/backend/dist/connectivity/HTTPTransport.d.ts +34 -0
- package/packages/backend/dist/connectivity/HealthMonitor.d.ts +18 -0
- package/packages/backend/dist/connectivity/IdempotencyManager.d.ts +14 -0
- package/packages/backend/dist/connectivity/InProcessExecutor.d.ts +27 -0
- package/packages/backend/dist/connectivity/JobScheduler.d.ts +30 -0
- package/packages/backend/dist/connectivity/LoadBalancer.d.ts +15 -0
- package/packages/backend/dist/connectivity/LockManager.d.ts +16 -0
- package/packages/backend/dist/connectivity/RemoteExecutor.d.ts +33 -0
- package/packages/backend/dist/connectivity/SequenceTracker.d.ts +26 -0
- package/packages/backend/dist/connectivity/Transport.d.ts +18 -0
- package/packages/backend/dist/connectivity/WebSocketTransport.d.ts +37 -0
- package/packages/backend/dist/connectivity/index.d.ts +23 -248
- package/packages/backend/dist/connectivity/types.d.ts +108 -0
- package/packages/backend/dist/control-plane/AuditLogger.d.ts +9 -0
- package/packages/backend/dist/control-plane/ControlPlaneManager.d.ts +10 -0
- package/packages/backend/dist/control-plane/DatabaseClusterManager.d.ts +20 -0
- package/packages/backend/dist/control-plane/index.d.ts +4 -56
- package/packages/backend/dist/control-plane/types.d.ts +17 -0
- package/packages/backend/dist/core/SrklStorageService.d.ts +33 -0
- package/packages/backend/dist/core/b2DirectCore.d.ts +37 -0
- package/packages/backend/dist/core/cloudflareIntegrationCore.d.ts +21 -0
- package/packages/backend/dist/core/credentialVaultCore.d.ts +43 -0
- package/packages/backend/dist/core/deploymentControlCore.d.ts +37 -0
- package/packages/backend/dist/core/dynamicRouteResolver.d.ts +8 -0
- package/packages/backend/dist/core/index.d.ts +18 -0
- package/packages/backend/dist/core/publicRoutesStore.d.ts +39 -0
- package/packages/backend/dist/core/routesCore.d.ts +79 -0
- package/packages/backend/dist/core/srklCore.d.ts +49 -0
- package/packages/backend/dist/core/unifiedDb.d.ts +12 -0
- package/packages/backend/dist/core/unifiedDb.test.d.ts +1 -0
- package/packages/backend/dist/core/vercelIntegrationCore.d.ts +17 -0
- package/packages/backend/dist/core/vercelTransformer.d.ts +41 -0
- package/packages/backend/dist/core/workspaceBucketSyncCore.d.ts +10 -0
- package/packages/backend/dist/core/workspaceCanonical.d.ts +7 -0
- package/packages/backend/dist/core/workspaceCloneSyncCore.d.ts +40 -0
- package/packages/backend/dist/core/workspaceCore.d.ts +33 -0
- package/packages/backend/dist/core/workspaceCore.test.d.ts +1 -0
- package/packages/backend/dist/core/workspaceDataCore.d.ts +53 -0
- package/packages/backend/dist/core/workspaceFileCore.d.ts +16 -0
- package/packages/backend/dist/core/workspaceStorageDetailsCore.d.ts +91 -0
- package/packages/backend/dist/core/workspaceSyncEngine.d.ts +40 -0
- package/packages/backend/dist/data/BaseDataProvider.d.ts +11 -0
- package/packages/backend/dist/data/FunctionalityTable.d.ts +14 -0
- package/packages/backend/dist/data/index.d.ts +3 -0
- package/packages/backend/dist/data/types.d.ts +18 -0
- package/packages/backend/dist/development/agentHarnessService.d.ts +26 -0
- package/packages/backend/dist/development/agentHarnessService.test.d.ts +1 -0
- package/packages/backend/dist/development/agentHarnessTypes.d.ts +28 -0
- package/packages/backend/dist/development/clientEntry.test.d.ts +1 -0
- package/packages/backend/dist/development/codeDiagnosticsService.d.ts +16 -0
- package/packages/backend/dist/development/codeValidationService.d.ts +20 -0
- package/packages/backend/dist/development/codeValidationService.test.d.ts +1 -0
- package/packages/backend/dist/development/codeValidationTypes.d.ts +21 -0
- package/packages/backend/dist/development/developmentService.d.ts +22 -0
- package/packages/backend/dist/development/developmentService.test.d.ts +1 -0
- package/packages/backend/dist/development/githubActionsService.d.ts +55 -0
- package/packages/backend/dist/development/githubActionsService.test.d.ts +1 -0
- package/packages/backend/dist/development/index.d.ts +13 -237
- package/packages/backend/dist/development/playwrightInspectionEntry.test.d.ts +1 -0
- package/packages/backend/dist/development/playwrightInspectionService.d.ts +6 -10
- package/packages/backend/dist/development/playwrightInspectionService.test.d.ts +1 -0
- package/packages/backend/dist/development/playwrightInspectionSupport.d.ts +45 -0
- package/packages/backend/dist/development/playwrightInspectionTypes.d.ts +8 -10
- package/packages/backend/dist/development/types.d.ts +43 -0
- package/packages/backend/dist/development/typescriptLanguageServerService.d.ts +14 -0
- package/packages/backend/dist/development/typescriptLanguageServerService.test.d.ts +1 -0
- package/packages/backend/dist/development/typescriptLanguageServerTypes.d.ts +30 -0
- package/packages/backend/dist/development/webContainerDiagnostics.test.d.ts +1 -0
- package/packages/backend/dist/development/webContainerEntry.test.d.ts +1 -0
- package/packages/backend/dist/development/webContainerRuntime.d.ts +57 -2
- package/packages/backend/dist/development/webContainerService.d.ts +6 -9
- package/packages/backend/dist/development/webContainerService.test.d.ts +1 -0
- package/packages/backend/dist/index.d.ts +27 -1655
- package/packages/backend/dist/index.js +23 -19
- package/packages/backend/dist/krnl-ai-services.d.ts +32 -35
- package/packages/backend/dist/krnl-ai-services.test.d.ts +1 -0
- package/packages/backend/dist/krnl-services.d.ts +65 -61
- package/packages/backend/dist/krnl-services.js +5 -5
- package/packages/backend/dist/luth/LuthDiscoveryService.d.ts +15 -0
- package/packages/backend/dist/luth/index.d.ts +1 -0
- package/packages/backend/dist/resolver/systemDatabaseUrl.d.ts +18 -0
- package/packages/backend/dist/resourceEngine/BaseResourceFetcher.d.ts +34 -0
- package/packages/backend/dist/resourceEngine/CloudflareResourceFetcher.d.ts +10 -0
- package/packages/backend/dist/resourceEngine/ResourceFetcherRegistry.d.ts +27 -0
- package/packages/backend/dist/resourceEngine/VercelResourceFetcher.d.ts +10 -0
- package/packages/backend/dist/resourceEngine/adapters/CloudflareResourceAdapter.d.ts +9 -0
- package/packages/backend/dist/resourceEngine/adapters/VercelResourceAdapter.d.ts +9 -0
- package/packages/backend/dist/resourceEngine/calculator/UniversalResourceCalculator.d.ts +14 -0
- package/packages/backend/dist/resourceEngine/calculator/types.d.ts +37 -0
- package/packages/backend/dist/resourceEngine/index.d.ts +6 -0
- package/packages/backend/dist/resourceEngine/metricHelpers.d.ts +63 -0
- package/packages/backend/dist/resourceEngine/types/depm/base.d.ts +43 -0
- package/packages/backend/dist/resourceEngine/types/depm/entities.d.ts +136 -0
- package/packages/backend/dist/resourceEngine/types/depm/index.d.ts +4 -0
- package/packages/backend/dist/resourceEngine/types/depm/settings.d.ts +53 -0
- package/packages/backend/dist/resourceEngine/types/depm/vercel.d.ts +110 -0
- package/packages/backend/dist/resourceEngine/types.d.ts +99 -0
- package/packages/backend/dist/resourceEngine/weightEngine/helpers.d.ts +17 -0
- package/packages/backend/dist/resourceEngine/weightEngine/index.d.ts +2 -0
- package/packages/backend/dist/resourceEngine/weightEngine/weightEngine.d.ts +16 -0
- package/packages/backend/dist/resourceEngine/weightEngine/weightEngine.test.d.ts +1 -0
- package/packages/backend/dist/resourceEngine/weightEngine.d.ts +1 -0
- package/packages/backend/dist/server/index.d.ts +8 -0
- package/packages/backend/dist/server/sampleGenerator.d.ts +1 -0
- package/packages/backend/dist/server/services/assetPoolService/assetPoolService.d.ts +70 -0
- package/packages/backend/dist/server/services/assetPoolService/helpers.d.ts +5 -0
- package/packages/backend/dist/server/services/assetPoolService/types.d.ts +25 -0
- package/packages/backend/dist/server/services/assetPoolService.d.ts +100 -0
- package/packages/backend/dist/server/services/graphAssetService.d.ts +82 -0
- package/packages/backend/dist/server/services/graphPackageService.d.ts +75 -0
- package/packages/backend/dist/server/services/projectService/helpers.d.ts +1 -0
- package/packages/backend/dist/server/services/projectService/projectService.d.ts +9 -0
- package/packages/backend/dist/server/services/projectService/types.d.ts +11 -0
- package/packages/backend/dist/server/services/projectService.d.ts +18 -0
- package/packages/backend/dist/server/services/sampleService.d.ts +21 -0
- package/packages/backend/dist/server/services/workspaceGraphService.d.ts +26 -0
- package/packages/backend/dist/server/wavHelper.d.ts +1 -0
- package/packages/backend/dist/services/CompositeBackend.d.ts +28 -0
- package/packages/backend/dist/services/EndpointGenerator.d.ts +16 -0
- package/packages/backend/dist/services/ServiceBoundary.d.ts +10 -0
- package/packages/backend/dist/services/ServiceGenerators.d.ts +12 -0
- package/packages/backend/dist/services/index.d.ts +8 -291
- package/packages/backend/dist/services/index.js +3 -3
- package/packages/backend/dist/services/nodeGraphPersistence/helpers.d.ts +17 -0
- package/packages/backend/dist/services/nodeGraphPersistence/index.d.ts +7 -0
- package/packages/backend/dist/services/nodeGraphPersistence/nodeGraphPersistence.d.ts +40 -0
- package/packages/backend/dist/services/nodeGraphPersistence/types.d.ts +107 -0
- package/packages/backend/dist/services/workspaceGraphService.d.ts +62 -0
- package/packages/backend/dist/srkl/SrklClient.d.ts +38 -0
- package/packages/backend/dist/srkl/SrklCredentialRegistry.d.ts +21 -0
- package/packages/backend/dist/srkl/SrklCryptoClient.d.ts +5 -0
- package/packages/backend/dist/srkl/SrklDiscoveryService.d.ts +33 -0
- package/packages/backend/dist/srkl/SrklVaultAccessClient.d.ts +26 -0
- package/packages/backend/dist/srkl/index.d.ts +15 -343
- package/packages/backend/dist/srkl/srkl.d.ts +139 -0
- package/packages/backend/dist/srkl/srklSyncBridge.d.ts +6 -0
- package/packages/backend/dist/srkl/types.d.ts +136 -0
- package/packages/backend/dist/srkl/useSrklServices.d.ts +27 -0
- package/packages/backend/dist/storage/B2DirectClient.d.ts +16 -0
- package/packages/backend/dist/storage/BackblazeB2Adapter.d.ts +19 -0
- package/packages/backend/dist/storage/BaseStorageAdapter.d.ts +19 -0
- package/packages/backend/dist/storage/BucketStorageService.d.ts +5 -0
- package/packages/backend/dist/storage/GoogleDriveAdapter.d.ts +19 -0
- package/packages/backend/dist/storage/GoogleDriveOAuth.d.ts +16 -0
- package/packages/backend/dist/storage/GoogleDriveStorageService.d.ts +5 -0
- package/packages/backend/dist/storage/LocalFSAdapter.d.ts +22 -0
- package/packages/backend/dist/storage/S3Adapter.d.ts +19 -0
- package/packages/backend/dist/storage/StorageAdapterFactory.d.ts +5 -0
- package/packages/backend/dist/storage/SupabaseStorageAdapter.d.ts +15 -0
- package/packages/backend/dist/storage/b2Endpoint.d.ts +12 -0
- package/packages/backend/dist/storage/index.d.ts +14 -156
- package/packages/backend/dist/storage/index.js +14 -8
- package/packages/backend/dist/storage/s3Purge.d.ts +13 -0
- package/packages/backend/dist/storage/storageProviders.test.d.ts +1 -0
- package/packages/backend/dist/storage/types.d.ts +51 -0
- package/packages/backend/dist/workspace/RemoteWorkspaceService.d.ts +30 -0
- package/packages/backend/dist/workspace/SyncEngine.d.ts +11 -0
- package/packages/backend/dist/workspace/WorkingWorkspaceService.d.ts +35 -0
- package/packages/backend/dist/workspace/WorkspaceCanonical.d.ts +2 -0
- package/packages/backend/dist/workspace/WorkspaceCloneSyncEngine.d.ts +26 -0
- package/packages/backend/dist/workspace/WorkspaceFS.d.ts +21 -0
- package/packages/backend/dist/workspace/WorkspaceService.d.ts +52 -0
- package/packages/backend/dist/workspace/index.d.ts +8 -223
- package/packages/backend/dist/workspace/index.js +2 -2
- package/packages/backend/dist/workspace/types.d.ts +51 -0
- package/packages/backend/kloks.manifest.json +1 -1
- package/packages/backend/package.json +2 -10
- package/packages/functions/dist/bowser-F6LIZBYW.js +2821 -0
- package/packages/functions/dist/chunk-34KJBG4F.js +357 -0
- package/packages/{services/dist/chunk-QGM4M3NI.js → functions/dist/chunk-EAQYK3U2.js} +4 -0
- package/packages/functions/dist/chunk-IOAPEUC7.js +3424 -0
- package/packages/functions/dist/chunk-J64ZDIIX.js +2753 -0
- package/packages/functions/dist/chunk-K6H7T3EP.js +1991 -0
- package/packages/functions/dist/chunk-N3MSTUJN.js +4785 -0
- package/packages/functions/dist/chunk-VP26OHBN.js +480 -0
- package/packages/functions/dist/chunk-VRLVLNLG.js +1727 -0
- package/packages/functions/dist/dist-TKZ5TDRN.js +1124 -0
- package/packages/{services/dist/dist-XMSSRYDR.js → functions/dist/dist-W7ZJS3LZ.js} +1 -1
- package/packages/functions/dist/dist-es-3DGJJFOU.js +338 -0
- package/packages/functions/dist/dist-es-5IACWOIO.js +69 -0
- package/packages/functions/dist/dist-es-BWLDIBIA.js +47 -0
- package/packages/functions/dist/dist-es-DO3F4OBN.js +377 -0
- package/packages/functions/dist/dist-es-NN7AKU7P.js +175 -0
- package/packages/functions/dist/dist-es-QZ6GKMM7.js +220 -0
- package/packages/functions/dist/dist-es-R3VEGXOP.js +87 -0
- package/packages/functions/dist/dist-es-TLPJYZTE.js +294 -0
- package/packages/functions/dist/event-streams-DRE6QVD6.js +940 -0
- package/packages/functions/dist/index.js +17 -17
- package/packages/functions/dist/loadSso-M3ZIZDGO.js +586 -0
- package/packages/functions/dist/multipart-parser-YYFFJ4QD.js +371 -0
- package/packages/functions/dist/signin-YXALFRYB.js +831 -0
- package/packages/functions/dist/src-2QCYQXYH.js +1396 -0
- package/packages/functions/dist/sso-oidc-NXFKRL6O.js +847 -0
- package/packages/functions/dist/sts-MICPT37B.js +1253 -0
- package/packages/functions/dist/{transformers.node-HWHOAE4H.js → transformers.node-R6VHTGC2.js} +1 -1
- package/packages/services/dist/bowser-F6LIZBYW.js +2821 -0
- package/packages/services/dist/chunk-34KJBG4F.js +357 -0
- package/packages/{state-graph/dist/chunk-QGM4M3NI.js → services/dist/chunk-EAQYK3U2.js} +4 -0
- package/packages/services/dist/chunk-IOAPEUC7.js +3424 -0
- package/packages/services/dist/chunk-J64ZDIIX.js +2753 -0
- package/packages/services/dist/chunk-K6H7T3EP.js +1991 -0
- package/packages/services/dist/chunk-N3MSTUJN.js +4785 -0
- package/packages/services/dist/chunk-VP26OHBN.js +480 -0
- package/packages/services/dist/chunk-VRLVLNLG.js +1727 -0
- package/packages/services/dist/dist-TKZ5TDRN.js +1124 -0
- package/packages/{state-graph/dist/dist-XMSSRYDR.js → services/dist/dist-W7ZJS3LZ.js} +1 -1
- package/packages/services/dist/dist-es-3DGJJFOU.js +338 -0
- package/packages/services/dist/dist-es-5IACWOIO.js +69 -0
- package/packages/services/dist/dist-es-BWLDIBIA.js +47 -0
- package/packages/services/dist/dist-es-DO3F4OBN.js +377 -0
- package/packages/services/dist/dist-es-NN7AKU7P.js +175 -0
- package/packages/services/dist/dist-es-QZ6GKMM7.js +220 -0
- package/packages/services/dist/dist-es-R3VEGXOP.js +87 -0
- package/packages/services/dist/dist-es-TLPJYZTE.js +294 -0
- package/packages/services/dist/event-streams-DRE6QVD6.js +940 -0
- package/packages/services/dist/index.js +17 -17
- package/packages/services/dist/loadSso-M3ZIZDGO.js +586 -0
- package/packages/services/dist/multipart-parser-YYFFJ4QD.js +371 -0
- package/packages/services/dist/signin-YXALFRYB.js +831 -0
- package/packages/services/dist/src-2QCYQXYH.js +1396 -0
- package/packages/services/dist/sso-oidc-NXFKRL6O.js +847 -0
- package/packages/services/dist/sts-MICPT37B.js +1253 -0
- package/packages/services/dist/{transformers.node-HWHOAE4H.js → transformers.node-R6VHTGC2.js} +1 -1
- package/packages/state-graph/dist/BoxSelection.d.ts +2 -0
- package/packages/state-graph/dist/Viewport.d.ts +39 -0
- package/packages/state-graph/dist/bowser-F6LIZBYW.js +2821 -0
- package/packages/state-graph/dist/chunk-34KJBG4F.js +357 -0
- package/packages/{functions/dist/chunk-QGM4M3NI.js → state-graph/dist/chunk-EAQYK3U2.js} +4 -0
- package/packages/state-graph/dist/chunk-IOAPEUC7.js +3424 -0
- package/packages/state-graph/dist/chunk-J64ZDIIX.js +2753 -0
- package/packages/state-graph/dist/chunk-K6H7T3EP.js +1991 -0
- package/packages/state-graph/dist/chunk-N3MSTUJN.js +4785 -0
- package/packages/state-graph/dist/chunk-VP26OHBN.js +480 -0
- package/packages/state-graph/dist/chunk-VRLVLNLG.js +1727 -0
- package/packages/state-graph/dist/dist-TKZ5TDRN.js +1124 -0
- package/packages/{functions/dist/dist-XMSSRYDR.js → state-graph/dist/dist-W7ZJS3LZ.js} +1 -1
- package/packages/state-graph/dist/dist-es-3DGJJFOU.js +338 -0
- package/packages/state-graph/dist/dist-es-5IACWOIO.js +69 -0
- package/packages/state-graph/dist/dist-es-BWLDIBIA.js +47 -0
- package/packages/state-graph/dist/dist-es-DO3F4OBN.js +377 -0
- package/packages/state-graph/dist/dist-es-NN7AKU7P.js +175 -0
- package/packages/state-graph/dist/dist-es-OECEAUXH.js +220 -0
- package/packages/state-graph/dist/dist-es-R3VEGXOP.js +87 -0
- package/packages/state-graph/dist/dist-es-TLPJYZTE.js +294 -0
- package/packages/state-graph/dist/{BaseConnection-CMRrL6Fe.d.ts → domain/BaseConnection.d.ts} +6 -8
- package/packages/state-graph/dist/domain/BaseGraph.d.ts +66 -0
- package/packages/state-graph/dist/domain/BaseHandle.d.ts +63 -0
- package/packages/state-graph/dist/domain/BaseNode.d.ts +64 -0
- package/packages/state-graph/dist/domain/BaseViewWindow.d.ts +30 -0
- package/packages/state-graph/dist/domain/GroupNode.d.ts +29 -0
- package/packages/state-graph/dist/domain/SubgraphNode.d.ts +84 -0
- package/packages/state-graph/dist/domain/index.d.ts +7 -117
- package/packages/state-graph/dist/domain/index.js +1 -1
- package/packages/state-graph/dist/domain/primitives/PrimitiveNodeDefs.d.ts +2 -0
- package/packages/state-graph/dist/domain/primitives/index.d.ts +1 -0
- package/packages/state-graph/dist/domain/types.d.ts +1 -0
- package/packages/state-graph/dist/engine/AudioConcepts.d.ts +23 -0
- package/packages/state-graph/dist/engine/BufferConcepts.d.ts +29 -0
- package/packages/state-graph/dist/engine/GraphConcepts.d.ts +24 -0
- package/packages/state-graph/dist/engine/UIConcepts.d.ts +24 -0
- package/packages/state-graph/dist/engine/core/archetypes/audioArchetypes.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/archetypes/effectArchetypes.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/archetypes/primitiveArchetypes.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/archetypes/routingArchetypes.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/archetypes/triggerModuleArchetypes.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/archetypes/types.d.ts +65 -0
- package/packages/state-graph/dist/engine/core/assets/containerSprites.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/assets/effectSprites.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/assets/primitiveSprites.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/assets/routingSprites.d.ts +2 -0
- package/packages/state-graph/dist/engine/core/assets/types.d.ts +33 -0
- package/packages/state-graph/dist/engine/core/async.d.ts +36 -0
- package/packages/state-graph/dist/engine/core/base.d.ts +31 -0
- package/packages/state-graph/dist/engine/core/cache.d.ts +36 -0
- package/packages/state-graph/dist/engine/core/canonicalIo/CanonicalAudioInputEndpoint.d.ts +28 -0
- package/packages/state-graph/dist/engine/core/canonicalIo/CanonicalMidiInputEndpoint.d.ts +24 -0
- package/packages/state-graph/dist/engine/core/canonicalIo/topLevelIoRegistry.d.ts +29 -0
- package/packages/state-graph/dist/engine/core/canonicalIo/types.d.ts +50 -0
- package/packages/state-graph/dist/engine/core/controlDispatcher.d.ts +31 -0
- package/packages/state-graph/dist/engine/core/env.d.ts +29 -0
- package/packages/state-graph/dist/engine/core/events.d.ts +32 -0
- package/packages/state-graph/dist/engine/core/exposedSocketsManager.d.ts +14 -0
- package/packages/state-graph/dist/engine/core/fs-lock.d.ts +9 -0
- package/packages/state-graph/dist/engine/core/fs.d.ts +35 -0
- package/packages/state-graph/dist/engine/core/graphDataService.d.ts +60 -0
- package/packages/state-graph/dist/engine/core/graphDependencyValidator.d.ts +34 -0
- package/packages/state-graph/dist/engine/core/graphTypeSystem.d.ts +21 -0
- package/packages/state-graph/dist/engine/core/hierarchy/core/GraphEntityParent.d.ts +49 -0
- package/packages/state-graph/dist/engine/core/hierarchy/index.d.ts +11 -0
- package/packages/state-graph/dist/engine/core/hierarchy/magnetic/magneticGraphBridge.d.ts +13 -0
- package/packages/state-graph/dist/engine/core/hierarchy/magnetic/magneticGraphManager.d.ts +32 -0
- package/packages/state-graph/dist/engine/core/hierarchy/nodes/GraphNodeParent.d.ts +68 -0
- package/packages/state-graph/dist/engine/core/hierarchy/nodes/GraphNodeTypes.d.ts +90 -0
- package/packages/state-graph/dist/engine/core/hierarchy/nodes/nodeGeometry.d.ts +27 -0
- package/packages/state-graph/dist/engine/core/hierarchy/sockets/GraphSocketParent.d.ts +40 -0
- package/packages/state-graph/dist/engine/core/hierarchy/sockets/GraphSocketTypes.d.ts +65 -0
- package/packages/state-graph/dist/engine/core/hierarchy/ui/UIElementBase.d.ts +41 -0
- package/packages/state-graph/dist/engine/core/hierarchy/wires/GraphWireParent.d.ts +74 -0
- package/packages/state-graph/dist/engine/core/hierarchy/wires/GraphWireTypes.d.ts +65 -0
- package/packages/state-graph/dist/engine/core/http.d.ts +36 -0
- package/packages/state-graph/dist/engine/core/index.d.ts +16 -0
- package/packages/state-graph/dist/engine/core/l2_drivers/audioBusDriver.d.ts +16 -0
- package/packages/state-graph/dist/engine/core/l2_drivers/audioDeviceDriver.d.ts +15 -0
- package/packages/state-graph/dist/engine/core/l2_drivers/audioStreamDriver.d.ts +6 -0
- package/packages/state-graph/dist/engine/core/nodeArchetypeRegistry.d.ts +6 -0
- package/packages/state-graph/dist/engine/core/nodeAssetRegistry.d.ts +54 -0
- package/packages/state-graph/dist/engine/core/nodeSocketRegistry.d.ts +36 -0
- package/packages/state-graph/dist/engine/core/object.d.ts +32 -0
- package/packages/state-graph/dist/engine/core/shell.d.ts +37 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/containersSockets.d.ts +3 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/createPackagedSocket.d.ts +19 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/customRegistry.d.ts +6 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/landmarksSockets.d.ts +3 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/primitivesSockets.d.ts +3 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/processorsSockets.d.ts +3 -0
- package/packages/state-graph/dist/engine/core/socketRegistry/types.d.ts +7 -0
- package/packages/state-graph/dist/engine/core/sockets/arrangementControlSockets.d.ts +4 -0
- package/packages/state-graph/dist/engine/core/sockets/audioSockets.d.ts +5 -0
- package/packages/state-graph/dist/engine/core/sockets/folderButtonSockets.d.ts +4 -0
- package/packages/state-graph/dist/engine/core/sockets/moduleSockets.d.ts +3 -0
- package/packages/state-graph/dist/engine/core/sockets/playbackSockets.d.ts +4 -0
- package/packages/state-graph/dist/engine/core/sockets/primitiveSockets.d.ts +7 -0
- package/packages/state-graph/dist/engine/core/sockets/routingSockets.d.ts +5 -0
- package/packages/state-graph/dist/engine/core/sockets/samplerSockets.d.ts +4 -0
- package/packages/state-graph/dist/engine/core/sockets/socketUtils.d.ts +25 -0
- package/packages/state-graph/dist/engine/core/sockets/stripSockets.d.ts +4 -0
- package/packages/state-graph/dist/engine/core/string.d.ts +14 -0
- package/packages/state-graph/dist/engine/core/subgraphIoTransform.d.ts +43 -0
- package/packages/state-graph/dist/engine/core/types.d.ts +31 -0
- package/packages/state-graph/dist/engine/core/workspaceGraphRegistry.d.ts +32 -0
- package/packages/state-graph/dist/engine/functions/arrangementFactory.d.ts +5 -0
- package/packages/state-graph/dist/engine/functions/canonicalSignalTable.d.ts +35 -0
- package/packages/state-graph/dist/engine/functions/clientWavEncoder.d.ts +8 -0
- package/packages/state-graph/dist/engine/functions/codeLinter.d.ts +23 -0
- package/packages/state-graph/dist/engine/functions/codeNodeParser/codeNodeParser.d.ts +38 -0
- package/packages/state-graph/dist/engine/functions/codeNodeParser/helpers.d.ts +18 -0
- package/packages/state-graph/dist/engine/functions/codeNodeParser/types.d.ts +26 -0
- package/packages/state-graph/dist/engine/functions/codeNodeParser.d.ts +75 -0
- package/packages/state-graph/dist/engine/functions/componentSocketRegistry.d.ts +13 -0
- package/packages/state-graph/dist/engine/functions/connection/portMatching.d.ts +7 -0
- package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/helpers.d.ts +4 -0
- package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/signalCompatibility.d.ts +3 -0
- package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/types.d.ts +6 -0
- package/packages/state-graph/dist/engine/functions/connection/signalCompatibility.d.ts +7 -0
- package/packages/state-graph/dist/engine/functions/connection/wireValidation.d.ts +11 -0
- package/packages/state-graph/dist/engine/functions/containerClipSync.d.ts +7 -0
- package/packages/state-graph/dist/engine/functions/containerFactory/containerFactory.d.ts +10 -0
- package/packages/state-graph/dist/engine/functions/containerFactory/helpers.d.ts +6 -0
- package/packages/state-graph/dist/engine/functions/containerFactory/types.d.ts +1 -0
- package/packages/state-graph/dist/engine/functions/containerFactory.d.ts +24 -0
- package/packages/state-graph/dist/engine/functions/effectLogic.d.ts +19 -0
- package/packages/state-graph/dist/engine/functions/graphManager/graphManager.d.ts +31 -0
- package/packages/state-graph/dist/engine/functions/graphManager/helpers.d.ts +12 -0
- package/packages/state-graph/dist/engine/functions/graphManager/types.d.ts +25 -0
- package/packages/state-graph/dist/engine/functions/graphManager.d.ts +74 -0
- package/packages/state-graph/dist/engine/functions/midiDeviceRegistry.d.ts +23 -0
- package/packages/state-graph/dist/engine/functions/musicTheory.d.ts +5 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/controlNodes.d.ts +2 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/effectNodes.d.ts +2 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/moduleNodes.d.ts +17 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/nodeFactory.d.ts +8 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/primitiveNodes.d.ts +7 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/routingNodes.d.ts +4 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory/triggerNodes.d.ts +3 -0
- package/packages/state-graph/dist/engine/functions/nodeFactory.d.ts +90 -0
- package/packages/state-graph/dist/engine/functions/nodePerformanceTracker.d.ts +21 -0
- package/packages/state-graph/dist/engine/functions/quantizeLogic.d.ts +5 -0
- package/packages/state-graph/dist/engine/functions/rotaryGeometry.d.ts +6 -0
- package/packages/state-graph/dist/engine/functions/sampleContainerExtractor.d.ts +19 -0
- package/packages/state-graph/dist/engine/functions/signalTable/audioMidiSignals.d.ts +3 -0
- package/packages/state-graph/dist/engine/functions/signalTable/canonicalEffectsTable.d.ts +2 -0
- package/packages/state-graph/dist/engine/functions/signalTable/dataSignals.d.ts +3 -0
- package/packages/state-graph/dist/engine/functions/signalTable/types.d.ts +20 -0
- package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/helpers.d.ts +3 -0
- package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/socketCompatibilitySpawner.d.ts +13 -0
- package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner/types.d.ts +23 -0
- package/packages/state-graph/dist/engine/functions/socketCompatibilitySpawner.d.ts +40 -0
- package/packages/state-graph/dist/engine/functions/spawnNodeFactory.d.ts +2 -0
- package/packages/state-graph/dist/engine/functions/spawningMechanism.d.ts +42 -0
- package/packages/state-graph/dist/engine/functions/triggerLogic.d.ts +15 -0
- package/packages/state-graph/dist/engine/functions/universalConnectionEngine.d.ts +3 -0
- package/packages/state-graph/dist/engine/index.d.ts +49 -0
- package/packages/state-graph/dist/engine/predictive/index.d.ts +3 -0
- package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine/helpers.d.ts +1 -0
- package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine/predictiveGraphEngine.d.ts +6 -0
- package/packages/state-graph/dist/engine/predictive/predictiveGraphEngine.d.ts +2 -0
- package/packages/state-graph/dist/engine/predictive/solidifyExecution.d.ts +13 -0
- package/packages/state-graph/dist/engine/predictive/types.d.ts +41 -0
- package/packages/state-graph/dist/engine/types/audio.d.ts +114 -0
- package/packages/state-graph/dist/engine/types/auth.d.ts +75 -0
- package/packages/state-graph/dist/engine/types/effects.d.ts +100 -0
- package/packages/state-graph/dist/engine/types/hardwareBus.d.ts +72 -0
- package/packages/state-graph/dist/engine/types/index.d.ts +4 -0
- package/packages/state-graph/dist/engine/types/legacyTypes.d.ts +1216 -0
- package/packages/state-graph/dist/engine/types/nodesArrangement.d.ts +62 -0
- package/packages/state-graph/dist/engine/types/nodesAudio.d.ts +85 -0
- package/packages/state-graph/dist/engine/types/nodesControl.d.ts +119 -0
- package/packages/state-graph/dist/engine/types/nodesPlayback.d.ts +110 -0
- package/packages/state-graph/dist/engine/types/nodesPrimitives.d.ts +121 -0
- package/packages/state-graph/dist/engine/types/nodesRouting.d.ts +71 -0
- package/packages/state-graph/dist/engine/types/sceneData.d.ts +58 -0
- package/packages/state-graph/dist/engine/types/sceneState.d.ts +84 -0
- package/packages/state-graph/dist/engine/types/signals.d.ts +112 -0
- package/packages/state-graph/dist/engine/types/storage.d.ts +93 -0
- package/packages/state-graph/dist/engine/types/stripsTypes.d.ts +12 -0
- package/packages/state-graph/dist/event-streams-DRE6QVD6.js +940 -0
- package/packages/state-graph/dist/index.d.ts +34 -3308
- package/packages/state-graph/dist/index.js +26 -26
- package/packages/state-graph/dist/loadSso-M3ZIZDGO.js +586 -0
- package/packages/state-graph/dist/management/GroupSettingsResolver.d.ts +5 -0
- package/packages/state-graph/dist/management/LandmarkManager.d.ts +15 -0
- package/packages/state-graph/dist/management/ViewEngine.d.ts +24 -0
- package/packages/state-graph/dist/management/ViewWindowManager.d.ts +27 -0
- package/packages/state-graph/dist/management/index.d.ts +4 -0
- package/packages/state-graph/dist/multipart-parser-YYFFJ4QD.js +371 -0
- package/packages/state-graph/dist/{CompatibilityMatrix-TiEJ3j3_.d.ts → rules/CompatibilityMatrix.d.ts} +5 -8
- package/packages/state-graph/dist/rules/ConnectionRuleStore.d.ts +52 -0
- package/packages/state-graph/dist/rules/DefaultRules.d.ts +1 -0
- package/packages/state-graph/dist/rules/HandleTypeRegistry.d.ts +14 -0
- package/packages/state-graph/dist/rules/WireTypeRegistry.d.ts +15 -0
- package/packages/state-graph/dist/rules/index.d.ts +5 -86
- package/packages/state-graph/dist/rules/index.js +1 -1
- package/packages/state-graph/dist/signin-YXALFRYB.js +831 -0
- package/packages/state-graph/dist/spatial/AttractionEngine.d.ts +5 -0
- package/packages/state-graph/dist/spatial/AutoSolidify.d.ts +6 -0
- package/packages/state-graph/dist/spatial/SpatialEngine.d.ts +7 -0
- package/packages/state-graph/dist/spatial/TraceEngine.d.ts +15 -0
- package/packages/state-graph/dist/spatial/index.d.ts +8 -103
- package/packages/state-graph/dist/spatial/index.js +1 -1
- package/packages/state-graph/dist/spatial/magneticTypes.d.ts +15 -0
- package/packages/state-graph/dist/spatial/prediction/GhostInferenceEngine.d.ts +8 -0
- package/packages/state-graph/dist/spatial/prediction/GhostLayoutResolver.d.ts +8 -0
- package/packages/state-graph/dist/spatial/prediction/GhostTracePathBuilder.d.ts +8 -0
- package/packages/state-graph/dist/spatial/prediction/index.d.ts +4 -0
- package/packages/state-graph/dist/spatial/prediction/types.d.ts +52 -0
- package/packages/state-graph/dist/spatial/socketCoordinates.d.ts +32 -0
- package/packages/state-graph/dist/spatial/useMagneticTraces.d.ts +14 -0
- package/packages/state-graph/dist/src-2QCYQXYH.js +1396 -0
- package/packages/state-graph/dist/sso-oidc-NXFKRL6O.js +847 -0
- package/packages/state-graph/dist/state/LifecycleGraph.d.ts +19 -0
- package/packages/state-graph/dist/state/SkipoState.d.ts +32 -0
- package/packages/state-graph/dist/state/hooks.d.ts +9 -0
- package/packages/state-graph/dist/state/index.d.ts +6 -107
- package/packages/state-graph/dist/state/index.js +1 -1
- package/packages/state-graph/dist/state/types.d.ts +44 -0
- package/packages/state-graph/dist/store/CommandApi.d.ts +54 -0
- package/packages/state-graph/dist/store/GhostStore.d.ts +21 -0
- package/packages/state-graph/dist/store/GraphStore.d.ts +25 -0
- package/packages/state-graph/dist/store/index.d.ts +3 -159
- package/packages/state-graph/dist/store/index.js +1 -1
- package/packages/state-graph/dist/sts-MICPT37B.js +1253 -0
- package/packages/state-graph/dist/{transformers.node-HWHOAE4H.js → transformers.node-R6VHTGC2.js} +1 -1
- package/packages/state-graph/dist/types.d.ts +80 -0
- package/packages/state-graph/package.json +1 -1
- package/packages/backend/dist/BaseStorageAdapter-EUCSvJse.d.ts +0 -73
- package/packages/backend/dist/WebSocketTransport-CHmkJ0tj.d.ts +0 -362
- package/packages/backend/dist/chunk-KKRWZDMN.js +0 -237
- package/packages/backend/dist/chunk-RBQ4CW3T.js +0 -136
- package/packages/backend/dist/webContainerRuntime-BnHB2bNz.d.ts +0 -103
- package/packages/state-graph/dist/BaseGraph-Bd5F1NMP.d.ts +0 -98
- package/packages/state-graph/dist/BaseNode-DKpGXMy8.d.ts +0 -129
- package/packages/state-graph/dist/types-D5kQSa65.d.ts +0 -150
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { UniversalSocketDefinition, SignalType } from "../types/index.js";
|
|
2
|
+
export interface ExposedVariableDef {
|
|
3
|
+
name: string;
|
|
4
|
+
direction: 'input' | 'output';
|
|
5
|
+
defaultValue?: any;
|
|
6
|
+
inferredType: 'number' | 'string' | 'boolean' | 'object' | 'any';
|
|
7
|
+
signalType: SignalType;
|
|
8
|
+
rawDeclaration: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ExposedFunctionDef {
|
|
11
|
+
name: string;
|
|
12
|
+
params: string[];
|
|
13
|
+
paramCount: number;
|
|
14
|
+
isVoid: boolean;
|
|
15
|
+
rawSignature: string;
|
|
16
|
+
rawBody: string;
|
|
17
|
+
hasInputTrigger: boolean;
|
|
18
|
+
acceptsPrimitiveOrObject: boolean;
|
|
19
|
+
acceptsObjectSignature: boolean;
|
|
20
|
+
inferredReturnType?: 'number' | 'string' | 'boolean' | 'object' | 'void' | 'any';
|
|
21
|
+
returnSignalType?: SignalType;
|
|
22
|
+
}
|
|
23
|
+
export interface CodeNodeParsedIO {
|
|
24
|
+
variables: ExposedVariableDef[];
|
|
25
|
+
functions: ExposedFunctionDef[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Main parser for CodeNode scripts. Detects custom syntax keywords:
|
|
29
|
+
* - Variables: `expose input let/const/var <name> = <val>;`
|
|
30
|
+
* `expose output let/const/var <name> = <val>;`
|
|
31
|
+
* (also supports `expose in`, `expose out`, `port input`, `input let`, etc.)
|
|
32
|
+
* - Functions: `expose function <name>(<params>) { ... }`
|
|
33
|
+
* `expose async function <name>(<params>) { ... }`
|
|
34
|
+
* `expose const <name> = (<params>) => { ... };`
|
|
35
|
+
*/
|
|
36
|
+
export declare function parseCodeNodeIO(code: string): CodeNodeParsedIO;
|
|
37
|
+
/**
|
|
38
|
+
* Transpiles custom syntax keywords into standard JavaScript ready for execution.
|
|
39
|
+
* Replaces keywords while maintaining line and column alignments as closely as possible.
|
|
40
|
+
*/
|
|
41
|
+
export declare function transpileCodeNodeScript(rawCode: string): {
|
|
42
|
+
transpiledCode: string;
|
|
43
|
+
io: CodeNodeParsedIO;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Safely executes CodeNode JavaScript with support for exposed variables and function handles.
|
|
47
|
+
*/
|
|
48
|
+
export declare function executeCodeNodeScript(rawScript: string, options: {
|
|
49
|
+
pulse?: any;
|
|
50
|
+
context?: any;
|
|
51
|
+
inputs?: Record<string, any>;
|
|
52
|
+
targetFunction?: string;
|
|
53
|
+
functionArgs?: any;
|
|
54
|
+
}): {
|
|
55
|
+
success: boolean;
|
|
56
|
+
outputs: Record<string, any>;
|
|
57
|
+
functionResult?: any;
|
|
58
|
+
error?: string | null;
|
|
59
|
+
exposedFunctions?: Record<string, Function>;
|
|
60
|
+
enrichedPulse?: any;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Universal Socket Builder for CodeNode instances.
|
|
64
|
+
* Dynamically builds input handles and output handles for:
|
|
65
|
+
* 1. Standard Trigger Stream In/Out
|
|
66
|
+
* 2. Custom Exposed Input Variables (`var_in_<name>`)
|
|
67
|
+
* 3. Custom Exposed Output Variables (`var_out_<name>`)
|
|
68
|
+
* 4. Custom Exposed Functions (`fn_in_<name>` -> Trigger or Data Primitive/Object In)
|
|
69
|
+
* 5. Custom Exposed Function Returns (`fn_out_<name>` -> Data Out, strictly omitted if void)
|
|
70
|
+
* 6. Data In / Data Out ports
|
|
71
|
+
*/
|
|
72
|
+
export declare function generateCodeNodeSockets(code: string, createPackagedSocket: (opts: any) => UniversalSocketDefinition): {
|
|
73
|
+
inputs: UniversalSocketDefinition[];
|
|
74
|
+
outputs: UniversalSocketDefinition[];
|
|
75
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SpaceNode, ComponentSocketConstraint } from "../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Formal Registry for Component Socket Constraints across the audio node graph.
|
|
4
|
+
* Enforces strict type boundaries (e.g. Audio Sampler STORE IN socket ONLY accepts Audio Containers).
|
|
5
|
+
*/
|
|
6
|
+
export declare function getComponentSocketConstraint(targetNode: SpaceNode, targetPort?: string): ComponentSocketConstraint | null;
|
|
7
|
+
/**
|
|
8
|
+
* Validates whether a source node satisfies a target socket constraint.
|
|
9
|
+
*/
|
|
10
|
+
export declare function validateComponentSocketConnection(fromNode: SpaceNode, constraint: ComponentSocketConstraint): {
|
|
11
|
+
isValid: boolean;
|
|
12
|
+
reason?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpaceNode, UniversalSocketDefinition, SignalType, NodeConnection } from '../../types/legacyTypes';
|
|
2
|
+
export interface SocketPairMatch {
|
|
3
|
+
fromSocket: UniversalSocketDefinition;
|
|
4
|
+
toSocket: UniversalSocketDefinition;
|
|
5
|
+
canonicalSignalType: SignalType;
|
|
6
|
+
}
|
|
7
|
+
export declare function findCompatibleSocketPair(sourceNode: SpaceNode, targetNode: SpaceNode, preferredFromPort?: string, preferredToPort?: string, existingConnections?: NodeConnection[]): SocketPairMatch | null;
|
package/packages/state-graph/dist/engine/functions/connection/signalCompatibility/helpers.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UniversalSocketDefinition } from "../../../types/index.js";
|
|
2
|
+
import { SignalCompatibilityResult } from './types';
|
|
3
|
+
export declare function checkDataTypeMatch(outSocket: UniversalSocketDefinition, inSocket: UniversalSocketDefinition): SignalCompatibilityResult | null;
|
|
4
|
+
export declare function checkAudioCompatibility(outSocket: UniversalSocketDefinition, inSocket: UniversalSocketDefinition): SignalCompatibilityResult | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UniversalSocketDefinition, SignalType } from '../../types/legacyTypes';
|
|
2
|
+
export interface SignalCompatibilityResult {
|
|
3
|
+
isCompatible: boolean;
|
|
4
|
+
canonicalSignalType: SignalType;
|
|
5
|
+
reason?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function areSignalsCompatible(outSocket: UniversalSocketDefinition, inSocket: UniversalSocketDefinition): SignalCompatibilityResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection, UniversalSocketDefinition, SignalType } from '../../types/legacyTypes';
|
|
2
|
+
export interface UniversalConnectionValidationResult {
|
|
3
|
+
isCompatible: boolean;
|
|
4
|
+
sourceSocket?: UniversalSocketDefinition;
|
|
5
|
+
targetSocket?: UniversalSocketDefinition;
|
|
6
|
+
canonicalSignalType: SignalType;
|
|
7
|
+
replacesConnectionId?: string;
|
|
8
|
+
reason?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function validateUniversalConnection(fromNode: SpaceNode, fromSocketOrPort: string | UniversalSocketDefinition | undefined, toNode: SpaceNode, toSocketOrPort: string | UniversalSocketDefinition | undefined, existingConnections?: NodeConnection[]): UniversalConnectionValidationResult;
|
|
11
|
+
export declare function createUniversalWire(fromNode: SpaceNode, fromSocket: UniversalSocketDefinition, toNode: SpaceNode, toSocket: UniversalSocketDefinition, options?: Partial<NodeConnection>): NodeConnection;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ArrangementNode, ContainerNode } from '../types/legacyTypes';
|
|
2
|
+
export declare function syncConnectedContainersToArrangement(arrangement: ArrangementNode, allNodes: any[]): {
|
|
3
|
+
updated: boolean;
|
|
4
|
+
arrangement: ArrangementNode;
|
|
5
|
+
};
|
|
6
|
+
export declare function ingestContainerIntoArrangement(arrangement: ArrangementNode, container: ContainerNode, targetTrackId?: string, targetBeat?: number): ArrangementNode;
|
|
7
|
+
export declare function isSignalCompatibleWithTrack(sourceSig: string, trackSig: string): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContainerNode, createRecorderNode, createPlayerNode, createSamplerNode, createAudioPadsNode } from './helpers';
|
|
2
|
+
export { createContainerNode, createRecorderNode, createPlayerNode, createSamplerNode, createAudioPadsNode, };
|
|
3
|
+
declare const _default: {
|
|
4
|
+
createContainer: typeof createContainerNode;
|
|
5
|
+
createRecorder: typeof createRecorderNode;
|
|
6
|
+
createPlayer: typeof createPlayerNode;
|
|
7
|
+
createSampler: typeof createSamplerNode;
|
|
8
|
+
createAudioPads: typeof createAudioPadsNode;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ContainerNode, ContainerType, RecorderNode, PlayerNode, SamplerNode, AudioPadsNode } from "../../types/index.js";
|
|
2
|
+
export declare function createContainerNode(type: ContainerType, index: number, bpm: number, position?: [number, number, number], audioFormat?: 'mono' | 'stereo'): ContainerNode;
|
|
3
|
+
export declare function createRecorderNode(recorderType: 'audio' | 'audio_mono' | 'audio_stereo' | 'midi' | 'curve', index: number, position?: [number, number, number], recordingMode?: 'standard' | 'retrospective'): RecorderNode;
|
|
4
|
+
export declare function createPlayerNode(playerType: 'audio' | 'audio_mono' | 'audio_stereo' | 'midi' | 'curve', index: number, position?: [number, number, number]): PlayerNode;
|
|
5
|
+
export declare function createSamplerNode(index: number, position?: [number, number, number]): SamplerNode;
|
|
6
|
+
export declare function createAudioPadsNode(index: number, position?: [number, number, number]): AudioPadsNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ContainerNode, ContainerType, RecorderNode, PlayerNode, SamplerNode, AudioPadsNode } from "../../types/index.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ContainerNode, ContainerType, RecorderNode, PlayerNode, SamplerNode, AudioPadsNode } from "../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Utility & Role:
|
|
4
|
+
* Instantiates a high-quality functional ContainerNode representing
|
|
5
|
+
* a MIDI, Audio, or LFO Curve packet storage container with 2 handles (store & retrieve).
|
|
6
|
+
*/
|
|
7
|
+
export declare function createContainerNode(type: ContainerType, index: number, bpm: number, position?: [number, number, number], audioFormat?: 'mono' | 'stereo'): ContainerNode;
|
|
8
|
+
/**
|
|
9
|
+
* Creates a RecorderNode (Converts continuous Stream -> discrete Packet)
|
|
10
|
+
* Supports both Standard (Punch-in / Arm) and Retrospective (Rolling Buffer Flashback) recording
|
|
11
|
+
*/
|
|
12
|
+
export declare function createRecorderNode(recorderType: 'audio' | 'audio_mono' | 'audio_stereo' | 'midi' | 'curve', index: number, position?: [number, number, number], recordingMode?: 'standard' | 'retrospective'): RecorderNode;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a PlayerNode (Converts discrete Packet -> continuous Stream)
|
|
15
|
+
*/
|
|
16
|
+
export declare function createPlayerNode(playerType: 'audio' | 'audio_mono' | 'audio_stereo' | 'midi' | 'curve', index: number, position?: [number, number, number]): PlayerNode;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a dedicated SamplerNode
|
|
19
|
+
*/
|
|
20
|
+
export declare function createSamplerNode(index: number, position?: [number, number, number]): SamplerNode;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a dedicated AudioPadsNode (Multi-Sample Drum & One-Shot Pad Engine)
|
|
23
|
+
*/
|
|
24
|
+
export declare function createAudioPadsNode(index: number, position?: [number, number, number]): AudioPadsNode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection, EffectNode } from "../types/index.js";
|
|
2
|
+
import { getDistanceToWireSegment, isWireAffectedByEffect, getEffectsAffectingWire, getWiresAffectedByEffect, WireSpatialIntersection } from './graphManager';
|
|
3
|
+
export { getDistanceToWireSegment, isWireAffectedByEffect, getEffectsAffectingWire, getWiresAffectedByEffect, };
|
|
4
|
+
export type { WireSpatialIntersection };
|
|
5
|
+
/**
|
|
6
|
+
* Returns all active effects affecting a given wire connection.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getActiveEffectsForWire(conn: NodeConnection, allNodes: SpaceNode[]): EffectNode[];
|
|
9
|
+
/**
|
|
10
|
+
* Finds all active effects affecting any outgoing wire from a given source node.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getActiveEffectsForNodeWires(sourceNodeId: string, connections: NodeConnection[], allNodes: SpaceNode[]): {
|
|
13
|
+
connection: NodeConnection;
|
|
14
|
+
effects: EffectNode[];
|
|
15
|
+
}[];
|
|
16
|
+
/**
|
|
17
|
+
* Helper to get active effects affecting a specific node (backward compatibility adapter mapping to wires)
|
|
18
|
+
*/
|
|
19
|
+
export declare function getActiveEffectsForNode(target: SpaceNode, allNodes: SpaceNode[], connections?: NodeConnection[]): EffectNode[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection, EffectNode, SignalType } from "../../types/index.js";
|
|
2
|
+
import { GraphValidationResult, WireSpatialIntersection } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Determines whether two nodes can connect via a wire and what signal type the wire will carry.
|
|
5
|
+
* Universally evaluates socket definitions, medium, format, and polarity.
|
|
6
|
+
*/
|
|
7
|
+
export declare function evaluateWireSignalCompatibility(fromNode: SpaceNode, toNode: SpaceNode, fromPort?: string, toPort?: string): {
|
|
8
|
+
isCompatible: boolean;
|
|
9
|
+
signalType: SignalType;
|
|
10
|
+
reason?: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Finds all active EffectNodes currently affecting a specific wire connection.
|
|
14
|
+
*/
|
|
15
|
+
export declare function getEffectsAffectingWire(conn: NodeConnection, nodes: SpaceNode[]): EffectNode[];
|
|
16
|
+
/**
|
|
17
|
+
* Finds all wire connections currently enveloped by an EffectNode sphere.
|
|
18
|
+
*/
|
|
19
|
+
export declare function getWiresAffectedByEffect(effect: EffectNode, connections: NodeConnection[], nodes: SpaceNode[]): WireSpatialIntersection[];
|
|
20
|
+
/**
|
|
21
|
+
* Performs deep graph validation.
|
|
22
|
+
*/
|
|
23
|
+
export declare function validateProjectGraph(nodes: SpaceNode[], connections: NodeConnection[]): GraphValidationResult;
|
|
24
|
+
/**
|
|
25
|
+
* Repairs, normalizes, and regenerates a pristine graph representation.
|
|
26
|
+
*/
|
|
27
|
+
export declare function repairAndNormalizeGraph(nodes: SpaceNode[], connections: NodeConnection[]): {
|
|
28
|
+
nodes: SpaceNode[];
|
|
29
|
+
connections: NodeConnection[];
|
|
30
|
+
repairedCount: number;
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection, EffectNode, EffectType, SignalType } from "../../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Calculates Euclidean distance from a 3D effect sphere center to a wire segment.
|
|
4
|
+
* Scaled Y weighting (0.4) allows hovering orbs to comfortably envelop ground-laid conduits.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDistanceToWireSegment(spherePos: [number, number, number], p1: [number, number, number], p2: [number, number, number], controlPoint?: [number, number, number]): {
|
|
7
|
+
distance: number;
|
|
8
|
+
closestPoint: [number, number, number];
|
|
9
|
+
t: number;
|
|
10
|
+
};
|
|
11
|
+
export declare function areSignalTypesCompatibleForEffect(effectSignal: SignalType, wireSignal: SignalType, effectType?: EffectType): boolean;
|
|
12
|
+
export declare function isWireAffectedByEffect(effect: EffectNode, conn: NodeConnection, fromNode: SpaceNode, toNode: SpaceNode): boolean;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection } from "../../types/index.js";
|
|
2
|
+
import { SignalType } from "../canonicalSignalTable.js";
|
|
3
|
+
export interface GraphIssue {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'error' | 'warning';
|
|
6
|
+
message: string;
|
|
7
|
+
sourceId?: string;
|
|
8
|
+
targetId?: string;
|
|
9
|
+
connectionId?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GraphValidationResult {
|
|
12
|
+
isValid: boolean;
|
|
13
|
+
issues: GraphIssue[];
|
|
14
|
+
activeWiresCount: number;
|
|
15
|
+
activeEffectsCount: number;
|
|
16
|
+
affectedWiresCount: number;
|
|
17
|
+
}
|
|
18
|
+
export interface WireSpatialIntersection {
|
|
19
|
+
connection: NodeConnection;
|
|
20
|
+
fromNode: SpaceNode;
|
|
21
|
+
toNode: SpaceNode;
|
|
22
|
+
wireSignalType: SignalType;
|
|
23
|
+
distanceToSphere: number;
|
|
24
|
+
isSignalCompatible: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection, EffectNode, EffectType } from "../types/index.js";
|
|
2
|
+
import { SignalType } from './canonicalSignalTable';
|
|
3
|
+
export interface GraphIssue {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'error' | 'warning';
|
|
6
|
+
message: string;
|
|
7
|
+
sourceId?: string;
|
|
8
|
+
targetId?: string;
|
|
9
|
+
connectionId?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GraphValidationResult {
|
|
12
|
+
isValid: boolean;
|
|
13
|
+
issues: GraphIssue[];
|
|
14
|
+
activeWiresCount: number;
|
|
15
|
+
activeEffectsCount: number;
|
|
16
|
+
affectedWiresCount: number;
|
|
17
|
+
}
|
|
18
|
+
export interface WireSpatialIntersection {
|
|
19
|
+
connection: NodeConnection;
|
|
20
|
+
fromNode: SpaceNode;
|
|
21
|
+
toNode: SpaceNode;
|
|
22
|
+
wireSignalType: SignalType;
|
|
23
|
+
distanceToSphere: number;
|
|
24
|
+
isSignalCompatible: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Calculates Euclidean distance from a 3D effect sphere center to a wire segment.
|
|
28
|
+
* Scaled Y weighting (0.4) allows hovering orbs to comfortably envelop ground-laid conduits.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getDistanceToWireSegment(spherePos: [number, number, number], p1: [number, number, number], p2: [number, number, number], controlPoint?: [number, number, number]): {
|
|
31
|
+
distance: number;
|
|
32
|
+
closestPoint: [number, number, number];
|
|
33
|
+
t: number;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Determines whether two nodes can connect via a wire and what signal type the wire will carry.
|
|
37
|
+
* Universally evaluates socket definitions, medium, format, and polarity.
|
|
38
|
+
*/
|
|
39
|
+
export declare function evaluateWireSignalCompatibility(fromNode: SpaceNode, toNode: SpaceNode, toPort?: string, fromPort?: string, existingConnections?: NodeConnection[]): {
|
|
40
|
+
isCompatible: boolean;
|
|
41
|
+
signalType: SignalType;
|
|
42
|
+
reason?: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Checks if an EffectNode signal type is compatible with a wire connection signal type.
|
|
46
|
+
* Audio effects (audio, audio_mono, audio_stereo) affect any audio wire.
|
|
47
|
+
*/
|
|
48
|
+
export declare function areSignalTypesCompatibleForEffect(effectSignal: SignalType, wireSignal: SignalType, effectType?: EffectType): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Checks if a specific EffectNode sphere encompasses a given wire and shares matching signal type.
|
|
51
|
+
*/
|
|
52
|
+
export declare function isWireAffectedByEffect(effect: EffectNode, conn: NodeConnection, fromNode: SpaceNode, toNode: SpaceNode): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Finds all active EffectNodes currently affecting a specific wire connection,
|
|
55
|
+
* sorted by connection's explicit effectOrder precedence if defined.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getEffectsAffectingWire(conn: NodeConnection, nodes: SpaceNode[]): EffectNode[];
|
|
58
|
+
/**
|
|
59
|
+
* Finds all wire connections currently enveloped by an EffectNode sphere.
|
|
60
|
+
*/
|
|
61
|
+
export declare function getWiresAffectedByEffect(effect: EffectNode, connections: NodeConnection[], nodes: SpaceNode[]): WireSpatialIntersection[];
|
|
62
|
+
/**
|
|
63
|
+
* Performs deep graph validation, verifying node signatures, wire signal matching,
|
|
64
|
+
* dangling references, and effect sphere collisions.
|
|
65
|
+
*/
|
|
66
|
+
export declare function validateProjectGraph(nodes: SpaceNode[], connections: NodeConnection[]): GraphValidationResult;
|
|
67
|
+
/**
|
|
68
|
+
* Graph Generator & Maintainer: Repairs, normalizes, and regenerates a pristine graph representation.
|
|
69
|
+
*/
|
|
70
|
+
export declare function repairAndNormalizeGraph(nodes: SpaceNode[], connections: NodeConnection[]): {
|
|
71
|
+
nodes: SpaceNode[];
|
|
72
|
+
connections: NodeConnection[];
|
|
73
|
+
repairedCount: number;
|
|
74
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MidiInputDevice } from "../types/index.js";
|
|
2
|
+
export interface NamedMidiProfile {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
sourceDeviceId: string;
|
|
6
|
+
channel?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function getCustomMidiNames(): Record<string, string>;
|
|
11
|
+
export declare function saveCustomMidiNames(names: Record<string, string>): void;
|
|
12
|
+
export declare function getCustomMidiName(id: string): string | undefined;
|
|
13
|
+
export declare function setCustomMidiName(id: string, name: string): void;
|
|
14
|
+
export declare function getVirtualMidiDevices(): MidiInputDevice[];
|
|
15
|
+
export declare function saveVirtualMidiDevices(devices: MidiInputDevice[]): void;
|
|
16
|
+
export declare function createVirtualMidiDevice(name: string): MidiInputDevice;
|
|
17
|
+
export declare function deleteVirtualMidiDevice(id: string): void;
|
|
18
|
+
export declare function getNamedMidiProfiles(): NamedMidiProfile[];
|
|
19
|
+
export declare function saveNamedMidiProfiles(profiles: NamedMidiProfile[]): void;
|
|
20
|
+
export declare function addNamedMidiProfile(profile: Omit<NamedMidiProfile, 'id'>): NamedMidiProfile;
|
|
21
|
+
export declare function updateNamedMidiProfile(updated: NamedMidiProfile): void;
|
|
22
|
+
export declare function deleteNamedMidiProfile(id: string): void;
|
|
23
|
+
export declare function getResolvedMidiDevices(physicalDevices: MidiInputDevice[]): MidiInputDevice[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function midiToNoteName(midi: number): string;
|
|
2
|
+
export declare function midiToFreq(midi: number): number;
|
|
3
|
+
export declare function noteNameToMidi(name: string): number;
|
|
4
|
+
export declare const PRESET_SCALES: Record<string, number[]>;
|
|
5
|
+
export declare const COLOR_PALETTES: string[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection, ModuleSocketMapping, ModuleNode } from "../../types/index.js";
|
|
2
|
+
export declare function createModuleNode(index: number, name?: string, position?: [number, number, number], presetTemplate?: {
|
|
3
|
+
name?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
category?: string;
|
|
6
|
+
innerNodes?: SpaceNode[];
|
|
7
|
+
innerConnections?: NodeConnection[];
|
|
8
|
+
exposedInputs?: ModuleSocketMapping[];
|
|
9
|
+
exposedOutputs?: ModuleSocketMapping[];
|
|
10
|
+
color?: string;
|
|
11
|
+
}): ModuleNode;
|
|
12
|
+
export declare function createModuleNodeFromPreset(presetTemplate: any, index: number, position?: [number, number, number]): ModuleNode;
|
|
13
|
+
export declare function consolidateNodesIntoModule(selectedNodeIds: string[], allNodes: SpaceNode[], allConnections: NodeConnection[], moduleName?: string): {
|
|
14
|
+
newModule: ModuleNode;
|
|
15
|
+
remainingNodes: SpaceNode[];
|
|
16
|
+
remainingConnections: NodeConnection[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './triggerNodes';
|
|
2
|
+
export * from './effectNodes';
|
|
3
|
+
export * from './routingNodes';
|
|
4
|
+
export * from './moduleNodes';
|
|
5
|
+
export * from './controlNodes';
|
|
6
|
+
export * from './primitiveNodes';
|
|
7
|
+
export { createContainerNode, createRecorderNode, createPlayerNode, createSamplerNode, createAudioPadsNode } from '../containerFactory';
|
|
8
|
+
export { createArrangementNode } from '../arrangementFactory';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CodeNode, StringNode, NumberNode, BooleanNode, ObjectNode, FolderPathNode, AssetPoolScope } from "../../types/index.js";
|
|
2
|
+
export declare function createCodeNode(index?: number, position?: [number, number, number], name?: string): CodeNode;
|
|
3
|
+
export declare function createStringNode(index?: number, position?: [number, number, number], initialValue?: string, name?: string): StringNode;
|
|
4
|
+
export declare function createNumberNode(index?: number, position?: [number, number, number], initialValue?: number, name?: string): NumberNode;
|
|
5
|
+
export declare function createBooleanNode(index?: number, position?: [number, number, number], initialValue?: boolean, name?: string): BooleanNode;
|
|
6
|
+
export declare function createObjectNode(index?: number, position?: [number, number, number], initialValue?: Record<string, any>, name?: string): ObjectNode;
|
|
7
|
+
export declare function createFolderPathNode(index?: number, position?: [number, number, number], scope?: AssetPoolScope, name?: string): FolderPathNode;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConverterNode, CombinerNode, MultiplexerNode, SignalKind } from "../../types/index.js";
|
|
2
|
+
export declare function createConverterNode(converterType: 'stereo_to_mono' | 'mono_to_stereo', index: number, position?: [number, number, number]): ConverterNode;
|
|
3
|
+
export declare function createCombinerNode(index: number, inputCount?: number, position?: [number, number, number], signalType?: SignalKind): CombinerNode;
|
|
4
|
+
export declare function createMultiplexerNode(index: number, outputCount?: number, position?: [number, number, number], signalType?: SignalKind): MultiplexerNode;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TriggerNode, TriggerType, ButtonNode } from "../../types/index.js";
|
|
2
|
+
export declare function createTriggerNode(index: number, position?: [number, number, number], triggerType?: TriggerType): TriggerNode;
|
|
3
|
+
export declare function createButtonNode(index: number, position?: [number, number, number]): ButtonNode;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { TriggerNode, TriggerType, EffectNode, CombinerNode, MultiplexerNode, EffectType, SignalType, SignalKind, ModuleNode, GroupNode, SubgraphNode, GraphDefinition, ModuleSocketMapping, SpaceNode, NodeConnection, ConverterNode, ControlNode, ButtonNode, CodeNode, StringNode, NumberNode, BooleanNode, ObjectNode, FolderPathNode, AssetPoolScope } from "../types/index.js";
|
|
2
|
+
export { createContainerNode, createRecorderNode, createPlayerNode, createSamplerNode, createAudioPadsNode, } from './containerFactory';
|
|
3
|
+
/**
|
|
4
|
+
* Utility & Role:
|
|
5
|
+
* Instantiates hardware signal route nodes, trigger emitters, effect spatial boundaries,
|
|
6
|
+
* signal fusion combiners, and signal split multiplexers.
|
|
7
|
+
*
|
|
8
|
+
* Usage Example:
|
|
9
|
+
* const audioInput = createAudioInputNode(1);
|
|
10
|
+
* const clockTrigger = createTriggerNode(2);
|
|
11
|
+
*
|
|
12
|
+
* ASCII Flow Chart:
|
|
13
|
+
* [Requested Node Type]
|
|
14
|
+
* │
|
|
15
|
+
* ├─► 'trigger' ──────► [TriggerNode] (function name: Clock Trigger)
|
|
16
|
+
* ├─► 'effect' ───────► [EffectNode] (function name: Delay/Repeater Effect)
|
|
17
|
+
* ├─► 'combiner' ─────► [CombinerNode] (function name: Combiner)
|
|
18
|
+
* └─► 'multiplexer' ──► [MultiplexerNode] (function name: Multiplexer)
|
|
19
|
+
*/
|
|
20
|
+
export declare function createConverterNode(converterType: 'stereo_to_mono' | 'mono_to_stereo', index: number, position?: [number, number, number]): ConverterNode;
|
|
21
|
+
export declare function createTriggerNode(index: number, position?: [number, number, number], triggerType?: TriggerType): TriggerNode;
|
|
22
|
+
export declare function createButtonNode(index: number, position?: [number, number, number]): ButtonNode;
|
|
23
|
+
export declare function createEffectNode(type: EffectType, index: number, position?: [number, number, number], signalType?: SignalType): EffectNode;
|
|
24
|
+
export declare function createCombinerNode(index: number, inputCount?: number, position?: [number, number, number], signalType?: SignalKind): CombinerNode;
|
|
25
|
+
export declare function createMultiplexerNode(index: number, outputCount?: number, position?: [number, number, number], signalType?: SignalKind): MultiplexerNode;
|
|
26
|
+
export declare function createModuleNode(index: number, name?: string, position?: [number, number, number], presetTemplate?: {
|
|
27
|
+
name?: string;
|
|
28
|
+
description?: string;
|
|
29
|
+
category?: string;
|
|
30
|
+
innerNodes?: SpaceNode[];
|
|
31
|
+
innerConnections?: NodeConnection[];
|
|
32
|
+
exposedInputs?: ModuleSocketMapping[];
|
|
33
|
+
exposedOutputs?: ModuleSocketMapping[];
|
|
34
|
+
color?: string;
|
|
35
|
+
}): ModuleNode;
|
|
36
|
+
export declare function createModuleNodeFromPreset(presetTemplate: any, index: number, position?: [number, number, number]): ModuleNode;
|
|
37
|
+
export declare function createGroupNode(index: number, groupName?: string, position?: [number, number, number], innerNodes?: SpaceNode[], innerConnections?: NodeConnection[]): GroupNode;
|
|
38
|
+
/**
|
|
39
|
+
* Reclassified collapsed-node mechanism:
|
|
40
|
+
* Consolidates a selection of nodes & internal wires into a new GroupNode.
|
|
41
|
+
* GroupNode = collapsed UI/container representation of an existing collection of graph nodes,
|
|
42
|
+
* preserves internal node group, NOT a reusable graph invocation.
|
|
43
|
+
*/
|
|
44
|
+
export declare function consolidateNodesIntoGroup(selectedNodeIds: string[], allNodes: SpaceNode[], allConnections: NodeConnection[], groupName?: string): {
|
|
45
|
+
newGroup: GroupNode;
|
|
46
|
+
remainingNodes: SpaceNode[];
|
|
47
|
+
remainingConnections: NodeConnection[];
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Consolidates a selection of nodes & internal wires into a new ModuleNode/GroupNode,
|
|
51
|
+
* auto-detecting boundaries to create exposed inputs and outputs.
|
|
52
|
+
* Preserved for backwards compatibility with GroupNode reclassification.
|
|
53
|
+
*/
|
|
54
|
+
export declare function consolidateNodesIntoModule(selectedNodeIds: string[], allNodes: SpaceNode[], allConnections: NodeConnection[], moduleName?: string): {
|
|
55
|
+
newModule: ModuleNode;
|
|
56
|
+
remainingNodes: SpaceNode[];
|
|
57
|
+
remainingConnections: NodeConnection[];
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Instantiates a reusable SubgraphNode from a GraphDefinition.
|
|
61
|
+
* Dynamically derives exposed logical Stream handles from the invoked graph's physical I/O.
|
|
62
|
+
*/
|
|
63
|
+
export declare function createSubgraphNode(graphDef: GraphDefinition, position?: [number, number, number]): SubgraphNode;
|
|
64
|
+
export declare function createControlNode(index: number, position?: [number, number, number], name?: string): ControlNode;
|
|
65
|
+
/**
|
|
66
|
+
* Factory for Code Nodes (Trigger Stream Processor with Custom Code Payload)
|
|
67
|
+
*/
|
|
68
|
+
export declare function createCodeNode(index?: number, position?: [number, number, number], name?: string): CodeNode;
|
|
69
|
+
/**
|
|
70
|
+
* Factory for String Primitive Nodes
|
|
71
|
+
*/
|
|
72
|
+
export declare function createStringNode(index?: number, position?: [number, number, number], initialValue?: string, name?: string): StringNode;
|
|
73
|
+
/**
|
|
74
|
+
* Factory for Number Primitive Nodes
|
|
75
|
+
*/
|
|
76
|
+
export declare function createNumberNode(index?: number, position?: [number, number, number], initialValue?: number, name?: string): NumberNode;
|
|
77
|
+
/**
|
|
78
|
+
* Factory for Boolean Primitive Nodes
|
|
79
|
+
*/
|
|
80
|
+
export declare function createBooleanNode(index?: number, position?: [number, number, number], initialValue?: boolean, name?: string): BooleanNode;
|
|
81
|
+
/**
|
|
82
|
+
* Factory for Object / JSON Primitive Nodes
|
|
83
|
+
*/
|
|
84
|
+
export declare function createObjectNode(index?: number, position?: [number, number, number], initialValue?: Record<string, any>, name?: string): ObjectNode;
|
|
85
|
+
/**
|
|
86
|
+
* Factory for Dedicated Folder Path Access Nodes
|
|
87
|
+
* Gets user defined folders as a list and outputs them as a structured object
|
|
88
|
+
*/
|
|
89
|
+
export declare function createFolderPathNode(index?: number, position?: [number, number, number], scope?: AssetPoolScope, name?: string): FolderPathNode;
|
|
90
|
+
export { createArrangementNode } from './arrangementFactory';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SpaceNode, NodeConnection } from "../types/index.js";
|
|
2
|
+
export declare function configureNodePerformanceTracker(engines: {
|
|
3
|
+
synthEngine?: any;
|
|
4
|
+
sequencerEngine?: any;
|
|
5
|
+
midiManager?: any;
|
|
6
|
+
oscManager?: any;
|
|
7
|
+
audioClipEngine?: any;
|
|
8
|
+
}): void;
|
|
9
|
+
export interface NodePerformanceData {
|
|
10
|
+
nodeId: string;
|
|
11
|
+
loadPercentage: number;
|
|
12
|
+
isMaxNode: boolean;
|
|
13
|
+
voiceCount: number;
|
|
14
|
+
dspStatus: 'IDLE' | 'ACTIVE' | 'HIGH' | 'PEAK' | 'OFFLINE';
|
|
15
|
+
detailLabel: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function calculateNodePerformance(nodes: SpaceNode[], connections: NodeConnection[], isPlaying: boolean, bpm: number): {
|
|
18
|
+
metrics: Map<string, NodePerformanceData>;
|
|
19
|
+
maxNodeId: string | null;
|
|
20
|
+
totalDspload: number;
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { QuantizeDivision } from "../types/index.js";
|
|
2
|
+
export declare function getDivisionBeatLength(division: QuantizeDivision): number;
|
|
3
|
+
export declare function calculateNextQuantizeBeat(currentBeat: number, division: QuantizeDivision, beatsPerBar?: number): number;
|
|
4
|
+
export declare function formatBeatToBarBeat(beat: number, beatsPerBar?: number): string;
|
|
5
|
+
export declare function formatQuantizeDivisionLabel(division: QuantizeDivision): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface PolarCoordinate {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}
|
|
5
|
+
export declare function polarToCartesian(centerX: number, centerY: number, rad: number, angleInDegrees: number): PolarCoordinate;
|
|
6
|
+
export declare function describeSvgArc(x: number, y: number, rad: number, startAng: number, endAng: number): string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContainerNode, NodeConnection, SpaceNode, AudioTrackData, SamplePresetType } from "../types/index.js";
|
|
2
|
+
export interface ExtractedSampleItem {
|
|
3
|
+
id: string;
|
|
4
|
+
clipId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
containerId: string;
|
|
7
|
+
containerName: string;
|
|
8
|
+
audioFormat: 'mono' | 'stereo';
|
|
9
|
+
sampleType: SamplePresetType;
|
|
10
|
+
customAudioUrl?: string;
|
|
11
|
+
waveformData?: number[];
|
|
12
|
+
audioTrack: AudioTrackData;
|
|
13
|
+
}
|
|
14
|
+
export declare const GM_DRUM_NOTES: number[];
|
|
15
|
+
export declare function getDefaultPadMidiNote(index: number): number;
|
|
16
|
+
export declare function extractSamplesFromConnectedContainers(targetNodeId: string, connections?: NodeConnection[], allNodes?: SpaceNode[]): {
|
|
17
|
+
samples: ExtractedSampleItem[];
|
|
18
|
+
connectedContainers: ContainerNode[];
|
|
19
|
+
};
|