@remnic/core 9.3.746 → 9.3.748
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 +2 -2
- package/dist/access-cli.js +1 -1
- package/dist/access-http.d.ts +2 -2
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-operations.d.ts +2 -2
- package/dist/{access-service-Cx16nmCv.d.ts → access-service-CH1aqqb1.d.ts} +1 -1
- package/dist/access-service.d.ts +2 -2
- package/dist/access-surface-catalog.d.ts +2 -2
- package/dist/bootstrap.d.ts +1 -1
- package/dist/{chunk-PJE6D3NH.js → chunk-ZWGXZ7ID.js} +11555 -10846
- package/dist/chunk-ZWGXZ7ID.js.map +1 -0
- package/dist/{cli-D1y3vooB.d.ts → cli-CE5olss2.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/{orchestrator-CnCE3Hvq.d.ts → orchestrator-CIOqdNzF.d.ts} +77 -85
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +27 -3
- package/package.json +2 -2
- package/src/orchestration/orchestrator-init.ts +712 -0
- package/src/orchestration/recall-internal.ts +5479 -0
- package/src/orchestration/recall-introspection.ts +709 -0
- package/src/orchestration/recall-search-pipeline.ts +1710 -0
- package/src/orchestration/turn-ingestion.ts +792 -0
- package/src/orchestrator.ts +423 -8077
- package/dist/chunk-PJE6D3NH.js.map +0 -1
|
@@ -7,7 +7,7 @@ import { RebuildMemoryLifecycleLedgerResult } from './maintenance/rebuild-memory
|
|
|
7
7
|
import { RebuildObservationsResult } from './maintenance/rebuild-observations.js';
|
|
8
8
|
import { ArchiveObservationsResult } from './maintenance/archive-observations.js';
|
|
9
9
|
import { Writable, Readable } from 'node:stream';
|
|
10
|
-
import { O as Orchestrator } from './orchestrator-
|
|
10
|
+
import { O as Orchestrator } from './orchestrator-CIOqdNzF.js';
|
|
11
11
|
import { ReplayRunSummary } from './replay/runner.js';
|
|
12
12
|
import { ReplaySource, ReplayTurn } from './replay/types.js';
|
|
13
13
|
import { b as BulkImportResult } from './types-gb_SNtjR.js';
|
|
@@ -16,7 +16,7 @@ import { WorkProjectStatus, WorkTaskStatus, WorkTaskPriority } from './work/type
|
|
|
16
16
|
import { RoutePatternType } from './routing/engine.js';
|
|
17
17
|
import { TailscaleSyncOptions } from './network/tailscale.js';
|
|
18
18
|
import { DashboardStatus } from './dashboard-runtime.js';
|
|
19
|
-
import { g as EngramAccessService } from './access-service-
|
|
19
|
+
import { g as EngramAccessService } from './access-service-CH1aqqb1.js';
|
|
20
20
|
import { ResolveSecretRefFn } from './resolve-auth-token.js';
|
|
21
21
|
import { CompatRunner, CompatReport } from './compat/types.js';
|
|
22
22
|
import { EvalBaselineDeltaReport, EvalBaselineSnapshot, EvalCiGateReport, EvalBenchmarkPackSummary, EvalHarnessStatus, EvalStoredBaselineCiGateReport } from './evals.js';
|
package/dist/cli.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import './maintenance/rebuild-memory-lifecycle-ledger.js';
|
|
|
7
7
|
import './maintenance/rebuild-observations.js';
|
|
8
8
|
import './maintenance/archive-observations.js';
|
|
9
9
|
import 'node:stream';
|
|
10
|
-
import './orchestrator-
|
|
10
|
+
import './orchestrator-CIOqdNzF.js';
|
|
11
11
|
import './replay/runner.js';
|
|
12
12
|
import './replay/types.js';
|
|
13
13
|
import './types-gb_SNtjR.js';
|
|
@@ -16,7 +16,7 @@ import './work/types.js';
|
|
|
16
16
|
import './routing/engine.js';
|
|
17
17
|
import './network/tailscale.js';
|
|
18
18
|
import './dashboard-runtime.js';
|
|
19
|
-
import './access-service-
|
|
19
|
+
import './access-service-CH1aqqb1.js';
|
|
20
20
|
import './resolve-auth-token.js';
|
|
21
21
|
import './compat/types.js';
|
|
22
22
|
import './evals.js';
|
|
@@ -38,7 +38,7 @@ import './trust-zones.js';
|
|
|
38
38
|
import './session-integrity.js';
|
|
39
39
|
import './recall-state.js';
|
|
40
40
|
import './policy-runtime.js';
|
|
41
|
-
export { A as AccessHttpServeCliCommandOptions, a as ArchiveObservationsCliCommandOptions, B as BulkImportCliCommandOptions, C as CliApi, b as CliCommand, c as CliProgram, d as CompatCliCommandOptions, e as ConnectorsRunCliOutputOptions, f as ConversationIndexHealthCliOrchestrator, D as DashboardStartCliCommandOptions, g as DedupeCandidate, E as ExactDedupePlan, G as GraphHealthCliCommandOptions, M as MemoryActionAuditCliCommandOptions, h as MemoryActionAuditCliNamespaceSummary, i as MemoryActionAuditCliReport, j as MemoryGovernanceCliCommandOptions, k as MemoryGovernanceReportCliCommandOptions, l as MemoryGovernanceRestoreCliCommandOptions, m as MemoryReviewDispositionCliCommandOptions, n as MemoryTimelineCliCommandOptions, o as MigrateCliOrchestrator, q as MigrateCliReport, s as MigrateObservationsCliCommandOptions, P as PolicyDiffCliReport, t as PolicyDiffEntry, u as PolicyRollbackCliReport, v as PolicyStatusCliReport, w as PolicyTuningCliOrchestrator, R as RebuildMemoryLifecycleLedgerCliCommandOptions, x as RebuildMemoryProjectionCliCommandOptions, y as RebuildObservationsCliCommandOptions, z as RepairMemoryProjectionCliCommandOptions, F as ReplayCliCommandOptions, H as ReplayCliOrchestrator, I as RouteCliCommandOptions, S as SessionIntegrityCliCommandOptions, J as SessionRepairCliCommandOptions, T as TailscaleStatusCliCommandOptions, K as TailscaleSyncCliCommandOptions, L as TierMigrationCliOrchestrator, N as TrainingExportCliCommandOptions, V as VerifyMemoryProjectionCliCommandOptions, W as WebDavServeCliCommandOptions, O as WorkProjectCliCommandOptions, Q as WorkTaskCliCommandOptions, U as emitConnectorsRunCliResult, X as filterNormalMemorySearchResults, Y as hasDestructivePurgeFailures, Z as isNormalRetrievalVisibleMemory, _ as listMemoryMarkdownFilePaths, $ as parseDurationToMs, a0 as parseStrictCliDate, a1 as planAggressiveDuplicateDeletions, a2 as planExactDuplicateDeletions, a3 as registerCli, a4 as resolveAccessPrincipalOverride, a5 as resolveMemoryDirForNamespace, a6 as runAbstractionNodeStatusCliCommand, a7 as runAccessHttpServeCliCommand, a8 as runAccessHttpStatusCliCommand, a9 as runAccessHttpStopCliCommand, aa as runAccessMcpServeCliCommand, ab as runArchiveObservationsCliCommand, ac as runBenchmarkBaselineReportCliCommand, ad as runBenchmarkBaselineSnapshotCliCommand, ae as runBenchmarkCiGateCliCommand, af as runBenchmarkImportCliCommand, ag as runBenchmarkStatusCliCommand, ah as runBenchmarkStoredBaselineCiGateCliCommand, ai as runBenchmarkValidateCliCommand, r as runBulkImportCliCommand, aj as runCausalTrajectoryStatusCliCommand, ak as runCommitmentLifecycleCliCommand, al as runCommitmentRecordCliCommand, am as runCommitmentSetStateCliCommand, an as runCommitmentStatusCliCommand, ao as runCompatCliCommand, ap as runCompoundingPromoteCliCommand, aq as runConversationIndexHealthCliCommand, ar as runConversationIndexInspectCliCommand, as as runConversationIndexRebuildCliCommand, at as runCueAnchorStatusCliCommand, au as runDashboardStartCliCommand, av as runDashboardStatusCliCommand, aw as runDashboardStopCliCommand, ax as runGraphHealthCliCommand, ay as runHarmonicSearchCliCommand, az as runMemoryActionAuditCliCommand, aA as runMemoryGovernanceCliCommand, aB as runMemoryGovernanceReportCliCommand, aC as runMemoryGovernanceRestoreCliCommand, aD as runMemoryReviewDispositionCliCommand, aE as runMemoryTimelineCliCommand, aF as runMigrateNormalizeFrontmatterCliCommand, aG as runMigrateObservationsCliCommand, aH as runMigrateRechunkCliCommand, aI as runMigrateReextractCliCommand, aJ as runMigrateRescoreImportanceCliCommand, aK as runObjectiveStateStatusCliCommand, aL as runPolicyDiffCliCommand, aM as runPolicyRollbackCliCommand, aN as runPolicyStatusCliCommand, aO as runRebuildMemoryLifecycleLedgerCliCommand, aP as runRebuildMemoryProjectionCliCommand, aQ as runRebuildObservationsCliCommand, aR as runRepairMemoryProjectionCliCommand, aS as runReplayCliCommand, aT as runResumeBundleBuildCliCommand, aU as runResumeBundleRecordCliCommand, aV as runResumeBundleStatusCliCommand, aW as runRouteCliCommand, aX as runSemanticRulePromoteCliCommand, aY as runSemanticRuleVerifyCliCommand, aZ as runSessionCheckCliCommand, a_ as runSessionRepairCliCommand, a$ as runTailscaleStatusCliCommand, b0 as runTailscaleSyncCliCommand, b1 as runTierMigrateCliCommand, b2 as runTierStatusCliCommand, b3 as runTrainingExportCliCommand, b4 as runTrustZoneDemoSeedCliCommand, b5 as runTrustZonePromoteCliCommand, b6 as runTrustZoneStatusCliCommand, b7 as runUtilityLearningCliCommand, b8 as runUtilityLearningStatusCliCommand, b9 as runUtilityTelemetryRecordCliCommand, ba as runUtilityTelemetryStatusCliCommand, bb as runVerifiedRecallSearchCliCommand, bc as runVerifyMemoryProjectionCliCommand, bd as runWebDavServeCliCommand, be as runWebDavStopCliCommand, bf as runWorkProductRecallSearchCliCommand, bg as runWorkProductRecordCliCommand, bh as runWorkProductStatusCliCommand, bi as runWorkProjectCliCommand, bj as runWorkTaskCliCommand } from './cli-
|
|
41
|
+
export { A as AccessHttpServeCliCommandOptions, a as ArchiveObservationsCliCommandOptions, B as BulkImportCliCommandOptions, C as CliApi, b as CliCommand, c as CliProgram, d as CompatCliCommandOptions, e as ConnectorsRunCliOutputOptions, f as ConversationIndexHealthCliOrchestrator, D as DashboardStartCliCommandOptions, g as DedupeCandidate, E as ExactDedupePlan, G as GraphHealthCliCommandOptions, M as MemoryActionAuditCliCommandOptions, h as MemoryActionAuditCliNamespaceSummary, i as MemoryActionAuditCliReport, j as MemoryGovernanceCliCommandOptions, k as MemoryGovernanceReportCliCommandOptions, l as MemoryGovernanceRestoreCliCommandOptions, m as MemoryReviewDispositionCliCommandOptions, n as MemoryTimelineCliCommandOptions, o as MigrateCliOrchestrator, q as MigrateCliReport, s as MigrateObservationsCliCommandOptions, P as PolicyDiffCliReport, t as PolicyDiffEntry, u as PolicyRollbackCliReport, v as PolicyStatusCliReport, w as PolicyTuningCliOrchestrator, R as RebuildMemoryLifecycleLedgerCliCommandOptions, x as RebuildMemoryProjectionCliCommandOptions, y as RebuildObservationsCliCommandOptions, z as RepairMemoryProjectionCliCommandOptions, F as ReplayCliCommandOptions, H as ReplayCliOrchestrator, I as RouteCliCommandOptions, S as SessionIntegrityCliCommandOptions, J as SessionRepairCliCommandOptions, T as TailscaleStatusCliCommandOptions, K as TailscaleSyncCliCommandOptions, L as TierMigrationCliOrchestrator, N as TrainingExportCliCommandOptions, V as VerifyMemoryProjectionCliCommandOptions, W as WebDavServeCliCommandOptions, O as WorkProjectCliCommandOptions, Q as WorkTaskCliCommandOptions, U as emitConnectorsRunCliResult, X as filterNormalMemorySearchResults, Y as hasDestructivePurgeFailures, Z as isNormalRetrievalVisibleMemory, _ as listMemoryMarkdownFilePaths, $ as parseDurationToMs, a0 as parseStrictCliDate, a1 as planAggressiveDuplicateDeletions, a2 as planExactDuplicateDeletions, a3 as registerCli, a4 as resolveAccessPrincipalOverride, a5 as resolveMemoryDirForNamespace, a6 as runAbstractionNodeStatusCliCommand, a7 as runAccessHttpServeCliCommand, a8 as runAccessHttpStatusCliCommand, a9 as runAccessHttpStopCliCommand, aa as runAccessMcpServeCliCommand, ab as runArchiveObservationsCliCommand, ac as runBenchmarkBaselineReportCliCommand, ad as runBenchmarkBaselineSnapshotCliCommand, ae as runBenchmarkCiGateCliCommand, af as runBenchmarkImportCliCommand, ag as runBenchmarkStatusCliCommand, ah as runBenchmarkStoredBaselineCiGateCliCommand, ai as runBenchmarkValidateCliCommand, r as runBulkImportCliCommand, aj as runCausalTrajectoryStatusCliCommand, ak as runCommitmentLifecycleCliCommand, al as runCommitmentRecordCliCommand, am as runCommitmentSetStateCliCommand, an as runCommitmentStatusCliCommand, ao as runCompatCliCommand, ap as runCompoundingPromoteCliCommand, aq as runConversationIndexHealthCliCommand, ar as runConversationIndexInspectCliCommand, as as runConversationIndexRebuildCliCommand, at as runCueAnchorStatusCliCommand, au as runDashboardStartCliCommand, av as runDashboardStatusCliCommand, aw as runDashboardStopCliCommand, ax as runGraphHealthCliCommand, ay as runHarmonicSearchCliCommand, az as runMemoryActionAuditCliCommand, aA as runMemoryGovernanceCliCommand, aB as runMemoryGovernanceReportCliCommand, aC as runMemoryGovernanceRestoreCliCommand, aD as runMemoryReviewDispositionCliCommand, aE as runMemoryTimelineCliCommand, aF as runMigrateNormalizeFrontmatterCliCommand, aG as runMigrateObservationsCliCommand, aH as runMigrateRechunkCliCommand, aI as runMigrateReextractCliCommand, aJ as runMigrateRescoreImportanceCliCommand, aK as runObjectiveStateStatusCliCommand, aL as runPolicyDiffCliCommand, aM as runPolicyRollbackCliCommand, aN as runPolicyStatusCliCommand, aO as runRebuildMemoryLifecycleLedgerCliCommand, aP as runRebuildMemoryProjectionCliCommand, aQ as runRebuildObservationsCliCommand, aR as runRepairMemoryProjectionCliCommand, aS as runReplayCliCommand, aT as runResumeBundleBuildCliCommand, aU as runResumeBundleRecordCliCommand, aV as runResumeBundleStatusCliCommand, aW as runRouteCliCommand, aX as runSemanticRulePromoteCliCommand, aY as runSemanticRuleVerifyCliCommand, aZ as runSessionCheckCliCommand, a_ as runSessionRepairCliCommand, a$ as runTailscaleStatusCliCommand, b0 as runTailscaleSyncCliCommand, b1 as runTierMigrateCliCommand, b2 as runTierStatusCliCommand, b3 as runTrainingExportCliCommand, b4 as runTrustZoneDemoSeedCliCommand, b5 as runTrustZonePromoteCliCommand, b6 as runTrustZoneStatusCliCommand, b7 as runUtilityLearningCliCommand, b8 as runUtilityLearningStatusCliCommand, b9 as runUtilityTelemetryRecordCliCommand, ba as runUtilityTelemetryStatusCliCommand, bb as runVerifiedRecallSearchCliCommand, bc as runVerifyMemoryProjectionCliCommand, bd as runWebDavServeCliCommand, be as runWebDavStopCliCommand, bf as runWorkProductRecallSearchCliCommand, bg as runWorkProductRecordCliCommand, bh as runWorkProductStatusCliCommand, bi as runWorkProjectCliCommand, bj as runWorkTaskCliCommand } from './cli-CE5olss2.js';
|
|
42
42
|
import './connectors-cli-2iaQ5tX2.js';
|
|
43
43
|
import './storage.js';
|
|
44
44
|
import './page-versioning.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
|
|
2
2
|
export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
|
|
3
3
|
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
4
|
-
import { b as SpeakerRegistry, W as WearablesService } from './orchestrator-
|
|
5
|
-
export { D as DEFAULT_SELF_NAME, O as Orchestrator, c as ResolvedSpeaker, d as SpeakerOverride, e as WEARABLE_SOURCE_PREFIX, f as WearableDayTranscriptView, g as WearableMemoryGenDeps, h as WearableMemoryGenResult, i as WearableMemorySearchResult, j as WearableMemoryWriter, k as WearableSearchBackend, l as WearableStorageIo, m as WearableSyncDeps, n as WearableSyncOptions, o as WearableTranscriptSearchResult, p as WearablesServiceDeps, q as buildExtractionTurns, r as dateInTimezone, s as defaultTimezone, t as defaultWorkspaceDir, u as distinctSpeakerLabels, v as emptySpeakerRegistry, w as generateWearableMemories, x as importNativeMemories, y as loadSpeakerRegistry, z as locateTranscriptPath, A as memoryStatusForMode, B as resolveSpeaker, C as resolveSyncDates, E as sanitizeSessionKeyForFilename, F as saveSpeakerRegistry, H as speakerRegistryKey, J as speakersFilePath, K as syncWearableSource, L as wearableDayTag, M as wearableSourceLabel, N as writeDailyDigestMemory } from './orchestrator-
|
|
4
|
+
import { b as SpeakerRegistry, W as WearablesService } from './orchestrator-CIOqdNzF.js';
|
|
5
|
+
export { D as DEFAULT_SELF_NAME, O as Orchestrator, c as ResolvedSpeaker, d as SpeakerOverride, e as WEARABLE_SOURCE_PREFIX, f as WearableDayTranscriptView, g as WearableMemoryGenDeps, h as WearableMemoryGenResult, i as WearableMemorySearchResult, j as WearableMemoryWriter, k as WearableSearchBackend, l as WearableStorageIo, m as WearableSyncDeps, n as WearableSyncOptions, o as WearableTranscriptSearchResult, p as WearablesServiceDeps, q as buildExtractionTurns, r as dateInTimezone, s as defaultTimezone, t as defaultWorkspaceDir, u as distinctSpeakerLabels, v as emptySpeakerRegistry, w as generateWearableMemories, x as importNativeMemories, y as loadSpeakerRegistry, z as locateTranscriptPath, A as memoryStatusForMode, B as resolveSpeaker, C as resolveSyncDates, E as sanitizeSessionKeyForFilename, F as saveSpeakerRegistry, H as speakerRegistryKey, J as speakersFilePath, K as syncWearableSource, L as wearableDayTag, M as wearableSourceLabel, N as writeDailyDigestMemory } from './orchestrator-CIOqdNzF.js';
|
|
6
6
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
7
7
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
8
8
|
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
@@ -24,7 +24,7 @@ import { ax as CodingContext, aS as CodingModeConfig, P as PluginConfig, aT as C
|
|
|
24
24
|
export { X as AgentAccessAuthToken, r as BriefingActiveThread, aW as BriefingConfig, p as BriefingFocus, o as BriefingFollowup, aX as BriefingOpenCommitment, t as BriefingRecentEntity, s as BriefingResult, n as BriefingSections, aY as BriefingWindow, U as BufferSurpriseEvent, q as CalendarEvent, C as CalendarSource, aZ as CodexCompatConfig, aR as ConsolidationObservation, a9 as ContinuityImprovementLoop, a_ as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, a5 as EntityStructuredSection, a$ as ExtractedFact, G as GatewayConfig, af as MemoryActionEligibilityContext, b0 as MemoryActionEligibilitySource, $ as MemoryActionType, g as MemoryFile, k as MemoryFrontmatter, b1 as MemoryObservation, b2 as MemoryScope, b3 as RECALL_DISCLOSURE_LEVELS, i as RecallDisclosure, W as SecretRef, b4 as WearableAuthCheck, b5 as WearableFetchOptions, b6 as WearableFetchPage, aH as WearableMemoryMode, aG as WearableNativeMemory, b7 as WearableNativeMemoryPage, aL as WearableSourceStatus, aK as WearableSyncSummary, b8 as WearableTranscriptSegment, b9 as isRecallDisclosure } from './types-CZm6rx9-.js';
|
|
25
25
|
export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
26
26
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
27
|
-
export { i as EngramAccessInputError, g as EngramAccessService, P as ProcedureStatsConfigSnapshot, j as ProcedureStatsRecent, k as ProcedureStatsReport, l as ProcedureStatusCounts, m as computeProcedureStats, n as formatProcedureStatsText } from './access-service-
|
|
27
|
+
export { i as EngramAccessInputError, g as EngramAccessService, P as ProcedureStatsConfigSnapshot, j as ProcedureStatsRecent, k as ProcedureStatsReport, l as ProcedureStatusCounts, m as computeProcedureStats, n as formatProcedureStatsText } from './access-service-CH1aqqb1.js';
|
|
28
28
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
29
29
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
30
30
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -79,7 +79,7 @@ export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, Enrichme
|
|
|
79
79
|
export { d as BulkImportError, B as BulkImportOptions, b as BulkImportResult, a as BulkImportSource, e as BulkImportSourceAdapter, f as ImportSourceRole, I as ImportTurn, g as ImportTurnValidationIssue, i as isImportRole, p as parseIsoTimestamp, v as validateImportTurn } from './types-gb_SNtjR.js';
|
|
80
80
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
81
81
|
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DmqtvION.js';
|
|
82
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
82
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-CE5olss2.js';
|
|
83
83
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
84
84
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
85
85
|
export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as EngramAccessRecallResponse } from './access-service-
|
|
1
|
+
import { h as EngramAccessRecallResponse } from './access-service-CH1aqqb1.js';
|
|
2
2
|
import { ActionConfidenceRequest } from './access-schema.js';
|
|
3
3
|
import { RecallXraySnapshot } from './recall-xray.js';
|
|
4
4
|
import { ActionConfidenceResult } from './action-confidence.js';
|
|
@@ -6,7 +6,7 @@ import './catalog-D_ZDxu8Y.js';
|
|
|
6
6
|
import './types-CZm6rx9-.js';
|
|
7
7
|
import './types-gb_SNtjR.js';
|
|
8
8
|
import './message-parts/index.js';
|
|
9
|
-
import './orchestrator-
|
|
9
|
+
import './orchestrator-CIOqdNzF.js';
|
|
10
10
|
import './briefing.js';
|
|
11
11
|
import './storage.js';
|
|
12
12
|
import './page-versioning.js';
|
|
@@ -36,7 +36,7 @@ import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
|
36
36
|
import { ModelRegistry } from './model-registry.js';
|
|
37
37
|
import { RelevanceStore } from './relevance.js';
|
|
38
38
|
import { NegativeExampleStore } from './negative.js';
|
|
39
|
-
import { RecallXraySnapshot } from './recall-xray.js';
|
|
39
|
+
import { RecallXraySnapshot, RecallXrayServedBy } from './recall-xray.js';
|
|
40
40
|
import { SessionObserverState } from './session-observer-state.js';
|
|
41
41
|
import { a as SemanticDedupHit } from './semantic-DJR8_DMQ.js';
|
|
42
42
|
import { ReplayTurn } from './replay/types.js';
|
|
@@ -1789,6 +1789,19 @@ interface RecallModeDecision {
|
|
|
1789
1789
|
*/
|
|
1790
1790
|
shadowLlmMode?: RecallPlanMode;
|
|
1791
1791
|
}
|
|
1792
|
+
/**
|
|
1793
|
+
* Map the orchestrator's internal `recallSource` strings to the
|
|
1794
|
+
* X-ray `servedBy` vocabulary (issue #570 PR 1). The X-ray tier
|
|
1795
|
+
* ladder intentionally flattens QMD / embedding / cold-fallback to
|
|
1796
|
+
* the `hybrid` tier because they all materialize through the same
|
|
1797
|
+
* hybrid BM25+vector pipeline from the caller's perspective. The
|
|
1798
|
+
* `recent_scan` path gets its own dedicated tier because it bypasses
|
|
1799
|
+
* the hybrid pipeline entirely. `none` is treated as `hybrid` on the
|
|
1800
|
+
* theory that a query that returned nothing still routed through the
|
|
1801
|
+
* hybrid pipeline — but callers should normally gate capture on
|
|
1802
|
+
* `recalledMemoryIds.length > 0`.
|
|
1803
|
+
*/
|
|
1804
|
+
declare function mapRecallSourceToXrayServedBy(source: "none" | "hot_qmd" | "hot_embedding" | "cold_fallback" | "recent_scan"): RecallXrayServedBy;
|
|
1792
1805
|
interface RecallInvocationOptions {
|
|
1793
1806
|
namespace?: string;
|
|
1794
1807
|
topK?: number;
|
|
@@ -1848,10 +1861,24 @@ interface RecallInvocationOptions {
|
|
|
1848
1861
|
*/
|
|
1849
1862
|
currentContextScopes?: readonly unknown[];
|
|
1850
1863
|
}
|
|
1864
|
+
type QueryAwarePrefilter = {
|
|
1865
|
+
candidatePaths: Set<string> | null;
|
|
1866
|
+
temporalFromDate: string | null;
|
|
1867
|
+
matchedTags: string[];
|
|
1868
|
+
expandedTags: string[];
|
|
1869
|
+
combination: "none" | "temporal" | "tag" | "intersection" | "union";
|
|
1870
|
+
filteredToFullSearch: boolean;
|
|
1871
|
+
};
|
|
1872
|
+
declare function throwIfRecallAborted(signal?: AbortSignal, message?: string): void;
|
|
1873
|
+
declare function raceRecallAbort<T>(promise: Promise<T>, signal?: AbortSignal, message?: string): Promise<T>;
|
|
1874
|
+
/** Maximum age (ms) before a compaction-reset signal file is considered stale and removed. */
|
|
1875
|
+
declare const COMPACTION_SIGNAL_MAX_AGE_MS: number;
|
|
1851
1876
|
type DaySummaryGatherOptions = {
|
|
1852
1877
|
timeZone?: string;
|
|
1853
1878
|
now?: Date;
|
|
1854
1879
|
};
|
|
1880
|
+
type SearchCollectionState = "present" | "missing" | "unknown" | "skipped";
|
|
1881
|
+
declare function qmdStartupCollectionCheckWithTimeout(promise: Promise<SearchCollectionState>, controller: AbortController, label: string): Promise<SearchCollectionState>;
|
|
1855
1882
|
/** Default workspace directory when no per-agent or config workspace is available. */
|
|
1856
1883
|
declare function defaultWorkspaceDir(): string;
|
|
1857
1884
|
/**
|
|
@@ -1867,6 +1894,10 @@ declare function defaultWorkspaceDir(): string;
|
|
|
1867
1894
|
* Example: `agent:gpucodebot:main` → `agent_gpucodebot_main-a1b2c3d4e5f6`
|
|
1868
1895
|
*/
|
|
1869
1896
|
declare function sanitizeSessionKeyForFilename(sessionKey: string): string;
|
|
1897
|
+
declare function targetSourceValidAtSortMs(turns: readonly BufferTurn[]): number;
|
|
1898
|
+
declare function splitTurnsBySourceValidAt(turns: readonly BufferTurn[], options?: {
|
|
1899
|
+
includeContext?: boolean;
|
|
1900
|
+
}): BufferTurn[][];
|
|
1870
1901
|
declare function isArtifactMemoryPath(filePath: string): boolean;
|
|
1871
1902
|
|
|
1872
1903
|
declare function buildCompressionGuidelinesMarkdown(events: MemoryActionEvent[], generatedAtIso?: string): string;
|
|
@@ -1876,6 +1907,8 @@ declare function filterRecallCandidates(candidates: QmdSearchResult[], options:
|
|
|
1876
1907
|
resolveNamespace: (path: string) => string;
|
|
1877
1908
|
limit: number;
|
|
1878
1909
|
}): QmdSearchResult[];
|
|
1910
|
+
declare function applyQueryAwareCandidateFilter(candidates: QmdSearchResult[], candidatePaths: Set<string> | null): QmdSearchResult[];
|
|
1911
|
+
declare function tokenizeRecallQuery(prompt: string): string[];
|
|
1879
1912
|
declare function shouldFilterLifecycleRecallCandidate(frontmatter: MemoryFrontmatter, options: {
|
|
1880
1913
|
lifecyclePolicyEnabled: boolean;
|
|
1881
1914
|
lifecycleFilterStaleEnabled: boolean;
|
|
@@ -1930,6 +1963,9 @@ declare function summarizeGraphShadowComparison(baseline: QmdSearchResult[], mer
|
|
|
1930
1963
|
overlapRatio: number;
|
|
1931
1964
|
averageOverlapDelta: number;
|
|
1932
1965
|
};
|
|
1966
|
+
declare function parseGraphRecallRankedResults(value: unknown): GraphRecallRankedResult[];
|
|
1967
|
+
declare function parseMemoryIntentSnapshot(value: unknown): MemoryIntent;
|
|
1968
|
+
declare function parseQmdRecallResults(value: unknown): QmdSearchResult[];
|
|
1933
1969
|
declare function mergeArtifactRecallCandidates(candidatesByNamespace: MemoryFile[][], limit: number): MemoryFile[];
|
|
1934
1970
|
declare function resolveRecentThreadMemoryPaths(options: {
|
|
1935
1971
|
threadEpisodeIds: string[];
|
|
@@ -2008,15 +2044,6 @@ declare class Orchestrator {
|
|
|
2008
2044
|
private lastPersistExtractionPendingReviewIds;
|
|
2009
2045
|
private readonly _fastGatewayLlm;
|
|
2010
2046
|
get fastGatewayLlm(): FallbackLlmClient | null;
|
|
2011
|
-
/**
|
|
2012
|
-
* Faithfulness gate verdict distribution (issue #1576). Consumed by the
|
|
2013
|
-
* console-state aggregator so `remnic doctor` can render how the gate is
|
|
2014
|
-
* performing. Returns a fresh object so callers cannot mutate the
|
|
2015
|
-
* internal counters. Returns `undefined` when the gate is off so the
|
|
2016
|
-
* console-state snapshot omits the faithfulness block entirely (cursor
|
|
2017
|
-
* review: an all-zero block would otherwise always be truthy and leak
|
|
2018
|
-
* into snapshots that document it as absent-when-off).
|
|
2019
|
-
*/
|
|
2020
2047
|
getConsoleFaithfulnessDistribution(): FaithfulnessGateCounters | undefined;
|
|
2021
2048
|
readonly modelRegistry: ModelRegistry;
|
|
2022
2049
|
readonly relevance: RelevanceStore;
|
|
@@ -2452,19 +2479,6 @@ declare class Orchestrator {
|
|
|
2452
2479
|
get briefingChainFollowupGenerator(): BriefingFollowupGenerator | undefined;
|
|
2453
2480
|
initialize(): Promise<void>;
|
|
2454
2481
|
private deferredInitialize;
|
|
2455
|
-
/**
|
|
2456
|
-
* Namespace-aware startup search sync. Re-probes QMD, ensures collections
|
|
2457
|
-
* (namespace-aware when namespacesEnabled), runs update, and warms up search.
|
|
2458
|
-
* Designed for server retry paths that run after the deferred init completes
|
|
2459
|
-
* when QMD was not available during initial startup.
|
|
2460
|
-
*
|
|
2461
|
-
* Accepts an optional AbortSignal so callers can interrupt the sync during
|
|
2462
|
-
* shutdown. The signal is checked between phases and forwarded into the QMD
|
|
2463
|
-
* update and warmup search calls so a long-running `qmd update` subprocess
|
|
2464
|
-
* is killed promptly rather than left in flight after `httpServer.stop()`.
|
|
2465
|
-
*
|
|
2466
|
-
* Returns true if the sync succeeded (QMD now available), false otherwise.
|
|
2467
|
-
*/
|
|
2468
2482
|
startupSearchSync(signal?: AbortSignal): Promise<boolean>;
|
|
2469
2483
|
/**
|
|
2470
2484
|
* Run the pattern-reinforcement maintenance job (issue #687 PR 2/4).
|
|
@@ -2673,10 +2687,6 @@ declare class Orchestrator {
|
|
|
2673
2687
|
getLastXraySnapshot(): RecallXraySnapshot | null;
|
|
2674
2688
|
/** Clear the captured X-ray snapshot. Exposed for tests / explicit reset. */
|
|
2675
2689
|
clearLastXraySnapshot(): void;
|
|
2676
|
-
/**
|
|
2677
|
-
* Await the in-flight observation-mode direct-answer annotation chain.
|
|
2678
|
-
* Resolves to true when settled, false on timeout.
|
|
2679
|
-
*/
|
|
2680
2690
|
waitForDirectAnswerObservationIdle(timeoutMs?: number): Promise<boolean>;
|
|
2681
2691
|
private enqueueDirectAnswerObservation;
|
|
2682
2692
|
private annotateDirectAnswerTier;
|
|
@@ -2713,6 +2723,45 @@ declare class Orchestrator {
|
|
|
2713
2723
|
* Production behavior is unchanged — it returns the wall clock.
|
|
2714
2724
|
*/
|
|
2715
2725
|
protected recallAssemblyClockMs(): number;
|
|
2726
|
+
/**
|
|
2727
|
+
* Recall-internal coordinator (issue #1526 seam 18). Owns the full
|
|
2728
|
+
* `recallInternal` assembly pipeline. Lazy: created on first access so
|
|
2729
|
+
* Object.create(prototype) tests that set fields post-construction work,
|
|
2730
|
+
* and so subclass/test overrides of orchestrator members (e.g. the
|
|
2731
|
+
* `recallAssemblyClockMs` clock seam) are observed live via accessors.
|
|
2732
|
+
*/
|
|
2733
|
+
private _recallInternalCoordinator;
|
|
2734
|
+
private get recallInternalCoordinator();
|
|
2735
|
+
/**
|
|
2736
|
+
* Recall search-pipeline coordinator (issue #1526 seam 19). Owns QMD
|
|
2737
|
+
* search post-processing (prefilter, fallbacks, safety filter, boost).
|
|
2738
|
+
* Lazy + accessor-wired for the same reasons as seam 18: instance-level
|
|
2739
|
+
* test overrides of orchestrator members must stay live.
|
|
2740
|
+
*/
|
|
2741
|
+
private _recallSearchPipelineCoordinator;
|
|
2742
|
+
private get recallSearchPipelineCoordinator();
|
|
2743
|
+
/**
|
|
2744
|
+
* Turn-ingestion coordinator (issue #1526 seam 20). Owns the buffer-side
|
|
2745
|
+
* extraction entry points. Lazy + accessor-wired so prototype-call tests
|
|
2746
|
+
* and instance-level stubs stay live (same rule as seams 18/19).
|
|
2747
|
+
*/
|
|
2748
|
+
private _turnIngestionCoordinator;
|
|
2749
|
+
private get turnIngestionCoordinator();
|
|
2750
|
+
/**
|
|
2751
|
+
* Recall-introspection coordinator (issue #1526 seam 21). Owns the
|
|
2752
|
+
* last-recall snapshot/explain surfaces and direct-answer annotation.
|
|
2753
|
+
* Lazy + accessor-wired (late-binding rule, seams 18–20).
|
|
2754
|
+
*/
|
|
2755
|
+
private _recallIntrospectionCoordinator;
|
|
2756
|
+
private get recallIntrospectionCoordinator();
|
|
2757
|
+
/**
|
|
2758
|
+
* Orchestrator-init coordinator (issue #1526 seam 22). Owns
|
|
2759
|
+
* initialize/deferredInitialize/startupSearchSync. Lazy + accessor-wired
|
|
2760
|
+
* (late-binding rule, seams 18–21); the init gate fields stay on the
|
|
2761
|
+
* orchestrator and are mutated through set accessors.
|
|
2762
|
+
*/
|
|
2763
|
+
private _orchestratorInitCoordinator;
|
|
2764
|
+
private get orchestratorInitCoordinator();
|
|
2716
2765
|
private recallInternal;
|
|
2717
2766
|
processTurn(role: "user" | "assistant", content: string, sessionKey?: string, options?: {
|
|
2718
2767
|
bufferKey?: string;
|
|
@@ -2775,45 +2824,6 @@ declare class Orchestrator {
|
|
|
2775
2824
|
* deterministic namespace bulk-import uses.
|
|
2776
2825
|
*/
|
|
2777
2826
|
getWearablesService(): WearablesService;
|
|
2778
|
-
/**
|
|
2779
|
-
* Ingest a batch of bulk-import turns (#460). Like ingestReplayBatch, this
|
|
2780
|
-
* normalizes user/assistant turns into the extraction buffer and awaits
|
|
2781
|
-
* settlement, but it intentionally bypasses the captureMode="explicit"
|
|
2782
|
-
* gate because bulk-import is itself an explicit user action — the user
|
|
2783
|
-
* ran `bulk-import --source <name> --file ...` and would be surprised to
|
|
2784
|
-
* see the command silently no-op when capture is otherwise restricted.
|
|
2785
|
-
*
|
|
2786
|
-
* Turns with role="other" are skipped (not supported by the extraction
|
|
2787
|
-
* pipeline).
|
|
2788
|
-
*
|
|
2789
|
-
* Two design decisions worth calling out:
|
|
2790
|
-
*
|
|
2791
|
-
* - **sessionKey is truthy and per-batch-unique.**
|
|
2792
|
-
* `ThreadingManager.shouldStartNewThread` only applies the session-key
|
|
2793
|
-
* boundary check when `turn.sessionKey` is truthy (threading.ts:82);
|
|
2794
|
-
* with an empty string, imported turns could attach to the current
|
|
2795
|
-
* live thread or merge across unrelated import batches. A unique
|
|
2796
|
-
* `bulk-import:batch:<timestamp>-<rand>` key forces a fresh thread per
|
|
2797
|
-
* batch without matching common prefix/map rules in
|
|
2798
|
-
* `principalFromSessionKeyRules`. (Catch-all regex rules could still
|
|
2799
|
-
* remap the principal, but that only affects metadata provenance —
|
|
2800
|
-
* see the next point for why write routing is unaffected.)
|
|
2801
|
-
*
|
|
2802
|
-
* - **writeNamespaceOverride pins the storage target.**
|
|
2803
|
-
* We pass `writeNamespaceOverride: this.bulkImportWriteNamespace()` to
|
|
2804
|
-
* `queueBufferedExtraction`, which tells `runExtraction` to skip
|
|
2805
|
-
* `defaultNamespaceForPrincipal` and write directly into the
|
|
2806
|
-
* orchestrator's declared bulk-import write namespace. This keeps
|
|
2807
|
-
* writes deterministic even when namespace policies named `"default"`
|
|
2808
|
-
* exist alongside a different `config.defaultNamespace`, and also
|
|
2809
|
-
* guards against regex-catch-all principal rules steering bulk-import
|
|
2810
|
-
* into an unexpected tenant.
|
|
2811
|
-
*
|
|
2812
|
-
* Per-invocation namespace routing (letting callers target a namespace
|
|
2813
|
-
* other than `bulkImportWriteNamespace()`) is a separate feature tracked
|
|
2814
|
-
* as a follow-up — the hook is the `writeNamespaceOverride` option, but
|
|
2815
|
-
* the CLI surface does not yet expose a `--namespace` flag.
|
|
2816
|
-
*/
|
|
2817
2827
|
ingestBulkImportBatch(turns: ImportTurn[], options?: {
|
|
2818
2828
|
deadlineMs?: number;
|
|
2819
2829
|
failOnExtractionFailure?: boolean;
|
|
@@ -2826,16 +2836,6 @@ declare class Orchestrator {
|
|
|
2826
2836
|
private normalizeExtractionFingerprintTurns;
|
|
2827
2837
|
private buildExtractionFingerprint;
|
|
2828
2838
|
private shouldQueueExtraction;
|
|
2829
|
-
/**
|
|
2830
|
-
* Passive correction capture (issue #1581) — detects corrections expressed
|
|
2831
|
-
* passively in conversation turns and routes them to the Correction Contract
|
|
2832
|
-
* (#1580). Called from `runExtraction` after persistence completes.
|
|
2833
|
-
*
|
|
2834
|
-
* Thin wiring: delegates ALL correction logic to the detector + capture
|
|
2835
|
-
* modules + the CorrectionService. This method only checks gates, calls the
|
|
2836
|
-
* detector, and routes results. Fail-open: capture errors never block the
|
|
2837
|
-
* extraction return path.
|
|
2838
|
-
*/
|
|
2839
2839
|
private maybeCapturePassiveCorrections;
|
|
2840
2840
|
/** Lazily construct the CorrectionService for passive capture. Stateless
|
|
2841
2841
|
* across requests (per #1580 design); cached for the orchestrator's life. */
|
|
@@ -2979,10 +2979,6 @@ declare class Orchestrator {
|
|
|
2979
2979
|
*/
|
|
2980
2980
|
private semanticDedupScopeFor;
|
|
2981
2981
|
private searchEmbeddingFallback;
|
|
2982
|
-
/**
|
|
2983
|
-
* Long-term fallback retrieval.
|
|
2984
|
-
* Searches archived memories only, and is invoked only when hot recall returns zero hits.
|
|
2985
|
-
*/
|
|
2986
2982
|
private searchLongTermArchiveFallback;
|
|
2987
2983
|
private applyColdFallbackPipeline;
|
|
2988
2984
|
/**
|
|
@@ -2998,10 +2994,6 @@ declare class Orchestrator {
|
|
|
2998
2994
|
private loadSearchResultMemoryMap;
|
|
2999
2995
|
private filterSearchResultsByRecallSafety;
|
|
3000
2996
|
private filterSearchResultsForRecall;
|
|
3001
|
-
/**
|
|
3002
|
-
* Apply recency, access count, and importance boosting to QMD search results.
|
|
3003
|
-
* Returns re-ranked results.
|
|
3004
|
-
*/
|
|
3005
2997
|
private boostSearchResults;
|
|
3006
2998
|
/**
|
|
3007
2999
|
* Extract memory IDs from QMD search results for access tracking.
|
|
@@ -3064,4 +3056,4 @@ declare class Orchestrator {
|
|
|
3064
3056
|
private readArchivedMemoriesForNamespaces;
|
|
3065
3057
|
}
|
|
3066
3058
|
|
|
3067
|
-
export {
|
|
3059
|
+
export { type RecallInvocationOptions 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, COMPACTION_SIGNAL_MAX_AGE_MS as U, type ExtractionRunResult as V, WearablesService as W, type GraphRecallRankedResult as X, type GraphRecallShadowComparison as Y, type QmdRecallSnapshot as Z, type QueryAwarePrefilter as _, type ScopeProfilePromotionResolution as a, type RecallModeDecision as a0, appendMemoryToGraphContext as a1, applyQueryAwareCandidateFilter as a2, blendGraphExpandedRecallScore as a3, buildCompressionGuidelinesMarkdown as a4, buildMemoryPathById as a5, computeArtifactCandidateFetchLimit as a6, computeArtifactRecallLimit as a7, computeQmdHybridFetchLimit as a8, deriveTopicsFromExtraction as a9, filterRecallCandidates as aa, graphPathRelativeToStorage as ab, hasIdentityRecoveryIntent as ac, isArtifactMemoryPath as ad, lifecycleRecallScoreAdjustment as ae, mapRecallSourceToXrayServedBy as af, mergeArtifactRecallCandidates as ag, mergeGraphExpandedResults as ah, parseGraphRecallRankedResults as ai, parseMemoryIntentSnapshot as aj, parseQmdRecallResults as ak, qmdStartupCollectionCheckWithTimeout as al, raceRecallAbort as am, resolveEffectiveIdentityInjectionMode as an, resolveEffectiveRecallMode as ao, resolvePersistedMemoryRelativePath as ap, resolveRecallModeDecision as aq, resolveRecallModeDecisionAsync as ar, resolveRecentThreadMemoryPaths as as, shouldFilterLifecycleRecallCandidate as at, splitTurnsBySourceValidAt as au, summarizeGraphShadowComparison as av, targetSourceValidAtSortMs as aw, throwIfRecallAborted as ax, tokenizeRecallQuery as ay, 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 { Q as BulkImportBatchIngestResult, T as BulkImportBatchPartialFailureError, U as
|
|
11
|
+
export { Q as BulkImportBatchIngestResult, T as BulkImportBatchPartialFailureError, U as COMPACTION_SIGNAL_MAX_AGE_MS, V as ExtractionRunResult, X as GraphRecallRankedResult, Y as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, Z as QmdRecallSnapshot, _ as QueryAwarePrefilter, $ as RecallInvocationOptions, a0 as RecallModeDecision, a1 as appendMemoryToGraphContext, a2 as applyQueryAwareCandidateFilter, a3 as blendGraphExpandedRecallScore, a4 as buildCompressionGuidelinesMarkdown, a5 as buildMemoryPathById, a6 as computeArtifactCandidateFetchLimit, a7 as computeArtifactRecallLimit, a8 as computeQmdHybridFetchLimit, t as defaultWorkspaceDir, a9 as deriveTopicsFromExtraction, aa as filterRecallCandidates, ab as graphPathRelativeToStorage, ac as hasIdentityRecoveryIntent, ad as isArtifactMemoryPath, ae as lifecycleRecallScoreAdjustment, af as mapRecallSourceToXrayServedBy, ag as mergeArtifactRecallCandidates, ah as mergeGraphExpandedResults, ai as parseGraphRecallRankedResults, aj as parseMemoryIntentSnapshot, ak as parseQmdRecallResults, al as qmdStartupCollectionCheckWithTimeout, am as raceRecallAbort, an as resolveEffectiveIdentityInjectionMode, ao as resolveEffectiveRecallMode, ap as resolvePersistedMemoryRelativePath, aq as resolveRecallModeDecision, ar as resolveRecallModeDecisionAsync, as as resolveRecentThreadMemoryPaths, E as sanitizeSessionKeyForFilename, at as shouldFilterLifecycleRecallCandidate, au as splitTurnsBySourceValidAt, av as summarizeGraphShadowComparison, aw as targetSourceValidAtSortMs, ax as throwIfRecallAborted, ay as tokenizeRecallQuery } from './orchestrator-CIOqdNzF.js';
|
|
12
12
|
export { formatCompressionGuidelinesForRecall } from './orchestration/compression-guideline-coordinator.js';
|
|
13
13
|
import './live-connectors-runner.js';
|
|
14
14
|
import './model-registry.js';
|
package/dist/orchestrator.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BulkImportBatchPartialFailureError,
|
|
3
|
+
COMPACTION_SIGNAL_MAX_AGE_MS,
|
|
3
4
|
Orchestrator,
|
|
4
5
|
appendMemoryToGraphContext,
|
|
6
|
+
applyQueryAwareCandidateFilter,
|
|
5
7
|
blendGraphExpandedRecallScore,
|
|
6
8
|
buildCompressionGuidelinesMarkdown,
|
|
7
9
|
buildMemoryPathById,
|
|
@@ -15,8 +17,14 @@ import {
|
|
|
15
17
|
hasIdentityRecoveryIntent,
|
|
16
18
|
isArtifactMemoryPath,
|
|
17
19
|
lifecycleRecallScoreAdjustment,
|
|
20
|
+
mapRecallSourceToXrayServedBy,
|
|
18
21
|
mergeArtifactRecallCandidates,
|
|
19
22
|
mergeGraphExpandedResults,
|
|
23
|
+
parseGraphRecallRankedResults,
|
|
24
|
+
parseMemoryIntentSnapshot,
|
|
25
|
+
parseQmdRecallResults,
|
|
26
|
+
qmdStartupCollectionCheckWithTimeout,
|
|
27
|
+
raceRecallAbort,
|
|
20
28
|
resolveEffectiveIdentityInjectionMode,
|
|
21
29
|
resolveEffectiveRecallMode,
|
|
22
30
|
resolvePersistedMemoryRelativePath,
|
|
@@ -25,8 +33,12 @@ import {
|
|
|
25
33
|
resolveRecentThreadMemoryPaths,
|
|
26
34
|
sanitizeSessionKeyForFilename,
|
|
27
35
|
shouldFilterLifecycleRecallCandidate,
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
splitTurnsBySourceValidAt,
|
|
37
|
+
summarizeGraphShadowComparison,
|
|
38
|
+
targetSourceValidAtSortMs,
|
|
39
|
+
throwIfRecallAborted,
|
|
40
|
+
tokenizeRecallQuery
|
|
41
|
+
} from "./chunk-ZWGXZ7ID.js";
|
|
30
42
|
import "./chunk-EHYB325U.js";
|
|
31
43
|
import {
|
|
32
44
|
formatCompressionGuidelinesForRecall
|
|
@@ -343,8 +355,10 @@ import "./chunk-VFUEZZBS.js";
|
|
|
343
355
|
import "./chunk-PZ5AY32C.js";
|
|
344
356
|
export {
|
|
345
357
|
BulkImportBatchPartialFailureError,
|
|
358
|
+
COMPACTION_SIGNAL_MAX_AGE_MS,
|
|
346
359
|
Orchestrator,
|
|
347
360
|
appendMemoryToGraphContext,
|
|
361
|
+
applyQueryAwareCandidateFilter,
|
|
348
362
|
blendGraphExpandedRecallScore,
|
|
349
363
|
buildCompressionGuidelinesMarkdown,
|
|
350
364
|
buildMemoryPathById,
|
|
@@ -359,8 +373,14 @@ export {
|
|
|
359
373
|
hasIdentityRecoveryIntent,
|
|
360
374
|
isArtifactMemoryPath,
|
|
361
375
|
lifecycleRecallScoreAdjustment,
|
|
376
|
+
mapRecallSourceToXrayServedBy,
|
|
362
377
|
mergeArtifactRecallCandidates,
|
|
363
378
|
mergeGraphExpandedResults,
|
|
379
|
+
parseGraphRecallRankedResults,
|
|
380
|
+
parseMemoryIntentSnapshot,
|
|
381
|
+
parseQmdRecallResults,
|
|
382
|
+
qmdStartupCollectionCheckWithTimeout,
|
|
383
|
+
raceRecallAbort,
|
|
364
384
|
resolveEffectiveIdentityInjectionMode,
|
|
365
385
|
resolveEffectiveRecallMode,
|
|
366
386
|
resolvePersistedMemoryRelativePath,
|
|
@@ -369,6 +389,10 @@ export {
|
|
|
369
389
|
resolveRecentThreadMemoryPaths,
|
|
370
390
|
sanitizeSessionKeyForFilename,
|
|
371
391
|
shouldFilterLifecycleRecallCandidate,
|
|
372
|
-
|
|
392
|
+
splitTurnsBySourceValidAt,
|
|
393
|
+
summarizeGraphShadowComparison,
|
|
394
|
+
targetSourceValidAtSortMs,
|
|
395
|
+
throwIfRecallAborted,
|
|
396
|
+
tokenizeRecallQuery
|
|
373
397
|
};
|
|
374
398
|
//# sourceMappingURL=orchestrator.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.748",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
"core"
|
|
3001
3001
|
],
|
|
3002
3002
|
"peerDependencies": {
|
|
3003
|
-
"@remnic/coding-graph": "^9.3.
|
|
3003
|
+
"@remnic/coding-graph": "^9.3.748"
|
|
3004
3004
|
},
|
|
3005
3005
|
"peerDependenciesMeta": {
|
|
3006
3006
|
"@remnic/coding-graph": {
|