@remnic/core 9.3.735 → 9.3.736
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 +5 -5
- package/dist/access-cli.js +1 -1
- package/dist/access-http.d.ts +5 -5
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-operations.d.ts +5 -5
- package/dist/access-schema.d.ts +4 -4
- package/dist/{access-service-CVx7mmvK.d.ts → access-service-CdC0q4pr.d.ts} +3 -3
- package/dist/access-service.d.ts +5 -5
- package/dist/access-surface-catalog.d.ts +5 -5
- 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/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- 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-BVhDEUhT.d.ts → catalog-D2NLDg4S.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-FLCYY5JX.js → chunk-AE2HPUP7.js} +208 -185
- package/dist/chunk-AE2HPUP7.js.map +1 -0
- package/dist/{cli-Cx5Mxwk7.d.ts → cli-BHy6Bo6u.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/compounding/engine.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- 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/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-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -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 +9 -9
- package/dist/index.js +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/mcp-memory-inspector-app.d.ts +5 -5
- 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/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/{orchestrator-oF0cceBX.d.ts → orchestrator-C-xp_rtZ.d.ts} +64 -5
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +1 -3
- 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/schemas.d.ts +24 -24
- 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-DKGbufYO.d.ts → semantic-consolidation-COdwU-me.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-rule-verifier.d.ts +1 -1
- 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 +3 -3
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- 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/types.d.ts +42 -42
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-C7UCxpuO.d.ts → types-w3Y232yi.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/package.json +2 -2
- package/src/orchestration/entity-synthesis-coordinator.ts +319 -0
- package/src/orchestrator.ts +12 -235
- package/dist/chunk-FLCYY5JX.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as EngramAccessRecallResponse } from './access-service-
|
|
1
|
+
import { h as EngramAccessRecallResponse } from './access-service-CdC0q4pr.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';
|
|
5
|
-
import './catalog-
|
|
6
|
-
import './types-
|
|
5
|
+
import './catalog-D2NLDg4S.js';
|
|
6
|
+
import './types-w3Y232yi.js';
|
|
7
7
|
import './types-gb_SNtjR.js';
|
|
8
8
|
import './message-parts/index.js';
|
|
9
9
|
import './storage.js';
|
|
@@ -22,7 +22,7 @@ import './memory-provenance.js';
|
|
|
22
22
|
import './user-model.js';
|
|
23
23
|
import './recall-audit-anomaly.js';
|
|
24
24
|
import './recall-audit.js';
|
|
25
|
-
import './orchestrator-
|
|
25
|
+
import './orchestrator-C-xp_rtZ.js';
|
|
26
26
|
import './briefing.js';
|
|
27
27
|
import './buffer.js';
|
|
28
28
|
import './extraction-faithfulness.js';
|
|
@@ -43,7 +43,7 @@ import './utility-runtime.js';
|
|
|
43
43
|
import './tier-routing.js';
|
|
44
44
|
import './lifecycle.js';
|
|
45
45
|
import './orchestration/compression-guideline-coordinator.js';
|
|
46
|
-
import './semantic-consolidation-
|
|
46
|
+
import './semantic-consolidation-COdwU-me.js';
|
|
47
47
|
import './connectors/codex-materialize.js';
|
|
48
48
|
import './logger.js';
|
|
49
49
|
import './embedding-fallback.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as MemoryActionType, ac as MemoryActionEligibilityContext, ad as MemoryActionPolicyResult } from './types-
|
|
1
|
+
import { Y as MemoryActionType, ac as MemoryActionEligibilityContext, ad as MemoryActionPolicyResult } from './types-w3Y232yi.js';
|
|
2
2
|
import './types-gb_SNtjR.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
|
package/dist/memory-cache.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ae as MemoryLifecycleEventType, g as MemoryFile, m as MemoryLifecycleEvent, k as MemoryFrontmatter, f as MemoryStatus, af as MemoryLifecycleStateSummary } from './types-
|
|
1
|
+
import { ae as MemoryLifecycleEventType, g as MemoryFile, m as MemoryLifecycleEvent, k as MemoryFrontmatter, f as MemoryStatus, af as MemoryLifecycleStateSummary } from './types-w3Y232yi.js';
|
|
2
2
|
import './types-gb_SNtjR.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MemoryGovernanceReviewQueueEntry, MemoryGovernanceAppliedAction, MemoryGovernanceSummary, MemoryGovernanceMetrics } from './maintenance/memory-governance.js';
|
|
2
|
-
import { M as MemoryCategory, f as MemoryStatus, l as MemoryProjectionCurrentState, m as MemoryLifecycleEvent } from './types-
|
|
2
|
+
import { M as MemoryCategory, f as MemoryStatus, l as MemoryProjectionCurrentState, m as MemoryLifecycleEvent } from './types-w3Y232yi.js';
|
|
3
3
|
import { BetterSqlite3Database } from './runtime/better-sqlite.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
|
5
5
|
import './message-parts/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as MemoryStatus, w as LifecycleState, V as VerificationState, x as PolicyClass, k as MemoryFrontmatter, g as MemoryFile } from './types-
|
|
1
|
+
import { f as MemoryStatus, w as LifecycleState, V as VerificationState, x as PolicyClass, k as MemoryFrontmatter, g as MemoryFile } from './types-w3Y232yi.js';
|
|
2
2
|
import { UserContextScope } from './user-model.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StorageManager } from './storage.js';
|
|
2
|
-
import { k as MemoryFrontmatter } from './types-
|
|
2
|
+
import { k as MemoryFrontmatter } from './types-w3Y232yi.js';
|
|
3
3
|
import './page-versioning.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
5
|
import './memory-projection-store.js';
|
package/dist/models-json.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { rename } from 'node:fs/promises';
|
|
2
|
-
import { P as PluginConfig } from '../types-
|
|
2
|
+
import { P as PluginConfig } from '../types-w3Y232yi.js';
|
|
3
3
|
import { NamespaceStorageRouter } from './storage.js';
|
|
4
4
|
import '../types-gb_SNtjR.js';
|
|
5
5
|
import '../message-parts/index.js';
|
|
@@ -11,7 +11,7 @@ import '../maintenance/memory-governance.js';
|
|
|
11
11
|
import '../runtime/better-sqlite.js';
|
|
12
12
|
import 'better-sqlite3';
|
|
13
13
|
import '../structured-attributes.js';
|
|
14
|
-
import '../catalog-
|
|
14
|
+
import '../catalog-D2NLDg4S.js';
|
|
15
15
|
|
|
16
16
|
interface NamespaceInventoryEntry {
|
|
17
17
|
namespace: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, Q as QmdSearchResult } from '../types-
|
|
1
|
+
import { P as PluginConfig, Q as QmdSearchResult } from '../types-w3Y232yi.js';
|
|
2
2
|
import { SearchBackend, SearchQueryOptions, SearchExecutionOptions } from '../search/port.js';
|
|
3
3
|
import '../types-gb_SNtjR.js';
|
|
4
4
|
import '../message-parts/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StorageManager } from '../storage.js';
|
|
2
|
-
import { P as PluginConfig } from '../types-
|
|
3
|
-
import { N as NamespaceCatalog } from '../catalog-
|
|
2
|
+
import { P as PluginConfig } from '../types-w3Y232yi.js';
|
|
3
|
+
import { N as NamespaceCatalog } from '../catalog-D2NLDg4S.js';
|
|
4
4
|
import '../page-versioning.js';
|
|
5
5
|
import '../consolidation-operator.js';
|
|
6
6
|
import '../memory-projection-store.js';
|
|
@@ -2,7 +2,7 @@ import { StorageManager } from './storage.js';
|
|
|
2
2
|
import { EvalHarnessStatus, validateEvalBenchmarkPack, EvalBaselineDeltaReport, EvalCiGateReport } from './evals.js';
|
|
3
3
|
import { GraphHealthReport } from './graph.js';
|
|
4
4
|
import { SessionIntegrityReport, SessionRepairPlan, SessionRepairApplyResult } from './session-integrity.js';
|
|
5
|
-
import { P as PluginConfig } from './types-
|
|
5
|
+
import { P as PluginConfig } from './types-w3Y232yi.js';
|
|
6
6
|
import './page-versioning.js';
|
|
7
7
|
import './consolidation-operator.js';
|
|
8
8
|
import './memory-projection-store.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as PluginConfig } from '../types-
|
|
1
|
+
import { P as PluginConfig } from '../types-w3Y232yi.js';
|
|
2
2
|
import { SearchBackend } from '../search/port.js';
|
|
3
3
|
import { NamespaceSearchRouter } from '../namespaces/search.js';
|
|
4
|
-
import { N as NamespaceCatalog } from '../catalog-
|
|
4
|
+
import { N as NamespaceCatalog } from '../catalog-D2NLDg4S.js';
|
|
5
5
|
import '../types-gb_SNtjR.js';
|
|
6
6
|
import '../message-parts/index.js';
|
|
7
7
|
|
|
@@ -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, a9 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, Z as MemoryActionEvent, aA as CodingContext, Q as QmdSearchResult, e as BehaviorLoopPolicyState, aO as BootstrapOptions, aP as BootstrapResult, aQ as ConsolidationObservation, D as DaySummaryResult, h as RecallPlanMode, aa as MemoryIntent,
|
|
11
|
+
import { u as BufferTurn, y as ExtractionResult, M as MemoryCategory, a9 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, Z as MemoryActionEvent, aA as CodingContext, Q as QmdSearchResult, e as BehaviorLoopPolicyState, aO as BootstrapOptions, aP as BootstrapResult, aQ as ConsolidationObservation, D as DaySummaryResult, h as RecallPlanMode, aa as MemoryIntent, k as MemoryFrontmatter, I as IdentityInjectionMode } from './types-w3Y232yi.js';
|
|
12
12
|
import { TierMigrationStatusStore, TierMigrationStatusSnapshot, TierMigrationCycleSummary, LastRecallStore, RecallHandleHistoryStore, GraphRecallExpandedEntry, 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-COdwU-me.js';
|
|
17
17
|
import { EmbeddingFallback } from './embedding-fallback.js';
|
|
18
18
|
import { ExtractionEngine } from './extraction.js';
|
|
19
19
|
import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
@@ -29,7 +29,7 @@ import { I as ImportTurn } from './types-gb_SNtjR.js';
|
|
|
29
29
|
import { JudgeCandidate, JudgeBatchResult } from './extraction-judge.js';
|
|
30
30
|
import { LcmEngine } from './lcm/engine.js';
|
|
31
31
|
import { ConversationIndexBackendInspection } from './conversation-index/backend.js';
|
|
32
|
-
import { b as NamespaceKind, N as NamespaceCatalog } from './catalog-
|
|
32
|
+
import { b as NamespaceKind, N as NamespaceCatalog } from './catalog-D2NLDg4S.js';
|
|
33
33
|
import { NamespaceSearchHealth } from './namespaces/search.js';
|
|
34
34
|
import { SharedContextManager } from './shared-context/manager.js';
|
|
35
35
|
import { RuntimePolicyValues } from './policy-runtime.js';
|
|
@@ -773,6 +773,65 @@ declare class LifecyclePolicyCoordinator {
|
|
|
773
773
|
runTopicExtraction(allMemories: MemoryFile[]): Promise<void>;
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
+
/**
|
|
777
|
+
* Entity synthesis coordinator — extracted from the orchestrator (issue #1526).
|
|
778
|
+
*
|
|
779
|
+
* Owns the entity-synthesis lifecycle: processing the queued entities whose
|
|
780
|
+
* evidence has changed since their last synthesis, gathering timeline +
|
|
781
|
+
* structured-section evidence, deduplicating it, batch-feeding it through the
|
|
782
|
+
* fast-tier LLM to produce a compact "current truth" synthesis, and persisting
|
|
783
|
+
* the result with drift/bookkeeping metadata.
|
|
784
|
+
*
|
|
785
|
+
* Moved here (behavior-preserving):
|
|
786
|
+
* - module-level helpers `dedupeEntitySynthesisEvidenceEntries`,
|
|
787
|
+
* `flattenStructuredSectionEvidence`, `fingerprintEntitySynthesisEvidence`
|
|
788
|
+
* - the orchestrator method `processEntitySynthesisQueue`
|
|
789
|
+
*
|
|
790
|
+
* The orchestrator constructs one instance and delegates the public entrypoint
|
|
791
|
+
* to it. Storage is resolved per-call via the injected accessor so namespace-
|
|
792
|
+
* scoped and default-namespace calls share one coordinator.
|
|
793
|
+
*
|
|
794
|
+
* Behavior-preserving move from orchestrator.ts. No logic changes — the
|
|
795
|
+
* orchestrator keeps a thin delegating `processEntitySynthesisQueue` so
|
|
796
|
+
* existing call sites (consolidation pass, access-service) and tests that
|
|
797
|
+
* exercise the public API continue to work.
|
|
798
|
+
*/
|
|
799
|
+
|
|
800
|
+
/** Dependencies injected by the orchestrator. */
|
|
801
|
+
interface EntitySynthesisCoordinatorDeps {
|
|
802
|
+
config: PluginConfig;
|
|
803
|
+
/** Resolve the storage manager for a namespace (or the default). */
|
|
804
|
+
getStorage: (namespace?: string) => Promise<StorageManager>;
|
|
805
|
+
/** Fast-tier LLM completion (same signature as Orchestrator.fastChatCompletion). */
|
|
806
|
+
fastChatCompletion: (messages: Array<{
|
|
807
|
+
role: string;
|
|
808
|
+
content: string;
|
|
809
|
+
}>, options: {
|
|
810
|
+
temperature?: number;
|
|
811
|
+
maxTokens?: number;
|
|
812
|
+
timeoutMs?: number;
|
|
813
|
+
operation?: string;
|
|
814
|
+
priority?: "background" | "recall-critical";
|
|
815
|
+
}) => Promise<{
|
|
816
|
+
content: string;
|
|
817
|
+
} | null>;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* Coordinates entity synthesis refresh for queued entities. Owns the
|
|
821
|
+
* evidence-gathering, dedup, batched-LLM-synthesis, and persistence logic
|
|
822
|
+
* that previously lived inline in the orchestrator.
|
|
823
|
+
*/
|
|
824
|
+
declare class EntitySynthesisCoordinator {
|
|
825
|
+
private readonly deps;
|
|
826
|
+
constructor(deps: EntitySynthesisCoordinatorDeps);
|
|
827
|
+
/**
|
|
828
|
+
* Process up to `maxEntities` entities from the synthesis queue for the
|
|
829
|
+
* given namespace. Returns the number of entities whose synthesis was
|
|
830
|
+
* successfully refreshed.
|
|
831
|
+
*/
|
|
832
|
+
processQueue(namespace?: string, maxEntities?: number): Promise<number>;
|
|
833
|
+
}
|
|
834
|
+
|
|
776
835
|
/**
|
|
777
836
|
* Pattern-reinforcement maintenance job (issue #687 PR 2/4).
|
|
778
837
|
*
|
|
@@ -938,7 +997,6 @@ declare class BulkImportBatchPartialFailureError extends Error {
|
|
|
938
997
|
readonly originalError: unknown;
|
|
939
998
|
constructor(message: string, partialResult: BulkImportBatchIngestResult, originalError: unknown);
|
|
940
999
|
}
|
|
941
|
-
declare function dedupeEntitySynthesisEvidenceEntries(entries: EntityTimelineEntry[]): EntityTimelineEntry[];
|
|
942
1000
|
interface GraphRecallSnapshot {
|
|
943
1001
|
recordedAt: string;
|
|
944
1002
|
mode: RecallPlanMode | string;
|
|
@@ -1297,6 +1355,7 @@ declare class Orchestrator {
|
|
|
1297
1355
|
readonly compressionGuidelineCoordinator: CompressionGuidelineCoordinator;
|
|
1298
1356
|
readonly semanticConsolidationCoordinator: SemanticConsolidationCoordinator;
|
|
1299
1357
|
readonly lifecyclePolicyCoordinator: LifecyclePolicyCoordinator;
|
|
1358
|
+
readonly entitySynthesisCoordinator: EntitySynthesisCoordinator;
|
|
1300
1359
|
/**
|
|
1301
1360
|
* In-memory X-ray snapshot from the most recent `recall()` call that
|
|
1302
1361
|
* was invoked with `xrayCapture: true` (issue #570 PR 1). Scope is
|
|
@@ -2351,4 +2410,4 @@ declare class Orchestrator {
|
|
|
2351
2410
|
private readArchivedMemoriesForNamespaces;
|
|
2352
2411
|
}
|
|
2353
2412
|
|
|
2354
|
-
export { computeArtifactCandidateFetchLimit as $, sanitizeSessionKeyForFilename as A, saveSpeakerRegistry as B, speakerRegistryKey as C, DEFAULT_SELF_NAME as D, speakersFilePath as E, syncWearableSource as F, type GraphRecallSnapshot as G, wearableDayTag as H, type IntentDebugSnapshot as I, wearableSourceLabel as J, writeDailyDigestMemory as K, type BulkImportBatchIngestResult as L, BulkImportBatchPartialFailureError as M, type GraphRecallRankedResult as N, Orchestrator as O, type PatternReinforcementResult as P, type GraphRecallShadowComparison as Q, type ResolvedSpeaker as R, type SpeakerRegistry as S, type QmdRecallSnapshot as T, type RecallInvocationOptions as U, type RecallModeDecision as V, WearablesService as W, appendMemoryToGraphContext as X, blendGraphExpandedRecallScore as Y, buildCompressionGuidelinesMarkdown as Z, buildMemoryPathById as _, type SpeakerOverride as a, computeArtifactRecallLimit as a0, computeQmdHybridFetchLimit as a1,
|
|
2413
|
+
export { computeArtifactCandidateFetchLimit as $, sanitizeSessionKeyForFilename as A, saveSpeakerRegistry as B, speakerRegistryKey as C, DEFAULT_SELF_NAME as D, speakersFilePath as E, syncWearableSource as F, type GraphRecallSnapshot as G, wearableDayTag as H, type IntentDebugSnapshot as I, wearableSourceLabel as J, writeDailyDigestMemory as K, type BulkImportBatchIngestResult as L, BulkImportBatchPartialFailureError as M, type GraphRecallRankedResult as N, Orchestrator as O, type PatternReinforcementResult as P, type GraphRecallShadowComparison as Q, type ResolvedSpeaker as R, type SpeakerRegistry as S, type QmdRecallSnapshot as T, type RecallInvocationOptions as U, type RecallModeDecision as V, WearablesService as W, appendMemoryToGraphContext as X, blendGraphExpandedRecallScore as Y, buildCompressionGuidelinesMarkdown as Z, buildMemoryPathById as _, type SpeakerOverride as a, computeArtifactRecallLimit as a0, computeQmdHybridFetchLimit as a1, deriveTopicsFromExtraction as a2, filterRecallCandidates as a3, graphPathRelativeToStorage as a4, hasIdentityRecoveryIntent as a5, isArtifactMemoryPath as a6, lifecycleRecallScoreAdjustment as a7, mergeArtifactRecallCandidates as a8, mergeGraphExpandedResults as a9, resolveEffectiveIdentityInjectionMode as aa, resolveEffectiveRecallMode as ab, resolvePersistedMemoryRelativePath as ac, resolveRecallModeDecision as ad, resolveRecallModeDecisionAsync as ae, resolveRecentThreadMemoryPaths as af, shouldFilterLifecycleRecallCandidate as ag, summarizeGraphShadowComparison as ah, WEARABLE_SOURCE_PREFIX as b, type WearableDayTranscriptView as c, type WearableMemoryGenDeps as d, type WearableMemoryGenResult as e, type WearableMemorySearchResult as f, type WearableMemoryWriter as g, type WearableSearchBackend as h, type WearableStorageIo as i, type WearableSyncDeps as j, type WearableSyncOptions as k, type WearableTranscriptSearchResult as l, type WearablesServiceDeps as m, buildExtractionTurns as n, dateInTimezone as o, defaultTimezone as p, defaultWorkspaceDir as q, distinctSpeakerLabels as r, emptySpeakerRegistry as s, generateWearableMemories as t, importNativeMemories as u, loadSpeakerRegistry as v, locateTranscriptPath as w, memoryStatusForMode as x, resolveSpeaker as y, resolveSyncDates 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 { L as BulkImportBatchIngestResult, M as BulkImportBatchPartialFailureError, N as GraphRecallRankedResult, Q as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, T as QmdRecallSnapshot, U as RecallInvocationOptions, V as RecallModeDecision, X as appendMemoryToGraphContext, Y as blendGraphExpandedRecallScore, Z as buildCompressionGuidelinesMarkdown, _ as buildMemoryPathById, $ as computeArtifactCandidateFetchLimit, a0 as computeArtifactRecallLimit, a1 as computeQmdHybridFetchLimit,
|
|
11
|
+
export { L as BulkImportBatchIngestResult, M as BulkImportBatchPartialFailureError, N as GraphRecallRankedResult, Q as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, T as QmdRecallSnapshot, U as RecallInvocationOptions, V as RecallModeDecision, X as appendMemoryToGraphContext, Y as blendGraphExpandedRecallScore, Z as buildCompressionGuidelinesMarkdown, _ as buildMemoryPathById, $ as computeArtifactCandidateFetchLimit, a0 as computeArtifactRecallLimit, a1 as computeQmdHybridFetchLimit, q as defaultWorkspaceDir, a2 as deriveTopicsFromExtraction, a3 as filterRecallCandidates, a4 as graphPathRelativeToStorage, a5 as hasIdentityRecoveryIntent, a6 as isArtifactMemoryPath, a7 as lifecycleRecallScoreAdjustment, a8 as mergeArtifactRecallCandidates, a9 as mergeGraphExpandedResults, aa as resolveEffectiveIdentityInjectionMode, ab as resolveEffectiveRecallMode, ac as resolvePersistedMemoryRelativePath, ad as resolveRecallModeDecision, ae as resolveRecallModeDecisionAsync, af as resolveRecentThreadMemoryPaths, A as sanitizeSessionKeyForFilename, ag as shouldFilterLifecycleRecallCandidate, ah as summarizeGraphShadowComparison } from './orchestrator-C-xp_rtZ.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-w3Y232yi.js';
|
|
26
26
|
import './lcm/engine.js';
|
|
27
|
-
import './semantic-consolidation-
|
|
27
|
+
import './semantic-consolidation-COdwU-me.js';
|
|
28
28
|
import './conversation-index/backend.js';
|
|
29
|
-
import './catalog-
|
|
29
|
+
import './catalog-D2NLDg4S.js';
|
|
30
30
|
import './namespaces/search.js';
|
|
31
31
|
import './shared-context/manager.js';
|
|
32
32
|
import './compounding/engine.js';
|
package/dist/orchestrator.js
CHANGED
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
computeArtifactCandidateFetchLimit,
|
|
9
9
|
computeArtifactRecallLimit,
|
|
10
10
|
computeQmdHybridFetchLimit,
|
|
11
|
-
dedupeEntitySynthesisEvidenceEntries,
|
|
12
11
|
defaultWorkspaceDir,
|
|
13
12
|
deriveTopicsFromExtraction,
|
|
14
13
|
filterRecallCandidates,
|
|
@@ -27,7 +26,7 @@ import {
|
|
|
27
26
|
sanitizeSessionKeyForFilename,
|
|
28
27
|
shouldFilterLifecycleRecallCandidate,
|
|
29
28
|
summarizeGraphShadowComparison
|
|
30
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AE2HPUP7.js";
|
|
31
30
|
import "./chunk-OZECYVGI.js";
|
|
32
31
|
import {
|
|
33
32
|
formatCompressionGuidelinesForRecall
|
|
@@ -249,7 +248,6 @@ export {
|
|
|
249
248
|
computeArtifactCandidateFetchLimit,
|
|
250
249
|
computeArtifactRecallLimit,
|
|
251
250
|
computeQmdHybridFetchLimit,
|
|
252
|
-
dedupeEntitySynthesisEvidenceEntries,
|
|
253
251
|
defaultWorkspaceDir,
|
|
254
252
|
deriveTopicsFromExtraction,
|
|
255
253
|
filterRecallCandidates,
|
package/dist/patterns-cli.d.ts
CHANGED
package/dist/policy-runtime.d.ts
CHANGED
package/dist/provenance.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as ProvenanceSource, aj as ProvenanceConfig, k as MemoryFrontmatter } from './types-
|
|
1
|
+
import { ai as ProvenanceSource, aj as ProvenanceConfig, k as MemoryFrontmatter } from './types-w3Y232yi.js';
|
|
2
2
|
import './types-gb_SNtjR.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
|
package/dist/qmd.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as QmdSearchResult, ab as QmdSearchExplain } from './types-
|
|
1
|
+
import { Q as QmdSearchResult, ab as QmdSearchExplain } from './types-w3Y232yi.js';
|
|
2
2
|
import { SearchBackend, SearchExecutionOptions, SearchQueryOptions } from './search/port.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LastRecallSnapshot } from './recall-state.js';
|
|
2
|
-
import { R as RecallTierExplain } from './types-
|
|
2
|
+
import { R as RecallTierExplain } from './types-w3Y232yi.js';
|
|
3
3
|
import { RecallXraySnapshot } from './recall-xray.js';
|
|
4
4
|
import './search/port.js';
|
|
5
5
|
import './types-gb_SNtjR.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as RecallPlanMode, P as PluginConfig } from './types-
|
|
1
|
+
import { h as RecallPlanMode, P as PluginConfig } from './types-w3Y232yi.js';
|
|
2
2
|
import { CapabilitySet } from './capabilities.js';
|
|
3
3
|
import { FallbackLlmClient, FallbackLlmOptions } from './fallback-llm.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
package/dist/recall-state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchDegradation } from './search/port.js';
|
|
2
|
-
import { h as RecallPlanMode, I as IdentityInjectionMode, R as RecallTierExplain } from './types-
|
|
2
|
+
import { h as RecallPlanMode, I as IdentityInjectionMode, R as RecallTierExplain } from './types-w3Y232yi.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RecallXrayFormat } from './recall-xray-renderer.js';
|
|
2
|
-
import { i as RecallDisclosure } from './types-
|
|
2
|
+
import { i as RecallDisclosure } from './types-w3Y232yi.js';
|
|
3
3
|
import './recall-xray.js';
|
|
4
4
|
import './memory-provenance.js';
|
|
5
5
|
import './user-model.js';
|
package/dist/recall-xray.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RetrievedMemoryProvenance } from './memory-provenance.js';
|
|
2
|
-
import { R as RecallTierExplain, i as RecallDisclosure } from './types-
|
|
2
|
+
import { R as RecallTierExplain, i as RecallDisclosure } from './types-w3Y232yi.js';
|
|
3
3
|
import './user-model.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/routing/engine.d.ts
CHANGED
package/dist/routing/store.d.ts
CHANGED