@dxos/client-services 0.3.2-main.d77d2bc → 0.3.2-main.e5374ab

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 (154) hide show
  1. package/dist/lib/browser/{chunk-WOH6JPED.mjs → chunk-HQ4UBZ3F.mjs} +111 -164
  2. package/dist/lib/browser/chunk-HQ4UBZ3F.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +2 -2
  4. package/dist/lib/browser/index.mjs.map +2 -2
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/packlets/testing/index.mjs +1 -1
  7. package/dist/lib/browser/packlets/testing/index.mjs.map +2 -2
  8. package/dist/lib/node/index.cjs +155 -198
  9. package/dist/lib/node/index.cjs.map +3 -3
  10. package/dist/lib/node/meta.json +1 -1
  11. package/dist/lib/node/packlets/testing/index.cjs +130 -173
  12. package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
  13. package/dist/types/src/packlets/devices/devices-service.d.ts +4 -4
  14. package/dist/types/src/packlets/devices/devices-service.d.ts.map +1 -1
  15. package/dist/types/src/packlets/devtools/devtools.d.ts +4 -4
  16. package/dist/types/src/packlets/devtools/devtools.d.ts.map +1 -1
  17. package/dist/types/src/packlets/devtools/feeds.d.ts +3 -3
  18. package/dist/types/src/packlets/devtools/feeds.d.ts.map +1 -1
  19. package/dist/types/src/packlets/devtools/keys.d.ts +2 -2
  20. package/dist/types/src/packlets/devtools/keys.d.ts.map +1 -1
  21. package/dist/types/src/packlets/devtools/metadata.d.ts +2 -2
  22. package/dist/types/src/packlets/devtools/metadata.d.ts.map +1 -1
  23. package/dist/types/src/packlets/devtools/network.d.ts +3 -3
  24. package/dist/types/src/packlets/devtools/network.d.ts.map +1 -1
  25. package/dist/types/src/packlets/devtools/spaces.d.ts +2 -2
  26. package/dist/types/src/packlets/devtools/spaces.d.ts.map +1 -1
  27. package/dist/types/src/packlets/identity/authenticator.d.ts +5 -5
  28. package/dist/types/src/packlets/identity/authenticator.d.ts.map +1 -1
  29. package/dist/types/src/packlets/identity/identity-manager.d.ts +5 -9
  30. package/dist/types/src/packlets/identity/identity-manager.d.ts.map +1 -1
  31. package/dist/types/src/packlets/identity/identity-service.d.ts +4 -4
  32. package/dist/types/src/packlets/identity/identity-service.d.ts.map +1 -1
  33. package/dist/types/src/packlets/identity/identity.d.ts +8 -8
  34. package/dist/types/src/packlets/identity/identity.d.ts.map +1 -1
  35. package/dist/types/src/packlets/invitations/device-invitation-protocol.d.ts +4 -4
  36. package/dist/types/src/packlets/invitations/device-invitation-protocol.d.ts.map +1 -1
  37. package/dist/types/src/packlets/invitations/invitation-extension.d.ts +3 -3
  38. package/dist/types/src/packlets/invitations/invitation-extension.d.ts.map +1 -1
  39. package/dist/types/src/packlets/invitations/invitation-protocol.d.ts +3 -3
  40. package/dist/types/src/packlets/invitations/invitation-protocol.d.ts.map +1 -1
  41. package/dist/types/src/packlets/invitations/invitations-handler.d.ts +1 -1
  42. package/dist/types/src/packlets/invitations/invitations-handler.d.ts.map +1 -1
  43. package/dist/types/src/packlets/invitations/invitations-service.d.ts +3 -3
  44. package/dist/types/src/packlets/invitations/invitations-service.d.ts.map +1 -1
  45. package/dist/types/src/packlets/invitations/space-invitation-protocol.d.ts +6 -6
  46. package/dist/types/src/packlets/invitations/space-invitation-protocol.d.ts.map +1 -1
  47. package/dist/types/src/packlets/locks/browser.d.ts +1 -1
  48. package/dist/types/src/packlets/locks/browser.d.ts.map +1 -1
  49. package/dist/types/src/packlets/locks/node.d.ts +1 -1
  50. package/dist/types/src/packlets/locks/node.d.ts.map +1 -1
  51. package/dist/types/src/packlets/locks/resource-lock.d.ts +1 -1
  52. package/dist/types/src/packlets/locks/resource-lock.d.ts.map +1 -1
  53. package/dist/types/src/packlets/logging/logging-service.d.ts +1 -1
  54. package/dist/types/src/packlets/logging/logging-service.d.ts.map +1 -1
  55. package/dist/types/src/packlets/network/network-service.d.ts +3 -3
  56. package/dist/types/src/packlets/network/network-service.d.ts.map +1 -1
  57. package/dist/types/src/packlets/services/client-rpc-server.d.ts +5 -5
  58. package/dist/types/src/packlets/services/client-rpc-server.d.ts.map +1 -1
  59. package/dist/types/src/packlets/services/diagnostics.d.ts +8 -8
  60. package/dist/types/src/packlets/services/diagnostics.d.ts.map +1 -1
  61. package/dist/types/src/packlets/services/service-context.d.ts +6 -6
  62. package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
  63. package/dist/types/src/packlets/services/service-host.d.ts +5 -5
  64. package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
  65. package/dist/types/src/packlets/services/service-registry.d.ts +1 -1
  66. package/dist/types/src/packlets/services/service-registry.d.ts.map +1 -1
  67. package/dist/types/src/packlets/spaces/data-space-manager.d.ts +7 -7
  68. package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
  69. package/dist/types/src/packlets/spaces/data-space.d.ts +9 -9
  70. package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
  71. package/dist/types/src/packlets/spaces/genesis.d.ts +3 -3
  72. package/dist/types/src/packlets/spaces/genesis.d.ts.map +1 -1
  73. package/dist/types/src/packlets/spaces/notarization-plugin.d.ts +5 -5
  74. package/dist/types/src/packlets/spaces/notarization-plugin.d.ts.map +1 -1
  75. package/dist/types/src/packlets/spaces/spaces-service.d.ts +7 -7
  76. package/dist/types/src/packlets/spaces/spaces-service.d.ts.map +1 -1
  77. package/dist/types/src/packlets/system/system-service.d.ts +5 -5
  78. package/dist/types/src/packlets/system/system-service.d.ts.map +1 -1
  79. package/dist/types/src/packlets/testing/credential-utils.d.ts +2 -2
  80. package/dist/types/src/packlets/testing/credential-utils.d.ts.map +1 -1
  81. package/dist/types/src/packlets/testing/invitation-utils.d.ts +1 -1
  82. package/dist/types/src/packlets/testing/invitation-utils.d.ts.map +1 -1
  83. package/dist/types/src/packlets/testing/test-builder.d.ts +4 -4
  84. package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
  85. package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts +4 -4
  86. package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts.map +1 -1
  87. package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts +4 -4
  88. package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts.map +1 -1
  89. package/dist/types/src/packlets/vault/shell-runtime.d.ts +4 -4
  90. package/dist/types/src/packlets/vault/shell-runtime.d.ts.map +1 -1
  91. package/dist/types/src/packlets/vault/worker-runtime.d.ts +3 -3
  92. package/dist/types/src/packlets/vault/worker-runtime.d.ts.map +1 -1
  93. package/dist/types/src/packlets/vault/worker-session.d.ts +3 -3
  94. package/dist/types/src/packlets/vault/worker-session.d.ts.map +1 -1
  95. package/dist/types/src/version.d.ts +1 -1
  96. package/package.json +37 -35
  97. package/src/packlets/devices/devices-service.test.ts +2 -2
  98. package/src/packlets/devices/devices-service.ts +10 -17
  99. package/src/packlets/devtools/devtools.ts +35 -35
  100. package/src/packlets/devtools/feeds.ts +6 -6
  101. package/src/packlets/devtools/keys.ts +2 -2
  102. package/src/packlets/devtools/metadata.ts +2 -2
  103. package/src/packlets/devtools/network.ts +8 -8
  104. package/src/packlets/devtools/spaces.ts +8 -5
  105. package/src/packlets/identity/authenticator.ts +5 -5
  106. package/src/packlets/identity/identity-manager.test.ts +7 -6
  107. package/src/packlets/identity/identity-manager.ts +18 -26
  108. package/src/packlets/identity/identity-service.test.ts +2 -2
  109. package/src/packlets/identity/identity-service.ts +8 -8
  110. package/src/packlets/identity/identity.test.ts +2 -2
  111. package/src/packlets/identity/identity.ts +13 -9
  112. package/src/packlets/invitations/device-invitation-protocol.test.ts +1 -1
  113. package/src/packlets/invitations/device-invitation-protocol.ts +8 -4
  114. package/src/packlets/invitations/invitation-extension.ts +6 -6
  115. package/src/packlets/invitations/invitation-protocol.ts +7 -3
  116. package/src/packlets/invitations/invitations-handler.ts +7 -2
  117. package/src/packlets/invitations/invitations-service.ts +5 -5
  118. package/src/packlets/invitations/space-invitation-protocol.test.ts +1 -1
  119. package/src/packlets/invitations/space-invitation-protocol.ts +12 -8
  120. package/src/packlets/locks/browser.ts +1 -1
  121. package/src/packlets/locks/node.ts +2 -2
  122. package/src/packlets/locks/resource-lock.ts +1 -1
  123. package/src/packlets/logging/logging-service.ts +14 -8
  124. package/src/packlets/logging/logging.test.ts +1 -1
  125. package/src/packlets/network/network-service.test.ts +2 -2
  126. package/src/packlets/network/network-service.ts +7 -3
  127. package/src/packlets/services/client-rpc-server.ts +5 -5
  128. package/src/packlets/services/diagnostics.ts +13 -13
  129. package/src/packlets/services/service-context.test.ts +2 -2
  130. package/src/packlets/services/service-context.ts +9 -9
  131. package/src/packlets/services/service-host.test.ts +3 -3
  132. package/src/packlets/services/service-host.ts +9 -9
  133. package/src/packlets/services/service-registry.test.ts +2 -2
  134. package/src/packlets/services/service-registry.ts +1 -1
  135. package/src/packlets/spaces/data-space-manager.test.ts +4 -4
  136. package/src/packlets/spaces/data-space-manager.ts +8 -8
  137. package/src/packlets/spaces/data-space.ts +10 -10
  138. package/src/packlets/spaces/genesis.ts +3 -3
  139. package/src/packlets/spaces/notarization-plugin.test.ts +2 -2
  140. package/src/packlets/spaces/notarization-plugin.ts +5 -5
  141. package/src/packlets/spaces/spaces-service.test.ts +2 -2
  142. package/src/packlets/spaces/spaces-service.ts +17 -17
  143. package/src/packlets/system/system-service.test.ts +1 -1
  144. package/src/packlets/system/system-service.ts +9 -9
  145. package/src/packlets/testing/credential-utils.ts +2 -2
  146. package/src/packlets/testing/invitation-utils.ts +1 -1
  147. package/src/packlets/testing/test-builder.ts +4 -4
  148. package/src/packlets/vault/iframe-host-runtime.ts +6 -6
  149. package/src/packlets/vault/iframe-proxy-runtime.ts +10 -5
  150. package/src/packlets/vault/shell-runtime.ts +4 -4
  151. package/src/packlets/vault/worker-runtime.ts +3 -3
  152. package/src/packlets/vault/worker-session.ts +5 -5
  153. package/src/version.ts +1 -1
  154. package/dist/lib/browser/chunk-WOH6JPED.mjs.map +0 -7
