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 @@ -935,6 +935,14 @@ export type EventWorktreeFailed = {
935935 }
936936}
937937
938+ export type EventOpencodeHotreloadChanged = {
939+ type : "opencode.hotreload.changed"
940+ properties : {
941+ file : string
942+ event : "add" | "change" | "unlink"
943+ }
944+ }
945+
938946export type EventOpencodeHotreloadApplied = {
939947 type : "opencode.hotreload.applied"
940948 properties : {
@@ -986,6 +994,7 @@ export type Event =
986994 | EventPtyDeleted
987995 | EventWorktreeReady
988996 | EventWorktreeFailed
997+ | EventOpencodeHotreloadChanged
989998 | EventOpencodeHotreloadApplied
990999
9911000export type GlobalEvent = {
Original file line number Diff line number Diff line change 84588458 },
84598459 "required" : [" type" , " properties" ]
84608460 },
8461+ "Event.opencode.hotreload.changed" : {
8462+ "type" : " object" ,
8463+ "properties" : {
8464+ "type" : {
8465+ "type" : " string" ,
8466+ "const" : " opencode.hotreload.changed"
8467+ },
8468+ "properties" : {
8469+ "type" : " object" ,
8470+ "properties" : {
8471+ "file" : {
8472+ "type" : " string"
8473+ },
8474+ "event" : {
8475+ "type" : " string" ,
8476+ "enum" : [" add" , " change" , " unlink" ]
8477+ }
8478+ },
8479+ "required" : [" file" , " event" ]
8480+ }
8481+ },
8482+ "required" : [" type" , " properties" ]
8483+ },
84618484 "Event.opencode.hotreload.applied" : {
84628485 "type" : " object" ,
84638486 "properties" : {
86098632 {
86108633 "$ref" : " #/components/schemas/Event.worktree.failed"
86118634 },
8635+ {
8636+ "$ref" : " #/components/schemas/Event.opencode.hotreload.changed"
8637+ },
86128638 {
86138639 "$ref" : " #/components/schemas/Event.opencode.hotreload.applied"
86148640 }
You can’t perform that action at this time.
0 commit comments