@dxos/plugin-client 0.8.4-main.c85a9c8dae → 0.8.4-main.d05673bc65

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.
Files changed (99) hide show
  1. package/dist/lib/browser/{DevicesContainer-46MEG3F5.mjs → DevicesContainer-3N7ANEJ7.mjs} +3 -3
  2. package/dist/lib/browser/{JoinDialog-2RCYK4O5.mjs → JoinDialog-VTTK7NHO.mjs} +3 -3
  3. package/dist/lib/browser/{ProfileContainer-XYRCOQ5I.mjs → ProfileContainer-XV7OXJC2.mjs} +2 -2
  4. package/dist/lib/browser/{RecoveryCodeDialog-EX2CLFND.mjs → RecoveryCodeDialog-WO34OZEJ.mjs} +2 -2
  5. package/dist/lib/browser/{RecoveryCredentialsContainer-RWTEIHOB.mjs → RecoveryCredentialsContainer-G22FSTIX.mjs} +4 -4
  6. package/dist/lib/browser/{RecoveryCredentialsContainer-RWTEIHOB.mjs.map → RecoveryCredentialsContainer-G22FSTIX.mjs.map} +1 -1
  7. package/dist/lib/browser/{app-graph-builder-QJWFLYZE.mjs → app-graph-builder-GGJKFY3X.mjs} +4 -4
  8. package/dist/lib/browser/{app-graph-builder-QJWFLYZE.mjs.map → app-graph-builder-GGJKFY3X.mjs.map} +1 -1
  9. package/dist/lib/browser/{chunk-DPAXDXMK.mjs → chunk-FVEKZBM7.mjs} +31 -31
  10. package/dist/lib/browser/{chunk-DPAXDXMK.mjs.map → chunk-FVEKZBM7.mjs.map} +1 -1
  11. package/dist/lib/browser/{chunk-4XYOOXAH.mjs → chunk-GSVYEYVS.mjs} +4 -4
  12. package/dist/lib/browser/chunk-HSFDKP5D.mjs +15 -0
  13. package/dist/lib/browser/{chunk-VYX3ROUX.mjs.map → chunk-HSFDKP5D.mjs.map} +1 -1
  14. package/dist/lib/browser/{chunk-N2GMSVDQ.mjs → chunk-JHSBBOCI.mjs} +2 -2
  15. package/dist/lib/browser/{chunk-N2GMSVDQ.mjs.map → chunk-JHSBBOCI.mjs.map} +1 -1
  16. package/dist/lib/browser/cli/index.mjs +35 -27
  17. package/dist/lib/browser/cli/index.mjs.map +3 -3
  18. package/dist/lib/browser/{client-Z25GQ5YC.mjs → client-BXCP3EUE.mjs} +3 -3
  19. package/dist/lib/browser/index.mjs +7 -7
  20. package/dist/lib/browser/meta.json +1 -1
  21. package/dist/lib/browser/{migrations-HLHRMOW6.mjs → migrations-GKUA2ARL.mjs} +3 -3
  22. package/dist/lib/browser/{operation-resolver-6QW3BKA5.mjs → operation-resolver-VSWA74RS.mjs} +14 -14
  23. package/dist/lib/browser/operation-resolver-VSWA74RS.mjs.map +7 -0
  24. package/dist/lib/browser/{react-context-E7TAJMDK.mjs → react-context-GZ3T5UON.mjs} +3 -3
  25. package/dist/lib/browser/{react-surface-L5A2LBFE.mjs → react-surface-5VZP34X3.mjs} +9 -9
  26. package/dist/lib/browser/{schema-defs-5WDZWVEI.mjs → schema-defs-KAG6HQMI.mjs} +3 -3
  27. package/dist/lib/browser/types/index.mjs +2 -2
  28. package/dist/lib/node-esm/{DevicesContainer-WQ3DQA45.mjs → DevicesContainer-V7HEUPO7.mjs} +3 -3
  29. package/dist/lib/node-esm/{JoinDialog-KLTNJY5F.mjs → JoinDialog-XVKW4SLT.mjs} +3 -3
  30. package/dist/lib/node-esm/{ProfileContainer-XI425QK5.mjs → ProfileContainer-B5LJ6TMU.mjs} +2 -2
  31. package/dist/lib/node-esm/{RecoveryCodeDialog-AISRNJUM.mjs → RecoveryCodeDialog-YIRGXM7N.mjs} +2 -2
  32. package/dist/lib/node-esm/{RecoveryCredentialsContainer-3TKQRPQK.mjs → RecoveryCredentialsContainer-MVJEFNXX.mjs} +4 -4
  33. package/dist/lib/node-esm/{RecoveryCredentialsContainer-3TKQRPQK.mjs.map → RecoveryCredentialsContainer-MVJEFNXX.mjs.map} +1 -1
  34. package/dist/lib/node-esm/{app-graph-builder-6JD6BZAI.mjs → app-graph-builder-PTNZ46NN.mjs} +4 -4
  35. package/dist/lib/node-esm/{app-graph-builder-6JD6BZAI.mjs.map → app-graph-builder-PTNZ46NN.mjs.map} +1 -1
  36. package/dist/lib/node-esm/{chunk-RGULICLJ.mjs → chunk-BOTJSPCT.mjs} +2 -2
  37. package/dist/lib/node-esm/{chunk-RGULICLJ.mjs.map → chunk-BOTJSPCT.mjs.map} +1 -1
  38. package/dist/lib/node-esm/{chunk-VEUNEDN5.mjs → chunk-DT2ZNOGU.mjs} +31 -31
  39. package/dist/lib/node-esm/{chunk-VEUNEDN5.mjs.map → chunk-DT2ZNOGU.mjs.map} +1 -1
  40. package/dist/lib/node-esm/{chunk-H2CCMM4Z.mjs → chunk-OFJUOKY7.mjs} +4 -4
  41. package/dist/lib/node-esm/chunk-VLNCZYIC.mjs +16 -0
  42. package/dist/lib/node-esm/{chunk-HKSNTZF5.mjs.map → chunk-VLNCZYIC.mjs.map} +1 -1
  43. package/dist/lib/node-esm/cli/index.mjs +35 -27
  44. package/dist/lib/node-esm/cli/index.mjs.map +3 -3
  45. package/dist/lib/node-esm/{client-5AIPYSBT.mjs → client-EGZHGRRC.mjs} +3 -3
  46. package/dist/lib/node-esm/index.mjs +7 -7
  47. package/dist/lib/node-esm/meta.json +1 -1
  48. package/dist/lib/node-esm/{migrations-O5KG2GGN.mjs → migrations-4NEKCBGU.mjs} +3 -3
  49. package/dist/lib/node-esm/{operation-resolver-GSH7AOTZ.mjs → operation-resolver-4GWB3YZG.mjs} +14 -14
  50. package/dist/lib/node-esm/operation-resolver-4GWB3YZG.mjs.map +7 -0
  51. package/dist/lib/node-esm/{react-context-OMJSBS23.mjs → react-context-T2ORT5CC.mjs} +3 -3
  52. package/dist/lib/node-esm/{react-surface-N3BSPMMX.mjs → react-surface-B65OUZYI.mjs} +9 -9
  53. package/dist/lib/node-esm/{schema-defs-ENOYSDP3.mjs → schema-defs-GXQ47JZN.mjs} +3 -3
  54. package/dist/lib/node-esm/types/index.mjs +2 -2
  55. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -1
  56. package/dist/types/src/cli/commands/profile/create.d.ts +2 -1
  57. package/dist/types/src/cli/commands/profile/create.d.ts.map +1 -1
  58. package/dist/types/src/cli/commands/profile/delete.d.ts +1 -1
  59. package/dist/types/src/cli/commands/profile/delete.d.ts.map +1 -1
  60. package/dist/types/src/cli/commands/profile/list.d.ts.map +1 -1
  61. package/dist/types/src/containers/DevicesContainer/DevicesContainer.stories.d.ts +1 -1
  62. package/dist/types/src/types/schema.d.ts +30 -30
  63. package/dist/types/tsconfig.tsbuildinfo +1 -1
  64. package/package.json +28 -28
  65. package/src/capabilities/app-graph-builder/app-graph-builder.ts +1 -1
  66. package/src/capabilities/operation-resolver/operation-resolver.ts +5 -3
  67. package/src/cli/commands/profile/create.ts +9 -6
  68. package/src/cli/commands/profile/delete.ts +5 -2
  69. package/src/cli/commands/profile/list.ts +13 -11
  70. package/src/constants.ts +3 -3
  71. package/src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx +1 -1
  72. package/src/meta.ts +1 -1
  73. package/src/types/capabilities.ts +3 -3
  74. package/src/types/events.ts +5 -5
  75. package/src/types/schema.ts +21 -21
  76. package/dist/lib/browser/chunk-VYX3ROUX.mjs +0 -15
  77. package/dist/lib/browser/operation-resolver-6QW3BKA5.mjs.map +0 -7
  78. package/dist/lib/node-esm/chunk-HKSNTZF5.mjs +0 -16
  79. package/dist/lib/node-esm/operation-resolver-GSH7AOTZ.mjs.map +0 -7
  80. /package/dist/lib/browser/{DevicesContainer-46MEG3F5.mjs.map → DevicesContainer-3N7ANEJ7.mjs.map} +0 -0
  81. /package/dist/lib/browser/{JoinDialog-2RCYK4O5.mjs.map → JoinDialog-VTTK7NHO.mjs.map} +0 -0
  82. /package/dist/lib/browser/{ProfileContainer-XYRCOQ5I.mjs.map → ProfileContainer-XV7OXJC2.mjs.map} +0 -0
  83. /package/dist/lib/browser/{RecoveryCodeDialog-EX2CLFND.mjs.map → RecoveryCodeDialog-WO34OZEJ.mjs.map} +0 -0
  84. /package/dist/lib/browser/{chunk-4XYOOXAH.mjs.map → chunk-GSVYEYVS.mjs.map} +0 -0
  85. /package/dist/lib/browser/{client-Z25GQ5YC.mjs.map → client-BXCP3EUE.mjs.map} +0 -0
  86. /package/dist/lib/browser/{migrations-HLHRMOW6.mjs.map → migrations-GKUA2ARL.mjs.map} +0 -0
  87. /package/dist/lib/browser/{react-context-E7TAJMDK.mjs.map → react-context-GZ3T5UON.mjs.map} +0 -0
  88. /package/dist/lib/browser/{react-surface-L5A2LBFE.mjs.map → react-surface-5VZP34X3.mjs.map} +0 -0
  89. /package/dist/lib/browser/{schema-defs-5WDZWVEI.mjs.map → schema-defs-KAG6HQMI.mjs.map} +0 -0
  90. /package/dist/lib/node-esm/{DevicesContainer-WQ3DQA45.mjs.map → DevicesContainer-V7HEUPO7.mjs.map} +0 -0
  91. /package/dist/lib/node-esm/{JoinDialog-KLTNJY5F.mjs.map → JoinDialog-XVKW4SLT.mjs.map} +0 -0
  92. /package/dist/lib/node-esm/{ProfileContainer-XI425QK5.mjs.map → ProfileContainer-B5LJ6TMU.mjs.map} +0 -0
  93. /package/dist/lib/node-esm/{RecoveryCodeDialog-AISRNJUM.mjs.map → RecoveryCodeDialog-YIRGXM7N.mjs.map} +0 -0
  94. /package/dist/lib/node-esm/{chunk-H2CCMM4Z.mjs.map → chunk-OFJUOKY7.mjs.map} +0 -0
  95. /package/dist/lib/node-esm/{client-5AIPYSBT.mjs.map → client-EGZHGRRC.mjs.map} +0 -0
  96. /package/dist/lib/node-esm/{migrations-O5KG2GGN.mjs.map → migrations-4NEKCBGU.mjs.map} +0 -0
  97. /package/dist/lib/node-esm/{react-context-OMJSBS23.mjs.map → react-context-T2ORT5CC.mjs.map} +0 -0
  98. /package/dist/lib/node-esm/{react-surface-N3BSPMMX.mjs.map → react-surface-B65OUZYI.mjs.map} +0 -0
  99. /package/dist/lib/node-esm/{schema-defs-ENOYSDP3.mjs.map → schema-defs-GXQ47JZN.mjs.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ClientOperation
3
- } from "./chunk-DPAXDXMK.mjs";
3
+ } from "./chunk-FVEKZBM7.mjs";
4
4
  import {
5
5
  meta
6
- } from "./chunk-N2GMSVDQ.mjs";
6
+ } from "./chunk-JHSBBOCI.mjs";
7
7
 
