* Get CLI status including version and protocol information
()
| 1719 | * Get CLI status including version and protocol information |
| 1720 | */ |
| 1721 | async getStatus(): Promise<GetStatusResponse> { |
| 1722 | if (!this.connection) { |
| 1723 | throw new Error("Client not connected"); |
| 1724 | } |
| 1725 | |
| 1726 | const result = await this.connection.sendRequest("status.get", {}); |
| 1727 | return result as GetStatusResponse; |
| 1728 | } |
| 1729 | |
| 1730 | /** |
| 1731 | * Get current authentication status |
no test coverage detected