Skip to main content

Module method

Module method 

Source
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 used for the next session.
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.
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.
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_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.
UI_PROGRESS
Transient UI progress for the active desktop session.
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.