mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
docs: document mobile session hooks, plugin test helpers, and viewport detection
This commit is contained in:
1 parent
b974618dee
commit
f80aa1c0e5
5 files changed
+14
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user