@dxos/plugin-client 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6

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 (360) hide show
  1. package/dist/lib/browser/chunk-ELAYKIQU.mjs +12 -0
  2. package/dist/lib/browser/chunk-ELAYKIQU.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  4. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-M43LJQ5U.mjs +175 -0
  6. package/dist/lib/browser/chunk-M43LJQ5U.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-WNJRYPGG.mjs +131 -0
  8. package/dist/lib/browser/chunk-WNJRYPGG.mjs.map +7 -0
  9. package/dist/lib/browser/cli/index.mjs +92 -80
  10. package/dist/lib/browser/cli/index.mjs.map +3 -3
  11. package/dist/lib/browser/create-agent-WXBNGUBQ.mjs +34 -0
  12. package/dist/lib/browser/create-agent-WXBNGUBQ.mjs.map +7 -0
  13. package/dist/lib/browser/create-identity-LIE4RCXJ.mjs +30 -0
  14. package/dist/lib/browser/create-identity-LIE4RCXJ.mjs.map +7 -0
  15. package/dist/lib/browser/create-passkey-PYZ47DJT.mjs +105 -0
  16. package/dist/lib/browser/create-passkey-PYZ47DJT.mjs.map +7 -0
  17. package/dist/lib/browser/create-recovery-code-NSRU3QDJ.mjs +44 -0
  18. package/dist/lib/browser/create-recovery-code-NSRU3QDJ.mjs.map +7 -0
  19. package/dist/lib/browser/index.mjs +90 -93
  20. package/dist/lib/browser/index.mjs.map +4 -4
  21. package/dist/lib/browser/join-identity-B6DC2VW7.mjs +27 -0
  22. package/dist/lib/browser/join-identity-B6DC2VW7.mjs.map +7 -0
  23. package/dist/lib/browser/meta.json +1 -1
  24. package/dist/lib/browser/operations/index.mjs +13 -0
  25. package/dist/lib/browser/operations/index.mjs.map +7 -0
  26. package/dist/lib/browser/recover-identity-Z3H4GJ3L.mjs +26 -0
  27. package/dist/lib/browser/recover-identity-Z3H4GJ3L.mjs.map +7 -0
  28. package/dist/lib/browser/redeem-passkey-ODK47PIR.mjs +82 -0
  29. package/dist/lib/browser/redeem-passkey-ODK47PIR.mjs.map +7 -0
  30. package/dist/lib/browser/redeem-token-OYXEFDM3.mjs +37 -0
  31. package/dist/lib/browser/redeem-token-OYXEFDM3.mjs.map +7 -0
  32. package/dist/lib/browser/reset-storage-JAU4CS2U.mjs +26 -0
  33. package/dist/lib/browser/reset-storage-JAU4CS2U.mjs.map +7 -0
  34. package/dist/lib/browser/share-identity-H2JNYYCP.mjs +31 -0
  35. package/dist/lib/browser/share-identity-H2JNYYCP.mjs.map +7 -0
  36. package/dist/lib/browser/testing/index.mjs +22 -0
  37. package/dist/lib/browser/testing/index.mjs.map +7 -0
  38. package/dist/lib/browser/types/index.mjs +4 -5
  39. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  40. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  41. package/dist/lib/node-esm/chunk-IT5LAIV3.mjs +133 -0
  42. package/dist/lib/node-esm/chunk-IT5LAIV3.mjs.map +7 -0
  43. package/dist/lib/node-esm/chunk-J5RWSQT6.mjs +14 -0
  44. package/dist/lib/node-esm/chunk-J5RWSQT6.mjs.map +7 -0
  45. package/dist/lib/node-esm/chunk-SJ6FDER5.mjs +176 -0
  46. package/dist/lib/node-esm/chunk-SJ6FDER5.mjs.map +7 -0
  47. package/dist/lib/node-esm/cli/index.mjs +92 -80
  48. package/dist/lib/node-esm/cli/index.mjs.map +3 -3
  49. package/dist/lib/node-esm/create-agent-I7VGTH7O.mjs +35 -0
  50. package/dist/lib/node-esm/create-agent-I7VGTH7O.mjs.map +7 -0
  51. package/dist/lib/node-esm/create-identity-NWY3YT5C.mjs +31 -0
  52. package/dist/lib/node-esm/create-identity-NWY3YT5C.mjs.map +7 -0
  53. package/dist/lib/node-esm/create-passkey-2LQEEIAN.mjs +106 -0
  54. package/dist/lib/node-esm/create-passkey-2LQEEIAN.mjs.map +7 -0
  55. package/dist/lib/node-esm/create-recovery-code-2MVK5CVE.mjs +45 -0
  56. package/dist/lib/node-esm/create-recovery-code-2MVK5CVE.mjs.map +7 -0
  57. package/dist/lib/node-esm/index.mjs +90 -93
  58. package/dist/lib/node-esm/index.mjs.map +4 -4
  59. package/dist/lib/node-esm/join-identity-6NT75FSO.mjs +28 -0
  60. package/dist/lib/node-esm/join-identity-6NT75FSO.mjs.map +7 -0
  61. package/dist/lib/node-esm/meta.json +1 -1
  62. package/dist/lib/node-esm/operations/index.mjs +14 -0
  63. package/dist/lib/node-esm/operations/index.mjs.map +7 -0
  64. package/dist/lib/node-esm/recover-identity-3UKCQ2M4.mjs +27 -0
  65. package/dist/lib/node-esm/recover-identity-3UKCQ2M4.mjs.map +7 -0
  66. package/dist/lib/node-esm/redeem-passkey-TDNEMVJJ.mjs +83 -0
  67. package/dist/lib/node-esm/redeem-passkey-TDNEMVJJ.mjs.map +7 -0
  68. package/dist/lib/node-esm/redeem-token-ZBYMFFKM.mjs +38 -0
  69. package/dist/lib/node-esm/redeem-token-ZBYMFFKM.mjs.map +7 -0
  70. package/dist/lib/node-esm/reset-storage-NY3ALG72.mjs +27 -0
  71. package/dist/lib/node-esm/reset-storage-NY3ALG72.mjs.map +7 -0
  72. package/dist/lib/node-esm/share-identity-FDIZWTDG.mjs +32 -0
  73. package/dist/lib/node-esm/share-identity-FDIZWTDG.mjs.map +7 -0
  74. package/dist/lib/node-esm/testing/index.mjs +23 -0
  75. package/dist/lib/node-esm/testing/index.mjs.map +7 -0
  76. package/dist/lib/node-esm/types/index.mjs +4 -5
  77. package/dist/types/src/ClientPlugin.d.ts +1 -1
  78. package/dist/types/src/ClientPlugin.d.ts.map +1 -1
  79. package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
  80. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  81. package/dist/types/src/capabilities/client.d.ts +8 -0
  82. package/dist/types/src/capabilities/client.d.ts.map +1 -0
  83. package/dist/types/src/capabilities/index.d.ts +32 -7
  84. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  85. package/dist/types/src/capabilities/migrations.d.ts +5 -0
  86. package/dist/types/src/capabilities/migrations.d.ts.map +1 -0
  87. package/dist/types/src/capabilities/navigation-handler/index.d.ts +4 -0
  88. package/dist/types/src/capabilities/navigation-handler/index.d.ts.map +1 -0
  89. package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts +15 -0
  90. package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -0
  91. package/dist/types/src/capabilities/{client/index.d.ts → node.d.ts} +7 -3
  92. package/dist/types/src/capabilities/node.d.ts.map +1 -0
  93. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  94. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  95. package/dist/types/src/capabilities/{react-context/react-context.d.ts → react-context.d.ts} +1 -1
  96. package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
  97. package/dist/types/src/capabilities/react-surface.d.ts +9 -0
  98. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  99. package/dist/types/src/capabilities/schema-defs.d.ts +5 -0
  100. package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -0
  101. package/dist/types/src/cli/commands/config/view.d.ts.map +1 -1
  102. package/dist/types/src/cli/commands/device/info/info.d.ts +2 -2
  103. package/dist/types/src/cli/commands/device/info/info.d.ts.map +1 -1
  104. package/dist/types/src/cli/commands/device/list/list.d.ts +2 -2
  105. package/dist/types/src/cli/commands/device/list/list.d.ts.map +1 -1
  106. package/dist/types/src/cli/commands/device/update/update.d.ts.map +1 -1
  107. package/dist/types/src/cli/commands/edge/status.d.ts.map +1 -1
  108. package/dist/types/src/cli/commands/halo/create/create.d.ts +2 -2
  109. package/dist/types/src/cli/commands/halo/create/create.d.ts.map +1 -1
  110. package/dist/types/src/cli/commands/halo/credential/list/list.d.ts +1 -1
  111. package/dist/types/src/cli/commands/halo/credential/list/list.d.ts.map +1 -1
  112. package/dist/types/src/cli/commands/halo/identity/identity.d.ts +2 -2
  113. package/dist/types/src/cli/commands/halo/identity/identity.d.ts.map +1 -1
  114. package/dist/types/src/cli/commands/halo/keys/keys.d.ts +2 -2
  115. package/dist/types/src/cli/commands/halo/keys/keys.d.ts.map +1 -1
  116. package/dist/types/src/cli/commands/halo/seed/seed.d.ts.map +1 -1
  117. package/dist/types/src/cli/commands/halo/update/update.d.ts.map +1 -1
  118. package/dist/types/src/cli/commands/profile/create.d.ts +2 -1
  119. package/dist/types/src/cli/commands/profile/create.d.ts.map +1 -1
  120. package/dist/types/src/cli/commands/profile/delete.d.ts +1 -1
  121. package/dist/types/src/cli/commands/profile/delete.d.ts.map +1 -1
  122. package/dist/types/src/cli/commands/profile/list.d.ts.map +1 -1
  123. package/dist/types/src/cli/plugin.d.ts +1 -1
  124. package/dist/types/src/cli/plugin.d.ts.map +1 -1
  125. package/dist/types/src/components/index.d.ts +0 -6
  126. package/dist/types/src/components/index.d.ts.map +1 -1
  127. package/dist/types/src/containers/DevicesContainer/DevicesContainer.d.ts.map +1 -0
  128. package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts +184 -0
  129. package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts.map +1 -0
  130. package/dist/types/src/containers/DevicesContainer/index.d.ts +3 -0
  131. package/dist/types/src/containers/DevicesContainer/index.d.ts.map +1 -0
  132. package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -0
  133. package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts +15 -0
  134. package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -0
  135. package/dist/types/src/containers/JoinDialog/index.d.ts +3 -0
  136. package/dist/types/src/containers/JoinDialog/index.d.ts.map +1 -0
  137. package/dist/types/src/containers/ProfileContainer/ProfileContainer.d.ts.map +1 -0
  138. package/dist/types/src/containers/ProfileContainer/ProfileContainer.stories.d.ts.map +1 -0
  139. package/dist/types/src/containers/ProfileContainer/index.d.ts +3 -0
  140. package/dist/types/src/containers/ProfileContainer/index.d.ts.map +1 -0
  141. package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.d.ts.map +1 -0
  142. package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.d.ts.map +1 -0
  143. package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts +4 -0
  144. package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts.map +1 -0
  145. package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.d.ts.map +1 -0
  146. package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.d.ts.map +1 -0
  147. package/dist/types/src/containers/RecoveryCredentialsContainer/index.d.ts +3 -0
  148. package/dist/types/src/containers/RecoveryCredentialsContainer/index.d.ts.map +1 -0
  149. package/dist/types/src/{components → containers/ResetDialog}/ResetDialog.d.ts +1 -1
  150. package/dist/types/src/containers/ResetDialog/ResetDialog.d.ts.map +1 -0
  151. package/dist/types/src/{components → containers/ResetDialog}/ResetDialog.stories.d.ts +1 -1
  152. package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts.map +1 -0
  153. package/dist/types/src/containers/ResetDialog/index.d.ts +4 -0
  154. package/dist/types/src/containers/ResetDialog/index.d.ts.map +1 -0
  155. package/dist/types/src/containers/index.d.ts +10 -0
  156. package/dist/types/src/containers/index.d.ts.map +1 -0
  157. package/dist/types/src/index.d.ts +2 -4
  158. package/dist/types/src/index.d.ts.map +1 -1
  159. package/dist/types/src/operations/create-agent.d.ts +5 -0
  160. package/dist/types/src/operations/create-agent.d.ts.map +1 -0
  161. package/dist/types/src/operations/create-identity.d.ts +5 -0
  162. package/dist/types/src/operations/create-identity.d.ts.map +1 -0
  163. package/dist/types/src/operations/create-passkey.d.ts +5 -0
  164. package/dist/types/src/operations/create-passkey.d.ts.map +1 -0
  165. package/dist/types/src/operations/create-recovery-code.d.ts +5 -0
  166. package/dist/types/src/operations/create-recovery-code.d.ts.map +1 -0
  167. package/dist/types/src/operations/definitions.d.ts +36 -0
  168. package/dist/types/src/operations/definitions.d.ts.map +1 -0
  169. package/dist/types/src/operations/index.d.ts +4 -0
  170. package/dist/types/src/operations/index.d.ts.map +1 -0
  171. package/dist/types/src/operations/join-identity.d.ts +5 -0
  172. package/dist/types/src/operations/join-identity.d.ts.map +1 -0
  173. package/dist/types/src/operations/recover-identity.d.ts +5 -0
  174. package/dist/types/src/operations/recover-identity.d.ts.map +1 -0
  175. package/dist/types/src/operations/redeem-passkey.d.ts +5 -0
  176. package/dist/types/src/operations/redeem-passkey.d.ts.map +1 -0
  177. package/dist/types/src/operations/redeem-token.d.ts +5 -0
  178. package/dist/types/src/operations/redeem-token.d.ts.map +1 -0
  179. package/dist/types/src/operations/reset-storage.d.ts +5 -0
  180. package/dist/types/src/operations/reset-storage.d.ts.map +1 -0
  181. package/dist/types/src/operations/share-identity.d.ts +5 -0
  182. package/dist/types/src/operations/share-identity.d.ts.map +1 -0
  183. package/dist/types/src/testing/index.d.ts +2 -0
  184. package/dist/types/src/testing/index.d.ts.map +1 -0
  185. package/dist/types/src/testing/initializeIdentity.d.ts +13 -0
  186. package/dist/types/src/testing/initializeIdentity.d.ts.map +1 -0
  187. package/dist/types/src/translations.d.ts.map +1 -1
  188. package/dist/types/src/types/capabilities.d.ts +1 -1
  189. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  190. package/dist/types/src/types/schema.d.ts +26 -175
  191. package/dist/types/src/types/schema.d.ts.map +1 -1
  192. package/dist/types/tsconfig.tsbuildinfo +1 -1
  193. package/package.json +72 -36
  194. package/src/ClientPlugin.ts +38 -25
  195. package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +21 -19
  196. package/src/capabilities/{client/client.ts → client.ts} +16 -12
  197. package/src/capabilities/index.ts +15 -7
  198. package/src/capabilities/{migrations/migrations.ts → migrations.ts} +4 -4
  199. package/src/capabilities/navigation-handler/index.ts +9 -0
  200. package/src/capabilities/navigation-handler/navigation-handler.ts +64 -0
  201. package/src/capabilities/node.ts +13 -0
  202. package/src/capabilities/operation-handler.ts +16 -0
  203. package/src/capabilities/{react-context/react-context.tsx → react-context.tsx} +7 -7
  204. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +13 -13
  205. package/src/capabilities/{schema-defs/schema-defs.ts → schema-defs.ts} +8 -7
  206. package/src/cli/commands/config/view.ts +4 -1
  207. package/src/cli/commands/device/info/info.test.ts +0 -1
  208. package/src/cli/commands/device/info/info.ts +0 -2
  209. package/src/cli/commands/device/list/list.test.ts +0 -1
  210. package/src/cli/commands/device/list/list.ts +0 -2
  211. package/src/cli/commands/device/update/update.ts +0 -2
  212. package/src/cli/commands/edge/status.ts +3 -2
  213. package/src/cli/commands/halo/create/create.ts +13 -6
  214. package/src/cli/commands/halo/credential/list/list.test.ts +0 -1
  215. package/src/cli/commands/halo/credential/list/list.ts +4 -7
  216. package/src/cli/commands/halo/identity/identity.ts +0 -1
  217. package/src/cli/commands/halo/keys/keys.ts +0 -2
  218. package/src/cli/commands/halo/seed/seed.ts +0 -2
  219. package/src/cli/commands/halo/update/update.test.ts +0 -1
  220. package/src/cli/commands/halo/update/update.ts +0 -2
  221. package/src/cli/commands/profile/create.ts +9 -6
  222. package/src/cli/commands/profile/delete.ts +5 -2
  223. package/src/cli/commands/profile/list.ts +12 -11
  224. package/src/cli/plugin.ts +12 -13
  225. package/src/components/index.ts +0 -7
  226. package/src/constants.ts +4 -4
  227. package/src/{components → containers/DevicesContainer}/DevicesContainer.stories.tsx +10 -7
  228. package/src/{components → containers/DevicesContainer}/DevicesContainer.tsx +76 -83
  229. package/src/containers/DevicesContainer/index.ts +7 -0
  230. package/src/containers/JoinDialog/JoinDialog.stories.tsx +43 -0
  231. package/src/{components → containers/JoinDialog}/JoinDialog.tsx +20 -15
  232. package/src/containers/JoinDialog/index.ts +7 -0
  233. package/src/{components → containers/ProfileContainer}/ProfileContainer.stories.tsx +4 -4
  234. package/src/{components → containers/ProfileContainer}/ProfileContainer.tsx +21 -29
  235. package/src/containers/ProfileContainer/index.ts +7 -0
  236. package/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.stories.tsx +4 -4
  237. package/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.tsx +29 -26
  238. package/src/containers/RecoveryCodeDialog/index.ts +8 -0
  239. package/src/{components → containers/RecoveryCredentialsContainer}/RecoveryCredentialsContainer.stories.tsx +10 -7
  240. package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx +66 -0
  241. package/src/containers/RecoveryCredentialsContainer/index.ts +7 -0
  242. package/src/{components → containers/ResetDialog}/ResetDialog.stories.tsx +27 -14
  243. package/src/{components → containers/ResetDialog}/ResetDialog.tsx +11 -11
  244. package/src/containers/ResetDialog/index.ts +8 -0
  245. package/src/containers/index.ts +15 -0
  246. package/src/index.ts +2 -5
  247. package/src/meta.ts +1 -1
  248. package/src/operations/create-agent.ts +27 -0
  249. package/src/operations/create-identity.ts +30 -0
  250. package/src/operations/create-passkey.ts +89 -0
  251. package/src/operations/create-recovery-code.ts +35 -0
  252. package/src/operations/definitions.ts +107 -0
  253. package/src/operations/index.ts +20 -0
  254. package/src/operations/join-identity.ts +29 -0
  255. package/src/operations/recover-identity.ts +29 -0
  256. package/src/operations/redeem-passkey.ts +86 -0
  257. package/src/operations/redeem-token.ts +32 -0
  258. package/src/operations/reset-storage.ts +28 -0
  259. package/src/operations/share-identity.ts +27 -0
  260. package/src/testing/index.ts +5 -0
  261. package/src/testing/initializeIdentity.ts +24 -0
  262. package/src/translations.ts +53 -42
  263. package/src/types/capabilities.ts +4 -4
  264. package/src/types/events.ts +6 -6
  265. package/src/types/schema.ts +18 -123
  266. package/dist/lib/browser/app-graph-builder-3FGBMLTF.mjs +0 -118
  267. package/dist/lib/browser/app-graph-builder-3FGBMLTF.mjs.map +0 -7
  268. package/dist/lib/browser/chunk-4BZGRIFS.mjs +0 -293
  269. package/dist/lib/browser/chunk-4BZGRIFS.mjs.map +0 -7
  270. package/dist/lib/browser/chunk-F7H2Y3Z2.mjs +0 -18
  271. package/dist/lib/browser/chunk-F7H2Y3Z2.mjs.map +0 -7
  272. package/dist/lib/browser/chunk-G7C3S2BE.mjs +0 -15
  273. package/dist/lib/browser/chunk-G7C3S2BE.mjs.map +0 -7
  274. package/dist/lib/browser/client-IX5LMWV4.mjs +0 -86
  275. package/dist/lib/browser/client-IX5LMWV4.mjs.map +0 -7
  276. package/dist/lib/browser/migrations-3EBTAW3N.mjs +0 -24
  277. package/dist/lib/browser/migrations-3EBTAW3N.mjs.map +0 -7
  278. package/dist/lib/browser/operation-resolver-2NT3ISVP.mjs +0 -298
  279. package/dist/lib/browser/operation-resolver-2NT3ISVP.mjs.map +0 -7
  280. package/dist/lib/browser/react-context-4UABG3GP.mjs +0 -24
  281. package/dist/lib/browser/react-context-4UABG3GP.mjs.map +0 -7
  282. package/dist/lib/browser/react-surface-RSQ74XCT.mjs +0 -675
  283. package/dist/lib/browser/react-surface-RSQ74XCT.mjs.map +0 -7
  284. package/dist/lib/browser/schema-defs-O7VLP745.mjs +0 -26
  285. package/dist/lib/browser/schema-defs-O7VLP745.mjs.map +0 -7
  286. package/dist/lib/node-esm/app-graph-builder-2PIYVUNC.mjs +0 -119
  287. package/dist/lib/node-esm/app-graph-builder-2PIYVUNC.mjs.map +0 -7
  288. package/dist/lib/node-esm/chunk-BCELGXRI.mjs +0 -20
  289. package/dist/lib/node-esm/chunk-BCELGXRI.mjs.map +0 -7
  290. package/dist/lib/node-esm/chunk-JAF64TFQ.mjs +0 -295
  291. package/dist/lib/node-esm/chunk-JAF64TFQ.mjs.map +0 -7
  292. package/dist/lib/node-esm/chunk-PRAFFO54.mjs +0 -16
  293. package/dist/lib/node-esm/chunk-PRAFFO54.mjs.map +0 -7
  294. package/dist/lib/node-esm/client-FFPK5UFP.mjs +0 -87
  295. package/dist/lib/node-esm/client-FFPK5UFP.mjs.map +0 -7
  296. package/dist/lib/node-esm/migrations-WSZSFGDK.mjs +0 -25
  297. package/dist/lib/node-esm/migrations-WSZSFGDK.mjs.map +0 -7
  298. package/dist/lib/node-esm/operation-resolver-VW5R2BE4.mjs +0 -299
  299. package/dist/lib/node-esm/operation-resolver-VW5R2BE4.mjs.map +0 -7
  300. package/dist/lib/node-esm/react-context-UVXMGPW4.mjs +0 -25
  301. package/dist/lib/node-esm/react-context-UVXMGPW4.mjs.map +0 -7
  302. package/dist/lib/node-esm/react-surface-KBHANGGC.mjs +0 -676
  303. package/dist/lib/node-esm/react-surface-KBHANGGC.mjs.map +0 -7
  304. package/dist/lib/node-esm/schema-defs-QLRGBIKY.mjs +0 -27
  305. package/dist/lib/node-esm/schema-defs-QLRGBIKY.mjs.map +0 -7
  306. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
  307. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  308. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  309. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  310. package/dist/types/src/capabilities/client/client.d.ts +0 -8
  311. package/dist/types/src/capabilities/client/client.d.ts.map +0 -1
  312. package/dist/types/src/capabilities/client/index.d.ts.map +0 -1
  313. package/dist/types/src/capabilities/migrations/index.d.ts +0 -3
  314. package/dist/types/src/capabilities/migrations/index.d.ts.map +0 -1
  315. package/dist/types/src/capabilities/migrations/migrations.d.ts +0 -5
  316. package/dist/types/src/capabilities/migrations/migrations.d.ts.map +0 -1
  317. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -5
  318. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  319. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -8
  320. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  321. package/dist/types/src/capabilities/react-context/index.d.ts +0 -7
  322. package/dist/types/src/capabilities/react-context/index.d.ts.map +0 -1
  323. package/dist/types/src/capabilities/react-context/react-context.d.ts.map +0 -1
  324. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -5
  325. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  326. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -9
  327. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  328. package/dist/types/src/capabilities/schema-defs/index.d.ts +0 -3
  329. package/dist/types/src/capabilities/schema-defs/index.d.ts.map +0 -1
  330. package/dist/types/src/capabilities/schema-defs/schema-defs.d.ts +0 -5
  331. package/dist/types/src/capabilities/schema-defs/schema-defs.d.ts.map +0 -1
  332. package/dist/types/src/components/DevicesContainer.d.ts.map +0 -1
  333. package/dist/types/src/components/DevicesContainer.stories.d.ts +0 -181
  334. package/dist/types/src/components/DevicesContainer.stories.d.ts.map +0 -1
  335. package/dist/types/src/components/JoinDialog.d.ts.map +0 -1
  336. package/dist/types/src/components/ProfileContainer.d.ts.map +0 -1
  337. package/dist/types/src/components/ProfileContainer.stories.d.ts.map +0 -1
  338. package/dist/types/src/components/RecoveryCodeDialog.d.ts.map +0 -1
  339. package/dist/types/src/components/RecoveryCodeDialog.stories.d.ts.map +0 -1
  340. package/dist/types/src/components/RecoveryCredentialsContainer.d.ts.map +0 -1
  341. package/dist/types/src/components/RecoveryCredentialsContainer.stories.d.ts.map +0 -1
  342. package/dist/types/src/components/ResetDialog.d.ts.map +0 -1
  343. package/dist/types/src/components/ResetDialog.stories.d.ts.map +0 -1
  344. package/src/capabilities/app-graph-builder/index.ts +0 -7
  345. package/src/capabilities/client/index.ts +0 -7
  346. package/src/capabilities/migrations/index.ts +0 -7
  347. package/src/capabilities/operation-resolver/index.ts +0 -7
  348. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -248
  349. package/src/capabilities/react-context/index.ts +0 -7
  350. package/src/capabilities/react-surface/index.ts +0 -7
  351. package/src/capabilities/schema-defs/index.ts +0 -7
  352. package/src/components/RecoveryCredentialsContainer.tsx +0 -68
  353. /package/dist/types/src/{components → containers/DevicesContainer}/DevicesContainer.d.ts +0 -0
  354. /package/dist/types/src/{components → containers/JoinDialog}/JoinDialog.d.ts +0 -0
  355. /package/dist/types/src/{components → containers/ProfileContainer}/ProfileContainer.d.ts +0 -0
  356. /package/dist/types/src/{components → containers/ProfileContainer}/ProfileContainer.stories.d.ts +0 -0
  357. /package/dist/types/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.d.ts +0 -0
  358. /package/dist/types/src/{components → containers/RecoveryCodeDialog}/RecoveryCodeDialog.stories.d.ts +0 -0
  359. /package/dist/types/src/{components → containers/RecoveryCredentialsContainer}/RecoveryCredentialsContainer.d.ts +0 -0
  360. /package/dist/types/src/{components → containers/RecoveryCredentialsContainer}/RecoveryCredentialsContainer.stories.d.ts +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/react-surface/react-surface.tsx", "../../../src/components/DevicesContainer.tsx", "../../../src/components/JoinDialog.tsx", "../../../src/components/ProfileContainer.tsx", "../../../src/components/RecoveryCodeDialog.tsx", "../../../src/components/RecoveryCredentialsContainer.tsx", "../../../src/components/ResetDialog.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capability, Common } from '@dxos/app-framework';\nimport { type JoinPanelProps } from '@dxos/shell/react';\n\nimport {\n DevicesContainer,\n JoinDialog,\n ProfileContainer,\n RecoveryCodeDialog,\n type RecoveryCodeDialogProps,\n RecoveryCredentialsContainer,\n ResetDialog,\n type ResetDialogProps,\n} from '../../components';\nimport { JOIN_DIALOG, RECOVERY_CODE_DIALOG, RESET_DIALOG } from '../../constants';\nimport { Account, type ClientPluginOptions } from '../../types';\n\ntype ReactSurfaceOptions = Pick<ClientPluginOptions, 'onReset'> & {\n createInvitationUrl: (invitationCode: string) => string;\n};\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* (props?: ReactSurfaceOptions) {\n const { createInvitationUrl, onReset } = props!;\n const capabilityManager = yield* Capability.Service;\n\n return Capability.contributes(Common.Capability.ReactSurface, [\n Common.createSurface({\n id: Account.Profile,\n role: 'article',\n filter: (data): data is any => data.subject === Account.Profile,\n component: () => <ProfileContainer />,\n }),\n Common.createSurface({\n id: Account.Devices,\n role: 'article',\n filter: (data): data is any => data.subject === Account.Devices,\n component: () => <DevicesContainer createInvitationUrl={createInvitationUrl} />,\n }),\n Common.createSurface({\n id: Account.Security,\n role: 'article',\n filter: (data): data is any => data.subject === Account.Security,\n component: () => <RecoveryCredentialsContainer />,\n }),\n Common.createSurface({\n id: JOIN_DIALOG,\n role: 'dialog',\n filter: (data): data is { props: JoinPanelProps } => data.component === JOIN_DIALOG,\n component: ({ data }: { data: any }) => <JoinDialog {...data.props} />,\n }),\n Common.createSurface({\n id: RECOVERY_CODE_DIALOG,\n role: 'dialog',\n filter: (data): data is { props: RecoveryCodeDialogProps } => data.component === RECOVERY_CODE_DIALOG,\n component: ({ data }: { data: any }) => <RecoveryCodeDialog {...data.props} />,\n }),\n Common.createSurface({\n id: RESET_DIALOG,\n role: 'dialog',\n filter: (data): data is { props: ResetDialogProps } => data.component === RESET_DIALOG,\n component: ({ data }: { data: any }) => (\n <ResetDialog {...data.props} onReset={onReset} capabilityManager={capabilityManager} />\n ),\n }),\n ]);\n }),\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { QR } from 'react-qr-rounded';\n\nimport { useOperationInvoker } from '@dxos/app-framework/react';\nimport { log } from '@dxos/log';\nimport { useClient, useMulticastObservable } from '@dxos/react-client';\nimport { type Device, useDevices } from '@dxos/react-client/halo';\nimport { type CancellableInvitationObservable, Invitation, InvitationEncoder } from '@dxos/react-client/invitations';\nimport { useNetworkStatus } from '@dxos/react-client/mesh';\nimport { Button, Clipboard, Icon, IconButton, List, useId, useTranslation } from '@dxos/react-ui';\nimport {\n ControlFrame,\n ControlFrameItem,\n ControlGroup,\n ControlItem,\n ControlPage,\n ControlSection,\n} from '@dxos/react-ui-form';\nimport { translationKey } from '@dxos/shell/react';\nimport { AuthCode, Centered, DeviceListItem, Emoji, Viewport } from '@dxos/shell/react';\nimport { osTranslations } from '@dxos/ui-theme';\nimport { hexToEmoji } from '@dxos/util';\n\nimport { meta } from '../meta';\nimport { ClientOperation } from '../types';\n\nexport type DevicesContainerProps = {\n createInvitationUrl?: (invitationCode: string) => string;\n};\n\nexport const DevicesContainer = ({ createInvitationUrl }: DevicesContainerProps) => {\n const { t } = useTranslation(translationKey);\n const { invokePromise } = useOperationInvoker();\n const devices = useDevices();\n const { swarm: connectionState } = useNetworkStatus();\n\n const handleResetStorage = useCallback(() => invokePromise(ClientOperation.ResetStorage, {}), [invokePromise]);\n\n const handleRecover = useCallback(\n () => invokePromise(ClientOperation.ResetStorage, { mode: 'recover' }),\n [invokePromise],\n );\n\n const handleJoinNewIdentity = useCallback(\n () => invokePromise(ClientOperation.ResetStorage, { mode: 'join new identity' }),\n [invokePromise],\n );\n\n return (\n <Clipboard.Provider>\n <ControlPage>\n <ControlSection\n title={t('devices verbose label', { ns: meta.id })}\n description={t('devices description', { ns: meta.id })}\n >\n <ControlFrame>\n <ControlFrameItem title={t('devices label', { ns: meta.id })}>\n <List>\n {devices.map((device: Device) => {\n return (\n <DeviceListItem key={device.deviceKey.toHex()} device={device} connectionState={connectionState} />\n );\n })}\n </List>\n </ControlFrameItem>\n {createInvitationUrl && (\n <ControlFrameItem title='Add device'>\n <DeviceInvitation createInvitationUrl={createInvitationUrl} />\n </ControlFrameItem>\n )}\n </ControlFrame>\n </ControlSection>\n <ControlSection\n title={t('danger zone title', { ns: meta.id })}\n description={t('danger zone description', { ns: meta.id })}\n >\n <ControlGroup>\n <ControlItem title={t('reset device label')} description={t('reset device description', { ns: meta.id })}>\n <Button variant='destructive' onClick={handleResetStorage} data-testid='devicesContainer.reset'>\n {t('reset device label')}\n </Button>\n </ControlItem>\n <ControlItem\n title={t('recover identity label')}\n description={t('recover identity description', { ns: meta.id })}\n >\n <Button variant='destructive' onClick={handleRecover} data-testid='devicesContainer.recover'>\n {t('recover identity label')}\n </Button>\n </ControlItem>\n <ControlItem\n title={t('join new identity label')}\n description={t('join new identity description', { ns: meta.id })}\n >\n <Button variant='destructive' onClick={handleJoinNewIdentity} data-testid='devicesContainer.joinExisting'>\n {t('join new identity label')}\n </Button>\n </ControlItem>\n </ControlGroup>\n </ControlSection>\n </ControlPage>\n </Clipboard.Provider>\n );\n};\n\ntype DeviceInvitationProps = {\n invitation?: CancellableInvitationObservable;\n createInvitationUrl: (invitationCode: string) => string;\n onInvitationDone: () => void;\n onInvitationCreate: () => void;\n};\n\nconst DeviceInvitation = (props: Pick<DeviceInvitationProps, 'createInvitationUrl'>) => {\n const client = useClient();\n const [invitation, setInvitation] = useState<CancellableInvitationObservable>();\n\n const onInvitationCreate = useCallback(() => {\n const invitation = client.halo.share();\n if (client.config.values.runtime?.app?.env?.DX_ENVIRONMENT !== 'production') {\n const subscription = invitation.subscribe((invitation: Invitation) => {\n const invitationCode = InvitationEncoder.encode(invitation);\n if (invitation.state === Invitation.State.CONNECTING) {\n log.info(JSON.stringify({ invitationCode, authCode: invitation.authCode }));\n subscription.unsubscribe();\n }\n });\n }\n setInvitation(invitation);\n }, [client]);\n\n const onInvitationDone = useCallback(() => {\n setInvitation(undefined);\n }, []);\n\n if (invitation) {\n return <DeviceInvitationImpl {...props} {...{ invitation, onInvitationCreate, onInvitationDone }} />;\n } else {\n return <InvitationSection {...props} {...{ onInvitationCreate, onInvitationDone }} />;\n }\n};\n\nconst DeviceInvitationImpl = ({\n invitation: invitationObservable,\n createInvitationUrl,\n onInvitationDone,\n onInvitationCreate,\n}: DeviceInvitationProps) => {\n const invitation = useMulticastObservable(invitationObservable!);\n const url = createInvitationUrl(InvitationEncoder.encode(invitation));\n\n useEffect(() => {\n if (invitation.state >= Invitation.State.SUCCESS) {\n onInvitationDone();\n }\n }, [invitation.state]);\n\n return <InvitationSection {...invitation} {...{ url, onInvitationDone, onInvitationCreate }} />;\n};\n\ntype InvitationComponentProps = Partial<\n Pick<Invitation, 'authCode' | 'invitationId'> &\n Pick<DeviceInvitationProps, 'onInvitationDone' | 'onInvitationCreate'> & {\n state: number;\n url: string;\n }\n>;\n\nconst InvitationSection = ({\n state = -1,\n authCode,\n invitationId = 'never',\n url = 'never',\n onInvitationDone = () => {},\n onInvitationCreate = () => {},\n}: InvitationComponentProps) => {\n const { t } = useTranslation(meta.id);\n const activeView =\n state < 0\n ? 'init'\n : state >= Invitation.State.CANCELLED\n ? 'complete'\n : state >= Invitation.State.READY_FOR_AUTHENTICATION && authCode\n ? 'auth-code'\n : 'qr-code';\n return activeView === 'init' ? (\n <>\n <p className='text-description mbe-2'>{t('add device description')}</p>\n <IconButton\n icon='ph--plus--regular'\n label={t('create device invitation label')}\n disabled={state >= 0}\n classNames='is-full'\n data-testid='devicesContainer.createInvitation'\n onClick={onInvitationCreate}\n />\n </>\n ) : (\n <Viewport.Root activeView={activeView}>\n <Viewport.Views>\n <Viewport.View id='init'>\n {/* This view intentionally left blank while conditionally rendering the viewport. */}\n </Viewport.View>\n <Viewport.View id='complete'>\n <InvitationComplete statusValue={state} />\n </Viewport.View>\n <Viewport.View id='auth-code'>\n <InvitationAuthCode id={invitationId} code={authCode ?? 'never'} onCancel={onInvitationDone} />\n </Viewport.View>\n <Viewport.View id='qr-code'>\n <InvitationQR id={invitationId} url={url} onCancel={onInvitationDone} />\n </Viewport.View>\n </Viewport.Views>\n </Viewport.Root>\n );\n};\n\nconst InvitationQR = ({ id, url, onCancel }: { id: string; url: string; onCancel: () => void }) => {\n const { t } = useTranslation(osTranslations);\n const qrLabel = useId('devices-container__qr-code');\n const emoji = hexToEmoji(id);\n return (\n <>\n <p className='text-description'>{t('qr code description', { ns: meta.id })}</p>\n <div role='group' className='grid grid-cols-[1fr_min-content] mlb-2 gap-2'>\n <div role='none' className='is-full aspect-square relative text-description'>\n <QR\n rounding={100}\n backgroundColor='transparent'\n color='currentColor'\n aria-labelledby={qrLabel}\n errorCorrectionLevel='Q'\n cutout={true}\n >\n {url ?? 'never'}\n </QR>\n <Centered>\n <Emoji text={emoji} />\n </Centered>\n </div>\n <span id={qrLabel} className='sr-only'>\n {t('qr label')}\n </span>\n </div>\n {/* TODO(burdon): Factor out button bar */}\n <div className='flex justify-center'>\n <div className='flex gap-2'>\n <Clipboard.Button value={url ?? 'never'} />\n <Button variant='ghost' onClick={onCancel}>\n {t('cancel label')}\n </Button>\n </div>\n </div>\n </>\n );\n};\n\nconst InvitationAuthCode = ({ id, code, onCancel }: { id: string; code: string; onCancel: () => void }) => {\n const { t } = useTranslation(osTranslations);\n const emoji = hexToEmoji(id);\n\n return (\n <>\n <p className='text-description'>{t('auth other device emoji message')}</p>\n {emoji && <Emoji text={emoji} className='mli-auto mlb-2 text-center' />}\n <p className='text-description'>{t('auth code message')}</p>\n <AuthCode code={code} large classNames='mli-auto mlb-2 text-center grow' />\n <Button variant='ghost' onClick={onCancel}>\n {t('cancel label')}\n </Button>\n </>\n );\n};\n\nconst InvitationComplete = ({ statusValue }: { statusValue: number }) => {\n return statusValue > 0 ? (\n <Icon icon='ph--check--regular' size={6} classNames='m-1.5' />\n ) : (\n <Icon icon='ph--x--regular' size={6} classNames='m-1.5' />\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useCallback } from 'react';\n\nimport { Common } from '@dxos/app-framework';\nimport { useOperationInvoker } from '@dxos/app-framework/react';\nimport { ObservabilityOperation } from '@dxos/plugin-observability/types';\nimport { type InvitationResult } from '@dxos/react-client/invitations';\nimport { Dialog, useTranslation } from '@dxos/react-ui';\nimport { JoinPanel, type JoinPanelProps } from '@dxos/shell/react';\nimport { osTranslations } from '@dxos/ui-theme';\n\nimport { meta } from '../meta';\nimport { ClientOperation } from '../types';\n\nexport const JoinDialog = (props: JoinPanelProps) => {\n const { invokePromise } = useOperationInvoker();\n const { t } = useTranslation(meta.id);\n\n const handleCancelResetStorage = useCallback(() => invokePromise(ClientOperation.ShareIdentity), [invokePromise]);\n\n const handleDone = useCallback(\n async (result: InvitationResult | null) => {\n if (result?.identityKey) {\n await Promise.all([\n invokePromise(Common.LayoutOperation.UpdateDialog, { state: false }),\n invokePromise(ObservabilityOperation.SendEvent, {\n name: props.initialDisposition === 'recover-identity' ? 'identity.recover' : 'identity.join',\n }),\n ]);\n }\n },\n [invokePromise],\n );\n\n return (\n <Dialog.Content>\n <Dialog.Title classNames='sr-only'>{t('join space label', { ns: osTranslations })}</Dialog.Title>\n <JoinPanel\n mode='halo-only'\n {...props}\n exitActionParent={<Dialog.Close asChild />}\n doneActionParent={<Dialog.Close asChild />}\n onCancelResetStorage={handleCancelResetStorage}\n onDone={handleDone}\n />\n </Dialog.Content>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\nimport React, { type ChangeEvent, useCallback, useMemo, useState } from 'react';\n\nimport { debounce } from '@dxos/async';\nimport { useClient } from '@dxos/react-client';\nimport { type Identity, useIdentity } from '@dxos/react-client/halo';\nimport { ButtonGroup, Clipboard, Input, useTranslation } from '@dxos/react-ui';\nimport {\n ControlItem,\n ControlItemInput,\n ControlPage,\n ControlSection,\n Form,\n type FormFieldMap,\n type FormUpdateMeta,\n} from '@dxos/react-ui-form';\nimport { EmojiPickerBlock, HuePicker } from '@dxos/react-ui-pickers';\nimport { hexToEmoji, hexToHue } from '@dxos/util';\n\nimport { meta } from '../meta';\n\n// TOOD(burdon): Factor out?\n// TODO(wittjosiah): Integrate annotations with translations.\nconst UserProfile = Schema.Struct({\n did: Schema.String.annotations({ title: 'DID' }),\n displayName: Schema.String.annotations({ title: 'Display name' }),\n emoji: Schema.String.annotations({ title: 'Avatar' }),\n hue: Schema.String.annotations({ title: 'Color' }),\n});\n\ntype UserProfile = Schema.Schema.Type<typeof UserProfile>;\n\n// TODO(thure): Factor out?\nconst getDefaultHueValue = (identity: Identity | null) => hexToHue(identity?.identityKey.toHex() ?? '0');\nconst getHueValue = (identity: Identity | null) => identity?.profile?.data?.hue || getDefaultHueValue(identity);\nconst getDefaultEmojiValue = (identity: Identity | null) => hexToEmoji(identity?.identityKey.toHex() ?? '0');\nconst getEmojiValue = (identity: Identity | null) => identity?.profile?.data?.emoji || getDefaultEmojiValue(identity);\n\nexport const ProfileContainer = () => {\n const { t } = useTranslation(meta.id);\n const client = useClient();\n const identity = useIdentity();\n const [displayName, setDisplayNameDirectly] = useState(identity?.profile?.displayName ?? '');\n const [emoji, setEmojiDirectly] = useState<string>(getEmojiValue(identity));\n const [hue, setHueDirectly] = useState<string>(getHueValue(identity));\n\n const updateProfile = useMemo(\n () =>\n debounce(\n (profile: Partial<UserProfile>) =>\n client.halo.updateProfile({\n displayName: profile.displayName,\n data: {\n emoji: profile.emoji,\n hue: profile.hue,\n },\n }),\n 2_000,\n ),\n [],\n );\n\n const handleChange = useCallback(\n (profile: Partial<UserProfile>, meta: FormUpdateMeta<UserProfile>) => {\n for (const [path, changed] of Object.entries(meta.changed)) {\n if (changed) {\n switch (path) {\n case 'displayName':\n setDisplayNameDirectly(profile.displayName ?? '');\n break;\n case 'emoji':\n setEmojiDirectly(profile.emoji ?? getDefaultEmojiValue(identity));\n break;\n case 'hue':\n setHueDirectly(profile.hue ?? getDefaultHueValue(identity));\n break;\n default:\n break;\n }\n }\n }\n\n void updateProfile(profile);\n },\n [identity],\n );\n\n const values = useMemo(\n () => ({\n did: identity?.did,\n displayName,\n emoji,\n hue,\n }),\n [identity, displayName, emoji, hue],\n );\n\n // TODO(wittjosiah): Integrate descriptions with the form schema.\n const fieldMap = useMemo<FormFieldMap>(\n () => ({\n displayName: ({ type, label, getValue, onValueChange }) => {\n const handleChange = useCallback(\n ({ target: { value } }: ChangeEvent<HTMLInputElement>) => onValueChange(type, value),\n [onValueChange, type],\n );\n\n return (\n <ControlItemInput title={label} description={t('display name description')}>\n <Input.TextInput\n value={getValue()}\n onChange={handleChange}\n placeholder={t('display name input placeholder')}\n classNames='min-is-64'\n />\n </ControlItemInput>\n );\n },\n emoji: ({ type, label, getValue, onValueChange }) => {\n const handleChange = useCallback((nextEmoji: string) => onValueChange(type, nextEmoji), [onValueChange, type]);\n const handleEmojiReset = useCallback(\n () => onValueChange(type, getDefaultEmojiValue(identity)),\n [onValueChange, type],\n );\n\n return (\n <ControlItem title={label} description={t('icon description')}>\n <EmojiPickerBlock\n triggerVariant='default'\n emoji={getValue()}\n onChangeEmoji={handleChange}\n onClickClear={handleEmojiReset}\n classNames='justify-self-end'\n />\n </ControlItem>\n );\n },\n hue: ({ type, label, getValue, onValueChange }) => {\n const handleChange = useCallback((nextHue: string) => onValueChange(type, nextHue), [onValueChange, type]);\n const handleHueReset = useCallback(\n () => onValueChange(type, getDefaultHueValue(identity)),\n [onValueChange, type],\n );\n\n return (\n <ControlItem title={label} description={t('hue description')}>\n <div role='none' className='flex justify-self-end'>\n <HuePicker value={getValue()} onChange={handleChange} onReset={handleHueReset} />\n </div>\n </ControlItem>\n );\n },\n // TODO(wittjosiah): We need text input annotations for disabled and copyable.\n did: ({ label, getValue }) => {\n return (\n <ControlItemInput title={label} description={t('did description')}>\n <ButtonGroup>\n <Input.TextInput value={getValue()} disabled classNames='min-is-64' />\n <Clipboard.IconButton value={getValue() ?? ''} />\n </ButtonGroup>\n </ControlItemInput>\n );\n },\n }),\n [t],\n );\n\n return (\n <ControlPage>\n <Clipboard.Provider>\n <ControlSection title={t('profile label')} description={t('profile description')}>\n <Form.Root schema={UserProfile} values={values} fieldMap={fieldMap} onValuesChanged={handleChange}>\n <Form.Content>\n <Form.FieldSet classNames='container-max-width grid grid-cols-1 md:grid-cols-[1fr_min-content]' />\n </Form.Content>\n </Form.Root>\n </ControlSection>\n </Clipboard.Provider>\n </ControlPage>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useCallback, useState } from 'react';\n\nimport { AlertDialog, Button, Clipboard, Input, useTranslation } from '@dxos/react-ui';\n\nimport { meta } from '../meta';\n\nexport type RecoveryCodeDialogProps = {\n code: string;\n};\n\nexport const RecoveryCodeDialog = ({ code }: RecoveryCodeDialogProps) => {\n const { t } = useTranslation(meta.id);\n const [confirmation, setConfirmation] = useState(false);\n\n const handleConfirmation = useCallback((checked: boolean) => setConfirmation(checked), []);\n\n return (\n <AlertDialog.Content classNames='bs-content min-bs-[15rem] max-bs-full md:max-is-[40rem] overflow-hidden'>\n <AlertDialog.Title>{t('recovery code dialog title')}</AlertDialog.Title>\n <p className='plb-4'>{t('recovery code dialog description')}</p>\n <Clipboard.Provider>\n <Code code={code} />\n </Clipboard.Provider>\n <div className='flex flex-col plb-4 gap-2'>\n <p>{t('recovery code dialog warning 1')}</p>\n <p>{t('recovery code dialog warning 2')}</p>\n </div>\n <div className='flex items-center gap-2 pbe-4'>\n <Input.Root>\n <Input.Checkbox\n data-testid='recoveryCode.confirm'\n checked={confirmation}\n onCheckedChange={handleConfirmation}\n />\n <Input.Label>{t('recovery code confirmation label')}</Input.Label>\n </Input.Root>\n </div>\n <div className='flex justify-end'>\n <AlertDialog.Action asChild>\n <Button data-testid='recoveryCode.continue' variant='primary' disabled={!confirmation}>\n {t('continue label')}\n </Button>\n </AlertDialog.Action>\n </div>\n </AlertDialog.Content>\n );\n};\n\nconst Code = ({ code }: { code: string }) => {\n const words = code.split(' ');\n return (\n <div className='relative p-2 border border-separator rounded group'>\n <Clipboard.IconButton value={code} classNames='absolute top-2 right-2 invisible group-hover:visible' />\n <div className='grid grid-cols-4'>\n {words.map((word, i) => (\n <div key={i} className='flex items-center p-2 gap-2'>\n <div className='is-4 text-xs text-center text-subdued'>{i + 1}</div>\n <div className='text-sm'>{word}</div>\n </div>\n ))}\n </div>\n </div>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { useOperationInvoker } from '@dxos/app-framework/react';\nimport { useCredentials } from '@dxos/react-client/halo';\nimport { Icon, IconButton, List, ListItem, Message, useTranslation } from '@dxos/react-ui';\nimport { ControlGroup, ControlItem, ControlPage, ControlSection } from '@dxos/react-ui-form';\n\nimport { meta } from '../meta';\nimport { ClientOperation } from '../types';\n\nexport const MANAGE_CREDENTIALS_DIALOG = `${meta.id}/ManageCredentialsDialog`;\n\nexport const RecoveryCredentialsContainer = () => {\n const { t } = useTranslation(meta.id);\n const { invokePromise } = useOperationInvoker();\n const credentials = useCredentials();\n const recoveryCredentials = credentials.filter(\n (credential) => credential.subject.assertion['@type'] === 'dxos.halo.credentials.IdentityRecovery',\n );\n\n return (\n <ControlPage>\n <ControlSection title={t('recovery setup dialog title')} description={t('recovery setup dialog description')}>\n <ControlGroup>\n <ControlItem title={t('create passkey label')} description={t('create passkey description')}>\n <IconButton\n label={t('create passkey label')}\n icon='ph--key--duotone'\n variant='primary'\n onClick={() => invokePromise(ClientOperation.CreatePasskey)}\n />\n </ControlItem>\n <ControlItem title={t('create recovery code label')} description={t('create recovery code description')}>\n <IconButton\n label={t('create recovery code label')}\n icon='ph--receipt--duotone'\n variant='default'\n onClick={() => invokePromise(ClientOperation.CreateRecoveryCode)}\n />\n </ControlItem>\n </ControlGroup>\n </ControlSection>\n <ControlSection title={t('credentials list label')}>\n {recoveryCredentials.length < 1 ? (\n <Message.Root valence='error' classNames='container-max-width'>\n <Message.Title icon='ph--shield-warning--duotone'>{t('no credentials title')}</Message.Title>\n <Message.Content>{t('no credentials message')}</Message.Content>\n </Message.Root>\n ) : (\n <List classNames='container-max-width pli-2'>\n {recoveryCredentials.map((credential) => (\n <ListItem.Root key={credential.id?.toHex()}>\n <ListItem.Endcap>\n <Icon icon='ph--key--regular' />\n </ListItem.Endcap>\n <ListItem.Heading>{credential.issuanceDate.toLocaleString()}</ListItem.Heading>\n </ListItem.Root>\n ))}\n </List>\n )}\n </ControlSection>\n </ControlPage>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React, { useCallback } from 'react';\n\nimport { Capability, type CapabilityManager, Common } from '@dxos/app-framework';\nimport { useOperationInvoker } from '@dxos/app-framework/react';\nimport { runAndForwardErrors } from '@dxos/effect';\nimport { useClient } from '@dxos/react-client';\nimport { Dialog, useTranslation } from '@dxos/react-ui';\nimport { ConfirmReset, type ConfirmResetProps } from '@dxos/shell/react';\n\nimport { meta } from '../meta';\nimport { type ClientPluginOptions } from '../types';\n\nexport type ResetDialogProps = Pick<ConfirmResetProps, 'mode'> &\n Pick<ClientPluginOptions, 'onReset'> & {\n capabilityManager: CapabilityManager.CapabilityManager;\n };\n\nexport const ResetDialog = ({ mode, onReset, capabilityManager }: ResetDialogProps) => {\n const { t } = useTranslation(meta.id);\n const { invokePromise } = useOperationInvoker();\n const client = useClient();\n\n const handleReset = useCallback(async () => {\n await client.reset();\n const target =\n mode === 'join new identity' ? 'deviceInvitation' : mode === 'recover' ? 'recoverIdentity' : undefined;\n if (onReset) {\n await runAndForwardErrors(onReset({ target }).pipe(Effect.provideService(Capability.Service, capabilityManager)));\n }\n }, [client, mode, onReset, capabilityManager]);\n\n const handleCancel = useCallback(() => {\n void invokePromise(Common.LayoutOperation.UpdateDialog, { state: false });\n }, [invokePromise]);\n\n // TODO(wittjosiah): Add the sr-only translations.\n // TODO(wittjosiah): Add missing descriptions to other dialogs.\n return (\n <Dialog.Content>\n <Dialog.Title classNames='sr-only'>{t('reset dialog title')}</Dialog.Title>\n <Dialog.Description classNames='sr-only'>{t('reset dialog description')}</Dialog.Description>\n <ConfirmReset active mode={mode} onConfirm={handleReset} onCancel={handleCancel} />\n </Dialog.Content>\n );\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;AAIA,YAAYA,aAAY;AACxB,OAAOC,YAAW;AAElB,SAASC,cAAAA,aAAYC,UAAAA,eAAc;;;ACHnC,OAAOC,SAASC,aAAaC,WAAWC,gBAAgB;AACxD,SAASC,UAAU;AAEnB,SAASC,2BAA2B;AACpC,SAASC,WAAW;AACpB,SAASC,WAA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AKE,cAAcO;MACxEP,WAAW,CAAC,EAAEF,KAAI,MAAsB,gBAAAG,OAAA,cAACO,YAAeV,KAAKd,KAAK;IACpE,CAAA;IACAM,QAAOE,cAAc;MACnBC,IAAIgB;MACJb,MAAM;MACNC,QAAQ,CAACC,SAAqDA,KAAKE,cAAcS;MACjFT,WAAW,CAAC,EAAEF,KAAI,MAAsB,gBAAAG,OAAA,cAACS,oBAAuBZ,KAAKd,KAAK;IAC5E,CAAA;IACAM,QAAOE,cAAc;MACnBC,IAAIkB;MACJf,MAAM;MACNC,QAAQ,CAACC,SAA8CA,KAAKE,cAAcW;MAC1EX,WAAW,CAAC,EAAEF,KAAI,MAChB,gBAAAG,OAAA,cAACW,aAAAA;QAAa,GAAGd,KAAKd;QAAOE;QAAkBC;;IAEnD,CAAA;GACD;AACH,CAAA,CAAA;",
6
- "names": ["Effect", "React", "Capability", "Common", "React", "useCallback", "useEffect", "useState", "QR", "useOperationInvoker", "log", "useClient", "useMulticastObservable", "useDevices", "Invitation", "InvitationEncoder", "useNetworkStatus", "Button", "Clipboard", "Icon", "IconButton", "List", "useId", "useTranslation", "ControlFrame", "ControlFrameItem", "ControlGroup", "ControlItem", "ControlPage", "ControlSection", "translationKey", "AuthCode", "Centered", "DeviceListItem", "Emoji", "Viewport", "osTranslations", "hexToEmoji", "DevicesContainer", "createInvitationUrl", "t", "useTranslation", "translationKey", "invokePromise", "useOperationInvoker", "devices", "useDevices", "swarm", "connectionState", "useNetworkStatus", "handleResetStorage", "useCallback", "ClientOperation", "ResetStorage", "handleRecover", "mode", "handleJoinNewIdentity", "Clipboard", "Provider", "ControlPage", "ControlSection", "title", "ns", "meta", "id", "description", "ControlFrame", "ControlFrameItem", "List", "map", "device", "DeviceListItem", "key", "deviceKey", "toHex", "DeviceInvitation", "ControlGroup", "ControlItem", "Button", "variant", "onClick", "data-testid", "props", "client", "useClient", "invitation", "setInvitation", "useState", "onInvitationCreate", "halo", "share", "config", "values", "runtime", "app", "env", "DX_ENVIRONMENT", "subscription", "subscribe", "invitationCode", "InvitationEncoder", "encode", "state", "Invitation", "State", "CONNECTING", "log", "info", "JSON", "stringify", "authCode", "unsubscribe", "onInvitationDone", "undefined", "DeviceInvitationImpl", "InvitationSection", "invitationObservable", "useMulticastObservable", "url", "useEffect", "SUCCESS", "invitationId", "activeView", "CANCELLED", "READY_FOR_AUTHENTICATION", "p", "className", "IconButton", "icon", "label", "disabled", "classNames", "Viewport", "Root", "Views", "View", "InvitationComplete", "statusValue", "InvitationAuthCode", "code", "onCancel", "InvitationQR", "osTranslations", "qrLabel", "useId", "emoji", "hexToEmoji", "div", "role", "QR", "rounding", "backgroundColor", "color", "aria-labelledby", "errorCorrectionLevel", "cutout", "Centered", "Emoji", "text", "span", "value", "AuthCode", "large", "Icon", "size", "React", "useCallback", "Common", "useOperationInvoker", "ObservabilityOperation", "Dialog", "useTranslation", "JoinPanel", "osTranslations", "JoinDialog", "props", "invokePromise", "useOperationInvoker", "t", "useTranslation", "meta", "id", "handleCancelResetStorage", "useCallback", "ClientOperation", "ShareIdentity", "handleDone", "result", "identityKey", "Promise", "all", "Common", "LayoutOperation", "UpdateDialog", "state", "ObservabilityOperation", "SendEvent", "name", "initialDisposition", "React", "Dialog", "Content", "Title", "classNames", "ns", "osTranslations", "JoinPanel", "mode", "exitActionParent", "Close", "asChild", "doneActionParent", "onCancelResetStorage", "onDone", "Schema", "React", "useCallback", "useMemo", "useState", "debounce", "useClient", "useIdentity", "ButtonGroup", "Clipboard", "Input", "useTranslation", "ControlItem", "ControlItemInput", "ControlPage", "ControlSection", "Form", "EmojiPickerBlock", "HuePicker", "hexToEmoji", "hexToHue", "UserProfile", "Struct", "did", "String", "annotations", "title", "displayName", "emoji", "hue", "getDefaultHueValue", "identity", "hexToHue", "identityKey", "toHex", "getHueValue", "profile", "data", "getDefaultEmojiValue", "hexToEmoji", "getEmojiValue", "ProfileContainer", "t", "useTranslation", "meta", "id", "client", "useClient", "useIdentity", "setDisplayNameDirectly", "useState", "setEmojiDirectly", "setHueDirectly", "updateProfile", "useMemo", "debounce", "halo", "handleChange", "useCallback", "path", "changed", "Object", "entries", "values", "fieldMap", "type", "label", "getValue", "onValueChange", "target", "value", "React", "ControlItemInput", "description", "Input", "TextInput", "onChange", "placeholder", "classNames", "nextEmoji", "handleEmojiReset", "ControlItem", "EmojiPickerBlock", "triggerVariant", "onChangeEmoji", "onClickClear", "nextHue", "handleHueReset", "div", "role", "className", "HuePicker", "onReset", "ButtonGroup", "disabled", "Clipboard", "IconButton", "ControlPage", "Provider", "ControlSection", "Form", "Root", "schema", "onValuesChanged", "Content", "FieldSet", "React", "useCallback", "useState", "AlertDialog", "Button", "Clipboard", "Input", "useTranslation", "RecoveryCodeDialog", "code", "t", "useTranslation", "meta", "id", "confirmation", "setConfirmation", "useState", "handleConfirmation", "useCallback", "checked", "React", "AlertDialog", "Content", "classNames", "Title", "p", "className", "Clipboard", "Provider", "Code", "div", "Input", "Root", "Checkbox", "data-testid", "onCheckedChange", "Label", "Action", "asChild", "Button", "variant", "disabled", "words", "split", "IconButton", "value", "map", "word", "i", "key", "React", "useOperationInvoker", "useCredentials", "Icon", "IconButton", "List", "ListItem", "Message", "useTranslation", "ControlGroup", "ControlItem", "ControlPage", "ControlSection", "MANAGE_CREDENTIALS_DIALOG", "meta", "id", "RecoveryCredentialsContainer", "t", "useTranslation", "invokePromise", "useOperationInvoker", "credentials", "useCredentials", "recoveryCredentials", "filter", "credential", "subject", "assertion", "React", "ControlPage", "ControlSection", "title", "description", "ControlGroup", "ControlItem", "IconButton", "label", "icon", "variant", "onClick", "ClientOperation", "CreatePasskey", "CreateRecoveryCode", "length", "Message", "Root", "valence", "classNames", "Title", "Content", "List", "map", "ListItem", "key", "toHex", "Endcap", "Icon", "Heading", "issuanceDate", "toLocaleString", "Effect", "React", "useCallback", "Capability", "Common", "useOperationInvoker", "runAndForwardErrors", "useClient", "Dialog", "useTranslation", "ConfirmReset", "ResetDialog", "mode", "onReset", "capabilityManager", "t", "useTranslation", "meta", "id", "invokePromise", "useOperationInvoker", "client", "useClient", "handleReset", "useCallback", "reset", "target", "undefined", "runAndForwardErrors", "pipe", "provideService", "Capability", "Service", "handleCancel", "Common", "LayoutOperation", "UpdateDialog", "state", "React", "Dialog", "Content", "Title", "classNames", "Description", "ConfirmReset", "active", "onConfirm", "onCancel", "Capability", "makeModule", "fnUntraced", "props", "createInvitationUrl", "onReset", "capabilityManager", "Service", "contributes", "Common", "ReactSurface", "createSurface", "id", "Account", "Profile", "role", "filter", "data", "subject", "component", "React", "ProfileContainer", "Devices", "DevicesContainer", "Security", "RecoveryCredentialsContainer", "JOIN_DIALOG", "JoinDialog", "RECOVERY_CODE_DIALOG", "RecoveryCodeDialog", "RESET_DIALOG", "ResetDialog"]
7
- }
@@ -1,27 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- ClientCapabilities
4
- } from "./chunk-JAF64TFQ.mjs";
5
-
6
- // src/capabilities/schema-defs/schema-defs.ts
7
- import * as Effect from "effect/Effect";
8
- import { Capability, Common } from "@dxos/app-framework";
9
- var schema_defs_default = Capability.makeModule(Effect.fnUntraced(function* () {
10
- const registry = yield* Capability.get(Common.Capability.AtomRegistry);
11
- const client = yield* Capability.get(ClientCapabilities.Client);
12
- const schemasAtom = yield* Capability.atom(Common.Capability.Schema);
13
- let previous = [];
14
- const cancel = registry.subscribe(schemasAtom, async (_schemas) => {
15
- const schemas = Array.from(new Set(_schemas.flat()));
16
- const newSchemas = schemas.filter((schema) => !previous.includes(schema));
17
- previous = schemas;
18
- await client.addTypes(newSchemas);
19
- }, {
20
- immediate: true
21
- });
22
- return Capability.contributes(Common.Capability.Null, null, () => Effect.sync(() => cancel()));
23
- }));
24
- export {
25
- schema_defs_default as default
26
- };
27
- //# sourceMappingURL=schema-defs-QLRGBIKY.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/schema-defs/schema-defs.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability, Common } from '@dxos/app-framework';\nimport { type Type } from '@dxos/echo';\n\nimport { ClientCapabilities } from '../../types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const registry = yield* Capability.get(Common.Capability.AtomRegistry);\n const client = yield* Capability.get(ClientCapabilities.Client);\n const schemasAtom = yield* Capability.atom(Common.Capability.Schema);\n\n // TODO(wittjosiah): Unregister schemas when they are disabled.\n let previous: Type.Entity.Any[] = [];\n const cancel = registry.subscribe(\n schemasAtom,\n async (_schemas: any[]) => {\n // TODO(wittjosiah): This doesn't seem to de-dupe schemas as expected.\n const schemas = Array.from(new Set(_schemas.flat())) as Type.Entity.Any[];\n // TODO(wittjosiah): Filter out schemas which the client has already registered.\n const newSchemas = schemas.filter((schema) => !previous.includes(schema));\n previous = schemas;\n await client.addTypes(newSchemas);\n },\n { immediate: true },\n );\n\n return Capability.contributes(Common.Capability.Null, null, () => Effect.sync(() => cancel()));\n }),\n);\n"],
5
- "mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,cAAc;AAKnC,IAAA,sBAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,QAAMC,WAAW,OAAOH,WAAWI,IAAIC,OAAOL,WAAWM,YAAY;AACrE,QAAMC,SAAS,OAAOP,WAAWI,IAAII,mBAAmBC,MAAM;AAC9D,QAAMC,cAAc,OAAOV,WAAWW,KAAKN,OAAOL,WAAWY,MAAM;AAGnE,MAAIC,WAA8B,CAAA;AAClC,QAAMC,SAASX,SAASY,UACtBL,aACA,OAAOM,aAAAA;AAEL,UAAMC,UAAUC,MAAMC,KAAK,IAAIC,IAAIJ,SAASK,KAAI,CAAA,CAAA;AAEhD,UAAMC,aAAaL,QAAQM,OAAO,CAACC,WAAW,CAACX,SAASY,SAASD,MAAAA,CAAAA;AACjEX,eAAWI;AACX,UAAMV,OAAOmB,SAASJ,UAAAA;EACxB,GACA;IAAEK,WAAW;EAAK,CAAA;AAGpB,SAAO3B,WAAW4B,YAAYvB,OAAOL,WAAW6B,MAAM,MAAM,MAAaC,YAAK,MAAMhB,OAAAA,CAAAA,CAAAA;AACtF,CAAA,CAAA;",
6
- "names": ["Effect", "Capability", "Common", "Capability", "makeModule", "fnUntraced", "registry", "get", "Common", "AtomRegistry", "client", "ClientCapabilities", "Client", "schemasAtom", "atom", "Schema", "previous", "cancel", "subscribe", "_schemas", "schemas", "Array", "from", "Set", "flat", "newSchemas", "filter", "schema", "includes", "addTypes", "immediate", "contributes", "Null", "sync"]
7
- }
@@ -1,6 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability } from '@dxos/app-framework';
3
- import { GraphBuilder } from '@dxos/plugin-graph';
4
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, Capability.Service>;
5
- export default _default;
6
- //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAc,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AAM3E,wBAgFE"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC"}
@@ -1,8 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability, Plugin } from '@dxos/app-framework';
3
- import { Client } from '@dxos/client';
4
- import { type ClientPluginOptions } from '../../types';
5
- type ClientCapabilityOptions = Omit<ClientPluginOptions, 'appKey' | 'invitationUrl' | 'invitationParam' | 'onReset'>;
6
- declare const _default: (props?: ClientCapabilityOptions | undefined) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<Client>>, Capability.Capability<Capability.InterfaceDef<import("effect/Layer").Layer<any, any, any>>>], Error, Capability.Service | Plugin.Service>;
7
- export default _default;
8
- //# sourceMappingURL=client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/client/client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAiB,MAAM,cAAc,CAAC;AAKrD,OAAO,EAAsB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE3E,KAAK,uBAAuB,GAAG,IAAI,CAAC,mBAAmB,EAAE,QAAQ,GAAG,eAAe,GAAG,iBAAiB,GAAG,SAAS,CAAC,CAAC;;AAErH,wBA0DE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/client/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;uLAAsD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const Migrations: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/migrations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,UAAU,8FAA8D,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>>, Error, Capability.Service>;
4
- export default _default;
5
- //# sourceMappingURL=migrations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/migrations/migrations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;AAIzD,wBAmBE"}
@@ -1,5 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const OperationResolver: Capability.LazyCapability<{
3
- appName?: string;
4
- }, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Common").Capability.OperationResolver[]>>, Error>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,iBAAiB;;8HAA6E,CAAC"}
@@ -1,8 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability, Common } from '@dxos/app-framework';
3
- type OperationResolverOptions = {
4
- appName?: string;
5
- };
6
- declare const _default: (props?: OperationResolverOptions | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.OperationResolver[]>>, never, never>;
7
- export default _default;
8
- //# sourceMappingURL=operation-resolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operation-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/operation-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAazD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;;AAIF,wBA8NE"}
@@ -1,7 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const ReactContext: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
3
- id: string;
4
- dependsOn?: string[];
5
- context: import("react").FC<import("react").PropsWithChildren>;
6
- }>>>, Error>;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-context/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;YAAmE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-context/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;;;;;AAOzD,wBAUE"}
@@ -1,5 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const ReactSurface: Capability.LazyCapability<Pick<import("../..").ClientPluginOptions, "onReset"> & {
3
- createInvitationUrl: (invitationCode: string) => string;
4
- }, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Common").Capability.ReactSurface>>, Error>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY;;uHAAmE,CAAC"}
@@ -1,9 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability, Common } from '@dxos/app-framework';
3
- import { type ClientPluginOptions } from '../../types';
4
- type ReactSurfaceOptions = Pick<ClientPluginOptions, 'onReset'> & {
5
- createInvitationUrl: (invitationCode: string) => string;
6
- };
7
- declare const _default: (props?: ReactSurfaceOptions | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.ReactSurface>>, never, Capability.Service>;
8
- export default _default;
9
- //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAczD,OAAO,EAAW,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEhE,KAAK,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAChE,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CACzD,CAAC;;AAEF,wBA8CE"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const SchemaDefs: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/schema-defs/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,UAAU,8FAA+D,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>>, Error, Capability.Service>;
4
- export default _default;
5
- //# sourceMappingURL=schema-defs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-defs.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/schema-defs/schema-defs.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;AAKzD,wBAuBE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DevicesContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/DevicesContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA0BhE,MAAM,MAAM,qBAAqB,GAAG;IAClC,mBAAmB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,yBAAyB,qBAAqB,sBAyE9E,CAAC"}
@@ -1,181 +0,0 @@
1
- import { type StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- component: ({ createInvitationUrl }: import("./DevicesContainer").DevicesContainerProps) => import("react").JSX.Element;
5
- decorators: import("@storybook/react").Decorator[];
6
- parameters: {
7
- layout: string;
8
- translations: (import("i18next").Resource | {
9
- readonly 'en-US': {
10
- readonly "dxos.org/i18n/shell": {
11
- readonly "manage profile label": "Manage identity";
12
- readonly "identity offline description": "Offline";
13
- readonly "sidebar label": "DXOS sidebar";
14
- readonly "copy invitation code label": "Copy URL";
15
- readonly "copy success label": "Copied";
16
- readonly "copy self did label": "Copy DID";
17
- readonly "open share panel label": "View QR code";
18
- readonly "manage credentials label": "Manage credentials";
19
- readonly "joining space heading": "Joining space";
20
- readonly "join space heading": "Enter space invitation";
21
- readonly "halo heading": "Initialize device identity";
22
- readonly "exit label": "Exit";
23
- readonly "identity selector title": "Join as";
24
- readonly "identity radio group title": "Select an identity that is already associated with this device";
25
- readonly "add identity label": "Add";
26
- readonly "continue label": "Continue";
27
- readonly "pending label": "Pending";
28
- readonly "back label": "Back";
29
- readonly "next label": "Next";
30
- readonly "close label": "Close";
31
- readonly "auth choices label": "Choose an identity";
32
- readonly "create identity label": "Create an identity";
33
- readonly "create identity description": "Create a new identity.";
34
- readonly "recover identity label": "Use a recovery code";
35
- readonly "recover identity description": "Enter your recovery code to log in manually.";
36
- readonly "invitation input placeholder": "Invitation code";
37
- readonly "recovery code placeholder": "Recovery code";
38
- readonly "display name placeholder": "Display name";
39
- readonly "join identity label": "Use another device";
40
- readonly "join identity description": "Add this device to an identity you\u2019re already logged into on another device.";
41
- readonly "deselect identity label": "Back to identities";
42
- readonly "addition method chooser title": "An identity is required to continue";
43
- readonly "new identity input label": "Set display name";
44
- readonly "recover identity input label": "Type or paste your recovery code";
45
- readonly "failed to create identity message": "Failed to create an identity.";
46
- readonly "failed to recover identity message": "Failed to recover an identity from the provided recovery code.";
47
- readonly "failed to authenticate message": "Incorrect code.";
48
- readonly "identity added label": "Created identity & added to this device:";
49
- readonly "join space as identity heading": "<part>as </part><part><icon/><label>{{labelValue}}</label></part>";
50
- readonly "error status label": "Failed";
51
- readonly "timeout status label": "Timed out";
52
- readonly "cancelled status label": "Cancelled";
53
- readonly "init status label": "Ready to connect";
54
- readonly "connecting status label": "Connecting\u2026";
55
- readonly "connected status label": "Enter authentication code";
56
- readonly "authenticating status label": "Enter authentication code";
57
- readonly "success status label": "Success";
58
- readonly "cancel label": "Cancel";
59
- readonly "done label": "Done";
60
- readonly "reset label": "Start over";
61
- readonly "auth code input label": "Enter the verification code";
62
- readonly "invitation input label": "Paste an invitation code or URL";
63
- readonly "create device invitation label": "Add device";
64
- readonly "create space invitation label": "Invite";
65
- readonly "qr label": "Scan to accept invitation";
66
- readonly "empty invitations message": "No pending invitations";
67
- readonly "empty device list message": "No devices authenticated other than this device.";
68
- readonly "show all spaces label": "All spaces";
69
- readonly "all spaces label": "All spaces";
70
- readonly "create space label": "Create a new space";
71
- readonly "join space label": "Join a space";
72
- readonly "show current space label": "Current space";
73
- readonly "view space invitations label": "View space invitations";
74
- readonly "toggle sidebar label": "Open/close sidebar";
75
- readonly "open sidebar label": "Open sidebar";
76
- readonly "close sidebar label": "Close sidebar";
77
- readonly "welcome message": "Welcome";
78
- readonly "selecting identity heading": "Selecting identity";
79
- readonly "devices heading": "Devices";
80
- readonly "identity heading": "Profile settings";
81
- readonly "choose add device label": "Add device";
82
- readonly "choose devices label": "Manage devices";
83
- readonly "choose profile label": "Edit profile";
84
- readonly "choose sign out label": "Reset storage";
85
- readonly "choose join new identity label": "Join existing device";
86
- readonly "empty space members message": "There is nobody in this space yet.";
87
- readonly "back to all invitations label": "Back to all invitations";
88
- readonly "invitation heading": "Invitation";
89
- readonly "invitation list heading": "Invitations";
90
- readonly "device invitation list heading": "Pending device invitations";
91
- readonly "space invitation list heading": "Pending invitations";
92
- readonly "device list heading": "Devices";
93
- readonly "space member list heading": "Members";
94
- readonly "space panel heading": "Space membership";
95
- readonly "auth code message": "Enter the following auth code on the joining device. Click the code to copy\u00A0it.";
96
- readonly "auth other device emoji message": "Be sure the other device shows the following\u00A0emoji.";
97
- readonly "display name input label": "Display name";
98
- readonly "display name input placeholder": "Enter a display name";
99
- readonly "invite one label": "Create single-use invitation";
100
- readonly "invite one description": "Only one user may join.";
101
- readonly "invite one qr label": "Single-use invitation";
102
- readonly "invite one list item label": "Active single-use invitation";
103
- readonly "invite many label": "Create multi-use invitation";
104
- readonly "invite many description": "Anyone with the link can join.";
105
- readonly "invite many qr label": "Multi-use invitation";
106
- readonly "invite many list item label": "Active multi-use invitation";
107
- readonly "invite options label": "Change the active invite option.";
108
- readonly "reset in progress label": "Resetting...";
109
- readonly "confirm label": "Confirm";
110
- readonly "delete label": "Delete";
111
- readonly "reset storage input label": "WARNING: This will delete all data on this device. Type {{confirmationValue}} to continue.";
112
- readonly "join new identity input label": "WARNING: To join an existing device all data on this device will be deleted. Type {{confirmationValue}} to continue.";
113
- readonly "failed to reset identity message": "Failed to reset identity.";
114
- readonly "confirmation value": "RESET";
115
- readonly "confirmation placeholder": "Enter {{confirmationValue}} to continue.";
116
- readonly "sign out chooser title": "Danger zone";
117
- readonly "sign out chooser message": "Proceeding with the action below will erase all data on this device.";
118
- readonly "join new identity label": "Join an existing identity";
119
- readonly "reset device label": "Reset storage";
120
- readonly "reset device confirm message": "Are you sure you want to reset your device? All data will be lost.";
121
- readonly "emoji and color label": "Emoji and color";
122
- readonly "clear label": "Use default";
123
- readonly "select emoji label": "Avatar emoji";
124
- readonly "select hue label": "Avatar background color";
125
- readonly "resetting message": "One moment while the device is reset\u2026";
126
- readonly "expires label": "Expires {{timeLeft}}";
127
- readonly "no expiration label": "Doesn\u2019t expire";
128
- readonly "drag handle label": "Drag to rearrange";
129
- readonly "expand label": "Expand";
130
- readonly "collapse label": "Collapse";
131
- readonly "add object to space label": "Add to a space";
132
- readonly "red label": "Red";
133
- readonly "orange label": "Orange";
134
- readonly "amber label": "Amber";
135
- readonly "yellow label": "Yellow";
136
- readonly "lime label": "Lime";
137
- readonly "green label": "Green";
138
- readonly "emerald label": "Emerald";
139
- readonly "teal label": "Teal";
140
- readonly "cyan label": "Cyan";
141
- readonly "sky label": "Sky";
142
- readonly "blue label": "Blue";
143
- readonly "indigo label": "Indigo";
144
- readonly "violet label": "Violet";
145
- readonly "purple label": "Purple";
146
- readonly "fuchsia label": "Fuchsia";
147
- readonly "pink label": "Pink";
148
- readonly "rose label": "Rose";
149
- readonly "select a hue label": "Select color";
150
- readonly "hue label": "Hue";
151
- readonly "icon label": "Icon";
152
- readonly "current device tag label": "This device";
153
- readonly "device name placeholder": "{{platform}} on {{os}}";
154
- readonly "more options label": "More options";
155
- readonly "disconnect label": "Go offline";
156
- readonly "connect label": "Go online";
157
- readonly "edit device label": "Edit device name & avatar";
158
- readonly "agent heading": "Agent";
159
- readonly "create agent clickwrap": "By creating an agent, you agree to our <tosLink href=\"https://dxos.org/tos\">Terms of\u00A0Service</tosLink>.";
160
- readonly "create agent description": "Creating an agent helps keep your devices and peers in-sync. An agent is like any other device, but since it\u2019s always online your changes will sync even when all your physical devices are\u00A0asleep.";
161
- readonly "create agent label": "Start an agent";
162
- readonly "destroy agent label": "Shut down agent";
163
- readonly "agent device label": "Your agent";
164
- readonly "shell fallback title": "Shell failed to connect";
165
- readonly "creating agent label": "Starting agent\u2026";
166
- readonly "destroying agent label": "Stopping agent\u2026";
167
- readonly "getting agent label": "Checking agent status\u2026";
168
- readonly "agent requested label": "Agent requested";
169
- readonly "agent requested description": "The agent service is creating an agent for you. Once the agent connects, it will display in the devices list.";
170
- readonly "authenticating label": "Authenticating\u2026";
171
- readonly "create recovery code label": "Create recovery code";
172
- readonly "choose recover identity label": "Recover identity";
173
- };
174
- };
175
- })[];
176
- };
177
- };
178
- export default meta;
179
- type Story = StoryObj<typeof meta>;
180
- export declare const Default: Story;
181
- //# sourceMappingURL=DevicesContainer.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DevicesContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DevicesContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAajE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"JoinDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/JoinDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAO3C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMnE,eAAO,MAAM,UAAU,GAAI,OAAO,cAAc,sBAiC/C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ProfileContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAqChF,eAAO,MAAM,gBAAgB,yBA6I5B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProfileContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ProfileContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AASjE,QAAA,MAAM,IAAI;;;;;;;;CAQ+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecoveryCodeDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCodeDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,uBAAuB,sBAoCnE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecoveryCodeDialog.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCodeDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AA4BxC,QAAA,MAAM,IAAI;;eAEyB,GAAG;;;;;;;CAOD,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecoveryCredentialsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCredentialsContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,yBAAyB,QAAuC,CAAC;AAE9E,eAAO,MAAM,4BAA4B,yBAmDxC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecoveryCredentialsContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCredentialsContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAYjE,QAAA,MAAM,IAAI;;;;;;;;CAqB2C,CAAC;AAEtD,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResetDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/ResetDialog.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAc,KAAK,iBAAiB,EAAU,MAAM,qBAAqB,CAAC;AAKjF,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGzE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAC5D,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IACrC,iBAAiB,EAAE,iBAAiB,CAAC,iBAAiB,CAAC;CACxD,CAAC;AAEJ,eAAO,MAAM,WAAW,GAAI,sCAAsC,gBAAgB,sBA2BjF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResetDialog.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ResetDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAkBnE,QAAA,MAAM,IAAI;;;YAGU,GAAG;;;;;;CAWa,CAAC;AAErC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAA2D,CAAC;AAElF,eAAO,MAAM,eAAe,EAAE,KAA+D,CAAC;AAE9F,eAAO,MAAM,OAAO,EAAE,KAAqD,CAAC"}
@@ -1,7 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import { Capability } from '@dxos/app-framework';
6
-
7
- export const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));
@@ -1,7 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import { Capability } from '@dxos/app-framework';
6
-
7
- export const Client = Capability.lazy('Client', () => import('./client'));
@@ -1,7 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import { Capability } from '@dxos/app-framework';
6
-
7
- export const Migrations = Capability.lazy('Migrations', () => import('./migrations'));