feat: notify when managed browsers exit

This commit is contained in:
QiuSW
2026-07-25 18:23:33 +08:00
parent f5b5e95223
commit eeaf4c7826
9 changed files with 647 additions and 92 deletions
+9 -7
View File
@@ -133,13 +133,15 @@ const (
)
type BrowserEvent struct {
Kind EventKind
InstanceID string
Status InstanceStatus
PID int
ExitCode *int
ErrorCode ErrorCode
At time.Time
Kind EventKind
InstanceID string
LaunchGeneration uint64
Status InstanceStatus
PID int
ExitCode *int
ExpectedStop bool
ErrorCode ErrorCode
At time.Time
}
type ErrorCode string