@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
|
@@ -1,1655 +1,27 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
import 'react';
|
|
29
|
-
|
|
30
|
-
interface QueryFilter {
|
|
31
|
-
field: string;
|
|
32
|
-
operator: 'eq' | 'neq' | 'gt' | 'lt' | 'in';
|
|
33
|
-
value: any;
|
|
34
|
-
}
|
|
35
|
-
interface SortOrder {
|
|
36
|
-
field: string;
|
|
37
|
-
direction: 'asc' | 'desc';
|
|
38
|
-
}
|
|
39
|
-
interface IDataProvider<T> {
|
|
40
|
-
query(filters?: QueryFilter[], sort?: SortOrder[], limit?: number): Promise<T[]>;
|
|
41
|
-
getById(id: string): Promise<T | null>;
|
|
42
|
-
insert(item: T): Promise<T>;
|
|
43
|
-
update(id: string, item: Partial<T>): Promise<T>;
|
|
44
|
-
delete(id: string): Promise<boolean>;
|
|
45
|
-
upsert(item: T): Promise<T>;
|
|
46
|
-
count(filters?: QueryFilter[]): Promise<number>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
declare abstract class BaseDataProvider<T> extends SkipoBase implements IDataProvider<T> {
|
|
50
|
-
abstract query(filters?: QueryFilter[], sort?: SortOrder[], limit?: number): Promise<T[]>;
|
|
51
|
-
abstract getById(id: string): Promise<T | null>;
|
|
52
|
-
abstract insert(item: T): Promise<T>;
|
|
53
|
-
abstract update(id: string, item: Partial<T>): Promise<T>;
|
|
54
|
-
abstract delete(id: string): Promise<boolean>;
|
|
55
|
-
abstract upsert(item: T): Promise<T>;
|
|
56
|
-
abstract count(filters?: QueryFilter[]): Promise<number>;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare class FunctionalityTable<T extends {
|
|
60
|
-
id: string;
|
|
61
|
-
}> extends BaseDataProvider<T> {
|
|
62
|
-
private data;
|
|
63
|
-
query(filters?: QueryFilter[], _sort?: SortOrder[], limit?: number): Promise<T[]>;
|
|
64
|
-
getById(id: string): Promise<T | null>;
|
|
65
|
-
insert(item: T): Promise<T>;
|
|
66
|
-
update(id: string, item: Partial<T>): Promise<T>;
|
|
67
|
-
delete(id: string): Promise<boolean>;
|
|
68
|
-
upsert(item: T): Promise<T>;
|
|
69
|
-
count(filters?: QueryFilter[]): Promise<number>;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @file LuthDiscoveryService.ts
|
|
74
|
-
* @description Universal Luth Auth Service Discovery with multi-deployment fallback and round-robin.
|
|
75
|
-
* Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
|
|
76
|
-
*/
|
|
77
|
-
declare function getRegisteredLuthDeploymentUrls(queryDb?: (sql: string, params?: unknown[]) => Promise<{
|
|
78
|
-
rows: any[];
|
|
79
|
-
}>): Promise<string[]>;
|
|
80
|
-
declare function getPrimaryLuthDeploymentUrl(queryDb?: (sql: string, params?: unknown[]) => Promise<{
|
|
81
|
-
rows: any[];
|
|
82
|
-
}>): Promise<string>;
|
|
83
|
-
declare function getNextLuthDeploymentUrl(queryDb?: (sql: string, params?: unknown[]) => Promise<{
|
|
84
|
-
rows: any[];
|
|
85
|
-
}>): Promise<string>;
|
|
86
|
-
declare function clearLuthDiscoveryCache(): void;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @file types.ts
|
|
90
|
-
* @description Formal TypeScript types and contracts for APP_ARCHITECTURE_SPEC.
|
|
91
|
-
* Conforms strictly to Inviolable Law L7 and < 200 lines limit.
|
|
92
|
-
*/
|
|
93
|
-
type Runtime = 'client' | 'server';
|
|
94
|
-
type Deployment = 'local' | 'remote';
|
|
95
|
-
type FunctionSet = Record<string, (...args: any[]) => any>;
|
|
96
|
-
interface ServiceFacade<T extends FunctionSet = FunctionSet> {
|
|
97
|
-
runtime: Runtime;
|
|
98
|
-
deployment: Deployment;
|
|
99
|
-
service: T;
|
|
100
|
-
}
|
|
101
|
-
type OrchestrationFn = (...args: any[]) => Promise<any> | any;
|
|
102
|
-
interface BackendFacade<TServices extends Record<string, any> = Record<string, any>, TOrchestrations extends Record<string, OrchestrationFn> = Record<string, OrchestrationFn>> {
|
|
103
|
-
services: TServices;
|
|
104
|
-
orchestrations: TOrchestrations;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Validates that a ServiceDefinition satisfies the mathematical invariants:
|
|
108
|
-
* 1. deployment == "remote" => runtime == "server"
|
|
109
|
-
* 2. runtime == "client" => deployment == "local"
|
|
110
|
-
*/
|
|
111
|
-
declare function validateServiceDefinition(def: {
|
|
112
|
-
name?: string;
|
|
113
|
-
runtime: Runtime;
|
|
114
|
-
deployment: Deployment;
|
|
115
|
-
}): {
|
|
116
|
-
valid: boolean;
|
|
117
|
-
error?: string;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Registry interface for service records in Gateway
|
|
121
|
-
*/
|
|
122
|
-
interface ServiceRegistryRecord {
|
|
123
|
-
id: string;
|
|
124
|
-
name: string;
|
|
125
|
-
version: string;
|
|
126
|
-
runtime: Runtime;
|
|
127
|
-
deployment: Deployment;
|
|
128
|
-
endpoint?: string;
|
|
129
|
-
protocol?: 'http' | 'ws' | 'in-process';
|
|
130
|
-
health?: 'healthy' | 'degraded' | 'unhealthy';
|
|
131
|
-
metadata?: Record<string, unknown>;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @file b2DirectCore.ts
|
|
136
|
-
* @description Direct REST API Client for Backblaze B2 Object Storage in Qwnsr.
|
|
137
|
-
* Zero-dependency, pure web-standard fetch. Runs on Node, Vercel, and Cloudflare Workers.
|
|
138
|
-
*/
|
|
139
|
-
interface B2AuthData {
|
|
140
|
-
accountId: string;
|
|
141
|
-
authorizationToken: string;
|
|
142
|
-
apiUrl: string;
|
|
143
|
-
downloadUrl: string;
|
|
144
|
-
s3ApiUrl?: string;
|
|
145
|
-
allowed?: {
|
|
146
|
-
bucketId?: string | null;
|
|
147
|
-
bucketName?: string | null;
|
|
148
|
-
buckets?: Array<{
|
|
149
|
-
bucketId: string;
|
|
150
|
-
bucketName: string;
|
|
151
|
-
}>;
|
|
152
|
-
capabilities?: string[];
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
declare function getB2BucketId(keyId: string, applicationKey: string, bucketName: string): Promise<string>;
|
|
156
|
-
declare function b2DeleteFileVersion(keyId: string, applicationKey: string, fileName: string, fileId: string): Promise<any>;
|
|
157
|
-
declare function b2DeleteFolder(keyId: string, applicationKey: string, bucketName: string, folderPrefix: string): Promise<{
|
|
158
|
-
success: boolean;
|
|
159
|
-
deletedCount: number;
|
|
160
|
-
}>;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @file unifiedDb.ts
|
|
164
|
-
* @description Isomorphic Database Client using Neon Serverless HTTP driver for Qwnsr.
|
|
165
|
-
* Operates identically across Node.js, Vercel Serverless, and Cloudflare Workers.
|
|
166
|
-
*/
|
|
167
|
-
interface UnifiedQueryResult<T = any> {
|
|
168
|
-
rows: T[];
|
|
169
|
-
rowCount: number;
|
|
170
|
-
}
|
|
171
|
-
declare function cleanDbUrl(url?: unknown): string;
|
|
172
|
-
declare function getUnifiedDbUrl(env?: Record<string, unknown>): string;
|
|
173
|
-
declare function queryUnifiedDb<T = any>(sqlText: string, params?: any[], env?: Record<string, unknown>): Promise<UnifiedQueryResult<T>>;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @file workspaceSyncEngine.ts
|
|
177
|
-
* @description Bidirectional Timestamp-Aware Workspace Synchronization Engine for Qwnsr.
|
|
178
|
-
* Synchronizes the active Local-Working Workspace (default: ./workspace)
|
|
179
|
-
* with the primary Persistence Target (Remote Backblaze B2 Bucket or Local Non-Working Workspace).
|
|
180
|
-
* Enforces ULTRST canonical naming: ultrst_qwnsr_<username>_<workspacename>
|
|
181
|
-
*/
|
|
182
|
-
interface WorkingWorkspaceConfig {
|
|
183
|
-
workingDirectory: string;
|
|
184
|
-
autoSyncIntervalMinutes: number;
|
|
185
|
-
}
|
|
186
|
-
declare function getDefaultWorkingWorkspaceDir(): string;
|
|
187
|
-
declare function getWorkingWorkspaceConfig(): WorkingWorkspaceConfig;
|
|
188
|
-
declare function setWorkingWorkspaceConfig(cfg: Partial<WorkingWorkspaceConfig>): WorkingWorkspaceConfig;
|
|
189
|
-
declare function getWorkingWorkspaceDir(workspaceId?: string): string;
|
|
190
|
-
declare function findWorkspaceRecord(workspaceId: string): Promise<{
|
|
191
|
-
user: any;
|
|
192
|
-
workspace: any;
|
|
193
|
-
connection: any;
|
|
194
|
-
} | null>;
|
|
195
|
-
declare function getWorkspaceFolderKey(workspace: any, user?: any): string;
|
|
196
|
-
interface SyncFileResult {
|
|
197
|
-
fileName: string;
|
|
198
|
-
action: 'DOWNLOADED' | 'UPLOADED' | 'UP_TO_DATE' | 'SKIPPED';
|
|
199
|
-
sizeBytes?: number;
|
|
200
|
-
}
|
|
201
|
-
interface WorkspaceSyncSummary {
|
|
202
|
-
success: boolean;
|
|
203
|
-
workspaceId: string;
|
|
204
|
-
folderKey: string;
|
|
205
|
-
workingDir: string;
|
|
206
|
-
persistenceType: 'backblaze_b2' | 'local_fs' | 'google_drive';
|
|
207
|
-
targetLocation: string;
|
|
208
|
-
syncedFiles: SyncFileResult[];
|
|
209
|
-
uploadedCount: number;
|
|
210
|
-
downloadedCount: number;
|
|
211
|
-
syncedAt: string;
|
|
212
|
-
error?: string;
|
|
213
|
-
}
|
|
214
|
-
declare function syncWorkspace(workspaceId: string): Promise<WorkspaceSyncSummary>;
|
|
215
|
-
|
|
216
|
-
interface SrklB2Account {
|
|
217
|
-
id: string;
|
|
218
|
-
name: string;
|
|
219
|
-
keyId: string;
|
|
220
|
-
applicationKey: string;
|
|
221
|
-
endpoint: string;
|
|
222
|
-
region: string;
|
|
223
|
-
bucketName?: string;
|
|
224
|
-
}
|
|
225
|
-
interface WorkspaceStorageConfig {
|
|
226
|
-
type: 'b2';
|
|
227
|
-
accountId: string;
|
|
228
|
-
keyId: string;
|
|
229
|
-
endpoint: string;
|
|
230
|
-
region: string;
|
|
231
|
-
bucketName: string;
|
|
232
|
-
prefix?: string;
|
|
233
|
-
connectedAt: string;
|
|
234
|
-
}
|
|
235
|
-
declare class SrklStorageService {
|
|
236
|
-
private srklBaseUrl;
|
|
237
|
-
constructor(srklBaseUrl?: string);
|
|
238
|
-
private isExternalSrklUrl;
|
|
239
|
-
private isSimulated;
|
|
240
|
-
getB2Accounts(): Promise<SrklB2Account[]>;
|
|
241
|
-
getB2AccountById(accountId: string): Promise<SrklB2Account>;
|
|
242
|
-
private createB2Client;
|
|
243
|
-
listBuckets(accountId: string): Promise<string[]>;
|
|
244
|
-
verifyBucketAccess(accountId: string, bucketName: string): Promise<boolean>;
|
|
245
|
-
attachBucketToWorkspace(wsId: string, accId: string, bucket: string, prefix?: string): Promise<WorkspaceStorageConfig>;
|
|
246
|
-
private persistWorkspaceConfig;
|
|
247
|
-
private loadFallbackAccounts;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* @file srklCore.ts
|
|
252
|
-
* @description Universal SRKL Ecosystem Service for Qwnsr.
|
|
253
|
-
* Governs primary SRKL node lookup, account discovery via Unified DB & SRKL API, and B2 bucket access.
|
|
254
|
-
*/
|
|
255
|
-
declare function getPrimarySrklDeploymentUrl(env?: Record<string, unknown>): Promise<string>;
|
|
256
|
-
declare function getSrklAccounts(userId?: string, service?: string, env?: Record<string, unknown>): Promise<{
|
|
257
|
-
success: boolean;
|
|
258
|
-
deploymentUrl: string;
|
|
259
|
-
userId?: string;
|
|
260
|
-
count: number;
|
|
261
|
-
accounts: any[];
|
|
262
|
-
error?: string;
|
|
263
|
-
}>;
|
|
264
|
-
declare function listBackblazeBuckets(payload: any, rawUserId?: string, env?: Record<string, unknown>): Promise<{
|
|
265
|
-
success: boolean;
|
|
266
|
-
buckets?: any[];
|
|
267
|
-
error?: string;
|
|
268
|
-
}>;
|
|
269
|
-
declare const srklListBackblazeBuckets: (keyId?: string, applicationKey?: string, bucketId?: string, bucketName?: string, userId?: string, accountId?: string) => Promise<{
|
|
270
|
-
success: boolean;
|
|
271
|
-
buckets?: any[];
|
|
272
|
-
error?: string;
|
|
273
|
-
}>;
|
|
274
|
-
declare function getSrklStatus(env?: Record<string, unknown>): Promise<{
|
|
275
|
-
success: boolean;
|
|
276
|
-
deploymentUrl: string;
|
|
277
|
-
online: boolean;
|
|
278
|
-
latencyMs: number;
|
|
279
|
-
details: any;
|
|
280
|
-
status?: undefined;
|
|
281
|
-
error?: undefined;
|
|
282
|
-
} | {
|
|
283
|
-
success: boolean;
|
|
284
|
-
deploymentUrl: string;
|
|
285
|
-
online: boolean;
|
|
286
|
-
status: number;
|
|
287
|
-
latencyMs: number;
|
|
288
|
-
details?: undefined;
|
|
289
|
-
error?: undefined;
|
|
290
|
-
} | {
|
|
291
|
-
success: boolean;
|
|
292
|
-
deploymentUrl: string;
|
|
293
|
-
online: boolean;
|
|
294
|
-
error: any;
|
|
295
|
-
latencyMs: number;
|
|
296
|
-
details?: undefined;
|
|
297
|
-
status?: undefined;
|
|
298
|
-
}>;
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @file credentialVaultCore.ts
|
|
302
|
-
* @description Universal Workspace-Scoped Credential Vault.
|
|
303
|
-
* AES-256-GCM + PBKDF2 Web Crypto, non-sensitive manifest.json + encrypted secrets/*.bin (< 200 lines).
|
|
304
|
-
*/
|
|
305
|
-
interface CredentialEntry {
|
|
306
|
-
id: string;
|
|
307
|
-
name: string;
|
|
308
|
-
type: string;
|
|
309
|
-
createdAt: string;
|
|
310
|
-
updatedAt: string;
|
|
311
|
-
metadata?: Record<string, unknown>;
|
|
312
|
-
}
|
|
313
|
-
interface CredentialManifest {
|
|
314
|
-
version: 1;
|
|
315
|
-
entries: CredentialEntry[];
|
|
316
|
-
}
|
|
317
|
-
declare function encryptSecretToBlob(plaintext: string | object, vaultKey: string): Promise<Uint8Array>;
|
|
318
|
-
declare function decryptSecretFromBlob(blob: Uint8Array, vaultKey: string): Promise<any>;
|
|
319
|
-
declare function loadCredentialManifest(workspace: any, connection: any): Promise<CredentialManifest>;
|
|
320
|
-
declare function saveCredentialManifest(workspace: any, connection: any, manifest: CredentialManifest): Promise<void>;
|
|
321
|
-
declare function listCredentials(workspace: any, connection: any): Promise<CredentialEntry[]>;
|
|
322
|
-
declare function getCredential(workspace: any, connection: any, id: string, vaultKey: string): Promise<any>;
|
|
323
|
-
declare function createCredential(workspace: any, connection: any, payload: {
|
|
324
|
-
id?: string;
|
|
325
|
-
name: string;
|
|
326
|
-
type: string;
|
|
327
|
-
secret: any;
|
|
328
|
-
metadata?: Record<string, unknown>;
|
|
329
|
-
}, vaultKey: string): Promise<CredentialEntry>;
|
|
330
|
-
declare function updateCredential(workspace: any, connection: any, id: string, payload: {
|
|
331
|
-
name?: string;
|
|
332
|
-
type?: string;
|
|
333
|
-
secret?: any;
|
|
334
|
-
metadata?: Record<string, unknown>;
|
|
335
|
-
}, vaultKey: string): Promise<CredentialEntry>;
|
|
336
|
-
declare function deleteCredential(workspace: any, connection: any, id: string): Promise<boolean>;
|
|
337
|
-
declare function exportEncryptedCredentials(workspace: any, connection: any, ids: string[], exportKey: string, vaultKey: string): Promise<{
|
|
338
|
-
exportVersion: 1;
|
|
339
|
-
timestamp: string;
|
|
340
|
-
package: string;
|
|
341
|
-
}>;
|
|
342
|
-
declare function importEncryptedCredentials(workspace: any, connection: any, packageB64: string, exportKey: string, vaultKey: string): Promise<CredentialEntry[]>;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @file publicRoutesStore.ts
|
|
346
|
-
* @description In-memory store and interface for DEPM public routes.
|
|
347
|
-
* Pure Web-standard, zero Node/Express dependencies (< 100 lines).
|
|
348
|
-
*/
|
|
349
|
-
interface PublicRouteRecord {
|
|
350
|
-
id: string;
|
|
351
|
-
path: string;
|
|
352
|
-
name?: string;
|
|
353
|
-
status: 'PUBLISHED' | 'DRAFT' | 'PAUSED';
|
|
354
|
-
public: boolean;
|
|
355
|
-
endpoint: string;
|
|
356
|
-
deployments: Array<{
|
|
357
|
-
id: string;
|
|
358
|
-
name: string;
|
|
359
|
-
url: string;
|
|
360
|
-
provider?: string;
|
|
361
|
-
weight: number;
|
|
362
|
-
healthy: boolean;
|
|
363
|
-
priority?: number;
|
|
364
|
-
region?: string;
|
|
365
|
-
}>;
|
|
366
|
-
load_balancing_config: {
|
|
367
|
-
strategy: 'MAX_WEIGHT' | 'WEIGHTED' | 'ROUND_ROBIN' | 'RANDOM' | 'FAILOVER_PRIORITY';
|
|
368
|
-
healthCheckRequired?: boolean;
|
|
369
|
-
autoRedirectDelayMs?: number;
|
|
370
|
-
preserveQueryParams?: boolean;
|
|
371
|
-
preservePathSuffix?: boolean;
|
|
372
|
-
fallbackUrl?: string;
|
|
373
|
-
};
|
|
374
|
-
createdAt: string;
|
|
375
|
-
updatedAt: string;
|
|
376
|
-
stats?: {
|
|
377
|
-
requests: number;
|
|
378
|
-
lastRoutedAt?: string;
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
declare let serverPublicRoutes: PublicRouteRecord[];
|
|
382
|
-
declare function setServerPublicRoutes(routes: PublicRouteRecord[]): void;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* @file routesCore.ts
|
|
386
|
-
* @description Universal Gateway & Routing Service for DEPM.
|
|
387
|
-
* Governs public routes resolution, dynamic database hydration, and load-balancing ingress.
|
|
388
|
-
* Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
|
|
389
|
-
*/
|
|
390
|
-
|
|
391
|
-
declare function getPublicRoutes(): {
|
|
392
|
-
success: boolean;
|
|
393
|
-
count: number;
|
|
394
|
-
routes: PublicRouteRecord[];
|
|
395
|
-
};
|
|
396
|
-
declare function getPublicRouteByPath(rawPath: string, env?: Record<string, unknown>): Promise<{
|
|
397
|
-
success: boolean;
|
|
398
|
-
error: string;
|
|
399
|
-
status: number;
|
|
400
|
-
route?: undefined;
|
|
401
|
-
} | {
|
|
402
|
-
success: boolean;
|
|
403
|
-
route: PublicRouteRecord;
|
|
404
|
-
status: number;
|
|
405
|
-
error?: undefined;
|
|
406
|
-
}>;
|
|
407
|
-
declare function getAllRoutes(): {
|
|
408
|
-
success: boolean;
|
|
409
|
-
count: number;
|
|
410
|
-
routes: PublicRouteRecord[];
|
|
411
|
-
};
|
|
412
|
-
declare function deleteRoute(id: string): {
|
|
413
|
-
success: boolean;
|
|
414
|
-
count: number;
|
|
415
|
-
};
|
|
416
|
-
declare function upsertRoute(rawRouteData: any): {
|
|
417
|
-
success: boolean;
|
|
418
|
-
error: string;
|
|
419
|
-
status: number;
|
|
420
|
-
route?: undefined;
|
|
421
|
-
} | {
|
|
422
|
-
success: boolean;
|
|
423
|
-
route: PublicRouteRecord;
|
|
424
|
-
status: number;
|
|
425
|
-
error?: undefined;
|
|
426
|
-
};
|
|
427
|
-
declare function getGatewayConfig(env?: Record<string, unknown>): {
|
|
428
|
-
success: boolean;
|
|
429
|
-
domain: string;
|
|
430
|
-
gatewayDomain: string;
|
|
431
|
-
isConfigured: boolean;
|
|
432
|
-
mode: string;
|
|
433
|
-
registeredRoutesCount: number;
|
|
434
|
-
activeRoutes: {
|
|
435
|
-
id: string;
|
|
436
|
-
path: string;
|
|
437
|
-
deploymentsCount: number;
|
|
438
|
-
}[];
|
|
439
|
-
};
|
|
440
|
-
declare function getExecutions(appId: string): {
|
|
441
|
-
success: boolean;
|
|
442
|
-
appId: string;
|
|
443
|
-
count: number;
|
|
444
|
-
executions: any[];
|
|
445
|
-
};
|
|
446
|
-
declare function recordExecution(appId: string, data: any): {
|
|
447
|
-
success: boolean;
|
|
448
|
-
execution: {
|
|
449
|
-
id: string;
|
|
450
|
-
appId: string;
|
|
451
|
-
timestamp: string;
|
|
452
|
-
durationMs: any;
|
|
453
|
-
status: any;
|
|
454
|
-
details: any;
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
declare function matchGatewayIngress(urlPath: string, search?: string): {
|
|
458
|
-
destinationUrl: string;
|
|
459
|
-
} | null;
|
|
460
|
-
declare function matchGatewayIngressAsync(urlPath: string, search?: string, env?: Record<string, unknown>): Promise<{
|
|
461
|
-
destinationUrl: string;
|
|
462
|
-
} | null>;
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* @file dynamicRouteResolver.ts
|
|
466
|
-
* @description Resolves public ingress routes and calculates dynamic deployment weights
|
|
467
|
-
* directly from live database user profiles and account resources.
|
|
468
|
-
* Works across Node.js, Vercel Serverless, and Cloudflare Workers (< 160 lines).
|
|
469
|
-
*/
|
|
470
|
-
|
|
471
|
-
declare function resolveDynamicRouteFromDb(rawPath: string, env?: Record<string, unknown>): Promise<PublicRouteRecord | null>;
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* @file workspaceDataCore.ts
|
|
475
|
-
* @description User-Scoped Workspace Data Persistence for DEPM.
|
|
476
|
-
* Persists apps, graphs, ecosystems to "ultrst-users".app_profiles.depm.workspace_data[workspaceId].
|
|
477
|
-
* Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
|
|
478
|
-
*/
|
|
479
|
-
declare function loadWorkspaceData(userId?: string, workspaceId?: string, env?: Record<string, unknown>): Promise<{
|
|
480
|
-
success: boolean;
|
|
481
|
-
error: string;
|
|
482
|
-
workspace: any;
|
|
483
|
-
workspaceId?: undefined;
|
|
484
|
-
} | {
|
|
485
|
-
success: boolean;
|
|
486
|
-
workspace: any;
|
|
487
|
-
workspaceId: string;
|
|
488
|
-
error?: undefined;
|
|
489
|
-
}>;
|
|
490
|
-
declare function saveWorkspaceData(userId: string | undefined, workspaceId: string, data: any, env?: Record<string, unknown>): Promise<{
|
|
491
|
-
success: boolean;
|
|
492
|
-
error: string;
|
|
493
|
-
workspaceId?: undefined;
|
|
494
|
-
workspace?: undefined;
|
|
495
|
-
protected?: undefined;
|
|
496
|
-
} | {
|
|
497
|
-
success: boolean;
|
|
498
|
-
workspaceId: string;
|
|
499
|
-
workspace: any;
|
|
500
|
-
protected: boolean;
|
|
501
|
-
error?: undefined;
|
|
502
|
-
} | {
|
|
503
|
-
success: boolean;
|
|
504
|
-
workspaceId: string;
|
|
505
|
-
workspace: any;
|
|
506
|
-
error?: undefined;
|
|
507
|
-
protected?: undefined;
|
|
508
|
-
}>;
|
|
509
|
-
declare function renameAppInWorkspaceData(userId: string | undefined, workspaceId: string, appId: string, newName: string, env?: Record<string, unknown>): Promise<{
|
|
510
|
-
success: boolean;
|
|
511
|
-
error: string;
|
|
512
|
-
workspace: any;
|
|
513
|
-
workspaceId?: undefined;
|
|
514
|
-
} | {
|
|
515
|
-
success: boolean;
|
|
516
|
-
workspace: any;
|
|
517
|
-
workspaceId: string;
|
|
518
|
-
error?: undefined;
|
|
519
|
-
} | {
|
|
520
|
-
success: boolean;
|
|
521
|
-
error: string;
|
|
522
|
-
workspaceId?: undefined;
|
|
523
|
-
workspace?: undefined;
|
|
524
|
-
protected?: undefined;
|
|
525
|
-
}>;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* @file workspaceStorageDetailsCore.ts
|
|
529
|
-
* @description Inspection of workspace cloud storage directly via Backblaze B2.
|
|
530
|
-
* Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
|
|
531
|
-
*/
|
|
532
|
-
declare function getWorkspaceStorageDetails(workspaceId: string, env?: Record<string, unknown>): Promise<{
|
|
533
|
-
success: boolean;
|
|
534
|
-
error: string;
|
|
535
|
-
workspaceId?: undefined;
|
|
536
|
-
storageProvider?: undefined;
|
|
537
|
-
connection?: undefined;
|
|
538
|
-
folderPrefix?: undefined;
|
|
539
|
-
localStats?: undefined;
|
|
540
|
-
bucket?: undefined;
|
|
541
|
-
files?: undefined;
|
|
542
|
-
fileCount?: undefined;
|
|
543
|
-
} | {
|
|
544
|
-
success: boolean;
|
|
545
|
-
workspaceId: string;
|
|
546
|
-
storageProvider: any;
|
|
547
|
-
connection: any;
|
|
548
|
-
folderPrefix: any;
|
|
549
|
-
localStats: {
|
|
550
|
-
exists: boolean;
|
|
551
|
-
appsCount: number;
|
|
552
|
-
ecosystemsCount: number;
|
|
553
|
-
};
|
|
554
|
-
bucket: any;
|
|
555
|
-
files: any[];
|
|
556
|
-
error?: undefined;
|
|
557
|
-
fileCount?: undefined;
|
|
558
|
-
} | {
|
|
559
|
-
success: boolean;
|
|
560
|
-
workspaceId: string;
|
|
561
|
-
storageProvider: string;
|
|
562
|
-
connection: {
|
|
563
|
-
id: any;
|
|
564
|
-
label: any;
|
|
565
|
-
provider: any;
|
|
566
|
-
};
|
|
567
|
-
folderPrefix: any;
|
|
568
|
-
bucket: {
|
|
569
|
-
name: any;
|
|
570
|
-
status: string;
|
|
571
|
-
id?: undefined;
|
|
572
|
-
type?: undefined;
|
|
573
|
-
endpoint?: undefined;
|
|
574
|
-
region?: undefined;
|
|
575
|
-
};
|
|
576
|
-
files: any[];
|
|
577
|
-
error?: undefined;
|
|
578
|
-
localStats?: undefined;
|
|
579
|
-
fileCount?: undefined;
|
|
580
|
-
} | {
|
|
581
|
-
success: boolean;
|
|
582
|
-
workspaceId: string;
|
|
583
|
-
storageProvider: string;
|
|
584
|
-
connection: {
|
|
585
|
-
id: any;
|
|
586
|
-
label: any;
|
|
587
|
-
provider: any;
|
|
588
|
-
};
|
|
589
|
-
folderPrefix: any;
|
|
590
|
-
bucket: {
|
|
591
|
-
id: any;
|
|
592
|
-
name: any;
|
|
593
|
-
type: any;
|
|
594
|
-
endpoint: any;
|
|
595
|
-
region: any;
|
|
596
|
-
status: string;
|
|
597
|
-
};
|
|
598
|
-
fileCount: number;
|
|
599
|
-
files: {
|
|
600
|
-
fileName: any;
|
|
601
|
-
sizeBytes: any;
|
|
602
|
-
uploadTimestamp: any;
|
|
603
|
-
}[];
|
|
604
|
-
error?: undefined;
|
|
605
|
-
localStats?: undefined;
|
|
606
|
-
} | {
|
|
607
|
-
success: boolean;
|
|
608
|
-
workspaceId: string;
|
|
609
|
-
storageProvider: string;
|
|
610
|
-
error: any;
|
|
611
|
-
folderPrefix: any;
|
|
612
|
-
connection?: undefined;
|
|
613
|
-
localStats?: undefined;
|
|
614
|
-
bucket?: undefined;
|
|
615
|
-
files?: undefined;
|
|
616
|
-
fileCount?: undefined;
|
|
617
|
-
}>;
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* @file workspaceCore.ts
|
|
621
|
-
* @description Universal Workspace Core Service for DEPM.
|
|
622
|
-
* Governs workspaces CRUD and Workspace Cloud Storage (Backblaze B2 via SRKL).
|
|
623
|
-
* Runs identically in Node.js, Vercel Serverless, and Cloudflare Workers (< 200 lines).
|
|
624
|
-
*/
|
|
625
|
-
|
|
626
|
-
declare function findUserWorkspace(workspaceId: string, env?: Record<string, unknown>): Promise<{
|
|
627
|
-
user: any;
|
|
628
|
-
workspace: any;
|
|
629
|
-
connection: any;
|
|
630
|
-
}>;
|
|
631
|
-
declare function getWorkspaces(userId?: string, env?: Record<string, unknown>): Promise<{
|
|
632
|
-
success: boolean;
|
|
633
|
-
workspaces: any[];
|
|
634
|
-
activeWorkspaceId: any;
|
|
635
|
-
storage_connections: any;
|
|
636
|
-
}>;
|
|
637
|
-
declare function createWorkspace(userId: string, wsData: any, env?: Record<string, unknown>): Promise<{
|
|
638
|
-
success: boolean;
|
|
639
|
-
workspace: any;
|
|
640
|
-
workspaces: any[];
|
|
641
|
-
}>;
|
|
642
|
-
declare function updateWorkspace(userId: string, params: any, env?: Record<string, unknown>): Promise<{
|
|
643
|
-
success: boolean;
|
|
644
|
-
workspace: any;
|
|
645
|
-
workspaces: any[];
|
|
646
|
-
}>;
|
|
647
|
-
declare function deleteWorkspace(userId: string, wsId: string, env?: Record<string, unknown>): Promise<{
|
|
648
|
-
success: boolean;
|
|
649
|
-
workspaces: any;
|
|
650
|
-
}>;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* @file workspaceFileCore.ts
|
|
654
|
-
* @description Universal Workspace File IO Abstraction.
|
|
655
|
-
* Routes reads, writes, and deletions to Local Disk or Backblaze B2 Object Storage (< 200 lines).
|
|
656
|
-
*/
|
|
657
|
-
declare function getWorkspaceFolderPrefix(workspace: any): string;
|
|
658
|
-
declare function isB2Workspace(workspace: any, connection: any): boolean;
|
|
659
|
-
declare function writeWorkspaceFile(workspace: any, connection: any, relativePath: string, content: string | Uint8Array, contentType?: string): Promise<void>;
|
|
660
|
-
declare function readWorkspaceFile(workspace: any, connection: any, relativePath: string): Promise<Uint8Array | null>;
|
|
661
|
-
declare function deleteWorkspaceFile(workspace: any, connection: any, relativePath: string): Promise<boolean>;
|
|
662
|
-
declare function listWorkspaceFiles(workspace: any, connection: any, subPrefix?: string): Promise<Array<{
|
|
663
|
-
fileName: string;
|
|
664
|
-
sizeBytes: number;
|
|
665
|
-
uploadTimestamp?: number;
|
|
666
|
-
}>>;
|
|
667
|
-
declare function deleteWorkspaceFolder(workspace: any, connection: any): Promise<void>;
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* @file workspaceBucketSyncCore.ts
|
|
671
|
-
* @description Workspace Backblaze B2 Direct Storage Synchronization.
|
|
672
|
-
* Directly handles folder creation, file uploads (workspace.json, ecosystem.json), and cleanup.
|
|
673
|
-
* Conforms to Law L2, L3, L9 (< 200 lines).
|
|
674
|
-
*/
|
|
675
|
-
declare function resolveWorkspaceConnection(profiles: any, workspace: any): any;
|
|
676
|
-
declare function syncWorkspaceCreateToBucket(workspace: any, connection: any, env?: Record<string, unknown>): Promise<void>;
|
|
677
|
-
declare function syncWorkspaceDeleteToBucket(workspace: any, connection: any, env?: Record<string, unknown>): Promise<void>;
|
|
678
|
-
declare function syncWorkspaceDataToBucket(workspace: any, connection: any, data: any, env?: Record<string, unknown>): Promise<void>;
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* @file cloudflareIntegrationCore.ts
|
|
682
|
-
* @description Cloudflare Integration Service for DEPM Engine.
|
|
683
|
-
* Fetches Workers and Pages projects referencing Srkl-Engine surveillance (< 200 lines).
|
|
684
|
-
*/
|
|
685
|
-
declare function fetchCloudflareData(payload: Record<string, any>, rawUserId?: string, env?: Record<string, unknown>): Promise<{
|
|
686
|
-
success: boolean;
|
|
687
|
-
provider?: string;
|
|
688
|
-
tier?: string;
|
|
689
|
-
isFree?: boolean;
|
|
690
|
-
projectsCount?: number;
|
|
691
|
-
accountName?: string;
|
|
692
|
-
accountId?: string;
|
|
693
|
-
projects?: any[];
|
|
694
|
-
projectObservability?: any[];
|
|
695
|
-
workers?: any[];
|
|
696
|
-
pages?: any[];
|
|
697
|
-
usageMetrics?: any;
|
|
698
|
-
unifiedMetrics?: any;
|
|
699
|
-
error?: string;
|
|
700
|
-
}>;
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* @file vercelIntegrationCore.ts
|
|
704
|
-
* @description Authentic Vercel API Integration for DEPM Engine.
|
|
705
|
-
* Fetches user profile, projects, deployments, and usage telemetry (< 200 lines).
|
|
706
|
-
*/
|
|
707
|
-
declare function fetchVercelData(payload: Record<string, any>, rawUserId?: string, env?: Record<string, unknown>): Promise<{
|
|
708
|
-
success: boolean;
|
|
709
|
-
error?: string;
|
|
710
|
-
tier?: string;
|
|
711
|
-
isHobby?: boolean;
|
|
712
|
-
projectsCount?: number;
|
|
713
|
-
projects?: any[];
|
|
714
|
-
projectObservability?: any[];
|
|
715
|
-
usageMetrics?: any;
|
|
716
|
-
user?: any;
|
|
717
|
-
rawUsagePayload?: any;
|
|
718
|
-
}>;
|
|
719
|
-
|
|
720
|
-
/**
|
|
721
|
-
* @file vercelTransformer.ts
|
|
722
|
-
* @description Transforms raw Vercel REST API responses into normalized observability entities (< 200 lines).
|
|
723
|
-
*/
|
|
724
|
-
declare function formatRelativeCreated(timestamp: number | string, creator: string): string;
|
|
725
|
-
declare function buildProjectObservability(projects: any[], deployments: any[], user: any): {
|
|
726
|
-
projectId: any;
|
|
727
|
-
projectName: any;
|
|
728
|
-
framework: any;
|
|
729
|
-
status: "ACTIVE" | "ERROR" | "PAUSED" | "BUILDING";
|
|
730
|
-
displayStatus: string;
|
|
731
|
-
isPaused: boolean;
|
|
732
|
-
deploymentUrl: string;
|
|
733
|
-
domains: string[];
|
|
734
|
-
createdAt: string;
|
|
735
|
-
createdRelative: string;
|
|
736
|
-
createdBy: any;
|
|
737
|
-
edgeRequests: number;
|
|
738
|
-
edgeRequestsFormatted: string;
|
|
739
|
-
fastDataTransferGb: number;
|
|
740
|
-
fastDataTransferFormatted: string;
|
|
741
|
-
middlewareInvocations: number;
|
|
742
|
-
middlewareInvocationsFormatted: string;
|
|
743
|
-
latestDeploymentId: any;
|
|
744
|
-
latestDeploymentUrl: string;
|
|
745
|
-
latestDeploymentStatus: string;
|
|
746
|
-
latestDeploymentCreatedAt: string;
|
|
747
|
-
gitRepo: string;
|
|
748
|
-
gitBranch: any;
|
|
749
|
-
}[];
|
|
750
|
-
declare function buildProjectsList(observability: any[]): {
|
|
751
|
-
id: any;
|
|
752
|
-
name: any;
|
|
753
|
-
status: any;
|
|
754
|
-
framework: any;
|
|
755
|
-
url: any;
|
|
756
|
-
domain: any;
|
|
757
|
-
domains: any;
|
|
758
|
-
updatedAt: any;
|
|
759
|
-
deploymentId: any;
|
|
760
|
-
}[];
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Provider deployment-control operations.
|
|
764
|
-
*
|
|
765
|
-
* Vercel: pauses/resumes a project's production service.
|
|
766
|
-
* Cloudflare Pages: disables/enables automatic production and preview deployments.
|
|
767
|
-
*/
|
|
768
|
-
type CloudflarePagesPreviewSetting = 'all' | 'none' | 'custom';
|
|
769
|
-
interface CloudflarePagesPauseState {
|
|
770
|
-
productionDeploymentsEnabled: boolean;
|
|
771
|
-
previewDeploymentSetting: CloudflarePagesPreviewSetting;
|
|
772
|
-
}
|
|
773
|
-
interface DeploymentControlResult {
|
|
774
|
-
success: true;
|
|
775
|
-
provider: 'VERCEL' | 'CLOUDFLARE';
|
|
776
|
-
projectId: string;
|
|
777
|
-
controlState: 'ACTIVE' | 'PAUSED';
|
|
778
|
-
pauseState?: CloudflarePagesPauseState;
|
|
779
|
-
}
|
|
780
|
-
interface CredentialPayload {
|
|
781
|
-
token?: string;
|
|
782
|
-
apiToken?: string;
|
|
783
|
-
accessToken?: string;
|
|
784
|
-
teamId?: string;
|
|
785
|
-
accountId?: string;
|
|
786
|
-
cfAccountId?: string;
|
|
787
|
-
accountTag?: string;
|
|
788
|
-
authKey?: string;
|
|
789
|
-
globalApiKey?: string;
|
|
790
|
-
authEmail?: string;
|
|
791
|
-
email?: string;
|
|
792
|
-
credentials?: Record<string, any>;
|
|
793
|
-
}
|
|
794
|
-
declare function pauseVercelProject(projectId: string, payload?: CredentialPayload, userId?: string, env?: Record<string, unknown>): Promise<DeploymentControlResult>;
|
|
795
|
-
declare function resumeVercelProject(projectId: string, payload?: CredentialPayload, userId?: string, env?: Record<string, unknown>): Promise<DeploymentControlResult>;
|
|
796
|
-
declare function pauseCloudflarePagesProject(projectName: string, payload?: CredentialPayload, userId?: string, env?: Record<string, unknown>): Promise<DeploymentControlResult>;
|
|
797
|
-
declare function resumeCloudflarePagesProject(projectName: string, pauseState: CloudflarePagesPauseState, payload?: CredentialPayload, userId?: string, env?: Record<string, unknown>): Promise<DeploymentControlResult>;
|
|
798
|
-
|
|
799
|
-
declare function createWavBuffer(sampleRate: number, numChannels: number, samples: Float32Array[]): Buffer;
|
|
800
|
-
|
|
801
|
-
declare function ensureGlobalSamples(globalSamplesDir: string): Promise<void>;
|
|
802
|
-
|
|
803
|
-
declare const WORKSPACE_ASSETS_ROOT: string;
|
|
804
|
-
declare const PROJECTS_ROOT: string;
|
|
805
|
-
declare const SUPPORTED_AUDIO_EXTS: string[];
|
|
806
|
-
declare const SUPPORTED_MIDI_EXTS: string[];
|
|
807
|
-
type AssetDataType = 'audio' | 'midi';
|
|
808
|
-
type AssetChannelType = 'stereo' | 'mono';
|
|
809
|
-
type AssetPoolScope = 'workspace' | 'project';
|
|
810
|
-
interface AssetFolderInfo {
|
|
811
|
-
name: string;
|
|
812
|
-
dataType: AssetDataType;
|
|
813
|
-
channelType?: AssetChannelType;
|
|
814
|
-
fileCount: number;
|
|
815
|
-
isSystemDefault?: boolean;
|
|
816
|
-
}
|
|
817
|
-
interface AssetPoolItem {
|
|
818
|
-
id: string;
|
|
819
|
-
filename: string;
|
|
820
|
-
name: string;
|
|
821
|
-
scope: AssetPoolScope;
|
|
822
|
-
projectId?: string;
|
|
823
|
-
dataType: AssetDataType;
|
|
824
|
-
channelType?: AssetChannelType;
|
|
825
|
-
subfolder: string;
|
|
826
|
-
relativePath: string;
|
|
827
|
-
url: string;
|
|
828
|
-
size: number;
|
|
829
|
-
format: string;
|
|
830
|
-
createdAt: number;
|
|
831
|
-
}
|
|
832
|
-
/**
|
|
833
|
-
* Ensures baseline folder structure for an asset root directory:
|
|
834
|
-
* assets/
|
|
835
|
-
* ├── audio/
|
|
836
|
-
* │ ├── stereo/
|
|
837
|
-
* │ │ ├── default/
|
|
838
|
-
* │ │ └── userdefined/
|
|
839
|
-
* │ └── mono/
|
|
840
|
-
* │ ├── default/
|
|
841
|
-
* │ └── userdefined/
|
|
842
|
-
* └── midi/
|
|
843
|
-
* ├── default/
|
|
844
|
-
* └── userdefined/
|
|
845
|
-
*/
|
|
846
|
-
declare function ensureAssetPoolDirectories(rootDir: string): Promise<void>;
|
|
847
|
-
/**
|
|
848
|
-
* Seed starter audio samples and MIDI files into default asset pools
|
|
849
|
-
*/
|
|
850
|
-
declare function seedDefaultAssets(): Promise<void>;
|
|
851
|
-
/**
|
|
852
|
-
* Ensures project level asset pool directories exist
|
|
853
|
-
*/
|
|
854
|
-
declare function ensureProjectAssets(projectId: string): Promise<string>;
|
|
855
|
-
/**
|
|
856
|
-
* Get base filesystem path for a specific pool location
|
|
857
|
-
*/
|
|
858
|
-
declare function getAssetPoolLocationPath(scope: AssetPoolScope, projectId: string | undefined, dataType: AssetDataType, channelType?: AssetChannelType, subfolder?: string): string;
|
|
859
|
-
/**
|
|
860
|
-
* Get public web URL for a file in an asset pool
|
|
861
|
-
*/
|
|
862
|
-
declare function getAssetPoolPublicUrl(scope: AssetPoolScope, projectId: string | undefined, dataType: AssetDataType, channelType: AssetChannelType | undefined, subfolder: string, filename: string): string;
|
|
863
|
-
/**
|
|
864
|
-
* Scan all subfolders and items in an asset pool
|
|
865
|
-
*/
|
|
866
|
-
declare function scanAssetPool(scope: AssetPoolScope, projectId?: string): Promise<{
|
|
867
|
-
folders: AssetFolderInfo[];
|
|
868
|
-
items: AssetPoolItem[];
|
|
869
|
-
}>;
|
|
870
|
-
/**
|
|
871
|
-
* Creates a dynamic userdefined subfolder in the specified pool category
|
|
872
|
-
*/
|
|
873
|
-
declare function createAssetSubfolder(params: {
|
|
874
|
-
scope: AssetPoolScope;
|
|
875
|
-
projectId?: string;
|
|
876
|
-
dataType: AssetDataType;
|
|
877
|
-
channelType?: AssetChannelType;
|
|
878
|
-
folderName: string;
|
|
879
|
-
}): Promise<AssetFolderInfo>;
|
|
880
|
-
/**
|
|
881
|
-
* Saves uploaded audio or MIDI base64 file into the specified asset pool
|
|
882
|
-
*/
|
|
883
|
-
declare function saveAssetToPool(params: {
|
|
884
|
-
scope: AssetPoolScope;
|
|
885
|
-
projectId?: string;
|
|
886
|
-
dataType: AssetDataType;
|
|
887
|
-
channelType?: AssetChannelType;
|
|
888
|
-
subfolder?: string;
|
|
889
|
-
filename: string;
|
|
890
|
-
base64Content: string;
|
|
891
|
-
}): Promise<AssetPoolItem>;
|
|
892
|
-
/**
|
|
893
|
-
* Delete an asset file from pool
|
|
894
|
-
*/
|
|
895
|
-
declare function deleteAssetFromPool(params: {
|
|
896
|
-
scope: AssetPoolScope;
|
|
897
|
-
projectId?: string;
|
|
898
|
-
dataType: AssetDataType;
|
|
899
|
-
channelType?: AssetChannelType;
|
|
900
|
-
subfolder: string;
|
|
901
|
-
filename: string;
|
|
902
|
-
}): Promise<boolean>;
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* @file graphAssetService.ts
|
|
906
|
-
* @description Server-side service for Graph-Scoped Asset Ownership.
|
|
907
|
-
* Ensures assets are strictly owned and managed by individual Graph Packages.
|
|
908
|
-
* Imported graphs retain independent ownership of their respective assets.
|
|
909
|
-
*/
|
|
910
|
-
|
|
911
|
-
type GraphAssetItem = Partial<GraphAssetItem$1> & {
|
|
912
|
-
id: string;
|
|
913
|
-
filename: string;
|
|
914
|
-
name: string;
|
|
915
|
-
graphId?: string;
|
|
916
|
-
subfolder?: string;
|
|
917
|
-
[key: string]: any;
|
|
918
|
-
};
|
|
919
|
-
type GraphFolderInfo = Partial<GraphFolderInfo$1> & {
|
|
920
|
-
name: string;
|
|
921
|
-
graphId?: string;
|
|
922
|
-
isSystemDefault?: boolean;
|
|
923
|
-
[key: string]: any;
|
|
924
|
-
};
|
|
925
|
-
declare const WORKSPACE_ROOT: string;
|
|
926
|
-
declare const GRAPHS_ROOT: string;
|
|
927
|
-
/**
|
|
928
|
-
* Ensures baseline folder structure inside a graph package's assets directory:
|
|
929
|
-
* <graphDir>/assets/
|
|
930
|
-
* ├── audio/
|
|
931
|
-
* │ ├── stereo/
|
|
932
|
-
* │ │ ├── default/
|
|
933
|
-
* │ │ └── userdefined/
|
|
934
|
-
* │ └── mono/
|
|
935
|
-
* │ ├── default/
|
|
936
|
-
* │ └── userdefined/
|
|
937
|
-
* └── midi/
|
|
938
|
-
* ├── default/
|
|
939
|
-
* └── userdefined/
|
|
940
|
-
*/
|
|
941
|
-
declare function ensureGraphAssetDirectories(graphDir: string): void;
|
|
942
|
-
/**
|
|
943
|
-
* Seeds starter audio and midi assets into a graph package
|
|
944
|
-
*/
|
|
945
|
-
declare function seedStarterGraphAssets(graphDir: string): void;
|
|
946
|
-
/**
|
|
947
|
-
* Scan all assets owned by a graph package and optionally its imported graph dependencies
|
|
948
|
-
*/
|
|
949
|
-
declare function scanGraphAssets(graphId: string, includeImported?: boolean): Promise<{
|
|
950
|
-
folders: GraphFolderInfo[];
|
|
951
|
-
items: GraphAssetItem[];
|
|
952
|
-
importedItems?: GraphAssetItem[];
|
|
953
|
-
}>;
|
|
954
|
-
/**
|
|
955
|
-
* Creates a dynamic userdefined subfolder in the graph package's assets directory
|
|
956
|
-
*/
|
|
957
|
-
declare function createGraphAssetFolder(params: {
|
|
958
|
-
graphId: string;
|
|
959
|
-
dataType: AssetDataType$1;
|
|
960
|
-
channelType?: AssetChannelType$1;
|
|
961
|
-
folderName: string;
|
|
962
|
-
}): Promise<GraphFolderInfo>;
|
|
963
|
-
/**
|
|
964
|
-
* Saves uploaded audio or MIDI base64 file into the graph package
|
|
965
|
-
*/
|
|
966
|
-
declare function saveAssetToGraph(params: {
|
|
967
|
-
graphId: string;
|
|
968
|
-
dataType: AssetDataType$1;
|
|
969
|
-
channelType?: AssetChannelType$1;
|
|
970
|
-
subfolder?: string;
|
|
971
|
-
filename: string;
|
|
972
|
-
base64Content: string;
|
|
973
|
-
}): Promise<GraphAssetItem>;
|
|
974
|
-
/**
|
|
975
|
-
* Delete an asset file from a graph package
|
|
976
|
-
*/
|
|
977
|
-
declare function deleteAssetFromGraph(params: {
|
|
978
|
-
graphId: string;
|
|
979
|
-
dataType: AssetDataType$1;
|
|
980
|
-
channelType?: AssetChannelType$1;
|
|
981
|
-
subfolder: string;
|
|
982
|
-
filename: string;
|
|
983
|
-
}): Promise<boolean>;
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* @file graphPackageService.ts
|
|
987
|
-
* @description Server-side service for self-contained Graph Packages.
|
|
988
|
-
* Enforces:
|
|
989
|
-
* 1. Workspace is the top-level container.
|
|
990
|
-
* 2. Each Graph is a self-contained package with dedicated directory, entry point, assets, and metadata.
|
|
991
|
-
* 3. Extensible Graph Type System with granular classifications.
|
|
992
|
-
* 4. Acyclic graph dependencies with strict cycle rejection.
|
|
993
|
-
*/
|
|
994
|
-
|
|
995
|
-
type GraphType = string;
|
|
996
|
-
type GraphPackageMetadata = Record<string, any>;
|
|
997
|
-
type GraphPackage = Record<string, any>;
|
|
998
|
-
declare const LEGACY_PROJECTS_ROOT: string;
|
|
999
|
-
declare function ensureWorkspaceStructure(): void;
|
|
1000
|
-
/**
|
|
1001
|
-
* List all graph packages in the workspace
|
|
1002
|
-
*/
|
|
1003
|
-
declare function listAllGraphPackages(): Promise<GraphPackageMetadata[]>;
|
|
1004
|
-
/**
|
|
1005
|
-
* Get full graph package by ID
|
|
1006
|
-
*/
|
|
1007
|
-
declare function getGraphPackageById(id: string): Promise<GraphPackage | null>;
|
|
1008
|
-
/**
|
|
1009
|
-
* Create a new self-contained Graph Package
|
|
1010
|
-
*/
|
|
1011
|
-
declare function createGraphPackage(params: {
|
|
1012
|
-
name: string;
|
|
1013
|
-
description?: string;
|
|
1014
|
-
type?: GraphType;
|
|
1015
|
-
customTypeTag?: string;
|
|
1016
|
-
bpm?: number;
|
|
1017
|
-
masterVolume?: number;
|
|
1018
|
-
currentBiome?: string;
|
|
1019
|
-
nodes?: SpaceNode[];
|
|
1020
|
-
connections?: NodeConnection[];
|
|
1021
|
-
importedGraphIds?: string[];
|
|
1022
|
-
}): Promise<GraphPackage>;
|
|
1023
|
-
/**
|
|
1024
|
-
* Save / Update an existing Graph Package
|
|
1025
|
-
*/
|
|
1026
|
-
declare function saveGraphPackage(id: string, payload: {
|
|
1027
|
-
name?: string;
|
|
1028
|
-
description?: string;
|
|
1029
|
-
type?: GraphType;
|
|
1030
|
-
customTypeTag?: string;
|
|
1031
|
-
bpm?: number;
|
|
1032
|
-
masterVolume?: number;
|
|
1033
|
-
currentBiome?: string;
|
|
1034
|
-
nodes?: SpaceNode[];
|
|
1035
|
-
connections?: NodeConnection[];
|
|
1036
|
-
mapIoConfig?: any;
|
|
1037
|
-
importedGraphIds?: string[];
|
|
1038
|
-
}): Promise<GraphPackage>;
|
|
1039
|
-
/**
|
|
1040
|
-
* Delete a Graph Package and its owned directory & assets
|
|
1041
|
-
*/
|
|
1042
|
-
declare function deleteGraphPackage(id: string): Promise<boolean>;
|
|
1043
|
-
/**
|
|
1044
|
-
* Import another Graph Package into target graph with DAG acyclic validation
|
|
1045
|
-
*/
|
|
1046
|
-
declare function importGraphDependency(targetGraphId: string, candidateImportId: string): Promise<{
|
|
1047
|
-
success: boolean;
|
|
1048
|
-
error?: string;
|
|
1049
|
-
metadata?: GraphPackageMetadata;
|
|
1050
|
-
}>;
|
|
1051
|
-
/**
|
|
1052
|
-
* Remove an imported Graph Package dependency
|
|
1053
|
-
*/
|
|
1054
|
-
declare function removeGraphDependency(targetGraphId: string, importIdToRemove: string): Promise<{
|
|
1055
|
-
success: boolean;
|
|
1056
|
-
metadata?: GraphPackageMetadata;
|
|
1057
|
-
}>;
|
|
1058
|
-
|
|
1059
|
-
interface ProjectMetadata {
|
|
1060
|
-
id: string;
|
|
1061
|
-
name: string;
|
|
1062
|
-
description: string;
|
|
1063
|
-
folderPath: string;
|
|
1064
|
-
createdAt: number;
|
|
1065
|
-
updatedAt: number;
|
|
1066
|
-
sampleCount: number;
|
|
1067
|
-
nodeCount: number;
|
|
1068
|
-
bpm: number;
|
|
1069
|
-
}
|
|
1070
|
-
declare function configureStarterProjectTemplate(template: Record<string, any>): void;
|
|
1071
|
-
declare function ensureProjectsRoot(starterTemplate?: Record<string, any>): void;
|
|
1072
|
-
declare function listAllProjects(): Promise<ProjectMetadata[]>;
|
|
1073
|
-
declare function getProjectById(id: string): Promise<Record<string, unknown> | null>;
|
|
1074
|
-
declare function saveProject(id: string, payload: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
1075
|
-
declare function deleteProject(id: string): Promise<boolean>;
|
|
1076
|
-
|
|
1077
|
-
declare const SAMPLES_GLOBAL_ROOT: string;
|
|
1078
|
-
interface ServerAudioSampleItem {
|
|
1079
|
-
filename: string;
|
|
1080
|
-
name: string;
|
|
1081
|
-
category: string;
|
|
1082
|
-
format: string;
|
|
1083
|
-
url: string;
|
|
1084
|
-
size: number;
|
|
1085
|
-
scope: 'global' | 'project';
|
|
1086
|
-
projectId?: string;
|
|
1087
|
-
createdAt: number;
|
|
1088
|
-
}
|
|
1089
|
-
declare function initGlobalSamplesDirectory(): void;
|
|
1090
|
-
declare function listGlobalSamples(): Promise<ServerAudioSampleItem[]>;
|
|
1091
|
-
declare function saveGlobalSample(filename: string, base64Content: string, category?: string): Promise<ServerAudioSampleItem>;
|
|
1092
|
-
declare function deleteGlobalSample(filename: string): Promise<boolean>;
|
|
1093
|
-
declare function listProjectSamples(projectId: string): Promise<ServerAudioSampleItem[]>;
|
|
1094
|
-
declare function saveProjectSample(projectId: string, filename: string | undefined, base64Content: string, isRecording?: boolean): Promise<ServerAudioSampleItem>;
|
|
1095
|
-
declare function deleteProjectSample(projectId: string, filename: string): Promise<boolean>;
|
|
1096
|
-
|
|
1097
|
-
interface WorkspaceFolderResolution {
|
|
1098
|
-
wsDir: string;
|
|
1099
|
-
wsName: string;
|
|
1100
|
-
wsFolder: string;
|
|
1101
|
-
wsId: string;
|
|
1102
|
-
}
|
|
1103
|
-
declare function resolveWorkspaceDir(workspaceIdOrSlug?: string): Promise<WorkspaceFolderResolution>;
|
|
1104
|
-
declare function listWorkspaceGraphs(workspaceIdOrSlug?: string): Promise<DawProject[]>;
|
|
1105
|
-
declare function createWorkspaceGraph(workspaceIdOrSlug: string, params: {
|
|
1106
|
-
name: string;
|
|
1107
|
-
description?: string;
|
|
1108
|
-
bpm?: number;
|
|
1109
|
-
masterVolume?: number;
|
|
1110
|
-
currentBiome?: string;
|
|
1111
|
-
templateData?: {
|
|
1112
|
-
nodes?: SpaceNode[];
|
|
1113
|
-
connections?: NodeConnection[];
|
|
1114
|
-
bpm?: number;
|
|
1115
|
-
masterVolume?: number;
|
|
1116
|
-
currentBiome?: string;
|
|
1117
|
-
};
|
|
1118
|
-
}): Promise<DawProject>;
|
|
1119
|
-
declare function getWorkspaceGraph(workspaceIdOrSlug: string, graphIdOrName: string): Promise<DawProject | null>;
|
|
1120
|
-
declare function saveWorkspaceGraph(workspaceIdOrSlug: string, graphIdOrName: string, payload: Record<string, any>): Promise<DawProject>;
|
|
1121
|
-
declare function deleteWorkspaceGraph(workspaceIdOrSlug: string, graphIdOrName: string): Promise<boolean>;
|
|
1122
|
-
|
|
1123
|
-
type ProviderType = 'VERCEL' | 'CLOUDFLARE' | 'AWS' | 'GCP' | 'FASTLY' | 'BACKBLAZE_B2' | 'CLOUDFLARE_R2' | 'SUPABASE' | 'NEON' | 'POSTGRESQL';
|
|
1124
|
-
type NodeType = 'ECOSYSTEM' | 'ECOSYSTEM_HUB' | 'SYSTEM_DATABASE' | 'SYSTEM_BUCKET' | 'ADMIN_CREDENTIALS' | 'APP_GRAPH_NODE' | 'APP' | 'APP_NODE' | 'APP_COMPONENT' | 'DEPLOYMENT' | 'WEIGHT_USER' | 'WEIGHT_RESOURCE' | 'WEIGHT_ACCOUNT' | 'WEIGHT_MULTIPLY' | 'WEIGHT_MODIFIER' | 'URL_NODE' | 'VARIANTS';
|
|
1125
|
-
type HealthState = 'HEALTHY' | 'DEGRADED' | 'UNHEALTHY';
|
|
1126
|
-
interface SystemDbConfig {
|
|
1127
|
-
databaseUrl?: string;
|
|
1128
|
-
provider?: string;
|
|
1129
|
-
dbName?: string;
|
|
1130
|
-
host?: string;
|
|
1131
|
-
port?: number;
|
|
1132
|
-
ssl?: boolean;
|
|
1133
|
-
selectedTable?: string;
|
|
1134
|
-
adminTable?: string;
|
|
1135
|
-
adminEmailColumn?: string;
|
|
1136
|
-
adminPasswordColumn?: string;
|
|
1137
|
-
adminUsernameColumn?: string;
|
|
1138
|
-
bucketTable?: string;
|
|
1139
|
-
connectionStatus?: 'CONNECTED' | 'DISCONNECTED' | 'ERROR' | 'CONNECTING';
|
|
1140
|
-
lastTestedAt?: string;
|
|
1141
|
-
latencyMs?: number;
|
|
1142
|
-
serverVersion?: string;
|
|
1143
|
-
discoveredTables?: string[];
|
|
1144
|
-
updatedAt?: string;
|
|
1145
|
-
}
|
|
1146
|
-
interface SystemBucketConfig {
|
|
1147
|
-
bucketName?: string;
|
|
1148
|
-
provider?: string;
|
|
1149
|
-
endpoint?: string;
|
|
1150
|
-
region?: string;
|
|
1151
|
-
publicAccess?: boolean;
|
|
1152
|
-
updatedAt?: string;
|
|
1153
|
-
}
|
|
1154
|
-
interface AdminCredentialsConfig {
|
|
1155
|
-
adminEmail?: string;
|
|
1156
|
-
adminSecretKey?: string;
|
|
1157
|
-
depmJwtSecret?: string;
|
|
1158
|
-
apiKey?: string;
|
|
1159
|
-
lastRotatedAt?: string;
|
|
1160
|
-
rotationHistoryCount?: number;
|
|
1161
|
-
}
|
|
1162
|
-
type AccountTier = 'hobby' | 'pro' | 'enterprise' | 'free' | 'payg' | 'custom';
|
|
1163
|
-
|
|
1164
|
-
interface UnifiedResourceMetricItem<T = number> {
|
|
1165
|
-
used: T;
|
|
1166
|
-
limit: T;
|
|
1167
|
-
usedFormatted: string;
|
|
1168
|
-
limitFormatted: string;
|
|
1169
|
-
percent: number;
|
|
1170
|
-
remainingFormatted: string;
|
|
1171
|
-
}
|
|
1172
|
-
interface UnifiedResourceMetrics {
|
|
1173
|
-
provider: ProviderType;
|
|
1174
|
-
periodLabel: string;
|
|
1175
|
-
tier: string;
|
|
1176
|
-
isFreeTier: boolean;
|
|
1177
|
-
activeCpu: {
|
|
1178
|
-
usedSeconds: number;
|
|
1179
|
-
limitSeconds: number;
|
|
1180
|
-
usedFormatted: string;
|
|
1181
|
-
limitFormatted: string;
|
|
1182
|
-
percent: number;
|
|
1183
|
-
remainingFormatted: string;
|
|
1184
|
-
};
|
|
1185
|
-
invocations: {
|
|
1186
|
-
usedCount: number;
|
|
1187
|
-
limitCount: number;
|
|
1188
|
-
usedFormatted: string;
|
|
1189
|
-
limitFormatted: string;
|
|
1190
|
-
percent: number;
|
|
1191
|
-
remainingFormatted: string;
|
|
1192
|
-
};
|
|
1193
|
-
edgeRequests: {
|
|
1194
|
-
usedCount: number;
|
|
1195
|
-
limitCount: number;
|
|
1196
|
-
usedFormatted: string;
|
|
1197
|
-
limitFormatted: string;
|
|
1198
|
-
percent: number;
|
|
1199
|
-
remainingFormatted: string;
|
|
1200
|
-
};
|
|
1201
|
-
bandwidth: {
|
|
1202
|
-
usedMb: number;
|
|
1203
|
-
limitMb: number;
|
|
1204
|
-
usedFormatted: string;
|
|
1205
|
-
limitFormatted: string;
|
|
1206
|
-
percent: number;
|
|
1207
|
-
remainingFormatted: string;
|
|
1208
|
-
};
|
|
1209
|
-
memory?: {
|
|
1210
|
-
usedGbHours: number;
|
|
1211
|
-
limitGbHours: number;
|
|
1212
|
-
usedFormatted: string;
|
|
1213
|
-
limitFormatted: string;
|
|
1214
|
-
percent: number;
|
|
1215
|
-
remainingFormatted: string;
|
|
1216
|
-
};
|
|
1217
|
-
storage?: {
|
|
1218
|
-
usedMb: number;
|
|
1219
|
-
limitMb: number;
|
|
1220
|
-
usedFormatted: string;
|
|
1221
|
-
limitFormatted: string;
|
|
1222
|
-
percent: number;
|
|
1223
|
-
remainingFormatted?: string;
|
|
1224
|
-
};
|
|
1225
|
-
details?: Record<string, any>;
|
|
1226
|
-
}
|
|
1227
|
-
interface CloudflareProjectItem {
|
|
1228
|
-
id: string;
|
|
1229
|
-
name: string;
|
|
1230
|
-
type: 'worker' | 'pages';
|
|
1231
|
-
status: 'ACTIVE' | 'PAUSED';
|
|
1232
|
-
subdomain?: string;
|
|
1233
|
-
routes?: string[];
|
|
1234
|
-
updatedAt?: string;
|
|
1235
|
-
}
|
|
1236
|
-
interface CloudflareObservability {
|
|
1237
|
-
projectId: string;
|
|
1238
|
-
projectName: string;
|
|
1239
|
-
status: 'ACTIVE' | 'PAUSED';
|
|
1240
|
-
cpuTimeMs: number;
|
|
1241
|
-
cpuTimeFormatted: string;
|
|
1242
|
-
requestsCount: number;
|
|
1243
|
-
requestsFormatted: string;
|
|
1244
|
-
subrequestsCount: number;
|
|
1245
|
-
bandwidthMb: number;
|
|
1246
|
-
errorsCount: number;
|
|
1247
|
-
updatedAt: string;
|
|
1248
|
-
}
|
|
1249
|
-
interface CloudflareUsageMetrics extends UnifiedResourceMetrics {
|
|
1250
|
-
provider: 'CLOUDFLARE';
|
|
1251
|
-
workersCount: number;
|
|
1252
|
-
pagesCount: number;
|
|
1253
|
-
subrequests: {
|
|
1254
|
-
usedCount: number;
|
|
1255
|
-
usedFormatted: string;
|
|
1256
|
-
};
|
|
1257
|
-
errors: {
|
|
1258
|
-
usedCount: number;
|
|
1259
|
-
usedFormatted: string;
|
|
1260
|
-
};
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
interface VercelUsageMetrics {
|
|
1264
|
-
periodLabel: string;
|
|
1265
|
-
fluidActiveCpu: {
|
|
1266
|
-
usedSeconds: number;
|
|
1267
|
-
usedFormatted: string;
|
|
1268
|
-
limitFormatted: string;
|
|
1269
|
-
limitSeconds: number;
|
|
1270
|
-
percent: number;
|
|
1271
|
-
remainingFormatted: string;
|
|
1272
|
-
};
|
|
1273
|
-
functionInvocations: {
|
|
1274
|
-
usedCount: number;
|
|
1275
|
-
usedFormatted: string;
|
|
1276
|
-
limitFormatted: string;
|
|
1277
|
-
limitCount: number;
|
|
1278
|
-
percent: number;
|
|
1279
|
-
remainingFormatted: string;
|
|
1280
|
-
};
|
|
1281
|
-
edgeRequests: {
|
|
1282
|
-
usedCount: number;
|
|
1283
|
-
usedFormatted: string;
|
|
1284
|
-
limitFormatted: string;
|
|
1285
|
-
limitCount: number;
|
|
1286
|
-
percent: number;
|
|
1287
|
-
remainingFormatted: string;
|
|
1288
|
-
};
|
|
1289
|
-
fluidProvisionedMemory: {
|
|
1290
|
-
usedGbHours: number;
|
|
1291
|
-
usedFormatted: string;
|
|
1292
|
-
limitFormatted: string;
|
|
1293
|
-
limitGbHours: number;
|
|
1294
|
-
percent: number;
|
|
1295
|
-
remainingFormatted: string;
|
|
1296
|
-
};
|
|
1297
|
-
functionsStorage: {
|
|
1298
|
-
usedMb: number;
|
|
1299
|
-
usedFormatted: string;
|
|
1300
|
-
limitFormatted: string;
|
|
1301
|
-
limitMb: number;
|
|
1302
|
-
percent: number;
|
|
1303
|
-
remainingFormatted: string;
|
|
1304
|
-
};
|
|
1305
|
-
fastDataTransfer: {
|
|
1306
|
-
usedGb: number;
|
|
1307
|
-
usedFormatted: string;
|
|
1308
|
-
limitFormatted: string;
|
|
1309
|
-
limitGb: number;
|
|
1310
|
-
percent: number;
|
|
1311
|
-
remainingFormatted: string;
|
|
1312
|
-
};
|
|
1313
|
-
middlewareInvocations: {
|
|
1314
|
-
usedCount: number;
|
|
1315
|
-
usedFormatted: string;
|
|
1316
|
-
limitFormatted?: string;
|
|
1317
|
-
limitCount?: number;
|
|
1318
|
-
percent?: number;
|
|
1319
|
-
};
|
|
1320
|
-
fastOriginTransfer?: {
|
|
1321
|
-
usedMb: number;
|
|
1322
|
-
usedFormatted: string;
|
|
1323
|
-
limitFormatted: string;
|
|
1324
|
-
limitMb: number;
|
|
1325
|
-
percent: number;
|
|
1326
|
-
remainingFormatted: string;
|
|
1327
|
-
};
|
|
1328
|
-
edgeRequestCpuDuration?: {
|
|
1329
|
-
usedSeconds: number;
|
|
1330
|
-
usedFormatted: string;
|
|
1331
|
-
limitFormatted: string;
|
|
1332
|
-
limitSeconds: number;
|
|
1333
|
-
percent: number;
|
|
1334
|
-
remainingFormatted: string;
|
|
1335
|
-
};
|
|
1336
|
-
isrReads?: {
|
|
1337
|
-
usedCount: number;
|
|
1338
|
-
usedFormatted: string;
|
|
1339
|
-
limitFormatted: string;
|
|
1340
|
-
limitCount: number;
|
|
1341
|
-
percent: number;
|
|
1342
|
-
remainingFormatted: string;
|
|
1343
|
-
};
|
|
1344
|
-
}
|
|
1345
|
-
interface VercelProjectObservability {
|
|
1346
|
-
projectId: string;
|
|
1347
|
-
projectName: string;
|
|
1348
|
-
framework?: string;
|
|
1349
|
-
status: 'ACTIVE' | 'PAUSED' | 'BUILDING' | 'ERROR';
|
|
1350
|
-
displayStatus?: string;
|
|
1351
|
-
isPaused: boolean;
|
|
1352
|
-
edgeRequests: number;
|
|
1353
|
-
edgeRequestsFormatted: string;
|
|
1354
|
-
fastDataTransferGb: number;
|
|
1355
|
-
fastDataTransferFormatted: string;
|
|
1356
|
-
middlewareInvocations: number;
|
|
1357
|
-
middlewareInvocationsFormatted: string;
|
|
1358
|
-
deploymentUrl?: string;
|
|
1359
|
-
domains: string[];
|
|
1360
|
-
createdAt?: string;
|
|
1361
|
-
createdRelative?: string;
|
|
1362
|
-
createdBy?: string;
|
|
1363
|
-
sourceRepo?: string;
|
|
1364
|
-
sourceBranch?: string;
|
|
1365
|
-
commitSha?: string;
|
|
1366
|
-
commitMessage?: string;
|
|
1367
|
-
latestDeploymentUrl?: string;
|
|
1368
|
-
latestDeploymentStatus?: string;
|
|
1369
|
-
latestDeploymentCreatedAt?: string;
|
|
1370
|
-
gitRepo?: string;
|
|
1371
|
-
gitBranch?: string;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
interface AccountEntity {
|
|
1375
|
-
id: string;
|
|
1376
|
-
provider: ProviderType;
|
|
1377
|
-
name: string;
|
|
1378
|
-
emailOrSlug: string;
|
|
1379
|
-
tier?: AccountTier;
|
|
1380
|
-
status: 'CONNECTED' | 'EXPIRING' | 'ERROR';
|
|
1381
|
-
credentialType: 'API_TOKEN' | 'OAUTH' | 'SERVICE_KEY';
|
|
1382
|
-
deploymentCount: number;
|
|
1383
|
-
aggregateUsage: number;
|
|
1384
|
-
aggregateSpend: number;
|
|
1385
|
-
aggregateQuota: number;
|
|
1386
|
-
resetTime: string;
|
|
1387
|
-
createdAt: string;
|
|
1388
|
-
weightPreference?: number;
|
|
1389
|
-
usageMetrics?: VercelUsageMetrics;
|
|
1390
|
-
projectObservability?: VercelProjectObservability[];
|
|
1391
|
-
projectsList?: Array<{
|
|
1392
|
-
id: string;
|
|
1393
|
-
name: string;
|
|
1394
|
-
status: 'ACTIVE' | 'PAUSED';
|
|
1395
|
-
framework?: string;
|
|
1396
|
-
url?: string;
|
|
1397
|
-
updatedAt?: string;
|
|
1398
|
-
}>;
|
|
1399
|
-
metadata?: Record<string, any>;
|
|
1400
|
-
sharedVariables?: Record<string, string>;
|
|
1401
|
-
}
|
|
1402
|
-
interface DeploymentEntity {
|
|
1403
|
-
id: string;
|
|
1404
|
-
name: string;
|
|
1405
|
-
provider: ProviderType;
|
|
1406
|
-
accountId: string;
|
|
1407
|
-
providerDeploymentId: string;
|
|
1408
|
-
publicOrigin: string;
|
|
1409
|
-
bubbleTargetType?: 'DOMAIN' | 'DEPLOYMENT';
|
|
1410
|
-
domainUrl?: string;
|
|
1411
|
-
deploymentUrl?: string;
|
|
1412
|
-
status: 'READY' | 'BUILDING' | 'ERROR' | 'OFFLINE';
|
|
1413
|
-
health: HealthState;
|
|
1414
|
-
usage: number;
|
|
1415
|
-
spend: number;
|
|
1416
|
-
quota: number;
|
|
1417
|
-
quotaRemaining: number;
|
|
1418
|
-
resetTime: string;
|
|
1419
|
-
requestRate: number;
|
|
1420
|
-
resourceRate: number;
|
|
1421
|
-
createdAt: string;
|
|
1422
|
-
}
|
|
1423
|
-
interface AggregatedUrlItem {
|
|
1424
|
-
url: string;
|
|
1425
|
-
sourceNodeId: string;
|
|
1426
|
-
sourceNodeName: string;
|
|
1427
|
-
sourceNodeType: NodeType;
|
|
1428
|
-
isDirect: boolean;
|
|
1429
|
-
distance: number;
|
|
1430
|
-
}
|
|
1431
|
-
interface GraphNode {
|
|
1432
|
-
id: string;
|
|
1433
|
-
type: NodeType;
|
|
1434
|
-
x: number;
|
|
1435
|
-
y: number;
|
|
1436
|
-
appId: string;
|
|
1437
|
-
icon?: string;
|
|
1438
|
-
name?: string;
|
|
1439
|
-
componentName?: string;
|
|
1440
|
-
publicLink?: string;
|
|
1441
|
-
urlValue?: string;
|
|
1442
|
-
urls?: string[];
|
|
1443
|
-
aggregatedUrls?: string[];
|
|
1444
|
-
aggregatedUrlItems?: AggregatedUrlItem[];
|
|
1445
|
-
directUrls?: string[];
|
|
1446
|
-
deploymentId?: string;
|
|
1447
|
-
accountId?: string;
|
|
1448
|
-
bubbleTargetType?: 'DOMAIN' | 'DEPLOYMENT';
|
|
1449
|
-
domainUrl?: string;
|
|
1450
|
-
deploymentUrl?: string;
|
|
1451
|
-
weightModifierType?: 'USAGE' | 'USER_DEFINED' | 'ACCOUNT';
|
|
1452
|
-
weightValue?: number;
|
|
1453
|
-
systemDbData?: SystemDbConfig;
|
|
1454
|
-
systemBucketData?: SystemBucketConfig;
|
|
1455
|
-
adminCredsData?: AdminCredentialsConfig;
|
|
1456
|
-
appData?: AppEntity;
|
|
1457
|
-
evolutionScore?: number;
|
|
1458
|
-
redundancyScore?: number;
|
|
1459
|
-
modularityScore?: number;
|
|
1460
|
-
variantsScore?: number;
|
|
1461
|
-
visibilityScore?: number;
|
|
1462
|
-
evolutionStage?: string;
|
|
1463
|
-
ecosystemData?: {
|
|
1464
|
-
connectedAppsCount?: number;
|
|
1465
|
-
health?: HealthState;
|
|
1466
|
-
status?: string;
|
|
1467
|
-
routingRate?: number;
|
|
1468
|
-
redundancyScore?: number;
|
|
1469
|
-
modularityScore?: number;
|
|
1470
|
-
variantsScore?: number;
|
|
1471
|
-
visibilityScore?: number;
|
|
1472
|
-
evolutionScore?: number;
|
|
1473
|
-
};
|
|
1474
|
-
}
|
|
1475
|
-
interface GraphEdge {
|
|
1476
|
-
id: string;
|
|
1477
|
-
appId: string;
|
|
1478
|
-
sourceId: string;
|
|
1479
|
-
targetId: string;
|
|
1480
|
-
sourceSocketId?: string;
|
|
1481
|
-
targetSocketId?: string;
|
|
1482
|
-
label?: string;
|
|
1483
|
-
}
|
|
1484
|
-
interface AppEntity {
|
|
1485
|
-
id: string;
|
|
1486
|
-
name: string;
|
|
1487
|
-
icon: string;
|
|
1488
|
-
description?: string;
|
|
1489
|
-
publicLink: string;
|
|
1490
|
-
folderName?: string;
|
|
1491
|
-
createdAt: string;
|
|
1492
|
-
updatedAt: string;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
declare abstract class BaseResourceFetcher {
|
|
1496
|
-
abstract readonly provider: ProviderType;
|
|
1497
|
-
abstract readonly defaultTier: string;
|
|
1498
|
-
/**
|
|
1499
|
-
* Constructs HTTP authorization headers from stored account credentials.
|
|
1500
|
-
*/
|
|
1501
|
-
protected abstract getAuthHeaders(creds: Record<string, any>): Record<string, string>;
|
|
1502
|
-
/**
|
|
1503
|
-
* Queries the provider's live metrics endpoint(s).
|
|
1504
|
-
*/
|
|
1505
|
-
protected abstract fetchRawUsage(creds: Record<string, any>, options?: any): Promise<any>;
|
|
1506
|
-
/**
|
|
1507
|
-
* Transforms provider-specific raw payload into the normalized UnifiedResourceMetrics structure.
|
|
1508
|
-
*/
|
|
1509
|
-
abstract transformMetrics(raw: any, tier?: string, projectsCount?: number): UnifiedResourceMetrics;
|
|
1510
|
-
/**
|
|
1511
|
-
* Template method: Resolves credentials, queries the provider's APIs, and normalizes metrics.
|
|
1512
|
-
*/
|
|
1513
|
-
fetchMetrics(account: AccountEntity): Promise<UnifiedResourceMetrics>;
|
|
1514
|
-
/**
|
|
1515
|
-
* Shared weighted resource score calculation (0.0 to 1.0).
|
|
1516
|
-
* - Active CPU receives the highest weight (50% / 0.50).
|
|
1517
|
-
* - Invocations: 15% (0.15).
|
|
1518
|
-
* - Compute Memory / Subrequests: 15% (0.15).
|
|
1519
|
-
* - Edge Requests: 10% (0.10).
|
|
1520
|
-
* - Bandwidth / Data Transfer: 5% (0.05).
|
|
1521
|
-
* - Other compute / network metrics: 5% (0.05).
|
|
1522
|
-
* - Storage parameters (Functions Storage, Deployment Storage, R2) are strictly EXCLUDED (0%).
|
|
1523
|
-
*/
|
|
1524
|
-
computeWeightScore(metrics?: UnifiedResourceMetrics | Record<string, any>, deployment?: DeploymentEntity, account?: AccountEntity): number;
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
declare class VercelResourceFetcher extends BaseResourceFetcher {
|
|
1528
|
-
readonly provider: ProviderType;
|
|
1529
|
-
readonly defaultTier = "hobby";
|
|
1530
|
-
protected getAuthHeaders(creds: Record<string, any>): Record<string, string>;
|
|
1531
|
-
protected fetchRawUsage(creds: Record<string, any>, options?: any): Promise<any>;
|
|
1532
|
-
transformMetrics(raw: any, tier?: string, projectsCount?: number): UnifiedResourceMetrics;
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
declare class CloudflareResourceFetcher extends BaseResourceFetcher {
|
|
1536
|
-
readonly provider: ProviderType;
|
|
1537
|
-
readonly defaultTier = "free";
|
|
1538
|
-
protected getAuthHeaders(creds: Record<string, any>): Record<string, string>;
|
|
1539
|
-
protected fetchRawUsage(creds: Record<string, any>, options?: any): Promise<any>;
|
|
1540
|
-
transformMetrics(raw: any, tier?: string, projectsCount?: number): UnifiedResourceMetrics;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
type ResourceCategory = 'compute' | 'memory' | 'execution' | 'requests' | 'network' | 'storage';
|
|
1544
|
-
interface GeneralizedResourceMetric {
|
|
1545
|
-
id: string;
|
|
1546
|
-
name: string;
|
|
1547
|
-
category: ResourceCategory;
|
|
1548
|
-
used: number;
|
|
1549
|
-
limit: number;
|
|
1550
|
-
unit: string;
|
|
1551
|
-
usedFormatted: string;
|
|
1552
|
-
limitFormatted: string;
|
|
1553
|
-
remainingFormatted: string;
|
|
1554
|
-
percentUsed: number;
|
|
1555
|
-
percentRemaining: number;
|
|
1556
|
-
isMonthlyDepletable: boolean;
|
|
1557
|
-
importanceWeight: number;
|
|
1558
|
-
}
|
|
1559
|
-
interface GeneralizedResourceVector {
|
|
1560
|
-
provider: ProviderType | string;
|
|
1561
|
-
tier: string;
|
|
1562
|
-
periodLabel: string;
|
|
1563
|
-
metrics: GeneralizedResourceMetric[];
|
|
1564
|
-
metadata?: Record<string, any>;
|
|
1565
|
-
}
|
|
1566
|
-
interface ResourceCalculationResult {
|
|
1567
|
-
effectiveWeight: number;
|
|
1568
|
-
percentRemaining: number;
|
|
1569
|
-
dominantBottleneck: GeneralizedResourceMetric;
|
|
1570
|
-
metrics: GeneralizedResourceMetric[];
|
|
1571
|
-
summaryLabel: string;
|
|
1572
|
-
}
|
|
1573
|
-
interface IResourceProviderAdapter {
|
|
1574
|
-
readonly provider: ProviderType;
|
|
1575
|
-
readonly defaultTier: string;
|
|
1576
|
-
fetchUsage(creds: Record<string, any>, options?: any): Promise<any>;
|
|
1577
|
-
transformToGeneralizedVector(raw: any, tier?: string, projectsCount?: number, existingMetrics?: any): GeneralizedResourceVector;
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
declare class ResourceFetcherRegistry {
|
|
1581
|
-
private static fetchers;
|
|
1582
|
-
private static adapters;
|
|
1583
|
-
private static defaultFetcher;
|
|
1584
|
-
private static defaultAdapter;
|
|
1585
|
-
static register(fetcher: BaseResourceFetcher): void;
|
|
1586
|
-
static getFetcher(provider?: ProviderType | string): BaseResourceFetcher;
|
|
1587
|
-
static getAdapter(provider?: ProviderType | string): IResourceProviderAdapter;
|
|
1588
|
-
static getSupportedProviders(): string[];
|
|
1589
|
-
/**
|
|
1590
|
-
* Dynamically fetches live metrics for an account using its matching provider fetcher.
|
|
1591
|
-
*/
|
|
1592
|
-
static fetchAccountMetrics(account: AccountEntity): Promise<UnifiedResourceMetrics>;
|
|
1593
|
-
/**
|
|
1594
|
-
* Computes the normalized resource weight score (0.00 to 1.00) using the decoupled Universal Calculator.
|
|
1595
|
-
*/
|
|
1596
|
-
static computeScore(account?: AccountEntity, deployment?: DeploymentEntity): number;
|
|
1597
|
-
/**
|
|
1598
|
-
* Full calculation returning effective weight, percent remaining, and dominant bottleneck.
|
|
1599
|
-
*/
|
|
1600
|
-
static calculateDetailedScore(account?: AccountEntity, deployment?: DeploymentEntity): ResourceCalculationResult;
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* Calculates the score (0.0 - 1.0) for a weight modifier or source node.
|
|
1605
|
-
* WEIGHT_MULTIPLY itself is not a source score — its inputs are collected by traversal.
|
|
1606
|
-
*/
|
|
1607
|
-
declare function getWeightModifierScore(node: GraphNode, account?: AccountEntity, accounts?: AccountEntity[], nodes?: GraphNode[], edges?: GraphEdge[], deployments?: DeploymentEntity[]): number;
|
|
1608
|
-
/**
|
|
1609
|
-
* Traverses graph to find all terminal weight modifier source nodes reachable from
|
|
1610
|
-
* a deployment node, including traversing through WEIGHT_MULTIPLY aggregator nodes.
|
|
1611
|
-
*/
|
|
1612
|
-
declare function getConnectedWeightModifiers(deploymentNodeId: string, nodes: GraphNode[], edges: GraphEdge[]): GraphNode[];
|
|
1613
|
-
/**
|
|
1614
|
-
* Computes the final combined weight for a deployment node by multiplying all connected
|
|
1615
|
-
* weight modifier/source node scores together (traversing through WEIGHT_MULTIPLY nodes).
|
|
1616
|
-
*/
|
|
1617
|
-
declare function computeDeploymentFinalWeight(deploymentNodeId: string, nodes: GraphNode[], edges: GraphEdge[], accounts: AccountEntity[], deployments: DeploymentEntity[]): number;
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* Calculates the score (0.0 - 1.0) for a WEIGHT_RESOURCE node based on real-time account usage metrics.
|
|
1621
|
-
* Dynamically resolves provider-specific fetchers (Vercel, Cloudflare, etc.) using OOP inheritance.
|
|
1622
|
-
* - Active CPU receives the most weight (50% / 0.50) across all services.
|
|
1623
|
-
* - Function Invocations: 15% (0.15).
|
|
1624
|
-
* - Compute Memory / Subrequests: 15% (0.15).
|
|
1625
|
-
* - Edge Requests: 10% (0.10).
|
|
1626
|
-
* - Fast Data Transfer / Bandwidth: 5% (0.05).
|
|
1627
|
-
* - Other compute / network metrics: 5% (0.05).
|
|
1628
|
-
* - Storage category parameters (Functions Storage, Deployment Storage, R2) are strictly EXCLUDED (0%).
|
|
1629
|
-
*/
|
|
1630
|
-
declare function computeUsageWeightScore(account?: AccountEntity, deployment?: DeploymentEntity): number;
|
|
1631
|
-
/**
|
|
1632
|
-
* Traverses from a weight modifier node to find its connected deployment node.
|
|
1633
|
-
*/
|
|
1634
|
-
declare function getConnectedDeploymentNode(weightNodeId: string, nodes: GraphNode[], edges: GraphEdge[]): GraphNode | undefined;
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* @file systemDatabaseUrl.ts
|
|
1638
|
-
* @description Centralized SYSTEM_DATABASE_URL resolver adhering to SKIPO Invariant §16.
|
|
1639
|
-
* Precedence: SYSTEM_DATABASE_URL_1 (primary) > SYSTEM_DATABASE_URL_2 (fallback #1) > SYSTEM_DATABASE_URL_3 (fallback #2).
|
|
1640
|
-
* Strictly forbids fallback to generic DATABASE_URL.
|
|
1641
|
-
*/
|
|
1642
|
-
/**
|
|
1643
|
-
* Resolves the active system database URL following the strict 1 -> 2 -> 3 precedence.
|
|
1644
|
-
* Throws a deterministic descriptive error if no system database URL is configured.
|
|
1645
|
-
*
|
|
1646
|
-
* @param env - Environment record (defaults to process.env in Node runtime)
|
|
1647
|
-
* @returns Validated system database connection string
|
|
1648
|
-
*/
|
|
1649
|
-
declare function resolveSystemDatabaseUrl(env?: Record<string, string | undefined>): string;
|
|
1650
|
-
/**
|
|
1651
|
-
* Safe version that returns null instead of throwing if unconfigured.
|
|
1652
|
-
*/
|
|
1653
|
-
declare function tryResolveSystemDatabaseUrl(env?: Record<string, string | undefined>): string | null;
|
|
1654
|
-
|
|
1655
|
-
export { type AssetChannelType, type AssetDataType, type AssetFolderInfo, type AssetPoolItem, type AssetPoolScope, type B2AuthData, type BackendFacade, BaseDataProvider, BaseResourceFetcher, type CloudflareObservability, type CloudflarePagesPauseState, type CloudflarePagesPreviewSetting, type CloudflareProjectItem, CloudflareResourceFetcher, type CloudflareUsageMetrics, type CredentialEntry, type CredentialManifest, type Deployment, type DeploymentControlResult, type FunctionSet, FunctionalityTable, GRAPHS_ROOT, type IDataProvider, LEGACY_PROJECTS_ROOT, type OrchestrationFn, PROJECTS_ROOT, type ProjectMetadata, type PublicRouteRecord, type QueryFilter, ResourceFetcherRegistry, type Runtime, SAMPLES_GLOBAL_ROOT, SUPPORTED_AUDIO_EXTS, SUPPORTED_MIDI_EXTS, type ServerAudioSampleItem, type ServiceFacade, type ServiceRegistryRecord, type SortOrder, type SrklB2Account, SrklStorageService, type SyncFileResult, type UnifiedQueryResult, type UnifiedResourceMetricItem, type UnifiedResourceMetrics, VercelResourceFetcher, WORKSPACE_ASSETS_ROOT, WORKSPACE_ROOT, type WorkingWorkspaceConfig, type WorkspaceFolderResolution, type WorkspaceStorageConfig, b2DeleteFileVersion, b2DeleteFolder, buildProjectObservability, buildProjectsList, cleanDbUrl, clearLuthDiscoveryCache, computeDeploymentFinalWeight, computeUsageWeightScore, configureStarterProjectTemplate, createAssetSubfolder, createCredential, createGraphAssetFolder, createGraphAssetFolder as createGraphAssetSubfolder, createGraphPackage, createWavBuffer, createWorkspace, createWorkspaceGraph, decryptSecretFromBlob, deleteAssetFromGraph, deleteAssetFromPool, deleteCredential, deleteGlobalSample, deleteGraphPackage, deleteProject, deleteProjectSample, deleteRoute, deleteWorkspace, deleteWorkspaceFile, deleteWorkspaceFolder, deleteWorkspaceGraph, encryptSecretToBlob, ensureAssetPoolDirectories, ensureGlobalSamples, ensureGraphAssetDirectories, ensureProjectAssets, ensureProjectsRoot, ensureWorkspaceStructure, exportEncryptedCredentials, fetchCloudflareData, fetchVercelData, findUserWorkspace, findWorkspaceRecord, formatRelativeCreated, getAllRoutes, getAssetPoolLocationPath, getAssetPoolPublicUrl, getB2BucketId, getConnectedDeploymentNode, getConnectedWeightModifiers, getCredential, getDefaultWorkingWorkspaceDir, getExecutions, getGatewayConfig, getGraphPackageById, getNextLuthDeploymentUrl, getPrimaryLuthDeploymentUrl, getPrimarySrklDeploymentUrl as getPrimarySrklCoreDeploymentUrl, getProjectById, getPublicRouteByPath, getPublicRoutes, getRegisteredLuthDeploymentUrls, getSrklAccounts as getSrklCoreAccounts, getSrklStatus, getUnifiedDbUrl, getWeightModifierScore, getWorkingWorkspaceConfig, getWorkingWorkspaceDir, getWorkspaceFolderKey, getWorkspaceFolderPrefix, getWorkspaceGraph, getWorkspaceStorageDetails, getWorkspaces, importEncryptedCredentials, importGraphDependency, initGlobalSamplesDirectory, isB2Workspace, listAllGraphPackages, listAllProjects, listBackblazeBuckets, listCredentials, listGlobalSamples, listProjectSamples, listWorkspaceFiles, listWorkspaceGraphs, loadCredentialManifest, loadWorkspaceData, matchGatewayIngress, matchGatewayIngressAsync, pauseCloudflarePagesProject, pauseVercelProject, queryUnifiedDb, readWorkspaceFile, recordExecution, removeGraphDependency, renameAppInWorkspaceData, resolveDynamicRouteFromDb, resolveSystemDatabaseUrl, resolveWorkspaceConnection, resolveWorkspaceDir, resumeCloudflarePagesProject, resumeVercelProject, saveAssetToGraph, saveAssetToPool, saveCredentialManifest, saveGlobalSample, saveGraphPackage, saveProject, saveProjectSample, saveWorkspaceData, saveWorkspaceGraph, scanAssetPool, scanGraphAssets, seedDefaultAssets, seedStarterGraphAssets, serverPublicRoutes, setServerPublicRoutes, setWorkingWorkspaceConfig, srklListBackblazeBuckets as srklCoreListBackblazeBuckets, syncWorkspace, syncWorkspaceCreateToBucket, syncWorkspaceDataToBucket, syncWorkspaceDeleteToBucket, tryResolveSystemDatabaseUrl, updateCredential, updateWorkspace, upsertRoute, validateServiceDefinition, writeWorkspaceFile };
|
|
1
|
+
export * from './auth/index.js';
|
|
2
|
+
export * from './storage/index.js';
|
|
3
|
+
export * from './workspace/index.js';
|
|
4
|
+
export * from './control-plane/index.js';
|
|
5
|
+
export * from './api/index.js';
|
|
6
|
+
export * from './data/index.js';
|
|
7
|
+
export * from './connectivity/index.js';
|
|
8
|
+
export * from './client/index.js';
|
|
9
|
+
export * from './srkl/index.js';
|
|
10
|
+
export * from './luth/index.js';
|
|
11
|
+
export type { Runtime, Deployment, FunctionSet, ServiceFacade, OrchestrationFn, BackendFacade, ServiceRegistryRecord, } from './architecture/types.js';
|
|
12
|
+
export { validateServiceDefinition } from './architecture/types.js';
|
|
13
|
+
export * from './services/index.js';
|
|
14
|
+
export * from './core/index.js';
|
|
15
|
+
export * from './server/index.js';
|
|
16
|
+
export * from './krnl-services.js';
|
|
17
|
+
export * from './resourceEngine/index.js';
|
|
18
|
+
export * from './resolver/systemDatabaseUrl.js';
|
|
19
|
+
export { authorizeB2, b2DownloadFile, b2ListBuckets, b2ListFileNames, b2UploadFile, } from './storage/index.js';
|
|
20
|
+
export type { WorkspaceSyncSummary } from './workspace/index.js';
|
|
21
|
+
export * from './ai-provider/index.js';
|
|
22
|
+
export * from './ai-inference/index.js';
|
|
23
|
+
export * from './ai-models/index.js';
|
|
24
|
+
export * from './ai-routing/index.js';
|
|
25
|
+
export * from './ai-keys/index.js';
|
|
26
|
+
export * from './ai-tools/index.js';
|
|
27
|
+
export * from './krnl-ai-services.js';
|