@cortexkit/opencode-antigravity-auth 3.0.21 → 3.0.23

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 (94) hide show
  1. package/dist/cli.js +565 -444
  2. package/dist/cli.js.map +4 -4
  3. package/dist/cli.meta.json +99 -49
  4. package/dist/index.js +1151 -656
  5. package/dist/index.js.map +4 -4
  6. package/dist/index.meta.json +156 -56
  7. package/dist/server.js +1180 -680
  8. package/dist/server.js.map +4 -4
  9. package/dist/server.meta.json +1 -1
  10. package/dist/src/common-auth-embedded/fs/refresh-file-lock.js +2 -2
  11. package/dist/src/common-auth-embedded/fs/with-lock.js +37 -10
  12. package/dist/src/common-auth-embedded/quota/format.d.ts +9 -4
  13. package/dist/src/common-auth-embedded/quota/format.js +45 -26
  14. package/dist/src/common-auth-embedded/quota-sidebar/index.tsx +56 -32
  15. package/dist/src/common-auth-embedded/routing-accessor/index.d.ts +62 -0
  16. package/dist/src/common-auth-embedded/routing-accessor/index.js +128 -0
  17. package/dist/src/common-auth-embedded/source-output.json +42 -22
  18. package/dist/src/plugin/__fixtures__/verified-store.js +2 -2
  19. package/dist/src/plugin/index.d.ts.map +1 -1
  20. package/dist/src/plugin/index.js +2 -0
  21. package/dist/src/plugin/index.js.map +1 -1
  22. package/dist/src/plugin/request.d.ts.map +1 -1
  23. package/dist/src/plugin/request.js +1 -0
  24. package/dist/src/plugin/request.js.map +1 -1
  25. package/dist/src/plugin/shared/request-services.d.ts +6 -0
  26. package/dist/src/plugin/shared/request-services.d.ts.map +1 -1
  27. package/dist/src/plugin/shared/request-services.js +89 -2
  28. package/dist/src/plugin/shared/request-services.js.map +1 -1
  29. package/dist/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
  30. package/dist/src/plugin/shared/vault-request-credentials.js +4 -0
  31. package/dist/src/plugin/shared/vault-request-credentials.js.map +1 -1
  32. package/dist/src/plugin/shared/vault-routing-purpose.d.ts +12 -0
  33. package/dist/src/plugin/shared/vault-routing-purpose.d.ts.map +1 -0
  34. package/dist/src/plugin/shared/vault-routing-purpose.js +18 -0
  35. package/dist/src/plugin/shared/vault-routing-purpose.js.map +1 -0
  36. package/dist/src/plugin/shared/vault-routing.d.ts +39 -0
  37. package/dist/src/plugin/shared/vault-routing.d.ts.map +1 -0
  38. package/dist/src/plugin/shared/vault-routing.js +213 -0
  39. package/dist/src/plugin/shared/vault-routing.js.map +1 -0
  40. package/dist/src/plugin/types.d.ts +1 -0
  41. package/dist/src/plugin/types.d.ts.map +1 -1
  42. package/dist/src/runtime-layout.d.ts.map +1 -1
  43. package/dist/src/runtime-layout.js +14 -3
  44. package/dist/src/runtime-layout.js.map +1 -1
  45. package/dist/src/tui/sidebar-frame.d.ts.map +1 -1
  46. package/dist/src/tui/sidebar-frame.js +18 -16
  47. package/dist/src/tui/sidebar-frame.js.map +1 -1
  48. package/dist/src/vault-folder.d.ts.map +1 -1
  49. package/dist/src/vault-folder.js +51 -14
  50. package/dist/src/vault-folder.js.map +1 -1
  51. package/dist/src/version-fence.d.ts +5 -0
  52. package/dist/src/version-fence.d.ts.map +1 -1
  53. package/dist/src/version-fence.js +64 -7
  54. package/dist/src/version-fence.js.map +1 -1
  55. package/dist/tui-build-map.json +13 -13
  56. package/dist/tui-ga-build-map.json +13 -13
  57. package/dist/types/src/common-auth-embedded/quota/format.d.ts +9 -4
  58. package/dist/types/src/common-auth-embedded/routing-accessor/index.d.ts +62 -0
  59. package/dist/types/src/plugin/index.d.ts.map +1 -1
  60. package/dist/types/src/plugin/request.d.ts.map +1 -1
  61. package/dist/types/src/plugin/shared/request-services.d.ts +6 -0
  62. package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
  63. package/dist/types/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
  64. package/dist/types/src/plugin/shared/vault-routing-purpose.d.ts +12 -0
  65. package/dist/types/src/plugin/shared/vault-routing-purpose.d.ts.map +1 -0
  66. package/dist/types/src/plugin/shared/vault-routing.d.ts +39 -0
  67. package/dist/types/src/plugin/shared/vault-routing.d.ts.map +1 -0
  68. package/dist/types/src/plugin/types.d.ts +1 -0
  69. package/dist/types/src/plugin/types.d.ts.map +1 -1
  70. package/dist/types/src/runtime-layout.d.ts.map +1 -1
  71. package/dist/types/src/vault-folder.d.ts.map +1 -1
  72. package/dist/types/src/version-fence.d.ts +5 -0
  73. package/dist/types/src/version-fence.d.ts.map +1 -1
  74. package/package.json +2 -2
  75. package/src/common-auth-embedded/fs/refresh-file-lock.js +2 -2
  76. package/src/common-auth-embedded/fs/with-lock.js +37 -10
  77. package/src/common-auth-embedded/quota/format.d.ts +9 -4
  78. package/src/common-auth-embedded/quota/format.js +45 -26
  79. package/src/common-auth-embedded/quota-sidebar/index.tsx +56 -32
  80. package/src/common-auth-embedded/routing-accessor/index.d.ts +62 -0
  81. package/src/common-auth-embedded/routing-accessor/index.js +128 -0
  82. package/src/common-auth-embedded/source-output.json +42 -22
  83. package/src/tui-compiled/common-auth-embedded/quota/format.js +45 -26
  84. package/src/tui-compiled/common-auth-embedded/quota-sidebar/index.js +165 -148
  85. package/src/tui-compiled/tui/sidebar-frame.js +17 -16
  86. package/src/tui-ga-compiled/shared/aef2402f8fc342f0-format.js +45 -26
  87. package/src/tui-ga-compiled/shared/ced204104a639c9c-sidebar-frame.js +17 -16
  88. package/src/tui-ga-compiled/shared/e4ec36f367492969-index.js +165 -148
  89. package/src/tui-ga-raw/shared/aef2402f8fc342f0-format.js +45 -26
  90. package/src/tui-ga-raw/shared/ced204104a639c9c-sidebar-frame.tsx +21 -19
  91. package/src/tui-ga-raw/shared/e4ec36f367492969-index.tsx +56 -32
  92. package/src/tui-raw/common-auth-embedded/quota/format.js +45 -26
  93. package/src/tui-raw/common-auth-embedded/quota-sidebar/index.tsx +56 -32
  94. package/src/tui-raw/tui/sidebar-frame.tsx +21 -19
