@anthonyhaussman/opencode-agy-auth 1.1.18 → 1.1.19-alpha.0

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.
@@ -1,6 +1,6 @@
1
+ import { getAgyClientId, getAgyClientSecret } from './sdk/credentials';
1
2
  export declare const AGY_PROVIDER_ID = "google-agy";
2
- export declare const AGY_CLIENT_ID = "1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com";
3
- export declare const AGY_CLIENT_SECRET = "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";
3
+ export { getAgyClientId, getAgyClientSecret };
4
4
  export declare const AGY_SCOPES: readonly string[];
5
5
  export declare const AGY_REDIRECT_URI = "https://antigravity.google/oauth-callback";
6
6
  export declare const AGY_CODE_ASSIST_ENDPOINT: string;
@@ -0,0 +1,10 @@
1
+ export interface AgyCredentials {
2
+ clientId: string;
3
+ clientSecret: string;
4
+ }
5
+ export declare function setCachedAgyCredentials(credentials: AgyCredentials | null): void;
6
+ export declare function findAgyBinary(): string | null;
7
+ export declare function extractAgyCredentialsFromBinary(binaryPath: string): AgyCredentials | null;
8
+ export declare function getAgyCredentials(): AgyCredentials;
9
+ export declare function getAgyClientId(): string;
10
+ export declare function getAgyClientSecret(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthonyhaussman/opencode-agy-auth",
3
- "version": "1.1.18",
3
+ "version": "1.1.19-alpha.0",
4
4
  "author": "antigravity",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",