Properly implement launch command

This commit is contained in:
crschnick committed 2025-02-24 13:43:49 +00:00
1 parent cdfd7dc67d
commit 8f653880ba
9 files changed
+288 -132

No files matched your search

@@ -0,0 +1,36 @@
package io.xpipe.beacon.api;
import io.xpipe.beacon.BeaconInterface;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
import java.util.List;
public class TerminalExternalLaunchExchange extends BeaconInterface<TerminalExternalLaunchExchange.Request> {
@Override
public String getPath() {
return "/terminal/externalLaunch";
}
@Jacksonized
@Builder
@Value
public static class Request {
@NonNull
String connection;
@NonNull
List<String> arguments;
}
@Jacksonized
@Builder
@Value
public static class Response {
@NonNull
List<String> command;
}
}
+1
View File
@@ -49,6 +49,7 @@ open module io.xpipe.beacon {
TerminalPrepareExchange,
TerminalWaitExchange,
TerminalLaunchExchange,
TerminalExternalLaunchExchange,
SshLaunchExchange,
FsReadExchange,
FsBlobExchange,