@cortexkit/opencode-antigravity-auth 3.0.19 → 3.0.20

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 (71) hide show
  1. package/README.md +3 -1
  2. package/dist/cli.js +202 -118
  3. package/dist/cli.js.map +3 -3
  4. package/dist/cli.meta.json +18 -18
  5. package/dist/index.js +256 -172
  6. package/dist/index.js.map +3 -3
  7. package/dist/index.meta.json +18 -18
  8. package/dist/server.js +269 -185
  9. package/dist/server.js.map +3 -3
  10. package/dist/server.meta.json +1 -1
  11. package/dist/src/common-auth-embedded/claustrum/consumer.d.ts +10 -0
  12. package/dist/src/common-auth-embedded/claustrum/consumer.js +25 -0
  13. package/dist/src/common-auth-embedded/claustrum/custody.d.ts +6 -2
  14. package/dist/src/common-auth-embedded/claustrum/custody.js +20 -6
  15. package/dist/src/common-auth-embedded/claustrum/hub.d.ts +3 -1
  16. package/dist/src/common-auth-embedded/claustrum/hub.js +55 -5
  17. package/dist/src/common-auth-embedded/claustrum/roster.js +1 -1
  18. package/dist/src/common-auth-embedded/fs/refresh-file-lock.d.ts +2 -1
  19. package/dist/src/common-auth-embedded/fs/refresh-file-lock.js +3 -1
  20. package/dist/src/common-auth-embedded/fs/with-lock.js +1 -1
  21. package/dist/src/common-auth-embedded/opencode2/index.d.ts +1 -1
  22. package/dist/src/common-auth-embedded/opencode2/install.d.ts +4 -3
  23. package/dist/src/common-auth-embedded/opencode2/install.js +144 -17
  24. package/dist/src/common-auth-embedded/opencode2/types.d.ts +52 -1
  25. package/dist/src/common-auth-embedded/source-output.json +48 -48
  26. package/dist/src/ga/tui/host-ga.d.ts.map +1 -1
  27. package/dist/src/ga/tui/host-ga.js +0 -1
  28. package/dist/src/ga/tui/host-ga.js.map +1 -1
  29. package/dist/src/plugin/__fixtures__/verified-store.js +2 -2
  30. package/dist/src/server.d.ts +4 -4
  31. package/dist/src/server.js +4 -4
  32. package/dist/src/tui/sidebar-frame.d.ts +3 -4
  33. package/dist/src/tui/sidebar-frame.d.ts.map +1 -1
  34. package/dist/src/tui/sidebar-frame.js +4 -8
  35. package/dist/src/tui/sidebar-frame.js.map +1 -1
  36. package/dist/src/tui.js +1 -1
  37. package/dist/tui-build-map.json +9 -9
  38. package/dist/tui-ga-build-map.json +9 -9
  39. package/dist/types/src/common-auth-embedded/claustrum/consumer.d.ts +10 -0
  40. package/dist/types/src/common-auth-embedded/claustrum/custody.d.ts +6 -2
  41. package/dist/types/src/common-auth-embedded/claustrum/hub.d.ts +3 -1
  42. package/dist/types/src/common-auth-embedded/fs/refresh-file-lock.d.ts +2 -1
  43. package/dist/types/src/common-auth-embedded/opencode2/index.d.ts +1 -1
  44. package/dist/types/src/common-auth-embedded/opencode2/install.d.ts +4 -3
  45. package/dist/types/src/common-auth-embedded/opencode2/types.d.ts +52 -1
  46. package/dist/types/src/server.d.ts +4 -4
  47. package/package.json +3 -3
  48. package/src/common-auth-embedded/claustrum/consumer.d.ts +10 -0
  49. package/src/common-auth-embedded/claustrum/consumer.js +25 -0
  50. package/src/common-auth-embedded/claustrum/custody.d.ts +6 -2
  51. package/src/common-auth-embedded/claustrum/custody.js +20 -6
  52. package/src/common-auth-embedded/claustrum/hub.d.ts +3 -1
  53. package/src/common-auth-embedded/claustrum/hub.js +55 -5
  54. package/src/common-auth-embedded/claustrum/roster.js +1 -1
  55. package/src/common-auth-embedded/fs/refresh-file-lock.d.ts +2 -1
  56. package/src/common-auth-embedded/fs/refresh-file-lock.js +3 -1
  57. package/src/common-auth-embedded/fs/with-lock.js +1 -1
  58. package/src/common-auth-embedded/opencode2/index.d.ts +1 -1
  59. package/src/common-auth-embedded/opencode2/install.d.ts +4 -3
  60. package/src/common-auth-embedded/opencode2/install.js +144 -17
  61. package/src/common-auth-embedded/opencode2/types.d.ts +52 -1
  62. package/src/common-auth-embedded/source-output.json +48 -48
  63. package/src/tui-compiled/tui/sidebar-frame.js +35 -72
  64. package/src/tui-compiled/tui.js +1 -1
  65. package/src/tui-ga-compiled/host-ga.js +0 -1
  66. package/src/tui-ga-compiled/shared/ced204104a639c9c-sidebar-frame.js +35 -72
  67. package/src/tui-ga-raw/host-ga.tsx +0 -1
  68. package/src/tui-ga-raw/shared/ced204104a639c9c-sidebar-frame.tsx +7 -29
  69. package/src/tui-raw/tui/sidebar-frame.tsx +7 -29
  70. package/src/tui-raw/tui.tsx +1 -1
  71. package/src/tui.tsx +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "package": "@cortexkit/common-auth",
