File tree Expand file tree Collapse file tree
packages/sdk/js/src/v2/gen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2852,6 +2852,9 @@ export type V2Event =
28522852 | V2EventMcpBrowserOpenFailed
28532853 | V2EventCommandExecuted
28542854 | V2EventProjectUpdated
2855+ | V2EventInterruptRequested
2856+ | V2EventInterruptConsumed
2857+ | V2EventInterruptTerminal
28552858 | V2EventSessionStatus
28562859 | V2EventSessionIdle
28572860 | V2EventQuestionAsked
@@ -5717,6 +5720,62 @@ export type V2EventProjectUpdated = {
57175720 }
57185721}
57195722
5723+ export type V2EventInterruptRequested = {
5724+ id : string
5725+ metadata ?: {
5726+ [ key : string ] : unknown
5727+ }
5728+ durable ?: {
5729+ aggregateID : string
5730+ seq : number
5731+ version : number
5732+ }
5733+ location ?: LocationRef
5734+ type : "interrupt.requested"
5735+ data : {
5736+ sessionID : string
5737+ intent : "steer" | "cancel"
5738+ reason : string
5739+ origin : "user" | "parent"
5740+ }
5741+ }
5742+
5743+ export type V2EventInterruptConsumed = {
5744+ id : string
5745+ metadata ?: {
5746+ [ key : string ] : unknown
5747+ }
5748+ durable ?: {
5749+ aggregateID : string
5750+ seq : number
5751+ version : number
5752+ }
5753+ location ?: LocationRef
5754+ type : "interrupt.consumed"
5755+ data : {
5756+ sessionID : string
5757+ intent : "steer" | "cancel"
5758+ }
5759+ }
5760+
5761+ export type V2EventInterruptTerminal = {
5762+ id : string
5763+ metadata ?: {
5764+ [ key : string ] : unknown
5765+ }
5766+ durable ?: {
5767+ aggregateID : string
5768+ seq : number
5769+ version : number
5770+ }
5771+ location ?: LocationRef
5772+ type : "interrupt.terminal"
5773+ data : {
5774+ sessionID : string
5775+ reason : string
5776+ }
5777+ }
5778+
57205779export type V2EventSessionStatus = {
57215780 id : string
57225781 metadata ?: {
You can’t perform that action at this time.
0 commit comments