@cortexkit/opencode-antigravity-auth 3.0.1 → 3.0.2

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 (138) hide show
  1. package/dist/cli.js.map +2 -2
  2. package/dist/cli.meta.json +3 -3
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +1136 -928
  5. package/dist/index.js.map +4 -4
  6. package/dist/index.meta.json +107 -25
  7. package/dist/server.js +267 -37
  8. package/dist/server.js.map +4 -4
  9. package/dist/server.meta.json +1 -7313
  10. package/dist/src/cli.d.ts +1 -1
  11. package/dist/src/constants.d.ts +1 -1
  12. package/dist/src/ga/rpc/protocol.d.ts +1 -1
  13. package/dist/src/ga/server/index.d.ts +6 -6
  14. package/dist/src/ga/server/index.d.ts.map +1 -1
  15. package/dist/src/ga/server/index.js +29 -1
  16. package/dist/src/ga/server/index.js.map +1 -1
  17. package/dist/src/ga/tui/host-ga.d.ts +2 -2
  18. package/dist/src/hooks/auto-update-checker/checker.d.ts +1 -1
  19. package/dist/src/hooks/auto-update-checker/index.d.ts +4 -4
  20. package/dist/src/plugin/account-access.d.ts +6 -6
  21. package/dist/src/plugin/account-command-oauth.d.ts +2 -2
  22. package/dist/src/plugin/accounts.d.ts +3 -3
  23. package/dist/src/plugin/auth-doctor.d.ts +2 -2
  24. package/dist/src/plugin/auth-drift.d.ts +2 -2
  25. package/dist/src/plugin/auth-loader.d.ts +8 -8
  26. package/dist/src/plugin/auth-loader.d.ts.map +1 -1
  27. package/dist/src/plugin/auth-loader.js +1 -0
  28. package/dist/src/plugin/auth-loader.js.map +1 -1
  29. package/dist/src/plugin/background-quota-refresh.d.ts +3 -3
  30. package/dist/src/plugin/background-vault-quota-refresh.d.ts +43 -0
  31. package/dist/src/plugin/background-vault-quota-refresh.d.ts.map +1 -0
  32. package/dist/src/plugin/background-vault-quota-refresh.js +155 -0
  33. package/dist/src/plugin/background-vault-quota-refresh.js.map +1 -0
  34. package/dist/src/plugin/cache/index.d.ts +1 -1
  35. package/dist/src/plugin/cache/signature-cache.d.ts +2 -2
  36. package/dist/src/plugin/cache.d.ts +6 -6
  37. package/dist/src/plugin/cli.d.ts +6 -6
  38. package/dist/src/plugin/command-apply.d.ts +1 -1
  39. package/dist/src/plugin/command-data.d.ts +6 -4
  40. package/dist/src/plugin/command-data.d.ts.map +1 -1
  41. package/dist/src/plugin/command-data.js +13 -34
  42. package/dist/src/plugin/command-data.js.map +1 -1
  43. package/dist/src/plugin/commands.d.ts +4 -4
  44. package/dist/src/plugin/config/index.d.ts +2 -2
  45. package/dist/src/plugin/config/loader.d.ts +2 -2
  46. package/dist/src/plugin/config/models.d.ts +2 -2
  47. package/dist/src/plugin/config/writer.d.ts +2 -2
  48. package/dist/src/plugin/core/streaming/index.d.ts +2 -2
  49. package/dist/src/plugin/core/streaming/transformer.d.ts +1 -1
  50. package/dist/src/plugin/debug.d.ts +1 -1
  51. package/dist/src/plugin/dependencies.d.ts +3 -3
  52. package/dist/src/plugin/event-handler.d.ts +3 -3
  53. package/dist/src/plugin/fetch-interceptor.d.ts +10 -10
  54. package/dist/src/plugin/fetch-routing.d.ts +3 -3
  55. package/dist/src/plugin/ga-location-services.d.ts +10 -10
  56. package/dist/src/plugin/google-search-tool.d.ts +1 -1
  57. package/dist/src/plugin/index.d.ts +8 -6
  58. package/dist/src/plugin/index.d.ts.map +1 -1
  59. package/dist/src/plugin/index.js +41 -18
  60. package/dist/src/plugin/index.js.map +1 -1
  61. package/dist/src/plugin/killswitch.d.ts +1 -1
  62. package/dist/src/plugin/lifecycle.d.ts +2 -2
  63. package/dist/src/plugin/logger.d.ts +2 -2
  64. package/dist/src/plugin/oauth-login.d.ts +1 -1
  65. package/dist/src/plugin/oauth-methods.d.ts +9 -9
  66. package/dist/src/plugin/operator-settings.d.ts +3 -3
  67. package/dist/src/plugin/persist-account-pool.d.ts +1 -1
  68. package/dist/src/plugin/quota.d.ts +5 -4
  69. package/dist/src/plugin/quota.d.ts.map +1 -1
  70. package/dist/src/plugin/quota.js +1 -0
  71. package/dist/src/plugin/quota.js.map +1 -1
  72. package/dist/src/plugin/recovery/index.d.ts +3 -3
  73. package/dist/src/plugin/recovery/storage.d.ts +1 -1
  74. package/dist/src/plugin/recovery.d.ts +3 -3
  75. package/dist/src/plugin/refresh-queue.d.ts +3 -3
  76. package/dist/src/plugin/request-helpers.d.ts +1 -1
  77. package/dist/src/plugin/request.d.ts +9 -9
  78. package/dist/src/plugin/session-context.d.ts +1 -1
  79. package/dist/src/plugin/shared/request-services.d.ts +9 -9
  80. package/dist/src/plugin/shared/runtime.d.ts +11 -11
  81. package/dist/src/plugin/shared/source-sidebar.d.ts +1 -1
  82. package/dist/src/plugin/shared/vault-menu.d.ts +1 -1
  83. package/dist/src/plugin/shared/vault-request-credentials.d.ts +3 -1
  84. package/dist/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
  85. package/dist/src/plugin/shared/vault-request-credentials.js +1 -1
  86. package/dist/src/plugin/shared/vault-request-credentials.js.map +1 -1
  87. package/dist/src/plugin/stores/signature-store.d.ts +1 -1
  88. package/dist/src/plugin/token.d.ts +1 -1
  89. package/dist/src/plugin/ui/auth-menu.d.ts +4 -4
  90. package/dist/src/plugin/ui/model-status.d.ts +3 -3
  91. package/dist/src/plugin/ui/quota-status.d.ts +2 -2
  92. package/dist/src/plugin/vault-activation.d.ts +1 -1
  93. package/dist/src/plugin/vault-quota-refresh.d.ts +7 -0
  94. package/dist/src/plugin/vault-quota-refresh.d.ts.map +1 -0
  95. package/dist/src/plugin/vault-quota-refresh.js +12 -0
  96. package/dist/src/plugin/vault-quota-refresh.js.map +1 -0
  97. package/dist/src/plugin/vault-sidebar-projection.d.ts +27 -0
  98. package/dist/src/plugin/vault-sidebar-projection.d.ts.map +1 -0
  99. package/dist/src/plugin/vault-sidebar-projection.js +34 -0
  100. package/dist/src/plugin/vault-sidebar-projection.js.map +1 -0
  101. package/dist/src/rpc/notifications.d.ts +1 -1
  102. package/dist/src/rpc/rpc-server.d.ts +1 -1
  103. package/dist/src/server.d.ts +3 -3
  104. package/dist/src/sidebar-state.d.ts +20 -13
  105. package/dist/src/sidebar-state.d.ts.map +1 -1
  106. package/dist/src/sidebar-state.js +20 -10
  107. package/dist/src/sidebar-state.js.map +1 -1
  108. package/dist/src/tui/command-dialogs.d.ts +1 -1
  109. package/dist/src/tui/host-v1.d.ts +3 -3
  110. package/dist/src/tui.d.ts +3 -3
  111. package/dist/src/tui.js +1 -1
  112. package/dist/tui-build-map.json +6 -6
  113. package/dist/types/src/ga/server/index.d.ts.map +1 -1
  114. package/dist/types/src/plugin/auth-loader.d.ts.map +1 -1
  115. package/dist/types/src/plugin/background-vault-quota-refresh.d.ts +43 -0
  116. package/dist/types/src/plugin/background-vault-quota-refresh.d.ts.map +1 -0
  117. package/dist/types/src/plugin/command-data.d.ts +6 -4
  118. package/dist/types/src/plugin/command-data.d.ts.map +1 -1
  119. package/dist/types/src/plugin/index.d.ts +2 -0
  120. package/dist/types/src/plugin/index.d.ts.map +1 -1
  121. package/dist/types/src/plugin/quota.d.ts +1 -0
  122. package/dist/types/src/plugin/quota.d.ts.map +1 -1
  123. package/dist/types/src/plugin/shared/vault-request-credentials.d.ts +2 -0
  124. package/dist/types/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
  125. package/dist/types/src/plugin/vault-quota-refresh.d.ts +7 -0
  126. package/dist/types/src/plugin/vault-quota-refresh.d.ts.map +1 -0
  127. package/dist/types/src/plugin/vault-sidebar-projection.d.ts +27 -0
  128. package/dist/types/src/plugin/vault-sidebar-projection.d.ts.map +1 -0
  129. package/dist/types/src/sidebar-state.d.ts +20 -13
  130. package/dist/types/src/sidebar-state.d.ts.map +1 -1
  131. package/package.json +2 -2
  132. package/src/plugin/command-data.ts +19 -47
  133. package/src/sidebar-state.ts +34 -15
  134. package/src/tui-compiled/sidebar-state.js +12 -5
  135. package/src/tui-compiled/tui.js +1 -1
  136. package/src/tui-raw/sidebar-state.js +12 -5
  137. package/src/tui-raw/tui.tsx +1 -1
  138. package/src/tui.tsx +1 -1