8
8
  // src/containers/DevicesContainer/DevicesContainer.tsx
9
9
  import React, { useCallback, useEffect, useState } from "react";
@@ -265,4 +265,4 @@ var DevicesContainer_default = DevicesContainer;
265
265
  export {
266
266
  DevicesContainer_default as default
267
267
  };
268
- //# sourceMappingURL=DevicesContainer-46MEG3F5.mjs.map
268
+ //# sourceMappingURL=DevicesContainer-3N7ANEJ7.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ClientOperation
3
- } from "./chunk-DPAXDXMK.mjs";
3
+ } from "./chunk-FVEKZBM7.mjs";
4
4
  import {
5
5
  meta
6
- } from "./chunk-N2GMSVDQ.mjs";
6
+ } from "./chunk-JHSBBOCI.mjs";
7
7
 
8
8
  // src/containers/JoinDialog/JoinDialog.tsx
9
9
  import React, { useCallback } from "react";
@@ -56,4 +56,4 @@ var JoinDialog_default = JoinDialog;
56
56
  export {
57
57
  JoinDialog_default as default
58
58
  };
59
- //# sourceMappingURL=JoinDialog-2RCYK4O5.mjs.map
59
+ //# sourceMappingURL=JoinDialog-VTTK7NHO.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  meta
3
- } from "./chunk-N2GMSVDQ.mjs";
3
+ } from "./chunk-JHSBBOCI.mjs";
4
4
 
5
5
  // src/containers/ProfileContainer/ProfileContainer.tsx
6
6
  import * as Schema from "effect/Schema";
@@ -168,4 +168,4 @@ var ProfileContainer_default = ProfileContainer;
168
168
  export {
169
169
  ProfileContainer_default as default
170
170
  };
171
- //# sourceMappingURL=ProfileContainer-XYRCOQ5I.mjs.map
171
+ //# sourceMappingURL=ProfileContainer-XV7OXJC2.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  meta
3
- } from "./chunk-N2GMSVDQ.mjs";
3
+ } from "./chunk-JHSBBOCI.mjs";
4
4
 
5
5
  // src/containers/RecoveryCodeDialog/RecoveryCodeDialog.tsx
6
6
  import React, { useCallback, useState } from "react";
@@ -57,4 +57,4 @@ export {
57
57
  RecoveryCodeDialog,
58
58
  RecoveryCodeDialog_default as default
59
59
  };
60
- //# sourceMappingURL=RecoveryCodeDialog-EX2CLFND.mjs.map
60
+ //# sourceMappingURL=RecoveryCodeDialog-WO34OZEJ.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ClientOperation
3
- } from "./chunk-DPAXDXMK.mjs";
3
+ } from "./chunk-FVEKZBM7.mjs";
4
4
  import {
5
5
  meta
6
- } from "./chunk-N2GMSVDQ.mjs";
6
+ } from "./chunk-JHSBBOCI.mjs";
7
7
 
8
8
  // src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx
9
9
  import React from "react";
@@ -11,7 +11,7 @@ import { useOperationInvoker } from "@dxos/app-framework/ui";
11
11
  import { useCredentials } from "@dxos/react-client/halo";
12
12
  import { Icon, IconButton, List, ListItem, Message, useTranslation } from "@dxos/react-ui";
13
13
  import { Settings } from "@dxos/react-ui-form";
