载入中...
搜索中...
未找到
McpSupervisor.cpp 文件参考
#include "McpSupervisor.h"
#include <Poco/JSON/Array.h>
#include <Poco/JSON/Object.h>
#include <Poco/JSON/Parser.h>
#include <Poco/JSON/Stringifier.h>
#include <Poco/Pipe.h>
#include <Poco/PipeStream.h>
#include <Poco/Process.h>
#include <algorithm>
#include <cerrno>
#include <chrono>
#include <climits>
#include <filesystem>
#include <future>
#include <iostream>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <sys/wait.h>
#include <unistd.h>
#include <csignal>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::cmd
 
namespace  eve::cmd::detail
 

函数

int eve::cmd::detail::runMcpSupervisor (const std::string &root, int timeoutMs)
 Run the desktop stdio MCP supervisor synchronously on the main thread. Owns a worker process and its pipes until exit; no VM pointers cross processes. Timeout kills and reaps the worker, returning an MCP diagnostic. The next request starts a fresh worker. Returns the supervisor's process exit status.