opencode-antigravity-auth 1.2.3 → 1.2.5-beta.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.
Files changed (69) hide show
  1. package/README.md +102 -13
  2. package/dist/src/constants.d.ts +12 -0
  3. package/dist/src/constants.d.ts.map +1 -1
  4. package/dist/src/constants.js +13 -0
  5. package/dist/src/constants.js.map +1 -1
  6. package/dist/src/plugin/cache/index.d.ts +5 -0
  7. package/dist/src/plugin/cache/index.d.ts.map +1 -0
  8. package/dist/src/plugin/cache/index.js +5 -0
  9. package/dist/src/plugin/cache/index.js.map +1 -0
  10. package/dist/src/plugin/cache/signature-cache.d.ts +87 -0
  11. package/dist/src/plugin/cache/signature-cache.d.ts.map +1 -0
  12. package/dist/src/plugin/cache/signature-cache.js +325 -0
  13. package/dist/src/plugin/cache/signature-cache.js.map +1 -0
  14. package/dist/src/plugin/cache.d.ts +16 -0
  15. package/dist/src/plugin/cache.d.ts.map +1 -1
  16. package/dist/src/plugin/cache.js +85 -23
  17. package/dist/src/plugin/cache.js.map +1 -1
  18. package/dist/src/plugin/config/index.d.ts +16 -0
  19. package/dist/src/plugin/config/index.d.ts.map +1 -0
  20. package/dist/src/plugin/config/index.js +16 -0
  21. package/dist/src/plugin/config/index.js.map +1 -0
  22. package/dist/src/plugin/config/loader.d.ts +35 -0
  23. package/dist/src/plugin/config/loader.d.ts.map +1 -0
  24. package/dist/src/plugin/config/loader.js +173 -0
  25. package/dist/src/plugin/config/loader.js.map +1 -0
  26. package/dist/src/plugin/config/schema.d.ts +162 -0
  27. package/dist/src/plugin/config/schema.d.ts.map +1 -0
  28. package/dist/src/plugin/config/schema.js +128 -0
  29. package/dist/src/plugin/config/schema.js.map +1 -0
  30. package/dist/src/plugin/debug.d.ts +8 -2
  31. package/dist/src/plugin/debug.d.ts.map +1 -1
  32. package/dist/src/plugin/debug.js +121 -70
  33. package/dist/src/plugin/debug.js.map +1 -1
  34. package/dist/src/plugin/recovery/constants.d.ts +22 -0
  35. package/dist/src/plugin/recovery/constants.d.ts.map +1 -0
  36. package/dist/src/plugin/recovery/constants.js +43 -0
  37. package/dist/src/plugin/recovery/constants.js.map +1 -0
  38. package/dist/src/plugin/recovery/index.d.ts +12 -0
  39. package/dist/src/plugin/recovery/index.d.ts.map +1 -0
  40. package/dist/src/plugin/recovery/index.js +12 -0
  41. package/dist/src/plugin/recovery/index.js.map +1 -0
  42. package/dist/src/plugin/recovery/storage.d.ts +24 -0
  43. package/dist/src/plugin/recovery/storage.d.ts.map +1 -0
  44. package/dist/src/plugin/recovery/storage.js +354 -0
  45. package/dist/src/plugin/recovery/storage.js.map +1 -0
  46. package/dist/src/plugin/recovery/types.d.ts +116 -0
  47. package/dist/src/plugin/recovery/types.d.ts.map +1 -0
  48. package/dist/src/plugin/recovery/types.js +6 -0
  49. package/dist/src/plugin/recovery/types.js.map +1 -0
  50. package/dist/src/plugin/recovery.d.ts +53 -0
  51. package/dist/src/plugin/recovery.d.ts.map +1 -0
  52. package/dist/src/plugin/recovery.js +347 -0
  53. package/dist/src/plugin/recovery.js.map +1 -0
  54. package/dist/src/plugin/request-helpers.d.ts +10 -3
  55. package/dist/src/plugin/request-helpers.d.ts.map +1 -1
  56. package/dist/src/plugin/request-helpers.js +526 -17
  57. package/dist/src/plugin/request-helpers.js.map +1 -1
  58. package/dist/src/plugin/request.d.ts +1 -0
  59. package/dist/src/plugin/request.d.ts.map +1 -1
  60. package/dist/src/plugin/request.js +40 -69
  61. package/dist/src/plugin/request.js.map +1 -1
  62. package/dist/src/plugin/thinking-recovery.d.ts +64 -0
  63. package/dist/src/plugin/thinking-recovery.d.ts.map +1 -0
  64. package/dist/src/plugin/thinking-recovery.js +245 -0
  65. package/dist/src/plugin/thinking-recovery.js.map +1 -0
  66. package/dist/src/plugin.d.ts.map +1 -1
  67. package/dist/src/plugin.js +89 -10
  68. package/dist/src/plugin.js.map +1 -1
  69. package/package.json +59 -57
