Organize Agentbox runtime code

Co-authored-by: codegirl007 <codegirl-007@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-18 06:03:59 +00:00
co-authored by codegirl007
parent f2fee5d26b
commit 4d2fb4a733
22 changed files with 1358 additions and 878 deletions
+2
View File
@@ -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 {