|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
What an McpAdapter is built with. More...
#include <agent.hpp>
Public Attributes | |
| session::Context | session |
| The session every envelope carries: the agent's identity, which the server authenticates on each one, as it does a GUI's. | |
| std::string | serverName = "morph" |
| The name initialize answers in serverInfo. | |
| std::string | serverVersion = "1" |
| The version initialize answers in serverInfo. | |
| exec::IExecutor * | callbacks = nullptr |
| The owner handle's completions are delivered on: a serial executor that outlives the adapter and every call still in flight, such as the exec::MainThreadExecutor serveStdio pumps. Borrowed; required. | |
What an McpAdapter is built with.
| session::Context morph::ui::McpOptions::session |
| std::string morph::ui::McpOptions::serverName = "morph" |
| std::string morph::ui::McpOptions::serverVersion = "1" |
| exec::IExecutor* morph::ui::McpOptions::callbacks = nullptr |
The owner handle's completions are delivered on: a serial executor that outlives the adapter and every call still in flight, such as the exec::MainThreadExecutor serveStdio pumps. Borrowed; required.