@codemem/core 0.49.0 → 0.50.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/dist/api-types.d.ts +7 -0
  2. package/dist/api-types.d.ts.map +1 -1
  3. package/dist/better-sqlite-coordinator-runtime.d.ts.map +1 -1
  4. package/dist/better-sqlite-coordinator-store.d.ts +56 -3
  5. package/dist/better-sqlite-coordinator-store.d.ts.map +1 -1
  6. package/dist/boundary-readiness-inventory.d.ts +27 -0
  7. package/dist/boundary-readiness-inventory.d.ts.map +1 -0
  8. package/dist/coordinator-account-link-receiver.d.ts +15 -0
  9. package/dist/coordinator-account-link-receiver.d.ts.map +1 -1
  10. package/dist/coordinator-account-link-status-client.d.ts +1 -1
  11. package/dist/coordinator-account-link-status-client.d.ts.map +1 -1
  12. package/dist/coordinator-actions.d.ts +12 -0
  13. package/dist/coordinator-actions.d.ts.map +1 -1
  14. package/dist/coordinator-api.d.ts +7 -0
  15. package/dist/coordinator-api.d.ts.map +1 -1
  16. package/dist/coordinator-auth-historical-store-test-fixture.d.ts.map +1 -1
  17. package/dist/coordinator-auth-link-revocation-test-harness.d.ts.map +1 -1
  18. package/dist/coordinator-auth-schema-stage.d.ts +14 -2
  19. package/dist/coordinator-auth-schema-stage.d.ts.map +1 -1
  20. package/dist/coordinator-block-tombstone-test-harness.d.ts +3 -0
  21. package/dist/coordinator-block-tombstone-test-harness.d.ts.map +1 -0
  22. package/dist/coordinator-bootstrap-authorization-api-test-harness.d.ts.map +1 -1
  23. package/dist/coordinator-bootstrap-authorization-test-harness.d.ts.map +1 -1
  24. package/dist/coordinator-bootstrap-revocation-test-harness.d.ts.map +1 -1
  25. package/dist/coordinator-boundary-readiness-client.d.ts +35 -0
  26. package/dist/coordinator-boundary-readiness-client.d.ts.map +1 -0
  27. package/dist/coordinator-boundary-readiness-route.d.ts +52 -0
  28. package/dist/coordinator-boundary-readiness-route.d.ts.map +1 -0
  29. package/dist/coordinator-boundary-readiness-test-harness.d.ts +15 -0
  30. package/dist/coordinator-boundary-readiness-test-harness.d.ts.map +1 -0
  31. package/dist/coordinator-boundary-readiness.d.ts +161 -0
  32. package/dist/coordinator-boundary-readiness.d.ts.map +1 -0
  33. package/dist/coordinator-browser-auth-app.d.ts +1 -1
  34. package/dist/coordinator-browser-auth-app.d.ts.map +1 -1
  35. package/dist/coordinator-browser-auth-callback.d.ts +2 -1
  36. package/dist/coordinator-browser-auth-callback.d.ts.map +1 -1
  37. package/dist/coordinator-controller-revocation-test-harness.d.ts.map +1 -1
  38. package/dist/coordinator-d1-schema-inventory.d.ts +2 -0
  39. package/dist/coordinator-d1-schema-inventory.d.ts.map +1 -1
  40. package/dist/coordinator-d1-scope-authorization-test-harness.d.ts.map +1 -1
  41. package/dist/coordinator-device-auth-link.d.ts +1 -0
  42. package/dist/coordinator-device-auth-link.d.ts.map +1 -1
  43. package/dist/coordinator-device-rejoin-browser-evidence.d.ts +28 -0
  44. package/dist/coordinator-device-rejoin-browser-evidence.d.ts.map +1 -0
  45. package/dist/coordinator-device-rejoin-browser-transaction-test-harness.d.ts +8 -0
  46. package/dist/coordinator-device-rejoin-browser-transaction-test-harness.d.ts.map +1 -0
  47. package/dist/coordinator-device-rejoin-browser-transaction.d.ts +43 -0
  48. package/dist/coordinator-device-rejoin-browser-transaction.d.ts.map +1 -0
  49. package/dist/coordinator-device-rejoin-browser-view.d.ts +30 -0
  50. package/dist/coordinator-device-rejoin-browser-view.d.ts.map +1 -0
  51. package/dist/coordinator-device-rejoin-browser.d.ts +26 -0
  52. package/dist/coordinator-device-rejoin-browser.d.ts.map +1 -0
  53. package/dist/coordinator-device-rejoin-client-requests.d.ts +70 -0
  54. package/dist/coordinator-device-rejoin-client-requests.d.ts.map +1 -0
  55. package/dist/coordinator-device-rejoin-client.d.ts +15 -0
  56. package/dist/coordinator-device-rejoin-client.d.ts.map +1 -0
  57. package/dist/coordinator-device-rejoin-confirmation-test-harness.d.ts +22 -0
  58. package/dist/coordinator-device-rejoin-confirmation-test-harness.d.ts.map +1 -0
  59. package/dist/coordinator-device-rejoin-confirmation.d.ts +18 -0
  60. package/dist/coordinator-device-rejoin-confirmation.d.ts.map +1 -0
  61. package/dist/coordinator-device-rejoin-destinations-test-harness.d.ts +7 -0
  62. package/dist/coordinator-device-rejoin-destinations-test-harness.d.ts.map +1 -0
  63. package/dist/coordinator-device-rejoin-destinations.d.ts +25 -0
  64. package/dist/coordinator-device-rejoin-destinations.d.ts.map +1 -0
  65. package/dist/coordinator-device-rejoin-display.d.ts +14 -0
  66. package/dist/coordinator-device-rejoin-display.d.ts.map +1 -0
  67. package/dist/coordinator-device-rejoin-event-client.d.ts +30 -0
  68. package/dist/coordinator-device-rejoin-event-client.d.ts.map +1 -0
  69. package/dist/coordinator-device-rejoin-events.d.ts +7 -0
  70. package/dist/coordinator-device-rejoin-events.d.ts.map +1 -0
  71. package/dist/coordinator-device-rejoin-finalize-test-harness.d.ts +14 -0
  72. package/dist/coordinator-device-rejoin-finalize-test-harness.d.ts.map +1 -0
  73. package/dist/coordinator-device-rejoin-finalize.d.ts +36 -0
  74. package/dist/coordinator-device-rejoin-finalize.d.ts.map +1 -0
  75. package/dist/coordinator-device-rejoin-http.d.ts +11 -0
  76. package/dist/coordinator-device-rejoin-http.d.ts.map +1 -0
  77. package/dist/coordinator-device-rejoin-link-evidence-test-harness.d.ts +17 -0
  78. package/dist/coordinator-device-rejoin-link-evidence-test-harness.d.ts.map +1 -0
  79. package/dist/coordinator-device-rejoin-link-evidence.d.ts +29 -0
  80. package/dist/coordinator-device-rejoin-link-evidence.d.ts.map +1 -0
  81. package/dist/coordinator-device-rejoin-link-lineage.d.ts +7 -0
  82. package/dist/coordinator-device-rejoin-link-lineage.d.ts.map +1 -0
  83. package/dist/coordinator-device-rejoin-oidc-pins.d.ts +14 -0
  84. package/dist/coordinator-device-rejoin-oidc-pins.d.ts.map +1 -0
  85. package/dist/coordinator-device-rejoin-proof.d.ts +41 -0
  86. package/dist/coordinator-device-rejoin-proof.d.ts.map +1 -0
  87. package/dist/coordinator-device-rejoin-schema-test-harness.d.ts +8 -0
  88. package/dist/coordinator-device-rejoin-schema-test-harness.d.ts.map +1 -0
  89. package/dist/coordinator-device-rejoin-schema.d.ts +9 -0
  90. package/dist/coordinator-device-rejoin-schema.d.ts.map +1 -0
  91. package/dist/coordinator-device-rejoin-start-evidence-test-harness.d.ts +40 -0
  92. package/dist/coordinator-device-rejoin-start-evidence-test-harness.d.ts.map +1 -0
  93. package/dist/coordinator-device-rejoin-start-evidence.d.ts +25 -0
  94. package/dist/coordinator-device-rejoin-start-evidence.d.ts.map +1 -0
  95. package/dist/coordinator-device-rejoin-start-http.d.ts +12 -0
  96. package/dist/coordinator-device-rejoin-start-http.d.ts.map +1 -0
  97. package/dist/coordinator-device-rejoin-start-input.d.ts +23 -0
  98. package/dist/coordinator-device-rejoin-start-input.d.ts.map +1 -0
  99. package/dist/coordinator-device-rejoin-start-write.d.ts +38 -0
  100. package/dist/coordinator-device-rejoin-start-write.d.ts.map +1 -0
  101. package/dist/coordinator-device-rejoin-status-http.d.ts +10 -0
  102. package/dist/coordinator-device-rejoin-status-http.d.ts.map +1 -0
  103. package/dist/coordinator-device-rejoin-status-live-test-harness.d.ts +33 -0
  104. package/dist/coordinator-device-rejoin-status-live-test-harness.d.ts.map +1 -0
  105. package/dist/coordinator-device-rejoin-status-projection.d.ts +28 -0
  106. package/dist/coordinator-device-rejoin-status-projection.d.ts.map +1 -0
  107. package/dist/coordinator-device-rejoin-status-test-harness.d.ts +8 -0
  108. package/dist/coordinator-device-rejoin-status-test-harness.d.ts.map +1 -0
  109. package/dist/coordinator-device-rejoin-status.d.ts +39 -0
  110. package/dist/coordinator-device-rejoin-status.d.ts.map +1 -0
  111. package/dist/coordinator-device-removal-commands.d.ts +13 -0
  112. package/dist/coordinator-device-removal-commands.d.ts.map +1 -0
  113. package/dist/coordinator-device-removal-commit-test-harness.d.ts +3 -0
  114. package/dist/coordinator-device-removal-commit-test-harness.d.ts.map +1 -0
  115. package/dist/coordinator-device-removal-commit.d.ts +44 -0
  116. package/dist/coordinator-device-removal-commit.d.ts.map +1 -0
  117. package/dist/coordinator-device-removal-dependents-test-harness.d.ts +9 -0
  118. package/dist/coordinator-device-removal-dependents-test-harness.d.ts.map +1 -0
  119. package/dist/coordinator-device-removal-dependents.d.ts +34 -0
  120. package/dist/coordinator-device-removal-dependents.d.ts.map +1 -0
  121. package/dist/coordinator-device-removal-list-test-harness.d.ts +4 -0
  122. package/dist/coordinator-device-removal-list-test-harness.d.ts.map +1 -0
  123. package/dist/coordinator-device-removal-list.d.ts +40 -0
  124. package/dist/coordinator-device-removal-list.d.ts.map +1 -0
  125. package/dist/coordinator-device-removal-preview-test-harness.d.ts +9 -0
  126. package/dist/coordinator-device-removal-preview-test-harness.d.ts.map +1 -0
  127. package/dist/coordinator-device-removal-routes.d.ts +13 -0
  128. package/dist/coordinator-device-removal-routes.d.ts.map +1 -0
  129. package/dist/coordinator-device-removal-target.d.ts +98 -0
  130. package/dist/coordinator-device-removal-target.d.ts.map +1 -0
  131. package/dist/coordinator-device-removal-test-harness.d.ts +70 -0
  132. package/dist/coordinator-device-removal-test-harness.d.ts.map +1 -0
  133. package/dist/coordinator-device-removal-writer-test-harness.d.ts +8 -0
  134. package/dist/coordinator-device-removal-writer-test-harness.d.ts.map +1 -0
  135. package/dist/coordinator-device-removal.d.ts +233 -0
  136. package/dist/coordinator-device-removal.d.ts.map +1 -0
  137. package/dist/coordinator-device-revocation-client.d.ts +2 -0
  138. package/dist/coordinator-device-revocation-client.d.ts.map +1 -1
  139. package/dist/coordinator-device-revocation-handler-test-harness.d.ts.map +1 -1
  140. package/dist/coordinator-device-revocation-handler.d.ts +1 -1
  141. package/dist/coordinator-device-revocation-handler.d.ts.map +1 -1
  142. package/dist/coordinator-device-revocation-route.d.ts.map +1 -1
  143. package/dist/coordinator-device-revocation-test-harness.d.ts.map +1 -1
  144. package/dist/coordinator-device-revocation.d.ts +20 -2
  145. package/dist/coordinator-device-revocation.d.ts.map +1 -1
  146. package/dist/coordinator-enrollment-reconciler.d.ts.map +1 -1
  147. package/dist/coordinator-enrollment-test-fixtures.d.ts +126 -0
  148. package/dist/coordinator-enrollment-test-fixtures.d.ts.map +1 -0
  149. package/dist/coordinator-history-sql-equivalence-test-fixtures.d.ts +1 -1
  150. package/dist/coordinator-history-sql-equivalence-test-fixtures.d.ts.map +1 -1
  151. package/dist/coordinator-identity-grant-revocation-test-harness.d.ts.map +1 -1
  152. package/dist/coordinator-identity-group-grant-test-harness.d.ts.map +1 -1
  153. package/dist/coordinator-invitation-lift-test-harness.d.ts +6 -0
  154. package/dist/coordinator-invitation-lift-test-harness.d.ts.map +1 -0
  155. package/dist/coordinator-invitation-removal.d.ts +71 -0
  156. package/dist/coordinator-invitation-removal.d.ts.map +1 -0
  157. package/dist/coordinator-join-review-guards.d.ts +2 -0
  158. package/dist/coordinator-join-review-guards.d.ts.map +1 -1
  159. package/dist/coordinator-join-revocation-test-harness.d.ts.map +1 -1
  160. package/dist/coordinator-key-id-fill-api-test-harness.d.ts +12 -0
  161. package/dist/coordinator-key-id-fill-api-test-harness.d.ts.map +1 -0
  162. package/dist/coordinator-key-id-fill-api.d.ts +19 -0
  163. package/dist/coordinator-key-id-fill-api.d.ts.map +1 -0
  164. package/dist/coordinator-legacy-device-ownership.d.ts +66 -5
  165. package/dist/coordinator-legacy-device-ownership.d.ts.map +1 -1
  166. package/dist/coordinator-legacy-owner-compatibility.d.ts +3 -0
  167. package/dist/coordinator-legacy-owner-compatibility.d.ts.map +1 -1
  168. package/dist/coordinator-membership-enrollment-test-harness.d.ts +4 -0
  169. package/dist/coordinator-membership-enrollment-test-harness.d.ts.map +1 -0
  170. package/dist/coordinator-membership-enrollment.d.ts +15 -0
  171. package/dist/coordinator-membership-enrollment.d.ts.map +1 -0
  172. package/dist/coordinator-owner-enrollment-commit.d.ts +1 -1
  173. package/dist/coordinator-owner-enrollment-commit.d.ts.map +1 -1
  174. package/dist/coordinator-owner-enrollment-qualification-test-harness.d.ts.map +1 -1
  175. package/dist/coordinator-owner-enrollment-qualification.d.ts +1 -0
  176. package/dist/coordinator-owner-enrollment-qualification.d.ts.map +1 -1
  177. package/dist/coordinator-owner-resolution-review-test-fixtures.d.ts.map +1 -1
  178. package/dist/coordinator-peer-discovery-revocation-test-harness.d.ts.map +1 -1
  179. package/dist/coordinator-peer-removal-api-test-harness.d.ts +29 -0
  180. package/dist/coordinator-peer-removal-api-test-harness.d.ts.map +1 -0
  181. package/dist/coordinator-peer-removal-query-test-harness.d.ts +4 -0
  182. package/dist/coordinator-peer-removal-query-test-harness.d.ts.map +1 -0
  183. package/dist/coordinator-peer-removal-query.d.ts +32 -0
  184. package/dist/coordinator-peer-removal-query.d.ts.map +1 -0
  185. package/dist/coordinator-peer-revocation-route.d.ts +45 -0
  186. package/dist/coordinator-peer-revocation-route.d.ts.map +1 -0
  187. package/dist/coordinator-peer-revocation.d.ts +61 -0
  188. package/dist/coordinator-peer-revocation.d.ts.map +1 -0
  189. package/dist/coordinator-presence-capabilities.d.ts +10 -0
  190. package/dist/coordinator-presence-capabilities.d.ts.map +1 -0
  191. package/dist/coordinator-project-revocation-test-harness.d.ts +1 -1
  192. package/dist/coordinator-project-revocation-test-harness.d.ts.map +1 -1
  193. package/dist/coordinator-recipient-revocation-test-harness.d.ts.map +1 -1
  194. package/dist/coordinator-refresh-lifecycle.d.ts +11 -0
  195. package/dist/coordinator-refresh-lifecycle.d.ts.map +1 -0
  196. package/dist/coordinator-rejoin-discovery.d.ts +16 -0
  197. package/dist/coordinator-rejoin-discovery.d.ts.map +1 -0
  198. package/dist/coordinator-rejoin-timestamp.d.ts +3 -0
  199. package/dist/coordinator-rejoin-timestamp.d.ts.map +1 -0
  200. package/dist/coordinator-removal-notice.d.ts +21 -0
  201. package/dist/coordinator-removal-notice.d.ts.map +1 -0
  202. package/dist/coordinator-removal-progress-listing-test-harness.d.ts +3 -0
  203. package/dist/coordinator-removal-progress-listing-test-harness.d.ts.map +1 -0
  204. package/dist/coordinator-runtime-ynLTJI6d.js +1712 -0
  205. package/dist/coordinator-runtime-ynLTJI6d.js.map +1 -0
  206. package/dist/coordinator-runtime.d.ts +20 -1
  207. package/dist/coordinator-runtime.d.ts.map +1 -1
  208. package/dist/coordinator-scope-authorization-api-test-harness.d.ts.map +1 -1
  209. package/dist/coordinator-store-contract.d.ts +21 -3
  210. package/dist/coordinator-store-contract.d.ts.map +1 -1
  211. package/dist/coordinator-store-test-harness.d.ts.map +1 -1
  212. package/dist/coordinator-sync-config.d.ts +14 -0
  213. package/dist/coordinator-sync-config.d.ts.map +1 -1
  214. package/dist/d1-coordinator-runtime.d.ts +3 -1
  215. package/dist/d1-coordinator-runtime.d.ts.map +1 -1
  216. package/dist/d1-coordinator-store.d.ts +63 -3
  217. package/dist/d1-coordinator-store.d.ts.map +1 -1
  218. package/dist/database-runtime-primitives.d.ts +1 -1
  219. package/dist/db.d.ts.map +1 -1
  220. package/dist/device-identity-binding.d.ts +24 -0
  221. package/dist/device-identity-binding.d.ts.map +1 -1
  222. package/dist/device-identity-inventory.d.ts +19 -1
  223. package/dist/device-identity-inventory.d.ts.map +1 -1
  224. package/dist/device-retirement.d.ts +43 -0
  225. package/dist/device-retirement.d.ts.map +1 -0
  226. package/dist/distill-draft.d.ts +6 -0
  227. package/dist/distill-draft.d.ts.map +1 -1
  228. package/dist/distill-judge.d.ts +1 -1
  229. package/dist/distill-judge.d.ts.map +1 -1
  230. package/dist/identity-device-assignment.d.ts +8 -0
  231. package/dist/identity-device-assignment.d.ts.map +1 -1
  232. package/dist/index.d.ts +34 -8
  233. package/dist/index.d.ts.map +1 -1
  234. package/dist/index.js +11664 -10635
  235. package/dist/index.js.map +1 -1
  236. package/dist/internal/cloudflare-coordinator.js +2317 -1542
  237. package/dist/internal/cloudflare-coordinator.js.map +1 -1
  238. package/dist/internal/relay-runtime.js +29 -29
  239. package/dist/legacy-pairing-assignment-conversion.d.ts +46 -0
  240. package/dist/legacy-pairing-assignment-conversion.d.ts.map +1 -0
  241. package/dist/legacy-pairing-assignment-state.d.ts +11 -0
  242. package/dist/legacy-pairing-assignment-state.d.ts.map +1 -0
  243. package/dist/legacy-team-setup-errors.d.ts +2 -1
  244. package/dist/legacy-team-setup-errors.d.ts.map +1 -1
  245. package/dist/local-origin-claim.d.ts +48 -0
  246. package/dist/local-origin-claim.d.ts.map +1 -0
  247. package/dist/maintenance/ai-structured.d.ts +2 -0
  248. package/dist/maintenance/ai-structured.d.ts.map +1 -1
  249. package/dist/observer-config.d.ts.map +1 -1
  250. package/dist/owned-recipient-d1-test-harness.d.ts.map +1 -1
  251. package/dist/owner-enrollment-link-authority.d.ts +1 -0
  252. package/dist/owner-enrollment-link-authority.d.ts.map +1 -1
  253. package/dist/{owner-enrollment-start-BsDwgxAh.js → owner-enrollment-start-D8QzF1Ar.js} +5548 -3637
  254. package/dist/owner-enrollment-start-D8QzF1Ar.js.map +1 -0
  255. package/dist/pairing-removal.d.ts +57 -0
  256. package/dist/pairing-removal.d.ts.map +1 -0
  257. package/dist/peer-project-filter-change.d.ts +33 -0
  258. package/dist/peer-project-filter-change.d.ts.map +1 -0
  259. package/dist/peer-project-filter-management.d.ts +7 -0
  260. package/dist/peer-project-filter-management.d.ts.map +1 -0
  261. package/dist/peer-project-filter-retention.d.ts +17 -0
  262. package/dist/peer-project-filter-retention.d.ts.map +1 -0
  263. package/dist/peer-removal-check-state.d.ts +24 -0
  264. package/dist/peer-removal-check-state.d.ts.map +1 -0
  265. package/dist/peer-removal.d.ts +34 -0
  266. package/dist/peer-removal.d.ts.map +1 -0
  267. package/dist/peer-traversal-coordinator-attempt-write-test-fixtures.d.ts.map +1 -1
  268. package/dist/peer-traversal-coordinator-decision-test-fixtures.d.ts.map +1 -1
  269. package/dist/policy-team-device-eligibility.d.ts +10 -0
  270. package/dist/policy-team-device-eligibility.d.ts.map +1 -1
  271. package/dist/project-boundary-migration-hold.d.ts +50 -0
  272. package/dist/project-boundary-migration-hold.d.ts.map +1 -0
  273. package/dist/project-boundary-migration-records.d.ts +46 -0
  274. package/dist/project-boundary-migration-records.d.ts.map +1 -0
  275. package/dist/project-filters-narrowing.d.ts +11 -0
  276. package/dist/project-filters-narrowing.d.ts.map +1 -0
  277. package/dist/project-scope-resume.d.ts +26 -0
  278. package/dist/project-scope-resume.d.ts.map +1 -0
  279. package/dist/project-scope-settings.d.ts +7 -0
  280. package/dist/project-scope-settings.d.ts.map +1 -1
  281. package/dist/project-scope-withdrawal.d.ts +48 -0
  282. package/dist/project-scope-withdrawal.d.ts.map +1 -0
  283. package/dist/project-withdrawal-state.d.ts +36 -0
  284. package/dist/project-withdrawal-state.d.ts.map +1 -0
  285. package/dist/{recipient-policy-contract-Ca40IBUh.js → recipient-policy-contract-BHxfaQZ2.js} +12 -5
  286. package/dist/recipient-policy-contract-BHxfaQZ2.js.map +1 -0
  287. package/dist/recipient-policy-contract.d.ts +7 -0
  288. package/dist/recipient-policy-contract.d.ts.map +1 -1
  289. package/dist/recipient-policy-contract.js +2 -2
  290. package/dist/recipient-policy-edges.d.ts.map +1 -1
  291. package/dist/recipient-policy-intent.d.ts +1 -0
  292. package/dist/recipient-policy-intent.d.ts.map +1 -1
  293. package/dist/recipient-policy-onboarding.d.ts.map +1 -1
  294. package/dist/recipient-policy-reconciler.d.ts.map +1 -1
  295. package/dist/recipient-policy-reconciliation.d.ts.map +1 -1
  296. package/dist/recipient-policy-team-create.d.ts +22 -0
  297. package/dist/recipient-policy-team-create.d.ts.map +1 -0
  298. package/dist/{relay-health-CeyhVeuq.js → relay-health-B8BpHFaE.js} +14 -14
  299. package/dist/{relay-health-CeyhVeuq.js.map → relay-health-B8BpHFaE.js.map} +1 -1
  300. package/dist/{relay-peer-client-j0rOyeuZ.js → relay-peer-client-w7WdS1AP.js} +3083 -2634
  301. package/dist/relay-peer-client-w7WdS1AP.js.map +1 -0
  302. package/dist/relay-server-test-fixtures.d.ts.map +1 -1
  303. package/dist/replication-cursor-orphan-cleanup.d.ts +14 -0
  304. package/dist/replication-cursor-orphan-cleanup.d.ts.map +1 -0
  305. package/dist/retired-device-aliases.d.ts +28 -0
  306. package/dist/retired-device-aliases.d.ts.map +1 -0
  307. package/dist/same-actor-peers.d.ts +5 -1
  308. package/dist/same-actor-peers.d.ts.map +1 -1
  309. package/dist/schema-bootstrap.d.ts +1 -0
  310. package/dist/schema-bootstrap.d.ts.map +1 -1
  311. package/dist/schema.d.ts +4456 -3623
  312. package/dist/schema.d.ts.map +1 -1
  313. package/dist/{scope-membership-cache-read-B6z47l2W.js → scope-resolution-B7FK15hx.js} +2242 -1608
  314. package/dist/scope-resolution-B7FK15hx.js.map +1 -0
  315. package/dist/semantic-worker-entry.js +1 -1
  316. package/dist/{semantic-worker-job-BLaC4xRY.js → semantic-worker-job-BjujlM4-.js} +3 -3
  317. package/dist/{semantic-worker-job-BLaC4xRY.js.map → semantic-worker-job-BjujlM4-.js.map} +1 -1
  318. package/dist/{semantic-worker-ranking-5-VSzEmx.js → semantic-worker-ranking-WaUCapnY.js} +66 -60
  319. package/dist/semantic-worker-ranking-WaUCapnY.js.map +1 -0
  320. package/dist/share-provisioning.d.ts +4 -0
  321. package/dist/share-provisioning.d.ts.map +1 -1
  322. package/dist/shared-owned-device-enrollment-test-harness.d.ts.map +1 -1
  323. package/dist/shared-owned-project-invites-test-harness.d.ts.map +1 -1
  324. package/dist/shared-owned-recipient-invites-test-harness.d.ts.map +1 -1
  325. package/dist/shared-ownership-writer-lifecycle-test-harness.d.ts.map +1 -1
  326. package/dist/snapshot-cross-scope-reconcile.d.ts +25 -0
  327. package/dist/snapshot-cross-scope-reconcile.d.ts.map +1 -0
  328. package/dist/{sync-auth-constants-BVzVfSmn.js → sync-auth-constants-DNUSV-Tn.js} +4482 -2842
  329. package/dist/sync-auth-constants-DNUSV-Tn.js.map +1 -0
  330. package/dist/sync-bootstrap.d.ts +2 -0
  331. package/dist/sync-bootstrap.d.ts.map +1 -1
  332. package/dist/sync-capability.d.ts +1 -1
  333. package/dist/sync-capability.d.ts.map +1 -1
  334. package/dist/sync-channel-pass.d.ts.map +1 -1
  335. package/dist/sync-channel-progress.d.ts +7 -0
  336. package/dist/sync-channel-progress.d.ts.map +1 -1
  337. package/dist/sync-daemon.d.ts +4 -1
  338. package/dist/sync-daemon.d.ts.map +1 -1
  339. package/dist/sync-pass.d.ts +3 -7
  340. package/dist/sync-pass.d.ts.map +1 -1
  341. package/dist/sync-peer-addresses.d.ts +4 -2
  342. package/dist/sync-peer-addresses.d.ts.map +1 -1
  343. package/dist/sync-reachability-pass-BpTtRqcV.js +2 -0
  344. package/dist/{sync-reachability-pass-Co6WjaUD.js → sync-reachability-pass-DKEORTbs.js} +2934 -2865
  345. package/dist/sync-reachability-pass-DKEORTbs.js.map +1 -0
  346. package/dist/sync-reachability-pass.d.ts.map +1 -1
  347. package/dist/sync-replication.d.ts +21 -3
  348. package/dist/sync-replication.d.ts.map +1 -1
  349. package/dist/sync-scope-protocol.d.ts.map +1 -1
  350. package/dist/test-environment-isolation.d.ts +2 -0
  351. package/dist/test-environment-isolation.d.ts.map +1 -0
  352. package/dist/test-schema.generated.d.ts +1 -1
  353. package/dist/test-schema.generated.d.ts.map +1 -1
  354. package/dist/test-utils.d.ts +4 -0
  355. package/dist/test-utils.d.ts.map +1 -1
  356. package/dist/{validated-vector-index-audit-B64yhEBF.js → validated-vector-index-audit-BtUovYuM.js} +269 -637
  357. package/dist/validated-vector-index-audit-BtUovYuM.js.map +1 -0
  358. package/dist/viewer-device-removal-commit.d.ts +56 -0
  359. package/dist/viewer-device-removal-commit.d.ts.map +1 -0
  360. package/dist/viewer-device-removal-evidence.d.ts +17 -0
  361. package/dist/viewer-device-removal-evidence.d.ts.map +1 -0
  362. package/dist/{scope-membership-semantics-B8qXaMqx.js → workspace-identity-C7EPmSZe.js} +121 -49
  363. package/dist/workspace-identity-C7EPmSZe.js.map +1 -0
  364. package/package.json +3 -3
  365. package/dist/coordinator-runtime-BYCjEE7A.js +0 -594
  366. package/dist/coordinator-runtime-BYCjEE7A.js.map +0 -1
  367. package/dist/owner-enrollment-start-BsDwgxAh.js.map +0 -1
  368. package/dist/recipient-policy-contract-Ca40IBUh.js.map +0 -1
  369. package/dist/relay-peer-client-j0rOyeuZ.js.map +0 -1
  370. package/dist/scope-membership-cache-read-B6z47l2W.js.map +0 -1
  371. package/dist/scope-membership-semantics-B8qXaMqx.js.map +0 -1
  372. package/dist/semantic-worker-ranking-5-VSzEmx.js.map +0 -1
  373. package/dist/sync-auth-constants-BVzVfSmn.js.map +0 -1
  374. package/dist/sync-reachability-pass-5bOMxdoW.js +0 -2
  375. package/dist/sync-reachability-pass-Co6WjaUD.js.map +0 -1
  376. package/dist/validated-vector-index-audit-B64yhEBF.js.map +0 -1
  377. package/dist/workspace-identity-DI8bBR0Y.js +0 -76
  378. package/dist/workspace-identity-DI8bBR0Y.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"recipient-policy-contract-Ca40IBUh.js","names":[],"sources":["../src/recipient-policy-contract.ts"],"sourcesContent":["export const RECIPIENT_POLICY_CONTRACT_VERSION = 1 as const;\n\nexport type RecipientPolicyContractVersion = typeof RECIPIENT_POLICY_CONTRACT_VERSION;\n\nexport const RECIPIENT_POLICY_TEAM_RENAME_ERROR_CODES = [\n\t\"team_name_invalid\",\n\t\"team_not_found\",\n\t\"team_rename_stale\",\n\t\"team_link_stale\",\n\t\"team_link_ambiguous\",\n\t\"team_coordinator_rename_failed\",\n\t\"team_local_rename_pending\",\n\t\"team_rename_failed\",\n] as const;\n\nexport type RecipientPolicyTeamRenameErrorCode =\n\t(typeof RECIPIENT_POLICY_TEAM_RENAME_ERROR_CODES)[number];\n\nexport interface RecipientPolicyTeamRenameResultV1 {\n\tversion: 1;\n\tteamId: string;\n\tdisplayName: string;\n\trevision: string;\n\tlinkedCoordinatorGroupRenamed: boolean;\n}\n\nexport type RecipientPolicyEdgeRecipientRefV1 =\n\t| { recipientKind: \"identity\"; identityId: string }\n\t| { recipientKind: \"team\"; teamId: string };\n\nexport interface RecipientPolicyEdgeChangeV1 {\n\tcanonicalProjectIdentity: string;\n\trecipient: RecipientPolicyEdgeRecipientRefV1;\n\taction: \"add\" | \"remove\";\n}\n\nexport interface RecipientPolicyEdgePreviewRequestV1 {\n\tversion: 1;\n\tchanges: RecipientPolicyEdgeChangeV1[];\n}\n\nexport interface RecipientPolicyEdgeCommitRequestV1 extends RecipientPolicyEdgePreviewRequestV1 {\n\treviewedPolicyDigest: string;\n}\n\nexport interface RecipientPolicyEdgePreviewProjectV1 {\n\tcanonicalProjectIdentity: string;\n\tdisplayName: string;\n\texistingMemoryCount: number;\n\tfutureMemoriesShared: true;\n}\n\nexport interface RecipientPolicyEdgeIdentitySummaryV1 {\n\tidentityId: string;\n\tdisplayName: string;\n\tverification: \"local\";\n}\n\nexport type RecipientPolicyEdgeSelectedRecipientV1 =\n\t| ({ recipientKind: \"identity\" } & RecipientPolicyEdgeIdentitySummaryV1)\n\t| {\n\t\t\trecipientKind: \"team\";\n\t\t\tteamId: string;\n\t\t\tdisplayName: string;\n\t\t\tcurrentMembers: RecipientPolicyEdgeIdentitySummaryV1[];\n\t\t\tfutureMembersInherit: true;\n\t };\n\nexport interface RecipientPolicyEdgeEffectiveDeviceV1 {\n\tcanonicalProjectIdentity: string;\n\tidentityId: string;\n\tdeviceId: string;\n\tdisplayName: string;\n}\n\nexport interface RecipientPolicyEdgePreviewResponseV1 {\n\tversion: 1;\n\tnormalizedChanges: RecipientPolicyEdgeChangeV1[];\n\toutcomes: RecipientPolicyEdgeCommitOutcomeV1[];\n\tprojects: RecipientPolicyEdgePreviewProjectV1[];\n\tselectedRecipients: RecipientPolicyEdgeSelectedRecipientV1[];\n\teffectiveDevices: RecipientPolicyEdgeEffectiveDeviceV1[];\n\tunchangedProjects: RecipientPolicyEdgePreviewProjectV1[];\n\treviewedPolicyDigest: string;\n\taddCount: number;\n\tremoveCount: number;\n\tnetWriteCount: number;\n}\n\nexport type RecipientPolicyEdgeOutcomeV1 =\n\t| \"added\"\n\t| \"removed\"\n\t| \"already_present\"\n\t| \"already_absent\";\n\nexport interface RecipientPolicyEdgeCommitOutcomeV1 {\n\tchange: RecipientPolicyEdgeChangeV1;\n\toutcome: RecipientPolicyEdgeOutcomeV1;\n}\n\nexport interface RecipientPolicyEdgeCommitResultV1 {\n\tversion: 1;\n\tstatus: \"applied\" | \"stale\" | \"invalid\" | \"not_found\" | \"conflict\";\n\treviewedPolicyDigest: string;\n\terrorCode: string | null;\n\toutcomes: RecipientPolicyEdgeCommitOutcomeV1[];\n\twriteCount: number;\n\tidempotent: boolean;\n}\n\nexport type RecipientPolicyIdentityKindV1 = \"personal\" | \"work\" | \"other\";\nexport type RecipientPolicyIdentityStatusV1 = \"active\" | \"pending\" | \"merged\";\n\nexport interface RecipientPolicyIdentityV1 {\n\tversion: RecipientPolicyContractVersion;\n\tidentityId: string;\n\tdisplayName: string;\n\tkind: RecipientPolicyIdentityKindV1;\n\tverification: \"local\";\n\tstatus: RecipientPolicyIdentityStatusV1;\n\tmergedIntoIdentityId: string | null;\n}\n\nexport interface RecipientPolicyTeamV1 {\n\tversion: RecipientPolicyContractVersion;\n\tteamId: string;\n\tdisplayName: string;\n\tstatus: \"active\" | \"archived\";\n}\n\nexport interface RecipientPolicyTeamMembershipV1 {\n\tversion: RecipientPolicyContractVersion;\n\tteamId: string;\n\tidentityId: string;\n\trole: \"member\" | \"admin\";\n\tstatus: \"active\" | \"pending\" | \"revoked\";\n}\n\nexport interface RecipientPolicyIdentityDeviceV1 {\n\tversion: RecipientPolicyContractVersion;\n\tidentityId: string;\n\tdeviceId: string;\n\tdisplayName: string;\n\tstatus: \"active\" | \"revoked\";\n}\n\nexport interface RecipientPolicyProjectV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalIdentity: string;\n\tdisplayName: string;\n}\n\nexport type RecipientPolicyIntentSourceV1 = \"user\" | \"migration\" | \"legacy_project_invite\";\n\ninterface RecipientPolicyProjectRecipientBaseV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tintentSource: RecipientPolicyIntentSourceV1;\n\tpolicyRevision: string;\n\tstatus: \"active\" | \"revoked\";\n}\n\nexport type RecipientPolicyProjectRecipientV1 =\n\t| (RecipientPolicyProjectRecipientBaseV1 & {\n\t\t\trecipientKind: \"identity\";\n\t\t\tidentityId: string;\n\t })\n\t| (RecipientPolicyProjectRecipientBaseV1 & {\n\t\t\trecipientKind: \"team\";\n\t\t\tteamId: string;\n\t });\n\ninterface RecipientPolicyEffectiveDeviceBaseV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tidentityId: string;\n\tdeviceId: string;\n}\n\nexport type RecipientPolicyEffectiveDeviceV1 =\n\t| (RecipientPolicyEffectiveDeviceBaseV1 & {\n\t\t\tvia: \"direct_identity\";\n\t })\n\t| (RecipientPolicyEffectiveDeviceBaseV1 & {\n\t\t\tvia: \"team_membership\";\n\t\t\tteamId: string;\n\t });\n\nexport type RecipientPolicyAuthorityV1 = \"legacy_scope\" | \"recipient_policy\";\nexport type RecipientPolicyParityV1 = \"unknown\" | \"matched\" | \"diverged\";\n\nexport interface RecipientPolicyEnforcementV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tauthority: RecipientPolicyAuthorityV1;\n\tparity: RecipientPolicyParityV1;\n\tcutoverState: \"legacy\" | \"eligible\" | \"active\" | \"rolled_back\";\n\tmanagedScopeId: string | null;\n\tdesiredDeviceIds: string[];\n\tcurrentDeviceIds: string[];\n\tsafeErrorCode: string | null;\n}\n\nexport type RecipientPolicyReviewDecisionV1 =\n\t| \"apply_recommendation\"\n\t| \"choose_recipients\"\n\t| \"preserve_current_access\"\n\t| \"reject_suggestion\"\n\t| \"keep_current_setup\"\n\t| \"keep_project_local\"\n\t| \"keep_identities_separate\"\n\t| \"attach_device_to_identity\"\n\t| \"create_identity\"\n\t| \"remove_stale_device\";\n\nexport const RECIPIENT_POLICY_NO_OP_DECISIONS = [\n\t\"keep_current_setup\",\n\t\"reject_suggestion\",\n\t\"keep_project_local\",\n\t\"keep_identities_separate\",\n\t\"remove_stale_device\",\n] as const satisfies readonly RecipientPolicyReviewDecisionV1[];\n\nconst RECIPIENT_POLICY_NO_OP_DECISION_SET = new Set<RecipientPolicyReviewDecisionV1>(\n\tRECIPIENT_POLICY_NO_OP_DECISIONS,\n);\n\nexport function isRecipientPolicyNoOpDecision(\n\tdecision: RecipientPolicyReviewDecisionV1 | string,\n): decision is (typeof RECIPIENT_POLICY_NO_OP_DECISIONS)[number] {\n\treturn RECIPIENT_POLICY_NO_OP_DECISION_SET.has(decision as RecipientPolicyReviewDecisionV1);\n}\n\nexport interface RecipientPolicyReviewOptionV1 {\n\tdecision: RecipientPolicyReviewDecisionV1;\n\tlabel: string;\n\teffect: \"none\" | \"grant_reviewed_access\" | \"revoke_reviewed_access\" | \"metadata_only\";\n\taffectedProjectCount: number;\n\taffectedMemoryCount: number;\n\taffectedDeviceCount: number;\n\t/** Additive exact preview used by actionable review APIs. */\n\tpreview?: RecipientPolicyReviewPreviewV1;\n}\n\nexport interface RecipientPolicyReviewPreviewProjectV1 {\n\tcanonicalIdentity: string;\n\tdisplayName: string;\n}\n\nexport interface RecipientPolicyReviewPreviewDeviceV1 {\n\tdeviceId: string;\n\tdisplayName: string;\n\tidentityId: string | null;\n\tassignment: \"assigned\" | \"unassigned\";\n}\n\nexport interface RecipientPolicyReviewPreviewV1 {\n\tprojects: RecipientPolicyReviewPreviewProjectV1[];\n\teffectiveDevices: RecipientPolicyReviewPreviewDeviceV1[];\n\taffectedProjectCount: number;\n\taffectedMemoryCount: number;\n\taffectedDeviceCount: number;\n\teffect: RecipientPolicyReviewOptionV1[\"effect\"];\n\trequiresDecisionInput: boolean;\n}\n\nexport interface RecipientPolicyReviewResolutionV1 {\n\tdecision: RecipientPolicyReviewDecisionV1;\n\tdecidedByIdentityId: string;\n\tdecidedByDeviceId: string;\n\tresolvedAt: string;\n}\n\nexport type RecipientPolicyReviewConditionCodeV1 =\n\t| \"suggest_local_identity\"\n\t| \"suggest_team_candidate\"\n\t| \"unassigned_effective_device\";\n\nexport interface RecipientPolicyReviewProjectGroupV1 {\n\tidentity: string;\n\tdisplayName: string;\n}\n\nexport interface RecipientPolicyReviewItemV1 {\n\tversion: RecipientPolicyContractVersion;\n\treviewItemId: string;\n\tsourceFingerprint: string;\n\tconditionCode: RecipientPolicyReviewConditionCodeV1;\n\tprojectGroup: RecipientPolicyReviewProjectGroupV1;\n\tfinding: string;\n\treason: string;\n\trecommendedDecision: RecipientPolicyReviewDecisionV1;\n\toptions: RecipientPolicyReviewOptionV1[];\n\tstate: \"open\" | \"resolved\";\n\tresolution: RecipientPolicyReviewResolutionV1 | null;\n}\n\nexport interface RecipientPolicyBlockedItemV1 {\n\tversion: RecipientPolicyContractVersion;\n\tblockedItemId: string;\n\tfinding: string;\n\treason: string;\n\townerLabel: string;\n\trepairAction: string;\n\trepair: {\n\t\tkind: \"reassign_project\" | \"open_project_administration\";\n\t\tprojectIdentity: string;\n\t\tlabel: string;\n\t};\n}\n\nexport interface RecipientPolicyProjectionV1 {\n\tversion: RecipientPolicyContractVersion;\n\tproject: RecipientPolicyProjectV1;\n\tintent: RecipientPolicyProjectRecipientV1[];\n\teffectiveDevices: RecipientPolicyEffectiveDeviceV1[];\n\tenforcement: RecipientPolicyEnforcementV1;\n\treviewItems: RecipientPolicyReviewItemV1[];\n\tblockedItems: RecipientPolicyBlockedItemV1[];\n}\n\nexport interface RecipientPolicyReconciliationStatusV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tstate: \"projected\" | \"parity_verified\" | \"active\" | \"waiting\" | \"needs_attention\" | \"rolled_back\";\n\tauthority: RecipientPolicyAuthorityV1;\n\tparity: RecipientPolicyParityV1;\n\tlastCompletedAt: string | null;\n\tsafeErrorCode: string | null;\n}\n\nexport type LegacyTeamSetupActivationChangeV1 = \"add\" | \"update\" | \"remove\";\n\nexport interface LegacyTeamSetupTeamChangeV1 {\n\tteamId: string;\n\tchange: LegacyTeamSetupActivationChangeV1;\n\tfromDeviceEligibilityMode: \"person_all_devices\" | \"reviewed_allowlist\" | null;\n\ttoDeviceEligibilityMode: \"reviewed_allowlist\";\n}\n\nexport interface LegacyTeamSetupMembershipChangeV1 {\n\tteamId: string;\n\tidentityId: string;\n\tchange: LegacyTeamSetupActivationChangeV1;\n}\n\nexport interface LegacyTeamSetupProjectChangeV1 {\n\tprojectRef: string;\n\tfromProjectIdentity: string | null;\n\ttoProjectIdentity: string | null;\n\tchange: LegacyTeamSetupActivationChangeV1;\n}\n\nexport interface LegacyTeamSetupRecipientChangeV1 {\n\tcanonicalProjectIdentity: string;\n\trecipientKind: \"team\";\n\trecipientId: string;\n\tchange: LegacyTeamSetupActivationChangeV1;\n}\n\nexport interface LegacyTeamSetupDeviceAccessChangeV1 {\n\tcanonicalProjectIdentity: string;\n\tdeviceId: string;\n\tchange: \"add\" | \"remove\";\n}\n\nexport interface LegacyTeamSetupAccessDeltaV1 {\n\tteamChanges: LegacyTeamSetupTeamChangeV1[];\n\tmembershipChanges: LegacyTeamSetupMembershipChangeV1[];\n\tprojectChanges: LegacyTeamSetupProjectChangeV1[];\n\trecipientChanges: LegacyTeamSetupRecipientChangeV1[];\n\tdeviceAccessChanges: LegacyTeamSetupDeviceAccessChangeV1[];\n}\n\nexport interface LegacyTeamSetupActivationPreviewV1 {\n\tcandidateRef: string;\n\tattemptId: string;\n\tfinishDigest: string;\n\taccessDeltaDigest: string;\n\taccessDelta: LegacyTeamSetupAccessDeltaV1;\n}\n\nexport interface LegacyTeamSetupActivationResultV1 {\n\tstatus: \"completed\";\n\tteamId: string;\n\tattemptId: string;\n\taccessDeltaDigest: string;\n\tcompletedAt: string;\n}\n"],"mappings":";AAAA,IAAa,IAAoC,GAIpC,IAA2C;CACvD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,GA0Ma,IAAmC;CAC/C;CACA;CACA;CACA;CACA;AACD,GAEM,IAAsC,IAAI,IAC/C,CACD;AAEA,SAAgB,EACf,GACgE;CAChE,OAAO,EAAoC,IAAI,CAA2C;AAC3F"}