@@ -487,7 +487,7 @@ var Identity = class Identity2 {
487
487
  deviceKey
488
488
  }, {
489
489
  F: __dxlog_file2,
490
- L: 60,
490
+ L: 64,
491
491
  S: this,
492
492
  C: (f, a) => f(...a)
493
493
  });
@@ -559,7 +559,7 @@ var Identity = class Identity2 {
559
559
  getIdentityCredentialSigner() {
560
560
  invariant(this._deviceStateMachine.deviceCredentialChain, "Device credential chain is not ready.", {
561
561
  F: __dxlog_file2,
562
- L: 141,
562
+ L: 145,
563
563
  S: this,
564
564
  A: [
565
565
  "this._deviceStateMachine.deviceCredentialChain",
@@ -583,7 +583,7 @@ var Identity = class Identity2 {
583
583
  dataFeedKey
584
584
  }, {
585
585
  F: __dxlog_file2,
586
- L: 157,
586
+ L: 161,
587
587
  S: this,
588
588
  C: (f, a) => f(...a)
589
589
  });
@@ -635,6 +635,7 @@ Identity = _ts_decorate([
635
635
  ], Identity);
636
636
 
637
637
  // packages/sdk/client-services/src/packlets/identity/identity-manager.ts
638
+ import platform from "platform";
638
639
  import { Event as Event2 } from "@dxos/async";
639
640
  import { Context as Context3 } from "@dxos/context";
640
641
  import { createCredentialSignerWithKey as createCredentialSignerWithKey2, CredentialGenerator } from "@dxos/credentials";
@@ -676,7 +677,7 @@ var IdentityManager = class IdentityManager2 {
676
677
  id: traceId
677
678
  }), {
678
679
  F: __dxlog_file3,
679
- L: 73,
680
+ L: 75,
680
681
  S: this,
681
682
  C: (f, a) => f(...a)
682
683
  });
@@ -685,7 +686,7 @@ var IdentityManager = class IdentityManager2 {
685
686
  identityRecord
686
687
  }, {
687
688
  F: __dxlog_file3,
688
- L: 76,
689
+ L: 78,
689
690
  S: this,
690
691
  C: (f, a) => f(...a)
691
692
  });
@@ -698,7 +699,7 @@ var IdentityManager = class IdentityManager2 {
698
699
  displayName: this._identity.profileDocument?.displayName
699
700
  }, {
700
701
  F: __dxlog_file3,
701
- L: 81,
702
+ L: 83,
702
703
  S: this,
703
704
  C: (f, a) => f(...a)
704
705
  });
