Unified context for agent UI components. More...
#include <agent_state.h>
Public Types | |
| using | ChangeCallback = std::function<void()> |
Private Attributes | |
| ChatState | chat_state_ |
| CollaborationState | collaboration_state_ |
| MultimodalState | multimodal_state_ |
| AutomationState | automation_state_ |
| AgentConfigState | agent_config_ |
| ModelCache | model_cache_ |
| RomSyncState | rom_sync_state_ |
| Z3EDCommandState | z3ed_command_state_ |
| PersonaProfile | persona_profile_ |
| ProposalState | proposal_state_ |
| KnowledgeState | knowledge_state_ |
| ToolExecutionState | tool_execution_state_ |
| Rom * | rom_ = nullptr |
| project::YazeProject * | project_ = nullptr |
| core::AsarWrapper * | asar_wrapper_ = nullptr |
| const std::map< std::string, core::AsarSymbol > * | assembly_symbol_table_ |
| std::vector< ChangeCallback > | change_listeners_ |
Unified context for agent UI components.
This class serves as the single source of truth for agent-related UI state. It's shared among AgentChatView, AgentProposalsPanel, AgentSidebar, etc.
Definition at line 382 of file agent_state.h.
| using yaze::editor::AgentUIContext::ChangeCallback = std::function<void()> |
Definition at line 458 of file agent_state.h.
|
default |
|
inline |
Definition at line 387 of file agent_state.h.
References chat_state_.
|
inline |
Definition at line 388 of file agent_state.h.
References chat_state_.
|
inline |
Definition at line 390 of file agent_state.h.
References collaboration_state_.
Referenced by yaze::editor::AgentRomSyncPanel::Draw().
|
inline |
Definition at line 391 of file agent_state.h.
References collaboration_state_.
|
inline |
Definition at line 395 of file agent_state.h.
References multimodal_state_.
|
inline |
Definition at line 396 of file agent_state.h.
References multimodal_state_.
|
inline |
Definition at line 398 of file agent_state.h.
References automation_state_.
Referenced by yaze::editor::AgentAutomationPanel::Draw().
|
inline |
Definition at line 399 of file agent_state.h.
References automation_state_.
|
inline |
Definition at line 401 of file agent_state.h.
References agent_config_.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), yaze::editor::AgentEditor::ApplyModelPreset(), yaze::editor::AgentEditor::ApplyToolPreferencesFromContext(), yaze::editor::AgentConfigPanel::Draw(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::AgentEditor::RefreshModelCache(), yaze::editor::AgentConfigPanel::RenderModelConfigControls(), yaze::editor::AgentConfigPanel::RenderModelDeck(), and yaze::editor::AgentEditor::SyncContextFromProfile().
|
inline |
Definition at line 402 of file agent_state.h.
References agent_config_.
|
inline |
Definition at line 404 of file agent_state.h.
References model_cache_.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), yaze::editor::AgentEditor::RefreshModelCache(), yaze::editor::AgentConfigPanel::RenderModelConfigControls(), and yaze::editor::AgentConfigPanel::RenderModelDeck().
|
inline |
Definition at line 405 of file agent_state.h.
References model_cache_.
|
inline |
Definition at line 407 of file agent_state.h.
References rom_sync_state_.
Referenced by yaze::editor::AgentRomSyncPanel::Draw().
|
inline |
Definition at line 408 of file agent_state.h.
References rom_sync_state_.
|
inline |
Definition at line 410 of file agent_state.h.
References z3ed_command_state_.
Referenced by yaze::editor::AgentZ3EDCommandPanel::Draw().
|
inline |
Definition at line 411 of file agent_state.h.
References z3ed_command_state_.
|
inline |
Definition at line 415 of file agent_state.h.
References persona_profile_.
|
inline |
Definition at line 416 of file agent_state.h.
References persona_profile_.
|
inline |
Definition at line 418 of file agent_state.h.
References proposal_state_.
Referenced by yaze::editor::AgentProposalsPanel::DrawProposalList(), yaze::editor::AgentProposalsPanel::DrawStatusFilter(), yaze::editor::AgentProposalsPanel::FocusProposal(), and yaze::editor::AgentProposalsPanel::RefreshProposals().
|
inline |
Definition at line 419 of file agent_state.h.
References proposal_state_.
|
inline |
Definition at line 421 of file agent_state.h.
References knowledge_state_.
|
inline |
Definition at line 422 of file agent_state.h.
References knowledge_state_.
|
inline |
Definition at line 424 of file agent_state.h.
References tool_execution_state_.
|
inline |
Definition at line 425 of file agent_state.h.
References tool_execution_state_.
|
inline |
Definition at line 430 of file agent_state.h.
References rom_.
|
inline |
Definition at line 431 of file agent_state.h.
References rom_.
|
inline |
Definition at line 432 of file agent_state.h.
References rom_.
|
inline |
Definition at line 435 of file agent_state.h.
References project_.
|
inline |
Definition at line 436 of file agent_state.h.
References project_.
|
inline |
Definition at line 437 of file agent_state.h.
References project_.
|
inline |
Definition at line 440 of file agent_state.h.
References asar_wrapper_.
|
inline |
Definition at line 443 of file agent_state.h.
References asar_wrapper_.
|
inline |
Definition at line 444 of file agent_state.h.
References asar_wrapper_.
|
inline |
Definition at line 448 of file agent_state.h.
References assembly_symbol_table_.
|
inline |
Definition at line 452 of file agent_state.h.
References assembly_symbol_table_.
|
inline |
Definition at line 459 of file agent_state.h.
References change_listeners_.
|
inline |
Definition at line 462 of file agent_state.h.
References change_listeners_.
Referenced by yaze::editor::AgentEditor::ApplyConfigFromContext(), and yaze::editor::AgentEditor::SyncContextFromProfile().
|
private |
Definition at line 469 of file agent_state.h.
Referenced by chat_state(), and chat_state().
|
private |
Definition at line 470 of file agent_state.h.
Referenced by collaboration_state(), and collaboration_state().
|
private |
Definition at line 471 of file agent_state.h.
Referenced by multimodal_state(), and multimodal_state().
|
private |
Definition at line 472 of file agent_state.h.
Referenced by automation_state(), and automation_state().
|
private |
Definition at line 473 of file agent_state.h.
Referenced by agent_config(), and agent_config().
|
private |
Definition at line 474 of file agent_state.h.
Referenced by model_cache(), and model_cache().
|
private |
Definition at line 475 of file agent_state.h.
Referenced by rom_sync_state(), and rom_sync_state().
|
private |
Definition at line 476 of file agent_state.h.
Referenced by z3ed_command_state(), and z3ed_command_state().
|
private |
Definition at line 477 of file agent_state.h.
Referenced by persona_profile(), and persona_profile().
|
private |
Definition at line 478 of file agent_state.h.
Referenced by proposal_state(), and proposal_state().
|
private |
Definition at line 479 of file agent_state.h.
Referenced by knowledge_state(), and knowledge_state().
|
private |
Definition at line 480 of file agent_state.h.
Referenced by tool_execution_state(), and tool_execution_state().
|
private |
Definition at line 482 of file agent_state.h.
|
private |
Definition at line 483 of file agent_state.h.
Referenced by GetProject(), HasProject(), and SetProject().
|
private |
Definition at line 484 of file agent_state.h.
Referenced by GetAsarWrapper(), HasAsarWrapper(), and SetAsarWrapper().
|
private |
Definition at line 485 of file agent_state.h.
Referenced by GetAssemblySymbolTable(), and SetAssemblySymbolTable().
|
private |
Definition at line 487 of file agent_state.h.
Referenced by AddChangeListener(), and NotifyChanged().