@workflow-code/cli 0.2.4-20261013004.codex-studio-integration → 0.2.4-20261013006.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 CHANGED
@@ -24,7 +24,7 @@ async function main(argv = process.argv.slice(2)) {
24
24
  const prepared = prepareCliInvocation(argv);
25
25
  argv = prepared.argv;
26
26
  if (argv[0] === "web") {
27
- const webCli = await import("./web-JXC3WIJK.js");
27
+ const webCli = await import("./web-HG5S3AUN.js");
28
28
  return webCli.main(argv.slice(1));
29
29
  }
30
30
  if (argv[0] === "workspace") {
@@ -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
- padding: 12px 0;
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
- margin: 0 0 12px;
1357
- font-size: 13px;
1455
+ grid-column: 1 / -1;
1456
+ margin: 0;
1457
+ font-size: 14px;
1458
+ overflow-wrap: anywhere;
1358
1459
  }
1359
- .usage-plan > div {
1460
+ .usage-period {
1360
1461
  display: grid;
1361
- gap: 6px;
1362
- margin: 12px 0;
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: 6px;
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,21 @@ 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
+ max-width: 50%;
1706
+ font-weight: 500;
1707
+ }
1708
+ .param-action-ai {
1709
+ color: var(--vscode-textLink-foreground);
1710
+ }
1540
1711
  .param-action .codicon {
1541
1712
  flex-shrink: 0;
1542
1713
  font-size: 13px;
@@ -1733,12 +1904,9 @@ textarea::placeholder {
1733
1904
  }
1734
1905
  @media (max-width: 680px) {
1735
1906
  #app.menu-open {
1736
- grid-template-areas: "menu" "main";
1907
+ grid-template-areas: "toolbar" "menu" "main";
1737
1908
  grid-template-columns: minmax(0, 1fr);
1738
- grid-template-rows: auto minmax(0, 1fr);
1739
- }
1740
- .menu-open .toolbar {
1741
- display: none;
1909
+ grid-template-rows: auto auto minmax(0, 1fr);
1742
1910
  }
1743
1911
  .toolbar {
1744
1912
  padding: 8px 12px;
@@ -1750,6 +1918,9 @@ textarea::placeholder {
1750
1918
  .project-name {
1751
1919
  display: none;
1752
1920
  }
1921
+ .project-icon {
1922
+ display: none;
1923
+ }
1753
1924
  .toolbar-actions {
1754
1925
  gap: 1px;
1755
1926
  }
@@ -1781,6 +1952,15 @@ textarea::placeholder {
1781
1952
  padding: 8px 18px 10px;
1782
1953
  }
1783
1954
  }
1955
+ @media (max-width: 520px) {
1956
+ .usage-plan {
1957
+ grid-template-columns: minmax(0, 1fr);
1958
+ gap: 18px;
1959
+ }
1960
+ .usage-period-amount > strong {
1961
+ font-size: 20px;
1962
+ }
1963
+ }
1784
1964
  @media (max-width: 420px) {
1785
1965
  .toolbar {
1786
1966
  padding: 8px;
@@ -1788,6 +1968,14 @@ textarea::placeholder {
1788
1968
  .project-title {
1789
1969
  gap: 2px;
1790
1970
  }
1971
+ .usage-button {
1972
+ gap: 4px;
1973
+ padding-inline: 5px;
1974
+ }
1975
+ .project-information-section dl {
1976
+ grid-template-columns: minmax(72px, 95px) minmax(0, 1fr);
1977
+ gap: 10px;
1978
+ }
1791
1979
  h1 {
1792
1980
  font-size: 13px;
1793
1981
  }