@tangle-network/agent-knowledge 7.0.0 → 7.0.3
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/CHANGELOG.md +21 -1
- package/README.md +30 -0
- package/dist/benchmarks/index.js +1 -1
- package/dist/{benchmarks-C8L7HJb4.js → benchmarks-CPl4AO1k.js} +73 -5
- package/dist/benchmarks-CPl4AO1k.js.map +1 -0
- package/dist/{index-Dwp3Mx-w.d.ts → index-BEVmwlfJ.d.ts} +184 -5
- package/dist/index-BEVmwlfJ.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/memory/index.d.ts +2 -2
- package/dist/memory/index.js +3 -3
- package/dist/{memory-CIYRB_Q8.js → memory-DAFfGTJH.js} +1092 -193
- package/dist/memory-DAFfGTJH.js.map +1 -0
- package/docs/architecture.md +6 -4
- package/package.json +3 -3
- package/dist/benchmarks-C8L7HJb4.js.map +0 -1
- package/dist/index-Dwp3Mx-w.d.ts.map +0 -1
- package/dist/memory-CIYRB_Q8.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { O as SourceRecord } from "./types-BOfmvDe-.js";
|
|
2
2
|
import { At as AgentMemoryScope, B as KnowledgeMemoryEvent, Dt as AgentMemoryContext, F as KnowledgeBenchmarkSplit, Ft as RetrievalHoldoutCallContext, It as RetrievalHoldoutConfig, Mt as AgentMemoryWriteInput, Nt as AgentMemoryWriteResult, O as KnowledgeBenchmarkFamily, Ot as AgentMemoryHit, Pt as RetrievalHoldoutBypassReason, R as KnowledgeMemoryBenchmarkCase, Rt as RetrievalHoldoutEvent, Tt as AgentMemoryAdapter, V as KnowledgeMemoryFactMatcher, bt as AgentMemoryRunLease, jt as AgentMemorySearchOptions, vt as AgentMemoryAcquireRunLease, yt as AgentMemoryControllerMode, z as KnowledgeMemoryBenchmarkTaskKind, zt as RetrievalHoldoutResult } from "./index-D0wc4GYg.js";
|
|
3
3
|
import { AgentCandidateJsonValue } from "@tangle-network/agent-interface";
|
|
4
|
-
import { CostChannel, CostReceipt, RunPaidCallInput } from "@tangle-network/agent-eval";
|
|
4
|
+
import { CostChannel, CostReceipt, PairedBootstrapResult, RunPaidCallInput } from "@tangle-network/agent-eval";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { CampaignResult, CampaignStorage, CompareOptimizationMethodsOptions, CostLedgerHandle, DispatchContext, HeldoutSignificance, HeldoutSignificanceOptions, JudgeConfig, OptimizationMethod, OptimizationMethodComparison, OptimizationMethodRunOptions, Scenario } from "@tangle-network/agent-eval/campaign";
|
|
7
7
|
import { OffPolicyTrajectory } from "@tangle-network/agent-eval/rl";
|
|
@@ -121,8 +121,20 @@ declare function createAgentMemoryBranch(options: CreateAgentMemoryBranchOptions
|
|
|
121
121
|
declare function forkAgentMemoryBranchSnapshot(options: ForkAgentMemoryBranchSnapshotOptions): Promise<AgentMemoryBranch>;
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/memory/experiment/types.d.ts
|
|
124
|
+
type AgentMemoryMode = 'stateful' | 'stateless';
|
|
125
|
+
type AgentMemoryLearningArmOrder = 'stateful-first' | 'stateless-first';
|
|
126
|
+
type AgentMemoryExperimentComparisonRef = `sha256:${string}`;
|
|
127
|
+
type AgentMemoryEvidenceRef = `sha256:${string}`;
|
|
128
|
+
interface AgentMemoryExperimentCandidateRef {
|
|
129
|
+
id: string;
|
|
130
|
+
ref: string;
|
|
131
|
+
}
|
|
124
132
|
interface AgentMemorySequenceProbe {
|
|
125
133
|
id: string;
|
|
134
|
+
/** Stable identity shared by exact repeated measurements of one retention target. */
|
|
135
|
+
retentionKey?: string;
|
|
136
|
+
/** Explicitly marks a later-step probe as measuring transfer from prior steps. */
|
|
137
|
+
transferKey?: string;
|
|
126
138
|
query: string;
|
|
127
139
|
scope?: AgentMemoryScope;
|
|
128
140
|
limit?: number;
|
|
@@ -221,6 +233,9 @@ interface AgentMemoryExperimentCandidate {
|
|
|
221
233
|
interface AgentMemorySequenceProbeResult {
|
|
222
234
|
id: string;
|
|
223
235
|
stepId: string;
|
|
236
|
+
stepOrdinal: number;
|
|
237
|
+
retentionKey?: string;
|
|
238
|
+
transferKey?: string;
|
|
224
239
|
query: string;
|
|
225
240
|
score: number;
|
|
226
241
|
passed: boolean;
|
|
@@ -228,10 +243,15 @@ interface AgentMemorySequenceProbeResult {
|
|
|
228
243
|
applicableDimensions: readonly string[];
|
|
229
244
|
notes: string;
|
|
230
245
|
hitIds: readonly string[];
|
|
246
|
+
/** Exact scoring input, saved under the cell artifact directory. */
|
|
247
|
+
evidenceRef: AgentMemoryEvidenceRef;
|
|
248
|
+
evidencePath: string;
|
|
231
249
|
}
|
|
232
250
|
interface AgentMemorySequenceArtifact {
|
|
233
251
|
candidateId: string;
|
|
234
252
|
sequenceId: string;
|
|
253
|
+
memoryMode: AgentMemoryMode;
|
|
254
|
+
comparisonRef: AgentMemoryExperimentComparisonRef;
|
|
235
255
|
score: number;
|
|
236
256
|
passed: boolean;
|
|
237
257
|
dimensions: Record<string, number>;
|
|
@@ -262,10 +282,131 @@ interface AgentMemoryExperimentRankingRow {
|
|
|
262
282
|
durationMs: number;
|
|
263
283
|
dimensions: Record<string, number>;
|
|
264
284
|
}
|
|
285
|
+
interface AgentMemoryLearningCellComparison {
|
|
286
|
+
cellId: string;
|
|
287
|
+
candidateId: string;
|
|
288
|
+
sequenceId: string;
|
|
289
|
+
rep: number;
|
|
290
|
+
seed: number;
|
|
291
|
+
statefulArtifactRef: AgentMemoryEvidenceRef;
|
|
292
|
+
statelessArtifactRef: AgentMemoryEvidenceRef;
|
|
293
|
+
/** Probes after the first step used for this contrast. */
|
|
294
|
+
probeCount: number;
|
|
295
|
+
statefulReward: number;
|
|
296
|
+
statelessReward: number;
|
|
297
|
+
gain: number;
|
|
298
|
+
}
|
|
299
|
+
interface AgentMemoryLearningCandidateSummary {
|
|
300
|
+
candidateId: string;
|
|
301
|
+
cells: number;
|
|
302
|
+
/** One value per independent sequence after averaging repetitions. */
|
|
303
|
+
gain: PairedBootstrapResult;
|
|
304
|
+
}
|
|
305
|
+
interface AgentMemoryTransferCellComparison {
|
|
306
|
+
cellId: string;
|
|
307
|
+
candidateId: string;
|
|
308
|
+
sequenceId: string;
|
|
309
|
+
rep: number;
|
|
310
|
+
seed: number;
|
|
311
|
+
stepId: string;
|
|
312
|
+
stepOrdinal: number;
|
|
313
|
+
transferKey: string;
|
|
314
|
+
probeCount: number;
|
|
315
|
+
statefulArtifactRef: AgentMemoryEvidenceRef;
|
|
316
|
+
statelessArtifactRef: AgentMemoryEvidenceRef;
|
|
317
|
+
statefulReward: number;
|
|
318
|
+
statelessReward: number;
|
|
319
|
+
gain: number;
|
|
320
|
+
}
|
|
321
|
+
interface AgentMemoryTransferStepSummary {
|
|
322
|
+
candidateId: string;
|
|
323
|
+
transferKey: string;
|
|
324
|
+
stepOrdinal: number;
|
|
325
|
+
/** Stateful minus stateless transfer reward, one pair per independent sequence. */
|
|
326
|
+
gain: PairedBootstrapResult;
|
|
327
|
+
}
|
|
328
|
+
interface AgentMemoryForgettingComparison {
|
|
329
|
+
cellId: string;
|
|
330
|
+
candidateId: string;
|
|
331
|
+
sequenceId: string;
|
|
332
|
+
rep: number;
|
|
333
|
+
seed: number;
|
|
334
|
+
retentionKey: string;
|
|
335
|
+
observations: number;
|
|
336
|
+
firstStepOrdinal: number;
|
|
337
|
+
finalStepOrdinal: number;
|
|
338
|
+
statefulArtifactRef: AgentMemoryEvidenceRef;
|
|
339
|
+
statelessArtifactRef: AgentMemoryEvidenceRef;
|
|
340
|
+
statefulPriorPeakReward: number;
|
|
341
|
+
statefulPriorPeakStepOrdinal: number;
|
|
342
|
+
statefulFinalReward: number;
|
|
343
|
+
/** Prior peak minus final reward. Negative means the final result improved. */
|
|
344
|
+
statefulForgetting: number;
|
|
345
|
+
statelessPriorPeakReward: number;
|
|
346
|
+
statelessPriorPeakStepOrdinal: number;
|
|
347
|
+
statelessFinalReward: number;
|
|
348
|
+
/** Prior peak minus final reward. Negative means the final result improved. */
|
|
349
|
+
statelessForgetting: number;
|
|
350
|
+
/** Stateful forgetting minus stateless forgetting. Negative favors stateful memory. */
|
|
351
|
+
excessForgetting: number;
|
|
352
|
+
}
|
|
353
|
+
interface AgentMemoryLearningComparison {
|
|
354
|
+
comparisonRef: AgentMemoryExperimentComparisonRef;
|
|
355
|
+
evidence: {
|
|
356
|
+
splitRef: AgentMemoryEvidenceRef;
|
|
357
|
+
statefulManifestRef: AgentMemoryEvidenceRef;
|
|
358
|
+
statelessManifestRef: AgentMemoryEvidenceRef;
|
|
359
|
+
statefulRunDir: string;
|
|
360
|
+
statelessRunDir: string;
|
|
361
|
+
candidateRefs: readonly AgentMemoryExperimentCandidateRef[];
|
|
362
|
+
executionRef: string;
|
|
363
|
+
};
|
|
364
|
+
cells: readonly AgentMemoryLearningCellComparison[];
|
|
365
|
+
preTreatment: {
|
|
366
|
+
definition: 'first-step-probes';
|
|
367
|
+
/** Raw matched cells with at least one first-step probe. */
|
|
368
|
+
cells: number;
|
|
369
|
+
/** Independent sequences after averaging candidates and repetitions. */
|
|
370
|
+
n: number;
|
|
371
|
+
/** Fraction of independent sequences whose first-step scores matched exactly in every cell. */
|
|
372
|
+
exactMatchRate: number | null;
|
|
373
|
+
/** Stateful minus stateless first-step reward. Null when no first-step probes exist. */
|
|
374
|
+
difference: PairedBootstrapResult | null;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* Paired stateful minus stateless reward on probes after the first step.
|
|
378
|
+
* Repetitions and candidates are averaged within each sequence before bootstrapping.
|
|
379
|
+
*/
|
|
380
|
+
gain: PairedBootstrapResult;
|
|
381
|
+
gainByCandidate: readonly AgentMemoryLearningCandidateSummary[];
|
|
382
|
+
/** Later-step probes explicitly labeled with transferKey. No task meaning is inferred. */
|
|
383
|
+
transfer: {
|
|
384
|
+
definition: 'explicit-transfer-probes';
|
|
385
|
+
cells: readonly AgentMemoryTransferCellComparison[];
|
|
386
|
+
byStep: readonly AgentMemoryTransferStepSummary[];
|
|
387
|
+
};
|
|
388
|
+
forgetting: {
|
|
389
|
+
/** Signed prior peak minus final reward. Negative values mean improvement. */
|
|
390
|
+
definition: 'prior-peak-minus-final';
|
|
391
|
+
probes: readonly AgentMemoryForgettingComparison[];
|
|
392
|
+
n: number;
|
|
393
|
+
meanStatefulForgetting: number | null;
|
|
394
|
+
meanStatelessForgetting: number | null;
|
|
395
|
+
meanExcessForgetting: number | null;
|
|
396
|
+
/** Stateful minus stateless forgetting, one pair per independent retention target. */
|
|
397
|
+
excess: PairedBootstrapResult | null;
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
interface CompareAgentMemoryLearningOptions {
|
|
401
|
+
stateful: RunAgentMemoryExperimentResult;
|
|
402
|
+
stateless: RunAgentMemoryExperimentResult;
|
|
403
|
+
}
|
|
265
404
|
interface RunAgentMemoryExperimentOptions {
|
|
266
405
|
experimentId: string;
|
|
267
406
|
/** Stable external branch namespace; distributed workers must use the same value. */
|
|
268
407
|
experimentRunId?: string;
|
|
408
|
+
/** Stateful by default. Stateless clears every declared sequence scope between steps. */
|
|
409
|
+
memoryMode?: AgentMemoryMode;
|
|
269
410
|
sequences: readonly AgentMemorySequence[];
|
|
270
411
|
candidates: readonly AgentMemoryExperimentCandidate[];
|
|
271
412
|
/** Retired candidates retained only so interrupted branches can be cleaned on resume. */
|
|
@@ -308,6 +449,8 @@ interface RunAgentMemoryExperimentOptions {
|
|
|
308
449
|
controllerMode?: AgentMemoryControllerMode;
|
|
309
450
|
/** Required for distributed controllers that share custom storage. */
|
|
310
451
|
acquireRunLease?: AgentMemoryAcquireRunLease;
|
|
452
|
+
/** Cancels active cells; completed cells remain resumable. Cleanup still drains safely. */
|
|
453
|
+
signal?: AbortSignal;
|
|
311
454
|
}
|
|
312
455
|
type AgentMemoryExperimentRunLease = AgentMemoryRunLease;
|
|
313
456
|
interface AgentMemoryAttemptEvent {
|
|
@@ -316,6 +459,7 @@ interface AgentMemoryAttemptEvent {
|
|
|
316
459
|
candidateId: string;
|
|
317
460
|
candidateRef: string;
|
|
318
461
|
sequenceId: string;
|
|
462
|
+
sequenceRef: AgentMemoryEvidenceRef;
|
|
319
463
|
rep: number;
|
|
320
464
|
seed: number;
|
|
321
465
|
cleanupBranches: boolean;
|
|
@@ -325,10 +469,15 @@ interface AgentMemoryAttemptEvent {
|
|
|
325
469
|
recovery: boolean;
|
|
326
470
|
}
|
|
327
471
|
interface RunAgentMemoryExperimentResult {
|
|
472
|
+
memoryMode: AgentMemoryMode;
|
|
473
|
+
comparisonRef: AgentMemoryExperimentComparisonRef;
|
|
474
|
+
candidateRefs: readonly AgentMemoryExperimentCandidateRef[];
|
|
475
|
+
/** Immutable executor identity, or 'fixtures' when only declared writes are used. */
|
|
476
|
+
executionRef: string;
|
|
328
477
|
campaign: CampaignResult<AgentMemorySequenceArtifact, AgentMemorySequenceScenario>;
|
|
329
478
|
rows: readonly AgentMemoryExperimentRankingRow[];
|
|
330
479
|
totalCostUsd: number;
|
|
331
|
-
/**
|
|
480
|
+
/** Spend attributed to retired recovery candidates, excluded from ranking rows. */
|
|
332
481
|
unrankedRecoveryCostUsd: number;
|
|
333
482
|
leaderCandidateId?: string;
|
|
334
483
|
rankingJsonPath: string;
|
|
@@ -336,12 +485,38 @@ interface RunAgentMemoryExperimentResult {
|
|
|
336
485
|
attemptLogPath: string;
|
|
337
486
|
recoveryLogPath: string;
|
|
338
487
|
}
|
|
488
|
+
type RunAgentMemoryLearningExperimentOptions = Omit<RunAgentMemoryExperimentOptions, 'memoryMode'> & {
|
|
489
|
+
/** Counterbalance this across independent runs when provider behavior may drift over time. */
|
|
490
|
+
armOrder?: AgentMemoryLearningArmOrder;
|
|
491
|
+
};
|
|
492
|
+
interface RunAgentMemoryLearningExperimentResult {
|
|
493
|
+
armOrder: AgentMemoryLearningArmOrder;
|
|
494
|
+
stateful: RunAgentMemoryExperimentResult;
|
|
495
|
+
stateless: RunAgentMemoryExperimentResult;
|
|
496
|
+
comparison: AgentMemoryLearningComparison;
|
|
497
|
+
evidenceRef: AgentMemoryEvidenceRef;
|
|
498
|
+
comparisonPath: string;
|
|
499
|
+
cost: {
|
|
500
|
+
/** Receipts attributed only to these two arms, including interrupted attempts. */
|
|
501
|
+
experimentUsd: number;
|
|
502
|
+
/** All receipts in the shared ledger, including an owning workflow's other work. */
|
|
503
|
+
ledgerUsd: number;
|
|
504
|
+
ceilingUsd: number;
|
|
505
|
+
accountingComplete: boolean;
|
|
506
|
+
};
|
|
507
|
+
}
|
|
339
508
|
//#endregion
|
|
340
509
|
//#region src/memory/experiment/cases.d.ts
|
|
341
510
|
declare function buildAgentMemorySequencesFromBenchmarkCases(cases: readonly KnowledgeMemoryBenchmarkCase[], options?: BuildAgentMemorySequencesFromBenchmarkCasesOptions): AgentMemorySequence[];
|
|
342
511
|
declare function buildAgentMemorySequenceScenarios(sequences: readonly AgentMemorySequence[], candidates: readonly Pick<AgentMemoryExperimentCandidate, 'id'>[]): AgentMemorySequenceScenario[];
|
|
343
512
|
declare function agentMemorySequenceJudge<TScenario extends Scenario = AgentMemorySequenceScenario>(): JudgeConfig<AgentMemorySequenceArtifact, TScenario>;
|
|
344
513
|
//#endregion
|
|
514
|
+
//#region src/memory/experiment/learning.d.ts
|
|
515
|
+
/** Compare exact matched stateful and stateless memory runs. */
|
|
516
|
+
declare function compareAgentMemoryLearning(options: CompareAgentMemoryLearningOptions): AgentMemoryLearningComparison;
|
|
517
|
+
/** Run a matched stateful-versus-stateless memory experiment under one cost limit. */
|
|
518
|
+
declare function runAgentMemoryLearningExperiment(options: RunAgentMemoryLearningExperimentOptions): Promise<RunAgentMemoryLearningExperimentResult>;
|
|
519
|
+
//#endregion
|
|
345
520
|
//#region src/memory/experiment/run.d.ts
|
|
346
521
|
/** Runs ordered, branch-isolated memory histories across candidate systems. */
|
|
347
522
|
declare function runAgentMemoryExperiment(options: RunAgentMemoryExperimentOptions): Promise<RunAgentMemoryExperimentResult>;
|
|
@@ -663,10 +838,14 @@ declare function runBoundedMemoryLifecycle<T>(input: {
|
|
|
663
838
|
resource?: object;
|
|
664
839
|
/** Cooperatively cancel provider work before reporting a timeout. */
|
|
665
840
|
abortController?: AbortController;
|
|
841
|
+
/** Stop waiting when the owning operation is cancelled. */
|
|
842
|
+
signal?: AbortSignal;
|
|
843
|
+
/** Let active work settle after cancellation before marking its resource unsafe. */
|
|
844
|
+
cancellationTimeoutMs?: number;
|
|
666
845
|
run(): Promise<T> | T;
|
|
667
846
|
}): Promise<T>;
|
|
668
847
|
declare function memoryRecoveryDelayMs(adapter: AgentMemoryAdapter): number;
|
|
669
|
-
declare function sleepForMemoryRecovery(delayMs: number, assertOwned: () => Promise<void>, timeoutMs?: number, operation?: string): Promise<void>;
|
|
848
|
+
declare function sleepForMemoryRecovery(delayMs: number, assertOwned: () => Promise<void>, timeoutMs?: number, operation?: string, signal?: AbortSignal): Promise<void>;
|
|
670
849
|
declare function createMemoryExecutionPool(limit: number): {
|
|
671
850
|
run<T>(operation: () => Promise<T>): Promise<T>;
|
|
672
851
|
};
|
|
@@ -853,5 +1032,5 @@ declare function memoryWriteResultToSourceRecord(result: AgentMemoryWriteResult,
|
|
|
853
1032
|
scope?: AgentMemoryScope;
|
|
854
1033
|
}): SourceRecord;
|
|
855
1034
|
//#endregion
|
|
856
|
-
export {
|
|
857
|
-
//# sourceMappingURL=index-
|
|
1035
|
+
export { runAgentMemoryLearningExperiment as $, jsonObjectCandidateCodec as $t, AgentMemoryFinalPair as A, BuildAgentMemorySequencesFromBenchmarkCasesOptions as At, applySessionStickyRetrievalHoldout as B, AgentMemorySharingPolicy as Bt, runBoundedMemoryLifecycle as C, AgentMemorySequenceArtifact as Ct, AgentMemoryActivationDriver as D, AgentMemorySequenceStep as Dt, AgentMemoryActivation as E, AgentMemorySequenceScenario as Et, RunAgentMemoryImprovementResult as F, RunAgentMemoryLearningExperimentResult as Ft, toOffPolicyTrajectory as G, forkAgentMemoryBranchSnapshot as Gt, emitRetrievalHoldoutBypass as H, CreateAgentMemoryBranchOptions as Ht, RetrievalHoldoutOffPolicyOptions as I, AgentMemoryBranch as It, GraphitiToolNames as J, RunSerializedKnowledgeOptimizationOptions as Jt, GraphitiMcpClientLike as K, defaultGetMemoryContext as Kt, RetrievalHoldoutOffPolicyResult as L, AgentMemoryBranchLifetime as Lt, AgentMemoryPromotionDecision as M, RunAgentMemoryExperimentOptions as Mt, MemoryConfigScenario as N, RunAgentMemoryExperimentResult as Nt, AgentMemoryDimensionComparison as O, AgentMemoryTransferCellComparison as Ot, RunAgentMemoryImprovementOptions as P, RunAgentMemoryLearningExperimentOptions as Pt, compareAgentMemoryLearning as Q, jsonCandidateCodec as Qt, RetrievalHoldoutSessionSummary as R, AgentMemoryBranchSnapshot as Rt, resolveMemoryCleanupTimeoutMs as S, AgentMemorySequence as St, runAgentMemoryImprovement as T, AgentMemorySequenceProbeResult as Tt, resetRetrievalHoldoutRegistry as U, ForkAgentMemoryBranchSnapshotOptions as Ut, deterministicRng as V, AgentMemoryVisibility as Vt, retrievalHoldoutConfigHash as W, createAgentMemoryBranch as Wt, graphitiMemoryAdapterIdentity as X, SerializedCandidate as Xt, createGraphitiMemoryAdapter as Y, RunSerializedKnowledgeOptimizationResult as Yt, runAgentMemoryExperiment as Z, SerializedCandidateCodec as Zt, AgentMemoryLifecycleTimeoutError as _, AgentMemoryLearningArmOrder as _t, AgentMemoryScopeSchema as a, AgentMemoryExecutionContext as at, createMemoryExecutionPool as b, AgentMemoryLearningComparison as bt, createNeo4jAgentMemoryAdapter as c, AgentMemoryExecutionPaidCallInput as ct, Mem0HostedMemoryAdapterOptions as d, AgentMemoryExperimentCandidate as dt, runSerializedKnowledgeOptimization as en, agentMemorySequenceJudge as et, Mem0MemoryAdapterOptions as f, AgentMemoryExperimentCandidateRef as ft, mem0MemoryAdapterIdentity as g, AgentMemoryForgettingComparison as gt, createMem0MemoryAdapter as h, AgentMemoryExperimentRunLease as ht, AgentMemoryKindSchema as i, AgentMemoryEvidenceRef as it, AgentMemoryImprovementRunLease as j, CompareAgentMemoryLearningOptions as jt, AgentMemoryFinalEvaluation as k, AgentMemoryTransferStepSummary as kt, Mem0ClientMode as l, AgentMemoryExecutionPaidCallResult as lt, Mem0OssMemoryAdapterOptions as m, AgentMemoryExperimentRankingRow as mt, memoryWriteResultToSourceRecord as n, buildAgentMemorySequencesFromBenchmarkCases as nt, AgentMemoryWriteInputSchema as o, AgentMemoryExecutionCostMeter as ot, Mem0OssClient as p, AgentMemoryExperimentComparisonRef as pt, GraphitiMemoryAdapterOptions as q, renderMemoryContext as qt, AgentMemoryHitSchema as r, AgentMemoryAttemptEvent as rt, Neo4jAgentMemoryAdapterOptions as s, AgentMemoryExecutionCostReceipt as st, memoryHitToSourceRecord as t, scenarioContentFingerprint as tn, buildAgentMemorySequenceScenarios as tt, Mem0HostedClient as u, AgentMemoryExecutionStep as ut, AgentMemoryLifecycleUnsafeError as v, AgentMemoryLearningCandidateSummary as vt, sleepForMemoryRecovery as w, AgentMemorySequenceProbe as wt, memoryRecoveryDelayMs as x, AgentMemoryMode as xt, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS as y, AgentMemoryLearningCellComparison as yt, applyRetrievalHoldout as z, AgentMemoryJournalEntry as zt };
|
|
1036
|
+
//# sourceMappingURL=index-BEVmwlfJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BEVmwlfJ.d.ts","names":[],"sources":["../src/optimization.ts","../src/memory/adapter.ts","../src/memory/branch.ts","../src/memory/experiment/types.ts","../src/memory/experiment/cases.ts","../src/memory/experiment/learning.ts","../src/memory/experiment/run.ts","../src/memory/graphiti.ts","../src/memory/holdout.ts","../src/memory/improvement/types.ts","../src/memory/improvement/run.ts","../src/memory/lifecycle.ts","../src/memory/mem0.ts","../src/memory/neo4j.ts","../src/memory/schemas.ts","../src/memory/source-record.ts"],"mappings":"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CA;EACA;EACA;EACA;EACA,qBAAqB;EACrB,sBAAsB;EACtB;EACA;EACA;;UAGe;EACf;EACA;EACA;;EAEA,MAAM;;UAGS;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,qBAAqB;EACrB,sBAAsB;EACtB;EACA;EACA;;EAEA;EACA;EACA;EACA;;EAEA;;EAEA;;UAGe;EACf,eAAe;EACf;IACE,UAAU;IACV,qBAAqB;IACrB,sBAAsB;IACtB;IACA;IACA,wBAAwB;IACxB;;EAEF,gBAAgB;EAChB;IACE;;IAEA;;IAEA;;IAEA;;IAEA,YAAY;;;;;;EAMd,MAAM;EACN,0BAA0B;;EAE1B;IACE;IACA,gBAAgB;IAChB,iBAAiB;;EAEnB;;IAEE;IACA,iBAAiB;IACjB;IACA;IACA;IACA;;IAEA,QAAQ;;;UAIK;EACf,UAAU;EACV,WAAW;;UAGI;EACf;;EAEA;;EAEA,aAAa;EACb,oBAAoB;EACpB,qBAAqB;;EAErB,8BAA8B;EAC9B;EACA,eAAe;IACb,QAAQ;IACR;IACA,MAAM;IACN,SAAS;QACL;;EAEN;EACA,oBAAoB;IAClB;IACA;IACA;IACA,UAAU;QACN;EACN;EACA,UAAU;EACV;EACA;EACA;EACA;EACA;;EAEA,aAAa;EACb;EACA;EACA;;EAEA;;EAEA;;EAEA;EACA,YAAY;;EAEZ,iBAAiB;;EAEjB,kBAAkB;;EAElB,SAAS;;KAGC,gCAAgC;UAE3B;EACf;EACA;EACA;EACA;EACA;EACA,aAAa;EACb;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf,YAAY;EACZ,eAAe;EACf,wBAAwB;;EAExB;EACA,UAAU,eAAe,6BAA6B;EACtD,eAAe;EACf;;EAEA;EACA;EACA;EACA;EACA;EACA;;KAGU,0CAA0C,KACpD;;EAIA,WAAW;;UAGI;EACf,UAAU;EACV,UAAU;EACV,WAAW;EACX,YAAY;EACZ,aAAa;EACb;EACA;;IAEE;;IAEA;IACA;IACA;;;;;iBCxbY,4CACd,gBAAgB,gCAChB,UAAS,qDACR;iBAwEa,kCACd,oBAAoB,uBACpB,qBA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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as TrackedClaim, C as ResearchClaimEvidence, D as SourceAnchor, E as ResearchSourceVersion, O as SourceRecord, S as KnowledgeWriteParseResult, T as ResearchClaimRecord, _ as KnowledgeRelation, a as KnowledgeBaseCandidate, b as KnowledgeUnit, c as KnowledgeEventType, d as KnowledgeGraphNode, f as KnowledgeId, g as KnowledgePolicy, h as KnowledgePage, i as KNOWLEDGE_EVENT_TYPES, k as SourceRegistry, l as KnowledgeGraph, m as KnowledgeLintFinding, n as DeepQuestion, o as KnowledgeClaim, p as KnowledgeIndex, r as DeepQuestionKind, s as KnowledgeEvent, t as ClaimRef, u as KnowledgeGraphEdge, v as KnowledgeRelease, w as ResearchClaimLedger, x as KnowledgeWriteBlock, y as KnowledgeSearchResult } from "./types-BOfmvDe-.js";
|
|
2
2
|
import { $ as RetrievalConfig, A as KnowledgeBenchmarkResponder, At as AgentMemoryScope, B as KnowledgeMemoryEvent, Bt as RetrievalHoldoutSessionState, C as KnowledgeBenchmarkArtifact, Ct as createInMemoryBenchmarkAdapter, D as KnowledgeBenchmarkEvaluation, Dt as AgentMemoryContext, E as KnowledgeBenchmarkDistribution, Et as AgentMemoryBranchIsolation, F as KnowledgeBenchmarkSplit, Ft as RetrievalHoldoutCallContext, G as MemoryAdapterBenchmarkCandidate, H as KnowledgeRetrievalBenchmarkCase, I as KnowledgeBenchmarkTaskKind, It as RetrievalHoldoutConfig, J as RunKnowledgeBenchmarkSuiteResult, K as MemoryAdapterBenchmarkRankingRow, L as KnowledgeClaimMatcher, Lt as RetrievalHoldoutEligibleItem, M as KnowledgeBenchmarkSliceSummary, Mt as AgentMemoryWriteInput, N as KnowledgeBenchmarkSource, Nt as AgentMemoryWriteResult, O as KnowledgeBenchmarkFamily, Ot as AgentMemoryHit, P as KnowledgeBenchmarkSpec, Pt as RetrievalHoldoutBypassReason, Q as PartitionRetrievalScenariosOptions, R as KnowledgeMemoryBenchmarkCase, Rt as RetrievalHoldoutEvent, S as KnowledgeAnswerBenchmarkTaskKind, St as acquireAgentMemoryRunLease, T as KnowledgeBenchmarkCaseBase, Tt as AgentMemoryAdapter, U as KnowledgeRetrievalBenchmarkQrel, V as KnowledgeMemoryFactMatcher, W as KnowledgeRetrievalBenchmarkQuery, X as RunMemoryAdapterBenchmarkResult, Y as RunMemoryAdapterBenchmarkOptions, Z as BuildRetrievalEvalDispatchOptions, _ as buildIndustryRagBenchmarkSmokeCases, _t as scoreRetrievalArtifact, a as runKnowledgeBenchmarkSuite, at as RetrievalGoldTarget, b as BuildRetrievalBenchmarkCasesFromQrelsOptions, bt as AgentMemoryRunLease, c as buildRetrievalBenchmarkCasesFromQrels, ct as RetrievalRecallJudgeOptions, d as summarizeKnowledgeBenchmarkCampaign, dt as RetrievedSourceSpan, et as RetrievalEvalArtifact, f as runMemoryAdapterBenchmark, ft as buildRetrievalEvalDispatch, g as buildIndustryMemoryBenchmarkSmokeCases, gt as retrievalRecallJudge, h as buildFirstPartyMemoryLifecycleBenchmarkCases, ht as retrievalConfigSurface, i as renderKnowledgeBenchmarkReportMarkdown, it as RetrievalEvalScenario, j as KnowledgeBenchmarkScenario, jt as AgentMemorySearchOptions, k as KnowledgeBenchmarkReport, kt as AgentMemoryKind, l as parseKnowledgeBenchmarkJsonl, lt as RetrievalScenarioPartitions, m as INDUSTRY_RAG_BENCHMARKS, mt as retrievalConfigFromSurface, n as buildKnowledgeBenchmarkScenarios, nt as RetrievalEvalRetrieverInput, o as scoreKnowledgeBenchmarkArtifact, ot as RetrievalMetricSummary, p as INDUSTRY_MEMORY_BENCHMARKS, pt as partitionRetrievalScenarios, q as RunKnowledgeBenchmarkSuiteOptions, r as knowledgeBenchmarkJudge, rt as RetrievalEvalRetrieverResult, s as scoreMemoryBenchmarkArtifact, st as RetrievalMetricWeights, t as isKnowledgeMemoryBenchmarkCase, tt as RetrievalEvalRetriever, u as parseKnowledgeBenchmarkQrels, ut as RetrievedKnowledgeHit, v as respondToIndustryMemoryBenchmarkSmokeCase, vt as AgentMemoryAcquireRunLease, w as KnowledgeBenchmarkCase, wt as createNoopMemoryBenchmarkAdapter, x as KnowledgeAnswerBenchmarkCase, xt as OwnedAgentMemoryRunLease, y as respondToIndustryRagBenchmarkSmokeCase, yt as AgentMemoryControllerMode, z as KnowledgeMemoryBenchmarkTaskKind, zt as RetrievalHoldoutResult } from "./index-D0wc4GYg.js";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as runAgentMemoryLearningExperiment, $t as jsonObjectCandidateCodec, A as AgentMemoryFinalPair, At as BuildAgentMemorySequencesFromBenchmarkCasesOptions, B as applySessionStickyRetrievalHoldout, Bt as AgentMemorySharingPolicy, C as runBoundedMemoryLifecycle, Ct as AgentMemorySequenceArtifact, D as AgentMemoryActivationDriver, Dt as AgentMemorySequenceStep, E as AgentMemoryActivation, Et as AgentMemorySequenceScenario, F as RunAgentMemoryImprovementResult, Ft as RunAgentMemoryLearningExperimentResult, G as toOffPolicyTrajectory, Gt as forkAgentMemoryBranchSnapshot, H as emitRetrievalHoldoutBypass, Ht as CreateAgentMemoryBranchOptions, I as RetrievalHoldoutOffPolicyOptions, It as AgentMemoryBranch, J as GraphitiToolNames, Jt as RunSerializedKnowledgeOptimizationOptions, K as GraphitiMcpClientLike, Kt as defaultGetMemoryContext, L as RetrievalHoldoutOffPolicyResult, Lt as AgentMemoryBranchLifetime, M as AgentMemoryPromotionDecision, Mt as RunAgentMemoryExperimentOptions, N as MemoryConfigScenario, Nt as RunAgentMemoryExperimentResult, O as AgentMemoryDimensionComparison, Ot as AgentMemoryTransferCellComparison, P as RunAgentMemoryImprovementOptions, Pt as RunAgentMemoryLearningExperimentOptions, Q as compareAgentMemoryLearning, Qt as jsonCandidateCodec, R as RetrievalHoldoutSessionSummary, Rt as AgentMemoryBranchSnapshot, S as resolveMemoryCleanupTimeoutMs, St as AgentMemorySequence, T as runAgentMemoryImprovement, Tt as AgentMemorySequenceProbeResult, U as resetRetrievalHoldoutRegistry, Ut as ForkAgentMemoryBranchSnapshotOptions, V as deterministicRng, Vt as AgentMemoryVisibility, W as retrievalHoldoutConfigHash, Wt as createAgentMemoryBranch, X as graphitiMemoryAdapterIdentity, Xt as SerializedCandidate, Y as createGraphitiMemoryAdapter, Yt as RunSerializedKnowledgeOptimizationResult, Z as runAgentMemoryExperiment, Zt as SerializedCandidateCodec, _ as AgentMemoryLifecycleTimeoutError, _t as AgentMemoryLearningArmOrder, a as AgentMemoryScopeSchema, at as AgentMemoryExecutionContext, b as createMemoryExecutionPool, bt as AgentMemoryLearningComparison, c as createNeo4jAgentMemoryAdapter, ct as AgentMemoryExecutionPaidCallInput, d as Mem0HostedMemoryAdapterOptions, dt as AgentMemoryExperimentCandidate, en as runSerializedKnowledgeOptimization, et as agentMemorySequenceJudge, f as Mem0MemoryAdapterOptions, ft as AgentMemoryExperimentCandidateRef, g as mem0MemoryAdapterIdentity, gt as AgentMemoryForgettingComparison, h as createMem0MemoryAdapter, ht as AgentMemoryExperimentRunLease, i as AgentMemoryKindSchema, it as AgentMemoryEvidenceRef, j as AgentMemoryImprovementRunLease, jt as CompareAgentMemoryLearningOptions, k as AgentMemoryFinalEvaluation, kt as AgentMemoryTransferStepSummary, l as Mem0ClientMode, lt as AgentMemoryExecutionPaidCallResult, m as Mem0OssMemoryAdapterOptions, mt as AgentMemoryExperimentRankingRow, n as memoryWriteResultToSourceRecord, nt as buildAgentMemorySequencesFromBenchmarkCases, o as AgentMemoryWriteInputSchema, ot as AgentMemoryExecutionCostMeter, p as Mem0OssClient, pt as AgentMemoryExperimentComparisonRef, q as GraphitiMemoryAdapterOptions, qt as renderMemoryContext, r as AgentMemoryHitSchema, rt as AgentMemoryAttemptEvent, s as Neo4jAgentMemoryAdapterOptions, st as AgentMemoryExecutionCostReceipt, t as memoryHitToSourceRecord, tn as scenarioContentFingerprint, tt as buildAgentMemorySequenceScenarios, u as Mem0HostedClient, ut as AgentMemoryExecutionStep, v as AgentMemoryLifecycleUnsafeError, vt as AgentMemoryLearningCandidateSummary, w as sleepForMemoryRecovery, wt as AgentMemorySequenceProbe, x as memoryRecoveryDelayMs, xt as AgentMemoryMode, y as DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, yt as AgentMemoryLearningCellComparison, z as applyRetrievalHoldout, zt as AgentMemoryJournalEntry } from "./index-BEVmwlfJ.js";
|
|
4
4
|
import { CornellLiiSelector, CornellLiiSourceOptions, FetchOpts, FragmentProvenance, IRS_DIMENSION_HINTS, IrsPublicationsSourceOptions, KnowledgeFragment, KnowledgeSource, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, POLITE_USER_AGENT, PoliteFetchOptions, PoliteFetchResult, StateSosEntity, StateSosSourceConfig, __resetHttpThrottle, createCornellLiiSource, createIrsPublicationsSource, createStateSosSource, extractLinks, firstMatch, htmlToText, innerHtmlById, looksLikeBlockPage, politeFetch } from "./sources/index.js";
|
|
5
5
|
import { AgentCandidateJsonValue, AgentCandidateKnowledgeRef, AgentImprovementActivation, AgentImprovementActivationResult } from "@tangle-network/agent-interface";
|
|
6
6
|
import { AnalystFinding, AnalystSeverity, ControlEvalResult, ControlRuntimeConfig, DataAcquisitionPlan, DatasetScenario, GateDecision, KnowledgeAcquisitionMode, KnowledgeBundle, KnowledgeFreshness, KnowledgeImportance, KnowledgeReadinessReport, KnowledgeRequirement, KnowledgeRequirementCategory, KnowledgeSensitivity, ReleaseConfidenceScorecard, ReleaseTraceEvidence, RunRecord, UserQuestion } from "@tangle-network/agent-eval";
|
|
@@ -3017,5 +3017,5 @@ declare function normalizeLinkTarget(target: string): string;
|
|
|
3017
3017
|
declare function isSafeKnowledgePath(path: string, allowedPrefixes?: string[]): boolean;
|
|
3018
3018
|
declare function parseKnowledgeWriteBlocks(text: string, allowedPrefixes?: string[]): KnowledgeWriteParseResult;
|
|
3019
3019
|
//#endregion
|
|
3020
|
-
export { AdaptiveDecision, AdaptiveDriverOptions, AdaptiveResearchDriver, AdaptiveStats, AddSourceOptions, AddSourceTextInput, AgentMemoryAcquireRunLease, type AgentMemoryActivation, type AgentMemoryActivationDriver, AgentMemoryAdapter, type AgentMemoryAttemptEvent, AgentMemoryBranch, AgentMemoryBranchIsolation, AgentMemoryBranchLifetime, AgentMemoryBranchSnapshot, AgentMemoryContext, AgentMemoryControllerMode, type AgentMemoryDimensionComparison, type AgentMemoryExecutionContext, type AgentMemoryExecutionCostMeter, type AgentMemoryExecutionCostReceipt, type AgentMemoryExecutionPaidCallInput, type AgentMemoryExecutionPaidCallResult, type AgentMemoryExecutionStep, type AgentMemoryExperimentCandidate, type AgentMemoryExperimentRankingRow, type AgentMemoryExperimentRunLease, type AgentMemoryFinalEvaluation, type AgentMemoryFinalPair, AgentMemoryHit, AgentMemoryHitSchema, type AgentMemoryImprovementRunLease, AgentMemoryJournalEntry, AgentMemoryKind, AgentMemoryKindSchema, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, type AgentMemoryPromotionDecision, AgentMemoryRunLease, AgentMemoryScope, AgentMemoryScopeSchema, AgentMemorySearchOptions, type AgentMemorySequence, type AgentMemorySequenceArtifact, type AgentMemorySequenceProbe, type AgentMemorySequenceProbeResult, type AgentMemorySequenceScenario, type AgentMemorySequenceStep, AgentMemorySharingPolicy, AgentMemoryVisibility, AgentMemoryWriteInput, AgentMemoryWriteInputSchema, AgentMemoryWriteResult, ApplyWriteBlocksResult, type BuildAgentMemorySequencesFromBenchmarkCasesOptions, BuildEvalKnowledgeBundleOptions, type BuildRetrievalBenchmarkCasesFromQrelsOptions, BuildRetrievalEvalDispatchOptions, ChunkingOptions, ClaimGroundingDriverOptions, ClaimLedgerGoalConflictError, ClaimLedgerMigrationRequiredError, ClaimLedgerStore, ClaimRef, CompanyEvalCase, CornellLiiSelector, CornellLiiSourceOptions, CreateAgentMemoryBranchOptions, D1Adapter, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, DedupReason, DeepQuestion, DeepQuestionKind, DeepQuestionSchema, DefineReadinessSpecInput, DetectChangesOptions, DetectChangesResult, DiscoveryLoopResult, DiscoveryLoopRound, DiscoveryLoopStopReason, DiscoveryResult, DiscoveryTask, DriverResearchContext, EvalKnowledgeBundleBuildResult, EvaluateKnowledgeBaseReadinessOptions, ExpectedGroup, type ExternalRagEvalScore, FactResult, FetchOpts, FileSystemFreshnessStoreOptions, FileSystemKbStore, FileSystemKbStoreOptions, FileSystemSearchOptions, FileSystemSearchProvider, FileSystemSearchProviderOptions, ForkAgentMemoryBranchSnapshotOptions, FragmentProvenance, FreshnessKey, FreshnessMark, FreshnessRecord, FreshnessTtl, GraphitiMcpClientLike, GraphitiMemoryAdapterOptions, GraphitiToolNames, GroundClaimOptions, GroundingResult, INDUSTRY_MEMORY_BENCHMARKS, INDUSTRY_RAG_BENCHMARKS, IRS_DIMENSION_HINTS, IrsPublicationsSourceOptions, KB_CLAIM_LEDGER_DIR, KB_EVENTS_PATH, KB_INDEX_PATH, KB_STORE_DIR, KNOWLEDGE_EVENT_TYPES, KbStore, type KnowledgeAnswerBenchmarkCase, type KnowledgeAnswerBenchmarkTaskKind, KnowledgeBaseCandidate, KnowledgeBaseCandidateSchema, type KnowledgeBaseQualityOptions, type KnowledgeBaseQualityReport, KnowledgeBaseReadinessEvaluation, type KnowledgeBenchmarkArtifact, type KnowledgeBenchmarkCase, type KnowledgeBenchmarkCaseBase, type KnowledgeBenchmarkDistribution, type KnowledgeBenchmarkEvaluation, type KnowledgeBenchmarkFamily, type KnowledgeBenchmarkReport, type KnowledgeBenchmarkResponder, type KnowledgeBenchmarkScenario, type KnowledgeBenchmarkSliceSummary, type KnowledgeBenchmarkSource, type KnowledgeBenchmarkSpec, type KnowledgeBenchmarkSplit, type KnowledgeBenchmarkTaskKind, KnowledgeChange, KnowledgeChangeKind, KnowledgeChunk, KnowledgeClaim, type KnowledgeClaimMatcher, KnowledgeControlLoopAction, KnowledgeControlLoopActionResult, KnowledgeControlLoopAdapter, KnowledgeControlLoopAdapterOptions, KnowledgeControlLoopState, KnowledgeDiscoveryDispatcher, KnowledgeDiscoveryWorker, KnowledgeEvent, KnowledgeEventQuery, KnowledgeEventSchema, KnowledgeEventType, KnowledgeExplanation, KnowledgeFragment, KnowledgeFreshnessStore, KnowledgeGap, KnowledgeGraph, KnowledgeGraphEdge, KnowledgeGraphEdgeSchema, KnowledgeGraphNode, KnowledgeGraphNodeSchema, KnowledgeId, type KnowledgeImprovementActivationPersistence, type KnowledgeImprovementCandidateRecord, type KnowledgeImprovementCandidateRef, KnowledgeImprovementCandidateRefSchema, type KnowledgeImprovementEvaluationInput, type KnowledgeImprovementEvaluator, type KnowledgeImprovementEvent, type KnowledgeImprovementEvidence, KnowledgeImprovementEvidenceSchema, type KnowledgeImprovementMetric, type KnowledgeImprovementMetricProvenance, type KnowledgeImprovementMutationReceipt, type KnowledgeImprovementMutationResult, type KnowledgeImprovementOptions, type KnowledgeImprovementRagOptimizationOptions, type KnowledgeImprovementRagOptimizationRunInput, type KnowledgeImprovementResult, type KnowledgeImprovementRetrievalOptions, type KnowledgeImprovementRunState, KnowledgeImprovementRunStateSchema, type KnowledgeImprovementStatus, type KnowledgeImprovementTarget, type KnowledgeImprovementUpdate, type KnowledgeImprovementUpdateInput, KnowledgeIndex, KnowledgeIndexSchema, KnowledgeInspection, KnowledgeLayout, KnowledgeLintFinding, type KnowledgeMemoryBenchmarkCase, type KnowledgeMemoryBenchmarkTaskKind, type KnowledgeMemoryEvent, type KnowledgeMemoryFactMatcher, KnowledgePage, KnowledgePageSchema, KnowledgePolicy, type KnowledgePolicyDispatch, KnowledgeProposal, KnowledgeProposalParseError, KnowledgeReadinessSpec, KnowledgeRelation, KnowledgeRelease, KnowledgeReleaseInput, KnowledgeReleaseReport, KnowledgeResearchLoopContext, KnowledgeResearchLoopDecision, KnowledgeResearchLoopResult, KnowledgeResearchLoopStep, type KnowledgeRetrievalBenchmarkCase, type KnowledgeRetrievalBenchmarkQrel, type KnowledgeRetrievalBenchmarkQuery, KnowledgeSearchResult, KnowledgeSource, KnowledgeUnit, KnowledgeWriteBlock, KnowledgeWriteParseResult, type LoadKnowledgeImprovementActivationResultOptions, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, MaterialFact, MaterialFactLens, MaterialFactsResult, Mem0ClientMode, Mem0HostedClient, Mem0HostedMemoryAdapterOptions, Mem0MemoryAdapterOptions, Mem0OssClient, Mem0OssMemoryAdapterOptions, type MemoryAdapterBenchmarkCandidate, type MemoryAdapterBenchmarkRankingRow, type MemoryConfigScenario, MemoryKbStore, Neo4jAgentMemoryAdapterOptions, type OptimizeKnowledgeBasePolicyOptions, type OptimizeKnowledgeBasePolicyResult, OwnedAgentMemoryRunLease, POLITE_USER_AGENT, ParsedFrontmatter, PartitionRetrievalScenariosOptions, type PendingKnowledgeMutation, PersistentResearchDrivingDriverOptions, PoliteFetchOptions, PoliteFetchResult, type PromoteKnowledgeCandidateOptions, ProposeFromFindingsResult, READINESS_SPEC_DEFAULTS, type RagAnswerEvalArtifact, type RagAnswerEvalCase, type RagAnswerEvalScenario, type RagAnswerMetricSummary, type RagAnswerQualityHookOptions, RagAnswerQualityInput, type RagAnswerQualityJudgeOptions, RagAnswerQualityResult, type RagCalibrationOptions, type RagCalibrationResult, RagDiagnosisInput, type RagEvalCitation, type RagEvalClaim, type RagEvalContext, type RagEvalMetricKey, type RagEvalProvider, type RagEvalSlice, RagGapFinding, RagGapKind, RagGapSeverity, RagKnowledgeAcquisitionInput, RagKnowledgeImprovementPhase, RagKnowledgeImprovementPhaseResult, RagKnowledgeImprovementPhaseStatus, RagKnowledgeResearchOptions, RagKnowledgeUpdateInput, RagKnowledgeUpdateResult, RagOptimizationConfig, RagOptimizationSelection, RagPhaseInputBase, RagPromotionInput, RagPromotionResult, type RagRequiredContext, type RecoverPendingKnowledgeMutationOptions, RegularFileSnapshot, RejectedSource, ResearchClaimEvidence, ResearchClaimEvidenceSchema, ResearchClaimLedger, ResearchClaimLedgerSchema, ResearchClaimRecord, ResearchClaimRecordSchema, ResearchContribution, ResearchDriver, ResearchDrivingDriver, ResearchDrivingDriverOptions, ResearchDrivingState, ResearchDrivingSteer, ResearchSourceProposal, ResearchSourceVersion, ResearchSourceVersionSchema, ResearchWorker, type ResolvedKnowledgeImprovementCandidate, type ResolvedKnowledgeImprovementComparison, type ResolvedKnowledgeImprovementComparisonSnapshot, type RestoreKnowledgeCandidateBaselineOptions, RetrievalConfig, RetrievalEvalArtifact, RetrievalEvalRetriever, RetrievalEvalRetrieverInput, RetrievalEvalRetrieverResult, RetrievalEvalScenario, RetrievalGoldTarget, RetrievalHoldoutBypassReason, RetrievalHoldoutCallContext, RetrievalHoldoutConfig, RetrievalHoldoutEligibleItem, RetrievalHoldoutEvent, RetrievalHoldoutOffPolicyOptions, RetrievalHoldoutOffPolicyResult, RetrievalHoldoutResult, RetrievalHoldoutSessionState, RetrievalHoldoutSessionSummary, RetrievalMetricSummary, RetrievalMetricWeights, RetrievalOptimizationSelection, RetrievalRecallJudgeOptions, RetrievalScenarioPartitions, RetrievedKnowledgeHit, RetrievedSourceSpan, RouterClient, RouterError, RouterUsage, type RunAgentMemoryExperimentOptions, type RunAgentMemoryExperimentResult, type RunAgentMemoryImprovementOptions, type RunAgentMemoryImprovementResult, RunDiscoveryLoopOptions, type RunKnowledgeBenchmarkSuiteOptions, type RunKnowledgeBenchmarkSuiteResult, RunKnowledgeResearchLoopOptions, type RunMemoryAdapterBenchmarkOptions, type RunMemoryAdapterBenchmarkResult, RunRagKnowledgeImprovementLoopOptions, RunRagKnowledgeImprovementLoopResult, RunRagOptimizationOptions, RunRagOptimizationResult, RunRetrievalImprovementLoopOptions, RunRetrievalImprovementLoopResult, RunSerializedKnowledgeOptimizationOptions, RunSerializedKnowledgeOptimizationResult, SCAFFOLD_PAGE_BASENAMES, SerializedCandidate, SerializedCandidateCodec, SourceAdapter, SourceAdapterInput, SourceAdapterOutput, SourceAnchor, SourceAnchorSchema, SourceFreshnessInspection, SourceRecord, SourceRecordSchema, SourceRegistry, SourceVerdict, SourceVerificationContext, StateSosEntity, StateSosSourceConfig, TangleRouterOptions, ThesisRunOptions, ThesisRunResult, ThesisTaskInput, TrackedClaim, TriageClass, type UseKnowledgeImprovementCandidateOptions, ValidateKnowledgeOptions, ValidateKnowledgeResult, VerifiedResearchLoopOptions, VerifiedResearchLoopResult, VerifiedResearchRound, VerifyingDriverOptions, WIKILINK_REGEX, WebResearchWorkerOptions, WebSearchHit, WorkerClaimDecorationOptions, WorkerResearchContext, __resetHttpThrottle, acquireAgentMemoryRunLease, addSourcePath, addSourceText, agentMemorySequenceJudge, applyKnowledgeWriteBlocks, applyKnowledgeWriteBlocksFile, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, assertClaimLedgerId, assertDeepQuestionIntegrity, assertResearchClaimEvidenceIntegrity, assertResearchClaimLedgerIntegrity, assertTrackedClaimIntegrity, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, buildEvalKnowledgeBundle, buildFirstPartyMemoryLifecycleBenchmarkCases, buildIndustryMemoryBenchmarkSmokeCases, buildIndustryRagBenchmarkSmokeCases, buildKnowledgeBenchmarkScenarios, buildKnowledgeGraph, buildKnowledgeIndex, buildRetrievalBenchmarkCasesFromQrels, buildRetrievalEvalDispatch, calibrateRagAnswerJudge, canonicalizeUrl, chunkMarkdown, citedClaimKey, citedClaimOf, claimEvidenceId, claimId, claimSourceHost, contentKey, createAdaptiveResearchDriver, createAgentMemoryBranch, createClaimDecorator, createClaimGroundingVerifier, createCollectionResearchDriver, createCornellLiiSource, createD1FreshnessStoreStub, createFileSystemFreshnessStore, createFileSystemSearchProvider, createGraphitiMemoryAdapter, createInMemoryBenchmarkAdapter, createIrsPublicationsSource, createKnowledgeControlLoopAdapter, createKnowledgeEvent, createLocalDiscoveryDispatcher, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, createNoopMemoryBenchmarkAdapter, createPersistentResearchDrivingDriver, createRagAnswerQualityHook, createResearchDrivingDriver, createStateSosSource, createTangleRouterClient, createVerifyingResearchDriver, createWebResearchWorker, deepQuestionId, defaultGetMemoryContext, defineReadinessSpec, detectChanges, deterministicRng, diagnoseRagAnswerFailure, emitRetrievalHoldoutBypass, emptyClaimLedger, evaluateKnowledgeBaseReadiness, explainKnowledgeTarget, extractLinks, extractWikilinks, firstMatch, forkAgentMemoryBranchSnapshot, formatFrontmatter, fromAgentCandidateKnowledgeRef, gradeCompanyAgainstText, gradeFactAgainstText, graphitiMemoryAdapterIdentity, groundClaimInText, hashKnowledgeBase, htmlToText, improveKnowledgeBase, initKnowledgeBase, innerHtmlById, inspectKnowledgeIndex, inspectPendingKnowledgeMutation, investmentThesisSet, isKernelAnchoredPath, isKnowledgeMemoryBenchmarkCase, isMissingFile, isSafeKnowledgePath, isScaffoldPath, jsonCandidateCodec, jsonObjectCandidateCodec, kbIndexToText, knowledgeBenchmarkJudge, knowledgeImprovementCandidateRef, knowledgeImprovementRunDir, knowledgeImprovementRunId, knowledgeReleaseReport, layoutFor, lensDistribution, linkClaimContradictions, lintKnowledgeIndex, listRegularFilesWithinRoot, loadKnowledgeImprovementActivationResult, loadKnowledgeImprovementEvents, loadKnowledgeImprovementState, loadKnowledgePages, loadSourceRegistry, looksLikeBlockPage, materialFactsSurfaced, materialFactsSurfacedInText, materializeRegisteredClaimEvidence, mediaTypeFor, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, mergeClaimLedgers, mergeTrackedClaims, normalizeClaimText, normalizeExternalRagScores, normalizeLinkTarget, optimizeKnowledgeBasePolicy, parseFrontmatter, parseKnowledgeBenchmarkJsonl, parseKnowledgeBenchmarkQrels, parseKnowledgeWriteBlocks, partitionRetrievalScenarios, politeFetch, promoteKnowledgeCandidate, proposeFromFinding, proposeFromFindings, ragAnswerQualityJudge, readRegularFileNoFollow, readRegularFileWithinRoot, reciprocalRankFusion, recoverPendingKnowledgeMutation, removeDurable, renameDurable, renderKnowledgeBenchmarkReportMarkdown, renderMemoryContext, researchSourceVersionKey, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, respondToIndustryMemoryBenchmarkSmokeCase, respondToIndustryRagBenchmarkSmokeCase, restoreKnowledgeCandidateBaseline, retrievalConfigFromSurface, retrievalConfigSurface, retrievalHoldoutConfigHash, retrievalRecallJudge, runAgentMemoryExperiment, runAgentMemoryImprovement, runBoundedMemoryLifecycle, runDiscoveryLoop, runInvestmentThesisTask, runKnowledgeBenchmarkSuite, runKnowledgeResearchLoop, runMemoryAdapterBenchmark, runRagKnowledgeImprovementLoop, runRagOptimization, runRetrievalImprovementLoop, runSerializedKnowledgeOptimization, runVerifiedResearchLoop, scenarioContentFingerprint, scoreKnowledgeBaseIndex, scoreKnowledgeBenchmarkArtifact, scoreMemoryBenchmarkArtifact, scoreRagAnswerArtifact, scoreRetrievalArtifact, searchKnowledge, sha256, sleepForMemoryRecovery, slugify, snapshotSourceTextInput, sourceMatchesGaps, sourceRegistryPath, stableId, stripFrontmatter, summarizeKnowledgeBenchmarkCampaign, syncDirectory, textSourceAdapter, textSourceId, thesisReadinessSpecs, toAgentCandidateKnowledgeRef, toDeepEvalTestCases, toOffPolicyTrajectory, toRagCheckerRecords, toRagasEvaluationRows, toTruLensRecords, tokenizeQuery, totalMaterialFacts, triageSource, validateKnowledgeIndex, withCitedClaim, withKnowledgeImprovementCandidate, withKnowledgeImprovementComparison, withSafeDescendant, withSafeDirectory, writeFileDurable, writeFileDurableWithinRoot, writeJson, writeJsonDurable, writeJsonDurableWithinRoot, writeKnowledgeIndex, writeSourceRegistry };
|
|
3020
|
+
export { AdaptiveDecision, AdaptiveDriverOptions, AdaptiveResearchDriver, AdaptiveStats, AddSourceOptions, AddSourceTextInput, AgentMemoryAcquireRunLease, type AgentMemoryActivation, type AgentMemoryActivationDriver, AgentMemoryAdapter, type AgentMemoryAttemptEvent, AgentMemoryBranch, AgentMemoryBranchIsolation, AgentMemoryBranchLifetime, AgentMemoryBranchSnapshot, AgentMemoryContext, AgentMemoryControllerMode, type AgentMemoryDimensionComparison, type AgentMemoryEvidenceRef, type AgentMemoryExecutionContext, type AgentMemoryExecutionCostMeter, type AgentMemoryExecutionCostReceipt, type AgentMemoryExecutionPaidCallInput, type AgentMemoryExecutionPaidCallResult, type AgentMemoryExecutionStep, type AgentMemoryExperimentCandidate, type AgentMemoryExperimentCandidateRef, type AgentMemoryExperimentComparisonRef, type AgentMemoryExperimentRankingRow, type AgentMemoryExperimentRunLease, type AgentMemoryFinalEvaluation, type AgentMemoryFinalPair, type AgentMemoryForgettingComparison, AgentMemoryHit, AgentMemoryHitSchema, type AgentMemoryImprovementRunLease, AgentMemoryJournalEntry, AgentMemoryKind, AgentMemoryKindSchema, type AgentMemoryLearningArmOrder, type AgentMemoryLearningCandidateSummary, type AgentMemoryLearningCellComparison, type AgentMemoryLearningComparison, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, type AgentMemoryMode, type AgentMemoryPromotionDecision, AgentMemoryRunLease, AgentMemoryScope, AgentMemoryScopeSchema, AgentMemorySearchOptions, type AgentMemorySequence, type AgentMemorySequenceArtifact, type AgentMemorySequenceProbe, type AgentMemorySequenceProbeResult, type AgentMemorySequenceScenario, type AgentMemorySequenceStep, AgentMemorySharingPolicy, type AgentMemoryTransferCellComparison, type AgentMemoryTransferStepSummary, AgentMemoryVisibility, AgentMemoryWriteInput, AgentMemoryWriteInputSchema, AgentMemoryWriteResult, ApplyWriteBlocksResult, type BuildAgentMemorySequencesFromBenchmarkCasesOptions, BuildEvalKnowledgeBundleOptions, type BuildRetrievalBenchmarkCasesFromQrelsOptions, BuildRetrievalEvalDispatchOptions, ChunkingOptions, ClaimGroundingDriverOptions, ClaimLedgerGoalConflictError, ClaimLedgerMigrationRequiredError, ClaimLedgerStore, ClaimRef, CompanyEvalCase, type CompareAgentMemoryLearningOptions, CornellLiiSelector, CornellLiiSourceOptions, CreateAgentMemoryBranchOptions, D1Adapter, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, DedupReason, DeepQuestion, DeepQuestionKind, DeepQuestionSchema, DefineReadinessSpecInput, DetectChangesOptions, DetectChangesResult, DiscoveryLoopResult, DiscoveryLoopRound, DiscoveryLoopStopReason, DiscoveryResult, DiscoveryTask, DriverResearchContext, EvalKnowledgeBundleBuildResult, EvaluateKnowledgeBaseReadinessOptions, ExpectedGroup, type ExternalRagEvalScore, FactResult, FetchOpts, FileSystemFreshnessStoreOptions, FileSystemKbStore, FileSystemKbStoreOptions, FileSystemSearchOptions, FileSystemSearchProvider, FileSystemSearchProviderOptions, ForkAgentMemoryBranchSnapshotOptions, FragmentProvenance, FreshnessKey, FreshnessMark, FreshnessRecord, FreshnessTtl, GraphitiMcpClientLike, GraphitiMemoryAdapterOptions, GraphitiToolNames, GroundClaimOptions, GroundingResult, INDUSTRY_MEMORY_BENCHMARKS, INDUSTRY_RAG_BENCHMARKS, IRS_DIMENSION_HINTS, IrsPublicationsSourceOptions, KB_CLAIM_LEDGER_DIR, KB_EVENTS_PATH, KB_INDEX_PATH, KB_STORE_DIR, KNOWLEDGE_EVENT_TYPES, KbStore, type KnowledgeAnswerBenchmarkCase, type KnowledgeAnswerBenchmarkTaskKind, KnowledgeBaseCandidate, KnowledgeBaseCandidateSchema, type KnowledgeBaseQualityOptions, type KnowledgeBaseQualityReport, KnowledgeBaseReadinessEvaluation, type KnowledgeBenchmarkArtifact, type KnowledgeBenchmarkCase, type KnowledgeBenchmarkCaseBase, type KnowledgeBenchmarkDistribution, type KnowledgeBenchmarkEvaluation, type KnowledgeBenchmarkFamily, type KnowledgeBenchmarkReport, type KnowledgeBenchmarkResponder, type KnowledgeBenchmarkScenario, type KnowledgeBenchmarkSliceSummary, type KnowledgeBenchmarkSource, type KnowledgeBenchmarkSpec, type KnowledgeBenchmarkSplit, type KnowledgeBenchmarkTaskKind, KnowledgeChange, KnowledgeChangeKind, KnowledgeChunk, KnowledgeClaim, type KnowledgeClaimMatcher, KnowledgeControlLoopAction, KnowledgeControlLoopActionResult, KnowledgeControlLoopAdapter, KnowledgeControlLoopAdapterOptions, KnowledgeControlLoopState, KnowledgeDiscoveryDispatcher, KnowledgeDiscoveryWorker, KnowledgeEvent, KnowledgeEventQuery, KnowledgeEventSchema, KnowledgeEventType, KnowledgeExplanation, KnowledgeFragment, KnowledgeFreshnessStore, KnowledgeGap, KnowledgeGraph, KnowledgeGraphEdge, KnowledgeGraphEdgeSchema, KnowledgeGraphNode, KnowledgeGraphNodeSchema, KnowledgeId, type KnowledgeImprovementActivationPersistence, type KnowledgeImprovementCandidateRecord, type KnowledgeImprovementCandidateRef, KnowledgeImprovementCandidateRefSchema, type KnowledgeImprovementEvaluationInput, type KnowledgeImprovementEvaluator, type KnowledgeImprovementEvent, type KnowledgeImprovementEvidence, KnowledgeImprovementEvidenceSchema, type KnowledgeImprovementMetric, type KnowledgeImprovementMetricProvenance, type KnowledgeImprovementMutationReceipt, type KnowledgeImprovementMutationResult, type KnowledgeImprovementOptions, type KnowledgeImprovementRagOptimizationOptions, type KnowledgeImprovementRagOptimizationRunInput, type KnowledgeImprovementResult, type KnowledgeImprovementRetrievalOptions, type KnowledgeImprovementRunState, KnowledgeImprovementRunStateSchema, type KnowledgeImprovementStatus, type KnowledgeImprovementTarget, type KnowledgeImprovementUpdate, type KnowledgeImprovementUpdateInput, KnowledgeIndex, KnowledgeIndexSchema, KnowledgeInspection, KnowledgeLayout, KnowledgeLintFinding, type KnowledgeMemoryBenchmarkCase, type KnowledgeMemoryBenchmarkTaskKind, type KnowledgeMemoryEvent, type KnowledgeMemoryFactMatcher, KnowledgePage, KnowledgePageSchema, KnowledgePolicy, type KnowledgePolicyDispatch, KnowledgeProposal, KnowledgeProposalParseError, KnowledgeReadinessSpec, KnowledgeRelation, KnowledgeRelease, KnowledgeReleaseInput, KnowledgeReleaseReport, KnowledgeResearchLoopContext, KnowledgeResearchLoopDecision, KnowledgeResearchLoopResult, KnowledgeResearchLoopStep, type KnowledgeRetrievalBenchmarkCase, type KnowledgeRetrievalBenchmarkQrel, type KnowledgeRetrievalBenchmarkQuery, KnowledgeSearchResult, KnowledgeSource, KnowledgeUnit, KnowledgeWriteBlock, KnowledgeWriteParseResult, type LoadKnowledgeImprovementActivationResultOptions, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, MaterialFact, MaterialFactLens, MaterialFactsResult, Mem0ClientMode, Mem0HostedClient, Mem0HostedMemoryAdapterOptions, Mem0MemoryAdapterOptions, Mem0OssClient, Mem0OssMemoryAdapterOptions, type MemoryAdapterBenchmarkCandidate, type MemoryAdapterBenchmarkRankingRow, type MemoryConfigScenario, MemoryKbStore, Neo4jAgentMemoryAdapterOptions, type OptimizeKnowledgeBasePolicyOptions, type OptimizeKnowledgeBasePolicyResult, OwnedAgentMemoryRunLease, POLITE_USER_AGENT, ParsedFrontmatter, PartitionRetrievalScenariosOptions, type PendingKnowledgeMutation, PersistentResearchDrivingDriverOptions, PoliteFetchOptions, PoliteFetchResult, type PromoteKnowledgeCandidateOptions, ProposeFromFindingsResult, READINESS_SPEC_DEFAULTS, type RagAnswerEvalArtifact, type RagAnswerEvalCase, type RagAnswerEvalScenario, type RagAnswerMetricSummary, type RagAnswerQualityHookOptions, RagAnswerQualityInput, type RagAnswerQualityJudgeOptions, RagAnswerQualityResult, type RagCalibrationOptions, type RagCalibrationResult, RagDiagnosisInput, type RagEvalCitation, type RagEvalClaim, type RagEvalContext, type RagEvalMetricKey, type RagEvalProvider, type RagEvalSlice, RagGapFinding, RagGapKind, RagGapSeverity, RagKnowledgeAcquisitionInput, RagKnowledgeImprovementPhase, RagKnowledgeImprovementPhaseResult, RagKnowledgeImprovementPhaseStatus, RagKnowledgeResearchOptions, RagKnowledgeUpdateInput, RagKnowledgeUpdateResult, RagOptimizationConfig, RagOptimizationSelection, RagPhaseInputBase, RagPromotionInput, RagPromotionResult, type RagRequiredContext, type RecoverPendingKnowledgeMutationOptions, RegularFileSnapshot, RejectedSource, ResearchClaimEvidence, ResearchClaimEvidenceSchema, ResearchClaimLedger, ResearchClaimLedgerSchema, ResearchClaimRecord, ResearchClaimRecordSchema, ResearchContribution, ResearchDriver, ResearchDrivingDriver, ResearchDrivingDriverOptions, ResearchDrivingState, ResearchDrivingSteer, ResearchSourceProposal, ResearchSourceVersion, ResearchSourceVersionSchema, ResearchWorker, type ResolvedKnowledgeImprovementCandidate, type ResolvedKnowledgeImprovementComparison, type ResolvedKnowledgeImprovementComparisonSnapshot, type RestoreKnowledgeCandidateBaselineOptions, RetrievalConfig, RetrievalEvalArtifact, RetrievalEvalRetriever, RetrievalEvalRetrieverInput, RetrievalEvalRetrieverResult, RetrievalEvalScenario, RetrievalGoldTarget, RetrievalHoldoutBypassReason, RetrievalHoldoutCallContext, RetrievalHoldoutConfig, RetrievalHoldoutEligibleItem, RetrievalHoldoutEvent, RetrievalHoldoutOffPolicyOptions, RetrievalHoldoutOffPolicyResult, RetrievalHoldoutResult, RetrievalHoldoutSessionState, RetrievalHoldoutSessionSummary, RetrievalMetricSummary, RetrievalMetricWeights, RetrievalOptimizationSelection, RetrievalRecallJudgeOptions, RetrievalScenarioPartitions, RetrievedKnowledgeHit, RetrievedSourceSpan, RouterClient, RouterError, RouterUsage, type RunAgentMemoryExperimentOptions, type RunAgentMemoryExperimentResult, type RunAgentMemoryImprovementOptions, type RunAgentMemoryImprovementResult, type RunAgentMemoryLearningExperimentOptions, type RunAgentMemoryLearningExperimentResult, RunDiscoveryLoopOptions, type RunKnowledgeBenchmarkSuiteOptions, type RunKnowledgeBenchmarkSuiteResult, RunKnowledgeResearchLoopOptions, type RunMemoryAdapterBenchmarkOptions, type RunMemoryAdapterBenchmarkResult, RunRagKnowledgeImprovementLoopOptions, RunRagKnowledgeImprovementLoopResult, RunRagOptimizationOptions, RunRagOptimizationResult, RunRetrievalImprovementLoopOptions, RunRetrievalImprovementLoopResult, RunSerializedKnowledgeOptimizationOptions, RunSerializedKnowledgeOptimizationResult, SCAFFOLD_PAGE_BASENAMES, SerializedCandidate, SerializedCandidateCodec, SourceAdapter, SourceAdapterInput, SourceAdapterOutput, SourceAnchor, SourceAnchorSchema, SourceFreshnessInspection, SourceRecord, SourceRecordSchema, SourceRegistry, SourceVerdict, SourceVerificationContext, StateSosEntity, StateSosSourceConfig, TangleRouterOptions, ThesisRunOptions, ThesisRunResult, ThesisTaskInput, TrackedClaim, TriageClass, type UseKnowledgeImprovementCandidateOptions, ValidateKnowledgeOptions, ValidateKnowledgeResult, VerifiedResearchLoopOptions, VerifiedResearchLoopResult, VerifiedResearchRound, VerifyingDriverOptions, WIKILINK_REGEX, WebResearchWorkerOptions, WebSearchHit, WorkerClaimDecorationOptions, WorkerResearchContext, __resetHttpThrottle, acquireAgentMemoryRunLease, addSourcePath, addSourceText, agentMemorySequenceJudge, applyKnowledgeWriteBlocks, applyKnowledgeWriteBlocksFile, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, assertClaimLedgerId, assertDeepQuestionIntegrity, assertResearchClaimEvidenceIntegrity, assertResearchClaimLedgerIntegrity, assertTrackedClaimIntegrity, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, buildEvalKnowledgeBundle, buildFirstPartyMemoryLifecycleBenchmarkCases, buildIndustryMemoryBenchmarkSmokeCases, buildIndustryRagBenchmarkSmokeCases, buildKnowledgeBenchmarkScenarios, buildKnowledgeGraph, buildKnowledgeIndex, buildRetrievalBenchmarkCasesFromQrels, buildRetrievalEvalDispatch, calibrateRagAnswerJudge, canonicalizeUrl, chunkMarkdown, citedClaimKey, citedClaimOf, claimEvidenceId, claimId, claimSourceHost, compareAgentMemoryLearning, contentKey, createAdaptiveResearchDriver, createAgentMemoryBranch, createClaimDecorator, createClaimGroundingVerifier, createCollectionResearchDriver, createCornellLiiSource, createD1FreshnessStoreStub, createFileSystemFreshnessStore, createFileSystemSearchProvider, createGraphitiMemoryAdapter, createInMemoryBenchmarkAdapter, createIrsPublicationsSource, createKnowledgeControlLoopAdapter, createKnowledgeEvent, createLocalDiscoveryDispatcher, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, createNoopMemoryBenchmarkAdapter, createPersistentResearchDrivingDriver, createRagAnswerQualityHook, createResearchDrivingDriver, createStateSosSource, createTangleRouterClient, createVerifyingResearchDriver, createWebResearchWorker, deepQuestionId, defaultGetMemoryContext, defineReadinessSpec, detectChanges, deterministicRng, diagnoseRagAnswerFailure, emitRetrievalHoldoutBypass, emptyClaimLedger, evaluateKnowledgeBaseReadiness, explainKnowledgeTarget, extractLinks, extractWikilinks, firstMatch, forkAgentMemoryBranchSnapshot, formatFrontmatter, fromAgentCandidateKnowledgeRef, gradeCompanyAgainstText, gradeFactAgainstText, graphitiMemoryAdapterIdentity, groundClaimInText, hashKnowledgeBase, htmlToText, improveKnowledgeBase, initKnowledgeBase, innerHtmlById, inspectKnowledgeIndex, inspectPendingKnowledgeMutation, investmentThesisSet, isKernelAnchoredPath, isKnowledgeMemoryBenchmarkCase, isMissingFile, isSafeKnowledgePath, isScaffoldPath, jsonCandidateCodec, jsonObjectCandidateCodec, kbIndexToText, knowledgeBenchmarkJudge, knowledgeImprovementCandidateRef, knowledgeImprovementRunDir, knowledgeImprovementRunId, knowledgeReleaseReport, layoutFor, lensDistribution, linkClaimContradictions, lintKnowledgeIndex, listRegularFilesWithinRoot, loadKnowledgeImprovementActivationResult, loadKnowledgeImprovementEvents, loadKnowledgeImprovementState, loadKnowledgePages, loadSourceRegistry, looksLikeBlockPage, materialFactsSurfaced, materialFactsSurfacedInText, materializeRegisteredClaimEvidence, mediaTypeFor, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, mergeClaimLedgers, mergeTrackedClaims, normalizeClaimText, normalizeExternalRagScores, normalizeLinkTarget, optimizeKnowledgeBasePolicy, parseFrontmatter, parseKnowledgeBenchmarkJsonl, parseKnowledgeBenchmarkQrels, parseKnowledgeWriteBlocks, partitionRetrievalScenarios, politeFetch, promoteKnowledgeCandidate, proposeFromFinding, proposeFromFindings, ragAnswerQualityJudge, readRegularFileNoFollow, readRegularFileWithinRoot, reciprocalRankFusion, recoverPendingKnowledgeMutation, removeDurable, renameDurable, renderKnowledgeBenchmarkReportMarkdown, renderMemoryContext, researchSourceVersionKey, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, respondToIndustryMemoryBenchmarkSmokeCase, respondToIndustryRagBenchmarkSmokeCase, restoreKnowledgeCandidateBaseline, retrievalConfigFromSurface, retrievalConfigSurface, retrievalHoldoutConfigHash, retrievalRecallJudge, runAgentMemoryExperiment, runAgentMemoryImprovement, runAgentMemoryLearningExperiment, runBoundedMemoryLifecycle, runDiscoveryLoop, runInvestmentThesisTask, runKnowledgeBenchmarkSuite, runKnowledgeResearchLoop, runMemoryAdapterBenchmark, runRagKnowledgeImprovementLoop, runRagOptimization, runRetrievalImprovementLoop, runSerializedKnowledgeOptimization, runVerifiedResearchLoop, scenarioContentFingerprint, scoreKnowledgeBaseIndex, scoreKnowledgeBenchmarkArtifact, scoreMemoryBenchmarkArtifact, scoreRagAnswerArtifact, scoreRetrievalArtifact, searchKnowledge, sha256, sleepForMemoryRecovery, slugify, snapshotSourceTextInput, sourceMatchesGaps, sourceRegistryPath, stableId, stripFrontmatter, summarizeKnowledgeBenchmarkCampaign, syncDirectory, textSourceAdapter, textSourceId, thesisReadinessSpecs, toAgentCandidateKnowledgeRef, toDeepEvalTestCases, toOffPolicyTrajectory, toRagCheckerRecords, toRagasEvaluationRows, toTruLensRecords, tokenizeQuery, totalMaterialFacts, triageSource, validateKnowledgeIndex, withCitedClaim, withKnowledgeImprovementCandidate, withKnowledgeImprovementComparison, withSafeDescendant, withSafeDirectory, writeFileDurable, writeFileDurableWithinRoot, writeJson, writeJsonDurable, writeJsonDurableWithinRoot, writeKnowledgeIndex, writeSourceRegistry };
|
|
3021
3021
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { $ as mergeTrackedClaims, A as KnowledgeGraphNodeSchema, At as removeDurable, B as ClaimLedgerGoalConflictError, Bt as textSourceAdapter, C as KB_STORE_DIR, Ct as prepareKnowledgeFileTransaction, D as KnowledgeBaseCandidateSchema, Dt as listRegularFilesWithinRoot, E as DeepQuestionSchema, Et as isMissingFile, F as ResearchClaimRecordSchema, Ft as writeFileDurable, G as claimEvidenceId, H as assertResearchClaimEvidenceIntegrity, I as ResearchSourceVersionSchema, It as writeFileDurableWithinRoot, J as deepQuestionId, K as claimId, L as SourceAnchorSchema, Lt as writeJsonDurable, M as KnowledgePageSchema, Mt as syncDirectory, N as ResearchClaimEvidenceSchema, Nt as withSafeDescendant, O as KnowledgeEventSchema, Ot as readRegularFileNoFollow, P as ResearchClaimLedgerSchema, Pt as withSafeDirectory, Q as mergeClaimLedgers, R as SourceRecordSchema, Rt as writeJsonDurableWithinRoot, S as KB_INDEX_PATH, St as knowledgeFileTransactionPlanHash, T as assertClaimLedgerId, Tt as isKernelAnchoredPath, U as assertResearchClaimLedgerIntegrity, V as assertDeepQuestionIntegrity, W as assertTrackedClaimIntegrity, X as linkClaimContradictions, Y as emptyClaimLedger, Z as materializeRegisteredClaimEvidence, _ as writeSourceRegistry, _t as withKnowledgeMutation, a as applyKnowledgeWriteBlocksFile, at as isScaffoldPath, b as KB_CLAIM_LEDGER_DIR, bt as assertKnowledgeMutationPath, c as validateKnowledgeIndex, ct as writeJson, d as writeKnowledgeIndex, dt as normalizeLinkTarget, et as normalizeClaimText, f as addSourcePath, ft as formatFrontmatter, g as sourceRegistryPath, gt as recoverPendingKnowledgeMutation, h as snapshotSourceTextInput, ht as inspectPendingKnowledgeMutation, i as applyKnowledgeWriteBlocks, it as initKnowledgeBase, j as KnowledgeIndexSchema, jt as renameDurable, k as KnowledgeGraphEdgeSchema, kt as readRegularFileWithinRoot, l as lintKnowledgeIndex, lt as WIKILINK_REGEX, m as loadSourceRegistry, mt as acquireDurableFileLock, n as inspectKnowledgeIndex, nt as buildKnowledgeGraph, o as isSafeKnowledgePath, ot as layoutFor, p as addSourceText, pt as parseFrontmatter, q as claimSourceHost, r as stringMetadata, rt as SCAFFOLD_PAGE_BASENAMES, s as parseKnowledgeWriteBlocks, st as loadKnowledgePages, t as explainKnowledgeTarget, tt as researchSourceVersionKey, u as buildKnowledgeIndex, ut as extractWikilinks, v as ClaimLedgerMigrationRequiredError, vt as withKnowledgeRead, w as MemoryKbStore, wt as rollbackKnowledgeFileTransaction, x as KB_EVENTS_PATH, xt as finishKnowledgeFileTransaction, y as FileSystemKbStore, yt as applyKnowledgeFileTransaction, z as KNOWLEDGE_EVENT_TYPES, zt as mediaTypeFor } from "./inspect-CJQGYuKa.js";
|
|
2
2
|
import { i as textSourceId, n as slugify, r as stableId, t as sha256 } from "./ids-Bevz_pXV.js";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as runSerializedKnowledgeOptimization, C as deterministicRng, D as toOffPolicyTrajectory, E as retrievalHoldoutConfigHash, M as assertImmutableRef, O as jsonCandidateCodec, S as applySessionStickyRetrievalHoldout, T as resetRetrievalHoldoutRegistry, _ as createAgentMemoryBranch, a as createNeo4jAgentMemoryAdapter, b as renderMemoryContext, c as runAgentMemoryImprovement, d as compareAgentMemoryLearning, f as runAgentMemoryLearningExperiment, g as buildAgentMemorySequencesFromBenchmarkCases, h as buildAgentMemorySequenceScenarios, i as AgentMemoryWriteInputSchema, j as scenarioContentFingerprint, k as jsonObjectCandidateCodec, l as createGraphitiMemoryAdapter, m as agentMemorySequenceJudge, n as AgentMemoryKindSchema, o as createMem0MemoryAdapter, p as runAgentMemoryExperiment, r as AgentMemoryScopeSchema, s as mem0MemoryAdapterIdentity, t as AgentMemoryHitSchema, u as graphitiMemoryAdapterIdentity, v as forkAgentMemoryBranchSnapshot, w as emitRetrievalHoldoutBypass, x as applyRetrievalHoldout, y as defaultGetMemoryContext } from "./memory-DAFfGTJH.js";
|
|
4
4
|
import { n as searchKnowledge, r as tokenizeQuery, t as reciprocalRankFusion } from "./search-CP0QtBJZ.js";
|
|
5
|
-
import {
|
|
5
|
+
import { B as createNoopMemoryBenchmarkAdapter, C as sleepForMemoryRecovery, F as buildIndustryRagBenchmarkSmokeCases, G as retrievalConfigFromSurface, H as memoryWriteResultToSourceRecord, I as respondToIndustryMemoryBenchmarkSmokeCase, J as scoreRetrievalArtifact, K as retrievalConfigSurface, L as respondToIndustryRagBenchmarkSmokeCase, M as INDUSTRY_RAG_BENCHMARKS, N as buildFirstPartyMemoryLifecycleBenchmarkCases, P as buildIndustryMemoryBenchmarkSmokeCases, R as isKnowledgeMemoryBenchmarkCase, S as runBoundedMemoryLifecycle, U as buildRetrievalEvalDispatch, V as memoryHitToSourceRecord, W as partitionRetrievalScenarios, a as buildKnowledgeBenchmarkScenarios, b as memoryRecoveryDelayMs, c as runKnowledgeBenchmarkSuite, d as summarizeKnowledgeBenchmarkCampaign, f as acquireAgentMemoryRunLease, h as DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, i as runMemoryAdapterBenchmark, j as INDUSTRY_MEMORY_BENCHMARKS, l as scoreKnowledgeBenchmarkArtifact, m as AgentMemoryLifecycleUnsafeError, n as parseKnowledgeBenchmarkJsonl, o as knowledgeBenchmarkJudge, p as AgentMemoryLifecycleTimeoutError, q as retrievalRecallJudge, r as parseKnowledgeBenchmarkQrels, s as renderKnowledgeBenchmarkReportMarkdown, t as buildRetrievalBenchmarkCasesFromQrels, u as scoreMemoryBenchmarkArtifact, x as resolveMemoryCleanupTimeoutMs, y as createMemoryExecutionPool, z as createInMemoryBenchmarkAdapter } from "./benchmarks-CPl4AO1k.js";
|
|
6
6
|
import { IRS_DIMENSION_HINTS, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, POLITE_USER_AGENT, __resetHttpThrottle, createCornellLiiSource, createIrsPublicationsSource, createStateSosSource, extractLinks, firstMatch, htmlToText, innerHtmlById, looksLikeBlockPage, politeFetch } from "./sources/index.js";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import { cp, lstat, mkdir, mkdtemp, readFile, rm, stat } from "node:fs/promises";
|
|
@@ -6422,6 +6422,6 @@ function buildSteerText(gaps, deepQuestions, invalidationTargets, minIndependent
|
|
|
6422
6422
|
return lines.join("\n");
|
|
6423
6423
|
}
|
|
6424
6424
|
//#endregion
|
|
6425
|
-
export { AgentMemoryHitSchema, AgentMemoryKindSchema, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, AgentMemoryScopeSchema, AgentMemoryWriteInputSchema, ClaimLedgerGoalConflictError, ClaimLedgerMigrationRequiredError, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, DeepQuestionSchema, FileSystemKbStore, FileSystemSearchProvider, INDUSTRY_MEMORY_BENCHMARKS, INDUSTRY_RAG_BENCHMARKS, IRS_DIMENSION_HINTS, KB_CLAIM_LEDGER_DIR, KB_EVENTS_PATH, KB_INDEX_PATH, KB_STORE_DIR, KNOWLEDGE_EVENT_TYPES, KnowledgeBaseCandidateSchema, KnowledgeEventSchema, KnowledgeGraphEdgeSchema, KnowledgeGraphNodeSchema, KnowledgeImprovementCandidateRefSchema, KnowledgeImprovementEvidenceSchema, KnowledgeImprovementRunStateSchema, KnowledgeIndexSchema, KnowledgePageSchema, KnowledgeProposalParseError, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, MemoryKbStore, POLITE_USER_AGENT, READINESS_SPEC_DEFAULTS, ResearchClaimEvidenceSchema, ResearchClaimLedgerSchema, ResearchClaimRecordSchema, ResearchSourceVersionSchema, RouterError, SCAFFOLD_PAGE_BASENAMES, SourceAnchorSchema, SourceRecordSchema, WIKILINK_REGEX, __resetHttpThrottle, acquireAgentMemoryRunLease, addSourcePath, addSourceText, agentMemorySequenceJudge, applyKnowledgeWriteBlocks, applyKnowledgeWriteBlocksFile, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, assertClaimLedgerId, assertDeepQuestionIntegrity, assertResearchClaimEvidenceIntegrity, assertResearchClaimLedgerIntegrity, assertTrackedClaimIntegrity, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, buildEvalKnowledgeBundle, buildFirstPartyMemoryLifecycleBenchmarkCases, buildIndustryMemoryBenchmarkSmokeCases, buildIndustryRagBenchmarkSmokeCases, buildKnowledgeBenchmarkScenarios, buildKnowledgeGraph, buildKnowledgeIndex, buildRetrievalBenchmarkCasesFromQrels, buildRetrievalEvalDispatch, calibrateRagAnswerJudge, canonicalizeUrl, chunkMarkdown, citedClaimKey, citedClaimOf, claimEvidenceId, claimId, claimSourceHost, contentKey, createAdaptiveResearchDriver, createAgentMemoryBranch, createClaimDecorator, createClaimGroundingVerifier, createCollectionResearchDriver, createCornellLiiSource, createD1FreshnessStoreStub, createFileSystemFreshnessStore, createFileSystemSearchProvider, createGraphitiMemoryAdapter, createInMemoryBenchmarkAdapter, createIrsPublicationsSource, createKnowledgeControlLoopAdapter, createKnowledgeEvent, createLocalDiscoveryDispatcher, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, createNoopMemoryBenchmarkAdapter, createPersistentResearchDrivingDriver, createRagAnswerQualityHook, createResearchDrivingDriver, createStateSosSource, createTangleRouterClient, createVerifyingResearchDriver, createWebResearchWorker, deepQuestionId, defaultGetMemoryContext, defineReadinessSpec, detectChanges, deterministicRng, diagnoseRagAnswerFailure, emitRetrievalHoldoutBypass, emptyClaimLedger, evaluateKnowledgeBaseReadiness, explainKnowledgeTarget, extractLinks, extractWikilinks, firstMatch, forkAgentMemoryBranchSnapshot, formatFrontmatter, fromAgentCandidateKnowledgeRef, gradeCompanyAgainstText, gradeFactAgainstText, graphitiMemoryAdapterIdentity, groundClaimInText, hashKnowledgeBase, htmlToText, improveKnowledgeBase, initKnowledgeBase, innerHtmlById, inspectKnowledgeIndex, inspectPendingKnowledgeMutation, investmentThesisSet, isKernelAnchoredPath, isKnowledgeMemoryBenchmarkCase, isMissingFile, isSafeKnowledgePath, isScaffoldPath, jsonCandidateCodec, jsonObjectCandidateCodec, kbIndexToText, knowledgeBenchmarkJudge, knowledgeImprovementCandidateRef, knowledgeImprovementRunDir, knowledgeImprovementRunId, knowledgeReleaseReport, layoutFor, lensDistribution, linkClaimContradictions, lintKnowledgeIndex, listRegularFilesWithinRoot, loadKnowledgeImprovementActivationResult, loadKnowledgeImprovementEvents, loadKnowledgeImprovementState, loadKnowledgePages, loadSourceRegistry, looksLikeBlockPage, materialFactsSurfaced, materialFactsSurfacedInText, materializeRegisteredClaimEvidence, mediaTypeFor, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, mergeClaimLedgers, mergeTrackedClaims, normalizeClaimText, normalizeExternalRagScores, normalizeLinkTarget, optimizeKnowledgeBasePolicy, parseFrontmatter, parseKnowledgeBenchmarkJsonl, parseKnowledgeBenchmarkQrels, parseKnowledgeWriteBlocks, partitionRetrievalScenarios, politeFetch, promoteKnowledgeCandidate, proposeFromFinding, proposeFromFindings, ragAnswerQualityJudge, readRegularFileNoFollow, readRegularFileWithinRoot, reciprocalRankFusion, recoverPendingKnowledgeMutation, removeDurable, renameDurable, renderKnowledgeBenchmarkReportMarkdown, renderMemoryContext, researchSourceVersionKey, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, respondToIndustryMemoryBenchmarkSmokeCase, respondToIndustryRagBenchmarkSmokeCase, restoreKnowledgeCandidateBaseline, retrievalConfigFromSurface, retrievalConfigSurface, retrievalHoldoutConfigHash, retrievalRecallJudge, runAgentMemoryExperiment, runAgentMemoryImprovement, runBoundedMemoryLifecycle, runDiscoveryLoop, runInvestmentThesisTask, runKnowledgeBenchmarkSuite, runKnowledgeResearchLoop, runMemoryAdapterBenchmark, runRagKnowledgeImprovementLoop, runRagOptimization, runRetrievalImprovementLoop, runSerializedKnowledgeOptimization, runVerifiedResearchLoop, scenarioContentFingerprint, scoreKnowledgeBaseIndex, scoreKnowledgeBenchmarkArtifact, scoreMemoryBenchmarkArtifact, scoreRagAnswerArtifact, scoreRetrievalArtifact, searchKnowledge, sha256, sleepForMemoryRecovery, slugify, snapshotSourceTextInput, sourceMatchesGaps, sourceRegistryPath, stableId, stripFrontmatter, summarizeKnowledgeBenchmarkCampaign, syncDirectory, textSourceAdapter, textSourceId, thesisReadinessSpecs, toAgentCandidateKnowledgeRef, toDeepEvalTestCases, toOffPolicyTrajectory, toRagCheckerRecords, toRagasEvaluationRows, toTruLensRecords, tokenizeQuery, totalMaterialFacts, triageSource, validateKnowledgeIndex, withCitedClaim, withKnowledgeImprovementCandidate, withKnowledgeImprovementComparison, withSafeDescendant, withSafeDirectory, writeFileDurable, writeFileDurableWithinRoot, writeJson, writeJsonDurable, writeJsonDurableWithinRoot, writeKnowledgeIndex, writeSourceRegistry };
|
|
6425
|
+
export { AgentMemoryHitSchema, AgentMemoryKindSchema, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, AgentMemoryScopeSchema, AgentMemoryWriteInputSchema, ClaimLedgerGoalConflictError, ClaimLedgerMigrationRequiredError, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, DeepQuestionSchema, FileSystemKbStore, FileSystemSearchProvider, INDUSTRY_MEMORY_BENCHMARKS, INDUSTRY_RAG_BENCHMARKS, IRS_DIMENSION_HINTS, KB_CLAIM_LEDGER_DIR, KB_EVENTS_PATH, KB_INDEX_PATH, KB_STORE_DIR, KNOWLEDGE_EVENT_TYPES, KnowledgeBaseCandidateSchema, KnowledgeEventSchema, KnowledgeGraphEdgeSchema, KnowledgeGraphNodeSchema, KnowledgeImprovementCandidateRefSchema, KnowledgeImprovementEvidenceSchema, KnowledgeImprovementRunStateSchema, KnowledgeIndexSchema, KnowledgePageSchema, KnowledgeProposalParseError, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, MemoryKbStore, POLITE_USER_AGENT, READINESS_SPEC_DEFAULTS, ResearchClaimEvidenceSchema, ResearchClaimLedgerSchema, ResearchClaimRecordSchema, ResearchSourceVersionSchema, RouterError, SCAFFOLD_PAGE_BASENAMES, SourceAnchorSchema, SourceRecordSchema, WIKILINK_REGEX, __resetHttpThrottle, acquireAgentMemoryRunLease, addSourcePath, addSourceText, agentMemorySequenceJudge, applyKnowledgeWriteBlocks, applyKnowledgeWriteBlocksFile, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, assertClaimLedgerId, assertDeepQuestionIntegrity, assertResearchClaimEvidenceIntegrity, assertResearchClaimLedgerIntegrity, assertTrackedClaimIntegrity, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, buildEvalKnowledgeBundle, buildFirstPartyMemoryLifecycleBenchmarkCases, buildIndustryMemoryBenchmarkSmokeCases, buildIndustryRagBenchmarkSmokeCases, buildKnowledgeBenchmarkScenarios, buildKnowledgeGraph, buildKnowledgeIndex, buildRetrievalBenchmarkCasesFromQrels, buildRetrievalEvalDispatch, calibrateRagAnswerJudge, canonicalizeUrl, chunkMarkdown, citedClaimKey, citedClaimOf, claimEvidenceId, claimId, claimSourceHost, compareAgentMemoryLearning, contentKey, createAdaptiveResearchDriver, createAgentMemoryBranch, createClaimDecorator, createClaimGroundingVerifier, createCollectionResearchDriver, createCornellLiiSource, createD1FreshnessStoreStub, createFileSystemFreshnessStore, createFileSystemSearchProvider, createGraphitiMemoryAdapter, createInMemoryBenchmarkAdapter, createIrsPublicationsSource, createKnowledgeControlLoopAdapter, createKnowledgeEvent, createLocalDiscoveryDispatcher, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, createNoopMemoryBenchmarkAdapter, createPersistentResearchDrivingDriver, createRagAnswerQualityHook, createResearchDrivingDriver, createStateSosSource, createTangleRouterClient, createVerifyingResearchDriver, createWebResearchWorker, deepQuestionId, defaultGetMemoryContext, defineReadinessSpec, detectChanges, deterministicRng, diagnoseRagAnswerFailure, emitRetrievalHoldoutBypass, emptyClaimLedger, evaluateKnowledgeBaseReadiness, explainKnowledgeTarget, extractLinks, extractWikilinks, firstMatch, forkAgentMemoryBranchSnapshot, formatFrontmatter, fromAgentCandidateKnowledgeRef, gradeCompanyAgainstText, gradeFactAgainstText, graphitiMemoryAdapterIdentity, groundClaimInText, hashKnowledgeBase, htmlToText, improveKnowledgeBase, initKnowledgeBase, innerHtmlById, inspectKnowledgeIndex, inspectPendingKnowledgeMutation, investmentThesisSet, isKernelAnchoredPath, isKnowledgeMemoryBenchmarkCase, isMissingFile, isSafeKnowledgePath, isScaffoldPath, jsonCandidateCodec, jsonObjectCandidateCodec, kbIndexToText, knowledgeBenchmarkJudge, knowledgeImprovementCandidateRef, knowledgeImprovementRunDir, knowledgeImprovementRunId, knowledgeReleaseReport, layoutFor, lensDistribution, linkClaimContradictions, lintKnowledgeIndex, listRegularFilesWithinRoot, loadKnowledgeImprovementActivationResult, loadKnowledgeImprovementEvents, loadKnowledgeImprovementState, loadKnowledgePages, loadSourceRegistry, looksLikeBlockPage, materialFactsSurfaced, materialFactsSurfacedInText, materializeRegisteredClaimEvidence, mediaTypeFor, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, mergeClaimLedgers, mergeTrackedClaims, normalizeClaimText, normalizeExternalRagScores, normalizeLinkTarget, optimizeKnowledgeBasePolicy, parseFrontmatter, parseKnowledgeBenchmarkJsonl, parseKnowledgeBenchmarkQrels, parseKnowledgeWriteBlocks, partitionRetrievalScenarios, politeFetch, promoteKnowledgeCandidate, proposeFromFinding, proposeFromFindings, ragAnswerQualityJudge, readRegularFileNoFollow, readRegularFileWithinRoot, reciprocalRankFusion, recoverPendingKnowledgeMutation, removeDurable, renameDurable, renderKnowledgeBenchmarkReportMarkdown, renderMemoryContext, researchSourceVersionKey, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, respondToIndustryMemoryBenchmarkSmokeCase, respondToIndustryRagBenchmarkSmokeCase, restoreKnowledgeCandidateBaseline, retrievalConfigFromSurface, retrievalConfigSurface, retrievalHoldoutConfigHash, retrievalRecallJudge, runAgentMemoryExperiment, runAgentMemoryImprovement, runAgentMemoryLearningExperiment, runBoundedMemoryLifecycle, runDiscoveryLoop, runInvestmentThesisTask, runKnowledgeBenchmarkSuite, runKnowledgeResearchLoop, runMemoryAdapterBenchmark, runRagKnowledgeImprovementLoop, runRagOptimization, runRetrievalImprovementLoop, runSerializedKnowledgeOptimization, runVerifiedResearchLoop, scenarioContentFingerprint, scoreKnowledgeBaseIndex, scoreKnowledgeBenchmarkArtifact, scoreMemoryBenchmarkArtifact, scoreRagAnswerArtifact, scoreRetrievalArtifact, searchKnowledge, sha256, sleepForMemoryRecovery, slugify, snapshotSourceTextInput, sourceMatchesGaps, sourceRegistryPath, stableId, stripFrontmatter, summarizeKnowledgeBenchmarkCampaign, syncDirectory, textSourceAdapter, textSourceId, thesisReadinessSpecs, toAgentCandidateKnowledgeRef, toDeepEvalTestCases, toOffPolicyTrajectory, toRagCheckerRecords, toRagasEvaluationRows, toTruLensRecords, tokenizeQuery, totalMaterialFacts, triageSource, validateKnowledgeIndex, withCitedClaim, withKnowledgeImprovementCandidate, withKnowledgeImprovementComparison, withSafeDescendant, withSafeDirectory, writeFileDurable, writeFileDurableWithinRoot, writeJson, writeJsonDurable, writeJsonDurableWithinRoot, writeKnowledgeIndex, writeSourceRegistry };
|
|
6426
6426
|
|
|
6427
6427
|
//# sourceMappingURL=index.js.map
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { At as AgentMemoryScope, Bt as RetrievalHoldoutSessionState, Dt as AgentMemoryContext, Et as AgentMemoryBranchIsolation, Ft as RetrievalHoldoutCallContext, It as RetrievalHoldoutConfig, Lt as RetrievalHoldoutEligibleItem, Mt as AgentMemoryWriteInput, Nt as AgentMemoryWriteResult, Ot as AgentMemoryHit, Pt as RetrievalHoldoutBypassReason, Rt as RetrievalHoldoutEvent, St as acquireAgentMemoryRunLease, Tt as AgentMemoryAdapter, bt as AgentMemoryRunLease, jt as AgentMemorySearchOptions, kt as AgentMemoryKind, vt as AgentMemoryAcquireRunLease, xt as OwnedAgentMemoryRunLease, yt as AgentMemoryControllerMode, zt as RetrievalHoldoutResult } from "../index-D0wc4GYg.js";
|
|
2
|
-
import { $ as
|
|
3
|
-
export { AgentMemoryAcquireRunLease, type AgentMemoryActivation, type AgentMemoryActivationDriver, AgentMemoryAdapter, type AgentMemoryAttemptEvent, AgentMemoryBranch, AgentMemoryBranchIsolation, AgentMemoryBranchLifetime, AgentMemoryBranchSnapshot, AgentMemoryContext, AgentMemoryControllerMode, type AgentMemoryDimensionComparison, type AgentMemoryExecutionContext, type AgentMemoryExecutionCostMeter, type AgentMemoryExecutionCostReceipt, type AgentMemoryExecutionPaidCallInput, type AgentMemoryExecutionPaidCallResult, type AgentMemoryExecutionStep, type AgentMemoryExperimentCandidate, type AgentMemoryExperimentRankingRow, type AgentMemoryExperimentRunLease, type AgentMemoryFinalEvaluation, type AgentMemoryFinalPair, AgentMemoryHit, AgentMemoryHitSchema, type AgentMemoryImprovementRunLease, AgentMemoryJournalEntry, AgentMemoryKind, AgentMemoryKindSchema, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, type AgentMemoryPromotionDecision, AgentMemoryRunLease, AgentMemoryScope, AgentMemoryScopeSchema, AgentMemorySearchOptions, type AgentMemorySequence, type AgentMemorySequenceArtifact, type AgentMemorySequenceProbe, type AgentMemorySequenceProbeResult, type AgentMemorySequenceScenario, type AgentMemorySequenceStep, AgentMemorySharingPolicy, AgentMemoryVisibility, AgentMemoryWriteInput, AgentMemoryWriteInputSchema, AgentMemoryWriteResult, type BuildAgentMemorySequencesFromBenchmarkCasesOptions, CreateAgentMemoryBranchOptions, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, ForkAgentMemoryBranchSnapshotOptions, GraphitiMcpClientLike, GraphitiMemoryAdapterOptions, GraphitiToolNames, Mem0ClientMode, Mem0HostedClient, Mem0HostedMemoryAdapterOptions, Mem0MemoryAdapterOptions, Mem0OssClient, Mem0OssMemoryAdapterOptions, type MemoryConfigScenario, Neo4jAgentMemoryAdapterOptions, OwnedAgentMemoryRunLease, RetrievalHoldoutBypassReason, RetrievalHoldoutCallContext, RetrievalHoldoutConfig, RetrievalHoldoutEligibleItem, RetrievalHoldoutEvent, RetrievalHoldoutOffPolicyOptions, RetrievalHoldoutOffPolicyResult, RetrievalHoldoutResult, RetrievalHoldoutSessionState, RetrievalHoldoutSessionSummary, type RunAgentMemoryExperimentOptions, type RunAgentMemoryExperimentResult, type RunAgentMemoryImprovementOptions, type RunAgentMemoryImprovementResult, acquireAgentMemoryRunLease, agentMemorySequenceJudge, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, createAgentMemoryBranch, createGraphitiMemoryAdapter, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, defaultGetMemoryContext, deterministicRng, emitRetrievalHoldoutBypass, forkAgentMemoryBranchSnapshot, graphitiMemoryAdapterIdentity, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, renderMemoryContext, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, retrievalHoldoutConfigHash, runAgentMemoryExperiment, runAgentMemoryImprovement, runBoundedMemoryLifecycle, sleepForMemoryRecovery, toOffPolicyTrajectory };
|
|
2
|
+
import { $ as runAgentMemoryLearningExperiment, A as AgentMemoryFinalPair, At as BuildAgentMemorySequencesFromBenchmarkCasesOptions, B as applySessionStickyRetrievalHoldout, Bt as AgentMemorySharingPolicy, C as runBoundedMemoryLifecycle, Ct as AgentMemorySequenceArtifact, D as AgentMemoryActivationDriver, Dt as AgentMemorySequenceStep, E as AgentMemoryActivation, Et as AgentMemorySequenceScenario, F as RunAgentMemoryImprovementResult, Ft as RunAgentMemoryLearningExperimentResult, G as toOffPolicyTrajectory, Gt as forkAgentMemoryBranchSnapshot, H as emitRetrievalHoldoutBypass, Ht as CreateAgentMemoryBranchOptions, I as RetrievalHoldoutOffPolicyOptions, It as AgentMemoryBranch, J as GraphitiToolNames, K as GraphitiMcpClientLike, Kt as defaultGetMemoryContext, L as RetrievalHoldoutOffPolicyResult, Lt as AgentMemoryBranchLifetime, M as AgentMemoryPromotionDecision, Mt as RunAgentMemoryExperimentOptions, N as MemoryConfigScenario, Nt as RunAgentMemoryExperimentResult, O as AgentMemoryDimensionComparison, Ot as AgentMemoryTransferCellComparison, P as RunAgentMemoryImprovementOptions, Pt as RunAgentMemoryLearningExperimentOptions, Q as compareAgentMemoryLearning, R as RetrievalHoldoutSessionSummary, Rt as AgentMemoryBranchSnapshot, S as resolveMemoryCleanupTimeoutMs, St as AgentMemorySequence, T as runAgentMemoryImprovement, Tt as AgentMemorySequenceProbeResult, U as resetRetrievalHoldoutRegistry, Ut as ForkAgentMemoryBranchSnapshotOptions, V as deterministicRng, Vt as AgentMemoryVisibility, W as retrievalHoldoutConfigHash, Wt as createAgentMemoryBranch, X as graphitiMemoryAdapterIdentity, Y as createGraphitiMemoryAdapter, Z as runAgentMemoryExperiment, _ as AgentMemoryLifecycleTimeoutError, _t as AgentMemoryLearningArmOrder, a as AgentMemoryScopeSchema, at as AgentMemoryExecutionContext, b as createMemoryExecutionPool, bt as AgentMemoryLearningComparison, c as createNeo4jAgentMemoryAdapter, ct as AgentMemoryExecutionPaidCallInput, d as Mem0HostedMemoryAdapterOptions, dt as AgentMemoryExperimentCandidate, et as agentMemorySequenceJudge, f as Mem0MemoryAdapterOptions, ft as AgentMemoryExperimentCandidateRef, g as mem0MemoryAdapterIdentity, gt as AgentMemoryForgettingComparison, h as createMem0MemoryAdapter, ht as AgentMemoryExperimentRunLease, i as AgentMemoryKindSchema, it as AgentMemoryEvidenceRef, j as AgentMemoryImprovementRunLease, jt as CompareAgentMemoryLearningOptions, k as AgentMemoryFinalEvaluation, kt as AgentMemoryTransferStepSummary, l as Mem0ClientMode, lt as AgentMemoryExecutionPaidCallResult, m as Mem0OssMemoryAdapterOptions, mt as AgentMemoryExperimentRankingRow, n as memoryWriteResultToSourceRecord, nt as buildAgentMemorySequencesFromBenchmarkCases, o as AgentMemoryWriteInputSchema, ot as AgentMemoryExecutionCostMeter, p as Mem0OssClient, pt as AgentMemoryExperimentComparisonRef, q as GraphitiMemoryAdapterOptions, qt as renderMemoryContext, r as AgentMemoryHitSchema, rt as AgentMemoryAttemptEvent, s as Neo4jAgentMemoryAdapterOptions, st as AgentMemoryExecutionCostReceipt, t as memoryHitToSourceRecord, tt as buildAgentMemorySequenceScenarios, u as Mem0HostedClient, ut as AgentMemoryExecutionStep, v as AgentMemoryLifecycleUnsafeError, vt as AgentMemoryLearningCandidateSummary, w as sleepForMemoryRecovery, wt as AgentMemorySequenceProbe, x as memoryRecoveryDelayMs, xt as AgentMemoryMode, y as DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, yt as AgentMemoryLearningCellComparison, z as applyRetrievalHoldout, zt as AgentMemoryJournalEntry } from "../index-BEVmwlfJ.js";
|
|
3
|
+
export { AgentMemoryAcquireRunLease, type AgentMemoryActivation, type AgentMemoryActivationDriver, AgentMemoryAdapter, type AgentMemoryAttemptEvent, AgentMemoryBranch, AgentMemoryBranchIsolation, AgentMemoryBranchLifetime, AgentMemoryBranchSnapshot, AgentMemoryContext, AgentMemoryControllerMode, type AgentMemoryDimensionComparison, type AgentMemoryEvidenceRef, type AgentMemoryExecutionContext, type AgentMemoryExecutionCostMeter, type AgentMemoryExecutionCostReceipt, type AgentMemoryExecutionPaidCallInput, type AgentMemoryExecutionPaidCallResult, type AgentMemoryExecutionStep, type AgentMemoryExperimentCandidate, type AgentMemoryExperimentCandidateRef, type AgentMemoryExperimentComparisonRef, type AgentMemoryExperimentRankingRow, type AgentMemoryExperimentRunLease, type AgentMemoryFinalEvaluation, type AgentMemoryFinalPair, type AgentMemoryForgettingComparison, AgentMemoryHit, AgentMemoryHitSchema, type AgentMemoryImprovementRunLease, AgentMemoryJournalEntry, AgentMemoryKind, AgentMemoryKindSchema, type AgentMemoryLearningArmOrder, type AgentMemoryLearningCandidateSummary, type AgentMemoryLearningCellComparison, type AgentMemoryLearningComparison, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, type AgentMemoryMode, type AgentMemoryPromotionDecision, AgentMemoryRunLease, AgentMemoryScope, AgentMemoryScopeSchema, AgentMemorySearchOptions, type AgentMemorySequence, type AgentMemorySequenceArtifact, type AgentMemorySequenceProbe, type AgentMemorySequenceProbeResult, type AgentMemorySequenceScenario, type AgentMemorySequenceStep, AgentMemorySharingPolicy, type AgentMemoryTransferCellComparison, type AgentMemoryTransferStepSummary, AgentMemoryVisibility, AgentMemoryWriteInput, AgentMemoryWriteInputSchema, AgentMemoryWriteResult, type BuildAgentMemorySequencesFromBenchmarkCasesOptions, type CompareAgentMemoryLearningOptions, CreateAgentMemoryBranchOptions, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, ForkAgentMemoryBranchSnapshotOptions, GraphitiMcpClientLike, GraphitiMemoryAdapterOptions, GraphitiToolNames, Mem0ClientMode, Mem0HostedClient, Mem0HostedMemoryAdapterOptions, Mem0MemoryAdapterOptions, Mem0OssClient, Mem0OssMemoryAdapterOptions, type MemoryConfigScenario, Neo4jAgentMemoryAdapterOptions, OwnedAgentMemoryRunLease, RetrievalHoldoutBypassReason, RetrievalHoldoutCallContext, RetrievalHoldoutConfig, RetrievalHoldoutEligibleItem, RetrievalHoldoutEvent, RetrievalHoldoutOffPolicyOptions, RetrievalHoldoutOffPolicyResult, RetrievalHoldoutResult, RetrievalHoldoutSessionState, RetrievalHoldoutSessionSummary, type RunAgentMemoryExperimentOptions, type RunAgentMemoryExperimentResult, type RunAgentMemoryImprovementOptions, type RunAgentMemoryImprovementResult, type RunAgentMemoryLearningExperimentOptions, type RunAgentMemoryLearningExperimentResult, acquireAgentMemoryRunLease, agentMemorySequenceJudge, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, compareAgentMemoryLearning, createAgentMemoryBranch, createGraphitiMemoryAdapter, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, defaultGetMemoryContext, deterministicRng, emitRetrievalHoldoutBypass, forkAgentMemoryBranchSnapshot, graphitiMemoryAdapterIdentity, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, renderMemoryContext, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, retrievalHoldoutConfigHash, runAgentMemoryExperiment, runAgentMemoryImprovement, runAgentMemoryLearningExperiment, runBoundedMemoryLifecycle, sleepForMemoryRecovery, toOffPolicyTrajectory };
|
package/dist/memory/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import {
|
|
3
|
-
export { AgentMemoryHitSchema, AgentMemoryKindSchema, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, AgentMemoryScopeSchema, AgentMemoryWriteInputSchema, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, acquireAgentMemoryRunLease, agentMemorySequenceJudge, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, createAgentMemoryBranch, createGraphitiMemoryAdapter, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, defaultGetMemoryContext, deterministicRng, emitRetrievalHoldoutBypass, forkAgentMemoryBranchSnapshot, graphitiMemoryAdapterIdentity, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, renderMemoryContext, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, retrievalHoldoutConfigHash, runAgentMemoryExperiment, runAgentMemoryImprovement, runBoundedMemoryLifecycle, sleepForMemoryRecovery, toOffPolicyTrajectory };
|
|
1
|
+
import { C as deterministicRng, D as toOffPolicyTrajectory, E as retrievalHoldoutConfigHash, S as applySessionStickyRetrievalHoldout, T as resetRetrievalHoldoutRegistry, _ as createAgentMemoryBranch, a as createNeo4jAgentMemoryAdapter, b as renderMemoryContext, c as runAgentMemoryImprovement, d as compareAgentMemoryLearning, f as runAgentMemoryLearningExperiment, g as buildAgentMemorySequencesFromBenchmarkCases, h as buildAgentMemorySequenceScenarios, i as AgentMemoryWriteInputSchema, l as createGraphitiMemoryAdapter, m as agentMemorySequenceJudge, n as AgentMemoryKindSchema, o as createMem0MemoryAdapter, p as runAgentMemoryExperiment, r as AgentMemoryScopeSchema, s as mem0MemoryAdapterIdentity, t as AgentMemoryHitSchema, u as graphitiMemoryAdapterIdentity, v as forkAgentMemoryBranchSnapshot, w as emitRetrievalHoldoutBypass, x as applyRetrievalHoldout, y as defaultGetMemoryContext } from "../memory-DAFfGTJH.js";
|
|
2
|
+
import { C as sleepForMemoryRecovery, H as memoryWriteResultToSourceRecord, S as runBoundedMemoryLifecycle, V as memoryHitToSourceRecord, b as memoryRecoveryDelayMs, f as acquireAgentMemoryRunLease, h as DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, m as AgentMemoryLifecycleUnsafeError, p as AgentMemoryLifecycleTimeoutError, x as resolveMemoryCleanupTimeoutMs, y as createMemoryExecutionPool } from "../benchmarks-CPl4AO1k.js";
|
|
3
|
+
export { AgentMemoryHitSchema, AgentMemoryKindSchema, AgentMemoryLifecycleTimeoutError, AgentMemoryLifecycleUnsafeError, AgentMemoryScopeSchema, AgentMemoryWriteInputSchema, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, acquireAgentMemoryRunLease, agentMemorySequenceJudge, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, buildAgentMemorySequenceScenarios, buildAgentMemorySequencesFromBenchmarkCases, compareAgentMemoryLearning, createAgentMemoryBranch, createGraphitiMemoryAdapter, createMem0MemoryAdapter, createMemoryExecutionPool, createNeo4jAgentMemoryAdapter, defaultGetMemoryContext, deterministicRng, emitRetrievalHoldoutBypass, forkAgentMemoryBranchSnapshot, graphitiMemoryAdapterIdentity, mem0MemoryAdapterIdentity, memoryHitToSourceRecord, memoryRecoveryDelayMs, memoryWriteResultToSourceRecord, renderMemoryContext, resetRetrievalHoldoutRegistry, resolveMemoryCleanupTimeoutMs, retrievalHoldoutConfigHash, runAgentMemoryExperiment, runAgentMemoryImprovement, runAgentMemoryLearningExperiment, runBoundedMemoryLifecycle, sleepForMemoryRecovery, toOffPolicyTrajectory };
|