{"_id":"@agentproto/adapter-knowledge-files","_rev":"12-346ef7dcaad50b77ca89ca110bc89143","name":"@agentproto/adapter-knowledge-files","dist-tags":{"latest":"0.2.13"},"versions":{"0.2.0":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.0","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.0","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"99bd29d108430f7022e55601a62f6c70afd210d7","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.0.tgz","fileCount":6,"integrity":"sha512-9Fs5ZbT6fU0Bup9NjFUUaFL3SmSl5QLm8hcNuvJaEg/CxWJSfOUSxNFxeWjYP/2ObyKlPnvQB6AtcIJp99dftw==","signatures":[{"sig":"MEUCIQDgaShCAvR2rNCmx22U07E3kGmVtxd50/kQs0xSNGmBDQIgTDKpona2YufBT8OBZKJWulmy0+s6ltDZ7XQ3L8pOZhQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108590},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/611dc18a93308e8315f5a3b1f41bf0bd/agentproto-adapter-knowledge-files-0.2.0.tgz","_integrity":"sha512-9Fs5ZbT6fU0Bup9NjFUUaFL3SmSl5QLm8hcNuvJaEg/CxWJSfOUSxNFxeWjYP/2ObyKlPnvQB6AtcIJp99dftw==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@agentproto/corpus":"0.4.0","@agentproto/provider-kit":"0.4.0","@agentproto/knowledge-engine":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tool":"0.2.1","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.0_1785153648112_0.37141416500812263","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.1","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.1","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"e69cc55b29e412bd84ce39004b06ddba8d127273","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.1.tgz","fileCount":6,"integrity":"sha512-v70b1nGkFC1em3yxrufsNU+1lrXzfzvL7TQuV/fc2lCBFPmM5DcRDGpti5JzdWE/cTx+03b7KepKMUPevF7oZw==","signatures":[{"sig":"MEYCIQCXDalPEHRF4tMNgK1jQKzBZguMaV0aJblNfArRcMxE4wIhAN5k5n/Sau5OjX5BRf0rvdrNvqQiYiqo/shy///rvMg9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108590},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/5c336a803cea4a45a670ff969a80477a/agentproto-adapter-knowledge-files-0.2.1.tgz","_integrity":"sha512-v70b1nGkFC1em3yxrufsNU+1lrXzfzvL7TQuV/fc2lCBFPmM5DcRDGpti5JzdWE/cTx+03b7KepKMUPevF7oZw==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@agentproto/corpus":"0.5.0","@agentproto/provider-kit":"0.4.1","@agentproto/knowledge-engine":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tool":"0.2.1","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.1_1785977191893_0.26388129657903603","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.2","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.2","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"9e37b9da5a26daf1a30d04bf30612c3635c0dce8","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.2.tgz","fileCount":6,"integrity":"sha512-62Fd/VkUmz2RruJBwFPjGBfrAWMWJrsCPvR4Rmb8uc/MzlP9qXZmXk7WVANiv5bjwnP8GGEuBDRyC5Q5E893lw==","signatures":[{"sig":"MEUCIQDgE6yAgNOZm76nTkHXX0JOJQ+zqDGfzlfWl0vmx9uMeQIgS25g6J8JdVhBT5EleHYvHUB4RklcTRz42GG+c4oUCiU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108590},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/c6826228ec8afc6f3178ba4bc9bee10d/agentproto-adapter-knowledge-files-0.2.2.tgz","_integrity":"sha512-62Fd/VkUmz2RruJBwFPjGBfrAWMWJrsCPvR4Rmb8uc/MzlP9qXZmXk7WVANiv5bjwnP8GGEuBDRyC5Q5E893lw==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@agentproto/corpus":"0.5.1","@agentproto/provider-kit":"0.4.1","@agentproto/knowledge-engine":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tool":"0.2.1","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.2_1786157408908_0.9708739944109492","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.4","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.4","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"4ef79ccd5c94339c1e416a3fc71c34e6a9722aa1","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.4.tgz","fileCount":6,"integrity":"sha512-RZePBBlZzBPj+kVtzayr1OLYXpWS8ATKIEs1QPFR3P80kPpX8Qv7L+KrYqLA0S6cFbofHb1ozFMIE5twmGzhCQ==","signatures":[{"sig":"MEQCIDnLj63cXzmDj3ZDpy61lc0UwcuvEVXDToP1BtNPxSDKAiAlyENsSOpxfBYAPrqNDl4dGDs/vuXb9BGpOxQya4Il1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108590},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.4.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/4c7a80457df645a265b65c5ca50e77f4/agentproto-adapter-knowledge-files-0.2.4.tgz","_integrity":"sha512-RZePBBlZzBPj+kVtzayr1OLYXpWS8ATKIEs1QPFR3P80kPpX8Qv7L+KrYqLA0S6cFbofHb1ozFMIE5twmGzhCQ==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.6.0","@agentproto/provider-kit":"0.4.2","@agentproto/knowledge-engine":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tool":"0.2.2","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.4_1788280163991_0.37079482077035086","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.5","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.5","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"61d893a89c7f73265d844014b293fe8fb2564a7f","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.5.tgz","fileCount":6,"integrity":"sha512-flmpRs2K4mss/yl9WB9tXJPgb7fRkv1Wu542Sh4UTVxJovATEJiM2KtDlJBkruWFLcJRr2pQar5ylZC6m9Nkqg==","signatures":[{"sig":"MEQCIB+C2lKSJU7Bh9ikyq1GQpRTq5viJQbvdpCejUu44j4XAiB7/UjHmMUA9yRGW3Fcc37EMQC5KHVEbQ0nwMWy/ABdPw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108590},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.5.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/cffa014e369d1ff8d26ff08868495fbf/agentproto-adapter-knowledge-files-0.2.5.tgz","_integrity":"sha512-flmpRs2K4mss/yl9WB9tXJPgb7fRkv1Wu542Sh4UTVxJovATEJiM2KtDlJBkruWFLcJRr2pQar5ylZC6m9Nkqg==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.7.0","@agentproto/provider-kit":"0.4.2","@agentproto/knowledge-engine":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tool":"0.2.2","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.5_1788358991411_0.08386673150256252","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.6","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.6","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"0a8b17e4482dde36d20d92e885f7142544753750","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.6.tgz","fileCount":6,"integrity":"sha512-DEGHWSvUYriE6LbOdqFdgeDfF87FWFGGtN3s9bpiMnLpkdexM7gRtRLpaSqvSk9EVU3Qcqq80aRoESOcvbzfvw==","signatures":[{"sig":"MEQCIDyceRhoaiaCiXS5jKQ262boJjw8GLqV+ZzXTt7h0h8gAiAPKJyvyMA8vgIuOB6pQ+akfAbUsuCn5ukouZODTYWzVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108582},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.6.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/a51acc5c9a4c048bbe3be599dfd57e50/agentproto-adapter-knowledge-files-0.2.6.tgz","_integrity":"sha512-DEGHWSvUYriE6LbOdqFdgeDfF87FWFGGtN3s9bpiMnLpkdexM7gRtRLpaSqvSk9EVU3Qcqq80aRoESOcvbzfvw==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.7.1","@agentproto/provider-kit":"0.4.2","@agentproto/knowledge-engine":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tool":"0.2.2","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.6_1788654501631_0.7405805630779758","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.8","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.8","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"a724f212bcb3da1c57e6af8b936150b3bc1dc0dc","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.8.tgz","fileCount":6,"integrity":"sha512-1mbagGrkq7H68eTnxylgBpKKBvzZds1I3bMRE0Iiqf6sIBG056WKtoSxM9/81y/YCD2+8wHHtb3HCfD3SwWb3w==","signatures":[{"sig":"MEUCIDyDOxHwfkB8YTYPqcwBgrot32wr4iC8HW/OlF7RGnn9AiEA++Is9NsXQH1+f1bQv3OibQClJkVbyrEiJFeRKha47Mg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108582},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.8.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/b3ff0bf3f4748cc52603fa5edf985591/agentproto-adapter-knowledge-files-0.2.8.tgz","_integrity":"sha512-1mbagGrkq7H68eTnxylgBpKKBvzZds1I3bMRE0Iiqf6sIBG056WKtoSxM9/81y/YCD2+8wHHtb3HCfD3SwWb3w==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.7.3","@agentproto/provider-kit":"0.4.3","@agentproto/knowledge-engine":"0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tool":"0.3.0","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.8_1788960677920_0.598405349873077","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.9","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.9","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"9252eb4ac4d4d39934f4265ae8f5bdb58056fc00","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.9.tgz","fileCount":6,"integrity":"sha512-8UuZtKmO2PPkCQkDogRjGDhxd2rcVFPRUWHB1X/ZqAjOQf83bv23JmXi7WH31DE7vqDbqa/MDuvd5ImT2TYLSA==","signatures":[{"sig":"MEUCID67jV2V6vlFBgoS4ubHYSG1kYUEk4/mBbEwJmiURhpXAiEA95Zpdk9Z3/XEo7a3hdLh/jdaJOOaalUMkC9dzw7xZQE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108582},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.9.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/9f776bc693c83867025922252d7e377e/agentproto-adapter-knowledge-files-0.2.9.tgz","_integrity":"sha512-8UuZtKmO2PPkCQkDogRjGDhxd2rcVFPRUWHB1X/ZqAjOQf83bv23JmXi7WH31DE7vqDbqa/MDuvd5ImT2TYLSA==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.8.0","@agentproto/provider-kit":"0.4.4","@agentproto/knowledge-engine":"0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tool":"0.3.1","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.9_1789642867468_0.4225750748727026","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.10","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.10","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"8a67acc45213fd265408def575e6980e94198aa5","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.10.tgz","fileCount":6,"integrity":"sha512-rcI+mx8wTaCoJYch8ez0LDCoyScSXucGfOAJeDB4xDhi1As9njZDMtisulsYkwzmA7p15tCuX9HhuzEoElsSvA==","signatures":[{"sig":"MEUCIQCjqL+oKmOY7lMKMb0YHeGaco75/3ci+VdDIekMZR+dMQIgD4cJDCoJfp5CgA8P5g4BFrxbSNlZK0krEJ3jJGUcm1A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDtUp0eIZIZfdhFZsKxHWrpw4kd4VM0h8sJsmPJOGCnWgIhAOh1s0E3gw3fw17q32dtL8bv6vA1UIrl0FMZ7812Lgh7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108583},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.10.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/fd03fa029fdc5ebd83f4e31cd07048b1/agentproto-adapter-knowledge-files-0.2.10.tgz","_integrity":"sha512-rcI+mx8wTaCoJYch8ez0LDCoyScSXucGfOAJeDB4xDhi1As9njZDMtisulsYkwzmA7p15tCuX9HhuzEoElsSvA==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.8.0","@agentproto/provider-kit":"0.4.5","@agentproto/knowledge-engine":"0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tool":"0.3.1","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.10_1790068992665_0.965228904964742","host":"s3://npm-registry-packages-npm-production"}},"0.2.11":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.11","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.11","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"3c8d0b84a81706cbc0f9f0bbba15e473bf7877e7","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.11.tgz","fileCount":6,"integrity":"sha512-6tD8CT4RJvurGPXhKLPbpen3yIkhQjfyX1Fe21WGy1B0cx4CbBoaODexB0cIrxwXSkPMcKKbTzUnG8e1Y/gKCQ==","signatures":[{"sig":"MEUCIQD/P0Wh9LJfBT8exImeJflWTn8CZdDYSErhARGlpkfAXgIgAWQoSQdmK3ch5i6Nz9Ro+X3JhdW4VzUsQ6rwnOdSVvk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCt2R1xx3bnE0XfurIiUKjo1uTqYD5u8T2rvPDnKtOFIwIhALiogSbud6kr1bojpK6TYTdjbNsrjwlGrxvzagXqjJk4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108583},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.11.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/22c7e2a5a2ee8b8e599c49ea79d0c93a/agentproto-adapter-knowledge-files-0.2.11.tgz","_integrity":"sha512-6tD8CT4RJvurGPXhKLPbpen3yIkhQjfyX1Fe21WGy1B0cx4CbBoaODexB0cIrxwXSkPMcKKbTzUnG8e1Y/gKCQ==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.8.1","@agentproto/provider-kit":"0.4.5","@agentproto/knowledge-engine":"0.2.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tool":"0.3.1","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.11_1790477165946_0.5906162934567565","host":"s3://npm-registry-packages-npm-production"}},"0.2.12":{"name":"@agentproto/adapter-knowledge-files","version":"0.2.12","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"license":"Apache-2.0","_id":"@agentproto/adapter-knowledge-files@0.2.12","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"a2c259db803532e5ee3629697782a522250af207","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.12.tgz","fileCount":6,"integrity":"sha512-5pLUuYwVWkLceWa/M1wEeKN8brlZOOcYCiF4TSWruR53AXFtLce/MiXQjSyxN9fPR1HNTz16id/ZFCBsRZK/iA==","signatures":[{"sig":"MEUCIQC1E40KeqIaxh6/XrxWIVQu7mTUXB/3uACzbWJgF7IF4QIgEbcA4x5E4rFcOr/fXylc2JK9w+UOK8LDpwq/xJDn1xc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDXWrp8eoQIxEiD4jZOT1ddymSUMF7b11PMeLjTsdwesAIhALwqPtGsxTH3LXW33rw7B5koDH90VU6XfGcZFAnfoXsE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108583},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.12.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/ca64b9417d217ac717643aff70f34625/agentproto-adapter-knowledge-files-0.2.12.tgz","_integrity":"sha512-5pLUuYwVWkLceWa/M1wEeKN8brlZOOcYCiF4TSWruR53AXFtLce/MiXQjSyxN9fPR1HNTz16id/ZFCBsRZK/iA==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.8.2","@agentproto/provider-kit":"0.4.6","@agentproto/knowledge-engine":"0.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tool":"0.3.2","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-knowledge-files_0.2.12_1790702375164_0.0964847701912579","host":"s3://npm-registry-packages-npm-production"}},"0.2.13":{"_id":"@agentproto/adapter-knowledge-files@0.2.13","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"e45b5caced350567494cb26af6a352b11093eba5","tarball":"https://registry.npmjs.org/@agentproto/adapter-knowledge-files/-/adapter-knowledge-files-0.2.13.tgz","fileCount":6,"integrity":"sha512-l69UwmkvOuSZqPTKXwAuH4jjB7r1EWUB4pZvX2IR+YQqqoYxACcKQgEEgvCZu0UaAgUoc0tCcTlD6rdqxWcb3Q==","signatures":[{"sig":"MEUCIF3HtelfnruKgawzk5q/YX9YlN4DNXn27vv8rsIB5xPiAiEAgY4SBN0RZcsqXA4HoNleRMix75ntUBO03eXLPwH6GaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjGfItJOXoiPmLpcEqDqD1ME+emb39SeT4gj+YWDoCWgIgAuo6v8oot98FApge3vPYkZ/8rjfqlcOSNAGPKmrJxWA="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fadapter-knowledge-files@0.2.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108583},"main":"dist/index.mjs","name":"@agentproto/adapter-knowledge-files","type":"module","_from":"file:agentproto-adapter-knowledge-files-0.2.13.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.9.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"license":"Apache-2.0","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"version":"0.2.13","_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"homepage":"https://agentproto.sh","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"_resolved":"/tmp/da311e0e398b987f118c9397848383ff/agentproto-adapter-knowledge-files-0.2.13.tgz","_integrity":"sha512-l69UwmkvOuSZqPTKXwAuH4jjB7r1EWUB4pZvX2IR+YQqqoYxACcKQgEEgvCZu0UaAgUoc0tCcTlD6rdqxWcb3Q==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"_npmVersion":"10.9.8","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 ","directories":{},"maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"_nodeVersion":"22.23.2","dependencies":{"@agentproto/corpus":"0.8.2","@agentproto/provider-kit":"0.4.6","@agentproto/knowledge-engine":"0.2.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tool":"0.4.0","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-knowledge-files_0.2.13_1790733085318_0.7295519177921013"}}},"time":{"created":"2026-07-27T12:00:42.667Z","modified":"2026-09-30T01:51:25.769Z","0.2.0":"2026-07-27T12:00:48.255Z","0.2.1":"2026-08-06T00:46:32.130Z","0.2.2":"2026-08-08T02:50:09.101Z","0.2.4":"2026-09-01T16:29:24.132Z","0.2.5":"2026-09-02T14:23:11.543Z","0.2.6":"2026-09-06T00:28:21.833Z","0.2.8":"2026-09-09T13:31:18.055Z","0.2.9":"2026-09-17T11:01:07.598Z","0.2.10":"2026-09-22T09:23:12.746Z","0.2.11":"2026-09-27T02:46:06.040Z","0.2.12":"2026-09-29T17:19:35.253Z","0.2.13":"2026-09-30T01:51:25.398Z"},"bugs":{"url":"https://github.com/agentproto/ts/issues"},"license":"Apache-2.0","homepage":"https://agentproto.sh","keywords":["agentproto","knowledge-engine","knowledge","retrieval","rag","bm25","files","adapter","provider-kit","open-standard","agentic"],"repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"adapters/knowledge-files"},"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 ","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"readme":"# @agentproto/adapter-knowledge-files\n\nThe pure, zero-runtime **files** backing for the\n[`@agentproto/knowledge-engine`](../../packages/knowledge-engine)\n`IKnowledgeProvider` contract.\n\nKnowledge retrieval from local workspace files via an **in-process BM25\nindex** — no embeddings, no vector store, no network, no API key. It works the\ninstant a workspace has files to index, which makes it the natural default\ncorpus backing where AIP-10 entries already live as markdown: the entries\n_are_ the index, with no separate store to keep in sync.\n\n## What's in the box\n\n| Export | Role |\n| --- | --- |\n| `FilesKnowledgeAdapter` | The `IKnowledgeProvider` implementation. Consumes an injected `FsPort`; knows nothing about `node:fs` or `process.env`. |\n| `LocalFs` | A `node:fs`-backed `FsPort` (from `@agentproto/corpus`) so the adapter runs standalone. Paths are workspace-relative and can't escape the root. |\n| `createStandaloneFilesAdapter()` | Wires `LocalFs` + the typed env into a ready-to-use adapter. |\n| BM25 (`tokenize`, `buildIndex`, `buildIndexYielding`, `score`) | The dependency-free ranking core. Confined to this package. |\n| provider-kit family (`KNOWLEDGE_FILES_CATALOG`, `makeKnowledgeFilesResolver`, `resolveKnowledgeBackend`) | Registers the `files` backend under the `@agentproto/adapter-knowledge-*` discovery convention. |\n\n## Usage\n\nStandalone, driven by env:\n\n```ts\nimport { createStandaloneFilesAdapter } from \"@agentproto/adapter-knowledge-files\"\n\nconst kb = createStandaloneFilesAdapter()\nconst { hits } = await kb.query({ query: \"usage based pricing\", topK: 5 })\n```\n\nWith a host-provided `FsPort` (e.g. a studio guild workspace):\n\n```ts\nimport { FilesKnowledgeAdapter } from \"@agentproto/adapter-knowledge-files\"\n\nconst kb = new FilesKnowledgeAdapter({ fs, workspacePath: \"knowledge\" })\n```\n\nThrough the provider-kit resolver (discovery / catalogs):\n\n```ts\nimport { makeKnowledgeFilesResolver } from \"@agentproto/adapter-knowledge-files\"\n\nconst handle = await makeKnowledgeFilesResolver()(\"files\")\nconst provider = handle?.provider()\n```\n\n## Environment\n\nRead once through the typed `loadFilesKnowledgeEnv()` — the only place these\nnames live:\n\n| Var | Default | Meaning |\n| --- | --- | --- |\n| `KNOWLEDGE_FILES_ROOT` | `process.cwd()` | Absolute host path the `LocalFs` is rooted at. |\n| `KNOWLEDGE_FILES_PATH` | `knowledge` | Workspace-relative folder walked and indexed (recursively). |\n\n## Indexing model\n\n- **Indexed extensions:** `.md`, `.markdown`, `.txt`, `.yaml`, `.yml`, `.json`.\n  YAML frontmatter is stripped before tokenizing so schema fences don't pollute\n  the vocabulary; frontmatter is still surfaced as each hit's `metadata` (and a\n  `slug` mirrors to `entrySlug` for corpus hydration).\n- **Ranking:** standard BM25 (k1=1.5, b=0.75) with `+1`-smoothed IDF.\n- **Cache:** the index is built lazily on first query and cached permanently —\n  it's rebuilt only when the adapter `invalidate()`s (via `ingest`/`delete`) or\n  a fresh instance is created. Hosts wanting second-precision freshness on\n  external edits can wire fs-watch into a new instance.\n\n## Capabilities\n\n`vectorSearch: false`, `hybridSearch: false`, `citations: true` — BM25 returns\nranked hits with a file path + byte span, usable as citations even without a\nvector concept.\n\nApache-2.0.\n","readmeFilename":"README.md"}