@fgv/ts-agent-memory 5.1.0-47 → 5.1.0-49
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/packlets/ingest/orchestrator.js +11 -1
- package/dist/packlets/ingest/orchestrator.js.map +1 -1
- package/dist/packlets/observe/memoryObservationStore.js +6 -0
- package/dist/packlets/observe/memoryObservationStore.js.map +1 -1
- package/dist/packlets/observe/observer.js.map +1 -1
- package/dist/packlets/retrieve/linkTraversalRetriever.js +1 -1
- package/dist/packlets/retrieve/linkTraversalRetriever.js.map +1 -1
- package/dist/packlets/retrieve/recencyRetriever.js +1 -1
- package/dist/packlets/retrieve/recencyRetriever.js.map +1 -1
- package/dist/packlets/retrieve/retriever.js +11 -5
- package/dist/packlets/retrieve/retriever.js.map +1 -1
- package/dist/packlets/retrieve/structuredFilterRetriever.js +27 -5
- package/dist/packlets/retrieve/structuredFilterRetriever.js.map +1 -1
- package/dist/packlets/retrieve/tagRetriever.js +1 -1
- package/dist/packlets/retrieve/tagRetriever.js.map +1 -1
- package/dist/packlets/retrieve/temporalRetrievers.js +1 -1
- package/dist/packlets/retrieve/temporalRetrievers.js.map +1 -1
- package/dist/packlets/store/fileTreeMemoryStore.js +152 -132
- package/dist/packlets/store/fileTreeMemoryStore.js.map +1 -1
- package/dist/packlets/store/vectorMaintenance.js +251 -0
- package/dist/packlets/store/vectorMaintenance.js.map +1 -0
- package/dist/packlets/types/envelope.js.map +1 -1
- package/dist/packlets/vector/inMemoryCosineIndex.js +81 -18
- package/dist/packlets/vector/inMemoryCosineIndex.js.map +1 -1
- package/dist/packlets/vector/inMemoryFragmentCosineIndex.js +7 -0
- package/dist/packlets/vector/inMemoryFragmentCosineIndex.js.map +1 -1
- package/dist/packlets/vector/vectorIndex.js.map +1 -1
- package/dist/ts-agent-memory.d.ts +431 -79
- package/lib/packlets/ingest/orchestrator.d.ts.map +1 -1
- package/lib/packlets/ingest/orchestrator.js +11 -1
- package/lib/packlets/ingest/orchestrator.js.map +1 -1
- package/lib/packlets/observe/memoryObservationStore.d.ts.map +1 -1
- package/lib/packlets/observe/memoryObservationStore.js +6 -0
- package/lib/packlets/observe/memoryObservationStore.js.map +1 -1
- package/lib/packlets/observe/observer.d.ts +61 -0
- package/lib/packlets/observe/observer.d.ts.map +1 -1
- package/lib/packlets/observe/observer.js.map +1 -1
- package/lib/packlets/retrieve/linkTraversalRetriever.d.ts +1 -1
- package/lib/packlets/retrieve/linkTraversalRetriever.js +1 -1
- package/lib/packlets/retrieve/linkTraversalRetriever.js.map +1 -1
- package/lib/packlets/retrieve/recencyRetriever.d.ts +1 -1
- package/lib/packlets/retrieve/recencyRetriever.js +1 -1
- package/lib/packlets/retrieve/recencyRetriever.js.map +1 -1
- package/lib/packlets/retrieve/retriever.d.ts +26 -7
- package/lib/packlets/retrieve/retriever.d.ts.map +1 -1
- package/lib/packlets/retrieve/retriever.js +11 -5
- package/lib/packlets/retrieve/retriever.js.map +1 -1
- package/lib/packlets/retrieve/structuredFilterRetriever.d.ts +26 -4
- package/lib/packlets/retrieve/structuredFilterRetriever.d.ts.map +1 -1
- package/lib/packlets/retrieve/structuredFilterRetriever.js +27 -5
- package/lib/packlets/retrieve/structuredFilterRetriever.js.map +1 -1
- package/lib/packlets/retrieve/tagRetriever.d.ts +1 -1
- package/lib/packlets/retrieve/tagRetriever.js +1 -1
- package/lib/packlets/retrieve/tagRetriever.js.map +1 -1
- package/lib/packlets/retrieve/temporalRetrievers.js +1 -1
- package/lib/packlets/retrieve/temporalRetrievers.js.map +1 -1
- package/lib/packlets/store/fileTreeMemoryStore.d.ts +135 -59
- package/lib/packlets/store/fileTreeMemoryStore.d.ts.map +1 -1
- package/lib/packlets/store/fileTreeMemoryStore.js +151 -131
- package/lib/packlets/store/fileTreeMemoryStore.js.map +1 -1
- package/lib/packlets/store/vectorMaintenance.d.ts +149 -0
- package/lib/packlets/store/vectorMaintenance.d.ts.map +1 -0
- package/lib/packlets/store/vectorMaintenance.js +255 -0
- package/lib/packlets/store/vectorMaintenance.js.map +1 -0
- package/lib/packlets/types/envelope.d.ts +11 -0
- package/lib/packlets/types/envelope.d.ts.map +1 -1
- package/lib/packlets/types/envelope.js.map +1 -1
- package/lib/packlets/vector/inMemoryCosineIndex.d.ts +30 -7
- package/lib/packlets/vector/inMemoryCosineIndex.d.ts.map +1 -1
- package/lib/packlets/vector/inMemoryCosineIndex.js +80 -17
- package/lib/packlets/vector/inMemoryCosineIndex.js.map +1 -1
- package/lib/packlets/vector/inMemoryFragmentCosineIndex.d.ts +7 -0
- package/lib/packlets/vector/inMemoryFragmentCosineIndex.d.ts.map +1 -1
- package/lib/packlets/vector/inMemoryFragmentCosineIndex.js +7 -0
- package/lib/packlets/vector/inMemoryFragmentCosineIndex.js.map +1 -1
- package/lib/packlets/vector/vectorIndex.d.ts +129 -1
- package/lib/packlets/vector/vectorIndex.d.ts.map +1 -1
- package/lib/packlets/vector/vectorIndex.js.map +1 -1
- package/package.json +17 -7
- package/.rush/temp/5667e36f1c0cc503a5c20a3ebff76e7b9a702d41.tar.log +0 -468
- package/.rush/temp/chunked-rush-logs/ts-agent-memory.build.chunks.jsonl +0 -9
- package/.rush/temp/operation/build/all.log +0 -9
- package/.rush/temp/operation/build/log-chunks.jsonl +0 -9
- package/.rush/temp/operation/build/state.json +0 -3
- package/.rush/temp/shrinkwrap-deps.json +0 -689
- package/config/api-extractor.json +0 -343
- package/config/jest.config.json +0 -14
- package/config/rig.json +0 -4
- package/dist/test/unit/converters/antagonistRoundTrip.test.js +0 -95
- package/dist/test/unit/converters/antagonistRoundTrip.test.js.map +0 -1
- package/dist/test/unit/converters/bodyConverterRegistry.test.js +0 -72
- package/dist/test/unit/converters/bodyConverterRegistry.test.js.map +0 -1
- package/dist/test/unit/converters/envelopeConverter.test.js +0 -313
- package/dist/test/unit/converters/envelopeConverter.test.js.map +0 -1
- package/dist/test/unit/index/memoryIndex.test.js +0 -214
- package/dist/test/unit/index/memoryIndex.test.js.map +0 -1
- package/dist/test/unit/ingest/antagonistCycleAndParity.test.js +0 -277
- package/dist/test/unit/ingest/antagonistCycleAndParity.test.js.map +0 -1
- package/dist/test/unit/ingest/cycleGuard.test.js +0 -81
- package/dist/test/unit/ingest/cycleGuard.test.js.map +0 -1
- package/dist/test/unit/ingest/dedupScope.test.js +0 -434
- package/dist/test/unit/ingest/dedupScope.test.js.map +0 -1
- package/dist/test/unit/ingest/orchestrator.test.js +0 -1058
- package/dist/test/unit/ingest/orchestrator.test.js.map +0 -1
- package/dist/test/unit/observe/memoryObservationStore.test.js +0 -118
- package/dist/test/unit/observe/memoryObservationStore.test.js.map +0 -1
- package/dist/test/unit/retrieve/fragmentSemanticRetriever.test.js +0 -116
- package/dist/test/unit/retrieve/fragmentSemanticRetriever.test.js.map +0 -1
- package/dist/test/unit/retrieve/linkTraversalRetriever.test.js +0 -257
- package/dist/test/unit/retrieve/linkTraversalRetriever.test.js.map +0 -1
- package/dist/test/unit/retrieve/retrievers.test.js +0 -768
- package/dist/test/unit/retrieve/retrievers.test.js.map +0 -1
- package/dist/test/unit/retrieve/temporalRetrievers.test.js +0 -182
- package/dist/test/unit/retrieve/temporalRetrievers.test.js.map +0 -1
- package/dist/test/unit/store/antagonistTemporalBoundary.test.js +0 -120
- package/dist/test/unit/store/antagonistTemporalBoundary.test.js.map +0 -1
- package/dist/test/unit/store/embedOnWrite.test.js +0 -317
- package/dist/test/unit/store/embedOnWrite.test.js.map +0 -1
- package/dist/test/unit/store/fileTreeMemoryStore.test.js +0 -778
- package/dist/test/unit/store/fileTreeMemoryStore.test.js.map +0 -1
- package/dist/test/unit/store/fragmentEmbedOnWrite.test.js +0 -255
- package/dist/test/unit/store/fragmentEmbedOnWrite.test.js.map +0 -1
- package/dist/test/unit/store/indexInjection.test.js +0 -432
- package/dist/test/unit/store/indexInjection.test.js.map +0 -1
- package/dist/test/unit/store/lenientOpen.test.js +0 -248
- package/dist/test/unit/store/lenientOpen.test.js.map +0 -1
- package/dist/test/unit/store/listScoped.test.js +0 -109
- package/dist/test/unit/store/listScoped.test.js.map +0 -1
- package/dist/test/unit/store/observations.test.js +0 -239
- package/dist/test/unit/store/observations.test.js.map +0 -1
- package/dist/test/unit/store/rankAxis.test.js +0 -254
- package/dist/test/unit/store/rankAxis.test.js.map +0 -1
- package/dist/test/unit/store/scopeEncoding.test.js +0 -24
- package/dist/test/unit/store/scopeEncoding.test.js.map +0 -1
- package/dist/test/unit/store/temporalStore.test.js +0 -398
- package/dist/test/unit/store/temporalStore.test.js.map +0 -1
- package/dist/test/unit/tools/memoryTools.test.js +0 -842
- package/dist/test/unit/tools/memoryTools.test.js.map +0 -1
- package/dist/test/unit/types/identityCodec.test.js +0 -187
- package/dist/test/unit/types/identityCodec.test.js.map +0 -1
- package/dist/test/unit/types/ids.test.js +0 -84
- package/dist/test/unit/types/ids.test.js.map +0 -1
- package/dist/test/unit/types/temporalCodec.test.js +0 -203
- package/dist/test/unit/types/temporalCodec.test.js.map +0 -1
- package/dist/test/unit/types/temporalPolicy.test.js +0 -83
- package/dist/test/unit/types/temporalPolicy.test.js.map +0 -1
- package/dist/test/unit/types/writePolicy.test.js +0 -331
- package/dist/test/unit/types/writePolicy.test.js.map +0 -1
- package/dist/test/unit/vector/fragmentConverters.test.js +0 -58
- package/dist/test/unit/vector/fragmentConverters.test.js.map +0 -1
- package/dist/test/unit/vector/inMemoryCosineIndex.test.js +0 -252
- package/dist/test/unit/vector/inMemoryCosineIndex.test.js.map +0 -1
- package/dist/test/unit/vector/inMemoryFragmentCosineIndex.test.js +0 -362
- package/dist/test/unit/vector/inMemoryFragmentCosineIndex.test.js.map +0 -1
- package/dist/test/unit/vector/vectorIndex.test.js +0 -51
- package/dist/test/unit/vector/vectorIndex.test.js.map +0 -1
- package/eslint.config.js +0 -15
- package/etc/ts-agent-memory.api.md +0 -940
- package/lib/test/unit/converters/antagonistRoundTrip.test.d.ts +0 -10
- package/lib/test/unit/converters/antagonistRoundTrip.test.d.ts.map +0 -1
- package/lib/test/unit/converters/antagonistRoundTrip.test.js +0 -97
- package/lib/test/unit/converters/antagonistRoundTrip.test.js.map +0 -1
- package/lib/test/unit/converters/bodyConverterRegistry.test.d.ts +0 -2
- package/lib/test/unit/converters/bodyConverterRegistry.test.d.ts.map +0 -1
- package/lib/test/unit/converters/bodyConverterRegistry.test.js +0 -74
- package/lib/test/unit/converters/bodyConverterRegistry.test.js.map +0 -1
- package/lib/test/unit/converters/envelopeConverter.test.d.ts +0 -2
- package/lib/test/unit/converters/envelopeConverter.test.d.ts.map +0 -1
- package/lib/test/unit/converters/envelopeConverter.test.js +0 -315
- package/lib/test/unit/converters/envelopeConverter.test.js.map +0 -1
- package/lib/test/unit/index/memoryIndex.test.d.ts +0 -2
- package/lib/test/unit/index/memoryIndex.test.d.ts.map +0 -1
- package/lib/test/unit/index/memoryIndex.test.js +0 -216
- package/lib/test/unit/index/memoryIndex.test.js.map +0 -1
- package/lib/test/unit/ingest/antagonistCycleAndParity.test.d.ts +0 -9
- package/lib/test/unit/ingest/antagonistCycleAndParity.test.d.ts.map +0 -1
- package/lib/test/unit/ingest/antagonistCycleAndParity.test.js +0 -279
- package/lib/test/unit/ingest/antagonistCycleAndParity.test.js.map +0 -1
- package/lib/test/unit/ingest/cycleGuard.test.d.ts +0 -2
- package/lib/test/unit/ingest/cycleGuard.test.d.ts.map +0 -1
- package/lib/test/unit/ingest/cycleGuard.test.js +0 -83
- package/lib/test/unit/ingest/cycleGuard.test.js.map +0 -1
- package/lib/test/unit/ingest/dedupScope.test.d.ts +0 -2
- package/lib/test/unit/ingest/dedupScope.test.d.ts.map +0 -1
- package/lib/test/unit/ingest/dedupScope.test.js +0 -436
- package/lib/test/unit/ingest/dedupScope.test.js.map +0 -1
- package/lib/test/unit/ingest/orchestrator.test.d.ts +0 -2
- package/lib/test/unit/ingest/orchestrator.test.d.ts.map +0 -1
- package/lib/test/unit/ingest/orchestrator.test.js +0 -1060
- package/lib/test/unit/ingest/orchestrator.test.js.map +0 -1
- package/lib/test/unit/observe/memoryObservationStore.test.d.ts +0 -2
- package/lib/test/unit/observe/memoryObservationStore.test.d.ts.map +0 -1
- package/lib/test/unit/observe/memoryObservationStore.test.js +0 -120
- package/lib/test/unit/observe/memoryObservationStore.test.js.map +0 -1
- package/lib/test/unit/retrieve/fragmentSemanticRetriever.test.d.ts +0 -2
- package/lib/test/unit/retrieve/fragmentSemanticRetriever.test.d.ts.map +0 -1
- package/lib/test/unit/retrieve/fragmentSemanticRetriever.test.js +0 -118
- package/lib/test/unit/retrieve/fragmentSemanticRetriever.test.js.map +0 -1
- package/lib/test/unit/retrieve/linkTraversalRetriever.test.d.ts +0 -2
- package/lib/test/unit/retrieve/linkTraversalRetriever.test.d.ts.map +0 -1
- package/lib/test/unit/retrieve/linkTraversalRetriever.test.js +0 -259
- package/lib/test/unit/retrieve/linkTraversalRetriever.test.js.map +0 -1
- package/lib/test/unit/retrieve/retrievers.test.d.ts +0 -2
- package/lib/test/unit/retrieve/retrievers.test.d.ts.map +0 -1
- package/lib/test/unit/retrieve/retrievers.test.js +0 -770
- package/lib/test/unit/retrieve/retrievers.test.js.map +0 -1
- package/lib/test/unit/retrieve/temporalRetrievers.test.d.ts +0 -2
- package/lib/test/unit/retrieve/temporalRetrievers.test.d.ts.map +0 -1
- package/lib/test/unit/retrieve/temporalRetrievers.test.js +0 -184
- package/lib/test/unit/retrieve/temporalRetrievers.test.js.map +0 -1
- package/lib/test/unit/store/antagonistTemporalBoundary.test.d.ts +0 -9
- package/lib/test/unit/store/antagonistTemporalBoundary.test.d.ts.map +0 -1
- package/lib/test/unit/store/antagonistTemporalBoundary.test.js +0 -122
- package/lib/test/unit/store/antagonistTemporalBoundary.test.js.map +0 -1
- package/lib/test/unit/store/embedOnWrite.test.d.ts +0 -2
- package/lib/test/unit/store/embedOnWrite.test.d.ts.map +0 -1
- package/lib/test/unit/store/embedOnWrite.test.js +0 -319
- package/lib/test/unit/store/embedOnWrite.test.js.map +0 -1
- package/lib/test/unit/store/fileTreeMemoryStore.test.d.ts +0 -2
- package/lib/test/unit/store/fileTreeMemoryStore.test.d.ts.map +0 -1
- package/lib/test/unit/store/fileTreeMemoryStore.test.js +0 -780
- package/lib/test/unit/store/fileTreeMemoryStore.test.js.map +0 -1
- package/lib/test/unit/store/fragmentEmbedOnWrite.test.d.ts +0 -2
- package/lib/test/unit/store/fragmentEmbedOnWrite.test.d.ts.map +0 -1
- package/lib/test/unit/store/fragmentEmbedOnWrite.test.js +0 -257
- package/lib/test/unit/store/fragmentEmbedOnWrite.test.js.map +0 -1
- package/lib/test/unit/store/indexInjection.test.d.ts +0 -2
- package/lib/test/unit/store/indexInjection.test.d.ts.map +0 -1
- package/lib/test/unit/store/indexInjection.test.js +0 -434
- package/lib/test/unit/store/indexInjection.test.js.map +0 -1
- package/lib/test/unit/store/lenientOpen.test.d.ts +0 -2
- package/lib/test/unit/store/lenientOpen.test.d.ts.map +0 -1
- package/lib/test/unit/store/lenientOpen.test.js +0 -250
- package/lib/test/unit/store/lenientOpen.test.js.map +0 -1
- package/lib/test/unit/store/listScoped.test.d.ts +0 -2
- package/lib/test/unit/store/listScoped.test.d.ts.map +0 -1
- package/lib/test/unit/store/listScoped.test.js +0 -111
- package/lib/test/unit/store/listScoped.test.js.map +0 -1
- package/lib/test/unit/store/observations.test.d.ts +0 -2
- package/lib/test/unit/store/observations.test.d.ts.map +0 -1
- package/lib/test/unit/store/observations.test.js +0 -241
- package/lib/test/unit/store/observations.test.js.map +0 -1
- package/lib/test/unit/store/rankAxis.test.d.ts +0 -2
- package/lib/test/unit/store/rankAxis.test.d.ts.map +0 -1
- package/lib/test/unit/store/rankAxis.test.js +0 -256
- package/lib/test/unit/store/rankAxis.test.js.map +0 -1
- package/lib/test/unit/store/scopeEncoding.test.d.ts +0 -2
- package/lib/test/unit/store/scopeEncoding.test.d.ts.map +0 -1
- package/lib/test/unit/store/scopeEncoding.test.js +0 -26
- package/lib/test/unit/store/scopeEncoding.test.js.map +0 -1
- package/lib/test/unit/store/temporalStore.test.d.ts +0 -2
- package/lib/test/unit/store/temporalStore.test.d.ts.map +0 -1
- package/lib/test/unit/store/temporalStore.test.js +0 -400
- package/lib/test/unit/store/temporalStore.test.js.map +0 -1
- package/lib/test/unit/tools/memoryTools.test.d.ts +0 -2
- package/lib/test/unit/tools/memoryTools.test.d.ts.map +0 -1
- package/lib/test/unit/tools/memoryTools.test.js +0 -844
- package/lib/test/unit/tools/memoryTools.test.js.map +0 -1
- package/lib/test/unit/types/identityCodec.test.d.ts +0 -2
- package/lib/test/unit/types/identityCodec.test.d.ts.map +0 -1
- package/lib/test/unit/types/identityCodec.test.js +0 -189
- package/lib/test/unit/types/identityCodec.test.js.map +0 -1
- package/lib/test/unit/types/ids.test.d.ts +0 -2
- package/lib/test/unit/types/ids.test.d.ts.map +0 -1
- package/lib/test/unit/types/ids.test.js +0 -86
- package/lib/test/unit/types/ids.test.js.map +0 -1
- package/lib/test/unit/types/temporalCodec.test.d.ts +0 -2
- package/lib/test/unit/types/temporalCodec.test.d.ts.map +0 -1
- package/lib/test/unit/types/temporalCodec.test.js +0 -205
- package/lib/test/unit/types/temporalCodec.test.js.map +0 -1
- package/lib/test/unit/types/temporalPolicy.test.d.ts +0 -2
- package/lib/test/unit/types/temporalPolicy.test.d.ts.map +0 -1
- package/lib/test/unit/types/temporalPolicy.test.js +0 -85
- package/lib/test/unit/types/temporalPolicy.test.js.map +0 -1
- package/lib/test/unit/types/writePolicy.test.d.ts +0 -2
- package/lib/test/unit/types/writePolicy.test.d.ts.map +0 -1
- package/lib/test/unit/types/writePolicy.test.js +0 -333
- package/lib/test/unit/types/writePolicy.test.js.map +0 -1
- package/lib/test/unit/vector/fragmentConverters.test.d.ts +0 -2
- package/lib/test/unit/vector/fragmentConverters.test.d.ts.map +0 -1
- package/lib/test/unit/vector/fragmentConverters.test.js +0 -60
- package/lib/test/unit/vector/fragmentConverters.test.js.map +0 -1
- package/lib/test/unit/vector/inMemoryCosineIndex.test.d.ts +0 -2
- package/lib/test/unit/vector/inMemoryCosineIndex.test.d.ts.map +0 -1
- package/lib/test/unit/vector/inMemoryCosineIndex.test.js +0 -254
- package/lib/test/unit/vector/inMemoryCosineIndex.test.js.map +0 -1
- package/lib/test/unit/vector/inMemoryFragmentCosineIndex.test.d.ts +0 -2
- package/lib/test/unit/vector/inMemoryFragmentCosineIndex.test.d.ts.map +0 -1
- package/lib/test/unit/vector/inMemoryFragmentCosineIndex.test.js +0 -364
- package/lib/test/unit/vector/inMemoryFragmentCosineIndex.test.js.map +0 -1
- package/lib/test/unit/vector/vectorIndex.test.d.ts +0 -2
- package/lib/test/unit/vector/vectorIndex.test.d.ts.map +0 -1
- package/lib/test/unit/vector/vectorIndex.test.js +0 -53
- package/lib/test/unit/vector/vectorIndex.test.js.map +0 -1
- package/rush-logs/ts-agent-memory.build.cache.log +0 -3
- package/rush-logs/ts-agent-memory.build.log +0 -9
- package/src/index.ts +0 -14
- package/src/packlets/converters/bodyConverterRegistry.ts +0 -105
- package/src/packlets/converters/envelopeConverter.ts +0 -233
- package/src/packlets/converters/index.ts +0 -7
- package/src/packlets/index/index.ts +0 -6
- package/src/packlets/index/memoryIndex.ts +0 -332
- package/src/packlets/ingest/cycleGuard.ts +0 -153
- package/src/packlets/ingest/hostStages.ts +0 -111
- package/src/packlets/ingest/index.ts +0 -9
- package/src/packlets/ingest/model.ts +0 -195
- package/src/packlets/ingest/orchestrator.ts +0 -968
- package/src/packlets/observe/index.ts +0 -7
- package/src/packlets/observe/memoryObservationStore.ts +0 -153
- package/src/packlets/observe/observer.ts +0 -119
- package/src/packlets/retrieve/fragmentSemanticRetriever.ts +0 -138
- package/src/packlets/retrieve/hybridRetriever.ts +0 -194
- package/src/packlets/retrieve/index.ts +0 -14
- package/src/packlets/retrieve/linkTraversalRetriever.ts +0 -158
- package/src/packlets/retrieve/recencyRetriever.ts +0 -54
- package/src/packlets/retrieve/retriever.ts +0 -291
- package/src/packlets/retrieve/semanticRetriever.ts +0 -152
- package/src/packlets/retrieve/structuredFilterRetriever.ts +0 -58
- package/src/packlets/retrieve/tagRetriever.ts +0 -58
- package/src/packlets/retrieve/temporalRetrievers.ts +0 -210
- package/src/packlets/store/fileTreeMemoryStore.ts +0 -1872
- package/src/packlets/store/index.ts +0 -7
- package/src/packlets/store/scopeEncoding.ts +0 -36
- package/src/packlets/tools/index.ts +0 -6
- package/src/packlets/tools/memoryTools.ts +0 -706
- package/src/packlets/types/envelope.ts +0 -196
- package/src/packlets/types/filenameSafety.ts +0 -57
- package/src/packlets/types/identityCodec.ts +0 -447
- package/src/packlets/types/ids.ts +0 -124
- package/src/packlets/types/index.ts +0 -11
- package/src/packlets/types/temporal.ts +0 -96
- package/src/packlets/types/writePolicy.ts +0 -612
- package/src/packlets/vector/fragmentConverters.ts +0 -55
- package/src/packlets/vector/inMemoryCosineIndex.ts +0 -196
- package/src/packlets/vector/inMemoryFragmentCosineIndex.ts +0 -289
- package/src/packlets/vector/index.ts +0 -9
- package/src/packlets/vector/vectorIndex.ts +0 -273
- package/src/test/unit/converters/antagonistRoundTrip.test.ts +0 -110
- package/src/test/unit/converters/bodyConverterRegistry.test.ts +0 -89
- package/src/test/unit/converters/envelopeConverter.test.ts +0 -418
- package/src/test/unit/index/memoryIndex.test.ts +0 -272
- package/src/test/unit/ingest/antagonistCycleAndParity.test.ts +0 -367
- package/src/test/unit/ingest/cycleGuard.test.ts +0 -110
- package/src/test/unit/ingest/dedupScope.test.ts +0 -542
- package/src/test/unit/ingest/orchestrator.test.ts +0 -1355
- package/src/test/unit/observe/memoryObservationStore.test.ts +0 -158
- package/src/test/unit/retrieve/fragmentSemanticRetriever.test.ts +0 -163
- package/src/test/unit/retrieve/linkTraversalRetriever.test.ts +0 -329
- package/src/test/unit/retrieve/retrievers.test.ts +0 -1018
- package/src/test/unit/retrieve/temporalRetrievers.test.ts +0 -226
- package/src/test/unit/store/antagonistTemporalBoundary.test.ts +0 -158
- package/src/test/unit/store/embedOnWrite.test.ts +0 -418
- package/src/test/unit/store/fileTreeMemoryStore.test.ts +0 -1041
- package/src/test/unit/store/fragmentEmbedOnWrite.test.ts +0 -349
- package/src/test/unit/store/indexInjection.test.ts +0 -550
- package/src/test/unit/store/lenientOpen.test.ts +0 -292
- package/src/test/unit/store/listScoped.test.ts +0 -138
- package/src/test/unit/store/observations.test.ts +0 -290
- package/src/test/unit/store/rankAxis.test.ts +0 -349
- package/src/test/unit/store/scopeEncoding.test.ts +0 -37
- package/src/test/unit/store/temporalStore.test.ts +0 -469
- package/src/test/unit/tools/memoryTools.test.ts +0 -1121
- package/src/test/unit/types/identityCodec.test.ts +0 -266
- package/src/test/unit/types/ids.test.ts +0 -94
- package/src/test/unit/types/temporalCodec.test.ts +0 -259
- package/src/test/unit/types/temporalPolicy.test.ts +0 -124
- package/src/test/unit/types/writePolicy.test.ts +0 -446
- package/src/test/unit/vector/fragmentConverters.test.ts +0 -80
- package/src/test/unit/vector/inMemoryCosineIndex.test.ts +0 -318
- package/src/test/unit/vector/inMemoryFragmentCosineIndex.test.ts +0 -477
- package/src/test/unit/vector/vectorIndex.test.ts +0 -64
- package/temp/build/lint/_eslint-5eVG3S6w.json +0 -306
- package/temp/build/typescript/ts_8nwakTlr.json +0 -1
- package/temp/ts-agent-memory.api.json +0 -21030
- package/temp/ts-agent-memory.api.md +0 -940
- package/tsconfig.json +0 -8
|
@@ -87,8 +87,16 @@ export interface IMemoryStore {
|
|
|
87
87
|
/**
|
|
88
88
|
* Adapt this store to the {@link IMemoryRecordSource} seam so it can drive
|
|
89
89
|
* {@link IVectorIndex} rebuilds (e.g. `InMemoryCosineIndex.rebuild`). The
|
|
90
|
-
* returned source's `list()` delegates to {@link IMemoryStore.listScoped}
|
|
91
|
-
*
|
|
90
|
+
* returned source's `list()` delegates to {@link IMemoryStore.listScoped},
|
|
91
|
+
* **filtered to the kinds {@link IMemoryStore.embedsKind | embedsKind} reports** —
|
|
92
|
+
* this source exists to feed the record vector index, so a kind excluded from
|
|
93
|
+
* that index is excluded here too, and a reopen does not re-embed records the
|
|
94
|
+
* index will never return. With no
|
|
95
|
+
* {@link IFileTreeMemoryStoreCreateParams.embedKinds | embedKinds} declaration
|
|
96
|
+
* every kind participates and the filter is the identity. `listScoped` itself is
|
|
97
|
+
* **not** filtered and remains the whole-vault surface.
|
|
98
|
+
*
|
|
99
|
+
* The store cannot implement {@link IMemoryRecordSource} directly because its
|
|
92
100
|
* `list(filter?)` returns bare records (the ergonomic query surface) while the
|
|
93
101
|
* seam's `list()` returns scope-qualified records.
|
|
94
102
|
*/
|
|
@@ -121,6 +129,25 @@ export interface IMemoryStore {
|
|
|
121
129
|
* invoking admission or merge logic out of band.
|
|
122
130
|
*/
|
|
123
131
|
dedupScopeFor(kind: Kind): DedupScope;
|
|
132
|
+
/**
|
|
133
|
+
* Whether records of `kind` participate in the **record-granular** vector index.
|
|
134
|
+
*
|
|
135
|
+
* @remarks
|
|
136
|
+
* A read accessor over the store's injected {@link IFileTreeMemoryStoreCreateParams.embedKinds | embedKinds}
|
|
137
|
+
* declaration, in the same spirit as {@link IMemoryStore.dedupScopeFor} — one
|
|
138
|
+
* place to ask, so the store's write path and any caller reasoning about index
|
|
139
|
+
* coverage cannot disagree. `true` for every kind when no declaration was made.
|
|
140
|
+
*
|
|
141
|
+
* **This is distinct from a {@link MemoryEmbedder} decline, and the difference is
|
|
142
|
+
* cost.** An embedder that returns `undefined` has already been called: the
|
|
143
|
+
* round trip is paid, and on a locally-hosted model that round trip is the
|
|
144
|
+
* expense. A kind excluded here is never handed to the embedder at all. The
|
|
145
|
+
* decline makes the intent *expressible*; this makes it *free*.
|
|
146
|
+
*
|
|
147
|
+
* Deliberately synchronous, total, and NOT `Result`-returning: it reads
|
|
148
|
+
* constructor-injected configuration, touches no I/O, and cannot fail.
|
|
149
|
+
*/
|
|
150
|
+
embedsKind(kind: Kind): boolean;
|
|
124
151
|
/**
|
|
125
152
|
* Write a record. Validates the body, computes a content hash, deduplicates
|
|
126
153
|
* (scope-wide, before policy), applies the kind's {@link IWritePolicy}, stamps
|
|
@@ -129,6 +156,36 @@ export interface IMemoryStore {
|
|
|
129
156
|
* existing record unchanged on a dedup no-op.
|
|
130
157
|
*/
|
|
131
158
|
put(record: IMemoryRecord<unknown>): Promise<Result<IMemoryRecord<unknown>>>;
|
|
159
|
+
/**
|
|
160
|
+
* Re-apply the kind's {@link RankProjector} to every record of `kind` already
|
|
161
|
+
* in the store, restamping {@link IMemoryEnvelope.rank}. Returns the number of
|
|
162
|
+
* records whose `rank` actually changed.
|
|
163
|
+
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* **This exists because `rank` is otherwise new-store-only, and fails in a way
|
|
166
|
+
* that looks like it works.** The projector runs on the write path only, so
|
|
167
|
+
* registering one against a populated store ranks nothing already written —
|
|
168
|
+
* and because an absent `rank` sorts *last*, every pre-registration record
|
|
169
|
+
* lands below every post-registration one no matter what the projector would
|
|
170
|
+
* have scored it. The ordering is not merely partial; it is **inverted with
|
|
171
|
+
* respect to the projector's own intent**, with no failure anywhere to say so.
|
|
172
|
+
*
|
|
173
|
+
* Deliberately **does not** touch `created` / `updated` / `seq`, and fires no
|
|
174
|
+
* `'write'` observation. Routing a reconcile through {@link IMemoryStore.put}
|
|
175
|
+
* would bump transaction time on every record — trading a wrong `rank` order
|
|
176
|
+
* for a wrong recency order, and flooding any wired observer with writes that
|
|
177
|
+
* are not writes. The body is re-serialized verbatim from the file's own
|
|
178
|
+
* bytes; only the envelope's `rank` moves.
|
|
179
|
+
*
|
|
180
|
+
* Fails loudly if `kind` has no registered projector: asking to reconcile a
|
|
181
|
+
* kind you never configured is a caller error, not a no-op.
|
|
182
|
+
*
|
|
183
|
+
* **Not atomic, and safe for it.** A failure part-way leaves earlier records
|
|
184
|
+
* restamped. That is benign because restamping is idempotent — re-running
|
|
185
|
+
* converges — which is also why no report shape is offered here. A count is
|
|
186
|
+
* enough.
|
|
187
|
+
*/
|
|
188
|
+
reconcileRank(kind: Kind): Promise<Result<number>>;
|
|
132
189
|
/**
|
|
133
190
|
* Delete a record by `(kind, entityId)`. Non-temporal kinds physically delete
|
|
134
191
|
* the file and return the deleted record's {@link MemoryId}. Temporal
|
|
@@ -164,6 +221,37 @@ export interface IFileTreeMemoryStoreCreateParams {
|
|
|
164
221
|
* guard-host-callbacks conventions).
|
|
165
222
|
*/
|
|
166
223
|
readonly rankProjectors?: ReadonlyMap<Kind, RankProjector>;
|
|
224
|
+
/**
|
|
225
|
+
* The kinds whose records participate in the **record-granular** vector index.
|
|
226
|
+
*
|
|
227
|
+
* @remarks
|
|
228
|
+
* **Absent means every kind participates**, which is the pre-existing behavior —
|
|
229
|
+
* so omitting this is byte-identical to before it existed. Supplying it makes the
|
|
230
|
+
* set an allowlist: a kind outside it is never handed to the {@link MemoryEmbedder}
|
|
231
|
+
* on write, and is omitted from {@link IMemoryStore.asRecordSource | asRecordSource},
|
|
232
|
+
* so a rebuild driven from this store does not pay for it either.
|
|
233
|
+
*
|
|
234
|
+
* Two costs motivate it, and the second is the one that is easy to miss:
|
|
235
|
+
*
|
|
236
|
+
* - **Embedder work on the critical path.** Embed-on-write is synchronous with
|
|
237
|
+
* the write. A bookkeeping row — a status, a counter, a lease — that no query
|
|
238
|
+
* will ever return still pays a full embedding round trip, and on a
|
|
239
|
+
* locally-hosted model the first call after a restart pays a cold model load
|
|
240
|
+
* on top.
|
|
241
|
+
* - **Un-queried kinds crowd the `topK` window.** `IVectorIndex.query` applies
|
|
242
|
+
* `topK` *before* any kind filter the retriever adds, so vectors that can never
|
|
243
|
+
* be returned still occupy candidate slots. Over-fetching to compensate hides
|
|
244
|
+
* this until the un-queried kinds start scoring well — at which point recall is
|
|
245
|
+
* silently lost. Restricting what is indexed fixes the recall problem, not just
|
|
246
|
+
* the cost.
|
|
247
|
+
*
|
|
248
|
+
* Applies to the record-granular path only. The fragment path
|
|
249
|
+
* ({@link IFileTreeMemoryStoreCreateParams.fragmentIndex | fragmentIndex} /
|
|
250
|
+
* `fragmentEmbedder`) is independent and unaffected — a kind may legitimately be
|
|
251
|
+
* fragment-embedded and not record-embedded, which is the right shape for a long
|
|
252
|
+
* document whose whole body exceeds the model's context.
|
|
253
|
+
*/
|
|
254
|
+
readonly embedKinds?: ReadonlySet<Kind>;
|
|
167
255
|
/** Default codec for kinds without an explicit entry. */
|
|
168
256
|
readonly defaultCodec?: IIdentityCodec;
|
|
169
257
|
/**
|
|
@@ -318,6 +406,8 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
318
406
|
private readonly _writePolicies;
|
|
319
407
|
private readonly _codecs;
|
|
320
408
|
private readonly _rankProjectors;
|
|
409
|
+
/** `undefined` = no declaration = every kind participates. */
|
|
410
|
+
private readonly _embedKinds;
|
|
321
411
|
private readonly _defaultCodec;
|
|
322
412
|
private readonly _defaultPolicy;
|
|
323
413
|
private readonly _scopeEncoding;
|
|
@@ -325,11 +415,9 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
325
415
|
private readonly _index;
|
|
326
416
|
private readonly _hasher;
|
|
327
417
|
private readonly _observers;
|
|
418
|
+
/** Record- and fragment-vector maintenance; every operation is best-effort. */
|
|
419
|
+
private readonly _vectors;
|
|
328
420
|
private readonly _logger;
|
|
329
|
-
private readonly _vectorIndex;
|
|
330
|
-
private readonly _embed;
|
|
331
|
-
private readonly _fragmentIndex;
|
|
332
|
-
private readonly _fragmentEmbedder;
|
|
333
421
|
/**
|
|
334
422
|
* Records the initial walk could not load. Populated during `create()` in
|
|
335
423
|
* {@link MemoryRecordErrorMode | `'skip'` mode}; empty otherwise.
|
|
@@ -396,6 +484,8 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
396
484
|
* contributes nothing.
|
|
397
485
|
*/
|
|
398
486
|
private static _projectAsOf;
|
|
487
|
+
/** {@inheritDoc IMemoryStore.reconcileRank} */
|
|
488
|
+
reconcileRank(kind: Kind): Promise<Result<number>>;
|
|
399
489
|
/** {@inheritDoc IMemoryStore.put} */
|
|
400
490
|
put(record: IMemoryRecord<unknown>): Promise<Result<IMemoryRecord<unknown>>>;
|
|
401
491
|
/** {@inheritDoc IMemoryStore.delete} */
|
|
@@ -446,39 +536,6 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
446
536
|
* later eviction failure never loses data with nothing written in its place.
|
|
447
537
|
*/
|
|
448
538
|
private _admitWrite;
|
|
449
|
-
/**
|
|
450
|
-
* Best-effort embed-on-write. When a vector index AND an embedder are wired,
|
|
451
|
-
* embeds the built record, `add`s the vector (replace semantics handle a same-id
|
|
452
|
-
* re-embed — no explicit remove), and stamps the returned `embeddingRef`. A
|
|
453
|
-
* failure (returned `fail` OR a thrown/rejected hook) is logged and the
|
|
454
|
-
* unembedded record is returned unchanged — the put still persists, and the
|
|
455
|
-
* derived index is reconciled by a later `rebuild`. A pass-through no-op when
|
|
456
|
-
* unwired (byte-identical record).
|
|
457
|
-
*
|
|
458
|
-
* Always succeeds (`Result` is the chain's shape, never a vector-induced
|
|
459
|
-
* failure).
|
|
460
|
-
*/
|
|
461
|
-
private _embedOnWrite;
|
|
462
|
-
/**
|
|
463
|
-
* Best-effort fragment-embed-on-write. When a fragment index AND a fragment
|
|
464
|
-
* embedder are wired, chunks + embeds the built record and replaces its
|
|
465
|
-
* fragments in the index (`addFragments` is whole-record-replace, so a re-authored
|
|
466
|
-
* document never leaves stale fragments behind — no explicit remove needed). A
|
|
467
|
-
* failure (returned `fail` OR a thrown/rejected hook) is logged and the record is
|
|
468
|
-
* returned unchanged — the put still persists, and the fragment index is a derived
|
|
469
|
-
* view a later `rebuild` reconciles. Unlike {@link FileTreeMemoryStore._embedOnWrite}
|
|
470
|
-
* it stamps nothing on the record (fragments have no per-record `embeddingRef`
|
|
471
|
-
* analog). A pass-through no-op when unwired (byte-identical record).
|
|
472
|
-
*/
|
|
473
|
-
private _embedFragmentsOnWrite;
|
|
474
|
-
/**
|
|
475
|
-
* Best-effort fragment removal. A no-op unless the full fragment lifecycle is
|
|
476
|
-
* wired (both an index AND an embedder), so an unwired store does no fragment
|
|
477
|
-
* work and behaves byte-identically. Failures are logged, never surfaced — a
|
|
478
|
-
* committed delete/eviction must not fail because a derived fragment index could
|
|
479
|
-
* not be pruned.
|
|
480
|
-
*/
|
|
481
|
-
private _removeFragmentsBestEffort;
|
|
482
539
|
/**
|
|
483
540
|
* Evict the records named by a `cull-oldest` decision, best-effort. Runs only
|
|
484
541
|
* after the authoritative `_persist`, so a failed eviction is logged (never
|
|
@@ -487,26 +544,6 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
487
544
|
* `accept` / `reject` decisions evict nothing.
|
|
488
545
|
*/
|
|
489
546
|
private _applyEvictions;
|
|
490
|
-
/**
|
|
491
|
-
* Best-effort vector removal for each evicted record (never fails the put).
|
|
492
|
-
* Every evicted record is in the same `scope` as the incoming write (the
|
|
493
|
-
* cull-oldest cohort is the incoming record's `(scope, kind)` cohort), so that
|
|
494
|
-
* scope qualifies each removal target.
|
|
495
|
-
*/
|
|
496
|
-
private _removeEvictedVectors;
|
|
497
|
-
/**
|
|
498
|
-
* Run a consumer-supplied vector hook, normalizing a thrown/rejected hook into a
|
|
499
|
-
* `Failure` and logging any failure at `warn`. Best-effort: the caller proceeds
|
|
500
|
-
* regardless, since the index is rebuildable.
|
|
501
|
-
*/
|
|
502
|
-
private _tryVectorOp;
|
|
503
|
-
/**
|
|
504
|
-
* Best-effort vector removal. A no-op unless the full vector lifecycle is wired
|
|
505
|
-
* (both an index AND an embedder), so an unwired store does no vector work and
|
|
506
|
-
* behaves byte-identically. Failures are logged, never surfaced — a committed
|
|
507
|
-
* delete/eviction must not fail because a derived index could not be pruned.
|
|
508
|
-
*/
|
|
509
|
-
private _removeVectorBestEffort;
|
|
510
547
|
/**
|
|
511
548
|
* Build the record to persist. On a first write the incoming envelope is the
|
|
512
549
|
* base (final content equals the incoming content, so the dedup `hash` is
|
|
@@ -623,6 +660,43 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
623
660
|
*/
|
|
624
661
|
private _isMutableMetadataUnchanged;
|
|
625
662
|
private _contentHash;
|
|
663
|
+
/**
|
|
664
|
+
* The locked body of {@link FileTreeMemoryStore.reconcileRank}.
|
|
665
|
+
*
|
|
666
|
+
* @remarks
|
|
667
|
+
* Re-reads each record's file rather than trusting the in-memory index, for
|
|
668
|
+
* two reasons: the index holds converted bodies on some paths and raw ones on
|
|
669
|
+
* others, and re-serializing a *converted* body could change the bytes on disk
|
|
670
|
+
* — a reconcile of an ordering field has no business rewriting content.
|
|
671
|
+
* `splitFrontmatter` hands back the body text unconverted, so the round trip
|
|
672
|
+
* carries the authored characters through untouched and only the envelope
|
|
673
|
+
* moves. The parsed record is additionally put through `_verifyLoaded`, the
|
|
674
|
+
* same id-vs-filename and scope-derived-entityId check the load paths apply —
|
|
675
|
+
* without it, reconcile would be the one path that accepts and rewrites a file
|
|
676
|
+
* the store would refuse to load.
|
|
677
|
+
*
|
|
678
|
+
* "Untouched" is not quite "byte-identical", and the exception is line
|
|
679
|
+
* endings: `splitFrontmatter` strips a trailing `\r` per line and
|
|
680
|
+
* `joinFrontmatter` writes `\n` delimiters, so a CRLF-authored file comes back
|
|
681
|
+
* LF-normalized. That is **the store's behavior on every write path, not
|
|
682
|
+
* something reconcile introduces** — an ordinary `put` normalizes the same way
|
|
683
|
+
* — so reconcile does not rewrite content that a subsequent write would have
|
|
684
|
+
* left alone. The property being claimed here is the narrower and load-bearing
|
|
685
|
+
* one: no body is round-tripped through its registered Converter.
|
|
686
|
+
*
|
|
687
|
+
* The projector is fed an `IMemoryRecord<string>` carrying that raw body,
|
|
688
|
+
* which is exactly the shape {@link FileTreeMemoryStore._stampRank} hands it
|
|
689
|
+
* on the write path — so a projector cannot see one thing on a write and
|
|
690
|
+
* another on a reconcile. `_stampRank` itself is reused verbatim, which also
|
|
691
|
+
* inherits its throw semantics (logged at `warn`, `rank` cleared).
|
|
692
|
+
*/
|
|
693
|
+
private _reconcileRankLocked;
|
|
694
|
+
/**
|
|
695
|
+
* Re-apply the rank projector to one record on disk. Returns whether `rank`
|
|
696
|
+
* actually changed — an unchanged rank writes nothing, so a reconcile over an
|
|
697
|
+
* already-consistent store touches no files.
|
|
698
|
+
*/
|
|
699
|
+
private _restampOne;
|
|
626
700
|
/**
|
|
627
701
|
* Stamp the store-computed {@link IMemoryEnvelope.rank} onto a fully-built,
|
|
628
702
|
* fully-stamped record by running the kind's registered {@link RankProjector}.
|
|
@@ -640,6 +714,8 @@ export declare class FileTreeMemoryStore implements IMemoryStore {
|
|
|
640
714
|
private _policyFor;
|
|
641
715
|
/** {@inheritDoc IMemoryStore.dedupScopeFor} */
|
|
642
716
|
dedupScopeFor(kind: Kind): DedupScope;
|
|
717
|
+
/** {@inheritDoc IMemoryStore.embedsKind} */
|
|
718
|
+
embedsKind(kind: Kind): boolean;
|
|
643
719
|
/**
|
|
644
720
|
* Read and validate the record at `<scope>/<idStem>.md`, returning `undefined`
|
|
645
721
|
* when the scope directory or file is absent. Verifies the on-disk id ↔
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileTreeMemoryStore.d.ts","sourceRoot":"","sources":["../../../src/packlets/store/fileTreeMemoryStore.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,OAAO,EAAE,MAAM,EAAyC,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAGL,UAAU,EACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"fileTreeMemoryStore.d.ts","sourceRoot":"","sources":["../../../src/packlets/store/fileTreeMemoryStore.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,OAAO,EAAE,MAAM,EAAyC,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAGL,UAAU,EACV,QAAQ,EACR,cAAc,EAEd,aAAa,EAGb,YAAY,EACZ,IAAI,EAEJ,QAAQ,EACR,cAAc,EACd,aAAa,EACb,GAAG,EAMJ,MAAM,UA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