返回 DeepSeek-Reasonix
host_events.go
根目录 / desktop / host_events.go
1 package main
2
3 // hostEventNames lists every static event name this package emits through
4 // the runtime event bridge; the host contract digest covers it. Per-tab
5 // remote names ("remote-tab:<id>:state", "remote-tab:<id>:event") are
6 // derived at runtime and are not listed. host_events_test.go pins each
7 // entry to a string literal in the sources.
8 var hostEventNames = []string{
9 "InboxChanged",
10 "agent:event",
11 "agent:ready",
12 "config:load-warnings",
13 "desktop:shell-status",
14 "history-index:changed-v1",
15 "project-tree:changed",
16 "project-tree:changed-v2",
17 "project-tree:runtime-changed",
18 "remote-tab:opened",
19 "remote-tab:updated",
20 "remote:forwards",
21 "remote:server",
22 "remote:status",
23 "runtime-state:changed",
24 "runtime:rebuilt",
25 "session:active-version-changed",
26 "session:recovered",
27 "session:recovery-failed",
28 "tab:meta",
29 "terminal:exit",
30 "terminal:output",
31 "topic:activation",
32 "updater:progress",
33 }
34
34 lines GO