@dxos/echo-pipeline 0.6.4 → 0.6.5-staging.097cf0c

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 (35) hide show
  1. package/dist/lib/browser/{chunk-6MJEONOX.mjs → chunk-2MII6KJX.mjs} +464 -104
  2. package/dist/lib/browser/chunk-2MII6KJX.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +3 -1
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/browser/testing/index.mjs +1 -1
  6. package/dist/lib/node/{chunk-PT5LWMPA.cjs → chunk-6MWU4MHX.cjs} +475 -116
  7. package/dist/lib/node/chunk-6MWU4MHX.cjs.map +7 -0
  8. package/dist/lib/node/index.cjs +36 -34
  9. package/dist/lib/node/index.cjs.map +2 -2
  10. package/dist/lib/node/meta.json +1 -1
  11. package/dist/lib/node/testing/index.cjs +11 -11
  12. package/dist/types/src/automerge/automerge-host.d.ts +3 -2
  13. package/dist/types/src/automerge/automerge-host.d.ts.map +1 -1
  14. package/dist/types/src/automerge/echo-data-monitor.d.ts +73 -0
  15. package/dist/types/src/automerge/echo-data-monitor.d.ts.map +1 -0
  16. package/dist/types/src/automerge/echo-data-monitor.test.d.ts +2 -0
  17. package/dist/types/src/automerge/echo-data-monitor.test.d.ts.map +1 -0
  18. package/dist/types/src/automerge/echo-network-adapter.d.ts +9 -0
  19. package/dist/types/src/automerge/echo-network-adapter.d.ts.map +1 -1
  20. package/dist/types/src/automerge/index.d.ts +1 -0
  21. package/dist/types/src/automerge/index.d.ts.map +1 -1
  22. package/dist/types/src/automerge/leveldb-storage-adapter.d.ts +7 -0
  23. package/dist/types/src/automerge/leveldb-storage-adapter.d.ts.map +1 -1
  24. package/dist/types/src/space/space.d.ts +0 -1
  25. package/dist/types/src/space/space.d.ts.map +1 -1
  26. package/package.json +41 -39
  27. package/src/automerge/automerge-host.ts +11 -34
  28. package/src/automerge/echo-data-monitor.test.ts +55 -0
  29. package/src/automerge/echo-data-monitor.ts +374 -0
  30. package/src/automerge/echo-network-adapter.ts +37 -13
  31. package/src/automerge/index.ts +1 -0
  32. package/src/automerge/leveldb-storage-adapter.ts +19 -1
  33. package/src/space/space.ts +1 -3
  34. package/dist/lib/browser/chunk-6MJEONOX.mjs.map +0 -7
  35. package/dist/lib/node/chunk-PT5LWMPA.cjs.map +0 -7
