MCPcopy Index your code
hub / github.com/github/copilot-sdk / getStatus

Method getStatus

nodejs/src/client.ts:1721–1728  ·  view source on GitHub ↗

* Get CLI status including version and protocol information

()

Source from the content-addressed store, hash-verified

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

Calls 1

sendRequestMethod · 0.45

Tested by

no test coverage detected