Skip to main content

AgentOp

Enum AgentOp 

Source
pub enum AgentOp {
Show 71 variants DashboardGet, Babysit { enabled: Option<bool>, }, BabysitterClaim { goal: String, turn: Uuid, failed_at: i64, reason: Failure, }, BabysitterSubmitted { attempt: Uuid, scope: Option<Scope>, }, BabysitterCheck { attempt: Uuid, }, BabysitterChatProbe { turn: Uuid, operator: Uuid, failed_at: i64, }, BabysitterChatClaim { turn: Uuid, failed_at: i64, reason: Failure, origin: ChatOrigin, }, BabysitterChatCheck { attempt: Uuid, }, BabysitterChatSubmitted { attempt: Uuid, }, DashboardDefine { expected_revision: u64, board: Board, }, DashboardUpdate { expected_revision: u64, values: BTreeMap<String, Value>, }, DashboardDelete { expected_revision: u64, }, Register { name: String, provider: String, }, Identity, Rename { name: String, expected_generation: u64, }, PermissionCheck { peer: String, }, PermissionAdminCheck { actor: String, peer: String, }, PermissionPreview { changes: Vec<PermissionChange>, }, PermissionApply { request_id: String, changes: Vec<PermissionChange>, }, PermissionRequest { request_id: String, }, PermissionRuleScopes, GroupAdminScopes, GroupMembers { group: String, }, GroupPreview { changes: Vec<GroupChange>, }, GroupApply { request_id: String, changes: Vec<GroupChange>, }, GroupRequest { request_id: String, }, PermissionRulePreview { changes: Vec<PermissionRuleChange>, }, PermissionRuleApply { request_id: String, changes: Vec<PermissionRuleChange>, }, Agents, Resolve { name: String, node: Option<String>, provider: Option<String>, }, RequestIds { count: u32, }, FilePaths, FileImport { request_id: String, name: String, media_type: String, }, FileStatus { file_id: String, }, FileReceiveStatus { file: IncomingFile, }, FileReceive { file: IncomingFile, byte_length: u64, sha256: String, }, FileReceiveData { file: IncomingFile, bytes: Zeroizing<Vec<u8>>, }, FileRead { file_id: String, chunk_index: u32, }, FileView { file_id: String, }, HistoryImports, HistoryMessages { import_id: String, after: u64, }, HistoryFileRead { import_id: String, message_id: String, file_index: u32, chunk_index: u32, }, HistoryFileView { import_id: String, message_id: String, file_index: u32, }, FileExport { file_id: String, }, Send { recipient: String, request_id: String, text: String, files: Vec<FilePart>, file_ids: Vec<String>, }, RequestReply { recipient: String, request_id: String, text: String, files: Vec<FilePart>, file_ids: Vec<String>, }, Reply { message_id: String, request_id: String, text: String, files: Vec<FilePart>, file_ids: Vec<String>, }, Inbox, WakePending, WakeClaim { message_id: String, attempt_id: String, target: WakeTarget, }, WakeCheck { message_id: String, attempt_id: String, target: WakeTarget, }, WakeSubmitted { message_id: String, attempt_id: String, submission_id: String, }, WakeDirectClaim { message_id: String, attempt_id: String, target: WakeTarget, }, WakeDirectPending { target: WakeTarget, }, WakeDirectRead { message_id: String, attempt_id: String, target: WakeTarget, }, WakeDirectObserve { message_id: String, attempt_id: String, target: WakeTarget, turn_id: String, }, WakeDirectComplete { message_id: String, attempt_id: String, target: WakeTarget, turn_id: String, text: String, }, WorkStatus { message_id: String, }, WorkBegin { message_id: String, expect_revision: u64, description: String, }, WorkComplete { message_id: String, expect_revision: u64, note: String, }, Ack { message_id: String, }, MessageStatus { message_id: String, }, RelayAttach { target: String, request_id: String, }, RelayStatus { attachment_id: Option<String>, }, RelayDetach { attachment_id: String, }, RelaySend { attachment_id: String, request_id: String, text: String, files: Vec<FilePart>, file_ids: Vec<String>, }, RelayTurnStatus { turn_id: String, after_message_id: Option<String>, }, RelayTurns { after_turn_id: Option<String>, }, RelayNext, RelayRespond { turn_id: String, request_id: String, text: String, files: Vec<FilePart>, file_ids: Vec<String>, outcome: RelayResponseKind, }, RelayCancel { turn_id: String, request_id: String, },
}

Variants§

§

DashboardGet

§

Babysit

Fields

§enabled: Option<bool>
§

BabysitterClaim

Fields

§goal: String
§turn: Uuid
§failed_at: i64
§reason: Failure
§

BabysitterSubmitted

Fields

§attempt: Uuid
§scope: Option<Scope>
§

BabysitterCheck

Fields

§attempt: Uuid
§

BabysitterChatProbe

Fields

§turn: Uuid
§operator: Uuid
§failed_at: i64
§

BabysitterChatClaim

Fields

§turn: Uuid
§failed_at: i64
§reason: Failure
§origin: ChatOrigin
§

BabysitterChatCheck

