{"_id":"okfy-ai","_rev":"11-924d8936b29c407c29f4099bc02857e2","name":"okfy-ai","dist-tags":{"latest":"0.3.5"},"versions":{"0.1.2":{"name":"okfy-ai","version":"0.1.2","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.1.2","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js"},"dist":{"shasum":"241e7ec64bc7fdd16b9c9163b9f724d06e527987","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.1.2.tgz","fileCount":34,"integrity":"sha512-KxB8yvpB47dgZZDSC9mvMTwl72vV74bEjxLGVwJX+ug746Yiw1Kyhlx8eOc+PRcFRKSEVkykbtwxq/hU07QJVg==","signatures":[{"sig":"MEUCIEgK7zrgcCYj1sIgg3xbELnNPaq9fR9muf795HYTawXgAiEAleTP3HLM3Z6hP7caQFoI2770GiO2xURTh0hwpcnjHq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":222827},"type":"module","engines":{"node":">=20"},"gitHead":"d5cb1f9a77e8215ead5c925a119e2c55094897d2","scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","gray-matter":"^4.0.3","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.1.2_1781433141934_0.6949447249113994","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"okfy-ai","version":"0.1.3","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.1.3","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"855a788d78de4a7810f011ea629aa9d5223e43d4","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.1.3.tgz","fileCount":35,"integrity":"sha512-gmJ2KY5ZdtDBOSqdhNSuNXp+ER2QryqWBNxXhpbuB4VxHFn/eMbybPbHhrcn38QYPf1QaYLYgbUf9NFooKXEAQ==","signatures":[{"sig":"MEUCIQCIsvMrm+cjUZmS/s/5Dx+iXvQt3UGtHU92TfPm9JoYwQIgIGafWAHzrhetrzGerzT4cUT3lMu0tXfTaXR0jpmNj0g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":295985},"type":"module","engines":{"node":">=20"},"gitHead":"751aa4632fc8aacfae533bad8cab80ed2d61ea1c","scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","gray-matter":"^4.0.3","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.1.3_1781439347161_0.7905385263442337","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"okfy-ai","version":"0.1.4","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.1.4","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"5c3da7122843b4ecc9926a96251a6057ae33f378","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.1.4.tgz","fileCount":37,"integrity":"sha512-CMPDdQwTtImL0HLkq3J3u0fJXz4fDuDWx6gpSch5AG5/QO/KOHDPH3b2dewlG/3ypv3YnzSnErfG2h2M3aTFpQ==","signatures":[{"sig":"MEYCIQDS+k8Jrlh8VXOMUx+CUUfjavpBSBlXN6YzLgRpPZTpWAIhAKKtqk4TFzjY6JtCAEKz6Th0bdoSS6m6HAMNX760lJ18","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":308921},"type":"module","engines":{"node":">=20"},"gitHead":"497b7fa6f86295b5cc25e58d3919946cee5d19a0","scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","gray-matter":"^4.0.3","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.1.4_1781459738046_0.05562041449429311","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"okfy-ai","version":"0.1.5","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.1.5","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"e4c14f6ca1d3e937929fd94174fb4ec046832844","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.1.5.tgz","fileCount":37,"integrity":"sha512-u26cn//XMCHG/eNZfS/SdCLD+yfPKRJgkd4IGrOO8EnpLJD+M1C8YKXAI4IllP2uLzsa88mSfLFtJJUFfBxXMQ==","signatures":[{"sig":"MEUCIAM1NCpjmNyHKJPB8mbeaS+8De2faOSzgehcRdUDs5cRAiEAkp+WcIICPkicNX3ImhsMx3OC8Pc2RcvzfFwS3NHV1l8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":375185},"type":"module","_from":"file:tmp/npm-publish/okfy-ai-0.1.5.tgz","engines":{"node":">=20"},"scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"_resolved":"/Users/0dust/Documents/Experiments/okfy/tmp/npm-publish/okfy-ai-0.1.5.tgz","_integrity":"sha512-u26cn//XMCHG/eNZfS/SdCLD+yfPKRJgkd4IGrOO8EnpLJD+M1C8YKXAI4IllP2uLzsa88mSfLFtJJUFfBxXMQ==","repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","gray-matter":"^4.0.3","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.1.5_1781724841268_0.3189966072931987","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"okfy-ai","version":"0.2.0","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.2.0","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"61dd8c8cdfeb80564ba8670285de0ac08bada989","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.2.0.tgz","fileCount":37,"integrity":"sha512-sSyX5HuLj2esToT5U5Ki4pfpC51/tQDhFjuVAxx40swg5S7WhzObZm2r6WHDqp+EgX+3xwH1Fp9zBW1q70/3/w==","signatures":[{"sig":"MEUCIQDPYtKK1HhTqSkZAhZHmx4HJiBqP8kmbJvqsmAd7pA6cgIgaAajfwfoUYX86yRdFwUo8/rwSiOXFUGkMEhbhSnR6r8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":400307},"type":"module","engines":{"node":">=20"},"gitHead":"fb35050b839e0bf154e5c42ce1a225b5bde4315b","scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","gray-matter":"^4.0.3","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.2.0_1781875858761_0.11637028913681635","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"okfy-ai","version":"0.3.0","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.3.0","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"8da060334f5080e2e79d6c751a70fcb54abec911","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.3.0.tgz","fileCount":37,"integrity":"sha512-j96m8FNgCFfurgjvJZ75NVfBXT7oY21FOev6z+NNQTiMNljBCmf4gW1PwHVPd5cNegOFbOKPLpSZkNoWNynMxQ==","signatures":[{"sig":"MEYCIQCrYrut7UPG2jX+xkKSQ0KiQseA0+0A55e9LBoJXiyHowIhAKMHOn22eiFbEO4hpER6gOkWVZfP1f7HVx2O1/XW1Kq1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":444025},"type":"module","engines":{"node":">=20"},"scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.6.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","gray-matter":"^4.0.3","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.3.0_1781935110045_0.8062748762022747","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"okfy-ai","version":"0.3.1","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.3.1","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"d2f8e1273f110ee0f43ee598ace794231f6d17e6","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.3.1.tgz","fileCount":40,"integrity":"sha512-VMg4/xENkDGNxIqceiOqiZ+6B1fO4f8cYS94ts7mIRFsLXyZN9eV84LI1d6q5NwI+co7oxHg8Eeu86PaPhyLHA==","signatures":[{"sig":"MEQCIGnzmEBUyPT1JPmrAmEK90yvyi8es6FlwzyR6rvOvnGZAiAhCYfsRokHt10g7M7d5sG1+7cGs8fXg4bXo8JJXRjP1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":533545},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./setup":{"types":"./dist/setup-artifacts.d.ts","import":"./dist/setup-artifacts.js"},"./package.json":"./package.json"},"scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts src/setup-artifacts.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.6.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","js-yaml":"^4.2.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/js-yaml":"^4.0.9","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.3.1_1782632944118_0.9064268097673895","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"okfy-ai","version":"0.3.2","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.3.2","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"10666132f7ecd145bae25c144021423bfadb8a8e","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.3.2.tgz","fileCount":40,"integrity":"sha512-+E0pVreK1QMlD1E7zYlY9zmKBjrrgm3RqNyJkqJrjonS0FzrvNguaQx2uiQpcN4Vj3YzLkrfhJPcOQpqTlCGpg==","signatures":[{"sig":"MEUCIBYIHAk/Qji1C6EI7q2ZKV4yzwMmF4QF9aYHJM9EwhWjAiEA9126m6vKEYlRDDb/q6gWrBqWr5MQQF76/Xh1DDwv7Xo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":536494},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./setup":{"types":"./dist/setup-artifacts.d.ts","import":"./dist/setup-artifacts.js"},"./package.json":"./package.json"},"scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts src/setup-artifacts.ts --format esm --dts --clean","format":"prettier --write .","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm build && pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.6.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","js-yaml":"^4.2.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/js-yaml":"^4.0.9","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.3.2_1782833494911_0.7240947215374245","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"okfy-ai","version":"0.3.3","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.3.3","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"0bce1357a3af0b1c949d502e99b77ce409b992dc","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.3.3.tgz","fileCount":46,"integrity":"sha512-BEmnKb3F4Oksd9T7iMQo4pLhW+j49WOK0mTcWgLtJeMr/kmmLIYrjxM3nZ/UqzHEH/SRjf/BugD52aRQR1kGlw==","signatures":[{"sig":"MEQCIGN5TEcl6c2nLBzecH2zZNaAegTZn+r7L/k6vdZ64cNwAiADRtFUnQWW31dGjGq4fv9M4kxPgGUACenV0XqhN2AFgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":548959},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./mcp":{"types":"./dist/public/mcp.d.ts","import":"./dist/public/mcp.js"},"./setup":{"types":"./dist/setup-artifacts.d.ts","import":"./dist/setup-artifacts.js"},"./package.json":"./package.json"},"scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts src/public/mcp.ts src/setup-artifacts.ts --format esm --dts --clean","format":"prettier --write .","prepack":"pnpm build","pretest":"pnpm build","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.6.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","js-yaml":"^4.2.0","p-limit":"^6.2.0","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","robots-parser":"^3.0.1","@modelcontextprotocol/sdk":"^1.13.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/js-yaml":"^4.0.9","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.3.3_1783857067412_0.37135247137448935","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"okfy-ai","version":"0.3.4","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"license":"MIT","_id":"okfy-ai@0.3.4","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"homepage":"https://github.com/0dust/OKFy#readme","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"dist":{"shasum":"9af2e43fa414ced86b5693cd98c2356663032a46","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.3.4.tgz","fileCount":46,"integrity":"sha512-Xi4RhJ5xhfDXSIBipqz/0ylyPpLQ7WtMejryK5yv6vmjbXslkWJSDmzeHd9mcbWzbfSpAXjllU9Mp1eUXewm0Q==","signatures":[{"sig":"MEYCIQCD+j193bjWast+LtcOqlYKl1nTh3/iVV0sErFPuM3byQIhAKW3TIdeikk1iJ9OLr6LYiaHAy5xeeuTT1vY1A4okUKI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":601489},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./mcp":{"types":"./dist/public/mcp.d.ts","import":"./dist/public/mcp.js"},"./setup":{"types":"./dist/setup-artifacts.d.ts","import":"./dist/setup-artifacts.js"},"./package.json":"./package.json"},"scripts":{"demo":"node dist/cli.js demo","lint":"eslint .","okfy":"node dist/cli.js","test":"vitest run","build":"tsup src/cli.ts src/index.ts src/public/mcp.ts src/setup-artifacts.ts --format esm --dts --clean","format":"prettier --write .","prepack":"pnpm build","pretest":"pnpm build","typecheck":"tsc --noEmit","publish:npm":"node scripts/publish-npm-readme.mjs","prepublishOnly":"pnpm test && pnpm typecheck"},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"repository":{"url":"git+https://github.com/0dust/OKFy.git","type":"git"},"_npmVersion":"11.6.0","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"zod":"^3.25.64","cheerio":"^1.0.0","js-yaml":"^4.2.0","p-limit":"^6.2.0","unified":"^11.0.5","turndown":"^7.2.0","commander":"^12.1.0","minimatch":"^10.0.1","minisearch":"^7.1.2","picocolors":"^1.1.1","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","remark-parse":"^11.0.0","robots-parser":"^3.0.1","github-slugger":"^2.0.0","remark-frontmatter":"^5.0.0","mdast-util-to-string":"^4.0.0","@modelcontextprotocol/sdk":"^1.13.3","@flowershow/remark-wiki-link":"3.3.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","vitest":"^3.2.4","prettier":"^3.5.3","@eslint/js":"^9.29.0","typescript":"^5.8.3","@types/node":"^20.19.1","@types/js-yaml":"^4.0.9","@types/turndown":"^5.0.5","typescript-eslint":"^8.34.1"},"_npmOperationalInternal":{"tmp":"tmp/okfy-ai_0.3.4_1785867558360_0.5771071117680615","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"okfy-ai","version":"0.3.5","description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./mcp":{"types":"./dist/public/mcp.d.ts","import":"./dist/public/mcp.js"},"./setup":{"types":"./dist/setup-artifacts.d.ts","import":"./dist/setup-artifacts.js"},"./package.json":"./package.json"},"bin":{"okfy":"dist/cli.js","okfy-ai":"dist/cli.js"},"keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"engines":{"node":">=20"},"scripts":{"build":"tsup src/cli.ts src/index.ts src/public/mcp.ts src/setup-artifacts.ts --format esm --dts --clean","pretest":"pnpm build","test":"vitest run","typecheck":"tsc --noEmit","lint":"eslint .","format":"prettier --write .","okfy":"node dist/cli.js","demo":"node dist/cli.js demo","publish:npm":"node scripts/publish-npm-readme.mjs","prepack":"pnpm build","prepublishOnly":"pnpm test && pnpm typecheck"},"dependencies":{"@flowershow/remark-wiki-link":"3.3.1","@modelcontextprotocol/sdk":"^1.13.3","cheerio":"^1.0.0","commander":"^12.1.0","github-slugger":"^2.0.0","js-yaml":"^4.2.0","mdast-util-to-string":"^4.0.0","minimatch":"^10.0.1","minisearch":"^7.1.2","p-limit":"^6.2.0","picocolors":"^1.1.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1","remark-mdx":"^3.1.1","remark-parse":"^11.0.0","robots-parser":"^3.0.1","turndown":"^7.2.0","unified":"^11.0.5","zod":"^3.25.64"},"devDependencies":{"@eslint/js":"^9.29.0","@types/js-yaml":"^4.0.9","@types/node":"^20.19.1","@types/turndown":"^5.0.5","eslint":"^9.29.0","prettier":"^3.5.3","tsup":"^8.5.0","typescript":"^5.8.3","typescript-eslint":"^8.34.1","vitest":"^3.2.4"},"repository":{"type":"git","url":"git+https://github.com/0dust/OKFy.git"},"license":"MIT","_id":"okfy-ai@0.3.5","bugs":{"url":"https://github.com/0dust/OKFy/issues"},"homepage":"https://github.com/0dust/OKFy#readme","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-AlQB5bAICnQUiSaRie/CS12Nwnv6J91w1hC05eZfhYeF77btEAaDYj8JCuJ71wPecTG6zZBA2T885WldL5gbKQ==","shasum":"ab1c6a16f3a91fd031c108b20ce2c648a883c036","tarball":"https://registry.npmjs.org/okfy-ai/-/okfy-ai-0.3.5.tgz","fileCount":46,"unpackedSize":616809,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCISzeGSpVnPYgw+hXPx69b12D6B/CyaD/wnxQIFNL4PQIhAO04CyPQvinRK0h2BH3lcTi9t56s1xWjqYiqyutZcw+N"}]},"_npmUser":{"name":"0dust","email":"himanshutripathi366@gmail.com"},"directories":{},"maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/okfy-ai_0.3.5_1786986569430_0.6985103262150123"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-14T10:32:21.788Z","modified":"2026-08-17T17:09:29.731Z","0.1.2":"2026-06-14T10:32:22.122Z","0.1.3":"2026-06-14T12:15:47.351Z","0.1.4":"2026-06-14T17:55:38.230Z","0.1.5":"2026-06-17T19:34:01.457Z","0.2.0":"2026-06-19T13:30:58.965Z","0.3.0":"2026-06-20T05:58:30.217Z","0.3.1":"2026-06-28T07:49:04.270Z","0.3.2":"2026-06-30T15:31:35.081Z","0.3.3":"2026-07-12T11:51:07.580Z","0.3.4":"2026-08-04T18:19:18.505Z","0.3.5":"2026-08-17T17:09:29.597Z"},"bugs":{"url":"https://github.com/0dust/OKFy/issues"},"license":"MIT","homepage":"https://github.com/0dust/OKFy#readme","keywords":["okf","open-knowledge-format","mcp","agent-memory","llm","docs","rag","markdown"],"repository":{"type":"git","url":"git+https://github.com/0dust/OKFy.git"},"description":"Convert docs into Open Knowledge Format bundles and serve them to MCP agents.","maintainers":[{"name":"0dust","email":"himanshutripathi366@gmail.com"}],"readme":"# okfy-ai\n\nGive coding agents searchable, source-linked documentation—locally.\n\nOKFy converts documentation websites and Markdown folders into typed, linked Markdown bundles, then serves them to Claude, Codex, Cursor, and other MCP clients. Knowledge and source references stay inspectable and Git-diffable; no hosted index, embedding service, or LLM API key is required.\n\n## Quickstart\n\nRegister documentation and generate client setup:\n\n```bash\nnpx -y okfy-ai init stripe https://docs.stripe.com/checkout --client generic\n```\n\n`init` crawls the source into a local bundle, prints the MCP launch configuration, and gives you a first prompt. It does not edit client configuration.\n\nAsk your agent:\n\n```text\nUsing the Stripe documentation, explain the minimum Checkout Sessions\nbackend flow. Read the relevant concepts, follow related documentation\nwhen needed, and include every source reference used.\n```\n\nThe agent searches first, reads only the relevant concepts, follows linked documentation when necessary, and returns the original sources.\n\n## Why OKFy\n\n- Plain Markdown concepts that humans can inspect and Git can diff.\n- Source URLs and provenance retained in retrieval results.\n- Local, deterministic lexical search with no embedding API.\n- Read-only MCP tools for progressive search, reading, and traversal.\n- Registered website sources that can refresh when stale.\n- Multi-source workspaces for a complete project stack.\n\n## Connect An MCP Client\n\nThe registered source is served with:\n\n```bash\nnpx -y okfy-ai serve stripe --mcp --auto-refresh\n```\n\nClaude Code:\n\n```bash\nclaude mcp add --transport stdio stripe-okf -- npx -y okfy-ai serve stripe --mcp --auto-refresh\n```\n\nCodex:\n\n```toml\n[mcp_servers.stripe_okf]\ncommand = \"npx\"\nargs = [\"-y\", \"okfy-ai\", \"serve\", \"stripe\", \"--mcp\", \"--auto-refresh\"]\nstartup_timeout_sec = 20\ntool_timeout_sec = 60\nenabled = true\n```\n\nClaude Desktop, Cursor, and other `mcpServers` clients:\n\n```json\n{\n  \"mcpServers\": {\n    \"stripe-okf\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"okfy-ai\", \"serve\", \"stripe\", \"--mcp\", \"--auto-refresh\"]\n    }\n  }\n}\n```\n\nFull setup guidance: https://github.com/0dust/OKFy/blob/main/docs/mcp-clients.md\n\nIf setup fails:\n\n```bash\nnpx -y okfy-ai doctor stripe --client codex\n```\n\n## Multi-Source Workspaces\n\nServe the documentation behind a project through one source-aware MCP server:\n\n```bash\nnpx -y okfy-ai add stripe https://docs.stripe.com/checkout\nnpx -y okfy-ai add clerk https://clerk.com/docs\nnpx -y okfy-ai doctor stripe clerk --client codex\nnpx -y okfy-ai serve stripe clerk --mcp --auto-refresh\n```\n\nProject-local Markdown can join the same workflow:\n\n```bash\nnpx -y okfy-ai import ./docs/api --out ./okf/api-docs --source-name \"API docs\"\nnpx -y okfy-ai import ./docs/product --out ./okf/product-docs --source-name \"Product docs\"\nnpx -y okfy-ai serve ./okf/api-docs ./okf/product-docs --mcp\n```\n\nSearch and read tools accept a `source` filter when concepts overlap. `bundle_summary` reports workspace totals plus per-source validity, freshness, refresh progress, and errors.\n\n## Keep Sources Fresh\n\nRegistered sources live under `~/.okfy`. The default `stale-while-refresh` mode serves the current valid bundle while stale documentation refreshes in the background.\n\n```bash\nnpx -y okfy-ai sources\nnpx -y okfy-ai check stripe\nnpx -y okfy-ai update stripe\nnpx -y okfy-ai serve stripe --mcp --auto-refresh\n```\n\nUse `--refresh-mode blocking` to wait for refresh or `--refresh-mode off` to prevent network fetching while serving.\n\n## Create Explicit Bundles\n\nWebsite snapshot:\n\n```bash\nnpx -y okfy-ai crawl https://docs.stripe.com/checkout --out ./stripe-checkout-okf --max-pages 25\nnpx -y okfy-ai validate ./stripe-checkout-okf\n```\n\nLocal Markdown:\n\n```bash\nnpx -y okfy-ai import ./docs --out ./docs-okf --source-name \"Project docs\"\nnpx -y okfy-ai validate ./docs-okf\nnpx -y okfy-ai serve ./docs-okf --mcp\n```\n\n### Import Obsidian Vaults\n\nObsidian knowledge semantics are recognized automatically by the existing local import path. Point `okfy import` at a vault or folder exactly as you would any Markdown source; there is no Obsidian flag, plugin, separate command, or requirement for the Obsidian app:\n\n```bash\nnpx -y okfy-ai import ./my-vault --out ./vault-okf --source-name \"Team vault\" --force\nnpx -y okfy-ai validate ./vault-okf\n```\n\nFor Markdown and MDX notes, okfy preserves these knowledge-bearing conventions:\n\n- Source YAML `title`, `description`, and `type` override inferred values when they are non-empty strings. `aliases` and `tags` accept a string or string array; source and inline tags augment inferred tags and are deduplicated case-insensitively. Incompatible recognized values emit `invalid_frontmatter_property` and fall back instead of partially applying. Malformed YAML is a document-level import error. Other safe YAML properties are retained deterministically; okfy owns `resource` and `timestamp`.\n- The source YAML block is removed from the body and merged into the single generated OKF frontmatter block.\n- Inline Obsidian tags are collected from prose, including nested tags such as `#product/setup`. Tokens inside fenced code, inline code, HTML, or MDX expressions are left literal.\n- A uniquely resolved `[[note]]`, `[[note|label]]`, `[[note#Heading|label]]`, or `[[note#^block-id]]` becomes a relative Markdown link. Heading targets are slugged and block IDs become portable anchors, so graph links and backlinks work in the generated bundle.\n- A resolved note embed such as `![[Shared Context]]` becomes a relationship link; the target note's contents are not copied into the source note. Recognized image, audio, video, and PDF attachment embeds such as `![[diagram.png|600]]` remain readable Obsidian references and do not create concepts or warnings.\n\nResolution is conservative. Missing or ambiguous references are not guessed: okfy leaves the original wikilink readable and reports `unresolved_wikilink` or `ambiguous_wikilink`. A link to a missing heading or block reports `missing_wikilink_fragment`. These diagnostics are warnings—the import still completes and a structurally valid bundle remains valid. When converting a wikilink would otherwise lose warning provenance, generated bundles persist that provenance in a versioned `okfy-import-diagnostics.json` manifest so `validate`, Inspector, and MCP report the same warning. The CLI prints a warning summary; validation, Inspector, and `bundle_summary` expose the detailed semantic warnings. Import-time results also include `invalid_frontmatter_property` warnings.\n\nThe same behavior is available programmatically without an Obsidian option:\n\n```ts\nimport { importLocal, type DocumentDiagnostic, type ImportResult } from \"okfy-ai\";\n\nconst result: ImportResult = await importLocal({\n  inputPath: \"./my-vault\",\n  outDir: \"./vault-okf\",\n  sourceName: \"Team vault\",\n  force: true\n});\n\nconst diagnostics: DocumentDiagnostic[] = result.diagnostics;\n```\n\nThis support models note identity, classification, and relationships. It does not parse Canvas, Bases, PDFs, images, audio, video, callouts, highlights, comments, tasks, Dataview fields, or presentation-only embed dimensions; write back to the vault; expand embedded note contents; or add semantic/vector search.\n\nMCP clients start `serve --mcp` as a subprocess; do not run it as a normal interactive terminal command.\n\nAdd `--force` only when you explicitly intend to replace an existing non-empty output bundle.\n\n## MCP Tools\n\n- `bundle_summary`: validity, size, and source freshness.\n- `search_concepts`: concept previews by query, source, type, or tags.\n- `read_concept`: body, metadata, links, backlinks, and source.\n- `get_neighbors`: outbound links and backlinks around a concept.\n- `list_types`: concept types and counts.\n- `list_tags`: tags and counts.\n\nMCP tools are read-only; refresh is server-side maintenance, not an agent-callable write tool.\n\nProgrammatic MCP integrations can use the stable public surface:\n\n```ts\nimport { createMcpServer, type ServeOptions } from \"okfy-ai/mcp\";\n```\n\nProgrammatic imports remain compatible with the `okfy-ai` root surface. New setup-only code can import pure artifact helpers from `okfy-ai/setup`.\n\n## Inspect And Share\n\nCreate a local static HTML Inspector for relationships, warnings, freshness, and source URLs:\n\n```bash\nnpx -y okfy-ai map stripe --out okfy-inspector.html\n```\n\nUse `--json` when CI or tests need the same Inspector report model without writing HTML.\n\nCreate a shareable setup snapshot when useful:\n\n```bash\nnpx -y okfy-ai activate stripe --client codex --out okfy-activation\n```\n\nIt contains `okfy-inspector.html`, `okfy-setup.md`, and `okfy-proof.json`. Activation does not write client config files by default. Preview what your agent will know before sharing or applying the generated setup.\n\n## Optional CLI Install\n\nYou do not need global install for MCP configs. `npx -y okfy-ai ...` is normally enough.\n\n```bash\nnpm install -g okfy-ai\nokfy demo\n```\n\n`okfy-ai` is the npm package name. `okfy` is the installed CLI command. Node.js 20+ is required.\n\n## Security Defaults\n\n- Crawls respect `robots.txt` and stay same-origin by default.\n- Page count, depth, response size, and concurrency are capped.\n- Private network URL literals and redirects to private targets are rejected by default.\n- Preflight DNS-resolved private targets are rejected before fetch; fetch-time DNS is not IP-pinned.\n- Unsafe force-output directories are rejected unless explicitly overridden.\n- HTML and Markdown are treated as text; scripts are not executed.\n- MCP tools are read-only.\n\nProject documentation, examples, commands, and limits: https://github.com/0dust/OKFy\n\nLicense: MIT\n","readmeFilename":"README.md"}