File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -941,6 +941,14 @@ export type EventWorktreeFailed = {
941941 }
942942}
943943
944+ export type EventOpencodeHotreloadChanged = {
945+ type : "opencode.hotreload.changed"
946+ properties : {
947+ file : string
948+ event : "add" | "change" | "unlink"
949+ }
950+ }
951+
944952export type EventOpencodeHotreloadApplied = {
945953 type : "opencode.hotreload.applied"
946954 properties : {
@@ -993,6 +1001,7 @@ export type Event =
9931001 | EventPtyDeleted
9941002 | EventWorktreeReady
9951003 | EventWorktreeFailed
1004+ | EventOpencodeHotreloadChanged
9961005 | EventOpencodeHotreloadApplied
9971006
9981007export type GlobalEvent = {
Original file line number Diff line number Diff line change 84828482 },
84838483 "required" : [" type" , " properties" ]
84848484 },
8485+ "Event.opencode.hotreload.changed" : {
8486+ "type" : " object" ,
8487+ "properties" : {
8488+ "type" : {
8489+ "type" : " string" ,
8490+ "const" : " opencode.hotreload.changed"
8491+ },
8492+ "properties" : {
8493+ "type" : " object" ,
8494+ "properties" : {
8495+ "file" : {
8496+ "type" : " string"
8497+ },
8498+ "event" : {
8499+ "type" : " string" ,
8500+ "enum" : [" add" , " change" , " unlink" ]
8501+ }
8502+ },
8503+ "required" : [" file" , " event" ]
8504+ }
8505+ },
8506+ "required" : [" type" , " properties" ]
8507+ },
84858508 "Event.opencode.hotreload.applied" : {
84868509 "type" : " object" ,
84878510 "properties" : {
86368659 {
86378660 "$ref" : " #/components/schemas/Event.worktree.failed"
86388661 },
8662+ {
8663+ "$ref" : " #/components/schemas/Event.opencode.hotreload.changed"
8664+ },
86398665 {
86408666 "$ref" : " #/components/schemas/Event.opencode.hotreload.applied"
86418667 }
You can’t perform that action at this time.
0 commit comments