docs: document mobile session hooks, plugin test helpers, and viewport detection

This commit is contained in:
coderabbitai[bot] authored and GitHub committed 2026-10-15 14:06:19 +00:00
1 parent b974618dee
commit f80aa1c0e5
5 files changed
+14

No files matched your search

+1
View File
@@ -183,6 +183,7 @@ export async function switchSessionAgent(sessionID: string, agent: string): Prom
await callOpenCode((api) => api.session.switchAgent({ sessionID, agent }))
}
/** Sends a session prompt with client metadata derived from the current viewport. */
export async function sendPrompt(input: SendPromptInput): Promise<SessionInboxUser> {
return callOpenCode((api) =>
api.session.prompt({