34 void setVisible(
bool on);
35 bool isVisible()
const;
38 void setMcpPort(
int port);
40 void setMcpConnected(
bool on);
41 bool mcpConnected()
const;
42 void setClientName(std::string
name);
43 std::string clientName()
const;
46 void addLog(std::string
kind, std::string
title, std::string detail = {});
47 void addNote(std::string text);
48 std::vector<AiLogEntry> recentLog(
size_t max = 64)
const;
49 std::string formatLog(
size_t max = 64)
const;
52 std::string statusLine()
const;
64 void setMaxEntries(
size_t n);
72 static std::string nowStamp();
74 mutable std::mutex mu_;
77 bool mcpConnected_ =
false;
78 std::string clientName_;
79 size_t maxEntries_ = 200;
80 std::deque<AiLogEntry> log_;
#define EVENGINE_API
宿主(eve / libmain)导出宏;插件从进程导入同一批符号。
SettlementPipeline::Stage fn
In-engine AI / MCP session surface for DevTools.
AiPanel(const AiPanel &)=delete
size_t maxEntries() const
void(*)(AiPanel &panel) ImGuiDrawer
AiPanel & operator=(const AiPanel &)=delete
Process-immortal singleton holder for DevTools objects.