- {sendError || runError ? (
-
- {sendError ?? runError}
-
-
- ) : null}
- {replyTarget ? (
-
-
- {replyQuote
- ? t`Replying to ${replyName}: “${replyQuote}”`
- : t`Replying to ${replyName}`}
-
-
-
- ) : null}
- {attachmentNotice ? (
-
- {attachmentNotice}
-
- ) : null}
- {pendingAttachments.length ? (
-
- {pendingAttachments.map((attachment) => (
-
- {attachment.previewUrl ? (
-

- ) : (
-
- )}
-
- {attachment.file.name}
-
-
-
- ))}
-
- ) : null}
- {mentionPickerOpen ? (
-
- {mentionOptions.map((mention, index) => {
- const optionId = `${mentionListboxId}-option-${index}`;
- const highlighted = index === activeMentionIndex;
- return (
-
- );
- })}
-
- ) : null}
- {showSlashPicker ? (
-
- {slashSkillOptions.map((skill) => (
-
- ))}
- {slashActionOptions.map((action) => {
- const label = slashActionLabel(action.id);
- return (
-
- );
- })}
-
- ) : null}
-
-
void onAttachmentPick(event.target.files)}
- />
-
-
- {selectedSkill ? (
-
-
-
- {selectedSkill.name}
-
-
-
- ) : null}
- {selectedMentions.map((mention) => (
-
-
-
- {mention.name}
-
-
-
- ))}
-
- {onVoice ? (
-
- ) : null}
- {running ? (
-
-
-
-
- ) : (
-
- )}
-
-
-