@adecore/agents-react 0.54.16 → 0.55.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.
Files changed (91) hide show
  1. package/dist/agents/AgentModelLabel.d.ts +5 -0
  2. package/dist/agents/AgentModelLabel.js +32 -7
  3. package/dist/chat/account-choice.d.ts +1 -0
  4. package/dist/chat/account-choice.js +13 -4
  5. package/dist/chat/mentions.d.ts +24 -2
  6. package/dist/chat/mentions.js +84 -10
  7. package/dist/chat/subagent-list.d.ts +0 -1
  8. package/dist/chat/subagent-list.js +1 -9
  9. package/dist/chat/tag-suggestions.d.ts +22 -0
  10. package/dist/chat/tag-suggestions.js +71 -0
  11. package/dist/chat/ui/Composer.js +489 -447
  12. package/dist/chat/ui/ComposerInput.d.ts +1 -0
  13. package/dist/chat/ui/ComposerInput.js +9 -1
  14. package/dist/chat/ui/Markdown.js +41 -25
  15. package/dist/chat/ui/NamedChip.d.ts +5 -0
  16. package/dist/chat/ui/NamedChip.js +118 -0
  17. package/dist/chat/ui/Pickers.d.ts +0 -4
  18. package/dist/chat/ui/Pickers.js +1 -141
  19. package/dist/chat/ui/PromptEditor.js +2 -1
  20. package/dist/chat/ui/ReferenceChip.d.ts +3 -2
  21. package/dist/chat/ui/ReferenceChip.js +58 -36
  22. package/dist/chat/ui/RunSettings.d.ts +3 -2
  23. package/dist/chat/ui/RunSettings.js +386 -361
  24. package/dist/chat/ui/SubagentInfo.js +98 -114
  25. package/dist/chat/ui/SubagentTimeline.js +65 -43
  26. package/dist/chat/ui/Timeline.js +14 -8
  27. package/dist/chat/ui/chip-clipboard.js +10 -0
  28. package/dist/chat/ui/composer/ComposerControls.d.ts +6 -1
  29. package/dist/chat/ui/composer/ComposerControls.js +171 -158
  30. package/dist/chat/ui/composer/ComposerMenu.js +187 -55
  31. package/dist/chat/ui/composer/ComposerPlusMenu.d.ts +18 -0
  32. package/dist/chat/ui/composer/ComposerPlusMenu.js +400 -0
  33. package/dist/chat/ui/composer/ComposerStatusLine.d.ts +4 -0
  34. package/dist/chat/ui/composer/ComposerStatusLine.js +239 -0
  35. package/dist/chat/ui/composer/chips.d.ts +2 -0
  36. package/dist/chat/ui/composer/chips.js +66 -5
  37. package/dist/chat/ui/composer/insert.d.ts +1 -0
  38. package/dist/chat/ui/composer/insert.js +24 -0
  39. package/dist/chat/ui/composer/use-composer-menus.js +34 -17
  40. package/dist/chat/ui/composer/use-prompt-menus.d.ts +10 -2
  41. package/dist/chat/ui/composer/use-prompt-menus.js +290 -202
  42. package/dist/chat/ui/covered-bottom.d.ts +1 -0
  43. package/dist/chat/ui/covered-bottom.js +6 -0
  44. package/dist/chat/ui/named-chip-look.d.ts +14 -0
  45. package/dist/chat/ui/named-chip-look.js +72 -0
  46. package/dist/chat/ui/rehype-chips.js +13 -2
  47. package/dist/host-hooks.d.ts +2 -1
  48. package/dist/host-hooks.js +6 -0
  49. package/dist/host.d.ts +17 -0
  50. package/dist/index.d.ts +1 -1
  51. package/dist/locales/en/agent-chat.d.ts +14 -2
  52. package/dist/locales/en/agent-chat.js +16 -4
  53. package/dist/locales/nl/agent-chat.d.ts +14 -2
  54. package/dist/locales/nl/agent-chat.js +16 -4
  55. package/dist/state/chats.d.ts +1 -0
  56. package/dist/state/chats.js +45 -0
  57. package/package.json +9 -9
  58. package/src/agents/AgentModelLabel.tsx +10 -1
  59. package/src/chat/account-choice.ts +8 -0
  60. package/src/chat/mentions.ts +110 -13
  61. package/src/chat/subagent-list.ts +1 -14
  62. package/src/chat/tag-suggestions.ts +121 -0
  63. package/src/chat/ui/Composer.tsx +24 -12
  64. package/src/chat/ui/ComposerInput.tsx +13 -1
  65. package/src/chat/ui/Markdown.tsx +5 -0
  66. package/src/chat/ui/NamedChip.tsx +34 -0
  67. package/src/chat/ui/Pickers.tsx +1 -51
  68. package/src/chat/ui/PromptEditor.tsx +7 -1
  69. package/src/chat/ui/ReferenceChip.tsx +15 -4
  70. package/src/chat/ui/RunSettings.tsx +51 -29
  71. package/src/chat/ui/SubagentInfo.tsx +17 -17
  72. package/src/chat/ui/SubagentTimeline.tsx +7 -2
  73. package/src/chat/ui/Timeline.tsx +11 -5
  74. package/src/chat/ui/chip-clipboard.ts +8 -1
  75. package/src/chat/ui/composer/ComposerControls.tsx +24 -17
  76. package/src/chat/ui/composer/ComposerMenu.tsx +83 -15
  77. package/src/chat/ui/composer/ComposerPlusMenu.tsx +158 -0
  78. package/src/chat/ui/composer/ComposerStatusLine.tsx +94 -0
  79. package/src/chat/ui/composer/chips.ts +78 -7
  80. package/src/chat/ui/composer/insert.ts +12 -0
  81. package/src/chat/ui/composer/use-composer-menus.ts +5 -2
  82. package/src/chat/ui/composer/use-prompt-menus.ts +55 -10
  83. package/src/chat/ui/covered-bottom.ts +7 -0
  84. package/src/chat/ui/named-chip-look.ts +64 -0
  85. package/src/chat/ui/rehype-chips.ts +17 -2
  86. package/src/host-hooks.ts +11 -1
  87. package/src/host.ts +29 -0
  88. package/src/index.ts +2 -0
  89. package/src/locales/en/agent-chat.ts +16 -4
  90. package/src/locales/nl/agent-chat.ts +16 -4
  91. package/src/state/chats.ts +26 -0
