@undefineds.co/xpod 0.3.58 → 0.3.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/config/cli.json +88 -0
- package/config/cloud.json +32 -1
- package/config/components-ignore.json +3 -0
- package/config/extensions.local.initializer.json +44 -0
- package/config/resolver.json +86 -0
- package/config/xpod.base.json +4 -0
- package/dist/agents/AgentExecutorFactory.d.ts +3 -3
- package/dist/agents/AgentExecutorFactory.js +28 -15
- package/dist/agents/AgentExecutorFactory.js.map +1 -1
- package/dist/agents/BaseAgentExecutor.d.ts +2 -1
- package/dist/agents/BaseAgentExecutor.js +1 -0
- package/dist/agents/BaseAgentExecutor.js.map +1 -1
- package/dist/agents/ClaudeExecutor.d.ts +3 -1
- package/dist/agents/ClaudeExecutor.js +18 -12
- package/dist/agents/ClaudeExecutor.js.map +1 -1
- package/dist/agents/config/resolve.js +0 -21
- package/dist/agents/config/resolve.js.map +1 -1
- package/dist/agents/config/types.d.ts +2 -7
- package/dist/agents/config/types.js +2 -1
- package/dist/agents/config/types.js.map +1 -1
- package/dist/agents/types.d.ts +18 -0
- package/dist/agents/types.js.map +1 -1
- package/dist/ai/schema/types.d.ts +2 -1
- package/dist/ai/schema/types.js +1 -0
- package/dist/ai/schema/types.js.map +1 -1
- package/dist/ai/service/CredentialReader.d.ts +3 -1
- package/dist/ai/service/CredentialReader.js.map +1 -1
- package/dist/ai/service/CredentialReaderImpl.d.ts +3 -1
- package/dist/ai/service/CredentialReaderImpl.js +24 -2
- package/dist/ai/service/CredentialReaderImpl.js.map +1 -1
- package/dist/ai/service/EmbeddingServiceImpl.js +13 -2
- package/dist/ai/service/EmbeddingServiceImpl.js.map +1 -1
- package/dist/ai/service/ProviderRegistry.d.ts +4 -0
- package/dist/ai/service/ProviderRegistry.js.map +1 -1
- package/dist/ai/service/ProviderRegistry.jsonld +4 -0
- package/dist/ai/service/ProviderRegistryImpl.d.ts +4 -1
- package/dist/ai/service/ProviderRegistryImpl.js +26 -4
- package/dist/ai/service/ProviderRegistryImpl.js.map +1 -1
- package/dist/ai/service/ProviderRegistryImpl.jsonld +12 -0
- package/dist/ai/service/defaultEmbeddingProfile.d.ts +5 -0
- package/dist/ai/service/defaultEmbeddingProfile.js +31 -0
- package/dist/ai/service/defaultEmbeddingProfile.js.map +1 -0
- package/dist/ai/service/index.d.ts +1 -0
- package/dist/ai/service/index.js +1 -0
- package/dist/ai/service/index.js.map +1 -1
- package/dist/ai/service/types.d.ts +1 -0
- package/dist/ai/service/types.js.map +1 -1
- package/dist/api/ApiServer.js +17 -2
- package/dist/api/ApiServer.js.map +1 -1
- package/dist/api/ai-gateway/AiGatewayService.d.ts +106 -0
- package/dist/api/ai-gateway/AiGatewayService.js +527 -0
- package/dist/api/ai-gateway/AiGatewayService.js.map +1 -0
- package/dist/api/ai-gateway/auth/AiConnectionInvocationKeyIssuer.d.ts +38 -0
- package/dist/api/ai-gateway/auth/AiConnectionInvocationKeyIssuer.js +128 -0
- package/dist/api/ai-gateway/auth/AiConnectionInvocationKeyIssuer.js.map +1 -0
- package/dist/api/ai-gateway/auth/ClientCredentialsInternalPodAccessTokenProvider.d.ts +25 -0
- package/dist/api/ai-gateway/auth/ClientCredentialsInternalPodAccessTokenProvider.js +91 -0
- package/dist/api/ai-gateway/auth/ClientCredentialsInternalPodAccessTokenProvider.js.map +1 -0
- package/dist/api/ai-gateway/auth/GatewayApiKey.d.ts +28 -0
- package/dist/api/ai-gateway/auth/GatewayApiKey.js +162 -0
- package/dist/api/ai-gateway/auth/GatewayApiKey.js.map +1 -0
- package/dist/api/ai-gateway/auth/GatewayApiKeyAuthenticator.d.ts +56 -0
- package/dist/api/ai-gateway/auth/GatewayApiKeyAuthenticator.js +143 -0
- package/dist/api/ai-gateway/auth/GatewayApiKeyAuthenticator.js.map +1 -0
- package/dist/api/ai-gateway/auth/GatewayKeyLocatorCodec.d.ts +26 -0
- package/dist/api/ai-gateway/auth/GatewayKeyLocatorCodec.js +97 -0
- package/dist/api/ai-gateway/auth/GatewayKeyLocatorCodec.js.map +1 -0
- package/dist/api/ai-gateway/auth/GatewayPrincipal.d.ts +20 -0
- package/dist/api/ai-gateway/auth/GatewayPrincipal.js +37 -0
- package/dist/api/ai-gateway/auth/GatewayPrincipal.js.map +1 -0
- package/dist/api/ai-gateway/auth/InvocationTokenCodec.d.ts +41 -0
- package/dist/api/ai-gateway/auth/InvocationTokenCodec.js +221 -0
- package/dist/api/ai-gateway/auth/InvocationTokenCodec.js.map +1 -0
- package/dist/api/ai-gateway/auth/PodGatewayAccessKeyRepository.d.ts +54 -0
- package/dist/api/ai-gateway/auth/PodGatewayAccessKeyRepository.js +152 -0
- package/dist/api/ai-gateway/auth/PodGatewayAccessKeyRepository.js.map +1 -0
- package/dist/api/ai-gateway/connect/index.d.ts +367 -0
- package/dist/api/ai-gateway/connect/index.js +1061 -0
- package/dist/api/ai-gateway/connect/index.js.map +1 -0
- package/dist/api/ai-gateway/credentials/CloudKmsWrapper.d.ts +40 -0
- package/dist/api/ai-gateway/credentials/CloudKmsWrapper.js +59 -0
- package/dist/api/ai-gateway/credentials/CloudKmsWrapper.js.map +1 -0
- package/dist/api/ai-gateway/credentials/CredentialVault.d.ts +14 -0
- package/dist/api/ai-gateway/credentials/CredentialVault.js +11 -0
- package/dist/api/ai-gateway/credentials/CredentialVault.js.map +1 -0
- package/dist/api/ai-gateway/credentials/KeyWrapper.d.ts +27 -0
- package/dist/api/ai-gateway/credentials/KeyWrapper.js +3 -0
- package/dist/api/ai-gateway/credentials/KeyWrapper.js.map +1 -0
- package/dist/api/ai-gateway/credentials/LocalKeychainWrapper.d.ts +27 -0
- package/dist/api/ai-gateway/credentials/LocalKeychainWrapper.js +145 -0
- package/dist/api/ai-gateway/credentials/LocalKeychainWrapper.js.map +1 -0
- package/dist/api/ai-gateway/credentials/SecretCellCredentialVault.d.ts +13 -0
- package/dist/api/ai-gateway/credentials/SecretCellCredentialVault.js +133 -0
- package/dist/api/ai-gateway/credentials/SecretCellCredentialVault.js.map +1 -0
- package/dist/api/ai-gateway/credentials/SecretCellKeyWrapper.d.ts +23 -0
- package/dist/api/ai-gateway/credentials/SecretCellKeyWrapper.js +62 -0
- package/dist/api/ai-gateway/credentials/SecretCellKeyWrapper.js.map +1 -0
- package/dist/api/ai-gateway/credentials/WebCryptoCredentialVault.d.ts +23 -0
- package/dist/api/ai-gateway/credentials/WebCryptoCredentialVault.js +173 -0
- package/dist/api/ai-gateway/credentials/WebCryptoCredentialVault.js.map +1 -0
- package/dist/api/ai-gateway/errors.d.ts +21 -0
- package/dist/api/ai-gateway/errors.js +50 -0
- package/dist/api/ai-gateway/errors.js.map +1 -0
- package/dist/api/ai-gateway/protocol/ChatCompletionsFrontend.d.ts +6 -0
- package/dist/api/ai-gateway/protocol/ChatCompletionsFrontend.js +111 -0
- package/dist/api/ai-gateway/protocol/ChatCompletionsFrontend.js.map +1 -0
- package/dist/api/ai-gateway/protocol/MessagesFrontend.d.ts +6 -0
- package/dist/api/ai-gateway/protocol/MessagesFrontend.js +99 -0
- package/dist/api/ai-gateway/protocol/MessagesFrontend.js.map +1 -0
- package/dist/api/ai-gateway/protocol/ResponsesFrontend.d.ts +6 -0
- package/dist/api/ai-gateway/protocol/ResponsesFrontend.js +232 -0
- package/dist/api/ai-gateway/protocol/ResponsesFrontend.js.map +1 -0
- package/dist/api/ai-gateway/protocol/index.d.ts +3 -0
- package/dist/api/ai-gateway/protocol/index.js +10 -0
- package/dist/api/ai-gateway/protocol/index.js.map +1 -0
- package/dist/api/ai-gateway/providers/AnthropicRuntimeAdapter.d.ts +7 -0
- package/dist/api/ai-gateway/providers/AnthropicRuntimeAdapter.js +37 -0
- package/dist/api/ai-gateway/providers/AnthropicRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/BailianRuntimeAdapter.d.ts +9 -0
- package/dist/api/ai-gateway/providers/BailianRuntimeAdapter.js +127 -0
- package/dist/api/ai-gateway/providers/BailianRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/DeepSeekRuntimeAdapter.d.ts +8 -0
- package/dist/api/ai-gateway/providers/DeepSeekRuntimeAdapter.js +47 -0
- package/dist/api/ai-gateway/providers/DeepSeekRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/KimiRuntimeAdapter.d.ts +8 -0
- package/dist/api/ai-gateway/providers/KimiRuntimeAdapter.js +57 -0
- package/dist/api/ai-gateway/providers/KimiRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/OpenAiCompatibleRuntimeAdapter.d.ts +1 -0
- package/dist/api/ai-gateway/providers/OpenAiCompatibleRuntimeAdapter.js +6 -0
- package/dist/api/ai-gateway/providers/OpenAiCompatibleRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/OpenAiRuntimeAdapter.d.ts +13 -0
- package/dist/api/ai-gateway/providers/OpenAiRuntimeAdapter.js +34 -0
- package/dist/api/ai-gateway/providers/OpenAiRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/ProviderRegistry.d.ts +68 -0
- package/dist/api/ai-gateway/providers/ProviderRegistry.js +288 -0
- package/dist/api/ai-gateway/providers/ProviderRegistry.js.map +1 -0
- package/dist/api/ai-gateway/providers/ProviderRuntimeAdapter.d.ts +88 -0
- package/dist/api/ai-gateway/providers/ProviderRuntimeAdapter.js +645 -0
- package/dist/api/ai-gateway/providers/ProviderRuntimeAdapter.js.map +1 -0
- package/dist/api/ai-gateway/providers/ProviderRuntimeRegistry.d.ts +13 -0
- package/dist/api/ai-gateway/providers/ProviderRuntimeRegistry.js +48 -0
- package/dist/api/ai-gateway/providers/ProviderRuntimeRegistry.js.map +1 -0
- package/dist/api/ai-gateway/providers/index.d.ts +9 -0
- package/dist/api/ai-gateway/providers/index.js +26 -0
- package/dist/api/ai-gateway/providers/index.js.map +1 -0
- package/dist/api/ai-gateway/quota/AnthropicQuotaAdapter.d.ts +5 -0
- package/dist/api/ai-gateway/quota/AnthropicQuotaAdapter.js +21 -0
- package/dist/api/ai-gateway/quota/AnthropicQuotaAdapter.js.map +1 -0
- package/dist/api/ai-gateway/quota/BailianQuotaAdapter.d.ts +5 -0
- package/dist/api/ai-gateway/quota/BailianQuotaAdapter.js +21 -0
- package/dist/api/ai-gateway/quota/BailianQuotaAdapter.js.map +1 -0
- package/dist/api/ai-gateway/quota/DeepSeekQuotaAdapter.d.ts +10 -0
- package/dist/api/ai-gateway/quota/DeepSeekQuotaAdapter.js +83 -0
- package/dist/api/ai-gateway/quota/DeepSeekQuotaAdapter.js.map +1 -0
- package/dist/api/ai-gateway/quota/KimiQuotaAdapter.d.ts +10 -0
- package/dist/api/ai-gateway/quota/KimiQuotaAdapter.js +70 -0
- package/dist/api/ai-gateway/quota/KimiQuotaAdapter.js.map +1 -0
- package/dist/api/ai-gateway/quota/OpenAiQuotaAdapter.d.ts +5 -0
- package/dist/api/ai-gateway/quota/OpenAiQuotaAdapter.js +21 -0
- package/dist/api/ai-gateway/quota/OpenAiQuotaAdapter.js.map +1 -0
- package/dist/api/ai-gateway/quota/ProviderQuotaAdapter.d.ts +214 -0
- package/dist/api/ai-gateway/quota/ProviderQuotaAdapter.js +511 -0
- package/dist/api/ai-gateway/quota/ProviderQuotaAdapter.js.map +1 -0
- package/dist/api/ai-gateway/quota/index.d.ts +6 -0
- package/dist/api/ai-gateway/quota/index.js +23 -0
- package/dist/api/ai-gateway/quota/index.js.map +1 -0
- package/dist/api/ai-gateway/routing/InMemorySessionAffinityStore.d.ts +26 -0
- package/dist/api/ai-gateway/routing/InMemorySessionAffinityStore.js +67 -0
- package/dist/api/ai-gateway/routing/InMemorySessionAffinityStore.js.map +1 -0
- package/dist/api/ai-gateway/routing/ModelRouter.d.ts +84 -0
- package/dist/api/ai-gateway/routing/ModelRouter.js +274 -0
- package/dist/api/ai-gateway/routing/ModelRouter.js.map +1 -0
- package/dist/api/ai-gateway/routing/RedisSessionAffinityStore.d.ts +39 -0
- package/dist/api/ai-gateway/routing/RedisSessionAffinityStore.js +122 -0
- package/dist/api/ai-gateway/routing/RedisSessionAffinityStore.js.map +1 -0
- package/dist/api/ai-gateway/routing/SessionAffinityStore.d.ts +49 -0
- package/dist/api/ai-gateway/routing/SessionAffinityStore.js +66 -0
- package/dist/api/ai-gateway/routing/SessionAffinityStore.js.map +1 -0
- package/dist/api/ai-gateway/service-access/AiConnectionServiceAccess.d.ts +25 -0
- package/dist/api/ai-gateway/service-access/AiConnectionServiceAccess.js +50 -0
- package/dist/api/ai-gateway/service-access/AiConnectionServiceAccess.js.map +1 -0
- package/dist/api/ai-gateway/types.d.ts +112 -0
- package/dist/api/ai-gateway/types.js +305 -0
- package/dist/api/ai-gateway/types.js.map +1 -0
- package/dist/api/auth/AuthContext.d.ts +18 -3
- package/dist/api/auth/AuthContext.js +13 -2
- package/dist/api/auth/AuthContext.js.map +1 -1
- package/dist/api/auth/Authenticator.d.ts +3 -0
- package/dist/api/auth/Authenticator.js.map +1 -1
- package/dist/api/auth/ClientCredentialsAuthenticator.d.ts +2 -6
- package/dist/api/auth/ClientCredentialsAuthenticator.js +12 -30
- package/dist/api/auth/ClientCredentialsAuthenticator.js.map +1 -1
- package/dist/api/auth/SolidTokenAuthenticator.d.ts +2 -0
- package/dist/api/auth/SolidTokenAuthenticator.js +88 -2
- package/dist/api/auth/SolidTokenAuthenticator.js.map +1 -1
- package/dist/api/auth/TokenIdentity.d.ts +6 -0
- package/dist/api/auth/TokenIdentity.js +31 -0
- package/dist/api/auth/TokenIdentity.js.map +1 -0
- package/dist/api/chatkit/ai-provider.d.ts +9 -23
- package/dist/api/chatkit/ai-provider.js +30 -153
- package/dist/api/chatkit/ai-provider.js.map +1 -1
- package/dist/api/chatkit/default-agent.d.ts +24 -15
- package/dist/api/chatkit/default-agent.js +24 -83
- package/dist/api/chatkit/default-agent.js.map +1 -1
- package/dist/api/chatkit/index.d.ts +2 -1
- package/dist/api/chatkit/index.js +3 -1
- package/dist/api/chatkit/index.js.map +1 -1
- package/dist/api/chatkit/pod-store.d.ts +13 -1
- package/dist/api/chatkit/pod-store.js +127 -7
- package/dist/api/chatkit/pod-store.js.map +1 -1
- package/dist/api/chatkit/runtime/AcpAgentRuntime.d.ts +0 -1
- package/dist/api/chatkit/runtime/AcpAgentRuntime.js +14 -51
- package/dist/api/chatkit/runtime/AcpAgentRuntime.js.map +1 -1
- package/dist/api/chatkit/runtime/AcpRunner.js +2 -1
- package/dist/api/chatkit/runtime/AcpRunner.js.map +1 -1
- package/dist/api/chatkit/runtime/CodexRuntimeProjector.d.ts +15 -1
- package/dist/api/chatkit/runtime/CodexRuntimeProjector.js +52 -34
- package/dist/api/chatkit/runtime/CodexRuntimeProjector.js.map +1 -1
- package/dist/api/chatkit/service.d.ts +8 -1
- package/dist/api/chatkit/service.js +46 -5
- package/dist/api/chatkit/service.js.map +1 -1
- package/dist/api/chatkit/store.d.ts +23 -1
- package/dist/api/chatkit/store.js +56 -0
- package/dist/api/chatkit/store.js.map +1 -1
- package/dist/api/chatkit/types.d.ts +1 -0
- package/dist/api/chatkit/types.js.map +1 -1
- package/dist/api/container/common.js +286 -13
- package/dist/api/container/common.js.map +1 -1
- package/dist/api/container/index.js +126 -6
- package/dist/api/container/index.js.map +1 -1
- package/dist/api/container/local.js +50 -6
- package/dist/api/container/local.js.map +1 -1
- package/dist/api/container/rdf.d.ts +15 -0
- package/dist/api/container/rdf.js +90 -0
- package/dist/api/container/rdf.js.map +1 -0
- package/dist/api/container/routes.js +151 -11
- package/dist/api/container/routes.js.map +1 -1
- package/dist/api/container/types.d.ts +96 -0
- package/dist/api/container/types.js.map +1 -1
- package/dist/api/handlers/AdminHandler.d.ts +25 -2
- package/dist/api/handlers/AdminHandler.js +60 -10
- package/dist/api/handlers/AdminHandler.js.map +1 -1
- package/dist/api/handlers/AiClientConfigurationHandler.d.ts +7 -0
- package/dist/api/handlers/AiClientConfigurationHandler.js +202 -0
- package/dist/api/handlers/AiClientConfigurationHandler.js.map +1 -0
- package/dist/api/handlers/AiGatewayHandler.d.ts +23 -0
- package/dist/api/handlers/AiGatewayHandler.js +231 -0
- package/dist/api/handlers/AiGatewayHandler.js.map +1 -0
- package/dist/api/handlers/AiGatewayManagementHandler.d.ts +24 -0
- package/dist/api/handlers/AiGatewayManagementHandler.js +503 -0
- package/dist/api/handlers/AiGatewayManagementHandler.js.map +1 -0
- package/dist/api/handlers/ChatHandler.d.ts +11 -12
- package/dist/api/handlers/ChatHandler.js +12 -219
- package/dist/api/handlers/ChatHandler.js.map +1 -1
- package/dist/api/handlers/DashboardHandler.js +22 -116
- package/dist/api/handlers/DashboardHandler.js.map +1 -1
- package/dist/api/handlers/NetworkSettingsHandler.d.ts +97 -0
- package/dist/api/handlers/NetworkSettingsHandler.js +511 -0
- package/dist/api/handlers/NetworkSettingsHandler.js.map +1 -0
- package/dist/api/handlers/PodSettingsHandler.d.ts +79 -0
- package/dist/api/handlers/PodSettingsHandler.js +162 -0
- package/dist/api/handlers/PodSettingsHandler.js.map +1 -0
- package/dist/api/handlers/ProvisionHandler.d.ts +3 -1
- package/dist/api/handlers/ProvisionHandler.js +22 -87
- package/dist/api/handlers/ProvisionHandler.js.map +1 -1
- package/dist/api/handlers/RdfStatsHandler.d.ts +6 -0
- package/dist/api/handlers/RdfStatsHandler.js +85 -0
- package/dist/api/handlers/RdfStatsHandler.js.map +1 -0
- package/dist/api/handlers/SettingsHandler.d.ts +5 -0
- package/dist/api/handlers/SettingsHandler.js +13 -0
- package/dist/api/handlers/SettingsHandler.js.map +1 -0
- package/dist/api/handlers/StaticSpaHandler.d.ts +8 -0
- package/dist/api/handlers/StaticSpaHandler.js +102 -0
- package/dist/api/handlers/StaticSpaHandler.js.map +1 -0
- package/dist/api/handlers/index.d.ts +1 -0
- package/dist/api/handlers/index.js +1 -0
- package/dist/api/handlers/index.js.map +1 -1
- package/dist/api/http/readBoundedJsonBody.d.ts +14 -0
- package/dist/api/http/readBoundedJsonBody.js +58 -0
- package/dist/api/http/readBoundedJsonBody.js.map +1 -0
- package/dist/api/middleware/AuthMiddleware.d.ts +1 -0
- package/dist/api/middleware/AuthMiddleware.js +33 -4
- package/dist/api/middleware/AuthMiddleware.js.map +1 -1
- package/dist/api/runs/AgentRuntimeTypes.d.ts +18 -3
- package/dist/api/runs/AgentRuntimeTypes.js +61 -0
- package/dist/api/runs/AgentRuntimeTypes.js.map +1 -1
- package/dist/api/runs/InngestRunExecutionBackend.d.ts +28 -3
- package/dist/api/runs/InngestRunExecutionBackend.js +26 -3
- package/dist/api/runs/InngestRunExecutionBackend.js.map +1 -1
- package/dist/api/runs/ManagedRunWorker.d.ts +4 -1
- package/dist/api/runs/ManagedRunWorker.js +39 -8
- package/dist/api/runs/ManagedRunWorker.js.map +1 -1
- package/dist/api/runs/PiAgentRuntimeDriver.d.ts +5 -1
- package/dist/api/runs/PiAgentRuntimeDriver.js +94 -57
- package/dist/api/runs/PiAgentRuntimeDriver.js.map +1 -1
- package/dist/api/runs/RdfRunContextRetriever.d.ts +46 -0
- package/dist/api/runs/RdfRunContextRetriever.js +277 -0
- package/dist/api/runs/RdfRunContextRetriever.js.map +1 -0
- package/dist/api/runs/RunExecutionBackend.d.ts +38 -0
- package/dist/api/runs/RunExecutionBackend.js.map +1 -1
- package/dist/api/runs/RunStateCenter.d.ts +18 -3
- package/dist/api/runs/RunStateCenter.js +85 -24
- package/dist/api/runs/RunStateCenter.js.map +1 -1
- package/dist/api/runtime.js +163 -3
- package/dist/api/runtime.js.map +1 -1
- package/dist/api/service/AiClientConfigurationService.d.ts +97 -0
- package/dist/api/service/AiClientConfigurationService.js +379 -0
- package/dist/api/service/AiClientConfigurationService.js.map +1 -0
- package/dist/api/service/RdfBenchmarkReportCatalog.d.ts +86 -0
- package/dist/api/service/RdfBenchmarkReportCatalog.js +349 -0
- package/dist/api/service/RdfBenchmarkReportCatalog.js.map +1 -0
- package/dist/api/service/RdfBenchmarkReportGate.d.ts +78 -0
- package/dist/api/service/RdfBenchmarkReportGate.js +197 -0
- package/dist/api/service/RdfBenchmarkReportGate.js.map +1 -0
- package/dist/api/service/RdfSearchIndexingService.d.ts +113 -0
- package/dist/api/service/RdfSearchIndexingService.js +272 -0
- package/dist/api/service/RdfSearchIndexingService.js.map +1 -0
- package/dist/api/service/RdfSearchIndexingSolidFsSyncer.d.ts +27 -0
- package/dist/api/service/RdfSearchIndexingSolidFsSyncer.js +90 -0
- package/dist/api/service/RdfSearchIndexingSolidFsSyncer.js.map +1 -0
- package/dist/api/service/RdfStorageStatsService.d.ts +31 -0
- package/dist/api/service/RdfStorageStatsService.js +97 -0
- package/dist/api/service/RdfStorageStatsService.js.map +1 -0
- package/dist/api/service/VectorStoreService.d.ts +2 -0
- package/dist/api/service/VectorStoreService.js +70 -2
- package/dist/api/service/VectorStoreService.js.map +1 -1
- package/dist/api/service/VercelChatService.d.ts +27 -38
- package/dist/api/service/VercelChatService.js +153 -505
- package/dist/api/service/VercelChatService.js.map +1 -1
- package/dist/api/service/provider-http-transport.d.ts +21 -0
- package/dist/api/service/provider-http-transport.js +108 -2
- package/dist/api/service/provider-http-transport.js.map +1 -1
- package/dist/api/service/provider-registry.d.ts +5 -7
- package/dist/api/service/provider-registry.js +81 -64
- package/dist/api/service/provider-registry.js.map +1 -1
- package/dist/api/tasks/InngestTaskScheduler.d.ts +44 -4
- package/dist/api/tasks/TaskMaterializer.d.ts +10 -1
- package/dist/api/tasks/TaskMaterializer.js +39 -4
- package/dist/api/tasks/TaskMaterializer.js.map +1 -1
- package/dist/api/tasks/TaskService.d.ts +5 -1
- package/dist/api/tasks/TaskService.js +3 -0
- package/dist/api/tasks/TaskService.js.map +1 -1
- package/dist/cli/commands/rdf.d.ts +9 -0
- package/dist/cli/commands/rdf.js +66 -1
- package/dist/cli/commands/rdf.js.map +1 -1
- package/dist/cli/commands/start.js +3 -0
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/lib/solid-auth.d.ts +3 -3
- package/dist/cli/lib/solid-auth.js +4 -4
- package/dist/cli/lib/solid-auth.js.map +1 -1
- package/dist/components/components.jsonld +16 -0
- package/dist/components/context.jsonld +815 -28
- package/dist/document/Chunker.jsonld +110 -0
- package/dist/document/{DocumentParser.d.ts → DocumentReader.d.ts} +23 -11
- package/dist/document/{DocumentParser.js → DocumentReader.js} +2 -2
- package/dist/document/DocumentReader.js.map +1 -0
- package/dist/document/DocumentReader.jsonld +82 -0
- package/dist/document/HeadingChunker.jsonld +41 -0
- package/dist/document/{JinaDocumentParser.d.ts → JinaReader.d.ts} +7 -7
- package/dist/document/{JinaDocumentParser.js → JinaReader.js} +12 -12
- package/dist/document/JinaReader.js.map +1 -0
- package/dist/document/JinaReader.jsonld +133 -0
- package/dist/document/L0SourceSummary.d.ts +103 -0
- package/dist/document/L0SourceSummary.js +157 -0
- package/dist/document/L0SourceSummary.js.map +1 -0
- package/dist/document/L0SourceSummary.jsonld +326 -0
- package/dist/document/PaddleOcrReader.d.ts +40 -0
- package/dist/document/PaddleOcrReader.js +53 -0
- package/dist/document/PaddleOcrReader.js.map +1 -0
- package/dist/document/PaddleOcrReader.jsonld +234 -0
- package/dist/document/ReaderAiConfig.d.ts +50 -0
- package/dist/document/ReaderAiConfig.js +109 -0
- package/dist/document/ReaderAiConfig.js.map +1 -0
- package/dist/document/ReaderAiConfig.jsonld +185 -0
- package/dist/document/ReaderPolicy.d.ts +89 -0
- package/dist/document/ReaderPolicy.js +158 -0
- package/dist/document/ReaderPolicy.js.map +1 -0
- package/dist/document/ReaderPolicy.jsonld +218 -0
- package/dist/document/index.d.ts +6 -2
- package/dist/document/index.js +6 -2
- package/dist/document/index.js.map +1 -1
- package/dist/edge/DdnsManager.d.ts +1 -1
- package/dist/edge/DdnsManager.js.map +1 -1
- package/dist/edge/EdgeNodeAgent.d.ts +4 -0
- package/dist/edge/EdgeNodeAgent.js +6 -0
- package/dist/edge/EdgeNodeAgent.js.map +1 -1
- package/dist/edge/EdgeNodeAgent.jsonld +8 -0
- package/dist/edge/EdgeNodeAgentInitializer.d.ts +16 -0
- package/dist/edge/EdgeNodeAgentInitializer.js +51 -0
- package/dist/edge/EdgeNodeAgentInitializer.js.map +1 -1
- package/dist/edge/EdgeNodeAgentInitializer.jsonld +250 -0
- package/dist/edge/EdgeNodeCertificateCapabilityBridge.d.ts +34 -0
- package/dist/edge/EdgeNodeCertificateCapabilityBridge.js +111 -0
- package/dist/edge/EdgeNodeCertificateCapabilityBridge.js.map +1 -0
- package/dist/edge/acme/AcmeCertificateManager.d.ts +14 -1
- package/dist/edge/acme/AcmeCertificateManager.js +67 -7
- package/dist/edge/acme/AcmeCertificateManager.js.map +1 -1
- package/dist/edge/acme/AcmeCertificateManager.jsonld +22 -2
- package/dist/edge/acme/ClusterCertificateManager.d.ts +12 -0
- package/dist/edge/acme/ClusterCertificateManager.js +38 -0
- package/dist/edge/acme/ClusterCertificateManager.js.map +1 -1
- package/dist/extensions/ExtensionRuntime.d.ts +17 -0
- package/dist/extensions/ExtensionRuntime.js +171 -0
- package/dist/extensions/ExtensionRuntime.js.map +1 -0
- package/dist/extensions/PodCredentialResolver.d.ts +23 -0
- package/dist/extensions/PodCredentialResolver.js +139 -0
- package/dist/extensions/PodCredentialResolver.js.map +1 -0
- package/dist/extensions/index.d.ts +3 -0
- package/dist/extensions/index.js +20 -0
- package/dist/extensions/index.js.map +1 -0
- package/dist/extensions/types.d.ts +73 -0
- package/dist/extensions/types.js +3 -0
- package/dist/extensions/types.js.map +1 -0
- package/dist/http/SubgraphSparqlHttpHandler.d.ts +20 -1
- package/dist/http/SubgraphSparqlHttpHandler.js +324 -43
- package/dist/http/SubgraphSparqlHttpHandler.js.map +1 -1
- package/dist/http/SubgraphSparqlHttpHandler.jsonld +87 -0
- package/dist/identity/drizzle/EdgeNodeRepository.js +3 -2
- package/dist/identity/drizzle/EdgeNodeRepository.js.map +1 -1
- package/dist/identity/drizzle/schema.pg.js +1 -1
- package/dist/identity/drizzle/schema.pg.js.map +1 -1
- package/dist/identity/drizzle/schema.sqlite.js +1 -1
- package/dist/identity/drizzle/schema.sqlite.js.map +1 -1
- package/dist/identity/oidc/ScopedPickWebIdHandler.js +5 -5
- package/dist/identity/oidc/ScopedPickWebIdHandler.js.map +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/main.js +3 -0
- package/dist/main.js.map +1 -1
- package/dist/provision/LocalProvisionState.d.ts +28 -0
- package/dist/provision/LocalProvisionState.js +124 -0
- package/dist/provision/LocalProvisionState.js.map +1 -0
- package/dist/provision/ProvisionCodeCodec.d.ts +7 -3
- package/dist/provision/ProvisionCodeCodec.js +10 -3
- package/dist/provision/ProvisionCodeCodec.js.map +1 -1
- package/dist/provision/ProvisionPodCreator.d.ts +15 -1
- package/dist/provision/ProvisionPodCreator.js +68 -1
- package/dist/provision/ProvisionPodCreator.js.map +1 -1
- package/dist/provision/ProvisionPodCreator.jsonld +31 -0
- package/dist/provision/ServiceAccessTokenCodec.d.ts +45 -0
- package/dist/provision/ServiceAccessTokenCodec.js +86 -0
- package/dist/provision/ServiceAccessTokenCodec.js.map +1 -0
- package/dist/runtime/GatewayAdminProxyAuth.d.ts +29 -0
- package/dist/runtime/GatewayAdminProxyAuth.js +108 -0
- package/dist/runtime/GatewayAdminProxyAuth.js.map +1 -0
- package/dist/runtime/Proxy.d.ts +10 -0
- package/dist/runtime/Proxy.js +64 -6
- package/dist/runtime/Proxy.js.map +1 -1
- package/dist/runtime/XpodRuntime.js +1 -0
- package/dist/runtime/XpodRuntime.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +1 -0
- package/dist/runtime/bootstrap.js +29 -0
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/css-process.d.ts +1 -0
- package/dist/runtime/css-process.js +1 -0
- package/dist/runtime/css-process.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/lifecycle.d.ts +3 -1
- package/dist/runtime/lifecycle.js +3 -1
- package/dist/runtime/lifecycle.js.map +1 -1
- package/dist/runtime/runner/node/NodeGatewayRuntimeRunner.js +2 -0
- package/dist/runtime/runner/node/NodeGatewayRuntimeRunner.js.map +1 -1
- package/dist/runtime/runner/types.d.ts +3 -0
- package/dist/runtime/runner/types.js.map +1 -1
- package/dist/runtime/runtime-types.d.ts +2 -0
- package/dist/runtime/runtime-types.js.map +1 -1
- package/dist/runtime/safe-env.d.ts +15 -0
- package/dist/runtime/safe-env.js +109 -0
- package/dist/runtime/safe-env.js.map +1 -0
- package/dist/security/index.d.ts +1 -0
- package/dist/security/index.js +18 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/secret-cell/DeploymentRootKeyProvider.d.ts +17 -0
- package/dist/security/secret-cell/DeploymentRootKeyProvider.js +61 -0
- package/dist/security/secret-cell/DeploymentRootKeyProvider.js.map +1 -0
- package/dist/security/secret-cell/DeploymentRootKeyProvider.jsonld +124 -0
- package/dist/security/secret-cell/SecretCellVault.d.ts +55 -0
- package/dist/security/secret-cell/SecretCellVault.js +242 -0
- package/dist/security/secret-cell/SecretCellVault.js.map +1 -0
- package/dist/security/secret-cell/SecretCellVault.jsonld +207 -0
- package/dist/security/secret-cell/index.d.ts +2 -0
- package/dist/security/secret-cell/index.js +11 -0
- package/dist/security/secret-cell/index.js.map +1 -0
- package/dist/solidfs/CompositeSolidFsSyncer.d.ts +18 -0
- package/dist/solidfs/CompositeSolidFsSyncer.js +32 -0
- package/dist/solidfs/CompositeSolidFsSyncer.js.map +1 -0
- package/dist/solidfs/LocalSolidFS.js +25 -1
- package/dist/solidfs/LocalSolidFS.js.map +1 -1
- package/dist/solidfs/RdfIndexSolidFsSyncer.d.ts +41 -2
- package/dist/solidfs/RdfIndexSolidFsSyncer.js +331 -21
- package/dist/solidfs/RdfIndexSolidFsSyncer.js.map +1 -1
- package/dist/solidfs/SolidFsMetaNotes.d.ts +25 -0
- package/dist/solidfs/SolidFsMetaNotes.js +103 -0
- package/dist/solidfs/SolidFsMetaNotes.js.map +1 -0
- package/dist/solidfs/SolidFsSyncJournal.d.ts +2 -2
- package/dist/solidfs/SolidFsSyncJournal.js +9 -4
- package/dist/solidfs/SolidFsSyncJournal.js.map +1 -1
- package/dist/solidfs/SolidFsSyncJournal.jsonld +119 -0
- package/dist/solidfs/WorkspacePrompt.d.ts +13 -0
- package/dist/solidfs/WorkspacePrompt.js +42 -0
- package/dist/solidfs/WorkspacePrompt.js.map +1 -0
- package/dist/solidfs/index.d.ts +3 -0
- package/dist/solidfs/index.js +3 -0
- package/dist/solidfs/index.js.map +1 -1
- package/dist/solidfs/types.d.ts +12 -2
- package/dist/solidfs/types.js.map +1 -1
- package/dist/storage/accessors/MixDataAccessor.d.ts +36 -4
- package/dist/storage/accessors/MixDataAccessor.js +222 -23
- package/dist/storage/accessors/MixDataAccessor.js.map +1 -1
- package/dist/storage/accessors/MixDataAccessor.jsonld +89 -0
- package/dist/storage/accessors/SolidRdfDataAccessor.d.ts +6 -1
- package/dist/storage/accessors/SolidRdfDataAccessor.js +35 -0
- package/dist/storage/accessors/SolidRdfDataAccessor.js.map +1 -1
- package/dist/storage/accessors/SolidRdfDataAccessor.jsonld +20 -0
- package/dist/storage/database/PostgresPoolManager.d.ts +1 -0
- package/dist/storage/database/PostgresPoolManager.js +2 -2
- package/dist/storage/database/PostgresPoolManager.js.map +1 -1
- package/dist/storage/locking/UrlAwareRedisLocker.d.ts +2 -0
- package/dist/storage/locking/UrlAwareRedisLocker.js +65 -0
- package/dist/storage/locking/UrlAwareRedisLocker.js.map +1 -1
- package/dist/storage/locking/UrlAwareRedisLocker.jsonld +19 -0
- package/dist/storage/rdf/PostgresRdfEngine.d.ts +286 -9
- package/dist/storage/rdf/PostgresRdfEngine.js +10773 -2084
- package/dist/storage/rdf/PostgresRdfEngine.js.map +1 -1
- package/dist/storage/rdf/PostgresRdfEngine.jsonld +1693 -89
- package/dist/storage/rdf/PostgresRdfSqlExecutor.d.ts +24 -0
- package/dist/storage/rdf/PostgresRdfSqlExecutor.js +131 -0
- package/dist/storage/rdf/PostgresRdfSqlExecutor.js.map +1 -0
- package/dist/storage/rdf/PostgresRdfTextIndex.d.ts +54 -0
- package/dist/storage/rdf/PostgresRdfTextIndex.js +1255 -0
- package/dist/storage/rdf/PostgresRdfTextIndex.js.map +1 -0
- package/dist/storage/rdf/PostgresRdfTextIndex.jsonld +487 -0
- package/dist/storage/rdf/PostgresRdfVectorIndex.d.ts +46 -0
- package/dist/storage/rdf/PostgresRdfVectorIndex.js +1165 -0
- package/dist/storage/rdf/PostgresRdfVectorIndex.js.map +1 -0
- package/dist/storage/rdf/PostgresRdfVectorIndex.jsonld +423 -0
- package/dist/storage/rdf/Rdf3xIndex.d.ts +14 -1
- package/dist/storage/rdf/Rdf3xIndex.js +286 -2
- package/dist/storage/rdf/Rdf3xIndex.js.map +1 -1
- package/dist/storage/rdf/Rdf3xIndex.jsonld +36 -0
- package/dist/storage/rdf/Rdf3xSchema.d.ts +5 -1
- package/dist/storage/rdf/Rdf3xSchema.js +17 -3
- package/dist/storage/rdf/Rdf3xSchema.js.map +1 -1
- package/dist/storage/rdf/RdfAccessScope.d.ts +22 -0
- package/dist/storage/rdf/RdfAccessScope.js +345 -0
- package/dist/storage/rdf/RdfAccessScope.js.map +1 -0
- package/dist/storage/rdf/RdfAccessScope.jsonld +45 -0
- package/dist/storage/rdf/RdfFusionRankPlan.d.ts +2 -0
- package/dist/storage/rdf/RdfFusionRankPlan.js +186 -0
- package/dist/storage/rdf/RdfFusionRankPlan.js.map +1 -0
- package/dist/storage/rdf/RdfJoinShape.d.ts +8 -0
- package/dist/storage/rdf/RdfJoinShape.js +31 -0
- package/dist/storage/rdf/RdfJoinShape.js.map +1 -0
- package/dist/storage/rdf/RdfQuadIndex.d.ts +5 -2
- package/dist/storage/rdf/RdfQuadIndex.js +94 -6
- package/dist/storage/rdf/RdfQuadIndex.js.map +1 -1
- package/dist/storage/rdf/RdfQuadIndex.jsonld +12 -0
- package/dist/storage/rdf/RdfQueryExecutor.d.ts +3 -4
- package/dist/storage/rdf/RdfQueryExecutor.js +235 -8
- package/dist/storage/rdf/RdfQueryExecutor.js.map +1 -1
- package/dist/storage/rdf/RdfSearchSourceFilter.d.ts +10 -0
- package/dist/storage/rdf/RdfSearchSourceFilter.js +83 -0
- package/dist/storage/rdf/RdfSearchSourceFilter.js.map +1 -0
- package/dist/storage/rdf/RdfSparqlAdapter.d.ts +27 -1
- package/dist/storage/rdf/RdfSparqlAdapter.js +265 -3
- package/dist/storage/rdf/RdfSparqlAdapter.js.map +1 -1
- package/dist/storage/rdf/RdfSparqlAdapter.jsonld +8 -0
- package/dist/storage/rdf/RdfTermDictionary.d.ts +7 -1
- package/dist/storage/rdf/RdfTermDictionary.js +139 -0
- package/dist/storage/rdf/RdfTermDictionary.js.map +1 -1
- package/dist/storage/rdf/RdfTermDictionary.jsonld +4 -0
- package/dist/storage/rdf/RdfTextIndex.d.ts +45 -2
- package/dist/storage/rdf/RdfTextIndex.js +810 -114
- package/dist/storage/rdf/RdfTextIndex.js.map +1 -1
- package/dist/storage/rdf/RdfTextIndex.jsonld +193 -0
- package/dist/storage/rdf/RdfTextProjection.d.ts +10 -0
- package/dist/storage/rdf/RdfTextProjection.js +258 -0
- package/dist/storage/rdf/RdfTextProjection.js.map +1 -0
- package/dist/storage/rdf/RdfVectorIndex.d.ts +30 -2
- package/dist/storage/rdf/RdfVectorIndex.js +461 -38
- package/dist/storage/rdf/RdfVectorIndex.js.map +1 -1
- package/dist/storage/rdf/RdfVectorIndex.jsonld +163 -0
- package/dist/storage/rdf/SolidRdfEngine.d.ts +12 -9
- package/dist/storage/rdf/SolidRdfEngine.js +48 -22
- package/dist/storage/rdf/SolidRdfEngine.js.map +1 -1
- package/dist/storage/rdf/SolidRdfEngine.jsonld +33 -43
- package/dist/storage/rdf/SolidRdfSparqlEngine.d.ts +19 -8
- package/dist/storage/rdf/SolidRdfSparqlEngine.js +674 -44
- package/dist/storage/rdf/SolidRdfSparqlEngine.js.map +1 -1
- package/dist/storage/rdf/SolidRdfSparqlEngine.jsonld +51 -0
- package/dist/storage/rdf/index.d.ts +9 -5
- package/dist/storage/rdf/index.js +42 -1
- package/dist/storage/rdf/index.js.map +1 -1
- package/dist/storage/rdf/models-benchmark.d.ts +264 -2
- package/dist/storage/rdf/models-benchmark.js +4207 -155
- package/dist/storage/rdf/models-benchmark.js.map +1 -1
- package/dist/storage/rdf/types.d.ts +833 -4
- package/dist/storage/rdf/types.js.map +1 -1
- package/dist/storage/rdf/types.jsonld +348 -0
- package/dist/storage/sparql/CompatibilitySparqlEngine.d.ts +14 -13
- package/dist/storage/sparql/CompatibilitySparqlEngine.js +24 -24
- package/dist/storage/sparql/CompatibilitySparqlEngine.js.map +1 -1
- package/dist/storage/sparql/CompatibilitySparqlEngineImpl.d.ts +14 -13
- package/dist/storage/sparql/CompatibilitySparqlEngineImpl.js +30 -18
- package/dist/storage/sparql/CompatibilitySparqlEngineImpl.js.map +1 -1
- package/dist/storage/sparql/SubgraphQueryEngine.d.ts +21 -12
- package/dist/storage/sparql/SubgraphQueryEngine.js +12 -12
- package/dist/storage/sparql/SubgraphQueryEngine.js.map +1 -1
- package/dist/terminal/sandbox/MacOSSandbox.js +2 -1
- package/dist/terminal/sandbox/MacOSSandbox.js.map +1 -1
- package/dist/terminal/sandbox/index.js +2 -1
- package/dist/terminal/sandbox/index.js.map +1 -1
- package/dist/test-utils/no-auth-xpod.js +3 -0
- package/dist/test-utils/no-auth-xpod.js.map +1 -1
- package/dist/tunnel/LocalTunnelProvider.d.ts +3 -0
- package/dist/tunnel/LocalTunnelProvider.js +17 -1
- package/dist/tunnel/LocalTunnelProvider.js.map +1 -1
- package/dist/tunnel/LocalTunnelProvider.jsonld +23 -0
- package/dist/tunnel/SakuraFrpTunnelProvider.d.ts +3 -0
- package/dist/tunnel/SakuraFrpTunnelProvider.js +18 -2
- package/dist/tunnel/SakuraFrpTunnelProvider.js.map +1 -1
- package/dist/tunnel/TunnelProfiles.d.ts +22 -0
- package/dist/tunnel/TunnelProfiles.js +208 -0
- package/dist/tunnel/TunnelProfiles.js.map +1 -0
- package/dist/tunnel/index.d.ts +2 -0
- package/dist/tunnel/index.js +4 -1
- package/dist/tunnel/index.js.map +1 -1
- package/dist/util/identifiers/ClusterIdentifierStrategy.d.ts +3 -0
- package/dist/util/identifiers/ClusterIdentifierStrategy.js +18 -2
- package/dist/util/identifiers/ClusterIdentifierStrategy.js.map +1 -1
- package/dist/util/identifiers/ClusterIdentifierStrategy.jsonld +5 -1
- package/node_modules/@undefineds.co/ai-connection/dist/AiClientConfigurationSection.d.ts +55 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiClientConfigurationSection.js +167 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionHeader.d.ts +3 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionHeader.js +8 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionList.d.ts +4 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionList.js +36 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionMain.d.ts +4 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionMain.js +37 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionMainHeader.d.ts +3 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionMainHeader.js +7 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionPanel.d.ts +14 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiConnectionPanel.js +333 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiProviderCard.d.ts +22 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiProviderCard.js +43 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiQuotaCard.d.ts +8 -0
- package/node_modules/@undefineds.co/ai-connection/dist/AiQuotaCard.js +6 -0
- package/node_modules/@undefineds.co/ai-connection/dist/ai-connection-client.d.ts +120 -0
- package/node_modules/@undefineds.co/ai-connection/dist/ai-connection-client.js +414 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/base-adapter.d.ts +32 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/base-adapter.js +212 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/codex.d.ts +14 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/codex.js +90 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/index.cjs +668 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/index.d.ts +6 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/index.js +6 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/json-env-adapter.d.ts +21 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/json-env-adapter.js +82 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/pi.d.ts +13 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/pi.js +83 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/transaction.d.ts +17 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/transaction.js +153 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/types.d.ts +40 -0
- package/node_modules/@undefineds.co/ai-connection/dist/client-config/types.js +1 -0
- package/node_modules/@undefineds.co/ai-connection/dist/controller.d.ts +42 -0
- package/node_modules/@undefineds.co/ai-connection/dist/controller.js +289 -0
- package/node_modules/@undefineds.co/ai-connection/dist/index.d.ts +16 -0
- package/node_modules/@undefineds.co/ai-connection/dist/index.js +41 -0
- package/node_modules/@undefineds.co/ai-connection/dist/manifest.d.ts +1 -0
- package/node_modules/@undefineds.co/ai-connection/dist/manifest.js +18 -0
- package/node_modules/@undefineds.co/ai-connection/dist/service-access.d.ts +3 -0
- package/node_modules/@undefineds.co/ai-connection/dist/service-access.js +133 -0
- package/node_modules/@undefineds.co/ai-connection/package.json +50 -0
- package/node_modules/@undefineds.co/extension-sdk/README.md +299 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/index.d.ts +5 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/index.js +5 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/layout.d.ts +16 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/layout.js +36 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/manifest.d.ts +27 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/manifest.js +79 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/app-layout.d.ts +7 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/app-layout.js +8 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/auth-boundary.d.ts +27 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/auth-boundary.js +49 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/layout-context.d.ts +11 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/layout-context.js +9 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/workspace-layout.d.ts +38 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react/workspace-layout.js +132 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react.d.ts +12 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/react.js +19 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/testing.d.ts +7 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/testing.js +27 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/web.d.ts +225 -0
- package/node_modules/@undefineds.co/extension-sdk/dist/web.js +142 -0
- package/node_modules/@undefineds.co/extension-sdk/package.json +49 -0
- package/node_modules/@undefineds.co/extensions/README.md +101 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/langchain.d.ts +25 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/langchain.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/langchain.js +45 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/langchain.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/llamaindex.d.ts +31 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/llamaindex.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/llamaindex.js +50 -0
- package/node_modules/@undefineds.co/extensions/dist/adapters/llamaindex.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/index.d.ts +7 -0
- package/node_modules/@undefineds.co/extensions/dist/index.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/index.js +7 -0
- package/node_modules/@undefineds.co/extensions/dist/index.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/paddleocr.d.ts +16 -0
- package/node_modules/@undefineds.co/extensions/dist/paddleocr.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/paddleocr.js +267 -0
- package/node_modules/@undefineds.co/extensions/dist/paddleocr.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/reader.d.ts +18 -0
- package/node_modules/@undefineds.co/extensions/dist/reader.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/reader.js +39 -0
- package/node_modules/@undefineds.co/extensions/dist/reader.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/registry.d.ts +16 -0
- package/node_modules/@undefineds.co/extensions/dist/registry.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/registry.js +97 -0
- package/node_modules/@undefineds.co/extensions/dist/registry.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/types.d.ts +141 -0
- package/node_modules/@undefineds.co/extensions/dist/types.d.ts.map +1 -0
- package/node_modules/@undefineds.co/extensions/dist/types.js +2 -0
- package/node_modules/@undefineds.co/extensions/dist/types.js.map +1 -0
- package/node_modules/@undefineds.co/extensions/package.json +38 -0
- package/node_modules/@undefineds.co/shared-ui/dist/badge.d.ts +8 -0
- package/node_modules/@undefineds.co/shared-ui/dist/badge.js +17 -0
- package/node_modules/@undefineds.co/shared-ui/dist/button.d.ts +10 -0
- package/node_modules/@undefineds.co/shared-ui/dist/button.js +30 -0
- package/node_modules/@undefineds.co/shared-ui/dist/card.d.ts +7 -0
- package/node_modules/@undefineds.co/shared-ui/dist/card.js +15 -0
- package/node_modules/@undefineds.co/shared-ui/dist/index.d.ts +6 -0
- package/node_modules/@undefineds.co/shared-ui/dist/index.js +6 -0
- package/node_modules/@undefineds.co/shared-ui/dist/input.d.ts +4 -0
- package/node_modules/@undefineds.co/shared-ui/dist/input.js +5 -0
- package/node_modules/@undefineds.co/shared-ui/dist/theme.css +121 -0
- package/node_modules/@undefineds.co/shared-ui/dist/utils.d.ts +2 -0
- package/node_modules/@undefineds.co/shared-ui/dist/utils.js +5 -0
- package/node_modules/@undefineds.co/shared-ui/dist/workspace.d.ts +23 -0
- package/node_modules/@undefineds.co/shared-ui/dist/workspace.js +38 -0
- package/node_modules/@undefineds.co/shared-ui/package.json +39 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/index.d.ts +3 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/index.js +3 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/pod-runtime.d.ts +45 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/pod-runtime.js +147 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/react.d.ts +15 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/react.js +15 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/session.d.ts +42 -0
- package/node_modules/@undefineds.co/solid-sdk/dist/session.js +127 -0
- package/node_modules/@undefineds.co/solid-sdk/package.json +45 -0
- package/package.json +31 -13
- package/static/app/assets/index-BoYHJ6si.js +230 -0
- package/static/app/assets/inrupt-smoke.js +2 -2
- package/static/app/assets/main.css +1 -1
- package/static/app/assets/main.js +9 -9
- package/static/dashboard/assets/NetworkPage-Brt79fuQ.js +2 -0
- package/static/dashboard/assets/PaneListHeader-57nvMwH6.js +1 -0
- package/static/dashboard/assets/PodPage-CM6do1vB.js +2 -0
- package/static/dashboard/assets/ServicesPage-BUNxGJRz.js +1 -0
- package/static/dashboard/assets/card-B9Zjf_2p.js +1 -0
- package/static/dashboard/assets/dashboard-8C6o666W.js +305 -0
- package/static/dashboard/assets/dashboard-CSdewNeA.css +1 -0
- package/static/dashboard/assets/database-DPh9wDY9.js +1 -0
- package/static/dashboard/assets/external-link-VbMQvVMz.js +1 -0
- package/static/dashboard/assets/index-RfiFckzb.js +51 -0
- package/static/dashboard/assets/refresh-cw-BxVxNxNr.js +1 -0
- package/static/dashboard/assets/services-status-context-DKmJ7ISr.js +1 -0
- package/static/dashboard/dashboard.html +2 -2
- package/static/settings/assets/ModelsPage-D_IH7AH3.js +1 -0
- package/static/settings/assets/PaneListHeader-Bgaze006.js +1 -0
- package/static/settings/assets/PodPage-Cy1VNObw.js +2 -0
- package/static/settings/assets/ServicesPage-BsFaxVWC.js +1 -0
- package/static/settings/assets/SettingsPage-UafNWE_p.js +48 -0
- package/static/settings/assets/card-B_bXSIn-.js +1 -0
- package/static/settings/assets/services-status-context-DiX-AbrP.js +1 -0
- package/static/settings/assets/settings-B30oMfZq.js +305 -0
- package/static/settings/assets/settings-CSdewNeA.css +1 -0
- package/static/settings/assets/workspace-layout-Dv1Yn9Ci.js +1 -0
- package/static/settings/auth.html +21 -0
- package/static/settings/reachability.html +221 -0
- package/static/settings/reachability.svg +7 -0
- package/static/settings/reachability.webmanifest +18 -0
- package/static/settings/settings.html +13 -0
- package/static/settings/signal-pod.html +293 -0
- package/static/settings/vite.svg +1 -0
- package/dist/api/service/ai-gateway-transport.d.ts +0 -25
- package/dist/api/service/ai-gateway-transport.js +0 -136
- package/dist/api/service/ai-gateway-transport.js.map +0 -1
- package/dist/api/service/chat-protocol-adapters.d.ts +0 -5
- package/dist/api/service/chat-protocol-adapters.js +0 -146
- package/dist/api/service/chat-protocol-adapters.js.map +0 -1
- package/dist/api/service/chat-routing.d.ts +0 -8
- package/dist/api/service/chat-routing.js +0 -16
- package/dist/api/service/chat-routing.js.map +0 -1
- package/dist/api/service/platform-ai-config.d.ts +0 -10
- package/dist/api/service/platform-ai-config.js +0 -76
- package/dist/api/service/platform-ai-config.js.map +0 -1
- package/dist/document/DocumentParser.js.map +0 -1
- package/dist/document/JinaDocumentParser.js.map +0 -1
- package/static/app/assets/index-C1yksyT4.js +0 -171
- package/static/dashboard/assets/dashboard-BssaVKTn.css +0 -1
- package/static/dashboard/assets/dashboard-Ckuadl3C.js +0 -54
|
@@ -42,6 +42,9 @@ export interface RdfQuadIndexOptions {
|
|
|
42
42
|
debug?: boolean;
|
|
43
43
|
}
|
|
44
44
|
export type RdfDerivedIndexProfile = 'baseline' | 'rdf3x';
|
|
45
|
+
export type RdfPgAccelerationProfile = 'baseline' | 'pg-result-cache' | 'pg-hot-operators' | 'pg-custom-index';
|
|
46
|
+
export type RdfPgAccelerationProvider = 'engine-sql' | 'sql-abi' | 'extension';
|
|
47
|
+
export type RdfPgAccelerationFallbackReason = 'profile-disabled' | 'capability-missing' | 'probe-failed' | 'index-build-deferred';
|
|
45
48
|
export interface RdfShadowAutoBackfillOptions {
|
|
46
49
|
enabled?: boolean;
|
|
47
50
|
clear?: boolean;
|
|
@@ -78,19 +81,262 @@ export interface RdfIndexStats {
|
|
|
78
81
|
literalDatatypeDistribution: RdfLiteralDatatypeDistribution[];
|
|
79
82
|
cardinalityDistributions: RdfCardinalityDistributions;
|
|
80
83
|
}
|
|
84
|
+
export interface RdfStorageStatsOptions {
|
|
85
|
+
cacheScope?: RdfDerivedCacheScopeStatsOptions;
|
|
86
|
+
}
|
|
87
|
+
export interface RdfDerivedCacheScopeStatsOptions {
|
|
88
|
+
query?: string;
|
|
89
|
+
principal?: string;
|
|
90
|
+
basePath?: string;
|
|
91
|
+
mode?: string;
|
|
92
|
+
authorizationModel?: string;
|
|
93
|
+
permissionVersion?: string;
|
|
94
|
+
limit?: number;
|
|
95
|
+
}
|
|
81
96
|
export interface RdfEngineStorageStats {
|
|
82
97
|
derivedIndexProfile: RdfDerivedIndexProfile;
|
|
98
|
+
lifecycle?: RdfEngineLifecycleStats;
|
|
83
99
|
facts: RdfIndexStats;
|
|
84
100
|
rdf3x?: {
|
|
85
101
|
stats: Rdf3xIndexStats;
|
|
102
|
+
factsDataVersion: number;
|
|
103
|
+
rdf3xFactsDataVersion: number;
|
|
104
|
+
refreshLag: number;
|
|
86
105
|
syncedWithFacts: boolean;
|
|
106
|
+
pendingSources: number;
|
|
87
107
|
};
|
|
108
|
+
derivedCache?: RdfDerivedCacheStats;
|
|
109
|
+
queryResultCache?: RdfQueryResultCacheStats;
|
|
110
|
+
materializedResultCache?: RdfMaterializedResultCacheStats;
|
|
111
|
+
queryTemplateCache?: RdfQueryTemplateCacheStats;
|
|
112
|
+
accessControlOverrides?: RdfAccessControlOverrideIndexStats;
|
|
113
|
+
slowQueries?: RdfSlowQueryStats;
|
|
114
|
+
pgAcceleration?: RdfPgAccelerationStats;
|
|
115
|
+
bulkLoad?: RdfBulkLoadStats;
|
|
88
116
|
factsBytes: number;
|
|
89
117
|
derivedBytes: number;
|
|
90
118
|
totalBytes: number;
|
|
91
119
|
derivedToFactsRatio: number;
|
|
92
120
|
totalToFactsRatio: number;
|
|
93
121
|
}
|
|
122
|
+
export interface RdfBulkLoadStats {
|
|
123
|
+
copyFromRows: {
|
|
124
|
+
attempts: number;
|
|
125
|
+
succeeded: number;
|
|
126
|
+
fallbacks: number;
|
|
127
|
+
rows: number;
|
|
128
|
+
tables: RdfBulkLoadCopyTableStats[];
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
export interface RdfBulkLoadCopyTableStats {
|
|
132
|
+
kind: string;
|
|
133
|
+
statements: number;
|
|
134
|
+
rows: number;
|
|
135
|
+
}
|
|
136
|
+
export interface RdfEngineLifecycleStats {
|
|
137
|
+
status: 'closed' | 'opening' | 'ready' | 'failed';
|
|
138
|
+
driver?: string;
|
|
139
|
+
openCount: number;
|
|
140
|
+
lastOpenStartedAt?: string;
|
|
141
|
+
lastReadyAt?: string;
|
|
142
|
+
lastOpenDurationMs?: number;
|
|
143
|
+
lastOpenFailedAt?: string;
|
|
144
|
+
lastOpenError?: string;
|
|
145
|
+
coldStart?: RdfEngineColdStartStats;
|
|
146
|
+
}
|
|
147
|
+
export interface RdfEngineColdStartStats {
|
|
148
|
+
startedAt: string;
|
|
149
|
+
readyAt: string;
|
|
150
|
+
durationMs: number;
|
|
151
|
+
phases: RdfEngineColdStartPhaseStats[];
|
|
152
|
+
customIndexDeferred: boolean;
|
|
153
|
+
maintenanceEnabled: boolean;
|
|
154
|
+
ownsTextIndex: boolean;
|
|
155
|
+
ownsVectorIndex: boolean;
|
|
156
|
+
}
|
|
157
|
+
export interface RdfEngineColdStartPhaseStats {
|
|
158
|
+
name: 'executor' | 'text-index' | 'vector-index' | 'term-dictionary' | 'schema' | 'acceleration-probe' | 'native-sparql-probe' | 'custom-indexes' | 'maintenance-scheduler';
|
|
159
|
+
durationMs: number;
|
|
160
|
+
}
|
|
161
|
+
export interface RdfAccessControlOverrideIndexStats {
|
|
162
|
+
entryCount: number;
|
|
163
|
+
totalBytes: number;
|
|
164
|
+
tableBytes: number;
|
|
165
|
+
indexBytes: number;
|
|
166
|
+
}
|
|
167
|
+
export interface RdfPgAccelerationStats {
|
|
168
|
+
profile: RdfPgAccelerationProfile;
|
|
169
|
+
requested: boolean;
|
|
170
|
+
available: boolean;
|
|
171
|
+
enabled: boolean;
|
|
172
|
+
provider?: RdfPgAccelerationProvider;
|
|
173
|
+
version?: string;
|
|
174
|
+
capabilities: string[];
|
|
175
|
+
capabilityProviders?: Record<string, RdfPgAccelerationProvider>;
|
|
176
|
+
requiredCapabilities: string[];
|
|
177
|
+
missingCapabilities: string[];
|
|
178
|
+
activeOperators?: string[];
|
|
179
|
+
customIndexes?: RdfPgCustomIndexStats[];
|
|
180
|
+
fallbackReason?: RdfPgAccelerationFallbackReason;
|
|
181
|
+
fallbackDetail?: string;
|
|
182
|
+
}
|
|
183
|
+
export interface RdfPgCustomIndexStats {
|
|
184
|
+
name: string;
|
|
185
|
+
permutation: string;
|
|
186
|
+
columns: string[];
|
|
187
|
+
stats?: Record<string, unknown>;
|
|
188
|
+
error?: string;
|
|
189
|
+
}
|
|
190
|
+
export interface RdfDerivedCacheStats {
|
|
191
|
+
cacheBytes: number;
|
|
192
|
+
maxCacheBytes: number;
|
|
193
|
+
cachePressure: number;
|
|
194
|
+
maxScopeBytes: number;
|
|
195
|
+
scopeVersionCount: number;
|
|
196
|
+
scopeEntries: RdfDerivedCacheScopeEntry[];
|
|
197
|
+
largestScopeBytes: number;
|
|
198
|
+
largestScopePressure: number;
|
|
199
|
+
largestScopeHash?: string;
|
|
200
|
+
largestScopeFactsDataVersion?: number;
|
|
201
|
+
evictionCount: number;
|
|
202
|
+
evictions: RdfDerivedCacheEvictionStats;
|
|
203
|
+
queryResultPayloadBytes: number;
|
|
204
|
+
materializedResultPayloadBytes: number;
|
|
205
|
+
queryTemplateBytes: number;
|
|
206
|
+
}
|
|
207
|
+
export interface RdfSlowQueryDerivedCacheExplain {
|
|
208
|
+
cacheBytes: number;
|
|
209
|
+
maxCacheBytes: number;
|
|
210
|
+
cachePressure: number;
|
|
211
|
+
largestScopeBytes: number;
|
|
212
|
+
largestScopePressure: number;
|
|
213
|
+
largestScopeHash?: string;
|
|
214
|
+
largestScopeFactsDataVersion?: number;
|
|
215
|
+
evictionCount: number;
|
|
216
|
+
evictions: RdfDerivedCacheEvictionStats;
|
|
217
|
+
}
|
|
218
|
+
export interface RdfDerivedCacheScopeEntry {
|
|
219
|
+
scopeHash: string;
|
|
220
|
+
factsDataVersion: number;
|
|
221
|
+
payloadBytes: number;
|
|
222
|
+
queryResultPayloadBytes: number;
|
|
223
|
+
materializedResultPayloadBytes: number;
|
|
224
|
+
queryResultEntries: number;
|
|
225
|
+
materializedResultEntries: number;
|
|
226
|
+
scopeShape?: string;
|
|
227
|
+
principal?: string;
|
|
228
|
+
basePath?: string;
|
|
229
|
+
mode?: string;
|
|
230
|
+
authorizationModel?: string;
|
|
231
|
+
permissionVersion?: string;
|
|
232
|
+
}
|
|
233
|
+
export interface RdfDerivedCacheEvictionStats {
|
|
234
|
+
factsVersion: number;
|
|
235
|
+
ttl: number;
|
|
236
|
+
maxEntries: number;
|
|
237
|
+
payloadBytes: number;
|
|
238
|
+
scopeBytes: number;
|
|
239
|
+
totalBytes: number;
|
|
240
|
+
templateTtl: number;
|
|
241
|
+
templateMaxEntries: number;
|
|
242
|
+
templateBytes: number;
|
|
243
|
+
}
|
|
244
|
+
export interface RdfQueryResultCacheStats {
|
|
245
|
+
entryCount: number;
|
|
246
|
+
scopeCount: number;
|
|
247
|
+
maxEntries: number;
|
|
248
|
+
ttlMs: number;
|
|
249
|
+
hitCount: number;
|
|
250
|
+
missCount: number;
|
|
251
|
+
refreshCount: number;
|
|
252
|
+
storeCount: number;
|
|
253
|
+
bypassCount: number;
|
|
254
|
+
disabledCount: number;
|
|
255
|
+
payloadBytes: number;
|
|
256
|
+
maxPayloadBytes: number;
|
|
257
|
+
tableBytes: number;
|
|
258
|
+
indexBytes: number;
|
|
259
|
+
totalBytes: number;
|
|
260
|
+
spaceObjects: RdfIndexSpaceObject[];
|
|
261
|
+
}
|
|
262
|
+
export interface RdfMaterializedResultCacheStats {
|
|
263
|
+
entryCount: number;
|
|
264
|
+
scopeCount: number;
|
|
265
|
+
maxEntries: number;
|
|
266
|
+
ttlMs: number;
|
|
267
|
+
hitCount: number;
|
|
268
|
+
missCount: number;
|
|
269
|
+
refreshCount: number;
|
|
270
|
+
storeCount: number;
|
|
271
|
+
bypassCount: number;
|
|
272
|
+
disabledCount: number;
|
|
273
|
+
payloadBytes: number;
|
|
274
|
+
maxPayloadBytes: number;
|
|
275
|
+
tableBytes: number;
|
|
276
|
+
indexBytes: number;
|
|
277
|
+
totalBytes: number;
|
|
278
|
+
spaceObjects: RdfIndexSpaceObject[];
|
|
279
|
+
}
|
|
280
|
+
export interface RdfQueryTemplateCacheStats {
|
|
281
|
+
entryCount: number;
|
|
282
|
+
maxEntries: number;
|
|
283
|
+
ttlMs: number;
|
|
284
|
+
hitCount: number;
|
|
285
|
+
missCount: number;
|
|
286
|
+
evictionCount: number;
|
|
287
|
+
compiledSqlEntryCount?: number;
|
|
288
|
+
compiledSqlHitCount?: number;
|
|
289
|
+
compiledSqlMissCount?: number;
|
|
290
|
+
compiledSqlEvictionCount?: number;
|
|
291
|
+
totalBytes: number;
|
|
292
|
+
}
|
|
293
|
+
export interface RdfSlowQueryStats {
|
|
294
|
+
entryCount: number;
|
|
295
|
+
maxEntries: number;
|
|
296
|
+
entries: RdfSlowQueryStatsEntry[];
|
|
297
|
+
}
|
|
298
|
+
export interface RdfSlowQueryStatsEntry {
|
|
299
|
+
generatedAt: string;
|
|
300
|
+
queryKey: string;
|
|
301
|
+
templateKey?: string;
|
|
302
|
+
selectedPath: RdfQueryPlannerSelectedPath;
|
|
303
|
+
reasons: string[];
|
|
304
|
+
runtime: RdfQueryPlannerRuntimeExplain;
|
|
305
|
+
slowQuery: RdfQueryPlannerSlowQueryExplain;
|
|
306
|
+
staleStats?: RdfQueryPlannerStaleStatsExplain;
|
|
307
|
+
histogramHints?: RdfQueryPlannerHistogramHint[];
|
|
308
|
+
rejectedNativeOperators?: RdfQueryPlannerNativeOperatorRejection[];
|
|
309
|
+
derivedCache: RdfSlowQueryDerivedCacheExplain;
|
|
310
|
+
cache: {
|
|
311
|
+
templateStatus?: RdfQueryTemplateCacheExplain['status'];
|
|
312
|
+
resultStatus?: RdfQueryCacheStatus;
|
|
313
|
+
materializedStatus?: RdfQueryCacheStatus;
|
|
314
|
+
result?: RdfSlowQueryCacheExplain;
|
|
315
|
+
materialized?: RdfSlowQueryCacheExplain;
|
|
316
|
+
scopeHash: string;
|
|
317
|
+
scopeBasePath: string | null;
|
|
318
|
+
scopePrincipal: string | null;
|
|
319
|
+
};
|
|
320
|
+
acceleration: {
|
|
321
|
+
profile: RdfPgAccelerationProfile;
|
|
322
|
+
requested: boolean;
|
|
323
|
+
enabled: boolean;
|
|
324
|
+
provider?: RdfPgAccelerationProvider;
|
|
325
|
+
fallbackReason?: RdfPgAccelerationFallbackReason;
|
|
326
|
+
activeOperators?: string[];
|
|
327
|
+
unsupportedCapabilities?: string[];
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
export interface RdfSlowQueryCacheExplain {
|
|
331
|
+
status: RdfQueryCacheStatus;
|
|
332
|
+
key?: string;
|
|
333
|
+
templateKey?: string;
|
|
334
|
+
factsDataVersion?: number;
|
|
335
|
+
ttlMs?: number;
|
|
336
|
+
maxEntries?: number;
|
|
337
|
+
maxBytes?: number;
|
|
338
|
+
stored?: boolean;
|
|
339
|
+
}
|
|
94
340
|
export interface RdfDerivedIndexRefreshResult {
|
|
95
341
|
derivedIndexProfile: RdfDerivedIndexProfile;
|
|
96
342
|
factsDataVersion: number;
|
|
@@ -99,9 +345,31 @@ export interface RdfDerivedIndexRefreshResult {
|
|
|
99
345
|
previousFactsDataVersion: number;
|
|
100
346
|
factsDataVersion: number;
|
|
101
347
|
syncedWithFacts: boolean;
|
|
348
|
+
plannerStats?: RdfPlannerStatsRefreshResult;
|
|
102
349
|
rebuild?: Rdf3xRebuildResult;
|
|
350
|
+
sourceQueue?: RdfDirtySourceQueueRefreshResult;
|
|
103
351
|
};
|
|
104
352
|
}
|
|
353
|
+
export interface RdfDerivedIndexRefreshOptions {
|
|
354
|
+
mode?: 'auto' | 'full';
|
|
355
|
+
maxDirtySources?: number;
|
|
356
|
+
}
|
|
357
|
+
export interface RdfDerivedIndexMaintenanceResult {
|
|
358
|
+
attempted: boolean;
|
|
359
|
+
claimed: boolean;
|
|
360
|
+
refreshed: boolean;
|
|
361
|
+
reason?: 'idle' | 'lease_busy';
|
|
362
|
+
pendingSources: number;
|
|
363
|
+
refresh?: RdfDerivedIndexRefreshResult;
|
|
364
|
+
}
|
|
365
|
+
export interface RdfDirtySourceQueueRefreshResult {
|
|
366
|
+
pendingSources: number;
|
|
367
|
+
drainedSources: number;
|
|
368
|
+
}
|
|
369
|
+
export interface RdfPlannerStatsRefreshResult {
|
|
370
|
+
analyzedTables: string[];
|
|
371
|
+
durationMs: number;
|
|
372
|
+
}
|
|
105
373
|
export interface RdfIndexSpaceObject {
|
|
106
374
|
name: string;
|
|
107
375
|
kind: 'table' | 'index' | 'internal' | 'unknown';
|
|
@@ -155,6 +423,52 @@ export interface RdfCardinalityDistributions {
|
|
|
155
423
|
predicateObjects: RdfPredicateObjectCardinality[];
|
|
156
424
|
subjectPredicates: RdfSubjectPredicateCardinality[];
|
|
157
425
|
}
|
|
426
|
+
export interface RdfSchemaExplorerOptions {
|
|
427
|
+
query?: string;
|
|
428
|
+
graphPrefix?: string;
|
|
429
|
+
limit?: number;
|
|
430
|
+
}
|
|
431
|
+
export interface RdfSchemaExplorerTermEntry {
|
|
432
|
+
term: RdfCardinalityTerm;
|
|
433
|
+
subjectQuadCount: number;
|
|
434
|
+
predicateQuadCount: number;
|
|
435
|
+
objectQuadCount: number;
|
|
436
|
+
graphQuadCount: number;
|
|
437
|
+
}
|
|
438
|
+
export interface RdfSchemaExplorerResult {
|
|
439
|
+
graphs: RdfGraphCardinality[];
|
|
440
|
+
predicates: RdfPredicateCardinality[];
|
|
441
|
+
classes: RdfPredicateObjectCardinality[];
|
|
442
|
+
terms: RdfSchemaExplorerTermEntry[];
|
|
443
|
+
}
|
|
444
|
+
export type RdfPathSearchDirection = 'out' | 'in' | 'both';
|
|
445
|
+
export type RdfPathEdgeDirection = 'out' | 'in';
|
|
446
|
+
export interface RdfBoundedPathSearchOptions {
|
|
447
|
+
start: Term;
|
|
448
|
+
target?: Term;
|
|
449
|
+
direction?: RdfPathSearchDirection;
|
|
450
|
+
predicates?: Term[];
|
|
451
|
+
graphPrefix?: string;
|
|
452
|
+
maxDepth?: number;
|
|
453
|
+
maxPaths?: number;
|
|
454
|
+
}
|
|
455
|
+
export interface RdfBoundedPathEdge {
|
|
456
|
+
graph: Term;
|
|
457
|
+
subject: Term;
|
|
458
|
+
predicate: Term;
|
|
459
|
+
object: Term;
|
|
460
|
+
direction: RdfPathEdgeDirection;
|
|
461
|
+
}
|
|
462
|
+
export interface RdfBoundedPath {
|
|
463
|
+
nodes: Term[];
|
|
464
|
+
edges: RdfBoundedPathEdge[];
|
|
465
|
+
}
|
|
466
|
+
export interface RdfBoundedPathSearchResult {
|
|
467
|
+
paths: RdfBoundedPath[];
|
|
468
|
+
truncated: boolean;
|
|
469
|
+
scannedEdges: number;
|
|
470
|
+
maxDepth: number;
|
|
471
|
+
}
|
|
158
472
|
export interface RdfQuadIndexScanResult {
|
|
159
473
|
quads: Quad[];
|
|
160
474
|
metrics: RdfIndexMetrics;
|
|
@@ -250,12 +564,16 @@ export interface Rdf3xJoinScanResult {
|
|
|
250
564
|
metrics: Rdf3xJoinMetrics;
|
|
251
565
|
}
|
|
252
566
|
export interface Rdf3xRebuildResult {
|
|
567
|
+
mode?: 'full' | 'incremental';
|
|
253
568
|
scannedQuads: number;
|
|
254
569
|
uniqueTriples: number;
|
|
255
570
|
memberships: number;
|
|
256
571
|
projectionRows: number;
|
|
257
572
|
factsDataVersion: number;
|
|
258
573
|
durationMs: number;
|
|
574
|
+
dirtyGraphs?: number;
|
|
575
|
+
dirtyPairs?: number;
|
|
576
|
+
dirtyTerms?: number;
|
|
259
577
|
}
|
|
260
578
|
export interface Rdf3xCardinalityEstimate {
|
|
261
579
|
uniqueTriples: number;
|
|
@@ -317,8 +635,16 @@ export interface RdfQuadJoinOrder {
|
|
|
317
635
|
variable: string;
|
|
318
636
|
direction?: 'asc' | 'desc';
|
|
319
637
|
}
|
|
638
|
+
export interface RdfSlotTermKeyRange {
|
|
639
|
+
slot: RdfQueryPatternKey;
|
|
640
|
+
lower?: number;
|
|
641
|
+
upper?: number;
|
|
642
|
+
lowerInclusive?: boolean;
|
|
643
|
+
upperExclusive?: boolean;
|
|
644
|
+
}
|
|
320
645
|
export interface RdfQuadScanOptions extends QueryOptions {
|
|
321
646
|
orderDirections?: Array<'asc' | 'desc'>;
|
|
647
|
+
slotTermRanges?: RdfSlotTermKeyRange[];
|
|
322
648
|
}
|
|
323
649
|
export interface RdfQuadJoinOptions {
|
|
324
650
|
orderBy?: RdfQuadJoinOrder[];
|
|
@@ -340,7 +666,7 @@ export interface RdfQuadJoinGroupAggregateHaving {
|
|
|
340
666
|
export type RdfQuadJoinGroupCountHaving = RdfQuadJoinGroupAggregateHaving;
|
|
341
667
|
export interface RdfPatternQuery {
|
|
342
668
|
pattern: QuintPattern;
|
|
343
|
-
options?:
|
|
669
|
+
options?: RdfQuadScanOptions;
|
|
344
670
|
}
|
|
345
671
|
export interface RdfQueryVariable {
|
|
346
672
|
variable: string;
|
|
@@ -395,6 +721,15 @@ export type RdfBindExpression = {
|
|
|
395
721
|
condition: RdfQueryFilter[];
|
|
396
722
|
then: RdfBindExpression;
|
|
397
723
|
else: RdfBindExpression;
|
|
724
|
+
} | {
|
|
725
|
+
type: 'numericValue';
|
|
726
|
+
expression: RdfBindExpression;
|
|
727
|
+
} | {
|
|
728
|
+
type: 'add';
|
|
729
|
+
expressions: RdfBindExpression[];
|
|
730
|
+
} | {
|
|
731
|
+
type: 'multiply';
|
|
732
|
+
expressions: RdfBindExpression[];
|
|
398
733
|
} | {
|
|
399
734
|
type: 'substring';
|
|
400
735
|
expression: RdfBindExpression;
|
|
@@ -436,24 +771,85 @@ export interface RdfValuesBindingSource {
|
|
|
436
771
|
variables: string[];
|
|
437
772
|
rows: RdfBindingRow[];
|
|
438
773
|
}
|
|
774
|
+
export interface RdfMaterializedViewBindingSource {
|
|
775
|
+
key: string;
|
|
776
|
+
version?: string | number;
|
|
777
|
+
scope?: RdfQueryCacheScope;
|
|
778
|
+
variables?: string[];
|
|
779
|
+
limit?: number;
|
|
780
|
+
offset?: number;
|
|
781
|
+
required?: boolean;
|
|
782
|
+
}
|
|
783
|
+
export interface RdfMaterializedViewBuildInput {
|
|
784
|
+
key: string;
|
|
785
|
+
version?: string | number;
|
|
786
|
+
query: RdfQuery;
|
|
787
|
+
variables?: string[];
|
|
788
|
+
scope?: RdfQueryCacheScope;
|
|
789
|
+
activate?: boolean;
|
|
790
|
+
maxRows?: number;
|
|
791
|
+
}
|
|
792
|
+
export interface RdfMaterializedViewBuildResult {
|
|
793
|
+
key: string;
|
|
794
|
+
version: string;
|
|
795
|
+
scopeHash: string;
|
|
796
|
+
factsDataVersion: number;
|
|
797
|
+
variables: string[];
|
|
798
|
+
rowCount: number;
|
|
799
|
+
active: boolean;
|
|
800
|
+
}
|
|
801
|
+
export interface RdfMaterializedViewReadResult extends RdfValuesBindingSource {
|
|
802
|
+
key: string;
|
|
803
|
+
version: string;
|
|
804
|
+
scopeHash: string;
|
|
805
|
+
factsDataVersion: number;
|
|
806
|
+
rowCount: number;
|
|
807
|
+
active: boolean;
|
|
808
|
+
createdAt: string;
|
|
809
|
+
activatedAt?: string;
|
|
810
|
+
}
|
|
811
|
+
export interface RdfMaterializedViewActivationInput extends RdfMaterializedViewBindingSource {
|
|
812
|
+
factsDataVersion?: number;
|
|
813
|
+
}
|
|
814
|
+
export interface RdfMaterializedViewActivationResult {
|
|
815
|
+
key: string;
|
|
816
|
+
version: string;
|
|
817
|
+
scopeHash: string;
|
|
818
|
+
factsDataVersion: number;
|
|
819
|
+
activated: boolean;
|
|
820
|
+
previousFactsDataVersion?: number;
|
|
821
|
+
}
|
|
439
822
|
export interface RdfSearchScope {
|
|
440
823
|
workspace?: string;
|
|
441
824
|
sourcePrefix?: string;
|
|
825
|
+
localPathPrefix?: string;
|
|
826
|
+
accessBasePath?: string;
|
|
827
|
+
allowedSources?: string[];
|
|
828
|
+
deniedSources?: string[];
|
|
829
|
+
deniedSourcePrefixes?: string[];
|
|
442
830
|
}
|
|
443
831
|
export interface RdfTextSearchPattern {
|
|
444
832
|
query: string;
|
|
445
833
|
scope?: RdfSearchScope;
|
|
834
|
+
entities?: string[];
|
|
446
835
|
limit?: number;
|
|
836
|
+
candidateLimit?: number;
|
|
447
837
|
offset?: number;
|
|
838
|
+
perSourceLimit?: number;
|
|
448
839
|
orderBy?: RdfTextSearchOrder[];
|
|
449
840
|
source?: string;
|
|
450
841
|
chunk?: string;
|
|
451
842
|
content?: string;
|
|
452
843
|
heading?: string;
|
|
453
844
|
score?: string;
|
|
845
|
+
scoreComponents?: string;
|
|
454
846
|
workspace?: string;
|
|
455
847
|
localPath?: string;
|
|
456
848
|
contentType?: string;
|
|
849
|
+
sourceKey?: string;
|
|
850
|
+
retrievalPoint?: string;
|
|
851
|
+
retrievalKind?: string;
|
|
852
|
+
entityProvenance?: string;
|
|
457
853
|
ordinal?: string;
|
|
458
854
|
level?: string;
|
|
459
855
|
startOffset?: string;
|
|
@@ -474,9 +870,15 @@ export interface RdfVectorSearchOrder {
|
|
|
474
870
|
export interface RdfVectorSearchPattern {
|
|
475
871
|
embedding: number[];
|
|
476
872
|
metric?: RdfVectorDistanceMetric;
|
|
873
|
+
vectorProvider?: string;
|
|
477
874
|
vectorModel?: string;
|
|
875
|
+
vectorModelVersion?: string;
|
|
876
|
+
vectorInputKind?: string;
|
|
877
|
+
vectorInputHash?: string;
|
|
878
|
+
vectorProjectionPolicyVersion?: string;
|
|
478
879
|
scope?: RdfSearchScope;
|
|
479
880
|
limit?: number;
|
|
881
|
+
candidateLimit?: number;
|
|
480
882
|
offset?: number;
|
|
481
883
|
threshold?: number;
|
|
482
884
|
orderBy?: RdfVectorSearchOrder[];
|
|
@@ -486,18 +888,52 @@ export interface RdfVectorSearchPattern {
|
|
|
486
888
|
heading?: string;
|
|
487
889
|
score?: string;
|
|
488
890
|
distance?: string;
|
|
891
|
+
scoreComponents?: string;
|
|
489
892
|
workspace?: string;
|
|
490
893
|
localPath?: string;
|
|
491
894
|
contentType?: string;
|
|
895
|
+
sourceKey?: string;
|
|
896
|
+
retrievalPoint?: string;
|
|
492
897
|
ordinal?: string;
|
|
493
898
|
level?: string;
|
|
494
899
|
startOffset?: string;
|
|
495
900
|
endOffset?: string;
|
|
901
|
+
provider?: string;
|
|
496
902
|
model?: string;
|
|
903
|
+
modelVersion?: string;
|
|
904
|
+
inputKind?: string;
|
|
905
|
+
inputHash?: string;
|
|
906
|
+
projectionPolicyVersion?: string;
|
|
907
|
+
}
|
|
908
|
+
export type RdfQueryCacheMode = 'default' | 'bypass' | 'refresh';
|
|
909
|
+
export interface RdfQueryMaterializedResultOptions {
|
|
910
|
+
key: string;
|
|
911
|
+
version?: string | number;
|
|
912
|
+
ttlMs?: number;
|
|
913
|
+
}
|
|
914
|
+
export interface RdfQueryCacheScopeDescriptor {
|
|
915
|
+
principal?: string;
|
|
916
|
+
basePath?: string;
|
|
917
|
+
mode?: string;
|
|
918
|
+
authorizationModel?: string;
|
|
919
|
+
permissionVersion?: string | number;
|
|
920
|
+
allowedGraphUrls?: string[];
|
|
921
|
+
deniedGraphUrls?: string[];
|
|
922
|
+
deniedGraphPrefixes?: string[];
|
|
923
|
+
components?: RdfQueryCacheScope[];
|
|
924
|
+
}
|
|
925
|
+
export type RdfQueryCacheScope = string | RdfQueryCacheScopeDescriptor | RdfQueryCacheScope[];
|
|
926
|
+
export interface RdfQueryCacheOptions {
|
|
927
|
+
/** Auth/principal/business scope that must be isolated in the cache key. */
|
|
928
|
+
scope?: RdfQueryCacheScope;
|
|
929
|
+
materialized?: string | RdfQueryMaterializedResultOptions;
|
|
930
|
+
mode?: RdfQueryCacheMode;
|
|
931
|
+
ttlMs?: number;
|
|
497
932
|
}
|
|
498
933
|
export interface RdfQuery {
|
|
499
934
|
patterns: RdfQueryPattern[];
|
|
500
935
|
values?: RdfValuesBindingSource[];
|
|
936
|
+
materializedViews?: RdfMaterializedViewBindingSource[];
|
|
501
937
|
textSearch?: RdfTextSearchPattern[];
|
|
502
938
|
vectorSearch?: RdfVectorSearchPattern[];
|
|
503
939
|
unions?: RdfUnionQueryGroup[];
|
|
@@ -516,6 +952,7 @@ export interface RdfQuery {
|
|
|
516
952
|
orderBy?: RdfQueryOrder[];
|
|
517
953
|
limit?: number;
|
|
518
954
|
offset?: number;
|
|
955
|
+
cache?: RdfQueryCacheOptions;
|
|
519
956
|
}
|
|
520
957
|
export interface RdfUnionQueryBranch {
|
|
521
958
|
patterns: RdfQueryPattern[];
|
|
@@ -571,6 +1008,8 @@ export type RdfQuadJoinGroupCountOptions = RdfQuadJoinGroupAggregateOptions;
|
|
|
571
1008
|
export interface RdfQueryMetrics {
|
|
572
1009
|
engine: 'solid-rdf';
|
|
573
1010
|
plan: string[];
|
|
1011
|
+
explain?: RdfQueryExplain;
|
|
1012
|
+
nativeProfile?: unknown;
|
|
574
1013
|
scannedRows: number;
|
|
575
1014
|
joinedRows: number;
|
|
576
1015
|
returnedRows: number;
|
|
@@ -582,17 +1021,184 @@ export interface RdfQueryMetrics {
|
|
|
582
1021
|
filtersApplied: number;
|
|
583
1022
|
filtersPushedDown: number;
|
|
584
1023
|
}
|
|
1024
|
+
export interface RdfQueryExplain {
|
|
1025
|
+
engine: 'solid-rdf' | 'postgres-rdf';
|
|
1026
|
+
factsDataVersion?: number;
|
|
1027
|
+
derived?: {
|
|
1028
|
+
profile: RdfDerivedIndexProfile;
|
|
1029
|
+
factsDataVersion?: number;
|
|
1030
|
+
syncedWithFacts?: boolean;
|
|
1031
|
+
};
|
|
1032
|
+
planner?: RdfQueryPlannerExplain;
|
|
1033
|
+
cache?: {
|
|
1034
|
+
template?: RdfQueryTemplateCacheExplain;
|
|
1035
|
+
result?: RdfQueryCacheExplain;
|
|
1036
|
+
materialized?: RdfQueryCacheExplain;
|
|
1037
|
+
scope?: RdfQueryCacheScopeExplain;
|
|
1038
|
+
};
|
|
1039
|
+
acceleration?: {
|
|
1040
|
+
profile: RdfPgAccelerationProfile;
|
|
1041
|
+
requested: boolean;
|
|
1042
|
+
enabled: boolean;
|
|
1043
|
+
provider?: RdfPgAccelerationProvider;
|
|
1044
|
+
fallbackReason?: RdfPgAccelerationFallbackReason;
|
|
1045
|
+
activeOperators?: string[];
|
|
1046
|
+
unsupportedCapabilities?: string[];
|
|
1047
|
+
};
|
|
1048
|
+
}
|
|
1049
|
+
export type RdfQueryPlannerSelectedPath = 'materialized-result-cache' | 'query-result-cache' | 'native-extension' | 'rdf3x' | 'facts' | 'unknown';
|
|
1050
|
+
export interface RdfQueryPlannerExplain {
|
|
1051
|
+
selectedPath: RdfQueryPlannerSelectedPath;
|
|
1052
|
+
reasons: string[];
|
|
1053
|
+
estimateInputs: string[];
|
|
1054
|
+
availableStats: string[];
|
|
1055
|
+
runtime: RdfQueryPlannerRuntimeExplain;
|
|
1056
|
+
staleStats?: RdfQueryPlannerStaleStatsExplain;
|
|
1057
|
+
slowQuery?: RdfQueryPlannerSlowQueryExplain;
|
|
1058
|
+
histogramHints?: RdfQueryPlannerHistogramHint[];
|
|
1059
|
+
rejectedCapabilities?: string[];
|
|
1060
|
+
rejectedNativeOperators?: RdfQueryPlannerNativeOperatorRejection[];
|
|
1061
|
+
}
|
|
1062
|
+
export interface RdfQueryPlannerNativeOperatorRejection {
|
|
1063
|
+
capability: string;
|
|
1064
|
+
reason: string;
|
|
1065
|
+
}
|
|
1066
|
+
export interface RdfQueryPlannerRuntimeExplain {
|
|
1067
|
+
durationMs: number;
|
|
1068
|
+
scannedRows: number;
|
|
1069
|
+
joinedRows: number;
|
|
1070
|
+
returnedRows: number;
|
|
1071
|
+
filtersApplied: number;
|
|
1072
|
+
filtersPushedDown: number;
|
|
1073
|
+
indexChoices: string[];
|
|
1074
|
+
planSize: number;
|
|
1075
|
+
}
|
|
1076
|
+
export interface RdfQueryPlannerStaleStatsExplain {
|
|
1077
|
+
factsDataVersion: number;
|
|
1078
|
+
rdf3xFactsDataVersion: number;
|
|
1079
|
+
stale: boolean;
|
|
1080
|
+
lag: number;
|
|
1081
|
+
}
|
|
1082
|
+
export interface RdfQueryPlannerSlowQueryExplain {
|
|
1083
|
+
durationMs: number;
|
|
1084
|
+
thresholdMs: number;
|
|
1085
|
+
scannedRows: number;
|
|
1086
|
+
scannedRowsThreshold: number;
|
|
1087
|
+
scanAmplification: number;
|
|
1088
|
+
reasons: string[];
|
|
1089
|
+
}
|
|
1090
|
+
export type RdfQueryPlannerHistogramHintKind = 'graph' | 'predicate' | 'predicate-object' | 'subject-predicate';
|
|
1091
|
+
export interface RdfQueryPlannerHistogramHint {
|
|
1092
|
+
kind: RdfQueryPlannerHistogramHintKind;
|
|
1093
|
+
patternIndex: number;
|
|
1094
|
+
quadCount: number;
|
|
1095
|
+
graphCount?: number;
|
|
1096
|
+
distinctSubjects?: number;
|
|
1097
|
+
distinctPredicates?: number;
|
|
1098
|
+
distinctObjects?: number;
|
|
1099
|
+
subject?: RdfCardinalityTerm;
|
|
1100
|
+
predicate?: RdfCardinalityTerm;
|
|
1101
|
+
object?: RdfCardinalityTerm;
|
|
1102
|
+
graph?: RdfCardinalityTerm;
|
|
1103
|
+
}
|
|
1104
|
+
export type RdfQueryCacheStatus = 'hit' | 'miss' | 'refresh' | 'store' | 'bypass' | 'disabled' | 'not-applicable';
|
|
1105
|
+
export interface RdfQueryTemplateCacheExplain {
|
|
1106
|
+
status: 'hit' | 'miss' | 'bypass';
|
|
1107
|
+
key?: string;
|
|
1108
|
+
maxEntries: number;
|
|
1109
|
+
ttlMs: number;
|
|
1110
|
+
}
|
|
1111
|
+
export interface RdfQueryCacheExplain {
|
|
1112
|
+
status: RdfQueryCacheStatus;
|
|
1113
|
+
key?: string;
|
|
1114
|
+
templateKey?: string;
|
|
1115
|
+
factsDataVersion?: number;
|
|
1116
|
+
ttlMs?: number;
|
|
1117
|
+
maxEntries?: number;
|
|
1118
|
+
maxBytes?: number;
|
|
1119
|
+
stored?: boolean;
|
|
1120
|
+
}
|
|
1121
|
+
export interface RdfQueryCacheScopeExplain {
|
|
1122
|
+
hash: string;
|
|
1123
|
+
shape: string;
|
|
1124
|
+
principal: string | null;
|
|
1125
|
+
basePath: string | null;
|
|
1126
|
+
mode: string | null;
|
|
1127
|
+
authorizationModel: string | null;
|
|
1128
|
+
permissionVersion: string | null;
|
|
1129
|
+
allowedGraphUrls?: string[] | null;
|
|
1130
|
+
deniedGraphUrls?: string[] | null;
|
|
1131
|
+
deniedGraphPrefixes?: string[] | null;
|
|
1132
|
+
}
|
|
585
1133
|
export interface RdfQueryResult {
|
|
586
1134
|
bindings: RdfBindingRow[];
|
|
587
1135
|
count?: number;
|
|
588
1136
|
metrics: RdfQueryMetrics;
|
|
589
1137
|
}
|
|
1138
|
+
export type RdfTermRewriteScope = 'graph' | 'source' | 'system' | 'safe_projection';
|
|
1139
|
+
export type RdfTermRewriteMode = 'direct' | 'remap_existing' | 'safe';
|
|
1140
|
+
export interface RdfTermRewriteInput {
|
|
1141
|
+
oldPrefix: string;
|
|
1142
|
+
newPrefix: string;
|
|
1143
|
+
/** Conservative scope. P0 callers should use graph/source/system only. */
|
|
1144
|
+
scope?: RdfTermRewriteScope;
|
|
1145
|
+
/** safe = direct when possible, remap when needed, skip unsafe mixed terms. */
|
|
1146
|
+
mode?: RdfTermRewriteMode;
|
|
1147
|
+
/** Optional exact source URI boundaries for system projection moves. */
|
|
1148
|
+
sources?: string[];
|
|
1149
|
+
}
|
|
1150
|
+
export interface RdfTermRewriteSkippedTerm {
|
|
1151
|
+
id: number;
|
|
1152
|
+
value: string;
|
|
1153
|
+
reason: 'not_named_node' | 'outside_scope' | 'mixed_usage' | 'collision_conflict';
|
|
1154
|
+
}
|
|
1155
|
+
export interface RdfTermRewriteResult {
|
|
1156
|
+
matchedTerms: number;
|
|
1157
|
+
rewrittenTerms: number;
|
|
1158
|
+
remappedTerms: number;
|
|
1159
|
+
skippedTerms: RdfTermRewriteSkippedTerm[];
|
|
1160
|
+
affectedQuads: number;
|
|
1161
|
+
}
|
|
1162
|
+
export interface RdfNativeSparqlAccessScope {
|
|
1163
|
+
basePath: string;
|
|
1164
|
+
mode: string;
|
|
1165
|
+
principal?: string;
|
|
1166
|
+
allowedGraphUrls?: string[];
|
|
1167
|
+
deniedGraphUrls?: string[];
|
|
1168
|
+
deniedGraphPrefixes?: string[];
|
|
1169
|
+
version?: string;
|
|
1170
|
+
}
|
|
1171
|
+
export interface RdfNativeSparqlQueryOptions {
|
|
1172
|
+
basePath: string;
|
|
1173
|
+
operation?: string;
|
|
1174
|
+
timeoutMs?: number;
|
|
1175
|
+
acceptMediaType?: string;
|
|
1176
|
+
loadDocument?: RdfNativeSparqlLoadDocumentOptions;
|
|
1177
|
+
accessScope?: RdfNativeSparqlAccessScope;
|
|
1178
|
+
}
|
|
1179
|
+
export interface RdfNativeSparqlLoadDocumentOptions {
|
|
1180
|
+
sourceUri: string;
|
|
1181
|
+
body: string;
|
|
1182
|
+
mediaType?: string;
|
|
1183
|
+
}
|
|
1184
|
+
export interface RdfNativeSparqlResult {
|
|
1185
|
+
status: 'ok' | 'unsupported' | 'error';
|
|
1186
|
+
mediaType: string;
|
|
1187
|
+
body: string;
|
|
1188
|
+
profile?: unknown;
|
|
1189
|
+
error?: string;
|
|
1190
|
+
}
|
|
590
1191
|
export interface RdfEngineLike {
|
|
591
1192
|
open(): void | Promise<void>;
|
|
592
1193
|
close(): void | Promise<void>;
|
|
593
1194
|
put(quads: Quad | Quad[], options?: RdfIndexPutOptions): void | Promise<void>;
|
|
594
1195
|
replaceSource(quads: Quad[], source: RdfSourceInput): void | Promise<void>;
|
|
595
1196
|
deleteSource(source: string): number | Promise<number>;
|
|
1197
|
+
moveSource?(oldSource: string, next: RdfSourceInput): number | Promise<number>;
|
|
1198
|
+
indexTextSource?(source: RdfTextSourceInput, text: string, chunks?: RdfTextChunkInput[]): void | Promise<void>;
|
|
1199
|
+
deleteTextSource?(source: string): number | Promise<number>;
|
|
1200
|
+
indexVectorSource?(source: RdfVectorSourceInput, chunks: RdfVectorChunkInput[]): void | Promise<void>;
|
|
1201
|
+
deleteVectorSource?(source: string): number | Promise<number>;
|
|
596
1202
|
delete(pattern: QuintPattern): number | Promise<number>;
|
|
597
1203
|
applyDelta(deletes: QuintPattern[], inserts: Quad[], options?: RdfIndexPutOptions): {
|
|
598
1204
|
deletedRows: number;
|
|
@@ -603,8 +1209,17 @@ export interface RdfEngineLike {
|
|
|
603
1209
|
}>;
|
|
604
1210
|
scan(query: RdfPatternQuery): RdfQuadIndexScanResult | Promise<RdfQuadIndexScanResult>;
|
|
605
1211
|
query(query: RdfQuery): RdfQueryResult | Promise<RdfQueryResult>;
|
|
606
|
-
|
|
607
|
-
|
|
1212
|
+
sparqlQuery?(query: string, options: RdfNativeSparqlQueryOptions): RdfNativeSparqlResult | Promise<RdfNativeSparqlResult>;
|
|
1213
|
+
rewriteTerms?(input: RdfTermRewriteInput): RdfTermRewriteResult | Promise<RdfTermRewriteResult>;
|
|
1214
|
+
materializeView?(input: RdfMaterializedViewBuildInput): RdfMaterializedViewBuildResult | Promise<RdfMaterializedViewBuildResult>;
|
|
1215
|
+
readMaterializedView?(source: RdfMaterializedViewBindingSource): RdfMaterializedViewReadResult | undefined | Promise<RdfMaterializedViewReadResult | undefined>;
|
|
1216
|
+
activateMaterializedView?(source: RdfMaterializedViewActivationInput): RdfMaterializedViewActivationResult | Promise<RdfMaterializedViewActivationResult>;
|
|
1217
|
+
deleteMaterializedView?(source: RdfMaterializedViewBindingSource): number | Promise<number>;
|
|
1218
|
+
exploreSchema?(options?: RdfSchemaExplorerOptions): RdfSchemaExplorerResult | Promise<RdfSchemaExplorerResult>;
|
|
1219
|
+
searchPaths?(options: RdfBoundedPathSearchOptions): RdfBoundedPathSearchResult | Promise<RdfBoundedPathSearchResult>;
|
|
1220
|
+
invalidateQueryResultCache?(scope?: RdfQueryCacheScope): number | Promise<number>;
|
|
1221
|
+
refreshDerivedIndexes(options?: RdfDerivedIndexRefreshOptions): RdfDerivedIndexRefreshResult | Promise<RdfDerivedIndexRefreshResult>;
|
|
1222
|
+
storageStats(options?: RdfStorageStatsOptions): RdfEngineStorageStats | Promise<RdfEngineStorageStats>;
|
|
608
1223
|
}
|
|
609
1224
|
export type RdfQueryPatternKey = TermName;
|
|
610
1225
|
export interface RdfShadowDiff {
|
|
@@ -631,8 +1246,40 @@ export interface RdfShadowScanResult {
|
|
|
631
1246
|
}
|
|
632
1247
|
export interface RdfTextIndexOptions {
|
|
633
1248
|
path: string;
|
|
1249
|
+
maxSourceBytes?: number;
|
|
1250
|
+
maxChunksPerSource?: number;
|
|
1251
|
+
}
|
|
1252
|
+
export type MaybePromise<T> = T | Promise<T>;
|
|
1253
|
+
export interface RdfTextIndexLike {
|
|
1254
|
+
open(): MaybePromise<void>;
|
|
1255
|
+
close(): MaybePromise<void>;
|
|
1256
|
+
clear(): MaybePromise<void>;
|
|
1257
|
+
schemaVersion(): MaybePromise<number>;
|
|
1258
|
+
sourceMetadata(source: string): MaybePromise<RdfTextSourceMetadata | undefined>;
|
|
1259
|
+
recordRebuildStatus(input: RdfTextRebuildStatusInput): MaybePromise<void>;
|
|
1260
|
+
rebuildStatus(source: string): MaybePromise<RdfTextRebuildStatus | undefined>;
|
|
1261
|
+
indexText(source: RdfTextSourceInput, text: string, chunks?: RdfTextChunkInput[]): MaybePromise<void>;
|
|
1262
|
+
moveSource(oldSource: string, next: RdfTextSourceInput): MaybePromise<number>;
|
|
1263
|
+
deleteSource(source: string): MaybePromise<number>;
|
|
1264
|
+
search(options: RdfTextSearchOptions): MaybePromise<RdfTextSearchResult[]>;
|
|
1265
|
+
estimateSearchCardinality(options: RdfTextSearchOptions): MaybePromise<RdfSearchCardinalityEstimate>;
|
|
1266
|
+
stats(): MaybePromise<RdfTextIndexStats>;
|
|
1267
|
+
termDocumentFrequency(limit?: number): MaybePromise<RdfTextTermDocumentFrequency[]>;
|
|
1268
|
+
}
|
|
1269
|
+
export interface RdfTextIndexSyncLike extends RdfTextIndexLike {
|
|
1270
|
+
open(): void;
|
|
1271
|
+
close(): void;
|
|
1272
|
+
clear(): void;
|
|
1273
|
+
indexText(source: RdfTextSourceInput, text: string, chunks?: RdfTextChunkInput[]): void;
|
|
1274
|
+
moveSource(oldSource: string, next: RdfTextSourceInput): number;
|
|
1275
|
+
deleteSource(source: string): number;
|
|
1276
|
+
search(options: RdfTextSearchOptions): RdfTextSearchResult[];
|
|
1277
|
+
estimateSearchCardinality(options: RdfTextSearchOptions): RdfSearchCardinalityEstimate;
|
|
1278
|
+
stats(): RdfTextIndexStats;
|
|
1279
|
+
termDocumentFrequency(limit?: number): RdfTextTermDocumentFrequency[];
|
|
634
1280
|
}
|
|
635
1281
|
export interface RdfTextSourceInput {
|
|
1282
|
+
sourceKey?: string;
|
|
636
1283
|
source: string;
|
|
637
1284
|
workspace: string;
|
|
638
1285
|
localPath?: string;
|
|
@@ -640,8 +1287,22 @@ export interface RdfTextSourceInput {
|
|
|
640
1287
|
sourceVersion?: string;
|
|
641
1288
|
sourceHash?: string;
|
|
642
1289
|
}
|
|
1290
|
+
export interface RdfTextSourceMetadata extends RdfTextSourceInput {
|
|
1291
|
+
updatedAt: string;
|
|
1292
|
+
}
|
|
1293
|
+
export type RdfTextRebuildStatusKind = 'indexed' | 'skipped' | 'capped' | 'error';
|
|
1294
|
+
export interface RdfTextRebuildStatusInput extends RdfTextSourceInput {
|
|
1295
|
+
status: RdfTextRebuildStatusKind;
|
|
1296
|
+
reason?: string;
|
|
1297
|
+
message?: string;
|
|
1298
|
+
}
|
|
1299
|
+
export interface RdfTextRebuildStatus extends RdfTextRebuildStatusInput {
|
|
1300
|
+
updatedAt: string;
|
|
1301
|
+
}
|
|
1302
|
+
export type RdfTextRetrievalKind = 'entity-card' | 'field-chunk' | 'file-chunk' | 'folder-card';
|
|
643
1303
|
export interface RdfTextChunkInput {
|
|
644
1304
|
chunkKey: string;
|
|
1305
|
+
retrievalKind?: RdfTextRetrievalKind;
|
|
645
1306
|
ordinal: number;
|
|
646
1307
|
level: number;
|
|
647
1308
|
heading?: string;
|
|
@@ -649,10 +1310,32 @@ export interface RdfTextChunkInput {
|
|
|
649
1310
|
content: string;
|
|
650
1311
|
startOffset: number;
|
|
651
1312
|
endOffset: number;
|
|
1313
|
+
entities?: RdfTextEntityInput[];
|
|
1314
|
+
}
|
|
1315
|
+
export interface RdfTextEntityInput {
|
|
1316
|
+
entity: string;
|
|
1317
|
+
predicate?: string;
|
|
1318
|
+
label?: string;
|
|
1319
|
+
value?: string;
|
|
1320
|
+
datatype?: string;
|
|
1321
|
+
language?: string;
|
|
1322
|
+
policyRole?: string;
|
|
1323
|
+
occurrences?: number;
|
|
1324
|
+
}
|
|
1325
|
+
export interface RdfTextEntityMention {
|
|
1326
|
+
entity: string;
|
|
1327
|
+
predicate?: string;
|
|
1328
|
+
label?: string;
|
|
1329
|
+
value?: string;
|
|
1330
|
+
datatype?: string;
|
|
1331
|
+
language?: string;
|
|
1332
|
+
policyRole?: string;
|
|
1333
|
+
occurrences: number;
|
|
652
1334
|
}
|
|
653
1335
|
export interface RdfTextChunkRow {
|
|
654
1336
|
id: number;
|
|
655
1337
|
source_id: number;
|
|
1338
|
+
source_key: string | null;
|
|
656
1339
|
source: string;
|
|
657
1340
|
workspace: string;
|
|
658
1341
|
local_path: string | null;
|
|
@@ -660,6 +1343,7 @@ export interface RdfTextChunkRow {
|
|
|
660
1343
|
source_version: string | null;
|
|
661
1344
|
source_hash: string | null;
|
|
662
1345
|
chunk_key: string;
|
|
1346
|
+
retrieval_kind: string | null;
|
|
663
1347
|
ordinal: number;
|
|
664
1348
|
level: number;
|
|
665
1349
|
heading: string | null;
|
|
@@ -673,11 +1357,17 @@ export interface RdfTextChunkRow {
|
|
|
673
1357
|
}
|
|
674
1358
|
export interface RdfTextSearchOptions {
|
|
675
1359
|
query: string;
|
|
1360
|
+
entities?: string[];
|
|
676
1361
|
source?: string;
|
|
677
1362
|
workspace?: string;
|
|
678
1363
|
sourcePrefix?: string;
|
|
1364
|
+
localPathPrefix?: string;
|
|
1365
|
+
allowedSources?: string[];
|
|
1366
|
+
deniedSources?: string[];
|
|
1367
|
+
deniedSourcePrefixes?: string[];
|
|
679
1368
|
limit?: number;
|
|
680
1369
|
offset?: number;
|
|
1370
|
+
perSourceLimit?: number;
|
|
681
1371
|
orderBy?: RdfTextSearchOrder[];
|
|
682
1372
|
}
|
|
683
1373
|
export interface RdfTextSearchResult {
|
|
@@ -687,7 +1377,10 @@ export interface RdfTextSearchResult {
|
|
|
687
1377
|
contentType?: string;
|
|
688
1378
|
sourceVersion?: string;
|
|
689
1379
|
sourceHash?: string;
|
|
1380
|
+
sourceKey: string;
|
|
690
1381
|
chunkKey: string;
|
|
1382
|
+
retrievalPointKey: string;
|
|
1383
|
+
retrievalKind: RdfTextRetrievalKind;
|
|
691
1384
|
ordinal: number;
|
|
692
1385
|
level: number;
|
|
693
1386
|
heading?: string;
|
|
@@ -695,16 +1388,28 @@ export interface RdfTextSearchResult {
|
|
|
695
1388
|
content: string;
|
|
696
1389
|
startOffset: number;
|
|
697
1390
|
endOffset: number;
|
|
1391
|
+
scoreComponents?: RdfTextScoreComponents;
|
|
1392
|
+
score: number;
|
|
1393
|
+
entities: RdfTextEntityMention[];
|
|
1394
|
+
}
|
|
1395
|
+
export interface RdfTextScoreComponents {
|
|
1396
|
+
sourceType: 'text';
|
|
1397
|
+
algorithm: 'occurrence-heading-boost' | 'pg-ts-rank-cd';
|
|
1398
|
+
normalizedQuery: string;
|
|
1399
|
+
occurrenceScore: number;
|
|
1400
|
+
headingBoost: number;
|
|
1401
|
+
nativeRank?: number;
|
|
698
1402
|
score: number;
|
|
699
1403
|
}
|
|
700
1404
|
export interface RdfSearchCardinalityEstimate {
|
|
701
1405
|
rows: number;
|
|
702
|
-
source: 'text-normalized-scan' | 'text-term-posting' | 'vector-candidate-count' | 'vector-component-score';
|
|
1406
|
+
source: 'text-normalized-scan' | 'text-term-posting' | 'pg-native-fts' | 'vector-candidate-count' | 'vector-component-score' | 'pg-vector-score';
|
|
703
1407
|
indexChoice: string;
|
|
704
1408
|
}
|
|
705
1409
|
export interface RdfTextIndexStats {
|
|
706
1410
|
sourceCount: number;
|
|
707
1411
|
chunkCount: number;
|
|
1412
|
+
entityMentionCount: number;
|
|
708
1413
|
databaseBytes: number;
|
|
709
1414
|
termDocumentFrequency: RdfTextTermDocumentFrequency[];
|
|
710
1415
|
}
|
|
@@ -718,7 +1423,32 @@ export interface RdfVectorIndexOptions {
|
|
|
718
1423
|
path: string;
|
|
719
1424
|
defaultMetric?: RdfVectorDistanceMetric;
|
|
720
1425
|
}
|
|
1426
|
+
export interface RdfVectorIndexLike {
|
|
1427
|
+
open(): MaybePromise<void>;
|
|
1428
|
+
close(): MaybePromise<void>;
|
|
1429
|
+
clear(): MaybePromise<void>;
|
|
1430
|
+
indexVector(source: RdfVectorSourceInput, chunks: RdfVectorChunkInput[]): MaybePromise<void>;
|
|
1431
|
+
deleteSource(source: string): MaybePromise<number>;
|
|
1432
|
+
search(options: RdfVectorSearchOptions): MaybePromise<RdfVectorSearchResult[]>;
|
|
1433
|
+
summaryLifecycle(options?: RdfVectorSummaryLifecycleOptions): MaybePromise<RdfVectorSummaryLifecycleEntry[]>;
|
|
1434
|
+
estimateSearchCardinality(options: RdfVectorSearchOptions): MaybePromise<RdfSearchCardinalityEstimate>;
|
|
1435
|
+
stats(): MaybePromise<RdfVectorIndexStats>;
|
|
1436
|
+
modelDistribution(): MaybePromise<RdfVectorModelDistribution[]>;
|
|
1437
|
+
}
|
|
1438
|
+
export interface RdfVectorIndexSyncLike extends RdfVectorIndexLike {
|
|
1439
|
+
open(): void;
|
|
1440
|
+
close(): void;
|
|
1441
|
+
clear(): void;
|
|
1442
|
+
indexVector(source: RdfVectorSourceInput, chunks: RdfVectorChunkInput[]): void;
|
|
1443
|
+
deleteSource(source: string): number;
|
|
1444
|
+
search(options: RdfVectorSearchOptions): RdfVectorSearchResult[];
|
|
1445
|
+
summaryLifecycle(options?: RdfVectorSummaryLifecycleOptions): RdfVectorSummaryLifecycleEntry[];
|
|
1446
|
+
estimateSearchCardinality(options: RdfVectorSearchOptions): RdfSearchCardinalityEstimate;
|
|
1447
|
+
stats(): RdfVectorIndexStats;
|
|
1448
|
+
modelDistribution(): RdfVectorModelDistribution[];
|
|
1449
|
+
}
|
|
721
1450
|
export interface RdfVectorSourceInput {
|
|
1451
|
+
sourceKey?: string;
|
|
722
1452
|
source: string;
|
|
723
1453
|
workspace: string;
|
|
724
1454
|
localPath?: string;
|
|
@@ -731,16 +1461,23 @@ export interface RdfVectorChunkInput {
|
|
|
731
1461
|
ordinal: number;
|
|
732
1462
|
level: number;
|
|
733
1463
|
embedding: number[];
|
|
1464
|
+
provider?: string;
|
|
734
1465
|
model?: string;
|
|
1466
|
+
modelVersion?: string;
|
|
1467
|
+
inputKind?: string;
|
|
1468
|
+
inputHash?: string;
|
|
1469
|
+
projectionPolicyVersion?: string;
|
|
735
1470
|
heading?: string;
|
|
736
1471
|
path?: string[];
|
|
737
1472
|
content: string;
|
|
738
1473
|
startOffset: number;
|
|
739
1474
|
endOffset: number;
|
|
1475
|
+
summaryMetadata?: RdfVectorSummaryMetadata;
|
|
740
1476
|
}
|
|
741
1477
|
export interface RdfVectorChunkRow {
|
|
742
1478
|
id: number;
|
|
743
1479
|
source_id: number;
|
|
1480
|
+
source_key: string;
|
|
744
1481
|
source: string;
|
|
745
1482
|
workspace: string;
|
|
746
1483
|
local_path: string | null;
|
|
@@ -756,18 +1493,33 @@ export interface RdfVectorChunkRow {
|
|
|
756
1493
|
start_offset: number;
|
|
757
1494
|
end_offset: number;
|
|
758
1495
|
embedding_json: string;
|
|
1496
|
+
summary_metadata: string | null;
|
|
759
1497
|
dimensions: number;
|
|
760
1498
|
magnitude: number;
|
|
1499
|
+
provider: string;
|
|
761
1500
|
model: string;
|
|
1501
|
+
model_version: string;
|
|
1502
|
+
input_kind: string;
|
|
1503
|
+
input_hash: string;
|
|
1504
|
+
projection_policy_version: string;
|
|
762
1505
|
updated_at: string;
|
|
763
1506
|
}
|
|
764
1507
|
export interface RdfVectorSearchOptions {
|
|
765
1508
|
embedding: number[];
|
|
766
1509
|
metric?: RdfVectorDistanceMetric;
|
|
1510
|
+
provider?: string;
|
|
767
1511
|
model?: string;
|
|
1512
|
+
modelVersion?: string;
|
|
1513
|
+
inputKind?: string;
|
|
1514
|
+
inputHash?: string;
|
|
1515
|
+
projectionPolicyVersion?: string;
|
|
768
1516
|
source?: string;
|
|
769
1517
|
workspace?: string;
|
|
770
1518
|
sourcePrefix?: string;
|
|
1519
|
+
localPathPrefix?: string;
|
|
1520
|
+
allowedSources?: string[];
|
|
1521
|
+
deniedSources?: string[];
|
|
1522
|
+
deniedSourcePrefixes?: string[];
|
|
771
1523
|
limit?: number;
|
|
772
1524
|
offset?: number;
|
|
773
1525
|
threshold?: number;
|
|
@@ -780,7 +1532,9 @@ export interface RdfVectorSearchResult {
|
|
|
780
1532
|
contentType?: string;
|
|
781
1533
|
sourceVersion?: string;
|
|
782
1534
|
sourceHash?: string;
|
|
1535
|
+
sourceKey: string;
|
|
783
1536
|
chunkKey: string;
|
|
1537
|
+
retrievalPointKey: string;
|
|
784
1538
|
ordinal: number;
|
|
785
1539
|
level: number;
|
|
786
1540
|
heading?: string;
|
|
@@ -789,9 +1543,80 @@ export interface RdfVectorSearchResult {
|
|
|
789
1543
|
startOffset: number;
|
|
790
1544
|
endOffset: number;
|
|
791
1545
|
embedding: number[];
|
|
1546
|
+
provider?: string;
|
|
1547
|
+
model?: string;
|
|
1548
|
+
modelVersion?: string;
|
|
1549
|
+
inputKind?: string;
|
|
1550
|
+
inputHash?: string;
|
|
1551
|
+
projectionPolicyVersion?: string;
|
|
1552
|
+
summaryMetadata?: RdfVectorSummaryMetadata;
|
|
1553
|
+
scoreComponents?: RdfVectorScoreComponents;
|
|
1554
|
+
score: number;
|
|
1555
|
+
distance: number;
|
|
1556
|
+
}
|
|
1557
|
+
export interface RdfVectorSummaryLifecycleOptions {
|
|
1558
|
+
source?: string;
|
|
1559
|
+
workspace?: string;
|
|
1560
|
+
sourcePrefix?: string;
|
|
1561
|
+
localPathPrefix?: string;
|
|
1562
|
+
allowedSources?: string[];
|
|
1563
|
+
deniedSources?: string[];
|
|
1564
|
+
deniedSourcePrefixes?: string[];
|
|
1565
|
+
provider?: string;
|
|
1566
|
+
model?: string;
|
|
1567
|
+
modelVersion?: string;
|
|
1568
|
+
inputKind?: string;
|
|
1569
|
+
inputHash?: string;
|
|
1570
|
+
projectionPolicyVersion?: string;
|
|
1571
|
+
limit?: number;
|
|
1572
|
+
}
|
|
1573
|
+
export interface RdfVectorSummaryLifecycleEntry {
|
|
1574
|
+
source: string;
|
|
1575
|
+
workspace: string;
|
|
1576
|
+
localPath?: string;
|
|
1577
|
+
contentType?: string;
|
|
1578
|
+
sourceVersion?: string;
|
|
1579
|
+
sourceHash?: string;
|
|
1580
|
+
sourceKey: string;
|
|
1581
|
+
chunkKey: string;
|
|
1582
|
+
retrievalPointKey: string;
|
|
1583
|
+
ordinal: number;
|
|
1584
|
+
level: number;
|
|
1585
|
+
heading?: string;
|
|
1586
|
+
path: string[];
|
|
1587
|
+
content: string;
|
|
1588
|
+
startOffset: number;
|
|
1589
|
+
endOffset: number;
|
|
1590
|
+
provider?: string;
|
|
792
1591
|
model?: string;
|
|
1592
|
+
modelVersion?: string;
|
|
1593
|
+
inputKind?: string;
|
|
1594
|
+
inputHash?: string;
|
|
1595
|
+
projectionPolicyVersion?: string;
|
|
1596
|
+
summaryMetadata: RdfVectorSummaryMetadata;
|
|
1597
|
+
updatedAt: string;
|
|
1598
|
+
}
|
|
1599
|
+
export interface RdfVectorScoreComponents {
|
|
1600
|
+
sourceType: 'vector';
|
|
1601
|
+
backend?: 'component' | 'pg-vector';
|
|
1602
|
+
metric: RdfVectorDistanceMetric;
|
|
1603
|
+
dimensions: number;
|
|
793
1604
|
score: number;
|
|
794
1605
|
distance: number;
|
|
1606
|
+
dotProduct: number;
|
|
1607
|
+
queryMagnitude: number;
|
|
1608
|
+
candidateMagnitude: number;
|
|
1609
|
+
distanceSquared?: number;
|
|
1610
|
+
}
|
|
1611
|
+
export interface RdfVectorSummaryMetadata {
|
|
1612
|
+
status: 'summarized';
|
|
1613
|
+
provider: string;
|
|
1614
|
+
model: string;
|
|
1615
|
+
promptVersion: string;
|
|
1616
|
+
sourceHash?: string;
|
|
1617
|
+
originalChars: number;
|
|
1618
|
+
summaryChars: number;
|
|
1619
|
+
rounds: number;
|
|
795
1620
|
}
|
|
796
1621
|
export interface RdfVectorIndexStats {
|
|
797
1622
|
sourceCount: number;
|
|
@@ -801,7 +1626,11 @@ export interface RdfVectorIndexStats {
|
|
|
801
1626
|
modelDistribution: RdfVectorModelDistribution[];
|
|
802
1627
|
}
|
|
803
1628
|
export interface RdfVectorModelDistribution {
|
|
1629
|
+
provider?: string;
|
|
804
1630
|
model: string;
|
|
1631
|
+
modelVersion?: string;
|
|
1632
|
+
inputKind?: string;
|
|
1633
|
+
projectionPolicyVersion?: string;
|
|
805
1634
|
dimensions: number;
|
|
806
1635
|
sourceCount: number;
|
|
807
1636
|
chunkCount: number;
|