@workflow-code/cli 0.2.4-20261013003.codex-studio-integration → 0.2.4-20261013005.codex-studio-integration
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/index.js +1 -1
- package/dist/web/kanban-workspace.css +199 -12
- package/dist/web/kanban-workspace.js +224 -27
- package/dist/web/resource-preview.css +199 -12
- package/dist/web/resource-preview.js +38 -0
- package/dist/web/theme.css +11 -1
- package/dist/web/worker.mjs +1 -0
- package/dist/web/workflow-ui.css +199 -12
- package/dist/web/workflow-ui.js +227 -31
- package/dist/web/workflow-workspace.css +199 -12
- package/dist/web/workflow-workspace.js +225 -29
- package/dist/{web-JXC3WIJK.js → web-H4CP4OQC.js} +38 -0
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ summary:focus-visible {
|
|
|
70
70
|
}
|
|
71
71
|
.project-heading {
|
|
72
72
|
min-width: 0;
|
|
73
|
+
flex: 1;
|
|
73
74
|
}
|
|
74
75
|
#assistant-folder {
|
|
75
76
|
display: block;
|
|
@@ -107,6 +108,9 @@ h1 {
|
|
|
107
108
|
.project-name {
|
|
108
109
|
color: var(--muted);
|
|
109
110
|
font-size: 10px;
|
|
111
|
+
max-width: 160px;
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
text-overflow: ellipsis;
|
|
110
114
|
white-space: nowrap;
|
|
111
115
|
}
|
|
112
116
|
.toolbar-actions {
|
|
@@ -131,6 +135,15 @@ h1 {
|
|
|
131
135
|
.icon-button:hover:not(:disabled) {
|
|
132
136
|
background: var(--vscode-toolbar-hoverBackground);
|
|
133
137
|
}
|
|
138
|
+
.usage-button {
|
|
139
|
+
width: auto;
|
|
140
|
+
gap: 6px;
|
|
141
|
+
padding: 0 8px;
|
|
142
|
+
color: var(--vscode-textLink-foreground);
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
font-weight: 500;
|
|
146
|
+
}
|
|
134
147
|
.toolbar-actions [aria-expanded=true] {
|
|
135
148
|
background: var(--vscode-toolbar-activeBackground, var(--vscode-toolbar-hoverBackground));
|
|
136
149
|
}
|
|
@@ -1304,6 +1317,52 @@ main {
|
|
|
1304
1317
|
overflow: auto;
|
|
1305
1318
|
padding: 16px;
|
|
1306
1319
|
}
|
|
1320
|
+
.project-information-name {
|
|
1321
|
+
margin: 0 0 8px;
|
|
1322
|
+
font-size: 18px;
|
|
1323
|
+
line-height: 1.4;
|
|
1324
|
+
overflow-wrap: anywhere;
|
|
1325
|
+
}
|
|
1326
|
+
.project-information-description {
|
|
1327
|
+
margin: 0 0 16px;
|
|
1328
|
+
color: var(--muted);
|
|
1329
|
+
line-height: 1.6;
|
|
1330
|
+
white-space: pre-wrap;
|
|
1331
|
+
overflow-wrap: anywhere;
|
|
1332
|
+
}
|
|
1333
|
+
.project-information-section {
|
|
1334
|
+
padding: 10px 0;
|
|
1335
|
+
border-top: 1px solid var(--border);
|
|
1336
|
+
}
|
|
1337
|
+
.project-information-section summary {
|
|
1338
|
+
display: flex;
|
|
1339
|
+
align-items: center;
|
|
1340
|
+
gap: 6px;
|
|
1341
|
+
min-height: 28px;
|
|
1342
|
+
font-weight: 500;
|
|
1343
|
+
cursor: pointer;
|
|
1344
|
+
overflow-wrap: anywhere;
|
|
1345
|
+
}
|
|
1346
|
+
.project-information-section[open] summary > .codicon {
|
|
1347
|
+
transform: rotate(90deg);
|
|
1348
|
+
}
|
|
1349
|
+
.project-information-section dl {
|
|
1350
|
+
display: grid;
|
|
1351
|
+
grid-template-columns: minmax(80px, 130px) minmax(0, 1fr);
|
|
1352
|
+
gap: 12px 16px;
|
|
1353
|
+
margin: 12px 0 4px;
|
|
1354
|
+
line-height: 1.5;
|
|
1355
|
+
}
|
|
1356
|
+
.project-information-section dt {
|
|
1357
|
+
color: var(--muted);
|
|
1358
|
+
overflow-wrap: anywhere;
|
|
1359
|
+
}
|
|
1360
|
+
.project-information-section dd {
|
|
1361
|
+
margin: 0;
|
|
1362
|
+
white-space: pre-wrap;
|
|
1363
|
+
overflow-wrap: anywhere;
|
|
1364
|
+
user-select: text;
|
|
1365
|
+
}
|
|
1307
1366
|
.action-dialog {
|
|
1308
1367
|
width: min(380px, calc(100vw - 32px));
|
|
1309
1368
|
}
|
|
@@ -1348,25 +1407,122 @@ main {
|
|
|
1348
1407
|
.permissions-table td:not(:first-child) {
|
|
1349
1408
|
text-align: center;
|
|
1350
1409
|
}
|
|
1410
|
+
.usage-balance {
|
|
1411
|
+
display: flex;
|
|
1412
|
+
flex-wrap: wrap;
|
|
1413
|
+
align-items: baseline;
|
|
1414
|
+
gap: 8px 10px;
|
|
1415
|
+
padding: 4px 0 20px;
|
|
1416
|
+
}
|
|
1417
|
+
.usage-balance > span {
|
|
1418
|
+
flex-basis: 100%;
|
|
1419
|
+
color: var(--muted);
|
|
1420
|
+
font-size: 12px;
|
|
1421
|
+
}
|
|
1422
|
+
.usage-balance > strong {
|
|
1423
|
+
font-size: 28px;
|
|
1424
|
+
font-weight: 600;
|
|
1425
|
+
font-variant-numeric: tabular-nums;
|
|
1426
|
+
overflow-wrap: anywhere;
|
|
1427
|
+
}
|
|
1428
|
+
.usage-balance small {
|
|
1429
|
+
color: var(--muted);
|
|
1430
|
+
font-size: 11px;
|
|
1431
|
+
}
|
|
1432
|
+
.usage-status {
|
|
1433
|
+
display: flex;
|
|
1434
|
+
align-items: center;
|
|
1435
|
+
gap: 8px;
|
|
1436
|
+
min-height: 52px;
|
|
1437
|
+
margin: 0;
|
|
1438
|
+
color: var(--muted);
|
|
1439
|
+
overflow-wrap: anywhere;
|
|
1440
|
+
}
|
|
1441
|
+
.usage-status.error {
|
|
1442
|
+
color: var(--vscode-errorForeground);
|
|
1443
|
+
}
|
|
1444
|
+
.usage-status > .codicon-loading {
|
|
1445
|
+
animation: spin 1.2s linear infinite;
|
|
1446
|
+
}
|
|
1351
1447
|
.usage-plan {
|
|
1352
|
-
|
|
1448
|
+
display: grid;
|
|
1449
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1450
|
+
gap: 16px;
|
|
1451
|
+
padding: 18px 0;
|
|
1353
1452
|
border-top: 1px solid var(--border);
|
|
1354
1453
|
}
|
|
1355
1454
|
.usage-plan h3 {
|
|
1356
|
-
|
|
1357
|
-
|
|
1455
|
+
grid-column: 1 / -1;
|
|
1456
|
+
margin: 0;
|
|
1457
|
+
font-size: 14px;
|
|
1458
|
+
overflow-wrap: anywhere;
|
|
1358
1459
|
}
|
|
1359
|
-
.usage-
|
|
1460
|
+
.usage-period {
|
|
1360
1461
|
display: grid;
|
|
1361
|
-
|
|
1362
|
-
|
|
1462
|
+
align-content: start;
|
|
1463
|
+
gap: 10px;
|
|
1464
|
+
min-width: 0;
|
|
1363
1465
|
font-size: 12px;
|
|
1364
1466
|
}
|
|
1467
|
+
.usage-period-heading {
|
|
1468
|
+
display: flex;
|
|
1469
|
+
justify-content: space-between;
|
|
1470
|
+
align-items: baseline;
|
|
1471
|
+
flex-wrap: wrap;
|
|
1472
|
+
gap: 6px;
|
|
1473
|
+
}
|
|
1474
|
+
.usage-period-heading > span {
|
|
1475
|
+
color: var(--muted);
|
|
1476
|
+
}
|
|
1477
|
+
.usage-period-amount {
|
|
1478
|
+
display: flex;
|
|
1479
|
+
flex-wrap: wrap;
|
|
1480
|
+
align-items: baseline;
|
|
1481
|
+
gap: 4px;
|
|
1482
|
+
font-variant-numeric: tabular-nums;
|
|
1483
|
+
overflow-wrap: anywhere;
|
|
1484
|
+
}
|
|
1485
|
+
.usage-period-amount > strong {
|
|
1486
|
+
font-size: 18px;
|
|
1487
|
+
font-weight: 600;
|
|
1488
|
+
}
|
|
1489
|
+
.usage-period-amount > span,
|
|
1490
|
+
.usage-period-remaining {
|
|
1491
|
+
color: var(--muted);
|
|
1492
|
+
}
|
|
1365
1493
|
.usage-plan progress {
|
|
1494
|
+
appearance: none;
|
|
1366
1495
|
width: 100%;
|
|
1367
|
-
height:
|
|
1496
|
+
height: 8px;
|
|
1497
|
+
border: 0;
|
|
1498
|
+
border-radius: 4px;
|
|
1499
|
+
overflow: hidden;
|
|
1500
|
+
background: var(--vscode-textCodeBlock-background);
|
|
1501
|
+
color: var(--vscode-progressBar-background);
|
|
1368
1502
|
accent-color: var(--vscode-progressBar-background);
|
|
1369
1503
|
}
|
|
1504
|
+
.usage-plan progress::-webkit-progress-bar {
|
|
1505
|
+
background: var(--vscode-textCodeBlock-background);
|
|
1506
|
+
}
|
|
1507
|
+
.usage-plan progress::-webkit-progress-value {
|
|
1508
|
+
background: var(--vscode-progressBar-background);
|
|
1509
|
+
}
|
|
1510
|
+
.usage-plan progress::-moz-progress-bar {
|
|
1511
|
+
background: var(--vscode-progressBar-background);
|
|
1512
|
+
}
|
|
1513
|
+
.usage-period[data-status=near-limit] {
|
|
1514
|
+
--vscode-progressBar-background: var(--vscode-editorWarning-foreground);
|
|
1515
|
+
}
|
|
1516
|
+
.usage-period[data-status=exhausted] {
|
|
1517
|
+
--vscode-progressBar-background: var(--vscode-errorForeground);
|
|
1518
|
+
}
|
|
1519
|
+
.usage-period[data-status=near-limit] .usage-period-heading > strong {
|
|
1520
|
+
color: var(--vscode-editorWarning-foreground);
|
|
1521
|
+
}
|
|
1522
|
+
.usage-period[data-status=exhausted] .usage-period-heading > strong,
|
|
1523
|
+
.usage-period[data-status=exhausted] .usage-period-remaining {
|
|
1524
|
+
color: var(--vscode-errorForeground);
|
|
1525
|
+
}
|
|
1370
1526
|
.content-search {
|
|
1371
1527
|
position: absolute;
|
|
1372
1528
|
top: 4px;
|
|
@@ -1537,6 +1693,20 @@ textarea::placeholder {
|
|
|
1537
1693
|
text-overflow: ellipsis;
|
|
1538
1694
|
white-space: nowrap;
|
|
1539
1695
|
}
|
|
1696
|
+
.param-action-summary {
|
|
1697
|
+
min-width: 0;
|
|
1698
|
+
overflow: hidden;
|
|
1699
|
+
text-overflow: ellipsis;
|
|
1700
|
+
white-space: nowrap;
|
|
1701
|
+
color: var(--vscode-editor-foreground);
|
|
1702
|
+
}
|
|
1703
|
+
.param-action:has(.param-action-summary:not([hidden])) .param-action-label {
|
|
1704
|
+
flex-shrink: 0;
|
|
1705
|
+
font-weight: 500;
|
|
1706
|
+
}
|
|
1707
|
+
.param-action-ai {
|
|
1708
|
+
color: var(--vscode-textLink-foreground);
|
|
1709
|
+
}
|
|
1540
1710
|
.param-action .codicon {
|
|
1541
1711
|
flex-shrink: 0;
|
|
1542
1712
|
font-size: 13px;
|
|
@@ -1733,12 +1903,9 @@ textarea::placeholder {
|
|
|
1733
1903
|
}
|
|
1734
1904
|
@media (max-width: 680px) {
|
|
1735
1905
|
#app.menu-open {
|
|
1736
|
-
grid-template-areas: "menu" "main";
|
|
1906
|
+
grid-template-areas: "toolbar" "menu" "main";
|
|
1737
1907
|
grid-template-columns: minmax(0, 1fr);
|
|
1738
|
-
grid-template-rows: auto minmax(0, 1fr);
|
|
1739
|
-
}
|
|
1740
|
-
.menu-open .toolbar {
|
|
1741
|
-
display: none;
|
|
1908
|
+
grid-template-rows: auto auto minmax(0, 1fr);
|
|
1742
1909
|
}
|
|
1743
1910
|
.toolbar {
|
|
1744
1911
|
padding: 8px 12px;
|
|
@@ -1750,6 +1917,9 @@ textarea::placeholder {
|
|
|
1750
1917
|
.project-name {
|
|
1751
1918
|
display: none;
|
|
1752
1919
|
}
|
|
1920
|
+
.project-icon {
|
|
1921
|
+
display: none;
|
|
1922
|
+
}
|
|
1753
1923
|
.toolbar-actions {
|
|
1754
1924
|
gap: 1px;
|
|
1755
1925
|
}
|
|
@@ -1781,6 +1951,15 @@ textarea::placeholder {
|
|
|
1781
1951
|
padding: 8px 18px 10px;
|
|
1782
1952
|
}
|
|
1783
1953
|
}
|
|
1954
|
+
@media (max-width: 520px) {
|
|
1955
|
+
.usage-plan {
|
|
1956
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1957
|
+
gap: 18px;
|
|
1958
|
+
}
|
|
1959
|
+
.usage-period-amount > strong {
|
|
1960
|
+
font-size: 20px;
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1784
1963
|
@media (max-width: 420px) {
|
|
1785
1964
|
.toolbar {
|
|
1786
1965
|
padding: 8px;
|
|
@@ -1788,6 +1967,14 @@ textarea::placeholder {
|
|
|
1788
1967
|
.project-title {
|
|
1789
1968
|
gap: 2px;
|
|
1790
1969
|
}
|
|
1970
|
+
.usage-button {
|
|
1971
|
+
gap: 4px;
|
|
1972
|
+
padding-inline: 5px;
|
|
1973
|
+
}
|
|
1974
|
+
.project-information-section dl {
|
|
1975
|
+
grid-template-columns: minmax(72px, 95px) minmax(0, 1fr);
|
|
1976
|
+
gap: 10px;
|
|
1977
|
+
}
|
|
1791
1978
|
h1 {
|
|
1792
1979
|
font-size: 13px;
|
|
1793
1980
|
}
|
|
@@ -12607,6 +12607,44 @@
|
|
|
12607
12607
|
"{0}{1} \xB7 {2} items": "\u5DF2{0}{1} \xB7 {2} \u9879",
|
|
12608
12608
|
"{1} in {0}": "{0} \u4E2D {1}",
|
|
12609
12609
|
"Account balance ${0}": "\u8D26\u6237\u4F59\u989D ${0}",
|
|
12610
|
+
"Account balance": "\u8D26\u6237\u4F59\u989D",
|
|
12611
|
+
"AI usage": "AI \u7528\u91CF",
|
|
12612
|
+
All: "\u5168\u90E8",
|
|
12613
|
+
"Basic information": "\u57FA\u672C\u4FE1\u606F",
|
|
12614
|
+
Declarations: "\u58F0\u660E",
|
|
12615
|
+
"Default name": "\u9ED8\u8BA4\u540D\u79F0",
|
|
12616
|
+
"Entrypoints granted": "\u5165\u53E3\u8C03\u7528\u6388\u6743",
|
|
12617
|
+
"Knowledge read granted": "\u77E5\u8BC6\u5E93\u8BFB\u53D6\u6388\u6743",
|
|
12618
|
+
"Knowledge write granted": "\u77E5\u8BC6\u5E93\u5199\u5165\u6388\u6743",
|
|
12619
|
+
"KV read granted": "KV \u8BFB\u53D6\u6388\u6743",
|
|
12620
|
+
"KV write granted": "KV \u5199\u5165\u6388\u6743",
|
|
12621
|
+
"Limit reached": "\u989D\u5EA6\u5DF2\u7528\u5C3D",
|
|
12622
|
+
"Loading usage...": "\u6B63\u5728\u52A0\u8F7D\u7528\u91CF...",
|
|
12623
|
+
Local: "\u672C\u5730",
|
|
12624
|
+
"Local and server": "\u672C\u5730\u4E0E\u670D\u52A1\u5668",
|
|
12625
|
+
"Local path": "\u672C\u5730\u8DEF\u5F84",
|
|
12626
|
+
"Localized names": "\u591A\u8BED\u8A00\u540D\u79F0",
|
|
12627
|
+
"Multiple languages": "\u591A\u8BED\u8A00",
|
|
12628
|
+
"Multiple platforms": "\u591A\u5E73\u53F0",
|
|
12629
|
+
"Not allowed": "\u4E0D\u5141\u8BB8",
|
|
12630
|
+
"Not available": "\u6682\u65E0\u6570\u636E",
|
|
12631
|
+
"Not declared": "\u672A\u58F0\u660E",
|
|
12632
|
+
"Platform independent": "\u5E73\u53F0\u65E0\u5173",
|
|
12633
|
+
"Platform support": "\u5E73\u53F0\u652F\u6301",
|
|
12634
|
+
Prefixes: "\u524D\u7F00",
|
|
12635
|
+
"Project declarations": "\u9879\u76EE\u58F0\u660E",
|
|
12636
|
+
"Project information": "\u9879\u76EE\u4FE1\u606F",
|
|
12637
|
+
"Project type": "\u9879\u76EE\u7C7B\u578B",
|
|
12638
|
+
"Project UUID": "\u9879\u76EE UUID",
|
|
12639
|
+
"Related project: {0}": "\u5173\u8054\u9879\u76EE\uFF1A{0}",
|
|
12640
|
+
"Storage location": "\u5B58\u50A8\u4F4D\u7F6E",
|
|
12641
|
+
"Usage unavailable": "\u6682\u65F6\u65E0\u6CD5\u83B7\u53D6\u7528\u91CF",
|
|
12642
|
+
Used: "\u5DF2\u4F7F\u7528",
|
|
12643
|
+
Version: "\u7248\u672C",
|
|
12644
|
+
"Working directory": "\u5DE5\u4F5C\u76EE\u5F55",
|
|
12645
|
+
"{0} (default)": "{0}\uFF08\u9ED8\u8BA4\uFF09",
|
|
12646
|
+
"{0} remaining": "\u5269\u4F59 {0}",
|
|
12647
|
+
"{0} usage": "{0}\u7528\u91CF",
|
|
12610
12648
|
"Add attachment": "\u6DFB\u52A0\u9644\u4EF6",
|
|
12611
12649
|
"Agent run": "Agent \u8FD0\u884C",
|
|
12612
12650
|
"All chats": "\u5168\u90E8\u804A\u5929",
|
package/dist/web/theme.css
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
--vscode-textBlockQuote-background: #f6f6f6;
|
|
24
24
|
--vscode-textLink-foreground: #006ab1;
|
|
25
25
|
--vscode-errorForeground: #c72e2e;
|
|
26
|
+
--vscode-editorWarning-foreground: #9d7500;
|
|
26
27
|
--vscode-button-background: #0078d4;
|
|
27
28
|
--vscode-button-foreground: #ffffff;
|
|
28
29
|
--vscode-button-hoverBackground: #006ab1;
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
--vscode-textBlockQuote-background: #252525;
|
|
59
60
|
--vscode-textLink-foreground: #4daafc;
|
|
60
61
|
--vscode-errorForeground: #f48771;
|
|
62
|
+
--vscode-editorWarning-foreground: #cca700;
|
|
61
63
|
--vscode-button-secondaryBackground: #333333;
|
|
62
64
|
--vscode-button-secondaryForeground: #cccccc;
|
|
63
65
|
--vscode-editorWidget-background: #252525;
|
|
@@ -69,6 +71,14 @@
|
|
|
69
71
|
--vscode-scrollbarSlider-background: #79797966;
|
|
70
72
|
--vscode-scrollbarSlider-hoverBackground: #646464b3;
|
|
71
73
|
}
|
|
72
|
-
* { scrollbar-width: thin; scrollbar-color:
|
|
74
|
+
* { scrollbar-width: thin; scrollbar-color: transparent transparent; }
|
|
75
|
+
::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
76
|
+
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner, ::-webkit-scrollbar-thumb { background-color: transparent; }
|
|
77
|
+
@media (any-hover: hover) {
|
|
78
|
+
*:hover { scrollbar-color: var(--vscode-scrollbarSlider-background, #79797966) transparent; }
|
|
79
|
+
:hover::-webkit-scrollbar-thumb { background-color: var(--vscode-scrollbarSlider-background, #79797966); }
|
|
80
|
+
::-webkit-scrollbar-thumb:hover { background-color: var(--vscode-scrollbarSlider-hoverBackground, #64646488); }
|
|
81
|
+
::-webkit-scrollbar-thumb:active { background-color: var(--vscode-scrollbarSlider-activeBackground, var(--vscode-scrollbarSlider-hoverBackground, #64646488)); }
|
|
82
|
+
}
|
|
73
83
|
#chats { flex: 1; }
|
|
74
84
|
.web-preview { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.6 var(--vscode-editor-font-family); }
|
package/dist/web/worker.mjs
CHANGED
|
@@ -91,6 +91,7 @@ try {
|
|
|
91
91
|
runtime: { coreVersion: coreManifest.version, corePath },
|
|
92
92
|
folderPath,
|
|
93
93
|
name: resolveWorkflowProjectName(pkg.name ?? path.basename(folderPath), projectInfo, language),
|
|
94
|
+
manifest: Object.fromEntries(['name', 'version', 'description'].filter(key => typeof pkg[key] === 'string').map(key => [key, pkg[key]])),
|
|
94
95
|
projectType: structure.projectType,
|
|
95
96
|
...parameters(structure),
|
|
96
97
|
entrypoints: (structure.entrypoints ?? []).map((entry) => ({ id: entry.id, title: entry.title, group: entry.group, description: entry.description, execution: entry.execution, ...parameters(entry) })),
|
package/dist/web/workflow-ui.css
CHANGED
|
@@ -70,6 +70,7 @@ summary:focus-visible {
|
|
|
70
70
|
}
|
|
71
71
|
.project-heading {
|
|
72
72
|
min-width: 0;
|
|
73
|
+
flex: 1;
|
|
73
74
|
}
|
|
74
75
|
#assistant-folder {
|
|
75
76
|
display: block;
|
|
@@ -107,6 +108,9 @@ h1 {
|
|
|
107
108
|
.project-name {
|
|
108
109
|
color: var(--muted);
|
|
109
110
|
font-size: 10px;
|
|
111
|
+
max-width: 160px;
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
text-overflow: ellipsis;
|
|
110
114
|
white-space: nowrap;
|
|
111
115
|
}
|
|
112
116
|
.toolbar-actions {
|
|
@@ -131,6 +135,15 @@ h1 {
|
|
|
131
135
|
.icon-button:hover:not(:disabled) {
|
|
132
136
|
background: var(--vscode-toolbar-hoverBackground);
|
|
133
137
|
}
|
|
138
|
+
.usage-button {
|
|
139
|
+
width: auto;
|
|
140
|
+
gap: 6px;
|
|
141
|
+
padding: 0 8px;
|
|
142
|
+
color: var(--vscode-textLink-foreground);
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
font-weight: 500;
|
|
146
|
+
}
|
|
134
147
|
.toolbar-actions [aria-expanded=true] {
|
|
135
148
|
background: var(--vscode-toolbar-activeBackground, var(--vscode-toolbar-hoverBackground));
|
|
136
149
|
}
|
|
@@ -1304,6 +1317,52 @@ main {
|
|
|
1304
1317
|
overflow: auto;
|
|
1305
1318
|
padding: 16px;
|
|
1306
1319
|
}
|
|
1320
|
+
.project-information-name {
|
|
1321
|
+
margin: 0 0 8px;
|
|
1322
|
+
font-size: 18px;
|
|
1323
|
+
line-height: 1.4;
|
|
1324
|
+
overflow-wrap: anywhere;
|
|
1325
|
+
}
|
|
1326
|
+
.project-information-description {
|
|
1327
|
+
margin: 0 0 16px;
|
|
1328
|
+
color: var(--muted);
|
|
1329
|
+
line-height: 1.6;
|
|
1330
|
+
white-space: pre-wrap;
|
|
1331
|
+
overflow-wrap: anywhere;
|
|
1332
|
+
}
|
|
1333
|
+
.project-information-section {
|
|
1334
|
+
padding: 10px 0;
|
|
1335
|
+
border-top: 1px solid var(--border);
|
|
1336
|
+
}
|
|
1337
|
+
.project-information-section summary {
|
|
1338
|
+
display: flex;
|
|
1339
|
+
align-items: center;
|
|
1340
|
+
gap: 6px;
|
|
1341
|
+
min-height: 28px;
|
|
1342
|
+
font-weight: 500;
|
|
1343
|
+
cursor: pointer;
|
|
1344
|
+
overflow-wrap: anywhere;
|
|
1345
|
+
}
|
|
1346
|
+
.project-information-section[open] summary > .codicon {
|
|
1347
|
+
transform: rotate(90deg);
|
|
1348
|
+
}
|
|
1349
|
+
.project-information-section dl {
|
|
1350
|
+
display: grid;
|
|
1351
|
+
grid-template-columns: minmax(80px, 130px) minmax(0, 1fr);
|
|
1352
|
+
gap: 12px 16px;
|
|
1353
|
+
margin: 12px 0 4px;
|
|
1354
|
+
line-height: 1.5;
|
|
1355
|
+
}
|
|
1356
|
+
.project-information-section dt {
|
|
1357
|
+
color: var(--muted);
|
|
1358
|
+
overflow-wrap: anywhere;
|
|
1359
|
+
}
|
|
1360
|
+
.project-information-section dd {
|
|
1361
|
+
margin: 0;
|
|
1362
|
+
white-space: pre-wrap;
|
|
1363
|
+
overflow-wrap: anywhere;
|
|
1364
|
+
user-select: text;
|
|
1365
|
+
}
|
|
1307
1366
|
.action-dialog {
|
|
1308
1367
|
width: min(380px, calc(100vw - 32px));
|
|
1309
1368
|
}
|
|
@@ -1348,25 +1407,122 @@ main {
|
|
|
1348
1407
|
.permissions-table td:not(:first-child) {
|
|
1349
1408
|
text-align: center;
|
|
1350
1409
|
}
|
|
1410
|
+
.usage-balance {
|
|
1411
|
+
display: flex;
|
|
1412
|
+
flex-wrap: wrap;
|
|
1413
|
+
align-items: baseline;
|
|
1414
|
+
gap: 8px 10px;
|
|
1415
|
+
padding: 4px 0 20px;
|
|
1416
|
+
}
|
|
1417
|
+
.usage-balance > span {
|
|
1418
|
+
flex-basis: 100%;
|
|
1419
|
+
color: var(--muted);
|
|
1420
|
+
font-size: 12px;
|
|
1421
|
+
}
|
|
1422
|
+
.usage-balance > strong {
|
|
1423
|
+
font-size: 28px;
|
|
1424
|
+
font-weight: 600;
|
|
1425
|
+
font-variant-numeric: tabular-nums;
|
|
1426
|
+
overflow-wrap: anywhere;
|
|
1427
|
+
}
|
|
1428
|
+
.usage-balance small {
|
|
1429
|
+
color: var(--muted);
|
|
1430
|
+
font-size: 11px;
|
|
1431
|
+
}
|
|
1432
|
+
.usage-status {
|
|
1433
|
+
display: flex;
|
|
1434
|
+
align-items: center;
|
|
1435
|
+
gap: 8px;
|
|
1436
|
+
min-height: 52px;
|
|
1437
|
+
margin: 0;
|
|
1438
|
+
color: var(--muted);
|
|
1439
|
+
overflow-wrap: anywhere;
|
|
1440
|
+
}
|
|
1441
|
+
.usage-status.error {
|
|
1442
|
+
color: var(--vscode-errorForeground);
|
|
1443
|
+
}
|
|
1444
|
+
.usage-status > .codicon-loading {
|
|
1445
|
+
animation: spin 1.2s linear infinite;
|
|
1446
|
+
}
|
|
1351
1447
|
.usage-plan {
|
|
1352
|
-
|
|
1448
|
+
display: grid;
|
|
1449
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1450
|
+
gap: 16px;
|
|
1451
|
+
padding: 18px 0;
|
|
1353
1452
|
border-top: 1px solid var(--border);
|
|
1354
1453
|
}
|
|
1355
1454
|
.usage-plan h3 {
|
|
1356
|
-
|
|
1357
|
-
|
|
1455
|
+
grid-column: 1 / -1;
|
|
1456
|
+
margin: 0;
|
|
1457
|
+
font-size: 14px;
|
|
1458
|
+
overflow-wrap: anywhere;
|
|
1358
1459
|
}
|
|
1359
|
-
.usage-
|
|
1460
|
+
.usage-period {
|
|
1360
1461
|
display: grid;
|
|
1361
|
-
|
|
1362
|
-
|
|
1462
|
+
align-content: start;
|
|
1463
|
+
gap: 10px;
|
|
1464
|
+
min-width: 0;
|
|
1363
1465
|
font-size: 12px;
|
|
1364
1466
|
}
|
|
1467
|
+
.usage-period-heading {
|
|
1468
|
+
display: flex;
|
|
1469
|
+
justify-content: space-between;
|
|
1470
|
+
align-items: baseline;
|
|
1471
|
+
flex-wrap: wrap;
|
|
1472
|
+
gap: 6px;
|
|
1473
|
+
}
|
|
1474
|
+
.usage-period-heading > span {
|
|
1475
|
+
color: var(--muted);
|
|
1476
|
+
}
|
|
1477
|
+
.usage-period-amount {
|
|
1478
|
+
display: flex;
|
|
1479
|
+
flex-wrap: wrap;
|
|
1480
|
+
align-items: baseline;
|
|
1481
|
+
gap: 4px;
|
|
1482
|
+
font-variant-numeric: tabular-nums;
|
|
1483
|
+
overflow-wrap: anywhere;
|
|
1484
|
+
}
|
|
1485
|
+
.usage-period-amount > strong {
|
|
1486
|
+
font-size: 18px;
|
|
1487
|
+
font-weight: 600;
|
|
1488
|
+
}
|
|
1489
|
+
.usage-period-amount > span,
|
|
1490
|
+
.usage-period-remaining {
|
|
1491
|
+
color: var(--muted);
|
|
1492
|
+
}
|
|
1365
1493
|
.usage-plan progress {
|
|
1494
|
+
appearance: none;
|
|
1366
1495
|
width: 100%;
|
|
1367
|
-
height:
|
|
1496
|
+
height: 8px;
|
|
1497
|
+
border: 0;
|
|
1498
|
+
border-radius: 4px;
|
|
1499
|
+
overflow: hidden;
|
|
1500
|
+
background: var(--vscode-textCodeBlock-background);
|
|
1501
|
+
color: var(--vscode-progressBar-background);
|
|
1368
1502
|
accent-color: var(--vscode-progressBar-background);
|
|
1369
1503
|
}
|
|
1504
|
+
.usage-plan progress::-webkit-progress-bar {
|
|
1505
|
+
background: var(--vscode-textCodeBlock-background);
|
|
1506
|
+
}
|
|
1507
|
+
.usage-plan progress::-webkit-progress-value {
|
|
1508
|
+
background: var(--vscode-progressBar-background);
|
|
1509
|
+
}
|
|
1510
|
+
.usage-plan progress::-moz-progress-bar {
|
|
1511
|
+
background: var(--vscode-progressBar-background);
|
|
1512
|
+
}
|
|
1513
|
+
.usage-period[data-status=near-limit] {
|
|
1514
|
+
--vscode-progressBar-background: var(--vscode-editorWarning-foreground);
|
|
1515
|
+
}
|
|
1516
|
+
.usage-period[data-status=exhausted] {
|
|
1517
|
+
--vscode-progressBar-background: var(--vscode-errorForeground);
|
|
1518
|
+
}
|
|
1519
|
+
.usage-period[data-status=near-limit] .usage-period-heading > strong {
|
|
1520
|
+
color: var(--vscode-editorWarning-foreground);
|
|
1521
|
+
}
|
|
1522
|
+
.usage-period[data-status=exhausted] .usage-period-heading > strong,
|
|
1523
|
+
.usage-period[data-status=exhausted] .usage-period-remaining {
|
|
1524
|
+
color: var(--vscode-errorForeground);
|
|
1525
|
+
}
|
|
1370
1526
|
.content-search {
|
|
1371
1527
|
position: absolute;
|
|
1372
1528
|
top: 4px;
|
|
@@ -1537,6 +1693,20 @@ textarea::placeholder {
|
|
|
1537
1693
|
text-overflow: ellipsis;
|
|
1538
1694
|
white-space: nowrap;
|
|
1539
1695
|
}
|
|
1696
|
+
.param-action-summary {
|
|
1697
|
+
min-width: 0;
|
|
1698
|
+
overflow: hidden;
|
|
1699
|
+
text-overflow: ellipsis;
|
|
1700
|
+
white-space: nowrap;
|
|
1701
|
+
color: var(--vscode-editor-foreground);
|
|
1702
|
+
}
|
|
1703
|
+
.param-action:has(.param-action-summary:not([hidden])) .param-action-label {
|
|
1704
|
+
flex-shrink: 0;
|
|
1705
|
+
font-weight: 500;
|
|
1706
|
+
}
|
|
1707
|
+
.param-action-ai {
|
|
1708
|
+
color: var(--vscode-textLink-foreground);
|
|
1709
|
+
}
|
|
1540
1710
|
.param-action .codicon {
|
|
1541
1711
|
flex-shrink: 0;
|
|
1542
1712
|
font-size: 13px;
|
|
@@ -1733,12 +1903,9 @@ textarea::placeholder {
|
|
|
1733
1903
|
}
|
|
1734
1904
|
@media (max-width: 680px) {
|
|
1735
1905
|
#app.menu-open {
|
|
1736
|
-
grid-template-areas: "menu" "main";
|
|
1906
|
+
grid-template-areas: "toolbar" "menu" "main";
|
|
1737
1907
|
grid-template-columns: minmax(0, 1fr);
|
|
1738
|
-
grid-template-rows: auto minmax(0, 1fr);
|
|
1739
|
-
}
|
|
1740
|
-
.menu-open .toolbar {
|
|
1741
|
-
display: none;
|
|
1908
|
+
grid-template-rows: auto auto minmax(0, 1fr);
|
|
1742
1909
|
}
|
|
1743
1910
|
.toolbar {
|
|
1744
1911
|
padding: 8px 12px;
|
|
@@ -1750,6 +1917,9 @@ textarea::placeholder {
|
|
|
1750
1917
|
.project-name {
|
|
1751
1918
|
display: none;
|
|
1752
1919
|
}
|
|
1920
|
+
.project-icon {
|
|
1921
|
+
display: none;
|
|
1922
|
+
}
|
|
1753
1923
|
.toolbar-actions {
|
|
1754
1924
|
gap: 1px;
|
|
1755
1925
|
}
|
|
@@ -1781,6 +1951,15 @@ textarea::placeholder {
|
|
|
1781
1951
|
padding: 8px 18px 10px;
|
|
1782
1952
|
}
|
|
1783
1953
|
}
|
|
1954
|
+
@media (max-width: 520px) {
|
|
1955
|
+
.usage-plan {
|
|
1956
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1957
|
+
gap: 18px;
|
|
1958
|
+
}
|
|
1959
|
+
.usage-period-amount > strong {
|
|
1960
|
+
font-size: 20px;
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1784
1963
|
@media (max-width: 420px) {
|
|
1785
1964
|
.toolbar {
|
|
1786
1965
|
padding: 8px;
|
|
@@ -1788,6 +1967,14 @@ textarea::placeholder {
|
|
|
1788
1967
|
.project-title {
|
|
1789
1968
|
gap: 2px;
|
|
1790
1969
|
}
|
|
1970
|
+
.usage-button {
|
|
1971
|
+
gap: 4px;
|
|
1972
|
+
padding-inline: 5px;
|
|
1973
|
+
}
|
|
1974
|
+
.project-information-section dl {
|
|
1975
|
+
grid-template-columns: minmax(72px, 95px) minmax(0, 1fr);
|
|
1976
|
+
gap: 10px;
|
|
1977
|
+
}
|
|
1791
1978
|
h1 {
|
|
1792
1979
|
font-size: 13px;
|
|
1793
1980
|
}
|