14
- var MANAGE_CREDENTIALS_DIALOG = `${meta.id}/ManageCredentialsDialog`;
14
+ var MANAGE_CREDENTIALS_DIALOG = `${meta.id}.ManageCredentialsDialog`;
15
15
  var RecoveryCredentialsContainer = () => {
16
16
  const { t } = useTranslation(meta.id);
17
17
  const { invokePromise } = useOperationInvoker();
@@ -54,4 +54,4 @@ var RecoveryCredentialsContainer_default = RecoveryCredentialsContainer;
54
54
  export {
55
55
  RecoveryCredentialsContainer_default as default
56
56
  };
57
- //# sourceMappingURL=RecoveryCredentialsContainer-RWTEIHOB.mjs.map
57
+ //# sourceMappingURL=RecoveryCredentialsContainer-G22FSTIX.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/containers/RecoveryCredentialsContainer/RecoveryCredentialsContainer.tsx", "../../../src/containers/RecoveryCredentialsContainer/index.ts"],
4
- "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { useOperationInvoker } from '@dxos/app-framework/ui';\nimport { useCredentials } from '@dxos/react-client/halo';\nimport { Icon, IconButton, List, ListItem, Message, useTranslation } from '@dxos/react-ui';\nimport { Settings } from '@dxos/react-ui-form';\n\nimport { meta } from '../../meta';\nimport { ClientOperation } from '../../types';\n\nexport const MANAGE_CREDENTIALS_DIALOG = `${meta.id}/ManageCredentialsDialog`;\n\nexport const RecoveryCredentialsContainer = () => {\n const { t } = useTranslation(meta.id);\n const { invokePromise } = useOperationInvoker();\n const credentials = useCredentials();\n const recoveryCredentials = credentials.filter(\n (credential) => credential.subject.assertion['@type'] === 'dxos.halo.credentials.IdentityRecovery',\n );\n\n return (\n <Settings.Root>\n <Settings.Section title={t('recovery setup dialog title')} description={t('recovery setup dialog description')}>\n <Settings.Group>\n <Settings.Item title={t('create passkey label')} description={t('create passkey description')}>\n <IconButton\n label={t('create passkey label')}\n icon='ph--key--duotone'\n variant='primary'\n onClick={() => invokePromise(ClientOperation.CreatePasskey)}\n />\n </Settings.Item>\n <Settings.Item title={t('create recovery code label')} description={t('create recovery code description')}>\n <IconButton\n label={t('create recovery code label')}\n icon='ph--receipt--duotone'\n variant='default'\n onClick={() => invokePromise(ClientOperation.CreateRecoveryCode)}\n />\n </Settings.Item>\n </Settings.Group>\n </Settings.Section>\n <Settings.Section title={t('credentials list label')}>\n {recoveryCredentials.length < 1 ? (\n <Message.Root valence='error'>\n <Message.Title icon='ph--shield-warning--duotone'>{t('no credentials title')}</Message.Title>\n <Message.Content>{t('no credentials message')}</Message.Content>\n </Message.Root>\n ) : (\n <List>\n {recoveryCredentials.map((credential) => (\n <ListItem.Root key={credential.id?.toHex()}>\n <ListItem.Endcap>\n <Icon icon='ph--key--regular' />\n </ListItem.Endcap>\n <ListItem.Heading>{credential.issuanceDate.toLocaleString()}</ListItem.Heading>\n </ListItem.Root>\n ))}\n </List>\n )}\n </Settings.Section>\n </Settings.Root>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { RecoveryCredentialsContainer } from './RecoveryCredentialsContainer';\n\nexport default RecoveryCredentialsContainer;\n"],
4
+ "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { useOperationInvoker } from '@dxos/app-framework/ui';\nimport { useCredentials } from '@dxos/react-client/halo';\nimport { Icon, IconButton, List, ListItem, Message, useTranslation } from '@dxos/react-ui';\nimport { Settings } from '@dxos/react-ui-form';\n\nimport { meta } from '../../meta';\nimport { ClientOperation } from '../../types';\n\nexport const MANAGE_CREDENTIALS_DIALOG = `${meta.id}.ManageCredentialsDialog`;\n\nexport const RecoveryCredentialsContainer = () => {\n const { t } = useTranslation(meta.id);\n const { invokePromise } = useOperationInvoker();\n const credentials = useCredentials();\n const recoveryCredentials = credentials.filter(\n (credential) => credential.subject.assertion['@type'] === 'dxos.halo.credentials.IdentityRecovery',\n );\n\n return (\n <Settings.Root>\n <Settings.Section title={t('recovery setup dialog title')} description={t('recovery setup dialog description')}>\n <Settings.Group>\n <Settings.Item title={t('create passkey label')} description={t('create passkey description')}>\n <IconButton\n label={t('create passkey label')}\n icon='ph--key--duotone'\n variant='primary'\n onClick={() => invokePromise(ClientOperation.CreatePasskey)}\n />\n </Settings.Item>\n <Settings.Item title={t('create recovery code label')} description={t('create recovery code description')}>\n <IconButton\n label={t('create recovery code label')}\n icon='ph--receipt--duotone'\n variant='default'\n onClick={() => invokePromise(ClientOperation.CreateRecoveryCode)}\n />\n </Settings.Item>\n </Settings.Group>\n </Settings.Section>\n <Settings.Section title={t('credentials list label')}>\n {recoveryCredentials.length < 1 ? (\n <Message.Root valence='error'>\n <Message.Title icon='ph--shield-warning--duotone'>{t('no credentials title')}</Message.Title>\n <Message.Content>{t('no credentials message')}</Message.Content>\n </Message.Root>\n ) : (\n <List>\n {recoveryCredentials.map((credential) => (\n <ListItem.Root key={credential.id?.toHex()}>\n <ListItem.Endcap>\n <Icon icon='ph--key--regular' />\n </ListItem.Endcap>\n <ListItem.Heading>{credential.issuanceDate.toLocaleString()}</ListItem.Heading>\n </ListItem.Root>\n ))}\n </List>\n )}\n </Settings.Section>\n </Settings.Root>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { RecoveryCredentialsContainer } from './RecoveryCredentialsContainer';\n\nexport default RecoveryCredentialsContainer;\n"],
5
5
  "mappings": ";;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,2BAA2B;AACpC,SAASC,sBAAsB;AAC/B,SAASC,MAAMC,YAAYC,MAAMC,UAAUC,SAASC,sBAAsB;AAC1E,SAASC,gBAAgB;AAKlB,IAAMC,4BAA4B,GAAGC,KAAKC,EAAE;AAE5C,IAAMC,+BAA+B,MAAA;AAC1C,QAAM,EAAEC,EAAC,IAAKC,eAAeJ,KAAKC,EAAE;AACpC,QAAM,EAAEI,cAAa,IAAKC,oBAAAA;AAC1B,QAAMC,cAAcC,eAAAA;AACpB,QAAMC,sBAAsBF,YAAYG,OACtC,CAACC,eAAeA,WAAWC,QAAQC,UAAU,OAAA,MAAa,wCAAA;AAG5D,SACE,sBAAA,cAACC,SAASC,MAAI,MACZ,sBAAA,cAACD,SAASE,SAAO;IAACC,OAAOd,EAAE,6BAAA;IAAgCe,aAAaf,EAAE,mCAAA;KACxE,sBAAA,cAACW,SAASK,OAAK,MACb,sBAAA,cAACL,SAASM,MAAI;IAACH,OAAOd,EAAE,sBAAA;IAAyBe,aAAaf,EAAE,4BAAA;KAC9D,sBAAA,cAACkB,YAAAA;IACCC,OAAOnB,EAAE,sBAAA;IACToB,MAAK;IACLC,SAAQ;IACRC,SAAS,MAAMpB,cAAcqB,gBAAgBC,aAAa;OAG9D,sBAAA,cAACb,SAASM,MAAI;IAACH,OAAOd,EAAE,4BAAA;IAA+Be,aAAaf,EAAE,kCAAA;KACpE,sBAAA,cAACkB,YAAAA;IACCC,OAAOnB,EAAE,4BAAA;IACToB,MAAK;IACLC,SAAQ;IACRC,SAAS,MAAMpB,cAAcqB,gBAAgBE,kBAAkB;SAKvE,sBAAA,cAACd,SAASE,SAAO;IAACC,OAAOd,EAAE,wBAAA;KACxBM,oBAAoBoB,SAAS,IAC5B,sBAAA,cAACC,QAAQf,MAAI;IAACgB,SAAQ;KACpB,sBAAA,cAACD,QAAQE,OAAK;IAACT,MAAK;KAA+BpB,EAAE,sBAAA,CAAA,GACrD,sBAAA,cAAC2B,QAAQG,SAAO,MAAE9B,EAAE,wBAAA,CAAA,CAAA,IAGtB,sBAAA,cAAC+B,MAAAA,MACEzB,oBAAoB0B,IAAI,CAACxB,eACxB,sBAAA,cAACyB,SAASrB,MAAI;IAACsB,KAAK1B,WAAWV,IAAIqC,MAAAA;KACjC,sBAAA,cAACF,SAASG,QAAM,MACd,sBAAA,cAACC,MAAAA;IAAKjB,MAAK;OAEb,sBAAA,cAACa,SAASK,SAAO,MAAE9B,WAAW+B,aAAaC,eAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAQzE;;;AC7DA,IAAA,uCAAeC;",
