()
| 77 | } |
| 78 | |
| 79 | function authHeaders() { |
| 80 | return { |
| 81 | "Content-Type": "application/x-www-form-urlencoded", |
| 82 | Accept: "application/json", |
| 83 | "User-Agent": `opencode/${InstallationVersion}`, |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | function authBasicHeader() { |
| 88 | return `Basic ${Buffer.from(`${OAUTH_CLIENT_ID}:${OAUTH_CLIENT_ID}`).toString("base64")}` |
no outgoing calls
no test coverage detected