feat: dispatch managed events through capture and bubble subscriptions
Verify Tessera GUI / verify (push) Failing after 7m13s

This commit is contained in:
2026-10-21 02:20:00 +08:00
parent 6c42e5dde4
commit 8886bdbd2d
11 changed files with 767 additions and 46 deletions
-15
View File
@@ -1,5 +1,4 @@
//! Native input transport. Only opaque frame/mount identities cross to the VM worker.
use endor_core::ObjectPayload;
use serde::{Deserialize, Serialize};
use std::{
io::{Read, Write},
@@ -19,20 +18,6 @@ pub struct Input {
pub kind: String,
}
#[derive(Debug)]
pub struct Event;
impl ObjectPayload for Event {
fn as_any(&self) -> &dyn std::any::Any {
self
}
fn kind_name(&self) -> &'static str {
"tessera-event"
}
fn allows_attributes(&self) -> bool {
true
}
}
pub struct Client(SyncSender<Input>);
impl Client {
pub fn new(proxy: EventLoopProxy<crate::app::AppEvent>) -> anyhow::Result<Self> {