pub enum HarnessOperatorResponseV1 {
Show 63 variants
Monitor(SessionMonitorV1),
Timeline(TimelinePageV1),
Tasks(TaskPageV1),
Task(RedactedTaskV1),
TaskOperations(Vec<HarnessOperationLedgerEntryV1>),
Runs(RunPageV1),
Run(RedactedRunV1),
RunCorrelation(HarnessRunCorrelationV1),
RunTransfer(HarnessRunTransferSummaryV1),
ReverseAttribution(HarnessReverseAttributionV1),
RunContextSourceObserved(HarnessRunContextSourceObservationV1),
RunWorkspaceInspected(HarnessRunWorkspaceInspectionV1),
RunWorkspaceFileRead(HarnessRunWorkspaceFileV1),
RunGitHistoryRead(HarnessRunGitHistoryPageV1),
RunGitDiffRead(HarnessRunGitDiffV1),
NodeWorkspaceInspected(HarnessNodeWorkspaceInspectionV1),
NodeWorkspaceFileRead(HarnessNodeWorkspaceFileV1),
NodeGitHistoryRead(HarnessNodeGitHistoryPageV1),
NodeGitDiffRead(HarnessNodeGitDiffV1),
NodeWorkspaceFileWritten(HarnessNodeWorkspaceFileV1),
NodeWorkspaceFileCreated(HarnessNodeWorkspaceFileV1),
NodeWorkspaceDirectoryCreated(HarnessNodeWorkspaceDirectoryV1),
LaunchPlans(HarnessLaunchPlanPageV1),
TaskExecutionSpec(Option<HarnessTaskExecutionSpecV1>),
TaskLaunchOptions(HarnessTaskLaunchOptionsV1),
RuntimeInventory(HarnessRuntimeInventoryPageV1),
TerminalRead(HarnessRuntimeTerminalPageV1),
SessionSpawned(HarnessRuntimeSessionAddressV1),
SessionInputWritten,
SessionResized,
SessionStopped,
SessionControlled,
SessionBytesWritten,
SessionPasted,
SessionRemoved,
SessionResumed,
SessionPrompted,
InteractionResolved,
SessionModeSet,
SessionConfigOptionSet,
SessionModelSet,
NativeSessionsCataloged(HarnessNativeSessionsCatalogedV1),
NativeSessionsPaged(HarnessNativeSessionsPagedV1),
NativeSessionPreviewed(HarnessNativeSessionPreviewedV1),
SessionRecordPreviewed(HarnessSessionRecordPreviewedV1),
SessionRecordResumed(HarnessSessionRecordResumedV1),
SessionRecordUpdated(HarnessRuntimeManagedSessionV1),
SessionRecordForgotten {
record_id: String,
},
ProviderSessionIndexed(HarnessRuntimeManagedSessionV1),
NativeSessionIndexed(HarnessNativeSessionIndexedV1),
HostDirectoriesBrowsed(HarnessHostDirectoryListingV1),
WorkspaceRegistered(HarnessWorkspaceSnapshotV1),
StandaloneWorkspaceCreated(HarnessWorkspaceSnapshotV1),
WorkspaceUnregistered {
workspace_id: String,
},
WorktreeCreated {
worktree: HarnessGitWorktreeSnapshotV1,
workspace: HarnessWorkspaceSnapshotV1,
},
WorktreeRemoved {
target_root: HarnessHostPathV1,
workspace_id: Option<String>,
},
ContextPackExported(HarnessResolvedContextPackReceiptV1),
ContextPackForgotten {
context_id: String,
},
Mutation(HarnessOperatorMutationOutcomeV1),
ExecutionSpecMutation(HarnessOperatorMutationOutcomeV1),
Schedule(HarnessScheduleOutcomeV1),
TaskStarted(HarnessTaskStartOutcomeV1),
HarnessMcpGrantMinted(HarnessMcpGrantMintV1),
}Variants§
Monitor(SessionMonitorV1)
Timeline(TimelinePageV1)
Tasks(TaskPageV1)
Task(RedactedTaskV1)
TaskOperations(Vec<HarnessOperationLedgerEntryV1>)
Runs(RunPageV1)
Run(RedactedRunV1)
RunCorrelation(HarnessRunCorrelationV1)
RunTransfer(HarnessRunTransferSummaryV1)
ReverseAttribution(HarnessReverseAttributionV1)
RunContextSourceObserved(HarnessRunContextSourceObservationV1)
RunWorkspaceInspected(HarnessRunWorkspaceInspectionV1)
RunWorkspaceFileRead(HarnessRunWorkspaceFileV1)
RunGitHistoryRead(HarnessRunGitHistoryPageV1)
RunGitDiffRead(HarnessRunGitDiffV1)
NodeWorkspaceInspected(HarnessNodeWorkspaceInspectionV1)
NodeWorkspaceFileRead(HarnessNodeWorkspaceFileV1)
NodeGitHistoryRead(HarnessNodeGitHistoryPageV1)
NodeGitDiffRead(HarnessNodeGitDiffV1)
NodeWorkspaceFileWritten(HarnessNodeWorkspaceFileV1)
NodeWorkspaceFileCreated(HarnessNodeWorkspaceFileV1)
NodeWorkspaceDirectoryCreated(HarnessNodeWorkspaceDirectoryV1)
LaunchPlans(HarnessLaunchPlanPageV1)
TaskExecutionSpec(Option<HarnessTaskExecutionSpecV1>)
TaskLaunchOptions(HarnessTaskLaunchOptionsV1)
RuntimeInventory(HarnessRuntimeInventoryPageV1)
TerminalRead(HarnessRuntimeTerminalPageV1)
SessionSpawned(HarnessRuntimeSessionAddressV1)
SessionInputWritten
SessionResized
SessionStopped
SessionControlled
SessionBytesWritten
SessionPasted
SessionRemoved
SessionResumed
SessionPrompted
InteractionResolved
SessionModeSet
SessionConfigOptionSet
SessionModelSet
NativeSessionsCataloged(HarnessNativeSessionsCatalogedV1)
NativeSessionsPaged(HarnessNativeSessionsPagedV1)
NativeSessionPreviewed(HarnessNativeSessionPreviewedV1)
SessionRecordPreviewed(HarnessSessionRecordPreviewedV1)
SessionRecordResumed(HarnessSessionRecordResumedV1)
SessionRecordUpdated(HarnessRuntimeManagedSessionV1)
SessionRecordForgotten
ProviderSessionIndexed(HarnessRuntimeManagedSessionV1)
NativeSessionIndexed(HarnessNativeSessionIndexedV1)
HostDirectoriesBrowsed(HarnessHostDirectoryListingV1)
WorkspaceRegistered(HarnessWorkspaceSnapshotV1)
StandaloneWorkspaceCreated(HarnessWorkspaceSnapshotV1)
WorkspaceUnregistered
WorktreeCreated
WorktreeRemoved
ContextPackExported(HarnessResolvedContextPackReceiptV1)
ContextPackForgotten
Mutation(HarnessOperatorMutationOutcomeV1)
ExecutionSpecMutation(HarnessOperatorMutationOutcomeV1)
Schedule(HarnessScheduleOutcomeV1)
TaskStarted(HarnessTaskStartOutcomeV1)
HarnessMcpGrantMinted(HarnessMcpGrantMintV1)
Grant id and revision from resolve_harness_mcp_grant. No bearer
credential: HarnessReadCredential’s Serialize writes the raw
token, and this command must not.
Implementations§
Source§impl HarnessOperatorResponseV1
impl HarnessOperatorResponseV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl Clone for HarnessOperatorResponseV1
impl Clone for HarnessOperatorResponseV1
Source§impl Debug for HarnessOperatorResponseV1
impl Debug for HarnessOperatorResponseV1
Source§impl<'de> Deserialize<'de> for HarnessOperatorResponseV1
impl<'de> Deserialize<'de> for HarnessOperatorResponseV1
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessOperatorResponseV1
impl StructuralPartialEq for HarnessOperatorResponseV1
Auto Trait Implementations§
impl Freeze for HarnessOperatorResponseV1
impl RefUnwindSafe for HarnessOperatorResponseV1
impl Send for HarnessOperatorResponseV1
impl Sync for HarnessOperatorResponseV1
impl Unpin for HarnessOperatorResponseV1
impl UnsafeUnpin for HarnessOperatorResponseV1
impl UnwindSafe for HarnessOperatorResponseV1
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
Mutably borrows from an owned value. Read more