Files
moeka-project/services/minecraft/package.json
T
19822e3c43 refactor(minecraft): migrate reflex runtime to alien-signals, harden zod validation, and unify skill utilities (#1092)
* chore: use utils

* feat: refactor pathfinding stagnation detection and add navigation tests

* refactor(minecraft): simplify ensure.ts with shared ensureMined helper

* refactor(minecraft): centralize collectible block aliases and extraction flow

- move block collection usage onto the dedicated action module
- extract collectible alias expansion for ores, deepslate variants, and dirt
- keep exact block validation strict while widening collection lookups
- preserve original smelting errors when temporary furnace cleanup fails
- add regression coverage for alias handling and furnace cleanup

* chore: sleep() using shared utils

* refactor(minecraft): container helpers; guarantee close in takeFromChest()

* chore: add unsafe type comment

refactor: zod schema for YAML rule DSL

refactor: zod for hardened config validation

refactor: zod schema for ws client command validation

* refactor(minecraft): alien-signals for reflex context/runtime/manager state

* fix(minecraft): prevent reconnect deadlock before spawn; centralize plugin lifecycle

* fix(minecraft): make command chat listener idempotent across spawn/reconnect

* refactor(minecraft): extract reconnect state machine into connection supervisor; further centralize plugin-related logic

* fix(minecraft): temp type fix

* fix(minecraft): add LLM call timeout/cancel boundaries and ignore pause abort errors

* fix(minecraft): enforce deterministic temporal rule semantics and honor accumulator.mode

* fix(minecraft): preserve callback errors during container cleanup

* fix(minecraft): report EventBus subscriber failures via project logger

* refactor(minecraft): migrate perception temporal accumulator to detector with decision tracing

* feat(minecraft): add detector.groupBy and optimize rule engine detector hot path

* fix(minecraft): bound event queue and temp anti-starvation scheduling

* fix(minecraft): normalize debug dashboard tool param typing

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Neko <neko@ayaka.moe>
Co-authored-by: Rin <shinohara-rin@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-07 03:01:49 +08:00

53 lines
1.6 KiB
JSON

{
"name": "@proj-airi/minecraft-bot",
"type": "module",
"private": true,
"description": "An intelligent Minecraft bot powered by LLM. AIRI can understand natural language commands, interact with the world, and assist players in various tasks.",
"scripts": {
"dev": "tsx --env-file=.env --env-file-if-exists=.env.local src/main.ts",
"start": "tsx --env-file=.env --env-file-if-exists=.env.local src/main.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"test": "vitest"
},
"dependencies": {
"@guiiai/logg": "catalog:",
"@modelcontextprotocol/sdk": "catalog:",
"@moeru/std": "catalog:",
"@proj-airi/server-sdk": "^0.8.4",
"@xsai/generate-text": "catalog:",
"@xsai/shared-chat": "catalog:",
"alien-signals": "^3.1.2",
"awilix": "^12.1.1",
"canvas": "^3.2.1",
"crossws": "catalog:",
"es-toolkit": "^1.44.0",
"eventemitter3": "^5.0.4",
"minecraft-data": "^3.105.0",
"mineflayer": "^4.33.0",
"mineflayer-armor-manager": "^2.0.1",
"mineflayer-auto-eat": "^5.0.3",
"mineflayer-collectblock": "^1.6.0",
"mineflayer-pathfinder": "^2.4.5",
"mineflayer-pvp": "^1.3.2",
"mineflayer-tool": "^1.2.0",
"nanoid": "catalog:",
"prismarine-block": "^1.22.0",
"prismarine-entity": "^2.5.0",
"prismarine-item": "^1.17.0",
"prismarine-recipe": "^1.3.1",
"prismarine-viewer": "^1.33.0",
"prismarine-windows": "^2.9.0",
"valibot": "^1.2.0",
"vec3": "^0.1.10",
"ws": "catalog:",
"yaml": "catalog:",
"zod": "^4.3.6",
"zod-to-json-schema": "^3.25.1"
},
"devDependencies": {
"@types/ws": "catalog:"
}
}