@remnic/core 9.3.750 → 9.3.751

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Orchestrator
3
- } from "./chunk-CKLCFBA3.js";
3
+ } from "./chunk-RWZB6MAY.js";
4
4
  import "./chunk-EHYB325U.js";
5
5
  import "./chunk-5QANTTY2.js";
6
6
  import "./chunk-4NWIGAIC.js";
@@ -14976,6 +14976,25 @@ var NamespaceReadFanoutCoordinator = class {
14976
14976
  }
14977
14977
  };
14978
14978
 
14979
+ // src/orchestration/self-deps.ts
14980
+ function selfDeps(self) {
14981
+ const source = self;
14982
+ return new Proxy(/* @__PURE__ */ Object.create(null), {
14983
+ get(_target, prop) {
14984
+ const value = source[prop];
14985
+ return typeof value === "function" ? value.bind(self) : value;
14986
+ },
14987
+ set(_target, prop, value) {
14988
+ if (!(prop in source)) return false;
14989
+ source[prop] = value;
14990
+ return true;
14991
+ },
14992
+ has(_target, prop) {
14993
+ return prop in source;
14994
+ }
14995
+ });
14996
+ }
14997
+
14979
14998
  // src/orchestrator.ts
14980
14999
  var Orchestrator = class {
14981
15000
  storage;
@@ -16703,125 +16722,9 @@ ${doc.content}` : doc.content,
16703
16722
  _recallInternalCoordinator;
16704
16723
  get recallInternalCoordinator() {
16705
16724
  if (!this._recallInternalCoordinator) {
16706
- const self = this;
16707
- this._recallInternalCoordinator = new RecallInternalCoordinator({
16708
- get _recallWorkspaceOverrides() {
16709
- return self._recallWorkspaceOverrides;
16710
- },
16711
- appendRecallSection: (sectionBuckets, sectionId, content) => self.appendRecallSection(sectionBuckets, sectionId, content),
16712
- applyColdFallbackPipeline: (options) => self.applyColdFallbackPipeline(options),
16713
- applyTrustScoreToBranch: (results, namespaces, caps, label) => self.applyTrustScoreToBranch(results, namespaces, caps, label),
16714
- assembleRecallSections: (sectionBuckets, budgetOverride) => self.assembleRecallSections(sectionBuckets, budgetOverride),
16715
- boostSearchResults: (results, _recallNamespaces, prompt, preloadedMemoryMap, options) => self.boostSearchResults(results, _recallNamespaces, prompt, preloadedMemoryMap, options),
16716
- boxBuilderFor: (storage) => self.boxBuilderFor(storage),
16717
- buildCompressionGuidelineRecallSection: () => self.buildCompressionGuidelineRecallSection(),
16718
- buildConfiguredQmdSearchOptions: (queryText) => self.buildConfiguredQmdSearchOptions(queryText),
16719
- buildGraphRecallRankedResults: (results, sourceLabelResolver, limit) => self.buildGraphRecallRankedResults(results, sourceLabelResolver, limit),
16720
- buildIdentityContinuitySection: (options) => self.buildIdentityContinuitySection(options),
16721
- buildLastRecallBudgetSummary: (options) => self.buildLastRecallBudgetSummary(options),
16722
- buildQueryAwarePrefilter: (prompt, recallNamespaces) => self.buildQueryAwarePrefilter(prompt, recallNamespaces),
16723
- collectLastRecallSources: (sectionBuckets, recallSource) => self.collectLastRecallSources(sectionBuckets, recallSource),
16724
- get compounding() {
16725
- return self.compounding;
16726
- },
16727
- get config() {
16728
- return self.config;
16729
- },
16730
- currentPolicyVersion: () => self.currentPolicyVersion(),
16731
- diversifyAndLimitRecallResults: (sectionId, results, limit, retrievalQuery, caps) => self.diversifyAndLimitRecallResults(sectionId, results, limit, retrievalQuery, caps),
16732
- effectiveCronRecallInstructionHeavyTokenCap: () => self.effectiveCronRecallInstructionHeavyTokenCap(),
16733
- emitTrace: (event) => self.emitTrace(event),
16734
- expandResultsViaGraph: (options) => self.expandResultsViaGraph(options),
16735
- extractMemoryIdsFromResults: (results) => self.extractMemoryIdsFromResults(results),
16736
- get fastLlmForRerank() {
16737
- return self.fastLlmForRerank;
16738
- },
16739
- fetchQmdMemoryResultsWithArtifactTopUp: (prompt, qmdFetchLimit, qmdHybridFetchLimit, options) => self.fetchQmdMemoryResultsWithArtifactTopUp(prompt, qmdFetchLimit, qmdHybridFetchLimit, options),
16740
- filterSearchResultsForRecall: (results, preloadedMemoryMap, options) => self.filterSearchResultsForRecall(results, preloadedMemoryMap, options),
16741
- formatCausalTrajectoryResults: (results) => self.formatCausalTrajectoryResults(results),
16742
- formatConversationRecallSection: (results, maxChars) => self.formatConversationRecallSection(results, maxChars),
16743
- formatHarmonicRetrievalResults: (results) => self.formatHarmonicRetrievalResults(results),
16744
- formatObjectiveStateResults: (results) => self.formatObjectiveStateResults(results),
16745
- formatQmdResults: (title, results, sessionKey, trustByPath) => self.formatQmdResults(title, results, sessionKey, trustByPath),
16746
- formatTrustZoneResults: (results) => self.formatTrustZoneResults(results),
16747
- formatVerifiedEpisodeResults: (results) => self.formatVerifiedEpisodeResults(results),
16748
- formatVerifiedSemanticRuleResults: (results) => self.formatVerifiedSemanticRuleResults(results),
16749
- formatWorkProductResults: (results) => self.formatWorkProductResults(results),
16750
- getCodingContextForSession: (sessionKey) => self.getCodingContextForSession(sessionKey),
16751
- getPeerIdForSession: (sessionKey) => self.getPeerIdForSession(sessionKey),
16752
- getRecallBudgetChars: (override) => self.getRecallBudgetChars(override),
16753
- getRecallSectionEntry: (sectionId) => self.getRecallSectionEntry(sectionId),
16754
- getRecallSectionMaxChars: (sectionId) => self.getRecallSectionMaxChars(sectionId),
16755
- getRecallSectionNumber: (sectionId, key) => self.getRecallSectionNumber(sectionId, key),
16756
- getStorage: (namespace) => self.getStorage(namespace),
16757
- get handleHistory() {
16758
- return self.handleHistory;
16759
- },
16760
- isRecallSectionEnabled: (sectionId, defaultEnabled) => self.isRecallSectionEnabled(sectionId, defaultEnabled),
16761
- isSpecializedRecallSectionEnabled: (sectionId, topLevelEnabled) => self.isSpecializedRecallSectionEnabled(sectionId, topLevelEnabled),
16762
- get lastQmdReprobeAtMs() {
16763
- return self.lastQmdReprobeAtMs;
16764
- },
16765
- set lastQmdReprobeAtMs(value) {
16766
- self.lastQmdReprobeAtMs = value;
16767
- },
16768
- get lastRecall() {
16769
- return self.lastRecall;
16770
- },
16771
- get lastXraySnapshot() {
16772
- return self.lastXraySnapshot;
16773
- },
16774
- set lastXraySnapshot(value) {
16775
- self.lastXraySnapshot = value;
16776
- },
16777
- get lcmEngine() {
16778
- return self.lcmEngine;
16779
- },
16780
- get namespaceCatalog() {
16781
- return self.namespaceCatalog;
16782
- },
16783
- namespaceFromPath: (p) => self.namespaceFromPath(p),
16784
- get profiler() {
16785
- return self.profiler;
16786
- },
16787
- publishRecallResults: (options) => self.publishRecallResults(options),
16788
- get qmd() {
16789
- return self.qmd;
16790
- },
16791
- queueEvalShadowRecall: (record) => self.queueEvalShadowRecall(record),
16792
- readAllMemoriesForNamespaces: (namespaces) => self.readAllMemoriesForNamespaces(namespaces),
16793
- recallArtifactsAcrossNamespaces: (prompt, recallNamespaces, targetCount) => self.recallArtifactsAcrossNamespaces(prompt, recallNamespaces, targetCount),
16794
- recallAssemblyClockMs: () => self.recallAssemblyClockMs(),
16795
- recordLastGraphRecallSnapshot: (options) => self.recordLastGraphRecallSnapshot(options),
16796
- recordLastIntentSnapshot: (options) => self.recordLastIntentSnapshot(options),
16797
- recordLastIntentSnapshotForNamespace: (options) => self.recordLastIntentSnapshotForNamespace(options),
16798
- recordLastQmdRecallSnapshot: (options) => self.recordLastQmdRecallSnapshot(options),
16799
- get rerankCache() {
16800
- return self.rerankCache;
16801
- },
16802
- searchConversationRecallResults: (retrievalQuery, topK) => self.searchConversationRecallResults(retrievalQuery, topK),
16803
- searchEmbeddingFallback: (query, limit) => self.searchEmbeddingFallback(query, limit),
16804
- get sharedContext() {
16805
- return self.sharedContext;
16806
- },
16807
- get storage() {
16808
- return self.storage;
16809
- },
16810
- get storageRouter() {
16811
- return self.storageRouter;
16812
- },
16813
- get summarizer() {
16814
- return self.summarizer;
16815
- },
16816
- get tmtBuilder() {
16817
- return self.tmtBuilder;
16818
- },
16819
- get transcript() {
16820
- return self.transcript;
16821
- },
16822
- truncateArtifactForRecall: (text, maxChars) => self.truncateArtifactForRecall(text, maxChars),
16823
- truncateRecallSectionToBudget: (content, maxChars) => self.truncateRecallSectionToBudget(content, maxChars)
16824
- });
16725
+ this._recallInternalCoordinator = new RecallInternalCoordinator(
16726
+ selfDeps(this)
16727
+ );
16825
16728
  }
16826
16729
  return this._recallInternalCoordinator;
16827
16730
  }
@@ -16834,60 +16737,9 @@ ${doc.content}` : doc.content,
16834
16737
  _recallSearchPipelineCoordinator;
16835
16738
  get recallSearchPipelineCoordinator() {
16836
16739
  if (!this._recallSearchPipelineCoordinator) {
16837
- const self = this;
16838
- this._recallSearchPipelineCoordinator = new RecallSearchPipelineCoordinator({
16839
- applyMemoryWorthRerank: (results, namespaces) => self.applyMemoryWorthRerank(results, namespaces),
16840
- applyTrustScoreRerank: (results, namespaces) => self.applyTrustScoreRerank(results, namespaces),
16841
- boostSearchResults: (results, _recallNamespaces, prompt, preloadedMemoryMap, options) => self.boostSearchResults(results, _recallNamespaces, prompt, preloadedMemoryMap, options),
16842
- buildConfiguredQmdSearchOptions: (queryText) => self.buildConfiguredQmdSearchOptions(queryText),
16843
- buildQueryAwarePrefilter: (prompt, recallNamespaces) => self.buildQueryAwarePrefilter(prompt, recallNamespaces),
16844
- get config() {
16845
- return self.config;
16846
- },
16847
- diversifyAndLimitRecallResults: (sectionId, results, limit, retrievalQuery, caps) => self.diversifyAndLimitRecallResults(sectionId, results, limit, retrievalQuery, caps),
16848
- effectiveRecencyWeight: () => self.effectiveRecencyWeight(),
16849
- get embeddingFallback() {
16850
- return self.embeddingFallback;
16851
- },
16852
- expandResultsViaGraph: (options) => self.expandResultsViaGraph(options),
16853
- get fastLlmForRerank() {
16854
- return self.fastLlmForRerank;
16855
- },
16856
- fetchQmdMemoryResultsWithArtifactTopUp: (prompt, qmdFetchLimit, qmdHybridFetchLimit, options) => self.fetchQmdMemoryResultsWithArtifactTopUp(prompt, qmdFetchLimit, qmdHybridFetchLimit, options),
16857
- filterSearchResultsByRecallSafety: (results, memoryByPath, options) => self.filterSearchResultsByRecallSafety(results, memoryByPath, options),
16858
- filterSearchResultsForRecall: (results, preloadedMemoryMap, options) => self.filterSearchResultsForRecall(results, preloadedMemoryMap, options),
16859
- loadSearchResultMemoryMap: (results, preloadedMemoryMap, options) => self.loadSearchResultMemoryMap(results, preloadedMemoryMap, options),
16860
- namespaceFromPath: (p) => self.namespaceFromPath(p),
16861
- get negatives() {
16862
- return self.negatives;
16863
- },
16864
- get qmd() {
16865
- return self.qmd;
16866
- },
16867
- readArchivedMemoriesForNamespaces: (namespaces) => self.readArchivedMemoriesForNamespaces(namespaces),
16868
- readQmdResultMemory: (resultPath, fallbackStorage, recallNamespaces) => self.readQmdResultMemory(resultPath, fallbackStorage, recallNamespaces),
16869
- get relevance() {
16870
- return self.relevance;
16871
- },
16872
- get rerankCache() {
16873
- return self.rerankCache;
16874
- },
16875
- resolveArtifactSourceStatuses: (storage, sourceIds) => self.resolveArtifactSourceStatuses(storage, sourceIds),
16876
- resolveColdQmdResultForRecall: (result, fallbackStorage, recallNamespaces) => self.resolveColdQmdResultForRecall(result, fallbackStorage, recallNamespaces),
16877
- scopeQueryAwarePaths: (paths, recallNamespaces) => self.scopeQueryAwarePaths(paths, recallNamespaces),
16878
- searchAcrossNamespaces: (options) => self.searchAcrossNamespaces(options),
16879
- searchLongTermArchiveFallback: (prompt, recallNamespaces, limit, queryAwarePrefilter, abortSignal) => self.searchLongTermArchiveFallback(prompt, recallNamespaces, limit, queryAwarePrefilter, abortSignal),
16880
- searchScopedMemoryCandidates: (candidatePaths, query, limit, options) => self.searchScopedMemoryCandidates(candidatePaths, query, limit, options),
16881
- get storage() {
16882
- return self.storage;
16883
- },
16884
- get storageRouter() {
16885
- return self.storageRouter;
16886
- },
16887
- get utilityRuntimeValues() {
16888
- return self.utilityRuntimeValues;
16889
- }
16890
- });
16740
+ this._recallSearchPipelineCoordinator = new RecallSearchPipelineCoordinator(
16741
+ selfDeps(this)
16742
+ );
16891
16743
  }
16892
16744
  return this._recallSearchPipelineCoordinator;
16893
16745
  }
@@ -16899,43 +16751,9 @@ ${doc.content}` : doc.content,
16899
16751
  _turnIngestionCoordinator;
16900
16752
  get turnIngestionCoordinator() {
16901
16753
  if (!this._turnIngestionCoordinator) {
16902
- const self = this;
16903
- this._turnIngestionCoordinator = new TurnIngestionCoordinator({
16904
- get buffer() {
16905
- return self.buffer;
16906
- },
16907
- bulkImportWriteNamespace: () => self.bulkImportWriteNamespace(),
16908
- get config() {
16909
- return self.config;
16910
- },
16911
- get extractionQueueCoordinator() {
16912
- return self.extractionQueueCoordinator;
16913
- },
16914
- getStorage: (namespace) => self.getStorage(namespace),
16915
- get heartbeatObserverChains() {
16916
- return self.heartbeatObserverChains;
16917
- },
16918
- get lcmEngine() {
16919
- return self.lcmEngine;
16920
- },
16921
- get passiveCorrectionDedup() {
16922
- return self.passiveCorrectionDedup;
16923
- },
16924
- passiveCorrectionService: () => self.passiveCorrectionService(),
16925
- get passiveCorrectionTelemetry() {
16926
- return self.passiveCorrectionTelemetry;
16927
- },
16928
- queueBufferedExtraction: (turnsToExtract, reason, options) => self.queueBufferedExtraction(turnsToExtract, reason, options),
16929
- resolveMemoryIdOrHandle: (ref, sessionKey) => self.resolveMemoryIdOrHandle(ref, sessionKey),
16930
- runExtraction: (...args) => self.runExtraction(...args),
16931
- get sessionObserver() {
16932
- return self.sessionObserver;
16933
- },
16934
- shouldQueueExtraction: (turns, options) => self.shouldQueueExtraction(turns, options),
16935
- get transcript() {
16936
- return self.transcript;
16937
- }
16938
- });
16754
+ this._turnIngestionCoordinator = new TurnIngestionCoordinator(
16755
+ selfDeps(this)
16756
+ );
16939
16757
  }
16940
16758
  return this._turnIngestionCoordinator;
16941
16759
  }
@@ -16947,38 +16765,9 @@ ${doc.content}` : doc.content,
16947
16765
  _recallIntrospectionCoordinator;
16948
16766
  get recallIntrospectionCoordinator() {
16949
16767
  if (!this._recallIntrospectionCoordinator) {
16950
- const self = this;
16951
- this._recallIntrospectionCoordinator = new RecallIntrospectionCoordinator({
16952
- annotateDirectAnswerTier: (prompt, sessionKey, namespaces, expectedIdentity, caps, _parentAbortSignal) => self.annotateDirectAnswerTier(prompt, sessionKey, namespaces, expectedIdentity, caps, _parentAbortSignal),
16953
- get config() {
16954
- return self.config;
16955
- },
16956
- get directAnswerObservationChain() {
16957
- return self.directAnswerObservationChain;
16958
- },
16959
- set directAnswerObservationChain(value) {
16960
- self.directAnswerObservationChain = value;
16961
- },
16962
- effectiveCronRecallInstructionHeavyTokenCap: () => self.effectiveCronRecallInstructionHeavyTokenCap(),
16963
- get faithfulnessCounters() {
16964
- return self.faithfulnessCounters;
16965
- },
16966
- getCodingContextForSession: (sessionKey) => self.getCodingContextForSession(sessionKey),
16967
- getLastGraphRecallSnapshot: (namespace) => self.getLastGraphRecallSnapshot(namespace),
16968
- getLastIntentSnapshot: (namespace) => self.getLastIntentSnapshot(namespace),
16969
- getLastQmdRecallSnapshot: (namespace) => self.getLastQmdRecallSnapshot(namespace),
16970
- getStorage: (namespace) => self.getStorage(namespace),
16971
- get graphRecallCoordinator() {
16972
- return self.graphRecallCoordinator;
16973
- },
16974
- get lastRecall() {
16975
- return self.lastRecall;
16976
- },
16977
- resolveStateDirForNamespace: (namespace) => self.resolveStateDirForNamespace(namespace),
16978
- get storageRouter() {
16979
- return self.storageRouter;
16980
- }
16981
- });
16768
+ this._recallIntrospectionCoordinator = new RecallIntrospectionCoordinator(
16769
+ selfDeps(this)
16770
+ );
16982
16771
  }
16983
16772
  return this._recallIntrospectionCoordinator;
16984
16773
  }
@@ -16991,136 +16780,9 @@ ${doc.content}` : doc.content,
16991
16780
  _orchestratorInitCoordinator;
16992
16781
  get orchestratorInitCoordinator() {
16993
16782
  if (!this._orchestratorInitCoordinator) {
16994
- const self = this;
16995
- this._orchestratorInitCoordinator = new OrchestratorInitCoordinator({
16996
- get buffer() {
16997
- return self.buffer;
16998
- },
16999
- get compounding() {
17000
- return self.compounding;
17001
- },
17002
- get config() {
17003
- return self.config;
17004
- },
17005
- configuredNamespaceList: () => self.configuredNamespaceList(),
17006
- get contentHashIndex() {
17007
- return self.contentHashIndex;
17008
- },
17009
- set contentHashIndex(value) {
17010
- self.contentHashIndex = value;
17011
- },
17012
- get conversationIndexBackend() {
17013
- return self.conversationIndexBackend;
17014
- },
17015
- get deferredInitAbort() {
17016
- return self.deferredInitAbort;
17017
- },
17018
- set deferredInitAbort(value) {
17019
- self.deferredInitAbort = value;
17020
- },
17021
- deferredInitialize: (signal) => self.deferredInitialize(signal),
17022
- get deferredReady() {
17023
- return self.deferredReady;
17024
- },
17025
- set deferredReady(value) {
17026
- self.deferredReady = value;
17027
- },
17028
- get deferredSyncSucceeded() {
17029
- return self.deferredSyncSucceeded;
17030
- },
17031
- set deferredSyncSucceeded(value) {
17032
- self.deferredSyncSucceeded = value;
17033
- },
17034
- disposeSearchBackendIfNeeded: () => self.disposeSearchBackendIfNeeded(),
17035
- get embeddingFallback() {
17036
- return self.embeddingFallback;
17037
- },
17038
- getWearablesService: () => self.getWearablesService(),
17039
- get handleHistory() {
17040
- return self.handleHistory;
17041
- },
17042
- get lastRecall() {
17043
- return self.lastRecall;
17044
- },
17045
- maintenanceNamespaces: (jobName, budgetMode) => self.maintenanceNamespaces(jobName, budgetMode),
17046
- get maintenanceScheduler() {
17047
- return self.maintenanceScheduler;
17048
- },
17049
- get namespaceCatalog() {
17050
- return self.namespaceCatalog;
17051
- },
17052
- get namespaceSearchRouter() {
17053
- return self.namespaceSearchRouter;
17054
- },
17055
- get negatives() {
17056
- return self.negatives;
17057
- },
17058
- passiveCorrectionService: () => self.passiveCorrectionService(),
17059
- get policyRuntime() {
17060
- return self.policyRuntime;
17061
- },
17062
- get qmd() {
17063
- return self.qmd;
17064
- },
17065
- set qmd(value) {
17066
- self.qmd = value;
17067
- },
17068
- get relevance() {
17069
- return self.relevance;
17070
- },
17071
- get resolveDeferredReady() {
17072
- return self.resolveDeferredReady;
17073
- },
17074
- set resolveDeferredReady(value) {
17075
- self.resolveDeferredReady = value;
17076
- },
17077
- get resolveInit() {
17078
- return self.resolveInit;
17079
- },
17080
- set resolveInit(value) {
17081
- self.resolveInit = value;
17082
- },
17083
- get runtimePolicyValues() {
17084
- return self.runtimePolicyValues;
17085
- },
17086
- set runtimePolicyValues(value) {
17087
- self.runtimePolicyValues = value;
17088
- },
17089
- get sessionObserver() {
17090
- return self.sessionObserver;
17091
- },
17092
- get sharedContext() {
17093
- return self.sharedContext;
17094
- },
17095
- get storage() {
17096
- return self.storage;
17097
- },
17098
- get storageRouter() {
17099
- return self.storageRouter;
17100
- },
17101
- get summarizer() {
17102
- return self.summarizer;
17103
- },
17104
- get tierMigrationStatus() {
17105
- return self.tierMigrationStatus;
17106
- },
17107
- get transcript() {
17108
- return self.transcript;
17109
- },
17110
- get utilityRuntimeValues() {
17111
- return self.utilityRuntimeValues;
17112
- },
17113
- set utilityRuntimeValues(value) {
17114
- self.utilityRuntimeValues = value;
17115
- },
17116
- validateLocalLlmModel: () => self.validateLocalLlmModel(),
17117
- get wearablesAutoSyncHandle() {
17118
- return self.wearablesAutoSyncHandle;
17119
- },
17120
- set wearablesAutoSyncHandle(value) {
17121
- self.wearablesAutoSyncHandle = value;
17122
- }
17123
- });
16783
+ this._orchestratorInitCoordinator = new OrchestratorInitCoordinator(
16784
+ selfDeps(this)
16785
+ );
17124
16786
  }
17125
16787
  return this._orchestratorInitCoordinator;
17126
16788
  }
@@ -17132,25 +16794,9 @@ ${doc.content}` : doc.content,
17132
16794
  _persistenceIndexCoordinator;
17133
16795
  get persistenceIndexCoordinator() {
17134
16796
  if (!this._persistenceIndexCoordinator) {
17135
- const self = this;
17136
- this._persistenceIndexCoordinator = new PersistenceIndexCoordinator({
17137
- get config() {
17138
- return self.config;
17139
- },
17140
- get contentHashIndex() {
17141
- return self.contentHashIndex;
17142
- },
17143
- contentHashIndexForStorage: (targetStorage) => self.contentHashIndexForStorage(targetStorage),
17144
- get contentHashIndexesByStorageDir() {
17145
- return self.contentHashIndexesByStorageDir;
17146
- },
17147
- get embeddingFallback() {
17148
- return self.embeddingFallback;
17149
- },
17150
- graphIndexFor: (storage) => self.graphIndexFor(storage),
17151
- readAllMemoriesForNamespaces: (namespaces) => self.readAllMemoriesForNamespaces(namespaces),
17152
- semanticDedupScopeFor: (targetStorage) => self.semanticDedupScopeFor(targetStorage)
17153
- });
16797
+ this._persistenceIndexCoordinator = new PersistenceIndexCoordinator(
16798
+ selfDeps(this)
16799
+ );
17154
16800
  }
17155
16801
  return this._persistenceIndexCoordinator;
17156
16802
  }
@@ -17162,59 +16808,9 @@ ${doc.content}` : doc.content,
17162
16808
  _workspaceOpsCoordinator;
17163
16809
  get workspaceOpsCoordinator() {
17164
16810
  if (!this._workspaceOpsCoordinator) {
17165
- const self = this;
17166
- this._workspaceOpsCoordinator = new WorkspaceOpsCoordinator({
17167
- get accessTrackingBuffer() {
17168
- return self.accessTrackingBuffer;
17169
- },
17170
- bulkImportWriteNamespace: () => self.bulkImportWriteNamespace(),
17171
- get config() {
17172
- return self.config;
17173
- },
17174
- get extraction() {
17175
- return self.extraction;
17176
- },
17177
- getStorage: (namespace) => self.getStorage(namespace),
17178
- getStorageForNamespace: (namespace) => self.getStorageForNamespace(namespace),
17179
- get judgeDeferCounts() {
17180
- return self.judgeDeferCounts;
17181
- },
17182
- get judgeVerdictCache() {
17183
- return self.judgeVerdictCache;
17184
- },
17185
- get lastFileHygieneRunAtMs() {
17186
- return self.lastFileHygieneRunAtMs;
17187
- },
17188
- set lastFileHygieneRunAtMs(value) {
17189
- self.lastFileHygieneRunAtMs = value;
17190
- },
17191
- get lastPatternReinforcementAtByNs() {
17192
- return self.lastPatternReinforcementAtByNs;
17193
- },
17194
- get localLlm() {
17195
- return self.localLlm;
17196
- },
17197
- maintenanceNamespaces: (jobName, budgetMode) => self.maintenanceNamespaces(jobName, budgetMode),
17198
- namespaceFromPath: (p) => self.namespaceFromPath(p),
17199
- get qmd() {
17200
- return self.qmd;
17201
- },
17202
- readAllMemoriesForNamespaces: (namespaces) => self.readAllMemoriesForNamespaces(namespaces),
17203
- runNamespaceMaintenanceFanoutForJob: (jobName, runner, options) => self.runNamespaceMaintenanceFanoutForJob(jobName, runner, options),
17204
- runPatternReinforcement: (options) => self.runPatternReinforcement(options),
17205
- get storage() {
17206
- return self.storage;
17207
- },
17208
- get storageRouter() {
17209
- return self.storageRouter;
17210
- },
17211
- get wearablesServiceInstance() {
17212
- return self.wearablesServiceInstance;
17213
- },
17214
- set wearablesServiceInstance(value) {
17215
- self.wearablesServiceInstance = value;
17216
- }
17217
- });
16811
+ this._workspaceOpsCoordinator = new WorkspaceOpsCoordinator(
16812
+ selfDeps(this)
16813
+ );
17218
16814
  }
17219
16815
  return this._workspaceOpsCoordinator;
17220
16816
  }
@@ -17226,45 +16822,9 @@ ${doc.content}` : doc.content,
17226
16822
  _namespaceReadFanoutCoordinator;
17227
16823
  get namespaceReadFanoutCoordinator() {
17228
16824
  if (!this._namespaceReadFanoutCoordinator) {
17229
- const self = this;
17230
- this._namespaceReadFanoutCoordinator = new NamespaceReadFanoutCoordinator({
17231
- get artifactSourceStatusCache() {
17232
- return self.artifactSourceStatusCache;
17233
- },
17234
- get config() {
17235
- return self.config;
17236
- },
17237
- configuredNamespaceList: () => self.configuredNamespaceList(),
17238
- fetchActiveArtifactsForNamespace: (namespace, prompt, targetCount) => self.fetchActiveArtifactsForNamespace(namespace, prompt, targetCount),
17239
- loadNamespaceStorageDirHintsFromCatalog: () => self.loadNamespaceStorageDirHintsFromCatalog(),
17240
- get namespaceCatalog() {
17241
- return self.namespaceCatalog;
17242
- },
17243
- namespaceFromPath: (p) => self.namespaceFromPath(p),
17244
- get namespaceSearchRouter() {
17245
- return self.namespaceSearchRouter;
17246
- },
17247
- namespaceStorageDirHintOwnershipRank: (record, resolvedStorageDir, configured) => self.namespaceStorageDirHintOwnershipRank(record, resolvedStorageDir, configured),
17248
- get namespaceStorageDirHints() {
17249
- return self.namespaceStorageDirHints;
17250
- },
17251
- get namespaceStorageDirHintsLoaded() {
17252
- return self.namespaceStorageDirHintsLoaded;
17253
- },
17254
- set namespaceStorageDirHintsLoaded(value) {
17255
- self.namespaceStorageDirHintsLoaded = value;
17256
- },
17257
- preferNamespaceStorageDirHintOwner: (current, candidate, resolvedStorageDir, configured) => self.preferNamespaceStorageDirHintOwner(current, candidate, resolvedStorageDir, configured),
17258
- get qmd() {
17259
- return self.qmd;
17260
- },
17261
- qmdCollectionNamespaceFromPrefix: (collectionPrefix) => self.qmdCollectionNamespaceFromPrefix(collectionPrefix),
17262
- rememberNamespaceStorageDirHint: (namespace, storageDir) => self.rememberNamespaceStorageDirHint(namespace, storageDir),
17263
- storageDirMatchesNamespaceHint: (namespace, storageDir) => self.storageDirMatchesNamespaceHint(namespace, storageDir),
17264
- get storageRouter() {
17265
- return self.storageRouter;
17266
- }
17267
- });
16825
+ this._namespaceReadFanoutCoordinator = new NamespaceReadFanoutCoordinator(
16826
+ selfDeps(this)
16827
+ );
17268
16828
  }
17269
16829
  return this._namespaceReadFanoutCoordinator;
17270
16830
  }
@@ -23235,4 +22795,4 @@ export {
23235
22795
  blendGraphExpandedRecallScore,
23236
22796
  Orchestrator
23237
22797
  };
23238
- //# sourceMappingURL=chunk-CKLCFBA3.js.map
22798
+ //# sourceMappingURL=chunk-RWZB6MAY.js.map