@dxos/echo-pipeline 0.1.52 → 0.1.53-main.032dce6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{chunk-AXGWKSM3.mjs → chunk-VTZ6AASA.mjs} +24 -19
- package/dist/lib/browser/chunk-VTZ6AASA.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/index.cjs +37 -32
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +36 -31
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/dbhost/snapshot-store.d.ts +3 -0
- package/dist/types/src/dbhost/snapshot-store.d.ts.map +1 -1
- package/dist/types/src/metadata/metadata-store.d.ts.map +1 -1
- package/dist/types/src/space/data-pipeline.d.ts.map +1 -1
- package/dist/types/src/space/space-protocol.d.ts +3 -0
- package/dist/types/src/space/space-protocol.d.ts.map +1 -1
- package/package.json +30 -30
- package/src/dbhost/snapshot-store.ts +3 -0
- package/src/metadata/metadata-store.ts +2 -1
- package/src/space/data-pipeline.ts +1 -0
- package/src/space/space-protocol.browser.test.ts +2 -2
- package/src/space/space-protocol.test.ts +2 -2
- package/src/space/space-protocol.ts +6 -0
- package/dist/lib/browser/chunk-AXGWKSM3.mjs.map +0 -7
package/dist/lib/node/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytes":5163,"imports":[]},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytes":370,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/errors.ts","kind":"import-statement","original":"./errors"}]},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytes":19950,"imports":[{"path":"crc-32","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytes":394,"imports":[{"path":"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts","kind":"import-statement","original":"./metadata-store"}]},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytes":1539,"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytes":1690,"imports":[{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytes":450,"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"}]},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytes":3445,"imports":[{"path":"debug","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":9569,"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}]},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytes":39431,"imports":[{"path":"node:assert","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/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/common/index.ts","kind":"import-statement","original":"../common"},{"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"}]},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytes":620,"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"}]},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytes":9474,"imports":[{"path":"node:assert","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/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytes":16767,"imports":[{"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/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytes":12747,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts":{"bytes":4884,"imports":[{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytes":7337,"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/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}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytes":5936,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytes":6382,"imports":[{"path":"node:assert","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/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytes":816,"imports":[{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts","kind":"import-statement","original":"./database-host"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts","kind":"import-statement","original":"./snapshot-manager"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts","kind":"import-statement","original":"./snapshot-store"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts","kind":"import-statement","original":"./data-service"}]},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytes":39681,"imports":[{"path":"node:assert","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/echo-db","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytes":26295,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","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/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts","kind":"import-statement","original":"./data-pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":24004,"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/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"}]},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytes":12970,"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/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"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"}]},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytes":757,"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/data-pipeline.ts","kind":"import-statement","original":"./data-pipeline"}]},"packages/core/echo/echo-pipeline/src/index.ts":{"bytes":795,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/index.ts","kind":"import-statement","original":"./errors"},{"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/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"./dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytes":1362,"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"}]},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytes":28343,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/model-factory","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/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"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"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"}]},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytes":8681,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/model-factory","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytes":591,"imports":[{"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/util.ts","kind":"import-statement","original":"./util"}]}},"outputs":{"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":120895},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"path":"crc-32","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":1437},"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytesInOutput":1196},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":6083},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":10966},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":301},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":514},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":3067},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2725},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":7242},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":4722},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":11454},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":3413},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts":{"bytesInOutput":859},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2278},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1370},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1738},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":3502},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6673}},"bytes":73368},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":138038},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/messaging","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/random-access-storage","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"crc-32","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":551},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":7191},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":3404},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts":{"bytesInOutput":859},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2263},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1368},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1738},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":6104},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2727},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":7242},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":4722},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":10974},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":301},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":516},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2948},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":11454},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":3502},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6673},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":188},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2288}},"bytes":80660}}}
|
|
1
|
+
{"inputs":{"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytes":5163,"imports":[]},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytes":370,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/errors.ts","kind":"import-statement","original":"./errors"}]},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytes":20092,"imports":[{"path":"crc-32","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/errors","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}]},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytes":394,"imports":[{"path":"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts","kind":"import-statement","original":"./metadata-store"}]},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytes":1539,"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytes":1690,"imports":[{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytes":450,"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"}]},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytes":3445,"imports":[{"path":"debug","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":9569,"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}]},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytes":39431,"imports":[{"path":"node:assert","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/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/common/index.ts","kind":"import-statement","original":"../common"},{"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"}]},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytes":620,"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"}]},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytes":9474,"imports":[{"path":"node:assert","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/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytes":16767,"imports":[{"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/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytes":12747,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts":{"bytes":4884,"imports":[{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytes":7337,"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/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}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytes":6007,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytes":6382,"imports":[{"path":"node:assert","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/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytes":816,"imports":[{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts","kind":"import-statement","original":"./database-host"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts","kind":"import-statement","original":"./snapshot-manager"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts","kind":"import-statement","original":"./snapshot-store"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts","kind":"import-statement","original":"./data-service"}]},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytes":39792,"imports":[{"path":"node:assert","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/echo-db","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytes":26295,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","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/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts","kind":"import-statement","original":"./data-pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":24441,"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/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"}]},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytes":12970,"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/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"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"}]},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytes":757,"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/data-pipeline.ts","kind":"import-statement","original":"./data-pipeline"}]},"packages/core/echo/echo-pipeline/src/index.ts":{"bytes":795,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/index.ts","kind":"import-statement","original":"./errors"},{"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/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"./dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytes":1362,"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"}]},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytes":28343,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/model-factory","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/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"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"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"}]},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytes":8681,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/model-factory","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytes":591,"imports":[{"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/util.ts","kind":"import-statement","original":"./util"}]}},"outputs":{"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":121308},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"path":"crc-32","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":1437},"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytesInOutput":1196},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":6143},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":10968},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":301},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":514},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":3067},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2725},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":7242},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":4722},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":11489},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":3413},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts":{"bytesInOutput":859},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2278},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1370},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1738},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":3502},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6726}},"bytes":73518},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":138451},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/messaging","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/random-access-storage","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/echo/blob","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"crc-32","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/errors","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":551},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":7191},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":3404},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-host.ts":{"bytesInOutput":859},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2263},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1368},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1738},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":6166},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2727},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":7242},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":4722},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":10974},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":301},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":516},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2948},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":11489},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":3502},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6726},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":188},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2288}},"bytes":80810}}}
|
|
@@ -52,7 +52,7 @@ var import_credentials6 = require("@dxos/protocols/proto/dxos/halo/credentials")
|
|
|
52
52
|
var import_random_access_storage = require("@dxos/random-access-storage");
|
|
53
53
|
var import_teleport_extension_gossip = require("@dxos/teleport-extension-gossip");
|
|
54
54
|
var import_teleport_extension_object_sync2 = require("@dxos/teleport-extension-object-sync");
|
|
55
|
-
var
|
|
55
|
+
var import_util9 = require("@dxos/util");
|
|
56
56
|
|
|
57
57
|
// packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts
|
|
58
58
|
var import_node_assert = __toESM(require("node:assert"));
|
|
@@ -363,6 +363,7 @@ var import_async2 = require("@dxos/async");
|
|
|
363
363
|
var import_errors = require("@dxos/errors");
|
|
364
364
|
var import_log3 = require("@dxos/log");
|
|
365
365
|
var import_protocols3 = require("@dxos/protocols");
|
|
366
|
+
var import_util3 = require("@dxos/util");
|
|
366
367
|
var __decorate2 = function(decorators, target, key, desc) {
|
|
367
368
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
368
369
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -418,7 +419,7 @@ var MetadataStore = class {
|
|
|
418
419
|
checksum
|
|
419
420
|
}, {
|
|
420
421
|
file: "metadata-store.ts",
|
|
421
|
-
line:
|
|
422
|
+
line: 69,
|
|
422
423
|
scope: this,
|
|
423
424
|
callSite: (f, a) => f(...a)
|
|
424
425
|
});
|
|
@@ -436,7 +437,7 @@ var MetadataStore = class {
|
|
|
436
437
|
err
|
|
437
438
|
}, {
|
|
438
439
|
file: "metadata-store.ts",
|
|
439
|
-
line:
|
|
440
|
+
line: 84,
|
|
440
441
|
scope: this,
|
|
441
442
|
callSite: (f, a) => f(...a)
|
|
442
443
|
});
|
|
@@ -456,7 +457,7 @@ var MetadataStore = class {
|
|
|
456
457
|
this.update.emit(data);
|
|
457
458
|
const file = this._directory.getOrCreateFile("EchoMetadata");
|
|
458
459
|
try {
|
|
459
|
-
const encoded =
|
|
460
|
+
const encoded = (0, import_util3.arrayToBuffer)(import_protocols3.schema.getCodecForType("dxos.echo.metadata.EchoMetadata").encode(data));
|
|
460
461
|
const checksum = import_crc_32.default.buf(encoded);
|
|
461
462
|
const result = Buffer.alloc(8 + encoded.length);
|
|
462
463
|
result.writeInt32LE(encoded.length, 0);
|
|
@@ -468,7 +469,7 @@ var MetadataStore = class {
|
|
|
468
469
|
checksum
|
|
469
470
|
}, {
|
|
470
471
|
file: "metadata-store.ts",
|
|
471
|
-
line:
|
|
472
|
+
line: 116,
|
|
472
473
|
scope: this,
|
|
473
474
|
callSite: (f, a) => f(...a)
|
|
474
475
|
});
|
|
@@ -491,7 +492,7 @@ var MetadataStore = class {
|
|
|
491
492
|
async clear() {
|
|
492
493
|
(0, import_log3.log)("clearing all metadata", {}, {
|
|
493
494
|
file: "metadata-store.ts",
|
|
494
|
-
line:
|
|
495
|
+
line: 137,
|
|
495
496
|
scope: this,
|
|
496
497
|
callSite: (f, a) => f(...a)
|
|
497
498
|
});
|
|
@@ -630,7 +631,7 @@ var import_node_assert9 = __toESM(require("node:assert"));
|
|
|
630
631
|
var import_async7 = require("@dxos/async");
|
|
631
632
|
var import_log9 = require("@dxos/log");
|
|
632
633
|
var import_credentials4 = require("@dxos/protocols/proto/dxos/halo/credentials");
|
|
633
|
-
var
|
|
634
|
+
var import_util6 = require("@dxos/util");
|
|
634
635
|
|
|
635
636
|
// packages/core/echo/echo-pipeline/src/space/control-pipeline.ts
|
|
636
637
|
var import_credentials = require("@dxos/credentials");
|
|
@@ -638,7 +639,7 @@ var import_keys4 = require("@dxos/keys");
|
|
|
638
639
|
var import_log7 = require("@dxos/log");
|
|
639
640
|
var import_credentials2 = require("@dxos/protocols/proto/dxos/halo/credentials");
|
|
640
641
|
var import_timeframe3 = require("@dxos/timeframe");
|
|
641
|
-
var
|
|
642
|
+
var import_util5 = require("@dxos/util");
|
|
642
643
|
|
|
643
644
|
// packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts
|
|
644
645
|
var import_node_assert7 = __toESM(require("node:assert"));
|
|
@@ -649,7 +650,7 @@ var import_feed_store = require("@dxos/feed-store");
|
|
|
649
650
|
var import_keys3 = require("@dxos/keys");
|
|
650
651
|
var import_log6 = require("@dxos/log");
|
|
651
652
|
var import_timeframe2 = require("@dxos/timeframe");
|
|
652
|
-
var
|
|
653
|
+
var import_util4 = require("@dxos/util");
|
|
653
654
|
|
|
654
655
|
// packages/core/echo/echo-pipeline/src/common/codec.ts
|
|
655
656
|
var import_hypercore = require("@dxos/hypercore");
|
|
@@ -888,7 +889,7 @@ var PipelineState = class {
|
|
|
888
889
|
var Pipeline = class {
|
|
889
890
|
constructor() {
|
|
890
891
|
this._timeframeClock = new TimeframeClock(new import_timeframe2.Timeframe());
|
|
891
|
-
this._feeds = new
|
|
892
|
+
this._feeds = new import_util4.ComplexMap(import_keys3.PublicKey.hash);
|
|
892
893
|
// External state accessor.
|
|
893
894
|
this._state = new PipelineState(this._feeds, this._timeframeClock);
|
|
894
895
|
// Waits for the message consumer to process the message and yield control back to the pipeline.
|
|
@@ -1095,7 +1096,7 @@ var TIMEFRAME_SAVE_DEBOUNCE_INTERVAL = 500;
|
|
|
1095
1096
|
var ControlPipeline = class {
|
|
1096
1097
|
constructor({ spaceKey, genesisFeed, feedProvider, metadataStore }) {
|
|
1097
1098
|
this._lastTimeframeSaveTime = Date.now();
|
|
1098
|
-
this.onFeedAdmitted = new
|
|
1099
|
+
this.onFeedAdmitted = new import_util5.Callback();
|
|
1099
1100
|
this._spaceKey = spaceKey;
|
|
1100
1101
|
this._metadata = metadataStore;
|
|
1101
1102
|
this._pipeline = new Pipeline();
|
|
@@ -1430,7 +1431,8 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1430
1431
|
try {
|
|
1431
1432
|
const propertiesItem = this.itemManager.items.find((item) => {
|
|
1432
1433
|
var _a2, _b;
|
|
1433
|
-
return ((_a2 = item.modelMeta) == null ? void 0 : _a2.type) === "dxos:model/document" &&
|
|
1434
|
+
return ((_a2 = item.modelMeta) == null ? void 0 : _a2.type) === "dxos:model/document" && // TODO(burdon): Document?
|
|
1435
|
+
((_b = (0, import_echo_db3.getStateMachineFromItem)(item)) == null ? void 0 : _b.snapshot().type) === "dxos.sdk.client.Properties";
|
|
1434
1436
|
});
|
|
1435
1437
|
if (propertiesItem) {
|
|
1436
1438
|
cache.properties = (_a = (0, import_echo_db3.getStateMachineFromItem)(propertiesItem)) == null ? void 0 : _a.snapshot();
|
|
@@ -1438,7 +1440,7 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1438
1440
|
} catch (err) {
|
|
1439
1441
|
import_log8.log.warn("Failed to cache properties", err, {
|
|
1440
1442
|
file: "data-pipeline.ts",
|
|
1441
|
-
line:
|
|
1443
|
+
line: 269,
|
|
1442
1444
|
scope: this,
|
|
1443
1445
|
callSite: (f, a) => f(...a)
|
|
1444
1446
|
});
|
|
@@ -1465,14 +1467,14 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1465
1467
|
if (err instanceof import_errors2.CancelledError) {
|
|
1466
1468
|
(0, import_log8.log)("Epoch processing cancelled.", {}, {
|
|
1467
1469
|
file: "data-pipeline.ts",
|
|
1468
|
-
line:
|
|
1470
|
+
line: 301,
|
|
1469
1471
|
scope: this,
|
|
1470
1472
|
callSite: (f, a) => f(...a)
|
|
1471
1473
|
});
|
|
1472
1474
|
} else {
|
|
1473
1475
|
import_log8.log.catch(err, {}, {
|
|
1474
1476
|
file: "data-pipeline.ts",
|
|
1475
|
-
line:
|
|
1477
|
+
line: 303,
|
|
1476
1478
|
scope: this,
|
|
1477
1479
|
callSite: (f, a) => f(...a)
|
|
1478
1480
|
});
|
|
@@ -1488,7 +1490,7 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1488
1490
|
epoch
|
|
1489
1491
|
}, {
|
|
1490
1492
|
file: "data-pipeline.ts",
|
|
1491
|
-
line:
|
|
1493
|
+
line: 313,
|
|
1492
1494
|
scope: this,
|
|
1493
1495
|
callSite: (f, a) => f(...a)
|
|
1494
1496
|
});
|
|
@@ -1505,7 +1507,7 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1505
1507
|
epoch
|
|
1506
1508
|
}, {
|
|
1507
1509
|
file: "data-pipeline.ts",
|
|
1508
|
-
line:
|
|
1510
|
+
line: 327,
|
|
1509
1511
|
scope: this,
|
|
1510
1512
|
callSite: (f, a) => f(...a)
|
|
1511
1513
|
});
|
|
@@ -1515,7 +1517,7 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1515
1517
|
}
|
|
1516
1518
|
(0, import_log8.log)("restarting pipeline for epoch", {}, {
|
|
1517
1519
|
file: "data-pipeline.ts",
|
|
1518
|
-
line:
|
|
1520
|
+
line: 335,
|
|
1519
1521
|
scope: this,
|
|
1520
1522
|
callSite: (f, a) => f(...a)
|
|
1521
1523
|
});
|
|
@@ -1576,7 +1578,7 @@ var __decorate6 = function(decorators, target, key, desc) {
|
|
|
1576
1578
|
var Space = class Space2 {
|
|
1577
1579
|
constructor(params) {
|
|
1578
1580
|
this._addFeedLock = new import_async7.Lock();
|
|
1579
|
-
this.onCredentialProcessed = new
|
|
1581
|
+
this.onCredentialProcessed = new import_util6.Callback();
|
|
1580
1582
|
this.stateUpdate = new import_async7.Event();
|
|
1581
1583
|
// Processes epoch credentials.
|
|
1582
1584
|
this._dataPipelineCredentialConsumer = void 0;
|
|
@@ -1787,7 +1789,7 @@ var import_debug6 = require("@dxos/debug");
|
|
|
1787
1789
|
var import_keys6 = require("@dxos/keys");
|
|
1788
1790
|
var import_log11 = require("@dxos/log");
|
|
1789
1791
|
var import_protocols6 = require("@dxos/protocols");
|
|
1790
|
-
var
|
|
1792
|
+
var import_util8 = require("@dxos/util");
|
|
1791
1793
|
|
|
1792
1794
|
// packages/core/echo/echo-pipeline/src/space/space-protocol.ts
|
|
1793
1795
|
var import_crypto3 = require("@dxos/crypto");
|
|
@@ -1797,7 +1799,7 @@ var import_network_manager = require("@dxos/network-manager");
|
|
|
1797
1799
|
var import_teleport2 = require("@dxos/teleport");
|
|
1798
1800
|
var import_teleport_extension_object_sync = require("@dxos/teleport-extension-object-sync");
|
|
1799
1801
|
var import_teleport_extension_replicator = require("@dxos/teleport-extension-replicator");
|
|
1800
|
-
var
|
|
1802
|
+
var import_util7 = require("@dxos/util");
|
|
1801
1803
|
var __decorate7 = function(decorators, target, key, desc) {
|
|
1802
1804
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1803
1805
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -1813,7 +1815,7 @@ var MOCK_AUTH_VERIFIER = async (nonce, credential) => true;
|
|
|
1813
1815
|
var SpaceProtocol = class {
|
|
1814
1816
|
constructor({ topic, swarmIdentity, networkManager, onSessionAuth, onAuthFailure, blobStore }) {
|
|
1815
1817
|
this._feeds = /* @__PURE__ */ new Set();
|
|
1816
|
-
this._sessions = new
|
|
1818
|
+
this._sessions = new import_util7.ComplexMap(import_keys5.PublicKey.hash);
|
|
1817
1819
|
this._networkManager = networkManager;
|
|
1818
1820
|
this._swarmIdentity = swarmIdentity;
|
|
1819
1821
|
this._onSessionAuth = onSessionAuth;
|
|
@@ -1838,7 +1840,7 @@ var SpaceProtocol = class {
|
|
|
1838
1840
|
key: feed.key
|
|
1839
1841
|
}, {
|
|
1840
1842
|
file: "space-protocol.ts",
|
|
1841
|
-
line:
|
|
1843
|
+
line: 96,
|
|
1842
1844
|
scope: this,
|
|
1843
1845
|
callSite: (f, a) => f(...a)
|
|
1844
1846
|
});
|
|
@@ -1860,7 +1862,7 @@ var SpaceProtocol = class {
|
|
|
1860
1862
|
await this.blobSync.open();
|
|
1861
1863
|
(0, import_log10.log)("starting...", {}, {
|
|
1862
1864
|
file: "space-protocol.ts",
|
|
1863
|
-
line:
|
|
1865
|
+
line: 121,
|
|
1864
1866
|
scope: this,
|
|
1865
1867
|
callSite: (f, a) => f(...a)
|
|
1866
1868
|
});
|
|
@@ -1873,7 +1875,7 @@ var SpaceProtocol = class {
|
|
|
1873
1875
|
});
|
|
1874
1876
|
(0, import_log10.log)("started", {}, {
|
|
1875
1877
|
file: "space-protocol.ts",
|
|
1876
|
-
line:
|
|
1878
|
+
line: 130,
|
|
1877
1879
|
scope: this,
|
|
1878
1880
|
callSite: (f, a) => f(...a)
|
|
1879
1881
|
});
|
|
@@ -1883,14 +1885,14 @@ var SpaceProtocol = class {
|
|
|
1883
1885
|
if (this._connection) {
|
|
1884
1886
|
(0, import_log10.log)("stopping...", {}, {
|
|
1885
1887
|
file: "space-protocol.ts",
|
|
1886
|
-
line:
|
|
1888
|
+
line: 137,
|
|
1887
1889
|
scope: this,
|
|
1888
1890
|
callSite: (f, a) => f(...a)
|
|
1889
1891
|
});
|
|
1890
1892
|
await this._connection.close();
|
|
1891
1893
|
(0, import_log10.log)("stopped", {}, {
|
|
1892
1894
|
file: "space-protocol.ts",
|
|
1893
|
-
line:
|
|
1895
|
+
line: 139,
|
|
1894
1896
|
scope: this,
|
|
1895
1897
|
callSite: (f, a) => f(...a)
|
|
1896
1898
|
});
|
|
@@ -1943,6 +1945,9 @@ var SpaceProtocolSession = class {
|
|
|
1943
1945
|
get authStatus() {
|
|
1944
1946
|
return this._authStatus;
|
|
1945
1947
|
}
|
|
1948
|
+
get stats() {
|
|
1949
|
+
return this._teleport.stats;
|
|
1950
|
+
}
|
|
1946
1951
|
get stream() {
|
|
1947
1952
|
return this._teleport.stream;
|
|
1948
1953
|
}
|
|
@@ -1955,7 +1960,7 @@ var SpaceProtocolSession = class {
|
|
|
1955
1960
|
var _a;
|
|
1956
1961
|
(0, import_log10.log)("Peer authenticated", {}, {
|
|
1957
1962
|
file: "space-protocol.ts",
|
|
1958
|
-
line:
|
|
1963
|
+
line: 236,
|
|
1959
1964
|
scope: this,
|
|
1960
1965
|
callSite: (f, a) => f(...a)
|
|
1961
1966
|
});
|
|
@@ -1995,7 +2000,7 @@ var __decorate8 = function(decorators, target, key, desc) {
|
|
|
1995
2000
|
};
|
|
1996
2001
|
var SpaceManager = class SpaceManager2 {
|
|
1997
2002
|
constructor({ feedStore, networkManager, modelFactory, metadataStore, snapshotStore, blobStore }) {
|
|
1998
|
-
this._spaces = new
|
|
2003
|
+
this._spaces = new import_util8.ComplexMap(import_keys6.PublicKey.hash);
|
|
1999
2004
|
this._instanceId = import_keys6.PublicKey.random().toHex();
|
|
2000
2005
|
this._feedStore = feedStore;
|
|
2001
2006
|
this._networkManager = networkManager;
|
|
@@ -2101,7 +2106,7 @@ var WebsocketNetworkManagerProvider = (signalUrl) => () => new import_network_ma
|
|
|
2101
2106
|
});
|
|
2102
2107
|
var TestAgentBuilder = class {
|
|
2103
2108
|
constructor({ storage, networkManagerProvider } = {}) {
|
|
2104
|
-
this._agents = new
|
|
2109
|
+
this._agents = new import_util9.ComplexMap(import_keys7.PublicKey.hash);
|
|
2105
2110
|
this._storage = storage != null ? storage : (0, import_random_access_storage.createStorage)({
|
|
2106
2111
|
type: import_random_access_storage.StorageType.RAM
|
|
2107
2112
|
});
|
|
@@ -2143,7 +2148,7 @@ var TestAgent = class {
|
|
|
2143
2148
|
this._feedBuilder = _feedBuilder;
|
|
2144
2149
|
this.identityKey = identityKey;
|
|
2145
2150
|
this.deviceKey = deviceKey;
|
|
2146
|
-
this._spaces = new
|
|
2151
|
+
this._spaces = new import_util9.ComplexMap(import_keys7.PublicKey.hash);
|
|
2147
2152
|
this.modelFactory = new import_model_factory.ModelFactory().registerModel(import_document_model.DocumentModel);
|
|
2148
2153
|
this.storage = this._feedBuilder.storage;
|
|
2149
2154
|
this.keyring = this._feedBuilder.keyring;
|