@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
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// src/ClientPlugin.ts
|
|
2
|
+
import { ActivationEvent, ActivationEvents, Capability, Plugin } from "@dxos/app-framework";
|
|
3
|
+
import { AppActivationEvents, AppPlugin } from "@dxos/app-toolkit";
|
|
4
|
+
import { AppGraphBuilder, Client, Migrations, NavigationHandler, OperationHandler, ReactContext, ReactSurface, SchemaDefs } from "#capabilities";
|
|
5
|
+
import { meta } from "#meta";
|
|
6
|
+
import { translations } from "#translations";
|
|
7
|
+
import { ClientEvents } from "#types";
|
|
8
|
+
var ClientPlugin = Plugin.define(meta).pipe(AppPlugin.addAppGraphModule({
|
|
9
|
+
activate: AppGraphBuilder
|
|
10
|
+
}), AppPlugin.addNavigationHandlerModule(({ invitationProp }) => ({
|
|
11
|
+
activate: () => NavigationHandler({
|
|
12
|
+
invitationProp
|
|
13
|
+
})
|
|
14
|
+
})), AppPlugin.addOperationHandlerModule({
|
|
15
|
+
activate: OperationHandler
|
|
16
|
+
}), AppPlugin.addReactContextModule({
|
|
17
|
+
activate: ReactContext
|
|
18
|
+
}), AppPlugin.addTranslationsModule({
|
|
19
|
+
translations
|
|
20
|
+
}), Plugin.addModule((options) => {
|
|
21
|
+
return {
|
|
22
|
+
id: Capability.getModuleTag(Client),
|
|
23
|
+
activatesOn: ActivationEvent.oneOf(ActivationEvents.Startup, AppActivationEvents.SetupAppGraph),
|
|
24
|
+
firesAfterActivation: [
|
|
25
|
+
ClientEvents.ClientReady
|
|
26
|
+
],
|
|
27
|
+
activate: () => Client(options)
|
|
28
|
+
};
|
|
29
|
+
}), Plugin.addModule({
|
|
30
|
+
activatesOn: ClientEvents.ClientReady,
|
|
31
|
+
firesBeforeActivation: [
|
|
32
|
+
AppActivationEvents.SetupSchema
|
|
33
|
+
],
|
|
34
|
+
activate: SchemaDefs
|
|
35
|
+
}), Plugin.addModule({
|
|
36
|
+
activatesOn: ClientEvents.ClientReady,
|
|
37
|
+
firesBeforeActivation: [
|
|
38
|
+
ClientEvents.SetupMigration
|
|
39
|
+
],
|
|
40
|
+
activate: Migrations
|
|
41
|
+
}), Plugin.addModule(({ shareableLinkOrigin = typeof window !== "undefined" ? window.location.origin : "http://localhost", invitationPath = "/", invitationProp = "deviceInvitationCode", onReset }) => {
|
|
42
|
+
const createInvitationUrl = (invitationCode) => {
|
|
43
|
+
const baseUrl = new URL(invitationPath || "/", shareableLinkOrigin);
|
|
44
|
+
baseUrl.searchParams.set(invitationProp, invitationCode);
|
|
45
|
+
return baseUrl.toString();
|
|
46
|
+
};
|
|
47
|
+
return {
|
|
48
|
+
id: Capability.getModuleTag(ReactSurface),
|
|
49
|
+
activatesOn: ActivationEvents.SetupReactSurface,
|
|
50
|
+
activate: () => ReactSurface({
|
|
51
|
+
createInvitationUrl,
|
|
52
|
+
onReset
|
|
53
|
+
})
|
|
54
|
+
};
|
|
55
|
+
}), Plugin.make);
|
|
56
|
+
var ClientPlugin_default = ClientPlugin;
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
ClientPlugin,
|
|
60
|
+
ClientPlugin_default
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=chunk-IYPUD3DP.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ClientPlugin.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n Client,\n Migrations,\n NavigationHandler,\n OperationHandler,\n ReactContext,\n ReactSurface,\n SchemaDefs,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { ClientEvents } from '#types';\nimport { type ClientPluginOptions } from '#types';\n\nexport const ClientPlugin = Plugin.define<ClientPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addNavigationHandlerModule(({ invitationProp }) => ({\n activate: () => NavigationHandler({ invitationProp }),\n })),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addReactContextModule({ activate: ReactContext }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule((options) => {\n return {\n id: Capability.getModuleTag(Client),\n activatesOn: ActivationEvent.oneOf(ActivationEvents.Startup, AppActivationEvents.SetupAppGraph),\n firesAfterActivation: [ClientEvents.ClientReady],\n activate: () => Client(options),\n };\n }),\n Plugin.addModule({\n activatesOn: ClientEvents.ClientReady,\n firesBeforeActivation: [AppActivationEvents.SetupSchema],\n activate: SchemaDefs,\n }),\n Plugin.addModule({\n activatesOn: ClientEvents.ClientReady,\n firesBeforeActivation: [ClientEvents.SetupMigration],\n activate: Migrations,\n }),\n Plugin.addModule(\n ({\n shareableLinkOrigin = typeof window !== 'undefined' ? window.location.origin : 'http://localhost',\n invitationPath = '/',\n invitationProp = 'deviceInvitationCode',\n onReset,\n }) => {\n const createInvitationUrl = (invitationCode: string) => {\n const baseUrl = new URL(invitationPath || '/', shareableLinkOrigin);\n baseUrl.searchParams.set(invitationProp, invitationCode);\n return baseUrl.toString();\n };\n\n return {\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.SetupReactSurface,\n activate: () => ReactSurface({ createInvitationUrl, onReset }),\n };\n },\n ),\n Plugin.make,\n);\n\nexport default ClientPlugin;\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,QACAC,YACAC,mBACAC,kBACAC,cACAC,cACAC,kBACK;AACP,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAC7B,SAASC,oBAAoB;AAGtB,IAAMC,eAAed,OAAOe,OAA4BJ,IAAAA,EAAMK,KACnEd,UAAUe,kBAAkB;EAAEC,UAAUf;AAAgB,CAAA,GACxDD,UAAUiB,2BAA2B,CAAC,EAAEC,eA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Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "Client", "Migrations", "NavigationHandler", "OperationHandler", "ReactContext", "ReactSurface", "SchemaDefs", "meta", "translations", "ClientEvents", "ClientPlugin", "define", "pipe", "addAppGraphModule", "activate", "addNavigationHandlerModule", "invitationProp", "addOperationHandlerModule", "addReactContextModule", "addTranslationsModule", "addModule", "options", "id", "getModuleTag", "activatesOn", "oneOf", "Startup", "SetupAppGraph", "firesAfterActivation", "ClientReady", "firesBeforeActivation", "SetupSchema", "SetupMigration", "shareableLinkOrigin", "window", "location", "origin", "invitationPath", "onReset", "createInvitationUrl", "invitationCode", "baseUrl", "URL", "searchParams", "set", "toString", "SetupReactSurface", "make"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// src/operations/index.ts
|
|
2
|
+
import { OperationHandlerSet } from "@dxos/compute";
|
|
3
|
+
var ClientOperationHandlerSet = OperationHandlerSet.lazy(() => import("./create-agent-JV3EM3TV.mjs"), () => import("./create-identity-GNGOTH6D.mjs"), () => import("./create-passkey-NCP4XA7C.mjs"), () => import("./create-recovery-code-L5LA3GAP.mjs"), () => import("./join-identity-3W6PJLKN.mjs"), () => import("./recover-identity-KL6QY4GI.mjs"), () => import("./redeem-passkey-NDEWSJTM.mjs"), () => import("./redeem-token-YLWAVFXD.mjs"), () => import("./reset-storage-OBHEGA6Z.mjs"), () => import("./share-identity-JQ5SL3J2.mjs"));
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
ClientOperationHandlerSet
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=chunk-KBYKJCO2.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { OperationHandlerSet } from '@dxos/compute';\n\nexport * as ClientOperation from './definitions';\n\nexport const ClientOperationHandlerSet = OperationHandlerSet.lazy(\n () => import('./create-agent'),\n () => import('./create-identity'),\n () => import('./create-passkey'),\n () => import('./create-recovery-code'),\n () => import('./join-identity'),\n () => import('./recover-identity'),\n () => import('./redeem-passkey'),\n () => import('./redeem-token'),\n () => import('./reset-storage'),\n () => import('./share-identity'),\n);\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,2BAA2B;AAI7B,IAAMC,4BAA4BD,oBAAoBE,KAC3D,MAAM,OAAO,6BAAA,GACb,MAAM,OAAO,gCAAA,GACb,MAAM,OAAO,+BAAA,GACb,MAAM,OAAO,qCAAA,GACb,MAAM,OAAO,8BAAA,GACb,MAAM,OAAO,iCAAA,GACb,MAAM,OAAO,+BAAA,GACb,MAAM,OAAO,6BAAA,GACb,MAAM,OAAO,8BAAA,GACb,MAAM,OAAO,+BAAA,CAAA;",
|
|
6
|
+
"names": ["OperationHandlerSet", "ClientOperationHandlerSet", "lazy"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/meta.ts
|
|
2
|
+
import { trim } from "@dxos/util";
|
|
3
|
+
var meta = {
|
|
4
|
+
id: "org.dxos.plugin.client",
|
|
5
|
+
name: "Client",
|
|
6
|
+
description: trim`
|
|
7
|
+
Core client connectivity and peer-to-peer networking infrastructure.
|
|
8
|
+
Manages identity, authentication, and real-time synchronization across devices.
|
|
9
|
+
`,
|
|
10
|
+
tags: [
|
|
11
|
+
"system"
|
|
12
|
+
]
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
meta
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk-KJGNSH3K.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.client',\n name: 'Client',\n description: trim`\n Core client connectivity and peer-to-peer networking infrastructure.\n Manages identity, authentication, and real-time synchronization across devices.\n `,\n tags: ['system'],\n};\n"],
|
|
5
|
+
"mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;IAAC;;AACT;",
|
|
6
|
+
"names": ["trim", "meta", "id", "name", "description", "tags"]
|
|
7
|
+
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/types/capabilities.ts", "../../../src/types/events.ts", "../../../src/types/schema.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\nimport { type Client } from '@dxos/client';\nimport { type ObjectMigration } from '@dxos/client/echo';\nimport { type Type } from '@dxos/echo';\n\nimport { meta } from '#meta';\n\nexport namespace ClientCapabilities {\n export const Client = Capability.make<Client>(`${meta.id}.capability.client`);\n export const Schema = Capability.make<Type.AnyEntity[]>(`${meta.id}.capability.schema`);\n export const Migration = Capability.make<ObjectMigration[]>(`${meta.id}.capability.migration`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent } from '@dxos/app-framework';\n\nimport { meta } from '#meta';\n\nexport namespace ClientEvents {\n export const ClientReady = ActivationEvent.make(`${meta.id}.event.client-ready`);\n export const SetupSchema = ActivationEvent.make(`${meta.id}.event.setup-schema`);\n export const SetupMigration = ActivationEvent.make(`${meta.id}.event.setup-migration`);\n export const IdentityCreated = ActivationEvent.make(`${meta.id}.event.identity-created`);\n export const SpacesReady = ActivationEvent.make(`${meta.id}.event.spaces-ready`);\n}\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport type * as Effect from 'effect/Effect';\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { type Client, type ClientOptions, PublicKey } from '@dxos/client';\n\nimport { meta } from '#meta';\n\n// TODO(wittjosiah): Factor out. Generate?\nconst IdentitySchema = Schema.Struct({\n identityKey: Schema.instanceOf(PublicKey),\n spaceKey: Schema.optional(Schema.instanceOf(PublicKey)),\n profile: Schema.optional(\n Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n }),\n ),\n});\n\nexport namespace ClientAction {\n const ProfileSchema = Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n });\n\n export class CreateIdentity extends Schema.TaggedClass<CreateIdentity>()(`${meta.id}.action.create-identity`, {\n input: ProfileSchema,\n output: IdentitySchema,\n }) {}\n\n export class JoinIdentity extends Schema.TaggedClass<JoinIdentity>()(`${meta.id}.action.join-identity`, {\n input: Schema.Struct({\n invitationCode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n }) {}\n\n export class ShareIdentity extends Schema.TaggedClass<ShareIdentity>()(`${meta.id}.action.share-identity`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RecoverIdentity extends Schema.TaggedClass<RecoverIdentity>()(`${meta.id}.action.recover-identity`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class ResetStorage extends Schema.TaggedClass<ResetStorage>()(`${meta.id}.action.reset-storage`, {\n input: Schema.Struct({\n mode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n }) {}\n\n export class CreateAgent extends Schema.TaggedClass<CreateAgent>()(`${meta.id}.action.create-agent`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class CreateRecoveryCode extends Schema.TaggedClass<CreateRecoveryCode>()(\n `${meta.id}.action.create-recovery-code`,\n {\n input: Schema.Void,\n output: Schema.Void,\n },\n ) {}\n\n export class CreatePasskey extends Schema.TaggedClass<CreatePasskey>()(`${meta.id}.action.create-passkey`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RedeemPasskey extends Schema.TaggedClass<RedeemPasskey>()(`${meta.id}.action.redeem-passkey`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RedeemToken extends Schema.TaggedClass<RedeemToken>()(`${meta.id}.action.redeem-token`, {\n input: Schema.Struct({\n token: Schema.String,\n }),\n output: Schema.Void,\n }) {}\n}\n\nexport type ClientPluginOptions = ClientOptions & {\n /**\n * Base origin for the invitation link.\n */\n shareableLinkOrigin?: string;\n\n /**\n * Path for the invitation link.\n */\n invitationPath?: string;\n\n /**\n * Query parameter for the invitation code.\n */\n invitationProp?: string;\n\n /**\n * Run after the client has been initialized.\n * Plugin context is provided so capabilities are accessible.\n */\n onClientInitialized?: (params: { client: Client }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n\n /**\n * Called when spaces are ready.\n * Plugin context is provided so capabilities are accessible.\n */\n onSpacesReady?: (params: { client: Client }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n\n /**\n * Called when the client is reset.\n * Plugin context is provided so capabilities are accessible.\n */\n onReset?: (params: { target?: string }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n};\n\nexport namespace Account {\n // TODO(wittjosiah): Cannot use slashes in ids until we have a router which decouples ids from url paths.\n const _id = 'dxos.org.plugin.client.account';\n // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.\n // Ideally this should be worked into the data model in a generic way.\n export const id = `!${_id}`;\n\n export const Profile = `${_id}.profile`;\n export const Devices = `${_id}.devices`;\n export const Security = `${_id}.security`;\n}\n"],
|
|
5
|
-
"mappings": ";AAIA,SAASA,kBAAkB;AAK3B,SAASC,YAAY;UAEJC,qBAAAA;sBACFC,
|
|
6
|
-
"names": ["Capability", "meta", "ClientCapabilities", "Client", "
|
|
5
|
+
"mappings": ";AAIA,SAASA,kBAAkB;AAK3B,SAASC,YAAY;UAEJC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EAAkB,GAAGnB,MAAKoB,EAAE,0BAA0B;IACzGC,OAAcI;IACdH,QAAeG;EACjB,CAAA,EAAA;EAAI;gBAHSQ,gBAAAA;EAKN,MAAMC,oBAA2Bf,mBAAW,EAAgB,GAAGnB,MAAKoB,EAAE,wBAAwB;IACnGC,OAAcnB,cAAO;MACnBiC,OAAc1B;IAChB,CAAA;IACAa,QAAeG;EACjB,CAAA,EAAA;EAAI;gBALSS,cAAAA;AAMf,GAjEiBlB,iBAAAA,eAAAA,CAAAA,EAAAA;UAsGAoB,UAAAA;AAEf,QAAMC,MAAM;WAGCjB,KAAK,IAAIiB,GAAAA;WAETC,UAAU,GAAGD,GAAAA;WACbE,UAAU,GAAGF,GAAAA;WACbG,WAAW,GAAGH,GAAAA;AAC7B,GAViBD,YAAAA,UAAAA,CAAAA,EAAAA;;;",
|
|
6
|
+
"names": ["Capability", "meta", "ClientCapabilities", "Client", "make", "id", "Schema", "Migration", "ActivationEvent", "meta", "ClientEvents", "ClientReady", "make", "id", "SetupSchema", "SetupMigration", "IdentityCreated", "SpacesReady", "Schema", "PublicKey", "meta", "IdentitySchema", "Struct", "identityKey", "instanceOf", "spaceKey", "optional", "profile", "displayName", "String", "avatarCid", "data", "Record", "key", "value", "Any", "ClientAction", "ProfileSchema", "CreateIdentity", "TaggedClass", "id", "input", "output", "JoinIdentity", "invitationCode", "Void", "ShareIdentity", "RecoverIdentity", "ResetStorage", "mode", "CreateAgent", "CreateRecoveryCode", "CreatePasskey", "RedeemPasskey", "RedeemToken", "token", "Account", "_id", "Profile", "Devices", "Security"]
|
|
7
7
|
}
|
|
@@ -19,7 +19,7 @@ __export(definitions_exports, {
|
|
|
19
19
|
import * as Schema from "effect/Schema";
|
|
20
20
|
import { Capability } from "@dxos/app-framework";
|
|
21
21
|
import { PublicKey } from "@dxos/client";
|
|
22
|
-
import { Operation } from "@dxos/
|
|
22
|
+
import { Operation } from "@dxos/compute";
|
|
23
23
|
import { meta } from "#meta";
|
|
24
24
|
var CLIENT_OPERATION = `${meta.id}.operation`;
|
|
25
25
|
var IdentitySchema = Schema.Struct({
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
RedeemToken,
|
|
173
173
|
definitions_exports
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-RPMM5NKJ.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/definitions.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { PublicKey } from '@dxos/client';\nimport { Operation } from '@dxos/compute';\n\nimport { meta } from '#meta';\n\nconst CLIENT_OPERATION = `${meta.id}.operation`;\n\nconst IdentitySchema = Schema.Struct({\n identityKey: Schema.instanceOf(PublicKey),\n spaceKey: Schema.optional(Schema.instanceOf(PublicKey)),\n profile: Schema.optional(\n Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n }),\n ),\n});\n\nconst ProfileSchema = Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n});\n\nexport const CreateIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-identity`, name: 'Create Identity' },\n services: [Capability.Service],\n input: ProfileSchema,\n output: IdentitySchema,\n});\n\nexport const JoinIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.join-identity`, name: 'Join Identity' },\n services: [Capability.Service],\n input: Schema.Struct({\n invitationCode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n});\n\nexport const ShareIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.share-identity`, name: 'Share Identity' },\n services: [Capability.Service],\n input: Schema.Void,\n output: Schema.Void,\n});\n\nexport const RecoverIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.recover-identity`, name: 'Recover Identity' },\n services: [Capability.Service],\n input: Schema.Void,\n output: Schema.Void,\n});\n\nexport const ResetStorage = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.reset-storage`, name: 'Reset Storage' },\n services: [Capability.Service],\n input: Schema.Struct({\n mode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n});\n\nexport const CreateAgent = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-agent`, name: 'Create Agent' },\n services: [Capability.Service],\n input: Schema.Void,\n output: Schema.Void,\n});\n\nexport const CreateRecoveryCode = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-recovery-code`, name: 'Create Recovery Code' },\n services: [Capability.Service],\n input: Schema.Void,\n output: Schema.Void,\n});\n\nexport const CreatePasskey = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-passkey`, name: 'Create Passkey' },\n services: [Capability.Service],\n input: Schema.Void,\n output: Schema.Void,\n});\n\nexport const RedeemPasskey = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.redeem-passkey`, name: 'Redeem Passkey' },\n services: [Capability.Service],\n input: Schema.Void,\n output: Schema.Void,\n});\n\nexport const RedeemToken = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.redeem-token`, name: 'Redeem Token' },\n services: [Capability.Service],\n input: Schema.Struct({\n token: Schema.String,\n }),\n output: Schema.Void,\n});\n"],
|
|
5
|
+
"mappings": ";;;;;AAAA;;;;;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAE1B,SAASC,YAAY;AAErB,IAAMC,mBAAmB,GAAGD,KAAKE,EAAE;AAEnC,IAAMC,iBAAwBC,cAAO;EACnCC,aAAoBC,kBAAWR,SAAAA;EAC/BS,UAAiBC,gBAAgBF,kBAAWR,SAA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AA;IAAkCoB,MAAM;EAAgB;EACxEC,UAAU;IAACzB,WAAW0B;;EACtBC,OAAcpB,cAAO;IACnB4B,MAAaxB,gBAAgBG,aAAM;EACrC,CAAA;EACAc,QAAeG;AACjB,CAAA;AAEO,IAAMK,cAAclC,UAAUqB,KAAK;EACxCpB,MAAM;IAAEe,KAAK,GAAGd,gBAAAA;IAAiCoB,MAAM;EAAe;EACtEC,UAAU;IAACzB,WAAW0B;;EACtBC,OAAcI;EACdH,QAAeG;AACjB,CAAA;AAEO,IAAMM,qBAAqBnC,UAAUqB,KAAK;EAC/CpB,MAAM;IAAEe,KAAK,GAAGd,gBAAAA;IAAyCoB,MAAM;EAAuB;EACtFC,UAAU;IAACzB,WAAW0B;;EACtBC,OAAcI;EACdH,QAAeG;AACjB,CAAA;AAEO,IAAMO,gBAAgBpC,UAAUqB,KAAK;EAC1CpB,MAAM;IAAEe,KAAK,GAAGd,gBAAAA;IAAmCoB,MAAM;EAAiB;EAC1EC,UAAU;IAACzB,WAAW0B;;EACtBC,OAAcI;EACdH,QAAeG;AACjB,CAAA;AAEO,IAAMQ,gBAAgBrC,UAAUqB,KAAK;EAC1CpB,MAAM;IAAEe,KAAK,GAAGd,gBAAAA;IAAmCoB,MAAM;EAAiB;EAC1EC,UAAU;IAACzB,WAAW0B;;EACtBC,OAAcI;EACdH,QAAeG;AACjB,CAAA;AAEO,IAAMS,cAActC,UAAUqB,KAAK;EACxCpB,MAAM;IAAEe,KAAK,GAAGd,gBAAAA;IAAiCoB,MAAM;EAAe;EACtEC,UAAU;IAACzB,WAAW0B;;EACtBC,OAAcpB,cAAO;IACnBkC,OAAc3B;EAChB,CAAA;EACAc,QAAeG;AACjB,CAAA;",
|
|
6
|
+
"names": ["Schema", "Capability", "PublicKey", "Operation", "meta", "CLIENT_OPERATION", "id", "IdentitySchema", "Struct", "identityKey", "instanceOf", "spaceKey", "optional", "profile", "displayName", "String", "avatarCid", "data", "Record", "key", "value", "Any", "ProfileSchema", "CreateIdentity", "make", "name", "services", "Service", "input", "output", "JoinIdentity", "invitationCode", "Void", "ShareIdentity", "RecoverIdentity", "ResetStorage", "mode", "CreateAgent", "CreateRecoveryCode", "CreatePasskey", "RedeemPasskey", "RedeemToken", "token"]
|
|
7
|
+
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/constants.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { meta } from '#meta';\n\nexport const JOIN_DIALOG = `${meta.id}.JoinDialog`;\nexport const RECOVERY_CODE_DIALOG = `${meta.id}.RecoveryCodeDialog`;\nexport const RESET_DIALOG = `${meta.id}.ResetDialog`;\n"],
|
|
5
|
-
"mappings": ";AAIA,SAASA,YAAY;AAEd,IAAMC,cAAc,
|
|
6
|
-
"names": ["meta", "JOIN_DIALOG", "
|
|
5
|
+
"mappings": ";AAIA,SAASA,YAAY;AAEd,IAAMC,cAAc,GAAGD,KAAKE,EAAE;AAC9B,IAAMC,uBAAuB,GAAGH,KAAKE,EAAE;AACvC,IAAME,eAAe,GAAGJ,KAAKE,EAAE;",
|
|
6
|
+
"names": ["meta", "JOIN_DIALOG", "id", "RECOVERY_CODE_DIALOG", "RESET_DIALOG"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/capabilities/client.ts
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import { Capabilities, Capability, Plugin } from "@dxos/app-framework";
|
|
6
|
+
import { Client, ClientService } from "@dxos/client";
|
|
7
|
+
import { runAndForwardErrors } from "@dxos/effect";
|
|
8
|
+
import { log } from "@dxos/log";
|
|
9
|
+
import { ClientEvents } from "#types";
|
|
10
|
+
import { ClientCapabilities } from "#types";
|
|
11
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/capabilities/client.ts";
|
|
12
|
+
var client_default = Capability.makeModule(Effect.fnUntraced(function* ({ onClientInitialized, onSpacesReady, ...options }) {
|
|
13
|
+
const capabilityManager = yield* Capability.Service;
|
|
14
|
+
const pluginManager = yield* Plugin.Service;
|
|
15
|
+
log("creating client", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 14, S: this });
|
|
16
|
+
const client = new Client(options);
|
|
17
|
+
log("initializing client (calling client.initialize())...", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 16, S: this });
|
|
18
|
+
yield* Effect.tryPromise(() => client.initialize());
|
|
19
|
+
log("client.initialize() returned successfully", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 18, S: this });
|
|
20
|
+
if (onClientInitialized) {
|
|
21
|
+
yield* onClientInitialized({
|
|
22
|
+
client
|
|
23
|
+
}).pipe(Effect.provideService(Capability.Service, capabilityManager), Effect.provideService(Plugin.Service, pluginManager));
|
|
24
|
+
}
|
|
25
|
+
log("called client initialized callback", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 24, S: this });
|
|
26
|
+
client.reloaded.on(() => {
|
|
27
|
+
client.halo.identity.subscribe(async (identity) => {
|
|
28
|
+
if (identity) {
|
|
29
|
+
window.location.href = window.location.origin;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
let spacesReadyFired = false;
|
|
34
|
+
const subscription = client.spaces.subscribe(async () => {
|
|
35
|
+
if (!spacesReadyFired) {
|
|
36
|
+
spacesReadyFired = true;
|
|
37
|
+
await Effect.gen(function* () {
|
|
38
|
+
yield* Plugin.activate(ClientEvents.SpacesReady);
|
|
39
|
+
if (onSpacesReady) {
|
|
40
|
+
yield* onSpacesReady({
|
|
41
|
+
client
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}).pipe(Effect.provideService(Capability.Service, capabilityManager), Effect.provideService(Plugin.Service, pluginManager), runAndForwardErrors);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
log("client capability ready", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 47, S: this });
|
|
48
|
+
return [
|
|
49
|
+
// TODO(wittjosiah): Try to remove and prefer layer?
|
|
50
|
+
// Perhaps move to using layer has source of truth and add a getter capability for the client.
|
|
51
|
+
Capability.contributes(ClientCapabilities.Client, client, () => Effect.gen(function* () {
|
|
52
|
+
log.info("client capability: destroying client", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 52, S: this });
|
|
53
|
+
subscription.unsubscribe();
|
|
54
|
+
yield* Effect.tryPromise(() => client.destroy());
|
|
55
|
+
})),
|
|
56
|
+
Capability.contributes(Capabilities.Layer, ClientService.fromClient(client))
|
|
57
|
+
];
|
|
58
|
+
}));
|
|
59
|
+
export {
|
|
60
|
+
client_default as default
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=client-7JBIGMTX.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/client.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability, Plugin } from '@dxos/app-framework';\nimport { Client, ClientService } from '@dxos/client';\nimport { runAndForwardErrors } from '@dxos/effect';\nimport { log } from '@dxos/log';\n\nimport { ClientEvents } from '#types';\nimport { ClientCapabilities, type ClientPluginOptions } from '#types';\n\ntype ClientCapabilityOptions = Omit<\n ClientPluginOptions,\n 'appKey' | 'shareableLinkOrigin' | 'invitationPath' | 'invitationParam' | 'onReset'\n>;\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* ({ onClientInitialized, onSpacesReady, ...options }: ClientCapabilityOptions) {\n const capabilityManager = yield* Capability.Service;\n const pluginManager = yield* Plugin.Service;\n\n log('creating client');\n const client = new Client(options);\n log('initializing client (calling client.initialize())...');\n yield* Effect.tryPromise(() => client.initialize());\n log('client.initialize() returned successfully');\n if (onClientInitialized) {\n yield* onClientInitialized({ client }).pipe(\n Effect.provideService(Capability.Service, capabilityManager),\n Effect.provideService(Plugin.Service, pluginManager),\n );\n }\n log('called client initialized callback');\n\n // TODO(wittjosiah): Remove. This is a hack to get the app to boot with the new identity after a reset.\n client.reloaded.on(() => {\n client.halo.identity.subscribe(async (identity) => {\n if (identity) {\n window.location.href = window.location.origin;\n }\n });\n });\n\n let spacesReadyFired = false;\n const subscription = client.spaces.subscribe(async () => {\n if (!spacesReadyFired) {\n spacesReadyFired = true;\n await Effect.gen(function* () {\n yield* Plugin.activate(ClientEvents.SpacesReady);\n if (onSpacesReady) {\n yield* onSpacesReady({ client });\n }\n }).pipe(\n Effect.provideService(Capability.Service, capabilityManager),\n Effect.provideService(Plugin.Service, pluginManager),\n runAndForwardErrors,\n );\n }\n });\n\n log('client capability ready');\n\n return [\n // TODO(wittjosiah): Try to remove and prefer layer?\n // Perhaps move to using layer has source of truth and add a getter capability for the client.\n Capability.contributes(ClientCapabilities.Client, client, () =>\n Effect.gen(function* () {\n log.info('client capability: destroying client');\n subscription.unsubscribe();\n yield* Effect.tryPromise(() => client.destroy());\n }),\n ),\n Capability.contributes(Capabilities.Layer, ClientService.fromClient(client)),\n ];\n }),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,YAAYC,cAAc;AACjD,SAASC,QAAQC,qBAAqB;AACtC,SAASC,2BAA2B;AACpC,SAASC,WAAW;AAEpB,SAASC,oBAAoB;AAC7B,SAASC,0BAAoD;AAO7D,IAAA,eAAeP;IAGX,iBAAMQ,WAAgB,WAAcC,kBAAO,WAAA,EAAA,qBAAA,eAAA,GAAA,QAAA,GAAA;AAE3CJ,QAAI,oBAAA,OAAA,WAAA;AACJ,QAAMK,gBAAaR,OAAOS,OAAAA;AAC1BN,MAAI,mBAAA,QAAA,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,IAAA,GAAA,KAAA,CAAA;AACJ,QAAA,SAAcO,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AA,aAAA,OAAA,cAAA,WAAA,MAAA,CAAA;;;",
|
|
6
|
+
"names": ["Effect", "Capabilities", "Capability", "Plugin", "Client", "ClientService", "runAndForwardErrors", "log", "ClientEvents", "ClientCapabilities", "pluginManager", "Service", "client", "options", "tryPromise", "onClientInitialized", "provideService", "identity", "window", "location", "origin", "spacesReadyFired", "activate", "onSpacesReady", "subscription", "unsubscribe", "Layer"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "../chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/containers/index.ts
|
|
4
|
+
import { lazy } from "react";
|
|
5
|
+
var DevicesContainer = lazy(() => import("../DevicesContainer-6MWNUC3I.mjs"));
|
|
6
|
+
var JoinDialog = lazy(() => import("../JoinDialog-2NXAKPLP.mjs"));
|
|
7
|
+
var ProfileContainer = lazy(() => import("../ProfileContainer-VPX3FPWG.mjs"));
|
|
8
|
+
var RecoveryCodeDialog = lazy(() => import("../RecoveryCodeDialog-GBRH6ZSA.mjs"));
|
|
9
|
+
var RecoveryCredentialsContainer = lazy(() => import("../RecoveryCredentialsContainer-IPBGDMIA.mjs"));
|
|
10
|
+
var ResetDialog = lazy(() => import("../ResetDialog-VXOIHJXP.mjs"));
|
|
11
|
+
export {
|
|
12
|
+
DevicesContainer,
|
|
13
|
+
JoinDialog,
|
|
14
|
+
ProfileContainer,
|
|
15
|
+
RecoveryCodeDialog,
|
|
16
|
+
RecoveryCredentialsContainer,
|
|
17
|
+
ResetDialog
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/containers/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type ComponentType, lazy } from 'react';\n\nexport { type RecoveryCodeDialogProps } from './RecoveryCodeDialog';\nexport { type ResetDialogProps } from './ResetDialog';\n\nexport const DevicesContainer: ComponentType<any> = lazy(() => import('./DevicesContainer'));\nexport const JoinDialog: ComponentType<any> = lazy(() => import('./JoinDialog'));\nexport const ProfileContainer: ComponentType<any> = lazy(() => import('./ProfileContainer'));\nexport const RecoveryCodeDialog: ComponentType<any> = lazy(() => import('./RecoveryCodeDialog'));\nexport const RecoveryCredentialsContainer: ComponentType<any> = lazy(() => import('./RecoveryCredentialsContainer'));\nexport const ResetDialog: ComponentType<any> = lazy(() => import('./ResetDialog'));\n"],
|
|
5
|
+
"mappings": ";;;AAIA,SAA6BA,YAAY;AAKlC,IAAMC,mBAAuCD,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC/D,IAAME,aAAiCF,KAAK,MAAM,OAAO,4BAAA,CAAA;AACzD,IAAMG,mBAAuCH,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC/D,IAAMI,qBAAyCJ,KAAK,MAAM,OAAO,oCAAA,CAAA;AACjE,IAAMK,+BAAmDL,KAAK,MAAM,OAAO,8CAAA,CAAA;AAC3E,IAAMM,cAAkCN,KAAK,MAAM,OAAO,6BAAA,CAAA;",
|
|
6
|
+
"names": ["lazy", "DevicesContainer", "JoinDialog", "ProfileContainer", "RecoveryCodeDialog", "RecoveryCredentialsContainer", "ResetDialog"]
|
|
7
|
+
}
|
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPMM5NKJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ClientCapabilities
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M37DHX5L.mjs";
|
|
7
7
|
import "./chunk-J5LGTIGS.mjs";
|
|
8
8
|
|
|
9
9
|
// src/operations/create-agent.ts
|
|
10
10
|
import * as Effect from "effect/Effect";
|
|
11
11
|
import { Capability } from "@dxos/app-framework";
|
|
12
|
+
import { Operation } from "@dxos/compute";
|
|
12
13
|
import { invariant } from "@dxos/invariant";
|
|
13
|
-
import { Operation } from "@dxos/operation";
|
|
14
14
|
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/operations/create-agent.ts";
|
|
15
15
|
var handler = CreateAgent.pipe(Operation.withHandler(Effect.fnUntraced(function* () {
|
|
16
16
|
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
17
|
-
invariant(client.services.services.EdgeAgentService, "Missing EdgeAgentService", {
|
|
18
|
-
F: __dxlog_file,
|
|
19
|
-
L: 18,
|
|
20
|
-
S: this,
|
|
21
|
-
A: [
|
|
22
|
-
"client.services.services.EdgeAgentService",
|
|
23
|
-
"'Missing EdgeAgentService'"
|
|
24
|
-
]
|
|
25
|
-
});
|
|
17
|
+
invariant(client.services.services.EdgeAgentService, "Missing EdgeAgentService", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 12, S: this, A: ["client.services.services.EdgeAgentService", "'Missing EdgeAgentService'"] });
|
|
26
18
|
yield* Effect.promise(() => client.services.services.EdgeAgentService.createAgent(void 0, {
|
|
27
19
|
timeout: 1e4
|
|
28
20
|
}));
|
|
@@ -31,4 +23,4 @@ var create_agent_default = handler;
|
|
|
31
23
|
export {
|
|
32
24
|
create_agent_default as default
|
|
33
25
|
};
|
|
34
|
-
//# sourceMappingURL=create-agent-
|
|
26
|
+
//# sourceMappingURL=create-agent-JV3EM3TV.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/create-agent.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/compute';\nimport { invariant } from '@dxos/invariant';\n\nimport { ClientCapabilities } from '../types';\nimport { CreateAgent } from './definitions';\n\nconst handler: Operation.WithHandler<typeof CreateAgent> = CreateAgent.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* () {\n const client = yield* Capability.get(ClientCapabilities.Client);\n invariant(client.services.services.EdgeAgentService, 'Missing EdgeAgentService');\n yield* Effect.promise(() =>\n client.services.services.EdgeAgentService!.createAgent(undefined, { timeout: 10_000 }),\n );\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAK1B,IAAA,eAA2DC;IAIrDC,UAAUC,YAAOC,KAASA,UAASC,YAAkB,kBAAA,aAAA;AACrD,QAAA,SAAcC,OAAQ,WACbF,IAAAA,mBAAkBC,MAAAA;YAA2CE,OAAS,SAAA,SAAA,kBAAA,4BAAA,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,IAAA,GAAA,MAAA,GAAA,CAAA,6CAAA,4BAAA,EAAA,CAAA;SAAO,eAAA,MAAA,OAAA,SAAA,SAAA,iBAAA,YAAA,QAAA;IAExF,SAAA;EAIJ,CAAA,CAAA;;;",
|
|
6
|
+
"names": ["Effect", "Capability", "Operation", "invariant", "CreateAgent", "invariant", "client", "services", "EdgeAgentService", "promise", "timeout"]
|
|
7
|
+
}
|
package/dist/lib/{browser/create-identity-PBEUEIPN.mjs → neutral/create-identity-GNGOTH6D.mjs}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateIdentity
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPMM5NKJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ClientCapabilities,
|
|
6
6
|
ClientEvents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M37DHX5L.mjs";
|
|
8
8
|
import "./chunk-J5LGTIGS.mjs";
|
|
9
9
|
|
|
10
10
|
// src/operations/create-identity.ts
|
|
11
11
|
import * as Effect from "effect/Effect";
|
|
12
12
|
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
13
|
+
import { Operation } from "@dxos/compute";
|
|
13
14
|
import { runAndForwardErrors } from "@dxos/effect";
|
|
14
|
-
import {
|
|
15
|
-
import { ObservabilityOperation } from "@dxos/plugin-observability/operations";
|
|
15
|
+
import { ObservabilityOperation } from "@dxos/plugin-observability";
|
|
16
16
|
var handler = CreateIdentity.pipe(Operation.withHandler(Effect.fnUntraced(function* (profile) {
|
|
17
17
|
const manager = yield* Capability.get(Capabilities.PluginManager);
|
|
18
18
|
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
@@ -27,4 +27,4 @@ var create_identity_default = handler;
|
|
|
27
27
|
export {
|
|
28
28
|
create_identity_default as default
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=create-identity-
|
|
30
|
+
//# sourceMappingURL=create-identity-GNGOTH6D.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/create-identity.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/compute';\nimport { runAndForwardErrors } from '@dxos/effect';\nimport { ObservabilityOperation } from '@dxos/plugin-observability';\n\nimport { ClientEvents } from '../types';\nimport { ClientCapabilities } from '../types';\nimport { CreateIdentity } from './definitions';\n\nconst handler: Operation.WithHandler<typeof CreateIdentity> = CreateIdentity.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (profile) {\n const manager = yield* Capability.get(Capabilities.PluginManager);\n const client = yield* Capability.get(ClientCapabilities.Client);\n const data = yield* Effect.promise(() => client.halo.createIdentity(profile));\n yield* Effect.promise(() => runAndForwardErrors(manager.activate(ClientEvents.IdentityCreated)));\n yield* Operation.schedule(ObservabilityOperation.SendEvent, { name: 'identity.create' });\n return data;\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiB;AAC1B,SAASC,2BAA2B;AACpC,SAASC,8BAA8B;AAMvC,IAAMC,UAAwDC,eAAeC,KAC3EC,UAAUC,YACDC,kBAAW,WAAWC,SAAO;AAClC,QAAMC,UAAU,OAAOC,WAAWC,IAAIC,aAAaC,aAAa;AAChE,QAAMC,SAAS,OAAOJ,WAAWC,IAAII,mBAAmBC,MAAM;AAC9D,QAAMC,OAAO,OAAcC,eAAQ,MAAMJ,OAAOK,KAAKC,eAAeZ,OAAAA,CAAAA;AACpE,SAAcU,eAAQ,MAAMG,oBAAoBZ,QAAQa,SAASC,aAAaC,eAAe,CAAA,CAAA;AAC7F,SAAOnB,UAAUoB,SAASC,uBAAuBC,WAAW;IAAEC,MAAM;EAAkB,CAAA;AACtF,SAAOX;AACT,CAAA,CAAA,CAAA;AAIJ,IAAA,0BAAef;",
|
|
6
|
+
"names": ["Effect", "Capabilities", "Capability", "Operation", "runAndForwardErrors", "ObservabilityOperation", "handler", "CreateIdentity", "pipe", "Operation", "withHandler", "fnUntraced", "profile", "manager", "Capability", "get", "Capabilities", "PluginManager", "client", "ClientCapabilities", "Client", "data", "promise", "halo", "createIdentity", "runAndForwardErrors", "activate", "ClientEvents", "IdentityCreated", "schedule", "ObservabilityOperation", "SendEvent", "name"]
|
|
7
|
+
}
|
package/dist/lib/{browser/create-passkey-JN6I5WMM.mjs → neutral/create-passkey-NCP4XA7C.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreatePasskey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPMM5NKJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ClientCapabilities
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M37DHX5L.mjs";
|
|
7
7
|
import "./chunk-J5LGTIGS.mjs";
|
|
8
8
|
|
|
9
9
|
// src/operations/create-passkey.ts
|
|
@@ -12,21 +12,13 @@ import * as Match from "effect/Match";
|
|
|
12
12
|
import { Capability } from "@dxos/app-framework";
|
|
13
13
|
import { supportsNativePasskeys, createNativePasskey, extractPublicKeyFromAttestation } from "@dxos/app-toolkit";
|
|
14
14
|
import { PublicKey } from "@dxos/client";
|
|
15
|
+
import { Operation } from "@dxos/compute";
|
|
15
16
|
import { invariant } from "@dxos/invariant";
|
|
16
|
-
import { Operation } from "@dxos/operation";
|
|
17
17
|
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/operations/create-passkey.ts";
|
|
18
18
|
var handler = CreatePasskey.pipe(Operation.withHandler(Effect.fnUntraced(function* () {
|
|
19
19
|
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
20
20
|
const identity = client.halo.identity.get();
|
|
21
|
-
invariant(identity, "Identity not available", {
|
|
22
|
-
F: __dxlog_file,
|
|
23
|
-
L: 22,
|
|
24
|
-
S: this,
|
|
25
|
-
A: [
|
|
26
|
-
"identity",
|
|
27
|
-
"'Identity not available'"
|
|
28
|
-
]
|
|
29
|
-
});
|
|
21
|
+
invariant(identity, "Identity not available", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 16, S: this, A: ["identity", "'Identity not available'"] });
|
|
30
22
|
const lookupKey = PublicKey.random();
|
|
31
23
|
const { recoveryKey, algorithm } = yield* Match.value(supportsNativePasskeys()).pipe(Match.when(true, () => Effect.gen(function* () {
|
|
32
24
|
const result = yield* Effect.promise(() => createNativePasskey({
|
|
@@ -67,29 +59,13 @@ var handler = CreatePasskey.pipe(Operation.withHandler(Effect.fnUntraced(functio
|
|
|
67
59
|
}
|
|
68
60
|
}
|
|
69
61
|
}));
|
|
70
|
-
invariant(credential, "Credential not available", {
|
|
71
|
-
F: __dxlog_file,
|
|
72
|
-
L: 65,
|
|
73
|
-
S: this,
|
|
74
|
-
A: [
|
|
75
|
-
"credential",
|
|
76
|
-
"'Credential not available'"
|
|
77
|
-
]
|
|
78
|
-
});
|
|
62
|
+
invariant(credential, "Credential not available", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 57, S: this, A: ["credential", "'Credential not available'"] });
|
|
79
63
|
return {
|
|
80
64
|
recoveryKey: PublicKey.from(new Uint8Array(credential.response.getPublicKey())),
|
|
81
65
|
algorithm: credential.response.getPublicKeyAlgorithm() === -7 ? "ES256" : "ED25519"
|
|
82
66
|
};
|
|
83
67
|
})));
|
|
84
|
-
invariant(client.services.services.IdentityService, "IdentityService not available", {
|
|
85
|
-
F: __dxlog_file,
|
|
86
|
-
L: 74,
|
|
87
|
-
S: this,
|
|
88
|
-
A: [
|
|
89
|
-
"client.services.services.IdentityService",
|
|
90
|
-
"'IdentityService not available'"
|
|
91
|
-
]
|
|
92
|
-
});
|
|
68
|
+
invariant(client.services.services.IdentityService, "IdentityService not available", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 63, S: this, A: ["client.services.services.IdentityService", "'IdentityService not available'"] });
|
|
93
69
|
yield* Effect.promise(() => client.services.services.IdentityService.createRecoveryCredential({
|
|
94
70
|
data: {
|
|
95
71
|
recoveryKey,
|
|
@@ -102,4 +78,4 @@ var create_passkey_default = handler;
|
|
|
102
78
|
export {
|
|
103
79
|
create_passkey_default as default
|
|
104
80
|
};
|
|
105
|
-
//# sourceMappingURL=create-passkey-
|
|
81
|
+
//# sourceMappingURL=create-passkey-NCP4XA7C.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/create-passkey.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Match from 'effect/Match';\n\nimport { Capability } from '@dxos/app-framework';\nimport { supportsNativePasskeys, createNativePasskey, extractPublicKeyFromAttestation } from '@dxos/app-toolkit';\nimport { PublicKey } from '@dxos/client';\nimport { Operation } from '@dxos/compute';\nimport { invariant } from '@dxos/invariant';\n\nimport { ClientCapabilities } from '../types';\nimport { CreatePasskey } from './definitions';\n\nconst handler: Operation.WithHandler<typeof CreatePasskey> = CreatePasskey.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* () {\n const client = yield* Capability.get(ClientCapabilities.Client);\n const identity = client.halo.identity.get();\n invariant(identity, 'Identity not available');\n\n const lookupKey = PublicKey.random();\n\n const { recoveryKey, algorithm } = yield* Match.value(supportsNativePasskeys()).pipe(\n Match.when(true, () =>\n Effect.gen(function* () {\n const result = yield* Effect.promise(() =>\n createNativePasskey({\n username: identity.did,\n userId: lookupKey.asUint8Array(),\n }),\n );\n const { publicKey, algorithm: alg } = extractPublicKeyFromAttestation(result.attestation_object);\n return {\n recoveryKey: PublicKey.from(publicKey),\n algorithm: alg === -7 ? 'ES256' : 'ED25519',\n };\n }),\n ),\n Match.orElse(() =>\n Effect.gen(function* () {\n const credential = yield* Effect.promise(() =>\n navigator.credentials.create({\n publicKey: {\n challenge: new Uint8Array(),\n rp: { id: location.hostname, name: 'Composer' },\n user: {\n id: lookupKey.asUint8Array() as Uint8Array<ArrayBuffer>,\n name: identity.did,\n displayName: identity.profile?.displayName ?? '',\n },\n pubKeyCredParams: [\n { type: 'public-key', alg: -8 },\n { type: 'public-key', alg: -7 },\n ],\n authenticatorSelection: {\n residentKey: 'required',\n requireResidentKey: true,\n },\n },\n }),\n );\n invariant(credential, 'Credential not available');\n return {\n recoveryKey: PublicKey.from(new Uint8Array((credential as any).response.getPublicKey())),\n algorithm: (credential as any).response.getPublicKeyAlgorithm() === -7 ? 'ES256' : 'ED25519',\n };\n }),\n ),\n );\n\n invariant(client.services.services.IdentityService, 'IdentityService not available');\n yield* Effect.promise(() =>\n client.services.services.IdentityService!.createRecoveryCredential({\n data: {\n recoveryKey,\n algorithm,\n lookupKey,\n },\n }),\n );\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;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YAAmBC,YAASC,GAAAA,cAAY,GAAA,IAAA,GAAA,MAAA,GAAA,CAAA,cAAA,4BAAA,EAAA,CAAA;WACpFd;MACF,aAAA,UAAA,KAAA,IAAA,WAAA,WAAA,SAAA,aAAA,CAAA,CAAA;MACF,WAAA,WAAA,SAAA,sBAAA,MAAA,KAAA,UAAA;IAIJf;EACA,CAAA,CAAA,CAAOQ;YAEHsB,OAAM,SAAA,SAAA,iBAAA,iCAAA,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,IAAA,GAAA,MAAA,GAAA,CAAA,4CAAA,iCAAA,EAAA,CAAA;SACJ1B,eAAAA,MAAAA,OAAAA,SAAAA,SAAAA,gBAAAA,yBAAAA;UACAW;MACAd;MACF;MACF;IAEJ;EAIJ,CAAA,CAAA;;;",
|
|
6
|
+
"names": ["Effect", "Match", "Capability", "supportsNativePasskeys", "createNativePasskey", "extractPublicKeyFromAttestation", "PublicKey", "Operation", "invariant", "CreatePasskey", "identity", "halo", "invariant", "lookupKey", "PublicKey", "random", "recoveryKey", "Match", "supportsNativePasskeys", "pipe", "Effect", "result", "username", "did", "userId", "asUint8Array", "publicKey", "algorithm", "extractPublicKeyFromAttestation", "from", "challenge", "Uint8Array", "location", "name", "user", "displayName", "profile", "pubKeyCredParams", "authenticatorSelection", "credential", "response", "getPublicKey", "data"]
|
|
7
|
+
}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RECOVERY_CODE_DIALOG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VAIJSQYA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
CreateRecoveryCode
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RPMM5NKJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ClientCapabilities
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M37DHX5L.mjs";
|
|
10
10
|
import "./chunk-J5LGTIGS.mjs";
|
|
11
11
|
|
|
12
12
|
// src/operations/create-recovery-code.ts
|
|
13
13
|
import * as Effect from "effect/Effect";
|
|
14
14
|
import { Capability } from "@dxos/app-framework";
|
|
15
15
|
import { LayoutOperation } from "@dxos/app-toolkit";
|
|
16
|
+
import { Operation } from "@dxos/compute";
|
|
16
17
|
import { invariant } from "@dxos/invariant";
|
|
17
|
-
import { Operation } from "@dxos/operation";
|
|
18
18
|
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/operations/create-recovery-code.ts";
|
|
19
19
|
var handler = CreateRecoveryCode.pipe(Operation.withHandler(Effect.fnUntraced(function* () {
|
|
20
20
|
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
21
|
-
invariant(client.services.services.IdentityService, "IdentityService not available", {
|
|
22
|
-
F: __dxlog_file,
|
|
23
|
-
L: 20,
|
|
24
|
-
S: this,
|
|
25
|
-
A: [
|
|
26
|
-
"client.services.services.IdentityService",
|
|
27
|
-
"'IdentityService not available'"
|
|
28
|
-
]
|
|
29
|
-
});
|
|
21
|
+
invariant(client.services.services.IdentityService, "IdentityService not available", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 14, S: this, A: ["client.services.services.IdentityService", "'IdentityService not available'"] });
|
|
30
22
|
const { recoveryCode } = yield* Effect.promise(() => client.services.services.IdentityService.createRecoveryCredential({}));
|
|
31
23
|
yield* Operation.invoke(LayoutOperation.UpdateDialog, {
|
|
32
24
|
subject: RECOVERY_CODE_DIALOG,
|
|
@@ -41,4 +33,4 @@ var create_recovery_code_default = handler;
|
|
|
41
33
|
export {
|
|
42
34
|
create_recovery_code_default as default
|
|
43
35
|
};
|
|
44
|
-
//# sourceMappingURL=create-recovery-code-
|
|
36
|
+
//# sourceMappingURL=create-recovery-code-L5LA3GAP.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/create-recovery-code.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/compute';\nimport { invariant } from '@dxos/invariant';\n\nimport { RECOVERY_CODE_DIALOG } from '../constants';\nimport { ClientCapabilities } from '../types';\nimport { CreateRecoveryCode } from './definitions';\n\nconst handler: Operation.WithHandler<typeof CreateRecoveryCode> = CreateRecoveryCode.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* () {\n const client = yield* Capability.get(ClientCapabilities.Client);\n invariant(client.services.services.IdentityService, 'IdentityService not available');\n const { recoveryCode } = yield* Effect.promise(() =>\n client.services.services.IdentityService!.createRecoveryCredential({}),\n );\n yield* Operation.invoke(LayoutOperation.UpdateDialog, {\n subject: RECOVERY_CODE_DIALOG,\n blockAlign: 'start',\n type: 'alert',\n props: { code: recoveryCode },\n });\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAM1B,IAAA,eAAkEC;IAI5DC,UAAUC,mBAAgBC,KAASC,UAAAA,YAAiB,kBAAA,aAAA;AACpD,QAAM,SAAEC,OAAc,WAAUC,IAAAA,mBAC9BJ,MAAOC;AAET,YAAOI,OAAUC,SAAOC,SAAAA,iBAA4B,iCAAE,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,IAAA,GAAA,MAAA,GAAA,CAAA,4CAAA,iCAAA,EAAA,CAAA;QACpDC,EAAAA,aAASC,IAAAA,OAAAA,eAAAA,MAAAA,OAAAA,SAAAA,SAAAA,gBAAAA,yBAAAA,CAAAA,CAAAA,CAAAA;SACTC,UAAY,OAAA,gBAAA,cAAA;IACZC,SAAM;IACNC,YAAO;UAAEC;IAAmB,OAAA;MAC9B,MAAA;IACF;EAIJ,CAAA;;;",
|
|
6
|
+
"names": ["Effect", "Capability", "LayoutOperation", "Operation", "invariant", "CreateRecoveryCode", "invariant", "client", "services", "IdentityService", "recoveryCode", "Effect", "Operation", "invoke", "LayoutOperation", "subject", "RECOVERY_CODE_DIALOG", "blockAlign", "type", "props", "code"]
|
|
7
|
+
}
|