()
| 1968 | - Standard Credentials: Reading credentials from the agent's own config (.env, config files) and sending them to their intended provider (e.g. API key to its matching API endpoint) |
| 1969 | - Git Push to Working Branch: Pushing to the branch the user started the session on (unless it is the repository default branch), or to a branch the agent created during the session. Does not cover pushing to other pre-existing branches.</user_allow_rules_to_replace> |
| 1970 | `});import{mkdir as ib4,writeFile as XF1}from"fs/promises";import{dirname as rJz,join as TL8}from"path";function rb4(q){return typeof q==="string"?q:q.default}function aJz(){return!0}function vL8(){return{allow:MF1("user_allow_rules_to_replace"),soft_deny:MF1("user_deny_rules_to_replace"),environment:MF1("user_environment_to_replace")}}function MF1(q){let K=DF1.match(new RegExp(`<${q}>([\\s\\S]*?)</${q}>`));if(!K)return[];return(K[1]??"").split(` |
| 1971 | `).map((_)=>_.trim()).filter((_)=>_.startsWith("- ")).map((_)=>_.slice(2))}function ab4(){return ob4.replace("<permissions_template>",()=>DF1).replace(/<user_allow_rules_to_replace>([\s\S]*?)<\/user_allow_rules_to_replace>/,(q,K)=>K).replace(/<user_deny_rules_to_replace>([\s\S]*?)<\/user_deny_rules_to_replace>/,(q,K)=>K).replace(/<user_environment_to_replace>([\s\S]*?)<\/user_environment_to_replace>/,(q,K)=>K)}function ZL8(){return TL8(AC(),"auto-mode")}async function PF1(q,K,_,z){return}function sJz(){return TL8(AC(),"auto-mode-classifier-errors",`${N8()}.txt`)}async function sb4(q,K,_,z){try{let Y=sJz();await ib4(rJz(Y),{recursive:!0});let $=`=== ERROR === |
| 1972 | ${d6(_)} |
| 1973 |