pub enum SdkOperation {
Show 47 variants
Discover,
Load,
Start,
Resume,
Input,
Events,
Interrupt,
Steer,
Respond,
Export,
JobsList,
JobsGet,
JobsCreate,
JobsUpdate,
JobsPause,
JobsResume,
JobsRun,
JobsDelete,
SessionsNew,
SessionsReset,
SessionsArchive,
SessionsDelete,
RunsList,
RunsGet,
Close,
ProfilesList,
ProfilesGet,
ProfilesCreate,
ProfilesDelete,
SkillsList,
SkillsInstall,
SkillsRemove,
MemoryShow,
MemorySearch,
ApprovalsList,
ApprovalsResolve,
ChannelsList,
RoutesList,
TriggersList,
ChannelsStatus,
OrchestrationLoad,
OrchestrationSave,
OrchestrationCompile,
OrchestrationDecompile,
OrchestrationImport,
OrchestrationExport,
WorkflowLoad,
}Expand description
One operation owned by the SDK facade.
Variants§
Discover
Discover persisted sessions.
Load
Load one persisted session without modifying it.
Start
Start a harness-native runtime.
Resume
Resume a harness-native persisted runtime.
Input
Send input to an SDK-owned runtime connection.
Events
Poll canonical runtime events.
Interrupt
Interrupt the active turn.
Steer
Queue guidance at the next model-loop boundary.
Respond
Answer a typed runtime request.
Export
Export a loaded session through a native serializer.
JobsList
List the harness’s scheduled jobs (observed tier, read-only).
JobsGet
Read one scheduled job’s definition (observed tier, read-only).
JobsCreate
Create a scheduled job through the harness’s own verb (ORCH-18).
JobsUpdate
Patch a scheduled job through the harness’s own verb.
JobsPause
Stop the harness’s scheduler from firing a job.
JobsResume
Let the harness’s scheduler fire a job again.
JobsRun
Fire a job now through the harness’s own verb.
JobsDelete
Delete a scheduled job through the harness’s own verb.
SessionsNew
Open a fresh conversation through the harness’s own door (ORCH-19).
SessionsReset
Reset a conversation through the harness’s own door.
SessionsArchive
Archive a conversation through the harness’s own door.
SessionsDelete
Delete a conversation through the harness’s own door.
RunsList
List a job’s past fires with their outcomes (ORCH-8, read-only).
RunsGet
Read one fire’s outcome (ORCH-8, read-only).
Close
Close an SDK-owned runtime connection.
ProfilesList
List the harnesses’ named config homes (ORCH-10, read-only).
ProfilesGet
Read one named config home by harness and name.
ProfilesCreate
Create a named config home through the harness’s own verb (ORCH-21).
ProfilesDelete
Delete a named config home through the harness’s own verb (ORCH-21).
SkillsList
List the skill packages each harness has installed (ORCH-11, read-only).
SkillsInstall
Install a skill package through the harness’s own door (ORCH-22).
SkillsRemove
Remove a skill package through the harness’s own door (ORCH-22).
MemoryShow
Read a harness’s persistent memory documents (ORCH-12, read-only).
MemorySearch
Search those same documents by substring or regex (ORCH-12, read-only).
ApprovalsList
List the approval requests waiting for an answer (ORCH-9, read-only).
ApprovalsResolve
Answer one listed approval request with a uniform decision (ORCH-20).
ChannelsList
List the transports each gateway harness is reachable on (ORCH-14).
RoutesList
List the routes a gateway harness uses to pick a profile / agent (ORCH-15).
TriggersList
List a gateway harness’s inbound triggers — webhook routes and hook mappings (ORCH-16).
ChannelsStatus
Read one channel’s row by harness and name (ORCH-14).
OrchestrationLoad
Read one home folder as one typed orchestration value (ONT-4).
OrchestrationSave
Write an orchestration value back into our own folder (ONT-4).
OrchestrationCompile
Compile another harness’s home into an orchestration value (ONT-4).
OrchestrationDecompile
Decompile an orchestration back into another harness’s home (ONT-4).
OrchestrationImport
Another harness’s home becomes our folder, credentials along (ONT-7).
OrchestrationExport
Our folder becomes another harness’s home, credentials along (ONT-7).
WorkflowLoad
Read a harness’s board as one typed workflow value.
Implementations§
Source§impl SdkOperation
impl SdkOperation
Sourcepub const fn method(self) -> Option<&'static str>
pub const fn method(self) -> Option<&'static str>
Canonical harness.v1 method used by JSON transports, when the
operation is request/response rather than a subscription poll.
Sourcepub fn from_method(method: &str) -> Option<Self>
pub fn from_method(method: &str) -> Option<Self>
Resolve one canonical method without accepting transport aliases.
Sourcepub const fn action_name(self) -> &'static str
pub const fn action_name(self) -> &'static str
Stable action spelling used by capability and error projections.
Sourcepub fn from_action_name(action: &str) -> Option<Self>
pub fn from_action_name(action: &str) -> Option<Self>
Resolve a stable action spelling.
Trait Implementations§
Source§impl Clone for SdkOperation
impl Clone for SdkOperation
Source§fn clone(&self) -> SdkOperation
fn clone(&self) -> SdkOperation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SdkOperation
Source§impl Debug for SdkOperation
impl Debug for SdkOperation
Source§impl<'de> Deserialize<'de> for SdkOperation
impl<'de> Deserialize<'de> for SdkOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SdkOperation
Source§impl Hash for SdkOperation
impl Hash for SdkOperation
Source§impl PartialEq for SdkOperation
impl PartialEq for SdkOperation
Source§impl Serialize for SdkOperation
impl Serialize for SdkOperation
impl StructuralPartialEq for SdkOperation
Auto Trait Implementations§
impl Freeze for SdkOperation
impl RefUnwindSafe for SdkOperation
impl Send for SdkOperation
impl Sync for SdkOperation
impl Unpin for SdkOperation
impl UnsafeUnpin for SdkOperation
impl UnwindSafe for SdkOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.