@eloxiv/testing 0.0.0-stage → 0.1.0

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.
Files changed (1006) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/dist/Admin.d.ts +20 -0
  4. package/dist/Admin.d.ts.map +1 -0
  5. package/dist/Admin.js +61 -0
  6. package/dist/Admin.js.map +1 -0
  7. package/dist/Agent.d.ts +97 -0
  8. package/dist/Agent.d.ts.map +1 -0
  9. package/dist/Agent.js +210 -0
  10. package/dist/Agent.js.map +1 -0
  11. package/dist/AgentSurface.d.ts +20 -0
  12. package/dist/AgentSurface.d.ts.map +1 -0
  13. package/dist/AgentSurface.js +36 -0
  14. package/dist/AgentSurface.js.map +1 -0
  15. package/dist/Embedder.d.ts +21 -0
  16. package/dist/Embedder.d.ts.map +1 -0
  17. package/dist/Embedder.js +54 -0
  18. package/dist/Embedder.js.map +1 -0
  19. package/dist/EvalMain.d.ts +2 -0
  20. package/dist/EvalMain.d.ts.map +1 -0
  21. package/dist/EvalMain.js +80 -0
  22. package/dist/EvalMain.js.map +1 -0
  23. package/dist/Evals.d.ts +95 -0
  24. package/dist/Evals.d.ts.map +1 -0
  25. package/dist/Evals.js +389 -0
  26. package/dist/Evals.js.map +1 -0
  27. package/dist/Kernel.d.ts +88 -0
  28. package/dist/Kernel.d.ts.map +1 -0
  29. package/dist/Kernel.js +108 -0
  30. package/dist/Kernel.js.map +1 -0
  31. package/dist/Launch.d.ts +86 -0
  32. package/dist/Launch.d.ts.map +1 -0
  33. package/dist/Launch.js +370 -0
  34. package/dist/Launch.js.map +1 -0
  35. package/dist/Locks.d.ts +39 -0
  36. package/dist/Locks.d.ts.map +1 -0
  37. package/dist/Locks.js +94 -0
  38. package/dist/Locks.js.map +1 -0
  39. package/dist/Routes.d.ts +19 -0
  40. package/dist/Routes.d.ts.map +1 -0
  41. package/dist/Routes.js +38 -0
  42. package/dist/Routes.js.map +1 -0
  43. package/dist/ScriptedChatModel.d.ts +51 -0
  44. package/dist/ScriptedChatModel.d.ts.map +1 -0
  45. package/dist/ScriptedChatModel.js +135 -0
  46. package/dist/ScriptedChatModel.js.map +1 -0
  47. package/dist/SmtpSink.d.ts +36 -0
  48. package/dist/SmtpSink.d.ts.map +1 -0
  49. package/dist/SmtpSink.js +185 -0
  50. package/dist/SmtpSink.js.map +1 -0
  51. package/dist/System.d.ts +271 -0
  52. package/dist/System.d.ts.map +1 -0
  53. package/dist/System.js +905 -0
  54. package/dist/System.js.map +1 -0
  55. package/dist/TcpProxy.d.ts +17 -0
  56. package/dist/TcpProxy.d.ts.map +1 -0
  57. package/dist/TcpProxy.js +100 -0
  58. package/dist/TcpProxy.js.map +1 -0
  59. package/dist/auth/TrustedProxyAuth.d.ts +28 -0
  60. package/dist/auth/TrustedProxyAuth.d.ts.map +1 -0
  61. package/dist/auth/TrustedProxyAuth.js +128 -0
  62. package/dist/auth/TrustedProxyAuth.js.map +1 -0
  63. package/dist/conformance/ActionConsent.d.ts +3 -0
  64. package/dist/conformance/ActionConsent.d.ts.map +1 -0
  65. package/dist/conformance/ActionConsent.js +347 -0
  66. package/dist/conformance/ActionConsent.js.map +1 -0
  67. package/dist/conformance/ActionRegistry.d.ts +64 -0
  68. package/dist/conformance/ActionRegistry.d.ts.map +1 -0
  69. package/dist/conformance/ActionRegistry.js +136 -0
  70. package/dist/conformance/ActionRegistry.js.map +1 -0
  71. package/dist/conformance/Actor.d.ts +43 -0
  72. package/dist/conformance/Actor.d.ts.map +1 -0
  73. package/dist/conformance/Actor.js +171 -0
  74. package/dist/conformance/Actor.js.map +1 -0
  75. package/dist/conformance/AgentReference.d.ts +30 -0
  76. package/dist/conformance/AgentReference.d.ts.map +1 -0
  77. package/dist/conformance/AgentReference.js +137 -0
  78. package/dist/conformance/AgentReference.js.map +1 -0
  79. package/dist/conformance/AgentResources.d.ts +3 -0
  80. package/dist/conformance/AgentResources.d.ts.map +1 -0
  81. package/dist/conformance/AgentResources.js +454 -0
  82. package/dist/conformance/AgentResources.js.map +1 -0
  83. package/dist/conformance/AgentRuntime.d.ts +3 -0
  84. package/dist/conformance/AgentRuntime.d.ts.map +1 -0
  85. package/dist/conformance/AgentRuntime.js +302 -0
  86. package/dist/conformance/AgentRuntime.js.map +1 -0
  87. package/dist/conformance/AgentSubject.d.ts +87 -0
  88. package/dist/conformance/AgentSubject.d.ts.map +1 -0
  89. package/dist/conformance/AgentSubject.js +18 -0
  90. package/dist/conformance/AgentSubject.js.map +1 -0
  91. package/dist/conformance/Approvals.d.ts +3 -0
  92. package/dist/conformance/Approvals.d.ts.map +1 -0
  93. package/dist/conformance/Approvals.js +258 -0
  94. package/dist/conformance/Approvals.js.map +1 -0
  95. package/dist/conformance/Audit.d.ts +3 -0
  96. package/dist/conformance/Audit.d.ts.map +1 -0
  97. package/dist/conformance/Audit.js +221 -0
  98. package/dist/conformance/Audit.js.map +1 -0
  99. package/dist/conformance/CalendarProvider.d.ts +4 -0
  100. package/dist/conformance/CalendarProvider.d.ts.map +1 -0
  101. package/dist/conformance/CalendarProvider.js +108 -0
  102. package/dist/conformance/CalendarProvider.js.map +1 -0
  103. package/dist/conformance/CapabilityKit.d.ts +191 -0
  104. package/dist/conformance/CapabilityKit.d.ts.map +1 -0
  105. package/dist/conformance/CapabilityKit.js +375 -0
  106. package/dist/conformance/CapabilityKit.js.map +1 -0
  107. package/dist/conformance/ClientSDK.d.ts +78 -0
  108. package/dist/conformance/ClientSDK.d.ts.map +1 -0
  109. package/dist/conformance/ClientSDK.js +163 -0
  110. package/dist/conformance/ClientSDK.js.map +1 -0
  111. package/dist/conformance/CollabDocument.d.ts +3 -0
  112. package/dist/conformance/CollabDocument.d.ts.map +1 -0
  113. package/dist/conformance/CollabDocument.js +934 -0
  114. package/dist/conformance/CollabDocument.js.map +1 -0
  115. package/dist/conformance/CollabReference.d.ts +8 -0
  116. package/dist/conformance/CollabReference.d.ts.map +1 -0
  117. package/dist/conformance/CollabReference.js +138 -0
  118. package/dist/conformance/CollabReference.js.map +1 -0
  119. package/dist/conformance/CollabSubject.d.ts +68 -0
  120. package/dist/conformance/CollabSubject.d.ts.map +1 -0
  121. package/dist/conformance/CollabSubject.js +2 -0
  122. package/dist/conformance/CollabSubject.js.map +1 -0
  123. package/dist/conformance/Command.d.ts +3 -0
  124. package/dist/conformance/Command.d.ts.map +1 -0
  125. package/dist/conformance/Command.js +73 -0
  126. package/dist/conformance/Command.js.map +1 -0
  127. package/dist/conformance/Connections.d.ts +4 -0
  128. package/dist/conformance/Connections.d.ts.map +1 -0
  129. package/dist/conformance/Connections.js +308 -0
  130. package/dist/conformance/Connections.js.map +1 -0
  131. package/dist/conformance/ConnectionsReference.d.ts +56 -0
  132. package/dist/conformance/ConnectionsReference.d.ts.map +1 -0
  133. package/dist/conformance/ConnectionsReference.js +74 -0
  134. package/dist/conformance/ConnectionsReference.js.map +1 -0
  135. package/dist/conformance/ConnectorReference.d.ts +86 -0
  136. package/dist/conformance/ConnectorReference.d.ts.map +1 -0
  137. package/dist/conformance/ConnectorReference.js +185 -0
  138. package/dist/conformance/ConnectorReference.js.map +1 -0
  139. package/dist/conformance/ContextAccounting.d.ts +8 -0
  140. package/dist/conformance/ContextAccounting.d.ts.map +1 -0
  141. package/dist/conformance/ContextAccounting.js +125 -0
  142. package/dist/conformance/ContextAccounting.js.map +1 -0
  143. package/dist/conformance/Daemon.d.ts +150 -0
  144. package/dist/conformance/Daemon.d.ts.map +1 -0
  145. package/dist/conformance/Daemon.js +718 -0
  146. package/dist/conformance/Daemon.js.map +1 -0
  147. package/dist/conformance/DaemonReference.d.ts +15 -0
  148. package/dist/conformance/DaemonReference.d.ts.map +1 -0
  149. package/dist/conformance/DaemonReference.js +163 -0
  150. package/dist/conformance/DaemonReference.js.map +1 -0
  151. package/dist/conformance/DbTx.d.ts +17 -0
  152. package/dist/conformance/DbTx.d.ts.map +1 -0
  153. package/dist/conformance/DbTx.js +184 -0
  154. package/dist/conformance/DbTx.js.map +1 -0
  155. package/dist/conformance/DecisionTokens.d.ts +3 -0
  156. package/dist/conformance/DecisionTokens.d.ts.map +1 -0
  157. package/dist/conformance/DecisionTokens.js +551 -0
  158. package/dist/conformance/DecisionTokens.js.map +1 -0
  159. package/dist/conformance/Delegation.d.ts +3 -0
  160. package/dist/conformance/Delegation.d.ts.map +1 -0
  161. package/dist/conformance/Delegation.js +149 -0
  162. package/dist/conformance/Delegation.js.map +1 -0
  163. package/dist/conformance/DeskReference.d.ts +21 -0
  164. package/dist/conformance/DeskReference.d.ts.map +1 -0
  165. package/dist/conformance/DeskReference.js +47 -0
  166. package/dist/conformance/DeskReference.js.map +1 -0
  167. package/dist/conformance/DeviceControl.d.ts +3 -0
  168. package/dist/conformance/DeviceControl.d.ts.map +1 -0
  169. package/dist/conformance/DeviceControl.js +579 -0
  170. package/dist/conformance/DeviceControl.js.map +1 -0
  171. package/dist/conformance/Directory.d.ts +36 -0
  172. package/dist/conformance/Directory.d.ts.map +1 -0
  173. package/dist/conformance/Directory.js +253 -0
  174. package/dist/conformance/Directory.js.map +1 -0
  175. package/dist/conformance/DirectoryProvider.d.ts +4 -0
  176. package/dist/conformance/DirectoryProvider.d.ts.map +1 -0
  177. package/dist/conformance/DirectoryProvider.js +58 -0
  178. package/dist/conformance/DirectoryProvider.js.map +1 -0
  179. package/dist/conformance/DocumentSource.d.ts +4 -0
  180. package/dist/conformance/DocumentSource.d.ts.map +1 -0
  181. package/dist/conformance/DocumentSource.js +43 -0
  182. package/dist/conformance/DocumentSource.js.map +1 -0
  183. package/dist/conformance/EndpointReference.d.ts +40 -0
  184. package/dist/conformance/EndpointReference.d.ts.map +1 -0
  185. package/dist/conformance/EndpointReference.js +67 -0
  186. package/dist/conformance/EndpointReference.js.map +1 -0
  187. package/dist/conformance/Files.d.ts +40 -0
  188. package/dist/conformance/Files.d.ts.map +1 -0
  189. package/dist/conformance/Files.js +592 -0
  190. package/dist/conformance/Files.js.map +1 -0
  191. package/dist/conformance/FilesReference.d.ts +31 -0
  192. package/dist/conformance/FilesReference.d.ts.map +1 -0
  193. package/dist/conformance/FilesReference.js +116 -0
  194. package/dist/conformance/FilesReference.js.map +1 -0
  195. package/dist/conformance/FilesSubject.d.ts +46 -0
  196. package/dist/conformance/FilesSubject.d.ts.map +1 -0
  197. package/dist/conformance/FilesSubject.js +3 -0
  198. package/dist/conformance/FilesSubject.js.map +1 -0
  199. package/dist/conformance/Flags.d.ts +3 -0
  200. package/dist/conformance/Flags.d.ts.map +1 -0
  201. package/dist/conformance/Flags.js +183 -0
  202. package/dist/conformance/Flags.js.map +1 -0
  203. package/dist/conformance/Host.d.ts +64 -0
  204. package/dist/conformance/Host.d.ts.map +1 -0
  205. package/dist/conformance/Host.js +152 -0
  206. package/dist/conformance/Host.js.map +1 -0
  207. package/dist/conformance/HttpApi.d.ts +5 -0
  208. package/dist/conformance/HttpApi.d.ts.map +1 -0
  209. package/dist/conformance/HttpApi.js +131 -0
  210. package/dist/conformance/HttpApi.js.map +1 -0
  211. package/dist/conformance/InboxReference.d.ts +28 -0
  212. package/dist/conformance/InboxReference.d.ts.map +1 -0
  213. package/dist/conformance/InboxReference.js +331 -0
  214. package/dist/conformance/InboxReference.js.map +1 -0
  215. package/dist/conformance/InboxSubject.d.ts +92 -0
  216. package/dist/conformance/InboxSubject.d.ts.map +1 -0
  217. package/dist/conformance/InboxSubject.js +16 -0
  218. package/dist/conformance/InboxSubject.js.map +1 -0
  219. package/dist/conformance/Ingestion.d.ts +10 -0
  220. package/dist/conformance/Ingestion.d.ts.map +1 -0
  221. package/dist/conformance/Ingestion.js +335 -0
  222. package/dist/conformance/Ingestion.js.map +1 -0
  223. package/dist/conformance/Ingress.d.ts +62 -0
  224. package/dist/conformance/Ingress.d.ts.map +1 -0
  225. package/dist/conformance/Ingress.js +346 -0
  226. package/dist/conformance/Ingress.js.map +1 -0
  227. package/dist/conformance/Invocation.d.ts +3 -0
  228. package/dist/conformance/Invocation.d.ts.map +1 -0
  229. package/dist/conformance/Invocation.js +665 -0
  230. package/dist/conformance/Invocation.js.map +1 -0
  231. package/dist/conformance/IsolationMatrix.d.ts +60 -0
  232. package/dist/conformance/IsolationMatrix.d.ts.map +1 -0
  233. package/dist/conformance/IsolationMatrix.js +196 -0
  234. package/dist/conformance/IsolationMatrix.js.map +1 -0
  235. package/dist/conformance/LiveConnection.d.ts +72 -0
  236. package/dist/conformance/LiveConnection.d.ts.map +1 -0
  237. package/dist/conformance/LiveConnection.js +125 -0
  238. package/dist/conformance/LiveConnection.js.map +1 -0
  239. package/dist/conformance/LocalClient.d.ts +62 -0
  240. package/dist/conformance/LocalClient.d.ts.map +1 -0
  241. package/dist/conformance/LocalClient.js +526 -0
  242. package/dist/conformance/LocalClient.js.map +1 -0
  243. package/dist/conformance/Locale.d.ts +28 -0
  244. package/dist/conformance/Locale.d.ts.map +1 -0
  245. package/dist/conformance/Locale.js +115 -0
  246. package/dist/conformance/Locale.js.map +1 -0
  247. package/dist/conformance/MachineIdentity.d.ts +39 -0
  248. package/dist/conformance/MachineIdentity.d.ts.map +1 -0
  249. package/dist/conformance/MachineIdentity.js +595 -0
  250. package/dist/conformance/MachineIdentity.js.map +1 -0
  251. package/dist/conformance/MailProvider.d.ts +4 -0
  252. package/dist/conformance/MailProvider.d.ts.map +1 -0
  253. package/dist/conformance/MailProvider.js +167 -0
  254. package/dist/conformance/MailProvider.js.map +1 -0
  255. package/dist/conformance/Memory.d.ts +10 -0
  256. package/dist/conformance/Memory.d.ts.map +1 -0
  257. package/dist/conformance/Memory.js +179 -0
  258. package/dist/conformance/Memory.js.map +1 -0
  259. package/dist/conformance/Messaging.d.ts +49 -0
  260. package/dist/conformance/Messaging.d.ts.map +1 -0
  261. package/dist/conformance/Messaging.js +117 -0
  262. package/dist/conformance/Messaging.js.map +1 -0
  263. package/dist/conformance/Metering.d.ts +26 -0
  264. package/dist/conformance/Metering.d.ts.map +1 -0
  265. package/dist/conformance/Metering.js +236 -0
  266. package/dist/conformance/Metering.js.map +1 -0
  267. package/dist/conformance/ModelProvider.d.ts +32 -0
  268. package/dist/conformance/ModelProvider.d.ts.map +1 -0
  269. package/dist/conformance/ModelProvider.js +100 -0
  270. package/dist/conformance/ModelProvider.js.map +1 -0
  271. package/dist/conformance/ModuleManifest.d.ts +9 -0
  272. package/dist/conformance/ModuleManifest.d.ts.map +1 -0
  273. package/dist/conformance/ModuleManifest.js +542 -0
  274. package/dist/conformance/ModuleManifest.js.map +1 -0
  275. package/dist/conformance/NotebookAgent.d.ts +32 -0
  276. package/dist/conformance/NotebookAgent.d.ts.map +1 -0
  277. package/dist/conformance/NotebookAgent.js +31 -0
  278. package/dist/conformance/NotebookAgent.js.map +1 -0
  279. package/dist/conformance/NotificationChannel.d.ts +40 -0
  280. package/dist/conformance/NotificationChannel.d.ts.map +1 -0
  281. package/dist/conformance/NotificationChannel.js +78 -0
  282. package/dist/conformance/NotificationChannel.js.map +1 -0
  283. package/dist/conformance/Notifications.d.ts +3 -0
  284. package/dist/conformance/Notifications.d.ts.map +1 -0
  285. package/dist/conformance/Notifications.js +240 -0
  286. package/dist/conformance/Notifications.js.map +1 -0
  287. package/dist/conformance/OAuthClient.d.ts +123 -0
  288. package/dist/conformance/OAuthClient.d.ts.map +1 -0
  289. package/dist/conformance/OAuthClient.js +204 -0
  290. package/dist/conformance/OAuthClient.js.map +1 -0
  291. package/dist/conformance/Outbox.d.ts +3 -0
  292. package/dist/conformance/Outbox.d.ts.map +1 -0
  293. package/dist/conformance/Outbox.js +266 -0
  294. package/dist/conformance/Outbox.js.map +1 -0
  295. package/dist/conformance/PlatformReference.d.ts +5 -0
  296. package/dist/conformance/PlatformReference.d.ts.map +1 -0
  297. package/dist/conformance/PlatformReference.js +66 -0
  298. package/dist/conformance/PlatformReference.js.map +1 -0
  299. package/dist/conformance/PlatformSubject.d.ts +45 -0
  300. package/dist/conformance/PlatformSubject.d.ts.map +1 -0
  301. package/dist/conformance/PlatformSubject.js +3 -0
  302. package/dist/conformance/PlatformSubject.js.map +1 -0
  303. package/dist/conformance/Privacy.d.ts +3 -0
  304. package/dist/conformance/Privacy.d.ts.map +1 -0
  305. package/dist/conformance/Privacy.js +437 -0
  306. package/dist/conformance/Privacy.js.map +1 -0
  307. package/dist/conformance/Progress.d.ts +3 -0
  308. package/dist/conformance/Progress.d.ts.map +1 -0
  309. package/dist/conformance/Progress.js +153 -0
  310. package/dist/conformance/Progress.js.map +1 -0
  311. package/dist/conformance/Push.d.ts +38 -0
  312. package/dist/conformance/Push.d.ts.map +1 -0
  313. package/dist/conformance/Push.js +649 -0
  314. package/dist/conformance/Push.js.map +1 -0
  315. package/dist/conformance/PushReference.d.ts +3 -0
  316. package/dist/conformance/PushReference.d.ts.map +1 -0
  317. package/dist/conformance/PushReference.js +97 -0
  318. package/dist/conformance/PushReference.js.map +1 -0
  319. package/dist/conformance/QuerySurface.d.ts +9 -0
  320. package/dist/conformance/QuerySurface.d.ts.map +1 -0
  321. package/dist/conformance/QuerySurface.js +349 -0
  322. package/dist/conformance/QuerySurface.js.map +1 -0
  323. package/dist/conformance/Readiness.d.ts +23 -0
  324. package/dist/conformance/Readiness.d.ts.map +1 -0
  325. package/dist/conformance/Readiness.js +110 -0
  326. package/dist/conformance/Readiness.js.map +1 -0
  327. package/dist/conformance/Reference.d.ts +17 -0
  328. package/dist/conformance/Reference.d.ts.map +1 -0
  329. package/dist/conformance/Reference.js +246 -0
  330. package/dist/conformance/Reference.js.map +1 -0
  331. package/dist/conformance/Release.d.ts +73 -0
  332. package/dist/conformance/Release.d.ts.map +1 -0
  333. package/dist/conformance/Release.js +556 -0
  334. package/dist/conformance/Release.js.map +1 -0
  335. package/dist/conformance/ReleaseReference.d.ts +5 -0
  336. package/dist/conformance/ReleaseReference.d.ts.map +1 -0
  337. package/dist/conformance/ReleaseReference.js +124 -0
  338. package/dist/conformance/ReleaseReference.js.map +1 -0
  339. package/dist/conformance/ResultRendering.d.ts +3 -0
  340. package/dist/conformance/ResultRendering.d.ts.map +1 -0
  341. package/dist/conformance/ResultRendering.js +120 -0
  342. package/dist/conformance/ResultRendering.js.map +1 -0
  343. package/dist/conformance/Sandbox.d.ts +58 -0
  344. package/dist/conformance/Sandbox.d.ts.map +1 -0
  345. package/dist/conformance/Sandbox.js +213 -0
  346. package/dist/conformance/Sandbox.js.map +1 -0
  347. package/dist/conformance/SandboxReference.d.ts +3 -0
  348. package/dist/conformance/SandboxReference.d.ts.map +1 -0
  349. package/dist/conformance/SandboxReference.js +44 -0
  350. package/dist/conformance/SandboxReference.js.map +1 -0
  351. package/dist/conformance/Scheduler.d.ts +106 -0
  352. package/dist/conformance/Scheduler.d.ts.map +1 -0
  353. package/dist/conformance/Scheduler.js +576 -0
  354. package/dist/conformance/Scheduler.js.map +1 -0
  355. package/dist/conformance/ScreenContext.d.ts +84 -0
  356. package/dist/conformance/ScreenContext.d.ts.map +1 -0
  357. package/dist/conformance/ScreenContext.js +290 -0
  358. package/dist/conformance/ScreenContext.js.map +1 -0
  359. package/dist/conformance/Search.d.ts +3 -0
  360. package/dist/conformance/Search.d.ts.map +1 -0
  361. package/dist/conformance/Search.js +333 -0
  362. package/dist/conformance/Search.js.map +1 -0
  363. package/dist/conformance/Secrets.d.ts +8 -0
  364. package/dist/conformance/Secrets.d.ts.map +1 -0
  365. package/dist/conformance/Secrets.js +231 -0
  366. package/dist/conformance/Secrets.js.map +1 -0
  367. package/dist/conformance/SecretsReference.d.ts +44 -0
  368. package/dist/conformance/SecretsReference.d.ts.map +1 -0
  369. package/dist/conformance/SecretsReference.js +73 -0
  370. package/dist/conformance/SecretsReference.js.map +1 -0
  371. package/dist/conformance/ServicesReference.d.ts +8 -0
  372. package/dist/conformance/ServicesReference.d.ts.map +1 -0
  373. package/dist/conformance/ServicesReference.js +273 -0
  374. package/dist/conformance/ServicesReference.js.map +1 -0
  375. package/dist/conformance/ServicesSubject.d.ts +104 -0
  376. package/dist/conformance/ServicesSubject.d.ts.map +1 -0
  377. package/dist/conformance/ServicesSubject.js +2 -0
  378. package/dist/conformance/ServicesSubject.js.map +1 -0
  379. package/dist/conformance/Settings.d.ts +3 -0
  380. package/dist/conformance/Settings.d.ts.map +1 -0
  381. package/dist/conformance/Settings.js +177 -0
  382. package/dist/conformance/Settings.js.map +1 -0
  383. package/dist/conformance/Sharing.d.ts +3 -0
  384. package/dist/conformance/Sharing.d.ts.map +1 -0
  385. package/dist/conformance/Sharing.js +368 -0
  386. package/dist/conformance/Sharing.js.map +1 -0
  387. package/dist/conformance/ShellSubject.d.ts +29 -0
  388. package/dist/conformance/ShellSubject.d.ts.map +1 -0
  389. package/dist/conformance/ShellSubject.js +13 -0
  390. package/dist/conformance/ShellSubject.js.map +1 -0
  391. package/dist/conformance/SignOutRace.d.ts +23 -0
  392. package/dist/conformance/SignOutRace.d.ts.map +1 -0
  393. package/dist/conformance/SignOutRace.js +49 -0
  394. package/dist/conformance/SignOutRace.js.map +1 -0
  395. package/dist/conformance/Slot.d.ts +3 -0
  396. package/dist/conformance/Slot.d.ts.map +1 -0
  397. package/dist/conformance/Slot.js +79 -0
  398. package/dist/conformance/Slot.js.map +1 -0
  399. package/dist/conformance/Space.d.ts +63 -0
  400. package/dist/conformance/Space.d.ts.map +1 -0
  401. package/dist/conformance/Space.js +294 -0
  402. package/dist/conformance/Space.js.map +1 -0
  403. package/dist/conformance/StorageAdapter.d.ts +76 -0
  404. package/dist/conformance/StorageAdapter.d.ts.map +1 -0
  405. package/dist/conformance/StorageAdapter.js +181 -0
  406. package/dist/conformance/StorageAdapter.js.map +1 -0
  407. package/dist/conformance/StorageBackend.d.ts +23 -0
  408. package/dist/conformance/StorageBackend.d.ts.map +1 -0
  409. package/dist/conformance/StorageBackend.js +274 -0
  410. package/dist/conformance/StorageBackend.js.map +1 -0
  411. package/dist/conformance/Subject.d.ts +198 -0
  412. package/dist/conformance/Subject.d.ts.map +1 -0
  413. package/dist/conformance/Subject.js +26 -0
  414. package/dist/conformance/Subject.js.map +1 -0
  415. package/dist/conformance/Sync.d.ts +3 -0
  416. package/dist/conformance/Sync.d.ts.map +1 -0
  417. package/dist/conformance/Sync.js +190 -0
  418. package/dist/conformance/Sync.js.map +1 -0
  419. package/dist/conformance/Telemetry.d.ts +3 -0
  420. package/dist/conformance/Telemetry.d.ts.map +1 -0
  421. package/dist/conformance/Telemetry.js +218 -0
  422. package/dist/conformance/Telemetry.js.map +1 -0
  423. package/dist/conformance/ThemeTokens.d.ts +22 -0
  424. package/dist/conformance/ThemeTokens.d.ts.map +1 -0
  425. package/dist/conformance/ThemeTokens.js +121 -0
  426. package/dist/conformance/ThemeTokens.js.map +1 -0
  427. package/dist/conformance/ToolSource.d.ts +5 -0
  428. package/dist/conformance/ToolSource.d.ts.map +1 -0
  429. package/dist/conformance/ToolSource.js +520 -0
  430. package/dist/conformance/ToolSource.js.map +1 -0
  431. package/dist/conformance/Versioning.d.ts +3 -0
  432. package/dist/conformance/Versioning.d.ts.map +1 -0
  433. package/dist/conformance/Versioning.js +160 -0
  434. package/dist/conformance/Versioning.js.map +1 -0
  435. package/dist/conformance/View.d.ts +3 -0
  436. package/dist/conformance/View.d.ts.map +1 -0
  437. package/dist/conformance/View.js +121 -0
  438. package/dist/conformance/View.js.map +1 -0
  439. package/dist/conformance/WorkItems.d.ts +3 -0
  440. package/dist/conformance/WorkItems.d.ts.map +1 -0
  441. package/dist/conformance/WorkItems.js +152 -0
  442. package/dist/conformance/WorkItems.js.map +1 -0
  443. package/dist/conformance/Workflow.d.ts +63 -0
  444. package/dist/conformance/Workflow.d.ts.map +1 -0
  445. package/dist/conformance/Workflow.js +235 -0
  446. package/dist/conformance/Workflow.js.map +1 -0
  447. package/dist/conformance/acme/chatlog.d.ts +591 -0
  448. package/dist/conformance/acme/chatlog.d.ts.map +1 -0
  449. package/dist/conformance/acme/chatlog.js +101 -0
  450. package/dist/conformance/acme/chatlog.js.map +1 -0
  451. package/dist/conformance/acme/connector.d.ts +12 -0
  452. package/dist/conformance/acme/connector.d.ts.map +1 -0
  453. package/dist/conformance/acme/connector.js +123 -0
  454. package/dist/conformance/acme/connector.js.map +1 -0
  455. package/dist/conformance/acme/migrations/0000_messages.sql +8 -0
  456. package/dist/conformance/archive/app.d.ts +728 -0
  457. package/dist/conformance/archive/app.d.ts.map +1 -0
  458. package/dist/conformance/archive/app.js +30 -0
  459. package/dist/conformance/archive/app.js.map +1 -0
  460. package/dist/conformance/archive/contract.d.ts +467 -0
  461. package/dist/conformance/archive/contract.d.ts.map +1 -0
  462. package/dist/conformance/archive/contract.js +187 -0
  463. package/dist/conformance/archive/contract.js.map +1 -0
  464. package/dist/conformance/archive/memo.sync.gen.d.ts +148 -0
  465. package/dist/conformance/archive/memo.sync.gen.d.ts.map +1 -0
  466. package/dist/conformance/archive/memo.sync.gen.js +23 -0
  467. package/dist/conformance/archive/memo.sync.gen.js.map +1 -0
  468. package/dist/conformance/archive/migrations/archive/0000_archive.sql +9 -0
  469. package/dist/conformance/archive/migrations/memo/0000_memo.sql +6 -0
  470. package/dist/conformance/archive/schema.d.ts +185 -0
  471. package/dist/conformance/archive/schema.d.ts.map +1 -0
  472. package/dist/conformance/archive/schema.js +22 -0
  473. package/dist/conformance/archive/schema.js.map +1 -0
  474. package/dist/conformance/archive/server.d.ts +273 -0
  475. package/dist/conformance/archive/server.d.ts.map +1 -0
  476. package/dist/conformance/archive/server.js +127 -0
  477. package/dist/conformance/archive/server.js.map +1 -0
  478. package/dist/conformance/archive/sync.gen.d.ts +319 -0
  479. package/dist/conformance/archive/sync.gen.d.ts.map +1 -0
  480. package/dist/conformance/archive/sync.gen.js +29 -0
  481. package/dist/conformance/archive/sync.gen.js.map +1 -0
  482. package/dist/conformance/atlas/app.d.ts +3 -0
  483. package/dist/conformance/atlas/app.d.ts.map +1 -0
  484. package/dist/conformance/atlas/app.js +15 -0
  485. package/dist/conformance/atlas/app.js.map +1 -0
  486. package/dist/conformance/atlas/contract.d.ts +489 -0
  487. package/dist/conformance/atlas/contract.d.ts.map +1 -0
  488. package/dist/conformance/atlas/contract.js +114 -0
  489. package/dist/conformance/atlas/contract.js.map +1 -0
  490. package/dist/conformance/crm/app.d.ts +304 -0
  491. package/dist/conformance/crm/app.d.ts.map +1 -0
  492. package/dist/conformance/crm/app.js +95 -0
  493. package/dist/conformance/crm/app.js.map +1 -0
  494. package/dist/conformance/crm/contract.d.ts +586 -0
  495. package/dist/conformance/crm/contract.d.ts.map +1 -0
  496. package/dist/conformance/crm/contract.js +153 -0
  497. package/dist/conformance/crm/contract.js.map +1 -0
  498. package/dist/conformance/crm/migrations/crm/0000_crm.sql +18 -0
  499. package/dist/conformance/crm/migrations/team/0000_team.sql +6 -0
  500. package/dist/conformance/crm/schema.d.ts +261 -0
  501. package/dist/conformance/crm/schema.d.ts.map +1 -0
  502. package/dist/conformance/crm/schema.js +25 -0
  503. package/dist/conformance/crm/schema.js.map +1 -0
  504. package/dist/conformance/crm/sync.gen.d.ts +188 -0
  505. package/dist/conformance/crm/sync.gen.d.ts.map +1 -0
  506. package/dist/conformance/crm/sync.gen.js +25 -0
  507. package/dist/conformance/crm/sync.gen.js.map +1 -0
  508. package/dist/conformance/desk/contract.d.ts +306 -0
  509. package/dist/conformance/desk/contract.d.ts.map +1 -0
  510. package/dist/conformance/desk/contract.js +56 -0
  511. package/dist/conformance/desk/contract.js.map +1 -0
  512. package/dist/conformance/desk/migrations/0000_notes.sql +7 -0
  513. package/dist/conformance/desk/server.d.ts +231 -0
  514. package/dist/conformance/desk/server.d.ts.map +1 -0
  515. package/dist/conformance/desk/server.js +123 -0
  516. package/dist/conformance/desk/server.js.map +1 -0
  517. package/dist/conformance/drafts/migrations/0000_drafts.sql +8 -0
  518. package/dist/conformance/drafts/module.d.ts +571 -0
  519. package/dist/conformance/drafts/module.d.ts.map +1 -0
  520. package/dist/conformance/drafts/module.js +190 -0
  521. package/dist/conformance/drafts/module.js.map +1 -0
  522. package/dist/conformance/fixture/app.d.ts +24 -0
  523. package/dist/conformance/fixture/app.d.ts.map +1 -0
  524. package/dist/conformance/fixture/app.js +26 -0
  525. package/dist/conformance/fixture/app.js.map +1 -0
  526. package/dist/conformance/fixture/docs/bad-sync.d.ts +105 -0
  527. package/dist/conformance/fixture/docs/bad-sync.d.ts.map +1 -0
  528. package/dist/conformance/fixture/docs/bad-sync.js +22 -0
  529. package/dist/conformance/fixture/docs/bad-sync.js.map +1 -0
  530. package/dist/conformance/fixture/docs/contract.d.ts +1091 -0
  531. package/dist/conformance/fixture/docs/contract.d.ts.map +1 -0
  532. package/dist/conformance/fixture/docs/contract.js +277 -0
  533. package/dist/conformance/fixture/docs/contract.js.map +1 -0
  534. package/dist/conformance/fixture/docs/migrations/0000_docs.sql +9 -0
  535. package/dist/conformance/fixture/docs/migrations/0001_seen.sql +12 -0
  536. package/dist/conformance/fixture/docs/migrations/0002_attachment.sql +6 -0
  537. package/dist/conformance/fixture/docs/policy.cedar +110 -0
  538. package/dist/conformance/fixture/docs/schema.d.ts +308 -0
  539. package/dist/conformance/fixture/docs/schema.d.ts.map +1 -0
  540. package/dist/conformance/fixture/docs/schema.js +36 -0
  541. package/dist/conformance/fixture/docs/schema.js.map +1 -0
  542. package/dist/conformance/fixture/docs/server.d.ts +552 -0
  543. package/dist/conformance/fixture/docs/server.d.ts.map +1 -0
  544. package/dist/conformance/fixture/docs/server.js +192 -0
  545. package/dist/conformance/fixture/docs/server.js.map +1 -0
  546. package/dist/conformance/fixture/docs/sync.d.ts +402 -0
  547. package/dist/conformance/fixture/docs/sync.d.ts.map +1 -0
  548. package/dist/conformance/fixture/docs/sync.gen.d.ts +574 -0
  549. package/dist/conformance/fixture/docs/sync.gen.d.ts.map +1 -0
  550. package/dist/conformance/fixture/docs/sync.gen.js +48 -0
  551. package/dist/conformance/fixture/docs/sync.gen.js.map +1 -0
  552. package/dist/conformance/fixture/docs/sync.js +23 -0
  553. package/dist/conformance/fixture/docs/sync.js.map +1 -0
  554. package/dist/conformance/fixture/peer/migrations/0000_peer.sql +8 -0
  555. package/dist/conformance/fixture/peer/module.d.ts +306 -0
  556. package/dist/conformance/fixture/peer/module.d.ts.map +1 -0
  557. package/dist/conformance/fixture/peer/module.js +44 -0
  558. package/dist/conformance/fixture/peer/module.js.map +1 -0
  559. package/dist/conformance/fixture/release/blocking/0000_item.sql +3 -0
  560. package/dist/conformance/fixture/release/blocking/0001_wait.sql +2 -0
  561. package/dist/conformance/fixture/release/blocking-renamed/0000_item.sql +3 -0
  562. package/dist/conformance/fixture/release/blocking-renamed/0001_wait.sql +5 -0
  563. package/dist/conformance/fixture/release/broken/0000_item.sql +3 -0
  564. package/dist/conformance/fixture/release/broken/0001_extra.sql +3 -0
  565. package/dist/conformance/fixture/release/broken/0002_label.sql +3 -0
  566. package/dist/conformance/fixture/release/drift/escalate/0000_item.sql +5 -0
  567. package/dist/conformance/fixture/release/drift/escalate/0001_escalate.sql +8 -0
  568. package/dist/conformance/fixture/release/drift/v1/0000_item.sql +5 -0
  569. package/dist/conformance/fixture/release/escape/0000_item.sql +3 -0
  570. package/dist/conformance/fixture/release/escape/0001_escape.sql +5 -0
  571. package/dist/conformance/fixture/release/misnamed/0000_item.sql +3 -0
  572. package/dist/conformance/fixture/release/misnamed/0001_misname.sql +10 -0
  573. package/dist/conformance/fixture/release/module.d.ts +1878 -0
  574. package/dist/conformance/fixture/release/module.d.ts.map +1 -0
  575. package/dist/conformance/fixture/release/module.js +102 -0
  576. package/dist/conformance/fixture/release/module.js.map +1 -0
  577. package/dist/conformance/fixture/release/outside/0000_item.sql +3 -0
  578. package/dist/conformance/fixture/release/outside/0001_extra.sql +3 -0
  579. package/dist/conformance/fixture/release/outside/0002_index.sql +4 -0
  580. package/dist/conformance/fixture/release/outside/0003_later.sql +1 -0
  581. package/dist/conformance/fixture/release/renamed/0000_item.sql +3 -0
  582. package/dist/conformance/fixture/release/renamed/0001_misname.sql +10 -0
  583. package/dist/conformance/fixture/release/renamed/0002_restore.sql +1 -0
  584. package/dist/conformance/fixture/release/rogue/0000_item.sql +3 -0
  585. package/dist/conformance/fixture/release/rogue/0001_extra.sql +3 -0
  586. package/dist/conformance/fixture/release/rogue/0002_definer.sql +1 -0
  587. package/dist/conformance/fixture/release/slow/0000_item.sql +5 -0
  588. package/dist/conformance/fixture/release/undeclared/0000_item.sql +3 -0
  589. package/dist/conformance/fixture/release/undeclared/0001_extra.sql +3 -0
  590. package/dist/conformance/fixture/release/undeclared/0002_index.sql +1 -0
  591. package/dist/conformance/fixture/release/v1/0000_item.sql +3 -0
  592. package/dist/conformance/fixture/release/v2/0000_item.sql +3 -0
  593. package/dist/conformance/fixture/release/v2/0001_extra.sql +3 -0
  594. package/dist/conformance/fixture/release/v2/0002_label.sql +3 -0
  595. package/dist/conformance/fixture/release/viewed-retyped/0000_item.sql +3 -0
  596. package/dist/conformance/fixture/release/viewed-retyped/0001_retype.sql +1 -0
  597. package/dist/conformance/kit-hash.d.ts +8 -0
  598. package/dist/conformance/kit-hash.d.ts.map +1 -0
  599. package/dist/conformance/kit-hash.js +20 -0
  600. package/dist/conformance/kit-hash.js.map +1 -0
  601. package/dist/conformance/ledger/contract.d.ts +380 -0
  602. package/dist/conformance/ledger/contract.d.ts.map +1 -0
  603. package/dist/conformance/ledger/contract.js +81 -0
  604. package/dist/conformance/ledger/contract.js.map +1 -0
  605. package/dist/conformance/ledger/migrations/0000_entries.sql +8 -0
  606. package/dist/conformance/ledger/server.d.ts +312 -0
  607. package/dist/conformance/ledger/server.d.ts.map +1 -0
  608. package/dist/conformance/ledger/server.js +152 -0
  609. package/dist/conformance/ledger/server.js.map +1 -0
  610. package/dist/conformance/library/app.d.ts +616 -0
  611. package/dist/conformance/library/app.d.ts.map +1 -0
  612. package/dist/conformance/library/app.js +35 -0
  613. package/dist/conformance/library/app.js.map +1 -0
  614. package/dist/conformance/library/contract.d.ts +377 -0
  615. package/dist/conformance/library/contract.d.ts.map +1 -0
  616. package/dist/conformance/library/contract.js +63 -0
  617. package/dist/conformance/library/contract.js.map +1 -0
  618. package/dist/conformance/library/migrations/0000_library.sql +14 -0
  619. package/dist/conformance/library/schema.d.ts +174 -0
  620. package/dist/conformance/library/schema.d.ts.map +1 -0
  621. package/dist/conformance/library/schema.js +24 -0
  622. package/dist/conformance/library/schema.js.map +1 -0
  623. package/dist/conformance/library/server.d.ts +191 -0
  624. package/dist/conformance/library/server.d.ts.map +1 -0
  625. package/dist/conformance/library/server.js +52 -0
  626. package/dist/conformance/library/server.js.map +1 -0
  627. package/dist/conformance/library/sync.gen.d.ts +519 -0
  628. package/dist/conformance/library/sync.gen.d.ts.map +1 -0
  629. package/dist/conformance/library/sync.gen.js +42 -0
  630. package/dist/conformance/library/sync.gen.js.map +1 -0
  631. package/dist/conformance/locale/catalog.d.ts +93 -0
  632. package/dist/conformance/locale/catalog.d.ts.map +1 -0
  633. package/dist/conformance/locale/catalog.js +104 -0
  634. package/dist/conformance/locale/catalog.js.map +1 -0
  635. package/dist/conformance/notebook/app.d.ts +1039 -0
  636. package/dist/conformance/notebook/app.d.ts.map +1 -0
  637. package/dist/conformance/notebook/app.js +88 -0
  638. package/dist/conformance/notebook/app.js.map +1 -0
  639. package/dist/conformance/notebook/evals/pages.evals.json +94 -0
  640. package/dist/conformance/notebook/migrations/0000_notebook.sql +10 -0
  641. package/dist/conformance/notebook/module.d.ts +717 -0
  642. package/dist/conformance/notebook/module.d.ts.map +1 -0
  643. package/dist/conformance/notebook/module.js +188 -0
  644. package/dist/conformance/notebook/module.js.map +1 -0
  645. package/dist/conformance/pad/app.d.ts +9 -0
  646. package/dist/conformance/pad/app.d.ts.map +1 -0
  647. package/dist/conformance/pad/app.js +13 -0
  648. package/dist/conformance/pad/app.js.map +1 -0
  649. package/dist/conformance/pad/contract.d.ts +281 -0
  650. package/dist/conformance/pad/contract.d.ts.map +1 -0
  651. package/dist/conformance/pad/contract.js +66 -0
  652. package/dist/conformance/pad/contract.js.map +1 -0
  653. package/dist/conformance/pad/migrations/pad/0000_pad.sql +8 -0
  654. package/dist/conformance/pad/migrations/pad/0001_live_copy.sql +2 -0
  655. package/dist/conformance/pad/schema.d.ts +127 -0
  656. package/dist/conformance/pad/schema.d.ts.map +1 -0
  657. package/dist/conformance/pad/schema.js +17 -0
  658. package/dist/conformance/pad/schema.js.map +1 -0
  659. package/dist/conformance/pad/server.d.ts +149 -0
  660. package/dist/conformance/pad/server.d.ts.map +1 -0
  661. package/dist/conformance/pad/server.js +81 -0
  662. package/dist/conformance/pad/server.js.map +1 -0
  663. package/dist/conformance/purchases/app.d.ts +480 -0
  664. package/dist/conformance/purchases/app.d.ts.map +1 -0
  665. package/dist/conformance/purchases/app.js +32 -0
  666. package/dist/conformance/purchases/app.js.map +1 -0
  667. package/dist/conformance/purchases/contract.d.ts +720 -0
  668. package/dist/conformance/purchases/contract.d.ts.map +1 -0
  669. package/dist/conformance/purchases/contract.js +148 -0
  670. package/dist/conformance/purchases/contract.js.map +1 -0
  671. package/dist/conformance/purchases/migrations/0000_purchases.sql +17 -0
  672. package/dist/conformance/purchases/server.d.ts +250 -0
  673. package/dist/conformance/purchases/server.d.ts.map +1 -0
  674. package/dist/conformance/purchases/server.js +85 -0
  675. package/dist/conformance/purchases/server.js.map +1 -0
  676. package/dist/conformance/studio/app.d.ts +996 -0
  677. package/dist/conformance/studio/app.d.ts.map +1 -0
  678. package/dist/conformance/studio/app.js +251 -0
  679. package/dist/conformance/studio/app.js.map +1 -0
  680. package/dist/conformance/studio/contract.d.ts +1318 -0
  681. package/dist/conformance/studio/contract.d.ts.map +1 -0
  682. package/dist/conformance/studio/contract.js +280 -0
  683. package/dist/conformance/studio/contract.js.map +1 -0
  684. package/dist/conformance/studio/migrations/billing/0000_billing.sql +6 -0
  685. package/dist/conformance/studio/migrations/journal/0000_journal.sql +9 -0
  686. package/dist/conformance/studio/migrations/mailbox/0000_mailbox.sql +7 -0
  687. package/dist/conformance/studio/migrations/tasks/0000_tasks.sql +7 -0
  688. package/dist/conformance/workshop/app.d.ts +8 -0
  689. package/dist/conformance/workshop/app.d.ts.map +1 -0
  690. package/dist/conformance/workshop/app.js +13 -0
  691. package/dist/conformance/workshop/app.js.map +1 -0
  692. package/dist/conformance/workshop/migrations/0000_notes.sql +7 -0
  693. package/dist/conformance/workshop/module.d.ts +407 -0
  694. package/dist/conformance/workshop/module.d.ts.map +1 -0
  695. package/dist/conformance/workshop/module.js +71 -0
  696. package/dist/conformance/workshop/module.js.map +1 -0
  697. package/dist/fakes/AcmeFake.d.ts +46 -0
  698. package/dist/fakes/AcmeFake.d.ts.map +1 -0
  699. package/dist/fakes/AcmeFake.js +131 -0
  700. package/dist/fakes/AcmeFake.js.map +1 -0
  701. package/dist/fakes/ApnsFake.d.ts +79 -0
  702. package/dist/fakes/ApnsFake.d.ts.map +1 -0
  703. package/dist/fakes/ApnsFake.js +220 -0
  704. package/dist/fakes/ApnsFake.js.map +1 -0
  705. package/dist/fakes/FcmFake.d.ts +46 -0
  706. package/dist/fakes/FcmFake.d.ts.map +1 -0
  707. package/dist/fakes/FcmFake.js +185 -0
  708. package/dist/fakes/FcmFake.js.map +1 -0
  709. package/dist/fakes/GoogleFake.d.ts +221 -0
  710. package/dist/fakes/GoogleFake.d.ts.map +1 -0
  711. package/dist/fakes/GoogleFake.js +1035 -0
  712. package/dist/fakes/GoogleFake.js.map +1 -0
  713. package/dist/fakes/HttpApiFake.d.ts +22 -0
  714. package/dist/fakes/HttpApiFake.d.ts.map +1 -0
  715. package/dist/fakes/HttpApiFake.js +74 -0
  716. package/dist/fakes/HttpApiFake.js.map +1 -0
  717. package/dist/fakes/McpFake.d.ts +80 -0
  718. package/dist/fakes/McpFake.d.ts.map +1 -0
  719. package/dist/fakes/McpFake.js +312 -0
  720. package/dist/fakes/McpFake.js.map +1 -0
  721. package/dist/fakes/MicrosoftGraphFake.d.ts +254 -0
  722. package/dist/fakes/MicrosoftGraphFake.d.ts.map +1 -0
  723. package/dist/fakes/MicrosoftGraphFake.js +850 -0
  724. package/dist/fakes/MicrosoftGraphFake.js.map +1 -0
  725. package/dist/fakes/S3Fake.d.ts +29 -0
  726. package/dist/fakes/S3Fake.d.ts.map +1 -0
  727. package/dist/fakes/S3Fake.js +347 -0
  728. package/dist/fakes/S3Fake.js.map +1 -0
  729. package/dist/fakes/Server.d.ts +137 -0
  730. package/dist/fakes/Server.d.ts.map +1 -0
  731. package/dist/fakes/Server.js +357 -0
  732. package/dist/fakes/Server.js.map +1 -0
  733. package/dist/fakes/SignInProviderFake.d.ts +21 -0
  734. package/dist/fakes/SignInProviderFake.d.ts.map +1 -0
  735. package/dist/fakes/SignInProviderFake.js +56 -0
  736. package/dist/fakes/SignInProviderFake.js.map +1 -0
  737. package/dist/fakes/SlackFake.d.ts +136 -0
  738. package/dist/fakes/SlackFake.d.ts.map +1 -0
  739. package/dist/fakes/SlackFake.js +787 -0
  740. package/dist/fakes/SlackFake.js.map +1 -0
  741. package/dist/fakes/Store.d.ts +40 -0
  742. package/dist/fakes/Store.d.ts.map +1 -0
  743. package/dist/fakes/Store.js +82 -0
  744. package/dist/fakes/Store.js.map +1 -0
  745. package/dist/fakes/TelemetryFakes.d.ts +77 -0
  746. package/dist/fakes/TelemetryFakes.d.ts.map +1 -0
  747. package/dist/fakes/TelemetryFakes.js +121 -0
  748. package/dist/fakes/TelemetryFakes.js.map +1 -0
  749. package/dist/fakes/TestCa.d.ts +11 -0
  750. package/dist/fakes/TestCa.d.ts.map +1 -0
  751. package/dist/fakes/TestCa.js +115 -0
  752. package/dist/fakes/TestCa.js.map +1 -0
  753. package/dist/fakes/WorkOsFake.d.ts +40 -0
  754. package/dist/fakes/WorkOsFake.d.ts.map +1 -0
  755. package/dist/fakes/WorkOsFake.js +103 -0
  756. package/dist/fakes/WorkOsFake.js.map +1 -0
  757. package/dist/index.d.ts +10 -0
  758. package/dist/index.d.ts.map +1 -0
  759. package/dist/index.js +10 -0
  760. package/dist/index.js.map +1 -0
  761. package/dist/make/reference.d.ts +520 -0
  762. package/dist/make/reference.d.ts.map +1 -0
  763. package/dist/make/reference.js +182 -0
  764. package/dist/make/reference.js.map +1 -0
  765. package/dist/make/sources.d.ts +48 -0
  766. package/dist/make/sources.d.ts.map +1 -0
  767. package/dist/make/sources.js +806 -0
  768. package/dist/make/sources.js.map +1 -0
  769. package/package.json +77 -3
  770. package/src/Admin.ts +82 -0
  771. package/src/Agent.ts +289 -0
  772. package/src/AgentSurface.ts +51 -0
  773. package/src/Embedder.ts +69 -0
  774. package/src/EvalMain.ts +81 -0
  775. package/src/Evals.ts +490 -0
  776. package/src/Kernel.ts +228 -0
  777. package/src/Launch.ts +428 -0
  778. package/src/Locks.ts +123 -0
  779. package/src/Routes.ts +65 -0
  780. package/src/ScriptedChatModel.ts +189 -0
  781. package/src/SmtpSink.ts +205 -0
  782. package/src/System.ts +1072 -0
  783. package/src/TcpProxy.ts +102 -0
  784. package/src/auth/TrustedProxyAuth.ts +173 -0
  785. package/src/conformance/ActionConsent.ts +437 -0
  786. package/src/conformance/ActionRegistry.ts +174 -0
  787. package/src/conformance/Actor.ts +216 -0
  788. package/src/conformance/AgentReference.ts +171 -0
  789. package/src/conformance/AgentResources.ts +548 -0
  790. package/src/conformance/AgentRuntime.ts +388 -0
  791. package/src/conformance/AgentSubject.ts +103 -0
  792. package/src/conformance/Approvals.ts +363 -0
  793. package/src/conformance/Audit.ts +257 -0
  794. package/src/conformance/CalendarProvider.ts +156 -0
  795. package/src/conformance/CapabilityKit.ts +564 -0
  796. package/src/conformance/ClientSDK.ts +233 -0
  797. package/src/conformance/CollabDocument.ts +1203 -0
  798. package/src/conformance/CollabReference.ts +152 -0
  799. package/src/conformance/CollabSubject.ts +64 -0
  800. package/src/conformance/Command.ts +75 -0
  801. package/src/conformance/Connections.ts +357 -0
  802. package/src/conformance/ConnectionsReference.ts +172 -0
  803. package/src/conformance/ConnectorReference.ts +280 -0
  804. package/src/conformance/ContextAccounting.ts +169 -0
  805. package/src/conformance/Daemon.ts +936 -0
  806. package/src/conformance/DaemonReference.ts +189 -0
  807. package/src/conformance/DbTx.ts +253 -0
  808. package/src/conformance/DecisionTokens.ts +652 -0
  809. package/src/conformance/Delegation.ts +177 -0
  810. package/src/conformance/DeskReference.ts +73 -0
  811. package/src/conformance/DeviceControl.ts +700 -0
  812. package/src/conformance/Directory.ts +315 -0
  813. package/src/conformance/DirectoryProvider.ts +72 -0
  814. package/src/conformance/DocumentSource.ts +62 -0
  815. package/src/conformance/EndpointReference.ts +117 -0
  816. package/src/conformance/Files.ts +685 -0
  817. package/src/conformance/FilesReference.ts +154 -0
  818. package/src/conformance/FilesSubject.ts +50 -0
  819. package/src/conformance/Flags.ts +215 -0
  820. package/src/conformance/Host.ts +197 -0
  821. package/src/conformance/HttpApi.ts +169 -0
  822. package/src/conformance/InboxReference.ts +401 -0
  823. package/src/conformance/InboxSubject.ts +101 -0
  824. package/src/conformance/Ingestion.ts +425 -0
  825. package/src/conformance/Ingress.ts +498 -0
  826. package/src/conformance/Invocation.ts +780 -0
  827. package/src/conformance/IsolationMatrix.ts +215 -0
  828. package/src/conformance/LiveConnection.ts +197 -0
  829. package/src/conformance/LocalClient.ts +651 -0
  830. package/src/conformance/Locale.ts +141 -0
  831. package/src/conformance/MachineIdentity.ts +828 -0
  832. package/src/conformance/MailProvider.ts +217 -0
  833. package/src/conformance/Memory.ts +223 -0
  834. package/src/conformance/Messaging.ts +185 -0
  835. package/src/conformance/Metering.ts +293 -0
  836. package/src/conformance/ModelProvider.ts +139 -0
  837. package/src/conformance/ModuleManifest.ts +630 -0
  838. package/src/conformance/NotebookAgent.ts +41 -0
  839. package/src/conformance/NotificationChannel.ts +122 -0
  840. package/src/conformance/Notifications.ts +316 -0
  841. package/src/conformance/OAuthClient.ts +240 -0
  842. package/src/conformance/Outbox.ts +342 -0
  843. package/src/conformance/PlatformReference.ts +73 -0
  844. package/src/conformance/PlatformSubject.ts +50 -0
  845. package/src/conformance/Privacy.ts +577 -0
  846. package/src/conformance/Progress.ts +244 -0
  847. package/src/conformance/Push.ts +820 -0
  848. package/src/conformance/PushReference.ts +101 -0
  849. package/src/conformance/QuerySurface.ts +408 -0
  850. package/src/conformance/Readiness.ts +157 -0
  851. package/src/conformance/Reference.ts +326 -0
  852. package/src/conformance/Release.ts +690 -0
  853. package/src/conformance/ReleaseReference.ts +179 -0
  854. package/src/conformance/ResultRendering.ts +149 -0
  855. package/src/conformance/Sandbox.ts +313 -0
  856. package/src/conformance/SandboxReference.ts +52 -0
  857. package/src/conformance/Scheduler.ts +764 -0
  858. package/src/conformance/ScreenContext.ts +402 -0
  859. package/src/conformance/Search.ts +419 -0
  860. package/src/conformance/Secrets.ts +277 -0
  861. package/src/conformance/SecretsReference.ts +131 -0
  862. package/src/conformance/ServicesReference.ts +330 -0
  863. package/src/conformance/ServicesSubject.ts +105 -0
  864. package/src/conformance/Settings.ts +204 -0
  865. package/src/conformance/Sharing.ts +486 -0
  866. package/src/conformance/ShellSubject.ts +47 -0
  867. package/src/conformance/SignOutRace.ts +77 -0
  868. package/src/conformance/Slot.ts +84 -0
  869. package/src/conformance/Space.ts +432 -0
  870. package/src/conformance/StorageAdapter.ts +253 -0
  871. package/src/conformance/StorageBackend.ts +327 -0
  872. package/src/conformance/Subject.ts +208 -0
  873. package/src/conformance/Sync.ts +215 -0
  874. package/src/conformance/Telemetry.ts +287 -0
  875. package/src/conformance/ThemeTokens.ts +163 -0
  876. package/src/conformance/ToolSource.ts +632 -0
  877. package/src/conformance/Versioning.ts +199 -0
  878. package/src/conformance/View.ts +143 -0
  879. package/src/conformance/WorkItems.ts +186 -0
  880. package/src/conformance/Workflow.ts +304 -0
  881. package/src/conformance/acme/chatlog.ts +115 -0
  882. package/src/conformance/acme/connector.ts +151 -0
  883. package/src/conformance/acme/migrations/0000_messages.sql +8 -0
  884. package/src/conformance/archive/app.ts +33 -0
  885. package/src/conformance/archive/contract.ts +191 -0
  886. package/src/conformance/archive/memo.sync.gen.ts +25 -0
  887. package/src/conformance/archive/migrations/archive/0000_archive.sql +9 -0
  888. package/src/conformance/archive/migrations/memo/0000_memo.sql +6 -0
  889. package/src/conformance/archive/schema.ts +25 -0
  890. package/src/conformance/archive/server.ts +146 -0
  891. package/src/conformance/archive/sync.gen.ts +32 -0
  892. package/src/conformance/atlas/app.ts +16 -0
  893. package/src/conformance/atlas/contract.ts +118 -0
  894. package/src/conformance/crm/app.ts +107 -0
  895. package/src/conformance/crm/contract.ts +163 -0
  896. package/src/conformance/crm/migrations/crm/0000_crm.sql +18 -0
  897. package/src/conformance/crm/migrations/team/0000_team.sql +6 -0
  898. package/src/conformance/crm/schema.ts +28 -0
  899. package/src/conformance/crm/sync.gen.ts +27 -0
  900. package/src/conformance/desk/contract.ts +61 -0
  901. package/src/conformance/desk/migrations/0000_notes.sql +7 -0
  902. package/src/conformance/desk/server.ts +131 -0
  903. package/src/conformance/drafts/migrations/0000_drafts.sql +8 -0
  904. package/src/conformance/drafts/module.ts +211 -0
  905. package/src/conformance/fixture/app.ts +37 -0
  906. package/src/conformance/fixture/docs/bad-sync.ts +34 -0
  907. package/src/conformance/fixture/docs/contract.ts +297 -0
  908. package/src/conformance/fixture/docs/migrations/0000_docs.sql +9 -0
  909. package/src/conformance/fixture/docs/migrations/0001_seen.sql +12 -0
  910. package/src/conformance/fixture/docs/migrations/0002_attachment.sql +6 -0
  911. package/src/conformance/fixture/docs/policy.cedar +110 -0
  912. package/src/conformance/fixture/docs/schema.ts +41 -0
  913. package/src/conformance/fixture/docs/server.ts +292 -0
  914. package/src/conformance/fixture/docs/sync.gen.ts +54 -0
  915. package/src/conformance/fixture/docs/sync.ts +24 -0
  916. package/src/conformance/fixture/peer/migrations/0000_peer.sql +8 -0
  917. package/src/conformance/fixture/peer/module.ts +51 -0
  918. package/src/conformance/fixture/release/blocking/0000_item.sql +3 -0
  919. package/src/conformance/fixture/release/blocking/0001_wait.sql +2 -0
  920. package/src/conformance/fixture/release/blocking-renamed/0000_item.sql +3 -0
  921. package/src/conformance/fixture/release/blocking-renamed/0001_wait.sql +5 -0
  922. package/src/conformance/fixture/release/broken/0000_item.sql +3 -0
  923. package/src/conformance/fixture/release/broken/0001_extra.sql +3 -0
  924. package/src/conformance/fixture/release/broken/0002_label.sql +3 -0
  925. package/src/conformance/fixture/release/drift/escalate/0000_item.sql +5 -0
  926. package/src/conformance/fixture/release/drift/escalate/0001_escalate.sql +8 -0
  927. package/src/conformance/fixture/release/drift/v1/0000_item.sql +5 -0
  928. package/src/conformance/fixture/release/escape/0000_item.sql +3 -0
  929. package/src/conformance/fixture/release/escape/0001_escape.sql +5 -0
  930. package/src/conformance/fixture/release/misnamed/0000_item.sql +3 -0
  931. package/src/conformance/fixture/release/misnamed/0001_misname.sql +10 -0
  932. package/src/conformance/fixture/release/module.ts +119 -0
  933. package/src/conformance/fixture/release/outside/0000_item.sql +3 -0
  934. package/src/conformance/fixture/release/outside/0001_extra.sql +3 -0
  935. package/src/conformance/fixture/release/outside/0002_index.sql +4 -0
  936. package/src/conformance/fixture/release/outside/0003_later.sql +1 -0
  937. package/src/conformance/fixture/release/renamed/0000_item.sql +3 -0
  938. package/src/conformance/fixture/release/renamed/0001_misname.sql +10 -0
  939. package/src/conformance/fixture/release/renamed/0002_restore.sql +1 -0
  940. package/src/conformance/fixture/release/rogue/0000_item.sql +3 -0
  941. package/src/conformance/fixture/release/rogue/0001_extra.sql +3 -0
  942. package/src/conformance/fixture/release/rogue/0002_definer.sql +1 -0
  943. package/src/conformance/fixture/release/slow/0000_item.sql +5 -0
  944. package/src/conformance/fixture/release/undeclared/0000_item.sql +3 -0
  945. package/src/conformance/fixture/release/undeclared/0001_extra.sql +3 -0
  946. package/src/conformance/fixture/release/undeclared/0002_index.sql +1 -0
  947. package/src/conformance/fixture/release/v1/0000_item.sql +3 -0
  948. package/src/conformance/fixture/release/v2/0000_item.sql +3 -0
  949. package/src/conformance/fixture/release/v2/0001_extra.sql +3 -0
  950. package/src/conformance/fixture/release/v2/0002_label.sql +3 -0
  951. package/src/conformance/fixture/release/viewed-retyped/0000_item.sql +3 -0
  952. package/src/conformance/fixture/release/viewed-retyped/0001_retype.sql +1 -0
  953. package/src/conformance/kit-hash.ts +18 -0
  954. package/src/conformance/ledger/contract.ts +92 -0
  955. package/src/conformance/ledger/migrations/0000_entries.sql +8 -0
  956. package/src/conformance/ledger/server.ts +174 -0
  957. package/src/conformance/library/app.ts +38 -0
  958. package/src/conformance/library/contract.ts +66 -0
  959. package/src/conformance/library/migrations/0000_library.sql +14 -0
  960. package/src/conformance/library/schema.ts +27 -0
  961. package/src/conformance/library/server.ts +65 -0
  962. package/src/conformance/library/sync.gen.ts +47 -0
  963. package/src/conformance/locale/catalog.ts +111 -0
  964. package/src/conformance/notebook/app.ts +115 -0
  965. package/src/conformance/notebook/evals/pages.evals.json +94 -0
  966. package/src/conformance/notebook/migrations/0000_notebook.sql +10 -0
  967. package/src/conformance/notebook/module.ts +215 -0
  968. package/src/conformance/notebook/skills/meeting-notes.md +4 -0
  969. package/src/conformance/pad/app.ts +21 -0
  970. package/src/conformance/pad/contract.ts +69 -0
  971. package/src/conformance/pad/migrations/pad/0000_pad.sql +8 -0
  972. package/src/conformance/pad/migrations/pad/0001_live_copy.sql +2 -0
  973. package/src/conformance/pad/schema.ts +18 -0
  974. package/src/conformance/pad/server.ts +102 -0
  975. package/src/conformance/purchases/app.ts +34 -0
  976. package/src/conformance/purchases/contract.ts +161 -0
  977. package/src/conformance/purchases/migrations/0000_purchases.sql +17 -0
  978. package/src/conformance/purchases/server.ts +95 -0
  979. package/src/conformance/replica-search.mjs +22 -0
  980. package/src/conformance/studio/app.ts +298 -0
  981. package/src/conformance/studio/contract.ts +319 -0
  982. package/src/conformance/studio/migrations/billing/0000_billing.sql +6 -0
  983. package/src/conformance/studio/migrations/journal/0000_journal.sql +9 -0
  984. package/src/conformance/studio/migrations/mailbox/0000_mailbox.sql +7 -0
  985. package/src/conformance/studio/migrations/tasks/0000_tasks.sql +7 -0
  986. package/src/conformance/workshop/app.ts +14 -0
  987. package/src/conformance/workshop/migrations/0000_notes.sql +7 -0
  988. package/src/conformance/workshop/module.ts +79 -0
  989. package/src/fakes/AcmeFake.ts +182 -0
  990. package/src/fakes/ApnsFake.ts +245 -0
  991. package/src/fakes/FcmFake.ts +231 -0
  992. package/src/fakes/GoogleFake.ts +1346 -0
  993. package/src/fakes/HttpApiFake.ts +116 -0
  994. package/src/fakes/McpFake.ts +355 -0
  995. package/src/fakes/MicrosoftGraphFake.ts +1191 -0
  996. package/src/fakes/S3Fake.ts +376 -0
  997. package/src/fakes/Server.ts +445 -0
  998. package/src/fakes/SignInProviderFake.ts +70 -0
  999. package/src/fakes/SlackFake.ts +893 -0
  1000. package/src/fakes/Store.ts +96 -0
  1001. package/src/fakes/TelemetryFakes.ts +197 -0
  1002. package/src/fakes/TestCa.ts +166 -0
  1003. package/src/fakes/WorkOsFake.ts +136 -0
  1004. package/src/index.ts +9 -0
  1005. package/src/make/reference.ts +259 -0
  1006. package/src/make/sources.ts +836 -0
