Random Target AI

ARIA AGENT

Powered By Your Thoughts.

Let's create something Magnificent.
CALL ACTIVE00:00
Your IDE
ARIA Voice
A
ARIA
0/7000

ARIA Agent is AI and can make mistakes. Please double-check responses.

Map
⚡ ARIA IDE
CONSOLE OUTPUT
// Ready. Paste or write code, then click an action above.
Conversations
IDE History
IDE
History
Features
🌙 Dark
Chat
ARIA Agent is AI and can make mistakes. Please double-check responses.
'); w.document.close(); setTimeout(function(){w.print();},400); } }); })(); /* ── IDE FILE UPLOAD ── */ (function(){ var uploadBtn=document.getElementById('ag-ide-upload-btn'); var fileInput=document.getElementById('ag-ide-file-input'); if(!uploadBtn||!fileInput)return; uploadBtn.addEventListener('click',function(){fileInput.click();}); fileInput.addEventListener('change',function(){ var file=this.files[0]; if(!file)return; if(file.size>10*1024*1024){toast('File too large for IDE (max 10MB)');this.value='';return;} if(file.size>200*1024){toast('Large file loaded — ARIA will analyze what fits in context');} var reader=new FileReader(); reader.onload=function(e){ var editor=document.getElementById('ag-ide-editor'); if(editor){ editor.value=e.target.result; // Auto-detect language from extension var ext=file.name.split('.').pop().toLowerCase(); var langMap={js:'javascript',ts:'javascript',py:'python',php:'php',html:'html',css:'css',json:'json',sql:'sql',java:'java',cpp:'cpp',c:'cpp',cs:'csharp',go:'go',rs:'rust',rb:'ruby',sh:'bash',yaml:'yaml',xml:'xml'}; var lang=langMap[ext]||'javascript'; var langEl=document.getElementById('ide-lang'); if(langEl)langEl.value=lang; toast('Loaded: '+file.name); if(typeof addIdeHistEntry==='function')addIdeHistEntry(e.target.result,lang); } }; reader.onerror=function(){toast('Could not read file');}; reader.readAsText(file); this.value=''; }); })(); /* ── MOBILE CHAT OVERLAY ── */ (function(){ if(window.innerWidth>=768)return; var overlay=document.getElementById('ag-mobile-chat-overlay'); var mobileMsg=document.getElementById('ag-mobile-messages'); var minBtn=document.getElementById('ag-mobile-overlay-minimize'); var mainMsgs=document.getElementById('ag-messages'); var inputEl=document.getElementById('ag-chat-input'); if(!overlay||!mobileMsg||!mainMsgs||!inputEl)return; var isOpen=false; var touchStartY=0,touchStartTop=0; function sync(){var html='';mainMsgs.querySelectorAll('.am-row:not(#ag-typing)').forEach(function(r){html+=r.outerHTML;});mobileMsg.innerHTML=html;mobileMsg.scrollTop=mobileMsg.scrollHeight;} function openOv(){if(isOpen)return;isOpen=true;overlay.classList.add('open');sync();setTimeout(function(){mobileMsg.scrollTop=mobileMsg.scrollHeight;},60);} function closeOv(){if(!isOpen)return;isOpen=false;overlay.classList.remove('open');} inputEl.addEventListener('focus',openOv); if(minBtn)minBtn.addEventListener('click',function(){closeOv();inputEl.blur();}); new MutationObserver(function(){if(isOpen){sync();setTimeout(function(){mobileMsg.scrollTop=mobileMsg.scrollHeight;},60);}}).observe(mainMsgs,{childList:true,subtree:true}); overlay.addEventListener('touchstart',function(e){touchStartY=e.touches[0].clientY;touchStartTop=mobileMsg.scrollTop;},{passive:true}); overlay.addEventListener('touchend',function(e){var dy=e.changedTouches[0].clientY-touchStartY;if(dy>80&&touchStartTop<=0){closeOv();inputEl.blur();}},{passive:true}); window.addEventListener('resize',function(){if(window.innerWidth>=768)closeOv();},{passive:true}); })();