@dxos/plugin-client 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934

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 (470) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/lib/neutral/ClientPlugin.mjs +10 -0
  4. package/dist/lib/{browser/cli/index.mjs → neutral/ClientPlugin.node.mjs} +57 -88
  5. package/dist/lib/neutral/ClientPlugin.node.mjs.map +7 -0
  6. package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs +262 -0
  7. package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs.map +7 -0
  8. package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs +53 -0
  9. package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs.map +7 -0
  10. package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs +168 -0
  11. package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs.map +7 -0
  12. package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs +59 -0
  13. package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs.map +7 -0
  14. package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs +51 -0
  15. package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs.map +7 -0
  16. package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs +54 -0
  17. package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs.map +7 -0
  18. package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs +117 -0
  19. package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs.map +7 -0
  20. package/dist/lib/neutral/capabilities/index.mjs +28 -0
  21. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  22. package/dist/lib/neutral/capabilities/node.mjs +13 -0
  23. package/dist/lib/neutral/capabilities/node.mjs.map +7 -0
  24. package/dist/lib/neutral/chunk-IYPUD3DP.mjs +62 -0
  25. package/dist/lib/neutral/chunk-IYPUD3DP.mjs.map +7 -0
  26. package/dist/lib/neutral/chunk-KBYKJCO2.mjs +8 -0
  27. package/dist/lib/neutral/chunk-KBYKJCO2.mjs.map +7 -0
  28. package/dist/lib/neutral/chunk-KJGNSH3K.mjs +18 -0
  29. package/dist/lib/neutral/chunk-KJGNSH3K.mjs.map +7 -0
  30. package/dist/lib/{browser/chunk-WNJRYPGG.mjs → neutral/chunk-M37DHX5L.mjs} +1 -1
  31. package/dist/lib/{browser/chunk-WNJRYPGG.mjs.map → neutral/chunk-M37DHX5L.mjs.map} +2 -2
  32. package/dist/lib/{browser/chunk-M43LJQ5U.mjs → neutral/chunk-RPMM5NKJ.mjs} +2 -2
  33. package/dist/lib/neutral/chunk-RPMM5NKJ.mjs.map +7 -0
  34. package/dist/lib/{browser/chunk-ELAYKIQU.mjs → neutral/chunk-VAIJSQYA.mjs} +1 -1
  35. package/dist/lib/{browser/chunk-ELAYKIQU.mjs.map → neutral/chunk-VAIJSQYA.mjs.map} +2 -2
  36. package/dist/lib/neutral/client-7JBIGMTX.mjs +62 -0
  37. package/dist/lib/neutral/client-7JBIGMTX.mjs.map +7 -0
  38. package/dist/lib/neutral/components/index.mjs +1 -0
  39. package/dist/lib/neutral/containers/index.mjs +19 -0
  40. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  41. package/dist/lib/{browser/create-agent-SS5SE35J.mjs → neutral/create-agent-JV3EM3TV.mjs} +5 -13
  42. package/dist/lib/neutral/create-agent-JV3EM3TV.mjs.map +7 -0
  43. package/dist/lib/{browser/create-identity-PBEUEIPN.mjs → neutral/create-identity-GNGOTH6D.mjs} +5 -5
  44. package/dist/lib/neutral/create-identity-GNGOTH6D.mjs.map +7 -0
  45. package/dist/lib/{browser/create-passkey-JN6I5WMM.mjs → neutral/create-passkey-NCP4XA7C.mjs} +7 -31
  46. package/dist/lib/neutral/create-passkey-NCP4XA7C.mjs.map +7 -0
  47. package/dist/lib/{browser/create-recovery-code-32I6IWZC.mjs → neutral/create-recovery-code-L5LA3GAP.mjs} +6 -14
  48. package/dist/lib/neutral/create-recovery-code-L5LA3GAP.mjs.map +7 -0
  49. package/dist/lib/neutral/index.mjs +23 -0
  50. package/dist/lib/{browser/join-identity-2BP4G2SD.mjs → neutral/join-identity-3W6PJLKN.mjs} +4 -4
  51. package/dist/lib/{browser/join-identity-2BP4G2SD.mjs.map → neutral/join-identity-3W6PJLKN.mjs.map} +1 -1
  52. package/dist/lib/neutral/meta.json +1 -0
  53. package/dist/lib/neutral/meta.mjs +8 -0
  54. package/dist/lib/neutral/meta.mjs.map +7 -0
  55. package/dist/lib/neutral/migrations-7FTW55ER.mjs +23 -0
  56. package/dist/lib/neutral/migrations-7FTW55ER.mjs.map +7 -0
  57. package/dist/lib/neutral/navigation-handler-TIIHOIBY.mjs +46 -0
  58. package/dist/lib/neutral/navigation-handler-TIIHOIBY.mjs.map +7 -0
  59. package/dist/lib/neutral/operation-handler-E3HB7E2T.mjs +13 -0
  60. package/dist/lib/neutral/operation-handler-E3HB7E2T.mjs.map +7 -0
  61. package/dist/lib/neutral/operations/index.mjs +12 -0
  62. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  63. package/dist/lib/neutral/plugin.mjs +17 -0
  64. package/dist/lib/neutral/plugin.mjs.map +7 -0
  65. package/dist/lib/neutral/react-context-B5LXMHVM.mjs +23 -0
  66. package/dist/lib/neutral/react-context-B5LXMHVM.mjs.map +7 -0
  67. package/dist/lib/neutral/react-surface-VSBYVQL7.mjs +60 -0
  68. package/dist/lib/neutral/react-surface-VSBYVQL7.mjs.map +7 -0
  69. package/dist/lib/{browser/recover-identity-LS6B5INB.mjs → neutral/recover-identity-KL6QY4GI.mjs} +4 -4
  70. package/dist/lib/{browser/recover-identity-LS6B5INB.mjs.map → neutral/recover-identity-KL6QY4GI.mjs.map} +1 -1
  71. package/dist/lib/{browser/redeem-passkey-OCIV6VCK.mjs → neutral/redeem-passkey-NDEWSJTM.mjs} +6 -22
  72. package/dist/lib/neutral/redeem-passkey-NDEWSJTM.mjs.map +7 -0
  73. package/dist/lib/{browser/redeem-token-6BCRGKV6.mjs → neutral/redeem-token-YLWAVFXD.mjs} +5 -13
  74. package/dist/lib/neutral/redeem-token-YLWAVFXD.mjs.map +7 -0
  75. package/dist/lib/{browser/reset-storage-RQHXLTZ7.mjs → neutral/reset-storage-OBHEGA6Z.mjs} +5 -5
  76. package/dist/lib/{browser/reset-storage-RQHXLTZ7.mjs.map → neutral/reset-storage-OBHEGA6Z.mjs.map} +1 -1
  77. package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs +51 -0
  78. package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs.map +7 -0
  79. package/dist/lib/{browser/share-identity-YJEBJTPA.mjs → neutral/share-identity-JQ5SL3J2.mjs} +5 -5
  80. package/dist/lib/{browser/share-identity-YJEBJTPA.mjs.map → neutral/share-identity-JQ5SL3J2.mjs.map} +1 -1
  81. package/dist/lib/{browser → neutral}/testing/index.mjs +4 -0
  82. package/dist/lib/{browser → neutral}/testing/index.mjs.map +2 -2
  83. package/dist/lib/{browser/index.mjs → neutral/translations.mjs} +4 -73
  84. package/dist/lib/neutral/translations.mjs.map +7 -0
  85. package/dist/lib/{browser → neutral}/types/index.mjs +1 -1
  86. package/dist/lib/neutral/types/index.mjs.map +7 -0
  87. package/dist/types/src/ClientPlugin.d.ts +1 -0
  88. package/dist/types/src/ClientPlugin.d.ts.map +1 -1
  89. package/dist/types/src/{cli/plugin.d.ts → ClientPlugin.node.d.ts} +2 -1
  90. package/dist/types/src/ClientPlugin.node.d.ts.map +1 -0
  91. package/dist/types/src/ClientPlugin.test.d.ts +2 -0
  92. package/dist/types/src/ClientPlugin.test.d.ts.map +1 -0
  93. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  94. package/dist/types/src/capabilities/client.d.ts +1 -1
  95. package/dist/types/src/capabilities/client.d.ts.map +1 -1
  96. package/dist/types/src/capabilities/index.d.ts +14 -14
  97. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  98. package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
  99. package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -1
  100. package/dist/types/src/capabilities/node.d.ts +13 -13
  101. package/dist/types/src/capabilities/node.d.ts.map +1 -1
  102. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  103. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  104. package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
  105. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  106. package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -1
  107. package/dist/types/src/{cli/commands → commands}/config/index.d.ts +1 -1
  108. package/dist/types/src/commands/config/index.d.ts.map +1 -0
  109. package/dist/types/src/{cli/commands → commands}/config/view.d.ts +1 -1
  110. package/dist/types/src/commands/config/view.d.ts.map +1 -0
  111. package/dist/types/src/commands/device/index.d.ts.map +1 -0
  112. package/dist/types/src/commands/device/info/index.d.ts.map +1 -0
  113. package/dist/types/src/commands/device/info/info.d.ts.map +1 -0
  114. package/dist/types/src/commands/device/info/info.test.d.ts.map +1 -0
  115. package/dist/types/src/commands/device/list/index.d.ts.map +1 -0
  116. package/dist/types/src/commands/device/list/list.d.ts.map +1 -0
  117. package/dist/types/src/commands/device/list/list.test.d.ts.map +1 -0
  118. package/dist/types/src/commands/device/update/index.d.ts.map +1 -0
  119. package/dist/types/src/commands/device/update/update.d.ts.map +1 -0
  120. package/dist/types/src/commands/device/util.d.ts.map +1 -0
  121. package/dist/types/src/commands/edge/index.d.ts.map +1 -0
  122. package/dist/types/src/commands/edge/status.d.ts.map +1 -0
  123. package/dist/types/src/commands/halo/create/create.d.ts +15 -0
  124. package/dist/types/src/commands/halo/create/create.d.ts.map +1 -0
  125. package/dist/types/src/commands/halo/create/create.test.d.ts.map +1 -0
  126. package/dist/types/src/commands/halo/create/index.d.ts.map +1 -0
  127. package/dist/types/src/commands/halo/credential/add/add.d.ts.map +1 -0
  128. package/dist/types/src/commands/halo/credential/add/index.d.ts.map +1 -0
  129. package/dist/types/src/commands/halo/credential/index.d.ts.map +1 -0
  130. package/dist/types/src/commands/halo/credential/list/index.d.ts.map +1 -0
  131. package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.d.ts +2 -2
  132. package/dist/types/src/commands/halo/credential/list/list.d.ts.map +1 -0
  133. package/dist/types/src/commands/halo/credential/list/list.test.d.ts.map +1 -0
  134. package/dist/types/src/commands/halo/identity/identity.d.ts.map +1 -0
  135. package/dist/types/src/commands/halo/identity/identity.test.d.ts.map +1 -0
  136. package/dist/types/src/commands/halo/identity/index.d.ts.map +1 -0
  137. package/dist/types/src/commands/halo/index.d.ts.map +1 -0
  138. package/dist/types/src/commands/halo/join/index.d.ts.map +1 -0
  139. package/dist/types/src/{cli/commands → commands}/halo/join/join.d.ts +1 -1
  140. package/dist/types/src/commands/halo/join/join.d.ts.map +1 -0
  141. package/dist/types/src/commands/halo/join/join.test.d.ts.map +1 -0
  142. package/dist/types/src/commands/halo/keys/index.d.ts.map +1 -0
  143. package/dist/types/src/commands/halo/keys/keys.d.ts.map +1 -0
  144. package/dist/types/src/commands/halo/keys/keys.test.d.ts.map +1 -0
  145. package/dist/types/src/commands/halo/recover/index.d.ts.map +1 -0
  146. package/dist/types/src/commands/halo/recover/recover.d.ts.map +1 -0
  147. package/dist/types/src/commands/halo/recover/recover.test.d.ts.map +1 -0
  148. package/dist/types/src/commands/halo/seed/index.d.ts.map +1 -0
  149. package/dist/types/src/commands/halo/seed/seed.d.ts.map +1 -0
  150. package/dist/types/src/commands/halo/share/index.d.ts.map +1 -0
  151. package/dist/types/src/commands/halo/share/share.d.ts.map +1 -0
  152. package/dist/types/src/commands/halo/update/index.d.ts.map +1 -0
  153. package/dist/types/src/commands/halo/update/update.d.ts.map +1 -0
  154. package/dist/types/src/commands/halo/update/update.test.d.ts.map +1 -0
  155. package/dist/types/src/commands/halo/util.d.ts.map +1 -0
  156. package/dist/types/src/commands/index.d.ts.map +1 -0
  157. package/dist/types/src/{cli/commands → commands}/profile/create.d.ts +1 -1
  158. package/dist/types/src/commands/profile/create.d.ts.map +1 -0
  159. package/dist/types/src/commands/profile/delete.d.ts.map +1 -0
  160. package/dist/types/src/{cli/commands → commands}/profile/import.d.ts +2 -2
  161. package/dist/types/src/commands/profile/import.d.ts.map +1 -0
  162. package/dist/types/src/{cli/commands → commands}/profile/index.d.ts +6 -6
  163. package/dist/types/src/commands/profile/index.d.ts.map +1 -0
  164. package/dist/types/src/commands/profile/inspect.d.ts.map +1 -0
  165. package/dist/types/src/commands/profile/list.d.ts.map +1 -0
  166. package/dist/types/src/{cli/commands → commands}/profile/reset.d.ts +1 -1
  167. package/dist/types/src/commands/profile/reset.d.ts.map +1 -0
  168. package/dist/types/src/commands/profile/util.d.ts.map +1 -0
  169. package/dist/types/src/containers/DevicesContainer/DevicesContainer.d.ts.map +1 -1
  170. package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts +165 -165
  171. package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts.map +1 -1
  172. package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -1
  173. package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -1
  174. package/dist/types/src/containers/ProfileContainer/ProfileContainer.stories.d.ts.map +1 -1
  175. package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.d.ts.map +1 -1
  176. package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.d.ts.map +1 -1
  177. package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts.map +1 -1
  178. package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.d.ts.map +1 -1
  179. package/dist/types/src/containers/ResetDialog/ResetDialog.d.ts.map +1 -1
  180. package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts +1 -1
  181. package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts.map +1 -1
  182. package/dist/types/src/containers/ResetDialog/index.d.ts.map +1 -1
  183. package/dist/types/src/index.d.ts +2 -1
  184. package/dist/types/src/index.d.ts.map +1 -1
  185. package/dist/types/src/meta.d.ts.map +1 -1
  186. package/dist/types/src/operations/create-agent.d.ts +1 -1
  187. package/dist/types/src/operations/create-agent.d.ts.map +1 -1
  188. package/dist/types/src/operations/create-identity.d.ts +1 -1
  189. package/dist/types/src/operations/create-identity.d.ts.map +1 -1
  190. package/dist/types/src/operations/create-passkey.d.ts +1 -1
  191. package/dist/types/src/operations/create-passkey.d.ts.map +1 -1
  192. package/dist/types/src/operations/create-recovery-code.d.ts +1 -1
  193. package/dist/types/src/operations/create-recovery-code.d.ts.map +1 -1
  194. package/dist/types/src/operations/definitions.d.ts +1 -1
  195. package/dist/types/src/operations/definitions.d.ts.map +1 -1
  196. package/dist/types/src/operations/index.d.ts +1 -1
  197. package/dist/types/src/operations/index.d.ts.map +1 -1
  198. package/dist/types/src/operations/join-identity.d.ts +1 -1
  199. package/dist/types/src/operations/join-identity.d.ts.map +1 -1
  200. package/dist/types/src/operations/recover-identity.d.ts +1 -1
  201. package/dist/types/src/operations/recover-identity.d.ts.map +1 -1
  202. package/dist/types/src/operations/redeem-passkey.d.ts +1 -1
  203. package/dist/types/src/operations/redeem-passkey.d.ts.map +1 -1
  204. package/dist/types/src/operations/redeem-token.d.ts +1 -1
  205. package/dist/types/src/operations/redeem-token.d.ts.map +1 -1
  206. package/dist/types/src/operations/reset-storage.d.ts +1 -1
  207. package/dist/types/src/operations/reset-storage.d.ts.map +1 -1
  208. package/dist/types/src/operations/share-identity.d.ts +1 -1
  209. package/dist/types/src/operations/share-identity.d.ts.map +1 -1
  210. package/dist/types/src/plugin.d.ts +4 -0
  211. package/dist/types/src/plugin.d.ts.map +1 -0
  212. package/dist/types/src/testing/index.d.ts +1 -0
  213. package/dist/types/src/testing/index.d.ts.map +1 -1
  214. package/dist/types/src/testing/initializeIdentity.d.ts.map +1 -1
  215. package/dist/types/src/translations.d.ts.map +1 -1
  216. package/dist/types/src/types/capabilities.d.ts +1 -2
  217. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  218. package/dist/types/src/types/events.d.ts.map +1 -1
  219. package/dist/types/src/types/schema.d.ts.map +1 -1
  220. package/dist/types/tsconfig.tsbuildinfo +1 -1
  221. package/package.json +94 -77
  222. package/src/{cli/plugin.ts → ClientPlugin.node.ts} +4 -2
  223. package/src/ClientPlugin.test.ts +29 -0
  224. package/src/ClientPlugin.ts +6 -5
  225. package/src/capabilities/app-graph-builder.ts +1 -1
  226. package/src/capabilities/index.ts +1 -1
  227. package/src/capabilities/navigation-handler/navigation-handler.ts +1 -1
  228. package/src/capabilities/node.ts +1 -1
  229. package/src/capabilities/operation-handler.ts +1 -1
  230. package/src/capabilities/react-surface.tsx +13 -16
  231. package/src/capabilities/schema-defs.ts +29 -9
  232. package/src/{cli/commands → commands}/halo/create/create.test.ts +8 -3
  233. package/src/{cli/commands → commands}/halo/create/create.ts +1 -2
  234. package/src/containers/DevicesContainer/DevicesContainer.stories.tsx +1 -1
  235. package/src/containers/DevicesContainer/DevicesContainer.tsx +4 -4
  236. package/src/containers/JoinDialog/JoinDialog.stories.tsx +2 -1
  237. package/src/containers/JoinDialog/JoinDialog.tsx +1 -1
  238. package/src/containers/ProfileContainer/ProfileContainer.stories.tsx +2 -1
  239. package/src/containers/ProfileContainer/ProfileContainer.tsx +2 -2
  240. package/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.tsx +2 -1
  241. package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.tsx +1 -1
  242. package/src/containers/ResetDialog/ResetDialog.stories.tsx +4 -3
  243. package/src/containers/ResetDialog/ResetDialog.tsx +5 -3
  244. package/src/index.ts +2 -1
  245. package/src/meta.ts +1 -0
  246. package/src/operations/create-agent.ts +1 -1
  247. package/src/operations/create-identity.ts +2 -2
  248. package/src/operations/create-passkey.ts +1 -1
  249. package/src/operations/create-recovery-code.ts +1 -1
  250. package/src/operations/definitions.ts +1 -1
  251. package/src/operations/index.ts +1 -1
  252. package/src/operations/join-identity.ts +1 -1
  253. package/src/operations/recover-identity.ts +1 -1
  254. package/src/operations/redeem-passkey.ts +1 -1
  255. package/src/operations/redeem-token.ts +1 -1
  256. package/src/operations/reset-storage.ts +2 -2
  257. package/src/operations/share-identity.ts +2 -2
  258. package/src/plugin.ts +11 -0
  259. package/src/testing/index.ts +3 -0
  260. package/src/translations.ts +2 -3
  261. package/dist/lib/browser/chunk-M43LJQ5U.mjs.map +0 -7
  262. package/dist/lib/browser/cli/index.mjs.map +0 -7
  263. package/dist/lib/browser/create-agent-SS5SE35J.mjs.map +0 -7
  264. package/dist/lib/browser/create-identity-PBEUEIPN.mjs.map +0 -7
  265. package/dist/lib/browser/create-passkey-JN6I5WMM.mjs.map +0 -7
  266. package/dist/lib/browser/create-recovery-code-32I6IWZC.mjs.map +0 -7
  267. package/dist/lib/browser/index.mjs.map +0 -7
  268. package/dist/lib/browser/meta.json +0 -1
  269. package/dist/lib/browser/operations/index.mjs +0 -13
  270. package/dist/lib/browser/operations/index.mjs.map +0 -7
  271. package/dist/lib/browser/redeem-passkey-OCIV6VCK.mjs.map +0 -7
  272. package/dist/lib/browser/redeem-token-6BCRGKV6.mjs.map +0 -7
  273. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  274. package/dist/lib/node-esm/chunk-IT5LAIV3.mjs +0 -133
  275. package/dist/lib/node-esm/chunk-IT5LAIV3.mjs.map +0 -7
  276. package/dist/lib/node-esm/chunk-J5RWSQT6.mjs +0 -14
  277. package/dist/lib/node-esm/chunk-J5RWSQT6.mjs.map +0 -7
  278. package/dist/lib/node-esm/chunk-SJ6FDER5.mjs +0 -176
  279. package/dist/lib/node-esm/chunk-SJ6FDER5.mjs.map +0 -7
  280. package/dist/lib/node-esm/cli/index.mjs +0 -1061
  281. package/dist/lib/node-esm/cli/index.mjs.map +0 -7
  282. package/dist/lib/node-esm/create-agent-QGEHMHBL.mjs +0 -35
  283. package/dist/lib/node-esm/create-agent-QGEHMHBL.mjs.map +0 -7
  284. package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs +0 -31
  285. package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs.map +0 -7
  286. package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs +0 -106
  287. package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs.map +0 -7
  288. package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs +0 -45
  289. package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs.map +0 -7
  290. package/dist/lib/node-esm/index.mjs +0 -144
  291. package/dist/lib/node-esm/index.mjs.map +0 -7
  292. package/dist/lib/node-esm/join-identity-75JCKQHM.mjs +0 -28
  293. package/dist/lib/node-esm/join-identity-75JCKQHM.mjs.map +0 -7
  294. package/dist/lib/node-esm/meta.json +0 -1
  295. package/dist/lib/node-esm/operations/index.mjs +0 -14
  296. package/dist/lib/node-esm/operations/index.mjs.map +0 -7
  297. package/dist/lib/node-esm/recover-identity-AKGNTUJI.mjs +0 -27
  298. package/dist/lib/node-esm/recover-identity-AKGNTUJI.mjs.map +0 -7
  299. package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs +0 -83
  300. package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs.map +0 -7
  301. package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs +0 -38
  302. package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs.map +0 -7
  303. package/dist/lib/node-esm/reset-storage-OWV5UDMC.mjs +0 -27
  304. package/dist/lib/node-esm/reset-storage-OWV5UDMC.mjs.map +0 -7
  305. package/dist/lib/node-esm/share-identity-QZLY3VHE.mjs +0 -32
  306. package/dist/lib/node-esm/share-identity-QZLY3VHE.mjs.map +0 -7
  307. package/dist/lib/node-esm/testing/index.mjs +0 -23
  308. package/dist/lib/node-esm/testing/index.mjs.map +0 -7
  309. package/dist/lib/node-esm/types/index.mjs +0 -15
  310. package/dist/types/src/cli/commands/config/index.d.ts.map +0 -1
  311. package/dist/types/src/cli/commands/config/view.d.ts.map +0 -1
  312. package/dist/types/src/cli/commands/device/index.d.ts.map +0 -1
  313. package/dist/types/src/cli/commands/device/info/index.d.ts.map +0 -1
  314. package/dist/types/src/cli/commands/device/info/info.d.ts.map +0 -1
  315. package/dist/types/src/cli/commands/device/info/info.test.d.ts.map +0 -1
  316. package/dist/types/src/cli/commands/device/list/index.d.ts.map +0 -1
  317. package/dist/types/src/cli/commands/device/list/list.d.ts.map +0 -1
  318. package/dist/types/src/cli/commands/device/list/list.test.d.ts.map +0 -1
  319. package/dist/types/src/cli/commands/device/update/index.d.ts.map +0 -1
  320. package/dist/types/src/cli/commands/device/update/update.d.ts.map +0 -1
  321. package/dist/types/src/cli/commands/device/util.d.ts.map +0 -1
  322. package/dist/types/src/cli/commands/edge/index.d.ts.map +0 -1
  323. package/dist/types/src/cli/commands/edge/status.d.ts.map +0 -1
  324. package/dist/types/src/cli/commands/halo/create/create.d.ts +0 -15
  325. package/dist/types/src/cli/commands/halo/create/create.d.ts.map +0 -1
  326. package/dist/types/src/cli/commands/halo/create/create.test.d.ts.map +0 -1
  327. package/dist/types/src/cli/commands/halo/create/index.d.ts.map +0 -1
  328. package/dist/types/src/cli/commands/halo/credential/add/add.d.ts.map +0 -1
  329. package/dist/types/src/cli/commands/halo/credential/add/index.d.ts.map +0 -1
  330. package/dist/types/src/cli/commands/halo/credential/index.d.ts.map +0 -1
  331. package/dist/types/src/cli/commands/halo/credential/list/index.d.ts.map +0 -1
  332. package/dist/types/src/cli/commands/halo/credential/list/list.d.ts.map +0 -1
  333. package/dist/types/src/cli/commands/halo/credential/list/list.test.d.ts.map +0 -1
  334. package/dist/types/src/cli/commands/halo/identity/identity.d.ts.map +0 -1
  335. package/dist/types/src/cli/commands/halo/identity/identity.test.d.ts.map +0 -1
  336. package/dist/types/src/cli/commands/halo/identity/index.d.ts.map +0 -1
  337. package/dist/types/src/cli/commands/halo/index.d.ts.map +0 -1
  338. package/dist/types/src/cli/commands/halo/join/index.d.ts.map +0 -1
  339. package/dist/types/src/cli/commands/halo/join/join.d.ts.map +0 -1
  340. package/dist/types/src/cli/commands/halo/join/join.test.d.ts.map +0 -1
  341. package/dist/types/src/cli/commands/halo/keys/index.d.ts.map +0 -1
  342. package/dist/types/src/cli/commands/halo/keys/keys.d.ts.map +0 -1
  343. package/dist/types/src/cli/commands/halo/keys/keys.test.d.ts.map +0 -1
  344. package/dist/types/src/cli/commands/halo/recover/index.d.ts.map +0 -1
  345. package/dist/types/src/cli/commands/halo/recover/recover.d.ts.map +0 -1
  346. package/dist/types/src/cli/commands/halo/recover/recover.test.d.ts.map +0 -1
  347. package/dist/types/src/cli/commands/halo/seed/index.d.ts.map +0 -1
  348. package/dist/types/src/cli/commands/halo/seed/seed.d.ts.map +0 -1
  349. package/dist/types/src/cli/commands/halo/share/index.d.ts.map +0 -1
  350. package/dist/types/src/cli/commands/halo/share/share.d.ts.map +0 -1
  351. package/dist/types/src/cli/commands/halo/update/index.d.ts.map +0 -1
  352. package/dist/types/src/cli/commands/halo/update/update.d.ts.map +0 -1
  353. package/dist/types/src/cli/commands/halo/update/update.test.d.ts.map +0 -1
  354. package/dist/types/src/cli/commands/halo/util.d.ts.map +0 -1
  355. package/dist/types/src/cli/commands/index.d.ts.map +0 -1
  356. package/dist/types/src/cli/commands/profile/create.d.ts.map +0 -1
  357. package/dist/types/src/cli/commands/profile/delete.d.ts.map +0 -1
  358. package/dist/types/src/cli/commands/profile/import.d.ts.map +0 -1
  359. package/dist/types/src/cli/commands/profile/index.d.ts.map +0 -1
  360. package/dist/types/src/cli/commands/profile/inspect.d.ts.map +0 -1
  361. package/dist/types/src/cli/commands/profile/list.d.ts.map +0 -1
  362. package/dist/types/src/cli/commands/profile/reset.d.ts.map +0 -1
  363. package/dist/types/src/cli/commands/profile/util.d.ts.map +0 -1
  364. package/dist/types/src/cli/index.d.ts +0 -2
  365. package/dist/types/src/cli/index.d.ts.map +0 -1
  366. package/dist/types/src/cli/plugin.d.ts.map +0 -1
  367. package/dist/types/src/cli/testing/test-console.d.ts +0 -37
  368. package/dist/types/src/cli/testing/test-console.d.ts.map +0 -1
  369. package/src/cli/index.ts +0 -5
  370. package/src/cli/testing/test-console.ts +0 -87
  371. /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ClientPlugin.mjs.map} +0 -0
  372. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  373. /package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
  374. /package/dist/lib/{node-esm/types → neutral/components}/index.mjs.map +0 -0
  375. /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/index.mjs.map} +0 -0
  376. /package/dist/types/src/{cli/commands → commands}/device/index.d.ts +0 -0
  377. /package/dist/types/src/{cli/commands → commands}/device/info/index.d.ts +0 -0
  378. /package/dist/types/src/{cli/commands → commands}/device/info/info.d.ts +0 -0
  379. /package/dist/types/src/{cli/commands → commands}/device/info/info.test.d.ts +0 -0
  380. /package/dist/types/src/{cli/commands → commands}/device/list/index.d.ts +0 -0
  381. /package/dist/types/src/{cli/commands → commands}/device/list/list.d.ts +0 -0
  382. /package/dist/types/src/{cli/commands → commands}/device/list/list.test.d.ts +0 -0
  383. /package/dist/types/src/{cli/commands → commands}/device/update/index.d.ts +0 -0
  384. /package/dist/types/src/{cli/commands → commands}/device/update/update.d.ts +0 -0
  385. /package/dist/types/src/{cli/commands → commands}/device/util.d.ts +0 -0
  386. /package/dist/types/src/{cli/commands → commands}/edge/index.d.ts +0 -0
  387. /package/dist/types/src/{cli/commands → commands}/edge/status.d.ts +0 -0
  388. /package/dist/types/src/{cli/commands → commands}/halo/create/create.test.d.ts +0 -0
  389. /package/dist/types/src/{cli/commands → commands}/halo/create/index.d.ts +0 -0
  390. /package/dist/types/src/{cli/commands → commands}/halo/credential/add/add.d.ts +0 -0
  391. /package/dist/types/src/{cli/commands → commands}/halo/credential/add/index.d.ts +0 -0
  392. /package/dist/types/src/{cli/commands → commands}/halo/credential/index.d.ts +0 -0
  393. /package/dist/types/src/{cli/commands → commands}/halo/credential/list/index.d.ts +0 -0
  394. /package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.test.d.ts +0 -0
  395. /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.d.ts +0 -0
  396. /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.test.d.ts +0 -0
  397. /package/dist/types/src/{cli/commands → commands}/halo/identity/index.d.ts +0 -0
  398. /package/dist/types/src/{cli/commands → commands}/halo/index.d.ts +0 -0
  399. /package/dist/types/src/{cli/commands → commands}/halo/join/index.d.ts +0 -0
  400. /package/dist/types/src/{cli/commands → commands}/halo/join/join.test.d.ts +0 -0
  401. /package/dist/types/src/{cli/commands → commands}/halo/keys/index.d.ts +0 -0
  402. /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.d.ts +0 -0
  403. /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.test.d.ts +0 -0
  404. /package/dist/types/src/{cli/commands → commands}/halo/recover/index.d.ts +0 -0
  405. /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.d.ts +0 -0
  406. /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.test.d.ts +0 -0
  407. /package/dist/types/src/{cli/commands → commands}/halo/seed/index.d.ts +0 -0
  408. /package/dist/types/src/{cli/commands → commands}/halo/seed/seed.d.ts +0 -0
  409. /package/dist/types/src/{cli/commands → commands}/halo/share/index.d.ts +0 -0
  410. /package/dist/types/src/{cli/commands → commands}/halo/share/share.d.ts +0 -0
  411. /package/dist/types/src/{cli/commands → commands}/halo/update/index.d.ts +0 -0
  412. /package/dist/types/src/{cli/commands → commands}/halo/update/update.d.ts +0 -0
  413. /package/dist/types/src/{cli/commands → commands}/halo/update/update.test.d.ts +0 -0
  414. /package/dist/types/src/{cli/commands → commands}/halo/util.d.ts +0 -0
  415. /package/dist/types/src/{cli/commands → commands}/index.d.ts +0 -0
  416. /package/dist/types/src/{cli/commands → commands}/profile/delete.d.ts +0 -0
  417. /package/dist/types/src/{cli/commands → commands}/profile/inspect.d.ts +0 -0
  418. /package/dist/types/src/{cli/commands → commands}/profile/list.d.ts +0 -0
  419. /package/dist/types/src/{cli/commands → commands}/profile/util.d.ts +0 -0
  420. /package/src/{cli/commands → commands}/config/index.ts +0 -0
  421. /package/src/{cli/commands → commands}/config/view.ts +0 -0
  422. /package/src/{cli/commands → commands}/device/index.ts +0 -0
  423. /package/src/{cli/commands → commands}/device/info/index.ts +0 -0
  424. /package/src/{cli/commands → commands}/device/info/info.test.ts +0 -0
  425. /package/src/{cli/commands → commands}/device/info/info.ts +0 -0
  426. /package/src/{cli/commands → commands}/device/list/index.ts +0 -0
  427. /package/src/{cli/commands → commands}/device/list/list.test.ts +0 -0
  428. /package/src/{cli/commands → commands}/device/list/list.ts +0 -0
  429. /package/src/{cli/commands → commands}/device/update/index.ts +0 -0
  430. /package/src/{cli/commands → commands}/device/update/update.ts +0 -0
  431. /package/src/{cli/commands → commands}/device/util.ts +0 -0
  432. /package/src/{cli/commands → commands}/edge/index.ts +0 -0
  433. /package/src/{cli/commands → commands}/edge/status.ts +0 -0
  434. /package/src/{cli/commands → commands}/halo/create/index.ts +0 -0
  435. /package/src/{cli/commands → commands}/halo/credential/add/add.ts +0 -0
  436. /package/src/{cli/commands → commands}/halo/credential/add/index.ts +0 -0
  437. /package/src/{cli/commands → commands}/halo/credential/index.ts +0 -0
  438. /package/src/{cli/commands → commands}/halo/credential/list/index.ts +0 -0
  439. /package/src/{cli/commands → commands}/halo/credential/list/list.test.ts +0 -0
  440. /package/src/{cli/commands → commands}/halo/credential/list/list.ts +0 -0
  441. /package/src/{cli/commands → commands}/halo/identity/identity.test.ts +0 -0
  442. /package/src/{cli/commands → commands}/halo/identity/identity.ts +0 -0
  443. /package/src/{cli/commands → commands}/halo/identity/index.ts +0 -0
  444. /package/src/{cli/commands → commands}/halo/index.ts +0 -0
  445. /package/src/{cli/commands → commands}/halo/join/index.ts +0 -0
  446. /package/src/{cli/commands → commands}/halo/join/join.test.ts +0 -0
  447. /package/src/{cli/commands → commands}/halo/join/join.ts +0 -0
  448. /package/src/{cli/commands → commands}/halo/keys/index.ts +0 -0
  449. /package/src/{cli/commands → commands}/halo/keys/keys.test.ts +0 -0
  450. /package/src/{cli/commands → commands}/halo/keys/keys.ts +0 -0
  451. /package/src/{cli/commands → commands}/halo/recover/index.ts +0 -0
  452. /package/src/{cli/commands → commands}/halo/recover/recover.test.ts +0 -0
  453. /package/src/{cli/commands → commands}/halo/recover/recover.ts +0 -0
  454. /package/src/{cli/commands → commands}/halo/seed/index.ts +0 -0
  455. /package/src/{cli/commands → commands}/halo/seed/seed.ts +0 -0
  456. /package/src/{cli/commands → commands}/halo/share/index.ts +0 -0
  457. /package/src/{cli/commands → commands}/halo/share/share.ts +0 -0
  458. /package/src/{cli/commands → commands}/halo/update/index.ts +0 -0
  459. /package/src/{cli/commands → commands}/halo/update/update.test.ts +0 -0
  460. /package/src/{cli/commands → commands}/halo/update/update.ts +0 -0
  461. /package/src/{cli/commands → commands}/halo/util.ts +0 -0
  462. /package/src/{cli/commands → commands}/index.ts +0 -0
  463. /package/src/{cli/commands → commands}/profile/create.ts +0 -0
  464. /package/src/{cli/commands → commands}/profile/delete.ts +0 -0
  465. /package/src/{cli/commands → commands}/profile/import.ts +0 -0
  466. /package/src/{cli/commands → commands}/profile/index.ts +0 -0
  467. /package/src/{cli/commands → commands}/profile/inspect.ts +0 -0
  468. /package/src/{cli/commands → commands}/profile/list.ts +0 -0
  469. /package/src/{cli/commands → commands}/profile/reset.ts +0 -0
  470. /package/src/{cli/commands → commands}/profile/util.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-client",
