@remnic/core 9.3.629 → 9.3.631
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-cli.js +15 -13
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +5 -4
- package/dist/access-http.js +7 -6
- package/dist/access-mcp.d.ts +5 -4
- package/dist/access-mcp.js +6 -5
- package/dist/{access-service-BdThkfIE.d.ts → access-service-C9_EpVHd.d.ts} +2 -2
- package/dist/access-service.d.ts +5 -4
- package/dist/access-service.js +5 -4
- 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/active-recall.js +1 -1
- package/dist/auto-sync-RFADEHIQ.js +75 -0
- package/dist/auto-sync-RFADEHIQ.js.map +1 -0
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -3
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +3 -2
- 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/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +4 -3
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-532VCWYW.js → chunk-242XFZ36.js} +2 -2
- package/dist/{chunk-XXO5TI3B.js → chunk-32U3N7H5.js} +3 -3
- package/dist/{chunk-KB4MFBF5.js → chunk-3RDYU3JS.js} +3 -3
- package/dist/{chunk-57QXN2CS.js → chunk-4S3N6HFG.js} +2 -2
- package/dist/{chunk-OLNNOHBC.js → chunk-5PT5I6JQ.js} +20 -14
- package/dist/{chunk-OLNNOHBC.js.map → chunk-5PT5I6JQ.js.map} +1 -1
- package/dist/{chunk-GE7Q7KXP.js → chunk-7A2QKUUA.js} +2 -2
- package/dist/{chunk-KKTXCFD7.js → chunk-7H5WCPBS.js} +95 -11
- package/dist/{chunk-KKTXCFD7.js.map → chunk-7H5WCPBS.js.map} +1 -1
- package/dist/{chunk-3MNBW7R7.js → chunk-C4KKM62E.js} +2 -2
- package/dist/{chunk-NKCW223V.js → chunk-CMN5AWAZ.js} +2 -2
- package/dist/{chunk-JXHMAQYT.js → chunk-DOBJH4I6.js} +4 -4
- package/dist/{chunk-TZDSNIRO.js → chunk-IFVFQRZ2.js} +5 -5
- package/dist/{chunk-LQYTQCXM.js → chunk-JCLECECB.js} +2 -2
- package/dist/chunk-KVDUDYEN.js +1164 -0
- package/dist/chunk-KVDUDYEN.js.map +1 -0
- package/dist/{chunk-QDV6VAD4.js → chunk-LEG7XWS2.js} +2 -2
- package/dist/chunk-M7XQSUBB.js +280 -0
- package/dist/chunk-M7XQSUBB.js.map +1 -0
- package/dist/{chunk-N5RGXWLQ.js → chunk-PUEAEQSN.js} +2 -2
- package/dist/{chunk-UGHUNQ74.js → chunk-QYGIQ5NM.js} +212 -417
- package/dist/chunk-QYGIQ5NM.js.map +1 -0
- package/dist/{chunk-JKCDQBDW.js → chunk-UXFOGILU.js} +2 -2
- package/dist/{chunk-MVQN73GT.js → chunk-VTR3MNYF.js} +2 -2
- package/dist/{chunk-KVFYTRMV.js → chunk-W25I7G6U.js} +2 -2
- package/dist/{chunk-3GLCUPXP.js → chunk-WLZBVYC6.js} +192 -889
- package/dist/chunk-WLZBVYC6.js.map +1 -0
- package/dist/{chunk-3R2UZV3U.js → chunk-X7EJF46S.js} +2 -2
- package/dist/{chunk-54KDA6UK.js → chunk-XG4NAWAV.js} +3 -3
- package/dist/{chunk-P2D2MM47.js → chunk-YROCXMCK.js} +2 -2
- package/dist/{cli-DAsHklrf.d.ts → cli-CuVEQWKr.d.ts} +3 -3
- package/dist/cli.d.ts +6 -5
- package/dist/cli.js +18 -17
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +3 -2
- 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/config.js +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -2
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -2
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/contradiction/index.js +4 -4
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +3 -2
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -3
- 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/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +49 -45
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +4 -3
- package/dist/mcp-memory-inspector-app.d.ts +5 -4
- 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 +1 -1
- package/dist/namespaces/migrate.js +4 -3
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +1 -1
- package/dist/namespaces/storage.js +3 -2
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +7 -6
- package/dist/{orchestrator-BexeSJ2j.d.ts → orchestrator-CoqytbK_.d.ts} +102 -10
- package/dist/orchestrator.d.ts +4 -3
- package/dist/orchestrator.js +12 -10
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.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/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-PwkzNfdK.d.ts → semantic-consolidation-BPs6BURk.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -3
- package/dist/semantic-rule-promotion.js +3 -2
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -2
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +38 -2
- package/dist/storage.js +6 -3
- 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/{types-BCF2wqKa.d.ts → types-CpMPD8xl.d.ts} +59 -11
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -2
- package/package.json +1 -1
- package/src/orchestrator.ts +74 -0
- package/src/storage.ts +100 -0
- package/src/wearables/auto-sync.test.ts +181 -0
- package/src/wearables/auto-sync.ts +129 -0
- package/src/wearables/cli.ts +6 -0
- package/src/wearables/config.test.ts +90 -11
- package/src/wearables/config.ts +113 -11
- package/src/wearables/memory-gen.test.ts +416 -1
- package/src/wearables/memory-gen.ts +381 -23
- package/src/wearables/pipeline.test.ts +396 -5
- package/src/wearables/pipeline.ts +174 -22
- package/src/wearables/service.test.ts +172 -0
- package/src/wearables/service.ts +84 -3
- package/src/wearables/storage-io.test.ts +81 -0
- package/src/wearables/trust.test.ts +123 -0
- package/src/wearables/trust.ts +168 -0
- package/src/wearables/types.ts +57 -9
- package/dist/chunk-3GLCUPXP.js.map +0 -1
- package/dist/chunk-UGHUNQ74.js.map +0 -1
- /package/dist/{chunk-532VCWYW.js.map → chunk-242XFZ36.js.map} +0 -0
- /package/dist/{chunk-XXO5TI3B.js.map → chunk-32U3N7H5.js.map} +0 -0
- /package/dist/{chunk-KB4MFBF5.js.map → chunk-3RDYU3JS.js.map} +0 -0
- /package/dist/{chunk-57QXN2CS.js.map → chunk-4S3N6HFG.js.map} +0 -0
- /package/dist/{chunk-GE7Q7KXP.js.map → chunk-7A2QKUUA.js.map} +0 -0
- /package/dist/{chunk-3MNBW7R7.js.map → chunk-C4KKM62E.js.map} +0 -0
- /package/dist/{chunk-NKCW223V.js.map → chunk-CMN5AWAZ.js.map} +0 -0
- /package/dist/{chunk-JXHMAQYT.js.map → chunk-DOBJH4I6.js.map} +0 -0
- /package/dist/{chunk-TZDSNIRO.js.map → chunk-IFVFQRZ2.js.map} +0 -0
- /package/dist/{chunk-LQYTQCXM.js.map → chunk-JCLECECB.js.map} +0 -0
- /package/dist/{chunk-QDV6VAD4.js.map → chunk-LEG7XWS2.js.map} +0 -0
- /package/dist/{chunk-N5RGXWLQ.js.map → chunk-PUEAEQSN.js.map} +0 -0
- /package/dist/{chunk-JKCDQBDW.js.map → chunk-UXFOGILU.js.map} +0 -0
- /package/dist/{chunk-MVQN73GT.js.map → chunk-VTR3MNYF.js.map} +0 -0
- /package/dist/{chunk-KVFYTRMV.js.map → chunk-W25I7G6U.js.map} +0 -0
- /package/dist/{chunk-3R2UZV3U.js.map → chunk-X7EJF46S.js.map} +0 -0
- /package/dist/{chunk-54KDA6UK.js.map → chunk-XG4NAWAV.js.map} +0 -0
- /package/dist/{chunk-P2D2MM47.js.map → chunk-YROCXMCK.js.map} +0 -0
package/dist/policy-runtime.d.ts
CHANGED
package/dist/qmd.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as QmdSearchResult, aj as QmdSearchExplain } from './types-
|
|
1
|
+
import { Z as QmdSearchResult, aj as QmdSearchExplain } from './types-CpMPD8xl.js';
|
|
2
2
|
import { SearchBackend, SearchQueryOptions, SearchExecutionOptions } from './search/port.js';
|
|
3
3
|
import './types-BliCnURB.js';
|
|
4
4
|
import './index-DJ9QWMw-.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-CpMPD8xl.js';
|
|
3
3
|
import { RecallXraySnapshot } from './recall-xray.js';
|
|
4
4
|
import './types-BliCnURB.js';
|
|
5
5
|
import './index-DJ9QWMw-.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-CpMPD8xl.js';
|
|
2
2
|
import { FallbackLlmClient, FallbackLlmOptions } from './fallback-llm.js';
|
|
3
3
|
import './types-BliCnURB.js';
|
|
4
4
|
import './index-DJ9QWMw-.js';
|
package/dist/recall-state.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as RecallPlanMode, J as IdentityInjectionMode, R as RecallTierExplain } from './types-
|
|
1
|
+
import { H as RecallPlanMode, J as IdentityInjectionMode, R as RecallTierExplain } from './types-CpMPD8xl.js';
|
|
2
2
|
import './types-BliCnURB.js';
|
|
3
3
|
import './index-DJ9QWMw-.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RecallXrayFormat } from './recall-xray-renderer.js';
|
|
2
|
-
import { K as RecallDisclosure } from './types-
|
|
2
|
+
import { K as RecallDisclosure } from './types-CpMPD8xl.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, K as RecallDisclosure } from './types-
|
|
2
|
+
import { R as RecallTierExplain, K as RecallDisclosure } from './types-CpMPD8xl.js';
|
|
3
3
|
import './user-model.js';
|
|
4
4
|
import './types-BliCnURB.js';
|
|
5
5
|
import './index-DJ9QWMw-.js';
|
package/dist/resume-bundles.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
recordResumeBundle,
|
|
5
5
|
resolveResumeBundleDir,
|
|
6
6
|
validateResumeBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W25I7G6U.js";
|
|
8
8
|
import "./chunk-ZRWB5D4H.js";
|
|
9
9
|
import "./chunk-A6D7A2FW.js";
|
|
10
10
|
import "./chunk-FF4KLI5W.js";
|
|
11
11
|
import "./chunk-KFY3SGN7.js";
|
|
12
12
|
import "./chunk-LMDRGRJ2.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-7H5WCPBS.js";
|
|
14
14
|
import "./chunk-PHK3HARR.js";
|
|
15
15
|
import "./chunk-NDAH7BJ5.js";
|
|
16
16
|
import "./chunk-Z5LAYHGJ.js";
|
package/dist/routing/engine.d.ts
CHANGED
package/dist/routing/store.d.ts
CHANGED
package/dist/search/factory.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig } from '../types-
|
|
1
|
+
import { P as PluginConfig } from '../types-CpMPD8xl.js';
|
|
2
2
|
import { SearchBackend } from './port.js';
|
|
3
3
|
import { F as FaissConversationIndexAdapter } from '../faiss-adapter-BHecI1fF.js';
|
|
4
4
|
import { ConversationQmdRuntime, ConversationIndexBackend } from '../conversation-index/backend.js';
|
package/dist/search/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { OramaBackend } from './orama-backend.js';
|
|
|
7
7
|
export { EmbedHelper } from './embed-helper.js';
|
|
8
8
|
export { IndexableDocument, scanMemoryDir } from './document-scanner.js';
|
|
9
9
|
export { createConversationIndexRuntime, createConversationSearchBackend, createSearchBackend } from './factory.js';
|
|
10
|
-
import '../types-
|
|
10
|
+
import '../types-CpMPD8xl.js';
|
|
11
11
|
import '../types-BliCnURB.js';
|
|
12
12
|
import '../index-DJ9QWMw-.js';
|
|
13
13
|
import '../host-embedding-provider.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchBackend, SearchQueryOptions, SearchExecutionOptions, SearchResult } from './port.js';
|
|
2
2
|
import { EmbedHelper } from './embed-helper.js';
|
|
3
|
-
import '../types-
|
|
3
|
+
import '../types-CpMPD8xl.js';
|
|
4
4
|
import '../types-BliCnURB.js';
|
|
5
5
|
import '../index-DJ9QWMw-.js';
|
|
6
6
|
import '../host-embedding-provider.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchBackend, SearchQueryOptions, SearchExecutionOptions, SearchResult } from './port.js';
|
|
2
2
|
import { EmbedHelper } from './embed-helper.js';
|
|
3
|
-
import '../types-
|
|
3
|
+
import '../types-CpMPD8xl.js';
|
|
4
4
|
import '../types-BliCnURB.js';
|
|
5
5
|
import '../index-DJ9QWMw-.js';
|
|
6
6
|
import '../host-embedding-provider.js';
|
package/dist/search/port.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, g as MemoryFile } from './types-
|
|
1
|
+
import { P as PluginConfig, g as MemoryFile } from './types-CpMPD8xl.js';
|
|
2
2
|
import { RolloutSummaryInput, MaterializeResult } from './connectors/codex-materialize.js';
|
|
3
3
|
import { LoggerBackend } from './logger.js';
|
|
4
4
|
import { SemanticConsolidationLlmOperator } from './consolidation-operator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './types-
|
|
1
|
+
import './types-CpMPD8xl.js';
|
|
2
2
|
import './connectors/codex-materialize.js';
|
|
3
|
-
export { C as ConsolidationCluster, O as OperatorAwareConsolidationResult, S as SemanticConsolidationResult, a as buildConsolidationPrompt, b as buildExtensionsBlockForConsolidation, c as buildOperatorAwareConsolidationPrompt, e as chooseConsolidationOperator, f as findSimilarClusters, m as materializeAfterSemanticConsolidation, p as parseConsolidationResponse, g as parseOperatorAwareConsolidationResponse, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
3
|
+
export { C as ConsolidationCluster, O as OperatorAwareConsolidationResult, S as SemanticConsolidationResult, a as buildConsolidationPrompt, b as buildExtensionsBlockForConsolidation, c as buildOperatorAwareConsolidationPrompt, e as chooseConsolidationOperator, f as findSimilarClusters, m as materializeAfterSemanticConsolidation, p as parseConsolidationResponse, g as parseOperatorAwareConsolidationResponse, r as resolveExtensionsRoot } from './semantic-consolidation-BPs6BURk.js';
|
|
4
4
|
export { CONSOLIDATION_OPERATORS, ConsolidationOperator, SemanticConsolidationLlmOperator, isConsolidationOperator, isSemanticConsolidationLlmOperator, isValidDerivedFromEntry } from './consolidation-operator.js';
|
|
5
5
|
import './types-BliCnURB.js';
|
|
6
6
|
import './index-DJ9QWMw-.js';
|
|
@@ -7,14 +7,15 @@ import {
|
|
|
7
7
|
materializeAfterSemanticConsolidation,
|
|
8
8
|
parseConsolidationResponse,
|
|
9
9
|
parseOperatorAwareConsolidationResponse
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-X7EJF46S.js";
|
|
11
|
+
import "./chunk-7A2QKUUA.js";
|
|
12
12
|
import "./chunk-LN4YGHTM.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveExtensionsRoot
|
|
15
15
|
} from "./chunk-JLNBQWZ2.js";
|
|
16
16
|
import "./chunk-3UXOZBHV.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QYGIQ5NM.js";
|
|
18
|
+
import "./chunk-M7XQSUBB.js";
|
|
18
19
|
import "./chunk-5UZXUTVO.js";
|
|
19
20
|
import "./chunk-J6A3CX5N.js";
|
|
20
21
|
import "./chunk-FPNQF475.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
promoteSemanticRuleFromMemory,
|
|
3
3
|
setSemanticRulePromotionTestHooks
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PUEAEQSN.js";
|
|
5
|
+
import "./chunk-QYGIQ5NM.js";
|
|
6
|
+
import "./chunk-M7XQSUBB.js";
|
|
6
7
|
import "./chunk-5UZXUTVO.js";
|
|
7
8
|
import "./chunk-J6A3CX5N.js";
|
|
8
9
|
import "./chunk-FPNQF475.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchVerifiedSemanticRules
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4S3N6HFG.js";
|
|
4
|
+
import "./chunk-QYGIQ5NM.js";
|
|
5
|
+
import "./chunk-M7XQSUBB.js";
|
|
5
6
|
import "./chunk-5UZXUTVO.js";
|
|
6
7
|
import "./chunk-J6A3CX5N.js";
|
|
7
8
|
import "./chunk-FPNQF475.js";
|
package/dist/signal.d.ts
CHANGED
package/dist/storage.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VersioningConfig } from './page-versioning.js';
|
|
2
2
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
3
|
-
import { P as PluginConfig,
|
|
3
|
+
import { P as PluginConfig, h as MemoryStatus, M as MemoryCategory, I as ImportanceScore, i as MemoryLink, j as MemoryFrontmatter, g as MemoryFile, E as EntityStructuredSection, k as BufferState, l as MetaState, m as MemoryActionEvent, n as MemoryLifecycleEvent, o as BufferSurpriseEvent, B as BehaviorSignalEvent, C as CompressionGuidelineOptimizerState, p as ContinuityIncidentOpenInput, q as ContinuityIncidentRecord, r as ContinuityIncidentCloseInput, s as ContinuityImprovementLoop, t as ContinuityLoopUpsertInput, u as ContinuityLoopReviewInput, F as FileHygieneConfig, v as EntityRelationship, w as EntityActivityEntry, x as EntityFile, y as AccessTrackingEntry, z as MemoryProjectionCurrentState, D as MemorySummary, T as TopicScore } from './types-CpMPD8xl.js';
|
|
4
4
|
import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
|
|
5
5
|
import './types-BliCnURB.js';
|
|
6
6
|
import './index-DJ9QWMw-.js';
|
|
@@ -97,6 +97,15 @@ declare class ContentHashIndex {
|
|
|
97
97
|
* normalizeAttributePairs({ foo: "bar", BAZ: "qux" })
|
|
98
98
|
* // → "baz: qux; foo: bar"
|
|
99
99
|
*/
|
|
100
|
+
/**
|
|
101
|
+
* Remove the "[Attributes: ...]" suffix `writeMemory` appends to the
|
|
102
|
+
* stored body when structuredAttributes are present, yielding the raw
|
|
103
|
+
* fact text for content comparison. Inverse companion of
|
|
104
|
+
* `normalizeAttributePairs` enrichment. String operations, not regex —
|
|
105
|
+
* CodeQL js/polynomial-redos on a suffix-anchored pattern over
|
|
106
|
+
* library-supplied content.
|
|
107
|
+
*/
|
|
108
|
+
declare function stripAttributesSuffix(content: string): string;
|
|
100
109
|
declare function normalizeAttributePairs(pairs: Record<string, string>): string;
|
|
101
110
|
declare function compareEntityTimestamps(left?: string, right?: string): number;
|
|
102
111
|
declare function fingerprintEntityStructuredFacts(entity: Pick<EntityFile, "structuredSections">): string | undefined;
|
|
@@ -248,6 +257,33 @@ declare class StorageManager {
|
|
|
248
257
|
source: string;
|
|
249
258
|
date: string;
|
|
250
259
|
}>>;
|
|
260
|
+
/**
|
|
261
|
+
* Locate a wearable-sourced memory by exact (trimmed) content,
|
|
262
|
+
* ignoring the "[Attributes: ...]" suffix writeMemory appends for
|
|
263
|
+
* structuredAttributes — callers pass the raw fact text. Used by the
|
|
264
|
+
* smart trust pipeline to find an earlier borderline write when the
|
|
265
|
+
* same fact re-extracts with stronger evidence.
|
|
266
|
+
*/
|
|
267
|
+
findWearableMemoryByContent(content: string): Promise<{
|
|
268
|
+
id: string;
|
|
269
|
+
status: MemoryStatus | undefined;
|
|
270
|
+
} | null>;
|
|
271
|
+
/**
|
|
272
|
+
* Promote a pending_review wearable memory to active in place,
|
|
273
|
+
* merging updated trust evidence into structuredAttributes. Returns
|
|
274
|
+
* false when the memory is missing or no longer pending_review (a
|
|
275
|
+
* concurrent review decision wins).
|
|
276
|
+
*/
|
|
277
|
+
promoteWearableMemory(id: string, attributeUpdates: Record<string, string>, confidence?: number): Promise<boolean>;
|
|
278
|
+
/**
|
|
279
|
+
* Demote a pending_review wearable memory to rejected when a re-pass
|
|
280
|
+
* produced an explicit judge-reject verdict, merging the evidence.
|
|
281
|
+
* Returns false when the memory is missing or no longer
|
|
282
|
+
* pending_review — active rows are NEVER auto-demoted (operator
|
|
283
|
+
* approvals and accrued recall signals win; contradiction scans and
|
|
284
|
+
* supersession own active-row retirement).
|
|
285
|
+
*/
|
|
286
|
+
demoteWearableMemory(id: string, attributeUpdates: Record<string, string>): Promise<boolean>;
|
|
251
287
|
private get factsDir();
|
|
252
288
|
private get correctionsDir();
|
|
253
289
|
private get proceduresDir();
|
|
@@ -817,4 +853,4 @@ declare class StorageManager {
|
|
|
817
853
|
private appendGeneratedMemoryLifecycleEventFailOpen;
|
|
818
854
|
}
|
|
819
855
|
|
|
820
|
-
export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type ReextractJobRequest, StorageManager, compareEntityTimestamps, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, parseEntityFile, serializeEntityFile };
|
|
856
|
+
export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type ReextractJobRequest, StorageManager, compareEntityTimestamps, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, parseEntityFile, serializeEntityFile, stripAttributesSuffix };
|
package/dist/storage.js
CHANGED
|
@@ -7,8 +7,10 @@ import {
|
|
|
7
7
|
normalizeAttributePairs,
|
|
8
8
|
normalizeEntityName,
|
|
9
9
|
parseEntityFile,
|
|
10
|
-
serializeEntityFile
|
|
11
|
-
|
|
10
|
+
serializeEntityFile,
|
|
11
|
+
stripAttributesSuffix
|
|
12
|
+
} from "./chunk-QYGIQ5NM.js";
|
|
13
|
+
import "./chunk-M7XQSUBB.js";
|
|
12
14
|
import "./chunk-5UZXUTVO.js";
|
|
13
15
|
import "./chunk-J6A3CX5N.js";
|
|
14
16
|
import "./chunk-FPNQF475.js";
|
|
@@ -37,6 +39,7 @@ export {
|
|
|
37
39
|
normalizeAttributePairs,
|
|
38
40
|
normalizeEntityName,
|
|
39
41
|
parseEntityFile,
|
|
40
|
-
serializeEntityFile
|
|
42
|
+
serializeEntityFile,
|
|
43
|
+
stripAttributesSuffix
|
|
41
44
|
};
|
|
42
45
|
//# sourceMappingURL=storage.js.map
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, _ as TranscriptEntry, a0 as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, _ as TranscriptEntry, a0 as HourlySummary } from './types-CpMPD8xl.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './types-BliCnURB.js';
|
|
5
5
|
import './index-DJ9QWMw-.js';
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, _ as TranscriptEntry, $ as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, _ as TranscriptEntry, $ as Checkpoint } from './types-CpMPD8xl.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-BliCnURB.js';
|
|
4
4
|
import './index-DJ9QWMw-.js';
|
|
@@ -136,31 +136,58 @@ interface WearableSourceSettings {
|
|
|
136
136
|
userId?: string;
|
|
137
137
|
/**
|
|
138
138
|
* Memory creation mode (trust gate):
|
|
139
|
+
* - "smart": DEFAULT. Fully automated trust pipeline: the
|
|
140
|
+
* extraction judge (LLM-as-judge) plus a per-source
|
|
141
|
+
* trust prior, cross-device corroboration, and
|
|
142
|
+
* existing-memory support combine into a trust score.
|
|
143
|
+
* High-trust facts are written active; borderline facts
|
|
144
|
+
* go to the review queue; low-trust/judge-rejected
|
|
145
|
+
* facts are dropped. See wearables/trust.ts.
|
|
139
146
|
* - "off": transcripts only; never create memories.
|
|
140
|
-
* - "review":
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* - "auto":
|
|
144
|
-
*
|
|
147
|
+
* - "review": every extracted candidate is written
|
|
148
|
+
* "pending_review" — nothing enters active recall
|
|
149
|
+
* without operator approval.
|
|
150
|
+
* - "auto": deterministic gates only; survivors written active
|
|
151
|
+
* (no judge, no trust scoring).
|
|
145
152
|
*/
|
|
146
153
|
memoryMode: WearableMemoryMode;
|
|
154
|
+
/**
|
|
155
|
+
* Trust prior for this source's transcription quality (0..1).
|
|
156
|
+
* Multiplies extraction confidence in smart mode — lower it for a
|
|
157
|
+
* device that mis-transcribes often. Default 0.8.
|
|
158
|
+
*/
|
|
159
|
+
sourceTrust: number;
|
|
160
|
+
/** Smart mode: trust at/above which facts are written active. */
|
|
161
|
+
autoApproveTrust: number;
|
|
162
|
+
/**
|
|
163
|
+
* Smart mode: trust at/above which borderline facts are queued for
|
|
164
|
+
* review instead of dropped. Must be below autoApproveTrust.
|
|
165
|
+
*/
|
|
166
|
+
reviewTrust: number;
|
|
147
167
|
/** Drop extracted facts below this confidence (0–1). */
|
|
148
168
|
minConfidence: number;
|
|
149
169
|
/** Drop extracted facts scored below this importance level. */
|
|
150
170
|
minImportance: ImportanceLevel;
|
|
151
171
|
/**
|
|
152
|
-
* Cap on memories created per source per day. 0
|
|
172
|
+
* Cap on memories created per source per day. 0 (the default)
|
|
173
|
+
* disables the cap — the smart trust pipeline is the quality gate,
|
|
174
|
+
* and a count cap would drop real memories on busy days.
|
|
153
175
|
*/
|
|
154
176
|
maxMemoriesPerDay: number;
|
|
155
177
|
/**
|
|
156
178
|
* Import provider-extracted memories (Bee facts / Omi memories).
|
|
157
|
-
* "
|
|
158
|
-
|
|
159
|
-
|
|
179
|
+
* - "smart": DEFAULT. Same trust pipeline as transcript facts
|
|
180
|
+
* (judge + trust prior + corroboration) with a slightly reduced
|
|
181
|
+
* prior — provider extraction quality is outside Remnic's
|
|
182
|
+
* control.
|
|
183
|
+
* - "review": always pending_review.
|
|
184
|
+
* - "off": skip.
|
|
185
|
+
*/
|
|
186
|
+
importNativeMemories: "off" | "review" | "smart";
|
|
160
187
|
/** Transcript cleanup toggles. */
|
|
161
188
|
cleanup: WearableCleanupSettings;
|
|
162
189
|
}
|
|
163
|
-
type WearableMemoryMode = "off" | "review" | "auto";
|
|
190
|
+
type WearableMemoryMode = "off" | "review" | "auto" | "smart";
|
|
164
191
|
interface WearableCleanupSettings {
|
|
165
192
|
/** Merge consecutive segments from the same speaker. */
|
|
166
193
|
mergeSameSpeaker: boolean;
|
|
@@ -214,6 +241,23 @@ interface WearablesConfig {
|
|
|
214
241
|
* Default false.
|
|
215
242
|
*/
|
|
216
243
|
digestEnabled: boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Periodically refresh transcripts in-process (long-lived hosts).
|
|
246
|
+
* Every tick re-syncs `autoSyncDays` ending today — existing day
|
|
247
|
+
* files included, so the current day keeps growing while the
|
|
248
|
+
* wearable records. Default true.
|
|
249
|
+
*/
|
|
250
|
+
autoSyncEnabled: boolean;
|
|
251
|
+
/** Minutes between auto-sync ticks (1-1440). Default 15. */
|
|
252
|
+
autoSyncIntervalMinutes: number;
|
|
253
|
+
/** Rolling window (days ending today) per tick (1-90). Default 2. */
|
|
254
|
+
autoSyncDays: number;
|
|
255
|
+
/**
|
|
256
|
+
* Once-per-local-day deep pass window (days, 0-90) picking up late
|
|
257
|
+
* uploads and provider re-processing. 0 disables; otherwise must be
|
|
258
|
+
* >= autoSyncDays. Default 7.
|
|
259
|
+
*/
|
|
260
|
+
autoSyncDeepDays: number;
|
|
217
261
|
/** Correction rules from config (merged with CLI-managed rules). */
|
|
218
262
|
corrections: WearableCorrectionRule[];
|
|
219
263
|
/** Per-source settings, keyed by connector id. */
|
|
@@ -232,6 +276,10 @@ interface WearableSyncSummary {
|
|
|
232
276
|
/** Day files written (skipped-unchanged days are not listed). */
|
|
233
277
|
transcriptsWritten: string[];
|
|
234
278
|
memoriesCreated: number;
|
|
279
|
+
/** Earlier borderline writes promoted to active by new evidence. */
|
|
280
|
+
memoriesPromoted: number;
|
|
281
|
+
/** Earlier pending writes retired by a fresh judge-reject verdict. */
|
|
282
|
+
memoriesDemoted: number;
|
|
235
283
|
memoriesSkipped: number;
|
|
236
284
|
nativeMemoriesImported: number;
|
|
237
285
|
/** Non-fatal warnings surfaced to the operator. */
|
|
@@ -3131,4 +3179,4 @@ interface HourlySummary {
|
|
|
3131
3179
|
generatedAt: string;
|
|
3132
3180
|
}
|
|
3133
3181
|
|
|
3134
|
-
export { type Checkpoint as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CompressionGuidelineOptimizerState as C, type MemorySummary as D, type EntityStructuredSection as E, type FileHygieneConfig as F, type GatewayConfig as G, type RecallPlanMode as H, type ImportanceScore as I, type IdentityInjectionMode as J, type RecallDisclosure as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type BriefingSections as N, type BriefingFollowup as O, type PluginConfig as P, type BriefingFocus as Q, type RecallTierExplain as R, type CalendarSource as S, type TopicScore as T, type CalendarEvent as U, type BriefingActiveThread as V, type BriefingResult as W, type BriefingRecentEntity as X, type BufferTurn as Y, type QmdSearchResult as Z, type TranscriptEntry as _, type ActiveRecallQueryMode as a, type WearableNativeMemoryPage as a$, type HourlySummary as a0, type SessionObserverBandConfig as a1, type LifecycleState as a2, type VerificationState as a3, type PolicyClass as a4, type
|
|
3182
|
+
export { type Checkpoint as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CompressionGuidelineOptimizerState as C, type MemorySummary as D, type EntityStructuredSection as E, type FileHygieneConfig as F, type GatewayConfig as G, type RecallPlanMode as H, type ImportanceScore as I, type IdentityInjectionMode as J, type RecallDisclosure as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type BriefingSections as N, type BriefingFollowup as O, type PluginConfig as P, type BriefingFocus as Q, type RecallTierExplain as R, type CalendarSource as S, type TopicScore as T, type CalendarEvent as U, type BriefingActiveThread as V, type BriefingResult as W, type BriefingRecentEntity as X, type BufferTurn as Y, type QmdSearchResult as Z, type TranscriptEntry as _, type ActiveRecallQueryMode as a, type WearableNativeMemoryPage as a$, type HourlySummary as a0, type SessionObserverBandConfig as a1, type LifecycleState as a2, type VerificationState as a3, type PolicyClass as a4, type ImportanceLevel as a5, type SecretRef as a6, type AgentAccessAuthToken as a7, type CompressionGuidelineOptimizerEventCounts as a8, type CompressionGuidelineOptimizerActionSummary as a9, type WearableSourceConnector as aA, type WearablesConfig as aB, type WearableSyncSummary as aC, type WearableSourceStatus as aD, type WearableDayTranscript as aE, type WearableCorrectionRule as aF, type CodingContext as aG, type BootstrapOptions as aH, type BootstrapResult as aI, type ConsolidationObservation as aJ, type EntityTimelineEntry as aK, type CodingModeConfig as aL, type WearableCleanupSettings as aM, type WearableDayTranscriptMeta as aN, type BriefingConfig as aO, type BriefingOpenCommitment as aP, type BriefingWindow as aQ, type CodexCompatConfig as aR, DEFAULT_RECALL_DISCLOSURE as aS, type ExtractedFact as aT, type MemoryActionEligibilitySource as aU, type MemoryObservation as aV, type MemoryScope as aW, RECALL_DISCLOSURE_LEVELS as aX, type WearableAuthCheck as aY, type WearableFetchOptions as aZ, type WearableFetchPage as a_, type CompressionGuidelineOptimizerRuleUpdate as aa, type MemoryActionType as ab, type EntityMention as ac, type EntitySchemaDefinition as ad, type EntitySchemaSectionDefinition as ae, type ExtractionResult as af, type ConsolidationResult as ag, type DaySummaryResult as ah, type MemoryIntent as ai, type QmdSearchExplain as aj, type MemoryActionEligibilityContext as ak, type MemoryActionPolicyResult as al, type MemoryLifecycleEventType as am, type MemoryLifecycleStateSummary as an, type ModelProviderConfig as ao, type NativeKnowledgeConfig as ap, type RetrievalTier as aq, type SignalScanResult as ar, type ConversationThread as as, type DreamsStatusResult as at, type DreamsPhase as au, type DreamsRunResult as av, type WearableConversation as aw, type WearableSourceSettings as ax, type WearableNativeMemory as ay, type WearableMemoryMode as az, type ActiveRecallPromptStyle as b, type ReasoningEffort as b$, type WearableTranscriptSegment as b0, isRecallDisclosure as b1, type AgentAccessHttpConfig as b2, type AgentDefaultsConfig as b3, type AgentPersona as b4, type BehaviorLoopAdjustment as b5, type BehaviorSignalDirection as b6, type BehaviorSignalType as b7, type BriefingCalendarSourceError as b8, type BufferEntryState as b9, type ExtractedReasoningTraceStep as bA, type ExtractedRelationship as bB, type ExtractionPassSource as bC, type GitHubLiveConnectorConfig as bD, type GmailLiveConnectorConfig as bE, type GoogleDriveLiveConnectorConfig as bF, type HeartbeatConfig as bG, type HeartbeatDetectionMode as bH, type LlmTraceCallback as bI, type LlmTraceEvent as bJ, type MemoryActionOutcome as bK, type MemoryActionPolicyDecision as bL, type MemoryActionStatus as bM, type MemoryLinkType as bN, type MemoryOsPresetName as bO, type ModelApi as bP, type ModelDefinitionConfig as bQ, type ModelProviderAuthMode as bR, type NamespacePolicy as bS, type NativeKnowledgeFolderRuleConfig as bT, type NativeKnowledgeObsidianVaultConfig as bU, type NativeKnowledgeOpenClawWorkspaceConfig as bV, type NotionLiveConnectorConfig as bW, type PrincipalFromSessionKeyMode as bX, type PrincipalRule as bY, type ProceduralConfig as bZ, type QuestionEntry as b_, type CaptureMode as ba, type CodexCliReasoningEffort as bb, type CodexCompactionFlushMode as bc, type CodexConnectorConfig as bd, type CompressionGuidelineActivationState as be, type CompressionGuidelineOptimizerSourceWindow as bf, type ConfidenceTier as bg, type ConsolidationAction as bh, type ConsolidationItem as bi, type ContinuityIncidentState as bj, type ContinuityLoopCadence as bk, type ContinuityLoopStatus as bl, type ContradictionScanConfig as bm, type CronConversationRecallMode as bn, type CronRecallMode as bo, type DreamingConfig as bp, type DreamingNarrativePromptStyle as bq, type DreamsDeepSleepConfig as br, type DreamsLightSleepConfig as bs, type DreamsPhaseStatus as bt, type DreamsPhasesConfig as bu, type DreamsRemConfig as bv, type EngramTraceEvent as bw, type ExtractedProcedureStep as bx, type ExtractedQuestion as by, type ExtractedReasoningTrace as bz, type ActiveRecallThinking as c, type RecallPipelineConfig as c0, type RecallSectionConfig as c1, type RecallTraceEvent as c2, type RelevanceFeedback as c3, SPECULATIVE_TTL_DAYS as c4, type ScoredEntity as c5, type SemanticChunkingConfigShape as c6, type SignalLevel as c7, type SlotBehaviorConfig as c8, type SlotMismatchMode as c9, type TriggerMode as ca, confidenceTier as cb, type ActiveRecallModelFallbackPolicy as d, type BehaviorLoopPolicyState as e, type AgentPersonaModelConfig as f, type MemoryFile as g, type MemoryStatus as h, type MemoryLink as i, type MemoryFrontmatter as j, type BufferState as k, type MetaState as l, type MemoryActionEvent as m, type MemoryLifecycleEvent as n, type BufferSurpriseEvent as o, type ContinuityIncidentOpenInput as p, type ContinuityIncidentRecord as q, type ContinuityIncidentCloseInput as r, type ContinuityImprovementLoop as s, type ContinuityLoopUpsertInput as t, type ContinuityLoopReviewInput as u, type EntityRelationship as v, type EntityActivityEntry as w, type EntityFile as x, type AccessTrackingEntry as y, type MemoryProjectionCurrentState as z };
|