gl-life-claude-zen 1.3.0 → 1.3.2
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/CHANGELOG.md +64 -0
- package/README.md +1 -0
- package/bin/create-gl-life-claude.js +56 -1
- 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-integration-site.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/lib/init.js +6 -6
- package/package.json +2 -1
- package/templates/.claude/settings.json +9 -0
- package/templates/.gitignore +14 -0
- package/templates/README.md +4 -0
package/dist/hooks/start-task.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function _0x41c7(){const _0x29299b=['\x0a⚠️\x20\x20Pausing\x20task\x20','subprojectName','\x20incomplete):','TASK-TRACKER.json','\x0a\x20\x20','completionCriteria','stringify','\x20\x203.\x20When\x20finished:','readFileSync','\x20\x20\x20\x20','1811fYFOpU','Available\x20tasks:','32KQXNwy','qnFWi','Press\x20Ctrl+C\x20to\x20cancel,\x20or\x20wait\x205\x20seconds\x20to\x20continue...\x0a','128286sPKiEC','constructor','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','\x0a⚠️\x20\x20WARNING:\x20You\x20are\x20skipping\x20earlier\x20tasks\x20in\x20this\x20phase:','statistics','tasks','\x20\x20\x20\x20\x20git\x20commit\x20-m\x20\x22[','Hgune','design','\x0a✅\x20Started\x20task:\x20','\x0a❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20','iDSIX','search','push','xpBDl','\x0aAre\x20you\x20sure\x20you\x20want\x20to\x20start\x20out\x20of\x20sequence?','join','now','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','VXMbv','🎯\x20Milestone:\x20','filter','.json','taskFiles','length','indexOf','ufiZB','dependencies','parse','📋\x20Plan:\x20','\x0a❌\x20ERROR:\x20Task\x20','testCases','2057448ChoDzN','forEach','pending','\x20\x20\x20\x20...\x20and\x20','find','title','error','activeTask','toLowerCase','\x20\x202.\x20Commit\x20frequently\x20with\x20task\x20reference:','keys','apply','YWHFz','path','\x20phase\x20with\x20incomplete\x20earlier\x20phase\x20tasks:','\x20more','utf8','map','argv','64353XQgLfK','.claude/ACTIVE-PLAN','UkOru','(((.+)+)+)+$','in_progress','Cannot\x20restart\x20a\x20completed\x20task\x0a','split','slice','yGQdx','existsSync','writeFileSync','lastUpdated','Bslmt','implementation','1525433IITTTb','FjAgg','RPxRk','\x20\x201.\x20Make\x20your\x20changes\x20on\x20main\x20branch','exit','36StFvbE','npxnJ','\x22\x20is\x20not\x20supported','documentation','hwgku','fXqLX','\x20\x20\x20\x20\x20npm\x20run\x20task:done\x20','\x20is\x20already\x20completed','🔧\x20Phase:\x20','2037010JEetDQ','54HLnowR','22nYSnPU','toString','67810QNzJQf','4vWxaVw','\x0a❌\x20ERROR:\x20Task\x20ID\x20required','mWLUH',']\x20Description\x20of\x20changes\x22','startedAt','VzmMA','phase','description','toISOString','\x0a📂\x20Task\x20file:\x20','Egskn','\x0aRecommended:\x20Complete\x20earlier\x20phases\x20before\x20moving\x20to\x20later\x20phases.','PpGIQ','IHotL','blocked','ShlVT','status','SpnZU','log','milestoneName','completed','eBUlI','tXITb','KRFlv','Plan:\x20','Usage:\x20npm\x20run\x20task:start\x20TASK-001\x0a','TDflk'];_0x41c7=function(){return _0x29299b;};return _0x41c7();}const _0x146ca1=_0x5671;(function(_0x4f6f5d,_0x5d80f6){const _0x35c9db=_0x5671,_0x138e44=_0x4f6f5d();while(!![]){try{const _0x6d5d69=parseInt(_0x35c9db(0x1a4))/0x1*(parseInt(_0x35c9db(0x17b))/0x2)+parseInt(_0x35c9db(0x1dc))/0x3*(-parseInt(_0x35c9db(0x17f))/0x4)+-parseInt(_0x35c9db(0x17e))/0x5*(-parseInt(_0x35c9db(0x171))/0x6)+parseInt(_0x35c9db(0x16c))/0x7+parseInt(_0x35c9db(0x1a6))/0x8*(-parseInt(_0x35c9db(0x1a9))/0x9)+parseInt(_0x35c9db(0x17a))/0xa+parseInt(_0x35c9db(0x17c))/0xb*(-parseInt(_0x35c9db(0x1c9))/0xc);if(_0x6d5d69===_0x5d80f6)break;else _0x138e44['push'](_0x138e44['shift']());}catch(_0xe86dad){_0x138e44['push'](_0x138e44['shift']());}}}(_0x41c7,0x1fdd2));const _0x5c565c=(function(){const _0x5906f2=_0x5671,_0x4b13c1={};_0x4b13c1[_0x5906f2(0x175)]=function(_0x3ab738,_0xbfff){return _0x3ab738===_0xbfff;},_0x4b13c1[_0x5906f2(0x166)]=_0x5906f2(0x1d5),_0x4b13c1['mWLUH']=_0x5906f2(0x194);const _0x4937d1=_0x4b13c1;let _0x14861f=!![];return function(_0x161957,_0x465d5c){const _0xc2c383=_0x14861f?function(){const _0x5b253c=_0x5671;if(_0x465d5c){if(_0x4937d1[_0x5b253c(0x175)](_0x4937d1['yGQdx'],_0x4937d1[_0x5b253c(0x181)]))_0x2c6dd0[_0x5b253c(0x1cf)]('\x20\x20'+_0x513516['id']+':\x20'+_0x223f1f['title']+'\x20['+_0x4724bc['status']+']');else{const _0x231cec=_0x465d5c['apply'](_0x161957,arguments);return _0x465d5c=null,_0x231cec;}}}:function(){};return _0x14861f=![],_0xc2c383;};}()),_0x4e5878=_0x5c565c(this,function(){const _0x48dcff=_0x5671;return _0x4e5878[_0x48dcff(0x17d)]()[_0x48dcff(0x1b5)](_0x48dcff(0x1df))[_0x48dcff(0x17d)]()[_0x48dcff(0x1aa)](_0x4e5878)['search']('(((.+)+)+)+$');});_0x4e5878();var m=(_0x1be708=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x1be708,{'get':(_0x207d27,_0x2cc21c)=>(typeof require<'u'?require:_0x207d27)[_0x2cc21c]}):_0x1be708)(function(_0x374cc9){const _0x3312f1=_0x5671,_0x524571={'KRFlv':function(_0x1b068b,_0x3eb5cf){return _0x1b068b<_0x3eb5cf;},'xpBDl':function(_0x402ce4,_0x21677e){return _0x402ce4(_0x21677e);},'mFuGJ':function(_0x432193,_0x33ecd0){return _0x432193+_0x33ecd0;},'VzmMA':'Dynamic\x20require\x20of\x20\x22','ShlVT':_0x3312f1(0x173)};if(_0x524571[_0x3312f1(0x196)](typeof require,'u'))return require[_0x3312f1(0x1d4)](this,arguments);throw _0x524571[_0x3312f1(0x1b7)](Error,_0x524571['mFuGJ'](_0x524571[_0x3312f1(0x184)]+_0x374cc9,_0x524571[_0x3312f1(0x18e)]));}),i=m('fs'),d=m(_0x146ca1(0x1d6)),r=process[_0x146ca1(0x1db)][0x2];r||(console[_0x146ca1(0x1cf)](_0x146ca1(0x180)),console[_0x146ca1(0x1cf)](_0x146ca1(0x198)),process[_0x146ca1(0x170)](0x1));var y=_0x146ca1(0x1dd);i['existsSync'](y)||(console[_0x146ca1(0x1cf)](_0x146ca1(0x1ab)),console[_0x146ca1(0x1cf)]('Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a'),process[_0x146ca1(0x170)](0x1));var h=i[_0x146ca1(0x1a2)](y,_0x146ca1(0x1d9))['trim'](),f=d[_0x146ca1(0x1b9)]('.claude/plans',h),g=d[_0x146ca1(0x1b9)](f,_0x146ca1(0x19d)),u=d[_0x146ca1(0x1b9)](f,_0x146ca1(0x1ae),r+_0x146ca1(0x1bf));i['existsSync'](g)||(console[_0x146ca1(0x1cf)](_0x146ca1(0x1bb)),console['error'](_0x146ca1(0x197)+h),console[_0x146ca1(0x1cf)]('Initialize\x20first:\x20npm\x20run\x20plan:init\x0a'),process[_0x146ca1(0x170)](0x1)),i[_0x146ca1(0x167)](u)||(console[_0x146ca1(0x1cf)](_0x146ca1(0x1b3)+u),console[_0x146ca1(0x1cf)](_0x146ca1(0x1a5)),JSON[_0x146ca1(0x1c5)](i[_0x146ca1(0x1a2)](g,_0x146ca1(0x1d9)))[_0x146ca1(0x1c0)][_0x146ca1(0x1ca)](_0x3174c2=>{const _0x1f6fa5=_0x146ca1;console[_0x1f6fa5(0x1cf)]('\x20\x20'+_0x3174c2['id']+':\x20'+_0x3174c2[_0x1f6fa5(0x1ce)]+'\x20['+_0x3174c2['status']+']');}),console[_0x146ca1(0x1cf)](''),process[_0x146ca1(0x170)](0x1));var a=JSON[_0x146ca1(0x1c5)](i[_0x146ca1(0x1a2)](g,_0x146ca1(0x1d9))),t=JSON[_0x146ca1(0x1c5)](i[_0x146ca1(0x1a2)](u,_0x146ca1(0x1d9)));t['status']==='completed'&&(console[_0x146ca1(0x1cf)](_0x146ca1(0x1c7)+r+_0x146ca1(0x178)),console[_0x146ca1(0x1cf)](_0x146ca1(0x163)),process[_0x146ca1(0x170)](0x1));function _0x5671(_0x2f2ef7,_0x11c5c6){_0x2f2ef7=_0x2f2ef7-0x163;const _0x40d1d0=_0x41c7();let _0x4e5878=_0x40d1d0[_0x2f2ef7];return _0x4e5878;}if(t[_0x146ca1(0x1c4)]&&t['dependencies'][_0x146ca1(0x1c1)]>0x0){let e=[];for(let s of t[_0x146ca1(0x1c4)]){let o=d[_0x146ca1(0x1b9)](f,_0x146ca1(0x1ae),s+'.json');if(i[_0x146ca1(0x167)](o)){let n=JSON[_0x146ca1(0x1c5)](i[_0x146ca1(0x1a2)](o,_0x146ca1(0x1d9)));n[_0x146ca1(0x18f)]!==_0x146ca1(0x193)&&e['push']({'id':s,'title':n[_0x146ca1(0x1ce)],'status':n[_0x146ca1(0x18f)]});}}e[_0x146ca1(0x1c1)]>0x0&&(console['error']('\x0a❌\x20ERROR:\x20Task\x20'+r+'\x20has\x20unmet\x20dependencies:'),e['forEach'](_0x459b7a=>{const _0x3c441e=_0x146ca1;console[_0x3c441e(0x1cf)]('\x20\x20'+_0x459b7a['id']+':\x20'+_0x459b7a[_0x3c441e(0x1ce)]+'\x20['+_0x459b7a[_0x3c441e(0x18f)]+']');}),console['error']('\x0aComplete\x20dependencies\x20first\x0a'),process[_0x146ca1(0x170)](0x1));}var $=parseInt(r[_0x146ca1(0x164)]('-')[0x1]);if(!isNaN($)){let s=a[_0x146ca1(0x1c0)][_0x146ca1(0x1da)](_0x5c5fdf=>{const _0x5a0011=_0x146ca1,_0x1e3c88={};_0x1e3c88['mkffl']=_0x5a0011(0x1ae),_0x1e3c88[_0x5a0011(0x16a)]=_0x5a0011(0x1d9);const _0x28d897=_0x1e3c88;let _0x46c1e8=d[_0x5a0011(0x1b9)](f,_0x28d897['mkffl'],_0x5c5fdf['id']+_0x5a0011(0x1bf));return i[_0x5a0011(0x167)](_0x46c1e8)?JSON['parse'](i['readFileSync'](_0x46c1e8,_0x28d897['Bslmt'])):null;})[_0x146ca1(0x1be)](_0x336dd1=>_0x336dd1!==null)[_0x146ca1(0x1be)](_0x2e109a=>{const _0x3ec9ef=_0x146ca1,_0x524b42={'tXITb':function(_0x2d72ea,_0x2b70f7){return _0x2d72ea(_0x2b70f7);},'OlyeD':function(_0x201af9,_0xc1c468){return _0x201af9(_0xc1c468);},'FjAgg':function(_0x450bba,_0x37ecd4){return _0x450bba<_0x37ecd4;},'UkOru':_0x3ec9ef(0x193),'fXqLX':function(_0x5a6bf,_0x449e60){return _0x5a6bf===_0x449e60;},'Egskn':function(_0x53ca00,_0x167d35){return _0x53ca00!==_0x167d35;}};let _0x4653a8=_0x524b42[_0x3ec9ef(0x195)](parseInt,_0x2e109a['id'][_0x3ec9ef(0x164)]('-')[0x1]);return!_0x524b42['OlyeD'](isNaN,_0x4653a8)&&_0x524b42[_0x3ec9ef(0x16d)](_0x4653a8,$)&&_0x2e109a[_0x3ec9ef(0x18f)]!==_0x524b42[_0x3ec9ef(0x1de)]&&_0x524b42[_0x3ec9ef(0x176)](_0x2e109a['phase'],t['phase'])&&_0x524b42[_0x3ec9ef(0x189)](_0x2e109a['id'],r);});if(s[_0x146ca1(0x1c1)]>0x0){console[_0x146ca1(0x191)](_0x146ca1(0x1ac)),s[_0x146ca1(0x1ca)](_0x46d70d=>{const _0x30f592=_0x146ca1;console['log']('\x20\x20'+_0x46d70d['id']+':\x20'+_0x46d70d[_0x30f592(0x1ce)]+'\x20['+_0x46d70d[_0x30f592(0x18f)]+']');}),console[_0x146ca1(0x191)](_0x146ca1(0x1b8)),console[_0x146ca1(0x191)](_0x146ca1(0x1a8));let o=Date[_0x146ca1(0x1ba)]();for(;Date['now']()-o<0x1388;);}}if(t[_0x146ca1(0x185)]){let e=[_0x146ca1(0x1b1),_0x146ca1(0x16b),'testing','deployment',_0x146ca1(0x174)],s=e[_0x146ca1(0x1c2)](t[_0x146ca1(0x185)][_0x146ca1(0x1d1)]());if(s>0x0){let n=a[_0x146ca1(0x1c0)][_0x146ca1(0x1da)](_0x2db3da=>{const _0x18c700=_0x146ca1,_0x481c4a={};_0x481c4a['TDflk']=_0x18c700(0x1d9);const _0x126262=_0x481c4a;let _0x411f39=d[_0x18c700(0x1b9)](f,_0x18c700(0x1ae),_0x2db3da['id']+_0x18c700(0x1bf));return i['existsSync'](_0x411f39)?JSON[_0x18c700(0x1c5)](i['readFileSync'](_0x411f39,_0x126262[_0x18c700(0x199)])):null;})[_0x146ca1(0x1be)](_0x5e50f1=>_0x5e50f1!==null)['filter'](_0x1e47b3=>{const _0x1c65cc=_0x146ca1,_0x5ce43b={};_0x5ce43b[_0x1c65cc(0x16e)]=function(_0x25b060,_0x36ab9b){return _0x25b060>=_0x36ab9b;},_0x5ce43b['npxnJ']=function(_0x29f6c5,_0x2d5618){return _0x29f6c5!==_0x2d5618;},_0x5ce43b[_0x1c65cc(0x18b)]=_0x1c65cc(0x193);const _0x164e51=_0x5ce43b;let _0x54dc59=e[_0x1c65cc(0x1c2)]((_0x1e47b3[_0x1c65cc(0x185)]||'')[_0x1c65cc(0x1d1)]());return _0x164e51[_0x1c65cc(0x16e)](_0x54dc59,0x0)&&_0x54dc59<s&&_0x164e51[_0x1c65cc(0x172)](_0x1e47b3[_0x1c65cc(0x18f)],_0x164e51[_0x1c65cc(0x18b)]);});if(n[_0x146ca1(0x1c1)]>0x0){console[_0x146ca1(0x191)]('\x0a⚠️\x20\x20WARNING:\x20Starting\x20'+t[_0x146ca1(0x185)]+_0x146ca1(0x1d7));let l={};n[_0x146ca1(0x1ca)](_0x1d2741=>{const _0x1c4fb7=_0x146ca1;l[_0x1d2741[_0x1c4fb7(0x185)]]||(l[_0x1d2741[_0x1c4fb7(0x185)]]=[]),l[_0x1d2741[_0x1c4fb7(0x185)]][_0x1c4fb7(0x1b6)](_0x1d2741);}),Object[_0x146ca1(0x1d3)](l)[_0x146ca1(0x1ca)](_0x1b7515=>{const _0x5ccbfb=_0x146ca1,_0x1967e3={};_0x1967e3[_0x5ccbfb(0x1b4)]=function(_0x25b5a0,_0xcbff){return _0x25b5a0===_0xcbff;},_0x1967e3[_0x5ccbfb(0x1a7)]='CkJCk',_0x1967e3[_0x5ccbfb(0x1c3)]=function(_0x5c1c26,_0x468f6d){return _0x5c1c26>_0x468f6d;},_0x1967e3[_0x5ccbfb(0x1bc)]=function(_0x36b312,_0x33c8a2){return _0x36b312-_0x33c8a2;};const _0x31ef0f=_0x1967e3;console[_0x5ccbfb(0x191)](_0x5ccbfb(0x19e)+_0x1b7515['toUpperCase']()+'\x20('+l[_0x1b7515][_0x5ccbfb(0x1c1)]+_0x5ccbfb(0x19c)),l[_0x1b7515][_0x5ccbfb(0x165)](0x0,0x3)['forEach'](_0x15e578=>{const _0x3a1861=_0x5ccbfb,_0x5bbf9d={};_0x5bbf9d[_0x3a1861(0x1b0)]=_0x3a1861(0x1d9);const _0x5634cd=_0x5bbf9d;if(_0x31ef0f[_0x3a1861(0x1b4)](_0x31ef0f[_0x3a1861(0x1a7)],_0x31ef0f['qnFWi']))console['log'](_0x3a1861(0x1a3)+_0x15e578['id']+':\x20'+_0x15e578['title']+'\x20['+_0x15e578[_0x3a1861(0x18f)]+']');else{let _0x6622ca=_0x3c4daf[_0x3a1861(0x1b9)](_0x5edd20,_0x3a1861(0x1ae),_0x377c46['id']+_0x3a1861(0x1bf));return _0x242ab8[_0x3a1861(0x167)](_0x6622ca)?_0x87394a[_0x3a1861(0x1c5)](_0x27ca7c[_0x3a1861(0x1a2)](_0x6622ca,_0x5634cd['Hgune'])):null;}}),_0x31ef0f[_0x5ccbfb(0x1c3)](l[_0x1b7515]['length'],0x3)&&console['log'](_0x5ccbfb(0x1cc)+_0x31ef0f[_0x5ccbfb(0x1bc)](l[_0x1b7515]['length'],0x3)+_0x5ccbfb(0x1d8));}),console[_0x146ca1(0x191)](_0x146ca1(0x18a)),console[_0x146ca1(0x191)](_0x146ca1(0x1a8));let p=Date[_0x146ca1(0x1ba)]();for(;Date['now']()-p<0x1388;);}}}if(a[_0x146ca1(0x1d0)]&&a['activeTask']!==r){let e=d[_0x146ca1(0x1b9)](f,_0x146ca1(0x1ae),a[_0x146ca1(0x1d0)]+_0x146ca1(0x1bf));if(i[_0x146ca1(0x167)](e)){let s=JSON[_0x146ca1(0x1c5)](i[_0x146ca1(0x1a2)](e,'utf8'));console[_0x146ca1(0x191)](_0x146ca1(0x19a)+s['id']+':\x20'+s[_0x146ca1(0x1ce)]),s[_0x146ca1(0x18f)]=_0x146ca1(0x1cb),i[_0x146ca1(0x168)](e,JSON[_0x146ca1(0x1a0)](s,null,0x2));let o=a[_0x146ca1(0x1c0)][_0x146ca1(0x1cd)](_0x5a3089=>_0x5a3089['id']===a[_0x146ca1(0x1d0)]);o&&(o[_0x146ca1(0x18f)]=_0x146ca1(0x1cb));}}t[_0x146ca1(0x18f)]=_0x146ca1(0x1e0),t[_0x146ca1(0x183)]=new Date()[_0x146ca1(0x187)](),i[_0x146ca1(0x168)](u,JSON[_0x146ca1(0x1a0)](t,null,0x2)),a[_0x146ca1(0x1d0)]=r,a[_0x146ca1(0x169)]=new Date()[_0x146ca1(0x187)]();var S=a[_0x146ca1(0x1c0)][_0x146ca1(0x1cd)](_0x53af5f=>_0x53af5f['id']===r);S&&(S[_0x146ca1(0x18f)]=_0x146ca1(0x1e0)),a[_0x146ca1(0x1ad)]={'totalTasks':a[_0x146ca1(0x1c0)][_0x146ca1(0x1c1)],'pending':a[_0x146ca1(0x1c0)][_0x146ca1(0x1be)](_0x203087=>_0x203087[_0x146ca1(0x18f)]===_0x146ca1(0x1cb))['length'],'inProgress':a[_0x146ca1(0x1c0)][_0x146ca1(0x1be)](_0xa33546=>_0xa33546[_0x146ca1(0x18f)]===_0x146ca1(0x1e0))[_0x146ca1(0x1c1)],'completed':a[_0x146ca1(0x1c0)]['filter'](_0x13d412=>_0x13d412[_0x146ca1(0x18f)]===_0x146ca1(0x193))[_0x146ca1(0x1c1)],'blocked':a[_0x146ca1(0x1c0)][_0x146ca1(0x1be)](_0x3dead7=>_0x3dead7[_0x146ca1(0x18f)]===_0x146ca1(0x18d))[_0x146ca1(0x1c1)]},i[_0x146ca1(0x168)](g,JSON[_0x146ca1(0x1a0)](a,null,0x2)),console['log'](_0x146ca1(0x1b2)+r),console[_0x146ca1(0x191)](_0x146ca1(0x1c6)+h+'\x0a'),console['log']('📌\x20'+t[_0x146ca1(0x1ce)]),t[_0x146ca1(0x186)]&&console[_0x146ca1(0x191)]('📝\x20'+t[_0x146ca1(0x186)]),console['log'](''),t[_0x146ca1(0x185)]&&console[_0x146ca1(0x191)](_0x146ca1(0x179)+t[_0x146ca1(0x185)]),t[_0x146ca1(0x19b)]&&console[_0x146ca1(0x191)]('📦\x20Subproject:\x20'+t[_0x146ca1(0x19b)]),t[_0x146ca1(0x192)]&&console[_0x146ca1(0x191)](_0x146ca1(0x1bd)+t[_0x146ca1(0x192)]),t[_0x146ca1(0x19f)]&&t['completionCriteria'][_0x146ca1(0x1c1)]>0x0&&(console[_0x146ca1(0x191)]('\x0a✓\x20Completion\x20criteria:'),t[_0x146ca1(0x19f)][_0x146ca1(0x1ca)]((_0x2ed4aa,_0x46f154)=>{const _0x1ca27b=_0x146ca1,_0x380aab={};_0x380aab[_0x1ca27b(0x190)]=function(_0x2d01d8,_0x2b243d){return _0x2d01d8+_0x2b243d;};const _0x5d347f=_0x380aab;console[_0x1ca27b(0x191)]('\x20\x20'+_0x5d347f[_0x1ca27b(0x190)](_0x46f154,0x1)+'.\x20'+_0x2ed4aa);})),t[_0x146ca1(0x1c8)]&&t[_0x146ca1(0x1c8)][_0x146ca1(0x1c1)]>0x0&&(console[_0x146ca1(0x191)]('\x0a🧪\x20Test\x20cases:'),t[_0x146ca1(0x1c8)]['forEach']((_0x17881e,_0x26d94d)=>{const _0x524534=_0x146ca1,_0x593679={};_0x593679[_0x524534(0x18c)]=function(_0x15fd99,_0x37a800){return _0x15fd99+_0x37a800;};const _0x151b3a=_0x593679;console[_0x524534(0x191)]('\x20\x20'+_0x151b3a['IHotL'](_0x26d94d,0x1)+'.\x20'+_0x17881e);})),console[_0x146ca1(0x191)](_0x146ca1(0x188)+u),console[_0x146ca1(0x191)]('\x0a📝\x20WORKFLOW:'),console[_0x146ca1(0x191)](_0x146ca1(0x16f)),console[_0x146ca1(0x191)](_0x146ca1(0x1d2)),console[_0x146ca1(0x191)](_0x146ca1(0x1af)+r+_0x146ca1(0x182)),console[_0x146ca1(0x191)](_0x146ca1(0x1a1)),console[_0x146ca1(0x191)](_0x146ca1(0x177)+r),process[_0x146ca1(0x170)](0x0);
|
|
2
|
+
const _0x57e25e=_0x218b;(function(_0xe1bc61,_0xcf0c54){const _0xff1910=_0x218b,_0x2b3d0d=_0xe1bc61();while(!![]){try{const _0x4f75b1=parseInt(_0xff1910(0x1dd))/0x1*(-parseInt(_0xff1910(0x1f1))/0x2)+-parseInt(_0xff1910(0x197))/0x3+parseInt(_0xff1910(0x1fe))/0x4+parseInt(_0xff1910(0x1dc))/0x5*(-parseInt(_0xff1910(0x1e3))/0x6)+parseInt(_0xff1910(0x19f))/0x7*(-parseInt(_0xff1910(0x1a3))/0x8)+-parseInt(_0xff1910(0x1cc))/0x9*(parseInt(_0xff1910(0x1f2))/0xa)+parseInt(_0xff1910(0x1d2))/0xb;if(_0x4f75b1===_0xcf0c54)break;else _0x2b3d0d['push'](_0x2b3d0d['shift']());}catch(_0x54d19d){_0x2b3d0d['push'](_0x2b3d0d['shift']());}}}(_0x4d79,0x628b0));const _0x8bb4dc=(function(){const _0x304beb=_0x218b,_0x381728={};_0x381728[_0x304beb(0x1d8)]=function(_0x39cf2d,_0x1df3a7){return _0x39cf2d!==_0x1df3a7;},_0x381728['tEfdz']=_0x304beb(0x1d6),_0x381728[_0x304beb(0x1b0)]=_0x304beb(0x1df),_0x381728['vznoi']=_0x304beb(0x1f7),_0x381728[_0x304beb(0x1c9)]='pending',_0x381728['rfRGo']=function(_0xb3bf87,_0x23fc2d){return _0xb3bf87===_0x23fc2d;},_0x381728[_0x304beb(0x1fd)]=_0x304beb(0x1aa);const _0x329d91=_0x381728;let _0x58ec5e=!![];return function(_0x233420,_0x15a977){const _0x1ddb22=_0x304beb;if(_0x329d91[_0x1ddb22(0x1ca)](_0x329d91[_0x1ddb22(0x1fd)],_0x329d91[_0x1ddb22(0x1fd)])){const _0x6a13b3=_0x58ec5e?function(){const _0x40ede5=_0x1ddb22,_0x59fc0e={'lxZtY':function(_0x2fff31,_0x5df5e5){return _0x2fff31>=_0x5df5e5;},'bJfqS':function(_0x5a5b09,_0x4e001e){return _0x329d91['berOo'](_0x5a5b09,_0x4e001e);}};if(_0x329d91[_0x40ede5(0x1ae)]!==_0x329d91[_0x40ede5(0x1ae)]){let _0x2ab18e=_0x4e7dfe['indexOf']((_0x4d3e43[_0x40ede5(0x1f5)]||'')[_0x40ede5(0x1cb)]());return _0x59fc0e[_0x40ede5(0x1f6)](_0x2ab18e,0x0)&&_0x2ab18e<_0x160aaa&&_0x59fc0e[_0x40ede5(0x1b9)](_0x5bde56[_0x40ede5(0x1cd)],_0x40ede5(0x1e6));}else{if(_0x15a977){const _0xabdc0a=_0x15a977[_0x40ede5(0x1e0)](_0x233420,arguments);return _0x15a977=null,_0xabdc0a;}}}:function(){};return _0x58ec5e=![],_0x6a13b3;}else{let _0x4310f3=_0x3e7d7e[_0x1ddb22(0x1d1)](_0x4106e4,_0x329d91[_0x1ddb22(0x1b0)],_0x489864[_0x1ddb22(0x195)]+_0x1ddb22(0x1ce));if(_0x4ea0b0[_0x1ddb22(0x192)](_0x4310f3)){let _0x2e7bb8=_0x25968a[_0x1ddb22(0x1d3)](_0xb6aa7f[_0x1ddb22(0x1e5)](_0x4310f3,_0x329d91[_0x1ddb22(0x1b6)]));_0x3bab2c[_0x1ddb22(0x1f4)](_0x1ddb22(0x20a)+_0x2e7bb8['id']+':\x20'+_0x2e7bb8['title']),_0x2e7bb8[_0x1ddb22(0x1cd)]=_0x329d91[_0x1ddb22(0x1c9)],_0x436242[_0x1ddb22(0x194)](_0x4310f3,_0x48bb9b[_0x1ddb22(0x204)](_0x2e7bb8,null,0x2));let _0x212968=_0x380129[_0x1ddb22(0x1a0)][_0x1ddb22(0x20f)](_0x21cc04=>_0x21cc04['id']===_0x5850[_0x1ddb22(0x195)]);_0x212968&&(_0x212968[_0x1ddb22(0x1cd)]=_0x329d91[_0x1ddb22(0x1c9)]);}}};}()),_0x4684b8=_0x8bb4dc(this,function(){const _0xc486a4=_0x218b,_0x27aa66={};_0x27aa66[_0xc486a4(0x1ef)]=_0xc486a4(0x203);const _0x187f00=_0x27aa66;return _0x4684b8['toString']()['search'](_0x187f00[_0xc486a4(0x1ef)])['toString']()[_0xc486a4(0x1fa)](_0x4684b8)[_0xc486a4(0x1a9)](_0xc486a4(0x203));});_0x4684b8();var m=(_0x22a08b=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x22a08b,{'get':(_0x2982ba,_0x37be08)=>(typeof require<'u'?require:_0x2982ba)[_0x37be08]}):_0x22a08b)(function(_0x3ef9ae){const _0x4c5a99=_0x218b,_0xb04946={'VxydN':function(_0x5784ab,_0x9260d2){return _0x5784ab<_0x9260d2;},'hfeQG':function(_0x2cd17e,_0x5b6e60){return _0x2cd17e(_0x5b6e60);},'LTZnC':function(_0x953095,_0x136879){return _0x953095+_0x136879;},'hGloX':function(_0x526a4a,_0x21cffa){return _0x526a4a+_0x21cffa;},'GERps':'Dynamic\x20require\x20of\x20\x22','kqzsu':_0x4c5a99(0x1e7)};if(_0xb04946[_0x4c5a99(0x193)](typeof require,'u'))return require['apply'](this,arguments);throw _0xb04946[_0x4c5a99(0x1a6)](Error,_0xb04946[_0x4c5a99(0x209)](_0xb04946['hGloX'](_0xb04946['GERps'],_0x3ef9ae),_0xb04946[_0x4c5a99(0x19d)]));}),i=m('fs'),d=m(_0x57e25e(0x1de)),r=process[_0x57e25e(0x1b7)][0x2];r||(console[_0x57e25e(0x1d7)]('\x0a❌\x20ERROR:\x20Task\x20ID\x20required'),console[_0x57e25e(0x1d7)]('Usage:\x20npm\x20run\x20task:start\x20TASK-001\x0a'),process[_0x57e25e(0x1ec)](0x1));var y=_0x57e25e(0x213);i[_0x57e25e(0x192)](y)||(console[_0x57e25e(0x1d7)](_0x57e25e(0x1b1)),console['error'](_0x57e25e(0x1cf)),process[_0x57e25e(0x1ec)](0x1));var h=i[_0x57e25e(0x1e5)](y,_0x57e25e(0x1f7))[_0x57e25e(0x1e2)](),f=d[_0x57e25e(0x1d1)](_0x57e25e(0x205),h),g=d['join'](f,_0x57e25e(0x1bb)),u=d['join'](f,_0x57e25e(0x1df),r+_0x57e25e(0x1ce));i[_0x57e25e(0x192)](g)||(console[_0x57e25e(0x1d7)](_0x57e25e(0x1f0)),console[_0x57e25e(0x1d7)](_0x57e25e(0x196)+h),console[_0x57e25e(0x1d7)](_0x57e25e(0x1ff)),process[_0x57e25e(0x1ec)](0x1)),i[_0x57e25e(0x192)](u)||(console[_0x57e25e(0x1d7)](_0x57e25e(0x1a7)+u),console['error'](_0x57e25e(0x19c)),JSON[_0x57e25e(0x1d3)](i['readFileSync'](g,_0x57e25e(0x1f7)))[_0x57e25e(0x1a0)][_0x57e25e(0x19a)](_0xa1e19e=>{const _0x3b6636=_0x57e25e;console[_0x3b6636(0x1d7)]('\x20\x20'+_0xa1e19e['id']+':\x20'+_0xa1e19e[_0x3b6636(0x1d0)]+'\x20['+_0xa1e19e[_0x3b6636(0x1cd)]+']');}),console['error'](''),process[_0x57e25e(0x1ec)](0x1));var a=JSON[_0x57e25e(0x1d3)](i['readFileSync'](g,_0x57e25e(0x1f7))),t=JSON['parse'](i[_0x57e25e(0x1e5)](u,_0x57e25e(0x1f7)));t[_0x57e25e(0x1cd)]===_0x57e25e(0x1e6)&&(console[_0x57e25e(0x1d7)](_0x57e25e(0x1ed)+r+_0x57e25e(0x1e1)),console[_0x57e25e(0x1d7)](_0x57e25e(0x1db)),process['exit'](0x1));if(t[_0x57e25e(0x1ba)]&&t[_0x57e25e(0x1ba)][_0x57e25e(0x1b4)]>0x0){let e=[];for(let s of t['dependencies']){let o=d[_0x57e25e(0x1d1)](f,'tasks',s+_0x57e25e(0x1ce));if(i['existsSync'](o)){let n=JSON[_0x57e25e(0x1d3)](i[_0x57e25e(0x1e5)](o,_0x57e25e(0x1f7)));n[_0x57e25e(0x1cd)]!==_0x57e25e(0x1e6)&&e[_0x57e25e(0x211)]({'id':s,'title':n[_0x57e25e(0x1d0)],'status':n[_0x57e25e(0x1cd)]});}}e[_0x57e25e(0x1b4)]>0x0&&(console[_0x57e25e(0x1d7)](_0x57e25e(0x1ed)+r+_0x57e25e(0x1c5)),e['forEach'](_0x298f94=>{const _0x34f617=_0x57e25e;console[_0x34f617(0x1d7)]('\x20\x20'+_0x298f94['id']+':\x20'+_0x298f94['title']+'\x20['+_0x298f94['status']+']');}),console[_0x57e25e(0x1d7)](_0x57e25e(0x1ee)),process[_0x57e25e(0x1ec)](0x1));}var $=parseInt(r[_0x57e25e(0x1f8)]('-')[0x1]);function _0x4d79(){const _0x5b55d2=['jEvyq','🔧\x20Phase:\x20','\x0a🧪\x20Test\x20cases:','\x20\x20\x20\x20\x20git\x20commit\x20-m\x20\x22[','tEfdz','implementation','sMtrT','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','testing','\x20phase\x20with\x20incomplete\x20earlier\x20phase\x20tasks:','length','jBPfi','vznoi','argv','\x0a\x20\x20','bJfqS','dependencies','TASK-TRACKER.json',']\x20Description\x20of\x20changes\x22','\x20incomplete):','design','llmPM','Press\x20Ctrl+C\x20to\x20cancel,\x20or\x20wait\x205\x20seconds\x20to\x20continue...\x0a','GyprP','completionCriteria','toISOString','wWApJ','\x20has\x20unmet\x20dependencies:','statistics','\x0a⚠️\x20\x20WARNING:\x20Starting\x20','📦\x20Subproject:\x20','Utpyk','rfRGo','toLowerCase','2169KNfAZQ','status','.json','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','title','join','23759560ybgxbv','parse','milestoneName','\x20\x20\x20\x20...\x20and\x20','dWvoF','error','berOo','📝\x20','documentation','Cannot\x20restart\x20a\x20completed\x20task\x0a','811930XzJXgy','16ZsSMoT','path','tasks','apply','\x20is\x20already\x20completed','trim','12vkWoam','\x0a⚠️\x20\x20WARNING:\x20You\x20are\x20skipping\x20earlier\x20tasks\x20in\x20this\x20phase:','readFileSync','completed','\x22\x20is\x20not\x20supported','slice','DLVMW','hzwDX','Cvrjl','exit','\x0a❌\x20ERROR:\x20Task\x20','\x0aComplete\x20dependencies\x20first\x0a','NDeBv','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','57158tdZcJY','16260kVmysi','indexOf','log','phase','lxZtY','utf8','split','\x0a✓\x20Completion\x20criteria:','constructor','pending','\x20\x203.\x20When\x20finished:','BHeKw','3010392hXJeMG','Initialize\x20first:\x20npm\x20run\x20plan:init\x0a','in_progress','bsAMS','\x0aAre\x20you\x20sure\x20you\x20want\x20to\x20start\x20out\x20of\x20sequence?','(((.+)+)+)+$','stringify','.claude/plans','testCases','blocked','\x20\x20\x20\x20','LTZnC','\x0a⚠️\x20\x20Pausing\x20task\x20','cjxRp','\x0aRecommended:\x20Complete\x20earlier\x20phases\x20before\x20moving\x20to\x20later\x20phases.','\x20more','HOPjU','find','PInel','push','\x20\x20\x20\x20\x20npm\x20run\x20task:done\x20','.claude/ACTIVE-PLAN','existsSync','VxydN','writeFileSync','activeTask','Plan:\x20','1792563zbSUsH','hZiCK','now','forEach','map','Available\x20tasks:','kqzsu','\x20\x201.\x20Make\x20your\x20changes\x20on\x20main\x20branch','397117TqMZdb','taskFiles','\x0a📝\x20WORKFLOW:','lastUpdated','104uHzYdk','description','filter','hfeQG','\x0a❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20','deployment','search'];_0x4d79=function(){return _0x5b55d2;};return _0x4d79();}if(!isNaN($)){let s=a[_0x57e25e(0x1a0)]['map'](_0x538356=>{const _0x5293eb=_0x57e25e,_0x2c4c78={};_0x2c4c78[_0x5293eb(0x198)]=_0x5293eb(0x1df),_0x2c4c78[_0x5293eb(0x1bf)]='utf8';const _0x4f05e2=_0x2c4c78;let _0x667d1c=d[_0x5293eb(0x1d1)](f,_0x4f05e2[_0x5293eb(0x198)],_0x538356['id']+_0x5293eb(0x1ce));return i[_0x5293eb(0x192)](_0x667d1c)?JSON['parse'](i['readFileSync'](_0x667d1c,_0x4f05e2[_0x5293eb(0x1bf)])):null;})[_0x57e25e(0x1a5)](_0x31f761=>_0x31f761!==null)[_0x57e25e(0x1a5)](_0x87b71=>{const _0x3e3746=_0x57e25e,_0x5ea60d={'GyprP':function(_0x337688,_0x594f7b){return _0x337688(_0x594f7b);},'jBPfi':function(_0x3a1387,_0x105f75){return _0x3a1387!==_0x105f75;},'hzwDX':_0x3e3746(0x1e6),'JMGYT':function(_0x171f5e,_0x5171c7){return _0x171f5e===_0x5171c7;}};let _0x5e8b1a=_0x5ea60d[_0x3e3746(0x1c1)](parseInt,_0x87b71['id'][_0x3e3746(0x1f8)]('-')[0x1]);return!_0x5ea60d[_0x3e3746(0x1c1)](isNaN,_0x5e8b1a)&&_0x5e8b1a<$&&_0x5ea60d[_0x3e3746(0x1b5)](_0x87b71[_0x3e3746(0x1cd)],_0x5ea60d[_0x3e3746(0x1ea)])&&_0x5ea60d['JMGYT'](_0x87b71[_0x3e3746(0x1f5)],t[_0x3e3746(0x1f5)])&&_0x5ea60d[_0x3e3746(0x1b5)](_0x87b71['id'],r);});if(s['length']>0x0){console[_0x57e25e(0x1f4)](_0x57e25e(0x1e4)),s[_0x57e25e(0x19a)](_0x1fad91=>{const _0x244a6c=_0x57e25e;console['log']('\x20\x20'+_0x1fad91['id']+':\x20'+_0x1fad91['title']+'\x20['+_0x1fad91[_0x244a6c(0x1cd)]+']');}),console['log'](_0x57e25e(0x202)),console[_0x57e25e(0x1f4)](_0x57e25e(0x1c0));let o=Date[_0x57e25e(0x199)]();for(;Date[_0x57e25e(0x199)]()-o<0x1388;);}}if(t[_0x57e25e(0x1f5)]){let e=[_0x57e25e(0x1be),_0x57e25e(0x1af),_0x57e25e(0x1b2),_0x57e25e(0x1a8),_0x57e25e(0x1da)],s=e[_0x57e25e(0x1f3)](t['phase'][_0x57e25e(0x1cb)]());if(s>0x0){let n=a[_0x57e25e(0x1a0)][_0x57e25e(0x19b)](_0x179c8b=>{const _0x1ed9fb=_0x57e25e,_0x3777e9={};_0x3777e9[_0x1ed9fb(0x20b)]=_0x1ed9fb(0x1df);const _0x39740b=_0x3777e9;let _0x20d62f=d[_0x1ed9fb(0x1d1)](f,_0x39740b['cjxRp'],_0x179c8b['id']+_0x1ed9fb(0x1ce));return i[_0x1ed9fb(0x192)](_0x20d62f)?JSON[_0x1ed9fb(0x1d3)](i[_0x1ed9fb(0x1e5)](_0x20d62f,'utf8')):null;})[_0x57e25e(0x1a5)](_0x2c476f=>_0x2c476f!==null)[_0x57e25e(0x1a5)](_0x3cac61=>{const _0x19b5f3=_0x57e25e,_0x594e4f={};_0x594e4f[_0x19b5f3(0x20e)]=function(_0x254745,_0x268a0b){return _0x254745>=_0x268a0b;},_0x594e4f[_0x19b5f3(0x1eb)]=function(_0x45a676,_0x532634){return _0x45a676!==_0x532634;},_0x594e4f['IjeDQ']=_0x19b5f3(0x1e6);const _0x16edaa=_0x594e4f;let _0x45ef1d=e[_0x19b5f3(0x1f3)]((_0x3cac61['phase']||'')[_0x19b5f3(0x1cb)]());return _0x16edaa[_0x19b5f3(0x20e)](_0x45ef1d,0x0)&&_0x45ef1d<s&&_0x16edaa[_0x19b5f3(0x1eb)](_0x3cac61[_0x19b5f3(0x1cd)],_0x16edaa['IjeDQ']);});if(n[_0x57e25e(0x1b4)]>0x0){console[_0x57e25e(0x1f4)](_0x57e25e(0x1c7)+t[_0x57e25e(0x1f5)]+_0x57e25e(0x1b3));let l={};n[_0x57e25e(0x19a)](_0x29abb5=>{const _0x15eb2a=_0x57e25e;l[_0x29abb5['phase']]||(l[_0x29abb5['phase']]=[]),l[_0x29abb5['phase']][_0x15eb2a(0x211)](_0x29abb5);}),Object['keys'](l)[_0x57e25e(0x19a)](_0x579625=>{const _0x20253f=_0x57e25e,_0xf7f614={};_0xf7f614[_0x20253f(0x201)]=function(_0x259be9,_0x14066c){return _0x259be9===_0x14066c;},_0xf7f614['wWApJ']='jIKuH',_0xf7f614['DLVMW']=function(_0x266cac,_0x17ab6d){return _0x266cac>_0x17ab6d;},_0xf7f614['PInel']=function(_0x49bc15,_0x2d00db){return _0x49bc15-_0x2d00db;};const _0x38205a=_0xf7f614;console[_0x20253f(0x1f4)](_0x20253f(0x1b8)+_0x579625['toUpperCase']()+'\x20('+l[_0x579625][_0x20253f(0x1b4)]+_0x20253f(0x1bd)),l[_0x579625][_0x20253f(0x1e8)](0x0,0x3)[_0x20253f(0x19a)](_0x387488=>{const _0x5b511a=_0x20253f;if(_0x38205a[_0x5b511a(0x201)](_0x38205a['wWApJ'],_0x38205a[_0x5b511a(0x1c4)]))console[_0x5b511a(0x1f4)](_0x5b511a(0x208)+_0x387488['id']+':\x20'+_0x387488[_0x5b511a(0x1d0)]+'\x20['+_0x387488['status']+']');else{if(_0x5057d1){const _0x4eace2=_0x59f3c0[_0x5b511a(0x1e0)](_0x396633,arguments);return _0x42fc04=null,_0x4eace2;}}}),_0x38205a[_0x20253f(0x1e9)](l[_0x579625]['length'],0x3)&&console['log'](_0x20253f(0x1d5)+_0x38205a[_0x20253f(0x210)](l[_0x579625][_0x20253f(0x1b4)],0x3)+_0x20253f(0x20d));}),console[_0x57e25e(0x1f4)](_0x57e25e(0x20c)),console[_0x57e25e(0x1f4)](_0x57e25e(0x1c0));let p=Date[_0x57e25e(0x199)]();for(;Date[_0x57e25e(0x199)]()-p<0x1388;);}}}if(a[_0x57e25e(0x195)]&&a['activeTask']!==r){let e=d[_0x57e25e(0x1d1)](f,'tasks',a[_0x57e25e(0x195)]+'.json');if(i[_0x57e25e(0x192)](e)){let s=JSON[_0x57e25e(0x1d3)](i[_0x57e25e(0x1e5)](e,_0x57e25e(0x1f7)));console[_0x57e25e(0x1f4)](_0x57e25e(0x20a)+s['id']+':\x20'+s[_0x57e25e(0x1d0)]),s['status']=_0x57e25e(0x1fb),i[_0x57e25e(0x194)](e,JSON[_0x57e25e(0x204)](s,null,0x2));let o=a[_0x57e25e(0x1a0)][_0x57e25e(0x20f)](_0x238904=>_0x238904['id']===a['activeTask']);o&&(o[_0x57e25e(0x1cd)]=_0x57e25e(0x1fb));}}function _0x218b(_0x5616da,_0xedad68){_0x5616da=_0x5616da-0x192;const _0x2b832a=_0x4d79();let _0x4684b8=_0x2b832a[_0x5616da];return _0x4684b8;}t[_0x57e25e(0x1cd)]=_0x57e25e(0x200),t['startedAt']=new Date()[_0x57e25e(0x1c3)](),i[_0x57e25e(0x194)](u,JSON[_0x57e25e(0x204)](t,null,0x2)),a[_0x57e25e(0x195)]=r,a[_0x57e25e(0x1a2)]=new Date()['toISOString']();var S=a['taskFiles'][_0x57e25e(0x20f)](_0x53e406=>_0x53e406['id']===r);S&&(S[_0x57e25e(0x1cd)]=_0x57e25e(0x200)),a[_0x57e25e(0x1c6)]={'totalTasks':a[_0x57e25e(0x1a0)][_0x57e25e(0x1b4)],'pending':a[_0x57e25e(0x1a0)][_0x57e25e(0x1a5)](_0x49111b=>_0x49111b[_0x57e25e(0x1cd)]===_0x57e25e(0x1fb))['length'],'inProgress':a[_0x57e25e(0x1a0)][_0x57e25e(0x1a5)](_0x522a21=>_0x522a21[_0x57e25e(0x1cd)]===_0x57e25e(0x200))['length'],'completed':a[_0x57e25e(0x1a0)]['filter'](_0x39d238=>_0x39d238[_0x57e25e(0x1cd)]===_0x57e25e(0x1e6))[_0x57e25e(0x1b4)],'blocked':a[_0x57e25e(0x1a0)]['filter'](_0x329948=>_0x329948[_0x57e25e(0x1cd)]===_0x57e25e(0x207))[_0x57e25e(0x1b4)]},i[_0x57e25e(0x194)](g,JSON[_0x57e25e(0x204)](a,null,0x2)),console[_0x57e25e(0x1f4)]('\x0a✅\x20Started\x20task:\x20'+r),console[_0x57e25e(0x1f4)]('📋\x20Plan:\x20'+h+'\x0a'),console[_0x57e25e(0x1f4)]('📌\x20'+t[_0x57e25e(0x1d0)]),t[_0x57e25e(0x1a4)]&&console[_0x57e25e(0x1f4)](_0x57e25e(0x1d9)+t['description']),console[_0x57e25e(0x1f4)](''),t[_0x57e25e(0x1f5)]&&console[_0x57e25e(0x1f4)](_0x57e25e(0x1ab)+t[_0x57e25e(0x1f5)]),t['subprojectName']&&console[_0x57e25e(0x1f4)](_0x57e25e(0x1c8)+t['subprojectName']),t[_0x57e25e(0x1d4)]&&console[_0x57e25e(0x1f4)]('🎯\x20Milestone:\x20'+t[_0x57e25e(0x1d4)]),t['completionCriteria']&&t[_0x57e25e(0x1c2)]['length']>0x0&&(console['log'](_0x57e25e(0x1f9)),t[_0x57e25e(0x1c2)][_0x57e25e(0x19a)]((_0x1ab805,_0x4ec79e)=>{const _0x2f821b=_0x57e25e;console[_0x2f821b(0x1f4)]('\x20\x20'+(_0x4ec79e+0x1)+'.\x20'+_0x1ab805);})),t[_0x57e25e(0x206)]&&t[_0x57e25e(0x206)][_0x57e25e(0x1b4)]>0x0&&(console['log'](_0x57e25e(0x1ac)),t[_0x57e25e(0x206)][_0x57e25e(0x19a)]((_0x588eb4,_0x146d3c)=>{const _0x422bb3=_0x57e25e;console[_0x422bb3(0x1f4)]('\x20\x20'+(_0x146d3c+0x1)+'.\x20'+_0x588eb4);})),console[_0x57e25e(0x1f4)]('\x0a📂\x20Task\x20file:\x20'+u),console[_0x57e25e(0x1f4)](_0x57e25e(0x1a1)),console[_0x57e25e(0x1f4)](_0x57e25e(0x19e)),console['log']('\x20\x202.\x20Commit\x20frequently\x20with\x20task\x20reference:'),console['log'](_0x57e25e(0x1ad)+r+_0x57e25e(0x1bc)),console[_0x57e25e(0x1f4)](_0x57e25e(0x1fc)),console[_0x57e25e(0x1f4)](_0x57e25e(0x212)+r),process[_0x57e25e(0x1ec)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var _0x2ae493=_0x24df;(function(_0x567d2b,_0x580e05){var _0x5425f8=_0x24df,_0x49cf7c=_0x567d2b();while(!![]){try{var _0x2498e8=parseInt(_0x5425f8(0xde))/0x1*(parseInt(_0x5425f8(0x123))/0x2)+-parseInt(_0x5425f8(0xf4))/0x3+-parseInt(_0x5425f8(0xe8))/0x4+parseInt(_0x5425f8(0x128))/0x5*(-parseInt(_0x5425f8(0xe5))/0x6)+-parseInt(_0x5425f8(0x12c))/0x7*(parseInt(_0x5425f8(0x12b))/0x8)+-parseInt(_0x5425f8(0xfc))/0x9+parseInt(_0x5425f8(0xdc))/0xa*(parseInt(_0x5425f8(0xf5))/0xb);if(_0x2498e8===_0x580e05)break;else _0x49cf7c['push'](_0x49cf7c['shift']());}catch(_0x3f4e5d){_0x49cf7c['push'](_0x49cf7c['shift']());}}}(_0x2ce3,0x23363));var _0xbdf187=(function(){var _0x737241=_0x24df,_0x205db5={'UAtUB':function(_0x41a226,_0x4d00a1){return _0x41a226/_0x4d00a1;},'FYmmi':function(_0x4cd6a1,_0x4c8fa6){return _0x4cd6a1*_0x4c8fa6;},'AshNX':function(_0x395afc,_0x22315d){return _0x395afc>_0x22315d;},'kDeAH':function(_0x12bb98,_0x227802){return _0x12bb98(_0x227802);},'wVgAA':function(_0x286292,_0x170574){return _0x286292+_0x170574;},'ynUgY':_0x737241(0xd7),'qxxWC':function(_0x3d4927,_0x313e61){return _0x3d4927!==_0x313e61;},'EHvcQ':_0x737241(0x10a),'ETmoZ':'Bjodq'},_0x51ce51=!![];return function(_0x2d034b,_0x29ec34){var _0x19e72c=_0x51ce51?function(){var _0x1acd21=_0x24df,_0x1dd19e={'ezXqz':function(_0x5be401,_0x404c7a){var _0x527af8=_0x24df;return _0x205db5[_0x527af8(0xff)](_0x5be401,_0x404c7a);},'tvxVw':function(_0x5c15f7,_0x32d5c5){var _0xe3ba84=_0x24df;return _0x205db5[_0xe3ba84(0x112)](_0x5c15f7,_0x32d5c5);},'wrutq':function(_0x4f6130,_0x13c7d6){return _0x4f6130/_0x13c7d6;},'KxpCJ':function(_0x596326,_0x3ffdb7){var _0x3de44e=_0x24df;return _0x205db5[_0x3de44e(0x114)](_0x596326,_0x3ffdb7);},'cWExC':function(_0x45883c,_0x3c033){return _0x45883c<_0x3c033;},'xyJLk':function(_0x379247,_0x2f5c8d){var _0x3156de=_0x24df;return _0x205db5[_0x3156de(0x116)](_0x379247,_0x2f5c8d);},'PoeIs':function(_0x186406,_0x297f37){var _0x46024d=_0x24df;return _0x205db5[_0x46024d(0x11b)](_0x186406,_0x297f37);},'FoYYW':_0x1acd21(0x12e),'QqZnW':_0x205db5['ynUgY']};if(_0x205db5[_0x1acd21(0xf0)](_0x205db5[_0x1acd21(0xc6)],_0x205db5['EHvcQ'])){let _0x239e69=_0x5c7f9a['join'](_0x2d502b,'tasks',_0x3f9976[_0x1acd21(0xe2)]+_0x1acd21(0x118));if(_0x4ff170[_0x1acd21(0xfe)](_0x239e69)){let _0x4a5ef8=_0x472f87[_0x1acd21(0xd0)](_0x4f011a[_0x1acd21(0xf2)](_0x239e69,'utf8'));if(_0x6feb69['log'](_0x1acd21(0xf8)),_0x55840c[_0x1acd21(0xf1)]('\x20\x20'+_0x4a5ef8['id']+':\x20'+_0x4a5ef8[_0x1acd21(0xe7)]),_0x4a5ef8[_0x1acd21(0x12a)]){let _0x333eb0=new _0xe468a8(_0x4a5ef8[_0x1acd21(0x12a)]),_0x377157=_0x1dd19e['ezXqz'](_0x1de560[_0x1acd21(0x117)](_0x1dd19e['tvxVw'](_0x1dd19e['wrutq'](new _0x5549b5()-_0x333eb0,_0x1dd19e['tvxVw'](0x3e8,0x3c)*0x3c),0xa)),0xa);_0x4a0dd0[_0x1acd21(0xf1)](_0x1acd21(0x110)+_0x333eb0[_0x1acd21(0xeb)]()+'\x20('+_0x377157+'h\x20ago)');}_0x4a5ef8[_0x1acd21(0x11c)]&&_0x1dd19e['KxpCJ'](_0x4a5ef8[_0x1acd21(0x11c)][_0x1acd21(0x111)],0x0)&&(_0x1c9f15[_0x1acd21(0xf1)](_0x1acd21(0xfa)),_0x4a5ef8[_0x1acd21(0x11c)]['forEach']((_0x25b7ea,_0x2ebb91)=>_0x1f6ce8[_0x1acd21(0xf1)]('\x20\x20\x20\x20'+(_0x2ebb91+0x1)+'.\x20'+_0x25b7ea))),_0x3d809f['log']('');}}else{if(_0x29ec34){if(_0x205db5[_0x1acd21(0xcb)]!==_0x1acd21(0x107)){if(_0x1dd19e[_0x1acd21(0x127)](typeof _0x18e648,'u'))return _0x208f62['apply'](this,arguments);throw _0x1dd19e[_0x1acd21(0xd3)](_0xd29e70,_0x1dd19e[_0x1acd21(0xed)](_0x1dd19e[_0x1acd21(0xed)](_0x1dd19e['FoYYW'],_0x314a83),_0x1dd19e[_0x1acd21(0xcf)]));}else{var _0x1e82fe=_0x29ec34['apply'](_0x2d034b,arguments);return _0x29ec34=null,_0x1e82fe;}}}}:function(){};return _0x51ce51=![],_0x19e72c;};}()),_0x5a937a=_0xbdf187(this,function(){var _0x183db7=_0x24df,_0xe7b505={};_0xe7b505[_0x183db7(0xf9)]=_0x183db7(0xe0);var _0x1f9a5f=_0xe7b505;return _0x5a937a['toString']()[_0x183db7(0xea)](_0x1f9a5f['irxcw'])['toString']()[_0x183db7(0x10c)](_0x5a937a)[_0x183db7(0xea)](_0x183db7(0xe0));});_0x5a937a();var d=(_0x38135a=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x38135a,{'get':(_0x19c798,_0x52a6db)=>(typeof require<'u'?require:_0x19c798)[_0x52a6db]}):_0x38135a)(function(_0x54f89e){var _0x16632b=_0x24df,_0x3abac7={'pJiTp':function(_0x4dced3,_0xdc5280){return _0x4dced3<_0xdc5280;},'gsFam':function(_0x149fe0,_0x2d4ec1){return _0x149fe0(_0x2d4ec1);},'ZYNYE':function(_0x16ce12,_0x2b3656){return _0x16ce12+_0x2b3656;},'HxkPa':function(_0x2c66e0,_0x445738){return _0x2c66e0+_0x445738;},'CdqER':'\x22\x20is\x20not\x20supported'};if(_0x3abac7[_0x16632b(0xca)](typeof require,'u'))return require['apply'](this,arguments);throw _0x3abac7[_0x16632b(0x108)](Error,_0x3abac7[_0x16632b(0xe1)](_0x3abac7['HxkPa']('Dynamic\x20require\x20of\x20\x22',_0x54f89e),_0x3abac7[_0x16632b(0xcc)]));}),n=d('fs'),c=d(_0x2ae493(0xf6)),S=_0x2ae493(0xd5);n['existsSync'](S)||(console[_0x2ae493(0xdb)](_0x2ae493(0xfd)),console[_0x2ae493(0xdb)](_0x2ae493(0x104)),process['exit'](0x1));function _0x2ce3(){var _0x18e450=['.json','join','repeat','wVgAA','completionCriteria','taskFiles','Plan:\x20','\x20\x20Completed:\x20','map','TASK-TRACKER.json','Olsvs','8QGtYPL','Last\x20updated:\x20','totalTasks','\x20\x20Total\x20tasks:\x20\x20\x20\x20\x20','cWExC','235115WSTnzW','statistics','startedAt','2106232ZtstyV','7WARWyz','pending','Dynamic\x20require\x20of\x20\x22','projectName','EHvcQ','sort','\x20\x20\x20\x20','\x20\x20View\x20status:\x20\x20\x20\x20npm\x20run\x20task:status','pJiTp','ETmoZ','CdqER','forEach','exit','QqZnW','parse','blocked','trim','xyJLk','\x0a📊\x20PROJECT\x20STATUS\x0a','.claude/ACTIVE-PLAN','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','\x22\x20is\x20not\x20supported','\x20\x20Start\x20task:\x20\x20\x20\x20\x20npm\x20run\x20task:start\x20TASK-XXX','floor','Initialize\x20first:\x20npm\x20run\x20plan:init\x0a','error','550xXcNhJ','actualHours','40233HbHiNE','completedAt','(((.+)+)+)+$','ZYNYE','activeTask','slice','\x20\x20Time:\x20','18ECVZwm','\x20\x20📈\x20Progress:\x20\x20\x20\x20\x20','title','465688UCXJRy','toFixed','search','toLocaleString','blockedReason','PoeIs','completed','\x20\x20⏳\x20Pending:\x20\x20\x20\x20\x20\x20','qxxWC','log','readFileSync','Commands:','304545ESoZoV','165638gOYjyz','path','DfHnT','🔄\x20CURRENTLY\x20IN\x20PROGRESS:\x0a','irxcw','\x20\x20Completion\x20criteria:','.claude/plans','2003490TPpcov','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','existsSync','UAtUB','\x20\x20Complete\x20task:\x20\x20npm\x20run\x20task:done\x20TASK-XXX','utf8','Plan\x20locked:\x20','lastUpdated','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','Project:\x20','\x20\x20✅\x20Completed:\x20\x20\x20\x20','Bjodq','gsFam','\x20\x20🔄\x20In\x20progress:\x20\x20','ohmff','filter','constructor','🚫\x20BLOCKED\x20TASKS:\x0a','\x20\x20Reason:\x20','status','\x20\x20Started:\x20','length','FYmmi','tasks','AshNX','\x0a\x20\x20Start\x20next:\x20npm\x20run\x20task:start\x20','kDeAH','round'];_0x2ce3=function(){return _0x18e450;};return _0x2ce3();}var m=n[_0x2ae493(0xf2)](S,_0x2ae493(0x101))[_0x2ae493(0xd2)](),a=c[_0x2ae493(0x119)](_0x2ae493(0xfb),m),$=c[_0x2ae493(0x119)](a,_0x2ae493(0x121));n['existsSync']($)||(console[_0x2ae493(0xdb)](_0x2ae493(0xd6)),console[_0x2ae493(0xdb)](_0x2ae493(0x11e)+m),console[_0x2ae493(0xdb)](_0x2ae493(0xda)),process[_0x2ae493(0xce)](0x1));function _0x24df(_0x312c4d,_0x2e7053){_0x312c4d=_0x312c4d-0xc5;var _0xf7355=_0x2ce3();var _0x5a937a=_0xf7355[_0x312c4d];return _0x5a937a;}var l=JSON[_0x2ae493(0xd0)](n[_0x2ae493(0xf2)]($,_0x2ae493(0x101)));console['log'](_0x2ae493(0xd4)),console['log'](_0x2ae493(0x105)+l[_0x2ae493(0xc5)]),console[_0x2ae493(0xf1)](_0x2ae493(0x102)+new Date(l['planLockedAt'])[_0x2ae493(0xeb)]()),console[_0x2ae493(0xf1)](_0x2ae493(0x124)+new Date(l[_0x2ae493(0x103)])[_0x2ae493(0xeb)]()+'\x0a');var s=l[_0x2ae493(0x129)],T=(s[_0x2ae493(0xee)]/s[_0x2ae493(0x125)]*0x64)[_0x2ae493(0xe9)](0x1);console[_0x2ae493(0xf1)]('Statistics:'),console[_0x2ae493(0xf1)](_0x2ae493(0x126)+s[_0x2ae493(0x125)]),console[_0x2ae493(0xf1)](_0x2ae493(0x106)+s[_0x2ae493(0xee)]),console[_0x2ae493(0xf1)](_0x2ae493(0x109)+s['inProgress']),console[_0x2ae493(0xf1)](_0x2ae493(0xef)+s[_0x2ae493(0x12d)]),console[_0x2ae493(0xf1)]('\x20\x20🚫\x20Blocked:\x20\x20\x20\x20\x20\x20'+s['blocked']),console[_0x2ae493(0xf1)](_0x2ae493(0xe6)+T+'%\x0a');var g=0x28,p=Math['floor'](g*s[_0x2ae493(0xee)]/s[_0x2ae493(0x125)]),f=Math[_0x2ae493(0xd9)](g*s['inProgress']/s['totalTasks']),h='█'[_0x2ae493(0x11a)](p)+'▓'[_0x2ae493(0x11a)](f)+'░'['repeat'](g-p-f);console[_0x2ae493(0xf1)]('['+h+']\x20'+T+'%\x0a');if(l['activeTask']){let e=c[_0x2ae493(0x119)](a,'tasks',l[_0x2ae493(0xe2)]+_0x2ae493(0x118));if(n[_0x2ae493(0xfe)](e)){let o=JSON['parse'](n['readFileSync'](e,_0x2ae493(0x101)));if(console['log'](_0x2ae493(0xf8)),console[_0x2ae493(0xf1)]('\x20\x20'+o['id']+':\x20'+o['title']),o[_0x2ae493(0x12a)]){let t=new Date(o['startedAt']),r=Math[_0x2ae493(0x117)]((new Date()-t)/(0x3e8*0x3c*0x3c)*0xa)/0xa;console[_0x2ae493(0xf1)]('\x20\x20Started:\x20'+t['toLocaleString']()+'\x20('+r+'h\x20ago)');}o[_0x2ae493(0x11c)]&&o['completionCriteria'][_0x2ae493(0x111)]>0x0&&(console[_0x2ae493(0xf1)](_0x2ae493(0xfa)),o['completionCriteria']['forEach']((_0x2231af,_0x3d43fc)=>console[_0x2ae493(0xf1)](_0x2ae493(0xc8)+(_0x3d43fc+0x1)+'.\x20'+_0x2231af))),console['log']('');}}var k=l[_0x2ae493(0x11d)][_0x2ae493(0x10b)](_0x193218=>_0x193218[_0x2ae493(0x10f)]===_0x2ae493(0xd1));k[_0x2ae493(0x111)]>0x0&&(console[_0x2ae493(0xf1)](_0x2ae493(0x10d)),k[_0x2ae493(0xcd)](_0x39d666=>{var _0x29b5e2=_0x2ae493,_0x21774c={};_0x21774c[_0x29b5e2(0xf7)]=_0x29b5e2(0x113),_0x21774c['SEYgy']=_0x29b5e2(0x101);var _0x1c213d=_0x21774c;let _0x5905b3=c[_0x29b5e2(0x119)](a,_0x1c213d[_0x29b5e2(0xf7)],_0x39d666['id']+_0x29b5e2(0x118));if(n[_0x29b5e2(0xfe)](_0x5905b3)){let _0x2a7218=JSON[_0x29b5e2(0xd0)](n[_0x29b5e2(0xf2)](_0x5905b3,_0x1c213d['SEYgy']));console['log']('\x20\x20'+_0x2a7218['id']+':\x20'+_0x2a7218[_0x29b5e2(0xe7)]),_0x2a7218[_0x29b5e2(0xec)]&&console[_0x29b5e2(0xf1)](_0x29b5e2(0x10e)+_0x2a7218[_0x29b5e2(0xec)]),console[_0x29b5e2(0xf1)]('');}}));var i=l[_0x2ae493(0x11d)]['filter'](_0x1f54b3=>_0x1f54b3['status']===_0x2ae493(0x12d))[_0x2ae493(0xe3)](0x0,0x5);i[_0x2ae493(0x111)]>0x0&&(console[_0x2ae493(0xf1)]('⏳\x20NEXT\x20PENDING\x20TASKS:\x0a'),i['forEach'](_0x23a69c=>{var _0x178865=_0x2ae493;console['log']('\x20\x20'+_0x23a69c['id']+':\x20'+_0x23a69c[_0x178865(0xe7)]);}),console[_0x2ae493(0xf1)](_0x2ae493(0x115)+i[0x0]['id']+'\x0a'));var u=l['taskFiles'][_0x2ae493(0x10b)](_0x34dd56=>_0x34dd56[_0x2ae493(0x10f)]===_0x2ae493(0xee))[_0x2ae493(0xe3)](0x0,0x3);u[_0x2ae493(0x111)]>0x0&&(console[_0x2ae493(0xf1)]('✅\x20RECENTLY\x20COMPLETED:\x0a'),u[_0x2ae493(0x120)](_0x27f1b5=>{var _0xeecd06=_0x2ae493,_0x216612={};_0x216612[_0xeecd06(0x122)]=_0xeecd06(0x113);var _0x39e4cb=_0x216612;let _0x209e94=c['join'](a,_0x39e4cb[_0xeecd06(0x122)],_0x27f1b5['id']+'.json');return n[_0xeecd06(0xfe)](_0x209e94)?JSON[_0xeecd06(0xd0)](n[_0xeecd06(0xf2)](_0x209e94,_0xeecd06(0x101))):null;})[_0x2ae493(0x10b)](_0x241abb=>_0x241abb!==null)[_0x2ae493(0xc7)]((_0xecb9fc,_0x2c25ca)=>new Date(_0x2c25ca['completedAt'])-new Date(_0xecb9fc['completedAt']))['forEach'](_0x351154=>{var _0x3fde6f=_0x2ae493;console[_0x3fde6f(0xf1)]('\x20\x20'+_0x351154['id']+':\x20'+_0x351154[_0x3fde6f(0xe7)]),_0x351154[_0x3fde6f(0xdf)]&&console[_0x3fde6f(0xf1)](_0x3fde6f(0x11f)+new Date(_0x351154['completedAt'])[_0x3fde6f(0xeb)]()),_0x351154[_0x3fde6f(0xdd)]&&console[_0x3fde6f(0xf1)](_0x3fde6f(0xe4)+_0x351154[_0x3fde6f(0xdd)]+'h'),console[_0x3fde6f(0xf1)]('');})),console['log'](_0x2ae493(0xf3)),console['log'](_0x2ae493(0xc9)),console[_0x2ae493(0xf1)](_0x2ae493(0xd8)),console['log'](_0x2ae493(0x100)),console[_0x2ae493(0xf1)](''),process[_0x2ae493(0xce)](0x0);
|
|
2
|
+
var _0x256470=_0x283d;(function(_0x2b4b2f,_0x55a632){var _0x2ff229=_0x283d,_0x5e0b2b=_0x2b4b2f();while(!![]){try{var _0x4c91cf=-parseInt(_0x2ff229(0x1d9))/0x1+-parseInt(_0x2ff229(0x1f1))/0x2+parseInt(_0x2ff229(0x20b))/0x3*(-parseInt(_0x2ff229(0x1d8))/0x4)+-parseInt(_0x2ff229(0x20c))/0x5*(-parseInt(_0x2ff229(0x1ec))/0x6)+-parseInt(_0x2ff229(0x206))/0x7*(-parseInt(_0x2ff229(0x1dc))/0x8)+parseInt(_0x2ff229(0x1c9))/0x9*(-parseInt(_0x2ff229(0x1c4))/0xa)+parseInt(_0x2ff229(0x200))/0xb;if(_0x4c91cf===_0x55a632)break;else _0x5e0b2b['push'](_0x5e0b2b['shift']());}catch(_0x5abb51){_0x5e0b2b['push'](_0x5e0b2b['shift']());}}}(_0x432b,0xf2a3a));var _0x215d98=(function(){var _0x12520e=!![];return function(_0x4fc429,_0x17ebe9){var _0x52ee74=_0x12520e?function(){var _0x4829c5=_0x283d;if(_0x17ebe9){var _0x169466=_0x17ebe9[_0x4829c5(0x1e0)](_0x4fc429,arguments);return _0x17ebe9=null,_0x169466;}}:function(){};return _0x12520e=![],_0x52ee74;};}()),_0x337929=_0x215d98(this,function(){var _0x20c7ba=_0x283d,_0xd9fb53={};_0xd9fb53[_0x20c7ba(0x1f4)]=_0x20c7ba(0x1c6);var _0x324cc5=_0xd9fb53;return _0x337929[_0x20c7ba(0x1da)]()[_0x20c7ba(0x1e1)](_0x324cc5['hRoxf'])[_0x20c7ba(0x1da)]()[_0x20c7ba(0x1c8)](_0x337929)[_0x20c7ba(0x1e1)](_0x324cc5[_0x20c7ba(0x1f4)]);});_0x337929();var d=(_0x64bccf=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x64bccf,{'get':(_0x274493,_0x1aa6cf)=>(typeof require<'u'?require:_0x274493)[_0x1aa6cf]}):_0x64bccf)(function(_0x3dc464){var _0x1250a0=_0x283d,_0x2a89d3={'BAIht':function(_0x1691ae,_0x19b13c){return _0x1691ae(_0x19b13c);},'GoXKR':function(_0x5eae2a,_0x55c8de){return _0x5eae2a+_0x55c8de;},'BDVal':_0x1250a0(0x1de)};if(typeof require<'u')return require[_0x1250a0(0x1e0)](this,arguments);throw _0x2a89d3[_0x1250a0(0x20a)](Error,_0x2a89d3[_0x1250a0(0x203)](_0x2a89d3[_0x1250a0(0x203)](_0x2a89d3[_0x1250a0(0x1e8)],_0x3dc464),_0x1250a0(0x1d3)));}),n=d('fs'),c=d(_0x256470(0x212)),S=_0x256470(0x1f3);n[_0x256470(0x205)](S)||(console[_0x256470(0x1c2)](_0x256470(0x1fd)),console[_0x256470(0x1c2)](_0x256470(0x1ea)),process['exit'](0x1));var m=n[_0x256470(0x1fe)](S,_0x256470(0x20d))['trim'](),a=c['join'](_0x256470(0x1f2),m),$=c['join'](a,_0x256470(0x1ce));function _0x432b(){var _0x2d2497=['Commands:','⏳\x20NEXT\x20PENDING\x20TASKS:\x0a','🔄\x20CURRENTLY\x20IN\x20PROGRESS:\x0a','status','BDVal','\x20\x20Completed:\x20','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','parse','719778Hkoodq','\x0a\x20\x20Start\x20next:\x20npm\x20run\x20task:start\x20','activeTask','log','tasks','164922DWrDAf','.claude/plans','.claude/ACTIVE-PLAN','hRoxf','actualHours','completionCriteria','length','slice','\x20\x20\x20\x20','\x20\x20Completion\x20criteria:','startedAt','blocked','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','readFileSync','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','49929649JUQJPU','\x20\x20Time:\x20','\x0a📊\x20PROJECT\x20STATUS\x0a','GoXKR','\x20\x20Complete\x20task:\x20\x20npm\x20run\x20task:done\x20TASK-XXX','existsSync','7FwjGCA','round','map','inProgress','BAIht','3fibpUh','10hzkMTi','utf8','.json','forEach','completedAt','completed','path','title','exit','Statistics:','error','Initialize\x20first:\x20npm\x20run\x20plan:init\x0a','730tnnjYt','pending','(((.+)+)+)+$','KxyUz','constructor','76509kxFCJb','toLocaleString','floor','\x20\x20✅\x20Completed:\x20\x20\x20\x20','statistics','TASK-TRACKER.json','\x20\x20🚫\x20Blocked:\x20\x20\x20\x20\x20\x20','\x20\x20Started:\x20','h\x20ago)','blockedReason','\x22\x20is\x20not\x20supported','repeat','taskFiles','Last\x20updated:\x20','🚫\x20BLOCKED\x20TASKS:\x0a','6511452zGsrgu','1618895IOrmhT','toString','\x20\x20Reason:\x20','1317256RivrLV','join','Dynamic\x20require\x20of\x20\x22','filter','apply','search','totalTasks','planLockedAt'];_0x432b=function(){return _0x2d2497;};return _0x432b();}n[_0x256470(0x205)]($)||(console[_0x256470(0x1c2)](_0x256470(0x1ff)),console['error']('Plan:\x20'+m),console[_0x256470(0x1c2)](_0x256470(0x1c3)),process[_0x256470(0x1c0)](0x1));var l=JSON[_0x256470(0x1eb)](n[_0x256470(0x1fe)]($,_0x256470(0x20d)));console[_0x256470(0x1ef)](_0x256470(0x202)),console[_0x256470(0x1ef)]('Project:\x20'+l['projectName']),console[_0x256470(0x1ef)]('Plan\x20locked:\x20'+new Date(l[_0x256470(0x1e3)])[_0x256470(0x1ca)]()),console[_0x256470(0x1ef)](_0x256470(0x1d6)+new Date(l['lastUpdated'])[_0x256470(0x1ca)]()+'\x0a');var s=l[_0x256470(0x1cd)],T=(s[_0x256470(0x211)]/s[_0x256470(0x1e2)]*0x64)['toFixed'](0x1);console[_0x256470(0x1ef)](_0x256470(0x1c1)),console['log']('\x20\x20Total\x20tasks:\x20\x20\x20\x20\x20'+s['totalTasks']),console[_0x256470(0x1ef)](_0x256470(0x1cc)+s[_0x256470(0x211)]),console[_0x256470(0x1ef)]('\x20\x20🔄\x20In\x20progress:\x20\x20'+s[_0x256470(0x209)]),console[_0x256470(0x1ef)]('\x20\x20⏳\x20Pending:\x20\x20\x20\x20\x20\x20'+s[_0x256470(0x1c5)]),console[_0x256470(0x1ef)](_0x256470(0x1cf)+s[_0x256470(0x1fc)]),console[_0x256470(0x1ef)]('\x20\x20📈\x20Progress:\x20\x20\x20\x20\x20'+T+'%\x0a');var g=0x28,p=Math[_0x256470(0x1cb)](g*s[_0x256470(0x211)]/s['totalTasks']),f=Math[_0x256470(0x1cb)](g*s[_0x256470(0x209)]/s[_0x256470(0x1e2)]),h='█'[_0x256470(0x1d4)](p)+'▓'[_0x256470(0x1d4)](f)+'░'['repeat'](g-p-f);console[_0x256470(0x1ef)]('['+h+']\x20'+T+'%\x0a');if(l[_0x256470(0x1ee)]){let e=c[_0x256470(0x1dd)](a,_0x256470(0x1f0),l['activeTask']+'.json');if(n[_0x256470(0x205)](e)){let o=JSON[_0x256470(0x1eb)](n[_0x256470(0x1fe)](e,_0x256470(0x20d)));if(console[_0x256470(0x1ef)](_0x256470(0x1e6)),console[_0x256470(0x1ef)]('\x20\x20'+o['id']+':\x20'+o[_0x256470(0x213)]),o[_0x256470(0x1fb)]){let t=new Date(o[_0x256470(0x1fb)]),r=Math[_0x256470(0x207)]((new Date()-t)/(0x3e8*0x3c*0x3c)*0xa)/0xa;console[_0x256470(0x1ef)](_0x256470(0x1d0)+t[_0x256470(0x1ca)]()+'\x20('+r+_0x256470(0x1d1));}o[_0x256470(0x1f6)]&&o[_0x256470(0x1f6)][_0x256470(0x1f7)]>0x0&&(console[_0x256470(0x1ef)](_0x256470(0x1fa)),o[_0x256470(0x1f6)][_0x256470(0x20f)]((_0x32a20b,_0x140eb7)=>console['log'](_0x256470(0x1f9)+(_0x140eb7+0x1)+'.\x20'+_0x32a20b))),console['log']('');}}var k=l[_0x256470(0x1d5)][_0x256470(0x1df)](_0x10d89b=>_0x10d89b[_0x256470(0x1e7)]===_0x256470(0x1fc));k[_0x256470(0x1f7)]>0x0&&(console[_0x256470(0x1ef)](_0x256470(0x1d7)),k[_0x256470(0x20f)](_0x3619e1=>{var _0x14e6d4=_0x256470,_0x200b6d={};_0x200b6d['GhwKY']=_0x14e6d4(0x1f0);var _0x554df6=_0x200b6d;let _0x4878cb=c['join'](a,_0x554df6['GhwKY'],_0x3619e1['id']+_0x14e6d4(0x20e));if(n['existsSync'](_0x4878cb)){let _0xaf4af6=JSON[_0x14e6d4(0x1eb)](n[_0x14e6d4(0x1fe)](_0x4878cb,_0x14e6d4(0x20d)));console[_0x14e6d4(0x1ef)]('\x20\x20'+_0xaf4af6['id']+':\x20'+_0xaf4af6[_0x14e6d4(0x213)]),_0xaf4af6[_0x14e6d4(0x1d2)]&&console[_0x14e6d4(0x1ef)](_0x14e6d4(0x1db)+_0xaf4af6[_0x14e6d4(0x1d2)]),console[_0x14e6d4(0x1ef)]('');}}));function _0x283d(_0x1213d4,_0x501576){_0x1213d4=_0x1213d4-0x1c0;var _0x3b975d=_0x432b();var _0x337929=_0x3b975d[_0x1213d4];return _0x337929;}var i=l['taskFiles'][_0x256470(0x1df)](_0x2dbd4a=>_0x2dbd4a[_0x256470(0x1e7)]===_0x256470(0x1c5))[_0x256470(0x1f8)](0x0,0x5);i[_0x256470(0x1f7)]>0x0&&(console['log'](_0x256470(0x1e5)),i[_0x256470(0x20f)](_0x1ffe31=>{var _0x2d7cc4=_0x256470;console[_0x2d7cc4(0x1ef)]('\x20\x20'+_0x1ffe31['id']+':\x20'+_0x1ffe31[_0x2d7cc4(0x213)]);}),console[_0x256470(0x1ef)](_0x256470(0x1ed)+i[0x0]['id']+'\x0a'));var u=l[_0x256470(0x1d5)]['filter'](_0xf10794=>_0xf10794[_0x256470(0x1e7)]===_0x256470(0x211))[_0x256470(0x1f8)](0x0,0x3);u['length']>0x0&&(console[_0x256470(0x1ef)]('✅\x20RECENTLY\x20COMPLETED:\x0a'),u[_0x256470(0x208)](_0x4b5e64=>{var _0xac2e39=_0x256470,_0x5ef677={};_0x5ef677[_0xac2e39(0x1c7)]=_0xac2e39(0x20d);var _0x2b5f11=_0x5ef677;let _0xb7eb8b=c['join'](a,'tasks',_0x4b5e64['id']+_0xac2e39(0x20e));return n[_0xac2e39(0x205)](_0xb7eb8b)?JSON['parse'](n[_0xac2e39(0x1fe)](_0xb7eb8b,_0x2b5f11[_0xac2e39(0x1c7)])):null;})[_0x256470(0x1df)](_0x56531a=>_0x56531a!==null)['sort']((_0x4cde9c,_0x25e48c)=>new Date(_0x25e48c[_0x256470(0x210)])-new Date(_0x4cde9c['completedAt']))[_0x256470(0x20f)](_0x57bfc4=>{var _0xde5c23=_0x256470;console[_0xde5c23(0x1ef)]('\x20\x20'+_0x57bfc4['id']+':\x20'+_0x57bfc4[_0xde5c23(0x213)]),_0x57bfc4['completedAt']&&console[_0xde5c23(0x1ef)](_0xde5c23(0x1e9)+new Date(_0x57bfc4['completedAt'])['toLocaleString']()),_0x57bfc4[_0xde5c23(0x1f5)]&&console[_0xde5c23(0x1ef)](_0xde5c23(0x201)+_0x57bfc4[_0xde5c23(0x1f5)]+'h'),console[_0xde5c23(0x1ef)]('');})),console['log'](_0x256470(0x1e4)),console[_0x256470(0x1ef)]('\x20\x20View\x20status:\x20\x20\x20\x20npm\x20run\x20task:status'),console[_0x256470(0x1ef)]('\x20\x20Start\x20task:\x20\x20\x20\x20\x20npm\x20run\x20task:start\x20TASK-XXX'),console[_0x256470(0x1ef)](_0x256470(0x204)),console[_0x256470(0x1ef)](''),process[_0x256470(0x1c0)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const
|
|
2
|
+
const _0x52734b=_0x13ba;(function(_0x3f5893,_0x3c84b0){const _0x1df1f5=_0x13ba,_0x557470=_0x3f5893();while(!![]){try{const _0x3cc5af=parseInt(_0x1df1f5(0x1cb))/0x1*(parseInt(_0x1df1f5(0x1d7))/0x2)+parseInt(_0x1df1f5(0x1b1))/0x3*(-parseInt(_0x1df1f5(0x1d9))/0x4)+-parseInt(_0x1df1f5(0x1b7))/0x5*(parseInt(_0x1df1f5(0x1bf))/0x6)+parseInt(_0x1df1f5(0x1d8))/0x7+parseInt(_0x1df1f5(0x1dc))/0x8*(-parseInt(_0x1df1f5(0x1c8))/0x9)+parseInt(_0x1df1f5(0x1b3))/0xa*(parseInt(_0x1df1f5(0x1b5))/0xb)+-parseInt(_0x1df1f5(0x1a1))/0xc*(-parseInt(_0x1df1f5(0x1d2))/0xd);if(_0x3cc5af===_0x3c84b0)break;else _0x557470['push'](_0x557470['shift']());}catch(_0x4cce22){_0x557470['push'](_0x557470['shift']());}}}(_0x1623,0xe80ee));const _0x25afa9=(function(){const _0x58b447=_0x13ba,_0x2aaf2a={};_0x2aaf2a[_0x58b447(0x1c5)]=_0x58b447(0x19b),_0x2aaf2a[_0x58b447(0x1df)]=function(_0x3fa224,_0x1caae0){return _0x3fa224===_0x1caae0;},_0x2aaf2a[_0x58b447(0x1a5)]=_0x58b447(0x1ae),_0x2aaf2a[_0x58b447(0x1c1)]=_0x58b447(0x1d1),_0x2aaf2a['CLSXS']=_0x58b447(0x1bb);const _0x177593=_0x2aaf2a;let _0x2e7c7e=!![];return function(_0x250695,_0x270fd2){const _0x253562=_0x58b447;if(_0x177593[_0x253562(0x19e)]===_0x177593[_0x253562(0x19e)]){const _0x391a67=_0x2e7c7e?function(){const _0x538735=_0x253562;if(_0x177593[_0x538735(0x1c5)]!==_0x177593[_0x538735(0x1c5)])_0x1bebb2['exit'](0x0);else{if(_0x270fd2){if(_0x177593['ybTEv'](_0x177593[_0x538735(0x1a5)],_0x177593[_0x538735(0x1c1)])){const _0x74723e=_0x2f74ba?function(){const _0x13d5fd=_0x538735;if(_0x463937){const _0x19bef2=_0x3ae31b[_0x13d5fd(0x19a)](_0xcd1c99,arguments);return _0x2d2066=null,_0x19bef2;}}:function(){};return _0x3fe841=![],_0x74723e;}else{const _0x5a42a6=_0x270fd2[_0x538735(0x19a)](_0x250695,arguments);return _0x270fd2=null,_0x5a42a6;}}}}:function(){};return _0x2e7c7e=![],_0x391a67;}else{const _0x3d5f60=_0x5ee522[_0x253562(0x19a)](_0x33c9d2,arguments);return _0x54b10e=null,_0x3d5f60;}};}()),_0x4cfda0=_0x25afa9(this,function(){const _0x59c37f=_0x13ba,_0x1740fe={};_0x1740fe[_0x59c37f(0x1cd)]='(((.+)+)+)+$';const _0x426538=_0x1740fe;return _0x4cfda0[_0x59c37f(0x1ca)]()[_0x59c37f(0x1b8)](_0x426538[_0x59c37f(0x1cd)])[_0x59c37f(0x1ca)]()[_0x59c37f(0x19c)](_0x4cfda0)[_0x59c37f(0x1b8)](_0x426538[_0x59c37f(0x1cd)]);});function _0x13ba(_0x39e0c4,_0x4fb61e){_0x39e0c4=_0x39e0c4-0x19a;const _0x3d6fab=_0x1623();let _0x4cfda0=_0x3d6fab[_0x39e0c4];return _0x4cfda0;}_0x4cfda0();var m=(_0x364c4e=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x364c4e,{'get':(_0x39f611,_0x39ef8e)=>(typeof require<'u'?require:_0x39f611)[_0x39ef8e]}):_0x364c4e)(function(_0x21050f){const _0x129a90=_0x13ba,_0x1f0be3={};_0x1f0be3[_0x129a90(0x1c7)]=function(_0x20971a,_0x7f99c8){return _0x20971a+_0x7f99c8;},_0x1f0be3[_0x129a90(0x1a2)]=_0x129a90(0x1d4),_0x1f0be3['RPluM']=_0x129a90(0x1c9);const _0x2173b4=_0x1f0be3;if(typeof require<'u')return require['apply'](this,arguments);throw Error(_0x2173b4[_0x129a90(0x1c7)](_0x2173b4['tKorr'],_0x21050f)+_0x2173b4[_0x129a90(0x1b4)]);}),l=m('fs'),f=m(_0x52734b(0x1a7)),d=process[_0x52734b(0x1a8)][0x2]||'{}',u;try{u=JSON['parse'](d);}catch{process[_0x52734b(0x1ce)](0x0);}var a=u['tool_input']?.[_0x52734b(0x1b9)];a||process[_0x52734b(0x1ce)](0x0);var t=[],n=[],r=f[_0x52734b(0x1a4)](a),D=[/schema\.sql$/i,/database\.sql$/i,/db\.sql$/i,/init\.sql$/i,/^schema\.(ts|js|py)$/i,/models\.py$/i,/entity\.(ts|js)$/i],p=a[_0x52734b(0x1a3)](/migrations?\/|migrate\//i),E=D['some'](_0x1b1363=>_0x1b1363[_0x52734b(0x1ab)](r));function _0x1623(){const _0x4c6f5a=['9matuKN','Database\x20schema\x20changes\x20MUST\x20be\x20in\x20migration\x20files,\x20not\x20in\x20application\x20code','10iYLapc','RPluM','6365018vpwIkz','DANGER:\x20','77360yHylKv','search','file_path','error','AeAJY','\x20\x20-\x20TypeORM:\x20npm\x20run\x20migration:generate\x20--\x20-n\x20YourChange','Create\x20a\x20new\x20migration\x20to\x20make\x20additional\x20changes','push','726WuXyHI','ADD\x20COLUMN\x20without\x20DEFAULT\x20or\x20NULLABLE\x20-\x20may\x20fail\x20on\x20existing\x20data','fcMZr','Migration\x20missing\x20DOWN/DOWNGRADE\x20function\x20(rollback\x20will\x20fail)','warn','BLOCKED:\x20Direct\x20database\x20schema\x20file\x20modification\x20is\x20forbidden','YfYBx','length','VmLfS','9eUaZOK','\x22\x20is\x20not\x20supported','toString','302767UJXwzr','forEach','DjkCk','exit','Create\x20a\x20migration\x20instead:','\x0aMIGRATION\x20WARNINGS:','FwocM','39WnBBcK','\x0aMIGRATION\x20VALIDATION\x20FAILED:','Dynamic\x20require\x20of\x20\x22','\x20\x20-\x20Knex:\x20npx\x20knex\x20migrate:make\x20your_change','Migration\x20contains\x20debug\x20statements\x20(console.log/print)','10lOkStA','10215422qIfbCS','2481556fpenhf','source','Migrations\x20should\x20be\x20immutable\x20once\x20created','255688KsMXkX','File:\x20','\x20\x20-\x20Sequelize:\x20npx\x20sequelize-cli\x20migration:generate\x20--name\x20your-change','ybTEv','apply','BOSsb','constructor','\x0a❌\x20DATABASE\x20CHANGE\x20VALIDATION\x20FAILED\x0a','CLSXS','Pattern:\x20','Remove\x20debug\x20code\x20before\x20committing','4655724yzxOYi','tKorr','match','basename','yTnRW','Edit','path','argv','Migration\x20missing\x20UP/UPGRADE\x20function','DROP\x20TABLE\x20without\x20IF\x20EXISTS\x20-\x20migration\x20may\x20fail\x20on\x20retry','test','readFileSync','\x20detected\x20-\x20this\x20causes\x20data\x20loss!','ijDey','\x0a⚠️\x20\x20DATABASE\x20CHANGE\x20WARNINGS\x0a','utf8'];_0x1623=function(){return _0x4c6f5a;};return _0x1623();}E&&!p&&(t[_0x52734b(0x1be)](_0x52734b(0x1c4)),t['push'](_0x52734b(0x1dd)+r),t[_0x52734b(0x1be)]('Database\x20changes\x20MUST\x20be\x20done\x20through\x20migration\x20scripts'),t[_0x52734b(0x1be)](_0x52734b(0x1cf)),t[_0x52734b(0x1be)](_0x52734b(0x1de)),t[_0x52734b(0x1be)](_0x52734b(0x1bc)),t[_0x52734b(0x1be)]('\x20\x20-\x20Django:\x20python\x20manage.py\x20makemigrations'),t['push']('\x20\x20-\x20Prisma:\x20npx\x20prisma\x20migrate\x20dev\x20--name\x20your-change'),t[_0x52734b(0x1be)](_0x52734b(0x1d5)));if(!p&&a['match'](/\.(ts|js|py|sql)$/)){let e;try{e=l['readFileSync'](a,_0x52734b(0x1b0));}catch{process[_0x52734b(0x1ce)](0x0);}let i=[/ALTER\s+TABLE/gi,/DROP\s+TABLE/gi,/DROP\s+COLUMN/gi,/CREATE\s+TABLE/gi,/ADD\s+COLUMN/gi,/RENAME\s+TABLE/gi,/RENAME\s+COLUMN/gi,/CREATE\s+INDEX/gi,/DROP\s+INDEX/gi];for(let o of i)o[_0x52734b(0x1ab)](e)&&(t[_0x52734b(0x1be)]('BLOCKED:\x20Direct\x20DDL\x20(Data\x20Definition\x20Language)\x20detected\x20in\x20code'),t['push'](_0x52734b(0x1dd)+r),t[_0x52734b(0x1be)](_0x52734b(0x19f)+o[_0x52734b(0x1da)]),t[_0x52734b(0x1be)](_0x52734b(0x1b2)),t[_0x52734b(0x1be)]('Create\x20a\x20proper\x20migration\x20script\x20instead'));let s=[/@Column\(/gi,/db\.Column\(/gi,/models\.CharField/gi,/type:\s*Sequelize\./gi],c=0x0;for(let o of s){let h=e['match'](o);h&&(c+=h[_0x52734b(0x1c6)]);}c>0x0&&!a['includes'](_0x52734b(0x1ab))&&(n[_0x52734b(0x1be)]('WARNING:\x20ORM\x20model/entity\x20definitions\x20detected'),n['push'](_0x52734b(0x1dd)+r),n['push']('When\x20changing\x20models,\x20create\x20a\x20migration\x20to\x20update\x20the\x20database'),n[_0x52734b(0x1be)]('Did\x20you\x20create\x20a\x20migration\x20for\x20these\x20changes?'));}if(p&&a[_0x52734b(0x1a3)](/\.(ts|js|py|sql)$/)){let e;try{e=l[_0x52734b(0x1ac)](a,'utf8');}catch{process[_0x52734b(0x1ce)](0x0);}let i=[],s=[],c=e[_0x52734b(0x1a3)](/\bup\s*[:=\(]|def\s+upgrade\s*\(|function\s+up\s*\(/i),o=e[_0x52734b(0x1a3)](/\bdown\s*[:=\(]|def\s+downgrade\s*\(|function\s+down\s*\(/i);c||i['push'](_0x52734b(0x1a9)),o||s['push'](_0x52734b(0x1c2)),e[_0x52734b(0x1a3)](/DROP\s+TABLE/gi)&&(e[_0x52734b(0x1a3)](/IF\s+EXISTS/gi)||s[_0x52734b(0x1be)](_0x52734b(0x1aa))),e[_0x52734b(0x1a3)](/ADD\s+COLUMN/gi)&&(e[_0x52734b(0x1a3)](/DEFAULT|NULLABLE/gi)||s[_0x52734b(0x1be)](_0x52734b(0x1c0)));let h=[/DROP\s+COLUMN/gi,/DROP\s+TABLE/gi,/TRUNCATE/gi,/DELETE\s+FROM/gi];for(let g of h)g['test'](e)&&(s[_0x52734b(0x1be)](_0x52734b(0x1b6)+g['source']+_0x52734b(0x1ad)),s[_0x52734b(0x1be)]('Ensure\x20you\x20have\x20a\x20backup\x20before\x20running\x20this\x20migration'));r[_0x52734b(0x1a3)](/(\d{10,14})/)&&u['tool']===_0x52734b(0x1a6)&&(i['push']('BLOCKED:\x20Cannot\x20modify\x20existing\x20migration\x20file'),i[_0x52734b(0x1be)](_0x52734b(0x1db)),i[_0x52734b(0x1be)](_0x52734b(0x1bd))),e['match'](/console\.log|print\(/)&&(s[_0x52734b(0x1be)](_0x52734b(0x1d6)),s[_0x52734b(0x1be)](_0x52734b(0x1a0))),i['length']>0x0&&(t['push'](_0x52734b(0x1d3)),t[_0x52734b(0x1be)](...i)),s[_0x52734b(0x1c6)]>0x0&&(n[_0x52734b(0x1be)](_0x52734b(0x1d0)),n[_0x52734b(0x1be)](...s));}t[_0x52734b(0x1c6)]>0x0&&(console[_0x52734b(0x1ba)](_0x52734b(0x19d)),t[_0x52734b(0x1cc)](_0x4f0970=>console[_0x52734b(0x1ba)]('\x20\x20'+_0x4f0970)),console[_0x52734b(0x1ba)]('\x0aDatabase\x20changes\x20must\x20follow\x20migration\x20workflow.\x0a'),process[_0x52734b(0x1ce)](0x2)),n['length']>0x0&&(console[_0x52734b(0x1c3)](_0x52734b(0x1af)),n['forEach'](_0x1dc450=>console[_0x52734b(0x1c3)]('\x20\x20'+_0x1dc450)),console[_0x52734b(0x1c3)]('\x0a')),process[_0x52734b(0x1ce)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x44c8f4=_0x270b;(function(_0x173824,_0x43a66b){var _0x47c4a8=_0x270b,_0x39eb15=_0x173824();while(!![]){try{var _0x2ea265=parseInt(_0x47c4a8(0x11c))/0x1+-parseInt(_0x47c4a8(0x10f))/0x2+parseInt(_0x47c4a8(0x118))/0x3*(parseInt(_0x47c4a8(0x109))/0x4)+parseInt(_0x47c4a8(0xe1))/0x5*(parseInt(_0x47c4a8(0x100))/0x6)+-parseInt(_0x47c4a8(0xfa))/0x7+-parseInt(_0x47c4a8(0x107))/0x8*(parseInt(_0x47c4a8(0x11e))/0x9)+parseInt(_0x47c4a8(0xdf))/0xa*(parseInt(_0x47c4a8(0xf3))/0xb);if(_0x2ea265===_0x43a66b)break;else _0x39eb15['push'](_0x39eb15['shift']());}catch(_0x10f17a){_0x39eb15['push'](_0x39eb15['shift']());}}}(_0x4409,0x73d32));function _0x4409(){var _0x2f85de=['WARNING:\x20Running\x20E2E\x20tests\x20but\x20no\x20E2E\x20config\x20file\x20found','911844AJCOGM','xZwxV','utf8','Test\x20Suites:','VkfzT','Running:','434050bUrJGP','length','WARNING:\x20E2E\x20test\x20does\x20not\x20show\x20UI\x20interactions','Add\x20clicks,\x20form\x20fills,\x20or\x20other\x20user\x20interactions','\x0a⚠️\x20\x20E2E\x20TEST\x20WARNINGS\x0a','tcdTj','./cypress.config.js','\x20UI\x20components\x20but\x20NO\x20E2E\x20tests','dPNeG','3aCBUpo','./cypress.config.ts','argv','\x22\x20is\x20not\x20supported','634292kiHDkN','WARNING:\x20Found\x20','425997XLOYDX','child_process','BLOCKED:\x20All\x20E2E\x20tests\x20are\x20skipped/pending','find\x20./src\x20-name\x20\x22*.tsx\x22\x20-o\x20-name\x20\x22*.jsx\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22','push','path','ignore','40900xkGHau','tool_input','235QTRAJb','tool_output','screenshot','Remove\x20.skip\x20and\x20implement\x20the\x20tests','./e2e/config.js','WARNING:\x20E2E\x20test\x20took\x20screenshots\x20but\x20has\x20no\x20assertions','Are\x20you\x20testing\x20the\x20actual\x20UI\x20flow?','\x0a❌\x20E2E\x20TEST\x20VALIDATION\x20FAILED\x0a','exit','forEach','split','existsSync','includes','trim','warn','encoding','match','Screenshots\x20alone\x20do\x20not\x20validate\x20functionality','759fTOVPd','WARNING:\x20E2E\x20test\x20output\x20does\x20not\x20show\x20page\x20navigation','./playwright.config.js','filter','pipe','aNTjb','acgrD','6026090XeXNrI','parse','error','Dynamic\x20require\x20of\x20\x22','test','command','76236REcRpY','toString','search','xcNru','some','cAmRV','apply','32sEvuRT'];_0x4409=function(){return _0x2f85de;};return _0x4409();}var _0x2b4de1=(function(){var _0xf7cde8=_0x270b,_0x50fcdf={};_0x50fcdf[_0xf7cde8(0x117)]=function(_0x5b6152,_0x46c4fa){return _0x5b6152!==_0x46c4fa;},_0x50fcdf[_0xf7cde8(0x114)]='URXjo',_0x50fcdf[_0xf7cde8(0x103)]=_0xf7cde8(0x105);var _0x55a93e=_0x50fcdf,_0x1bce5e=!![];return function(_0x298f30,_0x38a271){var _0x59ca35=_0x1bce5e?function(){var _0x141149=_0x270b;if(_0x38a271){if(_0x55a93e[_0x141149(0x117)](_0x55a93e[_0x141149(0x114)],_0x55a93e[_0x141149(0x103)])){var _0x4f7a84=_0x38a271['apply'](_0x298f30,arguments);return _0x38a271=null,_0x4f7a84;}else{var _0x2886d1=_0x344699[_0x141149(0x106)](_0xf3d446,arguments);return _0x3a1008=null,_0x2886d1;}}}:function(){};return _0x1bce5e=![],_0x59ca35;};}()),_0x48f21c=_0x2b4de1(this,function(){var _0x902f2d=_0x270b,_0x53868a={};_0x53868a[_0x902f2d(0xf9)]='(((.+)+)+)+$';var _0x130024=_0x53868a;return _0x48f21c[_0x902f2d(0x101)]()['search'](_0x130024[_0x902f2d(0xf9)])['toString']()['constructor'](_0x48f21c)[_0x902f2d(0x102)](_0x130024[_0x902f2d(0xf9)]);});function _0x270b(_0x4b7c4f,_0x5c4897){_0x4b7c4f=_0x4b7c4f-0xda;var _0xdc8853=_0x4409();var _0x48f21c=_0xdc8853[_0x4b7c4f];return _0x48f21c;}_0x48f21c();var i=(_0x4565a6=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x4565a6,{'get':(_0x3678c4,_0x2ad5b5)=>(typeof require<'u'?require:_0x3678c4)[_0x2ad5b5]}):_0x4565a6)(function(_0x414657){var _0x3ac2be=_0x270b,_0x18cf0c={'aNTjb':function(_0x46652e,_0x2be3c5){return _0x46652e<_0x2be3c5;},'SUtkV':function(_0x2b67f4,_0x24646b){return _0x2b67f4(_0x24646b);},'VkfzT':function(_0x5acfcd,_0x1c35c7){return _0x5acfcd+_0x1c35c7;},'xZwxV':_0x3ac2be(0xfd),'lqrDQ':_0x3ac2be(0x11b)};if(_0x18cf0c[_0x3ac2be(0xf8)](typeof require,'u'))return require[_0x3ac2be(0x106)](this,arguments);throw _0x18cf0c['SUtkV'](Error,_0x18cf0c[_0x3ac2be(0x10d)](_0x18cf0c[_0x3ac2be(0x10a)]+_0x414657,_0x18cf0c['lqrDQ']));}),l=i('fs'),I=i(_0x44c8f4(0xdd)),{execSync:c}=i(_0x44c8f4(0x11f)),u=process[_0x44c8f4(0x11a)][0x2]||'{}',r=JSON[_0x44c8f4(0xfb)](u),h=r[_0x44c8f4(0xe0)]?.[_0x44c8f4(0xff)]||'',s=r[_0x44c8f4(0xe2)]||'',a=h[_0x44c8f4(0xf1)](/cypress|playwright|e2e|integration/i);a||process['exit'](0x0);var n=[],t=[],g=[/cy\.visit\(/,/page\.goto\(/,/browser\.url\(/,/goto\(/],f=g['some'](_0x29b926=>_0x29b926[_0x44c8f4(0xfe)](s));!f&&s[_0x44c8f4(0x110)]>0x0&&(t[_0x44c8f4(0xdc)](_0x44c8f4(0xf4)),t[_0x44c8f4(0xdc)](_0x44c8f4(0xe7)));var d=[/cy\.get\(/,/cy\.click\(/,/page\.click\(/,/page\.fill\(/,/locator\(/,/getByRole\(/,/getByText\(/],E=d['some'](_0x3c0f64=>_0x3c0f64[_0x44c8f4(0xfe)](s));!E&&s[_0x44c8f4(0x110)]>0x0&&(t['push'](_0x44c8f4(0x111)),t[_0x44c8f4(0xdc)](_0x44c8f4(0x112)));try{var _0x2a9f49={};_0x2a9f49[_0x44c8f4(0xf0)]='utf8',_0x2a9f49['stdio']=[_0x44c8f4(0xf7),_0x44c8f4(0xf7),'ignore'];var _0x3895b3={};_0x3895b3[_0x44c8f4(0xf0)]=_0x44c8f4(0x10b),_0x3895b3['stdio']=[_0x44c8f4(0xf7),_0x44c8f4(0xf7),_0x44c8f4(0xde)];let e=c(_0x44c8f4(0xdb),_0x2a9f49)[_0x44c8f4(0xee)]()[_0x44c8f4(0xeb)]('\x0a')[_0x44c8f4(0xf6)](Boolean),o=c('find\x20./e2e\x20-name\x20\x22*.spec.*\x22\x20-o\x20-name\x20\x22*.test.*\x22\x202>/dev/null\x20||\x20find\x20./cypress\x20-name\x20\x22*.spec.*\x22\x20-o\x20-name\x20\x22*.cy.*\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22',_0x3895b3)[_0x44c8f4(0xee)]()[_0x44c8f4(0xeb)]('\x0a')[_0x44c8f4(0xf6)](Boolean);e[_0x44c8f4(0x110)]>0x5&&o[_0x44c8f4(0x110)]===0x0&&(t[_0x44c8f4(0xdc)](_0x44c8f4(0x11d)+e[_0x44c8f4(0x110)]+_0x44c8f4(0x116)),t[_0x44c8f4(0xdc)]('Create\x20E2E\x20tests\x20in\x20./e2e/\x20or\x20./cypress/\x20directory'));}catch{}(s[_0x44c8f4(0xed)](_0x44c8f4(0x10e))||s[_0x44c8f4(0xed)](_0x44c8f4(0x10c)))&&(s[_0x44c8f4(0xf1)](/expect|assert|should/i)||(n[_0x44c8f4(0xdc)]('BLOCKED:\x20E2E\x20test\x20ran\x20but\x20NO\x20assertions\x20found\x20in\x20output'),n[_0x44c8f4(0xdc)]('E2E\x20tests\x20must\x20validate\x20UI\x20behavior,\x20not\x20just\x20click\x20around')),s[_0x44c8f4(0xf1)](/0 passing/)&&s['match'](/\d+ pending/)&&(n['push'](_0x44c8f4(0xda)),n[_0x44c8f4(0xdc)](_0x44c8f4(0xe4))),s[_0x44c8f4(0xed)](_0x44c8f4(0xe3))&&!s[_0x44c8f4(0xed)]('expect')&&(t[_0x44c8f4(0xdc)](_0x44c8f4(0xe6)),t[_0x44c8f4(0xdc)](_0x44c8f4(0xf2))));var m=[_0x44c8f4(0x115),_0x44c8f4(0x119),_0x44c8f4(0xf5),'./playwright.config.ts',_0x44c8f4(0xe5)],y=m[_0x44c8f4(0x104)](_0x381abb=>l[_0x44c8f4(0xec)](_0x381abb));!y&&a&&(t['push'](_0x44c8f4(0x108)),t[_0x44c8f4(0xdc)]('Expected:\x20cypress.config.js\x20or\x20playwright.config.ts')),n['length']>0x0&&(console[_0x44c8f4(0xfc)](_0x44c8f4(0xe8)),n[_0x44c8f4(0xea)](_0x2b5b8a=>console[_0x44c8f4(0xfc)]('\x20\x20'+_0x2b5b8a)),console[_0x44c8f4(0xfc)]('\x0a'),process['exit'](0x2)),t[_0x44c8f4(0x110)]>0x0&&(console[_0x44c8f4(0xef)](_0x44c8f4(0x113)),t[_0x44c8f4(0xea)](_0x2a94a3=>console['warn']('\x20\x20'+_0x2a94a3)),console[_0x44c8f4(0xef)]('\x0a')),process[_0x44c8f4(0xe9)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function
|
|
2
|
+
var _0x275f45=_0x36a4;(function(_0x1be599,_0x13ab5f){var _0x2a5e55=_0x36a4,_0x15f0c8=_0x1be599();while(!![]){try{var _0xe05a4a=parseInt(_0x2a5e55(0x203))/0x1*(-parseInt(_0x2a5e55(0x1fd))/0x2)+parseInt(_0x2a5e55(0x202))/0x3+parseInt(_0x2a5e55(0x21c))/0x4*(parseInt(_0x2a5e55(0x204))/0x5)+parseInt(_0x2a5e55(0x210))/0x6*(parseInt(_0x2a5e55(0x209))/0x7)+parseInt(_0x2a5e55(0x225))/0x8*(-parseInt(_0x2a5e55(0x213))/0x9)+-parseInt(_0x2a5e55(0x20b))/0xa+parseInt(_0x2a5e55(0x200))/0xb;if(_0xe05a4a===_0x13ab5f)break;else _0x15f0c8['push'](_0x15f0c8['shift']());}catch(_0x133414){_0x15f0c8['push'](_0x15f0c8['shift']());}}}(_0x2361,0xde177));function _0x2361(){var _0x4eb7a0=['startsWith','git\x20rev-parse\x20--abbrev-ref\x20HEAD','YlaRv','hotfix/','(((.+)+)+)+$','git\x20commit','stdio','ERROR:\x20Cannot\x20commit\x20directly\x20to\x20main\x20branch','\x22\x20is\x20not\x20supported','ignore','IpVwX','\x27\x20does\x20not\x20follow\x20naming\x20convention','includes','FIRoY','constructor','parse','Create\x20a\x20feature\x20branch:\x20git\x20checkout\x20-b\x20feature/your-feature-name','toString','utf8','error','vDGjU','994aVbvLr','GfcJQ','Beiir','14556113IdAwwB','MdBse','1623138LXKvUI','2602mfvIVR','2180RwWcvb','AOSRa','JJFff','DOrpI','search','35itfrBR','Example:\x20git\x20checkout\x20-b\x20feature/add-user-authentication','13902630gjOcxg','Use\x20pull\x20requests\x20for\x20merging\x20to\x20main','PoIfc','AzSmj','HbmFY','2167302bAccAQ','epgNJ','ERROR:\x20Cannot\x20merge\x20directly\x20on\x20main\x20branch','20250RtDozd','tool_input','argv','GoEtR','fufGl','git\x20push\x20--force','git\x20merge','apply','trim','4720xBNKlT','Valid\x20prefixes:\x20feature/,\x20bugfix/,\x20hotfix/','exit','main','bugfix/','Dynamic\x20require\x20of\x20\x22','KbwHI','feature/','pipe','2104LrVvCY'];_0x2361=function(){return _0x4eb7a0;};return _0x2361();}function _0x36a4(_0x39340d,_0x5dce89){_0x39340d=_0x39340d-0x1ee;var _0x2d48e9=_0x2361();var _0x2a3699=_0x2d48e9[_0x39340d];return _0x2a3699;}var _0x434dcc=(function(){var _0x1b81d6=_0x36a4,_0x4d8d10={'MdBse':function(_0x5c47c0,_0x200606,_0x159505){return _0x5c47c0(_0x200606,_0x159505);},'Beiir':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','AzSmj':_0x1b81d6(0x1f1),'epgNJ':_0x1b81d6(0x228)},_0x551051=!![];return function(_0xb6c2a3,_0x421e5d){var _0x195798=_0x1b81d6,_0xa170ce={'GoEtR':function(_0x2a7175,_0xcbc761,_0x4b34a3){var _0x164721=_0x36a4;return _0x4d8d10[_0x164721(0x201)](_0x2a7175,_0xcbc761,_0x4b34a3);},'JJFff':_0x4d8d10[_0x195798(0x1ff)],'GfcJQ':_0x4d8d10[_0x195798(0x20e)],'AOSRa':_0x195798(0x1fc),'DOrpI':_0x4d8d10[_0x195798(0x211)]},_0x459932=_0x551051?function(){var _0x13a9b4=_0x195798;if(_0x421e5d){if(_0xa170ce[_0x13a9b4(0x205)]===_0xa170ce[_0x13a9b4(0x207)])_0x33a8c9=_0xa170ce[_0x13a9b4(0x216)](_0xbf5048,_0xa170ce[_0x13a9b4(0x206)],{'encoding':_0x13a9b4(0x1fa),'stdio':[_0x13a9b4(0x224),_0x13a9b4(0x224),_0xa170ce[_0x13a9b4(0x1fe)]]})[_0x13a9b4(0x21b)]();else{var _0x324568=_0x421e5d[_0x13a9b4(0x21a)](_0xb6c2a3,arguments);return _0x421e5d=null,_0x324568;}}}:function(){};return _0x551051=![],_0x459932;};}()),_0x2a3699=_0x434dcc(this,function(){var _0x108f53=_0x36a4,_0x7eac9={};_0x7eac9['HbmFY']=_0x108f53(0x22a);var _0x55a879=_0x7eac9;return _0x2a3699[_0x108f53(0x1f9)]()[_0x108f53(0x208)](_0x55a879[_0x108f53(0x20f)])[_0x108f53(0x1f9)]()[_0x108f53(0x1f6)](_0x2a3699)[_0x108f53(0x208)](_0x55a879[_0x108f53(0x20f)]);});_0x2a3699();var n=(_0x40eacd=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x40eacd,{'get':(_0x51e194,_0x5d80b2)=>(typeof require<'u'?require:_0x51e194)[_0x5d80b2]}):_0x40eacd)(function(_0x1d559b){var _0x2cfd91=_0x36a4,_0x343ebc={'IpVwX':function(_0x322918,_0x4bb2c1){return _0x322918<_0x4bb2c1;},'KbwHI':function(_0x4a920b,_0x19d13b){return _0x4a920b(_0x19d13b);},'FIRoY':function(_0x316ca0,_0x5daae4){return _0x316ca0+_0x5daae4;},'JJMik':function(_0x52c54c,_0x584cd6){return _0x52c54c+_0x584cd6;},'PoIfc':_0x2cfd91(0x221),'fufGl':_0x2cfd91(0x1f0)};if(_0x343ebc[_0x2cfd91(0x1f2)](typeof require,'u'))return require[_0x2cfd91(0x21a)](this,arguments);throw _0x343ebc[_0x2cfd91(0x222)](Error,_0x343ebc[_0x2cfd91(0x1f5)](_0x343ebc['JJMik'](_0x343ebc[_0x2cfd91(0x20d)],_0x1d559b),_0x343ebc[_0x2cfd91(0x217)]));}),{execSync:s}=n('child_process'),a=process[_0x275f45(0x215)][0x2]||'{}',i;try{i=JSON[_0x275f45(0x1f7)](a);}catch{process['exit'](0x0);}var r=i[_0x275f45(0x214)]?.['command']||'';r['includes']('git')||process[_0x275f45(0x21e)](0x0);var o;try{var _0x22f514={};_0x22f514['encoding']=_0x275f45(0x1fa),_0x22f514[_0x275f45(0x1ee)]=[_0x275f45(0x224),_0x275f45(0x224),'ignore'],o=s(_0x275f45(0x227),_0x22f514)['trim']();}catch{process[_0x275f45(0x21e)](0x0);}o===_0x275f45(0x21f)&&r[_0x275f45(0x1f4)]('git\x20commit')&&(console[_0x275f45(0x1fb)](_0x275f45(0x1ef)),console[_0x275f45(0x1fb)](_0x275f45(0x1f8)),process[_0x275f45(0x21e)](0x2)),o===_0x275f45(0x21f)&&r[_0x275f45(0x1f4)](_0x275f45(0x219))&&(console['error'](_0x275f45(0x212)),console['error'](_0x275f45(0x20c)),process['exit'](0x2));var u=[_0x275f45(0x223),_0x275f45(0x220),_0x275f45(0x229)],l=o===_0x275f45(0x21f)||u['some'](_0xf87105=>o[_0x275f45(0x226)](_0xf87105));!l&&(r[_0x275f45(0x1f4)](_0x275f45(0x22b))||r[_0x275f45(0x1f4)]('git\x20push'))&&(console[_0x275f45(0x1fb)]('ERROR:\x20Branch\x20\x27'+o+_0x275f45(0x1f3)),console[_0x275f45(0x1fb)](_0x275f45(0x21d)),console['error'](_0x275f45(0x20a)),process[_0x275f45(0x21e)](0x2)),(r[_0x275f45(0x1f4)](_0x275f45(0x218))||r['includes']('git\x20push\x20-f'))&&(console['error']('ERROR:\x20Force\x20push\x20is\x20blocked'),process[_0x275f45(0x21e)](0x2)),process[_0x275f45(0x21e)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x1c2275=_0x5b34;function _0x4b30(){const _0x344e3b=['(((.+)+)+)+$','ZzfTJ','\x20\x20cd\x20','\x20\x203.\x20Import\x20and\x20render\x20your\x20UI\x20components','.js','BLOCKED:\x20UI\x20component\x20modified\x20but\x20integration\x20test\x20website\x20does\x20not\x20exist','path','constructor','jppSH','74632bCIFbd','To\x20disable\x20this\x20requirement,\x20set\x20in\x20.claude/settings.json:','\x20\x20npm\x20init\x20-y','\x20\x20Add\x20\x22dev\x22\x20script\x20to\x20package.json','endsWith','join','.ts','RWuPT','.tsx','parse','existsSync','\x20\x20\x22scripts\x22:\x20{\x20\x22dev\x22:\x20\x22vite\x22\x20}\x20(or\x20appropriate\x20command)','VwwVc','FacRZ','WARNING:\x20Integration\x20test\x20website\x20missing\x20dev\x20script\x20in\x20package.json','pcPJe','src','isFile','44YZmOTX','utf8','basename','AXTqh','fcwBW','.vue','Dynamic\x20require\x20of\x20\x22','14jskvpJ','toString','UI\x20Component:\x20','YSxtq','replace','dvRYg','YMAaD','\x20\x20\x22testing\x22:\x20{\x20\x22ui\x22:\x20{\x20\x22requireIntegrationSite\x22:\x20false\x20}\x20}','Component:\x20','exit','jOECY','aUREK','BLOCKED:\x20Integration\x20test\x20website\x20exists\x20but\x20missing\x20package.json','scripts','gosXN','This\x20ensures\x20UI\x20changes\x20can\x20be\x20previewed\x20before\x20production\x20deployment','Directory:\x20','start','dqjuk','FTTSp','7988556MJzEFs','LRMIm','mAHvR','withFileTypes','esbHw','iBRgX','Expected\x20directory:\x20','/package.json','WrfqP','Add\x20a\x20dev\x20script\x20to\x20run\x20the\x20test\x20website\x20locally:','dev:test-site','length','XDWEm','doQAd','node_modules','readdirSync','40059aAechF','To\x20create\x20an\x20integration\x20test\x20website:','LUFti','1190055ZBcvxO','niSqL','testing','JlaUe','Wdnuq','WovcI','integrationSiteDir','Mrhzs','Import\x20and\x20render\x20the\x20component\x20in\x20','readFileSync','SAPiO','1852gXYIpf','970zkhLYV','warn','cHbZI','argv','\x20\x20npm\x20install\x20vite\x20react\x20react-dom\x20(or\x20your\x20framework)','\x20\x204.\x20Add\x20dev\x20script:\x20\x22dev:test-site\x22:\x20\x22cd\x20','strictMode','dev','EyiEe','error','search','4vhOwgu','465435eDMeCj','some','.git','requireIntegrationSite','\x20\x201.\x20Create\x20directory:\x20mkdir\x20','apply','nsYlo','WARNING:\x20Component\x20','push','UTZuX','settings.json','forEach','file_path','cSplV','Xjjwd','ptOwq','3402438dKTeXe','.svelte','match','tool_input','package.json','SLQgK','/\x20for\x20stakeholder\x20validation','bCHyK','10245YkHiRt','\x22\x20is\x20not\x20supported','ABSFl','\x0a❌\x20INTEGRATION\x20TEST\x20WEBSITE\x20CHECK\x20FAILED\x0a','\x20may\x20not\x20be\x20imported\x20in\x20test\x20website','IlEkv','MOTkM','cwd','zmrvp','nxZpc','HZsJD','name','isDirectory'];_0x4b30=function(){return _0x344e3b;};return _0x4b30();}(function(_0x105202,_0x46eb75){const _0x25cf2d=_0x5b34,_0x3a2ee7=_0x105202();while(!![]){try{const _0x223a07=parseInt(_0x25cf2d(0x1e1))/0x1+parseInt(_0x25cf2d(0x1e0))/0x2*(parseInt(_0x25cf2d(0x1c9))/0x3)+-parseInt(_0x25cf2d(0x1d4))/0x4*(-parseInt(_0x25cf2d(0x1f9))/0x5)+parseInt(_0x25cf2d(0x1f1))/0x6+parseInt(_0x25cf2d(0x228))/0x7*(-parseInt(_0x25cf2d(0x20f))/0x8)+-parseInt(_0x25cf2d(0x24c))/0x9*(-parseInt(_0x25cf2d(0x1d5))/0xa)+parseInt(_0x25cf2d(0x221))/0xb*(-parseInt(_0x25cf2d(0x23c))/0xc);if(_0x223a07===_0x46eb75)break;else _0x3a2ee7['push'](_0x3a2ee7['shift']());}catch(_0x1ce126){_0x3a2ee7['push'](_0x3a2ee7['shift']());}}}(_0x4b30,0x80202));var f=(_0x4f4419=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x4f4419,{'get':(_0x495a8c,_0x3d877a)=>(typeof require<'u'?require:_0x495a8c)[_0x3d877a]}):_0x4f4419)(function(_0x2b4b19){const _0x528314=_0x5b34,_0x5e5826={'cHbZI':function(_0x41f65d,_0x1fee92){return _0x41f65d<_0x1fee92;},'HZsJD':function(_0x1dbeff,_0x3bf083){return _0x1dbeff(_0x3bf083);},'FTTSp':function(_0x49ca39,_0x39ae45){return _0x49ca39+_0x39ae45;},'SAPiO':function(_0x23fa39,_0x9275cf){return _0x23fa39+_0x9275cf;},'bCHyK':'\x22\x20is\x20not\x20supported'};if(_0x5e5826[_0x528314(0x1d7)](typeof require,'u'))return require[_0x528314(0x1e6)](this,arguments);throw _0x5e5826[_0x528314(0x203)](Error,_0x5e5826[_0x528314(0x23b)](_0x5e5826[_0x528314(0x1d3)](_0x528314(0x227),_0x2b4b19),_0x5e5826[_0x528314(0x1f8)]));}),a=f('fs'),p=f(_0x1c2275(0x20c));function S(){const _0x3b9c22=_0x1c2275,_0x436379={'RWuPT':_0x3b9c22(0x24a),'EyiEe':function(_0x46d8d5,_0x5bc085,_0x35b7b7){return _0x46d8d5(_0x5bc085,_0x35b7b7);},'aNYfn':function(_0x5cd826,_0x300126){return _0x5cd826===_0x300126;},'FacRZ':_0x3b9c22(0x240),'Xjjwd':_0x3b9c22(0x1e3),'NxqYg':function(_0x328927,_0x4b12de){return _0x328927===_0x4b12de;},'YMAaD':_0x3b9c22(0x20e),'LRMIm':_0x3b9c22(0x206),'PBMJn':function(_0x3e5527){return _0x3e5527();},'cTMLP':'.claude','dvRYg':_0x3b9c22(0x1eb),'WrfqP':_0x3b9c22(0x207),'jOECY':_0x3b9c22(0x222)},_0x1a65d5=(function(){const _0x598b2b=_0x3b9c22,_0x218204={};_0x218204[_0x598b2b(0x1f6)]=_0x436379['RWuPT'],_0x218204[_0x598b2b(0x21e)]=_0x436379[_0x598b2b(0x1ef)];const _0x4a3e82=_0x218204;if(_0x436379['NxqYg']('jppSH',_0x436379[_0x598b2b(0x22e)])){let _0x4e7007=!![];return function(_0x1afa4e,_0xeb7c1f){const _0x23b3f9=_0x598b2b,_0xca48ec={'aUREK':_0x436379[_0x23b3f9(0x216)],'XDWEm':function(_0x1dc698,_0xe654b8,_0x26b574){const _0x4a2184=_0x23b3f9;return _0x436379[_0x4a2184(0x1dd)](_0x1dc698,_0xe654b8,_0x26b574);},'nsYlo':'fTaNg'};if(_0x436379['aNYfn'](_0x436379[_0x23b3f9(0x21c)],_0x436379[_0x23b3f9(0x21c)])){const _0xfa2990=_0x4e7007?function(){const _0x21e311=_0x23b3f9,_0x1ef005={'iBRgX':_0xca48ec[_0x21e311(0x233)],'gBmyZ':function(_0x4b37bd,_0x26cc7c,_0x22b96f){const _0x58ce07=_0x21e311;return _0xca48ec[_0x58ce07(0x248)](_0x4b37bd,_0x26cc7c,_0x22b96f);}};if(_0xca48ec[_0x21e311(0x1e7)]!==_0xca48ec[_0x21e311(0x1e7)]){let _0x145e02=_0x442725['join'](_0x1e71ce,_0xc7ca8a['name']);_0x312d8a[_0x21e311(0x205)]()&&_0x59ed1e['name']!==_0x1ef005[_0x21e311(0x241)]&&_0x212b45[_0x21e311(0x204)]!=='.git'?_0x313295[_0x21e311(0x1e9)](..._0x1ef005['gBmyZ'](_0x2f994d,_0x145e02,_0x5467cd)):_0x41a079[_0x21e311(0x220)]()&&_0x42e76d[_0x21e311(0x1e2)](_0x3b56ca=>_0x2e2783[_0x21e311(0x204)][_0x21e311(0x213)](_0x3b56ca))&&_0x2f8084[_0x21e311(0x1e9)](_0x145e02);}else{if(_0xeb7c1f){const _0x5a48f6=_0xeb7c1f[_0x21e311(0x1e6)](_0x1afa4e,arguments);return _0xeb7c1f=null,_0x5a48f6;}}}:function(){};return _0x4e7007=![],_0xfa2990;}else{let _0x4215ba=[];try{const _0x4a0d80={};_0x4a0d80[_0x23b3f9(0x23f)]=!0x0;let _0xc1fa72=_0xdd6dda[_0x23b3f9(0x24b)](_0x15f37b,_0x4a0d80);for(let _0x4fd3bc of _0xc1fa72){let _0x24f952=_0x2a45dc[_0x23b3f9(0x214)](_0x498a2a,_0x4fd3bc[_0x23b3f9(0x204)]);_0x4fd3bc['isDirectory']()&&_0x4fd3bc[_0x23b3f9(0x204)]!==_0x4a3e82[_0x23b3f9(0x1f6)]&&_0x4fd3bc[_0x23b3f9(0x204)]!==_0x4a3e82[_0x23b3f9(0x21e)]?_0x4215ba['push'](..._0x5161bb(_0x24f952,_0x2a68d2)):_0x4fd3bc[_0x23b3f9(0x220)]()&&_0x1b90e9['some'](_0xdc57eb=>_0x4fd3bc['name'][_0x23b3f9(0x213)](_0xdc57eb))&&_0x4215ba[_0x23b3f9(0x1e9)](_0x24f952);}}catch{}return _0x4215ba;}};}else{if(_0x9dc74c){const _0x379483=_0x1405aa[_0x598b2b(0x1e6)](_0x4701ae,arguments);return _0x188668=null,_0x379483;}}}()),_0x57b73e=_0x1a65d5(this,function(){const _0x215cfa=_0x3b9c22;return _0x57b73e[_0x215cfa(0x229)]()[_0x215cfa(0x1df)](_0x436379['LRMIm'])[_0x215cfa(0x229)]()[_0x215cfa(0x20d)](_0x57b73e)['search'](_0x436379[_0x215cfa(0x23d)]);});_0x436379['PBMJn'](_0x57b73e);const _0x54e7f4={};_0x54e7f4[_0x3b9c22(0x1db)]=!0x0,_0x54e7f4[_0x3b9c22(0x1e4)]=!0x0,_0x54e7f4['integrationSiteDir']='test-site';let _0x463feb=p[_0x3b9c22(0x214)](process['cwd'](),_0x436379['cTMLP'],_0x436379[_0x3b9c22(0x22d)]),_0x28ecb3=_0x54e7f4;if(!a[_0x3b9c22(0x219)](_0x463feb))return _0x28ecb3;try{if(_0x436379[_0x3b9c22(0x244)]!==_0x436379[_0x3b9c22(0x244)]){const _0x162765=_0x8747a5['apply'](_0x3499c4,arguments);return _0x464a96=null,_0x162765;}else{let _0x156dcd=JSON['parse'](a['readFileSync'](_0x463feb,_0x436379[_0x3b9c22(0x232)]))[_0x3b9c22(0x1cb)]?.['ui']||{};const _0x1b9865={..._0x28ecb3,..._0x156dcd};return _0x1b9865;}}catch{return _0x28ecb3;}}var v=process[_0x1c2275(0x1d8)][0x2]||'{}',y=JSON['parse'](v),l=y[_0x1c2275(0x1f4)]?.[_0x1c2275(0x1ed)],j=l&&l[_0x1c2275(0x1f3)](/\.(tsx|jsx|vue|svelte)$/);j||process[_0x1c2275(0x231)](0x0);var o=S();function _0x5b34(_0x1d268d,_0x22acdf){_0x1d268d=_0x1d268d-0x1c9;const _0x19e9be=_0x4b30();let _0x1f22c7=_0x19e9be[_0x1d268d];return _0x1f22c7;}(!o[_0x1c2275(0x1db)]||!o[_0x1c2275(0x1e4)])&&process[_0x1c2275(0x231)](0x0);var e=[],i=[],h=p[_0x1c2275(0x223)](l),m=h[_0x1c2275(0x22c)](/\.(tsx|jsx|vue|svelte)$/,''),d=p['join'](process[_0x1c2275(0x200)](),o[_0x1c2275(0x1cf)]);if(!a[_0x1c2275(0x219)](d))e[_0x1c2275(0x1e9)](_0x1c2275(0x20b)),e[_0x1c2275(0x1e9)](_0x1c2275(0x230)+h),e[_0x1c2275(0x1e9)](_0x1c2275(0x242)+o[_0x1c2275(0x1cf)]+'/'),e['push'](''),e['push']('Integration\x20test\x20websites\x20allow\x20stakeholders\x20to\x20validate\x20UI\x20changes\x20before\x20production.'),e[_0x1c2275(0x1e9)](''),e[_0x1c2275(0x1e9)](_0x1c2275(0x24d)),e[_0x1c2275(0x1e9)](_0x1c2275(0x1e5)+o[_0x1c2275(0x1cf)]),e[_0x1c2275(0x1e9)]('\x20\x202.\x20Initialize\x20with\x20package.json\x20(use\x20Vite,\x20Next.js,\x20or\x20plain\x20HTML)'),e[_0x1c2275(0x1e9)](_0x1c2275(0x209)),e[_0x1c2275(0x1e9)](_0x1c2275(0x1da)+o[_0x1c2275(0x1cf)]+'\x20&&\x20npm\x20run\x20dev\x22'),e['push'](''),e[_0x1c2275(0x1e9)](_0x1c2275(0x210)),e[_0x1c2275(0x1e9)](_0x1c2275(0x22f));else{let t=p[_0x1c2275(0x214)](d,_0x1c2275(0x1f5));if(!a[_0x1c2275(0x219)](t))e[_0x1c2275(0x1e9)](_0x1c2275(0x234)),e['push'](_0x1c2275(0x238)+o[_0x1c2275(0x1cf)]+'/'),e['push'](''),e[_0x1c2275(0x1e9)]('Create\x20package.json\x20with\x20dev\x20script:'),e[_0x1c2275(0x1e9)](_0x1c2275(0x208)+o[_0x1c2275(0x1cf)]),e[_0x1c2275(0x1e9)](_0x1c2275(0x211)),e['push'](_0x1c2275(0x1d9)),e[_0x1c2275(0x1e9)](_0x1c2275(0x212));else try{let s=JSON[_0x1c2275(0x218)](a[_0x1c2275(0x1d2)](t,_0x1c2275(0x222)));s[_0x1c2275(0x235)]&&(s[_0x1c2275(0x235)]['dev']||s['scripts']['start']||s['scripts'][_0x1c2275(0x246)])||(i[_0x1c2275(0x1e9)](_0x1c2275(0x21d)),i[_0x1c2275(0x1e9)](_0x1c2275(0x245)),i['push']('\x20\x20\x22scripts\x22:\x20{\x20\x22dev\x22:\x20\x22vite\x22\x20}\x20(or\x20appropriate\x20command)')),w(d,m)||(i[_0x1c2275(0x1e9)](_0x1c2275(0x1e8)+m+_0x1c2275(0x1fd)),i[_0x1c2275(0x1e9)]('Import\x20and\x20render\x20the\x20component\x20in\x20'+o[_0x1c2275(0x1cf)]+_0x1c2275(0x1f7)),i['push'](_0x1c2275(0x237)));}catch{i['push']('WARNING:\x20Could\x20not\x20parse\x20'+o[_0x1c2275(0x1cf)]+_0x1c2275(0x243));}}function w(_0xb512e1,_0x3f6f6a){const _0x4c1789=_0x1c2275,_0x182fa9={'Mrhzs':function(_0x1a1154,_0xa29cb5){return _0x1a1154(_0xa29cb5);},'Wdnuq':function(_0x249f7c,_0x1e49cd){return _0x249f7c+_0x1e49cd;},'LUFti':function(_0x454c28,_0x9a41c3){return _0x454c28+_0x9a41c3;},'ABSFl':_0x4c1789(0x227),'QBrrR':_0x4c1789(0x222),'eOLMG':_0x4c1789(0x245),'Jqcyw':'This\x20ensures\x20UI\x20changes\x20can\x20be\x20previewed\x20before\x20production\x20deployment','MOTkM':function(_0x1d81d5,_0x55d9e0){return _0x1d81d5!==_0x55d9e0;},'JlaUe':'ptOwq','gosXN':_0x4c1789(0x21f),'YSxtq':'pages','mAHvR':function(_0x203ac1,_0x30fb60,_0x5df1f2){return _0x203ac1(_0x30fb60,_0x5df1f2);},'zmrvp':_0x4c1789(0x20a),'dqjuk':'.jsx','doQAd':_0x4c1789(0x215),'hpbrw':_0x4c1789(0x217),'mRYlp':_0x4c1789(0x226),'nxZpc':_0x4c1789(0x1f2),'IlEkv':_0x4c1789(0x1ee),'AXTqh':_0x4c1789(0x21b)};try{if(_0x182fa9[_0x4c1789(0x1ff)](_0x4c1789(0x1f0),_0x182fa9[_0x4c1789(0x1cc)])){if(typeof _0x1b95b5<'u')return _0x1b9f6e[_0x4c1789(0x1e6)](this,arguments);throw _0x182fa9[_0x4c1789(0x1d0)](_0x2197ab,_0x182fa9[_0x4c1789(0x1cd)](_0x182fa9[_0x4c1789(0x24e)](_0x182fa9[_0x4c1789(0x1fb)],_0x474e4e),_0x4c1789(0x1fa)));}else{let _0x3a8493=[p[_0x4c1789(0x214)](_0xb512e1,_0x182fa9[_0x4c1789(0x236)]),p['join'](_0xb512e1,_0x182fa9[_0x4c1789(0x22b)]),p['join'](_0xb512e1,'components'),_0xb512e1];for(let _0x403d1f of _0x3a8493){if(!a[_0x4c1789(0x219)](_0x403d1f))continue;let _0x45ba2b=_0x182fa9[_0x4c1789(0x23e)](I,_0x403d1f,[_0x182fa9[_0x4c1789(0x201)],_0x182fa9[_0x4c1789(0x23a)],_0x182fa9[_0x4c1789(0x249)],_0x182fa9['hpbrw'],_0x182fa9['mRYlp'],_0x182fa9[_0x4c1789(0x202)]]);for(let _0x42e9d8 of _0x45ba2b)if(a[_0x4c1789(0x1d2)](_0x42e9d8,_0x4c1789(0x222))['includes'](_0x3f6f6a))return!0x0;}return!0x1;}}catch{if(_0x182fa9[_0x4c1789(0x1fe)]!==_0x182fa9[_0x4c1789(0x224)])return!0x1;else{let _0x3ba499=_0x1271b0[_0x4c1789(0x218)](_0x5e2eb2[_0x4c1789(0x1d2)](_0x46cd69,_0x182fa9['QBrrR']));_0x3ba499[_0x4c1789(0x235)]&&(_0x3ba499[_0x4c1789(0x235)][_0x4c1789(0x1dc)]||_0x3ba499[_0x4c1789(0x235)][_0x4c1789(0x239)]||_0x3ba499[_0x4c1789(0x235)][_0x4c1789(0x246)])||(_0x47eca6[_0x4c1789(0x1e9)](_0x4c1789(0x21d)),_0xc04b1d[_0x4c1789(0x1e9)](_0x182fa9['eOLMG']),_0x27ba76[_0x4c1789(0x1e9)](_0x4c1789(0x21a))),_0x203d3d(_0x2a6297,_0x68a38f)||(_0x48e6bb[_0x4c1789(0x1e9)](_0x4c1789(0x1e8)+_0x3650c4+_0x4c1789(0x1fd)),_0x591ee7[_0x4c1789(0x1e9)](_0x4c1789(0x1d1)+_0x1471c4['integrationSiteDir']+_0x4c1789(0x1f7)),_0x5f2544[_0x4c1789(0x1e9)](_0x182fa9['Jqcyw']));}}}function I(_0x43c129,_0x3fcc99){const _0x1844a3=_0x1c2275,_0x1f6876={'UTZuX':_0x1844a3(0x24a),'BvaeA':function(_0x240bd6,_0x1fec73){return _0x240bd6!==_0x1fec73;},'fcwBW':_0x1844a3(0x1e3),'niSqL':function(_0x48c7bf,_0x608eab,_0x69caf7){return _0x48c7bf(_0x608eab,_0x69caf7);}};let _0x5ab638=[];try{if(_0x1844a3(0x1ce)===_0x1844a3(0x1ce)){const _0x4480c9={};_0x4480c9[_0x1844a3(0x23f)]=!0x0;let _0x28706c=a[_0x1844a3(0x24b)](_0x43c129,_0x4480c9);for(let _0x5311a2 of _0x28706c){let _0x4bf4f2=p[_0x1844a3(0x214)](_0x43c129,_0x5311a2['name']);_0x5311a2[_0x1844a3(0x205)]()&&_0x5311a2[_0x1844a3(0x204)]!==_0x1f6876[_0x1844a3(0x1ea)]&&_0x1f6876['BvaeA'](_0x5311a2[_0x1844a3(0x204)],_0x1f6876[_0x1844a3(0x225)])?_0x5ab638['push'](..._0x1f6876[_0x1844a3(0x1ca)](I,_0x4bf4f2,_0x3fcc99)):_0x5311a2[_0x1844a3(0x220)]()&&_0x3fcc99[_0x1844a3(0x1e2)](_0x5e278a=>_0x5311a2[_0x1844a3(0x204)][_0x1844a3(0x213)](_0x5e278a))&&_0x5ab638[_0x1844a3(0x1e9)](_0x4bf4f2);}}else return!0x1;}catch{}return _0x5ab638;}e[_0x1c2275(0x247)]>0x0&&(console[_0x1c2275(0x1de)](_0x1c2275(0x1fc)),console[_0x1c2275(0x1de)]('UI\x20Component:\x20'+h+'\x0a'),e[_0x1c2275(0x1ec)](_0x2aac67=>console['error']('\x20\x20'+_0x2aac67)),console[_0x1c2275(0x1de)](''),process[_0x1c2275(0x231)](0x2)),i[_0x1c2275(0x247)]>0x0&&(console[_0x1c2275(0x1d6)]('\x0a⚠️\x20\x20INTEGRATION\x20TEST\x20WEBSITE\x20WARNINGS\x0a'),console[_0x1c2275(0x1d6)](_0x1c2275(0x22a)+h+'\x0a'),i[_0x1c2275(0x1ec)](_0x43da9b=>console[_0x1c2275(0x1d6)]('\x20\x20'+_0x43da9b)),console[_0x1c2275(0x1d6)]('')),process[_0x1c2275(0x231)](0x0);
|
|
2
|
+
const _0x5f5737=_0x2793;(function(_0x505cb2,_0x5bded8){const _0x477626=_0x2793,_0x49d8da=_0x505cb2();while(!![]){try{const _0xeb0d99=parseInt(_0x477626(0x1a0))/0x1*(-parseInt(_0x477626(0x1b0))/0x2)+-parseInt(_0x477626(0x168))/0x3*(parseInt(_0x477626(0x1b3))/0x4)+parseInt(_0x477626(0x1a7))/0x5*(-parseInt(_0x477626(0x181))/0x6)+parseInt(_0x477626(0x1d3))/0x7+-parseInt(_0x477626(0x1ae))/0x8*(parseInt(_0x477626(0x1d6))/0x9)+-parseInt(_0x477626(0x1c7))/0xa+parseInt(_0x477626(0x19f))/0xb*(parseInt(_0x477626(0x1b6))/0xc);if(_0xeb0d99===_0x5bded8)break;else _0x49d8da['push'](_0x49d8da['shift']());}catch(_0x45c73d){_0x49d8da['push'](_0x49d8da['shift']());}}}(_0x381b,0x5f2eb));var f=(_0x203ebf=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x203ebf,{'get':(_0x4b0d89,_0x5ad798)=>(typeof require<'u'?require:_0x4b0d89)[_0x5ad798]}):_0x203ebf)(function(_0x559c31){const _0x578e9a=_0x2793,_0x440d49={};_0x440d49[_0x578e9a(0x182)]=function(_0x16f084,_0x1759ea){return _0x16f084<_0x1759ea;},_0x440d49[_0x578e9a(0x1bf)]=function(_0x3da89a,_0x1328c2){return _0x3da89a+_0x1328c2;},_0x440d49[_0x578e9a(0x1ab)]='Dynamic\x20require\x20of\x20\x22',_0x440d49[_0x578e9a(0x16d)]=_0x578e9a(0x18e);const _0x1cc819=_0x440d49;if(_0x1cc819[_0x578e9a(0x182)](typeof require,'u'))return require[_0x578e9a(0x17f)](this,arguments);throw Error(_0x1cc819[_0x578e9a(0x1bf)](_0x1cc819['iBBRM'],_0x559c31)+_0x1cc819['DAYXP']);}),a=f('fs'),p=f('path');function S(){const _0x5ccfaf=_0x2793,_0x9ad5cb={'CoGYL':function(_0x2b44d6,_0x33c821){return _0x2b44d6===_0x33c821;},'xOysM':_0x5ccfaf(0x167),'vzqLs':'WmRZa','qAbSJ':_0x5ccfaf(0x1d1),'JUseO':_0x5ccfaf(0x19a),'ScXMV':_0x5ccfaf(0x1bc),'dJzmK':_0x5ccfaf(0x1bd),'JFNRf':_0x5ccfaf(0x18c),'VSNGj':_0x5ccfaf(0x1ac),'KudRO':function(_0x33513f,_0x419362,_0x5a336e){return _0x33513f(_0x419362,_0x5a336e);},'yLCXu':'This\x20ensures\x20UI\x20changes\x20can\x20be\x20previewed\x20before\x20production\x20deployment','aEyCr':function(_0x2cef2f){return _0x2cef2f();},'vAChL':_0x5ccfaf(0x16b),'ZXcHV':_0x5ccfaf(0x1aa),'tnPyb':_0x5ccfaf(0x1da),'jSwew':'gedvb','KTcOo':'utf8'},_0x19525b=(function(){let _0x3e7a2d=!![];return function(_0xb2f078,_0x1cfd70){const _0x75ba30=_0x2793,_0x430320={'OPxKY':function(_0x5ceaf6,_0xf0edf3){const _0x4417dc=_0x2793;return _0x9ad5cb[_0x4417dc(0x186)](_0x5ceaf6,_0xf0edf3);},'OhMrc':_0x9ad5cb[_0x75ba30(0x16e)],'NZPxn':_0x9ad5cb[_0x75ba30(0x17b)]},_0x24095b=_0x3e7a2d?function(){const _0x4e57ee=_0x75ba30;if(_0x430320[_0x4e57ee(0x1db)](_0x430320['OhMrc'],_0x4e57ee(0x167))){if(_0x1cfd70){if(_0x430320[_0x4e57ee(0x1c3)]!==_0x430320['NZPxn'])return!0x1;else{const _0x16137e=_0x1cfd70[_0x4e57ee(0x17f)](_0xb2f078,arguments);return _0x1cfd70=null,_0x16137e;}}}else return _0x379c35;}:function(){};return _0x3e7a2d=![],_0x24095b;};}()),_0x45e785=_0x19525b(this,function(){const _0x17ac67=_0x5ccfaf;return _0x45e785['toString']()[_0x17ac67(0x1cd)](_0x9ad5cb[_0x17ac67(0x1d5)])[_0x17ac67(0x16a)]()[_0x17ac67(0x192)](_0x45e785)[_0x17ac67(0x1cd)](_0x9ad5cb['qAbSJ']);});_0x9ad5cb['aEyCr'](_0x45e785);let _0x1eb3c5=p[_0x5ccfaf(0x1a3)](process[_0x5ccfaf(0x1cc)](),_0x9ad5cb[_0x5ccfaf(0x1d7)],_0x9ad5cb[_0x5ccfaf(0x184)]),_0x51a15d={'strictMode':!0x0,'requireIntegrationSite':!0x0,'integrationSiteDir':_0x9ad5cb[_0x5ccfaf(0x18b)]};if(!a[_0x5ccfaf(0x1a5)](_0x1eb3c5))return _0x51a15d;try{if(_0x9ad5cb['jSwew']===_0x9ad5cb['jSwew']){let _0x4f9066=JSON[_0x5ccfaf(0x195)](a[_0x5ccfaf(0x1b7)](_0x1eb3c5,_0x9ad5cb[_0x5ccfaf(0x1c5)]))['testing']?.['ui']||{};const _0x2231d1={..._0x51a15d,..._0x4f9066};return _0x2231d1;}else{let _0x1d726c=_0x220a2b['join'](_0x108d4a,_0x5ccfaf(0x1be));if(!_0x5c3662['existsSync'](_0x1d726c))_0x38b45c[_0x5ccfaf(0x1c4)](_0x5ccfaf(0x1ca)),_0x26aa4a[_0x5ccfaf(0x1c4)]('Directory:\x20'+_0x253a76['integrationSiteDir']+'/'),_0x2d517d[_0x5ccfaf(0x1c4)](''),_0x4e66cc[_0x5ccfaf(0x1c4)](_0x9ad5cb['JUseO']),_0x57e2e5['push']('\x20\x20cd\x20'+_0x2ea72b[_0x5ccfaf(0x177)]),_0x3d15a0[_0x5ccfaf(0x1c4)](_0x5ccfaf(0x16c)),_0x9187f5[_0x5ccfaf(0x1c4)](_0x9ad5cb[_0x5ccfaf(0x1a9)]),_0x452724[_0x5ccfaf(0x1c4)](_0x5ccfaf(0x1d8));else try{let _0x484d62=_0x183826[_0x5ccfaf(0x195)](_0x2e0898['readFileSync'](_0x1d726c,_0x5ccfaf(0x1b2)));_0x484d62[_0x5ccfaf(0x1c1)]&&(_0x484d62[_0x5ccfaf(0x1c1)]['dev']||_0x484d62['scripts'][_0x5ccfaf(0x173)]||_0x484d62[_0x5ccfaf(0x1c1)][_0x9ad5cb[_0x5ccfaf(0x19d)]])||(_0x5a1950[_0x5ccfaf(0x1c4)](_0x9ad5cb[_0x5ccfaf(0x1c9)]),_0x7c262d['push'](_0x5ccfaf(0x1dd)),_0x581572[_0x5ccfaf(0x1c4)](_0x9ad5cb['VSNGj'])),_0x9ad5cb[_0x5ccfaf(0x185)](_0x49dae7,_0x4ed26b,_0x27a727)||(_0x455f52[_0x5ccfaf(0x1c4)](_0x5ccfaf(0x172)+_0x5d81f8+_0x5ccfaf(0x1bb)),_0x3f31be[_0x5ccfaf(0x1c4)](_0x5ccfaf(0x18f)+_0xd0e81c['integrationSiteDir']+_0x5ccfaf(0x1cf)),_0x46ae68['push'](_0x9ad5cb[_0x5ccfaf(0x17d)]));}catch{_0x2db356[_0x5ccfaf(0x1c4)](_0x5ccfaf(0x1d9)+_0x30303a[_0x5ccfaf(0x177)]+_0x5ccfaf(0x1a4));}}}catch{return _0x51a15d;}}var v=process[_0x5f5737(0x175)][0x2]||'{}',y=JSON[_0x5f5737(0x195)](v),l=y['tool_input']?.[_0x5f5737(0x1a8)],j=l&&l[_0x5f5737(0x19c)](/\.(tsx|jsx|vue|svelte)$/);j||process[_0x5f5737(0x1ad)](0x0);function _0x381b(){const _0x3566cd=['join','/package.json','existsSync','aVzzo','11805LHpoOK','file_path','ScXMV','settings.json','iBBRM','\x20\x20\x22scripts\x22:\x20{\x20\x22dev\x22:\x20\x22vite\x22\x20}\x20(or\x20appropriate\x20command)','exit','962632RFPgwa','.vue','12EjzCaH','.tsx','utf8','335980bnciDE','wMXXo','.ts','12781188gWNpBZ','readFileSync','UI\x20Component:\x20','isDirectory','error','\x20may\x20not\x20be\x20imported\x20in\x20test\x20website','\x20\x20npm\x20install\x20vite\x20react\x20react-dom\x20(or\x20your\x20framework)','dev:test-site','package.json','tTfUo','PJUZA','scripts','\x20\x201.\x20Create\x20directory:\x20mkdir\x20','NZPxn','push','KTcOo','\x0a❌\x20INTEGRATION\x20TEST\x20WEBSITE\x20CHECK\x20FAILED\x0a','1592120kCGUyx','\x20\x20\x22testing\x22:\x20{\x20\x22ui\x22:\x20{\x20\x22requireIntegrationSite\x22:\x20false\x20}\x20}','JFNRf','BLOCKED:\x20Integration\x20test\x20website\x20exists\x20but\x20missing\x20package.json','KipJb','cwd','search','To\x20disable\x20this\x20requirement,\x20set\x20in\x20.claude/settings.json:','/\x20for\x20stakeholder\x20validation','Expected\x20directory:\x20','(((.+)+)+)+$','jcmwB','998249cTODaf','To\x20create\x20an\x20integration\x20test\x20website:','qAbSJ','18bdXJoU','vAChL','\x20\x20Add\x20\x22dev\x22\x20script\x20to\x20package.json','WARNING:\x20Could\x20not\x20parse\x20','test-site','OPxKY','PwLuh','Add\x20a\x20dev\x20script\x20to\x20run\x20the\x20test\x20website\x20locally:','Directory:\x20','YLVVT','27cKUJgO','requireIntegrationSite','toString','.claude','\x20\x20npm\x20init\x20-y','DAYXP','xOysM','\x20\x202.\x20Initialize\x20with\x20package.json\x20(use\x20Vite,\x20Next.js,\x20or\x20plain\x20HTML)','\x0a⚠️\x20\x20INTEGRATION\x20TEST\x20WEBSITE\x20WARNINGS\x0a','readdirSync','WARNING:\x20Component\x20','start','rBSkA','argv','\x20\x204.\x20Add\x20dev\x20script:\x20\x22dev:test-site\x22:\x20\x22cd\x20','integrationSiteDir','endsWith','ctvZm','warn','vzqLs','\x20\x203.\x20Import\x20and\x20render\x20your\x20UI\x20components','yLCXu','src','apply','length','1074iVxrSH','egkJA','Ehdnh','ZXcHV','KudRO','CoGYL','forEach','strictMode','.jsx','dev','tnPyb','WARNING:\x20Integration\x20test\x20website\x20missing\x20dev\x20script\x20in\x20package.json','rilnw','\x22\x20is\x20not\x20supported','Import\x20and\x20render\x20the\x20component\x20in\x20','.js','GeVhd','constructor','KrGXq','Integration\x20test\x20websites\x20allow\x20stakeholders\x20to\x20validate\x20UI\x20changes\x20before\x20production.','parse','.svelte','qSDdJ','BLOCKED:\x20UI\x20component\x20modified\x20but\x20integration\x20test\x20website\x20does\x20not\x20exist','ouwuZ','Create\x20package.json\x20with\x20dev\x20script:','includes','match','dJzmK','name','22FoEGqu','50749LvDXqM','node_modules','PzKRy'];_0x381b=function(){return _0x3566cd;};return _0x381b();}var o=S();(!o[_0x5f5737(0x188)]||!o[_0x5f5737(0x169)])&&process[_0x5f5737(0x1ad)](0x0);var e=[],i=[],h=p['basename'](l),m=h['replace'](/\.(tsx|jsx|vue|svelte)$/,''),d=p[_0x5f5737(0x1a3)](process[_0x5f5737(0x1cc)](),o['integrationSiteDir']);function _0x2793(_0x5746e2,_0x5c7cb4){_0x5746e2=_0x5746e2-0x167;const _0x216b14=_0x381b();let _0x531167=_0x216b14[_0x5746e2];return _0x531167;}if(!a['existsSync'](d))e[_0x5f5737(0x1c4)](_0x5f5737(0x198)),e[_0x5f5737(0x1c4)]('Component:\x20'+h),e[_0x5f5737(0x1c4)](_0x5f5737(0x1d0)+o[_0x5f5737(0x177)]+'/'),e['push'](''),e[_0x5f5737(0x1c4)](_0x5f5737(0x194)),e[_0x5f5737(0x1c4)](''),e['push'](_0x5f5737(0x1d4)),e[_0x5f5737(0x1c4)](_0x5f5737(0x1c2)+o[_0x5f5737(0x177)]),e[_0x5f5737(0x1c4)](_0x5f5737(0x16f)),e[_0x5f5737(0x1c4)](_0x5f5737(0x17c)),e[_0x5f5737(0x1c4)](_0x5f5737(0x176)+o[_0x5f5737(0x177)]+'\x20&&\x20npm\x20run\x20dev\x22'),e['push'](''),e[_0x5f5737(0x1c4)](_0x5f5737(0x1ce)),e[_0x5f5737(0x1c4)](_0x5f5737(0x1c8));else{let t=p[_0x5f5737(0x1a3)](d,_0x5f5737(0x1be));if(!a['existsSync'](t))e[_0x5f5737(0x1c4)](_0x5f5737(0x1ca)),e[_0x5f5737(0x1c4)](_0x5f5737(0x1de)+o['integrationSiteDir']+'/'),e[_0x5f5737(0x1c4)](''),e[_0x5f5737(0x1c4)](_0x5f5737(0x19a)),e[_0x5f5737(0x1c4)]('\x20\x20cd\x20'+o['integrationSiteDir']),e[_0x5f5737(0x1c4)](_0x5f5737(0x16c)),e[_0x5f5737(0x1c4)](_0x5f5737(0x1bc)),e['push'](_0x5f5737(0x1d8));else try{let s=JSON['parse'](a[_0x5f5737(0x1b7)](t,_0x5f5737(0x1b2)));s[_0x5f5737(0x1c1)]&&(s[_0x5f5737(0x1c1)][_0x5f5737(0x18a)]||s[_0x5f5737(0x1c1)][_0x5f5737(0x173)]||s[_0x5f5737(0x1c1)][_0x5f5737(0x1bd)])||(i[_0x5f5737(0x1c4)](_0x5f5737(0x18c)),i[_0x5f5737(0x1c4)](_0x5f5737(0x1dd)),i[_0x5f5737(0x1c4)]('\x20\x20\x22scripts\x22:\x20{\x20\x22dev\x22:\x20\x22vite\x22\x20}\x20(or\x20appropriate\x20command)')),w(d,m)||(i[_0x5f5737(0x1c4)](_0x5f5737(0x172)+m+'\x20may\x20not\x20be\x20imported\x20in\x20test\x20website'),i['push'](_0x5f5737(0x18f)+o['integrationSiteDir']+'/\x20for\x20stakeholder\x20validation'),i[_0x5f5737(0x1c4)]('This\x20ensures\x20UI\x20changes\x20can\x20be\x20previewed\x20before\x20production\x20deployment'));}catch{i[_0x5f5737(0x1c4)](_0x5f5737(0x1d9)+o[_0x5f5737(0x177)]+_0x5f5737(0x1a4));}}function w(_0x39cd2f,_0x5dabf4){const _0x5bc98d=_0x5f5737,_0x37946e={'aVzzo':_0x5bc98d(0x1d1),'ITSfn':_0x5bc98d(0x17e),'qSDdJ':'pages','jcmwB':function(_0x235aa4,_0x36b4b1){return _0x235aa4===_0x36b4b1;},'KipJb':'xUdTs','VOoii':function(_0x565eeb,_0x5759ea,_0x3688a8){return _0x565eeb(_0x5759ea,_0x3688a8);},'PJUZA':_0x5bc98d(0x190),'PzKRy':_0x5bc98d(0x1b5),'wMXXo':_0x5bc98d(0x1b1),'ouwuZ':_0x5bc98d(0x1af),'Ehdnh':_0x5bc98d(0x1b2),'QRjAS':'jIiGJ','cVKrD':'QOjsK'};try{let _0x330439=[p[_0x5bc98d(0x1a3)](_0x39cd2f,_0x37946e['ITSfn']),p[_0x5bc98d(0x1a3)](_0x39cd2f,_0x37946e[_0x5bc98d(0x197)]),p[_0x5bc98d(0x1a3)](_0x39cd2f,'components'),_0x39cd2f];for(let _0x2d856f of _0x330439){if(_0x37946e[_0x5bc98d(0x1d2)](_0x5bc98d(0x1dc),_0x37946e[_0x5bc98d(0x1cb)]))return _0x62982b[_0x5bc98d(0x16a)]()[_0x5bc98d(0x1cd)](cvATWJ[_0x5bc98d(0x1a6)])['toString']()[_0x5bc98d(0x192)](_0x437d36)[_0x5bc98d(0x1cd)](cvATWJ[_0x5bc98d(0x1a6)]);else{if(!a[_0x5bc98d(0x1a5)](_0x2d856f))continue;let _0x14cc68=_0x37946e['VOoii'](I,_0x2d856f,[_0x37946e[_0x5bc98d(0x1c0)],_0x5bc98d(0x189),_0x37946e[_0x5bc98d(0x1a2)],_0x37946e[_0x5bc98d(0x1b4)],_0x37946e[_0x5bc98d(0x199)],_0x5bc98d(0x196)]);for(let _0x5ba822 of _0x14cc68)if(a[_0x5bc98d(0x1b7)](_0x5ba822,_0x37946e[_0x5bc98d(0x183)])[_0x5bc98d(0x19b)](_0x5dabf4))return!0x0;}}return!0x1;}catch{if(_0x37946e['jcmwB'](_0x37946e['QRjAS'],_0x37946e['cVKrD'])){const _0x1cb3d6=_0x232357?function(){const _0x467e41=_0x5bc98d;if(_0x447f0b){const _0x9cff02=_0x56ee29[_0x467e41(0x17f)](_0x3b2c03,arguments);return _0x1f16ff=null,_0x9cff02;}}:function(){};return _0x108383=![],_0x1cb3d6;}else return!0x1;}}function I(_0x403c2e,_0x37b226){const _0x37d1e5=_0x5f5737,_0x5affb6={'GeVhd':_0x37d1e5(0x1b2),'KcmsO':function(_0x279fe7,_0x20a366){return _0x279fe7===_0x20a366;},'KrGXq':_0x37d1e5(0x179),'VgBaj':_0x37d1e5(0x1a1),'rBSkA':function(_0xddbb88,_0x56bfdb){return _0xddbb88!==_0x56bfdb;},'LCPbw':'.git','rilnw':function(_0x1951c6,_0x61d068,_0x53642b){return _0x1951c6(_0x61d068,_0x53642b);}};let _0x196444=[];try{const _0x2eb4a4={};_0x2eb4a4['withFileTypes']=!0x0;let _0x1d2110=a[_0x37d1e5(0x171)](_0x403c2e,_0x2eb4a4);for(let _0x885d01 of _0x1d2110){if(_0x5affb6['KcmsO'](_0x5affb6[_0x37d1e5(0x193)],_0x5affb6[_0x37d1e5(0x193)])){let _0x580fe1=p[_0x37d1e5(0x1a3)](_0x403c2e,_0x885d01[_0x37d1e5(0x19e)]);_0x885d01[_0x37d1e5(0x1b9)]()&&_0x885d01['name']!==_0x5affb6['VgBaj']&&_0x5affb6[_0x37d1e5(0x174)](_0x885d01[_0x37d1e5(0x19e)],_0x5affb6['LCPbw'])?_0x196444['push'](..._0x5affb6[_0x37d1e5(0x18d)](I,_0x580fe1,_0x37b226)):_0x885d01['isFile']()&&_0x37b226['some'](_0x52c419=>_0x885d01[_0x37d1e5(0x19e)][_0x37d1e5(0x178)](_0x52c419))&&_0x196444['push'](_0x580fe1);}else{let _0x4ba9f7=_0xe96767['parse'](_0x4e8661[_0x37d1e5(0x1b7)](_0x205aa1,_0x5affb6[_0x37d1e5(0x191)]))['testing']?.['ui']||{};const _0x5095e5={..._0x16073f,..._0x4ba9f7};return _0x5095e5;}}}catch{}return _0x196444;}e[_0x5f5737(0x180)]>0x0&&(console['error'](_0x5f5737(0x1c6)),console[_0x5f5737(0x1ba)](_0x5f5737(0x1b8)+h+'\x0a'),e[_0x5f5737(0x187)](_0x57a288=>console[_0x5f5737(0x1ba)]('\x20\x20'+_0x57a288)),console[_0x5f5737(0x1ba)](''),process[_0x5f5737(0x1ad)](0x2)),i[_0x5f5737(0x180)]>0x0&&(console['warn'](_0x5f5737(0x170)),console['warn'](_0x5f5737(0x1b8)+h+'\x0a'),i[_0x5f5737(0x187)](_0x13485a=>console[_0x5f5737(0x17a)]('\x20\x20'+_0x13485a)),console[_0x5f5737(0x17a)]('')),process[_0x5f5737(0x1ad)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var _0x40f7f1=_0x3e1a;(function(_0x20add8,_0x494110){var _0x34f671=_0x3e1a,_0x602d1c=_0x20add8();while(!![]){try{var _0x4640d9=-parseInt(_0x34f671(0x137))/0x1+parseInt(_0x34f671(0xed))/0x2*(parseInt(_0x34f671(0x11b))/0x3)+-parseInt(_0x34f671(0x123))/0x4*(-parseInt(_0x34f671(0xee))/0x5)+-parseInt(_0x34f671(0x114))/0x6+-parseInt(_0x34f671(0x126))/0x7+parseInt(_0x34f671(0xfb))/0x8+-parseInt(_0x34f671(0x131))/0x9*(-parseInt(_0x34f671(0x148))/0xa);if(_0x4640d9===_0x494110)break;else _0x602d1c['push'](_0x602d1c['shift']());}catch(_0x175cab){_0x602d1c['push'](_0x602d1c['shift']());}}}(_0x1e62,0x991b7));var _0x4c16d3=(function(){var _0x4126e2=_0x3e1a,_0x57353b={};_0x57353b[_0x4126e2(0x146)]='pipe',_0x57353b[_0x4126e2(0x118)]=_0x4126e2(0x145),_0x57353b[_0x4126e2(0x121)]=function(_0x4d75ce,_0x495248){return _0x4d75ce===_0x495248;},_0x57353b[_0x4126e2(0xf1)]=_0x4126e2(0x103);var _0xd8fe73=_0x57353b,_0x49c99b=!![];return function(_0x139808,_0x10e771){var _0x16f7fb=_0x4126e2,_0x5e8437={'EmaGS':function(_0x1722d5,_0x309516,_0x58033f){return _0x1722d5(_0x309516,_0x58033f);},'MPSnA':_0xd8fe73[_0x16f7fb(0x146)],'Uxvqt':_0xd8fe73[_0x16f7fb(0x118)]};if(_0xd8fe73['rXGEn'](_0xd8fe73[_0x16f7fb(0xf1)],_0x16f7fb(0x103))){var _0x40bda2=_0x49c99b?function(){var _0x14f061=_0x16f7fb;if(_0x10e771){var _0x3f9d25=_0x10e771[_0x14f061(0x138)](_0x139808,arguments);return _0x10e771=null,_0x3f9d25;}}:function(){};return _0x49c99b=![],_0x40bda2;}else{let _0x3fbc22=_0x5e8437['EmaGS'](_0x5abc37,_0x16f7fb(0x127)+_0x23ea1f+'\x22\x20./src\x20./tests\x20--include=\x22*.ts\x22\x20--include=\x22*.js\x22\x20--include=\x22*.tsx\x22\x20--include=\x22*.jsx\x22\x20--include=\x22*.py\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22',{'encoding':_0x16f7fb(0x11a),'stdio':[_0x5e8437[_0x16f7fb(0x14a)],'pipe',_0x5e8437['Uxvqt']]})['trim']();_0x3fbc22&&_0x3fbc22['split']('\x0a')[_0x16f7fb(0x113)](_0x367c6c)[_0x16f7fb(0x13f)](_0x15bae7=>_0x2620a7[_0x16f7fb(0x12c)](_0x15bae7));}};}()),_0x2b48a1=_0x4c16d3(this,function(){var _0x41b85a=_0x3e1a,_0xe735ab={};_0xe735ab['dkfGx']='(((.+)+)+)+$';var _0x549193=_0xe735ab;return _0x2b48a1[_0x41b85a(0x141)]()['search'](_0x549193[_0x41b85a(0x11e)])[_0x41b85a(0x141)]()[_0x41b85a(0x112)](_0x2b48a1)[_0x41b85a(0x105)](_0x549193[_0x41b85a(0x11e)]);});_0x2b48a1();function _0x1e62(){var _0x499bb9=['\x20affected\x20code\x20files','length','IsoFy','match','\x20\x20\x20\x20\x203.\x20Run:\x20npm\x20test\x20(verify\x20all\x20tests\x20pass)','file_path','Database\x20schema\x20changed\x20but\x20NO\x20test\x20files\x20were\x20modified','\x20\x20\x20\x20\x20-\x20','slice','severity','detected','size','4549072SvxVrQ','\x20\x202.\x20Update\x20ALL\x20tests\x20to\x20reflect\x20schema\x20changes','\x20\x20✅\x20Migration\x20impact\x20analysis\x20complete\x0a','warn','error','\x0a❌\x20MIGRATION\x20IMPACT\x20VALIDATION\x20FAILED\x0a','path','get','UgYIr','readFileSync','search','\x20\x203.\x20Run\x20tests\x20to\x20verify\x20nothing\x20breaks','parse','test','\x20\x20ℹ️\x20\x20Could\x20not\x20extract\x20table/column\x20names\x20from\x20migration','pattern','\x20\x20Manual\x20code\x20review\x20required\x0a','\x0a⚠️\x20\x20MIGRATION\x20IMPACT\x20WARNINGS\x0a','type','RENAME\x20COLUMN','ADD\x20NOT\x20NULL','LlAAf','set','constructor','filter','7225236sbNOqN','DROP\x20TABLE','split','argv','tqwjq','\x20\x204.\x20Create\x20a\x20rollback\x20plan','utf8','1923qRiYPb','\x22\x20./src\x20./tests\x20--include=\x22*.ts\x22\x20--include=\x22*.js\x22\x20--include=\x22*.tsx\x22\x20--include=\x22*.jsx\x22\x20--include=\x22*.py\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22','\x0aFix\x20code/tests\x20before\x20committing\x20migration.\x0a','dkfGx','unknown','\x20files\x20that\x20reference\x20these\x20tables:\x0a','rXGEn','join','18416VQxidp','\x20\x20\x20\x20\x205.\x20Document\x20breaking\x20changes\x20in\x20commit\x20message','\x0a🔍\x20ANALYZING\x20MIGRATION\x20IMPACT:\x20','4043200lBWphl','grep\x20-r\x20-l\x20\x22','pipe','log','exec','encoding','add','\x20more','\x20\x20⚠️\x20\x20Found\x20','Add\x20tests\x20to\x20verify\x20schema\x20changes\x20work\x20correctly','Migration\x20affects\x20tables\x20used\x20in\x20codebase','3071664OvWMpA','JVDoa','LaeIq','from','BREAKING','concat','554360oraNat','apply','jWHfS','exit','RENAME\x20TABLE','\x22\x20is\x20not\x20supported','trim','git\x20diff\x20--cached\x20--name-only\x20--diff-filter=AM\x20|\x20grep\x20-E\x20\x22test|spec\x22\x20||\x20echo\x20\x22\x22','forEach','BLOCKED:\x20Breaking\x20database\x20changes\x20detected','toString','Consider\x20adding\x20indexes\x20for\x20columns\x20used\x20in\x20WHERE/JOIN\x20clauses','basename','You\x20MUST\x20update/create\x20tests\x20for\x20schema\x20changes','ignore','mBbya','\x20\x20\x20\x20\x202.\x20Update\x20tests\x20to\x20cover\x20new\x20schema','50dRqwef','child_process','MPSnA','push','\x20\x20📋\x20REQUIRED\x20ACTIONS:\x0a','cKfkX','998PfTCcs','400OhuNfa'];_0x1e62=function(){return _0x499bb9;};return _0x1e62();}var g=(_0x183c10=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x183c10,{'get':(_0x3197e6,_0x1c0724)=>(typeof require<'u'?require:_0x3197e6)[_0x1c0724]}):_0x183c10)(function(_0x32fd5d){var _0x17b1a7=_0x3e1a,_0x52e372={'cKfkX':function(_0x20a741,_0x14c504){return _0x20a741<_0x14c504;},'LaeIq':function(_0x470f3c,_0x39795b){return _0x470f3c(_0x39795b);},'jWHfS':function(_0x465af3,_0x2f9733){return _0x465af3+_0x2f9733;},'LlAAf':function(_0x3d7e81,_0x15e590){return _0x3d7e81+_0x15e590;},'JVDoa':'Dynamic\x20require\x20of\x20\x22','EKVvi':_0x17b1a7(0x13c)};if(_0x52e372[_0x17b1a7(0xec)](typeof require,'u'))return require[_0x17b1a7(0x138)](this,arguments);throw _0x52e372[_0x17b1a7(0x133)](Error,_0x52e372[_0x17b1a7(0x139)](_0x52e372[_0x17b1a7(0x110)](_0x52e372[_0x17b1a7(0x132)],_0x32fd5d),_0x52e372['EKVvi']));}),h=g('fs'),E=g(_0x40f7f1(0x101)),{execSync:f}=g(_0x40f7f1(0x149)),A=process[_0x40f7f1(0x117)][0x2]||'{}',m=JSON[_0x40f7f1(0x107)](A),r=m['tool_input']?.[_0x40f7f1(0xf4)];(!r||!r[_0x40f7f1(0xf2)](/migrations?\/.*\.(ts|js|py|sql)$/i))&&process['exit'](0x0);var o=[],s=[],N=E[_0x40f7f1(0x143)](r);console[_0x40f7f1(0x129)](_0x40f7f1(0x125)+N+'\x0a');var n;try{n=h[_0x40f7f1(0x104)](r,_0x40f7f1(0x11a));}catch{process[_0x40f7f1(0x13a)](0x0);}var a=new Set(),p=new Map(),T=/CREATE\s+TABLE\s+(?:IF\s+NOT\s+EXISTS\s+)?[`"]?(\w+)[`"]?/gi,c;for(;(c=T[_0x40f7f1(0x12a)](n))!==null;)a[_0x40f7f1(0x12c)](c[0x1]);var R=/ALTER\s+TABLE\s+[`"]?(\w+)[`"]?/gi;for(;(c=R[_0x40f7f1(0x12a)](n))!==null;)a['add'](c[0x1]);function _0x3e1a(_0x230ef3,_0x39bbf9){_0x230ef3=_0x230ef3-0xec;var _0x4b230d=_0x1e62();var _0x2b48a1=_0x4b230d[_0x230ef3];return _0x2b48a1;}var y=/DROP\s+TABLE\s+(?:IF\s+EXISTS\s+)?[`"]?(\w+)[`"]?/gi;for(;(c=y[_0x40f7f1(0x12a)](n))!==null;)a[_0x40f7f1(0x12c)](c[0x1]);var L=/@Column\([^)]*\)[\s\n]+(\w+):/gi;for(;(c=L[_0x40f7f1(0x12a)](n))!==null;)p[_0x40f7f1(0x111)](_0x40f7f1(0xf9),(p[_0x40f7f1(0x102)](_0x40f7f1(0xf9))||[])[_0x40f7f1(0x136)](c[0x1]));a['size']===0x0&&p[_0x40f7f1(0xfa)]===0x0&&(console[_0x40f7f1(0x129)](_0x40f7f1(0x109)),console['log'](_0x40f7f1(0x10b)),process[_0x40f7f1(0x13a)](0x0)),console[_0x40f7f1(0x129)]('\x20\x20📊\x20Migration\x20affects\x20tables:\x20'+(Array[_0x40f7f1(0x134)](a)[_0x40f7f1(0x122)](',\x20')||_0x40f7f1(0x11f))+'\x0a');var t=new Set();for(let e of a)try{var _0x24fd9b={};_0x24fd9b['encoding']=_0x40f7f1(0x11a),_0x24fd9b['stdio']=[_0x40f7f1(0x128),'pipe',_0x40f7f1(0x145)];let i=f(_0x40f7f1(0x127)+e+_0x40f7f1(0x11c),_0x24fd9b)[_0x40f7f1(0x13d)]();i&&i[_0x40f7f1(0x116)]('\x0a')[_0x40f7f1(0x113)](Boolean)['forEach'](_0x38fa48=>t[_0x40f7f1(0x12c)](_0x38fa48));}catch{}t[_0x40f7f1(0xfa)]>0x0&&(console[_0x40f7f1(0x129)](_0x40f7f1(0x12e)+t[_0x40f7f1(0xfa)]+_0x40f7f1(0x120)),Array[_0x40f7f1(0x134)](t)[_0x40f7f1(0xf7)](0x0,0xa)[_0x40f7f1(0x13f)](_0x56522d=>{var _0x784828=_0x40f7f1;console[_0x784828(0x129)]('\x20\x20\x20\x20\x20-\x20'+_0x56522d);}),t[_0x40f7f1(0xfa)]>0xa&&console[_0x40f7f1(0x129)]('\x20\x20\x20\x20\x20...\x20and\x20'+(t[_0x40f7f1(0xfa)]-0xa)+_0x40f7f1(0x12d)),console[_0x40f7f1(0x129)](''),s[_0x40f7f1(0x14b)](_0x40f7f1(0x130)),s[_0x40f7f1(0x14b)]('You\x20MUST\x20update\x20affected\x20code\x20files'),s[_0x40f7f1(0x14b)](_0x40f7f1(0x144)));var _0x1fa973={};_0x1fa973[_0x40f7f1(0x10a)]=/DROP\s+COLUMN/gi,_0x1fa973[_0x40f7f1(0x10d)]='DROP\x20COLUMN',_0x1fa973['severity']='BREAKING';var _0x10238b={};_0x10238b[_0x40f7f1(0x10a)]=/DROP\s+TABLE/gi,_0x10238b[_0x40f7f1(0x10d)]=_0x40f7f1(0x115),_0x10238b['severity']=_0x40f7f1(0x135);var _0x5a530e={};_0x5a530e[_0x40f7f1(0x10a)]=/RENAME\s+COLUMN/gi,_0x5a530e[_0x40f7f1(0x10d)]=_0x40f7f1(0x10e),_0x5a530e[_0x40f7f1(0xf8)]=_0x40f7f1(0x135);var _0x178e4f={};_0x178e4f[_0x40f7f1(0x10a)]=/RENAME\s+TABLE/gi,_0x178e4f[_0x40f7f1(0x10d)]=_0x40f7f1(0x13b),_0x178e4f[_0x40f7f1(0xf8)]='BREAKING';var _0x443877={};_0x443877[_0x40f7f1(0x10a)]=/ALTER\s+COLUMN.*NOT\s+NULL/gi,_0x443877['type']=_0x40f7f1(0x10f),_0x443877[_0x40f7f1(0xf8)]=_0x40f7f1(0x135);var M=[_0x1fa973,_0x10238b,_0x5a530e,_0x178e4f,_0x443877],l=[];for(let {pattern:e,type:i,severity:d}of M)e[_0x40f7f1(0x108)](n)&&l[_0x40f7f1(0x14b)](i);l[_0x40f7f1(0xf0)]>0x0&&(console[_0x40f7f1(0x129)]('\x20\x20🚨\x20BREAKING\x20CHANGES\x20DETECTED:\x0a'),l[_0x40f7f1(0x13f)](_0x3a6d3c=>{var _0x4098f9=_0x40f7f1;console[_0x4098f9(0x129)](_0x4098f9(0xf6)+_0x3a6d3c);}),console['log'](''),o[_0x40f7f1(0x14b)](_0x40f7f1(0x140)),o['push']('Before\x20proceeding,\x20you\x20MUST:'),o['push']('\x20\x201.\x20Update\x20ALL\x20code\x20that\x20uses\x20affected\x20tables/columns'),o[_0x40f7f1(0x14b)](_0x40f7f1(0xfc)),o['push'](_0x40f7f1(0x106)),o['push'](_0x40f7f1(0x119)));try{var _0xe08cc3={};_0xe08cc3[_0x40f7f1(0x12b)]=_0x40f7f1(0x11a),_0xe08cc3['stdio']=['pipe',_0x40f7f1(0x128),_0x40f7f1(0x145)],!f(_0x40f7f1(0x13e),_0xe08cc3)['trim']()&&t[_0x40f7f1(0xfa)]>0x0&&(s['push'](_0x40f7f1(0xf5)),s[_0x40f7f1(0x14b)](_0x40f7f1(0x12f)),s[_0x40f7f1(0x14b)]('Test\x20both\x20data\x20operations\x20and\x20edge\x20cases'));}catch{}n[_0x40f7f1(0xf2)](/ADD\s+(?:COLUMN\s+)?/gi)&&(n[_0x40f7f1(0xf2)](/CREATE\s+INDEX/gi)||(s[_0x40f7f1(0x14b)]('Adding\x20columns\x20but\x20no\x20indexes\x20detected'),s[_0x40f7f1(0x14b)](_0x40f7f1(0x142)))),(t['size']>0x0||l[_0x40f7f1(0xf0)]>0x0)&&(console[_0x40f7f1(0x129)](_0x40f7f1(0x14c)),console['log']('\x20\x20\x20\x20\x201.\x20Review\x20and\x20update\x20'+t[_0x40f7f1(0xfa)]+_0x40f7f1(0xef)),console[_0x40f7f1(0x129)](_0x40f7f1(0x147)),console['log'](_0x40f7f1(0xf3)),console[_0x40f7f1(0x129)]('\x20\x20\x20\x20\x204.\x20Run:\x20npm\x20run\x20build\x20(verify\x20TypeScript\x20types\x20are\x20valid)'),console[_0x40f7f1(0x129)](_0x40f7f1(0x124)),console[_0x40f7f1(0x129)]('')),o['length']>0x0&&(console['error'](_0x40f7f1(0x100)),o[_0x40f7f1(0x13f)](_0x567a07=>console[_0x40f7f1(0xff)]('\x20\x20'+_0x567a07)),console[_0x40f7f1(0xff)](_0x40f7f1(0x11d)),process['exit'](0x2)),s[_0x40f7f1(0xf0)]>0x0&&(console[_0x40f7f1(0xfe)](_0x40f7f1(0x10c)),s['forEach'](_0x571d43=>console['warn']('\x20\x20'+_0x571d43)),console[_0x40f7f1(0xfe)]('\x0a')),console[_0x40f7f1(0x129)](_0x40f7f1(0xfd)),process[_0x40f7f1(0x13a)](0x0);
|
|
2
|
+
var _0x51ec66=_0x21d0;(function(_0x48c243,_0x75a0cc){var _0x23faa4=_0x21d0,_0x17d9c8=_0x48c243();while(!![]){try{var _0x2a3fe8=-parseInt(_0x23faa4(0x13b))/0x1+-parseInt(_0x23faa4(0x12c))/0x2+parseInt(_0x23faa4(0x144))/0x3*(-parseInt(_0x23faa4(0x109))/0x4)+-parseInt(_0x23faa4(0x13f))/0x5+-parseInt(_0x23faa4(0x10c))/0x6*(-parseInt(_0x23faa4(0x112))/0x7)+parseInt(_0x23faa4(0xfa))/0x8*(parseInt(_0x23faa4(0x134))/0x9)+-parseInt(_0x23faa4(0x113))/0xa*(-parseInt(_0x23faa4(0x127))/0xb);if(_0x2a3fe8===_0x75a0cc)break;else _0x17d9c8['push'](_0x17d9c8['shift']());}catch(_0x121ac0){_0x17d9c8['push'](_0x17d9c8['shift']());}}}(_0x49c6,0x1b49e));var _0x5dc0bc=(function(){var _0x15044f=_0x21d0,_0x6d28fe={};_0x6d28fe[_0x15044f(0x11c)]=function(_0x4463fa,_0x5305e8){return _0x4463fa!==_0x5305e8;},_0x6d28fe[_0x15044f(0x105)]=_0x15044f(0x100);var _0x7a156d=_0x6d28fe,_0x2d5c8c=!![];return function(_0x5a7cc8,_0x3cac90){var _0x2a9c24=_0x15044f;if(_0x7a156d[_0x2a9c24(0x11c)](_0x7a156d[_0x2a9c24(0x105)],_0x7a156d['bfZUG']))_0x5d3ce3['log'](_0x2a9c24(0xfd)+_0x19042f);else{var _0x12ca90=_0x2d5c8c?function(){if(_0x3cac90){var _0x378e6f=_0x3cac90['apply'](_0x5a7cc8,arguments);return _0x3cac90=null,_0x378e6f;}}:function(){};return _0x2d5c8c=![],_0x12ca90;}};}()),_0x2a809e=_0x5dc0bc(this,function(){var _0x15838f=_0x21d0,_0x213e2d={};_0x213e2d[_0x15838f(0xfe)]='(((.+)+)+)+$';var _0x4d504f=_0x213e2d;return _0x2a809e['toString']()[_0x15838f(0x12f)](_0x4d504f[_0x15838f(0xfe)])['toString']()['constructor'](_0x2a809e)[_0x15838f(0x12f)](_0x4d504f[_0x15838f(0xfe)]);});_0x2a809e();var g=(_0x15b370=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x15b370,{'get':(_0x4ce11d,_0x502122)=>(typeof require<'u'?require:_0x4ce11d)[_0x502122]}):_0x15b370)(function(_0x4543f6){var _0x1b8e75=_0x21d0,_0x4f9ee8={};_0x4f9ee8[_0x1b8e75(0x139)]=function(_0x4efcb7,_0x29b756){return _0x4efcb7<_0x29b756;},_0x4f9ee8[_0x1b8e75(0x114)]=function(_0x538e23,_0x1bd6cf){return _0x538e23+_0x1bd6cf;},_0x4f9ee8[_0x1b8e75(0x131)]=function(_0x5638cf,_0x43cd82){return _0x5638cf+_0x43cd82;},_0x4f9ee8['yeRBJ']=_0x1b8e75(0x13c),_0x4f9ee8[_0x1b8e75(0x138)]=_0x1b8e75(0x145);var _0x8a127e=_0x4f9ee8;if(_0x8a127e[_0x1b8e75(0x139)](typeof require,'u'))return require[_0x1b8e75(0x118)](this,arguments);throw Error(_0x8a127e[_0x1b8e75(0x114)](_0x8a127e[_0x1b8e75(0x131)](_0x8a127e[_0x1b8e75(0x148)],_0x4543f6),_0x8a127e[_0x1b8e75(0x138)]));}),h=g('fs'),E=g(_0x51ec66(0x14e)),{execSync:f}=g(_0x51ec66(0x14d)),A=process[_0x51ec66(0xf8)][0x2]||'{}',m=JSON[_0x51ec66(0x152)](A),r=m['tool_input']?.[_0x51ec66(0x142)];(!r||!r[_0x51ec66(0x126)](/migrations?\/.*\.(ts|js|py|sql)$/i))&&process['exit'](0x0);var o=[],s=[],N=E['basename'](r);function _0x21d0(_0x61d1dd,_0x998ca1){_0x61d1dd=_0x61d1dd-0xf8;var _0x11b328=_0x49c6();var _0x2a809e=_0x11b328[_0x61d1dd];return _0x2a809e;}console['log'](_0x51ec66(0x123)+N+'\x0a');var n;try{n=h[_0x51ec66(0x122)](r,'utf8');}catch{process[_0x51ec66(0x128)](0x0);}var a=new Set(),p=new Map(),T=/CREATE\s+TABLE\s+(?:IF\s+NOT\s+EXISTS\s+)?[`"]?(\w+)[`"]?/gi,c;for(;(c=T[_0x51ec66(0x10a)](n))!==null;)a[_0x51ec66(0x132)](c[0x1]);var R=/ALTER\s+TABLE\s+[`"]?(\w+)[`"]?/gi;for(;(c=R[_0x51ec66(0x10a)](n))!==null;)a[_0x51ec66(0x132)](c[0x1]);var y=/DROP\s+TABLE\s+(?:IF\s+EXISTS\s+)?[`"]?(\w+)[`"]?/gi;for(;(c=y[_0x51ec66(0x10a)](n))!==null;)a[_0x51ec66(0x132)](c[0x1]);var L=/@Column\([^)]*\)[\s\n]+(\w+):/gi;for(;(c=L[_0x51ec66(0x10a)](n))!==null;)p[_0x51ec66(0x10d)](_0x51ec66(0x135),(p[_0x51ec66(0x14c)]('detected')||[])[_0x51ec66(0x11a)](c[0x1]));a['size']===0x0&&p[_0x51ec66(0x141)]===0x0&&(console[_0x51ec66(0x121)](_0x51ec66(0x12d)),console[_0x51ec66(0x121)](_0x51ec66(0x117)),process[_0x51ec66(0x128)](0x0)),console[_0x51ec66(0x121)](_0x51ec66(0x146)+(Array[_0x51ec66(0x102)](a)['join'](',\x20')||_0x51ec66(0x129))+'\x0a');function _0x49c6(){var _0x4c576a=['\x0a🔍\x20ANALYZING\x20MIGRATION\x20IMPACT:\x20','DROP\x20TABLE','Database\x20schema\x20changed\x20but\x20NO\x20test\x20files\x20were\x20modified','match','5236pkrELl','exit','unknown','ignore','\x0aFix\x20code/tests\x20before\x20committing\x20migration.\x0a','11020FXAqgR','\x20\x20ℹ️\x20\x20Could\x20not\x20extract\x20table/column\x20names\x20from\x20migration','RENAME\x20TABLE','search','\x0a⚠️\x20\x20MIGRATION\x20IMPACT\x20WARNINGS\x0a','SAxEz','add','stdio','233379yCksVJ','detected','split','pipe','dJowm','PoyKx','\x20\x20\x20\x20\x205.\x20Document\x20breaking\x20changes\x20in\x20commit\x20message','192930QhiGlb','Dynamic\x20require\x20of\x20\x22','\x20\x20📋\x20REQUIRED\x20ACTIONS:\x0a','Migration\x20affects\x20tables\x20used\x20in\x20codebase','246925qgGKsB','\x20\x20\x20\x20\x204.\x20Run:\x20npm\x20run\x20build\x20(verify\x20TypeScript\x20types\x20are\x20valid)','size','file_path','You\x20MUST\x20update\x20affected\x20code\x20files','3PNwpKU','\x22\x20is\x20not\x20supported','\x20\x20📊\x20Migration\x20affects\x20tables:\x20','Adding\x20columns\x20but\x20no\x20indexes\x20detected','yeRBJ','severity','Add\x20tests\x20to\x20verify\x20schema\x20changes\x20work\x20correctly','Before\x20proceeding,\x20you\x20MUST:','get','child_process','path','RENAME\x20COLUMN','\x20\x204.\x20Create\x20a\x20rollback\x20plan','\x20\x20✅\x20Migration\x20impact\x20analysis\x20complete\x0a','parse','\x20\x20⚠️\x20\x20Found\x20','argv','\x20\x202.\x20Update\x20ALL\x20tests\x20to\x20reflect\x20schema\x20changes','16UscSzb','\x0a❌\x20MIGRATION\x20IMPACT\x20VALIDATION\x20FAILED\x0a','type','\x20\x20\x20\x20\x20-\x20','HGmVw','\x20\x20\x20\x20\x20...\x20and\x20','lCXkw','BLOCKED:\x20Breaking\x20database\x20changes\x20detected','from','filter','length','bfZUG','\x20\x20\x20\x20\x202.\x20Update\x20tests\x20to\x20cover\x20new\x20schema','warn','grep\x20-r\x20-l\x20\x22','627292ZKOaCl','exec','\x20\x20\x20\x20\x201.\x20Review\x20and\x20update\x20','396fiyInF','set','encoding','\x20affected\x20code\x20files','trim','\x20\x20\x20\x20\x203.\x20Run:\x20npm\x20test\x20(verify\x20all\x20tests\x20pass)','19334oynKtc','5930SYpBeV','ZLCaW','pattern','error','\x20\x20Manual\x20code\x20review\x20required\x0a','apply','utf8','concat','forEach','nUPCm','\x20\x201.\x20Update\x20ALL\x20code\x20that\x20uses\x20affected\x20tables/columns','git\x20diff\x20--cached\x20--name-only\x20--diff-filter=AM\x20|\x20grep\x20-E\x20\x22test|spec\x22\x20||\x20echo\x20\x22\x22','BREAKING','push','log','readFileSync'];_0x49c6=function(){return _0x4c576a;};return _0x49c6();}var t=new Set();for(let e of a)try{var _0x3a5ec6={};_0x3a5ec6[_0x51ec66(0x10e)]=_0x51ec66(0x119),_0x3a5ec6[_0x51ec66(0x133)]=[_0x51ec66(0x137),_0x51ec66(0x137),_0x51ec66(0x12a)];let i=f(_0x51ec66(0x108)+e+'\x22\x20./src\x20./tests\x20--include=\x22*.ts\x22\x20--include=\x22*.js\x22\x20--include=\x22*.tsx\x22\x20--include=\x22*.jsx\x22\x20--include=\x22*.py\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22',_0x3a5ec6)[_0x51ec66(0x110)]();i&&i[_0x51ec66(0x136)]('\x0a')[_0x51ec66(0x103)](Boolean)[_0x51ec66(0x11b)](_0x21205e=>t[_0x51ec66(0x132)](_0x21205e));}catch{}t[_0x51ec66(0x141)]>0x0&&(console[_0x51ec66(0x121)](_0x51ec66(0x153)+t[_0x51ec66(0x141)]+'\x20files\x20that\x20reference\x20these\x20tables:\x0a'),Array[_0x51ec66(0x102)](t)['slice'](0x0,0xa)['forEach'](_0x14fe37=>{var _0xa767ee=_0x51ec66;console['log'](_0xa767ee(0xfd)+_0x14fe37);}),t[_0x51ec66(0x141)]>0xa&&console[_0x51ec66(0x121)](_0x51ec66(0xff)+(t[_0x51ec66(0x141)]-0xa)+'\x20more'),console[_0x51ec66(0x121)](''),s[_0x51ec66(0x120)](_0x51ec66(0x13e)),s[_0x51ec66(0x120)](_0x51ec66(0x143)),s['push']('You\x20MUST\x20update/create\x20tests\x20for\x20schema\x20changes'));var _0x1a3487={};_0x1a3487[_0x51ec66(0x115)]=/DROP\s+COLUMN/gi,_0x1a3487[_0x51ec66(0xfc)]='DROP\x20COLUMN',_0x1a3487['severity']=_0x51ec66(0x11f);var _0x165f4c={};_0x165f4c[_0x51ec66(0x115)]=/DROP\s+TABLE/gi,_0x165f4c[_0x51ec66(0xfc)]=_0x51ec66(0x124),_0x165f4c[_0x51ec66(0x149)]=_0x51ec66(0x11f);var _0x10948c={};_0x10948c[_0x51ec66(0x115)]=/RENAME\s+COLUMN/gi,_0x10948c[_0x51ec66(0xfc)]=_0x51ec66(0x14f),_0x10948c['severity']=_0x51ec66(0x11f);var _0x37da07={};_0x37da07[_0x51ec66(0x115)]=/RENAME\s+TABLE/gi,_0x37da07[_0x51ec66(0xfc)]=_0x51ec66(0x12e),_0x37da07[_0x51ec66(0x149)]=_0x51ec66(0x11f);var _0x37db92={};_0x37db92['pattern']=/ALTER\s+COLUMN.*NOT\s+NULL/gi,_0x37db92[_0x51ec66(0xfc)]='ADD\x20NOT\x20NULL',_0x37db92[_0x51ec66(0x149)]='BREAKING';var M=[_0x1a3487,_0x165f4c,_0x10948c,_0x37da07,_0x37db92],l=[];for(let {pattern:e,type:i,severity:d}of M)e['test'](n)&&l[_0x51ec66(0x120)](i);l['length']>0x0&&(console[_0x51ec66(0x121)]('\x20\x20🚨\x20BREAKING\x20CHANGES\x20DETECTED:\x0a'),l[_0x51ec66(0x11b)](_0x325972=>{var _0x54e8f8=_0x51ec66;console[_0x54e8f8(0x121)](_0x54e8f8(0xfd)+_0x325972);}),console[_0x51ec66(0x121)](''),o['push'](_0x51ec66(0x101)),o[_0x51ec66(0x120)](_0x51ec66(0x14b)),o['push'](_0x51ec66(0x11d)),o[_0x51ec66(0x120)](_0x51ec66(0xf9)),o[_0x51ec66(0x120)]('\x20\x203.\x20Run\x20tests\x20to\x20verify\x20nothing\x20breaks'),o['push'](_0x51ec66(0x150)));try{var _0x466fe9={};_0x466fe9[_0x51ec66(0x10e)]=_0x51ec66(0x119),_0x466fe9[_0x51ec66(0x133)]=[_0x51ec66(0x137),'pipe',_0x51ec66(0x12a)],!f(_0x51ec66(0x11e),_0x466fe9)[_0x51ec66(0x110)]()&&t[_0x51ec66(0x141)]>0x0&&(s[_0x51ec66(0x120)](_0x51ec66(0x125)),s[_0x51ec66(0x120)](_0x51ec66(0x14a)),s[_0x51ec66(0x120)]('Test\x20both\x20data\x20operations\x20and\x20edge\x20cases'));}catch{}n[_0x51ec66(0x126)](/ADD\s+(?:COLUMN\s+)?/gi)&&(n['match'](/CREATE\s+INDEX/gi)||(s[_0x51ec66(0x120)](_0x51ec66(0x147)),s[_0x51ec66(0x120)]('Consider\x20adding\x20indexes\x20for\x20columns\x20used\x20in\x20WHERE/JOIN\x20clauses'))),(t[_0x51ec66(0x141)]>0x0||l[_0x51ec66(0x104)]>0x0)&&(console[_0x51ec66(0x121)](_0x51ec66(0x13d)),console[_0x51ec66(0x121)](_0x51ec66(0x10b)+t['size']+_0x51ec66(0x10f)),console[_0x51ec66(0x121)](_0x51ec66(0x106)),console[_0x51ec66(0x121)](_0x51ec66(0x111)),console[_0x51ec66(0x121)](_0x51ec66(0x140)),console[_0x51ec66(0x121)](_0x51ec66(0x13a)),console[_0x51ec66(0x121)]('')),o['length']>0x0&&(console[_0x51ec66(0x116)](_0x51ec66(0xfb)),o[_0x51ec66(0x11b)](_0x197999=>console[_0x51ec66(0x116)]('\x20\x20'+_0x197999)),console[_0x51ec66(0x116)](_0x51ec66(0x12b)),process['exit'](0x2)),s[_0x51ec66(0x104)]>0x0&&(console['warn'](_0x51ec66(0x130)),s[_0x51ec66(0x11b)](_0x448f25=>console[_0x51ec66(0x107)]('\x20\x20'+_0x448f25)),console[_0x51ec66(0x107)]('\x0a')),console[_0x51ec66(0x121)](_0x51ec66(0x151)),process[_0x51ec66(0x128)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
function _0x31e5(){var _0x17001a=['XBoZZ','pxAfh','toString','3279168YgRfUl','961567eUFayl','\x20hours','WARNING:\x20Task\x20','exit','\x0a\x20\x20Have\x20you\x20completed\x20all\x20criteria?\x20If\x20yes:','child_process','dITHt','\x20has\x20been\x20in\x20progress\x20for\x20','\x0a⚠️\x20\x20TASK\x20COMPLETION\x20WARNINGS\x0a','title','log','existsSync','252129vZOuOx','2493546bAbHoH','XEKxq','search','4759767OGCWPO','floor','WARNING:\x20Commit\x20message\x20does\x20not\x20reference\x20task\x20ID','argv','\x20\x20\x20\x20','\x0a❌\x20TASK\x20COMPLETION\x20VALIDATION\x20FAILED\x0a','readFileSync','in_progress','length','some','26758030SrkqEx','utf8','constructor','(((.+)+)+)+$','includes','git\x20commit','Or\x20mark\x20a\x20task\x20as\x20completed\x20if\x20you\x20just\x20finished\x20it','tool_input','tasks','error','KbqDU','\x20\x20Completion\x20criteria:','7112iLgDLq','startedAt','map','\x0a📋\x20TASK\x20COMPLETION\x20CHECKLIST:\x20','apply','Active\x20task:\x20','5jWmgSE','Dynamic\x20require\x20of\x20\x22','push','warn','status','\x20\x20Task:\x20','\x20\x20\x20\x20node\x20.claude/hooks/complete-task.js\x20','Consider\x20adding\x20task\x20reference:\x20[','completionCriteria','4gtjwus','5999SibIKu','parse','forEach','match','\x20-\x20','BhrRv'];_0x31e5=function(){return _0x17001a;};return _0x31e5();}var _0x3a7707=_0x3c0a;(function(_0x526d18,_0x21f454){var _0x49ba52=_0x3c0a,_0xd0d4ea=_0x526d18();while(!![]){try{var _0x3425fc=-parseInt(_0x49ba52(0xe1))/0x1+-parseInt(_0x49ba52(0xd6))/0x2*(parseInt(_0x49ba52(0xad))/0x3)+-parseInt(_0x49ba52(0xe0))/0x4+-parseInt(_0x49ba52(0xcd))/0x5*(parseInt(_0x49ba52(0xae))/0x6)+-parseInt(_0x49ba52(0xd7))/0x7*(-parseInt(_0x49ba52(0xc7))/0x8)+-parseInt(_0x49ba52(0xb1))/0x9+parseInt(_0x49ba52(0xbb))/0xa;if(_0x3425fc===_0x21f454)break;else _0xd0d4ea['push'](_0xd0d4ea['shift']());}catch(_0x510b77){_0xd0d4ea['push'](_0xd0d4ea['shift']());}}}(_0x31e5,0x84c21));var _0x506313=(function(){var _0x4e2d61=_0x3c0a,_0x5a387c={};_0x5a387c['XBoZZ']=_0x4e2d61(0xaf);var _0x431efe=_0x5a387c,_0x2cb296=!![];return function(_0x1e5bd2,_0x189593){var _0x12f7fb=_0x4e2d61;if(_0x431efe['XBoZZ']!==_0x431efe[_0x12f7fb(0xdd)])_0x41e4d0['log'](_0x12f7fb(0xb5)+(_0x5a69ae+0x1)+'.\x20'+_0x4633dc);else{var _0xe81547=_0x2cb296?function(){var _0x424e41=_0x12f7fb;if(_0x189593){var _0x3fb3be=_0x189593[_0x424e41(0xcb)](_0x1e5bd2,arguments);return _0x189593=null,_0x3fb3be;}}:function(){};return _0x2cb296=![],_0xe81547;}};}()),_0x2368ea=_0x506313(this,function(){var _0x560a6b=_0x3c0a,_0x324067={};_0x324067[_0x560a6b(0xdc)]=_0x560a6b(0xbe);var _0x4953d3=_0x324067;return _0x2368ea[_0x560a6b(0xdf)]()[_0x560a6b(0xb0)](_0x4953d3[_0x560a6b(0xdc)])[_0x560a6b(0xdf)]()[_0x560a6b(0xbd)](_0x2368ea)[_0x560a6b(0xb0)](_0x4953d3[_0x560a6b(0xdc)]);});function _0x3c0a(_0x4e76e1,_0x316085){_0x4e76e1=_0x4e76e1-0xa5;var _0x28c936=_0x31e5();var _0x2368ea=_0x28c936[_0x4e76e1];return _0x2368ea;}_0x2368ea();var c=(_0x2b2162=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2b2162,{'get':(_0x42822e,_0x1f3e43)=>(typeof require<'u'?require:_0x42822e)[_0x1f3e43]}):_0x2b2162)(function(_0x300d91){var _0x236345=_0x3c0a,_0x3241cc={'KbqDU':function(_0x2a6aa8,_0x1ff3c2){return _0x2a6aa8(_0x1ff3c2);},'dITHt':function(_0x5c95c0,_0x1ae467){return _0x5c95c0+_0x1ae467;},'qOdCw':_0x236345(0xce),'pxAfh':'\x22\x20is\x20not\x20supported'};if(typeof require<'u')return require[_0x236345(0xcb)](this,arguments);throw _0x3241cc[_0x236345(0xc5)](Error,_0x3241cc[_0x236345(0xa7)](_0x3241cc['qOdCw']+_0x300d91,_0x3241cc[_0x236345(0xde)]));}),i=c('fs'),u=c('path'),{execSync:I}=c(_0x3a7707(0xa6)),h=process[_0x3a7707(0xb4)][0x2]||'{}',p=JSON[_0x3a7707(0xd8)](h),l=p[_0x3a7707(0xc2)]?.['command']||'',r=[],n=[];l[_0x3a7707(0xbf)](_0x3a7707(0xc0))||process['exit'](0x0);var m='.claude/TASK-TRACKER.json';i[_0x3a7707(0xac)](m)||process[_0x3a7707(0xe4)](0x0);var f=JSON[_0x3a7707(0xd8)](i[_0x3a7707(0xb7)](m,_0x3a7707(0xbc))),t=f[_0x3a7707(0xc3)]['filter'](_0x4dad7d=>_0x4dad7d[_0x3a7707(0xd1)]===_0x3a7707(0xb8));t[_0x3a7707(0xb9)]===0x0&&(r[_0x3a7707(0xcf)]('BLOCKED:\x20No\x20active\x20task\x20when\x20attempting\x20commit'),r[_0x3a7707(0xcf)]('Mark\x20a\x20task\x20as\x20in_progress\x20before\x20committing'),r[_0x3a7707(0xcf)](_0x3a7707(0xc1)));try{let s=l[_0x3a7707(0xda)](/-m\s+["']([^"']+)["']/);if(s){let e=s[0x1];!f[_0x3a7707(0xc3)][_0x3a7707(0xc9)](_0x18402f=>_0x18402f['id'])[_0x3a7707(0xba)](_0x225d44=>e['includes'](_0x225d44))&&t[_0x3a7707(0xb9)]>0x0&&(n[_0x3a7707(0xcf)](_0x3a7707(0xb3)),n[_0x3a7707(0xcf)](_0x3a7707(0xcc)+t[0x0]['id']+_0x3a7707(0xdb)+t[0x0][_0x3a7707(0xaa)]),n[_0x3a7707(0xcf)](_0x3a7707(0xd4)+t[0x0]['id']+']\x20'+e));}}catch{}for(let s of t)s[_0x3a7707(0xd5)]&&s[_0x3a7707(0xd5)][_0x3a7707(0xb9)]>0x0&&(console[_0x3a7707(0xab)](_0x3a7707(0xca)+s['id']+'\x0a'),console['log'](_0x3a7707(0xd2)+s[_0x3a7707(0xaa)]+'\x0a'),console[_0x3a7707(0xab)](_0x3a7707(0xc6)),s[_0x3a7707(0xd5)][_0x3a7707(0xd9)]((_0x71303c,_0x1f7b57)=>{var _0x35fd77=_0x3a7707;console[_0x35fd77(0xab)](_0x35fd77(0xb5)+(_0x1f7b57+0x1)+'.\x20'+_0x71303c);}),console[_0x3a7707(0xab)](_0x3a7707(0xa5)),console[_0x3a7707(0xab)](_0x3a7707(0xd3)+s['id']+'\x0a'));var d=new Date();for(let s of t)if(s[_0x3a7707(0xc8)]){let e=new Date(s['startedAt']),o=(d-e)/(0x3e8*0x3c*0x3c);o>0x8&&(n[_0x3a7707(0xcf)](_0x3a7707(0xe3)+s['id']+_0x3a7707(0xa8)+Math[_0x3a7707(0xb2)](o)+_0x3a7707(0xe2)),n[_0x3a7707(0xcf)]('Consider\x20breaking\x20it\x20into\x20smaller\x20tasks\x20or\x20marking\x20it\x20as\x20blocked'));}r[_0x3a7707(0xb9)]>0x0&&(console[_0x3a7707(0xc4)](_0x3a7707(0xb6)),r[_0x3a7707(0xd9)](_0x1e3ebc=>console['error']('\x20\x20'+_0x1e3ebc)),console['error']('\x0a'),process[_0x3a7707(0xe4)](0x2)),n['length']>0x0&&(console['warn'](_0x3a7707(0xa9)),n['forEach'](_0x2603f9=>console['warn']('\x20\x20'+_0x2603f9)),console[_0x3a7707(0xd0)]('\x0a')),process[_0x3a7707(0xe4)](0x0);
|