({ accessToken })
| 129 | }, |
| 130 | |
| 131 | async createApiKey({ accessToken }) { |
| 132 | const endpoint = buildNoumenaPlatformUrl( |
| 133 | '/api/oauth/ncode/create_api_key', |
| 134 | ) |
| 135 | const response = await axios.post<{ raw_key?: string }>( |
| 136 | endpoint, |
| 137 | null, |
| 138 | { |
| 139 | headers: { Authorization: `Bearer ${accessToken}` }, |
| 140 | }, |
| 141 | ) |
| 142 | return { |
| 143 | ...response.data, |
| 144 | status: response.status, |
| 145 | } |
| 146 | }, |
| 147 | |
| 148 | async fetchBootstrap({ headers, timeout }) { |
| 149 | const endpoint = buildNoumenaPlatformUrl('/api/claude_cli/bootstrap') |
nothing calls this directly
no test coverage detected