Module api_types

Module api_types 

Source
Expand description

Canonical HTTP request/response DTOs shared between agentmux-srv, agentmux-mcp, and agentmux-bashwrap. Every struct here is the single source of truth for the corresponding wire shape; the three crates all import rather than redeclare these types.

Structs§

InjectRequest
POST /agentmux/reactive/inject — deliver a message to an agent.
PaneOpenRequest
POST /api/v1/pane/open — open a new pane.
PaneOpenResponse
Response from POST /api/v1/pane/open
PaneTitleRequest
POST /api/v1/pane/title — set a pane’s display title.
ShellCreateRequest
POST /api/v1/shell/create
ShellCreateResponse
Response from POST /api/v1/shell/create
ShellStopRequest
POST /api/v1/shell/stop
ShellStopResponse
Response from POST /api/v1/shell/stop
TabActivateRequest
POST /api/v1/tab/activate — switch the active tab.
TabNameRequest
POST /api/v1/tab/name — rename a tab.
TabNewRequest
POST /api/v1/tab/new — create a new tab in a workspace.
WindowFocusRequest
POST /api/v1/window/focus — bring a window to the foreground.
WindowNameRequest
POST /api/v1/window/name — set a window’s display name.
WorkspaceNameRequest
POST /api/v1/workspace/name — rename a workspace.
WpsPublishRequest
POST /agentmux/wps/publish — shared client/server envelope.