@tangle-network/agent-knowledge 8.0.6 → 8.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/benchmarks/index.d.ts +1 -1
- package/dist/benchmarks/index.js +1 -1
- package/dist/{benchmarks-CPl4AO1k.js → benchmarks-B_07vX0Q.js} +2 -2
- package/dist/{benchmarks-CPl4AO1k.js.map → benchmarks-B_07vX0Q.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{index-BEVmwlfJ.d.ts → index-BPNsQVSx.d.ts} +3 -3
- package/dist/{index-BEVmwlfJ.d.ts.map → index-BPNsQVSx.d.ts.map} +1 -1
- package/dist/{index-D0wc4GYg.d.ts → index-CLNBGN_f.d.ts} +2 -2
- package/dist/{index-D0wc4GYg.d.ts.map → index-CLNBGN_f.d.ts.map} +1 -1
- package/dist/index.d.ts +214 -23
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +201 -122
- package/dist/index.js.map +1 -1
- package/dist/{inspect-CJQGYuKa.js → inspect-B7AJ7CZS.js} +528 -216
- package/dist/inspect-B7AJ7CZS.js.map +1 -0
- package/dist/memory/index.d.ts +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/{memory-BtZWplh5.js → memory-BPgPIEhj.js} +2 -2
- package/dist/{memory-BtZWplh5.js.map → memory-BPgPIEhj.js.map} +1 -1
- package/dist/{search-CP0QtBJZ.js → search-CtVJ0PKX.js} +24 -5
- package/dist/search-CtVJ0PKX.js.map +1 -0
- package/dist/{types-BOfmvDe-.d.ts → types-CXZS0w00.d.ts} +23 -3
- package/dist/types-CXZS0w00.d.ts.map +1 -0
- package/dist/viz/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/inspect-CJQGYuKa.js.map +0 -1
- package/dist/search-CP0QtBJZ.js.map +0 -1
- package/dist/types-BOfmvDe-.d.ts.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { n as searchKnowledge } from "./search-
|
|
2
|
+
import { I as layoutFor, P as initKnowledgeBase, _ as writeKnowledgeIndex, a as applyKnowledgeWriteBlocksFile, b as loadSourceRegistry, c as validateKnowledgeIndex, l as lintKnowledgeIndex, n as inspectKnowledgeIndex, t as explainKnowledgeTarget, v as addSourcePath } from "./inspect-B7AJ7CZS.js";
|
|
3
|
+
import { n as searchKnowledge } from "./search-CtVJ0PKX.js";
|
|
4
4
|
import { detectKnowledgeGaps, findSurprisingConnections, toKnowledgeVizGraph } from "./viz/index.js";
|
|
5
5
|
import { join, resolve } from "node:path";
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { k as SourceRecord } from "./types-CXZS0w00.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-CLNBGN_f.js";
|
|
3
3
|
import { AgentCandidateJsonValue } from "@tangle-network/agent-interface";
|
|
4
4
|
import { CostChannel, CostReceipt, PairedBootstrapResult, RunPaidCallInput } from "@tangle-network/agent-eval";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1033,4 +1033,4 @@ declare function memoryWriteResultToSourceRecord(result: AgentMemoryWriteResult,
|
|
|
1033
1033
|
}): SourceRecord;
|
|
1034
1034
|
//#endregion
|
|
1035
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-
|
|
1036
|
+
//# sourceMappingURL=index-BPNsQVSx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BPNsQVSx.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,WAAW;;EAErC;EACA,UAAU;EACV,QAAQ,mBAAmB,WAAW;EACtC,yBAAyB;EACzB,6BAA6B;EAC7B,yBAAyB;EACzB,kBAAkB;IAChB,WAAW;IACX;IACA;IACA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,WAAW;;;UAII;EACf;EACA;EACA,QAAQ;;KAGE,kCAAkC,KAAK,KACjD,iBAAiB;EAGjB,UAAU;;KAGA,kCAAkC,KAAK;KAEvC,mCAAmC;EAEzC;EACA;EACA,OAAO;EACP,SAAS;;EAGT;EACA;EACA,OAAO;EACP,UAAU;;UAGC;EACf,YAAY,GACV,OAAO,kCAAkC,KACxC,QAAQ,mCAAmC;;;UAI/B;WACN,QAAQ;WACR,MAAM;;UAGA;EACf;EACA,QAAQ;EACR,QAAQ;EACR,gBAAgB;;EAEhB,yBAAyB;EACzB;EACA,WAAW;;UAGI;EACf;EACA,cAAc;IACZ,OAAO;IACP,MAAM;IACN;QACI;EACN,cAAc,UAAU,iCAAiC;;UAG1C;EACf;EACA;;EAEA;;EAEA,cAAc;IACZ;IACA;IACA,QAAQ;;IAER;IACA;;IAEA,mBAAmB;MACjB,4BAA4B,QAAQ;EACxC,SAAS;EACT,YAAY;;EAEZ;;EAEA;;EAEA;;EAEA,gBAAgB,SAAS,qBAAqB;;UAG/B;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA;;EAEA,aAAa;EACb;;UAGe;EACf;EACA;EACA,YAAY;EACZ,eAAe;EACf;EACA;EACA,YAAY;EACZ,uBAAuB;EACvB,iBAAiB;EACjB;EACA;EACA;;UAGe,oCAAoC;EACnD;EACA;EACA;EACA,UAAU;EACV;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;;UAGG;EACf;EACA;EACA;EACA;EACA;EACA,qBAAqB;EACrB,sBAAsB;;EAEtB;EACA;EACA;EACA;;UAGe;EACf;EACA;;EAEA,MAAM;;UAGS;EACf;EACA;EACA;EACA;EACA;EACA;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;E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AAQ;;;;KC9MnC;UAEF;EACR;EACA;;UAGQ;EACR;EACA;EACA;;UAGQ;EACR,UAAU;EACV;EACA;EACA;EACA;;UAGe;EACf,MACE,UAAU,eACV,SAAS;IACP;IACA,WAAW;IACX;QAEC;EACL,SAAS,eAAe,SAAS;IAAsB;QAA2B;EAClF,UAAU;IACR,UAAU;IACV;IACA;IACA;IACA;QACI;EACN,UAAU,qBAAqB;;UAGhB;EACf,MACE,UAAU,eACV,SAAS;IACP,WAAW;IACX,UAAU;IACV;QAEC;EACL,SAAS,eAAe,SAAS,sBAAsB;EACvD,UAAU;IACR,UAAU;IACV;IACA;QACI;EACN,UAAU,qBAAqB;;UAGvB;EACR;EACA;EACA;;EAEA;EACA;;EAEA;EACA,eAAe;;UAGA,uCAAuC;EACtD,QAAQ;EACR;EACA;EACA;;UAGe,oCAAoC;EACnD,QAAQ;EACR;EACA;EACA;;KAGU,2BAA2B,iCAAiC;;iBAUxD,wBAAwB,SAAS,2BAA2B;;iBAimB5D,0BACd,SAAS,KACP;EAUI;;;;UC3sBS;EACf;;EAEA;;EAEA;EACA;;EAEA;;iBAGc,8BACd,SAAS,iCACR;;;cC1BU,uBAAqB,EAAA;;;;;;;;cASrB,wBAAsB,EAAA;;;;;;;;;GASjC,EAAA,KAAA;cAEW,sBAAoB,EAAA;;;;;;;;;;;;;;;;;;;;GAa/B,EAAA,KAAA;cAEW,6BAA2B,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAetC,EAAA,KAAA;;;iBChDc,wBACd,KAAK,gBACL;EAAW,YAAY;EAAM,QAAQ;IACpC;iBAyBa,gCACd,QAAQ,wBACR,cACA;EAAW,YAAY;EAAM,QAAQ;IACpC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as SourceRecord, p as KnowledgeIndex } from "./types-CXZS0w00.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-CLNBGN_f.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CLNBGN_f.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;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;EAQA;;;;;EAKA;;;;;EAKA,OAAO;;EAEP,UAAU,OAAO;;UAGF;EACf;;EAEA;EACA;EACA;;EAEA;;UAGe;EACf;E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1C,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,12 +1,12 @@
|
|
|
1
|
-
import { A 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 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-
|
|
1
|
+
import { A as SourceRegistry, C as KnowledgeWriteParseResult, D as ResearchSourceVersion, E as ResearchClaimRecord, O as SourceAnchor, S as KnowledgeWriteBlock, T as ResearchClaimLedger, _ as KnowledgePolicy, a as KnowledgeBaseCandidate, b as KnowledgeSearchResult, c as KnowledgeEventType, d as KnowledgeGraphNode, f as KnowledgeId, g as KnowledgePageInvalidation, h as KnowledgePage, i as KNOWLEDGE_EVENT_TYPES, j as TrackedClaim, k as SourceRecord, 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 KnowledgeRelation, w as ResearchClaimEvidence, x as KnowledgeUnit, y as KnowledgeRelease } from "./types-CXZS0w00.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-CLNBGN_f.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-BPNsQVSx.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";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { ComparisonCost, DispatchContext, JudgeConfig, OptimizationMethod, Scenario } from "@tangle-network/agent-eval/campaign";
|
|
9
|
-
import "proper-lockfile";
|
|
9
|
+
import { LockOptions } from "proper-lockfile";
|
|
10
10
|
//#region src/adapters.d.ts
|
|
11
11
|
interface SourceAdapterInput {
|
|
12
12
|
uri: string;
|
|
@@ -857,6 +857,60 @@ interface RunRagKnowledgeImprovementLoopResult {
|
|
|
857
857
|
type MaybePromise$1<T> = T | Promise<T>;
|
|
858
858
|
declare function runRagKnowledgeImprovementLoop(options: RunRagKnowledgeImprovementLoopOptions): Promise<RunRagKnowledgeImprovementLoopResult>;
|
|
859
859
|
//#endregion
|
|
860
|
+
//#region src/rag-eval/near-duplicates.d.ts
|
|
861
|
+
interface NearDuplicateDetectionOptions {
|
|
862
|
+
/** Jaccard similarity at or above which a pair is reported. Defaults to 0.82. */
|
|
863
|
+
threshold?: number;
|
|
864
|
+
/** Minimum normalized characters before a page participates. Defaults to 80. */
|
|
865
|
+
minCharacters?: number;
|
|
866
|
+
/** Word-shingle width. Defaults to 5. */
|
|
867
|
+
wordShingleSize?: number;
|
|
868
|
+
/** Character-shingle width used for text with too few words. Defaults to 16. */
|
|
869
|
+
characterShingleSize?: number;
|
|
870
|
+
/** Ignore a shingle occurring in more pages than this. Defaults to 64. */
|
|
871
|
+
maxDocumentFrequency?: number;
|
|
872
|
+
/** Stop adding candidate pairs after this many. Defaults to 250,000. */
|
|
873
|
+
maxCandidatePairs?: number;
|
|
874
|
+
/** Maximum duplicate pairs retained in the report. Defaults to 1,000. */
|
|
875
|
+
maxReportedPairs?: number;
|
|
876
|
+
}
|
|
877
|
+
interface NearDuplicatePair {
|
|
878
|
+
leftPageId: string;
|
|
879
|
+
leftPath: string;
|
|
880
|
+
rightPageId: string;
|
|
881
|
+
rightPath: string;
|
|
882
|
+
similarity: number;
|
|
883
|
+
intersectionSize: number;
|
|
884
|
+
unionSize: number;
|
|
885
|
+
exact: boolean;
|
|
886
|
+
}
|
|
887
|
+
interface NearDuplicateReport {
|
|
888
|
+
algorithm: 'deterministic-shingle-jaccard-v1';
|
|
889
|
+
threshold: number;
|
|
890
|
+
pageCount: number;
|
|
891
|
+
eligiblePageCount: number;
|
|
892
|
+
candidatePairCount: number;
|
|
893
|
+
comparedPairCount: number;
|
|
894
|
+
duplicatePairCount: number;
|
|
895
|
+
duplicatePageCount: number;
|
|
896
|
+
duplicatePageRate: number;
|
|
897
|
+
truncated: boolean;
|
|
898
|
+
pairs: NearDuplicatePair[];
|
|
899
|
+
}
|
|
900
|
+
/**
|
|
901
|
+
* Detect exact and near-duplicate pages without a model, embedding service, or clock.
|
|
902
|
+
*
|
|
903
|
+
* The detector uses word shingles when prose has enough tokens and Unicode
|
|
904
|
+
* character shingles otherwise. An inverted index proposes candidate pairs;
|
|
905
|
+
* high-document-frequency shingles are ignored so common boilerplate cannot
|
|
906
|
+
* make candidate generation quadratic. Exact normalized copies are always
|
|
907
|
+
* proposed before ordinary shingle candidates, even when every shingle is
|
|
908
|
+
* common. Every limit and sort order is explicit so the same corpus produces
|
|
909
|
+
* the same report on every run.
|
|
910
|
+
*/
|
|
911
|
+
declare function detectNearDuplicatePages(pages: readonly KnowledgePage[], options?: NearDuplicateDetectionOptions): NearDuplicateReport;
|
|
912
|
+
declare function normalizePageText(value: string): string;
|
|
913
|
+
//#endregion
|
|
860
914
|
//#region src/rag-eval/contracts.d.ts
|
|
861
915
|
type RagEvalProvider = 'agent-knowledge' | 'ragas' | 'deepeval' | 'trulens' | 'ragchecker' | 'custom';
|
|
862
916
|
type RagEvalMetricKey = 'context_precision' | 'context_recall' | 'context_relevance' | 'context_sufficiency' | 'faithfulness' | 'groundedness' | 'answer_relevance' | 'answer_correctness' | 'citation_support' | 'abstention' | 'unsupported_answer_rate';
|
|
@@ -979,6 +1033,10 @@ interface KnowledgeBaseQualityOptions {
|
|
|
979
1033
|
strict?: boolean;
|
|
980
1034
|
minCitationRate?: number;
|
|
981
1035
|
maxStaleSourceRate?: number;
|
|
1036
|
+
/** Deterministic exact/near-duplicate detector configuration. */
|
|
1037
|
+
nearDuplicates?: NearDuplicateDetectionOptions;
|
|
1038
|
+
/** Maximum allowed fraction of eligible pages implicated in a duplicate pair. Defaults to 1. */
|
|
1039
|
+
maxNearDuplicatePageRate?: number;
|
|
982
1040
|
}
|
|
983
1041
|
interface KnowledgeBaseQualityReport {
|
|
984
1042
|
ok: boolean;
|
|
@@ -991,7 +1049,13 @@ interface KnowledgeBaseQualityReport {
|
|
|
991
1049
|
duplicate_source_hash_rate: number;
|
|
992
1050
|
lint_error_count: number;
|
|
993
1051
|
lint_warning_count: number;
|
|
1052
|
+
/** Added in the deterministic near-duplicate quality pass. */
|
|
1053
|
+
near_duplicate_page_rate?: number;
|
|
1054
|
+
near_duplicate_page_count?: number;
|
|
1055
|
+
near_duplicate_pair_count?: number;
|
|
994
1056
|
};
|
|
1057
|
+
/** Exact report from the deterministic detector; present when produced by this package. */
|
|
1058
|
+
nearDuplicates?: NearDuplicateReport;
|
|
995
1059
|
findings: readonly RagGapFinding[];
|
|
996
1060
|
}
|
|
997
1061
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -1395,6 +1459,24 @@ interface KnowledgeImprovementEvent extends Record<string, unknown> {
|
|
|
1395
1459
|
}
|
|
1396
1460
|
declare function loadKnowledgeImprovementEvents(root: string, runId: string): Promise<KnowledgeImprovementEvent[]>;
|
|
1397
1461
|
//#endregion
|
|
1462
|
+
//#region src/file-transaction.d.ts
|
|
1463
|
+
declare const transactionSchema: z.ZodObject<{
|
|
1464
|
+
kind: z.ZodLiteral<"knowledge-file-transaction">;
|
|
1465
|
+
transactionId: z.ZodString;
|
|
1466
|
+
purpose: z.ZodString;
|
|
1467
|
+
recoveryOwner: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
createdAt: z.ZodString;
|
|
1469
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
1470
|
+
index: z.ZodNumber;
|
|
1471
|
+
path: z.ZodString;
|
|
1472
|
+
beforeHash: z.ZodNullable<z.ZodString>;
|
|
1473
|
+
afterHash: z.ZodNullable<z.ZodString>;
|
|
1474
|
+
beforeMode: z.ZodOptional<z.ZodNumber>;
|
|
1475
|
+
afterMode: z.ZodOptional<z.ZodNumber>;
|
|
1476
|
+
}, z.core.$strict>>;
|
|
1477
|
+
}, z.core.$strict>;
|
|
1478
|
+
type KnowledgeFileTransaction = z.infer<typeof transactionSchema>;
|
|
1479
|
+
//#endregion
|
|
1398
1480
|
//#region src/kb-improvement/transition.d.ts
|
|
1399
1481
|
/** Promote one previously measured candidate without rerunning research or evaluation. */
|
|
1400
1482
|
declare function promoteKnowledgeCandidate(options: PromoteKnowledgeCandidateOptions): Promise<KnowledgeImprovementMutationResult>;
|
|
@@ -1570,9 +1652,9 @@ interface ClaimEvidence {
|
|
|
1570
1652
|
/**
|
|
1571
1653
|
* The evidence recorded for a claim cannot be graded at the rung it was recorded at.
|
|
1572
1654
|
*
|
|
1573
|
-
* One error type for
|
|
1574
|
-
*
|
|
1575
|
-
* same words the grader reports, so an author reads one message wherever the claim is stopped.
|
|
1655
|
+
* One error type for every mechanically refused shape, because the grader reaches one verdict for
|
|
1656
|
+
* all of them: `uncheckable`. `note` names which shape was refused and what to record instead, in
|
|
1657
|
+
* the same words the grader reports, so an author reads one message wherever the claim is stopped.
|
|
1576
1658
|
*/
|
|
1577
1659
|
declare class UncheckableClaimError extends Error {
|
|
1578
1660
|
/** The rung whose evidence rule the recorded claim failed. */
|
|
@@ -1582,12 +1664,18 @@ declare class UncheckableClaimError extends Error {
|
|
|
1582
1664
|
constructor(rung: EvidenceRung, note: string);
|
|
1583
1665
|
}
|
|
1584
1666
|
/**
|
|
1585
|
-
* Refuse the evidence shapes that made self-grading possible. Call at record
|
|
1586
|
-
* time: by grading it is too late — the ungradeable claim has already circulated
|
|
1667
|
+
* Refuse the evidence shapes that made self-grading and false refutation possible. Call at record
|
|
1668
|
+
* time, not grade time: by grading it is too late — the ungradeable claim has already circulated.
|
|
1587
1669
|
*
|
|
1588
|
-
* At and above `CHECKABLE_RUNG_THRESHOLD` this refuses
|
|
1589
|
-
* `
|
|
1590
|
-
*
|
|
1670
|
+
* At and above `CHECKABLE_RUNG_THRESHOLD` this refuses every statically recognizable shape that
|
|
1671
|
+
* `gradeFor` grades `uncheckable`: no check, a check that cannot fail, an unusable expectation,
|
|
1672
|
+
* or the escaped-newline command shape. Below the threshold nothing is refused.
|
|
1673
|
+
*
|
|
1674
|
+
* Four additional rules are calibrated on downstream losses, not taste: four correct claims died
|
|
1675
|
+
* from multiline expectations, two from brittle multi-value expectations, one campaign recorded
|
|
1676
|
+
* an enormous first word made of literal `\\n` sequences, and a 299-run fleet autopsy reduced ten
|
|
1677
|
+
* reported grader failures to checks that were never executed before their authors disappeared.
|
|
1678
|
+
* The dynamic half of that last rule is `verifyGradeableEvidence` below.
|
|
1591
1679
|
*/
|
|
1592
1680
|
declare function assertGradeableEvidence(evidence: ClaimEvidence): ClaimEvidence;
|
|
1593
1681
|
/**
|
|
@@ -1600,8 +1688,7 @@ declare function assertGradeableEvidence(evidence: ClaimEvidence): ClaimEvidence
|
|
|
1600
1688
|
* lacks the expectation
|
|
1601
1689
|
* unrunnable the check itself could not execute (missing input, missing module) — an
|
|
1602
1690
|
* environment verdict, never a claim verdict
|
|
1603
|
-
* uncheckable the recorded evidence cannot decide the claim at this rung
|
|
1604
|
-
* expectation for the check to print, or a check that cannot fail
|
|
1691
|
+
* uncheckable the recorded evidence cannot decide the claim at this rung
|
|
1605
1692
|
*/
|
|
1606
1693
|
type ClaimVerdict = 'verified' | 'silent-check' | 'contradicted' | 'unrunnable' | 'uncheckable';
|
|
1607
1694
|
interface CheckExecution {
|
|
@@ -1618,16 +1705,38 @@ interface ClaimGrade {
|
|
|
1618
1705
|
/**
|
|
1619
1706
|
* The calibrated verdict function, pure so every grader shares one semantics. Callers execute the
|
|
1620
1707
|
* check however their environment requires and pass the observation; this function only judges.
|
|
1621
|
-
*
|
|
1622
|
-
* At and above `CHECKABLE_RUNG_THRESHOLD` a check must be able to fail. An acceptance criterion
|
|
1623
|
-
* that cannot fail is not one, so a constant-emitter check and a check with nothing to print are
|
|
1624
|
-
* `uncheckable`: the check did not decide the claim. They are not `contradicted`, because nothing
|
|
1625
|
-
* contradicted the claim. An execution that ran and refuted the claim still outranks both, so a
|
|
1626
|
-
* missing input stays `unrunnable` and a nonzero exit stays `contradicted`.
|
|
1627
1708
|
*/
|
|
1628
1709
|
declare function gradeFor(evidence: Pick<ClaimEvidence, 'rung' | 'check' | 'expect'>, execution: CheckExecution | null): ClaimGrade;
|
|
1629
1710
|
/** The verdict alone, for graders that report a lattice member and not a reason. */
|
|
1630
1711
|
declare function verdictFor(evidence: Pick<ClaimEvidence, 'rung' | 'check' | 'expect'>, execution: CheckExecution | null): ClaimVerdict;
|
|
1712
|
+
interface VerifyGradeableEvidenceOptions {
|
|
1713
|
+
/** Directory in which the later grader will execute the command. Required to avoid ambient cwd. */
|
|
1714
|
+
cwd: string;
|
|
1715
|
+
/** Exact environment visible to the command. Omitted variables are genuinely absent. */
|
|
1716
|
+
env?: NodeJS.ProcessEnv;
|
|
1717
|
+
/** Bash-compatible executable. Defaults to `bash`. */
|
|
1718
|
+
bashPath?: string;
|
|
1719
|
+
/** Per syntax or execution process timeout. Defaults to 30 seconds. */
|
|
1720
|
+
timeoutMs?: number;
|
|
1721
|
+
/** Combined stdout/stderr buffer ceiling. Defaults to 1 MiB. */
|
|
1722
|
+
maxBufferBytes?: number;
|
|
1723
|
+
signal?: AbortSignal;
|
|
1724
|
+
}
|
|
1725
|
+
interface VerifiedGradeableEvidence {
|
|
1726
|
+
evidence: ClaimEvidence;
|
|
1727
|
+
execution: CheckExecution;
|
|
1728
|
+
grade: ClaimGrade;
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Parse, execute, and grade evidence at intake using the same cwd and environment the blind grader
|
|
1732
|
+
* will use later.
|
|
1733
|
+
*
|
|
1734
|
+
* This function executes `evidence.check` verbatim. It is intentionally opt-in, Node-only at call
|
|
1735
|
+
* time, and dynamically imports `node:child_process` so edge consumers that never invoke it remain
|
|
1736
|
+
* importable. Callers must apply their own sandbox and capability policy before passing untrusted
|
|
1737
|
+
* commands here.
|
|
1738
|
+
*/
|
|
1739
|
+
declare function verifyGradeableEvidence(evidence: ClaimEvidence, options: VerifyGradeableEvidenceOptions): Promise<VerifiedGradeableEvidence>;
|
|
1631
1740
|
//#endregion
|
|
1632
1741
|
//#region src/claim-grounding.d.ts
|
|
1633
1742
|
/**
|
|
@@ -2562,6 +2671,28 @@ declare function materialFactsSurfacedInText(company: CompanyEvalCase, kbText: s
|
|
|
2562
2671
|
declare function materialFactsSurfaced(kb: string | KnowledgeIndex, checklist: CompanyEvalCase): Promise<MaterialFactsResult>;
|
|
2563
2672
|
//#endregion
|
|
2564
2673
|
//#region src/mutation-lock.d.ts
|
|
2674
|
+
interface KnowledgeMutationLock {
|
|
2675
|
+
readonly transactionRoot: string;
|
|
2676
|
+
readonly recovery?: KnowledgeMutationRecovery;
|
|
2677
|
+
assertOwned(): void;
|
|
2678
|
+
}
|
|
2679
|
+
interface KnowledgeMutationRecovery {
|
|
2680
|
+
transactionId: string;
|
|
2681
|
+
purpose: string;
|
|
2682
|
+
direction: 'apply' | 'rollback';
|
|
2683
|
+
transaction: KnowledgeFileTransaction;
|
|
2684
|
+
}
|
|
2685
|
+
interface KnowledgeMutationOptions {
|
|
2686
|
+
staleMs?: number;
|
|
2687
|
+
resumeTransaction?: {
|
|
2688
|
+
purpose: string;
|
|
2689
|
+
recoveryOwner?: string;
|
|
2690
|
+
validate?: (transaction: KnowledgeFileTransaction) => void;
|
|
2691
|
+
direction?: 'apply' | 'rollback';
|
|
2692
|
+
deferFinish?: boolean;
|
|
2693
|
+
};
|
|
2694
|
+
retries?: LockOptions['retries'];
|
|
2695
|
+
}
|
|
2565
2696
|
interface PendingKnowledgeMutation {
|
|
2566
2697
|
transactionId: string;
|
|
2567
2698
|
purpose: string;
|
|
@@ -2574,8 +2705,15 @@ interface RecoverPendingKnowledgeMutationOptions {
|
|
|
2574
2705
|
transactionId: string;
|
|
2575
2706
|
action: 'apply' | 'rollback';
|
|
2576
2707
|
}
|
|
2708
|
+
interface KnowledgeReadOptions {
|
|
2709
|
+
staleMs?: number;
|
|
2710
|
+
retries?: number;
|
|
2711
|
+
waitMs?: number;
|
|
2712
|
+
}
|
|
2713
|
+
declare function withKnowledgeMutation<T>(root: string, mutate: (lock: KnowledgeMutationLock) => Promise<T> | T, options?: KnowledgeMutationOptions): Promise<T>;
|
|
2577
2714
|
declare function inspectPendingKnowledgeMutation(root: string): Promise<PendingKnowledgeMutation | null>;
|
|
2578
2715
|
declare function recoverPendingKnowledgeMutation(root: string, options: RecoverPendingKnowledgeMutationOptions): Promise<void>;
|
|
2716
|
+
declare function withKnowledgeRead<T>(root: string, read: () => Promise<T> | T, options?: KnowledgeReadOptions): Promise<T>;
|
|
2579
2717
|
//#endregion
|
|
2580
2718
|
//#region src/propose-from-finding.d.ts
|
|
2581
2719
|
interface KnowledgeProposal {
|
|
@@ -2849,7 +2987,11 @@ declare const SCAFFOLD_PAGE_BASENAMES: readonly string[];
|
|
|
2849
2987
|
*/
|
|
2850
2988
|
declare function isScaffoldPath(path: string): boolean;
|
|
2851
2989
|
declare function initKnowledgeBase(root: string): Promise<KnowledgeLayout>;
|
|
2852
|
-
|
|
2990
|
+
interface LoadKnowledgePagesOptions {
|
|
2991
|
+
/** Root-relative directory containing Markdown pages. Defaults to `knowledge`. */
|
|
2992
|
+
pagesDirectory?: string;
|
|
2993
|
+
}
|
|
2994
|
+
declare function loadKnowledgePages(root: string, options?: LoadKnowledgePagesOptions): Promise<KnowledgePage[]>;
|
|
2853
2995
|
declare function writeJson(path: string, value: unknown): Promise<void>;
|
|
2854
2996
|
//#endregion
|
|
2855
2997
|
//#region src/run-scoped.d.ts
|
|
@@ -2929,6 +3071,14 @@ declare const SourceRecordSchema: z.ZodObject<{
|
|
|
2929
3071
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2930
3072
|
createdAt: z.ZodString;
|
|
2931
3073
|
}, z.core.$strip>;
|
|
3074
|
+
declare const KnowledgePageInvalidationSchema: z.ZodObject<{
|
|
3075
|
+
verdict: z.ZodLiteral<"contradicted">;
|
|
3076
|
+
observedAt: z.ZodISODateTime;
|
|
3077
|
+
reason: z.ZodString;
|
|
3078
|
+
evidencePath: z.ZodOptional<z.ZodString>;
|
|
3079
|
+
grader: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3081
|
+
}, z.core.$strict>;
|
|
2932
3082
|
declare const KnowledgePageSchema: z.ZodObject<{
|
|
2933
3083
|
id: z.ZodString;
|
|
2934
3084
|
path: z.ZodString;
|
|
@@ -2938,6 +3088,15 @@ declare const KnowledgePageSchema: z.ZodObject<{
|
|
|
2938
3088
|
sourceIds: z.ZodArray<z.ZodString>;
|
|
2939
3089
|
tags: z.ZodArray<z.ZodString>;
|
|
2940
3090
|
outLinks: z.ZodArray<z.ZodString>;
|
|
3091
|
+
contradicts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3092
|
+
invalidation: z.ZodOptional<z.ZodObject<{
|
|
3093
|
+
verdict: z.ZodLiteral<"contradicted">;
|
|
3094
|
+
observedAt: z.ZodISODateTime;
|
|
3095
|
+
reason: z.ZodString;
|
|
3096
|
+
evidencePath: z.ZodOptional<z.ZodString>;
|
|
3097
|
+
grader: z.ZodOptional<z.ZodString>;
|
|
3098
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3099
|
+
}, z.core.$strict>>;
|
|
2941
3100
|
}, z.core.$strip>;
|
|
2942
3101
|
declare const KnowledgeGraphNodeSchema: z.ZodObject<{
|
|
2943
3102
|
id: z.ZodString;
|
|
@@ -2990,6 +3149,15 @@ declare const KnowledgeIndexSchema: z.ZodObject<{
|
|
|
2990
3149
|
sourceIds: z.ZodArray<z.ZodString>;
|
|
2991
3150
|
tags: z.ZodArray<z.ZodString>;
|
|
2992
3151
|
outLinks: z.ZodArray<z.ZodString>;
|
|
3152
|
+
contradicts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3153
|
+
invalidation: z.ZodOptional<z.ZodObject<{
|
|
3154
|
+
verdict: z.ZodLiteral<"contradicted">;
|
|
3155
|
+
observedAt: z.ZodISODateTime;
|
|
3156
|
+
reason: z.ZodString;
|
|
3157
|
+
evidencePath: z.ZodOptional<z.ZodString>;
|
|
3158
|
+
grader: z.ZodOptional<z.ZodString>;
|
|
3159
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3160
|
+
}, z.core.$strict>>;
|
|
2993
3161
|
}, z.core.$strip>>;
|
|
2994
3162
|
graph: z.ZodObject<{
|
|
2995
3163
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -3151,7 +3319,30 @@ declare const KnowledgeBaseCandidateSchema: z.ZodObject<{
|
|
|
3151
3319
|
}, z.core.$strip>;
|
|
3152
3320
|
//#endregion
|
|
3153
3321
|
//#region src/search.d.ts
|
|
3154
|
-
|
|
3322
|
+
interface SearchKnowledgeOptions {
|
|
3323
|
+
/** Maximum results returned. Defaults to 10. */
|
|
3324
|
+
limit?: number;
|
|
3325
|
+
/** Match pages whose stable id is one of these values. */
|
|
3326
|
+
pageIds?: readonly KnowledgeId[];
|
|
3327
|
+
/** Match pages carrying at least one of these tags. */
|
|
3328
|
+
tags?: readonly string[];
|
|
3329
|
+
/** Match the exact string stored in `frontmatter.kind`. */
|
|
3330
|
+
kinds?: readonly string[];
|
|
3331
|
+
/** Additional caller-owned filter, applied before either ranking stage. */
|
|
3332
|
+
predicate?: (page: KnowledgePage) => boolean;
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* A retrieval result with an explicit citation handle.
|
|
3336
|
+
*
|
|
3337
|
+
* `citationId` is exactly `page.id`; later writes should persist this value
|
|
3338
|
+
* when they cite the page. Keeping it at the result's top level prevents tool
|
|
3339
|
+
* renderers from accidentally hiding the only stable handle a model can copy.
|
|
3340
|
+
*/
|
|
3341
|
+
interface KnowledgeSearchHit extends KnowledgeSearchResult {
|
|
3342
|
+
citationId: KnowledgeId;
|
|
3343
|
+
}
|
|
3344
|
+
declare function searchKnowledge(index: KnowledgeIndex, query: string, limit?: number): KnowledgeSearchHit[];
|
|
3345
|
+
declare function searchKnowledge(index: KnowledgeIndex, query: string, options?: SearchKnowledgeOptions): KnowledgeSearchHit[];
|
|
3155
3346
|
declare function tokenizeQuery(query: string): string[];
|
|
3156
3347
|
declare function reciprocalRankFusion(rankLists: string[][], k?: number): Map<string, number>;
|
|
3157
3348
|
//#endregion
|
|
@@ -3164,5 +3355,5 @@ declare function normalizeLinkTarget(target: string): string;
|
|
|
3164
3355
|
declare function isSafeKnowledgePath(path: string, allowedPrefixes?: string[]): boolean;
|
|
3165
3356
|
declare function parseKnowledgeWriteBlocks(text: string, allowedPrefixes?: string[]): KnowledgeWriteParseResult;
|
|
3166
3357
|
//#endregion
|
|
3167
|
-
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, CHECKABLE_RUNG_THRESHOLD, CheckExecution, ChunkingOptions, ClaimEvidence, ClaimGrade, ClaimGroundingDriverOptions, ClaimLedgerGoalConflictError, ClaimLedgerMigrationRequiredError, ClaimLedgerStore, ClaimRef, ClaimVerdict, 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, EvidenceRung, 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, OriginatedPage, OwnedAgentMemoryRunLease, POLITE_USER_AGENT, PageOrigin, ParsedFrontmatter, PartitionRetrievalScenariosOptions, type PendingKnowledgeMutation, PersistentResearchDrivingDriverOptions, PoliteFetchOptions, PoliteFetchResult, type PromoteKnowledgeCandidateOptions, ProposeFromFindingsResult, READINESS_SPEC_DEFAULTS, RUN_LINEAGE_BASENAME, 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, RunLineageRecord, type RunMemoryAdapterBenchmarkOptions, type RunMemoryAdapterBenchmarkResult, RunRagKnowledgeImprovementLoopOptions, RunRagKnowledgeImprovementLoopResult, RunRagOptimizationOptions, RunRagOptimizationResult, RunRetrievalImprovementLoopOptions, RunRetrievalImprovementLoopResult, RunScopedStores, RunScopedStoresOptions, 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, UncheckableClaimError, 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, assertGradeableEvidence, 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, createRunScopedStores, createStateSosSource, createTangleRouterClient, createVerifyingResearchDriver, createWebResearchWorker, deepQuestionId, defaultGetMemoryContext, defineReadinessSpec, detectChanges, deterministicRng, diagnoseRagAnswerFailure, emitRetrievalHoldoutBypass, emptyClaimLedger, evaluateKnowledgeBaseReadiness, explainKnowledgeTarget, extractLinks, extractWikilinks, firstMatch, forkAgentMemoryBranchSnapshot, formatFrontmatter, fromAgentCandidateKnowledgeRef, gradeCompanyAgainstText, gradeFactAgainstText, gradeFor, 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, verdictFor, withCitedClaim, withKnowledgeImprovementCandidate, withKnowledgeImprovementComparison, withSafeDescendant, withSafeDirectory, writeFileDurable, writeFileDurableWithinRoot, writeJson, writeJsonDurable, writeJsonDurableWithinRoot, writeKnowledgeIndex, writeSourceRegistry };
|
|
3358
|
+
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, CHECKABLE_RUNG_THRESHOLD, CheckExecution, ChunkingOptions, ClaimEvidence, ClaimGrade, ClaimGroundingDriverOptions, ClaimLedgerGoalConflictError, ClaimLedgerMigrationRequiredError, ClaimLedgerStore, ClaimRef, ClaimVerdict, 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, EvidenceRung, 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, type KnowledgeMutationLock, type KnowledgeMutationOptions, KnowledgePage, KnowledgePageInvalidation, KnowledgePageInvalidationSchema, KnowledgePageSchema, KnowledgePolicy, type KnowledgePolicyDispatch, KnowledgeProposal, KnowledgeProposalParseError, type KnowledgeReadOptions, KnowledgeReadinessSpec, KnowledgeRelation, KnowledgeRelease, KnowledgeReleaseInput, KnowledgeReleaseReport, KnowledgeResearchLoopContext, KnowledgeResearchLoopDecision, KnowledgeResearchLoopResult, KnowledgeResearchLoopStep, type KnowledgeRetrievalBenchmarkCase, type KnowledgeRetrievalBenchmarkQrel, type KnowledgeRetrievalBenchmarkQuery, KnowledgeSearchHit, KnowledgeSearchResult, KnowledgeSource, KnowledgeUnit, KnowledgeWriteBlock, KnowledgeWriteParseResult, type LoadKnowledgeImprovementActivationResultOptions, LoadKnowledgePagesOptions, MAX_RESPONSE_BYTES, MIN_REQUEST_GAP_MS, MaterialFact, MaterialFactLens, MaterialFactsResult, Mem0ClientMode, Mem0HostedClient, Mem0HostedMemoryAdapterOptions, Mem0MemoryAdapterOptions, Mem0OssClient, Mem0OssMemoryAdapterOptions, type MemoryAdapterBenchmarkCandidate, type MemoryAdapterBenchmarkRankingRow, type MemoryConfigScenario, MemoryKbStore, type NearDuplicateDetectionOptions, type NearDuplicatePair, type NearDuplicateReport, Neo4jAgentMemoryAdapterOptions, type OptimizeKnowledgeBasePolicyOptions, type OptimizeKnowledgeBasePolicyResult, OriginatedPage, OwnedAgentMemoryRunLease, POLITE_USER_AGENT, PageOrigin, ParsedFrontmatter, PartitionRetrievalScenariosOptions, type PendingKnowledgeMutation, PersistentResearchDrivingDriverOptions, PoliteFetchOptions, PoliteFetchResult, type PromoteKnowledgeCandidateOptions, ProposeFromFindingsResult, READINESS_SPEC_DEFAULTS, RUN_LINEAGE_BASENAME, 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, RunLineageRecord, type RunMemoryAdapterBenchmarkOptions, type RunMemoryAdapterBenchmarkResult, RunRagKnowledgeImprovementLoopOptions, RunRagKnowledgeImprovementLoopResult, RunRagOptimizationOptions, RunRagOptimizationResult, RunRetrievalImprovementLoopOptions, RunRetrievalImprovementLoopResult, RunScopedStores, RunScopedStoresOptions, RunSerializedKnowledgeOptimizationOptions, RunSerializedKnowledgeOptimizationResult, SCAFFOLD_PAGE_BASENAMES, SearchKnowledgeOptions, SerializedCandidate, SerializedCandidateCodec, SourceAdapter, SourceAdapterInput, SourceAdapterOutput, SourceAnchor, SourceAnchorSchema, SourceFreshnessInspection, SourceRecord, SourceRecordSchema, SourceRegistry, SourceVerdict, SourceVerificationContext, StateSosEntity, StateSosSourceConfig, TangleRouterOptions, ThesisRunOptions, ThesisRunResult, ThesisTaskInput, TrackedClaim, TriageClass, UncheckableClaimError, type UseKnowledgeImprovementCandidateOptions, ValidateKnowledgeOptions, ValidateKnowledgeResult, VerifiedGradeableEvidence, VerifiedResearchLoopOptions, VerifiedResearchLoopResult, VerifiedResearchRound, VerifyGradeableEvidenceOptions, VerifyingDriverOptions, WIKILINK_REGEX, WebResearchWorkerOptions, WebSearchHit, WorkerClaimDecorationOptions, WorkerResearchContext, __resetHttpThrottle, acquireAgentMemoryRunLease, addSourcePath, addSourceText, agentMemorySequenceJudge, applyKnowledgeWriteBlocks, applyKnowledgeWriteBlocksFile, applyRetrievalHoldout, applySessionStickyRetrievalHoldout, assertClaimLedgerId, assertDeepQuestionIntegrity, assertGradeableEvidence, 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, createRunScopedStores, createStateSosSource, createTangleRouterClient, createVerifyingResearchDriver, createWebResearchWorker, deepQuestionId, defaultGetMemoryContext, defineReadinessSpec, detectChanges, detectNearDuplicatePages, deterministicRng, diagnoseRagAnswerFailure, emitRetrievalHoldoutBypass, emptyClaimLedger, evaluateKnowledgeBaseReadiness, explainKnowledgeTarget, extractLinks, extractWikilinks, firstMatch, forkAgentMemoryBranchSnapshot, formatFrontmatter, fromAgentCandidateKnowledgeRef, gradeCompanyAgainstText, gradeFactAgainstText, gradeFor, 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, normalizePageText, 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, verdictFor, verifyGradeableEvidence, withCitedClaim, withKnowledgeImprovementCandidate, withKnowledgeImprovementComparison, withKnowledgeMutation, withKnowledgeRead, withSafeDescendant, withSafeDirectory, writeFileDurable, writeFileDurableWithinRoot, writeJson, writeJsonDurable, writeJsonDurableWithinRoot, writeKnowledgeIndex, writeSourceRegistry };
|
|
3168
3359
|
//# sourceMappingURL=index.d.ts.map
|