@@ -708,7 +709,7 @@ var IdentityManager = class IdentityManager2 {
708
709
  id: traceId
709
710
  }), {
710
711
  F: __dxlog_file3,
711
- L: 87,
712
+ L: 89,
712
713
  S: this,
713
714
  C: (f, a) => f(...a)
714
715
  });
@@ -719,7 +720,7 @@ var IdentityManager = class IdentityManager2 {
719
720
  async createIdentity({ displayName } = {}) {
720
721
  invariant2(!this._identity, "Identity already exists.", {
721
722
  F: __dxlog_file3,
722
- L: 95,
723
+ L: 97,
723
724
  S: this,
724
725
  A: [
725
726
  "!this._identity",
@@ -728,7 +729,7 @@ var IdentityManager = class IdentityManager2 {
728
729
  });
729
730
  log3("creating identity...", void 0, {
730
731
  F: __dxlog_file3,
731
- L: 96,
732
+ L: 98,
732
733
  S: this,
733
734
  C: (f, a) => f(...a)
734
735
  });
@@ -749,7 +750,7 @@ var IdentityManager = class IdentityManager2 {
749
750
  const generator = new CredentialGenerator(this._keyring, identityRecord.identityKey, identityRecord.deviceKey);
750
751
  invariant2(identityRecord.haloSpace.genesisFeedKey, "Genesis feed key is required.", {
751
752
  F: __dxlog_file3,
752
- L: 115,
753
+ L: 117,
753
754
  S: this,
754
755
  A: [
755
756
  "identityRecord.haloSpace.genesisFeedKey",
@@ -758,7 +759,7 @@ var IdentityManager = class IdentityManager2 {
758
759
  });
759
760
  invariant2(identityRecord.haloSpace.dataFeedKey, "Data feed key is required.", {
760
761
  F: __dxlog_file3,
761
- L: 116,
762
+ L: 118,
762
763
  S: this,
763
764
  A: [
764
765
  "identityRecord.haloSpace.dataFeedKey",
@@ -777,6 +778,13 @@ var IdentityManager = class IdentityManager2 {
777
778
  }));
778
779
  }
779
780
  credentials.push(await generator.createDeviceAuthorization(identityRecord.deviceKey));
781
+ credentials.push(await generator.createDeviceProfile({
782
+ platform: platform.name,
783
+ platformVersion: platform.version,
784
+ architecture: typeof platform.os?.architecture === "number" ? String(platform.os.architecture) : void 0,
785
+ os: platform.os?.family,
786
+ osVersion: platform.os?.version
787
+ }));
780
788
  for (const credential of credentials) {
781
789
  await identity.controlPipeline.writer.write({
782
790
  credential: {
@@ -793,7 +801,7 @@ var IdentityManager = class IdentityManager2 {
793
801
  displayName: this._identity.profileDocument?.displayName
794
802
  }, {
795
803
  F: __dxlog_file3,
796
- L: 151,
804
+ L: 163,
797
805
  S: this,
798
806
  C: (f, a) => f(...a)
799
807
  });
@@ -803,7 +811,7 @@ var IdentityManager = class IdentityManager2 {
803
811
  deviceKey: identity.deviceKey
804
812
  }, {
805
813
  F: __dxlog_file3,
806
- L: 157,
814
+ L: 169,
807
815
  S: this,
808
816
  C: (f, a) => f(...a)
809
817
  });
@@ -817,13 +825,13 @@ var IdentityManager = class IdentityManager2 {
817
825
  params
818
826
  }, {
819
827
  F: __dxlog_file3,
820
- L: 165,
828
+ L: 177,
821
829
  S: this,
822
830
  C: (f, a) => f(...a)
823
831
  });
824
832
  invariant2(!this._identity, "Identity already exists.", {
825
833
  F: __dxlog_file3,
826
- L: 166,
834
+ L: 178,
827
835
  S: this,
828
836
  A: [
829
837
  "!this._identity",
@@ -851,7 +859,7 @@ var IdentityManager = class IdentityManager2 {
851
859
  displayName: this._identity.profileDocument?.displayName
852
860
  }, {
853
861
  F: __dxlog_file3,
854
- L: 185,
862
+ L: 197,
855
863
  S: this,
856
864
  C: (f, a) => f(...a)
857
865
  });
@@ -861,7 +869,7 @@ var IdentityManager = class IdentityManager2 {
861
869
  deviceKey: identity.deviceKey
862
870
  }, {
863
871
  F: __dxlog_file3,
864
- L: 191,
872
+ L: 203,
865
873
  S: this,
866
874
  C: (f, a) => f(...a)
867
875
  });
@@ -873,7 +881,7 @@ var IdentityManager = class IdentityManager2 {
873
881
  async updateProfile(profile) {
874
882
  invariant2(this._identity, "Identity not initialized.", {
875
883
  F: __dxlog_file3,
876
- L: 199,
884
+ L: 211,
877
885
  S: this,
878
886
  A: [
879
887
  "this._identity",
@@ -901,51 +909,10 @@ var IdentityManager = class IdentityManager2 {
901
909
  this.stateUpdate.emit();
902
910
  return profile;
903
911
  }
904
- async updateDevice({ deviceKey, profile }) {
905
- invariant2(this._identity, "Identity not initialized.", {
906
- F: __dxlog_file3,
907
- L: 216,
908
- S: this,
909
- A: [
910
- "this._identity",
911
- "'Identity not initialized.'"
912
- ]
913
- });
914
- invariant2(this._identity.authorizedDeviceKeys.has(deviceKey), "Device not authorized.", {
915
- F: __dxlog_file3,
916
- L: 218,
917
- S: this,
918
- A: [
919
- "this._identity.authorizedDeviceKeys.has(deviceKey)",
920
- "'Device not authorized.'"
921
- ]
922
- });
923
- const credential = await this._identity.getIdentityCredentialSigner().createCredential({
924
- subject: this._identity.identityKey,
925
- assertion: {
926
- "@type": "dxos.halo.credentials.DeviceProfile",
927
- deviceKey,
928
- profile
929
- }
930
- });
931
- const receipt = await this._identity.controlPipeline.writer.write({
932
- credential: {
933
- credential
934
- }
935
- });
936
- await this._identity.controlPipeline.state.waitUntilTimeframe(new Timeframe([
937
- [
938
- receipt.feedKey,
939
- receipt.seq
940
- ]
941
- ]));
942
- this.stateUpdate.emit();
943
- return profile;
944
- }
945
912
  async _constructIdentity(identityRecord) {
946
913
  invariant2(!this._identity, void 0, {
947
914
  F: __dxlog_file3,
948
- L: 236,
915
+ L: 228,
949
916
  S: this,
950
917
  A: [
951
918
  "!this._identity",
@@ -956,13 +923,13 @@ var IdentityManager = class IdentityManager2 {
956
923
  identityRecord
957
924
  }, {
958
925
  F: __dxlog_file3,
959
- L: 237,
926
+ L: 229,
960
927
  S: this,
961
928
  C: (f, a) => f(...a)
962
929
  });
963
930
  invariant2(identityRecord.haloSpace.controlFeedKey, void 0, {
964
931
  F: __dxlog_file3,
965
- L: 240,
932
+ L: 232,
966
933
  S: this,
967
934
  A: [
968
935
  "identityRecord.haloSpace.controlFeedKey",
@@ -974,7 +941,7 @@ var IdentityManager = class IdentityManager2 {
974
941
  });
975
942
  invariant2(identityRecord.haloSpace.dataFeedKey, void 0, {
976
943
  F: __dxlog_file3,
977
- L: 244,
944
+ L: 236,
978
945
  S: this,
979
946
  A: [
980
947
  "identityRecord.haloSpace.dataFeedKey",
@@ -1006,7 +973,7 @@ var IdentityManager = class IdentityManager2 {
1006
973
  identityKey: identityRecord.identityKey
1007
974
  }, {
1008
975
  F: __dxlog_file3,
1009
- L: 268,
976
+ L: 260,
1010
977
  S: this,
1011
978
  C: (f, a) => f(...a)
1012
979
  });
@@ -1027,7 +994,7 @@ var IdentityManager = class IdentityManager2 {
1027
994
  onAuthFailure: () => {
1028
995
  log3.warn("auth failure", void 0, {
1029
996
  F: __dxlog_file3,
1030
- L: 287,
997
+ L: 279,
1031
998
  S: this,
1032
999
  C: (f, a) => f(...a)
1033
1000
  });
@@ -1137,7 +1104,7 @@ var DeviceInvitationProtocol = class {
1137
1104
  async admit(request) {
1138
1105
  invariant4(request.device, void 0, {
1139
1106
  F: __dxlog_file5,
1140
- L: 31,
1107
+ L: 35,
1141
1108
  S: this,
1142
1109
  A: [
1143
1110
  "request.device",
@@ -1173,7 +1140,7 @@ var DeviceInvitationProtocol = class {
1173
1140
  async accept(response, request) {
1174
1141
  invariant4(response.device, void 0, {
1175
1142
  F: __dxlog_file5,
1176
- L: 64,
1143
+ L: 68,
1177
1144
  S: this,
1178
1145
  A: [
1179
1146
  "response.device",
@@ -1183,7 +1150,7 @@ var DeviceInvitationProtocol = class {
1183
1150
  const { identityKey, haloSpaceKey, genesisFeedKey, controlTimeframe } = response.device;
1184
1151
  invariant4(request.device, void 0, {
1185
1152
  F: __dxlog_file5,
1186
- L: 67,
1153
+ L: 71,
1187
1154
  S: this,
1188
1155
  A: [
1189
1156
  "request.device",
@@ -1573,7 +1540,7 @@ var InvitationsHandler = class {
1573
1540
  const authCode = options?.authCode ?? (authMethod === Invitation3.AuthMethod.SHARED_SECRET ? generatePasscode(AUTHENTICATION_CODE_LENGTH) : void 0);
1574
1541
  invariant6(protocol, void 0, {
1575
1542
  F: __dxlog_file7,
1576
- L: 75,
1543
+ L: 80,
1577
1544
  S: this,
1578
1545
  A: [
1579
1546
  "protocol",
@@ -1602,7 +1569,7 @@ var InvitationsHandler = class {
1602
1569
  ...protocol.toJSON()
1603
1570
  }, {
1604
1571
  F: __dxlog_file7,
1605
- L: 97,
1572
+ L: 102,
1606
1573
  S: this,
1607
1574
  C: (f, a) => f(...a)
1608
1575
  });
@@ -1627,7 +1594,7 @@ var InvitationsHandler = class {
1627
1594
  const deviceKey = admissionRequest.device?.deviceKey ?? admissionRequest.space?.deviceKey;
1628
1595
  invariant6(deviceKey, void 0, {
1629
1596
  F: __dxlog_file7,
1630
- L: 118,
1597
+ L: 123,
1631
1598
  S: this,
1632
1599
  A: [
1633
1600
  "deviceKey",
@@ -1650,7 +1617,7 @@ var InvitationsHandler = class {
1650
1617
  id: traceId
1651
1618
  }), {
1652
1619
  F: __dxlog_file7,
1653
- L: 136,
1620
+ L: 141,
1654
1621
  S: this,
1655
1622
  C: (f, a) => f(...a)
1656
1623
  });
@@ -1658,7 +1625,7 @@ var InvitationsHandler = class {
1658
1625
  ...protocol.toJSON()
1659
1626
  }, {
1660
1627
  F: __dxlog_file7,
1661
- L: 137,
1628
+ L: 142,
1662
1629
  S: this,
1663
1630
  C: (f, a) => f(...a)
1664
1631
  });
@@ -1674,7 +1641,7 @@ var InvitationsHandler = class {
1674
1641
  ...protocol.toJSON()
1675
1642
  }, {
1676
1643
  F: __dxlog_file7,
1677
- L: 140,
1644
+ L: 145,
1678
1645
  S: this,
1679
1646
  C: (f, a) => f(...a)
1680
1647
  });
@@ -1686,7 +1653,7 @@ var InvitationsHandler = class {
1686
1653
  id: traceId
1687
1654
  }), {
1688
1655
  F: __dxlog_file7,
1689
- L: 142,
1656
+ L: 147,
1690
1657
  S: this,
1691
1658
  C: (f, a) => f(...a)
1692
1659
  });
@@ -1696,7 +1663,7 @@ var InvitationsHandler = class {
1696
1663
  ...protocol.toJSON()
1697
1664
  }, {
1698
1665
  F: __dxlog_file7,
1699
- L: 145,
1666
+ L: 150,
1700
1667
  S: this,
1701
1668
  C: (f, a) => f(...a)
1702
1669
  });
@@ -1707,7 +1674,7 @@ var InvitationsHandler = class {
1707
1674
  } else {
1708
1675
  log5.error("failed", err, {
1709
1676
  F: __dxlog_file7,
1710
- L: 148,
1677
+ L: 153,
1711
1678
  S: this,
1712
1679
  C: (f, a) => f(...a)
1713
1680
  });
@@ -1718,7 +1685,7 @@ var InvitationsHandler = class {
1718
1685
  error: err
1719
1686
  }), {
1720
1687
  F: __dxlog_file7,
1721
- L: 151,
1688
+ L: 156,
1722
1689
  S: this,
1723
1690
  C: (f, a) => f(...a)
1724
1691
  });
@@ -1739,7 +1706,7 @@ var InvitationsHandler = class {
1739
1706
  ...protocol.toJSON()
1740
1707
  }, {
1741
1708
  F: __dxlog_file7,
1742
- L: 166,
1709
+ L: 171,
1743
1710
  S: this,
1744
1711
  C: (f, a) => f(...a)
1745
1712
  });
@@ -1750,7 +1717,7 @@ var InvitationsHandler = class {
1750
1717
  } else {
1751
1718
  log5.error("failed", err, {
1752
1719
  F: __dxlog_file7,
1753
- L: 169,
1720
+ L: 174,
1754
1721
  S: this,
1755
1722
  C: (f, a) => f(...a)
1756
1723
  });
@@ -1795,7 +1762,7 @@ var InvitationsHandler = class {
1795
1762
  const { timeout = INVITATION_TIMEOUT } = invitation;
1796
1763
  invariant6(protocol, void 0, {
1797
1764
  F: __dxlog_file7,
1798
- L: 210,
1765
+ L: 215,
1799
1766
  S: this,
1800
1767
  A: [
1801
1768
  "protocol",
@@ -1809,7 +1776,7 @@ var InvitationsHandler = class {
1809
1776
  const setState = (newData) => {
1810
1777
  invariant6(newData.state !== void 0, void 0, {
1811
1778
  F: __dxlog_file7,
1812
- L: 221,
1779
+ L: 226,
1813
1780
  S: this,
1814
1781
  A: [
1815
1782
  "newData.state !== undefined",
@@ -1829,7 +1796,7 @@ var InvitationsHandler = class {
1829
1796
  ...protocol.toJSON()
1830
1797
  }, {
1831
1798
  F: __dxlog_file7,
1832
- L: 229,
1799
+ L: 234,
1833
1800
  S: this,
1834
1801
  C: (f, a) => f(...a)
1835
1802
  });
@@ -1839,7 +1806,7 @@ var InvitationsHandler = class {
1839
1806
  } else {
1840
1807
  log5.warn("auth failed", err, {
1841
1808
  F: __dxlog_file7,
1842
- L: 232,
1809
+ L: 237,
1843
1810
  S: this,
1844
1811
  C: (f, a) => f(...a)
1845
1812
  });
@@ -1853,7 +1820,7 @@ var InvitationsHandler = class {
1853
1820
  ...protocol.toJSON()
1854
1821
  }, {
1855
1822
  F: __dxlog_file7,
1856
- L: 240,
1823
+ L: 245,
1857
1824
  S: this,
1858
1825
  C: (f, a) => f(...a)
1859
1826
  });
@@ -1868,7 +1835,7 @@ var InvitationsHandler = class {
1868
1835
  currentState
1869
1836
  }, {
1870
1837
  F: __dxlog_file7,
1871
- L: 250,
1838
+ L: 255,
1872
1839
  S: this,
1873
1840
  C: (f, a) => f(...a)
1874
1841
  });
@@ -1883,7 +1850,7 @@ var InvitationsHandler = class {
1883
1850
  id: traceId
1884
1851
  }), {
1885
1852
  F: __dxlog_file7,
1886
- L: 259,
1853
+ L: 264,
1887
1854
  S: this,
1888
1855
  C: (f, a) => f(...a)
1889
1856
  });
@@ -1895,7 +1862,7 @@ var InvitationsHandler = class {
1895
1862
  ...protocol.toJSON()
1896
1863
  }, {
1897
1864
  F: __dxlog_file7,
1898
- L: 267,
1865
+ L: 272,
1899
1866
  S: this,
1900
1867
  C: (f, a) => f(...a)
1901
1868
  });
@@ -1906,7 +1873,7 @@ var InvitationsHandler = class {
1906
1873
  ...protocol.toJSON()
1907
1874
  }, {
1908
1875
  F: __dxlog_file7,
1909
- L: 271,
1876
+ L: 276,
1910
1877
  S: this,
1911
1878
  C: (f, a) => f(...a)
1912
1879
  });
@@ -1916,7 +1883,7 @@ var InvitationsHandler = class {
1916
1883
  response: introductionResponse
1917
1884
  }, {
1918
1885
  F: __dxlog_file7,
1919
- L: 275,
1886
+ L: 280,
1920
1887
  S: this,
1921
1888
  C: (f, a) => f(...a)
1922
1889
  });
@@ -1928,7 +1895,7 @@ var InvitationsHandler = class {
1928
1895
  for (let attempt = 1; attempt <= MAX_OTP_ATTEMPTS; attempt++) {
1929
1896
  log5("guest waiting for authentication code...", void 0, {
1930
1897
  F: __dxlog_file7,
1931
- L: 284,
1898
+ L: 289,
1932
1899
  S: this,
1933
1900
  C: (f, a) => f(...a)
1934
1901
  });
@@ -1940,7 +1907,7 @@ var InvitationsHandler = class {
1940
1907
  });
1941
1908
  log5("sending authentication request", void 0, {
1942
1909
  F: __dxlog_file7,
1943
- L: 288,
1910
+ L: 293,
1944
1911
  S: this,
1945
1912
  C: (f, a) => f(...a)
1946
1913
  });
@@ -1961,7 +1928,7 @@ var InvitationsHandler = class {
1961
1928
  attempt
1962
1929
  }, {
1963
1930
  F: __dxlog_file7,
1964
- L: 299,
1931
+ L: 304,
1965
1932
  S: this,
1966
1933
  C: (f, a) => f(...a)
1967
1934
  });
@@ -1978,7 +1945,7 @@ var InvitationsHandler = class {
1978
1945
  ...protocol.toJSON()
1979
1946
  }, {
1980
1947
  F: __dxlog_file7,
1981
- L: 310,
1948
+ L: 315,
1982
1949
  S: this,
1983
1950
  C: (f, a) => f(...a)
1984
1951
  });
@@ -1990,7 +1957,7 @@ var InvitationsHandler = class {
1990
1957
  ...protocol.toJSON()
1991
1958
  }, {
1992
1959
  F: __dxlog_file7,
1993
- L: 321,
1960
+ L: 326,
1994
1961
  S: this,
1995
1962
  C: (f, a) => f(...a)
1996
1963
  });
@@ -2002,7 +1969,7 @@ var InvitationsHandler = class {
2002
1969
  id: traceId
2003
1970
  }), {
2004
1971
  F: __dxlog_file7,
2005
- L: 323,
1972
+ L: 328,
2006
1973
  S: this,
2007
1974
  C: (f, a) => f(...a)
2008
1975
  });
@@ -2012,7 +1979,7 @@ var InvitationsHandler = class {
2012
1979
  ...protocol.toJSON()
2013
1980
  }, {
2014
1981
  F: __dxlog_file7,
2015
- L: 326,
1982
+ L: 331,
2016
1983
  S: this,
2017
1984
  C: (f, a) => f(...a)
2018
1985
  });
@@ -2022,7 +1989,7 @@ var InvitationsHandler = class {
2022
1989
  } else {
2023
1990
  log5("auth failed", err, {
2024
1991
  F: __dxlog_file7,
2025
- L: 329,
1992
+ L: 334,
2026
1993
  S: this,
2027
1994
  C: (f, a) => f(...a)
2028
1995
  });
@@ -2033,7 +2000,7 @@ var InvitationsHandler = class {
2033
2000
  error: err
2034
2001
  }), {
2035
2002
  F: __dxlog_file7,
2036
- L: 332,
2003
+ L: 337,
2037
2004
  S: this,
2038
2005
  C: (f, a) => f(...a)
2039
2006
  });
@@ -2051,7 +2018,7 @@ var InvitationsHandler = class {
2051
2018
  ...protocol.toJSON()
2052
2019
  }, {
2053
2020
  F: __dxlog_file7,
2054
- L: 343,
2021
+ L: 348,
2055
2022
  S: this,
2056
2023
  C: (f, a) => f(...a)
2057
2024
  });
@@ -2061,7 +2028,7 @@ var InvitationsHandler = class {
2061
2028
  } else {
2062
2029
  log5("auth failed", err, {
2063
2030
  F: __dxlog_file7,
2064
- L: 346,
2031
+ L: 351,
2065
2032
  S: this,
2066
2033
  C: (f, a) => f(...a)
2067
2034
  });
@@ -2074,7 +2041,7 @@ var InvitationsHandler = class {
2074
2041
  scheduleTask2(ctx, async () => {
2075
2042
  invariant6(invitation.swarmKey, void 0, {
2076
2043
  F: __dxlog_file7,
2077
- L: 356,
2044
+ L: 361,
2078
2045
  S: this,
2079
2046
  A: [
2080
2047
  "invitation.swarmKey",
@@ -2324,7 +2291,7 @@ var SpaceInvitationProtocol = class {
2324
2291
  async admit(request, guestProfile) {
2325
2292
  invariant8(this._spaceKey, void 0, {
2326
2293
  F: __dxlog_file9,
2327
- L: 42,
2294
+ L: 46,
2328
2295
  S: this,
2329
2296
  A: [
2330
2297
  "this._spaceKey",
@@ -2334,7 +2301,7 @@ var SpaceInvitationProtocol = class {
2334
2301
  const space = await this._spaceManager.spaces.get(this._spaceKey);
2335
2302
  invariant8(space, void 0, {
2336
2303
  F: __dxlog_file9,
2337
- L: 44,
2304
+ L: 48,
2338
2305
  S: this,
2339
2306
  A: [
2340
2307
  "space",
@@ -2343,7 +2310,7 @@ var SpaceInvitationProtocol = class {
2343
2310
  });
2344
2311
  invariant8(request.space, void 0, {
2345
2312
  F: __dxlog_file9,
2346
- L: 46,
2313
+ L: 50,
2347
2314
  S: this,
2348
2315
  A: [
2349
2316
  "request.space",
@@ -2356,14 +2323,14 @@ var SpaceInvitationProtocol = class {
2356
2323
  guest: deviceKey
2357
2324
  }, {
2358
2325
  F: __dxlog_file9,
2359
- L: 49,
2326
+ L: 53,
2360
2327
  S: this,
2361
2328
  C: (f, a) => f(...a)
2362
2329
  });
2363
2330
  const credentials = await createAdmissionCredentials(this._signingContext.credentialSigner, identityKey, space.key, space.inner.genesisFeedKey, guestProfile);
2364
2331
  invariant8(credentials[0].credential, void 0, {
2365
2332
  F: __dxlog_file9,
2366
- L: 60,
2333
+ L: 64,
2367
2334
  S: this,
2368
2335
  A: [
2369
2336
  "credentials[0].credential",
@@ -2373,7 +2340,7 @@ var SpaceInvitationProtocol = class {
2373
2340
  const spaceMemberCredential = credentials[0].credential.credential;
2374
2341
  invariant8(getCredentialAssertion(spaceMemberCredential)["@type"] === "dxos.halo.credentials.SpaceMember", void 0, {
2375
2342
  F: __dxlog_file9,
2376
- L: 62,
2343
+ L: 66,
2377
2344
  S: this,
2378
2345
  A: [
2379
2346
  "getCredentialAssertion(spaceMemberCredential)['@type'] === 'dxos.halo.credentials.SpaceMember'",
@@ -2409,7 +2376,7 @@ var SpaceInvitationProtocol = class {
2409
2376
  async accept(response) {
2410
2377
  invariant8(response.space, void 0, {
2411
2378
  F: __dxlog_file9,
2412
- L: 97,
2379
+ L: 101,
2413
2380
  S: this,
2414
2381
  A: [
2415
2382
  "response.space",
@@ -2420,7 +2387,7 @@ var SpaceInvitationProtocol = class {
2420
2387
  const assertion = getCredentialAssertion(credential);
2421
2388
  invariant8(assertion["@type"] === "dxos.halo.credentials.SpaceMember", "Invalid credential", {
2422
2389
  F: __dxlog_file9,
2423
- L: 100,
2390
+ L: 104,
2424
2391
  S: this,
2425
2392
  A: [
2426
2393
  "assertion['@type'] === 'dxos.halo.credentials.SpaceMember'",
@@ -2429,7 +2396,7 @@ var SpaceInvitationProtocol = class {
2429
2396
  });
2430
2397
  invariant8(credential.subject.id.equals(this._signingContext.identityKey), void 0, {
2431
2398
  F: __dxlog_file9,
2432
- L: 101,
2399
+ L: 105,
2433
2400
  S: this,
2434
2401
  A: [
2435
2402
  "credential.subject.id.equals(this._signingContext.identityKey)",
@@ -2528,10 +2495,10 @@ var getPlatform = () => {
2528
2495
  };
2529
2496
  }
2530
2497
  } else {
2531
- const { platform, version, arch } = process;
2498
+ const { platform: platform2, version, arch } = process;
2532
2499
  return {
2533
2500
  type: "node",
2534
- platform: `${platform} ${version} ${arch}`,
2501
+ platform: `${platform2} ${version} ${arch}`,
2535
2502
  runtime: process.version,
2536
2503
  uptime: Math.floor(process.uptime()),
2537
2504
  memory: process.memoryUsage()
@@ -2540,7 +2507,7 @@ var getPlatform = () => {
2540
2507
  };
2541
2508
 
2542
2509
  // packages/sdk/client-services/src/version.ts
2543
- var DXOS_VERSION = "0.3.2-main.d77d2bc";
2510
+ var DXOS_VERSION = "0.3.2-main.e5374ab";
2544
2511
 
2545
2512
  // packages/sdk/client-services/src/packlets/services/diagnostics.ts
2546
2513
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
@@ -4405,7 +4372,7 @@ import { Context as Context10 } from "@dxos/context";
4405
4372
  import { DocumentModel as DocumentModel2 } from "@dxos/document-model";
4406
4373
  import { DataServiceImpl } from "@dxos/echo-pipeline";
4407
4374
  import { base } from "@dxos/echo-schema";
4408
- import { invariant as invariant15 } from "@dxos/invariant";
4375
+ import { invariant as invariant14 } from "@dxos/invariant";
4409
4376
  import { PublicKey as PublicKey11 } from "@dxos/keys";
4410
4377
  import { log as log16 } from "@dxos/log";
4411
4378
  import { WebsocketSignalManager } from "@dxos/messaging";
@@ -4420,33 +4387,13 @@ import { WebsocketRpcClient } from "@dxos/websocket-rpc";
4420
4387
  // packages/sdk/client-services/src/packlets/devices/devices-service.ts
4421
4388
  import { EventSubscriptions as EventSubscriptions3 } from "@dxos/async";
4422
4389
  import { Stream as Stream11 } from "@dxos/codec-protobuf";
4423
- import { invariant as invariant14 } from "@dxos/invariant";
4424
4390
  import { DeviceKind } from "@dxos/protocols/proto/dxos/client/services";
4425
- var __dxlog_file17 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/devices/devices-service.ts";
4426
4391
  var DevicesServiceImpl = class {
4427
4392
  constructor(_identityManager) {
4428
4393
  this._identityManager = _identityManager;
4429
4394
  }
4430
4395
  async updateDevice(profile) {
4431
- invariant14(this._identityManager.identity, "Identity not initialized", {
4432
- F: __dxlog_file17,
4433
- L: 17,
4434
- S: this,
4435
- A: [
4436
- "this._identityManager.identity",
4437
- "'Identity not initialized'"
4438
- ]
4439
- });
4440
- const deviceKey = this._identityManager.identity.deviceKey;
4441
- await this._identityManager.updateDevice({
4442
- deviceKey,
4443
- profile
4444
- });
4445
- return {
4446
- deviceKey,
4447
- kind: DeviceKind.CURRENT,
4448
- profile
4449
- };
4396
+ throw new Error("Method not implemented.");
4450
4397
  }
4451
4398
  queryDevices() {
4452
4399
  return new Stream11(({ next }) => {
@@ -4695,7 +4642,7 @@ function _ts_decorate7(decorators, target, key, desc) {
4695
4642
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4696
4643
  return c > 3 && r && Object.defineProperty(target, key, r), r;
4697
4644
  }
4698
- var __dxlog_file18 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/service-host.ts";
4645
+ var __dxlog_file17 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/service-host.ts";
4699
4646
  var createDefaultModelFactory = () => {
4700
4647
  return new ModelFactory().registerModel(DocumentModel2).registerModel(TextModel);
4701
4648
  };
@@ -4795,8 +4742,8 @@ var ClientServicesHost = class ClientServicesHost2 {
4795
4742
  * Can only be called once.
4796
4743
  */
4797
4744
  initialize({ config, ...options }) {
4798
- invariant15(!this._open, "service host is open", {
4799
- F: __dxlog_file18,
4745
+ invariant14(!this._open, "service host is open", {
4746
+ F: __dxlog_file17,
4800
4747
  L: 201,
4801
4748
  S: this,
4802
4749
  A: [
@@ -4805,14 +4752,14 @@ var ClientServicesHost = class ClientServicesHost2 {
4805
4752
  ]
4806
4753
  });
4807
4754
  log16("initializing...", void 0, {
4808
- F: __dxlog_file18,
4755
+ F: __dxlog_file17,
4809
4756
  L: 202,
4810
4757
  S: this,
4811
4758
  C: (f, a) => f(...a)
4812
4759
  });
4813
4760
  if (config) {
4814
- invariant15(!this._config, "config already set", {
4815
- F: __dxlog_file18,
4761
+ invariant14(!this._config, "config already set", {
4762
+ F: __dxlog_file17,
4816
4763
  L: 205,
4817
4764
  S: this,
4818
4765
  A: [
@@ -4829,8 +4776,8 @@ var ClientServicesHost = class ClientServicesHost2 {
4829
4776
  iceServers: this._config?.get("runtime.services.ice")
4830
4777
  }), signalManager = new WebsocketSignalManager(this._config?.get("runtime.services.signaling") ?? []) } = options;
4831
4778
  this._signalManager = signalManager;
4832
- invariant15(!this._networkManager, "network manager already set", {
4833
- F: __dxlog_file18,
4779
+ invariant14(!this._networkManager, "network manager already set", {
4780
+ F: __dxlog_file17,
4834
4781
  L: 221,
4835
4782
  S: this,
4836
4783
  A: [
@@ -4844,7 +4791,7 @@ var ClientServicesHost = class ClientServicesHost2 {
4844
4791
  signalManager
4845
4792
  });
4846
4793
  log16("initialized", void 0, {
4847
- F: __dxlog_file18,
4794
+ F: __dxlog_file17,
4848
4795
  L: 228,
4849
4796
  S: this,
4850
4797
  C: (f, a) => f(...a)
@@ -4858,13 +4805,13 @@ var ClientServicesHost = class ClientServicesHost2 {
4858
4805
  log16.trace("dxos.client-services.host.open", trace8.begin({
4859
4806
  id: traceId
4860
4807
  }), {
4861
- F: __dxlog_file18,
4808
+ F: __dxlog_file17,
4862
4809
  L: 239,
4863
4810
  S: this,
4864
4811
  C: (f, a) => f(...a)
4865
4812
  });
4866
- invariant15(this._config, "config not set", {
4867
- F: __dxlog_file18,
4813
+ invariant14(this._config, "config not set", {
4814
+ F: __dxlog_file17,
4868
4815
  L: 241,
4869
4816
  S: this,
4870
4817
  A: [
@@ -4872,8 +4819,8 @@ var ClientServicesHost = class ClientServicesHost2 {
4872
4819
  "'config not set'"
4873
4820
  ]
4874
4821
  });
4875
- invariant15(this._storage, "storage not set", {
4876
- F: __dxlog_file18,
4822
+ invariant14(this._storage, "storage not set", {
4823
+ F: __dxlog_file17,
4877
4824
  L: 242,
4878
4825
  S: this,
4879
4826
  A: [
@@ -4881,8 +4828,8 @@ var ClientServicesHost = class ClientServicesHost2 {
4881
4828
  "'storage not set'"
4882
4829
  ]
4883
4830
  });
4884
- invariant15(this._signalManager, "signal manager not set", {
4885
- F: __dxlog_file18,
4831
+ invariant14(this._signalManager, "signal manager not set", {
4832
+ F: __dxlog_file17,
4886
4833
  L: 243,
4887
4834
  S: this,
4888
4835
  A: [
@@ -4890,8 +4837,8 @@ var ClientServicesHost = class ClientServicesHost2 {
4890
4837
  "'signal manager not set'"
4891
4838
  ]
4892
4839
  });
4893
- invariant15(this._networkManager, "network manager not set", {
4894
- F: __dxlog_file18,
4840
+ invariant14(this._networkManager, "network manager not set", {
4841
+ F: __dxlog_file17,
4895
4842
  L: 244,
4896
4843
  S: this,
4897
4844
  A: [
@@ -4903,7 +4850,7 @@ var ClientServicesHost = class ClientServicesHost2 {
4903
4850
  log16("opening...", {
4904
4851
  lockKey: this._resourceLock?.lockKey
4905
4852
  }, {
4906
- F: __dxlog_file18,
4853
+ F: __dxlog_file17,
4907
4854
  L: 247,
4908
4855
  S: this,
4909
4856
  C: (f, a) => f(...a)
@@ -4949,7 +4896,7 @@ var ClientServicesHost = class ClientServicesHost2 {
4949
4896
  log16("opened", {
4950
4897
  deviceKey
4951
4898
  }, {
4952
- F: __dxlog_file18,
4899
+ F: __dxlog_file17,
4953
4900
  L: 316,
4954
4901
  S: this,
4955
4902
  C: (f, a) => f(...a)
@@ -4957,7 +4904,7 @@ var ClientServicesHost = class ClientServicesHost2 {
4957
4904
  log16.trace("dxos.client-services.host.open", trace8.end({
4958
4905
  id: traceId
4959
4906
  }), {
4960
- F: __dxlog_file18,
4907
+ F: __dxlog_file17,
4961
4908
  L: 317,
4962
4909
  S: this,
4963
4910
  C: (f, a) => f(...a)
@@ -4971,7 +4918,7 @@ var ClientServicesHost = class ClientServicesHost2 {
4971
4918
  log16("closing...", {
4972
4919
  deviceKey
4973
4920
  }, {
4974
- F: __dxlog_file18,
4921
+ F: __dxlog_file17,
4975
4922
  L: 328,
4976
4923
  S: this,
4977
4924
  C: (f, a) => f(...a)
@@ -4987,7 +4934,7 @@ var ClientServicesHost = class ClientServicesHost2 {
4987
4934
  log16("closed", {
4988
4935
  deviceKey
4989
4936
  }, {
4990
- F: __dxlog_file18,
4937
+ F: __dxlog_file17,
4991
4938
  L: 335,
4992
4939
  S: this,
4993
4940
  C: (f, a) => f(...a)
@@ -4998,13 +4945,13 @@ var ClientServicesHost = class ClientServicesHost2 {
4998
4945
  log16.trace("dxos.sdk.client-services-host.reset", trace8.begin({
4999
4946
  id: traceId
5000
4947
  }), {
5001
- F: __dxlog_file18,
4948
+ F: __dxlog_file17,
5002
4949
  L: 340,
5003
4950
  S: this,
5004
4951
  C: (f, a) => f(...a)
5005
4952
  });
5006
4953
  log16("resetting...", void 0, {
5007
- F: __dxlog_file18,
4954
+ F: __dxlog_file17,
5008
4955
  L: 342,
5009
4956
  S: this,
5010
4957
  C: (f, a) => f(...a)
@@ -5012,7 +4959,7 @@ var ClientServicesHost = class ClientServicesHost2 {
5012
4959
  await this._serviceContext?.close();
5013
4960
  await this._storage.reset();
5014
4961
  log16("reset", void 0, {
5015
- F: __dxlog_file18,
4962
+ F: __dxlog_file17,
5016
4963
  L: 345,
5017
4964
  S: this,
5018
4965
  C: (f, a) => f(...a)
@@ -5020,7 +4967,7 @@ var ClientServicesHost = class ClientServicesHost2 {
5020
4967
  log16.trace("dxos.sdk.client-services-host.reset", trace8.end({
5021
4968
  id: traceId
5022
4969
  }), {
5023
- F: __dxlog_file18,
4970
+ F: __dxlog_file17,
5024
4971
  L: 346,
5025
4972
  S: this,
5026
4973
  C: (f, a) => f(...a)
@@ -5098,4 +5045,4 @@ export {
5098
5045
  createDefaultModelFactory,
5099
5046
  ClientServicesHost
5100
5047
  };
5101
- //# sourceMappingURL=chunk-WOH6JPED.mjs.map
5048
+ //# sourceMappingURL=chunk-HQ4UBZ3F.mjs.map