4
- "version": "0.29.0",
4
+ "version": "0.31.0",
5
5
  "artifactStatus": "published",
6
6
  "publicRoots": {
7
7
  "./rpc": {
@@ -61,15 +61,15 @@
61
61
  "import": "./dist/opencode2/index.js"
62
62
  }
63
63
  },
64
- "input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.29.0.tgz",
65
- "tarballSha256": "6d8795d0672353ab897f938cad86c63556ceab7704bd60498a8c8e1a62dbc207",
66
- "sri": "sha512-XnNFY5ppNQRDP09lUTDDONGHwiJ8Z93w8/NP16pmWpC6lzBPkC7XJcHhld+B6iLATaNvbcenfhecitB8fS9nbQ==",
64
+ "input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.31.0.tgz",
65
+ "tarballSha256": "7fd3ca6766e40af0f79edc65f282f251f3d57bd614254a5df11921635cd1d548",
66
+ "sri": "sha512-An0i6ywuMISocrZKZvYkVhExhg0/v0uUR7PU3QpDqko0+mTq4GA9zCJY2q74TK6fwF0w2Xw0mqxTNIUW8+4Apw==",
67
67
  "canonicalFiles": 195,
68
- "canonicalBytes": 1229426,
68
+ "canonicalBytes": 1242900,
69
69
  "generator": {
70
70
  "path": "packages/opencode/scripts/embed-common-auth.ts",
71
71
  "version": 3,
72
- "sha256": "ece06fd4117208e4b276fee17386d3a0f93e641cee49c0d30d985c169c551ad2"
72
+ "sha256": "87413753f873de0e5cad4701d142da0ffcfd4969cb52712cf99a19af689eb2a5"
73
73
  },
