@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.
- package/LICENSE +102 -5
- package/README.md +1 -1
- package/dist/lib/neutral/ClientPlugin.mjs +10 -0
- package/dist/lib/{browser/cli/index.mjs → neutral/ClientPlugin.node.mjs} +57 -88
- package/dist/lib/neutral/ClientPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs +262 -0
- package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs.map +7 -0
- package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs +53 -0
- package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs.map +7 -0
- package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs +168 -0
- package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs.map +7 -0
- package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs +59 -0
- package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs.map +7 -0
- package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs +51 -0
- package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs.map +7 -0
- package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs +54 -0
- package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs +117 -0
- package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +28 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/node.mjs +13 -0
- package/dist/lib/neutral/capabilities/node.mjs.map +7 -0
- package/dist/lib/neutral/chunk-IYPUD3DP.mjs +62 -0
- package/dist/lib/neutral/chunk-IYPUD3DP.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KBYKJCO2.mjs +8 -0
- package/dist/lib/neutral/chunk-KBYKJCO2.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KJGNSH3K.mjs +18 -0
- package/dist/lib/neutral/chunk-KJGNSH3K.mjs.map +7 -0
- package/dist/lib/{browser/chunk-WNJRYPGG.mjs → neutral/chunk-M37DHX5L.mjs} +1 -1
- package/dist/lib/{browser/chunk-WNJRYPGG.mjs.map → neutral/chunk-M37DHX5L.mjs.map} +2 -2
- package/dist/lib/{browser/chunk-M43LJQ5U.mjs → neutral/chunk-RPMM5NKJ.mjs} +2 -2
- package/dist/lib/neutral/chunk-RPMM5NKJ.mjs.map +7 -0
- package/dist/lib/{browser/chunk-ELAYKIQU.mjs → neutral/chunk-VAIJSQYA.mjs} +1 -1
- package/dist/lib/{browser/chunk-ELAYKIQU.mjs.map → neutral/chunk-VAIJSQYA.mjs.map} +2 -2
- package/dist/lib/neutral/client-7JBIGMTX.mjs +62 -0
- package/dist/lib/neutral/client-7JBIGMTX.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +1 -0
- package/dist/lib/neutral/containers/index.mjs +19 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/{browser/create-agent-SS5SE35J.mjs → neutral/create-agent-JV3EM3TV.mjs} +5 -13
- package/dist/lib/neutral/create-agent-JV3EM3TV.mjs.map +7 -0
- package/dist/lib/{browser/create-identity-PBEUEIPN.mjs → neutral/create-identity-GNGOTH6D.mjs} +5 -5
- package/dist/lib/neutral/create-identity-GNGOTH6D.mjs.map +7 -0
- package/dist/lib/{browser/create-passkey-JN6I5WMM.mjs → neutral/create-passkey-NCP4XA7C.mjs} +7 -31
- package/dist/lib/neutral/create-passkey-NCP4XA7C.mjs.map +7 -0
- package/dist/lib/{browser/create-recovery-code-32I6IWZC.mjs → neutral/create-recovery-code-L5LA3GAP.mjs} +6 -14
- package/dist/lib/neutral/create-recovery-code-L5LA3GAP.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +23 -0
- package/dist/lib/{browser/join-identity-2BP4G2SD.mjs → neutral/join-identity-3W6PJLKN.mjs} +4 -4
- package/dist/lib/{browser/join-identity-2BP4G2SD.mjs.map → neutral/join-identity-3W6PJLKN.mjs.map} +1 -1
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/migrations-7FTW55ER.mjs +23 -0
- package/dist/lib/neutral/migrations-7FTW55ER.mjs.map +7 -0
- package/dist/lib/neutral/navigation-handler-TIIHOIBY.mjs +46 -0
- package/dist/lib/neutral/navigation-handler-TIIHOIBY.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-E3HB7E2T.mjs +13 -0
- package/dist/lib/neutral/operation-handler-E3HB7E2T.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +12 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +17 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-context-B5LXMHVM.mjs +23 -0
- package/dist/lib/neutral/react-context-B5LXMHVM.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-VSBYVQL7.mjs +60 -0
- package/dist/lib/neutral/react-surface-VSBYVQL7.mjs.map +7 -0
- package/dist/lib/{browser/recover-identity-LS6B5INB.mjs → neutral/recover-identity-KL6QY4GI.mjs} +4 -4
- package/dist/lib/{browser/recover-identity-LS6B5INB.mjs.map → neutral/recover-identity-KL6QY4GI.mjs.map} +1 -1
- package/dist/lib/{browser/redeem-passkey-OCIV6VCK.mjs → neutral/redeem-passkey-NDEWSJTM.mjs} +6 -22
- package/dist/lib/neutral/redeem-passkey-NDEWSJTM.mjs.map +7 -0
- package/dist/lib/{browser/redeem-token-6BCRGKV6.mjs → neutral/redeem-token-YLWAVFXD.mjs} +5 -13
- package/dist/lib/neutral/redeem-token-YLWAVFXD.mjs.map +7 -0
- package/dist/lib/{browser/reset-storage-RQHXLTZ7.mjs → neutral/reset-storage-OBHEGA6Z.mjs} +5 -5
- package/dist/lib/{browser/reset-storage-RQHXLTZ7.mjs.map → neutral/reset-storage-OBHEGA6Z.mjs.map} +1 -1
- package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs +51 -0
- package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs.map +7 -0
- package/dist/lib/{browser/share-identity-YJEBJTPA.mjs → neutral/share-identity-JQ5SL3J2.mjs} +5 -5
- package/dist/lib/{browser/share-identity-YJEBJTPA.mjs.map → neutral/share-identity-JQ5SL3J2.mjs.map} +1 -1
- package/dist/lib/{browser → neutral}/testing/index.mjs +4 -0
- package/dist/lib/{browser → neutral}/testing/index.mjs.map +2 -2
- package/dist/lib/{browser/index.mjs → neutral/translations.mjs} +4 -73
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/{browser → neutral}/types/index.mjs +1 -1
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/types/src/ClientPlugin.d.ts +1 -0
- package/dist/types/src/ClientPlugin.d.ts.map +1 -1
- package/dist/types/src/{cli/plugin.d.ts → ClientPlugin.node.d.ts} +2 -1
- package/dist/types/src/ClientPlugin.node.d.ts.map +1 -0
- package/dist/types/src/ClientPlugin.test.d.ts +2 -0
- package/dist/types/src/ClientPlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/client.d.ts +1 -1
- package/dist/types/src/capabilities/client.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +14 -14
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
- package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/node.d.ts +13 -13
- package/dist/types/src/capabilities/node.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -1
- package/dist/types/src/{cli/commands → commands}/config/index.d.ts +1 -1
- package/dist/types/src/commands/config/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/config/view.d.ts +1 -1
- package/dist/types/src/commands/config/view.d.ts.map +1 -0
- package/dist/types/src/commands/device/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/info.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/info.test.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/list.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/list.test.d.ts.map +1 -0
- package/dist/types/src/commands/device/update/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/update/update.d.ts.map +1 -0
- package/dist/types/src/commands/device/util.d.ts.map +1 -0
- package/dist/types/src/commands/edge/index.d.ts.map +1 -0
- package/dist/types/src/commands/edge/status.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/create.d.ts +15 -0
- package/dist/types/src/commands/halo/create/create.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/create.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/add/add.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/add/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/list/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.d.ts +2 -2
- package/dist/types/src/commands/halo/credential/list/list.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/list/list.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/identity.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/identity.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/join/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/join/join.d.ts +1 -1
- package/dist/types/src/commands/halo/join/join.d.ts.map +1 -0
- package/dist/types/src/commands/halo/join/join.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/keys.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/keys.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/recover.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/recover.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/seed/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/seed/seed.d.ts.map +1 -0
- package/dist/types/src/commands/halo/share/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/share/share.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/update.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/update.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/util.d.ts.map +1 -0
- package/dist/types/src/commands/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/create.d.ts +1 -1
- package/dist/types/src/commands/profile/create.d.ts.map +1 -0
- package/dist/types/src/commands/profile/delete.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/import.d.ts +2 -2
- package/dist/types/src/commands/profile/import.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/index.d.ts +6 -6
- package/dist/types/src/commands/profile/index.d.ts.map +1 -0
- package/dist/types/src/commands/profile/inspect.d.ts.map +1 -0
- package/dist/types/src/commands/profile/list.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/reset.d.ts +1 -1
- package/dist/types/src/commands/profile/reset.d.ts.map +1 -0
- package/dist/types/src/commands/profile/util.d.ts.map +1 -0
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.d.ts.map +1 -1
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts +165 -165
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -1
- package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ProfileContainer/ProfileContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/create-agent.d.ts +1 -1
- package/dist/types/src/operations/create-agent.d.ts.map +1 -1
- package/dist/types/src/operations/create-identity.d.ts +1 -1
- package/dist/types/src/operations/create-identity.d.ts.map +1 -1
- package/dist/types/src/operations/create-passkey.d.ts +1 -1
- package/dist/types/src/operations/create-passkey.d.ts.map +1 -1
- package/dist/types/src/operations/create-recovery-code.d.ts +1 -1
- package/dist/types/src/operations/create-recovery-code.d.ts.map +1 -1
- package/dist/types/src/operations/definitions.d.ts +1 -1
- package/dist/types/src/operations/definitions.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +1 -1
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/join-identity.d.ts +1 -1
- package/dist/types/src/operations/join-identity.d.ts.map +1 -1
- package/dist/types/src/operations/recover-identity.d.ts +1 -1
- package/dist/types/src/operations/recover-identity.d.ts.map +1 -1
- package/dist/types/src/operations/redeem-passkey.d.ts +1 -1
- package/dist/types/src/operations/redeem-passkey.d.ts.map +1 -1
- package/dist/types/src/operations/redeem-token.d.ts +1 -1
- package/dist/types/src/operations/redeem-token.d.ts.map +1 -1
- package/dist/types/src/operations/reset-storage.d.ts +1 -1
- package/dist/types/src/operations/reset-storage.d.ts.map +1 -1
- package/dist/types/src/operations/share-identity.d.ts +1 -1
- package/dist/types/src/operations/share-identity.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +1 -0
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/initializeIdentity.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +1 -2
- package/dist/types/src/types/capabilities.d.ts.map +1 -1
- package/dist/types/src/types/events.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +94 -77
- package/src/{cli/plugin.ts → ClientPlugin.node.ts} +4 -2
- package/src/ClientPlugin.test.ts +29 -0
- package/src/ClientPlugin.ts +6 -5
- package/src/capabilities/app-graph-builder.ts +1 -1
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/navigation-handler/navigation-handler.ts +1 -1
- package/src/capabilities/node.ts +1 -1
- package/src/capabilities/operation-handler.ts +1 -1
- package/src/capabilities/react-surface.tsx +13 -16
- package/src/capabilities/schema-defs.ts +29 -9
- package/src/{cli/commands → commands}/halo/create/create.test.ts +8 -3
- package/src/{cli/commands → commands}/halo/create/create.ts +1 -2
- package/src/containers/DevicesContainer/DevicesContainer.stories.tsx +1 -1
- package/src/containers/DevicesContainer/DevicesContainer.tsx +4 -4
- package/src/containers/JoinDialog/JoinDialog.stories.tsx +2 -1
- package/src/containers/JoinDialog/JoinDialog.tsx +1 -1
- package/src/containers/ProfileContainer/ProfileContainer.stories.tsx +2 -1
- package/src/containers/ProfileContainer/ProfileContainer.tsx +2 -2
- package/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.tsx +2 -1
- package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.tsx +1 -1
- package/src/containers/ResetDialog/ResetDialog.stories.tsx +4 -3
- package/src/containers/ResetDialog/ResetDialog.tsx +5 -3
- package/src/index.ts +2 -1
- package/src/meta.ts +1 -0
- package/src/operations/create-agent.ts +1 -1
- package/src/operations/create-identity.ts +2 -2
- package/src/operations/create-passkey.ts +1 -1
- package/src/operations/create-recovery-code.ts +1 -1
- package/src/operations/definitions.ts +1 -1
- package/src/operations/index.ts +1 -1
- package/src/operations/join-identity.ts +1 -1
- package/src/operations/recover-identity.ts +1 -1
- package/src/operations/redeem-passkey.ts +1 -1
- package/src/operations/redeem-token.ts +1 -1
- package/src/operations/reset-storage.ts +2 -2
- package/src/operations/share-identity.ts +2 -2
- package/src/plugin.ts +11 -0
- package/src/testing/index.ts +3 -0
- package/src/translations.ts +2 -3
- package/dist/lib/browser/chunk-M43LJQ5U.mjs.map +0 -7
- package/dist/lib/browser/cli/index.mjs.map +0 -7
- package/dist/lib/browser/create-agent-SS5SE35J.mjs.map +0 -7
- package/dist/lib/browser/create-identity-PBEUEIPN.mjs.map +0 -7
- package/dist/lib/browser/create-passkey-JN6I5WMM.mjs.map +0 -7
- package/dist/lib/browser/create-recovery-code-32I6IWZC.mjs.map +0 -7
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/operations/index.mjs +0 -13
- package/dist/lib/browser/operations/index.mjs.map +0 -7
- package/dist/lib/browser/redeem-passkey-OCIV6VCK.mjs.map +0 -7
- package/dist/lib/browser/redeem-token-6BCRGKV6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-IT5LAIV3.mjs +0 -133
- package/dist/lib/node-esm/chunk-IT5LAIV3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-J5RWSQT6.mjs +0 -14
- package/dist/lib/node-esm/chunk-J5RWSQT6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SJ6FDER5.mjs +0 -176
- package/dist/lib/node-esm/chunk-SJ6FDER5.mjs.map +0 -7
- package/dist/lib/node-esm/cli/index.mjs +0 -1061
- package/dist/lib/node-esm/cli/index.mjs.map +0 -7
- package/dist/lib/node-esm/create-agent-QGEHMHBL.mjs +0 -35
- package/dist/lib/node-esm/create-agent-QGEHMHBL.mjs.map +0 -7
- package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs +0 -31
- package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs.map +0 -7
- package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs +0 -106
- package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs.map +0 -7
- package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs +0 -45
- package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -144
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/join-identity-75JCKQHM.mjs +0 -28
- package/dist/lib/node-esm/join-identity-75JCKQHM.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/operations/index.mjs +0 -14
- package/dist/lib/node-esm/operations/index.mjs.map +0 -7
- package/dist/lib/node-esm/recover-identity-AKGNTUJI.mjs +0 -27
- package/dist/lib/node-esm/recover-identity-AKGNTUJI.mjs.map +0 -7
- package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs +0 -83
- package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs.map +0 -7
- package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs +0 -38
- package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs.map +0 -7
- package/dist/lib/node-esm/reset-storage-OWV5UDMC.mjs +0 -27
- package/dist/lib/node-esm/reset-storage-OWV5UDMC.mjs.map +0 -7
- package/dist/lib/node-esm/share-identity-QZLY3VHE.mjs +0 -32
- package/dist/lib/node-esm/share-identity-QZLY3VHE.mjs.map +0 -7
- package/dist/lib/node-esm/testing/index.mjs +0 -23
- package/dist/lib/node-esm/testing/index.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -15
- package/dist/types/src/cli/commands/config/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/config/view.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/info.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/info.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/list.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/update/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/update/update.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/util.d.ts.map +0 -1
- package/dist/types/src/cli/commands/edge/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/edge/status.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/create.d.ts +0 -15
- package/dist/types/src/cli/commands/halo/create/create.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/create.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/add/add.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/add/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/list.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/identity.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/identity.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/join.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/join.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/keys.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/keys.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/recover.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/recover.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/seed/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/seed/seed.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/share/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/share/share.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/update.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/update.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/util.d.ts.map +0 -1
- package/dist/types/src/cli/commands/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/create.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/delete.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/import.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/inspect.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/reset.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/util.d.ts.map +0 -1
- package/dist/types/src/cli/index.d.ts +0 -2
- package/dist/types/src/cli/index.d.ts.map +0 -1
- package/dist/types/src/cli/plugin.d.ts.map +0 -1
- package/dist/types/src/cli/testing/test-console.d.ts +0 -37
- package/dist/types/src/cli/testing/test-console.d.ts.map +0 -1
- package/src/cli/index.ts +0 -5
- package/src/cli/testing/test-console.ts +0 -87
- /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ClientPlugin.mjs.map} +0 -0
- /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
- /package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types → neutral/components}/index.mjs.map +0 -0
- /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/index.mjs.map} +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/info.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/info.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/list.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/list.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/update/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/update/update.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/util.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/edge/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/edge/status.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/create/create.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/create/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/add/add.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/add/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/list/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/join/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/join/join.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/seed/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/seed/seed.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/share/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/share/share.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/update.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/update.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/util.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/delete.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/inspect.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/list.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/util.d.ts +0 -0
- /package/src/{cli/commands → commands}/config/index.ts +0 -0
- /package/src/{cli/commands → commands}/config/view.ts +0 -0
- /package/src/{cli/commands → commands}/device/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/info.test.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/info.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/list.test.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/list.ts +0 -0
- /package/src/{cli/commands → commands}/device/update/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/update/update.ts +0 -0
- /package/src/{cli/commands → commands}/device/util.ts +0 -0
- /package/src/{cli/commands → commands}/edge/index.ts +0 -0
- /package/src/{cli/commands → commands}/edge/status.ts +0 -0
- /package/src/{cli/commands → commands}/halo/create/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/add/add.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/add/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/list.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/list.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/identity.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/identity.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/join.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/join.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/keys.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/keys.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/recover.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/recover.ts +0 -0
- /package/src/{cli/commands → commands}/halo/seed/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/seed/seed.ts +0 -0
- /package/src/{cli/commands → commands}/halo/share/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/share/share.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/update.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/update.ts +0 -0
- /package/src/{cli/commands → commands}/halo/util.ts +0 -0
- /package/src/{cli/commands → commands}/index.ts +0 -0
- /package/src/{cli/commands → commands}/profile/create.ts +0 -0
- /package/src/{cli/commands → commands}/profile/delete.ts +0 -0
- /package/src/{cli/commands → commands}/profile/import.ts +0 -0
- /package/src/{cli/commands → commands}/profile/index.ts +0 -0
- /package/src/{cli/commands → commands}/profile/inspect.ts +0 -0
- /package/src/{cli/commands → commands}/profile/list.ts +0 -0
- /package/src/{cli/commands → commands}/profile/reset.ts +0 -0
- /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.
|
|
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": "
|
|
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
|
-
"
|
|
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
|
-
"#
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"#
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
"
|
|
37
|
-
"source": "./src/
|
|
38
|
-
"types": "./dist/types/src/
|
|
39
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
45
|
-
|
|
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
|
-
"
|
|
65
|
+
"#types": {
|
|
48
66
|
"source": "./src/types/index.ts",
|
|
49
67
|
"types": "./dist/types/src/types/index.d.ts",
|
|
50
|
-
"
|
|
51
|
-
|
|
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
|
-
"
|
|
57
|
-
|
|
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.
|
|
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.
|
|
86
|
-
"@dxos/
|
|
87
|
-
"@dxos/async": "0.8.4-main.
|
|
88
|
-
"@dxos/
|
|
89
|
-
"@dxos/client": "0.8.4-main.
|
|
90
|
-
"@dxos/client-
|
|
91
|
-
"@dxos/client-
|
|
92
|
-
"@dxos/
|
|
93
|
-
"@dxos/
|
|
94
|
-
"@dxos/
|
|
95
|
-
"@dxos/
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/
|
|
98
|
-
"@dxos/
|
|
99
|
-
"@dxos/plugin-graph": "0.8.4-main.
|
|
100
|
-
"@dxos/
|
|
101
|
-
"@dxos/
|
|
102
|
-
"@dxos/react-
|
|
103
|
-
"@dxos/react-ui-pickers": "0.8.4-main.
|
|
104
|
-
"@dxos/react-
|
|
105
|
-
"@dxos/
|
|
106
|
-
"@dxos/
|
|
107
|
-
"@dxos/
|
|
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": "^
|
|
118
|
-
"@dxos/
|
|
119
|
-
"@dxos/
|
|
120
|
-
"@dxos/
|
|
121
|
-
"@dxos/
|
|
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
|
|
130
|
-
"@dxos/
|
|
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
|
-
|
|
22
|
+
firesAfterActivation: [ClientEvents.ClientReady],
|
|
23
23
|
activate: () => Client(options),
|
|
24
24
|
})),
|
|
25
25
|
Plugin.addModule({
|
|
26
26
|
activatesOn: ClientEvents.ClientReady,
|
|
27
|
-
|
|
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
|
+
});
|
package/src/ClientPlugin.ts
CHANGED
|
@@ -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
|
-
|
|
35
|
+
firesAfterActivation: [ClientEvents.ClientReady],
|
|
37
36
|
activate: () => Client(options),
|
|
38
37
|
};
|
|
39
38
|
}),
|
|
40
39
|
Plugin.addModule({
|
|
41
40
|
activatesOn: ClientEvents.ClientReady,
|
|
42
|
-
|
|
41
|
+
firesBeforeActivation: [AppActivationEvents.SetupSchema],
|
|
43
42
|
activate: SchemaDefs,
|
|
44
43
|
}),
|
|
45
44
|
Plugin.addModule({
|
|
46
45
|
activatesOn: ClientEvents.ClientReady,
|
|
47
|
-
|
|
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/
|
|
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/
|
|
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
|
|
package/src/capabilities/node.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { Capability } from '@dxos/app-framework';
|
|
6
|
-
import { OperationHandlerSet } from '@dxos/
|
|
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/
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
54
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
-
|
|
66
|
-
|
|
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 {
|
|
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
|
|
21
|
+
let previousDxns = new Set<string>();
|
|
21
22
|
const cancel = registry.subscribe(
|
|
22
23
|
schemasAtom,
|
|
23
|
-
async (
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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/
|
|
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
|
-
|
|
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
|
|
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(
|
|
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
|
|
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
|
|
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
|
|
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 '
|
|
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
|
|
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 '
|
|
13
|
+
import { translations } from '#translations';
|
|
14
|
+
|
|
14
15
|
import { RecoveryCodeDialog } from './RecoveryCodeDialog';
|
|
15
16
|
|
|
16
17
|
const DefaultStory = () => {
|