gl-life-claude-zen 1.0.3 → 1.3.0

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +213 -0
  2. package/README.md +165 -0
  3. package/dist/hooks/auto-format.js +1 -1
  4. package/dist/hooks/complete-task.js +1 -1
  5. package/dist/hooks/enforce-migration-workflow.js +1 -1
  6. package/dist/hooks/enforce-structured-development.js +1 -1
  7. package/dist/hooks/enforce-test-pyramid.js +1 -1
  8. package/dist/hooks/init-task-tracker.js +1 -1
  9. package/dist/hooks/start-task.js +1 -1
  10. package/dist/hooks/task-status.js +1 -1
  11. package/dist/hooks/validate-database-changes.js +1 -1
  12. package/dist/hooks/validate-e2e-coverage.js +1 -1
  13. package/dist/hooks/validate-git-workflow.js +1 -1
  14. package/dist/hooks/validate-integration-site.js +2 -0
  15. package/dist/hooks/validate-migration-impact.js +1 -1
  16. package/dist/hooks/validate-task-completion.js +1 -1
  17. package/dist/hooks/validate-test-quality.js +1 -1
  18. package/dist/hooks/validate-test-results.js +1 -1
  19. package/dist/hooks/validate-ui-integration.js +1 -1
  20. package/dist/scripts/help.js +1 -1
  21. package/dist/scripts/plan-amend.js +1 -1
  22. package/dist/scripts/plan-create.js +1 -1
  23. package/dist/scripts/plan-help.js +1 -1
  24. package/dist/scripts/plan-init.js +1 -1
  25. package/dist/scripts/plan-manager.js +1 -1
  26. package/dist/scripts/setup-git-hooks.js +1 -1
  27. package/dist/scripts/task-done.js +1 -1
  28. package/dist/scripts/task-merge.js +1 -1
  29. package/dist/scripts/task-next.js +1 -1
  30. package/dist/scripts/task-start.js +1 -1
  31. package/dist/scripts/task-status.js +1 -1
  32. package/lib/init.js +9 -1
  33. package/package.json +6 -2
  34. package/templates/.claude/CLAUDE.md +196 -0
  35. package/templates/.claude/settings.json +40 -0
  36. package/templates/test-site/README.md +271 -0
  37. package/templates/test-site/index.html +13 -0
  38. package/templates/test-site/package.json +25 -0
  39. package/templates/test-site/server.js +125 -0
  40. package/templates/test-site/src/App.css +130 -0
  41. package/templates/test-site/src/App.jsx +78 -0
  42. package/templates/test-site/src/index.css +39 -0
  43. package/templates/test-site/src/main.jsx +10 -0
  44. package/templates/test-site/vite.config.js +12 -0
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x2ac6b9=_0x1231;(function(_0x10c597,_0x35bc0a){const _0x3af773=_0x1231,_0x202f2c=_0x10c597();while(!![]){try{const _0x429cce=parseInt(_0x3af773(0xff))/0x1*(parseInt(_0x3af773(0xfb))/0x2)+-parseInt(_0x3af773(0x12d))/0x3*(-parseInt(_0x3af773(0x114))/0x4)+parseInt(_0x3af773(0x10a))/0x5*(-parseInt(_0x3af773(0xeb))/0x6)+parseInt(_0x3af773(0x133))/0x7+parseInt(_0x3af773(0x13a))/0x8+parseInt(_0x3af773(0xe5))/0x9+-parseInt(_0x3af773(0x137))/0xa;if(_0x429cce===_0x35bc0a)break;else _0x202f2c['push'](_0x202f2c['shift']());}catch(_0x5dc032){_0x202f2c['push'](_0x202f2c['shift']());}}}(_0x5f40,0xdc035));const _0x57d208=(function(){const _0x55fd8c=_0x1231,_0x586521={};_0x586521[_0x55fd8c(0x12c)]=function(_0x5b8ea7,_0x194810){return _0x5b8ea7===_0x194810;},_0x586521[_0x55fd8c(0x142)]=_0x55fd8c(0xfe),_0x586521[_0x55fd8c(0x115)]=function(_0xd77b71,_0x160a2b){return _0xd77b71===_0x160a2b;},_0x586521[_0x55fd8c(0xfd)]='NmAgC',_0x586521['hbvrx']='Initialize\x20task\x20tracker\x20first:',_0x586521[_0x55fd8c(0x131)]='BLOCKED:\x20No\x20active\x20task',_0x586521[_0x55fd8c(0x13e)]=_0x55fd8c(0x11b),_0x586521[_0x55fd8c(0x13f)]=_0x55fd8c(0x141),_0x586521['lTQWP']=_0x55fd8c(0x11f),_0x586521[_0x55fd8c(0x102)]=_0x55fd8c(0xf4),_0x586521['dsjOF']=function(_0x176159,_0x440311){return _0x176159!==_0x440311;},_0x586521[_0x55fd8c(0x106)]=_0x55fd8c(0x11c),_0x586521[_0x55fd8c(0xf7)]=_0x55fd8c(0xf3),_0x586521['FgOTy']='Start\x20the\x20task:',_0x586521[_0x55fd8c(0xf9)]='Edit',_0x586521[_0x55fd8c(0x11e)]=_0x55fd8c(0x123),_0x586521[_0x55fd8c(0x10b)]=_0x55fd8c(0x120);const _0x2429a6=_0x586521;let _0x50a2ca=!![];return function(_0x38e06a,_0x2dd569){const _0x441c14=_0x55fd8c,_0x58e9f8={'BGHjQ':_0x441c14(0x11a),'CQXKt':_0x2429a6[_0x441c14(0x101)],'CMAWD':function(_0x51ddcc,_0x2978a4){const _0x4031d9=_0x441c14;return _0x2429a6[_0x4031d9(0x12c)](_0x51ddcc,_0x2978a4);},'fTvBz':_0x2429a6['dCbyJ'],'GZGNW':_0x2429a6[_0x441c14(0x13e)],'uOuIq':_0x2429a6[_0x441c14(0x13f)],'AsQPb':_0x2429a6['lTQWP'],'zxlEg':_0x2429a6[_0x441c14(0x102)],'PSzNN':function(_0x565f69,_0x49e994){const _0x1fa24a=_0x441c14;return _0x2429a6[_0x1fa24a(0x12f)](_0x565f69,_0x49e994);},'DspXE':_0x2429a6[_0x441c14(0x106)],'GpdzJ':_0x2429a6[_0x441c14(0xf7)],'IsdDV':_0x2429a6[_0x441c14(0xf1)],'uChbh':function(_0x1c6ac7,_0x2c16c1){return _0x1c6ac7===_0x2c16c1;},'xoyYa':_0x2429a6[_0x441c14(0xf9)],'GUpkl':_0x441c14(0xf6),'MMhQZ':_0x2429a6['bWWGh'],'SsCCE':_0x2429a6[_0x441c14(0x10b)]},_0x146da1=_0x50a2ca?function(){const _0x94ac7c=_0x441c14;if(_0x2429a6['CNXvD'](_0x2429a6['UezAo'],_0x94ac7c(0x105))){let _0x52329c=_0x2b8cfd[_0x94ac7c(0x122)](_0x50a66d,_0x94ac7c(0x124)),_0x43174c=_0x294746[_0x94ac7c(0x122)](_0x3b1fae,_0x94ac7c(0xe0));if(_0xb9d442['existsSync'](_0x43174c)&&!_0x3b2749[_0x94ac7c(0xe9)](_0x52329c)&&(_0xca13e3[_0x94ac7c(0xea)](_0x58e9f8['BGHjQ']),_0x230873[_0x94ac7c(0xea)](_0x94ac7c(0x100)+_0x3368eb),_0x763444[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0xf2)]),_0x20e77f[_0x94ac7c(0xea)](_0x94ac7c(0x125))),_0x37b98d&&(_0xa1a492[_0x94ac7c(0xed)](/^\.\/Agent\//)||_0x2842d0[_0x94ac7c(0xed)](/^Agent\//))&&(_0x58e9f8['CMAWD'](_0x53f5d4,_0x94ac7c(0xf6))||_0x58e9f8[_0x94ac7c(0xfa)](_0x47e12a,'Edit'))&&_0x12bd94[_0x94ac7c(0xe9)](_0x52329c)){let _0x21ef85=_0x18e7ca[_0x94ac7c(0xe1)](_0x2d0eaa[_0x94ac7c(0xe7)](_0x52329c,_0x94ac7c(0xf4)));if(!_0x21ef85[_0x94ac7c(0xfc)])_0xe35c42[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0x10d)]),_0x5cdd09['push'](_0x94ac7c(0x100)+_0x56eb76),_0x285c1b['push'](_0x94ac7c(0xe4)+_0x3a9b9d[_0x94ac7c(0x128)](_0x28c0bf)),_0x2af7e9[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0x118)]),_0xb9b0a2[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0x117)]);else{let _0x48270c=_0x19cc32['join'](_0x4e8154,_0x58e9f8[_0x94ac7c(0x126)],_0x21ef85['activeTask']+'.json');if(_0x2bea2a['existsSync'](_0x48270c)){let _0x46d5e0=_0x3a56c3[_0x94ac7c(0xe1)](_0x580af1[_0x94ac7c(0xe7)](_0x48270c,_0x58e9f8[_0x94ac7c(0x129)]));_0x58e9f8[_0x94ac7c(0x108)](_0x46d5e0[_0x94ac7c(0x107)],_0x58e9f8[_0x94ac7c(0x110)])&&(_0x50c81d[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0x134)]),_0x4a9311[_0x94ac7c(0xea)](_0x94ac7c(0x100)+_0x36bb84),_0x5b197d[_0x94ac7c(0xea)](_0x94ac7c(0x119)+_0x21ef85[_0x94ac7c(0xfc)]+'\x20['+_0x46d5e0[_0x94ac7c(0x107)]+']'),_0xef2675['push'](_0x58e9f8['IsdDV']),_0x485f47[_0x94ac7c(0xea)]('\x20\x20npm\x20run\x20task:start\x20'+_0x21ef85[_0x94ac7c(0xfc)]));}}}_0x209ccc&&_0x55b36e[_0x94ac7c(0xed)](/\.claude\/plans\/[^/]+\/tasks\/TASK-\d{3}\.json$/)&&(_0x58e9f8[_0x94ac7c(0x10f)](_0x1f636a,_0x58e9f8[_0x94ac7c(0x136)])||_0x58e9f8[_0x94ac7c(0x10f)](_0x396ff4,_0x58e9f8['GUpkl']))&&(_0x1d0313[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0x127)]),_0x202fa8[_0x94ac7c(0xea)]('File:\x20'+_0xeb9634[_0x94ac7c(0x128)](_0x2c296a)),_0x54a417[_0x94ac7c(0xea)](_0x94ac7c(0x116)),_0x106631['push'](_0x58e9f8['uOuIq']),_0x29e182[_0x94ac7c(0xea)](_0x58e9f8['SsCCE']));}else{if(_0x2dd569){if(_0x2429a6['TMOOE'](_0x2429a6[_0x94ac7c(0xfd)],_0x94ac7c(0x13b))){const _0x36488b=_0x2dd569[_0x94ac7c(0x11d)](_0x38e06a,arguments);return _0x2dd569=null,_0x36488b;}else{let _0xc7722c=_0x41440c[_0x94ac7c(0xe1)](_0x4ffb84[_0x94ac7c(0xe7)](_0x4e84bf,_0x58e9f8[_0x94ac7c(0x129)]));if(!_0xc7722c[_0x94ac7c(0xfc)])_0xe937df[_0x94ac7c(0xea)]('BLOCKED:\x20No\x20active\x20task'),_0x360361[_0x94ac7c(0xea)](_0x94ac7c(0x100)+_0x28d4a2),_0x59ff5e[_0x94ac7c(0xea)]('Modifying:\x20'+_0x563f3e[_0x94ac7c(0x128)](_0x189967)),_0x2c7541['push'](_0x58e9f8[_0x94ac7c(0x118)]),_0x255af4[_0x94ac7c(0xea)](_0x58e9f8['uOuIq']);else{let _0x533d72=_0x145028[_0x94ac7c(0x122)](_0x2120d4,_0x58e9f8['AsQPb'],_0xc7722c['activeTask']+_0x94ac7c(0x139));if(_0x22bc48['existsSync'](_0x533d72)){let _0x50de5e=_0xde2bf3[_0x94ac7c(0xe1)](_0x55f930[_0x94ac7c(0xe7)](_0x533d72,_0x94ac7c(0xf4)));_0x58e9f8[_0x94ac7c(0x108)](_0x50de5e['status'],'in_progress')&&(_0x22c279[_0x94ac7c(0xea)](_0x94ac7c(0xf3)),_0x5db539[_0x94ac7c(0xea)]('Plan:\x20'+_0x409ab2),_0x51f094['push'](_0x94ac7c(0x119)+_0xc7722c['activeTask']+'\x20['+_0x50de5e['status']+']'),_0x4ca2d4[_0x94ac7c(0xea)](_0x58e9f8[_0x94ac7c(0xee)]),_0x27b8a0['push'](_0x94ac7c(0x13c)+_0xc7722c['activeTask']));}}}}}}:function(){};return _0x50a2ca=![],_0x146da1;};}()),_0x30e0ca=_0x57d208(this,function(){const _0x13e40=_0x1231,_0x3b2010={};_0x3b2010[_0x13e40(0xec)]=_0x13e40(0x135);const _0x14b358=_0x3b2010;return _0x30e0ca[_0x13e40(0x10c)]()[_0x13e40(0x121)](_0x14b358[_0x13e40(0xec)])[_0x13e40(0x10c)]()['constructor'](_0x30e0ca)['search'](_0x14b358[_0x13e40(0xec)]);});function _0x1231(_0x1e9778,_0x12a43a){_0x1e9778=_0x1e9778-0xe0;const _0x3bc536=_0x5f40();let _0x30e0ca=_0x3bc536[_0x1e9778];return _0x30e0ca;}_0x30e0ca();var h=(_0x4324b4=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x4324b4,{'get':(_0x24f1fb,_0x2c2ea1)=>(typeof require<'u'?require:_0x24f1fb)[_0x2c2ea1]}):_0x4324b4)(function(_0x42677c){const _0x3db1a4=_0x1231,_0x101a64={'mLiou':function(_0xbe1fc0,_0x431deb){return _0xbe1fc0(_0x431deb);},'akEwR':function(_0x40a91a,_0x1e20df){return _0x40a91a+_0x1e20df;},'KyNDl':_0x3db1a4(0x103),'JtXew':_0x3db1a4(0xe8)};if(typeof require<'u')return require[_0x3db1a4(0x11d)](this,arguments);throw _0x101a64[_0x3db1a4(0x12a)](Error,_0x101a64['akEwR'](_0x101a64['KyNDl']+_0x42677c,_0x101a64['JtXew']));}),a=h('fs'),e=h('path'),E=process[_0x2ac6b9(0xf5)][0x2]||'{}',m=JSON[_0x2ac6b9(0xe1)](E),t=m[_0x2ac6b9(0x104)]?.[_0x2ac6b9(0xf0)],i=m['tool'],s=[],f=[],k=_0x2ac6b9(0x132),c=null,o=null;a[_0x2ac6b9(0xe9)](k)&&(c=a['readFileSync'](k,_0x2ac6b9(0xf4))[_0x2ac6b9(0x12b)](),o=e[_0x2ac6b9(0x122)](_0x2ac6b9(0xf8),c)),t&&t[_0x2ac6b9(0x138)](_0x2ac6b9(0x140))&&i==='Edit'&&o&&a[_0x2ac6b9(0xe9)](e['join'](o,_0x2ac6b9(0xe0)))&&(s['push']('BLOCKED:\x20Project\x20plan\x20is\x20LOCKED\x20and\x20immutable'),s['push'](_0x2ac6b9(0x12e)+e['basename'](t)),s['push']('To\x20make\x20changes,\x20use\x20the\x20amendment\x20tool:'),s[_0x2ac6b9(0xea)]('\x20\x20npm\x20run\x20plan:amend'));if(c&&o){let n=e['join'](o,'TASK-TRACKER.json'),l=e['join'](o,'.plan-locked');if(a['existsSync'](l)&&!a[_0x2ac6b9(0xe9)](n)&&(s['push']('BLOCKED:\x20Project\x20plan\x20is\x20locked\x20but\x20task\x20tracker\x20is\x20missing'),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x100)+c),s['push'](_0x2ac6b9(0x10e)),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x125))),t&&(t[_0x2ac6b9(0xed)](/^\.\/Agent\//)||t[_0x2ac6b9(0xed)](/^Agent\//))&&(i==='Write'||i===_0x2ac6b9(0x130))&&a[_0x2ac6b9(0xe9)](n)){let r=JSON['parse'](a[_0x2ac6b9(0xe7)](n,_0x2ac6b9(0xf4)));if(!r[_0x2ac6b9(0xfc)])s[_0x2ac6b9(0xea)](_0x2ac6b9(0xe6)),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x100)+c),s[_0x2ac6b9(0xea)](_0x2ac6b9(0xe4)+e[_0x2ac6b9(0x128)](t)),s[_0x2ac6b9(0xea)]('Start\x20a\x20task\x20first:'),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x141));else{let p=e['join'](o,'tasks',r[_0x2ac6b9(0xfc)]+_0x2ac6b9(0x139));if(a['existsSync'](p)){let u=JSON[_0x2ac6b9(0xe1)](a[_0x2ac6b9(0xe7)](p,_0x2ac6b9(0xf4)));u[_0x2ac6b9(0x107)]!=='in_progress'&&(s[_0x2ac6b9(0xea)](_0x2ac6b9(0xf3)),s[_0x2ac6b9(0xea)]('Plan:\x20'+c),s['push']('Task:\x20'+r['activeTask']+'\x20['+u[_0x2ac6b9(0x107)]+']'),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x109)),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x13c)+r[_0x2ac6b9(0xfc)]));}}}t&&t[_0x2ac6b9(0xed)](/\.claude\/plans\/[^/]+\/tasks\/TASK-\d{3}\.json$/)&&(i===_0x2ac6b9(0x130)||i==='Write')&&(s[_0x2ac6b9(0xea)](_0x2ac6b9(0x123)),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x12e)+e[_0x2ac6b9(0x128)](t)),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x116)),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x141)),s[_0x2ac6b9(0xea)]('\x20\x20npm\x20run\x20task:done\x20TASK-XXX'));}else t&&(t[_0x2ac6b9(0xed)](/^\.\/Agent\//)||t[_0x2ac6b9(0xed)](/^Agent\//))&&(i==='Write'||i===_0x2ac6b9(0x130))&&(s[_0x2ac6b9(0xea)](_0x2ac6b9(0x112)),s['push']('Modifying:\x20'+e[_0x2ac6b9(0x128)](t)),s['push']('Set\x20active\x20plan\x20first:'),s[_0x2ac6b9(0xea)](_0x2ac6b9(0x143)));s[_0x2ac6b9(0x111)]>0x0&&(console[_0x2ac6b9(0x113)]('\x0a❌\x20STRUCTURED\x20DEVELOPMENT\x20ENFORCEMENT\x20FAILED\x0a'),s['forEach'](_0x51be43=>console[_0x2ac6b9(0x113)]('\x20\x20'+_0x51be43)),console[_0x2ac6b9(0x113)]('\x0a'),process[_0x2ac6b9(0xe3)](0x2)),f['length']>0x0&&(console[_0x2ac6b9(0x13d)](_0x2ac6b9(0xe2)),f[_0x2ac6b9(0xef)](_0x513605=>console[_0x2ac6b9(0x13d)]('\x20\x20'+_0x513605)),console[_0x2ac6b9(0x13d)]('\x0a')),process['exit'](0x0);function _0x5f40(){const _0x1e8f08=['Start\x20the\x20task:','8605cruDGw','RvMaF','toString','fTvBz','Initialize\x20task\x20tracker\x20first:','uChbh','DspXE','length','BLOCKED:\x20No\x20active\x20plan\x20found','error','3173704HPLJUg','TMOOE','Use\x20task\x20management\x20commands:','uOuIq','GZGNW','Task:\x20','BLOCKED:\x20Project\x20plan\x20is\x20locked\x20but\x20task\x20tracker\x20is\x20missing','Start\x20a\x20task\x20first:','in_progress','apply','bWWGh','tasks','\x20\x20npm\x20run\x20task:done\x20TASK-XXX','search','join','BLOCKED:\x20Task\x20files\x20are\x20read-only','TASK-TRACKER.json','\x20\x20npm\x20run\x20plan:init','AsQPb','MMhQZ','basename','zxlEg','mLiou','trim','CNXvD','3pCiNEr','File:\x20','dsjOF','Edit','dCbyJ','.claude/ACTIVE-PLAN','3897635YFQiVj','GpdzJ','(((.+)+)+)+$','xoyYa','24665860DdLDgr','includes','.json','2668976vNzFXw','NmAgC','\x20\x20npm\x20run\x20task:start\x20','warn','vKcpZ','CZkKk','PROJECT-PLAN.json','\x20\x20npm\x20run\x20task:start\x20TASK-XXX','UezAo','\x20\x20npm\x20run\x20plan:manager','.plan-locked','parse','\x0a⚠️\x20\x20STRUCTURED\x20DEVELOPMENT\x20WARNINGS\x0a','exit','Modifying:\x20','15980751yLccMr','BLOCKED:\x20No\x20active\x20task','readFileSync','\x22\x20is\x20not\x20supported','existsSync','push','2922kzOanm','CYbWc','match','IsdDV','forEach','file_path','FgOTy','CQXKt','BLOCKED:\x20Active\x20task\x20is\x20not\x20in_progress\x20state','utf8','argv','Write','ISujr','.claude/plans','ShJfr','CMAWD','4YJDZgZ','activeTask','wwfhI','MXoDb','373197iUWmym','Plan:\x20','hbvrx','vcMNo','Dynamic\x20require\x20of\x20\x22','tool_input','HURfJ','aNcsW','status','PSzNN'];_0x5f40=function(){return _0x1e8f08;};return _0x5f40();}
2
+ const _0x125b51=_0x222a;(function(_0x5a1241,_0x52298d){const _0x203303=_0x222a,_0x1ab7b7=_0x5a1241();while(!![]){try{const _0x1f00b6=parseInt(_0x203303(0x1b3))/0x1+parseInt(_0x203303(0x1a1))/0x2*(-parseInt(_0x203303(0x187))/0x3)+parseInt(_0x203303(0x177))/0x4*(parseInt(_0x203303(0x17c))/0x5)+-parseInt(_0x203303(0x166))/0x6*(parseInt(_0x203303(0x1a6))/0x7)+-parseInt(_0x203303(0x1b1))/0x8+-parseInt(_0x203303(0x1ad))/0x9*(parseInt(_0x203303(0x1b9))/0xa)+parseInt(_0x203303(0x1a7))/0xb;if(_0x1f00b6===_0x52298d)break;else _0x1ab7b7['push'](_0x1ab7b7['shift']());}catch(_0x3d9e6d){_0x1ab7b7['push'](_0x1ab7b7['shift']());}}}(_0x3045,0xe671d));const _0x52c388=(function(){const _0x3dca38=_0x222a,_0x420e9c={};_0x420e9c[_0x3dca38(0x1b0)]=function(_0x351294,_0x1da302){return _0x351294===_0x1da302;},_0x420e9c[_0x3dca38(0x178)]=_0x3dca38(0x1ba),_0x420e9c[_0x3dca38(0x186)]=_0x3dca38(0x174),_0x420e9c[_0x3dca38(0x1a9)]=_0x3dca38(0x18b),_0x420e9c[_0x3dca38(0x183)]='utf8',_0x420e9c[_0x3dca38(0x172)]=_0x3dca38(0x181),_0x420e9c[_0x3dca38(0x194)]=function(_0x32b90e,_0x1eb524){return _0x32b90e!==_0x1eb524;},_0x420e9c[_0x3dca38(0x193)]='in_progress',_0x420e9c[_0x3dca38(0x17f)]=_0x3dca38(0x196),_0x420e9c['THDIT']=_0x3dca38(0x185);const _0x59881d=_0x420e9c;let _0x2fc7cb=!![];return function(_0x4833d3,_0x4e99e4){const _0x3dcc6b=_0x3dca38,_0x3e4c9d={'qBHYr':_0x59881d['pjKEg'],'wCXiL':_0x59881d[_0x3dcc6b(0x172)],'vjzFE':function(_0x2b7db0,_0x49c770){const _0x20e995=_0x3dcc6b;return _0x59881d[_0x20e995(0x194)](_0x2b7db0,_0x49c770);},'GNvRA':_0x59881d['AbLir'],'qfmeM':_0x59881d['zuLHv']};if(_0x59881d['THDIT']===_0x59881d[_0x3dcc6b(0x165)]){const _0x14a00e=_0x2fc7cb?function(){const _0x10a029=_0x3dcc6b;if(_0x59881d['QvenF'](_0x59881d['wKwxv'],_0x59881d[_0x10a029(0x186)])){let _0xb88cf8=_0x4e2764[_0x10a029(0x198)](_0x438b68['readFileSync'](_0x59c256,_0x3e4c9d['qBHYr']));if(!_0xb88cf8[_0x10a029(0x16f)])_0x1b9b30[_0x10a029(0x16b)](_0x3e4c9d[_0x10a029(0x169)]),_0x36df71[_0x10a029(0x16b)](_0x10a029(0x184)+_0x1f8ccb),_0x33cb30[_0x10a029(0x16b)](_0x10a029(0x191)+_0x37988e[_0x10a029(0x19f)](_0x2576df)),_0x339315[_0x10a029(0x16b)](_0x10a029(0x1aa)),_0x3f4583[_0x10a029(0x16b)](_0x10a029(0x1ac));else{let _0x4489f=_0x497071[_0x10a029(0x195)](_0x30721c,_0x10a029(0x182),_0xb88cf8[_0x10a029(0x16f)]+'.json');if(_0x562dae[_0x10a029(0x1a5)](_0x4489f)){let _0x343b76=_0x173a87[_0x10a029(0x198)](_0xd78774[_0x10a029(0x1a3)](_0x4489f,_0x3e4c9d[_0x10a029(0x1a8)]));_0x3e4c9d['vjzFE'](_0x343b76[_0x10a029(0x19d)],_0x3e4c9d['GNvRA'])&&(_0x402516[_0x10a029(0x16b)](_0x3e4c9d[_0x10a029(0x17a)]),_0x221e8d['push'](_0x10a029(0x184)+_0x2f272d),_0x15b039[_0x10a029(0x16b)](_0x10a029(0x16d)+_0xb88cf8[_0x10a029(0x16f)]+'\x20['+_0x343b76[_0x10a029(0x19d)]+']'),_0x4ec107[_0x10a029(0x16b)](_0x10a029(0x16c)),_0x19af23[_0x10a029(0x16b)](_0x10a029(0x173)+_0xb88cf8['activeTask']));}}}else{if(_0x4e99e4){const _0x48cc71=_0x4e99e4[_0x10a029(0x175)](_0x4833d3,arguments);return _0x4e99e4=null,_0x48cc71;}}}:function(){};return _0x2fc7cb=![],_0x14a00e;}else return _0x52a249[_0x3dcc6b(0x19c)]()[_0x3dcc6b(0x1b8)](_0x59881d[_0x3dcc6b(0x1a9)])['toString']()['constructor'](_0x25244d)[_0x3dcc6b(0x1b8)](_0x59881d[_0x3dcc6b(0x1a9)]);};}()),_0x100076=_0x52c388(this,function(){const _0x220f64=_0x222a,_0x572a5e={};_0x572a5e[_0x220f64(0x18c)]='(((.+)+)+)+$';const _0x38e5a1=_0x572a5e;return _0x100076[_0x220f64(0x19c)]()[_0x220f64(0x1b8)](_0x220f64(0x18b))[_0x220f64(0x19c)]()[_0x220f64(0x1a0)](_0x100076)[_0x220f64(0x1b8)](_0x38e5a1['xhGjV']);});_0x100076();var h=(_0x41297f=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x41297f,{'get':(_0x353616,_0x1e5aa4)=>(typeof require<'u'?require:_0x353616)[_0x1e5aa4]}):_0x41297f)(function(_0x3035c9){const _0x497640=_0x222a,_0xf51691={};_0xf51691[_0x497640(0x170)]=function(_0x1b333c,_0x27302d){return _0x1b333c<_0x27302d;},_0xf51691[_0x497640(0x19a)]=function(_0x359ba3,_0x23e0cf){return _0x359ba3+_0x23e0cf;},_0xf51691[_0x497640(0x18f)]=function(_0x3581b0,_0x3d975d){return _0x3581b0+_0x3d975d;},_0xf51691[_0x497640(0x17d)]=_0x497640(0x1ae);const _0xf35cd=_0xf51691;if(_0xf35cd[_0x497640(0x170)](typeof require,'u'))return require[_0x497640(0x175)](this,arguments);throw Error(_0xf35cd[_0x497640(0x19a)](_0xf35cd[_0x497640(0x18f)](_0xf35cd['GKXDl'],_0x3035c9),'\x22\x20is\x20not\x20supported'));}),a=h('fs'),e=h(_0x125b51(0x1a4)),E=process[_0x125b51(0x18d)][0x2]||'{}',m=JSON[_0x125b51(0x198)](E),t=m[_0x125b51(0x1a2)]?.[_0x125b51(0x192)],i=m[_0x125b51(0x1b5)],s=[],f=[],k=_0x125b51(0x188),c=null,o=null;a[_0x125b51(0x1a5)](k)&&(c=a[_0x125b51(0x1a3)](k,'utf8')['trim'](),o=e[_0x125b51(0x195)](_0x125b51(0x19b),c)),t&&t[_0x125b51(0x18e)](_0x125b51(0x1af))&&i===_0x125b51(0x176)&&o&&a[_0x125b51(0x1a5)](e['join'](o,_0x125b51(0x171)))&&(s[_0x125b51(0x16b)]('BLOCKED:\x20Project\x20plan\x20is\x20LOCKED\x20and\x20immutable'),s[_0x125b51(0x16b)]('File:\x20'+e[_0x125b51(0x19f)](t)),s[_0x125b51(0x16b)](_0x125b51(0x167)),s[_0x125b51(0x16b)](_0x125b51(0x17e)));if(c&&o){let n=e[_0x125b51(0x195)](o,_0x125b51(0x199)),l=e['join'](o,_0x125b51(0x171));if(a['existsSync'](l)&&!a[_0x125b51(0x1a5)](n)&&(s[_0x125b51(0x16b)](_0x125b51(0x168)),s[_0x125b51(0x16b)](_0x125b51(0x184)+c),s['push'](_0x125b51(0x1b6)),s[_0x125b51(0x16b)]('\x20\x20npm\x20run\x20plan:init')),t&&(t[_0x125b51(0x16a)](/^\.\/Agent\//)||t['match'](/^Agent\//))&&(i===_0x125b51(0x1b7)||i==='Edit')&&a[_0x125b51(0x1a5)](n)){let r=JSON[_0x125b51(0x198)](a['readFileSync'](n,_0x125b51(0x1b2)));if(!r[_0x125b51(0x16f)])s[_0x125b51(0x16b)]('BLOCKED:\x20No\x20active\x20task'),s[_0x125b51(0x16b)](_0x125b51(0x184)+c),s[_0x125b51(0x16b)](_0x125b51(0x191)+e['basename'](t)),s[_0x125b51(0x16b)]('Start\x20a\x20task\x20first:'),s[_0x125b51(0x16b)]('\x20\x20npm\x20run\x20task:start\x20TASK-XXX');else{let p=e['join'](o,_0x125b51(0x182),r[_0x125b51(0x16f)]+_0x125b51(0x189));if(a['existsSync'](p)){let u=JSON[_0x125b51(0x198)](a[_0x125b51(0x1a3)](p,'utf8'));u['status']!==_0x125b51(0x1ab)&&(s['push'](_0x125b51(0x196)),s[_0x125b51(0x16b)]('Plan:\x20'+c),s[_0x125b51(0x16b)](_0x125b51(0x16d)+r[_0x125b51(0x16f)]+'\x20['+u[_0x125b51(0x19d)]+']'),s['push'](_0x125b51(0x16c)),s['push'](_0x125b51(0x173)+r[_0x125b51(0x16f)]));}}}t&&t[_0x125b51(0x16a)](/\.claude\/plans\/[^/]+\/tasks\/TASK-\d{3}\.json$/)&&(i===_0x125b51(0x176)||i===_0x125b51(0x1b7))&&(s[_0x125b51(0x16b)](_0x125b51(0x180)),s[_0x125b51(0x16b)]('File:\x20'+e[_0x125b51(0x19f)](t)),s['push'](_0x125b51(0x190)),s[_0x125b51(0x16b)](_0x125b51(0x1ac)),s[_0x125b51(0x16b)]('\x20\x20npm\x20run\x20task:done\x20TASK-XXX'));}else t&&(t[_0x125b51(0x16a)](/^\.\/Agent\//)||t[_0x125b51(0x16a)](/^Agent\//))&&(i==='Write'||i===_0x125b51(0x176))&&(s[_0x125b51(0x16b)](_0x125b51(0x16e)),s['push'](_0x125b51(0x191)+e[_0x125b51(0x19f)](t)),s['push']('Set\x20active\x20plan\x20first:'),s[_0x125b51(0x16b)](_0x125b51(0x197)));s[_0x125b51(0x179)]>0x0&&(console[_0x125b51(0x18a)]('\x0a❌\x20STRUCTURED\x20DEVELOPMENT\x20ENFORCEMENT\x20FAILED\x0a'),s[_0x125b51(0x1b4)](_0x9c6cc3=>console[_0x125b51(0x18a)]('\x20\x20'+_0x9c6cc3)),console[_0x125b51(0x18a)]('\x0a'),process[_0x125b51(0x17b)](0x2)),f[_0x125b51(0x179)]>0x0&&(console[_0x125b51(0x19e)](_0x125b51(0x1bb)),f[_0x125b51(0x1b4)](_0x35a716=>console[_0x125b51(0x19e)]('\x20\x20'+_0x35a716)),console['warn']('\x0a')),process['exit'](0x0);function _0x222a(_0x340df6,_0x35e2df){_0x340df6=_0x340df6-0x165;const _0x3ac85a=_0x3045();let _0x100076=_0x3ac85a[_0x340df6];return _0x100076;}function _0x3045(){const _0x17ea4c=['xhGjV','argv','includes','RGAFk','Use\x20task\x20management\x20commands:','Modifying:\x20','file_path','AbLir','EvYum','join','BLOCKED:\x20Active\x20task\x20is\x20not\x20in_progress\x20state','\x20\x20npm\x20run\x20plan:manager','parse','TASK-TRACKER.json','IVMcR','.claude/plans','toString','status','warn','basename','constructor','23350gjSrAj','tool_input','readFileSync','path','existsSync','14urKkjT','28286005CQisAk','qBHYr','Tckqx','Start\x20a\x20task\x20first:','in_progress','\x20\x20npm\x20run\x20task:start\x20TASK-XXX','6606jToVOK','Dynamic\x20require\x20of\x20\x22','PROJECT-PLAN.json','QvenF','5318704ssoOXj','utf8','1031090nxIRoK','forEach','tool','Initialize\x20task\x20tracker\x20first:','Write','search','1690JYKyLv','GpIat','\x0a⚠️\x20\x20STRUCTURED\x20DEVELOPMENT\x20WARNINGS\x0a','THDIT','4904748bbCWUB','To\x20make\x20changes,\x20use\x20the\x20amendment\x20tool:','BLOCKED:\x20Project\x20plan\x20is\x20locked\x20but\x20task\x20tracker\x20is\x20missing','wCXiL','match','push','Start\x20the\x20task:','Task:\x20','BLOCKED:\x20No\x20active\x20plan\x20found','activeTask','UESYb','.plan-locked','ZtNZp','\x20\x20npm\x20run\x20task:start\x20','SDfuc','apply','Edit','6065624mCTozS','wKwxv','length','qfmeM','exit','5gZVDIj','GKXDl','\x20\x20npm\x20run\x20plan:amend','zuLHv','BLOCKED:\x20Task\x20files\x20are\x20read-only','BLOCKED:\x20No\x20active\x20task','tasks','pjKEg','Plan:\x20','anZyb','cHbpB','450OkOkiT','.claude/ACTIVE-PLAN','.json','error','(((.+)+)+)+$'];_0x3045=function(){return _0x17ea4c;};return _0x3045();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x43f0db=_0x54d8;(function(_0x19ff62,_0x162bec){const _0x53911f=_0x54d8,_0x5c5cef=_0x19ff62();while(!![]){try{const _0xfc0f78=-parseInt(_0x53911f(0x1e8))/0x1+-parseInt(_0x53911f(0x1d7))/0x2*(parseInt(_0x53911f(0x225))/0x3)+-parseInt(_0x53911f(0x231))/0x4*(-parseInt(_0x53911f(0x1e3))/0x5)+parseInt(_0x53911f(0x20f))/0x6*(-parseInt(_0x53911f(0x1e6))/0x7)+parseInt(_0x53911f(0x213))/0x8+parseInt(_0x53911f(0x221))/0x9*(-parseInt(_0x53911f(0x1d5))/0xa)+-parseInt(_0x53911f(0x1e9))/0xb*(-parseInt(_0x53911f(0x21b))/0xc);if(_0xfc0f78===_0x162bec)break;else _0x5c5cef['push'](_0x5c5cef['shift']());}catch(_0x49ab2a){_0x5c5cef['push'](_0x5c5cef['shift']());}}}(_0x29f1,0x47bcf));const _0x97c0bf=(function(){const _0x59b85c=_0x54d8,_0x26b78f={};_0x26b78f[_0x59b85c(0x22a)]=function(_0x4a7aac,_0x2064fc){return _0x4a7aac/_0x2064fc;},_0x26b78f[_0x59b85c(0x217)]=function(_0x2dd842,_0x450db0){return _0x2dd842+_0x450db0;},_0x26b78f[_0x59b85c(0x1ee)]=_0x59b85c(0x21d),_0x26b78f[_0x59b85c(0x227)]=function(_0x1b0d4b,_0x5677e8){return _0x1b0d4b<_0x5677e8;},_0x26b78f[_0x59b85c(0x205)]=function(_0x445923,_0x4f88ab){return _0x445923*_0x4f88ab;},_0x26b78f[_0x59b85c(0x208)]=_0x59b85c(0x1e0),_0x26b78f['qGBNm']='WARNING:\x20Too\x20many\x20E2E\x20tests\x20(>30%\x20of\x20total)',_0x26b78f[_0x59b85c(0x1dc)]=_0x59b85c(0x1ed),_0x26b78f[_0x59b85c(0x201)]=_0x59b85c(0x222),_0x26b78f[_0x59b85c(0x22d)]='Every\x20UI\x20component\x20should\x20have\x20component\x20tests',_0x26b78f[_0x59b85c(0x1f2)]=function(_0x1d26e1,_0xa25fb9){return _0x1d26e1===_0xa25fb9;},_0x26b78f[_0x59b85c(0x1fe)]=_0x59b85c(0x1fb),_0x26b78f[_0x59b85c(0x220)]=_0x59b85c(0x1f0),_0x26b78f[_0x59b85c(0x1d4)]=_0x59b85c(0x234),_0x26b78f[_0x59b85c(0x1e2)]='tpjKc',_0x26b78f[_0x59b85c(0x1ff)]=_0x59b85c(0x1d2);const _0x1edbdb=_0x26b78f;let _0x5b3c83=!![];return function(_0x387862,_0x5a69ff){const _0x1763c3=_0x59b85c;if(_0x1edbdb[_0x1763c3(0x1f2)](_0x1edbdb[_0x1763c3(0x1ff)],_0x1edbdb[_0x1763c3(0x1ff)])){const _0x203999=_0x5b3c83?function(){const _0x298d39=_0x1763c3,_0x5bf708={'gaRpC':function(_0x549cdd,_0x5cf43d){const _0x1aa5dd=_0x54d8;return _0x1edbdb[_0x1aa5dd(0x22a)](_0x549cdd,_0x5cf43d);},'KEmWX':function(_0xf3ce0c,_0x5cb03c){return _0x1edbdb['dxeDo'](_0xf3ce0c,_0x5cb03c);},'cAdkh':function(_0x28f17e,_0x59ab49){return _0x28f17e*_0x59ab49;},'TlQMg':function(_0x515a74,_0x1d516e){return _0x515a74===_0x1d516e;},'jtQEQ':'WARNING:\x20Only\x20backend\x20unit\x20tests\x20found,\x20NO\x20UI\x20component\x20tests','vfzmQ':_0x1edbdb[_0x298d39(0x1ee)],'zXnEH':function(_0xa70ed,_0x3d3a9d){const _0x1fe4c0=_0x298d39;return _0x1edbdb[_0x1fe4c0(0x227)](_0xa70ed,_0x3d3a9d);},'QFeqd':function(_0x5ac573,_0x4bcefa){return _0x5ac573+_0x4bcefa;},'vvjxO':function(_0x111c03,_0x31d8d5){return _0x1edbdb['WqVcP'](_0x111c03,_0x31d8d5);},'EYgei':_0x1edbdb[_0x298d39(0x208)],'MOvTg':function(_0xcc2c30,_0x581ff0){return _0xcc2c30>_0x581ff0;},'OVdfU':_0x1edbdb[_0x298d39(0x22c)],'dHrst':_0x298d39(0x1e4),'hewWL':_0x1edbdb[_0x298d39(0x1dc)],'SJtHF':_0x1edbdb[_0x298d39(0x201)],'tOhYG':function(_0x284eca,_0x33e671){const _0x448fb7=_0x298d39;return _0x1edbdb[_0x448fb7(0x227)](_0x284eca,_0x33e671);},'VplsK':function(_0xb1c0b1,_0x3fd270){const _0x54f1d8=_0x298d39;return _0x1edbdb[_0x54f1d8(0x205)](_0xb1c0b1,_0x3fd270);},'alRxP':'CRITICAL:\x20UI\x20bugs\x20are\x20slipping\x20through!','BWPnq':_0x1edbdb[_0x298d39(0x22d)],'hbknN':function(_0x5d7370,_0x2d19f0){const _0x237260=_0x298d39;return _0x1edbdb[_0x237260(0x1f2)](_0x5d7370,_0x2d19f0);},'OiBKy':_0x1edbdb[_0x298d39(0x1fe)],'ZZYNL':_0x1edbdb['ELfUU']};if(_0x1edbdb[_0x298d39(0x1f2)](_0x1edbdb[_0x298d39(0x1d4)],_0x1edbdb[_0x298d39(0x1e2)])){let _0x223e27=_0x5bf708[_0x298d39(0x22b)](_0x5bf708['KEmWX'](_0x47df66,_0x4c565a),_0x442f4f)*0x64,_0x1e26e3=_0x35e632/_0x548c27*0x64,_0x1f09a7=_0x5bf708[_0x298d39(0x238)](_0x5bf708[_0x298d39(0x22b)](_0x31cbaf,_0x2cc1e3),0x64);_0x2336e8[_0x298d39(0x1dd)](_0x298d39(0x229)),_0x186335[_0x298d39(0x1dd)](_0x298d39(0x1e7)+_0x5bf708[_0x298d39(0x223)](_0x9e492d,_0x459572)+'\x20('+_0x223e27['toFixed'](0x1)+'%)'),_0x1a4156[_0x298d39(0x1dd)](_0x298d39(0x1de)+_0x593c32+'\x20('+_0x1e26e3[_0x298d39(0x215)](0x1)+'%)'),_0x632c0f['log']('\x20\x20E2E\x20Tests:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2f80ee+'\x20('+_0x1f09a7['toFixed'](0x1)+'%)'),_0xe46c56[_0x298d39(0x1dd)](_0x298d39(0x211)+_0xef8a39+'\x0a'),_0x5bf708[_0x298d39(0x1d6)](_0x1ade22,0x0)&&_0x3ce256>0x0&&(_0x49c6b0[_0x298d39(0x1db)](_0x5bf708['jtQEQ']),_0x56a2cf[_0x298d39(0x1db)](_0x298d39(0x235)),_0x150692[_0x298d39(0x1db)](_0x5bf708[_0x298d39(0x200)])),_0x5bf708[_0x298d39(0x1fa)](_0x5bf708[_0x298d39(0x224)](_0x1207e2,_0x3e744d),_0x5bf708[_0x298d39(0x1da)](_0x341d7b,0.5))&&(_0x509d96[_0x298d39(0x1db)](_0x298d39(0x218)),_0x2a3ef2[_0x298d39(0x1db)](_0x298d39(0x1ea)+_0x223e27[_0x298d39(0x215)](0x1)+'%'),_0xb794b8['push'](_0x5bf708[_0x298d39(0x203)])),_0x5bf708[_0x298d39(0x20a)](_0x39c98c,_0x5bf708[_0x298d39(0x1da)](_0x135dd6,0.3))&&(_0x56a16d['push'](_0x5bf708[_0x298d39(0x1df)]),_0x28a031[_0x298d39(0x1db)](_0x5bf708['dHrst']));try{const _0x547bc9={};_0x547bc9[_0x298d39(0x1f3)]=_0x5bf708[_0x298d39(0x20c)],_0x547bc9[_0x298d39(0x21c)]=['pipe','pipe',_0x5bf708[_0x298d39(0x20d)]];let _0x4eb019=_0x46725e(_0x298d39(0x1ec),_0x547bc9)[_0x298d39(0x216)](),_0x25f6b0=_0x25a38d(_0x4eb019)||0x0;if(_0x25f6b0>0x0){let _0x2142e3=_0x4b17fb/_0x25f6b0;_0x5bf708[_0x298d39(0x1e5)](_0x2142e3,0.5)&&(_0x2878df[_0x298d39(0x1db)](_0x298d39(0x1f9)+_0x25f6b0+_0x298d39(0x22f)+_0x249b62+_0x298d39(0x228)),_0x45196e[_0x298d39(0x1db)](_0x298d39(0x1ef)+_0x5bf708['VplsK'](_0x2142e3,0x64)['toFixed'](0x1)+'%'),_0x2f711a[_0x298d39(0x1db)](_0x5bf708[_0x298d39(0x1d8)]),_0x209b14[_0x298d39(0x1db)](_0x5bf708['BWPnq'])),_0x5bf708[_0x298d39(0x20e)](_0x52f7d8,0x0)&&_0x5bf708[_0x298d39(0x20a)](_0x25f6b0,0x5)&&(_0xcdc606[_0x298d39(0x1db)](_0x5bf708['OiBKy']),_0x184a5f['push'](_0x5bf708[_0x298d39(0x212)]));}}catch{}}else{if(_0x5a69ff){const _0x20c7c1=_0x5a69ff[_0x298d39(0x21a)](_0x387862,arguments);return _0x5a69ff=null,_0x20c7c1;}}}:function(){};return _0x5b3c83=![],_0x203999;}else{if(_0x6aa9c9){const _0x377569=_0x35ead2[_0x1763c3(0x21a)](_0x104a29,arguments);return _0x2d23ef=null,_0x377569;}}};}()),_0x19280d=_0x97c0bf(this,function(){const _0x5601cf=_0x54d8,_0x68bd84={};_0x68bd84[_0x5601cf(0x22e)]='(((.+)+)+)+$';const _0x1bc0c2=_0x68bd84;return _0x19280d[_0x5601cf(0x1eb)]()[_0x5601cf(0x1f5)](_0x1bc0c2[_0x5601cf(0x22e)])[_0x5601cf(0x1eb)]()[_0x5601cf(0x1f4)](_0x19280d)[_0x5601cf(0x1f5)](_0x1bc0c2[_0x5601cf(0x22e)]);});_0x19280d();var g=(_0x19f489=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x19f489,{'get':(_0x48b69c,_0x4f0eed)=>(typeof require<'u'?require:_0x48b69c)[_0x4f0eed]}):_0x19f489)(function(_0xe5120){const _0x1e162e=_0x54d8,_0xb9ef30={};_0xb9ef30[_0x1e162e(0x1d9)]=function(_0x78bba6,_0xac21b9){return _0x78bba6+_0xac21b9;},_0xb9ef30['aZkcH']=_0x1e162e(0x219);const _0x45fc68=_0xb9ef30;if(typeof require<'u')return require[_0x1e162e(0x21a)](this,arguments);throw Error(_0x45fc68['JHddP'](_0x1e162e(0x1d3),_0xe5120)+_0x45fc68[_0x1e162e(0x1f6)]);}),c=g('fs'),E=g(_0x43f0db(0x214)),{execSync:f}=g('child_process'),h=process[_0x43f0db(0x202)][0x2]||'{}',I=JSON[_0x43f0db(0x1fd)](h),T=I[_0x43f0db(0x1f7)]?.[_0x43f0db(0x21f)]||'';T[_0x43f0db(0x226)](/npm\s+(run\s+)?test|jest|vitest/)||process[_0x43f0db(0x1fc)](0x0);var d=[],t=[],r=0x0,m=0x0,p=0x0,i=0x0;function _0x29f1(){const _0x4639a1=['Unit/Component\x20tests\x20should\x20be\x2060-80%\x20of\x20total,\x20currently\x20','toString','find\x20./src\x20-name\x20\x22*.tsx\x22\x20-o\x20-name\x20\x22*.jsx\x22\x202>/dev/null\x20|\x20wc\x20-l','utf8','VzVui','Component\x20test\x20coverage:\x20','Add\x20E2E\x20tests\x20to\x20validate\x20complete\x20user\x20flows','find\x20./tests\x20-path\x20\x22*/integration/*\x22\x20-name\x20\x22*.test.*\x22\x20-o\x20-path\x20\x22*/integration/*\x22\x20-name\x20\x22*.spec.*\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22','gtPHE','encoding','constructor','search','aZkcH','tool_input','warn','WARNING:\x20','zXnEH','WARNING:\x20Multiple\x20UI\x20components\x20but\x20NO\x20E2E\x20integration\x20tests','exit','parse','udnvx','PxDBU','vfzmQ','Socea','argv','EYgei','BLOCKED:\x20No\x20tests\x20found\x20in\x20the\x20project','WqVcP','CRITICAL:\x20UI\x20bugs\x20are\x20slipping\x20through!','existsSync','RxaKY','\x20\x20E2E\x20Tests:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MOvTg','error','hewWL','SJtHF','hbknN','60KoLZns','\x0a❌\x20TEST\x20PYRAMID\x20VALIDATION\x20FAILED\x0a','\x20\x20Total:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ZZYNL','1416368fPuMKK','path','toFixed','trim','dxeDo','WARNING:\x20Inverted\x20test\x20pyramid\x20detected','\x22\x20is\x20not\x20supported','apply','12XaOvDY','stdio','UI\x20bugs\x20are\x20not\x20caught\x20by\x20API-only\x20tests!','pipe','command','ELfUU','444051ixnPyY','ignore','KEmWX','QFeqd','3963bufguy','match','WZYtk','\x20component\x20tests','\x0a📊\x20TEST\x20PYRAMID\x20ANALYSIS\x0a','jXrAC','gaRpC','qGBNm','UadPX','AMMdJ','\x20UI\x20components\x20but\x20only\x20','Every\x20UI\x20component\x20should\x20have\x20component\x20tests','4WXIyYk','filter','split','lUWFg','Add\x20component\x20tests\x20for\x20React/Vue/etc.\x20components','find\x20./tests\x20-name\x20\x22*.test.*\x22\x20-o\x20-name\x20\x22*.spec.*\x22\x202>/dev/null\x20|\x20grep\x20-v\x20-E\x20\x22(integration|e2e|component)\x22\x20||\x20echo\x20\x22\x22','readFileSync','cAdkh','ogdRV','Dynamic\x20require\x20of\x20\x22','iHOOb','90JzNzYa','TlQMg','852CHHIOc','alRxP','JHddP','vvjxO','push','hplnU','log','\x20\x20Integration\x20Tests:\x20\x20\x20\x20','OVdfU','Add\x20more\x20unit\x20and\x20component\x20tests','length','cRyNp','2120810vmGXIn','E2E\x20tests\x20are\x20slow\x20and\x20brittle,\x20use\x20integration\x20tests\x20instead','tOhYG','139979FTEhaX','\x20\x20Unit/Component\x20Tests:\x20','39831udZyjS','10331519gSaoGD'];_0x29f1=function(){return _0x4639a1;};return _0x29f1();}try{const _0x1e5bcf={};_0x1e5bcf[_0x43f0db(0x1f3)]='utf8',_0x1e5bcf[_0x43f0db(0x21c)]=[_0x43f0db(0x21e),_0x43f0db(0x21e),_0x43f0db(0x222)];let e=f(_0x43f0db(0x236),_0x1e5bcf)[_0x43f0db(0x216)]()[_0x43f0db(0x233)]('\x0a')[_0x43f0db(0x232)](Boolean);for(let n of e)if(c[_0x43f0db(0x207)](n)){let o=c[_0x43f0db(0x237)](n,_0x43f0db(0x1ed)),u=(o[_0x43f0db(0x226)](/\b(it|test)\s*\(/g)||[])[_0x43f0db(0x1e1)];o[_0x43f0db(0x226)](/render\(|mount\(|screen\.|fireEvent\./)?i+=u:r+=u;}const _0x4e6fae={};_0x4e6fae[_0x43f0db(0x1f3)]=_0x43f0db(0x1ed),_0x4e6fae[_0x43f0db(0x21c)]=[_0x43f0db(0x21e),_0x43f0db(0x21e),_0x43f0db(0x222)];let l=f(_0x43f0db(0x1f1),_0x4e6fae)[_0x43f0db(0x216)]()[_0x43f0db(0x233)]('\x0a')['filter'](Boolean);for(let n of l)if(c[_0x43f0db(0x207)](n)){let o=c[_0x43f0db(0x237)](n,_0x43f0db(0x1ed));m+=(o['match'](/\b(it|test)\s*\(/g)||[])[_0x43f0db(0x1e1)];}const _0x7d13e3={};_0x7d13e3['encoding']=_0x43f0db(0x1ed),_0x7d13e3[_0x43f0db(0x21c)]=[_0x43f0db(0x21e),_0x43f0db(0x21e),_0x43f0db(0x222)];let a=f('find\x20./e2e\x20-name\x20\x22*.spec.*\x22\x20-o\x20find\x20./cypress\x20-name\x20\x22*.cy.*\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22',_0x7d13e3)['trim']()[_0x43f0db(0x233)]('\x0a')[_0x43f0db(0x232)](Boolean);for(let n of a)if(c[_0x43f0db(0x207)](n)){let o=c[_0x43f0db(0x237)](n,_0x43f0db(0x1ed));p+=(o['match'](/\b(it|test)\s*\(/g)||[])[_0x43f0db(0x1e1)];}}catch{process[_0x43f0db(0x1fc)](0x0);}function _0x54d8(_0x3bb7af,_0x2042a3){_0x3bb7af=_0x3bb7af-0x1d2;const _0x5b322c=_0x29f1();let _0x19280d=_0x5b322c[_0x3bb7af];return _0x19280d;}var s=r+m+p+i;s===0x0&&(d[_0x43f0db(0x1db)](_0x43f0db(0x204)),d[_0x43f0db(0x1db)]('Create\x20tests\x20before\x20claiming\x20functionality\x20works'));if(s>0x0){let e=(r+i)/s*0x64,l=m/s*0x64,a=p/s*0x64;console[_0x43f0db(0x1dd)](_0x43f0db(0x229)),console['log'](_0x43f0db(0x1e7)+(r+i)+'\x20('+e[_0x43f0db(0x215)](0x1)+'%)'),console['log'](_0x43f0db(0x1de)+m+'\x20('+l[_0x43f0db(0x215)](0x1)+'%)'),console['log'](_0x43f0db(0x209)+p+'\x20('+a[_0x43f0db(0x215)](0x1)+'%)'),console['log'](_0x43f0db(0x211)+s+'\x0a'),i===0x0&&r>0x0&&(t[_0x43f0db(0x1db)]('WARNING:\x20Only\x20backend\x20unit\x20tests\x20found,\x20NO\x20UI\x20component\x20tests'),t['push']('Add\x20component\x20tests\x20for\x20React/Vue/etc.\x20components'),t[_0x43f0db(0x1db)](_0x43f0db(0x21d))),r+i<s*0.5&&(t[_0x43f0db(0x1db)](_0x43f0db(0x218)),t[_0x43f0db(0x1db)]('Unit/Component\x20tests\x20should\x20be\x2060-80%\x20of\x20total,\x20currently\x20'+e['toFixed'](0x1)+'%'),t['push'](_0x43f0db(0x1e0))),p>s*0.3&&(t[_0x43f0db(0x1db)]('WARNING:\x20Too\x20many\x20E2E\x20tests\x20(>30%\x20of\x20total)'),t['push'](_0x43f0db(0x1e4)));try{const _0x10cca5={};_0x10cca5['encoding']=_0x43f0db(0x1ed),_0x10cca5[_0x43f0db(0x21c)]=['pipe',_0x43f0db(0x21e),_0x43f0db(0x222)];let n=f(_0x43f0db(0x1ec),_0x10cca5)['trim'](),o=parseInt(n)||0x0;if(o>0x0){let u=i/o;u<0.5&&(t[_0x43f0db(0x1db)](_0x43f0db(0x1f9)+o+_0x43f0db(0x22f)+i+_0x43f0db(0x228)),t['push']('Component\x20test\x20coverage:\x20'+(u*0x64)[_0x43f0db(0x215)](0x1)+'%'),t[_0x43f0db(0x1db)](_0x43f0db(0x206)),t['push'](_0x43f0db(0x230))),p===0x0&&o>0x5&&(t[_0x43f0db(0x1db)](_0x43f0db(0x1fb)),t['push']('Add\x20E2E\x20tests\x20to\x20validate\x20complete\x20user\x20flows'));}}catch{}}d[_0x43f0db(0x1e1)]>0x0&&(console[_0x43f0db(0x20b)](_0x43f0db(0x210)),d['forEach'](_0x380bfa=>console[_0x43f0db(0x20b)]('\x20\x20'+_0x380bfa)),console[_0x43f0db(0x20b)]('\x0a'),process[_0x43f0db(0x1fc)](0x2)),t[_0x43f0db(0x1e1)]>0x0&&(console[_0x43f0db(0x1f8)]('\x0a⚠️\x20\x20TEST\x20PYRAMID\x20WARNINGS\x0a'),t['forEach'](_0x12d2a5=>console[_0x43f0db(0x1f8)]('\x20\x20'+_0x12d2a5)),console[_0x43f0db(0x1f8)]('\x0a')),process[_0x43f0db(0x1fc)](0x0);
2
+ function _0x5b3b(_0x5c479f,_0x31219d){_0x5c479f=_0x5c479f-0x101;const _0x8a9242=_0x2bcd();let _0x5e1035=_0x8a9242[_0x5c479f];return _0x5e1035;}const _0x1a6fc0=_0x5b3b;(function(_0x5ca247,_0x527b57){const _0x474a3e=_0x5b3b,_0x1205b9=_0x5ca247();while(!![]){try{const _0x21185f=-parseInt(_0x474a3e(0x15a))/0x1*(-parseInt(_0x474a3e(0x169))/0x2)+parseInt(_0x474a3e(0x128))/0x3*(parseInt(_0x474a3e(0x112))/0x4)+parseInt(_0x474a3e(0x110))/0x5*(-parseInt(_0x474a3e(0x11c))/0x6)+parseInt(_0x474a3e(0x125))/0x7*(parseInt(_0x474a3e(0x107))/0x8)+parseInt(_0x474a3e(0x10e))/0x9+parseInt(_0x474a3e(0x159))/0xa*(parseInt(_0x474a3e(0x146))/0xb)+parseInt(_0x474a3e(0x122))/0xc*(-parseInt(_0x474a3e(0x101))/0xd);if(_0x21185f===_0x527b57)break;else _0x1205b9['push'](_0x1205b9['shift']());}catch(_0x2f79d4){_0x1205b9['push'](_0x1205b9['shift']());}}}(_0x2bcd,0xec757));const _0x1b0009=(function(){const _0x4f874b=_0x5b3b,_0x4086d2={'XaRfh':_0x4f874b(0x104),'wvmqr':function(_0x353b11,_0x36d78f){return _0x353b11*_0x36d78f;},'qszLX':function(_0x8eeee0,_0x292c7f){return _0x8eeee0/_0x292c7f;},'OZptc':function(_0x37262f,_0x134723){return _0x37262f+_0x134723;},'AzCmU':function(_0x974aba,_0x5d94d5){return _0x974aba*_0x5d94d5;},'RgfVq':_0x4f874b(0x14b),'TKsFX':_0x4f874b(0x113),'YWckZ':'WARNING:\x20Inverted\x20test\x20pyramid\x20detected','xpobH':function(_0x451f16,_0x44eefc){return _0x451f16*_0x44eefc;},'gAmQO':function(_0x52201c,_0x111d9e,_0x24c778){return _0x52201c(_0x111d9e,_0x24c778);},'oWLPr':_0x4f874b(0x114),'zRSff':_0x4f874b(0x13c),'HIxNM':'CRITICAL:\x20UI\x20bugs\x20are\x20slipping\x20through!','gtBzk':_0x4f874b(0x14c),'AkJNQ':_0x4f874b(0x136),'iiZJR':_0x4f874b(0x12b),'DCRgH':function(_0xeb6421,_0x215960){return _0xeb6421!==_0x215960;},'BgfUz':_0x4f874b(0x106),'grjDM':function(_0xf9a49c,_0x150a99){return _0xf9a49c===_0x150a99;},'FXRup':_0x4f874b(0x16a),'bzKXB':_0x4f874b(0x156)};let _0x400d94=!![];return function(_0x5bd123,_0x4e5167){const _0x53e019=_0x400d94?function(){const _0x4b83ea=_0x5b3b,_0x28267c={'HPHhO':_0x4086d2[_0x4b83ea(0x121)],'JfpVR':function(_0x2f9cd7,_0x4bcb1f){const _0x1bf61b=_0x4b83ea;return _0x4086d2[_0x1bf61b(0x105)](_0x2f9cd7,_0x4bcb1f);},'dLhXR':function(_0x46f635,_0x15919f){return _0x4086d2['qszLX'](_0x46f635,_0x15919f);},'tXrpg':function(_0x2e97f7,_0x508fae){return _0x4086d2['OZptc'](_0x2e97f7,_0x508fae);},'vlHKZ':function(_0x4841fa,_0x2985f8){return _0x4841fa*_0x2985f8;},'zjThS':function(_0x1d1f56,_0x33af1f){const _0x4a5fc0=_0x4b83ea;return _0x4086d2[_0x4a5fc0(0x168)](_0x1d1f56,_0x33af1f);},'yYONm':function(_0x21bd52,_0x285833){return _0x21bd52===_0x285833;},'VXvRy':function(_0x14fb4b,_0x123b29){return _0x14fb4b>_0x123b29;},'gdvej':_0x4086d2[_0x4b83ea(0x150)],'UDwUf':_0x4086d2[_0x4b83ea(0x141)],'canbU':_0x4086d2[_0x4b83ea(0x152)],'VmwQm':function(_0x53e68b,_0x401b18){const _0x49f243=_0x4b83ea;return _0x4086d2[_0x49f243(0x162)](_0x53e68b,_0x401b18);},'epfWf':_0x4b83ea(0x124),'MvlmB':_0x4b83ea(0x102),'BbPTm':function(_0x5091d9,_0x134fa0,_0x62beba){return _0x4086d2['gAmQO'](_0x5091d9,_0x134fa0,_0x62beba);},'YVZOo':_0x4086d2[_0x4b83ea(0x16f)],'wrFzc':_0x4086d2['zRSff'],'rFWrl':function(_0x58bc83,_0x39e38e){return _0x58bc83(_0x39e38e);},'HTRfM':function(_0x1b6454,_0x14b872){return _0x1b6454>_0x14b872;},'tMCUJ':function(_0xee448f,_0x1facc7){const _0x154427=_0x4b83ea;return _0x4086d2[_0x154427(0x132)](_0xee448f,_0x1facc7);},'dvCzV':_0x4086d2[_0x4b83ea(0x10c)],'RwsPv':_0x4086d2[_0x4b83ea(0x142)],'jBanv':function(_0x13c350,_0x41ab92){return _0x13c350===_0x41ab92;},'INVft':_0x4086d2[_0x4b83ea(0x151)],'AjTUy':_0x4086d2[_0x4b83ea(0x115)]};if(_0x4086d2[_0x4b83ea(0x163)](_0x4086d2[_0x4b83ea(0x172)],_0x4086d2[_0x4b83ea(0x172)])){let _0x1ab690=_0x590093[_0x4b83ea(0x127)](_0x2adc4e,_0x28267c[_0x4b83ea(0x166)]);_0x5f4854+=(_0x1ab690['match'](/\b(it|test)\s*\(/g)||[])[_0x4b83ea(0x155)];}else{if(_0x4e5167){if(_0x4086d2[_0x4b83ea(0x170)](_0x4086d2[_0x4b83ea(0x15c)],_0x4086d2[_0x4b83ea(0x139)])){let _0x230402=_0x28267c[_0x4b83ea(0x10b)](_0x28267c[_0x4b83ea(0x10d)](_0x28267c['tXrpg'](_0x47899a,_0x41807d),_0x49b725),0x64),_0x2d5c58=_0x28267c[_0x4b83ea(0x129)](_0x2aa17a/_0x4244bd,0x64),_0x188aaf=_0x28267c[_0x4b83ea(0x126)](_0x28267c['dLhXR'](_0x2205dc,_0xcc66f),0x64);_0x4c946d['log']('\x0a📊\x20TEST\x20PYRAMID\x20ANALYSIS\x0a'),_0x2a7567[_0x4b83ea(0x116)](_0x4b83ea(0x145)+_0x28267c['tXrpg'](_0x1d2d1c,_0x4e0fc2)+'\x20('+_0x230402[_0x4b83ea(0x108)](0x1)+'%)'),_0x3a3ee1['log'](_0x4b83ea(0x14e)+_0x7c0880+'\x20('+_0x2d5c58[_0x4b83ea(0x108)](0x1)+'%)'),_0x10fb45[_0x4b83ea(0x116)](_0x4b83ea(0x12e)+_0x4bb1f2+'\x20('+_0x188aaf[_0x4b83ea(0x108)](0x1)+'%)'),_0x9f948[_0x4b83ea(0x116)](_0x4b83ea(0x12c)+_0x51020b+'\x0a'),_0x28267c[_0x4b83ea(0x15e)](_0x539f20,0x0)&&_0x28267c['VXvRy'](_0x16996e,0x0)&&(_0x38736c[_0x4b83ea(0x13e)](_0x28267c['gdvej']),_0x26939b['push'](_0x28267c[_0x4b83ea(0x16c)]),_0x413026[_0x4b83ea(0x13e)](_0x4b83ea(0x123))),_0x28267c[_0x4b83ea(0x154)](_0x3f685c,_0x366458)<_0x28267c[_0x4b83ea(0x10b)](_0x235dc3,0.5)&&(_0xb603e4[_0x4b83ea(0x13e)](_0x28267c[_0x4b83ea(0x138)]),_0x1876d2[_0x4b83ea(0x13e)](_0x4b83ea(0x171)+_0x230402[_0x4b83ea(0x108)](0x1)+'%'),_0x460a9c[_0x4b83ea(0x13e)](_0x4b83ea(0x11d))),_0x28267c[_0x4b83ea(0x11a)](_0x5235ca,_0x28267c['VmwQm'](_0x203184,0.3))&&(_0x4c1014[_0x4b83ea(0x13e)](_0x28267c[_0x4b83ea(0x164)]),_0x3af128[_0x4b83ea(0x13e)](_0x28267c['MvlmB']));try{let _0x185cf8=_0x28267c['BbPTm'](_0x587423,_0x28267c[_0x4b83ea(0x161)],{'encoding':_0x28267c['HPHhO'],'stdio':[_0x28267c[_0x4b83ea(0x15b)],_0x4b83ea(0x13c),_0x4b83ea(0x103)]})[_0x4b83ea(0x165)](),_0xf969d7=_0x28267c[_0x4b83ea(0x119)](_0x722c69,_0x185cf8)||0x0;if(_0x28267c[_0x4b83ea(0x131)](_0xf969d7,0x0)){let _0x1d03f5=_0x28267c[_0x4b83ea(0x137)](_0x32973d,_0xf969d7);_0x1d03f5<0.5&&(_0x4a6542[_0x4b83ea(0x13e)]('WARNING:\x20'+_0xf969d7+_0x4b83ea(0x157)+_0x29dd66+'\x20component\x20tests'),_0xf8a5fe['push'](_0x4b83ea(0x14f)+_0x28267c['JfpVR'](_0x1d03f5,0x64)[_0x4b83ea(0x108)](0x1)+'%'),_0xa169f8[_0x4b83ea(0x13e)](_0x28267c[_0x4b83ea(0x144)]),_0x7e249a[_0x4b83ea(0x13e)](_0x28267c['RwsPv'])),_0x28267c[_0x4b83ea(0x158)](_0x4c67e9,0x0)&&_0x28267c[_0x4b83ea(0x131)](_0xf969d7,0x5)&&(_0x55433d[_0x4b83ea(0x13e)](_0x28267c[_0x4b83ea(0x14a)]),_0x12c6eb['push'](_0x28267c[_0x4b83ea(0x11b)]));}}catch{}}else{const _0x37a5a7=_0x4e5167[_0x4b83ea(0x149)](_0x5bd123,arguments);return _0x4e5167=null,_0x37a5a7;}}}}:function(){};return _0x400d94=![],_0x53e019;};}()),_0x5e1035=_0x1b0009(this,function(){const _0x456175=_0x5b3b,_0x48728c={};_0x48728c[_0x456175(0x130)]='(((.+)+)+)+$';const _0x1db732=_0x48728c;return _0x5e1035[_0x456175(0x143)]()[_0x456175(0x109)](_0x1db732[_0x456175(0x130)])[_0x456175(0x143)]()[_0x456175(0x120)](_0x5e1035)[_0x456175(0x109)](_0x456175(0x140));});_0x5e1035();var g=(_0x2f8bc9=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2f8bc9,{'get':(_0x1f76a9,_0x502afd)=>(typeof require<'u'?require:_0x1f76a9)[_0x502afd]}):_0x2f8bc9)(function(_0x5b40b1){const _0x4034da=_0x5b3b,_0xdfcc1f={'nkJAr':function(_0x39e0fb,_0x1f70af){return _0x39e0fb<_0x1f70af;},'ciWKX':function(_0x3593c8,_0x22808c){return _0x3593c8(_0x22808c);},'eRAZx':function(_0x4a732d,_0x1fe11d){return _0x4a732d+_0x1fe11d;},'GNkTP':_0x4034da(0x15d),'BAHJg':'\x22\x20is\x20not\x20supported'};if(_0xdfcc1f[_0x4034da(0x16e)](typeof require,'u'))return require['apply'](this,arguments);throw _0xdfcc1f['ciWKX'](Error,_0xdfcc1f[_0x4034da(0x12a)](_0xdfcc1f['GNkTP'],_0x5b40b1)+_0xdfcc1f['BAHJg']);}),c=g('fs'),E=g('path'),{execSync:f}=g(_0x1a6fc0(0x13f)),h=process['argv'][0x2]||'{}',I=JSON[_0x1a6fc0(0x15f)](h),T=I[_0x1a6fc0(0x111)]?.[_0x1a6fc0(0x11f)]||'';T[_0x1a6fc0(0x11e)](/npm\s+(run\s+)?test|jest|vitest/)||process[_0x1a6fc0(0x13a)](0x0);var d=[],t=[],r=0x0,m=0x0,p=0x0,i=0x0;try{const _0x53a0c6={};_0x53a0c6[_0x1a6fc0(0x135)]=_0x1a6fc0(0x104),_0x53a0c6[_0x1a6fc0(0x13b)]=[_0x1a6fc0(0x13c),_0x1a6fc0(0x13c),_0x1a6fc0(0x103)];let e=f(_0x1a6fc0(0x10a),_0x53a0c6)['trim']()[_0x1a6fc0(0x16b)]('\x0a')[_0x1a6fc0(0x148)](Boolean);for(let n of e)if(c[_0x1a6fc0(0x153)](n)){let o=c['readFileSync'](n,_0x1a6fc0(0x104)),u=(o[_0x1a6fc0(0x11e)](/\b(it|test)\s*\(/g)||[])['length'];o[_0x1a6fc0(0x11e)](/render\(|mount\(|screen\.|fireEvent\./)?i+=u:r+=u;}const _0x3131d1={};_0x3131d1[_0x1a6fc0(0x135)]=_0x1a6fc0(0x104),_0x3131d1[_0x1a6fc0(0x13b)]=['pipe',_0x1a6fc0(0x13c),_0x1a6fc0(0x103)];let l=f(_0x1a6fc0(0x16d),_0x3131d1)['trim']()[_0x1a6fc0(0x16b)]('\x0a')[_0x1a6fc0(0x148)](Boolean);for(let n of l)if(c[_0x1a6fc0(0x153)](n)){let o=c[_0x1a6fc0(0x127)](n,_0x1a6fc0(0x104));m+=(o[_0x1a6fc0(0x11e)](/\b(it|test)\s*\(/g)||[])[_0x1a6fc0(0x155)];}const _0x5c65bf={};_0x5c65bf[_0x1a6fc0(0x135)]='utf8',_0x5c65bf['stdio']=[_0x1a6fc0(0x13c),_0x1a6fc0(0x13c),_0x1a6fc0(0x103)];let a=f(_0x1a6fc0(0x13d),_0x5c65bf)[_0x1a6fc0(0x165)]()[_0x1a6fc0(0x16b)]('\x0a')[_0x1a6fc0(0x148)](Boolean);for(let n of a)if(c[_0x1a6fc0(0x153)](n)){let o=c[_0x1a6fc0(0x127)](n,_0x1a6fc0(0x104));p+=(o['match'](/\b(it|test)\s*\(/g)||[])['length'];}}catch{process[_0x1a6fc0(0x13a)](0x0);}function _0x2bcd(){const _0x150e25=['Dynamic\x20require\x20of\x20\x22','yYONm','parse','WARNING:\x20','YVZOo','xpobH','DCRgH','epfWf','trim','HPHhO','error','AzCmU','160vhzuIK','bxYqw','split','UDwUf','find\x20./tests\x20-path\x20\x22*/integration/*\x22\x20-name\x20\x22*.test.*\x22\x20-o\x20-path\x20\x22*/integration/*\x22\x20-name\x20\x22*.spec.*\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22','nkJAr','oWLPr','grjDM','Unit/Component\x20tests\x20should\x20be\x2060-80%\x20of\x20total,\x20currently\x20','BgfUz','13elLpAW','E2E\x20tests\x20are\x20slow\x20and\x20brittle,\x20use\x20integration\x20tests\x20instead','ignore','utf8','wvmqr','mdAJN','14865512UFjIIc','toFixed','search','find\x20./tests\x20-name\x20\x22*.test.*\x22\x20-o\x20-name\x20\x22*.spec.*\x22\x202>/dev/null\x20|\x20grep\x20-v\x20-E\x20\x22(integration|e2e|component)\x22\x20||\x20echo\x20\x22\x22','JfpVR','HIxNM','dLhXR','17254584EKwHKu','\x20component\x20tests','2793415vQyEFu','tool_input','6095236IsAdDG','Add\x20component\x20tests\x20for\x20React/Vue/etc.\x20components','find\x20./src\x20-name\x20\x22*.tsx\x22\x20-o\x20-name\x20\x22*.jsx\x22\x202>/dev/null\x20|\x20wc\x20-l','iiZJR','log','forEach','\x0a❌\x20TEST\x20PYRAMID\x20VALIDATION\x20FAILED\x0a','rFWrl','VXvRy','AjTUy','6EFLDZi','Add\x20more\x20unit\x20and\x20component\x20tests','match','command','constructor','XaRfh','70566972mzYtES','UI\x20bugs\x20are\x20not\x20caught\x20by\x20API-only\x20tests!','WARNING:\x20Too\x20many\x20E2E\x20tests\x20(>30%\x20of\x20total)','7hGcfbm','zjThS','readFileSync','3BoNZzy','vlHKZ','eRAZx','Add\x20E2E\x20tests\x20to\x20validate\x20complete\x20user\x20flows','\x20\x20Total:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x0a📊\x20TEST\x20PYRAMID\x20ANALYSIS\x0a','\x20\x20E2E\x20Tests:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','warn','XvkwD','HTRfM','qszLX','CRITICAL:\x20UI\x20bugs\x20are\x20slipping\x20through!','\x0a⚠️\x20\x20TEST\x20PYRAMID\x20WARNINGS\x0a','encoding','WARNING:\x20Multiple\x20UI\x20components\x20but\x20NO\x20E2E\x20integration\x20tests','tMCUJ','canbU','bzKXB','exit','stdio','pipe','find\x20./e2e\x20-name\x20\x22*.spec.*\x22\x20-o\x20find\x20./cypress\x20-name\x20\x22*.cy.*\x22\x202>/dev/null\x20||\x20echo\x20\x22\x22','push','child_process','(((.+)+)+)+$','TKsFX','gtBzk','toString','dvCzV','\x20\x20Unit/Component\x20Tests:\x20','32263qoEphz','Create\x20tests\x20before\x20claiming\x20functionality\x20works','filter','apply','INVft','WARNING:\x20Only\x20backend\x20unit\x20tests\x20found,\x20NO\x20UI\x20component\x20tests','Every\x20UI\x20component\x20should\x20have\x20component\x20tests','WARNING:\x20Inverted\x20test\x20pyramid\x20detected','\x20\x20Integration\x20Tests:\x20\x20\x20\x20','Component\x20test\x20coverage:\x20','RgfVq','AkJNQ','YWckZ','existsSync','tXrpg','length','PcUkz','\x20UI\x20components\x20but\x20only\x20','jBanv','2050bRNppn','18842kaodgQ','wrFzc','FXRup'];_0x2bcd=function(){return _0x150e25;};return _0x2bcd();}var s=r+m+p+i;s===0x0&&(d['push']('BLOCKED:\x20No\x20tests\x20found\x20in\x20the\x20project'),d[_0x1a6fc0(0x13e)](_0x1a6fc0(0x147)));if(s>0x0){let e=(r+i)/s*0x64,l=m/s*0x64,a=p/s*0x64;console['log'](_0x1a6fc0(0x12d)),console[_0x1a6fc0(0x116)](_0x1a6fc0(0x145)+(r+i)+'\x20('+e[_0x1a6fc0(0x108)](0x1)+'%)'),console[_0x1a6fc0(0x116)]('\x20\x20Integration\x20Tests:\x20\x20\x20\x20'+m+'\x20('+l[_0x1a6fc0(0x108)](0x1)+'%)'),console['log'](_0x1a6fc0(0x12e)+p+'\x20('+a[_0x1a6fc0(0x108)](0x1)+'%)'),console['log']('\x20\x20Total:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+s+'\x0a'),i===0x0&&r>0x0&&(t[_0x1a6fc0(0x13e)]('WARNING:\x20Only\x20backend\x20unit\x20tests\x20found,\x20NO\x20UI\x20component\x20tests'),t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x113)),t['push'](_0x1a6fc0(0x123))),r+i<s*0.5&&(t['push'](_0x1a6fc0(0x14d)),t[_0x1a6fc0(0x13e)]('Unit/Component\x20tests\x20should\x20be\x2060-80%\x20of\x20total,\x20currently\x20'+e['toFixed'](0x1)+'%'),t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x11d))),p>s*0.3&&(t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x124)),t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x102)));try{const _0x30a6fe={};_0x30a6fe['encoding']='utf8',_0x30a6fe[_0x1a6fc0(0x13b)]=[_0x1a6fc0(0x13c),'pipe',_0x1a6fc0(0x103)];let n=f(_0x1a6fc0(0x114),_0x30a6fe)['trim'](),o=parseInt(n)||0x0;if(o>0x0){let u=i/o;u<0.5&&(t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x160)+o+_0x1a6fc0(0x157)+i+_0x1a6fc0(0x10f)),t['push']('Component\x20test\x20coverage:\x20'+(u*0x64)[_0x1a6fc0(0x108)](0x1)+'%'),t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x133)),t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x14c))),p===0x0&&o>0x5&&(t[_0x1a6fc0(0x13e)]('WARNING:\x20Multiple\x20UI\x20components\x20but\x20NO\x20E2E\x20integration\x20tests'),t[_0x1a6fc0(0x13e)](_0x1a6fc0(0x12b)));}}catch{}}d[_0x1a6fc0(0x155)]>0x0&&(console[_0x1a6fc0(0x167)](_0x1a6fc0(0x118)),d[_0x1a6fc0(0x117)](_0x52e80f=>console[_0x1a6fc0(0x167)]('\x20\x20'+_0x52e80f)),console['error']('\x0a'),process[_0x1a6fc0(0x13a)](0x2)),t[_0x1a6fc0(0x155)]>0x0&&(console[_0x1a6fc0(0x12f)](_0x1a6fc0(0x134)),t[_0x1a6fc0(0x117)](_0x3b1f77=>console[_0x1a6fc0(0x12f)]('\x20\x20'+_0x3b1f77)),console['warn']('\x0a')),process[_0x1a6fc0(0x13a)](0x0);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var _0x1ba366=_0x10dd;(function(_0x4e379f,_0x14b39e){var _0x1f7c7d=_0x10dd,_0x361b16=_0x4e379f();while(!![]){try{var _0x57bbda=parseInt(_0x1f7c7d(0x1c4))/0x1+parseInt(_0x1f7c7d(0x1b3))/0x2*(-parseInt(_0x1f7c7d(0x1b1))/0x3)+parseInt(_0x1f7c7d(0x1d6))/0x4*(parseInt(_0x1f7c7d(0x175))/0x5)+parseInt(_0x1f7c7d(0x16d))/0x6*(-parseInt(_0x1f7c7d(0x1cc))/0x7)+-parseInt(_0x1f7c7d(0x17f))/0x8+-parseInt(_0x1f7c7d(0x184))/0x9*(parseInt(_0x1f7c7d(0x1af))/0xa)+-parseInt(_0x1f7c7d(0x1a1))/0xb*(-parseInt(_0x1f7c7d(0x19e))/0xc);if(_0x57bbda===_0x14b39e)break;else _0x361b16['push'](_0x361b16['shift']());}catch(_0x540d64){_0x361b16['push'](_0x361b16['shift']());}}}(_0x279f,0x76196));var _0x153454=(function(){var _0x16c323=_0x10dd,_0x2ef99f={};_0x2ef99f[_0x16c323(0x193)]='pending',_0x2ef99f[_0x16c323(0x1ad)]=_0x16c323(0x1ac),_0x2ef99f[_0x16c323(0x1dd)]=function(_0x3d1ef7,_0x24df46){return _0x3d1ef7===_0x24df46;},_0x2ef99f['BEIgB']=_0x16c323(0x194),_0x2ef99f[_0x16c323(0x1da)]=_0x16c323(0x1c6),_0x2ef99f[_0x16c323(0x1ab)]=function(_0x28852f,_0x39da4a){return _0x28852f===_0x39da4a;},_0x2ef99f[_0x16c323(0x1ba)]=_0x16c323(0x177),_0x2ef99f[_0x16c323(0x1c5)]='❌\x20ERROR:\x20Invalid\x20JSON\x20in\x20PROJECT-PLAN.json';var _0x4efd70=_0x2ef99f,_0x3b088d=!![];return function(_0x3da1fc,_0x53212d){var _0x44b012=_0x16c323,_0x5a89b8={};_0x5a89b8[_0x44b012(0x1b8)]=_0x4efd70['XPECV'];var _0x50a766=_0x5a89b8,_0x471c12=_0x3b088d?function(){var _0x4217fd=_0x44b012,_0x2398e6={};_0x2398e6[_0x4217fd(0x178)]=_0x4efd70[_0x4217fd(0x193)],_0x2398e6[_0x4217fd(0x1c2)]=_0x4efd70[_0x4217fd(0x1ad)];var _0x5ba07e=_0x2398e6;if(_0x4efd70[_0x4217fd(0x1dd)](_0x4efd70[_0x4217fd(0x18b)],_0x4efd70[_0x4217fd(0x1da)]))_0x312f3a[_0x4217fd(0x17b)](_0x50a766[_0x4217fd(0x1b8)]),_0x3c3468[_0x4217fd(0x17b)](_0x150749['message']),_0x456f47[_0x4217fd(0x1bd)](0x1);else{if(_0x53212d){if(_0x4efd70['tPolp']('ANrqR',_0x4efd70['xzjiY'])){var _0x36032a=_0x53212d[_0x4217fd(0x17d)](_0x3da1fc,arguments);return _0x53212d=null,_0x36032a;}else{var _0x121ac3={};_0x121ac3[_0x4217fd(0x1c9)]=[],_0x121ac3[_0x4217fd(0x179)]=[],_0x121ac3[_0x4217fd(0x188)]=[],_0x121ac3[_0x4217fd(0x1d1)]=[];var _0x12d728={};_0x12d728['id']=_0x566d7f['id'],_0x12d728[_0x4217fd(0x173)]=_0x56baaa['title'],_0x12d728['description']=_0x287e4f[_0x4217fd(0x183)]||'',_0x12d728[_0x4217fd(0x174)]=_0x31de91[_0x4217fd(0x174)]||_0x5ba07e[_0x4217fd(0x178)],_0x12d728[_0x4217fd(0x1db)]=_0x542f00[_0x4217fd(0x1db)]||_0x5ba07e[_0x4217fd(0x1c2)],_0x12d728['subproject']=_0xfab914[_0x4217fd(0x1dc)]||null,_0x12d728[_0x4217fd(0x19c)]=_0xe1c2ba[_0x4217fd(0x19c)]||null,_0x12d728[_0x4217fd(0x1a5)]=_0xed2fc[_0x4217fd(0x1a5)]||null,_0x12d728[_0x4217fd(0x16e)]=_0x568ff0[_0x4217fd(0x16e)]||null,_0x12d728[_0x4217fd(0x198)]=_0x1147a4[_0x4217fd(0x198)]||[],_0x12d728['completionCriteria']=_0x1d3257['completionCriteria']||[],_0x12d728['testCases']=_0x1d82ff[_0x4217fd(0x1aa)]||[],_0x12d728[_0x4217fd(0x1d7)]=_0x3120ac['estimatedHours']||null,_0x12d728[_0x4217fd(0x1cd)]=null,_0x12d728[_0x4217fd(0x18f)]=null,_0x12d728[_0x4217fd(0x1a6)]=null,_0x12d728['blockedReason']=null,_0x12d728[_0x4217fd(0x18e)]=_0x388b39[_0x4217fd(0x18e)]||_0x121ac3,_0x12d728['notes']=[];let _0x1165cb=_0x12d728,_0x34cb72=_0x4c5bd6[_0x4217fd(0x1d8)](_0x4fef74,_0x74eeb4['id']+_0x4217fd(0x1c1));_0x5beccf[_0x4217fd(0x1c7)](_0x34cb72,_0x2d3e44[_0x4217fd(0x185)](_0x1165cb,null,0x2)),_0x13d41c[_0x4217fd(0x17c)](_0x4217fd(0x1b9)+_0x5907ab['id']+':\x20'+_0x5b9a06[_0x4217fd(0x173)]);}}}}:function(){};return _0x3b088d=![],_0x471c12;};}()),_0x51d40c=_0x153454(this,function(){var _0x4c90bc=_0x10dd,_0x3a9630={};_0x3a9630[_0x4c90bc(0x1d3)]='(((.+)+)+)+$';var _0x566552=_0x3a9630;return _0x51d40c[_0x4c90bc(0x1a0)]()[_0x4c90bc(0x1d0)](_0x566552[_0x4c90bc(0x1d3)])[_0x4c90bc(0x1a0)]()['constructor'](_0x51d40c)[_0x4c90bc(0x1d0)]('(((.+)+)+)+$');});_0x51d40c();var u=(_0x24921c=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x24921c,{'get':(_0xefb56e,_0x411c1a)=>(typeof require<'u'?require:_0xefb56e)[_0x411c1a]}):_0x24921c)(function(_0x529ac7){var _0x3bc636=_0x10dd,_0x35db41={'JHWAy':function(_0x16b28a,_0x1f2022){return _0x16b28a<_0x1f2022;},'mVYLj':function(_0x200485,_0x5e65dd){return _0x200485(_0x5e65dd);},'WYdsy':function(_0x10b76b,_0x35793c){return _0x10b76b+_0x35793c;},'EXxxW':_0x3bc636(0x190),'wsYDe':_0x3bc636(0x1ce)};if(_0x35db41[_0x3bc636(0x19d)](typeof require,'u'))return require[_0x3bc636(0x17d)](this,arguments);throw _0x35db41[_0x3bc636(0x19f)](Error,_0x35db41[_0x3bc636(0x180)](_0x35db41[_0x3bc636(0x180)](_0x35db41['EXxxW'],_0x529ac7),_0x35db41[_0x3bc636(0x18c)]));}),t=u('fs'),i=u(_0x1ba366(0x1b5));console[_0x1ba366(0x17c)]('\x0a🚀\x20INITIALIZING\x20TASK\x20TRACKER\x0a');var g=process[_0x1ba366(0x1a7)][0x2],p=_0x1ba366(0x182),l;g?l=g:t['existsSync'](p)?l=t[_0x1ba366(0x1bc)](p,_0x1ba366(0x1ae))[_0x1ba366(0x1de)]():(console[_0x1ba366(0x17b)](_0x1ba366(0x191)),console[_0x1ba366(0x17b)]('Usage:'),console[_0x1ba366(0x17b)](_0x1ba366(0x1a2)),console[_0x1ba366(0x17b)](_0x1ba366(0x16f)),console[_0x1ba366(0x17b)](_0x1ba366(0x18d)),process['exit'](0x1));var r=i[_0x1ba366(0x1d8)]('.claude/plans',l);function _0x10dd(_0x168c37,_0x4cdcf0){_0x168c37=_0x168c37-0x16d;var _0x31d246=_0x279f();var _0x51d40c=_0x31d246[_0x168c37];return _0x51d40c;}t[_0x1ba366(0x1bf)](r)||(console[_0x1ba366(0x17b)](_0x1ba366(0x1c8)+r),console[_0x1ba366(0x17b)](_0x1ba366(0x18a)),process[_0x1ba366(0x1bd)](0x1));function _0x279f(){var _0x46f436=['writeFileSync','❌\x20ERROR:\x20Plan\x20directory\x20not\x20found:\x20','design','isArray','projectName','371IRyqjA','actualHours','\x22\x20is\x20not\x20supported','notes','search','documentation','Nvduz','XrfXf','completionCriteria','.plan-locked','28HXzmPk','estimatedHours','join','map','WvXWl','phase','subproject','TqVtn','trim','TASK-TRACKER.json','❌\x20ERROR:\x20Invalid\x20JSON\x20in\x20PROJECT-PLAN.json','push','subprojects','35688SGuuYB','milestoneName','Or\x20set\x20active\x20plan\x20first:','lockedAt','\x20is\x20now\x20LOCKED\x20and\x20ACTIVE\x0a','\x20\x203.\x20View\x20status:\x20npm\x20run\x20task:status\x0a','title','status','377655BFvoRm','recursive','ANrqR','shACW','code','name','error','log','apply','✅\x20Found\x20','5347768JPlUcc','WYdsy','❌\x20ERROR:\x20Invalid\x20plan\x20structure','.claude/ACTIVE-PLAN','description','66321TwQXWb','stringify','\x20tasks\x0a','\x20\x201.\x20Set\x20as\x20active\x20plan:\x20npm\x20run\x20plan:manager','tests','toISOString','Create\x20plan\x20first\x20with:\x20npm\x20run\x20plan:create\x0a','BEIgB','wsYDe','\x20\x20npm\x20run\x20plan:manager\x0a','artifacts','startedAt','Dynamic\x20require\x20of\x20\x22','❌\x20ERROR:\x20No\x20plan\x20specified\x20and\x20no\x20active\x20plan\x20found','forEach','zUdYb','ZYXYv','message','❌\x20ERROR:\x20PROJECT-PLAN.json\x20not\x20found\x20in\x20','📋\x20Detected\x20flat\x20plan\x20structure','dependencies','\x20\x202.\x20Start\x20first\x20task:\x20npm\x20run\x20task:start\x20TASK-001','tasks','PROJECT-PLAN.json','subprojectName','JHWAy','8767620rngKJe','mVYLj','toString','22BTuhOH','\x20\x20npm\x20run\x20plan:init\x20<plan-id>','Structured\x20Coding\x20Project','project','milestone','completedAt','argv','length','pending','testCases','tPolp','implementation','jXRpJ','utf8','60kiSUPG','RjROj','1668AFswTP','parse','2244aAstuM','Expected\x20either:','path','blockedReason','\x20\x20-\x20Hierarchical:\x20{\x20project:\x20{\x20subprojects:\x20[...]\x20}\x20}','foRbM','\x20\x20✓\x20','xzjiY','📦\x20Detected\x20hierarchical\x20plan\x20structure','readFileSync','exit','🔄\x20Flattening\x20hierarchy\x20into\x20individual\x20task\x20files...\x0a','existsSync','\x0a✅\x20Task\x20tracker\x20created:\x20','.json','mahQH','milestones','145508RBwxKS','XPECV','zwIap'];_0x279f=function(){return _0x46f436;};return _0x279f();}var d=i[_0x1ba366(0x1d8)](r,_0x1ba366(0x19b));t[_0x1ba366(0x1bf)](d)||(console[_0x1ba366(0x17b)](_0x1ba366(0x196)+r),process[_0x1ba366(0x1bd)](0x1));var n;try{n=JSON[_0x1ba366(0x1b2)](t[_0x1ba366(0x1bc)](d,_0x1ba366(0x1ae)));}catch(_0x4e4f25){console[_0x1ba366(0x17b)](_0x1ba366(0x1e0)),console[_0x1ba366(0x17b)](_0x4e4f25[_0x1ba366(0x195)]),process['exit'](0x1);}var o=[];n[_0x1ba366(0x1a4)]&&n['project'][_0x1ba366(0x1e2)]?(console[_0x1ba366(0x17c)](_0x1ba366(0x1bb)),console[_0x1ba366(0x17c)](_0x1ba366(0x1be)),n[_0x1ba366(0x1a4)][_0x1ba366(0x1e2)][_0x1ba366(0x192)](_0x474576=>{var _0x24035e=_0x1ba366;_0x474576[_0x24035e(0x1c3)]['forEach'](_0x53ed82=>{var _0x40838d=_0x24035e;_0x53ed82[_0x40838d(0x19a)]['forEach'](_0x9f9985=>{var _0x1252b4=_0x40838d,_0x2e9234={..._0x9f9985};_0x2e9234[_0x1252b4(0x1dc)]=_0x474576['id'],_0x2e9234[_0x1252b4(0x19c)]=_0x474576['name'],_0x2e9234[_0x1252b4(0x1a5)]=_0x53ed82['id'],_0x2e9234[_0x1252b4(0x16e)]=_0x53ed82['name'],o[_0x1252b4(0x1e1)](_0x2e9234);});});})):n[_0x1ba366(0x19a)]&&Array[_0x1ba366(0x1ca)](n['tasks'])?(console[_0x1ba366(0x17c)](_0x1ba366(0x197)),o['push'](...n['tasks'])):(console[_0x1ba366(0x17b)](_0x1ba366(0x181)),console[_0x1ba366(0x17b)](_0x1ba366(0x1b4)),console[_0x1ba366(0x17b)](_0x1ba366(0x1b7)),console[_0x1ba366(0x17b)]('\x20\x20-\x20Flat:\x20{\x20tasks:\x20[...]\x20}'),process[_0x1ba366(0x1bd)](0x1)),o['length']===0x0&&(console[_0x1ba366(0x17b)]('❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20PROJECT-PLAN.json'),process[_0x1ba366(0x1bd)](0x1)),console[_0x1ba366(0x17c)](_0x1ba366(0x17e)+o['length']+'\x20tasks\x0a');var a=i[_0x1ba366(0x1d8)](r,_0x1ba366(0x19a)),_0x18d57a={};_0x18d57a[_0x1ba366(0x176)]=!0x0,t[_0x1ba366(0x1bf)](a)||t['mkdirSync'](a,_0x18d57a),o[_0x1ba366(0x192)](_0x4f1a4f=>{var _0x1171e7=_0x1ba366,_0x71a9={};_0x71a9[_0x1171e7(0x1d2)]=_0x1171e7(0x1a9),_0x71a9[_0x1171e7(0x1b0)]=_0x1171e7(0x1ac);var _0x5e6ea0=_0x71a9,_0x2f382e={};_0x2f382e[_0x1171e7(0x1c9)]=[],_0x2f382e[_0x1171e7(0x179)]=[],_0x2f382e['tests']=[],_0x2f382e[_0x1171e7(0x1d1)]=[];var _0x472c7a={};_0x472c7a['id']=_0x4f1a4f['id'],_0x472c7a['title']=_0x4f1a4f['title'],_0x472c7a['description']=_0x4f1a4f[_0x1171e7(0x183)]||'',_0x472c7a[_0x1171e7(0x174)]=_0x4f1a4f['status']||_0x5e6ea0['Nvduz'],_0x472c7a[_0x1171e7(0x1db)]=_0x4f1a4f[_0x1171e7(0x1db)]||_0x5e6ea0[_0x1171e7(0x1b0)],_0x472c7a[_0x1171e7(0x1dc)]=_0x4f1a4f[_0x1171e7(0x1dc)]||null,_0x472c7a['subprojectName']=_0x4f1a4f[_0x1171e7(0x19c)]||null,_0x472c7a[_0x1171e7(0x1a5)]=_0x4f1a4f['milestone']||null,_0x472c7a[_0x1171e7(0x16e)]=_0x4f1a4f[_0x1171e7(0x16e)]||null,_0x472c7a['dependencies']=_0x4f1a4f[_0x1171e7(0x198)]||[],_0x472c7a[_0x1171e7(0x1d4)]=_0x4f1a4f[_0x1171e7(0x1d4)]||[],_0x472c7a[_0x1171e7(0x1aa)]=_0x4f1a4f['testCases']||[],_0x472c7a[_0x1171e7(0x1d7)]=_0x4f1a4f[_0x1171e7(0x1d7)]||null,_0x472c7a[_0x1171e7(0x1cd)]=null,_0x472c7a[_0x1171e7(0x18f)]=null,_0x472c7a['completedAt']=null,_0x472c7a[_0x1171e7(0x1b6)]=null,_0x472c7a[_0x1171e7(0x18e)]=_0x4f1a4f['artifacts']||_0x2f382e,_0x472c7a[_0x1171e7(0x1cf)]=[];let _0x41bfc4=_0x472c7a,_0x4bcab6=i[_0x1171e7(0x1d8)](a,_0x4f1a4f['id']+_0x1171e7(0x1c1));t[_0x1171e7(0x1c7)](_0x4bcab6,JSON[_0x1171e7(0x185)](_0x41bfc4,null,0x2)),console[_0x1171e7(0x17c)](_0x1171e7(0x1b9)+_0x4f1a4f['id']+':\x20'+_0x4f1a4f[_0x1171e7(0x173)]);}),console[_0x1ba366(0x17c)]('\x0a✅\x20Created\x20'+o[_0x1ba366(0x1a8)]+'\x20task\x20files\x20in\x20'+a+'/');var S={'version':'2.0','planId':l,'projectName':n[_0x1ba366(0x1cb)]||n[_0x1ba366(0x1a4)]?.[_0x1ba366(0x17a)]||_0x1ba366(0x1a3),'description':n['description']||n['project']?.[_0x1ba366(0x183)]||'','createdAt':new Date()['toISOString'](),'planLockedAt':new Date()['toISOString'](),'lastUpdated':new Date()[_0x1ba366(0x189)](),'activeTask':null,'taskFiles':o[_0x1ba366(0x1d9)](_0x40881f=>({'id':_0x40881f['id'],'title':_0x40881f[_0x1ba366(0x173)],'status':_0x1ba366(0x1a9),'file':a+'/'+_0x40881f['id']+_0x1ba366(0x1c1)})),'statistics':{'totalTasks':o['length'],'pending':o[_0x1ba366(0x1a8)],'inProgress':0x0,'completed':0x0,'blocked':0x0}},m=i[_0x1ba366(0x1d8)](r,_0x1ba366(0x1df));t[_0x1ba366(0x1c7)](m,JSON['stringify'](S,null,0x2)),console[_0x1ba366(0x17c)](_0x1ba366(0x1c0)+m),console[_0x1ba366(0x17c)]('📊\x20Total:\x20'+o[_0x1ba366(0x1a8)]+_0x1ba366(0x186)),console[_0x1ba366(0x17c)]('📋\x20Next\x20steps:'),console[_0x1ba366(0x17c)](_0x1ba366(0x187)),console[_0x1ba366(0x17c)](_0x1ba366(0x199)),console[_0x1ba366(0x17c)](_0x1ba366(0x172)),n['locked']=!0x0,n[_0x1ba366(0x170)]=new Date()[_0x1ba366(0x189)](),t['writeFileSync'](d,JSON[_0x1ba366(0x185)](n,null,0x2));var f=i[_0x1ba366(0x1d8)](r,_0x1ba366(0x1d5));t[_0x1ba366(0x1c7)](f,new Date()['toISOString']()),t[_0x1ba366(0x1c7)](p,l),console[_0x1ba366(0x17c)]('🔒\x20Plan\x20'+l+_0x1ba366(0x171)),process['exit'](0x0);
2
+ var _0x376bcf=_0x1703;(function(_0x36f66e,_0x5ba83b){var _0x32ba21=_0x1703,_0x48a79c=_0x36f66e();while(!![]){try{var _0x2ab836=-parseInt(_0x32ba21(0x223))/0x1*(parseInt(_0x32ba21(0x211))/0x2)+parseInt(_0x32ba21(0x21e))/0x3*(-parseInt(_0x32ba21(0x233))/0x4)+-parseInt(_0x32ba21(0x21b))/0x5*(parseInt(_0x32ba21(0x215))/0x6)+parseInt(_0x32ba21(0x1d4))/0x7*(parseInt(_0x32ba21(0x219))/0x8)+parseInt(_0x32ba21(0x1f6))/0x9*(-parseInt(_0x32ba21(0x1db))/0xa)+parseInt(_0x32ba21(0x1ef))/0xb*(-parseInt(_0x32ba21(0x1d2))/0xc)+parseInt(_0x32ba21(0x1cf))/0xd*(parseInt(_0x32ba21(0x201))/0xe);if(_0x2ab836===_0x5ba83b)break;else _0x48a79c['push'](_0x48a79c['shift']());}catch(_0x4c03c9){_0x48a79c['push'](_0x48a79c['shift']());}}}(_0x18e8,0x9013d));var _0x37306c=(function(){var _0x22db80=!![];return function(_0x1b3b0e,_0x183d73){var _0x2be188=_0x1703,_0x5671fa={};_0x5671fa[_0x2be188(0x22f)]=_0x2be188(0x1df);var _0x2c7a00=_0x5671fa,_0x2a0aa4=_0x22db80?function(){var _0x513cd9=_0x2be188,_0x5d2e5d={};_0x5d2e5d[_0x513cd9(0x1ee)]=_0x513cd9(0x22a);var _0x13c415=_0x5d2e5d;if(_0x2c7a00[_0x513cd9(0x22f)]===_0x513cd9(0x1df)){if(_0x183d73){var _0x519548=_0x183d73[_0x513cd9(0x20a)](_0x1b3b0e,arguments);return _0x183d73=null,_0x519548;}}else _0x265ff6['error'](_0x13c415['KtbzW']),_0x4892ae[_0x513cd9(0x224)](_0x361ba5[_0x513cd9(0x1f4)]),_0x258250['exit'](0x1);}:function(){};return _0x22db80=![],_0x2a0aa4;};}()),_0x2b751b=_0x37306c(this,function(){var _0x287449=_0x1703,_0x3e6ef3={};_0x3e6ef3['oNSId']=_0x287449(0x22b);var _0x23d356=_0x3e6ef3;return _0x2b751b['toString']()[_0x287449(0x20f)](_0x23d356[_0x287449(0x1e9)])[_0x287449(0x1e1)]()[_0x287449(0x1dc)](_0x2b751b)['search'](_0x23d356[_0x287449(0x1e9)]);});_0x2b751b();var u=(_0x11d63f=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x11d63f,{'get':(_0x219c4b,_0x420150)=>(typeof require<'u'?require:_0x219c4b)[_0x420150]}):_0x11d63f)(function(_0x4ca12d){var _0x273bf0=_0x1703,_0x4f1f86={'kcVjR':function(_0x48c011,_0x1f97cf){return _0x48c011<_0x1f97cf;},'WgSQH':function(_0x3ff6a3,_0x574bab){return _0x3ff6a3(_0x574bab);},'vLsaa':function(_0x393076,_0xd75041){return _0x393076+_0xd75041;},'DyMbF':function(_0x533fd6,_0x1797af){return _0x533fd6+_0x1797af;},'XWmpQ':_0x273bf0(0x228),'EjyCl':_0x273bf0(0x20b)};if(_0x4f1f86[_0x273bf0(0x1f9)](typeof require,'u'))return require['apply'](this,arguments);throw _0x4f1f86[_0x273bf0(0x214)](Error,_0x4f1f86[_0x273bf0(0x1d6)](_0x4f1f86['DyMbF'](_0x4f1f86[_0x273bf0(0x1dd)],_0x4ca12d),_0x4f1f86[_0x273bf0(0x225)]));}),t=u('fs'),i=u(_0x376bcf(0x20d));console[_0x376bcf(0x222)](_0x376bcf(0x1cd));var g=process[_0x376bcf(0x1d3)][0x2],p=_0x376bcf(0x1fd),l;g?l=g:t['existsSync'](p)?l=t[_0x376bcf(0x230)](p,_0x376bcf(0x1ea))[_0x376bcf(0x1f8)]():(console['error'](_0x376bcf(0x1f2)),console[_0x376bcf(0x224)]('Usage:'),console[_0x376bcf(0x224)](_0x376bcf(0x1c6)),console[_0x376bcf(0x224)](_0x376bcf(0x1fe)),console[_0x376bcf(0x224)]('\x20\x20npm\x20run\x20plan:manager\x0a'),process[_0x376bcf(0x21d)](0x1));var r=i[_0x376bcf(0x1f3)](_0x376bcf(0x1e5),l);t[_0x376bcf(0x218)](r)||(console['error'](_0x376bcf(0x22e)+r),console['error'](_0x376bcf(0x1c7)),process[_0x376bcf(0x21d)](0x1));var d=i['join'](r,_0x376bcf(0x1c9));t[_0x376bcf(0x218)](d)||(console[_0x376bcf(0x224)]('❌\x20ERROR:\x20PROJECT-PLAN.json\x20not\x20found\x20in\x20'+r),process[_0x376bcf(0x21d)](0x1));var n;try{n=JSON['parse'](t[_0x376bcf(0x230)](d,_0x376bcf(0x1ea)));}catch(_0x322c41){console[_0x376bcf(0x224)](_0x376bcf(0x22a)),console[_0x376bcf(0x224)](_0x322c41[_0x376bcf(0x1f4)]),process['exit'](0x1);}var o=[];n['project']&&n['project'][_0x376bcf(0x1f5)]?(console['log']('📦\x20Detected\x20hierarchical\x20plan\x20structure'),console[_0x376bcf(0x222)](_0x376bcf(0x1ed)),n[_0x376bcf(0x1cb)][_0x376bcf(0x1f5)][_0x376bcf(0x1e7)](_0x4e282a=>{var _0x17efce=_0x376bcf,_0x378851={};_0x378851[_0x17efce(0x1fb)]=_0x17efce(0x212);var _0x1d0ef7=_0x378851;_0x4e282a['milestones'][_0x17efce(0x1e7)](_0x49c9fb=>{var _0x5c4e9c=_0x17efce;'BqHcZ'===_0x1d0ef7[_0x5c4e9c(0x1fb)]?_0x49c9fb[_0x5c4e9c(0x232)][_0x5c4e9c(0x1e7)](_0x2d1fa5=>{var _0x2fc0c6=_0x5c4e9c,_0x55a89={..._0x2d1fa5};_0x55a89[_0x2fc0c6(0x217)]=_0x4e282a['id'],_0x55a89[_0x2fc0c6(0x1e0)]=_0x4e282a[_0x2fc0c6(0x207)],_0x55a89[_0x2fc0c6(0x226)]=_0x49c9fb['id'],_0x55a89[_0x2fc0c6(0x1d0)]=_0x49c9fb[_0x2fc0c6(0x207)],o['push'](_0x55a89);}):_0x23aa07[_0x5c4e9c(0x220)][_0x5c4e9c(0x1e7)](_0x1f3fac=>{var _0x3ed326=_0x5c4e9c;_0x1f3fac[_0x3ed326(0x232)][_0x3ed326(0x1e7)](_0x5e2fea=>{var _0x1970e8=_0x3ed326,_0x38799d={..._0x5e2fea};_0x38799d[_0x1970e8(0x217)]=_0x1a068['id'],_0x38799d[_0x1970e8(0x1e0)]=_0x655abf[_0x1970e8(0x207)],_0x38799d[_0x1970e8(0x226)]=_0x1f3fac['id'],_0x38799d[_0x1970e8(0x1d0)]=_0x1f3fac[_0x1970e8(0x207)],_0x403c1a[_0x1970e8(0x1e2)](_0x38799d);});});});})):n['tasks']&&Array['isArray'](n[_0x376bcf(0x232)])?(console[_0x376bcf(0x222)]('📋\x20Detected\x20flat\x20plan\x20structure'),o['push'](...n[_0x376bcf(0x232)])):(console['error']('❌\x20ERROR:\x20Invalid\x20plan\x20structure'),console[_0x376bcf(0x224)]('Expected\x20either:'),console[_0x376bcf(0x224)](_0x376bcf(0x1cc)),console[_0x376bcf(0x224)](_0x376bcf(0x1e4)),process[_0x376bcf(0x21d)](0x1)),o[_0x376bcf(0x1ec)]===0x0&&(console[_0x376bcf(0x224)](_0x376bcf(0x1f7)),process[_0x376bcf(0x21d)](0x1)),console[_0x376bcf(0x222)](_0x376bcf(0x234)+o[_0x376bcf(0x1ec)]+'\x20tasks\x0a');function _0x1703(_0x55a028,_0x342e64){_0x55a028=_0x55a028-0x1c6;var _0x223f91=_0x18e8();var _0x2b751b=_0x223f91[_0x55a028];return _0x2b751b;}var a=i[_0x376bcf(0x1f3)](r,_0x376bcf(0x232)),_0x5ac963={};_0x5ac963[_0x376bcf(0x1d1)]=!0x0,t[_0x376bcf(0x218)](a)||t['mkdirSync'](a,_0x5ac963),o[_0x376bcf(0x1e7)](_0x4e59fe=>{var _0x39b04c=_0x376bcf,_0x4e8c0a={};_0x4e8c0a[_0x39b04c(0x1c8)]='pending',_0x4e8c0a['CrKUq']=_0x39b04c(0x1f1);var _0x45e456=_0x4e8c0a,_0x2f1330={};_0x2f1330[_0x39b04c(0x1da)]=[],_0x2f1330[_0x39b04c(0x1e6)]=[],_0x2f1330[_0x39b04c(0x208)]=[],_0x2f1330[_0x39b04c(0x1ca)]=[];var _0xb8a106={};_0xb8a106['id']=_0x4e59fe['id'],_0xb8a106[_0x39b04c(0x1de)]=_0x4e59fe[_0x39b04c(0x1de)],_0xb8a106[_0x39b04c(0x1e3)]=_0x4e59fe[_0x39b04c(0x1e3)]||'',_0xb8a106[_0x39b04c(0x22c)]=_0x4e59fe['status']||_0x45e456[_0x39b04c(0x1c8)],_0xb8a106[_0x39b04c(0x22d)]=_0x4e59fe[_0x39b04c(0x22d)]||_0x45e456[_0x39b04c(0x1d7)],_0xb8a106[_0x39b04c(0x217)]=_0x4e59fe[_0x39b04c(0x217)]||null,_0xb8a106[_0x39b04c(0x1e0)]=_0x4e59fe[_0x39b04c(0x1e0)]||null,_0xb8a106[_0x39b04c(0x226)]=_0x4e59fe[_0x39b04c(0x226)]||null,_0xb8a106[_0x39b04c(0x1d0)]=_0x4e59fe[_0x39b04c(0x1d0)]||null,_0xb8a106[_0x39b04c(0x206)]=_0x4e59fe[_0x39b04c(0x206)]||[],_0xb8a106[_0x39b04c(0x231)]=_0x4e59fe[_0x39b04c(0x231)]||[],_0xb8a106[_0x39b04c(0x1f0)]=_0x4e59fe['testCases']||[],_0xb8a106['estimatedHours']=_0x4e59fe[_0x39b04c(0x216)]||null,_0xb8a106[_0x39b04c(0x213)]=null,_0xb8a106[_0x39b04c(0x20c)]=null,_0xb8a106[_0x39b04c(0x1fa)]=null,_0xb8a106['blockedReason']=null,_0xb8a106[_0x39b04c(0x1d5)]=_0x4e59fe[_0x39b04c(0x1d5)]||_0x2f1330,_0xb8a106[_0x39b04c(0x210)]=[];let _0x35b2a7=_0xb8a106,_0x366603=i[_0x39b04c(0x1f3)](a,_0x4e59fe['id']+_0x39b04c(0x221));t[_0x39b04c(0x1e8)](_0x366603,JSON[_0x39b04c(0x1d8)](_0x35b2a7,null,0x2)),console['log']('\x20\x20✓\x20'+_0x4e59fe['id']+':\x20'+_0x4e59fe[_0x39b04c(0x1de)]);}),console[_0x376bcf(0x222)](_0x376bcf(0x227)+o['length']+_0x376bcf(0x1eb)+a+'/');var S={'version':_0x376bcf(0x204),'planId':l,'projectName':n['projectName']||n[_0x376bcf(0x1cb)]?.[_0x376bcf(0x207)]||_0x376bcf(0x21f),'description':n[_0x376bcf(0x1e3)]||n[_0x376bcf(0x1cb)]?.[_0x376bcf(0x1e3)]||'','createdAt':new Date()[_0x376bcf(0x21a)](),'planLockedAt':new Date()[_0x376bcf(0x21a)](),'lastUpdated':new Date()[_0x376bcf(0x21a)](),'activeTask':null,'taskFiles':o[_0x376bcf(0x20e)](_0x4f659e=>({'id':_0x4f659e['id'],'title':_0x4f659e[_0x376bcf(0x1de)],'status':_0x376bcf(0x1ff),'file':a+'/'+_0x4f659e['id']+_0x376bcf(0x221)})),'statistics':{'totalTasks':o[_0x376bcf(0x1ec)],'pending':o['length'],'inProgress':0x0,'completed':0x0,'blocked':0x0}},m=i[_0x376bcf(0x1f3)](r,'TASK-TRACKER.json');t['writeFileSync'](m,JSON[_0x376bcf(0x1d8)](S,null,0x2)),console[_0x376bcf(0x222)](_0x376bcf(0x1ce)+m),console['log'](_0x376bcf(0x1fc)+o[_0x376bcf(0x1ec)]+'\x20tasks\x0a'),console[_0x376bcf(0x222)](_0x376bcf(0x1d9)),console[_0x376bcf(0x222)]('\x20\x201.\x20Set\x20as\x20active\x20plan:\x20npm\x20run\x20plan:manager'),console['log'](_0x376bcf(0x200)),console[_0x376bcf(0x222)](_0x376bcf(0x229)),n[_0x376bcf(0x205)]=!0x0,n[_0x376bcf(0x21c)]=new Date()[_0x376bcf(0x21a)](),t[_0x376bcf(0x1e8)](d,JSON['stringify'](n,null,0x2));var f=i[_0x376bcf(0x1f3)](r,_0x376bcf(0x203));function _0x18e8(){var _0x481e83=['exit','686121WYsrPC','Structured\x20Coding\x20Project','milestones','.json','log','151qKkleX','error','EjyCl','milestone','\x0a✅\x20Created\x20','Dynamic\x20require\x20of\x20\x22','\x20\x203.\x20View\x20status:\x20npm\x20run\x20task:status\x0a','❌\x20ERROR:\x20Invalid\x20JSON\x20in\x20PROJECT-PLAN.json','(((.+)+)+)+$','status','phase','❌\x20ERROR:\x20Plan\x20directory\x20not\x20found:\x20','mHNyz','readFileSync','completionCriteria','tasks','20aybgcs','✅\x20Found\x20','\x20\x20npm\x20run\x20plan:init\x20<plan-id>','Create\x20plan\x20first\x20with:\x20npm\x20run\x20plan:create\x0a','OVvAb','PROJECT-PLAN.json','documentation','project','\x20\x20-\x20Hierarchical:\x20{\x20project:\x20{\x20subprojects:\x20[...]\x20}\x20}','\x0a🚀\x20INITIALIZING\x20TASK\x20TRACKER\x0a','\x0a✅\x20Task\x20tracker\x20created:\x20','1728142tZeEpx','milestoneName','recursive','294708MZSkhH','argv','7nAFGwR','artifacts','vLsaa','CrKUq','stringify','📋\x20Next\x20steps:','design','360wXnGUC','constructor','XWmpQ','title','oDMlL','subprojectName','toString','push','description','\x20\x20-\x20Flat:\x20{\x20tasks:\x20[...]\x20}','.claude/plans','code','forEach','writeFileSync','oNSId','utf8','\x20task\x20files\x20in\x20','length','🔄\x20Flattening\x20hierarchy\x20into\x20individual\x20task\x20files...\x0a','KtbzW','275bwCfXW','testCases','implementation','❌\x20ERROR:\x20No\x20plan\x20specified\x20and\x20no\x20active\x20plan\x20found','join','message','subprojects','225063vfHxaR','❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20PROJECT-PLAN.json','trim','kcVjR','completedAt','yMTjm','📊\x20Total:\x20','.claude/ACTIVE-PLAN','Or\x20set\x20active\x20plan\x20first:','pending','\x20\x202.\x20Start\x20first\x20task:\x20npm\x20run\x20task:start\x20TASK-001','322JAriRV','\x20is\x20now\x20LOCKED\x20and\x20ACTIVE\x0a','.plan-locked','2.0','locked','dependencies','name','tests','🔒\x20Plan\x20','apply','\x22\x20is\x20not\x20supported','startedAt','path','map','search','notes','1160UlShMe','BqHcZ','actualHours','WgSQH','6RSPTcZ','estimatedHours','subproject','existsSync','6049784JluGQr','toISOString','2391110SFvhnK','lockedAt'];_0x18e8=function(){return _0x481e83;};return _0x18e8();}t[_0x376bcf(0x1e8)](f,new Date()['toISOString']()),t[_0x376bcf(0x1e8)](p,l),console[_0x376bcf(0x222)](_0x376bcf(0x209)+l+_0x376bcf(0x202)),process[_0x376bcf(0x21d)](0x0);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x4299c3=_0x1dec;function _0x4fd0(){const _0x47d1bf=['nmLqO','\x20has\x20unmet\x20dependencies:','stringify','title','blocked','HLSin','toISOString','1554940vJzIkV','testCases','lastUpdated','existsSync','statistics','IFpIA','\x0a⚠️\x20\x20WARNING:\x20You\x20are\x20skipping\x20earlier\x20tasks\x20in\x20this\x20phase:','pending','LJNbY','forEach','parse','map','\x20\x20\x20\x20...\x20and\x20','taskFiles','\x20incomplete):','\x0a📝\x20WORKFLOW:','rUheg','\x0a❌\x20ERROR:\x20Task\x20','\x0a⚠️\x20\x20WARNING:\x20Starting\x20','now','223740lMCbcx','uFRrJ','\x0aRecommended:\x20Complete\x20earlier\x20phases\x20before\x20moving\x20to\x20later\x20phases.','apply','FPUiP','status','exit','\x0a\x20\x20','readFileSync','log','xPHSt','2IazdMc','in_progress','.json','\x20phase\x20with\x20incomplete\x20earlier\x20phase\x20tasks:','erqml','gTCJP','trim','completed','slice','\x0a❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20','\x0a✅\x20Started\x20task:\x20','writeFileSync','(((.+)+)+)+$','\x20\x20\x20\x20','description','Plan:\x20','indexOf','📋\x20Plan:\x20','startedAt','\x0a⚠️\x20\x20Pausing\x20task\x20','\x0a❌\x20ERROR:\x20Task\x20ID\x20required','dependencies','error','mVQXB','zHAqY','504ZBhIPo','filter','\x20\x202.\x20Commit\x20frequently\x20with\x20task\x20reference:','\x20is\x20already\x20completed','UPFdc','phase','\x20\x20\x20\x20\x20npm\x20run\x20task:done\x20','length','Initialize\x20first:\x20npm\x20run\x20plan:init\x0a','implementation','split','EGnJk','\x0aAre\x20you\x20sure\x20you\x20want\x20to\x20start\x20out\x20of\x20sequence?','\x0a✓\x20Completion\x20criteria:',']\x20Description\x20of\x20changes\x22','948588BXIIuT','16859TMqMxX','find','push','join','QLowG','activeTask','🔧\x20Phase:\x20','.claude/ACTIVE-PLAN','bPFTU','\x20\x201.\x20Make\x20your\x20changes\x20on\x20main\x20branch','📌\x20','\x20\x203.\x20When\x20finished:','utf8','testing','3856Vckwwx','keys','.claude/plans','Press\x20Ctrl+C\x20to\x20cancel,\x20or\x20wait\x205\x20seconds\x20to\x20continue...\x0a','adpzy','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','tasks','design','\x20more','24800KCfblR','374556ECnTFm','toUpperCase','milestoneName','📦\x20Subproject:\x20','toString','Dynamic\x20require\x20of\x20\x22','\x22\x20is\x20not\x20supported','search','EIrPz','completionCriteria','Cannot\x20restart\x20a\x20completed\x20task\x0a','252fLjKhs'];_0x4fd0=function(){return _0x47d1bf;};return _0x4fd0();}(function(_0x27807a,_0x4517a6){const _0x486bdf=_0x1dec,_0x4d9773=_0x27807a();while(!![]){try{const _0x1569d7=parseInt(_0x486bdf(0x1db))/0x1*(-parseInt(_0x486bdf(0x1b2))/0x2)+-parseInt(_0x486bdf(0x180))/0x3+parseInt(_0x486bdf(0x1da))/0x4+-parseInt(_0x486bdf(0x17f))/0x5*(-parseInt(_0x486bdf(0x18b))/0x6)+parseInt(_0x486bdf(0x1cb))/0x7*(-parseInt(_0x486bdf(0x1e9))/0x8)+parseInt(_0x486bdf(0x1a7))/0x9+-parseInt(_0x486bdf(0x193))/0xa;if(_0x1569d7===_0x4517a6)break;else _0x4d9773['push'](_0x4d9773['shift']());}catch(_0x344905){_0x4d9773['push'](_0x4d9773['shift']());}}}(_0x4fd0,0x21cb2));const _0x24f6f5=(function(){const _0x372f40=_0x1dec,_0xfa748={};_0xfa748[_0x372f40(0x191)]=_0x372f40(0x18c),_0xfa748[_0x372f40(0x1b7)]=_0x372f40(0x1df);const _0x4a8417=_0xfa748;let _0x288871=!![];return function(_0x1b3f51,_0x123864){const _0x3ab2f3=_0x372f40;if(_0x4a8417[_0x3ab2f3(0x191)]===_0x4a8417[_0x3ab2f3(0x1b7)])_0x47e324[_0x3ab2f3(0x1b0)](_0x3ab2f3(0x1bf)+_0x19d8b1['id']+':\x20'+_0x169bdb[_0x3ab2f3(0x18f)]+'\x20['+_0x4f308d[_0x3ab2f3(0x1ac)]+']');else{const _0x4b1dd8=_0x288871?function(){const _0x195705=_0x3ab2f3;if(_0x123864){const _0x2694d4=_0x123864[_0x195705(0x1aa)](_0x1b3f51,arguments);return _0x123864=null,_0x2694d4;}}:function(){};return _0x288871=![],_0x4b1dd8;}};}()),_0x3bcf7f=_0x24f6f5(this,function(){const _0x35b2df=_0x1dec,_0x2e46c9={};_0x2e46c9[_0x35b2df(0x17a)]='(((.+)+)+)+$';const _0x51bf38=_0x2e46c9;return _0x3bcf7f[_0x35b2df(0x184)]()[_0x35b2df(0x187)](_0x35b2df(0x1be))[_0x35b2df(0x184)]()['constructor'](_0x3bcf7f)['search'](_0x51bf38[_0x35b2df(0x17a)]);});_0x3bcf7f();var m=(_0x2a1c6d=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2a1c6d,{'get':(_0x17c05e,_0x3659f2)=>(typeof require<'u'?require:_0x17c05e)[_0x3659f2]}):_0x2a1c6d)(function(_0x1b0c0a){const _0x34fca3=_0x1dec,_0x1591b1={'xPHSt':function(_0x39410b,_0x3fb44d){return _0x39410b<_0x3fb44d;},'bPFTU':function(_0x2483bd,_0x1ca28d){return _0x2483bd(_0x1ca28d);},'IyyIk':function(_0x20a1d5,_0x65419f){return _0x20a1d5+_0x65419f;},'Pjzoz':_0x34fca3(0x185),'mVQXB':_0x34fca3(0x186)};if(_0x1591b1[_0x34fca3(0x1b1)](typeof require,'u'))return require[_0x34fca3(0x1aa)](this,arguments);throw _0x1591b1[_0x34fca3(0x1e3)](Error,_0x1591b1['IyyIk'](_0x1591b1['Pjzoz'],_0x1b0c0a)+_0x1591b1[_0x34fca3(0x1c9)]);}),i=m('fs'),d=m('path'),r=process['argv'][0x2];r||(console[_0x4299c3(0x1c8)](_0x4299c3(0x1c6)),console[_0x4299c3(0x1c8)]('Usage:\x20npm\x20run\x20task:start\x20TASK-001\x0a'),process['exit'](0x1));var y=_0x4299c3(0x1e2);i[_0x4299c3(0x196)](y)||(console['error']('\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found'),console['error']('Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a'),process[_0x4299c3(0x1ad)](0x1));var h=i[_0x4299c3(0x1af)](y,_0x4299c3(0x1e7))[_0x4299c3(0x1b8)](),f=d[_0x4299c3(0x1de)](_0x4299c3(0x178),h),g=d[_0x4299c3(0x1de)](f,'TASK-TRACKER.json'),u=d[_0x4299c3(0x1de)](f,_0x4299c3(0x17c),r+'.json');i[_0x4299c3(0x196)](g)||(console[_0x4299c3(0x1c8)](_0x4299c3(0x17b)),console[_0x4299c3(0x1c8)](_0x4299c3(0x1c1)+h),console[_0x4299c3(0x1c8)](_0x4299c3(0x1d3)),process[_0x4299c3(0x1ad)](0x1)),i[_0x4299c3(0x196)](u)||(console[_0x4299c3(0x1c8)](_0x4299c3(0x1bb)+u),console['error']('Available\x20tasks:'),JSON['parse'](i['readFileSync'](g,'utf8'))[_0x4299c3(0x1a0)][_0x4299c3(0x19c)](_0x43ea26=>{const _0x57dc54=_0x4299c3;console[_0x57dc54(0x1c8)]('\x20\x20'+_0x43ea26['id']+':\x20'+_0x43ea26['title']+'\x20['+_0x43ea26[_0x57dc54(0x1ac)]+']');}),console[_0x4299c3(0x1c8)](''),process['exit'](0x1));var a=JSON[_0x4299c3(0x19d)](i[_0x4299c3(0x1af)](g,'utf8')),t=JSON[_0x4299c3(0x19d)](i[_0x4299c3(0x1af)](u,_0x4299c3(0x1e7)));t['status']===_0x4299c3(0x1b9)&&(console[_0x4299c3(0x1c8)](_0x4299c3(0x1a4)+r+_0x4299c3(0x1ce)),console['error'](_0x4299c3(0x18a)),process[_0x4299c3(0x1ad)](0x1));if(t['dependencies']&&t[_0x4299c3(0x1c7)]['length']>0x0){let e=[];for(let s of t[_0x4299c3(0x1c7)]){let o=d[_0x4299c3(0x1de)](f,_0x4299c3(0x17c),s+_0x4299c3(0x1b4));if(i[_0x4299c3(0x196)](o)){let n=JSON[_0x4299c3(0x19d)](i[_0x4299c3(0x1af)](o,_0x4299c3(0x1e7)));n[_0x4299c3(0x1ac)]!=='completed'&&e[_0x4299c3(0x1dd)]({'id':s,'title':n[_0x4299c3(0x18f)],'status':n[_0x4299c3(0x1ac)]});}}e[_0x4299c3(0x1d2)]>0x0&&(console[_0x4299c3(0x1c8)](_0x4299c3(0x1a4)+r+_0x4299c3(0x18d)),e['forEach'](_0x1571b5=>{const _0x97aac3=_0x4299c3;console[_0x97aac3(0x1c8)]('\x20\x20'+_0x1571b5['id']+':\x20'+_0x1571b5[_0x97aac3(0x18f)]+'\x20['+_0x1571b5[_0x97aac3(0x1ac)]+']');}),console[_0x4299c3(0x1c8)]('\x0aComplete\x20dependencies\x20first\x0a'),process[_0x4299c3(0x1ad)](0x1));}var $=parseInt(r[_0x4299c3(0x1d5)]('-')[0x1]);if(!isNaN($)){let s=a[_0x4299c3(0x1a0)][_0x4299c3(0x19e)](_0x2f41a1=>{const _0x4108ae=_0x4299c3,_0xa4c6c7={};_0xa4c6c7[_0x4108ae(0x1ab)]=_0x4108ae(0x1e7);const _0xdfb6f6=_0xa4c6c7;let _0x46d85a=d[_0x4108ae(0x1de)](f,_0x4108ae(0x17c),_0x2f41a1['id']+_0x4108ae(0x1b4));return i[_0x4108ae(0x196)](_0x46d85a)?JSON['parse'](i[_0x4108ae(0x1af)](_0x46d85a,_0xdfb6f6[_0x4108ae(0x1ab)])):null;})['filter'](_0x413b4a=>_0x413b4a!==null)['filter'](_0x2c3916=>{const _0x272878=_0x4299c3,_0x28accd={'erqml':function(_0x2ef50a,_0x2aae60){return _0x2ef50a(_0x2aae60);},'zHAqY':function(_0x52902b,_0x170882){return _0x52902b<_0x170882;},'lmVPS':function(_0x325378,_0x1c9f03){return _0x325378!==_0x1c9f03;},'UwowB':function(_0x56dd32,_0x558480){return _0x56dd32===_0x558480;},'IFpIA':function(_0x5f1bdf,_0x96143a){return _0x5f1bdf!==_0x96143a;}};let _0x5e922a=parseInt(_0x2c3916['id'][_0x272878(0x1d5)]('-')[0x1]);return!_0x28accd[_0x272878(0x1b6)](isNaN,_0x5e922a)&&_0x28accd[_0x272878(0x1ca)](_0x5e922a,$)&&_0x28accd['lmVPS'](_0x2c3916[_0x272878(0x1ac)],_0x272878(0x1b9))&&_0x28accd['UwowB'](_0x2c3916[_0x272878(0x1d0)],t[_0x272878(0x1d0)])&&_0x28accd[_0x272878(0x198)](_0x2c3916['id'],r);});if(s[_0x4299c3(0x1d2)]>0x0){console['log'](_0x4299c3(0x199)),s[_0x4299c3(0x19c)](_0x1f4236=>{const _0x48641e=_0x4299c3;console['log']('\x20\x20'+_0x1f4236['id']+':\x20'+_0x1f4236[_0x48641e(0x18f)]+'\x20['+_0x1f4236['status']+']');}),console['log'](_0x4299c3(0x1d7)),console['log'](_0x4299c3(0x179));let o=Date[_0x4299c3(0x1a6)]();for(;Date[_0x4299c3(0x1a6)]()-o<0x1388;);}}function _0x1dec(_0x3143ed,_0x493a5d){_0x3143ed=_0x3143ed-0x177;const _0x1975ac=_0x4fd0();let _0x3bcf7f=_0x1975ac[_0x3143ed];return _0x3bcf7f;}if(t['phase']){let e=[_0x4299c3(0x17d),_0x4299c3(0x1d4),_0x4299c3(0x1e8),'deployment','documentation'],s=e[_0x4299c3(0x1c2)](t[_0x4299c3(0x1d0)]['toLowerCase']());if(s>0x0){let n=a[_0x4299c3(0x1a0)][_0x4299c3(0x19e)](_0x42b78f=>{const _0x1b7255=_0x4299c3,_0x130031={};_0x130031[_0x1b7255(0x1a3)]='tasks';const _0xc5c358=_0x130031;let _0x34f021=d[_0x1b7255(0x1de)](f,_0xc5c358[_0x1b7255(0x1a3)],_0x42b78f['id']+'.json');return i['existsSync'](_0x34f021)?JSON[_0x1b7255(0x19d)](i[_0x1b7255(0x1af)](_0x34f021,'utf8')):null;})[_0x4299c3(0x1cc)](_0x2c6b37=>_0x2c6b37!==null)[_0x4299c3(0x1cc)](_0x324ec6=>{const _0x41cc0f=_0x4299c3,_0x1ba2bd={};_0x1ba2bd[_0x41cc0f(0x188)]=function(_0x113134,_0x31f079){return _0x113134>=_0x31f079;},_0x1ba2bd[_0x41cc0f(0x1a8)]=function(_0x145940,_0x4549bf){return _0x145940!==_0x4549bf;};const _0x5deeab=_0x1ba2bd;let _0x22a5c4=e[_0x41cc0f(0x1c2)]((_0x324ec6[_0x41cc0f(0x1d0)]||'')['toLowerCase']());return _0x5deeab[_0x41cc0f(0x188)](_0x22a5c4,0x0)&&_0x22a5c4<s&&_0x5deeab[_0x41cc0f(0x1a8)](_0x324ec6[_0x41cc0f(0x1ac)],_0x41cc0f(0x1b9));});if(n['length']>0x0){console[_0x4299c3(0x1b0)](_0x4299c3(0x1a5)+t[_0x4299c3(0x1d0)]+_0x4299c3(0x1b5));let l={};n[_0x4299c3(0x19c)](_0x20b7d5=>{const _0x360140=_0x4299c3;l[_0x20b7d5[_0x360140(0x1d0)]]||(l[_0x20b7d5['phase']]=[]),l[_0x20b7d5['phase']]['push'](_0x20b7d5);}),Object[_0x4299c3(0x177)](l)['forEach'](_0x2d629e=>{const _0x27d7e2=_0x4299c3,_0x1b1125={};_0x1b1125['EGnJk']=function(_0x1e54c6,_0xb76c1a){return _0x1e54c6>_0xb76c1a;},_0x1b1125[_0x27d7e2(0x1cf)]=function(_0x5c9cb4,_0x55bef1){return _0x5c9cb4-_0x55bef1;};const _0x47457b=_0x1b1125;console[_0x27d7e2(0x1b0)](_0x27d7e2(0x1ae)+_0x2d629e[_0x27d7e2(0x181)]()+'\x20('+l[_0x2d629e]['length']+_0x27d7e2(0x1a1)),l[_0x2d629e][_0x27d7e2(0x1ba)](0x0,0x3)[_0x27d7e2(0x19c)](_0x2b9b2c=>{const _0x4fb459=_0x27d7e2;console['log'](_0x4fb459(0x1bf)+_0x2b9b2c['id']+':\x20'+_0x2b9b2c['title']+'\x20['+_0x2b9b2c['status']+']');}),_0x47457b[_0x27d7e2(0x1d6)](l[_0x2d629e][_0x27d7e2(0x1d2)],0x3)&&console[_0x27d7e2(0x1b0)](_0x27d7e2(0x19f)+_0x47457b[_0x27d7e2(0x1cf)](l[_0x2d629e][_0x27d7e2(0x1d2)],0x3)+_0x27d7e2(0x17e));}),console[_0x4299c3(0x1b0)](_0x4299c3(0x1a9)),console[_0x4299c3(0x1b0)](_0x4299c3(0x179));let p=Date[_0x4299c3(0x1a6)]();for(;Date[_0x4299c3(0x1a6)]()-p<0x1388;);}}}if(a[_0x4299c3(0x1e0)]&&a[_0x4299c3(0x1e0)]!==r){let e=d['join'](f,_0x4299c3(0x17c),a['activeTask']+'.json');if(i['existsSync'](e)){let s=JSON[_0x4299c3(0x19d)](i[_0x4299c3(0x1af)](e,_0x4299c3(0x1e7)));console[_0x4299c3(0x1b0)](_0x4299c3(0x1c5)+s['id']+':\x20'+s[_0x4299c3(0x18f)]),s[_0x4299c3(0x1ac)]=_0x4299c3(0x19a),i['writeFileSync'](e,JSON[_0x4299c3(0x18e)](s,null,0x2));let o=a['taskFiles'][_0x4299c3(0x1dc)](_0x840633=>_0x840633['id']===a['activeTask']);o&&(o[_0x4299c3(0x1ac)]=_0x4299c3(0x19a));}}t[_0x4299c3(0x1ac)]='in_progress',t[_0x4299c3(0x1c4)]=new Date()[_0x4299c3(0x192)](),i[_0x4299c3(0x1bd)](u,JSON[_0x4299c3(0x18e)](t,null,0x2)),a['activeTask']=r,a[_0x4299c3(0x195)]=new Date()['toISOString']();var S=a[_0x4299c3(0x1a0)][_0x4299c3(0x1dc)](_0x277040=>_0x277040['id']===r);S&&(S[_0x4299c3(0x1ac)]=_0x4299c3(0x1b3)),a[_0x4299c3(0x197)]={'totalTasks':a[_0x4299c3(0x1a0)]['length'],'pending':a[_0x4299c3(0x1a0)][_0x4299c3(0x1cc)](_0x526c97=>_0x526c97['status']==='pending')[_0x4299c3(0x1d2)],'inProgress':a[_0x4299c3(0x1a0)][_0x4299c3(0x1cc)](_0xb32bb3=>_0xb32bb3['status']===_0x4299c3(0x1b3))[_0x4299c3(0x1d2)],'completed':a['taskFiles'][_0x4299c3(0x1cc)](_0x348925=>_0x348925[_0x4299c3(0x1ac)]==='completed')[_0x4299c3(0x1d2)],'blocked':a[_0x4299c3(0x1a0)][_0x4299c3(0x1cc)](_0x551191=>_0x551191[_0x4299c3(0x1ac)]===_0x4299c3(0x190))[_0x4299c3(0x1d2)]},i[_0x4299c3(0x1bd)](g,JSON[_0x4299c3(0x18e)](a,null,0x2)),console['log'](_0x4299c3(0x1bc)+r),console[_0x4299c3(0x1b0)](_0x4299c3(0x1c3)+h+'\x0a'),console[_0x4299c3(0x1b0)](_0x4299c3(0x1e5)+t[_0x4299c3(0x18f)]),t[_0x4299c3(0x1c0)]&&console[_0x4299c3(0x1b0)]('📝\x20'+t[_0x4299c3(0x1c0)]),console['log'](''),t[_0x4299c3(0x1d0)]&&console[_0x4299c3(0x1b0)](_0x4299c3(0x1e1)+t[_0x4299c3(0x1d0)]),t['subprojectName']&&console['log'](_0x4299c3(0x183)+t['subprojectName']),t[_0x4299c3(0x182)]&&console[_0x4299c3(0x1b0)]('🎯\x20Milestone:\x20'+t[_0x4299c3(0x182)]),t[_0x4299c3(0x189)]&&t[_0x4299c3(0x189)][_0x4299c3(0x1d2)]>0x0&&(console[_0x4299c3(0x1b0)](_0x4299c3(0x1d8)),t[_0x4299c3(0x189)][_0x4299c3(0x19c)]((_0x805a2a,_0x9937a5)=>{const _0xfe5470=_0x4299c3;console[_0xfe5470(0x1b0)]('\x20\x20'+(_0x9937a5+0x1)+'.\x20'+_0x805a2a);})),t[_0x4299c3(0x194)]&&t[_0x4299c3(0x194)][_0x4299c3(0x1d2)]>0x0&&(console[_0x4299c3(0x1b0)]('\x0a🧪\x20Test\x20cases:'),t[_0x4299c3(0x194)]['forEach']((_0x298216,_0x1a758f)=>{const _0x303d17=_0x4299c3,_0x5e8827={};_0x5e8827['LJNbY']=function(_0x45e163,_0x329482){return _0x45e163+_0x329482;};const _0x4cda8e=_0x5e8827;console[_0x303d17(0x1b0)]('\x20\x20'+_0x4cda8e[_0x303d17(0x19b)](_0x1a758f,0x1)+'.\x20'+_0x298216);})),console[_0x4299c3(0x1b0)]('\x0a📂\x20Task\x20file:\x20'+u),console[_0x4299c3(0x1b0)](_0x4299c3(0x1a2)),console[_0x4299c3(0x1b0)](_0x4299c3(0x1e4)),console[_0x4299c3(0x1b0)](_0x4299c3(0x1cd)),console['log']('\x20\x20\x20\x20\x20git\x20commit\x20-m\x20\x22['+r+_0x4299c3(0x1d9)),console[_0x4299c3(0x1b0)](_0x4299c3(0x1e6)),console[_0x4299c3(0x1b0)](_0x4299c3(0x1d1)+r),process[_0x4299c3(0x1ad)](0x0);
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);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var _0x4acd1b=_0x47b5;(function(_0x2e307d,_0x3aeebe){var _0x5147b2=_0x47b5,_0xbc5f73=_0x2e307d();while(!![]){try{var _0x48101b=-parseInt(_0x5147b2(0x131))/0x1+parseInt(_0x5147b2(0x188))/0x2+-parseInt(_0x5147b2(0x149))/0x3*(parseInt(_0x5147b2(0x160))/0x4)+-parseInt(_0x5147b2(0x180))/0x5+-parseInt(_0x5147b2(0x140))/0x6+-parseInt(_0x5147b2(0x162))/0x7*(parseInt(_0x5147b2(0x17d))/0x8)+parseInt(_0x5147b2(0x141))/0x9;if(_0x48101b===_0x3aeebe)break;else _0xbc5f73['push'](_0xbc5f73['shift']());}catch(_0xb9bcd4){_0xbc5f73['push'](_0xbc5f73['shift']());}}}(_0x39f6,0x3f9b8));var _0x196fb6=(function(){var _0x4eb67e=_0x47b5,_0x3276da={'XssHf':function(_0x128081,_0x47c031){return _0x128081<_0x47c031;},'VzsAj':function(_0x3f2c98,_0x12cb28){return _0x3f2c98(_0x12cb28);},'cZBMq':function(_0x383d21,_0x2ac0c9){return _0x383d21+_0x2ac0c9;},'LbPKx':function(_0x1510fa,_0x25b5f6){return _0x1510fa===_0x25b5f6;},'KzlDM':_0x4eb67e(0x185)},_0x41b880=!![];return function(_0x49f2b1,_0x5642f1){var _0x111be5=_0x41b880?function(){var _0x42e393=_0x47b5,_0x9a7836={'onGSs':function(_0x447a7c,_0xf5d94){var _0x1b9631=_0x47b5;return _0x3276da[_0x1b9631(0x17f)](_0x447a7c,_0xf5d94);},'xdGug':function(_0x419a5b,_0x4c8c2c){return _0x3276da['VzsAj'](_0x419a5b,_0x4c8c2c);},'QIxWo':function(_0x57e21f,_0x14d55a){return _0x57e21f+_0x14d55a;},'rnluo':function(_0x53e9be,_0x1dbcb2){var _0x2cd896=_0x47b5;return _0x3276da[_0x2cd896(0x15c)](_0x53e9be,_0x1dbcb2);},'BMohl':_0x42e393(0x13b)};if(_0x3276da[_0x42e393(0x13e)](_0x3276da[_0x42e393(0x175)],_0x42e393(0x185))){if(_0x5642f1){var _0x2af1de=_0x5642f1[_0x42e393(0x132)](_0x49f2b1,arguments);return _0x5642f1=null,_0x2af1de;}}else{if(_0x9a7836[_0x42e393(0x148)](typeof _0x3a45ee,'u'))return _0x291c79[_0x42e393(0x132)](this,arguments);throw _0x9a7836[_0x42e393(0x153)](_0x4938e2,_0x9a7836[_0x42e393(0x145)](_0x9a7836['rnluo'](_0x42e393(0x15a),_0xa3597b),_0x9a7836[_0x42e393(0x16e)]));}}:function(){};return _0x41b880=![],_0x111be5;};}()),_0x270933=_0x196fb6(this,function(){var _0xe61951=_0x47b5,_0x2e5d16={};_0x2e5d16[_0xe61951(0x161)]='(((.+)+)+)+$';var _0x2a1a80=_0x2e5d16;return _0x270933['toString']()[_0xe61951(0x168)](_0x2a1a80[_0xe61951(0x161)])[_0xe61951(0x14a)]()[_0xe61951(0x152)](_0x270933)[_0xe61951(0x168)](_0x2a1a80[_0xe61951(0x161)]);});_0x270933();var d=(_0x28754c=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x28754c,{'get':(_0xd44b0b,_0x501fb0)=>(typeof require<'u'?require:_0xd44b0b)[_0x501fb0]}):_0x28754c)(function(_0x4e1492){var _0x3a2c8e=_0x47b5,_0x21fce9={'ycQJw':function(_0x21b127,_0x21ecc5){return _0x21b127(_0x21ecc5);},'hceOU':function(_0x2865c5,_0xe35990){return _0x2865c5+_0xe35990;},'SnhWu':function(_0x52a782,_0x1f3189){return _0x52a782+_0x1f3189;},'FnWGO':_0x3a2c8e(0x15a),'vCJIM':'\x22\x20is\x20not\x20supported'};if(typeof require<'u')return require[_0x3a2c8e(0x132)](this,arguments);throw _0x21fce9[_0x3a2c8e(0x178)](Error,_0x21fce9['hceOU'](_0x21fce9[_0x3a2c8e(0x137)](_0x21fce9['FnWGO'],_0x4e1492),_0x21fce9[_0x3a2c8e(0x17e)]));}),n=d('fs'),c=d(_0x4acd1b(0x166)),S=_0x4acd1b(0x15b);n[_0x4acd1b(0x158)](S)||(console[_0x4acd1b(0x170)](_0x4acd1b(0x18b)),console[_0x4acd1b(0x170)](_0x4acd1b(0x173)),process[_0x4acd1b(0x164)](0x1));var m=n['readFileSync'](S,'utf8')[_0x4acd1b(0x181)](),a=c['join'](_0x4acd1b(0x15d),m),$=c[_0x4acd1b(0x156)](a,_0x4acd1b(0x182));n[_0x4acd1b(0x158)]($)||(console[_0x4acd1b(0x170)](_0x4acd1b(0x159)),console['error']('Plan:\x20'+m),console[_0x4acd1b(0x170)](_0x4acd1b(0x14b)),process['exit'](0x1));var l=JSON[_0x4acd1b(0x139)](n[_0x4acd1b(0x176)]($,_0x4acd1b(0x13a)));console['log']('\x0a📊\x20PROJECT\x20STATUS\x0a'),console[_0x4acd1b(0x16c)](_0x4acd1b(0x13f)+l['projectName']),console['log'](_0x4acd1b(0x17b)+new Date(l[_0x4acd1b(0x186)])['toLocaleString']()),console[_0x4acd1b(0x16c)](_0x4acd1b(0x171)+new Date(l[_0x4acd1b(0x154)])[_0x4acd1b(0x147)]()+'\x0a');var s=l[_0x4acd1b(0x16a)],T=(s[_0x4acd1b(0x163)]/s[_0x4acd1b(0x155)]*0x64)['toFixed'](0x1);console['log']('Statistics:'),console[_0x4acd1b(0x16c)](_0x4acd1b(0x146)+s[_0x4acd1b(0x155)]),console[_0x4acd1b(0x16c)]('\x20\x20✅\x20Completed:\x20\x20\x20\x20'+s[_0x4acd1b(0x163)]),console[_0x4acd1b(0x16c)]('\x20\x20🔄\x20In\x20progress:\x20\x20'+s[_0x4acd1b(0x172)]),console[_0x4acd1b(0x16c)](_0x4acd1b(0x165)+s[_0x4acd1b(0x167)]),console[_0x4acd1b(0x16c)](_0x4acd1b(0x14c)+s[_0x4acd1b(0x187)]),console[_0x4acd1b(0x16c)](_0x4acd1b(0x144)+T+'%\x0a');var g=0x28,p=Math[_0x4acd1b(0x183)](g*s[_0x4acd1b(0x163)]/s['totalTasks']),f=Math[_0x4acd1b(0x183)](g*s['inProgress']/s[_0x4acd1b(0x155)]),h='█'[_0x4acd1b(0x17c)](p)+'▓'[_0x4acd1b(0x17c)](f)+'░'[_0x4acd1b(0x17c)](g-p-f);console[_0x4acd1b(0x16c)]('['+h+']\x20'+T+'%\x0a');if(l[_0x4acd1b(0x17a)]){let e=c['join'](a,_0x4acd1b(0x169),l[_0x4acd1b(0x17a)]+_0x4acd1b(0x142));if(n[_0x4acd1b(0x158)](e)){let o=JSON[_0x4acd1b(0x139)](n[_0x4acd1b(0x176)](e,_0x4acd1b(0x13a)));if(console[_0x4acd1b(0x16c)]('🔄\x20CURRENTLY\x20IN\x20PROGRESS:\x0a'),console[_0x4acd1b(0x16c)]('\x20\x20'+o['id']+':\x20'+o[_0x4acd1b(0x143)]),o['startedAt']){let t=new Date(o[_0x4acd1b(0x18c)]),r=Math['round']((new Date()-t)/(0x3e8*0x3c*0x3c)*0xa)/0xa;console['log'](_0x4acd1b(0x14f)+t[_0x4acd1b(0x147)]()+'\x20('+r+'h\x20ago)');}o[_0x4acd1b(0x189)]&&o['completionCriteria'][_0x4acd1b(0x151)]>0x0&&(console[_0x4acd1b(0x16c)](_0x4acd1b(0x177)),o[_0x4acd1b(0x189)]['forEach']((_0xe2008e,_0x371a71)=>console[_0x4acd1b(0x16c)](_0x4acd1b(0x18a)+(_0x371a71+0x1)+'.\x20'+_0xe2008e))),console[_0x4acd1b(0x16c)]('');}}var k=l['taskFiles'][_0x4acd1b(0x150)](_0x23f574=>_0x23f574[_0x4acd1b(0x16f)]===_0x4acd1b(0x187));function _0x47b5(_0xf740af,_0x1ae789){_0xf740af=_0xf740af-0x131;var _0x5cd64d=_0x39f6();var _0x270933=_0x5cd64d[_0xf740af];return _0x270933;}k[_0x4acd1b(0x151)]>0x0&&(console[_0x4acd1b(0x16c)]('🚫\x20BLOCKED\x20TASKS:\x0a'),k[_0x4acd1b(0x13c)](_0x2b36fc=>{var _0xb7c8c9=_0x4acd1b,_0x2c5f47={};_0x2c5f47['wcTzU']=_0xb7c8c9(0x169),_0x2c5f47[_0xb7c8c9(0x16b)]=_0xb7c8c9(0x13a);var _0x208a14=_0x2c5f47;let _0x53d16a=c['join'](a,_0x208a14['wcTzU'],_0x2b36fc['id']+_0xb7c8c9(0x142));if(n['existsSync'](_0x53d16a)){let _0x3751a9=JSON[_0xb7c8c9(0x139)](n['readFileSync'](_0x53d16a,_0x208a14[_0xb7c8c9(0x16b)]));console[_0xb7c8c9(0x16c)]('\x20\x20'+_0x3751a9['id']+':\x20'+_0x3751a9[_0xb7c8c9(0x143)]),_0x3751a9[_0xb7c8c9(0x14d)]&&console[_0xb7c8c9(0x16c)](_0xb7c8c9(0x134)+_0x3751a9[_0xb7c8c9(0x14d)]),console[_0xb7c8c9(0x16c)]('');}}));var i=l['taskFiles'][_0x4acd1b(0x150)](_0x2d3b41=>_0x2d3b41[_0x4acd1b(0x16f)]===_0x4acd1b(0x167))['slice'](0x0,0x5);i[_0x4acd1b(0x151)]>0x0&&(console['log'](_0x4acd1b(0x13d)),i[_0x4acd1b(0x13c)](_0xdcde77=>{var _0x2bfd44=_0x4acd1b;console[_0x2bfd44(0x16c)]('\x20\x20'+_0xdcde77['id']+':\x20'+_0xdcde77[_0x2bfd44(0x143)]);}),console[_0x4acd1b(0x16c)]('\x0a\x20\x20Start\x20next:\x20npm\x20run\x20task:start\x20'+i[0x0]['id']+'\x0a'));function _0x39f6(){var _0x3f9d81=['8ZnLMXA','vCJIM','XssHf','1320490lnKyeA','trim','TASK-TRACKER.json','floor','\x20\x20View\x20status:\x20\x20\x20\x20npm\x20run\x20task:status','ZzkUi','planLockedAt','blocked','369360djduwl','completionCriteria','\x20\x20\x20\x20','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','startedAt','78802zzzUUC','apply','eESmY','\x20\x20Reason:\x20','\x20\x20Complete\x20task:\x20\x20npm\x20run\x20task:done\x20TASK-XXX','Commands:','SnhWu','sort','parse','utf8','\x22\x20is\x20not\x20supported','forEach','⏳\x20NEXT\x20PENDING\x20TASKS:\x0a','LbPKx','Project:\x20','2956848CKeXJb','14487822NocYBr','.json','title','\x20\x20📈\x20Progress:\x20\x20\x20\x20\x20','QIxWo','\x20\x20Total\x20tasks:\x20\x20\x20\x20\x20','toLocaleString','onGSs','395925Hpipuh','toString','Initialize\x20first:\x20npm\x20run\x20plan:init\x0a','\x20\x20🚫\x20Blocked:\x20\x20\x20\x20\x20\x20','blockedReason','actualHours','\x20\x20Started:\x20','filter','length','constructor','xdGug','lastUpdated','totalTasks','join','slice','existsSync','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','Dynamic\x20require\x20of\x20\x22','.claude/ACTIVE-PLAN','cZBMq','.claude/plans','map','\x20\x20Time:\x20','12CVazhV','BxlYa','2115883PBiouH','completed','exit','\x20\x20⏳\x20Pending:\x20\x20\x20\x20\x20\x20','path','pending','search','tasks','statistics','rzyVL','log','taskFiles','BMohl','status','error','Last\x20updated:\x20','inProgress','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','completedAt','KzlDM','readFileSync','\x20\x20Completion\x20criteria:','ycQJw','\x20\x20Completed:\x20','activeTask','Plan\x20locked:\x20','repeat'];_0x39f6=function(){return _0x3f9d81;};return _0x39f6();}var u=l[_0x4acd1b(0x16d)][_0x4acd1b(0x150)](_0x54d298=>_0x54d298['status']===_0x4acd1b(0x163))[_0x4acd1b(0x157)](0x0,0x3);u[_0x4acd1b(0x151)]>0x0&&(console[_0x4acd1b(0x16c)]('✅\x20RECENTLY\x20COMPLETED:\x0a'),u[_0x4acd1b(0x15e)](_0x335b79=>{var _0x178924=_0x4acd1b,_0x36fea9={};_0x36fea9['eESmY']='tasks',_0x36fea9['NwPkT']=_0x178924(0x13a);var _0x1a5af7=_0x36fea9;let _0x28720f=c[_0x178924(0x156)](a,_0x1a5af7[_0x178924(0x133)],_0x335b79['id']+_0x178924(0x142));return n[_0x178924(0x158)](_0x28720f)?JSON[_0x178924(0x139)](n[_0x178924(0x176)](_0x28720f,_0x1a5af7['NwPkT'])):null;})[_0x4acd1b(0x150)](_0x20df44=>_0x20df44!==null)[_0x4acd1b(0x138)]((_0x36fbd2,_0x12c425)=>new Date(_0x12c425[_0x4acd1b(0x174)])-new Date(_0x36fbd2[_0x4acd1b(0x174)]))[_0x4acd1b(0x13c)](_0x2c3e53=>{var _0x55dbda=_0x4acd1b;console[_0x55dbda(0x16c)]('\x20\x20'+_0x2c3e53['id']+':\x20'+_0x2c3e53[_0x55dbda(0x143)]),_0x2c3e53[_0x55dbda(0x174)]&&console['log'](_0x55dbda(0x179)+new Date(_0x2c3e53[_0x55dbda(0x174)])[_0x55dbda(0x147)]()),_0x2c3e53['actualHours']&&console['log'](_0x55dbda(0x15f)+_0x2c3e53[_0x55dbda(0x14e)]+'h'),console['log']('');})),console[_0x4acd1b(0x16c)](_0x4acd1b(0x136)),console['log'](_0x4acd1b(0x184)),console[_0x4acd1b(0x16c)]('\x20\x20Start\x20task:\x20\x20\x20\x20\x20npm\x20run\x20task:start\x20TASK-XXX'),console[_0x4acd1b(0x16c)](_0x4acd1b(0x135)),console[_0x4acd1b(0x16c)](''),process['exit'](0x0);
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);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x476a47=_0x2489;(function(_0x2873c5,_0x34cfca){const _0x3b5f85=_0x2489,_0x1b97b9=_0x2873c5();while(!![]){try{const _0x354521=parseInt(_0x3b5f85(0xd2))/0x1+parseInt(_0x3b5f85(0xeb))/0x2*(parseInt(_0x3b5f85(0xee))/0x3)+parseInt(_0x3b5f85(0xf9))/0x4*(parseInt(_0x3b5f85(0xdd))/0x5)+parseInt(_0x3b5f85(0xd1))/0x6*(-parseInt(_0x3b5f85(0xd0))/0x7)+parseInt(_0x3b5f85(0xca))/0x8*(-parseInt(_0x3b5f85(0xc2))/0x9)+-parseInt(_0x3b5f85(0xf7))/0xa*(-parseInt(_0x3b5f85(0xbf))/0xb)+-parseInt(_0x3b5f85(0xc1))/0xc*(parseInt(_0x3b5f85(0xf4))/0xd);if(_0x354521===_0x34cfca)break;else _0x1b97b9['push'](_0x1b97b9['shift']());}catch(_0x5e8de3){_0x1b97b9['push'](_0x1b97b9['shift']());}}}(_0x2c3d,0x79064));const _0x5d1dfd=(function(){const _0x14fc0e=_0x2489,_0xac33ee={};_0xac33ee[_0x14fc0e(0xda)]=function(_0x369718,_0x3d3bd2){return _0x369718===_0x3d3bd2;},_0xac33ee[_0x14fc0e(0xc4)]=_0x14fc0e(0xf3);const _0x648d99=_0xac33ee;let _0x2e045b=!![];return function(_0x5b2fa7,_0x585b9e){const _0x13e124=_0x14fc0e;if(_0x648d99['iBdmc'](_0x13e124(0xf3),_0x648d99[_0x13e124(0xc4)])){const _0x3d5e84=_0x2e045b?function(){if(_0x585b9e){const _0x344862=_0x585b9e['apply'](_0x5b2fa7,arguments);return _0x585b9e=null,_0x344862;}}:function(){};return _0x2e045b=![],_0x3d5e84;}else _0x5c5270[_0x13e124(0xe3)](0x0);};}()),_0x3fca97=_0x5d1dfd(this,function(){const _0x3adeee=_0x2489,_0x4409ea={};_0x4409ea['qhMhR']=_0x3adeee(0xf8);const _0x50a71e=_0x4409ea;return _0x3fca97[_0x3adeee(0xce)]()[_0x3adeee(0xc9)](_0x50a71e[_0x3adeee(0xd3)])['toString']()[_0x3adeee(0xdb)](_0x3fca97)[_0x3adeee(0xc9)](_0x50a71e[_0x3adeee(0xd3)]);});function _0x2489(_0x1a24e2,_0x4212c7){_0x1a24e2=_0x1a24e2-0xbe;const _0x2301c5=_0x2c3d();let _0x3fca97=_0x2301c5[_0x1a24e2];return _0x3fca97;}_0x3fca97();var m=(_0x1b16d5=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x1b16d5,{'get':(_0xebbfa6,_0x27175f)=>(typeof require<'u'?require:_0xebbfa6)[_0x27175f]}):_0x1b16d5)(function(_0x51089e){const _0x31601b=_0x2489,_0x2e136d={'NwkWe':function(_0x1dc731,_0x51aebb){return _0x1dc731<_0x51aebb;},'BxNME':function(_0x2d6a77,_0xb5bb1e){return _0x2d6a77(_0xb5bb1e);},'XUXQL':function(_0x9e16d9,_0x4406ff){return _0x9e16d9+_0x4406ff;},'ETptH':'Dynamic\x20require\x20of\x20\x22','IOyXF':_0x31601b(0xe9)};if(_0x2e136d[_0x31601b(0xcc)](typeof require,'u'))return require['apply'](this,arguments);throw _0x2e136d[_0x31601b(0xe5)](Error,_0x2e136d['XUXQL'](_0x2e136d[_0x31601b(0xcb)]+_0x51089e,_0x2e136d[_0x31601b(0xd6)]));}),l=m('fs'),f=m('path'),d=process['argv'][0x2]||'{}',u;try{u=JSON['parse'](d);}catch{process['exit'](0x0);}var a=u['tool_input']?.[_0x476a47(0xde)];function _0x2c3d(){const _0x30ab16=['BxNME','Edit','Create\x20a\x20proper\x20migration\x20script\x20instead','length','\x22\x20is\x20not\x20supported','BLOCKED:\x20Cannot\x20modify\x20existing\x20migration\x20file','2krgPZX','DROP\x20TABLE\x20without\x20IF\x20EXISTS\x20-\x20migration\x20may\x20fail\x20on\x20retry','readFileSync','1802811PIZTOH','match','push','Migrations\x20should\x20be\x20immutable\x20once\x20created','test','RGYQK','39455oirLvZ','Migration\x20missing\x20UP/UPGRADE\x20function','basename','12590kmvjRm','(((.+)+)+)+$','16HiYBIe','\x0aMIGRATION\x20WARNINGS:','Migration\x20missing\x20DOWN/DOWNGRADE\x20function\x20(rollback\x20will\x20fail)','4499WWANNE','Database\x20schema\x20changes\x20MUST\x20be\x20in\x20migration\x20files,\x20not\x20in\x20application\x20code','4764nxQool','63EzbRFQ','error','qnNiv','warn','utf8','forEach','source','search','663376FHgecw','ETptH','NwkWe','Ensure\x20you\x20have\x20a\x20backup\x20before\x20running\x20this\x20migration','toString','\x0aMIGRATION\x20VALIDATION\x20FAILED:','688954RTLOOK','12NQdpZW','960389gRwBOf','qhMhR','\x0a❌\x20DATABASE\x20CHANGE\x20VALIDATION\x20FAILED\x0a','includes','IOyXF','Pattern:\x20','File:\x20','BLOCKED:\x20Direct\x20DDL\x20(Data\x20Definition\x20Language)\x20detected\x20in\x20code','iBdmc','constructor','\x20detected\x20-\x20this\x20causes\x20data\x20loss!','502065stpYin','file_path','\x20\x20-\x20Knex:\x20npx\x20knex\x20migrate:make\x20your_change','When\x20changing\x20models,\x20create\x20a\x20migration\x20to\x20update\x20the\x20database','Create\x20a\x20new\x20migration\x20to\x20make\x20additional\x20changes','\x20\x20-\x20Prisma:\x20npx\x20prisma\x20migrate\x20dev\x20--name\x20your-change','exit','Migration\x20contains\x20debug\x20statements\x20(console.log/print)'];_0x2c3d=function(){return _0x30ab16;};return _0x2c3d();}a||process['exit'](0x0);var t=[],n=[],r=f[_0x476a47(0xf6)](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[_0x476a47(0xef)](/migrations?\/|migrate\//i),E=D['some'](_0x4f1ae5=>_0x4f1ae5['test'](r));E&&!p&&(t['push']('BLOCKED:\x20Direct\x20database\x20schema\x20file\x20modification\x20is\x20forbidden'),t[_0x476a47(0xf0)]('File:\x20'+r),t['push']('Database\x20changes\x20MUST\x20be\x20done\x20through\x20migration\x20scripts'),t['push']('Create\x20a\x20migration\x20instead:'),t['push']('\x20\x20-\x20Sequelize:\x20npx\x20sequelize-cli\x20migration:generate\x20--name\x20your-change'),t[_0x476a47(0xf0)]('\x20\x20-\x20TypeORM:\x20npm\x20run\x20migration:generate\x20--\x20-n\x20YourChange'),t[_0x476a47(0xf0)]('\x20\x20-\x20Django:\x20python\x20manage.py\x20makemigrations'),t[_0x476a47(0xf0)](_0x476a47(0xe2)),t[_0x476a47(0xf0)](_0x476a47(0xdf)));if(!p&&a[_0x476a47(0xef)](/\.(ts|js|py|sql)$/)){let e;try{e=l['readFileSync'](a,'utf8');}catch{process[_0x476a47(0xe3)](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['test'](e)&&(t[_0x476a47(0xf0)](_0x476a47(0xd9)),t[_0x476a47(0xf0)]('File:\x20'+r),t[_0x476a47(0xf0)](_0x476a47(0xd7)+o[_0x476a47(0xc8)]),t[_0x476a47(0xf0)](_0x476a47(0xc0)),t[_0x476a47(0xf0)](_0x476a47(0xe7)));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[_0x476a47(0xe8)]);}c>0x0&&!a[_0x476a47(0xd5)]('test')&&(n[_0x476a47(0xf0)]('WARNING:\x20ORM\x20model/entity\x20definitions\x20detected'),n['push'](_0x476a47(0xd8)+r),n[_0x476a47(0xf0)](_0x476a47(0xe0)),n[_0x476a47(0xf0)]('Did\x20you\x20create\x20a\x20migration\x20for\x20these\x20changes?'));}if(p&&a[_0x476a47(0xef)](/\.(ts|js|py|sql)$/)){let e;try{e=l[_0x476a47(0xed)](a,_0x476a47(0xc6));}catch{process[_0x476a47(0xe3)](0x0);}let i=[],s=[],c=e[_0x476a47(0xef)](/\bup\s*[:=\(]|def\s+upgrade\s*\(|function\s+up\s*\(/i),o=e[_0x476a47(0xef)](/\bdown\s*[:=\(]|def\s+downgrade\s*\(|function\s+down\s*\(/i);c||i['push'](_0x476a47(0xf5)),o||s[_0x476a47(0xf0)](_0x476a47(0xbe)),e[_0x476a47(0xef)](/DROP\s+TABLE/gi)&&(e[_0x476a47(0xef)](/IF\s+EXISTS/gi)||s['push'](_0x476a47(0xec))),e['match'](/ADD\s+COLUMN/gi)&&(e['match'](/DEFAULT|NULLABLE/gi)||s['push']('ADD\x20COLUMN\x20without\x20DEFAULT\x20or\x20NULLABLE\x20-\x20may\x20fail\x20on\x20existing\x20data'));let h=[/DROP\s+COLUMN/gi,/DROP\s+TABLE/gi,/TRUNCATE/gi,/DELETE\s+FROM/gi];for(let g of h)g[_0x476a47(0xf2)](e)&&(s[_0x476a47(0xf0)]('DANGER:\x20'+g[_0x476a47(0xc8)]+_0x476a47(0xdc)),s[_0x476a47(0xf0)](_0x476a47(0xcd)));r[_0x476a47(0xef)](/(\d{10,14})/)&&u['tool']===_0x476a47(0xe6)&&(i[_0x476a47(0xf0)](_0x476a47(0xea)),i[_0x476a47(0xf0)](_0x476a47(0xf1)),i[_0x476a47(0xf0)](_0x476a47(0xe1))),e[_0x476a47(0xef)](/console\.log|print\(/)&&(s[_0x476a47(0xf0)](_0x476a47(0xe4)),s[_0x476a47(0xf0)]('Remove\x20debug\x20code\x20before\x20committing')),i[_0x476a47(0xe8)]>0x0&&(t[_0x476a47(0xf0)](_0x476a47(0xcf)),t[_0x476a47(0xf0)](...i)),s[_0x476a47(0xe8)]>0x0&&(n[_0x476a47(0xf0)](_0x476a47(0xfa)),n[_0x476a47(0xf0)](...s));}t[_0x476a47(0xe8)]>0x0&&(console[_0x476a47(0xc3)](_0x476a47(0xd4)),t['forEach'](_0x464d3b=>console['error']('\x20\x20'+_0x464d3b)),console['error']('\x0aDatabase\x20changes\x20must\x20follow\x20migration\x20workflow.\x0a'),process[_0x476a47(0xe3)](0x2)),n[_0x476a47(0xe8)]>0x0&&(console['warn']('\x0a⚠️\x20\x20DATABASE\x20CHANGE\x20WARNINGS\x0a'),n[_0x476a47(0xc7)](_0x29cb1c=>console[_0x476a47(0xc5)]('\x20\x20'+_0x29cb1c)),console['warn']('\x0a')),process['exit'](0x0);
2
+ const _0x5d99b4=_0x5a3b;(function(_0x25c274,_0x36d2d2){const _0x4810eb=_0x5a3b,_0x8ea586=_0x25c274();while(!![]){try{const _0x808cb7=-parseInt(_0x4810eb(0xbe))/0x1*(parseInt(_0x4810eb(0xc3))/0x2)+parseInt(_0x4810eb(0x90))/0x3*(-parseInt(_0x4810eb(0x8a))/0x4)+parseInt(_0x4810eb(0xab))/0x5*(parseInt(_0x4810eb(0x9d))/0x6)+parseInt(_0x4810eb(0xad))/0x7+-parseInt(_0x4810eb(0x82))/0x8*(parseInt(_0x4810eb(0xa1))/0x9)+parseInt(_0x4810eb(0xc2))/0xa*(-parseInt(_0x4810eb(0xb1))/0xb)+parseInt(_0x4810eb(0x99))/0xc;if(_0x808cb7===_0x36d2d2)break;else _0x8ea586['push'](_0x8ea586['shift']());}catch(_0x1ca877){_0x8ea586['push'](_0x8ea586['shift']());}}}(_0x1381,0x18a3c));const _0x560b06=(function(){const _0x1de81a=_0x5a3b,_0x3e05c9={};_0x3e05c9[_0x1de81a(0x93)]=function(_0x1cf96d,_0x17a103){return _0x1cf96d!==_0x17a103;},_0x3e05c9[_0x1de81a(0x9f)]=_0x1de81a(0xc4),_0x3e05c9[_0x1de81a(0x80)]=_0x1de81a(0xbb);const _0x3b0df8=_0x3e05c9;let _0x467864=!![];return function(_0x284853,_0x4828be){const _0x4f2cba=_0x467864?function(){const _0x4652ff=_0x5a3b;if(_0x3b0df8[_0x4652ff(0x93)](_0x3b0df8[_0x4652ff(0x9f)],_0x4652ff(0xc4))){if(_0x38b7c9){const _0x36b3aa=_0x34d8b7[_0x4652ff(0xc5)](_0x2c9c48,arguments);return _0x1b4b22=null,_0x36b3aa;}}else{if(_0x4828be){if(_0x3b0df8[_0x4652ff(0x80)]!==_0x3b0df8[_0x4652ff(0x80)])_0x215719[_0x4652ff(0xbc)](0x0);else{const _0x2cbfd3=_0x4828be[_0x4652ff(0xc5)](_0x284853,arguments);return _0x4828be=null,_0x2cbfd3;}}}}:function(){};return _0x467864=![],_0x4f2cba;};}()),_0x4bbe1c=_0x560b06(this,function(){const _0x2821ed=_0x5a3b,_0x643b60={};_0x643b60[_0x2821ed(0x97)]=_0x2821ed(0x92);const _0x482f84=_0x643b60;return _0x4bbe1c[_0x2821ed(0x94)]()[_0x2821ed(0xaa)](_0x482f84['sFeeh'])['toString']()[_0x2821ed(0xaf)](_0x4bbe1c)['search'](_0x482f84[_0x2821ed(0x97)]);});_0x4bbe1c();var m=(_0xbfa1a1=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0xbfa1a1,{'get':(_0x3f23c1,_0x21f0cb)=>(typeof require<'u'?require:_0x3f23c1)[_0x21f0cb]}):_0xbfa1a1)(function(_0xa30b91){const _0x411f2a=_0x5a3b,_0x518f73={};_0x518f73[_0x411f2a(0x9a)]=function(_0x350e96,_0x47caa7){return _0x350e96<_0x47caa7;},_0x518f73[_0x411f2a(0xc0)]=function(_0x1effbe,_0x5ab603){return _0x1effbe+_0x5ab603;},_0x518f73[_0x411f2a(0x83)]=_0x411f2a(0x89);const _0x5b03f6=_0x518f73;if(_0x5b03f6[_0x411f2a(0x9a)](typeof require,'u'))return require[_0x411f2a(0xc5)](this,arguments);throw Error(_0x5b03f6[_0x411f2a(0xc0)](_0x5b03f6[_0x411f2a(0x83)],_0xa30b91)+'\x22\x20is\x20not\x20supported');}),l=m('fs'),f=m(_0x5d99b4(0xb7)),d=process['argv'][0x2]||'{}',u;try{u=JSON[_0x5d99b4(0x9c)](d);}catch{process[_0x5d99b4(0xbc)](0x0);}var a=u[_0x5d99b4(0xb6)]?.['file_path'];a||process['exit'](0x0);var t=[],n=[],r=f[_0x5d99b4(0x9b)](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[_0x5d99b4(0x8f)](/migrations?\/|migrate\//i),E=D['some'](_0x2c56ce=>_0x2c56ce['test'](r));E&&!p&&(t[_0x5d99b4(0x81)](_0x5d99b4(0xb8)),t['push'](_0x5d99b4(0x98)+r),t[_0x5d99b4(0x81)](_0x5d99b4(0xb0)),t[_0x5d99b4(0x81)]('Create\x20a\x20migration\x20instead:'),t[_0x5d99b4(0x81)](_0x5d99b4(0x8b)),t[_0x5d99b4(0x81)](_0x5d99b4(0x84)),t['push']('\x20\x20-\x20Django:\x20python\x20manage.py\x20makemigrations'),t[_0x5d99b4(0x81)](_0x5d99b4(0x95)),t['push'](_0x5d99b4(0xb3)));function _0x1381(){const _0x28d028=['push','1191128gwyMLM','igxip','\x20\x20-\x20TypeORM:\x20npm\x20run\x20migration:generate\x20--\x20-n\x20YourChange','Migration\x20contains\x20debug\x20statements\x20(console.log/print)','Edit','\x0a⚠️\x20\x20DATABASE\x20CHANGE\x20WARNINGS\x0a','length','Dynamic\x20require\x20of\x20\x22','643852IljpVd','\x20\x20-\x20Sequelize:\x20npx\x20sequelize-cli\x20migration:generate\x20--name\x20your-change','DROP\x20TABLE\x20without\x20IF\x20EXISTS\x20-\x20migration\x20may\x20fail\x20on\x20retry','error','test','match','3yckwZE','warn','(((.+)+)+)+$','XxxQA','toString','\x20\x20-\x20Prisma:\x20npx\x20prisma\x20migrate\x20dev\x20--name\x20your-change','Create\x20a\x20new\x20migration\x20to\x20make\x20additional\x20changes','sFeeh','File:\x20','4228812yuHqIe','YHyPq','basename','parse','6tUPSyl','utf8','jNZYL','readFileSync','9jLPSue','BLOCKED:\x20Cannot\x20modify\x20existing\x20migration\x20file','When\x20changing\x20models,\x20create\x20a\x20migration\x20to\x20update\x20the\x20database','Remove\x20debug\x20code\x20before\x20committing','source','includes','Create\x20a\x20proper\x20migration\x20script\x20instead','\x20detected\x20-\x20this\x20causes\x20data\x20loss!','Pattern:\x20','search','517690IoukQp','Database\x20schema\x20changes\x20MUST\x20be\x20in\x20migration\x20files,\x20not\x20in\x20application\x20code','924987gYNYzA','\x0a❌\x20DATABASE\x20CHANGE\x20VALIDATION\x20FAILED\x0a','constructor','Database\x20changes\x20MUST\x20be\x20done\x20through\x20migration\x20scripts','99SauWdS','Did\x20you\x20create\x20a\x20migration\x20for\x20these\x20changes?','\x20\x20-\x20Knex:\x20npx\x20knex\x20migrate:make\x20your_change','Migrations\x20should\x20be\x20immutable\x20once\x20created','\x0aDatabase\x20changes\x20must\x20follow\x20migration\x20workflow.\x0a','tool_input','path','BLOCKED:\x20Direct\x20database\x20schema\x20file\x20modification\x20is\x20forbidden','DANGER:\x20','Migration\x20missing\x20DOWN/DOWNGRADE\x20function\x20(rollback\x20will\x20fail)','mQkvI','exit','Migration\x20missing\x20UP/UPGRADE\x20function','76484FqsbTT','Ensure\x20you\x20have\x20a\x20backup\x20before\x20running\x20this\x20migration','ZDpab','\x0aMIGRATION\x20VALIDATION\x20FAILED:','112020yddhdT','2jfcFLa','EdtdW','apply','\x0aMIGRATION\x20WARNINGS:','wUUDC'];_0x1381=function(){return _0x28d028;};return _0x1381();}if(!p&&a[_0x5d99b4(0x8f)](/\.(ts|js|py|sql)$/)){let e;try{e=l[_0x5d99b4(0xa0)](a,'utf8');}catch{process['exit'](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[_0x5d99b4(0x8e)](e)&&(t[_0x5d99b4(0x81)]('BLOCKED:\x20Direct\x20DDL\x20(Data\x20Definition\x20Language)\x20detected\x20in\x20code'),t[_0x5d99b4(0x81)](_0x5d99b4(0x98)+r),t[_0x5d99b4(0x81)](_0x5d99b4(0xa9)+o[_0x5d99b4(0xa5)]),t['push'](_0x5d99b4(0xac)),t[_0x5d99b4(0x81)](_0x5d99b4(0xa7)));let s=[/@Column\(/gi,/db\.Column\(/gi,/models\.CharField/gi,/type:\s*Sequelize\./gi],c=0x0;for(let o of s){let h=e[_0x5d99b4(0x8f)](o);h&&(c+=h[_0x5d99b4(0x88)]);}c>0x0&&!a[_0x5d99b4(0xa6)]('test')&&(n[_0x5d99b4(0x81)]('WARNING:\x20ORM\x20model/entity\x20definitions\x20detected'),n[_0x5d99b4(0x81)](_0x5d99b4(0x98)+r),n[_0x5d99b4(0x81)](_0x5d99b4(0xa3)),n[_0x5d99b4(0x81)](_0x5d99b4(0xb2)));}function _0x5a3b(_0x198f61,_0x1015f1){_0x198f61=_0x198f61-0x7f;const _0x577821=_0x1381();let _0x4bbe1c=_0x577821[_0x198f61];return _0x4bbe1c;}if(p&&a['match'](/\.(ts|js|py|sql)$/)){let e;try{e=l[_0x5d99b4(0xa0)](a,_0x5d99b4(0x9e));}catch{process['exit'](0x0);}let i=[],s=[],c=e[_0x5d99b4(0x8f)](/\bup\s*[:=\(]|def\s+upgrade\s*\(|function\s+up\s*\(/i),o=e['match'](/\bdown\s*[:=\(]|def\s+downgrade\s*\(|function\s+down\s*\(/i);c||i[_0x5d99b4(0x81)](_0x5d99b4(0xbd)),o||s['push'](_0x5d99b4(0xba)),e[_0x5d99b4(0x8f)](/DROP\s+TABLE/gi)&&(e[_0x5d99b4(0x8f)](/IF\s+EXISTS/gi)||s[_0x5d99b4(0x81)](_0x5d99b4(0x8c))),e[_0x5d99b4(0x8f)](/ADD\s+COLUMN/gi)&&(e[_0x5d99b4(0x8f)](/DEFAULT|NULLABLE/gi)||s[_0x5d99b4(0x81)]('ADD\x20COLUMN\x20without\x20DEFAULT\x20or\x20NULLABLE\x20-\x20may\x20fail\x20on\x20existing\x20data'));let h=[/DROP\s+COLUMN/gi,/DROP\s+TABLE/gi,/TRUNCATE/gi,/DELETE\s+FROM/gi];for(let g of h)g[_0x5d99b4(0x8e)](e)&&(s['push'](_0x5d99b4(0xb9)+g['source']+_0x5d99b4(0xa8)),s[_0x5d99b4(0x81)](_0x5d99b4(0xbf)));r[_0x5d99b4(0x8f)](/(\d{10,14})/)&&u['tool']===_0x5d99b4(0x86)&&(i[_0x5d99b4(0x81)](_0x5d99b4(0xa2)),i[_0x5d99b4(0x81)](_0x5d99b4(0xb4)),i[_0x5d99b4(0x81)](_0x5d99b4(0x96))),e[_0x5d99b4(0x8f)](/console\.log|print\(/)&&(s['push'](_0x5d99b4(0x85)),s[_0x5d99b4(0x81)](_0x5d99b4(0xa4))),i[_0x5d99b4(0x88)]>0x0&&(t[_0x5d99b4(0x81)](_0x5d99b4(0xc1)),t[_0x5d99b4(0x81)](...i)),s[_0x5d99b4(0x88)]>0x0&&(n[_0x5d99b4(0x81)](_0x5d99b4(0x7f)),n[_0x5d99b4(0x81)](...s));}t[_0x5d99b4(0x88)]>0x0&&(console[_0x5d99b4(0x8d)](_0x5d99b4(0xae)),t['forEach'](_0x14e0c9=>console['error']('\x20\x20'+_0x14e0c9)),console[_0x5d99b4(0x8d)](_0x5d99b4(0xb5)),process[_0x5d99b4(0xbc)](0x2)),n['length']>0x0&&(console[_0x5d99b4(0x91)](_0x5d99b4(0x87)),n['forEach'](_0x45f971=>console[_0x5d99b4(0x91)]('\x20\x20'+_0x45f971)),console['warn']('\x0a')),process[_0x5d99b4(0xbc)](0x0);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function _0xb20d(){var _0x34b0d0=['49652pBlFWL','argv','warn','split','Expected:\x20cypress.config.js\x20or\x20playwright.config.ts','3081Lscdzh','Remove\x20.skip\x20and\x20implement\x20the\x20tests','655926AaJrLA','WARNING:\x20Running\x20E2E\x20tests\x20but\x20no\x20E2E\x20config\x20file\x20found','nwzVf','exit','test','search','jykhq','tool_input','./cypress.config.js','AExLV','forEach','BLOCKED:\x20E2E\x20test\x20ran\x20but\x20NO\x20assertions\x20found\x20in\x20output','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','Screenshots\x20alone\x20do\x20not\x20validate\x20functionality','toString','qvEUf','WARNING:\x20E2E\x20test\x20does\x20not\x20show\x20UI\x20interactions','match','Create\x20E2E\x20tests\x20in\x20./e2e/\x20or\x20./cypress/\x20directory','Dynamic\x20require\x20of\x20\x22','dNeHu','Running:','apply','188111VBQDDG','./playwright.config.js','82IlNTWx','Test\x20Suites:','./cypress.config.ts','(((.+)+)+)+$','Are\x20you\x20testing\x20the\x20actual\x20UI\x20flow?','some','\x0a❌\x20E2E\x20TEST\x20VALIDATION\x20FAILED\x0a','length','parse','Add\x20clicks,\x20form\x20fills,\x20or\x20other\x20user\x20interactions','error','push','WCAas','\x22\x20is\x20not\x20supported','WARNING:\x20E2E\x20test\x20took\x20screenshots\x20but\x20has\x20no\x20assertions','includes','utf8','encoding','./playwright.config.ts','5XnImjL','1908918qHTRqj','filter','screenshot','E2E\x20tests\x20must\x20validate\x20UI\x20behavior,\x20not\x20just\x20click\x20around','12HFfbvA','527070BxLbmM','child_process','hDJNN','pipe','trim','524688iohHuI','./e2e/config.js','existsSync'];_0xb20d=function(){return _0x34b0d0;};return _0xb20d();}var _0x50d58f=_0x7473;(function(_0x2a639f,_0x5bfcc9){var _0x6e2210=_0x7473,_0x1c3e08=_0x2a639f();while(!![]){try{var _0x498ce9=-parseInt(_0x6e2210(0xaa))/0x1*(-parseInt(_0x6e2210(0xc5))/0x2)+-parseInt(_0x6e2210(0x9c))/0x3*(-parseInt(_0x6e2210(0xa5))/0x4)+parseInt(_0x6e2210(0x97))/0x5*(parseInt(_0x6e2210(0xac))/0x6)+parseInt(_0x6e2210(0xc3))/0x7+parseInt(_0x6e2210(0xa2))/0x8+-parseInt(_0x6e2210(0x98))/0x9+-parseInt(_0x6e2210(0x9d))/0xa;if(_0x498ce9===_0x5bfcc9)break;else _0x1c3e08['push'](_0x1c3e08['shift']());}catch(_0x35be79){_0x1c3e08['push'](_0x1c3e08['shift']());}}}(_0xb20d,0x1b930));var _0xc2995b=(function(){var _0x4f8a80=_0x7473,_0x27d3e9={};_0x27d3e9['qvEUf']=_0x4f8a80(0xc0),_0x27d3e9[_0x4f8a80(0xb2)]=_0x4f8a80(0xd1);var _0x59985d=_0x27d3e9,_0x519d0d=!![];return function(_0x50be2c,_0x5629ac){var _0x4f1134=_0x4f8a80;if(_0x59985d[_0x4f1134(0xbb)]!==_0x59985d['jykhq']){var _0xf766c1=_0x519d0d?function(){var _0x31524d=_0x4f1134;if(_0x5629ac){var _0x5364fe=_0x5629ac[_0x31524d(0xc2)](_0x50be2c,arguments);return _0x5629ac=null,_0x5364fe;}}:function(){};return _0x519d0d=![],_0xf766c1;}else{if(_0xc3c759){var _0x2c3edc=_0x4b1a09[_0x4f1134(0xc2)](_0x1abc4e,arguments);return _0x2a291f=null,_0x2c3edc;}}};}()),_0x24da9b=_0xc2995b(this,function(){var _0x383995=_0x7473,_0x2d635e={};_0x2d635e[_0x383995(0x9f)]=_0x383995(0xc8);var _0x312f83=_0x2d635e;return _0x24da9b[_0x383995(0xba)]()[_0x383995(0xb1)](_0x312f83['hDJNN'])[_0x383995(0xba)]()['constructor'](_0x24da9b)['search'](_0x312f83[_0x383995(0x9f)]);});_0x24da9b();var i=(_0x27a9fe=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x27a9fe,{'get':(_0x2df81d,_0x38dd84)=>(typeof require<'u'?require:_0x2df81d)[_0x38dd84]}):_0x27a9fe)(function(_0x3a83f5){var _0x517276=_0x7473,_0x4cab14={'nwzVf':function(_0x3c71cb,_0x202ce8){return _0x3c71cb<_0x202ce8;},'GMtXr':function(_0x582b69,_0x555358){return _0x582b69(_0x555358);},'AExLV':function(_0x4788c8,_0x17b9eb){return _0x4788c8+_0x17b9eb;}};if(_0x4cab14[_0x517276(0xae)](typeof require,'u'))return require[_0x517276(0xc2)](this,arguments);throw _0x4cab14['GMtXr'](Error,_0x4cab14[_0x517276(0xb5)](_0x517276(0xbf)+_0x3a83f5,_0x517276(0xd2)));}),l=i('fs'),I=i('path'),{execSync:c}=i(_0x50d58f(0x9e)),u=process[_0x50d58f(0xa6)][0x2]||'{}',r=JSON[_0x50d58f(0xcd)](u),h=r[_0x50d58f(0xb3)]?.['command']||'',s=r['tool_output']||'',a=h['match'](/cypress|playwright|e2e|integration/i);a||process[_0x50d58f(0xaf)](0x0);var n=[],t=[],g=[/cy\.visit\(/,/page\.goto\(/,/browser\.url\(/,/goto\(/],f=g['some'](_0x35ce06=>_0x35ce06[_0x50d58f(0xb0)](s));!f&&s[_0x50d58f(0xcc)]>0x0&&(t[_0x50d58f(0xd0)]('WARNING:\x20E2E\x20test\x20output\x20does\x20not\x20show\x20page\x20navigation'),t[_0x50d58f(0xd0)](_0x50d58f(0xc9)));var d=[/cy\.get\(/,/cy\.click\(/,/page\.click\(/,/page\.fill\(/,/locator\(/,/getByRole\(/,/getByText\(/],E=d[_0x50d58f(0xca)](_0x462eed=>_0x462eed['test'](s));!E&&s[_0x50d58f(0xcc)]>0x0&&(t[_0x50d58f(0xd0)](_0x50d58f(0xbc)),t['push'](_0x50d58f(0xce)));try{var _0x5d481d={};_0x5d481d[_0x50d58f(0xd6)]=_0x50d58f(0xd5),_0x5d481d['stdio']=[_0x50d58f(0xa0),_0x50d58f(0xa0),'ignore'];var _0x2999ad={};_0x2999ad[_0x50d58f(0xd6)]=_0x50d58f(0xd5),_0x2999ad['stdio']=[_0x50d58f(0xa0),_0x50d58f(0xa0),'ignore'];let e=c(_0x50d58f(0xb8),_0x5d481d)['trim']()[_0x50d58f(0xa8)]('\x0a')[_0x50d58f(0x99)](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',_0x2999ad)[_0x50d58f(0xa1)]()[_0x50d58f(0xa8)]('\x0a')['filter'](Boolean);e[_0x50d58f(0xcc)]>0x5&&o[_0x50d58f(0xcc)]===0x0&&(t['push']('WARNING:\x20Found\x20'+e[_0x50d58f(0xcc)]+'\x20UI\x20components\x20but\x20NO\x20E2E\x20tests'),t[_0x50d58f(0xd0)](_0x50d58f(0xbe)));}catch{}function _0x7473(_0xc05c72,_0x3a9b13){_0xc05c72=_0xc05c72-0x97;var _0x518a69=_0xb20d();var _0x24da9b=_0x518a69[_0xc05c72];return _0x24da9b;}(s['includes'](_0x50d58f(0xc1))||s['includes'](_0x50d58f(0xc6)))&&(s[_0x50d58f(0xbd)](/expect|assert|should/i)||(n[_0x50d58f(0xd0)](_0x50d58f(0xb7)),n[_0x50d58f(0xd0)](_0x50d58f(0x9b))),s[_0x50d58f(0xbd)](/0 passing/)&&s[_0x50d58f(0xbd)](/\d+ pending/)&&(n['push']('BLOCKED:\x20All\x20E2E\x20tests\x20are\x20skipped/pending'),n[_0x50d58f(0xd0)](_0x50d58f(0xab))),s[_0x50d58f(0xd4)](_0x50d58f(0x9a))&&!s['includes']('expect')&&(t[_0x50d58f(0xd0)](_0x50d58f(0xd3)),t[_0x50d58f(0xd0)](_0x50d58f(0xb9))));var m=[_0x50d58f(0xb4),_0x50d58f(0xc7),_0x50d58f(0xc4),_0x50d58f(0xd7),_0x50d58f(0xa3)],y=m['some'](_0x139f35=>l[_0x50d58f(0xa4)](_0x139f35));!y&&a&&(t[_0x50d58f(0xd0)](_0x50d58f(0xad)),t['push'](_0x50d58f(0xa9))),n[_0x50d58f(0xcc)]>0x0&&(console[_0x50d58f(0xcf)](_0x50d58f(0xcb)),n[_0x50d58f(0xb6)](_0x7289f1=>console[_0x50d58f(0xcf)]('\x20\x20'+_0x7289f1)),console[_0x50d58f(0xcf)]('\x0a'),process['exit'](0x2)),t[_0x50d58f(0xcc)]>0x0&&(console[_0x50d58f(0xa7)]('\x0a⚠️\x20\x20E2E\x20TEST\x20WARNINGS\x0a'),t[_0x50d58f(0xb6)](_0x408304=>console[_0x50d58f(0xa7)]('\x20\x20'+_0x408304)),console[_0x50d58f(0xa7)]('\x0a')),process['exit'](0x0);
2
+ var _0x2fcc1a=_0x4078;(function(_0x1eed03,_0x356447){var _0x108c62=_0x4078,_0x5c85e4=_0x1eed03();while(!![]){try{var _0x516d7d=parseInt(_0x108c62(0x165))/0x1*(parseInt(_0x108c62(0x18d))/0x2)+parseInt(_0x108c62(0x166))/0x3*(parseInt(_0x108c62(0x17d))/0x4)+parseInt(_0x108c62(0x175))/0x5*(parseInt(_0x108c62(0x199))/0x6)+-parseInt(_0x108c62(0x160))/0x7+parseInt(_0x108c62(0x170))/0x8*(-parseInt(_0x108c62(0x196))/0x9)+parseInt(_0x108c62(0x167))/0xa+parseInt(_0x108c62(0x16d))/0xb;if(_0x516d7d===_0x356447)break;else _0x5c85e4['push'](_0x5c85e4['shift']());}catch(_0x2ec119){_0x5c85e4['push'](_0x5c85e4['shift']());}}}(_0x2709,0xa7082));var _0x1e6e84=(function(){var _0x2b0a2c=_0x4078,_0x1df3a2={};_0x1df3a2[_0x2b0a2c(0x193)]=_0x2b0a2c(0x162);var _0x1b5985=_0x1df3a2,_0x33c25f=!![];return function(_0x37b7ca,_0x63c27d){var _0x228ed5=_0x33c25f?function(){var _0x222c67=_0x4078;if(_0x63c27d){if(_0x1b5985[_0x222c67(0x193)]!=='SXCtY'){var _0x334010=_0x63c27d[_0x222c67(0x189)](_0x37b7ca,arguments);return _0x63c27d=null,_0x334010;}else{if(_0x496030){var _0x4e0f01=_0x207b5c[_0x222c67(0x189)](_0x5776fb,arguments);return _0x458354=null,_0x4e0f01;}}}}:function(){};return _0x33c25f=![],_0x228ed5;};}()),_0x59dc69=_0x1e6e84(this,function(){var _0x219794=_0x4078,_0x5e66bb={};_0x5e66bb['AhIKU']=_0x219794(0x178);var _0x59d3e8=_0x5e66bb;return _0x59dc69[_0x219794(0x15e)]()[_0x219794(0x188)](_0x59d3e8[_0x219794(0x181)])[_0x219794(0x15e)]()['constructor'](_0x59dc69)[_0x219794(0x188)](_0x59d3e8['AhIKU']);});_0x59dc69();var i=(_0x2a4f4f=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2a4f4f,{'get':(_0x51a680,_0x418598)=>(typeof require<'u'?require:_0x51a680)[_0x418598]}):_0x2a4f4f)(function(_0x3e1e33){var _0xf0a69c=_0x4078,_0x29f4d6={'bZRAN':function(_0x31c53e,_0x4bdb04){return _0x31c53e<_0x4bdb04;},'NuPKI':function(_0x357207,_0x1d613e){return _0x357207(_0x1d613e);},'gLijF':function(_0x2cf117,_0x38664f){return _0x2cf117+_0x38664f;},'zlabg':'\x22\x20is\x20not\x20supported'};if(_0x29f4d6[_0xf0a69c(0x19d)](typeof require,'u'))return require[_0xf0a69c(0x189)](this,arguments);throw _0x29f4d6[_0xf0a69c(0x177)](Error,_0x29f4d6[_0xf0a69c(0x171)](_0x29f4d6[_0xf0a69c(0x171)](_0xf0a69c(0x16e),_0x3e1e33),_0x29f4d6[_0xf0a69c(0x18e)]));}),l=i('fs'),I=i(_0x2fcc1a(0x195)),{execSync:c}=i(_0x2fcc1a(0x18b)),u=process[_0x2fcc1a(0x15d)][0x2]||'{}',r=JSON[_0x2fcc1a(0x16f)](u),h=r[_0x2fcc1a(0x194)]?.[_0x2fcc1a(0x18f)]||'',s=r['tool_output']||'',a=h[_0x2fcc1a(0x190)](/cypress|playwright|e2e|integration/i);a||process[_0x2fcc1a(0x18a)](0x0);var n=[],t=[],g=[/cy\.visit\(/,/page\.goto\(/,/browser\.url\(/,/goto\(/],f=g['some'](_0x553201=>_0x553201[_0x2fcc1a(0x19c)](s));!f&&s[_0x2fcc1a(0x18c)]>0x0&&(t['push'](_0x2fcc1a(0x173)),t['push'](_0x2fcc1a(0x17a)));function _0x2709(){var _0x1dde9f=['8636148apbmnW','encoding','forEach','27474HjdDKg','./e2e/config.js','\x20UI\x20components\x20but\x20NO\x20E2E\x20tests','test','bZRAN','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','stdio','argv','toString','Add\x20clicks,\x20form\x20fills,\x20or\x20other\x20user\x20interactions','7087192mBmieS','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','tMlnj','ignore','utf8','18eCcEiJ','6183JryPIq','5489240lxVMGl','WARNING:\x20E2E\x20test\x20took\x20screenshots\x20but\x20has\x20no\x20assertions','BLOCKED:\x20E2E\x20test\x20ran\x20but\x20NO\x20assertions\x20found\x20in\x20output','warn','Running:','trim','13970407pGSBcW','Dynamic\x20require\x20of\x20\x22','parse','8HqJHbd','gLijF','./playwright.config.ts','WARNING:\x20E2E\x20test\x20output\x20does\x20not\x20show\x20page\x20navigation','Create\x20E2E\x20tests\x20in\x20./e2e/\x20or\x20./cypress/\x20directory','35FTjmfu','pipe','NuPKI','(((.+)+)+)+$','WARNING:\x20Found\x20','Are\x20you\x20testing\x20the\x20actual\x20UI\x20flow?','some','expect','280lUaVkv','./cypress.config.js','E2E\x20tests\x20must\x20validate\x20UI\x20behavior,\x20not\x20just\x20click\x20around','Test\x20Suites:','AhIKU','split','error','includes','push','WARNING:\x20Running\x20E2E\x20tests\x20but\x20no\x20E2E\x20config\x20file\x20found','filter','search','apply','exit','child_process','length','73434bAcYpV','zlabg','command','match','\x0a⚠️\x20\x20E2E\x20TEST\x20WARNINGS\x0a','Remove\x20.skip\x20and\x20implement\x20the\x20tests','zxNSX','tool_input','path'];_0x2709=function(){return _0x1dde9f;};return _0x2709();}var d=[/cy\.get\(/,/cy\.click\(/,/page\.click\(/,/page\.fill\(/,/locator\(/,/getByRole\(/,/getByText\(/],E=d[_0x2fcc1a(0x17b)](_0x3e8d36=>_0x3e8d36[_0x2fcc1a(0x19c)](s));!E&&s[_0x2fcc1a(0x18c)]>0x0&&(t[_0x2fcc1a(0x185)]('WARNING:\x20E2E\x20test\x20does\x20not\x20show\x20UI\x20interactions'),t[_0x2fcc1a(0x185)](_0x2fcc1a(0x15f)));try{var _0x4ca830={};_0x4ca830[_0x2fcc1a(0x197)]='utf8',_0x4ca830[_0x2fcc1a(0x15c)]=[_0x2fcc1a(0x176),_0x2fcc1a(0x176),_0x2fcc1a(0x163)];var _0x24e23e={};_0x24e23e['encoding']=_0x2fcc1a(0x164),_0x24e23e[_0x2fcc1a(0x15c)]=[_0x2fcc1a(0x176),_0x2fcc1a(0x176),_0x2fcc1a(0x163)];let e=c(_0x2fcc1a(0x161),_0x4ca830)[_0x2fcc1a(0x16c)]()[_0x2fcc1a(0x182)]('\x0a')[_0x2fcc1a(0x187)](Boolean),o=c(_0x2fcc1a(0x19e),_0x24e23e)[_0x2fcc1a(0x16c)]()[_0x2fcc1a(0x182)]('\x0a')['filter'](Boolean);e[_0x2fcc1a(0x18c)]>0x5&&o[_0x2fcc1a(0x18c)]===0x0&&(t['push'](_0x2fcc1a(0x179)+e[_0x2fcc1a(0x18c)]+_0x2fcc1a(0x19b)),t[_0x2fcc1a(0x185)](_0x2fcc1a(0x174)));}catch{}function _0x4078(_0x152b40,_0x4b68c5){_0x152b40=_0x152b40-0x15c;var _0x15d79d=_0x2709();var _0x59dc69=_0x15d79d[_0x152b40];return _0x59dc69;}(s[_0x2fcc1a(0x184)](_0x2fcc1a(0x16b))||s[_0x2fcc1a(0x184)](_0x2fcc1a(0x180)))&&(s[_0x2fcc1a(0x190)](/expect|assert|should/i)||(n[_0x2fcc1a(0x185)](_0x2fcc1a(0x169)),n[_0x2fcc1a(0x185)](_0x2fcc1a(0x17f))),s[_0x2fcc1a(0x190)](/0 passing/)&&s['match'](/\d+ pending/)&&(n[_0x2fcc1a(0x185)]('BLOCKED:\x20All\x20E2E\x20tests\x20are\x20skipped/pending'),n[_0x2fcc1a(0x185)](_0x2fcc1a(0x192))),s[_0x2fcc1a(0x184)]('screenshot')&&!s[_0x2fcc1a(0x184)](_0x2fcc1a(0x17c))&&(t[_0x2fcc1a(0x185)](_0x2fcc1a(0x168)),t[_0x2fcc1a(0x185)]('Screenshots\x20alone\x20do\x20not\x20validate\x20functionality')));var m=[_0x2fcc1a(0x17e),'./cypress.config.ts','./playwright.config.js',_0x2fcc1a(0x172),_0x2fcc1a(0x19a)],y=m[_0x2fcc1a(0x17b)](_0x762f94=>l['existsSync'](_0x762f94));!y&&a&&(t[_0x2fcc1a(0x185)](_0x2fcc1a(0x186)),t[_0x2fcc1a(0x185)]('Expected:\x20cypress.config.js\x20or\x20playwright.config.ts')),n[_0x2fcc1a(0x18c)]>0x0&&(console['error']('\x0a❌\x20E2E\x20TEST\x20VALIDATION\x20FAILED\x0a'),n[_0x2fcc1a(0x198)](_0x3cef25=>console[_0x2fcc1a(0x183)]('\x20\x20'+_0x3cef25)),console[_0x2fcc1a(0x183)]('\x0a'),process['exit'](0x2)),t['length']>0x0&&(console['warn'](_0x2fcc1a(0x191)),t[_0x2fcc1a(0x198)](_0xa28844=>console[_0x2fcc1a(0x16a)]('\x20\x20'+_0xa28844)),console[_0x2fcc1a(0x16a)]('\x0a')),process[_0x2fcc1a(0x18a)](0x0);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var _0x517495=_0x58c9;(function(_0x154b7f,_0x18d265){var _0x1c0e33=_0x58c9,_0x41213e=_0x154b7f();while(!![]){try{var _0x337b38=-parseInt(_0x1c0e33(0x1c5))/0x1*(parseInt(_0x1c0e33(0x1a2))/0x2)+-parseInt(_0x1c0e33(0x1c2))/0x3+parseInt(_0x1c0e33(0x1ba))/0x4*(-parseInt(_0x1c0e33(0x1bf))/0x5)+-parseInt(_0x1c0e33(0x1a6))/0x6*(-parseInt(_0x1c0e33(0x1b1))/0x7)+parseInt(_0x1c0e33(0x1a1))/0x8*(parseInt(_0x1c0e33(0x1d0))/0x9)+-parseInt(_0x1c0e33(0x1ce))/0xa+parseInt(_0x1c0e33(0x1aa))/0xb;if(_0x337b38===_0x18d265)break;else _0x41213e['push'](_0x41213e['shift']());}catch(_0xbb77f3){_0x41213e['push'](_0x41213e['shift']());}}}(_0x2cc6,0x9cab1));function _0x58c9(_0x14fcaa,_0x2e9895){_0x14fcaa=_0x14fcaa-0x1a1;var _0x48e6ad=_0x2cc6();var _0x920ac4=_0x48e6ad[_0x14fcaa];return _0x920ac4;}var _0xdc7030=(function(){var _0xf97255=!![];return function(_0x59bf84,_0x74cda8){var _0x5d9008=_0xf97255?function(){var _0x459631=_0x58c9;if(_0x74cda8){var _0x75c4=_0x74cda8[_0x459631(0x1ab)](_0x59bf84,arguments);return _0x74cda8=null,_0x75c4;}}:function(){};return _0xf97255=![],_0x5d9008;};}()),_0x920ac4=_0xdc7030(this,function(){var _0x35b0c1=_0x58c9;return _0x920ac4[_0x35b0c1(0x1c6)]()[_0x35b0c1(0x1bc)](_0x35b0c1(0x1c7))['toString']()[_0x35b0c1(0x1b8)](_0x920ac4)[_0x35b0c1(0x1bc)](_0x35b0c1(0x1c7));});_0x920ac4();var n=(_0x3413cd=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x3413cd,{'get':(_0x5b866e,_0x1ec4b2)=>(typeof require<'u'?require:_0x5b866e)[_0x1ec4b2]}):_0x3413cd)(function(_0x5320bd){var _0x42fd57=_0x58c9,_0x5ad367={};_0x5ad367['lholK']=function(_0xe671d0,_0x59f595){return _0xe671d0<_0x59f595;},_0x5ad367[_0x42fd57(0x1a3)]=function(_0x464fcd,_0x3ba21d){return _0x464fcd+_0x3ba21d;},_0x5ad367['RkNKj']=_0x42fd57(0x1c0),_0x5ad367[_0x42fd57(0x1a4)]=_0x42fd57(0x1c8);var _0x5c850d=_0x5ad367;if(_0x5c850d['lholK'](typeof require,'u'))return require[_0x42fd57(0x1ab)](this,arguments);throw Error(_0x5c850d['Rhydy'](_0x5c850d['Rhydy'](_0x5c850d[_0x42fd57(0x1b6)],_0x5320bd),_0x5c850d['SPQWf']));}),{execSync:s}=n(_0x517495(0x1c9)),a=process['argv'][0x2]||'{}',i;try{i=JSON[_0x517495(0x1b0)](a);}catch{process['exit'](0x0);}var r=i[_0x517495(0x1cd)]?.[_0x517495(0x1cb)]||'';r['includes'](_0x517495(0x1c3))||process[_0x517495(0x1a8)](0x0);var o;try{var _0x564dd3={};_0x564dd3[_0x517495(0x1a5)]=_0x517495(0x1ae),_0x564dd3[_0x517495(0x1bb)]=[_0x517495(0x1be),'pipe',_0x517495(0x1cc)],o=s('git\x20rev-parse\x20--abbrev-ref\x20HEAD',_0x564dd3)[_0x517495(0x1bd)]();}catch{process[_0x517495(0x1a8)](0x0);}o==='main'&&r[_0x517495(0x1d2)](_0x517495(0x1b7))&&(console[_0x517495(0x1d1)](_0x517495(0x1cf)),console[_0x517495(0x1d1)]('Create\x20a\x20feature\x20branch:\x20git\x20checkout\x20-b\x20feature/your-feature-name'),process['exit'](0x2)),o===_0x517495(0x1c1)&&r['includes']('git\x20merge')&&(console[_0x517495(0x1d1)]('ERROR:\x20Cannot\x20merge\x20directly\x20on\x20main\x20branch'),console[_0x517495(0x1d1)](_0x517495(0x1b4)),process[_0x517495(0x1a8)](0x2));var u=['feature/',_0x517495(0x1ac),_0x517495(0x1c4)],l=o===_0x517495(0x1c1)||u['some'](_0x1b0cd2=>o[_0x517495(0x1ad)](_0x1b0cd2));!l&&(r[_0x517495(0x1d2)](_0x517495(0x1b7))||r[_0x517495(0x1d2)](_0x517495(0x1b2)))&&(console['error'](_0x517495(0x1b9)+o+_0x517495(0x1a9)),console[_0x517495(0x1d1)](_0x517495(0x1af)),console[_0x517495(0x1d1)](_0x517495(0x1ca)),process[_0x517495(0x1a8)](0x2)),(r[_0x517495(0x1d2)](_0x517495(0x1b5))||r[_0x517495(0x1d2)](_0x517495(0x1b3)))&&(console[_0x517495(0x1d1)](_0x517495(0x1a7)),process[_0x517495(0x1a8)](0x2)),process['exit'](0x0);function _0x2cc6(){var _0x29c7e9=['constructor','ERROR:\x20Branch\x20\x27','4ulfDtd','stdio','search','trim','pipe','4817815ZtUofl','Dynamic\x20require\x20of\x20\x22','main','2576634Qycpme','git','hotfix/','258626indEqs','toString','(((.+)+)+)+$','\x22\x20is\x20not\x20supported','child_process','Example:\x20git\x20checkout\x20-b\x20feature/add-user-authentication','command','ignore','tool_input','10968310VvDTaG','ERROR:\x20Cannot\x20commit\x20directly\x20to\x20main\x20branch','8218710CRljrI','error','includes','8nDfXkd','2BlkGHw','Rhydy','SPQWf','encoding','22938jyyoqD','ERROR:\x20Force\x20push\x20is\x20blocked','exit','\x27\x20does\x20not\x20follow\x20naming\x20convention','20910692CaKvZq','apply','bugfix/','startsWith','utf8','Valid\x20prefixes:\x20feature/,\x20bugfix/,\x20hotfix/','parse','1841usimVv','git\x20push','git\x20push\x20-f','Use\x20pull\x20requests\x20for\x20merging\x20to\x20main','git\x20push\x20--force','RkNKj','git\x20commit'];_0x2cc6=function(){return _0x29c7e9;};return _0x2cc6();}
2
+ function _0x4297(){var _0x5c0373=['Example:\x20git\x20checkout\x20-b\x20feature/add-user-authentication','gOeQZ','git\x20rev-parse\x20--abbrev-ref\x20HEAD','2749916YedmRm','Create\x20a\x20feature\x20branch:\x20git\x20checkout\x20-b\x20feature/your-feature-name','tool_input','Valid\x20prefixes:\x20feature/,\x20bugfix/,\x20hotfix/','command','ERROR:\x20Force\x20push\x20is\x20blocked','child_process','git\x20commit','10khdyFE','ERROR:\x20Branch\x20\x27','PQqbS','includes','1657898snUQbj','main','9454864gxeUOT','git\x20push','toString','apply','git\x20merge','encoding','constructor','GodKL','utf8','some','error','pipe','trim','Use\x20pull\x20requests\x20for\x20merging\x20to\x20main','git\x20push\x20-f','zUcKP','NYJFB','956922FoxvFx','KJZxz','ignore','15SnJnki','stdio','GAMes','808556EhHpxn','hotfix/','CJXIQ','startsWith','\x22\x20is\x20not\x20supported','680004vWGMBU','20676366neDiIP','6IFVwyk','\x27\x20does\x20not\x20follow\x20naming\x20convention','git\x20push\x20--force','exit'];_0x4297=function(){return _0x5c0373;};return _0x4297();}var _0x135668=_0x3d7b;(function(_0x1efaec,_0x5907cb){var _0x154df0=_0x3d7b,_0x2f28a2=_0x1efaec();while(!![]){try{var _0x31a510=-parseInt(_0x154df0(0x1cd))/0x1+-parseInt(_0x154df0(0x1ed))/0x2+-parseInt(_0x154df0(0x1da))/0x3*(-parseInt(_0x154df0(0x1e1))/0x4)+-parseInt(_0x154df0(0x1d0))/0x5*(-parseInt(_0x154df0(0x1d8))/0x6)+-parseInt(_0x154df0(0x1d3))/0x7+-parseInt(_0x154df0(0x1bc))/0x8+parseInt(_0x154df0(0x1d9))/0x9*(parseInt(_0x154df0(0x1e9))/0xa);if(_0x31a510===_0x5907cb)break;else _0x2f28a2['push'](_0x2f28a2['shift']());}catch(_0x29ecc8){_0x2f28a2['push'](_0x2f28a2['shift']());}}}(_0x4297,0xe2d49));var _0x22d41f=(function(){var _0x270960=_0x3d7b,_0x1b558a={};_0x1b558a['jhfqI']=function(_0x25021f,_0x37414f){return _0x25021f===_0x37414f;},_0x1b558a[_0x270960(0x1cc)]=_0x270960(0x1ce);var _0x243ae0=_0x1b558a,_0x543f17=!![];return function(_0x1e789a,_0x30a60d){var _0x3af742=_0x270960,_0x5cf094={};_0x5cf094[_0x3af742(0x1df)]=_0x3af742(0x1c3);var _0x1988da=_0x5cf094;if(_0x243ae0['jhfqI'](_0x3af742(0x1ce),_0x243ae0[_0x3af742(0x1cc)])){var _0x4daaeb=_0x543f17?function(){var _0x2e397b=_0x3af742;if(_0x30a60d){if(_0x1988da[_0x2e397b(0x1df)]!==_0x1988da[_0x2e397b(0x1df)])_0x4cb30c[_0x2e397b(0x1dd)](0x0);else{var _0x34998f=_0x30a60d[_0x2e397b(0x1bf)](_0x1e789a,arguments);return _0x30a60d=null,_0x34998f;}}}:function(){};return _0x543f17=![],_0x4daaeb;}else{if(_0x5d495c){var _0x501baa=_0x17cf20['apply'](_0x64a000,arguments);return _0x5896ab=null,_0x501baa;}}};}()),_0x1886c9=_0x22d41f(this,function(){var _0x2debf1=_0x3d7b,_0x241d31={};_0x241d31[_0x2debf1(0x1d5)]='(((.+)+)+)+$';var _0x3948f7=_0x241d31;return _0x1886c9['toString']()['search'](_0x3948f7[_0x2debf1(0x1d5)])[_0x2debf1(0x1be)]()[_0x2debf1(0x1c2)](_0x1886c9)['search'](_0x3948f7['CJXIQ']);});_0x1886c9();var n=(_0x2c9aaa=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2c9aaa,{'get':(_0x5d34eb,_0x5dc8fc)=>(typeof require<'u'?require:_0x5d34eb)[_0x5dc8fc]}):_0x2c9aaa)(function(_0x470c99){var _0x5acceb=_0x3d7b,_0x25e559={};_0x25e559['GAMes']=function(_0x33bbd2,_0x2a6ba9){return _0x33bbd2<_0x2a6ba9;},_0x25e559[_0x5acceb(0x1cb)]=function(_0x215f9a,_0x9280f0){return _0x215f9a+_0x9280f0;},_0x25e559[_0x5acceb(0x1eb)]='Dynamic\x20require\x20of\x20\x22';var _0x4552c1=_0x25e559;if(_0x4552c1[_0x5acceb(0x1d2)](typeof require,'u'))return require['apply'](this,arguments);throw Error(_0x4552c1['zUcKP'](_0x4552c1['zUcKP'](_0x4552c1[_0x5acceb(0x1eb)],_0x470c99),_0x5acceb(0x1d7)));}),{execSync:s}=n(_0x135668(0x1e7)),a=process['argv'][0x2]||'{}',i;try{i=JSON['parse'](a);}catch{process['exit'](0x0);}var r=i[_0x135668(0x1e3)]?.[_0x135668(0x1e5)]||'';r[_0x135668(0x1ec)]('git')||process['exit'](0x0);function _0x3d7b(_0xa3e56a,_0x14995f){_0xa3e56a=_0xa3e56a-0x1bb;var _0x3461fa=_0x4297();var _0x1886c9=_0x3461fa[_0xa3e56a];return _0x1886c9;}var o;try{var _0x5d6dd0={};_0x5d6dd0[_0x135668(0x1c1)]=_0x135668(0x1c4),_0x5d6dd0[_0x135668(0x1d1)]=[_0x135668(0x1c7),_0x135668(0x1c7),_0x135668(0x1cf)],o=s(_0x135668(0x1e0),_0x5d6dd0)[_0x135668(0x1c8)]();}catch{process[_0x135668(0x1dd)](0x0);}o===_0x135668(0x1bb)&&r['includes'](_0x135668(0x1e8))&&(console[_0x135668(0x1c6)]('ERROR:\x20Cannot\x20commit\x20directly\x20to\x20main\x20branch'),console[_0x135668(0x1c6)](_0x135668(0x1e2)),process[_0x135668(0x1dd)](0x2)),o===_0x135668(0x1bb)&&r[_0x135668(0x1ec)](_0x135668(0x1c0))&&(console[_0x135668(0x1c6)]('ERROR:\x20Cannot\x20merge\x20directly\x20on\x20main\x20branch'),console['error'](_0x135668(0x1c9)),process[_0x135668(0x1dd)](0x2));var u=['feature/','bugfix/',_0x135668(0x1d4)],l=o===_0x135668(0x1bb)||u[_0x135668(0x1c5)](_0x5079d9=>o[_0x135668(0x1d6)](_0x5079d9));!l&&(r[_0x135668(0x1ec)](_0x135668(0x1e8))||r[_0x135668(0x1ec)](_0x135668(0x1bd)))&&(console[_0x135668(0x1c6)](_0x135668(0x1ea)+o+_0x135668(0x1db)),console[_0x135668(0x1c6)](_0x135668(0x1e4)),console[_0x135668(0x1c6)](_0x135668(0x1de)),process[_0x135668(0x1dd)](0x2)),(r[_0x135668(0x1ec)](_0x135668(0x1dc))||r[_0x135668(0x1ec)](_0x135668(0x1ca)))&&(console[_0x135668(0x1c6)](_0x135668(0x1e6)),process[_0x135668(0x1dd)](0x2)),process[_0x135668(0x1dd)](0x0);
@@ -0,0 +1,2 @@
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);