@dxos/echo-pipeline 0.1.35 → 0.1.36-next.ef27157
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-6CRSMR4G.mjs → chunk-LIPDNX3G.mjs} +73 -46
- package/dist/lib/browser/chunk-LIPDNX3G.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +3 -1
- package/dist/lib/browser/index.mjs.map +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 +63 -35
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +59 -37
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/pipeline/pipeline.d.ts +1 -0
- package/dist/types/src/pipeline/pipeline.d.ts.map +1 -1
- package/dist/types/src/pipeline/timeframe-clock.d.ts +1 -0
- package/dist/types/src/pipeline/timeframe-clock.d.ts.map +1 -1
- package/package.json +30 -29
- package/src/pipeline/pipeline.test.ts +214 -0
- package/src/pipeline/pipeline.ts +14 -5
- package/src/pipeline/timeframe-clock.ts +4 -1
- package/src/space/data-pipeline.ts +2 -2
- package/dist/lib/browser/chunk-6CRSMR4G.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":17413,"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","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":1616,"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":7134,"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":25429,"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/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":"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":9584,"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":12494,"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/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/space/space.ts":{"bytes":20272,"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/pipeline/index.ts","kind":"import-statement","original":"../pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":21654,"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-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":10345,"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/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/genesis.ts":{"bytes":7356,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytes":10295,"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-backend.ts":{"bytes":5565,"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":6969,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytes":4640,"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":823,"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-backend.ts","kind":"import-statement","original":"./database-backend"},{"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":28358,"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/echo-db","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/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/space/index.ts":{"bytes":844,"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/genesis.ts","kind":"import-statement","original":"./genesis"},{"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":23724,"imports":[{"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/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","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/space/data-pipeline.ts","kind":"import-statement","original":"../space/data-pipeline"},{"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":8846,"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":100726},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"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","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/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/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/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-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","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/echo-db","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/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","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}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":1497},"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":5278},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":6147},"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":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":514},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2421},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2796},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5693},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3566},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2935},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":2052},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":8399},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2492},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2213},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1099},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1741}},"bytes":61389},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":114309},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"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/random-access-storage","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-gossip","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/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","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":"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","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":"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/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/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":"@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/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-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","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/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","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":5789},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2486},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2205},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1097},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1733},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5298},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2796},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5693},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":6152},"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":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":516},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2421},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3568},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2939},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":182},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":8399},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":188},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2317}},"bytes":65404}}}
|
|
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":17413,"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","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":1616,"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":7673,"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":27000,"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/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":"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":9584,"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":12494,"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/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/space/space.ts":{"bytes":20272,"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/pipeline/index.ts","kind":"import-statement","original":"../pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":21654,"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-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":10345,"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/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/genesis.ts":{"bytes":7356,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytes":10295,"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-backend.ts":{"bytes":5565,"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":6969,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytes":4640,"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":823,"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-backend.ts","kind":"import-statement","original":"./database-backend"},{"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":28436,"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/echo-db","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/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/space/index.ts":{"bytes":844,"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/genesis.ts","kind":"import-statement","original":"./genesis"},{"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":23724,"imports":[{"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/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","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/space/data-pipeline.ts","kind":"import-statement","original":"../space/data-pipeline"},{"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":8846,"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":101535},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"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","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/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/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/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-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","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/echo-db","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/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","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}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":1529},"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":5278},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":7137},"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":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":514},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2535},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2796},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5693},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3566},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2935},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":2052},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":8425},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2492},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2213},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1099},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1741}},"bytes":62565},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":114985},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"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/random-access-storage","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-gossip","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/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","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":"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","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":"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/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/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":"@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/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-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","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/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","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":5789},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2486},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2205},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1097},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1733},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5298},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2796},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5693},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":7142},"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":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":516},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2416},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3568},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2939},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":182},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":8425},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":188},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2317}},"bytes":66415}}}
|
|
@@ -639,14 +639,14 @@ var __decorate3 = function(decorators, target, key, desc) {
|
|
|
639
639
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
640
640
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
641
641
|
};
|
|
642
|
-
var mapTimeframeToFeedIndexes = (timeframe) => timeframe.frames().map(([feedKey, index]) => ({
|
|
643
|
-
feedKey,
|
|
644
|
-
index
|
|
645
|
-
}));
|
|
646
642
|
var mapFeedIndexesToTimeframe = (indexes) => new import_timeframe.Timeframe(indexes.map(({ feedKey, index }) => [
|
|
647
643
|
feedKey,
|
|
648
644
|
index
|
|
649
645
|
]));
|
|
646
|
+
var startAfter = (timeframe) => timeframe.frames().map(([feedKey, index]) => ({
|
|
647
|
+
feedKey,
|
|
648
|
+
index: index + 1
|
|
649
|
+
}));
|
|
650
650
|
var TimeframeClock = class {
|
|
651
651
|
// prettier-ignore
|
|
652
652
|
constructor(_timeframe = new import_timeframe.Timeframe()) {
|
|
@@ -670,12 +670,12 @@ var TimeframeClock = class {
|
|
|
670
670
|
return !gaps.isEmpty();
|
|
671
671
|
}
|
|
672
672
|
async waitUntilReached(target) {
|
|
673
|
-
import_log5.log.
|
|
673
|
+
import_log5.log.info("waitUntilReached", {
|
|
674
674
|
target,
|
|
675
675
|
current: this._timeframe
|
|
676
676
|
}, {
|
|
677
677
|
file: "timeframe-clock.ts",
|
|
678
|
-
line:
|
|
678
|
+
line: 48,
|
|
679
679
|
scope: this,
|
|
680
680
|
callSite: (f, a) => f(...a)
|
|
681
681
|
});
|
|
@@ -686,7 +686,7 @@ var TimeframeClock = class {
|
|
|
686
686
|
deps: import_timeframe.Timeframe.dependencies(target, this._timeframe)
|
|
687
687
|
}, {
|
|
688
688
|
file: "timeframe-clock.ts",
|
|
689
|
-
line:
|
|
689
|
+
line: 50,
|
|
690
690
|
scope: this,
|
|
691
691
|
callSite: (f, a) => f(...a)
|
|
692
692
|
});
|
|
@@ -699,6 +699,16 @@ __decorate3([
|
|
|
699
699
|
], TimeframeClock.prototype, "waitUntilReached", null);
|
|
700
700
|
|
|
701
701
|
// packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts
|
|
702
|
+
var __decorate4 = function(decorators, target, key, desc) {
|
|
703
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
704
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
705
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
706
|
+
else
|
|
707
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
708
|
+
if (d = decorators[i])
|
|
709
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
710
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
711
|
+
};
|
|
702
712
|
var PipelineState = class {
|
|
703
713
|
// prettier-ignore
|
|
704
714
|
constructor(_iterator, _timeframeClock) {
|
|
@@ -710,10 +720,11 @@ var PipelineState = class {
|
|
|
710
720
|
* Latest theoretical timeframe based on the last mutation in each feed.
|
|
711
721
|
* NOTE: This might never be reached if the mutation dependencies
|
|
712
722
|
*/
|
|
723
|
+
// TODO(dmaretskyi): Rename `totalTimeframe`? or `lastTimeframe`.
|
|
713
724
|
get endTimeframe() {
|
|
714
|
-
return mapFeedIndexesToTimeframe(this._iterator.feeds.filter((feed) => feed.
|
|
725
|
+
return mapFeedIndexesToTimeframe(this._iterator.feeds.filter((feed) => feed.length > 0).map((feed) => ({
|
|
715
726
|
feedKey: feed.key,
|
|
716
|
-
index: feed.
|
|
727
|
+
index: feed.length - 1
|
|
717
728
|
})));
|
|
718
729
|
}
|
|
719
730
|
get timeframe() {
|
|
@@ -722,6 +733,9 @@ var PipelineState = class {
|
|
|
722
733
|
get targetTimeframe() {
|
|
723
734
|
return this._targetTimeframe ? this._targetTimeframe : new import_timeframe2.Timeframe();
|
|
724
735
|
}
|
|
736
|
+
get feeds() {
|
|
737
|
+
return this._iterator.feeds;
|
|
738
|
+
}
|
|
725
739
|
async waitUntilTimeframe(target) {
|
|
726
740
|
await this._timeframeClock.waitUntilReached(target);
|
|
727
741
|
}
|
|
@@ -743,7 +757,7 @@ var PipelineState = class {
|
|
|
743
757
|
target: this.targetTimeframe
|
|
744
758
|
}, {
|
|
745
759
|
file: "pipeline.ts",
|
|
746
|
-
line:
|
|
760
|
+
line: 101,
|
|
747
761
|
scope: this,
|
|
748
762
|
callSite: (f, a) => f(...a)
|
|
749
763
|
});
|
|
@@ -773,7 +787,7 @@ var PipelineState = class {
|
|
|
773
787
|
dependencies: import_timeframe2.Timeframe.dependencies(this.targetTimeframe, this.timeframe)
|
|
774
788
|
}, {
|
|
775
789
|
file: "pipeline.ts",
|
|
776
|
-
line:
|
|
790
|
+
line: 127,
|
|
777
791
|
scope: this,
|
|
778
792
|
callSite: (f, a) => f(...a)
|
|
779
793
|
});
|
|
@@ -790,7 +804,7 @@ var Pipeline = class {
|
|
|
790
804
|
this._initialTimeframe = _initialTimeframe;
|
|
791
805
|
this._timeframeClock = new TimeframeClock(this._initialTimeframe);
|
|
792
806
|
this._feedSetIterator = new import_feed_store.FeedSetIterator(createMessageSelector(this._timeframeClock), {
|
|
793
|
-
start:
|
|
807
|
+
start: startAfter(this._initialTimeframe),
|
|
794
808
|
stallTimeout: 1e3
|
|
795
809
|
});
|
|
796
810
|
this._state = new PipelineState(this._feedSetIterator, this._timeframeClock);
|
|
@@ -799,7 +813,7 @@ var Pipeline = class {
|
|
|
799
813
|
this._feedSetIterator.stalled.on((iterator) => {
|
|
800
814
|
import_log6.log.warn(`Stalled after ${iterator.options.stallTimeout}ms with ${iterator.size} feeds.`, {}, {
|
|
801
815
|
file: "pipeline.ts",
|
|
802
|
-
line:
|
|
816
|
+
line: 203,
|
|
803
817
|
scope: this,
|
|
804
818
|
callSite: (f, a) => f(...a)
|
|
805
819
|
});
|
|
@@ -815,6 +829,8 @@ var Pipeline = class {
|
|
|
815
829
|
getFeeds() {
|
|
816
830
|
return this._feedSetIterator.feeds;
|
|
817
831
|
}
|
|
832
|
+
// NOTE: This cannot be synchronized with `stop` because stop waits for the mutation processing to complete,
|
|
833
|
+
// which might be opening feeds during the mutation processing, which w
|
|
818
834
|
async addFeed(feed) {
|
|
819
835
|
await this._feedSetIterator.addFeed(feed);
|
|
820
836
|
}
|
|
@@ -832,14 +848,14 @@ var Pipeline = class {
|
|
|
832
848
|
async start() {
|
|
833
849
|
(0, import_log6.log)("starting...", {}, {
|
|
834
850
|
file: "pipeline.ts",
|
|
835
|
-
line:
|
|
851
|
+
line: 245,
|
|
836
852
|
scope: this,
|
|
837
853
|
callSite: (f, a) => f(...a)
|
|
838
854
|
});
|
|
839
855
|
await this._feedSetIterator.open();
|
|
840
856
|
(0, import_log6.log)("started", {}, {
|
|
841
857
|
file: "pipeline.ts",
|
|
842
|
-
line:
|
|
858
|
+
line: 247,
|
|
843
859
|
scope: this,
|
|
844
860
|
callSite: (f, a) => f(...a)
|
|
845
861
|
});
|
|
@@ -847,7 +863,7 @@ var Pipeline = class {
|
|
|
847
863
|
async stop() {
|
|
848
864
|
(0, import_log6.log)("stopping...", {}, {
|
|
849
865
|
file: "pipeline.ts",
|
|
850
|
-
line:
|
|
866
|
+
line: 252,
|
|
851
867
|
scope: this,
|
|
852
868
|
callSite: (f, a) => f(...a)
|
|
853
869
|
});
|
|
@@ -855,7 +871,7 @@ var Pipeline = class {
|
|
|
855
871
|
await this._processingTrigger.wait();
|
|
856
872
|
(0, import_log6.log)("stopped", {}, {
|
|
857
873
|
file: "pipeline.ts",
|
|
858
|
-
line:
|
|
874
|
+
line: 255,
|
|
859
875
|
scope: this,
|
|
860
876
|
callSite: (f, a) => f(...a)
|
|
861
877
|
});
|
|
@@ -876,6 +892,12 @@ var Pipeline = class {
|
|
|
876
892
|
this._isOpen = false;
|
|
877
893
|
}
|
|
878
894
|
};
|
|
895
|
+
__decorate4([
|
|
896
|
+
import_async5.synchronized
|
|
897
|
+
], Pipeline.prototype, "start", null);
|
|
898
|
+
__decorate4([
|
|
899
|
+
import_async5.synchronized
|
|
900
|
+
], Pipeline.prototype, "stop", null);
|
|
879
901
|
|
|
880
902
|
// packages/core/echo/echo-pipeline/src/space/control-pipeline.ts
|
|
881
903
|
var import_credentials = require("@dxos/credentials");
|
|
@@ -993,7 +1015,7 @@ var ControlPipeline = class {
|
|
|
993
1015
|
};
|
|
994
1016
|
|
|
995
1017
|
// packages/core/echo/echo-pipeline/src/space/space.ts
|
|
996
|
-
var
|
|
1018
|
+
var __decorate5 = function(decorators, target, key, desc) {
|
|
997
1019
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
998
1020
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
999
1021
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1159,16 +1181,16 @@ var Space = class Space2 {
|
|
|
1159
1181
|
return pipeline;
|
|
1160
1182
|
}
|
|
1161
1183
|
};
|
|
1162
|
-
|
|
1184
|
+
__decorate5([
|
|
1163
1185
|
import_log8.logInfo
|
|
1164
1186
|
], Space.prototype, "key", null);
|
|
1165
|
-
|
|
1187
|
+
__decorate5([
|
|
1166
1188
|
import_async6.synchronized
|
|
1167
1189
|
], Space.prototype, "open", null);
|
|
1168
|
-
|
|
1190
|
+
__decorate5([
|
|
1169
1191
|
import_async6.synchronized
|
|
1170
1192
|
], Space.prototype, "close", null);
|
|
1171
|
-
Space =
|
|
1193
|
+
Space = __decorate5([
|
|
1172
1194
|
(0, import_async6.trackLeaks)("open", "close")
|
|
1173
1195
|
], Space);
|
|
1174
1196
|
|
|
@@ -1188,7 +1210,7 @@ var import_network_manager = require("@dxos/network-manager");
|
|
|
1188
1210
|
var import_teleport2 = require("@dxos/teleport");
|
|
1189
1211
|
var import_teleport_extension_replicator = require("@dxos/teleport-extension-replicator");
|
|
1190
1212
|
var import_util5 = require("@dxos/util");
|
|
1191
|
-
var
|
|
1213
|
+
var __decorate6 = function(decorators, target, key, desc) {
|
|
1192
1214
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1193
1215
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1194
1216
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1295,10 +1317,10 @@ var SpaceProtocol = class {
|
|
|
1295
1317
|
};
|
|
1296
1318
|
}
|
|
1297
1319
|
};
|
|
1298
|
-
|
|
1320
|
+
__decorate6([
|
|
1299
1321
|
import_log9.logInfo
|
|
1300
1322
|
], SpaceProtocol.prototype, "_topic", void 0);
|
|
1301
|
-
|
|
1323
|
+
__decorate6([
|
|
1302
1324
|
import_log9.logInfo
|
|
1303
1325
|
], SpaceProtocol.prototype, "_ownPeerKey", null);
|
|
1304
1326
|
var AuthStatus;
|
|
@@ -1358,15 +1380,15 @@ var SpaceProtocolSession = class {
|
|
|
1358
1380
|
await this._teleport.close();
|
|
1359
1381
|
}
|
|
1360
1382
|
};
|
|
1361
|
-
|
|
1383
|
+
__decorate6([
|
|
1362
1384
|
import_log9.logInfo
|
|
1363
1385
|
], SpaceProtocolSession.prototype, "_wireParams", void 0);
|
|
1364
|
-
|
|
1386
|
+
__decorate6([
|
|
1365
1387
|
import_log9.logInfo
|
|
1366
1388
|
], SpaceProtocolSession.prototype, "authStatus", null);
|
|
1367
1389
|
|
|
1368
1390
|
// packages/core/echo/echo-pipeline/src/space/space-manager.ts
|
|
1369
|
-
var
|
|
1391
|
+
var __decorate7 = function(decorators, target, key, desc) {
|
|
1370
1392
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1371
1393
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1372
1394
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1438,13 +1460,13 @@ var SpaceManager = class SpaceManager2 {
|
|
|
1438
1460
|
return space;
|
|
1439
1461
|
}
|
|
1440
1462
|
};
|
|
1441
|
-
|
|
1463
|
+
__decorate7([
|
|
1442
1464
|
import_async7.synchronized
|
|
1443
1465
|
], SpaceManager.prototype, "open", null);
|
|
1444
|
-
|
|
1466
|
+
__decorate7([
|
|
1445
1467
|
import_async7.synchronized
|
|
1446
1468
|
], SpaceManager.prototype, "close", null);
|
|
1447
|
-
SpaceManager =
|
|
1469
|
+
SpaceManager = __decorate7([
|
|
1448
1470
|
(0, import_async7.trackLeaks)("open", "close")
|
|
1449
1471
|
], SpaceManager);
|
|
1450
1472
|
|
|
@@ -1461,7 +1483,7 @@ var import_debug6 = require("@dxos/debug");
|
|
|
1461
1483
|
var import_echo_db3 = require("@dxos/echo-db");
|
|
1462
1484
|
var import_log11 = require("@dxos/log");
|
|
1463
1485
|
var import_timeframe3 = require("@dxos/timeframe");
|
|
1464
|
-
var
|
|
1486
|
+
var __decorate8 = function(decorators, target, key, desc) {
|
|
1465
1487
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1466
1488
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1467
1489
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1474,7 +1496,7 @@ var __decorate7 = function(decorators, target, key, desc) {
|
|
|
1474
1496
|
var MESSAGES_PER_SNAPSHOT = 10;
|
|
1475
1497
|
var AUTOMATIC_SNAPSHOT_DEBOUNCE_INTERVAL = 5e3;
|
|
1476
1498
|
var TIMEFRAME_SAVE_DEBOUNCE_INTERVAL = 500;
|
|
1477
|
-
var DISABLE_SNAPSHOT_CACHE =
|
|
1499
|
+
var DISABLE_SNAPSHOT_CACHE = true;
|
|
1478
1500
|
var DataPipeline = class DataPipeline2 {
|
|
1479
1501
|
constructor(_params) {
|
|
1480
1502
|
this._params = _params;
|
|
@@ -1509,7 +1531,7 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1509
1531
|
return;
|
|
1510
1532
|
}
|
|
1511
1533
|
this._spaceContext = spaceContext;
|
|
1512
|
-
if (this._params.snapshotId) {
|
|
1534
|
+
if (this._params.snapshotId && !DISABLE_SNAPSHOT_CACHE) {
|
|
1513
1535
|
this._snapshot = await this._params.snapshotManager.load(this._params.snapshotId);
|
|
1514
1536
|
this._lastAutomaticSnapshotTimeframe = (_b = (_a = this._snapshot) == null ? void 0 : _a.timeframe) != null ? _b : new import_timeframe3.Timeframe();
|
|
1515
1537
|
}
|
|
@@ -1668,13 +1690,13 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1668
1690
|
await this._pipeline.state.waitUntilTimeframe(timeframe);
|
|
1669
1691
|
}
|
|
1670
1692
|
};
|
|
1671
|
-
|
|
1693
|
+
__decorate8([
|
|
1672
1694
|
import_async8.synchronized
|
|
1673
1695
|
], DataPipeline.prototype, "open", null);
|
|
1674
|
-
|
|
1696
|
+
__decorate8([
|
|
1675
1697
|
import_async8.synchronized
|
|
1676
1698
|
], DataPipeline.prototype, "close", null);
|
|
1677
|
-
DataPipeline =
|
|
1699
|
+
DataPipeline = __decorate8([
|
|
1678
1700
|
(0, import_async8.trackLeaks)("open", "close")
|
|
1679
1701
|
], DataPipeline);
|
|
1680
1702
|
var snapshotTimeframeToStartingTimeframe = (snapshotTimeframe) => {
|