@dxos/plugin-client 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +102 -5
- package/README.md +1 -1
- package/dist/lib/neutral/ClientPlugin.mjs +10 -0
- package/dist/lib/{browser/cli/index.mjs → neutral/ClientPlugin.node.mjs} +57 -88
- package/dist/lib/neutral/ClientPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs +262 -0
- package/dist/lib/neutral/DevicesContainer-6MWNUC3I.mjs.map +7 -0
- package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs +53 -0
- package/dist/lib/neutral/JoinDialog-2NXAKPLP.mjs.map +7 -0
- package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs +168 -0
- package/dist/lib/neutral/ProfileContainer-VPX3FPWG.mjs.map +7 -0
- package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs +59 -0
- package/dist/lib/neutral/RecoveryCodeDialog-GBRH6ZSA.mjs.map +7 -0
- package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs +51 -0
- package/dist/lib/neutral/RecoveryCredentialsContainer-IPBGDMIA.mjs.map +7 -0
- package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs +54 -0
- package/dist/lib/neutral/ResetDialog-VXOIHJXP.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs +117 -0
- package/dist/lib/neutral/app-graph-builder-IK34U2RQ.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +28 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/node.mjs +13 -0
- package/dist/lib/neutral/capabilities/node.mjs.map +7 -0
- package/dist/lib/neutral/chunk-IYPUD3DP.mjs +62 -0
- package/dist/lib/neutral/chunk-IYPUD3DP.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KBYKJCO2.mjs +8 -0
- package/dist/lib/neutral/chunk-KBYKJCO2.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KJGNSH3K.mjs +18 -0
- package/dist/lib/neutral/chunk-KJGNSH3K.mjs.map +7 -0
- package/dist/lib/{browser/chunk-WNJRYPGG.mjs → neutral/chunk-M37DHX5L.mjs} +1 -1
- package/dist/lib/{browser/chunk-WNJRYPGG.mjs.map → neutral/chunk-M37DHX5L.mjs.map} +2 -2
- package/dist/lib/{browser/chunk-M43LJQ5U.mjs → neutral/chunk-RPMM5NKJ.mjs} +2 -2
- package/dist/lib/neutral/chunk-RPMM5NKJ.mjs.map +7 -0
- package/dist/lib/{browser/chunk-ELAYKIQU.mjs → neutral/chunk-VAIJSQYA.mjs} +1 -1
- package/dist/lib/{browser/chunk-ELAYKIQU.mjs.map → neutral/chunk-VAIJSQYA.mjs.map} +2 -2
- package/dist/lib/neutral/client-7JBIGMTX.mjs +62 -0
- package/dist/lib/neutral/client-7JBIGMTX.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +1 -0
- package/dist/lib/neutral/containers/index.mjs +19 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/{browser/create-agent-SS5SE35J.mjs → neutral/create-agent-JV3EM3TV.mjs} +5 -13
- package/dist/lib/neutral/create-agent-JV3EM3TV.mjs.map +7 -0
- package/dist/lib/{browser/create-identity-PBEUEIPN.mjs → neutral/create-identity-GNGOTH6D.mjs} +5 -5
- package/dist/lib/neutral/create-identity-GNGOTH6D.mjs.map +7 -0
- package/dist/lib/{browser/create-passkey-JN6I5WMM.mjs → neutral/create-passkey-NCP4XA7C.mjs} +7 -31
- package/dist/lib/neutral/create-passkey-NCP4XA7C.mjs.map +7 -0
- package/dist/lib/{browser/create-recovery-code-32I6IWZC.mjs → neutral/create-recovery-code-L5LA3GAP.mjs} +6 -14
- package/dist/lib/neutral/create-recovery-code-L5LA3GAP.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +23 -0
- package/dist/lib/{browser/join-identity-2BP4G2SD.mjs → neutral/join-identity-3W6PJLKN.mjs} +4 -4
- package/dist/lib/{browser/join-identity-2BP4G2SD.mjs.map → neutral/join-identity-3W6PJLKN.mjs.map} +1 -1
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/migrations-7FTW55ER.mjs +23 -0
- package/dist/lib/neutral/migrations-7FTW55ER.mjs.map +7 -0
- package/dist/lib/neutral/navigation-handler-TIIHOIBY.mjs +46 -0
- package/dist/lib/neutral/navigation-handler-TIIHOIBY.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-E3HB7E2T.mjs +13 -0
- package/dist/lib/neutral/operation-handler-E3HB7E2T.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +12 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +17 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-context-B5LXMHVM.mjs +23 -0
- package/dist/lib/neutral/react-context-B5LXMHVM.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-VSBYVQL7.mjs +60 -0
- package/dist/lib/neutral/react-surface-VSBYVQL7.mjs.map +7 -0
- package/dist/lib/{browser/recover-identity-LS6B5INB.mjs → neutral/recover-identity-KL6QY4GI.mjs} +4 -4
- package/dist/lib/{browser/recover-identity-LS6B5INB.mjs.map → neutral/recover-identity-KL6QY4GI.mjs.map} +1 -1
- package/dist/lib/{browser/redeem-passkey-OCIV6VCK.mjs → neutral/redeem-passkey-NDEWSJTM.mjs} +6 -22
- package/dist/lib/neutral/redeem-passkey-NDEWSJTM.mjs.map +7 -0
- package/dist/lib/{browser/redeem-token-6BCRGKV6.mjs → neutral/redeem-token-YLWAVFXD.mjs} +5 -13
- package/dist/lib/neutral/redeem-token-YLWAVFXD.mjs.map +7 -0
- package/dist/lib/{browser/reset-storage-RQHXLTZ7.mjs → neutral/reset-storage-OBHEGA6Z.mjs} +5 -5
- package/dist/lib/{browser/reset-storage-RQHXLTZ7.mjs.map → neutral/reset-storage-OBHEGA6Z.mjs.map} +1 -1
- package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs +51 -0
- package/dist/lib/neutral/schema-defs-6XJAJAQT.mjs.map +7 -0
- package/dist/lib/{browser/share-identity-YJEBJTPA.mjs → neutral/share-identity-JQ5SL3J2.mjs} +5 -5
- package/dist/lib/{browser/share-identity-YJEBJTPA.mjs.map → neutral/share-identity-JQ5SL3J2.mjs.map} +1 -1
- package/dist/lib/{browser → neutral}/testing/index.mjs +4 -0
- package/dist/lib/{browser → neutral}/testing/index.mjs.map +2 -2
- package/dist/lib/{browser/index.mjs → neutral/translations.mjs} +4 -73
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/{browser → neutral}/types/index.mjs +1 -1
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/types/src/ClientPlugin.d.ts +1 -0
- package/dist/types/src/ClientPlugin.d.ts.map +1 -1
- package/dist/types/src/{cli/plugin.d.ts → ClientPlugin.node.d.ts} +2 -1
- package/dist/types/src/ClientPlugin.node.d.ts.map +1 -0
- package/dist/types/src/ClientPlugin.test.d.ts +2 -0
- package/dist/types/src/ClientPlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/client.d.ts +1 -1
- package/dist/types/src/capabilities/client.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +14 -14
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
- package/dist/types/src/capabilities/navigation-handler/navigation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/node.d.ts +13 -13
- package/dist/types/src/capabilities/node.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -1
- package/dist/types/src/{cli/commands → commands}/config/index.d.ts +1 -1
- package/dist/types/src/commands/config/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/config/view.d.ts +1 -1
- package/dist/types/src/commands/config/view.d.ts.map +1 -0
- package/dist/types/src/commands/device/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/info.d.ts.map +1 -0
- package/dist/types/src/commands/device/info/info.test.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/list.d.ts.map +1 -0
- package/dist/types/src/commands/device/list/list.test.d.ts.map +1 -0
- package/dist/types/src/commands/device/update/index.d.ts.map +1 -0
- package/dist/types/src/commands/device/update/update.d.ts.map +1 -0
- package/dist/types/src/commands/device/util.d.ts.map +1 -0
- package/dist/types/src/commands/edge/index.d.ts.map +1 -0
- package/dist/types/src/commands/edge/status.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/create.d.ts +15 -0
- package/dist/types/src/commands/halo/create/create.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/create.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/create/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/add/add.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/add/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/list/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.d.ts +2 -2
- package/dist/types/src/commands/halo/credential/list/list.d.ts.map +1 -0
- package/dist/types/src/commands/halo/credential/list/list.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/identity.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/identity.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/identity/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/join/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/halo/join/join.d.ts +1 -1
- package/dist/types/src/commands/halo/join/join.d.ts.map +1 -0
- package/dist/types/src/commands/halo/join/join.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/keys.d.ts.map +1 -0
- package/dist/types/src/commands/halo/keys/keys.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/recover.d.ts.map +1 -0
- package/dist/types/src/commands/halo/recover/recover.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/seed/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/seed/seed.d.ts.map +1 -0
- package/dist/types/src/commands/halo/share/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/share/share.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/index.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/update.d.ts.map +1 -0
- package/dist/types/src/commands/halo/update/update.test.d.ts.map +1 -0
- package/dist/types/src/commands/halo/util.d.ts.map +1 -0
- package/dist/types/src/commands/index.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/create.d.ts +1 -1
- package/dist/types/src/commands/profile/create.d.ts.map +1 -0
- package/dist/types/src/commands/profile/delete.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/import.d.ts +2 -2
- package/dist/types/src/commands/profile/import.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/index.d.ts +6 -6
- package/dist/types/src/commands/profile/index.d.ts.map +1 -0
- package/dist/types/src/commands/profile/inspect.d.ts.map +1 -0
- package/dist/types/src/commands/profile/list.d.ts.map +1 -0
- package/dist/types/src/{cli/commands → commands}/profile/reset.d.ts +1 -1
- package/dist/types/src/commands/profile/reset.d.ts.map +1 -0
- package/dist/types/src/commands/profile/util.d.ts.map +1 -0
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.d.ts.map +1 -1
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts +165 -165
- package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/JoinDialog/JoinDialog.d.ts.map +1 -1
- package/dist/types/src/containers/JoinDialog/JoinDialog.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ProfileContainer/ProfileContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCodeDialog/index.d.ts.map +1 -1
- package/dist/types/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts +1 -1
- package/dist/types/src/containers/ResetDialog/ResetDialog.stories.d.ts.map +1 -1
- package/dist/types/src/containers/ResetDialog/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/create-agent.d.ts +1 -1
- package/dist/types/src/operations/create-agent.d.ts.map +1 -1
- package/dist/types/src/operations/create-identity.d.ts +1 -1
- package/dist/types/src/operations/create-identity.d.ts.map +1 -1
- package/dist/types/src/operations/create-passkey.d.ts +1 -1
- package/dist/types/src/operations/create-passkey.d.ts.map +1 -1
- package/dist/types/src/operations/create-recovery-code.d.ts +1 -1
- package/dist/types/src/operations/create-recovery-code.d.ts.map +1 -1
- package/dist/types/src/operations/definitions.d.ts +1 -1
- package/dist/types/src/operations/definitions.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +1 -1
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/join-identity.d.ts +1 -1
- package/dist/types/src/operations/join-identity.d.ts.map +1 -1
- package/dist/types/src/operations/recover-identity.d.ts +1 -1
- package/dist/types/src/operations/recover-identity.d.ts.map +1 -1
- package/dist/types/src/operations/redeem-passkey.d.ts +1 -1
- package/dist/types/src/operations/redeem-passkey.d.ts.map +1 -1
- package/dist/types/src/operations/redeem-token.d.ts +1 -1
- package/dist/types/src/operations/redeem-token.d.ts.map +1 -1
- package/dist/types/src/operations/reset-storage.d.ts +1 -1
- package/dist/types/src/operations/reset-storage.d.ts.map +1 -1
- package/dist/types/src/operations/share-identity.d.ts +1 -1
- package/dist/types/src/operations/share-identity.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +1 -0
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/initializeIdentity.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +1 -2
- package/dist/types/src/types/capabilities.d.ts.map +1 -1
- package/dist/types/src/types/events.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +94 -77
- package/src/{cli/plugin.ts → ClientPlugin.node.ts} +4 -2
- package/src/ClientPlugin.test.ts +29 -0
- package/src/ClientPlugin.ts +6 -5
- package/src/capabilities/app-graph-builder.ts +1 -1
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/navigation-handler/navigation-handler.ts +1 -1
- package/src/capabilities/node.ts +1 -1
- package/src/capabilities/operation-handler.ts +1 -1
- package/src/capabilities/react-surface.tsx +13 -16
- package/src/capabilities/schema-defs.ts +29 -9
- package/src/{cli/commands → commands}/halo/create/create.test.ts +8 -3
- package/src/{cli/commands → commands}/halo/create/create.ts +1 -2
- package/src/containers/DevicesContainer/DevicesContainer.stories.tsx +1 -1
- package/src/containers/DevicesContainer/DevicesContainer.tsx +4 -4
- package/src/containers/JoinDialog/JoinDialog.stories.tsx +2 -1
- package/src/containers/JoinDialog/JoinDialog.tsx +1 -1
- package/src/containers/ProfileContainer/ProfileContainer.stories.tsx +2 -1
- package/src/containers/ProfileContainer/ProfileContainer.tsx +2 -2
- package/src/containers/RecoveryCodeDialog/RecoveryCodeDialog.stories.tsx +2 -1
- package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.stories.tsx +1 -1
- package/src/containers/ResetDialog/ResetDialog.stories.tsx +4 -3
- package/src/containers/ResetDialog/ResetDialog.tsx +5 -3
- package/src/index.ts +2 -1
- package/src/meta.ts +1 -0
- package/src/operations/create-agent.ts +1 -1
- package/src/operations/create-identity.ts +2 -2
- package/src/operations/create-passkey.ts +1 -1
- package/src/operations/create-recovery-code.ts +1 -1
- package/src/operations/definitions.ts +1 -1
- package/src/operations/index.ts +1 -1
- package/src/operations/join-identity.ts +1 -1
- package/src/operations/recover-identity.ts +1 -1
- package/src/operations/redeem-passkey.ts +1 -1
- package/src/operations/redeem-token.ts +1 -1
- package/src/operations/reset-storage.ts +2 -2
- package/src/operations/share-identity.ts +2 -2
- package/src/plugin.ts +11 -0
- package/src/testing/index.ts +3 -0
- package/src/translations.ts +2 -3
- package/dist/lib/browser/chunk-M43LJQ5U.mjs.map +0 -7
- package/dist/lib/browser/cli/index.mjs.map +0 -7
- package/dist/lib/browser/create-agent-SS5SE35J.mjs.map +0 -7
- package/dist/lib/browser/create-identity-PBEUEIPN.mjs.map +0 -7
- package/dist/lib/browser/create-passkey-JN6I5WMM.mjs.map +0 -7
- package/dist/lib/browser/create-recovery-code-32I6IWZC.mjs.map +0 -7
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/operations/index.mjs +0 -13
- package/dist/lib/browser/operations/index.mjs.map +0 -7
- package/dist/lib/browser/redeem-passkey-OCIV6VCK.mjs.map +0 -7
- package/dist/lib/browser/redeem-token-6BCRGKV6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-IT5LAIV3.mjs +0 -133
- package/dist/lib/node-esm/chunk-IT5LAIV3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-J5RWSQT6.mjs +0 -14
- package/dist/lib/node-esm/chunk-J5RWSQT6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SJ6FDER5.mjs +0 -176
- package/dist/lib/node-esm/chunk-SJ6FDER5.mjs.map +0 -7
- package/dist/lib/node-esm/cli/index.mjs +0 -1061
- package/dist/lib/node-esm/cli/index.mjs.map +0 -7
- package/dist/lib/node-esm/create-agent-QGEHMHBL.mjs +0 -35
- package/dist/lib/node-esm/create-agent-QGEHMHBL.mjs.map +0 -7
- package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs +0 -31
- package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs.map +0 -7
- package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs +0 -106
- package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs.map +0 -7
- package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs +0 -45
- package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -144
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/join-identity-75JCKQHM.mjs +0 -28
- package/dist/lib/node-esm/join-identity-75JCKQHM.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/operations/index.mjs +0 -14
- package/dist/lib/node-esm/operations/index.mjs.map +0 -7
- package/dist/lib/node-esm/recover-identity-AKGNTUJI.mjs +0 -27
- package/dist/lib/node-esm/recover-identity-AKGNTUJI.mjs.map +0 -7
- package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs +0 -83
- package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs.map +0 -7
- package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs +0 -38
- package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs.map +0 -7
- package/dist/lib/node-esm/reset-storage-OWV5UDMC.mjs +0 -27
- package/dist/lib/node-esm/reset-storage-OWV5UDMC.mjs.map +0 -7
- package/dist/lib/node-esm/share-identity-QZLY3VHE.mjs +0 -32
- package/dist/lib/node-esm/share-identity-QZLY3VHE.mjs.map +0 -7
- package/dist/lib/node-esm/testing/index.mjs +0 -23
- package/dist/lib/node-esm/testing/index.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -15
- package/dist/types/src/cli/commands/config/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/config/view.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/info.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/info/info.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/list/list.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/update/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/update/update.d.ts.map +0 -1
- package/dist/types/src/cli/commands/device/util.d.ts.map +0 -1
- package/dist/types/src/cli/commands/edge/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/edge/status.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/create.d.ts +0 -15
- package/dist/types/src/cli/commands/halo/create/create.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/create.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/create/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/add/add.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/add/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/credential/list/list.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/identity.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/identity.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/identity/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/join.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/join/join.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/keys.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/keys/keys.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/recover.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/recover/recover.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/seed/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/seed/seed.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/share/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/share/share.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/update.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/update/update.test.d.ts.map +0 -1
- package/dist/types/src/cli/commands/halo/util.d.ts.map +0 -1
- package/dist/types/src/cli/commands/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/create.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/delete.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/import.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/index.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/inspect.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/list.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/reset.d.ts.map +0 -1
- package/dist/types/src/cli/commands/profile/util.d.ts.map +0 -1
- package/dist/types/src/cli/index.d.ts +0 -2
- package/dist/types/src/cli/index.d.ts.map +0 -1
- package/dist/types/src/cli/plugin.d.ts.map +0 -1
- package/dist/types/src/cli/testing/test-console.d.ts +0 -37
- package/dist/types/src/cli/testing/test-console.d.ts.map +0 -1
- package/src/cli/index.ts +0 -5
- package/src/cli/testing/test-console.ts +0 -87
- /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ClientPlugin.mjs.map} +0 -0
- /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
- /package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types → neutral/components}/index.mjs.map +0 -0
- /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/index.mjs.map} +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/info.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/info/info.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/list.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/list/list.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/update/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/update/update.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/device/util.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/edge/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/edge/status.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/create/create.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/create/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/add/add.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/add/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/list/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/credential/list/list.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/identity.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/identity/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/join/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/join/join.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/keys/keys.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/recover/recover.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/seed/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/seed/seed.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/share/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/share/share.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/update.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/update/update.test.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/halo/util.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/index.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/delete.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/inspect.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/list.d.ts +0 -0
- /package/dist/types/src/{cli/commands → commands}/profile/util.d.ts +0 -0
- /package/src/{cli/commands → commands}/config/index.ts +0 -0
- /package/src/{cli/commands → commands}/config/view.ts +0 -0
- /package/src/{cli/commands → commands}/device/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/info.test.ts +0 -0
- /package/src/{cli/commands → commands}/device/info/info.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/list.test.ts +0 -0
- /package/src/{cli/commands → commands}/device/list/list.ts +0 -0
- /package/src/{cli/commands → commands}/device/update/index.ts +0 -0
- /package/src/{cli/commands → commands}/device/update/update.ts +0 -0
- /package/src/{cli/commands → commands}/device/util.ts +0 -0
- /package/src/{cli/commands → commands}/edge/index.ts +0 -0
- /package/src/{cli/commands → commands}/edge/status.ts +0 -0
- /package/src/{cli/commands → commands}/halo/create/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/add/add.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/add/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/list.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/credential/list/list.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/identity.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/identity.ts +0 -0
- /package/src/{cli/commands → commands}/halo/identity/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/join.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/join/join.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/keys.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/keys/keys.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/recover.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/recover/recover.ts +0 -0
- /package/src/{cli/commands → commands}/halo/seed/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/seed/seed.ts +0 -0
- /package/src/{cli/commands → commands}/halo/share/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/share/share.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/index.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/update.test.ts +0 -0
- /package/src/{cli/commands → commands}/halo/update/update.ts +0 -0
- /package/src/{cli/commands → commands}/halo/util.ts +0 -0
- /package/src/{cli/commands → commands}/index.ts +0 -0
- /package/src/{cli/commands → commands}/profile/create.ts +0 -0
- /package/src/{cli/commands → commands}/profile/delete.ts +0 -0
- /package/src/{cli/commands → commands}/profile/import.ts +0 -0
- /package/src/{cli/commands → commands}/profile/index.ts +0 -0
- /package/src/{cli/commands → commands}/profile/inspect.ts +0 -0
- /package/src/{cli/commands → commands}/profile/list.ts +0 -0
- /package/src/{cli/commands → commands}/profile/reset.ts +0 -0
- /package/src/{cli/commands → commands}/profile/util.ts +0 -0
package/LICENSE
CHANGED
|
@@ -1,8 +1,105 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c) 2022 DXOS
|
|
1
|
+
# Functional Source License, Version 1.1, ALv2 Future License
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
## Abbreviation
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 DXOS
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
|
|
38
|
+
2. substitutes for any other product or service we offer using the Software
|
|
39
|
+
that exists as of the date we make the Software available; or
|
|
40
|
+
|
|
41
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
42
|
+
|
|
43
|
+
Permitted Purposes specifically include using the Software:
|
|
44
|
+
|
|
45
|
+
1. for your internal use and access;
|
|
46
|
+
|
|
47
|
+
2. for non-commercial education;
|
|
48
|
+
|
|
49
|
+
3. for non-commercial research; and
|
|
50
|
+
|
|
51
|
+
4. in connection with professional services that you provide to a licensee
|
|
52
|
+
using the Software in accordance with these Terms and Conditions.
|
|
53
|
+
|
|
54
|
+
### Patents
|
|
55
|
+
|
|
56
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
57
|
+
patents, the license grant above includes a license under our patents. If you
|
|
58
|
+
make a claim against any party that the Software infringes or contributes to
|
|
59
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
60
|
+
immediately.
|
|
61
|
+
|
|
62
|
+
### Redistribution
|
|
63
|
+
|
|
64
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
65
|
+
the Software.
|
|
66
|
+
|
|
67
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
68
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
69
|
+
remove any copyright notices provided in or with the Software.
|
|
70
|
+
|
|
71
|
+
### Disclaimer
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
75
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
76
|
+
|
|
77
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
78
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
79
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
80
|
+
|
|
81
|
+
### Trademarks
|
|
82
|
+
|
|
83
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
84
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
85
|
+
trademarks, trade names, service marks or product names.
|
|
86
|
+
|
|
87
|
+
## Grant of Future License
|
|
88
|
+
|
|
89
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
90
|
+
the Apache License, Version 2.0 that is effective on the second anniversary of
|
|
91
|
+
the date we make the Software available. On or after that date, you may use the
|
|
92
|
+
Software under the Apache License, Version 2.0, in which case the following
|
|
93
|
+
will apply:
|
|
94
|
+
|
|
95
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
96
|
+
this file except in compliance with the License.
|
|
97
|
+
|
|
98
|
+
You may obtain a copy of the License at
|
|
99
|
+
|
|
100
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
101
|
+
|
|
102
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
103
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
|
+
specific language governing permissions and limitations under the License.
|
package/README.md
CHANGED
|
@@ -12,4 +12,4 @@ Surface plugin for DXOS Client.
|
|
|
12
12
|
|
|
13
13
|
Your ideas, issues, and code are most welcome. Please take a look at our [community code of conduct](https://github.com/dxos/dxos/blob/main/CODE_OF_CONDUCT.md), the [issue guide](https://github.com/dxos/dxos/blob/main/CONTRIBUTING.md#submitting-issues), and the [PR contribution guide](https://github.com/dxos/dxos/blob/main/CONTRIBUTING.md#submitting-prs).
|
|
14
14
|
|
|
15
|
-
License: [
|
|
15
|
+
License: [FSL-1.1-Apache-2.0](./LICENSE) Copyright 2023 © DXOS
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/ClientPlugin.node.ts
|
|
4
4
|
import { ActivationEvents, Capability, Plugin as Plugin2 } from "@dxos/app-framework";
|
|
5
5
|
import { AppActivationEvents, AppPlugin } from "@dxos/app-toolkit";
|
|
6
6
|
import { Client, OperationHandler, SchemaDefs } from "#capabilities";
|
|
7
7
|
import { meta } from "#meta";
|
|
8
8
|
import { ClientEvents } from "#types";
|
|
9
9
|
|
|
10
|
-
// src/
|
|
10
|
+
// src/commands/config/index.ts
|
|
11
11
|
import * as Command2 from "@effect/cli/Command";
|
|
12
12
|
|
|
13
|
-
// src/
|
|
13
|
+
// src/commands/config/view.ts
|
|
14
14
|
import * as Command from "@effect/cli/Command";
|
|
15
15
|
import * as Console from "effect/Console";
|
|
16
16
|
import * as Effect from "effect/Effect";
|
|
@@ -30,15 +30,15 @@ var view = Command.make("view", {}, Effect.fnUntraced(function* () {
|
|
|
30
30
|
}
|
|
31
31
|
}));
|
|
32
32
|
|
|
33
|
-
// src/
|
|
33
|
+
// src/commands/config/index.ts
|
|
34
34
|
var config = Command2.make("config").pipe(Command2.withDescription("Config commands."), Command2.withSubcommands([
|
|
35
35
|
view
|
|
36
36
|
]));
|
|
37
37
|
|
|
38
|
-
// src/
|
|
38
|
+
// src/commands/device/index.ts
|
|
39
39
|
import * as Command6 from "@effect/cli/Command";
|
|
40
40
|
|
|
41
|
-
// src/
|
|
41
|
+
// src/commands/device/info/info.ts
|
|
42
42
|
import * as Command3 from "@effect/cli/Command";
|
|
43
43
|
import * as Console2 from "effect/Console";
|
|
44
44
|
import * as Effect2 from "effect/Effect";
|
|
@@ -47,7 +47,7 @@ import { print } from "@dxos/cli-util";
|
|
|
47
47
|
import { ClientService } from "@dxos/client";
|
|
48
48
|
import { DeviceType as DeviceType2 } from "@dxos/protocols/proto/dxos/halo/credentials";
|
|
49
49
|
|
|
50
|
-
// src/
|
|
50
|
+
// src/commands/device/util.ts
|
|
51
51
|
import { FormBuilder } from "@dxos/cli-util";
|
|
52
52
|
import { Device, DeviceKind, DeviceType } from "@dxos/client/halo";
|
|
53
53
|
var maybeTruncateKey = (key, truncate = false) => truncate ? key.truncate() : key.toHex();
|
|
@@ -80,7 +80,7 @@ var printDevices = (devices) => {
|
|
|
80
80
|
return devices.map(printDevice);
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
// src/
|
|
83
|
+
// src/commands/device/info/info.ts
|
|
84
84
|
var handler = Effect2.fn(function* () {
|
|
85
85
|
const { json } = yield* CommandConfig2;
|
|
86
86
|
const client = yield* ClientService;
|
|
@@ -109,7 +109,7 @@ var handler = Effect2.fn(function* () {
|
|
|
109
109
|
});
|
|
110
110
|
var info = Command3.make("info", {}, handler).pipe(Command3.withDescription("Show device info."));
|
|
111
111
|
|
|
112
|
-
// src/
|
|
112
|
+
// src/commands/device/list/list.ts
|
|
113
113
|
import * as Command4 from "@effect/cli/Command";
|
|
114
114
|
import * as Console3 from "effect/Console";
|
|
115
115
|
import * as Effect3 from "effect/Effect";
|
|
@@ -129,7 +129,7 @@ var handler2 = Effect3.fn(function* () {
|
|
|
129
129
|
});
|
|
130
130
|
var list = Command4.make("list", {}, handler2).pipe(Command4.withDescription("List devices."));
|
|
131
131
|
|
|
132
|
-
// src/
|
|
132
|
+
// src/commands/device/update/update.ts
|
|
133
133
|
import * as Command5 from "@effect/cli/Command";
|
|
134
134
|
import * as Options from "@effect/cli/Options";
|
|
135
135
|
import * as Console4 from "effect/Console";
|
|
@@ -180,17 +180,17 @@ var update = Command5.make("update", {
|
|
|
180
180
|
label: Options.text("label").pipe(Options.withDescription("The device label."))
|
|
181
181
|
}, handler3).pipe(Command5.withDescription("Update device label."));
|
|
182
182
|
|
|
183
|
-
// src/
|
|
183
|
+
// src/commands/device/index.ts
|
|
184
184
|
var device = Command6.make("device").pipe(Command6.withDescription("Manage HALO devices."), Command6.withSubcommands([
|
|
185
185
|
info,
|
|
186
186
|
list,
|
|
187
187
|
update
|
|
188
188
|
]));
|
|
189
189
|
|
|
190
|
-
// src/
|
|
190
|
+
// src/commands/edge/index.ts
|
|
191
191
|
import * as Command8 from "@effect/cli/Command";
|
|
192
192
|
|
|
193
|
-
// src/
|
|
193
|
+
// src/commands/edge/status.ts
|
|
194
194
|
import * as Command7 from "@effect/cli/Command";
|
|
195
195
|
import * as Console5 from "effect/Console";
|
|
196
196
|
import * as Effect5 from "effect/Effect";
|
|
@@ -199,15 +199,12 @@ import { CommandConfig as CommandConfig5 } from "@dxos/cli-util";
|
|
|
199
199
|
import { ClientService as ClientService4 } from "@dxos/client";
|
|
200
200
|
import { createEdgeIdentity } from "@dxos/client/edge";
|
|
201
201
|
import { Context } from "@dxos/context";
|
|
202
|
-
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/
|
|
202
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-client/src/commands/edge/status.ts";
|
|
203
203
|
var getStatus = () => Effect5.gen(function* () {
|
|
204
204
|
const client = yield* ClientService4;
|
|
205
205
|
const identity2 = createEdgeIdentity(client);
|
|
206
206
|
client.edge.http.setIdentity(identity2);
|
|
207
|
-
const status2 = yield* Effect5.tryPromise(() => client.edge.http.getStatus(Context.default(void 0, {
|
|
208
|
-
F: __dxlog_file,
|
|
209
|
-
L: 20
|
|
210
|
-
})));
|
|
207
|
+
const status2 = yield* Effect5.tryPromise(() => client.edge.http.getStatus(Context.default(void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 16 })));
|
|
211
208
|
if (yield* CommandConfig5.isJson) {
|
|
212
209
|
yield* Console5.log(JSON.stringify(status2, null, 2));
|
|
213
210
|
} else if (status2.problems.length > 0) {
|
|
@@ -229,21 +226,22 @@ var getStatus = () => Effect5.gen(function* () {
|
|
|
229
226
|
);
|
|
230
227
|
var status = Command7.make("status", {}, getStatus).pipe(Command7.withDescription("Get the EDGE status for the current identity."));
|
|
231
228
|
|
|
232
|
-
// src/
|
|
229
|
+
// src/commands/edge/index.ts
|
|
233
230
|
var edge = Command8.make("edge").pipe(Command8.withDescription("EDGE commands."), Command8.withSubcommands([
|
|
234
231
|
status
|
|
235
232
|
]));
|
|
236
233
|
|
|
237
|
-
// src/
|
|
234
|
+
// src/commands/halo/index.ts
|
|
238
235
|
import * as Command18 from "@effect/cli/Command";
|
|
239
236
|
|
|
240
|
-
// src/
|
|
237
|
+
// src/commands/halo/create/create.ts
|
|
241
238
|
import * as Command9 from "@effect/cli/Command";
|
|
242
239
|
import * as Options2 from "@effect/cli/Options";
|
|
243
240
|
import * as Console6 from "effect/Console";
|
|
244
241
|
import * as Effect6 from "effect/Effect";
|
|
245
242
|
import * as Option2 from "effect/Option";
|
|
246
243
|
import { Capabilities, Plugin } from "@dxos/app-framework";
|
|
244
|
+
import { PERSONAL_SPACE_TAG } from "@dxos/app-toolkit";
|
|
247
245
|
import { CommandConfig as CommandConfig6, flushAndSync, spaceLayer } from "@dxos/cli-util";
|
|
248
246
|
import { print as print3 } from "@dxos/cli-util";
|
|
249
247
|
import { ClientService as ClientService5 } from "@dxos/client";
|
|
@@ -252,26 +250,18 @@ import { EdgeReplicationSetting } from "@dxos/protocols/proto/dxos/echo/metadata
|
|
|
252
250
|
import { MembershipPolicy } from "@dxos/protocols/proto/dxos/halo/credentials";
|
|
253
251
|
import { ClientOperation } from "#operations";
|
|
254
252
|
|
|
255
|
-
// src/
|
|
253
|
+
// src/commands/halo/util.ts
|
|
256
254
|
import { FormBuilder as FormBuilder2 } from "@dxos/cli-util";
|
|
257
255
|
var printIdentity = (identity2) => FormBuilder2.make({
|
|
258
256
|
title: "Identity"
|
|
259
257
|
}).pipe(FormBuilder2.set("identityKey", identity2.identityKey.truncate()), FormBuilder2.set("displayName", identity2.profile?.displayName ?? "<none>"), FormBuilder2.build);
|
|
260
258
|
|
|
261
|
-
// src/
|
|
262
|
-
var __dxlog_file2 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/
|
|
259
|
+
// src/commands/halo/create/create.ts
|
|
260
|
+
var __dxlog_file2 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/commands/halo/create/create.ts";
|
|
263
261
|
var handler4 = Effect6.fn(function* ({ agent, displayName }) {
|
|
264
262
|
const { json } = yield* CommandConfig6;
|
|
265
263
|
const client = yield* ClientService5;
|
|
266
|
-
invariant(!client.halo.identity.get(), "Identity already exists", {
|
|
267
|
-
F: __dxlog_file2,
|
|
268
|
-
L: 33,
|
|
269
|
-
S: this,
|
|
270
|
-
A: [
|
|
271
|
-
"!client.halo.identity.get()",
|
|
272
|
-
"'Identity already exists'"
|
|
273
|
-
]
|
|
274
|
-
});
|
|
264
|
+
invariant(!client.halo.identity.get(), "Identity already exists", { "~LogMeta": "~LogMeta", F: __dxlog_file2, L: 23, S: this, A: ["!client.halo.identity.get()", "'Identity already exists'"] });
|
|
275
265
|
const manager = yield* Plugin.Service;
|
|
276
266
|
const { invoke } = manager.capabilities.get(Capabilities.OperationInvoker);
|
|
277
267
|
const identity2 = yield* invoke(ClientOperation.CreateIdentity, {
|
|
@@ -280,7 +270,6 @@ var handler4 = Effect6.fn(function* ({ agent, displayName }) {
|
|
|
280
270
|
if (agent) {
|
|
281
271
|
yield* invoke(ClientOperation.CreateAgent);
|
|
282
272
|
}
|
|
283
|
-
const { PERSONAL_SPACE_TAG, setPersonalSpace } = yield* Effect6.tryPromise(() => import("@dxos/app-toolkit"));
|
|
284
273
|
const space = yield* Effect6.promise(() => client.spaces.create({}, {
|
|
285
274
|
tags: [
|
|
286
275
|
PERSONAL_SPACE_TAG
|
|
@@ -289,7 +278,6 @@ var handler4 = Effect6.fn(function* ({ agent, displayName }) {
|
|
|
289
278
|
}));
|
|
290
279
|
yield* Effect6.promise(() => space.waitUntilReady());
|
|
291
280
|
yield* Effect6.promise(() => space.internal.setEdgeReplicationPreference(EdgeReplicationSetting.ENABLED));
|
|
292
|
-
setPersonalSpace(space);
|
|
293
281
|
yield* flushAndSync({
|
|
294
282
|
indexes: true
|
|
295
283
|
}).pipe(Effect6.provide(spaceLayer(Option2.some(space.id))));
|
|
@@ -309,10 +297,10 @@ var create = Command9.make("create", {
|
|
|
309
297
|
displayName: Options2.text("displayName").pipe(Options2.withDescription("The display name of the identity."), Options2.optional)
|
|
310
298
|
}, handler4).pipe(Command9.withDescription("Create a new identity."));
|
|
311
299
|
|
|
312
|
-
// src/
|
|
300
|
+
// src/commands/halo/credential/index.ts
|
|
313
301
|
import * as Command12 from "@effect/cli/Command";
|
|
314
302
|
|
|
315
|
-
// src/
|
|
303
|
+
// src/commands/halo/credential/add/add.ts
|
|
316
304
|
import * as Args from "@effect/cli/Args";
|
|
317
305
|
import * as Command10 from "@effect/cli/Command";
|
|
318
306
|
import * as Prompt from "@effect/cli/Prompt";
|
|
@@ -323,7 +311,7 @@ import { CommandConfig as CommandConfig7 } from "@dxos/cli-util";
|
|
|
323
311
|
import { ClientService as ClientService6 } from "@dxos/client";
|
|
324
312
|
import { invariant as invariant2 } from "@dxos/invariant";
|
|
325
313
|
import { schema } from "@dxos/protocols/proto";
|
|
326
|
-
var __dxlog_file3 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/
|
|
314
|
+
var __dxlog_file3 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/commands/halo/credential/add/add.ts";
|
|
327
315
|
var handler5 = Effect7.fn(function* ({ credential: credential2 }) {
|
|
328
316
|
const { json } = yield* CommandConfig7;
|
|
329
317
|
const client = yield* ClientService6;
|
|
@@ -333,15 +321,7 @@ var handler5 = Effect7.fn(function* ({ credential: credential2 }) {
|
|
|
333
321
|
message: "Enter credential (hex string)"
|
|
334
322
|
}).pipe(Prompt.run);
|
|
335
323
|
}
|
|
336
|
-
invariant2(credentialHex, "Invalid credential.", {
|
|
337
|
-
F: __dxlog_file3,
|
|
338
|
-
L: 26,
|
|
339
|
-
S: this,
|
|
340
|
-
A: [
|
|
341
|
-
"credentialHex",
|
|
342
|
-
"'Invalid credential.'"
|
|
343
|
-
]
|
|
344
|
-
});
|
|
324
|
+
invariant2(credentialHex, "Invalid credential.", { "~LogMeta": "~LogMeta", F: __dxlog_file3, L: 23, S: this, A: ["credentialHex", "'Invalid credential.'"] });
|
|
345
325
|
const identity2 = client.halo.identity;
|
|
346
326
|
if (!identity2) {
|
|
347
327
|
if (json) {
|
|
@@ -398,7 +378,7 @@ var add = Command10.make("add", {
|
|
|
398
378
|
}).pipe(Args.withDescription("Credential as hex string."), Args.optional)
|
|
399
379
|
}, handler5).pipe(Command10.withDescription("Import credential into HALO."));
|
|
400
380
|
|
|
401
|
-
// src/
|
|
381
|
+
// src/commands/halo/credential/list/list.ts
|
|
402
382
|
import * as Command11 from "@effect/cli/Command";
|
|
403
383
|
import * as Options3 from "@effect/cli/Options";
|
|
404
384
|
import * as Console8 from "effect/Console";
|
|
@@ -469,13 +449,13 @@ var list2 = Command11.make("list", {
|
|
|
469
449
|
delay: Options3.integer("delay").pipe(Options3.withDescription("Delay in milliseconds before listing."), Options3.withDefault(250))
|
|
470
450
|
}, handler6).pipe(Command11.withDescription("List HALO credentials."));
|
|
471
451
|
|
|
472
|
-
// src/
|
|
452
|
+
// src/commands/halo/credential/index.ts
|
|
473
453
|
var credential = Command12.make("credential").pipe(Command12.withDescription("Manage HALO credentials."), Command12.withSubcommands([
|
|
474
454
|
add,
|
|
475
455
|
list2
|
|
476
456
|
]));
|
|
477
457
|
|
|
478
|
-
// src/
|
|
458
|
+
// src/commands/halo/identity/identity.ts
|
|
479
459
|
import * as Command13 from "@effect/cli/Command";
|
|
480
460
|
import * as Console9 from "effect/Console";
|
|
481
461
|
import * as Effect9 from "effect/Effect";
|
|
@@ -507,7 +487,7 @@ var handler7 = Effect9.fn(function* () {
|
|
|
507
487
|
});
|
|
508
488
|
var identity = Command13.make("identity", {}, handler7).pipe(Command13.withDescription("Get the current identity."));
|
|
509
489
|
|
|
510
|
-
// src/
|
|
490
|
+
// src/commands/halo/keys/keys.ts
|
|
511
491
|
import * as Command14 from "@effect/cli/Command";
|
|
512
492
|
import * as Console10 from "effect/Console";
|
|
513
493
|
import * as Effect10 from "effect/Effect";
|
|
@@ -534,7 +514,7 @@ var handler8 = Effect10.fn(function* () {
|
|
|
534
514
|
});
|
|
535
515
|
var keys = Command14.make("keys", {}, handler8).pipe(Command14.withDescription("Show HALO keys."));
|
|
536
516
|
|
|
537
|
-
// src/
|
|
517
|
+
// src/commands/halo/recover/recover.ts
|
|
538
518
|
import * as Args2 from "@effect/cli/Args";
|
|
539
519
|
import * as Command15 from "@effect/cli/Command";
|
|
540
520
|
import * as Console11 from "effect/Console";
|
|
@@ -542,7 +522,7 @@ import * as Effect11 from "effect/Effect";
|
|
|
542
522
|
import { CommandConfig as CommandConfig11, print as print6 } from "@dxos/cli-util";
|
|
543
523
|
import { ClientService as ClientService10 } from "@dxos/client";
|
|
544
524
|
import { invariant as invariant3 } from "@dxos/invariant";
|
|
545
|
-
var __dxlog_file4 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/
|
|
525
|
+
var __dxlog_file4 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/commands/halo/recover/recover.ts";
|
|
546
526
|
var recover = Command15.make("recover", {
|
|
547
527
|
recoveryCode: Args2.text({
|
|
548
528
|
name: "recoveryCode"
|
|
@@ -550,15 +530,7 @@ var recover = Command15.make("recover", {
|
|
|
550
530
|
}, Effect11.fn(function* ({ recoveryCode }) {
|
|
551
531
|
const { json } = yield* CommandConfig11;
|
|
552
532
|
const client = yield* ClientService10;
|
|
553
|
-
invariant3(!client.halo.identity.get(), "Identity already exists", {
|
|
554
|
-
F: __dxlog_file4,
|
|
555
|
-
L: 25,
|
|
556
|
-
S: this,
|
|
557
|
-
A: [
|
|
558
|
-
"!client.halo.identity.get()",
|
|
559
|
-
"'Identity already exists'"
|
|
560
|
-
]
|
|
561
|
-
});
|
|
533
|
+
invariant3(!client.halo.identity.get(), "Identity already exists", { "~LogMeta": "~LogMeta", F: __dxlog_file4, L: 20, S: this, A: ["!client.halo.identity.get()", "'Identity already exists'"] });
|
|
562
534
|
const identity2 = yield* Effect11.tryPromise(() => client.halo.recoverIdentity({
|
|
563
535
|
recoveryCode
|
|
564
536
|
}));
|
|
@@ -573,7 +545,7 @@ var recover = Command15.make("recover", {
|
|
|
573
545
|
}
|
|
574
546
|
})).pipe(Command15.withDescription("Recover an existing identity using a recovery code."));
|
|
575
547
|
|
|
576
|
-
// src/
|
|
548
|
+
// src/commands/halo/seed/seed.ts
|
|
577
549
|
import * as Command16 from "@effect/cli/Command";
|
|
578
550
|
import * as Console12 from "effect/Console";
|
|
579
551
|
import * as Effect12 from "effect/Effect";
|
|
@@ -604,7 +576,7 @@ var handler9 = Effect12.fn(function* () {
|
|
|
604
576
|
});
|
|
605
577
|
var seed = Command16.make("seed", {}, handler9).pipe(Command16.withDescription("Generate a seedphrase that can be used for identity recovery."));
|
|
606
578
|
|
|
607
|
-
// src/
|
|
579
|
+
// src/commands/halo/update/update.ts
|
|
608
580
|
import * as Command17 from "@effect/cli/Command";
|
|
609
581
|
import * as Options4 from "@effect/cli/Options";
|
|
610
582
|
import * as Console13 from "effect/Console";
|
|
@@ -653,7 +625,7 @@ var update2 = Command17.make("update", {
|
|
|
653
625
|
displayName: Options4.text("displayName").pipe(Options4.withDescription("The display name of the identity."))
|
|
654
626
|
}, handler10).pipe(Command17.withDescription("Update identity profile."));
|
|
655
627
|
|
|
656
|
-
// src/
|
|
628
|
+
// src/commands/halo/index.ts
|
|
657
629
|
var halo = Command18.make("halo").pipe(Command18.withDescription("Manage HALO identity."), Command18.withSubcommands([
|
|
658
630
|
create,
|
|
659
631
|
credential,
|
|
@@ -664,10 +636,10 @@ var halo = Command18.make("halo").pipe(Command18.withDescription("Manage HALO id
|
|
|
664
636
|
update2
|
|
665
637
|
]));
|
|
666
638
|
|
|
667
|
-
// src/
|
|
639
|
+
// src/commands/profile/index.ts
|
|
668
640
|
import * as Command25 from "@effect/cli/Command";
|
|
669
641
|
|
|
670
|
-
// src/
|
|
642
|
+
// src/commands/profile/create.ts
|
|
671
643
|
import * as Command19 from "@effect/cli/Command";
|
|
672
644
|
import * as Options5 from "@effect/cli/Options";
|
|
673
645
|
import * as FileSystem from "@effect/platform/FileSystem";
|
|
@@ -680,7 +652,7 @@ import { CommandConfig as CommandConfig14, print as print8 } from "@dxos/cli-uti
|
|
|
680
652
|
import { DX_CONFIG as DX_CONFIG2, getProfileConfigPath as getProfileConfigPath2 } from "@dxos/client-protocol";
|
|
681
653
|
import { trim } from "@dxos/util";
|
|
682
654
|
|
|
683
|
-
// src/
|
|
655
|
+
// src/commands/profile/util.ts
|
|
684
656
|
import { FormBuilder as FormBuilder5 } from "@dxos/cli-util";
|
|
685
657
|
var printProfileCreated = (name, path) => FormBuilder5.make({
|
|
686
658
|
title: "Profile created"
|
|
@@ -698,7 +670,7 @@ var printProfile = (profile2) => {
|
|
|
698
670
|
}).pipe(FormBuilder5.set("fullPath", profile2.fullPath), FormBuilder5.set("storagePath", profile2.storagePath), FormBuilder5.set("edge", profile2.edge ?? "<none>"), FormBuilder5.build);
|
|
699
671
|
};
|
|
700
672
|
|
|
701
|
-
// src/
|
|
673
|
+
// src/commands/profile/create.ts
|
|
702
674
|
var TEMPLATES = {
|
|
703
675
|
default: trim`
|
|
704
676
|
version: 1
|
|
@@ -767,7 +739,7 @@ var create2 = Command19.make("create", {
|
|
|
767
739
|
}
|
|
768
740
|
}));
|
|
769
741
|
|
|
770
|
-
// src/
|
|
742
|
+
// src/commands/profile/delete.ts
|
|
771
743
|
import * as Command20 from "@effect/cli/Command";
|
|
772
744
|
import * as Options6 from "@effect/cli/Options";
|
|
773
745
|
import * as FileSystem3 from "@effect/platform/FileSystem";
|
|
@@ -796,7 +768,7 @@ var del = Command20.make("delete", {
|
|
|
796
768
|
}
|
|
797
769
|
}));
|
|
798
770
|
|
|
799
|
-
// src/
|
|
771
|
+
// src/commands/profile/import.ts
|
|
800
772
|
import * as Command21 from "@effect/cli/Command";
|
|
801
773
|
import * as Options7 from "@effect/cli/Options";
|
|
802
774
|
import * as Prompt2 from "@effect/cli/Prompt";
|
|
@@ -808,7 +780,7 @@ import * as Option8 from "effect/Option";
|
|
|
808
780
|
import { CommandConfig as CommandConfig16 } from "@dxos/cli-util";
|
|
809
781
|
import { ConfigService as ConfigService2 } from "@dxos/config";
|
|
810
782
|
import { log as log17 } from "@dxos/log";
|
|
811
|
-
var __dxlog_file5 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/
|
|
783
|
+
var __dxlog_file5 = "/__w/dxos/dxos/packages/plugins/plugin-client/src/commands/profile/import.ts";
|
|
812
784
|
var handler11 = Effect16.fn(function* ({ file, dataDir, force }) {
|
|
813
785
|
const dataDirValue = Option8.getOrUndefined(dataDir);
|
|
814
786
|
const { json, profile: profile2 } = yield* CommandConfig16;
|
|
@@ -840,12 +812,7 @@ var handler11 = Effect16.fn(function* ({ file, dataDir, force }) {
|
|
|
840
812
|
if (yield* fs.exists(storageConfig.dataRoot)) {
|
|
841
813
|
log17.error("data directory already exists", {
|
|
842
814
|
path: storageConfig.dataRoot
|
|
843
|
-
}, {
|
|
844
|
-
F: __dxlog_file5,
|
|
845
|
-
L: 61,
|
|
846
|
-
S: this,
|
|
847
|
-
C: (f, a) => f(...a)
|
|
848
|
-
});
|
|
815
|
+
}, { "~LogMeta": "~LogMeta", F: __dxlog_file5, L: 44, S: this });
|
|
849
816
|
if (json) {
|
|
850
817
|
yield* Console16.log(JSON.stringify({
|
|
851
818
|
error: "Data directory already exists"
|
|
@@ -888,7 +855,7 @@ var importCommand = Command21.make("import", {
|
|
|
888
855
|
}).pipe(Options7.withDescription("Skip confirmation prompt."))
|
|
889
856
|
}, handler11).pipe(Command21.withDescription("Import profile."));
|
|
890
857
|
|
|
891
|
-
// src/
|
|
858
|
+
// src/commands/profile/inspect.ts
|
|
892
859
|
import * as Command22 from "@effect/cli/Command";
|
|
893
860
|
import * as Options8 from "@effect/cli/Options";
|
|
894
861
|
import * as FileSystem7 from "@effect/platform/FileSystem";
|
|
@@ -931,7 +898,7 @@ var inspect = Command22.make("inspect", {
|
|
|
931
898
|
}).pipe(Options8.withDescription("List storage entries."))
|
|
932
899
|
}, handler12).pipe(Command22.withDescription("Inspect profile archive."));
|
|
933
900
|
|
|
934
|
-
// src/
|
|
901
|
+
// src/commands/profile/list.ts
|
|
935
902
|
import * as Command23 from "@effect/cli/Command";
|
|
936
903
|
import * as FileSystem9 from "@effect/platform/FileSystem";
|
|
937
904
|
import * as Path5 from "@effect/platform/Path";
|
|
@@ -971,7 +938,7 @@ var list3 = Command23.make("list", {}, Effect18.fnUntraced(function* () {
|
|
|
971
938
|
}
|
|
972
939
|
}));
|
|
973
940
|
|
|
974
|
-
// src/
|
|
941
|
+
// src/commands/profile/reset.ts
|
|
975
942
|
import * as Command24 from "@effect/cli/Command";
|
|
976
943
|
import * as Options9 from "@effect/cli/Options";
|
|
977
944
|
import * as Prompt3 from "@effect/cli/Prompt";
|
|
@@ -1012,7 +979,7 @@ var reset = Command24.make("reset", {
|
|
|
1012
979
|
}
|
|
1013
980
|
}));
|
|
1014
981
|
|
|
1015
|
-
// src/
|
|
982
|
+
// src/commands/profile/index.ts
|
|
1016
983
|
var profile = Command25.make("profile").pipe(Command25.withDescription("Profile commands."), Command25.withSubcommands([
|
|
1017
984
|
create2,
|
|
1018
985
|
del,
|
|
@@ -1022,7 +989,7 @@ var profile = Command25.make("profile").pipe(Command25.withDescription("Profile
|
|
|
1022
989
|
reset
|
|
1023
990
|
]));
|
|
1024
991
|
|
|
1025
|
-
// src/
|
|
992
|
+
// src/ClientPlugin.node.ts
|
|
1026
993
|
var ClientPlugin = Plugin2.define(meta).pipe(
|
|
1027
994
|
// TODO(wittjosiah): Could some of these commands make use of operations?
|
|
1028
995
|
AppPlugin.addCommandModule({
|
|
@@ -1040,21 +1007,23 @@ var ClientPlugin = Plugin2.define(meta).pipe(
|
|
|
1040
1007
|
Plugin2.addModule((options) => ({
|
|
1041
1008
|
id: Capability.getModuleTag(Client),
|
|
1042
1009
|
activatesOn: ActivationEvents.Startup,
|
|
1043
|
-
|
|
1010
|
+
firesAfterActivation: [
|
|
1044
1011
|
ClientEvents.ClientReady
|
|
1045
1012
|
],
|
|
1046
1013
|
activate: () => Client(options)
|
|
1047
1014
|
})),
|
|
1048
1015
|
Plugin2.addModule({
|
|
1049
1016
|
activatesOn: ClientEvents.ClientReady,
|
|
1050
|
-
|
|
1017
|
+
firesBeforeActivation: [
|
|
1051
1018
|
AppActivationEvents.SetupSchema
|
|
1052
1019
|
],
|
|
1053
1020
|
activate: SchemaDefs
|
|
1054
1021
|
}),
|
|
1055
1022
|
Plugin2.make
|
|
1056
1023
|
);
|
|
1024
|
+
var ClientPlugin_node_default = ClientPlugin;
|
|
1057
1025
|
export {
|
|
1058
|
-
ClientPlugin
|
|
1026
|
+
ClientPlugin,
|
|
1027
|
+
ClientPlugin_node_default as default
|
|
1059
1028
|
};
|
|
1060
|
-
//# sourceMappingURL=
|
|
1029
|
+
//# sourceMappingURL=ClientPlugin.node.mjs.map
|