@remnic/core 9.3.629 → 9.3.630
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 +13 -13
- package/dist/access-http.d.ts +5 -4
- package/dist/access-http.js +6 -6
- package/dist/access-mcp.d.ts +5 -4
- package/dist/access-mcp.js +5 -5
- package/dist/{access-service-BdThkfIE.d.ts → access-service-C4v-eFjB.d.ts} +2 -2
- package/dist/access-service.d.ts +5 -4
- package/dist/access-service.js +4 -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/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 +2 -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 +3 -3
- package/dist/{chunk-GE7Q7KXP.js → chunk-2VJ7AJFX.js} +2 -2
- package/dist/{chunk-KVFYTRMV.js → chunk-4QEUKASL.js} +2 -2
- package/dist/{chunk-KB4MFBF5.js → chunk-5S6IREG3.js} +3 -3
- package/dist/{chunk-LQYTQCXM.js → chunk-6LBQL5US.js} +2 -2
- package/dist/{chunk-TZDSNIRO.js → chunk-ADOD7PJC.js} +5 -5
- package/dist/{chunk-54KDA6UK.js → chunk-BL33LBTN.js} +3 -3
- package/dist/{chunk-532VCWYW.js → chunk-BWK5EEKS.js} +2 -2
- package/dist/{chunk-KKTXCFD7.js → chunk-EORL2IDM.js} +39 -8
- package/dist/{chunk-KKTXCFD7.js.map → chunk-EORL2IDM.js.map} +1 -1
- package/dist/{chunk-JXHMAQYT.js → chunk-F6USGHMO.js} +4 -4
- package/dist/{chunk-NKCW223V.js → chunk-GXWFZYSR.js} +2 -2
- package/dist/{chunk-XXO5TI3B.js → chunk-K3BTOW7N.js} +3 -3
- package/dist/{chunk-N5RGXWLQ.js → chunk-MQ24KOOR.js} +2 -2
- package/dist/{chunk-3MNBW7R7.js → chunk-NRQJBK36.js} +2 -2
- package/dist/{chunk-3R2UZV3U.js → chunk-OOFBE62K.js} +2 -2
- package/dist/{chunk-MVQN73GT.js → chunk-OQMR2SDZ.js} +2 -2
- package/dist/{chunk-UGHUNQ74.js → chunk-RSKUUEBA.js} +73 -1
- package/dist/chunk-RSKUUEBA.js.map +1 -0
- package/dist/{chunk-QDV6VAD4.js → chunk-S5W37FPX.js} +2 -2
- package/dist/{chunk-57QXN2CS.js → chunk-SACS6KE6.js} +2 -2
- package/dist/{chunk-JKCDQBDW.js → chunk-UE57H4MA.js} +2 -2
- package/dist/{chunk-OLNNOHBC.js → chunk-VUTPRX7K.js} +20 -14
- package/dist/{chunk-OLNNOHBC.js.map → chunk-VUTPRX7K.js.map} +1 -1
- package/dist/{chunk-3GLCUPXP.js → chunk-YJOWWRRS.js} +429 -45
- package/dist/chunk-YJOWWRRS.js.map +1 -0
- package/dist/{chunk-P2D2MM47.js → chunk-ZZSXUZF3.js} +2 -2
- package/dist/{cli-DAsHklrf.d.ts → cli-B_6EMiQc.d.ts} +3 -3
- package/dist/cli.d.ts +6 -5
- package/dist/cli.js +17 -17
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +2 -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 +2 -2
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +2 -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/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 +2 -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 +22 -22
- 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 +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +3 -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 +3 -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 +2 -2
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +6 -6
- package/dist/{orchestrator-BexeSJ2j.d.ts → orchestrator-Dlw3ae4B.d.ts} +101 -10
- package/dist/orchestrator.d.ts +4 -3
- package/dist/orchestrator.js +10 -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/schemas.d.ts +22 -22
- 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-C4sefXEI.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +3 -3
- package/dist/semantic-rule-promotion.js +2 -2
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +2 -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 +5 -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/transfer/types.d.ts +12 -12
- package/dist/{types-BCF2wqKa.d.ts → types-2vqxmO0j.d.ts} +39 -10
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +2 -2
- package/package.json +1 -1
- package/src/orchestrator.ts +16 -0
- package/src/storage.ts +100 -0
- package/src/wearables/cli.ts +6 -0
- package/src/wearables/config.test.ts +33 -4
- package/src/wearables/config.ts +39 -7
- package/src/wearables/memory-gen.test.ts +416 -1
- package/src/wearables/memory-gen.ts +381 -23
- package/src/wearables/pipeline.test.ts +309 -1
- package/src/wearables/pipeline.ts +131 -9
- 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 +37 -8
- package/dist/chunk-3GLCUPXP.js.map +0 -1
- package/dist/chunk-UGHUNQ74.js.map +0 -1
- /package/dist/{chunk-GE7Q7KXP.js.map → chunk-2VJ7AJFX.js.map} +0 -0
- /package/dist/{chunk-KVFYTRMV.js.map → chunk-4QEUKASL.js.map} +0 -0
- /package/dist/{chunk-KB4MFBF5.js.map → chunk-5S6IREG3.js.map} +0 -0
- /package/dist/{chunk-LQYTQCXM.js.map → chunk-6LBQL5US.js.map} +0 -0
- /package/dist/{chunk-TZDSNIRO.js.map → chunk-ADOD7PJC.js.map} +0 -0
- /package/dist/{chunk-54KDA6UK.js.map → chunk-BL33LBTN.js.map} +0 -0
- /package/dist/{chunk-532VCWYW.js.map → chunk-BWK5EEKS.js.map} +0 -0
- /package/dist/{chunk-JXHMAQYT.js.map → chunk-F6USGHMO.js.map} +0 -0
- /package/dist/{chunk-NKCW223V.js.map → chunk-GXWFZYSR.js.map} +0 -0
- /package/dist/{chunk-XXO5TI3B.js.map → chunk-K3BTOW7N.js.map} +0 -0
- /package/dist/{chunk-N5RGXWLQ.js.map → chunk-MQ24KOOR.js.map} +0 -0
- /package/dist/{chunk-3MNBW7R7.js.map → chunk-NRQJBK36.js.map} +0 -0
- /package/dist/{chunk-3R2UZV3U.js.map → chunk-OOFBE62K.js.map} +0 -0
- /package/dist/{chunk-MVQN73GT.js.map → chunk-OQMR2SDZ.js.map} +0 -0
- /package/dist/{chunk-QDV6VAD4.js.map → chunk-S5W37FPX.js.map} +0 -0
- /package/dist/{chunk-57QXN2CS.js.map → chunk-SACS6KE6.js.map} +0 -0
- /package/dist/{chunk-JKCDQBDW.js.map → chunk-UE57H4MA.js.map} +0 -0
- /package/dist/{chunk-P2D2MM47.js.map → chunk-ZZSXUZF3.js.map} +0 -0
|
@@ -17,9 +17,10 @@ import { EmbeddingFallback } from './embedding-fallback.js';
|
|
|
17
17
|
import { a as SemanticDedupHit } from './semantic-DJR8_DMQ.js';
|
|
18
18
|
import { ReplayTurn } from './replay/types.js';
|
|
19
19
|
import { I as ImportTurn } from './types-BliCnURB.js';
|
|
20
|
-
import {
|
|
20
|
+
import { JudgeCandidate, JudgeBatchResult } from './extraction-judge.js';
|
|
21
|
+
import { Y as BufferTurn, af as ExtractionResult, M as MemoryCategory, I as ImportanceScore, h as MemoryStatus, aw as WearableConversation, ax as WearableSourceSettings, ay as WearableNativeMemory, az as WearableMemoryMode, aA as WearableSourceConnector, aB as WearablesConfig, aC as WearableSyncSummary, aD as WearableSourceStatus, aE as WearableDayTranscript, aF as WearableCorrectionRule, P as PluginConfig, aG as CodingContext, Z as QmdSearchResult, e as BehaviorLoopPolicyState, aH as BootstrapOptions, aI as BootstrapResult, aJ as ConsolidationObservation, g as MemoryFile, ah as DaySummaryResult, m as MemoryActionEvent, H as RecallPlanMode, ai as MemoryIntent, aK as EntityTimelineEntry, j as MemoryFrontmatter, J as IdentityInjectionMode } from './types-2vqxmO0j.js';
|
|
21
22
|
import { LcmEngine } from './lcm/engine.js';
|
|
22
|
-
import { S as SemanticConsolidationResult } from './semantic-consolidation-
|
|
23
|
+
import { S as SemanticConsolidationResult } from './semantic-consolidation-C4sefXEI.js';
|
|
23
24
|
import { ConversationIndexBackendInspection } from './conversation-index/backend.js';
|
|
24
25
|
import { SharedContextManager } from './shared-context/manager.js';
|
|
25
26
|
import { CompoundingEngine } from './compounding/engine.js';
|
|
@@ -87,6 +88,19 @@ interface PatternReinforcementResult {
|
|
|
87
88
|
clusters: PatternReinforcementClusterResult[];
|
|
88
89
|
}
|
|
89
90
|
|
|
91
|
+
interface CorroborationContext {
|
|
92
|
+
/**
|
|
93
|
+
* Same-day transcript bodies from OTHER sources, keyed by source id.
|
|
94
|
+
* Pre-tokenized once per sync (day bodies are large).
|
|
95
|
+
*/
|
|
96
|
+
otherSourceDayTokens: Map<string, Set<string>>;
|
|
97
|
+
/** Existing active memories: id + content. */
|
|
98
|
+
existingMemories: Array<{
|
|
99
|
+
id: string;
|
|
100
|
+
content: string;
|
|
101
|
+
}>;
|
|
102
|
+
}
|
|
103
|
+
|
|
90
104
|
/**
|
|
91
105
|
* Wearable speaker registry — maps provider diarization labels to
|
|
92
106
|
* human names, persistently, per source.
|
|
@@ -192,17 +206,62 @@ interface WearableMemoryWriter {
|
|
|
192
206
|
memoryKind?: "episode" | "note" | "box" | "dream" | "procedural";
|
|
193
207
|
}): Promise<string>;
|
|
194
208
|
hasFactContentHash(content: string): Promise<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
* Locate an earlier wearable write of the same content (any status).
|
|
211
|
+
* Optional: enables in-place promotion when re-scoring with stronger
|
|
212
|
+
* evidence.
|
|
213
|
+
*/
|
|
214
|
+
findWearableMemoryByContent?(content: string): Promise<{
|
|
215
|
+
id: string;
|
|
216
|
+
status: MemoryStatus | undefined;
|
|
217
|
+
} | null>;
|
|
218
|
+
/**
|
|
219
|
+
* Promote a pending_review wearable memory to active, merging trust
|
|
220
|
+
* evidence. Returns false when missing or no longer pending.
|
|
221
|
+
*/
|
|
222
|
+
promoteWearableMemory?(id: string, attributeUpdates: Record<string, string>, confidence?: number): Promise<boolean>;
|
|
223
|
+
/**
|
|
224
|
+
* Demote a pending_review wearable memory to rejected on an explicit
|
|
225
|
+
* judge-reject re-verdict. Returns false when missing or no longer
|
|
226
|
+
* pending. Active rows are never auto-demoted.
|
|
227
|
+
*/
|
|
228
|
+
demoteWearableMemory?(id: string, attributeUpdates: Record<string, string>): Promise<boolean>;
|
|
195
229
|
}
|
|
196
230
|
interface WearableMemoryGenDeps {
|
|
197
231
|
extract(turns: BufferTurn[]): Promise<ExtractionResult>;
|
|
198
232
|
writer: WearableMemoryWriter;
|
|
233
|
+
/**
|
|
234
|
+
* LLM-as-judge batch evaluation (the existing extraction judge).
|
|
235
|
+
* Absent when no judge is wired (degraded smart mode: trust scoring
|
|
236
|
+
* runs on confidence x sourceTrust + corroboration alone).
|
|
237
|
+
*/
|
|
238
|
+
judgeFacts?(candidates: JudgeCandidate[]): Promise<JudgeBatchResult>;
|
|
239
|
+
/**
|
|
240
|
+
* Corroboration evidence for smart mode: other sources' same-day
|
|
241
|
+
* transcript tokens + existing active memories. Absent disables
|
|
242
|
+
* corroboration boosts.
|
|
243
|
+
*/
|
|
244
|
+
corroboration?: CorroborationContext;
|
|
199
245
|
}
|
|
200
246
|
interface WearableMemoryGenResult {
|
|
201
247
|
created: number;
|
|
248
|
+
/** Earlier borderline writes promoted to active by new evidence. */
|
|
249
|
+
promoted: number;
|
|
250
|
+
/** Earlier pending writes retired by a fresh judge-reject verdict. */
|
|
251
|
+
demoted: number;
|
|
202
252
|
skipped: number;
|
|
203
253
|
skippedByReason: Record<string, number>;
|
|
204
254
|
/** Non-fatal problems (e.g. the extraction engine erroring). */
|
|
205
255
|
warnings: string[];
|
|
256
|
+
/**
|
|
257
|
+
* True when every conversation was extracted (the pass may still
|
|
258
|
+
* carry degraded-mode warnings, e.g. judge unavailable). False only
|
|
259
|
+
* when extraction itself aborted mid-day — the signal callers use to
|
|
260
|
+
* re-run the pass on the next sync. A degraded-but-complete pass
|
|
261
|
+
* must NOT re-run forever: its facts are already written and dedup
|
|
262
|
+
* would suppress improvements anyway.
|
|
263
|
+
*/
|
|
264
|
+
completed: boolean;
|
|
206
265
|
}
|
|
207
266
|
declare const WEARABLE_SOURCE_PREFIX = "wearable";
|
|
208
267
|
declare function wearableSourceLabel(sourceId: string): string;
|
|
@@ -224,14 +283,10 @@ declare function generateWearableMemories(sourceId: string, date: string, conver
|
|
|
224
283
|
* counts. Gated by `wearables.digestEnabled`.
|
|
225
284
|
*/
|
|
226
285
|
declare function writeDailyDigestMemory(sourceId: string, date: string, conversations: WearableConversation[], settings: WearableSourceSettings, registry: SpeakerRegistry, writer: WearableMemoryWriter): Promise<boolean>;
|
|
227
|
-
|
|
228
|
-
* Import provider-extracted memories (Bee facts, Omi memories) into the
|
|
229
|
-
* review queue. Always `pending_review` regardless of memoryMode — the
|
|
230
|
-
* provider's extraction quality is outside Remnic's control.
|
|
231
|
-
*/
|
|
232
|
-
declare function importNativeMemories(sourceId: string, memories: WearableNativeMemory[], alreadyImportedIds: ReadonlySet<string>, writer: WearableMemoryWriter): Promise<{
|
|
286
|
+
declare function importNativeMemories(sourceId: string, memories: WearableNativeMemory[], alreadyImportedIds: ReadonlySet<string>, settings: WearableSourceSettings, deps: WearableMemoryGenDeps): Promise<{
|
|
233
287
|
imported: number;
|
|
234
288
|
importedIds: string[];
|
|
289
|
+
warnings: string[];
|
|
235
290
|
}>;
|
|
236
291
|
|
|
237
292
|
/**
|
|
@@ -267,14 +322,36 @@ interface WearableSyncDeps {
|
|
|
267
322
|
readDayContentHash(sourceId: string, date: string): Promise<string | null>;
|
|
268
323
|
/** Persist a serialized day-transcript file (atomic). */
|
|
269
324
|
writeDayTranscript(sourceId: string, date: string, serialized: string): Promise<void>;
|
|
270
|
-
/**
|
|
271
|
-
|
|
325
|
+
/**
|
|
326
|
+
* Optional hook fired once after the sync wrote ANYTHING the search
|
|
327
|
+
* index should see: day transcripts, created memories, in-place
|
|
328
|
+
* promotions, or native imports. (A cross-source invalidation can
|
|
329
|
+
* promote memories on a run with zero transcript writes — the index
|
|
330
|
+
* must still refresh.)
|
|
331
|
+
*/
|
|
332
|
+
afterWrites?(): Promise<void>;
|
|
272
333
|
/**
|
|
273
334
|
* Memory-generation dependencies, or null when no extraction engine
|
|
274
335
|
* is available in this context (transcripts still sync; memory
|
|
275
336
|
* creation is skipped with a warning when the mode wanted it).
|
|
276
337
|
*/
|
|
277
338
|
memoryGen: WearableMemoryGenDeps | null;
|
|
339
|
+
/**
|
|
340
|
+
* Same-day transcript bodies from OTHER sources, for cross-device
|
|
341
|
+
* corroboration in smart mode. Absent disables the boost.
|
|
342
|
+
*/
|
|
343
|
+
readOtherSourceDayBodies?(date: string, excludeSource: string): Promise<Map<string, string>>;
|
|
344
|
+
/**
|
|
345
|
+
* Existing memories usable as support evidence: status "active" or
|
|
346
|
+
* "pending_review" (explicit allow-list — a borderline fact observed
|
|
347
|
+
* again on a later day is repetition signal, and the +0.10 boost is
|
|
348
|
+
* how it earns promotion). Rejected/quarantined/superseded/archived/
|
|
349
|
+
* forgotten rows are never support evidence.
|
|
350
|
+
*/
|
|
351
|
+
listSupportMemories?(): Promise<Array<{
|
|
352
|
+
id: string;
|
|
353
|
+
content: string;
|
|
354
|
+
}>>;
|
|
278
355
|
/** Clock injection for tests. */
|
|
279
356
|
now?: () => Date;
|
|
280
357
|
}
|
|
@@ -310,12 +387,20 @@ interface WearableStorageIo {
|
|
|
310
387
|
created: string;
|
|
311
388
|
tags: string[];
|
|
312
389
|
status?: string;
|
|
390
|
+
/** Archival timestamp — rows with this set are not support. */
|
|
391
|
+
archivedAt?: string;
|
|
313
392
|
structuredAttributes?: Record<string, string>;
|
|
314
393
|
};
|
|
315
394
|
content: string;
|
|
316
395
|
}>>;
|
|
317
396
|
writeMemory: WearableMemoryGenDeps["writer"]["writeMemory"];
|
|
318
397
|
hasFactContentHash(content: string): Promise<boolean>;
|
|
398
|
+
findWearableMemoryByContent(content: string): Promise<{
|
|
399
|
+
id: string;
|
|
400
|
+
status: string | undefined;
|
|
401
|
+
} | null>;
|
|
402
|
+
promoteWearableMemory(id: string, attributeUpdates: Record<string, string>, confidence?: number): Promise<boolean>;
|
|
403
|
+
demoteWearableMemory(id: string, attributeUpdates: Record<string, string>): Promise<boolean>;
|
|
319
404
|
}
|
|
320
405
|
interface WearableSearchBackend {
|
|
321
406
|
/** Full-text search over the memory dir; null when unavailable. */
|
|
@@ -330,6 +415,12 @@ interface WearablesServiceDeps {
|
|
|
330
415
|
getStorage(): Promise<WearableStorageIo>;
|
|
331
416
|
/** Extraction hook; null when no engine is available. */
|
|
332
417
|
extract: WearableMemoryGenDeps["extract"] | null;
|
|
418
|
+
/**
|
|
419
|
+
* LLM-as-judge hook for smart memoryMode (the orchestrator wires the
|
|
420
|
+
* existing extraction judge here). Absent degrades smart mode to
|
|
421
|
+
* confidence x sourceTrust + corroboration scoring.
|
|
422
|
+
*/
|
|
423
|
+
judgeFacts?: WearableMemoryGenDeps["judgeFacts"];
|
|
333
424
|
/** Search backend (QMD); null disables indexed search. */
|
|
334
425
|
searchBackend: WearableSearchBackend | null;
|
|
335
426
|
/** Fired after transcript writes so the search index refreshes. */
|
package/dist/orchestrator.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import './summarizer.js';
|
|
|
7
7
|
import './local-llm.js';
|
|
8
8
|
import './fallback-llm.js';
|
|
9
9
|
import './live-connectors-runner.js';
|
|
10
|
-
export { L as GraphRecallRankedResult, M as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, Q as QmdRecallSnapshot, N as RecallInvocationOptions, T as RecallModeDecision, U as appendMemoryToGraphContext, V as blendGraphExpandedRecallScore, X as buildCompressionGuidelinesMarkdown, Y as buildMemoryPathById, Z as computeArtifactCandidateFetchLimit, _ as computeArtifactRecallLimit, $ as computeQmdHybridFetchLimit, a0 as dedupeEntitySynthesisEvidenceEntries, q as defaultWorkspaceDir, a1 as deriveTopicsFromExtraction, a2 as filterRecallCandidates, a3 as formatCompressionGuidelinesForRecall, a4 as graphPathRelativeToStorage, a5 as hasIdentityRecoveryIntent, a6 as isArtifactMemoryPath, a7 as lifecycleRecallScoreAdjustment, a8 as mergeArtifactRecallCandidates, a9 as mergeGraphExpandedResults, aa as resolveEffectiveIdentityInjectionMode, ab as resolveEffectiveRecallMode, ac as resolvePersistedMemoryRelativePath, ad as resolveRecallModeDecision, ae as resolveRecallModeDecisionAsync, af as resolveRecentThreadMemoryPaths, A as sanitizeSessionKeyForFilename, ag as shouldFilterLifecycleRecallCandidate, ah as summarizeGraphShadowComparison } from './orchestrator-
|
|
10
|
+
export { L as GraphRecallRankedResult, M as GraphRecallShadowComparison, G as GraphRecallSnapshot, I as IntentDebugSnapshot, O as Orchestrator, Q as QmdRecallSnapshot, N as RecallInvocationOptions, T as RecallModeDecision, U as appendMemoryToGraphContext, V as blendGraphExpandedRecallScore, X as buildCompressionGuidelinesMarkdown, Y as buildMemoryPathById, Z as computeArtifactCandidateFetchLimit, _ as computeArtifactRecallLimit, $ as computeQmdHybridFetchLimit, a0 as dedupeEntitySynthesisEvidenceEntries, q as defaultWorkspaceDir, a1 as deriveTopicsFromExtraction, a2 as filterRecallCandidates, a3 as formatCompressionGuidelinesForRecall, a4 as graphPathRelativeToStorage, a5 as hasIdentityRecoveryIntent, a6 as isArtifactMemoryPath, a7 as lifecycleRecallScoreAdjustment, a8 as mergeArtifactRecallCandidates, a9 as mergeGraphExpandedResults, aa as resolveEffectiveIdentityInjectionMode, ab as resolveEffectiveRecallMode, ac as resolvePersistedMemoryRelativePath, ad as resolveRecallModeDecision, ae as resolveRecallModeDecisionAsync, af as resolveRecentThreadMemoryPaths, A as sanitizeSessionKeyForFilename, ag as shouldFilterLifecycleRecallCandidate, ah as summarizeGraphShadowComparison } from './orchestrator-Dlw3ae4B.js';
|
|
11
11
|
import './model-registry.js';
|
|
12
12
|
import './relevance.js';
|
|
13
13
|
import './negative.js';
|
|
@@ -18,9 +18,9 @@ import './embedding-fallback.js';
|
|
|
18
18
|
import './semantic-DJR8_DMQ.js';
|
|
19
19
|
import './replay/types.js';
|
|
20
20
|
import './types-BliCnURB.js';
|
|
21
|
-
import './types-
|
|
21
|
+
import './types-2vqxmO0j.js';
|
|
22
22
|
import './lcm/engine.js';
|
|
23
|
-
import './semantic-consolidation-
|
|
23
|
+
import './semantic-consolidation-C4sefXEI.js';
|
|
24
24
|
import './conversation-index/backend.js';
|
|
25
25
|
import './shared-context/manager.js';
|
|
26
26
|
import './compounding/engine.js';
|
|
@@ -36,6 +36,7 @@ import 'better-sqlite3';
|
|
|
36
36
|
import './session-integrity.js';
|
|
37
37
|
import './resolve-provider-secret.js';
|
|
38
38
|
import './framework-CNDn2164.js';
|
|
39
|
+
import './extraction-judge.js';
|
|
39
40
|
import './memory-provenance.js';
|
|
40
41
|
import './user-model.js';
|
|
41
42
|
import './lcm/archive.js';
|
package/dist/orchestrator.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
sanitizeSessionKeyForFilename,
|
|
28
28
|
shouldFilterLifecycleRecallCandidate,
|
|
29
29
|
summarizeGraphShadowComparison
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YJOWWRRS.js";
|
|
31
31
|
import "./chunk-5RIRL3XL.js";
|
|
32
32
|
import "./chunk-4HFJQCJZ.js";
|
|
33
33
|
import "./chunk-6BDVBBBY.js";
|
|
@@ -42,7 +42,7 @@ import "./chunk-UWK5OXUJ.js";
|
|
|
42
42
|
import "./chunk-TECVW3JP.js";
|
|
43
43
|
import "./chunk-T2PO5MUF.js";
|
|
44
44
|
import "./chunk-HP5FMB6L.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-UE57H4MA.js";
|
|
46
46
|
import "./chunk-DRD2Q7HQ.js";
|
|
47
47
|
import "./chunk-LXOM6IQU.js";
|
|
48
48
|
import "./chunk-S75M5ZRK.js";
|
|
@@ -83,7 +83,7 @@ import "./chunk-54V4BZWP.js";
|
|
|
83
83
|
import "./chunk-XZ4WBBB5.js";
|
|
84
84
|
import "./chunk-77NAFXUD.js";
|
|
85
85
|
import "./chunk-DB5A3NHS.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-6LBQL5US.js";
|
|
87
87
|
import "./chunk-6NKAQ74D.js";
|
|
88
88
|
import "./chunk-OAZ5MFUB.js";
|
|
89
89
|
import "./chunk-PYPOFEMK.js";
|
|
@@ -94,17 +94,17 @@ import "./chunk-6HEM6HTQ.js";
|
|
|
94
94
|
import "./chunk-XCAZF7KQ.js";
|
|
95
95
|
import "./chunk-3PG3H5TD.js";
|
|
96
96
|
import "./chunk-OD4FM2U7.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-OOFBE62K.js";
|
|
98
|
+
import "./chunk-2VJ7AJFX.js";
|
|
99
99
|
import "./chunk-LN4YGHTM.js";
|
|
100
100
|
import "./chunk-JLNBQWZ2.js";
|
|
101
101
|
import "./chunk-2PRQG7PV.js";
|
|
102
102
|
import "./chunk-X6IRLNOO.js";
|
|
103
103
|
import "./chunk-2F6NP3NT.js";
|
|
104
104
|
import "./chunk-TERNBNJB.js";
|
|
105
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-ZZSXUZF3.js";
|
|
106
106
|
import "./chunk-W4RVMTHR.js";
|
|
107
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-SACS6KE6.js";
|
|
108
108
|
import "./chunk-ZRWB5D4H.js";
|
|
109
109
|
import "./chunk-A6D7A2FW.js";
|
|
110
110
|
import "./chunk-FF4KLI5W.js";
|
|
@@ -119,7 +119,7 @@ import "./chunk-CYEPCZN5.js";
|
|
|
119
119
|
import "./chunk-DCGT4FPP.js";
|
|
120
120
|
import "./chunk-Q4CAQGKQ.js";
|
|
121
121
|
import "./chunk-CINZGPSJ.js";
|
|
122
|
-
import "./chunk-
|
|
122
|
+
import "./chunk-S5W37FPX.js";
|
|
123
123
|
import "./chunk-ZFXCQPNO.js";
|
|
124
124
|
import "./chunk-Q6YIJGXJ.js";
|
|
125
125
|
import "./chunk-ORFGK3XI.js";
|
|
@@ -172,8 +172,8 @@ import "./chunk-H3PHZLMF.js";
|
|
|
172
172
|
import "./chunk-XL7FK7PJ.js";
|
|
173
173
|
import "./chunk-2LSZVONP.js";
|
|
174
174
|
import "./chunk-DEUNUKTD.js";
|
|
175
|
-
import "./chunk-
|
|
176
|
-
import "./chunk-
|
|
175
|
+
import "./chunk-GXWFZYSR.js";
|
|
176
|
+
import "./chunk-RSKUUEBA.js";
|
|
177
177
|
import "./chunk-5UZXUTVO.js";
|
|
178
178
|
import "./chunk-J6A3CX5N.js";
|
|
179
179
|
import "./chunk-FPNQF475.js";
|
package/dist/patterns-cli.d.ts
CHANGED
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-2vqxmO0j.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-2vqxmO0j.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-2vqxmO0j.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-2vqxmO0j.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-2vqxmO0j.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-2vqxmO0j.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-4QEUKASL.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-EORL2IDM.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/schemas.d.ts
CHANGED
|
@@ -275,12 +275,12 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
275
275
|
title: z.ZodString;
|
|
276
276
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
title: string;
|
|
279
278
|
key: string;
|
|
279
|
+
title: string;
|
|
280
280
|
facts: string[];
|
|
281
281
|
}, {
|
|
282
|
-
title: string;
|
|
283
282
|
key: string;
|
|
283
|
+
title: string;
|
|
284
284
|
facts: string[];
|
|
285
285
|
}>, "many">>>;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -288,8 +288,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
288
288
|
name: string;
|
|
289
289
|
facts: string[];
|
|
290
290
|
structuredSections?: {
|
|
291
|
-
title: string;
|
|
292
291
|
key: string;
|
|
292
|
+
title: string;
|
|
293
293
|
facts: string[];
|
|
294
294
|
}[] | null | undefined;
|
|
295
295
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -298,8 +298,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
298
298
|
name: string;
|
|
299
299
|
facts: string[];
|
|
300
300
|
structuredSections?: {
|
|
301
|
-
title: string;
|
|
302
301
|
key: string;
|
|
302
|
+
title: string;
|
|
303
303
|
facts: string[];
|
|
304
304
|
}[] | null | undefined;
|
|
305
305
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -584,12 +584,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
584
584
|
title: z.ZodString;
|
|
585
585
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
586
586
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
-
title: string;
|
|
588
587
|
key: string;
|
|
588
|
+
title: string;
|
|
589
589
|
facts: string[];
|
|
590
590
|
}, {
|
|
591
|
-
title: string;
|
|
592
591
|
key: string;
|
|
592
|
+
title: string;
|
|
593
593
|
facts: string[];
|
|
594
594
|
}>, "many">>>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -597,8 +597,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
597
597
|
name: string;
|
|
598
598
|
facts: string[];
|
|
599
599
|
structuredSections?: {
|
|
600
|
-
title: string;
|
|
601
600
|
key: string;
|
|
601
|
+
title: string;
|
|
602
602
|
facts: string[];
|
|
603
603
|
}[] | null | undefined;
|
|
604
604
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -607,8 +607,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
607
607
|
name: string;
|
|
608
608
|
facts: string[];
|
|
609
609
|
structuredSections?: {
|
|
610
|
-
title: string;
|
|
611
610
|
key: string;
|
|
611
|
+
title: string;
|
|
612
612
|
facts: string[];
|
|
613
613
|
}[] | null | undefined;
|
|
614
614
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -665,8 +665,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
665
665
|
name: string;
|
|
666
666
|
facts: string[];
|
|
667
667
|
structuredSections?: {
|
|
668
|
-
title: string;
|
|
669
668
|
key: string;
|
|
669
|
+
title: string;
|
|
670
670
|
facts: string[];
|
|
671
671
|
}[] | null | undefined;
|
|
672
672
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -714,8 +714,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
714
714
|
name: string;
|
|
715
715
|
facts: string[];
|
|
716
716
|
structuredSections?: {
|
|
717
|
-
title: string;
|
|
718
717
|
key: string;
|
|
718
|
+
title: string;
|
|
719
719
|
facts: string[];
|
|
720
720
|
}[] | null | undefined;
|
|
721
721
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -952,12 +952,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
952
952
|
title: z.ZodString;
|
|
953
953
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
954
954
|
}, "strip", z.ZodTypeAny, {
|
|
955
|
-
title: string;
|
|
956
955
|
key: string;
|
|
956
|
+
title: string;
|
|
957
957
|
facts: string[];
|
|
958
958
|
}, {
|
|
959
|
-
title: string;
|
|
960
959
|
key: string;
|
|
960
|
+
title: string;
|
|
961
961
|
facts: string[];
|
|
962
962
|
}>, "many">>>;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -965,8 +965,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
965
965
|
name: string;
|
|
966
966
|
facts: string[];
|
|
967
967
|
structuredSections?: {
|
|
968
|
-
title: string;
|
|
969
968
|
key: string;
|
|
969
|
+
title: string;
|
|
970
970
|
facts: string[];
|
|
971
971
|
}[] | null | undefined;
|
|
972
972
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -975,8 +975,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
975
975
|
name: string;
|
|
976
976
|
facts: string[];
|
|
977
977
|
structuredSections?: {
|
|
978
|
-
title: string;
|
|
979
978
|
key: string;
|
|
979
|
+
title: string;
|
|
980
980
|
facts: string[];
|
|
981
981
|
}[] | null | undefined;
|
|
982
982
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1047,8 +1047,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1047
1047
|
name: string;
|
|
1048
1048
|
facts: string[];
|
|
1049
1049
|
structuredSections?: {
|
|
1050
|
-
title: string;
|
|
1051
1050
|
key: string;
|
|
1051
|
+
title: string;
|
|
1052
1052
|
facts: string[];
|
|
1053
1053
|
}[] | null | undefined;
|
|
1054
1054
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1102,8 +1102,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1102
1102
|
name: string;
|
|
1103
1103
|
facts: string[];
|
|
1104
1104
|
structuredSections?: {
|
|
1105
|
-
title: string;
|
|
1106
1105
|
key: string;
|
|
1106
|
+
title: string;
|
|
1107
1107
|
facts: string[];
|
|
1108
1108
|
}[] | null | undefined;
|
|
1109
1109
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1172,12 +1172,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1172
1172
|
title: z.ZodString;
|
|
1173
1173
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
title: string;
|
|
1176
1175
|
key: string;
|
|
1176
|
+
title: string;
|
|
1177
1177
|
facts: string[];
|
|
1178
1178
|
}, {
|
|
1179
|
-
title: string;
|
|
1180
1179
|
key: string;
|
|
1180
|
+
title: string;
|
|
1181
1181
|
facts: string[];
|
|
1182
1182
|
}>, "many">>>;
|
|
1183
1183
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1185,8 +1185,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1185
1185
|
name: string;
|
|
1186
1186
|
facts: string[];
|
|
1187
1187
|
structuredSections?: {
|
|
1188
|
-
title: string;
|
|
1189
1188
|
key: string;
|
|
1189
|
+
title: string;
|
|
1190
1190
|
facts: string[];
|
|
1191
1191
|
}[] | null | undefined;
|
|
1192
1192
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1195,8 +1195,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1195
1195
|
name: string;
|
|
1196
1196
|
facts: string[];
|
|
1197
1197
|
structuredSections?: {
|
|
1198
|
-
title: string;
|
|
1199
1198
|
key: string;
|
|
1199
|
+
title: string;
|
|
1200
1200
|
facts: string[];
|
|
1201
1201
|
}[] | null | undefined;
|
|
1202
1202
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1215,8 +1215,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1215
1215
|
name: string;
|
|
1216
1216
|
facts: string[];
|
|
1217
1217
|
structuredSections?: {
|
|
1218
|
-
title: string;
|
|
1219
1218
|
key: string;
|
|
1219
|
+
title: string;
|
|
1220
1220
|
facts: string[];
|
|
1221
1221
|
}[] | null | undefined;
|
|
1222
1222
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1235,8 +1235,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1235
1235
|
name: string;
|
|
1236
1236
|
facts: string[];
|
|
1237
1237
|
structuredSections?: {
|
|
1238
|
-
title: string;
|
|
1239
1238
|
key: string;
|
|
1239
|
+
title: string;
|
|
1240
1240
|
facts: string[];
|
|
1241
1241
|
}[] | null | undefined;
|
|
1242
1242
|
promptedByQuestion?: string | null | undefined;
|
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-2vqxmO0j.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-2vqxmO0j.js';
|
|
11
11
|
import '../types-BliCnURB.js';
|
|
12
12
|
import '../index-DJ9QWMw-.js';
|
|
13
13
|
import '../host-embedding-provider.js';
|