fix(session): distinguish idle reasons for completion and abort

This commit is contained in:
Kit Langton 2026-03-10 20:44:34 -04:00
commit 8084f9dfd8
7 changed files with 43 additions and 13 deletions

View file

@ -453,6 +453,7 @@ export type EventPermissionReplied = {
export type SessionStatus =
| {
type: "idle"
reason?: "completed" | "aborted" | "error"
}
| {
type: "retry"

View file

@ -581,6 +581,7 @@ export type EventPermissionReplied = {
export type SessionStatus =
| {
type: "idle"
reason?: "completed" | "aborted" | "error"
}
| {
type: "retry"