docs: refine client surfaces — MCP-preferred for external agents, HTTP/SSE for human clients (web GUI, Android)
This commit is contained in:
1 parent
b63e58da3c
commit
08ce62bdec
1 file changed
+11
-7
@@ -315,13 +315,17 @@ Protocol-first: harden and version the existing client contract (session/turn JS
|
|||||||
+ SSE, uploads, stats, settings) and give non-browser clients real auth, then build
|
+ SSE, uploads, stats, settings) and give non-browser clients real auth, then build
|
||||||
every surface as a client/adapter of that one contract — the web GUI already is one.
|
every surface as a client/adapter of that one contract — the web GUI already is one.
|
||||||
|
|
||||||
- **Android:** cheapest first step is an installable PWA / thin WebView shell over
|
- **External agents (MCP preferred):** an MCP server adapter (`rmcp`; stdio for local
|
||||||
the existing mobile-first GUI; a native Kotlin/Compose app is a separate codebase
|
harnesses, streamable-HTTP on the existing axum router for remote) exposing a small
|
||||||
and only worth it for native capabilities (notifications, share intents, offline).
|
closed tool set mirroring the GUI: session create/list/send/history/rename/delete,
|
||||||
- **External agents:** an MCP server adapter (e.g. `rmcp`, stdio or streamable-HTTP
|
settings get/set, stats, upload. `session.send` returns the final answer + tool
|
||||||
mounted on the existing axum router) exposing turn/sessions/stats/upload as tools;
|
trajectory + usage (MCP is request/response); live token streaming stays a GUI /
|
||||||
the OpenAI/Anthropic HTTP endpoints already let LLM-style clients drive it today.
|
HTTP-SSE feature, with optional MCP progress notifications.
|
||||||
(SCP is file copy, not an agent protocol; MCP / ACP / A2A are the relevant ones.)
|
- **Human clients (web GUI, Android):** the same JSON contract over HTTP + SSE — not
|
||||||
|
MCP. One core, two wire adapters: MCP JSON-RPC for agents, HTTP/SSE for humans.
|
||||||
|
Android's cheapest first step is an installable PWA / thin WebView shell over the
|
||||||
|
existing mobile-first GUI; native Kotlin/Compose only for native capabilities
|
||||||
|
(notifications, share intents, offline).
|
||||||
|
|
||||||
## License and credits
|
## License and credits
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user