{"_id":"@chenish/zentao-mcp-agent","_rev":"13-1abaa91a0951c2ccba4389124d66c76d","name":"@chenish/zentao-mcp-agent","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@chenish/zentao-mcp-agent","version":"1.0.0","keywords":["zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.0","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"2a220f19013133a2e061f2a2da3deb23a66866a1","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.0.tgz","fileCount":18,"integrity":"sha512-OjOkErN+QPhfYs8gXj/uO3EkT7Vo1zJ5SU+Kphtzj3B5qyJfEDfe/5p7omiDvoJr30CgYWzYHbje/e2ytDI2Gg==","signatures":[{"sig":"MEYCIQCUBP2z2Eq9CNG4LCr8O2BLzV61o4/2vQGRGnOei+wktAIhAPoTAsJJnTHM49OLmcWZ3dNm1xeqIvnGMr4LsZqqdJlh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69114},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"03a11a0318f873c9388e35bacff7186e12f29bec","scripts":{"test":"node --test","build":"tsc","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"A powerful ZenTao MCP server and CLI tool for OpenClaw, built with dual-token MVC/REST architecture.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.0_1773102029178_0.21089394437079245","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@chenish/zentao-mcp-agent","version":"1.0.1","keywords":["zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.1","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"04a9b15ef74ddc5ce90201fc75715b8c705ed91c","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.1.tgz","fileCount":18,"integrity":"sha512-zfiAOC2udM5Hl1X+nO+s2VSQGN39fjb+Cd4B9VcAqJq1fNfFtlNIBXNFBH31CqqVh+GIb0t/uP8hyrmr2gF0Gw==","signatures":[{"sig":"MEUCID9HBZXVj2c6ej5Hy7oZg7Z3opRi3TIqStRRqrfSJQ5AAiEA44fp36kR0+bq86sMeI9RUtw09OB9MpkB2ArDlLqe1uE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80117},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"88cd68955c5a0b48da8cc89e3d760793413ce634","scripts":{"test":"node --test","build":"tsc","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"A powerful ZenTao MCP server and CLI tool for OpenClaw, built with dual-token MVC/REST architecture.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.1_1773111615909_0.6823529582517562","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@chenish/zentao-mcp-agent","version":"1.0.2","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.2","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"c2f19ea2adb497226fd7c4b785a5e5e1b1d6a90a","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.2.tgz","fileCount":18,"integrity":"sha512-KwW+GRh48vghi9JdFfCINXkRRTT7hKai8Nfke35ggQhuhOIND21vYW+ginG7sAu5amNpBHlfScaGJoXDuOTwgw==","signatures":[{"sig":"MEUCIQCOIeRf19Iar64Q7lAzuyoRkPyppAAM7VHOIq9fGG/4HgIgCUaEvQZCZq16OUjLyxHL5c484sSvIdr7WXhHlobJcKo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80224},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"cbcdd537e6cb05e6dd4d445f91bf9dc14b2f5d81","scripts":{"test":"node --test","build":"tsc","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.2_1773111978033_0.368295680684658","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@chenish/zentao-mcp-agent","version":"1.0.3","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.3","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"917b851c3edfd90398a888d05673c356fcb107b0","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.3.tgz","fileCount":18,"integrity":"sha512-+utGB/H3aIQ1t/xiiGm5pk1GO6Katdq4fy68ZDzzkC0QPY0QwDOdWYxDy9lx+NscO22T5six3gN9bRWCxS8pFw==","signatures":[{"sig":"MEYCIQDIUJ3iCeYptzlwZIqU0AMukeqbaHnxYtKJbNTCiGepbQIhAOwQTHfKBucfGaImC2FBy0sMRgW9La+tk2XhzpL46Vey","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80248},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"bd891831bc2689e60dad7fb9a293c48147921654","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.3_1773113188234_0.34114140399013193","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@chenish/zentao-mcp-agent","version":"1.0.4","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.4","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"d4c7c291196a9b40466ccccb5af781207fccd464","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.4.tgz","fileCount":18,"integrity":"sha512-d50ywdU+qsGKjN+XhcKVvaNxbiOTfkwhjx6942OvoOnTb6/4DWUWiuxJ6OAxLq6E+sUSw5MrqQ3m4ZL1Q13MXQ==","signatures":[{"sig":"MEUCIQDM6Hp4IGelSVHITEzQWY/osd2J7YA4DkqhgmSZQqBzowIgFX/1zVqdHNZO0/kJvblWnqkDttEC/h9tYh/Xv53ouYw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93817},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"54480b0c89d41c5307cd458afc7179744af65ff2","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.4_1773129851366_0.8680930757042578","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@chenish/zentao-mcp-agent","version":"1.0.5","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.5","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"f67b051d2afa32be4430ecf9d9713c83f6f3ac7a","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.5.tgz","fileCount":18,"integrity":"sha512-SLVp5I50cnUip5vM/81LZgP7i02eFa7HINO+zw6peVznBaDmqQBnLK2bt6ed1vvy275NK2wv2sdOXWakXHxb7Q==","signatures":[{"sig":"MEUCIQC2N89HGjaUw2W9w1lpYWxGUNm5I/rcM9An7GoRHS4jjQIgXzXxFAE2VYvOM/KS+FAYjLD3eHT/ShkAhoK99PKu6t4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93401},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"28f5fe79cb597fd6066eea19d21bbca2b3f27131","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch","prepublishOnly":"node scripts/security-check.js"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.5_1773131014361_0.6842733873294955","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@chenish/zentao-mcp-agent","version":"1.0.6","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.6","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"2990cab09c0682a6f91405e2e9776f481b7a5191","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.6.tgz","fileCount":18,"integrity":"sha512-Duz602U+2eypVlKrrt4q6dXuuMLpBkQLT3ZlJvCvjBgY+Yd6kl9U7RVfA8Ee3d6p/I1OkPy8UTUACLf7KGfhEA==","signatures":[{"sig":"MEUCIQC16EqKc3FS3qCBTfs+/OTnMVTF7Q665OQsTJ18zv2vHQIgc+I9kRjtrWi3sJTIE45Mw/b1pdjdknoj6dIzKwv2scw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93401},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"f94598bb5e13bb4e7cfe67eb1608cb1ba7274841","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch","prepublishOnly":"node scripts/security-check.js"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.6_1773131525521_0.034298622053881456","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@chenish/zentao-mcp-agent","version":"1.0.7","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.0.7","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"5cea87c5343527cdcf505ab24b6a5d04da9c25a7","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.0.7.tgz","fileCount":18,"integrity":"sha512-vOPcKu2oTNsCXlPN4oGJr4OqNgCaoBhJ9jiXQKq0c/+C99pH1Zkk7r7uYgW8Az/Ai8OVEMV06uegIkiT/aJOFg==","signatures":[{"sig":"MEUCIEdR3ipBjM8sSQM2rRHgowv1L8e0M++lZB6CgVaGBX3SAiEA0Nx5ip2sjq8W+W60ECj8C5SArQ73KphFRg5boGvVlVE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93401},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"e0c0fbea48c502e6a1acabc82cbae6be20db55d4","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch","prepublishOnly":"node scripts/security-check.js"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.0.7_1773131932603_0.19061240564969806","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@chenish/zentao-mcp-agent","version":"1.1.0","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.1.0","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"8fd79362b3028365ad8f2d68df2c1f2058ec91e8","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.1.0.tgz","fileCount":18,"integrity":"sha512-/F71Qhbidv+9kAcliwjeG4+ekIi8REj7BtmKWwHTBM0PLPhM5LYfBkciHTagmwrqt6Hqqyb6K1mffFYGRHyMUA==","signatures":[{"sig":"MEUCIBD9Bspq1XxlYj8fiZeHtmL0X74sJ4fmX/UkneBWBG07AiEAo/OpfTrLxIuKdAxzI7rNuqvE3oimHtNdB17icBx34sI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":300357},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"315b2834088da1c29dee7e2923d47a80cc6cdfc3","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch","prepublishOnly":"node scripts/security-check.js"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.1.0_1773315353756_0.06366066562215567","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@chenish/zentao-mcp-agent","version":"1.1.1","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.1.1","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"5e86727f7beef24c533d9f43e2bd6445c8b92d46","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.1.1.tgz","fileCount":24,"integrity":"sha512-FKO/n8ckaByKEEcnMquZYExHrM5SL0qFFKEt40mkPWgf/yLV84kE7bh037Q6e9IpOr9v/8DNQbgpURxqdSRo5g==","signatures":[{"sig":"MEUCIG0cX28rahpIpKKjaeXShHQfYN7iSvR9Nxx6qz7SbiBxAiEA8eMwc9ws0uyzDZ2SJJEHHrPTGZhX6WSuYobZGZ5ivz4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335729},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"ec1bf899a7ef5fd0a6f96b4de66739fca965dbcd","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch","prepublishOnly":"node scripts/security-check.js"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"deprecated":"Deprecated: contains desensitization issue, please upgrade to 1.1.2","repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.1.1_1773805622780_0.09046320757840642","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@chenish/zentao-mcp-agent","version":"1.1.2","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"_id":"@chenish/zentao-mcp-agent@1.1.2","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"dist":{"shasum":"b917e1053009741d3a678d0d95ea23baa1cb3bc0","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.1.2.tgz","fileCount":24,"integrity":"sha512-4t++FuFIbpBA0OncilAgN4GMQLZphowLQ5WF92hRzULtV3uhk0CLwPYreYRQi8SHW840c6bq8pZLVxIY5pXa+A==","signatures":[{"sig":"MEYCIQCx4hHyZSPhiPE427J4LnPyuvMRo0w/povYJ6MTwRg7dAIhANM3ZA8508qhli054EkoXeu94JeUh49bM3k5K3nwePK9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335913},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"0e4b1b4ab5fcb9b0b09fc81202968ba0cc50d2d0","scripts":{"test":"node --test","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","release":"node src/index.js release","self-test":"node src/index.js self-test","release:major":"node src/index.js release major","release:minor":"node src/index.js release minor","release:patch":"node src/index.js release patch","prepublishOnly":"node scripts/security-check.js"},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"repository":{"url":"git+https://github.com/chenish/mcp-zentao-pro.git","type":"git"},"_npmVersion":"10.9.2","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.6.8","dotenv":"^16.4.5","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.10.0","typescript":"^5.4.5","@types/node":"^20.12.11"},"_npmOperationalInternal":{"tmp":"tmp/zentao-mcp-agent_1.1.2_1773808923275_0.09556421980483054","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@chenish/zentao-mcp-agent","version":"1.1.3","description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"type":"module","main":"src/index.js","bin":{"zentao-cli":"dist/cli.js","zentao-mcp":"src/index.js"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/chenish/mcp-zentao-pro.git"},"bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","scripts":{"prepublishOnly":"node scripts/security-check.js","build":"tsc && chmod +x dist/cli.js","start":"node src/index.js","self-test":"node src/index.js self-test","release":"node src/index.js release","release:patch":"node src/index.js release patch","release:minor":"node src/index.js release minor","release:major":"node src/index.js release major","test":"node --test"},"dependencies":{"axios":"^1.6.8","commander":"^12.0.0","dotenv":"^16.4.5"},"devDependencies":{"@types/node":"^20.12.11","typescript":"^5.4.5","tsx":"^4.10.0"},"engines":{"node":">=18"},"_id":"@chenish/zentao-mcp-agent@1.1.3","gitHead":"f549df8311de661fe9c78dc421ee4644043448c2","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-8gc94fSsGBTyXTYmpvr9XJpatxP5AsUu85A8PPYwSuy7UljFciuEVPf72FOoYukYSYe8M1uLU2agvu+bnK48Ow==","shasum":"dd628a2c579811811fc0eb852943e14c7ffbbc89","tarball":"https://registry.npmjs.org/@chenish/zentao-mcp-agent/-/zentao-mcp-agent-1.1.3.tgz","fileCount":24,"unpackedSize":350983,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGrQRb8we1Tp2sWCivIqfleh9VVg1E1SNZAMug4286bpAiEAghNwwFo/ExdY6p+4wUPRzstGuieWZnPdit49y8EEzjw="}]},"_npmUser":{"name":"chenish","email":"imlijian@126.com"},"directories":{},"maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zentao-mcp-agent_1.1.3_1774868441222_0.8901275755076099"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-10T00:20:29.112Z","modified":"2026-03-30T11:00:41.521Z","1.0.0":"2026-03-10T00:20:29.344Z","1.0.1":"2026-03-10T03:00:16.110Z","1.0.2":"2026-03-10T03:06:18.190Z","1.0.3":"2026-03-10T03:26:28.369Z","1.0.4":"2026-03-10T08:04:11.541Z","1.0.5":"2026-03-10T08:23:34.528Z","1.0.6":"2026-03-10T08:32:05.686Z","1.0.7":"2026-03-10T08:38:52.738Z","1.1.0":"2026-03-12T11:35:53.910Z","1.1.1":"2026-03-18T03:47:02.994Z","1.1.2":"2026-03-18T04:42:03.438Z","1.1.3":"2026-03-30T11:00:41.393Z"},"bugs":{"url":"https://github.com/chenish/mcp-zentao-pro/issues"},"homepage":"https://github.com/chenish/mcp-zentao-pro#readme","keywords":["openclaw","mcp-server","agent-skill","zentao","chandao","api","rest","bug-tracker","project-management","china","zh","cn","asia"],"repository":{"type":"git","url":"git+https://github.com/chenish/mcp-zentao-pro.git"},"description":"Seamlessly integrate ZenTao with OpenClaw. A powerful MCP server and CLI tool providing intelligent ChatOps capabilities for ZenTao project management.","maintainers":[{"name":"chenish","email":"imlijian@126.com"}],"readme":"# zentao-mcp-agent (ZenTao MCP & CLI)\n\n🚀 **专为现代研发团队打造的 ChatOps 效能中枢**\n\n本项目不仅是一个简单的 API 封装，更是一个基于 `@modelcontextprotocol/sdk` 开发的标准 **MCP Server**。依托本项目独创的 **“MVC 视角 + RESTful 精准写入”** 混动架构，完美穿透禅道底层的跨项目严苛隔离与分页限制，赋能大模型（如 OpenClaw）无缝实现极速研发管理。\n\n---\n\n## 🌟 九大核心功能矩阵 (Core Features)\n\n> **💡 说明：** 本项目底层抹平了严苛的产研隔离、鉴权校验与分页限制。以下九大场景中，部分已直接固化为原生工具 (Tool)，部分需结合定时系统 (Cron) 与高级提示词来实现。\n\n### 一、 数据透视与日常跟进 (解决信息孤岛)\n\n#### 1. 全局待办透视 (God-Mode Dashboard)\n- **【功能清单】**：\n  - [x] 支持拉取指定用户的全量待办数据，包含 **任务 (Tasks)、需求 (Stories)、缺陷 (Bugs)**。\n  - [x] 支持跨越产品和迭代隔离，按照真实处理状态、指派人进行多维组合查询。\n  - [x] 支持区分“名下/指派视角”和“管理聚合视角”：`my tasks --assign <账号>` 保持官方指派地盘语义，`manage --users <成员>` 聚合当前待办与时间窗内完成项。\n  - [x] 支持以中文友好列名输出管理视角结果，便于主管直接阅读和交给大模型做总结。\n  - [x] 支持时间增强筛选：管理视角可按完成时间窗、截止日期范围、延期风险进行组合过滤。\n  - [x] 支持跨类型状态语义映射：`doing,wait,done` 在管理视角下可同时覆盖任务、需求、Bug 的对应待处理/已完成状态。\n  - [x] 支持本地团队缓存：可先保存团队名，再通过 `--team-name` 直接复用团队成员列表。\n  - [x] 支持在输出中明确展示“当前查询类型”和“过滤条件”，避免 `--type tasks` 这类定向查询被误读为全量统计。\n- **【CLI 调用示例】**：\n  - `zentao-cli my tasks` (基础：拉取指派给我的任务)\n  - `zentao-cli my bugs` (分类：拉取指派给我的缺陷清单)\n  - `zentao-cli my stories` (聚合：一键获取我名下的业务需求)\n  - `zentao-cli my tasks --status wait` (待开始视角：只看当前待领取/待处理任务)\n  - `zentao-cli my bugs --status active` (缺陷过滤：只看当前激活中的缺陷)\n  - `zentao-cli my stories --status active` (需求过滤：只看激活中的业务需求)\n  - `zentao-cli my tasks --assign zhangsan` (查岗：跨项目查阅张三的任务列表)\n  - `zentao-cli my tasks --status doing` (过滤：精确提取张我的进行中的任务)\n  - `zentao-cli my tasks --assign zhangsan --status doing` (查岗：跨项目查阅张三进行中的代办)\n  - `zentao-cli manage --users zhangsan` (管理视角：聚合张三当前相关的任务、需求、缺陷)\n  - `zentao-cli manage --users zhangsan,lisi --type tasks` (团队视角：只看多人当前任务池)\n  - `zentao-cli manage --users zhangsan --type bugs` (管理视角：只看单人的缺陷清单)\n  - `zentao-cli manage --users zhangsan --type stories` (管理视角：只看单人的需求清单)\n  - `zentao-cli manage --users zhangsan --type tasks --status doing` (管理视角：只看进行中的任务)\n  - `zentao-cli manage --users zhangsan --type tasks --status doing,wait` (多状态视角：同时查看进行中与待开始任务)\n  - `zentao-cli manage --users zhangsan,lisi --type tasks,bugs` (复合视角：同时汇总团队任务与缺陷)\n  - `zentao-cli manage --users 张三,李四 --date-from 2026-03-12 --date-to 2026-03-12` (时间窗视角：只补入指定日期内完成/关闭的任务)\n  - `zentao-cli manage --users 张三,李四 --type tasks --deadline-to 2026-03-16` (临期视角：筛出周末前到期任务)\n  - `zentao-cli manage --users 张三,李四 --type tasks --overdue-only` (风险视角：只看已延期任务)\n  - `zentao-cli manage --team-name \"规划组\" --type tasks` (团队缓存视角：直接按团队名查询当前任务池)\n  - `zentao-cli manage --team-name \"规划组\" --type tasks --deadline-to 2026-03-16` (团队缓存 + 临期筛选：直接查周末前到期任务)\n  - `zentao-cli team save --name \"规划组\" --users \"zhangsan,lisi,wangwu\"` (团队缓存：保存团队别名)\n  - `zentao-cli team list` (团队缓存：查看全部已保存团队)\n  - `zentao-cli team show --name \"规划组\"` (团队缓存：查看团队成员详情)\n  - `zentao-cli team delete --name \"规划组\"` (团队缓存：删除本地团队别名)\n- **【口径说明】**：\n  - `my tasks --assign <账号>`：保持官方“指派/名下”视角，适合查某人的当前个人地盘。\n  - `manage --users <成员列表>`：走管理聚合视角，默认返回“当前未完成项 + 今日完成/关闭项”，适合主管做团队跟进。\n  - `manage --users <成员列表> --date-from --date-to`：适合做周报，统计“当前执行中 + 时间窗内完成/关闭”的团队工作量。\n  - `manage --users <成员列表> --deadline-to` / `--overdue-only`：适合做延期与临期催办。\n  - `manage --users <成员列表> --status doing,wait,done`：在管理视角下表示“待处理 + 已完成”这类跨类型工作状态，不会只局限于任务字段字面值。\n  - `manage --team-name <团队名>`：适合稳定团队的日常复查，避免每次重复输入成员名单。\n  - `manage --type tasks|stories|bugs`：总计会按当前查询类型展示，不代表被省略的类型查询失败。\n- **【OpenClaw 使用场景】**：\n  用户在聊天框输入：*“查一下张三目前手上有哪些进行中的 Bug，有没有延期的？”* -> Agent 跨迭代拉取全量缺陷并分析回复。\n\n#### 2. 链接智能解析 (Smart Link Resolver)\n- **【功能清单】**：\n  - [x] 支持直接从夹杂着对话内容的凌乱文本中用正则提取核心禅道 URL。\n  - [x] 无缝请求解析器瞬间抓取任务详情、状态、优先级及骨干内容。\n- **【CLI 调用示例】**：\n  - `zentao-cli view \"大家看一下这个链路报错：http://zentao.yourcompany.com/task-view-123.html\"`\n  - `zentao-cli view \"请帮我看看这个缺陷：https://zentao.yourcompany.com/bug-view-456.html\"` (自动识别 Bug 链接)\n  - `zentao-cli view \"需求链接在这里 story-view-789.html，帮我总结一下\"` (从混杂文本中提取需求链接)\n- **【OpenClaw 使用场景】**：\n  用户在群聊丢出杂乱链接，Agent 会直接抽丝剥茧为您解构出背后的禅道实体当前状态供解答。\n\n#### 3. 晨会自动播报 (Morning Standup Radar)\n- **【功能清单】**：\n  - [x] 按指定团队成员聚合全量待办，分类输出 **已超期 / 今明到期 / 高优** 三类预警清单。\n  - [x] 支持中文名/账号自动映射，批量并发拉取，供大模型直接生成晨会通报。\n  - [x] 晨会、负荷、停滞三类命令已复用管理视角底座，跨用户、跨类型口径保持一致。\n  - [x] 支持通过 `--pri-max` 调整晨会高优先级阈值，并在预警清单中展示任务进度百分比。\n  - [x] 晨会会自动忽略无截止日期的需求，避免将弱时效事项误计入预警。\n- **【CLI 调用示例】**：\n  - `zentao-cli morning-check --team zhangsan,lisi,wangwu` (综合晨报：生成超期·临期·高优三色预警)\n  - `zentao-cli morning-check --team 张三,李四` (支持中文姓名，自动映射账号)\n  - `zentao-cli morning-check --team zhangsan,lisi,wangwu,赵六` (团队晨会：多人并发扫描当日风险清单)\n  - `zentao-cli morning-check --team-name \"规划组\"` (团队缓存晨会：直接按团队名生成晨会风险清单)\n  - `zentao-cli morning-check --team-name \"规划组\" --pri-max 1` (高优收敛视角：晨会只关注 P1 事项)\n- **【OpenClaw 使用场景】**：\n  每日清晨，Cron 触发 `morning-check` 拉取多维风险清单交给大模型，生成一份完整的晨会催办通报发至工作群。\n\n---\n\n### 二、 极速执行与流转 (降低流程损耗)\n\n#### 4. 对话式极速建单 (Chat-to-Task)\n- **【功能清单】**：\n  - [x] 支持查询活跃项目 (`getProjects`) 及迭代，或按需新建当月执行冲刺 (`createExecution`)。\n  - [x] 基于指定迭代一键创建任务，支持自动映射人员中文名至系统底层账号。\n  - [x] 智能容错与补全：自动推端补齐必填的预计开始时间、截止时间、预估工时。\n  - [x] 支持按需求拆分任务：当未显式传入 `--execId` 时，可使用 `--storyId + --projectId` 自动复用当月执行；若当月执行不存在，则复制上个执行配置后自动创建。\n  - [x] 支持在建任务时补充优先级与任务描述；`--pri` 默认值为 `3`。\n- **【CLI 调用示例】**：\n  - `zentao-cli projects` (摸底：获取我归属的项目库)\n  - `zentao-cli executions --project 577` (历史示例保留：表达“按项目过滤迭代”的意图；当前 CLI 实参请使用 `--projectId`)\n  - `zentao-cli executions --projectId 577` (精确过滤：只看指定项目下的活跃执行)\n  - `zentao-cli executions --projectId 577 --status doing` (二次过滤：只看进行中的执行)\n  - `zentao-cli execution create --projectId 577 --name \"2026年3月常规迭代\"` (兜底：动态建档补缺)\n  - `zentao-cli execution create --projectId 577 --name \"2026年3月常规迭代\" --begin \"2026-03-17\" --end \"2026-03-24\"` (手动指定冲刺起止日期)\n  - `zentao-cli execution create --projectId 577 --name \"2026年3月常规迭代\" --days 6` (自定义可用工作日)\n  - `zentao-cli task create --execId 123 --name \"网关排查\" --assign \"zhangsan\"` (瞬时极简派单)\n  - `zentao-cli task create --execId 123 --name \"网关排查\" --assign \"zhangsan\" --pri 2 --desc \"补充任务描述\"` (带描述派单：创建时直接写明任务背景与优先级)\n  - `zentao-cli task create --execId 123 --name \"多人联调排查\" --assign \"zhangsan,lisi,wangwu\" --estimate 6` (多人并行：多人执行人默认创建为多人并行任务，总预估按成员平均分摊)\n  - `zentao-cli task create --execId 123 --name \"多人串行验收\" --assign \"zhangsan,lisi\" --mode linear --team-estimates 3,5` (多人串行：显式指定串行模式与每位成员预估)\n  - `zentao-cli task create --execId 123 --name \"全量压测\" --assign \"李四\" --estimate 8 --deadline \"2026-03-20\"` (精细派发：明确指定 8 小时预估工时和特定截止日期)\n  - `zentao-cli task create --execId 123 --name \"接口联调\" --assign \"张三\" --estimate 4` (中等精度派单：指定预估工时，截止日期走默认值)\n  - `zentao-cli task create --storyId 12072 --projectId 281 --name \"数据库改造脚本适配\" --assign \"zhangsan\" --estimate 8 --pri 2` (需求拆分：自动检查当月执行，必要时复制上个执行后建任务)\n  - `zentao-cli task create --storyId 12072 --projectId 281 --templateExecId 5825 --executionName \"2026年03月常规迭代\" --name \"数据库改造脚本适配\" --assign \"zhangsan\" --desc \"从需求拆分的研发任务\"` (精细拆分：显式指定执行模板、新执行名称与任务描述)\n- **【OpenClaw 使用场景】**：\n  用户输入：*“把路由限流排查发给李四，预计4个小时，后天完成。”* -> Agent 瞬间提取意图补缺自动建单。\n\n#### 5. 对话式快捷报工 (Seamless Effort Logging)\n- **【功能清单】**：\n  - [x] 支持为指定任务直接登记实际消耗工时。\n  - [x] 支持为指定任务直接登记实际消耗工时并附加工作说明备注。\n  - [ ] 支持为指定任务直接附加工作说明备注。\n- **【CLI 调用示例】**：\n  - `zentao-cli task effort --taskId 69704 --consumed 2` (极简报工：给 69704 任务快速登记 2 小时消耗)\n  - `zentao-cli task effort --taskId 69704 --consumed 2.5 --desc \"修复了NPE异常\"` (登记并附加进度)\n  - `zentao-cli task effort --taskId 69704 --desc \"修复了NPE异常\"` (⚠️后续优化 单独登记任务说明 可能不会生效)\n- **【当前 CLI 参数说明】**：\n  - 当前已稳定支持的 `task effort` 组合为 `--taskId + --consumed`，可选 `--desc` 追加说明。\n  - “只写说明不填耗时”的形态仍属于规划中的增强能力，文档示例先保留作为目标能力说明。\n- **【当前已知限制】**：\n  - `task effort --taskId <id> --desc \"...\"` 这种“只写说明不填耗时”的调用，在当前禅道环境中接口虽可返回成功，但页面历史不会稳定落备注，因此暂不视为可用能力。\n  - `story update --storyId <id> --status active` （⚠️后续优化 在当前禅道环境中尚未稳定生效）\n- **【OpenClaw 使用场景】**：\n  用户输入：*“帮我给69704任务报个工，花了 2 小时写核心逻辑。”* -> Agent 精准提取 ID 与耗时写入底层。\n\n#### 6. 极简状态流转 (State Machine Control)\n- **【功能清单】**：\n  - [x] 支持根据任务名称自动获取任务ID\n  - [x] 支持修改任务进行中、已完成等生命周期状态。\n  - [x] 支持修改需求进行中、已完成等生命周期状态。\n  - [x] 支持修改缺陷进行中、已完成等生命周期状态。\n  - [x] 支持责任人转交操作。\n  - [x] 支持单次交互中复合追加评论。\n- **【CLI 调用示例】**：\n  - `zentao-cli task update --taskId 123 --status done  --comment \"已完成转测\"`\n  - `zentao-cli task find --name \"网关排查\"` (按名称检索当前账号范围内的任务，并返回可直接用于流转的任务 ID)\n  - `zentao-cli task find --name \"接口联调\" --owner zhangsan,lisi` (按指定成员范围查任务名称，支持多人)\n  - `zentao-cli task find --name \"接口联调\" --team-name \"规划组\"` (按团队缓存范围查任务名称)\n  - `zentao-cli task find --name \"问题排查\" --team-name \"规划组\" --status doing,wait` (仅在进行中/待开始任务里查找)\n  - `zentao-cli task update --taskId 123 --status done` (单项流转：仅将任务状态标记为已完成)\n  - `zentao-cli task update --taskId 123 --status closed --comment \"验证通过，执行关闭\"` (关闭任务：直接走关闭节点)\n  - `zentao-cli task update --taskId 123 --status doing --comment \"开始处理\"` (启动任务：将任务切换为进行中)\n  - `zentao-cli task update --taskId 123 --assign zhangsan` (任务转交：仅将任务丢给张三处理)\n  - `zentao-cli task update --taskId 123 --status doing --assign zhangsan --comment \"代码已提交，转交测试验证\"` (复合流转：完成、转交、加备注一气呵成)\n  - `zentao-cli task update --taskId 69705 --comment \"我是Agent：单纯追加一条排查进展记录\"` (轻量打卡：不修改状态与指派人，仅填报一条无耗时的进展留言)\n  - `zentao-cli task update --taskId 69705 --comment \"问题已修复，耗时半天\" --consumed 4` (精确进度：单独填报耗时并留下排查过程备注)\n  - `zentao-cli story update --storyId 12072 --status closed --comment \"需求已验收完成\"` (需求流转：将需求直接关闭)\n  - `zentao-cli story update --storyId 14526 --status active --comment \"重新激活继续推进\"` (需求重启：将已关闭需求重新激活)\n  - `zentao-cli story update --storyId 12072 --assign zhangsan --comment \"转交继续跟进\"` (需求转交：将需求交给指定负责人)\n  - `zentao-cli bug update --bugId 11071 --status done --comment \"缺陷已修复完成\"` (缺陷流转：将 Bug 置为已解决)\n  - `zentao-cli bug update --bugId 11071 --status closed --comment \"验证通过，关闭缺陷\"` (缺陷关闭：验证后关闭 Bug)\n  - `zentao-cli bug update --bugId 11071 --status active --comment \"重新激活继续跟踪\"` (缺陷重开：将 Bug 重新激活)\n  - `zentao-cli bug update --bugId 11071 --assign zhangsan --comment \"转交继续跟进\"` (缺陷转交：将 Bug 交给指定负责人)\n\n- **【OpenClaw 使用场景】**：\n  用户输入：*“排查做完了，变成已完成并转给王五跟进。”* -> Agent 直接驱动全套状态流转。\n\n---\n\n### 三、 敏捷度量与风险预警 (前置风险干预)\n\n#### 7. 派发前负荷参考雷达 (Workload Radar)\n- **【功能清单】**：\n  - [x] 测算目标员工当前并行任务数与预估剩余总工时，以备派单者参考（**软性提示，不强制阻断**）。\n  - [x] 支持一次查询多人，单独呈现各人承载量，辅助派单决策。\n  - [x] 统一复用管理视角口径，任务与 Bug 会在输出中显式区分类型。\n  - [x] 输出 P1 未完成任务数量、任务平均进度与单项进度百分比，便于快速掌握负荷质量。\n- **【CLI 调用示例】**：\n  - `zentao-cli load --assign zhangsan` (单人：查看张三的当前任务与剩余工时)\n  - `zentao-cli load --assign 张三,李四,王五` (批量：一次对比多人负荷状况，支持中文名)\n  - `zentao-cli load --assign zhangsan,lisi,wangwu,zhaoliu` (团队派发前摸底：比较多人承载量)\n  - `zentao-cli load --team-name \"规划组\"` (团队缓存负荷视角：直接比较团队承载量)\n- **【OpenClaw 使用场景】**：\n  分配任务前，Agent 调用 `load` 拉取候选人的当前承重信息，由派单者结合实际节奏自行决策是否分派。\n\n#### 8. 停滞单据排查 (Stagnant Tasks Patrol)\n- **【功能清单】**：\n  - [x] 精准排查指定人员名单中，长期处于进行中但超 N 天无任何更新记录的停滞单据。\n  - [x] 支持按人员范围圈选，避免大团队全局扫描产生噪音干扰。\n- **【CLI 调用示例】**：\n  - `zentao-cli stagnant --assign zhangsan --days 3` (单人：排查张三 3 天未动的停滞任务)\n  - `zentao-cli stagnant --assign 张三,李四 --days 5` (批量：5 天无进展的静默单据一网打尽)\n  - `zentao-cli stagnant --assign zhangsan,lisi,wangwu --days 7` (周维度巡检：排查一周无进展的停滞单据)\n  - `zentao-cli stagnant --team-name \"规划组\" --days 5` (团队缓存停滞排查：按团队名做静默巡检)\n\n#### 9. 自动化周报摘要 (Weekly Synthesis)\n- **【功能清单】**：\n  - [x] 自动聚合团队当周已交付的高优需求与重大修复缺陷。\n  - [x] 自动统计团队本周完成任务数、需求数、缺陷数，并输出完整完成任务清单。\n  - [x] 支持按统一优先级阈值过滤高优事项，默认仅保留 `P1` 价值事项；Bug 还可额外按严重程度命中，且默认跟随该阈值。\n  - [x] 支持按团队缓存或多人名单批量生成周报，并输出成员维度交付汇总。\n  - [x] 支持通过 `--view summary|full` 区分“统计摘要”与“详情报表”，默认采用更适合大模型消费的 `summary` 视图。\n  - [x] 自动输出“总交付 / 高优交付 / 本周待完成任务”三类核心统计，方便主管快速掌握全周盘子。\n  - [x] 自动按自然周识别周一到周日；即使在周四、周五、周六查询，也会把本周周末截止但尚未完成的任务纳入统计。\n- **【CLI 调用示例】**：\n  - `zentao-cli weekly-synthesis --team zhangsan,lisi,wangwu` (周报底座：按成员名单生成本周交付摘要)\n  - `zentao-cli weekly-synthesis --team 张三,李四` (支持中文姓名：自动映射账号生成周报素材)\n  - `zentao-cli weekly-synthesis --team-name \"规划组\"` (团队缓存周报：直接按团队名拉取本周交付)\n  - `zentao-cli weekly-synthesis --team-name \"规划组\" --date-from 2026-03-09 --date-to 2026-03-13` (自定义时间窗：生成指定周的交付摘要)\n  - `zentao-cli weekly-synthesis --team-name \"规划组\" --pri-max 1` (高价值视角：只保留 P1 事项，Bug 严重程度默认同步收敛)\n  - `zentao-cli weekly-synthesis --team-name \"规划组\" --view summary` (摘要模式：只输出统计信息与成员汇总)\n  - `zentao-cli weekly-synthesis --team-name \"规划组\" --view full` (详情模式：输出完整任务、需求、Bug 清单)\n- **【OpenClaw 使用场景】**：\n  大模型自动化扫面全组千锤百炼后汇聚成的完结清单，进行抽象总结归档汇报。\n\n---\n\n## 🛠️ API 调试与开发者指南\n\n1. **附赠 Postman 集合文件**\n   本项目代码仓库 `doc/postman/` 目录下提供了一份 `Zentao_V4_Final.postman_collection.json`。该集合固化了所有登录逻辑、MVC 解析黑科技与核心 API 断言，建议开发者导入直接进行冒烟测试。\n2. **双重鉴权架构守则 (极度重要！)**\n   - **RESTful 接口** (`/api.php/v1/...`)：请求头必须携带 `Token: xxx`。\n   - **MVC 接口** (`.json` 结尾)：请求头必须携带 `zentaosid: xxx`。\n   - **用户地盘读取口径**：跨用户读取必须优先走官方 `user-<type>-<userId>.json` 及其分页变体，不能退化为脚本拼装或纯 REST 列表代替。\n   - **发布前安全检查补充**：如需在本地扩展额外敏感词，请使用未跟踪的 `.security-denylist.json`，不要把真实姓名或账号直接写进仓库。\n3. **项目构建测试**\n   - `npm install`\n   - `npm run build`\n   - `node dist/cli.js login --url <您的禅道地址> --account <账号> --pwd <密码>`\n   - `node dist/cli.js my tasks` 等于 `zentao-cli my tasks` \n   - `node dist/cli.js manage --users zhangsan`\n   - `node dist/cli.js team save --name \"规划组\" --users \"zhangsan,lisi\"`\n    - 其他功能同上 \n---\n\n## 📚 CLI 参数速查 (CLI Cookbook)\n\n### 1. 登录与环境\n- `zentao-cli login --url \"http://127.0.0.1:8080\" --account \"zhangsan\" --pwd \"******\"`：登录并写入本地配置。\n- `node dist/cli.js login --url \"http://127.0.0.1:8080\" --account \"zhangsan\" --pwd \"******\"`：本地构建后直接验证登录链路。\n- 登录成功后，本地默认写入 `~/.config/zentao/.env`，其中包含 `URL / Token / zentaosid`，以及用于静默重登的账号密码（base64 形式保存）。\n- 后续命令默认优先使用已登录的 `Token + zentaosid`；若鉴权失效，会自动使用本地保存的账号密码重登并重试一次原请求。\n- 静默重登成功后，会把最新的 `Token + zentaosid` 回写到本地配置，避免下一个命令再次先撞一次鉴权失败。\n- 该机制对个人视图、管理视角、晨报、负荷检查、停滞排查、周报等命令统一生效，不需要分别单独处理登录态。\n\n### 2. 智能查看\n- `zentao-cli view \"请看这个任务：http://zentao.local/task-view-123.html\"`：从文本中抽取任务链接并解析详情。\n- `zentao-cli view \"bug-view-456.html\"`：直接解析缺陷链接。\n- `zentao-cli view \"story-view-789.html\"`：直接解析需求链接。\n\n### 3. 个人与跨人地盘\n- `zentao-cli my tasks`\n- `zentao-cli my tasks --status doing`\n- `zentao-cli my tasks --assign zhangsan`\n- `zentao-cli my tasks --assign 张三 --status wait`\n- `zentao-cli my bugs --status active`\n- `zentao-cli my stories --status active`\n\n### 4. 管理聚合视角\n- `zentao-cli manage --users zhangsan`\n- `zentao-cli manage --users 张三,李四`\n- `zentao-cli manage --team-name \"规划组\"`\n- `zentao-cli manage --users 张三,李四 --type tasks`\n- `zentao-cli manage --users 张三,李四 --type tasks,bugs`\n- `zentao-cli manage --users 张三 --type stories`\n- `zentao-cli manage --users 张三 --type bugs`\n- `zentao-cli manage --users 张三 --type tasks --status doing`\n- `zentao-cli manage --users 张三 --type tasks --status doing,wait`\n- `zentao-cli manage --users 张三,李四 --date-from 2026-03-10 --date-to 2026-03-14`\n- `zentao-cli manage --users 张三,李四 --type tasks --deadline-to 2026-03-16`\n- `zentao-cli manage --users 张三,李四 --type tasks --overdue-only`\n- `zentao-cli manage --team-name \"规划组\" --type tasks --deadline-to 2026-03-16`\n\n### 5. 项目与执行\n- `zentao-cli projects`\n- `zentao-cli executions`\n- `zentao-cli executions --projectId 577`\n- `zentao-cli executions --projectId 577 --status doing`\n- `zentao-cli execution create --projectId 577 --name \"2026年3月常规迭代\"`\n- `zentao-cli execution create --projectId 577 --name \"2026年3月常规迭代\" --begin \"2026-03-17\" --end \"2026-03-24\"`\n- `zentao-cli execution create --projectId 577 --name \"2026年3月常规迭代\" --days 6`\n\n### 6. 创建任务\n- `zentao-cli task create --execId 123 --name \"网关排查\" --assign \"zhangsan\"`\n- `zentao-cli task create --execId 123 --name \"网关排查\" --assign \"zhangsan\" --pri 2 --desc \"补充任务描述\"`\n- `zentao-cli task create --execId 123 --name \"多人联调排查\" --assign \"zhangsan,lisi,wangwu\" --estimate 6`\n- `zentao-cli task create --execId 123 --name \"多人串行验收\" --assign \"zhangsan,lisi\" --mode linear --team-estimates 3,5`\n- `zentao-cli task create --execId 123 --name \"接口联调\" --assign \"张三\" --estimate 4`\n- `zentao-cli task create --execId 123 --name \"全量压测\" --assign \"李四\" --estimate 8 --deadline \"2026-03-20\"`\n- `zentao-cli task create --storyId 12072 --projectId 281 --name \"数据库改造脚本适配\" --assign \"zhangsan\" --estimate 8 --pri 2`\n- `zentao-cli task create --storyId 12072 --projectId 281 --templateExecId 5825 --executionName \"2026年03月常规迭代\" --name \"数据库改造脚本适配\" --assign \"zhangsan\" --desc \"从需求拆分的研发任务\"`\n\n### 7. 报工\n- `zentao-cli task effort --taskId 69704 --consumed 2`\n- `zentao-cli task effort --taskId 69704 --consumed 2.5 --desc \"修复了NPE异常\"`\n\n### 8. 状态流转与评论\n- `zentao-cli task update --taskId 123 --status doing --comment \"开始处理\"`\n- `zentao-cli task update --taskId 123 --status done --comment \"已完成转测\"`\n- `zentao-cli task update --taskId 123 --status closed --comment \"验证通过，执行关闭\"`\n- `zentao-cli task find --name \"网关排查\"`\n- `zentao-cli task find --name \"接口联调\" --owner zhangsan,lisi`\n- `zentao-cli task find --name \"接口联调\" --team-name \"规划组\"`\n- `zentao-cli task find --name \"问题排查\" --team-name \"规划组\" --status doing,wait`\n- `zentao-cli task update --taskId 123 --assign zhangsan`\n- `zentao-cli task update --taskId 123 --status doing --assign zhangsan --comment \"代码已提交，转交测试验证\"`\n- `zentao-cli task update --taskId 69705 --comment \"我是Agent：单纯追加一条排查进展记录\"`\n- `zentao-cli task update --taskId 69705 --comment \"问题已修复，耗时半天\" --consumed 4`\n- `zentao-cli story update --storyId 12072 --status closed --comment \"需求已验收完成\"`\n- `zentao-cli story update --storyId 14526 --status active --comment \"重新激活继续推进\"`\n- `zentao-cli story update --storyId 12072 --assign zhangsan --comment \"转交继续跟进\"`\n- `zentao-cli bug update --bugId 11071 --status done --comment \"缺陷已修复完成\"`\n- `zentao-cli bug update --bugId 11071 --status closed --comment \"验证通过，关闭缺陷\"`\n- `zentao-cli bug update --bugId 11071 --status active --comment \"重新激活继续跟踪\"`\n- `zentao-cli bug update --bugId 11071 --assign zhangsan --comment \"转交继续跟进\"`\n\n### 9. 度量与晨会\n- `zentao-cli load --assign zhangsan`\n- `zentao-cli load --assign 张三,李四,王五`\n- `zentao-cli load --team-name \"规划组\"`\n- `zentao-cli stagnant --assign zhangsan --days 3`\n- `zentao-cli stagnant --assign 张三,李四 --days 5`\n- `zentao-cli stagnant --team-name \"规划组\" --days 5`\n- `zentao-cli morning-check --team zhangsan,lisi,wangwu`\n- `zentao-cli morning-check --team 张三,李四`\n- `zentao-cli morning-check --team-name \"规划组\"`\n- `zentao-cli morning-check --team-name \"规划组\" --pri-max 1`\n- `zentao-cli weekly-synthesis --team zhangsan,lisi,wangwu`\n- `zentao-cli weekly-synthesis --team 张三,李四`\n- `zentao-cli weekly-synthesis --team-name \"规划组\"`\n- `zentao-cli weekly-synthesis --team-name \"规划组\" --date-from 2026-03-09 --date-to 2026-03-13`\n- `zentao-cli weekly-synthesis --team-name \"规划组\" --pri-max 1`\n- `zentao-cli weekly-synthesis --team-name \"规划组\" --view summary`\n- `zentao-cli weekly-synthesis --team-name \"规划组\" --view full`\n\n### 10. 团队缓存\n- `zentao-cli team save --name \"规划组\" --users \"张三,李四,王五\"`：保存团队别名，成员会自动映射成系统账号。\n- `zentao-cli team list`：查看当前已保存的团队列表。\n- `zentao-cli team show --name \"规划组\"`：查看团队详情与成员账号。\n- `zentao-cli team delete --name \"规划组\"`：删除本地团队缓存。\n- 本地团队配置文件默认保存在 `~/.config/zentao/teams.json`。\n\n## ⚡ 快速开始 (Quick Start)\n\n**1. 接入 OpenClaw (作为大模型 MCP Skill 挂载)**\n```bash\nnpx skills add @chenish/zentao-mcp-agent\n```\n\n**2. 本地全局安装 CLI (使用终端管理)**\n```bash\nnpm install -g @chenish/zentao-mcp-agent\n```\n\n**快速登录验证：**\n```bash\nzentao-cli login --url <您的禅道地址> --account <账号> --pwd <密码>\n```\n","readmeFilename":"README.md"}