@remnic/core 1.1.7 → 1.1.9
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 +30 -30
- package/dist/access-http.d.ts +7 -7
- package/dist/access-http.js +13 -13
- package/dist/access-mcp.d.ts +7 -7
- package/dist/access-mcp.js +12 -12
- package/dist/{access-service-B9sziJdP.d.ts → access-service-BJCIjVRY.d.ts} +9 -9
- package/dist/access-service.d.ts +7 -7
- package/dist/access-service.js +11 -11
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +2 -2
- package/dist/active-recall.js +2 -2
- package/dist/active-recall.js.map +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +6 -6
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +6 -6
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +2 -2
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +2 -2
- package/dist/causal-consolidation.js +8 -8
- package/dist/{chunk-LKJA5MR2.js → chunk-2MVUXO4H.js} +2 -2
- package/dist/{chunk-GZCUW5IC.js → chunk-3IQ2TR4N.js} +5 -5
- package/dist/chunk-3IQ2TR4N.js.map +1 -0
- package/dist/{chunk-AKV3HOGZ.js → chunk-3VRIIII5.js} +150 -2
- package/dist/chunk-3VRIIII5.js.map +1 -0
- package/dist/{chunk-TUFG6VXY.js → chunk-4DWOBS2A.js} +2 -2
- package/dist/chunk-4DWOBS2A.js.map +1 -0
- package/dist/{chunk-L2IO2QPY.js → chunk-4IS4SXIQ.js} +17 -13
- package/dist/chunk-4IS4SXIQ.js.map +1 -0
- package/dist/{chunk-ZOMA7J3J.js → chunk-6OAQEOGV.js} +2 -2
- package/dist/{chunk-FSWYMUWI.js → chunk-6Z6UH6TK.js} +38 -12
- package/dist/chunk-6Z6UH6TK.js.map +1 -0
- package/dist/{chunk-EONJ7GK3.js → chunk-7SFAENUZ.js} +2 -2
- package/dist/{chunk-ODWDQNRE.js → chunk-7SI52C65.js} +7 -3
- package/dist/chunk-7SI52C65.js.map +1 -0
- package/dist/{chunk-M3QQ5DRA.js → chunk-A6PGANSE.js} +3 -3
- package/dist/{chunk-KUIEFH2S.js → chunk-BIHCWSWA.js} +3 -3
- package/dist/{chunk-PT2EZWOH.js → chunk-CTYRIJ5E.js} +3 -3
- package/dist/{chunk-COAGZQT7.js → chunk-ET4BL42V.js} +1 -1
- package/dist/chunk-ET4BL42V.js.map +1 -0
- package/dist/{chunk-DWMXVUGO.js → chunk-FLBYSB2V.js} +6 -4
- package/dist/chunk-FLBYSB2V.js.map +1 -0
- package/dist/{chunk-VZNQB6NL.js → chunk-FPWUENQH.js} +39 -35
- package/dist/chunk-FPWUENQH.js.map +1 -0
- package/dist/chunk-FVQJYWH7.js +52 -0
- package/dist/chunk-FVQJYWH7.js.map +1 -0
- package/dist/{chunk-RXGR3YLU.js → chunk-G3G3LY22.js} +2 -2
- package/dist/{chunk-ZBZVNWQO.js → chunk-G6NX57V2.js} +33 -43
- package/dist/chunk-G6NX57V2.js.map +1 -0
- package/dist/{chunk-3FPTCC3Z.js → chunk-GVPWB7EY.js} +2 -2
- package/dist/{chunk-D7WYTVUQ.js → chunk-ICULSMDG.js} +2 -2
- package/dist/{chunk-5NS6NN5A.js → chunk-J3P6WSFZ.js} +2 -2
- package/dist/{chunk-FCGWNWG4.js → chunk-KIF7QNKL.js} +28 -28
- package/dist/chunk-KIF7QNKL.js.map +1 -0
- package/dist/{chunk-YELFQNQH.js → chunk-KMWZXT5T.js} +2 -2
- package/dist/{chunk-YKGRACQP.js → chunk-M3DK45UM.js} +5 -5
- package/dist/{chunk-DLYTYJ43.js → chunk-MJLUHRSF.js} +5 -5
- package/dist/{chunk-4KAN3GZ3.js → chunk-NN2DKE4T.js} +1 -1
- package/dist/chunk-NN2DKE4T.js.map +1 -0
- package/dist/{chunk-R2XRID2N.js → chunk-NN3LPQ5D.js} +5 -5
- package/dist/chunk-NN3LPQ5D.js.map +1 -0
- package/dist/{chunk-7RAW2T4P.js → chunk-OWGGXPKV.js} +16 -9
- package/dist/chunk-OWGGXPKV.js.map +1 -0
- package/dist/{chunk-WSZIHQBK.js → chunk-P77UEOU2.js} +4 -1
- package/dist/{chunk-WSZIHQBK.js.map → chunk-P77UEOU2.js.map} +1 -1
- package/dist/{chunk-MYMOXFMR.js → chunk-PHQH2VUO.js} +4 -4
- package/dist/{chunk-OZAFME7S.js → chunk-QPLYTPYL.js} +15 -15
- package/dist/{chunk-FEMOX5AD.js → chunk-QR3C7BKQ.js} +7 -7
- package/dist/chunk-QR3C7BKQ.js.map +1 -0
- package/dist/{chunk-3LCWFNVS.js → chunk-SKE7JYKA.js} +2 -2
- package/dist/{chunk-AIT53NLG.js → chunk-U4SZXGEO.js} +2 -2
- package/dist/{chunk-67YLUWLG.js → chunk-XJKFSSDW.js} +3 -3
- package/dist/chunk-XJKFSSDW.js.map +1 -0
- package/dist/{chunk-KQB4C4OE.js → chunk-XL3UCAZA.js} +22 -22
- package/dist/{chunk-ASIQZXYO.js → chunk-XMVFHBHT.js} +2 -2
- package/dist/{chunk-6B23Z44B.js → chunk-XN4D6Z7X.js} +3 -3
- package/dist/{chunk-S5SQDIF5.js → chunk-Y3VT6ZCP.js} +4 -4
- package/dist/{cli-olNPi1uN.d.ts → cli-BojuyOOp.d.ts} +4 -4
- package/dist/cli.d.ts +8 -8
- package/dist/cli.js +24 -24
- package/dist/{codex-materialize-D5d5vvyS.d.ts → codex-materialize-YVC2wb6n.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/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/day-summary.d.ts +1 -1
- package/dist/day-summary.js +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/{engine-2JKWFKJV.js → engine-EDFFOWDD.js} +7 -7
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +6 -6
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -6
- package/dist/explicit-capture.js +2 -2
- package/dist/explicit-cue-recall.js +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/extraction.js +7 -7
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +147 -147
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/live-connectors-runner.js +2 -2
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-llm.js +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/{memory-governance-7MI7KE35.js → memory-governance-AAQPBZEP.js} +7 -7
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/{memory-projection-store-BQt5VUQ8.d.ts → memory-projection-store-BW8u5U0u.d.ts} +1 -1
- package/dist/memory-projection-store.d.ts +2 -2
- package/dist/memory-projection-store.js +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/{migrate-from-identity-anchor-TTEDEJGX.js → migrate-from-identity-anchor-G27MCD6A.js} +2 -2
- package/dist/model-registry.js +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/models-json.js +1 -1
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +10 -10
- package/dist/opik-exporter.js +2 -2
- package/dist/opik-exporter.js.map +1 -1
- package/dist/{orchestrator-D2lHhFWI.d.ts → orchestrator-CYqmqxco.d.ts} +5 -5
- package/dist/orchestrator.d.ts +6 -6
- package/dist/orchestrator.js +25 -25
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{peers-6OSQ3NK6.js → peers-HCVGHMAE.js} +3 -3
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/{port-5W-r5SKc.d.ts → port-Br27H8dy.d.ts} +7 -1
- package/dist/qmd-recall-cache.d.ts +2 -2
- package/dist/qmd.d.ts +3 -2
- package/dist/qmd.js +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- 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-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/sanitize.js +1 -1
- package/dist/schemas.d.ts +22 -22
- package/dist/{semantic-consolidation-tDODR2je.d.ts → semantic-consolidation-GPcLr9BQ.d.ts} +2 -2
- package/dist/semantic-consolidation.d.ts +3 -3
- package/dist/semantic-consolidation.js +6 -6
- package/dist/semantic-rule-promotion.js +6 -6
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +6 -6
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/source-attribution.d.ts +1 -1
- package/dist/source-attribution.js +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +5 -5
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +5 -5
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +3 -3
- 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-C-USTTAx.d.ts → types-Bmp9ssU2.d.ts} +4 -3
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-4KAN3GZ3.js.map +0 -1
- package/dist/chunk-67YLUWLG.js.map +0 -1
- package/dist/chunk-7RAW2T4P.js.map +0 -1
- package/dist/chunk-AKV3HOGZ.js.map +0 -1
- package/dist/chunk-COAGZQT7.js.map +0 -1
- package/dist/chunk-DWMXVUGO.js.map +0 -1
- package/dist/chunk-FCGWNWG4.js.map +0 -1
- package/dist/chunk-FEMOX5AD.js.map +0 -1
- package/dist/chunk-FSWYMUWI.js.map +0 -1
- package/dist/chunk-GZCUW5IC.js.map +0 -1
- package/dist/chunk-L2IO2QPY.js.map +0 -1
- package/dist/chunk-M62O4P4T.js +0 -41
- package/dist/chunk-M62O4P4T.js.map +0 -1
- package/dist/chunk-ODWDQNRE.js.map +0 -1
- package/dist/chunk-R2XRID2N.js.map +0 -1
- package/dist/chunk-TUFG6VXY.js.map +0 -1
- package/dist/chunk-VZNQB6NL.js.map +0 -1
- package/dist/chunk-ZBZVNWQO.js.map +0 -1
- /package/dist/{chunk-LKJA5MR2.js.map → chunk-2MVUXO4H.js.map} +0 -0
- /package/dist/{chunk-ZOMA7J3J.js.map → chunk-6OAQEOGV.js.map} +0 -0
- /package/dist/{chunk-EONJ7GK3.js.map → chunk-7SFAENUZ.js.map} +0 -0
- /package/dist/{chunk-M3QQ5DRA.js.map → chunk-A6PGANSE.js.map} +0 -0
- /package/dist/{chunk-KUIEFH2S.js.map → chunk-BIHCWSWA.js.map} +0 -0
- /package/dist/{chunk-PT2EZWOH.js.map → chunk-CTYRIJ5E.js.map} +0 -0
- /package/dist/{chunk-RXGR3YLU.js.map → chunk-G3G3LY22.js.map} +0 -0
- /package/dist/{chunk-3FPTCC3Z.js.map → chunk-GVPWB7EY.js.map} +0 -0
- /package/dist/{chunk-D7WYTVUQ.js.map → chunk-ICULSMDG.js.map} +0 -0
- /package/dist/{chunk-5NS6NN5A.js.map → chunk-J3P6WSFZ.js.map} +0 -0
- /package/dist/{chunk-YELFQNQH.js.map → chunk-KMWZXT5T.js.map} +0 -0
- /package/dist/{chunk-YKGRACQP.js.map → chunk-M3DK45UM.js.map} +0 -0
- /package/dist/{chunk-DLYTYJ43.js.map → chunk-MJLUHRSF.js.map} +0 -0
- /package/dist/{chunk-MYMOXFMR.js.map → chunk-PHQH2VUO.js.map} +0 -0
- /package/dist/{chunk-OZAFME7S.js.map → chunk-QPLYTPYL.js.map} +0 -0
- /package/dist/{chunk-3LCWFNVS.js.map → chunk-SKE7JYKA.js.map} +0 -0
- /package/dist/{chunk-AIT53NLG.js.map → chunk-U4SZXGEO.js.map} +0 -0
- /package/dist/{chunk-KQB4C4OE.js.map → chunk-XL3UCAZA.js.map} +0 -0
- /package/dist/{chunk-ASIQZXYO.js.map → chunk-XMVFHBHT.js.map} +0 -0
- /package/dist/{chunk-6B23Z44B.js.map → chunk-XN4D6Z7X.js.map} +0 -0
- /package/dist/{chunk-S5SQDIF5.js.map → chunk-Y3VT6ZCP.js.map} +0 -0
- /package/dist/{engine-2JKWFKJV.js.map → engine-EDFFOWDD.js.map} +0 -0
- /package/dist/{memory-governance-7MI7KE35.js.map → memory-governance-AAQPBZEP.js.map} +0 -0
- /package/dist/{migrate-from-identity-anchor-TTEDEJGX.js.map → migrate-from-identity-anchor-G27MCD6A.js.map} +0 -0
- /package/dist/{peers-6OSQ3NK6.js.map → peers-HCVGHMAE.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CompoundingEngine,
|
|
3
3
|
SharedContextManager,
|
|
4
4
|
defaultTierMigrationCycleBudget
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XN4D6Z7X.js";
|
|
6
6
|
import {
|
|
7
7
|
applyUtilityPromotionRuntimePolicy,
|
|
8
8
|
applyUtilityRankingRuntimeDelta,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-UHGBNIOS.js";
|
|
23
23
|
import {
|
|
24
24
|
HourlySummarizer
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Y3VT6ZCP.js";
|
|
26
26
|
import {
|
|
27
27
|
applyTemporalSupersession,
|
|
28
28
|
normalizeSupersessionKey,
|
|
@@ -103,13 +103,13 @@ import {
|
|
|
103
103
|
} from "./chunk-GGD5W7TB.js";
|
|
104
104
|
import {
|
|
105
105
|
runLiveConnectorsOnce
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-XMVFHBHT.js";
|
|
107
107
|
import {
|
|
108
108
|
classifyMemoryKind
|
|
109
109
|
} from "./chunk-YAZNBMNF.js";
|
|
110
110
|
import {
|
|
111
111
|
buildExplicitCueRecallSection
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-3VRIIII5.js";
|
|
113
113
|
import {
|
|
114
114
|
recordJudgeTrainingPair
|
|
115
115
|
} from "./chunk-DF3RVK3X.js";
|
|
@@ -122,19 +122,19 @@ import {
|
|
|
122
122
|
} from "./chunk-C4SQJZAF.js";
|
|
123
123
|
import {
|
|
124
124
|
ExtractionEngine
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-KIF7QNKL.js";
|
|
126
126
|
import {
|
|
127
127
|
parseMemoryActionEligibilityContext
|
|
128
128
|
} from "./chunk-WW3QQF4H.js";
|
|
129
129
|
import {
|
|
130
130
|
ModelRegistry
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-QR3C7BKQ.js";
|
|
132
132
|
import {
|
|
133
133
|
LocalLlmClient
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-NN3LPQ5D.js";
|
|
135
135
|
import {
|
|
136
136
|
formatDaySummaryMemories
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-3IQ2TR4N.js";
|
|
138
138
|
import {
|
|
139
139
|
tryDirectAnswer
|
|
140
140
|
} from "./chunk-6AUUAZEX.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
buildEntityRecallSection,
|
|
146
146
|
entityRecentTranscriptLookbackHours,
|
|
147
147
|
readRecentEntityTranscriptEntries
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-CTYRIJ5E.js";
|
|
149
149
|
import {
|
|
150
150
|
buildCompressionGuidelinesMarkdown,
|
|
151
151
|
computeCompressionGuidelineCandidate,
|
|
@@ -158,13 +158,13 @@ import {
|
|
|
158
158
|
} from "./chunk-SRBJUAMP.js";
|
|
159
159
|
import {
|
|
160
160
|
searchVerifiedEpisodes
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-2MVUXO4H.js";
|
|
162
162
|
import {
|
|
163
163
|
ThreadingManager
|
|
164
164
|
} from "./chunk-JRNQ3RNA.js";
|
|
165
165
|
import {
|
|
166
166
|
searchVerifiedSemanticRules
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-6OAQEOGV.js";
|
|
168
168
|
import {
|
|
169
169
|
searchWorkProductLedgerEntries
|
|
170
170
|
} from "./chunk-CULXMQJH.js";
|
|
@@ -178,10 +178,10 @@ import {
|
|
|
178
178
|
createConversationIndexRuntime,
|
|
179
179
|
createSearchBackend,
|
|
180
180
|
writeConversationChunks
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-OWGGXPKV.js";
|
|
182
182
|
import {
|
|
183
183
|
parseQmdExplain
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-P77UEOU2.js";
|
|
185
185
|
import {
|
|
186
186
|
PolicyRuntimeManager
|
|
187
187
|
} from "./chunk-EABGC2TL.js";
|
|
@@ -231,10 +231,10 @@ import {
|
|
|
231
231
|
materializeAfterSemanticConsolidation,
|
|
232
232
|
parseConsolidationResponse,
|
|
233
233
|
parseOperatorAwareConsolidationResponse
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-G6NX57V2.js";
|
|
235
235
|
import {
|
|
236
236
|
FallbackLlmClient
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-FLBYSB2V.js";
|
|
238
238
|
import {
|
|
239
239
|
buildRecallQueryPolicy
|
|
240
240
|
} from "./chunk-6HZ6AO2P.js";
|
|
@@ -266,10 +266,10 @@ import {
|
|
|
266
266
|
} from "./chunk-EQINRHYR.js";
|
|
267
267
|
import {
|
|
268
268
|
buildXraySnapshot
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-ICULSMDG.js";
|
|
270
270
|
import {
|
|
271
271
|
shouldSkipImplicitExtraction
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-GVPWB7EY.js";
|
|
273
273
|
import {
|
|
274
274
|
selectRouteRule
|
|
275
275
|
} from "./chunk-2LGMW3DJ.js";
|
|
@@ -306,28 +306,28 @@ import {
|
|
|
306
306
|
normalizeAttributePairs,
|
|
307
307
|
normalizeEntityName,
|
|
308
308
|
parseEntityFile
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-MJLUHRSF.js";
|
|
310
310
|
import {
|
|
311
311
|
attachCitation,
|
|
312
312
|
hasCitationForTemplate,
|
|
313
313
|
stripCitationForTemplate
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-NN2DKE4T.js";
|
|
315
315
|
import {
|
|
316
316
|
confidenceTier
|
|
317
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-ET4BL42V.js";
|
|
318
318
|
import {
|
|
319
319
|
isActiveMemoryStatus
|
|
320
320
|
} from "./chunk-RULE4VG5.js";
|
|
321
321
|
import {
|
|
322
322
|
openBetterSqlite3
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-XJKFSSDW.js";
|
|
324
324
|
import {
|
|
325
325
|
lintWorkspaceFiles,
|
|
326
326
|
rotateMarkdownFileToArchive
|
|
327
327
|
} from "./chunk-DM2T26WE.js";
|
|
328
328
|
import {
|
|
329
329
|
sanitizeMemoryContent
|
|
330
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-FVQJYWH7.js";
|
|
331
331
|
import {
|
|
332
332
|
resolveHomeDir
|
|
333
333
|
} from "./chunk-MARWOCVP.js";
|
|
@@ -3751,8 +3751,10 @@ function fingerprintEntitySynthesisEvidence(entity) {
|
|
|
3751
3751
|
entry.principal ?? "",
|
|
3752
3752
|
entry.text
|
|
3753
3753
|
].join("\0")).sort();
|
|
3754
|
-
|
|
3755
|
-
|
|
3754
|
+
const timelineEntrySeparator = String.fromCharCode(1);
|
|
3755
|
+
const structuredFactsSeparator = String.fromCharCode(2);
|
|
3756
|
+
fingerprint.update(timelineEntries.join(timelineEntrySeparator));
|
|
3757
|
+
fingerprint.update(structuredFactsSeparator);
|
|
3756
3758
|
fingerprint.update(fingerprintEntityStructuredFacts(entity) ?? "");
|
|
3757
3759
|
return fingerprint.digest("hex");
|
|
3758
3760
|
}
|
|
@@ -4221,7 +4223,7 @@ var Orchestrator = class _Orchestrator {
|
|
|
4221
4223
|
memoryWorthCounterCache = /* @__PURE__ */ new Map();
|
|
4222
4224
|
static MEMORY_WORTH_CACHE_TTL_MS = 3e4;
|
|
4223
4225
|
/**
|
|
4224
|
-
* Per-session workspace
|
|
4226
|
+
* Per-session workspace selections keyed by sessionKey.
|
|
4225
4227
|
* Set by the before_agent_start hook so recall() uses the correct
|
|
4226
4228
|
* agent workspace for BOOT.md injection. Cleared after each recall.
|
|
4227
4229
|
* Using a Map prevents concurrent sessions from overwriting each other.
|
|
@@ -4333,7 +4335,7 @@ var Orchestrator = class _Orchestrator {
|
|
|
4333
4335
|
setRecallWorkspaceOverride(sessionKey, dir) {
|
|
4334
4336
|
this._recallWorkspaceOverrides.set(sessionKey, dir);
|
|
4335
4337
|
}
|
|
4336
|
-
/** Remove a per-session workspace
|
|
4338
|
+
/** Remove a per-session workspace selection (cleanup on error or early return). @internal */
|
|
4337
4339
|
clearRecallWorkspaceOverride(sessionKey) {
|
|
4338
4340
|
this._recallWorkspaceOverrides.delete(sessionKey);
|
|
4339
4341
|
}
|
|
@@ -4661,11 +4663,11 @@ var Orchestrator = class _Orchestrator {
|
|
|
4661
4663
|
});
|
|
4662
4664
|
if (config.lcmEnabled) {
|
|
4663
4665
|
const summarizeFn = async (text, targetTokens, aggressive) => {
|
|
4664
|
-
const
|
|
4666
|
+
const instructionText = aggressive ? `Compress the following into bullet points. One bullet per distinct fact or decision. Maximum ${targetTokens} tokens total. No prose.` : `Compress the following conversation segment into a dense summary. Preserve: decisions made, code artifacts mentioned, errors encountered, open questions, and any commitments or next-steps. Omit: pleasantries, restatements, and anything the agent would not need to recall later. Output a single paragraph, maximum ${targetTokens} tokens.`;
|
|
4665
4667
|
try {
|
|
4666
4668
|
const result = await this.localLlm.chatCompletion(
|
|
4667
4669
|
[
|
|
4668
|
-
{ role: "system", content:
|
|
4670
|
+
{ role: "system", content: instructionText },
|
|
4669
4671
|
{ role: "user", content: text.slice(0, 12e3) }
|
|
4670
4672
|
],
|
|
4671
4673
|
{
|
|
@@ -5554,7 +5556,7 @@ ${doc.content}` : doc.content,
|
|
|
5554
5556
|
}
|
|
5555
5557
|
async runDeepSleepGovernanceNow(options) {
|
|
5556
5558
|
const targetStorage = options?.storage ?? this.storage;
|
|
5557
|
-
const { runMemoryGovernance } = await import("./memory-governance-
|
|
5559
|
+
const { runMemoryGovernance } = await import("./memory-governance-AAQPBZEP.js");
|
|
5558
5560
|
const { summarizeGovernanceResultForDreams } = await import("./dreams-ledger-LR2NBAZE.js");
|
|
5559
5561
|
const govResult = await runMemoryGovernance({
|
|
5560
5562
|
memoryDir: targetStorage.dir,
|
|
@@ -5771,7 +5773,7 @@ ${doc.content}` : doc.content,
|
|
|
5771
5773
|
}
|
|
5772
5774
|
if (this.config.peerProfileReasonerEnabled) {
|
|
5773
5775
|
try {
|
|
5774
|
-
const { runPeerProfileReasoner } = await import("./peers-
|
|
5776
|
+
const { runPeerProfileReasoner } = await import("./peers-HCVGHMAE.js");
|
|
5775
5777
|
const llm2 = new FallbackLlmClient2(this.config.gatewayConfig);
|
|
5776
5778
|
const peerResult = await runPeerProfileReasoner({
|
|
5777
5779
|
memoryDir: targetStorage.dir,
|
|
@@ -5940,7 +5942,10 @@ ${evidenceText}`
|
|
|
5940
5942
|
await Promise.race([
|
|
5941
5943
|
this.initPromise.catch(() => void 0),
|
|
5942
5944
|
new Promise((resolve) => {
|
|
5943
|
-
initGateTimeoutHandle = setTimeout(
|
|
5945
|
+
initGateTimeoutHandle = setTimeout(
|
|
5946
|
+
resolve,
|
|
5947
|
+
this.config.initGateTimeoutMs
|
|
5948
|
+
);
|
|
5944
5949
|
})
|
|
5945
5950
|
]);
|
|
5946
5951
|
} finally {
|
|
@@ -6575,13 +6580,12 @@ ${r.snippet.trim()}
|
|
|
6575
6580
|
let initGateTimeoutHandle = null;
|
|
6576
6581
|
let onInitGateAbort = null;
|
|
6577
6582
|
if (this.initPromise) {
|
|
6578
|
-
const INIT_GATE_TIMEOUT_MS = 15e3;
|
|
6579
6583
|
const gateResult = await Promise.race([
|
|
6580
6584
|
this.initPromise.then(() => "ok"),
|
|
6581
6585
|
new Promise((resolve) => {
|
|
6582
6586
|
initGateTimeoutHandle = setTimeout(
|
|
6583
6587
|
() => resolve("timeout"),
|
|
6584
|
-
|
|
6588
|
+
this.config.initGateTimeoutMs
|
|
6585
6589
|
);
|
|
6586
6590
|
}),
|
|
6587
6591
|
abortController.signal.aborted ? Promise.resolve("aborted") : new Promise((resolve) => {
|
|
@@ -7993,7 +7997,7 @@ ${trimmedBody}`;
|
|
|
7993
7997
|
if (!peerId) return null;
|
|
7994
7998
|
const t0 = Date.now();
|
|
7995
7999
|
try {
|
|
7996
|
-
const { readPeerProfile: _readPeerProfile } = await import("./peers-
|
|
8000
|
+
const { readPeerProfile: _readPeerProfile } = await import("./peers-HCVGHMAE.js");
|
|
7997
8001
|
const peerProfile = await _readPeerProfile(this.config.memoryDir, peerId);
|
|
7998
8002
|
recordRecallSectionMetric({
|
|
7999
8003
|
section: "peerProfile",
|
|
@@ -14785,4 +14789,4 @@ export {
|
|
|
14785
14789
|
resolvePersistedMemoryRelativePath,
|
|
14786
14790
|
Orchestrator
|
|
14787
14791
|
};
|
|
14788
|
-
//# sourceMappingURL=chunk-
|
|
14792
|
+
//# sourceMappingURL=chunk-FPWUENQH.js.map
|