Skip to content

v1.2.0 — armor API field, tool set 54→49, use_item/chest_withdraw fixes, P156-P188 chain

Latest

Choose a tag to compare

@XJungit XJungit released this 15 Aug 16:24
· 5 commits to main since this release

v1.2.0

64 commits since v1.1.0. Highlights:

✨ Added

  • Structured armor field in /api/game-state (P188) — armor: [helmet, chestplate, leggings, boots]. Previously armor only lived inside the scene_desc text, so API consumers reading armor.* got an empty value and could misread the bot as having lost its gear. Live-verified: armor=[diamond_helmet, diamond_chestplate, diamond_leggings, diamond_boots].
  • Viewer dashboard enrichments — live LLM-perception refresh, world-memory library panel, armor area (slots 5–8), portal/kill-count stats; no-data fields show - instead of misleading zeros.
  • dsh-bridge byte-stability — scene-desc entries string-sorted so an idle bot produces byte-identical text (no spurious context snapshots).
  • craft-bot preset persona overhaul — dual-role (MC player + self-evolving maintainer), principle-based, with backpack/chest-memory/MC-knowledge/long-run discipline.

🔧 Changed

  • Tool set 54 → 49 — removed 5 dead goal/task shell tools (set_goal, pause_goal, resume_goal, task_complete, task_retry), P3 in-bot agent-loop remnants with no consumer. All 6 contract points synced; verified by verify-in-harness.mjs.
  • use_item timeout 1s → 6s — handler flow totals 3–5s; old 2s derived timeout fired mid-flight leaving stale state. No more "命令超时" on flint_and_steel.
  • chest_withdraw precise count + explicit full-inventory error — old code shift-clicked the whole stack (requesting 5 pulled 64) and silently returned +0 when inventory was full. Now splits stacks precisely and reports "背包已满" explicitly. Live-verified: count=5 → actual +5.

🐛 Fixed

  • Interact/escape/obsidian chain (P156–P188): bucket water interactions, auto-equip bucket, P60 escape cooldowns, make_obsidian timeout guard.
  • Place/pillar support (P159–P164): head-level placement, auto cobblestone support, re-equip after fill, collision-cell exclusion.
  • Pickup/goto/pathfinder (P162–P169): goto timeout 30→400 ticks, RadiusGoal pickup, mine target guards.
  • Viewer/preset/doc sync: hotbar slot mapping, world-memory line-wrapping, doc counts, obsolete scripts removed, azalea fork synced.

Full changelog: CHANGELOG.md