@cortexkit/opencode-antigravity-auth 3.0.21 → 3.0.22

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 (80) hide show
  1. package/dist/cli.js +279 -246
  2. package/dist/cli.js.map +3 -3
  3. package/dist/cli.meta.json +38 -13
  4. package/dist/index.js +766 -360
  5. package/dist/index.js.map +4 -4
  6. package/dist/index.meta.json +95 -20
  7. package/dist/server.js +785 -379
  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 +36 -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/tui/sidebar-frame.d.ts.map +1 -1
  43. package/dist/src/tui/sidebar-frame.js +18 -16
  44. package/dist/src/tui/sidebar-frame.js.map +1 -1
  45. package/dist/tui-build-map.json +13 -13
  46. package/dist/tui-ga-build-map.json +13 -13
  47. package/dist/types/src/common-auth-embedded/quota/format.d.ts +9 -4
  48. package/dist/types/src/common-auth-embedded/routing-accessor/index.d.ts +62 -0
  49. package/dist/types/src/plugin/index.d.ts.map +1 -1
  50. package/dist/types/src/plugin/request.d.ts.map +1 -1
  51. package/dist/types/src/plugin/shared/request-services.d.ts +6 -0
  52. package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
  53. package/dist/types/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
  54. package/dist/types/src/plugin/shared/vault-routing-purpose.d.ts +12 -0
  55. package/dist/types/src/plugin/shared/vault-routing-purpose.d.ts.map +1 -0
  56. package/dist/types/src/plugin/shared/vault-routing.d.ts +36 -0
  57. package/dist/types/src/plugin/shared/vault-routing.d.ts.map +1 -0
  58. package/dist/types/src/plugin/types.d.ts +1 -0
  59. package/dist/types/src/plugin/types.d.ts.map +1 -1
  60. package/package.json +2 -2
  61. package/src/common-auth-embedded/fs/refresh-file-lock.js +2 -2
  62. package/src/common-auth-embedded/fs/with-lock.js +37 -10
  63. package/src/common-auth-embedded/quota/format.d.ts +9 -4
  64. package/src/common-auth-embedded/quota/format.js +45 -26
  65. package/src/common-auth-embedded/quota-sidebar/index.tsx +56 -32
  66. package/src/common-auth-embedded/routing-accessor/index.d.ts +62 -0
  67. package/src/common-auth-embedded/routing-accessor/index.js +128 -0
  68. package/src/common-auth-embedded/source-output.json +42 -22
  69. package/src/tui-compiled/common-auth-embedded/quota/format.js +45 -26
  70. package/src/tui-compiled/common-auth-embedded/quota-sidebar/index.js +165 -148
  71. package/src/tui-compiled/tui/sidebar-frame.js +17 -16
  72. package/src/tui-ga-compiled/shared/aef2402f8fc342f0-format.js +45 -26
  73. package/src/tui-ga-compiled/shared/ced204104a639c9c-sidebar-frame.js +17 -16
  74. package/src/tui-ga-compiled/shared/e4ec36f367492969-index.js +165 -148
  75. package/src/tui-ga-raw/shared/aef2402f8fc342f0-format.js +45 -26
  76. package/src/tui-ga-raw/shared/ced204104a639c9c-sidebar-frame.tsx +21 -19
  77. package/src/tui-ga-raw/shared/e4ec36f367492969-index.tsx +56 -32
  78. package/src/tui-raw/common-auth-embedded/quota/format.js +45 -26
  79. package/src/tui-raw/common-auth-embedded/quota-sidebar/index.tsx +56 -32
  80. 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",
@@ -3646,8 +3656,18 @@
3646
3656
  "format": "esm"
3647
3657
  },
