chore: remove dead code (packages, functions, types, constants)
All checks were successful
Beta Release / beta (push) Successful in 34s

Remove 5 unused packages (daemon, preview, proxy, workflow) and dead
symbols across 7 files: orchestrator workflow engine, skills Target type
and Update(), LSP config generation, installer SetupPrompt(), unexported
desktop options, and version License/Prerelease. Total: -1453 lines.
This commit is contained in:
Augustin
2026-04-21 22:09:42 +02:00
parent f7222b0f6c
commit fc7981037f
13 changed files with 10 additions and 1453 deletions

View File

@@ -26,11 +26,11 @@ type options struct {
type option func(*options)
func WithPort(port int) option {
func withPort(port int) option {
return func(o *options) { o.port = port }
}
func WithNoOpen(noOpen bool) option {
func withNoOpen(noOpen bool) option {
return func(o *options) { o.noOpen = noOpen }
}
@@ -39,10 +39,10 @@ func parseFlags(args []string) []option {
for _, arg := range args {
switch {
case arg == "--no-open":
opts = append(opts, WithNoOpen(true))
opts = append(opts, withNoOpen(true))
case strings.HasPrefix(arg, "--port="):
if p, err := strconv.Atoi(strings.TrimPrefix(arg, "--port=")); err == nil {
opts = append(opts, WithPort(p))
opts = append(opts, withPort(p))
}
case arg == "--port":
// handled as prefix case