@eloxiv/testing 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +6 -2
- package/dist/Admin.d.ts +20 -0
- package/dist/Admin.d.ts.map +1 -0
- package/dist/Admin.js +61 -0
- package/dist/Admin.js.map +1 -0
- package/dist/Agent.d.ts +97 -0
- package/dist/Agent.d.ts.map +1 -0
- package/dist/Agent.js +210 -0
- package/dist/Agent.js.map +1 -0
- package/dist/AgentSurface.d.ts +20 -0
- package/dist/AgentSurface.d.ts.map +1 -0
- package/dist/AgentSurface.js +36 -0
- package/dist/AgentSurface.js.map +1 -0
- package/dist/Embedder.d.ts +21 -0
- package/dist/Embedder.d.ts.map +1 -0
- package/dist/Embedder.js +54 -0
- package/dist/Embedder.js.map +1 -0
- package/dist/EvalMain.d.ts +2 -0
- package/dist/EvalMain.d.ts.map +1 -0
- package/dist/EvalMain.js +80 -0
- package/dist/EvalMain.js.map +1 -0
- package/dist/Evals.d.ts +95 -0
- package/dist/Evals.d.ts.map +1 -0
- package/dist/Evals.js +389 -0
- package/dist/Evals.js.map +1 -0
- package/dist/Kernel.d.ts +88 -0
- package/dist/Kernel.d.ts.map +1 -0
- package/dist/Kernel.js +108 -0
- package/dist/Kernel.js.map +1 -0
- package/dist/Launch.d.ts +86 -0
- package/dist/Launch.d.ts.map +1 -0
- package/dist/Launch.js +370 -0
- package/dist/Launch.js.map +1 -0
- package/dist/Locks.d.ts +39 -0
- package/dist/Locks.d.ts.map +1 -0
- package/dist/Locks.js +94 -0
- package/dist/Locks.js.map +1 -0
- package/dist/Routes.d.ts +19 -0
- package/dist/Routes.d.ts.map +1 -0
- package/dist/Routes.js +38 -0
- package/dist/Routes.js.map +1 -0
- package/dist/ScriptedChatModel.d.ts +51 -0
- package/dist/ScriptedChatModel.d.ts.map +1 -0
- package/dist/ScriptedChatModel.js +135 -0
- package/dist/ScriptedChatModel.js.map +1 -0
- package/dist/SmtpSink.d.ts +36 -0
- package/dist/SmtpSink.d.ts.map +1 -0
- package/dist/SmtpSink.js +185 -0
- package/dist/SmtpSink.js.map +1 -0
- package/dist/System.d.ts +271 -0
- package/dist/System.d.ts.map +1 -0
- package/dist/System.js +908 -0
- package/dist/System.js.map +1 -0
- package/dist/TcpProxy.d.ts +17 -0
- package/dist/TcpProxy.d.ts.map +1 -0
- package/dist/TcpProxy.js +100 -0
- package/dist/TcpProxy.js.map +1 -0
- package/dist/auth/TrustedProxyAuth.d.ts +28 -0
- package/dist/auth/TrustedProxyAuth.d.ts.map +1 -0
- package/dist/auth/TrustedProxyAuth.js +128 -0
- package/dist/auth/TrustedProxyAuth.js.map +1 -0
- package/dist/conformance/ActionConsent.d.ts +3 -0
- package/dist/conformance/ActionConsent.d.ts.map +1 -0
- package/dist/conformance/ActionConsent.js +347 -0
- package/dist/conformance/ActionConsent.js.map +1 -0
- package/dist/conformance/ActionRegistry.d.ts +64 -0
- package/dist/conformance/ActionRegistry.d.ts.map +1 -0
- package/dist/conformance/ActionRegistry.js +136 -0
- package/dist/conformance/ActionRegistry.js.map +1 -0
- package/dist/conformance/Actor.d.ts +43 -0
- package/dist/conformance/Actor.d.ts.map +1 -0
- package/dist/conformance/Actor.js +171 -0
- package/dist/conformance/Actor.js.map +1 -0
- package/dist/conformance/AgentReference.d.ts +30 -0
- package/dist/conformance/AgentReference.d.ts.map +1 -0
- package/dist/conformance/AgentReference.js +137 -0
- package/dist/conformance/AgentReference.js.map +1 -0
- package/dist/conformance/AgentResources.d.ts +3 -0
- package/dist/conformance/AgentResources.d.ts.map +1 -0
- package/dist/conformance/AgentResources.js +454 -0
- package/dist/conformance/AgentResources.js.map +1 -0
- package/dist/conformance/AgentRuntime.d.ts +3 -0
- package/dist/conformance/AgentRuntime.d.ts.map +1 -0
- package/dist/conformance/AgentRuntime.js +302 -0
- package/dist/conformance/AgentRuntime.js.map +1 -0
- package/dist/conformance/AgentSubject.d.ts +87 -0
- package/dist/conformance/AgentSubject.d.ts.map +1 -0
- package/dist/conformance/AgentSubject.js +18 -0
- package/dist/conformance/AgentSubject.js.map +1 -0
- package/dist/conformance/Approvals.d.ts +3 -0
- package/dist/conformance/Approvals.d.ts.map +1 -0
- package/dist/conformance/Approvals.js +258 -0
- package/dist/conformance/Approvals.js.map +1 -0
- package/dist/conformance/Audit.d.ts +3 -0
- package/dist/conformance/Audit.d.ts.map +1 -0
- package/dist/conformance/Audit.js +221 -0
- package/dist/conformance/Audit.js.map +1 -0
- package/dist/conformance/CalendarProvider.d.ts +4 -0
- package/dist/conformance/CalendarProvider.d.ts.map +1 -0
- package/dist/conformance/CalendarProvider.js +108 -0
- package/dist/conformance/CalendarProvider.js.map +1 -0
- package/dist/conformance/CapabilityKit.d.ts +191 -0
- package/dist/conformance/CapabilityKit.d.ts.map +1 -0
- package/dist/conformance/CapabilityKit.js +375 -0
- package/dist/conformance/CapabilityKit.js.map +1 -0
- package/dist/conformance/ClientSDK.d.ts +78 -0
- package/dist/conformance/ClientSDK.d.ts.map +1 -0
- package/dist/conformance/ClientSDK.js +163 -0
- package/dist/conformance/ClientSDK.js.map +1 -0
- package/dist/conformance/CollabDocument.d.ts +3 -0
- package/dist/conformance/CollabDocument.d.ts.map +1 -0
- package/dist/conformance/CollabDocument.js +934 -0
- package/dist/conformance/CollabDocument.js.map +1 -0
- package/dist/conformance/CollabReference.d.ts +8 -0
- package/dist/conformance/CollabReference.d.ts.map +1 -0
- package/dist/conformance/CollabReference.js +138 -0
- package/dist/conformance/CollabReference.js.map +1 -0
- package/dist/conformance/CollabSubject.d.ts +68 -0
- package/dist/conformance/CollabSubject.d.ts.map +1 -0
- package/dist/conformance/CollabSubject.js +2 -0
- package/dist/conformance/CollabSubject.js.map +1 -0
- package/dist/conformance/Command.d.ts +3 -0
- package/dist/conformance/Command.d.ts.map +1 -0
- package/dist/conformance/Command.js +73 -0
- package/dist/conformance/Command.js.map +1 -0
- package/dist/conformance/Connections.d.ts +4 -0
- package/dist/conformance/Connections.d.ts.map +1 -0
- package/dist/conformance/Connections.js +308 -0
- package/dist/conformance/Connections.js.map +1 -0
- package/dist/conformance/ConnectionsReference.d.ts +56 -0
- package/dist/conformance/ConnectionsReference.d.ts.map +1 -0
- package/dist/conformance/ConnectionsReference.js +74 -0
- package/dist/conformance/ConnectionsReference.js.map +1 -0
- package/dist/conformance/ConnectorReference.d.ts +86 -0
- package/dist/conformance/ConnectorReference.d.ts.map +1 -0
- package/dist/conformance/ConnectorReference.js +185 -0
- package/dist/conformance/ConnectorReference.js.map +1 -0
- package/dist/conformance/ContextAccounting.d.ts +8 -0
- package/dist/conformance/ContextAccounting.d.ts.map +1 -0
- package/dist/conformance/ContextAccounting.js +125 -0
- package/dist/conformance/ContextAccounting.js.map +1 -0
- package/dist/conformance/Daemon.d.ts +150 -0
- package/dist/conformance/Daemon.d.ts.map +1 -0
- package/dist/conformance/Daemon.js +718 -0
- package/dist/conformance/Daemon.js.map +1 -0
- package/dist/conformance/DaemonReference.d.ts +15 -0
- package/dist/conformance/DaemonReference.d.ts.map +1 -0
- package/dist/conformance/DaemonReference.js +163 -0
- package/dist/conformance/DaemonReference.js.map +1 -0
- package/dist/conformance/DbTx.d.ts +17 -0
- package/dist/conformance/DbTx.d.ts.map +1 -0
- package/dist/conformance/DbTx.js +184 -0
- package/dist/conformance/DbTx.js.map +1 -0
- package/dist/conformance/DecisionTokens.d.ts +3 -0
- package/dist/conformance/DecisionTokens.d.ts.map +1 -0
- package/dist/conformance/DecisionTokens.js +551 -0
- package/dist/conformance/DecisionTokens.js.map +1 -0
- package/dist/conformance/Delegation.d.ts +3 -0
- package/dist/conformance/Delegation.d.ts.map +1 -0
- package/dist/conformance/Delegation.js +149 -0
- package/dist/conformance/Delegation.js.map +1 -0
- package/dist/conformance/DeskReference.d.ts +21 -0
- package/dist/conformance/DeskReference.d.ts.map +1 -0
- package/dist/conformance/DeskReference.js +47 -0
- package/dist/conformance/DeskReference.js.map +1 -0
- package/dist/conformance/DeviceControl.d.ts +3 -0
- package/dist/conformance/DeviceControl.d.ts.map +1 -0
- package/dist/conformance/DeviceControl.js +579 -0
- package/dist/conformance/DeviceControl.js.map +1 -0
- package/dist/conformance/Directory.d.ts +36 -0
- package/dist/conformance/Directory.d.ts.map +1 -0
- package/dist/conformance/Directory.js +253 -0
- package/dist/conformance/Directory.js.map +1 -0
- package/dist/conformance/DirectoryProvider.d.ts +4 -0
- package/dist/conformance/DirectoryProvider.d.ts.map +1 -0
- package/dist/conformance/DirectoryProvider.js +58 -0
- package/dist/conformance/DirectoryProvider.js.map +1 -0
- package/dist/conformance/DocumentSource.d.ts +4 -0
- package/dist/conformance/DocumentSource.d.ts.map +1 -0
- package/dist/conformance/DocumentSource.js +43 -0
- package/dist/conformance/DocumentSource.js.map +1 -0
- package/dist/conformance/EndpointReference.d.ts +40 -0
- package/dist/conformance/EndpointReference.d.ts.map +1 -0
- package/dist/conformance/EndpointReference.js +67 -0
- package/dist/conformance/EndpointReference.js.map +1 -0
- package/dist/conformance/Files.d.ts +40 -0
- package/dist/conformance/Files.d.ts.map +1 -0
- package/dist/conformance/Files.js +592 -0
- package/dist/conformance/Files.js.map +1 -0
- package/dist/conformance/FilesReference.d.ts +31 -0
- package/dist/conformance/FilesReference.d.ts.map +1 -0
- package/dist/conformance/FilesReference.js +116 -0
- package/dist/conformance/FilesReference.js.map +1 -0
- package/dist/conformance/FilesSubject.d.ts +46 -0
- package/dist/conformance/FilesSubject.d.ts.map +1 -0
- package/dist/conformance/FilesSubject.js +3 -0
- package/dist/conformance/FilesSubject.js.map +1 -0
- package/dist/conformance/Flags.d.ts +3 -0
- package/dist/conformance/Flags.d.ts.map +1 -0
- package/dist/conformance/Flags.js +183 -0
- package/dist/conformance/Flags.js.map +1 -0
- package/dist/conformance/Host.d.ts +64 -0
- package/dist/conformance/Host.d.ts.map +1 -0
- package/dist/conformance/Host.js +152 -0
- package/dist/conformance/Host.js.map +1 -0
- package/dist/conformance/HttpApi.d.ts +5 -0
- package/dist/conformance/HttpApi.d.ts.map +1 -0
- package/dist/conformance/HttpApi.js +131 -0
- package/dist/conformance/HttpApi.js.map +1 -0
- package/dist/conformance/InboxReference.d.ts +28 -0
- package/dist/conformance/InboxReference.d.ts.map +1 -0
- package/dist/conformance/InboxReference.js +331 -0
- package/dist/conformance/InboxReference.js.map +1 -0
- package/dist/conformance/InboxSubject.d.ts +92 -0
- package/dist/conformance/InboxSubject.d.ts.map +1 -0
- package/dist/conformance/InboxSubject.js +16 -0
- package/dist/conformance/InboxSubject.js.map +1 -0
- package/dist/conformance/Ingestion.d.ts +10 -0
- package/dist/conformance/Ingestion.d.ts.map +1 -0
- package/dist/conformance/Ingestion.js +335 -0
- package/dist/conformance/Ingestion.js.map +1 -0
- package/dist/conformance/Ingress.d.ts +62 -0
- package/dist/conformance/Ingress.d.ts.map +1 -0
- package/dist/conformance/Ingress.js +346 -0
- package/dist/conformance/Ingress.js.map +1 -0
- package/dist/conformance/Invocation.d.ts +3 -0
- package/dist/conformance/Invocation.d.ts.map +1 -0
- package/dist/conformance/Invocation.js +665 -0
- package/dist/conformance/Invocation.js.map +1 -0
- package/dist/conformance/IsolationMatrix.d.ts +60 -0
- package/dist/conformance/IsolationMatrix.d.ts.map +1 -0
- package/dist/conformance/IsolationMatrix.js +196 -0
- package/dist/conformance/IsolationMatrix.js.map +1 -0
- package/dist/conformance/LiveConnection.d.ts +72 -0
- package/dist/conformance/LiveConnection.d.ts.map +1 -0
- package/dist/conformance/LiveConnection.js +125 -0
- package/dist/conformance/LiveConnection.js.map +1 -0
- package/dist/conformance/LocalClient.d.ts +70 -0
- package/dist/conformance/LocalClient.d.ts.map +1 -0
- package/dist/conformance/LocalClient.js +576 -0
- package/dist/conformance/LocalClient.js.map +1 -0
- package/dist/conformance/Locale.d.ts +28 -0
- package/dist/conformance/Locale.d.ts.map +1 -0
- package/dist/conformance/Locale.js +115 -0
- package/dist/conformance/Locale.js.map +1 -0
- package/dist/conformance/MachineIdentity.d.ts +39 -0
- package/dist/conformance/MachineIdentity.d.ts.map +1 -0
- package/dist/conformance/MachineIdentity.js +595 -0
- package/dist/conformance/MachineIdentity.js.map +1 -0
- package/dist/conformance/MailProvider.d.ts +4 -0
- package/dist/conformance/MailProvider.d.ts.map +1 -0
- package/dist/conformance/MailProvider.js +167 -0
- package/dist/conformance/MailProvider.js.map +1 -0
- package/dist/conformance/Memory.d.ts +10 -0
- package/dist/conformance/Memory.d.ts.map +1 -0
- package/dist/conformance/Memory.js +179 -0
- package/dist/conformance/Memory.js.map +1 -0
- package/dist/conformance/Messaging.d.ts +49 -0
- package/dist/conformance/Messaging.d.ts.map +1 -0
- package/dist/conformance/Messaging.js +117 -0
- package/dist/conformance/Messaging.js.map +1 -0
- package/dist/conformance/Metering.d.ts +26 -0
- package/dist/conformance/Metering.d.ts.map +1 -0
- package/dist/conformance/Metering.js +236 -0
- package/dist/conformance/Metering.js.map +1 -0
- package/dist/conformance/ModelProvider.d.ts +32 -0
- package/dist/conformance/ModelProvider.d.ts.map +1 -0
- package/dist/conformance/ModelProvider.js +100 -0
- package/dist/conformance/ModelProvider.js.map +1 -0
- package/dist/conformance/ModuleManifest.d.ts +9 -0
- package/dist/conformance/ModuleManifest.d.ts.map +1 -0
- package/dist/conformance/ModuleManifest.js +542 -0
- package/dist/conformance/ModuleManifest.js.map +1 -0
- package/dist/conformance/NotebookAgent.d.ts +32 -0
- package/dist/conformance/NotebookAgent.d.ts.map +1 -0
- package/dist/conformance/NotebookAgent.js +31 -0
- package/dist/conformance/NotebookAgent.js.map +1 -0
- package/dist/conformance/NotificationChannel.d.ts +40 -0
- package/dist/conformance/NotificationChannel.d.ts.map +1 -0
- package/dist/conformance/NotificationChannel.js +78 -0
- package/dist/conformance/NotificationChannel.js.map +1 -0
- package/dist/conformance/Notifications.d.ts +3 -0
- package/dist/conformance/Notifications.d.ts.map +1 -0
- package/dist/conformance/Notifications.js +240 -0
- package/dist/conformance/Notifications.js.map +1 -0
- package/dist/conformance/OAuthClient.d.ts +123 -0
- package/dist/conformance/OAuthClient.d.ts.map +1 -0
- package/dist/conformance/OAuthClient.js +204 -0
- package/dist/conformance/OAuthClient.js.map +1 -0
- package/dist/conformance/Outbox.d.ts +3 -0
- package/dist/conformance/Outbox.d.ts.map +1 -0
- package/dist/conformance/Outbox.js +266 -0
- package/dist/conformance/Outbox.js.map +1 -0
- package/dist/conformance/PlatformReference.d.ts +5 -0
- package/dist/conformance/PlatformReference.d.ts.map +1 -0
- package/dist/conformance/PlatformReference.js +66 -0
- package/dist/conformance/PlatformReference.js.map +1 -0
- package/dist/conformance/PlatformSubject.d.ts +45 -0
- package/dist/conformance/PlatformSubject.d.ts.map +1 -0
- package/dist/conformance/PlatformSubject.js +3 -0
- package/dist/conformance/PlatformSubject.js.map +1 -0
- package/dist/conformance/Privacy.d.ts +3 -0
- package/dist/conformance/Privacy.d.ts.map +1 -0
- package/dist/conformance/Privacy.js +437 -0
- package/dist/conformance/Privacy.js.map +1 -0
- package/dist/conformance/Progress.d.ts +3 -0
- package/dist/conformance/Progress.d.ts.map +1 -0
- package/dist/conformance/Progress.js +153 -0
- package/dist/conformance/Progress.js.map +1 -0
- package/dist/conformance/Push.d.ts +38 -0
- package/dist/conformance/Push.d.ts.map +1 -0
- package/dist/conformance/Push.js +649 -0
- package/dist/conformance/Push.js.map +1 -0
- package/dist/conformance/PushReference.d.ts +3 -0
- package/dist/conformance/PushReference.d.ts.map +1 -0
- package/dist/conformance/PushReference.js +97 -0
- package/dist/conformance/PushReference.js.map +1 -0
- package/dist/conformance/QuerySurface.d.ts +9 -0
- package/dist/conformance/QuerySurface.d.ts.map +1 -0
- package/dist/conformance/QuerySurface.js +349 -0
- package/dist/conformance/QuerySurface.js.map +1 -0
- package/dist/conformance/Readiness.d.ts +23 -0
- package/dist/conformance/Readiness.d.ts.map +1 -0
- package/dist/conformance/Readiness.js +110 -0
- package/dist/conformance/Readiness.js.map +1 -0
- package/dist/conformance/Reference.d.ts +17 -0
- package/dist/conformance/Reference.d.ts.map +1 -0
- package/dist/conformance/Reference.js +246 -0
- package/dist/conformance/Reference.js.map +1 -0
- package/dist/conformance/Release.d.ts +73 -0
- package/dist/conformance/Release.d.ts.map +1 -0
- package/dist/conformance/Release.js +556 -0
- package/dist/conformance/Release.js.map +1 -0
- package/dist/conformance/ReleaseReference.d.ts +5 -0
- package/dist/conformance/ReleaseReference.d.ts.map +1 -0
- package/dist/conformance/ReleaseReference.js +124 -0
- package/dist/conformance/ReleaseReference.js.map +1 -0
- package/dist/conformance/ResultRendering.d.ts +3 -0
- package/dist/conformance/ResultRendering.d.ts.map +1 -0
- package/dist/conformance/ResultRendering.js +120 -0
- package/dist/conformance/ResultRendering.js.map +1 -0
- package/dist/conformance/Sandbox.d.ts +58 -0
- package/dist/conformance/Sandbox.d.ts.map +1 -0
- package/dist/conformance/Sandbox.js +213 -0
- package/dist/conformance/Sandbox.js.map +1 -0
- package/dist/conformance/SandboxReference.d.ts +3 -0
- package/dist/conformance/SandboxReference.d.ts.map +1 -0
- package/dist/conformance/SandboxReference.js +44 -0
- package/dist/conformance/SandboxReference.js.map +1 -0
- package/dist/conformance/Scheduler.d.ts +106 -0
- package/dist/conformance/Scheduler.d.ts.map +1 -0
- package/dist/conformance/Scheduler.js +576 -0
- package/dist/conformance/Scheduler.js.map +1 -0
- package/dist/conformance/ScreenContext.d.ts +84 -0
- package/dist/conformance/ScreenContext.d.ts.map +1 -0
- package/dist/conformance/ScreenContext.js +290 -0
- package/dist/conformance/ScreenContext.js.map +1 -0
- package/dist/conformance/Search.d.ts +3 -0
- package/dist/conformance/Search.d.ts.map +1 -0
- package/dist/conformance/Search.js +333 -0
- package/dist/conformance/Search.js.map +1 -0
- package/dist/conformance/Secrets.d.ts +8 -0
- package/dist/conformance/Secrets.d.ts.map +1 -0
- package/dist/conformance/Secrets.js +231 -0
- package/dist/conformance/Secrets.js.map +1 -0
- package/dist/conformance/SecretsReference.d.ts +44 -0
- package/dist/conformance/SecretsReference.d.ts.map +1 -0
- package/dist/conformance/SecretsReference.js +73 -0
- package/dist/conformance/SecretsReference.js.map +1 -0
- package/dist/conformance/ServicesReference.d.ts +8 -0
- package/dist/conformance/ServicesReference.d.ts.map +1 -0
- package/dist/conformance/ServicesReference.js +273 -0
- package/dist/conformance/ServicesReference.js.map +1 -0
- package/dist/conformance/ServicesSubject.d.ts +104 -0
- package/dist/conformance/ServicesSubject.d.ts.map +1 -0
- package/dist/conformance/ServicesSubject.js +2 -0
- package/dist/conformance/ServicesSubject.js.map +1 -0
- package/dist/conformance/Settings.d.ts +3 -0
- package/dist/conformance/Settings.d.ts.map +1 -0
- package/dist/conformance/Settings.js +177 -0
- package/dist/conformance/Settings.js.map +1 -0
- package/dist/conformance/Sharing.d.ts +3 -0
- package/dist/conformance/Sharing.d.ts.map +1 -0
- package/dist/conformance/Sharing.js +368 -0
- package/dist/conformance/Sharing.js.map +1 -0
- package/dist/conformance/ShellSubject.d.ts +29 -0
- package/dist/conformance/ShellSubject.d.ts.map +1 -0
- package/dist/conformance/ShellSubject.js +13 -0
- package/dist/conformance/ShellSubject.js.map +1 -0
- package/dist/conformance/SignOutRace.d.ts +23 -0
- package/dist/conformance/SignOutRace.d.ts.map +1 -0
- package/dist/conformance/SignOutRace.js +49 -0
- package/dist/conformance/SignOutRace.js.map +1 -0
- package/dist/conformance/Slot.d.ts +3 -0
- package/dist/conformance/Slot.d.ts.map +1 -0
- package/dist/conformance/Slot.js +79 -0
- package/dist/conformance/Slot.js.map +1 -0
- package/dist/conformance/Space.d.ts +63 -0
- package/dist/conformance/Space.d.ts.map +1 -0
- package/dist/conformance/Space.js +294 -0
- package/dist/conformance/Space.js.map +1 -0
- package/dist/conformance/StorageAdapter.d.ts +76 -0
- package/dist/conformance/StorageAdapter.d.ts.map +1 -0
- package/dist/conformance/StorageAdapter.js +181 -0
- package/dist/conformance/StorageAdapter.js.map +1 -0
- package/dist/conformance/StorageBackend.d.ts +23 -0
- package/dist/conformance/StorageBackend.d.ts.map +1 -0
- package/dist/conformance/StorageBackend.js +274 -0
- package/dist/conformance/StorageBackend.js.map +1 -0
- package/dist/conformance/Subject.d.ts +198 -0
- package/dist/conformance/Subject.d.ts.map +1 -0
- package/dist/conformance/Subject.js +26 -0
- package/dist/conformance/Subject.js.map +1 -0
- package/dist/conformance/Sync.d.ts +3 -0
- package/dist/conformance/Sync.d.ts.map +1 -0
- package/dist/conformance/Sync.js +190 -0
- package/dist/conformance/Sync.js.map +1 -0
- package/dist/conformance/Telemetry.d.ts +3 -0
- package/dist/conformance/Telemetry.d.ts.map +1 -0
- package/dist/conformance/Telemetry.js +218 -0
- package/dist/conformance/Telemetry.js.map +1 -0
- package/dist/conformance/ThemeTokens.d.ts +22 -0
- package/dist/conformance/ThemeTokens.d.ts.map +1 -0
- package/dist/conformance/ThemeTokens.js +121 -0
- package/dist/conformance/ThemeTokens.js.map +1 -0
- package/dist/conformance/ToolSource.d.ts +5 -0
- package/dist/conformance/ToolSource.d.ts.map +1 -0
- package/dist/conformance/ToolSource.js +520 -0
- package/dist/conformance/ToolSource.js.map +1 -0
- package/dist/conformance/Versioning.d.ts +3 -0
- package/dist/conformance/Versioning.d.ts.map +1 -0
- package/dist/conformance/Versioning.js +160 -0
- package/dist/conformance/Versioning.js.map +1 -0
- package/dist/conformance/View.d.ts +3 -0
- package/dist/conformance/View.d.ts.map +1 -0
- package/dist/conformance/View.js +121 -0
- package/dist/conformance/View.js.map +1 -0
- package/dist/conformance/WorkItems.d.ts +3 -0
- package/dist/conformance/WorkItems.d.ts.map +1 -0
- package/dist/conformance/WorkItems.js +152 -0
- package/dist/conformance/WorkItems.js.map +1 -0
- package/dist/conformance/Workflow.d.ts +63 -0
- package/dist/conformance/Workflow.d.ts.map +1 -0
- package/dist/conformance/Workflow.js +235 -0
- package/dist/conformance/Workflow.js.map +1 -0
- package/dist/conformance/acme/chatlog.d.ts +591 -0
- package/dist/conformance/acme/chatlog.d.ts.map +1 -0
- package/dist/conformance/acme/chatlog.js +101 -0
- package/dist/conformance/acme/chatlog.js.map +1 -0
- package/dist/conformance/acme/connector.d.ts +12 -0
- package/dist/conformance/acme/connector.d.ts.map +1 -0
- package/dist/conformance/acme/connector.js +123 -0
- package/dist/conformance/acme/connector.js.map +1 -0
- package/dist/conformance/acme/migrations/0000_messages.sql +8 -0
- package/dist/conformance/archive/app.d.ts +728 -0
- package/dist/conformance/archive/app.d.ts.map +1 -0
- package/dist/conformance/archive/app.js +30 -0
- package/dist/conformance/archive/app.js.map +1 -0
- package/dist/conformance/archive/contract.d.ts +467 -0
- package/dist/conformance/archive/contract.d.ts.map +1 -0
- package/dist/conformance/archive/contract.js +187 -0
- package/dist/conformance/archive/contract.js.map +1 -0
- package/dist/conformance/archive/memo.sync.gen.d.ts +148 -0
- package/dist/conformance/archive/memo.sync.gen.d.ts.map +1 -0
- package/dist/conformance/archive/memo.sync.gen.js +23 -0
- package/dist/conformance/archive/memo.sync.gen.js.map +1 -0
- package/dist/conformance/archive/migrations/archive/0000_archive.sql +9 -0
- package/dist/conformance/archive/migrations/memo/0000_memo.sql +6 -0
- package/dist/conformance/archive/schema.d.ts +185 -0
- package/dist/conformance/archive/schema.d.ts.map +1 -0
- package/dist/conformance/archive/schema.js +22 -0
- package/dist/conformance/archive/schema.js.map +1 -0
- package/dist/conformance/archive/server.d.ts +273 -0
- package/dist/conformance/archive/server.d.ts.map +1 -0
- package/dist/conformance/archive/server.js +127 -0
- package/dist/conformance/archive/server.js.map +1 -0
- package/dist/conformance/archive/sync.gen.d.ts +319 -0
- package/dist/conformance/archive/sync.gen.d.ts.map +1 -0
- package/dist/conformance/archive/sync.gen.js +29 -0
- package/dist/conformance/archive/sync.gen.js.map +1 -0
- package/dist/conformance/atlas/app.d.ts +3 -0
- package/dist/conformance/atlas/app.d.ts.map +1 -0
- package/dist/conformance/atlas/app.js +15 -0
- package/dist/conformance/atlas/app.js.map +1 -0
- package/dist/conformance/atlas/contract.d.ts +489 -0
- package/dist/conformance/atlas/contract.d.ts.map +1 -0
- package/dist/conformance/atlas/contract.js +114 -0
- package/dist/conformance/atlas/contract.js.map +1 -0
- package/dist/conformance/crm/app.d.ts +304 -0
- package/dist/conformance/crm/app.d.ts.map +1 -0
- package/dist/conformance/crm/app.js +95 -0
- package/dist/conformance/crm/app.js.map +1 -0
- package/dist/conformance/crm/contract.d.ts +586 -0
- package/dist/conformance/crm/contract.d.ts.map +1 -0
- package/dist/conformance/crm/contract.js +153 -0
- package/dist/conformance/crm/contract.js.map +1 -0
- package/dist/conformance/crm/migrations/crm/0000_crm.sql +18 -0
- package/dist/conformance/crm/migrations/team/0000_team.sql +6 -0
- package/dist/conformance/crm/schema.d.ts +261 -0
- package/dist/conformance/crm/schema.d.ts.map +1 -0
- package/dist/conformance/crm/schema.js +25 -0
- package/dist/conformance/crm/schema.js.map +1 -0
- package/dist/conformance/crm/sync.gen.d.ts +188 -0
- package/dist/conformance/crm/sync.gen.d.ts.map +1 -0
- package/dist/conformance/crm/sync.gen.js +25 -0
- package/dist/conformance/crm/sync.gen.js.map +1 -0
- package/dist/conformance/desk/contract.d.ts +306 -0
- package/dist/conformance/desk/contract.d.ts.map +1 -0
- package/dist/conformance/desk/contract.js +56 -0
- package/dist/conformance/desk/contract.js.map +1 -0
- package/dist/conformance/desk/migrations/0000_notes.sql +7 -0
- package/dist/conformance/desk/server.d.ts +231 -0
- package/dist/conformance/desk/server.d.ts.map +1 -0
- package/dist/conformance/desk/server.js +123 -0
- package/dist/conformance/desk/server.js.map +1 -0
- package/dist/conformance/drafts/migrations/0000_drafts.sql +8 -0
- package/dist/conformance/drafts/module.d.ts +571 -0
- package/dist/conformance/drafts/module.d.ts.map +1 -0
- package/dist/conformance/drafts/module.js +190 -0
- package/dist/conformance/drafts/module.js.map +1 -0
- package/dist/conformance/fixture/app.d.ts +24 -0
- package/dist/conformance/fixture/app.d.ts.map +1 -0
- package/dist/conformance/fixture/app.js +26 -0
- package/dist/conformance/fixture/app.js.map +1 -0
- package/dist/conformance/fixture/docs/bad-sync.d.ts +105 -0
- package/dist/conformance/fixture/docs/bad-sync.d.ts.map +1 -0
- package/dist/conformance/fixture/docs/bad-sync.js +22 -0
- package/dist/conformance/fixture/docs/bad-sync.js.map +1 -0
- package/dist/conformance/fixture/docs/contract.d.ts +1091 -0
- package/dist/conformance/fixture/docs/contract.d.ts.map +1 -0
- package/dist/conformance/fixture/docs/contract.js +277 -0
- package/dist/conformance/fixture/docs/contract.js.map +1 -0
- package/dist/conformance/fixture/docs/migrations/0000_docs.sql +9 -0
- package/dist/conformance/fixture/docs/migrations/0001_seen.sql +12 -0
- package/dist/conformance/fixture/docs/migrations/0002_attachment.sql +6 -0
- package/dist/conformance/fixture/docs/policy.cedar +110 -0
- package/dist/conformance/fixture/docs/schema.d.ts +308 -0
- package/dist/conformance/fixture/docs/schema.d.ts.map +1 -0
- package/dist/conformance/fixture/docs/schema.js +36 -0
- package/dist/conformance/fixture/docs/schema.js.map +1 -0
- package/dist/conformance/fixture/docs/server.d.ts +552 -0
- package/dist/conformance/fixture/docs/server.d.ts.map +1 -0
- package/dist/conformance/fixture/docs/server.js +192 -0
- package/dist/conformance/fixture/docs/server.js.map +1 -0
- package/dist/conformance/fixture/docs/sync.d.ts +402 -0
- package/dist/conformance/fixture/docs/sync.d.ts.map +1 -0
- package/dist/conformance/fixture/docs/sync.gen.d.ts +574 -0
- package/dist/conformance/fixture/docs/sync.gen.d.ts.map +1 -0
- package/dist/conformance/fixture/docs/sync.gen.js +48 -0
- package/dist/conformance/fixture/docs/sync.gen.js.map +1 -0
- package/dist/conformance/fixture/docs/sync.js +23 -0
- package/dist/conformance/fixture/docs/sync.js.map +1 -0
- package/dist/conformance/fixture/peer/migrations/0000_peer.sql +8 -0
- package/dist/conformance/fixture/peer/module.d.ts +306 -0
- package/dist/conformance/fixture/peer/module.d.ts.map +1 -0
- package/dist/conformance/fixture/peer/module.js +44 -0
- package/dist/conformance/fixture/peer/module.js.map +1 -0
- package/dist/conformance/fixture/release/blocking/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/blocking/0001_wait.sql +2 -0
- package/dist/conformance/fixture/release/blocking-renamed/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/blocking-renamed/0001_wait.sql +5 -0
- package/dist/conformance/fixture/release/broken/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/broken/0001_extra.sql +3 -0
- package/dist/conformance/fixture/release/broken/0002_label.sql +3 -0
- package/dist/conformance/fixture/release/drift/escalate/0000_item.sql +5 -0
- package/dist/conformance/fixture/release/drift/escalate/0001_escalate.sql +8 -0
- package/dist/conformance/fixture/release/drift/v1/0000_item.sql +5 -0
- package/dist/conformance/fixture/release/escape/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/escape/0001_escape.sql +5 -0
- package/dist/conformance/fixture/release/misnamed/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/misnamed/0001_misname.sql +10 -0
- package/dist/conformance/fixture/release/module.d.ts +1878 -0
- package/dist/conformance/fixture/release/module.d.ts.map +1 -0
- package/dist/conformance/fixture/release/module.js +102 -0
- package/dist/conformance/fixture/release/module.js.map +1 -0
- package/dist/conformance/fixture/release/outside/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/outside/0001_extra.sql +3 -0
- package/dist/conformance/fixture/release/outside/0002_index.sql +4 -0
- package/dist/conformance/fixture/release/outside/0003_later.sql +1 -0
- package/dist/conformance/fixture/release/renamed/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/renamed/0001_misname.sql +10 -0
- package/dist/conformance/fixture/release/renamed/0002_restore.sql +1 -0
- package/dist/conformance/fixture/release/rogue/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/rogue/0001_extra.sql +3 -0
- package/dist/conformance/fixture/release/rogue/0002_definer.sql +1 -0
- package/dist/conformance/fixture/release/slow/0000_item.sql +5 -0
- package/dist/conformance/fixture/release/undeclared/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/undeclared/0001_extra.sql +3 -0
- package/dist/conformance/fixture/release/undeclared/0002_index.sql +1 -0
- package/dist/conformance/fixture/release/v1/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/v2/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/v2/0001_extra.sql +3 -0
- package/dist/conformance/fixture/release/v2/0002_label.sql +3 -0
- package/dist/conformance/fixture/release/viewed-retyped/0000_item.sql +3 -0
- package/dist/conformance/fixture/release/viewed-retyped/0001_retype.sql +1 -0
- package/dist/conformance/kit-hash.d.ts +8 -0
- package/dist/conformance/kit-hash.d.ts.map +1 -0
- package/dist/conformance/kit-hash.js +20 -0
- package/dist/conformance/kit-hash.js.map +1 -0
- package/dist/conformance/ledger/contract.d.ts +380 -0
- package/dist/conformance/ledger/contract.d.ts.map +1 -0
- package/dist/conformance/ledger/contract.js +81 -0
- package/dist/conformance/ledger/contract.js.map +1 -0
- package/dist/conformance/ledger/migrations/0000_entries.sql +8 -0
- package/dist/conformance/ledger/server.d.ts +312 -0
- package/dist/conformance/ledger/server.d.ts.map +1 -0
- package/dist/conformance/ledger/server.js +152 -0
- package/dist/conformance/ledger/server.js.map +1 -0
- package/dist/conformance/library/app.d.ts +616 -0
- package/dist/conformance/library/app.d.ts.map +1 -0
- package/dist/conformance/library/app.js +35 -0
- package/dist/conformance/library/app.js.map +1 -0
- package/dist/conformance/library/contract.d.ts +377 -0
- package/dist/conformance/library/contract.d.ts.map +1 -0
- package/dist/conformance/library/contract.js +63 -0
- package/dist/conformance/library/contract.js.map +1 -0
- package/dist/conformance/library/migrations/0000_library.sql +14 -0
- package/dist/conformance/library/schema.d.ts +174 -0
- package/dist/conformance/library/schema.d.ts.map +1 -0
- package/dist/conformance/library/schema.js +24 -0
- package/dist/conformance/library/schema.js.map +1 -0
- package/dist/conformance/library/server.d.ts +191 -0
- package/dist/conformance/library/server.d.ts.map +1 -0
- package/dist/conformance/library/server.js +52 -0
- package/dist/conformance/library/server.js.map +1 -0
- package/dist/conformance/library/sync.gen.d.ts +519 -0
- package/dist/conformance/library/sync.gen.d.ts.map +1 -0
- package/dist/conformance/library/sync.gen.js +42 -0
- package/dist/conformance/library/sync.gen.js.map +1 -0
- package/dist/conformance/locale/catalog.d.ts +93 -0
- package/dist/conformance/locale/catalog.d.ts.map +1 -0
- package/dist/conformance/locale/catalog.js +104 -0
- package/dist/conformance/locale/catalog.js.map +1 -0
- package/dist/conformance/notebook/app.d.ts +1039 -0
- package/dist/conformance/notebook/app.d.ts.map +1 -0
- package/dist/conformance/notebook/app.js +88 -0
- package/dist/conformance/notebook/app.js.map +1 -0
- package/dist/conformance/notebook/evals/pages.evals.json +94 -0
- package/dist/conformance/notebook/migrations/0000_notebook.sql +10 -0
- package/dist/conformance/notebook/module.d.ts +717 -0
- package/dist/conformance/notebook/module.d.ts.map +1 -0
- package/dist/conformance/notebook/module.js +188 -0
- package/dist/conformance/notebook/module.js.map +1 -0
- package/dist/conformance/pad/app.d.ts +9 -0
- package/dist/conformance/pad/app.d.ts.map +1 -0
- package/dist/conformance/pad/app.js +13 -0
- package/dist/conformance/pad/app.js.map +1 -0
- package/dist/conformance/pad/contract.d.ts +281 -0
- package/dist/conformance/pad/contract.d.ts.map +1 -0
- package/dist/conformance/pad/contract.js +66 -0
- package/dist/conformance/pad/contract.js.map +1 -0
- package/dist/conformance/pad/migrations/pad/0000_pad.sql +8 -0
- package/dist/conformance/pad/migrations/pad/0001_live_copy.sql +2 -0
- package/dist/conformance/pad/schema.d.ts +127 -0
- package/dist/conformance/pad/schema.d.ts.map +1 -0
- package/dist/conformance/pad/schema.js +17 -0
- package/dist/conformance/pad/schema.js.map +1 -0
- package/dist/conformance/pad/server.d.ts +149 -0
- package/dist/conformance/pad/server.d.ts.map +1 -0
- package/dist/conformance/pad/server.js +81 -0
- package/dist/conformance/pad/server.js.map +1 -0
- package/dist/conformance/purchases/app.d.ts +480 -0
- package/dist/conformance/purchases/app.d.ts.map +1 -0
- package/dist/conformance/purchases/app.js +32 -0
- package/dist/conformance/purchases/app.js.map +1 -0
- package/dist/conformance/purchases/contract.d.ts +720 -0
- package/dist/conformance/purchases/contract.d.ts.map +1 -0
- package/dist/conformance/purchases/contract.js +148 -0
- package/dist/conformance/purchases/contract.js.map +1 -0
- package/dist/conformance/purchases/migrations/0000_purchases.sql +17 -0
- package/dist/conformance/purchases/server.d.ts +250 -0
- package/dist/conformance/purchases/server.d.ts.map +1 -0
- package/dist/conformance/purchases/server.js +85 -0
- package/dist/conformance/purchases/server.js.map +1 -0
- package/dist/conformance/studio/app.d.ts +996 -0
- package/dist/conformance/studio/app.d.ts.map +1 -0
- package/dist/conformance/studio/app.js +251 -0
- package/dist/conformance/studio/app.js.map +1 -0
- package/dist/conformance/studio/contract.d.ts +1318 -0
- package/dist/conformance/studio/contract.d.ts.map +1 -0
- package/dist/conformance/studio/contract.js +280 -0
- package/dist/conformance/studio/contract.js.map +1 -0
- package/dist/conformance/studio/migrations/billing/0000_billing.sql +6 -0
- package/dist/conformance/studio/migrations/journal/0000_journal.sql +9 -0
- package/dist/conformance/studio/migrations/mailbox/0000_mailbox.sql +7 -0
- package/dist/conformance/studio/migrations/tasks/0000_tasks.sql +7 -0
- package/dist/conformance/workshop/app.d.ts +8 -0
- package/dist/conformance/workshop/app.d.ts.map +1 -0
- package/dist/conformance/workshop/app.js +13 -0
- package/dist/conformance/workshop/app.js.map +1 -0
- package/dist/conformance/workshop/migrations/0000_notes.sql +7 -0
- package/dist/conformance/workshop/module.d.ts +407 -0
- package/dist/conformance/workshop/module.d.ts.map +1 -0
- package/dist/conformance/workshop/module.js +71 -0
- package/dist/conformance/workshop/module.js.map +1 -0
- package/dist/fakes/AcmeFake.d.ts +46 -0
- package/dist/fakes/AcmeFake.d.ts.map +1 -0
- package/dist/fakes/AcmeFake.js +131 -0
- package/dist/fakes/AcmeFake.js.map +1 -0
- package/dist/fakes/ApnsFake.d.ts +79 -0
- package/dist/fakes/ApnsFake.d.ts.map +1 -0
- package/dist/fakes/ApnsFake.js +220 -0
- package/dist/fakes/ApnsFake.js.map +1 -0
- package/dist/fakes/FcmFake.d.ts +46 -0
- package/dist/fakes/FcmFake.d.ts.map +1 -0
- package/dist/fakes/FcmFake.js +185 -0
- package/dist/fakes/FcmFake.js.map +1 -0
- package/dist/fakes/GoogleFake.d.ts +221 -0
- package/dist/fakes/GoogleFake.d.ts.map +1 -0
- package/dist/fakes/GoogleFake.js +1035 -0
- package/dist/fakes/GoogleFake.js.map +1 -0
- package/dist/fakes/HttpApiFake.d.ts +22 -0
- package/dist/fakes/HttpApiFake.d.ts.map +1 -0
- package/dist/fakes/HttpApiFake.js +74 -0
- package/dist/fakes/HttpApiFake.js.map +1 -0
- package/dist/fakes/McpFake.d.ts +80 -0
- package/dist/fakes/McpFake.d.ts.map +1 -0
- package/dist/fakes/McpFake.js +312 -0
- package/dist/fakes/McpFake.js.map +1 -0
- package/dist/fakes/MicrosoftGraphFake.d.ts +254 -0
- package/dist/fakes/MicrosoftGraphFake.d.ts.map +1 -0
- package/dist/fakes/MicrosoftGraphFake.js +850 -0
- package/dist/fakes/MicrosoftGraphFake.js.map +1 -0
- package/dist/fakes/S3Fake.d.ts +29 -0
- package/dist/fakes/S3Fake.d.ts.map +1 -0
- package/dist/fakes/S3Fake.js +347 -0
- package/dist/fakes/S3Fake.js.map +1 -0
- package/dist/fakes/Server.d.ts +137 -0
- package/dist/fakes/Server.d.ts.map +1 -0
- package/dist/fakes/Server.js +357 -0
- package/dist/fakes/Server.js.map +1 -0
- package/dist/fakes/SignInProviderFake.d.ts +21 -0
- package/dist/fakes/SignInProviderFake.d.ts.map +1 -0
- package/dist/fakes/SignInProviderFake.js +56 -0
- package/dist/fakes/SignInProviderFake.js.map +1 -0
- package/dist/fakes/SlackFake.d.ts +136 -0
- package/dist/fakes/SlackFake.d.ts.map +1 -0
- package/dist/fakes/SlackFake.js +787 -0
- package/dist/fakes/SlackFake.js.map +1 -0
- package/dist/fakes/Store.d.ts +40 -0
- package/dist/fakes/Store.d.ts.map +1 -0
- package/dist/fakes/Store.js +82 -0
- package/dist/fakes/Store.js.map +1 -0
- package/dist/fakes/TelemetryFakes.d.ts +77 -0
- package/dist/fakes/TelemetryFakes.d.ts.map +1 -0
- package/dist/fakes/TelemetryFakes.js +121 -0
- package/dist/fakes/TelemetryFakes.js.map +1 -0
- package/dist/fakes/TestCa.d.ts +11 -0
- package/dist/fakes/TestCa.d.ts.map +1 -0
- package/dist/fakes/TestCa.js +115 -0
- package/dist/fakes/TestCa.js.map +1 -0
- package/dist/fakes/WorkOsFake.d.ts +40 -0
- package/dist/fakes/WorkOsFake.d.ts.map +1 -0
- package/dist/fakes/WorkOsFake.js +103 -0
- package/dist/fakes/WorkOsFake.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/make/reference.d.ts +520 -0
- package/dist/make/reference.d.ts.map +1 -0
- package/dist/make/reference.js +182 -0
- package/dist/make/reference.js.map +1 -0
- package/dist/make/sources.d.ts +48 -0
- package/dist/make/sources.d.ts.map +1 -0
- package/dist/make/sources.js +806 -0
- package/dist/make/sources.js.map +1 -0
- package/package.json +77 -3
- package/src/Admin.ts +82 -0
- package/src/Agent.ts +289 -0
- package/src/AgentSurface.ts +51 -0
- package/src/Embedder.ts +69 -0
- package/src/EvalMain.ts +81 -0
- package/src/Evals.ts +490 -0
- package/src/Kernel.ts +228 -0
- package/src/Launch.ts +428 -0
- package/src/Locks.ts +123 -0
- package/src/Routes.ts +65 -0
- package/src/ScriptedChatModel.ts +189 -0
- package/src/SmtpSink.ts +205 -0
- package/src/System.ts +1075 -0
- package/src/TcpProxy.ts +102 -0
- package/src/auth/TrustedProxyAuth.ts +173 -0
- package/src/conformance/ActionConsent.ts +437 -0
- package/src/conformance/ActionRegistry.ts +174 -0
- package/src/conformance/Actor.ts +216 -0
- package/src/conformance/AgentReference.ts +171 -0
- package/src/conformance/AgentResources.ts +548 -0
- package/src/conformance/AgentRuntime.ts +388 -0
- package/src/conformance/AgentSubject.ts +103 -0
- package/src/conformance/Approvals.ts +363 -0
- package/src/conformance/Audit.ts +257 -0
- package/src/conformance/CalendarProvider.ts +156 -0
- package/src/conformance/CapabilityKit.ts +564 -0
- package/src/conformance/ClientSDK.ts +233 -0
- package/src/conformance/CollabDocument.ts +1203 -0
- package/src/conformance/CollabReference.ts +152 -0
- package/src/conformance/CollabSubject.ts +64 -0
- package/src/conformance/Command.ts +75 -0
- package/src/conformance/Connections.ts +357 -0
- package/src/conformance/ConnectionsReference.ts +172 -0
- package/src/conformance/ConnectorReference.ts +280 -0
- package/src/conformance/ContextAccounting.ts +169 -0
- package/src/conformance/Daemon.ts +936 -0
- package/src/conformance/DaemonReference.ts +189 -0
- package/src/conformance/DbTx.ts +253 -0
- package/src/conformance/DecisionTokens.ts +652 -0
- package/src/conformance/Delegation.ts +177 -0
- package/src/conformance/DeskReference.ts +73 -0
- package/src/conformance/DeviceControl.ts +700 -0
- package/src/conformance/Directory.ts +315 -0
- package/src/conformance/DirectoryProvider.ts +72 -0
- package/src/conformance/DocumentSource.ts +62 -0
- package/src/conformance/EndpointReference.ts +117 -0
- package/src/conformance/Files.ts +685 -0
- package/src/conformance/FilesReference.ts +154 -0
- package/src/conformance/FilesSubject.ts +50 -0
- package/src/conformance/Flags.ts +215 -0
- package/src/conformance/Host.ts +197 -0
- package/src/conformance/HttpApi.ts +169 -0
- package/src/conformance/InboxReference.ts +401 -0
- package/src/conformance/InboxSubject.ts +101 -0
- package/src/conformance/Ingestion.ts +425 -0
- package/src/conformance/Ingress.ts +498 -0
- package/src/conformance/Invocation.ts +780 -0
- package/src/conformance/IsolationMatrix.ts +215 -0
- package/src/conformance/LiveConnection.ts +197 -0
- package/src/conformance/LocalClient.ts +707 -0
- package/src/conformance/Locale.ts +141 -0
- package/src/conformance/MachineIdentity.ts +828 -0
- package/src/conformance/MailProvider.ts +217 -0
- package/src/conformance/Memory.ts +223 -0
- package/src/conformance/Messaging.ts +185 -0
- package/src/conformance/Metering.ts +293 -0
- package/src/conformance/ModelProvider.ts +139 -0
- package/src/conformance/ModuleManifest.ts +630 -0
- package/src/conformance/NotebookAgent.ts +41 -0
- package/src/conformance/NotificationChannel.ts +122 -0
- package/src/conformance/Notifications.ts +316 -0
- package/src/conformance/OAuthClient.ts +240 -0
- package/src/conformance/Outbox.ts +342 -0
- package/src/conformance/PlatformReference.ts +73 -0
- package/src/conformance/PlatformSubject.ts +50 -0
- package/src/conformance/Privacy.ts +577 -0
- package/src/conformance/Progress.ts +244 -0
- package/src/conformance/Push.ts +820 -0
- package/src/conformance/PushReference.ts +101 -0
- package/src/conformance/QuerySurface.ts +408 -0
- package/src/conformance/Readiness.ts +157 -0
- package/src/conformance/Reference.ts +326 -0
- package/src/conformance/Release.ts +690 -0
- package/src/conformance/ReleaseReference.ts +179 -0
- package/src/conformance/ResultRendering.ts +149 -0
- package/src/conformance/Sandbox.ts +313 -0
- package/src/conformance/SandboxReference.ts +52 -0
- package/src/conformance/Scheduler.ts +764 -0
- package/src/conformance/ScreenContext.ts +402 -0
- package/src/conformance/Search.ts +419 -0
- package/src/conformance/Secrets.ts +277 -0
- package/src/conformance/SecretsReference.ts +131 -0
- package/src/conformance/ServicesReference.ts +330 -0
- package/src/conformance/ServicesSubject.ts +105 -0
- package/src/conformance/Settings.ts +204 -0
- package/src/conformance/Sharing.ts +486 -0
- package/src/conformance/ShellSubject.ts +47 -0
- package/src/conformance/SignOutRace.ts +77 -0
- package/src/conformance/Slot.ts +84 -0
- package/src/conformance/Space.ts +432 -0
- package/src/conformance/StorageAdapter.ts +253 -0
- package/src/conformance/StorageBackend.ts +327 -0
- package/src/conformance/Subject.ts +208 -0
- package/src/conformance/Sync.ts +215 -0
- package/src/conformance/Telemetry.ts +287 -0
- package/src/conformance/ThemeTokens.ts +163 -0
- package/src/conformance/ToolSource.ts +632 -0
- package/src/conformance/Versioning.ts +199 -0
- package/src/conformance/View.ts +143 -0
- package/src/conformance/WorkItems.ts +186 -0
- package/src/conformance/Workflow.ts +304 -0
- package/src/conformance/acme/chatlog.ts +115 -0
- package/src/conformance/acme/connector.ts +151 -0
- package/src/conformance/acme/migrations/0000_messages.sql +8 -0
- package/src/conformance/archive/app.ts +33 -0
- package/src/conformance/archive/contract.ts +191 -0
- package/src/conformance/archive/memo.sync.gen.ts +25 -0
- package/src/conformance/archive/migrations/archive/0000_archive.sql +9 -0
- package/src/conformance/archive/migrations/memo/0000_memo.sql +6 -0
- package/src/conformance/archive/schema.ts +25 -0
- package/src/conformance/archive/server.ts +146 -0
- package/src/conformance/archive/sync.gen.ts +32 -0
- package/src/conformance/atlas/app.ts +16 -0
- package/src/conformance/atlas/contract.ts +118 -0
- package/src/conformance/crm/app.ts +107 -0
- package/src/conformance/crm/contract.ts +163 -0
- package/src/conformance/crm/migrations/crm/0000_crm.sql +18 -0
- package/src/conformance/crm/migrations/team/0000_team.sql +6 -0
- package/src/conformance/crm/schema.ts +28 -0
- package/src/conformance/crm/sync.gen.ts +27 -0
- package/src/conformance/desk/contract.ts +61 -0
- package/src/conformance/desk/migrations/0000_notes.sql +7 -0
- package/src/conformance/desk/server.ts +131 -0
- package/src/conformance/drafts/migrations/0000_drafts.sql +8 -0
- package/src/conformance/drafts/module.ts +211 -0
- package/src/conformance/fixture/app.ts +37 -0
- package/src/conformance/fixture/docs/bad-sync.ts +34 -0
- package/src/conformance/fixture/docs/contract.ts +297 -0
- package/src/conformance/fixture/docs/migrations/0000_docs.sql +9 -0
- package/src/conformance/fixture/docs/migrations/0001_seen.sql +12 -0
- package/src/conformance/fixture/docs/migrations/0002_attachment.sql +6 -0
- package/src/conformance/fixture/docs/policy.cedar +110 -0
- package/src/conformance/fixture/docs/schema.ts +41 -0
- package/src/conformance/fixture/docs/server.ts +292 -0
- package/src/conformance/fixture/docs/sync.gen.ts +54 -0
- package/src/conformance/fixture/docs/sync.ts +24 -0
- package/src/conformance/fixture/peer/migrations/0000_peer.sql +8 -0
- package/src/conformance/fixture/peer/module.ts +51 -0
- package/src/conformance/fixture/release/blocking/0000_item.sql +3 -0
- package/src/conformance/fixture/release/blocking/0001_wait.sql +2 -0
- package/src/conformance/fixture/release/blocking-renamed/0000_item.sql +3 -0
- package/src/conformance/fixture/release/blocking-renamed/0001_wait.sql +5 -0
- package/src/conformance/fixture/release/broken/0000_item.sql +3 -0
- package/src/conformance/fixture/release/broken/0001_extra.sql +3 -0
- package/src/conformance/fixture/release/broken/0002_label.sql +3 -0
- package/src/conformance/fixture/release/drift/escalate/0000_item.sql +5 -0
- package/src/conformance/fixture/release/drift/escalate/0001_escalate.sql +8 -0
- package/src/conformance/fixture/release/drift/v1/0000_item.sql +5 -0
- package/src/conformance/fixture/release/escape/0000_item.sql +3 -0
- package/src/conformance/fixture/release/escape/0001_escape.sql +5 -0
- package/src/conformance/fixture/release/misnamed/0000_item.sql +3 -0
- package/src/conformance/fixture/release/misnamed/0001_misname.sql +10 -0
- package/src/conformance/fixture/release/module.ts +119 -0
- package/src/conformance/fixture/release/outside/0000_item.sql +3 -0
- package/src/conformance/fixture/release/outside/0001_extra.sql +3 -0
- package/src/conformance/fixture/release/outside/0002_index.sql +4 -0
- package/src/conformance/fixture/release/outside/0003_later.sql +1 -0
- package/src/conformance/fixture/release/renamed/0000_item.sql +3 -0
- package/src/conformance/fixture/release/renamed/0001_misname.sql +10 -0
- package/src/conformance/fixture/release/renamed/0002_restore.sql +1 -0
- package/src/conformance/fixture/release/rogue/0000_item.sql +3 -0
- package/src/conformance/fixture/release/rogue/0001_extra.sql +3 -0
- package/src/conformance/fixture/release/rogue/0002_definer.sql +1 -0
- package/src/conformance/fixture/release/slow/0000_item.sql +5 -0
- package/src/conformance/fixture/release/undeclared/0000_item.sql +3 -0
- package/src/conformance/fixture/release/undeclared/0001_extra.sql +3 -0
- package/src/conformance/fixture/release/undeclared/0002_index.sql +1 -0
- package/src/conformance/fixture/release/v1/0000_item.sql +3 -0
- package/src/conformance/fixture/release/v2/0000_item.sql +3 -0
- package/src/conformance/fixture/release/v2/0001_extra.sql +3 -0
- package/src/conformance/fixture/release/v2/0002_label.sql +3 -0
- package/src/conformance/fixture/release/viewed-retyped/0000_item.sql +3 -0
- package/src/conformance/fixture/release/viewed-retyped/0001_retype.sql +1 -0
- package/src/conformance/kit-hash.ts +18 -0
- package/src/conformance/ledger/contract.ts +92 -0
- package/src/conformance/ledger/migrations/0000_entries.sql +8 -0
- package/src/conformance/ledger/server.ts +174 -0
- package/src/conformance/library/app.ts +38 -0
- package/src/conformance/library/contract.ts +66 -0
- package/src/conformance/library/migrations/0000_library.sql +14 -0
- package/src/conformance/library/schema.ts +27 -0
- package/src/conformance/library/server.ts +65 -0
- package/src/conformance/library/sync.gen.ts +47 -0
- package/src/conformance/locale/catalog.ts +111 -0
- package/src/conformance/notebook/app.ts +115 -0
- package/src/conformance/notebook/evals/pages.evals.json +94 -0
- package/src/conformance/notebook/migrations/0000_notebook.sql +10 -0
- package/src/conformance/notebook/module.ts +215 -0
- package/src/conformance/notebook/skills/meeting-notes.md +4 -0
- package/src/conformance/pad/app.ts +21 -0
- package/src/conformance/pad/contract.ts +69 -0
- package/src/conformance/pad/migrations/pad/0000_pad.sql +8 -0
- package/src/conformance/pad/migrations/pad/0001_live_copy.sql +2 -0
- package/src/conformance/pad/schema.ts +18 -0
- package/src/conformance/pad/server.ts +102 -0
- package/src/conformance/purchases/app.ts +34 -0
- package/src/conformance/purchases/contract.ts +161 -0
- package/src/conformance/purchases/migrations/0000_purchases.sql +17 -0
- package/src/conformance/purchases/server.ts +95 -0
- package/src/conformance/replica-search.mjs +22 -0
- package/src/conformance/studio/app.ts +298 -0
- package/src/conformance/studio/contract.ts +319 -0
- package/src/conformance/studio/migrations/billing/0000_billing.sql +6 -0
- package/src/conformance/studio/migrations/journal/0000_journal.sql +9 -0
- package/src/conformance/studio/migrations/mailbox/0000_mailbox.sql +7 -0
- package/src/conformance/studio/migrations/tasks/0000_tasks.sql +7 -0
- package/src/conformance/workshop/app.ts +14 -0
- package/src/conformance/workshop/migrations/0000_notes.sql +7 -0
- package/src/conformance/workshop/module.ts +79 -0
- package/src/fakes/AcmeFake.ts +182 -0
- package/src/fakes/ApnsFake.ts +245 -0
- package/src/fakes/FcmFake.ts +231 -0
- package/src/fakes/GoogleFake.ts +1346 -0
- package/src/fakes/HttpApiFake.ts +116 -0
- package/src/fakes/McpFake.ts +355 -0
- package/src/fakes/MicrosoftGraphFake.ts +1191 -0
- package/src/fakes/S3Fake.ts +376 -0
- package/src/fakes/Server.ts +445 -0
- package/src/fakes/SignInProviderFake.ts +70 -0
- package/src/fakes/SlackFake.ts +893 -0
- package/src/fakes/Store.ts +96 -0
- package/src/fakes/TelemetryFakes.ts +197 -0
- package/src/fakes/TestCa.ts +166 -0
- package/src/fakes/WorkOsFake.ts +136 -0
- package/src/index.ts +9 -0
- package/src/make/reference.ts +259 -0
- package/src/make/sources.ts +836 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Criterion 3, module isolation, as catalog checks any set-up database can be put through: every module's roles
|
|
3
|
+
* against every other module's objects and the kernel's. Each check is one SQL query returning a `violation` per thing
|
|
4
|
+
* a module's role can reach that is not its own, so a test runs it as it is (`[]`), or after planting a violation in a
|
|
5
|
+
* rolled-back transaction (it must name it). The modules are given (from their definitions) or found in the catalog
|
|
6
|
+
* (`ownedFromCatalog`: every schema an `eloxiv_own_<name>` role owns, MAKE's included).
|
|
7
|
+
*
|
|
8
|
+
* What a module's runtime and owner roles may hold outside their own schema, and nothing more: `USAGE` on the
|
|
9
|
+
* kernel's `eloxiv_ctx`, `eloxiv_guard` and `eloxiv_platform` (and the owner on `eloxiv_setup`), and `EXECUTE` on the
|
|
10
|
+
* functions there, each a security definer with a fixed search path. Checked:
|
|
11
|
+
*
|
|
12
|
+
* - `relations`: any privilege on another schema's tables, views, materialized views and foreign tables, a column's
|
|
13
|
+
* included;
|
|
14
|
+
* - `sequences`: `USAGE` (nextval), `SELECT` or `UPDATE` on another schema's sequences, serial and identity ones
|
|
15
|
+
* included (a table privilege check does not see `USAGE`);
|
|
16
|
+
* - `functions`: `EXECUTE` on a function in another module's schema it can reach;
|
|
17
|
+
* - `security definer`: a security-definer function it can call that another module's role owns, that has no fixed
|
|
18
|
+
* search path, or whose search path names a schema it can create in;
|
|
19
|
+
* - `schemas`: `USAGE` on another module's schema or a kernel schema outside the list above, `CREATE` on any schema
|
|
20
|
+
* but its own;
|
|
21
|
+
* - `membership`: membership in another module's roles, however granted (`MEMBER`: with `INHERIT FALSE, SET TRUE` too;
|
|
22
|
+
* `USAGE`; `SET`), or in any role at all;
|
|
23
|
+
* - `attributes`: superuser, `BYPASSRLS`, `CREATEROLE`, `CREATEDB` or `REPLICATION`, its own or through a role it is a
|
|
24
|
+
* member of (each lets it past row-level security or out of its schema);
|
|
25
|
+
* - `default privileges`: a default privilege that would grant it (or everyone) objects created later outside its
|
|
26
|
+
* own schema;
|
|
27
|
+
* - `extensions`: `CREATE` or `TEMP` on the database (a trusted extension, a schema, a temporary object shadowing a
|
|
28
|
+
* security definer's), or an extension installed in a module's schema;
|
|
29
|
+
* - `large objects`: a large object another role owns that it may read or write (granted to it or to PUBLIC), or
|
|
30
|
+
* `lo_compat_privileges` on (every role reads and writes every large object);
|
|
31
|
+
* - `foreign data`: `USAGE` on a foreign data wrapper or a foreign server, or a user mapping for it (or PUBLIC);
|
|
32
|
+
* - `publications`: a publication or a subscription it owns (what it publishes or subscribes is beyond its schema's
|
|
33
|
+
* privileges);
|
|
34
|
+
* - `event triggers`: an event trigger it owns, or whose function it owns or lives in a module's schema (it would run
|
|
35
|
+
* at every DDL statement, as whoever runs that);
|
|
36
|
+
* - `languages`: a procedural language it owns (it decides who may write functions in it), or `USAGE` granted to it
|
|
37
|
+
* on an untrusted one;
|
|
38
|
+
* - `types`: `USAGE` on a type (an enum, a domain, a table's row type) in another module's schema it can reach;
|
|
39
|
+
* - `catalog functions`: `EXECUTE` on a function that reaches past the database's privileges (reading or listing the
|
|
40
|
+
* server's files, `lo_import`/`lo_export`, `dblink`), however held, or on any of PostgreSQL's own functions by a
|
|
41
|
+
* grant to it (or a role it is a member of) in that function's privileges;
|
|
42
|
+
* - `parameters`: a privilege granted to it (or PUBLIC, or a role it is a member of) on a configuration parameter
|
|
43
|
+
* (`SET`, `ALTER SYSTEM`): `lo_compat_privileges` set on by a module would read every large object.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/** A module's schema and its two roles. */
|
|
47
|
+
export interface OwnedModule {
|
|
48
|
+
readonly module: string
|
|
49
|
+
readonly schema: string
|
|
50
|
+
readonly runtime: string
|
|
51
|
+
readonly owner: string
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export const ISOLATION_CHECKS = [
|
|
55
|
+
"relations",
|
|
56
|
+
"sequences",
|
|
57
|
+
"functions",
|
|
58
|
+
"security definer",
|
|
59
|
+
"schemas",
|
|
60
|
+
"membership",
|
|
61
|
+
"attributes",
|
|
62
|
+
"default privileges",
|
|
63
|
+
"extensions",
|
|
64
|
+
"large objects",
|
|
65
|
+
"foreign data",
|
|
66
|
+
"publications",
|
|
67
|
+
"event triggers",
|
|
68
|
+
"languages",
|
|
69
|
+
"types",
|
|
70
|
+
"catalog functions",
|
|
71
|
+
"parameters",
|
|
72
|
+
] as const
|
|
73
|
+
export type IsolationCheck = (typeof ISOLATION_CHECKS)[number]
|
|
74
|
+
|
|
75
|
+
/** The kernel's schemas a module's roles may use (`USAGE`), by role. */
|
|
76
|
+
const KERNEL_USAGE = { runtime: ["eloxiv_ctx", "eloxiv_guard", "eloxiv_platform"], owner: ["eloxiv_setup"] }
|
|
77
|
+
|
|
78
|
+
const literal = (text: string) => `'${text.replaceAll("'", "''")}'`
|
|
79
|
+
const array = (values: ReadonlyArray<string>) =>
|
|
80
|
+
values.length === 0 ? `ARRAY[]::text[]` : `ARRAY[${values.map(literal).join(", ")}]::text[]`
|
|
81
|
+
|
|
82
|
+
/** The schemas no check looks into: PostgreSQL's own. */
|
|
83
|
+
const SYSTEM = `(n.nspname IN ('pg_catalog', 'information_schema') OR n.nspname LIKE 'pg\\_toast%' OR n.nspname LIKE 'pg\\_temp%')`
|
|
84
|
+
|
|
85
|
+
/** The modules, and each module's roles (`kind` runtime or owner), as SQL. */
|
|
86
|
+
const withModules = (owned: ReadonlyArray<OwnedModule>) => {
|
|
87
|
+
const rows = owned.map((m) => `(${[m.module, m.schema, m.runtime, m.owner].map(literal).join(", ")})`).join(",\n ")
|
|
88
|
+
return `WITH m(module, schema, runtime, owner) AS (VALUES
|
|
89
|
+
${rows}),
|
|
90
|
+
r AS (SELECT module, schema, runtime AS role, 'runtime' AS kind FROM m UNION ALL SELECT module, schema, owner, 'owner' FROM m)`
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const checks: Record<IsolationCheck, string> = {
|
|
94
|
+
relations: `SELECT format('%s (%s) -> %I.%I (%s)', r.role, r.module, n.nspname, c.relname, c.relkind) AS violation
|
|
95
|
+
FROM r, pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
|
96
|
+
WHERE n.nspname <> r.schema AND NOT ${SYSTEM} AND c.relkind IN ('r', 'p', 'v', 'm', 'f')
|
|
97
|
+
AND (has_table_privilege(r.role, c.oid, 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
|
|
98
|
+
OR has_any_column_privilege(r.role, c.oid, 'SELECT, INSERT, UPDATE, REFERENCES'))`,
|
|
99
|
+
sequences: `SELECT format('%s (%s) -> sequence %I.%I', r.role, r.module, n.nspname, c.relname) AS violation
|
|
100
|
+
FROM r, pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
|
101
|
+
WHERE n.nspname <> r.schema AND NOT ${SYSTEM} AND c.relkind = 'S'
|
|
102
|
+
AND has_sequence_privilege(r.role, c.oid, 'USAGE, SELECT, UPDATE')`,
|
|
103
|
+
functions: `SELECT format('%s (%s) -> %I.%I(%s)', r.role, r.module, n.nspname, p.proname, pg_get_function_identity_arguments(p.oid)) AS violation
|
|
104
|
+
FROM r, m o, pg_catalog.pg_proc p JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace
|
|
105
|
+
WHERE o.module <> r.module AND n.nspname = o.schema
|
|
106
|
+
AND has_schema_privilege(r.role, n.oid, 'USAGE') AND has_function_privilege(r.role, p.oid, 'EXECUTE')`,
|
|
107
|
+
"security definer": `SELECT format('%s (%s) -> security definer %I.%I(%s), owned by %s, %s', r.role, r.module, n.nspname, p.proname,
|
|
108
|
+
pg_get_function_identity_arguments(p.oid), pg_get_userbyid(p.proowner),
|
|
109
|
+
coalesce((SELECT s FROM unnest(p.proconfig) s WHERE s LIKE 'search_path=%' LIMIT 1), 'no fixed search path')) AS violation
|
|
110
|
+
FROM r, pg_catalog.pg_proc p JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace
|
|
111
|
+
WHERE p.prosecdef AND has_schema_privilege(r.role, n.oid, 'USAGE') AND has_function_privilege(r.role, p.oid, 'EXECUTE')
|
|
112
|
+
AND (pg_get_userbyid(p.proowner) IN (SELECT o.runtime FROM m o WHERE o.module <> r.module UNION SELECT o.owner FROM m o WHERE o.module <> r.module)
|
|
113
|
+
OR NOT EXISTS (SELECT 1 FROM unnest(p.proconfig) s WHERE s LIKE 'search_path=%')
|
|
114
|
+
OR EXISTS (
|
|
115
|
+
SELECT 1 FROM unnest(p.proconfig) s, unnest(string_to_array(substr(s, length('search_path=') + 1), ',')) AS e(entry)
|
|
116
|
+
JOIN pg_catalog.pg_namespace w ON w.nspname = btrim(e.entry, ' "')
|
|
117
|
+
WHERE s LIKE 'search_path=%' AND has_schema_privilege(r.role, w.oid, 'CREATE')))`,
|
|
118
|
+
schemas: `SELECT format('%s (%s) -> %s on schema %I', r.role, r.module, p.privilege, n.nspname) AS violation
|
|
119
|
+
FROM r, pg_catalog.pg_namespace n, (VALUES ('USAGE'), ('CREATE')) AS p(privilege)
|
|
120
|
+
WHERE n.nspname <> r.schema AND NOT ${SYSTEM} AND has_schema_privilege(r.role, n.oid, p.privilege)
|
|
121
|
+
AND NOT (p.privilege = 'USAGE' AND n.nspname NOT IN (SELECT schema FROM m)
|
|
122
|
+
AND n.nspname = ANY(CASE r.kind WHEN 'runtime' THEN ${array(KERNEL_USAGE.runtime)} ELSE ${array([...KERNEL_USAGE.runtime, ...KERNEL_USAGE.owner])} END))`,
|
|
123
|
+
membership: `SELECT format('%s (%s) is a member of %s (%s: %s)', a.role, a.module, b.rolname, coalesce(o.module, 'not a module''s'),
|
|
124
|
+
concat_ws(', ', CASE WHEN pg_has_role(a.role, b.oid, 'MEMBER') THEN 'MEMBER' END,
|
|
125
|
+
CASE WHEN pg_has_role(a.role, b.oid, 'USAGE') THEN 'USAGE' END, CASE WHEN pg_has_role(a.role, b.oid, 'SET') THEN 'SET' END)) AS violation
|
|
126
|
+
FROM r a, pg_catalog.pg_roles b LEFT JOIN r o ON o.role = b.rolname
|
|
127
|
+
WHERE b.rolname <> a.role
|
|
128
|
+
AND (pg_has_role(a.role, b.oid, 'MEMBER') OR pg_has_role(a.role, b.oid, 'USAGE') OR pg_has_role(a.role, b.oid, 'SET'))`,
|
|
129
|
+
attributes: `SELECT format('%s (%s): %s%s', r.role, r.module,
|
|
130
|
+
concat_ws(', ', CASE WHEN x.rolsuper THEN 'SUPERUSER' END, CASE WHEN x.rolbypassrls THEN 'BYPASSRLS' END,
|
|
131
|
+
CASE WHEN x.rolcreaterole THEN 'CREATEROLE' END, CASE WHEN x.rolcreatedb THEN 'CREATEDB' END,
|
|
132
|
+
CASE WHEN x.rolreplication THEN 'REPLICATION' END),
|
|
133
|
+
CASE WHEN x.rolname = r.role THEN '' ELSE format(' (through %s)', x.rolname) END) AS violation
|
|
134
|
+
FROM r, pg_catalog.pg_roles x
|
|
135
|
+
WHERE (x.rolname = r.role OR pg_has_role(r.role, x.oid, 'MEMBER'))
|
|
136
|
+
AND (x.rolsuper OR x.rolbypassrls OR x.rolcreaterole OR x.rolcreatedb OR x.rolreplication)`,
|
|
137
|
+
"default privileges": `SELECT format('default privileges of %s in %s on %s grant %s to %s', pg_get_userbyid(d.defaclrole),
|
|
138
|
+
CASE WHEN d.defaclnamespace = 0 THEN 'every schema' ELSE d.defaclnamespace::regnamespace::text END, d.defaclobjtype,
|
|
139
|
+
a.privilege_type, CASE WHEN a.grantee = 0 THEN 'PUBLIC' ELSE pg_get_userbyid(a.grantee) END) AS violation
|
|
140
|
+
FROM pg_catalog.pg_default_acl d, aclexplode(d.defaclacl) a
|
|
141
|
+
WHERE (a.grantee = 0 OR pg_get_userbyid(a.grantee) IN (SELECT role FROM r))
|
|
142
|
+
AND NOT EXISTS (SELECT 1 FROM r own WHERE own.role = pg_get_userbyid(a.grantee) AND d.defaclnamespace <> 0
|
|
143
|
+
AND d.defaclnamespace::regnamespace::text = quote_ident(own.schema))`,
|
|
144
|
+
extensions: `SELECT format('%s (%s) -> %s on the database', r.role, r.module, p.privilege) AS violation
|
|
145
|
+
FROM r, (VALUES ('CREATE'), ('TEMP')) AS p(privilege)
|
|
146
|
+
WHERE has_database_privilege(r.role, current_database(), p.privilege)
|
|
147
|
+
UNION ALL
|
|
148
|
+
SELECT format('extension %s is installed in %s''s schema %I', e.extname, m.module, m.schema)
|
|
149
|
+
FROM pg_catalog.pg_extension e JOIN pg_catalog.pg_namespace n ON n.oid = e.extnamespace JOIN m ON m.schema = n.nspname`,
|
|
150
|
+
"large objects": `SELECT format('%s (%s) -> %s on large object %s, owned by %s', r.role, r.module, a.privilege_type, l.oid,
|
|
151
|
+
pg_get_userbyid(l.lomowner)) AS violation
|
|
152
|
+
FROM r, pg_catalog.pg_largeobject_metadata l, aclexplode(coalesce(l.lomacl, acldefault('L', l.lomowner))) a
|
|
153
|
+
WHERE pg_get_userbyid(l.lomowner) NOT IN (SELECT o.role FROM r o WHERE o.module = r.module)
|
|
154
|
+
AND (a.grantee = 0 OR pg_get_userbyid(a.grantee) = r.role) AND a.privilege_type IN ('SELECT', 'UPDATE')
|
|
155
|
+
UNION ALL
|
|
156
|
+
SELECT 'lo_compat_privileges is on: every role reads and writes every large object'
|
|
157
|
+
WHERE current_setting('lo_compat_privileges')::boolean`,
|
|
158
|
+
"foreign data": `SELECT format('%s (%s) -> USAGE on foreign data wrapper %s', r.role, r.module, w.fdwname) AS violation
|
|
159
|
+
FROM r, pg_catalog.pg_foreign_data_wrapper w WHERE has_foreign_data_wrapper_privilege(r.role, w.oid, 'USAGE')
|
|
160
|
+
UNION ALL
|
|
161
|
+
SELECT format('%s (%s) -> USAGE on foreign server %s', r.role, r.module, s.srvname)
|
|
162
|
+
FROM r, pg_catalog.pg_foreign_server s WHERE has_server_privilege(r.role, s.oid, 'USAGE')
|
|
163
|
+
UNION ALL
|
|
164
|
+
SELECT format('%s (%s) -> user mapping for %s on foreign server %s', r.role, r.module, u.usename, u.srvname)
|
|
165
|
+
FROM r, pg_catalog.pg_user_mappings u WHERE u.umuser = 0 OR u.usename = r.role`,
|
|
166
|
+
publications: `SELECT format('%s (%s) owns publication %s', r.role, r.module, p.pubname) AS violation
|
|
167
|
+
FROM r, pg_catalog.pg_publication p WHERE pg_get_userbyid(p.pubowner) = r.role
|
|
168
|
+
UNION ALL
|
|
169
|
+
SELECT format('%s (%s) owns subscription %s', r.role, r.module, s.subname)
|
|
170
|
+
FROM r, pg_catalog.pg_subscription s WHERE pg_get_userbyid(s.subowner) = r.role`,
|
|
171
|
+
"event triggers": `SELECT format('event trigger %s runs %s, owned by %s, in schema %s (trigger owned by %s)', e.evtname,
|
|
172
|
+
e.evtfoid::regprocedure, pg_get_userbyid(p.proowner), n.nspname, pg_get_userbyid(e.evtowner)) AS violation
|
|
173
|
+
FROM pg_catalog.pg_event_trigger e JOIN pg_catalog.pg_proc p ON p.oid = e.evtfoid
|
|
174
|
+
JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace
|
|
175
|
+
WHERE pg_get_userbyid(p.proowner) IN (SELECT role FROM r) OR pg_get_userbyid(e.evtowner) IN (SELECT role FROM r)
|
|
176
|
+
OR n.nspname IN (SELECT schema FROM m)`,
|
|
177
|
+
languages: `SELECT format('%s (%s) -> language %s (%s)', r.role, r.module, l.lanname,
|
|
178
|
+
CASE WHEN pg_get_userbyid(l.lanowner) = r.role THEN 'its owner' ELSE 'USAGE on an untrusted language' END) AS violation
|
|
179
|
+
FROM r, pg_catalog.pg_language l
|
|
180
|
+
WHERE pg_get_userbyid(l.lanowner) = r.role
|
|
181
|
+
OR (NOT l.lanpltrusted AND EXISTS (SELECT 1 FROM aclexplode(l.lanacl) a
|
|
182
|
+
WHERE a.privilege_type = 'USAGE' AND (a.grantee = 0 OR pg_get_userbyid(a.grantee) = r.role)))`,
|
|
183
|
+
types: `SELECT format('%s (%s) -> type %I.%I', r.role, r.module, n.nspname, t.typname) AS violation
|
|
184
|
+
FROM r, m o, pg_catalog.pg_type t JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace
|
|
185
|
+
WHERE o.module <> r.module AND n.nspname = o.schema
|
|
186
|
+
AND has_schema_privilege(r.role, n.oid, 'USAGE') AND has_type_privilege(r.role, t.oid, 'USAGE')`,
|
|
187
|
+
"catalog functions": `SELECT format('%s (%s) -> EXECUTE on %s', r.role, r.module, p.oid::regprocedure) AS violation
|
|
188
|
+
FROM r, pg_catalog.pg_proc p JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace
|
|
189
|
+
WHERE ((n.nspname = 'pg_catalog' AND p.proname ~ '^(pg_read_|pg_ls_|pg_stat_file$|pg_file_|lo_import$|lo_export$)')
|
|
190
|
+
OR p.proname LIKE 'dblink%')
|
|
191
|
+
AND has_schema_privilege(r.role, n.oid, 'USAGE') AND has_function_privilege(r.role, p.oid, 'EXECUTE')
|
|
192
|
+
UNION
|
|
193
|
+
SELECT format('%s (%s) -> EXECUTE on %s (granted to %s)', r.role, r.module, p.oid::regprocedure, pg_get_userbyid(a.grantee))
|
|
194
|
+
FROM r, pg_catalog.pg_proc p JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace, aclexplode(p.proacl) a
|
|
195
|
+
WHERE n.nspname = 'pg_catalog' AND p.proacl IS NOT NULL AND a.privilege_type = 'EXECUTE' AND a.grantee <> 0
|
|
196
|
+
AND a.grantee <> p.proowner AND pg_has_role(r.role, a.grantee, 'USAGE')`,
|
|
197
|
+
parameters: `SELECT format('%s (%s) -> %s on parameter %s (granted to %s)', r.role, r.module, a.privilege_type, pa.parname,
|
|
198
|
+
CASE WHEN a.grantee = 0 THEN 'PUBLIC' ELSE pg_get_userbyid(a.grantee) END) AS violation
|
|
199
|
+
FROM r, pg_catalog.pg_parameter_acl pa, aclexplode(pa.paracl) a
|
|
200
|
+
WHERE a.grantee = 0 OR pg_has_role(r.role, a.grantee, 'USAGE')`,
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/** The SQL of one check over `owned`: one row (`violation`) per thing a module's role reaches that is not its own. */
|
|
204
|
+
export const isolationCheck = (check: IsolationCheck, owned: ReadonlyArray<OwnedModule>) =>
|
|
205
|
+
`${withModules(owned)}\n${checks[check]}\nORDER BY 1`
|
|
206
|
+
|
|
207
|
+
/** Every schema the checks look into (all but PostgreSQL's own), for a test to compare with what exists. */
|
|
208
|
+
export const CHECKED_SCHEMAS = `SELECT n.nspname AS schema FROM pg_catalog.pg_namespace n WHERE NOT ${SYSTEM} ORDER BY 1`
|
|
209
|
+
|
|
210
|
+
/** The modules in a database: every schema an `eloxiv_own_<name>` role owns, with `eloxiv_mod_<name>` as its runtime. */
|
|
211
|
+
export const OWNED_FROM_CATALOG = `SELECT substr(o.rolname, 12) AS module, n.nspname AS schema,
|
|
212
|
+
'eloxiv_mod_' || substr(o.rolname, 12) AS runtime, o.rolname AS owner
|
|
213
|
+
FROM pg_catalog.pg_namespace n JOIN pg_catalog.pg_roles o ON o.oid = n.nspowner
|
|
214
|
+
WHERE left(o.rolname, 11) = 'eloxiv_own_' AND EXISTS (SELECT 1 FROM pg_catalog.pg_roles x WHERE x.rolname = 'eloxiv_mod_' || substr(o.rolname, 12))
|
|
215
|
+
ORDER BY 1`
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Running the capability kits against a real provider account. A browser consent cannot be automated, so a
|
|
3
|
+
* live run starts from a refresh token obtained once for the test account (docs/connectors/*.md say how):
|
|
4
|
+
* `importConnection` records it as a Connection the way the consent callback would (its tokens in Secrets),
|
|
5
|
+
* with an access token already expired, so the kernel's own refresh obtains the first one. Checks that need
|
|
6
|
+
* the consent flow or the provider's controls (expiring tokens, throttling) are skipped in a live run.
|
|
7
|
+
*/
|
|
8
|
+
import type { CapabilityName } from "@eloxiv/contracts"
|
|
9
|
+
import { connectScopes, Connections, Secrets, type ConnectorDefinition } from "@eloxiv/kernel"
|
|
10
|
+
import { Effect } from "effect"
|
|
11
|
+
import { randomBytes } from "node:crypto"
|
|
12
|
+
import type { TestKernel } from "../Kernel.ts"
|
|
13
|
+
import type { CallResult, ProviderHarness, Seeds } from "./CapabilityKit.ts"
|
|
14
|
+
import type { ConnectorUser } from "./ConnectorReference.ts"
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Record a Connection for `owner` from a refresh token, as the consent callback would; or, for a provider whose
|
|
18
|
+
* access tokens never expire (a Slack bot token without token rotation), from the access token itself.
|
|
19
|
+
*/
|
|
20
|
+
export const importConnection = async (
|
|
21
|
+
kernel: TestKernel,
|
|
22
|
+
owner: ConnectorUser,
|
|
23
|
+
connector: ConnectorDefinition,
|
|
24
|
+
account: {
|
|
25
|
+
readonly id: string
|
|
26
|
+
readonly label: string
|
|
27
|
+
readonly scopes: ReadonlyArray<string>
|
|
28
|
+
} & ({ readonly refreshToken: string } | { readonly accessToken: string }),
|
|
29
|
+
) => {
|
|
30
|
+
const standing = "accessToken" in account
|
|
31
|
+
const id = `conn_${randomBytes(16).toString("hex")}`
|
|
32
|
+
await kernel.admin(
|
|
33
|
+
`INSERT INTO eloxiv.connection (id, org_id, owner_id, provider, account_id, account_label, scopes, status, access_expires_at, token_version)
|
|
34
|
+
VALUES ($1, $2, $3, $4, $5, $6, $7, 'active', CASE WHEN $8 THEN NULL ELSE now() - interval '1 minute' END, 1)`,
|
|
35
|
+
[id, owner.org, owner.id, connector.name, account.id, account.label, account.scopes, standing],
|
|
36
|
+
)
|
|
37
|
+
await kernel.run(
|
|
38
|
+
Effect.gen(function* () {
|
|
39
|
+
const secrets = yield* Secrets
|
|
40
|
+
const access = { actorUserId: owner.id, purpose: "connection.import" }
|
|
41
|
+
const scope = { kind: "connection" as const, orgId: owner.org, connectionId: id }
|
|
42
|
+
if ("accessToken" in account) {
|
|
43
|
+
yield* secrets.put(scope, "access_token", account.accessToken, access)
|
|
44
|
+
return
|
|
45
|
+
}
|
|
46
|
+
yield* secrets.put(scope, "refresh_token", account.refreshToken, access)
|
|
47
|
+
// Expired on purpose: the first use refreshes through the kernel.
|
|
48
|
+
yield* secrets.put(scope, "access_token", "expired", access)
|
|
49
|
+
}),
|
|
50
|
+
)
|
|
51
|
+
return id
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Takes the test account's secrets and any OAuth token out of text a live run may print (failure messages
|
|
56
|
+
* included): the given values wherever they appear, and tokens by their shape (Google's `ya29.` access and `1//`
|
|
57
|
+
* refresh tokens, JWTs, anything after `Bearer`).
|
|
58
|
+
*/
|
|
59
|
+
export const redactor = (secrets: ReadonlyArray<string | undefined>) => {
|
|
60
|
+
const values = secrets.filter((s): s is string => s !== undefined && s.length >= 8)
|
|
61
|
+
return (text: string) => {
|
|
62
|
+
let out = text
|
|
63
|
+
for (const value of values) out = out.split(value).join("[redacted]")
|
|
64
|
+
return out
|
|
65
|
+
.replace(/\bya29\.[\w.-]+/gu, "[redacted]")
|
|
66
|
+
.replace(/\b1\/\/[\w.-]+/gu, "[redacted]")
|
|
67
|
+
.replace(/\beyJ[\w-]+\.[\w-]+\.[\w-]*/gu, "[redacted]")
|
|
68
|
+
.replace(/(bearer\s+)[^\s"',]+/giu, "$1[redacted]")
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** A plain copy of a value with every string redacted (an error's own fields, `_tag` and `message` included). */
|
|
73
|
+
const scrubbed = (value: unknown, redact: (text: string) => string): any => {
|
|
74
|
+
if (typeof value === "string") return redact(value)
|
|
75
|
+
if (Array.isArray(value)) return value.map((v) => scrubbed(v, redact))
|
|
76
|
+
if (value === null || typeof value !== "object") return value
|
|
77
|
+
const out: Record<string, unknown> = {}
|
|
78
|
+
const source = value as Record<string, unknown>
|
|
79
|
+
for (const key of new Set(["_tag", "message", ...Object.keys(source)])) {
|
|
80
|
+
if (source[key] !== undefined) out[key] = scrubbed(source[key], redact)
|
|
81
|
+
}
|
|
82
|
+
return out
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* A connector as a live run uses it: patient with the provider's rate limits, request by request. A real test
|
|
87
|
+
* account's quota is shared (other runs, other clients), and the kernel's default backoff (Metering: three
|
|
88
|
+
* attempts within 30 s) can end inside a longer window: Gmail's per-user quota is per minute, answered 403 with no
|
|
89
|
+
* Retry-After. The kernel's HTTP layer then waits out each refused request itself (exponential backoff, or the
|
|
90
|
+
* provider's Retry-After, never cut short: a wait that ends after the budget fails at once) and sends that request
|
|
91
|
+
* again, so a write that went through is never repeated, as a deployment would configure a connector whose callers
|
|
92
|
+
* can wait. Never a whole operation again: one that writes and then reads would write twice.
|
|
93
|
+
*/
|
|
94
|
+
export const LIVE_LIMITS = { maxAttempts: 12, maxWaitMs: 120_000 } as const
|
|
95
|
+
|
|
96
|
+
export const patientConnector = (connector: ConnectorDefinition): ConnectorDefinition => ({
|
|
97
|
+
...connector,
|
|
98
|
+
limits: { ...connector.limits, ...LIVE_LIMITS },
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* A raw request over the Connection (for seeding a real account), as its owner. A refusal is thrown as an Error
|
|
103
|
+
* naming the capability error (`Forbidden: ...`), redacted.
|
|
104
|
+
*/
|
|
105
|
+
export const rawRequest = (
|
|
106
|
+
kernel: TestKernel,
|
|
107
|
+
owner: ConnectorUser,
|
|
108
|
+
connectionId: string,
|
|
109
|
+
request: {
|
|
110
|
+
readonly method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE"
|
|
111
|
+
readonly url: string
|
|
112
|
+
readonly json?: unknown
|
|
113
|
+
readonly body?: string
|
|
114
|
+
readonly headers?: Record<string, string>
|
|
115
|
+
},
|
|
116
|
+
redact: (text: string) => string = (text) => text,
|
|
117
|
+
) =>
|
|
118
|
+
kernel.run(
|
|
119
|
+
(
|
|
120
|
+
Effect.gen(function* () {
|
|
121
|
+
const http = (yield* Connections).http(connectionId, { userId: owner.id, orgId: owner.org }, [])
|
|
122
|
+
const response = yield* http.request(request)
|
|
123
|
+
return response.json as any
|
|
124
|
+
}) as Effect.Effect<any, any, any>
|
|
125
|
+
).pipe(
|
|
126
|
+
Effect.mapError(
|
|
127
|
+
(error: any) => new Error(redact(`${String(error?._tag ?? "Error")}: ${String(error?.message ?? error)}`)),
|
|
128
|
+
),
|
|
129
|
+
),
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* A harness over an imported Connection: no consent flow, no provider controls. Start its kernel with
|
|
134
|
+
* `patientConnector` so it waits out a shared account's rate limits.
|
|
135
|
+
*/
|
|
136
|
+
export const liveHarness = (options: {
|
|
137
|
+
readonly kernel: TestKernel
|
|
138
|
+
readonly owner: ConnectorUser
|
|
139
|
+
readonly connector: ConnectorDefinition
|
|
140
|
+
readonly connectionId: string
|
|
141
|
+
readonly label: string
|
|
142
|
+
readonly selfAddress: string
|
|
143
|
+
readonly seeds: Partial<Record<CapabilityName, Seeds>>
|
|
144
|
+
/** Applied to every error a call returns (see `redactor`). */
|
|
145
|
+
readonly redact?: ((text: string) => string) | undefined
|
|
146
|
+
}): ProviderHarness => {
|
|
147
|
+
const { kernel, owner, connector, connectionId } = options
|
|
148
|
+
const redact = options.redact ?? ((text: string) => text)
|
|
149
|
+
const normalize = connector.normalizeScope ?? ((s: string) => s)
|
|
150
|
+
const call = (id: string, capability: CapabilityName, operation: string, input: unknown): Promise<CallResult> =>
|
|
151
|
+
kernel.run(
|
|
152
|
+
(
|
|
153
|
+
Effect.gen(function* () {
|
|
154
|
+
const bound = yield* (yield* Connections).capability(id, capability, { userId: owner.id, orgId: owner.org })
|
|
155
|
+
return yield* bound.operations[operation]!(input)
|
|
156
|
+
}) as Effect.Effect<unknown, any, any>
|
|
157
|
+
).pipe(
|
|
158
|
+
Effect.map((value): CallResult => ({ ok: true, value })),
|
|
159
|
+
Effect.catch((error: any) => Effect.succeed<CallResult>({ ok: false, error: scrubbed(error, redact) })),
|
|
160
|
+
),
|
|
161
|
+
)
|
|
162
|
+
return {
|
|
163
|
+
label: options.label,
|
|
164
|
+
provider: connector.name,
|
|
165
|
+
consent: false,
|
|
166
|
+
connect: async () => connectionId,
|
|
167
|
+
list: async () => {
|
|
168
|
+
const found = await kernel.run(
|
|
169
|
+
Effect.gen(function* () {
|
|
170
|
+
return yield* (yield* Connections).get(connectionId)
|
|
171
|
+
}),
|
|
172
|
+
)
|
|
173
|
+
return found === undefined ? [] : [found]
|
|
174
|
+
},
|
|
175
|
+
call,
|
|
176
|
+
flags: async (id, capability) =>
|
|
177
|
+
kernel.run(
|
|
178
|
+
Effect.gen(function* () {
|
|
179
|
+
const bound = yield* (yield* Connections).capability(id, capability, { userId: owner.id, orgId: owner.org })
|
|
180
|
+
return bound.flags as Record<string, unknown>
|
|
181
|
+
}) as Effect.Effect<Record<string, unknown>, any, any>,
|
|
182
|
+
),
|
|
183
|
+
providerScopes: (capability) =>
|
|
184
|
+
[
|
|
185
|
+
...new Set(
|
|
186
|
+
// What connecting the capability asks for (not what it leaves to incremental consent).
|
|
187
|
+
connectScopes(connector.capabilities[capability]).map(normalize),
|
|
188
|
+
),
|
|
189
|
+
].sort(),
|
|
190
|
+
notifications: async () => [],
|
|
191
|
+
resetBackpressure: async (id) => {
|
|
192
|
+
await kernel.admin(`DELETE FROM eloxiv.connection_cooldown WHERE connection_id = $1`, [id])
|
|
193
|
+
},
|
|
194
|
+
selfAddress: options.selfAddress,
|
|
195
|
+
seeds: options.seeds,
|
|
196
|
+
}
|
|
197
|
+
}
|