@link-assistant/agent 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/auth/plugins.ts +3 -3
package/package.json
CHANGED
package/src/auth/plugins.ts
CHANGED
|
@@ -276,7 +276,7 @@ const AnthropicPlugin: AuthPlugin = {
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
return {
|
|
279
|
-
apiKey: '',
|
|
279
|
+
apiKey: 'oauth-token-used-via-custom-fetch',
|
|
280
280
|
async fetch(input: RequestInfo | URL, init?: RequestInit) {
|
|
281
281
|
let currentAuth = await getAuth();
|
|
282
282
|
if (!currentAuth || currentAuth.type !== 'oauth')
|
|
@@ -551,7 +551,7 @@ const GitHubCopilotPlugin: AuthPlugin = {
|
|
|
551
551
|
|
|
552
552
|
return {
|
|
553
553
|
baseURL,
|
|
554
|
-
apiKey: '',
|
|
554
|
+
apiKey: 'oauth-token-used-via-custom-fetch',
|
|
555
555
|
async fetch(input: RequestInfo | URL, init?: RequestInit) {
|
|
556
556
|
let currentInfo = await getAuth();
|
|
557
557
|
if (!currentInfo || currentInfo.type !== 'oauth')
|
|
@@ -776,7 +776,7 @@ const OpenAIPlugin: AuthPlugin = {
|
|
|
776
776
|
// Note: Full OpenAI Codex support would require additional request transformations
|
|
777
777
|
// For now, this provides basic OAuth token management
|
|
778
778
|
return {
|
|
779
|
-
apiKey: '',
|
|
779
|
+
apiKey: 'oauth-token-used-via-custom-fetch',
|
|
780
780
|
baseURL: 'https://chatgpt.com/backend-api',
|
|
781
781
|
async fetch(input: RequestInfo | URL, init?: RequestInit) {
|
|
782
782
|
let currentAuth = await getAuth();
|