@dxos/plugin-client 0.8.4-main.8360d9e660 → 0.8.4-main.8baae0fced
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} +87 -117
- package/dist/lib/neutral/ClientPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/ClientPlugin.workerd.mjs +16 -0
- package/dist/lib/neutral/ClientPlugin.workerd.mjs.map +7 -0
- package/dist/lib/{browser/DevicesContainer-3N7ANEJ7.mjs → neutral/DevicesContainer-6MWNUC3I.mjs} +46 -52
- package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs.map +7 -0
- package/dist/lib/{browser/JoinDialog-VTTK7NHO.mjs → neutral/JoinDialog-2NXAKPLP.mjs} +10 -16
- package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs.map +7 -0
- package/dist/lib/{browser/ProfileContainer-XV7OXJC2.mjs → neutral/ProfileContainer-VPX3FPWG.mjs} +17 -20
- package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs.map +7 -0
- package/dist/lib/{browser/RecoveryCodeDialog-WO34OZEJ.mjs → neutral/RecoveryCodeDialog-GBRH6ZSA.mjs} +8 -9
- package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs.map +7 -0
- package/dist/lib/{browser/RecoveryCredentialsContainer-G22FSTIX.mjs → neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs} +18 -24
- package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs.map +7 -0
- package/dist/lib/{browser/ResetDialog-W24FOWBQ.mjs → neutral/ResetDialog-VXOIHJXP.mjs} +7 -5
- package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs.map +7 -0
- package/dist/lib/{browser/app-graph-builder-GGJKFY3X.mjs → neutral/app-graph-builder-IK34U2RQ.mjs} +23 -27
- package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +30 -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/{browser/chunk-JHSBBOCI.mjs → neutral/chunk-CTLL5QTP.mjs} +6 -2
- package/dist/lib/neutral/chunk-CTLL5QTP.mjs.map +7 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-JVKCYW5O.mjs +8 -0
- package/dist/lib/neutral/chunk-JVKCYW5O.mjs.map +7 -0
- package/dist/lib/neutral/chunk-M37DHX5L.mjs +131 -0
- package/dist/lib/neutral/chunk-M37DHX5L.mjs.map +7 -0
- package/dist/lib/neutral/chunk-QPOTUAY5.mjs +68 -0
- package/dist/lib/neutral/chunk-QPOTUAY5.mjs.map +7 -0
- package/dist/lib/neutral/chunk-RPMM5NKJ.mjs +175 -0
- package/dist/lib/neutral/chunk-RPMM5NKJ.mjs.map +7 -0
- package/dist/lib/{browser/chunk-HSFDKP5D.mjs → neutral/chunk-VAIJSQYA.mjs} +2 -5
- package/dist/lib/neutral/chunk-VAIJSQYA.mjs.map +7 -0
- package/dist/lib/{browser/client-MM3BHCWG.mjs → neutral/client-7JBIGMTX.mjs} +16 -46
- package/dist/lib/neutral/client-7JBIGMTX.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +1 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +19 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/create-agent-JV3EM3TV.mjs +26 -0
- package/dist/lib/neutral/create-agent-JV3EM3TV.mjs.map +7 -0
- package/dist/lib/neutral/create-identity-GNGOTH6D.mjs +30 -0
- package/dist/lib/neutral/create-identity-GNGOTH6D.mjs.map +7 -0
- package/dist/lib/neutral/create-passkey-NCP4XA7C.mjs +81 -0
- package/dist/lib/neutral/create-passkey-NCP4XA7C.mjs.map +7 -0
- package/dist/lib/neutral/create-recovery-code-L5LA3GAP.mjs +36 -0
- package/dist/lib/neutral/create-recovery-code-L5LA3GAP.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +23 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/join-identity-3W6PJLKN.mjs +27 -0
- package/dist/lib/neutral/join-identity-3W6PJLKN.mjs.map +7 -0
- package/dist/lib/neutral/layer-specs-RCCQ4GKS.mjs +62 -0
- package/dist/lib/neutral/layer-specs-RCCQ4GKS.mjs.map +7 -0
- 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/{browser/migrations-GKUA2ARL.mjs → neutral/migrations-7FTW55ER.mjs} +4 -6
- package/dist/lib/neutral/migrations-7FTW55ER.mjs.map +7 -0
- package/dist/lib/neutral/navigation-handler-TA4S74CF.mjs +46 -0
- package/dist/lib/neutral/navigation-handler-TA4S74CF.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/{browser/react-context-GZ3T5UON.mjs → neutral/react-context-B5LXMHVM.mjs} +5 -8
- package/dist/lib/neutral/react-context-B5LXMHVM.mjs.map +7 -0
- package/dist/lib/{browser/react-surface-5VZP34X3.mjs → neutral/react-surface-VSBYVQL7.mjs} +13 -30
- package/dist/lib/neutral/react-surface-VSBYVQL7.mjs.map +7 -0
- package/dist/lib/neutral/recover-identity-KL6QY4GI.mjs +26 -0
- package/dist/lib/neutral/recover-identity-KL6QY4GI.mjs.map +7 -0
- package/dist/lib/neutral/redeem-passkey-NDEWSJTM.mjs +66 -0
- package/dist/lib/neutral/redeem-passkey-NDEWSJTM.mjs.map +7 -0
- package/dist/lib/neutral/redeem-token-YLWAVFXD.mjs +29 -0
- package/dist/lib/neutral/redeem-token-YLWAVFXD.mjs.map +7 -0
- package/dist/lib/neutral/reset-storage-OBHEGA6Z.mjs +26 -0
- package/dist/lib/neutral/reset-storage-OBHEGA6Z.mjs.map +7 -0
- package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs +51 -0
- package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs.map +7 -0
- package/dist/lib/neutral/share-identity-JQ5SL3J2.mjs +31 -0
- package/dist/lib/neutral/share-identity-JQ5SL3J2.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +26 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +74 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/{browser → neutral}/types/index.mjs +4 -6
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/types/src/ClientPlugin.d.ts +2 -1
- package/dist/types/src/ClientPlugin.d.ts.map +1 -1
- package/dist/types/src/ClientPlugin.node.d.ts +5 -0
- 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/ClientPlugin.workerd.d.ts +4 -0
- package/dist/types/src/ClientPlugin.workerd.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/{client/client.d.ts → client.d.ts} +2 -2
- package/dist/types/src/capabilities/client.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +33 -7
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/layer-specs.d.ts +6 -0
- package/dist/types/src/capabilities/layer-specs.d.ts.map +1 -0
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -0
- package/dist/types/src/capabilities/navigation-handler/index.d.ts +4 -0
- package/dist/types/src/capabilities/navigation-handler/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts +15 -0
- package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/node.d.ts +21 -0
- package/dist/types/src/capabilities/node.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
- package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -0
- 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/{cli/commands → commands}/device/info/info.d.ts +2 -2
- 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/{cli/commands → commands}/device/list/list.d.ts +2 -2
- 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/{cli/commands → commands}/halo/create/create.d.ts +2 -2
- 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 +3 -3
- 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/{cli/commands → commands}/halo/identity/identity.d.ts +2 -2
- 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/{cli/commands → commands}/halo/keys/keys.d.ts +2 -2
- 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 -164
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/DevicesContainer/index.d.ts +1 -2
- package/dist/types/src/containers/DevicesContainer/index.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 +15 -0
- package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -0
- package/dist/types/src/containers/JoinDialog/index.d.ts +1 -2
- package/dist/types/src/containers/JoinDialog/index.d.ts.map +1 -1
- package/dist/types/src/containers/ProfileContainer/ProfileContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ProfileContainer/index.d.ts +1 -2
- package/dist/types/src/containers/ProfileContainer/index.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.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCredentialsContainer/index.d.ts +1 -2
- package/dist/types/src/containers/RecoveryCredentialsContainer/index.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.d.ts +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 -3
- 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 +5 -0
- package/dist/types/src/operations/create-agent.d.ts.map +1 -0
- package/dist/types/src/operations/create-identity.d.ts +5 -0
- package/dist/types/src/operations/create-identity.d.ts.map +1 -0
- package/dist/types/src/operations/create-passkey.d.ts +5 -0
- package/dist/types/src/operations/create-passkey.d.ts.map +1 -0
- package/dist/types/src/operations/create-recovery-code.d.ts +5 -0
- package/dist/types/src/operations/create-recovery-code.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +36 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/join-identity.d.ts +5 -0
- package/dist/types/src/operations/join-identity.d.ts.map +1 -0
- package/dist/types/src/operations/recover-identity.d.ts +5 -0
- package/dist/types/src/operations/recover-identity.d.ts.map +1 -0
- package/dist/types/src/operations/redeem-passkey.d.ts +5 -0
- package/dist/types/src/operations/redeem-passkey.d.ts.map +1 -0
- package/dist/types/src/operations/redeem-token.d.ts +5 -0
- package/dist/types/src/operations/redeem-token.d.ts.map +1 -0
- package/dist/types/src/operations/reset-storage.d.ts +5 -0
- package/dist/types/src/operations/reset-storage.d.ts.map +1 -0
- package/dist/types/src/operations/share-identity.d.ts +5 -0
- package/dist/types/src/operations/share-identity.d.ts.map +1 -0
- 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 +3 -0
- package/dist/types/src/testing/index.d.ts.map +1 -0
- package/dist/types/src/testing/initializeIdentity.d.ts +14 -0
- package/dist/types/src/testing/initializeIdentity.d.ts.map +1 -0
- 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 +0 -153
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +110 -51
- package/src/{cli/plugin.ts → ClientPlugin.node.ts} +9 -10
- package/src/ClientPlugin.test.ts +29 -0
- package/src/ClientPlugin.ts +22 -10
- package/src/ClientPlugin.workerd.ts +16 -0
- package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +20 -19
- package/src/capabilities/{client/client.ts → client.ts} +6 -5
- package/src/capabilities/index.ts +16 -7
- package/src/capabilities/layer-specs.ts +96 -0
- package/src/capabilities/{migrations/migrations.ts → migrations.ts} +1 -1
- package/src/capabilities/navigation-handler/index.ts +9 -0
- package/src/capabilities/navigation-handler/navigation-handler.ts +64 -0
- package/src/capabilities/node.ts +13 -0
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/{react-context/react-context.tsx → react-context.tsx} +4 -4
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +18 -22
- package/src/capabilities/schema-defs.ts +56 -0
- package/src/{cli/commands → commands}/config/view.ts +4 -1
- package/src/{cli/commands → commands}/device/info/info.test.ts +0 -1
- package/src/{cli/commands → commands}/device/info/info.ts +0 -2
- package/src/{cli/commands → commands}/device/list/list.test.ts +0 -1
- package/src/{cli/commands → commands}/device/list/list.ts +0 -2
- package/src/{cli/commands → commands}/device/update/update.ts +0 -2
- package/src/{cli/commands → commands}/edge/status.ts +2 -1
- package/src/{cli/commands → commands}/halo/create/create.test.ts +5 -4
- package/src/{cli/commands → commands}/halo/create/create.ts +11 -4
- package/src/{cli/commands → commands}/halo/credential/list/list.test.ts +0 -1
- package/src/{cli/commands → commands}/halo/credential/list/list.ts +4 -7
- package/src/{cli/commands → commands}/halo/identity/identity.ts +0 -1
- package/src/{cli/commands → commands}/halo/keys/keys.ts +0 -2
- package/src/{cli/commands → commands}/halo/seed/seed.ts +0 -2
- package/src/{cli/commands → commands}/halo/update/update.test.ts +0 -1
- package/src/{cli/commands → commands}/halo/update/update.ts +0 -2
- package/src/{cli/commands → commands}/profile/list.ts +0 -1
- package/src/constants.ts +1 -1
- package/src/containers/DevicesContainer/DevicesContainer.stories.tsx +6 -6
- package/src/containers/DevicesContainer/DevicesContainer.tsx +50 -49
- package/src/containers/DevicesContainer/index.ts +1 -3
- package/src/containers/JoinDialog/JoinDialog.stories.tsx +43 -0
- package/src/containers/JoinDialog/JoinDialog.tsx +15 -12
- package/src/containers/JoinDialog/index.ts +1 -3
- package/src/containers/ProfileContainer/ProfileContainer.stories.tsx +1 -1
- package/src/containers/ProfileContainer/ProfileContainer.tsx +13 -13
- package/src/containers/ProfileContainer/index.ts +1 -3
- package/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.tsx +1 -1
- package/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.tsx +7 -7
- package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.tsx +6 -6
- package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx +24 -26
- package/src/containers/RecoveryCredentialsContainer/index.ts +1 -3
- package/src/containers/ResetDialog/ResetDialog.stories.tsx +6 -6
- package/src/containers/ResetDialog/ResetDialog.tsx +7 -5
- package/src/index.ts +2 -4
- package/src/meta.ts +2 -0
- package/src/operations/create-agent.ts +26 -0
- package/src/operations/create-identity.ts +29 -0
- package/src/operations/create-passkey.ts +88 -0
- package/src/operations/create-recovery-code.ts +34 -0
- package/src/operations/definitions.ts +107 -0
- package/src/operations/index.ts +20 -0
- package/src/operations/join-identity.ts +28 -0
- package/src/operations/recover-identity.ts +28 -0
- package/src/operations/redeem-passkey.ts +85 -0
- package/src/operations/redeem-token.ts +31 -0
- package/src/operations/reset-storage.ts +27 -0
- package/src/operations/share-identity.ts +26 -0
- package/src/plugin.ts +11 -0
- package/src/testing/index.ts +8 -0
- package/src/testing/initializeIdentity.ts +30 -0
- package/src/translations.ts +53 -43
- package/src/types/capabilities.ts +1 -1
- package/src/types/events.ts +1 -1
- package/src/types/schema.ts +1 -111
- package/dist/lib/browser/DevicesContainer-3N7ANEJ7.mjs.map +0 -7
- package/dist/lib/browser/JoinDialog-VTTK7NHO.mjs.map +0 -7
- package/dist/lib/browser/ProfileContainer-XV7OXJC2.mjs.map +0 -7
- package/dist/lib/browser/RecoveryCodeDialog-WO34OZEJ.mjs.map +0 -7
- package/dist/lib/browser/RecoveryCredentialsContainer-G22FSTIX.mjs.map +0 -7
- package/dist/lib/browser/ResetDialog-W24FOWBQ.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-GGJKFY3X.mjs.map +0 -7
- package/dist/lib/browser/chunk-ESDYRACB.mjs +0 -18
- package/dist/lib/browser/chunk-ESDYRACB.mjs.map +0 -7
- package/dist/lib/browser/chunk-FVEKZBM7.mjs +0 -283
- package/dist/lib/browser/chunk-FVEKZBM7.mjs.map +0 -7
- package/dist/lib/browser/chunk-HSFDKP5D.mjs.map +0 -7
- package/dist/lib/browser/chunk-JHSBBOCI.mjs.map +0 -7
- package/dist/lib/browser/cli/index.mjs.map +0 -7
- package/dist/lib/browser/client-MM3BHCWG.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -149
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/migrations-GKUA2ARL.mjs.map +0 -7
- package/dist/lib/browser/operation-resolver-VSWA74RS.mjs +0 -299
- package/dist/lib/browser/operation-resolver-VSWA74RS.mjs.map +0 -7
- package/dist/lib/browser/react-context-GZ3T5UON.mjs.map +0 -7
- package/dist/lib/browser/react-surface-5VZP34X3.mjs.map +0 -7
- package/dist/lib/browser/schema-defs-KAG6HQMI.mjs +0 -28
- package/dist/lib/browser/schema-defs-KAG6HQMI.mjs.map +0 -7
- package/dist/lib/node-esm/DevicesContainer-V7HEUPO7.mjs +0 -269
- package/dist/lib/node-esm/DevicesContainer-V7HEUPO7.mjs.map +0 -7
- package/dist/lib/node-esm/JoinDialog-XVKW4SLT.mjs +0 -60
- package/dist/lib/node-esm/JoinDialog-XVKW4SLT.mjs.map +0 -7
- package/dist/lib/node-esm/ProfileContainer-B5LJ6TMU.mjs +0 -172
- package/dist/lib/node-esm/ProfileContainer-B5LJ6TMU.mjs.map +0 -7
- package/dist/lib/node-esm/RecoveryCodeDialog-YIRGXM7N.mjs +0 -61
- package/dist/lib/node-esm/RecoveryCodeDialog-YIRGXM7N.mjs.map +0 -7
- package/dist/lib/node-esm/RecoveryCredentialsContainer-MVJEFNXX.mjs +0 -58
- package/dist/lib/node-esm/RecoveryCredentialsContainer-MVJEFNXX.mjs.map +0 -7
- package/dist/lib/node-esm/ResetDialog-GGBWSQZO.mjs +0 -54
- package/dist/lib/node-esm/ResetDialog-GGBWSQZO.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-PTNZ46NN.mjs +0 -122
- package/dist/lib/node-esm/app-graph-builder-PTNZ46NN.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BOTJSPCT.mjs +0 -17
- package/dist/lib/node-esm/chunk-BOTJSPCT.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-DT2ZNOGU.mjs +0 -284
- package/dist/lib/node-esm/chunk-DT2ZNOGU.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-OIJ5QGFQ.mjs +0 -20
- package/dist/lib/node-esm/chunk-OIJ5QGFQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-VLNCZYIC.mjs +0 -16
- package/dist/lib/node-esm/chunk-VLNCZYIC.mjs.map +0 -7
- package/dist/lib/node-esm/cli/index.mjs +0 -1060
- package/dist/lib/node-esm/cli/index.mjs.map +0 -7
- package/dist/lib/node-esm/client-24L47Y2G.mjs +0 -93
- package/dist/lib/node-esm/client-24L47Y2G.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -150
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/migrations-4NEKCBGU.mjs +0 -26
- package/dist/lib/node-esm/migrations-4NEKCBGU.mjs.map +0 -7
- package/dist/lib/node-esm/operation-resolver-4GWB3YZG.mjs +0 -300
- package/dist/lib/node-esm/operation-resolver-4GWB3YZG.mjs.map +0 -7
- package/dist/lib/node-esm/react-context-T2ORT5CC.mjs +0 -27
- package/dist/lib/node-esm/react-context-T2ORT5CC.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-B65OUZYI.mjs +0 -78
- package/dist/lib/node-esm/react-surface-B65OUZYI.mjs.map +0 -7
- package/dist/lib/node-esm/schema-defs-GXQ47JZN.mjs +0 -29
- package/dist/lib/node-esm/schema-defs-GXQ47JZN.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -17
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/client/client.d.ts.map +0 -1
- package/dist/types/src/capabilities/client/index.d.ts +0 -18
- package/dist/types/src/capabilities/client/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/migrations/index.d.ts +0 -3
- package/dist/types/src/capabilities/migrations/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/migrations/migrations.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -8
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-context/index.d.ts +0 -7
- package/dist/types/src/capabilities/react-context/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-context/react-context.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/schema-defs/index.d.ts +0 -3
- package/dist/types/src/capabilities/schema-defs/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/schema-defs/schema-defs.d.ts.map +0 -1
- 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.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 +0 -4
- 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/capabilities/app-graph-builder/index.ts +0 -7
- package/src/capabilities/client/index.ts +0 -7
- package/src/capabilities/migrations/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -249
- package/src/capabilities/react-context/index.ts +0 -7
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/schema-defs/index.ts +0 -7
- package/src/capabilities/schema-defs/schema-defs.ts +0 -36
- package/src/cli/index.ts +0 -5
- package/src/cli/testing/test-console.ts +0 -88
- /package/dist/lib/{browser/types/index.mjs.map → neutral/ClientPlugin.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/types/src/capabilities/{app-graph-builder/app-graph-builder.d.ts → app-graph-builder.d.ts} +0 -0
- /package/dist/types/src/capabilities/{migrations/migrations.d.ts → migrations.d.ts} +0 -0
- /package/dist/types/src/capabilities/{react-context/react-context.d.ts → react-context.d.ts} +0 -0
- /package/dist/types/src/capabilities/{schema-defs/schema-defs.d.ts → schema-defs.d.ts} +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.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.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.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.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}/device/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/update/index.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}/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/identity/identity.test.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/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/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/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/reset.ts +0 -0
- /package/src/{cli/commands → commands}/profile/util.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1366,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":2045,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/events.ts":{"bytes":2483,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":25885,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":643,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"},{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":13299,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/app-graph-builder/index.ts":{"bytes":944,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/capabilities/client/client.ts":{"bytes":10145,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/client/index.ts":{"bytes":848,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/client/client.ts","kind":"dynamic-import","original":"./client"}],"format":"esm"},"src/capabilities/migrations/migrations.ts":{"bytes":4040,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/migrations/index.ts":{"bytes":888,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/migrations/migrations.ts","kind":"dynamic-import","original":"./migrations"}],"format":"esm"},"src/constants.ts":{"bytes":1231,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":34732,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":962,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/capabilities/react-context/react-context.tsx":{"bytes":2928,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/react-context/index.ts":{"bytes":910,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-context/react-context.tsx","kind":"dynamic-import","original":"./react-context"}],"format":"esm"},"src/containers/DevicesContainer/DevicesContainer.tsx":{"bytes":34094,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-qr-rounded","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-client/invitations","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/containers/DevicesContainer/index.ts":{"bytes":701,"imports":[{"path":"src/containers/DevicesContainer/DevicesContainer.tsx","kind":"import-statement","original":"./DevicesContainer"}],"format":"esm"},"src/containers/JoinDialog/JoinDialog.tsx":{"bytes":6761,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/containers/JoinDialog/index.ts":{"bytes":637,"imports":[{"path":"src/containers/JoinDialog/JoinDialog.tsx","kind":"import-statement","original":"./JoinDialog"}],"format":"esm"},"src/containers/ProfileContainer/ProfileContainer.tsx":{"bytes":22290,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-pickers","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/containers/ProfileContainer/index.ts":{"bytes":701,"imports":[{"path":"src/containers/ProfileContainer/ProfileContainer.tsx","kind":"import-statement","original":"./ProfileContainer"}],"format":"esm"},"src/containers/RecoveryCodeDialog/RecoveryCodeDialog.tsx":{"bytes":8830,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/containers/RecoveryCodeDialog/index.ts":{"bytes":831,"imports":[{"path":"src/containers/RecoveryCodeDialog/RecoveryCodeDialog.tsx","kind":"import-statement","original":"./RecoveryCodeDialog"},{"path":"src/containers/RecoveryCodeDialog/RecoveryCodeDialog.tsx","kind":"import-statement","original":"./RecoveryCodeDialog"}],"format":"esm"},"src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx":{"bytes":9354,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/containers/RecoveryCredentialsContainer/index.ts":{"bytes":813,"imports":[{"path":"src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx","kind":"import-statement","original":"./RecoveryCredentialsContainer"}],"format":"esm"},"src/containers/ResetDialog/ResetDialog.tsx":{"bytes":6772,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true}],"format":"esm"},"src/containers/ResetDialog/index.ts":{"bytes":744,"imports":[{"path":"src/containers/ResetDialog/ResetDialog.tsx","kind":"import-statement","original":"./ResetDialog"},{"path":"src/containers/ResetDialog/ResetDialog.tsx","kind":"import-statement","original":"./ResetDialog"}],"format":"esm"},"src/containers/index.ts":{"bytes":2472,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/DevicesContainer/index.ts","kind":"dynamic-import","original":"./DevicesContainer"},{"path":"src/containers/JoinDialog/index.ts","kind":"dynamic-import","original":"./JoinDialog"},{"path":"src/containers/ProfileContainer/index.ts","kind":"dynamic-import","original":"./ProfileContainer"},{"path":"src/containers/RecoveryCodeDialog/index.ts","kind":"dynamic-import","original":"./RecoveryCodeDialog"},{"path":"src/containers/RecoveryCredentialsContainer/index.ts","kind":"dynamic-import","original":"./RecoveryCredentialsContainer"},{"path":"src/containers/ResetDialog/index.ts","kind":"dynamic-import","original":"./ResetDialog"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":8881,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/containers/index.ts","kind":"import-statement","original":"../../containers"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":910,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/schema-defs/schema-defs.ts":{"bytes":4782,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/schema-defs/index.ts":{"bytes":890,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/schema-defs/schema-defs.ts","kind":"dynamic-import","original":"./schema-defs"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1086,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/client/index.ts","kind":"import-statement","original":"./client"},{"path":"src/capabilities/migrations/index.ts","kind":"import-statement","original":"./migrations"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-context/index.ts","kind":"import-statement","original":"./react-context"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"},{"path":"src/capabilities/schema-defs/index.ts","kind":"import-statement","original":"./schema-defs"}],"format":"esm"},"src/translations.ts":{"bytes":12037,"imports":[{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ClientPlugin.ts":{"bytes":8174,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":874,"imports":[{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/ClientPlugin.ts","kind":"import-statement","original":"./ClientPlugin"}],"format":"esm"},"src/cli/commands/config/view.ts":{"bytes":2584,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"yaml","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/config/index.ts":{"bytes":1223,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/config/view.ts","kind":"import-statement","original":"./view"}],"format":"esm"},"src/cli/commands/device/util.ts":{"bytes":8292,"imports":[{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client/halo","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/device/info/info.ts":{"bytes":5229,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"src/cli/commands/device/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/device/info/index.ts":{"bytes":474,"imports":[{"path":"src/cli/commands/device/info/info.ts","kind":"import-statement","original":"./info"}],"format":"esm"},"src/cli/commands/device/list/list.ts":{"bytes":3705,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"src/cli/commands/device/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/device/list/index.ts":{"bytes":474,"imports":[{"path":"src/cli/commands/device/list/list.ts","kind":"import-statement","original":"./list"}],"format":"esm"},"src/cli/commands/device/update/update.ts":{"bytes":6962,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"src/cli/commands/device/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/device/update/index.ts":{"bytes":482,"imports":[{"path":"src/cli/commands/device/update/update.ts","kind":"import-statement","original":"./update"}],"format":"esm"},"src/cli/commands/device/index.ts":{"bytes":1539,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/device/info/index.ts","kind":"import-statement","original":"./info"},{"path":"src/cli/commands/device/list/index.ts","kind":"import-statement","original":"./list"},{"path":"src/cli/commands/device/update/index.ts","kind":"import-statement","original":"./update"}],"format":"esm"},"src/cli/commands/edge/status.ts":{"bytes":5710,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/client/edge","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/edge/index.ts":{"bytes":1221,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/edge/status.ts","kind":"import-statement","original":"./status"}],"format":"esm"},"src/cli/commands/halo/util.ts":{"bytes":1881,"imports":[{"path":"@dxos/cli-util","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/halo/create/create.ts":{"bytes":8754,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../../../types"},{"path":"src/cli/commands/halo/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/halo/create/index.ts":{"bytes":480,"imports":[{"path":"src/cli/commands/halo/create/create.ts","kind":"import-statement","original":"./create"}],"format":"esm"},"src/cli/commands/halo/credential/add/add.ts":{"bytes":10922,"imports":[{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/halo/credential/add/index.ts":{"bytes":481,"imports":[{"path":"src/cli/commands/halo/credential/add/add.ts","kind":"import-statement","original":"./add"}],"format":"esm"},"src/cli/commands/halo/credential/list/list.ts":{"bytes":14354,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Duration","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/halo/credential/list/index.ts":{"bytes":483,"imports":[{"path":"src/cli/commands/halo/credential/list/list.ts","kind":"import-statement","original":"./list"}],"format":"esm"},"src/cli/commands/halo/credential/index.ts":{"bytes":1414,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/halo/credential/add/index.ts","kind":"import-statement","original":"./add"},{"path":"src/cli/commands/halo/credential/list/index.ts","kind":"import-statement","original":"./list"}],"format":"esm"},"src/cli/commands/halo/identity/identity.ts":{"bytes":4901,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"src/cli/commands/halo/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/halo/identity/index.ts":{"bytes":484,"imports":[{"path":"src/cli/commands/halo/identity/identity.ts","kind":"import-statement","original":"./identity"}],"format":"esm"},"src/cli/commands/halo/keys/keys.ts":{"bytes":5098,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/halo/keys/index.ts":{"bytes":472,"imports":[{"path":"src/cli/commands/halo/keys/keys.ts","kind":"import-statement","original":"./keys"}],"format":"esm"},"src/cli/commands/halo/recover/recover.ts":{"bytes":5446,"imports":[{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/cli/commands/halo/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/halo/recover/index.ts":{"bytes":482,"imports":[{"path":"src/cli/commands/halo/recover/recover.ts","kind":"import-statement","original":"./recover"}],"format":"esm"},"src/cli/commands/halo/seed/seed.ts":{"bytes":4693,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/halo/seed/index.ts":{"bytes":472,"imports":[{"path":"src/cli/commands/halo/seed/seed.ts","kind":"import-statement","original":"./seed"}],"format":"esm"},"src/cli/commands/halo/update/update.ts":{"bytes":7084,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"src/cli/commands/halo/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/halo/update/index.ts":{"bytes":480,"imports":[{"path":"src/cli/commands/halo/update/update.ts","kind":"import-statement","original":"./update"}],"format":"esm"},"src/cli/commands/halo/index.ts":{"bytes":2694,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/halo/create/index.ts","kind":"import-statement","original":"./create"},{"path":"src/cli/commands/halo/credential/index.ts","kind":"import-statement","original":"./credential"},{"path":"src/cli/commands/halo/identity/index.ts","kind":"import-statement","original":"./identity"},{"path":"src/cli/commands/halo/keys/index.ts","kind":"import-statement","original":"./keys"},{"path":"src/cli/commands/halo/recover/index.ts","kind":"import-statement","original":"./recover"},{"path":"src/cli/commands/halo/seed/index.ts","kind":"import-statement","original":"./seed"},{"path":"src/cli/commands/halo/update/index.ts","kind":"import-statement","original":"./update"}],"format":"esm"},"src/cli/commands/profile/util.ts":{"bytes":4759,"imports":[{"path":"@dxos/cli-util","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/profile/create.ts":{"bytes":8765,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/cli/commands/profile/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/profile/delete.ts":{"bytes":5076,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"src/cli/commands/profile/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/profile/import.ts":{"bytes":12703,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/config","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true}],"format":"esm"},"src/cli/commands/profile/inspect.ts":{"bytes":7958,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true}],"format":"esm"},"src/cli/commands/profile/list.ts":{"bytes":7664,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"yaml","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"src/cli/commands/profile/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/profile/reset.ts":{"bytes":5715,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/config","kind":"import-statement","external":true},{"path":"src/cli/commands/profile/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/profile/index.ts":{"bytes":2066,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/profile/create.ts","kind":"import-statement","original":"./create"},{"path":"src/cli/commands/profile/delete.ts","kind":"import-statement","original":"./delete"},{"path":"src/cli/commands/profile/import.ts","kind":"import-statement","original":"./import"},{"path":"src/cli/commands/profile/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"src/cli/commands/profile/list.ts","kind":"import-statement","original":"./list"},{"path":"src/cli/commands/profile/reset.ts","kind":"import-statement","original":"./reset"}],"format":"esm"},"src/cli/commands/index.ts":{"bytes":793,"imports":[{"path":"src/cli/commands/config/index.ts","kind":"import-statement","original":"./config"},{"path":"src/cli/commands/device/index.ts","kind":"import-statement","original":"./device"},{"path":"src/cli/commands/edge/index.ts","kind":"import-statement","original":"./edge"},{"path":"src/cli/commands/halo/index.ts","kind":"import-statement","original":"./halo"},{"path":"src/cli/commands/profile/index.ts","kind":"import-statement","original":"./profile"}],"format":"esm"},"src/cli/plugin.ts":{"bytes":5056,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/capabilities/client/index.ts","kind":"import-statement","original":"../capabilities/client"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"../capabilities/operation-resolver"},{"path":"src/capabilities/schema-defs/index.ts","kind":"import-statement","original":"../capabilities/schema-defs"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/cli/commands/index.ts","kind":"import-statement","original":"./commands"}],"format":"esm"},"src/cli/index.ts":{"bytes":459,"imports":[{"path":"src/cli/plugin.ts","kind":"import-statement","original":"./plugin"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/DevicesContainer-V7HEUPO7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":18317},"dist/lib/node-esm/DevicesContainer-V7HEUPO7.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react-qr-rounded","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-client/invitations","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/DevicesContainer/index.ts","inputs":{"src/containers/DevicesContainer/DevicesContainer.tsx":{"bytesInOutput":10036},"src/containers/DevicesContainer/index.ts":{"bytesInOutput":49}},"bytes":10489},"dist/lib/node-esm/JoinDialog-XVKW4SLT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3783},"dist/lib/node-esm/JoinDialog-XVKW4SLT.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/JoinDialog/index.ts","inputs":{"src/containers/JoinDialog/JoinDialog.tsx":{"bytesInOutput":1689},"src/containers/JoinDialog/index.ts":{"bytesInOutput":37}},"bytes":2100},"dist/lib/node-esm/ProfileContainer-B5LJ6TMU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11631},"dist/lib/node-esm/ProfileContainer-B5LJ6TMU.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-pickers","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/ProfileContainer/index.ts","inputs":{"src/containers/ProfileContainer/ProfileContainer.tsx":{"bytesInOutput":5803},"src/containers/ProfileContainer/index.ts":{"bytesInOutput":49}},"bytes":6198},"dist/lib/node-esm/RecoveryCodeDialog-YIRGXM7N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4994},"dist/lib/node-esm/RecoveryCodeDialog-YIRGXM7N.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["RecoveryCodeDialog","default"],"entryPoint":"src/containers/RecoveryCodeDialog/index.ts","inputs":{"src/containers/RecoveryCodeDialog/RecoveryCodeDialog.tsx":{"bytesInOutput":2637},"src/containers/RecoveryCodeDialog/index.ts":{"bytesInOutput":53}},"bytes":3068},"dist/lib/node-esm/RecoveryCredentialsContainer-MVJEFNXX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5301},"dist/lib/node-esm/RecoveryCredentialsContainer-MVJEFNXX.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/RecoveryCredentialsContainer/index.ts","inputs":{"src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx":{"bytesInOutput":2569},"src/containers/RecoveryCredentialsContainer/index.ts":{"bytesInOutput":73}},"bytes":3106},"dist/lib/node-esm/ResetDialog-GGBWSQZO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3966},"dist/lib/node-esm/ResetDialog-GGBWSQZO.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true}],"exports":["ResetDialog","default"],"entryPoint":"src/containers/ResetDialog/index.ts","inputs":{"src/containers/ResetDialog/ResetDialog.tsx":{"bytesInOutput":1717},"src/containers/ResetDialog/index.ts":{"bytesInOutput":39}},"bytes":2045},"dist/lib/node-esm/react-surface-B65OUZYI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5759},"dist/lib/node-esm/react-surface-B65OUZYI.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-VLNCZYIC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/DevicesContainer-V7HEUPO7.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/JoinDialog-XVKW4SLT.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/ProfileContainer-B5LJ6TMU.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/RecoveryCodeDialog-YIRGXM7N.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/RecoveryCredentialsContainer-MVJEFNXX.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/ResetDialog-GGBWSQZO.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1887},"src/containers/index.ts":{"bytesInOutput":504}},"bytes":2891},"dist/lib/node-esm/schema-defs-GXQ47JZN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2570},"dist/lib/node-esm/schema-defs-GXQ47JZN.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/schema-defs/schema-defs.ts","inputs":{"src/capabilities/schema-defs/schema-defs.ts":{"bytesInOutput":868}},"bytes":1195},"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11141},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-OIJ5QGFQ.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/app-graph-builder-PTNZ46NN.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/migrations-4NEKCBGU.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/react-context-T2ORT5CC.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/react-surface-B65OUZYI.mjs","kind":"dynamic-import"},{"path":"@dxos/shell/react","kind":"import-statement","external":true}],"exports":["Account","ClientAction","ClientCapabilities","ClientEvents","ClientOperation","ClientPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/ClientPlugin.ts":{"bytesInOutput":1695},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/migrations/index.ts":{"bytesInOutput":157},"src/capabilities/react-context/index.ts":{"bytesInOutput":164},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/translations.ts":{"bytesInOutput":4189}},"bytes":7276},"dist/lib/node-esm/cli/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":81854},"dist/lib/node-esm/cli/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-OIJ5QGFQ.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"yaml","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client/halo","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/client/edge","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Duration","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/config","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"yaml","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/config","kind":"import-statement","external":true}],"exports":["ClientPlugin"],"entryPoint":"src/cli/index.ts","inputs":{"src/cli/plugin.ts":{"bytesInOutput":886},"src/cli/commands/config/index.ts":{"bytesInOutput":176},"src/cli/commands/config/view.ts":{"bytesInOutput":561},"src/cli/commands/index.ts":{"bytesInOutput":0},"src/cli/commands/device/index.ts":{"bytesInOutput":198},"src/cli/commands/device/info/info.ts":{"bytesInOutput":1241},"src/cli/commands/device/util.ts":{"bytesInOutput":2019},"src/cli/commands/device/info/index.ts":{"bytesInOutput":0},"src/cli/commands/device/list/list.ts":{"bytesInOutput":836},"src/cli/commands/device/list/index.ts":{"bytesInOutput":0},"src/cli/commands/device/update/update.ts":{"bytesInOutput":1713},"src/cli/commands/device/update/index.ts":{"bytesInOutput":0},"src/cli/commands/edge/index.ts":{"bytesInOutput":172},"src/cli/commands/edge/status.ts":{"bytesInOutput":1324},"src/cli/commands/halo/index.ts":{"bytesInOutput":247},"src/cli/commands/halo/create/create.ts":{"bytesInOutput":2228},"src/cli/commands/halo/util.ts":{"bytesInOutput":310},"src/cli/commands/halo/create/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/credential/index.ts":{"bytesInOutput":204},"src/cli/commands/halo/credential/add/add.ts":{"bytesInOutput":3020},"src/cli/commands/halo/credential/add/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/credential/list/list.ts":{"bytesInOutput":3485},"src/cli/commands/halo/credential/list/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/identity/identity.ts":{"bytesInOutput":1172},"src/cli/commands/halo/identity/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/keys/keys.ts":{"bytesInOutput":1278},"src/cli/commands/halo/keys/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/recover/recover.ts":{"bytesInOutput":1510},"src/cli/commands/halo/recover/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/seed/seed.ts":{"bytesInOutput":1197},"src/cli/commands/halo/seed/index.ts":{"bytesInOutput":0},"src/cli/commands/halo/update/update.ts":{"bytesInOutput":1784},"src/cli/commands/halo/update/index.ts":{"bytesInOutput":0},"src/cli/commands/profile/index.ts":{"bytesInOutput":239},"src/cli/commands/profile/create.ts":{"bytesInOutput":2382},"src/cli/commands/profile/util.ts":{"bytesInOutput":887},"src/cli/commands/profile/delete.ts":{"bytesInOutput":1271},"src/cli/commands/profile/import.ts":{"bytesInOutput":3487},"src/cli/commands/profile/inspect.ts":{"bytesInOutput":1963},"src/cli/commands/profile/list.ts":{"bytesInOutput":1833},"src/cli/commands/profile/reset.ts":{"bytesInOutput":1467},"src/cli/index.ts":{"bytesInOutput":0}},"bytes":40967},"dist/lib/node-esm/chunk-OIJ5QGFQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1196},"dist/lib/node-esm/chunk-OIJ5QGFQ.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/client-24L47Y2G.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/operation-resolver-4GWB3YZG.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/schema-defs-GXQ47JZN.mjs","kind":"dynamic-import"}],"exports":["Client","OperationResolver","SchemaDefs"],"inputs":{"src/capabilities/client/index.ts":{"bytesInOutput":129},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/schema-defs/index.ts":{"bytesInOutput":158}},"bytes":787},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"}],"exports":["Account","ClientAction","ClientCapabilities","ClientEvents","ClientOperation"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":378},"dist/lib/node-esm/app-graph-builder-PTNZ46NN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6004},"dist/lib/node-esm/app-graph-builder-PTNZ46NN.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":3435}},"bytes":3832},"dist/lib/node-esm/client-24L47Y2G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4977},"dist/lib/node-esm/client-24L47Y2G.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/client/client.ts","inputs":{"src/capabilities/client/client.ts":{"bytesInOutput":2782}},"bytes":3105},"dist/lib/node-esm/migrations-4NEKCBGU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2203},"dist/lib/node-esm/migrations-4NEKCBGU.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/migrations/migrations.ts","inputs":{"src/capabilities/migrations/migrations.ts":{"bytesInOutput":796}},"bytes":1119},"dist/lib/node-esm/operation-resolver-4GWB3YZG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15919},"dist/lib/node-esm/operation-resolver-4GWB3YZG.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-VLNCZYIC.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":9583}},"bytes":10078},"dist/lib/node-esm/chunk-VLNCZYIC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":548},"dist/lib/node-esm/chunk-VLNCZYIC.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"}],"exports":["JOIN_DIALOG","RECOVERY_CODE_DIALOG","RESET_DIALOG"],"inputs":{"src/constants.ts":{"bytesInOutput":148}},"bytes":419},"dist/lib/node-esm/react-context-T2ORT5CC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1527},"dist/lib/node-esm/react-context-T2ORT5CC.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DT2ZNOGU.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-context/react-context.tsx","inputs":{"src/capabilities/react-context/react-context.tsx":{"bytesInOutput":577}},"bytes":929},"dist/lib/node-esm/chunk-DT2ZNOGU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14538},"dist/lib/node-esm/chunk-DT2ZNOGU.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-BOTJSPCT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["Account","ClientAction","ClientCapabilities","ClientEvents","ClientOperation"],"inputs":{"src/types/capabilities.ts":{"bytesInOutput":406},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":580},"src/types/schema.ts":{"bytesInOutput":6619}},"bytes":7962},"dist/lib/node-esm/chunk-BOTJSPCT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":654},"dist/lib/node-esm/chunk-BOTJSPCT.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":283}},"bytes":455}}}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
ClientCapabilities
|
|
4
|
-
} from "./chunk-DT2ZNOGU.mjs";
|
|
5
|
-
import "./chunk-BOTJSPCT.mjs";
|
|
6
|
-
|
|
7
|
-
// src/capabilities/migrations/migrations.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
10
|
-
var migrations_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
11
|
-
const registry = yield* Capability.get(Capabilities.AtomRegistry);
|
|
12
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
13
|
-
const migrationsAtom = yield* Capability.atom(ClientCapabilities.Migration);
|
|
14
|
-
const cancel = registry.subscribe(migrationsAtom, (_migrations) => {
|
|
15
|
-
const migrations = Array.from(new Set(_migrations.flat()));
|
|
16
|
-
const spaces = client.spaces.get();
|
|
17
|
-
void Promise.all(spaces.map((space) => space.internal.db.runMigrations(migrations)));
|
|
18
|
-
}, {
|
|
19
|
-
immediate: true
|
|
20
|
-
});
|
|
21
|
-
return Capability.contributes(Capabilities.Null, null, () => Effect.sync(() => cancel()));
|
|
22
|
-
}));
|
|
23
|
-
export {
|
|
24
|
-
migrations_default as default
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=migrations-4NEKCBGU.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/migrations/migrations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\n\nimport { ClientCapabilities } from '../../types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const client = yield* Capability.get(ClientCapabilities.Client);\n const migrationsAtom = yield* Capability.atom(ClientCapabilities.Migration);\n\n // NOTE: Migrations are currently unidirectional and idempotent.\n const cancel = registry.subscribe(\n migrationsAtom,\n (_migrations: any[]) => {\n const migrations = Array.from(new Set(_migrations.flat()));\n const spaces = client.spaces.get();\n void Promise.all(spaces.map((space: any) => space.internal.db.runMigrations(migrations)));\n },\n { immediate: true },\n );\n\n return Capability.contributes(Capabilities.Null, null, () => Effect.sync(() => cancel()));\n }),\n);\n"],
|
|
5
|
-
"mappings": ";;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AAIzC,IAAA,qBAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,QAAMC,WAAW,OAAOH,WAAWI,IAAIC,aAAaC,YAAY;AAChE,QAAMC,SAAS,OAAOP,WAAWI,IAAII,mBAAmBC,MAAM;AAC9D,QAAMC,iBAAiB,OAAOV,WAAWW,KAAKH,mBAAmBI,SAAS;AAG1E,QAAMC,SAASV,SAASW,UACtBJ,gBACA,CAACK,gBAAAA;AACC,UAAMC,aAAaC,MAAMC,KAAK,IAAIC,IAAIJ,YAAYK,KAAI,CAAA,CAAA;AACtD,UAAMC,SAASd,OAAOc,OAAOjB,IAAG;AAChC,SAAKkB,QAAQC,IAAIF,OAAOG,IAAI,CAACC,UAAeA,MAAMC,SAASC,GAAGC,cAAcZ,UAAAA,CAAAA,CAAAA;EAC9E,GACA;IAAEa,WAAW;EAAK,CAAA;AAGpB,SAAO7B,WAAW8B,YAAYzB,aAAa0B,MAAM,MAAM,MAAaC,YAAK,MAAMnB,OAAAA,CAAAA,CAAAA;AACjF,CAAA,CAAA;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "Capability", "Capability", "makeModule", "fnUntraced", "registry", "get", "Capabilities", "AtomRegistry", "client", "ClientCapabilities", "Client", "migrationsAtom", "atom", "Migration", "cancel", "subscribe", "_migrations", "migrations", "Array", "from", "Set", "flat", "spaces", "Promise", "all", "map", "space", "internal", "db", "runMigrations", "immediate", "contributes", "Null", "sync"]
|
|
7
|
-
}
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
JOIN_DIALOG,
|
|
4
|
-
RECOVERY_CODE_DIALOG,
|
|
5
|
-
RESET_DIALOG
|
|
6
|
-
} from "./chunk-VLNCZYIC.mjs";
|
|
7
|
-
import {
|
|
8
|
-
Account,
|
|
9
|
-
ClientCapabilities,
|
|
10
|
-
ClientEvents,
|
|
11
|
-
ClientOperation
|
|
12
|
-
} from "./chunk-DT2ZNOGU.mjs";
|
|
13
|
-
import "./chunk-BOTJSPCT.mjs";
|
|
14
|
-
|
|
15
|
-
// src/capabilities/operation-resolver/operation-resolver.ts
|
|
16
|
-
import * as Effect from "effect/Effect";
|
|
17
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
18
|
-
import { LayoutOperation, getSpacePath } from "@dxos/app-toolkit";
|
|
19
|
-
import { PublicKey } from "@dxos/client";
|
|
20
|
-
import { runAndForwardErrors } from "@dxos/effect";
|
|
21
|
-
import { invariant } from "@dxos/invariant";
|
|
22
|
-
import { OperationResolver } from "@dxos/operation";
|
|
23
|
-
import { Operation } from "@dxos/operation";
|
|
24
|
-
import { ObservabilityOperation } from "@dxos/plugin-observability/types";
|
|
25
|
-
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/capabilities/operation-resolver/operation-resolver.ts";
|
|
26
|
-
var RECOVER_IDENTITY_RPC_TIMEOUT = 2e4;
|
|
27
|
-
var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(function* ({ appName = "Composer" } = {}) {
|
|
28
|
-
return Capability.contributes(Capabilities.OperationResolver, [
|
|
29
|
-
//
|
|
30
|
-
// CreateIdentity
|
|
31
|
-
//
|
|
32
|
-
OperationResolver.make({
|
|
33
|
-
operation: ClientOperation.CreateIdentity,
|
|
34
|
-
handler: Effect.fnUntraced(function* (profile) {
|
|
35
|
-
const manager = yield* Capability.get(Capabilities.PluginManager);
|
|
36
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
37
|
-
const data = yield* Effect.promise(() => client.halo.createIdentity(profile));
|
|
38
|
-
yield* Effect.promise(() => runAndForwardErrors(manager.activate(ClientEvents.IdentityCreated)));
|
|
39
|
-
yield* Operation.schedule(ObservabilityOperation.SendEvent, {
|
|
40
|
-
name: "identity.create"
|
|
41
|
-
});
|
|
42
|
-
return data;
|
|
43
|
-
})
|
|
44
|
-
}),
|
|
45
|
-
//
|
|
46
|
-
// JoinIdentity
|
|
47
|
-
//
|
|
48
|
-
OperationResolver.make({
|
|
49
|
-
operation: ClientOperation.JoinIdentity,
|
|
50
|
-
handler: Effect.fnUntraced(function* (data) {
|
|
51
|
-
yield* Operation.invoke(LayoutOperation.UpdateDialog, {
|
|
52
|
-
subject: JOIN_DIALOG,
|
|
53
|
-
blockAlign: "start",
|
|
54
|
-
props: {
|
|
55
|
-
initialInvitationCode: data.invitationCode,
|
|
56
|
-
initialDisposition: "accept-halo-invitation"
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
})
|
|
60
|
-
}),
|
|
61
|
-
//
|
|
62
|
-
// ShareIdentity
|
|
63
|
-
//
|
|
64
|
-
OperationResolver.make({
|
|
65
|
-
operation: ClientOperation.ShareIdentity,
|
|
66
|
-
handler: Effect.fnUntraced(function* () {
|
|
67
|
-
yield* Operation.invoke(LayoutOperation.SwitchWorkspace, {
|
|
68
|
-
subject: getSpacePath(Account.id)
|
|
69
|
-
});
|
|
70
|
-
yield* Operation.invoke(LayoutOperation.Open, {
|
|
71
|
-
subject: [
|
|
72
|
-
`${getSpacePath(Account.id)}/${Account.Profile}`
|
|
73
|
-
]
|
|
74
|
-
});
|
|
75
|
-
yield* Operation.schedule(ObservabilityOperation.SendEvent, {
|
|
76
|
-
name: "identity.share"
|
|
77
|
-
});
|
|
78
|
-
})
|
|
79
|
-
}),
|
|
80
|
-
//
|
|
81
|
-
// RecoverIdentity
|
|
82
|
-
//
|
|
83
|
-
OperationResolver.make({
|
|
84
|
-
operation: ClientOperation.RecoverIdentity,
|
|
85
|
-
handler: Effect.fnUntraced(function* () {
|
|
86
|
-
yield* Operation.invoke(LayoutOperation.UpdateDialog, {
|
|
87
|
-
subject: JOIN_DIALOG,
|
|
88
|
-
blockAlign: "start",
|
|
89
|
-
props: {
|
|
90
|
-
initialDisposition: "recover-identity"
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
})
|
|
94
|
-
}),
|
|
95
|
-
//
|
|
96
|
-
// ResetStorage
|
|
97
|
-
//
|
|
98
|
-
OperationResolver.make({
|
|
99
|
-
operation: ClientOperation.ResetStorage,
|
|
100
|
-
handler: Effect.fnUntraced(function* (data) {
|
|
101
|
-
yield* Operation.invoke(LayoutOperation.UpdateDialog, {
|
|
102
|
-
subject: RESET_DIALOG,
|
|
103
|
-
blockAlign: "start",
|
|
104
|
-
props: {
|
|
105
|
-
mode: data.mode ?? "reset storage"
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
})
|
|
109
|
-
}),
|
|
110
|
-
//
|
|
111
|
-
// CreateAgent
|
|
112
|
-
//
|
|
113
|
-
OperationResolver.make({
|
|
114
|
-
operation: ClientOperation.CreateAgent,
|
|
115
|
-
handler: Effect.fnUntraced(function* () {
|
|
116
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
117
|
-
invariant(client.services.services.EdgeAgentService, "Missing EdgeAgentService", {
|
|
118
|
-
F: __dxlog_file,
|
|
119
|
-
L: 115,
|
|
120
|
-
S: this,
|
|
121
|
-
A: [
|
|
122
|
-
"client.services.services.EdgeAgentService",
|
|
123
|
-
"'Missing EdgeAgentService'"
|
|
124
|
-
]
|
|
125
|
-
});
|
|
126
|
-
yield* Effect.promise(() => client.services.services.EdgeAgentService.createAgent(void 0, {
|
|
127
|
-
timeout: 1e4
|
|
128
|
-
}));
|
|
129
|
-
})
|
|
130
|
-
}),
|
|
131
|
-
//
|
|
132
|
-
// CreateRecoveryCode
|
|
133
|
-
//
|
|
134
|
-
OperationResolver.make({
|
|
135
|
-
operation: ClientOperation.CreateRecoveryCode,
|
|
136
|
-
handler: Effect.fnUntraced(function* () {
|
|
137
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
138
|
-
invariant(client.services.services.IdentityService, "IdentityService not available", {
|
|
139
|
-
F: __dxlog_file,
|
|
140
|
-
L: 129,
|
|
141
|
-
S: this,
|
|
142
|
-
A: [
|
|
143
|
-
"client.services.services.IdentityService",
|
|
144
|
-
"'IdentityService not available'"
|
|
145
|
-
]
|
|
146
|
-
});
|
|
147
|
-
const { recoveryCode } = yield* Effect.promise(() => client.services.services.IdentityService.createRecoveryCredential({}));
|
|
148
|
-
yield* Operation.invoke(LayoutOperation.UpdateDialog, {
|
|
149
|
-
subject: RECOVERY_CODE_DIALOG,
|
|
150
|
-
blockAlign: "start",
|
|
151
|
-
type: "alert",
|
|
152
|
-
props: {
|
|
153
|
-
code: recoveryCode
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
})
|
|
157
|
-
}),
|
|
158
|
-
//
|
|
159
|
-
// CreatePasskey
|
|
160
|
-
//
|
|
161
|
-
OperationResolver.make({
|
|
162
|
-
operation: ClientOperation.CreatePasskey,
|
|
163
|
-
handler: Effect.fnUntraced(function* () {
|
|
164
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
165
|
-
const identity = client.halo.identity.get();
|
|
166
|
-
invariant(identity, "Identity not available", {
|
|
167
|
-
F: __dxlog_file,
|
|
168
|
-
L: 150,
|
|
169
|
-
S: this,
|
|
170
|
-
A: [
|
|
171
|
-
"identity",
|
|
172
|
-
"'Identity not available'"
|
|
173
|
-
]
|
|
174
|
-
});
|
|
175
|
-
const lookupKey = PublicKey.random();
|
|
176
|
-
const credential = yield* Effect.promise(() => navigator.credentials.create({
|
|
177
|
-
publicKey: {
|
|
178
|
-
challenge: new Uint8Array(),
|
|
179
|
-
rp: {
|
|
180
|
-
id: location.hostname,
|
|
181
|
-
name: appName
|
|
182
|
-
},
|
|
183
|
-
user: {
|
|
184
|
-
id: lookupKey.asUint8Array(),
|
|
185
|
-
name: identity.did,
|
|
186
|
-
displayName: identity.profile?.displayName ?? ""
|
|
187
|
-
},
|
|
188
|
-
pubKeyCredParams: [
|
|
189
|
-
{
|
|
190
|
-
type: "public-key",
|
|
191
|
-
alg: -8
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
type: "public-key",
|
|
195
|
-
alg: -7
|
|
196
|
-
}
|
|
197
|
-
],
|
|
198
|
-
authenticatorSelection: {
|
|
199
|
-
residentKey: "required",
|
|
200
|
-
requireResidentKey: true
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}));
|
|
204
|
-
invariant(credential, "Credential not available", {
|
|
205
|
-
F: __dxlog_file,
|
|
206
|
-
L: 175,
|
|
207
|
-
S: this,
|
|
208
|
-
A: [
|
|
209
|
-
"credential",
|
|
210
|
-
"'Credential not available'"
|
|
211
|
-
]
|
|
212
|
-
});
|
|
213
|
-
const recoveryKey = PublicKey.from(new Uint8Array(credential.response.getPublicKey()));
|
|
214
|
-
const algorithm = credential.response.getPublicKeyAlgorithm() === -7 ? "ES256" : "ED25519";
|
|
215
|
-
invariant(client.services.services.IdentityService, "IdentityService not available", {
|
|
216
|
-
F: __dxlog_file,
|
|
217
|
-
L: 179,
|
|
218
|
-
S: this,
|
|
219
|
-
A: [
|
|
220
|
-
"client.services.services.IdentityService",
|
|
221
|
-
"'IdentityService not available'"
|
|
222
|
-
]
|
|
223
|
-
});
|
|
224
|
-
yield* Effect.promise(() => client.services.services.IdentityService.createRecoveryCredential({
|
|
225
|
-
data: {
|
|
226
|
-
recoveryKey,
|
|
227
|
-
algorithm,
|
|
228
|
-
lookupKey
|
|
229
|
-
}
|
|
230
|
-
}));
|
|
231
|
-
})
|
|
232
|
-
}),
|
|
233
|
-
//
|
|
234
|
-
// RedeemPasskey
|
|
235
|
-
//
|
|
236
|
-
OperationResolver.make({
|
|
237
|
-
operation: ClientOperation.RedeemPasskey,
|
|
238
|
-
handler: Effect.fnUntraced(function* () {
|
|
239
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
240
|
-
invariant(client.services.services.IdentityService, "IdentityService not available", {
|
|
241
|
-
F: __dxlog_file,
|
|
242
|
-
L: 199,
|
|
243
|
-
S: this,
|
|
244
|
-
A: [
|
|
245
|
-
"client.services.services.IdentityService",
|
|
246
|
-
"'IdentityService not available'"
|
|
247
|
-
]
|
|
248
|
-
});
|
|
249
|
-
const { deviceKey, controlFeedKey, challenge } = yield* Effect.promise(() => client.services.services.IdentityService.requestRecoveryChallenge());
|
|
250
|
-
const credential = yield* Effect.promise(() => navigator.credentials.get({
|
|
251
|
-
publicKey: {
|
|
252
|
-
challenge: Buffer.from(challenge, "base64"),
|
|
253
|
-
rpId: location.hostname,
|
|
254
|
-
userVerification: "required"
|
|
255
|
-
}
|
|
256
|
-
}));
|
|
257
|
-
const lookupKey = PublicKey.from(new Uint8Array(credential.response.userHandle));
|
|
258
|
-
yield* Effect.promise(() => client.services.services.IdentityService.recoverIdentity({
|
|
259
|
-
external: {
|
|
260
|
-
lookupKey,
|
|
261
|
-
deviceKey,
|
|
262
|
-
controlFeedKey,
|
|
263
|
-
signature: Buffer.from(credential.response.signature),
|
|
264
|
-
clientDataJson: Buffer.from(credential.response.clientDataJSON),
|
|
265
|
-
authenticatorData: Buffer.from(credential.response.authenticatorData)
|
|
266
|
-
}
|
|
267
|
-
}, {
|
|
268
|
-
timeout: RECOVER_IDENTITY_RPC_TIMEOUT
|
|
269
|
-
}));
|
|
270
|
-
})
|
|
271
|
-
}),
|
|
272
|
-
//
|
|
273
|
-
// RedeemToken
|
|
274
|
-
//
|
|
275
|
-
OperationResolver.make({
|
|
276
|
-
operation: ClientOperation.RedeemToken,
|
|
277
|
-
handler: Effect.fnUntraced(function* (data) {
|
|
278
|
-
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
279
|
-
invariant(client.services.services.IdentityService, "IdentityService not available", {
|
|
280
|
-
F: __dxlog_file,
|
|
281
|
-
L: 238,
|
|
282
|
-
S: this,
|
|
283
|
-
A: [
|
|
284
|
-
"client.services.services.IdentityService",
|
|
285
|
-
"'IdentityService not available'"
|
|
286
|
-
]
|
|
287
|
-
});
|
|
288
|
-
yield* Effect.promise(() => client.services.services.IdentityService.recoverIdentity({
|
|
289
|
-
token: data.token
|
|
290
|
-
}, {
|
|
291
|
-
timeout: RECOVER_IDENTITY_RPC_TIMEOUT
|
|
292
|
-
}));
|
|
293
|
-
})
|
|
294
|
-
})
|
|
295
|
-
]);
|
|
296
|
-
}));
|
|
297
|
-
export {
|
|
298
|
-
operation_resolver_default as default
|
|
299
|
-
};
|
|
300
|
-
//# sourceMappingURL=operation-resolver-4GWB3YZG.mjs.map
|