File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ const SidebarTaskItem = memo(function SidebarTaskItem({
132132 </ div >
133133 { task . id !== 'new' && (
134134 < div className = 'relative flex h-[18px] w-[18px] flex-shrink-0 items-center justify-center' >
135+ { isActive && ! isCurrentRoute && (
136+ < span className = 'absolute h-[7px] w-[7px] animate-ping rounded-full bg-[#33C482] opacity-30 group-hover:hidden' />
137+ ) }
135138 { ( isActive || isUnread ) && ! isCurrentRoute && (
136139 < span className = 'absolute h-[7px] w-[7px] rounded-full bg-[#33C482] group-hover:hidden' />
137140 ) }
Original file line number Diff line number Diff line change @@ -300,6 +300,7 @@ export const env = createEnv({
300300
301301 // AgentMail - Mothership Email Inbox
302302 AGENTMAIL_API_KEY : z . string ( ) . min ( 1 ) . optional ( ) , // AgentMail API key for mothership email inbox
303+ AGENTMAIL_DOMAIN : z . string ( ) . optional ( ) , // Custom domain for AgentMail inboxes (default: agentmail.to)
303304 INBOX_ENABLED : z . boolean ( ) . optional ( ) , // Enable inbox (Sim Mailer) on self-hosted (bypasses hosted requirements)
304305
305306 // E2B Remote Code Execution
Original file line number Diff line number Diff line change @@ -52,11 +52,13 @@ export async function createInbox(opts: {
5252 username ?: string
5353 displayName ?: string
5454} ) : Promise < AgentMailInbox > {
55+ const domain = env . AGENTMAIL_DOMAIN
5556 return request < AgentMailInbox > ( '/inboxes' , {
5657 method : 'POST' ,
5758 body : JSON . stringify ( {
5859 username : opts . username ,
5960 display_name : opts . displayName ,
61+ ...( domain ? { domain } : { } ) ,
6062 } ) ,
6163 } )
6264}
You can’t perform that action at this time.
0 commit comments