1#ifndef YAZE_APP_EDITOR_AGENT_AGENT_CHAT_H_
2#define YAZE_APP_EDITOR_AGENT_AGENT_CHAT_H_
9#include "absl/status/status.h"
10#include "absl/time/time.h"
47 void Draw(
float available_height = 0.0f);
55 absl::Status
LoadHistory(
const std::string& filepath);
56 absl::Status
SaveHistory(
const std::string& filepath);
96 void RenderCodeBlock(
const std::string& code,
const std::string& language,
int msg_index);
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Unified Agent Chat Component.
std::vector< ContentBlock > ParseMessageContent(const std::string &content)
float thinking_animation_
bool show_reasoning() const
void RenderCodeBlock(const std::string &code, const std::string &language, int msg_index)
void set_auto_scroll(bool v)
absl::Status LoadHistory(const std::string &filepath)
std::function< void(const std::string &) panel_opener_)
void RenderConversationSidebar(float height)
void RenderThinkingIndicator()
void SendMessage(const std::string &message)
void RenderTableData(const cli::agent::ChatMessage::TableData &table)
void SetContext(AgentUIContext *context)
void RenderToolTimeline(const cli::agent::ChatMessage &msg)
void RenderToolbar(bool compact)
std::string last_plan_summary_
void set_show_timestamps(bool v)
const std::vector< AutomationTelemetry > & GetTelemetryHistory() const
void RefreshConversationList(bool force=false)
void Initialize(ToastManager *toast_manager, ProposalDrawer *proposal_drawer)
std::vector< AutomationTelemetry > telemetry_history_
ToastManager * toast_manager_
AgentUIContext * context_
std::filesystem::path active_history_path_
void UpdateHarnessTelemetry(const AutomationTelemetry &telemetry)
void set_show_reasoning(bool v)
void SetPanelOpener(std::function< void(const std::string &)> opener)
void SetRomContext(Rom *rom)
void SetLastPlanSummary(const std::string &summary)
void Draw(float available_height=0.0f)
char conversation_filter_[128]
void RenderInputBox(float height)
bool waiting_for_response_
void SelectConversation(const std::filesystem::path &path)
std::vector< ConversationEntry > conversations_
cli::agent::ConversationalAgentService agent_service_
void RenderMessage(const cli::agent::ChatMessage &msg, int index)
ProposalDrawer * proposal_drawer_
void set_active(bool active)
absl::Time last_conversation_refresh_
bool show_timestamps() const
const std::string & GetLastPlanSummary() const
void RenderProposalQuickActions(const cli::agent::ChatMessage &msg, int index)
void HandleAgentResponse(const absl::StatusOr< cli::agent::ChatMessage > &response)
cli::agent::ConversationalAgentService * GetAgentService()
absl::Status SaveHistory(const std::string &filepath)
Unified context for agent UI components.
ImGui drawer for displaying and managing agent proposals.
std::filesystem::path path