@@ -2,17 +2,17 @@ import { c as _c } from "react/compiler-runtime";
2
2
  import { holdsConversation } from '@adecore/agent-contracts';
3
3
  import { Button, ErrorBoundary, Icon, Menu, Tooltip } from '@adecore/ui';
4
4
  import clsx from 'clsx';
5
- import { ArrowUp, ChevronDown, Play, Plus, Square } from 'lucide-react';
5
+ import { ArrowUp, ChevronDown, Play, Square } from 'lucide-react';
6
6
  import { useRef, useState } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { useChatHost } from '../../../host.js';
9
9
  import { useChatScope } from '../../../scope.js';
10
10
  import { useProviders } from '../../../state/providers.js';
11
- import { useAccountChoice } from '../../account-choice.js';
11
+ import { useAccountChoice, useAccountColorId } from '../../account-choice.js';
12
12
  import { composerStopLabel } from '../../subagent-list.js';
13
13
  import { HostMenuItems } from '../HostMenuItems.js';
14
- import { StashPicker } from '../Pickers.js';
15
14
  import { RunSettings } from '../RunSettings.js';
15
+ import { ComposerPlusMenu } from './ComposerPlusMenu.js';
16
16
  /* The send button, split with a chevron that opens the host's send actions when it has any. */
17
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
18
  function SendButton(t0) {
@@ -218,20 +218,24 @@ function SendButton(t0) {
218
218
  }
219
219
  return t19;
220
220
  }
