@sentropic/cluster-mesh 0.25.0 → 0.26.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 (537) hide show
  1. package/dist/comments/storage-schema.d.ts +1 -1
  2. package/dist/comments/transport-contracts.d.ts +1 -1
  3. package/dist/compile/contract/diagnostics.d.ts +9 -0
  4. package/dist/compile/contract/diagnostics.d.ts.map +1 -0
  5. package/dist/compile/contract/diagnostics.js +82 -0
  6. package/dist/compile/contract/diagnostics.js.map +1 -0
  7. package/dist/compile/contract/encoding.d.ts +12 -0
  8. package/dist/compile/contract/encoding.d.ts.map +1 -0
  9. package/dist/compile/contract/encoding.js +95 -0
  10. package/dist/compile/contract/encoding.js.map +1 -0
  11. package/dist/compile/contract/index.d.ts +9 -0
  12. package/dist/compile/contract/index.d.ts.map +1 -0
  13. package/dist/compile/contract/index.js +9 -0
  14. package/dist/compile/contract/index.js.map +1 -0
  15. package/dist/compile/contract/json.d.ts +3 -0
  16. package/dist/compile/contract/json.d.ts.map +1 -0
  17. package/dist/compile/contract/json.js +75 -0
  18. package/dist/compile/contract/json.js.map +1 -0
  19. package/dist/compile/contract/output.d.ts +5 -0
  20. package/dist/compile/contract/output.d.ts.map +1 -0
  21. package/dist/compile/contract/output.js +57 -0
  22. package/dist/compile/contract/output.js.map +1 -0
  23. package/dist/compile/contract/recipe.d.ts +5 -0
  24. package/dist/compile/contract/recipe.d.ts.map +1 -0
  25. package/dist/compile/contract/recipe.js +86 -0
  26. package/dist/compile/contract/recipe.js.map +1 -0
  27. package/dist/compile/contract/schema.d.ts +26 -0
  28. package/dist/compile/contract/schema.d.ts.map +1 -0
  29. package/dist/compile/contract/schema.js +92 -0
  30. package/dist/compile/contract/schema.js.map +1 -0
  31. package/dist/compile/contract/types.d.ts +166 -0
  32. package/dist/compile/contract/types.d.ts.map +1 -0
  33. package/dist/compile/contract/types.js +21 -0
  34. package/dist/compile/contract/types.js.map +1 -0
  35. package/dist/compile/contract/vectors.d.ts +38 -0
  36. package/dist/compile/contract/vectors.d.ts.map +1 -0
  37. package/dist/compile/contract/vectors.js +29 -0
  38. package/dist/compile/contract/vectors.js.map +1 -0
  39. package/dist/forge/contracts.d.ts +60 -0
  40. package/dist/forge/contracts.d.ts.map +1 -0
  41. package/dist/forge/contracts.js +19 -0
  42. package/dist/forge/contracts.js.map +1 -0
  43. package/dist/forge/custody.d.ts +7 -0
  44. package/dist/forge/custody.d.ts.map +1 -0
  45. package/dist/forge/custody.js +76 -0
  46. package/dist/forge/custody.js.map +1 -0
  47. package/dist/forge/enrollment.d.ts +151 -0
  48. package/dist/forge/enrollment.d.ts.map +1 -0
  49. package/dist/forge/enrollment.js +98 -0
  50. package/dist/forge/enrollment.js.map +1 -0
  51. package/dist/forge/github-api.d.ts +6 -0
  52. package/dist/forge/github-api.d.ts.map +1 -0
  53. package/dist/forge/github-api.js +131 -0
  54. package/dist/forge/github-api.js.map +1 -0
  55. package/dist/forge/hono.d.ts +14 -0
  56. package/dist/forge/hono.d.ts.map +1 -0
  57. package/dist/forge/hono.js +141 -0
  58. package/dist/forge/hono.js.map +1 -0
  59. package/dist/forge/lifecycle.d.ts +108 -0
  60. package/dist/forge/lifecycle.d.ts.map +1 -0
  61. package/dist/forge/lifecycle.js +160 -0
  62. package/dist/forge/lifecycle.js.map +1 -0
  63. package/dist/forge/records.d.ts +70 -0
  64. package/dist/forge/records.d.ts.map +1 -0
  65. package/dist/forge/records.js +2 -0
  66. package/dist/forge/records.js.map +1 -0
  67. package/dist/forge/rotation.d.ts +46 -0
  68. package/dist/forge/rotation.d.ts.map +1 -0
  69. package/dist/forge/rotation.js +62 -0
  70. package/dist/forge/rotation.js.map +1 -0
  71. package/dist/identity/auth-abort.d.ts +9 -0
  72. package/dist/identity/auth-abort.d.ts.map +1 -0
  73. package/dist/identity/auth-abort.js +59 -0
  74. package/dist/identity/auth-abort.js.map +1 -0
  75. package/dist/identity/auth-binding.d.ts +3 -0
  76. package/dist/identity/auth-binding.d.ts.map +1 -0
  77. package/dist/identity/auth-binding.js +87 -0
  78. package/dist/identity/auth-binding.js.map +1 -0
  79. package/dist/identity/auth-boundary.d.ts +11 -0
  80. package/dist/identity/auth-boundary.d.ts.map +1 -0
  81. package/dist/identity/auth-boundary.js +73 -0
  82. package/dist/identity/auth-boundary.js.map +1 -0
  83. package/dist/identity/auth-completion.d.ts +9 -0
  84. package/dist/identity/auth-completion.d.ts.map +1 -0
  85. package/dist/identity/auth-completion.js +24 -0
  86. package/dist/identity/auth-completion.js.map +1 -0
  87. package/dist/identity/auth-credentials.d.ts +5 -0
  88. package/dist/identity/auth-credentials.d.ts.map +1 -0
  89. package/dist/identity/auth-credentials.js +82 -0
  90. package/dist/identity/auth-credentials.js.map +1 -0
  91. package/dist/identity/auth-email.d.ts +8 -0
  92. package/dist/identity/auth-email.d.ts.map +1 -0
  93. package/dist/identity/auth-email.js +104 -0
  94. package/dist/identity/auth-email.js.map +1 -0
  95. package/dist/identity/auth-hono.d.ts +5 -0
  96. package/dist/identity/auth-hono.d.ts.map +1 -0
  97. package/dist/identity/auth-hono.js +10 -0
  98. package/dist/identity/auth-hono.js.map +1 -0
  99. package/dist/identity/auth-proofs.d.ts +11 -0
  100. package/dist/identity/auth-proofs.d.ts.map +1 -0
  101. package/dist/identity/auth-proofs.js +107 -0
  102. package/dist/identity/auth-proofs.js.map +1 -0
  103. package/dist/identity/auth-service-tenant.d.ts +4 -0
  104. package/dist/identity/auth-service-tenant.d.ts.map +1 -0
  105. package/dist/identity/auth-service-tenant.js +54 -0
  106. package/dist/identity/auth-service-tenant.js.map +1 -0
  107. package/dist/identity/auth-sessions.d.ts +8 -0
  108. package/dist/identity/auth-sessions.d.ts.map +1 -0
  109. package/dist/identity/auth-sessions.js +141 -0
  110. package/dist/identity/auth-sessions.js.map +1 -0
  111. package/dist/identity/auth-social.d.ts +4 -0
  112. package/dist/identity/auth-social.d.ts.map +1 -0
  113. package/dist/identity/auth-social.js +82 -0
  114. package/dist/identity/auth-social.js.map +1 -0
  115. package/dist/identity/auth-users.d.ts +9 -0
  116. package/dist/identity/auth-users.d.ts.map +1 -0
  117. package/dist/identity/auth-users.js +116 -0
  118. package/dist/identity/auth-users.js.map +1 -0
  119. package/dist/identity/auth-webauthn.d.ts +22 -0
  120. package/dist/identity/auth-webauthn.d.ts.map +1 -0
  121. package/dist/identity/auth-webauthn.js +108 -0
  122. package/dist/identity/auth-webauthn.js.map +1 -0
  123. package/dist/identity/cascade.d.ts +12 -0
  124. package/dist/identity/cascade.d.ts.map +1 -0
  125. package/dist/identity/cascade.js +19 -0
  126. package/dist/identity/cascade.js.map +1 -0
  127. package/dist/identity/connector-custody.d.ts +85 -0
  128. package/dist/identity/connector-custody.d.ts.map +1 -0
  129. package/dist/identity/connector-custody.js +288 -0
  130. package/dist/identity/connector-custody.js.map +1 -0
  131. package/dist/identity/conversation.d.ts +50 -0
  132. package/dist/identity/conversation.d.ts.map +1 -0
  133. package/dist/identity/conversation.js +102 -0
  134. package/dist/identity/conversation.js.map +1 -0
  135. package/dist/identity/custody-crypto.d.ts +37 -0
  136. package/dist/identity/custody-crypto.d.ts.map +1 -0
  137. package/dist/identity/custody-crypto.js +173 -0
  138. package/dist/identity/custody-crypto.js.map +1 -0
  139. package/dist/identity/decision.d.ts +28 -0
  140. package/dist/identity/decision.d.ts.map +1 -0
  141. package/dist/identity/decision.js +97 -0
  142. package/dist/identity/decision.js.map +1 -0
  143. package/dist/identity/index.d.ts +9 -0
  144. package/dist/identity/index.d.ts.map +1 -0
  145. package/dist/identity/index.js +13 -0
  146. package/dist/identity/index.js.map +1 -0
  147. package/dist/identity/ledger.d.ts +120 -0
  148. package/dist/identity/ledger.d.ts.map +1 -0
  149. package/dist/identity/ledger.js +226 -0
  150. package/dist/identity/ledger.js.map +1 -0
  151. package/dist/identity/postgres.d.ts +13 -0
  152. package/dist/identity/postgres.d.ts.map +1 -0
  153. package/dist/identity/postgres.js +207 -0
  154. package/dist/identity/postgres.js.map +1 -0
  155. package/dist/identity/sqlite.d.ts +14 -0
  156. package/dist/identity/sqlite.d.ts.map +1 -0
  157. package/dist/identity/sqlite.js +193 -0
  158. package/dist/identity/sqlite.js.map +1 -0
  159. package/dist/identity-contracts/accounts.d.ts.map +1 -1
  160. package/dist/identity-contracts/accounts.js +4 -3
  161. package/dist/identity-contracts/accounts.js.map +1 -1
  162. package/dist/identity-contracts/boundary-resolution.d.ts +31 -0
  163. package/dist/identity-contracts/boundary-resolution.d.ts.map +1 -0
  164. package/dist/identity-contracts/boundary-resolution.js +56 -0
  165. package/dist/identity-contracts/boundary-resolution.js.map +1 -0
  166. package/dist/identity-contracts/composition-descriptors.d.ts +17 -0
  167. package/dist/identity-contracts/composition-descriptors.d.ts.map +1 -0
  168. package/dist/identity-contracts/composition-descriptors.js +77 -0
  169. package/dist/identity-contracts/composition-descriptors.js.map +1 -0
  170. package/dist/identity-contracts/custody-auth.d.ts +122 -0
  171. package/dist/identity-contracts/custody-auth.d.ts.map +1 -0
  172. package/dist/identity-contracts/custody-auth.js +2 -0
  173. package/dist/identity-contracts/custody-auth.js.map +1 -0
  174. package/dist/identity-contracts/custody-descriptors.d.ts +18 -0
  175. package/dist/identity-contracts/custody-descriptors.d.ts.map +1 -0
  176. package/dist/identity-contracts/custody-descriptors.js +83 -0
  177. package/dist/identity-contracts/custody-descriptors.js.map +1 -0
  178. package/dist/identity-contracts/custody-errors.d.ts +21 -0
  179. package/dist/identity-contracts/custody-errors.d.ts.map +1 -0
  180. package/dist/identity-contracts/custody-errors.js +80 -0
  181. package/dist/identity-contracts/custody-errors.js.map +1 -0
  182. package/dist/identity-contracts/custody-operations.d.ts +79 -0
  183. package/dist/identity-contracts/custody-operations.d.ts.map +1 -0
  184. package/dist/identity-contracts/custody-operations.js +2 -0
  185. package/dist/identity-contracts/custody-operations.js.map +1 -0
  186. package/dist/identity-contracts/custody.d.ts +587 -0
  187. package/dist/identity-contracts/custody.d.ts.map +1 -0
  188. package/dist/identity-contracts/custody.js +7 -0
  189. package/dist/identity-contracts/custody.js.map +1 -0
  190. package/dist/identity-contracts/doubles.d.ts +11 -2
  191. package/dist/identity-contracts/doubles.d.ts.map +1 -1
  192. package/dist/identity-contracts/doubles.js +20 -0
  193. package/dist/identity-contracts/doubles.js.map +1 -1
  194. package/dist/identity-contracts/index.d.ts +10 -0
  195. package/dist/identity-contracts/index.d.ts.map +1 -1
  196. package/dist/identity-contracts/index.js +10 -0
  197. package/dist/identity-contracts/index.js.map +1 -1
  198. package/dist/identity-contracts/oauth-reads.d.ts +42 -0
  199. package/dist/identity-contracts/oauth-reads.d.ts.map +1 -0
  200. package/dist/identity-contracts/oauth-reads.js +38 -0
  201. package/dist/identity-contracts/oauth-reads.js.map +1 -0
  202. package/dist/identity-contracts/replica-sync.d.ts +89 -0
  203. package/dist/identity-contracts/replica-sync.d.ts.map +1 -0
  204. package/dist/identity-contracts/replica-sync.js +7 -0
  205. package/dist/identity-contracts/replica-sync.js.map +1 -0
  206. package/dist/identity-contracts/service-tenancy.d.ts +43 -0
  207. package/dist/identity-contracts/service-tenancy.d.ts.map +1 -0
  208. package/dist/identity-contracts/service-tenancy.js +75 -0
  209. package/dist/identity-contracts/service-tenancy.js.map +1 -0
  210. package/dist/identity-contracts/workspace-deletion.d.ts +56 -0
  211. package/dist/identity-contracts/workspace-deletion.d.ts.map +1 -0
  212. package/dist/identity-contracts/workspace-deletion.js +7 -0
  213. package/dist/identity-contracts/workspace-deletion.js.map +1 -0
  214. package/dist/identity-stores/index.d.ts +4 -0
  215. package/dist/identity-stores/index.d.ts.map +1 -0
  216. package/dist/identity-stores/index.js +7 -0
  217. package/dist/identity-stores/index.js.map +1 -0
  218. package/dist/identity-stores/tenancy-postgres.d.ts +23 -0
  219. package/dist/identity-stores/tenancy-postgres.d.ts.map +1 -0
  220. package/dist/identity-stores/tenancy-postgres.js +294 -0
  221. package/dist/identity-stores/tenancy-postgres.js.map +1 -0
  222. package/dist/identity-stores/tenancy-schema.d.ts +11 -0
  223. package/dist/identity-stores/tenancy-schema.d.ts.map +1 -0
  224. package/dist/identity-stores/tenancy-schema.js +74 -0
  225. package/dist/identity-stores/tenancy-schema.js.map +1 -0
  226. package/dist/identity-stores/tenancy-sqlite.d.ts +24 -0
  227. package/dist/identity-stores/tenancy-sqlite.d.ts.map +1 -0
  228. package/dist/identity-stores/tenancy-sqlite.js +288 -0
  229. package/dist/identity-stores/tenancy-sqlite.js.map +1 -0
  230. package/dist/index.d.ts +14 -0
  231. package/dist/index.d.ts.map +1 -1
  232. package/dist/index.js +13 -0
  233. package/dist/index.js.map +1 -1
  234. package/dist/loaders/notifications/index.d.ts +5 -0
  235. package/dist/loaders/notifications/index.d.ts.map +1 -0
  236. package/dist/loaders/notifications/index.js +6 -0
  237. package/dist/loaders/notifications/index.js.map +1 -0
  238. package/dist/mcp/stateful-preflight.d.ts +1 -1
  239. package/dist/messaging/email-port.d.ts +49 -0
  240. package/dist/messaging/email-port.d.ts.map +1 -0
  241. package/dist/messaging/email-port.js +92 -0
  242. package/dist/messaging/email-port.js.map +1 -0
  243. package/dist/messaging/index.d.ts +1 -0
  244. package/dist/messaging/index.d.ts.map +1 -1
  245. package/dist/messaging/index.js +1 -0
  246. package/dist/messaging/index.js.map +1 -1
  247. package/dist/modules/catalog.d.ts +5 -4
  248. package/dist/modules/catalog.d.ts.map +1 -1
  249. package/dist/modules/catalog.js +10 -5
  250. package/dist/modules/catalog.js.map +1 -1
  251. package/dist/modules/contracts.d.ts +1 -1
  252. package/dist/modules/contracts.d.ts.map +1 -1
  253. package/dist/modules/contracts.js +1 -0
  254. package/dist/modules/contracts.js.map +1 -1
  255. package/dist/notifications/incident-policy.d.ts +6 -0
  256. package/dist/notifications/incident-policy.d.ts.map +1 -0
  257. package/dist/notifications/incident-policy.js +119 -0
  258. package/dist/notifications/incident-policy.js.map +1 -0
  259. package/dist/notifications/incident-schedule.d.ts +14 -0
  260. package/dist/notifications/incident-schedule.d.ts.map +1 -0
  261. package/dist/notifications/incident-schedule.js +36 -0
  262. package/dist/notifications/incident-schedule.js.map +1 -0
  263. package/dist/notifications/incident-state.d.ts +72 -0
  264. package/dist/notifications/incident-state.d.ts.map +1 -0
  265. package/dist/notifications/incident-state.js +72 -0
  266. package/dist/notifications/incident-state.js.map +1 -0
  267. package/dist/notifications/index.d.ts +9 -0
  268. package/dist/notifications/index.d.ts.map +1 -0
  269. package/dist/notifications/index.js +9 -0
  270. package/dist/notifications/index.js.map +1 -0
  271. package/dist/notifications/ops-job-failure-contract.d.ts +19 -0
  272. package/dist/notifications/ops-job-failure-contract.d.ts.map +1 -0
  273. package/dist/notifications/ops-job-failure-contract.js +183 -0
  274. package/dist/notifications/ops-job-failure-contract.js.map +1 -0
  275. package/dist/notifications/ops-job-failure-types.d.ts +81 -0
  276. package/dist/notifications/ops-job-failure-types.d.ts.map +1 -0
  277. package/dist/notifications/ops-job-failure-types.js +73 -0
  278. package/dist/notifications/ops-job-failure-types.js.map +1 -0
  279. package/dist/notifications/recipients-http.d.ts +66 -0
  280. package/dist/notifications/recipients-http.d.ts.map +1 -0
  281. package/dist/notifications/recipients-http.js +148 -0
  282. package/dist/notifications/recipients-http.js.map +1 -0
  283. package/dist/notifications/recipients.d.ts +50 -0
  284. package/dist/notifications/recipients.d.ts.map +1 -0
  285. package/dist/notifications/recipients.js +59 -0
  286. package/dist/notifications/recipients.js.map +1 -0
  287. package/dist/prompts/registry.d.ts +55 -0
  288. package/dist/prompts/registry.d.ts.map +1 -0
  289. package/dist/prompts/registry.js +76 -0
  290. package/dist/prompts/registry.js.map +1 -0
  291. package/dist/runtime/heavy-phase-queue.d.ts +101 -0
  292. package/dist/runtime/heavy-phase-queue.d.ts.map +1 -0
  293. package/dist/runtime/heavy-phase-queue.js +129 -0
  294. package/dist/runtime/heavy-phase-queue.js.map +1 -0
  295. package/dist/sessions/content-policy.d.ts +55 -0
  296. package/dist/sessions/content-policy.d.ts.map +1 -0
  297. package/dist/sessions/content-policy.js +133 -0
  298. package/dist/sessions/content-policy.js.map +1 -0
  299. package/dist/sessions/registry-admin.d.ts +19 -0
  300. package/dist/sessions/registry-admin.d.ts.map +1 -0
  301. package/dist/sessions/registry-admin.js +42 -0
  302. package/dist/sessions/registry-admin.js.map +1 -0
  303. package/dist/sessions/registry-freshness.d.ts +8 -0
  304. package/dist/sessions/registry-freshness.d.ts.map +1 -0
  305. package/dist/sessions/registry-freshness.js +108 -0
  306. package/dist/sessions/registry-freshness.js.map +1 -0
  307. package/dist/sessions/registry-ingest.d.ts +5 -0
  308. package/dist/sessions/registry-ingest.d.ts.map +1 -0
  309. package/dist/sessions/registry-ingest.js +113 -0
  310. package/dist/sessions/registry-ingest.js.map +1 -0
  311. package/dist/sessions/registry-publish.d.ts +18 -0
  312. package/dist/sessions/registry-publish.d.ts.map +1 -0
  313. package/dist/sessions/registry-publish.js +134 -0
  314. package/dist/sessions/registry-publish.js.map +1 -0
  315. package/dist/sessions/registry-store.d.ts +51 -0
  316. package/dist/sessions/registry-store.d.ts.map +1 -0
  317. package/dist/sessions/registry-store.js +134 -0
  318. package/dist/sessions/registry-store.js.map +1 -0
  319. package/dist/sessions/registry-types.d.ts +180 -0
  320. package/dist/sessions/registry-types.d.ts.map +1 -0
  321. package/dist/sessions/registry-types.js +32 -0
  322. package/dist/sessions/registry-types.js.map +1 -0
  323. package/dist/sessions/registry.d.ts +45 -0
  324. package/dist/sessions/registry.d.ts.map +1 -0
  325. package/dist/sessions/registry.js +74 -0
  326. package/dist/sessions/registry.js.map +1 -0
  327. package/dist/sessions/relay-bind.d.ts +38 -0
  328. package/dist/sessions/relay-bind.d.ts.map +1 -0
  329. package/dist/sessions/relay-bind.js +74 -0
  330. package/dist/sessions/relay-bind.js.map +1 -0
  331. package/dist/sessions/relay-brand.d.ts +2 -0
  332. package/dist/sessions/relay-brand.d.ts.map +1 -0
  333. package/dist/sessions/relay-brand.js +7 -0
  334. package/dist/sessions/relay-brand.js.map +1 -0
  335. package/dist/sessions/relay-capsule.d.ts +50 -0
  336. package/dist/sessions/relay-capsule.d.ts.map +1 -0
  337. package/dist/sessions/relay-capsule.js +72 -0
  338. package/dist/sessions/relay-capsule.js.map +1 -0
  339. package/dist/sessions/relay-chain-failure.d.ts +25 -0
  340. package/dist/sessions/relay-chain-failure.d.ts.map +1 -0
  341. package/dist/sessions/relay-chain-failure.js +23 -0
  342. package/dist/sessions/relay-chain-failure.js.map +1 -0
  343. package/dist/sessions/relay-chain.d.ts +74 -0
  344. package/dist/sessions/relay-chain.d.ts.map +1 -0
  345. package/dist/sessions/relay-chain.js +71 -0
  346. package/dist/sessions/relay-chain.js.map +1 -0
  347. package/dist/sessions/relay-composition.d.ts +8 -0
  348. package/dist/sessions/relay-composition.d.ts.map +1 -0
  349. package/dist/sessions/relay-composition.js +65 -0
  350. package/dist/sessions/relay-composition.js.map +1 -0
  351. package/dist/sessions/relay-credit.d.ts +40 -0
  352. package/dist/sessions/relay-credit.d.ts.map +1 -0
  353. package/dist/sessions/relay-credit.js +68 -0
  354. package/dist/sessions/relay-credit.js.map +1 -0
  355. package/dist/sessions/relay-engine.d.ts +19 -0
  356. package/dist/sessions/relay-engine.d.ts.map +1 -0
  357. package/dist/sessions/relay-engine.js +34 -0
  358. package/dist/sessions/relay-engine.js.map +1 -0
  359. package/dist/sessions/relay-frames.d.ts +28 -0
  360. package/dist/sessions/relay-frames.d.ts.map +1 -0
  361. package/dist/sessions/relay-frames.js +72 -0
  362. package/dist/sessions/relay-frames.js.map +1 -0
  363. package/dist/sessions/relay-lane-client.d.ts +7 -0
  364. package/dist/sessions/relay-lane-client.d.ts.map +1 -0
  365. package/dist/sessions/relay-lane-client.js +137 -0
  366. package/dist/sessions/relay-lane-client.js.map +1 -0
  367. package/dist/sessions/relay-lane-lease.d.ts +20 -0
  368. package/dist/sessions/relay-lane-lease.d.ts.map +1 -0
  369. package/dist/sessions/relay-lane-lease.js +74 -0
  370. package/dist/sessions/relay-lane-lease.js.map +1 -0
  371. package/dist/sessions/relay-lane-record.d.ts +28 -0
  372. package/dist/sessions/relay-lane-record.d.ts.map +1 -0
  373. package/dist/sessions/relay-lane-record.js +28 -0
  374. package/dist/sessions/relay-lane-record.js.map +1 -0
  375. package/dist/sessions/relay-lane-stream.d.ts +13 -0
  376. package/dist/sessions/relay-lane-stream.d.ts.map +1 -0
  377. package/dist/sessions/relay-lane-stream.js +148 -0
  378. package/dist/sessions/relay-lane-stream.js.map +1 -0
  379. package/dist/sessions/relay-routes.d.ts +368 -0
  380. package/dist/sessions/relay-routes.d.ts.map +1 -0
  381. package/dist/sessions/relay-routes.js +46 -0
  382. package/dist/sessions/relay-routes.js.map +1 -0
  383. package/dist/sessions/relay-skeleton.d.ts +4 -0
  384. package/dist/sessions/relay-skeleton.d.ts.map +1 -0
  385. package/dist/sessions/relay-skeleton.js +85 -0
  386. package/dist/sessions/relay-skeleton.js.map +1 -0
  387. package/dist/sessions/relay-types.d.ts +107 -0
  388. package/dist/sessions/relay-types.d.ts.map +1 -0
  389. package/dist/sessions/relay-types.js +2 -0
  390. package/dist/sessions/relay-types.js.map +1 -0
  391. package/dist/sessions/relay-validate.d.ts +8 -0
  392. package/dist/sessions/relay-validate.d.ts.map +1 -0
  393. package/dist/sessions/relay-validate.js +169 -0
  394. package/dist/sessions/relay-validate.js.map +1 -0
  395. package/dist/sessions/relay-wire.d.ts +8 -0
  396. package/dist/sessions/relay-wire.d.ts.map +1 -0
  397. package/dist/sessions/relay-wire.js +37 -0
  398. package/dist/sessions/relay-wire.js.map +1 -0
  399. package/dist/sessions/relay-wiring.d.ts +26 -0
  400. package/dist/sessions/relay-wiring.d.ts.map +1 -0
  401. package/dist/sessions/relay-wiring.js +13 -0
  402. package/dist/sessions/relay-wiring.js.map +1 -0
  403. package/dist/sessions/relay.d.ts +11 -0
  404. package/dist/sessions/relay.d.ts.map +1 -0
  405. package/dist/sessions/relay.js +71 -0
  406. package/dist/sessions/relay.js.map +1 -0
  407. package/dist/storage/descriptor.d.ts +1 -1
  408. package/dist/storage/errors.d.ts +1 -1
  409. package/dist/storage/identity/atomic-deletion.d.ts +4 -0
  410. package/dist/storage/identity/atomic-deletion.d.ts.map +1 -0
  411. package/dist/storage/identity/atomic-deletion.js +235 -0
  412. package/dist/storage/identity/atomic-deletion.js.map +1 -0
  413. package/dist/storage/identity/custody-composition.d.ts +9 -0
  414. package/dist/storage/identity/custody-composition.d.ts.map +1 -0
  415. package/dist/storage/identity/custody-composition.js +31 -0
  416. package/dist/storage/identity/custody-composition.js.map +1 -0
  417. package/dist/storage/identity/custody-delivery-record.d.ts +4 -0
  418. package/dist/storage/identity/custody-delivery-record.d.ts.map +1 -0
  419. package/dist/storage/identity/custody-delivery-record.js +11 -0
  420. package/dist/storage/identity/custody-delivery-record.js.map +1 -0
  421. package/dist/storage/identity/custody-host.d.ts +16 -0
  422. package/dist/storage/identity/custody-host.d.ts.map +1 -0
  423. package/dist/storage/identity/custody-host.js +5 -0
  424. package/dist/storage/identity/custody-host.js.map +1 -0
  425. package/dist/storage/identity/custody-import-deliveries.d.ts +6 -0
  426. package/dist/storage/identity/custody-import-deliveries.d.ts.map +1 -0
  427. package/dist/storage/identity/custody-import-deliveries.js +46 -0
  428. package/dist/storage/identity/custody-import-deliveries.js.map +1 -0
  429. package/dist/storage/identity/custody-import.d.ts +4 -0
  430. package/dist/storage/identity/custody-import.d.ts.map +1 -0
  431. package/dist/storage/identity/custody-import.js +364 -0
  432. package/dist/storage/identity/custody-import.js.map +1 -0
  433. package/dist/storage/identity/custody-journal-postgres.d.ts +125 -0
  434. package/dist/storage/identity/custody-journal-postgres.d.ts.map +1 -0
  435. package/dist/storage/identity/custody-journal-postgres.js +428 -0
  436. package/dist/storage/identity/custody-journal-postgres.js.map +1 -0
  437. package/dist/storage/identity/custody-journal-sqlite.d.ts +121 -0
  438. package/dist/storage/identity/custody-journal-sqlite.d.ts.map +1 -0
  439. package/dist/storage/identity/custody-journal-sqlite.js +345 -0
  440. package/dist/storage/identity/custody-journal-sqlite.js.map +1 -0
  441. package/dist/storage/identity/custody-lifecycle.d.ts +4 -0
  442. package/dist/storage/identity/custody-lifecycle.d.ts.map +1 -0
  443. package/dist/storage/identity/custody-lifecycle.js +42 -0
  444. package/dist/storage/identity/custody-lifecycle.js.map +1 -0
  445. package/dist/storage/identity/custody-postgres.d.ts +96 -0
  446. package/dist/storage/identity/custody-postgres.d.ts.map +1 -0
  447. package/dist/storage/identity/custody-postgres.js +726 -0
  448. package/dist/storage/identity/custody-postgres.js.map +1 -0
  449. package/dist/storage/identity/custody-records.d.ts +17 -0
  450. package/dist/storage/identity/custody-records.d.ts.map +1 -0
  451. package/dist/storage/identity/custody-records.js +260 -0
  452. package/dist/storage/identity/custody-records.js.map +1 -0
  453. package/dist/storage/identity/custody-shared.d.ts +28 -0
  454. package/dist/storage/identity/custody-shared.d.ts.map +1 -0
  455. package/dist/storage/identity/custody-shared.js +24 -0
  456. package/dist/storage/identity/custody-shared.js.map +1 -0
  457. package/dist/storage/identity/custody-sqlite.d.ts +93 -0
  458. package/dist/storage/identity/custody-sqlite.d.ts.map +1 -0
  459. package/dist/storage/identity/custody-sqlite.js +568 -0
  460. package/dist/storage/identity/custody-sqlite.js.map +1 -0
  461. package/dist/storage/identity/custody-tombstone-record.d.ts +3 -0
  462. package/dist/storage/identity/custody-tombstone-record.d.ts.map +1 -0
  463. package/dist/storage/identity/custody-tombstone-record.js +8 -0
  464. package/dist/storage/identity/custody-tombstone-record.js.map +1 -0
  465. package/dist/storage/identity/custody-transaction-guards.d.ts +16 -0
  466. package/dist/storage/identity/custody-transaction-guards.d.ts.map +1 -0
  467. package/dist/storage/identity/custody-transaction-guards.js +64 -0
  468. package/dist/storage/identity/custody-transaction-guards.js.map +1 -0
  469. package/dist/storage/identity/custody-transaction-ports.d.ts +9 -0
  470. package/dist/storage/identity/custody-transaction-ports.d.ts.map +1 -0
  471. package/dist/storage/identity/custody-transaction-ports.js +106 -0
  472. package/dist/storage/identity/custody-transaction-ports.js.map +1 -0
  473. package/dist/storage/identity/deletion-planes.d.ts +10 -0
  474. package/dist/storage/identity/deletion-planes.d.ts.map +1 -0
  475. package/dist/storage/identity/deletion-planes.js +54 -0
  476. package/dist/storage/identity/deletion-planes.js.map +1 -0
  477. package/dist/storage/identity/index.d.ts +18 -0
  478. package/dist/storage/identity/index.d.ts.map +1 -0
  479. package/dist/storage/identity/index.js +22 -0
  480. package/dist/storage/identity/index.js.map +1 -0
  481. package/dist/storage/identity/postgres.d.ts +16 -0
  482. package/dist/storage/identity/postgres.d.ts.map +1 -0
  483. package/dist/storage/identity/postgres.js +345 -0
  484. package/dist/storage/identity/postgres.js.map +1 -0
  485. package/dist/storage/identity/records.d.ts +12 -0
  486. package/dist/storage/identity/records.d.ts.map +1 -0
  487. package/dist/storage/identity/records.js +84 -0
  488. package/dist/storage/identity/records.js.map +1 -0
  489. package/dist/storage/identity/replica-sync.d.ts +4 -0
  490. package/dist/storage/identity/replica-sync.d.ts.map +1 -0
  491. package/dist/storage/identity/replica-sync.js +402 -0
  492. package/dist/storage/identity/replica-sync.js.map +1 -0
  493. package/dist/storage/identity/schema.d.ts +13 -0
  494. package/dist/storage/identity/schema.d.ts.map +1 -0
  495. package/dist/storage/identity/schema.js +418 -0
  496. package/dist/storage/identity/schema.js.map +1 -0
  497. package/dist/storage/identity/sqlite-schema.d.ts +4 -0
  498. package/dist/storage/identity/sqlite-schema.d.ts.map +1 -0
  499. package/dist/storage/identity/sqlite-schema.js +17 -0
  500. package/dist/storage/identity/sqlite-schema.js.map +1 -0
  501. package/dist/storage/identity/sqlite.d.ts +25 -0
  502. package/dist/storage/identity/sqlite.d.ts.map +1 -0
  503. package/dist/storage/identity/sqlite.js +233 -0
  504. package/dist/storage/identity/sqlite.js.map +1 -0
  505. package/dist/storage/identity/stores.d.ts +10 -0
  506. package/dist/storage/identity/stores.d.ts.map +1 -0
  507. package/dist/storage/identity/stores.js +5 -0
  508. package/dist/storage/identity/stores.js.map +1 -0
  509. package/dist/storage/identity/wiring.d.ts +20 -0
  510. package/dist/storage/identity/wiring.d.ts.map +1 -0
  511. package/dist/storage/identity/wiring.js +26 -0
  512. package/dist/storage/identity/wiring.js.map +1 -0
  513. package/dist/storage/identity/workspace-deletion.d.ts +3 -0
  514. package/dist/storage/identity/workspace-deletion.d.ts.map +1 -0
  515. package/dist/storage/identity/workspace-deletion.js +100 -0
  516. package/dist/storage/identity/workspace-deletion.js.map +1 -0
  517. package/dist/storage/postgres/journal.d.ts +1 -1
  518. package/dist/storage/postgres/profiles.d.ts +2 -2
  519. package/dist/storage/postgres/scope.d.ts +1 -1
  520. package/dist/storage/root-facade.d.ts +1 -1
  521. package/dist/storage/root-journal.d.ts +1 -1
  522. package/dist/storage/root-profiles.d.ts +1 -1
  523. package/package.json +56 -4
  524. package/ui/AdminUsersScreen.svelte +197 -0
  525. package/ui/AdminUsersScreen.svelte.d.ts +4 -0
  526. package/ui/LoginScreen.svelte +15 -0
  527. package/ui/LoginScreen.svelte.d.ts +4 -0
  528. package/ui/MembershipDecisionsScreen.svelte +76 -0
  529. package/ui/MembershipDecisionsScreen.svelte.d.ts +4 -0
  530. package/ui/RegistrationScreen.svelte +15 -0
  531. package/ui/RegistrationScreen.svelte.d.ts +4 -0
  532. package/ui/WorkspaceMembersScreen.svelte +86 -0
  533. package/ui/WorkspaceMembersScreen.svelte.d.ts +4 -0
  534. package/ui/auth-flow.ts +44 -0
  535. package/ui/management-ports.ts +36 -0
  536. package/ui/management-transport.ts +29 -0
  537. package/contracts/engram-memory-neutral-contract-v1.d.ts +0 -367
