@dxos/plugin-client 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef
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/dist/lib/browser/{chunk-WNJRYPGG.mjs → chunk-M37DHX5L.mjs} +1 -1
- package/dist/lib/browser/{chunk-WNJRYPGG.mjs.map → chunk-M37DHX5L.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-M43LJQ5U.mjs → chunk-RPMM5NKJ.mjs} +2 -2
- package/dist/lib/browser/chunk-RPMM5NKJ.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ELAYKIQU.mjs → chunk-VAIJSQYA.mjs} +1 -1
- package/dist/lib/browser/{chunk-ELAYKIQU.mjs.map → chunk-VAIJSQYA.mjs.map} +2 -2
- package/dist/lib/browser/{create-agent-SS5SE35J.mjs → create-agent-JV3EM3TV.mjs} +5 -13
- package/dist/lib/browser/create-agent-JV3EM3TV.mjs.map +7 -0
- package/dist/lib/browser/{create-identity-PBEUEIPN.mjs → create-identity-ZITQKEVZ.mjs} +4 -4
- package/dist/lib/browser/create-identity-ZITQKEVZ.mjs.map +7 -0
- package/dist/lib/browser/{create-passkey-JN6I5WMM.mjs → create-passkey-NCP4XA7C.mjs} +7 -31
- package/dist/lib/browser/create-passkey-NCP4XA7C.mjs.map +7 -0
- package/dist/lib/browser/{create-recovery-code-32I6IWZC.mjs → create-recovery-code-L5LA3GAP.mjs} +6 -14
- package/dist/lib/browser/create-recovery-code-L5LA3GAP.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +7 -127
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/{join-identity-2BP4G2SD.mjs → join-identity-3W6PJLKN.mjs} +4 -4
- package/dist/lib/browser/{join-identity-2BP4G2SD.mjs.map → join-identity-3W6PJLKN.mjs.map} +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operations/index.mjs +3 -3
- package/dist/lib/browser/operations/index.mjs.map +3 -3
- package/dist/lib/browser/{recover-identity-LS6B5INB.mjs → recover-identity-KL6QY4GI.mjs} +4 -4
- package/dist/lib/browser/{recover-identity-LS6B5INB.mjs.map → recover-identity-KL6QY4GI.mjs.map} +1 -1
- package/dist/lib/browser/{redeem-passkey-OCIV6VCK.mjs → redeem-passkey-NDEWSJTM.mjs} +6 -22
- package/dist/lib/browser/redeem-passkey-NDEWSJTM.mjs.map +7 -0
- package/dist/lib/browser/{redeem-token-6BCRGKV6.mjs → redeem-token-YLWAVFXD.mjs} +5 -13
- package/dist/lib/browser/redeem-token-YLWAVFXD.mjs.map +7 -0
- package/dist/lib/browser/{reset-storage-QJLTL7J3.mjs → reset-storage-OBHEGA6Z.mjs} +4 -4
- package/dist/lib/browser/{reset-storage-QJLTL7J3.mjs.map → reset-storage-OBHEGA6Z.mjs.map} +1 -1
- package/dist/lib/browser/{share-identity-YJEBJTPA.mjs → share-identity-FTFHFSZQ.mjs} +4 -4
- package/dist/lib/browser/{share-identity-YJEBJTPA.mjs.map → share-identity-FTFHFSZQ.mjs.map} +1 -1
- package/dist/lib/browser/testing/index.mjs.map +2 -2
- package/dist/lib/browser/translations.mjs +74 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{chunk-SJ6FDER5.mjs → chunk-G77YYPR6.mjs} +2 -2
- package/dist/lib/node-esm/chunk-G77YYPR6.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-J5RWSQT6.mjs → chunk-OHKM7GJW.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-J5RWSQT6.mjs.map → chunk-OHKM7GJW.mjs.map} +2 -2
- package/dist/lib/node-esm/{chunk-IT5LAIV3.mjs → chunk-UBY7FBQ7.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-IT5LAIV3.mjs.map → chunk-UBY7FBQ7.mjs.map} +2 -2
- package/dist/lib/node-esm/{create-agent-QGEHMHBL.mjs → create-agent-Y4BPVDV7.mjs} +5 -13
- package/dist/lib/node-esm/create-agent-Y4BPVDV7.mjs.map +7 -0
- package/dist/lib/node-esm/{create-identity-EHRJQOO4.mjs → create-identity-367SQSX6.mjs} +4 -4
- package/dist/lib/node-esm/create-identity-367SQSX6.mjs.map +7 -0
- package/dist/lib/node-esm/{create-passkey-PFBHHBEQ.mjs → create-passkey-WMWK2ETT.mjs} +7 -31
- package/dist/lib/node-esm/create-passkey-WMWK2ETT.mjs.map +7 -0
- package/dist/lib/node-esm/{create-recovery-code-HBAM2A72.mjs → create-recovery-code-VJGE5HJL.mjs} +6 -14
- package/dist/lib/node-esm/create-recovery-code-VJGE5HJL.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +7 -127
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/{join-identity-75JCKQHM.mjs → join-identity-IRIRO2VT.mjs} +4 -4
- package/dist/lib/node-esm/{join-identity-75JCKQHM.mjs.map → join-identity-IRIRO2VT.mjs.map} +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operations/index.mjs +3 -3
- package/dist/lib/node-esm/operations/index.mjs.map +3 -3
- package/dist/lib/node-esm/{recover-identity-AKGNTUJI.mjs → recover-identity-LJCY4BCJ.mjs} +4 -4
- package/dist/lib/node-esm/{recover-identity-AKGNTUJI.mjs.map → recover-identity-LJCY4BCJ.mjs.map} +1 -1
- package/dist/lib/node-esm/{redeem-passkey-FZO3LZ57.mjs → redeem-passkey-PT7QWFJE.mjs} +6 -22
- package/dist/lib/node-esm/redeem-passkey-PT7QWFJE.mjs.map +7 -0
- package/dist/lib/node-esm/{redeem-token-IHHIAIQ2.mjs → redeem-token-BHKHEXJM.mjs} +5 -13
- package/dist/lib/node-esm/redeem-token-BHKHEXJM.mjs.map +7 -0
- package/dist/lib/node-esm/{reset-storage-S5MJITI3.mjs → reset-storage-VPUZJOUV.mjs} +4 -4
- package/dist/lib/node-esm/{reset-storage-S5MJITI3.mjs.map → reset-storage-VPUZJOUV.mjs.map} +1 -1
- package/dist/lib/node-esm/{share-identity-QZLY3VHE.mjs → share-identity-SZ3REIRC.mjs} +4 -4
- package/dist/lib/node-esm/{share-identity-QZLY3VHE.mjs.map → share-identity-SZ3REIRC.mjs.map} +1 -1
- package/dist/lib/node-esm/testing/index.mjs.map +2 -2
- package/dist/lib/node-esm/translations.mjs +75 -0
- package/dist/lib/node-esm/translations.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +1 -1
- 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 +13 -13
- 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/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/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 +51 -58
- 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/JoinDialog/JoinDialog.stories.tsx +2 -1
- package/src/containers/ProfileContainer/ProfileContainer.stories.tsx +2 -1
- 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 +2 -1
- package/src/index.ts +5 -1
- package/src/operations/create-agent.ts +1 -1
- package/src/operations/create-identity.ts +1 -1
- 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 +1 -1
- package/src/operations/share-identity.ts +1 -1
- package/src/translations.ts +2 -3
- package/dist/lib/browser/chunk-M43LJQ5U.mjs.map +0 -7
- package/dist/lib/browser/cli/index.mjs +0 -1060
- 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/redeem-passkey-OCIV6VCK.mjs.map +0 -7
- package/dist/lib/browser/redeem-token-6BCRGKV6.mjs.map +0 -7
- 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.map +0 -7
- package/dist/lib/node-esm/create-identity-EHRJQOO4.mjs.map +0 -7
- package/dist/lib/node-esm/create-passkey-PFBHHBEQ.mjs.map +0 -7
- package/dist/lib/node-esm/create-recovery-code-HBAM2A72.mjs.map +0 -7
- package/dist/lib/node-esm/redeem-passkey-FZO3LZ57.mjs.map +0 -7
- package/dist/lib/node-esm/redeem-token-IHHIAIQ2.mjs.map +0 -7
- 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/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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cli/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/cli/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgC,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAM3E,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,eAAO,MAAM,YAAY,2CAgBxB,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as Console from 'effect/Console';
|
|
2
|
-
import * as Context from 'effect/Context';
|
|
3
|
-
import * as Layer from 'effect/Layer';
|
|
4
|
-
declare class TestConsoleService {
|
|
5
|
-
private _logs;
|
|
6
|
-
readonly console: Console.Console;
|
|
7
|
-
constructor(console: Console.Console);
|
|
8
|
-
get logs(): {
|
|
9
|
-
level: string;
|
|
10
|
-
args: unknown;
|
|
11
|
-
message: string;
|
|
12
|
-
}[];
|
|
13
|
-
clear(): void;
|
|
14
|
-
}
|
|
15
|
-
export declare namespace TestConsole {
|
|
16
|
-
const TestConsole_base: Context.TagClass<TestConsole, "TestConsole", TestConsoleService>;
|
|
17
|
-
export class TestConsole extends TestConsole_base {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Extract JSON string from log arguments.
|
|
21
|
-
* Handles both array and string argument formats.
|
|
22
|
-
*/
|
|
23
|
-
export const extractJsonString: (log: {
|
|
24
|
-
args: unknown;
|
|
25
|
-
}) => string;
|
|
26
|
-
/**
|
|
27
|
-
* Parse JSON from log arguments.
|
|
28
|
-
* Handles both array and string argument formats.
|
|
29
|
-
*/
|
|
30
|
-
export const parseJson: <T = unknown>(log: {
|
|
31
|
-
args: unknown;
|
|
32
|
-
}) => T;
|
|
33
|
-
export const layer: Layer.Layer<TestConsole, never, never>;
|
|
34
|
-
export {};
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
37
|
-
//# sourceMappingURL=test-console.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-console.d.ts","sourceRoot":"","sources":["../../../../../src/cli/testing/test-console.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAetC,cAAM,kBAAkB;IACtB,OAAO,CAAC,KAAK,CAAgE;IAE7E,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;gBAEtB,OAAO,EAAE,OAAO,CAAC,OAAO;IAapC,IAAI,IAAI;eAjBsB,MAAM;cAAQ,OAAO;iBAAW,MAAM;QAmBnE;IAED,KAAK;CAGN;AAGD,yBAAiB,WAAW,CAAC;;IAC3B,MAAM,OAAO,WAAY,SAAQ,gBAA6D;KAAG;IAEjG;;;OAGG;IACH,MAAM,CAAC,MAAM,iBAAiB,GAAI,KAAK;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAG,MAK1D,CAAC;IAEF;;;OAGG;IACH,MAAM,CAAC,MAAM,SAAS,GAAI,CAAC,GAAG,OAAO,EAAE,KAAK;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAG,CAG/D,CAAC;IAcF,MAAM,CAAC,MAAM,KAAK,wCAA8C,CAAC;;CAClE"}
|
package/src/cli/index.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import * as Console from 'effect/Console';
|
|
6
|
-
import * as Context from 'effect/Context';
|
|
7
|
-
import * as Effect from 'effect/Effect';
|
|
8
|
-
import * as Layer from 'effect/Layer';
|
|
9
|
-
import { inspect } from 'node:util';
|
|
10
|
-
|
|
11
|
-
function logToString(...args: any[]): string {
|
|
12
|
-
return args
|
|
13
|
-
.map((arg) => {
|
|
14
|
-
if (typeof arg === 'string') {
|
|
15
|
-
return arg;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
return inspect(arg, { colors: false, depth: null });
|
|
19
|
-
})
|
|
20
|
-
.join(' ');
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
class TestConsoleService {
|
|
24
|
-
private _logs: Array<{ level: string; args: unknown; message: string }> = [];
|
|
25
|
-
|
|
26
|
-
readonly console: Console.Console;
|
|
27
|
-
|
|
28
|
-
constructor(console: Console.Console) {
|
|
29
|
-
const pusher =
|
|
30
|
-
(level: string) =>
|
|
31
|
-
(...args: readonly any[]) => {
|
|
32
|
-
this._logs.push({ level, args, message: logToString(...args) });
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
this.console = {
|
|
36
|
-
...console,
|
|
37
|
-
log: (...args: readonly any[]) => Effect.sync(() => pusher('log')(...args)),
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
get logs() {
|
|
42
|
-
return [...this._logs];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
clear() {
|
|
46
|
-
this._logs.length = 0;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// TODO(burdon): We could have a single namespace "Testing" with all test utilities.
|
|
51
|
-
export namespace TestConsole {
|
|
52
|
-
export class TestConsole extends Context.Tag('TestConsole')<TestConsole, TestConsoleService>() {}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Extract JSON string from log arguments.
|
|
56
|
-
* Handles both array and string argument formats.
|
|
57
|
-
*/
|
|
58
|
-
export const extractJsonString = (log: { args: unknown }): string => {
|
|
59
|
-
if (Array.isArray(log.args) && log.args.length > 0) {
|
|
60
|
-
return String(log.args[0]);
|
|
61
|
-
}
|
|
62
|
-
return log.args as string;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Parse JSON from log arguments.
|
|
67
|
-
* Handles both array and string argument formats.
|
|
68
|
-
*/
|
|
69
|
-
export const parseJson = <T = unknown>(log: { args: unknown }): T => {
|
|
70
|
-
const jsonString = extractJsonString(log);
|
|
71
|
-
return JSON.parse(jsonString) as T;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
const testConsole = Layer.effect(
|
|
75
|
-
TestConsole,
|
|
76
|
-
Effect.gen(function* () {
|
|
77
|
-
return new TestConsoleService(yield* Effect.console);
|
|
78
|
-
}),
|
|
79
|
-
);
|
|
80
|
-
|
|
81
|
-
const setConsole = Effect.gen(function* () {
|
|
82
|
-
const { console } = yield* TestConsole;
|
|
83
|
-
return Console.setConsole(console);
|
|
84
|
-
}).pipe(Layer.unwrapEffect);
|
|
85
|
-
|
|
86
|
-
export const layer = Layer.provideMerge(setConsole, testConsole);
|
|
87
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|