dream UX: agent announces dreaming + posts summary when back
- Posts "dreaming..." before pausing worker - Posts "back. dreamed about: ..." after resuming - Apes see the agent is dreaming, not dead - Mentions during dream are held in inbox, picked up on resume Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -187,7 +187,7 @@ export function ComposeBox({
|
||||
>
|
||||
<span className="font-bold">@{u.username}</span>
|
||||
<span className="text-muted-foreground">{u.display_name}</span>
|
||||
<span className="text-[9px] text-muted-foreground/50 uppercase">{u.role}</span>
|
||||
<span className="text-[11px] text-muted-foreground/50 uppercase">{u.role}</span>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
@@ -280,7 +280,7 @@ export function ComposeBox({
|
||||
)}
|
||||
|
||||
<span className={cn(
|
||||
"text-[9px] font-mono uppercase tracking-[0.2em] transition-opacity",
|
||||
"text-[11px] font-mono uppercase tracking-[0.2em] transition-opacity",
|
||||
isAgent ? meta.color : "text-muted-foreground",
|
||||
content ? "opacity-60" : "opacity-25",
|
||||
)}>
|
||||
|
||||
@@ -141,14 +141,14 @@ export function MessageItem({ message, compact, lastInGroup, replyTarget, onSele
|
||||
|
||||
{/* Agent badge */}
|
||||
{isAgent && (
|
||||
<Badge variant="outline" className="font-mono text-[9px] font-bold px-1.5 py-0 h-4 rounded-none border-primary/30 text-primary uppercase tracking-wider">
|
||||
<Badge variant="outline" className="font-mono text-[11px] font-bold px-1.5 py-0 h-4 rounded-none border-primary/30 text-primary uppercase tracking-wider">
|
||||
AGT
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
{/* Type badge */}
|
||||
{cfg.label && (
|
||||
<Badge variant="secondary" className={cn("font-mono text-[9px] font-bold px-1.5 py-0 h-4 rounded-none uppercase tracking-wider", cfg.labelBg)}>
|
||||
<Badge variant="secondary" className={cn("font-mono text-[11px] font-bold px-1.5 py-0 h-4 rounded-none uppercase tracking-wider", cfg.labelBg)}>
|
||||
{cfg.label}
|
||||
</Badge>
|
||||
)}
|
||||
@@ -232,7 +232,7 @@ export function MessageItem({ message, compact, lastInGroup, replyTarget, onSele
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setMetaOpen(!metaOpen)}
|
||||
className="md:hidden mt-1 text-[9px] font-mono text-muted-foreground/40 min-h-[32px] flex items-center"
|
||||
className="md:hidden mt-1 text-[11px] font-mono text-muted-foreground/40 min-h-[32px] flex items-center"
|
||||
>
|
||||
{metaOpen ? "[-] hide" : `[+] ${meta.model || "meta"}`}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user