refactor: rename services to scripts and extract reusable components

This commit is contained in:
Mohamed Boudra
2026-04-09 18:54:25 +07:00
parent 5cf806dc77
commit 397d454de0
48 changed files with 1356 additions and 983 deletions
+6 -6
View File
@@ -1331,19 +1331,19 @@ export class DaemonClient {
});
}
async startWorkspaceService(
async startWorkspaceScript(
workspaceId: string,
serviceName: string,
scriptName: string,
requestId?: string,
): Promise<Extract<SessionOutboundMessage, { type: "start_workspace_service_response" }>["payload"]> {
): Promise<Extract<SessionOutboundMessage, { type: "start_workspace_script_response" }>["payload"]> {
return this.sendCorrelatedSessionRequest({
requestId,
message: {
type: "start_workspace_service_request",
type: "start_workspace_script_request",
workspaceId,
serviceName,
scriptName,
},
responseType: "start_workspace_service_response",
responseType: "start_workspace_script_response",
timeout: 10000,
});
}