feat(companion): expose platform connected state passthrough

This commit is contained in:
William Valentin
2026-02-16 19:36:01 -08:00
parent 78466c7e71
commit 274c49acbc
4 changed files with 39 additions and 1 deletions
+12
View File
@@ -101,6 +101,10 @@ export class MacOSCompanionClient {
return this.runtime.connect();
}
get connected(): boolean {
return this.runtime.connected;
}
disconnect(): void {
this.runtime.disconnect();
}
@@ -339,6 +343,10 @@ export class IOSCompanionClient {
return this.runtime.connect();
}
get connected(): boolean {
return this.runtime.connected;
}
disconnect(): void {
this.runtime.disconnect();
}
@@ -577,6 +585,10 @@ export class AndroidCompanionClient {
return this.runtime.connect();
}
get connected(): boolean {
return this.runtime.connected;
}
disconnect(): void {
this.runtime.disconnect();
}