@remnic/core 9.25.6 → 9.25.7
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-admin-ops-surface.d.ts +2 -2
- package/dist/access-authorization-probe.d.ts +2 -2
- 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-identity-continuity-surface.d.ts +1 -1
- package/dist/access-lcm-surface.d.ts +2 -2
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-observe-write-surface.d.ts +2 -2
- package/dist/access-operations.d.ts +5 -5
- package/dist/access-recall-concurrency.d.ts +2 -2
- package/dist/access-recall-response.d.ts +2 -2
- package/dist/access-recall-surface.d.ts +2 -2
- package/dist/access-schema.d.ts +76 -76
- package/dist/{access-service-BJQ22URi.d.ts → access-service-CIdWkP6J.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-FR75B4UU.js → chunk-KZVPTJNZ.js} +334 -647
- package/dist/chunk-KZVPTJNZ.js.map +1 -0
- package/dist/{cli-1W7cNjJJ.d.ts → cli-Da5kesWC.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/index.d.ts +392 -392
- package/dist/index.js +1 -1
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/{orchestrator-BtA1wC5K.d.ts → orchestrator-CFJ_TG6D.d.ts} +15 -10
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +1 -1
- package/dist/schemas.d.ts +76 -76
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/meetings/recall-exclusion.test.ts +4 -2
- package/src/orchestration/generic-recall-paths.ts +119 -0
- package/src/orchestration/namespace-read-fanout.ts +0 -12
- package/src/orchestration/orchestrator-helpers.ts +0 -35
- package/src/orchestration/recall-internal.ts +6 -6
- package/src/orchestration/recall-search-pipeline.test.ts +194 -28
- package/src/orchestration/recall-search-pipeline.ts +39 -89
- package/src/orchestrator.ts +5 -17
- package/src/recall-cold-deadline.test.ts +11 -13
- package/src/testing/subjects/generic-recall-paths.test.ts +157 -0
- package/dist/chunk-FR75B4UU.js.map +0 -1
- package/src/recall/archive-scoring.ts +0 -544
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as EngramAccessRecallResponse } from './access-service-
|
|
1
|
+
import { v as EngramAccessRecallResponse } from './access-service-CIdWkP6J.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';
|
|
@@ -33,7 +33,7 @@ import './access-health-types.js';
|
|
|
33
33
|
import './corpus-watermark.js';
|
|
34
34
|
import './recall-audit-anomaly.js';
|
|
35
35
|
import './recall-audit.js';
|
|
36
|
-
import './orchestrator-
|
|
36
|
+
import './orchestrator-CFJ_TG6D.js';
|
|
37
37
|
import './briefing.js';
|
|
38
38
|
import './buffer.js';
|
|
39
39
|
import './extraction-faithfulness.js';
|
|
@@ -1571,14 +1571,6 @@ declare function splitTurnsBySourceValidAt(turns: readonly BufferTurn[], options
|
|
|
1571
1571
|
}): BufferTurn[][];
|
|
1572
1572
|
declare function isArtifactMemoryPath(filePath: string): boolean;
|
|
1573
1573
|
declare function buildCompressionGuidelinesMarkdown(events: MemoryActionEvent[], generatedAtIso?: string): string;
|
|
1574
|
-
declare function filterRecallCandidates(candidates: QmdSearchResult[], options: {
|
|
1575
|
-
namespacesEnabled: boolean;
|
|
1576
|
-
recallNamespaces: string[];
|
|
1577
|
-
resolveNamespace: (path: string) => string;
|
|
1578
|
-
limit: number;
|
|
1579
|
-
/** Memory root for top-level activity-digest detection. */
|
|
1580
|
-
memoryRoot?: string;
|
|
1581
|
-
}): QmdSearchResult[];
|
|
1582
1574
|
declare function applyQueryAwareCandidateFilter(candidates: QmdSearchResult[], candidatePaths: Set<string> | null): QmdSearchResult[];
|
|
1583
1575
|
declare function tokenizeRecallQuery(prompt: string): string[];
|
|
1584
1576
|
declare function shouldFilterLifecycleRecallCandidate(frontmatter: MemoryFrontmatter, options: {
|
|
@@ -1663,6 +1655,20 @@ declare function resolvePersistedMemoryRelativePath(options: {
|
|
|
1663
1655
|
category: string;
|
|
1664
1656
|
}): string;
|
|
1665
1657
|
|
|
1658
|
+
interface GenericRecallPathPolicy {
|
|
1659
|
+
readonly memoryDir?: string;
|
|
1660
|
+
readonly qmdCollection?: string;
|
|
1661
|
+
readonly qmdColdCollection?: string;
|
|
1662
|
+
}
|
|
1663
|
+
declare function filterRecallCandidates(candidates: QmdSearchResult[], options: {
|
|
1664
|
+
namespacesEnabled: boolean;
|
|
1665
|
+
recallNamespaces: string[];
|
|
1666
|
+
resolveNamespace: (path: string) => string;
|
|
1667
|
+
limit: number;
|
|
1668
|
+
pathPolicy?: GenericRecallPathPolicy;
|
|
1669
|
+
memoryRoot?: string;
|
|
1670
|
+
}): QmdSearchResult[];
|
|
1671
|
+
|
|
1666
1672
|
type NamespaceMaintenanceJobName = string;
|
|
1667
1673
|
type NamespaceMaintenanceSkipReason = "fanout_disabled" | "empty_root" | "branch_disabled" | "project_disabled" | "team_project_disabled" | "catalog_read_failed" | "unsafe_or_stale_root" | "budget_exhausted" | "lock_held" | "batch_lock_incomplete" | "throttled" | "job_failed";
|
|
1668
1674
|
interface NamespaceMaintenanceCandidate {
|
|
@@ -2519,7 +2525,7 @@ declare class Orchestrator {
|
|
|
2519
2525
|
*/
|
|
2520
2526
|
private semanticDedupScopeFor;
|
|
2521
2527
|
private searchEmbeddingFallback;
|
|
2522
|
-
private
|
|
2528
|
+
private searchQueryAwareFallback;
|
|
2523
2529
|
private applyColdFallbackPipeline;
|
|
2524
2530
|
/**
|
|
2525
2531
|
* Record that memories were accessed (retrieved).
|
|
@@ -2587,7 +2593,6 @@ declare class Orchestrator {
|
|
|
2587
2593
|
* and inline-note writes were missing from `writtenSince`/maintenance).
|
|
2588
2594
|
*/
|
|
2589
2595
|
private readAllMemoriesForNamespaces;
|
|
2590
|
-
private readArchivedMemoriesForNamespaces;
|
|
2591
2596
|
}
|
|
2592
2597
|
|
|
2593
2598
|
export { summarizeGraphShadowComparison as $, mergeGraphExpandedResults as A, type BulkImportBatchIngestResult as B, ConversationIndexCoordinator as C, type DaySummaryGatherOptions as D, type ExtractionRunResult as E, normalizeIanaTimeZone as F, type GraphRecallSnapshot as G, parseFiniteDate as H, type IntentDebugSnapshot as I, parseGraphRecallRankedResults as J, parseMemoryIntentSnapshot as K, parseQmdRecallResults as L, qmdStartupCollectionCheckWithTimeout as M, raceRecallAbort as N, Orchestrator as O, type PatternReinforcementResult as P, type QmdRecallSnapshot as Q, type RecallInvocationOptions as R, resolveEffectiveIdentityInjectionMode as S, TierMigrationCoordinator as T, resolveEffectiveRecallMode as U, resolvePersistedMemoryRelativePath as V, resolveRecallModeDecision as W, resolveRecallModeDecisionAsync as X, resolveRecentThreadMemoryPaths as Y, shouldFilterLifecycleRecallCandidate as Z, splitTurnsBySourceValidAt as _, BulkImportBatchPartialFailureError as a, targetSourceValidAtSortMs as a0, throwIfRecallAborted as a1, tokenizeRecallQuery as a2, utcDateKeysForLocalDay as a3, COMPACTION_SIGNAL_MAX_AGE_MS as b, type GraphRecallRankedResult as c, defaultWorkspaceDir as d, type GraphRecallShadowComparison as e, type QueryAwarePrefilter as f, type RecallModeDecision as g, appendMemoryToGraphContext as h, applyQueryAwareCandidateFilter as i, blendGraphExpandedRecallScore as j, buildCompressionGuidelinesMarkdown as k, buildMemoryPathById as l, computeArtifactCandidateFetchLimit as m, computeArtifactRecallLimit as n, computeQmdHybridFetchLimit as o, deriveTopicsFromExtraction as p, filterHourlySummaryMarkdownForLocalDay as q, filterRecallCandidates as r, sanitizeSessionKeyForFilename as s, formatDateInTimeZone as t, graphPathRelativeToStorage as u, hasIdentityRecoveryIntent as v, isArtifactMemoryPath as w, lifecycleRecallScoreAdjustment as x, mapRecallSourceToXrayServedBy as y, mergeArtifactRecallCandidates as z };
|
package/dist/orchestrator.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import './summarizer.js';
|
|
|
9
9
|
import './local-llm.js';
|
|
10
10
|
import './fallback-llm.js';
|
|
11
11
|
import './maintenance-DD22oIx9.js';
|
|
12
|
-
export { B as BulkImportBatchIngestResult, a as BulkImportBatchPartialFailureError, b as COMPACTION_SIGNAL_MAX_AGE_MS, D as DaySummaryGatherOptions, E as ExtractionRunResult, c as GraphRecallRankedResult, e as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, Q as QmdRecallSnapshot, f as QueryAwarePrefilter, R as RecallInvocationOptions, g as RecallModeDecision, h as appendMemoryToGraphContext, i as applyQueryAwareCandidateFilter, j as blendGraphExpandedRecallScore, k as buildCompressionGuidelinesMarkdown, l as buildMemoryPathById, m as computeArtifactCandidateFetchLimit, n as computeArtifactRecallLimit, o as computeQmdHybridFetchLimit, d as defaultWorkspaceDir, p as deriveTopicsFromExtraction, q as filterHourlySummaryMarkdownForLocalDay, r as filterRecallCandidates, t as formatDateInTimeZone, u as graphPathRelativeToStorage, v as hasIdentityRecoveryIntent, w as isArtifactMemoryPath, x as lifecycleRecallScoreAdjustment, y as mapRecallSourceToXrayServedBy, z as mergeArtifactRecallCandidates, A as mergeGraphExpandedResults, F as normalizeIanaTimeZone, H as parseFiniteDate, J as parseGraphRecallRankedResults, K as parseMemoryIntentSnapshot, L as parseQmdRecallResults, M as qmdStartupCollectionCheckWithTimeout, N as raceRecallAbort, S as resolveEffectiveIdentityInjectionMode, U as resolveEffectiveRecallMode, V as resolvePersistedMemoryRelativePath, W as resolveRecallModeDecision, X as resolveRecallModeDecisionAsync, Y as resolveRecentThreadMemoryPaths, s as sanitizeSessionKeyForFilename, Z as shouldFilterLifecycleRecallCandidate, _ as splitTurnsBySourceValidAt, $ as summarizeGraphShadowComparison, a0 as targetSourceValidAtSortMs, a1 as throwIfRecallAborted, a2 as tokenizeRecallQuery, a3 as utcDateKeysForLocalDay } from './orchestrator-
|
|
12
|
+
export { B as BulkImportBatchIngestResult, a as BulkImportBatchPartialFailureError, b as COMPACTION_SIGNAL_MAX_AGE_MS, D as DaySummaryGatherOptions, E as ExtractionRunResult, c as GraphRecallRankedResult, e as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, Q as QmdRecallSnapshot, f as QueryAwarePrefilter, R as RecallInvocationOptions, g as RecallModeDecision, h as appendMemoryToGraphContext, i as applyQueryAwareCandidateFilter, j as blendGraphExpandedRecallScore, k as buildCompressionGuidelinesMarkdown, l as buildMemoryPathById, m as computeArtifactCandidateFetchLimit, n as computeArtifactRecallLimit, o as computeQmdHybridFetchLimit, d as defaultWorkspaceDir, p as deriveTopicsFromExtraction, q as filterHourlySummaryMarkdownForLocalDay, r as filterRecallCandidates, t as formatDateInTimeZone, u as graphPathRelativeToStorage, v as hasIdentityRecoveryIntent, w as isArtifactMemoryPath, x as lifecycleRecallScoreAdjustment, y as mapRecallSourceToXrayServedBy, z as mergeArtifactRecallCandidates, A as mergeGraphExpandedResults, F as normalizeIanaTimeZone, H as parseFiniteDate, J as parseGraphRecallRankedResults, K as parseMemoryIntentSnapshot, L as parseQmdRecallResults, M as qmdStartupCollectionCheckWithTimeout, N as raceRecallAbort, S as resolveEffectiveIdentityInjectionMode, U as resolveEffectiveRecallMode, V as resolvePersistedMemoryRelativePath, W as resolveRecallModeDecision, X as resolveRecallModeDecisionAsync, Y as resolveRecentThreadMemoryPaths, s as sanitizeSessionKeyForFilename, Z as shouldFilterLifecycleRecallCandidate, _ as splitTurnsBySourceValidAt, $ as summarizeGraphShadowComparison, a0 as targetSourceValidAtSortMs, a1 as throwIfRecallAborted, a2 as tokenizeRecallQuery, a3 as utcDateKeysForLocalDay } from './orchestrator-CFJ_TG6D.js';
|
|
13
13
|
export { formatCompressionGuidelinesForRecall } from './orchestration/compression-guideline-coordinator.js';
|
|
14
14
|
import './live-connectors-runner.js';
|
|
15
15
|
import './model-registry.js';
|
package/dist/orchestrator.js
CHANGED