{"_id":"@autonoelle/wsg-gamedata","_rev":"8-0b50a64db13f8e30df46dfe2d64a8b56","name":"@autonoelle/wsg-gamedata","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"@autonoelle/wsg-gamedata","version":"0.1.0","_id":"@autonoelle/wsg-gamedata@0.1.0","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/index.js"},"dist":{"shasum":"8c544b161039faa1a08b20b4d08c419aca5a8ba5","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.1.0.tgz","fileCount":98,"integrity":"sha512-y/TrRHeTAyNDKK7nwjWaKjWnNA8UAD+O53cONuMK5G03fPqGGSWh/YG/eOZSEGuuLOqFKi2AoBEpS4M8EcHx3w==","signatures":[{"sig":"MEUCIQC4MtXcQBHUiOEmX1ouq5jbGGAEfWuT69Tpk5ac2781XwIgUI6xdvPFqiGY5AayPVhyTU7fuZwatjhUa5J19OJAPQc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141180},"type":"module","gitHead":"1be36f7059c339eae830a898578846799c464ce9","private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc","check":"tsc --noEmit","start":"node dist/index.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，不需要用户凭证。账号实例、用户配置、会话和挂机任务请使用相邻的 `autonoelle-wsg-active-cli`。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.1.0_1783673003700_0.3816813360284601","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@autonoelle/wsg-gamedata","version":"0.1.1","_id":"@autonoelle/wsg-gamedata@0.1.1","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/index.js"},"dist":{"shasum":"e7e5ec57d21349b789cbfd2191c557dfb4006c01","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.1.1.tgz","fileCount":98,"integrity":"sha512-vSD6PmRVUePYeYiDUNfd4sAAzMGaBzj6NDWoBoD1UXoij6DAx2G3656qNmw00jBTErA2QRNpXZRbr+TeWLkQZA==","signatures":[{"sig":"MEUCIE1i2C6KOVUlJjRztVknVgd7J3u3pMojdtM1tcV1Nx7eAiEA5paMXru5veHEgyxLJMgxLJnjSvxq3BmrXzg662SJKYc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":151065},"type":"module","gitHead":"1be36f7059c339eae830a898578846799c464ce9","private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc","check":"tsc --noEmit","start":"node dist/index.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，不需要用户凭证。账号实例、用户配置、会话和挂机任务请使用相邻的 `autonoelle-wsg-active-cli`。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.1.1_1783675023859_0.01723194339106149","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@autonoelle/wsg-gamedata","version":"0.2.0","_id":"@autonoelle/wsg-gamedata@0.2.0","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/bin.js"},"dist":{"shasum":"60b2ae41922d88b8b60fffc1f12903cc4f0bf036","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.2.0.tgz","fileCount":130,"integrity":"sha512-fo85rAPozDkvM5+dkIF0RS8EnI9r9GdrSJaxHgYSuB3mQUwsPK0QBOfYoMLDg0goc4aZuWHu9IEelrKFNgAhNg==","signatures":[{"sig":"MEQCIAxOUJ/WDwkDQo9+xuxdBLU6H05WOYqG+EVG/2R9WhT8AiAgMT3y/2IB2rNHrAGyKJIYnZflp24YI9/TeboY7f2wsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220154},"main":"./dist/public.js","type":"module","types":"./dist/public.d.ts","exports":{".":{"types":"./dist/public.d.ts","import":"./dist/public.js"},"./enums":{"types":"./dist/commands/enums.d.ts","import":"./dist/commands/enums.js"},"./client":{"types":"./dist/gameDataClient.d.ts","import":"./dist/gameDataClient.js"},"./schema":{"types":"./dist/commands/schema.d.ts","import":"./dist/commands/schema.js"},"./command":{"types":"./dist/command.d.ts","import":"./dist/command.js"},"./pagination":{"types":"./dist/core/pagination.d.ts","import":"./dist/core/pagination.js"},"./package.json":"./package.json"},"private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc","check":"tsc --noEmit","start":"node dist/bin.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，不需要用户凭证。账号实例、用户配置、会话和挂机任务请使用相邻的 `autonoelle-wsg-active-cli`。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.2.0_1783929247979_0.36650653975548764","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@autonoelle/wsg-gamedata","version":"0.2.1","_id":"@autonoelle/wsg-gamedata@0.2.1","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/bin.js"},"dist":{"shasum":"b132fe4b6e3f003b9c60a5bedd3f43db19e5eee2","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.2.1.tgz","fileCount":134,"integrity":"sha512-qNYfW4ijGbBdAJyR5/61Wyth3nugEkcf1TOh0jCU2KqxvR9XslVtCmF+X7TFrKTP1znT93yhI7LQMgrRdB0KDA==","signatures":[{"sig":"MEUCIQCGdw7M65CdJ8jXm167slxLXceFx8/LkleiQlY7BqeIPAIgN9GLBiuYPsSd6MoULIDPhW9IFtvVGqfcVuRLduKX7sY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221504},"main":"./dist/public.js","type":"module","types":"./dist/public.d.ts","exports":{".":{"types":"./dist/public.d.ts","import":"./dist/public.js"},"./enums":{"types":"./dist/commands/enums.d.ts","import":"./dist/commands/enums.js"},"./client":{"types":"./dist/gameDataClient.d.ts","import":"./dist/gameDataClient.js"},"./schema":{"types":"./dist/commands/schema.d.ts","import":"./dist/commands/schema.js"},"./command":{"types":"./dist/command.d.ts","import":"./dist/command.js"},"./pagination":{"types":"./dist/core/pagination.d.ts","import":"./dist/core/pagination.js"},"./package.json":"./package.json"},"private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc && node scripts/inject-version.mjs","check":"tsc --noEmit","start":"node dist/bin.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，不需要用户凭证。它只处理公共图鉴、地图和元数据，不处理玩家实例或可变状态。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.2.1_1783930271478_0.688672779652074","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@autonoelle/wsg-gamedata","version":"0.2.4","_id":"@autonoelle/wsg-gamedata@0.2.4","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/bin.js"},"dist":{"shasum":"c3d19e70b267184ad603c825ddc9fd02e337b19c","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.2.4.tgz","fileCount":134,"integrity":"sha512-pvlbBAUqtulJNaAmzwYu8rPtWCWrzWc8BN/utaA38WnqujcmSRyRZOy00T5hIMC5s9EEHjXQ9bVc5LmzSamqWQ==","signatures":[{"sig":"MEQCIG8CVYF8XL/5NOLsIuUhRzHaBXvNB8HQSIHdo6XHB9v/AiBnRNrWEsRJ6ksDo0y54oFOEVSP/wF1pFpp5wp/wWySBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221150},"main":"./dist/public.js","type":"module","types":"./dist/public.d.ts","exports":{".":{"types":"./dist/public.d.ts","import":"./dist/public.js"},"./enums":{"types":"./dist/commands/enums.d.ts","import":"./dist/commands/enums.js"},"./client":{"types":"./dist/gameDataClient.d.ts","import":"./dist/gameDataClient.js"},"./schema":{"types":"./dist/commands/schema.d.ts","import":"./dist/commands/schema.js"},"./command":{"types":"./dist/command.d.ts","import":"./dist/command.js"},"./pagination":{"types":"./dist/core/pagination.d.ts","import":"./dist/core/pagination.js"},"./package.json":"./package.json"},"private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc && node scripts/inject-version.mjs","check":"tsc --noEmit","start":"node dist/bin.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，提供舰船、装备、地图、路线、掉落、枚举和 Schema 查询。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.2.4_1784532993406_0.46679228904110137","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@autonoelle/wsg-gamedata","version":"0.3.0","_id":"@autonoelle/wsg-gamedata@0.3.0","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/bin.js"},"dist":{"shasum":"d7342109656847e95a3fe35fbad7bc7c3d409383","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.3.0.tgz","fileCount":134,"integrity":"sha512-/Op9W6lVnNAN/arBFI2WXX9GGJr7nseTucdtGDSjeJZMiFF6Dab7gtciWKGRDiRRcxehqG4Tjr/0aD2eTD7eVw==","signatures":[{"sig":"MEYCIQCCC9f4PvZ7qTlKDKCR0uJ8QLYdrdCQ/Fvb2U0lpdo1nAIhALSqwSQIGr7BYMBNNpSlJVZt95vC18t16W7yW9gEodIZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221150},"main":"./dist/public.js","type":"module","types":"./dist/public.d.ts","exports":{".":{"types":"./dist/public.d.ts","import":"./dist/public.js"},"./enums":{"types":"./dist/commands/enums.d.ts","import":"./dist/commands/enums.js"},"./client":{"types":"./dist/gameDataClient.d.ts","import":"./dist/gameDataClient.js"},"./schema":{"types":"./dist/commands/schema.d.ts","import":"./dist/commands/schema.js"},"./command":{"types":"./dist/command.d.ts","import":"./dist/command.js"},"./pagination":{"types":"./dist/core/pagination.d.ts","import":"./dist/core/pagination.js"},"./package.json":"./package.json"},"private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc && node scripts/inject-version.mjs","check":"tsc --noEmit","start":"node dist/bin.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，提供舰船、装备、地图、路线、掉落、枚举和 Schema 查询。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.3.0_1784538907648_0.1281980951058046","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@autonoelle/wsg-gamedata","version":"0.4.0","_id":"@autonoelle/wsg-gamedata@0.4.0","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"bin":{"autonoelle-wsg-gamedata":"dist/bin.js"},"dist":{"shasum":"746a692ae774a4e9497227c8f8045bddf6fc8131","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.4.0.tgz","fileCount":138,"integrity":"sha512-cOYiHnDrSmJ6TK6qjO1Zd/3QmfhsFbBr/tEDDGL0DYPOudR5obLREuioAd3ZVyOWytDSOWokH6urZofTJA4nkA==","signatures":[{"sig":"MEQCIBQUk05kgEBmaQgg17lcSZWWYphzwuVDD3bI1PM83ITiAiA8lLMlKX9Loe0WOnajM6TtaQ/B3BjLL+a/FTDa2lqRbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":236991},"main":"./dist/public.js","type":"module","types":"./dist/public.d.ts","exports":{".":{"types":"./dist/public.d.ts","import":"./dist/public.js"},"./enums":{"types":"./dist/commands/enums.d.ts","import":"./dist/commands/enums.js"},"./client":{"types":"./dist/gameDataClient.d.ts","import":"./dist/gameDataClient.js"},"./schema":{"types":"./dist/commands/schema.d.ts","import":"./dist/commands/schema.js"},"./command":{"types":"./dist/command.d.ts","import":"./dist/command.js"},"./pagination":{"types":"./dist/core/pagination.d.ts","import":"./dist/core/pagination.js"},"./package.json":"./package.json"},"private":false,"scripts":{"test":"npm run build && node --test \"dist/tests/*.test.js\"","build":"tsc && node scripts/inject-version.mjs","check":"tsc --noEmit","start":"node dist/bin.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"_npmVersion":"11.6.2","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，提供舰船、装备、地图、路线、掉落、枚举和 Schema 查询。","directories":{},"_nodeVersion":"24.13.0","dependencies":{"graphql":"^17.0.2","commander":"^12.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@types/node":"^22.20.1"},"_npmOperationalInternal":{"tmp":"tmp/wsg-gamedata_0.4.0_1785386410469_0.5053215017307549","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@autonoelle/wsg-gamedata","version":"0.5.0","private":false,"type":"module","main":"./dist/public.js","types":"./dist/public.d.ts","publishConfig":{"access":"public"},"bin":{"autonoelle-wsg-gamedata":"dist/bin.js"},"exports":{".":{"types":"./dist/public.d.ts","import":"./dist/public.js"},"./command":{"types":"./dist/command.d.ts","import":"./dist/command.js"},"./client":{"types":"./dist/gameDataClient.d.ts","import":"./dist/gameDataClient.js"},"./enums":{"types":"./dist/commands/enums.d.ts","import":"./dist/commands/enums.js"},"./pagination":{"types":"./dist/core/pagination.d.ts","import":"./dist/core/pagination.js"},"./errors":{"types":"./dist/errors.d.ts","import":"./dist/errors.js"},"./output":{"types":"./dist/output.d.ts","import":"./dist/output.js"},"./security":{"types":"./dist/security.d.ts","import":"./dist/security.js"},"./options":{"types":"./dist/options.d.ts","import":"./dist/options.js"},"./parsers":{"types":"./dist/core/parsers.d.ts","import":"./dist/core/parsers.js"},"./schema":{"types":"./dist/commands/schema.d.ts","import":"./dist/commands/schema.js"},"./package.json":"./package.json"},"scripts":{"build":"tsc && node scripts/inject-version.mjs","check":"tsc --noEmit","test":"npm run build && node --test \"dist/tests/*.test.js\"","start":"node dist/bin.js","prepack":"npm run build","prepublishOnly":"npm run check && npm test"},"dependencies":{"commander":"^12.1.0","graphql":"^17.0.2"},"devDependencies":{"@types/node":"^22.20.1","typescript":"^7.0.2"},"_id":"@autonoelle/wsg-gamedata@0.5.0","description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，提供舰船、装备、地图、路线、掉落、枚举和 Schema 查询。","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-W2QhkmilVpW+ZXKc7UW1E3RMKvQiAyRIO+a9qwIrsMb3kGB/F/3IgkWkISAUM9rx8Sm/SR9sM+qtpe8l7KF6MQ==","shasum":"3390016f2d4f6fe34e009918b288bd5fa9a6c2e5","tarball":"https://registry.npmjs.org/@autonoelle/wsg-gamedata/-/wsg-gamedata-0.5.0.tgz","fileCount":142,"unpackedSize":247684,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDE40ttRgWoXRJ7KcJe6jaWI0NtTCbFxX6s0Du5l9IexQIgdYI84t6h6LgFCZqriUd6sLhseBYkRQOGj2yyjmWVEOU="}]},"_npmUser":{"name":"yueao7","email":"Leaoqi@outlook.com"},"directories":{},"maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wsg-gamedata_0.5.0_1785916394194_0.11436454136382523"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-10T08:43:23.529Z","modified":"2026-08-05T07:53:14.510Z","0.1.0":"2026-07-10T08:43:23.867Z","0.1.1":"2026-07-10T09:17:03.995Z","0.2.0":"2026-07-13T07:54:08.120Z","0.2.1":"2026-07-13T08:11:11.655Z","0.2.4":"2026-07-20T07:36:33.536Z","0.3.0":"2026-07-20T09:15:07.784Z","0.4.0":"2026-07-30T04:40:10.609Z","0.5.0":"2026-08-05T07:53:14.354Z"},"description":"面向脚本和 AI Agent 的公共游戏数据只读 CLI，提供舰船、装备、地图、路线、掉落、枚举和 Schema 查询。","maintainers":[{"name":"yueao7","email":"Leaoqi@outlook.com"}],"readme":"# AutoNoelle WSG GameData CLI\n\n面向脚本和 AI Agent 的公共游戏数据只读 CLI，提供舰船、装备、地图、路线、掉落、枚举和 Schema 查询。\n\n## 安装与检查\n\n```bash\nnpm install\nnpm run check\nnpm run build\nnpm test\nnode dist/bin.js --help\n```\n\n## 作为库与 Command 组合\n\n包入口没有参数解析或退出进程副作用，并正式导出 Command 工厂、GameData 客户端、枚举、分页和查询函数：\n\n```ts\nimport { Command } from 'commander';\nimport {\n  createGameDataCommand,\n  gameData,\n  gameDataGql,\n  listEnums,\n  paginateConnection,\n} from '@autonoelle/wsg-gamedata';\n\nconst command = new Command('host');\ncommand.addCommand(gameData);\n\n// 需要多个命令树或自定义名称时使用工厂：\ncommand.addCommand(createGameDataCommand({\n  name: 'data',\n  commandPrefix: 'host data',\n}));\n```\n\nCommander 的原生方法是 `addCommand`。现成的 `gameData` 适合只挂载一次；库、测试或多个宿主应调用 `createGameDataCommand()` 创建独立命令树。稳定子路径包括 `@autonoelle/wsg-gamedata/command`、`/client`、`/enums`、`/pagination` 和 `/schema`。\n\n全局选项：\n\n| 选项 | 环境变量 | 默认值 |\n| --- | --- | --- |\n| `--data-url <url>` | `AUTO_NOELLE_DATA_URL` | `https://data.auto.noelle.cool/GameData` |\n| `--scope <scope>` | `AUTO_NOELLE_SCOPE` | `CN` |\n| `--timeout <ms>` | `AUTO_NOELLE_TIMEOUT_MS` | `15000` |\n\n## AI 能力发现\n\nCLI 不使用确认框、颜色、动画或交互式输入。业务命令始终向 stdout 写入一个 JSON envelope，参数错误也不会静默回退。AI Agent 应先按需读取机器可解析的指南：\n\n```bash\nautonoelle-wsg-gamedata guide\nautonoelle-wsg-gamedata guide commands\nautonoelle-wsg-gamedata guide ids\nautonoelle-wsg-gamedata guide query\nautonoelle-wsg-gamedata guide errors\n```\n\n推荐顺序是：优先使用专用命令；用 `schema`/`enums` 发现字段和枚举；只在专用命令无法覆盖时使用 `query`。处理失败时按 `error.code` 或 `error.category` 分支，执行 `error.suggestion`，并且仅在 `error.retryable=true` 时进行有界重试。\n\n## 舰船\n\n`ship` 默认查询已实装舰船；`ship all` 包含敌舰和未实装数据。\n\n```bash\nautonoelle-wsg-gamedata ship --first 20\nautonoelle-wsg-gamedata ship --id <catalog-cid>\nautonoelle-wsg-gamedata ship --title 胡德\nautonoelle-wsg-gamedata ship --title-contains 胡\nautonoelle-wsg-gamedata ship --ship-type BC --country UK --all\nautonoelle-wsg-gamedata ship --fields id,title,shipType,country,evoClass,evoCid\nautonoelle-wsg-gamedata ship all --first 20\n```\n\n这里的 `id` 是公共 `EntityShip` 图鉴 CID。\n\n## 装备\n\n```bash\nautonoelle-wsg-gamedata equips --id <equipment-catalog-id>\nautonoelle-wsg-gamedata equips --title-contains 雷达 --first 20\nautonoelle-wsg-gamedata equips --equip-type RADAR --released --all\nautonoelle-wsg-gamedata equips --fields id,title,equipType,star\n```\n\n## 地图与节点详情\n\n```bash\nautonoelle-wsg-gamedata map info --id 101\nautonoelle-wsg-gamedata map info --title 1-1\nautonoelle-wsg-gamedata map info --title-contains 10-\nautonoelle-wsg-gamedata map detail --id 101\nautonoelle-wsg-gamedata map detail --title 6-1 --node A\n```\n\n`map detail` 一次返回节点基本信息、掉落、敌方编成、入站条件和出站路线。`--node` 接受节点 ID 或不区分大小写的标识，例如 `60102` 或 `A`。旧命令 `map routes` 保留为兼容别名。\n\n敌方编成包含编成 ID、阵型的数值/名称/中文说明，以及每艘敌舰的 CID、名称、舰种、国籍、星级、航速和深海标识。路线结果同时明确后端选择规则：\n\n- 可见路线中，先选择第一个“满足条件数 ≥ `passCount`”的条件路线。\n- `passCount == conditions.length` 等价于 AND；多条件且 `passCount == 1` 等价于 OR。\n- 没有条件路线命中时，后端在可见路线中按 `weight` 加权选择。\n- `showBy`/`missBy` 基于已通过节点，`garrisonShowBy`/`garrisonMissBy` 基于驻防点。\n\n查询舰船或装备 CID 的掉落位置：\n\n```bash\nautonoelle-wsg-gamedata functions drop --cid <catalog-cid>\n```\n\n若输入是改造后舰船且没有直接掉落，返回结果会提示改造前 CID。\n\n## 枚举、Schema 与高级查询\n\n```bash\nautonoelle-wsg-gamedata enums\nautonoelle-wsg-gamedata enums --type ShipType\nautonoelle-wsg-gamedata enums --type RouteType\nautonoelle-wsg-gamedata schema\nautonoelle-wsg-gamedata schema --type EntityMap\n```\n\n枚举结果同时返回后端 C# 成员名 `name` 和 GraphQL 参数使用的 `graphQlName`；筛选参数应优先使用 `graphQlName`。\n\n`schema` 的 stdout 仍是统一 JSON；`data.schema` 是 YAML 格式的静态参考文本，来源为仓库中的 C# 模型。生产服务禁用 GraphQL introspection。\n\n常见需求应使用专用命令。只有查询未封装的高级字段时才使用 `query`：\n\n```bash\nautonoelle-wsg-gamedata query \\\n  --field shipsRelease \\\n  --where '{\"title\":{\"eq\":\"胡德\"}}' \\\n  --q 'nodes { id title skills { value { title } } }'\n```\n\n完整查询也可通过 `--q` 和 `--variables` 传入。先运行 `schema` 和 `enums` 确认字段与枚举。\n\n## 输出与退出码\n\n除帮助外，业务命令 stdout 只输出 JSON：\n\n```json\n{ \"ok\": true, \"data\": {} }\n```\n\n错误包含稳定的 `code`、`category`、消息、可选 `field`/`details`、可执行恢复建议 `suggestion` 和 `retryable`。成功退出 `0`；参数、超时、网络、HTTP 或 GraphQL 错误退出非 `0`。\n","readmeFilename":"README.md"}