- Each plugin connect connection gets a session id that is forwarded with channel/<id>/message; when the connection ends the host notifies the sidecar with channel/<id>/closed so it can cancel calls and release input. - host/console.screenshot crops a region from the full-resolution frame, optionally measured in a reference image size, and full frames now honor max_width up to 2560. - host/console.key can hold or release one key, and host/console.release lifts keys and pointer buttons in one call. Driver consoles stay press-only. - host/vm.shutdown accepts force, and host/vm.snapshot.list needs only vm:read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
392 B
Go
24 lines
392 B
Go
//go:build !windows
|
|
|
|
package control
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
type Server struct{}
|
|
|
|
func currentUserScope() string { return "unsupported" }
|
|
|
|
func ListenWithOptions(string, Handler, Options) (*Server, error) {
|
|
return nil, errors.ErrUnsupported
|
|
}
|
|
|
|
func Dial(context.Context) (net.Conn, error) {
|
|
return nil, errors.ErrUnsupported
|
|
}
|
|
|
|
func (*Server) Close() error { return nil }
|