rightcommit 1.2.3

Self-hosted, Rust-built orchestration for Claude Code, Codex and Pi Agent. Parallel workflows, full control over every commit, and FinOps that shows exactly what each agent and model costs.
1
2
'use strict';
(async()=>{const params=new URLSearchParams(location.search),code=params.get('code'),state=params.get('state');history.replaceState(null,'','/mcp/callback');const status=document.querySelector('#oauth-status');try{if(!code||!state)throw Error('Autorizzazione annullata o codice non ricevuto.');const res=await fetch('/api/mcp/oauth/callback',{method:'POST',credentials:'same-origin',headers:{'Content-Type':'application/json','X-Nodo-Request':'1'},body:JSON.stringify({code,state})});const result=await res.json();if(!res.ok)throw Error(result.error||'Accesso non riuscito');status.textContent='Connessione completata. Puoi chiudere questa finestra e tornare ad Agent Studio.';if(window.opener)window.opener.postMessage({type:'nodo-mcp-oauth-complete'},location.origin);}catch(e){status.textContent=e.message}})();