morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::McpOptions Struct Reference

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.

Detailed Description

What an McpAdapter is built with.

Definition at line 41 of file agent.hpp.

Member Data Documentation

◆ session

session::Context morph::ui::McpOptions::session

The session every envelope carries: the agent's identity, which the server authenticates on each one, as it does a GUI's.

Definition at line 44 of file agent.hpp.

◆ serverName

std::string morph::ui::McpOptions::serverName = "morph"

The name initialize answers in serverInfo.

Definition at line 46 of file agent.hpp.

◆ serverVersion

std::string morph::ui::McpOptions::serverVersion = "1"

The version initialize answers in serverInfo.

Definition at line 48 of file agent.hpp.

◆ callbacks

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.

Definition at line 52 of file agent.hpp.


The documentation for this struct was generated from the following file: