{"_id":"@bakarhythm/get-doc-content","_rev":"17-eb00f5a69a221545f186b3a67d950fb5","name":"@bakarhythm/get-doc-content","dist-tags":{"latest":"2.1.0"},"versions":{"0.1.1":{"name":"@bakarhythm/get-doc-content","version":"0.1.1","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@0.1.1","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"f875dc781022e547be3fa581211b681cf11385e1","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-0.1.1.tgz","fileCount":14,"integrity":"sha512-CryJNWd0QfCOksA+qdbs2uZO8SYi6X3mpWhDmlFaLekxXzm+3W2dnmP5PHG7+/Y71q220RZ1/KZ6xehCReuzuw==","signatures":[{"sig":"MEQCIAUZkv4/FPHwLeQb+bjSbDCNR9EGDhtfZrlH+YmwnjEXAiAsGN56AioeOB1CFkxPnPAuoTSff76nngLKtwwxZvc+Iw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23069},"main":"dist/src/index.js","type":"module","gitHead":"c498f60f11d6ba77404e8fc8010d73adb3434389","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release:major":"bumpp --all --commit --tag --no-push --no-verify --yes --release major","release:minor":"bumpp --all --commit --tag --no-push --no-verify --yes --release minor","release:patch":"bumpp --all --commit --tag --no-push --no-verify --yes --release patch"},"_npmUser":{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"},"_npmVersion":"11.6.2","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","bumpp":"^10.4.1","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_0.1.1_1773076240758_0.09953656105026987","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bakarhythm/get-doc-content","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.0.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"118bd31360ed4a4f657ce61f5ddbf553b3f838ec","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.0.0.tgz","fileCount":14,"integrity":"sha512-NPsnpiyfRT86OEUN2SRt3t4zr8ea1OKjNW7TKFBrTfAg2oWBn7E1OViY+AeSwnkzhU3HpP/O9Lazk9ZW3XDJgg==","signatures":[{"sig":"MEYCIQDLswsQF9qpo/cTxZU9Qx584NbJSiUz6qgFg55EIrTd6wIhANj/8IJX8iBkmcB4r8CvyVMnslS2NhgQe6N3twq9jJRf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34959},"main":"dist/src/index.js","type":"module","gitHead":"f1115d5020bbf62bfa7b1ee7c798b5fab35d17a7","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release:major":"bumpp --all --commit --tag --no-push --no-verify --yes --release major","release:minor":"bumpp --all --commit --tag --no-push --no-verify --yes --release minor","release:patch":"bumpp --all --commit --tag --no-push --no-verify --yes --release patch"},"_npmUser":{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"},"_npmVersion":"11.6.2","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","bumpp":"^10.4.1","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.0.0_1773230173122_0.47794889267919816","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@bakarhythm/get-doc-content","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.0.4","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"474df35d042bbb009c965815ac4571baa53c39dc","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.0.4.tgz","fileCount":14,"integrity":"sha512-pU4ZMXbZmiPw2uKAhBnbuImCCpXxmpCK3VSvdSAPP3lBusVJgNJ3LFTwC+tx+mg+zbsyzugXXK6rC63AqyA7VQ==","signatures":[{"sig":"MEYCIQDUoLl4S82AORNhG1t8eV7esxLGzKJN1bAq+FRnrgiEtgIhAJAZMywRuDG0KBDgrMZTJl9d2qoGcy+G4iEq9zbgJGlW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35200},"main":"dist/src/index.js","type":"module","gitHead":"db05a1c8894500af9ae7378efcabebb1a892d1d5","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release:major":"bumpp --all --commit --tag --no-push --no-verify --yes --release major","release:minor":"bumpp --all --commit --tag --no-push --no-verify --yes --release minor","release:patch":"bumpp --all --commit --tag --no-push --no-verify --yes --release patch"},"_npmUser":{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.6.2","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","bumpp":"^10.4.1","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.0.4_1773245873676_0.677512951503418","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@bakarhythm/get-doc-content","version":"1.0.8","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.0.8","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"5082d939049f8d5378426124dafafc24c5f949bb","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.0.8.tgz","fileCount":14,"integrity":"sha512-ynUKxTCHKOcmro6+4AxX4nCTO25L98rdsRhPesTrPDZT+I33zNVWNUO3cDrAl/9ecreKYCAt7PVP/ziewl5sdw==","signatures":[{"sig":"MEUCIQCIwMMABfs5lgiRPC1YLvbK2xyLUv3hF1U5CZvYtSseqAIgINNxjQ8BRJ/or7lGtwORmaRCcBb7aD7cdrz0e2/On6Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35200},"main":"dist/src/index.js","type":"module","gitHead":"d27b0edd8db8b8d2cd0262cfb6a5639f3a5ebaf7","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release:major":"bumpp --all --commit --tag --no-push --no-verify --yes --release major","release:minor":"bumpp --all --commit --tag --no-push --no-verify --yes --release minor","release:patch":"bumpp --all --commit --tag --no-push --no-verify --yes --release patch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.9.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","bumpp":"^10.4.1","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.0.8_1773328261754_0.7471184635845161","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bakarhythm/get-doc-content","version":"1.1.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.1.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"48c453e068978f1426ffe09a63645f05d7791cb7","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.1.0.tgz","fileCount":20,"integrity":"sha512-nJyZzKcfpUczP2XFp7Lx4Dx4U7aIhivQRNl1I21WsXhGZ9JZKXjud+okmUvQdITdSLHMyo5zqpD3Y3ypm8RkCw==","signatures":[{"sig":"MEUCIQD4WHXODEWXPuEQm6989JKHZxTxzyJHGPHuGncn5GUirgIgXbJSjdcuC9uL0EbGr2sSzWbUiWFY6YdcsLTsf3mn+hw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65029},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"49c8aa230b45dd07e50c1b5eea64f57d1c11a2d5","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","eval:llm":"tsx scripts/eval-llm.ts","debug:page":"tsx scripts/debug-page.ts","release:major":"bumpp --all --commit --tag --no-push --no-verify --yes --release major","release:minor":"bumpp --all --commit --tag --no-push --no-verify --yes --release minor","release:patch":"bumpp --all --commit --tag --no-push --no-verify --yes --release patch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","bumpp":"^10.4.1","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.1.0_1776997784880_0.6662222233908854","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@bakarhythm/get-doc-content","version":"1.1.1","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.1.1","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"f6caa25611d3a91acc47498050fea800fb8a125b","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.1.1.tgz","fileCount":20,"integrity":"sha512-ZcqkvhwFWAiiY2lI6Jrmxq9+xe7LMkS/D0QjW3DZmsLLDbaZJY9XzTffyvX6pDE6JHj6GWR2A8S/70yvQPfjEw==","signatures":[{"sig":"MEUCIQDVhPaKNzCIPVWw7Snlc4mGWCntOfJa+prkBt55TfkWtwIgY7m2KJ6r7xfXd/NWJ45DN4qLvouLy1dApdCcUlBykSk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69140},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"09ed19b1026cf3418033f7ee84e8829ccf4d773d","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","eval:llm":"tsx scripts/eval-llm.ts","debug:page":"tsx scripts/debug-page.ts","release:major":"bumpp --all --commit --tag --no-push --no-verify --yes --release major","release:minor":"bumpp --all --commit --tag --no-push --no-verify --yes --release minor","release:patch":"bumpp --all --commit --tag --no-push --no-verify --yes --release patch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","bumpp":"^10.4.1","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.1.1_1777001870349_0.8561142015925269","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@bakarhythm/get-doc-content","version":"1.2.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.2.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"e1155765bf77945e2fe125e5cd0f0b4253a0323f","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.2.0.tgz","fileCount":40,"integrity":"sha512-gdVXxh4R7Go4B+Sxx1T3kGxWtOe1WVot5h3t1KY0t5i9IUEk6as2jZ4r/ISGDe88v/o9pY7bx9dc/gbJs7FT8g==","signatures":[{"sig":"MEUCIQCwF+Sve7FSUZMV3vrimZB2Hh5KH/zFU2PIgIFEzJgPhgIgEtU/Nm9UTZaNFkX22JIowUmpv50Y5CBYspK6nFN24kY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":98374},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"0edf7a1f193868993ad53a08d5bc16329b1efb7b","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.2.0_1777215433636_0.5986821297905358","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@bakarhythm/get-doc-content","version":"1.2.1","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.2.1","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"4c84ca1a171b5195d2836e7e720ebe00b15b36e5","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.2.1.tgz","fileCount":40,"integrity":"sha512-n4RzWl1JqYvc1Ikb14UBPLC5pq2hKx8/TPX5YP7rWeoU/59W/iGaVSWz4/Re2ckrcEYxu4E0Yo1BPVAR+AR0UA==","signatures":[{"sig":"MEUCIQDPe4WKZ6DqfsLYAtAiuepG+Y838+vWdR1uTeLe/wd4hQIgCSJgU/SwxB5J7WFoa5rI3g/avH+pg2+RdBRinb8Y/j0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103026},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"3adfef05a0335dde095bc641c96168d7d1f7e817","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.2.1_1777651446431_0.07337087344773185","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@bakarhythm/get-doc-content","version":"1.2.2","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.2.2","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"4de53987b8c2e3c4f673115cd0b9199bf0bbe456","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.2.2.tgz","fileCount":40,"integrity":"sha512-wPBUJ2KV8L6E5pR1Xl1FI3raDHsR9JtJI05DtNl2ghFNt3ISdpTBZXCVaYZoyJvj7lV0cEjulu3iWLmiLQ0LvA==","signatures":[{"sig":"MEQCIDdh0MJD1Q/sXYNbj58OXS34qZptZqHErKrvLLC5FZLAAiA9Cj6aWGB81QbIVErfaYgU0fh5va1qjkVabzHzqLd2yg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103370},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"12bc9ef0bc8789ff9d50398a35423679110735db","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.2.2_1777655157160_0.1273252018144566","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@bakarhythm/get-doc-content","version":"1.3.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.3.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"9188c96be253b585fdcc8b7b88a7aa1bdbf4856a","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.3.0.tgz","fileCount":43,"integrity":"sha512-wykT+DQTgiuaiq9KVvMNvSColOqyNJhhjZqN92NmEATJ9/wUSTBlbgrIB03Wl2J+esGIkH2d6xm33rrbnxen1Q==","signatures":[{"sig":"MEUCIDJXjtGsShQc8/AuameQzsnPdHO83E3qHmy/Xs/qZICfAiEAjxEQOwPIJ3imFlkRYspCNV4GvS6XONl8Kl02LL8X06c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":139955},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"06e405d8396921afbb8af379f20b917b23f74ef8","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.12.1","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.3.0_1779099946143_0.7109877767248483","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@bakarhythm/get-doc-content","version":"1.3.1","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.3.1","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"b11b120588a99716cb0dea6f9c0619a2e1614bc0","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.3.1.tgz","fileCount":46,"integrity":"sha512-4v6r53t2d8YhTk87G9bRd/ji7yAdfvtU6DerPR4aJsrmlmt5zX3RaWmFX99X42m/2buGLLnSkeg1OCwrBBgpCw==","signatures":[{"sig":"MEUCIQDBcG5qipExcEINfTC2B15hb58kFk+IT32OxOrGNglbgAIgdu2R48kSF4C/q9GpZiOCru3fdT/R9BawyqQ8ELEdiLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":166194},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"9e183a230a33cc76613bc6b46b9dd20b80949754","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.12.1","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.3.1_1779155758547_0.7319471370679436","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@bakarhythm/get-doc-content","version":"1.4.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.4.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"9da91a828e274d5b958c893493aacf09bd7b9d0c","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.4.0.tgz","fileCount":46,"integrity":"sha512-YSBhwWHUvYpfVVJL2PXNI04Bjgej7+LElmog5Bf2/nykVkvGcOQ55xM/Sl7glKbHE9NwBbvAj/CY/jh6fp4CyA==","signatures":[{"sig":"MEYCIQC17DUpX6V9DQwGm8lKH9Rqx6+2qPYy7+Q/9EFS59T6ZAIhAL4NyoOcVfk80VHrX36khcZbj8YXndgDGNMBqWYx/esd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":179155},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"450c06352925edbda634b79920e057e93145afa8","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.12.1","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.4.0_1779242198299_0.7789310213573641","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@bakarhythm/get-doc-content","version":"1.5.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@1.5.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"ca158a9ea66c5d1da7d740c182d54130f7392dc7","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-1.5.0.tgz","fileCount":48,"integrity":"sha512-1VeVZEv1QoRJaUQEEZ31jvZZFD2Osz0qRMJ/SsDGQv4VjzpF2ra2DrsQ8K3aibgCBVnICr8/acgtdegCA10Byw==","signatures":[{"sig":"MEUCIQCrYeUvHyZE4mxeSnA7Jl6m5FaWhcmZAxgJ/7LNyUCSHwIgYNEik7dntsq/9k9uKr6RQsZ4EfljypqfWlKgVQhTLlY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":194805},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"8a61bc67f9800e0ca2e69381f4d4cff46e0e20da","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_1.5.0_1781501199702_0.8410013456054621","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bakarhythm/get-doc-content","version":"2.0.0","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@2.0.0","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"dd320e2525d6043a1b628995838069c5d95b3cab","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-2.0.0.tgz","fileCount":48,"integrity":"sha512-uXOc+WKSPJ+eaUqr4Jvd1cRRWS/GKUAPdI/pBDtuMYeogEfMHTrTetHHXNQ4Je2G1XMyWmDsE7zVldXQ4kt0fw==","signatures":[{"sig":"MEYCIQDN5LBucDJw6Mer9oFH+tuU68yjzdB8vpTuirAymABwfQIhAKJ3hyBbUiZNU5aVF+SomYRcBM2gkZjT7ri55lFEkHDj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":199244},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"c7a8e1cc8ab316e5b4d6832d13776f4096a1e44f","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_2.0.0_1782008342723_0.689024103521884","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@bakarhythm/get-doc-content","version":"2.0.1","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@2.0.1","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"e521d94e6dcde93e868d69253c12cf5125e41893","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-2.0.1.tgz","fileCount":49,"integrity":"sha512-dBbMEu1MWVh7WPiKQoKw+IahvIrNivxroRtsuPRHvE2VdPPkFLt6usDjqnVkiOxChAHvsb26Nu9KrMHAJEaEtA==","signatures":[{"sig":"MEUCIEpNNDbJxQ9kqLtE37NYvfmo0wuromf5RwfuJdDuC6FEAiEAn0fCFMfdUcdXE3yR0VqHGSEbNO+x1aKMsWaVOLcBSFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200489},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"fe035b2b4a5b82dacf3d7eae471853a43d9b386c","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.16.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_2.0.1_1784688501055_0.3981319842914379","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@bakarhythm/get-doc-content","version":"2.0.2","keywords":[],"author":"","license":"ISC","_id":"@bakarhythm/get-doc-content@2.0.2","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"homepage":"https://github.com/twodogwang/mcp-demo#readme","bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"bin":{"get-doc-content":"dist/src/index.js"},"dist":{"shasum":"713c77f365847e7a2f8bb0d739a256b5b9448a65","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-2.0.2.tgz","fileCount":49,"integrity":"sha512-26tDCE3/r9TErlZr5BPNjdnNxeS6i6yWdI6KLgT79HKWSHALPYHmRg/Eep4BxJU3r7bi+a7CE8hFgOenogqUVA==","signatures":[{"sig":"MEYCIQCGYH/QpCyFY91ygVFlcwHUcmL9ll4J3476XW43yklTTgIhAICkyneR/O64QP8GzPvwfMd3CwebHfZQu+Tyapd2MD/A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEZ3g7E5Lyd43LgJHuAbGT1p4MmCydHf/oMap0ZUp+T5AiBh6ktdg9kSz3q4g/30AFgljBuHOQF6VPegQLk0MlXN3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200722},"main":"dist/src/index.js","type":"module","engines":{"node":">=20.19.0"},"gitHead":"3d0cdc9744218492f9ac1cd468c733f67e828e9d","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.19.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/get-doc-content_2.0.2_1790678991018_0.04174098798576309","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"_id":"@bakarhythm/get-doc-content@2.1.0","bin":{"get-doc-content":"dist/src/index.js"},"bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"dist":{"shasum":"33349510d1775a783f0829ad5fe947688edf9ef2","tarball":"https://registry.npmjs.org/@bakarhythm/get-doc-content/-/get-doc-content-2.1.0.tgz","fileCount":51,"integrity":"sha512-Kuqilg2CKTAeYmt6IL1G25MWVkQ8o/38Q4K3k1y2DaGmWPF2T3i1yP3bKEES8hhwEYrq9rgRkZ0nDigXlJLZWw==","signatures":[{"sig":"MEQCIHXu6k4yMx5m0/B9wYGTUNHF3bekskvGI/ygUcREvlHGAiBO/PXg5lfTqFOyhvk1RG9fduvXKhO2vsasD8zCbfu57A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICumzngwKP3YIeDlWehgptW2AlMnWuYbTeFK913rqVNeAiEA6xpSmLwoBHKM+qLH+kiI7d8swLBK7T3xHNItps0Dkq0="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bakarhythm%2fget-doc-content@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":230387},"main":"dist/src/index.js","name":"@bakarhythm/get-doc-content","type":"module","author":"","engines":{"node":">=20.19.0"},"gitHead":"5f26d247839cf1234307bd0b677691f9cb401c60","license":"ISC","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","start":"node dist/src/index.js","prepack":"npm run build","release":"changeset publish","eval:llm":"tsx scripts/eval-llm.ts","changeset":"changeset","debug:page":"tsx scripts/debug-page.ts","skill:validate":"node skills/ones-requirement-workflow/scripts/validate-skill.mjs","version-packages":"changeset version"},"version":"2.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"500cedc6-8e76-4929-a46e-5e3e9834d85e"}},"homepage":"https://github.com/twodogwang/mcp-demo#readme","keywords":[],"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"_npmVersion":"11.19.0","description":"MCP server for fetching ONES linked document content from URL or requirement hash","directories":{"doc":"docs","test":"tests"},"maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.3.6","dotenv":"^17.3.1","parse5":"^8.0.1","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@changesets/cli":"^2.31.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-doc-content_2.1.0_1790743445209_0.14945378662429398"}}},"time":{"created":"2026-03-09T17:10:40.698Z","modified":"2026-09-30T04:44:05.642Z","0.1.1":"2026-03-09T17:10:40.914Z","1.0.0":"2026-03-11T11:56:13.280Z","1.0.4":"2026-03-11T16:17:53.838Z","1.0.8":"2026-03-12T15:11:01.896Z","1.1.0":"2026-04-24T02:29:45.027Z","1.1.1":"2026-04-24T03:37:50.526Z","1.2.0":"2026-04-26T14:57:13.772Z","1.2.1":"2026-05-01T16:04:06.658Z","1.2.2":"2026-05-01T17:05:57.390Z","1.3.0":"2026-05-18T10:25:46.292Z","1.3.1":"2026-05-19T01:55:58.732Z","1.4.0":"2026-05-20T01:56:38.448Z","1.5.0":"2026-06-15T05:26:39.895Z","2.0.0":"2026-06-21T02:19:02.865Z","2.0.1":"2026-07-22T02:48:21.224Z","2.0.2":"2026-09-29T10:49:51.113Z","2.1.0":"2026-09-30T04:44:05.310Z"},"bugs":{"url":"https://github.com/twodogwang/mcp-demo/issues"},"license":"ISC","homepage":"https://github.com/twodogwang/mcp-demo#readme","keywords":[],"repository":{"url":"git+https://github.com/twodogwang/mcp-demo.git","type":"git"},"description":"MCP server for fetching ONES linked document content from URL or requirement hash","maintainers":[{"name":"shakugannoshana","email":"cqyxy2510129@gmail.com"}],"readme":"# ONES Doc MCP\n\n用于内网环境的 ONES 文档读取 MCP Server。支持两种鉴权方式：\n\n- 账号密码登录\n- 浏览器已登录态复用\n\n## 环境要求\n\n- Node.js 20.19.0+\n- 可访问 ONES 内网地址\n- ONES 账号或已登录浏览器会话\n\n## 环境变量\n\n复制 `.env.example` 为 `.env` 并填写。以下两组选一种即可：\n\n- `ONES_BASE_URL`：ONES 内网根地址\n- `ONES_USERNAME`：登录账号，账号密码模式必填\n- `ONES_PASSWORD`：登录密码，账号密码模式必填\n- `ONES_TEAM_ID`：默认 ONES 项目团队 ID；纯 `#12345` 这类工作项编号入口需要，完整 task URL 可从 URL 里解析 team id\n- `ONES_AUTH_TOKEN`：浏览器会话里的 Bearer token，会话复用模式可选但建议提供\n- `ONES_COOKIE`：浏览器会话里的 Cookie，会话复用模式可选但建议提供\n- `ONES_ORIGIN`：请求使用的 Origin，可选，默认回落到 `ONES_BASE_URL`\n- `ONES_REFERER`：请求使用的 Referer，可选，默认回落到 `${ONES_BASE_URL}/project/`\n- `ONES_USER_AGENT`：请求使用的 User-Agent，可选；账号密码模式下未配置时默认使用企微风格 UA\n- `ONES_TIMEOUT_MS`：请求超时，可选，默认 `15000`\n- `ONES_MAX_CONTENT_CHARS`：正文最大长度，可选，默认 `20000`\n- `ONES_OCR_PROVIDER`：OCR 提供方，可选，当前支持 `http`\n- `ONES_OCR_ENDPOINT`：OCR 服务地址，可选\n- `ONES_OCR_API_KEY`：OCR 服务鉴权 token，可选\n- `ONES_OCR_TIMEOUT_MS`：OCR 请求超时，可选，默认 `15000`\n\n示例中的敏感信息请替换为你自己的值，不要把真实账号密码提交到仓库或直接写进公开文档：\n\n- `ONES_BASE_URL=https://ones.example.internal`\n- `ONES_USERNAME=your_username@example.com`\n- `ONES_PASSWORD=your_password_here`\n\n或者：\n\n- `ONES_BASE_URL=https://ones.example.internal`\n- `ONES_AUTH_TOKEN=your_browser_bearer_token`\n- `ONES_COOKIE=ones-lt=...; ones-ids-sid=...`\n- `ONES_USER_AGENT=Mozilla/5.0 ...`\n\n## 单独包用法\n\n这个包本质上是一个基于 `stdio` 的 MCP Server。单独运行时会等待 MCP 客户端连接，不会像普通 CLI 那样输出交互式菜单。\n\n仓库内部已经按 transport 分层，默认入口仍只启用 `stdio`；未来如果需要接入 `Streamable HTTP`，可以在不改工具实现的前提下扩展新的 transport。\n\n### 直接通过 npm 包运行\n\n```bash\nnpx -y @bakarhythm/get-doc-content\n```\n\n### 运行本地构建产物\n\n```bash\nnpm install\nnpm run build\nnode dist/src/index.js\n```\n\n### 本地开发模式\n\n```bash\nnpm install\nnpm run dev\n```\n\n## MCP 用法\n\n### 在 Codex 中使用\n\n`~/.codex/config.toml` 示例：\n\n```toml\n[mcp_servers.getDocContent]\ntype = \"stdio\"\ncommand = \"npx\"\nargs = [\"-y\", \"@bakarhythm/get-doc-content@latest\"]\n\n[mcp_servers.getDocContent.env]\nONES_BASE_URL = \"https://ones.example.internal\"\nONES_USERNAME = \"your_username@example.com\"\nONES_PASSWORD = \"your_password_here\"\n```\n\n如果你的 ONES 租户依赖浏览器登录态，也可以直接注入会话：\n\n```toml\n[mcp_servers.getDocContent.env]\nONES_BASE_URL = \"https://ones.example.internal\"\nONES_AUTH_TOKEN = \"your_browser_bearer_token\"\nONES_COOKIE = \"ones-lt=...; ones-ids-sid=...\"\nONES_USER_AGENT = \"Mozilla/5.0 ...\"\n```\n\n如果你想优先验证本地修复，而不是使用 npm 上的已发布版本，也可以直接指向本地构建产物：\n\n```toml\n[mcp_servers.getDocContent]\ntype = \"stdio\"\ncommand = \"node\"\nargs = [\"/absolute/path/to/mcp-demo/dist/src/index.js\"]\n\n[mcp_servers.getDocContent.env]\nONES_BASE_URL = \"https://ones.example.internal\"\nONES_USERNAME = \"your_username@example.com\"\nONES_PASSWORD = \"your_password_here\"\n```\n\n### 在通用 MCP 客户端中使用\n\n```json\n{\n  \"mcpServers\": {\n    \"getDocContent\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@bakarhythm/get-doc-content\"],\n      \"env\": {\n        \"ONES_BASE_URL\": \"https://ones.example.internal\",\n        \"ONES_USERNAME\": \"your_username@example.com\",\n        \"ONES_PASSWORD\": \"your_password_here\"\n      }\n    }\n  }\n}\n```\n\n启动成功后，MCP 客户端应能看到以下工具：\n\n- `search_docs`\n- `get_doc`\n- `get_doc_outline`\n- `get_doc_section`\n- `get_doc_chunks`\n- `get_doc_context`\n- `get_requirement_detail_by_ref`\n- `get_execution_tasks_by_ref`\n- `extract_requirement_materials_by_ref`\n- `list_requirement_bugs_by_ref`\n- `get_task_messages_by_ref`\n- `get_related_wiki_pages_by_ref`\n- `get_task_rich_resources_by_ref`\n- `get_bug_detail_by_ref`\n- `get_bug_parent_requirement_by_ref`\n- `resolve_requirement`\n- `get_requirement_detail`\n- `get_execution_tasks`\n- `resolve_bug`\n- `get_bug_detail`\n- `get_bug_parent_requirement`\n- `list_requirement_bugs`\n- `get_task_messages`\n- `extract_requirement_materials`\n- `get_related_wiki_pages`\n- `get_task_rich_resources`\n- `download_ones_resource`\n- `download_ones_resource_by_id`\n\n这些工具都会继续返回可读的 JSON 文本内容，同时也会提供 MCP `structuredContent` 供支持结构化结果的客户端直接消费。\n\n## 调试与评估\n\n### 调试页面解析\n\n直接调试单个页面：\n\n```bash\nnpm run debug:page -- \"https://ones.example.internal/wiki/#/team/TEAM_ID/space/SPACE_ID/page/PAGE_ID\" --raw-chars 1200\n```\n\n也可以使用本地调试配置文件：\n\n```bash\ncp debug-page.config.example.json debug-page.config.json\nnpm run debug:page\nnpm run debug:page -- table-page\nnpm run debug:page -- req-12345 --raw-chars 2000\nnpm run debug:page -- table-page --full-raw\nnpm run debug:page -- table-page --raw-chars all\n```\n\n`debug-page.config.json` 不会提交到 git，可用于保存本地常用 URL：\n\n```json\n{\n  \"defaultRef\": \"table-page\",\n  \"rawChars\": 1200,\n  \"refs\": {\n    \"table-page\": \"https://ones.example.internal/wiki/#/team/TEAM_ID/space/SPACE_ID/page/PAGE_ID\",\n    \"req-12345\": \"#12345\"\n  }\n}\n```\n\n这个脚本会直接复用仓库里的 ONES 登录和解析逻辑，打印：\n\n- `parsed_ref`\n- `doc.source_format`\n- 顶层节点类型统计\n- 资源与 OCR 状态\n- 原始内容预览\n\n如果你要保存完整原始内容，不要只用默认预览长度，可以改用：\n\n```bash\nnpm run debug:page -- table-page --full-raw > tmp/debug-page-table-page.txt 2>&1\n```\n\n或：\n\n```bash\nnpm run debug:page -- table-page --raw-chars all > tmp/debug-page-table-page.txt 2>&1\n```\n\n### 评估 LLM 对结构化结果的理解\n\n```bash\ncp llm-eval.config.example.json llm-eval.config.json\nnpm run eval:llm\nnpm run eval:llm -- --variant raw\nnpm run eval:llm -- --case table-page-summary\n```\n\n这个脚本会：\n\n- 按配置里的 `ref` 实时拉取 ONES 文档\n- 选择 `markdown`、`raw` 或 `full` 作为模型输入\n- 调用 OpenAI Responses API 回答问题\n- 按 `requiredPhrases` 和 `forbiddenPhrases` 输出简单通过率报告\n\n需要额外配置：\n\n```env\nOPENAI_API_KEY=your_openai_api_key\nOPENAI_BASE_URL=\n```\n\n`llm-eval.config.json` 示例：\n\n```json\n{\n  \"model\": \"gpt-5.2\",\n  \"variant\": \"markdown\",\n  \"maxOutputTokens\": 800,\n  \"refs\": {\n    \"table-page\": \"https://ones.example.internal/wiki/#/team/TEAM_ID/space/SPACE_ID/page/PAGE_ID\"\n  },\n  \"cases\": [\n    {\n      \"name\": \"table-page-summary\",\n      \"ref\": \"table-page\",\n      \"question\": \"请总结这份文档的核心需求，并明确指出是否涉及表格中的规则信息。\",\n      \"requiredPhrases\": [\"表格\"],\n      \"forbiddenPhrases\": [\"无法判断\"]\n    }\n  ]\n}\n```\n\n建议用法：\n\n- 先跑 `variant=markdown`\n- 再跑 `variant=raw`\n- 比较同一批 case 的通过率、缺失项和误报项\n\n历史 `llm_view` 人工审查材料已归档到 `docs/review/archive/`，仅供追溯旧结构化视图设计。\n\n## MCP 工具\n\n### 推荐工作流\n\n对于中长文档，推荐按下面的顺序调用，而不是默认直接取整篇：\n\n1. `get_doc_outline`\n2. `get_doc_section` 或 `get_doc_chunks`\n3. 调用方在本地保留副本\n4. 再把需要的片段提供给 LLM\n\n如果调用方不想自己编排，也可以直接用 `get_doc_context`，让 server 按问题内容自动选择章节或分块。\n\n### 1) `search_docs`\n\n按关键词搜索文档。\n\n示例参数：\n\n```json\n{\"query\":\"ONES 登录\",\"limit\":5}\n```\n\n### 2) `get_doc`\n\n通过上下文引用获取文档，并返回面向 LLM 的 Markdown 内容。\n\n`ref` 支持：\n\n- 完整 ONES 文档 URL，优先\n- `#12345` 需求号\n\n可选参数：\n\n- `include_raw`：是否返回原始 ONES 内容，默认 `false`\n- `include_resources`：是否刷新图片 URL 并返回稳定资源清单，默认 `true`\n\n图片分析推荐按以下顺序调用：\n\n1. `get_doc(include_resources=true)` 获取正文与 `resources`\n2. 从 `resources` 读取稳定的 `resource_id`\n3. 调用 `download_ones_resource_by_id`，直接取得 MCP 原生 `ImageContent`\n\n`resources` 中的图片包含 `resource_id`、`ref_type`、`ref_id`、`alt`、`caption`、文件名、MIME、大小、宽高、刷新后的 `url` 和单图 `error`。`get_doc` 不会内嵌图片 base64；单张图片刷新失败也不会阻断正文返回。\n\n当 `ref` 为 `#12345` 时：\n\n- 服务会先查询需求关联文档\n- 按 `updated_at` 取最新一篇，缺失时回退 `created_at`\n- 返回该文档正文\n\n示例：\n\n```json\n{\"ref\":\"https://ones.example.internal/wiki/#/team/TEAM_ID/space/SPACE_ID/page/PAGE_ID\"}\n```\n\n```json\n{\"ref\":\"#12345\"}\n```\n\n### 3) `get_doc_outline`\n\n先获取文档目录结构、章节路径和粗略长度，适合在长文场景下做渐进式读取。\n\n示例参数：\n\n```json\n{\"ref\":\"#12345\"}\n```\n\n### 4) `get_doc_section`\n\n按 `section_id` 获取单个章节；可选 `include_descendants=true` 把子章节一起带回。\n\n示例参数：\n\n```json\n{\"ref\":\"#12345\",\"section_id\":\"sec-2\",\"include_descendants\":true}\n```\n\n### 5) `get_doc_chunks`\n\n按字符预算分页获取文档片段，适合“总结整篇”或“检查全文冲突”这类任务。\n\n示例参数：\n\n```json\n{\"ref\":\"#12345\",\"cursor\":null,\"max_chars\":6000}\n```\n\n### 6) `get_doc_context`\n\n根据问题自动选择章节或 chunk，适合不想自行编排 outline/section/chunk 工作流的调用方。\n\n示例参数：\n\n```json\n{\"ref\":\"#12345\",\"question\":\"请总结整篇文档的所有权限规则\",\"mode\":\"auto\",\"max_chars\":12000}\n```\n\n## ONES 工作项工具\n\n从需求号或 bug 号开始时，优先使用 `*_by_ref` 工具。它们会先解析编号、task id 或 task URL，再读取正文或关联信息。\n\n主入口工具：\n\n- `get_requirement_detail_by_ref`：按需求号、task id 或 task URL 读取需求正文、字段和关联任务\n- `get_execution_tasks_by_ref`：按需求引用读取关联执行任务候选\n- `extract_requirement_materials_by_ref`：按需求引用提取 wiki、外部链接、图片资源和完整性提示\n- `list_requirement_bugs_by_ref`：显式需要时，按需求引用列出关联 bug\n- `get_task_messages_by_ref`：按任务引用读取消息或评论\n- `get_related_wiki_pages_by_ref`：按需求引用发现关联或正文链接到的 ONES wiki 页面\n- `get_task_rich_resources_by_ref`：按任务引用提取正文里的富文本图片资源\n- `get_bug_detail_by_ref`：按 bug 号、task id 或 task URL 读取 bug 正文、严重级别、优先级和关联任务\n- `get_bug_parent_requirement_by_ref`：按 bug 引用反查父需求\n\n兼容和调试工具：\n\n- `resolve_requirement`、`resolve_bug`：只解析编号或 URL，返回标准工作项实体和候选列表\n- `get_requirement_detail`、`get_execution_tasks`、`get_bug_detail`、`get_bug_parent_requirement`\n- `list_requirement_bugs`、`get_task_messages`、`extract_requirement_materials`、`get_related_wiki_pages`、`get_task_rich_resources`\n\n兼容工具接收 `task_id`，适合已知 task id、需要处理多候选、或排查编号解析与详情接口哪个环节失败的场景。\n\n```json\n{\"ref\":\"#12345\",\"include_raw\":true,\"include_resources\":true}\n```\n\n### 7) 工作项工具\n\n工作项工具用于读取 ONES 需求、任务、bug 和评论事实，服务于需求开发工作流。它们只读，不计算 baseline，也不会自动决定 bug 修复范围。\n\n纯编号入口需要配置 `ONES_TEAM_ID`：\n\n```env\nONES_TEAM_ID=63FL1oSZ\n```\n\n如果传入完整 task URL，工具会优先使用 URL 里的 team id。\n\n工具列表：\n\n- `resolve_requirement`：把需求号、task id 或 task URL 解析成标准工作项实体\n- `get_requirement_detail`：读取需求正文、字段和关联任务\n- `get_execution_tasks`：读取需求关联的执行任务候选\n- `resolve_bug`：把 bug 号、task id 或 task URL 解析成标准工作项实体\n- `get_bug_detail`：读取 bug 正文、严重级别、优先级和关联任务\n- `get_bug_parent_requirement`：从 bug 的关联任务里反查需求\n- `list_requirement_bugs`：按需列出需求下的 bug\n- `get_task_messages`：读取任务消息或评论\n- `extract_requirement_materials`：从需求任务正文和富文本字段中提取 wiki、外部链接、图片资源和完整性提示\n- `get_related_wiki_pages`：发现需求关联或正文链接到的 ONES wiki 页面\n- `get_task_rich_resources`：提取任务正文里的富文本图片资源\n- `download_ones_resource`：使用当前 MCP 登录态下载 ONES 鉴权资源，返回文件元数据和 base64 内容\n- `download_ones_resource_by_id`：使用稳定 `resource_id` 刷新签名 URL，并把图片作为 MCP 原生 `ImageContent` 返回\n\n示例参数：\n\n```json\n{\"ref\":\"#794\"}\n```\n\n```json\n{\"task_id\":\"REQ-794\"}\n```\n\n```json\n{\"url\":\"https://ones.example.internal/wiki/api/wiki/editor/team-id/ref-id/resources/mock-image.png\"}\n```\n\n```json\n{\"resource_id\":\"Btj2N3hz\",\"operation\":\"imageMogr2/auto-orient\"}\n```\n\n说明：\n\n- `get_task_rich_resources` 默认只返回资源元数据和 `src`，不会自动下载文件\n- Wiki 图片优先使用 `get_doc(include_resources=true)` 返回的 `resource_id` 调用 `download_ones_resource_by_id`，避免依赖可能过期的签名 URL\n- `download_ones_resource` 保留 URL 下载兼容能力；图片响应会校验 MIME 与 PNG/JPEG/GIF/WebP 文件签名，登录页或不可解码内容会作为错误返回\n- `download_ones_resource` 继续返回 `content_base64`，是否落盘由调用方自行决定\n\n## 发布流程\n\n仓库当前使用 Changesets 管理版本和发布说明，不再要求本地手工打 tag。\n\n推荐流程：\n\n1. 完成功能后，判断这次改动是否对调用方可感知\n2. 如果可感知，运行 `npm run changeset` 生成说明文件\n3. 把代码和 `.changeset/*.md` 一起合并到 `main`\n4. GitHub Actions 自动创建或更新 Release PR\n5. 合并 Release PR 后，Actions 自动发布 npm、创建 tag，并生成 GitHub Release\n\n### 什么时候必须写 changeset\n\n以下改动建议必须写：\n\n- 新增、删除或重命名 MCP 工具\n- 工具参数、返回结构、默认行为变化\n- 安装方式、运行入口、环境变量契约变化\n- 调用方能直接感知到的 bugfix\n\n以下改动通常可以不写：\n\n- 仅文档、测试、注释变更\n- 不影响调用方的内部重构\n- 仅 CI 或本地开发流程调整\n\n### 去哪里看这次发了什么\n\n- Release PR：看即将发布的版本号和变更摘要\n- GitHub Release：看已经发布出去的 changelog\n- GitHub Actions 日志：看发布执行过程、失败原因和 npm publish 记录\n\n## 常见问题\n\n1. 登录失败，`AUTH_FAILED`\n- 检查 `ONES_BASE_URL`、账号密码是否正确。\n- 如果使用会话复用，刷新 `ONES_AUTH_TOKEN` 和 `ONES_COOKIE`。\n\n2. MCP 启动失败，提示 `initialize response` 或连接被关闭\n- 先确认客户端实际启动的是哪个版本。\n- 如果你使用的是 `npx -y @bakarhythm/get-doc-content@latest`，请确认已升级到包含最新修复的版本。\n- 排查时优先查看 MCP 进程 stderr 日志；当前版本会输出 `mcp.startup.begin`、`mcp.startup.ready`、`mcp.startup.failed`、`mcp.runtime.init.failed` 等结构化日志。\n\n3. 输入无效，`INVALID_DOC_REF`\n- `get_doc.ref` 仅支持完整 URL 或 `#数字`。\n\n4. 无关联文档，`NO_LINKED_DOC`\n- 该需求号下没有关联文档，或当前账号无权限读取。\n\n5. 接口探测失败，`DISCOVERY_FAILED`\n- 说明当前 ONES 实例接口与候选路径不匹配，需要补充候选规则。\n","readmeFilename":"README.md"}