package opencode import ( "context" "os" "amadan.net/oficina/equipo/internal/toolproxy" ) // serveToolProxy is the tool proxy the tests run from a copy of this // binary (Linux only, as the tool proxy is). func serveToolProxy(args []string) int { if len(args) != 3 || args[1] != "--socket" || toolproxy.Serve(context.Background(), os.Stdin, os.Stdout, args[2]) != nil { return 1 } return 0 }