#pragma once #include "IntentRouter.h" #include enum class CommandDispatchAction { Chat, Reminder, Weather, FileOperation, LaunchApp, UnsupportedTool, }; struct CommandDispatchResult { CommandDispatchAction action = CommandDispatchAction::Chat; UserIntent intent; QString message; }; class CommandDispatcher { public: CommandDispatchResult dispatch(const QString &text) const; private: QString unsupportedToolMessage(UserIntentType type) const; IntentRouter m_intentRouter; };