pub enum NodeResponse {
Show 48 variants
Snapshot {
event_sequence: u64,
controller: Option<ControllerState>,
snapshot: NodeSnapshot,
},
Resync {
event_sequence: u64,
oldest_available_sequence: u64,
snapshot: NodeSnapshot,
events: Vec<NodeEventEnvelope>,
},
Armed {
reservation_id: HarnessMcpReservationId,
activation_digest: HarnessMcpActivationDigest,
expires_at_unix_ms: u64,
},
Spawned {
reservation_id: HarnessMcpReservationId,
activation_digest: HarnessMcpActivationDigest,
receipt: ResolvedSpawnReceipt,
},
Activated {
reservation_id: HarnessMcpReservationId,
activation_digest: HarnessMcpActivationDigest,
record_id: SessionRecordId,
session: SessionAddress,
},
Aborted {
reservation_id: HarnessMcpReservationId,
activation_digest: HarnessMcpActivationDigest,
},
ReplyChunkAccepted {
reservation_id: HarnessMcpReservationId,
activation_digest: HarnessMcpActivationDigest,
record_id: SessionRecordId,
session: SessionAddress,
call_id: HarnessMcpCallId,
next_offset: u32,
completed: bool,
},
CallRejected {
reservation_id: HarnessMcpReservationId,
activation_digest: HarnessMcpActivationDigest,
record_id: SessionRecordId,
session: SessionAddress,
call_id: HarnessMcpCallId,
},
DeliveryStageBegun {
stage_id: DeliveryStageId,
manifest_digest: DeliveryManifestDigestV2,
missing_blobs: Vec<DeliveryBlobDigestV1>,
},
DeliveryBlobChunkAccepted {
stage_id: DeliveryStageId,
blob_digest: DeliveryBlobDigestV1,
next_offset: u64,
},
DeliveryCommitted {
receipt: DeliveryCommitReceiptV1,
},
DeliveryStageAborted {
stage_id: DeliveryStageId,
},
WorkspaceInspected {
inspection: WorkspaceInspection,
},
HostDirectoriesBrowsed {
listing: HostDirectoryListing,
},
WorkspaceFileRead {
file: WorkspaceFileRead,
},
WorkspaceFileWritten {
file: WorkspaceFileRead,
},
WorkspaceFileCreated {
file: WorkspaceFileRead,
},
WorkspaceDirectoryCreated {
workspace_id: WorkspaceId,
entry: WorkspaceEntry,
},
GitHistoryRead {
workspace_id: WorkspaceId,
page: GitHistoryPage,
},
GitDiffRead {
workspace_id: WorkspaceId,
diff: GitDiff,
},
Controller {
controller: Option<ControllerState>,
},
SpawnAccepted {
session: SessionAddress,
},
SpawnSpecAccepted {
receipt: ResolvedSpawnReceipt,
},
ManagedWorktreeSpawnAccepted {
receipt: ManagedWorktreeSpawnReceipt,
},
ManagedWorktreeCleanup {
lease: ManagedWorktreeLeaseSnapshot,
},
SessionRecordUpdated {
record: ManagedSessionRecord,
},
ProviderSessionIndexed {
record: ManagedSessionRecord,
},
NativeSessionIndexed {
selection: NativeSessionSelection,
record: ManagedSessionRecord,
},
SessionRecordResumed {
record: ManagedSessionRecord,
session: SessionAddress,
},
SessionRecordForgotten {
record_id: SessionRecordId,
},
NativeSessionsCataloged {
route: NativeSessionCatalogRoute,
entries: Vec<NativeSessionCatalogEntry>,
summary: Option<NativeSessionCatalogSummary>,
},
NativeSessionsPaged {
route: NativeSessionCatalogRoute,
page: NativeSessionCatalogPage,
},
NativeSessionPreviewed {
selection: NativeSessionSelection,
preview: NativeSessionPreview,
},
SessionRecordPreviewed {
record_id: SessionRecordId,
preview: SessionRecordPreview,
},
HistoryDiscovered {
session: SessionAddress,
candidates: Vec<HistoryCandidateSummary>,
},
HistoryLoaded {
session: SessionAddress,
session_id: String,
message_count: u64,
completed_turn_count: Option<u64>,
},
ContextPackExported {
context: ResolvedContextPackReceipt,
},
ContextPackForSessionRecordExported {
record_id: SessionRecordId,
session: SessionAddress,
context: ResolvedContextPackReceipt,
},
ContextPackForgotten {
context_id: SpawnContextId,
},
DurableContextPackResolved {
context: ResolvedContextPackReceipt,
},
ContextPackBytesRead {
pack: ContextPackBytesRead,
},
WorkspaceRegistered {
workspace: WorkspaceSnapshot,
},
StandaloneWorkspaceCreated {
workspace: WorkspaceSnapshot,
},
WorkspaceUnregistered {
workspace_id: WorkspaceId,
},
WorktreeCreated {
worktree: GitWorktreeSnapshot,
workspace: WorkspaceSnapshot,
},
WorktreeRemoved {
target_root: OpaqueHostPath,
workspace_id: Option<WorkspaceId>,
},
Accepted,
ShuttingDown,
}Variants§
Snapshot
Resync
Armed
Spawned
Fields
§
reservation_id: HarnessMcpReservationId§
activation_digest: HarnessMcpActivationDigest§
receipt: ResolvedSpawnReceiptActivated
Fields
§
reservation_id: HarnessMcpReservationId§
activation_digest: HarnessMcpActivationDigest§
record_id: SessionRecordId§
session: SessionAddressAborted
ReplyChunkAccepted
Fields
§
reservation_id: HarnessMcpReservationId§
activation_digest: HarnessMcpActivationDigest§
record_id: SessionRecordId§
session: SessionAddress§
call_id: HarnessMcpCallIdCallRejected
Fields
§
reservation_id: HarnessMcpReservationId§
activation_digest: HarnessMcpActivationDigest§
record_id: SessionRecordId§
session: SessionAddress§
call_id: HarnessMcpCallIdDeliveryStageBegun
Fields
§
stage_id: DeliveryStageId§
manifest_digest: DeliveryManifestDigestV2§
missing_blobs: Vec<DeliveryBlobDigestV1>DeliveryBlobChunkAccepted
DeliveryCommitted
Fields
§
receipt: DeliveryCommitReceiptV1DeliveryStageAborted
Fields
§
stage_id: DeliveryStageIdWorkspaceInspected
Fields
§
inspection: WorkspaceInspectionHostDirectoriesBrowsed
Fields
§
listing: HostDirectoryListingWorkspaceFileRead
Fields
§
file: WorkspaceFileReadWorkspaceFileWritten
Fields
§
file: WorkspaceFileReadWorkspaceFileCreated
Fields
§
file: WorkspaceFileReadWorkspaceDirectoryCreated
GitHistoryRead
GitDiffRead
Controller
Fields
§
controller: Option<ControllerState>SpawnAccepted
Fields
§
session: SessionAddressSpawnSpecAccepted
Fields
§
receipt: ResolvedSpawnReceiptManagedWorktreeSpawnAccepted
Fields
§
receipt: ManagedWorktreeSpawnReceiptManagedWorktreeCleanup
Fields
SessionRecordUpdated
Fields
§
record: ManagedSessionRecordProviderSessionIndexed
Fields
§
record: ManagedSessionRecordNativeSessionIndexed
SessionRecordResumed
SessionRecordForgotten
Fields
§
record_id: SessionRecordIdNativeSessionsCataloged
Fields
§
route: NativeSessionCatalogRoute§
entries: Vec<NativeSessionCatalogEntry>§
summary: Option<NativeSessionCatalogSummary>NativeSessionsPaged
NativeSessionPreviewed
SessionRecordPreviewed
HistoryDiscovered
HistoryLoaded
Fields
§
session: SessionAddressContextPackExported
Fields
§
context: ResolvedContextPackReceiptContextPackForSessionRecordExported
ContextPackForgotten
Fields
§
context_id: SpawnContextIdDurableContextPackResolved
Fields
§
context: ResolvedContextPackReceiptContextPackBytesRead
Fields
§
pack: ContextPackBytesReadWorkspaceRegistered
Fields
§
workspace: WorkspaceSnapshotStandaloneWorkspaceCreated
Fields
§
workspace: WorkspaceSnapshotWorkspaceUnregistered
Fields
§
workspace_id: WorkspaceIdWorktreeCreated
WorktreeRemoved
Accepted
ShuttingDown
Implementations§
Source§impl NodeResponse
impl NodeResponse
pub fn requires_session_record_context_export_capability(&self) -> bool
pub fn requires_harness_mcp_proxy_capability(&self) -> bool
pub fn native_session_catalog_contract_is_valid(&self) -> bool
pub fn requires_native_session_catalog_capability(&self) -> bool
pub fn requires_native_session_catalog_paging_capability(&self) -> bool
pub fn requires_native_session_preview_capability(&self) -> bool
pub fn requires_native_session_index_capability(&self) -> bool
pub fn native_session_index_contract_is_valid(&self) -> bool
pub fn native_session_preview_contract_is_valid(&self) -> bool
pub fn requires_worktree_selection_capability(&self) -> bool
pub fn requires_spawn_spec_defaults_overrides_capability(&self) -> bool
pub fn requires_spawn_profile_revision_capability(&self) -> bool
pub fn requires_child_environment_profile_capability(&self) -> bool
pub fn requires_session_bundle_materialization_capability(&self) -> bool
pub fn requires_history_context_pack_capability(&self) -> bool
Trait Implementations§
Source§impl Clone for NodeResponse
impl Clone for NodeResponse
Source§impl Debug for NodeResponse
impl Debug for NodeResponse
Source§impl<'de> Deserialize<'de> for NodeResponse
impl<'de> Deserialize<'de> for NodeResponse
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 NodeResponse
Source§impl PartialEq for NodeResponse
impl PartialEq for NodeResponse
Source§impl Serialize for NodeResponse
impl Serialize for NodeResponse
impl StructuralPartialEq for NodeResponse
Auto Trait Implementations§
impl Freeze for NodeResponse
impl RefUnwindSafe for NodeResponse
impl Send for NodeResponse
impl Sync for NodeResponse
impl Unpin for NodeResponse
impl UnsafeUnpin for NodeResponse
impl UnwindSafe for NodeResponse
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