@adecore/agents-react 0.69.0 → 0.70.0

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.
@@ -14,7 +14,7 @@ import { useAwaitsApproval, useCurrentItem } from '../../../state/chats.js';
14
14
  import { useChatActions } from '../../actions.js';
15
15
  import { formatBytes } from '../../attachments.js';
16
16
  import { lookKey, lookRunOf } from '../../logic/command-looks.js';
17
- import { exitCodeOf, fileChanges, hasOutput, hasToolBody, liveOutput, readImagePath, shellCommand, toolCallLines, toolStartedAt, toolSummary, toolSummaryIsPath, unifiedChanges } from '../../logic/tools.js';
17
+ import { exitCodeOf, fileChanges, hasOutput, hasToolBody, liveOutput, readImagePath, shellCommand, toolCallLines, toolFailed, toolStartedAt, toolSummary, toolSummaryIsPath, unifiedChanges } from '../../logic/tools.js';
18
18
  import { useTimelineFlash } from '../../timeline-flash.js';
19
19
  import { AnsiOutput } from '../AnsiOutput.js';
20
20
  import { DiffStack, ReviewStackView } from '../diff/DiffStack.js';
@@ -867,7 +867,7 @@ function DiffBody(t0) {
867
867
  render: /*#__PURE__*/_jsx("pre", {}),
868
868
  "data-find-field": "output",
869
869
  className: "max-h-64",
870
- viewportClassName: clsx("whitespace-pre-wrap font-mono text-code select-text", tool.state === "error" ? "text-chat-removed" : "text-chat-output"),
870
+ viewportClassName: clsx("whitespace-pre-wrap font-mono text-code select-text", toolFailed(tool) ? "text-chat-removed" : "text-chat-output"),
871
871
  children: /*#__PURE__*/_jsx(OutputText, {
872
872
  text: text,
873
873
  whole: whole,
@@ -905,7 +905,7 @@ function DiffBody(t0) {
905
905
  }
906
906
  /* What a call answered, muted under the call; a failure in the error color, or its exit code when the tool names one. */
907
907
  function ToolOutput(t0) {
908
- const $ = _c(22);
908
+ const $ = _c(24);
909
909
  const {
910
910
  tool,
911
911
  chatId
@@ -920,19 +920,27 @@ function ToolOutput(t0) {
920
920
  if (!hasOutput(text)) {
921
921
  return null;
922
922
  }
923
- const failed = tool.state === "error";
924
- let code;
925
923
  let t1;
926
- if ($[0] !== failed || $[1] !== text || $[2] !== tool.outputRef || $[3] !== whole) {
924
+ if ($[0] !== tool) {
925
+ t1 = toolFailed(tool);
926
+ $[0] = tool;
927
+ $[1] = t1;
928
+ } else {
929
+ t1 = $[1];
930
+ }
931
+ const failed = t1;
932
+ let code;
933
+ let t2;
934
+ if ($[2] !== failed || $[3] !== text || $[4] !== tool.outputRef || $[5] !== whole) {
927
935
  const {
928
- code: t2,
936
+ code: t3,
929
937
  rest
930
938
  } = failed ? exitCodeOf(text) : {
931
939
  code: null,
932
940
  rest: text
933
941
  };
934
- code = t2;
935
- t1 = hasOutput(rest) && /*#__PURE__*/_jsx(ScrollArea, {
942
+ code = t3;
943
+ t2 = hasOutput(rest) && /*#__PURE__*/_jsx(ScrollArea, {
936
944
  render: /*#__PURE__*/_jsx("pre", {}),
937
945
  "data-find-field": "output",
938
946
  className: "max-h-64",
@@ -943,76 +951,76 @@ function ToolOutput(t0) {
943
951
  stored: tool.outputRef !== undefined
944
952
  })
945
953
  });
946
- $[0] = failed;
947
- $[1] = text;
948
- $[2] = tool.outputRef;
949
- $[3] = whole;
950
- $[4] = code;
951
- $[5] = t1;
952
- } else {
953
- code = $[4];
954
- t1 = $[5];
955
- }
956
- let t2;
957
- if ($[6] !== t) {
958
- t2 = t("work.showFullOutput");
959
- $[6] = t;
954
+ $[2] = failed;
955
+ $[3] = text;
956
+ $[4] = tool.outputRef;
957
+ $[5] = whole;
958
+ $[6] = code;
960
959
  $[7] = t2;
961
960
  } else {
961
+ code = $[6];
962
962
  t2 = $[7];
963
963
  }
964
964
  let t3;
965
965
  if ($[8] !== t) {
966
- t3 = t("work.fullOutputFailed");
966
+ t3 = t("work.showFullOutput");
967
967
  $[8] = t;
968
968
  $[9] = t3;
969
969
  } else {
970
970
  t3 = $[9];
971
971
  }
972
- const t4 = tool.outputRef?.bytes;
973
- let t5;
974
- if ($[10] !== t2 || $[11] !== t3 || $[12] !== t4 || $[13] !== whole) {
975
- t5 = /*#__PURE__*/_jsx(WholeBar, {
972
+ let t4;
973
+ if ($[10] !== t) {
974
+ t4 = t("work.fullOutputFailed");
975
+ $[10] = t;
976
+ $[11] = t4;
977
+ } else {
978
+ t4 = $[11];
979
+ }
980
+ const t5 = tool.outputRef?.bytes;
981
+ let t6;
982
+ if ($[12] !== t3 || $[13] !== t4 || $[14] !== t5 || $[15] !== whole) {
983
+ t6 = /*#__PURE__*/_jsx(WholeBar, {
976
984
  whole: whole,
977
- label: t2,
978
- failedLabel: t3,
979
- bytes: t4
985
+ label: t3,
986
+ failedLabel: t4,
987
+ bytes: t5
980
988
  });
981
- $[10] = t2;
982
- $[11] = t3;
983
- $[12] = t4;
984
- $[13] = whole;
989
+ $[12] = t3;
990
+ $[13] = t4;
985
991
  $[14] = t5;
992
+ $[15] = whole;
993
+ $[16] = t6;
986
994
  } else {
987
- t5 = $[14];
995
+ t6 = $[16];
988
996
  }
989
- let t6;
990
- if ($[15] !== code || $[16] !== t) {
991
- t6 = code !== null && /*#__PURE__*/_jsx("div", {
997
+ let t7;
998
+ if ($[17] !== code || $[18] !== t) {
999
+ t7 = code !== null && /*#__PURE__*/_jsx("div", {
992
1000
  className: "text-status-error",
993
1001
  children: t("work.exitCode", {
994
1002
  code: String(code)
995
1003
  })
996
1004
  });
997
- $[15] = code;
998
- $[16] = t;
999
- $[17] = t6;
1005
+ $[17] = code;
1006
+ $[18] = t;
1007
+ $[19] = t7;
1000
1008
  } else {
1001
- t6 = $[17];
1009
+ t7 = $[19];
1002
1010
  }
1003
- let t7;
1004
- if ($[18] !== t1 || $[19] !== t5 || $[20] !== t6) {
1005
- t7 = /*#__PURE__*/_jsxs(_Fragment, {
1006
- children: [t1, t5, t6]
1011
+ let t8;
1012
+ if ($[20] !== t2 || $[21] !== t6 || $[22] !== t7) {
1013
+ t8 = /*#__PURE__*/_jsxs(_Fragment, {
1014
+ children: [t2, t6, t7]
1007
1015
  });
1008
- $[18] = t1;
1009
- $[19] = t5;
1010
- $[20] = t6;
1011
- $[21] = t7;
1016
+ $[20] = t2;
1017
+ $[21] = t6;
1018
+ $[22] = t7;
1019
+ $[23] = t8;
1012
1020
  } else {
1013
- t7 = $[21];
1021
+ t8 = $[23];
1014
1022
  }
1015
- return t7;
1023
+ return t8;
1016
1024
  }
1017
1025
  /* An opened call without a card: what it was asked in the foreground, what it answered muted below. With `chatId` it can ask for an output the thread keeps only the beginning of. */
1018
1026
  export function ToolBody(t0) {
@@ -1177,7 +1185,7 @@ function _temp(t0) {
1177
1185
  }, key);
1178
1186
  }
1179
1187
  export function WorkRow(t0) {
1180
- const $ = _c(59);
1188
+ const $ = _c(62);
1181
1189
  const {
1182
1190
  tool,
1183
1191
  chatId,
@@ -1295,9 +1303,17 @@ export function WorkRow(t0) {
1295
1303
  } else {
1296
1304
  t14 = $[32];
1297
1305
  }
1298
- const t15 = failed ?? tool.state === "error";
1306
+ let t15;
1307
+ if ($[33] !== failed || $[34] !== tool) {
1308
+ t15 = failed ?? toolFailed(tool);
1309
+ $[33] = failed;
1310
+ $[34] = tool;
1311
+ $[35] = t15;
1312
+ } else {
1313
+ t15 = $[35];
1314
+ }
1299
1315
  let t16;
1300
- if ($[33] !== summary || $[34] !== t10 || $[35] !== t11 || $[36] !== t12 || $[37] !== t13 || $[38] !== t14 || $[39] !== t15 || $[40] !== t7 || $[41] !== t8 || $[42] !== t9 || $[43] !== tool.createdAt) {
1316
+ if ($[36] !== summary || $[37] !== t10 || $[38] !== t11 || $[39] !== t12 || $[40] !== t13 || $[41] !== t14 || $[42] !== t15 || $[43] !== t7 || $[44] !== t8 || $[45] !== t9 || $[46] !== tool.createdAt) {
1301
1317
  t16 = /*#__PURE__*/_jsx(ToggleLine, {
1302
1318
  icon: t7,
1303
1319
  label: t8,
@@ -1311,61 +1327,61 @@ export function WorkRow(t0) {
1311
1327
  failed: t15,
1312
1328
  time: tool.createdAt
1313
1329
  });
1314
- $[33] = summary;
1315
- $[34] = t10;
1316
- $[35] = t11;
1317
- $[36] = t12;
1318
- $[37] = t13;
1319
- $[38] = t14;
1320
- $[39] = t15;
1321
- $[40] = t7;
1322
- $[41] = t8;
1323
- $[42] = t9;
1324
- $[43] = tool.createdAt;
1325
- $[44] = t16;
1326
- } else {
1327
- t16 = $[44];
1330
+ $[36] = summary;
1331
+ $[37] = t10;
1332
+ $[38] = t11;
1333
+ $[39] = t12;
1334
+ $[40] = t13;
1335
+ $[41] = t14;
1336
+ $[42] = t15;
1337
+ $[43] = t7;
1338
+ $[44] = t8;
1339
+ $[45] = t9;
1340
+ $[46] = tool.createdAt;
1341
+ $[47] = t16;
1342
+ } else {
1343
+ t16 = $[47];
1328
1344
  }
1329
1345
  let t17;
1330
- if ($[45] !== ReadImage || $[46] !== image) {
1346
+ if ($[48] !== ReadImage || $[49] !== image) {
1331
1347
  t17 = image !== null && ReadImage !== null && /*#__PURE__*/_jsx(ReadImage, {
1332
1348
  path: image
1333
1349
  });
1334
- $[45] = ReadImage;
1335
- $[46] = image;
1336
- $[47] = t17;
1350
+ $[48] = ReadImage;
1351
+ $[49] = image;
1352
+ $[50] = t17;
1337
1353
  } else {
1338
- t17 = $[47];
1354
+ t17 = $[50];
1339
1355
  }
1340
1356
  let t18;
1341
- if ($[48] !== chatId || $[49] !== open || $[50] !== opens || $[51] !== tool) {
1357
+ if ($[51] !== chatId || $[52] !== open || $[53] !== opens || $[54] !== tool) {
1342
1358
  t18 = open && opens && /*#__PURE__*/_jsx(ToolBody, {
1343
1359
  tool: tool,
1344
1360
  chatId: chatId
1345
1361
  });
1346
- $[48] = chatId;
1347
- $[49] = open;
1348
- $[50] = opens;
1349
- $[51] = tool;
1350
- $[52] = t18;
1362
+ $[51] = chatId;
1363
+ $[52] = open;
1364
+ $[53] = opens;
1365
+ $[54] = tool;
1366
+ $[55] = t18;
1351
1367
  } else {
1352
- t18 = $[52];
1368
+ t18 = $[55];
1353
1369
  }
1354
1370
  let t19;
1355
- if ($[53] !== t16 || $[54] !== t17 || $[55] !== t18 || $[56] !== t6 || $[57] !== tool.id) {
1371
+ if ($[56] !== t16 || $[57] !== t17 || $[58] !== t18 || $[59] !== t6 || $[60] !== tool.id) {
1356
1372
  t19 = /*#__PURE__*/_jsxs("div", {
1357
1373
  "data-find-item": tool.id,
1358
1374
  className: t6,
1359
1375
  children: [t16, t17, t18]
1360
1376
  });
1361
- $[53] = t16;
1362
- $[54] = t17;
1363
- $[55] = t18;
1364
- $[56] = t6;
1365
- $[57] = tool.id;
1366
- $[58] = t19;
1377
+ $[56] = t16;
1378
+ $[57] = t17;
1379
+ $[58] = t18;
1380
+ $[59] = t6;
1381
+ $[60] = tool.id;
1382
+ $[61] = t19;
1367
1383
  } else {
1368
- t19 = $[58];
1384
+ t19 = $[61];
1369
1385
  }
1370
1386
  return t19;
1371
1387
  }
@@ -1643,7 +1659,7 @@ export function WorkGroupRow(t0) {
1643
1659
  const running = t1.length;
1644
1660
  let t2;
1645
1661
  if ($[2] !== tools) {
1646
- t2 = tools.filter(_temp5);
1662
+ t2 = tools.filter(toolFailed);
1647
1663
  $[2] = tools;
1648
1664
  $[3] = t2;
1649
1665
  } else {
@@ -1654,7 +1670,7 @@ export function WorkGroupRow(t0) {
1654
1670
  let latest;
1655
1671
  let t3;
1656
1672
  if ($[4] !== commandLooks || $[5] !== look || $[6] !== toolLooks || $[7] !== tools) {
1657
- latest = tools.findLast(_temp6);
1673
+ latest = tools.findLast(_temp5);
1658
1674
  T0 = ToggleLine;
1659
1675
  t3 = latest !== undefined ? callIcon(latest, commandLooks, toolLooks) : look === undefined ? toolIcon(tools[0].name) : /*#__PURE__*/_jsx(look.Mark, {
1660
1676
  size: 12
@@ -1757,11 +1773,8 @@ export function WorkGroupRow(t0) {
1757
1773
  * A settled turn folded behind how long it took and what it did. A line and not a button, like the
1758
1774
  * tool lines it hides; the work reads fainter than the time so the eye lands on the time first.
1759
1775
  */
1760
- function _temp6(tool_1) {
1761
- return tool_1.state === "running";
1762
- }
1763
1776
  function _temp5(tool_0) {
1764
- return tool_0.state === "error";
1777
+ return tool_0.state === "running";
1765
1778
  }
1766
1779
  function _temp4(tool) {
1767
1780
  return tool.state === "running";
@@ -1787,7 +1800,7 @@ export function TurnFoldRow(t0) {
1787
1800
  if ($[0] !== expandable || $[1] !== expanded || $[2] !== label || $[3] !== t1 || $[4] !== t2 || $[5] !== turn.state || $[6] !== work) {
1788
1801
  const commandLooks = t1 === undefined ? [] : t1;
1789
1802
  const toolLooks = t2 === undefined ? [] : t2;
1790
- const brands = [...commandLooks, ...toolLooks].flatMap(_temp7);
1803
+ const brands = [...commandLooks, ...toolLooks].flatMap(_temp6);
1791
1804
  const t6 = expandable && "hover:bg-surface-hover";
1792
1805
  const t7 = turn.state === "error" && "text-status-error";
1793
1806
  let t8;
@@ -1932,7 +1945,7 @@ export function TurnFoldRow(t0) {
1932
1945
  }
1933
1946
  return t9;
1934
1947
  }
1935
- function _temp7(t0) {
1948
+ function _temp6(t0) {
1936
1949
  const {
1937
1950
  brand
1938
1951
  } = t0;
@@ -2048,7 +2061,7 @@ function ChangedFilesCard(t0) {
2048
2061
  let t2;
2049
2062
  let t3;
2050
2063
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2051
- t2 = () => setExpanded(_temp8);
2064
+ t2 = () => setExpanded(_temp7);
2052
2065
  t3 = /*#__PURE__*/_jsx(Icon, {
2053
2066
  icon: FileDiff,
2054
2067
  size: 12,
@@ -2205,7 +2218,7 @@ function ChangedFilesCard(t0) {
2205
2218
  * checkpoint but no stored diff asks the host for one, which is also how a running turn gets it.
2206
2219
  * A diff the thread keeps only the first files of (`heldBack`) asks for the whole when a person does.
2207
2220
  */
2208
- function _temp8(value) {
2221
+ function _temp7(value) {
2209
2222
  return !value;
2210
2223
  }
2211
2224
  export function ChangedFilesRow(t0) {
@@ -2255,7 +2268,7 @@ export function ChangedFilesRow(t0) {
2255
2268
  if (alive) {
2256
2269
  setFetched(answer);
2257
2270
  }
2258
- }).catch(_temp9);
2271
+ }).catch(_temp8);
2259
2272
  return () => {
2260
2273
  alive = false;
2261
2274
  };
@@ -2277,7 +2290,7 @@ export function ChangedFilesRow(t0) {
2277
2290
  const {
2278
2291
  keyOf
2279
2292
  } = useChatScope();
2280
- const flash = useTimelineFlash(_temp0);
2293
+ const flash = useTimelineFlash(_temp9);
2281
2294
  let t6;
2282
2295
  if ($[13] !== chatId || $[14] !== flash || $[15] !== keyOf || $[16] !== turnId) {
2283
2296
  t6 = flash !== null && flash.opens && flash.key === keyOf(chatId) && flash.rowId === `files-${turnId}` ? flash.nonce : 0;
@@ -2296,7 +2309,7 @@ export function ChangedFilesRow(t0) {
2296
2309
  const t8 = checkpointDiff.truncated;
2297
2310
  let t9;
2298
2311
  if ($[18] !== files) {
2299
- t9 = files.reduce(_temp1, 0);
2312
+ t9 = files.reduce(_temp0, 0);
2300
2313
  $[18] = files;
2301
2314
  $[19] = t9;
2302
2315
  } else {
@@ -2304,7 +2317,7 @@ export function ChangedFilesRow(t0) {
2304
2317
  }
2305
2318
  let t10;
2306
2319
  if ($[20] !== files) {
2307
- t10 = files.reduce(_temp10, 0);
2320
+ t10 = files.reduce(_temp1, 0);
2308
2321
  $[20] = files;
2309
2322
  $[21] = t10;
2310
2323
  } else {
@@ -2394,16 +2407,16 @@ export function ChangedFilesRow(t0) {
2394
2407
  }
2395
2408
  return t7;
2396
2409
  }
2397
- function _temp10(sum_0, file_0) {
2410
+ function _temp1(sum_0, file_0) {
2398
2411
  return sum_0 + file_0.deleted;
2399
2412
  }
2400
- function _temp1(sum, file) {
2413
+ function _temp0(sum, file) {
2401
2414
  return sum + file.added;
2402
2415
  }
2403
- function _temp0(s) {
2416
+ function _temp9(s) {
2404
2417
  return s.target;
2405
2418
  }
2406
- function _temp9() {}
2419
+ function _temp8() {}
2407
2420
  function ProviderReviewFiles(t0) {
2408
2421
  const $ = _c(16);
2409
2422
  const {
@@ -2429,7 +2442,7 @@ function ProviderReviewFiles(t0) {
2429
2442
  } else {
2430
2443
  t2 = $[4];
2431
2444
  }
2432
- t1 = reviews.filter(t2).flatMap(_temp11);
2445
+ t1 = reviews.filter(t2).flatMap(_temp10);
2433
2446
  $[0] = open;
2434
2447
  $[1] = reviews;
2435
2448
  $[2] = t1;
@@ -2487,7 +2500,7 @@ function ProviderReviewFiles(t0) {
2487
2500
  return t2;
2488
2501
  }
2489
2502
  /* The fallback card, built from what the CLI itself reported about its edits. */
2490
- function _temp11(t0) {
2503
+ function _temp10(t0) {
2491
2504
  const {
2492
2505
  reviews: reviews_0
2493
2506
  } = t0;
@@ -2529,7 +2542,7 @@ function ProviderChangedFiles(t0) {
2529
2542
  entryFor(change.path || tool.id).edits.push(change);
2530
2543
  }
2531
2544
  }
2532
- t1 = [...byPath].map(_temp12);
2545
+ t1 = [...byPath].map(_temp11);
2533
2546
  $[0] = tools;
2534
2547
  $[1] = byPath;
2535
2548
  $[2] = t1;
@@ -2569,7 +2582,7 @@ function ProviderChangedFiles(t0) {
2569
2582
  return t3;
2570
2583
  }
2571
2584
  /* "Working for 00:14", under the mark of the call running last; between calls, a spinner. */
2572
- function _temp12(t0) {
2585
+ function _temp11(t0) {
2573
2586
  const [path_0, entry] = t0;
2574
2587
  return {
2575
2588
  path: path_0,
@@ -8,7 +8,7 @@ import { useChatHost } from '../../../host/host.js';
8
8
  import { useChatScope } from '../../../scope.js';
9
9
  import { useChats } from '../../../state/chats.js';
10
10
  import { useChatActions } from '../../actions.js';
11
- import { hasToolBody } from '../../logic/tools.js';
11
+ import { hasToolBody, toolFailed } from '../../logic/tools.js';
12
12
  import { workflowCounts, workflowDescription, workflowPhases } from '../../logic/workflow.js';
13
13
  import { useSubagentSupport } from '../../subagent-support.js';
14
14
  import { ROW_GUTTER } from '../icons.js';
@@ -242,7 +242,7 @@ export function WorkflowRow(t0) {
242
242
  t6 = $[15];
243
243
  }
244
244
  const stop = t6;
245
- const failed = tool.state === "error";
245
+ const failed = toolFailed(tool);
246
246
  const t7 = running && "text-accent";
247
247
  let t8;
248
248
  if ($[16] !== t7) {
@@ -1,6 +1,6 @@
1
- import { formatElapsedShort, formatMoment } from '@adecore/ui/format';
1
+ import { formatMoment } from '@adecore/ui/format';
2
2
  import i18next from 'i18next';
3
- import { backgroundTaskName } from './activity.js';
3
+ import { backgroundTaskName, backgroundTaskTime } from './activity.js';
4
4
  /*
5
5
  * The one thing a chat waits on, most pressing first: a child that needs the person, a child paused
6
6
  * until a time, the oldest command or monitor in the background, background subagents and workflows,
@@ -62,7 +62,7 @@ export function waitingOnLabel(waiting, now) {
62
62
  case 'command':
63
63
  return t('waitingOn.command', {
64
64
  command: backgroundTaskName(waiting.task),
65
- age: formatElapsedShort(Math.max(0, now - waiting.task.startedAt))
65
+ age: backgroundTaskTime(waiting.task, now)
66
66
  });
67
67
  case 'background':
68
68
  if (waiting.subagents === 0 && waiting.workflows === 0) {
@@ -495,6 +495,10 @@ declare const _default: {
495
495
  other: string;
496
496
  others_one: string;
497
497
  others_other: string;
498
+ wakeup: string;
499
+ wakeups_one: string;
500
+ wakeups_other: string;
501
+ wakesAt: string;
498
502
  stop: string;
499
503
  stopFailed: string;
500
504
  };
@@ -495,6 +495,10 @@ export default {
495
495
  other: 'Background task',
496
496
  others_one: '{{count}} background task',
497
497
  others_other: '{{count}} background tasks',
498
+ wakeup: 'Scheduled wakeup',
499
+ wakeups_one: '{{count}} scheduled wakeup',
500
+ wakeups_other: '{{count}} scheduled wakeups',
501
+ wakesAt: 'wakes at {{time}}',
498
502
  stop: 'Stop',
499
503
  stopFailed: 'Could not stop task'
500
504
  },
@@ -495,6 +495,10 @@ declare const _default: {
495
495
  other: string;
496
496
  others_one: string;
497
497
  others_other: string;
498
+ wakeup: string;
499
+ wakeups_one: string;
500
+ wakeups_other: string;
501
+ wakesAt: string;
498
502
  stop: string;
499
503
  stopFailed: string;
500
504
  };
@@ -495,6 +495,10 @@ export default {
495
495
  other: 'Achtergrondtaak',
496
496
  others_one: '{{count}} achtergrondtaak',
497
497
  others_other: '{{count}} achtergrondtaken',
498
+ wakeup: 'Geplande wekker',
499
+ wakeups_one: '{{count}} geplande wekker',
500
+ wakeups_other: '{{count}} geplande wekkers',
501
+ wakesAt: 'gaat af om {{time}}',
498
502
  stop: 'Stoppen',
499
503
  stopFailed: 'Kon de taak niet stoppen'
500
504
  },
package/dist/theme.css CHANGED
@@ -17,6 +17,7 @@
17
17
  --chart-copilot: #64748b;
18
18
  --chart-nanogpt: #34c759;
19
19
  --chart-grok: #ff2d55;
20
+ --chart-antigravity: #5856d6;
20
21
  /* What a chat's context holds, one color per part; the rest is the system's and stays gray. */
21
22
  --chart-context-tools: #4d7ce6;
22
23
  --chart-context-files: #9a63e0;
@@ -45,6 +46,7 @@
45
46
  --chart-copilot: #94a3b8;
46
47
  --chart-nanogpt: #30d158;
47
48
  --chart-grok: #ff375f;
49
+ --chart-antigravity: #5e5ce6;
48
50
  --chart-context-tools: #8aa7f5;
49
51
  --chart-context-files: #b98af3;
50
52
  --chart-context-conversation: #6dd08b;
@@ -79,6 +81,7 @@
79
81
  --color-chart-copilot: var(--chart-copilot);
80
82
  --color-chart-nanogpt: var(--chart-nanogpt);
81
83
  --color-chart-grok: var(--chart-grok);
84
+ --color-chart-antigravity: var(--chart-antigravity);
82
85
  --color-chart-context-tools: var(--chart-context-tools);
83
86
  --color-chart-context-files: var(--chart-context-files);
84
87
  --color-chart-context-conversation: var(--chart-context-conversation);
@@ -24,7 +24,8 @@ export const PROVIDER_LABELS = {
24
24
  nanogpt: 'NanoGPT',
25
25
  grok: 'Grok',
26
26
  copilot: 'GitHub Copilot',
27
- 'anthropic-claude-api': 'Claude API'
27
+ 'anthropic-claude-api': 'Claude API',
28
+ antigravity: 'Antigravity'
28
29
  };
29
30
  export const PROVIDER_COLORS = {
30
31
  claude: 'var(--chart-claude)',
@@ -32,7 +33,8 @@ export const PROVIDER_COLORS = {
32
33
  nanogpt: 'var(--chart-nanogpt)',
33
34
  grok: 'var(--chart-grok)',
34
35
  copilot: 'var(--chart-copilot)',
35
- 'anthropic-claude-api': 'var(--chart-claude-api)'
36
+ 'anthropic-claude-api': 'var(--chart-claude-api)',
37
+ antigravity: 'var(--chart-antigravity)'
36
38
  };
37
39
  /*
38
40
  * A slot is `2026-09-10` or `2026-09-10T14`, already in the viewer's own zone, so it is read as plain
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/agents-react",
3
- "version": "0.69.0",
3
+ "version": "0.70.0",
4
4
  "description": "React agent chat threads, composers, approvals, provider accounts and usage views.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -72,12 +72,12 @@
72
72
  "test:visuals": "bun --config=integration.bunfig.toml --conditions=source test ./src/chat/visual-viewport.integration.test.ts"
73
73
  },
74
74
  "dependencies": {
75
- "@adecore/agent-contracts": "0.69.0",
76
- "@adecore/editor": "0.69.0",
77
- "@adecore/editor-react": "0.69.0",
78
- "@adecore/intelligent-ui": "0.69.0",
79
- "@adecore/merge": "0.69.0",
80
- "@adecore/utils": "0.69.0",
75
+ "@adecore/agent-contracts": "0.70.0",
76
+ "@adecore/editor": "0.70.0",
77
+ "@adecore/editor-react": "0.70.0",
78
+ "@adecore/intelligent-ui": "0.70.0",
79
+ "@adecore/merge": "0.70.0",
80
+ "@adecore/utils": "0.70.0",
81
81
  "@codemirror/commands": "^6.11.1",
82
82
  "@codemirror/language": "^6.13.1",
83
83
  "@codemirror/state": "^6.7.6",
@@ -101,14 +101,14 @@
101
101
  "zustand": "^5.1.0"
102
102
  },
103
103
  "peerDependencies": {
104
- "@adecore/ui": "^0.69.0",
104
+ "@adecore/ui": "^0.70.0",
105
105
  "i18next": "^26.4.2 || ^27.0.0",
106
106
  "react": "^19.3.0",
107
107
  "react-dom": "^19.3.0",
108
108
  "react-i18next": "^17.0.15 || ^18.0.0"
109
109
  },
110
110
  "devDependencies": {
111
- "@adecore/ui": "0.69.0",
111
+ "@adecore/ui": "0.70.0",
112
112
  "@types/bun": "^1.4.4",
113
113
  "@types/react": "^19.3.0",
114
114
  "@types/react-dom": "^19.3.0",
@@ -21,7 +21,10 @@ export const PROVIDER_PATHS: Record<UsageProvider, string> = {
21
21
  codex: 'M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.554 5.554 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.019.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.001zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z',
22
22
  nanogpt: 'M5 20V4h2.6l8.8 11.2V4H19v16h-2.6L7.6 8.8V20z',
23
23
  grok: 'M6.469 8.776 16.512 23h-4.464L2.005 8.776H6.47Zm-.004 7.9 2.233 3.164L6.467 23H2l4.465-6.324ZM22 2.582V23h-3.659V7.764L22 2.582ZM22 1l-9.952 14.095-2.233-3.163L17.533 1H22Z',
24
- copilot: siGithubcopilot.path
24
+ copilot: siGithubcopilot.path,
25
+ // The mark Google lists in the ACP registry (`antigravity-acp/icon.svg`), scaled from 16 to 24 units.
26
+ antigravity:
27
+ 'M21.2178 22.0227C22.4906 22.9773 24.3996 22.341 22.6496 20.591C17.3997 15.4999 18.5132 1.5 11.9905 1.5C5.4678 1.5 6.5814 15.4999 1.3314 20.591C-0.5777 22.5 1.4905 22.9773 2.7632 22.0227C7.695 18.6818 7.3769 12.7955 11.9905 12.7955C16.6041 12.7955 16.286 18.6818 21.2178 22.0227Z'
25
28
  };
26
29
 
27
30
  /* The CLIs drawn with the logo of the usage page rather than their agent mark. */