gemit-cli 2.1.2 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +571 -53
- package/dist-secure/aiPrompts.js +1 -1
- package/dist-secure/cli-version.js +1 -1
- package/dist-secure/commands/add.js +1 -1
- package/dist-secure/commands/branch.js +1 -1
- package/dist-secure/commands/changelog.js +1 -1
- package/dist-secure/commands/commit.js +1 -1
- package/dist-secure/commands/config.js +1 -1
- package/dist-secure/commands/ignore.js +1 -1
- package/dist-secure/commands/log.js +1 -1
- package/dist-secure/commands/pr.js +1 -1
- package/dist-secure/commands/prompts.js +1 -1
- package/dist-secure/commands/release.js +1 -1
- package/dist-secure/commands/review.js +1 -1
- package/dist-secure/commands/squash.js +1 -1
- package/dist-secure/commands/stash.js +1 -1
- package/dist-secure/commands/undo.js +1 -1
- package/dist-secure/config.js +1 -1
- package/dist-secure/git.js +1 -1
- package/dist-secure/index.js +1 -1
- package/dist-secure/llm.js +1 -1
- package/dist-secure/prompts.js +1 -1
- package/dist-secure/ui.js +1 -1
- package/dist-secure/update.js +1 -1
- package/package.json +2 -1
package/dist-secure/aiPrompts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4e3fc1=_0x4aa0;(function(_0x3dfb0b,_0x41799c){const _0x57893e=_0x4aa0,_0x1dfb2c=_0x3dfb0b();while(!![]){try{const _0x304984=-parseInt(_0x57893e(0x270))/0x1*(parseInt(_0x57893e(0x247))/0x2)+-parseInt(_0x57893e(0x138))/0x3*(parseInt(_0x57893e(0x143))/0x4)+-parseInt(_0x57893e(0x200))/0x5+-parseInt(_0x57893e(0x292))/0x6+-parseInt(_0x57893e(0x20a))/0x7+-parseInt(_0x57893e(0x1e1))/0x8+parseInt(_0x57893e(0x197))/0x9;if(_0x304984===_0x41799c)break;else _0x1dfb2c['push'](_0x1dfb2c['shift']());}catch(_0x356f3b){_0x1dfb2c['push'](_0x1dfb2c['shift']());}}}(_0x53ef,0xd1f00));const _0x44ebb6=(function(){const _0x2e3af3=_0x4aa0,_0x2d9019={'KVyFz':function(_0x551585){return _0x551585();},'uWpNT':_0x2e3af3(0x217),'LuUZU':'lBytZ','vTxGB':'eKoEc'};let _0x2eb835=!![];return function(_0xb138b,_0x561235){const _0x548db0=_0x2e3af3,_0x29c773={'pkCtf':function(_0x153fa2){const _0x4afe1c=_0x4aa0;return _0x2d9019[_0x4afe1c(0x191)](_0x153fa2);},'mhHAL':function(_0x12e3e5,_0x3e89be){return _0x12e3e5(_0x3e89be);},'ZiaZx':_0x2d9019[_0x548db0(0x1c3)],'HeKTZ':_0x2d9019['LuUZU'],'fwrJu':_0x2d9019['vTxGB']},_0x516172=_0x2eb835?function(){const _0x5e1c11=_0x548db0;if(_0x561235){if(_0x29c773['HeKTZ']!==_0x29c773['fwrJu']){const _0x1fc515=_0x561235['apply'](_0xb138b,arguments);return _0x561235=null,_0x1fc515;}else{const _0xadae59=_0x29c773[_0x5e1c11(0x121)](_0x12908b);_0x23794b(_0xadae59,{'recursive':!![]});const _0x21cd76=[];for(const _0x50afb6 of _0x10978a){const _0x2b303b=_0x5ddfce(_0xadae59,_0x50afb6+_0x5e1c11(0x1e0));(!_0x29c773[_0x5e1c11(0x2bd)](_0x30e61c,_0x2b303b)||_0x29cda9)&&(_0x3281c5(_0x2b303b,_0x51839c[_0x50afb6]+'\x0a',_0x29c773[_0x5e1c11(0x117)]),_0x21cd76['push'](_0x2b303b));}return _0x21cd76;}}}:function(){};return _0x2eb835=![],_0x516172;};}()),_0x532092=_0x44ebb6(this,function(){const _0x416d4c=_0x4aa0,_0x331055={'uvIku':'(((.+)+)'+_0x416d4c(0x174)};return _0x532092['toString']()[_0x416d4c(0x26b)](_0x331055[_0x416d4c(0x2a6)])['toString']()[_0x416d4c(0x258)+_0x416d4c(0x293)](_0x532092)[_0x416d4c(0x26b)](_0x331055[_0x416d4c(0x2a6)]);});_0x532092();import{existsSync,mkdirSync,readFileSync,writeFileSync}from'fs';import{homedir}from'os';import{join}from'path';function _0x4aa0(_0xbf59fb,_0x1050cd){_0xbf59fb=_0xbf59fb-0xff;const _0xbabf33=_0x53ef();let _0x532092=_0xbabf33[_0xbf59fb];return _0x532092;}function _0x53ef(){const _0x2f4267=['unções\x20e','naming\x20a','OBjMK','build,\x20c','ub\x20Pull\x20','y\x20the\x20ch','itespace','ades\x20exi','\x20curto\x20(','ary\x20modu','le\x20(max\x20','ling\x0a\x20\x20\x20','\x0a{{descr','ve\x20from\x20','owing\x20th','me,\x20no\x20e','2–4\x20fras','i,\x20ui,\x20d','):\x20deriv','ontinuad','.txt','302568hzyfJa','platform','\x0aRespond','indicate','o\x20que\x20fo','release/','commit','s\x20genéri','adds\x20or\x20','seção\x20##','\x0a\x20\x20\x20\x20###','rico\x20rec','gelog.co','mit;\x20não','portuguê','ters\x0a-\x20R','uction\x20f','1.\x20Uma\x20f','\x0a\x20\x20\x20\x20cho','staged_f','\x20versão\x20','stentes\x0a','\x0a\x20\x20\x20\x20tes','\x20assunto','ependenc','s\x20a\x20diff','o\x0a-\x20Não\x20','\x20Maximum','\x0a{{commi','contexto','mit\x20hist','6137230FzVpqS','\x0a-\x20Be\x20sp','o\x20contex','flect\x20it','egras:\x0a-','des\x20marc','factor\x20–','\x20bugfix\x20','\x20–\x20new\x20c','a\x20senior','10905146WUNrEV','Request\x20','feat\x20\x20\x20\x20','onfig,\x20d','o\x20invent','s\x20in\x20keb','fix\x20to\x20b','\x20(use\x20on','-\x20Derive','o\x20Brasil','\x20when\x20re','2–5\x20word','ora\x20do\x20c','utf8','e)\x0a-\x20Sco','cription','\x20\x20\x203.\x20Li','efer\x20evi','\x20Git\x20bra','for\x20a\x20Gi','\x0aDESCRIP','adas\x20do\x20','TION:\x0a##','#\x20Commit','}}\x0a\x0aDiff','name\x20the','ist\x20of\x20c','correçõe','ame\x20pref','s\x0a-\x20Retu','t\x20messag','title\x20an','entional','iption:\x20','ranch\x20Gi','\x20hashes\x20','rutura\x20o','s\x20como\x20c','update\x22,','g\x20a\x20GitH','gelog\x20(h','branch','Staged\x20f','egressio','–\x20format','r\x20domain','.gemit','##\x20Adici','rne\x20apen','ic\x20chang','he\x20commi','he\x20diff\x20','en\x20they\x20','\x20affecte','extra\x20co','use\x20as\x20m','lnerabil','auth,\x20ap','branch\x20d','##\x20[Unre','ion\x20ment','757902VrGhZU','\x20modules','ayNuU',':\x0a-\x20Form','inclua\x20c','código;\x20','ionalida','idades\x0a-','n\x0a\x20\x20\x20\x20re','vzXeY','incipais','\x20Commit\x20','paration','rive\x20fro','do\x20branc','\x20perf\x20\x20\x20',':\x20qual\x20e','construc','etected_','eturn\x20ON','w,\x20produ','t\x20e\x20das\x20','ce\x20a\x20PR\x20','trada:\x20f','pository','HXktY','detectad','clearly\x20','ng\x0a\x20\x20\x20\x20d','eepachan','\x20profiss','ta,\x20impe','\x20\x20\x20\x20feat','apabilit','iption}}','ength:\x205','search','descript','ion\x20only','mmentary','\x20steps\x20—','2CRExSW','Format:\x20','onado\x20\x20\x20','rn\x20ONLY\x20','message\x20','\x20Alterad','###\x20Desc','formance','n\x20and\x20de','eature,\x20','\x20over\x20co','t_histor','s,\x20tooli','pe:\x20deri','ipo\x20do\x20b','r\x20releas','\x20or\x20func','cise\x20des','rifiable','LuLQk',',\x20no\x20fil','ehavior\x20','entado\x0a\x20','dence\x20fr','.config','ocs\x20\x20\x20\x20\x20','tyle\x20\x20\x20\x20','only\x20whe','sem\x20pont','ia:\x0a\x20\x20\x20\x20','ile\x20name','win32','nch_cont','\x20type\x20fr','1610298JiuPzQ','tor','om\x20the\x20c','ttps://k','\x20not\x20gen','kdown,\x20s','pe:\x0a\x20\x20\x20\x20','o\x20final\x0a','onclusõe','nte\x0a-\x20Nã','ure/,\x20bu','\x20in\x20impe','diff\x20sta','\x20enginee','a}}','\x20portugu','m\x20engenh','corrects','vos\x20ou\x20f','to\x20verif','uvIku','ting,\x20wh','ent\x20prod','s\x20com\x20os','\x20correçõ','s\x20as\x20que','rete,\x20ve','hore\x20\x20\x20\x20','ing\x0a-\x20Su','elop\x0a\x20\x20\x20','w\x20branch','ua\x20apena','tions\x20mo','HANGELOG','le,\x20dire','\x20Seguran','ullets\x20c','e>:\x20<con','leased]\x20','bject:\x20i','vior\x0a\x20\x20\x20','ra\x20o\x20obj','c\x20and\x20me','mhHAL','erent\x20ty','ith\x20no\x20b','timos\x20{{','replace','nmIcF','gemit','rase\x20de\x20','HJgaE','ab-case,','\x20de\x20comm','ecific:\x20','e\x20branch','ure\x20\x20–\x20n','stá\x20pron','r\x20writin','drão\x20Kee','iles:\x0a{{','se-descr','\x20mudança','s\x20em\x20fun','f\x20or\x20com','ntation\x20','72\x20chars','\x20by\x20area','Library','otfix/,\x20','revendo\x20','ntences\x20','AHXzV','tual\x20dif','es\x20de\x20vu','ler\x20word','tures\x20co','rative\x20m','rFRqM','\x0a\x0a##\x20Cha','ique\x20o\x20t','to\x20para\x20','ersion\x20o','change\x0a\x20','into\x20mai','push','r\x20–\x20code','prompts','tFlow\x20re','\x20entrada','ta:\x0a{{br','\x20tests\x0a\x20','\x20on\x20the\x20','ions\x20a\x20v','\x20stat:\x0a{','g\x20a\x20Conv','ZiaZx','\x20e\x20descr','\x20\x20\x20\x20–\x20te','e\x20mood,\x20','down\x20bod','unless\x20t','\x20Summary','ange\x20is\x20','om\x20the\x20n','rects\x20a\x20','pkCtf','cklist\x20o','e,\x20no\x20tr','t\x20\x20\x20\x20\x20–\x20','e\x20nada\x20f','s\x20de\x20com','0\x20charac','dicionai','e\x20módulo','cações\x20a','f\x20—\x20do\x20n','ules:\x0a-\x20','ode\x20diff','curtos\x20e','ly\x20when\x20','ies,\x20too','only\x0a\x20\x20\x20','lleted\x20l','re\x20\x20\x20\x20–\x20','i\x20implem','\x20ci\x20\x20\x20\x20\x20','hotfix,\x20','s\x0a-\x20Incl','3636UmfqPY','e\x20GitFlo','\x0a-\x20Descr','type}}\x22\x20','D\x20pipeli','LY\x20the\x20b','Applicat','e>):\x20<su','ior\x20resu','\x20behavio','it\x20apena','2664tLpiLa','nges\x0a<bu','#\x20Removi','\x0a-\x20Retur','M-DD\x20(ou','release)','the\x20prim','\x20merged\x20','\x0a<1–3\x20se','alidades','ints\x20onl','eçalho:\x20','UtVqE','ata\x20belo','nalidade','ction:\x20l','changes,','iles}}\x0a\x0a','ado\x20para','Você\x20é\x20u','d\x20a\x20mark','t\x20scope\x20','s\x20de\x20bug','at:\x20<typ','a\x20em\x20por','qaRgM','—\x20YYYY-M','tFlow\x20em','ailing\x20p','bject>\x0a-','ça\x20\x20\x20\x20\x20–','sts\x20only','s\x20técnic','ax\x2072\x20ch','\x20invente','oss-cutt','m)\x20adapt','ontexto\x20','Corrigid','asil.\x0a\x0aR','eiro\x20sên','You\x20are\x20','\x20Start\x20w','b)\x0a\x20\x20Omi','kebab-ca','omplemen','ive\x20o\x20re','sible\x20in','ood>\x0a\x20\x20D','+)+$','p\x20a\x20Chan','do\x20\x20\x20\x20\x20\x20','\x20\x20\x20test\x20','ente\x20(úl','s:\x0a-\x20Cab','.\x0a\x0aRegra','a\x20remoçã','d\x20(e.g.\x20','klcIS','fornecid','ne\x20chang','cumentat','nation,\x20','fences\x0a\x0a','\x20–\x20novas','no\x20code\x20','cas\x20(\x22o\x20','o\x20releva','o\x20–\x20func','\x20\x20–\x20bug\x20','xplanati','eat\x20comm','\x20branch\x0a','ith\x20\x22{{d','mindo\x20o\x20','asil.\x0a\x0aS','rase\x20cur','\x20\x20\x20docs\x20','KVyFz','trim','low,\x20no\x20','m\x20the\x20ac','re\x20to\x20be','\x20\x20\x20–\x20urg','49648734PwdujB','\x20\x20\x20\x202.\x20P','velop\x0a\x20\x20','st\x20affec','arágrafo','toLowerC','sting\x20se','n\x20ONLY\x20t','tch\x20exce','mperativ','atch}}','y\x20echo\x20f','SshSi','etivo\x20do','es\x0a\x20\x20\x20\x20s','MVtaN','das\x0a\x20\x20\x20\x20','ês\x20do\x20Br','rativa,\x20','\x20Cada\x20en','\x20\x22do\x22)\x0a-','pifjG','\x20grouped','\x20\x20releas','into\x20dev','s:\x0a-\x20Tit','\x20types:\x0a','to\x0a-\x20Cit','he\x20code\x20','imit}}\x20c','ceholder',')\x0a-\x20Cate','trabalho','ranch\x20da','on\x20what\x20','\x20specifi','s\x20removi','diff\x20de\x20','\x20(no\x20log','swWhs',',\x20files,','h:\x0a{{bra','r\x20not\x20vi','ua\x20ao\x20fi','uWpNT','\x20total\x20l','y.\x0a\x0aRule','tuguês\x20d','.\x20Título','ctory,\x20o','darwin','etc.)\x0a\x0aC','anch_dat'];_0x53ef=function(){return _0x2f4267;};return _0x53ef();}export const PROMPT_NAMES=[_0x4e3fc1(0x1e7),_0x4e3fc1(0x233),'pr','changelo'+'g','log'];export const DEFAULT_PROMPTS={'commit':'You\x20are\x20'+_0x4e3fc1(0x209)+_0x4e3fc1(0x29f)+'r\x20writin'+_0x4e3fc1(0x116)+_0x4e3fc1(0x22a)+_0x4e3fc1(0x252)+_0x4e3fc1(0x274)+_0x4e3fc1(0x21d)+_0x4e3fc1(0x10f)+_0x4e3fc1(0x25f)+'.\x0a\x0aRules'+_0x4e3fc1(0x24a)+_0x4e3fc1(0x15a)+'e>(<scop'+_0x4e3fc1(0x13f)+_0x4e3fc1(0x160)+_0x4e3fc1(0x16d)+_0x4e3fc1(0x18c)+_0x4e3fc1(0x259)+_0x4e3fc1(0x13b)+_0x4e3fc1(0x11c)+_0x4e3fc1(0x23d)+_0x4e3fc1(0x262)+_0x4e3fc1(0x1e4)+_0x4e3fc1(0x1fa)+_0x4e3fc1(0x2be)+_0x4e3fc1(0x298)+_0x4e3fc1(0x20c)+_0x4e3fc1(0x208)+_0x4e3fc1(0x268)+'y\x20or\x20beh'+'avior\x0a\x20\x20'+'\x20\x20fix\x20\x20\x20'+'\x20\x20\x20–\x20cor'+_0x4e3fc1(0x120)+'bug\x20or\x20r'+_0x4e3fc1(0x235)+_0x4e3fc1(0x24f)+_0x4e3fc1(0x206)+'\x20restruc'+_0x4e3fc1(0x103)+'de\x20witho'+'ut\x20chang'+'ing\x20beha'+_0x4e3fc1(0x2ba)+_0x4e3fc1(0x256)+'\x20\x20–\x20impr'+'oves\x20per'+_0x4e3fc1(0x277)+_0x4e3fc1(0x1f7)+_0x4e3fc1(0x124)+_0x4e3fc1(0x1e9)+_0x4e3fc1(0x2a3)+_0x4e3fc1(0x112)+_0x4e3fc1(0x190)+'\x20\x20\x20\x20–\x20do'+_0x4e3fc1(0x180)+_0x4e3fc1(0x26d)+_0x4e3fc1(0x1f3)+_0x4e3fc1(0x133)+_0x4e3fc1(0x1cf)+_0x4e3fc1(0x20d)+_0x4e3fc1(0x1f9)+_0x4e3fc1(0x130)+_0x4e3fc1(0x1d7)+_0x4e3fc1(0x135)+'\x20\x20–\x20CI/C'+_0x4e3fc1(0x13c)+_0x4e3fc1(0x17f)+_0x4e3fc1(0x1a5)+_0x4e3fc1(0x28a)+_0x4e3fc1(0x236)+_0x4e3fc1(0x2a7)+_0x4e3fc1(0x1d2)+_0x4e3fc1(0x1bd)+_0x4e3fc1(0x23b)+_0x4e3fc1(0x218)+_0x4e3fc1(0x27d)+_0x4e3fc1(0x1d9)+_0x4e3fc1(0x149)+_0x4e3fc1(0x1d5)+_0x4e3fc1(0x2b4)+_0x4e3fc1(0x1c8)+_0x4e3fc1(0x237)+_0x4e3fc1(0x23f)+_0x4e3fc1(0x17c)+_0x4e3fc1(0x243)+_0x4e3fc1(0x1dd)+_0x4e3fc1(0x16e)+_0x4e3fc1(0x158)+_0x4e3fc1(0x28b)+'n\x20the\x20ch'+_0x4e3fc1(0x11e)+'truly\x20cr'+_0x4e3fc1(0x166)+_0x4e3fc1(0x2ae)+_0x4e3fc1(0x2b9)+_0x4e3fc1(0x1a0)+_0x4e3fc1(0x11a)+'lowercas'+_0x4e3fc1(0x123)+_0x4e3fc1(0x15f)+'eriod,\x20m'+_0x4e3fc1(0x164)+'ars\x0a\x20\x20De'+_0x4e3fc1(0x254)+_0x4e3fc1(0x194)+_0x4e3fc1(0x100)+_0x4e3fc1(0x12b)+'ot\x20simpl'+_0x4e3fc1(0x1a2)+_0x4e3fc1(0x28e)+'s\x20as\x20the'+'\x20subject'+_0x4e3fc1(0x146)+_0x4e3fc1(0x19e)+_0x4e3fc1(0x23c)+_0x4e3fc1(0x228)+'e\x20line,\x20'+'no\x20expla'+_0x4e3fc1(0x181)+_0x4e3fc1(0x184)+_0x4e3fc1(0x182)+_0x4e3fc1(0x234)+(_0x4e3fc1(0x2ce)+_0x4e3fc1(0x1f4)+_0x4e3fc1(0x154)+'Short\x20su'+'mmary:\x0a{'+'{summary'+_0x4e3fc1(0x222)+_0x4e3fc1(0x115)+'{diff_st'+'at}}\x0a\x0aPa'+_0x4e3fc1(0x19f)+'rpt:\x0a{{p'+_0x4e3fc1(0x1a1)),'branch':_0x4e3fc1(0x16c)+_0x4e3fc1(0x1cd)+_0x4e3fc1(0x21c)+'nch\x20foll'+_0x4e3fc1(0x1da)+_0x4e3fc1(0x139)+'w\x20conven'+'tion.\x0a\x0aR'+_0x4e3fc1(0x12c)+_0x4e3fc1(0x271)+'<type>/<'+_0x4e3fc1(0x16f)+_0x4e3fc1(0x2cf)+'iption>\x0a'+'-\x20GitFlo'+_0x4e3fc1(0x2b0)+_0x4e3fc1(0x1b1)+_0x4e3fc1(0x267)+_0x4e3fc1(0x2ca)+'ew\x20featu'+_0x4e3fc1(0x195)+'\x20merged\x20'+_0x4e3fc1(0x1af)+_0x4e3fc1(0x2af)+_0x4e3fc1(0x207)+_0x4e3fc1(0x188)+_0x4e3fc1(0x210)+'e\x20merged'+'\x20into\x20de'+_0x4e3fc1(0x199)+'\x20\x20hotfix'+_0x4e3fc1(0x196)+_0x4e3fc1(0x2a8)+_0x4e3fc1(0x1f1)+'ix\x20to\x20be'+_0x4e3fc1(0x14a)+_0x4e3fc1(0x10b)+_0x4e3fc1(0x278)+'velop\x0a\x20\x20'+_0x4e3fc1(0x1ae)+'e\x20\x20–\x20rel'+'ease\x20pre'+_0x4e3fc1(0x253)+_0x4e3fc1(0x211)+_0x4e3fc1(0x12f)+_0x4e3fc1(0x26c)+_0x4e3fc1(0x246)+_0x4e3fc1(0x114)+_0x4e3fc1(0x109)+_0x4e3fc1(0x27f)+'e)\x0a\x20\x20\x20\x20c'+_0x4e3fc1(0x2ad)+'–\x20mainte'+'nance,\x20d'+_0x4e3fc1(0x1f9)+'y\x20update'+_0x4e3fc1(0x27c)+_0x4e3fc1(0x263)+_0x4e3fc1(0x289)+'–\x20docume'+_0x4e3fc1(0x2d3)+_0x4e3fc1(0x131)+'\x20refacto'+_0x4e3fc1(0x10d)+'\x20restruc'+'turing\x20w'+_0x4e3fc1(0x2bf)+_0x4e3fc1(0x285)+_0x4e3fc1(0x10a)+_0x4e3fc1(0x177)+_0x4e3fc1(0x119)+_0x4e3fc1(0x162)+_0x4e3fc1(0x13a)+_0x4e3fc1(0x22b)+_0x4e3fc1(0x215)+_0x4e3fc1(0x20f)+_0x4e3fc1(0x2c6)+_0x4e3fc1(0x1ba)+_0x4e3fc1(0x2bc)+'aningful'+_0x4e3fc1(0x284)+_0x4e3fc1(0x102)+'s\x20(e.g.\x20'+'\x22add\x22,\x20\x22'+_0x4e3fc1(0x230)+_0x4e3fc1(0x1ab)+_0x4e3fc1(0x1fc)+_0x4e3fc1(0x1c4)+_0x4e3fc1(0x26a)+_0x4e3fc1(0x127)+_0x4e3fc1(0x1f0)+_0x4e3fc1(0x25a)+_0x4e3fc1(0x13d)+'ranch\x20na'+_0x4e3fc1(0x1db)+_0x4e3fc1(0x189)+'on\x0a\x0aDesc'+'ription:'+_0x4e3fc1(0x1d8)+_0x4e3fc1(0x269),'pr':_0x4e3fc1(0x16c)+_0x4e3fc1(0x209)+'\x20enginee'+_0x4e3fc1(0x2cc)+_0x4e3fc1(0x231)+_0x4e3fc1(0x1d0)+_0x4e3fc1(0x20b)+_0x4e3fc1(0x21d)+_0x4e3fc1(0x10f)+_0x4e3fc1(0x25f)+'.\x0a\x0aBased'+_0x4e3fc1(0x113)+_0x4e3fc1(0x244)+_0x4e3fc1(0x150)+_0x4e3fc1(0x25b)+_0x4e3fc1(0x25d)+_0x4e3fc1(0x229)+_0x4e3fc1(0x157)+_0x4e3fc1(0x11b)+_0x4e3fc1(0x1c5)+_0x4e3fc1(0x1b0)+_0x4e3fc1(0x1d6)+_0x4e3fc1(0x2d4)+_0x4e3fc1(0x1de)+'e\x20from\x20t'+_0x4e3fc1(0x1b3)+'diff;\x20tr'+_0x4e3fc1(0x18a)+'it\x20messa'+'ges\x20as\x20h'+_0x4e3fc1(0x14d)+'y\x0a\x20\x20Form'+'at:\x20<typ'+_0x4e3fc1(0x2b7)+_0x4e3fc1(0x281)+_0x4e3fc1(0x219)+_0x4e3fc1(0x29d)+_0x4e3fc1(0x104)+_0x4e3fc1(0x173)+'etect\x20th'+_0x4e3fc1(0x2c9)+_0x4e3fc1(0x291)+_0x4e3fc1(0x11f)+_0x4e3fc1(0x226)+'ix\x20(feat'+_0x4e3fc1(0x29c)+'gfix/,\x20h'+_0x4e3fc1(0x2d7)+_0x4e3fc1(0x1e6)+')\x20and\x20re'+_0x4e3fc1(0x203)+_0x4e3fc1(0x201)+_0x4e3fc1(0x2c8)+_0x4e3fc1(0x223)+_0x4e3fc1(0x248)+_0x4e3fc1(0x1bf)+_0x4e3fc1(0x280)+_0x4e3fc1(0x2b2)+_0x4e3fc1(0x19a)+'ted\x0a-\x20Pr'+_0x4e3fc1(0x21b)+_0x4e3fc1(0x287)+_0x4e3fc1(0x294)+_0x4e3fc1(0x12d)+_0x4e3fc1(0x27a)+'mmit\x20mes'+'sages\x20wh'+_0x4e3fc1(0x23e)+'conflict'+'\x0a-\x20Do\x20no'+'t\x20invent'+_0x4e3fc1(0x141)+_0x4e3fc1(0x1c1)+_0x4e3fc1(0x172)+'\x20the\x20dif'+_0x4e3fc1(0x2d2)+_0x4e3fc1(0x1ff)+'ory\x0a-\x20Te'+_0x4e3fc1(0x19d)+_0x4e3fc1(0x152)+'ist\x20conc'+_0x4e3fc1(0x2ac)+_0x4e3fc1(0x282)+_0x4e3fc1(0x26f)+_0x4e3fc1(0x296)+'eric\x20pla'+_0x4e3fc1(0x1b5)+_0x4e3fc1(0x227)+_0x4e3fc1(0x273)+'the\x20stru'+'cture\x20be'+_0x4e3fc1(0x193)+_0x4e3fc1(0x240)+_0x4e3fc1(0x26e)+'\x0a\x0aTITLE:'+'\x20<title>'+_0x4e3fc1(0x21e)+_0x4e3fc1(0x220)+_0x4e3fc1(0x11d)+_0x4e3fc1(0x14b)+_0x4e3fc1(0x2d9)+_0x4e3fc1(0x1b9)+'changed\x20'+'and\x20why>'+_0x4e3fc1(0x106)+_0x4e3fc1(0x144)+_0x4e3fc1(0x132)+_0x4e3fc1(0x224)+'oncrete\x20'+_0x4e3fc1(0x153)+_0x4e3fc1(0x1ad)+_0x4e3fc1(0x2d5)+_0x4e3fc1(0x214)+'levant>\x0a'+'\x0a##\x20Test'+'ing\x0a<che'+_0x4e3fc1(0x122)+'f\x20steps\x20'+_0x4e3fc1(0x2a5)+_0x4e3fc1(0x1d1)+'ange>\x0a\x0aB'+_0x4e3fc1(0x1b8)+_0x4e3fc1(0x111)+_0x4e3fc1(0x1cb)+_0x4e3fc1(0x2a0),'changelog':_0x4e3fc1(0x156)+_0x4e3fc1(0x2a2)+'eiro\x20sên'+'ior\x20gera'+'ndo\x20um\x20C'+_0x4e3fc1(0x2b3)+_0x4e3fc1(0x265)+'ional\x20em'+_0x4e3fc1(0x2a1)+_0x4e3fc1(0x1a8)+_0x4e3fc1(0x18e)+'iga\x20o\x20pa'+_0x4e3fc1(0x2cd)+_0x4e3fc1(0x175)+_0x4e3fc1(0x232)+_0x4e3fc1(0x295)+_0x4e3fc1(0x264)+_0x4e3fc1(0x1ed)+_0x4e3fc1(0x167)+_0x4e3fc1(0x155)+'\x20GitFlow'+_0x4e3fc1(0x17a)+_0x4e3fc1(0x179)+_0x4e3fc1(0x14e)+_0x4e3fc1(0x245)+_0x4e3fc1(0x2b8)+_0x4e3fc1(0x15d)+_0x4e3fc1(0x147)+_0x4e3fc1(0x1f5)+_0x4e3fc1(0x261)+'a\x20nos\x20co'+'mmits\x20de'+'\x20release'+_0x4e3fc1(0x1b6)+'gorias\x20p'+'ermitida'+'s\x20—\x20incl'+_0x4e3fc1(0x2b1)+_0x4e3fc1(0x2ab)+'\x20tiverem'+_0x4e3fc1(0x110)+'s:\x0a\x20\x20\x20\x20#'+_0x4e3fc1(0x239)+_0x4e3fc1(0x272)+_0x4e3fc1(0x183)+'\x20funcion'+_0x4e3fc1(0x14c)+_0x4e3fc1(0x1eb)+_0x4e3fc1(0x275)+'o\x20\x20\x20\x20\x20\x20–'+_0x4e3fc1(0x2d0)+_0x4e3fc1(0x2d1)+'cionalid'+_0x4e3fc1(0x1d3)+_0x4e3fc1(0x1f6)+'\x20\x20\x20\x20###\x20'+_0x4e3fc1(0x169)+'o\x20\x20\x20\x20\x20–\x20'+_0x4e3fc1(0x225)+_0x4e3fc1(0x159)+'s\x0a\x20\x20\x20\x20##'+_0x4e3fc1(0x145)+_0x4e3fc1(0x176)+'–\x20funcio'+_0x4e3fc1(0x151)+_0x4e3fc1(0x1bb)+_0x4e3fc1(0x1a7)+_0x4e3fc1(0x276)+_0x4e3fc1(0x1df)+_0x4e3fc1(0x187)+_0x4e3fc1(0x24d)+_0x4e3fc1(0x205)+'adas\x20par'+_0x4e3fc1(0x17b)+'o\x20futura'+'\x0a\x20\x20\x20\x20###'+_0x4e3fc1(0x2b5)+_0x4e3fc1(0x161)+_0x4e3fc1(0x2aa)+_0x4e3fc1(0x101)+_0x4e3fc1(0x242)+_0x4e3fc1(0x24e)+_0x4e3fc1(0x1aa)+_0x4e3fc1(0x25e)+_0x4e3fc1(0x18f)+_0x4e3fc1(0x266)+_0x4e3fc1(0x1a9)+_0x4e3fc1(0x28c)+_0x4e3fc1(0x299)+_0x4e3fc1(0x212)+'\x20as\x20entr'+_0x4e3fc1(0x21f)+_0x4e3fc1(0x29e)+_0x4e3fc1(0x25c)+'mensagen'+_0x4e3fc1(0x126)+_0x4e3fc1(0x1ee)+_0x4e3fc1(0x165)+_0x4e3fc1(0x2d0)+_0x4e3fc1(0x137)+_0x4e3fc1(0x1c2)+'nal\x20uma\x20'+_0x4e3fc1(0x1ea)+_0x4e3fc1(0x221)+_0x4e3fc1(0x2a9)+_0x4e3fc1(0x22d)+_0x4e3fc1(0x12e)+_0x4e3fc1(0x1f8)+'s\x0a-\x20Reto'+_0x4e3fc1(0x23a)+'as\x20o\x20mar'+_0x4e3fc1(0x297)+'em\x20expli'+_0x4e3fc1(0x12a)+_0x4e3fc1(0x128)+'s\x0a\x0aHistó'+_0x4e3fc1(0x1ec)+_0x4e3fc1(0x178)+_0x4e3fc1(0x2c0)+'commit_l'+_0x4e3fc1(0x1b4)+'ommits):'+_0x4e3fc1(0x1fd)+_0x4e3fc1(0x27b)+'y}}','log':_0x4e3fc1(0x156)+_0x4e3fc1(0x2a2)+_0x4e3fc1(0x16b)+_0x4e3fc1(0x140)+_0x4e3fc1(0x18d)+_0x4e3fc1(0x1b7)+'\x20de\x20um\x20b'+_0x4e3fc1(0x22c)+_0x4e3fc1(0x15e)+_0x4e3fc1(0x2a1)+_0x4e3fc1(0x1a8)+_0x4e3fc1(0x16a)+_0x4e3fc1(0x204)+'\x20Identif'+_0x4e3fc1(0x107)+_0x4e3fc1(0x27e)+'ranch\x20(f'+_0x4e3fc1(0x279)+'bugfix,\x20'+_0x4e3fc1(0x136)+_0x4e3fc1(0x148)+'\x20pelo\x20no'+'me\x20e\x20pel'+_0x4e3fc1(0x202)+'to\x0a-\x20Est'+_0x4e3fc1(0x22e)+'brigatór'+_0x4e3fc1(0x28d)+_0x4e3fc1(0x1f2)+_0x4e3fc1(0x2c4)+_0x4e3fc1(0x1fe)+_0x4e3fc1(0x257)+_0x4e3fc1(0x2bb)+_0x4e3fc1(0x1a4)+_0x4e3fc1(0x18b)+_0x4e3fc1(0x198)+_0x4e3fc1(0x19b)+_0x4e3fc1(0x1d4)+_0x4e3fc1(0x1dc)+'es)\x20desc'+_0x4e3fc1(0x2d8)+_0x4e3fc1(0x1e5)+_0x4e3fc1(0x134)+_0x4e3fc1(0x286)+_0x4e3fc1(0x21a)+'sta\x20de\x20b'+_0x4e3fc1(0x2b6)+'om\x20as\x20pr'+_0x4e3fc1(0x251)+_0x4e3fc1(0x2d0)+_0x4e3fc1(0x163)+'as\x0a-\x20Der'+_0x4e3fc1(0x171)+'sumo\x20do\x20'+_0x4e3fc1(0x1bc)+_0x4e3fc1(0x24c)+_0x4e3fc1(0x241)+'ensagens'+_0x4e3fc1(0x2c7)+_0x4e3fc1(0x142)+_0x4e3fc1(0x22f)+_0x4e3fc1(0x170)+_0x4e3fc1(0x1b2)+_0x4e3fc1(0x129)+'s,\x20arqui'+_0x4e3fc1(0x2a4)+_0x4e3fc1(0x1cc)+'specífic'+'os\x20quand'+_0x4e3fc1(0x186)+_0x4e3fc1(0x29b)+_0x4e3fc1(0x20e)+_0x4e3fc1(0x125)+_0x4e3fc1(0x216)+'ontexto\x20'+_0x4e3fc1(0x17e)+_0x4e3fc1(0x1fb)+_0x4e3fc1(0x24b)+_0x4e3fc1(0x29a)+_0x4e3fc1(0x1e8)+_0x4e3fc1(0x185)+'branch\x20e'+_0x4e3fc1(0x2cb)+_0x4e3fc1(0x108)+'merge\x22,\x20'+_0x4e3fc1(0x1ca)+_0x4e3fc1(0x168)+_0x4e3fc1(0x255)+_0x4e3fc1(0x1c0)+_0x4e3fc1(0x290)+'ext}}'};export function getPromptsDir(){const _0x239954=_0x4e3fc1,_0xebc631={'HXktY':_0x239954(0x28f),'VfTnm':function(_0x3315aa,_0x5eac4e,_0x2a8703,_0x1c6c0b){return _0x3315aa(_0x5eac4e,_0x2a8703,_0x1c6c0b);},'rFRqM':function(_0x347d8a){return _0x347d8a();},'RQEtG':_0x239954(0x238),'OBjMK':function(_0x23b166,_0x3f7c73){return _0x23b166===_0x3f7c73;},'UtVqE':_0x239954(0x1c9),'klcIS':function(_0x3034da,_0x457b79,_0x178cfe,_0x399153,_0x4cfeab,_0x2d4fa6){return _0x3034da(_0x457b79,_0x178cfe,_0x399153,_0x4cfeab,_0x2d4fa6);},'AHXzV':_0x239954(0x2d6),'pifjG':_0x239954(0x10e),'dsGEm':_0x239954(0x288),'MVtaN':_0x239954(0x2c3)};if(process[_0x239954(0x1e2)]===_0xebc631[_0x239954(0x260)])return _0xebc631['VfTnm'](join,process.env.APPDATA||join(_0xebc631[_0x239954(0x105)](homedir),_0xebc631['RQEtG']),'gemit',_0x239954(0x10e));if(_0xebc631[_0x239954(0x1ce)](process[_0x239954(0x1e2)],_0xebc631[_0x239954(0x14f)]))return _0xebc631[_0x239954(0x17d)](join,_0xebc631['rFRqM'](homedir),_0xebc631[_0x239954(0xff)],_0x239954(0x13e)+'ion\x20Supp'+'ort','gemit',_0xebc631[_0x239954(0x1ac)]);return join(process.env.XDG_CONFIG_HOME||join(_0xebc631['rFRqM'](homedir),_0xebc631['dsGEm']),_0xebc631[_0x239954(0x1a6)],_0xebc631[_0x239954(0x1ac)]);}const LANGUAGE_INSTRUCTIONS={'pt-br':{'commit':_0x4e3fc1(0x1e3)+_0x4e3fc1(0x15b)+_0x4e3fc1(0x1c6)+'o\x20Brasil'+'.','branch':_0x4e3fc1(0x1e3)+_0x4e3fc1(0x15b)+_0x4e3fc1(0x1c6)+_0x4e3fc1(0x213)+'.','pr':_0x4e3fc1(0x1e3)+_0x4e3fc1(0x15b)+_0x4e3fc1(0x1c6)+_0x4e3fc1(0x213)+_0x4e3fc1(0x1c7)+_0x4e3fc1(0x118)+'ição\x20em\x20'+_0x4e3fc1(0x1ef)+'s.'}};export function loadPrompt(_0x32b4ce){const _0x4f5e8d=_0x4e3fc1,_0x42631d={'RfOqZ':function(_0x1ee2c7){return _0x1ee2c7();},'vzXeY':function(_0x1854d5,_0x2550c2,_0x290aa2){return _0x1854d5(_0x2550c2,_0x290aa2);},'swWhs':function(_0x499dd5,_0xe47df4){return _0x499dd5(_0xe47df4);},'ayNuU':'utf8'},_0x1b2a63=_0x42631d['RfOqZ'](getPromptsDir),_0x179fb1=_0x42631d[_0x4f5e8d(0x250)](join,_0x1b2a63,_0x32b4ce+'.txt');let _0x5546f7;if(_0x42631d[_0x4f5e8d(0x1be)](existsSync,_0x179fb1)){const _0x3e878c=_0x42631d[_0x4f5e8d(0x250)](readFileSync,_0x179fb1,_0x42631d[_0x4f5e8d(0x249)])[_0x4f5e8d(0x192)]();_0x5546f7=_0x3e878c||DEFAULT_PROMPTS[_0x32b4ce];}else _0x5546f7=DEFAULT_PROMPTS[_0x32b4ce];const _0x499570=(process.env.GEMIT_LANGUAGE||'en')[_0x4f5e8d(0x19c)+'ase']()[_0x4f5e8d(0x192)](),_0x132bdb=LANGUAGE_INSTRUCTIONS[_0x499570];return _0x132bdb?.[_0x32b4ce]&&(_0x5546f7=_0x5546f7+_0x132bdb[_0x32b4ce]),_0x5546f7;}export function interpolate(_0x2db00a,_0x2ba383){const _0x562112=_0x4e3fc1;return _0x2db00a[_0x562112(0x2c1)](/\{\{(\w+)\}\}/g,(_0x5172c5,_0x1f3cc7)=>_0x2ba383[_0x1f3cc7]??'{{'+_0x1f3cc7+'}}');}export function initGlobalPrompts(_0x4f01a5=![]){const _0x5c0ca7=_0x4e3fc1,_0x4b610e={'MKYWn':function(_0xa3815,_0x144ddc){return _0xa3815+_0x144ddc;},'HJgaE':function(_0x432b95){return _0x432b95();},'SshSi':function(_0x359350,_0x4f320b,_0x201d86){return _0x359350(_0x4f320b,_0x201d86);},'oipBw':function(_0x471e67,_0xeca31f){return _0x471e67!==_0xeca31f;},'nmIcF':function(_0x50a65c,_0x438b72){return _0x50a65c(_0x438b72);},'WrqIY':function(_0x321b4f,_0x5a1444,_0x19ca2a,_0x19651b){return _0x321b4f(_0x5a1444,_0x19ca2a,_0x19651b);},'qaRgM':'utf8'},_0x4ccc12=_0x4b610e[_0x5c0ca7(0x2c5)](getPromptsDir);_0x4b610e['SshSi'](mkdirSync,_0x4ccc12,{'recursive':!![]});const _0x327f43=[];for(const _0x1ba1d5 of PROMPT_NAMES){if(_0x4b610e['oipBw'](_0x5c0ca7(0x283),'ymwla')){const _0x2db59b=_0x4b610e[_0x5c0ca7(0x1a3)](join,_0x4ccc12,_0x1ba1d5+'.txt');(!_0x4b610e[_0x5c0ca7(0x2c2)](existsSync,_0x2db59b)||_0x4f01a5)&&(_0x4b610e['WrqIY'](writeFileSync,_0x2db59b,DEFAULT_PROMPTS[_0x1ba1d5]+'\x0a',_0x4b610e[_0x5c0ca7(0x15c)]),_0x327f43[_0x5c0ca7(0x10c)](_0x2db59b));}else _0x255f65=qQHYdy['MKYWn'](_0x2e4be8,_0xf94c7b[_0x4ba64d]);}return _0x327f43;}
|
|
1
|
+
const _0x521dcd=_0x322a;(function(_0x564efa,_0x58bbc8){const _0x54119a=_0x322a,_0x243bce=_0x564efa();while(!![]){try{const _0x4ab2a8=parseInt(_0x54119a(0x382))/0x1+-parseInt(_0x54119a(0x340))/0x2+parseInt(_0x54119a(0x28f))/0x3*(-parseInt(_0x54119a(0x245))/0x4)+parseInt(_0x54119a(0x1b5))/0x5+parseInt(_0x54119a(0x303))/0x6*(-parseInt(_0x54119a(0x25f))/0x7)+-parseInt(_0x54119a(0x2bc))/0x8+parseInt(_0x54119a(0x259))/0x9;if(_0x4ab2a8===_0x58bbc8)break;else _0x243bce['push'](_0x243bce['shift']());}catch(_0x38db2d){_0x243bce['push'](_0x243bce['shift']());}}}(_0x2f40,0x3d44d));const _0x5796fc=(function(){let _0xb2d745=!![];return function(_0xe2dea4,_0x3c4703){const _0x1e7b48=_0xb2d745?function(){const _0x26fd5b=_0x322a;if(_0x3c4703){const _0x5573ac=_0x3c4703[_0x26fd5b(0x1ca)](_0xe2dea4,arguments);return _0x3c4703=null,_0x5573ac;}}:function(){};return _0xb2d745=![],_0x1e7b48;};}()),_0x552e6c=_0x5796fc(this,function(){const _0x34cc82=_0x322a;return _0x552e6c[_0x34cc82(0x1ef)]()[_0x34cc82(0x267)](_0x34cc82(0x36b)+_0x34cc82(0x2dd))['toString']()[_0x34cc82(0x22f)+_0x34cc82(0x2b6)](_0x552e6c)[_0x34cc82(0x267)](_0x34cc82(0x36b)+_0x34cc82(0x2dd));});_0x552e6c();import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const PROMPT_NAMES=[_0x521dcd(0x1a8),_0x521dcd(0x346),'pr',_0x521dcd(0x224)+'g',_0x521dcd(0x2a5)];function _0x322a(_0x49800a,_0x31a283){_0x49800a=_0x49800a-0x1a3;const _0x96ce39=_0x2f40();let _0x552e6c=_0x96ce39[_0x49800a];return _0x552e6c;}export const DEFAULT_PROMPTS={'commit':_0x521dcd(0x2ce)+_0x521dcd(0x33d)+'\x20enginee'+_0x521dcd(0x2bf)+_0x521dcd(0x1d2)+'entional'+'\x20Commit\x20'+_0x521dcd(0x1e7)+'for\x20a\x20Gi'+_0x521dcd(0x327)+_0x521dcd(0x2cc)+_0x521dcd(0x1f5)+_0x521dcd(0x3a0)+_0x521dcd(0x1e4)+_0x521dcd(0x1d9)+_0x521dcd(0x1bd)+_0x521dcd(0x372)+_0x521dcd(0x27c)+_0x521dcd(0x27b)+_0x521dcd(0x1ba)+'type}}\x22\x20'+_0x521dcd(0x1f9)+_0x521dcd(0x320)+'clearly\x20'+_0x521dcd(0x376)+_0x521dcd(0x251)+_0x521dcd(0x1f6)+_0x521dcd(0x2fb)+'feat\x20\x20\x20\x20'+_0x521dcd(0x1de)+_0x521dcd(0x212)+'y\x20or\x20beh'+'avior\x0a\x20\x20'+_0x521dcd(0x25a)+_0x521dcd(0x234)+'rects\x20a\x20'+'bug\x20or\x20r'+_0x521dcd(0x1e2)+_0x521dcd(0x386)+_0x521dcd(0x26d)+'\x20restruc'+_0x521dcd(0x24f)+_0x521dcd(0x2e3)+'ut\x20chang'+_0x521dcd(0x34d)+'vior\x0a\x20\x20\x20'+_0x521dcd(0x1bb)+_0x521dcd(0x36a)+_0x521dcd(0x1fe)+'formance'+'\x0a\x20\x20\x20\x20tes'+_0x521dcd(0x20f)+'adds\x20or\x20'+_0x521dcd(0x395)+_0x521dcd(0x2b2)+_0x521dcd(0x282)+_0x521dcd(0x35e)+_0x521dcd(0x257)+_0x521dcd(0x379)+'\x0a\x20\x20\x20\x20cho'+_0x521dcd(0x32a)+_0x521dcd(0x1e1)+_0x521dcd(0x294)+'ependenc'+_0x521dcd(0x2a6)+'ling\x0a\x20\x20\x20'+'\x20ci\x20\x20\x20\x20\x20'+_0x521dcd(0x2e1)+_0x521dcd(0x32c)+_0x521dcd(0x399)+_0x521dcd(0x1a9)+_0x521dcd(0x2c0)+_0x521dcd(0x1d5)+_0x521dcd(0x305)+_0x521dcd(0x2be)+_0x521dcd(0x2f9)+'ic\x20chang'+_0x521dcd(0x328)+_0x521dcd(0x29d)+_0x521dcd(0x30d)+_0x521dcd(0x33c)+'ary\x20modu'+_0x521dcd(0x312)+'ctory,\x20o'+_0x521dcd(0x1ce)+_0x521dcd(0x292)+_0x521dcd(0x26a)+_0x521dcd(0x354)+_0x521dcd(0x311)+'b)\x0a\x20\x20Omi'+_0x521dcd(0x357)+_0x521dcd(0x38c)+_0x521dcd(0x39f)+_0x521dcd(0x285)+_0x521dcd(0x216)+_0x521dcd(0x36d)+'ing\x0a-\x20Su'+'bject:\x20i'+_0x521dcd(0x203)+_0x521dcd(0x1a7)+_0x521dcd(0x34a)+_0x521dcd(0x364)+_0x521dcd(0x37c)+_0x521dcd(0x314)+_0x521dcd(0x30b)+_0x521dcd(0x25d)+_0x521dcd(0x2b0)+_0x521dcd(0x361)+_0x521dcd(0x344)+_0x521dcd(0x1b8)+'ot\x20simpl'+_0x521dcd(0x39e)+_0x521dcd(0x22b)+_0x521dcd(0x233)+_0x521dcd(0x228)+_0x521dcd(0x2f4)+'n\x20ONLY\x20t'+'he\x20commi'+_0x521dcd(0x330)+'e\x20line,\x20'+'no\x20expla'+'nation,\x20'+_0x521dcd(0x331)+_0x521dcd(0x231)+_0x521dcd(0x1b2)+(_0x521dcd(0x296)+'staged_f'+'iles}}\x0a\x0a'+_0x521dcd(0x241)+_0x521dcd(0x1be)+_0x521dcd(0x222)+_0x521dcd(0x2ed)+_0x521dcd(0x35a)+_0x521dcd(0x307)+_0x521dcd(0x2a3)+'tch\x20exce'+'rpt:\x0a{{p'+_0x521dcd(0x351)),'branch':_0x521dcd(0x2ce)+_0x521dcd(0x2af)+_0x521dcd(0x2aa)+_0x521dcd(0x2d8)+_0x521dcd(0x389)+_0x521dcd(0x1a3)+'w\x20conven'+_0x521dcd(0x3a1)+_0x521dcd(0x37e)+_0x521dcd(0x2e9)+'<type>/<'+'kebab-ca'+_0x521dcd(0x23f)+_0x521dcd(0x2e6)+'-\x20GitFlo'+_0x521dcd(0x326)+_0x521dcd(0x2ef)+_0x521dcd(0x2a0)+'ure\x20\x20–\x20n'+'ew\x20featu'+'re\x20to\x20be'+'\x20merged\x20'+_0x521dcd(0x324)+_0x521dcd(0x1f8)+_0x521dcd(0x2ca)+_0x521dcd(0x2c3)+_0x521dcd(0x262)+_0x521dcd(0x1f7)+_0x521dcd(0x2a7)+'velop\x0a\x20\x20'+_0x521dcd(0x2d5)+'\x20\x20\x20–\x20urg'+_0x521dcd(0x2c7)+_0x521dcd(0x2e2)+'ix\x20to\x20be'+_0x521dcd(0x2ee)+_0x521dcd(0x21b)+_0x521dcd(0x280)+_0x521dcd(0x2c2)+'\x20\x20releas'+'e\x20\x20–\x20rel'+'ease\x20pre'+'paration'+_0x521dcd(0x2fd)+_0x521dcd(0x2eb)+_0x521dcd(0x226)+_0x521dcd(0x2e7)+_0x521dcd(0x1e5)+_0x521dcd(0x318)+_0x521dcd(0x336)+_0x521dcd(0x2cf)+_0x521dcd(0x29c)+'–\x20mainte'+_0x521dcd(0x349)+_0x521dcd(0x2fc)+_0x521dcd(0x1d4)+_0x521dcd(0x32f)+_0x521dcd(0x244)+_0x521dcd(0x34f)+_0x521dcd(0x225)+'ntation\x20'+'only\x0a\x20\x20\x20'+_0x521dcd(0x390)+'r\x20–\x20code'+_0x521dcd(0x310)+_0x521dcd(0x22d)+_0x521dcd(0x1e9)+_0x521dcd(0x2f7)+_0x521dcd(0x387)+_0x521dcd(0x1b1)+'\x20\x20\x20\x20–\x20te'+_0x521dcd(0x2ec)+_0x521dcd(0x2c5)+_0x521dcd(0x30a)+_0x521dcd(0x34c)+_0x521dcd(0x2c8)+_0x521dcd(0x2b9)+_0x521dcd(0x335)+_0x521dcd(0x392)+_0x521dcd(0x283)+',\x20no\x20fil'+'ler\x20word'+_0x521dcd(0x1ec)+_0x521dcd(0x2d4)+'update\x22,'+'\x20\x22do\x22)\x0a-'+'\x20Maximum'+_0x521dcd(0x341)+_0x521dcd(0x2b5)+_0x521dcd(0x249)+_0x521dcd(0x20c)+_0x521dcd(0x2e8)+_0x521dcd(0x31f)+_0x521dcd(0x1d1)+_0x521dcd(0x263)+_0x521dcd(0x258)+_0x521dcd(0x1af)+_0x521dcd(0x1bc)+'\x0a{{descr'+_0x521dcd(0x377),'pr':_0x521dcd(0x2ce)+_0x521dcd(0x33d)+_0x521dcd(0x35f)+_0x521dcd(0x2bf)+_0x521dcd(0x28a)+_0x521dcd(0x2c9)+_0x521dcd(0x1c3)+_0x521dcd(0x39b)+_0x521dcd(0x327)+'pository'+_0x521dcd(0x1fd)+_0x521dcd(0x21e)+_0x521dcd(0x2f0)+_0x521dcd(0x338)+'w,\x20produ'+_0x521dcd(0x287)+_0x521dcd(0x27f)+_0x521dcd(0x29b)+_0x521dcd(0x1c4)+_0x521dcd(0x31a)+_0x521dcd(0x255)+_0x521dcd(0x306)+_0x521dcd(0x1d3)+'):\x20deriv'+_0x521dcd(0x1f2)+_0x521dcd(0x250)+'diff;\x20tr'+_0x521dcd(0x24a)+_0x521dcd(0x230)+_0x521dcd(0x1aa)+'ints\x20onl'+_0x521dcd(0x20e)+_0x521dcd(0x1e4)+_0x521dcd(0x369)+_0x521dcd(0x2c1)+_0x521dcd(0x1b6)+'\x20in\x20impe'+'rative\x20m'+_0x521dcd(0x202)+_0x521dcd(0x2e0)+_0x521dcd(0x217)+_0x521dcd(0x290)+'om\x20the\x20n'+_0x521dcd(0x2ba)+_0x521dcd(0x25b)+_0x521dcd(0x210)+_0x521dcd(0x1f0)+_0x521dcd(0x21d)+_0x521dcd(0x396)+_0x521dcd(0x2ac)+'flect\x20it'+_0x521dcd(0x367)+_0x521dcd(0x38b)+'name\x20the'+_0x521dcd(0x2cb)+_0x521dcd(0x1cd)+_0x521dcd(0x291)+_0x521dcd(0x37a)+_0x521dcd(0x298)+'ted\x0a-\x20Pr'+_0x521dcd(0x286)+_0x521dcd(0x2dc)+_0x521dcd(0x32b)+_0x521dcd(0x260)+_0x521dcd(0x31b)+'mmit\x20mes'+_0x521dcd(0x1a5)+_0x521dcd(0x1ac)+_0x521dcd(0x1ad)+_0x521dcd(0x207)+'t\x20invent'+_0x521dcd(0x1ae)+'r\x20not\x20vi'+'sible\x20in'+_0x521dcd(0x397)+_0x521dcd(0x358)+_0x521dcd(0x34e)+_0x521dcd(0x229)+'sting\x20se'+_0x521dcd(0x353)+'ist\x20conc'+_0x521dcd(0x1e0)+_0x521dcd(0x2ae)+_0x521dcd(0x337)+_0x521dcd(0x227)+_0x521dcd(0x2f6)+_0x521dcd(0x2f5)+_0x521dcd(0x1a4)+_0x521dcd(0x38a)+'the\x20stru'+'cture\x20be'+_0x521dcd(0x1d6)+_0x521dcd(0x28b)+_0x521dcd(0x31e)+_0x521dcd(0x37f)+_0x521dcd(0x1c6)+'\x0aDESCRIP'+'TION:\x0a##'+_0x521dcd(0x26b)+_0x521dcd(0x281)+_0x521dcd(0x375)+_0x521dcd(0x20a)+_0x521dcd(0x37b)+_0x521dcd(0x252)+'\x0a\x0a##\x20Cha'+'nges\x0a<bu'+_0x521dcd(0x1df)+_0x521dcd(0x30f)+_0x521dcd(0x24e)+_0x521dcd(0x37d)+'\x20grouped'+'\x20by\x20area'+_0x521dcd(0x359)+'levant>\x0a'+_0x521dcd(0x308)+_0x521dcd(0x1e8)+_0x521dcd(0x355)+_0x521dcd(0x1dc)+_0x521dcd(0x345)+_0x521dcd(0x388)+'ange>\x0a\x0aB'+_0x521dcd(0x23a)+_0x521dcd(0x1b4)+_0x521dcd(0x32d)+'a}}','changelog':_0x521dcd(0x211)+_0x521dcd(0x247)+'eiro\x20sên'+_0x521dcd(0x221)+'ndo\x20um\x20C'+_0x521dcd(0x289)+_0x521dcd(0x2e5)+_0x521dcd(0x23d)+'\x20portugu'+_0x521dcd(0x393)+'asil.\x0a\x0aS'+_0x521dcd(0x254)+'drão\x20Kee'+'p\x20a\x20Chan'+_0x521dcd(0x20d)+'ttps://k'+'eepachan'+_0x521dcd(0x284)+_0x521dcd(0x2b4)+'ado\x20para'+_0x521dcd(0x1da)+_0x521dcd(0x246)+_0x521dcd(0x1eb)+_0x521dcd(0x1c7)+_0x521dcd(0x2c6)+_0x521dcd(0x315)+':\x20{{new_'+_0x521dcd(0x2ff)+_0x521dcd(0x253)+_0x521dcd(0x38f)+_0x521dcd(0x2d9)+'\x20base):\x20'+'{{from_t'+_0x521dcd(0x362)+'ntervalo'+_0x521dcd(0x264)+'do:\x20{{ra'+_0x521dcd(0x21c)+'l}}\x0a-\x20To'+'tal\x20de\x20c'+_0x521dcd(0x2ea)+_0x521dcd(0x1dd)+_0x521dcd(0x329)+_0x521dcd(0x2ab)+_0x521dcd(0x2d0)+'\x0a\x0aRegras'+_0x521dcd(0x238)+'S:\x0a-\x20Doc'+'umente\x20A'+_0x521dcd(0x394)+'\x20mudança'+_0x521dcd(0x1b3)+'as\x20nos\x20c'+_0x521dcd(0x36e)+_0x521dcd(0x370)+_0x521dcd(0x1b7)+_0x521dcd(0x256)+_0x521dcd(0x21a)+_0x521dcd(0x2b8)+'e\x20não\x20es'+_0x521dcd(0x223)+_0x521dcd(0x2a8)+_0x521dcd(0x270)+'e\x20interv'+_0x521dcd(0x1fb)+_0x521dcd(0x208)+_0x521dcd(0x302)+'mero\x20de\x20'+_0x521dcd(0x304)+'for\x20pequ'+'eno,\x20o\x20c'+_0x521dcd(0x2b7)+'\x20deve\x20se'+_0x521dcd(0x300)+_0x521dcd(0x2b1)+_0x521dcd(0x35b)+_0x521dcd(0x301)+_0x521dcd(0x319)+'alho:\x20##'+_0x521dcd(0x1c5)+_0x521dcd(0x2ff)+'}]\x20—\x20use'+'\x20a\x20data\x20'+'do\x20commi'+'t\x20mais\x20r'+_0x521dcd(0x38d)+_0x521dcd(0x295)+_0x521dcd(0x332)+'rias\x20per'+_0x521dcd(0x29f)+_0x521dcd(0x39d)+'\x20apenas\x20'+_0x521dcd(0x232)+_0x521dcd(0x1c2)+'ntradas\x20'+_0x521dcd(0x1f1)+_0x521dcd(0x27d)+'dicionad'+_0x521dcd(0x348)+_0x521dcd(0x2f8)+_0x521dcd(0x1a6)+_0x521dcd(0x240)+_0x521dcd(0x204)+_0x521dcd(0x276)+_0x521dcd(0x39c)+_0x521dcd(0x22e)+'\x20funcion'+'alidades'+_0x521dcd(0x26f)+'tes\x0a\x20\x20\x20\x20'+_0x521dcd(0x2a4)+_0x521dcd(0x334)+_0x521dcd(0x2c4)+_0x521dcd(0x243)+_0x521dcd(0x293)+_0x521dcd(0x363)+_0x521dcd(0x1e6)+'\x20\x20\x20\x20–\x20fu'+_0x521dcd(0x317)+_0x521dcd(0x24c)+_0x521dcd(0x21f)+_0x521dcd(0x2a9)+'Desconti'+_0x521dcd(0x1cf)+_0x521dcd(0x2bb)+(_0x521dcd(0x33a)+_0x521dcd(0x1ee)+_0x521dcd(0x35d)+_0x521dcd(0x1fa)+'tura\x0a\x20\x20\x20'+_0x521dcd(0x201)+_0x521dcd(0x1db)+_0x521dcd(0x234)+_0x521dcd(0x321)+_0x521dcd(0x299)+_0x521dcd(0x2cd)+_0x521dcd(0x360)+_0x521dcd(0x23b)+_0x521dcd(0x2d1)+_0x521dcd(0x2d7)+'imperati'+_0x521dcd(0x265)+_0x521dcd(0x33e)+_0x521dcd(0x1b9)+_0x521dcd(0x309)+_0x521dcd(0x29a)+'a\x20seção\x20'+'###\x20Comm'+_0x521dcd(0x385)+_0x521dcd(0x373)+_0x521dcd(0x2da)+',\x20datas\x20'+_0x521dcd(0x398)+'os\x0a-\x20Ret'+_0x521dcd(0x36c)+_0x521dcd(0x2de)+_0x521dcd(0x273)+'sem\x20expl'+_0x521dcd(0x28c)+_0x521dcd(0x1d0)+_0x521dcd(0x2b3)+'its\x20nest'+_0x521dcd(0x20b)+'alo\x20({{r'+_0x521dcd(0x269)+_0x521dcd(0x271)+'{commit_'+_0x521dcd(0x2fe)+'}\x0a\x0aDiff\x20'+_0x521dcd(0x25c)+_0x521dcd(0x272)+'t}}'),'log':_0x521dcd(0x211)+'m\x20engenh'+_0x521dcd(0x33b)+_0x521dcd(0x2a2)+_0x521dcd(0x38e)+_0x521dcd(0x1c9)+'\x20de\x20um\x20b'+'ranch\x20Gi'+_0x521dcd(0x333)+_0x521dcd(0x219)+_0x521dcd(0x393)+_0x521dcd(0x1ff)+_0x521dcd(0x2a1)+_0x521dcd(0x1f4)+'ique\x20o\x20t'+_0x521dcd(0x218)+_0x521dcd(0x266)+_0x521dcd(0x2df)+_0x521dcd(0x1b0)+'hotfix,\x20'+'release)'+_0x521dcd(0x297)+_0x521dcd(0x313)+_0x521dcd(0x316)+_0x521dcd(0x339)+'rutura\x20o'+_0x521dcd(0x366)+'ia:\x0a\x20\x20\x20\x20'+_0x521dcd(0x34b)+'rase\x20de\x20'+_0x521dcd(0x278)+':\x20qual\x20e'+_0x521dcd(0x352)+'etivo\x20do'+_0x521dcd(0x200)+_0x521dcd(0x383)+_0x521dcd(0x2ad)+_0x521dcd(0x24d)+_0x521dcd(0x322)+_0x521dcd(0x32e)+_0x521dcd(0x220)+_0x521dcd(0x371)+_0x521dcd(0x381)+'entado\x0a\x20'+_0x521dcd(0x3a2)+'sta\x20de\x20b'+_0x521dcd(0x33f)+'om\x20as\x20pr'+_0x521dcd(0x23c)+_0x521dcd(0x31c)+'s\x20técnic'+_0x521dcd(0x205)+_0x521dcd(0x384)+_0x521dcd(0x368)+'diff\x20de\x20'+_0x521dcd(0x206)+_0x521dcd(0x1f3)+_0x521dcd(0x25e)+_0x521dcd(0x29e)+_0x521dcd(0x2fa)+_0x521dcd(0x30c)+'omplemen'+_0x521dcd(0x325)+_0x521dcd(0x365)+_0x521dcd(0x1cb)+_0x521dcd(0x2d6)+_0x521dcd(0x2e4)+'specífic'+_0x521dcd(0x1c8)+_0x521dcd(0x261)+_0x521dcd(0x235)+'o\x20invent'+_0x521dcd(0x22c)+_0x521dcd(0x30e)+_0x521dcd(0x26c)+_0x521dcd(0x236)+_0x521dcd(0x275)+_0x521dcd(0x374)+_0x521dcd(0x22a)+_0x521dcd(0x288)+_0x521dcd(0x343)+_0x521dcd(0x1bf)+_0x521dcd(0x350)+_0x521dcd(0x279)+_0x521dcd(0x391)+_0x521dcd(0x27e)+_0x521dcd(0x26c)+'do\x20branc'+_0x521dcd(0x23e)+'nch_cont'+'ext}}'};function _0x2f40(){const _0x4343d4=['mmary:\x0a{','branch\x20e','gemit','ion\x20Supp','iverem\x20e','Request\x20','down\x20bod','\x20[{{new_','\x20<title>','A\x20RELEAS','os\x20quand','trabalho','apply','s,\x20arqui','trim',',\x20files,','r\x20domain','nuado\x20–\x20','adiciona','ranch\x20na','g\x20a\x20Conv','72\x20chars','y\x20update','–\x20format','low,\x20no\x20','ase','FFPCz','e>(<scop','\x20GitFlow','urança\x20\x20','f\x20steps\x20','este\x20int','\x20–\x20new\x20c','lleted\x20l','rete,\x20ve','build,\x20c','egressio','ição\x20em\x20','at:\x20<typ','ions\x20a\x20v','movido\x20\x20','message\x20','ing\x0a<che','ith\x20no\x20b','FcaEn','XTO\x20DEST','s\x20(e.g.\x20','Library','marcadas','toString','gfix/,\x20h','reais:\x0a\x20','e\x20from\x20t','use\x20as\x20m','\x20Identif','.\x0a\x0aRules','erent\x20ty','e\x20merged','elop\x0a\x20\x20\x20','unless\x20t','moção\x20fu','alo\x20de\x20c','oCtZc','.\x0a\x0aBased','oves\x20per','asil.\x0a\x0aR','\x20branch\x0a','\x20###\x20Seg','ood>\x0a\x20\x20D','mperativ','\x20###\x20Alt','as\x0a-\x20Der','código;\x20','\x0a-\x20Do\x20no','ommits\x0a-','iFXZK','on\x20what\x20','e\x20interv','ters\x0a-\x20R','gelog\x20(h','y\x0a\x20\x20Form','t\x20\x20\x20\x20\x20–\x20','ure/,\x20bu','Você\x20é\x20u','apabilit','utf8','LCUSs','.\x20Título','truly\x20cr','e\x20branch','ipo\x20do\x20b','\x20portugu','mencione','into\x20mai','nge_labe','otfix/,\x20','\x20on\x20the\x20','movidas\x0a','revendo\x20','ior\x20gera','{summary','teja\x20exp','changelo','–\x20docume','descript','\x20not\x20gen','\x20subject','ory\x0a-\x20Te','onclusõe','ile\x20name','e\x20nada\x20f','turing\x20w','anças\x20em','construc','it\x20messa','fences\x0a\x0a','as\x20que\x20t','s\x20as\x20the','\x20\x20\x20–\x20cor','nte\x0a-\x20Nã','fornecid','platform','\x20CRÍTICA','VrNzA','ranch\x20da','a\x20entrad','incipais','ional\x20em','h:\x0a{{bra','se-descr','ades\x0a\x20\x20\x20','Short\x20su','MmTXe','eções\x20de','ng\x0a\x20\x20\x20\x20d','109700mOqeXl','.\x0a\x0aCONTE','m\x20engenh','prompts','0\x20charac','eat\x20comm','Applicat','dades\x20re','\x20curto\x20(','oncrete\x20','tures\x20co','he\x20code\x20','s\x20a\x20diff','and\x20why>','}\x0a-\x20Vers','iga\x20o\x20pa','s:\x0a-\x20Tit','o\x0a-\x20NÃO\x20','cumentat','xplanati','6084297dGWJjJ','\x20\x20fix\x20\x20\x20','ix\x20(feat','stat:\x0a{{','ars\x0a\x20\x20De','ensagens','2149oSuPep','ode\x20diff','o\x20releva','fix\x20to\x20b','me,\x20no\x20e','\x20analisa','va,\x20sem\x20','ranch\x20(f','search','AnzIJ','ange_lab','d\x20(e.g.\x20','\x20Summary','ontexto\x20','factor\x20–','.gemit','\x20existen','nte\x20nest','el}}):\x0a{','diff_sta','rkdown,\x20','ZZHHh','o\x0a-\x20Não\x20','erado\x20\x20\x20','o\x20Brasil','contexto','to\x20para\x20','eVwRG','ith\x20\x22{{d','\x20Start\x20w','\x20\x20\x20###\x20A','etc.)\x0a\x0aC','title\x20an','n\x20and\x20de','\x0a<1–3\x20se','\x20\x20\x20docs\x20','aningful','gelog.co','ange\x20is\x20','efer\x20evi','ce\x20a\x20PR\x20','s\x20genéri','HANGELOG','g\x20a\x20GitH','extra\x20co','icações\x20','Aceqa','darwin','3hzxTTi','\x20type\x20fr','\x20or\x20func','\x20affecte','\x20bugs\x0a\x20\x20','onfig,\x20d','a\x20lista\x0a','iles:\x0a{{','\x20pelo\x20no','st\x20affec','e\x20vulner','final\x20um','d\x20a\x20mark','hore\x20\x20\x20\x20','pe:\x20deri','\x20de\x20comm','mitidas\x20','\x20\x20\x20\x20feat','egras:\x0a-','ior\x20resu','at}}\x0a\x0aPa','###\x20Corr','log','ies,\x20too','\x20into\x20de','licitame','\x20\x20\x20\x20###\x20','\x20Git\x20bra','{{commit',')\x20and\x20re','arágrafo','rifiable','naming\x20a','rive\x20fro','o\x20—\x20não\x20','\x20tests\x0a\x20','is\x0a\x0aComm','m)\x20adapt','ength:\x205','tor','hangelog','\x20nada\x20qu','ab-case,','ame\x20pref','funciona','3709096TXcOwc','ort','itespace','r\x20writin','tyle\x20\x20\x20\x20','cise\x20des','velop\x0a\x20\x20','\x20\x20–\x20bug\x20','\x20\x20–\x20corr','\x0a-\x20Descr','E:\x0a-\x20Nov','ent\x20prod','s\x20in\x20keb','ub\x20Pull\x20','\x20bugfix\x20','\x20modules','pository','abilidad','You\x20are\x20','e)\x0a\x20\x20\x20\x20c','_count}}','a:\x20frase','wEfwq','.txt','\x22add\x22,\x20\x22','\x20\x20hotfix','vos\x20ou\x20f','\x20curta,\x20','nch\x20foll','ior\x20(tag','s\x20curtos','xkCJi','dence\x20fr','+)+$','nas\x20o\x20ma','eature,\x20','etect\x20th','\x20\x20–\x20CI/C','uction\x20f','de\x20witho','unções\x20e','\x20profiss','iption>\x0a','ion\x20ment','eturn\x20ON','Format:\x20','ommits\x20n','ly\x20when\x20','sts\x20only','}}\x0a\x0aDiff','\x20merged\x20','\x20types:\x0a','branch\x20d','MmPuN','vSbIg','\x20e\x20descr','\x0a-\x20Retur','ceholder','eric\x20pla','ehavior\x20','ovas\x20fun','\x20(no\x20log','it\x20apena','pe:\x0a\x20\x20\x20\x20','ependenc','\x20(use\x20on','history}','version}','r\x20pequen','entradas','\x20Se\x20o\x20nú','2694qLyari','commits\x20','ting,\x20wh','le\x20(max\x20','{diff_st','\x0a##\x20Test','clua\x20ao\x20','iption:\x20','ax\x2072\x20ch','s\x20como\x20c','ve\x20from\x20','ora\x20do\x20c','ist\x20of\x20c','\x20restruc','i,\x20ui,\x20d','le,\x20dire','me\x20e\x20pel','eriod,\x20m','a\x20versão','o\x20contex','ncionali','ersion\x20o','\x0a-\x20Cabeç','y.\x0a\x0aRule','\x20over\x20co','\x20mudança','toLowerC','mmentary','LY\x20the\x20b','he\x20diff\x20','reções\x20d','2–4\x20fras','tuguês\x20d','into\x20dev','to\x0a-\x20Cit','w\x20branch','tFlow\x20re','e)\x0a-\x20Sco','ervalo:\x20','re\x20\x20\x20\x20–\x20','om\x20the\x20c','D\x20pipeli','anch_dat','es)\x20desc','s,\x20tooli','t\x20messag','no\x20code\x20','-\x20Catego','tFlow\x20em','igido\x20\x20\x20','\x20specifi','r\x20releas','\x20steps\x20—','ata\x20belo','to\x0a-\x20Est','lidades\x20','eiro\x20sên','the\x20prim','a\x20senior','ponto\x20fi','ullets\x20c','646800XmbbPs','\x20total\x20l','QINVT','cas\x20(\x22o\x20','tual\x20dif','to\x20verif','branch','.config','o\x20\x20\x20\x20–\x20n','nance,\x20d','lowercas','1.\x20Uma\x20f','2–5\x20word','ing\x20beha','mit\x20hist','ocs\x20\x20\x20\x20\x20','stá\x20pron','atch}}','ra\x20o\x20obj','ction:\x20l','auth,\x20ap','cklist\x20o','ktBCF','t\x20scope\x20','f\x20or\x20com','\x20when\x20re','\x20stat:\x0a{','invente\x20','portuguê','\x20para\x20re','\x20\x20\x20\x20–\x20do','\x20enginee','es\x0a-\x20Cad','m\x20the\x20ac','ag}}\x0a-\x20I','\x20\x20###\x20Re','e,\x20no\x20tr','e\x20módulo','brigatór','\x0a-\x20Be\x20sp','sumo\x20do\x20','e>:\x20<con','\x20\x20–\x20impr','(((.+)+)','orne\x20ape','oss-cutt','ommits\x20e','snstJ','\x20diff\x20st','o\x20que\x20fo','bject>\x0a-','os\x20hashe','inclua\x20c','ntences\x20','indicate','iption}}','fzlws','ion\x20only','tions\x20mo','changed\x20','ailing\x20p','changes,','ules:\x0a-\x20','\x0a\x0aTITLE:','InjvY','i\x20implem','379809qDevjl','\x20\x20\x20\x202.\x20P','ive\x20o\x20re','its\x20com\x20','n\x0a\x20\x20\x20\x20re','change\x0a\x20','y\x20the\x20ch','owing\x20th','rn\x20ONLY\x20','ecific:\x20','only\x20whe','ecente\x20d','mindo\x20o\x20','ão\x20anter','\x20refacto','merge\x22,\x20','c\x20and\x20me','ês\x20do\x20Br','PENAS\x20as','corrects','release/','\x20the\x20dif','e\x20assunt','ne\x20chang','\x0aRespond','for\x20a\x20Gi','\x20\x20\x20–\x20mud','—\x20inclua','y\x20echo\x20f','n\x20the\x20ch',':\x0a-\x20Form','tion.\x0a\x0aR','\x20\x20\x203.\x20Li','e\x20GitFlo','s\x0a-\x20Retu','sages\x20wh','cionalid','e\x20mood,\x20','commit','es\x0a\x20\x20\x20\x20s','ges\x20as\x20h','a\x20em\x20por','en\x20they\x20','conflict','\x20behavio','on\x0a\x0aDesc','bugfix,\x20','\x20\x20\x20test\x20','Staged\x20f','s\x20contid','ta:\x0a{{br','737100gJdzEy','cription','at\x20abaix','f\x20—\x20do\x20n','nal\x0a-\x20In','etected_','\x20perf\x20\x20\x20','ription:','e>):\x20<su'];_0x2f40=function(){return _0x4343d4;};return _0x2f40();}export function getPromptsDir(){const _0x4f7b3f=_0x521dcd,_0x43e856={'FFPCz':_0x4f7b3f(0x36b)+_0x4f7b3f(0x2dd),'snstJ':function(_0x229349,_0x618178){return _0x229349===_0x618178;},'xkCJi':'win32','QINVT':function(_0x518bb9,_0x112ed7,_0x29c2b4,_0x17e6b1){return _0x518bb9(_0x112ed7,_0x29c2b4,_0x17e6b1);},'AnzIJ':function(_0x955115){return _0x955115();},'oCtZc':_0x4f7b3f(0x26e),'MmPuN':_0x4f7b3f(0x248),'InjvY':function(_0x8544f0,_0x49f8be){return _0x8544f0!==_0x49f8be;},'LCUSs':function(_0x476a94){return _0x476a94();},'fzlws':_0x4f7b3f(0x24b)+_0x4f7b3f(0x1c1)+_0x4f7b3f(0x2bd),'JxSFo':function(_0x16cdb9,_0x2a6521,_0x4d16dd){return _0x16cdb9(_0x2a6521,_0x4d16dd);},'BmqXN':_0x4f7b3f(0x347),'ktBCF':_0x4f7b3f(0x1c0)};if(_0x43e856[_0x4f7b3f(0x36f)](process[_0x4f7b3f(0x237)],_0x43e856[_0x4f7b3f(0x2db)]))return _0x43e856[_0x4f7b3f(0x342)](join,process.env.APPDATA||join(_0x43e856[_0x4f7b3f(0x268)](homedir),_0x43e856[_0x4f7b3f(0x1fc)]),_0x4f7b3f(0x1c0),_0x43e856[_0x4f7b3f(0x2f1)]);if(process['platform']===_0x4f7b3f(0x28e))return _0x43e856[_0x4f7b3f(0x380)](_0x4f7b3f(0x1ea),'qhYCz')?join(_0x43e856[_0x4f7b3f(0x214)](homedir),_0x4f7b3f(0x1ed),_0x43e856[_0x4f7b3f(0x378)],'gemit',_0x43e856['MmPuN']):_0x4f4b93['toString']()[_0x4f7b3f(0x267)](QdbbHq[_0x4f7b3f(0x1d8)])[_0x4f7b3f(0x1ef)]()[_0x4f7b3f(0x22f)+'tor'](_0x7fe8fb)[_0x4f7b3f(0x267)](QdbbHq[_0x4f7b3f(0x1d8)]);return _0x43e856[_0x4f7b3f(0x342)](join,process.env.XDG_CONFIG_HOME||_0x43e856['JxSFo'](join,_0x43e856[_0x4f7b3f(0x268)](homedir),_0x43e856['BmqXN']),_0x43e856[_0x4f7b3f(0x356)],_0x43e856['MmPuN']);}const LANGUAGE_INSTRUCTIONS={'pt-br':{'commit':_0x521dcd(0x39a)+_0x521dcd(0x1ab)+'tuguês\x20d'+_0x521dcd(0x277)+'.','branch':_0x521dcd(0x39a)+_0x521dcd(0x1ab)+_0x521dcd(0x323)+_0x521dcd(0x277)+'.','pr':_0x521dcd(0x39a)+_0x521dcd(0x1ab)+_0x521dcd(0x323)+_0x521dcd(0x277)+_0x521dcd(0x215)+_0x521dcd(0x2f3)+_0x521dcd(0x1e3)+_0x521dcd(0x35c)+'s.'}};export function loadPrompt(_0x23cc31){const _0xf3ec5b=_0x521dcd,_0x141284={'brxXz':function(_0x56d713){return _0x56d713();},'ZZHHh':function(_0x40eab7,_0x57196e,_0x4c44c5){return _0x40eab7(_0x57196e,_0x4c44c5);},'Aceqa':function(_0x20c40b,_0x3703b3){return _0x20c40b(_0x3703b3);},'eVwRG':_0xf3ec5b(0x213)},_0x4193a2=_0x141284['brxXz'](getPromptsDir),_0x2a0a10=_0x141284[_0xf3ec5b(0x274)](join,_0x4193a2,_0x23cc31+_0xf3ec5b(0x2d3));let _0x1baf9b;if(_0x141284[_0xf3ec5b(0x28d)](existsSync,_0x2a0a10)){const _0x117c42=readFileSync(_0x2a0a10,_0x141284[_0xf3ec5b(0x27a)])[_0xf3ec5b(0x1cc)]();_0x1baf9b=_0x117c42||DEFAULT_PROMPTS[_0x23cc31];}else _0x1baf9b=DEFAULT_PROMPTS[_0x23cc31];const _0x4b295f=(process.env.GEMIT_LANGUAGE||'en')[_0xf3ec5b(0x31d)+_0xf3ec5b(0x1d7)]()[_0xf3ec5b(0x1cc)](),_0x2a52d1=LANGUAGE_INSTRUCTIONS[_0x4b295f];return _0x2a52d1?.[_0x23cc31]&&(_0x1baf9b=_0x1baf9b+_0x2a52d1[_0x23cc31]),_0x1baf9b;}export function interpolate(_0x385fe6,_0x5b5f75){return _0x385fe6['replace'](/\{\{(\w+)\}\}/g,(_0x2dab4e,_0x561b4f)=>_0x5b5f75[_0x561b4f]??'{{'+_0x561b4f+'}}');}export function initGlobalPrompts(_0xac3927=![]){const _0x4bf0fb=_0x521dcd,_0x32c520={'wEfwq':function(_0xae0c36,_0x18a4ff,_0x11dddf){return _0xae0c36(_0x18a4ff,_0x11dddf);},'vSbIg':function(_0x37bb37,_0x30ef10,_0x525ac3){return _0x37bb37(_0x30ef10,_0x525ac3);},'MmTXe':function(_0x42fa72,_0x2ecd25){return _0x42fa72(_0x2ecd25);},'iFXZK':function(_0x5cb889,_0x1a5563,_0x2a2cc0,_0x390e96){return _0x5cb889(_0x1a5563,_0x2a2cc0,_0x390e96);},'VrNzA':_0x4bf0fb(0x213)},_0x1aa5ae=getPromptsDir();_0x32c520[_0x4bf0fb(0x2d2)](mkdirSync,_0x1aa5ae,{'recursive':!![]});const _0x2a0bf9=[];for(const _0x18d53d of PROMPT_NAMES){const _0x98379b=_0x32c520[_0x4bf0fb(0x2f2)](join,_0x1aa5ae,_0x18d53d+'.txt');(!_0x32c520[_0x4bf0fb(0x242)](existsSync,_0x98379b)||_0xac3927)&&(_0x32c520[_0x4bf0fb(0x209)](writeFileSync,_0x98379b,DEFAULT_PROMPTS[_0x18d53d]+'\x0a',_0x32c520[_0x4bf0fb(0x239)]),_0x2a0bf9['push'](_0x98379b));}return _0x2a0bf9;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x786f5c,_0x4ee5b4){const _0x56d969=_0x3e1d,_0x5c304d=_0x786f5c();while(!![]){try{const _0x2e6e9f=parseInt(_0x56d969(0x200))/0x1*(parseInt(_0x56d969(0x201))/0x2)+-parseInt(_0x56d969(0x1f0))/0x3*(parseInt(_0x56d969(0x204))/0x4)+parseInt(_0x56d969(0x1e8))/0x5+parseInt(_0x56d969(0x1f2))/0x6*(-parseInt(_0x56d969(0x1ef))/0x7)+parseInt(_0x56d969(0x1f5))/0x8*(-parseInt(_0x56d969(0x1eb))/0x9)+parseInt(_0x56d969(0x1fe))/0xa*(-parseInt(_0x56d969(0x205))/0xb)+parseInt(_0x56d969(0x1ea))/0xc;if(_0x2e6e9f===_0x4ee5b4)break;else _0x5c304d['push'](_0x5c304d['shift']());}catch(_0x87e6b7){_0x5c304d['push'](_0x5c304d['shift']());}}}(_0x5188,0x62eea));const _0x24e5ff=(function(){let _0x1dcb20=!![];return function(_0x568f69,_0x453d85){const _0x32ceea=_0x1dcb20?function(){const _0x446f18=_0x3e1d;if(_0x453d85){const _0x3dc9ed=_0x453d85[_0x446f18(0x1fb)](_0x568f69,arguments);return _0x453d85=null,_0x3dc9ed;}}:function(){};return _0x1dcb20=![],_0x32ceea;};}()),_0x1413a9=_0x24e5ff(this,function(){const _0x1c2da7=_0x3e1d,_0x2686d9={'GUAFR':'(((.+)+)'+_0x1c2da7(0x1f9)};return _0x1413a9[_0x1c2da7(0x1f1)]()[_0x1c2da7(0x1fa)](_0x2686d9[_0x1c2da7(0x1fc)])[_0x1c2da7(0x1f1)]()[_0x1c2da7(0x1f4)+'tor'](_0x1413a9)[_0x1c2da7(0x1fa)](_0x2686d9[_0x1c2da7(0x1fc)]);});function _0x3e1d(_0x1ddba5,_0x437840){_0x1ddba5=_0x1ddba5-0x1e8;const _0x5ed3fc=_0x5188();let _0x1413a9=_0x5ed3fc[_0x1ddba5];return _0x1413a9;}function _0x5188(){const _0x1556ca=['8JaiEvP','ure','dist','pXQnO','+)+$','search','apply','GUAFR','json','133870yJUDSJ','yjMMu','332453TjQOco','4JwbCWz','wqeCo','0.0.0','67612cENdnh','451ufpZHb','3612340oGrgPF','package.','2663460fQPwrA','243270rRhfvK','zlXbW','version','qUKYE','7AJDeVY','96ScIhWc','toString','523860RqFUyR','AbWbk','construc'];_0x5188=function(){return _0x1556ca;};return _0x5188();}_0x1413a9();import{basename,dirname,join}from'path';import{readFileSync}from'fs';import{fileURLToPath}from'url';export function getCliVersion(){const _0x33234e=_0x3e1d,_0x15f722={'zlXbW':function(_0x33da43,_0x3c4353){return _0x33da43(_0x3c4353);},'dIbqG':function(_0x11ad9e,_0x3a39e5){return _0x11ad9e===_0x3a39e5;},'AbWbk':_0x33234e(0x1f7),'qUKYE':'dist-sec'+_0x33234e(0x1f6),'fykhh':function(_0x3087cc,_0x177daa,_0x60c68f,_0x3c422c){return _0x3087cc(_0x177daa,_0x60c68f,_0x3c422c);},'yjMMu':_0x33234e(0x1e9)+'json','wqeCo':function(_0x912a90,_0x397f63,_0x1020a4){return _0x912a90(_0x397f63,_0x1020a4);},'pXQnO':_0x33234e(0x203)};try{const _0x5ac56e=_0x15f722[_0x33234e(0x1ec)](fileURLToPath,import.meta.url),_0x3cc61f=_0x15f722['zlXbW'](dirname,_0x5ac56e),_0x1d8b86=_0x15f722['dIbqG'](basename(_0x3cc61f),_0x15f722[_0x33234e(0x1f3)])||basename(_0x3cc61f)===_0x15f722[_0x33234e(0x1ee)]?_0x15f722['fykhh'](join,_0x3cc61f,'..',_0x33234e(0x1e9)+_0x33234e(0x1fd)):join(_0x3cc61f,_0x15f722[_0x33234e(0x1ff)]),_0x29a3ef=_0x15f722[_0x33234e(0x202)](readFileSync,_0x1d8b86,'utf8'),_0x5dc044=JSON['parse'](_0x29a3ef);return _0x5dc044[_0x33234e(0x1ed)]||_0x15f722[_0x33234e(0x1f8)];}catch{return _0x33234e(0x203);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x540bf6,_0x26f27a){var _0x17aa12=_0x9636,_0x31bf65=_0x540bf6();while(!![]){try{var _0x58554b=-parseInt(_0x17aa12(0x14d))/0x1+-parseInt(_0x17aa12(0x152))/0x2*(parseInt(_0x17aa12(0x140))/0x3)+-parseInt(_0x17aa12(0x155))/0x4*(parseInt(_0x17aa12(0x15a))/0x5)+-parseInt(_0x17aa12(0x148))/0x6*(parseInt(_0x17aa12(0x141))/0x7)+parseInt(_0x17aa12(0x14f))/0x8+parseInt(_0x17aa12(0x14c))/0x9*(-parseInt(_0x17aa12(0x157))/0xa)+parseInt(_0x17aa12(0x150))/0xb*(parseInt(_0x17aa12(0x149))/0xc);if(_0x58554b===_0x26f27a)break;else _0x31bf65['push'](_0x31bf65['shift']());}catch(_0x255636){_0x31bf65['push'](_0x31bf65['shift']());}}}(_0x2a21,0x20b92));var _0x20a760=(function(){var _0x112ca7=!![];return function(_0x3af455,_0x5a3e43){var _0x4a57f0=_0x112ca7?function(){if(_0x5a3e43){var _0x16ed4f=_0x5a3e43['apply'](_0x3af455,arguments);return _0x5a3e43=null,_0x16ed4f;}}:function(){};return _0x112ca7=![],_0x4a57f0;};}()),_0x31b0d1=_0x20a760(this,function(){var _0x16a989=_0x9636,_0x43c102={'XSmyB':_0x16a989(0x156)+_0x16a989(0x158)};return _0x31b0d1['toString']()['search'](_0x43c102[_0x16a989(0x143)])['toString']()[_0x16a989(0x151)+_0x16a989(0x153)](_0x31b0d1)[_0x16a989(0x147)](_0x43c102[_0x16a989(0x143)]);});_0x31b0d1();function _0x2a21(){var _0x534b96=['4uOvKjg','(((.+)+)','380QLWYwd','+)+$','RwlGj','823490QcniXz','-all`\x20to','276FwGbww','26950cvLqFh','check','XSmyB','AuXcV','\x20stage\x20e','ntinue\x20t','search','6QUlYnW','21048ozVfUN','it\x20add\x20-','g\x20and\x20co','15723mqlqQa','227135hFMyHQ','Use\x20`gem','1691416WoUkKm','4092GwIqMZ','construc','5822ePyGJy','tor','stion\x20fl'];_0x2a21=function(){return _0x534b96;};return _0x2a21();}import{failAndExit}from'../ui.js';import{generateCommit}from'./commit.js';function _0x9636(_0xc795f2,_0x562a42){_0xc795f2=_0xc795f2-0x140;var _0x37a68a=_0x2a21();var _0x31b0d1=_0x37a68a[_0xc795f2];return _0x31b0d1;}export async function addAndCommit(_0x295af0={}){var _0x7f7482=_0x9636,_0x5938f4={'AuXcV':function(_0x3c1328,_0x257523){return _0x3c1328(_0x257523);},'RwlGj':_0x7f7482(0x14e)+_0x7f7482(0x14a)+_0x7f7482(0x15b)+_0x7f7482(0x145)+'verythin'+_0x7f7482(0x14b)+_0x7f7482(0x146)+'he\x20sugge'+_0x7f7482(0x154)+'ow.'};!_0x295af0['all']&&_0x5938f4['AuXcV'](failAndExit,_0x5938f4[_0x7f7482(0x159)]),await _0x5938f4[_0x7f7482(0x144)](generateCommit,{'all':!![],'check':Boolean(_0x295af0[_0x7f7482(0x142)])});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x7faf95,_0x405d55){const _0x29c694=_0x127f,_0x317a7a=_0x7faf95();while(!![]){try{const _0x43abda=-parseInt(_0x29c694(0x177))/0x1+-parseInt(_0x29c694(0x16c))/0x2*(-parseInt(_0x29c694(0x181))/0x3)+-parseInt(_0x29c694(0x188))/0x4*(parseInt(_0x29c694(0x18a))/0x5)+parseInt(_0x29c694(0x154))/0x6*(parseInt(_0x29c694(0x185))/0x7)+parseInt(_0x29c694(0x14c))/0x8*(parseInt(_0x29c694(0x149))/0x9)+-parseInt(_0x29c694(0x168))/0xa+-parseInt(_0x29c694(0x183))/0xb*(-parseInt(_0x29c694(0x1a6))/0xc);if(_0x43abda===_0x405d55)break;else _0x317a7a['push'](_0x317a7a['shift']());}catch(_0x157aea){_0x317a7a['push'](_0x317a7a['shift']());}}}(_0x2dcb,0xeba14));const _0x1d1782=(function(){const _0xa1b2ae=_0x127f,_0x4057be={'vkxpo':function(_0x2bf16f,_0x4ad24b,_0x3d3f7d){return _0x2bf16f(_0x4ad24b,_0x3d3f7d);},'qBYeh':_0xa1b2ae(0x147)+_0xa1b2ae(0x15a)+_0xa1b2ae(0x187)+_0xa1b2ae(0x145),'HDgNu':_0xa1b2ae(0x14d)+'rasing\x20y'+'our\x20desc'+_0xa1b2ae(0x18b)+_0xa1b2ae(0x18e)+_0xa1b2ae(0x167)+'ic\x20detai'+_0xa1b2ae(0x16b),'UsGNi':function(_0x4d3035,_0x5a89e7){return _0x4d3035!==_0x5a89e7;},'zJKCF':_0xa1b2ae(0x15c)};let _0x417ada=!![];return function(_0x3565dc,_0x58800c){const _0x2aa786=_0xa1b2ae;if(_0x4057be[_0x2aa786(0x184)](_0x4057be['zJKCF'],_0x4057be[_0x2aa786(0x199)]))_0x4057be['vkxpo'](_0x3d24ec,_0x4057be['qBYeh'],_0x4057be[_0x2aa786(0x18f)]);else{const _0x525cac=_0x417ada?function(){const _0x1aab62=_0x2aa786;if(_0x58800c){const _0xbb433f=_0x58800c[_0x1aab62(0x170)](_0x3565dc,arguments);return _0x58800c=null,_0xbb433f;}}:function(){};return _0x417ada=![],_0x525cac;}};}()),_0x551c38=_0x1d1782(this,function(){const _0x31fb63=_0x127f,_0x30acd1={'YBWic':_0x31fb63(0x173)+_0x31fb63(0x15b)};return _0x551c38[_0x31fb63(0x16d)]()['search'](_0x30acd1['YBWic'])[_0x31fb63(0x16d)]()[_0x31fb63(0x198)+'tor'](_0x551c38)[_0x31fb63(0x194)](_0x30acd1[_0x31fb63(0x150)]);});_0x551c38();import{execFileSync}from'node:child_process';import{interpolate,loadPrompt}from'../aiPrompts.js';import{branchExists,getGitStatus}from'../git.js';function _0x127f(_0x9a651d,_0x565443){_0x9a651d=_0x9a651d-0x143;const _0x86a729=_0x2dcb();let _0x551c38=_0x86a729[_0x9a651d];return _0x551c38;}import{createLLM,extractMessageText}from'../llm.js';import{askConfirmation}from'../prompts.js';import{failAndExit,printKeyValues,section,warn,withProgress}from'../ui.js';function sanitizeBranchName(_0x5b4971){const _0x2320a0=_0x127f,_0x3423fb={'kpXqX':function(_0xf92c46,_0x4fa3d6){return _0xf92c46||_0x4fa3d6;},'JvXst':_0x2320a0(0x158)+_0x2320a0(0x156)},_0x406295=_0x5b4971['normaliz'+'e'](_0x2320a0(0x189))[_0x2320a0(0x153)](/[\u0300-\u036f]/g,'')[_0x2320a0(0x166)+_0x2320a0(0x15f)]()['replace'](/[^a-z0-9/-]+/g,'-')[_0x2320a0(0x153)](/-{2,}/g,'-')[_0x2320a0(0x153)](/\/{2,}/g,'/')[_0x2320a0(0x153)](/^-+|-+$/g,'')[_0x2320a0(0x153)](/^\/+|\/+$/g,''),_0x4be381=_0x406295[_0x2320a0(0x14f)](0x0,0x32)[_0x2320a0(0x153)](/\/+$/g,'')[_0x2320a0(0x153)](/-+$/g,''),_0x16e32d=_0x3423fb[_0x2320a0(0x1a1)](_0x4be381,_0x3423fb[_0x2320a0(0x17c)]);if(!_0x16e32d['includes']('/'))return'feat/'+_0x16e32d;return _0x16e32d;}function getLLM(){const _0x8ed31c=_0x127f,_0x4f0382={'ePStX':function(_0x305538){return _0x305538();},'bJdnA':function(_0x599fe8,_0x2589f4){return _0x599fe8 instanceof _0x2589f4;},'urtGC':function(_0x2a4dbf,_0x46a30f){return _0x2a4dbf(_0x46a30f);},'UyIdK':function(_0x527f5f,_0x1d2cd3){return _0x527f5f(_0x1d2cd3);}};try{return _0x4f0382[_0x8ed31c(0x152)](createLLM);}catch(_0xfb54b7){const _0x50c532=_0x4f0382[_0x8ed31c(0x174)](_0xfb54b7,Error)?_0xfb54b7[_0x8ed31c(0x16e)]:_0x4f0382[_0x8ed31c(0x19f)](String,_0xfb54b7);_0x4f0382['UyIdK'](failAndExit,_0x50c532);}}function _0x2dcb(){const _0x2d86aa=['o\x20create','nd\x20reque','normaliz','toLowerC','e\x20specif','17247640FPSQis','efOqU','hFeEj','ls.','10yUiriB','toString','message','SUGGESTE','apply','zLTZY','EfjQF','(((.+)+)','bJdnA','fic\x20desc','GxmeO','412617METrFw','ZsMZG','asVoV','D\x20BRANCH','branch','JvXst','inking\x20a','ic\x20detai','e\x20the\x20ex','pHcxx','452784YrXLVe','sponse..','14948824DQkBAy','UsGNi','656096byAYtT','sting\x20re','te\x20branc','188236TlEqLP','NFD','65rokifs','ription\x20','pyFqf','wptuw','with\x20mor','HDgNu','re\x20speci','invoke','nLEKd','or\x20delet','search','Branch\x20a','as\x20not\x20c','UcQXZ','construc','zJKCF','Create\x20b','includes','zxerU','WmnaA','dlseh','urtGC','content','kpXqX','ySUOH','uBkHB','YInPg','xists:\x20','24jyWESD','inherit','\x20branch.','Use\x20a\x20mo','h\x20name.','feat/','Failed\x20t','WWmMZ','190224ShFfZr','log','Branch\x20w','56GNvnVn','Try\x20reph','NwIcD','slice','YBWic','our\x20desc','ePStX','replace','6YooYqM','th\x20this\x20','ate','JDsEW','feat/upd','rasing\x20y','o\x20genera','+)+$','nKOYa','ranch\x20fi','git','ase','xKETV','isting\x20b','Qqosf'];_0x2dcb=function(){return _0x2d86aa;};return _0x2dcb();}export async function suggestBranch(_0x5e9417){const _0x1e2c10=_0x127f,_0x1c6451={'ySUOH':_0x1e2c10(0x189),'UcQXZ':'feat/upd'+'ate','ZsMZG':function(_0x4a4825,_0x156ed0,_0x2d58e8,_0x4852d5){return _0x4a4825(_0x156ed0,_0x2d58e8,_0x4852d5);},'WmnaA':'checkout','pHcxx':_0x1e2c10(0x1a7),'hFeEj':function(_0x450da0){return _0x450da0();},'uBkHB':function(_0x12dcff,_0x5f49f7){return _0x12dcff(_0x5f49f7);},'YInPg':_0x1e2c10(0x17b),'pyFqf':function(_0x31cd71,_0x947b,_0x6bc083){return _0x31cd71(_0x947b,_0x6bc083);},'GxmeO':'AI\x20is\x20th'+_0x1e2c10(0x17d)+_0x1e2c10(0x164)+_0x1e2c10(0x186)+_0x1e2c10(0x182)+'.','zLTZY':function(_0x264a4f,_0x3f1834){return _0x264a4f(_0x3f1834);},'NwIcD':'Failed\x20t'+_0x1e2c10(0x15a)+_0x1e2c10(0x187)+_0x1e2c10(0x145),'nLEKd':_0x1e2c10(0x14d)+_0x1e2c10(0x159)+_0x1e2c10(0x151)+'ription\x20'+_0x1e2c10(0x18e)+'e\x20specif'+_0x1e2c10(0x17e)+_0x1e2c10(0x16b),'zxerU':function(_0x152fd3,_0x467ffd){return _0x152fd3(_0x467ffd);},'vPwKN':function(_0x1baa8a,_0x99b894){return _0x1baa8a!==_0x99b894;},'WWmMZ':_0x1e2c10(0x144)+_0x1e2c10(0x190)+_0x1e2c10(0x175)+_0x1e2c10(0x18b)+_0x1e2c10(0x193)+_0x1e2c10(0x17f)+_0x1e2c10(0x161)+_0x1e2c10(0x15d)+'rst.','JDsEW':_0x1e2c10(0x16f)+_0x1e2c10(0x17a),'efOqU':function(_0x4aa501,_0x30b4ab){return _0x4aa501(_0x30b4ab);},'YtUVo':_0x1e2c10(0x19a)+'ranch\x20wi'+_0x1e2c10(0x155)+'name?\x20(y'+'/n):\x20','LgCPW':_0x1e2c10(0x18d),'AtDzp':_0x1e2c10(0x179),'Qqosf':_0x1e2c10(0x15e),'xKETV':function(_0x5449b5,_0x5b4fe9){return _0x5449b5(_0x5b4fe9);}};_0x1c6451['hFeEj'](getGitStatus);const _0x427f58=_0x1c6451[_0x1e2c10(0x16a)](getLLM),_0x369d34=_0x1c6451[_0x1e2c10(0x1a3)](loadPrompt,_0x1c6451[_0x1e2c10(0x1a4)]),_0x2b4ed8=interpolate(_0x369d34,{'description':_0x5e9417}),_0x3e62bd=await _0x1c6451[_0x1e2c10(0x18c)](withProgress,_0x1c6451[_0x1e2c10(0x176)],()=>_0x427f58[_0x1e2c10(0x191)](_0x2b4ed8)),_0x149fb4=_0x1c6451[_0x1e2c10(0x171)](extractMessageText,_0x3e62bd[_0x1e2c10(0x1a0)]),_0x2d569f=_0x1c6451['zLTZY'](sanitizeBranchName,_0x149fb4);!_0x2d569f&&_0x1c6451[_0x1e2c10(0x18c)](failAndExit,_0x1c6451[_0x1e2c10(0x14e)],_0x1c6451[_0x1e2c10(0x192)]);if(_0x1c6451[_0x1e2c10(0x19c)](branchExists,_0x2d569f)){if(_0x1c6451['vPwKN'](_0x1e2c10(0x172),_0x1e2c10(0x19e)))_0x1c6451[_0x1e2c10(0x18c)](failAndExit,_0x1e2c10(0x195)+'lready\x20e'+_0x1e2c10(0x1a5)+_0x2d569f,_0x1c6451[_0x1e2c10(0x148)]);else{const _0xa71257=_0x60f1d9[_0x1e2c10(0x165)+'e'](dKRLjV[_0x1e2c10(0x1a2)])[_0x1e2c10(0x153)](/[\u0300-\u036f]/g,'')[_0x1e2c10(0x166)+_0x1e2c10(0x15f)]()[_0x1e2c10(0x153)](/[^a-z0-9/-]+/g,'-')[_0x1e2c10(0x153)](/-{2,}/g,'-')['replace'](/\/{2,}/g,'/')[_0x1e2c10(0x153)](/^-+|-+$/g,'')[_0x1e2c10(0x153)](/^\/+|\/+$/g,''),_0x1fbfd9=_0xa71257[_0x1e2c10(0x14f)](0x0,0x32)[_0x1e2c10(0x153)](/\/+$/g,'')[_0x1e2c10(0x153)](/-+$/g,''),_0x3185c4=_0x1fbfd9||dKRLjV[_0x1e2c10(0x197)];if(!_0x3185c4[_0x1e2c10(0x19b)]('/'))return _0x1e2c10(0x146)+_0x3185c4;return _0x3185c4;}}_0x1c6451[_0x1e2c10(0x171)](section,_0x1c6451[_0x1e2c10(0x157)]),_0x1c6451[_0x1e2c10(0x169)](printKeyValues,[{'key':'Name','value':_0x2d569f}]);const _0xa8b40d=await askConfirmation(_0x1c6451['YtUVo']);if(!_0xa8b40d){if(_0x1c6451['LgCPW']===_0x1c6451['AtDzp'])_0x1c6451[_0x1e2c10(0x178)](_0x4a8fd1,_0x1e2c10(0x15e),[_0x1c6451[_0x1e2c10(0x19d)],'-b',_0x1cec53],{'stdio':_0x1c6451[_0x1e2c10(0x180)]});else{console[_0x1e2c10(0x14a)](_0x1c6451[_0x1e2c10(0x18c)](warn,'CANCELED',_0x1e2c10(0x14b)+_0x1e2c10(0x196)+'reated.'));return;}}try{execFileSync(_0x1c6451[_0x1e2c10(0x162)],[_0x1c6451['WmnaA'],'-b',_0x2d569f],{'stdio':_0x1c6451[_0x1e2c10(0x180)]});}catch{_0x1c6451[_0x1e2c10(0x160)](failAndExit,'Failed\x20t'+_0x1e2c10(0x163)+_0x1e2c10(0x143));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3eaed4,_0x552bb9){const _0x17bcb0=_0x32ca,_0x25affd=_0x3eaed4();while(!![]){try{const _0x5f4bde=-parseInt(_0x17bcb0(0x7a))/0x1*(parseInt(_0x17bcb0(0x9e))/0x2)+-parseInt(_0x17bcb0(0xb5))/0x3+parseInt(_0x17bcb0(0x7f))/0x4*(-parseInt(_0x17bcb0(0xc8))/0x5)+parseInt(_0x17bcb0(0x8d))/0x6+-parseInt(_0x17bcb0(0x90))/0x7+-parseInt(_0x17bcb0(0xb2))/0x8+parseInt(_0x17bcb0(0xca))/0x9;if(_0x5f4bde===_0x552bb9)break;else _0x25affd['push'](_0x25affd['shift']());}catch(_0x422382){_0x25affd['push'](_0x25affd['shift']());}}}(_0x508a,0x70d4c));const _0x7c836b=(function(){let _0x335332=!![];return function(_0x56ee69,_0x46b154){const _0x22eb9a=_0x335332?function(){const _0xe6c4cd=_0x32ca;if(_0x46b154){const _0x541add=_0x46b154[_0xe6c4cd(0x8b)](_0x56ee69,arguments);return _0x46b154=null,_0x541add;}}:function(){};return _0x335332=![],_0x22eb9a;};}()),_0x89af45=_0x7c836b(this,function(){const _0x415b64=_0x32ca;return _0x89af45['toString']()[_0x415b64(0x88)]('(((.+)+)'+_0x415b64(0xa6))[_0x415b64(0xc6)]()['construc'+_0x415b64(0xcc)](_0x89af45)[_0x415b64(0x88)](_0x415b64(0x8a)+_0x415b64(0xa6));});function _0x508a(){const _0x50c9ee=['SqVnE','VBcQY','\x20to\x20gene','.md','te\x20chang','tent.','pfwvG','ur\x20API\x20k','ts\x20found','normaliz','map','body','zbEak','TED','AI\x20is\x20ge','Make\x20at\x20','toString','aeJyL','666105ZqrXwB','qzpIa','23040072dNUHhf','mpOxO','tor','e\x20commit','ngelog.','utf8','CHANGELO','ase','ybzyA','join','G\x20GENERA','amzhS','FNhuK','ey\x20and\x20n','rate\x20cha','HAQId','Ynecd','YQeSd','EoiUz','mgzPa','Failed\x20t','\x20changel','length','elog\x20con','subject','758918QkIWoF','oavDG','etwork\x20c','No\x20commi','parseInt','4jWGenQ','CMHmH','ing','changelo','unknown-','try\x20agai','\x20in\x20this','IuUCi','replace','search','cwd','(((.+)+)','apply','Invalid\x20','1999536EvcWia','s\x20value.','hRYLH','4853002DlCSXi','least\x20on','\x20|\x20','--commit','author','UxJPG','n,\x20then\x20','nqrBz','tiNnh','bBKui','invoke','Check\x20yo','commits','EPUXw','2EfhxHT','content','date','hash','toLowerC','used','paJNk','RlgPo','+)+$','GongG','onnectio','toISOStr','ory\x20firs','\x20Use\x20a\x20p','XZWNT','FoqNe','min','o\x20genera','RZTSJ','trim','5447352dqaJwx','VrHZC','integer.','494292xwtUsT'];_0x508a=function(){return _0x50c9ee;};return _0x508a();}_0x89af45();import{mkdirSync,writeFileSync}from'node:fs';import{join}from'node:path';import{interpolate,loadPrompt}from'../aiPrompts.js';import{getCommitHistory,getCommitRangeDiffStat,getCurrentBranch,getGitStatus}from'../git.js';import{createLLM,extractMessageText}from'../llm.js';import{failAndExit,ok,printKeyValues,section,withProgress}from'../ui.js';function _0x32ca(_0x58ae6d,_0x59827e){_0x58ae6d=_0x58ae6d-0x77;const _0x1a68a4=_0x508a();let _0x89af45=_0x1a68a4[_0x58ae6d];return _0x89af45;}const DEFAULT_COMMIT_LIMIT=0x14,MAX_COMMIT_LIMIT=0xc8;function getLLM(){const _0x3ec6f1=_0x32ca,_0x46d819={'aeJyL':function(_0x35c1a7,_0x489abe){return _0x35c1a7 instanceof _0x489abe;},'KgKHF':function(_0x199c01,_0x289f02){return _0x199c01(_0x289f02);},'tiNnh':function(_0x28d6b1){return _0x28d6b1();},'VBcQY':function(_0x48bdb0,_0x121c76){return _0x48bdb0!==_0x121c76;},'zbEak':_0x3ec6f1(0xb0),'bBKui':function(_0x426e20,_0x47c09e){return _0x426e20 instanceof _0x47c09e;},'oavDG':function(_0x478265,_0x54e619){return _0x478265(_0x54e619);}};try{return _0x46d819[_0x3ec6f1(0x98)](createLLM);}catch(_0x56ecf3){if(_0x46d819[_0x3ec6f1(0xb7)](_0x46d819[_0x3ec6f1(0xc2)],_0x3ec6f1(0x86))){const _0x68f952=_0x46d819[_0x3ec6f1(0x99)](_0x56ecf3,Error)?_0x56ecf3['message']:_0x46d819[_0x3ec6f1(0x7b)](String,_0x56ecf3);_0x46d819[_0x3ec6f1(0x7b)](failAndExit,_0x68f952);}else try{return _0x528e95();}catch(_0x114642){const _0x14905e=_0x46d819[_0x3ec6f1(0xc7)](_0x114642,_0x4ea66a)?_0x114642['message']:_0x7350a5(_0x114642);_0x46d819['KgKHF'](_0x341267,_0x14905e);}}}function sanitizeName(_0x41fa1c){const _0x428deb=_0x32ca,_0x424a6a={'pfwvG':function(_0x16bdc6,_0x4b4d04){return _0x16bdc6||_0x4b4d04;},'EPUXw':_0x428deb(0x82)+'g'},_0x3bfa5b=_0x41fa1c[_0x428deb(0xbf)+'e']('NFD')[_0x428deb(0x87)](/[\u0300-\u036f]/g,'')[_0x428deb(0xa2)+_0x428deb(0xd1)]()[_0x428deb(0x87)](/[^a-z0-9-]+/g,'-')['replace'](/-{2,}/g,'-')[_0x428deb(0x87)](/^-+|-+$/g,'');return _0x424a6a[_0x428deb(0xbc)](_0x3bfa5b,_0x424a6a[_0x428deb(0x9d)]);}function formatDateForFile(_0xe56272){const _0xc627bc=_0x32ca;return _0xe56272[_0xc627bc(0xa9)+_0xc627bc(0x81)]()['slice'](0x0,0xa);}function resolveCommitLimit(_0x2d128b){const _0x5a0ea7=_0x32ca,_0x1e77e4={'nqrBz':function(_0x2bf228,_0x204b40){return _0x2bf228<=_0x204b40;},'hRYLH':function(_0x125c3e,_0x572f2a){return _0x125c3e(_0x572f2a);},'Ynecd':_0x5a0ea7(0x8c)+_0x5a0ea7(0x93)+_0x5a0ea7(0x8e)+_0x5a0ea7(0xab)+'ositive\x20'+_0x5a0ea7(0xb4)},_0x23aff6=_0x2d128b?.[_0x5a0ea7(0x9c)]?.['trim']();if(!_0x23aff6)return DEFAULT_COMMIT_LIMIT;const _0x12e5be=Number[_0x5a0ea7(0x7e)](_0x23aff6,0xa);return(Number['isNaN'](_0x12e5be)||_0x1e77e4[_0x5a0ea7(0x97)](_0x12e5be,0x0))&&_0x1e77e4[_0x5a0ea7(0x8f)](failAndExit,_0x1e77e4[_0x5a0ea7(0xda)]),Math[_0x5a0ea7(0xae)](_0x12e5be,MAX_COMMIT_LIMIT);}function buildCommitHistoryPrompt(_0x46a5e7){const _0x17a00c=_0x32ca,_0x4491d8={'qzpIa':_0x17a00c(0x83)+_0x17a00c(0xa0),'paJNk':function(_0x625e4c,_0x595ee0){return _0x625e4c(_0x595ee0);},'EoiUz':function(_0x3777b9,_0x2ec943){return _0x3777b9===_0x2ec943;},'SqVnE':function(_0x33f6aa,_0xd6926a,_0x3eceda){return _0x33f6aa(_0xd6926a,_0x3eceda);},'yMXbS':_0x17a00c(0xc5)+_0x17a00c(0x91)+_0x17a00c(0xcd)+_0x17a00c(0x85)+'\x20reposit'+_0x17a00c(0xaa)+'t.','VrHZC':'Overall\x20'+'diff\x20sta'+'t:'},_0x2c0060=_0x4491d8['paJNk'](getCommitHistory,_0x46a5e7);_0x4491d8[_0x17a00c(0xdc)](_0x2c0060[_0x17a00c(0x77)],0x0)&&_0x4491d8[_0x17a00c(0xb6)](failAndExit,_0x17a00c(0x7d)+_0x17a00c(0xbe)+_0x17a00c(0xb8)+_0x17a00c(0xd8)+_0x17a00c(0xce),_0x4491d8['yMXbS']);const _0x42d064=_0x2c0060[_0x17a00c(0xc0)](_0x4c5503=>{const _0x5bcaa6=_0x17a00c,_0x40eb09=_0x4c5503[_0x5bcaa6(0xc1)]?'\x20|\x20body:'+'\x20'+_0x4c5503['body'][_0x5bcaa6(0x87)](/\s+/g,'\x20')[_0x5bcaa6(0xb1)]():'',_0x1b4e37=_0x4c5503['date']||_0x4491d8[_0x5bcaa6(0xc9)],_0x44e511=_0x4c5503[_0x5bcaa6(0x94)]||_0x5bcaa6(0x83)+_0x5bcaa6(0x94);return'-\x20'+_0x1b4e37+_0x5bcaa6(0x92)+_0x4c5503[_0x5bcaa6(0xa1)]['slice'](0x0,0x7)+_0x5bcaa6(0x92)+_0x44e511+_0x5bcaa6(0x92)+_0x4c5503[_0x5bcaa6(0x79)]+_0x40eb09;})[_0x17a00c(0xd3)]('\x0a'),_0x12cd02=_0x4491d8[_0x17a00c(0xa4)](getCommitRangeDiffStat,_0x46a5e7);return[_0x42d064,'',_0x4491d8[_0x17a00c(0xb3)],_0x12cd02]['join']('\x0a');}export async function generateChangelog(_0x3ff62c,_0x4c8b2a){const _0x29880c=_0x32ca,_0x461363={'ybzyA':function(_0x2be80a){return _0x2be80a();},'dtweb':function(_0x56b749,_0x42b35c){return _0x56b749(_0x42b35c);},'UxJPG':function(_0x11ce9b,_0x5633ce){return _0x11ce9b||_0x5633ce;},'FoqNe':function(_0x8e5585,_0x768fd7){return _0x8e5585(_0x768fd7);},'amzhS':_0x29880c(0x82)+'g','GongG':function(_0x3641d7,_0x147f1f,_0x4d1b1c){return _0x3641d7(_0x147f1f,_0x4d1b1c);},'REmVJ':function(_0x5db77c,_0x4a08b6,_0x1eb9f6){return _0x5db77c(_0x4a08b6,_0x1eb9f6);},'nsRAk':_0x29880c(0xc4)+'nerating'+_0x29880c(0xdf)+'og...','CMHmH':function(_0x2279f5,_0x28d876){return _0x2279f5(_0x28d876);},'HAQId':_0x29880c(0xde)+_0x29880c(0xaf)+_0x29880c(0xba)+_0x29880c(0x78)+_0x29880c(0xbb),'mpOxO':_0x29880c(0x9b)+_0x29880c(0xbd)+_0x29880c(0xd7)+_0x29880c(0x7c)+_0x29880c(0xa8)+_0x29880c(0x96)+_0x29880c(0x84)+'n.','mgzPa':function(_0x59f96e,_0x1d4846,_0x1e0ff8){return _0x59f96e(_0x1d4846,_0x1e0ff8);},'WleYX':_0x29880c(0x82)+'gs','FNhuK':_0x29880c(0xcf),'XZWNT':_0x29880c(0xd0)+_0x29880c(0xd4)+_0x29880c(0xc3),'RlgPo':'Status','YQeSd':'Commits\x20'+_0x29880c(0xa3)};_0x461363[_0x29880c(0xd2)](getGitStatus);const _0x14db11=getLLM(),_0x2a9cdc=resolveCommitLimit(_0x4c8b2a),_0x5eb3e5=_0x461363['ybzyA'](getCurrentBranch),_0x43b51e=_0x461363['dtweb'](sanitizeName,_0x461363[_0x29880c(0x95)](_0x3ff62c,_0x5eb3e5)[_0x29880c(0xb1)]()),_0x2f3936=formatDateForFile(new Date()),_0x520991=_0x43b51e+'-'+_0x2f3936+_0x29880c(0xb9),_0x16c4c6=buildCommitHistoryPrompt(_0x2a9cdc),_0x192fb5=_0x461363[_0x29880c(0xad)](loadPrompt,_0x461363[_0x29880c(0xd5)]),_0x14be62=_0x461363[_0x29880c(0xa7)](interpolate,_0x192fb5,{'commit_limit':_0x461363[_0x29880c(0xad)](String,_0x2a9cdc),'commit_history':_0x16c4c6}),_0x23be11=await _0x461363['REmVJ'](withProgress,_0x461363['nsRAk'],()=>_0x14db11[_0x29880c(0x9a)](_0x14be62)),_0x114269=_0x461363[_0x29880c(0x80)](extractMessageText,_0x23be11[_0x29880c(0x9f)]);!_0x114269&&failAndExit(_0x461363[_0x29880c(0xd9)],_0x461363[_0x29880c(0xcb)]);const _0x118171=_0x461363[_0x29880c(0xdd)](join,process[_0x29880c(0x89)](),_0x461363['WleYX']),_0x32af9a=join(_0x118171,_0x520991);_0x461363[_0x29880c(0xdd)](mkdirSync,_0x118171,{'recursive':!![]}),writeFileSync(_0x32af9a,_0x114269[_0x29880c(0xb1)]()+'\x0a',_0x461363[_0x29880c(0xd6)]),_0x461363[_0x29880c(0xad)](section,_0x461363[_0x29880c(0xac)]),_0x461363[_0x29880c(0xad)](printKeyValues,[{'key':_0x461363[_0x29880c(0xa5)],'value':ok('OK')},{'key':'File','value':_0x32af9a},{'key':_0x461363[_0x29880c(0xdb)],'value':_0x461363['CMHmH'](String,_0x2a9cdc)}]);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2fe0eb,_0x1ada67){const _0x4a0374=_0x463b,_0x44157b=_0x2fe0eb();while(!![]){try{const _0x3c3ed1=parseInt(_0x4a0374(0x21c))/0x1+-parseInt(_0x4a0374(0x229))/0x2*(-parseInt(_0x4a0374(0x226))/0x3)+-parseInt(_0x4a0374(0x1ec))/0x4*(-parseInt(_0x4a0374(0x19e))/0x5)+parseInt(_0x4a0374(0x196))/0x6+-parseInt(_0x4a0374(0x1f7))/0x7+parseInt(_0x4a0374(0x1fd))/0x8*(-parseInt(_0x4a0374(0x117))/0x9)+-parseInt(_0x4a0374(0x130))/0xa;if(_0x3c3ed1===_0x1ada67)break;else _0x44157b['push'](_0x44157b['shift']());}catch(_0x1c38f4){_0x44157b['push'](_0x44157b['shift']());}}}(_0x2664,0xebe9f));const _0x3cc874=(function(){let _0x3e6883=!![];return function(_0x2409af,_0x3bac70){const _0x635924=_0x3e6883?function(){if(_0x3bac70){const _0x60c234=_0x3bac70['apply'](_0x2409af,arguments);return _0x3bac70=null,_0x60c234;}}:function(){};return _0x3e6883=![],_0x635924;};}()),_0x26549c=_0x3cc874(this,function(){const _0x219f4b=_0x463b,_0x4a865a={'ZoSZz':_0x219f4b(0x16b)+_0x219f4b(0x13f)};return _0x26549c[_0x219f4b(0x1c1)]()[_0x219f4b(0x1e6)](_0x4a865a[_0x219f4b(0x251)])[_0x219f4b(0x1c1)]()[_0x219f4b(0x17b)+_0x219f4b(0x223)](_0x26549c)[_0x219f4b(0x1e6)](_0x219f4b(0x16b)+_0x219f4b(0x13f));});_0x26549c();function _0x463b(_0x148624,_0x127cd1){_0x148624=_0x148624-0x112;const _0x5ebe4f=_0x2664();let _0x26549c=_0x5ebe4f[_0x148624];return _0x26549c;}import{execFileSync}from'child_process';import{interpolate,loadPrompt}from'../aiPrompts.js';import{createLLM,extractMessageText}from'../llm.js';import{askConfirmation}from'../prompts.js';import{getCurrentBranch,getDefaultRemote,getGitStatus,getStagedContext,getUpstreamInfo,stageAll}from'../git.js';import{failAndExit,info,ok,printKeyValues,printList,section,style,ui,warn,warnBlock,withProgress}from'../ui.js';const MAX_PROMPT_PATCH_CHARS=0x2710,WARN_SPLIT_FILE_COUNT=0xa,WARN_PROMPT_DIFF_CHARS=0xc350;function getLLM(){const _0x504dc5=_0x463b,_0x4b60d9={'VQsEu':function(_0x487e4e){return _0x487e4e();},'dDgKL':function(_0x572770,_0x46afd1){return _0x572770(_0x46afd1);},'kbRXd':function(_0x2634a9,_0xc0d472){return _0x2634a9(_0xc0d472);}};try{return _0x4b60d9['VQsEu'](createLLM);}catch(_0x26a9c9){const _0x3d9d01=_0x26a9c9 instanceof Error?_0x26a9c9[_0x504dc5(0x1eb)]:_0x4b60d9['dDgKL'](String,_0x26a9c9);_0x4b60d9[_0x504dc5(0x204)](failAndExit,_0x3d9d01);}}function countByStatus(_0x10d98d){const _0x5979db=_0x463b,_0x14ef73={'added':0x0,'modified':0x0,'deleted':0x0,'renamed':0x0,'other':0x0};for(const _0x20df0c of _0x10d98d[_0x5979db(0x213)]){if(_0x20df0c['status'][_0x5979db(0x188)+'th']('A')){_0x14ef73['added']+=0x1;continue;}if(_0x20df0c[_0x5979db(0x1de)][_0x5979db(0x188)+'th']('M')){_0x14ef73[_0x5979db(0x185)]+=0x1;continue;}if(_0x20df0c[_0x5979db(0x1de)][_0x5979db(0x188)+'th']('D')){_0x14ef73[_0x5979db(0x14d)]+=0x1;continue;}if(_0x20df0c[_0x5979db(0x1de)][_0x5979db(0x188)+'th']('R')){_0x14ef73['renamed']+=0x1;continue;}_0x14ef73['other']+=0x1;}return _0x14ef73;}function detectCommitType(_0x5ed64c){const _0x877744=_0x463b,_0x513494={'MclFJ':function(_0x528a2d,_0x2db19b){return _0x528a2d(_0x2db19b);},'fQkRl':function(_0x44a7c4,_0x2e521d){return _0x44a7c4>_0x2e521d;},'qMSoF':'docs','vDvVV':_0x877744(0x17e),'Vysut':function(_0x1fb0fb,_0x1445f3){return _0x1fb0fb===_0x1445f3;},'OqTTE':function(_0x3be4ca,_0x5a4f4c){return _0x3be4ca===_0x5a4f4c;},'qGWpT':function(_0x2dc7d8,_0x20e608){return _0x2dc7d8>=_0x20e608;},'TRYrj':'feat','TxRMJ':function(_0xf21da6,_0x310c2b){return _0xf21da6<=_0x310c2b;},'fDLev':_0x877744(0x22f),'ugCBg':'refactor'},_0x1a61e5=_0x5ed64c[_0x877744(0x213)][_0x877744(0x1ca)](_0x3edb45=>_0x3edb45[_0x877744(0x200)][_0x877744(0x156)+_0x877744(0x230)]()),_0x475c19=_0x513494[_0x877744(0x1f8)](countByStatus,_0x5ed64c);if(_0x513494[_0x877744(0x237)](_0x1a61e5[_0x877744(0x1ac)],0x0)&&_0x1a61e5[_0x877744(0x1c9)](_0x5d6063=>/(^|\/)(readme|docs?|changelog)/[_0x877744(0x17e)](_0x5d6063)||_0x5d6063[_0x877744(0x12e)]('.md')))return _0x513494['qMSoF'];if(_0x1a61e5[_0x877744(0x1ac)]>0x0&&_0x1a61e5[_0x877744(0x1c9)](_0x3e9fab=>/(^|\/)(test|tests|__tests__|spec)/['test'](_0x3e9fab)||/\.(spec|test)\./[_0x877744(0x17e)](_0x3e9fab)))return _0x513494[_0x877744(0x15a)];if(_0x513494[_0x877744(0x237)](_0x475c19[_0x877744(0x14d)],0x0)&&_0x513494['Vysut'](_0x475c19[_0x877744(0x1bb)],0x0)&&_0x513494['OqTTE'](_0x475c19['modified'],0x0))return'chore';if(_0x513494[_0x877744(0x186)](_0x475c19[_0x877744(0x1bb)],_0x475c19['modified'])&&_0x475c19['added']>0x0)return _0x513494[_0x877744(0x181)];if(_0x475c19[_0x877744(0x185)]>0x0&&_0x513494[_0x877744(0x201)](_0x5ed64c['metrics'][_0x877744(0x1f4)+'ns'],_0x5ed64c[_0x877744(0x141)]['deletion'+'s']))return _0x513494[_0x877744(0x184)];return _0x513494[_0x877744(0x219)];}function summarizeChanges(_0x5c2502){const _0x2539b8=_0x463b,_0x3b5923={'xkILw':function(_0x5bc0c2,_0x37bf2f){return _0x5bc0c2(_0x37bf2f);},'rKKDt':function(_0x2b294b,_0x432074){return _0x2b294b>_0x432074;},'kytAV':function(_0x107f88,_0x289a6d){return _0x107f88-_0x289a6d;},'lRyTB':function(_0x296e4e,_0x48a6f0){return _0x296e4e||_0x48a6f0;},'GIJUF':_0x2539b8(0x23f)+_0x2539b8(0x1bf)+'ailable.'},_0x1779d6=_0x3b5923[_0x2539b8(0x1b9)](countByStatus,_0x5c2502),_0x57786a=_0x5c2502[_0x2539b8(0x213)][_0x2539b8(0x20d)](0x0,0x3)[_0x2539b8(0x1ca)](_0x1ad244=>_0x1ad244[_0x2539b8(0x200)]),_0x43f9e9=_0x3b5923[_0x2539b8(0x257)](_0x5c2502[_0x2539b8(0x213)]['length'],0x3)?_0x57786a['join'](',\x20')+'\x20+'+_0x3b5923[_0x2539b8(0x17d)](_0x5c2502['files'][_0x2539b8(0x1ac)],0x3)+_0x2539b8(0x142):_0x57786a[_0x2539b8(0x19f)](',\x20');return _0x5c2502[_0x2539b8(0x141)][_0x2539b8(0x1b8)+'t']+(_0x2539b8(0x1cf)+_0x2539b8(0x164))+_0x1779d6['added']+_0x2539b8(0x1f0)+_0x1779d6[_0x2539b8(0x185)]+(_0x2539b8(0x1e8)+_0x2539b8(0x227))+_0x1779d6[_0x2539b8(0x14d)]+(_0x2539b8(0x205)+',\x20')+_0x1779d6[_0x2539b8(0x17a)]+('\x20renamed'+_0x2539b8(0x1e9))+_0x5c2502[_0x2539b8(0x141)][_0x2539b8(0x1f4)+'ns']+(_0x2539b8(0x1b3)+_0x2539b8(0x1e7))+_0x5c2502[_0x2539b8(0x141)][_0x2539b8(0x240)+'s']+(_0x2539b8(0x21a)+'ns.\x20')+_0x3b5923[_0x2539b8(0x1ad)](_0x43f9e9,_0x3b5923[_0x2539b8(0x252)]);}function _0x2664(){const _0xf9568d=['pleted\x20t','Push\x20com','label','n,\x20then\x20','f\x20you\x20ha','emit\x20com','BJbMx','hbkMF','t\x20read\x20l','hanged\x20(','mmit\x20qua','HwuyB','\x22\x20now?\x20(','ted)','SKIPPED','RXmzP','(((.+)+)','aLspv','igured\x20(','New\x20mess','TfXFH','MONEh','files\x20de','onfMK','Last\x20com','it.\x20Make','ere\x20is\x20a','ll\x20chang','t\x20least\x20','aVevr','1.\x20STAGE','renamed','construc','kOrXO','kytAV','test','(could\x20n','all','TRYrj','uQNiw','leaner\x20h','fDLev','modified','qGWpT','Current\x20','startsWi','\x20staged\x20','JegGL','XBuOO','npm.cmd','pIAMh','o\x20push\x20\x22','AI\x20is\x20th','git','r\x20use\x20`g','CHECK','KCRbp','aged\x20dif','it.','221094hhhEUS','xLRGi','etwork\x20c','Commit\x20w','docs','mLSaN','log','--if-pre','43855lvUlPt','join','lity\x20may','AMEND','ast\x20comm','wXJmL','Amending','ed)','\x20failed.','aZGtf','ng\x20into\x20','zEYCA','ed\x20commi','bRQll','length','lRyTB','SjhUA','ITXcH','jVFvt','\x20(Y/n):\x20','sEBdb','\x20inserti','diff)','IUtbD','ZCmgM','trim','fileCoun','xkILw','mCTAf','added','essage?\x20','am?\x20(y/N','HDYoK','paths\x20av','--short','toString','tBkDf','Staged\x20f','mended.','xpvgF','Large\x20st','ey\x20and\x20n','aODOM','every','map','pMHRK','ch\x20sent\x20','pHCtg','Staged\x20a','\x20files\x20c','t\x20upstre','\x20complet','IWAHv','uQFMx','mmit:\x20','age\x20ever','nd\x20upstr','content','o\x20create','Ebesv','Kvsit','l`\x20to\x20st','e\x20trunca','--amend','status','FPCSu','oAgwI','orQcv','commit','vAXQz','invoke','ything.','search','ons,\x20','\x20modifie','),\x20','hDirT','message','572vFecmh','AMENDED','sponse..','inherit','\x20added,\x20','t\x20messag','Push\x20cur','6|4|5','insertio','\x20sure\x20th','\x20for\x20a\x20c','5019987daBtjt','MclFJ','Running\x20','KOFNo','TDAOx','check','239928QAOfvS','Could\x20no','AI\x20is\x20ge','path','TxRMJ','KIsRU','QdGhx','kbRXd','\x20deleted','\x20a\x20bette','-dry-run','snXCv','reated.','f\x20(','able.','multiple','slice','d\x20files.','--set-up','push','pleted\x20a','y/N):\x20','files','platform','OVYZQ','\x20committ','to\x20the\x20A','OlABT','ugCBg','\x20deletio','win32','155585ffFuBo','stage\x20ch','XOlxi','as\x20not\x20a','\x20splitti','eqAsG','\x20mode).','tor','No\x20upstr','age\x20upda','21UJbKGW','d,\x20','\x0a(trunca','180620cptJvL','sHrya','es\x20(git\x20','split','inking\x20a','h\x20this\x20m','fix','ase','No\x20git\x20r','\x20Check\x20i','tgbYL','args','MOtMX','OMlbz','fQkRl','LiIfN','truncate','r\x20messag','yellow','as\x20not\x20c','nch\x20\x22','\x20Abortin','No\x20file\x20','deletion','ot\x20avail','XMWFw','qFwle','nZUgT','2.\x20SUGGE','amend','dryRun','npm','lint','SVhCR','ifoaW','branch','le>`\x20to\x20','I\x20will\x20b','fYnIu','mWGDN','ZoSZz','GIJUF','No\x20commi','iles','\x20be\x20redu','g\x20commit','rKKDt','remote','fullName','diffStat','Run\x20`git','No\x20stage','d\x20commit','):\x20','ed.','36uPhsZK','nerating','te\x20commi','mit\x20mess','ced.','BUdCX','KfKYQ','XiaLi','mit','Consider','gkuyV','zrMvV','Failed\x20t','dim','Message','\x20commits','CANCELED','tmfko','o\x20genera','show','ted.','anges,\x20o','YGruk','endsWith','ToJzv','2754490cZoXXy','sing\x20AI\x20','nfigured','run','patchCha','--pretty','...','KjzoC','CrUTt','zRXZv','sTfcG','HEAD','(Y/n):\x20','EPVHS','SorSQ','+)+$','rev-pars','metrics','\x20more','ot\x20read\x20','QDzEm','yuClX','lZXAZ','sjZQy','3.\x20FINIS','\x20commit.','emote\x20co','onnectio','UQIms','deleted','\x22\x20and\x20se','eam\x20foun','refactor','JfHov','ted\x20—\x20co','eated\x20(-','(none)','DRY\x20RUN','toLowerC','t\x20was\x20cr','rent\x20bra','\x20chars).','vDvVV'];_0x2664=function(){return _0xf9568d;};return _0x2664();}function formatStagedFiles(_0xc2c3f0){const _0x2f2d03=_0x463b;return _0xc2c3f0[_0x2f2d03(0x213)][_0x2f2d03(0x1ca)](_0x4c7323=>'-\x20'+_0x4c7323[_0x2f2d03(0x1de)]+'\x20'+_0x4c7323['path'])['join']('\x0a');}function runOptionalChecks(){const _0x156c48=_0x463b,_0xed72a6={'mLSaN':function(_0x561c2b,_0x1c6be5){return _0x561c2b===_0x1c6be5;},'sUCkX':_0x156c48(0x21b),'UQIms':_0x156c48(0x18c),'MOtMX':_0x156c48(0x248),'HwuyB':_0x156c48(0x249),'OSUQz':_0x156c48(0x133),'nZUgT':_0x156c48(0x19d)+'sent','KOFNo':_0x156c48(0x17e),'TDAOx':function(_0xb585e,_0x42d4d1,_0x4534d5){return _0xb585e(_0x42d4d1,_0x4534d5);},'XmdSK':_0x156c48(0x192),'IoIeU':function(_0x44eb5c,_0x2b7759,_0x575041,_0x5d3ee9){return _0x44eb5c(_0x2b7759,_0x575041,_0x5d3ee9);},'CrUTt':'inherit','EDFEl':function(_0x261978,_0x1b34b0){return _0x261978(_0x1b34b0);}},_0x4da51a=_0xed72a6[_0x156c48(0x19b)](process[_0x156c48(0x214)],_0xed72a6['sUCkX'])?_0xed72a6[_0x156c48(0x14c)]:_0xed72a6[_0x156c48(0x235)],_0x5b8955=[{'label':_0xed72a6[_0x156c48(0x166)],'args':[_0xed72a6['OSUQz'],'lint',_0xed72a6[_0x156c48(0x244)]]},{'label':_0xed72a6[_0x156c48(0x1fa)],'args':[_0xed72a6['OSUQz'],_0xed72a6[_0x156c48(0x1fa)],_0x156c48(0x19d)+'sent']}];for(const _0x1a6a63 of _0x5b8955){console[_0x156c48(0x19c)](_0xed72a6[_0x156c48(0x1fb)](info,_0xed72a6['XmdSK'],_0x156c48(0x1f9)+_0x1a6a63[_0x156c48(0x15d)]+_0x156c48(0x136)));try{_0xed72a6['IoIeU'](execFileSync,_0x4da51a,_0x1a6a63[_0x156c48(0x234)],{'stdio':_0xed72a6[_0x156c48(0x138)]}),console[_0x156c48(0x19c)](_0xed72a6['TDAOx'](ok,'OK',_0x1a6a63['label']+(_0x156c48(0x1d1)+_0x156c48(0x116))));}catch{_0xed72a6['EDFEl'](failAndExit,_0x1a6a63[_0x156c48(0x15d)]+(_0x156c48(0x1a6)+_0x156c48(0x23e)+_0x156c48(0x256)+'.'));}}}async function maybePushCurrentBranch(){const _0x3a89ae=_0x463b,_0x38c1f5={'orQcv':function(_0x206e0c){return _0x206e0c();},'BJbMx':function(_0x691053){return _0x691053();},'SVhCR':function(_0x474d9a,_0x1f0d0b,_0x1b9336,_0x4102b6){return _0x474d9a(_0x1f0d0b,_0x1b9336,_0x4102b6);},'YGruk':_0x3a89ae(0x190),'lZXAZ':_0x3a89ae(0x210),'XMWFw':_0x3a89ae(0x1ef),'KjzoC':function(_0x12efd1,_0x48ed05,_0xccf7fe){return _0x12efd1(_0x48ed05,_0xccf7fe);},'SjhUA':function(_0x4b53b0,_0x48300a){return _0x4b53b0(_0x48300a);},'FPCSu':_0x3a89ae(0x169),'tBkDf':_0x3a89ae(0x231)+_0x3a89ae(0x14a)+_0x3a89ae(0x132)+'.\x20Push\x20n'+_0x3a89ae(0x241)+_0x3a89ae(0x20b),'XiaLi':function(_0x12fc2d,_0x17992b,_0x17481d,_0x73bccf){return _0x12fc2d(_0x17992b,_0x17481d,_0x73bccf);},'pIAMh':function(_0x46b68f,_0xd054e9,_0x1b7c7f){return _0x46b68f(_0xd054e9,_0x1b7c7f);},'JfHov':function(_0x4e47cd,_0x539e9d){return _0x4e47cd(_0x539e9d);}},_0x5edebc=_0x38c1f5[_0x3a89ae(0x1e1)](getCurrentBranch),_0x2ca0a5=_0x38c1f5[_0x3a89ae(0x161)](getUpstreamInfo);if(_0x2ca0a5){const _0x46f75a=await askConfirmation(_0x3a89ae(0x1f2)+_0x3a89ae(0x158)+_0x3a89ae(0x23d)+_0x5edebc+'\x22\x20to\x20\x22'+_0x2ca0a5[_0x3a89ae(0x259)]+(_0x3a89ae(0x167)+_0x3a89ae(0x212)));if(!_0x46f75a)return;try{_0x38c1f5[_0x3a89ae(0x24a)](execFileSync,_0x38c1f5[_0x3a89ae(0x12d)],[_0x38c1f5['lZXAZ'],_0x2ca0a5[_0x3a89ae(0x258)],_0x5edebc+':'+_0x2ca0a5[_0x3a89ae(0x24c)]],{'stdio':_0x38c1f5[_0x3a89ae(0x242)]}),console[_0x3a89ae(0x19c)](_0x38c1f5[_0x3a89ae(0x137)](ok,'OK',_0x3a89ae(0x15c)+_0x3a89ae(0x15b)+'o\x20'+_0x2ca0a5[_0x3a89ae(0x259)]+'.'));}catch{_0x38c1f5['SjhUA'](failAndExit,_0x3a89ae(0x123)+'o\x20push\x20t'+'o\x20'+_0x2ca0a5[_0x3a89ae(0x259)]+'.');}return;}const _0x37851c=getDefaultRemote();if(!_0x37851c){console[_0x3a89ae(0x19c)](_0x38c1f5[_0x3a89ae(0x137)](warn,_0x38c1f5[_0x3a89ae(0x1df)],_0x38c1f5[_0x3a89ae(0x1c2)]));return;}const _0x11997f=await _0x38c1f5[_0x3a89ae(0x1ae)](askConfirmation,_0x3a89ae(0x224)+_0x3a89ae(0x14f)+'d.\x20Push\x20'+'\x22'+_0x5edebc+'\x22\x20to\x20\x22'+_0x37851c+'/'+_0x5edebc+(_0x3a89ae(0x14e)+_0x3a89ae(0x1d0)+_0x3a89ae(0x1bd)+_0x3a89ae(0x115)));if(!_0x11997f)return;try{_0x38c1f5[_0x3a89ae(0x11e)](execFileSync,_0x3a89ae(0x190),[_0x38c1f5[_0x3a89ae(0x146)],_0x3a89ae(0x20f)+'stream',_0x37851c,_0x5edebc],{'stdio':_0x38c1f5[_0x3a89ae(0x242)]}),console[_0x3a89ae(0x19c)](_0x38c1f5[_0x3a89ae(0x18d)](ok,'OK','Push\x20com'+_0x3a89ae(0x211)+_0x3a89ae(0x1d6)+'eam\x20conf'+_0x3a89ae(0x16d)+_0x37851c+'/'+_0x5edebc+').'));}catch{_0x38c1f5[_0x3a89ae(0x151)](failAndExit,_0x3a89ae(0x123)+_0x3a89ae(0x18e)+_0x5edebc+'\x22\x20to\x20\x22'+_0x37851c+'\x22.');}}export async function generateCommit(_0x4898d1={}){const _0x4d7ccd=_0x463b,_0x3e6efa={'tgbYL':function(_0x1c7233){return _0x1c7233();},'xpvgF':function(_0x1bf9de,_0x1c3e2f){return _0x1bf9de(_0x1c3e2f);},'wtuJr':function(_0x26e360){return _0x26e360();},'XOlxi':_0x4d7ccd(0x179),'pHCtg':function(_0x44e41e,_0x55f45e,_0x51416f){return _0x44e41e(_0x55f45e,_0x51416f);},'kOrXO':_0x4d7ccd(0x1ce)+_0x4d7ccd(0x176)+_0x4d7ccd(0x22b)+'add\x20.).','XBuOO':function(_0x3bca43,_0xcc5712){return _0x3bca43===_0xcc5712;},'gkuyV':function(_0x1eba39,_0x1d6f93,_0x4c6213){return _0x1eba39(_0x1d6f93,_0x4c6213);},'JegGL':_0x4d7ccd(0x113)+_0x4d7ccd(0x20e),'gEyTQ':_0x4d7ccd(0x112)+'\x20add\x20<fi'+_0x4d7ccd(0x24d)+_0x4d7ccd(0x21d)+_0x4d7ccd(0x12c)+_0x4d7ccd(0x191)+_0x4d7ccd(0x160)+'mit\x20--al'+_0x4d7ccd(0x1db)+_0x4d7ccd(0x1d5)+_0x4d7ccd(0x1e5),'VkXFs':function(_0x37e258,_0x1dc68e){return _0x37e258>=_0x1dc68e;},'ifoaW':function(_0x3f2be4,_0x59781b){return _0x3f2be4(_0x59781b);},'pMHRK':function(_0xedd2ad,_0x430f29,_0x200bcf){return _0xedd2ad(_0x430f29,_0x200bcf);},'OMlbz':_0x4d7ccd(0x1c3)+_0x4d7ccd(0x254),'sEBdb':function(_0x309a83){return _0x309a83();},'RXmzP':function(_0x1d3617,_0x3a85ed){return _0x1d3617!==_0x3a85ed;},'hDirT':_0x4d7ccd(0x12f),'qkkoa':_0x4d7ccd(0x1b5),'QDzEm':function(_0x37dff6,_0xf4b9fd){return _0x37dff6(_0xf4b9fd);},'LiIfN':_0x4d7ccd(0x1e2),'sTfcG':_0x4d7ccd(0x154),'oAgwI':_0x4d7ccd(0x228)+_0x4d7ccd(0x168),'uQFMx':function(_0xb76066,_0x5ec8a2){return _0xb76066(_0x5ec8a2);},'zEYCA':function(_0x17af73,_0x4f541b,_0x129538){return _0x17af73(_0x4f541b,_0x129538);},'vAXQz':_0x4d7ccd(0x18f)+_0x4d7ccd(0x22d)+'nd\x20reque'+'sting\x20re'+_0x4d7ccd(0x1ee)+'.','mWGDN':_0x4d7ccd(0x123)+_0x4d7ccd(0x129)+_0x4d7ccd(0x119)+_0x4d7ccd(0x1f1)+'e.','OVYZQ':'Check\x20yo'+'ur\x20API\x20k'+_0x4d7ccd(0x1c7)+_0x4d7ccd(0x198)+_0x4d7ccd(0x14b)+_0x4d7ccd(0x15e)+'try\x20agai'+'n.','SorSQ':function(_0x20e616,_0x20cdfd){return _0x20e616(_0x20cdfd);},'nulbu':'Would\x20co'+'mmit\x20the'+'se\x20files','rCDIl':function(_0x44c05c,_0x554aac,_0x49645a){return _0x44c05c(_0x554aac,_0x49645a);},'aLspv':_0x4d7ccd(0x155),'jsGYa':_0x4d7ccd(0x253)+_0x4d7ccd(0x157)+_0x4d7ccd(0x153)+_0x4d7ccd(0x207)+_0x4d7ccd(0x222),'KIsRU':_0x4d7ccd(0x125),'zrMvV':'Commit\x20u'+_0x4d7ccd(0x131)+'message?'+_0x4d7ccd(0x1b1),'OSWzR':_0x4d7ccd(0x127),'HDYoK':_0x4d7ccd(0x190),'fnElM':_0x4d7ccd(0x1ef),'QdGhx':_0x4d7ccd(0x123)+_0x4d7ccd(0x1d8)+_0x4d7ccd(0x149)+_0x4d7ccd(0x232)+_0x4d7ccd(0x15f)+'ve\x20stage'+_0x4d7ccd(0x20e),'xLRGi':_0x4d7ccd(0x148)+'H'};if(_0x4898d1[_0x4d7ccd(0x246)])return _0x3e6efa['tgbYL'](amendLastCommit);const _0x44b7cd=_0x3e6efa['wtuJr'](getLLM);_0x3e6efa[_0x4d7ccd(0x233)](getGitStatus),_0x3e6efa[_0x4d7ccd(0x1c5)](section,_0x3e6efa[_0x4d7ccd(0x21e)]);_0x4898d1[_0x4d7ccd(0x180)]&&(stageAll(),console[_0x4d7ccd(0x19c)](_0x3e6efa[_0x4d7ccd(0x1cd)](ok,'OK',_0x3e6efa[_0x4d7ccd(0x17c)])));const _0x3c7eda=_0x3e6efa[_0x4d7ccd(0x1c5)](getStagedContext,MAX_PROMPT_PATCH_CHARS);_0x3e6efa[_0x4d7ccd(0x18b)](_0x3c7eda[_0x4d7ccd(0x213)][_0x4d7ccd(0x1ac)],0x0)&&_0x3e6efa[_0x4d7ccd(0x121)](failAndExit,_0x3e6efa[_0x4d7ccd(0x18a)],_0x3e6efa['gEyTQ']);_0x3e6efa['VkXFs'](_0x3c7eda['metrics'][_0x4d7ccd(0x1b8)+'t'],WARN_SPLIT_FILE_COUNT)&&_0x3e6efa[_0x4d7ccd(0x24b)](warnBlock,_0x3c7eda[_0x4d7ccd(0x141)][_0x4d7ccd(0x1b8)+'t']+(_0x4d7ccd(0x189)+_0x4d7ccd(0x171)+'tected.\x20'+_0x4d7ccd(0x120)+_0x4d7ccd(0x220)+_0x4d7ccd(0x1a8)+_0x4d7ccd(0x20c)+_0x4d7ccd(0x126)+_0x4d7ccd(0x1f6)+_0x4d7ccd(0x183)+'istory.'));_0x3e6efa[_0x4d7ccd(0x1cb)](printList,_0x3e6efa[_0x4d7ccd(0x236)],_0x3c7eda[_0x4d7ccd(0x213)]['map'](_0x54d59d=>_0x54d59d[_0x4d7ccd(0x1de)]+'\x20'+_0x54d59d[_0x4d7ccd(0x200)]));_0x4898d1[_0x4d7ccd(0x1fc)]&&(console['log'](),_0x3e6efa[_0x4d7ccd(0x1b2)](runOptionalChecks));const _0xf5a816=summarizeChanges(_0x3c7eda),_0xdbf693=detectCommitType(_0x3c7eda);if(_0x3c7eda[_0x4d7ccd(0x141)][_0x4d7ccd(0x134)+'rs']>WARN_PROMPT_DIFF_CHARS){if(_0x3e6efa[_0x4d7ccd(0x16a)](_0x3e6efa[_0x4d7ccd(0x1ea)],_0x3e6efa['qkkoa']))_0x3e6efa[_0x4d7ccd(0x144)](warnBlock,_0x4d7ccd(0x1c6)+_0x4d7ccd(0x194)+_0x4d7ccd(0x20a)+_0x3c7eda[_0x4d7ccd(0x141)][_0x4d7ccd(0x134)+'rs']+(_0x4d7ccd(0x159)+'\x20The\x20pat'+_0x4d7ccd(0x1cc)+_0x4d7ccd(0x217)+_0x4d7ccd(0x24e)+_0x4d7ccd(0x1dc)+_0x4d7ccd(0x152)+_0x4d7ccd(0x165)+_0x4d7ccd(0x1a0)+_0x4d7ccd(0x255)+_0x4d7ccd(0x11b)));else try{return EdKGll[_0x4d7ccd(0x233)](_0x49d97c);}catch(_0x49bc8c){const _0x4af274=_0x49bc8c instanceof _0x39b317?_0x49bc8c[_0x4d7ccd(0x1eb)]:_0x5b997b(_0x49bc8c);EdKGll[_0x4d7ccd(0x1c5)](_0x2486cc,_0x4af274);}}const _0x3eb8ce=_0x3e6efa[_0x4d7ccd(0x144)](loadPrompt,_0x3e6efa[_0x4d7ccd(0x238)]),_0x56ae4f=interpolate(_0x3eb8ce,{'detected_type':_0xdbf693,'staged_files':_0x3e6efa['QDzEm'](formatStagedFiles,_0x3c7eda),'summary':_0xf5a816,'diff_stat':_0x3c7eda[_0x4d7ccd(0x25a)]||_0x3e6efa[_0x4d7ccd(0x13a)],'patch':''+(_0x3c7eda['patch']||_0x4d7ccd(0x154))+(_0x3c7eda[_0x4d7ccd(0x141)][_0x4d7ccd(0x239)+'d']?_0x3e6efa[_0x4d7ccd(0x1e0)]:'')});_0x3e6efa['uQFMx'](section,_0x4d7ccd(0x245)+'ST');const _0x32742d=await _0x3e6efa[_0x4d7ccd(0x1a9)](withProgress,_0x3e6efa[_0x4d7ccd(0x1e3)],()=>_0x44b7cd[_0x4d7ccd(0x1e4)](_0x56ae4f)),_0x5d0502=_0x3e6efa[_0x4d7ccd(0x1d3)](extractMessageText,_0x32742d[_0x4d7ccd(0x1d7)]);!_0x5d0502&&_0x3e6efa[_0x4d7ccd(0x121)](failAndExit,_0x3e6efa[_0x4d7ccd(0x250)],_0x3e6efa[_0x4d7ccd(0x215)]);_0x3e6efa[_0x4d7ccd(0x13e)](printKeyValues,[{'key':'Suggeste'+_0x4d7ccd(0x114),'value':_0x5d0502}]);if(_0x4898d1[_0x4d7ccd(0x247)]){const _0x58b281=('3|2|0|1|'+_0x4d7ccd(0x1f3))[_0x4d7ccd(0x22c)]('|');let _0x19cc83=0x0;while(!![]){switch(_0x58b281[_0x19cc83++]){case'0':console['log']();continue;case'1':_0x3e6efa['pMHRK'](printList,_0x3e6efa['nulbu'],_0x3c7eda['files'][_0x4d7ccd(0x1ca)](_0x28d94c=>_0x28d94c[_0x4d7ccd(0x1de)]+'\x20'+_0x28d94c['path']));continue;case'2':console['log'](_0x3e6efa['rCDIl'](info,_0x3e6efa[_0x4d7ccd(0x16c)],_0x3e6efa['jsGYa']));continue;case'3':_0x3e6efa[_0x4d7ccd(0x144)](section,_0x3e6efa['aLspv']);continue;case'4':console['log']();continue;case'5':return;case'6':printKeyValues([{'key':_0x3e6efa[_0x4d7ccd(0x202)],'value':_0x5d0502}]);continue;}break;}}console[_0x4d7ccd(0x19c)]();const _0x4419fc=await askConfirmation(_0x3e6efa[_0x4d7ccd(0x122)],{'defaultYes':!![]});if(!_0x4419fc){console['log'](warn(_0x3e6efa['OSWzR'],_0x4d7ccd(0x199)+_0x4d7ccd(0x23c)+_0x4d7ccd(0x209)));return;}try{execFileSync(_0x3e6efa[_0x4d7ccd(0x1be)],[_0x3e6efa[_0x4d7ccd(0x238)],'-m',_0x5d0502],{'stdio':_0x3e6efa['fnElM']});}catch{_0x3e6efa['xpvgF'](failAndExit,_0x3e6efa[_0x4d7ccd(0x203)]);}_0x3e6efa[_0x4d7ccd(0x13e)](section,_0x3e6efa[_0x4d7ccd(0x197)]),await _0x3e6efa['sEBdb'](maybePushCurrentBranch);}async function amendLastCommit(){const _0xa073ff=_0x463b,_0xfef0f3={'KfKYQ':function(_0xc59714){return _0xc59714();},'aAJNr':function(_0x3b3ac4,_0x13d122,_0x29c283,_0x4f7ee5){return _0x3b3ac4(_0x13d122,_0x29c283,_0x4f7ee5);},'sHrya':_0xa073ff(0x190),'BUdCX':_0xa073ff(0x1c0),'Kvsit':function(_0x458921,_0x4f3f24,_0x354f6e,_0x2d6164){return _0x458921(_0x4f3f24,_0x354f6e,_0x2d6164);},'onfMK':_0xa073ff(0x135)+'=%B','fYnIu':'pipe','Ebesv':function(_0x14bd2d,_0x35d94c){return _0x14bd2d(_0x35d94c);},'bRQll':_0xa073ff(0x1fe)+_0xa073ff(0x163)+_0xa073ff(0x1a2)+_0xa073ff(0x174)+_0xa073ff(0x1f5)+_0xa073ff(0x175)+_0xa073ff(0x177)+'one\x20comm'+_0xa073ff(0x195),'EPVHS':function(_0x5f10eb,_0x3e91ca,_0x2ef531,_0x5bb1e1){return _0x5f10eb(_0x3e91ca,_0x2ef531,_0x5bb1e1);},'TfXFH':_0xa073ff(0x12a),'tmfko':_0xa073ff(0x13b),'tzlMt':function(_0x380517,_0x326016){return _0x380517>_0x326016;},'aODOM':function(_0x2344df,_0x4ef1be){return _0x2344df+_0x4ef1be;},'DrPKm':'\x0a(trunca'+_0xa073ff(0x168),'sjZQy':_0xa073ff(0x17f)+_0xa073ff(0x143)+_0xa073ff(0x1b4),'OlABT':function(_0x38fbcd,_0x1a09f6){return _0x38fbcd(_0x1a09f6);},'zRXZv':_0xa073ff(0x173)+_0xa073ff(0x11f),'snXCv':function(_0x39d9ce,_0x5a3077,_0x1d1711){return _0x39d9ce(_0x5a3077,_0x1d1711);},'mCTAf':_0xa073ff(0x187)+_0xa073ff(0x1eb),'hbkMF':function(_0x504725,_0x916b3a,_0x1e0708){return _0x504725(_0x916b3a,_0x1e0708);},'IWAHv':function(_0x38345f,_0x2eedc6){return _0x38345f(_0x2eedc6);},'MONEh':_0xa073ff(0x150),'uQNiw':'(already'+_0xa073ff(0x216)+_0xa073ff(0x1a5),'jVFvt':_0xa073ff(0x1ff)+_0xa073ff(0x118)+_0xa073ff(0x206)+_0xa073ff(0x23a)+'e...','ZCmgM':'Failed\x20t'+'o\x20genera'+'te\x20amend'+_0xa073ff(0x1aa)+_0xa073ff(0x1f1)+'e.','aVevr':'Amend\x20co'+'mmit\x20wit'+_0xa073ff(0x22e)+_0xa073ff(0x1bc)+_0xa073ff(0x13c),'KCRbp':_0xa073ff(0x127),'yuClX':function(_0x3182d1,_0x5613b3){return _0x3182d1!==_0x5613b3;},'nNXAw':_0xa073ff(0x1af),'wVZqY':'SDKIO','eqAsG':function(_0x2b3741,_0x31af12,_0x538c6a,_0x4e4c68){return _0x2b3741(_0x31af12,_0x538c6a,_0x4e4c68);},'aZGtf':_0xa073ff(0x1dd),'pxjpk':_0xa073ff(0x1ef),'wXJmL':_0xa073ff(0x1ed),'qFwle':_0xa073ff(0x173)+_0xa073ff(0x11a)+_0xa073ff(0x225)+_0xa073ff(0x12b)},_0x4cacfd=_0xfef0f3[_0xa073ff(0x11d)](getLLM);let _0x37d58f,_0x40c790;try{_0x37d58f=_0xfef0f3['aAJNr'](execFileSync,_0xfef0f3[_0xa073ff(0x22a)],[_0xa073ff(0x140)+'e',_0xfef0f3[_0xa073ff(0x11c)],_0xa073ff(0x13b)],{'stdio':'pipe'})[_0xa073ff(0x1c1)]()[_0xa073ff(0x1b7)](),_0x40c790=_0xfef0f3[_0xa073ff(0x1da)](execFileSync,_0xfef0f3['sHrya'],['log','-1',_0xfef0f3[_0xa073ff(0x172)]],{'stdio':_0xfef0f3[_0xa073ff(0x24f)]})['toString']()[_0xa073ff(0x1b7)]();}catch{_0xfef0f3['Ebesv'](failAndExit,_0xfef0f3[_0xa073ff(0x1ab)]);}let _0xe5375;try{const _0x3e04ba=_0xfef0f3[_0xa073ff(0x13d)](execFileSync,_0xa073ff(0x190),[_0xfef0f3[_0xa073ff(0x16f)],'--stat',_0xfef0f3[_0xa073ff(0x128)]],{'stdio':_0xfef0f3[_0xa073ff(0x24f)]})[_0xa073ff(0x1c1)]()['trim']();_0xe5375=_0xfef0f3['tzlMt'](_0x3e04ba[_0xa073ff(0x1ac)],MAX_PROMPT_PATCH_CHARS)?_0xfef0f3[_0xa073ff(0x1c8)](_0x3e04ba['slice'](0x0,MAX_PROMPT_PATCH_CHARS),_0xfef0f3['DrPKm']):_0x3e04ba;}catch{_0xe5375=_0xfef0f3[_0xa073ff(0x147)];}_0xfef0f3[_0xa073ff(0x218)](section,_0xa073ff(0x1a1)),_0xfef0f3[_0xa073ff(0x218)](printKeyValues,[{'key':_0xfef0f3[_0xa073ff(0x139)],'value':_0xfef0f3['snXCv'](style,_0x37d58f,ui[_0xa073ff(0x23b)])},{'key':_0xfef0f3[_0xa073ff(0x1ba)],'value':_0xfef0f3[_0xa073ff(0x162)](style,_0x40c790,ui[_0xa073ff(0x124)])}]);const _0x8fc3bd=_0xfef0f3[_0xa073ff(0x1d2)](loadPrompt,_0xa073ff(0x1e2)),_0x261aa6=interpolate(_0x8fc3bd,{'detected_type':_0xfef0f3[_0xa073ff(0x170)],'staged_files':_0xfef0f3[_0xa073ff(0x182)],'summary':_0xa073ff(0x1a4)+'\x20last\x20co'+_0xa073ff(0x1d4)+_0x40c790,'diff_stat':_0xe5375,'patch':_0xe5375}),_0x37e32c=await _0xfef0f3[_0xa073ff(0x208)](withProgress,_0xfef0f3[_0xa073ff(0x1b0)],()=>_0x4cacfd[_0xa073ff(0x1e4)](_0x261aa6)),_0x2faab7=extractMessageText(_0x37e32c[_0xa073ff(0x1d7)]);!_0x2faab7&&_0xfef0f3[_0xa073ff(0x218)](failAndExit,_0xfef0f3[_0xa073ff(0x1b6)]);console['log'](),_0xfef0f3[_0xa073ff(0x1d9)](printKeyValues,[{'key':_0xa073ff(0x16e)+'age','value':_0x2faab7}]),console[_0xa073ff(0x19c)]();const _0x376e22=await _0xfef0f3[_0xa073ff(0x162)](askConfirmation,_0xfef0f3[_0xa073ff(0x178)],{'defaultYes':!![]});if(!_0x376e22){console[_0xa073ff(0x19c)](warn(_0xfef0f3[_0xa073ff(0x193)],'Commit\x20w'+_0xa073ff(0x21f)+_0xa073ff(0x1c4)));return;}try{if(_0xfef0f3[_0xa073ff(0x145)](_0xfef0f3['nNXAw'],_0xfef0f3['wVZqY']))_0xfef0f3[_0xa073ff(0x221)](execFileSync,_0xfef0f3['sHrya'],[_0xa073ff(0x1e2),_0xfef0f3[_0xa073ff(0x1a7)],'-m',_0x2faab7],{'stdio':_0xfef0f3['pxjpk']}),console[_0xa073ff(0x19c)](ok(_0xfef0f3[_0xa073ff(0x1a3)],_0xfef0f3[_0xa073ff(0x243)]));else return _0xa073ff(0x19a);}catch{failAndExit('Failed\x20t'+'o\x20amend\x20'+'commit.');}}
|
|
1
|
+
(function(_0x1eb37b,_0xe16ce5){const _0x46a044=_0x8508,_0x13eff1=_0x1eb37b();while(!![]){try{const _0x306b33=-parseInt(_0x46a044(0x1df))/0x1*(-parseInt(_0x46a044(0x20e))/0x2)+-parseInt(_0x46a044(0x20f))/0x3+-parseInt(_0x46a044(0x1a1))/0x4*(-parseInt(_0x46a044(0x205))/0x5)+-parseInt(_0x46a044(0x17b))/0x6*(parseInt(_0x46a044(0xfe))/0x7)+parseInt(_0x46a044(0x127))/0x8+-parseInt(_0x46a044(0x21c))/0x9+parseInt(_0x46a044(0x208))/0xa;if(_0x306b33===_0xe16ce5)break;else _0x13eff1['push'](_0x13eff1['shift']());}catch(_0x382ed4){_0x13eff1['push'](_0x13eff1['shift']());}}}(_0x183b,0x47a8c));const _0x5a01d2=(function(){let _0x58aea7=!![];return function(_0xa69222,_0x30fd10){const _0x1be034=_0x58aea7?function(){if(_0x30fd10){const _0x453ccb=_0x30fd10['apply'](_0xa69222,arguments);return _0x30fd10=null,_0x453ccb;}}:function(){};return _0x58aea7=![],_0x1be034;};}()),_0x546718=_0x5a01d2(this,function(){const _0x2d8011=_0x8508,_0x4e859d={'HzVck':'(((.+)+)'+_0x2d8011(0xf8)};return _0x546718[_0x2d8011(0x10f)]()['search'](_0x2d8011(0x1d2)+_0x2d8011(0xf8))[_0x2d8011(0x10f)]()['construc'+_0x2d8011(0xee)](_0x546718)[_0x2d8011(0x15e)](_0x4e859d['HzVck']);});_0x546718();import{execFileSync}from'node:child_process';import{interpolate,loadPrompt}from'../aiPrompts.js';import{getCurrentBranch,getDefaultRemote,getGitStatus,getStagedContext,getUpstreamInfo,stageAll}from'../git.js';import{createLLM,extractMessageText}from'../llm.js';function _0x183b(){const _0x3dc9bb=['ksLvj','lint','\x20added,\x20','kadFN','PaVjU','\x20last\x20co','VLKJr','MDbCW','420ufnKuU','d\x20files.','metrics','ted)','Running\x20','mmit\x20the','\x20failed.','other','feat','--amend','files\x20de','diffStat','mXAxq','rTWaU','eated\x20(-','CkaQQ','KbELJ','wxAgZ','content','dim','\x20Abortin','(could\x20n','UCceU','jyAaY','\x20for\x20a\x20c','yellow','\x20add\x20<fi','gRMQB','patchCha','toLowerC','ot\x20read\x20','lJNDS','nerating','l`\x20to\x20st','\x22\x20to\x20\x22','mmit:\x20','renamed','t\x20upstre','Staged\x20f','construc','DRY\x20RUN','Commit\x20u','--if-pre','APqpP','WZRPR','age','t\x20messag','KvDeN','\x20sure\x20th','(((.+)+)','o\x20create','FkYcG','ch\x20sent\x20','riVun','y/N):\x20','r\x20use\x20`g','CANCELED','RUWSd','sFYhI','ll\x20chang','wPDcQ','ns.\x20','75304baCjCQ','No\x20git\x20r','f\x20(','dancX','pnOYT','Failed\x20t','modified','npm','KUKnk','KHxIk','h\x20this\x20m','--pretty','kLGbE','RBwMK','gASQE','e\x20trunca','insertio','ng\x20into\x20','test','ve\x20stage','YgXzE','\x20complet','AMENDED','te\x20commi','status','log','\x20a\x20bette','fix','fullName','pipe','o\x20push\x20t','BgKuL','fkpRe','nd\x20reque','OFpwO','stage\x20ch','label','RyOyZ','1345wKEokk','every','wqtAn','7961490fqlgzH','yddey','eam\x20foun','mernW','OZZWj','rev-pars','2YoQcWM','777006sBOTjN','Suggeste','QIyPE','\x20more','\x20commits','Check\x20yo','it.','as\x20not\x20c','kNiHP','\x20inserti','ojdgo','hanged\x20(','show','5217318KVkOig','inherit','ast\x20comm','o\x20genera','qBkMC','d\x20commit','New\x20mess','zIcYl','r\x20messag','RieQc','ey\x20and\x20n','AmmtG','AblBO','spMsJ','add\x20.).','URjeq','to\x20the\x20A','RIBRl','branch','TTyTG','chore','etwork\x20c','\x22\x20and\x20se','OjWhP','ed.','startsWi','yDlJQ','ced.','Would\x20co','push','Commit\x20w','o\x20push\x20\x22','\x20staged\x20','Dcmra','platform','VTclo','otFJy','mended.','path','ybUIl','AI\x20is\x20th','map','DoUjx','invoke','tor','slice','commit','MpuNj','deletion','CUpqt','essage?\x20','\x20splitti','trim','(already','+)+$','length','llXis','Run\x20`git','lity\x20may','Zozbl','429065LmIJux','truncate','join','tZdqP','WLsxI','BnTgF','No\x20stage','tected.\x20','CHECK','KZxBN','nfigured','TWBrH','rent\x20bra','git','xIBoa','mOSGt','uMDBu','toString','coryD','qNBBW','I\x20will\x20b','age\x20upda','LiUpA','YdmOL','KmnGh','age\x20ever','krxdw','.\x20Push\x20n','run','patch','ere\x20is\x20a','message','(none)','\x20chars).','wcxQB','files','YwlMH','-dry-run','inking\x20a','mmit\x20wit','lggVK','4311976mRacuB','Yfneh','docs','message?','No\x20upstr','mxPlP','lketD','pleted\x20a','added','fileCoun','TLwPI','ftTQV','\x20committ','sing\x20AI\x20','quXsY','mit','Large\x20st','sent','2.\x20SUGGE','endsWith','nd\x20upstr','it.\x20Make','mit\x20--al','yDJCG','\x20commit.','--stat','aNcWy','ailable.','t\x20was\x20cr','mit\x20mess','ons,\x20','able.','HEAD','\x20deleted','3.\x20FINIS','hjfEy','nZIPt','one\x20comm','oZEwT','XnyKz','stream','ything.','=%B','):\x20','vRzcC','ase','puRIe','Amend\x20co','se\x20files','emote\x20co','(Y/n):\x20','\x20Check\x20i','Could\x20no','hYtXU','ted.','search','\x20deletio','refactor','Message','FQXUx','MlNBK','remote','enovB','diff)','e...','JkTcq','DSzvV','doypm','\x20renamed','Last\x20com','\x20mode).','\x20modifie','\x20The\x20pat','Staged\x20a','eRicV','RcHMM','lxKBi','Nusol','EbfEt','Consider','amend','anges,\x20o','COocl','AMEND','30XWCXPz','args','f\x20you\x20ha','win32','kjGid','--set-up','--short','\x20(Y/n):\x20','deleted','n,\x20then\x20','igured\x20(','nRQEU','cmuYx','pleted\x20t','as\x20not\x20a','iles','\x0a(trunca','zuWJi','lrQqt','commit.','nNSqI','wJICG','mafIs','istory.','check','SfAcq','jBJSD','vILpH','sZYgO','lJMnv'];_0x183b=function(){return _0x3dc9bb;};return _0x183b();}import{askConfirmation}from'../prompts.js';import{failAndExit,info,ok,printKeyValues,printList,section,style,ui,warn,warnBlock,withProgress}from'../ui.js';const MAX_PROMPT_PATCH_CHARS=0x2710,WARN_SPLIT_FILE_COUNT=0xa,WARN_PROMPT_DIFF_CHARS=0xc350;function getLLM(){const _0x4711ec=_0x8508,_0x25bebf={'VTclo':function(_0x31f77f,_0x5bd149){return _0x31f77f(_0x5bd149);},'lggVK':function(_0x27305a){return _0x27305a();},'pnOYT':function(_0x38c610,_0x12ea8e){return _0x38c610!==_0x12ea8e;},'PFpBq':_0x4711ec(0x18c),'BnTgF':function(_0x23bd01,_0x5ad844){return _0x23bd01 instanceof _0x5ad844;}};try{return _0x25bebf[_0x4711ec(0x126)](createLLM);}catch(_0xe8bfc9){if(_0x25bebf[_0x4711ec(0x1e3)](_0x4711ec(0x1f3),_0x25bebf['PFpBq'])){const _0x557184=_0x25bebf[_0x4711ec(0x103)](_0xe8bfc9,Error)?_0xe8bfc9[_0x4711ec(0x11d)]:_0x25bebf[_0x4711ec(0x23f)](String,_0xe8bfc9);_0x25bebf[_0x4711ec(0x23f)](failAndExit,_0x557184);}else _0x25bebf[_0x4711ec(0x23f)](_0x1a48c7,_0x4711ec(0x1e4)+_0x4711ec(0x21f)+'te\x20amend'+'ed\x20commi'+_0x4711ec(0x1cf)+'e.');}}function countByStatus(_0x17850c){const _0xa1a8cf=_0x8508,_0x23107f={'Nusol':'chore','wPDcQ':function(_0x5dc875,_0x29486b,_0xe7861f){return _0x5dc875(_0x29486b,_0xe7861f);},'enovB':_0xa1a8cf(0x104)+_0xa1a8cf(0x1a2),'OFpwO':'Run\x20`git'+'\x20add\x20<fi'+'le>`\x20to\x20'+_0xa1a8cf(0x202)+_0xa1a8cf(0x178)+_0xa1a8cf(0x1d8)+'emit\x20com'+_0xa1a8cf(0x13d)+'l`\x20to\x20st'+'age\x20ever'+_0xa1a8cf(0x150),'riVun':function(_0x250776,_0x32ff68){return _0x250776!==_0x32ff68;},'nNSqI':'oRvcf','MDbCW':function(_0x1d270a,_0x4022df){return _0x1d270a!==_0x4022df;},'oZEwT':_0xa1a8cf(0x23d),'lJMnv':_0xa1a8cf(0x107)},_0x5c884e={'added':0x0,'modified':0x0,'deleted':0x0,'renamed':0x0,'other':0x0};for(const _0x3c2f6f of _0x17850c['files']){if(_0x23107f[_0xa1a8cf(0x1d6)](_0x23107f[_0xa1a8cf(0x18f)],_0x23107f[_0xa1a8cf(0x18f)]))return _0x23107f[_0xa1a8cf(0x174)];else{if(_0x3c2f6f[_0xa1a8cf(0x1f7)][_0xa1a8cf(0x235)+'th']('A')){_0x5c884e['added']+=0x1;continue;}if(_0x3c2f6f[_0xa1a8cf(0x1f7)][_0xa1a8cf(0x235)+'th']('M')){_0x5c884e[_0xa1a8cf(0x1e5)]+=0x1;continue;}if(_0x3c2f6f[_0xa1a8cf(0x1f7)][_0xa1a8cf(0x235)+'th']('D')){if(_0x23107f[_0xa1a8cf(0x1a0)](_0x23107f[_0xa1a8cf(0x14d)],_0x23107f[_0xa1a8cf(0x198)])){_0x5c884e[_0xa1a8cf(0x183)]+=0x1;continue;}else _0x23107f[_0xa1a8cf(0x1dd)](_0x58ecde,_0x23107f[_0xa1a8cf(0x165)],_0x23107f[_0xa1a8cf(0x201)]);}if(_0x3c2f6f[_0xa1a8cf(0x1f7)][_0xa1a8cf(0x235)+'th']('R')){_0x5c884e['renamed']+=0x1;continue;}_0x5c884e[_0xa1a8cf(0x1a8)]+=0x1;}}return _0x5c884e;}function detectCommitType(_0x5e55fb){const _0xf6293a=_0x8508,_0x94cc72={'puRIe':_0xf6293a(0x1fa),'Yfneh':function(_0x37bb05,_0x35d128){return _0x37bb05(_0x35d128);},'kNNYo':_0xf6293a(0x129),'DoUjx':function(_0x5c0192,_0x432995){return _0x5c0192>_0x432995;},'mOSGt':_0xf6293a(0x22f),'nRQEU':_0xf6293a(0x1f1),'KmnGh':function(_0x3f57c8,_0xa9327b){return _0x3f57c8>_0xa9327b;},'APqpP':function(_0x27131a,_0x1dd33f){return _0x27131a===_0x1dd33f;},'JgnUp':function(_0x1a6149,_0x5f1ebf){return _0x1a6149===_0x5f1ebf;},'TWBrH':_0xf6293a(0x230),'sMhVY':function(_0xd0bb05,_0x1a0aa8){return _0xd0bb05>=_0x1a0aa8;},'nCDLC':function(_0x144783,_0x4ee4c6){return _0x144783>_0x4ee4c6;},'fkpRe':function(_0x104c43,_0x196ec0){return _0x104c43>_0x196ec0;},'gRMQB':'refactor'},_0x5ca959=_0x5e55fb[_0xf6293a(0x121)]['map'](_0xb05a2a=>_0xb05a2a['path'][_0xf6293a(0x1be)+_0xf6293a(0x154)]()),_0x26a436=_0x94cc72[_0xf6293a(0x128)](countByStatus,_0x5e55fb);if(_0x5ca959['length']>0x0&&_0x5ca959[_0xf6293a(0x206)](_0x3e6bd3=>/(^|\/)(readme|docs?|changelog)/['test'](_0x3e6bd3)||_0x3e6bd3[_0xf6293a(0x13a)]('.md')))return _0x94cc72['kNNYo'];if(_0x94cc72[_0xf6293a(0xec)](_0x5ca959['length'],0x0)&&_0x5ca959['every'](_0x56e020=>/(^|\/)(test|tests|__tests__|spec)/['test'](_0x56e020)||/\.(spec|test)\./[_0xf6293a(0x1f1)](_0x56e020)))return _0x94cc72[_0xf6293a(0x10d)]!==_0x94cc72[_0xf6293a(0x10d)]?_0x94cc72[_0xf6293a(0x155)]:_0x94cc72[_0xf6293a(0x186)];if(_0x94cc72[_0xf6293a(0x116)](_0x26a436[_0xf6293a(0x183)],0x0)&&_0x94cc72[_0xf6293a(0x1cc)](_0x26a436[_0xf6293a(0x12f)],0x0)&&_0x94cc72['JgnUp'](_0x26a436['modified'],0x0))return _0x94cc72[_0xf6293a(0x109)];if(_0x94cc72['sMhVY'](_0x26a436[_0xf6293a(0x12f)],_0x26a436[_0xf6293a(0x1e5)])&&_0x94cc72['nCDLC'](_0x26a436[_0xf6293a(0x12f)],0x0))return _0xf6293a(0x1a9);if(_0x94cc72[_0xf6293a(0x1ff)](_0x26a436[_0xf6293a(0x1e5)],0x0)&&_0x5e55fb[_0xf6293a(0x1a3)][_0xf6293a(0x1ef)+'ns']<=_0x5e55fb[_0xf6293a(0x1a3)][_0xf6293a(0xf2)+'s'])return _0x94cc72[_0xf6293a(0x155)];return _0x94cc72[_0xf6293a(0x1bc)];}function summarizeChanges(_0x534ae3){const _0x250f6f=_0x8508,_0x3b4ec6={'sZYgO':function(_0x5a613d,_0x10fd81){return _0x5a613d>_0x10fd81;},'SjfDv':function(_0x321ea3,_0x36cb64){return _0x321ea3-_0x36cb64;},'eRicV':function(_0x3596f6,_0x28ffc9){return _0x3596f6||_0x28ffc9;},'tZdqP':'No\x20file\x20'+'paths\x20av'+_0x250f6f(0x142)},_0x370b10=countByStatus(_0x534ae3),_0x2318fe=_0x534ae3['files'][_0x250f6f(0xef)](0x0,0x3)[_0x250f6f(0x245)](_0x29c482=>_0x29c482[_0x250f6f(0x242)]),_0x11d38b=_0x3b4ec6[_0x250f6f(0x197)](_0x534ae3['files']['length'],0x3)?_0x2318fe[_0x250f6f(0x100)](',\x20')+'\x20+'+_0x3b4ec6['SjfDv'](_0x534ae3[_0x250f6f(0x121)][_0x250f6f(0xf9)],0x3)+_0x250f6f(0x212):_0x2318fe['join'](',\x20');return _0x534ae3[_0x250f6f(0x1a3)][_0x250f6f(0x130)+'t']+('\x20files\x20c'+_0x250f6f(0x21a))+_0x370b10['added']+_0x250f6f(0x19b)+_0x370b10['modified']+(_0x250f6f(0x16e)+'d,\x20')+_0x370b10[_0x250f6f(0x183)]+(_0x250f6f(0x148)+',\x20')+_0x370b10[_0x250f6f(0x1c5)]+(_0x250f6f(0x16b)+'),\x20')+_0x534ae3[_0x250f6f(0x1a3)][_0x250f6f(0x1ef)+'ns']+(_0x250f6f(0x218)+_0x250f6f(0x145))+_0x534ae3[_0x250f6f(0x1a3)][_0x250f6f(0xf2)+'s']+(_0x250f6f(0x15f)+_0x250f6f(0x1de))+_0x3b4ec6[_0x250f6f(0x171)](_0x11d38b,_0x3b4ec6[_0x250f6f(0x101)]);}function formatStagedFiles(_0x3ef016){const _0x3651c2=_0x8508;return _0x3ef016[_0x3651c2(0x121)]['map'](_0x2f9bc1=>'-\x20'+_0x2f9bc1[_0x3651c2(0x1f7)]+'\x20'+_0x2f9bc1[_0x3651c2(0x242)])['join']('\x0a');}function runOptionalChecks(){const _0xb5c74a=_0x8508,_0x570dce={'dancX':_0xb5c74a(0x1b6)+_0xb5c74a(0x1bf)+_0xb5c74a(0x166),'yddey':function(_0x318c6f,_0x549c2f){return _0x318c6f(_0x549c2f);},'WLsxI':'Failed\x20t'+_0xb5c74a(0x1d3)+_0xb5c74a(0x13f)+_0xb5c74a(0x15a)+_0xb5c74a(0x17d)+_0xb5c74a(0x1f2)+_0xb5c74a(0x1a2),'vILpH':function(_0xf15acf){return _0xf15acf();},'KbELJ':_0xb5c74a(0x17e),'xIBoa':'npm.cmd','bonAd':_0xb5c74a(0x1e6),'EbfEt':_0xb5c74a(0x19a),'AblBO':_0xb5c74a(0x1f1),'RBwMK':_0xb5c74a(0x1cb)+_0xb5c74a(0x138),'mxPlP':function(_0x5582ff,_0x5c2b6d){return _0x5582ff===_0x5c2b6d;},'wJICG':_0xb5c74a(0x173),'PaVjU':function(_0x15c09d,_0x49f6e3,_0x4d5381){return _0x15c09d(_0x49f6e3,_0x4d5381);},'sFYhI':_0xb5c74a(0x106),'aHSFx':function(_0x20f46a,_0x251e01){return _0x20f46a!==_0x251e01;},'URjeq':'ceqBG','yDlJQ':function(_0xa2623d,_0x506943,_0x5a6f1c,_0x943f04){return _0xa2623d(_0x506943,_0x5a6f1c,_0x943f04);},'krxdw':_0xb5c74a(0x21d),'ALoNc':function(_0x4bc4fe,_0x267ade,_0x4570db){return _0x4bc4fe(_0x267ade,_0x4570db);},'hjfEy':_0xb5c74a(0x1d4),'MpuNj':'YiFyT'},_0x3d182d=process[_0xb5c74a(0x23e)]===_0x570dce[_0xb5c74a(0x1b1)]?_0x570dce[_0xb5c74a(0x10c)]:_0x570dce['bonAd'],_0x4e40ca=[{'label':_0x570dce[_0xb5c74a(0x175)],'args':[_0xb5c74a(0x11a),_0x570dce[_0xb5c74a(0x175)],_0xb5c74a(0x1cb)+_0xb5c74a(0x138)]},{'label':_0x570dce[_0xb5c74a(0x228)],'args':[_0xb5c74a(0x11a),_0x570dce['AblBO'],_0x570dce[_0xb5c74a(0x1ec)]]}];for(const _0x17b7eb of _0x4e40ca){if(_0x570dce[_0xb5c74a(0x12c)](_0x570dce[_0xb5c74a(0x190)],_0x570dce['wJICG'])){console['log'](_0x570dce[_0xb5c74a(0x19d)](info,_0x570dce[_0xb5c74a(0x1db)],_0xb5c74a(0x1a5)+_0x17b7eb[_0xb5c74a(0x203)]+'...'));try{_0x570dce['aHSFx'](_0x570dce[_0xb5c74a(0x22b)],_0x570dce[_0xb5c74a(0x22b)])?_0x1a54d3=_0x570dce[_0xb5c74a(0x1e2)]:(_0x570dce[_0xb5c74a(0x236)](execFileSync,_0x3d182d,_0x17b7eb[_0xb5c74a(0x17c)],{'stdio':_0x570dce[_0xb5c74a(0x118)]}),console[_0xb5c74a(0x1f8)](_0x570dce['ALoNc'](ok,'OK',_0x17b7eb[_0xb5c74a(0x203)]+(_0xb5c74a(0x1f4)+_0xb5c74a(0x234)))));}catch{_0x570dce['mxPlP'](_0x570dce[_0xb5c74a(0x14a)],_0x570dce[_0xb5c74a(0xf1)])?_0x570dce['yddey'](_0x2904a2,_0x570dce[_0xb5c74a(0x102)]):_0x570dce[_0xb5c74a(0x209)](failAndExit,_0x17b7eb[_0xb5c74a(0x203)]+(_0xb5c74a(0x1a7)+_0xb5c74a(0x1b5)+'g\x20commit'+'.'));}}else _0x27dcf5['log'](),_0x570dce[_0xb5c74a(0x196)](_0x145f33);}}async function maybePushCurrentBranch(){const _0x419ecc=_0x8508,_0x4c2427={'HsEMx':_0x419ecc(0x1d2)+_0x419ecc(0xf8),'FQXUx':function(_0x14f5e5){return _0x14f5e5();},'QVbxh':_0x419ecc(0x10b),'uMDBu':_0x419ecc(0x239),'ojdgo':_0x419ecc(0x21d),'LiUpA':function(_0x548906,_0x3a65d6,_0x412a29){return _0x548906(_0x3a65d6,_0x412a29);},'spMsJ':function(_0x8984b9,_0x51b41d){return _0x8984b9(_0x51b41d);},'YwlMH':function(_0x5f3bb6,_0x45f0a0,_0xf76c3f){return _0x5f3bb6(_0x45f0a0,_0xf76c3f);},'quXsY':'SKIPPED','lJNDS':function(_0x4dd88d,_0x443c7f){return _0x4dd88d===_0x443c7f;},'hYtXU':_0x419ecc(0x14b),'otFJy':_0x419ecc(0x1fe),'HCBBV':function(_0x3d498e,_0x3e598a,_0x55d222,_0x4e2d16){return _0x3d498e(_0x3e598a,_0x55d222,_0x4e2d16);}},_0x598089=_0x4c2427[_0x419ecc(0x162)](getCurrentBranch),_0x56a473=getUpstreamInfo();if(_0x56a473){const _0x26dee2=await askConfirmation('Push\x20cur'+_0x419ecc(0x10a)+'nch\x20\x22'+_0x598089+_0x419ecc(0x1c3)+_0x56a473['fullName']+('\x22\x20now?\x20('+_0x419ecc(0x1d7)));if(!_0x26dee2)return;try{execFileSync(_0x4c2427['QVbxh'],[_0x4c2427['uMDBu'],_0x56a473[_0x419ecc(0x164)],_0x598089+':'+_0x56a473[_0x419ecc(0x22e)]],{'stdio':_0x4c2427[_0x419ecc(0x219)]}),console[_0x419ecc(0x1f8)](_0x4c2427[_0x419ecc(0x114)](ok,'OK','Push\x20com'+_0x419ecc(0x188)+'o\x20'+_0x56a473['fullName']+'.'));}catch{_0x4c2427[_0x419ecc(0x229)](failAndExit,_0x419ecc(0x1e4)+_0x419ecc(0x1fd)+'o\x20'+_0x56a473[_0x419ecc(0x1fb)]+'.');}return;}const _0x627ce5=getDefaultRemote();if(!_0x627ce5){console[_0x419ecc(0x1f8)](_0x4c2427[_0x419ecc(0x122)](warn,_0x4c2427[_0x419ecc(0x135)],_0x419ecc(0x1e0)+_0x419ecc(0x158)+_0x419ecc(0x108)+_0x419ecc(0x119)+'ot\x20avail'+_0x419ecc(0x146)));return;}const _0x3e8489=await _0x4c2427['spMsJ'](askConfirmation,_0x419ecc(0x12b)+_0x419ecc(0x20a)+'d.\x20Push\x20'+'\x22'+_0x598089+_0x419ecc(0x1c3)+_0x627ce5+'/'+_0x598089+(_0x419ecc(0x232)+_0x419ecc(0x1c6)+'am?\x20(y/N'+_0x419ecc(0x152)));if(!_0x3e8489)return;try{if(_0x4c2427[_0x419ecc(0x1c0)](_0x4c2427[_0x419ecc(0x15c)],_0x4c2427[_0x419ecc(0x240)]))return _0x15835b[_0x419ecc(0x10f)]()[_0x419ecc(0x15e)](pmbAkR['HsEMx'])[_0x419ecc(0x10f)]()[_0x419ecc(0x1c8)+_0x419ecc(0xee)](_0x325147)[_0x419ecc(0x15e)](_0x419ecc(0x1d2)+_0x419ecc(0xf8));else _0x4c2427['HCBBV'](execFileSync,_0x4c2427['QVbxh'],[_0x4c2427[_0x419ecc(0x10e)],_0x419ecc(0x180)+_0x419ecc(0x14f),_0x627ce5,_0x598089],{'stdio':_0x4c2427['ojdgo']}),console[_0x419ecc(0x1f8)](_0x4c2427[_0x419ecc(0x122)](ok,'OK','Push\x20com'+_0x419ecc(0x12e)+_0x419ecc(0x13b)+'eam\x20conf'+_0x419ecc(0x185)+_0x627ce5+'/'+_0x598089+').'));}catch{failAndExit(_0x419ecc(0x1e4)+_0x419ecc(0x23b)+_0x598089+_0x419ecc(0x1c3)+_0x627ce5+'\x22.');}}export async function generateCommit(_0x155931={}){const _0x6b3f41=_0x8508,_0x518edb={'mafIs':function(_0x11cc17){return _0x11cc17();},'ksLvj':function(_0x4d1b62,_0x435cb2){return _0x4d1b62(_0x435cb2);},'OgtXZ':function(_0x453abd,_0x127215,_0x2fce09){return _0x453abd(_0x127215,_0x2fce09);},'kadFN':_0x6b3f41(0x170)+_0x6b3f41(0x1dc)+'es\x20(git\x20'+_0x6b3f41(0x22a),'XVqxq':function(_0x1680ef,_0x397d9e){return _0x1680ef===_0x397d9e;},'mernW':function(_0x55fc34,_0xfdd466,_0x2a4884){return _0x55fc34(_0xfdd466,_0x2a4884);},'WkrKI':_0x6b3f41(0x104)+'d\x20files.','YdmOL':_0x6b3f41(0xfb)+_0x6b3f41(0x1bb)+'le>`\x20to\x20'+'stage\x20ch'+_0x6b3f41(0x178)+_0x6b3f41(0x1d8)+'emit\x20com'+_0x6b3f41(0x13d)+_0x6b3f41(0x1c2)+_0x6b3f41(0x117)+_0x6b3f41(0x150),'aNcWy':function(_0x277cb2,_0x3dd042){return _0x277cb2>=_0x3dd042;},'RcHMM':function(_0x2af961,_0x21e65b,_0x5ac574){return _0x2af961(_0x21e65b,_0x5ac574);},'yDJCG':_0x6b3f41(0x1c7)+_0x6b3f41(0x18a),'wcxQB':function(_0xb83090,_0x2c2167){return _0xb83090(_0x2c2167);},'RUWSd':function(_0x4b4550,_0x24d5ac){return _0x4b4550>_0x24d5ac;},'TLwPI':function(_0x469f27,_0x4dfca0){return _0x469f27(_0x4dfca0);},'hzVDn':_0x6b3f41(0xf0),'RIBRl':function(_0x166b93,_0x5797a7,_0x413b77){return _0x166b93(_0x5797a7,_0x413b77);},'llXis':function(_0x39f755,_0x2b96d9){return _0x39f755(_0x2b96d9);},'JkTcq':_0x6b3f41(0x11e),'kjGid':_0x6b3f41(0x18b)+_0x6b3f41(0x1a4),'RieQc':_0x6b3f41(0x139)+'ST','TDXVx':function(_0x1e38e6,_0x4da6a9,_0xa25022){return _0x1e38e6(_0x4da6a9,_0xa25022);},'OIDnb':_0x6b3f41(0x244)+_0x6b3f41(0x124)+_0x6b3f41(0x200)+'sting\x20re'+'sponse..'+'.','mkfzt':_0x6b3f41(0x1e4)+'o\x20genera'+_0x6b3f41(0x1f6)+_0x6b3f41(0x1cf)+'e.','mYUen':_0x6b3f41(0x214)+'ur\x20API\x20k'+_0x6b3f41(0x226)+_0x6b3f41(0x231)+'onnectio'+_0x6b3f41(0x184)+'try\x20agai'+'n.','qNBBW':_0x6b3f41(0x210)+_0x6b3f41(0x221),'KUKnk':function(_0x553f75,_0x505f79){return _0x553f75(_0x505f79);},'jBJSD':function(_0x38e7b0,_0x3b1cca,_0x5c47c6){return _0x38e7b0(_0x3b1cca,_0x5c47c6);},'gASQE':_0x6b3f41(0x1c9),'AmmtG':'No\x20commi'+_0x6b3f41(0x143)+_0x6b3f41(0x1af)+_0x6b3f41(0x123)+_0x6b3f41(0x16d),'XnyKz':function(_0x282b93,_0x5a39aa,_0x22289f){return _0x282b93(_0x5a39aa,_0x22289f);},'vRzcC':_0x6b3f41(0x238)+_0x6b3f41(0x1a6)+_0x6b3f41(0x157),'wqtAn':function(_0x311da2,_0x544f56){return _0x311da2(_0x544f56);},'ybUIl':_0x6b3f41(0x161),'rTWaU':function(_0x345891,_0x50b8a2,_0x17107f){return _0x345891(_0x50b8a2,_0x17107f);},'WZRPR':_0x6b3f41(0x1ca)+_0x6b3f41(0x134)+_0x6b3f41(0x12a)+_0x6b3f41(0x182),'CkaQQ':function(_0x2e9676,_0x1d2cf6,_0x287336){return _0x2e9676(_0x1d2cf6,_0x287336);},'Zozbl':_0x6b3f41(0x1d9),'MlNBK':_0x6b3f41(0x10b),'kNiHP':_0x6b3f41(0x21d),'KvDeN':_0x6b3f41(0x1e4)+_0x6b3f41(0x1d3)+_0x6b3f41(0x13f)+'\x20Check\x20i'+'f\x20you\x20ha'+_0x6b3f41(0x1f2)+_0x6b3f41(0x1a2),'RyOyZ':function(_0x202099,_0x38648f){return _0x202099(_0x38648f);},'kqEyT':_0x6b3f41(0x149)+'H','kfZQy':function(_0x4f3155){return _0x4f3155();}};if(_0x155931[_0x6b3f41(0x177)])return _0x518edb['mafIs'](amendLastCommit);const _0x2c18d3=_0x518edb[_0x6b3f41(0x191)](getLLM);getGitStatus(),_0x518edb[_0x6b3f41(0x199)](section,'1.\x20STAGE');_0x155931['all']&&(stageAll(),console[_0x6b3f41(0x1f8)](_0x518edb['OgtXZ'](ok,'OK',_0x518edb[_0x6b3f41(0x19c)])));const _0x5a8709=_0x518edb['ksLvj'](getStagedContext,MAX_PROMPT_PATCH_CHARS);_0x518edb['XVqxq'](_0x5a8709['files'][_0x6b3f41(0xf9)],0x0)&&_0x518edb[_0x6b3f41(0x20b)](failAndExit,_0x518edb['WkrKI'],_0x518edb[_0x6b3f41(0x115)]);_0x518edb[_0x6b3f41(0x141)](_0x5a8709[_0x6b3f41(0x1a3)][_0x6b3f41(0x130)+'t'],WARN_SPLIT_FILE_COUNT)&&warnBlock(_0x5a8709[_0x6b3f41(0x1a3)][_0x6b3f41(0x130)+'t']+(_0x6b3f41(0x23c)+_0x6b3f41(0x1ab)+_0x6b3f41(0x105)+_0x6b3f41(0x176)+_0x6b3f41(0xf5)+_0x6b3f41(0x1f0)+'multiple'+_0x6b3f41(0x213)+_0x6b3f41(0x1b9)+'leaner\x20h'+_0x6b3f41(0x192)));_0x518edb[_0x6b3f41(0x172)](printList,_0x518edb[_0x6b3f41(0x13e)],_0x5a8709[_0x6b3f41(0x121)]['map'](_0x408849=>_0x408849['status']+'\x20'+_0x408849['path']));_0x155931[_0x6b3f41(0x193)]&&(console[_0x6b3f41(0x1f8)](),_0x518edb[_0x6b3f41(0x191)](runOptionalChecks));const _0x5ee465=_0x518edb[_0x6b3f41(0x199)](summarizeChanges,_0x5a8709),_0x3bdcd8=_0x518edb[_0x6b3f41(0x120)](detectCommitType,_0x5a8709);_0x518edb[_0x6b3f41(0x1da)](_0x5a8709[_0x6b3f41(0x1a3)][_0x6b3f41(0x1bd)+'rs'],WARN_PROMPT_DIFF_CHARS)&&warnBlock(_0x6b3f41(0x137)+'aged\x20dif'+_0x6b3f41(0x1e1)+_0x5a8709['metrics'][_0x6b3f41(0x1bd)+'rs']+(_0x6b3f41(0x11f)+_0x6b3f41(0x16f)+_0x6b3f41(0x1d5)+_0x6b3f41(0x22c)+_0x6b3f41(0x112)+_0x6b3f41(0x1ee)+'ted\x20—\x20co'+'mmit\x20qua'+_0x6b3f41(0xfc)+'\x20be\x20redu'+_0x6b3f41(0x237)));const _0x5b100=_0x518edb[_0x6b3f41(0x131)](loadPrompt,_0x518edb['hzVDn']),_0x48bffd=_0x518edb[_0x6b3f41(0x22d)](interpolate,_0x5b100,{'detected_type':_0x3bdcd8,'staged_files':_0x518edb['llXis'](formatStagedFiles,_0x5a8709),'summary':_0x5ee465,'diff_stat':_0x5a8709[_0x6b3f41(0x1ac)]||_0x6b3f41(0x11e),'patch':''+(_0x5a8709[_0x6b3f41(0x11b)]||_0x518edb[_0x6b3f41(0x168)])+(_0x5a8709[_0x6b3f41(0x1a3)][_0x6b3f41(0xff)+'d']?_0x518edb[_0x6b3f41(0x17f)]:'')});section(_0x518edb[_0x6b3f41(0x225)]);const _0xcef391=await _0x518edb['TDXVx'](withProgress,_0x518edb['OIDnb'],()=>_0x2c18d3['invoke'](_0x48bffd)),_0x1f8754=extractMessageText(_0xcef391[_0x6b3f41(0x1b3)]);!_0x1f8754&&failAndExit(_0x518edb['mkfzt'],_0x518edb['mYUen']);_0x518edb[_0x6b3f41(0xfa)](printKeyValues,[{'key':_0x518edb[_0x6b3f41(0x111)],'value':_0x1f8754}]);if(_0x155931['dryRun']){_0x518edb[_0x6b3f41(0x1e7)](section,_0x6b3f41(0x1c9)),console[_0x6b3f41(0x1f8)](_0x518edb[_0x6b3f41(0x195)](info,_0x518edb[_0x6b3f41(0x1ed)],_0x518edb[_0x6b3f41(0x227)])),console[_0x6b3f41(0x1f8)](),_0x518edb[_0x6b3f41(0x14e)](printList,_0x518edb[_0x6b3f41(0x153)],_0x5a8709[_0x6b3f41(0x121)][_0x6b3f41(0x245)](_0x276b0f=>_0x276b0f[_0x6b3f41(0x1f7)]+'\x20'+_0x276b0f[_0x6b3f41(0x242)])),_0x518edb['wqtAn'](printKeyValues,[{'key':_0x518edb[_0x6b3f41(0x243)],'value':_0x1f8754}]),console['log']();return;}console[_0x6b3f41(0x1f8)]();const _0x21828e=await _0x518edb[_0x6b3f41(0x1ae)](askConfirmation,_0x518edb[_0x6b3f41(0x1cd)],{'defaultYes':!![]});if(!_0x21828e){console['log'](_0x518edb[_0x6b3f41(0x1b0)](warn,_0x518edb[_0x6b3f41(0xfd)],_0x6b3f41(0x23a)+_0x6b3f41(0x216)+'reated.'));return;}try{execFileSync(_0x518edb[_0x6b3f41(0x163)],['commit','-m',_0x1f8754],{'stdio':_0x518edb[_0x6b3f41(0x217)]});}catch{_0x518edb[_0x6b3f41(0x207)](failAndExit,_0x518edb[_0x6b3f41(0x1d0)]);}_0x518edb[_0x6b3f41(0x204)](section,_0x518edb['kqEyT']),await _0x518edb['kfZQy'](maybePushCurrentBranch);}function _0x8508(_0x31ce88,_0x56c0f9){_0x31ce88=_0x31ce88-0xec;const _0xc3dc4a=_0x183b();let _0x546718=_0xc3dc4a[_0x31ce88];return _0x546718;}async function amendLastCommit(){const _0x54824f=_0x8508,_0x159351={'ftTQV':function(_0x26585b,_0x3cd29f,_0x11cb75,_0x320b74){return _0x26585b(_0x3cd29f,_0x11cb75,_0x320b74);},'wxAgZ':_0x54824f(0x20d)+'e','coryD':_0x54824f(0x181),'kLGbE':_0x54824f(0x147),'QIyPE':_0x54824f(0x1fc),'lrQqt':_0x54824f(0x10b),'CUpqt':'log','doypm':_0x54824f(0x1ea)+_0x54824f(0x151),'COocl':function(_0x3b2ea0,_0x4fa1ee){return _0x3b2ea0(_0x4fa1ee);},'OjWhP':function(_0x5a48a0,_0x3af796,_0x3be1c8,_0x10162f){return _0x5a48a0(_0x3af796,_0x3be1c8,_0x10162f);},'DSzvV':_0x54824f(0x21b),'pFvwF':_0x54824f(0x140),'jdQUY':function(_0x487345,_0x5139c4){return _0x487345>_0x5139c4;},'AUDiu':_0x54824f(0x17a),'qBkMC':function(_0x22d766,_0x5e8867){return _0x22d766(_0x5e8867);},'bXcBJ':_0x54824f(0x16c)+_0x54824f(0x136),'jyAaY':function(_0xde95e5,_0x4343b2,_0x443f1d){return _0xde95e5(_0x4343b2,_0x443f1d);},'KHxIk':'Current\x20'+'message','mXAxq':_0x54824f(0xf0),'SfAcq':_0x54824f(0x160),'NsqAB':function(_0x37e733,_0x16cf27,_0x232125){return _0x37e733(_0x16cf27,_0x232125);},'lketD':'AI\x20is\x20ge'+_0x54824f(0x1c1)+_0x54824f(0x1f9)+_0x54824f(0x224)+_0x54824f(0x167),'UCceU':function(_0x240472,_0x4eb27e){return _0x240472(_0x4eb27e);},'OLBja':function(_0x31426a,_0x436d08){return _0x31426a(_0x436d08);},'zIcYl':_0x54824f(0x222)+_0x54824f(0x1ce),'nyPlh':function(_0x3597f4,_0x5ac88b,_0x29dded){return _0x3597f4(_0x5ac88b,_0x29dded);},'cmuYx':_0x54824f(0x1d9),'ovgxc':_0x54824f(0x23a)+_0x54824f(0x189)+_0x54824f(0x241),'ntVCQ':_0x54824f(0x1aa),'MyKkD':'inherit','VLKJr':_0x54824f(0x1f5),'OZZWj':_0x54824f(0x1e4)+'o\x20amend\x20'+_0x54824f(0x18e)},_0x22264a=getLLM();let _0x59702c,_0x9bf6e1;try{_0x59702c=_0x159351[_0x54824f(0x132)](execFileSync,_0x54824f(0x10b),[_0x159351[_0x54824f(0x1b2)],_0x159351[_0x54824f(0x110)],_0x159351[_0x54824f(0x1eb)]],{'stdio':_0x159351[_0x54824f(0x211)]})[_0x54824f(0x10f)]()[_0x54824f(0xf6)](),_0x9bf6e1=_0x159351[_0x54824f(0x132)](execFileSync,_0x159351[_0x54824f(0x18d)],[_0x159351[_0x54824f(0xf3)],'-1',_0x159351[_0x54824f(0x16a)]],{'stdio':_0x159351[_0x54824f(0x211)]})['toString']()['trim']();}catch{_0x159351[_0x54824f(0x179)](failAndExit,_0x54824f(0x15b)+'t\x20read\x20l'+_0x54824f(0x21e)+_0x54824f(0x13c)+_0x54824f(0x1d1)+_0x54824f(0x11c)+'t\x20least\x20'+_0x54824f(0x14c)+_0x54824f(0x215));}let _0x5d11c3;try{const _0x40f761=_0x159351[_0x54824f(0x233)](execFileSync,_0x54824f(0x10b),[_0x159351[_0x54824f(0x169)],_0x159351['pFvwF'],_0x159351[_0x54824f(0x1eb)]],{'stdio':_0x159351[_0x54824f(0x211)]})[_0x54824f(0x10f)]()[_0x54824f(0xf6)]();_0x5d11c3=_0x159351['jdQUY'](_0x40f761[_0x54824f(0xf9)],MAX_PROMPT_PATCH_CHARS)?_0x40f761['slice'](0x0,MAX_PROMPT_PATCH_CHARS)+('\x0a(trunca'+_0x54824f(0x1a4)):_0x40f761;}catch{_0x5d11c3=_0x54824f(0x1b6)+'ot\x20read\x20'+_0x54824f(0x166);}_0x159351[_0x54824f(0x179)](section,_0x159351['AUDiu']),_0x159351[_0x54824f(0x220)](printKeyValues,[{'key':_0x159351['bXcBJ'],'value':_0x159351[_0x54824f(0x1b8)](style,_0x59702c,ui[_0x54824f(0x1ba)])},{'key':_0x159351[_0x54824f(0x1e8)],'value':style(_0x9bf6e1,ui[_0x54824f(0x1b4)])}]);const _0x298ddb=_0x159351['qBkMC'](loadPrompt,_0x159351[_0x54824f(0x1ad)]),_0x525d23=_0x159351[_0x54824f(0x1b8)](interpolate,_0x298ddb,{'detected_type':_0x159351[_0x54824f(0x194)],'staged_files':_0x54824f(0xf7)+_0x54824f(0x133)+'ed)','summary':'Amending'+_0x54824f(0x19e)+_0x54824f(0x1c4)+_0x9bf6e1,'diff_stat':_0x5d11c3,'patch':_0x5d11c3}),_0x4357dd=await _0x159351['NsqAB'](withProgress,_0x159351[_0x54824f(0x12d)],()=>_0x22264a[_0x54824f(0xed)](_0x525d23)),_0x596fe9=_0x159351[_0x54824f(0x1b7)](extractMessageText,_0x4357dd[_0x54824f(0x1b3)]);!_0x596fe9&&_0x159351['OLBja'](failAndExit,_0x54824f(0x1e4)+_0x54824f(0x21f)+'te\x20amend'+'ed\x20commi'+'t\x20messag'+'e.');console['log'](),_0x159351[_0x54824f(0x179)](printKeyValues,[{'key':_0x159351[_0x54824f(0x223)],'value':_0x596fe9}]),console[_0x54824f(0x1f8)]();const _0x2fe3cd=await askConfirmation(_0x54824f(0x156)+_0x54824f(0x125)+_0x54824f(0x1e9)+_0x54824f(0xf4)+_0x54824f(0x159),{'defaultYes':!![]});if(!_0x2fe3cd){console['log'](_0x159351['nyPlh'](warn,_0x159351[_0x54824f(0x187)],_0x159351['ovgxc']));return;}try{_0x159351[_0x54824f(0x132)](execFileSync,_0x159351['lrQqt'],[_0x159351[_0x54824f(0x1ad)],_0x159351['ntVCQ'],'-m',_0x596fe9],{'stdio':_0x159351['MyKkD']}),console[_0x54824f(0x1f8)](ok(_0x159351[_0x54824f(0x19f)],_0x54824f(0x16c)+_0x54824f(0x144)+_0x54824f(0x113)+_0x54824f(0x15d)));}catch{failAndExit(_0x159351[_0x54824f(0x20c)]);}}
|