#include <agent_chat_history_codec.h>
Classes | |
struct | CollaborationState |
struct | MultimodalState |
struct | Snapshot |
Static Public Member Functions | |
static bool | Available () |
static absl::StatusOr< Snapshot > | Load (const std::filesystem::path &path) |
static absl::Status | Save (const std::filesystem::path &path, const Snapshot &snapshot) |
Definition at line 21 of file agent_chat_history_codec.h.
|
static |
Definition at line 120 of file agent_chat_history_codec.cc.
Referenced by yaze::editor::AgentChatWidget::AgentChatWidget().
|
static |
Definition at line 128 of file agent_chat_history_codec.cc.
References yaze::editor::AgentChatHistoryCodec::CollaborationState::active, yaze::cli::agent::ChatMessage::SessionMetrics::average_latency_seconds, yaze::editor::AgentChatHistoryCodec::Snapshot::collaboration, yaze::editor::AgentChatHistoryCodec::Snapshot::history, yaze::cli::agent::ChatMessage::is_internal, yaze::cli::agent::ChatMessage::json_pretty, yaze::cli::agent::ChatMessage::kAgent, yaze::cli::agent::ChatMessage::kUser, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_capture_path, yaze::editor::AgentChatHistoryCodec::CollaborationState::last_synced, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_updated, yaze::cli::agent::ChatMessage::message, yaze::cli::agent::ChatMessage::metrics, yaze::editor::AgentChatHistoryCodec::Snapshot::multimodal, yaze::editor::AgentChatHistoryCodec::CollaborationState::participants, yaze::cli::agent::ChatMessage::proposal, yaze::cli::agent::ChatMessage::sender, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_id, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_name, yaze::editor::AgentChatHistoryCodec::MultimodalState::status_message, yaze::cli::agent::ChatMessage::table_data, yaze::cli::agent::ChatMessage::timestamp, yaze::cli::agent::ChatMessage::SessionMetrics::total_agent_messages, yaze::cli::agent::ChatMessage::SessionMetrics::total_commands, yaze::cli::agent::ChatMessage::SessionMetrics::total_elapsed_seconds, yaze::cli::agent::ChatMessage::SessionMetrics::total_proposals, yaze::cli::agent::ChatMessage::SessionMetrics::total_tool_calls, yaze::cli::agent::ChatMessage::SessionMetrics::total_user_messages, and yaze::cli::agent::ChatMessage::SessionMetrics::turn_index.
Referenced by yaze::editor::AgentChatWidget::EnsureHistoryLoaded(), and yaze::editor::AgentChatWidget::PollSharedHistory().
|
static |
Definition at line 248 of file agent_chat_history_codec.cc.
References yaze::editor::AgentChatHistoryCodec::CollaborationState::active, yaze::editor::AgentChatHistoryCodec::Snapshot::collaboration, yaze::editor::AgentChatHistoryCodec::Snapshot::history, yaze::cli::agent::ChatMessage::kUser, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_capture_path, yaze::editor::AgentChatHistoryCodec::CollaborationState::last_synced, yaze::editor::AgentChatHistoryCodec::MultimodalState::last_updated, yaze::editor::AgentChatHistoryCodec::Snapshot::multimodal, yaze::editor::AgentChatHistoryCodec::CollaborationState::participants, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_id, yaze::editor::AgentChatHistoryCodec::CollaborationState::session_name, and yaze::editor::AgentChatHistoryCodec::MultimodalState::status_message.
Referenced by yaze::editor::AgentChatWidget::PersistHistory().