Start an opt-in MCP server with slicer, preset, action and screenshot tools

This commit is contained in:
SoftFever committed 2026-10-28 19:43:09 +08:00
1 parent 16c4ef8675
commit dc522e59e4
58 files changed
+5234 -160

No files matched your search

+10
View File
@@ -201,6 +201,14 @@ enum class NotificationType
};
// A notification as text, for automation (MCP get_state).
struct NotificationSummary
{
int type = 0; // NotificationType value
std::string level; // "info", "warning", "error", "progress", "hint"
std::string text;
};
class NotificationManager
{
public:
@@ -379,6 +387,8 @@ public:
bool update_notifications(GLCanvas3D& canvas);
// returns number of all notifications shown
size_t get_notification_count() const;
// The notifications currently shown (not finished or closing), oldest first.
std::vector<NotificationSummary> summaries() const;
//BBS Notice