6
6
  "names": ["React", "useOperationInvoker", "useCredentials", "Icon", "IconButton", "List", "ListItem", "Message", "useTranslation", "Settings", "MANAGE_CREDENTIALS_DIALOG", "meta", "id", "RecoveryCredentialsContainer", "t", "useTranslation", "invokePromise", "useOperationInvoker", "credentials", "useCredentials", "recoveryCredentials", "filter", "credential", "subject", "assertion", "Settings", "Root", "Section", "title", "description", "Group", "Item", "IconButton", "label", "icon", "variant", "onClick", "ClientOperation", "CreatePasskey", "CreateRecoveryCode", "length", "Message", "valence", "Title", "Content", "List", "map", "ListItem", "key", "toHex", "Endcap", "Icon", "Heading", "issuanceDate", "toLocaleString", "RecoveryCredentialsContainer"]
7
7
  }
@@ -2,10 +2,10 @@ import {
2
2
  Account,
3
3
  ClientCapabilities,
4
4
  ClientOperation
5
- } from "./chunk-DPAXDXMK.mjs";
5
+ } from "./chunk-FVEKZBM7.mjs";
6
6
  import {
7
7
  meta
8
- } from "./chunk-N2GMSVDQ.mjs";
8
+ } from "./chunk-JHSBBOCI.mjs";
9
9
 
10
10
  // src/capabilities/app-graph-builder/app-graph-builder.ts
11
11
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
20
20
  match: NodeMatcher.whenRoot,
21
21
  actions: () => Effect.succeed([
22
22
  {
23
- id: `${meta.id}/open-user-account`,
23
+ id: `${meta.id}.open-user-account`,
24
24
  data: () => Operation.invoke(ClientOperation.ShareIdentity),
25
25
  properties: {
26
26
  label: [
@@ -118,4 +118,4 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
118
118
  export {
119
119
  app_graph_builder_default as default
120
120
  };
121
- //# sourceMappingURL=app-graph-builder-QJWFLYZE.mjs.map
121
+ //# sourceMappingURL=app-graph-builder-GGJKFY3X.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\nimport { CreateAtom, GraphBuilder, NodeMatcher } from '@dxos/plugin-graph';\nimport { ConnectionState } from '@dxos/react-client/mesh';\n\nimport { meta } from '../../meta';\nimport { Account, ClientCapabilities, ClientOperation } from '../../types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const extensions = yield* GraphBuilder.createExtension({\n id: meta.id,\n match: NodeMatcher.whenRoot,\n actions: () =>\n Effect.succeed([\n {\n id: `${meta.id}/open-user-account`,\n data: () => Operation.invoke(ClientOperation.ShareIdentity),\n properties: {\n label: ['open user account label', { ns: meta.id }],\n icon: 'ph--user--regular',\n disposition: 'menu',\n keyBinding: {\n macos: 'meta+shift+.',\n // TODO(wittjosiah): Test on windows to see if it behaves the same as linux.\n windows: 'alt+shift+.',\n linux: 'alt+shift+>',\n },\n },\n },\n ]),\n connector: Effect.fnUntraced(function* (node, get) {\n const client = yield* Capability.get(ClientCapabilities.Client);\n const identity = get(CreateAtom.fromObservable(client.halo.identity));\n const status = get(CreateAtom.fromObservable(client.mesh.networkStatus));\n\n return [\n {\n id: Account.id,\n type: meta.id,\n properties: {\n label: ['account label', { ns: meta.id }],\n icon: 'ph--user--regular',\n disposition: 'user-account',\n testId: 'clientPlugin.account',\n // NOTE: This currently needs to be the identity key because the fallback is generated from hex.\n userId: identity?.identityKey.toHex(),\n hue: identity?.profile?.data?.hue,\n emoji: identity?.profile?.data?.emoji,\n status: status.swarm === ConnectionState.OFFLINE ? 'error' : 'active',\n },\n nodes: [\n {\n id: Account.Profile,\n data: Account.Profile,\n type: meta.id,\n properties: {\n label: ['profile label', { ns: meta.id }],\n icon: 'ph--user--regular',\n },\n },\n {\n id: Account.Devices,\n data: Account.Devices,\n type: meta.id,\n properties: {\n label: ['devices label', { ns: meta.id }],\n icon: 'ph--devices--regular',\n testId: 'clientPlugin.devices',\n },\n },\n {\n id: Account.Security,\n data: Account.Security,\n type: meta.id,\n properties: {\n label: ['security label', { ns: meta.id }],\n icon: 'ph--key--regular',\n },\n },\n ],\n },\n ];\n }),\n });\n\n return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions);\n }),\n);\n"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\nimport { CreateAtom, GraphBuilder, NodeMatcher } from '@dxos/plugin-graph';\nimport { ConnectionState } from '@dxos/react-client/mesh';\n\nimport { meta } from '../../meta';\nimport { Account, ClientCapabilities, ClientOperation } from '../../types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const extensions = yield* GraphBuilder.createExtension({\n id: meta.id,\n match: NodeMatcher.whenRoot,\n actions: () =>\n Effect.succeed([\n {\n id: `${meta.id}.open-user-account`,\n data: () => Operation.invoke(ClientOperation.ShareIdentity),\n properties: {\n label: ['open user account label', { ns: meta.id }],\n icon: 'ph--user--regular',\n disposition: 'menu',\n keyBinding: {\n macos: 'meta+shift+.',\n // TODO(wittjosiah): Test on windows to see if it behaves the same as linux.\n windows: 'alt+shift+.',\n linux: 'alt+shift+>',\n },\n },\n },\n ]),\n connector: Effect.fnUntraced(function* (node, get) {\n const client = yield* Capability.get(ClientCapabilities.Client);\n const identity = get(CreateAtom.fromObservable(client.halo.identity));\n const status = get(CreateAtom.fromObservable(client.mesh.networkStatus));\n\n return [\n {\n id: Account.id,\n type: meta.id,\n properties: {\n label: ['account label', { ns: meta.id }],\n icon: 'ph--user--regular',\n disposition: 'user-account',\n testId: 'clientPlugin.account',\n // NOTE: This currently needs to be the identity key because the fallback is generated from hex.\n userId: identity?.identityKey.toHex(),\n hue: identity?.profile?.data?.hue,\n emoji: identity?.profile?.data?.emoji,\n status: status.swarm === ConnectionState.OFFLINE ? 'error' : 'active',\n },\n nodes: [\n {\n id: Account.Profile,\n data: Account.Profile,\n type: meta.id,\n properties: {\n label: ['profile label', { ns: meta.id }],\n icon: 'ph--user--regular',\n },\n },\n {\n id: Account.Devices,\n data: Account.Devices,\n type: meta.id,\n properties: {\n label: ['devices label', { ns: meta.id }],\n icon: 'ph--devices--regular',\n testId: 'clientPlugin.devices',\n },\n },\n {\n id: Account.Security,\n data: Account.Security,\n type: meta.id,\n properties: {\n label: ['security label', { ns: meta.id }],\n icon: 'ph--key--regular',\n },\n },\n ],\n },\n ];\n }),\n });\n\n return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions);\n }),\n);\n"],
5
5
  "mappings": ";;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBA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AG;;gBACvCe,MAAM;cACR;YACF;YACA;cACEf,IAAIkC,QAAQc;cACZzC,MAAM2B,QAAQc;cACdb,MAAMlC,KAAKD;cACXY,YAAY;gBACVC,OAAO;kBAAC;kBAAiB;oBAAEC,IAAIb,KAAKD;kBAAG;;gBACvCe,MAAM;gBACNqB,QAAQ;cACV;YACF;YACA;cACEpC,IAAIkC,QAAQe;cACZ1C,MAAM2B,QAAQe;cACdd,MAAMlC,KAAKD;cACXY,YAAY;gBACVC,OAAO;kBAAC;kBAAkB;oBAAEC,IAAIb,KAAKD;kBAAG;;gBACxCe,MAAM;cACR;YACF;;QAEJ;;IAEJ,CAAA;EACF,CAAA;AAEA,SAAOrB,WAAWwD,YAAYC,gBAAgBC,iBAAiBvD,UAAAA;AACjE,CAAA,CAAA;",
6
6
  "names": ["Effect", "Capability", "AppCapabilities", "Operation", "CreateAtom", "GraphBuilder", "NodeMatcher", "ConnectionState", "Capability", "makeModule", "fnUntraced", "extensions", "GraphBuilder", "createExtension", "id", "meta", "match", "NodeMatcher", "whenRoot", "actions", "succeed", "data", "Operation", "invoke", "ClientOperation", "ShareIdentity", "properties", "label", "ns", "icon", "disposition", "keyBinding", "macos", "windows", "linux", "connector", "node", "get", "client", "ClientCapabilities", "Client", "identity", "CreateAtom", "fromObservable", "halo", "status", "mesh", "networkStatus", "Account", "type", "testId", "userId", "identityKey", "toHex", "hue", "profile", "emoji", "swarm", "ConnectionState", "OFFLINE", "nodes", "Profile", "Devices", "Security", "contributes", "AppCapabilities", "AppGraphBuilder"]
7
7
  }
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  meta
3
- } from "./chunk-N2GMSVDQ.mjs";
3
+ } from "./chunk-JHSBBOCI.mjs";
4
4
 
5
5
  // src/types/capabilities.ts
6
6
  import { Capability } from "@dxos/app-framework";
7
7
  (function(ClientCapabilities2) {
8
- ClientCapabilities2.Client = Capability.make(`${meta.id}/capability/client`);
9
- ClientCapabilities2.Schema = Capability.make(`${meta.id}/capability/schema`);
10
- ClientCapabilities2.Migration = Capability.make(`${meta.id}/capability/migration`);
8
+ ClientCapabilities2.Client = Capability.make(`${meta.id}.capability.client`);
9
+ ClientCapabilities2.Schema = Capability.make(`${meta.id}.capability.schema`);
10
+ ClientCapabilities2.Migration = Capability.make(`${meta.id}.capability.migration`);
11
11
  })(ClientCapabilities || (ClientCapabilities = {}));
12
12
  var ClientCapabilities;
13
13
 
14
14
  // src/types/events.ts
15
15
  import { ActivationEvent } from "@dxos/app-framework";
16
16
  (function(ClientEvents2) {
17
- ClientEvents2.ClientReady = ActivationEvent.make(`${meta.id}/event/client-ready`);
18
- ClientEvents2.SetupSchema = ActivationEvent.make(`${meta.id}/event/setup-schema`);
19
- ClientEvents2.SetupMigration = ActivationEvent.make(`${meta.id}/event/setup-migration`);
20
- ClientEvents2.IdentityCreated = ActivationEvent.make(`${meta.id}/event/identity-created`);
21
- ClientEvents2.SpacesReady = ActivationEvent.make(`${meta.id}/event/spaces-ready`);
17
+ ClientEvents2.ClientReady = ActivationEvent.make(`${meta.id}.event.client-ready`);
18
+ ClientEvents2.SetupSchema = ActivationEvent.make(`${meta.id}.event.setup-schema`);
19
+ ClientEvents2.SetupMigration = ActivationEvent.make(`${meta.id}.event.setup-migration`);
20
+ ClientEvents2.IdentityCreated = ActivationEvent.make(`${meta.id}.event.identity-created`);
21
+ ClientEvents2.SpacesReady = ActivationEvent.make(`${meta.id}.event.spaces-ready`);
22
22
  })(ClientEvents || (ClientEvents = {}));
23
23
  var ClientEvents;
24
24
 
@@ -48,13 +48,13 @@ var IdentitySchema = Schema.Struct({
48
48
  value: Schema.Any
49
49
  }))
50
50
  });
