@tangle-network/agent-knowledge 6.2.0 → 7.0.2
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 +34 -1
- package/README.md +31 -1
- package/dist/benchmarks/index.d.ts +1 -1
- package/dist/benchmarks/index.js +1 -1
- package/dist/{benchmarks-CmW6iORW.js → benchmarks-CPl4AO1k.js} +74 -6
- package/dist/benchmarks-CPl4AO1k.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/{ids-DRqPZ42_.js → ids-Bevz_pXV.js} +6 -2
- package/dist/ids-Bevz_pXV.js.map +1 -0
- package/dist/{index-DHebFLgU.d.ts → index-BEVmwlfJ.d.ts} +186 -7
- package/dist/index-BEVmwlfJ.d.ts.map +1 -0
- package/dist/{index-3z3lFJnE.d.ts → index-D0wc4GYg.d.ts} +2 -2
- package/dist/{index-3z3lFJnE.d.ts.map → index-D0wc4GYg.d.ts.map} +1 -1
- package/dist/index.d.ts +42 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -35
- package/dist/index.js.map +1 -1
- package/dist/{inspect-LUMkas6A.js → inspect-CJQGYuKa.js} +156 -33
- package/dist/inspect-CJQGYuKa.js.map +1 -0
- package/dist/memory/index.d.ts +3 -3
- package/dist/memory/index.js +3 -3
- package/dist/{memory-C6KPRhoU.js → memory-DAFfGTJH.js} +1093 -194
- package/dist/memory-DAFfGTJH.js.map +1 -0
- package/dist/sources/index.js +1 -1
- package/dist/{types-Cd57BPRt.d.ts → types-BOfmvDe-.d.ts} +21 -6
- package/dist/{types-Cd57BPRt.d.ts.map → types-BOfmvDe-.d.ts.map} +1 -1
- package/dist/viz/index.d.ts +1 -1
- package/docs/architecture.md +10 -6
- package/package.json +3 -3
- package/dist/benchmarks-CmW6iORW.js.map +0 -1
- package/dist/ids-DRqPZ42_.js.map +0 -1
- package/dist/index-DHebFLgU.d.ts.map +0 -1
- package/dist/inspect-LUMkas6A.js.map +0 -1
- package/dist/memory-C6KPRhoU.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
1
|
+
import { O as SourceRecord } from "./types-BOfmvDe-.js";
|
|
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":";;;;;;;;UAeiB,yBAAyB,mBAAmB;EAC3D,UAAU,WAAW;EACrB,MAAM,kBAAkB;;UAGT,oBAAoB,mBAAmB;EACtD,OAAO;EACP;EACA;;KAGG,kBAAkB,kBAAkB,UAAU,aAAa,KAC9D,kCAAkC,WAAW;UAW9B,0CACf,mBAAmB,yBACnB,kBAAkB,UAClB,mBACQ,kBAAkB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;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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|
-
import {
|
|
1
|
+
import { O as SourceRecord, p as KnowledgeIndex } from "./types-BOfmvDe-.js";
|
|
2
2
|
import { AgentCandidateJsonValue } from "@tangle-network/agent-interface";
|
|
3
3
|
import { CampaignResult, CampaignStorage, CostLedgerHandle, DispatchContext, JudgeConfig, MutableSurface, Scenario } from "@tangle-network/agent-eval/campaign";
|
|
4
4
|
//#region src/memory/types.d.ts
|
|
@@ -677,4 +677,4 @@ declare function knowledgeBenchmarkJudge<TArtifact = KnowledgeBenchmarkArtifact>
|
|
|
677
677
|
declare function isKnowledgeMemoryBenchmarkCase(testCase: KnowledgeBenchmarkCase): testCase is KnowledgeMemoryBenchmarkCase;
|
|
678
678
|
//#endregion
|
|
679
679
|
export { RetrievalConfig as $, KnowledgeBenchmarkResponder as A, AgentMemoryScope as At, KnowledgeMemoryEvent as B, RetrievalHoldoutSessionState as Bt, KnowledgeBenchmarkArtifact as C, createInMemoryBenchmarkAdapter as Ct, KnowledgeBenchmarkEvaluation as D, AgentMemoryContext as Dt, KnowledgeBenchmarkDistribution as E, AgentMemoryBranchIsolation as Et, KnowledgeBenchmarkSplit as F, RetrievalHoldoutCallContext as Ft, MemoryAdapterBenchmarkCandidate as G, KnowledgeRetrievalBenchmarkCase as H, KnowledgeBenchmarkTaskKind as I, RetrievalHoldoutConfig as It, RunKnowledgeBenchmarkSuiteResult as J, MemoryAdapterBenchmarkRankingRow as K, KnowledgeClaimMatcher as L, RetrievalHoldoutEligibleItem as Lt, KnowledgeBenchmarkSliceSummary as M, AgentMemoryWriteInput as Mt, KnowledgeBenchmarkSource as N, AgentMemoryWriteResult as Nt, KnowledgeBenchmarkFamily as O, AgentMemoryHit as Ot, KnowledgeBenchmarkSpec as P, RetrievalHoldoutBypassReason as Pt, PartitionRetrievalScenariosOptions as Q, KnowledgeMemoryBenchmarkCase as R, RetrievalHoldoutEvent as Rt, KnowledgeAnswerBenchmarkTaskKind as S, acquireAgentMemoryRunLease as St, KnowledgeBenchmarkCaseBase as T, AgentMemoryAdapter as Tt, KnowledgeRetrievalBenchmarkQrel as U, KnowledgeMemoryFactMatcher as V, KnowledgeRetrievalBenchmarkQuery as W, RunMemoryAdapterBenchmarkResult as X, RunMemoryAdapterBenchmarkOptions as Y, BuildRetrievalEvalDispatchOptions as Z, buildIndustryRagBenchmarkSmokeCases as _, scoreRetrievalArtifact as _t, runKnowledgeBenchmarkSuite as a, RetrievalGoldTarget as at, BuildRetrievalBenchmarkCasesFromQrelsOptions as b, AgentMemoryRunLease as bt, buildRetrievalBenchmarkCasesFromQrels as c, RetrievalRecallJudgeOptions as ct, summarizeKnowledgeBenchmarkCampaign as d, RetrievedSourceSpan as dt, RetrievalEvalArtifact as et, runMemoryAdapterBenchmark as f, buildRetrievalEvalDispatch as ft, buildIndustryMemoryBenchmarkSmokeCases as g, retrievalRecallJudge as gt, buildFirstPartyMemoryLifecycleBenchmarkCases as h, retrievalConfigSurface as ht, renderKnowledgeBenchmarkReportMarkdown as i, RetrievalEvalScenario as it, KnowledgeBenchmarkScenario as j, AgentMemorySearchOptions as jt, KnowledgeBenchmarkReport as k, AgentMemoryKind as kt, parseKnowledgeBenchmarkJsonl as l, RetrievalScenarioPartitions as lt, INDUSTRY_RAG_BENCHMARKS as m, retrievalConfigFromSurface as mt, buildKnowledgeBenchmarkScenarios as n, RetrievalEvalRetrieverInput as nt, scoreKnowledgeBenchmarkArtifact as o, RetrievalMetricSummary as ot, INDUSTRY_MEMORY_BENCHMARKS as p, partitionRetrievalScenarios as pt, RunKnowledgeBenchmarkSuiteOptions as q, knowledgeBenchmarkJudge as r, RetrievalEvalRetrieverResult as rt, scoreMemoryBenchmarkArtifact as s, RetrievalMetricWeights as st, isKnowledgeMemoryBenchmarkCase as t, RetrievalEvalRetriever as tt, parseKnowledgeBenchmarkQrels as u, RetrievedKnowledgeHit as ut, respondToIndustryMemoryBenchmarkSmokeCase as v, AgentMemoryAcquireRunLease as vt, KnowledgeBenchmarkCase as w, createNoopMemoryBenchmarkAdapter as wt, KnowledgeAnswerBenchmarkCase as x, OwnedAgentMemoryRunLease as xt, respondToIndustryRagBenchmarkSmokeCase as y, AgentMemoryControllerMode as yt, KnowledgeMemoryBenchmarkTaskKind as z, RetrievalHoldoutResult as zt };
|
|
680
|
-
//# sourceMappingURL=index-
|
|
680
|
+
//# sourceMappingURL=index-D0wc4GYg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-D0wc4GYg.d.ts","names":[],"sources":["../src/memory/types.ts","../src/benchmarks/adapters.ts","../src/memory/run-control.ts","../src/retrieval-eval.ts","../src/benchmarks/types.ts","../src/benchmarks/catalog.ts","../src/benchmarks/memory-runner.ts","../src/benchmarks/metrics.ts","../src/benchmarks/retrieval.ts","../src/benchmarks/scoring.ts","../src/benchmarks/suite.ts","../src/benchmarks/validation.ts"],"mappings":";;;;KAEY;UAQK;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;;UAGQ;EACf;EACA;EACA,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;;UAGI;EACf;EACA;EACA,MAAM;EACN,eAAe;EACf,WAAW;;UAGI;EACf,QAAQ;EACR;EACA;EACA,QAAQ;EACR,WAAW;;;;;EAKX,UAAU;;UAGK;EACf,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR,WAAW;;UAGI;EACf;EACA;EACA;EACA,MAAM;EACN,eAAe;EACf,WAAW;;KAGD;EAEN;;EAEA;;EAEA;;EAGA;EACA;;EAEA;;EAEA;EAAqB;;UAEV;WACN;;WAEA,kBAAkB;EAC3B,OAAO,eAAe,UAAU,2BAA2B,QAAQ;EACnE,WAAW,eAAe,UAAU,2BAA2B,QAAQ;EACvE,MAAM,OAAO,wBAAwB,QAAQ;;EAE7C,OAAO,QAAQ,mBAAmB;EAClC,UAAU;EACV,UAAU;;;;;;;UASK;;EAEf;;E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B;iBAwDa,uCAAuC;EACrD,MAAM;IACJ;iBA8BY,uCACd,kBAAiB;EACf,UAAU;OAEX;iBA4Da,0CAA0C;EACxD,MAAM;IACJ;iBAiBY,gDAAgD;;;iBCpU1C,0BACpB,SAAS,mCACR,QAAQ;;;iBC9CK,oCAAoC,WAAW;EAC7D,oBAAoB;EACpB,UAAU,eAAe,WAAW;IAClC;;;iBCJY,6BAA6B,aAAa,eAAe;iBAczD,6BAA6B,eAAe;iBAqB5C,sCACd,SAAS,+CACR;;;iBC5Ba,gCAAgC,WAC9C,UAAU,wBACV,UAAU,YACT;iBA0Da,6BAA6B,WAC3C,UAAU,8BACV,UAAU,YACT;;;iBClDmB,2BAA2B,YAAY,4BAC3D,SAAS,kCAAkC,aAC1C,QAAQ,iCAAiC;iBA2D5B,uCAAuC,QAAQ;iBA+B/C,iCACd,gBAAgB,0BAChB,kBAAkB,4BACjB;iBAmBa,wBAAwB,YAAY,+BAA+B,YACjF,WACA;;;iBC9Ic,+BACd,UAAU,yBACT,YAAY"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as ResearchClaimEvidence, D as
|
|
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-
|
|
3
|
-
import { $ as
|
|
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
|
+
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 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";
|
|
@@ -135,6 +135,8 @@ interface AddSourceTextInput {
|
|
|
135
135
|
lastVerifiedAt?: string;
|
|
136
136
|
metadata?: Record<string, unknown>;
|
|
137
137
|
}
|
|
138
|
+
/** Copy and freeze an untrusted source proposal before any asynchronous work. */
|
|
139
|
+
declare function snapshotSourceTextInput(input: AddSourceTextInput): AddSourceTextInput;
|
|
138
140
|
declare function loadSourceRegistry(root: string): Promise<SourceRegistry>;
|
|
139
141
|
declare function writeSourceRegistry(root: string, registry: SourceRegistry): Promise<void>;
|
|
140
142
|
declare function addSourcePath(root: string, sourcePath: string, options?: AddSourceOptions): Promise<SourceRecord[]>;
|
|
@@ -243,7 +245,7 @@ interface DriverResearchContext {
|
|
|
243
245
|
* a synchronous hook produced is on disk before the next round can crash.
|
|
244
246
|
* - `prepareFold` — durably announce the next synchronous fold before it runs,
|
|
245
247
|
* so a crash between question generation and `checkpoint` can be recovered.
|
|
246
|
-
* - `commitSources` — confirm source records are durable after verification;
|
|
248
|
+
* - `commitSources` — confirm exact source records are durable after verification;
|
|
247
249
|
* drivers with pending evidence must not count it before this callback.
|
|
248
250
|
*/
|
|
249
251
|
interface ResearchDriver {
|
|
@@ -251,7 +253,7 @@ interface ResearchDriver {
|
|
|
251
253
|
research?(ctx: DriverResearchContext): Promise<ResearchContribution> | ResearchContribution;
|
|
252
254
|
foldGaps?(gaps: KnowledgeGap[]): string;
|
|
253
255
|
prepareFold?(): Promise<void> | void;
|
|
254
|
-
commitSources?(
|
|
256
|
+
commitSources?(sources: readonly SourceRecord[]): Promise<void> | void;
|
|
255
257
|
checkpoint?(): Promise<void> | void;
|
|
256
258
|
}
|
|
257
259
|
type SourceVerdict = {
|
|
@@ -1631,7 +1633,9 @@ declare function createClaimDecorator(options?: WorkerClaimDecorationOptions): (
|
|
|
1631
1633
|
*/
|
|
1632
1634
|
declare function claimId(text: string): string;
|
|
1633
1635
|
/** Stable identity for one extracted claim/source/contradiction observation. */
|
|
1634
|
-
declare function claimEvidenceId(claim: Pick<ResearchClaimEvidence, 'claimId' | 'sourceUri' | 'contradictsClaimId'>): string;
|
|
1636
|
+
declare function claimEvidenceId(claim: Pick<ResearchClaimEvidence, 'claimId' | 'sourceId' | 'sourceUri' | 'sourceContentHash' | 'contradictsClaimId'>): string;
|
|
1637
|
+
/** Canonical key for one exact registry-id + original-URI + hash source version. */
|
|
1638
|
+
declare function researchSourceVersionKey(source: Pick<ResearchSourceVersion, 'sourceId' | 'uri' | 'contentHash'>): string;
|
|
1635
1639
|
/** Case-, whitespace-, and stylistic-punctuation-insensitive claim identity form. */
|
|
1636
1640
|
declare function normalizeClaimText(text: string): string;
|
|
1637
1641
|
/**
|
|
@@ -1713,11 +1717,10 @@ declare function mergeClaimLedgers(base: ResearchClaimLedger, incoming: Research
|
|
|
1713
1717
|
* the same rule stated over a whole ledger, for writers that assemble one from
|
|
1714
1718
|
* events rather than from a live loop.
|
|
1715
1719
|
*
|
|
1716
|
-
*
|
|
1717
|
-
*
|
|
1718
|
-
*
|
|
1719
|
-
*
|
|
1720
|
-
* because the counterpart has not shown up yet is the failure this prevents.
|
|
1720
|
+
* One-sided observations stay in `claimEvidence` until both claims are backed
|
|
1721
|
+
* by registered source versions. The materialized claim projection contains
|
|
1722
|
+
* only closed pairs, so it cannot report a lone weak claim as settled merely
|
|
1723
|
+
* because its evidence named a claim that never arrived.
|
|
1721
1724
|
*/
|
|
1722
1725
|
declare function linkClaimContradictions(ledger: ResearchClaimLedger): ResearchClaimLedger;
|
|
1723
1726
|
//#endregion
|
|
@@ -1998,6 +2001,8 @@ declare function buildKnowledgeGraph(pages: KnowledgePage[]): KnowledgeGraph;
|
|
|
1998
2001
|
declare function sha256(text: string): string;
|
|
1999
2002
|
declare function slugify(input: string): string;
|
|
2000
2003
|
declare function stableId(prefix: string, content: string): string;
|
|
2004
|
+
/** Canonical registry id for exact text submitted at one original URI. */
|
|
2005
|
+
declare function textSourceId(uri: string, contentHash: string): string;
|
|
2001
2006
|
//#endregion
|
|
2002
2007
|
//#region src/indexer.d.ts
|
|
2003
2008
|
declare function buildKnowledgeIndex(root: string): Promise<KnowledgeIndex>;
|
|
@@ -2286,6 +2291,12 @@ declare const KB_INDEX_PATH = ".agent-knowledge/index.json";
|
|
|
2286
2291
|
declare const KB_EVENTS_PATH = ".agent-knowledge/events.json";
|
|
2287
2292
|
declare const KB_CLAIM_LEDGER_DIR = ".agent-knowledge/claim-ledgers";
|
|
2288
2293
|
declare function assertClaimLedgerId(id: string): string;
|
|
2294
|
+
/** A URI-only ledger cannot be upgraded without re-verifying its source bytes. */
|
|
2295
|
+
declare class ClaimLedgerMigrationRequiredError extends Error {
|
|
2296
|
+
readonly ledgerId: string;
|
|
2297
|
+
readonly foundSchemaVersion: number | 'unversioned';
|
|
2298
|
+
constructor(ledgerId: string, foundSchemaVersion: number | 'unversioned');
|
|
2299
|
+
}
|
|
2289
2300
|
interface KbStore {
|
|
2290
2301
|
putSource(source: SourceRecord): Promise<void>;
|
|
2291
2302
|
getSource(id: string): Promise<SourceRecord | null>;
|
|
@@ -2677,10 +2688,11 @@ interface ResearchDrivingDriver extends ResearchDriver {
|
|
|
2677
2688
|
/** Durably announce the next synchronous fold before it begins. */
|
|
2678
2689
|
prepareFold(): Promise<void>;
|
|
2679
2690
|
/**
|
|
2680
|
-
* Confirm
|
|
2681
|
-
*
|
|
2691
|
+
* Confirm exact registered source records.
|
|
2692
|
+
* URI equality alone is insufficient: pending evidence is authorized only
|
|
2693
|
+
* when its expected content hash matches the registered record.
|
|
2682
2694
|
*/
|
|
2683
|
-
commitSources(
|
|
2695
|
+
commitSources(sources: readonly SourceRecord[]): Promise<void>;
|
|
2684
2696
|
/** The ledger record as it would be written right now. */
|
|
2685
2697
|
toLedger(): ResearchClaimLedger;
|
|
2686
2698
|
}
|
|
@@ -2857,15 +2869,23 @@ declare const ResearchClaimRecordSchema: z.ZodObject<{
|
|
|
2857
2869
|
contested: z.ZodBoolean;
|
|
2858
2870
|
firstSeenRound: z.ZodNumber;
|
|
2859
2871
|
}, z.core.$strict>;
|
|
2872
|
+
declare const ResearchSourceVersionSchema: z.ZodObject<{
|
|
2873
|
+
sourceId: z.ZodString;
|
|
2874
|
+
uri: z.ZodString;
|
|
2875
|
+
contentHash: z.ZodString;
|
|
2876
|
+
}, z.core.$strict>;
|
|
2860
2877
|
declare const ResearchClaimEvidenceSchema: z.ZodObject<{
|
|
2861
2878
|
id: z.ZodString;
|
|
2862
2879
|
claimId: z.ZodString;
|
|
2863
2880
|
text: z.ZodString;
|
|
2881
|
+
sourceId: z.ZodString;
|
|
2864
2882
|
sourceUri: z.ZodString;
|
|
2883
|
+
sourceContentHash: z.ZodString;
|
|
2865
2884
|
contradictsClaimId: z.ZodOptional<z.ZodString>;
|
|
2866
2885
|
firstSeenRound: z.ZodNumber;
|
|
2867
2886
|
}, z.core.$strict>;
|
|
2868
2887
|
declare const ResearchClaimLedgerSchema: z.ZodObject<{
|
|
2888
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
2869
2889
|
id: z.ZodString;
|
|
2870
2890
|
goal: z.ZodOptional<z.ZodString>;
|
|
2871
2891
|
updatedAt: z.ZodISODateTime;
|
|
@@ -2875,11 +2895,17 @@ declare const ResearchClaimLedgerSchema: z.ZodObject<{
|
|
|
2875
2895
|
id: z.ZodString;
|
|
2876
2896
|
claimId: z.ZodString;
|
|
2877
2897
|
text: z.ZodString;
|
|
2898
|
+
sourceId: z.ZodString;
|
|
2878
2899
|
sourceUri: z.ZodString;
|
|
2900
|
+
sourceContentHash: z.ZodString;
|
|
2879
2901
|
contradictsClaimId: z.ZodOptional<z.ZodString>;
|
|
2880
2902
|
firstSeenRound: z.ZodNumber;
|
|
2881
2903
|
}, z.core.$strict>>;
|
|
2882
|
-
|
|
2904
|
+
registeredSources: z.ZodArray<z.ZodObject<{
|
|
2905
|
+
sourceId: z.ZodString;
|
|
2906
|
+
uri: z.ZodString;
|
|
2907
|
+
contentHash: z.ZodString;
|
|
2908
|
+
}, z.core.$strict>>;
|
|
2883
2909
|
claims: z.ZodArray<z.ZodObject<{
|
|
2884
2910
|
id: z.ZodString;
|
|
2885
2911
|
text: z.ZodString;
|
|
@@ -2991,5 +3017,5 @@ declare function normalizeLinkTarget(target: string): string;
|
|
|
2991
3017
|
declare function isSafeKnowledgePath(path: string, allowedPrefixes?: string[]): boolean;
|
|
2992
3018
|
declare function parseKnowledgeWriteBlocks(text: string, allowedPrefixes?: string[]): KnowledgeWriteParseResult;
|
|
2993
3019
|
//#endregion
|
|
2994
|
-
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, 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, 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, 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, sourceMatchesGaps, sourceRegistryPath, stableId, stripFrontmatter, summarizeKnowledgeBenchmarkCampaign, syncDirectory, textSourceAdapter, 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 };
|
|
2995
3021
|
//# sourceMappingURL=index.d.ts.map
|