@cortexkit/opencode-antigravity-auth 3.0.9 → 3.0.10

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 (99) hide show
  1. package/dist/cli.js +489 -175
  2. package/dist/cli.js.map +4 -4
  3. package/dist/cli.meta.json +101 -37
  4. package/dist/index.js +666 -269
  5. package/dist/index.js.map +4 -4
  6. package/dist/index.meta.json +106 -42
  7. package/dist/server.js +697 -300
  8. package/dist/server.js.map +4 -4
  9. package/dist/server.meta.json +1 -1
  10. package/dist/src/common-auth-embedded/claustrum/consumer.d.ts +3 -1
  11. package/dist/src/common-auth-embedded/claustrum/consumer.js +25 -21
  12. package/dist/src/common-auth-embedded/claustrum/index.d.ts +1 -0
  13. package/dist/src/common-auth-embedded/claustrum/index.js +1 -0
  14. package/dist/src/common-auth-embedded/claustrum/quota-writer.d.ts +18 -0
  15. package/dist/src/common-auth-embedded/claustrum/quota-writer.js +253 -0
  16. package/dist/src/common-auth-embedded/claustrum/roster.d.ts +18 -2
  17. package/dist/src/common-auth-embedded/claustrum/roster.js +100 -43
  18. package/dist/src/common-auth-embedded/fs/with-lock.d.ts +1 -0
  19. package/dist/src/common-auth-embedded/fs/with-lock.js +2 -0
  20. package/dist/src/common-auth-embedded/quota/format.d.ts +19 -0
  21. package/dist/src/common-auth-embedded/quota/format.js +50 -5
  22. package/dist/src/common-auth-embedded/quota/index.d.ts +3 -3
  23. package/dist/src/common-auth-embedded/quota/index.js +2 -2
  24. package/dist/src/common-auth-embedded/quota/map.d.ts +24 -1
  25. package/dist/src/common-auth-embedded/quota/map.js +31 -6
  26. package/dist/src/common-auth-embedded/quota/merge.d.ts +6 -1
  27. package/dist/src/common-auth-embedded/quota/merge.js +17 -3
  28. package/dist/src/common-auth-embedded/quota/projection.d.ts +3 -1
  29. package/dist/src/common-auth-embedded/quota/projection.js +3 -1
  30. package/dist/src/common-auth-embedded/setup/process-fence.d.ts +7 -0
  31. package/dist/src/common-auth-embedded/setup/process-fence.js +5 -3
  32. package/dist/src/common-auth-embedded/source-output.json +83 -67
  33. package/dist/src/plugin/request-helpers.d.ts +5 -0
  34. package/dist/src/plugin/request-helpers.d.ts.map +1 -1
  35. package/dist/src/plugin/request-helpers.js +1 -0
  36. package/dist/src/plugin/request-helpers.js.map +1 -1
  37. package/dist/src/plugin/shared/request-services.d.ts.map +1 -1
  38. package/dist/src/plugin/shared/request-services.js +123 -5
  39. package/dist/src/plugin/shared/request-services.js.map +1 -1
  40. package/dist/tui-build-map.json +21 -21
  41. package/dist/tui-ga-build-map.json +21 -21
  42. package/dist/types/src/common-auth-embedded/claustrum/consumer.d.ts +3 -1
  43. package/dist/types/src/common-auth-embedded/claustrum/index.d.ts +1 -0
  44. package/dist/types/src/common-auth-embedded/claustrum/quota-writer.d.ts +18 -0
  45. package/dist/types/src/common-auth-embedded/claustrum/roster.d.ts +18 -2
  46. package/dist/types/src/common-auth-embedded/quota/format.d.ts +19 -0
  47. package/dist/types/src/common-auth-embedded/quota/index.d.ts +3 -3
  48. package/dist/types/src/common-auth-embedded/quota/map.d.ts +24 -1
  49. package/dist/types/src/common-auth-embedded/quota/merge.d.ts +6 -1
  50. package/dist/types/src/common-auth-embedded/quota/projection.d.ts +3 -1
  51. package/dist/types/src/common-auth-embedded/setup/process-fence.d.ts +7 -0
  52. package/dist/types/src/plugin/config/schema.d.ts +2 -2
  53. package/dist/types/src/plugin/request-helpers.d.ts +5 -0
  54. package/dist/types/src/plugin/request-helpers.d.ts.map +1 -1
  55. package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
  56. package/package.json +2 -2
  57. package/src/common-auth-embedded/claustrum/consumer.d.ts +3 -1
  58. package/src/common-auth-embedded/claustrum/consumer.js +25 -21
  59. package/src/common-auth-embedded/claustrum/index.d.ts +1 -0
  60. package/src/common-auth-embedded/claustrum/index.js +1 -0
  61. package/src/common-auth-embedded/claustrum/quota-writer.d.ts +18 -0
  62. package/src/common-auth-embedded/claustrum/quota-writer.js +253 -0
  63. package/src/common-auth-embedded/claustrum/roster.d.ts +18 -2
  64. package/src/common-auth-embedded/claustrum/roster.js +100 -43
  65. package/src/common-auth-embedded/fs/with-lock.d.ts +1 -0
  66. package/src/common-auth-embedded/fs/with-lock.js +2 -0
  67. package/src/common-auth-embedded/quota/format.d.ts +19 -0
  68. package/src/common-auth-embedded/quota/format.js +50 -5
  69. package/src/common-auth-embedded/quota/index.d.ts +3 -3
  70. package/src/common-auth-embedded/quota/index.js +2 -2
  71. package/src/common-auth-embedded/quota/map.d.ts +24 -1
  72. package/src/common-auth-embedded/quota/map.js +31 -6
  73. package/src/common-auth-embedded/quota/merge.d.ts +6 -1
  74. package/src/common-auth-embedded/quota/merge.js +17 -3
  75. package/src/common-auth-embedded/quota/projection.d.ts +3 -1
  76. package/src/common-auth-embedded/quota/projection.js +3 -1
  77. package/src/common-auth-embedded/setup/process-fence.d.ts +7 -0
  78. package/src/common-auth-embedded/setup/process-fence.js +5 -3
  79. package/src/common-auth-embedded/source-output.json +83 -67
  80. package/src/tui-compiled/common-auth-embedded/quota/format.js +50 -5
  81. package/src/tui-compiled/common-auth-embedded/quota/index.js +2 -2
  82. package/src/tui-compiled/common-auth-embedded/quota/map.js +31 -6
  83. package/src/tui-compiled/common-auth-embedded/quota/merge.js +17 -3
  84. package/src/tui-compiled/common-auth-embedded/quota/projection.js +3 -1
  85. package/src/tui-ga-compiled/shared/1ff34afa7c42d196-projection.js +3 -1
  86. package/src/tui-ga-compiled/shared/77138df80c7ae006-map.js +31 -6
  87. package/src/tui-ga-compiled/shared/aef2402f8fc342f0-format.js +50 -5
  88. package/src/tui-ga-compiled/shared/bf17cbee28e58197-index.js +2 -2
  89. package/src/tui-ga-compiled/shared/ecc214300932dfb6-merge.js +17 -3
  90. package/src/tui-ga-raw/shared/1ff34afa7c42d196-projection.js +3 -1
  91. package/src/tui-ga-raw/shared/77138df80c7ae006-map.js +31 -6
  92. package/src/tui-ga-raw/shared/aef2402f8fc342f0-format.js +50 -5
  93. package/src/tui-ga-raw/shared/bf17cbee28e58197-index.js +2 -2
  94. package/src/tui-ga-raw/shared/ecc214300932dfb6-merge.js +17 -3
  95. package/src/tui-raw/common-auth-embedded/quota/format.js +50 -5
  96. package/src/tui-raw/common-auth-embedded/quota/index.js +2 -2
  97. package/src/tui-raw/common-auth-embedded/quota/map.js +31 -6
  98. package/src/tui-raw/common-auth-embedded/quota/merge.js +17 -3
  99. package/src/tui-raw/common-auth-embedded/quota/projection.js +3 -1
