@cortexkit/opencode-antigravity-auth 3.0.7 → 3.0.9
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.
- package/dist/cli.js +1097 -78
- package/dist/cli.js.map +4 -4
- package/dist/cli.meta.json +128 -36
- package/dist/index.js +1523 -285
- package/dist/index.js.map +4 -4
- package/dist/index.meta.json +183 -64
- package/dist/server.js +1448 -189
- package/dist/server.js.map +4 -4
- package/dist/server.meta.json +1 -1
- package/dist/src/common-auth-embedded/auth-menu/login.d.ts +6 -10
- package/dist/src/common-auth-embedded/auth-menu/login.js +14 -11
- package/dist/src/common-auth-embedded/claustrum/availability.d.ts +89 -0
- package/dist/src/common-auth-embedded/claustrum/availability.js +106 -0
- package/dist/src/common-auth-embedded/claustrum/consumer.d.ts +36 -2
- package/dist/src/common-auth-embedded/claustrum/consumer.js +154 -6
- package/dist/src/common-auth-embedded/claustrum/custody.d.ts +106 -14
- package/dist/src/common-auth-embedded/claustrum/custody.js +294 -16
- package/dist/src/common-auth-embedded/claustrum/errors.d.ts +1 -0
- package/dist/src/common-auth-embedded/claustrum/index.d.ts +5 -3
- package/dist/src/common-auth-embedded/claustrum/index.js +4 -1
- package/dist/src/common-auth-embedded/claustrum/insula.d.ts +71 -0
- package/dist/src/common-auth-embedded/claustrum/insula.js +348 -21
- package/dist/src/common-auth-embedded/claustrum/watch.d.ts +141 -0
- package/dist/src/common-auth-embedded/claustrum/watch.js +254 -0
- package/dist/src/common-auth-embedded/fs/private-files.js +10 -2
- package/dist/src/common-auth-embedded/quota/format.d.ts +3 -0
- package/dist/src/common-auth-embedded/quota/format.js +69 -1
- package/dist/src/common-auth-embedded/quota/index.d.ts +1 -1
- package/dist/src/common-auth-embedded/quota/projection.d.ts +16 -0
- package/dist/src/common-auth-embedded/source-output.json +87 -55
- package/dist/src/ga/server/index.d.ts +2 -0
- package/dist/src/ga/server/index.d.ts.map +1 -1
- package/dist/src/ga/server/index.js +14 -1
- package/dist/src/ga/server/index.js.map +1 -1
- package/dist/src/plugin/auth-loader.d.ts +2 -1
- package/dist/src/plugin/auth-loader.d.ts.map +1 -1
- package/dist/src/plugin/auth-loader.js +5 -4
- package/dist/src/plugin/auth-loader.js.map +1 -1
- package/dist/src/plugin/background-vault-quota-refresh.d.ts.map +1 -1
- package/dist/src/plugin/background-vault-quota-refresh.js +8 -1
- package/dist/src/plugin/background-vault-quota-refresh.js.map +1 -1
- package/dist/src/plugin/fetch-interceptor.d.ts +2 -1
- package/dist/src/plugin/fetch-interceptor.d.ts.map +1 -1
- package/dist/src/plugin/fetch-interceptor.js +8 -6
- package/dist/src/plugin/fetch-interceptor.js.map +1 -1
- package/dist/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/src/plugin/ga-location-services.js +3 -0
- package/dist/src/plugin/ga-location-services.js.map +1 -1
- package/dist/src/plugin/index.d.ts.map +1 -1
- package/dist/src/plugin/index.js +1 -0
- package/dist/src/plugin/index.js.map +1 -1
- package/dist/src/plugin/quota.d.ts +1 -1
- package/dist/src/plugin/quota.d.ts.map +1 -1
- package/dist/src/plugin/quota.js +17 -5
- package/dist/src/plugin/quota.js.map +1 -1
- package/dist/src/plugin/shared/after-handoff.d.ts +14 -0
- package/dist/src/plugin/shared/after-handoff.d.ts.map +1 -0
- package/dist/src/plugin/shared/after-handoff.js +89 -0
- package/dist/src/plugin/shared/after-handoff.js.map +1 -0
- package/dist/src/plugin/shared/request-services.d.ts +8 -2
- package/dist/src/plugin/shared/request-services.d.ts.map +1 -1
- package/dist/src/plugin/shared/request-services.js +57 -36
- package/dist/src/plugin/shared/request-services.js.map +1 -1
- package/dist/src/plugin/shared/vault-request-credentials.d.ts +11 -8
- package/dist/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
- package/dist/src/plugin/shared/vault-request-credentials.js +23 -5
- package/dist/src/plugin/shared/vault-request-credentials.js.map +1 -1
- package/dist/src/plugin/vault-custody.d.ts +4 -0
- package/dist/src/plugin/vault-custody.d.ts.map +1 -1
- package/dist/src/plugin/vault-custody.js +12 -0
- package/dist/src/plugin/vault-custody.js.map +1 -1
- package/dist/src/plugin/vault-insula-quota.d.ts +6 -0
- package/dist/src/plugin/vault-insula-quota.d.ts.map +1 -0
- package/dist/src/plugin/vault-insula-quota.js +50 -0
- package/dist/src/plugin/vault-insula-quota.js.map +1 -0
- package/dist/src/plugin/vault-quota-outcome.d.ts +1 -1
- package/dist/src/plugin/vault-quota-outcome.d.ts.map +1 -1
- package/dist/src/plugin/vault-quota-outcome.js.map +1 -1
- package/dist/src/tui.d.ts.map +1 -1
- package/dist/src/tui.js +82 -66
- package/dist/src/tui.js.map +1 -1
- package/dist/tui-build-map.json +27 -27
- package/dist/tui-ga-build-map.json +5 -5
- package/dist/types/src/common-auth-embedded/claustrum/availability.d.ts +89 -0
- package/dist/types/src/common-auth-embedded/claustrum/consumer.d.ts +36 -2
- package/dist/types/src/common-auth-embedded/claustrum/custody.d.ts +106 -14
- package/dist/types/src/common-auth-embedded/claustrum/errors.d.ts +1 -0
- package/dist/types/src/common-auth-embedded/claustrum/index.d.ts +5 -3
- package/dist/types/src/common-auth-embedded/claustrum/insula.d.ts +71 -0
- package/dist/types/src/common-auth-embedded/claustrum/watch.d.ts +141 -0
- package/dist/types/src/common-auth-embedded/quota/format.d.ts +3 -0
- package/dist/types/src/common-auth-embedded/quota/index.d.ts +1 -1
- package/dist/types/src/common-auth-embedded/quota/projection.d.ts +16 -0
- package/dist/types/src/ga/server/index.d.ts +2 -0
- package/dist/types/src/ga/server/index.d.ts.map +1 -1
- package/dist/types/src/plugin/auth-loader.d.ts +2 -1
- package/dist/types/src/plugin/auth-loader.d.ts.map +1 -1
- package/dist/types/src/plugin/background-vault-quota-refresh.d.ts.map +1 -1
- package/dist/types/src/plugin/fetch-interceptor.d.ts +2 -1
- package/dist/types/src/plugin/fetch-interceptor.d.ts.map +1 -1
- package/dist/types/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/types/src/plugin/index.d.ts.map +1 -1
- package/dist/types/src/plugin/quota.d.ts +1 -1
- package/dist/types/src/plugin/quota.d.ts.map +1 -1
- package/dist/types/src/plugin/shared/after-handoff.d.ts +14 -0
- package/dist/types/src/plugin/shared/after-handoff.d.ts.map +1 -0
- package/dist/types/src/plugin/shared/request-services.d.ts +8 -2
- package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
- package/dist/types/src/plugin/shared/vault-request-credentials.d.ts +11 -8
- package/dist/types/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
- package/dist/types/src/plugin/vault-custody.d.ts +4 -0
- package/dist/types/src/plugin/vault-custody.d.ts.map +1 -1
- package/dist/types/src/plugin/vault-insula-quota.d.ts +6 -0
- package/dist/types/src/plugin/vault-insula-quota.d.ts.map +1 -0
- package/dist/types/src/plugin/vault-quota-outcome.d.ts +1 -1
- package/dist/types/src/plugin/vault-quota-outcome.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/common-auth-embedded/auth-menu/login.d.ts +6 -10
- package/src/common-auth-embedded/auth-menu/login.js +14 -11
- package/src/common-auth-embedded/claustrum/availability.d.ts +89 -0
- package/src/common-auth-embedded/claustrum/availability.js +106 -0
- package/src/common-auth-embedded/claustrum/consumer.d.ts +36 -2
- package/src/common-auth-embedded/claustrum/consumer.js +154 -6
- package/src/common-auth-embedded/claustrum/custody.d.ts +106 -14
- package/src/common-auth-embedded/claustrum/custody.js +294 -16
- package/src/common-auth-embedded/claustrum/errors.d.ts +1 -0
- package/src/common-auth-embedded/claustrum/index.d.ts +5 -3
- package/src/common-auth-embedded/claustrum/index.js +4 -1
- package/src/common-auth-embedded/claustrum/insula.d.ts +71 -0
- package/src/common-auth-embedded/claustrum/insula.js +348 -21
- package/src/common-auth-embedded/claustrum/watch.d.ts +141 -0
- package/src/common-auth-embedded/claustrum/watch.js +254 -0
- package/src/common-auth-embedded/fs/private-files.js +10 -2
- package/src/common-auth-embedded/quota/format.d.ts +3 -0
- package/src/common-auth-embedded/quota/format.js +69 -1
- package/src/common-auth-embedded/quota/index.d.ts +1 -1
- package/src/common-auth-embedded/quota/projection.d.ts +16 -0
- package/src/common-auth-embedded/source-output.json +87 -55
- package/src/tui-compiled/common-auth-embedded/fs/private-files.js +10 -2
- package/src/tui-compiled/common-auth-embedded/quota/format.js +69 -1
- package/src/tui-compiled/tui.js +123 -97
- package/src/tui-ga-compiled/shared/aef2402f8fc342f0-format.js +69 -1
- package/src/tui-ga-raw/shared/aef2402f8fc342f0-format.js +69 -1
- package/src/tui-raw/common-auth-embedded/fs/private-files.js +10 -2
- package/src/tui-raw/common-auth-embedded/quota/format.js +69 -1
- package/src/tui-raw/tui.tsx +126 -107
- package/src/tui.tsx +126 -107
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"package": "@cortexkit/common-auth",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.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.
|
|
65
|
-
"tarballSha256": "
|
|
66
|
-
"sri": "sha512-
|
|
67
|
-
"canonicalFiles":
|
|
68
|
-
"canonicalBytes":
|
|
64
|
+
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.22.0.tgz",
|
|
65
|
+
"tarballSha256": "846844993cfddd8511e5cf9b0a364629b210a3efbd086ba7d51eed8fc52581ab",
|
|
66
|
+
"sri": "sha512-02yOfdzAI1QSwtofnjvSeFsELl6Lo1kp7jE4pCRFLRx0q0aFxlGeJgWacIVvM7y/DClkhstQvaRrtL/VSs8jUQ==",
|
|
67
|
+
"canonicalFiles": 182,
|
|
68
|
+
"canonicalBytes": 1032551,
|
|
69
69
|
"generator": {
|
|
70
70
|
"path": "packages/opencode/scripts/embed-common-auth.ts",
|
|
71
71
|
"version": 3,
|
|
72
|
-
"sha256": "
|
|
72
|
+
"sha256": "01b7caa2370617052fe82fa0f7dd3ebc43d23de75e19b53a8683150259a1d5bc"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
{
|
|
@@ -155,17 +155,17 @@
|
|
|
155
155
|
{
|
|
156
156
|
"source": "package/dist/auth-menu/login.d.ts",
|
|
157
157
|
"output": "auth-menu/login.d.ts",
|
|
158
|
-
"bytes":
|
|
159
|
-
"sourceSha256": "
|
|
160
|
-
"outputSha256": "
|
|
158
|
+
"bytes": 2080,
|
|
159
|
+
"sourceSha256": "059c952d50b86007a48dc53fefbc600df8708d84ee203942f1bb0f9262b67542",
|
|
160
|
+
"outputSha256": "059c952d50b86007a48dc53fefbc600df8708d84ee203942f1bb0f9262b67542",
|
|
161
161
|
"transform": "verbatim"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
"source": "package/dist/auth-menu/login.js",
|
|
165
165
|
"output": "auth-menu/login.js",
|
|
166
|
-
"bytes":
|
|
167
|
-
"sourceSha256": "
|
|
168
|
-
"outputSha256": "
|
|
166
|
+
"bytes": 3972,
|
|
167
|
+
"sourceSha256": "f55cb1e2a40cab6ef99b5386682615dca059e8d7d982f4a508306c225084f647",
|
|
168
|
+
"outputSha256": "f55cb1e2a40cab6ef99b5386682615dca059e8d7d982f4a508306c225084f647",
|
|
169
169
|
"transform": "verbatim"
|
|
170
170
|
},
|
|
171
171
|
{
|
|
@@ -232,36 +232,52 @@
|
|
|
232
232
|
"outputSha256": "134d4950e10d5cd67fd28dba7af51f67e801e719d40b2824bf48e8dde55a1b7b",
|
|
233
233
|
"transform": "verbatim"
|
|
234
234
|
},
|
|
235
|
+
{
|
|
236
|
+
"source": "package/dist/claustrum/availability.d.ts",
|
|
237
|
+
"output": "claustrum/availability.d.ts",
|
|
238
|
+
"bytes": 3375,
|
|
239
|
+
"sourceSha256": "eba8ff78abed434be6194715d214a53322f4414a28e6a7389fe14f8a52b772ac",
|
|
240
|
+
"outputSha256": "eba8ff78abed434be6194715d214a53322f4414a28e6a7389fe14f8a52b772ac",
|
|
241
|
+
"transform": "verbatim"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"source": "package/dist/claustrum/availability.js",
|
|
245
|
+
"output": "claustrum/availability.js",
|
|
246
|
+
"bytes": 4107,
|
|
247
|
+
"sourceSha256": "4bfb03de131ed7d036631a6d6455cc6f465ab7a9ea61575a7378d2f447c7cf67",
|
|
248
|
+
"outputSha256": "4bfb03de131ed7d036631a6d6455cc6f465ab7a9ea61575a7378d2f447c7cf67",
|
|
249
|
+
"transform": "verbatim"
|
|
250
|
+
},
|
|
235
251
|
{
|
|
236
252
|
"source": "package/dist/claustrum/consumer.d.ts",
|
|
237
253
|
"output": "claustrum/consumer.d.ts",
|
|
238
|
-
"bytes":
|
|
239
|
-
"sourceSha256": "
|
|
240
|
-
"outputSha256": "
|
|
254
|
+
"bytes": 9422,
|
|
255
|
+
"sourceSha256": "757c3c0e9a0d03984d0510dc5a6248e35426fe03d2b72a0a1f59204b9f1666ef",
|
|
256
|
+
"outputSha256": "757c3c0e9a0d03984d0510dc5a6248e35426fe03d2b72a0a1f59204b9f1666ef",
|
|
241
257
|
"transform": "verbatim"
|
|
242
258
|
},
|
|
243
259
|
{
|
|
244
260
|
"source": "package/dist/claustrum/consumer.js",
|
|
245
261
|
"output": "claustrum/consumer.js",
|
|
246
|
-
"bytes":
|
|
247
|
-
"sourceSha256": "
|
|
248
|
-
"outputSha256": "
|
|
262
|
+
"bytes": 25150,
|
|
263
|
+
"sourceSha256": "58cd180a286241cbe699441939045a28132c04ba1fb0b4e5a07ff1b18b3ff486",
|
|
264
|
+
"outputSha256": "58cd180a286241cbe699441939045a28132c04ba1fb0b4e5a07ff1b18b3ff486",
|
|
249
265
|
"transform": "verbatim"
|
|
250
266
|
},
|
|
251
267
|
{
|
|
252
268
|
"source": "package/dist/claustrum/custody.d.ts",
|
|
253
269
|
"output": "claustrum/custody.d.ts",
|
|
254
|
-
"bytes":
|
|
255
|
-
"sourceSha256": "
|
|
256
|
-
"outputSha256": "
|
|
270
|
+
"bytes": 14842,
|
|
271
|
+
"sourceSha256": "f776af511c7a02f8e5c4cb0361845d1e740eec96244fee5cfa1289d2212dffd9",
|
|
272
|
+
"outputSha256": "f776af511c7a02f8e5c4cb0361845d1e740eec96244fee5cfa1289d2212dffd9",
|
|
257
273
|
"transform": "verbatim"
|
|
258
274
|
},
|
|
259
275
|
{
|
|
260
276
|
"source": "package/dist/claustrum/custody.js",
|
|
261
277
|
"output": "claustrum/custody.js",
|
|
262
|
-
"bytes":
|
|
263
|
-
"sourceSha256": "
|
|
264
|
-
"outputSha256": "
|
|
278
|
+
"bytes": 27016,
|
|
279
|
+
"sourceSha256": "5d2ead857d6e6384980dace94d308f1f47afe831c82e2b644ab434ffb0bcf151",
|
|
280
|
+
"outputSha256": "5d2ead857d6e6384980dace94d308f1f47afe831c82e2b644ab434ffb0bcf151",
|
|
265
281
|
"transform": "verbatim"
|
|
266
282
|
},
|
|
267
283
|
{
|
|
@@ -283,9 +299,9 @@
|
|
|
283
299
|
{
|
|
284
300
|
"source": "package/dist/claustrum/errors.d.ts",
|
|
285
301
|
"output": "claustrum/errors.d.ts",
|
|
286
|
-
"bytes":
|
|
287
|
-
"sourceSha256": "
|
|
288
|
-
"outputSha256": "
|
|
302
|
+
"bytes": 1145,
|
|
303
|
+
"sourceSha256": "b7533d4c281807224d6d05f4bb7a596006862a6c05dc4462fae02af388054bce",
|
|
304
|
+
"outputSha256": "b7533d4c281807224d6d05f4bb7a596006862a6c05dc4462fae02af388054bce",
|
|
289
305
|
"transform": "verbatim"
|
|
290
306
|
},
|
|
291
307
|
{
|
|
@@ -315,33 +331,33 @@
|
|
|
315
331
|
{
|
|
316
332
|
"source": "package/dist/claustrum/index.d.ts",
|
|
317
333
|
"output": "claustrum/index.d.ts",
|
|
318
|
-
"bytes":
|
|
319
|
-
"sourceSha256": "
|
|
320
|
-
"outputSha256": "
|
|
334
|
+
"bytes": 3708,
|
|
335
|
+
"sourceSha256": "97dc7d8f1cd9a74301a55569a06a2661d54966240edbfdcaf5989d112ec94885",
|
|
336
|
+
"outputSha256": "97dc7d8f1cd9a74301a55569a06a2661d54966240edbfdcaf5989d112ec94885",
|
|
321
337
|
"transform": "verbatim"
|
|
322
338
|
},
|
|
323
339
|
{
|
|
324
340
|
"source": "package/dist/claustrum/index.js",
|
|
325
341
|
"output": "claustrum/index.js",
|
|
326
|
-
"bytes":
|
|
327
|
-
"sourceSha256": "
|
|
328
|
-
"outputSha256": "
|
|
342
|
+
"bytes": 2456,
|
|
343
|
+
"sourceSha256": "1e2ae0ee6f2754189e846298a1c6ce2dd4a5eb8cb7f9293f6c24f9725b8537be",
|
|
344
|
+
"outputSha256": "1e2ae0ee6f2754189e846298a1c6ce2dd4a5eb8cb7f9293f6c24f9725b8537be",
|
|
329
345
|
"transform": "verbatim"
|
|
330
346
|
},
|
|
331
347
|
{
|
|
332
348
|
"source": "package/dist/claustrum/insula.d.ts",
|
|
333
349
|
"output": "claustrum/insula.d.ts",
|
|
334
|
-
"bytes":
|
|
335
|
-
"sourceSha256": "
|
|
336
|
-
"outputSha256": "
|
|
350
|
+
"bytes": 5463,
|
|
351
|
+
"sourceSha256": "e1c9ecf858b7ecbb21c1f954cbd35b5ea77494e5aca9dbd198fe5e2cd0a3a95f",
|
|
352
|
+
"outputSha256": "e1c9ecf858b7ecbb21c1f954cbd35b5ea77494e5aca9dbd198fe5e2cd0a3a95f",
|
|
337
353
|
"transform": "verbatim"
|
|
338
354
|
},
|
|
339
355
|
{
|
|
340
356
|
"source": "package/dist/claustrum/insula.js",
|
|
341
357
|
"output": "claustrum/insula.js",
|
|
342
|
-
"bytes":
|
|
343
|
-
"sourceSha256": "
|
|
344
|
-
"outputSha256": "
|
|
358
|
+
"bytes": 19744,
|
|
359
|
+
"sourceSha256": "506b549f26a741599bfee04bf334cf7b29fde4077a79f65bc2dad78e03bafee0",
|
|
360
|
+
"outputSha256": "506b549f26a741599bfee04bf334cf7b29fde4077a79f65bc2dad78e03bafee0",
|
|
345
361
|
"transform": "verbatim"
|
|
346
362
|
},
|
|
347
363
|
{
|
|
@@ -376,6 +392,22 @@
|
|
|
376
392
|
"outputSha256": "e6ac8f59dab51db4756ccbaa89fc73acd213a7a4795fdf5a7c7e4f653455fe94",
|
|
377
393
|
"transform": "verbatim"
|
|
378
394
|
},
|
|
395
|
+
{
|
|
396
|
+
"source": "package/dist/claustrum/watch.d.ts",
|
|
397
|
+
"output": "claustrum/watch.d.ts",
|
|
398
|
+
"bytes": 5760,
|
|
399
|
+
"sourceSha256": "54f088f0e6c863d75295721700a423e682bfd4a6735e02a03556b2faa379d991",
|
|
400
|
+
"outputSha256": "54f088f0e6c863d75295721700a423e682bfd4a6735e02a03556b2faa379d991",
|
|
401
|
+
"transform": "verbatim"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"source": "package/dist/claustrum/watch.js",
|
|
405
|
+
"output": "claustrum/watch.js",
|
|
406
|
+
"bytes": 9226,
|
|
407
|
+
"sourceSha256": "6fdd6ed31d349da6cd016ebbd5f283ce595e9fab376a44cc6587cc9a13d8f589",
|
|
408
|
+
"outputSha256": "6fdd6ed31d349da6cd016ebbd5f283ce595e9fab376a44cc6587cc9a13d8f589",
|
|
409
|
+
"transform": "verbatim"
|
|
410
|
+
},
|
|
379
411
|
{
|
|
380
412
|
"source": "package/dist/commands/builtins.d.ts",
|
|
381
413
|
"output": "commands/builtins.d.ts",
|
|
@@ -531,9 +563,9 @@
|
|
|
531
563
|
{
|
|
532
564
|
"source": "package/dist/fs/private-files.js",
|
|
533
565
|
"output": "fs/private-files.js",
|
|
534
|
-
"bytes":
|
|
535
|
-
"sourceSha256": "
|
|
536
|
-
"outputSha256": "
|
|
566
|
+
"bytes": 12448,
|
|
567
|
+
"sourceSha256": "1c8f34202b535d774d8c1a53bd403255f02701760c7378e020756c02c55a97c4",
|
|
568
|
+
"outputSha256": "1c8f34202b535d774d8c1a53bd403255f02701760c7378e020756c02c55a97c4",
|
|
537
569
|
"transform": "verbatim"
|
|
538
570
|
},
|
|
539
571
|
{
|
|
@@ -779,25 +811,25 @@
|
|
|
779
811
|
{
|
|
780
812
|
"source": "package/dist/quota/format.d.ts",
|
|
781
813
|
"output": "quota/format.d.ts",
|
|
782
|
-
"bytes":
|
|
783
|
-
"sourceSha256": "
|
|
784
|
-
"outputSha256": "
|
|
814
|
+
"bytes": 4415,
|
|
815
|
+
"sourceSha256": "293073e9f75e7f15790669f4be8340061566e889259593fcfaf17be9fa4f0a01",
|
|
816
|
+
"outputSha256": "293073e9f75e7f15790669f4be8340061566e889259593fcfaf17be9fa4f0a01",
|
|
785
817
|
"transform": "verbatim"
|
|
786
818
|
},
|
|
787
819
|
{
|
|
788
820
|
"source": "package/dist/quota/format.js",
|
|
789
821
|
"output": "quota/format.js",
|
|
790
|
-
"bytes":
|
|
791
|
-
"sourceSha256": "
|
|
792
|
-
"outputSha256": "
|
|
822
|
+
"bytes": 16323,
|
|
823
|
+
"sourceSha256": "d4856ea40dc4269f9a6ffa78bee8564ba648170530e8ff71af4cf38ba5f3baaa",
|
|
824
|
+
"outputSha256": "d4856ea40dc4269f9a6ffa78bee8564ba648170530e8ff71af4cf38ba5f3baaa",
|
|
793
825
|
"transform": "verbatim"
|
|
794
826
|
},
|
|
795
827
|
{
|
|
796
828
|
"source": "package/dist/quota/index.d.ts",
|
|
797
829
|
"output": "quota/index.d.ts",
|
|
798
|
-
"bytes":
|
|
799
|
-
"sourceSha256": "
|
|
800
|
-
"outputSha256": "
|
|
830
|
+
"bytes": 1059,
|
|
831
|
+
"sourceSha256": "fbb7a865108f98da1f3bb44fba20614a2998ccf5c906b271419b49d37a814214",
|
|
832
|
+
"outputSha256": "fbb7a865108f98da1f3bb44fba20614a2998ccf5c906b271419b49d37a814214",
|
|
801
833
|
"transform": "verbatim"
|
|
802
834
|
},
|
|
803
835
|
{
|
|
@@ -843,9 +875,9 @@
|
|
|
843
875
|
{
|
|
844
876
|
"source": "package/dist/quota/projection.d.ts",
|
|
845
877
|
"output": "quota/projection.d.ts",
|
|
846
|
-
"bytes":
|
|
847
|
-
"sourceSha256": "
|
|
848
|
-
"outputSha256": "
|
|
878
|
+
"bytes": 3549,
|
|
879
|
+
"sourceSha256": "2bbf4942bc034f3521c6c35e30446d73de525a099f7ba49c004d160e4dd917ea",
|
|
880
|
+
"outputSha256": "2bbf4942bc034f3521c6c35e30446d73de525a099f7ba49c004d160e4dd917ea",
|
|
849
881
|
"transform": "verbatim"
|
|
850
882
|
},
|
|
851
883
|
{
|
|
@@ -184,19 +184,25 @@ export async function replaceWindowsFile(from, to, options = {}) {
|
|
|
184
184
|
to = resolve(to);
|
|
185
185
|
const now = options.now ?? (() => performance.now());
|
|
186
186
|
const start = now();
|
|
187
|
-
const
|
|
187
|
+
const leaseDeadline = options.deadline ?? Infinity;
|
|
188
|
+
let retryDeadline;
|
|
188
189
|
const delays = [0, 10, 20, 40, 80, 100];
|
|
189
190
|
let original;
|
|
190
191
|
let attempts = 0;
|
|
191
192
|
for (const delay of delays) {
|
|
193
|
+
const deadline = Math.min(retryDeadline ?? Infinity, leaseDeadline);
|
|
192
194
|
if (now() >= deadline)
|
|
193
195
|
break;
|
|
194
196
|
if (delay)
|
|
195
197
|
await (options.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms))))(Math.min(delay, Math.max(0, deadline - now())));
|
|
196
198
|
if (now() >= deadline)
|
|
197
199
|
break;
|
|
200
|
+
const fenceStart = now();
|
|
198
201
|
await options.beforeRename?.();
|
|
199
|
-
|
|
202
|
+
// Ownership checks fence every attempt but do not spend the sharing-retry budget.
|
|
203
|
+
if (retryDeadline !== undefined)
|
|
204
|
+
retryDeadline += now() - fenceStart;
|
|
205
|
+
if (now() >= leaseDeadline)
|
|
200
206
|
break;
|
|
201
207
|
attempts++;
|
|
202
208
|
try {
|
|
@@ -212,6 +218,8 @@ export async function replaceWindowsFile(from, to, options = {}) {
|
|
|
212
218
|
!detail.reason;
|
|
213
219
|
if (!candidate)
|
|
214
220
|
break;
|
|
221
|
+
// Start the retry window only once a rename has actually failed.
|
|
222
|
+
retryDeadline ??= now() + 500;
|
|
215
223
|
}
|
|
216
224
|
}
|
|
217
225
|
const error = new PrivateFileError(to, 'rename', original ??
|
|
@@ -122,6 +122,9 @@ function scopedWindowParts(quota, options) {
|
|
|
122
122
|
const remainingPercent = clampPercent(limit.remainingPercent ?? 0);
|
|
123
123
|
return {
|
|
124
124
|
scope: limit.scope,
|
|
125
|
+
...(limit.windowMinutes === undefined
|
|
126
|
+
? {}
|
|
127
|
+
: { windowMinutes: limit.windowMinutes }),
|
|
125
128
|
part: {
|
|
126
129
|
kind: 'window',
|
|
127
130
|
name: quotaWindowName(limit),
|
|
@@ -212,6 +215,66 @@ function scopeAbbreviations(scopes) {
|
|
|
212
215
|
}
|
|
213
216
|
return new Map(scopes.map((scope) => [scope, short(scopeDisplayName(scope))]));
|
|
214
217
|
}
|
|
218
|
+
/** The most groups a grouped narrow line shows. */
|
|
219
|
+
const NARROW_GROUP_LIMIT = 2;
|
|
220
|
+
/**
|
|
221
|
+
* The names the groups read under in the narrow line, one per listed group:
|
|
222
|
+
* each label's short name, derived exactly as a model window's is (`Gemini`
|
|
223
|
+
* → `Ge`, `Other models` → `Ot`, colliding names extended until they
|
|
224
|
+
* differ), computed over every listed group so a group keeps its name
|
|
225
|
+
* whichever groups show. A blank label falls back to the group's scope.
|
|
226
|
+
*/
|
|
227
|
+
function groupShortNames(groups) {
|
|
228
|
+
const labels = groups.map((group) => group.label.trim() || group.scope);
|
|
229
|
+
const short = scopeAbbreviations(labels);
|
|
230
|
+
return labels.map((label) => short.get(label) ?? label);
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* The narrow line of a reading whose windows belong to named groups and that
|
|
234
|
+
* has no account-wide window: for each group, its tightest window as
|
|
235
|
+
* `Ge 7d 62%`, with ` left` once at the end. The tightest window is the
|
|
236
|
+
* one with least left, compared before rounding; on a tie the first in
|
|
237
|
+
* display order (the shorter window) wins. At most two groups show: the two
|
|
238
|
+
* with least left, earlier-listed first on a tie, and always in the order
|
|
239
|
+
* the reading lists them, so the line does not reorder as the figures move.
|
|
240
|
+
* A group with no reported window is skipped. Windows outside the listed
|
|
241
|
+
* groups and the credit budget are left out. Undefined when the rule does
|
|
242
|
+
* not apply, so the caller uses the ordinary narrow rule.
|
|
243
|
+
*/
|
|
244
|
+
function groupedNarrowPieces(groups, windows) {
|
|
245
|
+
if (!groups || groups.length === 0)
|
|
246
|
+
return undefined;
|
|
247
|
+
const reported = windows.filter(({ part }) => part.kind === 'window');
|
|
248
|
+
if (reported.some(({ scope }) => scope === ALL_SCOPE))
|
|
249
|
+
return undefined;
|
|
250
|
+
const candidates = groups.flatMap((group, listed) => {
|
|
251
|
+
const inGroup = reported.filter(({ scope }) => scope === group.scope);
|
|
252
|
+
// `windows` is already in display order, and strictly lower wins, so on
|
|
253
|
+
// a tie the shorter window keeps the place.
|
|
254
|
+
const groupTightest = inGroup.reduce((least, window) => least === undefined ||
|
|
255
|
+
(window.part.remainingPercent ?? 0) < (least.part.remainingPercent ?? 0)
|
|
256
|
+
? window
|
|
257
|
+
: least, undefined);
|
|
258
|
+
return groupTightest ? [{ group, listed, window: groupTightest }] : [];
|
|
259
|
+
});
|
|
260
|
+
if (candidates.length === 0)
|
|
261
|
+
return undefined;
|
|
262
|
+
const names = groupShortNames(groups);
|
|
263
|
+
const left = (candidate) => candidate.window.part.remainingPercent ?? 0;
|
|
264
|
+
const shown = [...candidates]
|
|
265
|
+
.sort((a, b) => left(a) - left(b) || a.listed - b.listed)
|
|
266
|
+
.slice(0, NARROW_GROUP_LIMIT)
|
|
267
|
+
.sort((a, b) => a.listed - b.listed);
|
|
268
|
+
return shown.map((candidate, index) => {
|
|
269
|
+
const { windowMinutes } = candidate.window;
|
|
270
|
+
const piece = [
|
|
271
|
+
names[candidate.listed] ?? candidate.group.scope,
|
|
272
|
+
...(windowMinutes === undefined ? [] : [lengthName(windowMinutes)]),
|
|
273
|
+
`${wholePercent(left(candidate))}%`,
|
|
274
|
+
].join(' ');
|
|
275
|
+
return index === shown.length - 1 ? `${piece} left` : piece;
|
|
276
|
+
});
|
|
277
|
+
}
|
|
215
278
|
/**
|
|
216
279
|
* The narrow form's pieces: every account-wide window as `5h 92%`, then at
|
|
217
280
|
* most one more item, with ` left` added once to the last piece. That item is
|
|
@@ -224,10 +287,15 @@ function scopeAbbreviations(scopes) {
|
|
|
224
287
|
* be chosen; when nothing at all is shown it keeps its compact wording
|
|
225
288
|
* (`credits available`). No age is added; `isQuotaStale` says whether the
|
|
226
289
|
* reading is stale. A window whose reset arrived after the reading keeps its
|
|
227
|
-
* figure, as in the other forms.
|
|
290
|
+
* figure, as in the other forms. A reading that lists named groups and has no
|
|
291
|
+
* account-wide window reads one item per group instead (see
|
|
292
|
+
* `groupedNarrowPieces`).
|
|
228
293
|
*/
|
|
229
294
|
function narrowTextParts(quota, options) {
|
|
230
295
|
const { windows } = scopedWindowParts(quota, options);
|
|
296
|
+
const grouped = groupedNarrowPieces(quota?.groups, windows);
|
|
297
|
+
if (grouped)
|
|
298
|
+
return grouped;
|
|
231
299
|
const general = windows.filter(({ part, scope }) => part.kind === 'window' && scope === ALL_SCOPE);
|
|
232
300
|
const scoped = windows.filter(({ part, scope }) => part.kind === 'window' && scope !== ALL_SCOPE);
|
|
233
301
|
const abbreviations = scopeAbbreviations(scoped.map(({ scope }) => scope));
|
package/src/tui-compiled/tui.js
CHANGED
|
@@ -52,13 +52,13 @@ import { readFileSync } from "node:fs";
|
|
|
52
52
|
import { dirname, join } from "node:path";
|
|
53
53
|
import { fileURLToPath } from "node:url";
|
|
54
54
|
import { createSlot } from "opentui:runtime-module:%40opentui%2Fsolid";
|
|
55
|
-
import { createSignal, For, onCleanup, onMount, Show } from "opentui:runtime-module:solid-js";
|
|
56
|
-
import {
|
|
55
|
+
import { createMemo, createSignal, For, onCleanup, onMount, Show } from "opentui:runtime-module:solid-js";
|
|
56
|
+
import { formatQuota, isQuotaStale } from "./common-auth-embedded/quota/index.js";
|
|
57
57
|
import { getRpcDir } from "./rpc/rpc-dir.js";
|
|
58
58
|
import { readSidebarState } from "./sidebar-state.js";
|
|
59
59
|
import { createTuiFileLogger } from "./tui/file-logger.js";
|
|
60
60
|
import { createV1MenuTransport, dispatchV1Notification } from "./tui/host-v1.js";
|
|
61
|
-
import { ASSUMED_CONTENT_WIDTH, accountWindows, fitLabel,
|
|
61
|
+
import { ASSUMED_CONTENT_WIDTH, accountWindows, fitLabel, GROUP_NAMES, QUOTA_ORDER, QuotaAccountBlock, quotaTone } from "./tui/quota-layout.js";
|
|
62
62
|
import { routeLineFits } from "./tui/route-layout.js";
|
|
63
63
|
import { computeEffectiveOrder, DEFAULT_PREFS, DEFAULT_SLOT_ORDER, PLUGIN_KEY, queueTuiPreferenceUpdate, readTuiPreferencesFile, resolveAntigravityAuthPrefs, watchTuiPreferences } from "./tui-preferences.js";
|
|
64
64
|
const ID = 'cortexkit.antigravity-auth';
|
|
@@ -106,11 +106,6 @@ let rpcInFlight = false;
|
|
|
106
106
|
const GLOBAL_NOTIFICATION_CURSOR = '__global__';
|
|
107
107
|
const MAX_NOTIFICATION_CURSORS = 256;
|
|
108
108
|
|
|
109
|
-
// The collapsed row has room for one word before the window name.
|
|
110
|
-
const COLLAPSED_GROUP_NAMES = {
|
|
111
|
-
gemini: 'Gemini',
|
|
112
|
-
'non-gemini': 'Other'
|
|
113
|
-
};
|
|
114
109
|
// --- Theme tokens ----------------------------------------------------------
|
|
115
110
|
//
|
|
116
111
|
// The sidebar pulls its colors from the live host theme (`api.theme.current`
|
|
@@ -390,8 +385,8 @@ function StatRow(props) {
|
|
|
390
385
|
}
|
|
391
386
|
|
|
392
387
|
// Fleet CollapsedRow: muted label left, caller-supplied value right. The
|
|
393
|
-
// collapsed view renders one for
|
|
394
|
-
// sides to the measured width, so neither side may wrap.
|
|
388
|
+
// collapsed view renders one row for every visible account. The caller sizes
|
|
389
|
+
// both sides to the measured width, so neither side may wrap.
|
|
395
390
|
function CollapsedRow(props) {
|
|
396
391
|
return (() => {
|
|
397
392
|
var _el$8 = _$createElement("box"),
|
|
@@ -460,32 +455,47 @@ function AccountBlock(props) {
|
|
|
460
455
|
}
|
|
461
456
|
});
|
|
462
457
|
}
|
|
463
|
-
|
|
464
|
-
//
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
458
|
+
|
|
459
|
+
// Sidebar snapshots store quota values as percentages and epoch-millisecond
|
|
460
|
+
// reset times. Adapt those values to the shared projection so common-auth, not
|
|
461
|
+
// the renderer, decides how the narrow line reads.
|
|
462
|
+
function sidebarQuotaProjection(account, now) {
|
|
463
|
+
const limits = [];
|
|
464
|
+
for (const {
|
|
465
|
+
key,
|
|
466
|
+
reading
|
|
467
|
+
} of accountWindows(account, now)) {
|
|
468
|
+
const {
|
|
469
|
+
checkedAt,
|
|
470
|
+
remainingPercent,
|
|
471
|
+
resetAt,
|
|
472
|
+
window
|
|
473
|
+
} = reading;
|
|
474
|
+
if (typeof checkedAt !== 'number' || !Number.isFinite(checkedAt) || checkedAt < 0 || !Number.isFinite(remainingPercent)) continue;
|
|
475
|
+
const resetsAt = typeof resetAt === 'number' && Number.isFinite(resetAt) && Math.abs(resetAt) <= 8.64e15 ? new Date(resetAt).toISOString() : undefined;
|
|
476
|
+
limits.push({
|
|
477
|
+
scope: key,
|
|
478
|
+
label: GROUP_NAMES[key],
|
|
479
|
+
kind: 'reading',
|
|
480
|
+
checkedAt,
|
|
481
|
+
remainingPercent: Math.max(0, Math.min(100, remainingPercent)),
|
|
482
|
+
...(window ? {
|
|
483
|
+
windowMinutes: window === 'weekly' ? 7 * 24 * 60 : 5 * 60
|
|
484
|
+
} : {}),
|
|
485
|
+
...(resetsAt ? {
|
|
486
|
+
resetsAt
|
|
487
|
+
} : {})
|
|
488
|
+
});
|
|
484
489
|
}
|
|
490
|
+
if (limits.length === 0) return undefined;
|
|
485
491
|
return {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
492
|
+
scope: 'all',
|
|
493
|
+
limits,
|
|
494
|
+
checkedAt: Math.min(...limits.map(limit => limit.checkedAt)),
|
|
495
|
+
groups: QUOTA_ORDER.map(scope => ({
|
|
496
|
+
scope,
|
|
497
|
+
label: GROUP_NAMES[scope]
|
|
498
|
+
}))
|
|
489
499
|
};
|
|
490
500
|
}
|
|
491
501
|
function formatWait(ms) {
|
|
@@ -668,70 +678,86 @@ export function SidebarPanel(props) {
|
|
|
668
678
|
return _$memo(() => !!collapsed())() && hasData();
|
|
669
679
|
},
|
|
670
680
|
get children() {
|
|
671
|
-
return (
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
const tone = () => {
|
|
684
|
-
const remaining = quota().remaining;
|
|
685
|
-
return remaining == null ? 'muted' : quotaTone(100 - remaining, prefs().appearance);
|
|
686
|
-
};
|
|
687
|
-
// Label, one space, the figure and the two-cell dot. The
|
|
688
|
-
// group prefix goes first when narrow; then the label is cut.
|
|
689
|
-
const figure = () => {
|
|
690
|
-
const {
|
|
691
|
-
prefix,
|
|
692
|
-
text
|
|
693
|
-
} = quota();
|
|
694
|
-
const full = `${prefix}${text}`;
|
|
695
|
-
return selected().label.length + 1 + full.length + 2 <= contentWidth() ? full : text;
|
|
696
|
-
};
|
|
697
|
-
const label = () => fitLabel(selected().label, contentWidth() - 1 - figure().length - 2);
|
|
698
|
-
return _$createComponent(CollapsedRow, {
|
|
699
|
-
theme: theme,
|
|
700
|
-
get label() {
|
|
701
|
-
return label();
|
|
702
|
-
},
|
|
703
|
-
get children() {
|
|
704
|
-
var _el$18 = _$createElement("box"),
|
|
705
|
-
_el$19 = _$createElement("text"),
|
|
706
|
-
_el$20 = _$createElement("b"),
|
|
707
|
-
_el$21 = _$createElement("text");
|
|
708
|
-
_$insertNode(_el$18, _el$19);
|
|
709
|
-
_$insertNode(_el$18, _el$21);
|
|
710
|
-
_$setProp(_el$18, "flexDirection", 'row');
|
|
711
|
-
_$setProp(_el$18, "flexShrink", 0);
|
|
712
|
-
_$insertNode(_el$19, _el$20);
|
|
713
|
-
_$setProp(_el$19, "flexShrink", 0);
|
|
714
|
-
_$setProp(_el$19, "wrapMode", 'none');
|
|
715
|
-
_$insert(_el$20, figure);
|
|
716
|
-
_$setProp(_el$21, "flexShrink", 0);
|
|
717
|
-
_$setProp(_el$21, "wrapMode", 'none');
|
|
718
|
-
_$insert(_el$21, () => unavailable() ? ' ⊘' : ' ●');
|
|
719
|
-
_$effect(_p$ => {
|
|
720
|
-
var _v$8 = toneColor(theme(), tone()),
|
|
721
|
-
_v$9 = toneColor(theme(), unavailable() ? 'err' : tone());
|
|
722
|
-
_v$8 !== _p$.e && (_p$.e = _$setProp(_el$19, "fg", _v$8, _p$.e));
|
|
723
|
-
_v$9 !== _p$.t && (_p$.t = _$setProp(_el$21, "fg", _v$9, _p$.t));
|
|
724
|
-
return _p$;
|
|
725
|
-
}, {
|
|
726
|
-
e: undefined,
|
|
727
|
-
t: undefined
|
|
728
|
-
});
|
|
729
|
-
return _el$18;
|
|
730
|
-
}
|
|
681
|
+
return _$createComponent(For, {
|
|
682
|
+
get each() {
|
|
683
|
+
return visibleAccounts();
|
|
684
|
+
},
|
|
685
|
+
children: account => {
|
|
686
|
+
const unavailable = () => !account.enabled || account.cooldownUntil != null && account.cooldownUntil > now();
|
|
687
|
+
const line = createMemo(() => {
|
|
688
|
+
const currentTime = now();
|
|
689
|
+
const projection = sidebarQuotaProjection(account, currentTime);
|
|
690
|
+
const text = formatQuota(projection, {
|
|
691
|
+
now: currentTime,
|
|
692
|
+
form: 'narrow'
|
|
731
693
|
});
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
694
|
+
const remaining = projection?.limits.length ? Math.min(...projection.limits.map(limit => limit.remainingPercent ?? 100)) : undefined;
|
|
695
|
+
const tone = remaining === undefined ? 'muted' : quotaTone(100 - remaining, prefs().appearance);
|
|
696
|
+
const stale = isQuotaStale(projection, {
|
|
697
|
+
now: currentTime
|
|
698
|
+
});
|
|
699
|
+
const dot = unavailable() ? ' ⊘' : ' ●';
|
|
700
|
+
const width = contentWidth();
|
|
701
|
+
// Keep a complete shared line or omit it; a partial quota can
|
|
702
|
+
// make an account look as if it has less remaining.
|
|
703
|
+
const showQuota = text.length <= width;
|
|
704
|
+
const showDot = dot.length <= width && (!showQuota || text.length + dot.length <= width);
|
|
705
|
+
const rightWidth = (showQuota ? text.length : 0) + (showDot ? dot.length : 0);
|
|
706
|
+
const labelWidth = Math.max(0, width - rightWidth - 1);
|
|
707
|
+
return {
|
|
708
|
+
dot,
|
|
709
|
+
label: fitLabel(account.label, labelWidth),
|
|
710
|
+
showDot,
|
|
711
|
+
showQuota,
|
|
712
|
+
stale,
|
|
713
|
+
text,
|
|
714
|
+
tone
|
|
715
|
+
};
|
|
716
|
+
});
|
|
717
|
+
const quotaColor = () => line().stale ? theme().textMuted : toneColor(theme(), line().tone);
|
|
718
|
+
const dotColor = () => line().stale ? theme().textMuted : toneColor(theme(), unavailable() ? 'err' : line().tone);
|
|
719
|
+
return _$createComponent(CollapsedRow, {
|
|
720
|
+
theme: theme,
|
|
721
|
+
get label() {
|
|
722
|
+
return line().label;
|
|
723
|
+
},
|
|
724
|
+
get children() {
|
|
725
|
+
var _el$18 = _$createElement("box");
|
|
726
|
+
_$setProp(_el$18, "flexDirection", 'row');
|
|
727
|
+
_$setProp(_el$18, "flexShrink", 0);
|
|
728
|
+
_$insert(_el$18, _$createComponent(Show, {
|
|
729
|
+
get when() {
|
|
730
|
+
return line().showQuota;
|
|
731
|
+
},
|
|
732
|
+
get children() {
|
|
733
|
+
var _el$19 = _$createElement("text"),
|
|
734
|
+
_el$20 = _$createElement("b");
|
|
735
|
+
_$insertNode(_el$19, _el$20);
|
|
736
|
+
_$setProp(_el$19, "flexShrink", 0);
|
|
737
|
+
_$setProp(_el$19, "wrapMode", 'none');
|
|
738
|
+
_$insert(_el$20, () => line().text);
|
|
739
|
+
_$effect(_$p => _$setProp(_el$19, "fg", quotaColor(), _$p));
|
|
740
|
+
return _el$19;
|
|
741
|
+
}
|
|
742
|
+
}), null);
|
|
743
|
+
_$insert(_el$18, _$createComponent(Show, {
|
|
744
|
+
get when() {
|
|
745
|
+
return line().showDot;
|
|
746
|
+
},
|
|
747
|
+
get children() {
|
|
748
|
+
var _el$21 = _$createElement("text");
|
|
749
|
+
_$setProp(_el$21, "flexShrink", 0);
|
|
750
|
+
_$setProp(_el$21, "wrapMode", 'none');
|
|
751
|
+
_$insert(_el$21, () => line().dot);
|
|
752
|
+
_$effect(_$p => _$setProp(_el$21, "fg", dotColor(), _$p));
|
|
753
|
+
return _el$21;
|
|
754
|
+
}
|
|
755
|
+
}), null);
|
|
756
|
+
return _el$18;
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
});
|
|
735
761
|
}
|
|
736
762
|
}), null);
|
|
737
763
|
_$insert(_el$0, _$createComponent(Show, {
|