@tangle-network/agent-knowledge 4.1.0 → 5.0.1
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/AGENTS.md +3 -1
- package/CHANGELOG.md +34 -0
- package/README.md +220 -955
- package/dist/benchmarks/index.d.ts +3 -2
- package/dist/benchmarks/index.js +1 -1
- package/dist/{chunk-BBCIB4UL.js → chunk-EYIA5PLQ.js} +27 -195
- package/dist/chunk-EYIA5PLQ.js.map +1 -0
- package/dist/{chunk-CPMLJYA3.js → chunk-LMR53POQ.js} +1227 -574
- package/dist/chunk-LMR53POQ.js.map +1 -0
- package/dist/index-Cf7txrYP.d.ts +790 -0
- package/dist/index.d.ts +208 -24
- package/dist/index.js +632 -80
- package/dist/index.js.map +1 -1
- package/dist/memory/index.d.ts +8 -706
- package/dist/memory/index.js +2 -2
- package/dist/{types-DP38encz.d.ts → types-BY-xLVw-.d.ts} +16 -59
- package/docs/eval/rag-eval-roadmap.md +15 -12
- package/package.json +8 -5
- package/skills/build-with-agent-knowledge/SKILL.md +97 -0
- package/dist/chunk-BBCIB4UL.js.map +0 -1
- package/dist/chunk-CPMLJYA3.js.map +0 -1
package/AGENTS.md
CHANGED
|
@@ -75,7 +75,9 @@ The parser rejects absolute paths, `..`, control characters, and writes outside
|
|
|
75
75
|
|
|
76
76
|
## Eval Boundary
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
Use a complete `OptimizationMethod` from `@tangle-network/agent-eval` with `runRetrievalImprovementLoop()`, `runRagOptimization()`, `optimizeKnowledgeBasePolicy()`, or `runAgentMemoryImprovement()`.
|
|
79
|
+
The method owns candidate search and resume compatibility.
|
|
80
|
+
This package owns serialized knowledge candidates, real KB or memory adapters, isolated data partitions, and safe activation.
|
|
79
81
|
|
|
80
82
|
Use `knowledgeReleaseReport()` before promotion. It folds the candidate and baseline `RunRecord[]` (plus optional traces and the gate decision) into `agent-eval` release confidence evidence.
|
|
81
83
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Updated `@tangle-network/agent-eval` to `0.126.6` so Knowledge and Runtime use the same optimizer provenance contract.
|
|
8
|
+
|
|
9
|
+
## 5.0.0
|
|
10
|
+
|
|
11
|
+
### Breaking Changes
|
|
12
|
+
|
|
13
|
+
- Retrieval improvement now requires independent train, selection, and final scenarios plus an explicit complete `OptimizationMethod`.
|
|
14
|
+
- Serialized retrieval and RAG optimization now requires an immutable `executionRef` covering candidate execution and scoring behavior.
|
|
15
|
+
- Memory configuration improvement now requires a baseline configuration, a complete `OptimizationMethod`, and independent train, selection, and final histories.
|
|
16
|
+
- The RAG lifecycle promotion callback is now `decidePromotion` and runs only after final evidence passes regression, provenance, and cost checks.
|
|
17
|
+
- Knowledge improvement requires an immutable `implementationRef`, separates repeatable development evaluation from single-use final evaluation, and refuses to resume after interrupted final scoring.
|
|
18
|
+
- Memory candidate factories no longer receive scenario, repetition, or seed identity and must report observed external charges through `recordExternalCost()`.
|
|
19
|
+
- Answer-quality hooks require immutable evaluator identity, final scenario identity, and complete cost evidence.
|
|
20
|
+
- Removed the public retrieval and memory proposer-search options; candidate generation and selection now belong to `agent-eval` methods.
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Added a shared serialized-candidate adapter for running complete `agent-eval` optimization methods with canonical candidate identity and untouched final comparison.
|
|
25
|
+
- Added full RAG configuration optimization and KB maintenance policy optimization.
|
|
26
|
+
- Added direct support for official GEPA and SkillOpt methods through the shared `OptimizationMethod` contract.
|
|
27
|
+
- Added durable per-configuration memory candidate identities to prevent stale result reuse.
|
|
28
|
+
- Added live activation verification so resumed memory runs reject configuration drift.
|
|
29
|
+
- Added private execution contexts that expose memory operations, cancellation, and cost metering without evaluation labels.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Updated `@tangle-network/agent-eval` to `0.126.5` and `@tangle-network/agent-interface` to `0.32.0`.
|
|
34
|
+
- Kept memory provider evaluations resumable and branch-isolated while moving search ownership to the supplied method.
|
|
35
|
+
- Restricted immutable references to lowercase SHA-256 and full Git commit identities.
|
|
36
|
+
|
|
3
37
|
## 4.1.0
|
|
4
38
|
|
|
5
39
|
### Added
|