@@ -0,0 +1,18 @@
1
+ export declare const IDENTITY_CUSTODY_CONTRACT_VERSION: "1.1.0";
2
+ export declare const IDENTITY_ATOMIC_DELETION_CONTRACT_VERSION: "2.0.0";
3
+ export type IdentityAmendmentDomainV1 = 'account_authentication_profile' | 'webauthn_custody' | 'single_use_proofs' | 'digest_invitations' | 'bound_login_sessions' | 'social_subjects' | 'authentication_completion' | 'revocation_delivery' | 'identity_import' | 'transaction_binding' | 'atomic_person_deletion';
4
+ export interface IdentityAmendmentDescriptorV1 {
5
+ readonly domain: IdentityAmendmentDomainV1;
6
+ readonly version: '1.1.0' | '2.0.0';
7
+ readonly baseContractVersion: '1.0.0';
8
+ readonly amendment: 'A2.0b';
9
+ readonly status: 'contract-only';
10
+ readonly profiles: readonly ['postgres', 'sqlite'];
11
+ readonly records: readonly string[];
12
+ readonly ports: readonly string[];
13
+ readonly factories: readonly string[];
14
+ readonly errorType: 'IdentityCustodyErrorV1';
15
+ }
16
+ export declare const IDENTITY_A20B_DESCRIPTORS: readonly IdentityAmendmentDescriptorV1[];
17
+ export declare const identityAmendmentDescriptorV1: (domain: IdentityAmendmentDomainV1) => IdentityAmendmentDescriptorV1 | undefined;
18
+ //# sourceMappingURL=custody-descriptors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custody-descriptors.d.ts","sourceRoot":"","sources":["../../src/identity-contracts/custody-descriptors.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iCAAiC,SAAmB,CAAC;AAClE,eAAO,MAAM,yCAAyC,SAAmB,CAAC;AAE1E,MAAM,MAAM,yBAAyB,GACjC,gCAAgC,GAChC,kBAAkB,GAClB,mBAAmB,GACnB,oBAAoB,GACpB,sBAAsB,GACtB,iBAAiB,GACjB,2BAA2B,GAC3B,qBAAqB,GACrB,iBAAiB,GACjB,qBAAqB,GACrB,wBAAwB,CAAC;AAE7B,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAC3C,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACnD,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,SAAS,EAAE,wBAAwB,CAAC;CAC9C;AAqBD,eAAO,MAAM,yBAAyB,EAAE,SAAS,6BAA6B,EAyH7E,CAAC;AAEF,eAAO,MAAM,6BAA6B,WAChC,yBAAyB,KAChC,6BAA6B,GAAG,SACiC,CAAC"}
@@ -0,0 +1,83 @@
1
+ // A2.0b versioned amendment descriptors. The frozen 1.0 descriptor array is
2
+ // untouched; these rows name the additive custody bundle (1.1.0) and the
3
+ // atomic deletion contract (2.0.0).
4
+ export const IDENTITY_CUSTODY_CONTRACT_VERSION = '1.1.0';
5
+ export const IDENTITY_ATOMIC_DELETION_CONTRACT_VERSION = '2.0.0';
6
+ const descriptor = (domain, version, records, ports, factories = []) => ({
7
+ domain,
8
+ version,
9
+ baseContractVersion: '1.0.0',
10
+ amendment: 'A2.0b',
11
+ status: 'contract-only',
12
+ profiles: ['postgres', 'sqlite'],
13
+ records,
14
+ ports,
15
+ factories,
16
+ errorType: 'IdentityCustodyErrorV1',
17
+ });
18
+ export const IDENTITY_A20B_DESCRIPTORS = [
19
+ descriptor('account_authentication_profile', '1.1.0', ['IdentityAccountProfileV1'], ['IdentityAccountProfileStoreV1', 'IdentitySubjectLifecyclePortV1']),
20
+ descriptor('webauthn_custody', '1.1.0', ['WebAuthnCredentialV1'], ['WebAuthnCredentialStoreV1']),
21
+ descriptor('single_use_proofs', '1.1.0', [
22
+ 'IdentityDigestV1',
23
+ 'SingleUseProofKindV1',
24
+ 'SingleUseProofKeyV1',
25
+ 'SingleUseProofBaseV1',
26
+ 'WebAuthnChallengeV1',
27
+ 'EmailCodeProofV1',
28
+ 'MagicLinkProofV1',
29
+ 'SingleUseProofV1',
30
+ 'SingleUseProofMatchV1',
31
+ 'EmailRegistrationTicketV1',
32
+ 'IdentityEmailCodeKeyRingV1',
33
+ ], [
34
+ 'SingleUseProofStoreV1',
35
+ 'EmailRegistrationTicketStoreV1',
36
+ 'IdentityDigestPortV1',
37
+ 'IdentityEmailCodeKeyRingPortV1',
38
+ ]),
39
+ descriptor('digest_invitations', '1.1.0', ['DigestInvitationV1', 'IssuedDigestInvitationV1'], ['DigestInvitationStoreV1', 'IdentityDigestPortV1']),
40
+ descriptor('bound_login_sessions', '1.1.0', ['BoundLoginSessionV1', 'SignedLoginBindingV1', 'VerifiedLoginClaimsV1'], ['BoundLoginSessionStoreV1', 'IdentityLoginVerifierPortV1', 'IdentityLoginTokenPortV1']),
41
+ descriptor('social_subjects', '1.1.0', ['SocialIdentityV1'], ['SocialIdentityStoreV1']),
42
+ descriptor('authentication_completion', '1.1.0', ['IdentityEmailTicketClaimsV1', 'IdentityDeferredMailV1', 'IdentityAuthHonoTransactionBindingV1', 'IdentityAuthCompletionFlowV1', 'IdentityAuthRefusalV1', 'IdentityAuthCompletionOutcomeV1'], ['IdentityEmailTicketTokenPortV1', 'IdentityAuthAccountPolicyV1', 'IdentityAuthBusinessHooksV1'], ['createIdentityAuthHonoTransactionBindingV1', 'runIdentityAuthCompletionV1']),
43
+ descriptor('identity_import', '1.1.0', [
44
+ 'IdentityImportRowV1',
45
+ 'IdentityImportBatchV1',
46
+ 'IdentityImportIssueReferenceV1',
47
+ 'IdentityImportValidationV1',
48
+ 'IdentityImportReceiptV1',
49
+ 'IdentityLegacyConnectorTombstoneV1',
50
+ ], ['IdentityCustodyImportPortV1', 'IdentityImportFencePortV1'], ['createIdentityCustodyImporterV1']),
51
+ descriptor('transaction_binding', '1.1.0', [
52
+ 'IdentityIsoTimeV1',
53
+ 'IdentitySha256HexV1',
54
+ 'IdentityBase64UrlV1',
55
+ 'IdentityRevisionV1',
56
+ 'IdentityStorageProfileV1',
57
+ 'IdentityTransactionV1',
58
+ 'IdentityRunOptionsV1',
59
+ 'IdentityHostRunOptionsV1',
60
+ 'PostgresIdentityBindingV1',
61
+ 'SqliteIdentityBindingV1',
62
+ 'IdentityCustodyStoresV1',
63
+ 'IdentityCustodySchemaAssetV1',
64
+ 'IdentityCustodySchemaReceiptV1',
65
+ 'IdentityCustodyErrorCodeV1',
66
+ ], ['IdentityUnitOfWorkV1', 'PostgresIdentityHostV1', 'SqliteIdentityHostV1'], ['createPostgresIdentityUnitOfWorkV1', 'createSqliteIdentityUnitOfWorkV1', 'bindPostgresIdentityTransactionV1', 'bindSqliteIdentityTransactionV1', 'createPostgresIdentityCustodyStoresV1', 'createSqliteIdentityCustodyStoresV1', 'identityCustodySchemaAssetV1', 'applyPostgresIdentityCustodySchemaV1', 'applySqliteIdentityCustodySchemaV1']),
67
+ descriptor('revocation_delivery', '1.1.0', ['IdentityRevocationTargetKindV1', 'IdentityExternalRevocationDraftV1', 'IdentityExternalRevocationV1', 'IdentityRevocationClaimV1', 'ConnectorRevocationCustodyReferenceV1', 'ConnectorRevocationCaptureV1'], ['IdentityRevocationOutboxPortV1', 'IdentityRevocationDeliveryPortV1', 'ConnectorRevocationCustodyPortV1'], ['acknowledgeIdentityRevocationV1']),
68
+ descriptor('atomic_person_deletion', '2.0.0', [
69
+ 'BusinessDeletionHandlerIdV1',
70
+ 'PersonDeletionCommandV2',
71
+ 'BusinessDeletionPlanV1',
72
+ 'BusinessDeletionReceiptV1',
73
+ 'IdentityCleanupReceiptV1',
74
+ 'AtomicRevocationStepOutcomeV2',
75
+ 'AtomicRevocationDetailV2',
76
+ 'AtomicRevocationStepReceiptV2',
77
+ 'PersonDeletionReceiptV2',
78
+ 'IdentityDeletionOperationV2',
79
+ 'IdentityDeletionAttemptV2',
80
+ ], ['AtomicPersonDeletionV2', 'BusinessDeletionPortV1', 'PersonDeletionAuthorizationPortV1', 'PersonDeletionPlanePortV2', 'PersonOrphanCleanupPortV1', 'IdentityDeletionJournalPortV2'], ['createAtomicPersonDeletionV2']),
81
+ ];
82
+ export const identityAmendmentDescriptorV1 = (domain) => IDENTITY_A20B_DESCRIPTORS.find((entry) => entry.domain === domain);
83
+ //# sourceMappingURL=custody-descriptors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custody-descriptors.js","sourceRoot":"","sources":["../../src/identity-contracts/custody-descriptors.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,yEAAyE;AACzE,oCAAoC;AAEpC,MAAM,CAAC,MAAM,iCAAiC,GAAG,OAAgB,CAAC;AAClE,MAAM,CAAC,MAAM,yCAAyC,GAAG,OAAgB,CAAC;AA4B1E,MAAM,UAAU,GAAG,CACjB,MAAiC,EACjC,OAA0B,EAC1B,OAA0B,EAC1B,KAAwB,EACxB,YAA+B,EAAE,EACF,EAAE,CAAC,CAAC;IACnC,MAAM;IACN,OAAO;IACP,mBAAmB,EAAE,OAAO;IAC5B,SAAS,EAAE,OAAO;IAClB,MAAM,EAAE,eAAe;IACvB,QAAQ,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;IAChC,OAAO;IACP,KAAK;IACL,SAAS;IACT,SAAS,EAAE,wBAAwB;CACpC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAA6C;IACjF,UAAU,CACR,gCAAgC,EAChC,OAAO,EACP,CAAC,0BAA0B,CAAC,EAC5B,CAAC,+BAA+B,EAAE,gCAAgC,CAAC,CACpE;IACD,UAAU,CACR,kBAAkB,EAClB,OAAO,EACP,CAAC,sBAAsB,CAAC,EACxB,CAAC,2BAA2B,CAAC,CAC9B;IACD,UAAU,CACR,mBAAmB,EACnB,OAAO,EACP;QACE,kBAAkB;QAClB,sBAAsB;QACtB,qBAAqB;QACrB,sBAAsB;QACtB,qBAAqB;QACrB,kBAAkB;QAClB,kBAAkB;QAClB,kBAAkB;QAClB,uBAAuB;QACvB,2BAA2B;QAC3B,4BAA4B;KAC7B,EACD;QACE,uBAAuB;QACvB,gCAAgC;QAChC,sBAAsB;QACtB,gCAAgC;KACjC,CACF;IACD,UAAU,CACR,oBAAoB,EACpB,OAAO,EACP,CAAC,oBAAoB,EAAE,0BAA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AAE,OAAO,EAC9B,CAAC,gCAAgC,EAAE,mCAAmC,EAAE,8BAA8B,EAAE,2BAA2B,EAAE,uCAAuC,EAAE,8BAA8B,CAAC,EAC7M,CAAC,gCAAgC,EAAE,kCAAkC,EAAE,kCAAkC,CAAC,EAC1G,CAAC,iCAAiC,CAAC,CACpC;IACD,UAAU,CACR,wBAAwB,EACxB,OAAO,EACP;QACE,6BAA6B;QAC7B,yBAAyB;QACzB,wBAAwB;QACxB,2BAA2B;QAC3B,0BAA0B;QAC1B,+BAA+B;QAC/B,0BAA0B;QAC1B,+BAA+B;QAC/B,yBAAyB;QACzB,6BAA6B;QAC7B,2BAA2B;KAC5B,EACD,CAAC,wBAAwB,EAAE,wBAAwB,EAAE,mCAAmC,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,+BAA+B,CAAC,EACpL,CAAC,8BAA8B,CAAC,CACjC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,MAAiC,EACU,EAAE,CAC7C,yBAAyB,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ export type IdentityCustodyErrorCodeV1 = 'identity_contract_unavailable' | 'identity_material_invalid' | 'identity_material_missing' | 'identity_record_conflict' | 'identity_subject_retired' | 'webauthn_credential_conflict' | 'webauthn_counter_rejected' | 'webauthn_credential_stale' | 'proof_state_conflict' | 'proof_binding_mismatch' | 'login_binding_mismatch' | 'login_refresh_conflict' | 'social_subject_conflict' | 'identity_import_conflict' | 'identity_import_invalid' | 'identity_transaction_unbound' | 'identity_transaction_indeterminate' | 'identity_cascade_participant_missing' | 'identity_cascade_step_failed' | 'identity_cascade_diagnostic_failed' | 'identity_delivery_claim_conflict' | 'identity_revocation_custody_missing' | 'identity_revocation_custody_invalid' | 'identity_orphan_detected' | 'identity_operation_conflict' | 'identity_workspace_admin_required' | 'identity_sync_conflict' | 'identity_sync_invalid';
2
+ export declare class IdentityCustodyErrorV1 extends Error {
3
+ readonly code: IdentityCustodyErrorCodeV1;
4
+ readonly retryable: boolean;
5
+ readonly operationId: string | undefined;
6
+ constructor(code: IdentityCustodyErrorCodeV1, options?: {
7
+ readonly retryable?: boolean;
8
+ readonly operationId?: string;
9
+ });
10
+ }
11
+ export interface ScrubbedIdentityError {
12
+ readonly code: string;
13
+ readonly reason?: string;
14
+ }
15
+ /**
16
+ * Log-safe projection of any thrown value. Only allowlisted codes and fixed
17
+ * custody messages survive; raw messages, causes, SQL parameters and driver
18
+ * errors are never returned.
19
+ */
20
+ export declare const scrubIdentityErrorForLog: (error: unknown) => ScrubbedIdentityError;
21
+ //# sourceMappingURL=custody-errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custody-errors.d.ts","sourceRoot":"","sources":["../../src/identity-contracts/custody-errors.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,0BAA0B,GAClC,+BAA+B,GAC/B,2BAA2B,GAC3B,2BAA2B,GAC3B,0BAA0B,GAC1B,0BAA0B,GAC1B,8BAA8B,GAC9B,2BAA2B,GAC3B,2BAA2B,GAC3B,sBAAsB,GACtB,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,yBAAyB,GACzB,0BAA0B,GAC1B,yBAAyB,GACzB,8BAA8B,GAC9B,oCAAoC,GACpC,sCAAsC,GACtC,8BAA8B,GAC9B,oCAAoC,GACpC,kCAAkC,GAClC,qCAAqC,GACrC,qCAAqC,GACrC,0BAA0B,GAC1B,6BAA6B,GAC7B,mCAAmC,GACnC,wBAAwB,GACxB,uBAAuB,CAAC;AAiC5B,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,QAAQ,CAAC,IAAI,EAAE,0BAA0B,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;gBAGvC,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;CAQ5E;AAoBD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,UAAW,OAAO,KAAG,qBAUzD,CAAC"}
@@ -0,0 +1,80 @@
1
+ // A2.0b custody errors: one typed error for every new failure. Messages are
2
+ // fixed by code; they never interpolate SQL parameters, ids, emails, digests,
3
+ // tokens, provider subjects or custody material.
4
+ const FIXED_MESSAGES = {
5
+ identity_contract_unavailable: 'Identity custody contract is unavailable for this composition',
6
+ identity_material_invalid: 'Identity material is invalid',
7
+ identity_material_missing: 'Identity material is missing for this authentication',
8
+ identity_record_conflict: 'Identity record conflicts with stored material',
9
+ identity_subject_retired: 'Identity subject is retired',
10
+ webauthn_credential_conflict: 'WebAuthn credential id is already registered',
11
+ webauthn_counter_rejected: 'WebAuthn counter transition is rejected',
12
+ webauthn_credential_stale: 'WebAuthn credential snapshot is stale',
13
+ proof_state_conflict: 'Single-use proof revision conflicts with stored state',
14
+ proof_binding_mismatch: 'Single-use proof binding does not match',
15
+ login_binding_mismatch: 'Login binding does not match stored session material',
16
+ login_refresh_conflict: 'Refresh token rotation conflicts with stored material',
17
+ social_subject_conflict: 'Social subject is already linked to a stored account',
18
+ identity_import_conflict: 'Import row conflicts with stored material',
19
+ identity_import_invalid: 'Import row is invalid',
20
+ identity_transaction_unbound: 'Identity store cannot join the active transaction',
21
+ identity_transaction_indeterminate: 'Identity transaction outcome is indeterminate',
22
+ identity_cascade_participant_missing: 'Required deletion participant is missing',
23
+ identity_cascade_step_failed: 'Required deletion step failed',
24
+ identity_cascade_diagnostic_failed: 'Deletion diagnostic persistence failed',
25
+ identity_delivery_claim_conflict: 'Delivery claim is superseded or expired',
26
+ identity_revocation_custody_missing: 'Revocation custody material is missing',
27
+ identity_revocation_custody_invalid: 'Revocation custody material is invalid',
28
+ identity_orphan_detected: 'Orphan identity or business reference detected',
29
+ identity_operation_conflict: 'Operation id conflicts with a different command',
30
+ identity_workspace_admin_required: 'Workspace administration is required for this operation.',
31
+ identity_sync_conflict: 'Replica sync row conflicts with stored material',
32
+ identity_sync_invalid: 'Replica sync row is invalid',
33
+ };
34
+ export class IdentityCustodyErrorV1 extends Error {
35
+ code;
36
+ retryable;
37
+ operationId;
38
+ constructor(code, options) {
39
+ super(FIXED_MESSAGES[code]);
40
+ this.name = 'IdentityCustodyErrorV1';
41
+ this.code = code;
42
+ this.retryable = options?.retryable ?? false;
43
+ this.operationId = options?.operationId;
44
+ }
45
+ }
46
+ /** Allowlisted frozen error codes that may cross the log boundary. */
47
+ const FROZEN_LOG_ALLOWLIST = new Set([
48
+ 'identity_not_found',
49
+ 'identity_conflict',
50
+ 'account_not_active',
51
+ 'invalid_account_transition',
52
+ 'tenant_not_active',
53
+ 'tenant_offboard_blocked',
54
+ 'invalid_membership_transition',
55
+ 'invitation_invalid',
56
+ 'login_session_invalid',
57
+ 'device_code_invalid',
58
+ 'workspace_already_enrolled',
59
+ 'self_action_forbidden',
60
+ 'admin_user_protected',
61
+ 'proof_verification_failed',
62
+ ]);
63
+ /**
64
+ * Log-safe projection of any thrown value. Only allowlisted codes and fixed
65
+ * custody messages survive; raw messages, causes, SQL parameters and driver
66
+ * errors are never returned.
67
+ */
68
+ export const scrubIdentityErrorForLog = (error) => {
69
+ if (error instanceof IdentityCustodyErrorV1)
70
+ return { code: error.code };
71
+ if (typeof error === 'object' && error !== null && 'code' in error) {
72
+ const code = error.code;
73
+ if (typeof code === 'string' && FROZEN_LOG_ALLOWLIST.has(code)) {
74
+ const reason = error.reason;
75
+ return typeof reason === 'string' ? { code, reason } : { code };
76
+ }
77
+ }
78
+ return { code: 'internal' };
79
+ };
80
+ //# sourceMappingURL=custody-errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custody-errors.js","sourceRoot":"","sources":["../../src/identity-contracts/custody-errors.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,8EAA8E;AAC9E,iDAAiD;AAgCjD,MAAM,cAAc,GAAyD;IAC3E,6BAA6B,EAAE,+DAA+D;IAC9F,yBAAyB,EAAE,8BAA8B;IACzD,yBAAyB,EAAE,sDAAsD;IACjF,wBAAwB,EAAE,gDAAgD;IAC1E,wBAAwB,EAAE,6BAA6B;IACvD,4BAA4B,EAAE,8CAA8C;IAC5E,yBAAyB,EAAE,yCAAyC;IACpE,yBAAyB,EAAE,uCAAuC;IAClE,oBAAoB,EAAE,uDAAuD;IAC7E,sBAAsB,EAAE,yCAAyC;IACjE,sBAAsB,EAAE,sDAAsD;IAC9E,sBAAsB,EAAE,uDAAuD;IAC/E,uBAAuB,EAAE,sDAAsD;IAC/E,wBAAwB,EAAE,2CAA2C;IACrE,uBAAuB,EAAE,uBAAuB;IAChD,4BAA4B,EAAE,mDAAmD;IACjF,kCAAkC,EAAE,+CAA+C;IACnF,oCAAoC,EAAE,0CAA0C;IAChF,4BAA4B,EAAE,+BAA+B;IAC7D,kCAAkC,EAAE,wCAAwC;IAC5E,gCAAgC,EAAE,yCAAyC;IAC3E,mCAAmC,EAAE,wCAAwC;IAC7E,mCAAmC,EAAE,wCAAwC;IAC7E,wBAAwB,EAAE,gDAAgD;IAC1E,2BAA2B,EAAE,iDAAiD;IAC9E,iCAAiC,EAAE,0DAA0D;IAC7F,sBAAsB,EAAE,iDAAiD;IACzE,qBAAqB,EAAE,6BAA6B;CACrD,CAAC;AAEF,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IACtC,IAAI,CAA6B;IACjC,SAAS,CAAU;IACnB,WAAW,CAAqB;IAEzC,YACE,IAAgC,EAChC,OAAyE;QAEzE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;QAC5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IdentityDeletionAttemptV2, IdentityDeletionOperationV2, IdentityExternalRevocationV1, IdentityRevocationClaimV1, IdentityTransactionV1, BusinessDeletionPlanV1, PersonDeletionCommandV2, PersonDeletionReceiptV2 } from './custody.js';
2
+ import type { RevocationStepKind, UserAccount } from './types.js';
3
+ export interface IdentitySubjectLifecyclePortV1 {
4
+ register(account: UserAccount, profile: IdentityAccountProfileV1): Promise<void>;
5
+ updateEmail(userId: string, email: string, at: string): Promise<UserAccount>;
6
+ }
7
+ export interface IdentityCleanupReceiptV1 {
8
+ readonly deletedByTable: Readonly<Record<string, number>>;
9
+ readonly detachedByTable: Readonly<Record<string, number>>;
10
+ readonly remainingLiveReferences: number;
11
+ }
12
+ export interface PersonOrphanCleanupPortV1 {
13
+ deleteSubjectReferences(input: {
14
+ readonly userId: string;
15
+ readonly accountEmail: string | null;
16
+ readonly workspaceIdsToDelete: readonly string[];
17
+ readonly at: string;
18
+ }): Promise<IdentityCleanupReceiptV1>;
19
+ assertNoLiveReferences(input: {
20
+ readonly userId: string;
21
+ readonly accountEmail: string | null;
22
+ readonly deletedWorkspaceIds: readonly string[];
23
+ }): Promise<void>;
24
+ }
25
+ export interface IdentityDeletionJournalPortV2 {
26
+ reserve(record: IdentityDeletionOperationV2): Promise<IdentityDeletionOperationV2>;
27
+ find(operationId: string): Promise<IdentityDeletionOperationV2 | null>;
28
+ lock(operationId: string): Promise<IdentityDeletionOperationV2 | null>;
29
+ markCommitted(operationId: string, receipt: PersonDeletionReceiptV2): Promise<void>;
30
+ appendRolledBack(attemptId: string, receipt: PersonDeletionReceiptV2): Promise<void>;
31
+ listAttempts(operationId: string): Promise<readonly IdentityDeletionAttemptV2[]>;
32
+ }
33
+ export type IdentityRevocationTargetKindV1 = 'login_session' | 'subject' | 'connector_grant' | 'plane_resource';
34
+ export interface IdentityExternalRevocationDraftV1 {
35
+ readonly step: RevocationStepKind;
36
+ readonly subjectId: string;
37
+ readonly targetKind: IdentityRevocationTargetKindV1;
38
+ readonly targetRef: string;
39
+ readonly custodyRef: string | null;
40
+ }
41
+ export interface IdentityRevocationOutboxPortV1 {
42
+ enqueue(record: IdentityExternalRevocationV1): Promise<void>;
43
+ find(deliveryId: string): Promise<IdentityExternalRevocationV1 | null>;
44
+ listPending(operationId: string): Promise<readonly IdentityExternalRevocationV1[]>;
45
+ claimPending(input: {
46
+ readonly workerId: string;
47
+ readonly now: string;
48
+ readonly leaseUntil: string;
49
+ readonly limit: number;
50
+ }): Promise<readonly IdentityRevocationClaimV1[]>;
51
+ acknowledge(input: {
52
+ readonly deliveryId: string;
53
+ readonly workerId: string;
54
+ readonly claimVersion: number;
55
+ readonly at: string;
56
+ }): Promise<void>;
57
+ release(input: {
58
+ readonly deliveryId: string;
59
+ readonly workerId: string;
60
+ readonly claimVersion: number;
61
+ readonly at: string;
62
+ readonly nextAttemptAt: string;
63
+ }): Promise<void>;
64
+ }
65
+ export interface IdentityRevocationDeliveryPortV1 {
66
+ deliver(record: IdentityExternalRevocationV1): Promise<void>;
67
+ }
68
+ export interface PersonDeletionAuthorizationPortV1<H> {
69
+ assertAllowed(command: PersonDeletionCommandV2, tx: IdentityTransactionV1<H>): Promise<void>;
70
+ }
71
+ export interface PersonDeletionPlanePortV2<H> {
72
+ readonly step: Exclude<RevocationStepKind, 'login_sessions' | 'tenant_memberships' | 'account'>;
73
+ readonly placement: 'present' | 'absent';
74
+ apply(command: PersonDeletionCommandV2, plan: BusinessDeletionPlanV1, tx: IdentityTransactionV1<H>): Promise<readonly IdentityExternalRevocationDraftV1[]>;
75
+ assertDeliveryInScope(command: PersonDeletionCommandV2, plan: BusinessDeletionPlanV1, draft: IdentityExternalRevocationDraftV1, tx: IdentityTransactionV1<H>): Promise<void>;
76
+ assertAbsent(command: PersonDeletionCommandV2, plan: BusinessDeletionPlanV1, tx: IdentityTransactionV1<H>): Promise<void>;
77
+ }
78
+ export type AtomicRevocationDetailV2 = 'local_effects_committed' | 'external_delivery_pending' | 'external_delivery_complete' | 'required_local_step_failed' | 'transaction_rolled_back' | 'not_attempted_after_failure' | 'plane_absent';
79
+ //# sourceMappingURL=custody-operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custody-operations.d.ts","sourceRoot":"","sources":["../../src/identity-contracts/custody-operations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EAAE,yBAAyB,EAAE,2BAA2B,EAChF,4BAA4B,EAAE,yBAAyB,EAAE,qBAAqB,EAC9E,sBAAsB,EAAE,uBAAuB,EAAE,uBAAuB,EACzE,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAElE,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;CAC9E;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1D,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3D,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;CAC1C;AAED,MAAM,WAAW,yBAAyB;IACxC,uBAAuB,CAAC,KAAK,EAAE;QAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9D,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;KACvE,GAAG,OAAO,CAAC,wBAAwB,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,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9F;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC;IAC1C,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,kBAAkB,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAChG,QAAQ,CAAC,SAAS,EAAE,SAAS,GAAG,QAAQ,CAAC;IACzC,KAAK,CAAC,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,sBAAsB,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,SAAS,iCAAiC,EAAE,CAAC,CAAC;IAC3J,qBAAqB,CAAC,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,iCAAiC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7K,YAAY,CAAC,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,sBAAsB,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3H;AAED,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,GAAG,2BAA2B,GAAG,4BAA4B,GACzH,4BAA4B,GAAG,yBAAyB,GAAG,6BAA6B,GAAG,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=custody-operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custody-operations.js","sourceRoot":"","sources":["../../src/identity-contracts/custody-operations.ts"],"names":[],"mappings":""}