3
- "version": "0.8.4-main.74a063c4e0",
3
+ "version": "0.8.4-main.765dc60934",
4
4
  "description": "DXOS Surface plugin for DXOS Client",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,69 +8,89 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": true,
14
14
  "type": "module",
15
15
  "imports": {
16
16
  "#capabilities": {
17
17
  "source": "./src/capabilities/index.ts",
18
- "types": "./src/capabilities/index.ts",
19
- "browser": "./src/capabilities/index.ts",
20
- "node": "./src/capabilities/node.ts"
18
+ "types": "./dist/types/src/capabilities/index.d.ts",
19
+ "default": "./dist/lib/neutral/capabilities/index.mjs"
21
20
  },
22
- "#components": "./src/components/index.ts",
23
- "#containers": "./src/containers/index.ts",
24
- "#meta": "./src/meta.ts",
25
- "#operations": "./src/operations/index.ts",
26
- "#testing": "./src/testing/index.ts",
27
- "#types": "./src/types/index.ts"
28
- },
29
- "exports": {
30
- ".": {
31
- "source": "./src/index.ts",
32
- "types": "./dist/types/src/index.d.ts",
33
- "browser": "./dist/lib/browser/index.mjs",
34
- "node": "./dist/lib/node-esm/index.mjs"
21
+ "#capabilities/node": {
22
+ "source": "./src/capabilities/node.ts",
23
+ "types": "./dist/types/src/capabilities/node.d.ts",
24
+ "default": "./dist/lib/neutral/capabilities/node.mjs"
25
+ },
26
+ "#components": {
27
+ "source": "./src/components/index.ts",
28
+ "types": "./dist/types/src/components/index.d.ts",
29
+ "default": "./dist/lib/neutral/components/index.mjs"
35
30
  },
36
- "./cli": {
37
- "source": "./src/cli/index.ts",
38
- "types": "./dist/types/src/cli/index.d.ts",
39
- "node": "./dist/lib/node-esm/cli/index.mjs"
31
+ "#containers": {
32
+ "source": "./src/containers/index.ts",
33
+ "types": "./dist/types/src/containers/index.d.ts",
34
+ "default": "./dist/lib/neutral/containers/index.mjs"
40
35
  },
41
- "./operations": {
36
+ "#meta": {
37
+ "source": "./src/meta.ts",
38
+ "types": "./dist/types/src/meta.d.ts",
39
+ "default": "./dist/lib/neutral/meta.mjs"
40
+ },
41
+ "#operations": {
42
42
  "source": "./src/operations/index.ts",
43
43
  "types": "./dist/types/src/operations/index.d.ts",
44
- "browser": "./dist/lib/browser/operations/index.mjs",
45
- "node": "./dist/lib/node-esm/operations/index.mjs"
44
+ "default": "./dist/lib/neutral/operations/index.mjs"
45
+ },
46
+ "#plugin": {
47
+ "source": {
48
+ "node": "./src/ClientPlugin.node.ts",
49
+ "default": "./src/ClientPlugin.ts"
50
+ },
51
+ "types": "./dist/types/src/ClientPlugin.d.ts",
52
+ "node": "./dist/lib/neutral/ClientPlugin.node.mjs",
53
+ "default": "./dist/lib/neutral/ClientPlugin.mjs"
54
+ },
55
+ "#testing": {
56
+ "source": "./src/testing/index.ts",
57
+ "types": "./dist/types/src/testing/index.d.ts",
58
+ "default": "./dist/lib/neutral/testing/index.mjs"
59
+ },
60
+ "#translations": {
61
+ "source": "./src/translations.ts",
62
+ "types": "./dist/types/src/translations.d.ts",
63
+ "default": "./dist/lib/neutral/translations.mjs"
46
64
  },
47
- "./types": {
65
+ "#types": {
48
66
  "source": "./src/types/index.ts",
49
67
  "types": "./dist/types/src/types/index.d.ts",
50
- "browser": "./dist/lib/browser/types/index.mjs",
51
- "node": "./dist/lib/node-esm/types/index.mjs"
68
+ "default": "./dist/lib/neutral/types/index.mjs"
69
+ }
70
+ },
71
+ "exports": {
72
+ ".": {
73
+ "source": "./src/index.ts",
74
+ "types": "./dist/types/src/index.d.ts",
75
+ "default": "./dist/lib/neutral/index.mjs"
76
+ },
77
+ "./plugin": {
78
+ "source": "./src/plugin.ts",
79
+ "types": "./dist/types/src/plugin.d.ts",
80
+ "default": "./dist/lib/neutral/plugin.mjs"
52
81
  },
53
82
  "./testing": {
54
83
  "source": "./src/testing/index.ts",
55
84
  "types": "./dist/types/src/testing/index.d.ts",
56
- "browser": "./dist/lib/browser/testing/index.mjs",
57
- "node": "./dist/lib/node-esm/testing/index.mjs"
85
+ "default": "./dist/lib/neutral/testing/index.mjs"
86
+ },
87
+ "./translations": {
88
+ "source": "./src/translations.ts",
89
+ "types": "./dist/types/src/translations.d.ts",
90
+ "default": "./dist/lib/neutral/translations.mjs"
58
91
  }
59
92
  },
60
93
  "types": "dist/types/src/index.d.ts",
61
- "typesVersions": {
62
- "*": {
63
- "operations": [
64
- "dist/types/src/operations/index.d.ts"
65
- ],
66
- "types": [
67
- "dist/types/src/types/index.d.ts"
68
- ],
69
- "testing": [
70
- "dist/types/src/testing/index.d.ts"
71
- ]
72
- }
73
- },
74
94
  "files": [
75
95
  "dist",
76
96
  "src"
@@ -78,33 +98,33 @@
78
98
  "dependencies": {
79
99
  "@effect/cli": "0.73.2",
80
100
  "@effect/platform": "0.94.4",
81
- "@tauri-apps/api": "^2.8.0",
101
+ "@tauri-apps/api": "^2.11.0",
82
102
  "effect": "3.20.0",
83
103
  "react-qr-rounded": "^1.0.0",
84
104
  "yaml": "^2.8.2",
85
- "@dxos/app-framework": "0.8.4-main.74a063c4e0",
86
- "@dxos/cli-util": "0.8.4-main.74a063c4e0",
87
- "@dxos/async": "0.8.4-main.74a063c4e0",
88
- "@dxos/app-toolkit": "0.8.4-main.74a063c4e0",
89
- "@dxos/client": "0.8.4-main.74a063c4e0",
90
- "@dxos/client-services": "0.8.4-main.74a063c4e0",
91
- "@dxos/client-protocol": "0.8.4-main.74a063c4e0",
92
- "@dxos/context": "0.8.4-main.74a063c4e0",
93
- "@dxos/config": "0.8.4-main.74a063c4e0",
94
- "@dxos/echo": "0.8.4-main.74a063c4e0",
95
- "@dxos/effect": "0.8.4-main.74a063c4e0",
96
- "@dxos/invariant": "0.8.4-main.74a063c4e0",
97
- "@dxos/log": "0.8.4-main.74a063c4e0",
98
- "@dxos/operation": "0.8.4-main.74a063c4e0",
99
- "@dxos/plugin-graph": "0.8.4-main.74a063c4e0",
100
- "@dxos/plugin-observability": "0.8.4-main.74a063c4e0",
101
- "@dxos/protocols": "0.8.4-main.74a063c4e0",
102
- "@dxos/react-client": "0.8.4-main.74a063c4e0",
103
- "@dxos/react-ui-pickers": "0.8.4-main.74a063c4e0",
104
- "@dxos/react-ui-stack": "0.8.4-main.74a063c4e0",
105
- "@dxos/shell": "0.8.4-main.74a063c4e0",
106
- "@dxos/util": "0.8.4-main.74a063c4e0",
107
- "@dxos/react-ui-form": "0.8.4-main.74a063c4e0"
105
+ "@dxos/app-framework": "0.8.4-main.765dc60934",
106
+ "@dxos/app-toolkit": "0.8.4-main.765dc60934",
107
+ "@dxos/async": "0.8.4-main.765dc60934",
108
+ "@dxos/cli-util": "0.8.4-main.765dc60934",
109
+ "@dxos/client": "0.8.4-main.765dc60934",
110
+ "@dxos/client-protocol": "0.8.4-main.765dc60934",
111
+ "@dxos/client-services": "0.8.4-main.765dc60934",
112
+ "@dxos/echo": "0.8.4-main.765dc60934",
113
+ "@dxos/context": "0.8.4-main.765dc60934",
114
+ "@dxos/config": "0.8.4-main.765dc60934",
115
+ "@dxos/compute": "0.8.4-main.765dc60934",
116
+ "@dxos/effect": "0.8.4-main.765dc60934",
117
+ "@dxos/invariant": "0.8.4-main.765dc60934",
118
+ "@dxos/log": "0.8.4-main.765dc60934",
119
+ "@dxos/plugin-graph": "0.8.4-main.765dc60934",
120
+ "@dxos/protocols": "0.8.4-main.765dc60934",
121
+ "@dxos/plugin-observability": "0.8.4-main.765dc60934",
122
+ "@dxos/react-ui-form": "0.8.4-main.765dc60934",
123
+ "@dxos/react-ui-pickers": "0.8.4-main.765dc60934",
124
+ "@dxos/react-client": "0.8.4-main.765dc60934",
125
+ "@dxos/react-ui-stack": "0.8.4-main.765dc60934",
126
+ "@dxos/shell": "0.8.4-main.765dc60934",
127
+ "@dxos/util": "0.8.4-main.765dc60934"
108
128
  },
109
129
  "devDependencies": {
110
130
  "@effect-atom/atom-react": "^0.5.0",
@@ -114,11 +134,11 @@
114
134
  "@types/react-dom": "~19.2.3",
115
135
  "react": "~19.2.3",
116
136
  "react-dom": "~19.2.3",
117
- "vite": "^7.1.11",
118
- "@dxos/plugin-testing": "0.8.4-main.74a063c4e0",
119
- "@dxos/react-ui": "0.8.4-main.74a063c4e0",
120
- "@dxos/storybook-utils": "0.8.4-main.74a063c4e0",
121
- "@dxos/ui-theme": "0.8.4-main.74a063c4e0"
137
+ "vite": "^8.0.13",
138
+ "@dxos/react-ui": "0.8.4-main.765dc60934",
139
+ "@dxos/plugin-testing": "0.8.4-main.765dc60934",
140
+ "@dxos/ui-theme": "0.8.4-main.765dc60934",
141
+ "@dxos/storybook-utils": "0.8.4-main.765dc60934"
122
142
  },
123
143
  "peerDependencies": {
124
144
  "@effect-atom/atom-react": "^0.5.0",
@@ -126,10 +146,7 @@
126
146
  "effect": "3.20.0",
127
147
  "react": "~19.2.3",
128
148
  "react-dom": "~19.2.3",
129
- "@dxos/ui-theme": "0.8.4-main.74a063c4e0",
130
- "@dxos/react-ui": "0.8.4-main.74a063c4e0"
131
- },
132
- "publishConfig": {
133
- "access": "public"
149
+ "@dxos/react-ui": "0.8.4-main.765dc60934",
150
+ "@dxos/ui-theme": "0.8.4-main.765dc60934"
134
151
  }
135
152
  }
@@ -19,13 +19,15 @@ export const ClientPlugin = Plugin.define<ClientPluginOptions>(meta).pipe(
19
19
  Plugin.addModule((options) => ({
20
20
  id: Capability.getModuleTag(Client),
21
21
  activatesOn: ActivationEvents.Startup,
22
- activatesAfter: [ClientEvents.ClientReady],
22
+ firesAfterActivation: [ClientEvents.ClientReady],
23
23
  activate: () => Client(options),
24
24
  })),
25
25
  Plugin.addModule({
26
26
  activatesOn: ClientEvents.ClientReady,
27
- activatesBefore: [AppActivationEvents.SetupSchema],
27
+ firesBeforeActivation: [AppActivationEvents.SetupSchema],
28
28
  activate: SchemaDefs,
29
29
  }),
30
30
  Plugin.make,
31
31
  );
32
+
33
+ export default ClientPlugin;
@@ -0,0 +1,29 @@
1
+ //
2
+ // Copyright 2026 DXOS.org
3
+ //
4
+
5
+ import { describe, test } from 'vitest';
6
+
7
+ import { ActivationEvents } from '@dxos/app-framework';
8
+ // #plugin resolves to ClientPlugin.node.ts under the source condition used by vitest.
9
+ import { ClientPlugin } from '@dxos/plugin-client/plugin';
10
+ import { createComposerTestApp } from '@dxos/plugin-testing/harness';
11
+
12
+ import { meta } from './meta';
13
+
14
+ const moduleId = (name: string) => `${meta.id}.module.${name}`;
15
+
16
+ describe('ClientPlugin', () => {
17
+ test('modules activate on the expected events', async ({ expect }) => {
18
+ await using harness = await createComposerTestApp({
19
+ plugins: [ClientPlugin({})],
20
+ });
21
+
22
+ // The CLI variant activates Client and SchemaDefs on startup.
23
+ expect(harness.manager.getActive()).toEqual(expect.arrayContaining([moduleId('Client'), moduleId('SchemaDefs')]));
24
+
25
+ // Operation handlers are not loaded on startup — SetupOperationHandler fires lazily when an operation is invoked.
26
+ await harness.fire(ActivationEvents.SetupOperationHandler);
27
+ expect(harness.manager.getActive()).toContain(moduleId('OperationHandler'));
28
+ });
29
+ });
@@ -16,11 +16,10 @@ import {
16
16
  SchemaDefs,
17
17
  } from '#capabilities';
18
18
  import { meta } from '#meta';
19
+ import { translations } from '#translations';
19
20
  import { ClientEvents } from '#types';
20
21
  import { type ClientPluginOptions } from '#types';
21
22
 
22
- import { translations } from './translations';
23
-
24
23
  export const ClientPlugin = Plugin.define<ClientPluginOptions>(meta).pipe(
25
24
  AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
26
25
  AppPlugin.addNavigationHandlerModule(({ invitationProp }) => ({
@@ -33,18 +32,18 @@ export const ClientPlugin = Plugin.define<ClientPluginOptions>(meta).pipe(
33
32
  return {
34
33
  id: Capability.getModuleTag(Client),
35
34
  activatesOn: ActivationEvent.oneOf(ActivationEvents.Startup, AppActivationEvents.SetupAppGraph),
36
- activatesAfter: [ClientEvents.ClientReady],
35
+ firesAfterActivation: [ClientEvents.ClientReady],
37
36
  activate: () => Client(options),
38
37
  };
39
38
  }),
40
39
  Plugin.addModule({
41
40
  activatesOn: ClientEvents.ClientReady,
42
- activatesBefore: [AppActivationEvents.SetupSchema],
41
+ firesBeforeActivation: [AppActivationEvents.SetupSchema],
43
42
  activate: SchemaDefs,
44
43
  }),
45
44
  Plugin.addModule({
46
45
  activatesOn: ClientEvents.ClientReady,
47
- activatesBefore: [ClientEvents.SetupMigration],
46
+ firesBeforeActivation: [ClientEvents.SetupMigration],
48
47
  activate: Migrations,
49
48
  }),
50
49
  Plugin.addModule(
@@ -69,3 +68,5 @@ export const ClientPlugin = Plugin.define<ClientPluginOptions>(meta).pipe(
69
68
  ),
70
69
  Plugin.make,
71
70
  );
71
+
72
+ export default ClientPlugin;
@@ -6,7 +6,7 @@ import * as Effect from 'effect/Effect';
6
6
 
7
7
  import { Capability } from '@dxos/app-framework';
8
8
  import { AppCapabilities } from '@dxos/app-toolkit';
9
- import { Operation } from '@dxos/operation';
9
+ import { Operation } from '@dxos/compute';
10
10
  import { CreateAtom, GraphBuilder, Node, NodeMatcher } from '@dxos/plugin-graph';
11
11
  import { ConnectionState } from '@dxos/react-client/mesh';
12
12
 
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  import { Capability } from '@dxos/app-framework';
6
- import { OperationHandlerSet } from '@dxos/operation';
6
+ import { OperationHandlerSet } from '@dxos/compute';
7
7
 
8
8
  export const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));
9
9
  export const Client = Capability.lazy('Client', () => import('./client'));
@@ -6,8 +6,8 @@ import * as Effect from 'effect/Effect';
6
6
 
7
7
  import { Capabilities, Capability } from '@dxos/app-framework';
8
8
  import { AppCapabilities } from '@dxos/app-toolkit';
9
+ import { Operation } from '@dxos/compute';
9
10
  import { log } from '@dxos/log';
10
- import { Operation } from '@dxos/operation';
11
11
 
12
12
  import { ClientOperation } from '../../operations';
13
13
 
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  import { Capability } from '@dxos/app-framework';
6
- import { OperationHandlerSet } from '@dxos/operation';
6
+ import { OperationHandlerSet } from '@dxos/compute';
7
7
 
8
8
  export const Client = Capability.lazy('Client', () => import('./client'));
9
9
  export const OperationHandler = Capability.lazy<OperationHandlerSet.OperationHandlerSet>(
@@ -5,7 +5,7 @@
5
5
  import * as Effect from 'effect/Effect';
6
6
 
7
7
  import { Capabilities, Capability } from '@dxos/app-framework';
8
- import type { OperationHandlerSet } from '@dxos/operation';
8
+ import type { OperationHandlerSet } from '@dxos/compute';
9
9
 
10
10
  import { ClientOperationHandlerSet } from '#operations';
11
11
 
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  import * as Effect from 'effect/Effect';
6
- import React from 'react';
6
+ import React, { type ComponentProps } from 'react';
7
7
 
8
8
  import { Capabilities, Capability } from '@dxos/app-framework';
9
9
  import { Surface } from '@dxos/app-framework/ui';
@@ -32,39 +32,36 @@ export default Capability.makeModule(
32
32
  return Capability.contributes(Capabilities.ReactSurface, [
33
33
  Surface.create({
34
34
  id: Account.Profile,
35
- role: 'article',
36
- filter: AppSurface.literalSection(Account.Profile),
35
+ filter: AppSurface.literal(AppSurface.Article, Account.Profile),
37
36
  component: () => <ProfileContainer />,
38
37
  }),
39
38
  Surface.create({
40
39
  id: Account.Devices,
41
- role: 'article',
42
- filter: AppSurface.literalSection(Account.Devices),
40
+ filter: AppSurface.literal(AppSurface.Article, Account.Devices),
43
41
  component: () => <DevicesContainer createInvitationUrl={createInvitationUrl} />,
44
42
  }),
45
43
  Surface.create({
46
44
  id: Account.Security,
47
- role: 'article',
48
- filter: AppSurface.literalSection(Account.Security),
45
+ filter: AppSurface.literal(AppSurface.Article, Account.Security),
49
46
  component: () => <RecoveryCredentialsContainer />,
50
47
  }),
51
48
  Surface.create({
52
49
  id: JOIN_DIALOG,
53
- role: 'dialog',
54
- filter: AppSurface.componentDialog(JOIN_DIALOG),
55
- component: ({ data }: { data: any }) => <JoinDialog {...data.props} />,
50
+ filter: AppSurface.component<ComponentProps<typeof JoinDialog>>(AppSurface.Dialog, JOIN_DIALOG),
51
+ component: ({ data }) => <JoinDialog {...data.props} />,
56
52
  }),
57
53
  Surface.create({
58
54
  id: RECOVERY_CODE_DIALOG,
59
- role: 'dialog',
60
- filter: AppSurface.componentDialog(RECOVERY_CODE_DIALOG),
61
- component: ({ data }: { data: any }) => <RecoveryCodeDialog {...data.props} />,
55
+ filter: AppSurface.component<ComponentProps<typeof RecoveryCodeDialog>>(
56
+ AppSurface.Dialog,
57
+ RECOVERY_CODE_DIALOG,
58
+ ),
59
+ component: ({ data }) => <RecoveryCodeDialog {...data.props} />,
62
60
  }),
63
61
  Surface.create({
64
62
  id: RESET_DIALOG,
65
- role: 'dialog',
66
- filter: AppSurface.componentDialog(RESET_DIALOG),
67
- component: ({ data }: { data: any }) => (
63
+ filter: AppSurface.component<Pick<ComponentProps<typeof ResetDialog>, 'mode'>>(AppSurface.Dialog, RESET_DIALOG),
64
+ component: ({ data }) => (
68
65
  <ResetDialog {...data.props} onReset={onReset} capabilityManager={capabilityManager} />
69
66
  ),
70
67
  }),
@@ -6,7 +6,8 @@ import * as Effect from 'effect/Effect';
6
6
 
7
7
  import { Capabilities, Capability } from '@dxos/app-framework';
8
8
  import { AppCapabilities } from '@dxos/app-toolkit';
9
- import { type Type } from '@dxos/echo';
9
+ import { Type } from '@dxos/echo';
10
+ import { log } from '@dxos/log';
10
11
 
11
12
  import { ClientCapabilities } from '#types';
12
13
 
@@ -17,16 +18,35 @@ export default Capability.makeModule(
17
18
  const schemasAtom = yield* Capability.atom(AppCapabilities.Schema);
18
19
 
19
20
  // TODO(wittjosiah): Unregister schemas when they are disabled.
20
- let previous: Type.AnyEntity[] = [];
21
+ let previousDxns = new Set<string>();
21
22
  const cancel = registry.subscribe(
22
23
  schemasAtom,
23
- async (_schemas: any[]) => {
24
- // TODO(wittjosiah): This doesn't seem to de-dupe schemas as expected.
25
- const schemas = Array.from(new Set(_schemas.flat())) as Type.AnyEntity[];
26
- // TODO(wittjosiah): Filter out schemas which the client has already registered.
27
- const newSchemas = schemas.filter((schema) => !previous.includes(schema));
28
- previous = schemas;
29
- await client.addTypes(newSchemas);
24
+ async (schemas) => {
25
+ const seenSchemaDxns = new Set<string>();
26
+ const batch: { schema: Type.AnyEntity; dxnKey: string }[] = [];
27
+ for (const schema of schemas.flat()) {
28
+ const dxn = Type.getDXN(schema);
29
+ if (!dxn) {
30
+ log.warn('skipping schema without dxn');
31
+ continue;
32
+ }
33
+
34
+ const key = dxn.toString();
35
+ if (seenSchemaDxns.has(key)) {
36
+ log('skipping duplicate schema for echo registration', { dxn: key });
37
+ continue;
38
+ }
39
+
40
+ seenSchemaDxns.add(key);
41
+ batch.push({ schema, dxnKey: key });
42
+ }
43
+
44
+ const toRegister = batch.filter(({ dxnKey }) => !previousDxns.has(dxnKey));
45
+
46
+ await client.addTypes(toRegister.map(({ schema }) => schema));
47
+ for (const { dxnKey } of toRegister) {
48
+ previousDxns.add(dxnKey);
49
+ }
30
50
  },
31
51
  { immediate: true },
32
52
  );
@@ -12,12 +12,17 @@ import { fromPlugins } from '@dxos/app-framework/testing';
12
12
  import { TestConsole, TestLayer } from '@dxos/cli-util/testing';
13
13
  import { ClientService } from '@dxos/client';
14
14
  import { runAndForwardErrors } from '@dxos/effect';
15
- import { ObservabilityPlugin } from '@dxos/plugin-observability/cli';
15
+ import { ObservabilityPlugin } from '@dxos/plugin-observability/plugin';
16
+
17
+ import { ClientPlugin } from '#plugin';
16
18
 
17
- import { ClientPlugin } from '../../../plugin';
18
19
  import { handler } from './create';
19
20
 
20
- const layer = Layer.merge(TestLayer, fromPlugins([ClientPlugin({}), OperationPlugin(), ObservabilityPlugin()]));
21
+ // TODO(wittjosiah): Align browser and node variant option types for ObservabilityPlugin.
22
+ const layer = Layer.merge(
23
+ TestLayer,
24
+ fromPlugins([ClientPlugin({}), OperationPlugin(), ObservabilityPlugin({} as any)]),
25
+ );
21
26
 
22
27
  // TODO(wittjosiah): Fix these tests.
23
28
  describe.skip('halo create', () => {
@@ -9,6 +9,7 @@ import * as Effect from 'effect/Effect';
9
9
  import * as Option from 'effect/Option';
10
10
 
11
11
  import { Capabilities, Plugin } from '@dxos/app-framework';
12
+ import { PERSONAL_SPACE_TAG } from '@dxos/app-toolkit';
12
13
  import { CommandConfig, flushAndSync, spaceLayer } from '@dxos/cli-util';
13
14
  import { print } from '@dxos/cli-util';
14
15
  import { ClientService } from '@dxos/client';
@@ -43,13 +44,11 @@ export const handler = Effect.fn(function* ({
43
44
  }
44
45
 
45
46
  // Create personal space for the CLI identity.
46
- const { PERSONAL_SPACE_TAG, setPersonalSpace } = yield* Effect.tryPromise(() => import('@dxos/app-toolkit'));
47
47
  const space = yield* Effect.promise(() =>
48
48
  client.spaces.create({}, { tags: [PERSONAL_SPACE_TAG], membershipPolicy: MembershipPolicy.LOCKED }),
49
49
  );
50
50
  yield* Effect.promise(() => space.waitUntilReady());
51
51
  yield* Effect.promise(() => space.internal.setEdgeReplicationPreference(EdgeReplicationSetting.ENABLED));
52
- setPersonalSpace(space);
53
52
  yield* flushAndSync({ indexes: true }).pipe(Effect.provide(spaceLayer(Option.some(space.id))));
54
53
 
55
54
  if (json) {
@@ -11,9 +11,9 @@ import { withLayout, withTheme } from '@dxos/react-ui/testing';
11
11
  import { translations as shellTranslations } from '@dxos/shell/react';
12
12
 
13
13
  import { initializeIdentity } from '#testing';
14
+ import { translations } from '#translations';
14
15
 
15
16
  import { ClientPlugin } from '../../ClientPlugin';
16
- import { translations } from '../../translations';
17
17
  import { DevicesContainer } from './DevicesContainer';
18
18
 
19
19
  const meta = {
@@ -13,7 +13,7 @@ import { type CancellableInvitationObservable, Invitation, InvitationEncoder } f
13
13
  import { useNetworkStatus } from '@dxos/react-client/mesh';
14
14
  import { Button, Clipboard, Icon, IconButton, List, useId, useTranslation } from '@dxos/react-ui';
15
15
  import { Settings } from '@dxos/react-ui-form';
16
- import { AuthCode, Centered, DeviceListItem, Emoji, Viewport, translationKey } from '@dxos/shell/react';
16
+ import { AuthCode, Centered, DeviceListItem, Emoji, Viewport } from '@dxos/shell/react';
17
17
  import { osTranslations } from '@dxos/ui-theme';
18
18
  import { hexToEmoji } from '@dxos/util';
19
19
 
@@ -25,7 +25,7 @@ export type DevicesContainerProps = {
25
25
  };
26
26
 
27
27
  export const DevicesContainer = ({ createInvitationUrl }: DevicesContainerProps) => {
28
- const { t } = useTranslation(translationKey);
28
+ const { t } = useTranslation(meta.id);
29
29
  const { invokePromise } = useOperationInvoker();
30
30
  const devices = useDevices();
31
31
  const { swarm: connectionState } = useNetworkStatus();
@@ -38,7 +38,7 @@ export const DevicesContainer = ({ createInvitationUrl }: DevicesContainerProps)
38
38
  );
39
39
 
40
40
  const handleJoinNewIdentity = useCallback(
41
- () => invokePromise(ClientOperation.ResetStorage, { mode: 'join new identity' }),
41
+ () => invokePromise(ClientOperation.ResetStorage, { mode: 'join-new-identity' }),
42
42
  [invokePromise],
43
43
  );
44
44
 
@@ -218,7 +218,7 @@ const InvitationQR = ({ id, url, onCancel }: { id: string; url: string; onCancel
218
218
  <p className='text-description'>{t('qr-code.description', { ns: meta.id })}</p>
219
219
  <div role='group' className='grid grid-cols-[1fr_min-content]'>
220
220
  <div className='flex justify-center py-4'>
221
- <div role='none' className='w-full md:max-w-80 aspect-square relative text-description'>
221
+ <div className='w-full md:max-w-80 aspect-square relative text-description'>
222
222
  <QR
223
223
  rounding={100}
224
224
  backgroundColor='transparent'
@@ -9,8 +9,9 @@ import { withPluginManager } from '@dxos/app-framework/testing';
9
9
  import { corePlugins } from '@dxos/plugin-testing';
10
10
  import { Dialog } from '@dxos/react-ui';
11
11
 
12
+ import { translations } from '#translations';
13
+
12
14
  import { ClientPlugin } from '../../ClientPlugin';
13
- import { translations } from '../../translations';
14
15
  import { JoinDialog } from './JoinDialog';
15
16
 
16
17
  const DefaultStory = () => (
@@ -6,7 +6,7 @@ import React, { useCallback } from 'react';
6
6
 
7
7
  import { useOperationInvoker } from '@dxos/app-framework/ui';
8
8
  import { LayoutOperation } from '@dxos/app-toolkit';
9
- import { ObservabilityOperation } from '@dxos/plugin-observability/operations';
9
+ import { ObservabilityOperation } from '@dxos/plugin-observability';
10
10
  import { type InvitationResult } from '@dxos/react-client/invitations';
11
11
  import { Dialog, useTranslation } from '@dxos/react-ui';
12
12
  import { JoinPanel, type JoinPanelProps } from '@dxos/shell/react';
@@ -7,7 +7,8 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';
7
7
  import { withClientProvider } from '@dxos/react-client/testing';
8
8
  import { withLayout, withTheme } from '@dxos/react-ui/testing';
9
9
 
10
- import { translations } from '../../translations';
10
+ import { translations } from '#translations';
11
+
11
12
  import { ProfileContainer } from './ProfileContainer';
12
13
 
13
14
  const meta = {
@@ -139,7 +139,7 @@ export const ProfileContainer = () => {
139
139
 
140
140
  return (
141
141
  <Settings.Item title={label} description={t('hue.description')}>
142
- <div role='none' className='flex justify-self-end'>
142
+ <div className='flex justify-self-end'>
143
143
  <HuePicker value={getValue()} onChange={handleChange} onReset={handleHueReset} />
144
144
  </div>
145
145
  </Settings.Item>
@@ -165,7 +165,7 @@ export const ProfileContainer = () => {
165
165
  <Settings.Viewport>
166
166
  <Settings.Section title={t('profile.label')} description={t('profile.description')}>
167
167
  <Form.Root schema={UserProfile} values={values} fieldMap={fieldMap} onValuesChanged={handleChange}>
168
- <Form.Content>
168
+ <Form.Content classNames='gap-form-gap'>
169
169
  <Form.FieldSet />
170
170
  </Form.Content>
171
171
  </Form.Root>
@@ -10,7 +10,8 @@ import { withClientProvider } from '@dxos/react-client/testing';
10
10
  import { AlertDialog, useAsyncEffect } from '@dxos/react-ui';
11
11
  import { withLayout, withTheme } from '@dxos/react-ui/testing';
12
12
 
13
- import { translations } from '../../translations';
13
+ import { translations } from '#translations';
14
+
14
15
  import { RecoveryCodeDialog } from './RecoveryCodeDialog';
15
16
 
16
17
  const DefaultStory = () => {