gl-life-claude-zen 1.0.2 → 1.0.3
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/dist/hooks/auto-format.js +1 -1
- package/dist/hooks/complete-task.js +1 -1
- package/dist/hooks/enforce-migration-workflow.js +1 -1
- package/dist/hooks/enforce-structured-development.js +1 -1
- package/dist/hooks/enforce-test-pyramid.js +1 -1
- package/dist/hooks/init-task-tracker.js +1 -1
- package/dist/hooks/start-task.js +1 -1
- package/dist/hooks/task-status.js +1 -1
- package/dist/hooks/validate-database-changes.js +1 -1
- package/dist/hooks/validate-e2e-coverage.js +1 -1
- package/dist/hooks/validate-git-workflow.js +1 -1
- package/dist/hooks/validate-migration-impact.js +1 -1
- package/dist/hooks/validate-task-completion.js +1 -1
- package/dist/hooks/validate-test-quality.js +1 -1
- package/dist/hooks/validate-test-results.js +1 -1
- package/dist/hooks/validate-ui-integration.js +1 -1
- package/dist/scripts/help.js +1 -1
- package/dist/scripts/plan-amend.js +1 -1
- package/dist/scripts/plan-create.js +1 -1
- package/dist/scripts/plan-help.js +1 -1
- package/dist/scripts/plan-init.js +1 -1
- package/dist/scripts/plan-manager.js +1 -1
- package/dist/scripts/setup-git-hooks.js +1 -1
- package/dist/scripts/task-done.js +1 -1
- package/dist/scripts/task-merge.js +1 -1
- package/dist/scripts/task-next.js +1 -1
- package/dist/scripts/task-start.js +1 -1
- package/dist/scripts/task-status.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x496e95=_0x3779;(function(_0x19eb31,_0x1fe24c){const _0xaa0a2a=_0x3779,_0x2e32a5=_0x19eb31();while(!![]){try{const _0x51d6e2=parseInt(_0xaa0a2a(0xc7))/0x1*(-parseInt(_0xaa0a2a(0xe1))/0x2)+parseInt(_0xaa0a2a(0x107))/0x3*(parseInt(_0xaa0a2a(0x118))/0x4)+parseInt(_0xaa0a2a(0xbf))/0x5+-parseInt(_0xaa0a2a(0xc3))/0x6*(parseInt(_0xaa0a2a(0x11d))/0x7)+-parseInt(_0xaa0a2a(0xba))/0x8+-parseInt(_0xaa0a2a(0x92))/0x9*(parseInt(_0xaa0a2a(0x14b))/0xa)+parseInt(_0xaa0a2a(0xe3))/0xb;if(_0x51d6e2===_0x1fe24c)break;else _0x2e32a5['push'](_0x2e32a5['shift']());}catch(_0x185413){_0x2e32a5['push'](_0x2e32a5['shift']());}}}(_0x59c9,0xcbdae));var h=(_0x5f4cfb=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x5f4cfb,{'get':(_0x1e5971,_0x498b47)=>(typeof require<'u'?require:_0x1e5971)[_0x498b47]}):_0x5f4cfb)(function(_0x4abba7){const _0x7e64c2=_0x3779,_0x1b4307={'LGZVe':function(_0x1d8453,_0x3e6ef9){return _0x1d8453<_0x3e6ef9;},'DvnSN':function(_0x25a8dd,_0x56f889){return _0x25a8dd(_0x56f889);},'EEMLB':function(_0x3d101c,_0x50afc8){return _0x3d101c+_0x50afc8;},'VCHjc':function(_0x5bb4b0,_0x40d97e){return _0x5bb4b0+_0x40d97e;},'fcYjb':_0x7e64c2(0x12c)};if(_0x1b4307[_0x7e64c2(0x155)](typeof require,'u'))return require[_0x7e64c2(0x158)](this,arguments);throw _0x1b4307[_0x7e64c2(0xa0)](Error,_0x1b4307[_0x7e64c2(0xfc)](_0x1b4307[_0x7e64c2(0x95)]('Dynamic\x20require\x20of\x20\x22',_0x4abba7),_0x1b4307[_0x7e64c2(0x154)]));}),n=h('fs'),$=h(_0x496e95(0xf7)),d=h('path'),w=_0x496e95(0xdc);n[_0x496e95(0x116)](w)||(console[_0x496e95(0x13f)]('❌\x20Error:\x20No\x20active\x20plan\x20found'),console[_0x496e95(0x13f)]('Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager'),process[_0x496e95(0x129)](0x1));var T=n['readFileSync'](w,_0x496e95(0x12d))[_0x496e95(0xf2)](),y=d['join']('.claude/plans',T),v=d[_0x496e95(0xd2)](y,'PROJECT-PLAN.json'),f=d[_0x496e95(0xd2)](y,_0x496e95(0x11f)),m=d[_0x496e95(0xd2)](y,_0x496e95(0x122)),S=d[_0x496e95(0xd2)](y,_0x496e95(0x113));n[_0x496e95(0x116)](f)||(console[_0x496e95(0x13f)](_0x496e95(0x93)+T+_0x496e95(0x99)),console['error']('Run\x20\x22npm\x20run\x20plan:init\x22\x20first\x20to\x20lock\x20the\x20plan'),process[_0x496e95(0x129)](0x1));function _0x3779(_0x2d683a,_0x2aedd0){_0x2d683a=_0x2d683a-0x91;const _0x57b20b=_0x59c9();let _0x434948=_0x57b20b[_0x2d683a];return _0x434948;}const _0x1ac0ae={};_0x1ac0ae['input']=process['stdin'],_0x1ac0ae[_0x496e95(0xce)]=process[_0x496e95(0x141)];var N=$[_0x496e95(0xa7)](_0x1ac0ae);function a(_0x449464){const _0x511402=_0x496e95,_0x24821f={};_0x24821f[_0x511402(0x103)]=_0x511402(0xde),_0x24821f[_0x511402(0x126)]=_0x511402(0x144);const _0x2b1a18=_0x24821f;return new Promise(_0x47fb2b=>{const _0x222480=_0x511402;if(_0x222480(0x150)!==_0x2b1a18[_0x222480(0x126)])N[_0x222480(0x106)](_0x449464,_0x47fb2b);else return _0x1d0c10['toString']()[_0x222480(0xf6)]('(((.+)+)+)+$')[_0x222480(0x12f)]()[_0x222480(0x11a)](_0x100bc8)['search'](FjSmDL['fUkDm']);});}async function F(){const _0x26d95b=_0x496e95,_0x1d386b={'KMNkm':_0x26d95b(0xde),'KRupj':function(_0x345f9e,_0x47548c,_0x29f69d){return _0x345f9e(_0x47548c,_0x29f69d);},'mUKwD':_0x26d95b(0x12d),'WiPmc':_0x26d95b(0x136),'vButT':_0x26d95b(0x11b),'RNdLg':_0x26d95b(0x125),'TNgba':'Enter\x20choice\x20(1-5):\x20','yPQzf':function(_0x323c5c,_0x14b2b4,_0x308d79){return _0x323c5c(_0x14b2b4,_0x308d79);},'gmWzz':function(_0x4194c8,_0x411621,_0x1d190e){return _0x4194c8(_0x411621,_0x1d190e);},'baLtx':_0x26d95b(0x9a),'qoHnY':_0x26d95b(0xc9)},_0x20a170=(function(){let _0x10e95b=!![];return function(_0x5ac67b,_0x49fd74){const _0x119b58=_0x10e95b?function(){const _0x2db6cd=_0x3779;if(_0x49fd74){const _0x3928cd=_0x49fd74[_0x2db6cd(0x158)](_0x5ac67b,arguments);return _0x49fd74=null,_0x3928cd;}}:function(){};return _0x10e95b=![],_0x119b58;};}()),_0x154e6e=_0x1d386b[_0x26d95b(0x15a)](_0x20a170,this,function(){const _0x586d26=_0x26d95b;return _0x154e6e[_0x586d26(0x12f)]()[_0x586d26(0xf6)](_0x1d386b[_0x586d26(0x110)])[_0x586d26(0x12f)]()['constructor'](_0x154e6e)['search'](_0x1d386b[_0x586d26(0x110)]);});_0x154e6e(),(console['log'](_0x26d95b(0x96)),console[_0x26d95b(0x139)](_0x26d95b(0x143)));const _0x291e59={};_0x291e59[_0x26d95b(0xdb)]=[];let _0x57121c=JSON['parse'](n[_0x26d95b(0xb2)](f,_0x1d386b['mUKwD'])),_0x2af642=n[_0x26d95b(0x116)](m)?JSON[_0x26d95b(0x10a)](n[_0x26d95b(0xb2)](m,_0x1d386b[_0x26d95b(0x120)])):_0x291e59;switch(console[_0x26d95b(0x139)](_0x26d95b(0xd6)),console['log'](_0x1d386b[_0x26d95b(0x15e)]),console[_0x26d95b(0x139)](_0x26d95b(0xfe)),console[_0x26d95b(0x139)](_0x1d386b[_0x26d95b(0xc6)]),console[_0x26d95b(0x139)](_0x1d386b[_0x26d95b(0xb5)]),console['log']('5.\x20Cancel\x0a'),(await a(_0x1d386b[_0x26d95b(0x97)]))[_0x26d95b(0xf2)]()){case'1':await x(_0x57121c,_0x2af642);break;case'2':await _0x1d386b[_0x26d95b(0xfb)](A,_0x57121c,_0x2af642);break;case'3':await _0x1d386b[_0x26d95b(0xae)](O,_0x57121c,_0x2af642);break;case'4':j(_0x2af642);break;case'5':console['log'](_0x1d386b[_0x26d95b(0x91)]);break;default:console[_0x26d95b(0x13f)](_0x1d386b[_0x26d95b(0xca)]),process[_0x26d95b(0x129)](0x1);}N['close']();}async function x(_0xa3d9b,_0x290814){const _0x585ba1=_0x496e95,_0x16c859={'iuCAq':function(_0x4e9ec3,_0x231c80){return _0x4e9ec3(_0x231c80);},'xqbip':_0x585ba1(0x14e),'PWqHQ':function(_0xae7655,_0x53dd79){return _0xae7655(_0x53dd79);},'keTJj':_0x585ba1(0x146),'oIfms':function(_0x2aa530,_0x5f0997){return _0x2aa530(_0x5f0997);},'YCosu':'Reason\x20for\x20adding:\x20','iITxo':function(_0x3d41b6,_0x3278e1){return _0x3d41b6(_0x3278e1);},'pwUWs':_0x585ba1(0x13c),'lLSAN':'implementation','yONDY':_0x585ba1(0x15b),'LTpNn':_0x585ba1(0xb1)};console[_0x585ba1(0x139)](_0x585ba1(0x15d));const _0x3ed482={};_0x3ed482['design']=[],_0x3ed482[_0x585ba1(0xbe)]=[],_0x3ed482[_0x585ba1(0x98)]=[],_0x3ed482[_0x585ba1(0x119)]=[];let _0x104fca=await _0x16c859[_0x585ba1(0x131)](a,_0x585ba1(0xaa)),_0x49b72e=await a(_0x16c859[_0x585ba1(0x121)]),_0x5b88ed=await _0x16c859[_0x585ba1(0x12a)](a,_0x16c859[_0x585ba1(0xa5)]),_0x503055=await _0x16c859[_0x585ba1(0x13e)](a,_0x16c859[_0x585ba1(0xfd)]),_0x3ded0c=_0xa3d9b['taskFiles'][_0x585ba1(0x114)](_0x40fd26=>parseInt(_0x40fd26['id'][_0x585ba1(0x100)](_0x585ba1(0xd8),'')))[_0x585ba1(0x10d)](_0x383b2b=>!isNaN(_0x383b2b)),_0x4537df=Math[_0x585ba1(0x105)](..._0x3ded0c,0x0)+0x1,_0x3c3fab=_0x585ba1(0xd8)+_0x16c859[_0x585ba1(0xc8)](String,_0x4537df)[_0x585ba1(0x128)](0x3,'0'),_0x1a5724={'id':_0x3c3fab,'title':_0x104fca[_0x585ba1(0xf2)](),'description':_0x49b72e[_0x585ba1(0xf2)]()||'','status':_0x16c859[_0x585ba1(0xf9)],'phase':_0x5b88ed[_0x585ba1(0xf2)]()||_0x16c859[_0x585ba1(0xb8)],'subproject':null,'subprojectName':null,'milestone':null,'milestoneName':null,'dependencies':[],'completionCriteria':[],'testCases':[],'estimatedHours':null,'actualHours':null,'startedAt':null,'completedAt':null,'blockedReason':null,'artifacts':_0x3ed482,'notes':[]},_0x1ec14b=d[_0x585ba1(0xd2)](S,_0x3c3fab+_0x585ba1(0xe4));n['writeFileSync'](_0x1ec14b,JSON['stringify'](_0x1a5724,null,0x2)),_0xa3d9b[_0x585ba1(0xc1)][_0x585ba1(0x127)]({'id':_0x3c3fab,'title':_0x104fca[_0x585ba1(0xf2)](),'status':_0x16c859['pwUWs'],'file':_0x585ba1(0xc2)+_0x3c3fab+_0x585ba1(0xe4)}),_0xa3d9b[_0x585ba1(0xd7)][_0x585ba1(0x135)]++,_0xa3d9b[_0x585ba1(0xd7)][_0x585ba1(0x13c)]++,_0xa3d9b[_0x585ba1(0x108)]=new Date()['toISOString'](),n[_0x585ba1(0xbd)](f,JSON[_0x585ba1(0xab)](_0xa3d9b,null,0x2)),_0x290814[_0x585ba1(0xdb)][_0x585ba1(0x127)]({'timestamp':new Date()['toISOString'](),'type':_0x16c859[_0x585ba1(0xad)],'taskId':_0x3c3fab,'reason':_0x503055['trim'](),'changes':{'title':_0x104fca['trim'](),'phase':_0x5b88ed[_0x585ba1(0xf2)]()||_0x16c859[_0x585ba1(0xb8)]}}),n[_0x585ba1(0xbd)](m,JSON['stringify'](_0x290814,null,0x2)),console[_0x585ba1(0x139)]('\x0a✅\x20Task\x20'+_0x3c3fab+'\x20added\x20successfully!'),console['log'](_0x585ba1(0xb7)+_0x104fca),console[_0x585ba1(0x139)](_0x16c859[_0x585ba1(0xcb)]),console[_0x585ba1(0x139)]('\x20\x20\x20File:\x20'+_0x1ec14b),console[_0x585ba1(0x139)](_0x585ba1(0xec));}function _0x59c9(){const _0x479a68=['Phase\x20(design/implementation/testing/deployment):\x20','description','uGjkC','Complete\x20or\x20abandon\x20it\x20first.','ZejTD','10sKsnWk','dependencies','JrRPR','Task\x20description\x20(optional):\x20','No\x20amendments\x20yet.','ShkDX','length','\x20\x20\x20Description\x20updated','type','fcYjb','LGZVe','.\x20[','New\x20description\x20(or\x20press\x20Enter\x20to\x20keep):\x20','apply','\x0aCurrent\x20title:\x20','KRupj','add','kBApL','\x0a---\x20Add\x20New\x20Task\x20---\x0a','WiPmc','baLtx','10653534aDzLko','❌\x20Error:\x20Plan\x20','❌\x20Cannot\x20remove\x20completed\x20tasks','VCHjc','📝\x20Plan\x20Amendment\x20Tool\x0a','TNgba','tests','\x20is\x20not\x20locked\x20yet','Cancelled.','fhaAk','title','\x0a❌\x20Cannot\x20remove\x20task.\x20The\x20following\x20tasks\x20depend\x20on\x20it:','\x0a✅\x20Task\x20','VeQkS','DvnSN','dDRJE','catch','cJcZr','\x20\x20\x20Removed:\x20','keTJj','ItGwB','createInterface','forEach','RHtxL','Task\x20title:\x20','stringify','rmZZR','yONDY','gmWzz','cpGqz','❌\x20Cannot\x20remove\x20task\x20that\x20is\x20in_progress','\x20\x20\x20Status:\x20pending','readFileSync','\x20\x20\x20Changed:\x20\x22','toISOString','RNdLg','oldDescription','\x20\x20\x20Title:\x20','lLSAN','changes','3137576JAfudM','\x20\x20\x20Date:\x20','toUpperCase','writeFileSync','code','7385310qrdTUh','iSlLa','taskFiles','.claude/tasks/','6zBuFwE','unlinkSync','TqOme','vButT','193zhVEZc','iITxo','Invalid\x20choice','qoHnY','LTpNn','CTViA','\x20updated\x20successfully!','output','\x20(was\x20','timestamp','❌\x20Task\x20','join','\x0a---\x20Update\x20Existing\x20Task\x20---\x0a','jFGIh','reason','What\x20would\x20you\x20like\x20to\x20do?\x0a','statistics','TASK-','dUqEk','kKGxB','amendments','.claude/ACTIVE-PLAN','Reason\x20for\x20removal:\x20','(((.+)+)+)+$','jazbi','status','16116iAKXop','Total\x20amendments:\x20','24933755zIhIzR','.json','\x0a---\x20Remove\x20Task\x20---\x0a','oldTitle','hcwoW','Task\x20ID\x20to\x20remove\x20(e.g.,\x20TASK-001):\x20','NzTuZ','completed','KYFdj','\x0aAmendment\x20logged\x20for\x20audit\x20trail.','yWYcY','rhdJm','DJSvZ','Reason\x20for\x20update:\x20','VAHWQ','trim','hShEl','Ydpcv','\x0aCurrent\x20description:\x20','search','readline','splice','pwUWs','\x20\x20\x20Added:\x20','yPQzf','EEMLB','YCosu','2.\x20Update\x20an\x20existing\x20task','blocked','replace','KOxzW','\x20\x20\x20Phase:\x20','fUkDm','bwKmX','max','question','796779Rcvyrx','lastUpdated','\x20\x20\x20-\x20','parse','phase','LekgG','filter','mdPTH','No\x20changes\x20made.','KMNkm','rDWfI','sEolC','tasks','map','vWEgo','existsSync','\x20\x20\x20Reason:\x20','4CcrsDE','documentation','constructor','3.\x20Remove\x20a\x20task','❌\x20Cannot\x20modify\x20completed\x20tasks','302771fsnOuD','in_progress','TASK-TRACKER.json','mUKwD','xqbip','PLAN-AMENDMENTS.json','GlPqz','\x20not\x20found','4.\x20View\x20amendment\x20history','HJICh','push','padStart','exit','PWqHQ','newTitle','\x22\x20is\x20not\x20supported','utf8','Task\x20ID\x20(e.g.,\x20TASK-001):\x20','toString','didky','iuCAq','itSha','taskId','YwlkW','totalTasks','1.\x20Add\x20a\x20new\x20task','find','\x22\x20→\x20\x22','log','KsGWO','keys','pending','update','oIfms','error','GMhRI','stdout','remove','This\x20allows\x20you\x20to\x20modify\x20a\x20locked\x20plan\x20while\x20maintaining\x20audit\x20trail.\x0a','nDMGE','BrQBg'];_0x59c9=function(){return _0x479a68;};return _0x59c9();}async function A(_0x25c508,_0x44ff9e){const _0x7b3b45=_0x496e95,_0x2c98ab={'rmZZR':_0x7b3b45(0x12d),'Ydpcv':function(_0x55fb52,_0x1608ee){return _0x55fb52===_0x1608ee;},'vWEgo':_0x7b3b45(0xea),'lhEDf':_0x7b3b45(0x11c),'kKGxB':function(_0x36a81f,_0x555a0c){return _0x36a81f(_0x555a0c);},'BrQBg':_0x7b3b45(0x157),'mdPTH':_0x7b3b45(0xf0),'NzTuZ':function(_0x47d6e6,_0x33fefc){return _0x47d6e6===_0x33fefc;},'fhaAk':_0x7b3b45(0x10f),'GlPqz':'update'};console[_0x7b3b45(0x139)](_0x7b3b45(0xd3));let _0x43163f=await a(_0x7b3b45(0x12e)),_0x5124d2=d[_0x7b3b45(0xd2)](S,_0x43163f[_0x7b3b45(0xf2)]()+_0x7b3b45(0xe4));n[_0x7b3b45(0x116)](_0x5124d2)||(console[_0x7b3b45(0x13f)](_0x7b3b45(0xd1)+_0x43163f+_0x7b3b45(0x124)),process[_0x7b3b45(0x129)](0x1));let _0x7814a1=JSON[_0x7b3b45(0x10a)](n[_0x7b3b45(0xb2)](_0x5124d2,_0x2c98ab[_0x7b3b45(0xac)]));_0x2c98ab[_0x7b3b45(0xf4)](_0x7814a1[_0x7b3b45(0xe0)],_0x2c98ab[_0x7b3b45(0x115)])&&(console[_0x7b3b45(0x13f)](_0x2c98ab['lhEDf']),process[_0x7b3b45(0x129)](0x1)),console[_0x7b3b45(0x139)](_0x7b3b45(0x159)+_0x7814a1['title']);let _0x254498=await a('New\x20title\x20(or\x20press\x20Enter\x20to\x20keep):\x20');console[_0x7b3b45(0x139)](_0x7b3b45(0xf5)+(_0x7814a1[_0x7b3b45(0x147)]||'(none)'));let _0x4c9dfd=await _0x2c98ab['kKGxB'](a,_0x2c98ab[_0x7b3b45(0x145)]),_0x5ab27a=await _0x2c98ab[_0x7b3b45(0xda)](a,_0x2c98ab[_0x7b3b45(0x10e)]),_0x3d9dc7={};if(_0x254498[_0x7b3b45(0xf2)]()&&(_0x3d9dc7[_0x7b3b45(0xe6)]=_0x7814a1['title'],_0x3d9dc7[_0x7b3b45(0x12b)]=_0x254498['trim'](),_0x7814a1[_0x7b3b45(0x9c)]=_0x254498['trim']()),_0x4c9dfd[_0x7b3b45(0xf2)]()&&(_0x3d9dc7[_0x7b3b45(0xb6)]=_0x7814a1[_0x7b3b45(0x147)],_0x3d9dc7['newDescription']=_0x4c9dfd['trim'](),_0x7814a1[_0x7b3b45(0x147)]=_0x4c9dfd[_0x7b3b45(0xf2)]()),_0x2c98ab[_0x7b3b45(0xe9)](Object[_0x7b3b45(0x13b)](_0x3d9dc7)[_0x7b3b45(0x151)],0x0)){console['log'](_0x2c98ab[_0x7b3b45(0x9b)]);return;}n[_0x7b3b45(0xbd)](_0x5124d2,JSON[_0x7b3b45(0xab)](_0x7814a1,null,0x2));let _0x2f352e=_0x25c508[_0x7b3b45(0xc1)][_0x7b3b45(0x137)](_0x1fd7e2=>_0x1fd7e2['id']===_0x43163f[_0x7b3b45(0xf2)]());_0x2f352e&&_0x3d9dc7[_0x7b3b45(0x12b)]&&(_0x2f352e['title']=_0x3d9dc7[_0x7b3b45(0x12b)]),_0x25c508[_0x7b3b45(0x108)]=new Date()[_0x7b3b45(0xb4)](),n[_0x7b3b45(0xbd)](f,JSON['stringify'](_0x25c508,null,0x2)),_0x44ff9e[_0x7b3b45(0xdb)][_0x7b3b45(0x127)]({'timestamp':new Date()[_0x7b3b45(0xb4)](),'type':_0x2c98ab[_0x7b3b45(0x123)],'taskId':_0x43163f[_0x7b3b45(0xf2)](),'reason':_0x5ab27a['trim'](),'changes':_0x3d9dc7}),n['writeFileSync'](m,JSON['stringify'](_0x44ff9e,null,0x2)),console[_0x7b3b45(0x139)]('\x0a✅\x20Task\x20'+_0x43163f+_0x7b3b45(0xcd)),console[_0x7b3b45(0x139)](_0x7b3b45(0xec));}async function O(_0x1a0c8e,_0x4a261b){const _0x197454=_0x496e95,_0x25cec0={'DJSvZ':function(_0x31b3ed,_0x362781){return _0x31b3ed===_0x362781;},'hShEl':function(_0x1d6eaf,_0x31dfdd){return _0x1d6eaf===_0x31dfdd;},'rDWfI':_0x197454(0x13d),'jFGIh':_0x197454(0x152),'cpGqz':'remove','sEolC':_0x197454(0x15b),'ZejTD':_0x197454(0x14f),'dUqEk':function(_0x47ca73,_0x5c6ffb){return _0x47ca73(_0x5c6ffb);},'tmNYt':_0x197454(0xe8),'itSha':_0x197454(0x12d),'OJSGe':_0x197454(0x11e),'ApZso':_0x197454(0xb0),'kBApL':_0x197454(0x149),'hcwoW':function(_0x5a9d35,_0x36fc6b){return _0x5a9d35===_0x36fc6b;},'ZmoKS':'completed','didky':_0x197454(0x94),'uGjkC':_0x197454(0xdd),'RHtxL':function(_0x17645b,_0x11abf0){return _0x17645b!==_0x11abf0;},'dDRJE':'NxcLk','KsGWO':'MRFBg','yWYcY':function(_0x4095b3,_0x5d7f45){return _0x4095b3>_0x5d7f45;},'jazbi':function(_0x4b1f07,_0x673e07){return _0x4b1f07===_0x673e07;},'KOxzW':_0x197454(0x13c),'MffMf':_0x197454(0xff)};console[_0x197454(0x139)](_0x197454(0xe5));let _0x496351=await _0x25cec0[_0x197454(0xd9)](a,_0x25cec0['tmNYt']),_0x10e4d9=d[_0x197454(0xd2)](S,_0x496351[_0x197454(0xf2)]()+_0x197454(0xe4));n[_0x197454(0x116)](_0x10e4d9)||(console['error'](_0x197454(0xd1)+_0x496351+_0x197454(0x124)),process[_0x197454(0x129)](0x1));let _0x3bd693=JSON[_0x197454(0x10a)](n['readFileSync'](_0x10e4d9,_0x25cec0[_0x197454(0x132)]));_0x25cec0[_0x197454(0xf3)](_0x3bd693[_0x197454(0xe0)],_0x25cec0['OJSGe'])&&(console['error'](_0x25cec0['ApZso']),console[_0x197454(0x13f)](_0x25cec0[_0x197454(0x15c)]),process[_0x197454(0x129)](0x1)),_0x25cec0[_0x197454(0xe7)](_0x3bd693[_0x197454(0xe0)],_0x25cec0['ZmoKS'])&&(console[_0x197454(0x13f)](_0x25cec0[_0x197454(0x130)]),process[_0x197454(0x129)](0x1));let _0x1547a0=await a(_0x25cec0[_0x197454(0x148)]),_0x283870=[];for(let _0x166e9e of _0x1a0c8e[_0x197454(0xc1)]){if(_0x25cec0['RHtxL']('NxcLk',_0x25cec0[_0x197454(0xa1)])){let _0x1d29f6=new _0x5d8115(_0x4a94ec[_0x197454(0xd0)])['toLocaleString']();_0x4a6cb1[_0x197454(0x139)](_0x98a3ec+0x1+_0x197454(0x156)+_0x3c81bc['type'][_0x197454(0xbc)]()+']\x20'+_0x235480['taskId']),_0x3349a0[_0x197454(0x139)](_0x197454(0xbb)+_0x1d29f6),_0x2e9990['log'](_0x197454(0x117)+_0x325e36[_0x197454(0xd5)]),_0x25cec0['DJSvZ'](_0x4d9069[_0x197454(0x153)],_0x197454(0x15b))?(_0x122956[_0x197454(0x139)](_0x197454(0xfa)+_0x134210[_0x197454(0xb9)][_0x197454(0x9c)]),_0x21d73e[_0x197454(0x139)](_0x197454(0x102)+_0x42afc7[_0x197454(0xb9)][_0x197454(0x10b)])):_0x25cec0[_0x197454(0xf3)](_0x228f74['type'],_0x25cec0['rDWfI'])?(_0x165fe1[_0x197454(0xb9)]['oldTitle']&&_0x27cf0f[_0x197454(0x139)](_0x197454(0xb3)+_0x4b3da2[_0x197454(0xb9)][_0x197454(0xe6)]+'\x22\x20→\x20\x22'+_0x35a261[_0x197454(0xb9)][_0x197454(0x12b)]+'\x22'),_0xe0dd9a[_0x197454(0xb9)][_0x197454(0xb6)]&&_0x5e29b3['log'](_0x25cec0[_0x197454(0xd4)])):_0x2a57d1[_0x197454(0x153)]===_0x25cec0[_0x197454(0xaf)]&&_0x184e54[_0x197454(0x139)](_0x197454(0xa4)+_0x28baf0[_0x197454(0xb9)][_0x197454(0x9c)]+_0x197454(0xcf)+_0x46ca92['changes'][_0x197454(0xe0)]+')'),_0x58453b['log']('');}else{let _0x441bb0=d[_0x197454(0xd2)](S,_0x166e9e['id']+'.json');if(n[_0x197454(0x116)](_0x441bb0)){if(_0x25cec0[_0x197454(0xa9)]('NXNet',_0x25cec0[_0x197454(0x13a)])){let _0x1ccd0f=JSON[_0x197454(0x10a)](n[_0x197454(0xb2)](_0x441bb0,_0x25cec0[_0x197454(0x132)]));_0x1ccd0f[_0x197454(0x14c)]&&_0x1ccd0f['dependencies']['includes'](_0x496351[_0x197454(0xf2)]())&&_0x283870['push']({'id':_0x1ccd0f['id'],'title':_0x1ccd0f[_0x197454(0x9c)]});}else{const _0x4686dd={'UzYYg':function(_0x421d30,_0x40baeb){return _0x421d30===_0x40baeb;},'RgVAA':_0x25cec0[_0x197454(0x112)],'KYFdj':function(_0x23b225,_0x4ba301){return _0x25cec0['DJSvZ'](_0x23b225,_0x4ba301);},'scPgz':_0x25cec0[_0x197454(0x111)],'VAHWQ':_0x197454(0x152),'VeQkS':function(_0x42ef72,_0x477d18){const _0x30ad55=_0x197454;return _0x25cec0[_0x30ad55(0xef)](_0x42ef72,_0x477d18);},'GMhRI':_0x25cec0[_0x197454(0xaf)]};if(_0x66cf48[_0x197454(0x139)]('\x0a📜\x20Plan\x20Amendment\x20History\x0a'),_0x25cec0['DJSvZ'](_0x46dde3[_0x197454(0xdb)][_0x197454(0x151)],0x0)){_0x42e048['log'](_0x25cec0[_0x197454(0x14a)]);return;}_0x1b8c8d[_0x197454(0xdb)][_0x197454(0xa8)]((_0x431615,_0x415daa)=>{const _0x56b7ef=_0x197454;let _0x2dda5b=new _0xf398c4(_0x431615['timestamp'])['toLocaleString']();_0x2a3fe6[_0x56b7ef(0x139)](_0x415daa+0x1+_0x56b7ef(0x156)+_0x431615[_0x56b7ef(0x153)][_0x56b7ef(0xbc)]()+']\x20'+_0x431615[_0x56b7ef(0x133)]),_0x252406[_0x56b7ef(0x139)](_0x56b7ef(0xbb)+_0x2dda5b),_0x13ea2f['log'](_0x56b7ef(0x117)+_0x431615[_0x56b7ef(0xd5)]),_0x4686dd['UzYYg'](_0x431615['type'],_0x4686dd['RgVAA'])?(_0x4d81c7[_0x56b7ef(0x139)](_0x56b7ef(0xfa)+_0x431615['changes'][_0x56b7ef(0x9c)]),_0x2c0c0c[_0x56b7ef(0x139)](_0x56b7ef(0x102)+_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0x10b)])):_0x4686dd[_0x56b7ef(0xeb)](_0x431615['type'],_0x4686dd['scPgz'])?(_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0xe6)]&&_0x45828e[_0x56b7ef(0x139)](_0x56b7ef(0xb3)+_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0xe6)]+_0x56b7ef(0x138)+_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0x12b)]+'\x22'),_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0xb6)]&&_0x1becf1[_0x56b7ef(0x139)](_0x4686dd[_0x56b7ef(0xf1)])):_0x4686dd[_0x56b7ef(0x9f)](_0x431615['type'],_0x4686dd[_0x56b7ef(0x140)])&&_0x2c10c2[_0x56b7ef(0x139)](_0x56b7ef(0xa4)+_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0x9c)]+'\x20(was\x20'+_0x431615[_0x56b7ef(0xb9)][_0x56b7ef(0xe0)]+')'),_0x53a436['log']('');}),_0x253d8e[_0x197454(0x139)]('Total\x20amendments:\x20'+_0xfff293[_0x197454(0xdb)][_0x197454(0x151)]);}}}}_0x25cec0[_0x197454(0xed)](_0x283870[_0x197454(0x151)],0x0)&&(console[_0x197454(0x13f)](_0x197454(0x9d)),_0x283870[_0x197454(0xa8)](_0x402f46=>console[_0x197454(0x13f)](_0x197454(0x109)+_0x402f46['id']+':\x20'+_0x402f46[_0x197454(0x9c)])),process[_0x197454(0x129)](0x1)),n[_0x197454(0xc4)](_0x10e4d9);let _0x188f82=_0x1a0c8e['taskFiles']['findIndex'](_0x57e833=>_0x57e833['id']===_0x496351[_0x197454(0xf2)]());_0x1a0c8e[_0x197454(0xc1)][_0x197454(0xf8)](_0x188f82,0x1),_0x1a0c8e['statistics']['totalTasks']--,_0x25cec0[_0x197454(0xdf)](_0x3bd693[_0x197454(0xe0)],_0x25cec0[_0x197454(0x101)])&&_0x1a0c8e[_0x197454(0xd7)]['pending']--,_0x25cec0[_0x197454(0xdf)](_0x3bd693[_0x197454(0xe0)],_0x25cec0['MffMf'])&&_0x1a0c8e['statistics'][_0x197454(0xff)]--,_0x1a0c8e['lastUpdated']=new Date()[_0x197454(0xb4)](),n[_0x197454(0xbd)](f,JSON[_0x197454(0xab)](_0x1a0c8e,null,0x2)),_0x4a261b['amendments']['push']({'timestamp':new Date()['toISOString'](),'type':_0x25cec0[_0x197454(0xaf)],'taskId':_0x496351[_0x197454(0xf2)](),'reason':_0x1547a0['trim'](),'changes':{'title':_0x3bd693['title'],'status':_0x3bd693['status']}}),n['writeFileSync'](m,JSON[_0x197454(0xab)](_0x4a261b,null,0x2)),console[_0x197454(0x139)](_0x197454(0x9e)+_0x496351+'\x20removed\x20successfully!'),console[_0x197454(0x139)](_0x197454(0xec));}function j(_0x3296){const _0x19a061=_0x496e95,_0xe5a816={};_0xe5a816['JrRPR']=function(_0x155a39,_0x33f93f){return _0x155a39+_0x33f93f;},_0xe5a816['CTViA']=function(_0x36be0a,_0x2c0ce0){return _0x36be0a===_0x2c0ce0;},_0xe5a816['VtWhv']=_0x19a061(0x15b),_0xe5a816[_0x19a061(0x10c)]='update',_0xe5a816[_0x19a061(0xee)]=_0x19a061(0x152),_0xe5a816['cJcZr']=function(_0x3c7bc4,_0x4de62b){return _0x3c7bc4===_0x4de62b;},_0xe5a816[_0x19a061(0xc5)]=function(_0x13438f,_0x20dfdb){return _0x13438f===_0x20dfdb;},_0xe5a816['bwKmX']='VATht',_0xe5a816['iSlLa']=_0x19a061(0x134);const _0x5803ad=_0xe5a816;if(console[_0x19a061(0x139)]('\x0a📜\x20Plan\x20Amendment\x20History\x0a'),_0x5803ad[_0x19a061(0xa3)](_0x3296[_0x19a061(0xdb)][_0x19a061(0x151)],0x0)){if(_0x5803ad['TqOme'](_0x5803ad[_0x19a061(0x104)],_0x5803ad[_0x19a061(0xc0)]))return new _0xd537c3(_0xdc1761=>{const _0xa57a94=_0x19a061;_0x1a46c3[_0xa57a94(0x106)](_0x558e41,_0xdc1761);});else{console[_0x19a061(0x139)](_0x19a061(0x14f));return;}}_0x3296['amendments'][_0x19a061(0xa8)]((_0x4e108c,_0x4f3065)=>{const _0x4d8b31=_0x19a061;let _0x2f4607=new Date(_0x4e108c[_0x4d8b31(0xd0)])['toLocaleString']();console[_0x4d8b31(0x139)](_0x5803ad[_0x4d8b31(0x14d)](_0x4f3065,0x1)+_0x4d8b31(0x156)+_0x4e108c['type'][_0x4d8b31(0xbc)]()+']\x20'+_0x4e108c[_0x4d8b31(0x133)]),console['log']('\x20\x20\x20Date:\x20'+_0x2f4607),console[_0x4d8b31(0x139)](_0x4d8b31(0x117)+_0x4e108c[_0x4d8b31(0xd5)]),_0x5803ad[_0x4d8b31(0xcc)](_0x4e108c[_0x4d8b31(0x153)],_0x5803ad['VtWhv'])?(console[_0x4d8b31(0x139)]('\x20\x20\x20Added:\x20'+_0x4e108c[_0x4d8b31(0xb9)][_0x4d8b31(0x9c)]),console['log'](_0x4d8b31(0x102)+_0x4e108c[_0x4d8b31(0xb9)]['phase'])):_0x4e108c[_0x4d8b31(0x153)]===_0x5803ad[_0x4d8b31(0x10c)]?(_0x4e108c[_0x4d8b31(0xb9)][_0x4d8b31(0xe6)]&&console[_0x4d8b31(0x139)]('\x20\x20\x20Changed:\x20\x22'+_0x4e108c[_0x4d8b31(0xb9)][_0x4d8b31(0xe6)]+_0x4d8b31(0x138)+_0x4e108c[_0x4d8b31(0xb9)][_0x4d8b31(0x12b)]+'\x22'),_0x4e108c[_0x4d8b31(0xb9)][_0x4d8b31(0xb6)]&&console[_0x4d8b31(0x139)](_0x5803ad[_0x4d8b31(0xee)])):_0x4e108c[_0x4d8b31(0x153)]===_0x4d8b31(0x142)&&console[_0x4d8b31(0x139)](_0x4d8b31(0xa4)+_0x4e108c[_0x4d8b31(0xb9)][_0x4d8b31(0x9c)]+_0x4d8b31(0xcf)+_0x4e108c['changes'][_0x4d8b31(0xe0)]+')'),console[_0x4d8b31(0x139)]('');}),console['log'](_0x19a061(0xe2)+_0x3296[_0x19a061(0xdb)][_0x19a061(0x151)]);}F()[_0x496e95(0xa2)](_0x1b4f63=>{const _0x459ba2=_0x496e95,_0x3e4077={};_0x3e4077[_0x459ba2(0xa6)]='Error:';const _0x4f868f=_0x3e4077;console[_0x459ba2(0x13f)](_0x4f868f[_0x459ba2(0xa6)],_0x1b4f63['message']),process[_0x459ba2(0x129)](0x1);});
|
|
2
|
+
const _0x2a36c5=_0x2a21;(function(_0x53cac2,_0x404c4b){const _0x11e30b=_0x2a21,_0x598f7f=_0x53cac2();while(!![]){try{const _0x110c5c=parseInt(_0x11e30b(0x237))/0x1*(-parseInt(_0x11e30b(0x1fa))/0x2)+parseInt(_0x11e30b(0x22a))/0x3*(-parseInt(_0x11e30b(0x226))/0x4)+parseInt(_0x11e30b(0x1cf))/0x5+-parseInt(_0x11e30b(0x23b))/0x6+-parseInt(_0x11e30b(0x22e))/0x7+parseInt(_0x11e30b(0x1ce))/0x8*(parseInt(_0x11e30b(0x1cb))/0x9)+parseInt(_0x11e30b(0x1e4))/0xa;if(_0x110c5c===_0x404c4b)break;else _0x598f7f['push'](_0x598f7f['shift']());}catch(_0x312f86){_0x598f7f['push'](_0x598f7f['shift']());}}}(_0x2903,0x54ea7));var h=(_0x4a834e=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x4a834e,{'get':(_0x901eb6,_0x444eca)=>(typeof require<'u'?require:_0x901eb6)[_0x444eca]}):_0x4a834e)(function(_0x3fe6f7){const _0x1dc2d2=_0x2a21,_0xc8fe4a={'wsgnc':function(_0x1b1fe2,_0x12d779){return _0x1b1fe2<_0x12d779;},'gEkUg':function(_0x3a1c52,_0x1501ad){return _0x3a1c52(_0x1501ad);},'mUjsP':function(_0x23a3ac,_0x2e5b1b){return _0x23a3ac+_0x2e5b1b;},'RphoH':_0x1dc2d2(0x227),'kwjir':_0x1dc2d2(0x262)};if(_0xc8fe4a[_0x1dc2d2(0x251)](typeof require,'u'))return require[_0x1dc2d2(0x1c3)](this,arguments);throw _0xc8fe4a[_0x1dc2d2(0x246)](Error,_0xc8fe4a[_0x1dc2d2(0x204)](_0xc8fe4a[_0x1dc2d2(0x204)](_0xc8fe4a[_0x1dc2d2(0x1a8)],_0x3fe6f7),_0xc8fe4a[_0x1dc2d2(0x1e5)]));}),n=h('fs'),$=h(_0x2a36c5(0x245)),d=h(_0x2a36c5(0x1ec)),w=_0x2a36c5(0x269);n[_0x2a36c5(0x252)](w)||(console['error']('❌\x20Error:\x20No\x20active\x20plan\x20found'),console['error']('Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager'),process[_0x2a36c5(0x25c)](0x1));var T=n[_0x2a36c5(0x207)](w,_0x2a36c5(0x1a4))[_0x2a36c5(0x1f8)](),y=d[_0x2a36c5(0x239)](_0x2a36c5(0x1c9),T),v=d[_0x2a36c5(0x239)](y,_0x2a36c5(0x24f)),f=d[_0x2a36c5(0x239)](y,'TASK-TRACKER.json'),m=d[_0x2a36c5(0x239)](y,'PLAN-AMENDMENTS.json'),S=d[_0x2a36c5(0x239)](y,_0x2a36c5(0x200));n[_0x2a36c5(0x252)](f)||(console['error'](_0x2a36c5(0x1af)+T+_0x2a36c5(0x1f7)),console[_0x2a36c5(0x244)]('Run\x20\x22npm\x20run\x20plan:init\x22\x20first\x20to\x20lock\x20the\x20plan'),process[_0x2a36c5(0x25c)](0x1));const _0x4a4fba={};_0x4a4fba['input']=process[_0x2a36c5(0x248)],_0x4a4fba[_0x2a36c5(0x1c6)]=process['stdout'];function _0x2903(){const _0x4a9a45=['QdhQy','JzXjP','❌\x20Cannot\x20remove\x20task\x20that\x20is\x20in_progress','QPQBP','path','tests','length','XdlzG','Invalid\x20choice','catch','Task\x20ID\x20(e.g.,\x20TASK-001):\x20','Error:','taskId','1.\x20Add\x20a\x20new\x20task','completed','\x20is\x20not\x20locked\x20yet','trim','What\x20would\x20you\x20like\x20to\x20do?\x0a','839582mEposk','writeFileSync','createInterface','❌\x20Cannot\x20remove\x20completed\x20tasks','ULlPN','mromz','tasks','stringify','type','add','mUjsP','mRpur','dependencies','readFileSync','toLocaleString','jOiCd','WVUhN','.json','\x20\x20\x20-\x20','toString','\x20removed\x20successfully!','implementation','toISOString','YFOgV','4.\x20View\x20amendment\x20history','dCwEl','keys','HiYKE','uIqhc','log','ycJpw','(((.+)+)+)+$','NQWMw','zjGkp','includes','LZOVJ','JsAzd','unlinkSync','\x20\x20\x20Phase:\x20','oiBZs','phase','TFchD','statistics','ODVgL','60IhNOVR','Dynamic\x20require\x20of\x20\x22','vvpAS','\x20\x20\x20Removed:\x20','112527VZNCjg','\x20\x20\x20Description\x20updated','\x20added\x20successfully!','QBaGk','3838135aAXrqx','TPrwH','map','\x0a📜\x20Plan\x20Amendment\x20History\x0a','cpFyG','title','\x0aCurrent\x20description:\x20','fFZDM','Task\x20title:\x20','1kVKxSR','iRmYY','join','TASK-','477042mLqmFd','mzwZa','ftGFy','search','nUzgu','BsOgs','rnDqY','3.\x20Remove\x20a\x20task','lastUpdated','error','readline','gEkUg','oldDescription','stdin','vvUxR','jocDd','qNZtC','documentation','\x20\x20\x20Added:\x20','No\x20amendments\x20yet.','PROJECT-PLAN.json','code','wsgnc','existsSync','status','parse','Task\x20ID\x20to\x20remove\x20(e.g.,\x20TASK-001):\x20','KcoIQ','message','AWqIb','\x20\x20\x20Status:\x20pending','HybfC','Task\x20description\x20(optional):\x20','exit','2.\x20Update\x20an\x20existing\x20task','MYdyK','XPMyx','vqUiy','xKdLf','\x22\x20is\x20not\x20supported','dTpCS','uXwVX','New\x20title\x20(or\x20press\x20Enter\x20to\x20keep):\x20','\x0a❌\x20Cannot\x20remove\x20task.\x20The\x20following\x20tasks\x20depend\x20on\x20it:','\x0aAmendment\x20logged\x20for\x20audit\x20trail.','reason','.claude/ACTIVE-PLAN','Total\x20amendments:\x20','blocked','tPKth','question','Complete\x20or\x20abandon\x20it\x20first.','Reason\x20for\x20adding:\x20','Reason\x20for\x20removal:\x20','gvSHx','nOYxq','PKaYs','utf8','\x20\x20\x20Title:\x20','totalTasks','update','RphoH','sEwch','FrGWH','Reason\x20for\x20update:\x20','mlIoE','\x22\x20→\x20\x22','IehXC','❌\x20Error:\x20Plan\x20','uUBEG','❌\x20Task\x20','max','omzZb','oldTitle','DaNNl','taskFiles','TIeUE','description','EJiBQ','splice','gCZQk','solCv','newTitle','padStart','push','yfGnq','LgMiQ','gvcuD','apply','kCSdB','forEach','output','in_progress','find','.claude/plans','DyWYT','193194zBGDwv','\x20\x20\x20Changed:\x20\x22','New\x20description\x20(or\x20press\x20Enter\x20to\x20keep):\x20','32eNvuOX','328040zciIjw','RjHdf','deEfN','\x0a✅\x20Task\x20','Phase\x20(design/implementation/testing/deployment):\x20','newDescription','\x0aCurrent\x20title:\x20','rDHNn','aKbHw','NacLA','remove','5.\x20Cancel\x0a','amendments','CWzVQ','myMQc','changes','pending','📝\x20Plan\x20Amendment\x20Tool\x0a','.\x20[','toUpperCase','\x0a---\x20Add\x20New\x20Task\x20---\x0a','18065810NWqIJI','kwjir','replace','SlMaE'];_0x2903=function(){return _0x4a9a45;};return _0x2903();}function _0x2a21(_0x577069,_0x5d9cf4){_0x577069=_0x577069-0x1a2;const _0x4e3b4b=_0x2903();let _0x1a6251=_0x4e3b4b[_0x577069];return _0x1a6251;}var N=$[_0x2a36c5(0x1fc)](_0x4a4fba);function a(_0x1ee19e){const _0x592416=_0x2a36c5,_0x14b9d6={};_0x14b9d6[_0x592416(0x1d7)]=_0x592416(0x24e),_0x14b9d6[_0x592416(0x238)]=function(_0x5b2423,_0x25fb68){return _0x5b2423!==_0x25fb68;},_0x14b9d6[_0x592416(0x1dd)]=_0x592416(0x1eb);const _0x2dfcf3=_0x14b9d6;return new Promise(_0x5b712f=>{const _0xb2a0d8=_0x592416;if(_0x2dfcf3['iRmYY'](_0x2dfcf3[_0xb2a0d8(0x1dd)],_0xb2a0d8(0x1eb))){_0x5ed24a[_0xb2a0d8(0x217)](_0x2dfcf3[_0xb2a0d8(0x1d7)]);return;}else N[_0xb2a0d8(0x26d)](_0x1ee19e,_0x5b712f);});}async function F(){const _0x4a26c5=_0x2a36c5,_0x4d1d96={'uXwVX':function(_0x4bb9ef,_0x2f0d7a){return _0x4bb9ef+_0x2f0d7a;},'ftGFy':'\x22\x20is\x20not\x20supported','eEFge':function(_0x4408e2,_0x5d47b6){return _0x4408e2!==_0x5d47b6;},'RjHdf':function(_0x1d09f2,_0x345f11){return _0x1d09f2===_0x345f11;},'kCSdB':'lDBAO','pwLXU':'jvTXv','mRpur':_0x4a26c5(0x232),'LZOVJ':_0x4a26c5(0x219),'AzIwm':function(_0x19ca09){return _0x19ca09();},'jocDd':'utf8','zjGkp':_0x4a26c5(0x1f5),'deEfN':_0x4a26c5(0x25d),'TPrwH':_0x4a26c5(0x242),'WVUhN':_0x4a26c5(0x212),'PdWLG':function(_0x3bbf6f,_0x312580){return _0x3bbf6f(_0x312580);},'FrGWH':function(_0x5115ff,_0x5e17ab,_0x45106f){return _0x5115ff(_0x5e17ab,_0x45106f);},'oLFnt':function(_0x2e5478,_0x250cf9,_0x50ee0a){return _0x2e5478(_0x250cf9,_0x50ee0a);},'vqUiy':'Cancelled.'},_0x351c21=(function(){const _0x4b743e=_0x4a26c5,_0x18d298={'OroQf':function(_0xaf67aa,_0x57a01a){const _0x27db47=_0x2a21;return _0x4d1d96[_0x27db47(0x264)](_0xaf67aa,_0x57a01a);},'EJiBQ':function(_0x5400d1,_0x34f324){const _0x2654c3=_0x2a21;return _0x4d1d96[_0x2654c3(0x264)](_0x5400d1,_0x34f324);},'DaNNl':_0x4d1d96[_0x4b743e(0x23d)],'qCoBd':function(_0x2df188,_0x5751d1){return _0x4d1d96['eEFge'](_0x2df188,_0x5751d1);},'QdhQy':_0x4b743e(0x228),'LgMiQ':function(_0x3a2487,_0x5f1269){const _0x5e073f=_0x4b743e;return _0x4d1d96[_0x5e073f(0x1d0)](_0x3a2487,_0x5f1269);},'FWOAA':_0x4d1d96[_0x4b743e(0x1c4)],'FcnDO':_0x4d1d96['pwLXU']};let _0x5c09c3=!![];return function(_0x4679c6,_0x13e21c){const _0x47581d=_0x4b743e,_0x4b06d6={'QBaGk':function(_0x41821a,_0x21326f){return _0x18d298['OroQf'](_0x41821a,_0x21326f);},'rDHNn':function(_0x1b9d7c,_0x4ac8b2){const _0x21c566=_0x2a21;return _0x18d298[_0x21c566(0x1b9)](_0x1b9d7c,_0x4ac8b2);},'xKdLf':_0x18d298[_0x47581d(0x1b5)],'txPtA':function(_0x4fc313,_0x5b850c){return _0x18d298['qCoBd'](_0x4fc313,_0x5b850c);},'BsOgs':_0x18d298[_0x47581d(0x1e8)]};if(_0x18d298[_0x47581d(0x1c1)](_0x18d298['FWOAA'],_0x18d298['FcnDO']))_0x1d577b['question'](_0x4241ce,_0xf678c5);else{const _0x1cc55c=_0x5c09c3?function(){const _0x1bc62f=_0x47581d,_0x5829ee={'uIqhc':function(_0x1b6e25,_0x282b13){const _0x2eef42=_0x2a21;return _0x4b06d6[_0x2eef42(0x22d)](_0x1b6e25,_0x282b13);},'fFZDM':function(_0x429b2d,_0x3c99ce){const _0x1be17b=_0x2a21;return _0x4b06d6[_0x1be17b(0x1d6)](_0x429b2d,_0x3c99ce);},'NQWMw':_0x4b06d6[_0x1bc62f(0x261)]};if(_0x13e21c){if(_0x4b06d6['txPtA'](_0x4b06d6[_0x1bc62f(0x240)],_0x4b06d6[_0x1bc62f(0x240)])){if(typeof _0x82c42a<'u')return _0x2443dd[_0x1bc62f(0x1c3)](this,arguments);throw _0x12ea91(_0x5829ee[_0x1bc62f(0x216)](_0x5829ee[_0x1bc62f(0x235)](_0x1bc62f(0x227),_0x1d8ced),_0x5829ee[_0x1bc62f(0x21a)]));}else{const _0x353458=_0x13e21c[_0x1bc62f(0x1c3)](_0x4679c6,arguments);return _0x13e21c=null,_0x353458;}}}:function(){};return _0x5c09c3=![],_0x1cc55c;}};}()),_0x247aed=_0x351c21(this,function(){const _0x306c2f=_0x4a26c5;if(_0x306c2f(0x1ac)!==_0x4d1d96[_0x306c2f(0x205)])return _0x247aed['toString']()[_0x306c2f(0x23e)](_0x4d1d96[_0x306c2f(0x21d)])[_0x306c2f(0x20d)]()['constructor'](_0x247aed)[_0x306c2f(0x23e)](_0x4d1d96[_0x306c2f(0x21d)]);else _0x39787a[_0x306c2f(0x244)](_0x306c2f(0x1f3),_0x326ae5['message']),_0x1404b1['exit'](0x1);});_0x4d1d96['AzIwm'](_0x247aed),(console[_0x4a26c5(0x217)](_0x4a26c5(0x1e0)),console[_0x4a26c5(0x217)]('This\x20allows\x20you\x20to\x20modify\x20a\x20locked\x20plan\x20while\x20maintaining\x20audit\x20trail.\x0a'));const _0x5696c3={};_0x5696c3[_0x4a26c5(0x1db)]=[];let _0x275746=JSON['parse'](n[_0x4a26c5(0x207)](f,_0x4a26c5(0x1a4))),_0x46c3f0=n[_0x4a26c5(0x252)](m)?JSON[_0x4a26c5(0x254)](n[_0x4a26c5(0x207)](m,_0x4d1d96[_0x4a26c5(0x24a)])):_0x5696c3;switch(console[_0x4a26c5(0x217)](_0x4a26c5(0x1f9)),console['log'](_0x4d1d96[_0x4a26c5(0x21b)]),console[_0x4a26c5(0x217)](_0x4d1d96[_0x4a26c5(0x1d1)]),console['log'](_0x4d1d96[_0x4a26c5(0x22f)]),console[_0x4a26c5(0x217)](_0x4d1d96[_0x4a26c5(0x20a)]),console[_0x4a26c5(0x217)](_0x4a26c5(0x1da)),(await _0x4d1d96['PdWLG'](a,'Enter\x20choice\x20(1-5):\x20'))['trim']()){case'1':await _0x4d1d96[_0x4a26c5(0x1aa)](x,_0x275746,_0x46c3f0);break;case'2':await _0x4d1d96[_0x4a26c5(0x1aa)](A,_0x275746,_0x46c3f0);break;case'3':await _0x4d1d96['oLFnt'](O,_0x275746,_0x46c3f0);break;case'4':_0x4d1d96['PdWLG'](j,_0x46c3f0);break;case'5':console[_0x4a26c5(0x217)](_0x4d1d96[_0x4a26c5(0x260)]);break;default:console[_0x4a26c5(0x244)](_0x4a26c5(0x1f0)),process[_0x4a26c5(0x25c)](0x1);}N['close']();}async function x(_0x3f1b67,_0x50b59a){const _0x4792b8=_0x2a36c5,_0x8c835d={'ODVgL':function(_0x1e239d,_0x37ce48){return _0x1e239d(_0x37ce48);},'nOYxq':_0x4792b8(0x236),'gvSHx':_0x4792b8(0x25b),'omzZb':_0x4792b8(0x1d3),'solCv':function(_0x304ad7,_0x4c46eb){return _0x304ad7+_0x4c46eb;},'oiBZs':_0x4792b8(0x20f),'Ucjon':'pending','jOiCd':_0x4792b8(0x203)};console[_0x4792b8(0x217)](_0x4792b8(0x1e3));const _0x158cfe={};_0x158cfe['design']=[],_0x158cfe[_0x4792b8(0x250)]=[],_0x158cfe[_0x4792b8(0x1ed)]=[],_0x158cfe[_0x4792b8(0x24c)]=[];let _0x8fc75f=await _0x8c835d[_0x4792b8(0x225)](a,_0x8c835d[_0x4792b8(0x1a2)]),_0x26cee2=await a(_0x8c835d[_0x4792b8(0x271)]),_0x38089e=await _0x8c835d[_0x4792b8(0x225)](a,_0x8c835d[_0x4792b8(0x1b3)]),_0x2c7c42=await _0x8c835d['ODVgL'](a,_0x4792b8(0x26f)),_0xb144c0=_0x3f1b67['taskFiles'][_0x4792b8(0x230)](_0x3c3ccb=>parseInt(_0x3c3ccb['id'][_0x4792b8(0x1e6)](_0x4792b8(0x23a),'')))['filter'](_0x5023c1=>!isNaN(_0x5023c1)),_0x1149f4=_0x8c835d[_0x4792b8(0x1bc)](Math[_0x4792b8(0x1b2)](..._0xb144c0,0x0),0x1),_0x323de4=_0x4792b8(0x23a)+String(_0x1149f4)[_0x4792b8(0x1be)](0x3,'0'),_0x2b1b84={'id':_0x323de4,'title':_0x8fc75f['trim'](),'description':_0x26cee2['trim']()||'','status':_0x4792b8(0x1df),'phase':_0x38089e['trim']()||_0x8c835d[_0x4792b8(0x221)],'subproject':null,'subprojectName':null,'milestone':null,'milestoneName':null,'dependencies':[],'completionCriteria':[],'testCases':[],'estimatedHours':null,'actualHours':null,'startedAt':null,'completedAt':null,'blockedReason':null,'artifacts':_0x158cfe,'notes':[]},_0xd5db33=d[_0x4792b8(0x239)](S,_0x323de4+_0x4792b8(0x20b));n[_0x4792b8(0x1fb)](_0xd5db33,JSON['stringify'](_0x2b1b84,null,0x2)),_0x3f1b67[_0x4792b8(0x1b6)][_0x4792b8(0x1bf)]({'id':_0x323de4,'title':_0x8fc75f[_0x4792b8(0x1f8)](),'status':_0x8c835d['Ucjon'],'file':'.claude/tasks/'+_0x323de4+_0x4792b8(0x20b)}),_0x3f1b67['statistics']['totalTasks']++,_0x3f1b67['statistics'][_0x4792b8(0x1df)]++,_0x3f1b67[_0x4792b8(0x243)]=new Date()[_0x4792b8(0x210)](),n[_0x4792b8(0x1fb)](f,JSON[_0x4792b8(0x201)](_0x3f1b67,null,0x2)),_0x50b59a[_0x4792b8(0x1db)][_0x4792b8(0x1bf)]({'timestamp':new Date()['toISOString'](),'type':_0x8c835d[_0x4792b8(0x209)],'taskId':_0x323de4,'reason':_0x2c7c42[_0x4792b8(0x1f8)](),'changes':{'title':_0x8fc75f[_0x4792b8(0x1f8)](),'phase':_0x38089e[_0x4792b8(0x1f8)]()||_0x8c835d[_0x4792b8(0x221)]}}),n[_0x4792b8(0x1fb)](m,JSON[_0x4792b8(0x201)](_0x50b59a,null,0x2)),console['log']('\x0a✅\x20Task\x20'+_0x323de4+_0x4792b8(0x22c)),console[_0x4792b8(0x217)](_0x4792b8(0x1a5)+_0x8fc75f),console[_0x4792b8(0x217)](_0x4792b8(0x259)),console['log']('\x20\x20\x20File:\x20'+_0xd5db33),console[_0x4792b8(0x217)](_0x4792b8(0x267));}async function A(_0xad689b,_0x258acb){const _0x3548f9=_0x2a36c5,_0x37520e={'IehXC':function(_0x494caf,_0x4936cd){return _0x494caf(_0x4936cd);},'JzXjP':_0x3548f9(0x1f2),'HiYKE':'utf8','mzwZa':function(_0x4183f0,_0x46448e){return _0x4183f0===_0x46448e;},'CWzVQ':'completed','SlMaE':'❌\x20Cannot\x20modify\x20completed\x20tasks','ycJpw':_0x3548f9(0x265),'JsAzd':_0x3548f9(0x1cd),'XPMyx':function(_0x35c2e0,_0x12887c){return _0x35c2e0(_0x12887c);},'vvUxR':_0x3548f9(0x1ab)};console[_0x3548f9(0x217)]('\x0a---\x20Update\x20Existing\x20Task\x20---\x0a');let _0x528c0a=await _0x37520e[_0x3548f9(0x1ae)](a,_0x37520e[_0x3548f9(0x1e9)]),_0x1b569f=d[_0x3548f9(0x239)](S,_0x528c0a['trim']()+_0x3548f9(0x20b));n[_0x3548f9(0x252)](_0x1b569f)||(console[_0x3548f9(0x244)](_0x3548f9(0x1b1)+_0x528c0a+'\x20not\x20found'),process[_0x3548f9(0x25c)](0x1));let _0x165e34=JSON['parse'](n[_0x3548f9(0x207)](_0x1b569f,_0x37520e[_0x3548f9(0x215)]));_0x37520e[_0x3548f9(0x23c)](_0x165e34['status'],_0x37520e[_0x3548f9(0x1dc)])&&(console[_0x3548f9(0x244)](_0x37520e[_0x3548f9(0x1e7)]),process['exit'](0x1)),console['log'](_0x3548f9(0x1d5)+_0x165e34[_0x3548f9(0x233)]);let _0x27b22d=await a(_0x37520e[_0x3548f9(0x218)]);console[_0x3548f9(0x217)](_0x3548f9(0x234)+(_0x165e34[_0x3548f9(0x1b8)]||'(none)'));let _0x38452a=await _0x37520e[_0x3548f9(0x1ae)](a,_0x37520e[_0x3548f9(0x21e)]),_0x1cc0e2=await _0x37520e[_0x3548f9(0x25f)](a,_0x37520e[_0x3548f9(0x249)]),_0x1b3067={};if(_0x27b22d['trim']()&&(_0x1b3067[_0x3548f9(0x1b4)]=_0x165e34[_0x3548f9(0x233)],_0x1b3067[_0x3548f9(0x1bd)]=_0x27b22d['trim'](),_0x165e34['title']=_0x27b22d[_0x3548f9(0x1f8)]()),_0x38452a[_0x3548f9(0x1f8)]()&&(_0x1b3067[_0x3548f9(0x247)]=_0x165e34[_0x3548f9(0x1b8)],_0x1b3067[_0x3548f9(0x1d4)]=_0x38452a[_0x3548f9(0x1f8)](),_0x165e34[_0x3548f9(0x1b8)]=_0x38452a['trim']()),Object[_0x3548f9(0x214)](_0x1b3067)[_0x3548f9(0x1ee)]===0x0){console[_0x3548f9(0x217)]('No\x20changes\x20made.');return;}n['writeFileSync'](_0x1b569f,JSON[_0x3548f9(0x201)](_0x165e34,null,0x2));let _0x38c0d9=_0xad689b[_0x3548f9(0x1b6)][_0x3548f9(0x1c8)](_0x426c19=>_0x426c19['id']===_0x528c0a[_0x3548f9(0x1f8)]());_0x38c0d9&&_0x1b3067[_0x3548f9(0x1bd)]&&(_0x38c0d9['title']=_0x1b3067[_0x3548f9(0x1bd)]),_0xad689b[_0x3548f9(0x243)]=new Date()[_0x3548f9(0x210)](),n[_0x3548f9(0x1fb)](f,JSON[_0x3548f9(0x201)](_0xad689b,null,0x2)),_0x258acb[_0x3548f9(0x1db)]['push']({'timestamp':new Date()['toISOString'](),'type':_0x3548f9(0x1a7),'taskId':_0x528c0a[_0x3548f9(0x1f8)](),'reason':_0x1cc0e2[_0x3548f9(0x1f8)](),'changes':_0x1b3067}),n[_0x3548f9(0x1fb)](m,JSON[_0x3548f9(0x201)](_0x258acb,null,0x2)),console['log'](_0x3548f9(0x1d2)+_0x528c0a+'\x20updated\x20successfully!'),console[_0x3548f9(0x217)](_0x3548f9(0x267));}async function O(_0x50482f,_0x3e0666){const _0x44975a=_0x2a36c5,_0x190157={'AWqIb':function(_0x3500ee,_0x29c2c1){return _0x3500ee(_0x29c2c1);},'nUzgu':_0x44975a(0x1a4),'dTpCS':function(_0x53064a,_0x5e26b0){return _0x53064a===_0x5e26b0;},'XdlzG':_0x44975a(0x1c7),'XyYTh':_0x44975a(0x1ea),'PKaYs':_0x44975a(0x1f6),'TIeUE':_0x44975a(0x1fd),'DyWYT':function(_0x183e14,_0x548864){return _0x183e14(_0x548864);},'NacLA':_0x44975a(0x270),'uUBEG':function(_0x13ad43,_0x2b1c48){return _0x13ad43>_0x2b1c48;},'PvDoa':function(_0xdd325d,_0xdf91f5){return _0xdd325d===_0xdf91f5;},'yfGnq':_0x44975a(0x1df),'rnDqY':_0x44975a(0x26b),'gCZQk':_0x44975a(0x1d9)};console[_0x44975a(0x217)]('\x0a---\x20Remove\x20Task\x20---\x0a');let _0x32ccd2=await _0x190157[_0x44975a(0x258)](a,_0x44975a(0x255)),_0x3add8d=d['join'](S,_0x32ccd2[_0x44975a(0x1f8)]()+_0x44975a(0x20b));n[_0x44975a(0x252)](_0x3add8d)||(console[_0x44975a(0x244)](_0x44975a(0x1b1)+_0x32ccd2+'\x20not\x20found'),process[_0x44975a(0x25c)](0x1));let _0x55bdec=JSON[_0x44975a(0x254)](n['readFileSync'](_0x3add8d,_0x190157['nUzgu']));_0x190157[_0x44975a(0x263)](_0x55bdec[_0x44975a(0x253)],_0x190157[_0x44975a(0x1ef)])&&(console[_0x44975a(0x244)](_0x190157['XyYTh']),console['error'](_0x44975a(0x26e)),process[_0x44975a(0x25c)](0x1)),_0x190157[_0x44975a(0x263)](_0x55bdec[_0x44975a(0x253)],_0x190157[_0x44975a(0x1a3)])&&(console[_0x44975a(0x244)](_0x190157[_0x44975a(0x1b7)]),process[_0x44975a(0x25c)](0x1));let _0x508da4=await _0x190157[_0x44975a(0x1ca)](a,_0x190157[_0x44975a(0x1d8)]),_0x475b08=[];for(let _0x55f84a of _0x50482f['taskFiles']){let _0x33a27d=d[_0x44975a(0x239)](S,_0x55f84a['id']+_0x44975a(0x20b));if(n['existsSync'](_0x33a27d)){let _0x3ad923=JSON['parse'](n[_0x44975a(0x207)](_0x33a27d,_0x190157[_0x44975a(0x23f)]));_0x3ad923[_0x44975a(0x206)]&&_0x3ad923['dependencies'][_0x44975a(0x21c)](_0x32ccd2[_0x44975a(0x1f8)]())&&_0x475b08['push']({'id':_0x3ad923['id'],'title':_0x3ad923[_0x44975a(0x233)]});}}_0x190157[_0x44975a(0x1b0)](_0x475b08[_0x44975a(0x1ee)],0x0)&&(console[_0x44975a(0x244)](_0x44975a(0x266)),_0x475b08[_0x44975a(0x1c5)](_0x3a6412=>console['error'](_0x44975a(0x20c)+_0x3a6412['id']+':\x20'+_0x3a6412[_0x44975a(0x233)])),process['exit'](0x1)),n[_0x44975a(0x21f)](_0x3add8d);let _0x1b2b2f=_0x50482f['taskFiles']['findIndex'](_0x28c525=>_0x28c525['id']===_0x32ccd2[_0x44975a(0x1f8)]());_0x50482f[_0x44975a(0x1b6)][_0x44975a(0x1ba)](_0x1b2b2f,0x1),_0x50482f[_0x44975a(0x224)][_0x44975a(0x1a6)]--,_0x190157['PvDoa'](_0x55bdec[_0x44975a(0x253)],_0x190157[_0x44975a(0x1c0)])&&_0x50482f[_0x44975a(0x224)][_0x44975a(0x1df)]--,_0x55bdec[_0x44975a(0x253)]===_0x190157[_0x44975a(0x241)]&&_0x50482f['statistics']['blocked']--,_0x50482f[_0x44975a(0x243)]=new Date()[_0x44975a(0x210)](),n[_0x44975a(0x1fb)](f,JSON[_0x44975a(0x201)](_0x50482f,null,0x2)),_0x3e0666[_0x44975a(0x1db)][_0x44975a(0x1bf)]({'timestamp':new Date()[_0x44975a(0x210)](),'type':_0x190157[_0x44975a(0x1bb)],'taskId':_0x32ccd2[_0x44975a(0x1f8)](),'reason':_0x508da4[_0x44975a(0x1f8)](),'changes':{'title':_0x55bdec[_0x44975a(0x233)],'status':_0x55bdec['status']}}),n[_0x44975a(0x1fb)](m,JSON['stringify'](_0x3e0666,null,0x2)),console[_0x44975a(0x217)](_0x44975a(0x1d2)+_0x32ccd2+_0x44975a(0x20e)),console[_0x44975a(0x217)](_0x44975a(0x267));}function j(_0x2b63f8){const _0x144d1c=_0x2a36c5,_0x4c6bbb={};_0x4c6bbb[_0x144d1c(0x25e)]=function(_0x1249c2,_0x4a6ab2){return _0x1249c2===_0x4a6ab2;},_0x4c6bbb['TFchD']=_0x144d1c(0x213),_0x4c6bbb[_0x144d1c(0x211)]=function(_0x48cb70,_0x425fd0){return _0x48cb70+_0x425fd0;},_0x4c6bbb[_0x144d1c(0x26c)]=function(_0x555b02,_0x548d64){return _0x555b02===_0x548d64;},_0x4c6bbb[_0x144d1c(0x1a9)]='add',_0x4c6bbb[_0x144d1c(0x24b)]=function(_0x9003fc,_0x2fd076){return _0x9003fc===_0x2fd076;},_0x4c6bbb[_0x144d1c(0x1ff)]=_0x144d1c(0x1a7),_0x4c6bbb['HybfC']=_0x144d1c(0x22b),_0x4c6bbb['gvcuD']=_0x144d1c(0x1d9),_0x4c6bbb['ULlPN']=function(_0x10dcab,_0x44c23e){return _0x10dcab===_0x44c23e;},_0x4c6bbb['nISUN']=_0x144d1c(0x24e);const _0x2122c3=_0x4c6bbb;if(console['log'](_0x144d1c(0x231)),_0x2122c3[_0x144d1c(0x1fe)](_0x2b63f8[_0x144d1c(0x1db)][_0x144d1c(0x1ee)],0x0)){console['log'](_0x2122c3['nISUN']);return;}_0x2b63f8['amendments'][_0x144d1c(0x1c5)]((_0x525b2c,_0x2e8c8b)=>{const _0x4adf07=_0x144d1c;if(_0x2122c3[_0x4adf07(0x25e)](_0x2122c3[_0x4adf07(0x223)],_0x4adf07(0x256))){const _0x53cd34=_0x549a03[_0x4adf07(0x1c3)](_0x352a69,arguments);return _0x2a5879=null,_0x53cd34;}else{let _0x4d7e54=new Date(_0x525b2c['timestamp'])[_0x4adf07(0x208)]();console['log'](_0x2122c3[_0x4adf07(0x211)](_0x2e8c8b,0x1)+_0x4adf07(0x1e1)+_0x525b2c['type'][_0x4adf07(0x1e2)]()+']\x20'+_0x525b2c[_0x4adf07(0x1f4)]),console[_0x4adf07(0x217)]('\x20\x20\x20Date:\x20'+_0x4d7e54),console['log']('\x20\x20\x20Reason:\x20'+_0x525b2c[_0x4adf07(0x268)]),_0x2122c3['tPKth'](_0x525b2c[_0x4adf07(0x202)],_0x2122c3[_0x4adf07(0x1a9)])?(console['log'](_0x4adf07(0x24d)+_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x233)]),console['log'](_0x4adf07(0x220)+_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x222)])):_0x2122c3[_0x4adf07(0x24b)](_0x525b2c['type'],_0x2122c3[_0x4adf07(0x1ff)])?(_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x1b4)]&&console['log'](_0x4adf07(0x1cc)+_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x1b4)]+_0x4adf07(0x1ad)+_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x1bd)]+'\x22'),_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x247)]&&console[_0x4adf07(0x217)](_0x2122c3[_0x4adf07(0x25a)])):_0x525b2c[_0x4adf07(0x202)]===_0x2122c3[_0x4adf07(0x1c2)]&&console[_0x4adf07(0x217)](_0x4adf07(0x229)+_0x525b2c[_0x4adf07(0x1de)]['title']+'\x20(was\x20'+_0x525b2c[_0x4adf07(0x1de)][_0x4adf07(0x253)]+')'),console[_0x4adf07(0x217)]('');}}),console['log'](_0x144d1c(0x26a)+_0x2b63f8[_0x144d1c(0x1db)][_0x144d1c(0x1ee)]);}F()[_0x2a36c5(0x1f1)](_0x996003=>{const _0x4c9229=_0x2a36c5;console[_0x4c9229(0x244)]('Error:',_0x996003[_0x4c9229(0x257)]),process[_0x4c9229(0x25c)](0x1);});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x50a8b7=_0x3b90;(function(_0xab96b,_0x592527){const _0x352662=_0x3b90,_0x155c1e=_0xab96b();while(!![]){try{const _0x57f6d1=-parseInt(_0x352662(0xce))/0x1*(parseInt(_0x352662(0xc3))/0x2)+-parseInt(_0x352662(0xbe))/0x3+parseInt(_0x352662(0x10c))/0x4+parseInt(_0x352662(0x106))/0x5+parseInt(_0x352662(0xbb))/0x6*(parseInt(_0x352662(0xb6))/0x7)+-parseInt(_0x352662(0xf2))/0x8*(parseInt(_0x352662(0xaf))/0x9)+parseInt(_0x352662(0x113))/0xa;if(_0x57f6d1===_0x592527)break;else _0x155c1e['push'](_0x155c1e['shift']());}catch(_0x11ee59){_0x155c1e['push'](_0x155c1e['shift']());}}}(_0x7f1f,0xddfe5));function _0x3b90(_0x3a02aa,_0x44f0d3){_0x3a02aa=_0x3a02aa-0x9b;const _0x4d5d0b=_0x7f1f();let _0x1ae387=_0x4d5d0b[_0x3a02aa];return _0x1ae387;}var l=(_0x14ce8b=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x14ce8b,{'get':(_0x3cfc1a,_0x4c45bc)=>(typeof require<'u'?require:_0x3cfc1a)[_0x4c45bc]}):_0x14ce8b)(function(_0x18ccec){const _0x43b01c=_0x3b90,_0x53342c={'AXPSx':function(_0x28c7cb,_0x566a0f){return _0x28c7cb<_0x566a0f;},'vTIZW':function(_0xcc242f,_0x243311){return _0xcc242f(_0x243311);},'AaNRf':function(_0x35ca7b,_0x27eb69){return _0x35ca7b+_0x27eb69;},'iFOcW':function(_0x170499,_0x4d42d9){return _0x170499+_0x4d42d9;},'ZcTum':_0x43b01c(0xac)};if(_0x53342c[_0x43b01c(0xa3)](typeof require,'u'))return require[_0x43b01c(0xc1)](this,arguments);throw _0x53342c[_0x43b01c(0xa7)](Error,_0x53342c[_0x43b01c(0xed)](_0x53342c[_0x43b01c(0xdc)](_0x43b01c(0xb1),_0x18ccec),_0x53342c[_0x43b01c(0xf4)]));});const _0x465e8f={};_0x465e8f[_0x50a8b7(0x10e)]=process[_0x50a8b7(0xc8)],_0x465e8f[_0x50a8b7(0xcf)]=process['stdout'];var d=l('fs'),u=l('path'),g=l('readline'),f=_0x50a8b7(0x111),m=g[_0x50a8b7(0xd9)](_0x465e8f);function s(_0x3231ae){const _0x45f1e3=_0x50a8b7,_0x2178d5={};_0x2178d5[_0x45f1e3(0xda)]=_0x45f1e3(0xf0);const _0x537bfa=_0x2178d5;return new Promise(_0x5000b5=>{const _0x4a2bb7=_0x45f1e3;if(_0x4a2bb7(0xf0)===_0x537bfa[_0x4a2bb7(0xda)])m[_0x4a2bb7(0xc7)](_0x3231ae,_0x5000b5);else return new _0x56299c(_0x329f37=>{const _0x571cfe=_0x4a2bb7;_0x329a64[_0x571cfe(0xc7)](_0x1cf867,_0x329f37);});});}async function h(){const _0x20173e=_0x50a8b7,_0x2b5b14={'KXTOC':'(((.+)+)+)+$','FACdr':function(_0x20d470,_0x555e8e,_0x5b7edf){return _0x20d470(_0x555e8e,_0x5b7edf);},'AfDpo':function(_0x491f77,_0x2d64e4){return _0x491f77(_0x2d64e4);},'hORiP':_0x20173e(0xd8),'xYzrd':_0x20173e(0xd0),'QWfoB':_0x20173e(0xe6),'KBuFj':_0x20173e(0x112),'PioBl':function(_0x28832b,_0x3a1ea5){return _0x28832b(_0x3a1ea5);},'cNgdJ':_0x20173e(0xa6),'mdRXl':_0x20173e(0xf7),'XhezQ':function(_0x301830,_0x1b9efb){return _0x301830===_0x1b9efb;},'WLGaP':function(_0x13192b,_0x1f89a3,_0x560180){return _0x13192b(_0x1f89a3,_0x560180);},'RaAuE':function(_0x4f7c68,_0x1b0c34,_0xebe4ee){return _0x4f7c68(_0x1b0c34,_0xebe4ee);},'CTdcb':_0x20173e(0xeb),'dzJgX':'\x20\x201.\x20Review\x20and\x20edit\x20the\x20plan\x20file'},_0x53522f=(function(){let _0x195474=!![];return function(_0x422157,_0x66c24c){const _0x517b51=_0x195474?function(){const _0x111636=_0x3b90;if(_0x66c24c){const _0x5d35b6=_0x66c24c[_0x111636(0xc1)](_0x422157,arguments);return _0x66c24c=null,_0x5d35b6;}}:function(){};return _0x195474=![],_0x517b51;};}()),_0x133fd6=_0x2b5b14[_0x20173e(0xa2)](_0x53522f,this,function(){const _0x10d522=_0x20173e;return _0x133fd6['toString']()[_0x10d522(0xb8)](_0x2b5b14[_0x10d522(0xcb)])[_0x10d522(0x9c)]()[_0x10d522(0xe3)](_0x133fd6)[_0x10d522(0xb8)]('(((.+)+)+)+$');});_0x133fd6(),console['log']('\x0a📋\x20Create\x20New\x20Project\x20Plan\x0a');let _0x18e8b1=(await _0x2b5b14['AfDpo'](s,_0x2b5b14[_0x20173e(0xdb)]))[_0x20173e(0xc9)]();_0x18e8b1||(console['error'](_0x2b5b14[_0x20173e(0x100)]),process['exit'](0x1)),/^[a-z0-9-]+$/[_0x20173e(0x10b)](_0x18e8b1)||(console['error'](_0x2b5b14[_0x20173e(0xe2)]),process[_0x20173e(0xe9)](0x1));let _0x43818b=u[_0x20173e(0x10f)](f,_0x18e8b1);d[_0x20173e(0xea)](_0x43818b)&&(console['error'](_0x20173e(0x102)+_0x18e8b1+'\x20already\x20exists'),process[_0x20173e(0xe9)](0x1));let _0x481049=await _0x2b5b14[_0x20173e(0x9b)](s,_0x2b5b14['KBuFj']),_0x5d9f77=await _0x2b5b14[_0x20173e(0xc6)](s,_0x2b5b14[_0x20173e(0xf6)]);console['log'](_0x20173e(0xcc)),console[_0x20173e(0x10d)](_0x20173e(0xf1)),console['log'](_0x2b5b14[_0x20173e(0xd2)]);let _0x500b63=await s(_0x20173e(0xfb)),_0x1b6953;const _0xa3b4ab={};_0xa3b4ab[_0x20173e(0x104)]=!0x0,(_0x2b5b14[_0x20173e(0xdf)](_0x500b63['trim'](),'2')?_0x1b6953=await _0x2b5b14[_0x20173e(0xf9)](w,_0x481049['trim'](),_0x5d9f77[_0x20173e(0xc9)]()):_0x1b6953=await _0x2b5b14[_0x20173e(0xf3)](P,_0x481049[_0x20173e(0xc9)](),_0x5d9f77['trim']()),d[_0x20173e(0xa0)](_0x43818b,_0xa3b4ab));let _0x3e9230=u[_0x20173e(0x10f)](_0x43818b,_0x2b5b14['CTdcb']);d[_0x20173e(0x110)](_0x3e9230,JSON[_0x20173e(0xa9)](_0x1b6953,null,0x2)),console[_0x20173e(0x10d)](_0x20173e(0xbc)+_0x3e9230),console[_0x20173e(0x10d)]('\x0aNext\x20steps:'),console[_0x20173e(0x10d)](_0x2b5b14[_0x20173e(0x10a)]),console[_0x20173e(0x10d)](_0x20173e(0xe1)+_0x18e8b1),console[_0x20173e(0x10d)](_0x20173e(0x109)),m[_0x20173e(0xfe)]();}function _0x7f1f(){const _0x5a183f=['VKKVV','\x0aChoose\x20structure\x20(1-2):\x20','iXyOu','(((.+)+)+)+$','close','First\x20version\x20with\x20basic\x20features','xYzrd','bsVnt','❌\x20Plan\x20','tegUo','recursive','SUB-001','100205zqgOYW','EfniF','catch','\x20\x203.\x20Start\x20working:\x20npm\x20run\x20task:start\x20TASK-001\x0a','dzJgX','test','3511812FpEIIb','log','input','join','writeFileSync','.claude/plans','Project\x20name:\x20','7709230XeYELB','BYAKT','AfDpo','toString','oezlW','2.0','code','mkdirSync','toISOString','FACdr','AXPSx','HKBvK','Setup\x20project\x20structure','Project\x20description:\x20','vTIZW','Core\x20functionality\x20and\x20features','stringify','ONHpq','OfvdM','\x22\x20is\x20not\x20supported','documentation','ueBtJ','308412xPfNue','Estimated\x20hours\x20(optional):\x20','Dynamic\x20require\x20of\x20\x22','TASK-','MBeiJ','YNRen','Repository\x20created','7nZUKdZ','rikIy','search','LBeNn','pending','746340uxLpYE','\x0a✅\x20Plan\x20created:\x20','Phase\x20(design/implementation/testing/deployment)\x20[implementation]:\x20','2169543McUuup','Initialize\x20repository\x20and\x20basic\x20structure','Basic\x20folder\x20structure\x20in\x20place','apply','CetKP','184610GwsKqn','padStart','README\x20created','PioBl','question','stdin','trim','Initial\x20Release','KXTOC','\x0aPlan\x20structure:','planning','1efSdSc','output','❌\x20Plan\x20ID\x20cannot\x20be\x20empty','Error:','mdRXl','JYxHB','BBRRQ','human','\x0a---\x20Creating\x20Flat\x20Plan\x20---\x0a','implementation','Plan\x20ID\x20(e.g.,\x20plan-001,\x20feature-auth,\x20bugfix-login):\x20','createInterface','YkYEY','hORiP','iFOcW','pcnFH','Using\x20template\x20structure...\x0a','XhezQ','message','\x20\x202.\x20Lock\x20the\x20plan:\x20npm\x20run\x20plan:init\x20','QWfoB','constructor','GoIqo','tests','❌\x20Plan\x20ID\x20must\x20contain\x20only\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens','aXYbQ','\x20title\x20(or\x20press\x20Enter\x20to\x20finish):\x20','exit','existsSync','PROJECT-PLAN.json','OlWGl','AaNRf','design','push','HzVfJ','1.\x20Flat\x20(simple\x20task\x20list)','16brelbV','RaAuE','ZcTum','MILE-001','cNgdJ','2.\x20Hierarchical\x20(Project\x20→\x20Subproject\x20→\x20Milestone\x20→\x20Task)','YJNJC','WLGaP'];_0x7f1f=function(){return _0x5a183f;};return _0x7f1f();}async function P(_0xd42b64,_0x4a8ddb){const _0x40269e=_0x50a8b7,_0x1fe6b0={'GoIqo':_0x40269e(0xfd),'iXyOu':_0x40269e(0xdd),'JYxHB':function(_0x1da24f,_0x204e70){return _0x1da24f(_0x204e70);},'OfvdM':function(_0x3d0448,_0x3cf704){return _0x3d0448(_0x3cf704);},'VKKVV':_0x40269e(0xbd),'HKBvK':_0x40269e(0xb0),'LBeNn':'pending'};console['log'](_0x40269e(0xd6));let _0x3b6f48=[],_0x50614d=!0x0,_0x4e836d=0x1;for(;_0x50614d;){if(_0x1fe6b0[_0x40269e(0xfc)]!==_0x40269e(0xd4)){let _0xbf38ea=_0x40269e(0xb2)+_0x1fe6b0[_0x40269e(0xd3)](String,_0x4e836d)[_0x40269e(0xc4)](0x3,'0'),_0x11f17c=await _0x1fe6b0[_0x40269e(0xab)](s,'Task\x20'+_0x4e836d+_0x40269e(0xe8));if(!_0x11f17c[_0x40269e(0xc9)]()){_0x50614d=!0x1;break;}let _0x1a753a=await _0x1fe6b0[_0x40269e(0xab)](s,_0x1fe6b0[_0x40269e(0xfa)]),_0x567859=await _0x1fe6b0[_0x40269e(0xd3)](s,_0x1fe6b0[_0x40269e(0xa4)]);const _0x18599c={};_0x18599c['design']=[],_0x18599c[_0x40269e(0x9f)]=[],_0x18599c[_0x40269e(0xe5)]=[],_0x18599c[_0x40269e(0xad)]=[],(_0x3b6f48[_0x40269e(0xef)]({'id':_0xbf38ea,'title':_0x11f17c[_0x40269e(0xc9)](),'description':'','status':_0x1fe6b0[_0x40269e(0xb9)],'phase':_0x1a753a['trim']()||_0x40269e(0xd7),'dependencies':[],'estimatedHours':_0x567859[_0x40269e(0xc9)]()?parseInt(_0x567859['trim']()):null,'completionCriteria':[],'testCases':[],'artifacts':_0x18599c}),_0x4e836d++);}else return _0x4e9d5e['toString']()[_0x40269e(0xb8)](OIPhwX[_0x40269e(0xe4)])['toString']()['constructor'](_0x5da84f)[_0x40269e(0xb8)](OIPhwX['GoIqo']);}return{'version':_0x40269e(0x9e),'projectName':_0xd42b64,'description':_0x4a8ddb,'createdAt':new Date()['toISOString'](),'createdBy':_0x40269e(0xd5),'locked':!0x1,'tasks':_0x3b6f48};}async function w(_0x3cd0f0,_0x36c05e){const _0x109469=_0x50a8b7,_0x422036={};_0x422036[_0x109469(0xb3)]='For\x20this\x20version,\x20you\x20can\x20manually\x20edit\x20the\x20JSON\x20file.',_0x422036[_0x109469(0xec)]=_0x109469(0x9e),_0x422036[_0x109469(0xb4)]='PROJ-001',_0x422036[_0x109469(0xb7)]=_0x109469(0xd5),_0x422036[_0x109469(0x107)]='Core\x20Features',_0x422036['aXYbQ']=_0x109469(0xa8),_0x422036['BYAKT']=_0x109469(0xba),_0x422036[_0x109469(0x101)]=_0x109469(0xf5),_0x422036[_0x109469(0xae)]=_0x109469(0xca),_0x422036[_0x109469(0xc2)]=_0x109469(0xff),_0x422036[_0x109469(0x9d)]=_0x109469(0xa5),_0x422036[_0x109469(0xf8)]=_0x109469(0xbf),_0x422036[_0x109469(0x103)]=_0x109469(0xee),_0x422036['YJJrU']=_0x109469(0xc5);const _0xe6e3d5=_0x422036,_0x1d91fb={};return _0x1d91fb[_0x109469(0xee)]=[],_0x1d91fb[_0x109469(0x9f)]=[],_0x1d91fb['tests']=[],_0x1d91fb['documentation']=[],(console[_0x109469(0x10d)]('\x0a---\x20Creating\x20Hierarchical\x20Plan\x20---\x0a'),console[_0x109469(0x10d)](_0xe6e3d5[_0x109469(0xb3)]),console[_0x109469(0x10d)](_0x109469(0xde)),{'version':_0xe6e3d5['OlWGl'],'project':{'id':_0xe6e3d5[_0x109469(0xb4)],'name':_0x3cd0f0,'description':_0x36c05e,'status':_0x109469(0xcd),'createdAt':new Date()[_0x109469(0xa1)](),'createdBy':_0xe6e3d5[_0x109469(0xb7)],'locked':!0x1,'subprojects':[{'id':_0x109469(0x105),'name':_0xe6e3d5[_0x109469(0x107)],'description':_0xe6e3d5[_0x109469(0xe7)],'status':_0xe6e3d5[_0x109469(0x114)],'dependencies':[],'milestones':[{'id':_0xe6e3d5[_0x109469(0x101)],'name':_0xe6e3d5[_0x109469(0xae)],'description':_0xe6e3d5['CetKP'],'status':'pending','dependencies':[],'tasks':[{'id':'TASK-001','title':_0xe6e3d5[_0x109469(0x9d)],'description':_0xe6e3d5[_0x109469(0xf8)],'status':_0x109469(0xba),'phase':_0xe6e3d5[_0x109469(0x103)],'dependencies':[],'estimatedHours':0x2,'completionCriteria':[_0x109469(0xb5),_0x109469(0xc0),_0xe6e3d5['YJJrU']],'testCases':[],'artifacts':_0x1d91fb}]}]}]}});}h()[_0x50a8b7(0x108)](_0x5a1f10=>{const _0x5ddc8c=_0x50a8b7,_0x55a9e0={};_0x55a9e0['ONHpq']=_0x5ddc8c(0xd1);const _0x10ee29=_0x55a9e0;console['error'](_0x10ee29[_0x5ddc8c(0xaa)],_0x5a1f10[_0x5ddc8c(0xe0)]),process[_0x5ddc8c(0xe9)](0x1);});
|
|
2
|
+
const _0x13967d=_0x44b3;(function(_0x28dcef,_0x26441d){const _0x276162=_0x44b3,_0x56111b=_0x28dcef();while(!![]){try{const _0x2abeaa=parseInt(_0x276162(0x252))/0x1*(parseInt(_0x276162(0x251))/0x2)+-parseInt(_0x276162(0x211))/0x3+-parseInt(_0x276162(0x219))/0x4*(parseInt(_0x276162(0x228))/0x5)+parseInt(_0x276162(0x26e))/0x6+parseInt(_0x276162(0x20c))/0x7+parseInt(_0x276162(0x265))/0x8*(-parseInt(_0x276162(0x207))/0x9)+parseInt(_0x276162(0x221))/0xa;if(_0x2abeaa===_0x26441d)break;else _0x56111b['push'](_0x56111b['shift']());}catch(_0x423917){_0x56111b['push'](_0x56111b['shift']());}}}(_0x3b1c,0x29230));var l=(_0x4ef4db=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x4ef4db,{'get':(_0x58a150,_0x58bfc8)=>(typeof require<'u'?require:_0x58a150)[_0x58bfc8]}):_0x4ef4db)(function(_0x179b0d){const _0x2f14c9=_0x44b3,_0x384ed7={'TcKjI':function(_0x160724,_0x5d25e6){return _0x160724<_0x5d25e6;},'olicC':function(_0x2df941,_0x43e904){return _0x2df941(_0x43e904);},'lEoIO':function(_0x1ee1df,_0x146463){return _0x1ee1df+_0x146463;},'TfdBK':_0x2f14c9(0x23c),'yfczN':_0x2f14c9(0x235)};if(_0x384ed7[_0x2f14c9(0x24d)](typeof require,'u'))return require[_0x2f14c9(0x21f)](this,arguments);throw _0x384ed7[_0x2f14c9(0x239)](Error,_0x384ed7[_0x2f14c9(0x203)](_0x384ed7[_0x2f14c9(0x240)]+_0x179b0d,_0x384ed7[_0x2f14c9(0x26c)]));});const _0x4b1a66={};_0x4b1a66[_0x13967d(0x1ff)]=process[_0x13967d(0x218)],_0x4b1a66[_0x13967d(0x26f)]=process[_0x13967d(0x21c)];var d=l('fs'),u=l('path'),g=l('readline'),f=_0x13967d(0x1f1),m=g['createInterface'](_0x4b1a66);function s(_0x563315){return new Promise(_0x5f33fa=>{m['question'](_0x563315,_0x5f33fa);});}function _0x44b3(_0x57d5ed,_0x668621){_0x57d5ed=_0x57d5ed-0x1ec;const _0x1ff780=_0x3b1c();let _0x41d729=_0x1ff780[_0x57d5ed];return _0x41d729;}async function h(){const _0x1bd8e5=_0x13967d,_0x3f69b4={'dxgkm':_0x1bd8e5(0x23f),'FfbEh':'PeCeJ','vIqUg':_0x1bd8e5(0x241),'CyuTc':'PROJ-001','mYscT':'planning','ByACz':_0x1bd8e5(0x215),'HEezr':'Core\x20functionality\x20and\x20features','ZXQZK':'MILE-001','nVSNe':'Initial\x20Release','HLEcC':_0x1bd8e5(0x231),'raCWv':'pending','hYypT':'Setup\x20project\x20structure','QwvPR':_0x1bd8e5(0x23a),'noEZr':_0x1bd8e5(0x20b),'ZupCX':function(_0x2b2df5,_0x5dec47){return _0x2b2df5===_0x5dec47;},'tKOWt':_0x1bd8e5(0x1f9),'QmVAW':function(_0x59f276,_0x511263,_0x5f5ca8){return _0x59f276(_0x511263,_0x5f5ca8);},'OJRtr':function(_0x502cd6,_0x6db70f){return _0x502cd6(_0x6db70f);},'PCwJD':_0x1bd8e5(0x229),'UEOmn':_0x1bd8e5(0x204),'OFbHE':function(_0x5623a0,_0x1a3f87){return _0x5623a0(_0x1a3f87);},'Tnvdb':_0x1bd8e5(0x225),'XigJe':'2.\x20Hierarchical\x20(Project\x20→\x20Subproject\x20→\x20Milestone\x20→\x20Task)','szlnY':function(_0x1f8a42,_0x2c39c8){return _0x1f8a42===_0x2c39c8;},'bSPJY':_0x1bd8e5(0x1fd),'mpvLj':'\x20\x201.\x20Review\x20and\x20edit\x20the\x20plan\x20file'},_0x4e32f6=(function(){const _0x1c97b4=_0x1bd8e5,_0x262249={};_0x262249[_0x1c97b4(0x242)]=_0x3f69b4[_0x1c97b4(0x236)],_0x262249[_0x1c97b4(0x230)]=_0x3f69b4[_0x1c97b4(0x222)],_0x262249['elWMH']=_0x3f69b4[_0x1c97b4(0x234)],_0x262249[_0x1c97b4(0x249)]=_0x3f69b4[_0x1c97b4(0x210)],_0x262249[_0x1c97b4(0x21b)]=_0x3f69b4['HEezr'],_0x262249[_0x1c97b4(0x25e)]=_0x3f69b4[_0x1c97b4(0x275)],_0x262249[_0x1c97b4(0x22a)]=_0x3f69b4[_0x1c97b4(0x209)],_0x262249['xZjNf']=_0x3f69b4[_0x1c97b4(0x1f7)],_0x262249[_0x1c97b4(0x224)]=_0x3f69b4[_0x1c97b4(0x26b)],_0x262249[_0x1c97b4(0x255)]=_0x1c97b4(0x269),_0x262249['ePhsJ']=_0x3f69b4['hYypT'],_0x262249[_0x1c97b4(0x260)]=_0x3f69b4['QwvPR'],_0x262249[_0x1c97b4(0x1f4)]=_0x3f69b4['noEZr'];const _0x255101=_0x262249;if(_0x3f69b4[_0x1c97b4(0x202)](_0x3f69b4[_0x1c97b4(0x256)],_0x3f69b4[_0x1c97b4(0x256)])){let _0x557a33=!![];return function(_0x3ee504,_0x183270){const _0x1cb6ac=_0x1c97b4,_0x2dbeac={};_0x2dbeac[_0x1cb6ac(0x258)]=_0x3f69b4[_0x1cb6ac(0x273)],_0x2dbeac['gzkhx']=function(_0x32234e,_0x28a55b){return _0x32234e===_0x28a55b;},_0x2dbeac[_0x1cb6ac(0x25a)]=_0x3f69b4[_0x1cb6ac(0x217)],_0x2dbeac[_0x1cb6ac(0x245)]=_0x1cb6ac(0x21a);const _0x42c1a8=_0x2dbeac,_0x5b5258=_0x557a33?function(){const _0x27d0b2=_0x1cb6ac;if(_0x42c1a8[_0x27d0b2(0x205)](_0x42c1a8[_0x27d0b2(0x25a)],_0x42c1a8[_0x27d0b2(0x25a)])){if(_0x183270){if(_0x42c1a8['okhYj']!==_0x42c1a8[_0x27d0b2(0x245)])return new _0xdfc83e(_0x38a293=>{_0x1a3d4d['question'](_0x2014be,_0x38a293);});else{const _0x54b28a=_0x183270[_0x27d0b2(0x21f)](_0x3ee504,arguments);return _0x183270=null,_0x54b28a;}}}else return _0x53781d['toString']()['search'](XlvAZl['UHbgP'])[_0x27d0b2(0x22b)]()[_0x27d0b2(0x1fa)](_0x27674d)[_0x27d0b2(0x23d)](_0x27d0b2(0x23f));}:function(){};return _0x557a33=![],_0x5b5258;};}else{const _0x59753e={};return _0x59753e['design']=[],_0x59753e[_0x1c97b4(0x261)]=[],_0x59753e[_0x1c97b4(0x266)]=[],_0x59753e[_0x1c97b4(0x227)]=[],(_0x44dd61['log']('\x0a---\x20Creating\x20Hierarchical\x20Plan\x20---\x0a'),_0x3f002f[_0x1c97b4(0x262)](_0x255101[_0x1c97b4(0x242)]),_0x17fbaf['log'](_0x1c97b4(0x1fb)),{'version':_0x1c97b4(0x23e),'project':{'id':_0x255101[_0x1c97b4(0x230)],'name':_0x5a4c1e,'description':_0x1165f3,'status':_0x255101[_0x1c97b4(0x237)],'createdAt':new _0x596131()[_0x1c97b4(0x22f)](),'createdBy':_0x1c97b4(0x20a),'locked':!0x1,'subprojects':[{'id':_0x255101[_0x1c97b4(0x249)],'name':'Core\x20Features','description':_0x255101[_0x1c97b4(0x21b)],'status':_0x1c97b4(0x270),'dependencies':[],'milestones':[{'id':_0x255101['LKaTB'],'name':_0x255101[_0x1c97b4(0x22a)],'description':_0x255101[_0x1c97b4(0x226)],'status':_0x255101[_0x1c97b4(0x224)],'dependencies':[],'tasks':[{'id':_0x255101['WODmr'],'title':_0x255101[_0x1c97b4(0x257)],'description':_0x1c97b4(0x200),'status':_0x255101['mDTnd'],'phase':'design','dependencies':[],'estimatedHours':0x2,'completionCriteria':[_0x255101[_0x1c97b4(0x260)],_0x1c97b4(0x20f),_0x255101[_0x1c97b4(0x1f4)]],'testCases':[],'artifacts':_0x59753e}]}]}]}});}}()),_0x4845e1=_0x3f69b4[_0x1bd8e5(0x1f6)](_0x4e32f6,this,function(){const _0x5e8bc4=_0x1bd8e5;return _0x4845e1[_0x5e8bc4(0x22b)]()[_0x5e8bc4(0x23d)](_0x3f69b4[_0x5e8bc4(0x273)])[_0x5e8bc4(0x22b)]()['constructor'](_0x4845e1)['search'](_0x5e8bc4(0x23f));});_0x4845e1(),console[_0x1bd8e5(0x262)](_0x1bd8e5(0x24e));let _0x530434=(await _0x3f69b4[_0x1bd8e5(0x206)](s,'Plan\x20ID\x20(e.g.,\x20plan-001,\x20feature-auth,\x20bugfix-login):\x20'))[_0x1bd8e5(0x216)]();_0x530434||(console['error'](_0x3f69b4[_0x1bd8e5(0x21d)]),process[_0x1bd8e5(0x247)](0x1)),/^[a-z0-9-]+$/[_0x1bd8e5(0x1f8)](_0x530434)||(console[_0x1bd8e5(0x244)]('❌\x20Plan\x20ID\x20must\x20contain\x20only\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens'),process[_0x1bd8e5(0x247)](0x1));let _0x495d2e=u[_0x1bd8e5(0x214)](f,_0x530434);d['existsSync'](_0x495d2e)&&(console[_0x1bd8e5(0x244)](_0x1bd8e5(0x246)+_0x530434+'\x20already\x20exists'),process[_0x1bd8e5(0x247)](0x1));let _0x540e44=await s(_0x3f69b4[_0x1bd8e5(0x22d)]),_0x4af329=await _0x3f69b4[_0x1bd8e5(0x271)](s,_0x1bd8e5(0x1fe));console['log'](_0x1bd8e5(0x268)),console[_0x1bd8e5(0x262)](_0x3f69b4[_0x1bd8e5(0x21e)]),console[_0x1bd8e5(0x262)](_0x3f69b4[_0x1bd8e5(0x1ec)]);let _0x1ca53c=await _0x3f69b4[_0x1bd8e5(0x271)](s,_0x1bd8e5(0x25c)),_0xb3cd44;const _0x2de058={};_0x2de058[_0x1bd8e5(0x26a)]=!0x0,(_0x3f69b4[_0x1bd8e5(0x25b)](_0x1ca53c[_0x1bd8e5(0x216)](),'2')?_0xb3cd44=await _0x3f69b4[_0x1bd8e5(0x1f6)](w,_0x540e44[_0x1bd8e5(0x216)](),_0x4af329[_0x1bd8e5(0x216)]()):_0xb3cd44=await _0x3f69b4[_0x1bd8e5(0x1f6)](P,_0x540e44['trim'](),_0x4af329['trim']()),d[_0x1bd8e5(0x263)](_0x495d2e,_0x2de058));let _0x1c1871=u[_0x1bd8e5(0x214)](_0x495d2e,_0x3f69b4[_0x1bd8e5(0x238)]);d['writeFileSync'](_0x1c1871,JSON[_0x1bd8e5(0x223)](_0xb3cd44,null,0x2)),console[_0x1bd8e5(0x262)]('\x0a✅\x20Plan\x20created:\x20'+_0x1c1871),console[_0x1bd8e5(0x262)]('\x0aNext\x20steps:'),console[_0x1bd8e5(0x262)](_0x3f69b4[_0x1bd8e5(0x1fc)]),console[_0x1bd8e5(0x262)]('\x20\x202.\x20Lock\x20the\x20plan:\x20npm\x20run\x20plan:init\x20'+_0x530434),console[_0x1bd8e5(0x262)](_0x1bd8e5(0x254)),m['close']();}function _0x3b1c(){const _0x581e41=['Task\x20','qxLFq','.claude/plans','WCzIl','nMgwF','sSOxB','XYxNx','QmVAW','HLEcC','test','Urbby','constructor','Using\x20template\x20structure...\x0a','mpvLj','PROJECT-PLAN.json','Project\x20description:\x20','input','Initialize\x20repository\x20and\x20basic\x20structure','\x20title\x20(or\x20press\x20Enter\x20to\x20finish):\x20','ZupCX','lEoIO','Project\x20name:\x20','gzkhx','OJRtr','63bkXBPp','OtOcv','nVSNe','human','README\x20created','389893rNDwSj','BRmOR','OYdPx','Basic\x20folder\x20structure\x20in\x20place','ByACz','622587GgDmjv','WRBnN','\x0a---\x20Creating\x20Hierarchical\x20Plan\x20---\x0a','join','SUB-001','trim','FfbEh','stdin','2472tYCbFq','KcvFX','YibSF','stdout','PCwJD','Tnvdb','apply','implementation','4397300sczUYh','CyuTc','stringify','mDTnd','1.\x20Flat\x20(simple\x20task\x20list)','xZjNf','documentation','855VAqDKB','❌\x20Plan\x20ID\x20cannot\x20be\x20empty','olELv','toString','NptCP','UEOmn','planning','toISOString','Ddstu','First\x20version\x20with\x20basic\x20features','qkffZ','WWoRm','mYscT','\x22\x20is\x20not\x20supported','vIqUg','elWMH','bSPJY','olicC','Repository\x20created','GSTox','Dynamic\x20require\x20of\x20\x22','search','2.0','(((.+)+)+)+$','TfdBK','For\x20this\x20version,\x20you\x20can\x20manually\x20edit\x20the\x20JSON\x20file.','MBJJq','\x0a---\x20Creating\x20Flat\x20Plan\x20---\x0a','error','okhYj','❌\x20Plan\x20','exit','lhmHT','dkLoS','OZnmn','KvgAD','MyoVn','TcKjI','\x0a📋\x20Create\x20New\x20Project\x20Plan\x0a','uumFe','EcBsP','87940VphFxW','2cemVkm','message','\x20\x203.\x20Start\x20working:\x20npm\x20run\x20task:start\x20TASK-001\x0a','WODmr','tKOWt','ePhsJ','UHbgP','MILE-001','fiRbe','szlnY','\x0aChoose\x20structure\x20(1-2):\x20','SMeRt','LKaTB','Phase\x20(design/implementation/testing/deployment)\x20[implementation]:\x20','FXVUS','code','log','mkdirSync','padStart','195568vALTzg','tests','design','\x0aPlan\x20structure:','TASK-001','recursive','raCWv','yfczN','sKKiE','416736pSrVWb','output','pending','OFbHE','sIRZZ','dxgkm','CBLpW','ZXQZK','XigJe','Core\x20Features','Setup\x20project\x20structure'];_0x3b1c=function(){return _0x581e41;};return _0x3b1c();}async function P(_0x2038db,_0x598181){const _0x4cda47=_0x13967d,_0x12a152={'vmehL':function(_0x20fc06,_0x20f1eb){return _0x20fc06(_0x20f1eb);},'qkffZ':function(_0x4c24c4,_0x8c1d63){return _0x4c24c4(_0x8c1d63);},'sIRZZ':_0x4cda47(0x25f),'OYdPx':function(_0xb32cee,_0x1bb240){return _0xb32cee(_0x1bb240);},'SMeRt':'Estimated\x20hours\x20(optional):\x20','OZnmn':_0x4cda47(0x270),'KvgAD':_0x4cda47(0x220),'qxLFq':function(_0x1245f7,_0x42373d){return _0x1245f7(_0x42373d);},'sKKiE':_0x4cda47(0x20a)};console[_0x4cda47(0x262)](_0x4cda47(0x243));let _0x327257=[],_0x514927=!0x0,_0x2fb114=0x1;for(;_0x514927;){let _0x5bdefe='TASK-'+_0x12a152['vmehL'](String,_0x2fb114)[_0x4cda47(0x264)](0x3,'0'),_0x6d8cba=await s(_0x4cda47(0x1ef)+_0x2fb114+_0x4cda47(0x201));if(!_0x6d8cba[_0x4cda47(0x216)]()){_0x514927=!0x1;break;}let _0x24b116=await _0x12a152[_0x4cda47(0x232)](s,_0x12a152[_0x4cda47(0x272)]),_0x302669=await _0x12a152[_0x4cda47(0x20e)](s,_0x12a152[_0x4cda47(0x25d)]);const _0x19b70e={};_0x19b70e[_0x4cda47(0x267)]=[],_0x19b70e[_0x4cda47(0x261)]=[],_0x19b70e['tests']=[],_0x19b70e['documentation']=[],(_0x327257['push']({'id':_0x5bdefe,'title':_0x6d8cba[_0x4cda47(0x216)](),'description':'','status':_0x12a152[_0x4cda47(0x24a)],'phase':_0x24b116[_0x4cda47(0x216)]()||_0x12a152[_0x4cda47(0x24b)],'dependencies':[],'estimatedHours':_0x302669[_0x4cda47(0x216)]()?_0x12a152[_0x4cda47(0x1f0)](parseInt,_0x302669[_0x4cda47(0x216)]()):null,'completionCriteria':[],'testCases':[],'artifacts':_0x19b70e}),_0x2fb114++);}return{'version':_0x4cda47(0x23e),'projectName':_0x2038db,'description':_0x598181,'createdAt':new Date()[_0x4cda47(0x22f)](),'createdBy':_0x12a152[_0x4cda47(0x26d)],'locked':!0x1,'tasks':_0x327257};}async function w(_0x9d9a7,_0x121bfb){const _0x3202ef=_0x13967d,_0x384c5e={};_0x384c5e[_0x3202ef(0x208)]=_0x3202ef(0x241),_0x384c5e['nMgwF']=_0x3202ef(0x23e),_0x384c5e['WWoRm']='PROJ-001',_0x384c5e[_0x3202ef(0x24c)]=_0x3202ef(0x22e),_0x384c5e['wQsxn']=_0x3202ef(0x20a),_0x384c5e['GSTox']=_0x3202ef(0x215),_0x384c5e[_0x3202ef(0x274)]='Core\x20functionality\x20and\x20features',_0x384c5e[_0x3202ef(0x248)]='pending',_0x384c5e[_0x3202ef(0x1f5)]=_0x3202ef(0x259),_0x384c5e['wiQtc']='Initial\x20Release',_0x384c5e['wcxyE']='First\x20version\x20with\x20basic\x20features',_0x384c5e[_0x3202ef(0x22c)]=_0x3202ef(0x269),_0x384c5e[_0x3202ef(0x250)]=_0x3202ef(0x1ee),_0x384c5e[_0x3202ef(0x20d)]=_0x3202ef(0x200),_0x384c5e[_0x3202ef(0x24f)]='design',_0x384c5e[_0x3202ef(0x1f2)]=_0x3202ef(0x20f);const _0x28f695=_0x384c5e,_0x2fb450={};return _0x2fb450['design']=[],_0x2fb450['code']=[],_0x2fb450[_0x3202ef(0x266)]=[],_0x2fb450['documentation']=[],(console['log'](_0x3202ef(0x213)),console['log'](_0x28f695[_0x3202ef(0x208)]),console['log']('Using\x20template\x20structure...\x0a'),{'version':_0x28f695[_0x3202ef(0x1f3)],'project':{'id':_0x28f695[_0x3202ef(0x233)],'name':_0x9d9a7,'description':_0x121bfb,'status':_0x28f695[_0x3202ef(0x24c)],'createdAt':new Date()[_0x3202ef(0x22f)](),'createdBy':_0x28f695['wQsxn'],'locked':!0x1,'subprojects':[{'id':_0x28f695[_0x3202ef(0x23b)],'name':_0x3202ef(0x1ed),'description':_0x28f695[_0x3202ef(0x274)],'status':_0x28f695['lhmHT'],'dependencies':[],'milestones':[{'id':_0x28f695[_0x3202ef(0x1f5)],'name':_0x28f695['wiQtc'],'description':_0x28f695['wcxyE'],'status':_0x28f695[_0x3202ef(0x248)],'dependencies':[],'tasks':[{'id':_0x28f695[_0x3202ef(0x22c)],'title':_0x28f695[_0x3202ef(0x250)],'description':_0x28f695[_0x3202ef(0x20d)],'status':_0x28f695['lhmHT'],'phase':_0x28f695[_0x3202ef(0x24f)],'dependencies':[],'estimatedHours':0x2,'completionCriteria':['Repository\x20created',_0x28f695[_0x3202ef(0x1f2)],_0x3202ef(0x20b)],'testCases':[],'artifacts':_0x2fb450}]}]}]}});}h()['catch'](_0x551597=>{const _0x2a0418=_0x13967d,_0x179fb4={};_0x179fb4[_0x2a0418(0x212)]='Error:';const _0x284be9=_0x179fb4;console[_0x2a0418(0x244)](_0x284be9['WRBnN'],_0x551597[_0x2a0418(0x253)]),process[_0x2a0418(0x247)](0x1);});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(
|
|
2
|
+
var _0x11516f=_0x2451;(function(_0x2cef89,_0x18d648){var _0x304e89=_0x2451,_0x1bf305=_0x2cef89();while(!![]){try{var _0x3ed4c2=-parseInt(_0x304e89(0x10a))/0x1*(-parseInt(_0x304e89(0x115))/0x2)+-parseInt(_0x304e89(0x116))/0x3+-parseInt(_0x304e89(0x118))/0x4+parseInt(_0x304e89(0x10e))/0x5+parseInt(_0x304e89(0x114))/0x6+parseInt(_0x304e89(0x110))/0x7*(parseInt(_0x304e89(0x119))/0x8)+-parseInt(_0x304e89(0x112))/0x9;if(_0x3ed4c2===_0x18d648)break;else _0x1bf305['push'](_0x1bf305['shift']());}catch(_0x58ed51){_0x1bf305['push'](_0x1bf305['shift']());}}}(_0x2b48,0x78f9f));function _0x2b48(){var _0x121c3c=['3329865dyvoQG','log','4474998aqhhND','2iEOkNU','2874819deHWJD','toString','84740LsSUjh','61816qKHeBG','739241dQqEUz','search','\x0a╔═══════════════════════════════════════════════════════════════════════════╗\x0a║\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PLAN\x20STATE\x20MACHINE\x20-\x20QUICK\x20REFERENCE\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20║\x0a╚═══════════════════════════════════════════════════════════════════════════╝\x0a\x0a📋\x20PHASE\x201:\x20PLANNING\x20(Before\x20Lock\x20-\x20Iterative)\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20Create\x20or\x20update\x20plan\x20file:\x0a\x20\x20\x20\x20Location:\x20.claude/PROJECT-PLAN.md\x0a\x0a\x20\x20\x20\x20You\x20can\x20manually\x20edit\x20or\x20ask\x20Claude\x20to\x20write\x20it\x20using\x20Write\x20tool.\x0a\x20\x20\x20\x20Iterate\x20until\x20you\x27re\x20satisfied\x20with\x20the\x20plan.\x0a\x0a🔒\x20PHASE\x202:\x20LOCK\x20THE\x20PLAN\x20(One-Time\x20Action)\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20Initialize\x20task\x20tracker\x20and\x20lock\x20plan:\x0a\x20\x20\x20\x20npm\x20run\x20plan:init\x0a\x0a\x20\x20\x20\x20This\x20creates:\x0a\x20\x20\x20\x20\x20\x20✓\x20.claude/TASK-TRACKER.json\x0a\x20\x20\x20\x20\x20\x20✓\x20.claude/.plan-locked\x0a\x0a\x20\x20\x20\x20After\x20this,\x20the\x20plan\x20becomes\x20IMMUTABLE.\x0a\x0a🚀\x20PHASE\x203:\x20EXECUTION\x20(Task-Based\x20Development)\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20View\x20all\x20tasks\x20and\x20their\x20status:\x0a\x20\x20\x20\x20npm\x20run\x20task:status\x0a\x0a\x20\x20Start\x20working\x20on\x20a\x20task:\x0a\x20\x20\x20\x20npm\x20run\x20task:start\x20TASK-001\x0a\x0a\x20\x20Complete\x20a\x20task:\x0a\x20\x20\x20\x20npm\x20run\x20task:done\x20TASK-001\x0a\x0a\x20\x20Get\x20this\x20help:\x0a\x20\x20\x20\x20npm\x20run\x20plan:help\x0a\x0a🔧\x20AMENDING\x20THE\x20PLAN\x20(After\x20Lock)\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20If\x20requirements\x20change\x20mid-development:\x0a\x20\x20\x20\x20npm\x20run\x20plan:amend\x0a\x0a\x20\x20This\x20allows\x20you\x20to:\x0a\x20\x20\x20\x20•\x20Add\x20new\x20tasks\x0a\x20\x20\x20\x20•\x20Update\x20existing\x20tasks\x20(pending/in_progress\x20only)\x0a\x20\x20\x20\x20•\x20Remove\x20tasks\x20(pending\x20only)\x0a\x20\x20\x20\x20•\x20View\x20amendment\x20history\x0a\x0a\x20\x20All\x20changes\x20are\x20logged\x20with\x20timestamps\x20and\x20reasons\x20for\x20audit\x20trail.\x0a\x0a📝\x20TASK\x20LIFECYCLE\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20pending\x20→\x20in_progress\x20→\x20completed\x0a\x0a\x20\x20Rules:\x0a\x20\x20\x20\x20•\x20Only\x20ONE\x20task\x20can\x20be\x20in_progress\x20at\x20a\x20time\x0a\x20\x20\x20\x20•\x20Code\x20changes\x20require\x20an\x20active\x20task\x20(enforced\x20by\x20hooks)\x0a\x20\x20\x20\x20•\x20Completed\x20tasks\x20cannot\x20be\x20restarted\x0a\x20\x20\x20\x20•\x20Dependencies\x20must\x20be\x20completed\x20first\x0a\x0a🔍\x20EXAMPLES\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20#\x201.\x20Create\x20and\x20lock\x20plan\x0a\x20\x20npm\x20run\x20plan:init\x0a\x0a\x20\x20#\x202.\x20Check\x20what\x20tasks\x20exist\x0a\x20\x20npm\x20run\x20task:status\x0a\x0a\x20\x20#\x203.\x20Start\x20first\x20task\x0a\x20\x20npm\x20run\x20task:start\x20TASK-001\x0a\x0a\x20\x20#\x204.\x20Work\x20on\x20the\x20code\x20(Claude\x20writes\x20in\x20./Agent/)\x0a\x0a\x20\x20#\x205.\x20Complete\x20the\x20task\x0a\x20\x20npm\x20run\x20task:done\x20TASK-001\x0a\x0a\x20\x20#\x206.\x20Move\x20to\x20next\x20task\x0a\x20\x20npm\x20run\x20task:start\x20TASK-002\x0a\x0a📚\x20MORE\x20INFO\x0a─────────────────────────────────────────────────────────────────────────────\x0a\x0a\x20\x20Documentation:\x20docs/enforcement-system/FOLDER-STRUCTURE.md\x0a\x0a\x20\x20Full\x20command\x20reference:\x0a\x20\x20\x20\x20plan:init\x20\x20\x20\x20-\x20Initialize\x20task\x20tracker\x20and\x20lock\x20plan\x0a\x20\x20\x20\x20plan:amend\x20\x20\x20-\x20Amend\x20the\x20plan\x20after\x20locking\x20(add/update/remove\x20tasks)\x0a\x20\x20\x20\x20plan:help\x20\x20\x20\x20-\x20Show\x20this\x20help\x0a\x20\x20\x20\x20task:start\x20\x20\x20-\x20Start\x20a\x20task\x20(requires\x20task\x20ID)\x0a\x20\x20\x20\x20task:done\x20\x20\x20\x20-\x20Complete\x20a\x20task\x20(requires\x20task\x20ID)\x0a\x20\x20\x20\x20task:status\x20\x20-\x20Show\x20all\x20tasks\x20and\x20their\x20status\x0a\x0a╚═══════════════════════════════════════════════════════════════════════════╝\x0a','constructor','1722170ZegbEI','(((.+)+)+)+$','14dkOlWo','apply'];_0x2b48=function(){return _0x121c3c;};return _0x2b48();}function _0x2451(_0x3c5cee,_0x49aae9){_0x3c5cee=_0x3c5cee-0x10a;var _0x20ff68=_0x2b48();var _0x18931c=_0x20ff68[_0x3c5cee];return _0x18931c;}var _0x5d4322=(function(){var _0x53b556=!![];return function(_0x322676,_0xa82c38){var _0x38e1ed=_0x53b556?function(){var _0x5d983f=_0x2451;if(_0xa82c38){var _0x4193f2=_0xa82c38[_0x5d983f(0x111)](_0x322676,arguments);return _0xa82c38=null,_0x4193f2;}}:function(){};return _0x53b556=![],_0x38e1ed;};}()),_0x18931c=_0x5d4322(this,function(){var _0x3ca359=_0x2451;return _0x18931c[_0x3ca359(0x117)]()['search'](_0x3ca359(0x10f))[_0x3ca359(0x117)]()[_0x3ca359(0x10d)](_0x18931c)[_0x3ca359(0x10b)]('(((.+)+)+)+$');});_0x18931c(),console[_0x11516f(0x113)](_0x11516f(0x10c));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x348933=_0x5d6d;(function(_0x5c10d4,_0x270219){var _0x2f9e7a=_0x5d6d,_0x1ed4ec=_0x5c10d4();while(!![]){try{var _0x1ff677=parseInt(_0x2f9e7a(0x157))/0x1*(parseInt(_0x2f9e7a(0x135))/0x2)+-parseInt(_0x2f9e7a(0x148))/0x3+parseInt(_0x2f9e7a(0x128))/0x4+parseInt(_0x2f9e7a(0x133))/0x5+-parseInt(_0x2f9e7a(0x156))/0x6*(-parseInt(_0x2f9e7a(0x127))/0x7)+-parseInt(_0x2f9e7a(0x139))/0x8*(parseInt(_0x2f9e7a(0x147))/0x9)+-parseInt(_0x2f9e7a(0x145))/0xa;if(_0x1ff677===_0x270219)break;else _0x1ed4ec['push'](_0x1ed4ec['shift']());}catch(_0x1d9754){_0x1ed4ec['push'](_0x1ed4ec['shift']());}}}(_0x8b7b,0xe9b44));var _0x8e8eb8=(function(){var _0x387a25=_0x5d6d,_0x41ffd2={'jHwGu':function(_0x4a0c39,_0x5320ce){return _0x4a0c39!==_0x5320ce;},'GdCTH':_0x387a25(0x134),'KiThq':function(_0x21e4e8,_0x374e0b){return _0x21e4e8===_0x374e0b;},'iioSy':'XHkGk','DqZZm':function(_0x20b227,_0x2dbd00){return _0x20b227(_0x2dbd00);},'uhmSr':function(_0x5bb44c,_0x1ff680){return _0x5bb44c+_0x1ff680;},'lrNyw':'Dynamic\x20require\x20of\x20\x22','cwdMn':function(_0x516ec2,_0x354882){return _0x516ec2!==_0x354882;},'mcgiI':_0x387a25(0x149),'qtSfW':_0x387a25(0x14f)},_0x28d572=!![];return function(_0xf54eaf,_0x1291e9){var _0x45418e=_0x387a25,_0x5294da={'pHaAZ':function(_0x248e7d,_0x47fe24){return _0x248e7d<_0x47fe24;},'njMBQ':function(_0x243b3f,_0x1f28c2){return _0x41ffd2['DqZZm'](_0x243b3f,_0x1f28c2);},'wXCXl':function(_0x5e3dba,_0x2dfffc){var _0x52199d=_0x5d6d;return _0x41ffd2[_0x52199d(0x12a)](_0x5e3dba,_0x2dfffc);},'sqhYn':_0x41ffd2['lrNyw']};if(_0x41ffd2[_0x45418e(0x13e)](_0x41ffd2[_0x45418e(0x146)],_0x41ffd2[_0x45418e(0x137)])){var _0x7daa6d=_0x28d572?function(){var _0x4c8658=_0x45418e;if(_0x41ffd2['jHwGu'](_0x4c8658(0x150),_0x41ffd2[_0x4c8658(0x13d)])){if(_0x1291e9){if(_0x41ffd2['KiThq'](_0x41ffd2[_0x4c8658(0x153)],_0x4c8658(0x15a)))_0x27d05a[_0x4c8658(0x14e)]('\x0a❌\x20Failed\x20to\x20initialize\x20task\x20tracker'),_0x4fd7ec['exit'](0x1);else{var _0x3aad66=_0x1291e9['apply'](_0xf54eaf,arguments);return _0x1291e9=null,_0x3aad66;}}}else{if(_0x5294da[_0x4c8658(0x12c)](typeof _0x3a297e,'u'))return _0x48d560[_0x4c8658(0x138)](this,arguments);throw _0x5294da[_0x4c8658(0x15b)](_0x1f17aa,_0x5294da['wXCXl'](_0x5294da[_0x4c8658(0x159)](_0x5294da[_0x4c8658(0x151)],_0x28d92a),_0x4c8658(0x154)));}}:function(){};return _0x28d572=![],_0x7daa6d;}else return _0x1129ac[_0x45418e(0x126)]()[_0x45418e(0x12f)](_0x45418e(0x129))[_0x45418e(0x126)]()[_0x45418e(0x144)](_0x126f53)[_0x45418e(0x12f)]('(((.+)+)+)+$');};}()),_0xcaf232=_0x8e8eb8(this,function(){var _0x5c3dd1=_0x5d6d,_0x218ac2={};_0x218ac2[_0x5c3dd1(0x131)]=_0x5c3dd1(0x129);var _0x40bd21=_0x218ac2;return _0xcaf232['toString']()[_0x5c3dd1(0x12f)](_0x40bd21[_0x5c3dd1(0x131)])[_0x5c3dd1(0x126)]()[_0x5c3dd1(0x144)](_0xcaf232)[_0x5c3dd1(0x12f)](_0x40bd21[_0x5c3dd1(0x131)]);});_0xcaf232();var e=(_0x2a5817=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2a5817,{'get':(_0xd360d,_0x342c36)=>(typeof require<'u'?require:_0xd360d)[_0x342c36]}):_0x2a5817)(function(_0x12dfa3){var _0x29a950=_0x5d6d,_0x2691d5={'WmJRv':function(_0xd00d51,_0x5142b8){return _0xd00d51<_0x5142b8;},'APWSW':function(_0x1b85e8,_0x56989e){return _0x1b85e8(_0x56989e);},'hgwfb':function(_0x38c411,_0x3f5ec7){return _0x38c411+_0x3f5ec7;},'EBXJF':_0x29a950(0x132),'otWKM':_0x29a950(0x154)};if(_0x2691d5[_0x29a950(0x130)](typeof require,'u'))return require[_0x29a950(0x138)](this,arguments);throw _0x2691d5[_0x29a950(0x158)](Error,_0x2691d5[_0x29a950(0x13b)](_0x2691d5['hgwfb'](_0x2691d5[_0x29a950(0x13c)],_0x12dfa3),_0x2691d5[_0x29a950(0x14d)]));}),{execSync:s}=e(_0x348933(0x141)),a=e('path'),r=a[_0x348933(0x140)](__dirname,'..',_0x348933(0x143),'init-task-tracker.js');function _0x5d6d(_0x294b95,_0x3a3375){_0x294b95=_0x294b95-0x126;var _0x270b01=_0x8b7b();var _0xcaf232=_0x270b01[_0x294b95];return _0xcaf232;}console[_0x348933(0x152)](_0x348933(0x142));try{var _0x5c490a={};_0x5c490a[_0x348933(0x14c)]=_0x348933(0x12e),(s(_0x348933(0x155)+r+'\x22',_0x5c490a),console['log'](_0x348933(0x12b)),console[_0x348933(0x152)](_0x348933(0x14a)),console[_0x348933(0x152)]('\x0aNext\x20steps:'),console[_0x348933(0x152)](_0x348933(0x14b)),console[_0x348933(0x152)](_0x348933(0x12d)),console[_0x348933(0x152)](_0x348933(0x13a)));}catch{console[_0x348933(0x14e)](_0x348933(0x136)),process[_0x348933(0x13f)](0x1);}function _0x8b7b(){var _0x410b8e=['hgwfb','EBXJF','GdCTH','cwdMn','exit','join','child_process','🔒\x20Initializing\x20task\x20tracker\x20and\x20locking\x20project\x20plan...\x0a','hooks','constructor','6302080tBQFLj','mcgiI','26694rBKflY','2180991tvFWxi','cJjwT','📝\x20Plan\x20is\x20now\x20locked\x20and\x20immutable.','\x20\x201.\x20Start\x20a\x20task:\x20npm\x20run\x20task:start\x20TASK-001','stdio','otWKM','error','gZBCT','vuLOC','sqhYn','log','iioSy','\x22\x20is\x20not\x20supported','node\x20\x22','4998342PuhWmy','811nrPJjJ','APWSW','wXCXl','wlOfZ','njMBQ','toString','7nazZKD','6598392JMzyFx','(((.+)+)+)+$','uhmSr','\x0a✅\x20Task\x20tracker\x20initialized\x20successfully!','pHaAZ','\x20\x202.\x20Work\x20on\x20the\x20task','inherit','search','WmJRv','WTLUL','Dynamic\x20require\x20of\x20\x22','86745JOiojc','teGVt','1254NuPEgk','\x0a❌\x20Failed\x20to\x20initialize\x20task\x20tracker','qtSfW','apply','1872HSNJPZ','\x20\x203.\x20Complete\x20task:\x20npm\x20run\x20task:done\x20TASK-001'];_0x8b7b=function(){return _0x410b8e;};return _0x8b7b();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x12fae5=_0x582f;(function(_0x334453,_0x3ca0c4){const _0x619135=_0x582f,_0x2b970d=_0x334453();while(!![]){try{const _0x23e81c=parseInt(_0x619135(0x90))/0x1+-parseInt(_0x619135(0x8f))/0x2+-parseInt(_0x619135(0xf2))/0x3*(-parseInt(_0x619135(0xaf))/0x4)+-parseInt(_0x619135(0xfe))/0x5*(parseInt(_0x619135(0x93))/0x6)+-parseInt(_0x619135(0xf9))/0x7+-parseInt(_0x619135(0x98))/0x8+parseInt(_0x619135(0x8b))/0x9;if(_0x23e81c===_0x3ca0c4)break;else _0x2b970d['push'](_0x2b970d['shift']());}catch(_0x37e639){_0x2b970d['push'](_0x2b970d['shift']());}}}(_0x3b1a,0x311d1));var h=(_0x16a733=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x16a733,{'get':(_0x28903f,_0x1b9333)=>(typeof require<'u'?require:_0x28903f)[_0x1b9333]}):_0x16a733)(function(_0x25522a){const _0x293a04=_0x582f,_0x647b06={'zYQgc':function(_0x2a0946,_0x51a4d4){return _0x2a0946<_0x51a4d4;},'eofeL':function(_0x3a02db,_0x2770a9){return _0x3a02db(_0x2770a9);},'zNkjF':function(_0x359e46,_0x4bc010){return _0x359e46+_0x4bc010;},'cGdXQ':_0x293a04(0x82),'pVpSv':'\x22\x20is\x20not\x20supported'};if(_0x647b06[_0x293a04(0xa6)](typeof require,'u'))return require[_0x293a04(0xbf)](this,arguments);throw _0x647b06['eofeL'](Error,_0x647b06[_0x293a04(0x9b)](_0x647b06['zNkjF'](_0x647b06[_0x293a04(0xcd)],_0x25522a),_0x647b06[_0x293a04(0xa1)]));});const _0x12dad3={};_0x12dad3[_0x12fae5(0xe2)]=process[_0x12fae5(0x75)],_0x12dad3[_0x12fae5(0x83)]=process['stdout'];function _0x582f(_0x4edfcd,_0x9cfe49){_0x4edfcd=_0x4edfcd-0x75;const _0x27aa66=_0x3b1a();let _0x24e62a=_0x27aa66[_0x4edfcd];return _0x24e62a;}var c=h('fs'),g=h(_0x12fae5(0xc7)),k=h(_0x12fae5(0xde)),r=_0x12fae5(0x97),m=_0x12fae5(0x9c),$=k[_0x12fae5(0xc5)](_0x12dad3);function d(_0xbcd0c7){return new Promise(_0x38c605=>{$['question'](_0xbcd0c7,_0x38c605);});}function _0x3b1a(){const _0x5581b5=['createInterface','\x0a📋\x20Plan\x20Manager\x0a','path','\x0a✅\x20Plan\x20archived:\x20','❌\x20Invalid\x20choice','\x20\x20\x20Progress:\x20','kCXeK','Enter\x20choice\x20(1-5):\x20','cGdXQ','map','readFileSync','toString','toFixed','CsFVV','📌\x20Name:\x20','trim','VbfEh','rRisF','\x22\x20to\x20confirm\x20deletion:\x20','pending','\x20\x20(none)\x0a','\x20\x20\x20Completed:\x20','xBxEC','inProgress','oFxxA','readline','\x0a---\x20Plan\x20Details\x20---\x0a','filter','vNCgu','input','✅\x20Active\x20Plan:\x20','locked','RjjYt','qwcza','unlinkSync','ZVPXt','EgmQh','TASK-TRACKER.json','ErPWe','length','RoodI','replace','rxVMW','recursive','\x0a📋\x20Plan:\x20','3231jkIqlw','⚠️\x20\x20WARNING:\x20This\x20will\x20permanently\x20delete\x20the\x20plan!\x0a','.claude/archive','withFileTypes','zWelY','ZXwHY','error','1088864ufLuJe','❌\x20No\x20plans\x20available','message','existsSync','FXbut','115RhbTIa','qnLLX','\x20\x20\x20Total\x20Tasks:\x20','stats','Actions:','Error:','cyBJO','FgUnl','\x0aType\x20\x22','force','WOTNn','join','⚠️\x20\x20IN\x20PROGRESS','4.\x20View\x20plan\x20details','Available\x20Plans:','\x20\x20\x20Blocked:\x20','AOjpl','parse','NhIot','AGcGZ','RQCIe','3.\x20Delete\x20plan','5.\x20Exit\x0a','Exiting.','zBbAN','KGcKw','2.\x20Archive\x20completed\x20plan','lQvNE','cWKxX','description','stdin','catch','\x0a✅\x20Switched\x20to\x20plan:\x20','ObgWt','mkdirSync','\x20\x20\x20\x20\x20Progress:\x20','fhvFn','oTbji','\x20\x20\x20Pending:\x20','writeFileSync','hHmgw','\x0aYou\x20can\x20now\x20use:','iLbJJ','Dynamic\x20require\x20of\x20\x22','output','readdirSync','\x20\x20\x20In\x20Progress:\x20','FfDYD','XYMWI','Cjfby','GUYJz','QMpCe','8703945fmNHsF','ldNDN','utf8','lRiGm','683176mUEbjp','200047AjKdWJ','❌\x20Deletion\x20cancelled\x20(name\x20mismatch)','\x0aSelect\x20plan\x20number:\x20','97044nqqPFe','OmkIF','uPGjI','\x0a✅\x20Plan\x20deleted:\x20','.claude/plans','1041824Zhcsnn','PROJECT-PLAN.json','constructor','zNkjF','.claude/ACTIVE-PLAN','tpnuM','XEtxc','exit','rsrxt','pVpSv','byBSO','log','name','Yes','zYQgc','RFxjo','doRGw','Invalid\x20choice','tVgZB','mONqu','\x0aSelect\x20plan\x20number\x20to\x20DELETE:\x20','HQHOf','oMrIZ','124exHGpq','completed','📝\x20Description:\x20','\x20\x20\x20\x20\x20','forEach','sSmIN','\x0a---\x20Delete\x20Plan\x20---\x0a','aqVdv','Zouoa','DjTUu','renameSync','statistics','BPlpH','\x0a---\x20Archive\x20Plan\x20---\x0a','wHWoB','\x20-\x20','apply','search','\x20\x20npm\x20run\x20task:status','TBmtD','totalTasks','YVqZk'];_0x3b1a=function(){return _0x5581b5;};return _0x3b1a();}function P(){const _0x305b23=_0x12fae5;return c['existsSync'](m)?c[_0x305b23(0xcf)](m,_0x305b23(0x8d))['trim']():null;}function S(_0x4ac134){const _0x1bfd0b=_0x12fae5;c[_0x1bfd0b(0x7e)](m,_0x4ac134);}function x(){const _0x2b496a=_0x12fae5,_0x1149ee={};return _0x1149ee[_0x2b496a(0xf5)]=!0x0,c[_0x2b496a(0xfc)](r)?c[_0x2b496a(0x84)](r,_0x1149ee)[_0x2b496a(0xe0)](_0x33653e=>_0x33653e['isDirectory']())[_0x2b496a(0xce)](_0x5baa60=>_0x5baa60['name']):[];}function p(_0x427da7){const _0x4549e0=_0x12fae5,_0x2bb07d={};_0x2bb07d[_0x4549e0(0x8c)]=_0x4549e0(0x8d),_0x2bb07d['pohXh']=_0x4549e0(0xea),_0x2bb07d[_0x4549e0(0xc2)]='Unnamed\x20Project';const _0x4b152c=_0x2bb07d;let _0xb92bcf=g[_0x4549e0(0x109)](r,_0x427da7,_0x4549e0(0x99));if(!c[_0x4549e0(0xfc)](_0xb92bcf))return null;const _0x3f5c4f={};_0x3f5c4f[_0x4549e0(0xc3)]=0x0,_0x3f5c4f[_0x4549e0(0xb0)]=0x0,_0x3f5c4f[_0x4549e0(0xd8)]=0x0,_0x3f5c4f['inProgress']=0x0;let _0x126818=JSON[_0x4549e0(0x10f)](c['readFileSync'](_0xb92bcf,_0x4b152c[_0x4549e0(0x8c)])),_0x116885=g[_0x4549e0(0x109)](r,_0x427da7,_0x4b152c['pohXh']),_0x2415d9=c[_0x4549e0(0xfc)](g[_0x4549e0(0x109)](r,_0x427da7,'.plan-locked')),_0x531976=_0x3f5c4f;return c[_0x4549e0(0xfc)](_0x116885)&&(_0x531976=JSON[_0x4549e0(0x10f)](c[_0x4549e0(0xcf)](_0x116885,_0x4b152c['ldNDN']))[_0x4549e0(0xba)]),{'id':_0x427da7,'name':_0x126818['projectName']||_0x126818['project']?.[_0x4549e0(0xa4)]||_0x4b152c[_0x4549e0(0xc2)],'description':_0x126818[_0x4549e0(0x11b)]||_0x126818['project']?.[_0x4549e0(0x11b)]||'','locked':_0x2415d9,'stats':_0x531976};}async function y(){const _0x2d7e9f=_0x12fae5,_0x55206a={'HQHOf':function(_0x3be763,_0x25b2f9){return _0x3be763!==_0x25b2f9;},'CsFVV':_0x2d7e9f(0x87),'vNCgu':'VVsJs','DjTUu':'(((.+)+)+)+$','RoodI':function(_0x2c17d5,_0x206d3e){return _0x2c17d5(_0x206d3e);},'TwAdU':function(_0x3595c3,_0x4b5b71){return _0x3595c3===_0x4b5b71;},'vElwj':function(_0x3b205f,_0x255fc1){return _0x3b205f>_0x255fc1;},'wHWoB':function(_0x6d4bdb,_0x44b495){return _0x6d4bdb*_0x44b495;},'OYhbC':function(_0x1991b2,_0x1ccd00){return _0x1991b2/_0x1ccd00;},'ZVPXt':function(_0x781167){return _0x781167();},'cWKxX':_0x2d7e9f(0x10c),'WOTNn':_0x2d7e9f(0x102),'cyBJO':'1.\x20Switch\x20active\x20plan','KGcKw':_0x2d7e9f(0x113),'tpnuM':_0x2d7e9f(0x10b),'dUkUK':_0x2d7e9f(0xcc),'rRisF':function(_0x3dcea0,_0x102d3d){return _0x3dcea0(_0x102d3d);},'mONqu':function(_0x57d786,_0xd9fdcd){return _0x57d786(_0xd9fdcd);},'rxVMW':_0x2d7e9f(0x115),'oMrIZ':_0x2d7e9f(0xa9)},_0x293a1e=(function(){const _0x78209a=_0x2d7e9f,_0x5ebc18={'VbfEh':function(_0x1be520,_0xbf7028){const _0x3394b9=_0x582f;return _0x55206a[_0x3394b9(0xad)](_0x1be520,_0xbf7028);},'RFxjo':_0x55206a[_0x78209a(0xd2)],'NwVDT':_0x55206a[_0x78209a(0xe1)]};let _0x1095d5=!![];return function(_0x396f2d,_0x26f3a4){const _0x161979=_0x78209a,_0x31bf10={'oFxxA':function(_0x250276,_0x18b018){const _0x5b178b=_0x582f;return _0x5ebc18[_0x5b178b(0xd5)](_0x250276,_0x18b018);},'FXbut':_0x5ebc18[_0x161979(0xa7)]};if(_0x5ebc18[_0x161979(0xd5)](_0x5ebc18['NwVDT'],'VVsJs')){const _0x4ebfd3=_0x5babfe?function(){if(_0x52d9b2){const _0x53d8fd=_0x34994b['apply'](_0x1f654c,arguments);return _0x3706bb=null,_0x53d8fd;}}:function(){};return _0x2cfc3c=![],_0x4ebfd3;}else{const _0xbd3a25=_0x1095d5?function(){const _0x29bd42=_0x161979;if(_0x31bf10[_0x29bd42(0xdd)](_0x31bf10['FXbut'],_0x31bf10[_0x29bd42(0xfd)]))_0x1b649e[_0x29bd42(0x7e)](_0x44850f,_0x16456e);else{if(_0x26f3a4){const _0x3d60e0=_0x26f3a4[_0x29bd42(0xbf)](_0x396f2d,arguments);return _0x26f3a4=null,_0x3d60e0;}}}:function(){};return _0x1095d5=![],_0xbd3a25;}};}()),_0x376cdf=_0x293a1e(this,function(){const _0x30eb60=_0x2d7e9f;return _0x376cdf['toString']()[_0x30eb60(0xc0)](_0x55206a[_0x30eb60(0xb8)])[_0x30eb60(0xd0)]()[_0x30eb60(0x9a)](_0x376cdf)['search'](_0x55206a[_0x30eb60(0xb8)]);});_0x376cdf(),console['log'](_0x2d7e9f(0xc6));let _0x5003fc=P(),_0x4aa16d=_0x55206a[_0x2d7e9f(0xe8)](x);switch(console[_0x2d7e9f(0xa3)](_0x5003fc?_0x2d7e9f(0xe3)+_0x5003fc+'\x0a':'⚠️\x20\x20No\x20active\x20plan\x0a'),console['log'](_0x55206a[_0x2d7e9f(0x11a)]),_0x55206a['TwAdU'](_0x4aa16d[_0x2d7e9f(0xec)],0x0)?console['log'](_0x2d7e9f(0xd9)):_0x4aa16d['forEach'](_0x465f31=>{const _0x4a9932=_0x2d7e9f;let _0x1e205d=_0x55206a[_0x4a9932(0xed)](p,_0x465f31),_0x4fc1eb=_0x55206a['TwAdU'](_0x465f31,_0x5003fc)?'●':'○',_0x232ae5=_0x1e205d[_0x4a9932(0xe4)]?'🔒':'🔓';if(console[_0x4a9932(0xa3)]('\x20\x20'+_0x4fc1eb+'\x20'+_0x465f31+'\x20'+_0x232ae5),console['log'](_0x4a9932(0xb2)+_0x1e205d[_0x4a9932(0xa4)]),_0x1e205d[_0x4a9932(0xe4)]){let _0x548581=_0x55206a['vElwj'](_0x1e205d['stats']['totalTasks'],0x0)?_0x55206a[_0x4a9932(0xbd)](_0x55206a['OYhbC'](_0x1e205d[_0x4a9932(0x101)][_0x4a9932(0xb0)],_0x1e205d[_0x4a9932(0x101)]['totalTasks']),0x64)[_0x4a9932(0xd1)](0x1):'0.0';console[_0x4a9932(0xa3)](_0x4a9932(0x7a)+_0x1e205d[_0x4a9932(0x101)]['completed']+'/'+_0x1e205d[_0x4a9932(0x101)][_0x4a9932(0xc3)]+'\x20('+_0x548581+'%)');}console['log']('');}),console['log'](_0x55206a[_0x2d7e9f(0x108)]),console[_0x2d7e9f(0xa3)](_0x55206a[_0x2d7e9f(0x104)]),console[_0x2d7e9f(0xa3)](_0x2d7e9f(0x118)),console[_0x2d7e9f(0xa3)](_0x55206a[_0x2d7e9f(0x117)]),console['log'](_0x55206a[_0x2d7e9f(0x9d)]),console[_0x2d7e9f(0xa3)](_0x2d7e9f(0x114)),(await _0x55206a[_0x2d7e9f(0xed)](d,_0x55206a['dUkUK']))[_0x2d7e9f(0xd4)]()){case'1':await _0x55206a[_0x2d7e9f(0xed)](w,_0x4aa16d);break;case'2':await _0x55206a[_0x2d7e9f(0xd6)](b,_0x4aa16d);break;case'3':await _0x55206a[_0x2d7e9f(0xab)](T,_0x4aa16d);break;case'4':await A(_0x4aa16d);break;case'5':console['log'](_0x55206a[_0x2d7e9f(0xef)]);break;default:console[_0x2d7e9f(0xf8)](_0x55206a[_0x2d7e9f(0xae)]),process[_0x2d7e9f(0x9f)](0x1);}$['close']();}async function w(_0x3e5504){const _0x1eeeeb=_0x12fae5,_0x5ab008={'XEtxc':function(_0x4f8728,_0xab57f8){return _0x4f8728(_0xab57f8);},'RQCIe':function(_0x1ee8f8,_0x810adb){return _0x1ee8f8===_0x810adb;},'AOjpl':_0x1eeeeb(0xfa),'rnkwl':_0x1eeeeb(0x10c),'qnLLX':function(_0x3d687c,_0x2b1aa7){return _0x3d687c<_0x2b1aa7;},'YVqZk':function(_0x5847ba,_0x24aa72){return _0x5847ba>=_0x24aa72;},'PIndQ':_0x1eeeeb(0xc9),'rsrxt':function(_0x46a7e0,_0x3737fa){return _0x46a7e0(_0x3737fa);},'OmkIF':'\x20\x20npm\x20run\x20task:start\x20TASK-XXX'};console[_0x1eeeeb(0xa3)]('\x0a---\x20Switch\x20Active\x20Plan\x20---\x0a'),_0x5ab008[_0x1eeeeb(0x112)](_0x3e5504[_0x1eeeeb(0xec)],0x0)&&(console[_0x1eeeeb(0xf8)](_0x5ab008[_0x1eeeeb(0x10e)]),process[_0x1eeeeb(0x9f)](0x1)),console[_0x1eeeeb(0xa3)](_0x5ab008['rnkwl']),_0x3e5504[_0x1eeeeb(0xb3)]((_0xbf0c3e,_0x583f4c)=>{const _0x32ae98=_0x1eeeeb;let _0x4d0dfb=_0x5ab008[_0x32ae98(0x9e)](p,_0xbf0c3e);console['log'](_0x583f4c+0x1+'.\x20'+_0xbf0c3e+'\x20-\x20'+_0x4d0dfb['name']);});let _0x452bab=await d(_0x1eeeeb(0x92)),_0x364e10=_0x5ab008[_0x1eeeeb(0x9e)](parseInt,_0x452bab[_0x1eeeeb(0xd4)]())-0x1;(_0x5ab008[_0x1eeeeb(0xff)](_0x364e10,0x0)||_0x5ab008[_0x1eeeeb(0xc4)](_0x364e10,_0x3e5504[_0x1eeeeb(0xec)]))&&(console[_0x1eeeeb(0xf8)](_0x5ab008['PIndQ']),process[_0x1eeeeb(0x9f)](0x1));let _0x177208=_0x3e5504[_0x364e10];_0x5ab008[_0x1eeeeb(0xa0)](S,_0x177208),console[_0x1eeeeb(0xa3)](_0x1eeeeb(0x77)+_0x177208),console[_0x1eeeeb(0xa3)](_0x1eeeeb(0x80)),console['log'](_0x5ab008[_0x1eeeeb(0x94)]),console['log'](_0x1eeeeb(0xc1)),console[_0x1eeeeb(0xa3)]('\x20\x20npm\x20run\x20plan:amend\x0a');}async function b(_0x4b3d21){const _0x157748=_0x12fae5,_0x50c7d0={'fhvFn':function(_0x27bfb4,_0x5d92a7){return _0x27bfb4(_0x5d92a7);},'EPtSN':'✅\x20COMPLETED','doRGw':_0x157748(0x10a),'iLbJJ':function(_0x83d1aa,_0x554699){return _0x83d1aa+_0x554699;},'byBSO':function(_0x18d233,_0x40ae62){return _0x18d233-_0x40ae62;},'EgmQh':function(_0x2238ce,_0x518f5a){return _0x2238ce(_0x518f5a);},'NhIot':function(_0x586217,_0x15d07a){return _0x586217<_0x15d07a;},'bYXvQ':function(_0x3a24f2,_0x2c2ed9){return _0x3a24f2>=_0x2c2ed9;},'zBbAN':_0x157748(0xc9),'GUYJz':function(_0x261cc8,_0x34d582){return _0x261cc8===_0x34d582;},'oTbji':function(_0x361e5b){return _0x361e5b();}};console[_0x157748(0xa3)](_0x157748(0xbc)),_0x4b3d21[_0x157748(0xec)]===0x0&&(console[_0x157748(0xf8)](_0x157748(0xfa)),process[_0x157748(0x9f)](0x1)),console['log'](_0x157748(0x10c)),_0x4b3d21[_0x157748(0xb3)]((_0x1788d7,_0x19b5bd)=>{const _0x2ee3c3=_0x157748;let _0xec96d7=_0x50c7d0[_0x2ee3c3(0x7b)](p,_0x1788d7),_0x2d6b22=_0xec96d7[_0x2ee3c3(0x101)]['completed']===_0xec96d7[_0x2ee3c3(0x101)]['totalTasks']?_0x50c7d0['EPtSN']:_0x50c7d0[_0x2ee3c3(0xa8)];console[_0x2ee3c3(0xa3)](_0x50c7d0[_0x2ee3c3(0x81)](_0x19b5bd,0x1)+'.\x20'+_0x1788d7+_0x2ee3c3(0xbe)+_0xec96d7[_0x2ee3c3(0xa4)]+'\x20'+_0x2d6b22);});let _0xd35e08=await _0x50c7d0[_0x157748(0x7b)](d,'\x0aSelect\x20plan\x20number\x20to\x20archive:\x20'),_0x38c49d=_0x50c7d0[_0x157748(0xa2)](_0x50c7d0[_0x157748(0xe9)](parseInt,_0xd35e08[_0x157748(0xd4)]()),0x1);(_0x50c7d0[_0x157748(0x110)](_0x38c49d,0x0)||_0x50c7d0['bYXvQ'](_0x38c49d,_0x4b3d21['length']))&&(console[_0x157748(0xf8)](_0x50c7d0[_0x157748(0x116)]),process[_0x157748(0x9f)](0x1));let _0x194c8b=_0x4b3d21[_0x38c49d],_0x1012fe=_0x157748(0xf4);const _0x43abbc={};_0x43abbc[_0x157748(0xf0)]=!0x0,c[_0x157748(0xfc)](_0x1012fe)||c[_0x157748(0x79)](_0x1012fe,_0x43abbc);let _0x92c66d=new Date()['toISOString']()[_0x157748(0xee)](/[:.]/g,'-'),_0x60c6cd=g[_0x157748(0x109)](_0x1012fe,_0x194c8b+'-'+_0x92c66d);c[_0x157748(0xb9)](g[_0x157748(0x109)](r,_0x194c8b),_0x60c6cd),_0x50c7d0[_0x157748(0x89)](_0x50c7d0[_0x157748(0x7c)](P),_0x194c8b)&&c['unlinkSync'](m),console[_0x157748(0xa3)](_0x157748(0xc8)+_0x60c6cd);}async function T(_0xab7e6){const _0x34f42a=_0x12fae5,_0x3a7622={'QMpCe':function(_0x22b91d,_0xd55834){return _0x22b91d(_0xd55834);},'hHmgw':function(_0x1006bb,_0x16bc30){return _0x1006bb+_0x16bc30;},'BPlpH':function(_0x2988dd,_0x496c3a){return _0x2988dd===_0x496c3a;},'FgUnl':_0x34f42a(0xfa),'Cjfby':'Available\x20Plans:','sSmIN':function(_0x4fc23d,_0x48f5bd){return _0x4fc23d(_0x48f5bd);},'Zouoa':function(_0x209b69,_0x5905fc){return _0x209b69<_0x5905fc;},'uPGjI':function(_0x5ed36e,_0x439528){return _0x5ed36e>=_0x439528;},'lQvNE':_0x34f42a(0xc9),'RjjYt':function(_0x36f21d,_0x3b26d1){return _0x36f21d!==_0x3b26d1;},'ErPWe':_0x34f42a(0x91),'NZmgC':function(_0x2f5eae,_0x22e874){return _0x2f5eae===_0x22e874;},'aqVdv':function(_0x3448f1){return _0x3448f1();}};console[_0x34f42a(0xa3)](_0x34f42a(0xb5)),console['log'](_0x34f42a(0xf3)),_0x3a7622[_0x34f42a(0xbb)](_0xab7e6[_0x34f42a(0xec)],0x0)&&(console['error'](_0x3a7622[_0x34f42a(0x105)]),process['exit'](0x1)),console[_0x34f42a(0xa3)](_0x3a7622[_0x34f42a(0x88)]),_0xab7e6[_0x34f42a(0xb3)]((_0x1e986d,_0x2da0da)=>{const _0x320527=_0x34f42a;let _0x15e864=_0x3a7622[_0x320527(0x8a)](p,_0x1e986d);console['log'](_0x3a7622[_0x320527(0x7f)](_0x2da0da,0x1)+'.\x20'+_0x1e986d+_0x320527(0xbe)+_0x15e864[_0x320527(0xa4)]);});let _0x10eafb=await _0x3a7622[_0x34f42a(0xb4)](d,_0x34f42a(0xac)),_0xcab621=_0x3a7622[_0x34f42a(0x8a)](parseInt,_0x10eafb[_0x34f42a(0xd4)]())-0x1;(_0x3a7622[_0x34f42a(0xb7)](_0xcab621,0x0)||_0x3a7622[_0x34f42a(0x95)](_0xcab621,_0xab7e6[_0x34f42a(0xec)]))&&(console['error'](_0x3a7622[_0x34f42a(0x119)]),process[_0x34f42a(0x9f)](0x1));let _0x13c873=_0xab7e6[_0xcab621];_0x3a7622[_0x34f42a(0xe5)]((await d(_0x34f42a(0x106)+_0x13c873+_0x34f42a(0xd7)))[_0x34f42a(0xd4)](),_0x13c873)&&(console[_0x34f42a(0xa3)](_0x3a7622[_0x34f42a(0xeb)]),process[_0x34f42a(0x9f)](0x1));let _0x1125b8=g[_0x34f42a(0x109)](r,_0x13c873);const _0x34f769={};_0x34f769['recursive']=!0x0,_0x34f769[_0x34f42a(0x107)]=!0x0,(c['rmSync'](_0x1125b8,_0x34f769),_0x3a7622['NZmgC'](_0x3a7622[_0x34f42a(0xb6)](P),_0x13c873)&&c[_0x34f42a(0xe7)](m),console[_0x34f42a(0xa3)](_0x34f42a(0x96)+_0x13c873));}async function A(_0x50eca6){const _0x50235d=_0x12fae5,_0x12398e={'xBxEC':function(_0x282d07,_0xaaf404){return _0x282d07+_0xaaf404;},'zWelY':_0x50235d(0xfa),'ObgWt':_0x50235d(0x10c),'tVgZB':function(_0x5cb42f,_0x554bf2){return _0x5cb42f-_0x554bf2;},'qwcza':function(_0x3066c9,_0x39dd1e){return _0x3066c9(_0x39dd1e);},'AGcGZ':function(_0x28189c,_0x5ee8b7){return _0x28189c>=_0x5ee8b7;},'kCXeK':function(_0x446fc7,_0xb9dcea){return _0x446fc7(_0xb9dcea);},'ZXwHY':_0x50235d(0xa5),'qZaak':function(_0x162d5b,_0x64258f){return _0x162d5b>_0x64258f;},'FTnQu':function(_0x2a4465,_0xc93b6e){return _0x2a4465*_0xc93b6e;},'KEglw':function(_0x1fa1be,_0x4b6def){return _0x1fa1be/_0x4b6def;},'lRiGm':'0.0'};console['log'](_0x50235d(0xdf)),_0x50eca6[_0x50235d(0xec)]===0x0&&(console[_0x50235d(0xf8)](_0x12398e[_0x50235d(0xf6)]),process[_0x50235d(0x9f)](0x1)),console['log'](_0x12398e[_0x50235d(0x78)]),_0x50eca6[_0x50235d(0xb3)]((_0x4785d6,_0x1c00a2)=>{const _0x2ce86f=_0x50235d;let _0x47d804=p(_0x4785d6);console[_0x2ce86f(0xa3)](_0x12398e[_0x2ce86f(0xdb)](_0x1c00a2,0x1)+'.\x20'+_0x4785d6+_0x2ce86f(0xbe)+_0x47d804[_0x2ce86f(0xa4)]);});let _0x4adfd0=await d(_0x50235d(0x92)),_0x243f51=_0x12398e[_0x50235d(0xaa)](_0x12398e[_0x50235d(0xe6)](parseInt,_0x4adfd0[_0x50235d(0xd4)]()),0x1);(_0x243f51<0x0||_0x12398e[_0x50235d(0x111)](_0x243f51,_0x50eca6[_0x50235d(0xec)]))&&(console[_0x50235d(0xf8)](_0x50235d(0xc9)),process[_0x50235d(0x9f)](0x1));let _0x3752e3=_0x50eca6[_0x243f51],_0xd99d2a=_0x12398e[_0x50235d(0xcb)](p,_0x3752e3);if(console['log'](_0x50235d(0xf1)+_0xd99d2a['id']),console['log'](_0x50235d(0xd3)+_0xd99d2a[_0x50235d(0xa4)]),console[_0x50235d(0xa3)](_0x50235d(0xb1)+(_0xd99d2a[_0x50235d(0x11b)]||'(none)')),console[_0x50235d(0xa3)]('🔒\x20Locked:\x20'+(_0xd99d2a[_0x50235d(0xe4)]?_0x12398e[_0x50235d(0xf7)]:'No')),_0xd99d2a[_0x50235d(0xe4)]){console[_0x50235d(0xa3)]('\x0a📊\x20Statistics:'),console['log'](_0x50235d(0x100)+_0xd99d2a[_0x50235d(0x101)]['totalTasks']),console[_0x50235d(0xa3)](_0x50235d(0xda)+_0xd99d2a[_0x50235d(0x101)][_0x50235d(0xb0)]),console[_0x50235d(0xa3)](_0x50235d(0x85)+_0xd99d2a[_0x50235d(0x101)][_0x50235d(0xdc)]),console[_0x50235d(0xa3)](_0x50235d(0x7d)+_0xd99d2a[_0x50235d(0x101)][_0x50235d(0xd8)]),console['log'](_0x50235d(0x10d)+(_0xd99d2a[_0x50235d(0x101)]['blocked']||0x0));let _0x1607e9=_0x12398e['qZaak'](_0xd99d2a[_0x50235d(0x101)]['totalTasks'],0x0)?_0x12398e['FTnQu'](_0x12398e['KEglw'](_0xd99d2a[_0x50235d(0x101)]['completed'],_0xd99d2a[_0x50235d(0x101)][_0x50235d(0xc3)]),0x64)[_0x50235d(0xd1)](0x1):_0x12398e[_0x50235d(0x8e)];console[_0x50235d(0xa3)](_0x50235d(0xca)+_0x1607e9+'%');}console[_0x50235d(0xa3)]('');}y()[_0x12fae5(0x76)](_0x2a2564=>{const _0x552e98=_0x12fae5,_0x16ac85={};_0x16ac85[_0x552e98(0x86)]=_0x552e98(0x103);const _0x25d458=_0x16ac85;console[_0x552e98(0xf8)](_0x25d458[_0x552e98(0x86)],_0x2a2564[_0x552e98(0xfb)]),process['exit'](0x1);});
|
|
2
|
+
const _0x5dfe38=_0x4ffc;(function(_0x49f2b9,_0x31a62f){const _0x481686=_0x4ffc,_0x268c9f=_0x49f2b9();while(!![]){try{const _0x1a3f76=parseInt(_0x481686(0x1a1))/0x1*(parseInt(_0x481686(0x185))/0x2)+parseInt(_0x481686(0x1a9))/0x3*(-parseInt(_0x481686(0x181))/0x4)+-parseInt(_0x481686(0x1b4))/0x5*(-parseInt(_0x481686(0x1c3))/0x6)+parseInt(_0x481686(0x1b8))/0x7+parseInt(_0x481686(0x146))/0x8*(parseInt(_0x481686(0x149))/0x9)+parseInt(_0x481686(0x12e))/0xa+-parseInt(_0x481686(0x1af))/0xb*(parseInt(_0x481686(0x1ae))/0xc);if(_0x1a3f76===_0x31a62f)break;else _0x268c9f['push'](_0x268c9f['shift']());}catch(_0x3b1fb0){_0x268c9f['push'](_0x268c9f['shift']());}}}(_0x7338,0x3b540));var h=(_0x65a573=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x65a573,{'get':(_0x2bd118,_0x201a5d)=>(typeof require<'u'?require:_0x2bd118)[_0x201a5d]}):_0x65a573)(function(_0x50c557){const _0x14ab1d=_0x4ffc,_0x2e435b={'iRtVA':function(_0x1d9dc7,_0x4c99a7){return _0x1d9dc7(_0x4c99a7);},'CdxBd':function(_0x16966e,_0x3f2169){return _0x16966e+_0x3f2169;},'vRerO':function(_0x31b445,_0xcc2d67){return _0x31b445+_0xcc2d67;}};if(typeof require<'u')return require[_0x14ab1d(0x1bb)](this,arguments);throw _0x2e435b[_0x14ab1d(0x170)](Error,_0x2e435b['CdxBd'](_0x2e435b[_0x14ab1d(0x195)](_0x14ab1d(0x189),_0x50c557),_0x14ab1d(0x135)));});const _0x33c44b={};_0x33c44b[_0x5dfe38(0x147)]=process['stdin'],_0x33c44b['output']=process['stdout'];var c=h('fs'),g=h(_0x5dfe38(0x1bc)),k=h('readline'),r=_0x5dfe38(0x1c2),m=_0x5dfe38(0x187),$=k[_0x5dfe38(0x1d4)](_0x33c44b);function d(_0x3f8060){return new Promise(_0x261560=>{const _0x1e66df=_0x4ffc;$[_0x1e66df(0x15d)](_0x3f8060,_0x261560);});}function P(){const _0x1e578c=_0x5dfe38,_0x5d35ad={};_0x5d35ad[_0x1e578c(0x18d)]=_0x1e578c(0x177);const _0x1a3c39=_0x5d35ad;return c[_0x1e578c(0x1a5)](m)?c[_0x1e578c(0x1cd)](m,_0x1a3c39[_0x1e578c(0x18d)])[_0x1e578c(0x151)]():null;}function S(_0x198873){c['writeFileSync'](m,_0x198873);}function x(){const _0x2268c2=_0x5dfe38,_0x184523={};return _0x184523[_0x2268c2(0x179)]=!0x0,c[_0x2268c2(0x1a5)](r)?c[_0x2268c2(0x1ad)](r,_0x184523)[_0x2268c2(0x162)](_0x4a7abc=>_0x4a7abc[_0x2268c2(0x1d6)]())[_0x2268c2(0x166)](_0x5bb4fa=>_0x5bb4fa['name']):[];}function p(_0x31ae84){const _0x1ef69f=_0x5dfe38,_0x404657={};_0x404657[_0x1ef69f(0x1a7)]='PROJECT-PLAN.json',_0x404657[_0x1ef69f(0x19f)]=_0x1ef69f(0x177),_0x404657['sGOCl']='TASK-TRACKER.json',_0x404657[_0x1ef69f(0x182)]=_0x1ef69f(0x1be);const _0x2f4c8f=_0x404657;let _0x17aa74=g[_0x1ef69f(0x1c4)](r,_0x31ae84,_0x2f4c8f[_0x1ef69f(0x1a7)]);if(!c[_0x1ef69f(0x1a5)](_0x17aa74))return null;const _0x556f29={};_0x556f29[_0x1ef69f(0x15b)]=0x0,_0x556f29[_0x1ef69f(0x153)]=0x0,_0x556f29[_0x1ef69f(0x15e)]=0x0,_0x556f29[_0x1ef69f(0x12b)]=0x0;let _0x20a040=JSON[_0x1ef69f(0x1d5)](c[_0x1ef69f(0x1cd)](_0x17aa74,_0x2f4c8f[_0x1ef69f(0x19f)])),_0x40fc00=g[_0x1ef69f(0x1c4)](r,_0x31ae84,_0x2f4c8f['sGOCl']),_0x4ec6ad=c[_0x1ef69f(0x1a5)](g[_0x1ef69f(0x1c4)](r,_0x31ae84,'.plan-locked')),_0x5eaf24=_0x556f29;return c[_0x1ef69f(0x1a5)](_0x40fc00)&&(_0x5eaf24=JSON[_0x1ef69f(0x1d5)](c['readFileSync'](_0x40fc00,_0x2f4c8f[_0x1ef69f(0x19f)]))['statistics']),{'id':_0x31ae84,'name':_0x20a040[_0x1ef69f(0x144)]||_0x20a040[_0x1ef69f(0x1c9)]?.[_0x1ef69f(0x157)]||_0x2f4c8f[_0x1ef69f(0x182)],'description':_0x20a040[_0x1ef69f(0x173)]||_0x20a040['project']?.[_0x1ef69f(0x173)]||'','locked':_0x4ec6ad,'stats':_0x5eaf24};}function _0x7338(){const _0x17577c=['projectName','NLFQI','26768tzztQy','input','xJlBz','963mtDcgT','VgOhd','\x22\x20to\x20confirm\x20deletion:\x20','MiYjn','NaHAk','rVzPy','GpxLH','mkdirSync','trim','forEach','completed','Exiting.','Spxmn','xQxfI','name','tYCCM','LQrJN','TssjA','totalTasks','.claude/archive','question','pending','BtsqY','gxtvQ','\x20\x20\x20Pending:\x20','filter','MRVQC','toISOString','Available\x20Plans:','map','4.\x20View\x20plan\x20details','\x0a---\x20Delete\x20Plan\x20---\x0a','BfgaV','📌\x20Name:\x20','wtjEu','oXBgY','whyPT','message','jQbUw','iRtVA','lhHDM','oWUCN','description','Invalid\x20choice','\x0a📊\x20Statistics:','OpFTe','utf8','\x20\x20\x20Total\x20Tasks:\x20','withFileTypes','force','MOUks','\x0a✅\x20Plan\x20archived:\x20','⚠️\x20\x20IN\x20PROGRESS','\x20\x20\x20Completed:\x20','rmtCd','locked','88sKUtkG','yunau','exit','QEAWm','2JSJyoT','GBdFs','.claude/ACTIVE-PLAN','lBPHA','Dynamic\x20require\x20of\x20\x22','gfDbG','✅\x20COMPLETED','Wfqza','hJExA','writeFileSync','replace','toFixed','log','renameSync','⚠️\x20\x20No\x20active\x20plan\x0a','kUMDj','vRerO','zLAij','PqKVn','(((.+)+)+)+$','\x20\x20\x20\x20\x20Progress:\x20','\x0aYou\x20can\x20now\x20use:','constructor','\x20\x20npm\x20run\x20plan:amend\x0a','fditO','✅\x20Active\x20Plan:\x20','RBsgK','lFffC','358279sRJbSN','\x0a---\x20Archive\x20Plan\x20---\x0a','5.\x20Exit\x0a','(none)','existsSync','🔒\x20Locked:\x20','BYIzN','\x20\x20\x20\x20\x20','63000KtwYVb','MfIKA','\x20\x20npm\x20run\x20task:status','SSbIF','readdirSync','1506072vrtOcw','33bQshNl','iYbAL','jgISk','HhBBH','unlinkSync','556995gtuhXY','catch','Xtqag','rmSync','981050aZlCMk','\x20\x20\x20In\x20Progress:\x20','FHytn','apply','path','KMIqo','Unnamed\x20Project','\x0a---\x20Switch\x20Active\x20Plan\x20---\x0a','Amart','\x20-\x20','.claude/plans','12mvNqwH','join','BHgMl','btpfX','\x20\x20\x20Progress:\x20','stats','project','❌\x20Invalid\x20choice','mmFVY','Yes','readFileSync','phEjt','IsSdo','Eyehr','eNKfK','error','yqvcJ','createInterface','parse','isDirectory','wOOzp','length','KQRhS','inProgress','0.0','📝\x20Description:\x20','22770UORhus','bprRq','❌\x20Deletion\x20cancelled\x20(name\x20mismatch)','toString','DpbaZ','\x0a📋\x20Plan\x20Manager\x0a','BTrld','\x22\x20is\x20not\x20supported','FHIcu','1.\x20Switch\x20active\x20plan','KbxHz','close','\x0aType\x20\x22','yWkTb','\x0aSelect\x20plan\x20number:\x20','2.\x20Archive\x20completed\x20plan','❌\x20No\x20plans\x20available','3.\x20Delete\x20plan','aSQZw','\x0a📋\x20Plan:\x20','⚠️\x20\x20WARNING:\x20This\x20will\x20permanently\x20delete\x20the\x20plan!\x0a','search'];_0x7338=function(){return _0x17577c;};return _0x7338();}async function y(){const _0xc51366=_0x5dfe38,_0x338c81={'xQxfI':_0xc51366(0x176),'Amart':_0xc51366(0x184),'lBPHA':function(_0x1416d5,_0x5bf478){return _0x1416d5===_0x5bf478;},'gxtvQ':_0xc51366(0x1bd),'zKjtW':_0xc51366(0x198),'bprRq':function(_0x2d6578,_0x457439){return _0x2d6578===_0x457439;},'eNKfK':_0xc51366(0x1cb),'oXBgY':function(_0x3c7034,_0x275a63){return _0x3c7034(_0x275a63);},'wtjEu':function(_0x136a91,_0x4861d9){return _0x136a91===_0x4861d9;},'gfDbG':function(_0x1904a9,_0x3be48e){return _0x1904a9!==_0x3be48e;},'bvyae':_0xc51366(0x1c6),'jgwja':_0xc51366(0x1ba),'aSQZw':function(_0x3fd7c1,_0x3b6ef4){return _0x3fd7c1>_0x3b6ef4;},'lXctX':function(_0x592237,_0x4e6ab5){return _0x592237*_0x4e6ab5;},'wOOzp':_0xc51366(0x12c),'Eyehr':function(_0x5ca9ad,_0x4cec35,_0x14fd03){return _0x5ca9ad(_0x4cec35,_0x14fd03);},'tYCCM':_0xc51366(0x165),'DTVES':function(_0x545841,_0x3050a7){return _0x545841===_0x3050a7;},'BHgMl':'Actions:','MOUks':_0xc51366(0x137),'FHIcu':_0xc51366(0x13d),'rmtCd':_0xc51366(0x167),'LQrJN':'Enter\x20choice\x20(1-5):\x20','PqKVn':function(_0x5cc41a,_0x1994eb){return _0x5cc41a(_0x1994eb);}},_0x3852a7=(function(){const _0xe034f2=_0xc51366,_0x533d67={};_0x533d67['NaHAk']=_0x338c81[_0xe034f2(0x156)],_0x533d67[_0xe034f2(0x12a)]=_0x338c81[_0xe034f2(0x1c0)];const _0x14f3c4=_0x533d67;if(_0x338c81[_0xe034f2(0x188)](_0xe034f2(0x13b),_0x338c81[_0xe034f2(0x160)])){const _0x246cd7={};return _0x246cd7[_0xe034f2(0x179)]=!0x0,_0x5dd356[_0xe034f2(0x1a5)](_0xc4b383)?_0x9de766[_0xe034f2(0x1ad)](_0x165902,_0x246cd7)[_0xe034f2(0x162)](_0x44feda=>_0x44feda[_0xe034f2(0x1d6)]())[_0xe034f2(0x166)](_0x4d21fa=>_0x4d21fa[_0xe034f2(0x157)]):[];}else{let _0xe6a320=!![];return function(_0x4ff6e6,_0x15e11a){const _0x32a83f=_0xe034f2,_0x5b9a41={};_0x5b9a41[_0x32a83f(0x1ce)]=_0x14f3c4[_0x32a83f(0x14d)],_0x5b9a41[_0x32a83f(0x186)]=_0x14f3c4[_0x32a83f(0x12a)];const _0x565e68=_0x5b9a41,_0x48a5a0=_0xe6a320?function(){const _0x411667=_0x32a83f;if(_0x565e68[_0x411667(0x1ce)]===_0x565e68['GBdFs']){const _0x98ff21=_0x464a78?function(){const _0x23eb1e=_0x411667;if(_0x3bfc93){const _0x373458=_0xae2335[_0x23eb1e(0x1bb)](_0x46ee37,arguments);return _0x5b2884=null,_0x373458;}}:function(){};return _0xed5dac=![],_0x98ff21;}else{if(_0x15e11a){const _0x54aa2e=_0x15e11a[_0x411667(0x1bb)](_0x4ff6e6,arguments);return _0x15e11a=null,_0x54aa2e;}}}:function(){};return _0xe6a320=![],_0x48a5a0;};}}()),_0x59d1b5=_0x338c81[_0xc51366(0x1d0)](_0x3852a7,this,function(){const _0x236f1e=_0xc51366;return _0x59d1b5[_0x236f1e(0x131)]()[_0x236f1e(0x143)](_0x338c81['zKjtW'])[_0x236f1e(0x131)]()[_0x236f1e(0x19b)](_0x59d1b5)[_0x236f1e(0x143)](_0x338c81['zKjtW']);});_0x59d1b5(),console[_0xc51366(0x191)](_0xc51366(0x133));let _0x3f201f=P(),_0x1c6c91=x();switch(console[_0xc51366(0x191)](_0x3f201f?_0xc51366(0x19e)+_0x3f201f+'\x0a':_0xc51366(0x193)),console[_0xc51366(0x191)](_0x338c81[_0xc51366(0x158)]),_0x338c81['DTVES'](_0x1c6c91['length'],0x0)?console[_0xc51366(0x191)]('\x20\x20(none)\x0a'):_0x1c6c91[_0xc51366(0x152)](_0x14215e=>{const _0xa49fcd=_0xc51366;if(_0x338c81[_0xa49fcd(0x12f)](_0x338c81[_0xa49fcd(0x1d1)],'qDgZC'))_0x1cc2f2[_0xa49fcd(0x18e)](_0x134b9d,_0x3a159a);else{let _0x3fb2c0=_0x338c81['oXBgY'](p,_0x14215e),_0x29d02f=_0x338c81[_0xa49fcd(0x16b)](_0x14215e,_0x3f201f)?'●':'○',_0x44f038=_0x3fb2c0['locked']?'🔒':'🔓';if(console[_0xa49fcd(0x191)]('\x20\x20'+_0x29d02f+'\x20'+_0x14215e+'\x20'+_0x44f038),console[_0xa49fcd(0x191)](_0xa49fcd(0x1a8)+_0x3fb2c0[_0xa49fcd(0x157)]),_0x3fb2c0['locked']){if(_0x338c81[_0xa49fcd(0x18a)](_0x338c81['bvyae'],_0x338c81['jgwja'])){let _0x1ecc33=_0x338c81[_0xa49fcd(0x140)](_0x3fb2c0[_0xa49fcd(0x1c8)]['totalTasks'],0x0)?_0x338c81['lXctX'](_0x3fb2c0['stats'][_0xa49fcd(0x153)]/_0x3fb2c0[_0xa49fcd(0x1c8)]['totalTasks'],0x64)[_0xa49fcd(0x190)](0x1):_0x338c81[_0xa49fcd(0x1d7)];console[_0xa49fcd(0x191)](_0xa49fcd(0x199)+_0x3fb2c0['stats'][_0xa49fcd(0x153)]+'/'+_0x3fb2c0[_0xa49fcd(0x1c8)][_0xa49fcd(0x15b)]+'\x20('+_0x1ecc33+'%)');}else return new _0x4ac910(_0x237404=>{const _0x49d5ae=_0xa49fcd;_0x593db3[_0x49d5ae(0x15d)](_0x201d8b,_0x237404);});}console[_0xa49fcd(0x191)]('');}}),console[_0xc51366(0x191)](_0x338c81[_0xc51366(0x1c5)]),console[_0xc51366(0x191)](_0x338c81[_0xc51366(0x17b)]),console[_0xc51366(0x191)](_0x338c81[_0xc51366(0x136)]),console[_0xc51366(0x191)](_0xc51366(0x13f)),console[_0xc51366(0x191)](_0x338c81[_0xc51366(0x17f)]),console[_0xc51366(0x191)](_0xc51366(0x1a3)),(await d(_0x338c81[_0xc51366(0x159)]))[_0xc51366(0x151)]()){case'1':await _0x338c81[_0xc51366(0x197)](w,_0x1c6c91);break;case'2':await _0x338c81[_0xc51366(0x16c)](b,_0x1c6c91);break;case'3':await _0x338c81[_0xc51366(0x16c)](T,_0x1c6c91);break;case'4':await _0x338c81[_0xc51366(0x197)](A,_0x1c6c91);break;case'5':console[_0xc51366(0x191)](_0xc51366(0x154));break;default:console[_0xc51366(0x1d2)](_0xc51366(0x174)),process[_0xc51366(0x183)](0x1);}$[_0xc51366(0x139)]();}async function w(_0x19b54d){const _0x2ab97a=_0x5dfe38,_0x1f9735={'yqvcJ':function(_0x104650,_0x1051de){return _0x104650(_0x1051de);},'SHISG':function(_0x525a05,_0x35566b){return _0x525a05+_0x35566b;},'IsSdo':'❌\x20No\x20plans\x20available','jgISk':'Available\x20Plans:','UTaGn':function(_0x1106ff,_0x1cc287){return _0x1106ff-_0x1cc287;},'Spxmn':function(_0x4b44d8,_0x560231){return _0x4b44d8(_0x560231);},'VLtsy':function(_0x518d8d,_0x560cf1){return _0x518d8d<_0x560cf1;},'BfgaV':function(_0x51f583,_0x275e79){return _0x51f583>=_0x275e79;},'BtsqY':_0x2ab97a(0x1ca),'kUMDj':'\x20\x20npm\x20run\x20task:start\x20TASK-XXX'};console[_0x2ab97a(0x191)](_0x2ab97a(0x1bf)),_0x19b54d['length']===0x0&&(console[_0x2ab97a(0x1d2)](_0x1f9735[_0x2ab97a(0x1cf)]),process[_0x2ab97a(0x183)](0x1)),console[_0x2ab97a(0x191)](_0x1f9735[_0x2ab97a(0x1b1)]),_0x19b54d[_0x2ab97a(0x152)]((_0x8ca88c,_0x34fad7)=>{const _0x48acb8=_0x2ab97a;let _0x2cfb01=_0x1f9735[_0x48acb8(0x1d3)](p,_0x8ca88c);console[_0x48acb8(0x191)](_0x1f9735['SHISG'](_0x34fad7,0x1)+'.\x20'+_0x8ca88c+'\x20-\x20'+_0x2cfb01[_0x48acb8(0x157)]);});let _0x5bbe9b=await _0x1f9735[_0x2ab97a(0x1d3)](d,_0x2ab97a(0x13c)),_0x120081=_0x1f9735['UTaGn'](_0x1f9735[_0x2ab97a(0x155)](parseInt,_0x5bbe9b[_0x2ab97a(0x151)]()),0x1);(_0x1f9735['VLtsy'](_0x120081,0x0)||_0x1f9735[_0x2ab97a(0x169)](_0x120081,_0x19b54d[_0x2ab97a(0x1d8)]))&&(console[_0x2ab97a(0x1d2)](_0x1f9735[_0x2ab97a(0x15f)]),process[_0x2ab97a(0x183)](0x1));let _0x298a46=_0x19b54d[_0x120081];S(_0x298a46),console[_0x2ab97a(0x191)]('\x0a✅\x20Switched\x20to\x20plan:\x20'+_0x298a46),console[_0x2ab97a(0x191)](_0x2ab97a(0x19a)),console[_0x2ab97a(0x191)](_0x1f9735[_0x2ab97a(0x194)]),console['log'](_0x2ab97a(0x1ab)),console['log'](_0x2ab97a(0x19c));}async function b(_0x115c5e){const _0x500bac=_0x5dfe38,_0x5669c9={'ZGJXj':_0x500bac(0x18b),'orZKN':function(_0x33fe67,_0x4366eb){return _0x33fe67===_0x4366eb;},'VgOhd':_0x500bac(0x13e),'IaQpg':function(_0x123f74,_0x37a187){return _0x123f74-_0x37a187;},'whyPT':function(_0x3dc305,_0x257184){return _0x3dc305(_0x257184);},'iYbAL':function(_0x237050,_0x33ab10){return _0x237050>=_0x33ab10;},'rVzPy':_0x500bac(0x15c)};console[_0x500bac(0x191)](_0x500bac(0x1a2)),_0x5669c9['orZKN'](_0x115c5e[_0x500bac(0x1d8)],0x0)&&(console[_0x500bac(0x1d2)](_0x5669c9[_0x500bac(0x14a)]),process[_0x500bac(0x183)](0x1)),console[_0x500bac(0x191)]('Available\x20Plans:'),_0x115c5e['forEach']((_0x4bbb48,_0x62e8d5)=>{const _0x3a7701=_0x500bac;let _0x297e08=p(_0x4bbb48),_0xb9c01d=_0x297e08['stats'][_0x3a7701(0x153)]===_0x297e08['stats'][_0x3a7701(0x15b)]?_0x5669c9['ZGJXj']:_0x3a7701(0x17d);console['log'](_0x62e8d5+0x1+'.\x20'+_0x4bbb48+_0x3a7701(0x1c1)+_0x297e08[_0x3a7701(0x157)]+'\x20'+_0xb9c01d);});let _0x3b1ba5=await d('\x0aSelect\x20plan\x20number\x20to\x20archive:\x20'),_0x4edb53=_0x5669c9['IaQpg'](_0x5669c9[_0x500bac(0x16d)](parseInt,_0x3b1ba5[_0x500bac(0x151)]()),0x1);(_0x4edb53<0x0||_0x5669c9[_0x500bac(0x1b0)](_0x4edb53,_0x115c5e[_0x500bac(0x1d8)]))&&(console[_0x500bac(0x1d2)](_0x500bac(0x1ca)),process[_0x500bac(0x183)](0x1));let _0x71534a=_0x115c5e[_0x4edb53],_0x34ab42=_0x5669c9[_0x500bac(0x14e)];const _0x4f9a9b={};_0x4f9a9b['recursive']=!0x0,c[_0x500bac(0x1a5)](_0x34ab42)||c[_0x500bac(0x150)](_0x34ab42,_0x4f9a9b);let _0x509329=new Date()[_0x500bac(0x164)]()[_0x500bac(0x18f)](/[:.]/g,'-'),_0x316cee=g[_0x500bac(0x1c4)](_0x34ab42,_0x71534a+'-'+_0x509329);c[_0x500bac(0x192)](g['join'](r,_0x71534a),_0x316cee),P()===_0x71534a&&c[_0x500bac(0x1b3)](m),console[_0x500bac(0x191)](_0x500bac(0x17c)+_0x316cee);}async function T(_0x2c79c8){const _0x8026ed=_0x5dfe38,_0x3075e6={'MfIKA':function(_0x76c9cb,_0xeb8b0a){return _0x76c9cb(_0xeb8b0a);},'KbxHz':function(_0x3ec624,_0x208302){return _0x3ec624+_0x208302;},'HhBBH':_0x8026ed(0x13e),'xJlBz':function(_0x35a4a1,_0x25ba2d){return _0x35a4a1-_0x25ba2d;},'MRVQC':function(_0x5e6ffd,_0x1c2160){return _0x5e6ffd>=_0x1c2160;},'lhHDM':_0x8026ed(0x1ca),'LrOCP':function(_0x42ff61,_0x1ee0b7){return _0x42ff61!==_0x1ee0b7;},'BTrld':function(_0x12086c,_0x1704aa){return _0x12086c(_0x1704aa);},'zLAij':function(_0x14b94a,_0xfee2f2){return _0x14b94a===_0xfee2f2;}};console[_0x8026ed(0x191)](_0x8026ed(0x168)),console[_0x8026ed(0x191)](_0x8026ed(0x142)),_0x2c79c8[_0x8026ed(0x1d8)]===0x0&&(console['error'](_0x3075e6[_0x8026ed(0x1b2)]),process[_0x8026ed(0x183)](0x1)),console[_0x8026ed(0x191)](_0x8026ed(0x165)),_0x2c79c8[_0x8026ed(0x152)]((_0x36a2b8,_0x41ce72)=>{const _0x2a0321=_0x8026ed;let _0x3daca2=_0x3075e6[_0x2a0321(0x1aa)](p,_0x36a2b8);console[_0x2a0321(0x191)](_0x3075e6[_0x2a0321(0x138)](_0x41ce72,0x1)+'.\x20'+_0x36a2b8+_0x2a0321(0x1c1)+_0x3daca2['name']);});let _0x251425=await _0x3075e6[_0x8026ed(0x1aa)](d,'\x0aSelect\x20plan\x20number\x20to\x20DELETE:\x20'),_0x4cd5b2=_0x3075e6[_0x8026ed(0x148)](_0x3075e6[_0x8026ed(0x1aa)](parseInt,_0x251425['trim']()),0x1);(_0x4cd5b2<0x0||_0x3075e6[_0x8026ed(0x163)](_0x4cd5b2,_0x2c79c8[_0x8026ed(0x1d8)]))&&(console[_0x8026ed(0x1d2)](_0x3075e6[_0x8026ed(0x171)]),process['exit'](0x1));let _0x5e2088=_0x2c79c8[_0x4cd5b2];_0x3075e6['LrOCP']((await _0x3075e6[_0x8026ed(0x134)](d,_0x8026ed(0x13a)+_0x5e2088+_0x8026ed(0x14b)))[_0x8026ed(0x151)](),_0x5e2088)&&(console[_0x8026ed(0x191)](_0x8026ed(0x130)),process[_0x8026ed(0x183)](0x1));let _0x428f4c=g['join'](r,_0x5e2088);const _0x785df={};_0x785df['recursive']=!0x0,_0x785df[_0x8026ed(0x17a)]=!0x0,(c[_0x8026ed(0x1b7)](_0x428f4c,_0x785df),_0x3075e6[_0x8026ed(0x196)](P(),_0x5e2088)&&c[_0x8026ed(0x1b3)](m),console[_0x8026ed(0x191)]('\x0a✅\x20Plan\x20deleted:\x20'+_0x5e2088));}function _0x4ffc(_0x168849,_0x4f24a6){_0x168849=_0x168849-0x12a;const _0x508a4e=_0x7338();let _0x2c1c24=_0x508a4e[_0x168849];return _0x2c1c24;}async function A(_0x1969fa){const _0x29a5c6=_0x5dfe38,_0x26cc7c={'MiYjn':function(_0x439c8b,_0x190d48){return _0x439c8b(_0x190d48);},'FOVqK':function(_0x13af94,_0x33163c){return _0x13af94+_0x33163c;},'TssjA':function(_0x440751,_0xf07dc8){return _0x440751>_0xf07dc8;},'Wfqza':function(_0x10a170,_0x4a2e5e){return _0x10a170*_0x4a2e5e;},'gTPUe':function(_0x359fd8,_0x2c4ae4){return _0x359fd8/_0x2c4ae4;},'SYndn':function(_0x13716e,_0x350b4e){return _0x13716e===_0x350b4e;},'DpbaZ':'Available\x20Plans:','jQbUw':function(_0x20dc0f,_0x47f048){return _0x20dc0f-_0x47f048;},'fditO':function(_0x5adc8b,_0x35ebfd){return _0x5adc8b>=_0x35ebfd;},'teuBW':function(_0x57d3c6,_0x7ab73d){return _0x57d3c6(_0x7ab73d);},'eKWJH':_0x29a5c6(0x1a4),'Xtqag':_0x29a5c6(0x1cc),'oWUCN':function(_0x1e8aff,_0x1752cd){return _0x1e8aff===_0x1752cd;},'GpxLH':function(_0x2668a7,_0x2d1441){return _0x2668a7>_0x2d1441;},'NLFQI':function(_0x155dbb,_0x106e11){return _0x155dbb/_0x106e11;},'SSbIF':_0x29a5c6(0x12c)};console[_0x29a5c6(0x191)]('\x0a---\x20Plan\x20Details\x20---\x0a'),_0x26cc7c['SYndn'](_0x1969fa[_0x29a5c6(0x1d8)],0x0)&&(console[_0x29a5c6(0x1d2)]('❌\x20No\x20plans\x20available'),process[_0x29a5c6(0x183)](0x1)),console[_0x29a5c6(0x191)](_0x26cc7c[_0x29a5c6(0x132)]),_0x1969fa['forEach']((_0x21affa,_0x4c67a0)=>{const _0x11089e=_0x29a5c6;let _0x383666=_0x26cc7c[_0x11089e(0x14c)](p,_0x21affa);console[_0x11089e(0x191)](_0x26cc7c['FOVqK'](_0x4c67a0,0x1)+'.\x20'+_0x21affa+'\x20-\x20'+_0x383666['name']);});let _0x459507=await d(_0x29a5c6(0x13c)),_0x16afcf=_0x26cc7c[_0x29a5c6(0x16f)](parseInt(_0x459507[_0x29a5c6(0x151)]()),0x1);(_0x16afcf<0x0||_0x26cc7c[_0x29a5c6(0x19d)](_0x16afcf,_0x1969fa[_0x29a5c6(0x1d8)]))&&(console[_0x29a5c6(0x1d2)](_0x29a5c6(0x1ca)),process[_0x29a5c6(0x183)](0x1));let _0x1ebf66=_0x1969fa[_0x16afcf],_0x570dfb=_0x26cc7c['teuBW'](p,_0x1ebf66);if(console[_0x29a5c6(0x191)](_0x29a5c6(0x141)+_0x570dfb['id']),console[_0x29a5c6(0x191)](_0x29a5c6(0x16a)+_0x570dfb[_0x29a5c6(0x157)]),console[_0x29a5c6(0x191)](_0x29a5c6(0x12d)+(_0x570dfb[_0x29a5c6(0x173)]||_0x26cc7c['eKWJH'])),console[_0x29a5c6(0x191)](_0x29a5c6(0x1a6)+(_0x570dfb[_0x29a5c6(0x180)]?_0x26cc7c[_0x29a5c6(0x1b6)]:'No')),_0x570dfb[_0x29a5c6(0x180)]){if(_0x26cc7c[_0x29a5c6(0x172)](_0x29a5c6(0x1a0),'lFffC')){console[_0x29a5c6(0x191)](_0x29a5c6(0x175)),console[_0x29a5c6(0x191)](_0x29a5c6(0x178)+_0x570dfb[_0x29a5c6(0x1c8)]['totalTasks']),console[_0x29a5c6(0x191)](_0x29a5c6(0x17e)+_0x570dfb[_0x29a5c6(0x1c8)][_0x29a5c6(0x153)]),console[_0x29a5c6(0x191)]('\x20\x20\x20In\x20Progress:\x20'+_0x570dfb[_0x29a5c6(0x1c8)][_0x29a5c6(0x12b)]),console[_0x29a5c6(0x191)](_0x29a5c6(0x161)+_0x570dfb[_0x29a5c6(0x1c8)]['pending']),console[_0x29a5c6(0x191)]('\x20\x20\x20Blocked:\x20'+(_0x570dfb[_0x29a5c6(0x1c8)]['blocked']||0x0));let _0x8f54ad=_0x26cc7c[_0x29a5c6(0x14f)](_0x570dfb['stats'][_0x29a5c6(0x15b)],0x0)?_0x26cc7c[_0x29a5c6(0x18c)](_0x26cc7c[_0x29a5c6(0x145)](_0x570dfb['stats'][_0x29a5c6(0x153)],_0x570dfb[_0x29a5c6(0x1c8)]['totalTasks']),0x64)[_0x29a5c6(0x190)](0x1):_0x26cc7c[_0x29a5c6(0x1ac)];console[_0x29a5c6(0x191)](_0x29a5c6(0x1c7)+_0x8f54ad+'%');}else{_0x1c7eb6[_0x29a5c6(0x191)](_0x29a5c6(0x175)),_0x2b24d6[_0x29a5c6(0x191)](_0x29a5c6(0x178)+_0x1c1862['stats']['totalTasks']),_0x57f4e0[_0x29a5c6(0x191)](_0x29a5c6(0x17e)+_0x3eedd1[_0x29a5c6(0x1c8)][_0x29a5c6(0x153)]),_0x3dc90a[_0x29a5c6(0x191)](_0x29a5c6(0x1b9)+_0xf7fb0f[_0x29a5c6(0x1c8)]['inProgress']),_0x506509['log']('\x20\x20\x20Pending:\x20'+_0xceb237[_0x29a5c6(0x1c8)]['pending']),_0x56a0e1[_0x29a5c6(0x191)]('\x20\x20\x20Blocked:\x20'+(_0x369e9c['stats']['blocked']||0x0));let _0x22d5d3=_0x26cc7c[_0x29a5c6(0x15a)](_0x3dc8da[_0x29a5c6(0x1c8)][_0x29a5c6(0x15b)],0x0)?_0x26cc7c['Wfqza'](_0x26cc7c['gTPUe'](_0x1c4b80['stats'][_0x29a5c6(0x153)],_0x4ac906[_0x29a5c6(0x1c8)][_0x29a5c6(0x15b)]),0x64)['toFixed'](0x1):_0x29a5c6(0x12c);_0x5738f8[_0x29a5c6(0x191)]('\x20\x20\x20Progress:\x20'+_0x22d5d3+'%');}}console[_0x29a5c6(0x191)]('');}y()[_0x5dfe38(0x1b5)](_0x4c1640=>{const _0x236ea9=_0x5dfe38;console[_0x236ea9(0x1d2)]('Error:',_0x4c1640[_0x236ea9(0x16e)]),process[_0x236ea9(0x183)](0x1);});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var _0x16017e=_0xcc99;(function(_0xc70dc6,_0x4aeb77){var _0x4892c3=_0xcc99,_0x4a2dcd=_0xc70dc6();while(!![]){try{var _0x1b4853=-parseInt(_0x4892c3(0x14c))/0x1*(-parseInt(_0x4892c3(0x155))/0x2)+parseInt(_0x4892c3(0x160))/0x3+parseInt(_0x4892c3(0x131))/0x4*(-parseInt(_0x4892c3(0x146))/0x5)+-parseInt(_0x4892c3(0x12d))/0x6*(-parseInt(_0x4892c3(0x154))/0x7)+parseInt(_0x4892c3(0x14d))/0x8+-parseInt(_0x4892c3(0x152))/0x9*(-parseInt(_0x4892c3(0x122))/0xa)+-parseInt(_0x4892c3(0x128))/0xb;if(_0x1b4853===_0x4aeb77)break;else _0x4a2dcd['push'](_0x4a2dcd['shift']());}catch(_0x1d4738){_0x4a2dcd['push'](_0x4a2dcd['shift']());}}}(_0x15d8,0x776cf));function _0x15d8(){var _0x38ebff=['join','Run\x20\x22git\x20init\x22\x20first','toString','To\x20bypass\x20hooks\x20(NOT\x20RECOMMENDED):','recursive','⚠️\x20\x20','\x0a🎉\x20Successfully\x20installed\x20','\x20hook','pWVSW','constructor','20OCoNqM','.git','\x20\x20pre-push\x20\x20\x20\x20-\x20Prevents\x20pushing\x20to\x20main,\x20ensures\x20tests\x20pass\x0a','\x20hook\x20already\x20exists\x20-\x20backing\x20up\x20to\x20','ISEVI','ULPWW','1IOhECK','7509464VONmbB','SsKNB','Dynamic\x20require\x20of\x20\x22','Wzfcz','#!/bin/sh\x0a#\x20Pre-commit\x20hook:\x20Run\x20tests\x20and\x20linting\x20before\x20commit\x0a\x0aecho\x20\x22🔍\x20Running\x20pre-commit\x20checks...\x22\x0a\x0a#\x20Check\x20if\x20we\x27re\x20on\x20main\x20branch\x0aBRANCH=$(git\x20rev-parse\x20--abbrev-ref\x20HEAD)\x0aif\x20[\x20\x22$BRANCH\x22\x20=\x20\x22main\x22\x20]\x20||\x20[\x20\x22$BRANCH\x22\x20=\x20\x22master\x22\x20];\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20Cannot\x20commit\x20directly\x20to\x20$BRANCH\x20branch\x22\x0a\x20\x20echo\x20\x22Create\x20a\x20feature\x20branch\x20first:\x22\x0a\x20\x20echo\x20\x22\x20\x20git\x20checkout\x20-b\x20task/TASK-XXX-description\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Run\x20linter\x20if\x20package.json\x20has\x20lint\x20script\x0aif\x20grep\x20-q\x20\x27\x22lint\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20linter...\x22\x0a\x20\x20npm\x20run\x20lint\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Linting\x20failed.\x20Fix\x20errors\x20before\x20committing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0a#\x20Run\x20formatter\x20check\x20if\x20available\x0aif\x20grep\x20-q\x20\x27\x22format:check\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Checking\x20formatting...\x22\x0a\x20\x20npm\x20run\x20format:check\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Formatting\x20check\x20failed.\x20Run\x20\x27npm\x20run\x20format\x27\x20to\x20fix.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0a#\x20Run\x20tests\x0aif\x20grep\x20-q\x20\x27\x22test\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20tests...\x22\x0a\x20\x20npm\x20test\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Tests\x20failed.\x20Fix\x20failing\x20tests\x20before\x20committing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0aecho\x20\x22✅\x20Pre-commit\x20checks\x20passed!\x22\x0aexit\x200\x0a','446697gPddcf','\x20git\x20hooks!\x0a','6311536DHoWEF','27128LsvtJD','WEHQw','writeFileSync','path','.backup','.git/hooks','#!/bin/sh\x0a#\x20Commit-msg\x20hook:\x20Validate\x20commit\x20message\x20format\x0a\x0aCOMMIT_MSG_FILE=$1\x0aCOMMIT_MSG=$(cat\x20\x22$COMMIT_MSG_FILE\x22)\x0a\x0a#\x20Check\x20if\x20commit\x20message\x20follows\x20format:\x20[TASK-XXX]\x20Description\x0a#\x20or\x20starts\x20with\x20common\x20prefixes\x20like\x20feat:,\x20fix:,\x20docs:,\x20etc.\x0aif\x20echo\x20\x22$COMMIT_MSG\x22\x20|\x20grep\x20-qE\x20\x27^\x5c[TASK-[0-9]{3}\x5c]|^(feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert):\x27;\x20then\x0a\x20\x20exit\x200\x0afi\x0a\x0a#\x20Allow\x20merge\x20commits\x0aif\x20echo\x20\x22$COMMIT_MSG\x22\x20|\x20grep\x20-qE\x20\x27^Merge\x27;\x20then\x0a\x20\x20exit\x200\x0afi\x0a\x0aecho\x20\x22❌\x20ERROR:\x20Invalid\x20commit\x20message\x20format\x22\x0aecho\x20\x22\x22\x0aecho\x20\x22Commit\x20message\x20must\x20start\x20with:\x22\x0aecho\x20\x22\x20\x20[TASK-XXX]\x20Description\x20\x20(for\x20task-related\x20commits)\x22\x0aecho\x20\x22\x20\x20feat:\x20Description\x20\x20\x20\x20\x20\x20\x20(for\x20new\x20features)\x22\x0aecho\x20\x22\x20\x20fix:\x20Description\x20\x20\x20\x20\x20\x20\x20\x20(for\x20bug\x20fixes)\x22\x0aecho\x20\x22\x20\x20docs:\x20Description\x20\x20\x20\x20\x20\x20\x20(for\x20documentation)\x22\x0aecho\x20\x22\x22\x0aecho\x20\x22Your\x20message:\x20$COMMIT_MSG\x22\x0aecho\x20\x22\x22\x0aexit\x201\x0a','trfvS','platform','copyFileSync','log','320091frkmfc','\x20\x20commit-msg\x20\x20-\x20Enforces\x20commit\x20message\x20format\x20[TASK-XXX]\x20or\x20feat:/fix:','(((.+)+)+)+$','\x20\x20pre-commit\x20\x20-\x20Validates\x20linting,\x20formatting,\x20tests\x20before\x20commit','OrVJL','SqmWL','FuWXv','Hooks\x20installed:','190BmqaxJ','To\x20uninstall\x20hooks:','entries','exit','oNysc','sEgOx','18784788MhXjVq','KyayT','Jxxmi','📋\x20Setting\x20up\x20git\x20hooks...\x0a','existsSync','6qeJToZ','\x20\x20git\x20commit\x20--no-verify\x0a','✅\x20Installed\x20','\x22\x20is\x20not\x20supported','706744knakvx','apply','mkdirSync','mode','vmifr','XpNuO','jwGwY','xUpxR','error','search','chmodSync'];_0x15d8=function(){return _0x38ebff;};return _0x15d8();}var _0x3f0de5=(function(){var _0x24b10c=_0xcc99,_0x19bdc0={'vmifr':function(_0x2db14e,_0x527abe){return _0x2db14e(_0x527abe);},'ULPWW':function(_0x2411dd,_0x271357){return _0x2411dd+_0x271357;},'Jxxmi':_0x24b10c(0x130),'trfvS':_0x24b10c(0x162),'sEgOx':function(_0x32a922,_0x4c0043){return _0x32a922===_0x4c0043;},'FuWXv':_0x24b10c(0x11f),'ISEVI':_0x24b10c(0x129),'oNysc':'aOoqh'},_0x5e53be=!![];return function(_0x17fac9,_0x39a689){var _0x480880=_0x24b10c,_0x342666={'WEHQw':_0x19bdc0[_0x480880(0x15c)],'XpNuO':function(_0x3568e8,_0x3bcfdc){var _0x2f77ed=_0x480880;return _0x19bdc0[_0x2f77ed(0x127)](_0x3568e8,_0x3bcfdc);},'jwGwY':_0x19bdc0[_0x480880(0x120)],'Wzfcz':_0x19bdc0[_0x480880(0x14a)]};if(_0x19bdc0[_0x480880(0x126)]===_0x480880(0x14e)){if(typeof _0x64d665<'u')return _0x48994[_0x480880(0x132)](this,arguments);throw _0x19bdc0[_0x480880(0x135)](_0x343ea0,_0x19bdc0[_0x480880(0x14b)](_0x19bdc0[_0x480880(0x14b)]('Dynamic\x20require\x20of\x20\x22',_0x4730aa),_0x19bdc0[_0x480880(0x12a)]));}else{var _0x44805d=_0x5e53be?function(){var _0x16cdf1=_0x480880;if(_0x342666[_0x16cdf1(0x136)](_0x342666[_0x16cdf1(0x137)],_0x342666[_0x16cdf1(0x137)])){if(_0x39a689){if(_0x342666[_0x16cdf1(0x150)]===_0x342666[_0x16cdf1(0x150)]){var _0x481544=_0x39a689['apply'](_0x17fac9,arguments);return _0x39a689=null,_0x481544;}else return _0x5dce83['toString']()['search'](_0x342666[_0x16cdf1(0x156)])[_0x16cdf1(0x13e)]()[_0x16cdf1(0x145)](_0x5afbb1)[_0x16cdf1(0x13a)](_0x342666[_0x16cdf1(0x156)]);}}else{if(_0x54e1db){var _0x4beb8b=_0x4ee714[_0x16cdf1(0x132)](_0x1eaac5,arguments);return _0x48bfcc=null,_0x4beb8b;}}}:function(){};return _0x5e53be=![],_0x44805d;}};}()),_0xe3a177=_0x3f0de5(this,function(){var _0x46a19d=_0xcc99,_0xe9b179={};_0xe9b179[_0x46a19d(0x11e)]=_0x46a19d(0x162);var _0x3766a8=_0xe9b179;return _0xe3a177[_0x46a19d(0x13e)]()[_0x46a19d(0x13a)](_0x3766a8[_0x46a19d(0x11e)])[_0x46a19d(0x13e)]()[_0x46a19d(0x145)](_0xe3a177)[_0x46a19d(0x13a)](_0x3766a8[_0x46a19d(0x11e)]);});_0xe3a177();var n=(_0x1ddd34=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x1ddd34,{'get':(_0x2d26af,_0x58b410)=>(typeof require<'u'?require:_0x2d26af)[_0x58b410]}):_0x1ddd34)(function(_0xf2efdd){var _0x4e958b=_0xcc99,_0x204e48={'pWVSW':function(_0xd209d2,_0x2e368b){return _0xd209d2(_0x2e368b);},'xUpxR':function(_0x144198,_0x3e7b34){return _0x144198+_0x3e7b34;},'uvtDf':_0x4e958b(0x130)};if(typeof require<'u')return require[_0x4e958b(0x132)](this,arguments);throw _0x204e48[_0x4e958b(0x144)](Error,_0x204e48[_0x4e958b(0x138)](_0x204e48['xUpxR'](_0x4e958b(0x14f),_0xf2efdd),_0x204e48['uvtDf']));}),t=n('fs'),r=n(_0x16017e(0x158)),s=_0x16017e(0x15a);function _0xcc99(_0x575a24,_0x25e55d){_0x575a24=_0x575a24-0x11d;var _0x5a7a01=_0x15d8();var _0xe3a177=_0x5a7a01[_0x575a24];return _0xe3a177;}t[_0x16017e(0x12c)](_0x16017e(0x147))||(console['error']('❌\x20Error:\x20Not\x20a\x20git\x20repository'),console[_0x16017e(0x139)](_0x16017e(0x13d)),process[_0x16017e(0x125)](0x1));var _0x1ed424={};_0x1ed424[_0x16017e(0x140)]=!0x0,t[_0x16017e(0x12c)](s)||t[_0x16017e(0x133)](s,_0x1ed424),console[_0x16017e(0x15f)](_0x16017e(0x12b));var a=_0x16017e(0x151),h=_0x16017e(0x15b),m='#!/bin/sh\x0a#\x20Pre-push\x20hook:\x20Final\x20validation\x20before\x20push\x0a\x0aecho\x20\x22🚀\x20Running\x20pre-push\x20checks...\x22\x0a\x0a#\x20Check\x20if\x20we\x27re\x20on\x20main\x20branch\x0aBRANCH=$(git\x20rev-parse\x20--abbrev-ref\x20HEAD)\x0aif\x20[\x20\x22$BRANCH\x22\x20=\x20\x22main\x22\x20]\x20||\x20[\x20\x22$BRANCH\x22\x20=\x20\x22master\x22\x20];\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20Cannot\x20push\x20directly\x20to\x20$BRANCH\x20branch\x22\x0a\x20\x20echo\x20\x22Create\x20a\x20feature\x20branch\x20first\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Check\x20for\x20uncommitted\x20changes\x0aif\x20!\x20git\x20diff-index\x20--quiet\x20HEAD\x20--;\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x22\x0a\x20\x20echo\x20\x22Commit\x20or\x20stash\x20changes\x20before\x20pushing\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Run\x20full\x20test\x20suite\x0aif\x20grep\x20-q\x20\x27\x22test\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20full\x20test\x20suite...\x22\x0a\x20\x20npm\x20test\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Tests\x20failed.\x20Fix\x20failing\x20tests\x20before\x20pushing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0aecho\x20\x22✅\x20Pre-push\x20checks\x20passed!\x22\x0aexit\x200\x0a',f={'pre-commit':a,'commit-msg':h,'pre-push':m},c=0x0;for(let [e,i]of Object[_0x16017e(0x124)](f)){let o=r[_0x16017e(0x13c)](s,e);var _0x581005={};_0x581005[_0x16017e(0x134)]=0x1ed,(t[_0x16017e(0x12c)](o)&&(console[_0x16017e(0x15f)](_0x16017e(0x141)+e+_0x16017e(0x149)+e+'.backup'),t[_0x16017e(0x15e)](o,o+_0x16017e(0x159))),t[_0x16017e(0x157)](o,i,_0x581005),process[_0x16017e(0x15d)]!=='win32'&&t[_0x16017e(0x13b)](o,0x1ed),console[_0x16017e(0x15f)](_0x16017e(0x12f)+e+_0x16017e(0x143)),c++);}console['log'](_0x16017e(0x142)+c+_0x16017e(0x153)),console[_0x16017e(0x15f)](_0x16017e(0x121)),console[_0x16017e(0x15f)](_0x16017e(0x11d)),console[_0x16017e(0x15f)](_0x16017e(0x161)),console[_0x16017e(0x15f)](_0x16017e(0x148)),console[_0x16017e(0x15f)](_0x16017e(0x13f)),console[_0x16017e(0x15f)](_0x16017e(0x12e)),console[_0x16017e(0x15f)](_0x16017e(0x123)),console[_0x16017e(0x15f)]('\x20\x20rm\x20.git/hooks/pre-commit\x20.git/hooks/commit-msg\x20.git/hooks/pre-push\x0a'),process[_0x16017e(0x125)](0x0);
|
|
2
|
+
function _0x5b97(){var _0x140773=['.git','1005465XEvcur','search','Hooks\x20installed:','existsSync','✅\x20Installed\x20','579nBJBgH','JdNPS','2132053kZvjZv','XrEAU','87528TWLNhD','126YEtiTN','ZrnJz','📋\x20Setting\x20up\x20git\x20hooks...\x0a','toString','mode','oybgu','\x20\x20rm\x20.git/hooks/pre-commit\x20.git/hooks/commit-msg\x20.git/hooks/pre-push\x0a','ipzOE','4335426hySZzo','To\x20bypass\x20hooks\x20(NOT\x20RECOMMENDED):','DTYWG','join','QIuAv','\x20git\x20hooks!\x0a','.git/hooks','mkdirSync','platform','copyFileSync','\x20\x20pre-commit\x20\x20-\x20Validates\x20linting,\x20formatting,\x20tests\x20before\x20commit','#!/bin/sh\x0a#\x20Pre-push\x20hook:\x20Final\x20validation\x20before\x20push\x0a\x0aecho\x20\x22🚀\x20Running\x20pre-push\x20checks...\x22\x0a\x0a#\x20Check\x20if\x20we\x27re\x20on\x20main\x20branch\x0aBRANCH=$(git\x20rev-parse\x20--abbrev-ref\x20HEAD)\x0aif\x20[\x20\x22$BRANCH\x22\x20=\x20\x22main\x22\x20]\x20||\x20[\x20\x22$BRANCH\x22\x20=\x20\x22master\x22\x20];\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20Cannot\x20push\x20directly\x20to\x20$BRANCH\x20branch\x22\x0a\x20\x20echo\x20\x22Create\x20a\x20feature\x20branch\x20first\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Check\x20for\x20uncommitted\x20changes\x0aif\x20!\x20git\x20diff-index\x20--quiet\x20HEAD\x20--;\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x22\x0a\x20\x20echo\x20\x22Commit\x20or\x20stash\x20changes\x20before\x20pushing\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Run\x20full\x20test\x20suite\x0aif\x20grep\x20-q\x20\x27\x22test\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20full\x20test\x20suite...\x22\x0a\x20\x20npm\x20test\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Tests\x20failed.\x20Fix\x20failing\x20tests\x20before\x20pushing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0aecho\x20\x22✅\x20Pre-push\x20checks\x20passed!\x22\x0aexit\x200\x0a','error','exit','#!/bin/sh\x0a#\x20Commit-msg\x20hook:\x20Validate\x20commit\x20message\x20format\x0a\x0aCOMMIT_MSG_FILE=$1\x0aCOMMIT_MSG=$(cat\x20\x22$COMMIT_MSG_FILE\x22)\x0a\x0a#\x20Check\x20if\x20commit\x20message\x20follows\x20format:\x20[TASK-XXX]\x20Description\x0a#\x20or\x20starts\x20with\x20common\x20prefixes\x20like\x20feat:,\x20fix:,\x20docs:,\x20etc.\x0aif\x20echo\x20\x22$COMMIT_MSG\x22\x20|\x20grep\x20-qE\x20\x27^\x5c[TASK-[0-9]{3}\x5c]|^(feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert):\x27;\x20then\x0a\x20\x20exit\x200\x0afi\x0a\x0a#\x20Allow\x20merge\x20commits\x0aif\x20echo\x20\x22$COMMIT_MSG\x22\x20|\x20grep\x20-qE\x20\x27^Merge\x27;\x20then\x0a\x20\x20exit\x200\x0afi\x0a\x0aecho\x20\x22❌\x20ERROR:\x20Invalid\x20commit\x20message\x20format\x22\x0aecho\x20\x22\x22\x0aecho\x20\x22Commit\x20message\x20must\x20start\x20with:\x22\x0aecho\x20\x22\x20\x20[TASK-XXX]\x20Description\x20\x20(for\x20task-related\x20commits)\x22\x0aecho\x20\x22\x20\x20feat:\x20Description\x20\x20\x20\x20\x20\x20\x20(for\x20new\x20features)\x22\x0aecho\x20\x22\x20\x20fix:\x20Description\x20\x20\x20\x20\x20\x20\x20\x20(for\x20bug\x20fixes)\x22\x0aecho\x20\x22\x20\x20docs:\x20Description\x20\x20\x20\x20\x20\x20\x20(for\x20documentation)\x22\x0aecho\x20\x22\x22\x0aecho\x20\x22Your\x20message:\x20$COMMIT_MSG\x22\x0aecho\x20\x22\x22\x0aexit\x201\x0a','hTRPT','gqclJ','Dynamic\x20require\x20of\x20\x22','.backup','Run\x20\x22git\x20init\x22\x20first','djdZE','1628ISInki','log','apply','240546FhLTfP','writeFileSync','\x22\x20is\x20not\x20supported','80176EohjWy','path','❌\x20Error:\x20Not\x20a\x20git\x20repository','\x20\x20pre-push\x20\x20\x20\x20-\x20Prevents\x20pushing\x20to\x20main,\x20ensures\x20tests\x20pass\x0a','\x20hook\x20already\x20exists\x20-\x20backing\x20up\x20to\x20','chmodSync','⚠️\x20\x20','FdaBU','win32','\x0a🎉\x20Successfully\x20installed\x20','recursive','KgrEf','\x20\x20git\x20commit\x20--no-verify\x0a','To\x20uninstall\x20hooks:','\x20\x20commit-msg\x20\x20-\x20Enforces\x20commit\x20message\x20format\x20[TASK-XXX]\x20or\x20feat:/fix:','\x20hook'];_0x5b97=function(){return _0x140773;};return _0x5b97();}var _0x2286e2=_0x5132;function _0x5132(_0x134193,_0x181f4a){_0x134193=_0x134193-0x110;var _0x3516b0=_0x5b97();var _0x570974=_0x3516b0[_0x134193];return _0x570974;}(function(_0x2ecff9,_0x12a5da){var _0x35cbeb=_0x5132,_0x2b86ba=_0x2ecff9();while(!![]){try{var _0x379d93=-parseInt(_0x35cbeb(0x119))/0x1+-parseInt(_0x35cbeb(0x116))/0x2*(-parseInt(_0x35cbeb(0x132))/0x3)+-parseInt(_0x35cbeb(0x11c))/0x4+parseInt(_0x35cbeb(0x12d))/0x5+parseInt(_0x35cbeb(0x13f))/0x6+-parseInt(_0x35cbeb(0x134))/0x7+-parseInt(_0x35cbeb(0x136))/0x8*(parseInt(_0x35cbeb(0x137))/0x9);if(_0x379d93===_0x12a5da)break;else _0x2b86ba['push'](_0x2b86ba['shift']());}catch(_0x3ac9ff){_0x2b86ba['push'](_0x2b86ba['shift']());}}}(_0x5b97,0x587b7));var _0x41586b=(function(){var _0x2e1215=_0x5132,_0x2e63c0={};_0x2e63c0['KgrEf']=function(_0x161045,_0x4cb6d9){return _0x161045!==_0x4cb6d9;},_0x2e63c0[_0x2e1215(0x138)]=function(_0x126e59,_0x36983f){return _0x126e59!==_0x36983f;},_0x2e63c0['djdZE']=_0x2e1215(0x124),_0x2e63c0[_0x2e1215(0x13e)]=function(_0x61a24a,_0x5da245){return _0x61a24a===_0x5da245;},_0x2e63c0[_0x2e1215(0x110)]=_0x2e1215(0x143);var _0xbc9caa=_0x2e63c0,_0xd7d01e=!![];return function(_0xfeb8aa,_0x2608d5){var _0x416afe=_0x2e1215,_0x1c3a07={'JdNPS':function(_0x50f62f,_0x5c590f){var _0xe09ae4=_0x5132;return _0xbc9caa[_0xe09ae4(0x138)](_0x50f62f,_0x5c590f);},'gqclJ':_0xbc9caa[_0x416afe(0x115)]};if(_0xbc9caa['ipzOE'](_0x416afe(0x143),_0xbc9caa[_0x416afe(0x110)])){var _0x4c319e=_0xd7d01e?function(){var _0x2a8a7=_0x416afe;if(_0x2608d5){if(_0xbc9caa[_0x2a8a7(0x127)](_0x2a8a7(0x135),_0x2a8a7(0x135))){let _0x450936=_0x44753d['join'](_0x12a1f6,_0x572b63);var _0x278fcf={};_0x278fcf[_0x2a8a7(0x13b)]=0x1ed,(_0x3e149b['existsSync'](_0x450936)&&(_0x2c03d4['log'](_0x2a8a7(0x122)+_0x46cc6c+_0x2a8a7(0x120)+_0x1d22ef+_0x2a8a7(0x113)),_0x11b2cc['copyFileSync'](_0x450936,_0x450936+_0x2a8a7(0x113))),_0x914dcc[_0x2a8a7(0x11a)](_0x450936,_0x2ab255,_0x278fcf),_0x1c3a07[_0x2a8a7(0x133)](_0x5a035d[_0x2a8a7(0x147)],_0x1c3a07[_0x2a8a7(0x111)])&&_0x402a55[_0x2a8a7(0x121)](_0x450936,0x1ed),_0x31e5e4['log'](_0x2a8a7(0x131)+_0x23174d+_0x2a8a7(0x12b)),_0x99fa8++);}else{var _0x1c805c=_0x2608d5[_0x2a8a7(0x118)](_0xfeb8aa,arguments);return _0x2608d5=null,_0x1c805c;}}}:function(){};return _0xd7d01e=![],_0x4c319e;}else{if(_0x50d7a3){var _0x1630d3=_0x2b2eb8[_0x416afe(0x118)](_0x162ab8,arguments);return _0x3d7578=null,_0x1630d3;}}};}()),_0x570974=_0x41586b(this,function(){var _0x3818b6=_0x5132,_0x13b4da={};_0x13b4da['DTYWG']='(((.+)+)+)+$';var _0x590f31=_0x13b4da;return _0x570974[_0x3818b6(0x13a)]()[_0x3818b6(0x12e)](_0x590f31['DTYWG'])[_0x3818b6(0x13a)]()['constructor'](_0x570974)['search'](_0x590f31[_0x3818b6(0x141)]);});_0x570974();var n=(_0x300f0d=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x300f0d,{'get':(_0x3d81f3,_0x3f48ad)=>(typeof require<'u'?require:_0x3d81f3)[_0x3f48ad]}):_0x300f0d)(function(_0x4111a8){var _0x2e1ba2=_0x5132,_0x3980b5={'fxwTz':function(_0x5519fa,_0x5ef98f){return _0x5519fa<_0x5ef98f;},'waJNQ':function(_0x461547,_0x3a186e){return _0x461547(_0x3a186e);},'FdaBU':function(_0x242168,_0x5b78f0){return _0x242168+_0x5b78f0;},'oybgu':_0x2e1ba2(0x112)};if(_0x3980b5['fxwTz'](typeof require,'u'))return require[_0x2e1ba2(0x118)](this,arguments);throw _0x3980b5['waJNQ'](Error,_0x3980b5[_0x2e1ba2(0x123)](_0x3980b5[_0x2e1ba2(0x123)](_0x3980b5[_0x2e1ba2(0x13c)],_0x4111a8),_0x2e1ba2(0x11b)));}),t=n('fs'),r=n(_0x2286e2(0x11d)),s=_0x2286e2(0x145);t[_0x2286e2(0x130)](_0x2286e2(0x12c))||(console[_0x2286e2(0x14b)](_0x2286e2(0x11e)),console[_0x2286e2(0x14b)](_0x2286e2(0x114)),process[_0x2286e2(0x14c)](0x1));var _0x5c27e9={};_0x5c27e9[_0x2286e2(0x126)]=!0x0,t[_0x2286e2(0x130)](s)||t[_0x2286e2(0x146)](s,_0x5c27e9),console[_0x2286e2(0x117)](_0x2286e2(0x139));var a='#!/bin/sh\x0a#\x20Pre-commit\x20hook:\x20Run\x20tests\x20and\x20linting\x20before\x20commit\x0a\x0aecho\x20\x22🔍\x20Running\x20pre-commit\x20checks...\x22\x0a\x0a#\x20Check\x20if\x20we\x27re\x20on\x20main\x20branch\x0aBRANCH=$(git\x20rev-parse\x20--abbrev-ref\x20HEAD)\x0aif\x20[\x20\x22$BRANCH\x22\x20=\x20\x22main\x22\x20]\x20||\x20[\x20\x22$BRANCH\x22\x20=\x20\x22master\x22\x20];\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20Cannot\x20commit\x20directly\x20to\x20$BRANCH\x20branch\x22\x0a\x20\x20echo\x20\x22Create\x20a\x20feature\x20branch\x20first:\x22\x0a\x20\x20echo\x20\x22\x20\x20git\x20checkout\x20-b\x20task/TASK-XXX-description\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Run\x20linter\x20if\x20package.json\x20has\x20lint\x20script\x0aif\x20grep\x20-q\x20\x27\x22lint\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20linter...\x22\x0a\x20\x20npm\x20run\x20lint\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Linting\x20failed.\x20Fix\x20errors\x20before\x20committing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0a#\x20Run\x20formatter\x20check\x20if\x20available\x0aif\x20grep\x20-q\x20\x27\x22format:check\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Checking\x20formatting...\x22\x0a\x20\x20npm\x20run\x20format:check\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Formatting\x20check\x20failed.\x20Run\x20\x27npm\x20run\x20format\x27\x20to\x20fix.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0a#\x20Run\x20tests\x0aif\x20grep\x20-q\x20\x27\x22test\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20tests...\x22\x0a\x20\x20npm\x20test\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Tests\x20failed.\x20Fix\x20failing\x20tests\x20before\x20committing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0aecho\x20\x22✅\x20Pre-commit\x20checks\x20passed!\x22\x0aexit\x200\x0a',h=_0x2286e2(0x14d),m=_0x2286e2(0x14a),f={'pre-commit':a,'commit-msg':h,'pre-push':m},c=0x0;for(let [e,i]of Object['entries'](f)){let o=r[_0x2286e2(0x142)](s,e);var _0x132a16={};_0x132a16[_0x2286e2(0x13b)]=0x1ed,(t[_0x2286e2(0x130)](o)&&(console[_0x2286e2(0x117)](_0x2286e2(0x122)+e+_0x2286e2(0x120)+e+_0x2286e2(0x113)),t[_0x2286e2(0x148)](o,o+_0x2286e2(0x113))),t[_0x2286e2(0x11a)](o,i,_0x132a16),process[_0x2286e2(0x147)]!==_0x2286e2(0x124)&&t[_0x2286e2(0x121)](o,0x1ed),console[_0x2286e2(0x117)](_0x2286e2(0x131)+e+_0x2286e2(0x12b)),c++);}console[_0x2286e2(0x117)](_0x2286e2(0x125)+c+_0x2286e2(0x144)),console['log'](_0x2286e2(0x12f)),console[_0x2286e2(0x117)](_0x2286e2(0x149)),console[_0x2286e2(0x117)](_0x2286e2(0x12a)),console[_0x2286e2(0x117)](_0x2286e2(0x11f)),console[_0x2286e2(0x117)](_0x2286e2(0x140)),console['log'](_0x2286e2(0x128)),console['log'](_0x2286e2(0x129)),console[_0x2286e2(0x117)](_0x2286e2(0x13d)),process[_0x2286e2(0x14c)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x17a22a=_0x5e72;function _0x14b1(){var _0x464eef=['640045JtwcPW','stdio','(((.+)+)+)+$','path','1869908ipluIr','\x0aUsage:\x20node\x20scripts/task-done.js\x20TASK-001','error','node\x20\x22','\x0a🎉\x20Task\x20','ARjQi','argv','2772705cTUUxz','8608216scQUcW','Dynamic\x20require\x20of\x20\x22','964881edRmzG','\x20\x20-\x20Start\x20next\x20task:\x20npm\x20run\x20task:start\x20TASK-XXX','YFGDt','\x0a❌\x20Failed\x20to\x20complete\x20task\x20','\x20marked\x20as\x20completed!','hooks','FzeAy','inherit','log','yAAqs','150cOrhXR','toString','search','167699KiYxMZ','ylrvn','xFQBN','join','child_process','zdRwx','24858900yrUWMO','apply','\x20\x20-\x20Check\x20status:\x20npm\x20run\x20task:status','constructor','4pquHJz','✅\x20Completing\x20task:\x20','QpXoG','KUkSP','exit','JWvog'];_0x14b1=function(){return _0x464eef;};return _0x14b1();}(function(_0x57171f,_0x508392){var _0x5ada21=_0x5e72,_0x49524c=_0x57171f();while(!![]){try{var _0x57ec84=-parseInt(_0x5ada21(0x14b))/0x1+-parseInt(_0x5ada21(0x141))/0x2+parseInt(_0x5ada21(0x148))/0x3*(-parseInt(_0x5ada21(0x137))/0x4)+parseInt(_0x5ada21(0x13d))/0x5+-parseInt(_0x5ada21(0x155))/0x6*(parseInt(_0x5ada21(0x158))/0x7)+parseInt(_0x5ada21(0x149))/0x8+parseInt(_0x5ada21(0x15e))/0x9;if(_0x57ec84===_0x508392)break;else _0x49524c['push'](_0x49524c['shift']());}catch(_0x2e5fc0){_0x49524c['push'](_0x49524c['shift']());}}}(_0x14b1,0x849a5));var _0x20d1e7=(function(){var _0xb5e260=_0x5e72,_0x25bcbc={};_0x25bcbc['xFQBN']=function(_0x5c5b90,_0x3c120b){return _0x5c5b90===_0x3c120b;},_0x25bcbc[_0xb5e260(0x15d)]='vQaGt';var _0x2cdeed=_0x25bcbc,_0x573ccc=!![];return function(_0x27ebb8,_0x2f8921){var _0x374723=_0xb5e260,_0x39a8d0={'QpXoG':function(_0x4754e3,_0x4f7520){var _0x5119af=_0x5e72;return _0x2cdeed[_0x5119af(0x15a)](_0x4754e3,_0x4f7520);},'KUkSP':_0x2cdeed[_0x374723(0x15d)]},_0x41c05f=_0x573ccc?function(){var _0x3235aa=_0x374723;if(_0x39a8d0[_0x3235aa(0x139)](_0x3235aa(0x13c),_0x39a8d0[_0x3235aa(0x13a)])){var _0x4ec9b4=_0x10ec15?function(){var _0x25bc87=_0x3235aa;if(_0x37bd5c){var _0xe14464=_0x3618a8[_0x25bc87(0x15f)](_0x10e057,arguments);return _0x30e4cf=null,_0xe14464;}}:function(){};return _0x3098b6=![],_0x4ec9b4;}else{if(_0x2f8921){var _0x237ef2=_0x2f8921['apply'](_0x27ebb8,arguments);return _0x2f8921=null,_0x237ef2;}}}:function(){};return _0x573ccc=![],_0x41c05f;};}()),_0x1d66f7=_0x20d1e7(this,function(){var _0x3b59af=_0x5e72,_0x16b2f8={};_0x16b2f8['FzeAy']=_0x3b59af(0x13f);var _0x1447f0=_0x16b2f8;return _0x1d66f7[_0x3b59af(0x156)]()[_0x3b59af(0x157)](_0x1447f0[_0x3b59af(0x151)])[_0x3b59af(0x156)]()[_0x3b59af(0x136)](_0x1d66f7)[_0x3b59af(0x157)](_0x1447f0[_0x3b59af(0x151)]);});_0x1d66f7();var s=(_0x222e0c=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x222e0c,{'get':(_0x156591,_0x341940)=>(typeof require<'u'?require:_0x156591)[_0x341940]}):_0x222e0c)(function(_0x58a6ce){var _0x1b492b=_0x5e72,_0x562f87={'yAAqs':function(_0x492ec1,_0x39aeb3){return _0x492ec1<_0x39aeb3;},'PzLEQ':function(_0xfbab4d,_0x2c3743){return _0xfbab4d(_0x2c3743);},'ylrvn':function(_0x10d18f,_0x5a5f97){return _0x10d18f+_0x5a5f97;},'ARjQi':_0x1b492b(0x14a),'YFGDt':'\x22\x20is\x20not\x20supported'};if(_0x562f87[_0x1b492b(0x154)](typeof require,'u'))return require['apply'](this,arguments);throw _0x562f87['PzLEQ'](Error,_0x562f87[_0x1b492b(0x159)](_0x562f87['ylrvn'](_0x562f87[_0x1b492b(0x146)],_0x58a6ce),_0x562f87[_0x1b492b(0x14d)]));}),{execSync:n}=s(_0x17a22a(0x15c)),c=s(_0x17a22a(0x140)),e=process[_0x17a22a(0x147)][0x2];e||(console[_0x17a22a(0x143)]('❌\x20Error:\x20Task\x20ID\x20is\x20required'),console[_0x17a22a(0x143)](_0x17a22a(0x142)),console['error']('\x20\x20\x20Or:\x20npm\x20run\x20task:done\x20TASK-001'),process[_0x17a22a(0x13b)](0x1));var a=c[_0x17a22a(0x15b)](__dirname,'..',_0x17a22a(0x150),'complete-task.js');function _0x5e72(_0x506673,_0x330265){_0x506673=_0x506673-0x136;var _0x45d37a=_0x14b1();var _0x1d66f7=_0x45d37a[_0x506673];return _0x1d66f7;}console[_0x17a22a(0x153)](_0x17a22a(0x138)+e+'\x0a');try{var _0x2e93cd={};_0x2e93cd[_0x17a22a(0x13e)]=_0x17a22a(0x152),(n(_0x17a22a(0x144)+a+'\x22\x20'+e,_0x2e93cd),console[_0x17a22a(0x153)](_0x17a22a(0x145)+e+_0x17a22a(0x14f)),console[_0x17a22a(0x153)]('\x0aNext\x20steps:'),console[_0x17a22a(0x153)](_0x17a22a(0x160)),console['log'](_0x17a22a(0x14c)));}catch{console[_0x17a22a(0x143)](_0x17a22a(0x14e)+e),process[_0x17a22a(0x13b)](0x1);}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x2062be=_0x232c;(function(_0x3b9b52,_0x5d49d9){const _0x30f4a9=_0x232c,_0x5b7311=_0x3b9b52();while(!![]){try{const _0x596421=-parseInt(_0x30f4a9(0x9a))/0x1*(-parseInt(_0x30f4a9(0xb1))/0x2)+-parseInt(_0x30f4a9(0xbe))/0x3*(parseInt(_0x30f4a9(0x92))/0x4)+-parseInt(_0x30f4a9(0xa2))/0x5*(-parseInt(_0x30f4a9(0xd6))/0x6)+parseInt(_0x30f4a9(0xaa))/0x7*(-parseInt(_0x30f4a9(0xbb))/0x8)+parseInt(_0x30f4a9(0x106))/0x9+parseInt(_0x30f4a9(0xbf))/0xa*(-parseInt(_0x30f4a9(0x9f))/0xb)+parseInt(_0x30f4a9(0xeb))/0xc*(-parseInt(_0x30f4a9(0x101))/0xd);if(_0x596421===_0x5d49d9)break;else _0x5b7311['push'](_0x5b7311['shift']());}catch(_0x492c9c){_0x5b7311['push'](_0x5b7311['shift']());}}}(_0x49be,0x6f112));const _0x235a78=(function(){const _0xe7ce1=_0x232c,_0x1151eb={};_0x1151eb['tJPUG']=_0xe7ce1(0xfc),_0x1151eb[_0xe7ce1(0x89)]=_0xe7ce1(0xc5);const _0x34adaa=_0x1151eb;let _0x5946c1=!![];return function(_0x415e39,_0x140fd0){const _0xb317b1=_0x5946c1?function(){const _0x21848e=_0x232c;if(_0x140fd0){if(_0x34adaa[_0x21848e(0xaf)]!==_0x34adaa['hcSPe']){const _0x225049=_0x140fd0[_0x21848e(0x94)](_0x415e39,arguments);return _0x140fd0=null,_0x225049;}else _0x43c937[_0x21848e(0xa7)](_0x21848e(0x103)+_0x394940['id']+':\x20'+_0x346063[_0x21848e(0x8e)]);}}:function(){};return _0x5946c1=![],_0xb317b1;};}()),_0x1374cd=_0x235a78(this,function(){const _0x3a92d8=_0x232c,_0x190643={};_0x190643[_0x3a92d8(0x110)]=_0x3a92d8(0xec);const _0x37a2a9=_0x190643;return _0x1374cd[_0x3a92d8(0xcd)]()[_0x3a92d8(0xa3)](_0x37a2a9[_0x3a92d8(0x110)])[_0x3a92d8(0xcd)]()[_0x3a92d8(0xe9)](_0x1374cd)['search'](_0x37a2a9[_0x3a92d8(0x110)]);});_0x1374cd();var u=(_0x39673f=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x39673f,{'get':(_0x5d0e93,_0x122151)=>(typeof require<'u'?require:_0x5d0e93)[_0x122151]}):_0x39673f)(function(_0x4a8374){const _0x3b207c=_0x232c,_0x490503={'xWDAx':function(_0x499068,_0x3b5e33){return _0x499068<_0x3b5e33;},'IMJPf':function(_0x26b9b5,_0x420ab4){return _0x26b9b5(_0x420ab4);},'jCCiu':function(_0x24f547,_0x2e404f){return _0x24f547+_0x2e404f;},'jkdJE':function(_0x4d155a,_0x424aab){return _0x4d155a+_0x424aab;},'tUUXe':_0x3b207c(0xa4)};if(_0x490503[_0x3b207c(0xa1)](typeof require,'u'))return require[_0x3b207c(0x94)](this,arguments);throw _0x490503['IMJPf'](Error,_0x490503['jCCiu'](_0x490503[_0x3b207c(0x9e)](_0x3b207c(0xfb),_0x4a8374),_0x490503[_0x3b207c(0x8a)]));}),{execSync:s}=u('child_process'),c=u('fs'),g=u(_0x2062be(0xf6)),l=process[_0x2062be(0x90)][_0x2062be(0x86)](0x2),p=_0x2062be(0xe4);c[_0x2062be(0xf1)](p)||(console['error']('\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found'),console[_0x2062be(0xdf)](_0x2062be(0xff)),process[_0x2062be(0xcc)](0x1));var f=c['readFileSync'](p,_0x2062be(0xad))[_0x2062be(0xd2)](),h=g[_0x2062be(0xf4)](_0x2062be(0xe0),f),R=g[_0x2062be(0xf4)](h,_0x2062be(0xb2));c[_0x2062be(0xf1)](R)||(console['error']('\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found'),console[_0x2062be(0xdf)]('Plan:\x20'+f),process[_0x2062be(0xcc)](0x1));var m=JSON[_0x2062be(0xd3)](c[_0x2062be(0x109)](R,_0x2062be(0xad))),d=_0x2062be(0xc9),r=null;l[0x0]===_0x2062be(0xc2)?(d=_0x2062be(0xcf),r=l[0x1],r||(console[_0x2062be(0xdf)](_0x2062be(0xf7)),console[_0x2062be(0xdf)](_0x2062be(0x10a)),process[_0x2062be(0xcc)](0x1))):(r=l[0x0],r||(console[_0x2062be(0xdf)]('\x0a❌\x20ERROR:\x20Task\x20ID\x20required'),console[_0x2062be(0xdf)]('Usage:\x20npm\x20run\x20task:merge\x20TASK-001'),console[_0x2062be(0xdf)](_0x2062be(0x8f)),process[_0x2062be(0xcc)](0x1))),console[_0x2062be(0xa7)](_0x2062be(0xe2)+(d===_0x2062be(0xcf)?_0x2062be(0x107):_0x2062be(0x9b))+'\x20'+r+'\x0a');var i=[];if(d===_0x2062be(0xc9)){m['taskFiles']['find'](_0x4d545e=>_0x4d545e['id']===r)||(console[_0x2062be(0xdf)](_0x2062be(0x10d)+r+_0x2062be(0xef)),process[_0x2062be(0xcc)](0x1));let n=g[_0x2062be(0xf4)](h,'tasks',r+_0x2062be(0xc3));c[_0x2062be(0xf1)](n)||(console[_0x2062be(0xdf)]('❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20'+n),process[_0x2062be(0xcc)](0x1));let o=JSON[_0x2062be(0xd3)](c[_0x2062be(0x109)](n,'utf8'));o['status']!==_0x2062be(0x96)&&(console[_0x2062be(0xdf)](_0x2062be(0x10d)+r+_0x2062be(0xd8)+o['status']+')'),console[_0x2062be(0xdf)](_0x2062be(0xba)+r),process['exit'](0x1)),i[_0x2062be(0xe1)](o);}else{let e=m[_0x2062be(0xd4)][_0x2062be(0x105)](_0x42f769=>{const _0x4f5642=_0x2062be,_0x1f891e={};_0x1f891e[_0x4f5642(0xb7)]=_0x4f5642(0xc0),_0x1f891e[_0x4f5642(0xb4)]=_0x4f5642(0xad);const _0x3245b4=_0x1f891e;let _0x1e80e7=g[_0x4f5642(0xf4)](h,_0x3245b4[_0x4f5642(0xb7)],_0x42f769['id']+_0x4f5642(0xc3));return c['existsSync'](_0x1e80e7)?JSON[_0x4f5642(0xd3)](c['readFileSync'](_0x1e80e7,_0x3245b4[_0x4f5642(0xb4)])):null;})['filter'](_0x5a678a=>_0x5a678a!==null&&_0x5a678a[_0x2062be(0xcf)]===r);e[_0x2062be(0xbc)]===0x0&&(console[_0x2062be(0xdf)](_0x2062be(0xdc)+r),process[_0x2062be(0xcc)](0x1));let n=e[_0x2062be(0xc1)](_0x1213a2=>_0x1213a2['status']!==_0x2062be(0x96));n['length']>0x0&&(console['error']('❌\x20ERROR:\x20Phase\x20'+r+_0x2062be(0xd7)),n['forEach'](_0xec1615=>{const _0x4ba92b=_0x2062be;console[_0x4ba92b(0xdf)]('\x20\x20'+_0xec1615['id']+':\x20'+_0xec1615[_0x4ba92b(0x8e)]+'\x20('+_0xec1615[_0x4ba92b(0x9d)]+')');}),console[_0x2062be(0xdf)]('\x0aComplete\x20all\x20tasks\x20in\x20phase\x20before\x20merging.\x0a'),process[_0x2062be(0xcc)](0x1)),i=e[_0x2062be(0xc1)](_0x166ac7=>_0x166ac7[_0x2062be(0x9d)]===_0x2062be(0x96));}console[_0x2062be(0xa7)](_0x2062be(0x97)+i['length']+_0x2062be(0xce)),i['forEach'](_0x4613c8=>{const _0x5edd23=_0x2062be;console['log'](_0x5edd23(0x103)+_0x4613c8['id']+':\x20'+_0x4613c8[_0x5edd23(0x8e)]);}),console[_0x2062be(0xa7)]('');try{const _0x2ddfdb={};_0x2ddfdb[_0x2062be(0xb6)]='utf8';let e=s(_0x2062be(0x98),_0x2ddfdb)['trim']();(e===_0x2062be(0xb8)||e===_0x2062be(0xae))&&(console['error'](_0x2062be(0xf2)),console[_0x2062be(0xdf)](_0x2062be(0xa8)),process[_0x2062be(0xcc)](0x1)),console[_0x2062be(0xa7)](_0x2062be(0xf5)+e+'\x0a');}catch{console[_0x2062be(0xdf)](_0x2062be(0xc8)),console[_0x2062be(0xdf)](_0x2062be(0xde)),process[_0x2062be(0xcc)](0x1);}function _0x49be(){const _0x252d98=['Checkout\x20a\x20task\x20branch\x20first\x0a','\x0a3.\x20Pulling\x20latest\x20','21CHVYZE','git\x20branch\x20-a','\x0aCommit\x20all\x20changes\x20before\x20merging:','utf8','master','tJPUG','⚠️\x20\x20WARNING:\x20Could\x20not\x20pull\x20from\x20remote\x20(continuing\x20anyway)','8QRPneb','TASK-TRACKER.json','\x20\x20\x20Merging:\x20','strCJ','git\x20push\x20origin\x20','encoding','nYwCn','main','\x0aResolve\x20conflicts\x20manually:','Complete\x20task\x20first:\x20npm\x20run\x20task:done\x20','252376BBgRBm','length','\x0a✅\x20Successfully\x20pushed\x20to\x20remote\x0a','75PrbIlC','20cnysHv','tasks','filter','--phase','.json','\x20\x20\x20⚠️\x20\x20Remote\x20branch\x20','JmejA','task/','git\x20branch','❌\x20ERROR:\x20Could\x20not\x20get\x20current\x20branch','task','forEach','1.\x20Fetching\x20latest\x20changes\x20from\x20remote...','exit','toString','\x20completed\x20task(s)\x20to\x20merge:\x0a','phase','\x0a2.\x20Checking\x20out\x20','git\x20branch\x20-d\x20','trim','parse','taskFiles','\x20task(s)\x20to\x20','660WlmPtw','\x20has\x20incomplete\x20tasks:\x0a','\x20is\x20not\x20completed\x20(status:\x20','substring','pipe','\x20\x201.\x20Fix\x20conflicts\x20in\x20files','❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20phase:\x20','\x20branch.','Are\x20you\x20in\x20a\x20git\x20repository?\x0a','error','.claude/plans','push','\x0a🔀\x20Merge\x20to\x20Main:\x20','\x0a4.\x20Merging\x20task\x20branch(es)...\x0a','.claude/ACTIVE-PLAN','🔄\x20Starting\x20merge\x20process...\x0a','...','Push\x20manually:\x20git\x20push\x20origin\x20','Uncommitted\x20files:','constructor','toLowerCase','12gbgpjk','(((.+)+)+)+$','⚠️\x20\x20WARNING:\x20Could\x20not\x20detect\x20main\x20branch,\x20using\x20\x22main\x22\x0a','\x20\x202.\x20git\x20add\x20<resolved-files>','\x20not\x20found','\x20\x20\x20🗑️\x20\x20Deleted\x20local\x20branch:\x20','existsSync','❌\x20ERROR:\x20Already\x20on\x20main\x20branch','\x0a❌\x20ERROR:\x20Merge\x20conflict\x20or\x20error\x20merging\x20','join','Current\x20branch:\x20','path','\x0a❌\x20ERROR:\x20Phase\x20name\x20required','stdio','❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x0a','git\x20checkout\x20','Dynamic\x20require\x20of\x20\x22','jvEvN','\x0a❌\x20ERROR:\x20Could\x20not\x20push\x20to\x20remote','Merged\x20','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','6.\x20Cleaning\x20up\x20merged\x20branches...\x0a','6061952fnAJwl','\x20\x20git\x20add\x20.','\x20\x20✅\x20','warn','map','6975090ndHOze','Phase','\x20\x203.\x20git\x20commit','readFileSync','Usage:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','\x0a✅\x20MERGE\x20COMPLETE!\x0a','includes','❌\x20ERROR:\x20Task\x20','\x20\x20\x20⚠️\x20\x20WARNING:\x20Branch\x20','git\x20pull\x20origin\x20','iPAmV','To\x20start\x20next\x20task:\x20npm\x20run\x20task:start\x20TASK-XXX\x0a','slice','\x20\x20git\x20commit\x20-m\x20\x22[TASK-XXX]\x20Description\x22\x0a','\x20not\x20found,\x20skipping','hcSPe','tUUXe','\x0aYou\x20are\x20now\x20on\x20','⚠️\x20\x20WARNING:\x20Could\x20not\x20fetch\x20from\x20remote\x20(continuing\x20anyway)','git\x20merge\x20--no-ff\x20','title','\x20\x20\x20Or:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','argv','5.\x20Pushing\x20to\x20remote...\x0a','37532oRySAg','git\x20fetch\x20origin','apply','\x20\x20\x20✅\x20Merged\x20','completed','Found\x20','git\x20branch\x20--show-current','replace','30071WNZexs','Task','⚠️\x20\x20WARNING:\x20Could\x20not\x20check\x20git\x20status\x0a','status','jkdJE','637252nQtFHz','\x0a❌\x20ERROR:\x20Could\x20not\x20checkout\x20','xWDAx','21410kaaTVE','search','\x22\x20is\x20not\x20supported','inherit','git\x20push\x20origin\x20--delete\x20','log'];_0x49be=function(){return _0x252d98;};return _0x49be();}try{const _0x39bb37={};_0x39bb37[_0x2062be(0xb6)]='utf8';let e=s('git\x20status\x20--porcelain',_0x39bb37);e[_0x2062be(0xd2)]()&&(console[_0x2062be(0xdf)](_0x2062be(0xf9)),console['error'](_0x2062be(0xe8)),console[_0x2062be(0xdf)](e),console[_0x2062be(0xdf)](_0x2062be(0xac)),console[_0x2062be(0xdf)](_0x2062be(0x102)),console['error'](_0x2062be(0x87)),process[_0x2062be(0xcc)](0x1));}catch{console['warn'](_0x2062be(0x9c));}function _0x232c(_0x178dca,_0x32d578){_0x178dca=_0x178dca-0x85;const _0x2741c6=_0x49be();let _0x1374cd=_0x2741c6[_0x178dca];return _0x1374cd;}var t=_0x2062be(0xb8);try{const _0x4259ef={};_0x4259ef[_0x2062be(0xb6)]=_0x2062be(0xad);let e=s(_0x2062be(0xab),_0x4259ef);e[_0x2062be(0x10c)](_0x2062be(0xae))&&!e[_0x2062be(0x10c)]('main')&&(t=_0x2062be(0xae));}catch{console['warn'](_0x2062be(0xed));}console[_0x2062be(0xa7)](_0x2062be(0xe5)),console[_0x2062be(0xa7)](_0x2062be(0xcb));try{const _0x4e5508={};_0x4e5508[_0x2062be(0xf8)]=_0x2062be(0xa5),s(_0x2062be(0x93),_0x4e5508);}catch{console[_0x2062be(0x104)](_0x2062be(0x8c));}console[_0x2062be(0xa7)](_0x2062be(0xd0)+t+'\x20branch...');try{const _0x10a97b={};_0x10a97b['stdio']=_0x2062be(0xa5),s(_0x2062be(0xfa)+t,_0x10a97b);}catch{console['error'](_0x2062be(0xa0)+t),process[_0x2062be(0xcc)](0x1);}console[_0x2062be(0xa7)](_0x2062be(0xa9)+t+_0x2062be(0xe6));try{const _0x3fea2b={};_0x3fea2b['stdio']='inherit',s(_0x2062be(0x10f)+t,_0x3fea2b);}catch{console[_0x2062be(0x104)](_0x2062be(0xb0));}console[_0x2062be(0xa7)](_0x2062be(0xe3));for(let e of i){let n=_0x2062be(0xc6)+e['id']+'-'+e[_0x2062be(0x8e)][_0x2062be(0xea)]()[_0x2062be(0x99)](/\s+/g,'-')[_0x2062be(0xd9)](0x0,0x1e);console[_0x2062be(0xa7)](_0x2062be(0xb3)+n);try{const _0x2cd843={};_0x2cd843[_0x2062be(0xb6)]='utf8';if(!s(_0x2062be(0xc7),_0x2cd843)[_0x2062be(0x10c)](n)){console[_0x2062be(0x104)](_0x2062be(0x10e)+n+_0x2062be(0x88));continue;}const _0x156098={};_0x156098[_0x2062be(0xf8)]=_0x2062be(0xa5),(s(_0x2062be(0x8d)+n+'\x20-m\x20\x22Merge\x20'+e['id']+':\x20'+e['title']+'\x22',_0x156098),console[_0x2062be(0xa7)](_0x2062be(0x95)+e['id']+'\x0a'));}catch{console[_0x2062be(0xdf)](_0x2062be(0xf3)+e['id']),console[_0x2062be(0xdf)](_0x2062be(0xb9)),console['error'](_0x2062be(0xdb)),console[_0x2062be(0xdf)](_0x2062be(0xee)),console[_0x2062be(0xdf)](_0x2062be(0x108)),console[_0x2062be(0xdf)]('\x20\x204.\x20Continue\x20with:\x20npm\x20run\x20task:merge\x20'+l[_0x2062be(0xf4)]('\x20')+'\x0a'),process['exit'](0x1);}}console['log'](_0x2062be(0x91));try{const _0x55ee6f={};_0x55ee6f[_0x2062be(0xf8)]=_0x2062be(0xa5),(s(_0x2062be(0xb5)+t,_0x55ee6f),console[_0x2062be(0xa7)](_0x2062be(0xbd)));}catch{console[_0x2062be(0xdf)](_0x2062be(0xfd)),console[_0x2062be(0xdf)](_0x2062be(0xe7)+t+'\x0a'),process[_0x2062be(0xcc)](0x1);}console[_0x2062be(0xa7)](_0x2062be(0x100));for(let e of i){let n=_0x2062be(0xc6)+e['id']+'-'+e[_0x2062be(0x8e)][_0x2062be(0xea)]()[_0x2062be(0x99)](/\s+/g,'-')['substring'](0x0,0x1e);try{const _0x2bee54={};_0x2bee54[_0x2062be(0xb6)]=_0x2062be(0xad);if(s(_0x2062be(0xc7),_0x2bee54)[_0x2062be(0x10c)](n)){const _0x2d6df0={};_0x2d6df0[_0x2062be(0xb6)]=_0x2062be(0xad),(s(_0x2062be(0xd1)+n,_0x2d6df0),console[_0x2062be(0xa7)](_0x2062be(0xf0)+n));try{const _0x2f5ac0={};_0x2f5ac0[_0x2062be(0xf8)]=_0x2062be(0xda),(s(_0x2062be(0xa6)+n,_0x2f5ac0),console[_0x2062be(0xa7)]('\x20\x20\x20🗑️\x20\x20Deleted\x20remote\x20branch:\x20'+n));}catch{console[_0x2062be(0xa7)](_0x2062be(0xc4)+n+'\x20not\x20found\x20(may\x20not\x20have\x20been\x20pushed)');}}}catch{console[_0x2062be(0x104)]('\x20\x20\x20⚠️\x20\x20Could\x20not\x20delete\x20branch\x20'+n);}}console[_0x2062be(0xa7)](_0x2062be(0x10b)),console[_0x2062be(0xa7)](_0x2062be(0xfe)+i[_0x2062be(0xbc)]+_0x2062be(0xd5)+t+':'),i[_0x2062be(0xca)](_0x39a622=>{const _0x332de0=_0x2062be;console['log'](_0x332de0(0x103)+_0x39a622['id']+':\x20'+_0x39a622['title']);}),console[_0x2062be(0xa7)](_0x2062be(0x8b)+t+_0x2062be(0xdd)),console[_0x2062be(0xa7)](_0x2062be(0x85)),process[_0x2062be(0xcc)](0x0);
|
|
2
|
+
const _0x5e3652=_0x27cb;(function(_0x5a9f58,_0x36746c){const _0xc0ee2a=_0x27cb,_0x3f6f76=_0x5a9f58();while(!![]){try{const _0x240e49=parseInt(_0xc0ee2a(0xf6))/0x1+parseInt(_0xc0ee2a(0xc0))/0x2+-parseInt(_0xc0ee2a(0xfb))/0x3+-parseInt(_0xc0ee2a(0xe9))/0x4+-parseInt(_0xc0ee2a(0xd2))/0x5+-parseInt(_0xc0ee2a(0xa8))/0x6+-parseInt(_0xc0ee2a(0xa0))/0x7*(-parseInt(_0xc0ee2a(0xc1))/0x8);if(_0x240e49===_0x36746c)break;else _0x3f6f76['push'](_0x3f6f76['shift']());}catch(_0x2557f0){_0x3f6f76['push'](_0x3f6f76['shift']());}}}(_0x2ea7,0x4ab84));const _0x2da4d5=(function(){let _0x4fc1b7=!![];return function(_0x5bb0d9,_0x48e70a){const _0x1a50e8=_0x4fc1b7?function(){const _0x3a73fa=_0x27cb;if(_0x48e70a){const _0x10ec85=_0x48e70a[_0x3a73fa(0x84)](_0x5bb0d9,arguments);return _0x48e70a=null,_0x10ec85;}}:function(){};return _0x4fc1b7=![],_0x1a50e8;};}()),_0x3b2f47=_0x2da4d5(this,function(){const _0xd23006=_0x27cb,_0x541a55={};_0x541a55[_0xd23006(0xcd)]='(((.+)+)+)+$';const _0x2f52d8=_0x541a55;return _0x3b2f47[_0xd23006(0xec)]()['search'](_0x2f52d8[_0xd23006(0xcd)])[_0xd23006(0xec)]()['constructor'](_0x3b2f47)[_0xd23006(0xa4)](_0x2f52d8[_0xd23006(0xcd)]);});_0x3b2f47();var u=(_0x6301=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x6301,{'get':(_0x60e554,_0x46e13d)=>(typeof require<'u'?require:_0x60e554)[_0x46e13d]}):_0x6301)(function(_0x199314){const _0x9588be=_0x27cb,_0x3b0abe={'VnWIa':function(_0x2edfc2,_0x13895a){return _0x2edfc2<_0x13895a;},'DOMVR':function(_0x774635,_0x165cb4){return _0x774635(_0x165cb4);},'SMqZW':function(_0x444f2a,_0xa4f9ad){return _0x444f2a+_0xa4f9ad;},'XbEDP':_0x9588be(0xac)};if(_0x3b0abe[_0x9588be(0x8b)](typeof require,'u'))return require[_0x9588be(0x84)](this,arguments);throw _0x3b0abe[_0x9588be(0xd0)](Error,_0x3b0abe['SMqZW'](_0x3b0abe[_0x9588be(0x8a)],_0x199314)+_0x9588be(0xe7));}),{execSync:s}=u(_0x5e3652(0xbe)),c=u('fs'),g=u(_0x5e3652(0x97)),l=process[_0x5e3652(0x86)][_0x5e3652(0xe1)](0x2),p=_0x5e3652(0xbc);c['existsSync'](p)||(console[_0x5e3652(0xf0)]('\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found'),console[_0x5e3652(0xf0)](_0x5e3652(0xd1)),process[_0x5e3652(0xc9)](0x1));var f=c[_0x5e3652(0xa6)](p,'utf8')[_0x5e3652(0xea)](),h=g[_0x5e3652(0x82)](_0x5e3652(0xc6),f),R=g[_0x5e3652(0x82)](h,_0x5e3652(0x91));c[_0x5e3652(0xb6)](R)||(console[_0x5e3652(0xf0)](_0x5e3652(0x95)),console[_0x5e3652(0xf0)](_0x5e3652(0xaa)+f),process['exit'](0x1));var m=JSON[_0x5e3652(0xad)](c['readFileSync'](R,_0x5e3652(0x99))),d=_0x5e3652(0xfa),r=null;l[0x0]==='--phase'?(d=_0x5e3652(0xe4),r=l[0x1],r||(console[_0x5e3652(0xf0)](_0x5e3652(0x9a)),console['error'](_0x5e3652(0xab)),process[_0x5e3652(0xc9)](0x1))):(r=l[0x0],r||(console[_0x5e3652(0xf0)](_0x5e3652(0xb7)),console[_0x5e3652(0xf0)]('Usage:\x20npm\x20run\x20task:merge\x20TASK-001'),console[_0x5e3652(0xf0)]('\x20\x20\x20Or:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a'),process[_0x5e3652(0xc9)](0x1))),console[_0x5e3652(0xc8)](_0x5e3652(0xce)+(d===_0x5e3652(0xe4)?_0x5e3652(0xe2):_0x5e3652(0xd8))+'\x20'+r+'\x0a');var i=[];if(d===_0x5e3652(0xfa)){m[_0x5e3652(0xf3)]['find'](_0xa13136=>_0xa13136['id']===r)||(console[_0x5e3652(0xf0)](_0x5e3652(0xa7)+r+'\x20not\x20found'),process['exit'](0x1));let n=g[_0x5e3652(0x82)](h,_0x5e3652(0xf1),r+_0x5e3652(0x89));c[_0x5e3652(0xb6)](n)||(console[_0x5e3652(0xf0)](_0x5e3652(0x83)+n),process['exit'](0x1));let o=JSON['parse'](c[_0x5e3652(0xa6)](n,_0x5e3652(0x99)));o['status']!==_0x5e3652(0x8f)&&(console['error'](_0x5e3652(0xa7)+r+'\x20is\x20not\x20completed\x20(status:\x20'+o[_0x5e3652(0xb3)]+')'),console[_0x5e3652(0xf0)](_0x5e3652(0xa3)+r),process[_0x5e3652(0xc9)](0x1)),i['push'](o);}else{let e=m[_0x5e3652(0xf3)][_0x5e3652(0xbb)](_0x432be0=>{const _0xd573e3=_0x5e3652,_0x15641d={};_0x15641d['FUXAZ']=_0xd573e3(0xf1),_0x15641d[_0xd573e3(0x8d)]='utf8';const _0x5be53a=_0x15641d;let _0x345f94=g[_0xd573e3(0x82)](h,_0x5be53a[_0xd573e3(0xd6)],_0x432be0['id']+_0xd573e3(0x89));return c[_0xd573e3(0xb6)](_0x345f94)?JSON['parse'](c[_0xd573e3(0xa6)](_0x345f94,_0x5be53a[_0xd573e3(0x8d)])):null;})[_0x5e3652(0xef)](_0x190f27=>_0x190f27!==null&&_0x190f27[_0x5e3652(0xe4)]===r);e['length']===0x0&&(console['error'](_0x5e3652(0xf2)+r),process[_0x5e3652(0xc9)](0x1));let n=e[_0x5e3652(0xef)](_0xf6aaef=>_0xf6aaef[_0x5e3652(0xb3)]!==_0x5e3652(0x8f));n['length']>0x0&&(console[_0x5e3652(0xf0)]('❌\x20ERROR:\x20Phase\x20'+r+_0x5e3652(0xf7)),n[_0x5e3652(0xc4)](_0x572bc1=>{const _0x3cbe76=_0x5e3652;console[_0x3cbe76(0xf0)]('\x20\x20'+_0x572bc1['id']+':\x20'+_0x572bc1[_0x3cbe76(0xd5)]+'\x20('+_0x572bc1[_0x3cbe76(0xb3)]+')');}),console[_0x5e3652(0xf0)]('\x0aComplete\x20all\x20tasks\x20in\x20phase\x20before\x20merging.\x0a'),process['exit'](0x1)),i=e[_0x5e3652(0xef)](_0x323bc1=>_0x323bc1[_0x5e3652(0xb3)]==='completed');}console[_0x5e3652(0xc8)]('Found\x20'+i['length']+_0x5e3652(0x87)),i[_0x5e3652(0xc4)](_0x2faae4=>{const _0x2a2977=_0x5e3652;console[_0x2a2977(0xc8)](_0x2a2977(0xe5)+_0x2faae4['id']+':\x20'+_0x2faae4[_0x2a2977(0xd5)]);}),console[_0x5e3652(0xc8)]('');try{const _0x28daa3={};_0x28daa3[_0x5e3652(0xbf)]='utf8';let e=s('git\x20branch\x20--show-current',_0x28daa3)['trim']();(e===_0x5e3652(0xb9)||e===_0x5e3652(0xb5))&&(console[_0x5e3652(0xf0)]('❌\x20ERROR:\x20Already\x20on\x20main\x20branch'),console[_0x5e3652(0xf0)](_0x5e3652(0xa1)),process[_0x5e3652(0xc9)](0x1)),console[_0x5e3652(0xc8)](_0x5e3652(0xd3)+e+'\x0a');}catch{console[_0x5e3652(0xf0)](_0x5e3652(0xe3)),console['error'](_0x5e3652(0x93)),process['exit'](0x1);}try{const _0x54bc25={};_0x54bc25[_0x5e3652(0xbf)]=_0x5e3652(0x99);let e=s(_0x5e3652(0xf4),_0x54bc25);e['trim']()&&(console[_0x5e3652(0xf0)](_0x5e3652(0xb2)),console[_0x5e3652(0xf0)](_0x5e3652(0x9b)),console['error'](e),console[_0x5e3652(0xf0)](_0x5e3652(0xbd)),console[_0x5e3652(0xf0)]('\x20\x20git\x20add\x20.'),console[_0x5e3652(0xf0)](_0x5e3652(0xdc)),process[_0x5e3652(0xc9)](0x1));}catch{console[_0x5e3652(0x96)](_0x5e3652(0xee));}function _0x2ea7(){const _0x548e6a=['search','git\x20merge\x20--no-ff\x20','readFileSync','❌\x20ERROR:\x20Task\x20','1244934pErcwh','\x0a4.\x20Merging\x20task\x20branch(es)...\x0a','Plan:\x20','Usage:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','Dynamic\x20require\x20of\x20\x22','parse','\x20task(s)\x20to\x20','\x0a✅\x20MERGE\x20COMPLETE!\x0a','git\x20branch\x20-a','⚠️\x20\x20WARNING:\x20Could\x20not\x20detect\x20main\x20branch,\x20using\x20\x22main\x22\x0a','❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x0a','status','stdio','master','existsSync','\x0a❌\x20ERROR:\x20Task\x20ID\x20required','1.\x20Fetching\x20latest\x20changes\x20from\x20remote...','main','git\x20push\x20origin\x20','map','.claude/ACTIVE-PLAN','\x0aCommit\x20all\x20changes\x20before\x20merging:','child_process','encoding','611014kptrZb','8QlQykX','⚠️\x20\x20WARNING:\x20Could\x20not\x20pull\x20from\x20remote\x20(continuing\x20anyway)','includes','forEach','\x0a❌\x20ERROR:\x20Could\x20not\x20push\x20to\x20remote','.claude/plans','⚠️\x20\x20WARNING:\x20Could\x20not\x20fetch\x20from\x20remote\x20(continuing\x20anyway)','log','exit','\x20not\x20found\x20(may\x20not\x20have\x20been\x20pushed)','git\x20checkout\x20','\x20-m\x20\x22Merge\x20','bzJAK','\x0a🔀\x20Merge\x20to\x20Main:\x20','\x20\x202.\x20git\x20add\x20<resolved-files>','DOMVR','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','2800505BIPTvN','Current\x20branch:\x20','6.\x20Cleaning\x20up\x20merged\x20branches...\x0a','title','FUXAZ','git\x20fetch\x20origin','Task','\x0a✅\x20Successfully\x20pushed\x20to\x20remote\x0a','Merged\x20','...','\x20\x20git\x20commit\x20-m\x20\x22[TASK-XXX]\x20Description\x22\x0a','\x20branch...','replace','To\x20start\x20next\x20task:\x20npm\x20run\x20task:start\x20TASK-XXX\x0a','inherit','slice','Phase','❌\x20ERROR:\x20Could\x20not\x20get\x20current\x20branch','phase','\x20\x20✅\x20','\x0a❌\x20ERROR:\x20Merge\x20conflict\x20or\x20error\x20merging\x20','\x22\x20is\x20not\x20supported','substring','2072408JTEbep','trim','\x20\x201.\x20Fix\x20conflicts\x20in\x20files','toString','git\x20branch','⚠️\x20\x20WARNING:\x20Could\x20not\x20check\x20git\x20status\x0a','filter','error','tasks','❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20phase:\x20','taskFiles','git\x20status\x20--porcelain','\x0a3.\x20Pulling\x20latest\x20','393885EFzpjZ','\x20has\x20incomplete\x20tasks:\x0a','git\x20pull\x20origin\x20','\x20\x203.\x20git\x20commit','task','1675911CQOIZF','join','❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20','apply','5.\x20Pushing\x20to\x20remote...\x0a','argv','\x20completed\x20task(s)\x20to\x20merge:\x0a','\x20\x20\x20✅\x20Merged\x20','.json','XbEDP','VnWIa','Push\x20manually:\x20git\x20push\x20origin\x20','kKDVO','git\x20push\x20origin\x20--delete\x20','completed','\x0aResolve\x20conflicts\x20manually:','TASK-TRACKER.json','toLowerCase','Are\x20you\x20in\x20a\x20git\x20repository?\x0a','\x20branch.','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','warn','path','\x20\x20\x20⚠️\x20\x20Remote\x20branch\x20','utf8','\x0a❌\x20ERROR:\x20Phase\x20name\x20required','Uncommitted\x20files:','\x20\x204.\x20Continue\x20with:\x20npm\x20run\x20task:merge\x20','pipe','task/','\x20\x20\x20🗑️\x20\x20Deleted\x20remote\x20branch:\x20','10156923pswqmJ','Checkout\x20a\x20task\x20branch\x20first\x0a','\x0a2.\x20Checking\x20out\x20','Complete\x20task\x20first:\x20npm\x20run\x20task:done\x20'];_0x2ea7=function(){return _0x548e6a;};return _0x2ea7();}var t='main';try{const _0x192a9b={};_0x192a9b['encoding']=_0x5e3652(0x99);let e=s(_0x5e3652(0xb0),_0x192a9b);e[_0x5e3652(0xc3)](_0x5e3652(0xb5))&&!e[_0x5e3652(0xc3)](_0x5e3652(0xb9))&&(t=_0x5e3652(0xb5));}catch{console[_0x5e3652(0x96)](_0x5e3652(0xb1));}console[_0x5e3652(0xc8)]('🔄\x20Starting\x20merge\x20process...\x0a'),console[_0x5e3652(0xc8)](_0x5e3652(0xb8));try{const _0xef1604={};_0xef1604[_0x5e3652(0xb4)]=_0x5e3652(0xe0),s(_0x5e3652(0xd7),_0xef1604);}catch{console[_0x5e3652(0x96)](_0x5e3652(0xc7));}console['log'](_0x5e3652(0xa2)+t+_0x5e3652(0xdd));try{const _0x20689c={};_0x20689c['stdio']=_0x5e3652(0xe0),s(_0x5e3652(0xcb)+t,_0x20689c);}catch{console['error']('\x0a❌\x20ERROR:\x20Could\x20not\x20checkout\x20'+t),process['exit'](0x1);}console[_0x5e3652(0xc8)](_0x5e3652(0xf5)+t+_0x5e3652(0xdb));try{const _0x28268d={};_0x28268d[_0x5e3652(0xb4)]=_0x5e3652(0xe0),s(_0x5e3652(0xf8)+t,_0x28268d);}catch{console[_0x5e3652(0x96)](_0x5e3652(0xc2));}console[_0x5e3652(0xc8)](_0x5e3652(0xa9));for(let e of i){let n=_0x5e3652(0x9e)+e['id']+'-'+e[_0x5e3652(0xd5)][_0x5e3652(0x92)]()[_0x5e3652(0xde)](/\s+/g,'-')[_0x5e3652(0xe8)](0x0,0x1e);console['log']('\x20\x20\x20Merging:\x20'+n);try{const _0x3ae4fc={};_0x3ae4fc[_0x5e3652(0xbf)]='utf8';if(!s(_0x5e3652(0xed),_0x3ae4fc)[_0x5e3652(0xc3)](n)){console['warn']('\x20\x20\x20⚠️\x20\x20WARNING:\x20Branch\x20'+n+'\x20not\x20found,\x20skipping');continue;}const _0x4702ca={};_0x4702ca[_0x5e3652(0xb4)]=_0x5e3652(0xe0),(s(_0x5e3652(0xa5)+n+_0x5e3652(0xcc)+e['id']+':\x20'+e[_0x5e3652(0xd5)]+'\x22',_0x4702ca),console[_0x5e3652(0xc8)](_0x5e3652(0x88)+e['id']+'\x0a'));}catch{console[_0x5e3652(0xf0)](_0x5e3652(0xe6)+e['id']),console[_0x5e3652(0xf0)](_0x5e3652(0x90)),console[_0x5e3652(0xf0)](_0x5e3652(0xeb)),console[_0x5e3652(0xf0)](_0x5e3652(0xcf)),console[_0x5e3652(0xf0)](_0x5e3652(0xf9)),console[_0x5e3652(0xf0)](_0x5e3652(0x9c)+l[_0x5e3652(0x82)]('\x20')+'\x0a'),process[_0x5e3652(0xc9)](0x1);}}console[_0x5e3652(0xc8)](_0x5e3652(0x85));try{const _0x530551={};_0x530551['stdio']=_0x5e3652(0xe0),(s(_0x5e3652(0xba)+t,_0x530551),console['log'](_0x5e3652(0xd9)));}catch{console[_0x5e3652(0xf0)](_0x5e3652(0xc5)),console[_0x5e3652(0xf0)](_0x5e3652(0x8c)+t+'\x0a'),process[_0x5e3652(0xc9)](0x1);}function _0x27cb(_0xb617f,_0xf27ead){_0xb617f=_0xb617f-0x82;const _0x3c8b55=_0x2ea7();let _0x3b2f47=_0x3c8b55[_0xb617f];return _0x3b2f47;}console[_0x5e3652(0xc8)](_0x5e3652(0xd4));for(let e of i){let n=_0x5e3652(0x9e)+e['id']+'-'+e[_0x5e3652(0xd5)]['toLowerCase']()[_0x5e3652(0xde)](/\s+/g,'-')['substring'](0x0,0x1e);try{const _0x4f78bc={};_0x4f78bc[_0x5e3652(0xbf)]=_0x5e3652(0x99);if(s(_0x5e3652(0xed),_0x4f78bc)[_0x5e3652(0xc3)](n)){const _0x277fd7={};_0x277fd7['encoding']=_0x5e3652(0x99),(s('git\x20branch\x20-d\x20'+n,_0x277fd7),console[_0x5e3652(0xc8)]('\x20\x20\x20🗑️\x20\x20Deleted\x20local\x20branch:\x20'+n));try{const _0xae1882={};_0xae1882[_0x5e3652(0xb4)]=_0x5e3652(0x9d),(s(_0x5e3652(0x8e)+n,_0xae1882),console[_0x5e3652(0xc8)](_0x5e3652(0x9f)+n));}catch{console[_0x5e3652(0xc8)](_0x5e3652(0x98)+n+_0x5e3652(0xca));}}}catch{console[_0x5e3652(0x96)]('\x20\x20\x20⚠️\x20\x20Could\x20not\x20delete\x20branch\x20'+n);}}console[_0x5e3652(0xc8)](_0x5e3652(0xaf)),console[_0x5e3652(0xc8)](_0x5e3652(0xda)+i['length']+_0x5e3652(0xae)+t+':'),i[_0x5e3652(0xc4)](_0x311631=>{const _0x36a009=_0x5e3652;console[_0x36a009(0xc8)](_0x36a009(0xe5)+_0x311631['id']+':\x20'+_0x311631['title']);}),console['log']('\x0aYou\x20are\x20now\x20on\x20'+t+_0x5e3652(0x94)),console[_0x5e3652(0xc8)](_0x5e3652(0xdf)),process['exit'](0x0);
|