The panic at fs/lifecycle.go:463 was a nil function pointer: fs.Config.MkdirAll is a func field, not a method, and the struct literal in cmd/olliesrv/main.go omitted it, defaulting to nil. When CreateAgent called rs.cfg.MkdirAll(...), it panicked before ever reaching the autoload loop. - Add MkdirAll: os.MkdirAll to fs.Config in main.go - Spawn tool server in Create() so empty session/new sessions are operational, then reuse it in CreateAgent (else if sess.proc != nil) - Wrap create agent error with fmt.Errorf for clearer messages - Add panic stack trace to stderr for debugging |
||
|---|---|---|
| .. | ||
| Ollie | ||
| ollie-9p | ||
| ollie-remote | ||
| olliesrv | ||