Expand description
Known desktop JSON-RPC methods.
Constants§
- COMPOSER_
RESOURCES - Discover installed CLI skills and Agent Plugins.
- CONFIG_
DISCOVER - Discover active provider/model setup.
- CONFIG_
MODELS - List selectable models from the service’s catalog.
- CONFIG_
OPEN_ FILE - Open one layered config file in the platform default editor.
- CONFIG_
OPTIONS - Change runtime session options while idle.
- CONFIG_
SECRET_ STORE - Store a provider API key from the desktop client in secure storage. The secret travels the local channel only and is never echoed back.
- CONFIG_
SELECT - Select the provider/model for the selected session. The service restarts the session runtime under the same session id; the thread is preserved.
- CONFIG_
SETTINGS_ READ - Read a bounded, credential-filtered CLI settings catalog.
- CONFIG_
SETTINGS_ WRITE - Persist one CLI setting through the shared configuration service.
- CONFIG_
THEME - Persist the selected built-in CLI theme.
- EXEC_
BACKGROUND - Move the selected session’s foreground exec session to the background.
- EXEC_
FORCE_ CANCEL - Force-terminate the selected session’s foreground exec sessions.
- INITIALIZE
- Initialize and negotiate protocol support.
- INTERACTION_
REQUESTED - Ask the client to resolve a runtime interaction.
- INTERACTION_
RESPOND - Respond to a pending interaction.
- MCP_
APP_ READ - Read one bounded MCP app-resource body for static preview.
- PRIMARY_
AGENT_ CHANGED - Publish the active primary agent for a live session.
- SESSION_
CLOSE - Close the selected session after cleanup.
- SESSION_
CREATE - Create a session.
- SESSION_
DELETE - Delete one session archive by identifier.
- SESSION_
HISTORY - Load one bounded earlier page from the selected durable session.
- SESSION_
LIST - List sessions in the selected workspace.
- SESSION_
LOAD - Load a durable session.
- SESSION_
OUTPUT_ READ - Read one bounded page of archived tool output on demand.
- SESSION_
RECENT_ PROMPTS - List recent genuine user prompts across workspace sessions for history search.
- SHUTDOWN
- Shut down the local service after owned tasks finish.
- STORAGE_
SUMMARY - Read on-disk usage broken down by owning store.
- THREAD_
EVENT - Stream an authoritative runtime event.
- TURN_
CANCEL - Cancel a running turn.
- TURN_
QUEUE_ REMOVE - Remove one queued message by entry id.
- TURN_
QUEUE_ STATUS - Publish the authoritative queued-message snapshot.
- TURN_
QUEUE_ TAKE_ LATEST - Pop the newest queued message back for editing.
- TURN_
STATUS - Publish visible turn state.
- TURN_
SUBMIT - Submit a user turn.
- TURN_
UNDO - Reverse one completed turn’s exact file changes.
- UI_
PROGRESS - Transient UI progress for the active desktop session.
- UPDATE_
ACKNOWLEDGE - Mark the running version’s release notes as seen in the shared update cache, so the CLI and desktop app never show the same release twice.
- UPDATE_
CHECK - Re-run the update check against GitHub (network I/O) and return the refreshed status, so a manual check observes a release the cache predates.
- UPDATE_
INSTALL - Install the newest release. The response carries the starting install
state;
update/installProgressnotifications then stream the phases. - UPDATE_
INSTALL_ PROGRESS - Publish in-app update install progress. Coalescable: only the newest state matters, so a slow client never applies stale phases.
- UPDATE_
STATUS - Read the cached updater status (current/latest version, no network I/O).
- WEBMCP_
PAIR - Start or reuse the WebMCP bridge and issue an origin-bound pairing code.
- WEBMCP_
STATUS - Read bridge state and the non-secret configured origin list.
- WEBMCP_
STOP - Revoke the bridge’s pairings and stop its listener.
- WORKSPACE_
REVIEW - Capture a bounded read-only Git preview, including valid unborn branches.
- WORKTREE_
LIST - List managed loop-isolation worktrees.
- WORKTREE_
REMOVE - Remove one managed worktree by name.