Files
overlord/Overlord-Client/cmd/agent/handlers/elevate_other.go
T

20 lines
448 B
Go
Raw Normal View History

2026-04-13 10:49:36 -05:00
//go:build !darwin
package handlers
import (
"context"
agentRuntime "overlord-client/cmd/agent/runtime"
"overlord-client/cmd/agent/wire"
)
func HandleElevate(ctx context.Context, env *agentRuntime.Env, cmdID string, password string) error {
return wire.WriteMsg(ctx, env.Conn, wire.CommandResult{
Type: "command_result",
CommandID: cmdID,
OK: false,
Message: "elevation via password is only supported on macOS",
})
}