fix: theme in ui attach

This commit is contained in:
Cristina Poncela Cubeiro
2026-06-18 16:11:04 +02:00
parent 337de9b078
commit 1d5fd23568
4 changed files with 31 additions and 6 deletions
+6 -1
View File
@@ -45,6 +45,11 @@ export interface AttachRpcRequest {
command: RpcCommand;
}
export interface AttachHostContextRequest {
type: "attach_host_context";
theme?: unknown;
}
export interface RequestMap {
spawn: SpawnRequest;
list: ListRequest;
@@ -127,7 +132,7 @@ export interface ResponseMap {
}
export type OrchestratorResponse = ResponseMap[keyof ResponseMap] | ErrorResponse;
export type AttachClientRequest = AttachRpcRequest | RpcExtensionUIResponse;
export type AttachClientRequest = AttachRpcRequest | AttachHostContextRequest | RpcExtensionUIResponse;
export type AttachServerResponse =
| AttachReadyResponse
| AttachEventResponse