{"_id":"@corsaircoalition/strategy-sentinel","_rev":"2-510fd245c7af2ccb2e2c780d236eaa79","name":"@corsaircoalition/strategy-sentinel","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@corsaircoalition/strategy-sentinel","version":"1.0.0","description":"bot component that analyzes game state and selects actions","main":"out/index.js","type":"module","dependencies":{"@corsaircoalition/common":"^1.0.2","@redis/client":"^1.5.8","commander":"^10.0.1"},"devDependencies":{"@sindresorhus/tsconfig":"^3.0.1","@types/node":"^18.16.16","typescript":"^5.1.3"},"bin":{"strategy-sentinel":"out/index.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node ."},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/StrategySentinel.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","typescript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://github.com/CorsairCoalition/docs#readme","types":"./out/index.d.ts","gitHead":"ddae6da6f7564afb437ac646128f354663005063","bugs":{"url":"https://github.com/CorsairCoalition/StrategySentinel/issues"},"_id":"@corsaircoalition/strategy-sentinel@1.0.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-2yveOdz/aMOK9ah/N8KMlUjJoUpgJMelMG2yTFs/g+BrTyCBby2Gq1+fhrMAyftAN9M1xVKbloXVvlgDSJsIoQ==","shasum":"925b5ee6dc3f21677f0cd544d0cdf3acc2115f42","tarball":"https://registry.npmjs.org/@corsaircoalition/strategy-sentinel/-/strategy-sentinel-1.0.0.tgz","fileCount":9,"unpackedSize":19655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPBqtpcddH10NNssSyUBIFM4G4haMsB35JNZoT4Cq7MAiBeakKm2GYCCaBWgIbdH42EeSpNZpqRkRgJ6C//iErAgw=="}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strategy-sentinel_1.0.0_1686079630287_0.8286164606345352"},"_hasShrinkwrap":false},"1.0.1":{"name":"@corsaircoalition/strategy-sentinel","version":"1.0.1","description":"bot component that analyzes game state and selects actions","main":"out/index.js","type":"module","dependencies":{"@corsaircoalition/common":"^1.0.4","@redis/client":"^1.5.8","commander":"^10.0.1"},"devDependencies":{"@sindresorhus/tsconfig":"^3.0.1","@types/node":"^18.16.16","typescript":"^5.1.3"},"bin":{"strategy-sentinel":"out/index.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node ."},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/StrategySentinel.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","typescript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://github.com/CorsairCoalition/docs#readme","types":"./out/index.d.ts","gitHead":"d138616e381e61c44633573d9cddd9199cbfffe8","bugs":{"url":"https://github.com/CorsairCoalition/StrategySentinel/issues"},"_id":"@corsaircoalition/strategy-sentinel@1.0.1","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-1pMWFqyGk0upmmhvev243gsh1LCghsv2MERjNI55DyIkdNP+ghf3Pg3WH9xAEWHGfTsqTOrDB7LdKET/gy3aEw==","shasum":"466ea4b1666a69a12056c04fd862a4500601841a","tarball":"https://registry.npmjs.org/@corsaircoalition/strategy-sentinel/-/strategy-sentinel-1.0.1.tgz","fileCount":9,"unpackedSize":19655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACruJdENaiBkmF8Bim0l2+Wy+9CJ3QyTP+tgsBmnPiJAiAUUsGY1QCwgo9uWYQKbCKSCAYEzhTohdYehATy145oxw=="}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strategy-sentinel_1.0.1_1686110696826_0.8307000001867237"},"_hasShrinkwrap":false},"1.2.0":{"name":"@corsaircoalition/strategy-sentinel","version":"1.2.0","description":"bot component that analyzes game state and selects actions","main":"out/index.js","type":"module","dependencies":{"@corsaircoalition/common":"^1.3.2","commander":"^10.0.1"},"devDependencies":{"@sindresorhus/tsconfig":"^4.0.0","@types/node":"^20.4.10","typescript":"^5.1.6"},"bin":{"strategy-sentinel":"out/index.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node ."},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/StrategySentinel.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","typescript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://corsaircoalition.github.io/","_id":"@corsaircoalition/strategy-sentinel@1.2.0","gitHead":"a8ab53d61d39e96b1957a3e642843e2e5a47d4be","types":"./out/index.d.ts","bugs":{"url":"https://github.com/CorsairCoalition/StrategySentinel/issues"},"_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-gXFIb7zxCF/8WnRKiryM4P6YWTVQEoCnTiGI+A/iqknQnf6DbKGLmEkE4ji9lPQAEPrLcRCVfwsCV7Ym/BEKGg==","shasum":"784f41679ac19ca14d9e4168c32b684818ec44b9","tarball":"https://registry.npmjs.org/@corsaircoalition/strategy-sentinel/-/strategy-sentinel-1.2.0.tgz","fileCount":9,"unpackedSize":20669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyg2Ko2GnJKxJKpGlyefqzV1KJYjRn1BU4o2HlGHTlhgIhALoDb2AikjUxEMss6XmU9kYcyLJtAM3YfJsXzyyUOtjB"}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strategy-sentinel_1.2.0_1691896985372_0.7266132934570158"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-06T19:27:10.226Z","1.0.0":"2023-06-06T19:27:10.466Z","modified":"2023-08-13T03:23:05.740Z","1.0.1":"2023-06-07T04:04:56.963Z","1.2.0":"2023-08-13T03:23:05.556Z"},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"description":"bot component that analyzes game state and selects actions","homepage":"https://corsaircoalition.github.io/","keywords":["generals.io","bot","node.js","javascript","typescript","ai"],"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/StrategySentinel.git"},"author":{"name":"Aaditya Bhatia"},"bugs":{"url":"https://github.com/CorsairCoalition/StrategySentinel/issues"},"license":"Apache-2.0","readme":"# Strategy Sentinel\n\n[Generally Genius](https://corsaircoalition.github.io/) (GG) is a modular generals.io bot framework for development and analysis of game strategies and actions. [CorsairCoalition](https://corsaircoalition.github.io/) is a collection of components that form the GG framework.\n\n\nStrategy Sentinel receives action recommendations from [Armada Assault](https://github.com/CorsairCoalition/ArmadaAssault), and in an ideal situation, selects the best sequence of actions based on the current state of the game, and relays those to the [Sergeant Socket](https://github.com/CorsairCoalition/SergeantSocket) to send to the game server. In the current implementation, it relays **all** recommended actions to the game server, which makes the bot very erratic. Correct implementation of the strategy module is left as an exercise for the reader.\n\n## Configuration\n\nDownload `config.example.json` from the [documentation repository](https://github.com/CorsairCoalition/docs) and make desired changes.\n\nTo setup other components, see the [detailed instructions](https://corsaircoalition.github.io/setup/) on the [project website](https://corsaircoalition.github.io/).\n\n## Execution\n\nInstall and run the executable:\n\n```sh\nnpm install -g @corsaircoalition/strategy-sentinel\nstrategy-sentinel config.json\n```\n\nor run directly from npm library:\n\n```sh\nnpx @corsaircoalition/strategy-sentinel config.json\n```\n\nor use docker:\n\n```sh\ndocker run -it -v ./config.json:/config.json ghcr.io/corsaircoalition/strategysentinel:latest\n```\n\n## Usage\n\n```\nUsage: @corsaircoalition/strategy-sentinel [options] <configFile>\n\nbot component that analyzes game state and selects actions\n\nOptions:\n  -V, --version  output the version number\n  -d, --debug    enable debugging (default: false)\n  -h, --help     display help for command\n```\n","readmeFilename":"README.md"}