feat: 接通 Planner → Action → Validator

This commit is contained in:
2026-09-24 19:10:03 +08:00
parent 57ed92aeba
commit db41f2c679
12 changed files with 174 additions and 21 deletions
+2
View File
@@ -2,6 +2,7 @@
from typing import Any
from app.actions.add import AddHandler
from app.actions.base import BaseActionHandler
from app.actions.move import MoveHandler
from app.actions.resize import ResizeHandler
@@ -11,6 +12,7 @@ from app.schemas.screen import Screen
# 新增操作时在此注册,未实现的操作明确报错
ACTION_HANDLERS: dict[str, BaseActionHandler[Any]] = {
"add": AddHandler(),
"move": MoveHandler(),
"resize": ResizeHandler(),
"update": UpdateHandler(),