@tangle-network/agent-knowledge 19.1.1 → 19.1.5
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 +24 -0
- package/README.md +5 -3
- package/dist/benchmarks/index.js +1 -1
- package/dist/{benchmarks-B3kU-Yxz.js → benchmarks-BjXxjAke.js} +2 -2
- package/dist/{benchmarks-B3kU-Yxz.js.map → benchmarks-BjXxjAke.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +121 -37
- package/dist/index.js.map +1 -1
- package/dist/{inspect-CwIvMcno.js → inspect-C6c4zuKp.js} +284 -90
- package/dist/inspect-C6c4zuKp.js.map +1 -0
- package/dist/memory/index.js +2 -2
- package/dist/{memory-PlYkyv8x.js → memory-CUk1mgPY.js} +2 -2
- package/dist/{memory-PlYkyv8x.js.map → memory-CUk1mgPY.js.map} +1 -1
- package/dist/{search-Cbyj2shJ.js → search-BBr5eUyT.js} +59 -47
- package/dist/search-BBr5eUyT.js.map +1 -0
- package/docs/architecture.md +5 -0
- package/docs/knowledge-use-receipts.md +1 -0
- package/package.json +3 -3
- package/dist/inspect-CwIvMcno.js.map +0 -1
- package/dist/search-Cbyj2shJ.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 19.1.5
|
|
2
|
+
|
|
3
|
+
Publish the Eval 0.208 qualification. The play-memory tests gave their fixture Hindsight a 10 ms ingestion deadline on every path; on a loaded self-hosted runner a write that completes at once missed it and the 19.1.4 publish failed. Success paths now get 10 s; only the unresolved-path test keeps 10 ms.
|
|
4
|
+
|
|
5
|
+
## 19.1.4
|
|
6
|
+
|
|
7
|
+
Publish 19.1.3's Eval 0.208 qualification. The version-bump check no longer compares a tag push in CI against the `origin/main` a reused self-hosted workspace kept from an earlier job, which refused the 19.1.3 publish (`origin/main shares no history with HEAD`).
|
|
8
|
+
|
|
9
|
+
## 19.1.3
|
|
10
|
+
|
|
11
|
+
Qualify Eval 0.208 for packed consumers and official GEPA/SkillOpt integration, and develop against 0.208.2.
|
|
12
|
+
Eval 0.208.1 gives the optimizer bridge its interpreter's loader path, which a shared-library Python needs.
|
|
13
|
+
|
|
14
|
+
## 19.1.2
|
|
15
|
+
|
|
16
|
+
Make knowledge tools fast when many directors share one process and one store.
|
|
17
|
+
Same-process writers queue in arrival order in front of the cross-process file lock, and reads share that admission, so a same-process write never restarts a read and no writer polls with backoff.
|
|
18
|
+
Searches persist content-addressed visibility snapshots without the mutation lock and without moving the epoch.
|
|
19
|
+
Tool views re-read and re-hash only page files whose identity changed, concurrent calls share one refresh, and the stores of the current view stay cached regardless of size.
|
|
20
|
+
Transactions sync independent files concurrently and drop a repeated directory sync.
|
|
21
|
+
Every tool result reports `timing`: `viewMs`, `visibilityMs`, `lockWaitMs` and `lockHoldMs`.
|
|
22
|
+
A mutation started inside a read of the same store now fails instead of livelocking the read.
|
|
23
|
+
Tool names, inputs, receipts, snapshot bytes, transactions and storage formats are unchanged.
|
|
24
|
+
|
|
1
25
|
## 19.1.1
|
|
2
26
|
|
|
3
27
|
Qualify Eval 0.206 and 0.207 for packed consumers and official GEPA/SkillOpt integration.
|
package/README.md
CHANGED
|
@@ -9,13 +9,13 @@ Supply application callbacks for those decisions, or use `@tangle-network/agent-
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
pnpm add @tangle-network/agent-knowledge@19.1.
|
|
12
|
+
pnpm add @tangle-network/agent-knowledge@19.1.5 @tangle-network/agent-eval@0.208.2 @tangle-network/agent-interface@2.16.0
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Requires Node.js 22.12 or later and Interface 2.16 or later within v2, matching the Sandbox dependency.
|
|
16
16
|
|
|
17
|
-
Eval 0.201 through 0.
|
|
18
|
-
Package and official optimizer checks exercise each supported minor; development uses 0.
|
|
17
|
+
Eval 0.201 through 0.208 are supported.
|
|
18
|
+
Package and official optimizer checks exercise each supported minor; development uses 0.208.2.
|
|
19
19
|
These releases use Core 0.10, Trace Contract 2, and Zod 4.6.5.
|
|
20
20
|
Knowledge 19 requires TCloud 0.8 with Sandbox 0.58.4 or later in that minor.
|
|
21
21
|
Use Knowledge 17 with older Eval releases.
|
|
@@ -213,6 +213,8 @@ Retrying an identical completed write is safe.
|
|
|
213
213
|
It does not report a partial write as tool success.
|
|
214
214
|
The lower-level `applyKnowledgeWriteBlocks` API retains its explicit `written` and `warnings` result for callers that inspect partial proposals.
|
|
215
215
|
`knowledge_resolve` returns the resolution status of each reference.
|
|
216
|
+
Every tool result carries `timing` in milliseconds: `viewMs` to obtain the current page view for search, read and resolve, `visibilityMs` to persist a search's snapshot, and `lockWaitMs` and `lockHoldMs` for a record.
|
|
217
|
+
Tools re-read only the page files whose identity changed since the previous call, and concurrent calls share one refresh.
|
|
216
218
|
|
|
217
219
|
Knowledge tools retain write history by default.
|
|
218
220
|
Each transaction records the host actorId, runId, and exact prior and new bytes.
|
package/dist/benchmarks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { F as buildIndustryRagBenchmarkSmokeCases, H as createNoopMemoryBenchmarkAdapter, I as respondToIndustryMemoryBenchmarkSmokeCase, L as respondToIndustryRagBenchmarkSmokeCase, M as INDUSTRY_RAG_BENCHMARKS, N as buildFirstPartyMemoryLifecycleBenchmarkCases, P as buildIndustryMemoryBenchmarkSmokeCases, R as isKnowledgeMemoryBenchmarkCase, V as createInMemoryBenchmarkAdapter, a as buildKnowledgeBenchmarkScenarios, c as runKnowledgeBenchmarkSuite, d as summarizeKnowledgeBenchmarkCampaign, i as runMemoryAdapterBenchmark, j as INDUSTRY_MEMORY_BENCHMARKS, l as scoreKnowledgeBenchmarkArtifact, n as parseKnowledgeBenchmarkJsonl, o as knowledgeBenchmarkJudge, r as parseKnowledgeBenchmarkQrels, s as renderKnowledgeBenchmarkReportMarkdown, t as buildRetrievalBenchmarkCasesFromQrels, u as scoreMemoryBenchmarkArtifact } from "../benchmarks-
|
|
1
|
+
import { F as buildIndustryRagBenchmarkSmokeCases, H as createNoopMemoryBenchmarkAdapter, I as respondToIndustryMemoryBenchmarkSmokeCase, L as respondToIndustryRagBenchmarkSmokeCase, M as INDUSTRY_RAG_BENCHMARKS, N as buildFirstPartyMemoryLifecycleBenchmarkCases, P as buildIndustryMemoryBenchmarkSmokeCases, R as isKnowledgeMemoryBenchmarkCase, V as createInMemoryBenchmarkAdapter, a as buildKnowledgeBenchmarkScenarios, c as runKnowledgeBenchmarkSuite, d as summarizeKnowledgeBenchmarkCampaign, i as runMemoryAdapterBenchmark, j as INDUSTRY_MEMORY_BENCHMARKS, l as scoreKnowledgeBenchmarkArtifact, n as parseKnowledgeBenchmarkJsonl, o as knowledgeBenchmarkJudge, r as parseKnowledgeBenchmarkQrels, s as renderKnowledgeBenchmarkReportMarkdown, t as buildRetrievalBenchmarkCasesFromQrels, u as scoreMemoryBenchmarkArtifact } from "../benchmarks-BjXxjAke.js";
|
|
2
2
|
export { INDUSTRY_MEMORY_BENCHMARKS, INDUSTRY_RAG_BENCHMARKS, buildFirstPartyMemoryLifecycleBenchmarkCases, buildIndustryMemoryBenchmarkSmokeCases, buildIndustryRagBenchmarkSmokeCases, buildKnowledgeBenchmarkScenarios, buildRetrievalBenchmarkCasesFromQrels, createInMemoryBenchmarkAdapter, createNoopMemoryBenchmarkAdapter, isKnowledgeMemoryBenchmarkCase, knowledgeBenchmarkJudge, parseKnowledgeBenchmarkJsonl, parseKnowledgeBenchmarkQrels, renderKnowledgeBenchmarkReportMarkdown, respondToIndustryMemoryBenchmarkSmokeCase, respondToIndustryRagBenchmarkSmokeCase, runKnowledgeBenchmarkSuite, runMemoryAdapterBenchmark, scoreKnowledgeBenchmarkArtifact, scoreMemoryBenchmarkArtifact, summarizeKnowledgeBenchmarkCampaign };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as stableId, t as sha256 } from "./ids-Bevz_pXV.js";
|
|
2
|
-
import { r as searchKnowledge } from "./search-
|
|
2
|
+
import { r as searchKnowledge } from "./search-BBr5eUyT.js";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
import { canonicalJson } from "@tangle-network/agent-eval";
|
|
@@ -2821,4 +2821,4 @@ function defaultDocumentTarget(documentId, targetKind) {
|
|
|
2821
2821
|
//#endregion
|
|
2822
2822
|
export { reserveRecoveryAttempts as A, rankCandidates as B, sleepForMemoryRecovery as C, hasSettledPaidCall as D, assertNoInterruptedPaidCalls as E, buildIndustryRagBenchmarkSmokeCases as F, buildRetrievalEvalDispatch as G, createNoopMemoryBenchmarkAdapter as H, respondToIndustryMemoryBenchmarkSmokeCase as I, retrievalConfigSurface as J, partitionRetrievalScenarios as K, respondToIndustryRagBenchmarkSmokeCase as L, INDUSTRY_RAG_BENCHMARKS as M, buildFirstPartyMemoryLifecycleBenchmarkCases as N, readActiveAttemptJournal as O, buildIndustryMemoryBenchmarkSmokeCases as P, isKnowledgeMemoryBenchmarkCase as R, runBoundedMemoryLifecycle as S, appendDurableJournalEvent as T, memoryHitToSourceRecord as U, createInMemoryBenchmarkAdapter as V, memoryWriteResultToSourceRecord as W, scoreRetrievalArtifact as X, retrievalRecallJudge as Y, mean as Z, MEMORY_OPERATION_CANCELLATION_TIMEOUT_MS as _, buildKnowledgeBenchmarkScenarios as a, memoryRecoveryDelayMs as b, runKnowledgeBenchmarkSuite as c, summarizeKnowledgeBenchmarkCampaign as d, acquireAgentMemoryRunLease as f, MEMORY_CAMPAIGN_DISPATCH_SHUTDOWN_TIMEOUT_MS as g, DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS as h, runMemoryAdapterBenchmark as i, INDUSTRY_MEMORY_BENCHMARKS as j, reconcileInterruptedMemoryPaidCalls as k, scoreKnowledgeBenchmarkArtifact as l, AgentMemoryLifecycleUnsafeError as m, parseKnowledgeBenchmarkJsonl as n, knowledgeBenchmarkJudge as o, AgentMemoryLifecycleTimeoutError as p, retrievalConfigFromSurface as q, parseKnowledgeBenchmarkQrels as r, renderKnowledgeBenchmarkReportMarkdown as s, buildRetrievalBenchmarkCasesFromQrels as t, scoreMemoryBenchmarkArtifact as u, createBoundedMemoryAdapter as v, appendAttemptJournalEvent as w, resolveMemoryCleanupTimeoutMs as x, createMemoryExecutionPool as y, normalizeUsd as z };
|
|
2823
2823
|
|
|
2824
|
-
//# sourceMappingURL=benchmarks-
|
|
2824
|
+
//# sourceMappingURL=benchmarks-BjXxjAke.js.map
|