@ranger-testing/ranger-cli 2.5.4-alpha.1f7a251-7 → 2.5.4-alpha.27e3ee8-11

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 (78) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/mcpBootstrap.js +1 -1
  25. package/build/commands/migrateProfile.js +1 -1
  26. package/build/commands/setup/claude.js +1 -1
  27. package/build/commands/setup/opencode.js +1 -1
  28. package/build/commands/setupCi.js +1 -1
  29. package/build/commands/skillup.js +1 -1
  30. package/build/commands/start.js +1 -1
  31. package/build/commands/status.js +1 -1
  32. package/build/commands/update.js +1 -1
  33. package/build/commands/updateEnv.js +1 -1
  34. package/build/commands/useEnv.js +1 -1
  35. package/build/commands/utils/activeProfile.js +1 -1
  36. package/build/commands/utils/agentEnv.js +1 -1
  37. package/build/commands/utils/browserSessionsApi.js +1 -1
  38. package/build/commands/utils/claudeConfig.js +1 -1
  39. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  40. package/build/commands/utils/claudePlugin.js +1 -1
  41. package/build/commands/utils/cloudProfile.js +1 -1
  42. package/build/commands/utils/cloudProfileSession.js +1 -1
  43. package/build/commands/utils/crypto.js +1 -1
  44. package/build/commands/utils/desirePathLog.js +1 -1
  45. package/build/commands/utils/deviceAuth.js +1 -1
  46. package/build/commands/utils/environment.js +1 -1
  47. package/build/commands/utils/featureApi.js +1 -1
  48. package/build/commands/utils/fixWebmDuration.js +1 -1
  49. package/build/commands/utils/gitTracked.js +1 -1
  50. package/build/commands/utils/keychain.js +1 -1
  51. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  52. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  53. package/build/commands/utils/mcpImageBase64.js +1 -1
  54. package/build/commands/utils/model.js +1 -1
  55. package/build/commands/utils/opencodeConfig.js +1 -1
  56. package/build/commands/utils/playwrightCli.js +1 -1
  57. package/build/commands/utils/profileMessages.js +1 -1
  58. package/build/commands/utils/profileSetupBanner.js +1 -1
  59. package/build/commands/utils/projectsConfig.js +1 -1
  60. package/build/commands/utils/rangerConfig.js +1 -1
  61. package/build/commands/utils/rangerRoot.js +1 -1
  62. package/build/commands/utils/resolveProfileContext.js +1 -1
  63. package/build/commands/utils/resolveProfileUrl.js +1 -1
  64. package/build/commands/utils/retry.js +1 -1
  65. package/build/commands/utils/sessionCache.js +1 -1
  66. package/build/commands/utils/settings.js +1 -1
  67. package/build/commands/utils/skillContent.js +1 -1
  68. package/build/commands/utils/skills.js +1 -1
  69. package/build/commands/utils/stitchWebmFiles.js +1 -1
  70. package/build/commands/utils/telemetry.js +1 -1
  71. package/build/commands/utils/tokenRefresh.js +1 -1
  72. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  73. package/build/commands/utils/userApi.js +1 -1
  74. package/build/commands/utils/version.js +1 -1
  75. package/build/commands/verifyFeature.js +1 -1
  76. package/build/commands/verifyFeatureCli.js +1 -1
  77. package/build/skills/ranger/verify.md +6 -12
  78. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x12a781,_0x3e2309){const _0x366dbb=_0x4a9d,_0x351540=_0x12a781();while(!![]){try{const _0x30c2b6=parseInt(_0x366dbb(0x1bf))/0x1*(parseInt(_0x366dbb(0x175))/0x2)+parseInt(_0x366dbb(0x201))/0x3+-parseInt(_0x366dbb(0x1a0))/0x4+-parseInt(_0x366dbb(0x1e1))/0x5*(parseInt(_0x366dbb(0x166))/0x6)+parseInt(_0x366dbb(0x14e))/0x7*(-parseInt(_0x366dbb(0x1bc))/0x8)+-parseInt(_0x366dbb(0x1a4))/0x9*(-parseInt(_0x366dbb(0x1c6))/0xa)+parseInt(_0x366dbb(0x16d))/0xb;if(_0x30c2b6===_0x3e2309)break;else _0x351540['push'](_0x351540['shift']());}catch(_0x10e5d3){_0x351540['push'](_0x351540['shift']());}}}(_0x4e4b,0x5b9a6));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0xc796d3 from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x14dea1=>'\x1b[1m'+_0x14dea1+'\x1b[0m';function getGitRepoUrl(){const _0x3e1fbe=_0x4a9d,_0x223517={'oELAQ':'git\x20remote\x20get-url\x20origin','bYJRF':'pipe'};try{const _0x364256=execSync(_0x223517[_0x3e1fbe(0x1cc)],{'encoding':_0x3e1fbe(0x16e),'stdio':['pipe',_0x223517[_0x3e1fbe(0x13a)],_0x223517[_0x3e1fbe(0x13a)]]})[_0x3e1fbe(0x1be)]();return _0x364256['replace'](/\.git$/,'')[_0x3e1fbe(0x16a)](/^git@github\.com:/,'github.com/')['replace'](/^https?:\/\//,'');}catch{return undefined;}}function _0x4e4b(){const _0x4e89d9=['join','scenario','verificationInProgressItems','No\x20scenarios\x20found.','nwQBh','canonicalFlow','filter','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','KbZKs','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','verification_in_progress','fYlVu','location','\x0a✅\x20Resumed\x20feature\x20review:\x20','gJAZY','wdsuv','.\x20Feature\x20review\x20has\x20','No\x20active\x20session\x20for\x20this\x20feature\x20review.','toLocaleDateString','\x20--include-deleted','\x20\x20\x20\x20\x20\x20Approved','JqoOi','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','\x20\x20\x20\x20\x20Branch:\x20','CLAUDE_SESSION_ID','push','\x20\x20\x20Created:\x20','bEnLW','rroOX','\x20feature\x20review(s)\x20found','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','2243382YpTOBU','currentSessionId','FADwy','toLocaleString','\x20in\x20progress','ONCqV','ScfmE','eQwJs','WgaiB','completedAt','.png','authorEmail','FCTSe','.md','sessionId','qYjdh','blockedItems','status','...','\x20\x20\x20\x20\x20Progress:\x20','isTTY','bYJRF','bYtjt','lPkUo','MPlQX','spatial','Current\x20session\x20not\x20found.','VbXth','isKeyStep','\x0aNo\x20feature\x20reviews\x20found.','incompleteReason','/api/v1/mcp/browser-sessions/','approved','split','pipe','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','ChrWC','canceledReason','zKIpj','blocked','mAPYI','7OzyAcF','error','yogoY','kVcSh','AsFnw','log','NTaUL','Scenario\x20','style','zFHAR','\x0aCreating\x20feature\x20review...','assetUrl','fAUsi','rkqWq','numeric','all','HxiJK','KsRvU','en-US','No\x20sessions\x20found.','offset','YpQdt','verified','bQyMA','6Difdif','\x20incomplete','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20\x20\x20\x20\x20\x20Incomplete:\x20','replace','coordinates','warn','3397163aFhAcY','utf-8','output','Next\x20page:\x20ranger\x20list\x20--offset\x20','oJdvN','\x20verified','includeDeleted','\x20--current-branch','24hipJKu','Qxktk','\x20\x20\x20ID:\x20','Showing\x20','FbEvw','gitRepoUrl','\x20(v','MeKOo','find','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','iHoGK','\x0aConcluding\x20session...','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','selected','write','IUAAG','env','sQXGZ','hJsfW','domRef','list','\x20\x20\x20Completed:\x20','\x20at\x20[','\x20blocked','QvzFh','items','CwsHr','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','gitBranch','oreja','\x0aAvailable\x20scenarios:','checklistItems','\x20\x20\x20Description:\x20','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','saiZP','nGaZF','\x0a✅\x20Session\x20is\x20already\x20completed.','uSRjc','has','FrANy','totalCount','pendingItems','2179944hSuhWZ','huCSS','\x20\x20\x20','get','117JPqaNT','screenshotUrls','type','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','storage','createdAt','any','KOZgj','xweHg','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','gKdCU','IxdZE','description','XecHG','unaddressedComments','\x20\x20\x20\x20\x20📋\x20Selector:\x20','\x20\x20\x20Repository:\x20','latestReview','\x20—\x20no\x20comments','FFBRg','QgPXK','closed','\x0a✅\x20Scenario\x20updated','assets','4077592NLCsyX','scenarios','trim','24891VbhLlJ','git\x20rev-parse\x20--abbrev-ref\x20HEAD','map','\x20\x20\x20\x20\x20\x20Blocked:\x20','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','blockedReason','qDdSs','341370ABtBvY','UxGNR','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','element','version','OuxVQ','oELAQ','\x20/\x20','verifiedItems','iXHua','stdout','textContent','exit','terminalReason','currentBranch','repeat','\x20>\x20','stats','\x0a✅\x20Session\x20','iteration','incompleteItems','/artifacts/','length','excludeScenarios','dashboardUrl','name','dfSGo','1846045CbSbnV'];_0x4e4b=function(){return _0x4e89d9;};return _0x4e4b();}function getGitBranch(){const _0x43b6fc=_0x4a9d,_0x23d73f={'Qxktk':function(_0x2d974b,_0x1d9100,_0x394016){return _0x2d974b(_0x1d9100,_0x394016);},'SOgpw':_0x43b6fc(0x1c0),'zKIpj':_0x43b6fc(0x147)};try{return _0x23d73f[_0x43b6fc(0x176)](execSync,_0x23d73f['SOgpw'],{'encoding':'utf-8','stdio':[_0x23d73f['zKIpj'],_0x23d73f[_0x43b6fc(0x14b)],_0x23d73f['zKIpj']]})['trim']();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x1e736b=_0x4a9d,_0x535e5a={'gJAZY':function(_0x324913){return _0x324913();},'hJsfW':function(_0x2f82cb,_0x1bf7c9,_0x6660b6){return _0x2f82cb(_0x1bf7c9,_0x6660b6);}},_0x5e4d31=join(_0x535e5a[_0x1e736b(0x1f0)](getRangerDir),ACTIVE_FEATURE_FILE);if(!existsSync(_0x5e4d31))return null;try{const _0x3ef4e4=await _0x535e5a[_0x1e736b(0x187)](readFile,_0x5e4d31,_0x1e736b(0x16e));return _0x3ef4e4[_0x1e736b(0x1be)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x4de6b7){const _0x44fa88=_0x4a9d,_0x29a08b={'FrANy':function(_0x90d565,_0xbc11b7,_0x202ab5){return _0x90d565(_0xbc11b7,_0x202ab5);},'PphhH':function(_0x246a8f,_0x173472){return _0x246a8f(_0x173472);},'mcfbc':function(_0x10d17e,_0x4839a6,_0x252156,_0x5a4b4c){return _0x10d17e(_0x4839a6,_0x252156,_0x5a4b4c);},'uSRjc':'utf-8'},_0x1bc98c=getRangerDir(),_0x5ab571=_0x29a08b['FrANy'](join,_0x1bc98c,ACTIVE_FEATURE_FILE);!_0x29a08b['PphhH'](existsSync,_0x1bc98c)&&await _0x29a08b[_0x44fa88(0x19d)](mkdir,_0x1bc98c,{'recursive':!![]}),await _0x29a08b['mcfbc'](writeFile,_0x5ab571,_0x4de6b7,_0x29a08b[_0x44fa88(0x19b)]);}function getProgressDisplay(_0x240d77){const _0x3d67a5=_0x4a9d,_0x4452a1={'JRjMq':function(_0xf0b390,_0x1c4edb){return _0xf0b390+_0x1c4edb;},'SRtQs':function(_0x1aabf0,_0xadc953){return _0x1aabf0===_0xadc953;},'qcjSy':function(_0x8cc56c,_0x4794f5){return _0x8cc56c*_0x4794f5;},'ZMgsZ':function(_0x1fa036,_0x11d2f2){return _0x1fa036/_0x11d2f2;},'ChrWC':function(_0x211126,_0x483e67){return _0x211126-_0x483e67;},'KbZKs':function(_0x501e7c,_0x3829b9){return _0x501e7c>_0x3829b9;}},_0x1d5570=_0x240d77[_0x3d67a5(0x1ce)]||0x0,_0x47e5d3=_0x240d77[_0x3d67a5(0x1e4)]||0x0,_0x4bd4d0=_0x240d77[_0x3d67a5(0x135)]||0x0,_0x3d1829=_0x240d77[_0x3d67a5(0x1da)]||0x0,_0x37631c=_0x240d77[_0x3d67a5(0x19f)]||0x0,_0x279fea=_0x4452a1['JRjMq'](_0x1d5570+_0x47e5d3,_0x4bd4d0)+_0x3d1829+_0x37631c;if(_0x4452a1['SRtQs'](_0x279fea,0x0))return'-';const _0x32f51b=0xa,_0x47f394=Math['round'](_0x4452a1['qcjSy'](_0x4452a1['ZMgsZ'](_0x1d5570,_0x279fea),_0x32f51b)),_0x6bbabb='█'['repeat'](_0x47f394)+'░'[_0x3d67a5(0x1d5)](_0x4452a1[_0x3d67a5(0x149)](_0x32f51b,_0x47f394)),_0x326099=[];if(_0x4452a1['KbZKs'](_0x4bd4d0,0x0))_0x326099['push'](_0x4bd4d0+_0x3d67a5(0x18c));if(_0x4452a1[_0x3d67a5(0x1ea)](_0x3d1829,0x0))_0x326099[_0x3d67a5(0x1fb)](_0x3d1829+_0x3d67a5(0x167));if(_0x4452a1['KbZKs'](_0x47e5d3,0x0))_0x326099[_0x3d67a5(0x1fb)](_0x47e5d3+_0x3d67a5(0x205));const _0x262805=_0x326099['length']>0x0?'\x20('+_0x326099['join'](',\x20')+')':'';return _0x6bbabb+'\x20'+_0x1d5570+'/'+_0x279fea+_0x3d67a5(0x172)+_0x262805;}function getCurrentSessionItems(_0x1ee37d,_0x23d2ad){const _0x3c5f30=_0x4a9d;if(!_0x1ee37d[_0x3c5f30(0x202)])return _0x23d2ad[_0x3c5f30(0x1e8)](_0x107f65=>!_0x107f65['sessionId']);return _0x23d2ad[_0x3c5f30(0x1e8)](_0x3bdcac=>_0x3bdcac[_0x3c5f30(0x133)]===_0x1ee37d[_0x3c5f30(0x202)]||!_0x3bdcac[_0x3c5f30(0x133)]);}function displayFeature(_0x5c2d43,_0x1c129f){const _0x24991f=_0x4a9d,_0x4f06de={'rkqWq':function(_0x9b7abd,_0x4a41af){return _0x9b7abd(_0x4a41af);},'FbEvw':function(_0x149e2a,_0x35df9c){return _0x149e2a===_0x35df9c;},'ONCqV':_0x24991f(0x1b9),'kVcSh':function(_0x1971fb,_0x39445e){return _0x1971fb===_0x39445e;},'iHoGK':_0x24991f(0x164),'ScfmE':function(_0x2f48f2,_0x555b7b){return _0x2f48f2===_0x555b7b;},'xweHg':function(_0x13714d,_0x4b53ab){return _0x13714d!==_0x4b53ab;},'ykQmP':function(_0x1f56af,_0xf99dc9){return _0x1f56af===_0xf99dc9;},'vKKKn':_0x24991f(0x14c),'rroOX':_0x24991f(0x145)};console['log']('\x0a'+_0x5c2d43[_0x24991f(0x1df)]+'\x20('+_0x5c2d43[_0x24991f(0x1de)]+')');_0x5c2d43[_0x24991f(0x1d7)]&&console['log']('\x20\x20\x20Progress:\x20'+_0x4f06de[_0x24991f(0x15b)](getProgressDisplay,_0x5c2d43['stats']));_0x5c2d43['description']&&console['log'](_0x24991f(0x196)+_0x5c2d43[_0x24991f(0x1b0)]);_0x5c2d43['gitRepoUrl']&&console['log'](_0x24991f(0x1b4)+_0x5c2d43[_0x24991f(0x17a)]);_0x5c2d43['gitBranch']&&console[_0x24991f(0x153)]('\x20\x20\x20Branch:\x20'+_0x5c2d43['gitBranch']);console[_0x24991f(0x153)](_0x24991f(0x1fc)+new Date(_0x5c2d43[_0x24991f(0x1a9)])[_0x24991f(0x204)]());_0x5c2d43[_0x24991f(0x20a)]&&console[_0x24991f(0x153)](_0x24991f(0x18a)+new Date(_0x5c2d43[_0x24991f(0x20a)])[_0x24991f(0x204)]());if(_0x1c129f&&_0x1c129f[_0x24991f(0x1dc)]>0x0){console['log']('\x0a\x20\x20\x20Scenarios:');for(let _0x3a83c8=0x0;_0x3a83c8<_0x1c129f[_0x24991f(0x1dc)];_0x3a83c8++){const _0x26fcb1=_0x1c129f[_0x3a83c8];let _0x353b3e;if(_0x4f06de[_0x24991f(0x179)](_0x26fcb1['status'],_0x4f06de[_0x24991f(0x206)])&&_0x4f06de['kVcSh'](_0x26fcb1[_0x24991f(0x1d3)],'approved'))_0x353b3e='✅';else{if(_0x4f06de['kVcSh'](_0x26fcb1['status'],_0x4f06de['iHoGK']))_0x353b3e='🟢';else{if(_0x26fcb1[_0x24991f(0x136)]==='incomplete')_0x353b3e='🟠';else{if(_0x4f06de[_0x24991f(0x207)](_0x26fcb1['status'],'blocked'))_0x353b3e='🛑';else{if(_0x4f06de[_0x24991f(0x151)](_0x26fcb1[_0x24991f(0x136)],_0x24991f(0x1b9)))_0x353b3e='⛔';else _0x4f06de[_0x24991f(0x151)](_0x26fcb1['status'],_0x24991f(0x1ec))?_0x353b3e='⏳':_0x353b3e='⬜';}}}}const _0x1b5acb=_0x26fcb1['version']>0x1?_0x24991f(0x17b)+_0x26fcb1[_0x24991f(0x1ca)]+')':'',_0x17aab5=_0x26fcb1['version']>0x1&&_0x26fcb1['parentItemId']&&_0x4f06de[_0x24991f(0x1ac)](_0x26fcb1['status'],'closed')&&_0x4f06de['xweHg'](_0x26fcb1['status'],_0x4f06de[_0x24991f(0x17f)])?'\x20[has\x20reviewer\x20feedback]':'';console[_0x24991f(0x153)](_0x24991f(0x1a2)+(_0x3a83c8+0x1)+'.\x20'+_0x353b3e+'\x20'+_0x26fcb1[_0x24991f(0x1b0)]+_0x1b5acb+_0x17aab5);_0x4f06de['ykQmP'](_0x26fcb1[_0x24991f(0x136)],_0x4f06de['vKKKn'])&&_0x26fcb1[_0x24991f(0x1c4)]&&console['log'](_0x24991f(0x1c2)+_0x26fcb1[_0x24991f(0x1c4)]);_0x26fcb1['status']==='incomplete'&&_0x26fcb1['incompleteReason']&&console['log'](_0x24991f(0x169)+_0x26fcb1['incompleteReason']);if(_0x26fcb1[_0x24991f(0x136)]==='closed'&&_0x26fcb1['terminalReason']===_0x4f06de[_0x24991f(0x1fe)])console[_0x24991f(0x153)](_0x24991f(0x1f6));else _0x26fcb1['status']==='closed'&&_0x26fcb1['canceledReason']&&console['log']('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x26fcb1[_0x24991f(0x14a)]);}}}export async function featureCreate(_0x3024b4,_0x25402f){const _0x3190e8=_0x4a9d,_0x386c9b={'oreja':function(_0x482f6f,_0x21941f){return _0x482f6f===_0x21941f;},'DHIoO':function(_0x37e94f){return _0x37e94f();},'mVjPM':_0x3190e8(0x158),'UONGv':function(_0x1a8b0f,_0x1e7a16){return _0x1a8b0f(_0x1e7a16);},'NzStT':function(_0x304ad0,_0x25a2e1,_0x3b698d){return _0x304ad0(_0x25a2e1,_0x3b698d);}},{envNames:_0x3685d1}=await getEnvNames();if(_0x3685d1[_0x3190e8(0x1dc)]===0x0&&!process[_0x3190e8(0x185)]['RANGER_TEST_USERNAME']){let _0x24801d=0x0;try{_0x24801d=(await listCloudProfiles())['length'];}catch{_0x24801d=0x1;}_0x386c9b[_0x3190e8(0x193)](_0x24801d,0x0)&&console[_0x3190e8(0x16c)]('\x0a'+formatProfileRequiredMessage(_0x1422a9=>bold(_0x1422a9)));}const _0x1722bb=_0x25402f['scenarios']?_0x25402f[_0x3190e8(0x1bd)][_0x3190e8(0x1c1)](_0x238057=>_0x238057['trim']()):[],_0x5756a6=_0x386c9b['DHIoO'](getGitRepoUrl),_0x157ad4=getGitBranch();console[_0x3190e8(0x153)](_0x386c9b['mVjPM']);const _0x22dbfd=await createFeature({'name':_0x3024b4,'description':_0x25402f[_0x3190e8(0x1b0)],'checklist':_0x1722bb,'gitRepoUrl':_0x5756a6,'gitBranch':_0x157ad4});await _0x386c9b['UONGv'](setActiveFeatureId,_0x22dbfd['id']),await tryStartCurrentSession(_0x22dbfd['id']);const _0x537cb9=process[_0x3190e8(0x185)][_0x3190e8(0x1fa)];_0x537cb9&&registerSession(_0x537cb9,_0x22dbfd['id']),console[_0x3190e8(0x153)]('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x22dbfd['id']),_0x386c9b['NzStT'](displayFeature,_0x22dbfd,_0x22dbfd[_0x3190e8(0x195)]),console[_0x3190e8(0x153)]('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x49cb22){const _0x331e03=_0x4a9d,_0x2f339a={'eQwJs':function(_0x2143e8){return _0x2143e8();},'sQXGZ':function(_0x293990,_0x1facf5){return _0x293990(_0x1facf5);},'BTXhY':function(_0x307e8c,_0x4a6bce){return _0x307e8c!==_0x4a6bce;},'cRjnd':_0x331e03(0x174),'fyGFq':_0x331e03(0x1f5)},_0x6c2d8c={'limit':_0x49cb22['limit']??0xa,'offset':_0x49cb22['offset']??0x0,'includeDeleted':_0x49cb22['includeDeleted']};_0x49cb22['currentBranch']&&(_0x6c2d8c['gitRepoUrl']=_0x2f339a[_0x331e03(0x208)](getGitRepoUrl),_0x6c2d8c[_0x331e03(0x192)]=getGitBranch());const _0x38adae=await _0x2f339a['sQXGZ'](listFeatures,_0x6c2d8c);if(_0x38adae['items'][_0x331e03(0x1dc)]===0x0){console['log'](_0x331e03(0x142));return;}const _0x3a173a=_0x38adae['totalCount']>_0x38adae['items'][_0x331e03(0x1dc)]?_0x331e03(0x178)+_0x38adae['items']['length']+'\x20of\x20'+_0x38adae[_0x331e03(0x19e)]:_0x38adae['totalCount']+_0x331e03(0x1ff);console['log']('\x0a'+_0x3a173a+':\x0a');for(const _0x1aef0a of _0x38adae[_0x331e03(0x18e)]){const _0x46ce25='2|1|4|0|3|5'['split']('|');let _0x2d4327=0x0;while(!![]){switch(_0x46ce25[_0x2d4327++]){case'0':_0x1aef0a['gitBranch']&&console[_0x331e03(0x153)]('\x20\x20\x20Branch:\x20'+_0x1aef0a['gitBranch']);continue;case'1':console['log'](_0x331e03(0x177)+_0x1aef0a['id']);continue;case'2':console['log'](''+_0x1aef0a[_0x331e03(0x1df)]);continue;case'3':console['log'](_0x331e03(0x1fc)+new Date(_0x1aef0a['createdAt'])['toLocaleDateString']());continue;case'4':_0x1aef0a[_0x331e03(0x1d7)]&&console[_0x331e03(0x153)]('\x20\x20\x20Progress:\x20'+_0x2f339a[_0x331e03(0x186)](getProgressDisplay,_0x1aef0a[_0x331e03(0x1d7)]));continue;case'5':console['log']('');continue;}break;}}const _0x601359=_0x6c2d8c['limit']??0xa,_0x4c7442=(_0x6c2d8c[_0x331e03(0x162)]??0x0)+_0x38adae['items'][_0x331e03(0x1dc)];if(_0x4c7442<_0x38adae[_0x331e03(0x19e)]){const _0x225151=_0x2f339a['BTXhY'](_0x601359,0xa)?'\x20--limit\x20'+_0x601359:'',_0x536e5b=_0x49cb22[_0x331e03(0x1d4)]?_0x2f339a['cRjnd']:'',_0x586149=_0x49cb22[_0x331e03(0x173)]?_0x2f339a['fyGFq']:'';console[_0x331e03(0x153)](_0x331e03(0x170)+_0x4c7442+_0x225151+_0x536e5b+_0x586149);}}export async function featureShow(_0x25c571){const _0x2dacd0=_0x4a9d,_0x2f19c3={'JqoOi':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','kSjSw':function(_0x4b47f5,_0x5661e9){return _0x4b47f5(_0x5661e9);}},_0x176f42=_0x25c571||await getActiveFeatureId();if(!_0x176f42)throw new Error(_0x2f19c3[_0x2dacd0(0x1f7)]);const _0x32a413=await _0x2f19c3['kSjSw'](getFeature,_0x176f42);displayFeature(_0x32a413,_0x32a413['checklistItems']);}export async function featureResume(_0x482435){const _0x21c906=_0x4a9d,_0x40756c={'CwsHr':function(_0x584e37,_0x276ef1){return _0x584e37(_0x276ef1);},'hqFsd':function(_0x33b7fe,_0x3985d2){return _0x33b7fe!==_0x3985d2;},'jkdpB':function(_0x49466f,_0x272b93,_0x263af0){return _0x49466f(_0x272b93,_0x263af0);},'MahNw':function(_0x206172){return _0x206172();},'nwQBh':function(_0x5e97c5,_0xfb0f20){return _0x5e97c5&&_0xfb0f20;},'iXHua':_0x21c906(0x1aa),'MPlQX':function(_0x55ed1a,_0x234b3e){return _0x55ed1a(_0x234b3e);},'IxdZE':function(_0xa2e476,_0x7994a1){return _0xa2e476===_0x7994a1;},'qDdSs':_0x21c906(0x1c3),'JAmFX':function(_0x34615e,_0x162839){return _0x34615e===_0x162839;},'YbYYX':'\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','WgaiB':_0x21c906(0x182),'KsRvU':function(_0x5d8a88,_0xd836a1,_0x26fcbc){return _0x5d8a88(_0xd836a1,_0x26fcbc);}};if(_0x482435){const _0x194283=await getFeature(_0x482435);await _0x40756c[_0x21c906(0x18f)](setActiveFeatureId,_0x194283['id']);const _0x4e19cb=getGitBranch();_0x4e19cb&&_0x40756c['hqFsd'](_0x4e19cb,_0x194283[_0x21c906(0x192)])&&(await updateFeature(_0x194283['id'],{'gitBranch':_0x4e19cb}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x4e19cb));console[_0x21c906(0x153)](_0x21c906(0x1ef)+_0x194283[_0x21c906(0x1df)]+'\x20('+_0x194283['id']+')'),await tryStartCurrentSession(_0x194283['id']);const _0x52417b=process['env'][_0x21c906(0x1fa)];_0x52417b&&registerSession(_0x52417b,_0x194283['id']);_0x40756c['jkdpB'](displayFeature,_0x194283,_0x194283['checklistItems']),await printFeedbackNudge(_0x194283['id']);return;}const _0x5657d1=getGitRepoUrl(),_0x532e0d=_0x40756c['MahNw'](getGitBranch);if(_0x40756c[_0x21c906(0x1e6)](!_0x5657d1,!_0x532e0d))throw new Error('Not\x20in\x20a\x20git\x20repository.');console['log'](_0x21c906(0x1f8)+(_0x5657d1||'any')+_0x21c906(0x1cd)+(_0x532e0d||_0x40756c[_0x21c906(0x1cf)])+_0x21c906(0x137));const _0x800deb=await _0x40756c['MPlQX'](listFeatures,{'gitRepoUrl':_0x5657d1,'gitBranch':_0x532e0d}),_0x4e31a1=_0x800deb['items'][_0x21c906(0x1e8)](_0x42136f=>_0x42136f['status']?_0x42136f['status']!=='verified':!_0x42136f['completedAt']);if(_0x40756c[_0x21c906(0x1af)](_0x4e31a1[_0x21c906(0x1dc)],0x0)){console[_0x21c906(0x153)](_0x40756c[_0x21c906(0x1c5)]),console['log']('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0x538e03;if(_0x40756c['JAmFX'](_0x4e31a1[_0x21c906(0x1dc)],0x1))_0x538e03=_0x4e31a1[0x0];else{const _0x4d6b8e=process['stdin'][_0x21c906(0x139)]&&process['stdout']['isTTY'];if(!_0x4d6b8e){console[_0x21c906(0x153)](_0x40756c['YbYYX']);for(const _0x5e860f of _0x4e31a1){console[_0x21c906(0x153)]('\x20\x20'+_0x5e860f[_0x21c906(0x1df)]),console[_0x21c906(0x153)]('\x20\x20\x20\x20\x20ID:\x20'+_0x5e860f['id']),_0x5e860f['stats']&&console[_0x21c906(0x153)](_0x21c906(0x138)+getProgressDisplay(_0x5e860f[_0x21c906(0x1d7)])),_0x5e860f[_0x21c906(0x192)]&&console['log'](_0x21c906(0x1f9)+_0x5e860f['gitBranch']);}throw new Error(_0x21c906(0x1e9));}const {selected:_0x1b8e21}=await _0xc796d3['prompt']([{'type':_0x21c906(0x189),'name':_0x40756c[_0x21c906(0x209)],'message':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','choices':_0x4e31a1['map'](_0x1e297a=>({'name':_0x1e297a[_0x21c906(0x1df)]+'\x20('+_0x1e297a['id']+')','value':_0x1e297a['id']}))}]);_0x538e03=_0x4e31a1[_0x21c906(0x17d)](_0x816de=>_0x816de['id']===_0x1b8e21);}await _0x40756c['CwsHr'](setActiveFeatureId,_0x538e03['id']);_0x532e0d&&_0x532e0d!==_0x538e03['gitBranch']&&(await _0x40756c[_0x21c906(0x15f)](updateFeature,_0x538e03['id'],{'gitBranch':_0x532e0d}),console[_0x21c906(0x153)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x532e0d));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x538e03[_0x21c906(0x1df)]+'\x20('+_0x538e03['id']+')'),await tryStartCurrentSession(_0x538e03['id']);const _0xd6686c=await _0x40756c[_0x21c906(0x18f)](getFeature,_0x538e03['id']),_0x6af3c8=process['env'][_0x21c906(0x1fa)];_0x6af3c8&&_0x40756c['jkdpB'](registerSession,_0x6af3c8,_0xd6686c['id']),_0x40756c['jkdpB'](displayFeature,_0xd6686c,_0xd6686c['checklistItems']),await _0x40756c[_0x21c906(0x13d)](printFeedbackNudge,_0xd6686c['id']);}async function printFeedbackNudge(_0x4afb38){const _0x197379=_0x4a9d,_0x1bd24c={'YpQdt':function(_0x43a4c0,_0x2a896d){return _0x43a4c0(_0x2a896d);},'jNuEc':function(_0x3ad5ba,_0x54cff5,_0x4f0c48){return _0x3ad5ba(_0x54cff5,_0x4f0c48);},'WsftM':'\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'};try{const {items:_0xe28723}=await _0x1bd24c[_0x197379(0x163)](getActionItems,_0x4afb38);let _0x20ba9a=0x0,_0x19d1fe=0x0;for(const _0x24f078 of _0xe28723){const _0x4e77e1=await _0x1bd24c['jNuEc'](getItemFeedback,_0x4afb38,_0x24f078['id']);_0x4e77e1['unaddressedComments'][_0x197379(0x1dc)]>0x0&&(_0x20ba9a+=_0x4e77e1[_0x197379(0x1b2)][_0x197379(0x1dc)],_0x19d1fe++);}_0x20ba9a>0x0&&(console[_0x197379(0x153)]('\x0a⚠️\x20\x20'+_0x20ba9a+_0x197379(0x1ad)+_0x19d1fe+'\x20scenario(s).'),console['log'](_0x1bd24c['WsftM']));}catch{}}async function tryStartCurrentSession(_0x30d8c6){const _0x5221e1=_0x4a9d,_0xc4a8a3={'JZHgW':function(_0x10b9fa,_0x2a7513){return _0x10b9fa(_0x2a7513);}};try{const {sessions:_0x3dd2ba}=await _0xc4a8a3['JZHgW'](listFeatureSessions,_0x30d8c6),_0x586046=_0x3dd2ba['find'](_0x1a1a59=>_0x1a1a59[_0x5221e1(0x136)]==='ready');_0x586046&&(await startSession(_0x30d8c6,_0x586046['id']),console[_0x5221e1(0x153)]('\x20\x20\x20▶️\x20Started\x20session\x20'+_0x586046['iteration']));}catch{}}export async function featureReport(_0x29bfef,_0x2c1fe8){const _0x3c66de=_0x4a9d,_0x1f2954={'nlCIt':function(_0x2fc26f){return _0x2fc26f();},'FCTSe':_0x3c66de(0x1c8),'wFpuQ':'\x0aGenerating\x20report...','MeKOo':function(_0x419269,_0x4da75f,_0x386039){return _0x419269(_0x4da75f,_0x386039);},'CPfvF':function(_0x4adf42,_0x18a06c,_0xb388d3,_0x395e06){return _0x4adf42(_0x18a06c,_0xb388d3,_0x395e06);},'mAPYI':'utf-8'},_0x4720be=_0x29bfef||await _0x1f2954['nlCIt'](getActiveFeatureId);if(!_0x4720be)throw new Error(_0x1f2954[_0x3c66de(0x20d)]);console['log'](_0x1f2954['wFpuQ']);const _0x34cea1=await _0x1f2954[_0x3c66de(0x17c)](getFeatureReportMarkdown,_0x4720be,{'style':_0x2c1fe8[_0x3c66de(0x156)]}),_0x21e80e=_0x2c1fe8[_0x3c66de(0x16f)]||_0x1f2954['CPfvF'](join,_0x1f2954['nlCIt'](getRangerDir),'reports',_0x4720be+_0x3c66de(0x20e)),_0x525960=_0x1f2954['MeKOo'](join,_0x21e80e,'..');!existsSync(_0x525960)&&await _0x1f2954[_0x3c66de(0x17c)](mkdir,_0x525960,{'recursive':!![]}),await writeFile(_0x21e80e,_0x34cea1,_0x1f2954[_0x3c66de(0x14d)]),console['log']('\x0a✅\x20Report\x20generated:\x20'+_0x21e80e);}function getScenarioResult(_0x319e3f){const _0x3986fc=_0x4a9d,_0x26efd0={'zLsTE':'closed','xgpEB':function(_0x50c68e,_0x133ee6){return _0x50c68e===_0x133ee6;},'fYlVu':_0x3986fc(0x1ec)};if(_0x319e3f[_0x3986fc(0x136)]===_0x26efd0['zLsTE'])return _0x319e3f['terminalReason']??_0x26efd0['zLsTE'];if(_0x26efd0['xgpEB'](_0x319e3f[_0x3986fc(0x136)],_0x26efd0[_0x3986fc(0x1ed)]))return'in_progress';return _0x319e3f[_0x3986fc(0x136)];}function getScenarioRationale(_0x19e5ed,_0x5c98a4){const _0x148ce4=_0x4a9d;if(_0x5c98a4)return _0x5c98a4;if(_0x19e5ed['blockedReason'])return _0x19e5ed['blockedReason'];if(_0x19e5ed['incompleteReason'])return _0x19e5ed[_0x148ce4(0x143)];if(_0x19e5ed['canceledReason'])return _0x19e5ed['canceledReason'];if(_0x19e5ed['notes'])return _0x19e5ed['notes'];return null;}export async function featureReportPrDescription(_0x16b01f,_0x365498){const _0x10683d=_0x4a9d,_0x373674={'gKdCU':function(_0x3d67d7){return _0x3d67d7();},'puPzM':_0x10683d(0x1c8),'NFcMt':function(_0x49bff6,_0xae3998,_0x102032){return _0x49bff6(_0xae3998,_0x102032);},'KOZgj':_0x10683d(0x200),'XZDGO':_0x10683d(0x194),'QvzFh':function(_0x2e45bb,_0x1dc3f1){return _0x2e45bb<_0x1dc3f1;},'RLBvA':_0x10683d(0x191),'bYtjt':function(_0x1a3157,_0x39742a,_0x5747bc,_0xc8d18e){return _0x1a3157(_0x39742a,_0x5747bc,_0xc8d18e);}},_0x3377c3=_0x16b01f||await _0x373674[_0x10683d(0x1ae)](getActiveFeatureId);if(!_0x3377c3)throw new Error(_0x373674['puPzM']);const _0x3f25fe=await getFeature(_0x3377c3),_0x5d0195=_0x3f25fe['checklistItems']||[],_0x234bbd=_0x373674['NFcMt'](getCurrentSessionItems,_0x3f25fe,_0x5d0195);_0x234bbd['length']===0x0&&(console[_0x10683d(0x14f)](_0x373674[_0x10683d(0x1ab)]),process[_0x10683d(0x1d2)](0x1));const _0x11efe4=_0x365498[_0x10683d(0x1dd)]??[],_0x4d1c96=_0x11efe4[_0x10683d(0x1e8)](_0x18db26=>!Number['isInteger'](_0x18db26)||_0x18db26<0x1||_0x18db26>_0x234bbd[_0x10683d(0x1dc)]);if(_0x4d1c96[_0x10683d(0x1dc)]>0x0){console[_0x10683d(0x14f)]('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x4d1c96['join'](',\x20')),console[_0x10683d(0x153)](_0x373674['XZDGO']);for(let _0x16c946=0x0;_0x373674[_0x10683d(0x18d)](_0x16c946,_0x234bbd['length']);_0x16c946++){console['log']('\x20\x20'+(_0x16c946+0x1)+'.\x20'+_0x234bbd[_0x16c946][_0x10683d(0x1b0)]);}process['exit'](0x1);}const _0xa7a16b=new Set(_0x11efe4[_0x10683d(0x1c1)](_0x537a02=>_0x537a02-0x1)),_0x585ca9=_0x234bbd[_0x10683d(0x1e8)]((_0x3c76ac,_0x469698)=>!_0xa7a16b[_0x10683d(0x19c)](_0x469698));_0x585ca9['length']===0x0&&(console['error'](_0x373674['RLBvA']),process['exit'](0x1));if(_0x365498['json'])await _0x373674[_0x10683d(0x13b)](outputJsonReport,_0x3377c3,_0x3f25fe,_0x585ca9);else{const _0xb79ced=await getFeatureReportMarkdown(_0x3377c3,{'itemIds':_0x585ca9[_0x10683d(0x1c1)](_0x59e37d=>_0x59e37d['id'])});process['stdout']['write'](_0xb79ced['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x13b4d3,_0x5d4bd4,_0x1c5565){const _0x529614=_0x4a9d,_0x327291={'oJdvN':function(_0x16e32a,_0x5006e5,_0x4873fe){return _0x16e32a(_0x5006e5,_0x4873fe);},'bQyMA':function(_0x22786e){return _0x22786e();},'dJyBl':function(_0x3cff8d,_0xac316){return _0x3cff8d(_0xac316);}},_0x2718bf=_0x327291[_0x529614(0x165)](getApiBaseUrl),_0x279321=await _0x327291['dJyBl'](getFeatureReport,_0x13b4d3),_0x156ddc=new Map(_0x279321[_0x529614(0x195)]['map'](_0x1583d9=>[_0x1583d9['id'],_0x1583d9])),_0x11adcf=await Promise[_0x529614(0x15d)](_0x1c5565[_0x529614(0x1c1)](async _0x28ac17=>{const _0x3d33ce=_0x529614,_0x383327=_0x156ddc[_0x3d33ce(0x1a3)](_0x28ac17['id']),_0x2a926c=_0x383327?.['linkedSession']??null;let _0x50433a=[];if(_0x28ac17['browserSessionId'])try{const {steps:_0x2f09e2}=await getBrowserSessionSteps(_0x28ac17['browserSessionId']);_0x2f09e2[_0x3d33ce(0x1dc)]>0x0&&(_0x50433a=_0x2f09e2['map'](_0x121d3c=>{const _0x59d680=_0x3d33ce,_0x2eccae=_0x121d3c[_0x59d680(0x1bb)]['find'](_0x3c6856=>_0x3c6856['assetType']==='screenshot'&&_0x3c6856['timing']==='after')??_0x121d3c[_0x59d680(0x1bb)][_0x59d680(0x17d)](_0x30b4ec=>_0x30b4ec['assetType']==='screenshot');let _0x53e4f3=null,_0x303cd7=null;if(_0x2eccae){const _0x48d3a4=_0x2eccae[_0x59d680(0x1a8)][_0x59d680(0x1ee)][_0x59d680(0x146)]('/')['pop']();_0x53e4f3=_0x2718bf+_0x59d680(0x144)+_0x28ac17['browserSessionId']+_0x59d680(0x1db)+_0x48d3a4,_0x48d3a4&&(_0x303cd7=_0x48d3a4['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x59d680(0x16a)](/[-_]/g,'\x20'));}return{'description':_0x303cd7||_0x121d3c[_0x59d680(0x1b0)]||_0x121d3c['stepName']||'Step\x20'+_0x121d3c['position'],'screenshot':_0x53e4f3,'is_key_step':_0x121d3c[_0x59d680(0x141)]};}));}catch{}return _0x50433a[_0x3d33ce(0x1dc)]===0x0&&_0x2a926c?.['screenshotUrls']&&(_0x50433a=_0x2a926c[_0x3d33ce(0x1a5)]['map']((_0x22fdd6,_0x175f66)=>({'description':'Screenshot\x20'+(_0x175f66+0x1),'screenshot':_0x22fdd6,'is_key_step':![]}))),{'description':_0x28ac17['description'],'result':getScenarioResult(_0x28ac17),'rationale':_0x327291[_0x3d33ce(0x171)](getScenarioRationale,_0x28ac17,_0x2a926c?.['agentResponse']),'steps':_0x50433a};})),_0x56d111={'url':_0x5d4bd4['dashboardUrl'],'scenarios':_0x11adcf};process[_0x529614(0x1d0)][_0x529614(0x183)](JSON['stringify'](_0x56d111,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x2f2665){const _0x596aef=_0x4a9d,_0x1e26ca={'JfVFu':function(_0x3c45ad){return _0x3c45ad();},'hpIIa':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','HxiJK':function(_0x4e0de8,_0xf063e6){return _0x4e0de8(_0xf063e6);},'yogoY':_0x596aef(0x13f),'eJDKQ':function(_0x568eb1,_0x190ffd){return _0x568eb1===_0x190ffd;},'QgPXK':'completed','oHlrP':_0x596aef(0x19a),'OuxVQ':function(_0x6c37d7,_0x4569ea){return _0x6c37d7!==_0x4569ea;},'nGaZF':'in_progress','bEnLW':_0x596aef(0x180),'UaTOo':function(_0x2ef064,_0x4d6dfe,_0x6b86ba){return _0x2ef064(_0x4d6dfe,_0x6b86ba);}},_0x293d83=_0x2f2665||await _0x1e26ca['JfVFu'](getActiveFeatureId);if(!_0x293d83)throw new Error(_0x1e26ca['hpIIa']);const _0x1343cd=await _0x1e26ca[_0x596aef(0x15e)](getFeature,_0x293d83);if(!_0x1343cd[_0x596aef(0x202)])throw new Error(_0x596aef(0x1f3));const {sessions:_0x1875cf}=await listFeatureSessions(_0x293d83),_0x4c57e6=_0x1875cf[_0x596aef(0x17d)](_0x272b6d=>_0x272b6d['id']===_0x1343cd[_0x596aef(0x202)]);if(!_0x4c57e6)throw new Error(_0x1e26ca[_0x596aef(0x150)]);if(_0x1e26ca['eJDKQ'](_0x4c57e6[_0x596aef(0x136)],_0x1e26ca[_0x596aef(0x1b8)])){console['log'](_0x1e26ca['oHlrP']);return;}if(_0x1e26ca[_0x596aef(0x1cb)](_0x4c57e6['status'],_0x1e26ca[_0x596aef(0x199)]))throw new Error('Cannot\x20conclude\x20session\x20with\x20status:\x20'+_0x4c57e6['status']);console['log'](_0x1e26ca[_0x596aef(0x1fd)]),await _0x1e26ca['UaTOo'](concludeSession,_0x293d83,_0x1343cd['currentSessionId']),console['log'](_0x596aef(0x1d8)+_0x4c57e6[_0x596aef(0x1d9)]+'\x20concluded.'),console['log']('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x4f25f0){const _0x56f2a3=_0x4a9d,_0x383c05={'QEjbZ':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','UxGNR':function(_0x1af4ee,_0x371e1c){return _0x1af4ee(_0x371e1c);},'lPkUo':function(_0xc3d2b,_0x26919e){return _0xc3d2b(_0x26919e);},'qyulc':function(_0x259d9a,_0x3b5538){return _0x259d9a===_0x3b5538;},'bGSTa':_0x56f2a3(0x161),'jnweH':function(_0x14ed87,_0x52cd44){return _0x14ed87===_0x52cd44;}},_0x2c77a7=_0x4f25f0||await getActiveFeatureId();if(!_0x2c77a7)throw new Error(_0x383c05['QEjbZ']);const _0x3a2479=await _0x383c05[_0x56f2a3(0x1c7)](getFeature,_0x2c77a7);console[_0x56f2a3(0x153)](_0x56f2a3(0x148)+_0x3a2479['name']+'\x0a');const {sessions:_0xdb4f56}=await _0x383c05[_0x56f2a3(0x13c)](listFeatureSessions,_0x2c77a7);if(_0x383c05['qyulc'](_0xdb4f56[_0x56f2a3(0x1dc)],0x0)){console[_0x56f2a3(0x153)](_0x383c05['bGSTa']);return;}for(const _0x390ba0 of _0xdb4f56){const _0x16b002=_0x383c05['jnweH'](_0x390ba0['status'],'completed')?'✅':_0x390ba0[_0x56f2a3(0x136)]==='in_progress'?'🔄':'▶️';console[_0x56f2a3(0x153)](_0x16b002+'\x20Session\x20'+_0x390ba0['iteration']+'\x20('+_0x390ba0['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0x390ba0[_0x56f2a3(0x136)]),console['log'](_0x56f2a3(0x1fc)+new Date(_0x390ba0[_0x56f2a3(0x1a9)])['toLocaleString']()),_0x390ba0['completedAt']&&console[_0x56f2a3(0x153)](_0x56f2a3(0x18a)+new Date(_0x390ba0['completedAt'])[_0x56f2a3(0x204)]()),console[_0x56f2a3(0x153)]('');}}function _0x4a9d(_0x1d3707,_0x28572f){_0x1d3707=_0x1d3707-0x133;const _0x4e4b1b=_0x4e4b();let _0x4a9dde=_0x4e4b1b[_0x1d3707];return _0x4a9dde;}export async function featureAddScenario(_0x6f7955,_0x5d749e){const _0x299e1a=_0x4a9d,_0x3cf5e7={'ufYOh':function(_0x2fd4e2){return _0x2fd4e2();},'TAVlP':_0x299e1a(0x168),'aAoZM':function(_0x285bd9,_0x42fd5a){return _0x285bd9(_0x42fd5a);},'zFHAR':function(_0x4e3dfc,_0x3afcdd,_0x4f59ed){return _0x4e3dfc(_0x3afcdd,_0x4f59ed);}},_0x42903a=_0x5d749e||await _0x3cf5e7['ufYOh'](getActiveFeatureId);if(!_0x42903a)throw new Error(_0x3cf5e7['TAVlP']);const _0x260c02=await _0x3cf5e7['aAoZM'](getFeature,_0x42903a);if(_0x260c02[_0x299e1a(0x1b5)]&&!_0x260c02[_0x299e1a(0x1b5)]['submittedAt'])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x260c02['dashboardUrl']);await createChecklistItem(_0x42903a,_0x6f7955);const _0x32af0e=await _0x3cf5e7['aAoZM'](getFeature,_0x42903a);console[_0x299e1a(0x153)]('\x0a✅\x20Scenario\x20added'),_0x3cf5e7[_0x299e1a(0x157)](displayFeature,_0x32af0e,_0x32af0e[_0x299e1a(0x195)]);}export async function featureEditScenario(_0x8cd6e2,_0x37b7f3){const _0x57184b=_0x4a9d,_0x468c0b={'qyCwQ':function(_0x203d2c){return _0x203d2c();},'ocMDF':function(_0x1863bb,_0x5d63f3){return _0x1863bb(_0x5d63f3);},'NTaUL':_0x57184b(0x181),'yNgGI':function(_0x2565ea,_0x3312d4){return _0x2565ea===_0x3312d4;},'aMIho':_0x57184b(0x1a7),'NZGPf':function(_0x2e5a46,_0x6ba5a5){return _0x2e5a46<_0x6ba5a5;},'IUAAG':function(_0x33b29b,_0xb3e37f){return _0x33b29b+_0xb3e37f;},'dfSGo':function(_0x501687,_0x4e9919){return _0x501687+_0x4e9919;},'eruzq':function(_0x2dcb80,_0x1cfd5f,_0x56aa7c,_0x5adc23){return _0x2dcb80(_0x1cfd5f,_0x56aa7c,_0x5adc23);}},_0x5100e7=_0x37b7f3['id']||await _0x468c0b['qyCwQ'](getActiveFeatureId);!_0x5100e7&&(console['error']('\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.'),console['error'](_0x57184b(0x190)),process[_0x57184b(0x1d2)](0x1));const _0x1a803a=await _0x468c0b['ocMDF'](getFeature,_0x5100e7);_0x1a803a[_0x57184b(0x1b5)]&&!_0x1a803a[_0x57184b(0x1b5)]['submittedAt']&&(console['error'](_0x468c0b[_0x57184b(0x154)]),console['error']('Please\x20finish\x20your\x20review\x20first:'),console['error']('\x20\x20'+_0x1a803a['dashboardUrl']),process['exit'](0x1));const _0x4fdad6=_0x1a803a[_0x57184b(0x195)]||[];_0x468c0b['yNgGI'](_0x4fdad6[_0x57184b(0x1dc)],0x0)&&(console['error'](_0x468c0b['aMIho']),process['exit'](0x1));if(_0x37b7f3['scenario']===undefined){console['error']('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console[_0x57184b(0x153)]('\x0aAvailable\x20scenarios:');for(let _0x3d0eda=0x0;_0x468c0b['NZGPf'](_0x3d0eda,_0x4fdad6[_0x57184b(0x1dc)]);_0x3d0eda++){console[_0x57184b(0x153)]('\x20\x20'+_0x468c0b[_0x57184b(0x184)](_0x3d0eda,0x1)+'.\x20'+_0x4fdad6[_0x3d0eda]['description']);}process['exit'](0x1);}const _0x202fb6=_0x37b7f3[_0x57184b(0x1e3)]-0x1;if(_0x202fb6<0x0||_0x202fb6>=_0x4fdad6[_0x57184b(0x1dc)]){console[_0x57184b(0x14f)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x37b7f3['scenario']+_0x57184b(0x1f2)+_0x4fdad6['length']+'\x20scenarios.'),console['log'](_0x57184b(0x194));for(let _0x425873=0x0;_0x425873<_0x4fdad6['length'];_0x425873++){console['log']('\x20\x20'+_0x468c0b[_0x57184b(0x1e0)](_0x425873,0x1)+'.\x20'+_0x4fdad6[_0x425873]['description']);}process[_0x57184b(0x1d2)](0x1);}const _0x39f165=_0x4fdad6[_0x202fb6];await _0x468c0b['eruzq'](updateChecklistItem,_0x5100e7,_0x39f165['id'],{'description':_0x8cd6e2});const _0x27cf58=await _0x468c0b['ocMDF'](getFeature,_0x5100e7);console[_0x57184b(0x153)](_0x57184b(0x1ba)),displayFeature(_0x27cf58,_0x27cf58[_0x57184b(0x195)]);}async function downloadFeedbackImage(_0x4523b4,_0x3cbb6f){const _0x5e658f=_0x4a9d,_0x59769e={'FADwy':function(_0x3fea25,_0x1ee634,_0x602055){return _0x3fea25(_0x1ee634,_0x602055);},'BDVVJ':function(_0x33097e){return _0x33097e();},'saiZP':function(_0x43e90e,_0x2c7950,_0x64c471){return _0x43e90e(_0x2c7950,_0x64c471);},'DOwHg':function(_0x119726,_0x2ebc06){return _0x119726(_0x2ebc06);}};try{const _0x10d25d=_0x59769e[_0x5e658f(0x203)](join,_0x59769e['BDVVJ'](getRangerDir),'feedback-images');await _0x59769e[_0x5e658f(0x198)](mkdir,_0x10d25d,{'recursive':!![]});const _0x4a867a=join(_0x10d25d,'comment_'+_0x3cbb6f+_0x5e658f(0x20b)),_0x295a4a=await _0x59769e['DOwHg'](fetch,_0x4523b4);if(!_0x295a4a['ok'])return null;const _0x390fb5=Buffer['from'](await _0x295a4a['arrayBuffer']());return await writeFile(_0x4a867a,_0x390fb5),_0x4a867a;}catch{return null;}}export async function featureGetReview(_0x290efc){const _0x543d3e=_0x4a9d,_0x43ac5f={'XecHG':function(_0x8e6fb0,_0xf832ce){return _0x8e6fb0(_0xf832ce);},'fAUsi':function(_0x590bb4,_0x513849){return _0x590bb4===_0x513849;},'qYjdh':function(_0x59278d,_0x3e6ecc){return _0x59278d>_0x3e6ecc;},'KbHtQ':function(_0x4ed241,_0x4ba37f){return _0x4ed241>_0x4ba37f;},'FFBRg':function(_0x52be06,_0x3fbbe1){return _0x52be06+_0x3fbbe1;},'AsFnw':_0x543d3e(0x15c),'XRRiA':_0x543d3e(0x1c9),'huCSS':function(_0x3243f4,_0x33bed4){return _0x3243f4+_0x33bed4;}},_0x58f3d9=_0x290efc||await getActiveFeatureId();if(!_0x58f3d9)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x37fc0f=await _0x43ac5f[_0x543d3e(0x1b1)](getFeature,_0x58f3d9),{items:_0x4fd692}=await getActionItems(_0x58f3d9);console['log']('\x0a📋\x20Feedback\x20for:\x20'+_0x37fc0f[_0x543d3e(0x1df)]+'\x20('+_0x37fc0f['id']+')\x0a');if(_0x43ac5f[_0x543d3e(0x15a)](_0x4fd692['length'],0x0)){console[_0x543d3e(0x153)](_0x543d3e(0x1e5));return;}for(let _0x561469=0x0;_0x561469<_0x4fd692['length'];_0x561469++){const _0x19b22a=_0x4fd692[_0x561469],_0x7479a2=_0x43ac5f[_0x543d3e(0x134)](_0x19b22a['version'],0x1)?'\x20(v'+_0x19b22a[_0x543d3e(0x1ca)]+')':'',_0x4f71c1=await getItemFeedback(_0x58f3d9,_0x19b22a['id']);if(_0x43ac5f['KbHtQ'](_0x4f71c1['unaddressedComments'][_0x543d3e(0x1dc)],0x0)){console['log']('Scenario\x20'+_0x43ac5f[_0x543d3e(0x1b7)](_0x561469,0x1)+':\x20\x22'+_0x19b22a['description']+'\x22'+_0x7479a2+'\x20—\x20'+_0x4f71c1[_0x543d3e(0x1b2)][_0x543d3e(0x1dc)]+'\x20unaddressed\x20comment(s)');for(const _0x4381fc of _0x4f71c1[_0x543d3e(0x1b2)]){const _0x19de8d=new Date(_0x4381fc['createdAt'])[_0x543d3e(0x1f4)](_0x543d3e(0x160),{'month':'short','day':_0x43ac5f[_0x543d3e(0x152)]}),_0x191bb4=_0x4381fc['authorName']||_0x4381fc[_0x543d3e(0x20c)]||'Unknown';console[_0x543d3e(0x153)]('\x20\x20💬\x20'+_0x191bb4+'\x20('+_0x19de8d+'):\x20\x22'+_0x4381fc['content']+'\x22');if(_0x4381fc[_0x543d3e(0x159)]){const _0x2cd4dc=await downloadFeedbackImage(_0x4381fc[_0x543d3e(0x159)],_0x4381fc['id']);_0x2cd4dc&&console[_0x543d3e(0x153)](_0x543d3e(0x197)+_0x2cd4dc);}if(_0x4381fc[_0x543d3e(0x188)]){const _0x3be26c=_0x4381fc['domRef']['selector']['split'](_0x543d3e(0x1d6))['pop']()?.[_0x543d3e(0x146)](':')[0x0]||_0x43ac5f['XRRiA'],_0x5a8651=_0x4381fc[_0x543d3e(0x188)][_0x543d3e(0x1d1)]?'\x20\x22'+_0x4381fc[_0x543d3e(0x188)]['textContent']['slice'](0x0,0x3c)+'\x22':'';console['log']('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x3be26c+'>'+_0x5a8651),console['log'](_0x543d3e(0x1b3)+_0x4381fc[_0x543d3e(0x188)]['selector']);}else{if(_0x4381fc['spatial']){const _0x214f3c=_0x4381fc[_0x543d3e(0x13e)][_0x543d3e(0x16b)];_0x4381fc['spatial']['type']==='point'&&_0x214f3c[_0x543d3e(0x1dc)]>=0x2?console['log'](_0x543d3e(0x17e)+_0x214f3c[0x0]['toFixed'](0x2)+',\x20'+_0x214f3c[0x1]['toFixed'](0x2)+')'):console[_0x543d3e(0x153)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x4381fc[_0x543d3e(0x13e)][_0x543d3e(0x1a6)]+_0x543d3e(0x18b)+_0x214f3c['map'](_0x202d41=>_0x202d41['toFixed'](0x2))[_0x543d3e(0x1e2)](',\x20')+']');}}}if(_0x4f71c1[_0x543d3e(0x1e7)]){console[_0x543d3e(0x153)]('\x20\x20Expected\x20flow:');for(const _0x33737f of _0x4f71c1['canonicalFlow']['split']('\x0a')){console['log']('\x20\x20\x20\x20'+_0x33737f);}}}else console['log'](_0x543d3e(0x155)+_0x43ac5f[_0x543d3e(0x1a1)](_0x561469,0x1)+':\x20\x22'+_0x19b22a['description']+'\x22'+_0x7479a2+_0x543d3e(0x1b6)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0x543d3e(0x153)]('');}}export async function featureDelete(_0x2c08d3){const _0x5b4aad=_0x4a9d,_0x59def4={'wdsuv':function(_0x5e91ae,_0x4202b4){return _0x5e91ae(_0x4202b4);},'VbXth':function(_0x2152e1,_0xeb906a){return _0x2152e1+_0xeb906a;}},_0x5df667=_0x2c08d3||await getActiveFeatureId();if(!_0x5df667)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0xb6a738=await _0x59def4[_0x5b4aad(0x1f1)](getFeature,_0x5df667);await _0x59def4['wdsuv'](softDeleteFeature,_0x5df667),console[_0x5b4aad(0x153)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0xb6a738[_0x5b4aad(0x1df)]+'\x20('+_0x5df667+')'),console['log'](_0x59def4[_0x5b4aad(0x140)](_0x5b4aad(0x1eb),_0x5df667));}export async function featureRestore(_0x144e20){const _0x49c451=_0x4a9d,_0x285f17={'WCGwh':function(_0x453092,_0x15c70a){return _0x453092(_0x15c70a);},'takkK':function(_0x3e3966,_0x5b309f,_0x30bcf6){return _0x3e3966(_0x5b309f,_0x30bcf6);}};await restoreFeature(_0x144e20);const _0x4e980c=await _0x285f17['WCGwh'](getFeature,_0x144e20);console['log']('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x4e980c[_0x49c451(0x1df)]+'\x20('+_0x144e20+')'),_0x285f17['takkK'](displayFeature,_0x4e980c,_0x4e980c[_0x49c451(0x195)]);}
1
+ const _0x37e29=_0x5969;(function(_0x27572e,_0x1043f5){const _0x1b4b7d=_0x5969,_0x5a7efd=_0x27572e();while(!![]){try{const _0x50da31=-parseInt(_0x1b4b7d(0x289))/0x1+-parseInt(_0x1b4b7d(0x273))/0x2*(-parseInt(_0x1b4b7d(0x230))/0x3)+-parseInt(_0x1b4b7d(0x1f4))/0x4*(parseInt(_0x1b4b7d(0x1bb))/0x5)+parseInt(_0x1b4b7d(0x263))/0x6+-parseInt(_0x1b4b7d(0x22c))/0x7+parseInt(_0x1b4b7d(0x1d7))/0x8*(-parseInt(_0x1b4b7d(0x24a))/0x9)+parseInt(_0x1b4b7d(0x256))/0xa;if(_0x50da31===_0x1043f5)break;else _0x5a7efd['push'](_0x5a7efd['shift']());}catch(_0x5be046){_0x5a7efd['push'](_0x5a7efd['shift']());}}}(_0x190e,0x9eec6));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x49f4f1 from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x59cb86=>_0x37e29(0x225)+_0x59cb86+_0x37e29(0x26f);function getGitRepoUrl(){const _0x57e1b2=_0x37e29,_0x2c1d68={'UEIcl':function(_0x146006,_0x23cefb,_0x23d693){return _0x146006(_0x23cefb,_0x23d693);},'RoirS':'utf-8','girRl':_0x57e1b2(0x1b9)};try{const _0x552adb=_0x2c1d68[_0x57e1b2(0x218)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x2c1d68[_0x57e1b2(0x1da)],'stdio':[_0x2c1d68['girRl'],_0x2c1d68['girRl'],_0x57e1b2(0x1b9)]})[_0x57e1b2(0x22f)]();return _0x552adb[_0x57e1b2(0x207)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x57e1b2(0x1d6))[_0x57e1b2(0x207)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0xd359b3=_0x37e29;try{return execSync(_0xd359b3(0x1b7),{'encoding':'utf-8','stdio':[_0xd359b3(0x1b9),_0xd359b3(0x1b9),_0xd359b3(0x1b9)]})[_0xd359b3(0x22f)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x157bc5=_0x37e29,_0x144eb0={'hgABC':function(_0x3c5d5d,_0x3103d4,_0x225135){return _0x3c5d5d(_0x3103d4,_0x225135);},'TZPEn':function(_0x2cdfe1){return _0x2cdfe1();},'VmDoZ':function(_0x32ada8,_0x30b649){return _0x32ada8(_0x30b649);},'gZenN':'utf-8'},_0x19377f=_0x144eb0['hgABC'](join,_0x144eb0['TZPEn'](getRangerDir),ACTIVE_FEATURE_FILE);if(!_0x144eb0[_0x157bc5(0x221)](existsSync,_0x19377f))return null;try{const _0x4df002=await _0x144eb0['hgABC'](readFile,_0x19377f,_0x144eb0[_0x157bc5(0x237)]);return _0x4df002[_0x157bc5(0x22f)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x22ae6a){const _0x2f21c1=_0x37e29,_0x140f1c={'NJJvq':function(_0x3eb60c,_0x4ffe81,_0x547f6e){return _0x3eb60c(_0x4ffe81,_0x547f6e);},'ZnbhP':function(_0x13f9fe,_0x18f95d,_0x4aafc5,_0xa128e9){return _0x13f9fe(_0x18f95d,_0x4aafc5,_0xa128e9);},'GgeWV':_0x2f21c1(0x24b)},_0x4e92a7=getRangerDir(),_0x1212da=join(_0x4e92a7,ACTIVE_FEATURE_FILE);!existsSync(_0x4e92a7)&&await _0x140f1c[_0x2f21c1(0x1f8)](mkdir,_0x4e92a7,{'recursive':!![]}),await _0x140f1c[_0x2f21c1(0x267)](writeFile,_0x1212da,_0x22ae6a,_0x140f1c['GgeWV']);}function getProgressDisplay(_0x224fac){const _0x6bb61b=_0x37e29,_0x585314={'rDUof':function(_0x409261,_0x2f13ce){return _0x409261+_0x2f13ce;},'kHJsH':function(_0x5e6e81,_0x32aa3d){return _0x5e6e81*_0x32aa3d;},'Hcbzl':function(_0x263e90,_0x432e06){return _0x263e90-_0x432e06;},'jVdjx':function(_0x51366e,_0x358963){return _0x51366e>_0x358963;},'ixUJi':function(_0x317be0,_0x1c6b3c){return _0x317be0>_0x1c6b3c;}},_0x4a580e=_0x224fac[_0x6bb61b(0x1bc)]||0x0,_0x3aef7b=_0x224fac['verificationInProgressItems']||0x0,_0x115f85=_0x224fac[_0x6bb61b(0x26b)]||0x0,_0x4172a3=_0x224fac[_0x6bb61b(0x1eb)]||0x0,_0x5bd0ca=_0x224fac[_0x6bb61b(0x20b)]||0x0,_0x2a7a81=_0x585314[_0x6bb61b(0x1ad)](_0x4a580e+_0x3aef7b+_0x115f85,_0x4172a3)+_0x5bd0ca;if(_0x2a7a81===0x0)return'-';const _0x941119=0xa,_0xf04156=Math['round'](_0x585314[_0x6bb61b(0x25a)](_0x4a580e/_0x2a7a81,_0x941119)),_0x1015f2='█'['repeat'](_0xf04156)+'░'['repeat'](_0x585314['Hcbzl'](_0x941119,_0xf04156)),_0x2fd967=[];if(_0x585314[_0x6bb61b(0x279)](_0x115f85,0x0))_0x2fd967[_0x6bb61b(0x1b8)](_0x115f85+'\x20blocked');if(_0x585314[_0x6bb61b(0x279)](_0x4172a3,0x0))_0x2fd967[_0x6bb61b(0x1b8)](_0x4172a3+_0x6bb61b(0x272));if(_0x585314[_0x6bb61b(0x222)](_0x3aef7b,0x0))_0x2fd967[_0x6bb61b(0x1b8)](_0x3aef7b+'\x20in\x20progress');const _0x13a82a=_0x2fd967[_0x6bb61b(0x1e8)]>0x0?'\x20('+_0x2fd967[_0x6bb61b(0x21d)](',\x20')+')':'';return _0x1015f2+'\x20'+_0x4a580e+'/'+_0x2a7a81+'\x20verified'+_0x13a82a;}function getCurrentSessionItems(_0x1d7a20,_0x44e4a7){const _0x6a6dce=_0x37e29;if(!_0x1d7a20[_0x6a6dce(0x204)])return _0x44e4a7[_0x6a6dce(0x223)](_0x303d5b=>!_0x303d5b[_0x6a6dce(0x235)]);return _0x44e4a7[_0x6a6dce(0x223)](_0x579413=>_0x579413['sessionId']===_0x1d7a20['currentSessionId']||!_0x579413['sessionId']);}function displayFeature(_0x26094f,_0x179c8c){const _0x5850d7=_0x37e29,_0x1de81f={'HincJ':function(_0x43e1ce,_0x49c4b7){return _0x43e1ce(_0x49c4b7);},'RumZi':_0x5850d7(0x233),'MVGEe':function(_0x73ff7c,_0x5d32ae){return _0x73ff7c<_0x5d32ae;},'dFGSj':'closed','XupHI':function(_0x15ace3,_0x4afcca){return _0x15ace3===_0x4afcca;},'WEAyP':'blocked','StTuC':function(_0x354d33,_0x2a340f){return _0x354d33===_0x2a340f;},'noSTo':'verification_in_progress','NOccF':function(_0x391315,_0x37940b){return _0x391315>_0x37940b;},'znEwm':function(_0xd05251,_0x3a0208){return _0xd05251!==_0x3a0208;},'HPqgg':'\x20[has\x20reviewer\x20feedback]','UstmB':function(_0x3cbf3f,_0x36935e){return _0x3cbf3f+_0x36935e;},'JoGFr':_0x5850d7(0x211),'PAxSr':function(_0x5dab4b,_0x3212bd){return _0x5dab4b===_0x3212bd;},'GdGcY':function(_0x4cce2a,_0x1ea266){return _0x4cce2a===_0x1ea266;}};console[_0x5850d7(0x276)]('\x0a'+_0x26094f['name']+'\x20('+_0x26094f[_0x5850d7(0x268)]+')');_0x26094f[_0x5850d7(0x26e)]&&console[_0x5850d7(0x276)](_0x5850d7(0x23c)+_0x1de81f['HincJ'](getProgressDisplay,_0x26094f[_0x5850d7(0x26e)]));_0x26094f['description']&&console['log']('\x20\x20\x20Description:\x20'+_0x26094f['description']);_0x26094f[_0x5850d7(0x27a)]&&console['log'](_0x5850d7(0x1ab)+_0x26094f[_0x5850d7(0x27a)]);_0x26094f[_0x5850d7(0x208)]&&console[_0x5850d7(0x276)](_0x5850d7(0x1c2)+_0x26094f['gitBranch']);console['log'](_0x5850d7(0x1ca)+new Date(_0x26094f['createdAt'])[_0x5850d7(0x1ac)]());_0x26094f[_0x5850d7(0x22b)]&&console[_0x5850d7(0x276)]('\x20\x20\x20Completed:\x20'+new Date(_0x26094f[_0x5850d7(0x22b)])[_0x5850d7(0x1ac)]());if(_0x179c8c&&_0x179c8c['length']>0x0){console[_0x5850d7(0x276)](_0x1de81f[_0x5850d7(0x249)]);for(let _0x476e3c=0x0;_0x1de81f['MVGEe'](_0x476e3c,_0x179c8c['length']);_0x476e3c++){const _0x5889fc=_0x179c8c[_0x476e3c];let _0x277c9c;if(_0x5889fc[_0x5850d7(0x1c4)]===_0x1de81f['dFGSj']&&_0x5889fc[_0x5850d7(0x1ff)]===_0x5850d7(0x202))_0x277c9c='✅';else{if(_0x5889fc['status']==='verified')_0x277c9c='🟢';else{if(_0x5889fc['status']==='incomplete')_0x277c9c='🟠';else{if(_0x1de81f[_0x5850d7(0x20e)](_0x5889fc['status'],_0x1de81f['WEAyP']))_0x277c9c='🛑';else{if(_0x5889fc[_0x5850d7(0x1c4)]===_0x5850d7(0x283))_0x277c9c='⛔';else _0x1de81f[_0x5850d7(0x1b1)](_0x5889fc[_0x5850d7(0x1c4)],_0x1de81f['noSTo'])?_0x277c9c='⏳':_0x277c9c='⬜';}}}}const _0x250810=_0x5889fc[_0x5850d7(0x1fd)]>0x1?_0x5850d7(0x1ce)+_0x5889fc['version']+')':'',_0x3e547d=_0x1de81f['NOccF'](_0x5889fc['version'],0x1)&&_0x5889fc['parentItemId']&&_0x5889fc['status']!==_0x1de81f['dFGSj']&&_0x1de81f[_0x5850d7(0x1e1)](_0x5889fc[_0x5850d7(0x1c4)],_0x5850d7(0x1be))?_0x1de81f[_0x5850d7(0x1cb)]:'';console['log']('\x20\x20\x20'+_0x1de81f[_0x5850d7(0x229)](_0x476e3c,0x1)+'.\x20'+_0x277c9c+'\x20'+_0x5889fc['description']+_0x250810+_0x3e547d);_0x5889fc[_0x5850d7(0x1c4)]===_0x1de81f[_0x5850d7(0x1a5)]&&_0x5889fc[_0x5850d7(0x1f7)]&&console[_0x5850d7(0x276)](_0x5850d7(0x1bf)+_0x5889fc[_0x5850d7(0x1f7)]);_0x5889fc[_0x5850d7(0x1c4)]===_0x1de81f[_0x5850d7(0x1c1)]&&_0x5889fc[_0x5850d7(0x19f)]&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x5889fc['incompleteReason']);if(_0x1de81f[_0x5850d7(0x260)](_0x5889fc[_0x5850d7(0x1c4)],_0x5850d7(0x283))&&_0x5889fc['terminalReason']==='approved')console[_0x5850d7(0x276)](_0x5850d7(0x21a));else _0x1de81f['GdGcY'](_0x5889fc['status'],'closed')&&_0x5889fc[_0x5850d7(0x257)]&&console[_0x5850d7(0x276)](_0x5850d7(0x1c8)+_0x5889fc[_0x5850d7(0x257)]);}}}export async function featureCreate(_0xd349c3,_0x2bb9a9){const _0x570af0=_0x37e29,_0x29017c={'LmSSV':function(_0x5e6e5f){return _0x5e6e5f();},'eqSuD':function(_0x332434,_0x10c6d9){return _0x332434===_0x10c6d9;},'RhBCK':function(_0x1af965){return _0x1af965();},'FdsHT':function(_0x448fdd,_0x2d7a5b){return _0x448fdd(_0x2d7a5b);},'jmZnN':function(_0x45cd90,_0x3a8a99,_0x594462){return _0x45cd90(_0x3a8a99,_0x594462);},'KXeUX':function(_0x3dec64,_0xd0a8ac,_0x270470){return _0x3dec64(_0xd0a8ac,_0x270470);}},{envNames:_0x22599a}=await _0x29017c['LmSSV'](getEnvNames);if(_0x22599a['length']===0x0&&!process[_0x570af0(0x241)][_0x570af0(0x1c0)]){let _0x1c5e5f=0x0;try{_0x1c5e5f=(await listCloudProfiles())[_0x570af0(0x1e8)];}catch{_0x1c5e5f=0x1;}_0x29017c[_0x570af0(0x201)](_0x1c5e5f,0x0)&&console[_0x570af0(0x1b6)]('\x0a'+formatProfileRequiredMessage(_0x49dd9e=>bold(_0x49dd9e)));}const _0x39b2ca=_0x2bb9a9[_0x570af0(0x232)]?_0x2bb9a9['scenarios']['map'](_0x2055b2=>_0x2055b2['trim']()):[],_0x53a6bb=getGitRepoUrl(),_0x3df7ac=_0x29017c['RhBCK'](getGitBranch);console[_0x570af0(0x276)]('\x0aCreating\x20feature\x20review...');const _0x39515e=await _0x29017c['FdsHT'](createFeature,{'name':_0xd349c3,'description':_0x2bb9a9[_0x570af0(0x1a6)],'checklist':_0x39b2ca,'gitRepoUrl':_0x53a6bb,'gitBranch':_0x3df7ac});await setActiveFeatureId(_0x39515e['id']),await tryStartCurrentSession(_0x39515e['id']);const _0xdf1638=process[_0x570af0(0x241)]['CLAUDE_SESSION_ID'];_0xdf1638&&_0x29017c['jmZnN'](registerSession,_0xdf1638,_0x39515e['id']),console['log']('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x39515e['id']),_0x29017c['KXeUX'](displayFeature,_0x39515e,_0x39515e[_0x570af0(0x1e9)]),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x4e6e1a){const _0xc37c2=_0x37e29,_0x5880fc={'fzpis':function(_0x3440b4,_0x31e74c){return _0x3440b4>_0x31e74c;},'OVHAL':function(_0x1b2168,_0x327e88){return _0x1b2168(_0x327e88);},'OlsFl':function(_0x2535b4,_0x5f140b){return _0x2535b4+_0x5f140b;}},_0x2a140b={'limit':_0x4e6e1a['limit']??0xa,'offset':_0x4e6e1a[_0xc37c2(0x1bd)]??0x0,'includeDeleted':_0x4e6e1a[_0xc37c2(0x27f)]};_0x4e6e1a['currentBranch']&&(_0x2a140b['gitRepoUrl']=getGitRepoUrl(),_0x2a140b[_0xc37c2(0x208)]=getGitBranch());const _0x5292f2=await listFeatures(_0x2a140b);if(_0x5292f2[_0xc37c2(0x26c)]['length']===0x0){console[_0xc37c2(0x276)]('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0xa06899=_0x5880fc[_0xc37c2(0x1b4)](_0x5292f2['totalCount'],_0x5292f2[_0xc37c2(0x26c)][_0xc37c2(0x1e8)])?'Showing\x20'+_0x5292f2[_0xc37c2(0x26c)][_0xc37c2(0x1e8)]+_0xc37c2(0x1a0)+_0x5292f2['totalCount']:_0x5292f2[_0xc37c2(0x1c7)]+'\x20feature\x20review(s)\x20found';console['log']('\x0a'+_0xa06899+':\x0a');for(const _0x5088cb of _0x5292f2[_0xc37c2(0x26c)]){console['log'](''+_0x5088cb[_0xc37c2(0x21c)]),console['log'](_0xc37c2(0x1ed)+_0x5088cb['id']),_0x5088cb[_0xc37c2(0x26e)]&&console['log']('\x20\x20\x20Progress:\x20'+_0x5880fc[_0xc37c2(0x27e)](getProgressDisplay,_0x5088cb['stats'])),_0x5088cb['gitBranch']&&console['log'](_0xc37c2(0x1c2)+_0x5088cb['gitBranch']),console['log'](_0xc37c2(0x1ca)+new Date(_0x5088cb['createdAt'])[_0xc37c2(0x1f3)]()),console[_0xc37c2(0x276)]('');}const _0x3f6bca=_0x2a140b[_0xc37c2(0x1e0)]??0xa,_0x157051=_0x5880fc[_0xc37c2(0x1cc)](_0x2a140b[_0xc37c2(0x1bd)]??0x0,_0x5292f2['items'][_0xc37c2(0x1e8)]);if(_0x157051<_0x5292f2['totalCount']){const _0x10a0a3=_0x3f6bca!==0xa?_0xc37c2(0x25b)+_0x3f6bca:'',_0x4a653f=_0x4e6e1a['currentBranch']?'\x20--current-branch':'',_0x33460e=_0x4e6e1a[_0xc37c2(0x27f)]?'\x20--include-deleted':'';console['log'](_0xc37c2(0x1aa)+_0x157051+_0x10a0a3+_0x4a653f+_0x33460e);}}export async function featureShow(_0x36707d){const _0xb49224=_0x37e29,_0x321f0e={'DZGjn':function(_0x1c4bc6){return _0x1c4bc6();},'XXrpK':function(_0x5dd709,_0x5cd015){return _0x5dd709(_0x5cd015);},'aPrJg':function(_0x20cb50,_0x3debe,_0x405f48){return _0x20cb50(_0x3debe,_0x405f48);}},_0x102f5e=_0x36707d||await _0x321f0e['DZGjn'](getActiveFeatureId);if(!_0x102f5e)throw new Error(_0xb49224(0x219));const _0x850a1d=await _0x321f0e['XXrpK'](getFeature,_0x102f5e);_0x321f0e['aPrJg'](displayFeature,_0x850a1d,_0x850a1d[_0xb49224(0x1e9)]);}export async function featureResume(_0x2b249a){const _0x4a4c31=_0x37e29,_0x335669={'VfmNN':function(_0x5987f7,_0x57010d,_0x919ee9){return _0x5987f7(_0x57010d,_0x919ee9);},'JRVyL':function(_0x1e88e8,_0x3ec27a,_0x2834c3){return _0x1e88e8(_0x3ec27a,_0x2834c3);},'hAwRW':function(_0x180365,_0xdcd2f5){return _0x180365(_0xdcd2f5);},'hLbiG':function(_0x2c054d){return _0x2c054d();},'Fzcvo':function(_0x1fde4b){return _0x1fde4b();},'JrVnO':function(_0x2992e5,_0x348e35){return _0x2992e5&&_0x348e35;},'UoOAU':_0x4a4c31(0x1a8),'QuhUk':'any','Wyugz':function(_0x2d365a,_0x3c11b6){return _0x2d365a||_0x3c11b6;},'HUVGz':function(_0x1fb5e1,_0xdf80c0){return _0x1fb5e1===_0xdf80c0;},'sqveX':_0x4a4c31(0x214),'AAtSJ':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','faKCw':function(_0x20e880,_0x28a5d5){return _0x20e880===_0x28a5d5;},'nNZKU':'Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','kPels':_0x4a4c31(0x21b),'BWPwz':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','PhGCM':function(_0x473fa0,_0x1df80d){return _0x473fa0(_0x1df80d);},'ibdaY':function(_0x219568,_0x4dc3ee){return _0x219568(_0x4dc3ee);},'xFGsL':function(_0x1a8113,_0xbbeacd,_0x43479d){return _0x1a8113(_0xbbeacd,_0x43479d);}};if(_0x2b249a){const _0x3fb538=await getFeature(_0x2b249a);await setActiveFeatureId(_0x3fb538['id']);const _0x5be456=getGitBranch();_0x5be456&&_0x5be456!==_0x3fb538[_0x4a4c31(0x208)]&&(await _0x335669['VfmNN'](updateFeature,_0x3fb538['id'],{'gitBranch':_0x5be456}),console[_0x4a4c31(0x276)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x5be456));console[_0x4a4c31(0x276)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x3fb538['name']+'\x20('+_0x3fb538['id']+')'),await tryStartCurrentSession(_0x3fb538['id']);const _0x3e5ea5=process['env'][_0x4a4c31(0x254)];_0x3e5ea5&&_0x335669[_0x4a4c31(0x278)](registerSession,_0x3e5ea5,_0x3fb538['id']);displayFeature(_0x3fb538,_0x3fb538[_0x4a4c31(0x1e9)]),await _0x335669[_0x4a4c31(0x1e4)](printFeedbackNudge,_0x3fb538['id']);return;}const _0x4bbb15=_0x335669['hLbiG'](getGitRepoUrl),_0x5e2716=_0x335669['Fzcvo'](getGitBranch);if(_0x335669[_0x4a4c31(0x1d3)](!_0x4bbb15,!_0x5e2716))throw new Error(_0x335669[_0x4a4c31(0x1d8)]);console['log'](_0x4a4c31(0x285)+(_0x4bbb15||_0x335669[_0x4a4c31(0x1cf)])+'\x20/\x20'+_0x335669[_0x4a4c31(0x1e7)](_0x5e2716,_0x335669[_0x4a4c31(0x1cf)])+'...');const _0x3dc840=await listFeatures({'gitRepoUrl':_0x4bbb15,'gitBranch':_0x5e2716}),_0x38292f=_0x3dc840['items'][_0x4a4c31(0x223)](_0x512a3b=>_0x512a3b['status']?_0x512a3b[_0x4a4c31(0x1c4)]!=='verified':!_0x512a3b[_0x4a4c31(0x22b)]);if(_0x335669['HUVGz'](_0x38292f['length'],0x0)){console['log'](_0x335669[_0x4a4c31(0x25c)]),console['log'](_0x335669['AAtSJ']);return;}let _0x25d912;if(_0x335669[_0x4a4c31(0x227)](_0x38292f['length'],0x1))_0x25d912=_0x38292f[0x0];else{const _0x35076d=process['stdin']['isTTY']&&process['stdout'][_0x4a4c31(0x1e5)];if(!_0x35076d){console[_0x4a4c31(0x276)](_0x4a4c31(0x213));for(const _0x4e2c0d of _0x38292f){console[_0x4a4c31(0x276)]('\x20\x20'+_0x4e2c0d['name']),console['log'](_0x4a4c31(0x215)+_0x4e2c0d['id']),_0x4e2c0d['stats']&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x4e2c0d['stats'])),_0x4e2c0d[_0x4a4c31(0x208)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x4e2c0d[_0x4a4c31(0x208)]);}throw new Error(_0x335669['nNZKU']);}const {selected:_0x503a43}=await _0x49f4f1[_0x4a4c31(0x1dd)]([{'type':'list','name':_0x335669[_0x4a4c31(0x22a)],'message':_0x335669[_0x4a4c31(0x28a)],'choices':_0x38292f['map'](_0xe27e4c=>({'name':_0xe27e4c[_0x4a4c31(0x21c)]+'\x20('+_0xe27e4c['id']+')','value':_0xe27e4c['id']}))}]);_0x25d912=_0x38292f[_0x4a4c31(0x252)](_0x1029af=>_0x1029af['id']===_0x503a43);}await _0x335669['PhGCM'](setActiveFeatureId,_0x25d912['id']);_0x5e2716&&_0x5e2716!==_0x25d912['gitBranch']&&(await updateFeature(_0x25d912['id'],{'gitBranch':_0x5e2716}),console[_0x4a4c31(0x276)](_0x4a4c31(0x1df)+_0x5e2716));console[_0x4a4c31(0x276)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x25d912[_0x4a4c31(0x21c)]+'\x20('+_0x25d912['id']+')'),await _0x335669[_0x4a4c31(0x234)](tryStartCurrentSession,_0x25d912['id']);const _0x4077d1=await _0x335669['hAwRW'](getFeature,_0x25d912['id']),_0x9e7d19=process[_0x4a4c31(0x241)][_0x4a4c31(0x254)];_0x9e7d19&&_0x335669[_0x4a4c31(0x1a9)](registerSession,_0x9e7d19,_0x4077d1['id']),_0x335669[_0x4a4c31(0x278)](displayFeature,_0x4077d1,_0x4077d1['checklistItems']),await _0x335669[_0x4a4c31(0x23a)](printFeedbackNudge,_0x4077d1['id']);}async function printFeedbackNudge(_0xda7a8c){const _0x3cac63=_0x37e29,_0x3676b0={'xbVMJ':function(_0x6a93ca,_0x1944ed,_0x7c105b){return _0x6a93ca(_0x1944ed,_0x7c105b);},'TvDGS':_0x3cac63(0x25f)};try{const {items:_0x5259a1}=await getActionItems(_0xda7a8c);let _0x17cf54=0x0,_0x47f6ff=0x0;for(const _0x8d4de9 of _0x5259a1){const _0x25057=await _0x3676b0['xbVMJ'](getItemFeedback,_0xda7a8c,_0x8d4de9['id']);_0x25057[_0x3cac63(0x1fa)]['length']>0x0&&(_0x17cf54+=_0x25057['unaddressedComments'][_0x3cac63(0x1e8)],_0x47f6ff++);}_0x17cf54>0x0&&(console[_0x3cac63(0x276)](_0x3cac63(0x258)+_0x17cf54+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x47f6ff+'\x20scenario(s).'),console[_0x3cac63(0x276)](_0x3676b0['TvDGS']));}catch{}}function _0x5969(_0x1feb81,_0x26d8c8){_0x1feb81=_0x1feb81-0x19f;const _0x190e5c=_0x190e();let _0x5969f0=_0x190e5c[_0x1feb81];return _0x5969f0;}async function tryStartCurrentSession(_0x55de2e){const _0x18415e=_0x37e29;try{const {sessions:_0x38db5f}=await listFeatureSessions(_0x55de2e),_0x307acf=_0x38db5f['find'](_0xbaf9be=>_0xbaf9be[_0x18415e(0x1c4)]==='ready');_0x307acf&&(await startSession(_0x55de2e,_0x307acf['id']),console['log'](_0x18415e(0x248)+_0x307acf[_0x18415e(0x24e)]));}catch{}}export async function featureReport(_0x2b8c32,_0x731ab9){const _0x24125c=_0x37e29,_0x276957={'aEtSu':_0x24125c(0x203),'mRkon':function(_0xec8c82,_0x597a8d,_0x468190){return _0xec8c82(_0x597a8d,_0x468190);},'wssQt':function(_0x51af0a,_0x2bb601,_0x4a3c47,_0x4d938c){return _0x51af0a(_0x2bb601,_0x4a3c47,_0x4d938c);},'sBUah':function(_0x98d3af){return _0x98d3af();}},_0x14dfa4=_0x2b8c32||await getActiveFeatureId();if(!_0x14dfa4)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console[_0x24125c(0x276)](_0x276957[_0x24125c(0x24f)]);const _0x1f3c91=await _0x276957[_0x24125c(0x23b)](getFeatureReportMarkdown,_0x14dfa4,{'style':_0x731ab9['style']}),_0x2b4990=_0x731ab9['output']||_0x276957['wssQt'](join,_0x276957[_0x24125c(0x245)](getRangerDir),'reports',_0x14dfa4+'.md'),_0x3f5401=join(_0x2b4990,'..');!existsSync(_0x3f5401)&&await mkdir(_0x3f5401,{'recursive':!![]}),await _0x276957['wssQt'](writeFile,_0x2b4990,_0x1f3c91,'utf-8'),console[_0x24125c(0x276)](_0x24125c(0x20d)+_0x2b4990);}function getScenarioResult(_0x2e8e4c){const _0x4c0565=_0x37e29,_0x53b464={'nIcNN':function(_0x1a137f,_0x380cc3){return _0x1a137f===_0x380cc3;},'XEyCp':'closed','KKcLO':_0x4c0565(0x1fb)};if(_0x53b464[_0x4c0565(0x1fc)](_0x2e8e4c[_0x4c0565(0x1c4)],_0x53b464[_0x4c0565(0x1af)]))return _0x2e8e4c['terminalReason']??_0x53b464['XEyCp'];if(_0x2e8e4c[_0x4c0565(0x1c4)]===_0x4c0565(0x1c3))return _0x53b464['KKcLO'];return _0x2e8e4c[_0x4c0565(0x1c4)];}function getScenarioRationale(_0x1bfac9,_0x3e6488){const _0x4a63b6=_0x37e29,_0x379fee={'Ngyty':'3|5|0|4|1|2'},_0x26f009=_0x379fee[_0x4a63b6(0x271)][_0x4a63b6(0x1e2)]('|');let _0x56ae61=0x0;while(!![]){switch(_0x26f009[_0x56ae61++]){case'0':if(_0x1bfac9['incompleteReason'])return _0x1bfac9['incompleteReason'];continue;case'1':if(_0x1bfac9[_0x4a63b6(0x206)])return _0x1bfac9[_0x4a63b6(0x206)];continue;case'2':return null;case'3':if(_0x3e6488)return _0x3e6488;continue;case'4':if(_0x1bfac9['canceledReason'])return _0x1bfac9[_0x4a63b6(0x257)];continue;case'5':if(_0x1bfac9[_0x4a63b6(0x1f7)])return _0x1bfac9[_0x4a63b6(0x1f7)];continue;}break;}}export async function featureReportPrDescription(_0x4252d9,_0x4a0d85){const _0x32b751=_0x37e29,_0x448197={'Cgmsw':function(_0x2da603){return _0x2da603();},'hcoRo':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','cIIuz':function(_0x33372c,_0x5aa882){return _0x33372c(_0x5aa882);},'IKLaM':function(_0x35ffa0,_0x3b5e2b,_0xf197a7){return _0x35ffa0(_0x3b5e2b,_0xf197a7);},'ASVNS':function(_0x5a76ab,_0x144e2c){return _0x5a76ab===_0x144e2c;},'aAgGQ':'\x0aAvailable\x20scenarios:','dbEuQ':function(_0x3ee462,_0x3c0e1b){return _0x3ee462===_0x3c0e1b;},'UoQGL':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.','RthmM':function(_0x282134,_0x474191,_0x30545e){return _0x282134(_0x474191,_0x30545e);}},_0x5a4938=_0x4252d9||await _0x448197[_0x32b751(0x287)](getActiveFeatureId);if(!_0x5a4938)throw new Error(_0x448197[_0x32b751(0x210)]);const _0x311a8b=await _0x448197[_0x32b751(0x1d4)](getFeature,_0x5a4938),_0x4dd68c=_0x311a8b[_0x32b751(0x1e9)]||[],_0x3dbfc2=_0x448197[_0x32b751(0x238)](getCurrentSessionItems,_0x311a8b,_0x4dd68c);_0x448197['ASVNS'](_0x3dbfc2['length'],0x0)&&(console[_0x32b751(0x1d2)](_0x32b751(0x27c)),process[_0x32b751(0x200)](0x1));const _0x372c05=_0x4a0d85[_0x32b751(0x22d)]??[],_0x1f733d=_0x372c05['filter'](_0x827943=>!Number['isInteger'](_0x827943)||_0x827943<0x1||_0x827943>_0x3dbfc2[_0x32b751(0x1e8)]);if(_0x1f733d['length']>0x0){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x1f733d[_0x32b751(0x21d)](',\x20')),console[_0x32b751(0x276)](_0x448197[_0x32b751(0x242)]);for(let _0x314b45=0x0;_0x314b45<_0x3dbfc2[_0x32b751(0x1e8)];_0x314b45++){console['log']('\x20\x20'+(_0x314b45+0x1)+'.\x20'+_0x3dbfc2[_0x314b45]['description']);}process['exit'](0x1);}const _0x375534=new Set(_0x372c05[_0x32b751(0x1ef)](_0x5dc9ee=>_0x5dc9ee-0x1)),_0x2e1716=_0x3dbfc2[_0x32b751(0x223)]((_0x3fca1d,_0x1c5fae)=>!_0x375534[_0x32b751(0x1ec)](_0x1c5fae));_0x448197['dbEuQ'](_0x2e1716[_0x32b751(0x1e8)],0x0)&&(console[_0x32b751(0x1d2)](_0x448197[_0x32b751(0x253)]),process[_0x32b751(0x200)](0x1));if(_0x4a0d85['json'])await outputJsonReport(_0x5a4938,_0x311a8b,_0x2e1716);else{const _0x4e227c=await _0x448197[_0x32b751(0x25e)](getFeatureReportMarkdown,_0x5a4938,{'itemIds':_0x2e1716['map'](_0x3a44ab=>_0x3a44ab['id'])});process['stdout']['write'](_0x4e227c[_0x32b751(0x1b5)]()+'\x0a');}}async function outputJsonReport(_0x457c8c,_0x5c2b69,_0x50c0e7){const _0xa77ab9=_0x37e29,_0x9bd99c={'TNJnl':function(_0x21a0f4,_0x59816a){return _0x21a0f4(_0x59816a);}},_0x4e47cf=getApiBaseUrl(),_0x4f07dc=await getFeatureReport(_0x457c8c),_0x2a0d2e=new Map(_0x4f07dc['checklistItems'][_0xa77ab9(0x1ef)](_0x1297b3=>[_0x1297b3['id'],_0x1297b3])),_0x1b2f74=await Promise['all'](_0x50c0e7['map'](async _0x271a80=>{const _0x4e668a=_0xa77ab9,_0x948424=_0x2a0d2e[_0x4e668a(0x27d)](_0x271a80['id']),_0x4fdeb7=_0x948424?.['linkedSession']??null;let _0x2a4b4b=[];if(_0x271a80[_0x4e668a(0x1c5)])try{const {steps:_0x5a8828}=await getBrowserSessionSteps(_0x271a80[_0x4e668a(0x1c5)]);_0x5a8828['length']>0x0&&(_0x2a4b4b=_0x5a8828['map'](_0x369928=>{const _0x113b48=_0x4e668a,_0x3451b5=_0x369928[_0x113b48(0x1e3)][_0x113b48(0x252)](_0x5b09a5=>_0x5b09a5[_0x113b48(0x228)]===_0x113b48(0x246)&&_0x5b09a5['timing']===_0x113b48(0x20a))??_0x369928['assets']['find'](_0x342a15=>_0x342a15[_0x113b48(0x228)]===_0x113b48(0x246));let _0x277824=null,_0x348433=null;if(_0x3451b5){const _0x3c0850=_0x3451b5['storage'][_0x113b48(0x236)][_0x113b48(0x1e2)]('/')[_0x113b48(0x1a1)]();_0x277824=_0x4e47cf+_0x113b48(0x251)+_0x271a80['browserSessionId']+_0x113b48(0x1ba)+_0x3c0850,_0x3c0850&&(_0x348433=_0x3c0850['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x113b48(0x207)](/[-_]/g,'\x20'));}return{'description':_0x348433||_0x369928['description']||_0x369928[_0x113b48(0x274)]||_0x113b48(0x1fe)+_0x369928[_0x113b48(0x23e)],'screenshot':_0x277824,'is_key_step':_0x369928[_0x113b48(0x1a2)]};}));}catch{}return _0x2a4b4b['length']===0x0&&_0x4fdeb7?.[_0x4e668a(0x1d1)]&&(_0x2a4b4b=_0x4fdeb7['screenshotUrls']['map']((_0x3ecf9c,_0xa3c525)=>({'description':'Screenshot\x20'+(_0xa3c525+0x1),'screenshot':_0x3ecf9c,'is_key_step':![]}))),{'description':_0x271a80['description'],'result':_0x9bd99c[_0x4e668a(0x1b2)](getScenarioResult,_0x271a80),'rationale':getScenarioRationale(_0x271a80,_0x4fdeb7?.[_0x4e668a(0x288)]),'steps':_0x2a4b4b};})),_0x412ce1={'url':_0x5c2b69[_0xa77ab9(0x268)],'scenarios':_0x1b2f74};process[_0xa77ab9(0x247)]['write'](JSON['stringify'](_0x412ce1,null,0x2)+'\x0a');}function _0x190e(){const _0x128796=['\x0a✅\x20Scenario\x20updated','kduzI','grSxy','closed','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Cgmsw','agentResponse','1142547ZjaMmJ','BWPwz','selector','incompleteReason','\x20of\x20','pop','isKeyStep',':\x20\x22','sDQGr','WEAyP','description','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','Not\x20in\x20a\x20git\x20repository.','xFGsL','Next\x20page:\x20ranger\x20list\x20--offset\x20','\x20\x20\x20Repository:\x20','toLocaleString','rDUof','\x20Session\x20','XEyCp','zzQMY','StTuC','TNJnl','\x0a✅\x20Session\x20','fzpis','trimEnd','warn','git\x20rev-parse\x20--abbrev-ref\x20HEAD','push','pipe','/artifacts/','1001530LmobGw','verifiedItems','offset','verified','\x20\x20\x20\x20\x20\x20Blocked:\x20','RANGER_TEST_USERNAME','JoGFr','\x20\x20\x20Branch:\x20','verification_in_progress','status','browserSessionId','type','totalCount','\x20\x20\x20\x20\x20\x20Cancelled:\x20','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','\x20\x20\x20Created:\x20','HPqgg','OlsFl','\x20—\x20no\x20comments','\x20(v','QuhUk','No\x20sessions\x20found.','screenshotUrls','error','JrVnO','cIIuz','jCSIZ','github.com/','392bAbViV','UoOAU','xCYvc','RoirS','ccQxU','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','prompt','\x0a✅\x20Restored\x20feature\x20review:\x20','\x20\x20\x20Updated\x20branch\x20to:\x20','limit','znEwm','split','assets','hAwRW','isTTY','Scenario\x20','Wyugz','length','checklistItems','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','incompleteItems','has','\x20\x20\x20ID:\x20','\x20>\x20','map','authorName','XGdNn','NQiBY','toLocaleDateString','12IJvokv','wtMjs','kNXWq','blockedReason','NJJvq','coordinates','unaddressedComments','in_progress','nIcNN','version','Step\x20','terminalReason','exit','eqSuD','approved','\x0aGenerating\x20report...','currentSessionId','point','notes','replace','gitBranch','krbOh','after','pendingItems','jSXAj','\x0a✅\x20Report\x20generated:\x20','XupHI','qxwAM','hcoRo','incomplete','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','\x20\x20\x20\x20\x20ID:\x20','\x20\x20\x20\x20','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','UEIcl','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20\x20\x20\x20\x20\x20Approved','selected','name','join','createdAt','numeric','toFixed','VmDoZ','ixUJi','filter','textContent','\x1b[1m','JqAZE','faKCw','assetType','UstmB','kPels','completedAt','134484WcCkOw','excludeScenarios','.\x20Feature\x20review\x20has\x20','trim','591GOZsHr','domRef','scenarios','\x0a\x20\x20\x20Scenarios:','ibdaY','sessionId','location','gZenN','IKLaM','SYBXZ','PhGCM','mRkon','\x20\x20\x20Progress:\x20','MOjBh','position','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','ktWZj','env','aAgGQ','gUspN','completed','sBUah','screenshot','stdout','\x20\x20\x20▶️\x20Started\x20session\x20','RumZi','74943EgWItr','utf-8','from','latestReview','iteration','aEtSu','canonicalFlow','/api/v1/mcp/browser-sessions/','find','UoQGL','CLAUDE_SESSION_ID','ZLdfd','15830540iUzXJJ','canceledReason','\x0a⚠️\x20\x20','\x20scenarios.','kHJsH','\x20--limit\x20','sqveX','spatial','RthmM','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','PAxSr','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','eTgaJ','1632684hoeKJS','short','comment_','Please\x20finish\x20your\x20review\x20first:','ZnbhP','dashboardUrl','\x20unaddressed\x20comment(s)','element','blockedItems','items','DUpMg','stats','\x1b[0m','submittedAt','Ngyty','\x20incomplete','9812OInoit','stepName','vxtEb','log','scenario','JRVyL','jVdjx','gitRepoUrl','cDtHC','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','get','OVHAL','includeDeleted'];_0x190e=function(){return _0x128796;};return _0x190e();}export async function featureConcludeSession(_0x37b35e){const _0x1c5944=_0x37e29,_0x24d54a={'qxwAM':function(_0x1abb39){return _0x1abb39();},'Orfyq':_0x1c5944(0x219),'Zyzay':function(_0x13eca8,_0x123bb2){return _0x13eca8(_0x123bb2);},'cfCFk':function(_0x54c1f5,_0x1d8475){return _0x54c1f5(_0x1d8475);},'krbOh':function(_0x25dcba,_0x1a8159){return _0x25dcba===_0x1a8159;},'YuwWN':_0x1c5944(0x244),'JqAZE':function(_0x523d89,_0x27ca69,_0x25ebb5){return _0x523d89(_0x27ca69,_0x25ebb5);}},_0x3167b9=_0x37b35e||await _0x24d54a[_0x1c5944(0x20f)](getActiveFeatureId);if(!_0x3167b9)throw new Error(_0x24d54a['Orfyq']);const _0x14611c=await _0x24d54a['Zyzay'](getFeature,_0x3167b9);if(!_0x14611c[_0x1c5944(0x204)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x30af0b}=await _0x24d54a['cfCFk'](listFeatureSessions,_0x3167b9),_0x40532d=_0x30af0b['find'](_0x4e0a1b=>_0x4e0a1b['id']===_0x14611c['currentSessionId']);if(!_0x40532d)throw new Error('Current\x20session\x20not\x20found.');if(_0x24d54a[_0x1c5944(0x209)](_0x40532d['status'],_0x24d54a['YuwWN'])){console[_0x1c5944(0x276)]('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x40532d[_0x1c5944(0x1c4)]!=='in_progress')throw new Error(_0x1c5944(0x284)+_0x40532d[_0x1c5944(0x1c4)]);console['log']('\x0aConcluding\x20session...'),await _0x24d54a[_0x1c5944(0x226)](concludeSession,_0x3167b9,_0x14611c[_0x1c5944(0x204)]),console[_0x1c5944(0x276)](_0x1c5944(0x1b3)+_0x40532d[_0x1c5944(0x24e)]+'\x20concluded.'),console['log']('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x8c574f){const _0x508c0f=_0x37e29,_0x5a3329={'XGdNn':_0x508c0f(0x286),'WBHRC':function(_0x3ccdda,_0x306aa2){return _0x3ccdda(_0x306aa2);},'Zvqzg':_0x508c0f(0x1d0),'UXKiE':'in_progress'},_0x54c9c5=_0x8c574f||await getActiveFeatureId();if(!_0x54c9c5)throw new Error(_0x5a3329[_0x508c0f(0x1f1)]);const _0x4dec31=await getFeature(_0x54c9c5);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x4dec31[_0x508c0f(0x21c)]+'\x0a');const {sessions:_0xc2e7e5}=await _0x5a3329['WBHRC'](listFeatureSessions,_0x54c9c5);if(_0xc2e7e5['length']===0x0){console[_0x508c0f(0x276)](_0x5a3329['Zvqzg']);return;}for(const _0x41bae9 of _0xc2e7e5){const _0x25400c=_0x41bae9[_0x508c0f(0x1c4)]==='completed'?'✅':_0x41bae9[_0x508c0f(0x1c4)]===_0x5a3329['UXKiE']?'🔄':'▶️';console['log'](_0x25400c+_0x508c0f(0x1ae)+_0x41bae9[_0x508c0f(0x24e)]+'\x20('+_0x41bae9['id']+')'),console[_0x508c0f(0x276)]('\x20\x20\x20Status:\x20'+_0x41bae9[_0x508c0f(0x1c4)]),console[_0x508c0f(0x276)]('\x20\x20\x20Created:\x20'+new Date(_0x41bae9[_0x508c0f(0x21e)])['toLocaleString']()),_0x41bae9['completedAt']&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x41bae9[_0x508c0f(0x22b)])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0xef47bb,_0x2eb412){const _0x21f0d6=_0x37e29,_0x358900={'MOjBh':function(_0x1b6649,_0x300741,_0x112f68){return _0x1b6649(_0x300741,_0x112f68);},'eTgaJ':function(_0x2a0b96,_0x5c84bb){return _0x2a0b96(_0x5c84bb);}},_0x233d28=_0x2eb412||await getActiveFeatureId();if(!_0x233d28)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x18f18e=await getFeature(_0x233d28);if(_0x18f18e['latestReview']&&!_0x18f18e['latestReview'][_0x21f0d6(0x270)])throw new Error(_0x21f0d6(0x212)+_0x18f18e[_0x21f0d6(0x268)]);await _0x358900[_0x21f0d6(0x23d)](createChecklistItem,_0x233d28,_0xef47bb);const _0x1a3dc5=await _0x358900[_0x21f0d6(0x262)](getFeature,_0x233d28);console[_0x21f0d6(0x276)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x1a3dc5,_0x1a3dc5['checklistItems']);}export async function featureEditScenario(_0x1bbe74,_0x27f612){const _0x2af5d0=_0x37e29,_0x3bb37e={'jCSIZ':function(_0x1f5ec5){return _0x1f5ec5();},'nksuW':_0x2af5d0(0x23f),'KptbM':function(_0x206447,_0x531cc0){return _0x206447(_0x531cc0);},'qCqoB':_0x2af5d0(0x1a7),'gUspN':_0x2af5d0(0x266),'kNXWq':function(_0x101bf0,_0x557e37){return _0x101bf0===_0x557e37;},'jSXAj':function(_0x2e4c16,_0x25314f){return _0x2e4c16<_0x25314f;},'xCYvc':function(_0x390e87,_0x4d7a03){return _0x390e87+_0x4d7a03;},'kduzI':'\x0aAvailable\x20scenarios:'},_0x3ba821=_0x27f612['id']||await _0x3bb37e[_0x2af5d0(0x1d5)](getActiveFeatureId);!_0x3ba821&&(console['error'](_0x2af5d0(0x1dc)),console[_0x2af5d0(0x1d2)](_0x3bb37e['nksuW']),process['exit'](0x1));const _0x34b264=await _0x3bb37e['KptbM'](getFeature,_0x3ba821);_0x34b264['latestReview']&&!_0x34b264[_0x2af5d0(0x24d)]['submittedAt']&&(console['error'](_0x3bb37e['qCqoB']),console['error'](_0x3bb37e[_0x2af5d0(0x243)]),console[_0x2af5d0(0x1d2)]('\x20\x20'+_0x34b264[_0x2af5d0(0x268)]),process['exit'](0x1));const _0x2fcb18=_0x34b264[_0x2af5d0(0x1e9)]||[];_0x3bb37e[_0x2af5d0(0x1f6)](_0x2fcb18[_0x2af5d0(0x1e8)],0x0)&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x2af5d0(0x200)](0x1));if(_0x27f612[_0x2af5d0(0x277)]===undefined){console[_0x2af5d0(0x1d2)]('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console['log']('\x0aAvailable\x20scenarios:');for(let _0x4984ff=0x0;_0x3bb37e[_0x2af5d0(0x20c)](_0x4984ff,_0x2fcb18['length']);_0x4984ff++){console[_0x2af5d0(0x276)]('\x20\x20'+_0x3bb37e[_0x2af5d0(0x1d9)](_0x4984ff,0x1)+'.\x20'+_0x2fcb18[_0x4984ff]['description']);}process['exit'](0x1);}const _0x5f1828=_0x27f612['scenario']-0x1;if(_0x3bb37e[_0x2af5d0(0x20c)](_0x5f1828,0x0)||_0x5f1828>=_0x2fcb18['length']){console[_0x2af5d0(0x1d2)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x27f612[_0x2af5d0(0x277)]+_0x2af5d0(0x22e)+_0x2fcb18['length']+_0x2af5d0(0x259)),console['log'](_0x3bb37e[_0x2af5d0(0x281)]);for(let _0x2728d8=0x0;_0x2728d8<_0x2fcb18[_0x2af5d0(0x1e8)];_0x2728d8++){console['log']('\x20\x20'+(_0x2728d8+0x1)+'.\x20'+_0x2fcb18[_0x2728d8]['description']);}process['exit'](0x1);}const _0x35fc1b=_0x2fcb18[_0x5f1828];await updateChecklistItem(_0x3ba821,_0x35fc1b['id'],{'description':_0x1bbe74});const _0x5ca92d=await getFeature(_0x3ba821);console['log'](_0x2af5d0(0x280)),displayFeature(_0x5ca92d,_0x5ca92d[_0x2af5d0(0x1e9)]);}async function downloadFeedbackImage(_0x55196b,_0x15fd5b){const _0x56719f=_0x37e29,_0x424199={'DUpMg':function(_0x40ba25,_0x588253,_0x4727ae){return _0x40ba25(_0x588253,_0x4727ae);},'cDtHC':function(_0x231091,_0x3fd6a7){return _0x231091(_0x3fd6a7);}};try{const _0x2f30ee=_0x424199[_0x56719f(0x26d)](join,getRangerDir(),'feedback-images');await mkdir(_0x2f30ee,{'recursive':!![]});const _0x339deb=join(_0x2f30ee,_0x56719f(0x265)+_0x15fd5b+'.png'),_0x33f55e=await _0x424199[_0x56719f(0x27b)](fetch,_0x55196b);if(!_0x33f55e['ok'])return null;const _0x561e10=Buffer[_0x56719f(0x24c)](await _0x33f55e['arrayBuffer']());return await _0x424199['DUpMg'](writeFile,_0x339deb,_0x561e10),_0x339deb;}catch{return null;}}export async function featureGetReview(_0x50aa98){const _0x828d4c=_0x37e29,_0x1ea77f={'wtMjs':_0x828d4c(0x219),'grSxy':function(_0x20fea6,_0x5a4283){return _0x20fea6(_0x5a4283);},'ZFdUP':function(_0x1bece9,_0x539361){return _0x1bece9===_0x539361;},'ccQxU':'No\x20scenarios\x20found.','rAOIS':function(_0x1038ab,_0x212e89,_0x497629){return _0x1038ab(_0x212e89,_0x497629);},'vxtEb':function(_0x2feab6,_0x41dc17){return _0x2feab6>_0x41dc17;},'QoZHE':'en-US','SYBXZ':_0x828d4c(0x21f),'ZLdfd':function(_0x3d3e9b,_0x16eb3a,_0x49ff1f){return _0x3d3e9b(_0x16eb3a,_0x49ff1f);},'DdSBd':_0x828d4c(0x1ee),'fNoyA':_0x828d4c(0x205),'NQiBY':function(_0x164c3d,_0x1e7487){return _0x164c3d>=_0x1e7487;}},_0x59d37c=_0x50aa98||await getActiveFeatureId();if(!_0x59d37c)throw new Error(_0x1ea77f[_0x828d4c(0x1f5)]);const _0x4e5f84=await _0x1ea77f[_0x828d4c(0x282)](getFeature,_0x59d37c),{items:_0x2087cb}=await getActionItems(_0x59d37c);console[_0x828d4c(0x276)]('\x0a📋\x20Feedback\x20for:\x20'+_0x4e5f84['name']+'\x20('+_0x4e5f84['id']+')\x0a');if(_0x1ea77f['ZFdUP'](_0x2087cb['length'],0x0)){console['log'](_0x1ea77f[_0x828d4c(0x1db)]);return;}for(let _0x58c052=0x0;_0x58c052<_0x2087cb['length'];_0x58c052++){const _0x3d614d=_0x2087cb[_0x58c052],_0x59fba3=_0x3d614d['version']>0x1?_0x828d4c(0x1ce)+_0x3d614d[_0x828d4c(0x1fd)]+')':'',_0x293db2=await _0x1ea77f['rAOIS'](getItemFeedback,_0x59d37c,_0x3d614d['id']);if(_0x1ea77f[_0x828d4c(0x275)](_0x293db2[_0x828d4c(0x1fa)]['length'],0x0)){console['log'](_0x828d4c(0x1e6)+(_0x58c052+0x1)+_0x828d4c(0x1a3)+_0x3d614d[_0x828d4c(0x1a6)]+'\x22'+_0x59fba3+'\x20—\x20'+_0x293db2['unaddressedComments']['length']+_0x828d4c(0x269));for(const _0x23d0a6 of _0x293db2[_0x828d4c(0x1fa)]){const _0x5caeba=new Date(_0x23d0a6[_0x828d4c(0x21e)])[_0x828d4c(0x1f3)](_0x1ea77f['QoZHE'],{'month':_0x828d4c(0x264),'day':_0x1ea77f[_0x828d4c(0x239)]}),_0x53be43=_0x23d0a6[_0x828d4c(0x1f0)]||_0x23d0a6['authorEmail']||'Unknown';console[_0x828d4c(0x276)]('\x20\x20💬\x20'+_0x53be43+'\x20('+_0x5caeba+'):\x20\x22'+_0x23d0a6['content']+'\x22');if(_0x23d0a6['assetUrl']){const _0x138195=await _0x1ea77f[_0x828d4c(0x255)](downloadFeedbackImage,_0x23d0a6['assetUrl'],_0x23d0a6['id']);_0x138195&&console['log'](_0x828d4c(0x261)+_0x138195);}if(_0x23d0a6[_0x828d4c(0x231)]){const _0x39bb7c=_0x23d0a6[_0x828d4c(0x231)][_0x828d4c(0x28b)][_0x828d4c(0x1e2)](_0x1ea77f['DdSBd'])['pop']()?.[_0x828d4c(0x1e2)](':')[0x0]||_0x828d4c(0x26a),_0x55d995=_0x23d0a6[_0x828d4c(0x231)][_0x828d4c(0x224)]?'\x20\x22'+_0x23d0a6[_0x828d4c(0x231)]['textContent']['slice'](0x0,0x3c)+'\x22':'';console['log'](_0x828d4c(0x1ea)+_0x39bb7c+'>'+_0x55d995),console['log']('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x23d0a6['domRef']['selector']);}else{if(_0x23d0a6[_0x828d4c(0x25d)]){const _0x20d83c=_0x23d0a6['spatial'][_0x828d4c(0x1f9)];_0x1ea77f['ZFdUP'](_0x23d0a6['spatial']['type'],_0x1ea77f['fNoyA'])&&_0x1ea77f[_0x828d4c(0x1f2)](_0x20d83c[_0x828d4c(0x1e8)],0x2)?console[_0x828d4c(0x276)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x20d83c[0x0]['toFixed'](0x2)+',\x20'+_0x20d83c[0x1][_0x828d4c(0x220)](0x2)+')'):console['log'](_0x828d4c(0x1c9)+_0x23d0a6[_0x828d4c(0x25d)][_0x828d4c(0x1c6)]+'\x20at\x20['+_0x20d83c[_0x828d4c(0x1ef)](_0x4a0889=>_0x4a0889[_0x828d4c(0x220)](0x2))['join'](',\x20')+']');}}}if(_0x293db2['canonicalFlow']){console['log']('\x20\x20Expected\x20flow:');for(const _0x35bdd0 of _0x293db2[_0x828d4c(0x250)]['split']('\x0a')){console['log'](_0x828d4c(0x216)+_0x35bdd0);}}}else console[_0x828d4c(0x276)](_0x828d4c(0x1e6)+(_0x58c052+0x1)+':\x20\x22'+_0x3d614d['description']+'\x22'+_0x59fba3+_0x828d4c(0x1cd)),console[_0x828d4c(0x276)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}export async function featureDelete(_0x1fb726){const _0x3ab4a1=_0x37e29,_0x334523={'zzQMY':function(_0xec5bf0,_0x31b768){return _0xec5bf0(_0x31b768);},'sDQGr':function(_0x490972,_0x574021){return _0x490972+_0x574021;}},_0x56f023=_0x1fb726||await getActiveFeatureId();if(!_0x56f023)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x1295f0=await _0x334523[_0x3ab4a1(0x1b0)](getFeature,_0x56f023);await softDeleteFeature(_0x56f023),console['log'](_0x3ab4a1(0x217)+_0x1295f0['name']+'\x20('+_0x56f023+')'),console[_0x3ab4a1(0x276)](_0x334523[_0x3ab4a1(0x1a4)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20',_0x56f023));}export async function featureRestore(_0x4a382b){const _0x2aca5c=_0x37e29,_0x5a2672={'ktWZj':function(_0x1b4d34,_0x3d3c26){return _0x1b4d34(_0x3d3c26);}};await _0x5a2672[_0x2aca5c(0x240)](restoreFeature,_0x4a382b);const _0x468e54=await _0x5a2672['ktWZj'](getFeature,_0x4a382b);console[_0x2aca5c(0x276)](_0x2aca5c(0x1de)+_0x468e54[_0x2aca5c(0x21c)]+'\x20('+_0x4a382b+')'),displayFeature(_0x468e54,_0x468e54['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x1e4a3d,_0x3cfcea){const _0x61c3a3=_0x2a50,_0x42e269=_0x1e4a3d();while(!![]){try{const _0x1b7fd2=parseInt(_0x61c3a3(0xf5))/0x1*(parseInt(_0x61c3a3(0xea))/0x2)+-parseInt(_0x61c3a3(0xf3))/0x3+parseInt(_0x61c3a3(0xeb))/0x4*(-parseInt(_0x61c3a3(0xf0))/0x5)+-parseInt(_0x61c3a3(0xf6))/0x6*(-parseInt(_0x61c3a3(0xf2))/0x7)+parseInt(_0x61c3a3(0xe8))/0x8*(-parseInt(_0x61c3a3(0xf7))/0x9)+parseInt(_0x61c3a3(0xf4))/0xa+-parseInt(_0x61c3a3(0xe6))/0xb*(parseInt(_0x61c3a3(0xe5))/0xc);if(_0x1b7fd2===_0x3cfcea)break;else _0x42e269['push'](_0x42e269['shift']());}catch(_0x5163cf){_0x42e269['push'](_0x42e269['shift']());}}}(_0x3487,0x6c588));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function _0x2a50(_0x46bede,_0x613572){_0x46bede=_0x46bede-0xe5;const _0x348795=_0x3487();let _0x2a50a8=_0x348795[_0x46bede];return _0x2a50a8;}function installCancellationHandlers(){const _0x2265cc=_0x2a50,_0x6240d9={'sOQML':'SIGINT','lvQeh':'SIGTERM','BjkYH':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x3eda62=()=>{const _0x1bb06f=_0x2a50;process[_0x1bb06f(0xe9)](0x0);};process['once'](_0x6240d9['sOQML'],_0x3eda62),process[_0x2265cc(0xee)](_0x6240d9[_0x2265cc(0xe7)],_0x3eda62),process[_0x2265cc(0xee)](_0x6240d9[_0x2265cc(0xf8)],_0x3eda62),cancellationHandlersInstalled=!![];}export async function hook(_0x2ff947,_0xe4e196){const _0x4de47a=_0x2a50,_0x51fbde={'WUBqF':function(_0x29a830){return _0x29a830();},'fkItd':function(_0x1af1d7,_0x474e04){return _0x1af1d7(_0x474e04);}};_0x51fbde[_0x4de47a(0xf1)](installCancellationHandlers);const _0x17525a=HOOKS[_0x2ff947];if(!_0x17525a){const _0x2a1f2c=Object[_0x4de47a(0xec)](HOOKS)['join'](',\x20');console['error'](_0x4de47a(0xed)+_0x2ff947),console[_0x4de47a(0xef)]('Valid\x20hooks:\x20'+_0x2a1f2c),process['exit'](0x1);}await _0x51fbde['fkItd'](_0x17525a,_0xe4e196);}function _0x3487(){const _0x286a8c=['Unknown\x20hook:\x20','once','error','505ExlNHI','WUBqF','14sclNOe','758472vucZSB','6447280aNrWvy','202eyInvS','2069850jvMgPh','9VAqOAL','BjkYH','44124XXHfen','682SXQjkC','lvQeh','3297736AQiewW','exit','194jEvVjD','692PwqHDy','keys'];_0x3487=function(){return _0x286a8c;};return _0x3487();}
1
+ (function(_0x5000f8,_0x1e7f21){const _0x14d072=_0x281b,_0x21bf73=_0x5000f8();while(!![]){try{const _0xb8fa87=parseInt(_0x14d072(0x1fb))/0x1*(-parseInt(_0x14d072(0x1fc))/0x2)+parseInt(_0x14d072(0x1f5))/0x3+-parseInt(_0x14d072(0x201))/0x4+parseInt(_0x14d072(0x200))/0x5*(parseInt(_0x14d072(0x1f8))/0x6)+-parseInt(_0x14d072(0x203))/0x7+-parseInt(_0x14d072(0x1f1))/0x8+-parseInt(_0x14d072(0x1fa))/0x9*(-parseInt(_0x14d072(0x1fd))/0xa);if(_0xb8fa87===_0x1e7f21)break;else _0x21bf73['push'](_0x21bf73['shift']());}catch(_0x3aa96d){_0x21bf73['push'](_0x21bf73['shift']());}}}(_0x4e1e,0x617b5));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};function _0x4e1e(){const _0x4d1208=['keys','Valid\x20hooks:\x20','533586ZaZiBZ','SIGHUP','945wzsKNJ','529oBuByB','2026ybqJLT','70730eIopvy','error','exit','10xIeaQS','1147488aVlFsD','bUJTS','579348JDOuvu','once','638368vUVBqw','Unknown\x20hook:\x20','join','uwOzC','1392201NQPSWi'];_0x4e1e=function(){return _0x4d1208;};return _0x4e1e();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x22a128=_0x281b,_0x36538c={'bUJTS':'SIGINT'};if(cancellationHandlersInstalled)return;const _0x87fcb4=()=>{process['exit'](0x0);};process[_0x22a128(0x204)](_0x36538c[_0x22a128(0x202)],_0x87fcb4),process[_0x22a128(0x204)]('SIGTERM',_0x87fcb4),process['once'](_0x22a128(0x1f9),_0x87fcb4),cancellationHandlersInstalled=!![];}function _0x281b(_0x373aeb,_0x50b4f7){_0x373aeb=_0x373aeb-0x1f1;const _0x4e1e7b=_0x4e1e();let _0x281b54=_0x4e1e7b[_0x373aeb];return _0x281b54;}export async function hook(_0xafcd3e,_0x5a3c28){const _0xd0e830=_0x281b,_0x5ac822={'uwOzC':function(_0xb1b957){return _0xb1b957();},'SgiDv':function(_0x2c5309,_0x186c2){return _0x2c5309(_0x186c2);}};_0x5ac822[_0xd0e830(0x1f4)](installCancellationHandlers);const _0x2bece4=HOOKS[_0xafcd3e];if(!_0x2bece4){const _0x2f5b63=Object[_0xd0e830(0x1f6)](HOOKS)[_0xd0e830(0x1f3)](',\x20');console[_0xd0e830(0x1fe)](_0xd0e830(0x1f2)+_0xafcd3e),console['error'](_0xd0e830(0x1f7)+_0x2f5b63),process[_0xd0e830(0x1ff)](0x1);}await _0x5ac822['SgiDv'](_0x2bece4,_0x5a3c28);}
@@ -1 +1 @@
1
- (function(_0x414ff4,_0x49be0a){const _0x54d831=_0x2125,_0x53ba18=_0x414ff4();while(!![]){try{const _0xf165de=parseInt(_0x54d831(0x1a2))/0x1*(-parseInt(_0x54d831(0x1a4))/0x2)+parseInt(_0x54d831(0x1a1))/0x3+-parseInt(_0x54d831(0x1a3))/0x4*(-parseInt(_0x54d831(0x19b))/0x5)+-parseInt(_0x54d831(0x19d))/0x6+-parseInt(_0x54d831(0x1a8))/0x7+-parseInt(_0x54d831(0x1a7))/0x8*(-parseInt(_0x54d831(0x1a6))/0x9)+parseInt(_0x54d831(0x1a5))/0xa*(-parseInt(_0x54d831(0x19e))/0xb);if(_0xf165de===_0x49be0a)break;else _0x53ba18['push'](_0x53ba18['shift']());}catch(_0x4470b4){_0x53ba18['push'](_0x53ba18['shift']());}}}(_0x393c,0x597d2));import{readHookInput}from'./output.js';function _0x393c(){const _0x4cfac7=['97rRqNFs','1400396tsCWxQ','2194HwmIdF','286790USTvyS','99SoIOxn','164856yvQKjS','577654RdZDuj','5nqxjyF','dSsiU','1192854WlUWCy','22XpvnoD','log','oBwdh','704604EVTucK'];_0x393c=function(){return _0x4cfac7;};return _0x393c();}import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT='\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.';function _0x2125(_0x533534,_0x431ada){_0x533534=_0x533534-0x19b;const _0x393c10=_0x393c();let _0x21259e=_0x393c10[_0x533534];return _0x21259e;}export async function autoPrompt(){const _0x49e19b=_0x2125,_0x3be4e6={'dSsiU':function(_0x297036){return _0x297036();},'oBwdh':function(_0x3c9678,_0x3b5c4a){return _0x3c9678(_0x3b5c4a);},'zSSlh':function(_0x39134d,_0x4a50da){return _0x39134d(_0x4a50da);},'hBzGS':function(_0x35eb1e,_0x57d77f){return _0x35eb1e(_0x57d77f);}},_0x4b3b42=await _0x3be4e6[_0x49e19b(0x19c)](readHookInput),_0x3e0b21=_0x4b3b42?.['session_id'];if(!_0x3e0b21)return;if(_0x3be4e6[_0x49e19b(0x1a0)](isSessionEnabled,_0x3e0b21)||_0x3be4e6['zSSlh'](hasSessionBeenPrompted,_0x3e0b21))return;_0x3be4e6['hBzGS'](markSessionPrompted,_0x3e0b21),console[_0x49e19b(0x19f)](AUTO_PROMPT_TEXT);}
1
+ function _0x902b(){const _0x2cc008=['1544gcNGWS','6164EDhBZz','log','\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.','HuQSe','2447280rcCpXH','3204732FpyGOq','300775qmvlYf','47646SiYLpo','831guBuZA','411110pOeorB','bSKHz','2224532DFTwPs'];_0x902b=function(){return _0x2cc008;};return _0x902b();}const _0x420f08=_0x3107;(function(_0x389ce2,_0x3655f8){const _0x3c1ed6=_0x3107,_0x11e256=_0x389ce2();while(!![]){try{const _0x2467d3=-parseInt(_0x3c1ed6(0x18a))/0x1+-parseInt(_0x3c1ed6(0x184))/0x2*(parseInt(_0x3c1ed6(0x17f))/0x3)+parseInt(_0x3c1ed6(0x182))/0x4+parseInt(_0x3c1ed6(0x188))/0x5+-parseInt(_0x3c1ed6(0x189))/0x6+parseInt(_0x3c1ed6(0x180))/0x7+-parseInt(_0x3c1ed6(0x183))/0x8*(-parseInt(_0x3c1ed6(0x18b))/0x9);if(_0x2467d3===_0x3655f8)break;else _0x11e256['push'](_0x11e256['shift']());}catch(_0x487eab){_0x11e256['push'](_0x11e256['shift']());}}}(_0x902b,0x6acca));function _0x3107(_0x4d66ae,_0x2166a8){_0x4d66ae=_0x4d66ae-0x17f;const _0x902b75=_0x902b();let _0x3107a3=_0x902b75[_0x4d66ae];return _0x3107a3;}import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT=_0x420f08(0x186);export async function autoPrompt(){const _0x43bb08=_0x420f08,_0x1526c1={'HuQSe':function(_0x3c502c,_0x4444f1){return _0x3c502c(_0x4444f1);},'bSKHz':function(_0x157e5a,_0x1ca993){return _0x157e5a(_0x1ca993);}},_0x4cf813=await readHookInput(),_0x38ea29=_0x4cf813?.['session_id'];if(!_0x38ea29)return;if(_0x1526c1[_0x43bb08(0x187)](isSessionEnabled,_0x38ea29)||_0x1526c1[_0x43bb08(0x181)](hasSessionBeenPrompted,_0x38ea29))return;_0x1526c1['HuQSe'](markSessionPrompted,_0x38ea29),console[_0x43bb08(0x185)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- (function(_0x4c80fa,_0x58e707){const _0x5db322=_0x21b2,_0x43dff3=_0x4c80fa();while(!![]){try{const _0x123b9c=-parseInt(_0x5db322(0xc6))/0x1*(-parseInt(_0x5db322(0xc0))/0x2)+-parseInt(_0x5db322(0xbb))/0x3+-parseInt(_0x5db322(0xc1))/0x4+-parseInt(_0x5db322(0xc2))/0x5+-parseInt(_0x5db322(0xbc))/0x6+-parseInt(_0x5db322(0xbf))/0x7+parseInt(_0x5db322(0xc5))/0x8;if(_0x123b9c===_0x58e707)break;else _0x43dff3['push'](_0x43dff3['shift']());}catch(_0x3f0084){_0x43dff3['push'](_0x43dff3['shift']());}}}(_0x5d83,0x3d8a4));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x21b2(_0x148ff7,_0x89081a){_0x148ff7=_0x148ff7-0xbb;const _0x5d83fb=_0x5d83();let _0x21b22a=_0x5d83fb[_0x148ff7];return _0x21b22a;}import{printBlock}from'./output.js';function _0x5d83(){const _0x55b866=['438364gzdCvs','380210lPfOVc','lbBdg','RKCwA','9622824yXFjYf','52414wCTnZw','main','582045IdonrN','2750088wxnsRP','env','\x20and\x20branch\x20\x27','2624013njrwlo','10sNPScb'];_0x5d83=function(){return _0x55b866;};return _0x5d83();}export async function disable(_0x34275f){const _0x458c3f=_0x21b2,_0x47020b={'RKCwA':function(_0x2ed167,_0x4d226f){return _0x2ed167(_0x4d226f);},'ubeqT':function(_0x33f3a8){return _0x33f3a8();},'lbBdg':_0x458c3f(0xc7)},_0x5a35ac=_0x34275f||process[_0x458c3f(0xbd)]['CLAUDE_SESSION_ID']||'';_0x5a35ac&&_0x47020b[_0x458c3f(0xc4)](disableSession,_0x5a35ac);const _0x54151d=_0x47020b['ubeqT'](getCurrentBranch);_0x54151d&&_0x54151d!==_0x47020b[_0x458c3f(0xc3)]&&_0x54151d!=='master'&&disableBranch(_0x54151d),printBlock('#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x54151d&&_0x54151d!==_0x458c3f(0xc7)&&_0x54151d!=='master'?_0x458c3f(0xbe)+_0x54151d+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
1
+ (function(_0x55e2ea,_0x5e8547){const _0x294f6a=_0x2930,_0x4bd9bc=_0x55e2ea();while(!![]){try{const _0x6fdc93=parseInt(_0x294f6a(0x1ec))/0x1*(parseInt(_0x294f6a(0x1ef))/0x2)+parseInt(_0x294f6a(0x1f8))/0x3+-parseInt(_0x294f6a(0x1f1))/0x4+parseInt(_0x294f6a(0x1ed))/0x5*(-parseInt(_0x294f6a(0x1f3))/0x6)+-parseInt(_0x294f6a(0x1fa))/0x7+-parseInt(_0x294f6a(0x1f6))/0x8+-parseInt(_0x294f6a(0x1f5))/0x9*(-parseInt(_0x294f6a(0x1ee))/0xa);if(_0x6fdc93===_0x5e8547)break;else _0x4bd9bc['push'](_0x4bd9bc['shift']());}catch(_0x1ff7dc){_0x4bd9bc['push'](_0x4bd9bc['shift']());}}}(_0x3fb1,0x2ca9c));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x3fb1(){const _0x1a5ca2=['CLAUDE_SESSION_ID','54NGxVLD','526464VtbeNH','PKGds','522474ZoLdlD','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','485730JzKktl','WsNJm','26bLVFfX','965220klQrIH','495170lQGotg','27114qEiHiI','CtHQZ','1250240wYDFjr','master','6MShYjW'];_0x3fb1=function(){return _0x1a5ca2;};return _0x3fb1();}import{printBlock}from'./output.js';function _0x2930(_0x20ea0e,_0x9457cc){_0x20ea0e=_0x20ea0e-0x1eb;const _0x3fb1a2=_0x3fb1();let _0x29302d=_0x3fb1a2[_0x20ea0e];return _0x29302d;}export async function disable(_0x3aa9cd){const _0x19932a=_0x2930,_0x192c85={'PKGds':function(_0x4f84fc,_0x4783d4){return _0x4f84fc(_0x4783d4);},'WsNJm':function(_0xc53963,_0x2d3f6f){return _0xc53963!==_0x2d3f6f;},'gBKFz':function(_0x46f2cb,_0x482ec7){return _0x46f2cb(_0x482ec7);},'CtHQZ':'main','LfIOg':function(_0x1a964a,_0x576f28){return _0x1a964a!==_0x576f28;}},_0x21c7d0=_0x3aa9cd||process['env'][_0x19932a(0x1f4)]||'';_0x21c7d0&&_0x192c85[_0x19932a(0x1f7)](disableSession,_0x21c7d0);const _0x4a1983=getCurrentBranch();_0x4a1983&&_0x192c85['WsNJm'](_0x4a1983,'main')&&_0x192c85[_0x19932a(0x1eb)](_0x4a1983,_0x19932a(0x1f2))&&_0x192c85['gBKFz'](disableBranch,_0x4a1983),printBlock(_0x19932a(0x1f9)+(_0x4a1983&&_0x192c85[_0x19932a(0x1eb)](_0x4a1983,_0x192c85[_0x19932a(0x1f0)])&&_0x192c85['LfIOg'](_0x4a1983,_0x19932a(0x1f2))?'\x20and\x20branch\x20\x27'+_0x4a1983+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
@@ -1 +1 @@
1
- (function(_0x610912,_0x467594){const _0x4c5188=_0x60f6,_0x7b2927=_0x610912();while(!![]){try{const _0x1579ab=parseInt(_0x4c5188(0x1c5))/0x1*(parseInt(_0x4c5188(0x1c7))/0x2)+parseInt(_0x4c5188(0x1c0))/0x3+parseInt(_0x4c5188(0x1bd))/0x4*(parseInt(_0x4c5188(0x1bc))/0x5)+parseInt(_0x4c5188(0x1c9))/0x6*(parseInt(_0x4c5188(0x1cb))/0x7)+parseInt(_0x4c5188(0x1c6))/0x8+parseInt(_0x4c5188(0x1cc))/0x9*(parseInt(_0x4c5188(0x1c2))/0xa)+parseInt(_0x4c5188(0x1c8))/0xb*(-parseInt(_0x4c5188(0x1ca))/0xc);if(_0x1579ab===_0x467594)break;else _0x7b2927['push'](_0x7b2927['shift']());}catch(_0x46e127){_0x7b2927['push'](_0x7b2927['shift']());}}}(_0x3339,0x7b0a7));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';function _0x3339(){const _0x3ccb7e=['7817048fAjEMv','631252WdCwTa','82214ckRmoJ','5298852INuBfK','5460gHvEJo','7dWKMcg','1744731RpvESJ','master','25eANQVo','422940DtEzde','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','\x0a\x0a**Branch\x20\x27','543303wrTyRY','\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.','20AdTPiw','aGwFU','dqYbJ','3sGWQkG'];_0x3339=function(){return _0x3ccb7e;};return _0x3339();}import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';function _0x60f6(_0x54333b,_0x20c1f2){_0x54333b=_0x54333b-0x1bc;const _0x33399f=_0x3339();let _0x60f664=_0x33399f[_0x54333b];return _0x60f664;}import{update}from'../update.js';export async function enable(_0x438c88){const _0x140d03=_0x60f6,_0x318242={'tjQMP':'ranger\x20setup\x20--opencode','aGwFU':function(_0x3764fa){return _0x3764fa();},'dqYbJ':function(_0x330d3,_0x5bc2f1){return _0x330d3(_0x5bc2f1);},'iIWHj':function(_0x7c6a01,_0x205d08){return _0x7c6a01!==_0x205d08;},'bWVjS':_0x140d03(0x1cd)},_0x8004f7=_0x438c88||process['env']['CLAUDE_SESSION_ID']||'',_0x365050=Boolean(_0x438c88),_0x449987=await getToken();if(!_0x449987){const _0x45ac8b=_0x365050?_0x318242['tjQMP']:'ranger\x20setup',_0x38771a=_0x365050?'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.';printBlock('#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`'+_0x45ac8b+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x38771a);return;}try{await _0x318242[_0x140d03(0x1c3)](update);}catch{}_0x8004f7&&_0x318242[_0x140d03(0x1c4)](enableSession,_0x8004f7);const _0x5af3ae=_0x318242[_0x140d03(0x1c3)](getCurrentBranch),_0x5dfd03=_0x5af3ae&&_0x5af3ae!=='main'&&_0x318242['iIWHj'](_0x5af3ae,_0x318242['bWVjS'])?_0x140d03(0x1bf)+_0x5af3ae+_0x140d03(0x1be):'',_0x15fc6d=_0x318242[_0x140d03(0x1c3)](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x5dfd03+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x15fc6d+_0x140d03(0x1c1));}
1
+ (function(_0x56c97c,_0x121bde){const _0x2503fc=_0x37b2,_0x44c91e=_0x56c97c();while(!![]){try{const _0x48e9ef=-parseInt(_0x2503fc(0xc8))/0x1*(parseInt(_0x2503fc(0xb8))/0x2)+-parseInt(_0x2503fc(0xb7))/0x3*(parseInt(_0x2503fc(0xc5))/0x4)+parseInt(_0x2503fc(0xba))/0x5+-parseInt(_0x2503fc(0xcb))/0x6*(-parseInt(_0x2503fc(0xc3))/0x7)+parseInt(_0x2503fc(0xc0))/0x8*(-parseInt(_0x2503fc(0xbe))/0x9)+-parseInt(_0x2503fc(0xcc))/0xa*(parseInt(_0x2503fc(0xb6))/0xb)+-parseInt(_0x2503fc(0xb4))/0xc*(-parseInt(_0x2503fc(0xb3))/0xd);if(_0x48e9ef===_0x121bde)break;else _0x44c91e['push'](_0x44c91e['shift']());}catch(_0x1e5c08){_0x44c91e['push'](_0x44c91e['shift']());}}}(_0x18f1,0x2d1f5));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x18f1(){const _0x39109a=['13966zqtsZf','YVgal','1828505lOodeq','\x0a\x0a**Branch\x20\x27','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','CLAUDE_SESSION_ID','756009xtWQkk','#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`','8BqwikI','tlxrC','JULBa','271481XxhceZ','wtVyy','3764OatUpJ','EHAKh','ranger\x20setup','40DNYMkT','master','env','12grNiLe','1059670eIkirh','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','13QzTzcT','3625428TZtFKJ','main','11GGafWT','291lUjRIP'];_0x18f1=function(){return _0x39109a;};return _0x18f1();}function _0x37b2(_0x4a00f9,_0x19ca90){_0x4a00f9=_0x4a00f9-0xb1;const _0x18f1d5=_0x18f1();let _0x37b28a=_0x18f1d5[_0x4a00f9];return _0x37b28a;}export async function enable(_0x5754e6){const _0x4dc0cb=_0x37b2,_0x330610={'APuRC':function(_0x41a90e){return _0x41a90e();},'wtVyy':'ranger\x20setup\x20--opencode','YVgal':_0x4dc0cb(0xc7),'RWqOM':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','tlxrC':function(_0x10cfd6,_0x5b642d){return _0x10cfd6(_0x5b642d);},'Wrhmr':function(_0x26e69b){return _0x26e69b();},'JULBa':_0x4dc0cb(0xb5),'EHAKh':_0x4dc0cb(0xc9),'XBdML':function(_0xdd12ff,_0x1a599e){return _0xdd12ff(_0x1a599e);}},_0x14f554=_0x5754e6||process[_0x4dc0cb(0xca)][_0x4dc0cb(0xbd)]||'',_0x24e437=Boolean(_0x5754e6),_0x31490b=await _0x330610['APuRC'](getToken);if(!_0x31490b){const _0x4db9f7=_0x24e437?_0x330610[_0x4dc0cb(0xc4)]:_0x330610[_0x4dc0cb(0xb9)],_0x58985a=_0x24e437?_0x4dc0cb(0xbc):_0x330610['RWqOM'];printBlock(_0x4dc0cb(0xbf)+_0x4db9f7+_0x4dc0cb(0xb2)+_0x58985a);return;}try{await update();}catch{}_0x14f554&&_0x330610[_0x4dc0cb(0xc1)](enableSession,_0x14f554);const _0x269cb9=_0x330610['Wrhmr'](getCurrentBranch),_0x151286=_0x269cb9&&_0x269cb9!==_0x330610[_0x4dc0cb(0xc2)]&&_0x269cb9!==_0x330610[_0x4dc0cb(0xc6)]?_0x4dc0cb(0xbb)+_0x269cb9+_0x4dc0cb(0xb1):'',_0x175dfb=getRangerSkillContent();_0x330610['XBdML'](printBlock,'#\x20RANGER\x20ENABLED'+_0x151286+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x175dfb+'\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.');}
@@ -1 +1 @@
1
- (function(_0x5add8c,_0x3fdc98){const _0x50650a=_0x4a2e,_0x50abb1=_0x5add8c();while(!![]){try{const _0x598f8a=parseInt(_0x50650a(0x18f))/0x1+parseInt(_0x50650a(0x18d))/0x2*(parseInt(_0x50650a(0x191))/0x3)+parseInt(_0x50650a(0x18e))/0x4+-parseInt(_0x50650a(0x190))/0x5+-parseInt(_0x50650a(0x18b))/0x6+-parseInt(_0x50650a(0x18c))/0x7+parseInt(_0x50650a(0x18a))/0x8*(parseInt(_0x50650a(0x189))/0x9);if(_0x598f8a===_0x3fdc98)break;else _0x50abb1['push'](_0x50abb1['shift']());}catch(_0x4c2f3a){_0x50abb1['push'](_0x50abb1['shift']());}}}(_0x744d,0xd3cd1));import{printBlock,getEnabledSessionId}from'./output.js';function _0x4a2e(_0x2855e3,_0x464977){_0x2855e3=_0x2855e3-0x189;const _0x744df3=_0x744d();let _0x4a2ec8=_0x744df3[_0x2855e3];return _0x4a2ec8;}export async function exitPlanMode(_0x58be44){const _0x30cbfd=_0x4a2e,_0xa7abbe={'PWwqM':function(_0x26cf62,_0xafec4){return _0x26cf62(_0xafec4);}},_0x2503b1=await _0xa7abbe[_0x30cbfd(0x192)](getEnabledSessionId,_0x58be44);if(!_0x2503b1)return;_0xa7abbe['PWwqM'](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}function _0x744d(){const _0x199b6c=['743015GpeoYs','3151895fWALSW','104352ejZiVd','PWwqM','13977nQKqLy','6176fMgUtS','6928584oLSVSy','4884803txxrJG','2FCMjKs','5495176dmfqAU'];_0x744d=function(){return _0x199b6c;};return _0x744d();}
1
+ (function(_0x486e56,_0x38b9ec){const _0x5b8391=_0x193b,_0x16a1da=_0x486e56();while(!![]){try{const _0xbbda41=-parseInt(_0x5b8391(0x146))/0x1+parseInt(_0x5b8391(0x14a))/0x2+-parseInt(_0x5b8391(0x152))/0x3*(-parseInt(_0x5b8391(0x150))/0x4)+parseInt(_0x5b8391(0x14b))/0x5*(-parseInt(_0x5b8391(0x151))/0x6)+parseInt(_0x5b8391(0x148))/0x7*(parseInt(_0x5b8391(0x14f))/0x8)+-parseInt(_0x5b8391(0x14c))/0x9*(parseInt(_0x5b8391(0x14d))/0xa)+-parseInt(_0x5b8391(0x149))/0xb*(-parseInt(_0x5b8391(0x14e))/0xc);if(_0xbbda41===_0x38b9ec)break;else _0x16a1da['push'](_0x16a1da['shift']());}catch(_0x17362c){_0x16a1da['push'](_0x16a1da['shift']());}}}(_0xd4f3,0x22d09));function _0x193b(_0x436f77,_0x35552d){_0x436f77=_0x436f77-0x146;const _0xd4f3ab=_0xd4f3();let _0x193b83=_0xd4f3ab[_0x436f77];return _0x193b83;}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x255f61){const _0x344c5f=_0x193b,_0x204d6a={'tHmnz':function(_0x537d4d,_0x470a2c){return _0x537d4d(_0x470a2c);}},_0x3fb0a6=await getEnabledSessionId(_0x255f61);if(!_0x3fb0a6)return;_0x204d6a['tHmnz'](printBlock,_0x344c5f(0x147));}function _0xd4f3(){const _0x3edd0d=['27kAGzTc','714540xQcKOW','48jNoDIK','2480yqrshq','1022324WOyAQO','6IakruW','3DfZATv','119476vpdCIu','===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===','266JpOiIr','366784FOMKRE','152028gjPIjf','1560tYHsbN'];_0xd4f3=function(){return _0x3edd0d;};return _0xd4f3();}
@@ -1 +1 @@
1
- (function(_0x573372,_0x4288b6){var _0x41ba2b=_0x22b5,_0x4803b0=_0x573372();while(!![]){try{var _0x3f6bfa=-parseInt(_0x41ba2b(0x1e5))/0x1+-parseInt(_0x41ba2b(0x1e2))/0x2*(-parseInt(_0x41ba2b(0x1e7))/0x3)+parseInt(_0x41ba2b(0x1ea))/0x4*(parseInt(_0x41ba2b(0x1e4))/0x5)+parseInt(_0x41ba2b(0x1e6))/0x6*(-parseInt(_0x41ba2b(0x1e1))/0x7)+parseInt(_0x41ba2b(0x1e9))/0x8*(parseInt(_0x41ba2b(0x1e3))/0x9)+parseInt(_0x41ba2b(0x1ec))/0xa+-parseInt(_0x41ba2b(0x1e8))/0xb*(parseInt(_0x41ba2b(0x1eb))/0xc);if(_0x3f6bfa===_0x4288b6)break;else _0x4803b0['push'](_0x4803b0['shift']());}catch(_0x49cd71){_0x4803b0['push'](_0x4803b0['shift']());}}}(_0x190d,0x57cc7));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';function _0x190d(){var _0x5dc564=['187nuAqxf','569816xMXLwW','4liITrq','1065804PhdzUF','5900890AycsJR','145187AjOhFk','6WYznfT','63KJiHEd','2298570GvEKxe','112306GvyUIs','78yelKHL','703059IWPyjD'];_0x190d=function(){return _0x5dc564;};return _0x190d();}function _0x22b5(_0x358099,_0x1c625a){_0x358099=_0x358099-0x1e1;var _0x190d10=_0x190d();var _0x22b563=_0x190d10[_0x358099];return _0x22b563;}export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x272904,_0x239c7d){var _0x1629b9=_0x4710,_0x5383b0=_0x272904();while(!![]){try{var _0x3c347b=parseInt(_0x1629b9(0x7b))/0x1+parseInt(_0x1629b9(0x7a))/0x2*(parseInt(_0x1629b9(0x73))/0x3)+-parseInt(_0x1629b9(0x72))/0x4*(parseInt(_0x1629b9(0x76))/0x5)+-parseInt(_0x1629b9(0x75))/0x6+-parseInt(_0x1629b9(0x78))/0x7*(parseInt(_0x1629b9(0x74))/0x8)+-parseInt(_0x1629b9(0x77))/0x9*(parseInt(_0x1629b9(0x79))/0xa)+parseInt(_0x1629b9(0x71))/0xb;if(_0x3c347b===_0x239c7d)break;else _0x5383b0['push'](_0x5383b0['shift']());}catch(_0x2c9586){_0x5383b0['push'](_0x5383b0['shift']());}}}(_0x771b,0x458d1));export{sessionStart}from'./sessionStart.js';function _0x4710(_0x3e6a29,_0x8e800c){_0x3e6a29=_0x3e6a29-0x71;var _0x771bb0=_0x771b();var _0x471090=_0x771bb0[_0x3e6a29];return _0x471090;}export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';function _0x771b(){var _0x544d2b=['81muffyG','104880UIJLSd','1876332ZapMLN','25fhGWYp','178461KxNqCV','28JTTnRr','250AzdYeC','2042zFXFzp','208588oLdPPe','15922478UsgiII','430308CGnxZn'];_0x771b=function(){return _0x544d2b;};return _0x771b();}export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x454edb,_0x437c6d){const _0x276b92=_0x2b15,_0x378b22=_0x454edb();while(!![]){try{const _0x402877=parseInt(_0x276b92(0xe6))/0x1*(-parseInt(_0x276b92(0xe2))/0x2)+parseInt(_0x276b92(0xda))/0x3+-parseInt(_0x276b92(0xe8))/0x4+parseInt(_0x276b92(0xe3))/0x5*(parseInt(_0x276b92(0xe7))/0x6)+-parseInt(_0x276b92(0xdc))/0x7*(parseInt(_0x276b92(0xe9))/0x8)+parseInt(_0x276b92(0xe4))/0x9+parseInt(_0x276b92(0xdf))/0xa*(parseInt(_0x276b92(0xde))/0xb);if(_0x402877===_0x437c6d)break;else _0x378b22['push'](_0x378b22['shift']());}catch(_0x5165a7){_0x378b22['push'](_0x378b22['shift']());}}}(_0x31ae,0x213a9));function _0x2b15(_0x517e3c,_0x399871){_0x517e3c=_0x517e3c-0xda;const _0x31ae87=_0x31ae();let _0x2b1513=_0x31ae87[_0x517e3c];return _0x2b1513;}import{isSessionEnabled}from'../utils/sessionCache.js';function _0x31ae(){const _0x2bb4cb=['8QBAkKx','118656RWVLmh','parse','264236AAimCf','log','752939pGPkNM','20SCLFHO','session_id','stdin','218748nyeXjE','7775WIYyfX','1314585OjfYNJ','MFHSY','1oBzIhy','144ChwOrL','306432sSvbmy'];_0x31ae=function(){return _0x2bb4cb;};return _0x31ae();}export function printBlock(_0x159620){const _0x5f328d=_0x2b15;console[_0x5f328d(0xdd)](_0x159620);}export async function readHookInput(){const _0x580d4a=_0x2b15;let _0x4ce9a1='';try{for await(const _0x5a3544 of process[_0x580d4a(0xe1)]){_0x4ce9a1+=_0x5a3544;}}catch{return null;}if(!_0x4ce9a1['trim']())return null;try{return JSON[_0x580d4a(0xdb)](_0x4ce9a1);}catch{return null;}}export async function getEnabledSessionId(_0x56d8ea){const _0x4cbd31=_0x2b15,_0x599e17={'MFHSY':function(_0x5c7e59,_0x5129fa){return _0x5c7e59(_0x5129fa);},'sjntg':function(_0x4199d1){return _0x4199d1();}};if(_0x56d8ea)return _0x599e17[_0x4cbd31(0xe5)](isSessionEnabled,_0x56d8ea)?_0x56d8ea:null;const _0x2592f9=await _0x599e17['sjntg'](readHookInput),_0x5a777c=_0x2592f9?.['session_id'];if(!_0x5a777c||!_0x599e17[_0x4cbd31(0xe5)](isSessionEnabled,_0x5a777c))return null;return _0x5a777c;}export async function getEnabledHookContext(_0x36d381){const _0x3932e5=_0x2b15;if(_0x36d381){if(!isSessionEnabled(_0x36d381))return null;return{'sessionId':_0x36d381,'input':{'session_id':_0x36d381}};}const _0x36b4ab=await readHookInput(),_0x443c3a=_0x36b4ab?.[_0x3932e5(0xe0)];if(!_0x443c3a||!isSessionEnabled(_0x443c3a))return null;return{'sessionId':_0x443c3a,'input':_0x36b4ab};}
1
+ (function(_0x30fd7d,_0x4bdd7a){const _0x1ffc73=_0x45b4,_0x284fa4=_0x30fd7d();while(!![]){try{const _0x384da8=-parseInt(_0x1ffc73(0x177))/0x1*(parseInt(_0x1ffc73(0x16a))/0x2)+-parseInt(_0x1ffc73(0x169))/0x3+-parseInt(_0x1ffc73(0x174))/0x4*(parseInt(_0x1ffc73(0x179))/0x5)+parseInt(_0x1ffc73(0x172))/0x6+parseInt(_0x1ffc73(0x16e))/0x7*(-parseInt(_0x1ffc73(0x16c))/0x8)+-parseInt(_0x1ffc73(0x16b))/0x9*(-parseInt(_0x1ffc73(0x176))/0xa)+parseInt(_0x1ffc73(0x170))/0xb;if(_0x384da8===_0x4bdd7a)break;else _0x284fa4['push'](_0x284fa4['shift']());}catch(_0x31bdd1){_0x284fa4['push'](_0x284fa4['shift']());}}}(_0x364a,0x55fdd));import{isSessionEnabled}from'../utils/sessionCache.js';function _0x364a(){const _0x5a1c38=['3134178kUdvzy','igfoy','50404gKlsDB','BLUyz','4543830OFRjEc','1883qQJeOQ','stdin','260Jmlfnb','1922691XdtbvF','340FKokjw','9ASfZuw','2368afqLEm','zYxec','1316qwhqfi','session_id','11521202SyhtKz','drsPW'];_0x364a=function(){return _0x5a1c38;};return _0x364a();}export function printBlock(_0x57c833){console['log'](_0x57c833);}export async function readHookInput(){const _0x85db95=_0x45b4;let _0x482406='';try{for await(const _0x4f7533 of process[_0x85db95(0x178)]){_0x482406+=_0x4f7533;}}catch{return null;}if(!_0x482406['trim']())return null;try{return JSON['parse'](_0x482406);}catch{return null;}}export async function getEnabledSessionId(_0x38bfa6){const _0x7d4132=_0x45b4,_0x507fbe={'BLUyz':function(_0x4a7508,_0x10b049){return _0x4a7508(_0x10b049);},'igfoy':function(_0x1723c1){return _0x1723c1();}};if(_0x38bfa6)return _0x507fbe[_0x7d4132(0x175)](isSessionEnabled,_0x38bfa6)?_0x38bfa6:null;const _0x68b946=await _0x507fbe[_0x7d4132(0x173)](readHookInput),_0x1496ce=_0x68b946?.[_0x7d4132(0x16f)];if(!_0x1496ce||!_0x507fbe[_0x7d4132(0x175)](isSessionEnabled,_0x1496ce))return null;return _0x1496ce;}function _0x45b4(_0x2ce754,_0x5f4f03){_0x2ce754=_0x2ce754-0x169;const _0x364ac6=_0x364a();let _0x45b452=_0x364ac6[_0x2ce754];return _0x45b452;}export async function getEnabledHookContext(_0x37517d){const _0xfff5fb=_0x45b4,_0x586b0e={'drsPW':function(_0xc4acf4,_0x3a012c){return _0xc4acf4(_0x3a012c);},'zYxec':function(_0x5686b6){return _0x5686b6();}};if(_0x37517d){if(!_0x586b0e[_0xfff5fb(0x171)](isSessionEnabled,_0x37517d))return null;return{'sessionId':_0x37517d,'input':{'session_id':_0x37517d}};}const _0xa6c81e=await _0x586b0e[_0xfff5fb(0x16d)](readHookInput),_0x5027b7=_0xa6c81e?.[_0xfff5fb(0x16f)];if(!_0x5027b7||!isSessionEnabled(_0x5027b7))return null;return{'sessionId':_0x5027b7,'input':_0xa6c81e};}
@@ -1 +1 @@
1
- (function(_0xa82528,_0x1d1aab){const _0x240f73=_0x472f,_0x1e3572=_0xa82528();while(!![]){try{const _0x244f6b=parseInt(_0x240f73(0x81))/0x1+-parseInt(_0x240f73(0x7b))/0x2+parseInt(_0x240f73(0x84))/0x3*(parseInt(_0x240f73(0x83))/0x4)+-parseInt(_0x240f73(0x7d))/0x5+-parseInt(_0x240f73(0x80))/0x6+-parseInt(_0x240f73(0x7f))/0x7*(-parseInt(_0x240f73(0x78))/0x8)+parseInt(_0x240f73(0x7c))/0x9;if(_0x244f6b===_0x1d1aab)break;else _0x1e3572['push'](_0x1e3572['shift']());}catch(_0x2a669b){_0x1e3572['push'](_0x1e3572['shift']());}}}(_0x55ea,0xe317b));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x4f0bce){const _0x1dfa03=_0x472f,_0x467ffc={'AnuGs':function(_0x14f07d,_0x2a4065){return _0x14f07d!==_0x2a4065;},'HOxGV':'plan','lmHnE':function(_0x5a1351,_0x168606){return _0x5a1351(_0x168606);}},_0x46d550=await getEnabledHookContext(_0x4f0bce);if(!_0x46d550)return;if(_0x467ffc[_0x1dfa03(0x7a)](_0x46d550['input']['permission_mode'],_0x467ffc[_0x1dfa03(0x79)]))return;if(!_0x467ffc[_0x1dfa03(0x82)](shouldShowPlanReminder,_0x46d550['sessionId']))return;_0x467ffc['lmHnE'](printBlock,_0x1dfa03(0x7e));}function _0x472f(_0x99cf4e,_0xc4d88e){_0x99cf4e=_0x99cf4e-0x78;const _0x55ea57=_0x55ea();let _0x472f2d=_0x55ea57[_0x99cf4e];return _0x472f2d;}function _0x55ea(){const _0x3052ef=['HOxGV','AnuGs','203852xMuznD','18209070mRMcxH','2526985hjVWXO','===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===','112qdlkYY','10506486vLnidm','52567OfPvbR','lmHnE','989524GXGyql','6mdlreR','359008tZmWwe'];_0x55ea=function(){return _0x3052ef;};return _0x55ea();}
1
+ function _0x3f2b(){const _0x55dd11=['22168MnINjm','yMart','18qQAYbE','6BpdHEZ','232242BPsNWb','6598368WSekpt','107149iRVUxs','5106715iZmUZY','1880430ZEZEfh','8NdUxvG','22aKaMLf','permission_mode','237olZlGM','===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===','104csMECj','36059257GdAWtI'];_0x3f2b=function(){return _0x55dd11;};return _0x3f2b();}function _0x5763(_0x156264,_0x19be0c){_0x156264=_0x156264-0x127;const _0x3f2b89=_0x3f2b();let _0x5763b9=_0x3f2b89[_0x156264];return _0x5763b9;}(function(_0x1989c8,_0x34bfdc){const _0x781779=_0x5763,_0x5e5a8c=_0x1989c8();while(!![]){try{const _0x2ff9d3=-parseInt(_0x781779(0x12e))/0x1*(-parseInt(_0x781779(0x129))/0x2)+-parseInt(_0x781779(0x131))/0x3*(parseInt(_0x781779(0x135))/0x4)+-parseInt(_0x781779(0x12c))/0x5*(parseInt(_0x781779(0x128))/0x6)+-parseInt(_0x781779(0x12b))/0x7*(parseInt(_0x781779(0x133))/0x8)+parseInt(_0x781779(0x127))/0x9*(-parseInt(_0x781779(0x12d))/0xa)+parseInt(_0x781779(0x12f))/0xb*(-parseInt(_0x781779(0x12a))/0xc)+parseInt(_0x781779(0x134))/0xd;if(_0x2ff9d3===_0x34bfdc)break;else _0x5e5a8c['push'](_0x5e5a8c['shift']());}catch(_0x5ee25a){_0x5e5a8c['push'](_0x5e5a8c['shift']());}}}(_0x3f2b,0x8add7));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x424b7a){const _0x46ada5=_0x5763,_0x183f04={'yMart':'plan','RHPJP':function(_0x12813d,_0x5d6005){return _0x12813d(_0x5d6005);}},_0x271d72=await getEnabledHookContext(_0x424b7a);if(!_0x271d72)return;if(_0x271d72['input'][_0x46ada5(0x130)]!==_0x183f04[_0x46ada5(0x136)])return;if(!_0x183f04['RHPJP'](shouldShowPlanReminder,_0x271d72['sessionId']))return;printBlock(_0x46ada5(0x132));}
@@ -1 +1 @@
1
- (function(_0x56c1ca,_0x22afd5){const _0x5b1d48=_0x51b4,_0x25fd32=_0x56c1ca();while(!![]){try{const _0x814af7=-parseInt(_0x5b1d48(0x7a))/0x1+-parseInt(_0x5b1d48(0x76))/0x2+-parseInt(_0x5b1d48(0x7b))/0x3*(-parseInt(_0x5b1d48(0x7d))/0x4)+parseInt(_0x5b1d48(0x7e))/0x5+parseInt(_0x5b1d48(0x77))/0x6+-parseInt(_0x5b1d48(0x78))/0x7+-parseInt(_0x5b1d48(0x7c))/0x8*(-parseInt(_0x5b1d48(0x79))/0x9);if(_0x814af7===_0x22afd5)break;else _0x25fd32['push'](_0x25fd32['shift']());}catch(_0x7cc31c){_0x25fd32['push'](_0x25fd32['shift']());}}}(_0x8b20,0x309e4));function _0x8b20(){const _0x5f6b8=['991564zomcnJ','149832YdIdTF','290324wQsOtO','327IqAFov','96dnpEmK','6040npmeHI','1785370pflBGH','239022dndwjw','175122DBKlfF'];_0x8b20=function(){return _0x5f6b8;};return _0x8b20();}function _0x51b4(_0x128d8a,_0x3b8684){_0x128d8a=_0x128d8a-0x76;const _0x8b2033=_0x8b20();let _0x51b4c6=_0x8b2033[_0x128d8a];return _0x51b4c6;}import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x284ac0){const _0x23751e=await getEnabledSessionId(_0x284ac0);if(!_0x23751e)return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}
1
+ function _0x494c(_0x16ec6a,_0x2f45ef){_0x16ec6a=_0x16ec6a-0x1b2;const _0x2fa41c=_0x2fa4();let _0x494cd8=_0x2fa41c[_0x16ec6a];return _0x494cd8;}(function(_0x91ed03,_0x52e4fb){const _0xde0d4d=_0x494c,_0x38065d=_0x91ed03();while(!![]){try{const _0x20ee1f=-parseInt(_0xde0d4d(0x1b8))/0x1+-parseInt(_0xde0d4d(0x1b5))/0x2*(-parseInt(_0xde0d4d(0x1b3))/0x3)+-parseInt(_0xde0d4d(0x1ba))/0x4+-parseInt(_0xde0d4d(0x1bb))/0x5+parseInt(_0xde0d4d(0x1b9))/0x6*(parseInt(_0xde0d4d(0x1b4))/0x7)+-parseInt(_0xde0d4d(0x1b2))/0x8+-parseInt(_0xde0d4d(0x1b7))/0x9*(-parseInt(_0xde0d4d(0x1b6))/0xa);if(_0x20ee1f===_0x52e4fb)break;else _0x38065d['push'](_0x38065d['shift']());}catch(_0x1e5153){_0x38065d['push'](_0x38065d['shift']());}}}(_0x2fa4,0x46d73));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x10bf10){const _0x1d28da={'bwDBD':function(_0x144bbb,_0x53c240){return _0x144bbb(_0x53c240);}},_0x188894=await getEnabledSessionId(_0x10bf10);if(!_0x188894)return;_0x1d28da['bwDBD'](printBlock,'===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}function _0x2fa4(){const _0x4eb0f2=['36939TgurDJ','33842UvVZbt','11017540AadDsx','9YwAwiK','148542YGjGMQ','18ALMeyn','1621036sKAKXw','2625965CCIsDG','1236256DzgKYV','72UvZJbX'];_0x2fa4=function(){return _0x4eb0f2;};return _0x2fa4();}
@@ -1 +1 @@
1
- (function(_0x2df2db,_0x4c7d19){const _0x49db06=_0x13d6,_0x3fe636=_0x2df2db();while(!![]){try{const _0x493f2c=parseInt(_0x49db06(0x152))/0x1*(parseInt(_0x49db06(0x14d))/0x2)+-parseInt(_0x49db06(0x150))/0x3+parseInt(_0x49db06(0x153))/0x4*(-parseInt(_0x49db06(0x155))/0x5)+-parseInt(_0x49db06(0x149))/0x6+-parseInt(_0x49db06(0x147))/0x7*(-parseInt(_0x49db06(0x148))/0x8)+-parseInt(_0x49db06(0x14b))/0x9+parseInt(_0x49db06(0x14c))/0xa;if(_0x493f2c===_0x4c7d19)break;else _0x3fe636['push'](_0x3fe636['shift']());}catch(_0x714389){_0x3fe636['push'](_0x3fe636['shift']());}}}(_0x16da,0xe89d1));function _0x13d6(_0x99028c,_0x526ceb){_0x99028c=_0x99028c-0x147;const _0x16da03=_0x16da();let _0x13d691=_0x16da03[_0x99028c];return _0x13d691;}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x16da(){const _0x4a7d6d=['11834001NNkHWj','31083890wLUqCU','971798ZTuEGl','log','RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).','2891766ukjknJ','PostToolUse','1dgITqA','488YjjDxb','Zlear','39465ggwoOB','633311Hkuifq','80gYWaoj','1826856hWBKvK','stringify'];_0x16da=function(){return _0x4a7d6d;};return _0x16da();}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x417e6b){const _0x4a057e=_0x13d6,_0x54622e={'omZcJ':function(_0x13ffe4,_0x1c6194){return _0x13ffe4(_0x1c6194);},'oFzoX':function(_0x107b13,_0x58b8b6){return _0x107b13(_0x58b8b6);},'Zlear':function(_0x104462){return _0x104462();},'usmpO':'PostToolUse'},_0x5b8723=await _0x54622e['omZcJ'](getEnabledSessionId,_0x417e6b);if(!_0x5b8723)return;_0x54622e['oFzoX'](updateBranchTracking,_0x5b8723);const _0x18e93a=await _0x54622e[_0x4a057e(0x154)](getToken);if(!_0x18e93a)return;const _0x548f85=getSessionEntry(_0x5b8723);if(_0x548f85){const _0x4eafd2={'hookSpecificOutput':{'hookEventName':_0x4a057e(0x151),'additionalContext':_0x4a057e(0x14f)}};console[_0x4a057e(0x14e)](JSON[_0x4a057e(0x14a)](_0x4eafd2));return;}const _0x28a403={'hookSpecificOutput':{'hookEventName':_0x54622e['usmpO'],'additionalContext':'RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.'}};console['log'](JSON[_0x4a057e(0x14a)](_0x28a403));}
1
+ (function(_0x5c3a82,_0x14f188){const _0x412d68=_0x1b0c,_0x4660f1=_0x5c3a82();while(!![]){try{const _0x2a91ef=parseInt(_0x412d68(0x13b))/0x1+parseInt(_0x412d68(0x136))/0x2+-parseInt(_0x412d68(0x138))/0x3+parseInt(_0x412d68(0x13c))/0x4+parseInt(_0x412d68(0x13d))/0x5*(-parseInt(_0x412d68(0x133))/0x6)+parseInt(_0x412d68(0x139))/0x7*(parseInt(_0x412d68(0x137))/0x8)+-parseInt(_0x412d68(0x13a))/0x9;if(_0x2a91ef===_0x14f188)break;else _0x4660f1['push'](_0x4660f1['shift']());}catch(_0x1d4036){_0x4660f1['push'](_0x4660f1['shift']());}}}(_0xf723,0x99170));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0xf723(){const _0x13c898=['1774200ijCACb','720Dhpbon','507459CSbeJr','51149oToAWk','6412995jwhgLE','432472LZRddW','1739152KbzIjy','5BgjnfN','FXmXb','RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).','5419356cKLOvF','rhubF','RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.'];_0xf723=function(){return _0x13c898;};return _0xf723();}import{getToken}from'../utils/keychain.js';function _0x1b0c(_0x2e5dc0,_0xf4262d){_0x2e5dc0=_0x2e5dc0-0x131;const _0xf72316=_0xf723();let _0x1b0c5d=_0xf72316[_0x2e5dc0];return _0x1b0c5d;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x1daea8){const _0x227ee1=_0x1b0c,_0x55c7ac={'FXmXb':function(_0x48f57a,_0x5a38c3){return _0x48f57a(_0x5a38c3);},'OpLjw':function(_0x26ef2e,_0x296f6e){return _0x26ef2e(_0x296f6e);},'rhubF':function(_0x2f527f){return _0x2f527f();},'ZhXrH':function(_0x5ea633,_0x483e70){return _0x5ea633(_0x483e70);},'KMBlM':'PostToolUse'},_0x5079a4=await _0x55c7ac[_0x227ee1(0x131)](getEnabledSessionId,_0x1daea8);if(!_0x5079a4)return;_0x55c7ac['OpLjw'](updateBranchTracking,_0x5079a4);const _0x20de59=await _0x55c7ac[_0x227ee1(0x134)](getToken);if(!_0x20de59)return;const _0x48c27c=_0x55c7ac['ZhXrH'](getSessionEntry,_0x5079a4);if(_0x48c27c){const _0x126d5a={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0x227ee1(0x132)}};console['log'](JSON['stringify'](_0x126d5a));return;}const _0x28d922={'hookSpecificOutput':{'hookEventName':_0x55c7ac['KMBlM'],'additionalContext':_0x227ee1(0x135)}};console['log'](JSON['stringify'](_0x28d922));}
@@ -1 +1 @@
1
- (function(_0x4a727d,_0x2241fe){const _0x517063=_0x2544,_0x3f9473=_0x4a727d();while(!![]){try{const _0x51ec54=parseInt(_0x517063(0x9d))/0x1+parseInt(_0x517063(0x98))/0x2+-parseInt(_0x517063(0x9a))/0x3*(parseInt(_0x517063(0x95))/0x4)+parseInt(_0x517063(0x99))/0x5*(-parseInt(_0x517063(0x9c))/0x6)+-parseInt(_0x517063(0x94))/0x7+parseInt(_0x517063(0x97))/0x8+parseInt(_0x517063(0x96))/0x9;if(_0x51ec54===_0x2241fe)break;else _0x3f9473['push'](_0x3f9473['shift']());}catch(_0x1b8b9e){_0x3f9473['push'](_0x3f9473['shift']());}}}(_0x2f1c,0x26dcd));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0x2544(_0x28502d,_0x3ee96e){_0x28502d=_0x28502d-0x94;const _0x2f1c54=_0x2f1c();let _0x254415=_0x2f1c54[_0x28502d];return _0x254415;}export async function preCompact(_0x498c23){const _0x5d214f=_0x2544,_0x55c035={'hRqeF':function(_0x587ca9,_0x43e5ad){return _0x587ca9(_0x43e5ad);},'QIvAJ':function(_0x492361,_0x19e306){return _0x492361(_0x19e306);}},_0x34c124=await _0x55c035[_0x5d214f(0x9b)](getEnabledSessionId,_0x498c23);if(!_0x34c124)return;try{const _0x9b9e47=await getToken();if(!_0x9b9e47)return;_0x55c035['QIvAJ'](printBlock,'===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.');}catch{}}function _0x2f1c(){const _0x279f05=['67077RkipfT','1607529uMuRpV','3332MhcilY','3377718sxfonU','2485992WfaXvZ','243272ziWKQk','1346780nHieOx','780ThGwrG','hRqeF','6BUORtK'];_0x2f1c=function(){return _0x279f05;};return _0x2f1c();}
1
+ (function(_0x1305c6,_0x1b0008){const _0x59b413=_0x3c5a,_0x33910c=_0x1305c6();while(!![]){try{const _0x256cdb=-parseInt(_0x59b413(0x1eb))/0x1*(-parseInt(_0x59b413(0x1ec))/0x2)+parseInt(_0x59b413(0x1f2))/0x3+-parseInt(_0x59b413(0x1f3))/0x4*(-parseInt(_0x59b413(0x1f1))/0x5)+parseInt(_0x59b413(0x1f4))/0x6*(parseInt(_0x59b413(0x1e7))/0x7)+-parseInt(_0x59b413(0x1e8))/0x8+parseInt(_0x59b413(0x1ed))/0x9*(-parseInt(_0x59b413(0x1ef))/0xa)+-parseInt(_0x59b413(0x1e9))/0xb;if(_0x256cdb===_0x1b0008)break;else _0x33910c['push'](_0x33910c['shift']());}catch(_0x11d563){_0x33910c['push'](_0x33910c['shift']());}}}(_0x17be,0xcd259));function _0x17be(){const _0x94f74c=['2196561vuZsSv','2512mUnkCR','2352234tugTuH','14jpDaTu','1166752wxIKnA','17494708Fvzkto','DNLYd','1635511lTSdCe','2tdywxL','387TqCYBW','mjLOz','307130ukTWSU','===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.','5935VADOch'];_0x17be=function(){return _0x94f74c;};return _0x17be();}import{getToken}from'../utils/keychain.js';function _0x3c5a(_0x4d3436,_0x2679a0){_0x4d3436=_0x4d3436-0x1e7;const _0x17be1f=_0x17be();let _0x3c5a67=_0x17be1f[_0x4d3436];return _0x3c5a67;}import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x2ac017){const _0x5735bf=_0x3c5a,_0x134d58={'mjLOz':function(_0x51246f,_0x1e5dd1){return _0x51246f(_0x1e5dd1);},'DNLYd':function(_0x263152,_0x53c8a4){return _0x263152(_0x53c8a4);}},_0x281902=await _0x134d58[_0x5735bf(0x1ee)](getEnabledSessionId,_0x2ac017);if(!_0x281902)return;try{const _0x5109bc=await getToken();if(!_0x5109bc)return;_0x134d58[_0x5735bf(0x1ea)](printBlock,_0x5735bf(0x1f0));}catch{}}
@@ -1 +1 @@
1
- function _0x310c(_0x54106c,_0x574d69){_0x54106c=_0x54106c-0x1ca;const _0x1044dc=_0x1044();let _0x310c70=_0x1044dc[_0x54106c];return _0x310c70;}(function(_0x2b0dfa,_0x41562c){const _0x3dd7c9=_0x310c,_0x3d1fd7=_0x2b0dfa();while(!![]){try{const _0x3fb323=parseInt(_0x3dd7c9(0x1ce))/0x1+-parseInt(_0x3dd7c9(0x1ca))/0x2+-parseInt(_0x3dd7c9(0x1cd))/0x3+-parseInt(_0x3dd7c9(0x1d3))/0x4+-parseInt(_0x3dd7c9(0x1cc))/0x5*(parseInt(_0x3dd7c9(0x1d1))/0x6)+-parseInt(_0x3dd7c9(0x1d2))/0x7+-parseInt(_0x3dd7c9(0x1d0))/0x8*(-parseInt(_0x3dd7c9(0x1cf))/0x9);if(_0x3fb323===_0x41562c)break;else _0x3d1fd7['push'](_0x3d1fd7['shift']());}catch(_0x11fdc1){_0x3d1fd7['push'](_0x3d1fd7['shift']());}}}(_0x1044,0x81a2f));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x113b0c){const _0x376f41=_0x310c,_0x115f60=process[_0x376f41(0x1cb)]['CLAUDE_SESSION_ID'];let _0x4ae0b3=_0x113b0c,_0x4d6895;if(!_0x113b0c){if(_0x115f60&&!isSessionEnabled(_0x115f60))return;const _0x17410e=await readHookInput();_0x4ae0b3=_0x17410e?.['session_id']||_0x115f60,_0x4d6895=_0x17410e?.[_0x376f41(0x1d4)];}if(!_0x4ae0b3)return;_0x4d6895==='clear'&&recordEnabledSessionCleared(_0x4ae0b3);}function _0x1044(){const _0x554ed8=['548703JDgSJs','90156yZURUQ','16013556vTAhxa','8VGMYDv','24vjcXCt','1998143KpIwTs','893368yLyOEz','reason','134658JlBBmz','env','724285hJzfku'];_0x1044=function(){return _0x554ed8;};return _0x1044();}
1
+ function _0x1e95(_0x35e8f9,_0x9380f3){_0x35e8f9=_0x35e8f9-0x149;const _0x5aa27d=_0x5aa2();let _0x1e9510=_0x5aa27d[_0x35e8f9];return _0x1e9510;}(function(_0x2047d4,_0x3f12f7){const _0x17dc8d=_0x1e95,_0x6ca542=_0x2047d4();while(!![]){try{const _0xc05fb8=parseInt(_0x17dc8d(0x14f))/0x1+parseInt(_0x17dc8d(0x150))/0x2+-parseInt(_0x17dc8d(0x14c))/0x3+parseInt(_0x17dc8d(0x14b))/0x4*(-parseInt(_0x17dc8d(0x151))/0x5)+-parseInt(_0x17dc8d(0x149))/0x6*(-parseInt(_0x17dc8d(0x153))/0x7)+-parseInt(_0x17dc8d(0x14d))/0x8+parseInt(_0x17dc8d(0x14a))/0x9;if(_0xc05fb8===_0x3f12f7)break;else _0x6ca542['push'](_0x6ca542['shift']());}catch(_0x45af56){_0x6ca542['push'](_0x6ca542['shift']());}}}(_0x5aa2,0x30ddd));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x361f58){const _0x1f5ade=_0x1e95,_0x13186f={'KCkxJ':function(_0x205610,_0x21efe8){return _0x205610(_0x21efe8);},'GvocH':function(_0x5c4adc){return _0x5c4adc();},'ylHMG':function(_0x4a226b,_0x38c545){return _0x4a226b===_0x38c545;}},_0x43c22b=process[_0x1f5ade(0x14e)][_0x1f5ade(0x152)];let _0x3c1bc0=_0x361f58,_0x395831;if(!_0x361f58){if(_0x43c22b&&!_0x13186f['KCkxJ'](isSessionEnabled,_0x43c22b))return;const _0x1680c5=await _0x13186f['GvocH'](readHookInput);_0x3c1bc0=_0x1680c5?.['session_id']||_0x43c22b,_0x395831=_0x1680c5?.['reason'];}if(!_0x3c1bc0)return;_0x13186f['ylHMG'](_0x395831,'clear')&&_0x13186f['KCkxJ'](recordEnabledSessionCleared,_0x3c1bc0);}function _0x5aa2(){const _0x5cda7d=['80XEHUCO','1047177gkocUU','3001824BxvQjV','env','367663BXXBPF','541596vFckDd','64595oNRKPa','CLAUDE_SESSION_ID','308CnCave','25476QPnwSR','3217851qieiSr'];_0x5aa2=function(){return _0x5cda7d;};return _0x5aa2();}
@@ -1 +1 @@
1
- (function(_0x402a2b,_0x4e4e64){const _0x15c1f5=_0xa21d,_0x452f07=_0x402a2b();while(!![]){try{const _0x4a4698=-parseInt(_0x15c1f5(0x129))/0x1+parseInt(_0x15c1f5(0x13b))/0x2*(parseInt(_0x15c1f5(0x123))/0x3)+-parseInt(_0x15c1f5(0x128))/0x4*(-parseInt(_0x15c1f5(0x12b))/0x5)+-parseInt(_0x15c1f5(0x12a))/0x6*(-parseInt(_0x15c1f5(0x13a))/0x7)+parseInt(_0x15c1f5(0x134))/0x8*(-parseInt(_0x15c1f5(0x126))/0x9)+parseInt(_0x15c1f5(0x138))/0xa+-parseInt(_0x15c1f5(0x130))/0xb*(parseInt(_0x15c1f5(0x139))/0xc);if(_0x4a4698===_0x4e4e64)break;else _0x452f07['push'](_0x452f07['shift']());}catch(_0x22d93d){_0x452f07['push'](_0x452f07['shift']());}}}(_0x2a4e,0x6f39c));function _0xa21d(_0x45ef23,_0x19d07a){_0x45ef23=_0x45ef23-0x122;const _0x2a4e64=_0x2a4e();let _0xa21d14=_0x2a4e64[_0x45ef23];return _0xa21d14;}import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';function _0x2a4e(){const _0x41ba1a=['master','parse','396xyNCIN','\x20(Branch:\x20','1099796FwnkEd','287428IYuWRN','161418xjLzQr','15kZmBBU','stringify','success','MavAB','export\x20CLAUDE_SESSION_ID=\x22','7698251HJPfsM','CLAUDE_ENV_FILE','session_id','QLARD','113168SovWRu','trackCommandStart','source','vmqtd','1199740dwIKMu','12PBrdRt','231gLMAPx','6PtjMaV','trackCommandEnd','232653OuqfgK'];_0x2a4e=function(){return _0x41ba1a;};return _0x2a4e();}import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT='=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================';export async function sessionStart(_0x294177){const _0x130163=_0xa21d,_0x485b10={'ARCjF':function(_0x21dcb1,_0x272500){return _0x21dcb1||_0x272500;},'MavAB':_0x130163(0x132),'PiMJQ':function(_0x4c7457,_0x37c441){return _0x4c7457&&_0x37c441;},'CxXAT':function(_0x1ec58d,_0x24ab10){return _0x1ec58d(_0x24ab10);},'vmqtd':'hook:session-start','zulTO':_0x130163(0x12d),'QLARD':function(_0x47be66){return _0x47be66();},'rpXDs':function(_0x5bcb6a,_0x4a53d2){return _0x5bcb6a!==_0x4a53d2;},'aaIlm':'SessionStart'};let _0x1e930f=_0x485b10['ARCjF'](_0x294177,''),_0x488e8d;if(!_0x294177){let _0x3b92f6='';for await(const _0xa7cd96 of process['stdin']){_0x3b92f6+=_0xa7cd96;}try{const _0x14c3a9=JSON[_0x130163(0x125)](_0x3b92f6);_0x1e930f=_0x14c3a9[_0x485b10[_0x130163(0x12e)]]||'',_0x488e8d=_0x14c3a9[_0x130163(0x136)];}catch{}const _0x57a6d3=process['env'][_0x130163(0x131)];if(_0x485b10['PiMJQ'](_0x57a6d3,_0x1e930f))try{await appendFile(_0x57a6d3,_0x130163(0x12f)+_0x1e930f+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x1e930f){shouldAutoEnableAfterClear(_0x488e8d)&&autoEnableAfterClear(_0x1e930f);initBranchTracking(_0x1e930f);const _0x4dce02=isSessionEnabled(_0x1e930f);try{const _0xa42bfb=_0x485b10['CxXAT'](createTelemetryCollector,_0x485b10[_0x130163(0x137)]);await _0xa42bfb[_0x130163(0x135)]({'sessionId':_0x1e930f,'hooksEnabled':_0x4dce02}),await _0xa42bfb[_0x130163(0x122)](_0x485b10['zulTO']);}catch{}if(_0x4dce02){const _0x1a0afb=_0x485b10[_0x130163(0x133)](getCurrentBranch),_0x26a669=_0x1a0afb&&_0x485b10['rpXDs'](_0x1a0afb,'main')&&_0x1a0afb!==_0x130163(0x124)?_0x130163(0x127)+_0x1a0afb+')':'',_0xa9fe5c={'hookSpecificOutput':{'hookEventName':_0x485b10['aaIlm'],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x26a669}};console['log'](JSON[_0x130163(0x12c)](_0xa9fe5c));}}}
1
+ const _0x5a523f=_0x328c;function _0x328c(_0x11b4ec,_0x32345a){_0x11b4ec=_0x11b4ec-0x166;const _0x385191=_0x3851();let _0x328c44=_0x385191[_0x11b4ec];return _0x328c44;}(function(_0x73aac2,_0x22929e){const _0x19496e=_0x328c,_0x3f5c35=_0x73aac2();while(!![]){try{const _0x11f0b9=-parseInt(_0x19496e(0x16f))/0x1*(parseInt(_0x19496e(0x16e))/0x2)+parseInt(_0x19496e(0x167))/0x3+-parseInt(_0x19496e(0x172))/0x4+-parseInt(_0x19496e(0x16c))/0x5+parseInt(_0x19496e(0x175))/0x6+-parseInt(_0x19496e(0x16b))/0x7*(parseInt(_0x19496e(0x17a))/0x8)+parseInt(_0x19496e(0x173))/0x9*(parseInt(_0x19496e(0x166))/0xa);if(_0x11f0b9===_0x22929e)break;else _0x3f5c35['push'](_0x3f5c35['shift']());}catch(_0x19e1ca){_0x3f5c35['push'](_0x3f5c35['shift']());}}}(_0x3851,0x2db32));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x3851(){const _0x151fe0=['trackCommandStart','22jpSPiZ','17393MbdMPi','success','CLAUDE_ENV_FILE','912128cGMWmD','494793wxVeqG','=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================','1790028GwrIJp','vWNTZ','stdin','WcGLd','QeePO','16BXoCGy','stringify','main','110gtMQyB','392517OtXqHK','hook:session-start','cHVsv','tbJgc','878213esgXMr','882325fTTkqx'];_0x3851=function(){return _0x151fe0;};return _0x3851();}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT=_0x5a523f(0x174);export async function sessionStart(_0x1d6a52){const _0x2481e4=_0x5a523f,_0x17e4e9={'riCdJ':function(_0x15b448,_0x32a534){return _0x15b448||_0x32a534;},'cHVsv':'source','TTOFY':function(_0x219f60,_0x2206aa){return _0x219f60&&_0x2206aa;},'NWqxi':function(_0xdc644a,_0x1a7ab1,_0x32856c){return _0xdc644a(_0x1a7ab1,_0x32856c);},'POFld':function(_0x4a5211){return _0x4a5211();},'QeePO':function(_0x2cee04,_0x31c26d){return _0x2cee04(_0x31c26d);},'vhnAs':_0x2481e4(0x168),'NeZjW':_0x2481e4(0x170),'WcGLd':_0x2481e4(0x17c),'vWNTZ':function(_0x35f111,_0x46632a){return _0x35f111!==_0x46632a;},'ZUEiF':'master','tbJgc':'SessionStart'};let _0x4d3c19=_0x17e4e9['riCdJ'](_0x1d6a52,''),_0x105514;if(!_0x1d6a52){let _0x1f7e9e='';for await(const _0x3cdca4 of process[_0x2481e4(0x177)]){_0x1f7e9e+=_0x3cdca4;}try{const _0x5ec2e9=JSON['parse'](_0x1f7e9e);_0x4d3c19=_0x5ec2e9['session_id']||'',_0x105514=_0x5ec2e9[_0x17e4e9[_0x2481e4(0x169)]];}catch{}const _0x51416a=process['env'][_0x2481e4(0x171)];if(_0x17e4e9['TTOFY'](_0x51416a,_0x4d3c19))try{await _0x17e4e9['NWqxi'](appendFile,_0x51416a,'export\x20CLAUDE_SESSION_ID=\x22'+_0x4d3c19+'\x22\x0a');}catch{}}try{await _0x17e4e9['POFld'](getToken);}catch{}if(_0x4d3c19){_0x17e4e9[_0x2481e4(0x179)](shouldAutoEnableAfterClear,_0x105514)&&_0x17e4e9[_0x2481e4(0x179)](autoEnableAfterClear,_0x4d3c19);initBranchTracking(_0x4d3c19);const _0x4350bc=_0x17e4e9['QeePO'](isSessionEnabled,_0x4d3c19);try{const _0x1dff26=createTelemetryCollector(_0x17e4e9['vhnAs']);await _0x1dff26[_0x2481e4(0x16d)]({'sessionId':_0x4d3c19,'hooksEnabled':_0x4350bc}),await _0x1dff26['trackCommandEnd'](_0x17e4e9['NeZjW']);}catch{}if(_0x4350bc){const _0x143ea1=getCurrentBranch(),_0x16f198=_0x143ea1&&_0x143ea1!==_0x17e4e9[_0x2481e4(0x178)]&&_0x17e4e9[_0x2481e4(0x176)](_0x143ea1,_0x17e4e9['ZUEiF'])?'\x20(Branch:\x20'+_0x143ea1+')':'',_0x2ef85d={'hookSpecificOutput':{'hookEventName':_0x17e4e9[_0x2481e4(0x16a)],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x16f198}};console['log'](JSON[_0x2481e4(0x17b)](_0x2ef85d));}}}
@@ -1 +1 @@
1
- (function(_0x1dbd12,_0x31c4a2){const _0x402fa4=_0x3a26,_0x5c8f48=_0x1dbd12();while(!![]){try{const _0x310e45=-parseInt(_0x402fa4(0xd0))/0x1*(-parseInt(_0x402fa4(0xd1))/0x2)+-parseInt(_0x402fa4(0xe2))/0x3+-parseInt(_0x402fa4(0xde))/0x4*(-parseInt(_0x402fa4(0xd7))/0x5)+-parseInt(_0x402fa4(0xcc))/0x6+parseInt(_0x402fa4(0xd2))/0x7*(-parseInt(_0x402fa4(0xca))/0x8)+-parseInt(_0x402fa4(0xdc))/0x9*(-parseInt(_0x402fa4(0xdf))/0xa)+-parseInt(_0x402fa4(0xc8))/0xb;if(_0x310e45===_0x31c4a2)break;else _0x5c8f48['push'](_0x5c8f48['shift']());}catch(_0x1dc075){_0x5c8f48['push'](_0x5c8f48['shift']());}}}(_0x2265,0x7520d));function _0x2265(){const _0x3d3063=['yHzBX','trackCommandStart','5hWluHq','136270rtUFPl','8071fMDNoX','checklistItems','Stop','dMTXh','verified','5CunYgI','FyEDy','some','log','https://dashboard.ranger.net/features/','3296277aYwXWd','status','2480796GZDeEY','20lCHbHQ','blocked','trackCommandEnd','2594802eMJBxW','hook:stop','sessionId','1175669ytytWb','verification_in_progress','472JPjhSt','stringify','1042698pePoLy','currentSessionId'];_0x2265=function(){return _0x3d3063;};return _0x2265();}import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';function _0x3a26(_0x5b53f5,_0x7a56fe){_0x5b53f5=_0x5b53f5-0xc6;const _0x226505=_0x2265();let _0x3a26e6=_0x226505[_0x5b53f5];return _0x3a26e6;}import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x5624ac){const _0x322d92=_0x3a26,_0x3d67d0={'oyqYx':function(_0x134fbf,_0x30b740){return _0x134fbf(_0x30b740);},'yHzBX':function(_0x320631,_0x3b0bb2,_0x3e13cb,_0x1bcc46){return _0x320631(_0x3b0bb2,_0x3e13cb,_0x1bcc46);},'zUmzh':function(_0x58d742){return _0x58d742();},'LHuIE':_0x322d92(0xd4),'FyEDy':function(_0x4ea964,_0x426640,_0x52d264){return _0x4ea964(_0x426640,_0x52d264);}},_0x158e03=await _0x3d67d0['oyqYx'](getEnabledHookContext,_0x5624ac),_0x371012=_0x158e03?.[_0x322d92(0xc7)]??null;let _0x3c7bef=!![];if(!_0x371012){await _0x3d67d0[_0x322d92(0xce)](trackStop,_0x371012,![],_0x3c7bef);return;}try{const _0x11d671=getSessionEntry(_0x371012);if(!_0x11d671){await trackStop(_0x371012,!![],_0x3c7bef);return;}const _0x4388b3=await _0x3d67d0['zUmzh'](getToken),_0x4e75c5=_0x322d92(0xdb)+_0x11d671['featureId'];let _0x388ed0=null,_0x5ebde2=![],_0xe6f4c9=![];if(_0x4388b3)try{const _0x58adab=await _0x3d67d0['oyqYx'](getFeature,_0x11d671['featureId']);_0x388ed0=_0x58adab[_0x322d92(0xcd)]??null;const _0x564d5a=_0x58adab[_0x322d92(0xd3)]['filter'](_0x4903ab=>_0x4903ab['sessionId']===_0x388ed0);_0x5ebde2=_0x564d5a[_0x322d92(0xd9)](_0x37e11d=>_0x37e11d['status']!==_0x322d92(0xd6)&&_0x37e11d['status']!==_0x322d92(0xe0)&&_0x37e11d['status']!=='closed'&&_0x37e11d[_0x322d92(0xdd)]!=='incomplete'),_0xe6f4c9=_0x564d5a['some'](_0x502fd9=>_0x502fd9['status']===_0x322d92(0xc9));}catch{}if(_0x4388b3&&_0x388ed0&&_0x5ebde2){if(!_0xe6f4c9&&_0x3d67d0['oyqYx'](shouldShowStopReminder,_0x371012)){const _0x5c3af4={'hookSpecificOutput':{'hookEventName':_0x3d67d0['LHuIE'],'additionalContext':'RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20'+_0x4e75c5}};console[_0x322d92(0xda)](JSON[_0x322d92(0xcb)](_0x5c3af4));}}if(_0x4388b3&&_0x388ed0&&!_0x5ebde2)try{await _0x3d67d0[_0x322d92(0xd8)](concludeSession,_0x11d671['featureId'],_0x388ed0);}catch{}await trackStop(_0x371012,!![],_0x3c7bef);return;}catch{await trackStop(_0x371012,!![],_0x3c7bef);return;}}async function trackStop(_0x4b98ba,_0x7f0d03,_0x34427){const _0x32130b=_0x3a26,_0x548b39={'dMTXh':function(_0x195fbe,_0xd06a98){return _0x195fbe??_0xd06a98;}};try{const _0x1723d2=createTelemetryCollector(_0x32130b(0xc6));await _0x1723d2[_0x32130b(0xcf)]({'sessionId':_0x548b39[_0x32130b(0xd5)](_0x4b98ba,undefined),'hooksEnabled':_0x7f0d03,'stopAllowed':_0x34427}),await _0x1723d2[_0x32130b(0xe1)]('success');}catch{}}
1
+ function _0x4a1a(){const _0x324f10=['filter','1913541SpzuIL','1112760zVnnDr','CEMCr','2637621DFciQC','some','log','currentSessionId','8obUyhr','201942qdoORD','blocked','1337944jLkLYy','Stop','status','closed','VsKpw','sessionId','2724200KBUJwd','https://dashboard.ranger.net/features/','stringify','40IWqpbJ','checklistItems','trackCommandStart','hook:stop','featureId','24793yRrcew','success','JjxoC','RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20'];_0x4a1a=function(){return _0x324f10;};return _0x4a1a();}function _0x3505(_0x3ad0fb,_0x1ea589){_0x3ad0fb=_0x3ad0fb-0xfa;const _0x4a1adf=_0x4a1a();let _0x350534=_0x4a1adf[_0x3ad0fb];return _0x350534;}(function(_0x1eb4fe,_0x5e532a){const _0x5cf912=_0x3505,_0x226353=_0x1eb4fe();while(!![]){try{const _0x1dbcc9=parseInt(_0x5cf912(0x115))/0x1*(parseInt(_0x5cf912(0x104))/0x2)+parseInt(_0x5cf912(0xfe))/0x3+-parseInt(_0x5cf912(0x107))/0x4+-parseInt(_0x5cf912(0x110))/0x5*(parseInt(_0x5cf912(0x105))/0x6)+-parseInt(_0x5cf912(0xfd))/0x7+parseInt(_0x5cf912(0x10d))/0x8+parseInt(_0x5cf912(0x100))/0x9;if(_0x1dbcc9===_0x5e532a)break;else _0x226353['push'](_0x226353['shift']());}catch(_0x26ca85){_0x226353['push'](_0x226353['shift']());}}}(_0x4a1a,0x37515));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x54e78b){const _0x4fe205=_0x3505,_0x464e8f={'zAMSW':function(_0x58b959,_0x43930e){return _0x58b959(_0x43930e);},'JjxoC':function(_0x49c1d4,_0x549b0b,_0x55734c,_0x3fa544){return _0x49c1d4(_0x549b0b,_0x55734c,_0x3fa544);},'KVQnQ':function(_0x560c2,_0x199d98){return _0x560c2(_0x199d98);},'VsKpw':function(_0x1fe9ba,_0xd297c1){return _0x1fe9ba&&_0xd297c1;},'EJNuP':function(_0x2f8eba,_0x125d16){return _0x2f8eba(_0x125d16);},'CEMCr':_0x4fe205(0x108)},_0x1900c5=await _0x464e8f['zAMSW'](getEnabledHookContext,_0x54e78b),_0x38e120=_0x1900c5?.['sessionId']??null;let _0x4d1c89=!![];if(!_0x38e120){await _0x464e8f[_0x4fe205(0xfa)](trackStop,_0x38e120,![],_0x4d1c89);return;}try{const _0xd3b8ee=getSessionEntry(_0x38e120);if(!_0xd3b8ee){await _0x464e8f['JjxoC'](trackStop,_0x38e120,!![],_0x4d1c89);return;}const _0x3e1716=await getToken(),_0x1e63b9=_0x4fe205(0x10e)+_0xd3b8ee[_0x4fe205(0x114)];let _0x4fb5b1=null,_0x1f5898=![],_0x37bbdd=![];if(_0x3e1716)try{const _0x5b05db=await _0x464e8f['KVQnQ'](getFeature,_0xd3b8ee['featureId']);_0x4fb5b1=_0x5b05db[_0x4fe205(0x103)]??null;const _0x3a7a41=_0x5b05db[_0x4fe205(0x111)][_0x4fe205(0xfc)](_0x5b03a5=>_0x5b03a5[_0x4fe205(0x10c)]===_0x4fb5b1);_0x1f5898=_0x3a7a41[_0x4fe205(0x101)](_0x58c2d1=>_0x58c2d1['status']!=='verified'&&_0x58c2d1[_0x4fe205(0x109)]!==_0x4fe205(0x106)&&_0x58c2d1[_0x4fe205(0x109)]!==_0x4fe205(0x10a)&&_0x58c2d1['status']!=='incomplete'),_0x37bbdd=_0x3a7a41['some'](_0x487806=>_0x487806[_0x4fe205(0x109)]==='verification_in_progress');}catch{}if(_0x464e8f[_0x4fe205(0x10b)](_0x3e1716,_0x4fb5b1)&&_0x1f5898){if(!_0x37bbdd&&_0x464e8f['EJNuP'](shouldShowStopReminder,_0x38e120)){const _0x1236cb={'hookSpecificOutput':{'hookEventName':_0x464e8f[_0x4fe205(0xff)],'additionalContext':_0x4fe205(0xfb)+_0x1e63b9}};console[_0x4fe205(0x102)](JSON[_0x4fe205(0x10f)](_0x1236cb));}}if(_0x464e8f[_0x4fe205(0x10b)](_0x3e1716,_0x4fb5b1)&&!_0x1f5898)try{await concludeSession(_0xd3b8ee[_0x4fe205(0x114)],_0x4fb5b1);}catch{}await trackStop(_0x38e120,!![],_0x4d1c89);return;}catch{await trackStop(_0x38e120,!![],_0x4d1c89);return;}}async function trackStop(_0x4199c4,_0xf4d197,_0x4c0793){const _0xa2c704=_0x3505,_0x19388c={'jubdn':function(_0x3a111e,_0x3967d7){return _0x3a111e(_0x3967d7);},'FhSpo':_0xa2c704(0x116)};try{const _0x587a51=_0x19388c['jubdn'](createTelemetryCollector,_0xa2c704(0x113));await _0x587a51[_0xa2c704(0x112)]({'sessionId':_0x4199c4??undefined,'hooksEnabled':_0xf4d197,'stopAllowed':_0x4c0793}),await _0x587a51['trackCommandEnd'](_0x19388c['FhSpo']);}catch{}}
@@ -1 +1 @@
1
- function _0x743d(){var _0x19fb12=['804834PDBcOx','2142106QpDhEx','8EbrDtG','36282830QyyDfq','59032dFtijD','2423134YXtjza','388987dzQXXh','1503594JYjpNj','144IToCfI','5VawVBC'];_0x743d=function(){return _0x19fb12;};return _0x743d();}(function(_0x3f7f1c,_0x4695d8){var _0xe8dc4b=_0x5f22,_0x8c093=_0x3f7f1c();while(!![]){try{var _0x53c55e=-parseInt(_0xe8dc4b(0x1c1))/0x1+-parseInt(_0xe8dc4b(0x1bc))/0x2+-parseInt(_0xe8dc4b(0x1c2))/0x3*(parseInt(_0xe8dc4b(0x1bd))/0x4)+-parseInt(_0xe8dc4b(0x1ba))/0x5*(parseInt(_0xe8dc4b(0x1bb))/0x6)+-parseInt(_0xe8dc4b(0x1c0))/0x7+-parseInt(_0xe8dc4b(0x1bf))/0x8*(parseInt(_0xe8dc4b(0x1b9))/0x9)+parseInt(_0xe8dc4b(0x1be))/0xa;if(_0x53c55e===_0x4695d8)break;else _0x8c093['push'](_0x8c093['shift']());}catch(_0x15381c){_0x8c093['push'](_0x8c093['shift']());}}}(_0x743d,0x8a8ba));function _0x5f22(_0x3bdfdd,_0x57dd95){_0x3bdfdd=_0x3bdfdd-0x1b9;var _0x743d13=_0x743d();var _0x5f2272=_0x743d13[_0x3bdfdd];return _0x5f2272;}export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x336fb1,_0x59d709){var _0x51b789=_0xa9d5,_0x598198=_0x336fb1();while(!![]){try{var _0x5951bd=-parseInt(_0x51b789(0x187))/0x1+-parseInt(_0x51b789(0x18c))/0x2+-parseInt(_0x51b789(0x18a))/0x3+parseInt(_0x51b789(0x18d))/0x4*(parseInt(_0x51b789(0x18f))/0x5)+-parseInt(_0x51b789(0x18b))/0x6*(parseInt(_0x51b789(0x189))/0x7)+parseInt(_0x51b789(0x190))/0x8+-parseInt(_0x51b789(0x188))/0x9*(-parseInt(_0x51b789(0x18e))/0xa);if(_0x5951bd===_0x59d709)break;else _0x598198['push'](_0x598198['shift']());}catch(_0x4daa2f){_0x598198['push'](_0x598198['shift']());}}}(_0x184c,0x74477));function _0x184c(){var _0x9a732e=['3937888OKWNRy','433915BKZLtW','15681537aiJisB','196gLSahS','1553193meTFJW','97332jBtObK','1025618nkeWuF','641284DpkBjX','10VHRuGz','5bXgaiZ'];_0x184c=function(){return _0x9a732e;};return _0x184c();}export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';function _0xa9d5(_0x350dcd,_0x415f09){_0x350dcd=_0x350dcd-0x187;var _0x184c1a=_0x184c();var _0xa9d593=_0x184c1a[_0x350dcd];return _0xa9d593;}export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';