@@ -0,0 +1,45 @@
1
+ /**
2
+ * What a kernel implementation supplies to run the platform kits (QuerySurface, Settings, Flags): a running
3
+ * kernel serving the platform conformance app (`./crm/app.ts`: the `crm` and `team` fixtures with the
4
+ * kernel's `query`, `settings` and `flags` modules, app-level `crm.region` and module-level `crm.limit`
5
+ * configured), with each query's statement timeout set to `QUERY_TIMEOUT_MS`, and a handful of controls.
6
+ * Nothing here reaches into the Eloxiv kernel's internals; `./PlatformReference.ts` is the Eloxiv kernel's
7
+ * own subject.
8
+ */
9
+ import type { AuditFilter, AuditRecord } from "@eloxiv/contracts";
10
+ import type { InboxCall, InboxOutcome, InboxUser } from "./InboxSubject.ts";
11
+ import type { SyncAnswer } from "./Subject.ts";
12
+ export type { InboxCall as PlatformCall, InboxOutcome as PlatformOutcome, InboxUser as PlatformUser };
13
+ /** The statement timeout the subject's kernel gives each query (ms). */
14
+ export declare const QUERY_TIMEOUT_MS = 1500;
15
+ export interface PlatformSubject {
16
+ /** A password user `<name>@example.com`, a member of `org` (created if missing) with `roles`, signed in. */
17
+ readonly user: (name: string, org: string, options?: {
18
+ readonly roles?: ReadonlyArray<string>;
19
+ }) => Promise<InboxUser>;
20
+ /** Create (or replace) a role of `org` that grants `permissions`. */
21
+ readonly role: (org: string, role: string, permissions: ReadonlyArray<string>) => Promise<void>;
22
+ readonly assignRole: (userId: string, org: string, role: string) => Promise<void>;
23
+ /** Create a group of `org` (if missing) and add the member. */
24
+ readonly joinGroup: (userId: string, org: string, group: string) => Promise<void>;
25
+ readonly leaveGroup: (userId: string, org: string, group: string) => Promise<void>;
26
+ /** Call an action on a surface (`internal`, `rpc`, `http`, `mcp` or `agent`). */
27
+ readonly invoke: (call: InboxCall) => Promise<InboxOutcome>;
28
+ /** Superuser SQL on the app's database. */
29
+ readonly sql: <A extends object = Record<string, unknown>>(text: string, params?: ReadonlyArray<unknown>) => Promise<ReadonlyArray<A>>;
30
+ readonly audit: (filter: AuditFilter) => Promise<ReadonlyArray<AuditRecord>>;
31
+ /** The sync query endpoint, as a caller: the named query with its arguments, scoped (or 401). */
32
+ readonly query: (token: string, name: string, args: ReadonlyArray<unknown>, org?: string) => Promise<SyncAnswer>;
33
+ /** Run the sync answer's filter: the ids of the rows of `table` (schema-qualified) it selects. */
34
+ readonly selected: (answer: SyncAnswer, table: string) => Promise<ReadonlyArray<string>>;
35
+ /** Settings.configure: a deployment administrator sets (or with `null` removes) an app- or module-level value. */
36
+ readonly configure: (key: string, level: "app" | "module", value: unknown) => Promise<{
37
+ readonly ok: boolean;
38
+ readonly error?: string;
39
+ }>;
40
+ /** The problems the implementation finds with an app whose `crm` module also declares `settings` (empty if it would start). */
41
+ readonly settingProblems: (settings: Readonly<Record<string, unknown>>) => Promise<ReadonlyArray<string>>;
42
+ readonly dispose: () => Promise<void>;
43
+ }
44
+ export type StartPlatformSubject = () => Promise<PlatformSubject>;
45
+ //# sourceMappingURL=PlatformSubject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlatformSubject.d.ts","sourceRoot":"","sources":["../../src/conformance/PlatformSubject.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACjE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AED,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,CAAC,eAAe,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** The statement timeout the subject's kernel gives each query (ms). */
2
+ export const QUERY_TIMEOUT_MS = 1_500;
3
+ //# sourceMappingURL=PlatformSubject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlatformSubject.js","sourceRoot":"","sources":["../../src/conformance/PlatformSubject.ts"],"names":[],"mappings":"AAcA,wEAAwE;AACxE,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { StartServicesSubject } from "./ServicesSubject.ts";
2
+ export declare const privacyConformance: (start: StartServicesSubject) => import("vitest").SuiteCollector<object>;
3
+ //# sourceMappingURL=Privacy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Privacy.d.ts","sourceRoot":"","sources":["../../src/conformance/Privacy.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAmB,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AA2DjF,eAAO,MAAM,kBAAkB,UAAW,oBAAoB,4CAye1D,CAAA"}
@@ -0,0 +1,437 @@
1
+ /**
2
+ * Conformance kit for the Privacy contract (docs/contracts/privacy.md) on the platform-services conformance app.
3
+ *
4
+ * Consent: `necessary` always, a choice wins, otherwise the person's region (DE: opt-in, US: opt-out, anyone
5
+ * else: the deployment's opt-in); choices are audited and reach only the person's replica. Data-subject requests,
6
+ * across the four fixture modules (deleted, anonymised, retained, connector data), the kernel's modules
7
+ * (settings, consent, progress), the implementation's own stores (Connections and their sync state and consent
8
+ * flows, the person's secrets, events in flight, audit details, record history) and the further source (files):
9
+ *
10
+ * - an export holds exactly the records about the person in the organisation, compared row for row with the
11
+ * tables they come from, including the history of records since deleted, and nothing about anyone else: no
12
+ * other person's records, no other organisation's, and none of the contents of exports or requests about other
13
+ * people that the person made;
14
+ * - only the requester and the subject read a request; a request about another member needs
15
+ * `eloxiv.privacy.manage`; an agent's erasure request waits for the person's consent;
16
+ * - an erasure deletes, anonymises and retains as each module declares, and afterwards no canary value planted
17
+ * in the person's records, deleted records, settings, events, Connections, flows, sync state, secrets or files
18
+ * is anywhere in the database (a search of every table); a deleted record cannot be restored; two accounts at one
19
+ * provider are both removed; everyone else's canaries, and the person's in another organisation, remain;
20
+ * - requests are reported through Progress, audited per source and cancellable.
21
+ *
22
+ * An app with a user-referencing entity left undeclared is refused.
23
+ *
24
+ * Usage, in a Vitest file: `privacyConformance(() => startMyKernel())`.
25
+ */
26
+ import { defineModuleContract } from "@eloxiv/contracts";
27
+ import { afterAll, beforeAll, describe, expect, it } from "vitest";
28
+ import { until } from "./InboxSubject.js";
29
+ const ORG = "acme";
30
+ const OTHER = "globex";
31
+ const RETENTION = "Invoices are kept for ten years under tax law";
32
+ /** Each module's records about a person in an organisation, read directly: what an export must hold, row for row. */
33
+ const DIRECT = [
34
+ { source: "journal.entry", table: "journal.entry", where: "author_id = $2" },
35
+ { source: "tasks.task", table: "tasks.task", where: "creator_id = $2 OR assignee_id = $2" },
36
+ { source: "billing.invoice", table: "billing.invoice", where: "customer_id = $2" },
37
+ { source: "mailbox.message", table: "mailbox.message", where: "owner_id = $2" },
38
+ { source: "settings.value", table: "eloxiv_settings.value", where: "user_id = $2" },
39
+ { source: "privacy.consent", table: "eloxiv_privacy.consent", where: "user_id = $2" },
40
+ { source: "privacy.subject", table: "eloxiv_privacy.subject", where: "user_id = $2" },
41
+ ];
42
+ /**
43
+ * Where a person's id remains after they erased their data in an organisation they are still a member of (in that
44
+ * organisation, and in stores that have none), before they act again, and why: nowhere else.
45
+ */
46
+ const KEEPS_ID = {
47
+ 'auth."user"': "The account: deleting it is the operator's, across organisations",
48
+ "auth.account": "The account's sign-in methods",
49
+ "auth.session": "The account's sessions",
50
+ "eloxiv.membership": "Membership: offboarding is the organisation's administrators' decision",
51
+ "eloxiv.membership_role": "Membership: the member's roles",
52
+ "eloxiv.sync_fact": "Membership as sync filters see it",
53
+ "eloxiv_privacy.request": "The request itself: evidence it was made and carried out",
54
+ "eloxiv_progress.task": "The request's task, so the person sees it finish",
55
+ "billing.invoice": "Retained as the module declares (tax law)",
56
+ };
57
+ /** With a sync replica running: zero-cache's log of the changes to those rows (and to the records kept). */
58
+ const SYNC_KEEPS_ID = {
59
+ "{sync}.changeLog": "The logged changes of rows that still name the person, as the rows do",
60
+ };
61
+ /** zero-cache's tables under one name, whatever its app id and shard. */
62
+ const syncName = (table) => table.replace(/^"?[a-z0-9_]+_\d+\/cdc"?\."changeLog"$/u, "{sync}.changeLog");
63
+ const canary = (who) => `canary-${who}-${crypto.randomUUID().slice(0, 12)}`;
64
+ const keyOf = (row) => JSON.stringify(Object.entries(row).sort(([a], [b]) => a.localeCompare(b)));
65
+ const sorted = (values) => values.map(String).sort((a, b) => a.localeCompare(b));
66
+ export const privacyConformance = (start) => describe("Privacy contract", () => {
67
+ let s;
68
+ let ada; // administrator of acme
69
+ let alice; // also a member of globex
70
+ let aliceInOther;
71
+ let bob;
72
+ let dora;
73
+ // Canaries: Alice's in acme (records, a deleted record, settings and events, the kernel's stores, files), her
74
+ // own in globex, and Bob's.
75
+ const A = { record: canary("alice"), deleted: canary("alice-deleted"), kernel: canary("alice-kernel") };
76
+ const A_GLOBEX = canary("alice-globex");
77
+ const B = canary("bob");
78
+ let deletedEntry = "";
79
+ const call = (who, action, input, surface = "internal", org) => s.invoke({ action, input, token: who.token, surface, org });
80
+ const ok = (outcome) => {
81
+ if (!outcome.ok)
82
+ throw new Error(`call failed: ${JSON.stringify(outcome)}`);
83
+ return outcome.result.output;
84
+ };
85
+ const tagOf = (outcome) => (outcome.ok ? "ok" : outcome.error._tag);
86
+ const requestOf = async (who, id) => (ok(await call(who, "privacy.requests", {}))["requests"] ?? []).find((r) => r.id === id);
87
+ const settled = (who, id) => until(`request ${id} to settle`, () => requestOf(who, id), (r) => r !== undefined && ["succeeded", "failed", "cancelled"].includes(r.status), 90_000);
88
+ /** Every table with rows whose text holds `text`, in `org` where the table has organisations. */
89
+ const searchIn = async (text, org) => {
90
+ const tables = await s.sql(`SELECT quote_ident(n.nspname) || '.' || quote_ident(c.relname) AS name,
91
+ EXISTS (SELECT 1 FROM pg_catalog.pg_attribute a WHERE a.attrelid = c.oid AND a.attname = 'org_id'
92
+ AND NOT a.attisdropped) AS scoped
93
+ FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
94
+ WHERE c.relkind IN ('r', 'p') AND n.nspname NOT IN ('pg_catalog', 'information_schema')
95
+ AND n.nspname NOT LIKE 'pg_toast%' AND n.nspname NOT LIKE 'pg_temp%' ORDER BY 1`);
96
+ const found = [];
97
+ for (const { name, scoped } of tables) {
98
+ const [row] = await s.sql(`SELECT count(*)::int AS n FROM ${name} t WHERE strpos(t::text, $1) > 0
99
+ ${scoped ? "AND t.org_id::text = $2" : "AND $2::text IS NOT NULL"}`, [text, org]);
100
+ if ((row?.n ?? 0) > 0)
101
+ found.push(name);
102
+ }
103
+ return found;
104
+ };
105
+ const exportOf = async (who, subject) => {
106
+ const created = ok(await call(who, "privacy.requestExport", subject === undefined ? {} : { subject }));
107
+ const request = await settled(who, String(created["id"]));
108
+ expect(request.status).toBe("succeeded");
109
+ return { request, data: ok(await call(who, "privacy.download", { id: request.id })) };
110
+ };
111
+ beforeAll(async () => {
112
+ s = await start();
113
+ ada = await s.user("ada", ORG, { roles: ["admin"] });
114
+ alice = await s.user("alice", ORG);
115
+ aliceInOther = await s.user("alice", OTHER);
116
+ bob = await s.user("bob", ORG);
117
+ dora = await s.user("dora", ORG);
118
+ const write = async (who, body, visibility, org = ORG) => String(ok(await call(who, "journal.write", { title: `${who.email} note`, body, visibility }, "internal", org))["id"]);
119
+ // Alice in acme: records, edits (history), a deleted private record, a setting and events naming her.
120
+ const entry = await write(alice, A.record, "org");
121
+ ok(await call(alice, "journal.edit", { id: entry, body: `${A.record} edited` }));
122
+ deletedEntry = await write(alice, A.deleted, "private");
123
+ ok(await call(alice, "journal.remove", { id: deletedEntry }));
124
+ ok(await call(alice, "tasks.add", { title: `${A.record} for bob`, assignee: bob.id }));
125
+ ok(await call(alice, "mailbox.receive", { sender: "news@example.org", subject: A.record }));
126
+ ok(await call(alice, "mailbox.receive", { sender: "boss@example.org", subject: "Review" }));
127
+ ok(await call(alice, "settings.set", { key: "journal.signature", value: A.record }));
128
+ ok(await call(alice, "settings.set", { key: "journal.pageSize", value: 50 }));
129
+ ok(await call(alice, "privacy.setConsent", { choices: { analytics: true }, region: { country: "DE" } }));
130
+ // The implementation's own stores: two accounts at one provider, flows, sync state, a secret; files.
131
+ await s.connect(alice, ORG, "alice@mail.example");
132
+ await s.plantKernelData(alice, ORG, A.kernel);
133
+ // A shared Connection Alice granted in globex: her acme erasure must leave it, grant and all, untouched.
134
+ await s.sql(`INSERT INTO eloxiv.connection (id, org_id, owner_id, provider, account_id, account_label, scopes, status, shared)
135
+ VALUES ('conn_globex_team', $1, $2, 'acme', 'globex-team', 'globex team', '{}', 'active', true)`, [OTHER, alice.id]);
136
+ await s.sql(`INSERT INTO eloxiv.connection_grant (connection_id, org_id, grantee_kind, grantee_id, granted_by)
137
+ VALUES ('conn_globex_team', $1, 'org', '', $2)`, [OTHER, alice.id]);
138
+ await s.files.put(alice.id, ORG, `${A.kernel}.pdf`);
139
+ // Alice in globex, and Bob: none of this may be touched by Alice's acme erasure, nor exported to her.
140
+ await write(alice, A_GLOBEX, "private", OTHER);
141
+ await write(bob, B, "private");
142
+ ok(await call(bob, "tasks.add", { title: "for alice", assignee: alice.id }));
143
+ ok(await call(bob, "tasks.add", { title: `${B} for bob himself`, assignee: bob.id }));
144
+ ok(await call(bob, "mailbox.receive", { sender: "news@example.org", subject: B }));
145
+ ok(await call(bob, "settings.set", { key: "journal.signature", value: B }));
146
+ ok(await call(ada, "billing.issue", { customer: alice.id, amount: 120 }));
147
+ ok(await call(ada, "billing.issue", { customer: bob.id, amount: 80 }));
148
+ await s.connect(bob, ORG, "bob@mail.example");
149
+ await s.files.put(bob.id, ORG, `${B}.pdf`);
150
+ // Runs Alice asked for by hand, one in each organisation: her acme erasure reaches only acme's.
151
+ for (const org of [ORG, OTHER]) {
152
+ await s.sql(`INSERT INTO eloxiv.schedule_run (key, scheduled_at, execution_id, missed, requested_by, org_id, settled_at)
153
+ VALUES ($1, now(), $1, false, $2, $3, now())`, [`schedule:planted-${org}#manual:${crypto.randomUUID()}`, alice.id, org]);
154
+ }
155
+ }, 180_000);
156
+ afterAll(() => s?.dispose());
157
+ it("applies consent: necessary always, a choice wins, otherwise the person's region", async () => {
158
+ const unplaced = ok(await call(dora, "privacy.getConsent", {}));
159
+ expect(unplaced).toMatchObject({ userId: dora.id, region: null, mode: "opt-in" });
160
+ expect(unplaced["categories"]).toEqual({
161
+ necessary: { granted: true, source: "necessary", decidedAt: null },
162
+ functional: { granted: false, source: "region", decidedAt: null },
163
+ analytics: { granted: false, source: "region", decidedAt: null },
164
+ marketing: { granted: false, source: "region", decidedAt: null },
165
+ });
166
+ const us = ok(await call(dora, "privacy.setConsent", { choices: { marketing: false }, region: { country: "us" } }));
167
+ expect(us).toMatchObject({ region: "us", mode: "opt-out" });
168
+ expect(us["categories"]).toMatchObject({
169
+ analytics: { granted: true, source: "region" },
170
+ marketing: { granted: false, source: "choice" },
171
+ });
172
+ const eea = ok(await call(dora, "privacy.setConsent", { choices: {}, region: { timeZone: "Europe/Berlin" } }));
173
+ expect(eea).toMatchObject({ region: "eea", mode: "opt-in" });
174
+ expect(eea["categories"]).toMatchObject({
175
+ analytics: { granted: false },
176
+ marketing: { granted: false, source: "choice" },
177
+ });
178
+ // `necessary` cannot be refused: it is not even a choice.
179
+ expect(tagOf(await call(dora, "privacy.setConsent", { choices: { necessary: false } }))).toBe("InvalidInput");
180
+ // Audited with what changed.
181
+ const audited = (await s.audit({ action: "privacy.setConsent", outcome: "succeeded" })).filter((r) => r.actorUserId === dora.id);
182
+ expect(audited.at(-1)?.detail).toMatchObject({ region: "eea", after: { analytics: false, marketing: false } });
183
+ // Synced to the person's own replica, nobody else's.
184
+ const own = await s.selected(await s.query(dora.token, "privacy.consent"), "eloxiv_privacy.consent");
185
+ const theirs = await s.selected(await s.query(bob.token, "privacy.consent"), "eloxiv_privacy.consent");
186
+ const doras = await s.sql(`SELECT id FROM eloxiv_privacy.consent WHERE user_id = $1`, [dora.id]);
187
+ expect(sorted(own)).toEqual(sorted(doras.map((r) => r.id)));
188
+ expect(theirs.some((id) => doras.some((r) => r.id === id))).toBe(false);
189
+ });
190
+ it("refuses an app in which an entity holding user ids is left out, or half declared", async () => {
191
+ const none = await s.problems("journal", (c) => defineModuleContract({ ...c, dataSubjects: {} }));
192
+ expect(none.some((p) => /journal: entity entry holds user ids \(authorId\)/.test(p))).toBe(true);
193
+ const half = await s.problems("tasks", (c) => defineModuleContract({ ...c, dataSubjects: { task: { fields: ["creatorId"], erase: { kind: "delete" } } } }));
194
+ expect(half.some((p) => /dataSubjects task leaves out its user fields assigneeId/.test(p))).toBe(true);
195
+ const reasonless = await s.problems("billing", (c) => defineModuleContract({
196
+ ...c,
197
+ dataSubjects: { invoice: { fields: ["customerId"], erase: { kind: "retain", reason: " " } } },
198
+ }));
199
+ expect(reasonless.some((p) => /retains records without a reason/.test(p))).toBe(true);
200
+ const leaky = await s.problems("tasks", (c) => defineModuleContract({
201
+ ...c,
202
+ dataSubjects: {
203
+ task: { fields: ["creatorId", "assigneeId"], erase: { kind: "anonymise", set: { title: "x" } } },
204
+ },
205
+ }));
206
+ expect(leaky.some((p) => /anonymises but keeps the person's id/.test(p))).toBe(true);
207
+ // Every entity is declared, whether or not its person's id is typed as a user: one whose id is a plain
208
+ // string is not left out, and cannot pass as being about nobody.
209
+ const untyped = (c) => {
210
+ const entity = c.entities["invoice"];
211
+ return defineModuleContract({
212
+ ...c,
213
+ entities: {
214
+ ...c.entities,
215
+ invoice: {
216
+ ...entity,
217
+ policyAttributes: {
218
+ org: entity.policyAttributes["org"],
219
+ customer: { kind: "column", field: "customerId", type: "String" },
220
+ },
221
+ },
222
+ },
223
+ dataSubjects: {},
224
+ });
225
+ };
226
+ const omitted = await s.problems("billing", untyped);
227
+ expect(omitted.some((p) => /billing: entity invoice is not declared in dataSubjects/.test(p))).toBe(true);
228
+ const nobody = await s.problems("billing", (c) => defineModuleContract({ ...untyped(c), dataSubjects: { invoice: { none: "Nothing personal" } } }));
229
+ expect(nobody.some((p) => /dataSubjects invoice says it is about nobody, but customerId holds a person's id/.test(p))).toBe(true);
230
+ });
231
+ it("exports exactly the records about the person, row for row, including deleted records' history, and nothing about anyone else", async () => {
232
+ const { request, data } = await exportOf(alice);
233
+ expect(data).toMatchObject({ subjectId: alice.id, orgId: ORG });
234
+ const bySource = new Map(data.sources.map((p) => [p.source, p.records]));
235
+ // Every declared source, row for row as its table holds it.
236
+ for (const { source, table, where } of DIRECT) {
237
+ const expected = await s.sql(`SELECT to_jsonb(t) AS row FROM ${table} t WHERE t.org_id = $1 AND (${where})`, [ORG, alice.id]);
238
+ expect(sorted((bySource.get(source) ?? []).map(keyOf)), source).toEqual(sorted(expected.map((r) => keyOf(r.row))));
239
+ }
240
+ expect(bySource.get("journal.entry")).toHaveLength(1);
241
+ // The deleted record is in the export, through its history (every version, with the record as it was).
242
+ const everything = JSON.stringify(data);
243
+ expect(everything).toContain(A.deleted);
244
+ const history = bySource.get("eloxiv.history") ?? [];
245
+ const deleted = history.filter((h) => h["recordId"] === deletedEntry);
246
+ expect(deleted.map((h) => h["op"])).toEqual(["insert", "delete"]);
247
+ expect(deleted.every((h) => h["snapshot"]["body"] === A.deleted)).toBe(true);
248
+ // Nothing about Bob or anyone else, and nothing from globex.
249
+ for (const other of [B, A_GLOBEX, bob.email, OTHER]) {
250
+ expect(everything.includes(other), `the export holds ${other}`).toBe(false);
251
+ }
252
+ // The kernel's stores, never a secret's value or a token.
253
+ expect(bySource
254
+ .get("eloxiv.connection")
255
+ ?.map((c) => c["account_label"])
256
+ .sort()).toEqual([`${A.kernel}@mail.example`, "alice@mail.example"].sort());
257
+ expect(bySource.get("eloxiv.secret")?.map((c) => c["name"])).toEqual([`note-${A.kernel}`]);
258
+ expect(JSON.stringify(bySource.get("eloxiv.secret"))).not.toContain("ciphertext");
259
+ expect(bySource.get("eloxiv.files")).toEqual([{ name: `${A.kernel}.pdf` }]);
260
+ // The files the person uploaded (metadata, never a storage key) and what they ingested.
261
+ expect(sorted((bySource.get("eloxiv.file") ?? []).map((f) => f["name"]))).toEqual(sorted([`${A.kernel}.txt`, "minutes.pdf"]));
262
+ expect(JSON.stringify(bySource.get("eloxiv.file"))).not.toContain("storage_key");
263
+ expect(bySource.get("eloxiv.file")?.map((f) => f["size"])).toEqual([3, 3]);
264
+ expect(bySource.get("eloxiv.ingestion_item")?.map((i) => i["title"])).toEqual(["minutes"]);
265
+ // Every source the request visited is in the export, reported with its count, audited, and reported by
266
+ // Progress as the requester's task.
267
+ expect(sorted(request.sources.map((o) => o.source))).toEqual(sorted(data.sources.map((p) => p.source)));
268
+ for (const outcome of request.sources)
269
+ expect(outcome.records).toBe(bySource.get(outcome.source)?.length);
270
+ const task = ok(await call(alice, "progress.get", { id: request.taskId }));
271
+ expect(task).toMatchObject({ status: "succeeded", kind: "export", percent: 100, ownerId: alice.id });
272
+ const audited = (await s.audit({ action: "eloxiv.privacy.export" })).filter((r) => r.invocationId === request.id);
273
+ expect(sorted(audited.map((r) => r.detail.source))).toEqual(sorted(request.sources.map((o) => o.source)));
274
+ });
275
+ it("never puts the contents of exports or requests about other people into a person's own export", async () => {
276
+ const { data: bobs } = await exportOf(ada, bob.id);
277
+ expect(JSON.stringify(bobs)).toContain(B);
278
+ const { data: own } = await exportOf(ada);
279
+ const text = JSON.stringify(own);
280
+ for (const other of [B, bob.id, bob.email])
281
+ expect(text.includes(other), `ada's export holds ${other}`).toBe(false);
282
+ });
283
+ it("lets only the requester and the subject read a request, and needs eloxiv.privacy.manage for another member", async () => {
284
+ const mine = String(ok(await call(alice, "privacy.requestExport", {}))["id"]);
285
+ await settled(alice, mine);
286
+ expect(tagOf(await call(bob, "privacy.download", { id: mine }))).toBe("InvalidInput");
287
+ expect(await requestOf(bob, mine)).toBeUndefined();
288
+ expect(tagOf(await call(bob, "privacy.requestExport", { subject: alice.id }))).toBe("Forbidden");
289
+ expect(tagOf(await call(bob, "privacy.requestErasure", { subject: alice.id }))).toBe("Forbidden");
290
+ expect(tagOf(await call(ada, "privacy.requestExport", { subject: "not-a-member" }))).toBe("InvalidInput");
291
+ const theirs = String(ok(await call(ada, "privacy.requestExport", { subject: bob.id }))["id"]);
292
+ expect((await settled(ada, theirs)).status).toBe("succeeded");
293
+ expect((await requestOf(bob, theirs))?.subjectId).toBe(bob.id);
294
+ expect(tagOf(await call(alice, "privacy.download", { id: theirs }))).toBe("InvalidInput");
295
+ expect(tagOf(await call(alice, "privacy.requestErasure", {}, "agent"))).toBe("ConsentRequired");
296
+ });
297
+ it("stops a request the requester cancels, at the next source, leaving the rest undone", async () => {
298
+ s.files.hold();
299
+ const created = ok(await call(ada, "privacy.requestExport", { subject: dora.id }));
300
+ await until("the request to reach the files", async () => s.files.waiting(), (w) => w, 30_000);
301
+ ok(await call(ada, "progress.cancel", { id: created["taskId"] }));
302
+ s.files.release();
303
+ const request = await settled(ada, String(created["id"]));
304
+ expect(request.status).toBe("cancelled");
305
+ const visited = request.sources.map((o) => o.source);
306
+ expect(visited).toContain("journal.entry");
307
+ expect(visited).not.toContain("eloxiv.connection");
308
+ expect(ok(await call(ada, "progress.get", { id: created["taskId"] }))).toMatchObject({ status: "cancelled" });
309
+ expect(tagOf(await call(ada, "privacy.download", { id: created["id"] }))).toBe("InvalidInput");
310
+ });
311
+ it("erases as declared, leaving no canary of the person anywhere in the database, and everyone else's intact", async () => {
312
+ // Background work was started for every saved entry (journal's trigger on `journal.saved`, whose payload
313
+ // names the author and carries the body): wait until every such event has started its execution.
314
+ await until("every saved entry's background work to start", () => s.sql(`SELECT count(*)::int AS n FROM eloxiv.outbox o WHERE o.type = 'journal.saved'
315
+ AND NOT EXISTS (SELECT 1 FROM eloxiv.workflow_execution e WHERE e.event_id = o.id)`), (rows) => rows[0]?.n === 0, 60_000);
316
+ expect(await s.sql(`SELECT 1 FROM eloxiv.workflow_execution WHERE workflow = 'journal.onSaved'`)).not.toHaveLength(0);
317
+ // A sync replica holds Alice's records before the erasure.
318
+ if (s.syncReplica !== undefined) {
319
+ await until("the replica to hold Alice's record", () => s.syncReplica.search(A.record), (t) => t.length > 0, 30_000);
320
+ }
321
+ const created = ok(await call(alice, "privacy.requestErasure", {}));
322
+ // Watched from outside, so the person makes no call (and no new record) until it is checked.
323
+ await until("the erasure to finish", () => s.sql(`SELECT status FROM eloxiv_privacy.request WHERE id = $1`, [created["id"]]), (rows) => ["succeeded", "failed", "cancelled"].includes(rows[0]?.status ?? ""), 90_000);
324
+ // The person's id remains only where it must, each for a stated reason: not in the engine's journal, not in
325
+ // the request's workflow, not next to their pseudonym.
326
+ const keeps = { ...KEEPS_ID, ...(s.syncReplica === undefined ? {} : SYNC_KEEPS_ID) };
327
+ expect((await searchIn(alice.id, ORG)).map(syncName).sort()).toEqual(Object.keys(keeps).sort());
328
+ const request = await settled(alice, String(created["id"]));
329
+ expect(request.status).toBe("succeeded");
330
+ const outcome = new Map(request.sources.map((o) => [o.source, o]));
331
+ expect(outcome.get("journal.entry")).toMatchObject({ outcome: "deleted", records: 1 });
332
+ expect(outcome.get("tasks.task")).toMatchObject({ outcome: "anonymised", records: 2 });
333
+ expect(outcome.get("billing.invoice")).toMatchObject({ outcome: "retained", records: 1, reason: RETENTION });
334
+ expect(outcome.get("mailbox.message")).toMatchObject({ outcome: "deleted", records: 2 });
335
+ expect(outcome.get("eloxiv.files")).toMatchObject({ outcome: "deleted", records: 1 });
336
+ // The staged file is deleted (its bytes purged after retention); the attached one stays with its record, by a
337
+ // pseudonym (scrubbed once, then two rows pseudonymised).
338
+ expect(outcome.get("eloxiv.file")).toMatchObject({ outcome: "anonymised", records: 3 });
339
+ expect(await s.sql(`SELECT name, state FROM eloxiv.file WHERE org_id = $1 AND uploaded_by <> $2 ORDER BY name`, [ORG, bob.id])).toEqual([
340
+ { name: "", state: "deleted" },
341
+ { name: "minutes.pdf", state: "available" },
342
+ ]);
343
+ // No canary of Alice's in acme survives, in any table: records, deleted records' history, settings and
344
+ // their audit, events, Connections (both accounts), flows, sync state, secrets.
345
+ for (const value of [A.record, A.deleted, A.kernel]) {
346
+ expect(await s.searchDatabase(value), value).toEqual([]);
347
+ }
348
+ // Nor in the sync replica, once it has replicated the erasure.
349
+ if (s.syncReplica !== undefined) {
350
+ for (const value of [A.record, A.deleted, A.kernel]) {
351
+ await until(`the replica to drop ${value}`, () => s.syncReplica.search(value), (t) => t.length === 0, 30_000);
352
+ }
353
+ }
354
+ expect(await s.files.list(alice.id, ORG)).toEqual([]);
355
+ // The shared Connection Alice added is the organisation's: kept, by a pseudonym, with its grant to everyone;
356
+ // only her own grant goes.
357
+ const [shared] = await s.sql(`SELECT owner_id FROM eloxiv.connection WHERE id = $1`, [
358
+ `conn_shared_${ORG}`,
359
+ ]);
360
+ expect(shared?.owner_id).toMatch(/^erased_/u);
361
+ expect(await s.sql(`SELECT grantee_kind, granted_by FROM eloxiv.connection_grant WHERE connection_id = $1`, [`conn_shared_${ORG}`])).toEqual([{ grantee_kind: "org", granted_by: shared.owner_id }]);
362
+ // Her grant in globex is another organisation's: not rewritten (nothing links the pseudonym to her there).
363
+ expect(await s.sql(`SELECT granted_by FROM eloxiv.connection_grant WHERE org_id = $1`, [OTHER])).toEqual([
364
+ { granted_by: alice.id },
365
+ ]);
366
+ // A deleted record cannot come back, and its history is gone.
367
+ expect(tagOf(await call(alice, "journal.restore", { id: deletedEntry, version: 1 }))).toBe("Forbidden");
368
+ expect(tagOf(await call(alice, "versioning.history", { entity: "journal.entry", id: deletedEntry }))).toBe("Forbidden");
369
+ // What is retained is as declared: the invoice, and the request itself as evidence.
370
+ expect(await s.sql(`SELECT id FROM billing.invoice WHERE customer_id = $1`, [alice.id])).toHaveLength(1);
371
+ expect(await requestOf(alice, request.id)).toMatchObject({ status: "succeeded", kind: "erasure" });
372
+ expect(ok(await call(alice, "progress.get", { id: request.taskId }))).toMatchObject({
373
+ status: "succeeded",
374
+ kind: "erasure",
375
+ });
376
+ // Everyone else, and Alice in globex, untouched: her run asked for by hand in globex still names her.
377
+ for (const value of [B, A_GLOBEX])
378
+ expect((await s.searchDatabase(value)).length, value).toBeGreaterThan(0);
379
+ expect(await s.sql(`SELECT org_id AS org, requested_by = $1 AS mine FROM eloxiv.schedule_run
380
+ WHERE key LIKE 'schedule:planted-%' ORDER BY org_id`, [alice.id])).toEqual([
381
+ { org: ORG, mine: false },
382
+ { org: OTHER, mine: true },
383
+ ]);
384
+ expect(await s.files.list(bob.id, ORG)).toEqual([`${B}.pdf`]);
385
+ expect(await s.sql(`SELECT id FROM tasks.task WHERE creator_id = $1 AND assignee_id = $1`, [bob.id])).toHaveLength(1);
386
+ const audited = (await s.audit({ action: "eloxiv.privacy.erase" })).filter((r) => r.invocationId === request.id);
387
+ expect(audited).toHaveLength(request.sources.length);
388
+ });
389
+ it("names an erased person by a pseudonym of the request's own, linked to them nowhere once it is done", async () => {
390
+ // Alice erases her data in globex too: a pseudonym of its own, unlike acme's.
391
+ const created = ok(await call(aliceInOther, "privacy.requestErasure", {}, "internal", OTHER));
392
+ await until("the erasure to finish", () => s.sql(`SELECT status FROM eloxiv_privacy.request WHERE id = $1`, [created["id"]]), (rows) => rows[0]?.status === "succeeded", 90_000);
393
+ const pseudonyms = await s.sql(`SELECT DISTINCT org_id AS org, detail ->> 'subject' AS pseudonym FROM eloxiv.audit_log
394
+ WHERE action = 'eloxiv.privacy.erase' AND invocation_id IN (
395
+ SELECT id FROM eloxiv_privacy.request WHERE subject_id = $1 AND kind = 'erasure')`, [alice.id]);
396
+ expect(pseudonyms.map((p) => p.org).sort()).toEqual([ORG, OTHER]);
397
+ const [acme, globex] = [ORG, OTHER].map((org) => pseudonyms.find((p) => p.org === org).pseudonym);
398
+ expect(acme).toMatch(/^erased_[0-9a-f]{32}$/);
399
+ expect(acme).not.toBe(globex);
400
+ // Each where it replaced her id (the audit, record history, and the actor columns of what she did that is
401
+ // kept: a file attached to a record, an item ingested into one, the storage quota, a shared Connection she added
402
+ // and its grant, a run she asked for by hand, and the sync change log of the replicated file), and nowhere it could
403
+ // be looked up: no table holds it with her id.
404
+ const replaced = [
405
+ "eloxiv.audit_log",
406
+ "eloxiv.schedule_run",
407
+ "eloxiv.record_history",
408
+ "eloxiv.file",
409
+ "eloxiv.ingestion_item",
410
+ "eloxiv.storage_quota",
411
+ "eloxiv.connection",
412
+ "eloxiv.connection_grant",
413
+ "{sync}.changeLog",
414
+ ];
415
+ for (const pseudonym of [acme, globex]) {
416
+ for (const { table } of await s.searchDatabase(pseudonym)) {
417
+ expect(replaced, `${table} holds a pseudonym`).toContain(syncName(table));
418
+ const [both] = await s.sql(`SELECT count(*)::int AS n FROM ${table} t WHERE strpos(t::text, $1) > 0 AND strpos(t::text, $2) > 0`, [pseudonym, alice.id]);
419
+ expect(both?.n, `${table} links the pseudonym to her`).toBe(0);
420
+ }
421
+ }
422
+ });
423
+ it("refuses at setup a table a module creates without declaring it as an entity", async () => {
424
+ // A table in a module's schema that no entity of it declares: setup refuses to open the module with it.
425
+ await s.sql(`CREATE TABLE mailbox.stash (id text PRIMARY KEY, owner_id text, note text)`);
426
+ try {
427
+ const refused = await s.setupWith("mailbox", (c) => c);
428
+ expect(refused.ok).toBe(false);
429
+ expect(refused.ok ? "" : refused.error).toContain("mailbox.stash");
430
+ }
431
+ finally {
432
+ await s.sql(`DROP TABLE mailbox.stash`);
433
+ }
434
+ expect(await s.setupWith("mailbox", (c) => c)).toEqual({ ok: true });
435
+ });
436
+ });
437
+ //# sourceMappingURL=Privacy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Privacy.js","sourceRoot":"","sources":["../../src/conformance/Privacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,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I,CAAC,CAAC,CAAC,CAAA;YAChE,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,6EAA6E,EAAE,KAAK,IAAI,EAAE;QAC3F,wGAAwG;QACxG,MAAM,CAAC,CAAC,GAAG,CAAC,4EAA4E,CAAC,CAAA;QACzF,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAA;YACtD,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YAC9B,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAA;QACpE,CAAC;gBAAS,CAAC;YACT,MAAM,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QACzC,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IACtE,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { StartServicesSubject } from "./ServicesSubject.ts";
2
+ export declare const progressConformance: (start: StartServicesSubject) => import("vitest").SuiteCollector<object>;
3
+ //# sourceMappingURL=Progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../src/conformance/Progress.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAmB,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAoBjF,eAAO,MAAM,mBAAmB,UAAW,oBAAoB,4CAiN3D,CAAA"}