@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,272 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ScreenContext (a shell contract): what the person is looking at (the view, the record in focus, the records
|
|
3
|
+
* visible and the records selected), exposed to their agent so "this one" and "these" mean something, under
|
|
4
|
+
* privacy rules the person and the app control.
|
|
5
|
+
*
|
|
6
|
+
* The privacy rules, which every implementation applies before anything leaves the screen:
|
|
7
|
+
* 1. **References only.** A snapshot names records as `{ module, entity, id }` and the view by id: never a field
|
|
8
|
+
* value, never text on the screen. The agent reads a record only through its tools, under the person's policy.
|
|
9
|
+
* 2. **Off means nothing.** While the person has screen sharing off, there is no snapshot at all.
|
|
10
|
+
* 3. **Private views and entities.** A view the app or person marks private yields no snapshot; references to
|
|
11
|
+
* a private entity are withheld from every snapshot (counted in `withheld`, never named).
|
|
12
|
+
* 4. **Installed entities only.** A reference to an entity no installed module declares is withheld.
|
|
13
|
+
* 5. **Bounded.** At most `maxReferences` references in all (focus first, then selection, then visible); the rest
|
|
14
|
+
* are withheld.
|
|
15
|
+
*
|
|
16
|
+
* The kernel's `agent.send` takes a snapshot as `screen` and shows the model its references (never trusted for
|
|
17
|
+
* authorisation: the agent's tools still run under the person's policy).
|
|
18
|
+
*
|
|
19
|
+
* Durable state and agent commands (the kernel-provided `app_state` module, its actions below): each person's
|
|
20
|
+
* application state in each organisation (navigation, selection, the published screen, drafts), keyed, per tab or
|
|
21
|
+
* shared by every tab, with versions for compare-and-set, readable in one batch; and commands for the person's
|
|
22
|
+
* screen (navigate, open settings, ...) that their agent or another client issues, each delivered until a tab
|
|
23
|
+
* acknowledges it after handling it, and issued once under its id. Documented in
|
|
24
|
+
* docs/contracts/screen-context.md; conformance kit `@eloxiv/testing/conformance/ScreenContext`; implemented by
|
|
25
|
+
* `@eloxiv/shell-core` (`makeScreenContext`) and the kernel's agent module.
|
|
26
|
+
*/
|
|
27
|
+
import { Schema } from "effect";
|
|
28
|
+
import { defineServiceContract } from "../Service.js";
|
|
29
|
+
import { EntityReference } from "./WorkItems.js";
|
|
30
|
+
/** The most references a snapshot may carry, whatever the rules say. */
|
|
31
|
+
export const SCREEN_REFERENCE_LIMIT = 50;
|
|
32
|
+
/** A bounded entity reference, as a snapshot carries it. */
|
|
33
|
+
export const ScreenReference = Schema.Struct({
|
|
34
|
+
module: Schema.String.check(Schema.isNonEmpty(), Schema.isMaxLength(100)),
|
|
35
|
+
entity: Schema.String.check(Schema.isNonEmpty(), Schema.isMaxLength(100)),
|
|
36
|
+
id: Schema.String.check(Schema.isNonEmpty(), Schema.isMaxLength(500)),
|
|
37
|
+
});
|
|
38
|
+
/** What the shell reports about the screen (in full; the rules decide what of it leaves). */
|
|
39
|
+
export const ScreenState = Schema.Struct({
|
|
40
|
+
/** The view on screen, by id; `null` when no module view is open (the launcher, a settings page). */
|
|
41
|
+
view: Schema.NullOr(Schema.String),
|
|
42
|
+
/** The record the view is open on, if any. */
|
|
43
|
+
focus: Schema.optionalKey(Schema.NullOr(EntityReference)),
|
|
44
|
+
/** Records the view shows (a list's rows). */
|
|
45
|
+
visible: Schema.optionalKey(Schema.Array(EntityReference)),
|
|
46
|
+
/** Records the person selected. */
|
|
47
|
+
selection: Schema.optionalKey(Schema.Array(EntityReference)),
|
|
48
|
+
});
|
|
49
|
+
/** What the agent receives: the view and the references the rules let through, and how many they withheld. */
|
|
50
|
+
export const ScreenSnapshot = Schema.Struct({
|
|
51
|
+
view: Schema.NullOr(Schema.Struct({
|
|
52
|
+
id: Schema.String.check(Schema.isMaxLength(200)),
|
|
53
|
+
title: Schema.String.check(Schema.isMaxLength(200)),
|
|
54
|
+
route: Schema.String.check(Schema.isMaxLength(500)),
|
|
55
|
+
})),
|
|
56
|
+
focus: Schema.NullOr(ScreenReference),
|
|
57
|
+
selection: Schema.Array(ScreenReference).check(Schema.isMaxLength(SCREEN_REFERENCE_LIMIT)),
|
|
58
|
+
visible: Schema.Array(ScreenReference).check(Schema.isMaxLength(SCREEN_REFERENCE_LIMIT)),
|
|
59
|
+
withheld: Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0)),
|
|
60
|
+
}).check(
|
|
61
|
+
// The bound is on every reference together (focus, selection and visible), not on each list.
|
|
62
|
+
Schema.makeFilter((s) => (s.focus === null ? 0 : 1) + s.selection.length + s.visible.length <= SCREEN_REFERENCE_LIMIT ||
|
|
63
|
+
`a snapshot carries at most ${SCREEN_REFERENCE_LIMIT} references in all`));
|
|
64
|
+
/** The privacy rules: the person's switch, and the app's private views and entities. */
|
|
65
|
+
export const ScreenPrivacy = Schema.Struct({
|
|
66
|
+
sharing: Schema.Boolean,
|
|
67
|
+
/** View ids that never yield a snapshot. */
|
|
68
|
+
privateViews: Schema.Array(Schema.String),
|
|
69
|
+
/** Entities (`<module>.<entity>`) whose records are never referenced. */
|
|
70
|
+
privateEntities: Schema.Array(Schema.String),
|
|
71
|
+
maxReferences: Schema.Number.check(Schema.isInt(), Schema.isBetween({ minimum: 0, maximum: SCREEN_REFERENCE_LIMIT })),
|
|
72
|
+
});
|
|
73
|
+
/** The kernel's `app_state` module's actions. */
|
|
74
|
+
export const APP_STATE_ACTIONS = {
|
|
75
|
+
read: "app_state.get",
|
|
76
|
+
write: "app_state.write",
|
|
77
|
+
remove: "app_state.remove",
|
|
78
|
+
issue: "app_state.issue",
|
|
79
|
+
pending: "app_state.pending",
|
|
80
|
+
acknowledge: "app_state.acknowledge",
|
|
81
|
+
outcome: "app_state.outcome",
|
|
82
|
+
};
|
|
83
|
+
/** The key the shell publishes its screen snapshot under (per tab). */
|
|
84
|
+
export const SCREEN_STATE_KEY = "screen";
|
|
85
|
+
/** At most this many keys in one read. */
|
|
86
|
+
export const APP_STATE_READ_LIMIT = 50;
|
|
87
|
+
/** At most this many bytes of JSON in one value. */
|
|
88
|
+
export const APP_STATE_VALUE_BYTES = 16_384;
|
|
89
|
+
/** At most this many entries per person and organisation: the oldest per-tab entries make room; shared ones do not. */
|
|
90
|
+
export const APP_STATE_ENTRY_LIMIT = 200;
|
|
91
|
+
/** At most this many pending commands per person and organisation. */
|
|
92
|
+
export const APP_COMMAND_PENDING_LIMIT = 50;
|
|
93
|
+
/** At most this many bytes of JSON in one command. */
|
|
94
|
+
export const APP_COMMAND_BYTES = 4_096;
|
|
95
|
+
const NAME = /^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}$/;
|
|
96
|
+
/** An app-state key (`screen`, `mail.compose`, `route`): letters, digits and `._:/-`, at most 128. */
|
|
97
|
+
export const AppStateKey = Schema.String.check(Schema.isPattern(NAME));
|
|
98
|
+
/** A tab's id (`tabIdentity`); absent for the entries every tab shares. */
|
|
99
|
+
export const TabId = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_-]{1,64}$/));
|
|
100
|
+
/**
|
|
101
|
+
* One stored entry: its value, version and the tab that wrote it. A version only grows (a new entry's is the time it
|
|
102
|
+
* is written, then one more on each write) and never repeats for a key, even once its removed entry was swept.
|
|
103
|
+
*/
|
|
104
|
+
export const AppStateEntry = Schema.Struct({
|
|
105
|
+
key: Schema.String,
|
|
106
|
+
/** The tab the entry is for, or `null` for one every tab shares. */
|
|
107
|
+
tabId: Schema.NullOr(Schema.String),
|
|
108
|
+
value: Schema.Json,
|
|
109
|
+
version: Schema.Number,
|
|
110
|
+
/** The tab whose write this is (`null` when not written from a tab: the agent, a headless client). */
|
|
111
|
+
writtenBy: Schema.NullOr(Schema.String),
|
|
112
|
+
updatedAt: Schema.String,
|
|
113
|
+
});
|
|
114
|
+
export const AppStateRead = Schema.Struct({
|
|
115
|
+
keys: Schema.Array(AppStateKey).check(Schema.isMinLength(1), Schema.isMaxLength(APP_STATE_READ_LIMIT)),
|
|
116
|
+
/** With a tab: that tab's entries and the shared ones. Without: the shared ones and every tab's. */
|
|
117
|
+
tabId: Schema.optionalKey(TabId),
|
|
118
|
+
});
|
|
119
|
+
export const AppStateReadResult = Schema.Struct({ entries: Schema.Array(AppStateEntry) });
|
|
120
|
+
export const AppStateWrite = Schema.Struct({
|
|
121
|
+
key: AppStateKey,
|
|
122
|
+
value: Schema.Json,
|
|
123
|
+
/** The tab the entry is for; absent for the shared entry. */
|
|
124
|
+
tabId: Schema.optionalKey(TabId),
|
|
125
|
+
/** Compare-and-set: write only if the entry is at this version now (0: only if there is none). */
|
|
126
|
+
expectedVersion: Schema.optionalKey(Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0))),
|
|
127
|
+
/** The writing tab, recorded with the entry so that tab can ignore its own echo. */
|
|
128
|
+
writer: Schema.optionalKey(TabId),
|
|
129
|
+
});
|
|
130
|
+
/** `written: false` when the compare-and-set failed: `version` is the entry's current one (0: none). */
|
|
131
|
+
export const AppStateWriteResult = Schema.Struct({ written: Schema.Boolean, version: Schema.Number });
|
|
132
|
+
export const AppStateRemove = Schema.Struct({
|
|
133
|
+
key: AppStateKey,
|
|
134
|
+
tabId: Schema.optionalKey(TabId),
|
|
135
|
+
expectedVersion: Schema.optionalKey(Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(1))),
|
|
136
|
+
});
|
|
137
|
+
/** `removed: false` when there was none or the compare-and-set failed; `version` is the entry's version now. */
|
|
138
|
+
export const AppStateRemoveResult = Schema.Struct({ removed: Schema.Boolean, version: Schema.Number });
|
|
139
|
+
/** A command for the person's screen: its kind and whatever the kind needs (the shell decides what it does). */
|
|
140
|
+
export const AppCommand = Schema.Record(Schema.String, Schema.Json).check(Schema.makeFilter((command) => (typeof command["kind"] === "string" && /^[a-z][a-z0-9.-]{0,63}$/.test(command["kind"])) ||
|
|
141
|
+
"a command is { kind, ... } with kind a lowercase name of at most 64 characters"));
|
|
142
|
+
export const AppCommandIssue = Schema.Struct({
|
|
143
|
+
/** The command's id, chosen by its issuer: issuing the same id again issues nothing. */
|
|
144
|
+
id: Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_-]{1,64}$/)),
|
|
145
|
+
command: AppCommand,
|
|
146
|
+
/** The tab it is for; absent for whichever of the person's tabs handles it first. */
|
|
147
|
+
tabId: Schema.optionalKey(TabId),
|
|
148
|
+
});
|
|
149
|
+
export const AppCommandIssueResult = Schema.Struct({ id: Schema.String, issued: Schema.Boolean });
|
|
150
|
+
export const PendingAppCommand = Schema.Struct({
|
|
151
|
+
id: Schema.String,
|
|
152
|
+
command: AppCommand,
|
|
153
|
+
tabId: Schema.NullOr(Schema.String),
|
|
154
|
+
/** Who issued it: `agent` (the person's agent), `person` (one of their clients) or `system` (a job acting for them). */
|
|
155
|
+
issuedBy: Schema.Literals(["agent", "person", "system"]),
|
|
156
|
+
issuedAt: Schema.String,
|
|
157
|
+
});
|
|
158
|
+
export const AppCommandPending = Schema.Struct({ tabId: Schema.optionalKey(TabId) });
|
|
159
|
+
export const AppCommandPendingResult = Schema.Struct({ commands: Schema.Array(PendingAppCommand) });
|
|
160
|
+
export const AppCommandOutcome = Schema.Literals(["done", "refused", "failed"]);
|
|
161
|
+
export const AppCommandAcknowledge = Schema.Struct({
|
|
162
|
+
id: Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_-]{1,64}$/)),
|
|
163
|
+
outcome: AppCommandOutcome,
|
|
164
|
+
detail: Schema.optionalKey(Schema.String.check(Schema.isMaxLength(500))),
|
|
165
|
+
/** The tab that handled it. */
|
|
166
|
+
tabId: Schema.optionalKey(TabId),
|
|
167
|
+
});
|
|
168
|
+
/** `acknowledged: false` when another tab acknowledged it first (or there is no such command); `outcome` is the first. */
|
|
169
|
+
export const AppCommandAcknowledgeResult = Schema.Struct({
|
|
170
|
+
acknowledged: Schema.Boolean,
|
|
171
|
+
outcome: Schema.NullOr(AppCommandOutcome),
|
|
172
|
+
});
|
|
173
|
+
/** A command's state: still pending, or acknowledged with its outcome and detail (an `ask` command's answer). */
|
|
174
|
+
export const AppCommandOutcomeRead = Schema.Struct({
|
|
175
|
+
id: Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_-]{1,64}$/)),
|
|
176
|
+
});
|
|
177
|
+
export const AppCommandOutcomeResult = Schema.Struct({
|
|
178
|
+
id: Schema.String,
|
|
179
|
+
state: Schema.Literals(["pending", "acknowledged", "unknown"]),
|
|
180
|
+
outcome: Schema.NullOr(AppCommandOutcome),
|
|
181
|
+
detail: Schema.NullOr(Schema.String),
|
|
182
|
+
});
|
|
183
|
+
export const ScreenContextContract = defineServiceContract({
|
|
184
|
+
name: "ScreenContext",
|
|
185
|
+
kind: "shell",
|
|
186
|
+
version: "1.1.0",
|
|
187
|
+
description: "What the person is looking at (view, focused record, visible and selected records), exposed to their agent " +
|
|
188
|
+
"as references only, under privacy rules: nothing while sharing is off or on a private view; private and " +
|
|
189
|
+
"uninstalled entities withheld; at most maxReferences references (focus, then selection, then visible). " +
|
|
190
|
+
"agent.send takes the snapshot as `screen`; the agent's tools still run under the person's policy. " +
|
|
191
|
+
"Durable state and agent commands (the kernel's appState module): keyed state per person, organisation and tab " +
|
|
192
|
+
"with compare-and-set, and commands for the screen delivered until a tab acknowledges them after handling.",
|
|
193
|
+
operations: {
|
|
194
|
+
update: {
|
|
195
|
+
description: "Report the screen: the view (by id) and the records in focus, visible and selected.",
|
|
196
|
+
input: ScreenState,
|
|
197
|
+
output: Schema.Struct({}),
|
|
198
|
+
errors: Schema.Never,
|
|
199
|
+
},
|
|
200
|
+
snapshot: {
|
|
201
|
+
description: "What the agent may see now, after the privacy rules; `null` while sharing is off, on a private view, " +
|
|
202
|
+
"or on a view no installed module declares.",
|
|
203
|
+
input: Schema.Struct({}),
|
|
204
|
+
output: Schema.NullOr(ScreenSnapshot),
|
|
205
|
+
errors: Schema.Never,
|
|
206
|
+
},
|
|
207
|
+
privacy: {
|
|
208
|
+
description: "The privacy rules in force.",
|
|
209
|
+
input: Schema.Struct({}),
|
|
210
|
+
output: ScreenPrivacy,
|
|
211
|
+
errors: Schema.Never,
|
|
212
|
+
},
|
|
213
|
+
setSharing: {
|
|
214
|
+
description: "The person's switch: share the screen with their agent, or not.",
|
|
215
|
+
input: Schema.Struct({ sharing: Schema.Boolean }),
|
|
216
|
+
output: ScreenPrivacy,
|
|
217
|
+
errors: Schema.Never,
|
|
218
|
+
},
|
|
219
|
+
readState: {
|
|
220
|
+
description: "`app_state.get`: the person's entries for these keys (a tab's and the shared ones), with their versions.",
|
|
221
|
+
input: AppStateRead,
|
|
222
|
+
output: AppStateReadResult,
|
|
223
|
+
errors: Schema.Never,
|
|
224
|
+
},
|
|
225
|
+
writeState: {
|
|
226
|
+
description: "`app_state.write`: set an entry (for a tab, or shared); with `expectedVersion`, only if it is at that version.",
|
|
227
|
+
input: AppStateWrite,
|
|
228
|
+
output: AppStateWriteResult,
|
|
229
|
+
errors: Schema.Never,
|
|
230
|
+
},
|
|
231
|
+
removeState: {
|
|
232
|
+
description: "`app_state.remove`: delete an entry; with `expectedVersion`, only if it is at that version.",
|
|
233
|
+
input: AppStateRemove,
|
|
234
|
+
output: AppStateRemoveResult,
|
|
235
|
+
errors: Schema.Never,
|
|
236
|
+
},
|
|
237
|
+
issueCommand: {
|
|
238
|
+
description: "`app_state.issue`: a command for the person's screen (from their agent or a client), once under its id.",
|
|
239
|
+
input: AppCommandIssue,
|
|
240
|
+
output: AppCommandIssueResult,
|
|
241
|
+
errors: Schema.Never,
|
|
242
|
+
},
|
|
243
|
+
pendingCommands: {
|
|
244
|
+
description: "`app_state.pending`: the commands no tab has acknowledged yet, for a tab or any, oldest first.",
|
|
245
|
+
input: AppCommandPending,
|
|
246
|
+
output: AppCommandPendingResult,
|
|
247
|
+
errors: Schema.Never,
|
|
248
|
+
},
|
|
249
|
+
commandOutcome: {
|
|
250
|
+
description: "`app_state.outcome`: a command's state, and once acknowledged its outcome and detail (an ask command's answer).",
|
|
251
|
+
input: AppCommandOutcomeRead,
|
|
252
|
+
output: AppCommandOutcomeResult,
|
|
253
|
+
errors: Schema.Never,
|
|
254
|
+
},
|
|
255
|
+
acknowledgeCommand: {
|
|
256
|
+
description: "`app_state.acknowledge`: a tab handled the command (done, refused or failed); the first one counts.",
|
|
257
|
+
input: AppCommandAcknowledge,
|
|
258
|
+
output: AppCommandAcknowledgeResult,
|
|
259
|
+
errors: Schema.Never,
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
types: {
|
|
263
|
+
ScreenState,
|
|
264
|
+
ScreenSnapshot,
|
|
265
|
+
ScreenReference,
|
|
266
|
+
ScreenPrivacy,
|
|
267
|
+
AppStateEntry,
|
|
268
|
+
AppCommand,
|
|
269
|
+
PendingAppCommand,
|
|
270
|
+
},
|
|
271
|
+
});
|
|
272
|
+
//# sourceMappingURL=ScreenContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenContext.js","sourceRoot":"","sources":["../../src/contracts/ScreenContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD,wEAAwE;AACxE,MAAM,CAAC,MAAM,sBAAsB,GAAG,EAAE,CAAA;AAExC,4DAA4D;AAC5D,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACzE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACzE,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,C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0 +1,308 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search: full-text search over the records modules declare searchable, over the files attached to them and over
|
|
3
|
+
* the text Ingestion extracted from them (docs/contracts/search.md). PostgreSQL full-text search (decision: "a
|
|
4
|
+
* Rust index later if relevance demands it"): the kernel keeps the index itself, updated in the same transaction
|
|
5
|
+
* as every write to a searchable table, so it is never stale; ranking, highlighting, per-module and cross-module
|
|
6
|
+
* search. Every hit is filtered by the read policy of the record it belongs to, for the caller, at query time:
|
|
7
|
+
* a hit the caller cannot read is never returned, nor counted.
|
|
8
|
+
*/
|
|
9
|
+
import { Schema } from "effect";
|
|
10
|
+
import { Forbidden, InvalidInput, Unauthenticated } from "../Errors.ts";
|
|
11
|
+
export { SEARCH_LANGUAGES, type SearchLanguage } from "../SearchLanguages.ts";
|
|
12
|
+
/** The weight of a searchable field: A ranks highest. */
|
|
13
|
+
export declare const SearchWeight: Schema.Literals<readonly ["A", "B", "C", "D"]>;
|
|
14
|
+
export type SearchWeight = typeof SearchWeight.Type;
|
|
15
|
+
/** The kernel's search action. */
|
|
16
|
+
export declare const SEARCH_ACTION = "search.query";
|
|
17
|
+
/** Longest query, in characters. */
|
|
18
|
+
export declare const SEARCH_MAX_QUERY = 500;
|
|
19
|
+
/** Most hits per page. */
|
|
20
|
+
export declare const SEARCH_MAX_LIMIT = 50;
|
|
21
|
+
/**
|
|
22
|
+
* What an entity declares to be searchable (`EntityContract.search`): its string fields with their weights, the
|
|
23
|
+
* field shown as a hit's title (default: the first field weighted A), and the text search configuration (default
|
|
24
|
+
* `simple`: no stemming, any language).
|
|
25
|
+
*/
|
|
26
|
+
export declare const EntitySearchDeclaration: Schema.Struct<{
|
|
27
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Literals<readonly ["A", "B", "C", "D"]>>;
|
|
28
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
29
|
+
readonly language: Schema.optionalKey<Schema.Literals<readonly ["simple", "arabic", "armenian", "basque", "catalan", "danish", "dutch", "english", "finnish", "french", "german", "greek", "hindi", "hungarian", "indonesian", "irish", "italian", "lithuanian", "nepali", "norwegian", "portuguese", "romanian", "russian", "serbian", "spanish", "swedish", "tamil", "turkish", "yiddish"]>>;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const SearchRequest: Schema.Struct<{
|
|
32
|
+
/**
|
|
33
|
+
* Web-search syntax: words (all must match, stemmed by the entity's language), `"a phrase"`, `or`, and `-word`
|
|
34
|
+
* to exclude.
|
|
35
|
+
*/
|
|
36
|
+
readonly query: Schema.String;
|
|
37
|
+
/** Search only these modules (by name). Default: every module. */
|
|
38
|
+
readonly modules: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
39
|
+
/** Search only these entities (Cedar types, `Archive::Doc`). Default: every entity. */
|
|
40
|
+
readonly entities: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
41
|
+
/** Hits per page, 1 to 50 (default 20). */
|
|
42
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
43
|
+
/**
|
|
44
|
+
* `lexical` matches words (full-text search); `hybrid` also matches meaning, by the embeddings of the index's text
|
|
45
|
+
* (the deployment's embedding model, through ModelProvider), and fuses both rankings. Default: `hybrid` where the
|
|
46
|
+
* deployment configures embeddings, else `lexical` (asking for `hybrid` without them searches lexically).
|
|
47
|
+
*/
|
|
48
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["lexical", "hybrid"]>>;
|
|
49
|
+
/** The previous page's `nextCursor`. */
|
|
50
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
51
|
+
}>;
|
|
52
|
+
export type SearchRequest = typeof SearchRequest.Type;
|
|
53
|
+
/** Where in a record a hit matched: its own fields, a file's name, or a chunk of text ingested from it. */
|
|
54
|
+
export declare const HitSource: Schema.Union<readonly [Schema.Struct<{
|
|
55
|
+
readonly kind: Schema.Literal<"record">;
|
|
56
|
+
}>, Schema.Struct<{
|
|
57
|
+
readonly kind: Schema.Literal<"file">;
|
|
58
|
+
readonly fileId: Schema.String;
|
|
59
|
+
}>, Schema.Struct<{
|
|
60
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
61
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
62
|
+
readonly itemId: Schema.String;
|
|
63
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
64
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
65
|
+
readonly seq: Schema.Number;
|
|
66
|
+
readonly start: Schema.Number;
|
|
67
|
+
readonly end: Schema.Number;
|
|
68
|
+
}>]>;
|
|
69
|
+
export type HitSource = typeof HitSource.Type;
|
|
70
|
+
export declare const SearchHit: Schema.Struct<{
|
|
71
|
+
/** The record: its module, entity (Cedar type) and primary key. */
|
|
72
|
+
readonly module: Schema.String;
|
|
73
|
+
readonly entity: Schema.String;
|
|
74
|
+
readonly id: Schema.String;
|
|
75
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
76
|
+
readonly kind: Schema.Literal<"record">;
|
|
77
|
+
}>, Schema.Struct<{
|
|
78
|
+
readonly kind: Schema.Literal<"file">;
|
|
79
|
+
readonly fileId: Schema.String;
|
|
80
|
+
}>, Schema.Struct<{
|
|
81
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
82
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
83
|
+
readonly itemId: Schema.String;
|
|
84
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
85
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
86
|
+
readonly seq: Schema.Number;
|
|
87
|
+
readonly start: Schema.Number;
|
|
88
|
+
readonly end: Schema.Number;
|
|
89
|
+
}>]>;
|
|
90
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
91
|
+
/** A plain-text excerpt around the matches (never markup). */
|
|
92
|
+
readonly snippet: Schema.String;
|
|
93
|
+
/** The matched words in `snippet`, as `[start, end)` UTF-16 offsets. */
|
|
94
|
+
readonly highlights: Schema.$Array<Schema.Tuple<readonly [Schema.Number, Schema.Number]>>;
|
|
95
|
+
/** Higher is better; comparable within one result list. */
|
|
96
|
+
readonly rank: Schema.Number;
|
|
97
|
+
/** What matched in a hybrid search: the words, the meaning, or both (absent in a lexical one). */
|
|
98
|
+
readonly matched: Schema.optionalKey<Schema.Literals<readonly ["words", "meaning", "both"]>>;
|
|
99
|
+
}>;
|
|
100
|
+
export type SearchHit = typeof SearchHit.Type;
|
|
101
|
+
export declare const SearchResult: Schema.Struct<{
|
|
102
|
+
readonly hits: Schema.$Array<Schema.Struct<{
|
|
103
|
+
/** The record: its module, entity (Cedar type) and primary key. */
|
|
104
|
+
readonly module: Schema.String;
|
|
105
|
+
readonly entity: Schema.String;
|
|
106
|
+
readonly id: Schema.String;
|
|
107
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
108
|
+
readonly kind: Schema.Literal<"record">;
|
|
109
|
+
}>, Schema.Struct<{
|
|
110
|
+
readonly kind: Schema.Literal<"file">;
|
|
111
|
+
readonly fileId: Schema.String;
|
|
112
|
+
}>, Schema.Struct<{
|
|
113
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
114
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
115
|
+
readonly itemId: Schema.String;
|
|
116
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
117
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
118
|
+
readonly seq: Schema.Number;
|
|
119
|
+
readonly start: Schema.Number;
|
|
120
|
+
readonly end: Schema.Number;
|
|
121
|
+
}>]>;
|
|
122
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
123
|
+
/** A plain-text excerpt around the matches (never markup). */
|
|
124
|
+
readonly snippet: Schema.String;
|
|
125
|
+
/** The matched words in `snippet`, as `[start, end)` UTF-16 offsets. */
|
|
126
|
+
readonly highlights: Schema.$Array<Schema.Tuple<readonly [Schema.Number, Schema.Number]>>;
|
|
127
|
+
/** Higher is better; comparable within one result list. */
|
|
128
|
+
readonly rank: Schema.Number;
|
|
129
|
+
/** What matched in a hybrid search: the words, the meaning, or both (absent in a lexical one). */
|
|
130
|
+
readonly matched: Schema.optionalKey<Schema.Literals<readonly ["words", "meaning", "both"]>>;
|
|
131
|
+
}>>;
|
|
132
|
+
/**
|
|
133
|
+
* Pass it back for more. Present while more of the index remains to be searched, so a page may hold fewer than
|
|
134
|
+
* `limit` hits (or none) and still have a next one; null at the end.
|
|
135
|
+
*/
|
|
136
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
137
|
+
}>;
|
|
138
|
+
export type SearchResult = typeof SearchResult.Type;
|
|
139
|
+
export declare const SearchContract: import("../Service.ts").ServiceContract<"Search", {
|
|
140
|
+
readonly query: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
141
|
+
/**
|
|
142
|
+
* Web-search syntax: words (all must match, stemmed by the entity's language), `"a phrase"`, `or`, and `-word`
|
|
143
|
+
* to exclude.
|
|
144
|
+
*/
|
|
145
|
+
readonly query: Schema.String;
|
|
146
|
+
/** Search only these modules (by name). Default: every module. */
|
|
147
|
+
readonly modules: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
148
|
+
/** Search only these entities (Cedar types, `Archive::Doc`). Default: every entity. */
|
|
149
|
+
readonly entities: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
150
|
+
/** Hits per page, 1 to 50 (default 20). */
|
|
151
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
152
|
+
/**
|
|
153
|
+
* `lexical` matches words (full-text search); `hybrid` also matches meaning, by the embeddings of the index's text
|
|
154
|
+
* (the deployment's embedding model, through ModelProvider), and fuses both rankings. Default: `hybrid` where the
|
|
155
|
+
* deployment configures embeddings, else `lexical` (asking for `hybrid` without them searches lexically).
|
|
156
|
+
*/
|
|
157
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["lexical", "hybrid"]>>;
|
|
158
|
+
/** The previous page's `nextCursor`. */
|
|
159
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
160
|
+
}>, Schema.Struct<{
|
|
161
|
+
readonly hits: Schema.$Array<Schema.Struct<{
|
|
162
|
+
/** The record: its module, entity (Cedar type) and primary key. */
|
|
163
|
+
readonly module: Schema.String;
|
|
164
|
+
readonly entity: Schema.String;
|
|
165
|
+
readonly id: Schema.String;
|
|
166
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
167
|
+
readonly kind: Schema.Literal<"record">;
|
|
168
|
+
}>, Schema.Struct<{
|
|
169
|
+
readonly kind: Schema.Literal<"file">;
|
|
170
|
+
readonly fileId: Schema.String;
|
|
171
|
+
}>, Schema.Struct<{
|
|
172
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
173
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
174
|
+
readonly itemId: Schema.String;
|
|
175
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
176
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
177
|
+
readonly seq: Schema.Number;
|
|
178
|
+
readonly start: Schema.Number;
|
|
179
|
+
readonly end: Schema.Number;
|
|
180
|
+
}>]>;
|
|
181
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
182
|
+
/** A plain-text excerpt around the matches (never markup). */
|
|
183
|
+
readonly snippet: Schema.String;
|
|
184
|
+
/** The matched words in `snippet`, as `[start, end)` UTF-16 offsets. */
|
|
185
|
+
readonly highlights: Schema.$Array<Schema.Tuple<readonly [Schema.Number, Schema.Number]>>;
|
|
186
|
+
/** Higher is better; comparable within one result list. */
|
|
187
|
+
readonly rank: Schema.Number;
|
|
188
|
+
/** What matched in a hybrid search: the words, the meaning, or both (absent in a lexical one). */
|
|
189
|
+
readonly matched: Schema.optionalKey<Schema.Literals<readonly ["words", "meaning", "both"]>>;
|
|
190
|
+
}>>;
|
|
191
|
+
/**
|
|
192
|
+
* Pass it back for more. Present while more of the index remains to be searched, so a page may hold fewer than
|
|
193
|
+
* `limit` hits (or none) and still have a next one; null at the end.
|
|
194
|
+
*/
|
|
195
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
196
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
197
|
+
}, {
|
|
198
|
+
readonly SearchRequest: Schema.Struct<{
|
|
199
|
+
/**
|
|
200
|
+
* Web-search syntax: words (all must match, stemmed by the entity's language), `"a phrase"`, `or`, and `-word`
|
|
201
|
+
* to exclude.
|
|
202
|
+
*/
|
|
203
|
+
readonly query: Schema.String;
|
|
204
|
+
/** Search only these modules (by name). Default: every module. */
|
|
205
|
+
readonly modules: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
206
|
+
/** Search only these entities (Cedar types, `Archive::Doc`). Default: every entity. */
|
|
207
|
+
readonly entities: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
208
|
+
/** Hits per page, 1 to 50 (default 20). */
|
|
209
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
210
|
+
/**
|
|
211
|
+
* `lexical` matches words (full-text search); `hybrid` also matches meaning, by the embeddings of the index's text
|
|
212
|
+
* (the deployment's embedding model, through ModelProvider), and fuses both rankings. Default: `hybrid` where the
|
|
213
|
+
* deployment configures embeddings, else `lexical` (asking for `hybrid` without them searches lexically).
|
|
214
|
+
*/
|
|
215
|
+
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["lexical", "hybrid"]>>;
|
|
216
|
+
/** The previous page's `nextCursor`. */
|
|
217
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
218
|
+
}>;
|
|
219
|
+
readonly SearchResult: Schema.Struct<{
|
|
220
|
+
readonly hits: Schema.$Array<Schema.Struct<{
|
|
221
|
+
/** The record: its module, entity (Cedar type) and primary key. */
|
|
222
|
+
readonly module: Schema.String;
|
|
223
|
+
readonly entity: Schema.String;
|
|
224
|
+
readonly id: Schema.String;
|
|
225
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
226
|
+
readonly kind: Schema.Literal<"record">;
|
|
227
|
+
}>, Schema.Struct<{
|
|
228
|
+
readonly kind: Schema.Literal<"file">;
|
|
229
|
+
readonly fileId: Schema.String;
|
|
230
|
+
}>, Schema.Struct<{
|
|
231
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
232
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
233
|
+
readonly itemId: Schema.String;
|
|
234
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
235
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
236
|
+
readonly seq: Schema.Number;
|
|
237
|
+
readonly start: Schema.Number;
|
|
238
|
+
readonly end: Schema.Number;
|
|
239
|
+
}>]>;
|
|
240
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
241
|
+
/** A plain-text excerpt around the matches (never markup). */
|
|
242
|
+
readonly snippet: Schema.String;
|
|
243
|
+
/** The matched words in `snippet`, as `[start, end)` UTF-16 offsets. */
|
|
244
|
+
readonly highlights: Schema.$Array<Schema.Tuple<readonly [Schema.Number, Schema.Number]>>;
|
|
245
|
+
/** Higher is better; comparable within one result list. */
|
|
246
|
+
readonly rank: Schema.Number;
|
|
247
|
+
/** What matched in a hybrid search: the words, the meaning, or both (absent in a lexical one). */
|
|
248
|
+
readonly matched: Schema.optionalKey<Schema.Literals<readonly ["words", "meaning", "both"]>>;
|
|
249
|
+
}>>;
|
|
250
|
+
/**
|
|
251
|
+
* Pass it back for more. Present while more of the index remains to be searched, so a page may hold fewer than
|
|
252
|
+
* `limit` hits (or none) and still have a next one; null at the end.
|
|
253
|
+
*/
|
|
254
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
255
|
+
}>;
|
|
256
|
+
readonly SearchHit: Schema.Struct<{
|
|
257
|
+
/** The record: its module, entity (Cedar type) and primary key. */
|
|
258
|
+
readonly module: Schema.String;
|
|
259
|
+
readonly entity: Schema.String;
|
|
260
|
+
readonly id: Schema.String;
|
|
261
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
262
|
+
readonly kind: Schema.Literal<"record">;
|
|
263
|
+
}>, Schema.Struct<{
|
|
264
|
+
readonly kind: Schema.Literal<"file">;
|
|
265
|
+
readonly fileId: Schema.String;
|
|
266
|
+
}>, Schema.Struct<{
|
|
267
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
268
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
269
|
+
readonly itemId: Schema.String;
|
|
270
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
271
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
272
|
+
readonly seq: Schema.Number;
|
|
273
|
+
readonly start: Schema.Number;
|
|
274
|
+
readonly end: Schema.Number;
|
|
275
|
+
}>]>;
|
|
276
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
277
|
+
/** A plain-text excerpt around the matches (never markup). */
|
|
278
|
+
readonly snippet: Schema.String;
|
|
279
|
+
/** The matched words in `snippet`, as `[start, end)` UTF-16 offsets. */
|
|
280
|
+
readonly highlights: Schema.$Array<Schema.Tuple<readonly [Schema.Number, Schema.Number]>>;
|
|
281
|
+
/** Higher is better; comparable within one result list. */
|
|
282
|
+
readonly rank: Schema.Number;
|
|
283
|
+
/** What matched in a hybrid search: the words, the meaning, or both (absent in a lexical one). */
|
|
284
|
+
readonly matched: Schema.optionalKey<Schema.Literals<readonly ["words", "meaning", "both"]>>;
|
|
285
|
+
}>;
|
|
286
|
+
readonly HitSource: Schema.Union<readonly [Schema.Struct<{
|
|
287
|
+
readonly kind: Schema.Literal<"record">;
|
|
288
|
+
}>, Schema.Struct<{
|
|
289
|
+
readonly kind: Schema.Literal<"file">;
|
|
290
|
+
readonly fileId: Schema.String;
|
|
291
|
+
}>, Schema.Struct<{
|
|
292
|
+
readonly kind: Schema.Literal<"chunk">;
|
|
293
|
+
/** The ingestion item the text came from, and the file when it came from one. */
|
|
294
|
+
readonly itemId: Schema.String;
|
|
295
|
+
readonly fileId: Schema.NullOr<Schema.String>;
|
|
296
|
+
/** The chunk's position (0-based) and its character range in the extracted text. */
|
|
297
|
+
readonly seq: Schema.Number;
|
|
298
|
+
readonly start: Schema.Number;
|
|
299
|
+
readonly end: Schema.Number;
|
|
300
|
+
}>]>;
|
|
301
|
+
readonly EntitySearchDeclaration: Schema.Struct<{
|
|
302
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Literals<readonly ["A", "B", "C", "D"]>>;
|
|
303
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
304
|
+
readonly language: Schema.optionalKey<Schema.Literals<readonly ["simple", "arabic", "armenian", "basque", "catalan", "danish", "dutch", "english", "finnish", "french", "german", "greek", "hindi", "hungarian", "indonesian", "irish", "italian", "lithuanian", "nepali", "norwegian", "portuguese", "romanian", "russian", "serbian", "spanish", "swedish", "tamil", "turkish", "yiddish"]>>;
|
|
305
|
+
}>;
|
|
306
|
+
readonly SearchWeight: Schema.Literals<readonly ["A", "B", "C", "D"]>;
|
|
307
|
+
}>;
|
|
308
|
+
//# sourceMappingURL=Search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../src/contracts/Search.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAKvE,OAAO,EAAE,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE7E,yDAAyD;AACzD,eAAO,MAAM,YAAY,gDAAwC,CAAA;AACjE,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA;AAEnD,kCAAkC;AAClC,eAAO,MAAM,aAAa,iBAAiB,CAAA;AAE3C,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,MAAM,CAAA;AACnC,0BAA0B;AAC1B,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAElC;;;;GAIG;AACH,eAAO,MAAM,u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