@eloxiv/contracts 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/Agent.d.ts +792 -0
- package/dist/Agent.d.ts.map +1 -0
- package/dist/Agent.js +610 -0
- package/dist/Agent.js.map +1 -0
- package/dist/Analytics.d.ts +46 -0
- package/dist/Analytics.d.ts.map +1 -0
- package/dist/Analytics.js +89 -0
- package/dist/Analytics.js.map +1 -0
- package/dist/Approval.d.ts +70 -0
- package/dist/Approval.d.ts.map +1 -0
- package/dist/Approval.js +127 -0
- package/dist/Approval.js.map +1 -0
- package/dist/Catalog.d.ts +238 -0
- package/dist/Catalog.d.ts.map +1 -0
- package/dist/Catalog.js +169 -0
- package/dist/Catalog.js.map +1 -0
- package/dist/Checklist.d.ts +99 -0
- package/dist/Checklist.d.ts.map +1 -0
- package/dist/Checklist.js +105 -0
- package/dist/Checklist.js.map +1 -0
- package/dist/Data.d.ts +107 -0
- package/dist/Data.d.ts.map +1 -0
- package/dist/Data.js +93 -0
- package/dist/Data.js.map +1 -0
- package/dist/Devices.d.ts +857 -0
- package/dist/Devices.d.ts.map +1 -0
- package/dist/Devices.js +590 -0
- package/dist/Devices.js.map +1 -0
- package/dist/Durable.d.ts +406 -0
- package/dist/Durable.d.ts.map +1 -0
- package/dist/Durable.js +203 -0
- package/dist/Durable.js.map +1 -0
- package/dist/Errors.d.ts +95 -0
- package/dist/Errors.d.ts.map +1 -0
- package/dist/Errors.js +72 -0
- package/dist/Errors.js.map +1 -0
- package/dist/JsonSchema.d.ts +355 -0
- package/dist/JsonSchema.d.ts.map +1 -0
- package/dist/JsonSchema.js +151 -0
- package/dist/JsonSchema.js.map +1 -0
- package/dist/Manifest.d.ts +353 -0
- package/dist/Manifest.d.ts.map +1 -0
- package/dist/Manifest.js +894 -0
- package/dist/Manifest.js.map +1 -0
- package/dist/Module.d.ts +447 -0
- package/dist/Module.d.ts.map +1 -0
- package/dist/Module.js +221 -0
- package/dist/Module.js.map +1 -0
- package/dist/Optimistic.d.ts +192 -0
- package/dist/Optimistic.d.ts.map +1 -0
- package/dist/Optimistic.js +319 -0
- package/dist/Optimistic.js.map +1 -0
- package/dist/Projection.d.ts +163 -0
- package/dist/Projection.d.ts.map +1 -0
- package/dist/Projection.js +158 -0
- package/dist/Projection.js.map +1 -0
- package/dist/Proposals.d.ts +103 -0
- package/dist/Proposals.d.ts.map +1 -0
- package/dist/Proposals.js +72 -0
- package/dist/Proposals.js.map +1 -0
- package/dist/Receipt.d.ts +243 -0
- package/dist/Receipt.d.ts.map +1 -0
- package/dist/Receipt.js +108 -0
- package/dist/Receipt.js.map +1 -0
- package/dist/Records.d.ts +297 -0
- package/dist/Records.d.ts.map +1 -0
- package/dist/Records.js +171 -0
- package/dist/Records.js.map +1 -0
- package/dist/Render.d.ts +207 -0
- package/dist/Render.d.ts.map +1 -0
- package/dist/Render.js +502 -0
- package/dist/Render.js.map +1 -0
- package/dist/Rpc.d.ts +115 -0
- package/dist/Rpc.d.ts.map +1 -0
- package/dist/Rpc.js +68 -0
- package/dist/Rpc.js.map +1 -0
- package/dist/SearchLanguages.d.ts +4 -0
- package/dist/SearchLanguages.d.ts.map +1 -0
- package/dist/SearchLanguages.js +33 -0
- package/dist/SearchLanguages.js.map +1 -0
- package/dist/Service.d.ts +59 -0
- package/dist/Service.d.ts.map +1 -0
- package/dist/Service.js +38 -0
- package/dist/Service.js.map +1 -0
- package/dist/Versions.d.ts +9 -0
- package/dist/Versions.d.ts.map +1 -0
- package/dist/Versions.js +78 -0
- package/dist/Versions.js.map +1 -0
- package/dist/contracts/ActionConsent.d.ts +189 -0
- package/dist/contracts/ActionConsent.d.ts.map +1 -0
- package/dist/contracts/ActionConsent.js +129 -0
- package/dist/contracts/ActionConsent.js.map +1 -0
- package/dist/contracts/ActionRegistry.d.ts +149 -0
- package/dist/contracts/ActionRegistry.d.ts.map +1 -0
- package/dist/contracts/ActionRegistry.js +37 -0
- package/dist/contracts/ActionRegistry.js.map +1 -0
- package/dist/contracts/Actor.d.ts +129 -0
- package/dist/contracts/Actor.d.ts.map +1 -0
- package/dist/contracts/Actor.js +47 -0
- package/dist/contracts/Actor.js.map +1 -0
- package/dist/contracts/AgentResources.d.ts +248 -0
- package/dist/contracts/AgentResources.d.ts.map +1 -0
- package/dist/contracts/AgentResources.js +158 -0
- package/dist/contracts/AgentResources.js.map +1 -0
- package/dist/contracts/AgentRuntime.d.ts +453 -0
- package/dist/contracts/AgentRuntime.d.ts.map +1 -0
- package/dist/contracts/AgentRuntime.js +117 -0
- package/dist/contracts/AgentRuntime.js.map +1 -0
- package/dist/contracts/Approvals.d.ts +303 -0
- package/dist/contracts/Approvals.d.ts.map +1 -0
- package/dist/contracts/Approvals.js +117 -0
- package/dist/contracts/Approvals.js.map +1 -0
- package/dist/contracts/Audit.d.ts +510 -0
- package/dist/contracts/Audit.d.ts.map +1 -0
- package/dist/contracts/Audit.js +139 -0
- package/dist/contracts/Audit.js.map +1 -0
- package/dist/contracts/CalendarProvider.d.ts +572 -0
- package/dist/contracts/CalendarProvider.d.ts.map +1 -0
- package/dist/contracts/CalendarProvider.js +203 -0
- package/dist/contracts/CalendarProvider.js.map +1 -0
- package/dist/contracts/Capability.d.ts +197 -0
- package/dist/contracts/Capability.d.ts.map +1 -0
- package/dist/contracts/Capability.js +189 -0
- package/dist/contracts/Capability.js.map +1 -0
- package/dist/contracts/ClientSDK.d.ts +250 -0
- package/dist/contracts/ClientSDK.d.ts.map +1 -0
- package/dist/contracts/ClientSDK.js +184 -0
- package/dist/contracts/ClientSDK.js.map +1 -0
- package/dist/contracts/CollabDocument.d.ts +781 -0
- package/dist/contracts/CollabDocument.d.ts.map +1 -0
- package/dist/contracts/CollabDocument.js +364 -0
- package/dist/contracts/CollabDocument.js.map +1 -0
- package/dist/contracts/Command.d.ts +183 -0
- package/dist/contracts/Command.d.ts.map +1 -0
- package/dist/contracts/Command.js +66 -0
- package/dist/contracts/Command.js.map +1 -0
- package/dist/contracts/Connections.d.ts +612 -0
- package/dist/contracts/Connections.d.ts.map +1 -0
- package/dist/contracts/Connections.js +323 -0
- package/dist/contracts/Connections.js.map +1 -0
- package/dist/contracts/ContextAccounting.d.ts +79 -0
- package/dist/contracts/ContextAccounting.d.ts.map +1 -0
- package/dist/contracts/ContextAccounting.js +32 -0
- package/dist/contracts/ContextAccounting.js.map +1 -0
- package/dist/contracts/Daemon.d.ts +486 -0
- package/dist/contracts/Daemon.d.ts.map +1 -0
- package/dist/contracts/Daemon.js +192 -0
- package/dist/contracts/Daemon.js.map +1 -0
- package/dist/contracts/DbTx.d.ts +149 -0
- package/dist/contracts/DbTx.d.ts.map +1 -0
- package/dist/contracts/DbTx.js +94 -0
- package/dist/contracts/DbTx.js.map +1 -0
- package/dist/contracts/Delegation.d.ts +121 -0
- package/dist/contracts/Delegation.d.ts.map +1 -0
- package/dist/contracts/Delegation.js +76 -0
- package/dist/contracts/Delegation.js.map +1 -0
- package/dist/contracts/DeviceControl.d.ts +293 -0
- package/dist/contracts/DeviceControl.d.ts.map +1 -0
- package/dist/contracts/DeviceControl.js +107 -0
- package/dist/contracts/DeviceControl.js.map +1 -0
- package/dist/contracts/Directory.d.ts +492 -0
- package/dist/contracts/Directory.d.ts.map +1 -0
- package/dist/contracts/Directory.js +225 -0
- package/dist/contracts/Directory.js.map +1 -0
- package/dist/contracts/DirectoryProvider.d.ts +214 -0
- package/dist/contracts/DirectoryProvider.d.ts.map +1 -0
- package/dist/contracts/DirectoryProvider.js +73 -0
- package/dist/contracts/DirectoryProvider.js.map +1 -0
- package/dist/contracts/DocumentSource.d.ts +190 -0
- package/dist/contracts/DocumentSource.d.ts.map +1 -0
- package/dist/contracts/DocumentSource.js +64 -0
- package/dist/contracts/DocumentSource.js.map +1 -0
- package/dist/contracts/Files.d.ts +762 -0
- package/dist/contracts/Files.d.ts.map +1 -0
- package/dist/contracts/Files.js +339 -0
- package/dist/contracts/Files.js.map +1 -0
- package/dist/contracts/Flags.d.ts +265 -0
- package/dist/contracts/Flags.d.ts.map +1 -0
- package/dist/contracts/Flags.js +197 -0
- package/dist/contracts/Flags.js.map +1 -0
- package/dist/contracts/Host.d.ts +320 -0
- package/dist/contracts/Host.d.ts.map +1 -0
- package/dist/contracts/Host.js +224 -0
- package/dist/contracts/Host.js.map +1 -0
- package/dist/contracts/HttpApi.d.ts +102 -0
- package/dist/contracts/HttpApi.d.ts.map +1 -0
- package/dist/contracts/HttpApi.js +89 -0
- package/dist/contracts/HttpApi.js.map +1 -0
- package/dist/contracts/Ingestion.d.ts +522 -0
- package/dist/contracts/Ingestion.d.ts.map +1 -0
- package/dist/contracts/Ingestion.js +275 -0
- package/dist/contracts/Ingestion.js.map +1 -0
- package/dist/contracts/Ingress.d.ts +132 -0
- package/dist/contracts/Ingress.d.ts.map +1 -0
- package/dist/contracts/Ingress.js +102 -0
- package/dist/contracts/Ingress.js.map +1 -0
- package/dist/contracts/Invocation.d.ts +361 -0
- package/dist/contracts/Invocation.d.ts.map +1 -0
- package/dist/contracts/Invocation.js +104 -0
- package/dist/contracts/Invocation.js.map +1 -0
- package/dist/contracts/LocalClient.d.ts +888 -0
- package/dist/contracts/LocalClient.d.ts.map +1 -0
- package/dist/contracts/LocalClient.js +429 -0
- package/dist/contracts/LocalClient.js.map +1 -0
- package/dist/contracts/Locale.d.ts +162 -0
- package/dist/contracts/Locale.d.ts.map +1 -0
- package/dist/contracts/Locale.js +123 -0
- package/dist/contracts/Locale.js.map +1 -0
- package/dist/contracts/MachineIdentity.d.ts +434 -0
- package/dist/contracts/MachineIdentity.d.ts.map +1 -0
- package/dist/contracts/MachineIdentity.js +223 -0
- package/dist/contracts/MachineIdentity.js.map +1 -0
- package/dist/contracts/MailProvider.d.ts +791 -0
- package/dist/contracts/MailProvider.d.ts.map +1 -0
- package/dist/contracts/MailProvider.js +237 -0
- package/dist/contracts/MailProvider.js.map +1 -0
- package/dist/contracts/Memory.d.ts +62 -0
- package/dist/contracts/Memory.d.ts.map +1 -0
- package/dist/contracts/Memory.js +43 -0
- package/dist/contracts/Memory.js.map +1 -0
- package/dist/contracts/Messaging.d.ts +154 -0
- package/dist/contracts/Messaging.d.ts.map +1 -0
- package/dist/contracts/Messaging.js +97 -0
- package/dist/contracts/Messaging.js.map +1 -0
- package/dist/contracts/Metering.d.ts +334 -0
- package/dist/contracts/Metering.d.ts.map +1 -0
- package/dist/contracts/Metering.js +202 -0
- package/dist/contracts/Metering.js.map +1 -0
- package/dist/contracts/ModelProvider.d.ts +142 -0
- package/dist/contracts/ModelProvider.d.ts.map +1 -0
- package/dist/contracts/ModelProvider.js +72 -0
- package/dist/contracts/ModelProvider.js.map +1 -0
- package/dist/contracts/ModuleManifest.d.ts +2519 -0
- package/dist/contracts/ModuleManifest.d.ts.map +1 -0
- package/dist/contracts/ModuleManifest.js +272 -0
- package/dist/contracts/ModuleManifest.js.map +1 -0
- package/dist/contracts/NotificationChannel.d.ts +378 -0
- package/dist/contracts/NotificationChannel.d.ts.map +1 -0
- package/dist/contracts/NotificationChannel.js +136 -0
- package/dist/contracts/NotificationChannel.js.map +1 -0
- package/dist/contracts/Notifications.d.ts +417 -0
- package/dist/contracts/Notifications.d.ts.map +1 -0
- package/dist/contracts/Notifications.js +267 -0
- package/dist/contracts/Notifications.js.map +1 -0
- package/dist/contracts/Outbox.d.ts +469 -0
- package/dist/contracts/Outbox.d.ts.map +1 -0
- package/dist/contracts/Outbox.js +215 -0
- package/dist/contracts/Outbox.js.map +1 -0
- package/dist/contracts/Privacy.d.ts +1029 -0
- package/dist/contracts/Privacy.d.ts.map +1 -0
- package/dist/contracts/Privacy.js +437 -0
- package/dist/contracts/Privacy.js.map +1 -0
- package/dist/contracts/Progress.d.ts +305 -0
- package/dist/contracts/Progress.d.ts.map +1 -0
- package/dist/contracts/Progress.js +174 -0
- package/dist/contracts/Progress.js.map +1 -0
- package/dist/contracts/QuerySurface.d.ts +231 -0
- package/dist/contracts/QuerySurface.d.ts.map +1 -0
- package/dist/contracts/QuerySurface.js +113 -0
- package/dist/contracts/QuerySurface.js.map +1 -0
- package/dist/contracts/Readiness.d.ts +105 -0
- package/dist/contracts/Readiness.d.ts.map +1 -0
- package/dist/contracts/Readiness.js +57 -0
- package/dist/contracts/Readiness.js.map +1 -0
- package/dist/contracts/Release.d.ts +295 -0
- package/dist/contracts/Release.d.ts.map +1 -0
- package/dist/contracts/Release.js +175 -0
- package/dist/contracts/Release.js.map +1 -0
- package/dist/contracts/ResultRendering.d.ts +533 -0
- package/dist/contracts/ResultRendering.d.ts.map +1 -0
- package/dist/contracts/ResultRendering.js +59 -0
- package/dist/contracts/ResultRendering.js.map +1 -0
- package/dist/contracts/Sandbox.d.ts +1164 -0
- package/dist/contracts/Sandbox.d.ts.map +1 -0
- package/dist/contracts/Sandbox.js +550 -0
- package/dist/contracts/Sandbox.js.map +1 -0
- package/dist/contracts/Scheduler.d.ts +814 -0
- package/dist/contracts/Scheduler.d.ts.map +1 -0
- package/dist/contracts/Scheduler.js +202 -0
- package/dist/contracts/Scheduler.js.map +1 -0
- package/dist/contracts/ScreenContext.d.ts +514 -0
- package/dist/contracts/ScreenContext.d.ts.map +1 -0
- package/dist/contracts/ScreenContext.js +272 -0
- package/dist/contracts/ScreenContext.js.map +1 -0
- package/dist/contracts/Search.d.ts +308 -0
- package/dist/contracts/Search.d.ts.map +1 -0
- package/dist/contracts/Search.js +107 -0
- package/dist/contracts/Search.js.map +1 -0
- package/dist/contracts/Secrets.d.ts +483 -0
- package/dist/contracts/Secrets.d.ts.map +1 -0
- package/dist/contracts/Secrets.js +136 -0
- package/dist/contracts/Secrets.js.map +1 -0
- package/dist/contracts/Settings.d.ts +221 -0
- package/dist/contracts/Settings.d.ts.map +1 -0
- package/dist/contracts/Settings.js +163 -0
- package/dist/contracts/Settings.js.map +1 -0
- package/dist/contracts/Sharing.d.ts +319 -0
- package/dist/contracts/Sharing.d.ts.map +1 -0
- package/dist/contracts/Sharing.js +172 -0
- package/dist/contracts/Sharing.js.map +1 -0
- package/dist/contracts/Slot.d.ts +162 -0
- package/dist/contracts/Slot.d.ts.map +1 -0
- package/dist/contracts/Slot.js +56 -0
- package/dist/contracts/Slot.js.map +1 -0
- package/dist/contracts/Space.d.ts +256 -0
- package/dist/contracts/Space.d.ts.map +1 -0
- package/dist/contracts/Space.js +133 -0
- package/dist/contracts/Space.js.map +1 -0
- package/dist/contracts/StorageAdapter.d.ts +124 -0
- package/dist/contracts/StorageAdapter.d.ts.map +1 -0
- package/dist/contracts/StorageAdapter.js +96 -0
- package/dist/contracts/StorageAdapter.js.map +1 -0
- package/dist/contracts/StorageBackend.d.ts +310 -0
- package/dist/contracts/StorageBackend.d.ts.map +1 -0
- package/dist/contracts/StorageBackend.js +196 -0
- package/dist/contracts/StorageBackend.js.map +1 -0
- package/dist/contracts/Sync.d.ts +286 -0
- package/dist/contracts/Sync.d.ts.map +1 -0
- package/dist/contracts/Sync.js +157 -0
- package/dist/contracts/Sync.js.map +1 -0
- package/dist/contracts/Telemetry.d.ts +183 -0
- package/dist/contracts/Telemetry.d.ts.map +1 -0
- package/dist/contracts/Telemetry.js +153 -0
- package/dist/contracts/Telemetry.js.map +1 -0
- package/dist/contracts/ThemeTokens.d.ts +212 -0
- package/dist/contracts/ThemeTokens.d.ts.map +1 -0
- package/dist/contracts/ThemeTokens.js +111 -0
- package/dist/contracts/ThemeTokens.js.map +1 -0
- package/dist/contracts/ToolSource.d.ts +135 -0
- package/dist/contracts/ToolSource.d.ts.map +1 -0
- package/dist/contracts/ToolSource.js +81 -0
- package/dist/contracts/ToolSource.js.map +1 -0
- package/dist/contracts/Versioning.d.ts +363 -0
- package/dist/contracts/Versioning.d.ts.map +1 -0
- package/dist/contracts/Versioning.js +201 -0
- package/dist/contracts/Versioning.js.map +1 -0
- package/dist/contracts/View.d.ts +232 -0
- package/dist/contracts/View.d.ts.map +1 -0
- package/dist/contracts/View.js +102 -0
- package/dist/contracts/View.js.map +1 -0
- package/dist/contracts/WorkItems.d.ts +242 -0
- package/dist/contracts/WorkItems.d.ts.map +1 -0
- package/dist/contracts/WorkItems.js +126 -0
- package/dist/contracts/WorkItems.js.map +1 -0
- package/dist/contracts/Workflow.d.ts +191 -0
- package/dist/contracts/Workflow.d.ts.map +1 -0
- package/dist/contracts/Workflow.js +63 -0
- package/dist/contracts/Workflow.js.map +1 -0
- package/dist/contracts/index.d.ts +75 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +196 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/devices/module.d.ts +3777 -0
- package/dist/devices/module.d.ts.map +1 -0
- package/dist/devices/module.js +179 -0
- package/dist/devices/module.js.map +1 -0
- package/dist/drizzle/Entity.d.ts +148 -0
- package/dist/drizzle/Entity.d.ts.map +1 -0
- package/dist/drizzle/Entity.js +396 -0
- package/dist/drizzle/Entity.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/package.json +48 -3
- package/schema/Actor.json +46 -0
- package/schema/AuditRecord.json +403 -0
- package/schema/DaemonHealth.json +29 -0
- package/schema/InvocationError.json +257 -0
- package/schema/InvocationReceipt.json +253 -0
- package/schema/Lockfile.json +129 -0
- package/schema/OutboxEvent.json +36 -0
- package/schema/PairingConfirm.json +33 -0
- package/schema/PairingResult.json +18 -0
- package/schema/PairingStart.json +18 -0
- package/schema/ProvenanceEntry.json +110 -0
- package/schema/ReplayEnvelope.json +269 -0
- package/schema/Surface.json +17 -0
- package/schema/codegen/LocalClient.json +1298 -0
- package/schema/codegen/Sandbox.json +320 -0
- package/schema/contracts/ActionConsent.json +1930 -0
- package/schema/contracts/ActionRegistry.json +722 -0
- package/schema/contracts/Actor.json +451 -0
- package/schema/contracts/AgentResources.json +1400 -0
- package/schema/contracts/AgentRuntime.json +4017 -0
- package/schema/contracts/Approvals.json +2916 -0
- package/schema/contracts/Audit.json +3268 -0
- package/schema/contracts/CalendarProvider.json +5557 -0
- package/schema/contracts/ClientSDK.json +1400 -0
- package/schema/contracts/CollabDocument.json +4012 -0
- package/schema/contracts/Command.json +616 -0
- package/schema/contracts/Connections.json +6687 -0
- package/schema/contracts/ContextAccounting.json +685 -0
- package/schema/contracts/Daemon.json +4555 -0
- package/schema/contracts/DbTx.json +321 -0
- package/schema/contracts/Delegation.json +949 -0
- package/schema/contracts/DeviceControl.json +2626 -0
- package/schema/contracts/Directory.json +5168 -0
- package/schema/contracts/DirectoryProvider.json +2090 -0
- package/schema/contracts/DocumentSource.json +2044 -0
- package/schema/contracts/Files.json +4122 -0
- package/schema/contracts/Flags.json +1202 -0
- package/schema/contracts/Host.json +1769 -0
- package/schema/contracts/HttpApi.json +1615 -0
- package/schema/contracts/Ingestion.json +3211 -0
- package/schema/contracts/Ingress.json +819 -0
- package/schema/contracts/Invocation.json +2044 -0
- package/schema/contracts/LocalClient.json +6657 -0
- package/schema/contracts/Locale.json +654 -0
- package/schema/contracts/MachineIdentity.json +2303 -0
- package/schema/contracts/MailProvider.json +6663 -0
- package/schema/contracts/Memory.json +579 -0
- package/schema/contracts/Messaging.json +1764 -0
- package/schema/contracts/Metering.json +3060 -0
- package/schema/contracts/ModelProvider.json +1127 -0
- package/schema/contracts/ModuleManifest.json +9449 -0
- package/schema/contracts/NotificationChannel.json +986 -0
- package/schema/contracts/Notifications.json +4280 -0
- package/schema/contracts/Outbox.json +1451 -0
- package/schema/contracts/Privacy.json +4354 -0
- package/schema/contracts/Progress.json +1524 -0
- package/schema/contracts/QuerySurface.json +661 -0
- package/schema/contracts/Readiness.json +209 -0
- package/schema/contracts/Release.json +805 -0
- package/schema/contracts/ResultRendering.json +2859 -0
- package/schema/contracts/Sandbox.json +2286 -0
- package/schema/contracts/Scheduler.json +6138 -0
- package/schema/contracts/ScreenContext.json +1238 -0
- package/schema/contracts/Search.json +1058 -0
- package/schema/contracts/Secrets.json +2444 -0
- package/schema/contracts/Settings.json +654 -0
- package/schema/contracts/Sharing.json +2854 -0
- package/schema/contracts/Slot.json +537 -0
- package/schema/contracts/Space.json +892 -0
- package/schema/contracts/StorageAdapter.json +623 -0
- package/schema/contracts/StorageBackend.json +2421 -0
- package/schema/contracts/Sync.json +894 -0
- package/schema/contracts/Telemetry.json +696 -0
- package/schema/contracts/ThemeTokens.json +547 -0
- package/schema/contracts/ToolSource.json +1333 -0
- package/schema/contracts/Versioning.json +1481 -0
- package/schema/contracts/View.json +750 -0
- package/schema/contracts/WorkItems.json +1731 -0
- package/schema/contracts/Workflow.json +1242 -0
- package/src/Agent.ts +758 -0
- package/src/Analytics.ts +110 -0
- package/src/Approval.ts +131 -0
- package/src/Catalog.ts +192 -0
- package/src/Checklist.ts +162 -0
- package/src/Data.ts +109 -0
- package/src/Devices.ts +721 -0
- package/src/Durable.ts +240 -0
- package/src/Errors.ts +111 -0
- package/src/JsonSchema.ts +166 -0
- package/src/Manifest.ts +1147 -0
- package/src/Module.ts +640 -0
- package/src/Optimistic.ts +332 -0
- package/src/Projection.ts +207 -0
- package/src/Proposals.ts +89 -0
- package/src/Receipt.ts +125 -0
- package/src/Records.ts +197 -0
- package/src/Render.ts +515 -0
- package/src/Rpc.ts +113 -0
- package/src/SearchLanguages.ts +33 -0
- package/src/Service.ts +102 -0
- package/src/Versions.ts +69 -0
- package/src/contracts/ActionConsent.ts +150 -0
- package/src/contracts/ActionRegistry.ts +39 -0
- package/src/contracts/Actor.ts +53 -0
- package/src/contracts/AgentResources.ts +167 -0
- package/src/contracts/AgentRuntime.ts +154 -0
- package/src/contracts/Approvals.ts +133 -0
- package/src/contracts/Audit.ts +160 -0
- package/src/contracts/CalendarProvider.ts +241 -0
- package/src/contracts/Capability.ts +246 -0
- package/src/contracts/ClientSDK.ts +199 -0
- package/src/contracts/CollabDocument.ts +420 -0
- package/src/contracts/Command.ts +74 -0
- package/src/contracts/Connections.ts +360 -0
- package/src/contracts/ContextAccounting.ts +35 -0
- package/src/contracts/Daemon.ts +247 -0
- package/src/contracts/DbTx.ts +110 -0
- package/src/contracts/Delegation.ts +91 -0
- package/src/contracts/DeviceControl.ts +143 -0
- package/src/contracts/Directory.ts +384 -0
- package/src/contracts/DirectoryProvider.ts +82 -0
- package/src/contracts/DocumentSource.ts +71 -0
- package/src/contracts/Files.ts +395 -0
- package/src/contracts/Flags.ts +241 -0
- package/src/contracts/Host.ts +245 -0
- package/src/contracts/HttpApi.ts +100 -0
- package/src/contracts/Ingestion.ts +315 -0
- package/src/contracts/Ingress.ts +132 -0
- package/src/contracts/Invocation.ts +122 -0
- package/src/contracts/LocalClient.ts +620 -0
- package/src/contracts/Locale.ts +133 -0
- package/src/contracts/MachineIdentity.ts +305 -0
- package/src/contracts/MailProvider.ts +272 -0
- package/src/contracts/Memory.ts +47 -0
- package/src/contracts/Messaging.ts +108 -0
- package/src/contracts/Metering.ts +231 -0
- package/src/contracts/ModelProvider.ts +87 -0
- package/src/contracts/ModuleManifest.ts +310 -0
- package/src/contracts/NotificationChannel.ts +158 -0
- package/src/contracts/Notifications.ts +309 -0
- package/src/contracts/Outbox.ts +246 -0
- package/src/contracts/Privacy.ts +502 -0
- package/src/contracts/Progress.ts +196 -0
- package/src/contracts/QuerySurface.ts +134 -0
- package/src/contracts/Readiness.ts +67 -0
- package/src/contracts/Release.ts +199 -0
- package/src/contracts/ResultRendering.ts +65 -0
- package/src/contracts/Sandbox.ts +648 -0
- package/src/contracts/Scheduler.ts +237 -0
- package/src/contracts/ScreenContext.ts +316 -0
- package/src/contracts/Search.ts +126 -0
- package/src/contracts/Secrets.ts +162 -0
- package/src/contracts/Settings.ts +207 -0
- package/src/contracts/Sharing.ts +205 -0
- package/src/contracts/Slot.ts +61 -0
- package/src/contracts/Space.ts +157 -0
- package/src/contracts/StorageAdapter.ts +104 -0
- package/src/contracts/StorageBackend.ts +220 -0
- package/src/contracts/Sync.ts +180 -0
- package/src/contracts/Telemetry.ts +177 -0
- package/src/contracts/ThemeTokens.ts +136 -0
- package/src/contracts/ToolSource.ts +94 -0
- package/src/contracts/Versioning.ts +237 -0
- package/src/contracts/View.ts +116 -0
- package/src/contracts/WorkItems.ts +144 -0
- package/src/contracts/Workflow.ts +67 -0
- package/src/contracts/index.ts +205 -0
- package/src/devices/module.ts +201 -0
- package/src/drizzle/Entity.ts +524 -0
- package/src/index.ts +19 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Release: how one deployment's kernel is released and migrated. Migration
|
|
3
|
+
* ownership under a lease, one transaction for migrations and hardening,
|
|
4
|
+
* schema snapshots, client/server version skew and deployment topology.
|
|
5
|
+
* Documented in docs/contracts/release.md; conformance kit
|
|
6
|
+
* `@eloxiv/testing/conformance/Release`.
|
|
7
|
+
*/
|
|
8
|
+
import { Schema } from "effect";
|
|
9
|
+
/** The header a client sends its version in. Writes from clients older than the minimum are refused. */
|
|
10
|
+
export declare const CLIENT_VERSION_HEADER = "x-eloxiv-client-version";
|
|
11
|
+
/**
|
|
12
|
+
* MCP clients built on Eloxiv (its SDK and the apps built on it) name themselves in the MCP `initialize`
|
|
13
|
+
* request's `clientInfo.name` with this prefix (`eloxiv:<app or package>`, for example `eloxiv:hello-app`), and
|
|
14
|
+
* put their version in `clientInfo.version`. For such a session the kernel takes `clientInfo.version` as the
|
|
15
|
+
* client version when a request does not send `x-eloxiv-client-version` (the header wins when both are sent).
|
|
16
|
+
* Any other MCP client's `clientInfo.version` is its own product version, not an Eloxiv client version, and is
|
|
17
|
+
* ignored: such a client is gated only if it sends the header.
|
|
18
|
+
*/
|
|
19
|
+
export declare const MCP_CLIENT_NAME_PREFIX = "eloxiv:";
|
|
20
|
+
/** The Eloxiv client version an MCP session's `clientInfo` declares, under the convention above. */
|
|
21
|
+
export declare const mcpClientVersion: (clientInfo: {
|
|
22
|
+
readonly name?: string | undefined;
|
|
23
|
+
readonly version?: string | undefined;
|
|
24
|
+
} | undefined) => string | undefined;
|
|
25
|
+
/** Where the kernel advertises its release (`ReleaseInfo`), unauthenticated. */
|
|
26
|
+
export declare const RELEASE_PATH = "/release";
|
|
27
|
+
declare const ReleaseLeaseHeld_base: Schema.Class<ReleaseLeaseHeld, Schema.TaggedStruct<"ReleaseLeaseHeld", {
|
|
28
|
+
readonly message: Schema.String;
|
|
29
|
+
/** Who holds it, as recorded with the lease (null if the holder has not recorded itself yet). */
|
|
30
|
+
readonly owner: Schema.NullOr<Schema.String>;
|
|
31
|
+
readonly acquiredAt: Schema.NullOr<Schema.String>;
|
|
32
|
+
/** When the holder's lease runs out unless it renews it; a lock held past it means a stuck holder. */
|
|
33
|
+
readonly expiresAt: Schema.NullOr<Schema.String>;
|
|
34
|
+
}>, import("effect/Cause").YieldableError>;
|
|
35
|
+
/** Another setup holds the migration lease, and did not release it in time (or is stuck holding it). */
|
|
36
|
+
export declare class ReleaseLeaseHeld extends ReleaseLeaseHeld_base {
|
|
37
|
+
}
|
|
38
|
+
declare const MigrationFailed_base: Schema.Class<MigrationFailed, Schema.TaggedStruct<"MigrationFailed", {
|
|
39
|
+
readonly message: Schema.String;
|
|
40
|
+
readonly module: Schema.String;
|
|
41
|
+
readonly migration: Schema.NullOr<Schema.String>;
|
|
42
|
+
}>, import("effect/Cause").YieldableError>;
|
|
43
|
+
/**
|
|
44
|
+
* A migration, or the hardening after it, failed: nothing of the setup's transaction was applied. `migration`
|
|
45
|
+
* is null when the hardening (or a published view) refused what the migrations left.
|
|
46
|
+
*/
|
|
47
|
+
export declare class MigrationFailed extends MigrationFailed_base {
|
|
48
|
+
}
|
|
49
|
+
/** A module's schema as setup recorded it after migrating and hardening. */
|
|
50
|
+
export declare const SchemaSnapshotRecord: Schema.Struct<{
|
|
51
|
+
/** The module name (`eloxiv` for the kernel's own schemas). */
|
|
52
|
+
readonly module: Schema.String;
|
|
53
|
+
/** sha256 of the canonical snapshot. */
|
|
54
|
+
readonly fingerprint: Schema.String;
|
|
55
|
+
/** The migrations applied when it was recorded, in order. */
|
|
56
|
+
readonly migrations: Schema.$Array<Schema.String>;
|
|
57
|
+
readonly recordedAt: Schema.String;
|
|
58
|
+
}>;
|
|
59
|
+
export type SchemaSnapshotRecord = typeof SchemaSnapshotRecord.Type;
|
|
60
|
+
/** What one setup did. */
|
|
61
|
+
export declare const SetupReport: Schema.Struct<{
|
|
62
|
+
/** The lease owner this setup ran as. */
|
|
63
|
+
readonly owner: Schema.String;
|
|
64
|
+
/** Migrations applied, by module, in order (`eloxiv` for the kernel's). Empty when nothing was pending. */
|
|
65
|
+
readonly applied: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
66
|
+
/** Declared non-transactional migrations among them, run outside the setup's transaction. */
|
|
67
|
+
readonly outsideTransaction: Schema.$Array<Schema.String>;
|
|
68
|
+
/** The snapshot fingerprint recorded for each module. */
|
|
69
|
+
readonly snapshots: Schema.$Record<Schema.String, Schema.String>;
|
|
70
|
+
/**
|
|
71
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) had been changed outside
|
|
72
|
+
* setup since their last hardening, and that this setup hardened again.
|
|
73
|
+
*/
|
|
74
|
+
readonly repaired: Schema.$Array<Schema.String>;
|
|
75
|
+
}>;
|
|
76
|
+
export type SetupReport = typeof SetupReport.Type;
|
|
77
|
+
/** Whether the database is current for this build. */
|
|
78
|
+
export declare const ReleaseStatus: Schema.Struct<{
|
|
79
|
+
/** Migrations this build ships that the database has not applied, as `<module>/<migration>`. */
|
|
80
|
+
readonly pending: Schema.$Array<Schema.String>;
|
|
81
|
+
/** Modules whose live schema no longer matches the snapshot setup recorded (changed outside setup). */
|
|
82
|
+
readonly drifted: Schema.$Array<Schema.String>;
|
|
83
|
+
/** Modules this build installs that setup never recorded a snapshot for. */
|
|
84
|
+
readonly unrecorded: Schema.$Array<Schema.String>;
|
|
85
|
+
/**
|
|
86
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) no longer matches what
|
|
87
|
+
* their last hardening left (security drift). The next setup repairs it, or refuses if it cannot. `eloxiv`: the
|
|
88
|
+
* kernel's own schemas changed outside setup (or no state is recorded); `zero-cache`: its DDL triggers were left
|
|
89
|
+
* disabled while no setup runs.
|
|
90
|
+
*/
|
|
91
|
+
readonly insecure: Schema.$Array<Schema.String>;
|
|
92
|
+
}>;
|
|
93
|
+
export type ReleaseStatus = typeof ReleaseStatus.Type;
|
|
94
|
+
/** What the kernel advertises at `GET /release`. */
|
|
95
|
+
export declare const ReleaseInfo: Schema.Struct<{
|
|
96
|
+
readonly kernelVersion: Schema.String;
|
|
97
|
+
/** The app's build version (null if the app does not declare one). */
|
|
98
|
+
readonly appVersion: Schema.NullOr<Schema.String>;
|
|
99
|
+
/** The oldest client version writes are accepted from (null: no minimum). */
|
|
100
|
+
readonly minClientVersion: Schema.NullOr<Schema.String>;
|
|
101
|
+
/** Each installed module's contract version and its recorded schema fingerprint. */
|
|
102
|
+
readonly modules: Schema.$Array<Schema.Struct<{
|
|
103
|
+
readonly name: Schema.String;
|
|
104
|
+
readonly version: Schema.String;
|
|
105
|
+
readonly schema: Schema.NullOr<Schema.String>;
|
|
106
|
+
}>>;
|
|
107
|
+
}>;
|
|
108
|
+
export type ReleaseInfo = typeof ReleaseInfo.Type;
|
|
109
|
+
/** The current holder of the migration lease. */
|
|
110
|
+
export declare const ReleaseLease: Schema.Struct<{
|
|
111
|
+
readonly owner: Schema.String;
|
|
112
|
+
readonly acquiredAt: Schema.String;
|
|
113
|
+
readonly expiresAt: Schema.String;
|
|
114
|
+
}>;
|
|
115
|
+
export type ReleaseLease = typeof ReleaseLease.Type;
|
|
116
|
+
/** One setup, as recorded once it finished. */
|
|
117
|
+
export declare const ReleaseRecord: Schema.Struct<{
|
|
118
|
+
readonly owner: Schema.String;
|
|
119
|
+
readonly startedAt: Schema.String;
|
|
120
|
+
readonly finishedAt: Schema.String;
|
|
121
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "failed"]>;
|
|
122
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
123
|
+
readonly applied: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
124
|
+
}>;
|
|
125
|
+
export type ReleaseRecord = typeof ReleaseRecord.Type;
|
|
126
|
+
export declare const ReleaseContract: import("../Service.ts").ServiceContract<"Release", {
|
|
127
|
+
readonly setup: {
|
|
128
|
+
description: string;
|
|
129
|
+
input: Schema.Struct<{
|
|
130
|
+
readonly owner: Schema.optionalKey<Schema.String>;
|
|
131
|
+
readonly waitMs: Schema.optionalKey<Schema.Number>;
|
|
132
|
+
}>;
|
|
133
|
+
output: Schema.Struct<{
|
|
134
|
+
/** The lease owner this setup ran as. */
|
|
135
|
+
readonly owner: Schema.String;
|
|
136
|
+
/** Migrations applied, by module, in order (`eloxiv` for the kernel's). Empty when nothing was pending. */
|
|
137
|
+
readonly applied: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
138
|
+
/** Declared non-transactional migrations among them, run outside the setup's transaction. */
|
|
139
|
+
readonly outsideTransaction: Schema.$Array<Schema.String>;
|
|
140
|
+
/** The snapshot fingerprint recorded for each module. */
|
|
141
|
+
readonly snapshots: Schema.$Record<Schema.String, Schema.String>;
|
|
142
|
+
/**
|
|
143
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) had been changed outside
|
|
144
|
+
* setup since their last hardening, and that this setup hardened again.
|
|
145
|
+
*/
|
|
146
|
+
readonly repaired: Schema.$Array<Schema.String>;
|
|
147
|
+
}>;
|
|
148
|
+
errors: Schema.Union<readonly [typeof ReleaseLeaseHeld, typeof MigrationFailed]>;
|
|
149
|
+
};
|
|
150
|
+
readonly status: {
|
|
151
|
+
readonly description: "Whether the database is current for this build: pending migrations, drift, unrecorded modules, security drift.";
|
|
152
|
+
readonly input: Schema.Struct<{}>;
|
|
153
|
+
readonly output: Schema.Struct<{
|
|
154
|
+
/** Migrations this build ships that the database has not applied, as `<module>/<migration>`. */
|
|
155
|
+
readonly pending: Schema.$Array<Schema.String>;
|
|
156
|
+
/** Modules whose live schema no longer matches the snapshot setup recorded (changed outside setup). */
|
|
157
|
+
readonly drifted: Schema.$Array<Schema.String>;
|
|
158
|
+
/** Modules this build installs that setup never recorded a snapshot for. */
|
|
159
|
+
readonly unrecorded: Schema.$Array<Schema.String>;
|
|
160
|
+
/**
|
|
161
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) no longer matches what
|
|
162
|
+
* their last hardening left (security drift). The next setup repairs it, or refuses if it cannot. `eloxiv`: the
|
|
163
|
+
* kernel's own schemas changed outside setup (or no state is recorded); `zero-cache`: its DDL triggers were left
|
|
164
|
+
* disabled while no setup runs.
|
|
165
|
+
*/
|
|
166
|
+
readonly insecure: Schema.$Array<Schema.String>;
|
|
167
|
+
}>;
|
|
168
|
+
readonly errors: Schema.Never;
|
|
169
|
+
};
|
|
170
|
+
readonly snapshots: {
|
|
171
|
+
readonly description: "The schema snapshots setup recorded, one per module.";
|
|
172
|
+
readonly input: Schema.Struct<{}>;
|
|
173
|
+
readonly output: Schema.$Array<Schema.Struct<{
|
|
174
|
+
/** The module name (`eloxiv` for the kernel's own schemas). */
|
|
175
|
+
readonly module: Schema.String;
|
|
176
|
+
/** sha256 of the canonical snapshot. */
|
|
177
|
+
readonly fingerprint: Schema.String;
|
|
178
|
+
/** The migrations applied when it was recorded, in order. */
|
|
179
|
+
readonly migrations: Schema.$Array<Schema.String>;
|
|
180
|
+
readonly recordedAt: Schema.String;
|
|
181
|
+
}>>;
|
|
182
|
+
readonly errors: Schema.Never;
|
|
183
|
+
};
|
|
184
|
+
readonly info: {
|
|
185
|
+
readonly description: "What the kernel advertises at GET /release: versions and the minimum client version.";
|
|
186
|
+
readonly input: Schema.Struct<{}>;
|
|
187
|
+
readonly output: Schema.Struct<{
|
|
188
|
+
readonly kernelVersion: Schema.String;
|
|
189
|
+
/** The app's build version (null if the app does not declare one). */
|
|
190
|
+
readonly appVersion: Schema.NullOr<Schema.String>;
|
|
191
|
+
/** The oldest client version writes are accepted from (null: no minimum). */
|
|
192
|
+
readonly minClientVersion: Schema.NullOr<Schema.String>;
|
|
193
|
+
/** Each installed module's contract version and its recorded schema fingerprint. */
|
|
194
|
+
readonly modules: Schema.$Array<Schema.Struct<{
|
|
195
|
+
readonly name: Schema.String;
|
|
196
|
+
readonly version: Schema.String;
|
|
197
|
+
readonly schema: Schema.NullOr<Schema.String>;
|
|
198
|
+
}>>;
|
|
199
|
+
}>;
|
|
200
|
+
readonly errors: Schema.Never;
|
|
201
|
+
};
|
|
202
|
+
readonly lease: {
|
|
203
|
+
readonly description: "The migration lease's current holder, or null.";
|
|
204
|
+
readonly input: Schema.Struct<{}>;
|
|
205
|
+
readonly output: Schema.NullOr<Schema.Struct<{
|
|
206
|
+
readonly owner: Schema.String;
|
|
207
|
+
readonly acquiredAt: Schema.String;
|
|
208
|
+
readonly expiresAt: Schema.String;
|
|
209
|
+
}>>;
|
|
210
|
+
readonly errors: Schema.Never;
|
|
211
|
+
};
|
|
212
|
+
readonly history: {
|
|
213
|
+
readonly description: "Finished setups, oldest first.";
|
|
214
|
+
readonly input: Schema.Struct<{}>;
|
|
215
|
+
readonly output: Schema.$Array<Schema.Struct<{
|
|
216
|
+
readonly owner: Schema.String;
|
|
217
|
+
readonly startedAt: Schema.String;
|
|
218
|
+
readonly finishedAt: Schema.String;
|
|
219
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "failed"]>;
|
|
220
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
221
|
+
readonly applied: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
222
|
+
}>>;
|
|
223
|
+
readonly errors: Schema.Never;
|
|
224
|
+
};
|
|
225
|
+
}, {
|
|
226
|
+
readonly SchemaSnapshotRecord: Schema.Struct<{
|
|
227
|
+
/** The module name (`eloxiv` for the kernel's own schemas). */
|
|
228
|
+
readonly module: Schema.String;
|
|
229
|
+
/** sha256 of the canonical snapshot. */
|
|
230
|
+
readonly fingerprint: Schema.String;
|
|
231
|
+
/** The migrations applied when it was recorded, in order. */
|
|
232
|
+
readonly migrations: Schema.$Array<Schema.String>;
|
|
233
|
+
readonly recordedAt: Schema.String;
|
|
234
|
+
}>;
|
|
235
|
+
readonly SetupReport: Schema.Struct<{
|
|
236
|
+
/** The lease owner this setup ran as. */
|
|
237
|
+
readonly owner: Schema.String;
|
|
238
|
+
/** Migrations applied, by module, in order (`eloxiv` for the kernel's). Empty when nothing was pending. */
|
|
239
|
+
readonly applied: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
240
|
+
/** Declared non-transactional migrations among them, run outside the setup's transaction. */
|
|
241
|
+
readonly outsideTransaction: Schema.$Array<Schema.String>;
|
|
242
|
+
/** The snapshot fingerprint recorded for each module. */
|
|
243
|
+
readonly snapshots: Schema.$Record<Schema.String, Schema.String>;
|
|
244
|
+
/**
|
|
245
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) had been changed outside
|
|
246
|
+
* setup since their last hardening, and that this setup hardened again.
|
|
247
|
+
*/
|
|
248
|
+
readonly repaired: Schema.$Array<Schema.String>;
|
|
249
|
+
}>;
|
|
250
|
+
readonly ReleaseStatus: Schema.Struct<{
|
|
251
|
+
/** Migrations this build ships that the database has not applied, as `<module>/<migration>`. */
|
|
252
|
+
readonly pending: Schema.$Array<Schema.String>;
|
|
253
|
+
/** Modules whose live schema no longer matches the snapshot setup recorded (changed outside setup). */
|
|
254
|
+
readonly drifted: Schema.$Array<Schema.String>;
|
|
255
|
+
/** Modules this build installs that setup never recorded a snapshot for. */
|
|
256
|
+
readonly unrecorded: Schema.$Array<Schema.String>;
|
|
257
|
+
/**
|
|
258
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) no longer matches what
|
|
259
|
+
* their last hardening left (security drift). The next setup repairs it, or refuses if it cannot. `eloxiv`: the
|
|
260
|
+
* kernel's own schemas changed outside setup (or no state is recorded); `zero-cache`: its DDL triggers were left
|
|
261
|
+
* disabled while no setup runs.
|
|
262
|
+
*/
|
|
263
|
+
readonly insecure: Schema.$Array<Schema.String>;
|
|
264
|
+
}>;
|
|
265
|
+
readonly ReleaseInfo: Schema.Struct<{
|
|
266
|
+
readonly kernelVersion: Schema.String;
|
|
267
|
+
/** The app's build version (null if the app does not declare one). */
|
|
268
|
+
readonly appVersion: Schema.NullOr<Schema.String>;
|
|
269
|
+
/** The oldest client version writes are accepted from (null: no minimum). */
|
|
270
|
+
readonly minClientVersion: Schema.NullOr<Schema.String>;
|
|
271
|
+
/** Each installed module's contract version and its recorded schema fingerprint. */
|
|
272
|
+
readonly modules: Schema.$Array<Schema.Struct<{
|
|
273
|
+
readonly name: Schema.String;
|
|
274
|
+
readonly version: Schema.String;
|
|
275
|
+
readonly schema: Schema.NullOr<Schema.String>;
|
|
276
|
+
}>>;
|
|
277
|
+
}>;
|
|
278
|
+
readonly ReleaseLease: Schema.Struct<{
|
|
279
|
+
readonly owner: Schema.String;
|
|
280
|
+
readonly acquiredAt: Schema.String;
|
|
281
|
+
readonly expiresAt: Schema.String;
|
|
282
|
+
}>;
|
|
283
|
+
readonly ReleaseRecord: Schema.Struct<{
|
|
284
|
+
readonly owner: Schema.String;
|
|
285
|
+
readonly startedAt: Schema.String;
|
|
286
|
+
readonly finishedAt: Schema.String;
|
|
287
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "failed"]>;
|
|
288
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
289
|
+
readonly applied: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
290
|
+
}>;
|
|
291
|
+
readonly ReleaseLeaseHeld: typeof ReleaseLeaseHeld;
|
|
292
|
+
readonly MigrationFailed: typeof MigrationFailed;
|
|
293
|
+
}>;
|
|
294
|
+
export {};
|
|
295
|
+
//# sourceMappingURL=Release.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Release.d.ts","sourceRoot":"","sources":["../../src/contracts/Release.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAG/B,wGAAwG;AACxG,eAAO,MAAM,qBAAqB,4BAA4B,CAAA;AAE9D;;;;;;;GAOG;AACH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AAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA;AAEnD,+CAA+C;AAC/C,eAAO,MAAM,aAAa;;;;;;;EAOxB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAA;AAErD,eAAO,MAAM,eAAe;;QAatB,WAAW;QAIX,KAAK;;;;QACL,MAAM;YArFV,yCAAyC;;YAEzC,2GAA2G;;YAE3G,6FAA6F;;YAE7F,yDAAyD;;YAEzD;;;eAGG;;;QA2EC,MAAM;;;;;;YApEV,gGAAgG;;YAEhG,uGAAuG;;YAEvG,4EAA4E;;YAE5E;;;;;eAKG;;;;;;;;;YAzCH,+DAA+D;;YAE/D,wCAAwC;;YAExC,6DAA6D;;;;;;;;;;;YA6C7D,sEAAsE;;YAEtE,6EAA6E;;YAE7E,oFAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QArDpF,+DAA+D;;QAE/D,wCAAwC;;QAExC,6DAA6D;;;;;QAQ7D,yCAAyC;;QAEzC,2GAA2G;;QAE3G,6FAA6F;;QAE7F,yDAAyD;;QAEzD;;;WAGG;;;;QAOH,gGAAgG;;QAEhG,uGAAuG;;QAEvG,4EAA4E;;QAE5E;;;;;WAKG;;;;;QAQH,sEAAsE;;QAEtE,6EAA6E;;QAE7E,oFAAoF;;;;;;;;;;;;;;;;;;;;;;EAyFpF,CAAA"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Release: how one deployment's kernel is released and migrated. Migration
|
|
3
|
+
* ownership under a lease, one transaction for migrations and hardening,
|
|
4
|
+
* schema snapshots, client/server version skew and deployment topology.
|
|
5
|
+
* Documented in docs/contracts/release.md; conformance kit
|
|
6
|
+
* `@eloxiv/testing/conformance/Release`.
|
|
7
|
+
*/
|
|
8
|
+
import { Schema } from "effect";
|
|
9
|
+
import { defineServiceContract } from "../Service.js";
|
|
10
|
+
/** The header a client sends its version in. Writes from clients older than the minimum are refused. */
|
|
11
|
+
export const CLIENT_VERSION_HEADER = "x-eloxiv-client-version";
|
|
12
|
+
/**
|
|
13
|
+
* MCP clients built on Eloxiv (its SDK and the apps built on it) name themselves in the MCP `initialize`
|
|
14
|
+
* request's `clientInfo.name` with this prefix (`eloxiv:<app or package>`, for example `eloxiv:hello-app`), and
|
|
15
|
+
* put their version in `clientInfo.version`. For such a session the kernel takes `clientInfo.version` as the
|
|
16
|
+
* client version when a request does not send `x-eloxiv-client-version` (the header wins when both are sent).
|
|
17
|
+
* Any other MCP client's `clientInfo.version` is its own product version, not an Eloxiv client version, and is
|
|
18
|
+
* ignored: such a client is gated only if it sends the header.
|
|
19
|
+
*/
|
|
20
|
+
export const MCP_CLIENT_NAME_PREFIX = "eloxiv:";
|
|
21
|
+
/** The Eloxiv client version an MCP session's `clientInfo` declares, under the convention above. */
|
|
22
|
+
export const mcpClientVersion = (clientInfo) => clientInfo?.name?.startsWith(MCP_CLIENT_NAME_PREFIX) === true && typeof clientInfo.version === "string"
|
|
23
|
+
? clientInfo.version
|
|
24
|
+
: undefined;
|
|
25
|
+
/** Where the kernel advertises its release (`ReleaseInfo`), unauthenticated. */
|
|
26
|
+
export const RELEASE_PATH = "/release";
|
|
27
|
+
/** Another setup holds the migration lease, and did not release it in time (or is stuck holding it). */
|
|
28
|
+
export class ReleaseLeaseHeld extends Schema.TaggedError()("ReleaseLeaseHeld", {
|
|
29
|
+
message: Schema.String,
|
|
30
|
+
/** Who holds it, as recorded with the lease (null if the holder has not recorded itself yet). */
|
|
31
|
+
owner: Schema.NullOr(Schema.String),
|
|
32
|
+
acquiredAt: Schema.NullOr(Schema.String),
|
|
33
|
+
/** When the holder's lease runs out unless it renews it; a lock held past it means a stuck holder. */
|
|
34
|
+
expiresAt: Schema.NullOr(Schema.String),
|
|
35
|
+
}) {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A migration, or the hardening after it, failed: nothing of the setup's transaction was applied. `migration`
|
|
39
|
+
* is null when the hardening (or a published view) refused what the migrations left.
|
|
40
|
+
*/
|
|
41
|
+
export class MigrationFailed extends Schema.TaggedError()("MigrationFailed", {
|
|
42
|
+
message: Schema.String,
|
|
43
|
+
module: Schema.String,
|
|
44
|
+
migration: Schema.NullOr(Schema.String),
|
|
45
|
+
}) {
|
|
46
|
+
}
|
|
47
|
+
/** A module's schema as setup recorded it after migrating and hardening. */
|
|
48
|
+
export const SchemaSnapshotRecord = Schema.Struct({
|
|
49
|
+
/** The module name (`eloxiv` for the kernel's own schemas). */
|
|
50
|
+
module: Schema.String,
|
|
51
|
+
/** sha256 of the canonical snapshot. */
|
|
52
|
+
fingerprint: Schema.String,
|
|
53
|
+
/** The migrations applied when it was recorded, in order. */
|
|
54
|
+
migrations: Schema.Array(Schema.String),
|
|
55
|
+
recordedAt: Schema.String,
|
|
56
|
+
});
|
|
57
|
+
/** What one setup did. */
|
|
58
|
+
export const SetupReport = Schema.Struct({
|
|
59
|
+
/** The lease owner this setup ran as. */
|
|
60
|
+
owner: Schema.String,
|
|
61
|
+
/** Migrations applied, by module, in order (`eloxiv` for the kernel's). Empty when nothing was pending. */
|
|
62
|
+
applied: Schema.Record(Schema.String, Schema.Array(Schema.String)),
|
|
63
|
+
/** Declared non-transactional migrations among them, run outside the setup's transaction. */
|
|
64
|
+
outsideTransaction: Schema.Array(Schema.String),
|
|
65
|
+
/** The snapshot fingerprint recorded for each module. */
|
|
66
|
+
snapshots: Schema.Record(Schema.String, Schema.String),
|
|
67
|
+
/**
|
|
68
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) had been changed outside
|
|
69
|
+
* setup since their last hardening, and that this setup hardened again.
|
|
70
|
+
*/
|
|
71
|
+
repaired: Schema.Array(Schema.String),
|
|
72
|
+
});
|
|
73
|
+
/** Whether the database is current for this build. */
|
|
74
|
+
export const ReleaseStatus = Schema.Struct({
|
|
75
|
+
/** Migrations this build ships that the database has not applied, as `<module>/<migration>`. */
|
|
76
|
+
pending: Schema.Array(Schema.String),
|
|
77
|
+
/** Modules whose live schema no longer matches the snapshot setup recorded (changed outside setup). */
|
|
78
|
+
drifted: Schema.Array(Schema.String),
|
|
79
|
+
/** Modules this build installs that setup never recorded a snapshot for. */
|
|
80
|
+
unrecorded: Schema.Array(Schema.String),
|
|
81
|
+
/**
|
|
82
|
+
* Modules whose security state (row-level security, policies, privileges, triggers) no longer matches what
|
|
83
|
+
* their last hardening left (security drift). The next setup repairs it, or refuses if it cannot. `eloxiv`: the
|
|
84
|
+
* kernel's own schemas changed outside setup (or no state is recorded); `zero-cache`: its DDL triggers were left
|
|
85
|
+
* disabled while no setup runs.
|
|
86
|
+
*/
|
|
87
|
+
insecure: Schema.Array(Schema.String),
|
|
88
|
+
});
|
|
89
|
+
/** What the kernel advertises at `GET /release`. */
|
|
90
|
+
export const ReleaseInfo = Schema.Struct({
|
|
91
|
+
kernelVersion: Schema.String,
|
|
92
|
+
/** The app's build version (null if the app does not declare one). */
|
|
93
|
+
appVersion: Schema.NullOr(Schema.String),
|
|
94
|
+
/** The oldest client version writes are accepted from (null: no minimum). */
|
|
95
|
+
minClientVersion: Schema.NullOr(Schema.String),
|
|
96
|
+
/** Each installed module's contract version and its recorded schema fingerprint. */
|
|
97
|
+
modules: Schema.Array(Schema.Struct({ name: Schema.String, version: Schema.String, schema: Schema.NullOr(Schema.String) })),
|
|
98
|
+
});
|
|
99
|
+
/** The current holder of the migration lease. */
|
|
100
|
+
export const ReleaseLease = Schema.Struct({
|
|
101
|
+
owner: Schema.String,
|
|
102
|
+
acquiredAt: Schema.String,
|
|
103
|
+
expiresAt: Schema.String,
|
|
104
|
+
});
|
|
105
|
+
/** One setup, as recorded once it finished. */
|
|
106
|
+
export const ReleaseRecord = Schema.Struct({
|
|
107
|
+
owner: Schema.String,
|
|
108
|
+
startedAt: Schema.String,
|
|
109
|
+
finishedAt: Schema.String,
|
|
110
|
+
outcome: Schema.Literals(["succeeded", "failed"]),
|
|
111
|
+
error: Schema.NullOr(Schema.String),
|
|
112
|
+
applied: Schema.Record(Schema.String, Schema.Array(Schema.String)),
|
|
113
|
+
});
|
|
114
|
+
export const ReleaseContract = defineServiceContract({
|
|
115
|
+
name: "Release",
|
|
116
|
+
kind: "kernel",
|
|
117
|
+
version: "1.1.0",
|
|
118
|
+
description: "How a deployment's kernel is released and migrated. Setup takes a lease, so one process migrates at a " +
|
|
119
|
+
"time (others wait, then fail clearly), applies kernel and module migrations together with the hardening " +
|
|
120
|
+
"after them in one transaction (a failure leaves the previous state intact), records each module's " +
|
|
121
|
+
"schema snapshot, and keeps a history. Migrations that cannot run in a transaction must be declared and " +
|
|
122
|
+
"run outside it. The kernel advertises its release and refuses writes from clients older than the minimum " +
|
|
123
|
+
"client version (ClientOutdated), while their reads keep working.",
|
|
124
|
+
operations: {
|
|
125
|
+
setup: {
|
|
126
|
+
description: "Bootstrap, take the migration lease (waiting up to the configured time), migrate and harden in one " +
|
|
127
|
+
"transaction, record snapshots, release the lease. Idempotent: with nothing pending it changes nothing " +
|
|
128
|
+
"but the snapshots' timestamps and the history.",
|
|
129
|
+
input: Schema.Struct({ owner: Schema.optionalKey(Schema.String), waitMs: Schema.optionalKey(Schema.Number) }),
|
|
130
|
+
output: SetupReport,
|
|
131
|
+
errors: Schema.Union([ReleaseLeaseHeld, MigrationFailed]),
|
|
132
|
+
},
|
|
133
|
+
status: {
|
|
134
|
+
description: "Whether the database is current for this build: pending migrations, drift, unrecorded modules, security drift.",
|
|
135
|
+
input: Schema.Struct({}),
|
|
136
|
+
output: ReleaseStatus,
|
|
137
|
+
errors: Schema.Never,
|
|
138
|
+
},
|
|
139
|
+
snapshots: {
|
|
140
|
+
description: "The schema snapshots setup recorded, one per module.",
|
|
141
|
+
input: Schema.Struct({}),
|
|
142
|
+
output: Schema.Array(SchemaSnapshotRecord),
|
|
143
|
+
errors: Schema.Never,
|
|
144
|
+
},
|
|
145
|
+
info: {
|
|
146
|
+
description: "What the kernel advertises at GET /release: versions and the minimum client version.",
|
|
147
|
+
input: Schema.Struct({}),
|
|
148
|
+
output: ReleaseInfo,
|
|
149
|
+
errors: Schema.Never,
|
|
150
|
+
},
|
|
151
|
+
lease: {
|
|
152
|
+
description: "The migration lease's current holder, or null.",
|
|
153
|
+
input: Schema.Struct({}),
|
|
154
|
+
output: Schema.NullOr(ReleaseLease),
|
|
155
|
+
errors: Schema.Never,
|
|
156
|
+
},
|
|
157
|
+
history: {
|
|
158
|
+
description: "Finished setups, oldest first.",
|
|
159
|
+
input: Schema.Struct({}),
|
|
160
|
+
output: Schema.Array(ReleaseRecord),
|
|
161
|
+
errors: Schema.Never,
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
types: {
|
|
165
|
+
SchemaSnapshotRecord,
|
|
166
|
+
SetupReport,
|
|
167
|
+
ReleaseStatus,
|
|
168
|
+
ReleaseInfo,
|
|
169
|
+
ReleaseLease,
|
|
170
|
+
ReleaseRecord,
|
|
171
|
+
ReleaseLeaseHeld,
|
|
172
|
+
MigrationFailed,
|
|
173
|
+
},
|
|
174
|
+
});
|
|
175
|
+
//# sourceMappingURL=Release.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Release.js","sourceRoot":"","sources":["../../src/contracts/Release.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAErD,wGAAwG;AACxG,MAAM,CAAC,MAAM,qBAAqB,GAAG,yBAAyB,CAAA;AAE9D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,SAAS,CAAA;AAE/C,oGAAoG;AACpG,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,UAAqG,EACjF,EAAE,CACtB,UAAU,EAAE,IAAI,EAAE,UAAU,CAAC,sBAAsB,CAAC,KAAK,IAAI,IAAI,OAAO,UAAU,CAAC,OAAO,KAAK,QAAQ;IACrG,CAAC,CAAC,UAAU,C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