feat: select rewind points directly from Console history
This commit is contained in:
@@ -705,7 +705,6 @@ pub enum WorkerInputKind {
|
||||
UserIfIdle,
|
||||
Notify,
|
||||
Compact,
|
||||
ListRewindTargets,
|
||||
RegisterPeer,
|
||||
}
|
||||
|
||||
@@ -3271,7 +3270,6 @@ impl WorkspaceWorkerRuntime for EmbeddedWorkerRuntime {
|
||||
WorkerInputKind::UserIfIdle => EmbeddedWorkerInputKind::UserIfIdle,
|
||||
WorkerInputKind::Notify => EmbeddedWorkerInputKind::Notify,
|
||||
WorkerInputKind::Compact => EmbeddedWorkerInputKind::Compact,
|
||||
WorkerInputKind::ListRewindTargets => EmbeddedWorkerInputKind::ListRewindTargets,
|
||||
WorkerInputKind::RegisterPeer => EmbeddedWorkerInputKind::RegisterPeer,
|
||||
},
|
||||
content: request.content,
|
||||
@@ -5310,7 +5308,6 @@ impl WorkspaceWorkerRuntime for RemoteWorkerRuntime {
|
||||
WorkerInputKind::UserIfIdle => EmbeddedWorkerInputKind::UserIfIdle,
|
||||
WorkerInputKind::Notify => EmbeddedWorkerInputKind::Notify,
|
||||
WorkerInputKind::Compact => EmbeddedWorkerInputKind::Compact,
|
||||
WorkerInputKind::ListRewindTargets => EmbeddedWorkerInputKind::ListRewindTargets,
|
||||
WorkerInputKind::RegisterPeer => EmbeddedWorkerInputKind::RegisterPeer,
|
||||
},
|
||||
content: request.content,
|
||||
@@ -6748,7 +6745,6 @@ mod tests {
|
||||
EmbeddedWorkerInputKind::UserIfIdle,
|
||||
EmbeddedWorkerInputKind::Notify,
|
||||
EmbeddedWorkerInputKind::Compact,
|
||||
EmbeddedWorkerInputKind::ListRewindTargets,
|
||||
EmbeddedWorkerInputKind::RegisterPeer,
|
||||
] {
|
||||
let input = EmbeddedWorkerInput {
|
||||
|
||||
@@ -6930,7 +6930,6 @@ fn worker_input_request_from_api(
|
||||
"user" => WorkerInputKind::User,
|
||||
"notify" => WorkerInputKind::Notify,
|
||||
"compact" => WorkerInputKind::Compact,
|
||||
"list_rewind_targets" => WorkerInputKind::ListRewindTargets,
|
||||
"register_peer" => WorkerInputKind::RegisterPeer,
|
||||
value => {
|
||||
return Err(Error::InvalidInput(format!(
|
||||
@@ -29168,7 +29167,6 @@ pub(crate) fn authorize_browser_worker_method(
|
||||
| protocol::Method::Cancel { .. }
|
||||
| protocol::Method::Pause { .. }
|
||||
| protocol::Method::Compact { .. }
|
||||
| protocol::Method::ListRewindTargets
|
||||
| protocol::Method::RewindTo { .. }
|
||||
| protocol::Method::Shutdown { .. }
|
||||
| protocol::Method::ListCompletions { .. }
|
||||
|
||||
Reference in New Issue
Block a user