3648
3658
  "src/common-auth-embedded/fs/with-lock.js": {
3649
- "bytes": 1803,
3659
+ "bytes": 3003,
3650
3660
  "imports": [
3661
+ {
3662
+ "path": "node:path",
3663
+ "kind": "import-statement",
3664
+ "external": true
3665
+ },
3666
+ {
3667
+ "path": "src/common-auth-embedded/fs/private-files.js",
3668
+ "kind": "import-statement",
3669
+ "original": "./private-files.js"
3670
+ },
3651
3671
  {
3652
3672
  "path": "src/common-auth-embedded/fs/refresh-file-lock.js",
3653
3673
  "kind": "import-statement",
@@ -3657,7 +3677,7 @@
3657
3677
  "format": "esm"
3658
3678
  },
3659
3679
  "src/common-auth-embedded/fs/refresh-file-lock.js": {
3660
- "bytes": 37832,
3680
+ "bytes": 37831,
3661
3681
  "imports": [
3662
3682
  {
3663
3683
  "path": "node:crypto",
@@ -5348,7 +5368,7 @@
5348
5368
  "format": "esm"
5349
5369
  },
5350
5370
  "src/plugin/request.ts": {
5351
- "bytes": 101874,
5371
+ "bytes": 101933,
5352
5372
  "imports": [
5353
5373
  {
5354
5374
  "path": "node:crypto",
@@ -5833,6 +5853,11 @@
5833
5853
  ],
5834
5854
  "format": "esm"
5835
5855
  },
5856
+ "src/common-auth-embedded/routing-accessor/index.js": {
5857
+ "bytes": 4967,
5858
+ "imports": [],
5859
+ "format": "esm"
5860
+ },
5836
5861
  "src/plugin/errors.ts": {
5837
5862
  "bytes": 2861,
5838
5863
  "imports": [],
@@ -5890,14 +5915,35 @@
5890
5915
  ],
5891
5916
  "format": "esm"
5892
5917
  },
5918
+ "src/plugin/shared/vault-routing.ts": {
5919
+ "bytes": 7740,
5920
+ "imports": [
5921
+ {
5922
+ "path": "src/common-auth-embedded/routing-accessor/index.js",
5923
+ "kind": "import-statement",
5924
+ "original": "../../common-auth-embedded/routing-accessor/index.js"
5925
+ }
5926
+ ],
5927
+ "format": "esm"
5928
+ },
5929
+ "src/plugin/shared/vault-routing-purpose.ts": {
5930
+ "bytes": 838,
5931
+ "imports": [],
5932
+ "format": "esm"
5933
+ },
5893
5934
  "src/plugin/shared/request-services.ts": {
5894
- "bytes": 116595,
5935
+ "bytes": 121904,
5895
5936
  "imports": [
5896
5937
  {
5897
5938
  "path": "../core/dist/index.js",
5898
5939
  "kind": "import-statement",
5899
5940
  "original": "@cortexkit/antigravity-auth-core"
5900
5941
  },
5942
+ {
5943
+ "path": "src/common-auth-embedded/routing-accessor/index.js",
5944
+ "kind": "import-statement",
5945
+ "original": "../../common-auth-embedded/routing-accessor/index.js"
5946
+ },
5901
5947
  {
5902
5948
  "path": "src/constants.ts",
5903
5949
  "kind": "import-statement",
@@ -5957,6 +6003,16 @@
5957
6003
  "path": "src/plugin/shared/request-cancellation.ts",
5958
6004
  "kind": "import-statement",
5959
6005
  "original": "./request-cancellation"
6006
+ },
6007
+ {
6008
+ "path": "src/plugin/shared/vault-routing.ts",
6009
+ "kind": "import-statement",
6010
+ "original": "./vault-routing"
6011
+ },
6012
+ {
6013
+ "path": "src/plugin/shared/vault-routing-purpose.ts",
6014
+ "kind": "import-statement",
6015
+ "original": "./vault-routing-purpose"
5960
6016
  }
5961
6017
  ],
5962
6018
  "format": "esm"
@@ -6144,7 +6200,7 @@
6144
6200
  "format": "esm"
6145
6201
  },
6146
6202
  "src/plugin/index.ts": {
6147
- "bytes": 41289,
6203
+ "bytes": 41425,
6148
6204
  "imports": [
6149
6205
  {
6150
6206
  "path": "node:crypto",
@@ -6356,6 +6412,11 @@
6356
6412
  "kind": "import-statement",
6357
6413
  "original": "./shared/vault-request-credentials"
6358
6414
  },
6415
+ {
6416
+ "path": "src/plugin/shared/vault-routing-purpose.ts",
6417
+ "kind": "import-statement",
6418
+ "original": "./shared/vault-routing-purpose"
6419
+ },
6359
6420
  {
6360
6421
  "path": "src/plugin/storage.ts",
6361
6422
  "kind": "import-statement",
@@ -6406,7 +6467,7 @@
6406
6467
  "imports": [],
6407
6468
  "exports": [],
6408
6469
  "inputs": {},
6409
- "bytes": 4679945
6470
+ "bytes": 4712303
6410
6471
  },
6411
6472
  "dist/index.js": {
6412
6473
  "imports": [
@@ -6600,6 +6661,11 @@
6600
6661
  "kind": "import-statement",
6601
6662
  "external": true
6602
6663
  },
6664
+ {
6665
+ "path": "node:path",
6666
+ "kind": "import-statement",
6667
+ "external": true
6668
+ },
6603
6669
  {
6604
6670
  "path": "node:async_hooks",
6605
6671
  "kind": "import-statement",
@@ -7654,7 +7720,7 @@
7654
7720
  "bytesInOutput": 294
7655
7721
  },
7656
7722
  "../core/dist/common-auth-embedded/quota/format.js": {
7657
- "bytesInOutput": 9610
7723
+ "bytesInOutput": 10098
7658
7724
  },
7659
7725
  "../core/dist/common-auth-embedded/quota/projection.js": {
7660
7726
  "bytesInOutput": 3631
@@ -7684,7 +7750,7 @@
7684
7750
  "bytesInOutput": 23135
7685
7751
  },
7686
7752
  "../core/dist/common-auth-embedded/fs/with-lock.js": {
7687
- "bytesInOutput": 1730
7753
+ "bytesInOutput": 2510
7688
7754
  },
7689
7755
  "../core/dist/common-auth-embedded/store/hooks.js": {
7690
7756
  "bytesInOutput": 871
@@ -7867,7 +7933,7 @@
7867
7933
  "bytesInOutput": 33679
7868
7934
  },
7869
7935
  "../core/dist/common-auth-embedded/claustrum/hub.js": {
7870
- "bytesInOutput": 38587
7936
+ "bytesInOutput": 38590
7871
7937
  },
7872
7938
  "../core/dist/common-auth-embedded/claustrum/index.js": {
7873
7939
  "bytesInOutput": 4669
@@ -7948,7 +8014,7 @@
7948
8014
  "bytesInOutput": 115
7949
8015
  },
7950
8016
  "src/common-auth-embedded/fs/private-files.js": {
7951
- "bytesInOutput": 11075
8017
+ "bytesInOutput": 11077
7952
8018
  },
7953
8019
  "src/common-auth-embedded/logger/redact.js": {
7954
8020
  "bytesInOutput": 2923
@@ -7963,7 +8029,7 @@
7963
8029
  "bytesInOutput": 307
7964
8030
  },
7965
8031
  "src/plugin/shared/vault-request-credentials.ts": {
7966
- "bytesInOutput": 17030
8032
+ "bytesInOutput": 17159
7967
8033
  },
7968
8034
  "src/plugin/vault-insula-quota.ts": {
7969
8035
  "bytesInOutput": 2028
@@ -7996,7 +8062,7 @@
7996
8062
  "bytesInOutput": 3600
7997
8063
  },
7998
8064
  "src/plugin/index.ts": {
7999
- "bytesInOutput": 28506
8065
+ "bytesInOutput": 28565
8000
8066
  },
8001
8067
  "src/cli.ts": {
8002
8068
  "bytesInOutput": 23213
@@ -8077,7 +8143,7 @@
8077
8143
  "bytesInOutput": 22985
8078
8144
  },
8079
8145
  "src/common-auth-embedded/fs/with-lock.js": {
8080
- "bytesInOutput": 294
8146
+ "bytesInOutput": 317
8081
8147
  },
8082
8148
  "src/common-auth-embedded/claustrum/errors.js": {
8083
8149
  "bytesInOutput": 182
@@ -8224,7 +8290,7 @@
8224
8290
  "bytesInOutput": 7192
8225
8291
  },
8226
8292
  "src/plugin/request.ts": {
8227
- "bytesInOutput": 70072
8293
+ "bytesInOutput": 70132
8228
8294
  },
8229
8295
  "src/plugin/cache.ts": {
8230
8296
  "bytesInOutput": 9034
@@ -8335,7 +8401,10 @@
8335
8401
  "bytesInOutput": 7610
8336
8402
  },
8337
8403
  "src/plugin/shared/request-services.ts": {
8338
- "bytesInOutput": 78837
8404
+ "bytesInOutput": 82563
8405
+ },
8406
+ "src/common-auth-embedded/routing-accessor/index.js": {
8407
+ "bytesInOutput": 3335
8339
8408
  },
8340
8409
  "src/plugin/errors.ts": {
8341
8410
  "bytesInOutput": 583
@@ -8355,6 +8424,12 @@
8355
8424
  "src/plugin/session-context.ts": {
8356
8425
  "bytesInOutput": 2271
8357
8426
  },
8427
+ "src/plugin/shared/vault-routing.ts": {
8428
+ "bytesInOutput": 5670
8429
+ },
8430
+ "src/plugin/shared/vault-routing-purpose.ts": {
8431
+ "bytesInOutput": 526
8432
+ },
8358
8433
  "../../node_modules/.bun/@opencode-ai+plugin@1.17.13+b766ee0bec30d060/node_modules/@opencode-ai/plugin/dist/tool.js": {
8359
8434
  "bytesInOutput": 92
8360
8435
  },
@@ -8380,7 +8455,7 @@
8380
8455
  "bytesInOutput": 0
8381
8456
  }
8382
8457
  },
8383
- "bytes": 2115004
8458
+ "bytes": 2129946
8384
8459
  }
8385
8460
  }
8386
8461
  }