@@ -52,7 +52,10 @@ function isDefaultDescription(desc: string | null | undefined, workflowName: str
5252 if ( ! desc ) return true
5353 const normalized = desc . toLowerCase ( ) . trim ( )
5454 return (
55- normalized === '' || normalized === 'new workflow' || normalized === workflowName . toLowerCase ( )
55+ normalized === '' ||
56+ normalized === 'new workflow' ||
57+ normalized === 'your first workflow - start building here!' ||
58+ normalized === workflowName . toLowerCase ( )
5659 )
5760}
5861
@@ -685,9 +688,31 @@ console.log(data);`
685688 { /* Endpoint URL (shown when agent exists) */ }
686689 { existingAgent && endpoint && (
687690 < div >
688- < Label className = 'mb-[6.5px] block pl-[2px] font-medium text-[13px] text-[var(--text-primary)]' >
689- URL
690- </ Label >
691+ < div className = 'mb-[6.5px] flex items-center justify-between' >
692+ < Label className = 'block pl-[2px] font-medium text-[13px] text-[var(--text-primary)]' >
693+ URL
694+ </ Label >
695+ < Tooltip . Root >
696+ < Tooltip . Trigger asChild >
697+ < Button
698+ type = 'button'
699+ variant = 'ghost'
700+ onClick = { ( ) => {
701+ navigator . clipboard . writeText ( endpoint )
702+ setUrlCopied ( true )
703+ setTimeout ( ( ) => setUrlCopied ( false ) , 2000 )
704+ } }
705+ aria-label = 'Copy URL'
706+ className = '!p-1.5 -my-1.5'
707+ >
708+ { urlCopied ? < Check className = 'h-3 w-3' /> : < Clipboard className = 'h-3 w-3' /> }
709+ </ Button >
710+ </ Tooltip . Trigger >
711+ < Tooltip . Content >
712+ < span > { urlCopied ? 'Copied' : 'Copy' } </ span >
713+ </ Tooltip . Content >
714+ </ Tooltip . Root >
715+ </ div >
691716 < div className = 'relative flex items-stretch overflow-hidden rounded-[4px] border border-[var(--border-1)]' >
692717 < div className = 'flex items-center whitespace-nowrap bg-[var(--surface-5)] pr-[6px] pl-[8px] font-medium text-[var(--text-secondary)] text-sm dark:bg-[var(--surface-5)]' >
693718 { baseUrl . replace ( / ^ h t t p s ? : \/ \/ / , '' ) } /api/a2a/serve/
@@ -696,30 +721,8 @@ console.log(data);`
696721 < Input
697722 value = { existingAgent . id }
698723 readOnly
699- className = 'rounded-none border-0 pr-[32px] pl-0 text-[var(--text-tertiary)] shadow-none'
724+ className = 'rounded-none border-0 pl-0 text-[var(--text-tertiary)] shadow-none'
700725 />
701- < Tooltip . Root >
702- < Tooltip . Trigger asChild >
703- < button
704- type = 'button'
705- onClick = { ( ) => {
706- navigator . clipboard . writeText ( endpoint )
707- setUrlCopied ( true )
708- setTimeout ( ( ) => setUrlCopied ( false ) , 2000 )
709- } }
710- className = '-translate-y-1/2 absolute top-1/2 right-2'
711- >
712- { urlCopied ? (
713- < Check className = 'h-3 w-3 text-[var(--brand-tertiary-2)]' />
714- ) : (
715- < Clipboard className = 'h-3 w-3 text-[var(--text-tertiary)]' />
716- ) }
717- </ button >
718- </ Tooltip . Trigger >
719- < Tooltip . Content >
720- < span > { urlCopied ? 'Copied' : 'Copy' } </ span >
721- </ Tooltip . Content >
722- </ Tooltip . Root >
723726 </ div >
724727 </ div >
725728 < p className = 'mt-[6.5px] text-[11px] text-[var(--text-secondary)]' >
0 commit comments