51
- class CreateIdentity extends Schema.TaggedClass()(`${meta.id}/action/create-identity`, {
51
+ class CreateIdentity extends Schema.TaggedClass()(`${meta.id}.action.create-identity`, {
52
52
  input: ProfileSchema,
53
53
  output: IdentitySchema
54
54
  }) {
55
55
  }
56
56
  ClientAction2.CreateIdentity = CreateIdentity;
57
- class JoinIdentity extends Schema.TaggedClass()(`${meta.id}/action/join-identity`, {
57
+ class JoinIdentity extends Schema.TaggedClass()(`${meta.id}.action.join-identity`, {
58
58
  input: Schema.Struct({
59
59
  invitationCode: Schema.optional(Schema.String)
60
60
  }),
@@ -62,19 +62,19 @@ var IdentitySchema = Schema.Struct({
62
62
  }) {
63
63
  }
64
64
  ClientAction2.JoinIdentity = JoinIdentity;
65
- class ShareIdentity extends Schema.TaggedClass()(`${meta.id}/action/share-identity`, {
65
+ class ShareIdentity extends Schema.TaggedClass()(`${meta.id}.action.share-identity`, {
66
66
  input: Schema.Void,
67
67
  output: Schema.Void
68
68
  }) {
69
69
  }
70
70
  ClientAction2.ShareIdentity = ShareIdentity;
71
- class RecoverIdentity extends Schema.TaggedClass()(`${meta.id}/action/recover-identity`, {
71
+ class RecoverIdentity extends Schema.TaggedClass()(`${meta.id}.action.recover-identity`, {
72
72
  input: Schema.Void,
73
73
  output: Schema.Void
74
74
  }) {
75
75
  }
76
76
  ClientAction2.RecoverIdentity = RecoverIdentity;
77
- class ResetStorage extends Schema.TaggedClass()(`${meta.id}/action/reset-storage`, {
77
+ class ResetStorage extends Schema.TaggedClass()(`${meta.id}.action.reset-storage`, {
78
78
  input: Schema.Struct({
79
79
  mode: Schema.optional(Schema.String)
80
80
  }),
@@ -82,31 +82,31 @@ var IdentitySchema = Schema.Struct({
82
82
  }) {
83
83
  }
84
84
  ClientAction2.ResetStorage = ResetStorage;
85
- class CreateAgent extends Schema.TaggedClass()(`${meta.id}/action/create-agent`, {
85
+ class CreateAgent extends Schema.TaggedClass()(`${meta.id}.action.create-agent`, {
86
86
  input: Schema.Void,
87
87
  output: Schema.Void
88
88
  }) {
89
89
  }
90
90
  ClientAction2.CreateAgent = CreateAgent;
91
- class CreateRecoveryCode extends Schema.TaggedClass()(`${meta.id}/action/create-recovery-code`, {
91
+ class CreateRecoveryCode extends Schema.TaggedClass()(`${meta.id}.action.create-recovery-code`, {
92
92
  input: Schema.Void,
93
93
  output: Schema.Void
94
94
  }) {
95
95
  }
96
96
  ClientAction2.CreateRecoveryCode = CreateRecoveryCode;
97
- class CreatePasskey extends Schema.TaggedClass()(`${meta.id}/action/create-passkey`, {
97
+ class CreatePasskey extends Schema.TaggedClass()(`${meta.id}.action.create-passkey`, {
98
98
  input: Schema.Void,
99
99
  output: Schema.Void
100
100
  }) {
101
101
  }
102
102
  ClientAction2.CreatePasskey = CreatePasskey;
103
- class RedeemPasskey extends Schema.TaggedClass()(`${meta.id}/action/redeem-passkey`, {
103
+ class RedeemPasskey extends Schema.TaggedClass()(`${meta.id}.action.redeem-passkey`, {
104
104
  input: Schema.Void,
105
105
  output: Schema.Void
106
106
  }) {
107
107
  }
108
108
  ClientAction2.RedeemPasskey = RedeemPasskey;
109
- class RedeemToken extends Schema.TaggedClass()(`${meta.id}/action/redeem-token`, {
109
+ class RedeemToken extends Schema.TaggedClass()(`${meta.id}.action.redeem-token`, {
110
110
  input: Schema.Struct({
111
111
  token: Schema.String
112
112
  }),
@@ -115,7 +115,7 @@ var IdentitySchema = Schema.Struct({
115
115
  }
116
116
  ClientAction2.RedeemToken = RedeemToken;
117
117
  })(ClientAction || (ClientAction = {}));
118
- var CLIENT_OPERATION = `${meta.id}/operation`;
118
+ var CLIENT_OPERATION = `${meta.id}.operation`;
119
119
  (function(ClientOperation2) {
120
120
  const ProfileSchema = Schema.Struct({
121
121
  displayName: Schema.optional(Schema.String),
@@ -127,7 +127,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
127
127
  });
128
128
  ClientOperation2.CreateIdentity = Operation.make({
129
129
  meta: {
130
- key: `${CLIENT_OPERATION}/create-identity`,
130
+ key: `${CLIENT_OPERATION}.create-identity`,
131
131
  name: "Create Identity"
132
132
  },
133
133
  services: [
@@ -140,7 +140,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
140
140
  });
141
141
  ClientOperation2.JoinIdentity = Operation.make({
142
142
  meta: {
143
- key: `${CLIENT_OPERATION}/join-identity`,
143
+ key: `${CLIENT_OPERATION}.join-identity`,
144
144
  name: "Join Identity"
145
145
  },
146
146
  services: [
@@ -155,7 +155,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
155
155
  });
156
156
  ClientOperation2.ShareIdentity = Operation.make({
157
157
  meta: {
158
- key: `${CLIENT_OPERATION}/share-identity`,
158
+ key: `${CLIENT_OPERATION}.share-identity`,
159
159
  name: "Share Identity"
160
160
  },
161
161
  services: [
@@ -168,7 +168,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
168
168
  });
169
169
  ClientOperation2.RecoverIdentity = Operation.make({
170
170
  meta: {
171
- key: `${CLIENT_OPERATION}/recover-identity`,
171
+ key: `${CLIENT_OPERATION}.recover-identity`,
172
172
  name: "Recover Identity"
173
173
  },
174
174
  services: [
@@ -181,7 +181,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
181
181
  });
182
182
  ClientOperation2.ResetStorage = Operation.make({
183
183
  meta: {
184
- key: `${CLIENT_OPERATION}/reset-storage`,
184
+ key: `${CLIENT_OPERATION}.reset-storage`,
185
185
  name: "Reset Storage"
186
186
  },
187
187
  services: [
@@ -196,7 +196,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
196
196
  });
197
197
  ClientOperation2.CreateAgent = Operation.make({
198
198
  meta: {
199
- key: `${CLIENT_OPERATION}/create-agent`,
199
+ key: `${CLIENT_OPERATION}.create-agent`,
200
200
  name: "Create Agent"
201
201
  },
202
202
  services: [
@@ -209,7 +209,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
209
209
  });
210
210
  ClientOperation2.CreateRecoveryCode = Operation.make({
211
211
  meta: {
212
- key: `${CLIENT_OPERATION}/create-recovery-code`,
212
+ key: `${CLIENT_OPERATION}.create-recovery-code`,
213
213
  name: "Create Recovery Code"
214
214
  },
215
215
  services: [
@@ -222,7 +222,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
222
222
  });
223
223
  ClientOperation2.CreatePasskey = Operation.make({
224
224
  meta: {
225
- key: `${CLIENT_OPERATION}/create-passkey`,
225
+ key: `${CLIENT_OPERATION}.create-passkey`,
226
226
  name: "Create Passkey"
227
227
  },
228
228
  services: [
@@ -235,7 +235,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
235
235
  });
236
236
  ClientOperation2.RedeemPasskey = Operation.make({
237
237
  meta: {
238
- key: `${CLIENT_OPERATION}/redeem-passkey`,
238
+ key: `${CLIENT_OPERATION}.redeem-passkey`,
239
239
  name: "Redeem Passkey"
240
240
  },
241
241
  services: [
@@ -248,7 +248,7 @@ var CLIENT_OPERATION = `${meta.id}/operation`;
248
248
  });
249
249
  ClientOperation2.RedeemToken = Operation.make({
250
250
  meta: {
251
- key: `${CLIENT_OPERATION}/redeem-token`,
251
+ key: `${CLIENT_OPERATION}.redeem-token`,
252
252
  name: "Redeem Token"
253
253
  },
254
254
  services: [
@@ -280,4 +280,4 @@ export {
280
280
  ClientOperation,
281
281
  Account
282
282
  };
283
- //# sourceMappingURL=chunk-DPAXDXMK.mjs.map
283
+ //# sourceMappingURL=chunk-FVEKZBM7.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/types/capabilities.ts", "../../../src/types/events.ts", "../../../src/types/schema.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\nimport { type Client } from '@dxos/client';\nimport { type ObjectMigration } from '@dxos/client/echo';\nimport { type Type } from '@dxos/echo';\n\nimport { meta } from '../meta';\n\nexport namespace ClientCapabilities {\n export const Client = Capability.make<Client>(`${meta.id}/capability/client`);\n export const Schema = Capability.make<Type.AnyEntity[]>(`${meta.id}/capability/schema`);\n export const Migration = Capability.make<ObjectMigration[]>(`${meta.id}/capability/migration`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent } from '@dxos/app-framework';\n\nimport { meta } from '../meta';\n\nexport namespace ClientEvents {\n export const ClientReady = ActivationEvent.make(`${meta.id}/event/client-ready`);\n export const SetupSchema = ActivationEvent.make(`${meta.id}/event/setup-schema`);\n export const SetupMigration = ActivationEvent.make(`${meta.id}/event/setup-migration`);\n export const IdentityCreated = ActivationEvent.make(`${meta.id}/event/identity-created`);\n export const SpacesReady = ActivationEvent.make(`${meta.id}/event/spaces-ready`);\n}\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport type * as Effect from 'effect/Effect';\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { type Client, type ClientOptions, PublicKey } from '@dxos/client';\nimport { Operation } from '@dxos/operation';\n\nimport { meta } from '../meta';\n\n// TODO(wittjosiah): Factor out. Generate?\nconst IdentitySchema = Schema.Struct({\n identityKey: Schema.instanceOf(PublicKey),\n spaceKey: Schema.optional(Schema.instanceOf(PublicKey)),\n profile: Schema.optional(\n Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n }),\n ),\n});\n\nexport namespace ClientAction {\n const ProfileSchema = Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n });\n\n export class CreateIdentity extends Schema.TaggedClass<CreateIdentity>()(`${meta.id}/action/create-identity`, {\n input: ProfileSchema,\n output: IdentitySchema,\n }) {}\n\n export class JoinIdentity extends Schema.TaggedClass<JoinIdentity>()(`${meta.id}/action/join-identity`, {\n input: Schema.Struct({\n invitationCode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n }) {}\n\n export class ShareIdentity extends Schema.TaggedClass<ShareIdentity>()(`${meta.id}/action/share-identity`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RecoverIdentity extends Schema.TaggedClass<RecoverIdentity>()(`${meta.id}/action/recover-identity`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class ResetStorage extends Schema.TaggedClass<ResetStorage>()(`${meta.id}/action/reset-storage`, {\n input: Schema.Struct({\n mode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n }) {}\n\n export class CreateAgent extends Schema.TaggedClass<CreateAgent>()(`${meta.id}/action/create-agent`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class CreateRecoveryCode extends Schema.TaggedClass<CreateRecoveryCode>()(\n `${meta.id}/action/create-recovery-code`,\n {\n input: Schema.Void,\n output: Schema.Void,\n },\n ) {}\n\n export class CreatePasskey extends Schema.TaggedClass<CreatePasskey>()(`${meta.id}/action/create-passkey`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RedeemPasskey extends Schema.TaggedClass<RedeemPasskey>()(`${meta.id}/action/redeem-passkey`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RedeemToken extends Schema.TaggedClass<RedeemToken>()(`${meta.id}/action/redeem-token`, {\n input: Schema.Struct({\n token: Schema.String,\n }),\n output: Schema.Void,\n }) {}\n}\n\nconst CLIENT_OPERATION = `${meta.id}/operation`;\n\n/**\n * Operations for the Client plugin.\n */\nexport namespace ClientOperation {\n const ProfileSchema = Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n });\n\n export const CreateIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/create-identity`, name: 'Create Identity' },\n services: [Capability.Service],\n schema: {\n input: ProfileSchema,\n output: IdentitySchema,\n },\n });\n\n export const JoinIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/join-identity`, name: 'Join Identity' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n invitationCode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n },\n });\n\n export const ShareIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/share-identity`, name: 'Share Identity' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const RecoverIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/recover-identity`, name: 'Recover Identity' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const ResetStorage = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/reset-storage`, name: 'Reset Storage' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n mode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n },\n });\n\n export const CreateAgent = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/create-agent`, name: 'Create Agent' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const CreateRecoveryCode = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/create-recovery-code`, name: 'Create Recovery Code' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const CreatePasskey = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/create-passkey`, name: 'Create Passkey' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const RedeemPasskey = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/redeem-passkey`, name: 'Redeem Passkey' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const RedeemToken = Operation.make({\n meta: { key: `${CLIENT_OPERATION}/redeem-token`, name: 'Redeem Token' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n token: Schema.String,\n }),\n output: Schema.Void,\n },\n });\n}\n\nexport type ClientPluginOptions = ClientOptions & {\n /**\n * Base origin for the invitation link.\n */\n shareableLinkOrigin?: string;\n\n /**\n * Path for the invitation link.\n */\n invitationPath?: string;\n\n /**\n * Query parameter for the invitation code.\n */\n invitationProp?: string;\n\n /**\n * Run after the client has been initialized.\n * Plugin context is provided so capabilities are accessible.\n */\n onClientInitialized?: (params: { client: Client }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n\n /**\n * Called when spaces are ready.\n * Plugin context is provided so capabilities are accessible.\n */\n onSpacesReady?: (params: { client: Client }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n\n /**\n * Called when the client is reset.\n * Plugin context is provided so capabilities are accessible.\n */\n onReset?: (params: { target?: string }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n};\n\nexport namespace Account {\n // TODO(wittjosiah): Cannot use slashes in ids until we have a router which decouples ids from url paths.\n const _id = 'dxos.org.plugin.client.account';\n // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.\n // Ideally this should be worked into the data model in a generic way.\n export const id = `!${_id}`;\n\n export const Profile = `${_id}.profile`;\n export const Devices = `${_id}.devices`;\n export const Security = `${_id}.security`;\n}\n"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\nimport { type Client } from '@dxos/client';\nimport { type ObjectMigration } from '@dxos/client/echo';\nimport { type Type } from '@dxos/echo';\n\nimport { meta } from '../meta';\n\nexport namespace ClientCapabilities {\n export const Client = Capability.make<Client>(`${meta.id}.capability.client`);\n export const Schema = Capability.make<Type.AnyEntity[]>(`${meta.id}.capability.schema`);\n export const Migration = Capability.make<ObjectMigration[]>(`${meta.id}.capability.migration`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent } from '@dxos/app-framework';\n\nimport { meta } from '../meta';\n\nexport namespace ClientEvents {\n export const ClientReady = ActivationEvent.make(`${meta.id}.event.client-ready`);\n export const SetupSchema = ActivationEvent.make(`${meta.id}.event.setup-schema`);\n export const SetupMigration = ActivationEvent.make(`${meta.id}.event.setup-migration`);\n export const IdentityCreated = ActivationEvent.make(`${meta.id}.event.identity-created`);\n export const SpacesReady = ActivationEvent.make(`${meta.id}.event.spaces-ready`);\n}\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport type * as Effect from 'effect/Effect';\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { type Client, type ClientOptions, PublicKey } from '@dxos/client';\nimport { Operation } from '@dxos/operation';\n\nimport { meta } from '../meta';\n\n// TODO(wittjosiah): Factor out. Generate?\nconst IdentitySchema = Schema.Struct({\n identityKey: Schema.instanceOf(PublicKey),\n spaceKey: Schema.optional(Schema.instanceOf(PublicKey)),\n profile: Schema.optional(\n Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n }),\n ),\n});\n\nexport namespace ClientAction {\n const ProfileSchema = Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n });\n\n export class CreateIdentity extends Schema.TaggedClass<CreateIdentity>()(`${meta.id}.action.create-identity`, {\n input: ProfileSchema,\n output: IdentitySchema,\n }) {}\n\n export class JoinIdentity extends Schema.TaggedClass<JoinIdentity>()(`${meta.id}.action.join-identity`, {\n input: Schema.Struct({\n invitationCode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n }) {}\n\n export class ShareIdentity extends Schema.TaggedClass<ShareIdentity>()(`${meta.id}.action.share-identity`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RecoverIdentity extends Schema.TaggedClass<RecoverIdentity>()(`${meta.id}.action.recover-identity`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class ResetStorage extends Schema.TaggedClass<ResetStorage>()(`${meta.id}.action.reset-storage`, {\n input: Schema.Struct({\n mode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n }) {}\n\n export class CreateAgent extends Schema.TaggedClass<CreateAgent>()(`${meta.id}.action.create-agent`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class CreateRecoveryCode extends Schema.TaggedClass<CreateRecoveryCode>()(\n `${meta.id}.action.create-recovery-code`,\n {\n input: Schema.Void,\n output: Schema.Void,\n },\n ) {}\n\n export class CreatePasskey extends Schema.TaggedClass<CreatePasskey>()(`${meta.id}.action.create-passkey`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RedeemPasskey extends Schema.TaggedClass<RedeemPasskey>()(`${meta.id}.action.redeem-passkey`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n\n export class RedeemToken extends Schema.TaggedClass<RedeemToken>()(`${meta.id}.action.redeem-token`, {\n input: Schema.Struct({\n token: Schema.String,\n }),\n output: Schema.Void,\n }) {}\n}\n\nconst CLIENT_OPERATION = `${meta.id}.operation`;\n\n/**\n * Operations for the Client plugin.\n */\nexport namespace ClientOperation {\n const ProfileSchema = Schema.Struct({\n displayName: Schema.optional(Schema.String),\n avatarCid: Schema.optional(Schema.String),\n data: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n });\n\n export const CreateIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-identity`, name: 'Create Identity' },\n services: [Capability.Service],\n schema: {\n input: ProfileSchema,\n output: IdentitySchema,\n },\n });\n\n export const JoinIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.join-identity`, name: 'Join Identity' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n invitationCode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n },\n });\n\n export const ShareIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.share-identity`, name: 'Share Identity' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const RecoverIdentity = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.recover-identity`, name: 'Recover Identity' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const ResetStorage = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.reset-storage`, name: 'Reset Storage' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n mode: Schema.optional(Schema.String),\n }),\n output: Schema.Void,\n },\n });\n\n export const CreateAgent = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-agent`, name: 'Create Agent' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const CreateRecoveryCode = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-recovery-code`, name: 'Create Recovery Code' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const CreatePasskey = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.create-passkey`, name: 'Create Passkey' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const RedeemPasskey = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.redeem-passkey`, name: 'Redeem Passkey' },\n services: [Capability.Service],\n schema: {\n input: Schema.Void,\n output: Schema.Void,\n },\n });\n\n export const RedeemToken = Operation.make({\n meta: { key: `${CLIENT_OPERATION}.redeem-token`, name: 'Redeem Token' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n token: Schema.String,\n }),\n output: Schema.Void,\n },\n });\n}\n\nexport type ClientPluginOptions = ClientOptions & {\n /**\n * Base origin for the invitation link.\n */\n shareableLinkOrigin?: string;\n\n /**\n * Path for the invitation link.\n */\n invitationPath?: string;\n\n /**\n * Query parameter for the invitation code.\n */\n invitationProp?: string;\n\n /**\n * Run after the client has been initialized.\n * Plugin context is provided so capabilities are accessible.\n */\n onClientInitialized?: (params: { client: Client }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n\n /**\n * Called when spaces are ready.\n * Plugin context is provided so capabilities are accessible.\n */\n onSpacesReady?: (params: { client: Client }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n\n /**\n * Called when the client is reset.\n * Plugin context is provided so capabilities are accessible.\n */\n onReset?: (params: { target?: string }) => Effect.Effect<void, Error | never, Capability.Service | never>;\n};\n\nexport namespace Account {\n // TODO(wittjosiah): Cannot use slashes in ids until we have a router which decouples ids from url paths.\n const _id = 'dxos.org.plugin.client.account';\n // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.\n // Ideally this should be worked into the data model in a generic way.\n export const id = `!${_id}`;\n\n export const Profile = `${_id}.profile`;\n export const Devices = `${_id}.devices`;\n export const Security = `${_id}.security`;\n}\n"],
5
5
  "mappings": ";;;;;AAIA,SAASA,kBAAkB;UAOVC,qBAAAA;sBACFC,SAASC,WAAWC,KAAa,GAAGC,KAAKC,EAAE,oBAAoB;sBAC/DC,SAASJ,WAAWC,KAAuB,GAAGC,KAAKC,EAAE,oBAAoB;sBACzEE,YAAYL,WAAWC,KAAwB,GAAGC,KAAKC,EAAE,uBAAuB;AAC/F,GAJiBL,uBAAAA,qBAAAA,CAAAA,EAAAA;;;;ACPjB,SAASQ,uBAAuB;UAIfC,eAAAA;gBACFC,cAAcC,gBAAgBC,KAAK,GAAGC,KAAKC,EAAE,qBAAqB;gBAClEC,cAAcJ,gBAAgBC,KAAK,GAAGC,KAAKC,EAAE,qBAAqB;gBAClEE,iBAAiBL,gBAAgBC,KAAK,GAAGC,KAAKC,EAAE,wBAAwB;gBACxEG,kBAAkBN,gBAAgBC,KAAK,GAAGC,KAAKC,EAAE,yBAAyB;gBAC1EI,cAAcP,gBAAgBC,KAAK,GAAGC,KAAKC,EAAE,qBAAqB;AACjF,GANiBL,iBAAAA,eAAAA,CAAAA,EAAAA;;;;ACHjB,YAAYU,YAAY;AAExB,SAASC,cAAAA,mBAAkB;AAC3B,SAA0CC,iBAAiB;AAC3D,SAASC,iBAAiB;AAK1B,IAAMC,iBAAwBC,cAAO;EACnCC,aAAoBC,kBAAWC,SAAAA;EAC/BC,UAAiBC,gBAAgBH,kBAAWC,SAAAA,CAAAA;EAC5CG,SAAgBD,gBACPL,cAAO;IACZO,aAAoBF,gBAAgBG,aAAM;IAC1CC,WAAkBJ,gBAAgBG,aAAM;IACxCE,MAAaL,gBAAgBM,cAAO;MAAEC,KAAYJ;MAAQK,OAAcC;IAAI,CAAA,CAAA;EAC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1EC,UAAU;MAACC,YAAWC;;IACtBC,QAAQ;MACNvB,OAAcI;MACdH,QAAeG;IACjB;EACF,CAAA;mBAEaS,cAAcI,UAAUC,KAAK;IACxCpB,MAAM;MAAEP,KAAK,GAAGwB,gBAAAA;MAAiCI,MAAM;IAAe;IACtEC,UAAU;MAACC,YAAWC;;IACtBC,QAAQ;MACNvB,OAAcrB,cAAO;QACnBmC,OAAc3B;MAChB,CAAA;MACAc,QAAeG;IACjB;EACF,CAAA;AACF,GAtGiBY,oBAAAA,kBAAAA,CAAAA,EAAAA;UA2IAQ,UAAAA;AAEf,QAAMC,MAAM;WAGC1B,KAAK,IAAI0B,GAAAA;WAETC,UAAU,GAAGD,GAAAA;WACbE,UAAU,GAAGF,GAAAA;WACbG,WAAW,GAAGH,GAAAA;AAC7B,GAViBD,YAAAA,UAAAA,CAAAA,EAAAA;;;;",
6
6
  "names": ["Capability", "ClientCapabilities", "Client", "Capability", "make", "meta", "id", "Schema", "Migration", "ActivationEvent", "ClientEvents", "ClientReady", "ActivationEvent", "make", "meta", "id", "SetupSchema", "SetupMigration", "IdentityCreated", "SpacesReady", "Schema", "Capability", "PublicKey", "Operation", "IdentitySchema", "Struct", "identityKey", "instanceOf", "PublicKey", "spaceKey", "optional", "profile", "displayName", "String", "avatarCid", "data", "Record", "key", "value", "Any", "ClientAction", "ProfileSchema", "CreateIdentity", "TaggedClass", "meta", "id", "input", "output", "JoinIdentity", "invitationCode", "Void", "ShareIdentity", "RecoverIdentity", "ResetStorage", "mode", "CreateAgent", "CreateRecoveryCode", "CreatePasskey", "RedeemPasskey", "RedeemToken", "token", "CLIENT_OPERATION", "ClientOperation", "Operation", "make", "name", "services", "Capability", "Service", "schema", "Account", "_id", "Profile", "Devices", "Security"]
7
7
  }
@@ -1,18 +1,18 @@
1
1
  // src/capabilities/client/index.ts
2
2
  import { Capability } from "@dxos/app-framework";
3
- var Client = Capability.lazy("Client", () => import("./client-Z25GQ5YC.mjs"));
3
+ var Client = Capability.lazy("Client", () => import("./client-BXCP3EUE.mjs"));
4
4
 
5
5
  // src/capabilities/operation-resolver/index.ts
6
6
  import { Capability as Capability2 } from "@dxos/app-framework";
7
- var OperationResolver = Capability2.lazy("OperationResolver", () => import("./operation-resolver-6QW3BKA5.mjs"));
7
+ var OperationResolver = Capability2.lazy("OperationResolver", () => import("./operation-resolver-VSWA74RS.mjs"));
8
8
 
9
9
  // src/capabilities/schema-defs/index.ts
10
10
  import { Capability as Capability3 } from "@dxos/app-framework";
11
- var SchemaDefs = Capability3.lazy("SchemaDefs", () => import("./schema-defs-5WDZWVEI.mjs"));
11
+ var SchemaDefs = Capability3.lazy("SchemaDefs", () => import("./schema-defs-KAG6HQMI.mjs"));
12
12
 
13
13
  export {
14
14
  Client,
15
15
  OperationResolver,
16
16
  SchemaDefs
17
17
  };
18
- //# sourceMappingURL=chunk-4XYOOXAH.mjs.map
18
+ //# sourceMappingURL=chunk-GSVYEYVS.mjs.map
@@ -0,0 +1,15 @@
1
+ import {
2
+ meta
3
+ } from "./chunk-JHSBBOCI.mjs";
4
+
5
+ // src/constants.ts
6
+ var JOIN_DIALOG = `${meta.id}.JoinDialog`;
7
+ var RECOVERY_CODE_DIALOG = `${meta.id}.RecoveryCodeDialog`;
8
+ var RESET_DIALOG = `${meta.id}.ResetDialog`;
9
+
10
+ export {
11
+ JOIN_DIALOG,
12
+ RECOVERY_CODE_DIALOG,
13
+ RESET_DIALOG
14
+ };
15
+ //# sourceMappingURL=chunk-HSFDKP5D.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/constants.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { meta } from './meta';\n\nexport const JOIN_DIALOG = `${meta.id}/JoinDialog`;\nexport const RECOVERY_CODE_DIALOG = `${meta.id}/RecoveryCodeDialog`;\nexport const RESET_DIALOG = `${meta.id}/ResetDialog`;\n"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { meta } from './meta';\n\nexport const JOIN_DIALOG = `${meta.id}.JoinDialog`;\nexport const RECOVERY_CODE_DIALOG = `${meta.id}.RecoveryCodeDialog`;\nexport const RESET_DIALOG = `${meta.id}.ResetDialog`;\n"],
5
5
  "mappings": ";;;;;AAMO,IAAMA,cAAc,GAAGC,KAAKC,EAAE;AAC9B,IAAMC,uBAAuB,GAAGF,KAAKC,EAAE;AACvC,IAAME,eAAe,GAAGH,KAAKC,EAAE;",
6
6
  "names": ["JOIN_DIALOG", "meta", "id", "RECOVERY_CODE_DIALOG", "RESET_DIALOG"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  // src/meta.ts
2
2
  import { trim } from "@dxos/util";
3
3
  var meta = {
4
- id: "dxos.org/plugin/client",
4
+ id: "org.dxos.plugin.client",
5
5
  name: "Client",
6
6
  description: trim`
7
7
  Core client connectivity and peer-to-peer networking infrastructure.
@@ -12,4 +12,4 @@ var meta = {
12
12
  export {
13
13
  meta
14
14
  };
15
- //# sourceMappingURL=chunk-N2GMSVDQ.mjs.map
15
+ //# sourceMappingURL=chunk-JHSBBOCI.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'dxos.org/plugin/client',\n name: 'Client',\n description: trim`\n Core client connectivity and peer-to-peer networking infrastructure.\n Manages identity, authentication, and real-time synchronization across devices.\n `,\n};\n"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.client',\n name: 'Client',\n description: trim`\n Core client connectivity and peer-to-peer networking infrastructure.\n Manages identity, authentication, and real-time synchronization across devices.\n `,\n};\n"],
5
5
  "mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaC;;;;AAIf;",
6
6
  "names": ["trim", "meta", "id", "name", "description", "trim"]
7
7
  }