@remnic/core 1.1.5 → 1.1.6
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 +31 -29
- package/dist/access-cli.js.map +1 -1
- 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-schema.js +3 -3
- package/dist/{access-service-CWYIkMwY.d.ts → access-service-CcKu1Yc0.d.ts} +9 -9
- package/dist/access-service.d.ts +7 -7
- package/dist/access-service.js +10 -10
- 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 +6 -6
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +3 -3
- 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 +1 -1
- package/dist/{capsule-crypto-5CYAGVC5.js → capsule-crypto-SJS5VVAP.js} +2 -2
- package/dist/{capsule-export-NZQPOTQ4.js → capsule-export-LLEVB2RG.js} +3 -3
- package/dist/{capsule-import-SDCUXLEV.js → capsule-import-UW45R2MZ.js} +3 -3
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +2 -2
- package/dist/causal-consolidation.js +4 -4
- package/dist/{chunk-CRU27Q4J.js → chunk-3P6TPZM4.js} +64 -5
- package/dist/chunk-3P6TPZM4.js.map +1 -0
- package/dist/{chunk-Y6EPN6XF.js → chunk-5NS6NN5A.js} +2 -2
- package/dist/{chunk-KNKUID7G.js → chunk-767ODGE6.js} +1 -1
- package/dist/{chunk-TMPLRVHD.js → chunk-7RAW2T4P.js} +2 -2
- package/dist/{chunk-RICG4UNC.js → chunk-A4ACKWIW.js} +2 -2
- package/dist/{chunk-3YBRSJ52.js → chunk-AIT53NLG.js} +2 -2
- package/dist/chunk-AKV3HOGZ.js +757 -0
- package/dist/chunk-AKV3HOGZ.js.map +1 -0
- package/dist/{chunk-7NFZWXAY.js → chunk-AOABCJVL.js} +72 -48
- package/dist/chunk-AOABCJVL.js.map +1 -0
- package/dist/{chunk-B2TL6GA2.js → chunk-BFVBG5XY.js} +2 -2
- package/dist/{chunk-TOC3VOOF.js → chunk-COAGZQT7.js} +1 -1
- package/dist/{chunk-TOC3VOOF.js.map → chunk-COAGZQT7.js.map} +1 -1
- package/dist/{chunk-WMK6YP7C.js → chunk-D7WYTVUQ.js} +2 -2
- package/dist/{chunk-46AIFPQM.js → chunk-DLYTYJ43.js} +2 -2
- package/dist/{chunk-KCZZLFW5.js → chunk-EONJ7GK3.js} +2 -2
- package/dist/{chunk-H62HCANJ.js → chunk-FSWYMUWI.js} +13 -1
- package/dist/chunk-FSWYMUWI.js.map +1 -0
- package/dist/{chunk-SGTA3HJC.js → chunk-KUIEFH2S.js} +3 -3
- package/dist/{chunk-5XVDDCMH.js → chunk-LKJA5MR2.js} +2 -2
- package/dist/{chunk-DKVEJTLC.js → chunk-M3QQ5DRA.js} +4 -4
- package/dist/{chunk-4CVIF7UZ.js → chunk-MYMOXFMR.js} +5 -5
- package/dist/{chunk-DTDB6YS2.js → chunk-OZAFME7S.js} +16 -16
- package/dist/{chunk-IYY4MCPG.js → chunk-P73JTV34.js} +2 -2
- package/dist/{chunk-FLHPNR5W.js → chunk-PT2EZWOH.js} +2 -2
- package/dist/{chunk-3KIS4VGT.js → chunk-QIGOEM65.js} +2 -2
- package/dist/{chunk-MJPNOMY4.js → chunk-RXGR3YLU.js} +2 -2
- package/dist/{chunk-Z665HFAD.js → chunk-TMSHGSIG.js} +2 -2
- package/dist/{chunk-X6VBWOVZ.js → chunk-UE2OQNQQ.js} +2 -2
- package/dist/{chunk-OAIXBFAH.js → chunk-XOG2FHYW.js} +43 -43
- package/dist/{chunk-57SNKQNS.js → chunk-YELFQNQH.js} +2 -2
- package/dist/{chunk-FG5R5AQF.js → chunk-YKGRACQP.js} +5 -5
- package/dist/{chunk-ERWKQVCX.js → chunk-ZBZVNWQO.js} +2 -2
- package/dist/{chunk-HPJPGIGN.js → chunk-ZOMA7J3J.js} +2 -2
- package/dist/{cli-CWLyGroU.d.ts → cli-WahR0rs-.d.ts} +4 -4
- package/dist/cli.d.ts +8 -8
- package/dist/cli.js +24 -24
- package/dist/{codex-materialize-XRen3WAz.d.ts → codex-materialize-D5d5vvyS.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/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-WJ7K6AZ2.js → engine-5OTS6GY3.js} +4 -4
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -6
- package/dist/explicit-cue-recall.d.ts +40 -0
- package/dist/explicit-cue-recall.js +21 -0
- 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 +2 -2
- package/dist/fallback-llm.d.ts +3 -1
- package/dist/fallback-llm.js +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +14 -13
- package/dist/index.js +176 -51
- 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/local-llm.d.ts +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/{memory-governance-KXMAURFF.js → memory-governance-7MI7KE35.js} +4 -4
- package/dist/memory-governance-7MI7KE35.js.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/{memory-projection-store-ConH7gNj.d.ts → memory-projection-store-BQt5VUQ8.d.ts} +1 -1
- package/dist/memory-projection-store.d.ts +2 -2
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +6 -6
- package/dist/{orchestrator-BHkiEBbd.d.ts → orchestrator-D2lHhFWI.d.ts} +3 -3
- package/dist/orchestrator.d.ts +6 -6
- package/dist/orchestrator.js +23 -21
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/{port-DZHdlUId.d.ts → port-5W-r5SKc.d.ts} +1 -1
- package/dist/qmd-recall-cache.d.ts +2 -2
- package/dist/qmd.d.ts +2 -2
- 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 +3 -3
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/schemas.d.ts +22 -22
- package/dist/{semantic-consolidation-Cxj-inGC.d.ts → semantic-consolidation-tDODR2je.d.ts} +2 -2
- package/dist/semantic-consolidation.d.ts +3 -3
- package/dist/semantic-consolidation.js +3 -3
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- 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/storage.d.ts +2 -2
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +2 -2
- 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-B49NzJ5q.d.ts → types-C-USTTAx.d.ts} +6 -0
- 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 +3 -3
- package/package.json +1 -1
- package/dist/chunk-7NFZWXAY.js.map +0 -1
- package/dist/chunk-CRU27Q4J.js.map +0 -1
- package/dist/chunk-H62HCANJ.js.map +0 -1
- /package/dist/{capsule-crypto-5CYAGVC5.js.map → capsule-crypto-SJS5VVAP.js.map} +0 -0
- /package/dist/{capsule-export-NZQPOTQ4.js.map → capsule-export-LLEVB2RG.js.map} +0 -0
- /package/dist/{capsule-import-SDCUXLEV.js.map → capsule-import-UW45R2MZ.js.map} +0 -0
- /package/dist/{chunk-Y6EPN6XF.js.map → chunk-5NS6NN5A.js.map} +0 -0
- /package/dist/{chunk-KNKUID7G.js.map → chunk-767ODGE6.js.map} +0 -0
- /package/dist/{chunk-TMPLRVHD.js.map → chunk-7RAW2T4P.js.map} +0 -0
- /package/dist/{chunk-RICG4UNC.js.map → chunk-A4ACKWIW.js.map} +0 -0
- /package/dist/{chunk-3YBRSJ52.js.map → chunk-AIT53NLG.js.map} +0 -0
- /package/dist/{chunk-B2TL6GA2.js.map → chunk-BFVBG5XY.js.map} +0 -0
- /package/dist/{chunk-WMK6YP7C.js.map → chunk-D7WYTVUQ.js.map} +0 -0
- /package/dist/{chunk-46AIFPQM.js.map → chunk-DLYTYJ43.js.map} +0 -0
- /package/dist/{chunk-KCZZLFW5.js.map → chunk-EONJ7GK3.js.map} +0 -0
- /package/dist/{chunk-SGTA3HJC.js.map → chunk-KUIEFH2S.js.map} +0 -0
- /package/dist/{chunk-5XVDDCMH.js.map → chunk-LKJA5MR2.js.map} +0 -0
- /package/dist/{chunk-DKVEJTLC.js.map → chunk-M3QQ5DRA.js.map} +0 -0
- /package/dist/{chunk-4CVIF7UZ.js.map → chunk-MYMOXFMR.js.map} +0 -0
- /package/dist/{chunk-DTDB6YS2.js.map → chunk-OZAFME7S.js.map} +0 -0
- /package/dist/{chunk-IYY4MCPG.js.map → chunk-P73JTV34.js.map} +0 -0
- /package/dist/{chunk-FLHPNR5W.js.map → chunk-PT2EZWOH.js.map} +0 -0
- /package/dist/{chunk-3KIS4VGT.js.map → chunk-QIGOEM65.js.map} +0 -0
- /package/dist/{chunk-MJPNOMY4.js.map → chunk-RXGR3YLU.js.map} +0 -0
- /package/dist/{chunk-Z665HFAD.js.map → chunk-TMSHGSIG.js.map} +0 -0
- /package/dist/{chunk-X6VBWOVZ.js.map → chunk-UE2OQNQQ.js.map} +0 -0
- /package/dist/{chunk-OAIXBFAH.js.map → chunk-XOG2FHYW.js.map} +0 -0
- /package/dist/{chunk-57SNKQNS.js.map → chunk-YELFQNQH.js.map} +0 -0
- /package/dist/{chunk-FG5R5AQF.js.map → chunk-YKGRACQP.js.map} +0 -0
- /package/dist/{chunk-ERWKQVCX.js.map → chunk-ZBZVNWQO.js.map} +0 -0
- /package/dist/{chunk-HPJPGIGN.js.map → chunk-ZOMA7J3J.js.map} +0 -0
- /package/dist/{engine-WJ7K6AZ2.js.map → engine-5OTS6GY3.js.map} +0 -0
- /package/dist/{memory-governance-KXMAURFF.js.map → explicit-cue-recall.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -37,9 +37,6 @@ import {
|
|
|
37
37
|
isNodeType,
|
|
38
38
|
queryGraph
|
|
39
39
|
} from "./chunk-64NJRYU2.js";
|
|
40
|
-
import {
|
|
41
|
-
buildEvidencePack
|
|
42
|
-
} from "./chunk-74WWN7ZW.js";
|
|
43
40
|
import {
|
|
44
41
|
clearBulkImportSources,
|
|
45
42
|
clearTrainingExportAdapters,
|
|
@@ -56,22 +53,22 @@ import {
|
|
|
56
53
|
runBulkImportCliCommand,
|
|
57
54
|
runBulkImportPipeline,
|
|
58
55
|
validateImportTurn
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-XOG2FHYW.js";
|
|
57
|
+
import "./chunk-YELFQNQH.js";
|
|
61
58
|
import {
|
|
62
59
|
clearAuthTokenSecretCache,
|
|
63
60
|
isAgentAccessSecretRef,
|
|
64
61
|
resolveAgentAccessAuthToken
|
|
65
62
|
} from "./chunk-MXC3AP5I.js";
|
|
66
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-RXGR3YLU.js";
|
|
67
64
|
import {
|
|
68
65
|
parseXrayBudgetFlag,
|
|
69
66
|
parseXrayCliOptions
|
|
70
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-KUIEFH2S.js";
|
|
68
|
+
import "./chunk-YKGRACQP.js";
|
|
71
69
|
import {
|
|
72
70
|
parseStrictCliDate
|
|
73
71
|
} from "./chunk-AJA46VX5.js";
|
|
74
|
-
import "./chunk-FG5R5AQF.js";
|
|
75
72
|
import "./chunk-HL4DB7TO.js";
|
|
76
73
|
import "./chunk-ZPKBYX2F.js";
|
|
77
74
|
import "./chunk-3SLRNYNG.js";
|
|
@@ -120,8 +117,8 @@ import {
|
|
|
120
117
|
saveTaxonomy,
|
|
121
118
|
validateSlug,
|
|
122
119
|
validateTaxonomy
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import "./chunk-
|
|
120
|
+
} from "./chunk-AOABCJVL.js";
|
|
121
|
+
import "./chunk-TMSHGSIG.js";
|
|
125
122
|
import "./chunk-CK5NTM2S.js";
|
|
126
123
|
import "./chunk-FSFEQI74.js";
|
|
127
124
|
import "./chunk-Z5AAYHUC.js";
|
|
@@ -131,28 +128,29 @@ import {
|
|
|
131
128
|
} from "./chunk-S75M5ZRK.js";
|
|
132
129
|
import "./chunk-TPB3I2AC.js";
|
|
133
130
|
import "./chunk-UHGBNIOS.js";
|
|
134
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-BFVBG5XY.js";
|
|
135
132
|
import "./chunk-ETOW6ACV.js";
|
|
136
133
|
import "./chunk-ZTSE2ZJ6.js";
|
|
137
134
|
import "./chunk-MDYG7VI7.js";
|
|
138
135
|
import "./chunk-JR4ZC3G4.js";
|
|
136
|
+
import "./chunk-K4FLSOR5.js";
|
|
137
|
+
import "./chunk-V3RXWQIE.js";
|
|
139
138
|
import "./chunk-5IZL4DCV.js";
|
|
140
139
|
import "./chunk-X7XN6YU4.js";
|
|
141
140
|
import "./chunk-5NPGSAVB.js";
|
|
142
141
|
import "./chunk-C7VW7C3F.js";
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import "./chunk-V3RXWQIE.js";
|
|
142
|
+
import "./chunk-YDBIWGNI.js";
|
|
145
143
|
import "./chunk-7DHTMOND.js";
|
|
146
144
|
import "./chunk-WPGJYVUH.js";
|
|
145
|
+
import "./chunk-YCN4BVDK.js";
|
|
147
146
|
import {
|
|
148
147
|
DEFAULT_REASONING_TRACE_BOOST,
|
|
149
148
|
applyReasoningTraceBoost,
|
|
150
149
|
isReasoningTracePath,
|
|
151
150
|
looksLikeProblemSolvingQuery
|
|
152
151
|
} from "./chunk-ZZTOURJI.js";
|
|
153
|
-
import "./chunk-YDBIWGNI.js";
|
|
154
|
-
import "./chunk-YCN4BVDK.js";
|
|
155
152
|
import "./chunk-D654IBA6.js";
|
|
153
|
+
import "./chunk-H63EDPFJ.js";
|
|
156
154
|
import {
|
|
157
155
|
applyMemoryWorthFilter,
|
|
158
156
|
buildMemoryWorthCounterMap
|
|
@@ -160,13 +158,6 @@ import {
|
|
|
160
158
|
import {
|
|
161
159
|
computeMemoryWorth
|
|
162
160
|
} from "./chunk-IISBCCWR.js";
|
|
163
|
-
import {
|
|
164
|
-
builtInLiveConnectorDefinitions,
|
|
165
|
-
hasEnabledLiveConnector,
|
|
166
|
-
runLiveConnectorsOnce
|
|
167
|
-
} from "./chunk-ASIQZXYO.js";
|
|
168
|
-
import "./chunk-H63EDPFJ.js";
|
|
169
|
-
import "./chunk-YAZNBMNF.js";
|
|
170
161
|
import {
|
|
171
162
|
hasBroadGraphIntent,
|
|
172
163
|
inferIntentFromText,
|
|
@@ -174,6 +165,24 @@ import {
|
|
|
174
165
|
isTaskInitiationIntent,
|
|
175
166
|
planRecallMode
|
|
176
167
|
} from "./chunk-GGD5W7TB.js";
|
|
168
|
+
import {
|
|
169
|
+
builtInLiveConnectorDefinitions,
|
|
170
|
+
hasEnabledLiveConnector,
|
|
171
|
+
runLiveConnectorsOnce
|
|
172
|
+
} from "./chunk-ASIQZXYO.js";
|
|
173
|
+
import "./chunk-YAZNBMNF.js";
|
|
174
|
+
import {
|
|
175
|
+
buildExplicitCueRecallSection,
|
|
176
|
+
collectBenchmarkAnchorCues,
|
|
177
|
+
collectExplicitTurnReferences,
|
|
178
|
+
collectLexicalCues,
|
|
179
|
+
collectQuestionSlotCues,
|
|
180
|
+
collectStructuredPlanCues,
|
|
181
|
+
collectTemporalLexicalCues
|
|
182
|
+
} from "./chunk-AKV3HOGZ.js";
|
|
183
|
+
import {
|
|
184
|
+
buildEvidencePack
|
|
185
|
+
} from "./chunk-74WWN7ZW.js";
|
|
177
186
|
import "./chunk-DF3RVK3X.js";
|
|
178
187
|
import {
|
|
179
188
|
clearVerdictCache,
|
|
@@ -187,7 +196,7 @@ import {
|
|
|
187
196
|
} from "./chunk-C4SQJZAF.js";
|
|
188
197
|
import {
|
|
189
198
|
ExtractionEngine
|
|
190
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-UE2OQNQQ.js";
|
|
191
200
|
import "./chunk-WW3QQF4H.js";
|
|
192
201
|
import "./chunk-54V4BZWP.js";
|
|
193
202
|
import "./chunk-FEMOX5AD.js";
|
|
@@ -207,23 +216,21 @@ import {
|
|
|
207
216
|
import "./chunk-Z2E7VW55.js";
|
|
208
217
|
import {
|
|
209
218
|
buildEntityRecallSection
|
|
210
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-PT2EZWOH.js";
|
|
211
220
|
import "./chunk-2NMMFZ5T.js";
|
|
212
221
|
import "./chunk-SRBJUAMP.js";
|
|
213
222
|
import "./chunk-PYXS46O7.js";
|
|
214
223
|
import "./chunk-3QKK7QOS.js";
|
|
215
|
-
import "./chunk-
|
|
224
|
+
import "./chunk-LKJA5MR2.js";
|
|
216
225
|
import "./chunk-JRNQ3RNA.js";
|
|
217
|
-
import "./chunk-
|
|
226
|
+
import "./chunk-ZOMA7J3J.js";
|
|
218
227
|
import "./chunk-CULXMQJH.js";
|
|
219
228
|
import "./chunk-E6K4NIEU.js";
|
|
220
|
-
import "./chunk-EABGC2TL.js";
|
|
221
|
-
import "./chunk-LOBRX7VD.js";
|
|
222
229
|
import {
|
|
223
230
|
LanceDbBackend,
|
|
224
231
|
MeilisearchBackend,
|
|
225
232
|
OramaBackend
|
|
226
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-7RAW2T4P.js";
|
|
227
234
|
import "./chunk-YRMVARQP.js";
|
|
228
235
|
import {
|
|
229
236
|
QmdClient
|
|
@@ -233,6 +240,8 @@ import {
|
|
|
233
240
|
PLUGIN_ID,
|
|
234
241
|
resolveRemnicPluginEntry
|
|
235
242
|
} from "./chunk-U66YHYC7.js";
|
|
243
|
+
import "./chunk-EABGC2TL.js";
|
|
244
|
+
import "./chunk-LOBRX7VD.js";
|
|
236
245
|
import {
|
|
237
246
|
DEFAULT_POLL_INTERVAL_MS,
|
|
238
247
|
GOOGLE_DRIVE_CONNECTOR_ID,
|
|
@@ -263,7 +272,7 @@ import "./chunk-7SEAZFFB.js";
|
|
|
263
272
|
import {
|
|
264
273
|
coerceInstallExtension,
|
|
265
274
|
parseConfig
|
|
266
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-FSWYMUWI.js";
|
|
267
276
|
import "./chunk-Z5LAYHGJ.js";
|
|
268
277
|
import {
|
|
269
278
|
CONNECTORS_OUTPUT_FORMATS,
|
|
@@ -294,7 +303,7 @@ import {
|
|
|
294
303
|
materializeForNamespace,
|
|
295
304
|
runCodexMaterialize,
|
|
296
305
|
runPostConsolidationMaterialize
|
|
297
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-ZBZVNWQO.js";
|
|
298
307
|
import {
|
|
299
308
|
REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT,
|
|
300
309
|
discoverMemoryExtensions,
|
|
@@ -304,7 +313,7 @@ import {
|
|
|
304
313
|
} from "./chunk-EJI5XIBB.js";
|
|
305
314
|
import {
|
|
306
315
|
FallbackLlmClient
|
|
307
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-3P6TPZM4.js";
|
|
308
317
|
import "./chunk-Q7FJ5ZHM.js";
|
|
309
318
|
import "./chunk-ODWDQNRE.js";
|
|
310
319
|
import "./chunk-Y27UJK6V.js";
|
|
@@ -320,10 +329,10 @@ import "./chunk-PVGDJXVK.js";
|
|
|
320
329
|
import "./chunk-NGAVDO7E.js";
|
|
321
330
|
import {
|
|
322
331
|
EngramAccessHttpServer
|
|
323
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-MYMOXFMR.js";
|
|
324
333
|
import {
|
|
325
334
|
EngramMcpServer
|
|
326
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-M3QQ5DRA.js";
|
|
327
336
|
import {
|
|
328
337
|
buildCitationGuidance,
|
|
329
338
|
formatOaiMemCitation,
|
|
@@ -335,10 +344,10 @@ import {
|
|
|
335
344
|
EngramAccessService,
|
|
336
345
|
computeProcedureStats,
|
|
337
346
|
formatProcedureStatsText
|
|
338
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-OZAFME7S.js";
|
|
339
348
|
import {
|
|
340
349
|
importCapsule
|
|
341
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-QIGOEM65.js";
|
|
342
351
|
import "./chunk-BT7NVCML.js";
|
|
343
352
|
import "./chunk-H7XKCNR6.js";
|
|
344
353
|
import {
|
|
@@ -348,8 +357,9 @@ import {
|
|
|
348
357
|
renderXrayJson,
|
|
349
358
|
renderXrayMarkdown,
|
|
350
359
|
renderXrayText
|
|
351
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-5NS6NN5A.js";
|
|
352
361
|
import "./chunk-SOBJ6NEY.js";
|
|
362
|
+
import "./chunk-AIT53NLG.js";
|
|
353
363
|
import {
|
|
354
364
|
normalizeOriginUrl,
|
|
355
365
|
resolveGitContext,
|
|
@@ -358,8 +368,7 @@ import {
|
|
|
358
368
|
import {
|
|
359
369
|
isTrustZoneName
|
|
360
370
|
} from "./chunk-EQINRHYR.js";
|
|
361
|
-
import "./chunk-
|
|
362
|
-
import "./chunk-3YBRSJ52.js";
|
|
371
|
+
import "./chunk-D7WYTVUQ.js";
|
|
363
372
|
import {
|
|
364
373
|
memoryWorthOutcomeEligibleCategories,
|
|
365
374
|
recordMemoryOutcome
|
|
@@ -405,10 +414,10 @@ import {
|
|
|
405
414
|
renderBriefingMarkdown,
|
|
406
415
|
resolveBriefingSaveDir,
|
|
407
416
|
validateBriefingFormat
|
|
408
|
-
} from "./chunk-
|
|
417
|
+
} from "./chunk-EONJ7GK3.js";
|
|
409
418
|
import {
|
|
410
419
|
StorageManager
|
|
411
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-DLYTYJ43.js";
|
|
412
421
|
import "./chunk-YNJHCGDT.js";
|
|
413
422
|
import {
|
|
414
423
|
CITATION_UNKNOWN,
|
|
@@ -425,7 +434,7 @@ import {
|
|
|
425
434
|
DEFAULT_RECALL_DISCLOSURE,
|
|
426
435
|
RECALL_DISCLOSURE_LEVELS,
|
|
427
436
|
isRecallDisclosure
|
|
428
|
-
} from "./chunk-
|
|
437
|
+
} from "./chunk-COAGZQT7.js";
|
|
429
438
|
import "./chunk-PFV5C235.js";
|
|
430
439
|
import "./chunk-RULE4VG5.js";
|
|
431
440
|
import "./chunk-SCU65EZI.js";
|
|
@@ -470,8 +479,8 @@ import {
|
|
|
470
479
|
recallRequestSchema,
|
|
471
480
|
suggestionSubmitRequestSchema,
|
|
472
481
|
validateRequest
|
|
473
|
-
} from "./chunk-
|
|
474
|
-
import "./chunk-
|
|
482
|
+
} from "./chunk-A4ACKWIW.js";
|
|
483
|
+
import "./chunk-P73JTV34.js";
|
|
475
484
|
import {
|
|
476
485
|
assertIsDirectoryNotSymlink,
|
|
477
486
|
assertRealpathInsideRoot
|
|
@@ -479,7 +488,7 @@ import {
|
|
|
479
488
|
import {
|
|
480
489
|
CAPSULE_ID_PATTERN
|
|
481
490
|
} from "./chunk-OA3L7BFR.js";
|
|
482
|
-
import "./chunk-
|
|
491
|
+
import "./chunk-767ODGE6.js";
|
|
483
492
|
import "./chunk-BJMBJZ2Y.js";
|
|
484
493
|
import "./chunk-UKJAGEXH.js";
|
|
485
494
|
import "./chunk-FP2373TW.js";
|
|
@@ -3381,11 +3390,11 @@ function installConnector(options) {
|
|
|
3381
3390
|
if (tokensRolledBack && yamlRolledBack) {
|
|
3382
3391
|
message = `Hermes install failed during token commit \u2014 ${commitErrMsg}. config.yaml and tokens.json restored to prior state. Resolve the tokens.json access issue, then reinstall.`;
|
|
3383
3392
|
} else if (!yamlRolledBack && tokensRolledBack) {
|
|
3384
|
-
message = `Hermes install failed during token commit \u2014 ${commitErrMsg}. tokens.json restored but config.yaml rollback ALSO failed (${yamlRollbackErrMsg}). Hermes daemon may be in an inconsistent state: config references a stale token. Manually inspect
|
|
3393
|
+
message = `Hermes install failed during token commit \u2014 ${commitErrMsg}. tokens.json restored but config.yaml rollback ALSO failed (${yamlRollbackErrMsg}). Hermes daemon may be in an inconsistent state: config references a stale token. Manually inspect ${yamlResult.configPath} and reinstall.`;
|
|
3385
3394
|
} else if (yamlRolledBack && !tokensRolledBack) {
|
|
3386
3395
|
message = `Hermes install failed during token commit \u2014 ${commitErrMsg}. config.yaml restored but tokens.json rollback ALSO failed (${tokensRollbackErrMsg}). Hermes daemon may be in an inconsistent state: tokens.json is corrupt or incomplete. Manually inspect ~/.remnic/tokens.json and reinstall.`;
|
|
3387
3396
|
} else {
|
|
3388
|
-
message = `Hermes install failed during token commit \u2014 ${commitErrMsg}. BOTH rollbacks failed: config.yaml rollback failed (${yamlRollbackErrMsg}); tokens.json rollback failed (${tokensRollbackErrMsg}). Hermes daemon is likely in an inconsistent state. Manually inspect
|
|
3397
|
+
message = `Hermes install failed during token commit \u2014 ${commitErrMsg}. BOTH rollbacks failed: config.yaml rollback failed (${yamlRollbackErrMsg}); tokens.json rollback failed (${tokensRollbackErrMsg}). Hermes daemon is likely in an inconsistent state. Manually inspect ${yamlResult.configPath} and ~/.remnic/tokens.json, then reinstall.`;
|
|
3389
3398
|
}
|
|
3390
3399
|
return {
|
|
3391
3400
|
connectorId: options.connectorId,
|
|
@@ -3437,10 +3446,23 @@ function installConnector(options) {
|
|
|
3437
3446
|
}
|
|
3438
3447
|
const notes = [];
|
|
3439
3448
|
notes.push(`Updated Hermes config: ${yamlResult.configPath}`);
|
|
3449
|
+
if (hermesProfile === "default") {
|
|
3450
|
+
const legacyDefaultConfigPath = hermesDefaultProfileConfigPath();
|
|
3451
|
+
if (!sameHermesConfigTarget(yamlResult.configPath, legacyDefaultConfigPath)) {
|
|
3452
|
+
try {
|
|
3453
|
+
const legacyDefaultCleanResult = removeHermesConfigFile(legacyDefaultConfigPath);
|
|
3454
|
+
if (legacyDefaultCleanResult.updated) {
|
|
3455
|
+
notes.push(`Cleaned stale remnic: block from legacy default profile: ${legacyDefaultConfigPath}`);
|
|
3456
|
+
}
|
|
3457
|
+
} catch {
|
|
3458
|
+
notes.push("Note: could not clean stale remnic: block from legacy default profile");
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3440
3462
|
let oldProfileResolvesToDifferentFile = false;
|
|
3441
3463
|
if (hermesSavedProfile !== void 0) {
|
|
3442
3464
|
try {
|
|
3443
|
-
oldProfileResolvesToDifferentFile = hermesConfigPath(hermesSavedProfile)
|
|
3465
|
+
oldProfileResolvesToDifferentFile = !sameHermesConfigTarget(hermesConfigPath(hermesSavedProfile), hermesConfigPath(hermesProfile));
|
|
3444
3466
|
} catch {
|
|
3445
3467
|
oldProfileResolvesToDifferentFile = false;
|
|
3446
3468
|
}
|
|
@@ -3802,6 +3824,14 @@ function removeConnector(connectorId) {
|
|
|
3802
3824
|
const yamlResult = removeHermesConfig({ profile: storedProfile });
|
|
3803
3825
|
if (yamlResult.updated) {
|
|
3804
3826
|
notes.push(`Removed remnic: block from Hermes config: ${yamlResult.configPath}`);
|
|
3827
|
+
} else if (yamlResult.reason?.startsWith("Hermes config cleanup partially failed:")) {
|
|
3828
|
+
const tokenStatus = tokenRevoked ? "the connector registry config was deleted and the token was revoked" : "the connector registry config was deleted but TOKEN REVOCATION ALSO FAILED \u2014 inspect ~/.remnic/tokens.json and revoke manually";
|
|
3829
|
+
return {
|
|
3830
|
+
connectorId,
|
|
3831
|
+
configPath,
|
|
3832
|
+
status: "error",
|
|
3833
|
+
message: `Hermes remove partially succeeded: ${tokenStatus}, but ${yamlResult.reason}. Updated paths: ${yamlResult.configPath}. Manually remove any stale remnic: block and token material from the failed Hermes config path.`
|
|
3834
|
+
};
|
|
3805
3835
|
} else if (yamlResult.skipped) {
|
|
3806
3836
|
notes.push(`Hermes config cleanup skipped: ${yamlResult.reason}`);
|
|
3807
3837
|
}
|
|
@@ -3836,7 +3866,15 @@ function sanitizeHermesProfile(profile) {
|
|
|
3836
3866
|
}
|
|
3837
3867
|
function hermesConfigPath(profile) {
|
|
3838
3868
|
const safeProfile = sanitizeHermesProfile(profile);
|
|
3839
|
-
const
|
|
3869
|
+
const hermesRoot = path13.resolve(resolveHomeDir(), ".hermes");
|
|
3870
|
+
const rootConfigPath = path13.join(hermesRoot, "config.yaml");
|
|
3871
|
+
const profilesRoot = path13.join(hermesRoot, "profiles");
|
|
3872
|
+
if (safeProfile === "default") {
|
|
3873
|
+
const defaultProfileDir = path13.join(profilesRoot, safeProfile);
|
|
3874
|
+
if (isFile(rootConfigPath) || !fs8.existsSync(rootConfigPath) && !isDirectory(defaultProfileDir)) {
|
|
3875
|
+
return rootConfigPath;
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3840
3878
|
const cfgPath = path13.resolve(profilesRoot, safeProfile, "config.yaml");
|
|
3841
3879
|
const rel = path13.relative(profilesRoot, cfgPath);
|
|
3842
3880
|
if (rel.startsWith("..") || path13.isAbsolute(rel)) {
|
|
@@ -3846,6 +3884,42 @@ function hermesConfigPath(profile) {
|
|
|
3846
3884
|
}
|
|
3847
3885
|
return cfgPath;
|
|
3848
3886
|
}
|
|
3887
|
+
function isDirectory(filePath) {
|
|
3888
|
+
try {
|
|
3889
|
+
return fs8.statSync(filePath).isDirectory();
|
|
3890
|
+
} catch {
|
|
3891
|
+
return false;
|
|
3892
|
+
}
|
|
3893
|
+
}
|
|
3894
|
+
function isFile(filePath) {
|
|
3895
|
+
try {
|
|
3896
|
+
return fs8.statSync(filePath).isFile();
|
|
3897
|
+
} catch {
|
|
3898
|
+
return false;
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
function hermesConfigTarget(filePath) {
|
|
3902
|
+
try {
|
|
3903
|
+
return fs8.realpathSync.native(filePath);
|
|
3904
|
+
} catch {
|
|
3905
|
+
return path13.resolve(filePath);
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
function sameHermesConfigTarget(leftPath, rightPath) {
|
|
3909
|
+
return hermesConfigTarget(leftPath) === hermesConfigTarget(rightPath);
|
|
3910
|
+
}
|
|
3911
|
+
function hermesDefaultProfileConfigPath() {
|
|
3912
|
+
const hermesRoot = path13.resolve(resolveHomeDir(), ".hermes");
|
|
3913
|
+
return path13.join(hermesRoot, "profiles", "default", "config.yaml");
|
|
3914
|
+
}
|
|
3915
|
+
function hermesConfigCleanupPaths(profile) {
|
|
3916
|
+
const cfgPath = hermesConfigPath(profile);
|
|
3917
|
+
const safeProfile = sanitizeHermesProfile(profile);
|
|
3918
|
+
if (safeProfile !== "default") {
|
|
3919
|
+
return [cfgPath];
|
|
3920
|
+
}
|
|
3921
|
+
return [.../* @__PURE__ */ new Set([cfgPath, hermesDefaultProfileConfigPath()])];
|
|
3922
|
+
}
|
|
3849
3923
|
function sanitizeHermesHost(host) {
|
|
3850
3924
|
if (typeof host !== "string" || host.length === 0) {
|
|
3851
3925
|
throw new Error("Hermes host must be a non-empty string");
|
|
@@ -3906,7 +3980,7 @@ function upsertHermesConfig(opts) {
|
|
|
3906
3980
|
if (!/^[A-Za-z0-9_]+$/.test(opts.token)) {
|
|
3907
3981
|
throw new Error("Invalid Hermes token: contains non-alphanumeric characters");
|
|
3908
3982
|
}
|
|
3909
|
-
if (!
|
|
3983
|
+
if (!isDirectory(profileDir)) {
|
|
3910
3984
|
return {
|
|
3911
3985
|
updated: false,
|
|
3912
3986
|
skipped: true,
|
|
@@ -3982,7 +4056,51 @@ function upsertHermesConfig(opts) {
|
|
|
3982
4056
|
return { updated: true, skipped: false, configPath: cfgPath, priorContent: raw };
|
|
3983
4057
|
}
|
|
3984
4058
|
function removeHermesConfig(opts) {
|
|
3985
|
-
const
|
|
4059
|
+
const cfgPaths = hermesConfigCleanupPaths(opts.profile);
|
|
4060
|
+
const results = cfgPaths.map((cfgPath) => {
|
|
4061
|
+
try {
|
|
4062
|
+
return removeHermesConfigFile(cfgPath);
|
|
4063
|
+
} catch (err) {
|
|
4064
|
+
return {
|
|
4065
|
+
updated: false,
|
|
4066
|
+
skipped: true,
|
|
4067
|
+
reason: `Hermes config cleanup failed: ${err instanceof Error ? err.message : String(err)}`,
|
|
4068
|
+
configPath: cfgPath
|
|
4069
|
+
};
|
|
4070
|
+
}
|
|
4071
|
+
});
|
|
4072
|
+
const updated = results.filter((result) => result.updated);
|
|
4073
|
+
const cleanupFailures = results.filter((result) => result.reason?.startsWith("Hermes config cleanup failed:"));
|
|
4074
|
+
if (updated.length > 0) {
|
|
4075
|
+
const updatedPaths = updated.map((result) => result.configPath).join(", ");
|
|
4076
|
+
if (cleanupFailures.length > 0) {
|
|
4077
|
+
const failedPaths = cleanupFailures.map((result) => result.configPath).join(", ");
|
|
4078
|
+
return {
|
|
4079
|
+
updated: false,
|
|
4080
|
+
skipped: true,
|
|
4081
|
+
reason: `Hermes config cleanup partially failed: updated ${updatedPaths}; failed ${failedPaths}`,
|
|
4082
|
+
configPath: `${updatedPaths}; failed: ${failedPaths}`
|
|
4083
|
+
};
|
|
4084
|
+
}
|
|
4085
|
+
return {
|
|
4086
|
+
updated: true,
|
|
4087
|
+
skipped: false,
|
|
4088
|
+
configPath: updatedPaths
|
|
4089
|
+
};
|
|
4090
|
+
}
|
|
4091
|
+
const cleanupFailure = cleanupFailures[0];
|
|
4092
|
+
if (cleanupFailure) {
|
|
4093
|
+
return cleanupFailure;
|
|
4094
|
+
}
|
|
4095
|
+
const existingWithoutBlock = results.find((result) => result.reason !== "Hermes config.yaml not found");
|
|
4096
|
+
return existingWithoutBlock ?? results[0] ?? {
|
|
4097
|
+
updated: false,
|
|
4098
|
+
skipped: true,
|
|
4099
|
+
reason: "Hermes config.yaml not found",
|
|
4100
|
+
configPath: hermesConfigPath(opts.profile)
|
|
4101
|
+
};
|
|
4102
|
+
}
|
|
4103
|
+
function removeHermesConfigFile(cfgPath) {
|
|
3986
4104
|
if (!fs8.existsSync(cfgPath)) {
|
|
3987
4105
|
return {
|
|
3988
4106
|
updated: false,
|
|
@@ -5707,6 +5825,7 @@ export {
|
|
|
5707
5825
|
buildCitationGuidance,
|
|
5708
5826
|
buildEntityRecallSection,
|
|
5709
5827
|
buildEvidencePack,
|
|
5828
|
+
buildExplicitCueRecallSection,
|
|
5710
5829
|
buildExtensionsBlockForConsolidation,
|
|
5711
5830
|
buildExtensionsFooterForSummary,
|
|
5712
5831
|
buildGraphFromMemories,
|
|
@@ -5720,6 +5839,12 @@ export {
|
|
|
5720
5839
|
clearTrainingExportAdapters,
|
|
5721
5840
|
clearVerdictCache,
|
|
5722
5841
|
coerceInstallExtension,
|
|
5842
|
+
collectBenchmarkAnchorCues,
|
|
5843
|
+
collectExplicitTurnReferences,
|
|
5844
|
+
collectLexicalCues,
|
|
5845
|
+
collectQuestionSlotCues,
|
|
5846
|
+
collectStructuredPlanCues,
|
|
5847
|
+
collectTemporalLexicalCues,
|
|
5723
5848
|
computeMemoryWorth,
|
|
5724
5849
|
computeProcedureStats,
|
|
5725
5850
|
computeSurprise,
|