@@ -2984,7 +2984,7 @@
2984
2984
  "format": "esm"
2985
2985
  },
2986
2986
  "src/sidebar-state.ts": {
2987
- "bytes": 35984,
2987
+ "bytes": 36923,
2988
2988
  "imports": [
2989
2989
  {
2990
2990
  "path": "node:fs",
@@ -3119,7 +3119,7 @@
3119
3119
  "format": "esm"
3120
3120
  },
3121
3121
  "src/plugin/quota.ts": {
3122
- "bytes": 66528,
3122
+ "bytes": 66575,
3123
3123
  "imports": [
3124
3124
  {
3125
3125
  "path": "../core/dist/index.js",
@@ -4457,7 +4457,7 @@
4457
4457
  "format": "esm"
4458
4458
  },
4459
4459
  "src/plugin/auth-loader.ts": {
4460
- "bytes": 27778,
4460
+ "bytes": 27812,
4461
4461
  "imports": [
4462
4462
  {
4463
4463
  "path": "node:crypto",
@@ -4548,6 +4548,75 @@
4548
4548
  ],
4549
4549
  "format": "esm"
4550
4550
  },
4551
+ "src/plugin/shared/vault-request-credentials.ts": {
4552
+ "bytes": 24426,
4553
+ "imports": [
4554
+ {
4555
+ "path": "../core/dist/index.js",
4556
+ "kind": "import-statement",
4557
+ "original": "@cortexkit/antigravity-auth-core"
4558
+ }
4559
+ ],
4560
+ "format": "esm"
4561
+ },
4562
+ "src/plugin/vault-quota-refresh.ts": {
4563
+ "bytes": 554,
4564
+ "imports": [
4565
+ {
4566
+ "path": "src/plugin/shared/vault-request-credentials.ts",
4567
+ "kind": "import-statement",
4568
+ "original": "./shared/vault-request-credentials"
4569
+ }
4570
+ ],
4571
+ "format": "esm"
4572
+ },
4573
+ "src/plugin/vault-sidebar-projection.ts": {
4574
+ "bytes": 1648,
4575
+ "imports": [
4576
+ {
4577
+ "path": "src/sidebar-state.ts",
4578
+ "kind": "import-statement",
4579
+ "original": "../sidebar-state"
4580
+ },
4581
+ {
4582
+ "path": "src/plugin/shared/vault-request-credentials.ts",
4583
+ "kind": "import-statement",
4584
+ "original": "./shared/vault-request-credentials"
4585
+ }
4586
+ ],
4587
+ "format": "esm"
4588
+ },
4589
+ "src/plugin/background-vault-quota-refresh.ts": {
4590
+ "bytes": 6459,
4591
+ "imports": [
4592
+ {
4593
+ "path": "../core/dist/file-lock.js",
4594
+ "kind": "import-statement",
4595
+ "original": "@cortexkit/antigravity-auth-core/file-lock"
4596
+ },
4597
+ {
4598
+ "path": "src/sidebar-state.ts",
4599
+ "kind": "import-statement",
4600
+ "original": "../sidebar-state"
4601
+ },
4602
+ {
4603
+ "path": "src/plugin/quota.ts",
4604
+ "kind": "import-statement",
4605
+ "original": "./quota"
4606
+ },
4607
+ {
4608
+ "path": "src/plugin/vault-quota-refresh.ts",
4609
+ "kind": "import-statement",
4610
+ "original": "./vault-quota-refresh"
4611
+ },
4612
+ {
4613
+ "path": "src/plugin/vault-sidebar-projection.ts",
4614
+ "kind": "import-statement",
4615
+ "original": "./vault-sidebar-projection"
4616
+ }
4617
+ ],
4618
+ "format": "esm"
4619
+ },
4551
4620
  "src/plugin/config/operator-settings-schema.ts": {
4552
4621
  "bytes": 980,
4553
4622
  "imports": [
@@ -4695,7 +4764,7 @@
4695
4764
  "format": "esm"
4696
4765
  },
4697
4766
  "src/plugin/command-data.ts": {
4698
- "bytes": 35674,
4767
+ "bytes": 34544,
4699
4768
  "imports": [
4700
4769
  {
4701
4770
  "path": "node:crypto",
@@ -4897,17 +4966,6 @@
4897
4966
  ],
4898
4967
  "format": "esm"
4899
4968
  },
4900
- "src/plugin/shared/vault-request-credentials.ts": {
4901
- "bytes": 24414,
4902
- "imports": [
4903
- {
4904
- "path": "../core/dist/index.js",
4905
- "kind": "import-statement",
4906
- "original": "@cortexkit/antigravity-auth-core"
4907
- }
4908
- ],
4909
- "format": "esm"
4910
- },
4911
4969
  "src/plugin/fetch-interceptor.ts": {
4912
4970
  "bytes": 17306,
4913
4971
  "imports": [
@@ -5143,7 +5201,7 @@
5143
5201
  "format": "esm"
5144
5202
  },
5145
5203
  "src/plugin/index.ts": {
5146
- "bytes": 36907,
5204
+ "bytes": 38269,
5147
5205
  "imports": [
5148
5206
  {
5149
5207
  "path": "node:crypto",
@@ -5215,6 +5273,11 @@
5215
5273
  "kind": "import-statement",
5216
5274
  "original": "./background-quota-refresh"
5217
5275
  },
5276
+ {
5277
+ "path": "src/plugin/background-vault-quota-refresh.ts",
5278
+ "kind": "import-statement",
5279
+ "original": "./background-vault-quota-refresh"
5280
+ },
5218
5281
  {
5219
5282
  "path": "src/plugin/cache.ts",
5220
5283
  "kind": "import-statement",
@@ -5355,6 +5418,16 @@
5355
5418
  "kind": "import-statement",
5356
5419
  "original": "./vault-custody"
5357
5420
  },
5421
+ {
5422
+ "path": "src/plugin/vault-quota-refresh.ts",
5423
+ "kind": "import-statement",
5424
+ "original": "./vault-quota-refresh"
5425
+ },
5426
+ {
5427
+ "path": "src/plugin/vault-sidebar-projection.ts",
5428
+ "kind": "import-statement",
5429
+ "original": "./vault-sidebar-projection"
5430
+ },
5358
5431
  {
5359
5432
  "path": "src/plugin/version.ts",
5360
5433
  "kind": "import-statement",
@@ -5380,7 +5453,7 @@
5380
5453
  "imports": [],
5381
5454
  "exports": [],
5382
5455
  "inputs": {},
5383
- "bytes": 3944648
5456
+ "bytes": 3959781
5384
5457
  },
5385
5458
  "dist/index.js": {
5386
5459
  "imports": [
@@ -6516,7 +6589,7 @@
6516
6589
  "bytesInOutput": 252
6517
6590
  },
6518
6591
  "src/plugin/index.ts": {
6519
- "bytesInOutput": 26204
6592
+ "bytesInOutput": 26974
6520
6593
  },
6521
6594
  "../core/dist/abort-forwarding.js": {
6522
6595
  "bytesInOutput": 440
@@ -6681,7 +6754,7 @@
6681
6754
  "bytesInOutput": 0
6682
6755
  },
6683
6756
  "src/sidebar-state.ts": {
6684
- "bytesInOutput": 16751
6757
+ "bytesInOutput": 17386
6685
6758
  },
6686
6759
  "../../node_modules/.bun/xdg-basedir@5.1.0/node_modules/xdg-basedir/index.js": {
6687
6760
  "bytesInOutput": 868
@@ -6702,7 +6775,7 @@
6702
6775
  "bytesInOutput": 0
6703
6776
  },
6704
6777
  "src/plugin/quota.ts": {
6705
- "bytesInOutput": 32189
6778
+ "bytesInOutput": 32219
6706
6779
  },
6707
6780
  "src/plugin/server.ts": {
6708
6781
  "bytesInOutput": 8220
@@ -6816,7 +6889,7 @@
6816
6889
  "bytesInOutput": 3910
6817
6890
  },
6818
6891
  "src/plugin/auth-loader.ts": {
6819
- "bytesInOutput": 16166
6892
+ "bytesInOutput": 16200
6820
6893
  },
6821
6894
  "src/plugin/refresh-queue.ts": {
6822
6895
  "bytesInOutput": 7176
@@ -6878,6 +6951,18 @@
6878
6951
  "src/plugin/background-quota-refresh.ts": {
6879
6952
  "bytesInOutput": 9891
6880
6953
  },
6954
+ "src/plugin/shared/vault-request-credentials.ts": {
6955
+ "bytesInOutput": 12653
6956
+ },
6957
+ "src/plugin/vault-quota-refresh.ts": {
6958
+ "bytesInOutput": 210
6959
+ },
6960
+ "src/plugin/vault-sidebar-projection.ts": {
6961
+ "bytesInOutput": 1041
6962
+ },
6963
+ "src/plugin/background-vault-quota-refresh.ts": {
6964
+ "bytesInOutput": 4387
6965
+ },
6881
6966
  "src/plugin/operator-settings.ts": {
6882
6967
  "bytesInOutput": 4426
6883
6968
  },
@@ -6935,9 +7020,6 @@
6935
7020
  "src/plugin/shared/request-services.ts": {
6936
7021
  "bytesInOutput": 77387
6937
7022
  },
6938
- "src/plugin/shared/vault-request-credentials.ts": {
6939
- "bytesInOutput": 12653
6940
- },
6941
7023
  "src/plugin/fetch-interceptor.ts": {
6942
7024
  "bytesInOutput": 7466
6943
7025
  },
@@ -6972,7 +7054,7 @@
6972
7054
  "bytesInOutput": 0
6973
7055
  }
6974
7056
  },
6975
- "bytes": 1738718
7057
+ "bytes": 1745955
6976
7058
  }
6977
7059
  }
6978
7060
  }