package/package.json CHANGED
@@ -1,58 +1,60 @@
1
1
  {
2
- "name": "opencode-antigravity-auth",
3
- "version": "1.2.3",
4
- "description": "Google Antigravity IDE OAuth auth plugin for Opencode - access Gemini 3 Pro and Claude 4.5 using Google credentials",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "type": "module",
8
- "license": "MIT",
9
- "author": "noefabris",
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/NoeFabris/opencode-antigravity-auth.git"
13
- },
14
- "homepage": "https://github.com/NoeFabris/opencode-antigravity-auth#readme",
15
- "bugs": {
16
- "url": "https://github.com/NoeFabris/opencode-antigravity-auth/issues"
17
- },
18
- "keywords": [
19
- "opencode",
20
- "google",
21
- "antigravity",
22
- "gemini",
23
- "oauth",
24
- "plugin",
25
- "auth",
26
- "claude"
27
- ],
28
- "engines": {
29
- "node": ">=20.0.0"
30
- },
31
- "files": [
32
- "dist/",
33
- "README.md",
34
- "LICENSE"
35
- ],
36
- "scripts": {
37
- "build": "tsc -p tsconfig.build.json",
38
- "typecheck": "tsc --noEmit",
39
- "test": "vitest run",
40
- "test:watch": "vitest",
41
- "test:ui": "vitest --ui",
42
- "test:coverage": "vitest run --coverage",
43
- "prepublishOnly": "npm run build"
44
- },
45
- "peerDependencies": {
46
- "typescript": "^5"
47
- },
48
- "devDependencies": {
49
- "@opencode-ai/plugin": "^0.15.30",
50
- "@types/node": "^24.10.1",
51
- "@vitest/ui": "^3.0.0",
52
- "typescript": "^5.0.0",
53
- "vitest": "^3.0.0"
54
- },
55
- "dependencies": {
56
- "@openauthjs/openauth": "^0.4.3"
57
- }
58
- }
2
+ "name": "opencode-antigravity-auth",
3
+ "version": "1.2.5-beta.0",
4
+ "description": "Google Antigravity IDE OAuth auth plugin for Opencode - access Gemini 3 Pro and Claude 4.5 using Google credentials",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "type": "module",
8
+ "license": "MIT",
9
+ "author": "noefabris",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/NoeFabris/opencode-antigravity-auth.git"
13
+ },
14
+ "homepage": "https://github.com/NoeFabris/opencode-antigravity-auth#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/NoeFabris/opencode-antigravity-auth/issues"
17
+ },
18
+ "keywords": [
19
+ "opencode",
20
+ "google",
21
+ "antigravity",
22
+ "gemini",
23
+ "oauth",
24
+ "plugin",
25
+ "auth",
26
+ "claude"
27
+ ],
28
+ "engines": {
29
+ "node": ">=20.0.0"
30
+ },
31
+ "files": [
32
+ "dist/",
33
+ "README.md",
34
+ "LICENSE"
35
+ ],
36
+ "scripts": {
37
+ "build": "tsc -p tsconfig.build.json",
38
+ "typecheck": "tsc --noEmit",
39
+ "test": "vitest run",
40
+ "test:watch": "vitest",
41
+ "test:ui": "vitest --ui",
42
+ "test:coverage": "vitest run --coverage",
43
+ "prepublishOnly": "npm run build"
44
+ },
45
+ "peerDependencies": {
46
+ "typescript": "^5"
47
+ },
48
+ "devDependencies": {
49
+ "@opencode-ai/plugin": "^0.15.30",
50
+ "@types/node": "^24.10.1",
51
+ "@vitest/ui": "^3.0.0",
52
+ "typescript": "^5.0.0",
53
+ "vitest": "^3.0.0"
54
+ },
55
+ "dependencies": {
56
+ "@openauthjs/openauth": "^0.4.3",
57
+ "xdg-basedir": "^5.1.0",
58
+ "zod": "^3.24.0"
59
+ }
60
+ }