feat: Add AI action parser for natural language command processing

- Introduced `AIActionParser` class to parse natural language commands into structured GUI actions, supporting commands like placing tiles and opening editors.
- Implemented helper functions for extracting coordinates and parsing hex/decimal values.
- Added action types for various AI actions, including selecting and placing tiles, saving changes, and clicking buttons.
- Created header file `ai_action_parser.h` to define the action types and parser interface.
- Added implementation file `ai_action_parser.cc` with command parsing logic and pattern matching for different action types.
This commit is contained in:
scawful
2025-10-04 22:19:09 -04:00
parent 79981a5439
commit 9d5919adb5
3 changed files with 360 additions and 1 deletions

View File

@@ -213,7 +213,7 @@ class LearnedKnowledgeService {
absl::Status SavePreferences();
absl::Status SavePatterns();
absl::Status SaveProjects();
absl:Status SaveMemories();
absl::Status SaveMemories();
std::string GenerateID() const;
};