Organize Agentbox runtime code
Co-authored-by: codegirl007 <codegirl-007@users.noreply.github.com>
This commit is contained in:
co-authored by
codegirl007
parent
f2fee5d26b
commit
4d2fb4a733
@@ -17,6 +17,8 @@ type manifest struct {
|
||||
WindowTitle string `json:"window_title"`
|
||||
}
|
||||
|
||||
// Resolve turns either an executable path or a directory containing
|
||||
// agentbox.json into the backend-neutral launch command.
|
||||
func Resolve(path string) (environment.Command, error) {
|
||||
absolute, err := filepath.Abs(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user