fix: add involves edge from task to agent:nomos at creation
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
ci / web (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
2026-08-11 22:03:12 +02:00
parent 7d6a3320d4
commit febc153b7f
3384 changed files with 945212 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
// Package browser provides functions to open URLs and files in the default browser.
package browser
// OpenURL opens the named URL in the default browser.
func OpenURL(url string) error {
return open(url)
}
// OpenFile opens the named file in the default browser or file handler.
func OpenFile(path string) error {
return open(path)
}

View File

@@ -0,0 +1,18 @@
//go:build darwin
package browser
import "os/exec"
var openCmd = func(target string) *exec.Cmd {
return exec.Command("open", target)
}
func open(target string) error {
cmd := openCmd(target)
if err := cmd.Start(); err != nil {
return err
}
go cmd.Wait() //nolint:errcheck
return nil
}

View File

@@ -0,0 +1,18 @@
//go:build !darwin && !windows
package browser
import "os/exec"
var openCmd = func(target string) *exec.Cmd {
return exec.Command("xdg-open", target)
}
func open(target string) error {
cmd := openCmd(target)
if err := cmd.Start(); err != nil {
return err
}
go cmd.Wait() //nolint:errcheck
return nil
}

View File

@@ -0,0 +1,18 @@
//go:build windows
package browser
import "os/exec"
var openCmd = func(target string) *exec.Cmd {
return exec.Command("rundll32", "url.dll,FileProtocolHandler", target)
}
func open(target string) error {
cmd := openCmd(target)
if err := cmd.Start(); err != nil {
return err
}
go cmd.Wait() //nolint:errcheck
return nil
}