Dismiss and restore operator shell commands per chat
chat_shell_dismiss hides finished runs from every readback and pushes a dismissal frame to every watcher; chat_shell_restore undoes it within a 30 s window, after which the command, output and error are purged and only a tombstone remains, reported by chat_shell_runs for clients that missed the event.
This commit is contained in:
@@ -280,6 +280,9 @@ type Message struct {
|
||||
ChatShellRun *ChatShellRunRecord `json:"chat_shell_run,omitempty"`
|
||||
ChatShellRuns []ChatShellRunRecord `json:"chat_shell_runs,omitempty"`
|
||||
ChatShellRunEvent *ChatShellRunEventFrame `json:"chat_shell_run_event,omitempty"`
|
||||
// ChatShellDismissed lists dismissed run ids (chat_shell_dismiss's reply
|
||||
// and chat_shell_runs' tombstones; chat_shell_dismiss.go).
|
||||
ChatShellDismissed []string `json:"chat_shell_dismissed,omitempty"`
|
||||
// ListDirectory is the list_directory body and DirectoryListing its reply:
|
||||
// the home-restricted folder picker listing (see directories.go).
|
||||
ListDirectory *DirectoryListRequest `json:"list_directory,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user