connections:write${" "}scope)`,placeholder:"xapp-..."}],validate:t=>!!(t.TELEGRAM_BOT_TOKEN||t.DISCORD_BOT_TOKEN||t.SLACK_BOT_TOKEN&&t.SLACK_APP_TOKEN)},{id:"tools",title:"Tools (optional)",description:"Enable extra capabilities for your agent",fields:[{key:"BRAVE_API_KEY",label:"Brave Search API Key",hint:Eo`From${" "}${" "}→ App-Level Tokens (needs${" "}connections:write${" "}scope)`,placeholder:"xapp-..."}],validate:t=>!!(t.TELEGRAM_BOT_TOKEN||t.DISCORD_BOT_TOKEN||t.SLACK_BOT_TOKEN&&t.SLACK_APP_TOKEN)},{id:"tools",title:"Tools (optional)",description:"Enable extra capabilities for your agent",fields:[{key:"BRAVE_API_KEY",label:"Brave Search API Key",hint:Io`From${" "}brave.com/search/api${" "}-${" "}free tier available`,placeholder:"BSA..."}],validate:()=>!0}];var Uk=P.bind(T),yg=({onSelectFlow:t})=>Uk`
+ >${" "}-${" "}free tier available`,placeholder:"BSA..."}],validate:()=>!0}];var eS=P.bind(T),wg=({onSelectFlow:t})=>eS`
Applying import...
Fix the values and try again.
@@ -596,12 +596,12 @@ import"./chunks/chunk-72ZECFVW.js";var Tr,Se,qf,Pr,hs,Uf,Jf,Zf,Yf,qc,zc,Uc,Xf,oa ${e?"Retrying...":"Retry"}+ Click "Generate QR" to run channel login and capture terminal output. +
+ +- ${u?"Channel id is fixed after creation.":R?`${Lt(p).label} supports one channel account and uses the default id.`:M?"Derived from the channel name.":"First account uses the default id for this provider."} + ${u?"Channel id is fixed after creation.":B?`${_t(p).label} supports one channel account and uses the default id.`:M?"Derived from the channel name.":"First account uses the default id for this provider."}
- ${B?Js` + ${E?Rn` `:null} - ${B?Js` + ${E?Rn`xoxb-...)
with scopes:
- ${kS.join(", ")}
+ ${IS.join(", ")}
- ${R?`${Lt(p).label} already has a configured channel account.`:`A ${Lt(p).label} account with this id already exists.`} + ${B?`${_t(p).label} already has a configured channel account.`:`A ${_t(p).label} account with this id already exists.`}
`:null} - ${_?Js`${_}
`:null} + ${_?Rn`${_}
`:null}
- ${t.id==="github"&&ne.key==="GITHUB_WORKSPACE_REPO"?se===Bt?"Your new project will live here":K===qn?"Enter the owner/repo of an existing empty repository":"A new private repo will be created for you":t.id==="github"&&ne.key==="_GITHUB_SOURCE_REPO"?"The repo to import from":t.id==="github"&&ne.key==="GITHUB_TOKEN"?se===Bt?K===Tn?Pe`Use a classic PAT with${" "}repo${" "}scope to create the target repo. Fine-grained
works if the target already exists and can access both
- repos.`:Pe`Use a classic PAT with${" "}repo${" "}scope, or a fine-grained token with Contents +
Metadata access to both the source repo and target
- repo`:K===qn?Pe`Use a classic PAT with${" "}repo${" "}scope, or a fine-grained token with Contents +
- Metadata access to this repo`:Pe`Use a classic PAT with${" "}repo${" "}scope to create a new private repository`:ne.hint}
+ >${" "}scope to create a new private repository`:oe.hint}
${t.description}
${r?"Loading model catalog...":i||""}
- ${a&&Pe` + ${a&&Be`${h?"Complete login in the popup, then paste the full redirect URL from the address bar (starts with ":"Paste the full redirect URL from the address bar (starts with "} @@ -1673,15 +1758,15 @@ import"./chunks/chunk-72ZECFVW.js";var Tr,Se,qf,Pr,hs,Uf,Jf,Zf,Yf,qc,zc,Uc,Xf,oa
x(ne.target.value)} + value=${x} + onInput=${oe=>b(oe.target.value)} placeholder="http://localhost:1455/auth/callback?code=...&state=..." class="w-full bg-field border border-border rounded-lg px-3 py-2 text-xs text-body outline-none focus:border-fg-muted" /> <${Z} onClick=${v} - disabled=${!b.trim()||w} - loading=${w} + disabled=${!x.trim()||$} + loading=${$} tone="primary" size="sm" idleLabel="Complete Codex OAuth" @@ -1692,34 +1777,34 @@ import"./chunks/chunk-72ZECFVW.js";var Tr,Se,qf,Pr,hs,Uf,Jf,Zf,Yf,qc,zc,Uc,Xf,oa `}- Your ${d.label} channel is connected. You can switch - to ${d.label} and start using your agent now. + Your ${c.label} channel is connected. You can switch to${" "} + ${c.label} and start using your agent now.
Continue to the dashboard to explore extras like Google Workspace @@ -1848,40 +1933,40 @@ import"./chunks/chunk-72ZECFVW.js";var Tr,Se,qf,Pr,hs,Uf,Jf,Zf,Yf,qc,zc,Uc,Xf,oa
- Send a message to your ${d.label} bot + Send a message to your ${c.label} bot
The pairing request will appear here in 5-10 seconds @@ -1889,32 +1974,31 @@ import"./chunks/chunk-72ZECFVW.js";var Tr,Se,qf,Pr,hs,Uf,Jf,Zf,Yf,qc,zc,Uc,Xf,oa
'+(n?o:Ln(o,!0))+`
-`:""+(n?o:Ln(o,!0))+`
+`+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):n.push(o);continue}if(e){let i="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(i);break}else throw new Error(i)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){let s=e,o=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,o.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let r;for(;(o=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)r=o[2]?o[2].length:0,s=s.slice(0,o.index+r)+"["+"a".repeat(o[0].length-r-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);s=this.options.hooks?.emStrongMask?.call({lexer:this},s)??s;let i=!1,a="";for(;e;){i||(a=""),i=!1;let l;if(this.options.extensions?.inline?.some(d=>(l=d.call({lexer:this},e,n))?(e=e.substring(l.raw.length),n.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let d=n.at(-1);l.type==="text"&&d?.type==="text"?(d.raw+=l.raw,d.text+=l.text):n.push(l);continue}if(l=this.tokenizer.emStrong(e,s,a)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),n.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),n.push(l);continue}let c=e;if(this.options.extensions?.startInline){let d=1/0,u=e.slice(1),p;this.options.extensions.startInline.forEach(f=>{p=f.call({lexer:this},u),typeof p=="number"&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(c=e.substring(0,d+1))}if(l=this.tokenizer.inlineText(c)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(a=l.raw.slice(-1)),i=!0;let d=n.at(-1);d?.type==="text"?(d.raw+=l.raw,d.text+=l.text):n.push(l);continue}if(e){let d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return n}},nl=class{options;parser;constructor(t){this.options=t||eo}space(t){return""}code({text:t,lang:e,escaped:n}){let s=(e||"").match(Vt.notSpaceStart)?.[0],o=t.replace(Vt.endingNewline,"")+`
+`;return s?''+(n?o:En(o,!0))+`
+`:""+(n?o:En(o,!0))+`
`}blockquote({tokens:t}){return`${this.parser.parse(t)}`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`
${this.parser.parseInline(t)}
`}table(t){let e="",n="";for(let o=0;o