MCPcopy Create free account
hub / github.com/Alorse/copilot-to-api / constructor

Method constructor

copilot-client.js:8–13  ·  view source on GitHub ↗
(configPath = './config.json')

Source from the content-addressed store, hash-verified

6
7class CopilotAPI {
8 constructor(configPath = './config.json') {
9 this.configPath = configPath;
10 this.config = this.loadConfig();
11 this.copilotToken = null;
12 this.tokenExpiry = null;
13 }
14
15 loadConfig() {
16 try {

Callers

nothing calls this directly

Calls 1

loadConfigMethod · 0.95

Tested by

no test coverage detected