feat: complete Windows client control and recovery paths

This commit is contained in:
2026-09-06 13:37:32 +00:00
parent 56b15c7f4f
commit 486894557d
38 changed files with 2188 additions and 106 deletions
@@ -0,0 +1,20 @@
//go:build !windows
package windowstray
import (
"context"
"errors"
"io"
)
var ErrUnsupported = errors.New("Windows tray IPC is unavailable on this platform")
// Serve exists on every platform so the service wiring stays build-tag
// neutral. Unix-like client support is deferred in v1; this endpoint must
// never silently become a second client daemon.
func Serve(context.Context, Handler) error { return ErrUnsupported }
func Request(context.Context, Frame) (Frame, error) { return Frame{}, ErrUnsupported }
func Run(context.Context, io.Writer) error { return ErrUnsupported }