refactor(core): simplify session run coordination (#33388)
This commit is contained in:
@@ -21,7 +21,6 @@ export type Event =
|
||||
| EventSessionNextPrompted
|
||||
| EventSessionNextPromptAdmitted
|
||||
| EventSessionNextPromptPromoted
|
||||
| EventSessionNextInterruptRequested
|
||||
| EventSessionNextContextUpdated
|
||||
| EventSessionNextSynthetic
|
||||
| EventSessionNextShellStarted
|
||||
@@ -876,14 +875,6 @@ export type GlobalEvent = {
|
||||
timeCreated: number
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "session.next.interrupt.requested"
|
||||
properties: {
|
||||
timestamp: number
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "session.next.context.updated"
|
||||
@@ -1638,7 +1629,6 @@ export type GlobalEvent = {
|
||||
| SyncEventSessionNextPrompted
|
||||
| SyncEventSessionNextPromptAdmitted
|
||||
| SyncEventSessionNextPromptPromoted
|
||||
| SyncEventSessionNextInterruptRequested
|
||||
| SyncEventSessionNextContextUpdated
|
||||
| SyncEventSessionNextSynthetic
|
||||
| SyncEventSessionNextShellStarted
|
||||
@@ -2781,7 +2771,6 @@ export type V2Event =
|
||||
| V2EventSessionNextPrompted
|
||||
| V2EventSessionNextPromptAdmitted
|
||||
| V2EventSessionNextPromptPromoted
|
||||
| V2EventSessionNextInterruptRequested
|
||||
| V2EventSessionNextContextUpdated
|
||||
| V2EventSessionNextSynthetic
|
||||
| V2EventSessionNextShellStarted
|
||||
@@ -3249,21 +3238,6 @@ export type SyncEventSessionNextPromptPromoted = {
|
||||
}
|
||||
}
|
||||
|
||||
export type SyncEventSessionNextInterruptRequested = {
|
||||
type: "sync"
|
||||
id: string
|
||||
syncEvent: {
|
||||
type: "session.next.interrupt.requested.1"
|
||||
id: string
|
||||
seq: number
|
||||
aggregateID: string
|
||||
data: {
|
||||
timestamp: number
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export type SyncEventSessionNextContextUpdated = {
|
||||
type: "sync"
|
||||
id: string
|
||||
@@ -4570,24 +4544,6 @@ export type V2EventSessionNextPromptPromoted = {
|
||||
}
|
||||
}
|
||||
|
||||
export type V2EventSessionNextInterruptRequested = {
|
||||
id: string
|
||||
metadata?: {
|
||||
[key: string]: unknown
|
||||
}
|
||||
durable?: {
|
||||
aggregateID: string
|
||||
seq: number
|
||||
version: number
|
||||
}
|
||||
location?: LocationRef
|
||||
type: "session.next.interrupt.requested"
|
||||
data: {
|
||||
timestamp: number
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
|
||||
export type V2EventSessionNextContextUpdated = {
|
||||
id: string
|
||||
metadata?: {
|
||||
@@ -6224,15 +6180,6 @@ export type EventSessionNextPromptPromoted = {
|
||||
}
|
||||
}
|
||||
|
||||
export type EventSessionNextInterruptRequested = {
|
||||
id: string
|
||||
type: "session.next.interrupt.requested"
|
||||
properties: {
|
||||
timestamp: number
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventSessionNextContextUpdated = {
|
||||
id: string
|
||||
type: "session.next.context.updated"
|
||||
|
||||
Reference in New Issue
Block a user