Functions | |
| yaze::emu::Emulator * | GetGlobalEmulator () |
| yaze::editor::EditorManager * | GetEditorManager () |
| EM_JS (void, CallJsAiDriver,(const char *history_json), { if(window.yaze &&window.yaze.ai &&window.yaze.ai.processAgentRequest) { window.yaze.ai.processAgentRequest(UTF8ToString(history_json));} else { console.error("AI Driver not found in window.yaze.ai.processAgentRequest");} }) | |
| nlohmann::json | MessageToJson (const yaze::cli::agent::ChatMessage &msg) |
| std::string | registerExternalAiDriver () |
| void | onExternalAiResponse (std::string response_json) |
| yaze::editor::EditorType | ParseEditorType (const std::string &name) |
Variables | |
| std::atomic< uint32_t > | g_operation_counter {0} |
| std::unordered_map< uint32_t, std::string > | g_pending_operations |
| yaze::emu::Emulator * anonymous_namespace{yaze_debug_inspector.cc}::GetGlobalEmulator | ( | ) |
Definition at line 55 of file yaze_debug_inspector.cc.
References yaze::app::GetGlobalEmulator().
Referenced by getEmulatorStatus(), getEmulatorVideoState(), readEmulatorMemory(), and resumeAudioContext().

| yaze::editor::EditorManager * anonymous_namespace{yaze_debug_inspector.cc}::GetEditorManager | ( | ) |
Definition at line 60 of file yaze_debug_inspector.cc.
References yaze::app::GetGlobalEditorManager().
Referenced by closeRightPanel(), getRightPanelState(), getSidebarState(), isTreeViewMode(), onExternalAiResponse(), openRightPanel(), registerExternalAiDriver(), setTreeViewMode(), toggleRightPanel(), and toggleTreeViewMode().

| anonymous_namespace{yaze_debug_inspector.cc}::EM_JS | ( | void | , |
| CallJsAiDriver | , | ||
| (const char *history_json) | , | ||
| { if(window.yaze &&window.yaze.ai &&window.yaze.ai.processAgentRequest) { window.yaze.ai.processAgentRequest(UTF8ToString(history_json));} else { console.error("AI Driver not found in window.yaze.ai.processAgentRequest");} } | ) |
| nlohmann::json anonymous_namespace{yaze_debug_inspector.cc}::MessageToJson | ( | const yaze::cli::agent::ChatMessage & | msg | ) |
Definition at line 79 of file yaze_debug_inspector.cc.
References yaze::cli::agent::ChatMessage::kUser, yaze::cli::agent::ChatMessage::message, and yaze::cli::agent::ChatMessage::sender.
Referenced by registerExternalAiDriver().
| std::string anonymous_namespace{yaze_debug_inspector.cc}::registerExternalAiDriver | ( | ) |
Definition at line 91 of file yaze_debug_inspector.cc.
References GetEditorManager(), and MessageToJson().
Referenced by EMSCRIPTEN_BINDINGS().

| void anonymous_namespace{yaze_debug_inspector.cc}::onExternalAiResponse | ( | std::string | response_json | ) |
Definition at line 150 of file yaze_debug_inspector.cc.
References yaze::cli::ToolCall::args, GetEditorManager(), yaze::cli::AgentResponse::text_response, yaze::cli::AgentResponse::tool_calls, and yaze::cli::ToolCall::tool_name.
Referenced by EMSCRIPTEN_BINDINGS().

| yaze::editor::EditorType anonymous_namespace{yaze_debug_inspector.cc}::ParseEditorType | ( | const std::string & | name | ) |
Definition at line 208 of file yaze_debug_inspector.cc.
References yaze::editor::kAgent, yaze::editor::kAssembly, yaze::editor::kDungeon, yaze::editor::kEmulator, yaze::editor::kGraphics, yaze::editor::kHex, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, yaze::editor::kSettings, yaze::editor::kSprite, and yaze::editor::kUnknown.
Referenced by switchToEditor(), and switchToEditorAsync().
| std::atomic<uint32_t> anonymous_namespace{yaze_debug_inspector.cc}::g_operation_counter {0} |
Definition at line 204 of file yaze_debug_inspector.cc.
Referenced by switchToEditorAsync().
| std::unordered_map<uint32_t, std::string> anonymous_namespace{yaze_debug_inspector.cc}::g_pending_operations |
Definition at line 205 of file yaze_debug_inspector.cc.
Referenced by getOperationStatus(), and switchToEditorAsync().