claude-code-best/packages
claude-code-best a3fc348421 feat: Phase 2 — 战斗引擎 @pkmn 薄适配层
- 安装 @pkmn/protocol @pkmn/client @pkmn/view
- 新建 battle/types.ts: BattleState, BattlePokemon, BattleEvent, PlayerAction 等
- 新建 battle/adapter.ts: Creature→PokemonSet 转换, 野生对手生成
- 新建 battle/engine.ts: createBattle() + executeTurn() 薄封装 @pkmn/sim
- 新建 battle/handler.ts: @pkmn/protocol Handler→BattleEvent 转换
- 新建 battle/ai.ts: 随机合法招式 AI 决策
- 新建 battle/settlement.ts: 战后结算 XP/EV/升级/进化/招式学习
- 新建 battle/index.ts: 统一导出

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-22 00:31:42 +08:00
..
@ant feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
acp-link Merge branch 'feature/unknown-llm-feature-test' 2026-04-21 12:06:19 +08:00
agent-tools feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
audio-capture-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
builtin-tools feat: 增强 auto mode 的易用性 (#312) 2026-04-20 21:13:09 +08:00
color-diff-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
image-processor-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
mcp-client feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
modifiers-napi feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
pokemon feat: Phase 2 — 战斗引擎 @pkmn 薄适配层 2026-04-22 00:31:42 +08:00
remote-control-server feat: remote control 支持 auto bind 功能 (#300) 2026-04-19 13:04:09 +08:00
url-handler-napi feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
weixin feat: 接入内建 weixin channel(同 #301 重构版本) (#303) 2026-04-19 21:33:27 +08:00
tsconfig.json feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00