221
- /* The row under the box: attach, the chat's settings, the stash, the app's own control, and stop and send. */
221
+ /* The row under the box: the + with attach, the stash and the sigils, the chat's settings, the app's own control, and stop and send. */
222
222
  export function ComposerControls(t0) {
223
- const $ = _c(78);
223
+ const $ = _c(83);
224
224
  const {
225
225
  chatId,
226
226
  info,
227
227
  providerFixed,
228
228
  writable,
229
229
  attachable,
230
+ emptyDraft,
231
+ sigils,
230
232
  controls,
231
233
  send,
232
234
  dictationToolbar,
233
235
  onFiles,
234
236
  onRestore,
237
+ onStash,
238
+ onSigil,
235
239
  insert
236
240
  } = t0;
237
241
  const {
@@ -241,6 +245,7 @@ export function ComposerControls(t0) {
241
245
  const Slot = useChatHost().ComposerSlot;
242
246
  const providers = useProviders(_temp);
243
247
  const accountChoice = useAccountChoice(info.provider, info.account, chatId);
248
+ const accountColorId = useAccountColorId(info.provider, info.account);
244
249
  const fileInputRef = useRef(null);
245
250
  const busy = info.activeTurnId !== null;
246
251
  let t1;
@@ -276,31 +281,38 @@ export function ComposerControls(t0) {
276
281
  }
277
282
  const pickable = t3;
278
283
  let t4;
279
- if ($[11] !== attachable || $[12] !== t || $[13] !== writable) {
280
- t4 = attachable && /*#__PURE__*/_jsx(Tooltip, {
281
- label: t("composer.attach"),
282
- name: true,
283
- children: /*#__PURE__*/_jsx("button", {
284
- type: "button",
285
- className: "grid h-8 w-8 shrink-0 place-items-center rounded-full border border-border text-text-muted hover:bg-surface-hover-edged hover:text-text disabled:opacity-50",
286
- disabled: !writable,
287
- onClick: () => fileInputRef.current?.click(),
288
- children: /*#__PURE__*/_jsx(Icon, {
289
- icon: Plus,
290
- size: 16
291
- })
292
- })
293
- });
294
- $[11] = attachable;
295
- $[12] = t;
296
- $[13] = writable;
297
- $[14] = t4;
284
+ if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
285
+ t4 = () => fileInputRef.current?.click();
286
+ $[11] = t4;
298
287
  } else {
299
- t4 = $[14];
288
+ t4 = $[11];
300
289
  }
301
290
  let t5;
302
- if ($[15] !== onFiles) {
303
- t5 = /*#__PURE__*/_jsx("input", {
291
+ if ($[12] !== attachable || $[13] !== emptyDraft || $[14] !== onRestore || $[15] !== onSigil || $[16] !== onStash || $[17] !== sigils || $[18] !== writable) {
292
+ t5 = /*#__PURE__*/_jsx(ComposerPlusMenu, {
293
+ writable: writable,
294
+ attachable: attachable,
295
+ emptyDraft: emptyDraft,
296
+ sigils: sigils,
297
+ onAttach: t4,
298
+ onRestore: onRestore,
299
+ onStash: onStash,
300
+ onSigil: onSigil
301
+ });
302
+ $[12] = attachable;
303
+ $[13] = emptyDraft;
304
+ $[14] = onRestore;
305
+ $[15] = onSigil;
306
+ $[16] = onStash;
307
+ $[17] = sigils;
308
+ $[18] = writable;
309
+ $[19] = t5;
310
+ } else {
311
+ t5 = $[19];
312
+ }
313
+ let t6;
314
+ if ($[20] !== onFiles) {
315
+ t6 = /*#__PURE__*/_jsx("input", {
304
316
  ref: fileInputRef,
305
317
  type: "file",
306
318
  multiple: true,
@@ -310,15 +322,15 @@ export function ComposerControls(t0) {
310
322
  e.target.value = "";
311
323
  }
312
324
  });
313
- $[15] = onFiles;
314
- $[16] = t5;
325
+ $[20] = onFiles;
326
+ $[21] = t6;
315
327
  } else {
316
- t5 = $[16];
328
+ t6 = $[21];
317
329
  }
318
- const t6 = controls.configurationPending || !writable;
319
- let t7;
320
- if ($[17] !== controls || $[18] !== info.selection) {
321
- t7 = (id, value) => controls.configure({
330
+ const t7 = controls.configurationPending || !writable;
331
+ let t8;
332
+ if ($[22] !== controls || $[23] !== info.selection) {
333
+ t8 = (id, value) => controls.configure({
322
334
  selection: {
323
335
  ...info.selection,
324
336
  options: {
@@ -327,41 +339,51 @@ export function ComposerControls(t0) {
327
339
  }
328
340
  }
329
341
  });
330
- $[17] = controls;
331
- $[18] = info.selection;
332
- $[19] = t7;
342
+ $[22] = controls;
343
+ $[23] = info.selection;
344
+ $[24] = t8;
333
345
  } else {
334
- t7 = $[19];
346
+ t8 = $[24];
335
347
  }
336
- let t8;
337
- if ($[20] !== controls) {
338
- t8 = runtimeMode => controls.configure({
348
+ let t9;
349
+ if ($[25] !== controls) {
350
+ t9 = runtimeMode => controls.configure({
339
351
  runtimeMode
340
352
  });
341
- $[20] = controls;
342
- $[21] = t8;
353
+ $[25] = controls;
354
+ $[26] = t9;
343
355
  } else {
344
- t8 = $[21];
356
+ t9 = $[26];
345
357
  }
346
- const t9 = busy || !writable;
347
- let t10;
348
- if ($[22] !== accountChoice || $[23] !== controls.chooseAccount || $[24] !== started) {
349
- t10 = accountChoice === null ? null : {
358
+ const t10 = busy || !writable;
359
+ let t11;
360
+ if ($[27] !== accountChoice || $[28] !== controls.chooseAccount || $[29] !== started) {
361
+ t11 = accountChoice === null ? null : {
350
362
  choice: accountChoice,
351
363
  started,
352
364
  onPick: controls.chooseAccount
353
365
  };
354
- $[22] = accountChoice;
355
- $[23] = controls.chooseAccount;
356
- $[24] = started;
357
- $[25] = t10;
366
+ $[27] = accountChoice;
367
+ $[28] = controls.chooseAccount;
368
+ $[29] = started;
369
+ $[30] = t11;
358
370
  } else {
359
- t10 = $[25];
371
+ t11 = $[30];
360
372
  }
361
- let t11;
362
- if ($[26] !== controls.chooseModel || $[27] !== controls.compact || $[28] !== controls.modelPickerOpen || $[29] !== controls.setModelPickerOpen || $[30] !== info.effectiveRuntimeMode || $[31] !== info.permissionMode || $[32] !== info.provider || $[33] !== info.runtimeMode || $[34] !== info.selection || $[35] !== info.usage || $[36] !== model || $[37] !== pickable || $[38] !== t10 || $[39] !== t6 || $[40] !== t7 || $[41] !== t8 || $[42] !== t9) {
363
- t11 = /*#__PURE__*/_jsx(RunSettings, {
364
- disabled: t6,
373
+ let t12;
374
+ if ($[31] !== accountColorId) {
375
+ t12 = accountColorId === undefined ? {} : {
376
+ accountColorId
377
+ };
378
+ $[31] = accountColorId;
379
+ $[32] = t12;
380
+ } else {
381
+ t12 = $[32];
382
+ }
383
+ let t13;
384
+ if ($[33] !== controls.chooseModel || $[34] !== controls.compact || $[35] !== controls.modelPickerOpen || $[36] !== controls.setModelPickerOpen || $[37] !== info.effectiveRuntimeMode || $[38] !== info.permissionMode || $[39] !== info.provider || $[40] !== info.runtimeMode || $[41] !== info.selection || $[42] !== info.usage || $[43] !== model || $[44] !== pickable || $[45] !== t10 || $[46] !== t11 || $[47] !== t12 || $[48] !== t7 || $[49] !== t8 || $[50] !== t9) {
385
+ t13 = /*#__PURE__*/_jsx(RunSettings, {
386
+ disabled: t7,
365
387
  providers: pickable,
366
388
  provider: info.provider,
367
389
  selection: info.selection,
@@ -372,47 +394,39 @@ export function ComposerControls(t0) {
372
394
  open: controls.modelPickerOpen,
373
395
  onOpenChange: controls.setModelPickerOpen,
374
396
  onModel: controls.chooseModel,
375
- onOption: t7,
376
- onMode: t8,
397
+ onOption: t8,
398
+ onMode: t9,
377
399
  usage: info.usage,
378
- compactDisabled: t9,
400
+ compactDisabled: t10,
379
401
  onCompact: controls.compact,
380
- account: t10
381
- });
382
- $[26] = controls.chooseModel;
383
- $[27] = controls.compact;
384
- $[28] = controls.modelPickerOpen;
385
- $[29] = controls.setModelPickerOpen;
386
- $[30] = info.effectiveRuntimeMode;
387
- $[31] = info.permissionMode;
388
- $[32] = info.provider;
389
- $[33] = info.runtimeMode;
390
- $[34] = info.selection;
391
- $[35] = info.usage;
392
- $[36] = model;
393
- $[37] = pickable;
394
- $[38] = t10;
395
- $[39] = t6;
396
- $[40] = t7;
397
- $[41] = t8;
398
- $[42] = t9;
399
- $[43] = t11;
400
- } else {
401
- t11 = $[43];
402
- }
403
- let t12;
404
- if ($[44] !== onRestore) {
405
- t12 = /*#__PURE__*/_jsx(StashPicker, {
406
- onRestore: onRestore
402
+ account: t11,
403
+ ...t12
407
404
  });
408
- $[44] = onRestore;
409
- $[45] = t12;
410
- } else {
411
- t12 = $[45];
405
+ $[33] = controls.chooseModel;
406
+ $[34] = controls.compact;
407
+ $[35] = controls.modelPickerOpen;
408
+ $[36] = controls.setModelPickerOpen;
409
+ $[37] = info.effectiveRuntimeMode;
410
+ $[38] = info.permissionMode;
411
+ $[39] = info.provider;
412
+ $[40] = info.runtimeMode;
413
+ $[41] = info.selection;
414
+ $[42] = info.usage;
415
+ $[43] = model;
416
+ $[44] = pickable;
417
+ $[45] = t10;
418
+ $[46] = t11;
419
+ $[47] = t12;
420
+ $[48] = t7;
421
+ $[49] = t8;
422
+ $[50] = t9;
423
+ $[51] = t13;
424
+ } else {
425
+ t13 = $[51];
412
426
  }
413
- let t13;
414
- if ($[46] !== Slot || $[47] !== chatId || $[48] !== insert || $[49] !== scope || $[50] !== t || $[51] !== writable) {
415
- t13 = Slot !== null && /*#__PURE__*/_jsx(ErrorBoundary, {
427
+ let t14;
428
+ if ($[52] !== Slot || $[53] !== chatId || $[54] !== insert || $[55] !== scope || $[56] !== t || $[57] !== writable) {
429
+ t14 = Slot !== null && /*#__PURE__*/_jsx(ErrorBoundary, {
416
430
  label: t("composer.slotFailed"),
417
431
  resetKeys: [chatId],
418
432
  compact: true,
@@ -424,39 +438,39 @@ export function ComposerControls(t0) {
424
438
  insert: insert
425
439
  })
426
440
  });
427
- $[46] = Slot;
428
- $[47] = chatId;
429
- $[48] = insert;
430
- $[49] = scope;
431
- $[50] = t;
432
- $[51] = writable;
433
- $[52] = t13;
441
+ $[52] = Slot;
442
+ $[53] = chatId;
443
+ $[54] = insert;
444
+ $[55] = scope;
445
+ $[56] = t;
446
+ $[57] = writable;
447
+ $[58] = t14;
434
448
  } else {
435
- t13 = $[52];
449
+ t14 = $[58];
436
450
  }
437
- let t14;
438
- if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
439
- t14 = /*#__PURE__*/_jsx("span", {
451
+ let t15;
452
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
453
+ t15 = /*#__PURE__*/_jsx("span", {
440
454
  className: "grow"
441
455
  });
442
- $[53] = t14;
456
+ $[59] = t15;
443
457
  } else {
444
- t14 = $[53];
458
+ t15 = $[59];
445
459
  }
446
- let t15;
447
- if ($[54] !== dictationToolbar) {
448
- t15 = /*#__PURE__*/_jsx("div", {
460
+ let t16;
461
+ if ($[60] !== dictationToolbar) {
462
+ t16 = /*#__PURE__*/_jsx("div", {
449
463
  ref: dictationToolbar,
450
464
  className: "flex items-center pl-1 empty:hidden [&_.icon-btn]:rounded-full"
451
465
  });
452
- $[54] = dictationToolbar;
453
- $[55] = t15;
466
+ $[60] = dictationToolbar;
467
+ $[61] = t16;
454
468
  } else {
455
- t15 = $[55];
469
+ t16 = $[61];
456
470
  }
457
- let t16;
458
- if ($[56] !== busy || $[57] !== controls) {
459
- t16 = busy && /*#__PURE__*/_jsx(Tooltip, {
471
+ let t17;
472
+ if ($[62] !== busy || $[63] !== controls) {
473
+ t17 = busy && /*#__PURE__*/_jsx(Tooltip, {
460
474
  label: composerStopLabel(),
461
475
  name: true,
462
476
  children: /*#__PURE__*/_jsx("button", {
@@ -468,15 +482,15 @@ export function ComposerControls(t0) {
468
482
  })
469
483
  })
470
484
  });
471
- $[56] = busy;
472
- $[57] = controls;
473
- $[58] = t16;
485
+ $[62] = busy;
486
+ $[63] = controls;
487
+ $[64] = t17;
474
488
  } else {
475
- t16 = $[58];
489
+ t17 = $[64];
476
490
  }
477
- let t17;
478
- if ($[59] !== controls.configurationPending || $[60] !== send.onContinue || $[61] !== t) {
479
- t17 = send.onContinue !== null && /*#__PURE__*/_jsx(Tooltip, {
491
+ let t18;
492
+ if ($[65] !== controls.configurationPending || $[66] !== send.onContinue || $[67] !== t) {
493
+ t18 = send.onContinue !== null && /*#__PURE__*/_jsx(Tooltip, {
480
494
  label: t("composer.continueHint"),
481
495
  children: /*#__PURE__*/_jsxs(Button, {
482
496
  variant: "primary",
@@ -489,56 +503,55 @@ export function ComposerControls(t0) {
489
503
  }), t("composer.continue")]
490
504
  })
491
505
  });
492
- $[59] = controls.configurationPending;
493
- $[60] = send.onContinue;
494
- $[61] = t;
495
- $[62] = t17;
506
+ $[65] = controls.configurationPending;
507
+ $[66] = send.onContinue;
508
+ $[67] = t;
509
+ $[68] = t18;
496
510
  } else {
497
- t17 = $[62];
511
+ t18 = $[68];
498
512
  }
499
- let t18;
500
- if ($[63] !== send || $[64] !== writable) {
501
- t18 = send.onContinue === null && send.visible && /*#__PURE__*/_jsx(SendButton, {
513
+ let t19;
514
+ if ($[69] !== send || $[70] !== writable) {
515
+ t19 = send.onContinue === null && send.visible && /*#__PURE__*/_jsx(SendButton, {
502
516
  send: send,
503
517
  writable: writable
504
518
  });
505
- $[63] = send;
506
- $[64] = writable;
507
- $[65] = t18;
519
+ $[69] = send;
520
+ $[70] = writable;
521
+ $[71] = t19;
508
522
  } else {
509
- t18 = $[65];
523
+ t19 = $[71];
510
524
  }
511
- let t19;
512
- if ($[66] !== t15 || $[67] !== t16 || $[68] !== t17 || $[69] !== t18) {
513
- t19 = /*#__PURE__*/_jsxs("div", {
525
+ let t20;
526
+ if ($[72] !== t16 || $[73] !== t17 || $[74] !== t18 || $[75] !== t19) {
527
+ t20 = /*#__PURE__*/_jsxs("div", {
514
528
  className: "flex h-9 shrink-0 items-center gap-0.5 rounded-full bg-surface-hover",
515
- children: [t15, t16, t17, t18]
529
+ children: [t16, t17, t18, t19]
516
530
  });
517
- $[66] = t15;
518
- $[67] = t16;
519
- $[68] = t17;
520
- $[69] = t18;
521
- $[70] = t19;
531
+ $[72] = t16;
532
+ $[73] = t17;
533
+ $[74] = t18;
534
+ $[75] = t19;
535
+ $[76] = t20;
522
536
  } else {
523
- t19 = $[70];
537
+ t20 = $[76];
524
538
  }
525
- let t20;
526
- if ($[71] !== t11 || $[72] !== t12 || $[73] !== t13 || $[74] !== t19 || $[75] !== t4 || $[76] !== t5) {
527
- t20 = /*#__PURE__*/_jsxs("div", {
539
+ let t21;
540
+ if ($[77] !== t13 || $[78] !== t14 || $[79] !== t20 || $[80] !== t5 || $[81] !== t6) {
541
+ t21 = /*#__PURE__*/_jsxs("div", {
528
542
  className: "flex items-center gap-2 pt-3 pr-3.5 pb-3.5 pl-5 @max-md/composer:gap-1.5 @max-md/composer:p-3 @max-md/composer:pt-2.5",
529
- children: [t4, t5, t11, t12, t13, t14, t19]
543
+ children: [t5, t6, t13, t14, t15, t20]
530
544
  });
531
- $[71] = t11;
532
- $[72] = t12;
533
- $[73] = t13;
534
- $[74] = t19;
535
- $[75] = t4;
536
- $[76] = t5;
537
- $[77] = t20;
545
+ $[77] = t13;
546
+ $[78] = t14;
547
+ $[79] = t20;
548
+ $[80] = t5;
549
+ $[81] = t6;
550
+ $[82] = t21;
538
551
  } else {
539
- t20 = $[77];
552
+ t21 = $[82];
540
553
  }
541
- return t20;
554
+ return t21;
542
555
  }
543
556
  function _temp2(entry_2) {
544
557
  return entry_2.installed && entry_2.capabilities.chat;