* Execute a TUI command (e.g. agent_cycle)
(options?: Options<TuiExecuteCommandData, ThrowOnError>)
| 1102 | * Execute a TUI command (e.g. agent_cycle) |
| 1103 | */ |
| 1104 | public executeCommand<ThrowOnError extends boolean = false>(options?: Options<TuiExecuteCommandData, ThrowOnError>) { |
| 1105 | return (options?.client ?? this._client).post<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError>({ |
| 1106 | url: "/tui/execute-command", |
| 1107 | ...options, |
| 1108 | headers: { |
| 1109 | "Content-Type": "application/json", |
| 1110 | ...options?.headers, |
| 1111 | }, |
| 1112 | }) |
| 1113 | } |
| 1114 | |
| 1115 | /** |
| 1116 | * Show a toast notification in the TUI |
nothing calls this directly
no outgoing calls
no test coverage detected