@@ -18,42 +18,43 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var node_exports = {};
20
20
  __export(node_exports, {
21
- AuthExtension: () => import_chunk_PT5LWMPA.AuthExtension,
22
- AuthStatus: () => import_chunk_PT5LWMPA.AuthStatus,
23
- AutomergeHost: () => import_chunk_PT5LWMPA.AutomergeHost,
24
- CredentialRetrieverExtension: () => import_chunk_PT5LWMPA.CredentialRetrieverExtension,
25
- CredentialServerExtension: () => import_chunk_PT5LWMPA.CredentialServerExtension,
26
- DataServiceImpl: () => import_chunk_PT5LWMPA.DataServiceImpl,
27
- DocumentsSynchronizer: () => import_chunk_PT5LWMPA.DocumentsSynchronizer,
28
- LevelDBStorageAdapter: () => import_chunk_PT5LWMPA.LevelDBStorageAdapter,
29
- MOCK_AUTH_PROVIDER: () => import_chunk_PT5LWMPA.MOCK_AUTH_PROVIDER,
30
- MOCK_AUTH_VERIFIER: () => import_chunk_PT5LWMPA.MOCK_AUTH_VERIFIER,
31
- MeshEchoReplicator: () => import_chunk_PT5LWMPA.MeshEchoReplicator,
32
- MetadataStore: () => import_chunk_PT5LWMPA.MetadataStore,
33
- Pipeline: () => import_chunk_PT5LWMPA.Pipeline,
34
- SnapshotManager: () => import_chunk_PT5LWMPA.SnapshotManager,
35
- SnapshotStore: () => import_chunk_PT5LWMPA.SnapshotStore,
36
- Space: () => import_chunk_PT5LWMPA.Space,
37
- SpaceManager: () => import_chunk_PT5LWMPA.SpaceManager,
38
- SpaceProtocol: () => import_chunk_PT5LWMPA.SpaceProtocol,
39
- SpaceProtocolSession: () => import_chunk_PT5LWMPA.SpaceProtocolSession,
40
- TimeframeClock: () => import_chunk_PT5LWMPA.TimeframeClock,
41
- codec: () => import_chunk_PT5LWMPA.codec,
42
- createIdFromSpaceKey: () => import_chunk_PT5LWMPA.createIdFromSpaceKey,
43
- createMappedFeedWriter: () => import_chunk_PT5LWMPA.createMappedFeedWriter,
44
- deriveCollectionIdFromSpaceId: () => import_chunk_PT5LWMPA.deriveCollectionIdFromSpaceId,
45
- diffCollectionState: () => import_chunk_PT5LWMPA.diffCollectionState,
46
- encodingOptions: () => import_chunk_PT5LWMPA.encodingOptions,
47
- getSpaceIdFromCollectionId: () => import_chunk_PT5LWMPA.getSpaceIdFromCollectionId,
48
- getSpaceKeyFromDoc: () => import_chunk_PT5LWMPA.getSpaceKeyFromDoc,
49
- hasInvitationExpired: () => import_chunk_PT5LWMPA.hasInvitationExpired,
50
- mapFeedIndexesToTimeframe: () => import_chunk_PT5LWMPA.mapFeedIndexesToTimeframe,
51
- mapTimeframeToFeedIndexes: () => import_chunk_PT5LWMPA.mapTimeframeToFeedIndexes,
52
- startAfter: () => import_chunk_PT5LWMPA.startAfter,
53
- valueEncoding: () => import_chunk_PT5LWMPA.valueEncoding
21
+ AuthExtension: () => import_chunk_6MWU4MHX.AuthExtension,
22
+ AuthStatus: () => import_chunk_6MWU4MHX.AuthStatus,
23
+ AutomergeHost: () => import_chunk_6MWU4MHX.AutomergeHost,
24
+ CredentialRetrieverExtension: () => import_chunk_6MWU4MHX.CredentialRetrieverExtension,
25
+ CredentialServerExtension: () => import_chunk_6MWU4MHX.CredentialServerExtension,
26
+ DataServiceImpl: () => import_chunk_6MWU4MHX.DataServiceImpl,
27
+ DocumentsSynchronizer: () => import_chunk_6MWU4MHX.DocumentsSynchronizer,
28
+ EchoDataMonitor: () => import_chunk_6MWU4MHX.EchoDataMonitor,
29
+ LevelDBStorageAdapter: () => import_chunk_6MWU4MHX.LevelDBStorageAdapter,
30
+ MOCK_AUTH_PROVIDER: () => import_chunk_6MWU4MHX.MOCK_AUTH_PROVIDER,
31
+ MOCK_AUTH_VERIFIER: () => import_chunk_6MWU4MHX.MOCK_AUTH_VERIFIER,
32
+ MeshEchoReplicator: () => import_chunk_6MWU4MHX.MeshEchoReplicator,
33
+ MetadataStore: () => import_chunk_6MWU4MHX.MetadataStore,
34
+ Pipeline: () => import_chunk_6MWU4MHX.Pipeline,
35
+ SnapshotManager: () => import_chunk_6MWU4MHX.SnapshotManager,
36
+ SnapshotStore: () => import_chunk_6MWU4MHX.SnapshotStore,
37
+ Space: () => import_chunk_6MWU4MHX.Space,
38
+ SpaceManager: () => import_chunk_6MWU4MHX.SpaceManager,
39
+ SpaceProtocol: () => import_chunk_6MWU4MHX.SpaceProtocol,
40
+ SpaceProtocolSession: () => import_chunk_6MWU4MHX.SpaceProtocolSession,
41
+ TimeframeClock: () => import_chunk_6MWU4MHX.TimeframeClock,
42
+ codec: () => import_chunk_6MWU4MHX.codec,
43
+ createIdFromSpaceKey: () => import_chunk_6MWU4MHX.createIdFromSpaceKey,
44
+ createMappedFeedWriter: () => import_chunk_6MWU4MHX.createMappedFeedWriter,
45
+ deriveCollectionIdFromSpaceId: () => import_chunk_6MWU4MHX.deriveCollectionIdFromSpaceId,
46
+ diffCollectionState: () => import_chunk_6MWU4MHX.diffCollectionState,
47
+ encodingOptions: () => import_chunk_6MWU4MHX.encodingOptions,
48
+ getSpaceIdFromCollectionId: () => import_chunk_6MWU4MHX.getSpaceIdFromCollectionId,
49
+ getSpaceKeyFromDoc: () => import_chunk_6MWU4MHX.getSpaceKeyFromDoc,
50
+ hasInvitationExpired: () => import_chunk_6MWU4MHX.hasInvitationExpired,
51
+ mapFeedIndexesToTimeframe: () => import_chunk_6MWU4MHX.mapFeedIndexesToTimeframe,
52
+ mapTimeframeToFeedIndexes: () => import_chunk_6MWU4MHX.mapTimeframeToFeedIndexes,
53
+ startAfter: () => import_chunk_6MWU4MHX.startAfter,
54
+ valueEncoding: () => import_chunk_6MWU4MHX.valueEncoding
54
55
  });
55
56
  module.exports = __toCommonJS(node_exports);
56
- var import_chunk_PT5LWMPA = require("./chunk-PT5LWMPA.cjs");
57
+ var import_chunk_6MWU4MHX = require("./chunk-6MWU4MHX.cjs");
57
58
  // Annotate the CommonJS export names for ESM import in node:
