@remnic/core 9.3.743 → 9.3.745
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/access-boundary.d.ts +18 -16
- package/dist/access-boundary.js +14 -15
- package/dist/access-cli.js +92 -33
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +18 -16
- package/dist/access-http.js +20 -21
- package/dist/access-mcp.d.ts +18 -16
- package/dist/access-mcp.js +18 -19
- package/dist/access-operations-batch.js +16 -17
- package/dist/access-operations.d.ts +18 -16
- package/dist/access-operations.js +17 -18
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-BeW5GOg1.d.ts → access-service-CdY88L86.d.ts} +3 -30
- package/dist/access-service.d.ts +8 -6
- package/dist/access-service.js +13 -14
- package/dist/access-surface-catalog.d.ts +18 -16
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/{auto-sync-XHSKKQAH.js → auto-sync-IEBKPGAM.js} +2 -2
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +7 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-CX0CjOaf.d.ts → catalog-D_ZDxu8Y.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +4 -4
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-WPLRJ4XM.js → chunk-24YDB5QP.js} +2098 -230
- package/dist/chunk-24YDB5QP.js.map +1 -0
- package/dist/{chunk-6XG3NQRC.js → chunk-3IJGF6K2.js} +2 -2
- package/dist/{chunk-U5WVRMCA.js → chunk-5IN26V6W.js} +2 -2
- package/dist/{chunk-XEADGIAA.js → chunk-DIHCFJVV.js} +7 -7
- package/dist/{chunk-C7LDPZJJ.js → chunk-EHYB325U.js} +227 -227
- package/dist/chunk-EHYB325U.js.map +1 -0
- package/dist/{chunk-E7RGJQWP.js → chunk-HIHCB2S6.js} +2 -2
- package/dist/{chunk-JFCS6PQU.js → chunk-JHQUIH3W.js} +5 -5
- package/dist/{chunk-MXDG6SRH.js → chunk-JRDPT6DA.js} +2 -2
- package/dist/{chunk-BYLC4DKI.js → chunk-KMNYXLPL.js} +2 -2
- package/dist/{chunk-TQPSOTC7.js → chunk-L4N7SVNN.js} +8 -10
- package/dist/{chunk-TQPSOTC7.js.map → chunk-L4N7SVNN.js.map} +1 -1
- package/dist/{chunk-DYK27X7V.js → chunk-LMFS64GY.js} +3 -3
- package/dist/{chunk-FWXLKH2H.js → chunk-NVYF5OB6.js} +3 -3
- package/dist/{chunk-G5FP7VSQ.js → chunk-P4FW3ZU5.js} +58 -60
- package/dist/{chunk-G5FP7VSQ.js.map → chunk-P4FW3ZU5.js.map} +1 -1
- package/dist/{chunk-56F6EAQ6.js → chunk-Q3X7GUAQ.js} +2 -2
- package/dist/{chunk-7N7S2RKF.js → chunk-R2OAN6IP.js} +2 -2
- package/dist/{chunk-CHELXDTO.js → chunk-RB6A7OUN.js} +2 -2
- package/dist/{chunk-3EA5LIFJ.js → chunk-SIV3JZPP.js} +2 -2
- package/dist/{chunk-IP5SANO2.js → chunk-UIKZZ242.js} +2 -2
- package/dist/{chunk-UGFPGWJB.js → chunk-URQLO7BX.js} +2 -2
- package/dist/{chunk-5UNSGRCR.js → chunk-WK3NK6SP.js} +162 -16
- package/dist/chunk-WK3NK6SP.js.map +1 -0
- package/dist/{chunk-VE54E6RP.js → chunk-WWVXXSLF.js} +4 -6
- package/dist/{chunk-VE54E6RP.js.map → chunk-WWVXXSLF.js.map} +1 -1
- package/dist/{chunk-WO22UEM3.js → chunk-XTEWVF3C.js} +2 -2
- package/dist/{chunk-VO4VARZL.js → chunk-YQX63P3W.js} +18033 -12571
- package/dist/chunk-YQX63P3W.js.map +1 -0
- package/dist/{chunk-FCQ7ZYCQ.js → chunk-ZGAJB74V.js} +2 -2
- package/dist/{chunk-NBP3YHHS.js → chunk-ZGZNLRKF.js} +2 -2
- package/dist/{chunk-C7C5WIIF.js → chunk-ZPZ4VVLT.js} +2 -2
- package/dist/{cli-BYad9YYY.d.ts → cli-BNJtn0R0.d.ts} +3 -3
- package/dist/cli.d.ts +9 -7
- package/dist/cli.js +44 -46
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +3 -3
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -3
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/contradiction/index.js +4 -4
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +7 -4
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +13 -11
- package/dist/index.js +271 -5362
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +17 -15
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +4 -4
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +10 -11
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +5 -5
- package/dist/{orchestrator-CupigmWu.d.ts → orchestrator-BBGXLd20.d.ts} +270 -32
- package/dist/orchestrator.d.ts +7 -4
- package/dist/orchestrator.js +119 -16
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-ByzGwC9c.d.ts → semantic-consolidation-D3aSiu9t.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +1 -1
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-5Jik3r4G.d.ts → types-CZm6rx9-.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -3
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/orchestration/extraction-persist.ts +2785 -0
- package/src/orchestration/extraction-run.ts +874 -0
- package/src/orchestration/graph-recall-coordinator.ts +471 -0
- package/src/orchestrator.ts +200 -3621
- package/dist/chunk-5UNSGRCR.js.map +0 -1
- package/dist/chunk-A2KKLCOS.js +0 -1889
- package/dist/chunk-A2KKLCOS.js.map +0 -1
- package/dist/chunk-AVBT5WEW.js +0 -153
- package/dist/chunk-AVBT5WEW.js.map +0 -1
- package/dist/chunk-C7LDPZJJ.js.map +0 -1
- package/dist/chunk-VO4VARZL.js.map +0 -1
- package/dist/chunk-WPLRJ4XM.js.map +0 -1
- /package/dist/{auto-sync-XHSKKQAH.js.map → auto-sync-IEBKPGAM.js.map} +0 -0
- /package/dist/{chunk-6XG3NQRC.js.map → chunk-3IJGF6K2.js.map} +0 -0
- /package/dist/{chunk-U5WVRMCA.js.map → chunk-5IN26V6W.js.map} +0 -0
- /package/dist/{chunk-XEADGIAA.js.map → chunk-DIHCFJVV.js.map} +0 -0
- /package/dist/{chunk-E7RGJQWP.js.map → chunk-HIHCB2S6.js.map} +0 -0
- /package/dist/{chunk-JFCS6PQU.js.map → chunk-JHQUIH3W.js.map} +0 -0
- /package/dist/{chunk-MXDG6SRH.js.map → chunk-JRDPT6DA.js.map} +0 -0
- /package/dist/{chunk-BYLC4DKI.js.map → chunk-KMNYXLPL.js.map} +0 -0
- /package/dist/{chunk-DYK27X7V.js.map → chunk-LMFS64GY.js.map} +0 -0
- /package/dist/{chunk-FWXLKH2H.js.map → chunk-NVYF5OB6.js.map} +0 -0
- /package/dist/{chunk-56F6EAQ6.js.map → chunk-Q3X7GUAQ.js.map} +0 -0
- /package/dist/{chunk-7N7S2RKF.js.map → chunk-R2OAN6IP.js.map} +0 -0
- /package/dist/{chunk-CHELXDTO.js.map → chunk-RB6A7OUN.js.map} +0 -0
- /package/dist/{chunk-3EA5LIFJ.js.map → chunk-SIV3JZPP.js.map} +0 -0
- /package/dist/{chunk-IP5SANO2.js.map → chunk-UIKZZ242.js.map} +0 -0
- /package/dist/{chunk-UGFPGWJB.js.map → chunk-URQLO7BX.js.map} +0 -0
- /package/dist/{chunk-WO22UEM3.js.map → chunk-XTEWVF3C.js.map} +0 -0
- /package/dist/{chunk-FCQ7ZYCQ.js.map → chunk-ZGAJB74V.js.map} +0 -0
- /package/dist/{chunk-NBP3YHHS.js.map → chunk-ZGZNLRKF.js.map} +0 -0
- /package/dist/{chunk-C7C5WIIF.js.map → chunk-ZPZ4VVLT.js.map} +0 -0
|
@@ -8,12 +8,12 @@ import { HourlySummarizer } from './summarizer.js';
|
|
|
8
8
|
import { LocalLlmClient } from './local-llm.js';
|
|
9
9
|
import { FallbackLlmClient } from './fallback-llm.js';
|
|
10
10
|
import { MaintenanceScheduler } from './orchestration/maintenance.js';
|
|
11
|
-
import { u as BufferTurn, y as ExtractionResult, M as MemoryCategory,
|
|
12
|
-
import { TierMigrationStatusStore, TierMigrationStatusSnapshot, TierMigrationCycleSummary, LastRecallBudgetSummary, LastRecallStore, RecallHandleHistoryStore,
|
|
11
|
+
import { aB as ScopeProfileConfig, aC as ScopeProfileLayerId, aD as ScopeProfilePromotionTarget, u as BufferTurn, y as ExtractionResult, M as MemoryCategory, ac as ImportanceScore, f as MemoryStatus, aE as WearableConversation, aF as WearableSourceSettings, aG as WearableNativeMemory, aH as WearableMemoryMode, aI as WearableSourceConnector, aJ as WearablesConfig, aK as WearableSyncSummary, aL as WearableSourceStatus, aM as WearableDayTranscript, aN as WearableCorrectionRule, P as PluginConfig, g as MemoryFile, a0 as MemoryActionEvent, Q as QmdSearchResult, a6 as ContinuityIncidentRecord, h as RecallPlanMode, I as IdentityInjectionMode, aO as RecallSectionConfig, ap as MemoryLink, ax as CodingContext, ad as MemoryIntent, e as BehaviorLoopPolicyState, aP as BootstrapOptions, aQ as BootstrapResult, aR as ConsolidationObservation, D as DaySummaryResult, k as MemoryFrontmatter } from './types-CZm6rx9-.js';
|
|
12
|
+
import { TierMigrationStatusStore, TierMigrationStatusSnapshot, TierMigrationCycleSummary, LastRecallBudgetSummary, GraphRecallExpandedEntry, LastRecallStore, RecallHandleHistoryStore, LastRecallSnapshot } from './recall-state.js';
|
|
13
13
|
import { CompoundingEngine } from './compounding/engine.js';
|
|
14
14
|
import { UtilityRuntimeValues } from './utility-runtime.js';
|
|
15
15
|
import { CompressionGuidelineCoordinator } from './orchestration/compression-guideline-coordinator.js';
|
|
16
|
-
import { S as SemanticConsolidationResult } from './semantic-consolidation-
|
|
16
|
+
import { S as SemanticConsolidationResult } from './semantic-consolidation-D3aSiu9t.js';
|
|
17
17
|
import { EmbeddingFallback } from './embedding-fallback.js';
|
|
18
18
|
import { ExtractionEngine } from './extraction.js';
|
|
19
19
|
import { ObjectiveStateSearchResult } from './objective-state.js';
|
|
@@ -27,7 +27,11 @@ import { TrustStageResultItem } from './trust-score-stage.js';
|
|
|
27
27
|
import { ConversationChunk } from './conversation-index/chunker.js';
|
|
28
28
|
import { ConversationIndexBackend, ConversationIndexBackendInspection } from './conversation-index/backend.js';
|
|
29
29
|
import { C as ConversationSearchResult } from './faiss-adapter-BHecI1fF.js';
|
|
30
|
-
import { CapabilitySet } from './capabilities.js';
|
|
30
|
+
import { CapabilitySet, GraphConstructionCapabilitySet, MemoryLifecycleCapabilitySet } from './capabilities.js';
|
|
31
|
+
import { BoxBuilder } from './boxes.js';
|
|
32
|
+
import { NamespaceStorageRouter } from './namespaces/storage.js';
|
|
33
|
+
import { ThreadingManager } from './threading.js';
|
|
34
|
+
import { GraphIndex } from './graph.js';
|
|
31
35
|
import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
32
36
|
import { ModelRegistry } from './model-registry.js';
|
|
33
37
|
import { RelevanceStore } from './relevance.js';
|
|
@@ -39,12 +43,39 @@ import { ReplayTurn } from './replay/types.js';
|
|
|
39
43
|
import { I as ImportTurn } from './types-gb_SNtjR.js';
|
|
40
44
|
import { JudgeCandidate, JudgeBatchResult } from './extraction-judge.js';
|
|
41
45
|
import { LcmEngine } from './lcm/engine.js';
|
|
42
|
-
import { b as NamespaceKind, N as NamespaceCatalog } from './catalog-
|
|
46
|
+
import { b as NamespaceKind, N as NamespaceCatalog } from './catalog-D_ZDxu8Y.js';
|
|
43
47
|
import { NamespaceSearchHealth } from './namespaces/search.js';
|
|
44
48
|
import { SharedContextManager } from './shared-context/manager.js';
|
|
45
49
|
import { RuntimePolicyValues } from './policy-runtime.js';
|
|
46
50
|
import { ProfilingCollector } from './profiling.js';
|
|
47
51
|
|
|
52
|
+
interface ScopeProfileLayerResolution {
|
|
53
|
+
id: ScopeProfileLayerId;
|
|
54
|
+
kind: "user-project" | "team-project" | "user-global" | "server-shared";
|
|
55
|
+
namespace?: string;
|
|
56
|
+
readable: boolean;
|
|
57
|
+
writable: boolean;
|
|
58
|
+
promotable: boolean;
|
|
59
|
+
reason: string;
|
|
60
|
+
}
|
|
61
|
+
interface ScopeProfilePromotionResolution {
|
|
62
|
+
target: ScopeProfilePromotionTarget;
|
|
63
|
+
namespace?: string;
|
|
64
|
+
authorized: boolean;
|
|
65
|
+
reason: string;
|
|
66
|
+
}
|
|
67
|
+
interface ResolvedScopeProfilePlan {
|
|
68
|
+
profileId: string;
|
|
69
|
+
profile: ScopeProfileConfig;
|
|
70
|
+
baseNamespace: string;
|
|
71
|
+
writeLayer: ScopeProfileLayerId;
|
|
72
|
+
writeNamespace: string;
|
|
73
|
+
readNamespaces: string[];
|
|
74
|
+
layers: ScopeProfileLayerResolution[];
|
|
75
|
+
promotionTargets: ScopeProfilePromotionResolution[];
|
|
76
|
+
warnings: string[];
|
|
77
|
+
}
|
|
78
|
+
|
|
48
79
|
/**
|
|
49
80
|
* Wearable speaker registry — maps provider diarization labels to
|
|
50
81
|
* human names, persistently, per source.
|
|
@@ -1294,6 +1325,216 @@ declare class ContradictionLinkingCoordinator {
|
|
|
1294
1325
|
suggestLinksForMemory(content: string, category: string, namespaceScope: string): Promise<MemoryLink[]>;
|
|
1295
1326
|
}
|
|
1296
1327
|
|
|
1328
|
+
/**
|
|
1329
|
+
* Extraction-run coordinator — extracted from the orchestrator
|
|
1330
|
+
* (issue #1526, seam 15).
|
|
1331
|
+
*
|
|
1332
|
+
* Owns the buffer→extract→persist pipeline orchestration:
|
|
1333
|
+
* - `runExtraction` — the main extraction pipeline coordinator
|
|
1334
|
+
* (normalize → threshold gate → namespace resolve → dedupe
|
|
1335
|
+
* fingerprint → extract → validate → persist → post-write hooks)
|
|
1336
|
+
* - dedupe support: `shouldQueueExtraction`,
|
|
1337
|
+
* `buildExtractionFingerprint`, `normalizeExtractionFingerprintTurns`
|
|
1338
|
+
* - `recordProcessedExtractionFingerprint` — meta recording
|
|
1339
|
+
*
|
|
1340
|
+
* The orchestrator constructs one instance and delegates the extraction
|
|
1341
|
+
* run to it. `persistExtraction`, `maybeCapturePassiveCorrections`, and
|
|
1342
|
+
* all post-write side-effect helpers arrive as injectable delegates so
|
|
1343
|
+
* the orchestrator keeps ownership of cross-subsystem routing and the
|
|
1344
|
+
* behavior-critical chokepoints it hosts.
|
|
1345
|
+
*
|
|
1346
|
+
* Behavior-preserving move from orchestrator.ts. No logic changes — the
|
|
1347
|
+
* orchestrator keeps thin delegating methods so existing call sites
|
|
1348
|
+
* and tests that exercise the public API continue to work.
|
|
1349
|
+
*/
|
|
1350
|
+
|
|
1351
|
+
interface ExtractionRunResult {
|
|
1352
|
+
status: "completed" | "skipped";
|
|
1353
|
+
reason?: string;
|
|
1354
|
+
persistedCount: number;
|
|
1355
|
+
durableOutputCount: number;
|
|
1356
|
+
postPersistMetadataFailed?: boolean;
|
|
1357
|
+
}
|
|
1358
|
+
/** Dependencies injected by the orchestrator. All stable references or
|
|
1359
|
+
* live accessors — lazy getters for anything tests reassign
|
|
1360
|
+
* post-construction (buffer, extraction, storageRouter, threading). */
|
|
1361
|
+
interface ExtractionRunCoordinatorDeps {
|
|
1362
|
+
config: PluginConfig;
|
|
1363
|
+
getBuffer: () => SmartBuffer;
|
|
1364
|
+
getExtraction: () => ExtractionEngine;
|
|
1365
|
+
getStorageRouter: () => NamespaceStorageRouter;
|
|
1366
|
+
getThreading: () => ThreadingManager;
|
|
1367
|
+
persistExtraction: (result: ExtractionResult, storage: StorageManager, threadIdForExtraction?: string | null, sourceContext?: {
|
|
1368
|
+
sessionKey?: string;
|
|
1369
|
+
principal?: string;
|
|
1370
|
+
validAt?: string;
|
|
1371
|
+
}, baseNamespace?: string, scopeProfileWritePlan?: ResolvedScopeProfilePlan | null, sourceText?: string, graphCaps?: GraphConstructionCapabilitySet, lifecycleCaps?: MemoryLifecycleCapabilitySet) => Promise<string[]>;
|
|
1372
|
+
maybeCapturePassiveCorrections: (turns: readonly BufferTurn[], opts: {
|
|
1373
|
+
sessionKey: string;
|
|
1374
|
+
principal?: string;
|
|
1375
|
+
namespace: string;
|
|
1376
|
+
bufferKey: string;
|
|
1377
|
+
isLiveSession: boolean;
|
|
1378
|
+
}) => Promise<void>;
|
|
1379
|
+
resolveSelfNamespace: (sessionKey?: string) => string;
|
|
1380
|
+
getCodingContextForSession: (sessionKey: string) => CodingContext | null;
|
|
1381
|
+
applyCodingNamespaceOverlay: (sessionKey: string, namespace: string) => string;
|
|
1382
|
+
boxBuilderFor: (storage: StorageManager) => BoxBuilder;
|
|
1383
|
+
appendPersistedThreadEpisodes: (threadId: string, ids: string[]) => Promise<void>;
|
|
1384
|
+
maybeScheduleConsolidation: (nonZero: boolean) => void;
|
|
1385
|
+
requestQmdMaintenance: () => void;
|
|
1386
|
+
runTierMigrationCycle: (storage: StorageManager, trigger: "extraction" | "maintenance" | "manual", options?: {
|
|
1387
|
+
dryRun?: boolean;
|
|
1388
|
+
limitOverride?: number;
|
|
1389
|
+
force?: boolean;
|
|
1390
|
+
}) => Promise<TierMigrationCycleSummary>;
|
|
1391
|
+
getLastPersistExtractionDeferredCount: () => number;
|
|
1392
|
+
recordProcessedExtractionFingerprint: (storage: StorageManager, fingerprint: string, preloadedMeta?: Awaited<ReturnType<StorageManager["loadMeta"]>>) => Promise<void>;
|
|
1393
|
+
}
|
|
1394
|
+
declare function deriveTopicsFromExtraction(result: ExtractionResult): string[];
|
|
1395
|
+
/**
|
|
1396
|
+
* Coordinates the extraction run pipeline. Holds the dedupe fingerprint
|
|
1397
|
+
* cache (`recentExtractionFingerprints`) and delegates all side effects
|
|
1398
|
+
* to injected orchestrator methods.
|
|
1399
|
+
*/
|
|
1400
|
+
declare class ExtractionRunCoordinator {
|
|
1401
|
+
private readonly deps;
|
|
1402
|
+
private readonly recentExtractionFingerprints;
|
|
1403
|
+
constructor(deps: ExtractionRunCoordinatorDeps);
|
|
1404
|
+
private get config();
|
|
1405
|
+
private latestSourceValidAtFromTurns;
|
|
1406
|
+
normalizeExtractionFingerprintTurns(turns: BufferTurn[]): string[];
|
|
1407
|
+
buildExtractionFingerprint(turns: BufferTurn[], bufferKey: string): string | null;
|
|
1408
|
+
shouldQueueExtraction(turns: BufferTurn[], options?: {
|
|
1409
|
+
commit?: boolean;
|
|
1410
|
+
bufferKey?: string;
|
|
1411
|
+
}): boolean;
|
|
1412
|
+
recordProcessedExtractionFingerprint(storage: StorageManager, fingerprint: string, preloadedMeta?: Awaited<ReturnType<StorageManager["loadMeta"]>>): Promise<void>;
|
|
1413
|
+
runExtraction(turns: BufferTurn[], options?: {
|
|
1414
|
+
clearBufferAfterExtraction?: boolean;
|
|
1415
|
+
skipCharThreshold?: boolean;
|
|
1416
|
+
skipUserTurnThreshold?: boolean;
|
|
1417
|
+
deadlineMs?: number;
|
|
1418
|
+
bufferKey?: string;
|
|
1419
|
+
abortSignal?: AbortSignal;
|
|
1420
|
+
failOnExtractionFailure?: boolean;
|
|
1421
|
+
/**
|
|
1422
|
+
* Explicit namespace override for the write path (#460). When set,
|
|
1423
|
+
* extraction writes go to this namespace instead of the one derived
|
|
1424
|
+
* from `defaultNamespaceForPrincipal(resolvePrincipal(sessionKey))`.
|
|
1425
|
+
* The resolved `principal` is still threaded into memory metadata
|
|
1426
|
+
* for provenance; only the storage target is overridden.
|
|
1427
|
+
*/
|
|
1428
|
+
writeNamespaceOverride?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* Pin the provenance principal instead of deriving it from
|
|
1431
|
+
* `resolvePrincipal(sessionKey)` (#1495 thread 1). When set, this is the
|
|
1432
|
+
* identity an access surface already authenticated; used so observed-turn
|
|
1433
|
+
* provenance is correct even though `turn.sessionKey` is the ORIGINAL
|
|
1434
|
+
* (un-prefixed) key and storage is pinned via `writeNamespaceOverride`.
|
|
1435
|
+
*/
|
|
1436
|
+
principalOverride?: string;
|
|
1437
|
+
}): Promise<ExtractionRunResult>;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* Graph-recall coordinator — extracted from the orchestrator (issue #1526).
|
|
1442
|
+
*
|
|
1443
|
+
* Owns the graph-expansion subsystem in recall: spreading-activation
|
|
1444
|
+
* traversal from seed memories, seed-path resolution relative to
|
|
1445
|
+
* per-namespace storage, and the last-graph-recall snapshot persistence.
|
|
1446
|
+
* Behavior-preserving move from orchestrator.ts — no logic changes; the
|
|
1447
|
+
* orchestrator constructs one instance and keeps thin delegating methods so
|
|
1448
|
+
* existing call sites (recallInternal, cold-fallback pipeline) continue to
|
|
1449
|
+
* work.
|
|
1450
|
+
*
|
|
1451
|
+
* Config, storage, graph index, namespace resolution, and QMD result
|
|
1452
|
+
* resolution are accessed through getter callbacks (not captured at
|
|
1453
|
+
* construction) so that post-construction reassignment of the orchestrator's
|
|
1454
|
+
* live fields is honored. This mirrors the RecallRerankCoordinator /
|
|
1455
|
+
* ContradictionLinkingCoordinator accessor pattern.
|
|
1456
|
+
*/
|
|
1457
|
+
|
|
1458
|
+
interface GraphRecallRankedResult {
|
|
1459
|
+
path: string;
|
|
1460
|
+
score: number;
|
|
1461
|
+
docid?: string;
|
|
1462
|
+
sourceLabels: string[];
|
|
1463
|
+
}
|
|
1464
|
+
interface GraphRecallShadowComparison {
|
|
1465
|
+
baselineCount: number;
|
|
1466
|
+
graphCount: number;
|
|
1467
|
+
overlapCount: number;
|
|
1468
|
+
overlapRatio: number;
|
|
1469
|
+
averageOverlapDelta: number;
|
|
1470
|
+
}
|
|
1471
|
+
declare function mergeGraphExpandedResults(primary: QmdSearchResult[], expanded: QmdSearchResult[]): QmdSearchResult[];
|
|
1472
|
+
declare function graphPathRelativeToStorage(storageDir: string, candidatePath: string): string | null;
|
|
1473
|
+
declare function blendGraphExpandedRecallScore(options: {
|
|
1474
|
+
graphActivationScore: number;
|
|
1475
|
+
seedRecallScore: number;
|
|
1476
|
+
activationWeight: number;
|
|
1477
|
+
blendMin: number;
|
|
1478
|
+
blendMax: number;
|
|
1479
|
+
}): number;
|
|
1480
|
+
declare class GraphRecallCoordinator {
|
|
1481
|
+
private readonly getConfig;
|
|
1482
|
+
private readonly getStorage;
|
|
1483
|
+
private readonly storageFor;
|
|
1484
|
+
private readonly graphIndexFor;
|
|
1485
|
+
private readonly namespaceFromPath;
|
|
1486
|
+
private readonly resolveColdQmdResultForRecall;
|
|
1487
|
+
private readonly storageForAbsoluteQmdResultPath;
|
|
1488
|
+
private readonly readQmdResultMemory;
|
|
1489
|
+
constructor(options: {
|
|
1490
|
+
getConfig: () => PluginConfig;
|
|
1491
|
+
getStorage: () => StorageManager;
|
|
1492
|
+
storageFor: (namespace: string) => Promise<StorageManager>;
|
|
1493
|
+
graphIndexFor: (storage: StorageManager) => GraphIndex;
|
|
1494
|
+
namespaceFromPath: (p: string) => string;
|
|
1495
|
+
resolveColdQmdResultForRecall: (result: QmdSearchResult, fallbackStorage: StorageManager, recallNamespaces: readonly string[]) => Promise<{
|
|
1496
|
+
namespace: string;
|
|
1497
|
+
result: QmdSearchResult;
|
|
1498
|
+
} | null>;
|
|
1499
|
+
storageForAbsoluteQmdResultPath: (resultPath: string, fallbackStorage: StorageManager, recallNamespaces: readonly string[]) => Promise<{
|
|
1500
|
+
storage: StorageManager;
|
|
1501
|
+
dir: string;
|
|
1502
|
+
namespace: string;
|
|
1503
|
+
} | null>;
|
|
1504
|
+
readQmdResultMemory: (resultPath: string, fallbackStorage: StorageManager, recallNamespaces: readonly string[]) => Promise<MemoryFile | null>;
|
|
1505
|
+
});
|
|
1506
|
+
expandResultsViaGraph(options: {
|
|
1507
|
+
memoryResults: QmdSearchResult[];
|
|
1508
|
+
recallNamespaces: string[];
|
|
1509
|
+
recallResultLimit: number;
|
|
1510
|
+
deadlineAtMs?: number | null;
|
|
1511
|
+
/** Issue #681 — when true, bypass graphTraversalConfidenceFloor. */
|
|
1512
|
+
includeLowConfidence?: boolean;
|
|
1513
|
+
}): Promise<{
|
|
1514
|
+
merged: QmdSearchResult[];
|
|
1515
|
+
seedPaths: string[];
|
|
1516
|
+
expandedPaths: GraphRecallExpandedEntry[];
|
|
1517
|
+
seedResults: QmdSearchResult[];
|
|
1518
|
+
}>;
|
|
1519
|
+
recordLastGraphRecallSnapshot(options: {
|
|
1520
|
+
storage: StorageManager;
|
|
1521
|
+
prompt: string;
|
|
1522
|
+
recallMode: RecallPlanMode;
|
|
1523
|
+
recallNamespaces: string[];
|
|
1524
|
+
seedPaths: string[];
|
|
1525
|
+
expandedPaths: GraphRecallExpandedEntry[];
|
|
1526
|
+
status: "completed" | "skipped" | "aborted";
|
|
1527
|
+
reason?: string;
|
|
1528
|
+
shadowMode?: boolean;
|
|
1529
|
+
queryIntent: MemoryIntent;
|
|
1530
|
+
seedResults?: GraphRecallRankedResult[];
|
|
1531
|
+
finalResults?: GraphRecallRankedResult[];
|
|
1532
|
+
shadowComparison?: GraphRecallShadowComparison;
|
|
1533
|
+
}): Promise<void>;
|
|
1534
|
+
private graphSeedPathRelativeToStorage;
|
|
1535
|
+
private graphSeedPathsWithinDeadline;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1297
1538
|
/**
|
|
1298
1539
|
* Pattern-reinforcement maintenance job (issue #687 PR 2/4).
|
|
1299
1540
|
*
|
|
@@ -1459,6 +1700,7 @@ declare class BulkImportBatchPartialFailureError extends Error {
|
|
|
1459
1700
|
readonly originalError: unknown;
|
|
1460
1701
|
constructor(message: string, partialResult: BulkImportBatchIngestResult, originalError: unknown);
|
|
1461
1702
|
}
|
|
1703
|
+
|
|
1462
1704
|
interface GraphRecallSnapshot {
|
|
1463
1705
|
recordedAt: string;
|
|
1464
1706
|
mode: RecallPlanMode | string;
|
|
@@ -1477,19 +1719,6 @@ interface GraphRecallSnapshot {
|
|
|
1477
1719
|
finalResults?: GraphRecallRankedResult[];
|
|
1478
1720
|
shadowComparison?: GraphRecallShadowComparison;
|
|
1479
1721
|
}
|
|
1480
|
-
interface GraphRecallRankedResult {
|
|
1481
|
-
path: string;
|
|
1482
|
-
score: number;
|
|
1483
|
-
docid?: string;
|
|
1484
|
-
sourceLabels: string[];
|
|
1485
|
-
}
|
|
1486
|
-
interface GraphRecallShadowComparison {
|
|
1487
|
-
baselineCount: number;
|
|
1488
|
-
graphCount: number;
|
|
1489
|
-
overlapCount: number;
|
|
1490
|
-
overlapRatio: number;
|
|
1491
|
-
averageOverlapDelta: number;
|
|
1492
|
-
}
|
|
1493
1722
|
interface IntentDebugSnapshot {
|
|
1494
1723
|
recordedAt: string;
|
|
1495
1724
|
promptHash: string;
|
|
@@ -1639,7 +1868,7 @@ declare function defaultWorkspaceDir(): string;
|
|
|
1639
1868
|
*/
|
|
1640
1869
|
declare function sanitizeSessionKeyForFilename(sessionKey: string): string;
|
|
1641
1870
|
declare function isArtifactMemoryPath(filePath: string): boolean;
|
|
1642
|
-
|
|
1871
|
+
|
|
1643
1872
|
declare function buildCompressionGuidelinesMarkdown(events: MemoryActionEvent[], generatedAtIso?: string): string;
|
|
1644
1873
|
declare function filterRecallCandidates(candidates: QmdSearchResult[], options: {
|
|
1645
1874
|
namespacesEnabled: boolean;
|
|
@@ -1694,15 +1923,6 @@ declare function resolveRecallModeDecisionAsync(options: RecallModeGraphOptions
|
|
|
1694
1923
|
}): Promise<RecallModeDecision>;
|
|
1695
1924
|
declare function computeArtifactCandidateFetchLimit(targetCount: number): number;
|
|
1696
1925
|
declare function computeQmdHybridFetchLimit(recallFetchLimit: number, artifactsEnabled: boolean, maxArtifactRecall: number): number;
|
|
1697
|
-
declare function mergeGraphExpandedResults(primary: QmdSearchResult[], expanded: QmdSearchResult[]): QmdSearchResult[];
|
|
1698
|
-
declare function graphPathRelativeToStorage(storageDir: string, candidatePath: string): string | null;
|
|
1699
|
-
declare function blendGraphExpandedRecallScore(options: {
|
|
1700
|
-
graphActivationScore: number;
|
|
1701
|
-
seedRecallScore: number;
|
|
1702
|
-
activationWeight: number;
|
|
1703
|
-
blendMin: number;
|
|
1704
|
-
blendMax: number;
|
|
1705
|
-
}): number;
|
|
1706
1926
|
declare function summarizeGraphShadowComparison(baseline: QmdSearchResult[], merged: QmdSearchResult[], topN: number): {
|
|
1707
1927
|
baselineCount: number;
|
|
1708
1928
|
graphCount: number;
|
|
@@ -1875,6 +2095,25 @@ declare class Orchestrator {
|
|
|
1875
2095
|
* hands it to `enqueue`.
|
|
1876
2096
|
*/
|
|
1877
2097
|
readonly extractionQueueCoordinator: ExtractionQueueCoordinator;
|
|
2098
|
+
/**
|
|
2099
|
+
* Extraction-run pipeline coordinator (issue #1526 seam 15). Owns
|
|
2100
|
+
* `runExtraction` + dedupe fingerprint helpers + processed-fingerprint
|
|
2101
|
+
* recording. The orchestrator delegates and injects its own methods.
|
|
2102
|
+
*/
|
|
2103
|
+
private _extractionRunCoordinator;
|
|
2104
|
+
/**
|
|
2105
|
+
* Lazy getter: creates the ExtractionRunCoordinator on first access using
|
|
2106
|
+
* the orchestrator's live field references. Supports Object.create(prototype)
|
|
2107
|
+
* tests that set fields post-construction without invoking the constructor.
|
|
2108
|
+
*/
|
|
2109
|
+
private get extractionRunCoordinator();
|
|
2110
|
+
/**
|
|
2111
|
+
* Extraction-persist coordinator (issue #1526 seam 16). Owns the
|
|
2112
|
+
* `persistExtraction` pipeline. Lazy: created on first access so
|
|
2113
|
+
* Object.create(prototype) tests that set fields post-construction work.
|
|
2114
|
+
*/
|
|
2115
|
+
private _extractionPersistCoordinator;
|
|
2116
|
+
private get extractionPersistCoordinator();
|
|
1878
2117
|
/**
|
|
1879
2118
|
* Issue #1526: recall result formatting + identity continuity section moved
|
|
1880
2119
|
* to RecallResultFormatter.
|
|
@@ -1889,6 +2128,7 @@ declare class Orchestrator {
|
|
|
1889
2128
|
readonly recallSectionCoordinator: RecallSectionCoordinator;
|
|
1890
2129
|
readonly qmdResultResolver: QmdResultResolver;
|
|
1891
2130
|
readonly contradictionLinkingCoordinator: ContradictionLinkingCoordinator;
|
|
2131
|
+
readonly graphRecallCoordinator: GraphRecallCoordinator;
|
|
1892
2132
|
private heartbeatObserverChains;
|
|
1893
2133
|
private recentExtractionFingerprints;
|
|
1894
2134
|
private readonly consolidationObservers;
|
|
@@ -2589,7 +2829,7 @@ declare class Orchestrator {
|
|
|
2589
2829
|
/** Lazily construct the CorrectionService for passive capture. Stateless
|
|
2590
2830
|
* across requests (per #1580 design); cached for the orchestrator's life. */
|
|
2591
2831
|
private passiveCorrectionService;
|
|
2592
|
-
|
|
2832
|
+
runExtraction(...args: Parameters<ExtractionRunCoordinator["runExtraction"]>): Promise<ExtractionRunResult>;
|
|
2593
2833
|
private recordProcessedExtractionFingerprint;
|
|
2594
2834
|
private runTierMigrationCycle;
|
|
2595
2835
|
getTierMigrationStatus(): Promise<TierMigrationStatusSnapshot>;
|
|
@@ -2798,8 +3038,6 @@ declare class Orchestrator {
|
|
|
2798
3038
|
* Suggest links for a new memory based on similar existing memories.
|
|
2799
3039
|
*/
|
|
2800
3040
|
private suggestLinksForMemory;
|
|
2801
|
-
private graphSeedPathRelativeToStorage;
|
|
2802
|
-
private graphSeedPathsWithinDeadline;
|
|
2803
3041
|
private namespaceFromPath;
|
|
2804
3042
|
private storageDirNamespace;
|
|
2805
3043
|
/**
|
|
@@ -2820,4 +3058,4 @@ declare class Orchestrator {
|
|
|
2820
3058
|
private readArchivedMemoriesForNamespaces;
|
|
2821
3059
|
}
|
|
2822
3060
|
|
|
2823
|
-
export {
|
|
3061
|
+
export { appendMemoryToGraphContext as $, memoryStatusForMode as A, resolveSpeaker as B, resolveSyncDates as C, DEFAULT_SELF_NAME as D, sanitizeSessionKeyForFilename as E, saveSpeakerRegistry as F, type GraphRecallSnapshot as G, speakerRegistryKey as H, type IntentDebugSnapshot as I, speakersFilePath as J, syncWearableSource as K, wearableDayTag as L, wearableSourceLabel as M, writeDailyDigestMemory as N, Orchestrator as O, type PatternReinforcementResult as P, type BulkImportBatchIngestResult as Q, type ResolvedScopeProfilePlan as R, type ScopeProfileLayerResolution as S, BulkImportBatchPartialFailureError as T, type ExtractionRunResult as U, type GraphRecallRankedResult as V, WearablesService as W, type GraphRecallShadowComparison as X, type QmdRecallSnapshot as Y, type RecallInvocationOptions as Z, type RecallModeDecision as _, type ScopeProfilePromotionResolution as a, blendGraphExpandedRecallScore as a0, buildCompressionGuidelinesMarkdown as a1, buildMemoryPathById as a2, computeArtifactCandidateFetchLimit as a3, computeArtifactRecallLimit as a4, computeQmdHybridFetchLimit as a5, deriveTopicsFromExtraction as a6, filterRecallCandidates as a7, graphPathRelativeToStorage as a8, hasIdentityRecoveryIntent as a9, isArtifactMemoryPath as aa, lifecycleRecallScoreAdjustment as ab, mergeArtifactRecallCandidates as ac, mergeGraphExpandedResults as ad, resolveEffectiveIdentityInjectionMode as ae, resolveEffectiveRecallMode as af, resolvePersistedMemoryRelativePath as ag, resolveRecallModeDecision as ah, resolveRecallModeDecisionAsync as ai, resolveRecentThreadMemoryPaths as aj, shouldFilterLifecycleRecallCandidate as ak, summarizeGraphShadowComparison as al, type SpeakerRegistry as b, type ResolvedSpeaker as c, type SpeakerOverride as d, WEARABLE_SOURCE_PREFIX as e, type WearableDayTranscriptView as f, type WearableMemoryGenDeps as g, type WearableMemoryGenResult as h, type WearableMemorySearchResult as i, type WearableMemoryWriter as j, type WearableSearchBackend as k, type WearableStorageIo as l, type WearableSyncDeps as m, type WearableSyncOptions as n, type WearableTranscriptSearchResult as o, type WearablesServiceDeps as p, buildExtractionTurns as q, dateInTimezone as r, defaultTimezone as s, defaultWorkspaceDir as t, distinctSpeakerLabels as u, emptySpeakerRegistry as v, generateWearableMemories as w, importNativeMemories as x, loadSpeakerRegistry as y, locateTranscriptPath as z };
|
package/dist/orchestrator.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import './summarizer.js';
|
|
|
8
8
|
import './local-llm.js';
|
|
9
9
|
import './fallback-llm.js';
|
|
10
10
|
import './orchestration/maintenance.js';
|
|
11
|
-
export {
|
|
11
|
+
export { Q as BulkImportBatchIngestResult, T as BulkImportBatchPartialFailureError, U as ExtractionRunResult, V as GraphRecallRankedResult, X as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, Y as QmdRecallSnapshot, Z as RecallInvocationOptions, _ as RecallModeDecision, $ as appendMemoryToGraphContext, a0 as blendGraphExpandedRecallScore, a1 as buildCompressionGuidelinesMarkdown, a2 as buildMemoryPathById, a3 as computeArtifactCandidateFetchLimit, a4 as computeArtifactRecallLimit, a5 as computeQmdHybridFetchLimit, t as defaultWorkspaceDir, a6 as deriveTopicsFromExtraction, a7 as filterRecallCandidates, a8 as graphPathRelativeToStorage, a9 as hasIdentityRecoveryIntent, aa as isArtifactMemoryPath, ab as lifecycleRecallScoreAdjustment, ac as mergeArtifactRecallCandidates, ad as mergeGraphExpandedResults, ae as resolveEffectiveIdentityInjectionMode, af as resolveEffectiveRecallMode, ag as resolvePersistedMemoryRelativePath, ah as resolveRecallModeDecision, ai as resolveRecallModeDecisionAsync, aj as resolveRecentThreadMemoryPaths, E as sanitizeSessionKeyForFilename, ak as shouldFilterLifecycleRecallCandidate, al as summarizeGraphShadowComparison } from './orchestrator-BBGXLd20.js';
|
|
12
12
|
export { formatCompressionGuidelinesForRecall } from './orchestration/compression-guideline-coordinator.js';
|
|
13
13
|
import './live-connectors-runner.js';
|
|
14
14
|
import './model-registry.js';
|
|
@@ -22,11 +22,11 @@ import './semantic-DJR8_DMQ.js';
|
|
|
22
22
|
import './capabilities.js';
|
|
23
23
|
import './replay/types.js';
|
|
24
24
|
import './types-gb_SNtjR.js';
|
|
25
|
-
import './types-
|
|
25
|
+
import './types-CZm6rx9-.js';
|
|
26
26
|
import './lcm/engine.js';
|
|
27
|
-
import './semantic-consolidation-
|
|
27
|
+
import './semantic-consolidation-D3aSiu9t.js';
|
|
28
28
|
import './conversation-index/backend.js';
|
|
29
|
-
import './catalog-
|
|
29
|
+
import './catalog-D_ZDxu8Y.js';
|
|
30
30
|
import './namespaces/search.js';
|
|
31
31
|
import './shared-context/manager.js';
|
|
32
32
|
import './compounding/engine.js';
|
|
@@ -63,6 +63,9 @@ import './trust-score.js';
|
|
|
63
63
|
import './conversation-index/chunker.js';
|
|
64
64
|
import './faiss-adapter-BHecI1fF.js';
|
|
65
65
|
import './runtime/child-process.js';
|
|
66
|
+
import './namespaces/storage.js';
|
|
67
|
+
import './threading.js';
|
|
68
|
+
import './graph.js';
|
|
66
69
|
import './extraction-judge.js';
|
|
67
70
|
import './framework-CNDn2164.js';
|
|
68
71
|
import './memory-provenance.js';
|