@agentproto/adapter-knowledge-files 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -70,6 +70,13 @@ names live:
|
|
|
70
70
|
a fresh instance is created. Hosts wanting second-precision freshness on
|
|
71
71
|
external edits can wire fs-watch into a new instance.
|
|
72
72
|
|
|
73
|
+
## Provenance and supersession
|
|
74
|
+
|
|
75
|
+
`explain(id)` returns file-level provenance (the file's `uri` plus its own
|
|
76
|
+
frontmatter in `metadata`; `derivedFrom` is empty) or `null` for an unknown id.
|
|
77
|
+
`supersede()` throws `KnowledgeNotSupportedError` — plain files carry no
|
|
78
|
+
lifecycle status; use the corpus adapter over an AIP-10 workspace.
|
|
79
|
+
|
|
73
80
|
## Capabilities
|
|
74
81
|
|
|
75
82
|
`vectorSearch: false`, `hybridSearch: false`, `citations: true` — BM25 returns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentproto/adapter-knowledge-files",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Pure, zero-runtime knowledge adapter: implements @agentproto/knowledge-engine's IKnowledgeProvider over local files with an in-process BM25 index (no embeddings, no network, no API key). Registers as a provider-kit family and ships a node:fs FsPort so it runs standalone. All BM25 index/query logic is confined to this package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentproto",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@agentproto/corpus": "0.8.2",
|
|
50
|
-
"@agentproto/knowledge-engine": "0.3.
|
|
50
|
+
"@agentproto/knowledge-engine": "0.3.2",
|
|
51
51
|
"@agentproto/provider-kit": "0.4.6"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"tsup": "^8.5.1",
|
|
56
56
|
"typescript": "^5.9.3",
|
|
57
57
|
"vitest": "^3.2.7",
|
|
58
|
-
"@agentproto/tool": "0.
|
|
58
|
+
"@agentproto/tool": "0.5.1",
|
|
59
59
|
"@agentproto/tooling": "0.1.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|