fix: address cubic re-review — remove non-existent session.stop event, fix env var fallback test
This commit is contained in:
@@ -34,8 +34,6 @@ export function createOpenClawHook(
|
||||
// This is heuristic. If the last message was from assistant and ended with a question?
|
||||
// Or if the system is idle.
|
||||
await handleWake("session-idle", context)
|
||||
} else if (event.type === "session.stop") {
|
||||
await handleWake("stop", context)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user