{"_id":"lovewc3","_rev":"31-a814e332df2092ba499bfed76b5fd55b","name":"lovewc3","dist-tags":{"latest":"1.0.32"},"versions":{"1.0.0":{"name":"lovewc3","version":"1.0.0","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.0","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"6c03fc4f927f4cec48082aa38a52af0ce74a8994","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.0.tgz","fileCount":36,"integrity":"sha512-Cp+SFlXq8A2EbaFxhsr4VeywZJ+gt5bgBO3rKYY8LjtP5h7r78e2LjJU0ECQIQWumQJ33yPHlkwKEkqM0wDuZA==","signatures":[{"sig":"MEQCIGCx8Ac7EFiHJulZjqCfMdgZg8XvEJqaaHGPhES60n2EAiAX6UPw1ou887zAYn2sqOpG+MatR3TWT05ZoJA0blke7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153283},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"b546c8a0aedba718484c0c201ad86c3b0b9bfbb1","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.0_1764055647200_0.3793792579172326","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"lovewc3","version":"1.0.1","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.1","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"94f6de60e7f62445bf121843887f4cece2805f52","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.1.tgz","fileCount":188,"integrity":"sha512-BEKWyC6XduVTOsCBuecVDNLS47MPAch5csZ1SfEsCxuGEpUM8mO2DYBTZKpQBSwZw1XDvtaWbKBHMRpaQ5TaKQ==","signatures":[{"sig":"MEUCIATVHNoadVlG1DyNS1Sqr0r90AzDS4LoEQFPqHbs/eKDAiEA4vbs8RcN4topAfNBoqzyBeVDtEiGgGEOazprJkRVX88=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1096036},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"502e965156af08d1272856a30bce9acc474764ec","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.1_1764056557806_0.8257101049850082","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"lovewc3","version":"1.0.2","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.2","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"f844bde2eca910bd1a6388bcbcd79b113a29afbe","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.2.tgz","fileCount":188,"integrity":"sha512-q2vi+WHLygbtQT6q/RWZX/WjEUVEYncWk5w7iX7RTs+aJ2URT9SgjpHyAl4OGmka9cYpuaw+RMrjFtpAdwZm4Q==","signatures":[{"sig":"MEUCIQDrdp5VGukqoY/MKfa0kldiIhCUFpi9Uoh9WE0oiZ5LhwIgd4ck0jXvmTVeS+qhXXsc9egacVtwlyArfwJdxIgMydA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1096341},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"804752ea92510e96d53956124fbf58ff3326d8b4","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.2_1764056969418_0.32430816291717","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"lovewc3","version":"1.0.3","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.3","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"5750099996b83cc2f1e3d7f3eadaef52206ccb11","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.3.tgz","fileCount":188,"integrity":"sha512-HNTVLYc0uVPWElH4B4ufHu4Yr2/vy71ahpYVwcl9hTDHlFETXwq2yv8PnmAeKst+dpTC8o5E21PuZ3oo+90qLQ==","signatures":[{"sig":"MEUCIEw+Wpw7NfrjjlywyiDBBSuErjSQ1lXxcV3a1BjSsFDkAiEAgvW3hcCqXudCxX27LoPzFl7JxrkVN4/lopRBPqrebCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1098042},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"72d8c7eed84aced7eb344351507f69ee86cdecb4","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.3_1764059964333_0.12608266706072024","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"lovewc3","version":"1.0.4","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.4","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"a2e3eaab035833fb1d1c378d2b7916842012b720","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.4.tgz","fileCount":188,"integrity":"sha512-ISNRgdXC25bkGHWgG8RznXuaP8k/o1xBhPcBVfhW2CIcR6hPfoYctGkTKoUf+btAR6DDGN5vfhJhkXneZfNLdA==","signatures":[{"sig":"MEQCICL34gPDbVXeHxL6gwlfHTztim5ZvCsg1gCyltdhSVDkAiBIWSuIbnwUYDqL0Za41ZVh86BmiFfg4EeX4ePuiEtU8w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1098042},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"fd5c4a0bec1b1d57f1373544d60aa96acd5b7aa1","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.4_1764060091634_0.838629745550981","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"lovewc3","version":"1.0.5","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.5","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"c7f23136d64c32d9e5ec452f21b4161090c72964","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.5.tgz","fileCount":190,"integrity":"sha512-/HIRl4o0HiAMyRlr9cTIwGTEk7++qoYc1+ykfdnAjknVaWmLiCRTPyyGRy40RQy1dHQYF+DWw0R11cnjHER/9g==","signatures":[{"sig":"MEUCIQCH2R8GfZ4MmnSc9lAk4PwlfM+cL105vZNmdPaY4TcELgIgNrdlf0zP1mxcvtc0sBfCvd9M9hNRJMj7O0HIxOkYHvw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1142438},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"38bee5366d92986dc9934101192417ef8219a90d","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.5_1764214203856_0.0995524085302737","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"lovewc3","version":"1.0.6","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.6","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"03e3405fb1b4b93000f197ce35556c4680a60874","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.6.tgz","fileCount":190,"integrity":"sha512-XphX8cCkU3FrUmHVu6H7kZFqr9lKTng0QLS3L2y3e/LkO8QCkpf2FCnrwWeYnirpS2vzZzYiOQA4AD9MTU3sVw==","signatures":[{"sig":"MEUCIBwzR2L6OcUMROw5JEo0SQPzAmRJ56LlsgaMAImsEaNKAiEAzHb4lZpkwOj80oS/fWIJoOiG30X84vzO3w7+GWGf6BM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1147003},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"7d10fd08dc1516283c74d2d3d1d422b0065b6167","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.6_1764214678850_0.6471216744313844","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"lovewc3","version":"1.0.7","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.7","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"396895b1587cda537cc23d589d5ec88ff36fa76a","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.7.tgz","fileCount":190,"integrity":"sha512-DTzSQwqt56q4BQYNLTRaOgON/ZXm//GsE/ghcmtgF/mDOSMOfSHnQTefjHxDwQm7uQTnr3xpb0hNjkCssfoefg==","signatures":[{"sig":"MEUCICe8+99VFurBhwyBvbTZNQr3Sz7WBafIV+28m9Xa3HcFAiEAj4L4Cs2eiUQRrBiES1dUudMHTBToIdWqZCgSVT+amps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1149908},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"c50e063e998acce4034f154bf17be3bb9afe9907","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.7_1764214783865_0.2532676523618085","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"lovewc3","version":"1.0.8","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.8","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"2c469ab67c8a70ca98eb33594801ead814dbffd9","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.8.tgz","fileCount":190,"integrity":"sha512-6T70/PkNVbT+DxbdbuGwwDVY0xNEzJLWPcin9slFnhHLs0Hn+9n45+6lKyUey0lD7eg/Bs2x753VcII/8uVQ/g==","signatures":[{"sig":"MEUCIQD0vQb61Bnwh3bBcRTXsXovTPoBcq1c2TkU8nQGwp0pHAIgbWi7APp75cP0fLd5Ie9mMy3zBbPLz+gDeCdqBc3GR6Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1152507},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"38b3f7a63f717a87e58ae35f9818e998ae283486","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.8_1764215170140_0.34017575504337194","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"lovewc3","version":"1.0.9","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.9","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"84094b8c321c83ec4d39e584dd096184fd1a5b68","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.9.tgz","fileCount":190,"integrity":"sha512-npHhYy6/t0BGgvZabNqE6AZX8iNBOCTWqbh1G8BmCsJbnPXs+w6RV+1+NtPssDb3dTRIg9ihSZwOYA9rNczvig==","signatures":[{"sig":"MEQCIADLmgdGTumYLH5tipHqJDKN/njnRmxE6Y6z55CUE5quAiBbcLezrJHTP8YG3QuMMpV2DSSRcPR3iNNcWFhXWTXjeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1149241},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"4e3f61289111e83eac0d69013d962a83f98a6ef4","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.9_1764217495168_0.35104518940740226","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"lovewc3","version":"1.0.10","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.10","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"030ae8abf7c5b5b3659d98defb65fe239c28bbe8","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.10.tgz","fileCount":190,"integrity":"sha512-rreS624FcsZs4L6Y/Y/BoSstHmoS2YqpyfeyXxFcViSLXRMJP5vu+HyXBW6VcxiCZpSkqDYbOBCb5r+GnWcLjA==","signatures":[{"sig":"MEUCIEAOIXaauqg5zZiY8ardZXoHi1RTOL8/SL1vubS+ZHu0AiEA7BdvX84TCihHc+xkgP65zYIsTq9Edc6G+AUq/rl4mB0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1148618},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"4e3f61289111e83eac0d69013d962a83f98a6ef4","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.10_1764218838565_0.8580536360236151","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"lovewc3","version":"1.0.12","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.12","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"b2eca68a9398b3ae4d9d3679908f511f714933a4","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.12.tgz","fileCount":190,"integrity":"sha512-JoF63ttiH/CaQBKb6ZHloBNxvn6gaR+XmZux4DsseGF8P6eA2FPxBLJuqoAlY2JSdsnWiniB2haJACcW+rC11A==","signatures":[{"sig":"MEYCIQDvI2S3/JvWXmSgn3juOOmc5cvP0LTITVNJDP8X6PXDmQIhAJeu8d0+QeMV+5J+obMiMX6+J+Ul4F8p8AIlCcaMbijF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1149498},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"1ef67f22aec0df066fc3896f420e909ffebde01b","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.12_1764221670324_0.23869465988377114","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"lovewc3","version":"1.0.13","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.13","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"86c8ea45b9072bf06b398aa7f7b2fb14754dd439","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.13.tgz","fileCount":190,"integrity":"sha512-DkARcsSSr4VYWmXC8mnXao3CbzvlYdbT4IJnuZvFAa5GU21Qt9GMgZu6WeFjdAQSDliMmuj3KOTmV50ziv1PxQ==","signatures":[{"sig":"MEQCIHiKuXRxzJBR/5mp155/BEei9uyYxjQbQa0mbKr+aGfvAiBz0ERgo/3/cscOQRjNUMSvMs2lE6TbJvNKBXg2BeDpYw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1149727},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.13_1764221972910_0.9729680989431817","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"lovewc3","version":"1.0.14","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.14","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"76c53b65d668407869e59030dc308fdc4f2f0231","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.14.tgz","fileCount":192,"integrity":"sha512-zGxobYpwFZGP4jxNkC3QaAC55F1OgqYr35TSwvJeFdcCPdHlr2TkNbmpje53+WPRN5cyFbQburbnfzPwVZdO+g==","signatures":[{"sig":"MEUCIQDbJA2UZ++FiuQ9Re2KmU0wKPEahXh5oLsit37zpMwSxgIgSEmb7WbKAdrp5Li5FWPo4dwXgOhehZ8RfZFHYgGUiiI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1156244},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.14_1764230212511_0.8353481883464233","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"lovewc3","version":"1.0.15","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.15","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"2f519be9092d7ad89b7b954dc3b114c31fa3afc5","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.15.tgz","fileCount":193,"integrity":"sha512-PBAqeoUahRUQBDM2x8RAQYdMoWnAHBgwOjtS6UWGSZTFwhJ9rPZa0hV2xWsDFwQm4KSDhd6b28UREzFTFOl5RA==","signatures":[{"sig":"MEQCIHPiyWT7B4TxupDbRayNDkKvs+VkPrLkEQA9RONX6iCNAiA5mqu7/PeuRZ+fMMH5IkGgaw3HVV4scMs/ZDcI6sB1Og==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1157956},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.15_1764231788667_0.16140656328757053","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"lovewc3","version":"1.0.16","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.16","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"a6bb177f3babb987ae729f699af50ed4fd59f7cb","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.16.tgz","fileCount":193,"integrity":"sha512-92KcoZ6t1TyFN1V6bFdiGaGCPvInVuWg/g3VeCIRN3v1hsNpcUYQLHYkDHkyej2k8xVBCZ+uEcPm6I4kt9qMWw==","signatures":[{"sig":"MEUCIBvoSQIxPg8vmJQfQatjShlbuBhmOxPZfJmXyQDeiWBDAiEAgeCAzbZQB/hzzktDyd50SRVeIlV6gYUmsC1sPzs2E/o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1162084},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.16_1764240609645_0.2204203563417333","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"lovewc3","version":"1.0.17","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.17","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"dce4bafb47507e771a3b59b1eb7ebec07de4e0c7","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.17.tgz","fileCount":193,"integrity":"sha512-zVFBIGYDW7puJs52hQdM+QrTMkBEXEwEHsXZjq5gUFmv59LlssEJPCepcs8Hr/WjuDjuAWL6ps6G0T8ERfeT7A==","signatures":[{"sig":"MEUCIQDGkoHIjBwQ8ynVxJ0M3ERgdESXB0hFdJ6vpX9Zjhc5awIgdaNmSQ7JvzNruv9xDmk95bUHW5CZL2wTyI/jQhgf7X4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1165264},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.17_1764246224826_0.02700657886488278","host":"s3://npm-registry-packages-npm-production"}},"1.0.19":{"name":"lovewc3","version":"1.0.19","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.19","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"7c61dbad22bc1d832228089f94acb8eae9d892a2","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.19.tgz","fileCount":193,"integrity":"sha512-vC4eyg0cK78DmxNLZpsA/lNLOBgUYlfCCYnviev18P5aBOMZYJJ6/LTeA3vq2KvECgJNA1IXDXoiUYsIl6nMBg==","signatures":[{"sig":"MEYCIQDHHmMWszwq3UZjHxTixRgdSL44/tr8tj9itoXD4btEUwIhAKdcD4KY8LU9cZn69RQVK8blCfF5DnHgGbqD6BLArhG4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1162183},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.19_1764250896494_0.7630459997795696","host":"s3://npm-registry-packages-npm-production"}},"1.0.20":{"name":"lovewc3","version":"1.0.20","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.20","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"11a299ca3acebba849ff4e7ab91cb149a8bacf38","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.20.tgz","fileCount":194,"integrity":"sha512-ixN24YlcG8ZQWekK3djHYYgNexMhzMN/naeMVRIP8cV8D/iigvQtwY7IcVm7sfmAo0yOiOspX9ZH/sjsVK4z2Q==","signatures":[{"sig":"MEUCIC6beNrdjPxZxhVu2b2jF+kCxTuxDf7iXzkVsJiaJUl2AiEAjadXUpFoMmHcKPdOwyQyzH/Cf6s4NLm/LjGs9sZWZXM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1167937},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.20_1764251423086_0.01786737376035541","host":"s3://npm-registry-packages-npm-production"}},"1.0.21":{"name":"lovewc3","version":"1.0.21","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.21","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"668efcfb206cf6f32976798ec4a05e2b73c3c303","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.21.tgz","fileCount":194,"integrity":"sha512-MBvEO1zYmxONf6BYhygeYTETmNpvPHfxasH9ag01us3nCD4Xcb1Z2WM4hMdm3CQuvcy1lYbbdM9qmwZbgxeBVQ==","signatures":[{"sig":"MEYCIQCGYI2z5Uu2YN7RgZzBi25/6QlwaxcUs5WPL5ySCfXQqgIhAP1WNWSDIxp2eSayF/d6ykY8EuRy2Banvnn+2P280by4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1168223},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.21_1764255283934_0.7716447100734773","host":"s3://npm-registry-packages-npm-production"}},"1.0.22":{"name":"lovewc3","version":"1.0.22","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.22","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"7003e37aeb4562359019b69ead47f3fe0633d326","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.22.tgz","fileCount":194,"integrity":"sha512-w24It5unv+fTnM5+wqwRME95gTn6mdO0jIzl+WDtWMMr2k17M5BW7AZHN2iaCe+2KjzMxYWGYx9KbKgzKOGQcg==","signatures":[{"sig":"MEYCIQCODm1QnNzcsMLZ/plN1O6ROWgGfSF+B17b4c3v/VUkkAIhAMTAdIudthdYDwPfxZjLedpavjtEumotfwf/1M4Lr4vT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1171269},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.22_1764296522951_0.7647648935410021","host":"s3://npm-registry-packages-npm-production"}},"1.0.23":{"name":"lovewc3","version":"1.0.23","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.23","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"a43abc7a7477120c5d3b6f851b5cbfdbec0c5470","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.23.tgz","fileCount":194,"integrity":"sha512-krHl5frRYNcvQDXK1plMHqQ5gKoPHIRCqW0ZMogCr4pk4o5VWso+GmYrI/JLMyiym02n2HdqQed4kla6AYkeyw==","signatures":[{"sig":"MEUCIHVRJDuHOyEzGTlCdcgp2sj9wvagixuF5o5gIPShf4wTAiEAl0UU/tqLRi+QATTINyGBsNzJRQFrDYyoQihaEls3gXo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1172319},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.23_1764297594522_0.12997427649994608","host":"s3://npm-registry-packages-npm-production"}},"1.0.24":{"name":"lovewc3","version":"1.0.24","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.24","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"b373856cf94f178e647d52cb9ae425330eb0bdb4","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.24.tgz","fileCount":194,"integrity":"sha512-rWrgbMSmGNWD9GiCK/VwrbiXy9sT86ieR0+9obzoA97KZAdO9+QFKC7fmG4q9xHhAE795J26FsCzmALGJnnmCQ==","signatures":[{"sig":"MEQCID2abTfV4dMWgyr6E/ETZlwLjkxk/+4FCtn5oET4k3MwAiBo9CU3yTqODJVJrVaOCmZNh44OT4r0ZRpUI5ErJOUqbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1173779},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.24_1764303244758_0.1498018143169193","host":"s3://npm-registry-packages-npm-production"}},"1.0.25":{"name":"lovewc3","version":"1.0.25","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.25","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"28b2c58afa4c6905a10fbd81480a0667c7f98935","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.25.tgz","fileCount":194,"integrity":"sha512-bRGpAnuwk9pSXETNqUZK2HVMQ2dImeSRO/2l/7xdpPFyjYeAEA45gi/9GHnv2opU0r0V8MWkmWljxWnk7BZUKA==","signatures":[{"sig":"MEUCIQDF7rXYt0hno7LJMhYy4v/Yvai9aqBM4rLb1brf0VyUDwIgejXGUTGXS6DwcHWtBBdeRKlJZ/Mao2NsWfw1PQqqPwU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1174128},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.25_1764304432717_0.7982622882606774","host":"s3://npm-registry-packages-npm-production"}},"1.0.26":{"name":"lovewc3","version":"1.0.26","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.26","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"cb89341bc87a5d8ba7b0bcb1ebbac44861310f0b","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.26.tgz","fileCount":196,"integrity":"sha512-AzC9XNZXlk105JndRAI6joWN8jhNaIiph7PmR9CPyCX+5pw5IdPH5jHMnEaTG1nOKtVLBZIhXXdEaEbgUVaiEQ==","signatures":[{"sig":"MEYCIQCR8T/1N1s9SWND9cePHEZuhrCoa7dqegBYVzFe6NQ0iAIhAPvlPkw7+3mCQ/sIjNNN4/sFpaSmyUUObsKRkhyjlmvO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5251738},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.26_1765424388984_0.19614069889391872","host":"s3://npm-registry-packages-npm-production"}},"1.0.27":{"name":"lovewc3","version":"1.0.27","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.27","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"7901a4292a99102f037b4337beb9904ed5424ab5","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.27.tgz","fileCount":196,"integrity":"sha512-bheYz1mLtOZqXDabrIHKNYfQsK1OEtyeE/5FRf7cayTtZqwzQOYW3O9D56Y1kaDRvjcmuTjEPpGatMO3Qi2Ygw==","signatures":[{"sig":"MEUCIFGKR0EwmYENqLX1WNHBX28LXc6EW/u7oWsJ+8OeDZYRAiEAu60ZgW+4xzdw0IahI2yfDSiBm4OSWviAJRa1wUw24Xo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5251908},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.27_1765424584909_0.7802770723352559","host":"s3://npm-registry-packages-npm-production"}},"1.0.28":{"name":"lovewc3","version":"1.0.28","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.28","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"bbaa4b4b633af37e73ea5e7f3b031d2503d360b1","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.28.tgz","fileCount":209,"integrity":"sha512-CKvZVfrjZMhvWIQjcRkCAGiKU8hKHJYu0F4ZBSwZQvgZcjEQC7Ja6LL9KVuJ9igCbbFhc3WKrlOaDZ9hA9O/Xw==","signatures":[{"sig":"MEYCIQCmI9loESe0GKiBZlKoAf5jln5wKjJ7RCpFxvjqigkFjQIhAIjOsoH7gU6jcYu14pUNe+gbIsPqedM4buzCukuuAkbe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5356935},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc && node -e \"require('fs').cpSync('src/viewers', 'dist/viewers', {recursive: true})\"","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","electron":"^33.0.0","clipboardy":"^5.0.1","mdx-m3-viewer":"^5.12.0","better-sqlite3":"^12.5.0","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.28_1765545397083_0.22159845553322444","host":"s3://npm-registry-packages-npm-production"}},"1.0.29":{"name":"lovewc3","version":"1.0.29","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.29","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"ce5059800a347335d38b659a17eaa04e47e76fbf","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.29.tgz","fileCount":209,"integrity":"sha512-8xcztt1Tu1yFAZJ4IaVLAbUvqyCmyW/MV79Qep2JvjRie5PSj5ykN3owpZoOewRYZ7ndY4IBzpKQfQwySMSobA==","signatures":[{"sig":"MEUCIQDya52aSiZHywPmb2AuINBxpwq+w9nUMRQYGmX//UGUlwIgCpQ0/mKDjT15t5wFw2OO8f2LP26PDOiWMcDnnpEM2YM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5369657},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de9601bb2ec55b80ee654e675a7057c6a2c7da62","scripts":{"dev":"tsx src/index.tsx","build":"tsc && node -e \"require('fs').cpSync('src/viewers', 'dist/viewers', {recursive: true})\"","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","electron":"^33.0.0","clipboardy":"^5.0.1","mdx-m3-viewer":"^5.12.0","better-sqlite3":"^12.5.0","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.29_1765553327863_0.7141463377617556","host":"s3://npm-registry-packages-npm-production"}},"1.0.30":{"name":"lovewc3","version":"1.0.30","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.30","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"444247b3b5a1c0f597ce92db78e070dd2da998d3","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.30.tgz","fileCount":212,"integrity":"sha512-QcFz4YxbFw14BAbWX2c/mTgySS4JQ3AKN8snrpKynDlwCAHcuLOmWmPv1R6bsg812yfWgx1oh+fZZq5vFOIthw==","signatures":[{"sig":"MEQCICU6ODtAlZW0OtHECQpTHAdR4ac6hdiN/qvXqTmcB+siAiBhe+0AdFjeJf4y9BC6D3ilgjCVd7r8hNtKoJ+e9/bUvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1511433},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"f5de7d185193ae5272803b04691adab61ff986ae","scripts":{"dev":"tsx src/index.tsx","build":"tsc && node -e \"require('fs').cpSync('src/viewers', 'dist/viewers', {recursive: true})\"","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","electron":"^33.0.0","clipboardy":"^5.0.1","mdx-m3-viewer":"^5.12.0","better-sqlite3":"^12.5.0","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.30_1765687183778_0.8719362867407809","host":"s3://npm-registry-packages-npm-production"}},"1.0.31":{"name":"lovewc3","version":"1.0.31","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","_id":"lovewc3@1.0.31","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"homepage":"https://github.com/lanhu/lovewc3#readme","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"bin":{"lovewc3":"dist/cli.js"},"dist":{"shasum":"33c06faea6ee53d3fba4cb701d73ddcc29451202","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.31.tgz","fileCount":213,"integrity":"sha512-EemhvxZpyMZu1qna9HSNfPVh9Vxq/sv8PU3yXsxrb5ediGGIGJlgvDLoC629iPSSbS9qb9giPJbRt4Art5rgRg==","signatures":[{"sig":"MEUCIQDt67eyUCDMnUNU6rVGdYm1MRUVdp3R/yWHMutMgQNh6gIgZwycd4DI2Nkw/b5UeRmfU5xzA04xa/+WUb6TsSKNIrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1533439},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"dcf70013f47ae97b78dd0835b747f1a19b6c90ab","scripts":{"dev":"tsx src/index.tsx","build":"tsc && node -e \"require('fs').cpSync('src/viewers', 'dist/viewers', {recursive: true})\"","start":"node dist/index.js","mcp:serve":"python tools/mcp/hlua_mcp.py","rag:serve":"python tools/rag/server.py","rag:ingest":"python tools/rag/ingest.py","prepublishOnly":"npm run build"},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"repository":{"url":"git+https://github.com/lanhu/lovewc3.git","type":"git"},"_npmVersion":"11.4.2","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ink":"^4.4.1","axios":"^1.7.7","react":"^18.3.1","dotenv":"^16.4.5","zustand":"^4.5.7","electron":"^33.0.0","clipboardy":"^5.0.1","mdx-m3-viewer":"^5.12.0","better-sqlite3":"^12.5.0","ink-text-input":"^5.0.1","react-reconciler":"^0.29.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","typescript":"^5.9.3","@types/node":"^20.19.25","@types/react":"^18.3.27","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/lovewc3_1.0.31_1766118272202_0.3702569673019438","host":"s3://npm-registry-packages-npm-production"}},"1.0.32":{"name":"lovewc3","version":"1.0.32","description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","main":"dist/index.js","bin":{"lovewc3":"dist/cli.js"},"scripts":{"dev":"tsx src/index.tsx","build":"tsc && node -e \"require('fs').cpSync('src/viewers', 'dist/viewers', {recursive: true})\"","start":"node dist/index.js","prepublishOnly":"npm run build","rag:ingest":"python tools/rag/ingest.py","rag:serve":"python tools/rag/server.py","mcp:serve":"python tools/mcp/hlua_mcp.py"},"keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"author":{"name":"lanhu"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lanhu/lovewc3.git"},"homepage":"https://github.com/lanhu/lovewc3#readme","engines":{"node":">=18.0.0"},"type":"module","dependencies":{"axios":"^1.7.7","better-sqlite3":"^12.5.0","clipboardy":"^5.0.1","dotenv":"^16.4.5","electron":"^33.0.0","ink":"^4.4.1","ink-text-input":"^5.0.1","mdx-m3-viewer":"^5.12.0","react":"^18.3.1","react-reconciler":"^0.29.2","zustand":"^4.5.7"},"devDependencies":{"@types/better-sqlite3":"^7.6.13","@types/node":"^20.19.25","@types/react":"^18.3.27","tsx":"^4.20.6","typescript":"^5.9.3"},"_id":"lovewc3@1.0.32","gitHead":"332c088a0e48edebcd6f66c7be7be33df58e177c","bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"_nodeVersion":"22.13.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-SwKOYB+JJoAfFABbbMTiHuSQciqZN0rTBAhBLtCbFq/WydZlLdkaL5t/sw9/hIY/yH+7+PdlkbENsbN9cAAJFg==","shasum":"b7fa8f53cc1fb1022451cd7804de22c45024ba12","tarball":"https://registry.npmjs.org/lovewc3/-/lovewc3-1.0.32.tgz","fileCount":214,"unpackedSize":1565410,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDo+uMWaau0qe9smFbbvk6DRi7NTNzH1+XwQX9bWW/rDwIhANLt5HrlkgrJo5+Jr4FTajtJmgBrtrD7iBww5DprJ5LQ"}]},"_npmUser":{"name":"luna_217","email":"lanxiwei93@gmail.com"},"directories":{},"maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lovewc3_1.0.32_1766133603413_0.03687567708296213"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-25T07:27:27.199Z","modified":"2025-12-19T08:40:03.801Z","1.0.0":"2025-11-25T07:27:27.407Z","1.0.1":"2025-11-25T07:42:38.046Z","1.0.2":"2025-11-25T07:49:29.590Z","1.0.3":"2025-11-25T08:39:24.577Z","1.0.4":"2025-11-25T08:41:31.892Z","1.0.5":"2025-11-27T03:30:04.060Z","1.0.6":"2025-11-27T03:37:59.117Z","1.0.7":"2025-11-27T03:39:44.108Z","1.0.8":"2025-11-27T03:46:10.366Z","1.0.9":"2025-11-27T04:24:55.399Z","1.0.10":"2025-11-27T04:47:18.852Z","1.0.12":"2025-11-27T05:34:30.579Z","1.0.13":"2025-11-27T05:39:33.167Z","1.0.14":"2025-11-27T07:56:52.720Z","1.0.15":"2025-11-27T08:23:08.894Z","1.0.16":"2025-11-27T10:50:09.834Z","1.0.17":"2025-11-27T12:23:45.071Z","1.0.19":"2025-11-27T13:41:36.743Z","1.0.20":"2025-11-27T13:50:23.323Z","1.0.21":"2025-11-27T14:54:44.178Z","1.0.22":"2025-11-28T02:22:03.219Z","1.0.23":"2025-11-28T02:39:54.726Z","1.0.24":"2025-11-28T04:14:05.021Z","1.0.25":"2025-11-28T04:33:52.967Z","1.0.26":"2025-12-11T03:39:49.200Z","1.0.27":"2025-12-11T03:43:05.135Z","1.0.28":"2025-12-12T13:16:37.264Z","1.0.29":"2025-12-12T15:28:48.081Z","1.0.30":"2025-12-14T04:39:43.953Z","1.0.31":"2025-12-19T04:24:32.424Z","1.0.32":"2025-12-19T08:40:03.629Z"},"bugs":{"url":"https://github.com/lanhu/lovewc3/issues"},"author":{"name":"lanhu"},"license":"MIT","homepage":"https://github.com/lanhu/lovewc3#readme","keywords":["warcraft3","wc3","war3","h-lua","map-editor","mcp","cursor","rag"],"repository":{"type":"git","url":"git+https://github.com/lanhu/lovewc3.git"},"description":"魔兽争霸3 地图开发工具 - CLI + RAG 文档查询 + Cursor MCP 集成","maintainers":[{"name":"luna_217","email":"lanxiwei93@gmail.com"}],"readme":"# Lovewc3 CLI\n\n> 当前 npm 最新版本：`1.0.30`\n\n## 🚀 npm 安装（推荐）\n\n```bash\n# 1. 全局安装\nnpm install -g lovewc3\n\n# 2. 初始化环境（首次使用必须执行）\nlovewc3 init\n```\n\n`lovewc3 init` 会自动完成以下步骤：\n- 复制 h-lua 文档到 `~/.lovewc3/h-lua-main/`（文档已内置于 npm 包）\n- 构建 RAG 向量索引到 `~/.lovewc3/rag_store/`\n- 配置 Cursor MCP 到 `~/.cursor/mcp.json`\n\n> **注意**：构建索引需要 SiliconFlow API Key，请在 `~/.lovewc3/.env` 中配置：\n> ```\n> SILICONFLOW_API_KEY=your_api_key_here\n> ```\n> 获取地址：https://cloud.siliconflow.cn/\n\n初始化完成后，重启 Cursor 即可在 AI 对话中使用 h-lua 文档查询功能。\n\n---\n\n## 开发者快速启动\n\n1. 配置环境变量：复制 `.env.example` 为 `.env`，填入 `SILICONFLOW_API_KEY`\n2. 安装依赖：`npm install`\n3. 安装 Python 依赖：`pip install -r tools/rag/requirements.txt` 和 `pip install -r tools/mcp/requirements.txt`\n4. 安装 Go 1.20+（CLI 会在 `/run`、`/editor` 中使用 `go run` 生成 h-lua-slk；如 `go` 不在 PATH，可设置 `GO_BIN`）\n5. 在支持 TTY Raw Mode 的终端中运行：`npm run dev`\n   - 如必须在不支持 Raw Mode 的终端里运行，先执行：`set INK_NO_RAW_MODE=1 && npm run dev`\n6. CLI 启动时会自动启动 RAG 和 MCP 服务\n\n## 常用指令\n- 直接用魔兽客户端加载地图（参考 `share/script/ydwe_on_test.lua` 的构造逻辑）  \n  `\"<War3目录>/war3.exe\" -loadfile \"<地图路径>.w3x\" [其他参数]`\n\nw2l是一个强大的工具，可以把w3x格式的地图解压缩(lni)为文件夹，直接用IDE编写脚本，也可以同时通过obj把lni格式的地图文件夹重新打包为w3x格式的地图\n\n- 通过 KKWE 编辑器打开地图（参考 `share/script/util.lua` 的 `sys.restart`）  \n  `\"<KKWE目录>/kkwe.exe\" -loadfile \"<地图路径>.w3x\"`\n\n- 将lni格式的转换为 OBJ（参考 `w3x2lni/script/locale/zhCN/raw.lng` 的 w2l 命令说明）  \n  `w2l obj \"<地图路径>\" [\"<输出路径>\"]`\n\n- 将地图转换为 LNI 以便文本化管理（同上）  \n  `w2l lni \"<地图路径>\" [\"<输出路径>\"]`\n\n## Structure\n- `src/utils/warcraftLauncher.ts`：封装通过 YDWEConfig.exe 启动 Warcraft III 的逻辑（支持 JAPI 和 Lua），从 KKWE 路径推算 `bin/YDWEConfig.exe` 位置。\n- `src/utils/warcraftWatcher.ts`：使用 PowerShell 轮询方式监听 `war3.exe` 进程，用于在游戏退出前阻塞 CLI。\n- `src/utils/ragService.ts`：负责启动/复用 RAG（FastAPI）与 MCP（HTTP）服务。\n- `src/utils/sdkRunner.ts`：封装 `go run ./h-lua-main/depend/sdk/slkgen`，在 `w2l obj` 前生成 `h-lua-slk/` 与 `HSLK_*` 数据。\n- `src/utils/ragQuery.ts`：封装对 MCP 服务的 HTTP 请求，提供 `queryRag`（纯检索）和 `askWithRag`（RAG+LLM）两种模式。\n- `src/utils/llmService.ts`：封装 SiliconFlow Chat Completions API，支持流式/非流式调用，使用 `deepseek-ai/DeepSeek-V3.1-Terminus` 模型。\n- `src/components/ConversationPreview.tsx`：展示 `user:`/`love:` 对话历史，自动适应终端高度计算可见行数，支持 PageUp/PageDown 滚动查看历史记录。\n- `src/utils/viewerServer.ts`：HTTP 服务器模块，为 BLP/MDX 查看器提供静态文件服务和文件读取 API（端口 8910）。\n- `src/utils/electronViewer.ts`：封装拉起 Electron 窗口打开 BLP/MDX 查看器页面（复用 viewerServer URL），Windows 下通过 `--` 分隔参数避免 Electron 误解析 `--url/--title` 造成闪退。\n- `src/utils/assets/png2blpRuntime.ts`：图片（png/jpg/jpeg）→ BLP1（含 DIS 灰度图标）转换运行时；首次使用自动准备 Python+Pillow（Windows 无 Python 时自动下载到 `~/.lovewc3/runtime/python/`）。\n- `src/components/AssetManager.tsx`：资源管理器 UI（支持在面板内拖入图片：优先导入到项目 `resource/ReplaceableTextures/...` 并生成 `正常.blp + DIS*.blp`；无项目时回退导入全局库）。\n- `tools/png2blp/*.py`：`png2blp_cli.py`（图像→BLP1）与 `image_to_grayscale.py`（生成 DIS 灰度源图），由 `png2blpRuntime` 调用。\n- `src/viewers/blp.html`：BLP 纹理查看器页面，显示图像信息和所有 Mipmap 级别的预览。\n- `src/viewers/mdx.html`：MDX 3D 模型查看器页面，使用 WebGL 渲染，支持动画、队伍颜色、相机控制。\n- `src/viewers/electron-viewer.cjs`：Electron 主进程入口脚本，创建/复用 `BrowserWindow` 并加载查看器 URL（单例锁避免多开；对 cache/userData 做了可写目录兼容处理）。\n- `h-lua-main/docs/HSLK.md`：HSLK 物编系统指南（构建期/运行期 API、示例、注意事项）。\n\n## Functions\n- `launchWarcraft(kkwePath, mapPath, options?)`：从 KKWE 路径推算 YDWEConfig.exe 位置，使用 `-launchwar3 -loadfile` 参数启动 Warcraft III（支持 JAPI/Lua）。\n- `getYdweConfigPath(kkwePath)`：将 KKWE 路径（如 `D:\\KKWEPlugin\\KKWE.exe`）转换为 YDWEConfig.exe 路径（如 `D:\\KKWEPlugin\\bin\\YDWEConfig.exe`）。\n- `watchWarcraftProcess(options?)`：检测 `war3.exe` 是否启动并在其退出前保持 Promise 阻塞，同时对\"检测到/退出\"事件提供回调。\n- `chatCompletion(messages, config?)`：调用 SiliconFlow Chat API（非流式），返回完整回答。支持 `enableThinking` 切换思考模式。\n- `chatCompletionStream(messages, config?)`：调用 SiliconFlow Chat API（流式），返回 AsyncGenerator 逐步产出内容。\n- `queryRag(question, topK?, candidates?)`：纯检索模式，返回匹配的文档 chunk 列表。\n- `askWithRag(question, options?)`：RAG+LLM 模式，检索文档后调用 LLM 生成回答，返回答案及参考来源。\n- `ensureHslkArtifacts(mapFolder, projectName)`：检查同名目录并调用 Go sdk 的 `slkgen` 生成 `h-lua-slk/slk.lua`、`HSLK_*` 全局数据；若 Go 不在 PATH，可通过 `GO_BIN` 指定。\n- `ensureViewerServer()`：启动 BLP/MDX 查看器 HTTP 服务器（端口 8910），提供静态文件服务和文件读取 API。\n- `getViewerUrl(type, filePath)`：生成查看器 URL，`type` 为 `'blp'` 或 `'mdx'`，返回带文件路径参数的完整 URL。\n- `openViewerWindow(url, options?)`：启动 Electron 并打开新窗口加载查看器 URL（非阻塞）。\n- `ensurePng2BlpRuntime()`：确保本机具备可用的 Python + Pillow（优先用系统 Python；Windows 下缺失会自动下载并配置到 `~/.lovewc3/runtime/python/`）。\n- `convertImageToIconBlps(inputImagePath, options?)`：将 `png/jpg/jpeg` 转为两张 BLP：`<name>.blp` 与 `DIS<name>.blp`（灰度禁用图标）。\n\n## HSLK 物编系统\n\n### 概述\nHSLK 是 h-lua 附带的物编（SLK/INI）生成系统，采用“构建期生成 + 运行期访问”的两段式流程：\n\n| 阶段 | 执行时机 | 执行者 | 作用 |\n| --- | --- | --- | --- |\n| 构建期 | `npm run build`、`/run`、`/editor` 触发的 `slkgen` | Go + gopher-lua | 执行 `hslk_*` API，生成 `hslk/*.ini`、`HSLK_*` 数据 |\n| 运行期 | Warcraft III Lua 启动后 | War3 Lua 引擎 | 通过 `hslk.*` API 查询/使用物编数据 |\n\n项目根目录下若存在 `hslk/*.lua`，会在 `slkgen` 阶段自动装载；生成结果位于 `map/h-lua-slk/` 与 `map/HSLK_*`（由 CLI 注入地图目录）。\n\n### 构建期 API（`项目/hslk/*.lua` 内使用）\n\n常用函数均定义在 `h-lua-main/depend/sdk/lib/embeds/slk/*.lua`，以下列出最常见条目（完整字段可参考 `h-lua-main/depend/sdk/lib/embeds/slk/pilot.lua`）：\n\n- `hslk_ability(options)`：基于 `_parent` 技能模板批量覆写字段，可配置 `levels`、`DataA/DataB`、热键、图标等。返回 `{ _id = \"Axxx\" }` 自动分配的物编 ID。\n- `hslk_ability_empty(options)`：用于创建隐藏属性技能（默认继承 `Aamk`），常搭配属性系统。\n- `hslk_unit(options)`：自定义普通单位，支持血量、攻防、移动、模型、音效等字段。\n- `hslk_hero(options)`：英雄模板，支持三围初始值与成长、主属性、技能列表等；默认 `_parent = \"Hpal\"`。\n- `hslk_item(options)`：物品模板，可设置 `class/goldcost/uses/perishable`、内嵌 `_attr()` 属性加成。\n- `hslk_buff(options)`、`hslk_upgrade(options)`、`hslk_destructable(options)`、`hslk_doodad(options)`：分别对应 Buff、科技、可破坏物、装饰物。\n\n> 构建期脚本全部放在 `hslk/` 目录，修改后需重新触发 `slkgen`（执行 `/run`、`/editor` 或手动 `node src/utils/sdkRunner.ts`）才能生成最新数据。\n\n### 运行期 API（游戏内 Lua 使用）\n\n运行期 `hslk.*` 接口来自 `require \"h-lua-slk.slk\"`，允许按名称或 ID 查询数据：\n\n- `hslk.n2i(name)`：名称 → 物编 ID（若重名返回数组）；常搭配 `type(id) == \"table\"` 判断。\n- `hslk.i2v(id, ...fields)`：按 ID 读取数据；`hslk.i2v(\"H001\")` 返回整棵对象，或 `hslk.i2v(\"H001\", \"slk\", \"Primary\")` 直取字段。\n- `hslk.n2v(name, ...fields)`：名称 → 数据，内部等价于 `n2i + i2v`。\n- `hslk.classIds(classOrList)`：按类别收集 ID，如 `hslk.classIds(\"item\")`。\n- `hslk.typeIds(type)`：按类型（unit/hero/item 等）收集 ID。\n- `hslk.misc(section?, key?)`：读取平衡常数，`hslk.misc(\"Misc\", \"HeroExpRange\")` 获取经验设定，`hslk.misc()` 返回全集。\n\n### 示例\n\n**构建期（`hslk/abilities.lua`）**\n```lua\nlocal summon_phoenix = hslk_ability({\n  _parent = \"AHwe\",\n  Name = \"召唤凤凰群\",\n  Hotkey = \"W\",\n  levels = 3,\n  UnitID = { [1]=\"hphx\", [2]=\"hphx\", [3]=\"hphx\" },\n  DataA = { [1]=5, [2]=5, [3]=5 },\n  Cost = { [1]=200, [2]=175, [3]=150 },\n  Cool = { [1]=30, [2]=25, [3]=20 },\n})\nprint(\"技能ID:\", summon_phoenix._id)\n```\n\n**运行期（`map/main.lua`）**\n```lua\nlocal skillId = hslk.n2i(\"召唤凤凰群\")\nif type(skillId) == \"table\" then\n  skillId = skillId[1]\nend\nif skillId then\n  local hero = cj.CreateUnit(cj.Player(0), c2i(\"Hblm\"), 0, 0, 270)\n  cj.UnitAddAbility(hero, c2i(skillId))\n  cj.SetUnitAbilityLevel(hero, c2i(skillId), 3)\nend\n```\n\n### 注意事项\n- `hslk/*.lua` 仅在构建阶段执行；修改后需重新运行 `/run`、`/editor` 或 `npm run build`。\n- 物编 ID 由 HSLK 自动分配，通过返回值的 `._id` 获取；若需固定 ID，可在 options 里显式传 `_id=\"A000\"`。\n- 运行期 API 仅在 Warcraft III Lua 环境中可用，确保 `require \"h-lua-slk.slk\"` 成功。\n- `HSLK_MISC/I2V/N2I` 等全局表位于 `map/h-lua-slk/` 下，若 Go 未正确安装会导致缺失。\n\n## FAQ\n- **为什么 `/run` 或 `/editor` 会提示缺少 Go？**  \n  这两个指令会在 `w2l obj` 前执行 `go run ./h-lua-main/depend/sdk/slkgen`，触发 sdk 的 `War3()`/`Lua()` 流程生成 `h-lua-slk` 以及 `HSLK_MISC/I2V/N2I` 等全局数据。请安装 Go 1.20+，或通过 `GO_BIN` 指定可执行路径。\n- **能否直接在 npm 中执行 Go 命令？**  \n  可以，CLI 自身会在需要时调用 `go run`。如果要手动编译 sdk，也可在项目中添加 npm 脚本或直接运行 `cd h-lua-main/depend/sdk && go build -ldflags \"-s -w\"`，然后按需调用生成的可执行文件。\n\n## 输入增强功能\n- **↑/↓ 历史输入**：在输入框中按 ↑/↓ 可回溯/前进历史输入内容；在 `cmd` 模式且存在命令候选时，↑/↓ 仍用于候选切换（不触发历史回溯）。历史记录会持久化到 `$LOVEWC3_HOME/input_history.json`（默认 `~/.lovewc3/input_history.json`），重启 CLI 仍可找回。\n- **Ctrl+V 粘贴**：支持从剪贴板粘贴文本到输入框。在终端中按 Ctrl+V 即可将剪贴板内容插入当前光标位置。\n- **拖入文件获取路径**：将文件拖入终端窗口时，会自动获取文件的绝对路径。系统会自动去除路径两端的引号（Windows 终端拖入时会自动添加引号），方便直接使用。\n  - 例如拖入 `D:\\maps\\demo.w3x` 后，输入框会显示不带引号的完整路径。\n  - 配合 `/blp` 或 `/mdx` 指令，可以快速预览拖入的资源文件。\n- **支持输入空格**：输入框会保留输入过程中的空格（例如 `hello world`、或带空格的文件路径），避免出现“按空格导致光标异常/空格被吞”的问题；提交执行命令时仍会对首尾空白做统一处理。\n\n## Lovewc3 CLI 内置指令\n- `/list`：进入地图列表模式，使用 ↑/↓、Enter、Esc 选择主地图；目录为空时列表显示 `(空)`。\n- `/refresh`：立即重新扫描当前目录下的 `.w3x/.w3m`，并刷新主地图与地图数量提示。\n- `/settings`：打开设置面板配置 Warcraft III 与 KKWE 路径。\n- `/assets`：打开资源管理器（Tab 切换 Project/Global，M/T 切换 Models/Textures，↑↓ 选择，Enter 预览，Esc 退出；列表过多时自动滚动；终端高度变化会自动重算可见条目数；预览窗口会自动尝试置顶）。  \n  - **E 导出（Project 模式）**：导出 MDX 时会自动导出其引用的 BLP，并在全局库中建立依赖关系；后续从全局库导入 MDX 会自动带贴图。  \n  - **A 导入（Global 模式）**：导入文件/目录到全局库；支持 `png/jpg/jpeg`，会自动生成 `正常.blp + DIS*.blp` 并写入索引（列表仅显示正常 BLP，隐藏 DIS）。  \n  - **I 导入（Global→Project）**：若选择的是“图标正常 BLP”（存在 DIS 配对），会同时导入到项目 `resource/ReplaceableTextures/CommandButtons/` 与 `CommandButtonsDisabled/`。  \n  - **拖拽导入（在资源管理器面板内）**：将 `png/jpg/jpeg` 拖入终端窗口（资源管理器打开时）会自动触发导入；优先导入到项目图标目录并生成 `正常.blp + DIS*.blp`，无项目时回退导入全局库。  \n  - **绿色标注**：表示该资源在“另一侧”（Project/Global）已存在，用于避免重复导出/导入。  \n  - **Textures 列表过滤**：被 MDX 引用的 BLP 不再显示（只保留“纯贴图”）。\n  - **MDX 贴图依赖解析**：从 MDX 的 `TEXS` 提取贴图路径并匹配项目内 BLP，用于 `tex x/y` 统计与导出依赖。\n- `/editor`：设置 KKWE 路径后执行。主地图为 `.w3x` 且存在同名目录时，会先执行 `w2l obj` 用目录里的最新内容覆盖主地图，再启动 KKWE 并开启监听；监听结束后立即执行 `w2l lni` 将主地图回写到同名目录。若无主地图或文件不是 `.w3x`，则跳过自动同步流程。\n- `/editor` 启动 `WorldEditKKWE.exe` 后会同步阻塞：执行 `while ($true) { Get-Process WorldEditKKWE ... }` 的 PowerShell 采集脚本侦测输出，若某次获取不到进程就立即退出；10 秒内未出现任何输出则报错提示“未检测到 KKWE 输出”。监听期间仅在首次捕获输出与检测到 `KKWE - [` 时写入提示，结束后提示“KKWE 输出结束”。\n- `/run`：主地图需为 `.w3x` 且存在同名目录。指令会先执行 `w2l obj` 将目录内容打包回主地图，再调用 `YDWEConfig.exe -launchwar3 -loadfile <主地图>` 启动 Warcraft III（支持 JAPI/Lua），并持续监听 `war3.exe` 进程，直至游戏关闭才解除阻塞。缺少主地图、目录或 KKWE 路径未配置时会给出错误提示。\n  - 触发 `slkgen` 时，Go 侧 stdout/stderr 会以 `[sdk] ...` / `[sdk][ERR] ...` 的形式直接回显在 CLI 中，方便排查脚本错误。\n- `/obj`：主地图需为 `.w3x`。执行时会在同级目录查找同名文件夹（如 `demo.w3x`->`demo/`），对该目录运行 `w2l obj` 并将生成的 `demo.w3x` 覆盖现有主地图。\n- `/lni`：主地图存在时会调用 `w2l lni` 生成同名目录；若目录已存在会先删除再覆盖，便于以文本方式继续编辑。\n- `/init`：将 h-lua 框架和 sdk 拷贝到主地图的 lni 目录中。如果 lni 目录不存在，会先自动执行 `/lni` 生成。拷贝内容包括 `const/`、`foundation/`、`lib/`、`builtIn/`、`sdk/` 目录和 `h-lua.lua` 文件到 `<lni>/map/` 目录下。\n- `/update`：更新 lovewc3 到最新版本（执行 `npm install -g lovewc3@latest`），更新完成后需重启 CLI 生效。\n- `/rebuild`：更新文档并重建 RAG 索引。会先从 npm 包复制最新的 h-lua 文档到用户目录，然后重建索引。更新 lovewc3 后执行此命令即可刷新文档和索引。\n- `/rag`：构建/启动 RAG 服务与 MCP Server。首次执行会自动运行 `tools/rag/ingest.py` 对 `h-lua` 文档嵌入，随后后台常驻 `tools/rag/server.py` 与 `tools/mcp/hlua_mcp.py`，CLI 会实时输出运行日志；若服务已在运行则仅返回状态。\n- `/blp <path>`：在 Electron 窗口中查看 BLP 纹理文件。会启动本地 HTTP 服务器（端口 8910），自动打开 Electron 窗口展示 BLP 图像的详细信息（尺寸、内容类型、Alpha 位数、Mipmap 层级）及所有 Mipmap 的预览。\n- `/mdx <path>`：在 Electron 窗口中查看 MDX 3D 模型。使用 WebGL 渲染模型，支持鼠标拖拽旋转视角、滚轮缩放、切换动画序列、选择队伍颜色、循环播放控制等功能。\n- **自然语言查询**：在命令行输入不以 `/` 开头的内容时，系统会执行 RAG+LLM 流程：先检索相关文档，再调用 `DeepSeek-V3.2-Exp` 模型生成回答。回答后会附带参考来源和 Token 用量统计。\n- 默认状态下，命令行上方会实时展示 `user:` 与 `love:`（系统回答）对话历史，高度自动适应终端大小；有新消息时自动滚动到底部，支持 PageUp/PageDown（或 Ctrl+↑/↓）上下滚动查看更早的消息。\n\n## RAG + LLM 集成\n1. 复制 `.env.example` 为 `.env`，填入 `SILICONFLOW_API_KEY`（SiliconFlow 控制台创建），其余端口可保持默认。\n2. 安装 Python 依赖（建议使用 `uv` 或 `pip`）：\n   - `pip install -r tools/rag/requirements.txt`\n   - `pip install -r tools/mcp/requirements.txt`\n3. 可选手动命令：\n   - `npm run rag:ingest`：重新向 SiliconFlow 发送嵌入请求并刷新本地 `rag_store/`。\n   - `npm run rag:serve`：仅启动 FastAPI RAG 服务（默认端口 8900）。\n   - `npm run mcp:serve`：单独启动 MCP Server（默认端口 8901）。\n4. 在 CLI 中执行 `/rag` 后，系统会自动启动两个 HTTP 服务：\n   - **RAG 服务** (端口 8900)：提供文档检索与索引刷新功能。\n   - **MCP 服务** (端口 8901)：提供标准化的 API 接口供 AI Agent 调用。\n5. MCP 服务提供的接口：\n   - `POST /query_docs`：语义检索 + `bge-reranker-v2-m3` 精排。\n   - `POST /refresh_index`：触发 RAG 服务重新索引指定文档。\n   - `POST /read_document`：直接获取原始 Markdown 文档内容。\n   - `GET /health`：健康检查。\n6. **LLM 生成**：自然语言查询会调用 SiliconFlow 的 `deepseek-ai/DeepSeek-V3.2-Exp` 模型：\n   - 默认关闭思考模式（`enable_thinking: false`），响应更快\n   - 温度设为 0.3，保证回答准确性\n   - 最大输出 2048 tokens\n7. CLI 退出时会自动停止 RAG/MCP 子进程，无需手动清理。\n\n## 日志输出\n- CLI 的所有系统消息与命令反馈会同步追加到根目录的 `log.txt`，格式为 `[ISO时间][角色] 内容`，便于排查问题。\n- 如需清空记录，可删除该文件，运行时会自动重新创建。\n- 设置面板会将“打开文件选择器”“取消/失败/成功”等过程写入日志，并在 30 秒无响应时自动超时记录，文件选择器会强制置顶防止被遮挡。\n\n### War3 控制台输出抓取\n- 当使用 `/run` 启动 War3 且出现 PowerShell 控制台窗口时，可运行 `powershell -NoProfile -File tools/console_dump.ps1 -TargetPid <war3_pid> -MaxChars 8000` 抓取当前控制台缓冲（`<war3_pid>` 可通过 `Get-Process war3 | Select Id` 获取；亦可用参数别名 `-Pid`）。\n- 该脚本通过 `AttachConsole` + `ReadConsoleOutputCharacterW` 读取控制台内容，仅供调试查看 War3/KKWE 输出。\n\n## 地图管理\n- 启动 CLI 时会自动扫描当前目录下的 `.w3x/.w3m` 地图，并默认选中排序后的第一张作为主地图。\n- 默认界面仅保留命令输入框和状态栏：状态栏在同一行展示 `main map`、KKWE 两条信息（未设置时提示 `/settings`），若终端宽度不足会自动换行。\n- 命令行具备 `default/cmd` 状态机：输入 `/` 自动进入 cmd 状态并列出可用指令，可用 ↑/↓ 切换候选；Tab 会把候选指令补全到输入框并将光标移动到文本末尾，Enter 则直接执行当前高亮候选（即使输入只写了前缀），当输入已完全匹配某个指令（如 `/RUN`）时，候选会坍缩为唯一一条该指令；执行或 Esc 后恢复 default 状态。\n- 在 cmd 状态下按一次 Esc 会立即回到 default 并清空当前指令；快速连续按两次 Esc（双击）会在任意状态下清空输入框内容。\n- 指令候选区域一次最多显示 5 条记录，当候选超过 5 条时会围绕当前光标滚动视窗，并在列表下方展示上下箭头提示，其中可继续向下滚动时下箭头会高亮。\n- 输入框 placeholder 固定为 `waiting for your command...`，无需额外提示文字。\n- 当终端高度过小时，界面会自动收缩（必要时隐藏对话预览），以保证命令输入框不被候选列表挤压变形。\n## 设置面板\n- 执行 `/settings` 后，界面切换到设置面板，提供 \"KKWE\" 选项，可用 Enter 选择、Esc 退出。\n- Enter 会调起系统文件资源管理器选择 KKWE 可执行文件（例如 `KKWE.exe`），结果立即保存并写入 `~/.lovewc3/settings.json`，同时同步到状态栏展示。\n- `/run` 指令会根据 KKWE 路径自动推算 `bin/YDWEConfig.exe` 位置来启动游戏，支持 JAPI 和 Lua。\n\n## 地图列表模式\n- 执行 `/list` 后，命令状态栏隐藏，仅显示地图列表；使用 ↑/↓、Enter、Esc 操作主地图。\n- 若不存在 `.w3x/.w3m` 文件，则列表显示 `(空)`，仍可通过 Esc 返回默认界面。\n\n## w2l 转换输出\n- `/lni` 与 `/obj` 指令会直接调用内置（或同目录）`w2l.exe`。执行前会删除同名目录（lni 输出）或同名文件（w3x 输出），确保结果完全覆盖旧内容。\n- `/editor` 自动串联 obj → 编辑器 → lni，整个流程都会调用 w2l 保证主地图文件与同名目录保持最新。\n\n## ASCII Logo\n程序启动时，会在左上角用蓝色圆角框包裹下方 ASCII Logo，并依次显示 `READY TO WORK!!!`（冰青 → 深海蓝渐变）与 `press enter to continue...` 提示；按 Enter 进入主界面：\n```\n██╗      ██████╗ ██╗   ██╗███████╗██╗    ██╗ ██████╗██████╗ \n██║     ██╔═══██╗██║   ██║██╔════╝██║    ██║██╔════╝╚════██╗\n██║     ██║   ██║██║   ██║█████╗  ██║ █╗ ██║██║      █████╔╝\n██║     ██║   ██║╚██╗ ██╔╝██╔══╝  ██║███╗██║██║      ╚═══██╗\n███████╗╚██████╔╝ ╚████╔╝ ███████╗╚███╔███╔╝╚██████╔╝██████╔╝\n╚══════╝ ╚═════╝   ╚═══╝  ╚══════╝ ╚══╝╚══╝  ╚═════╝ ╚═════╝\n```\n> 启动界面 Logo 下方会显示“基于 H-lua 二次开发，感谢原作者与贡献者。”以致敬原项目。","readmeFilename":"README.md"}