pub enum OinoCommand {
Show 37 variants
Hello {
client: ClientInfo,
ui: Option<JsonValue>,
protocol: u32,
},
UiSnapshot,
UiVisible {
entry_id: String,
visible: bool,
frontend: Option<String>,
},
UiResync {
scope: Option<String>,
rev: u64,
},
NavigateTree {
target_id: String,
options: NavigateTreeOptions,
},
SetLabel {
entry_id: String,
label: Option<String>,
},
ImportJsonl {
path: String,
},
ExportJsonl {
output_path: Option<String>,
},
GetContextUsage,
GetCompletions {
text: String,
cursor: usize,
},
UiAction {
panel_id: String,
action_id: String,
value: Option<JsonValue>,
values: Option<JsonValue>,
path: Option<JsonValue>,
source: Option<String>,
},
EditorEvent(EditorEvent),
InvokeShortcut {
shortcut_id: String,
},
GetShortcuts,
GetSettingsSchema,
GetExtensionSettings {
namespace: String,
scope: SettingsLayer,
},
SetExtensionSetting {
namespace: String,
key: String,
value: Option<JsonValue>,
scope: SettingsScope,
},
UnsetExtensionSetting {
namespace: String,
key: String,
scope: SettingsScope,
},
GetSettings {
key: Option<String>,
},
SetSetting {
key: String,
value: Option<JsonValue>,
scope: SettingsScope,
},
ServiceCall {
target: Option<String>,
name: String,
payload: JsonValue,
},
AuthProviders,
Login {
provider: String,
},
Logout {
provider: String,
},
SetApiKey {
provider: String,
key: String,
},
Topics {
subscribe: Vec<String>,
unsubscribe: Vec<String>,
},
BusGet {
topic: String,
},
Agents {
follow: Option<bool>,
},
AgentMessages {
agent_id: String,
},
AgentAbort {
agent_id: String,
},
QueueEdit(QueueEdit),
Checkpoints,
Rewind {
entry_id: String,
files: bool,
conversation: bool,
},
RunningBash,
Extensions,
Render {
target: String,
key: String,
entry_id: Option<String>,
turn_entry_id: Option<String>,
turn_index: Option<u64>,
running: bool,
density: Option<String>,
expanded: bool,
width: Option<String>,
data: JsonValue,
},
SetExtensionEnabled {
id: String,
enabled: bool,
},
}Expand description
Oino RPC extensions (modes.md §4) implemented by this server.
Variants§
Hello
Opt into Oino events and UI methods.
Fields
client: ClientInfoClient identity.
UiSnapshot
The v2 registry snapshot (UiSnapshot, §9.2) plus the v1 replay list while the
TUI renderer (WP-U4) and oino-view (WP-U5) still read requests.
UiVisible
_oino/ui_visible (§6.5): a frontend reports an entry visible or hidden; core
aggregates over frontends and sends $show/$hide to the owner.
Fields
UiResync
_oino/ui_resync (§9.2/§9.3): the frontend saw a rev gap (or failed an op) and
wants a fresh snapshot.
Fields
Navigates the entry tree.
SetLabel
Set or clear an entry label.
ImportJsonl
Import a JSONL session and switch to it.
ExportJsonl
Export the branch as JSONL.
GetContextUsage
Context window usage.
GetCompletions
Merged completions at the cursor (ui-protocol §7.3) → {groups}.
UiAction
Panel button / list / input action (ui-protocol §4.6) for the entry’s owner.
Fields
EditorEvent(EditorEvent)
Composer intent (ui-protocol §7.2) → {consumed}.
InvokeShortcut
Run an extension shortcut (ui-protocol §8). The field is shortcutId because id
is the RPC correlation id.
GetShortcuts
Extension shortcuts → {shortcuts: [{id, defaultKeys, description, extensionId}]}.
GetSettingsSchema
Extension settings schemas → {namespaces} (ui-protocol §6.6).
GetExtensionSettings
One namespace’s values (secrets masked) → {values}.
SetExtensionSetting
Write one extension setting.
Fields
scope: SettingsScopeTarget file.
UnsetExtensionSetting
Delete one extension setting (“use default”).
GetSettings
Core settings (merged; key = dot path) → {settings} or {value}.
SetSetting
Write one core setting (frontend keys included).
Fields
scope: SettingsScopeTarget file.
ServiceCall
Call an extension service as the frontend → the service’s result.
Fields
AuthProviders
Providers with sign-in support and credential state → {providers}.
Login
Run a provider’s OAuth sign-in (dialogs through the extension UI protocol).
Logout
Remove a provider’s stored credential.
SetApiKey
Store an API key in auth.json.
Topics
Sticky topic feed: changes the subscription → {topics: [TopicValue], patterns};
matching publishes then arrive as topic events.
Fields
BusGet
Last sticky value of one topic → {data | null, publisher?}.
Agents
Nested agents of the session tree → {agents: [AgentInfo], follow}; follow turns
live agent_event forwarding on or off.
AgentMessages
Transcript of one nested agent → {messages}.
AgentAbort
Aborts the current run of one nested agent.
QueueEdit(QueueEdit)
One single-item queue edit ({op: remove|edit|move|sendNow, queue, …}).
Checkpoints
File checkpoints → {checkpoints: [Checkpoint]}.
Rewind
Rewind to before a user message: restore files and/or fork the conversation →
RewindResult.
Fields
RunningBash
Running foreground bash calls → {calls: [RunningBash]}.
Extensions
Extensions → {extensions: [ExtensionInfo]}.
Render
Transcript row render (ui-protocol §6.4) → {node | null} from the owner of the
render spec for target/key (guest.render; built-in tool rows too).
Fields
SetExtensionEnabled
Enable or disable an extension (disabledExtensions; applies to new sessions).