58
59
  0 && (module.exports = {
59
60
  AuthExtension,
@@ -63,6 +64,7 @@ var import_chunk_PT5LWMPA = require("./chunk-PT5LWMPA.cjs");
63
64
  CredentialServerExtension,
64
65
  DataServiceImpl,
65
66
  DocumentsSynchronizer,
67
+ EchoDataMonitor,
66
68
  LevelDBStorageAdapter,
67
69
  MOCK_AUTH_PROVIDER,
68
70
  MOCK_AUTH_VERIFIER,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["index.cjs"],
4
- "sourcesContent": ["import {\n AuthExtension,\n AuthStatus,\n AutomergeHost,\n CredentialRetrieverExtension,\n CredentialServerExtension,\n DataServiceImpl,\n DocumentsSynchronizer,\n LevelDBStorageAdapter,\n MOCK_AUTH_PROVIDER,\n MOCK_AUTH_VERIFIER,\n MeshEchoReplicator,\n MetadataStore,\n Pipeline,\n SnapshotManager,\n SnapshotStore,\n Space,\n SpaceManager,\n SpaceProtocol,\n SpaceProtocolSession,\n TimeframeClock,\n codec,\n createIdFromSpaceKey,\n createMappedFeedWriter,\n deriveCollectionIdFromSpaceId,\n diffCollectionState,\n encodingOptions,\n getSpaceIdFromCollectionId,\n getSpaceKeyFromDoc,\n hasInvitationExpired,\n mapFeedIndexesToTimeframe,\n mapTimeframeToFeedIndexes,\n startAfter,\n valueEncoding\n} from \"./chunk-PT5LWMPA.cjs\";\nexport {\n AuthExtension,\n AuthStatus,\n AutomergeHost,\n CredentialRetrieverExtension,\n CredentialServerExtension,\n DataServiceImpl,\n DocumentsSynchronizer,\n LevelDBStorageAdapter,\n MOCK_AUTH_PROVIDER,\n MOCK_AUTH_VERIFIER,\n MeshEchoReplicator,\n MetadataStore,\n Pipeline,\n SnapshotManager,\n SnapshotStore,\n Space,\n SpaceManager,\n SpaceProtocol,\n SpaceProtocolSession,\n TimeframeClock,\n codec,\n createIdFromSpaceKey,\n createMappedFeedWriter,\n deriveCollectionIdFromSpaceId,\n diffCollectionState,\n encodingOptions,\n getSpaceIdFromCollectionId,\n getSpaceKeyFromDoc,\n hasInvitationExpired,\n mapFeedIndexesToTimeframe,\n mapTimeframeToFeedIndexes,\n startAfter,\n valueEncoding\n};\n//# sourceMappingURL=index.cjs.map\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAkCO;",
4
+ "sourcesContent": ["import {\n AuthExtension,\n AuthStatus,\n AutomergeHost,\n CredentialRetrieverExtension,\n CredentialServerExtension,\n DataServiceImpl,\n DocumentsSynchronizer,\n EchoDataMonitor,\n LevelDBStorageAdapter,\n MOCK_AUTH_PROVIDER,\n MOCK_AUTH_VERIFIER,\n MeshEchoReplicator,\n MetadataStore,\n Pipeline,\n SnapshotManager,\n SnapshotStore,\n Space,\n SpaceManager,\n SpaceProtocol,\n SpaceProtocolSession,\n TimeframeClock,\n codec,\n createIdFromSpaceKey,\n createMappedFeedWriter,\n deriveCollectionIdFromSpaceId,\n diffCollectionState,\n encodingOptions,\n getSpaceIdFromCollectionId,\n getSpaceKeyFromDoc,\n hasInvitationExpired,\n mapFeedIndexesToTimeframe,\n mapTimeframeToFeedIndexes,\n startAfter,\n valueEncoding\n} from \"./chunk-6MWU4MHX.cjs\";\nexport {\n AuthExtension,\n AuthStatus,\n AutomergeHost,\n CredentialRetrieverExtension,\n CredentialServerExtension,\n DataServiceImpl,\n DocumentsSynchronizer,\n EchoDataMonitor,\n LevelDBStorageAdapter,\n MOCK_AUTH_PROVIDER,\n MOCK_AUTH_VERIFIER,\n MeshEchoReplicator,\n MetadataStore,\n Pipeline,\n SnapshotManager,\n SnapshotStore,\n Space,\n SpaceManager,\n SpaceProtocol,\n SpaceProtocolSession,\n TimeframeClock,\n codec,\n createIdFromSpaceKey,\n createMappedFeedWriter,\n deriveCollectionIdFromSpaceId,\n diffCollectionState,\n encodingOptions,\n getSpaceIdFromCollectionId,\n getSpaceKeyFromDoc,\n hasInvitationExpired,\n mapFeedIndexesToTimeframe,\n mapTimeframeToFeedIndexes,\n startAfter,\n valueEncoding\n};\n//# sourceMappingURL=index.cjs.map\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAmCO;",
6
6
  "names": []
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytes":1690,"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytes":2202,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytes":585,"imports":[{"path":"packages/core/echo/echo-pipeline/src/common/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/core/echo/echo-pipeline/src/common/feeds.ts","kind":"import-statement","original":"./feeds"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/snapshot-manager.ts":{"bytes":6468,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/snapshot-store.ts":{"bytes":6171,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts":{"bytes":19212,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts":{"bytes":21240,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts":{"bytes":2737,"imports":[],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/echo-network-adapter.ts":{"bytes":31859,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts","kind":"import-statement","original":"./network-protocol"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/heads-store.ts":{"bytes":3035,"imports":[{"path":"@dxos/indexing","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts":{"bytes":11789,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/automerge-host.ts":{"bytes":63235,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts","kind":"import-statement","original":"./collection-synchronizer"},{"path":"packages/core/echo/echo-pipeline/src/automerge/echo-network-adapter.ts","kind":"import-statement","original":"./echo-network-adapter"},{"path":"packages/core/echo/echo-pipeline/src/automerge/heads-store.ts","kind":"import-statement","original":"./heads-store"},{"path":"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts","kind":"import-statement","original":"./leveldb-storage-adapter"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator-connection.ts":{"bytes":16090,"imports":[{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts":{"bytes":1981,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytes":10731,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytes":3861,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":9762,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytes":47570,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts","kind":"import-statement","original":"./message-selector"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytes":707,"imports":[{"path":"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytes":29988,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytes":26184,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts":{"bytes":8672,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":27067,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytes":20165,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts","kind":"import-statement","original":"./admission-discovery-extension"},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"},{"path":"packages/core/echo/echo-pipeline/src/db-host/index.ts","kind":"import-statement","original":"../db-host"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytes":935,"imports":[{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-manager.ts","kind":"import-statement","original":"./space-manager"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"},{"path":"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts","kind":"import-statement","original":"./admission-discovery-extension"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator.ts":{"bytes":21142,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator-connection.ts","kind":"import-statement","original":"./mesh-echo-replicator-connection"},{"path":"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts","kind":"import-statement","original":"./space-collection"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"../space"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/echo-replicator.ts":{"bytes":2660,"imports":[],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/index.ts":{"bytes":1219,"imports":[{"path":"packages/core/echo/echo-pipeline/src/automerge/automerge-host.ts","kind":"import-statement","original":"./automerge-host"},{"path":"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts","kind":"import-statement","original":"./leveldb-storage-adapter"},{"path":"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator.ts","kind":"import-statement","original":"./mesh-echo-replicator"},{"path":"packages/core/echo/echo-pipeline/src/automerge/echo-replicator.ts","kind":"import-statement","original":"./echo-replicator"},{"path":"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts","kind":"import-statement","original":"./collection-synchronizer"},{"path":"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts","kind":"import-statement","original":"./space-collection"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/data-service.ts":{"bytes":14606,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts","kind":"import-statement","original":"./documents-synchronizer"},{"path":"packages/core/echo/echo-pipeline/src/automerge/index.ts","kind":"import-statement","original":"../automerge"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/index.ts":{"bytes":864,"imports":[{"path":"packages/core/echo/echo-pipeline/src/db-host/snapshot-manager.ts","kind":"import-statement","original":"./snapshot-manager"},{"path":"packages/core/echo/echo-pipeline/src/db-host/snapshot-store.ts","kind":"import-statement","original":"./snapshot-store"},{"path":"packages/core/echo/echo-pipeline/src/db-host/data-service.ts","kind":"import-statement","original":"./data-service"},{"path":"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts","kind":"import-statement","original":"./documents-synchronizer"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytes":40154,"imports":[{"path":"crc-32","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytes":531,"imports":[{"path":"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts","kind":"import-statement","original":"./metadata-store"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/index.ts":{"bytes":939,"imports":[{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/core/echo/echo-pipeline/src/db-host/index.ts","kind":"import-statement","original":"./db-host"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"./metadata"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/automerge/index.ts","kind":"import-statement","original":"./automerge"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/change-metadata.ts":{"bytes":3654,"imports":[{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"../metadata"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytes":1518,"imports":[{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytes":29258,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"},{"path":"packages/core/echo/echo-pipeline/src/db-host/index.ts","kind":"import-statement","original":"../db-host"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"../metadata"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"../space"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-network-adapter.ts":{"bytes":7559,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-replicator.ts":{"bytes":22923,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytes":989,"imports":[{"path":"packages/core/echo/echo-pipeline/src/testing/change-metadata.ts","kind":"import-statement","original":"./change-metadata"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts","kind":"import-statement","original":"./test-agent-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-network-adapter.ts","kind":"import-statement","original":"./test-network-adapter"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-replicator.ts","kind":"import-statement","original":"./test-replicator"}],"format":"esm"}},"outputs":{"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/node/chunk-PT5LWMPA.cjs","kind":"import-statement"}],"exports":["AuthExtension","AuthStatus","AutomergeHost","CredentialRetrieverExtension","CredentialServerExtension","DataServiceImpl","DocumentsSynchronizer","LevelDBStorageAdapter","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MeshEchoReplicator","MetadataStore","Pipeline","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceProtocol","SpaceProtocolSession","TimeframeClock","codec","createIdFromSpaceKey","createMappedFeedWriter","deriveCollectionIdFromSpaceId","diffCollectionState","encodingOptions","getSpaceIdFromCollectionId","getSpaceKeyFromDoc","hasInvitationExpired","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","startAfter","valueEncoding"],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":0}},"bytes":1469},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":31349},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/node/chunk-PT5LWMPA.cjs","kind":"import-statement"},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true}],"exports":["MemoryNetworkManagerProvider","TestAdapter","TestAgent","TestAgentBuilder","TestFeedBuilder","TestReplicationNetwork","TestReplicator","TestReplicatorConnection","WebsocketNetworkManagerProvider","brokenAutomergeReplicatorFactory","changeStorageVersionInMetadata","testAutomergeReplicatorFactory"],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/change-metadata.ts":{"bytesInOutput":843},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":6630},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":171},"packages/core/echo/echo-pipeline/src/testing/test-network-adapter.ts":{"bytesInOutput":2248},"packages/core/echo/echo-pipeline/src/testing/test-replicator.ts":{"bytesInOutput":6525}},"bytes":17362},"packages/core/echo/echo-pipeline/dist/lib/node/chunk-PT5LWMPA.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":214416},"packages/core/echo/echo-pipeline/dist/lib/node/chunk-PT5LWMPA.cjs":{"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/indexing","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true},{"path":"crc-32","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["AuthExtension","AuthStatus","AutomergeHost","CredentialRetrieverExtension","CredentialServerExtension","DataServiceImpl","DocumentsSynchronizer","LevelDBStorageAdapter","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MeshEchoReplicator","MetadataStore","Pipeline","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceProtocol","SpaceProtocolSession","TimeframeClock","codec","createIdFromSpaceKey","createMappedFeedWriter","deriveCollectionIdFromSpaceId","diffCollectionState","encodingOptions","getSpaceIdFromCollectionId","getSpaceKeyFromDoc","hasInvitationExpired","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","startAfter","valueEncoding"],"inputs":{"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":211},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":548},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/db-host/snapshot-manager.ts":{"bytesInOutput":1298},"packages/core/echo/echo-pipeline/src/db-host/snapshot-store.ts":{"bytesInOutput":1292},"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts":{"bytesInOutput":4808},"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts":{"bytesInOutput":4947},"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts":{"bytesInOutput":2387},"packages/core/echo/echo-pipeline/src/automerge/automerge-host.ts":{"bytesInOutput":15684},"packages/core/echo/echo-pipeline/src/automerge/echo-network-adapter.ts":{"bytesInOutput":9319},"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts":{"bytesInOutput":296},"packages/core/echo/echo-pipeline/src/automerge/heads-store.ts":{"bytesInOutput":483},"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts":{"bytesInOutput":574},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":3064},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2919},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":12747},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":769},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":7049},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":8398},"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts":{"bytesInOutput":1992},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":7000},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":5244},"packages/core/echo/echo-pipeline/src/db-host/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/db-host/data-service.ts":{"bytesInOutput":3425},"packages/core/echo/echo-pipeline/src/automerge/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator.ts":{"bytesInOutput":6236},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator-connection.ts":{"bytesInOutput":3663},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":11043},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0}},"bytes":118324}}}
1
+ {"inputs":{"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytes":1690,"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytes":2202,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytes":585,"imports":[{"path":"packages/core/echo/echo-pipeline/src/common/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/core/echo/echo-pipeline/src/common/feeds.ts","kind":"import-statement","original":"./feeds"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/snapshot-manager.ts":{"bytes":6468,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/snapshot-store.ts":{"bytes":6171,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts":{"bytes":19212,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts":{"bytes":21240,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts":{"bytes":2737,"imports":[],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/echo-network-adapter.ts":{"bytes":34413,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts","kind":"import-statement","original":"./network-protocol"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/heads-store.ts":{"bytes":3035,"imports":[{"path":"@dxos/indexing","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts":{"bytes":14301,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/automerge-host.ts":{"bytes":60680,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts","kind":"import-statement","original":"./collection-synchronizer"},{"path":"packages/core/echo/echo-pipeline/src/automerge/echo-network-adapter.ts","kind":"import-statement","original":"./echo-network-adapter"},{"path":"packages/core/echo/echo-pipeline/src/automerge/heads-store.ts","kind":"import-statement","original":"./heads-store"},{"path":"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts","kind":"import-statement","original":"./leveldb-storage-adapter"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator-connection.ts":{"bytes":16090,"imports":[{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts":{"bytes":1981,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytes":10731,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytes":3861,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":9762,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytes":47570,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts","kind":"import-statement","original":"./message-selector"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytes":707,"imports":[{"path":"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytes":29988,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytes":25980,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts":{"bytes":8672,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":27067,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytes":20165,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts","kind":"import-statement","original":"./admission-discovery-extension"},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"},{"path":"packages/core/echo/echo-pipeline/src/db-host/index.ts","kind":"import-statement","original":"../db-host"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytes":935,"imports":[{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-manager.ts","kind":"import-statement","original":"./space-manager"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"},{"path":"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts","kind":"import-statement","original":"./admission-discovery-extension"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator.ts":{"bytes":21142,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator-connection.ts","kind":"import-statement","original":"./mesh-echo-replicator-connection"},{"path":"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts","kind":"import-statement","original":"./space-collection"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"../space"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/echo-replicator.ts":{"bytes":2660,"imports":[],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/echo-data-monitor.ts":{"bytes":47019,"imports":[{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts","kind":"import-statement","original":"./network-protocol"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/automerge/index.ts":{"bytes":1332,"imports":[{"path":"packages/core/echo/echo-pipeline/src/automerge/automerge-host.ts","kind":"import-statement","original":"./automerge-host"},{"path":"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts","kind":"import-statement","original":"./leveldb-storage-adapter"},{"path":"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator.ts","kind":"import-statement","original":"./mesh-echo-replicator"},{"path":"packages/core/echo/echo-pipeline/src/automerge/echo-replicator.ts","kind":"import-statement","original":"./echo-replicator"},{"path":"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts","kind":"import-statement","original":"./collection-synchronizer"},{"path":"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts","kind":"import-statement","original":"./space-collection"},{"path":"packages/core/echo/echo-pipeline/src/automerge/echo-data-monitor.ts","kind":"import-statement","original":"./echo-data-monitor"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/data-service.ts":{"bytes":14606,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts","kind":"import-statement","original":"./documents-synchronizer"},{"path":"packages/core/echo/echo-pipeline/src/automerge/index.ts","kind":"import-statement","original":"../automerge"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/db-host/index.ts":{"bytes":864,"imports":[{"path":"packages/core/echo/echo-pipeline/src/db-host/snapshot-manager.ts","kind":"import-statement","original":"./snapshot-manager"},{"path":"packages/core/echo/echo-pipeline/src/db-host/snapshot-store.ts","kind":"import-statement","original":"./snapshot-store"},{"path":"packages/core/echo/echo-pipeline/src/db-host/data-service.ts","kind":"import-statement","original":"./data-service"},{"path":"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts","kind":"import-statement","original":"./documents-synchronizer"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytes":40154,"imports":[{"path":"crc-32","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytes":531,"imports":[{"path":"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts","kind":"import-statement","original":"./metadata-store"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/index.ts":{"bytes":939,"imports":[{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/core/echo/echo-pipeline/src/db-host/index.ts","kind":"import-statement","original":"./db-host"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"./metadata"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/automerge/index.ts","kind":"import-statement","original":"./automerge"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/change-metadata.ts":{"bytes":3654,"imports":[{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"../metadata"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytes":1518,"imports":[{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytes":29258,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"},{"path":"packages/core/echo/echo-pipeline/src/db-host/index.ts","kind":"import-statement","original":"../db-host"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"../metadata"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"../space"}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-network-adapter.ts":{"bytes":7559,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/test-replicator.ts":{"bytes":22923,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true}],"format":"esm"},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytes":989,"imports":[{"path":"packages/core/echo/echo-pipeline/src/testing/change-metadata.ts","kind":"import-statement","original":"./change-metadata"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts","kind":"import-statement","original":"./test-agent-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-network-adapter.ts","kind":"import-statement","original":"./test-network-adapter"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-replicator.ts","kind":"import-statement","original":"./test-replicator"}],"format":"esm"}},"outputs":{"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/node/chunk-6MWU4MHX.cjs","kind":"import-statement"}],"exports":["AuthExtension","AuthStatus","AutomergeHost","CredentialRetrieverExtension","CredentialServerExtension","DataServiceImpl","DocumentsSynchronizer","EchoDataMonitor","LevelDBStorageAdapter","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MeshEchoReplicator","MetadataStore","Pipeline","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceProtocol","SpaceProtocolSession","TimeframeClock","codec","createIdFromSpaceKey","createMappedFeedWriter","deriveCollectionIdFromSpaceId","diffCollectionState","encodingOptions","getSpaceIdFromCollectionId","getSpaceKeyFromDoc","hasInvitationExpired","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","startAfter","valueEncoding"],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":0}},"bytes":1507},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":31349},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/node/chunk-6MWU4MHX.cjs","kind":"import-statement"},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true}],"exports":["MemoryNetworkManagerProvider","TestAdapter","TestAgent","TestAgentBuilder","TestFeedBuilder","TestReplicationNetwork","TestReplicator","TestReplicatorConnection","WebsocketNetworkManagerProvider","brokenAutomergeReplicatorFactory","changeStorageVersionInMetadata","testAutomergeReplicatorFactory"],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/change-metadata.ts":{"bytesInOutput":843},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":6630},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":171},"packages/core/echo/echo-pipeline/src/testing/test-network-adapter.ts":{"bytesInOutput":2248},"packages/core/echo/echo-pipeline/src/testing/test-replicator.ts":{"bytesInOutput":6525}},"bytes":17362},"packages/core/echo/echo-pipeline/dist/lib/node/chunk-6MWU4MHX.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":239158},"packages/core/echo/echo-pipeline/dist/lib/node/chunk-6MWU4MHX.cjs":{"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/indexing","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/automerge/automerge-repo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-automerge-replicator","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"crc-32","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["AuthExtension","AuthStatus","AutomergeHost","CredentialRetrieverExtension","CredentialServerExtension","DataServiceImpl","DocumentsSynchronizer","EchoDataMonitor","LevelDBStorageAdapter","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MeshEchoReplicator","MetadataStore","Pipeline","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceProtocol","SpaceProtocolSession","TimeframeClock","codec","createIdFromSpaceKey","createMappedFeedWriter","deriveCollectionIdFromSpaceId","diffCollectionState","encodingOptions","getSpaceIdFromCollectionId","getSpaceKeyFromDoc","hasInvitationExpired","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","startAfter","valueEncoding"],"inputs":{"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":211},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":548},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/db-host/snapshot-manager.ts":{"bytesInOutput":1298},"packages/core/echo/echo-pipeline/src/db-host/snapshot-store.ts":{"bytesInOutput":1292},"packages/core/echo/echo-pipeline/src/db-host/documents-synchronizer.ts":{"bytesInOutput":4808},"packages/core/echo/echo-pipeline/src/automerge/collection-synchronizer.ts":{"bytesInOutput":4947},"packages/core/echo/echo-pipeline/src/automerge/leveldb-storage-adapter.ts":{"bytesInOutput":2913},"packages/core/echo/echo-pipeline/src/automerge/automerge-host.ts":{"bytesInOutput":14958},"packages/core/echo/echo-pipeline/src/automerge/echo-network-adapter.ts":{"bytesInOutput":9801},"packages/core/echo/echo-pipeline/src/automerge/network-protocol.ts":{"bytesInOutput":296},"packages/core/echo/echo-pipeline/src/automerge/heads-store.ts":{"bytesInOutput":483},"packages/core/echo/echo-pipeline/src/automerge/space-collection.ts":{"bytesInOutput":574},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":3064},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2919},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":12747},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":769},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":7004},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":8398},"packages/core/echo/echo-pipeline/src/space/admission-discovery-extension.ts":{"bytesInOutput":1992},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":7000},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":5244},"packages/core/echo/echo-pipeline/src/db-host/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/db-host/data-service.ts":{"bytesInOutput":3425},"packages/core/echo/echo-pipeline/src/automerge/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator.ts":{"bytesInOutput":6236},"packages/core/echo/echo-pipeline/src/automerge/mesh-echo-replicator-connection.ts":{"bytesInOutput":3663},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/automerge/echo-data-monitor.ts":{"bytesInOutput":11455},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":11047},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0}},"bytes":130111}}}
@@ -32,7 +32,7 @@ __export(testing_exports, {
32
32
  testAutomergeReplicatorFactory: () => testAutomergeReplicatorFactory
33
33
  });
34
34
  module.exports = __toCommonJS(testing_exports);
35
- var import_chunk_PT5LWMPA = require("../chunk-PT5LWMPA.cjs");
35
+ var import_chunk_6MWU4MHX = require("../chunk-6MWU4MHX.cjs");
36
36
  var import_log = require("@dxos/log");
37
37
  var import_protocols = require("@dxos/protocols");
38
38
  var import_context = require("@dxos/context");
@@ -64,7 +64,7 @@ var changeStorageVersionInMetadata = async (storage, version) => {
64
64
  S: void 0,
65
65
  C: (f, a) => f(...a)
66
66
  });
67
- const metadata = new import_chunk_PT5LWMPA.MetadataStore(storage.createDirectory("metadata"));
67
+ const metadata = new import_chunk_6MWU4MHX.MetadataStore(storage.createDirectory("metadata"));
68
68
  await metadata.load();
69
69
  const echoMetadata = metadata.metadata;
70
70
  echoMetadata.version = version;
@@ -75,7 +75,7 @@ var changeStorageVersionInMetadata = async (storage, version) => {
75
75
  var TestFeedBuilder = class extends import_testing.TestBuilder {
76
76
  constructor() {
77
77
  super({
78
- valueEncoding: import_chunk_PT5LWMPA.valueEncoding
78
+ valueEncoding: import_chunk_6MWU4MHX.valueEncoding
79
79
  });
80
80
  }
81
81
  };
@@ -120,10 +120,10 @@ var TestAgentBuilder = class {
120
120
  };
121
121
  var TestAgent = class {
122
122
  get metadataStore() {
123
- return this._metadataStore ??= new import_chunk_PT5LWMPA.MetadataStore(this.storage.createDirectory("metadata"));
123
+ return this._metadataStore ??= new import_chunk_6MWU4MHX.MetadataStore(this.storage.createDirectory("metadata"));
124
124
  }
125
125
  get snapshotStore() {
126
- return this._snapshotStore ??= new import_chunk_PT5LWMPA.SnapshotStore(this.storage.createDirectory("snapshots"));
126
+ return this._snapshotStore ??= new import_chunk_6MWU4MHX.SnapshotStore(this.storage.createDirectory("snapshots"));
127
127
  }
128
128
  get blobStore() {
129
129
  return this._blobStore ??= new import_teleport_extension_object_sync.BlobStore(this.storage.createDirectory("blobs"));
@@ -150,7 +150,7 @@ var TestAgent = class {
150
150
  return this._spaces.get(spaceKey);
151
151
  }
152
152
  get spaceManager() {
153
- return this._spaceManager ??= new import_chunk_PT5LWMPA.SpaceManager({
153
+ return this._spaceManager ??= new import_chunk_6MWU4MHX.SpaceManager({
154
154
  feedStore: this.feedStore,
155
155
  networkManager: this._networkManagerProvider(),
156
156
  metadataStore: this.metadataStore,
@@ -187,8 +187,8 @@ var TestAgent = class {
187
187
  metadata,
188
188
  swarmIdentity: {
189
189
  peerKey: this.deviceKey,
190
- credentialProvider: import_chunk_PT5LWMPA.MOCK_AUTH_PROVIDER,
191
- credentialAuthenticator: import_chunk_PT5LWMPA.MOCK_AUTH_VERIFIER
190
+ credentialProvider: import_chunk_6MWU4MHX.MOCK_AUTH_PROVIDER,
191
+ credentialAuthenticator: import_chunk_6MWU4MHX.MOCK_AUTH_VERIFIER
192
192
  },
193
193
  memberKey: identityKey,
194
194
  onAuthorizedConnection: (session) => {
@@ -211,12 +211,12 @@ var TestAgent = class {
211
211
  return space;
212
212
  }
213
213
  createSpaceProtocol(topic, gossip) {
214
- return new import_chunk_PT5LWMPA.SpaceProtocol({
214
+ return new import_chunk_6MWU4MHX.SpaceProtocol({
215
215
  topic,
216
216
  swarmIdentity: {
217
217
  peerKey: this.deviceKey,
218
- credentialProvider: import_chunk_PT5LWMPA.MOCK_AUTH_PROVIDER,
219
- credentialAuthenticator: import_chunk_PT5LWMPA.MOCK_AUTH_VERIFIER
218
+ credentialProvider: import_chunk_6MWU4MHX.MOCK_AUTH_PROVIDER,
219
+ credentialAuthenticator: import_chunk_6MWU4MHX.MOCK_AUTH_VERIFIER
220
220
  },
221
221
  networkManager: this._networkManagerProvider(),
222
222
  blobStore: this.blobStore,
@@ -6,10 +6,12 @@ import { type IndexMetadataStore } from '@dxos/indexing';
6
6
  import { type LevelDB } from '@dxos/kv-store';
7
7
  import { type DocHeadsList, type FlushRequest } from '@dxos/protocols/proto/dxos/echo/service';
8
8
  import { type CollectionState } from './collection-synchronizer';
9
+ import { type EchoDataMonitor } from './echo-data-monitor';
9
10
  import { type EchoReplicator } from './echo-replicator';
10
11
  export type AutomergeHostParams = {
11
12
  db: LevelDB;
12
13
  indexMetadataStore: IndexMetadataStore;
14
+ dataMonitor?: EchoDataMonitor;
13
15
  };
14
16
  export type LoadDocOptions = {
15
17
  timeout?: number;
@@ -32,7 +34,7 @@ export declare class AutomergeHost extends Resource {
32
34
  private _storage;
33
35
  private readonly _headsStore;
34
36
  private _peerId;
35
- constructor({ db, indexMetadataStore }: AutomergeHostParams);
37
+ constructor({ db, indexMetadataStore, dataMonitor }: AutomergeHostParams);
36
38
  protected _open(): Promise<void>;
37
39
  protected _close(): Promise<void>;
38
40
  /**
@@ -60,7 +62,6 @@ export declare class AutomergeHost extends Resource {
60
62
  * Called by AutomergeStorageAdapter after levelDB batch commit.
61
63
  */
62
64
  private _afterSave;
63
- private _automergeDocs;
64
65
  private _automergePeers;
65
66
  private _getContainingSpaceForDocument;
66
67
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"automerge-host.d.ts","sourceRoot":"","sources":["../../../../src/automerge/automerge-host.ts"],"names":[],"mappings":"AAKA,OAAO,EAOL,KAAK,GAAG,EACR,KAAK,KAAK,EACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,UAAU,EAGf,KAAK,MAAM,EAGZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAqC,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGzD,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 +1,73 @@
1
+ import { type Message } from '@dxos/automerge/automerge-repo';
2
+ import { type TimeAware } from '@dxos/tracing';
3
+ import { type NetworkDataMonitor } from './echo-network-adapter';
4
+ import { type StorageAdapterDataMonitor } from './leveldb-storage-adapter';
5
+ export type EchoDataMonitorOptions = {
6
+ timeSeriesLength: number;
7
+ };
8
+ export declare class EchoDataMonitor implements StorageAdapterDataMonitor, NetworkDataMonitor, TimeAware {
9
+ private readonly _params;
10
+ private _lastTick;
11
+ private _activeCounters;
12
+ private _lastCompleteCounters;
13
+ private readonly _localTimeSeries;
14
+ private readonly _storageAverages;
15
+ private readonly _replicationAverages;
16
+ private readonly _sizeByMessageType;
17
+ private readonly _lastReceivedMessages;
18
+ private readonly _lastSentMessages;
19
+ private _connectionsCount;
20
+ constructor(_params?: EchoDataMonitorOptions);
21
+ tick(timeMs: number): void;
22
+ computeStats(): EchoDataStats;
23
+ get connectionsCount(): number;
24
+ private _advanceTimeWindow;
25
+ private _addToTimeSeries;
26
+ private _reportPerSecondRate;
27
+ recordPeerConnected(peerId: string): void;
28
+ recordPeerDisconnected(peerId: string): void;
29
+ recordBytesStored(count: number): void;
30
+ recordLoadDuration(durationMs: number): void;
31
+ recordStoreDuration(durationMs: number): void;
32
+ recordBytesLoaded(count: number): void;
33
+ recordMessageSent(message: Message, duration: number): void;
34
+ recordMessageReceived(message: Message): void;
35
+ recordMessageSendingFailed(message: Message): void;
36
+ private _getStatsForType;
37
+ private _computeMessageHistogram;
38
+ }
39
+ type BaseDataOpStats = {
40
+ payloadSize: number;
41
+ countPerSecond: number;
42
+ };
43
+ export type TimedDataOpStats = BaseDataOpStats & {
44
+ opDuration: number;
45
+ };
46
+ type MessageAttributeHistogram = {
47
+ [messageType: string]: {
48
+ received: number;
49
+ sent: number;
50
+ };
51
+ };
52
+ export type EchoDataStats = {
53
+ meta: {
54
+ rateAverageOverSeconds: number;
55
+ };
56
+ storage: {
57
+ reads: TimedDataOpStats;
58
+ writes: TimedDataOpStats;
59
+ };
60
+ replicator: {
61
+ connections: number;
62
+ receivedMessages: BaseDataOpStats;
63
+ sentMessages: TimedDataOpStats & {
64
+ failedPerSecond: number;
65
+ };
66
+ avgSizeByMessageType: {
67
+ [messageType: string]: number;
68
+ };
69
+ countByMessageType: MessageAttributeHistogram;
70
+ };
71
+ };
72
+ export {};
73
+ //# sourceMappingURL=echo-data-monitor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"echo-data-monitor.d.ts","sourceRoot":"","sources":["../../../../src/automerge/echo-data-monitor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,KAAK,SAAS,EAAS,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAM3E,MAAM,MAAM,sBAAsB,GAAG;IACnC,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,qBACa,eAAgB,YAAW,yBAAyB,EAAE,kBAAkB,EAAE,SAAS;IAclF,OAAO,CAAC,QAAQ,CAAC,OAAO;IAbpC,OAAO,CAAC,SAAS,CAAK;IAEtB,OAAO,CAAC,eAAe,CAAyB;IAChD,OAAO,CAAC,qBAAqB,CAA4B;IACzD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA2B;IAC5D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA2B;IAC5D,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA2B;IAChE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAgD;IACnF,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAA0C;IAChF,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA0C;IAE5E,OAAO,CAAC,iBAAiB,CAAK;gBAED,OAAO,GAAE,sBAAiD;IAEhF,IAAI,CAAC,MAAM,EAAE,MA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