1#ifndef YAZE_APP_EDITOR_AGENT_AGENT_CHAT_H_
2#define YAZE_APP_EDITOR_AGENT_AGENT_CHAT_H_
8#include "absl/status/status.h"
9#include "absl/time/time.h"
43 void Draw(
float available_height = 0.0f);
51 absl::Status
LoadHistory(
const std::string& filepath);
52 absl::Status
SaveHistory(
const std::string& filepath);
91 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)
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)
std::string last_plan_summary_
void set_show_timestamps(bool v)
const std::vector< AutomationTelemetry > & GetTelemetryHistory() const
void Initialize(ToastManager *toast_manager, ProposalDrawer *proposal_drawer)
std::vector< AutomationTelemetry > telemetry_history_
ToastManager * toast_manager_
AgentUIContext * context_
void UpdateHarnessTelemetry(const AutomationTelemetry &telemetry)
void set_show_reasoning(bool v)
void SetRomContext(Rom *rom)
void SetLastPlanSummary(const std::string &summary)
void Draw(float available_height=0.0f)
bool waiting_for_response_
cli::agent::ConversationalAgentService agent_service_
void RenderMessage(const cli::agent::ChatMessage &msg, int index)
ProposalDrawer * proposal_drawer_
void set_active(bool active)
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.