Files
ProxyPilot/internal/desktopctl/types.go
T
Finessse ceec470273 refactor: consolidate tray app into single binary with embedded engine
This release removes the need for a separate proxypilot-engine.exe binary.
The ProxyPilot.exe tray app now runs the proxy service in-process using
the cliproxy SDK builder pattern.

Changes:
- Add internal/embedded package for in-process server management
- Update desktopctl to support embedded mode alongside subprocess mode
- Clean up vestigial -exe flag and engine binary references
- Update package scripts to build only single binary
- Bump version to 0.1.2

The embedded engine in cmd/cliproxytray was already implemented; this
commit cleans up the remaining references to the old two-binary architecture.
2025-12-28 04:25:45 +07:00

32 lines
995 B
Go

package desktopctl
import "time"
type Status struct {
Running bool `json:"running"`
Version string `json:"version,omitempty"`
Managed bool `json:"managed"`
AutoStartProxy bool `json:"auto_start_proxy,omitempty"`
PID int `json:"pid,omitempty"`
Port int `json:"port,omitempty"`
ThinkingPort int `json:"thinking_port,omitempty"`
ThinkingRunning bool `json:"thinking_running,omitempty"`
BaseURL string `json:"base_url,omitempty"`
ConfigPath string `json:"config_path,omitempty"`
ExePath string `json:"exe_path,omitempty"`
StartedAt time.Time `json:"started_at,omitempty"`
LastError string `json:"last_error,omitempty"`
}
type StartOptions struct {
RepoRoot string
ConfigPath string
ExePath string
LogDir string
Embedded bool // If true, run server in-process instead of spawning subprocess
}
type StopOptions struct {
PID int
}