@@ -503,7 +503,7 @@
503
503
  "format": "esm"
504
504
  },
505
505
  "../core/dist/common-auth-embedded/quota/format.js": {
506
- "bytes": 18143,
506
+ "bytes": 18881,
507
507
  "imports": [
508
508
  {
509
509
  "path": "../core/dist/common-auth-embedded/quota/map.js",
@@ -629,7 +629,7 @@
629
629
  "format": "esm"
630
630
  },
631
631
  "../core/dist/common-auth-embedded/fs/refresh-file-lock.js": {
632
- "bytes": 37832,
632
+ "bytes": 37831,
633
633
  "imports": [
634
634
  {
635
635
  "path": "node:crypto",
@@ -660,8 +660,18 @@
660
660
  "format": "esm"
661
661
  },
662
662
  "../core/dist/common-auth-embedded/fs/with-lock.js": {
663
- "bytes": 1803,
663
+ "bytes": 3003,
664
664
  "imports": [
665
+ {
666
+ "path": "node:path",
667
+ "kind": "import-statement",
668
+ "external": true
669
+ },
670
+ {
671
+ "path": "../core/dist/common-auth-embedded/fs/private-files.js",
672
+ "kind": "import-statement",
673
+ "original": "./private-files.js"
674
+ },
665
675
  {
666
676
  "path": "../core/dist/common-auth-embedded/fs/refresh-file-lock.js",
667
677
  "kind": "import-statement",
@@ -2932,7 +2942,7 @@
2932
2942
  "format": "esm"
2933
2943
  },
2934
2944
  "src/plugin/shared/vault-request-credentials.ts": {
2935
- "bytes": 32268,
2945
+ "bytes": 32398,
2936
2946
  "imports": [
2937
2947
  {
2938
2948
  "path": "../core/dist/index.js",
@@ -3035,7 +3045,7 @@
3035
3045
  "format": "esm"
3036
3046
  },
3037
3047
  "src/version-fence.ts": {
3038
- "bytes": 16788,
3048
+ "bytes": 19099,
3039
3049
  "imports": [
3040
3050
  {
3041
3051
  "path": "node:fs/promises",
@@ -3051,12 +3061,53 @@
3051
3061
  "path": "node:path",
3052
3062
  "kind": "import-statement",
3053
3063
  "external": true
3064
+ },
3065
+ {
3066
+ "path": "src/plugin/logger.ts",
3067
+ "kind": "import-statement",
3068
+ "original": "./plugin/logger.ts"
3069
+ }
3070
+ ],
3071
+ "format": "esm"
3072
+ },
3073
+ "src/vault-folder.ts": {
3074
+ "bytes": 7179,
3075
+ "imports": [
3076
+ {
3077
+ "path": "node:path",
3078
+ "kind": "import-statement",
3079
+ "external": true
3080
+ },
3081
+ {
3082
+ "path": "src/common-auth-embedded/fs/private-files.js",
3083
+ "kind": "import-statement",
3084
+ "original": "./common-auth-embedded/fs/private-files.js"
3085
+ },
3086
+ {
3087
+ "path": "src/plugin/logger.ts",
3088
+ "kind": "import-statement",
3089
+ "original": "./plugin/logger"
3090
+ },
3091
+ {
3092
+ "path": "src/process-heartbeat.ts",
3093
+ "kind": "import-statement",
3094
+ "original": "./process-heartbeat"
3095
+ },
3096
+ {
3097
+ "path": "src/runtime-layout.ts",
3098
+ "kind": "import-statement",
3099
+ "original": "./runtime-layout"
3100
+ },
3101
+ {
3102
+ "path": "src/runtime-paths.ts",
3103
+ "kind": "import-statement",
3104
+ "original": "./runtime-paths"
3054
3105
  }
3055
3106
  ],
3056
3107
  "format": "esm"
3057
3108
  },
3058
3109
  "src/runtime-layout.ts": {
3059
- "bytes": 83839,
3110
+ "bytes": 84298,
3060
3111
  "imports": [
3061
3112
  {
3062
3113
  "path": "node:crypto",
@@ -3108,6 +3159,11 @@
3108
3159
  "kind": "import-statement",
3109
3160
  "original": "./version-fence"
3110
3161
  },
3162
+ {
3163
+ "path": "src/vault-folder.ts",
3164
+ "kind": "dynamic-import",
3165
+ "original": "./vault-folder"
3166
+ },
3111
3167
  {
3112
3168
  "path": "@cortexkit/private-files",
3113
3169
  "kind": "dynamic-import",
@@ -3646,8 +3702,18 @@
3646
3702
  "format": "esm"
3647
3703
  },
3648
3704
  "src/common-auth-embedded/fs/with-lock.js": {
3649
- "bytes": 1803,
3705
+ "bytes": 3003,
3650
3706
  "imports": [
3707
+ {
3708
+ "path": "node:path",
3709
+ "kind": "import-statement",
3710
+ "external": true
3711
+ },
3712
+ {
3713
+ "path": "src/common-auth-embedded/fs/private-files.js",
3714
+ "kind": "import-statement",
3715
+ "original": "./private-files.js"
3716
+ },
3651
3717
  {
3652
3718
  "path": "src/common-auth-embedded/fs/refresh-file-lock.js",
3653
3719
  "kind": "import-statement",
@@ -3657,7 +3723,7 @@
3657
3723
  "format": "esm"
3658
3724
  },
3659
3725
  "src/common-auth-embedded/fs/refresh-file-lock.js": {
3660
- "bytes": 37832,
3726
+ "bytes": 37831,
3661
3727
  "imports": [
3662
3728
  {
3663
3729
  "path": "node:crypto",
@@ -4126,32 +4192,6 @@
4126
4192
  ],
4127
4193
  "format": "esm"
4128
4194
  },
4129
- "src/vault-folder.ts": {
4130
- "bytes": 5505,
4131
- "imports": [
4132
- {
4133
- "path": "src/plugin/logger.ts",
4134
- "kind": "import-statement",
4135
- "original": "./plugin/logger"
4136
- },
4137
- {
4138
- "path": "src/process-heartbeat.ts",
4139
- "kind": "import-statement",
4140
- "original": "./process-heartbeat"
4141
- },
4142
- {
4143
- "path": "src/runtime-layout.ts",
4144
- "kind": "import-statement",
4145
- "original": "./runtime-layout"
4146
- },
4147
- {
4148
- "path": "src/runtime-paths.ts",
4149
- "kind": "import-statement",
4150
- "original": "./runtime-paths"
4151
- }
4152
- ],
4153
- "format": "esm"
4154
- },
4155
4195
  "src/setup.ts": {
4156
4196
  "bytes": 18714,
4157
4197
  "imports": [
@@ -4315,7 +4355,7 @@
4315
4355
  "imports": [],
4316
4356
  "exports": [],
4317
4357
  "inputs": {},
4318
- "bytes": 3154877
4358
+ "bytes": 3165800
4319
4359
  },
4320
4360
  "dist/cli.js": {
4321
4361
  "imports": [
@@ -4484,6 +4524,11 @@
4484
4524
  "kind": "import-statement",
4485
4525
  "external": true
4486
4526
  },
4527
+ {
4528
+ "path": "node:path",
4529
+ "kind": "import-statement",
4530
+ "external": true
4531
+ },
4487
4532
  {
4488
4533
  "path": "node:async_hooks",
4489
4534
  "kind": "import-statement",
@@ -4789,6 +4834,11 @@
4789
4834
  "kind": "import-statement",
4790
4835
  "external": true
4791
4836
  },
4837
+ {
4838
+ "path": "node:path",
4839
+ "kind": "import-statement",
4840
+ "external": true
4841
+ },
4792
4842
  {
4793
4843
  "path": "node:crypto",
4794
4844
  "kind": "import-statement",
@@ -5162,7 +5212,7 @@
5162
5212
  "bytesInOutput": 294
5163
5213
  },
5164
5214
  "../core/dist/common-auth-embedded/quota/format.js": {
5165
- "bytesInOutput": 9553
5215
+ "bytesInOutput": 10031
5166
5216
  },
5167
5217
  "../core/dist/common-auth-embedded/quota/projection.js": {
5168
5218
  "bytesInOutput": 3631
@@ -5192,7 +5242,7 @@
5192
5242
  "bytesInOutput": 23135
5193
5243
  },
5194
5244
  "../core/dist/common-auth-embedded/fs/with-lock.js": {
5195
- "bytesInOutput": 1730
5245
+ "bytesInOutput": 2510
5196
5246
  },
5197
5247
  "../core/dist/common-auth-embedded/store/hooks.js": {
5198
5248
  "bytesInOutput": 871
@@ -5375,7 +5425,7 @@
5375
5425
  "bytesInOutput": 33679
5376
5426
  },
5377
5427
  "../core/dist/common-auth-embedded/claustrum/hub.js": {
5378
- "bytesInOutput": 38584
5428
+ "bytesInOutput": 38587
5379
5429
  },
5380
5430
  "../core/dist/common-auth-embedded/claustrum/index.js": {
5381
5431
  "bytesInOutput": 4669
@@ -5456,7 +5506,7 @@
5456
5506
  "bytesInOutput": 115
5457
5507
  },
5458
5508
  "src/common-auth-embedded/fs/private-files.js": {
5459
- "bytesInOutput": 11075
5509
+ "bytesInOutput": 11077
5460
5510
  },
5461
5511
  "src/common-auth-embedded/logger/redact.js": {
5462
5512
  "bytesInOutput": 2923
@@ -5483,10 +5533,13 @@
5483
5533
  "bytesInOutput": 8699
5484
5534
  },
5485
5535
  "src/version-fence.ts": {
5486
- "bytesInOutput": 6382
5536
+ "bytesInOutput": 7744
5537
+ },
5538
+ "src/vault-folder.ts": {
5539
+ "bytesInOutput": 3705
5487
5540
  },
5488
5541
  "src/runtime-layout.ts": {
5489
- "bytesInOutput": 46055
5542
+ "bytesInOutput": 46416
5490
5543
  },
5491
5544
  "src/plugin/storage.ts": {
5492
5545
  "bytesInOutput": 11075
@@ -5504,7 +5557,7 @@
5504
5557
  "bytesInOutput": 3416
5505
5558
  },
5506
5559
  "src/cli.ts": {
5507
- "bytesInOutput": 23209
5560
+ "bytesInOutput": 23230
5508
5561
  },
5509
5562
  "src/antigravity/oauth.ts": {
5510
5563
  "bytesInOutput": 13
@@ -5546,7 +5599,7 @@
5546
5599
  "bytesInOutput": 8443
5547
5600
  },
5548
5601
  "src/setup.ts": {
5549
- "bytesInOutput": 14122
5602
+ "bytesInOutput": 14143
5550
5603
  },
5551
5604
  "src/auth-method-labels.ts": {
5552
5605
  "bytesInOutput": 142
@@ -5576,10 +5629,10 @@
5576
5629
  "bytesInOutput": 275
5577
5630
  },
5578
5631
  "src/common-auth-embedded/fs/refresh-file-lock.js": {
5579
- "bytesInOutput": 22980
5632
+ "bytesInOutput": 22985
5580
5633
  },
5581
5634
  "src/common-auth-embedded/fs/with-lock.js": {
5582
- "bytesInOutput": 294
5635
+ "bytesInOutput": 317
5583
5636
  },
5584
5637
  "src/common-auth-embedded/claustrum/errors.js": {
5585
5638
  "bytesInOutput": 182
@@ -5622,12 +5675,9 @@
5622
5675
  },
5623
5676
  "src/plugin/vault-activation.ts": {
5624
5677
  "bytesInOutput": 292
5625
- },
5626
- "src/vault-folder.ts": {
5627
- "bytesInOutput": 1955
5628
5678
  }
5629
5679
  },
5630
- "bytes": 1184003
5680
+ "bytes": 1188792
5631
5681
  }
5632
5682
  }
5633
5683
  }