74
74
  "files": [
75
75
  {
@@ -251,33 +251,33 @@
251
251
  {
252
252
  "source": "package/dist/claustrum/consumer.d.ts",
253
253
  "output": "claustrum/consumer.d.ts",
254
- "bytes": 13309,
255
- "sourceSha256": "a33f8fb2750424f1dd1e80ee6e0f260d4d5b6bdf6be3b00b2ae503bfbadb4d17",
256
- "outputSha256": "a33f8fb2750424f1dd1e80ee6e0f260d4d5b6bdf6be3b00b2ae503bfbadb4d17",
254
+ "bytes": 13934,
255
+ "sourceSha256": "97e5fb096153912483b45f75831e4652db19457d94ad76ba8363b1fd232e6fd7",
256
+ "outputSha256": "97e5fb096153912483b45f75831e4652db19457d94ad76ba8363b1fd232e6fd7",
257
257
  "transform": "verbatim"
258
258
  },
259
259
  {
260
260
  "source": "package/dist/claustrum/consumer.js",
261
261
  "output": "claustrum/consumer.js",
262
- "bytes": 38516,
263
- "sourceSha256": "46a8be88c8e5270d06bda0042235d7081dea06eaf1ae15f9a5fdf2ed93e478fd",
264
- "outputSha256": "46a8be88c8e5270d06bda0042235d7081dea06eaf1ae15f9a5fdf2ed93e478fd",
262
+ "bytes": 39439,
263
+ "sourceSha256": "3b4cf06be8732f3183ac97721dfffb8fc489d4be1044260742a72a9995324391",
264
+ "outputSha256": "3b4cf06be8732f3183ac97721dfffb8fc489d4be1044260742a72a9995324391",
265
265
  "transform": "verbatim"
266
266
  },
267
267
  {
268
268
  "source": "package/dist/claustrum/custody.d.ts",
269
269
  "output": "claustrum/custody.d.ts",
270
- "bytes": 16192,
271
- "sourceSha256": "ac8a3f2a47ec04ba0b6b5f69425db6672aa7660cd9249853f05fb2b4669698c2",
272
- "outputSha256": "ac8a3f2a47ec04ba0b6b5f69425db6672aa7660cd9249853f05fb2b4669698c2",
270
+ "bytes": 16390,
271
+ "sourceSha256": "3bbbfc2d700cf6c25356339c64d3bef5cee5e00336d141de18bb7522c8a5ceaa",
272
+ "outputSha256": "3bbbfc2d700cf6c25356339c64d3bef5cee5e00336d141de18bb7522c8a5ceaa",
273
273
  "transform": "verbatim"
274
274
  },
275
275
  {
276
276
  "source": "package/dist/claustrum/custody.js",
277
277
  "output": "claustrum/custody.js",
278
- "bytes": 30242,
279
- "sourceSha256": "cfa9c256d59ac4740f5b88fc1662a3bbb29078973cbeaf6225448c305fa580a2",
280
- "outputSha256": "cfa9c256d59ac4740f5b88fc1662a3bbb29078973cbeaf6225448c305fa580a2",
278
+ "bytes": 30624,
279
+ "sourceSha256": "23c666b3d65b26b8f9aac6926c535f67d0ba7db4de1cf3591e95306aa0f8c5dd",
280
+ "outputSha256": "23c666b3d65b26b8f9aac6926c535f67d0ba7db4de1cf3591e95306aa0f8c5dd",
281
281
  "transform": "verbatim"
282
282
  },
283
283
  {
@@ -331,17 +331,17 @@
331
331
  {
332
332
  "source": "package/dist/claustrum/hub.d.ts",
333
333
  "output": "claustrum/hub.d.ts",
334
- "bytes": 9169,
335
- "sourceSha256": "07a5c385738649ec5c03b6afb7a916011e565c9f9d5463b280b9896024d8f0c0",
336
- "outputSha256": "07a5c385738649ec5c03b6afb7a916011e565c9f9d5463b280b9896024d8f0c0",
334
+ "bytes": 9346,
335
+ "sourceSha256": "4c2cbd91b3cc9691ee765f766b7c80d27cf28b38494a0a53ce9410c184e7ca1d",
336
+ "outputSha256": "4c2cbd91b3cc9691ee765f766b7c80d27cf28b38494a0a53ce9410c184e7ca1d",
337
337
  "transform": "verbatim"
338
338
  },
339
339
  {
340
340
  "source": "package/dist/claustrum/hub.js",
341
341
  "output": "claustrum/hub.js",
342
- "bytes": 43086,
343
- "sourceSha256": "f156151cba0a628828a9c28cdeea757a4c959e4398a79c423001b2b2857c2ec7",
344
- "outputSha256": "f156151cba0a628828a9c28cdeea757a4c959e4398a79c423001b2b2857c2ec7",
342
+ "bytes": 45237,
343
+ "sourceSha256": "48f0889818545735a6e6315bfa2517a84544abb9237ec9f698581ba6628c1ae5",
344
+ "outputSha256": "48f0889818545735a6e6315bfa2517a84544abb9237ec9f698581ba6628c1ae5",
345
345
  "transform": "verbatim"
346
346
  },
347
347
  {
@@ -419,9 +419,9 @@
419
419
  {
420
420
  "source": "package/dist/claustrum/roster.js",
421
421
  "output": "claustrum/roster.js",
422
- "bytes": 39326,
423
- "sourceSha256": "f46fc75edcf4e418f02a5699c7395f1f44abd2e28b77067b89f7622af5890214",
424
- "outputSha256": "f46fc75edcf4e418f02a5699c7395f1f44abd2e28b77067b89f7622af5890214",
422
+ "bytes": 39340,
423
+ "sourceSha256": "6919aa948f9022f76ce2b7aac83733bd7a11a8c21b8511191cf7fbf6bc1a2b30",
424
+ "outputSha256": "6919aa948f9022f76ce2b7aac83733bd7a11a8c21b8511191cf7fbf6bc1a2b30",
425
425
  "transform": "verbatim"
426
426
  },
427
427
  {
@@ -619,17 +619,17 @@
619
619
  {
620
620
  "source": "package/dist/fs/refresh-file-lock.d.ts",
621
621
  "output": "fs/refresh-file-lock.d.ts",
622
- "bytes": 2946,
623
- "sourceSha256": "b649e67813eb4086ca5642c99d318f90ccccae9702b23ad8fb0616f8d62f5a06",
624
- "outputSha256": "b649e67813eb4086ca5642c99d318f90ccccae9702b23ad8fb0616f8d62f5a06",
622
+ "bytes": 3052,
623
+ "sourceSha256": "31c23ba9135ddc57ea0196ad56280bd12eab2c9524d33bd43d78112da27214d2",
624
+ "outputSha256": "31c23ba9135ddc57ea0196ad56280bd12eab2c9524d33bd43d78112da27214d2",
625
625
  "transform": "verbatim"
626
626
  },
627
627
  {
628
628
  "source": "package/dist/fs/refresh-file-lock.js",
629
629
  "output": "fs/refresh-file-lock.js",
630
- "bytes": 37753,
631
- "sourceSha256": "38bc20ae71a195818f9cf7e42954e8305f92a55ff15dd855da33ccdec6b34fa1",
632
- "outputSha256": "38bc20ae71a195818f9cf7e42954e8305f92a55ff15dd855da33ccdec6b34fa1",
630
+ "bytes": 37832,
631
+ "sourceSha256": "07b261b409c5c6cc9b35cb732df44486d372413ce6ae078be4b211b9b5a5c1c7",
632
+ "outputSha256": "07b261b409c5c6cc9b35cb732df44486d372413ce6ae078be4b211b9b5a5c1c7",
633
633
  "transform": "verbatim"
634
634
  },
635
635
  {
@@ -643,9 +643,9 @@
643
643
  {
644
644
  "source": "package/dist/fs/with-lock.js",
645
645
  "output": "fs/with-lock.js",
646
- "bytes": 1789,
647
- "sourceSha256": "94fa839ec83d730280048f7e586453daadc590c4fbcf5601fd96f4a2d4193d6b",
648
- "outputSha256": "94fa839ec83d730280048f7e586453daadc590c4fbcf5601fd96f4a2d4193d6b",
646
+ "bytes": 1803,
647
+ "sourceSha256": "f31ff1935e18563e465ab235202de3932255d3b1fc72b5d0baf6d3502931fc8e",
648
+ "outputSha256": "f31ff1935e18563e465ab235202de3932255d3b1fc72b5d0baf6d3502931fc8e",
649
649
  "transform": "verbatim"
650
650
  },
651
651
  {
@@ -731,9 +731,9 @@
731
731
  {
732
732
  "source": "package/dist/opencode2/index.d.ts",
733
733
  "output": "opencode2/index.d.ts",
734
- "bytes": 1204,
735
- "sourceSha256": "aebb45bf6cb0359322d56b512e6bf40370feb2dfef5b4e82c25ade078f066f84",
736
- "outputSha256": "aebb45bf6cb0359322d56b512e6bf40370feb2dfef5b4e82c25ade078f066f84",
734
+ "bytes": 1251,
735
+ "sourceSha256": "048d288a7c16c4cc8ae49414159ba2d25f2ba3237014778ad2151689e13ddd2a",
736
+ "outputSha256": "048d288a7c16c4cc8ae49414159ba2d25f2ba3237014778ad2151689e13ddd2a",
737
737
  "transform": "verbatim"
738
738
  },
739
739
  {
@@ -747,17 +747,17 @@
747
747
  {
748
748
  "source": "package/dist/opencode2/install.d.ts",
749
749
  "output": "opencode2/install.d.ts",
750
- "bytes": 3837,
751
- "sourceSha256": "14938cf47881ead2ed146478dd4c01986439bf6d586c610f386ddd2f6f95d00a",
752
- "outputSha256": "14938cf47881ead2ed146478dd4c01986439bf6d586c610f386ddd2f6f95d00a",
750
+ "bytes": 3919,
751
+ "sourceSha256": "e6c201f36b9c021a38c395a09739ccc232cc1f6414189251097685d753099f50",
752
+ "outputSha256": "e6c201f36b9c021a38c395a09739ccc232cc1f6414189251097685d753099f50",
753
753
  "transform": "verbatim"
754
754
  },
755
755
  {
756
756
  "source": "package/dist/opencode2/install.js",
757
757
  "output": "opencode2/install.js",
758
- "bytes": 48348,
759
- "sourceSha256": "5568d7c40a10055c69e599e3e65daf9d24243ba9e7264df6f1ec669e21a88f4c",
760
- "outputSha256": "5568d7c40a10055c69e599e3e65daf9d24243ba9e7264df6f1ec669e21a88f4c",
758
+ "bytes": 53838,
759
+ "sourceSha256": "1ef58be234b760e6f8c5bb3b4eae892b3f9c2046ed07f4ac38f5bc20dbea330e",
760
+ "outputSha256": "1ef58be234b760e6f8c5bb3b4eae892b3f9c2046ed07f4ac38f5bc20dbea330e",
761
761
  "transform": "verbatim"
762
762
  },
763
763
  {
@@ -795,9 +795,9 @@
795
795
  {
796
796
  "source": "package/dist/opencode2/types.d.ts",
797
797
  "output": "opencode2/types.d.ts",
798
- "bytes": 23395,
799
- "sourceSha256": "30497c31cc2c67c0163888b55071a48fefe3090711bd4935999f403a585a4403",
800
- "outputSha256": "30497c31cc2c67c0163888b55071a48fefe3090711bd4935999f403a585a4403",
798
+ "bytes": 26581,
799
+ "sourceSha256": "f1c778b5a56d5511313a1a0702035d9a2d42fa76fa6a44f5785598af2669ef04",
800
+ "outputSha256": "f1c778b5a56d5511313a1a0702035d9a2d42fa76fa6a44f5785598af2669ef04",
801
801
  "transform": "verbatim"
802
802
  },
803
803
  {
@@ -1,5 +1,5 @@
1
- import { memo as _$memo } from "opentui:runtime-module:%40opentui%2Fsolid";
2
1
  import { createTextNode as _$createTextNode } from "opentui:runtime-module:%40opentui%2Fsolid";
2
+ import { memo as _$memo } from "opentui:runtime-module:%40opentui%2Fsolid";
3
3
  import { use as _$use } from "opentui:runtime-module:%40opentui%2Fsolid";
4
4
  import { createComponent as _$createComponent } from "opentui:runtime-module:%40opentui%2Fsolid";
5
5
  import { effect as _$effect } from "opentui:runtime-module:%40opentui%2Fsolid";
@@ -11,9 +11,9 @@ import { createElement as _$createElement } from "opentui:runtime-module:%40open
11
11
 
12
12
  /**
13
13
  * The Antigravity sidebar frame, shared by the OpenCode 1 sidebar (`tui.tsx`)
14
- * and the OpenCode 2 sidebar (`ga/tui/host-ga.tsx`): the bordered, padded
15
- * panel, the clickable `▼`/`▶` header badge with the plugin version (or a
16
- * `LIMITED` badge) at the right, one line per account when collapsed, and the
14
+ * and the OpenCode 2 sidebar (`ga/tui/host-ga.tsx`): the padded
15
+ * panel, the clickable `▼`/`▶` header badge with the optional plugin version
16
+ * at the right, one line per account when collapsed, and the
17
17
  * `Quota`, `Routing` and `Health` sections when expanded.
18
18
  *
19
19
  * Each renderer reads its own data source (the sidebar file, or the
@@ -353,10 +353,6 @@ function CollapsedAccount(props) {
353
353
 
354
354
  // --- Frame -----------------------------------------------------------------
355
355
 
356
- // The opentui border prop is not typed in the plugin TUI surface.
357
- const SINGLE_BORDER = {
358
- type: 'single'
359
- };
360
356
  export function SidebarFrame(props) {
361
357
  const theme = props.theme;
362
358
  const prefs = props.settings;
@@ -384,7 +380,7 @@ export function SidebarFrame(props) {
384
380
  const routeLines = route => [`${route.family}: ${route.style}`, route.strategy ?? ''].filter(line => line !== '');
385
381
 
386
382
  // The width available to content: the header row spans the panel inside
387
- // its border and padding. Layout reports it during a render pass, so the
383
+ // its padding. Layout reports it during a render pass, so the
388
384
  // signal is updated afterwards rather than rebuilding rows mid-pass.
389
385
  const [contentWidth, setContentWidth] = createSignal(ASSUMED_CONTENT_WIDTH);
390
386
  let headerRow;
@@ -396,8 +392,7 @@ export function SidebarFrame(props) {
396
392
  });
397
393
  };
398
394
 
399
- // Header badge: ▼/▶ {label}, with the version at the right when nothing is
400
- // degraded and a `LIMITED` badge in its place when something is.
395
+ // Header badge: ▼/▶ {label}, with the optional version at the right.
401
396
  const headerLabel = () => {
402
397
  const name = prefs().header.label;
403
398
  return !hasData() ? name : collapsed() ? `\u25b6 ${name}` : `\u25bc ${name}`;
@@ -411,7 +406,6 @@ export function SidebarFrame(props) {
411
406
  _$insertNode(_el$12, _el$13);
412
407
  _$setProp(_el$12, "width", '100%');
413
408
  _$setProp(_el$12, "flexDirection", 'column');
414
- _$setProp(_el$12, "border", SINGLE_BORDER);
415
409
  _$setProp(_el$12, "paddingTop", 1);
416
410
  _$setProp(_el$12, "paddingBottom", 1);
417
411
  _$setProp(_el$12, "paddingLeft", 1);
@@ -438,40 +432,12 @@ export function SidebarFrame(props) {
438
432
  _$insert(_el$16, headerLabel);
439
433
  _$insert(_el$13, _$createComponent(Show, {
440
434
  get when() {
441
- return degraded();
442
- },
443
- get fallback() {
444
- return _$createComponent(Show, {
445
- get when() {
446
- return _$memo(() => !!prefs().header.showVersion)() && props.version !== '';
447
- },
448
- get children() {
449
- var _el$21 = _$createElement("text");
450
- _$insert(_el$21, () => `v${props.version}`);
451
- _$effect(_$p => _$setProp(_el$21, "fg", theme().textMuted, _$p));
452
- return _el$21;
453
- }
454
- });
435
+ return _$memo(() => !!prefs().header.showVersion)() && props.version !== '';
455
436
  },
456
437
  get children() {
457
- var _el$17 = _$createElement("box"),
458
- _el$18 = _$createElement("text"),
459
- _el$19 = _$createElement("b");
460
- _$insertNode(_el$17, _el$18);
461
- _$setProp(_el$17, "paddingLeft", 1);
462
- _$setProp(_el$17, "paddingRight", 1);
463
- _$insertNode(_el$18, _el$19);
464
- _$insertNode(_el$19, _$createTextNode(`LIMITED`));
465
- _$effect(_p$ => {
466
- var _v$3 = theme().warning,
467
- _v$4 = theme().background;
468
- _v$3 !== _p$.e && (_p$.e = _$setProp(_el$17, "backgroundColor", _v$3, _p$.e));
469
- _v$4 !== _p$.t && (_p$.t = _$setProp(_el$18, "fg", _v$4, _p$.t));
470
- return _p$;
471
- }, {
472
- e: undefined,
473
- t: undefined
474
- });
438
+ var _el$17 = _$createElement("text");
439
+ _$insert(_el$17, () => `v${props.version}`);
440
+ _$effect(_$p => _$setProp(_el$17, "fg", theme().textMuted, _$p));
475
441
  return _el$17;
476
442
  }
477
443
  }), null);
@@ -505,14 +471,14 @@ export function SidebarFrame(props) {
505
471
  },
506
472
  get fallback() {
507
473
  return (() => {
508
- var _el$22 = _$createElement("box"),
509
- _el$23 = _$createElement("text");
510
- _$insertNode(_el$22, _el$23);
511
- _$setProp(_el$22, "marginTop", 1);
512
- _$setProp(_el$22, "width", '100%');
513
- _$insertNode(_el$23, _$createTextNode(`Waiting for quota…`));
514
- _$effect(_$p => _$setProp(_el$23, "fg", theme().textMuted, _$p));
515
- return _el$22;
474
+ var _el$18 = _$createElement("box"),
475
+ _el$19 = _$createElement("text");
476
+ _$insertNode(_el$18, _el$19);
477
+ _$setProp(_el$18, "marginTop", 1);
478
+ _$setProp(_el$18, "width", '100%');
479
+ _$insertNode(_el$19, _$createTextNode(`Waiting for quota…`));
480
+ _$effect(_$p => _$setProp(_el$19, "fg", theme().textMuted, _$p));
481
+ return _el$18;
516
482
  })();
517
483
  },
518
484
  get children() {
@@ -556,11 +522,11 @@ export function SidebarFrame(props) {
556
522
  },
557
523
  get fallback() {
558
524
  return (() => {
559
- var _el$25 = _$createElement("text");
560
- _$insertNode(_el$25, _$createTextNode(`No request yet`));
561
- _$setProp(_el$25, "wrapMode", 'none');
562
- _$effect(_$p => _$setProp(_el$25, "fg", theme().textMuted, _$p));
563
- return _el$25;
525
+ var _el$21 = _$createElement("text");
526
+ _$insertNode(_el$21, _$createTextNode(`No request yet`));
527
+ _$setProp(_el$21, "wrapMode", 'none');
528
+ _$effect(_$p => _$setProp(_el$21, "fg", theme().textMuted, _$p));
529
+ return _el$21;
564
530
  })();
565
531
  },
566
532
  children: route => _$createComponent(Show, {
@@ -573,13 +539,13 @@ export function SidebarFrame(props) {
573
539
  return routeLines(route());
574
540
  },
575
541
  children: line => (() => {
576
- var _el$27 = _$createElement("text"),
577
- _el$28 = _$createElement("b");
578
- _$insertNode(_el$27, _el$28);
579
- _$setProp(_el$27, "wrapMode", 'none');
580
- _$insert(_el$28, line);
581
- _$effect(_$p => _$setProp(_el$27, "fg", toneColor(theme(), 'accent'), _$p));
582
- return _el$27;
542
+ var _el$23 = _$createElement("text"),
543
+ _el$24 = _$createElement("b");
544
+ _$insertNode(_el$23, _el$24);
545
+ _$setProp(_el$23, "wrapMode", 'none');
546
+ _$insert(_el$24, line);
547
+ _$effect(_$p => _$setProp(_el$23, "fg", toneColor(theme(), 'accent'), _$p));
548
+ return _el$23;
583
549
  })()
584
550
  });
585
551
  },
@@ -640,17 +606,14 @@ export function SidebarFrame(props) {
640
606
  }
641
607
  }), null);
642
608
  _$effect(_p$ => {
643
- var _v$5 = theme().borderActive,
644
- _v$6 = theme().accent,
645
- _v$7 = theme().background;
646
- _v$5 !== _p$.e && (_p$.e = _$setProp(_el$12, "borderColor", _v$5, _p$.e));
647
- _v$6 !== _p$.t && (_p$.t = _$setProp(_el$14, "backgroundColor", _v$6, _p$.t));
648
- _v$7 !== _p$.a && (_p$.a = _$setProp(_el$15, "fg", _v$7, _p$.a));
609
+ var _v$3 = theme().accent,
610
+ _v$4 = theme().background;
611
+ _v$3 !== _p$.e && (_p$.e = _$setProp(_el$14, "backgroundColor", _v$3, _p$.e));
612
+ _v$4 !== _p$.t && (_p$.t = _$setProp(_el$15, "fg", _v$4, _p$.t));
649
613
  return _p$;
650
614
  }, {
651
615
  e: undefined,
652
- t: undefined,
653
- a: undefined
616
+ t: undefined
654
617
  });
655
618
  return _el$12;
656
619
  })();
@@ -5,7 +5,7 @@ import { createComponent as _$createComponent } from "opentui:runtime-module:%40
5
5
  * Read-only OpenTUI sidebar for the Antigravity plugin.
6
6
  *
7
7
  * Mirrors the fleet sibling layout (see `anthropic-auth-live` /
8
- * `openai-auth-live` `packages/opencode/src/tui.tsx`): a single bordered
8
+ * `openai-auth-live` `packages/opencode/src/tui.tsx`): a single
9
9
  * column with a labelled header badge, a Quota section that lists one
10
10
  * `AccountBlock` per visible account, a Routing section that surfaces the
11
11
  * most recent session route, and a Health section that only appears when
@@ -1042,7 +1042,6 @@ export function sidebarThemeFromHost(theme) {
1042
1042
  textMuted: theme?.text?.muted ?? text,
1043
1043
  accent,
1044
1044
  background: theme?.background?.base ?? theme?.background?.raised?.base,
1045
- borderActive: theme?.border?.base ?? accent,
1046
1045
  success: feedback?.success?.base ?? feedback?.success?.muted,
1047
1046
  warning: feedback?.warning?.base ?? feedback?.warning?.muted,
1048
1047
  error: feedback?.error?.base ?? feedback?.error?.muted
@@ -1,5 +1,5 @@
1
- import { memo as _$memo } from "opentui:runtime-module:%40opentui%2Fsolid";
2
1
  import { createTextNode as _$createTextNode } from "opentui:runtime-module:%40opentui%2Fsolid";
2
+ import { memo as _$memo } from "opentui:runtime-module:%40opentui%2Fsolid";
3
3
  import { use as _$use } from "opentui:runtime-module:%40opentui%2Fsolid";
4
4
  import { createComponent as _$createComponent } from "opentui:runtime-module:%40opentui%2Fsolid";
5
5
  import { effect as _$effect } from "opentui:runtime-module:%40opentui%2Fsolid";
@@ -11,9 +11,9 @@ import { createElement as _$createElement } from "opentui:runtime-module:%40open
11
11
 
12
12
  /**
13
13
  * The Antigravity sidebar frame, shared by the OpenCode 1 sidebar (`tui.tsx`)
14
- * and the OpenCode 2 sidebar (`ga/tui/host-ga.tsx`): the bordered, padded
15
- * panel, the clickable `▼`/`▶` header badge with the plugin version (or a
16
- * `LIMITED` badge) at the right, one line per account when collapsed, and the
14
+ * and the OpenCode 2 sidebar (`ga/tui/host-ga.tsx`): the padded
15
+ * panel, the clickable `▼`/`▶` header badge with the optional plugin version
16
+ * at the right, one line per account when collapsed, and the
17
17
  * `Quota`, `Routing` and `Health` sections when expanded.
18
18
  *
19
19
  * Each renderer reads its own data source (the sidebar file, or the
@@ -353,10 +353,6 @@ function CollapsedAccount(props) {
353
353
 
354
354
  // --- Frame -----------------------------------------------------------------
355
355
 
356
- // The opentui border prop is not typed in the plugin TUI surface.
357
- const SINGLE_BORDER = {
358
- type: 'single'
359
- };
360
356
  export function SidebarFrame(props) {
361
357
  const theme = props.theme;
362
358
  const prefs = props.settings;
@@ -384,7 +380,7 @@ export function SidebarFrame(props) {
384
380
  const routeLines = route => [`${route.family}: ${route.style}`, route.strategy ?? ''].filter(line => line !== '');
385
381
 
386
382
  // The width available to content: the header row spans the panel inside
387
- // its border and padding. Layout reports it during a render pass, so the
383
+ // its padding. Layout reports it during a render pass, so the
388
384
  // signal is updated afterwards rather than rebuilding rows mid-pass.
389
385
  const [contentWidth, setContentWidth] = createSignal(ASSUMED_CONTENT_WIDTH);
390
386
  let headerRow;
@@ -396,8 +392,7 @@ export function SidebarFrame(props) {
396
392
  });
397
393
  };
398
394
 
399
- // Header badge: ▼/▶ {label}, with the version at the right when nothing is
400
- // degraded and a `LIMITED` badge in its place when something is.
395
+ // Header badge: ▼/▶ {label}, with the optional version at the right.
401
396
  const headerLabel = () => {
402
397
  const name = prefs().header.label;
403
398
  return !hasData() ? name : collapsed() ? `\u25b6 ${name}` : `\u25bc ${name}`;
@@ -411,7 +406,6 @@ export function SidebarFrame(props) {
411
406
  _$insertNode(_el$12, _el$13);
412
407
  _$setProp(_el$12, "width", '100%');
413
408
  _$setProp(_el$12, "flexDirection", 'column');
414
- _$setProp(_el$12, "border", SINGLE_BORDER);
415
409
  _$setProp(_el$12, "paddingTop", 1);
416
410
  _$setProp(_el$12, "paddingBottom", 1);
417
411
  _$setProp(_el$12, "paddingLeft", 1);
@@ -438,40 +432,12 @@ export function SidebarFrame(props) {
438
432
  _$insert(_el$16, headerLabel);
439
433
  _$insert(_el$13, _$createComponent(Show, {
440
434
  get when() {
441
- return degraded();
442
- },
443
- get fallback() {
444
- return _$createComponent(Show, {
445
- get when() {
446
- return _$memo(() => !!prefs().header.showVersion)() && props.version !== '';
447
- },
448
- get children() {
449
- var _el$21 = _$createElement("text");
450
- _$insert(_el$21, () => `v${props.version}`);
451
- _$effect(_$p => _$setProp(_el$21, "fg", theme().textMuted, _$p));
452
- return _el$21;
453
- }
454
- });
435
+ return _$memo(() => !!prefs().header.showVersion)() && props.version !== '';
455
436
  },
456
437
  get children() {
457
- var _el$17 = _$createElement("box"),
458
- _el$18 = _$createElement("text"),
459
- _el$19 = _$createElement("b");
460
- _$insertNode(_el$17, _el$18);
461
- _$setProp(_el$17, "paddingLeft", 1);
462
- _$setProp(_el$17, "paddingRight", 1);
463
- _$insertNode(_el$18, _el$19);
464
- _$insertNode(_el$19, _$createTextNode(`LIMITED`));
465
- _$effect(_p$ => {
466
- var _v$3 = theme().warning,
467
- _v$4 = theme().background;
468
- _v$3 !== _p$.e && (_p$.e = _$setProp(_el$17, "backgroundColor", _v$3, _p$.e));
469
- _v$4 !== _p$.t && (_p$.t = _$setProp(_el$18, "fg", _v$4, _p$.t));
470
- return _p$;
471
- }, {
472
- e: undefined,
473
- t: undefined
474
- });
438
+ var _el$17 = _$createElement("text");
439
+ _$insert(_el$17, () => `v${props.version}`);
440
+ _$effect(_$p => _$setProp(_el$17, "fg", theme().textMuted, _$p));
475
441
  return _el$17;
476
442
  }
477
443
  }), null);
@@ -505,14 +471,14 @@ export function SidebarFrame(props) {
505
471
  },
506
472
  get fallback() {
507
473
  return (() => {
508
- var _el$22 = _$createElement("box"),
509
- _el$23 = _$createElement("text");
510
- _$insertNode(_el$22, _el$23);
511
- _$setProp(_el$22, "marginTop", 1);
512
- _$setProp(_el$22, "width", '100%');
513
- _$insertNode(_el$23, _$createTextNode(`Waiting for quota…`));
514
- _$effect(_$p => _$setProp(_el$23, "fg", theme().textMuted, _$p));
515
- return _el$22;
474
+ var _el$18 = _$createElement("box"),
475
+ _el$19 = _$createElement("text");
476
+ _$insertNode(_el$18, _el$19);
477
+ _$setProp(_el$18, "marginTop", 1);
478
+ _$setProp(_el$18, "width", '100%');
479
+ _$insertNode(_el$19, _$createTextNode(`Waiting for quota…`));
480
+ _$effect(_$p => _$setProp(_el$19, "fg", theme().textMuted, _$p));
481
+ return _el$18;
516
482
  })();
517
483
  },
518
484
  get children() {
@@ -556,11 +522,11 @@ export function SidebarFrame(props) {
556
522
  },
557
523
  get fallback() {
558
524
  return (() => {
559
- var _el$25 = _$createElement("text");
560
- _$insertNode(_el$25, _$createTextNode(`No request yet`));
561
- _$setProp(_el$25, "wrapMode", 'none');
562
- _$effect(_$p => _$setProp(_el$25, "fg", theme().textMuted, _$p));
563
- return _el$25;
525
+ var _el$21 = _$createElement("text");
526
+ _$insertNode(_el$21, _$createTextNode(`No request yet`));
527
+ _$setProp(_el$21, "wrapMode", 'none');
528
+ _$effect(_$p => _$setProp(_el$21, "fg", theme().textMuted, _$p));
529
+ return _el$21;
564
530
  })();
565
531
  },
566
532
  children: route => _$createComponent(Show, {
@@ -573,13 +539,13 @@ export function SidebarFrame(props) {
573
539
  return routeLines(route());
574
540
  },
575
541
  children: line => (() => {
576
- var _el$27 = _$createElement("text"),
577
- _el$28 = _$createElement("b");
578
- _$insertNode(_el$27, _el$28);
579
- _$setProp(_el$27, "wrapMode", 'none');
580
- _$insert(_el$28, line);
581
- _$effect(_$p => _$setProp(_el$27, "fg", toneColor(theme(), 'accent'), _$p));
582
- return _el$27;
542
+ var _el$23 = _$createElement("text"),
543
+ _el$24 = _$createElement("b");
544
+ _$insertNode(_el$23, _el$24);
545
+ _$setProp(_el$23, "wrapMode", 'none');
546
+ _$insert(_el$24, line);
547
+ _$effect(_$p => _$setProp(_el$23, "fg", toneColor(theme(), 'accent'), _$p));
548
+ return _el$23;
583
549
  })()
584
550
  });
585
551
  },
@@ -640,17 +606,14 @@ export function SidebarFrame(props) {
640
606
  }
641
607
  }), null);
642
608
  _$effect(_p$ => {
643
- var _v$5 = theme().borderActive,
644
- _v$6 = theme().accent,
645
- _v$7 = theme().background;
646
- _v$5 !== _p$.e && (_p$.e = _$setProp(_el$12, "borderColor", _v$5, _p$.e));
647
- _v$6 !== _p$.t && (_p$.t = _$setProp(_el$14, "backgroundColor", _v$6, _p$.t));
648
- _v$7 !== _p$.a && (_p$.a = _$setProp(_el$15, "fg", _v$7, _p$.a));
609
+ var _v$3 = theme().accent,
610
+ _v$4 = theme().background;
611
+ _v$3 !== _p$.e && (_p$.e = _$setProp(_el$14, "backgroundColor", _v$3, _p$.e));
612
+ _v$4 !== _p$.t && (_p$.t = _$setProp(_el$15, "fg", _v$4, _p$.t));
649
613
  return _p$;
650
614
  }, {
651
615
  e: undefined,
652
- t: undefined,
653
- a: undefined
616
+ t: undefined
654
617
  });
655
618
  return _el$12;
656
619
  })();
@@ -1542,7 +1542,6 @@ export function sidebarThemeFromHost(theme: GaTheme | undefined): FrameTheme {
1542
1542
  textMuted: theme?.text?.muted ?? text,
1543
1543
  accent,
1544
1544
  background: theme?.background?.base ?? theme?.background?.raised?.base,
1545
- borderActive: theme?.border?.base ?? accent,
1546
1545
  success: feedback?.success?.base ?? feedback?.success?.muted,
1547
1546
  warning: feedback?.warning?.base ?? feedback?.warning?.muted,
1548
1547
  error: feedback?.error?.base ?? feedback?.error?.muted,