+ {statusTags.map((tag, idx) => {
+ const config = modeConfig[tag.mode] || { label: tag.mode, color: 'text-dark-400' };
+ return (
+
+
+ Status set to
+ {config.label}
+ {tag.project && (
+ ({tag.project})
+ )}
+
+ );
+ })}
+
+ );
+}
+
+// Queue info display component
+// Shows when agent is reading next queued message
+function QueueInfo({ count }) {
+ if (!count || count === 0) return null;
+
+ return (
+
{assistantAvatar?.startsWith('/') ? (
@@ -609,6 +710,9 @@ const Message = memo(function Message({ message, onSendMessage, hostConfig }) {
)}
{assistantName}
+ {/* Control tags shown above the message if there's also content */}
+ {statusTags.length > 0 && cleanContent.trim() &&
}
+ {queueTags > 0 && cleanContent.trim() &&
}