@tangle-network/agent-knowledge 22.0.1 → 22.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +9 -1
- package/CHANGELOG.md +11 -0
- package/README.md +3 -3
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +316 -379
- package/dist/index.js.map +1 -1
- package/dist/{inspect-DBxyQSdt.js → inspect-rnlXAb4O.js} +25 -14
- package/dist/{inspect-DBxyQSdt.js.map → inspect-rnlXAb4O.js.map} +1 -1
- package/docs/architecture.md +17 -0
- package/docs/compatibility.md +5 -4
- package/package.json +5 -5
package/docs/architecture.md
CHANGED
|
@@ -116,6 +116,23 @@ Promotion and crash recovery apply its narrow path allowlist through the existin
|
|
|
116
116
|
Derived indexes, lock state, retrieval artifacts, and external providers are excluded.
|
|
117
117
|
Applications must bind external state through their existing memory branch or evaluation contracts.
|
|
118
118
|
|
|
119
|
+
## Assessment and phase ownership
|
|
120
|
+
|
|
121
|
+
A knowledge observation builds one index, lints and schema-checks it once, and derives
|
|
122
|
+
validation, readiness, and KB quality from that same view. Strict frontmatter policy
|
|
123
|
+
can differ between validation and KB quality; reusing the observation does not merge
|
|
124
|
+
their policy gates. Public lint and validation findings remain separately mutable.
|
|
125
|
+
The research loop carries the assessed post-decision index into its next decision
|
|
126
|
+
and final result instead of rereading disk while retaining checks from an older view.
|
|
127
|
+
A new observation, including a control-loop observe callback, still rereads the store;
|
|
128
|
+
there is no cross-call assessment cache.
|
|
129
|
+
|
|
130
|
+
The RAG lifecycle has one phase executor for enablement, skip/completion/failure
|
|
131
|
+
records, timestamps, and pre-action cancellation. Phase inputs are assembled only
|
|
132
|
+
when their action runs, in the existing order. Adaptive hooks still receive cloned
|
|
133
|
+
candidate selections; full final comparisons remain available only to the terminal
|
|
134
|
+
promotion decision. Evidence and cost checks continue to gate that decision.
|
|
135
|
+
|
|
119
136
|
## Runtime Loop
|
|
120
137
|
|
|
121
138
|
1. Normalize sources into immutable source records.
|
package/docs/compatibility.md
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Knowledge 22 requires Node.js 22.12 or later and Interface 5.
|
|
4
4
|
|
|
5
|
-
Eval 0.213
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Eval 0.213 and 0.214 are the supported minors; both depend on Core 0.12, Interface 5
|
|
6
|
+
and Trace Contract 2. Development uses 0.214.0. Packed-package checks run once per minor,
|
|
7
|
+
at 0.213.0 and 0.214.0, each with one physical copy of Eval, Core 0.12, Interface 5 and
|
|
8
|
+
Zod 4.6.5. Official optimizer checks require the matching `agent-eval-rpc` Python bridge
|
|
9
|
+
for each minor, `==0.213.0` and `==0.214.0`.
|
|
9
10
|
|
|
10
11
|
Use Knowledge 21 with Interface 4 and Eval 0.212. Use Knowledge 20 with Interface 3
|
|
11
12
|
and Eval 0.209 through 0.211. Use Knowledge 19 with Interface 2 and Eval 0.201
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-knowledge",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.3",
|
|
4
4
|
"description": "Build, search, evaluate, and improve source-backed knowledge bases.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-knowledge#readme",
|
|
6
6
|
"repository": {
|
|
@@ -85,15 +85,15 @@
|
|
|
85
85
|
"zod": "4.6.5"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@tangle-network/agent-eval": ">=0.213.0 <0.
|
|
89
|
-
"@tangle-network/agent-interface": "^5.
|
|
88
|
+
"@tangle-network/agent-eval": ">=0.213.0 <0.216.0",
|
|
89
|
+
"@tangle-network/agent-interface": "^5.2.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
93
93
|
"@biomejs/biome": "^2.5.14",
|
|
94
94
|
"@neo4j-labs/agent-memory": "0.5.0",
|
|
95
|
-
"@tangle-network/agent-eval": "0.
|
|
96
|
-
"@tangle-network/agent-interface": "5.
|
|
95
|
+
"@tangle-network/agent-eval": "0.215.0",
|
|
96
|
+
"@tangle-network/agent-interface": "5.2.0",
|
|
97
97
|
"@types/node": "^26.6.2",
|
|
98
98
|
"mem0ai": "3.3.0",
|
|
99
99
|
"oxc-parser": "0.151.0",
|