Skip to main content

Module api

Module api 

Source
Expand description

HTTP API response types for opencode_rs.

Typed response wrappers for HTTP endpoints, replacing serde_json::Value returns.

Structs§

CommandResponse
Response from command endpoint.
FindResponse
Response from find text/files/symbols endpoints.
FormatterInfo
Status of a formatter.
LspServerStatus
Status of an LSP server.
McpActionResponse
Response from MCP action endpoints (add, auth_callback, authenticate, connect, disconnect).
OAuthCallbackResponse
Response from OAuth callback endpoint.
OpenApiDoc
Response from OpenAPI doc endpoint.
PermissionReplyResponse
Response from permission reply endpoint.
UpdatePartResponse
Response from part update endpoint.

Enums§

LspConnectionStatus
LSP server connection status.

Type Aliases§

SetAuthResponse
Response from set auth endpoint.
ShellResponse
Response from shell endpoint.