@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,248 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentResources: instructions, skills and agent files in personal, organisation and app scopes, with
|
|
3
|
+
* precedence (personal over organisation over app, for the same kind and path). People manage their personal
|
|
4
|
+
* scope, organisation administrators the organisation's, and the app scope comes from the registry (module
|
|
5
|
+
* manifests' skills and the app's own instructions). Every change is an audited action. See
|
|
6
|
+
* docs/contracts/agent-resources.md.
|
|
7
|
+
*/
|
|
8
|
+
import { Schema } from "effect";
|
|
9
|
+
import { Forbidden, InvalidInput, Unauthenticated } from "../Errors.ts";
|
|
10
|
+
/** The format of a resource pack, and the version of it this kernel writes and reads. */
|
|
11
|
+
export declare const RESOURCE_PACK_FORMAT = "eloxiv.agent-resources";
|
|
12
|
+
export declare const RESOURCE_PACK_VERSION = 1;
|
|
13
|
+
/**
|
|
14
|
+
* At most this many resources in one pack, and their JSON (`resourcePackBytes`) at most this many bytes: 3 MiB, so a
|
|
15
|
+
* pack with its envelope and the import's input stays within the kernel's default request body limit (4 MiB,
|
|
16
|
+
* `ELOXIV_HTTP_MAX_BODY_BYTES`). A pack the kernel exports can always be imported back.
|
|
17
|
+
*/
|
|
18
|
+
export declare const RESOURCE_PACK_MAX_RESOURCES = 500;
|
|
19
|
+
export declare const RESOURCE_PACK_MAX_BYTES: number;
|
|
20
|
+
/**
|
|
21
|
+
* The size of a pack's resources as UTF-8 JSON, the measure `RESOURCE_PACK_MAX_BYTES` limits: what `TextEncoder`
|
|
22
|
+
* would give (a lone surrogate counts as U+FFFD), counted in plain JavaScript, since the contracts compile without
|
|
23
|
+
* the DOM's or Node's globals (React Native's typecheck has no `TextEncoder`; see `utf8Bytes` in Optimistic.ts).
|
|
24
|
+
*/
|
|
25
|
+
export declare const resourcePackBytes: (resources: ReadonlyArray<unknown>) => number;
|
|
26
|
+
/** One resource in a pack: what it is and where it goes, without the id or owner it had where it came from. */
|
|
27
|
+
export declare const PackedResource: Schema.Struct<{
|
|
28
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
29
|
+
readonly path: Schema.String;
|
|
30
|
+
readonly description: Schema.String;
|
|
31
|
+
readonly content: Schema.String;
|
|
32
|
+
}>;
|
|
33
|
+
export type PackedResource = typeof PackedResource.Type;
|
|
34
|
+
/**
|
|
35
|
+
* A portable collection of one scope's resources (a resource pack), as JSON: written by `agent.exportResources`,
|
|
36
|
+
* read by `agent.importResources` in this or another installation. It keeps each resource's kind, path,
|
|
37
|
+
* description and content, and where the pack came from (the scope, the kernel's version, when); never ids, owners
|
|
38
|
+
* or anything of another scope.
|
|
39
|
+
*/
|
|
40
|
+
export declare const ResourcePack: Schema.Struct<{
|
|
41
|
+
readonly format: Schema.Literal<"eloxiv.agent-resources">;
|
|
42
|
+
readonly version: Schema.Literal<1>;
|
|
43
|
+
readonly source: Schema.Struct<{
|
|
44
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
45
|
+
readonly kernelVersion: Schema.String;
|
|
46
|
+
readonly exportedAt: Schema.String;
|
|
47
|
+
}>;
|
|
48
|
+
readonly resources: Schema.$Array<Schema.Struct<{
|
|
49
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
50
|
+
readonly path: Schema.String;
|
|
51
|
+
readonly description: Schema.String;
|
|
52
|
+
readonly content: Schema.String;
|
|
53
|
+
}>>;
|
|
54
|
+
}>;
|
|
55
|
+
export type ResourcePack = typeof ResourcePack.Type;
|
|
56
|
+
/**
|
|
57
|
+
* What to do with a resource of the pack whose kind and path the target scope already has with other content:
|
|
58
|
+
* refuse the whole import (`fail`, the default), keep the existing one (`skip`) or replace it (`replace`).
|
|
59
|
+
*/
|
|
60
|
+
export declare const PackConflict: Schema.Literals<readonly ["fail", "skip", "replace"]>;
|
|
61
|
+
export declare const ImportResourcesInput: Schema.Struct<{
|
|
62
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
63
|
+
readonly pack: Schema.Struct<{
|
|
64
|
+
readonly format: Schema.Literal<"eloxiv.agent-resources">;
|
|
65
|
+
readonly version: Schema.Literal<1>;
|
|
66
|
+
readonly source: Schema.Struct<{
|
|
67
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
68
|
+
readonly kernelVersion: Schema.String;
|
|
69
|
+
readonly exportedAt: Schema.String;
|
|
70
|
+
}>;
|
|
71
|
+
readonly resources: Schema.$Array<Schema.Struct<{
|
|
72
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
73
|
+
readonly path: Schema.String;
|
|
74
|
+
readonly description: Schema.String;
|
|
75
|
+
readonly content: Schema.String;
|
|
76
|
+
}>>;
|
|
77
|
+
}>;
|
|
78
|
+
readonly onConflict: Schema.optionalKey<Schema.Literals<readonly ["fail", "skip", "replace"]>>;
|
|
79
|
+
}>;
|
|
80
|
+
export declare const ImportResourcesOutput: Schema.Struct<{
|
|
81
|
+
readonly created: Schema.$Array<Schema.Struct<{
|
|
82
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
83
|
+
readonly path: Schema.String;
|
|
84
|
+
}>>;
|
|
85
|
+
readonly replaced: Schema.$Array<Schema.Struct<{
|
|
86
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
87
|
+
readonly path: Schema.String;
|
|
88
|
+
}>>;
|
|
89
|
+
/** Already there with the same description and content. */
|
|
90
|
+
readonly unchanged: Schema.$Array<Schema.Struct<{
|
|
91
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
92
|
+
readonly path: Schema.String;
|
|
93
|
+
}>>;
|
|
94
|
+
/** Kept as they were (`onConflict: skip`). */
|
|
95
|
+
readonly skipped: Schema.$Array<Schema.Struct<{
|
|
96
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
97
|
+
readonly path: Schema.String;
|
|
98
|
+
}>>;
|
|
99
|
+
}>;
|
|
100
|
+
export declare const ExportResourcesInput: Schema.Struct<{
|
|
101
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
102
|
+
}>;
|
|
103
|
+
export declare const AgentResourcesContract: import("../Service.ts").ServiceContract<"AgentResources", {
|
|
104
|
+
readonly put: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
105
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
106
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
107
|
+
readonly path: Schema.String;
|
|
108
|
+
readonly description: Schema.String;
|
|
109
|
+
readonly content: Schema.String;
|
|
110
|
+
}>, Schema.Struct<{
|
|
111
|
+
readonly id: Schema.String;
|
|
112
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
113
|
+
readonly remove: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
114
|
+
readonly id: Schema.String;
|
|
115
|
+
}>, Schema.Struct<{
|
|
116
|
+
readonly id: Schema.String;
|
|
117
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
118
|
+
readonly effective: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
119
|
+
readonly kind: Schema.optionalKey<Schema.Literals<readonly ["instructions", "skill", "file"]>>;
|
|
120
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
121
|
+
readonly scope: Schema.Literals<readonly ["personal", "team", "org", "app"]>;
|
|
122
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
123
|
+
readonly path: Schema.String;
|
|
124
|
+
readonly description: Schema.String;
|
|
125
|
+
readonly content: Schema.String;
|
|
126
|
+
readonly id: Schema.NullOr<Schema.String>;
|
|
127
|
+
readonly team: Schema.optionalKey<Schema.String>;
|
|
128
|
+
}>>, typeof Unauthenticated>;
|
|
129
|
+
readonly list: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
130
|
+
readonly scope: Schema.Literals<readonly ["personal", "team", "org", "app"]>;
|
|
131
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
132
|
+
readonly scope: Schema.Literals<readonly ["personal", "team", "org", "app"]>;
|
|
133
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
134
|
+
readonly path: Schema.String;
|
|
135
|
+
readonly description: Schema.String;
|
|
136
|
+
readonly content: Schema.String;
|
|
137
|
+
readonly id: Schema.NullOr<Schema.String>;
|
|
138
|
+
readonly team: Schema.optionalKey<Schema.String>;
|
|
139
|
+
}>>, typeof Unauthenticated>;
|
|
140
|
+
readonly moveFolder: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
141
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
142
|
+
readonly from: Schema.String;
|
|
143
|
+
readonly to: Schema.String;
|
|
144
|
+
}>, Schema.Struct<{
|
|
145
|
+
readonly moved: Schema.$Array<Schema.Struct<{
|
|
146
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
147
|
+
readonly from: Schema.String;
|
|
148
|
+
readonly to: Schema.String;
|
|
149
|
+
}>>;
|
|
150
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
151
|
+
readonly removeMany: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
152
|
+
readonly ids: Schema.$Array<Schema.String>;
|
|
153
|
+
}>, Schema.Struct<{
|
|
154
|
+
readonly removed: Schema.$Array<Schema.Struct<{
|
|
155
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
156
|
+
readonly path: Schema.String;
|
|
157
|
+
}>>;
|
|
158
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
159
|
+
readonly exportPack: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
160
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
161
|
+
}>, Schema.Struct<{
|
|
162
|
+
readonly format: Schema.Literal<"eloxiv.agent-resources">;
|
|
163
|
+
readonly version: Schema.Literal<1>;
|
|
164
|
+
readonly source: Schema.Struct<{
|
|
165
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
166
|
+
readonly kernelVersion: Schema.String;
|
|
167
|
+
readonly exportedAt: Schema.String;
|
|
168
|
+
}>;
|
|
169
|
+
readonly resources: Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
171
|
+
readonly path: Schema.String;
|
|
172
|
+
readonly description: Schema.String;
|
|
173
|
+
readonly content: Schema.String;
|
|
174
|
+
}>>;
|
|
175
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
176
|
+
readonly importPack: import("../Service.ts").OperationContract<Schema.Struct<{
|
|
177
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
178
|
+
readonly pack: Schema.Struct<{
|
|
179
|
+
readonly format: Schema.Literal<"eloxiv.agent-resources">;
|
|
180
|
+
readonly version: Schema.Literal<1>;
|
|
181
|
+
readonly source: Schema.Struct<{
|
|
182
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
183
|
+
readonly kernelVersion: Schema.String;
|
|
184
|
+
readonly exportedAt: Schema.String;
|
|
185
|
+
}>;
|
|
186
|
+
readonly resources: Schema.$Array<Schema.Struct<{
|
|
187
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
188
|
+
readonly path: Schema.String;
|
|
189
|
+
readonly description: Schema.String;
|
|
190
|
+
readonly content: Schema.String;
|
|
191
|
+
}>>;
|
|
192
|
+
}>;
|
|
193
|
+
readonly onConflict: Schema.optionalKey<Schema.Literals<readonly ["fail", "skip", "replace"]>>;
|
|
194
|
+
}>, Schema.Struct<{
|
|
195
|
+
readonly created: Schema.$Array<Schema.Struct<{
|
|
196
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
197
|
+
readonly path: Schema.String;
|
|
198
|
+
}>>;
|
|
199
|
+
readonly replaced: Schema.$Array<Schema.Struct<{
|
|
200
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
201
|
+
readonly path: Schema.String;
|
|
202
|
+
}>>;
|
|
203
|
+
/** Already there with the same description and content. */
|
|
204
|
+
readonly unchanged: Schema.$Array<Schema.Struct<{
|
|
205
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
206
|
+
readonly path: Schema.String;
|
|
207
|
+
}>>;
|
|
208
|
+
/** Kept as they were (`onConflict: skip`). */
|
|
209
|
+
readonly skipped: Schema.$Array<Schema.Struct<{
|
|
210
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
211
|
+
readonly path: Schema.String;
|
|
212
|
+
}>>;
|
|
213
|
+
}>, Schema.Union<readonly [typeof Unauthenticated, typeof Forbidden, typeof InvalidInput]>>;
|
|
214
|
+
}, {
|
|
215
|
+
readonly AgentResource: Schema.Struct<{
|
|
216
|
+
readonly scope: Schema.Literals<readonly ["personal", "team", "org", "app"]>;
|
|
217
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
218
|
+
readonly path: Schema.String;
|
|
219
|
+
readonly description: Schema.String;
|
|
220
|
+
readonly content: Schema.String;
|
|
221
|
+
readonly id: Schema.NullOr<Schema.String>;
|
|
222
|
+
readonly team: Schema.optionalKey<Schema.String>;
|
|
223
|
+
}>;
|
|
224
|
+
readonly ResourceScope: Schema.Literals<readonly ["personal", "team", "org", "app"]>;
|
|
225
|
+
readonly ResourceKind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
226
|
+
readonly ResourcePack: Schema.Struct<{
|
|
227
|
+
readonly format: Schema.Literal<"eloxiv.agent-resources">;
|
|
228
|
+
readonly version: Schema.Literal<1>;
|
|
229
|
+
readonly source: Schema.Struct<{
|
|
230
|
+
readonly scope: Schema.Literals<readonly ["personal", "org"]>;
|
|
231
|
+
readonly kernelVersion: Schema.String;
|
|
232
|
+
readonly exportedAt: Schema.String;
|
|
233
|
+
}>;
|
|
234
|
+
readonly resources: Schema.$Array<Schema.Struct<{
|
|
235
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
236
|
+
readonly path: Schema.String;
|
|
237
|
+
readonly description: Schema.String;
|
|
238
|
+
readonly content: Schema.String;
|
|
239
|
+
}>>;
|
|
240
|
+
}>;
|
|
241
|
+
readonly PackedResource: Schema.Struct<{
|
|
242
|
+
readonly kind: Schema.Literals<readonly ["instructions", "skill", "file"]>;
|
|
243
|
+
readonly path: Schema.String;
|
|
244
|
+
readonly description: Schema.String;
|
|
245
|
+
readonly content: Schema.String;
|
|
246
|
+
}>;
|
|
247
|
+
}>;
|
|
248
|
+
//# sourceMappingURL=AgentResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentResources.d.ts","sourceRoot":"","sources":["../../src/contracts/AgentResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAGvE,yFAAyF;AACzF,eAAO,MAAM,oBAAoB,2BAA2B,CAAA;AAC5D,eAAO,MAAM,qBAAqB,IAAI,CAAA;AACtC;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,MAAM,CAAA;AAC9C,eAAO,MAAM,uBAAuB,QAAgB,CAAA;AAEpD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,cAAe,aAAa,CAAC,OAAO,CAAC,KAAG,MAgBrE,CAAA;AAED,+GAA+G;AAC/G,eAAO,MAAM,cAAc;;;;;EAKzB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAA;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;EASvB,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA;AAEnD;;;GAGG;AACH,eAAO,MAAM,YAAY,uDAA+C,CAAA;AAGxE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAI/B,CAAA;AACF,eAAO,MAAM,qBAAqB;;;;;;;;;IAGhC,2DAA2D;;;;;IAE3D,8CAA8C;;;;;EAE9C,CAAA;AACF,eAAO,MAAM,oBAAoB;;EAAiE,CAAA;AAElG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAPjC,2DAA2D;;;;;QAE3D,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4E9C,CAAA"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentResources: instructions, skills and agent files in personal, organisation and app scopes, with
|
|
3
|
+
* precedence (personal over organisation over app, for the same kind and path). People manage their personal
|
|
4
|
+
* scope, organisation administrators the organisation's, and the app scope comes from the registry (module
|
|
5
|
+
* manifests' skills and the app's own instructions). Every change is an audited action. See
|
|
6
|
+
* docs/contracts/agent-resources.md.
|
|
7
|
+
*/
|
|
8
|
+
import { Schema } from "effect";
|
|
9
|
+
import { AgentResource, ResourceKind, ResourceScope } from "../Agent.js";
|
|
10
|
+
import { Forbidden, InvalidInput, Unauthenticated } from "../Errors.js";
|
|
11
|
+
import { defineOperation, defineServiceContract } from "../Service.js";
|
|
12
|
+
/** The format of a resource pack, and the version of it this kernel writes and reads. */
|
|
13
|
+
export const RESOURCE_PACK_FORMAT = "eloxiv.agent-resources";
|
|
14
|
+
export const RESOURCE_PACK_VERSION = 1;
|
|
15
|
+
/**
|
|
16
|
+
* At most this many resources in one pack, and their JSON (`resourcePackBytes`) at most this many bytes: 3 MiB, so a
|
|
17
|
+
* pack with its envelope and the import's input stays within the kernel's default request body limit (4 MiB,
|
|
18
|
+
* `ELOXIV_HTTP_MAX_BODY_BYTES`). A pack the kernel exports can always be imported back.
|
|
19
|
+
*/
|
|
20
|
+
export const RESOURCE_PACK_MAX_RESOURCES = 500;
|
|
21
|
+
export const RESOURCE_PACK_MAX_BYTES = 3 * 1_048_576;
|
|
22
|
+
/**
|
|
23
|
+
* The size of a pack's resources as UTF-8 JSON, the measure `RESOURCE_PACK_MAX_BYTES` limits: what `TextEncoder`
|
|
24
|
+
* would give (a lone surrogate counts as U+FFFD), counted in plain JavaScript, since the contracts compile without
|
|
25
|
+
* the DOM's or Node's globals (React Native's typecheck has no `TextEncoder`; see `utf8Bytes` in Optimistic.ts).
|
|
26
|
+
*/
|
|
27
|
+
export const resourcePackBytes = (resources) => {
|
|
28
|
+
const text = JSON.stringify(resources);
|
|
29
|
+
let bytes = 0;
|
|
30
|
+
for (let i = 0; i < text.length; i++) {
|
|
31
|
+
const code = text.charCodeAt(i);
|
|
32
|
+
if (code < 0x80)
|
|
33
|
+
bytes += 1;
|
|
34
|
+
else if (code < 0x800)
|
|
35
|
+
bytes += 2;
|
|
36
|
+
else if (code >= 0xd800 && code <= 0xdbff && i + 1 < text.length) {
|
|
37
|
+
const next = text.charCodeAt(i + 1);
|
|
38
|
+
if (next >= 0xdc00 && next <= 0xdfff) {
|
|
39
|
+
bytes += 4;
|
|
40
|
+
i++;
|
|
41
|
+
}
|
|
42
|
+
else
|
|
43
|
+
bytes += 3;
|
|
44
|
+
}
|
|
45
|
+
else
|
|
46
|
+
bytes += 3;
|
|
47
|
+
}
|
|
48
|
+
return bytes;
|
|
49
|
+
};
|
|
50
|
+
/** One resource in a pack: what it is and where it goes, without the id or owner it had where it came from. */
|
|
51
|
+
export const PackedResource = Schema.Struct({
|
|
52
|
+
kind: ResourceKind,
|
|
53
|
+
path: Schema.String.check(Schema.isNonEmpty(), Schema.isMaxLength(300)),
|
|
54
|
+
description: Schema.String.check(Schema.isMaxLength(1_000)),
|
|
55
|
+
content: Schema.String.check(Schema.isMaxLength(200_000)),
|
|
56
|
+
});
|
|
57
|
+
/**
|
|
58
|
+
* A portable collection of one scope's resources (a resource pack), as JSON: written by `agent.exportResources`,
|
|
59
|
+
* read by `agent.importResources` in this or another installation. It keeps each resource's kind, path,
|
|
60
|
+
* description and content, and where the pack came from (the scope, the kernel's version, when); never ids, owners
|
|
61
|
+
* or anything of another scope.
|
|
62
|
+
*/
|
|
63
|
+
export const ResourcePack = Schema.Struct({
|
|
64
|
+
format: Schema.Literal(RESOURCE_PACK_FORMAT),
|
|
65
|
+
version: Schema.Literal(RESOURCE_PACK_VERSION),
|
|
66
|
+
source: Schema.Struct({
|
|
67
|
+
scope: Schema.Literals(["personal", "org"]),
|
|
68
|
+
kernelVersion: Schema.String,
|
|
69
|
+
exportedAt: Schema.String,
|
|
70
|
+
}),
|
|
71
|
+
resources: Schema.Array(PackedResource).check(Schema.isMaxLength(RESOURCE_PACK_MAX_RESOURCES)),
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* What to do with a resource of the pack whose kind and path the target scope already has with other content:
|
|
75
|
+
* refuse the whole import (`fail`, the default), keep the existing one (`skip`) or replace it (`replace`).
|
|
76
|
+
*/
|
|
77
|
+
export const PackConflict = Schema.Literals(["fail", "skip", "replace"]);
|
|
78
|
+
const PackEntry = Schema.Struct({ kind: ResourceKind, path: Schema.String });
|
|
79
|
+
export const ImportResourcesInput = Schema.Struct({
|
|
80
|
+
scope: Schema.Literals(["personal", "org"]),
|
|
81
|
+
pack: ResourcePack,
|
|
82
|
+
onConflict: Schema.optionalKey(PackConflict),
|
|
83
|
+
});
|
|
84
|
+
export const ImportResourcesOutput = Schema.Struct({
|
|
85
|
+
created: Schema.Array(PackEntry),
|
|
86
|
+
replaced: Schema.Array(PackEntry),
|
|
87
|
+
/** Already there with the same description and content. */
|
|
88
|
+
unchanged: Schema.Array(PackEntry),
|
|
89
|
+
/** Kept as they were (`onConflict: skip`). */
|
|
90
|
+
skipped: Schema.Array(PackEntry),
|
|
91
|
+
});
|
|
92
|
+
export const ExportResourcesInput = Schema.Struct({ scope: Schema.Literals(["personal", "org"]) });
|
|
93
|
+
export const AgentResourcesContract = defineServiceContract({
|
|
94
|
+
name: "AgentResources",
|
|
95
|
+
kind: "kernel",
|
|
96
|
+
version: "1.1.0",
|
|
97
|
+
description: "Instructions, skills and files the agent works with, in personal, organisation and app scopes. The nearest scope wins for the same kind and path; personal resources are their owner's, organisation resources are written by administrators, app resources come from module manifests and the app. Changes go through audited actions.",
|
|
98
|
+
operations: {
|
|
99
|
+
put: defineOperation({
|
|
100
|
+
description: "Create or replace a personal or organisation resource (action `agent.putResource`); the organisation scope needs `eloxiv.agent.manage`.",
|
|
101
|
+
input: Schema.Struct({
|
|
102
|
+
scope: Schema.Literals(["personal", "org"]),
|
|
103
|
+
kind: ResourceKind,
|
|
104
|
+
path: Schema.String,
|
|
105
|
+
description: Schema.String,
|
|
106
|
+
content: Schema.String,
|
|
107
|
+
}),
|
|
108
|
+
output: Schema.Struct({ id: Schema.String }),
|
|
109
|
+
errors: Schema.Union([Unauthenticated, Forbidden, InvalidInput]),
|
|
110
|
+
}),
|
|
111
|
+
remove: defineOperation({
|
|
112
|
+
description: "Remove a personal or organisation resource (action `agent.removeResource`).",
|
|
113
|
+
input: Schema.Struct({ id: Schema.String }),
|
|
114
|
+
output: Schema.Struct({ id: Schema.String }),
|
|
115
|
+
errors: Schema.Union([Unauthenticated, Forbidden, InvalidInput]),
|
|
116
|
+
}),
|
|
117
|
+
effective: defineOperation({
|
|
118
|
+
description: "The resources in effect for the caller: one per (kind, path), from the nearest scope that has it, each saying which scope it came from.",
|
|
119
|
+
input: Schema.Struct({ kind: Schema.optionalKey(ResourceKind) }),
|
|
120
|
+
output: Schema.Array(AgentResource),
|
|
121
|
+
errors: Unauthenticated,
|
|
122
|
+
}),
|
|
123
|
+
list: defineOperation({
|
|
124
|
+
description: "Every resource the caller may read in one scope, overridden or not.",
|
|
125
|
+
input: Schema.Struct({ scope: ResourceScope }),
|
|
126
|
+
output: Schema.Array(AgentResource),
|
|
127
|
+
errors: Unauthenticated,
|
|
128
|
+
}),
|
|
129
|
+
moveFolder: defineOperation({
|
|
130
|
+
description: "Action `agent.moveResources`: rename a folder (a path and everything under `path/`) of the caller's personal scope or the organisation's (needs `eloxiv.agent.manage`), all or nothing: refused if any new path is taken. An agent's move waits for its person's consent.",
|
|
131
|
+
input: Schema.Struct({ scope: Schema.Literals(["personal", "org"]), from: Schema.String, to: Schema.String }),
|
|
132
|
+
output: Schema.Struct({
|
|
133
|
+
moved: Schema.Array(Schema.Struct({ kind: ResourceKind, from: Schema.String, to: Schema.String })),
|
|
134
|
+
}),
|
|
135
|
+
errors: Schema.Union([Unauthenticated, Forbidden, InvalidInput]),
|
|
136
|
+
}),
|
|
137
|
+
removeMany: defineOperation({
|
|
138
|
+
description: "Action `agent.removeResources`: remove resources (with their files) by id, all or nothing, each one the caller may remove; a folder is removed by naming every resource in it.",
|
|
139
|
+
input: Schema.Struct({ ids: Schema.Array(Schema.String) }),
|
|
140
|
+
output: Schema.Struct({ removed: Schema.Array(Schema.Struct({ kind: ResourceKind, path: Schema.String })) }),
|
|
141
|
+
errors: Schema.Union([Unauthenticated, Forbidden, InvalidInput]),
|
|
142
|
+
}),
|
|
143
|
+
exportPack: defineOperation({
|
|
144
|
+
description: "Action `agent.exportResources` (read-only): the caller's personal resources, or the organisation's (which every member reads), as a resource pack.",
|
|
145
|
+
input: ExportResourcesInput,
|
|
146
|
+
output: ResourcePack,
|
|
147
|
+
errors: Schema.Union([Unauthenticated, Forbidden, InvalidInput]),
|
|
148
|
+
}),
|
|
149
|
+
importPack: defineOperation({
|
|
150
|
+
description: "Action `agent.importResources`: put a resource pack's resources into the caller's personal scope, or the organisation's (needs `eloxiv.agent.manage`), all or nothing; a kind and path already there with other content is refused (default), skipped or replaced, as asked. An agent's import waits for its person's consent.",
|
|
151
|
+
input: ImportResourcesInput,
|
|
152
|
+
output: ImportResourcesOutput,
|
|
153
|
+
errors: Schema.Union([Unauthenticated, Forbidden, InvalidInput]),
|
|
154
|
+
}),
|
|
155
|
+
},
|
|
156
|
+
types: { AgentResource, ResourceScope, ResourceKind, ResourcePack, PackedResource },
|
|
157
|
+
});
|
|
158
|
+
//# sourceMappingURL=AgentResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentResources.js","sourceRoot":"","sources":["../../src/contracts/AgentResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AACxE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAEtE,yFAAyF;AACzF,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAA;AAC5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAA;AACtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA;AAC9C,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAG,SAAS,CAAA;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,SAAiC,EAAU,EAAE;IAC7E,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAA;IACtC,IAAI,KAAK,GAAG,CA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