@@ -435,12 +435,12 @@
435
435
  "format": "esm"
436
436
  },
437
437
  "../core/dist/common-auth-embedded/quota/map.js": {
438
- "bytes": 5669,
438
+ "bytes": 6610,
439
439
  "imports": [],
440
440
  "format": "esm"
441
441
  },
442
442
  "../core/dist/common-auth-embedded/quota/merge.js": {
443
- "bytes": 7439,
443
+ "bytes": 8096,
444
444
  "imports": [
445
445
  {
446
446
  "path": "../core/dist/common-auth-embedded/quota/map.js",
@@ -467,7 +467,7 @@
467
467
  "format": "esm"
468
468
  },
469
469
  "../core/dist/common-auth-embedded/quota/format.js": {
470
- "bytes": 16323,
470
+ "bytes": 18143,
471
471
  "imports": [
472
472
  {
473
473
  "path": "../core/dist/common-auth-embedded/quota/map.js",
@@ -478,7 +478,7 @@
478
478
  "format": "esm"
479
479
  },
480
480
  "../core/dist/common-auth-embedded/quota/projection.js": {
481
- "bytes": 5640,
481
+ "bytes": 5787,
482
482
  "imports": [
483
483
  {
484
484
  "path": "../core/dist/common-auth-embedded/quota/map.js",
@@ -489,7 +489,7 @@
489
489
  "format": "esm"
490
490
  },
491
491
  "../core/dist/common-auth-embedded/quota/index.js": {
492
- "bytes": 511,
492
+ "bytes": 545,
493
493
  "imports": [
494
494
  {
495
495
  "path": "../core/dist/common-auth-embedded/quota/codec.js",
@@ -650,7 +650,7 @@
650
650
  "format": "esm"
651
651
  },
652
652
  "../core/dist/common-auth-embedded/fs/with-lock.js": {
653
- "bytes": 1697,
653
+ "bytes": 1789,
654
654
  "imports": [
655
655
  {
656
656
  "path": "../core/dist/common-auth-embedded/fs/refresh-file-lock.js",
@@ -1789,13 +1789,18 @@
1789
1789
  "format": "esm"
1790
1790
  },
1791
1791
  "../core/dist/common-auth-embedded/claustrum/roster.js": {
1792
- "bytes": 25106,
1792
+ "bytes": 27602,
1793
1793
  "imports": [
1794
1794
  {
1795
1795
  "path": "node:crypto",
1796
1796
  "kind": "import-statement",
1797
1797
  "external": true
1798
1798
  },
1799
+ {
1800
+ "path": "node:path",
1801
+ "kind": "import-statement",
1802
+ "external": true
1803
+ },
1799
1804
  {
1800
1805
  "path": "../core/dist/common-auth-embedded/fs/index.js",
1801
1806
  "kind": "import-statement",
@@ -1820,12 +1825,48 @@
1820
1825
  "path": "../core/dist/common-auth-embedded/claustrum/interlock.js",
1821
1826
  "kind": "import-statement",
1822
1827
  "original": "./interlock.js"
1828
+ },
1829
+ {
1830
+ "path": "../core/dist/common-auth-embedded/claustrum/quota-writer.js",
1831
+ "kind": "import-statement",
1832
+ "original": "./quota-writer.js"
1833
+ },
1834
+ {
1835
+ "path": "../core/dist/common-auth-embedded/claustrum/quota-writer.js",
1836
+ "kind": "import-statement",
1837
+ "original": "./quota-writer.js"
1838
+ }
1839
+ ],
1840
+ "format": "esm"
1841
+ },
1842
+ "../core/dist/common-auth-embedded/claustrum/quota-writer.js": {
1843
+ "bytes": 9694,
1844
+ "imports": [
1845
+ {
1846
+ "path": "node:path",
1847
+ "kind": "import-statement",
1848
+ "external": true
1849
+ },
1850
+ {
1851
+ "path": "../core/dist/common-auth-embedded/logger/index.js",
1852
+ "kind": "import-statement",
1853
+ "original": "../logger/index.js"
1854
+ },
1855
+ {
1856
+ "path": "../core/dist/common-auth-embedded/quota/index.js",
1857
+ "kind": "import-statement",
1858
+ "original": "../quota/index.js"
1859
+ },
1860
+ {
1861
+ "path": "../core/dist/common-auth-embedded/claustrum/roster.js",
1862
+ "kind": "import-statement",
1863
+ "original": "./roster.js"
1823
1864
  }
1824
1865
  ],
1825
1866
  "format": "esm"
1826
1867
  },
1827
1868
  "../core/dist/common-auth-embedded/claustrum/consumer.js": {
1828
- "bytes": 25150,
1869
+ "bytes": 25698,
1829
1870
  "imports": [
1830
1871
  {
1831
1872
  "path": "../core/dist/common-auth-embedded/logger/index.js",
@@ -1857,6 +1898,11 @@
1857
1898
  "kind": "import-statement",
1858
1899
  "original": "./insula.js"
1859
1900
  },
1901
+ {
1902
+ "path": "../core/dist/common-auth-embedded/claustrum/quota-writer.js",
1903
+ "kind": "import-statement",
1904
+ "original": "./quota-writer.js"
1905
+ },
1860
1906
  {
1861
1907
  "path": "../core/dist/common-auth-embedded/claustrum/roster.js",
1862
1908
  "kind": "import-statement",
@@ -1871,7 +1917,7 @@
1871
1917
  "format": "esm"
1872
1918
  },
1873
1919
  "../core/dist/common-auth-embedded/claustrum/index.js": {
1874
- "bytes": 2456,
1920
+ "bytes": 2509,
1875
1921
  "imports": [
1876
1922
  {
1877
1923
  "path": "@cortexkit/claustrum-client",
@@ -1928,6 +1974,11 @@
1928
1974
  "kind": "import-statement",
1929
1975
  "original": "./interlock.js"
1930
1976
  },
1977
+ {
1978
+ "path": "../core/dist/common-auth-embedded/claustrum/quota-writer.js",
1979
+ "kind": "import-statement",
1980
+ "original": "./quota-writer.js"
1981
+ },
1931
1982
  {
1932
1983
  "path": "../core/dist/common-auth-embedded/claustrum/roster.js",
1933
1984
  "kind": "import-statement",
@@ -2092,7 +2143,7 @@
2092
2143
  "format": "esm"
2093
2144
  },
2094
2145
  "../core/dist/pre-response-deadline.js": {
2095
- "bytes": 4942,
2146
+ "bytes": 5247,
2096
2147
  "imports": [],
2097
2148
  "format": "esm"
2098
2149
  },
@@ -3115,7 +3166,7 @@
3115
3166
  "format": "esm"
3116
3167
  },
3117
3168
  "src/common-auth-embedded/fs/with-lock.js": {
3118
- "bytes": 1697,
3169
+ "bytes": 1789,
3119
3170
  "imports": [
3120
3171
  {
3121
3172
  "path": "src/common-auth-embedded/fs/refresh-file-lock.js",
@@ -3333,7 +3384,7 @@
3333
3384
  "format": "esm"
3334
3385
  },
3335
3386
  "src/common-auth-embedded/setup/process-fence.js": {
3336
- "bytes": 10923,
3387
+ "bytes": 11015,
3337
3388
  "imports": [
3338
3389
  {
3339
3390
  "path": "src/common-auth-embedded/setup/command-runner.js",
@@ -3745,7 +3796,7 @@
3745
3796
  "imports": [],
3746
3797
  "exports": [],
3747
3798
  "inputs": {},
3748
- "bytes": 2306060
3799
+ "bytes": 2331204
3749
3800
  },
3750
3801
  "dist/cli.js": {
3751
3802
  "imports": [
@@ -3909,6 +3960,16 @@
3909
3960
  "kind": "import-statement",
3910
3961
  "external": true
3911
3962
  },
3963
+ {
3964
+ "path": "node:path",
3965
+ "kind": "import-statement",
3966
+ "external": true
3967
+ },
3968
+ {
3969
+ "path": "node:path",
3970
+ "kind": "import-statement",
3971
+ "external": true
3972
+ },
3912
3973
  {
3913
3974
  "path": "@cortexkit/claustrum-client",
3914
3975
  "kind": "import-statement",
@@ -4365,22 +4426,22 @@
4365
4426
  "entryPoint": "src/cli.ts",
4366
4427
  "inputs": {
4367
4428
  "../core/dist/common-auth-embedded/quota/map.js": {
4368
- "bytesInOutput": 3418
4429
+ "bytesInOutput": 3956
4369
4430
  },
4370
4431
  "../core/dist/common-auth-embedded/quota/merge.js": {
4371
- "bytesInOutput": 5481
4432
+ "bytesInOutput": 5883
4372
4433
  },
4373
4434
  "../core/dist/common-auth-embedded/quota/codec.js": {
4374
4435
  "bytesInOutput": 294
4375
4436
  },
4376
4437
  "../core/dist/common-auth-embedded/quota/format.js": {
4377
- "bytesInOutput": 8815
4438
+ "bytesInOutput": 9553
4378
4439
  },
4379
4440
  "../core/dist/common-auth-embedded/quota/projection.js": {
4380
- "bytesInOutput": 3514
4441
+ "bytesInOutput": 3631
4381
4442
  },
4382
4443
  "../core/dist/common-auth-embedded/quota/index.js": {
4383
- "bytesInOutput": 1140
4444
+ "bytesInOutput": 1224
4384
4445
  },
4385
4446
  "../core/dist/common-auth-embedded/store/errors.js": {
4386
4447
  "bytesInOutput": 1072
@@ -4398,10 +4459,10 @@
4398
4459
  "bytesInOutput": 20244
4399
4460
  },
4400
4461
  "../core/dist/common-auth-embedded/fs/with-lock.js": {
4401
- "bytesInOutput": 1636
4462
+ "bytesInOutput": 1716
4402
4463
  },
4403
4464
  "../core/dist/common-auth-embedded/store/hooks.js": {
4404
- "bytesInOutput": 869
4465
+ "bytesInOutput": 871
4405
4466
  },
4406
4467
  "../core/dist/common-auth-embedded/store/refresh-lock.js": {
4407
4468
  "bytesInOutput": 3541
@@ -4416,7 +4477,7 @@
4416
4477
  "bytesInOutput": 5914
4417
4478
  },
4418
4479
  "../core/dist/common-auth-embedded/store/mutate.js": {
4419
- "bytesInOutput": 16354
4480
+ "bytesInOutput": 16356
4420
4481
  },
4421
4482
  "../core/dist/common-auth-embedded/store/runtime.js": {
4422
4483
  "bytesInOutput": 1937
@@ -4434,7 +4495,7 @@
4434
4495
  "bytesInOutput": 12554
4435
4496
  },
4436
4497
  "../core/dist/common-auth-embedded/store/pull.js": {
4437
- "bytesInOutput": 3973
4498
+ "bytesInOutput": 3975
4438
4499
  },
4439
4500
  "../core/dist/common-auth-embedded/store/refresh.js": {
4440
4501
  "bytesInOutput": 7770
@@ -4473,10 +4534,10 @@
4473
4534
  "bytesInOutput": 330
4474
4535
  },
4475
4536
  "../core/dist/common-auth-embedded/logger/redact.js": {
4476
- "bytesInOutput": 2903
4537
+ "bytesInOutput": 2906
4477
4538
  },
4478
4539
  "../core/dist/common-auth-embedded/logger/engine.js": {
4479
- "bytesInOutput": 8841
4540
+ "bytesInOutput": 8843
4480
4541
  },
4481
4542
  "../core/dist/common-auth-embedded/logger/index.js": {
4482
4543
  "bytesInOutput": 645
@@ -4488,7 +4549,7 @@
4488
4549
  "bytesInOutput": 15421
4489
4550
  },
4490
4551
  "../core/dist/common-auth-embedded/commands/menu.js": {
4491
- "bytesInOutput": 9322
4552
+ "bytesInOutput": 9334
4492
4553
  },
4493
4554
  "../core/dist/common-auth-embedded/commands/model.js": {
4494
4555
  "bytesInOutput": 275
@@ -4545,28 +4606,31 @@
4545
4606
  "bytesInOutput": 1146
4546
4607
  },
4547
4608
  "../core/dist/common-auth-embedded/claustrum/enrollment.js": {
4548
- "bytesInOutput": 24728
4609
+ "bytesInOutput": 24732
4549
4610
  },
4550
4611
  "../core/dist/common-auth-embedded/claustrum/host-slot.js": {
4551
4612
  "bytesInOutput": 2162
4552
4613
  },
4553
4614
  "../core/dist/common-auth-embedded/claustrum/custody.js": {
4554
- "bytesInOutput": 23095
4615
+ "bytesInOutput": 23097
4555
4616
  },
4556
4617
  "../core/dist/common-auth-embedded/claustrum/interlock.js": {
4557
4618
  "bytesInOutput": 981
4558
4619
  },
4559
4620
  "../core/dist/common-auth-embedded/claustrum/roster.js": {
4560
- "bytesInOutput": 16723
4621
+ "bytesInOutput": 18057
4622
+ },
4623
+ "../core/dist/common-auth-embedded/claustrum/quota-writer.js": {
4624
+ "bytesInOutput": 7165
4561
4625
  },
4562
4626
  "../core/dist/common-auth-embedded/claustrum/consumer.js": {
4563
- "bytesInOutput": 22002
4627
+ "bytesInOutput": 22481
4564
4628
  },
4565
4629
  "../core/dist/common-auth-embedded/claustrum/index.js": {
4566
- "bytesInOutput": 3623
4630
+ "bytesInOutput": 3690
4567
4631
  },
4568
4632
  "../core/dist/common-auth-embedded/pi-slot/lock.js": {
4569
- "bytesInOutput": 4758
4633
+ "bytesInOutput": 4762
4570
4634
  },
4571
4635
  "../core/dist/common-auth-embedded/pi-slot/slot.js": {
4572
4636
  "bytesInOutput": 12052
@@ -4686,19 +4750,19 @@
4686
4750
  "bytesInOutput": 0
4687
4751
  },
4688
4752
  "src/plugin/storage.ts": {
4689
- "bytesInOutput": 8973
4753
+ "bytesInOutput": 8977
4690
4754
  },
4691
4755
  "src/common-auth-embedded/logger/index.js": {
4692
4756
  "bytesInOutput": 0
4693
4757
  },
4694
4758
  "src/common-auth-embedded/logger/engine.js": {
4695
- "bytesInOutput": 8135
4759
+ "bytesInOutput": 8139
4696
4760
  },
4697
4761
  "src/common-auth-embedded/fs/private-files.js": {
4698
4762
  "bytesInOutput": 9352
4699
4763
  },
4700
4764
  "src/common-auth-embedded/logger/redact.js": {
4701
- "bytesInOutput": 2712
4765
+ "bytesInOutput": 2715
4702
4766
  },
4703
4767
  "src/logging/provider-key-policy.ts": {
4704
4768
  "bytesInOutput": 197
@@ -4755,7 +4819,7 @@
4755
4819
  "bytesInOutput": 5001
4756
4820
  },
4757
4821
  "src/common-auth-embedded/claustrum/enrollment.js": {
4758
- "bytesInOutput": 21952
4822
+ "bytesInOutput": 21956
4759
4823
  },
4760
4824
  "src/common-auth-embedded/fs/index.js": {
4761
4825
  "bytesInOutput": 0
@@ -4788,7 +4852,7 @@
4788
4852
  "bytesInOutput": 2821
4789
4853
  },
4790
4854
  "src/common-auth-embedded/setup/process-fence.js": {
4791
- "bytesInOutput": 8093
4855
+ "bytesInOutput": 8181
4792
4856
  },
4793
4857
  "src/common-auth-embedded/setup/prompts.js": {
4794
4858
  "bytesInOutput": 771
@@ -4812,7 +4876,7 @@
4812
4876
  "bytesInOutput": 903
4813
4877
  }
4814
4878
  },
4815
- "bytes": 921879
4879
+ "bytes": 933083
4816
4880
  }
4817
4881
  }
4818
4882
  }