Fields

§attempt: Uuid
§

BabysitterChatSubmitted

Fields

§attempt: Uuid
§

DashboardDefine

Fields

§expected_revision: u64
§board: Board
§

DashboardUpdate

Fields

§expected_revision: u64
§

DashboardDelete

Fields

§expected_revision: u64
§

Register

Fields

§name: String
§provider: String
§

Identity

§

Rename

Rename only this authenticated registration, preserving its identity.

Fields

§name: String
§expected_generation: u64
§

PermissionCheck

Current relationship with one visible peer; never exposes raw policy.

Fields

§peer: String
§

PermissionAdminCheck

Fields

§actor: String
§peer: String
§

PermissionPreview

Fields

§

PermissionApply

Fields

§request_id: String
§

PermissionRequest

Fields

§request_id: String
§

PermissionRuleScopes

§

GroupAdminScopes

§

GroupMembers

Fields

§group: String
§

GroupPreview

Fields

§changes: Vec<GroupChange>
§

GroupApply

Fields

§request_id: String
§changes: Vec<GroupChange>
§

GroupRequest

Fields

§request_id: String
§

PermissionRulePreview

Fields

§

PermissionRuleApply

Fields

§request_id: String
§

Agents

§

Resolve

Fields

§name: String
§provider: Option<String>
§

RequestIds

Fields

§count: u32
§

FilePaths

§

FileImport

Fields

§request_id: String
§name: String
§media_type: String
§

FileStatus

Fields

§file_id: String
§

FileReceiveStatus

Private local RPC preflight; absent from the MCP tool surface.

Fields

§

FileReceive

Header for a bounded binary body after the daemon’s ready response.

Fields

§byte_length: u64
§sha256: String
§

FileReceiveData

Constructed only by the local transport after receiving the whole body.

Fields

§bytes: Zeroizing<Vec<u8>>
§

FileRead

Fields

§file_id: String
§chunk_index: u32
§

FileView

Fields

§file_id: String
§

HistoryImports

Local historical imports explicitly assigned to this authenticated chat.

§

HistoryMessages

Fields

§import_id: String
§after: u64
§

HistoryFileRead

Fields

§import_id: String
§message_id: String
§file_index: u32
§chunk_index: u32
§

HistoryFileView

Fields

§import_id: String
§message_id: String
§file_index: u32
§

FileExport

Fields

§file_id: String
§

Send

Fields

§recipient: String
§request_id: String
§text: String
§files: Vec<FilePart>
§file_ids: Vec<String>
§

RequestReply

Response-required send; uses an isolated relay turn without changing the chat’s persistent relay selection. MCP waits outside the daemon lock.

Fields

§recipient: String
§request_id: String
§text: String
§files: Vec<FilePart>
§file_ids: Vec<String>
§

Reply

Fields

§message_id: String
§request_id: String
§text: String
§files: Vec<FilePart>
§file_ids: Vec<String>
§

Inbox

§

WakePending

Local host adapter operations; not exposed as model-callable MCP tools.

§

WakeClaim

Fields

§message_id: String
§attempt_id: String
§target: WakeTarget
§

WakeCheck

Recheck an existing claim without creating or renewing submission rights.

Fields

§message_id: String
§attempt_id: String
§target: WakeTarget
§

WakeSubmitted

Fields

§message_id: String
§attempt_id: String
§submission_id: String
§

WakeDirectClaim

Native adapter APIs, deliberately absent from model-callable MCP tools.

Fields

§message_id: String
§attempt_id: String
§target: WakeTarget
§

WakeDirectPending

Fields

§target: WakeTarget
§

WakeDirectRead

Fields

§message_id: String
§attempt_id: String
§target: WakeTarget
§

WakeDirectObserve

Fields

§message_id: String
§attempt_id: String
§target: WakeTarget
§turn_id: String
§

WakeDirectComplete

Fields

§message_id: String
§attempt_id: String
§target: WakeTarget
§turn_id: String
§text: String
§

WorkStatus

Fields

§message_id: String
§

WorkBegin

Fields

§message_id: String
§expect_revision: u64
§description: String
§

WorkComplete

Fields

§message_id: String
§expect_revision: u64
§note: String
§

Ack

Fields

§message_id: String
§

MessageStatus

Fields

§message_id: String
§

RelayAttach

Fields

§target: String
§request_id: String
§

RelayStatus

Fields

§attachment_id: Option<String>
§

RelayDetach

Fields

§attachment_id: String
§

RelaySend

Fields

§attachment_id: String
§request_id: String
§text: String
§files: Vec<FilePart>
§file_ids: Vec<String>
§

RelayTurnStatus

Fields

§turn_id: String
§after_message_id: Option<String>
§

RelayTurns

Fields

§after_turn_id: Option<String>
§

RelayNext

§

RelayRespond

Fields

§turn_id: String
§request_id: String
§text: String
§files: Vec<FilePart>
§file_ids: Vec<String>
§

RelayCancel

Fields

§turn_id: String
§request_id: String

Trait Implementations§

Source§

impl Clone for AgentOp

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AgentOp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AgentOp

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for AgentOp

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.