@ranger-testing/ranger-cli 3.1.1-alpha.b22d278-38 → 3.1.2-alpha.059c7a3-40

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 (85) 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/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x1dc7d9=_0x24c6;(function(_0x59c2be,_0xa94fa1){const _0x5aa666=_0x24c6,_0x49887e=_0x59c2be();while(!![]){try{const _0x2595fb=-parseInt(_0x5aa666(0x1cb))/0x1*(-parseInt(_0x5aa666(0x137))/0x2)+parseInt(_0x5aa666(0x196))/0x3+-parseInt(_0x5aa666(0x12e))/0x4*(-parseInt(_0x5aa666(0x171))/0x5)+parseInt(_0x5aa666(0x136))/0x6*(parseInt(_0x5aa666(0x1f3))/0x7)+-parseInt(_0x5aa666(0x1b2))/0x8+parseInt(_0x5aa666(0x180))/0x9+-parseInt(_0x5aa666(0x157))/0xa;if(_0x2595fb===_0xa94fa1)break;else _0x49887e['push'](_0x49887e['shift']());}catch(_0x320cbb){_0x49887e['push'](_0x49887e['shift']());}}}(_0x46a7,0x9eec4));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x46a7(){const _0x125237=['vXpNE','\x20\x20\x20Progress:\x20','ready','BwIph','incompleteReason','verified','replace','warn','\x20—\x20no\x20comments','aDSvi','canonicalFlow','ZXcSv','qrPRc','selector','toLocaleDateString','NBFGF','\x20\x20\x20Description:\x20','\x20concluded.','version','canceledReason','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','blockedItems','items','CFHQG','log','push','list','uZOic','toLocaleString','/artifacts/','gitRepoUrl','toFixed','in_progress','trim','CPgTG','description','birJg','35ZLgtQO','VFdzh','git\x20rev-parse\x20--abbrev-ref\x20HEAD','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','assetUrl','UJFSY','QZVwl','PPlcV','linkedSession','all','json','dCpKS','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','any','gSDEB','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','\x20\x20✅\x20No\x20feedback\x20to\x20address','YsjVN','RrFHT','Scenario\x20','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','\x20\x20\x20\x20\x20\x20Cancelled:\x20','authorEmail','PLkbJ','KXxVc','cFpLU','\x20(v','domRef','stringify','jMMnI','\x20verified','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','GiYRn','34452WpvtEW','has','stats','Please\x20finish\x20your\x20review\x20first:','\x20at\x20[','hZGWw','pipe','error','1210602qqvCCk','142386RjrpRY','\x20\x20\x20Created:\x20','JxdhN','CLAUDE_SESSION_ID','content','pendingItems','numeric','iteration','completed','nWTcG','length','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','type','selected','iFVOA','btLvm','verification_in_progress','join','utf-8','latestReview','FSuJz','assetType','XBVYj','.png','FcRLx','qDsei','Next\x20page:\x20ranger\x20list\x20--offset\x20','pop','LslWQ','currentSessionId','verificationInProgressItems','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','18607950OkftEf','\x20--limit\x20','submittedAt','TUKhB','eHEJv','terminalReason','aozRE','completedAt','qPQZo','QxEZj',':\x20\x22','github.com/','currentBranch','usLoD','dbGGP','ylYcl','\x0a✅\x20Restored\x20feature\x20review:\x20','lvENe','stdout','dlioA','\x20in\x20progress','No\x20sessions\x20found.','avLVJ','HRxQo','Unknown','Not\x20in\x20a\x20git\x20repository.','555FlZNWx','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x0a✅\x20Feature\x20review\x20created:\x20','blockedReason','gitBranch','output','exit','\x0a✅\x20Report\x20generated:\x20','filter','\x0aConcluding\x20session...','status','\x0a✅\x20Session\x20is\x20already\x20completed.','includeDeleted','write','split','7432794TNHuQf','\x1b[1m','FyFss','XFgkC','sRqag','DmmXY','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','\x20\x20\x20\x20\x20📋\x20Selector:\x20','checklistItems','dashboardUrl','scenario','name','Showing\x20','NJvXb','\x20\x20\x20▶️\x20Started\x20session\x20','get','isInteger','\x20of\x20','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','\x20\x20\x20Repository:\x20','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','1720905inYfkj','isKeyStep','\x0a✅\x20Scenario\x20updated','prompt','\x20scenarios.','\x20blocked','WzXRk','ZbIoV','createdAt','aVEKd','JkhIB','\x20\x20\x20Completed:\x20','IVJPK','blocked','dGRvG','lihje','assets','incomplete','uegUl','\x0aAvailable\x20scenarios:','browserSessionId','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','xfzfn','env','unaddressedComments','notes','vtjgh','screenshot','8529720EIPRyQ','jGbYN','sessionId','zGAQw','tBlWU','closed','agentResponse','isTTY','\x20\x20\x20\x20\x20\x20Incomplete:\x20','\x20\x20💬\x20','\x0a✅\x20Session\x20','cOWhl','\x20--include-deleted','\x20\x20\x20','find','map','offset','\x20\x20\x20\x20\x20ID:\x20','tzvqa','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','round','active-feature.txt','cNRFr','verifiedItems','totalCount','3nyKtFI','BHpsk','\x0a⚠️\x20\x20'];_0x46a7=function(){return _0x125237;};return _0x46a7();}import{execSync}from'child_process';import _0x55965a 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=_0x1dc7d9(0x1c7),bold=_0x395da2=>_0x1dc7d9(0x181)+_0x395da2+'\x1b[0m';function getGitRepoUrl(){const _0x388693=_0x1dc7d9,_0x6fdd9e={'XFgkC':function(_0x575d9d,_0x4f2b46,_0x34a653){return _0x575d9d(_0x4f2b46,_0x34a653);}};try{const _0x3fc178=_0x6fdd9e[_0x388693(0x183)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':'utf-8','stdio':[_0x388693(0x134),_0x388693(0x134),_0x388693(0x134)]})[_0x388693(0x1ef)]();return _0x3fc178['replace'](/\.git$/,'')['replace'](/^git@github\.com:/,_0x388693(0x162))[_0x388693(0x1d4)](/^https?:\/\//,'');}catch{return undefined;}}function _0x24c6(_0x2ca0de,_0x349dd3){_0x2ca0de=_0x2ca0de-0x11e;const _0x46a773=_0x46a7();let _0x24c634=_0x46a773[_0x2ca0de];return _0x24c634;}function getGitBranch(){const _0x10f4e2=_0x1dc7d9,_0x4cce83={'StCgq':function(_0x45a9a4,_0x1b4dcf,_0x5a3069){return _0x45a9a4(_0x1b4dcf,_0x5a3069);},'PLkbJ':_0x10f4e2(0x1f5),'XBVYj':'pipe'};try{return _0x4cce83['StCgq'](execSync,_0x4cce83[_0x10f4e2(0x124)],{'encoding':'utf-8','stdio':[_0x10f4e2(0x134),_0x4cce83[_0x10f4e2(0x14d)],_0x4cce83['XBVYj']]})[_0x10f4e2(0x1ef)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x4650a3=_0x1dc7d9,_0x6c15e5={'cOWhl':function(_0x3b5125,_0x40266c,_0x5c399a){return _0x3b5125(_0x40266c,_0x5c399a);},'opQVa':function(_0x2a34c8,_0x15c8d9,_0x1b4664){return _0x2a34c8(_0x15c8d9,_0x1b4664);}},_0xa3a2ca=_0x6c15e5[_0x4650a3(0x1bd)](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0xa3a2ca))return null;try{const _0x448a05=await _0x6c15e5['opQVa'](readFile,_0xa3a2ca,'utf-8');return _0x448a05[_0x4650a3(0x1ef)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x9f9ea){const _0x114fdd=_0x1dc7d9,_0x222525={'cFpLU':function(_0x41c910){return _0x41c910();},'NPhcn':function(_0x4439e1,_0x5c49a1){return _0x4439e1(_0x5c49a1);},'xsVdy':'utf-8'},_0x215d6e=_0x222525[_0x114fdd(0x126)](getRangerDir),_0x482866=join(_0x215d6e,ACTIVE_FEATURE_FILE);!_0x222525['NPhcn'](existsSync,_0x215d6e)&&await mkdir(_0x215d6e,{'recursive':!![]}),await writeFile(_0x482866,_0x9f9ea,_0x222525['xsVdy']);}function getProgressDisplay(_0x5d0df3){const _0x37503b=_0x1dc7d9,_0x310fe8={'jWQmD':function(_0x25ecf7,_0x34899c){return _0x25ecf7+_0x34899c;},'Gfzuj':function(_0x425bd9,_0x45774e){return _0x425bd9===_0x45774e;},'lRFNh':function(_0x2334ed,_0x15d3cf){return _0x2334ed*_0x15d3cf;},'JxdhN':function(_0xe59743,_0x36d9d2){return _0xe59743/_0x36d9d2;},'uegUl':function(_0x58192b,_0x5ba226){return _0x58192b>_0x5ba226;},'ylYcl':function(_0x52ad53,_0x5a66e6){return _0x52ad53>_0x5a66e6;}},_0x35104e=_0x5d0df3[_0x37503b(0x1c9)]||0x0,_0xe5d6e4=_0x5d0df3[_0x37503b(0x155)]||0x0,_0x1007a3=_0x5d0df3[_0x37503b(0x1e3)]||0x0,_0x264a4f=_0x5d0df3['incompleteItems']||0x0,_0x13227c=_0x5d0df3[_0x37503b(0x13c)]||0x0,_0x33dee3=_0x310fe8['jWQmD'](_0x310fe8['jWQmD'](_0x35104e+_0xe5d6e4,_0x1007a3),_0x264a4f)+_0x13227c;if(_0x310fe8['Gfzuj'](_0x33dee3,0x0))return'-';const _0x54eb0b=0xa,_0x3f54ea=Math[_0x37503b(0x1c6)](_0x310fe8['lRFNh'](_0x310fe8[_0x37503b(0x139)](_0x35104e,_0x33dee3),_0x54eb0b)),_0x239bab=_0x310fe8['jWQmD']('█'['repeat'](_0x3f54ea),'░'['repeat'](_0x54eb0b-_0x3f54ea)),_0x1abd86=[];if(_0x310fe8[_0x37503b(0x1a8)](_0x1007a3,0x0))_0x1abd86[_0x37503b(0x1e7)](_0x1007a3+_0x37503b(0x19b));if(_0x264a4f>0x0)_0x1abd86['push'](_0x264a4f+'\x20incomplete');if(_0xe5d6e4>0x0)_0x1abd86['push'](_0xe5d6e4+_0x37503b(0x16b));const _0x4d2897=_0x310fe8[_0x37503b(0x166)](_0x1abd86['length'],0x0)?'\x20('+_0x1abd86['join'](',\x20')+')':'';return _0x239bab+'\x20'+_0x35104e+'/'+_0x33dee3+_0x37503b(0x12b)+_0x4d2897;}function getCurrentSessionItems(_0x1d75f0,_0x57e198){const _0x5bb5fe=_0x1dc7d9;if(!_0x1d75f0['currentSessionId'])return _0x57e198[_0x5bb5fe(0x179)](_0x2262fb=>!_0x2262fb['sessionId']);return _0x57e198[_0x5bb5fe(0x179)](_0x1981cd=>_0x1981cd['sessionId']===_0x1d75f0['currentSessionId']||!_0x1981cd[_0x5bb5fe(0x1b4)]);}function displayFeature(_0x574f1b,_0x37bbdb){const _0x24c16b=_0x1dc7d9,_0x536c42={'eHEJv':function(_0x3acd66,_0x30b00d){return _0x3acd66>_0x30b00d;},'WzXRk':'\x0a\x20\x20\x20Scenarios:','Gwbmn':function(_0x579a2a,_0x54caf4){return _0x579a2a<_0x54caf4;},'FyFss':function(_0xa7dc8b,_0x2b2c64){return _0xa7dc8b===_0x2b2c64;},'ramsb':'verified','WeeLA':'incomplete','gSDEB':'blocked','vtjgh':function(_0x385bf4,_0xf79a5b){return _0x385bf4===_0xf79a5b;},'RrFHT':function(_0x11f81e,_0x38aec5){return _0x11f81e===_0x38aec5;},'keBtd':_0x24c16b(0x147),'UKVWk':function(_0x335507,_0x1cff60){return _0x335507!==_0x1cff60;},'TjLAC':'closed','KyicP':function(_0x1aef0d,_0x241908){return _0x1aef0d!==_0x241908;},'hZGWw':function(_0x4f721e,_0x233862){return _0x4f721e+_0x233862;},'FcRLx':function(_0x1df943,_0x3dc22e){return _0x1df943===_0x3dc22e;},'lvENe':function(_0x245a49,_0x14dc96){return _0x245a49===_0x14dc96;}};console['log']('\x0a'+_0x574f1b['name']+'\x20('+_0x574f1b['dashboardUrl']+')');_0x574f1b[_0x24c16b(0x130)]&&console[_0x24c16b(0x1e6)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x574f1b[_0x24c16b(0x130)]));_0x574f1b[_0x24c16b(0x1f1)]&&console[_0x24c16b(0x1e6)](_0x24c16b(0x1de)+_0x574f1b[_0x24c16b(0x1f1)]);_0x574f1b['gitRepoUrl']&&console[_0x24c16b(0x1e6)](_0x24c16b(0x194)+_0x574f1b[_0x24c16b(0x1ec)]);_0x574f1b['gitBranch']&&console[_0x24c16b(0x1e6)]('\x20\x20\x20Branch:\x20'+_0x574f1b['gitBranch']);console[_0x24c16b(0x1e6)]('\x20\x20\x20Created:\x20'+new Date(_0x574f1b[_0x24c16b(0x19e)])['toLocaleString']());_0x574f1b[_0x24c16b(0x15e)]&&console[_0x24c16b(0x1e6)](_0x24c16b(0x1a1)+new Date(_0x574f1b['completedAt'])['toLocaleString']());if(_0x37bbdb&&_0x536c42[_0x24c16b(0x15b)](_0x37bbdb[_0x24c16b(0x141)],0x0)){console['log'](_0x536c42[_0x24c16b(0x19c)]);for(let _0x22335b=0x0;_0x536c42['Gwbmn'](_0x22335b,_0x37bbdb['length']);_0x22335b++){const _0x148144=_0x37bbdb[_0x22335b];let _0x30fc37;if(_0x148144[_0x24c16b(0x17b)]===_0x24c16b(0x1b7)&&_0x148144[_0x24c16b(0x15c)]==='approved')_0x30fc37='✅';else{if(_0x536c42['FyFss'](_0x148144['status'],_0x536c42['ramsb']))_0x30fc37='🟢';else{if(_0x536c42[_0x24c16b(0x182)](_0x148144[_0x24c16b(0x17b)],_0x536c42['WeeLA']))_0x30fc37='🟠';else{if(_0x148144['status']===_0x536c42[_0x24c16b(0x202)])_0x30fc37='🛑';else{if(_0x536c42[_0x24c16b(0x1b0)](_0x148144['status'],'closed'))_0x30fc37='⛔';else _0x536c42[_0x24c16b(0x11f)](_0x148144[_0x24c16b(0x17b)],_0x536c42['keBtd'])?_0x30fc37='⏳':_0x30fc37='⬜';}}}}const _0x26be28=_0x536c42['eHEJv'](_0x148144[_0x24c16b(0x1e0)],0x1)?'\x20(v'+_0x148144[_0x24c16b(0x1e0)]+')':'',_0x286edd=_0x148144[_0x24c16b(0x1e0)]>0x1&&_0x148144['parentItemId']&&_0x536c42['UKVWk'](_0x148144[_0x24c16b(0x17b)],_0x536c42['TjLAC'])&&_0x536c42['KyicP'](_0x148144[_0x24c16b(0x17b)],_0x536c42['ramsb'])?'\x20[has\x20reviewer\x20feedback]':'';console[_0x24c16b(0x1e6)](_0x24c16b(0x1bf)+_0x536c42[_0x24c16b(0x133)](_0x22335b,0x1)+'.\x20'+_0x30fc37+'\x20'+_0x148144[_0x24c16b(0x1f1)]+_0x26be28+_0x286edd);_0x148144[_0x24c16b(0x17b)]===_0x24c16b(0x1a3)&&_0x148144[_0x24c16b(0x174)]&&console[_0x24c16b(0x1e6)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x148144[_0x24c16b(0x174)]);_0x536c42[_0x24c16b(0x14f)](_0x148144['status'],_0x24c16b(0x1a7))&&_0x148144['incompleteReason']&&console['log'](_0x24c16b(0x1ba)+_0x148144[_0x24c16b(0x1d2)]);if(_0x148144[_0x24c16b(0x17b)]==='closed'&&_0x536c42[_0x24c16b(0x168)](_0x148144['terminalReason'],'approved'))console['log']('\x20\x20\x20\x20\x20\x20Approved');else _0x536c42[_0x24c16b(0x11f)](_0x148144['status'],'closed')&&_0x148144['canceledReason']&&console[_0x24c16b(0x1e6)](_0x24c16b(0x122)+_0x148144['canceledReason']);}}}export async function featureCreate(_0x4331eb,_0x110807){const _0x4b40bd=_0x1dc7d9,_0x48042f={'dGRvG':function(_0x3da83f,_0x850c22){return _0x3da83f===_0x850c22;},'RbQro':'\x0aCreating\x20feature\x20review...','HRxQo':function(_0x31e450,_0x2eeeb7){return _0x31e450(_0x2eeeb7);},'KXxVc':function(_0x5ad9b2,_0x5de22c){return _0x5ad9b2(_0x5de22c);},'vXpNE':function(_0x371aee,_0xffd029,_0x2f703a){return _0x371aee(_0xffd029,_0x2f703a);}},{envNames:_0x36bd53}=await getEnvNames();if(_0x48042f[_0x4b40bd(0x1a4)](_0x36bd53[_0x4b40bd(0x141)],0x0)&&!process[_0x4b40bd(0x1ad)]['RANGER_TEST_USERNAME']){let _0x2aea3f=0x0;try{_0x2aea3f=(await listCloudProfiles())[_0x4b40bd(0x141)];}catch{_0x2aea3f=0x1;}_0x2aea3f===0x0&&console[_0x4b40bd(0x1d5)]('\x0a'+formatProfileRequiredMessage(_0x1f5887=>bold(_0x1f5887)));}const _0x19636=_0x110807['scenarios']?_0x110807['scenarios']['map'](_0x86987a=>_0x86987a['trim']()):[],_0x176345=getGitRepoUrl(),_0x67e0b7=getGitBranch();console['log'](_0x48042f['RbQro']);const _0xe49d2f=await _0x48042f[_0x4b40bd(0x16e)](createFeature,{'name':_0x4331eb,'description':_0x110807['description'],'checklist':_0x19636,'gitRepoUrl':_0x176345,'gitBranch':_0x67e0b7});await _0x48042f[_0x4b40bd(0x125)](setActiveFeatureId,_0xe49d2f['id']),await tryStartCurrentSession(_0xe49d2f['id']);const _0x286dd0=process[_0x4b40bd(0x1ad)][_0x4b40bd(0x13a)];_0x286dd0&&registerSession(_0x286dd0,_0xe49d2f['id']),console[_0x4b40bd(0x1e6)](_0x4b40bd(0x173)+_0xe49d2f['id']),_0x48042f[_0x4b40bd(0x1ce)](displayFeature,_0xe49d2f,_0xe49d2f['checklistItems']),console['log'](_0x4b40bd(0x142));}export async function featureList(_0x43139f){const _0x2b8e9f=_0x1dc7d9,_0x189a4d={'CNrzP':function(_0x2fc121){return _0x2fc121();},'UyMsu':function(_0x9e1544,_0x28cc42){return _0x9e1544(_0x28cc42);},'BwIph':function(_0x4b8e09,_0x10e2f8){return _0x4b8e09===_0x10e2f8;},'OBtfb':'\x0aNo\x20feature\x20reviews\x20found.','OKOba':'5|4|0|1|3|2','QxEZj':function(_0x443a04,_0x3c891c){return _0x443a04(_0x3c891c);},'CFHQG':function(_0x4d91a3,_0x4631db){return _0x4d91a3<_0x4631db;},'TUKhB':'\x20--current-branch','ugRqd':_0x2b8e9f(0x1be)},_0x5b7539={'limit':_0x43139f['limit']??0xa,'offset':_0x43139f[_0x2b8e9f(0x1c2)]??0x0,'includeDeleted':_0x43139f[_0x2b8e9f(0x17d)]};_0x43139f[_0x2b8e9f(0x163)]&&(_0x5b7539['gitRepoUrl']=getGitRepoUrl(),_0x5b7539['gitBranch']=_0x189a4d['CNrzP'](getGitBranch));const _0x1b411b=await _0x189a4d['UyMsu'](listFeatures,_0x5b7539);if(_0x189a4d[_0x2b8e9f(0x1d1)](_0x1b411b[_0x2b8e9f(0x1e4)]['length'],0x0)){console['log'](_0x189a4d['OBtfb']);return;}const _0x3b9c4f=_0x1b411b['totalCount']>_0x1b411b['items']['length']?_0x2b8e9f(0x18d)+_0x1b411b[_0x2b8e9f(0x1e4)][_0x2b8e9f(0x141)]+_0x2b8e9f(0x192)+_0x1b411b[_0x2b8e9f(0x1ca)]:_0x1b411b['totalCount']+'\x20feature\x20review(s)\x20found';console[_0x2b8e9f(0x1e6)]('\x0a'+_0x3b9c4f+':\x0a');for(const _0x59e91f of _0x1b411b[_0x2b8e9f(0x1e4)]){const _0x42a911=_0x189a4d['OKOba']['split']('|');let _0x1e29ce=0x0;while(!![]){switch(_0x42a911[_0x1e29ce++]){case'0':_0x59e91f[_0x2b8e9f(0x130)]&&console[_0x2b8e9f(0x1e6)](_0x2b8e9f(0x1cf)+_0x189a4d[_0x2b8e9f(0x160)](getProgressDisplay,_0x59e91f[_0x2b8e9f(0x130)]));continue;case'1':_0x59e91f['gitBranch']&&console[_0x2b8e9f(0x1e6)]('\x20\x20\x20Branch:\x20'+_0x59e91f[_0x2b8e9f(0x175)]);continue;case'2':console[_0x2b8e9f(0x1e6)]('');continue;case'3':console[_0x2b8e9f(0x1e6)]('\x20\x20\x20Created:\x20'+new Date(_0x59e91f[_0x2b8e9f(0x19e)])[_0x2b8e9f(0x1dc)]());continue;case'4':console['log']('\x20\x20\x20ID:\x20'+_0x59e91f['id']);continue;case'5':console[_0x2b8e9f(0x1e6)](''+_0x59e91f[_0x2b8e9f(0x18c)]);continue;}break;}}const _0x2fbf3c=_0x5b7539['limit']??0xa,_0x4c7f24=(_0x5b7539[_0x2b8e9f(0x1c2)]??0x0)+_0x1b411b[_0x2b8e9f(0x1e4)]['length'];if(_0x189a4d[_0x2b8e9f(0x1e5)](_0x4c7f24,_0x1b411b[_0x2b8e9f(0x1ca)])){const _0x46eba=_0x2fbf3c!==0xa?_0x2b8e9f(0x158)+_0x2fbf3c:'',_0x244d70=_0x43139f['currentBranch']?_0x189a4d[_0x2b8e9f(0x15a)]:'',_0x43c926=_0x43139f[_0x2b8e9f(0x17d)]?_0x189a4d['ugRqd']:'';console['log'](_0x2b8e9f(0x151)+_0x4c7f24+_0x46eba+_0x244d70+_0x43c926);}}export async function featureShow(_0x523c66){const _0x2f11ff=_0x1dc7d9,_0x330019={'upDxq':function(_0x5a8869){return _0x5a8869();},'qrPRc':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','wXQAX':function(_0x3ecb37,_0x42db30){return _0x3ecb37(_0x42db30);},'LslWQ':function(_0x60a29c,_0x59f80a,_0x475f67){return _0x60a29c(_0x59f80a,_0x475f67);}},_0x3ebc0c=_0x523c66||await _0x330019['upDxq'](getActiveFeatureId);if(!_0x3ebc0c)throw new Error(_0x330019[_0x2f11ff(0x1da)]);const _0x5e6b54=await _0x330019['wXQAX'](getFeature,_0x3ebc0c);_0x330019[_0x2f11ff(0x153)](displayFeature,_0x5e6b54,_0x5e6b54['checklistItems']);}export async function featureResume(_0x9558f2){const _0x26e7a0=_0x1dc7d9,_0x58ea5d={'YsjVN':function(_0x5be6a1,_0x150c9b){return _0x5be6a1!==_0x150c9b;},'NBFGF':function(_0x3e43e0,_0x2bfad6,_0x3c5fe2){return _0x3e43e0(_0x2bfad6,_0x3c5fe2);},'sRqag':function(_0x58c82d,_0x4dc96a){return _0x58c82d(_0x4dc96a);},'QZVwl':function(_0x319dbb,_0x5d3609,_0x3bf609){return _0x319dbb(_0x5d3609,_0x3bf609);},'zGAQw':function(_0x10749f){return _0x10749f();},'xpDZi':function(_0x195fe9,_0x44d719){return _0x195fe9&&_0x44d719;},'PzGdg':_0x26e7a0(0x170),'pXxWS':function(_0x3454c2,_0x1b33eb){return _0x3454c2||_0x1b33eb;},'zASon':_0x26e7a0(0x201),'FSuJz':function(_0x4e741a,_0x3a8e11){return _0x4e741a===_0x3a8e11;},'iFVOA':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','PPlcV':_0x26e7a0(0x195),'DmmXY':'Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','ZXcSv':_0x26e7a0(0x1e8),'jGbYN':_0x26e7a0(0x144),'ZjTlG':function(_0x5d4666,_0x15e746){return _0x5d4666(_0x15e746);},'QLBQp':function(_0x5e83ee,_0x38a600){return _0x5e83ee(_0x38a600);},'dlioA':function(_0xacf3d9,_0x2c79be){return _0xacf3d9(_0x2c79be);}};if(_0x9558f2){const _0x5d5bca=await getFeature(_0x9558f2);await setActiveFeatureId(_0x5d5bca['id']);const _0x193f53=getGitBranch();_0x193f53&&_0x58ea5d[_0x26e7a0(0x11e)](_0x193f53,_0x5d5bca['gitBranch'])&&(await _0x58ea5d[_0x26e7a0(0x1dd)](updateFeature,_0x5d5bca['id'],{'gitBranch':_0x193f53}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x193f53));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x5d5bca['name']+'\x20('+_0x5d5bca['id']+')'),await _0x58ea5d[_0x26e7a0(0x184)](tryStartCurrentSession,_0x5d5bca['id']);const _0x3ca9dc=process[_0x26e7a0(0x1ad)][_0x26e7a0(0x13a)];_0x3ca9dc&&registerSession(_0x3ca9dc,_0x5d5bca['id']);_0x58ea5d[_0x26e7a0(0x1f9)](displayFeature,_0x5d5bca,_0x5d5bca[_0x26e7a0(0x189)]),await printFeedbackNudge(_0x5d5bca['id']);return;}const _0x4e3d0f=_0x58ea5d[_0x26e7a0(0x1b5)](getGitRepoUrl),_0x46a82c=getGitBranch();if(_0x58ea5d['xpDZi'](!_0x4e3d0f,!_0x46a82c))throw new Error(_0x58ea5d['PzGdg']);console[_0x26e7a0(0x1e6)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x58ea5d['pXxWS'](_0x4e3d0f,_0x26e7a0(0x201))+'\x20/\x20'+(_0x46a82c||_0x58ea5d['zASon'])+'...');const _0x5ed72c=await listFeatures({'gitRepoUrl':_0x4e3d0f,'gitBranch':_0x46a82c}),_0x4941a6=_0x5ed72c[_0x26e7a0(0x1e4)][_0x26e7a0(0x179)](_0x507f08=>_0x507f08['status']?_0x507f08['status']!==_0x26e7a0(0x1d3):!_0x507f08[_0x26e7a0(0x15e)]);if(_0x58ea5d['FSuJz'](_0x4941a6[_0x26e7a0(0x141)],0x0)){console['log'](_0x58ea5d[_0x26e7a0(0x145)]),console['log'](_0x58ea5d[_0x26e7a0(0x1fa)]);return;}let _0x1cf2bd;if(_0x58ea5d[_0x26e7a0(0x14b)](_0x4941a6[_0x26e7a0(0x141)],0x1))_0x1cf2bd=_0x4941a6[0x0];else{const _0x48a4e6=process['stdin'][_0x26e7a0(0x1b9)]&&process['stdout'][_0x26e7a0(0x1b9)];if(!_0x48a4e6){console['log'](_0x26e7a0(0x12c));for(const _0x26f32f of _0x4941a6){console['log']('\x20\x20'+_0x26f32f[_0x26e7a0(0x18c)]),console[_0x26e7a0(0x1e6)](_0x26e7a0(0x1c3)+_0x26f32f['id']),_0x26f32f['stats']&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x26f32f[_0x26e7a0(0x130)])),_0x26f32f['gitBranch']&&console[_0x26e7a0(0x1e6)]('\x20\x20\x20\x20\x20Branch:\x20'+_0x26f32f[_0x26e7a0(0x175)]);}throw new Error(_0x58ea5d[_0x26e7a0(0x185)]);}const {selected:_0x3c8e55}=await _0x55965a[_0x26e7a0(0x199)]([{'type':_0x58ea5d[_0x26e7a0(0x1d9)],'name':_0x58ea5d[_0x26e7a0(0x1b3)],'message':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','choices':_0x4941a6['map'](_0x15f90c=>({'name':_0x15f90c[_0x26e7a0(0x18c)]+'\x20('+_0x15f90c['id']+')','value':_0x15f90c['id']}))}]);_0x1cf2bd=_0x4941a6[_0x26e7a0(0x1c0)](_0x3e71db=>_0x3e71db['id']===_0x3c8e55);}await _0x58ea5d['ZjTlG'](setActiveFeatureId,_0x1cf2bd['id']);_0x46a82c&&_0x46a82c!==_0x1cf2bd[_0x26e7a0(0x175)]&&(await updateFeature(_0x1cf2bd['id'],{'gitBranch':_0x46a82c}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x46a82c));console[_0x26e7a0(0x1e6)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x1cf2bd['name']+'\x20('+_0x1cf2bd['id']+')'),await _0x58ea5d['QLBQp'](tryStartCurrentSession,_0x1cf2bd['id']);const _0xd0d364=await _0x58ea5d[_0x26e7a0(0x16a)](getFeature,_0x1cf2bd['id']),_0x1c7094=process['env']['CLAUDE_SESSION_ID'];_0x1c7094&&_0x58ea5d['NBFGF'](registerSession,_0x1c7094,_0xd0d364['id']),displayFeature(_0xd0d364,_0xd0d364['checklistItems']),await printFeedbackNudge(_0xd0d364['id']);}async function printFeedbackNudge(_0x59571d){const _0x1a7511=_0x1dc7d9,_0x595971={'IVJPK':function(_0x5ddeed,_0x448441){return _0x5ddeed>_0x448441;},'OhgbQ':_0x1a7511(0x1f6)};try{const {items:_0x28e83f}=await getActionItems(_0x59571d);let _0x483130=0x0,_0x29b41c=0x0;for(const _0x3ee75 of _0x28e83f){const _0x3c9134=await getItemFeedback(_0x59571d,_0x3ee75['id']);_0x595971[_0x1a7511(0x1a2)](_0x3c9134['unaddressedComments']['length'],0x0)&&(_0x483130+=_0x3c9134['unaddressedComments']['length'],_0x29b41c++);}_0x483130>0x0&&(console[_0x1a7511(0x1e6)](_0x1a7511(0x1cd)+_0x483130+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x29b41c+'\x20scenario(s).'),console['log'](_0x595971['OhgbQ']));}catch{}}async function tryStartCurrentSession(_0x4b70f1){const _0x4910df=_0x1dc7d9;try{const {sessions:_0x4bd9e2}=await listFeatureSessions(_0x4b70f1),_0x51471e=_0x4bd9e2['find'](_0x426bdf=>_0x426bdf[_0x4910df(0x17b)]===_0x4910df(0x1d0));_0x51471e&&(await startSession(_0x4b70f1,_0x51471e['id']),console[_0x4910df(0x1e6)](_0x4910df(0x18f)+_0x51471e[_0x4910df(0x13e)]));}catch{}}export async function featureReport(_0x3eb70a,_0x356f29){const _0x14dbd3=_0x1dc7d9,_0x3edaa2={'JwAyL':function(_0x15e975){return _0x15e975();},'uZOic':function(_0x14fc16){return _0x14fc16();},'qPQZo':function(_0x56a1c0,_0x429900,_0xdfa38b,_0x1d129f){return _0x56a1c0(_0x429900,_0xdfa38b,_0x1d129f);},'tfRAO':_0x14dbd3(0x149)},_0xf6cd94=_0x3eb70a||await _0x3edaa2['JwAyL'](getActiveFeatureId);if(!_0xf6cd94)throw new Error(_0x14dbd3(0x203));console[_0x14dbd3(0x1e6)]('\x0aGenerating\x20report...');const _0x37705c=await getFeatureReportMarkdown(_0xf6cd94,{'style':_0x356f29['style']}),_0x1d2bcb=_0x356f29[_0x14dbd3(0x176)]||join(_0x3edaa2[_0x14dbd3(0x1e9)](getRangerDir),'reports',_0xf6cd94+'.md'),_0x2ffc36=join(_0x1d2bcb,'..');!existsSync(_0x2ffc36)&&await mkdir(_0x2ffc36,{'recursive':!![]}),await _0x3edaa2[_0x14dbd3(0x15f)](writeFile,_0x1d2bcb,_0x37705c,_0x3edaa2['tfRAO']),console['log'](_0x14dbd3(0x178)+_0x1d2bcb);}function getScenarioResult(_0x4c2128){const _0x100fca=_0x1dc7d9,_0x1cb1cd={'usLoD':'verification_in_progress'};if(_0x4c2128[_0x100fca(0x17b)]===_0x100fca(0x1b7))return _0x4c2128[_0x100fca(0x15c)]??_0x100fca(0x1b7);if(_0x4c2128[_0x100fca(0x17b)]===_0x1cb1cd[_0x100fca(0x164)])return _0x100fca(0x1ee);return _0x4c2128['status'];}function getScenarioRationale(_0x42446e,_0x3cdef7){const _0x82b1ab=_0x1dc7d9;if(_0x3cdef7)return _0x3cdef7;if(_0x42446e[_0x82b1ab(0x174)])return _0x42446e[_0x82b1ab(0x174)];if(_0x42446e['incompleteReason'])return _0x42446e['incompleteReason'];if(_0x42446e[_0x82b1ab(0x1e1)])return _0x42446e[_0x82b1ab(0x1e1)];if(_0x42446e[_0x82b1ab(0x1af)])return _0x42446e[_0x82b1ab(0x1af)];return null;}export async function featureReportPrDescription(_0x13b61f,_0xe897ec){const _0x2c867a=_0x1dc7d9,_0x3bb8d6={'GiYRn':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Tyaxl':function(_0x4e7bac,_0x4b3df6){return _0x4e7bac(_0x4b3df6);},'avLVJ':function(_0x5ac105,_0x537a6a){return _0x5ac105>_0x537a6a;},'btLvm':_0x2c867a(0x1a9),'eJmUE':function(_0x131c25,_0x5af00f){return _0x131c25+_0x5af00f;},'NJvXb':function(_0x32008d,_0x1c0d34){return _0x32008d===_0x1c0d34;},'ZRber':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.'},_0x562dac=_0x13b61f||await getActiveFeatureId();if(!_0x562dac)throw new Error(_0x3bb8d6[_0x2c867a(0x12d)]);const _0x5179b5=await _0x3bb8d6['Tyaxl'](getFeature,_0x562dac),_0x2bcdf2=_0x5179b5[_0x2c867a(0x189)]||[],_0x6f5255=getCurrentSessionItems(_0x5179b5,_0x2bcdf2);_0x6f5255['length']===0x0&&(console[_0x2c867a(0x135)](_0x2c867a(0x156)),process['exit'](0x1));const _0xdd8e4a=_0xe897ec['excludeScenarios']??[],_0x54d677=_0xdd8e4a['filter'](_0xa855b5=>!Number[_0x2c867a(0x191)](_0xa855b5)||_0xa855b5<0x1||_0xa855b5>_0x6f5255['length']);if(_0x3bb8d6[_0x2c867a(0x16d)](_0x54d677['length'],0x0)){console['error'](_0x2c867a(0x1ff)+_0x54d677['join'](',\x20')),console[_0x2c867a(0x1e6)](_0x3bb8d6[_0x2c867a(0x146)]);for(let _0x3f666d=0x0;_0x3f666d<_0x6f5255[_0x2c867a(0x141)];_0x3f666d++){console['log']('\x20\x20'+_0x3bb8d6['eJmUE'](_0x3f666d,0x1)+'.\x20'+_0x6f5255[_0x3f666d][_0x2c867a(0x1f1)]);}process[_0x2c867a(0x177)](0x1);}const _0xb45991=new Set(_0xdd8e4a[_0x2c867a(0x1c1)](_0x7ad028=>_0x7ad028-0x1)),_0x1d8372=_0x6f5255['filter']((_0x2f0508,_0x305f0e)=>!_0xb45991[_0x2c867a(0x12f)](_0x305f0e));_0x3bb8d6[_0x2c867a(0x18e)](_0x1d8372[_0x2c867a(0x141)],0x0)&&(console['error'](_0x3bb8d6['ZRber']),process[_0x2c867a(0x177)](0x1));if(_0xe897ec[_0x2c867a(0x1fd)])await outputJsonReport(_0x562dac,_0x5179b5,_0x1d8372);else{const _0x5d4548=await getFeatureReportMarkdown(_0x562dac,{'itemIds':_0x1d8372['map'](_0xacf849=>_0xacf849['id'])});process[_0x2c867a(0x169)][_0x2c867a(0x17e)](_0x5d4548['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x33b25a,_0x5f1c85,_0x220552){const _0x5e324f=_0x1dc7d9,_0x11fd0a={'iuICC':function(_0x2ba851,_0x114f8c){return _0x2ba851(_0x114f8c);},'vkeWC':function(_0x38d9ae,_0x39ed1a,_0x3f7b58){return _0x38d9ae(_0x39ed1a,_0x3f7b58);},'birJg':function(_0x2e5c9f){return _0x2e5c9f();}},_0x575ba6=_0x11fd0a[_0x5e324f(0x1f2)](getApiBaseUrl),_0x543fa6=await getFeatureReport(_0x33b25a),_0x157f57=new Map(_0x543fa6['checklistItems']['map'](_0x35e321=>[_0x35e321['id'],_0x35e321])),_0x3452ed=await Promise[_0x5e324f(0x1fc)](_0x220552['map'](async _0x42a6c1=>{const _0x543f06=_0x5e324f,_0x7c8e12=_0x157f57[_0x543f06(0x190)](_0x42a6c1['id']),_0x383ae8=_0x7c8e12?.[_0x543f06(0x1fb)]??null;let _0x304a5c=[];if(_0x42a6c1['browserSessionId'])try{const {steps:_0x1e0d7b}=await _0x11fd0a['iuICC'](getBrowserSessionSteps,_0x42a6c1[_0x543f06(0x1aa)]);_0x1e0d7b['length']>0x0&&(_0x304a5c=_0x1e0d7b['map'](_0x2e4db9=>{const _0x4d4ba8=_0x543f06,_0x275396=_0x2e4db9[_0x4d4ba8(0x1a6)]['find'](_0x4dc10d=>_0x4dc10d['assetType']===_0x4d4ba8(0x1b1)&&_0x4dc10d['timing']==='after')??_0x2e4db9['assets']['find'](_0x2905f9=>_0x2905f9[_0x4d4ba8(0x14c)]==='screenshot');let _0xb9d7d5=null,_0x259142=null;if(_0x275396){const _0x443867=_0x275396['storage']['location'][_0x4d4ba8(0x17f)]('/')['pop']();_0xb9d7d5=_0x575ba6+'/api/v1/mcp/browser-sessions/'+_0x42a6c1[_0x4d4ba8(0x1aa)]+_0x4d4ba8(0x1eb)+_0x443867,_0x443867&&(_0x259142=_0x443867['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x259142||_0x2e4db9[_0x4d4ba8(0x1f1)]||_0x2e4db9['stepName']||'Step\x20'+_0x2e4db9['position'],'screenshot':_0xb9d7d5,'is_key_step':_0x2e4db9[_0x4d4ba8(0x197)]};}));}catch{}return _0x304a5c[_0x543f06(0x141)]===0x0&&_0x383ae8?.['screenshotUrls']&&(_0x304a5c=_0x383ae8['screenshotUrls'][_0x543f06(0x1c1)]((_0x1e73f5,_0x53c5c4)=>({'description':'Screenshot\x20'+(_0x53c5c4+0x1),'screenshot':_0x1e73f5,'is_key_step':![]}))),{'description':_0x42a6c1['description'],'result':getScenarioResult(_0x42a6c1),'rationale':_0x11fd0a['vkeWC'](getScenarioRationale,_0x42a6c1,_0x383ae8?.[_0x543f06(0x1b8)]),'steps':_0x304a5c};})),_0x413fc7={'url':_0x5f1c85['dashboardUrl'],'scenarios':_0x3452ed};process[_0x5e324f(0x169)][_0x5e324f(0x17e)](JSON[_0x5e324f(0x129)](_0x413fc7,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x5b38ad){const _0x2e69a9=_0x1dc7d9,_0x71147b={'MfzYv':_0x2e69a9(0x1c5),'EqLcn':function(_0x12bbaf,_0x48ad11){return _0x12bbaf(_0x48ad11);},'VRmpF':'No\x20active\x20session\x20for\x20this\x20feature\x20review.','vegBI':function(_0xf9402c,_0x52439e){return _0xf9402c(_0x52439e);},'qDsei':'Current\x20session\x20not\x20found.','ayiSZ':function(_0x1590c7,_0x2940de){return _0x1590c7!==_0x2940de;},'TaGbP':_0x2e69a9(0x17a)},_0x2ea28f=_0x5b38ad||await getActiveFeatureId();if(!_0x2ea28f)throw new Error(_0x71147b['MfzYv']);const _0x258d41=await _0x71147b['EqLcn'](getFeature,_0x2ea28f);if(!_0x258d41[_0x2e69a9(0x154)])throw new Error(_0x71147b['VRmpF']);const {sessions:_0x20f62d}=await _0x71147b['vegBI'](listFeatureSessions,_0x2ea28f),_0x3af470=_0x20f62d[_0x2e69a9(0x1c0)](_0x39ce70=>_0x39ce70['id']===_0x258d41[_0x2e69a9(0x154)]);if(!_0x3af470)throw new Error(_0x71147b[_0x2e69a9(0x150)]);if(_0x3af470[_0x2e69a9(0x17b)]==='completed'){console[_0x2e69a9(0x1e6)](_0x2e69a9(0x17c));return;}if(_0x71147b['ayiSZ'](_0x3af470[_0x2e69a9(0x17b)],'in_progress'))throw new Error(_0x2e69a9(0x172)+_0x3af470[_0x2e69a9(0x17b)]);console[_0x2e69a9(0x1e6)](_0x71147b['TaGbP']),await concludeSession(_0x2ea28f,_0x258d41['currentSessionId']),console[_0x2e69a9(0x1e6)](_0x2e69a9(0x1bc)+_0x3af470[_0x2e69a9(0x13e)]+_0x2e69a9(0x1df)),console[_0x2e69a9(0x1e6)](_0x2e69a9(0x187));}export async function featureSessions(_0x3eac5a){const _0x33b7c6=_0x1dc7d9,_0x389fc2={'xfzfn':function(_0x7b31c5){return _0x7b31c5();},'oXzkY':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','tzvqa':function(_0x59ec31,_0x101b16){return _0x59ec31(_0x101b16);},'CPgTG':_0x33b7c6(0x16c),'ECnWx':function(_0x51a20a,_0x9f409a){return _0x51a20a===_0x9f409a;},'lihje':_0x33b7c6(0x1ee)},_0x6ecb80=_0x3eac5a||await _0x389fc2[_0x33b7c6(0x1ac)](getActiveFeatureId);if(!_0x6ecb80)throw new Error(_0x389fc2['oXzkY']);const _0x137537=await _0x389fc2[_0x33b7c6(0x1c4)](getFeature,_0x6ecb80);console['log'](_0x33b7c6(0x200)+_0x137537['name']+'\x0a');const {sessions:_0x595386}=await listFeatureSessions(_0x6ecb80);if(_0x595386[_0x33b7c6(0x141)]===0x0){console[_0x33b7c6(0x1e6)](_0x389fc2[_0x33b7c6(0x1f0)]);return;}for(const _0x24fed3 of _0x595386){const _0x23edc1=_0x24fed3[_0x33b7c6(0x17b)]===_0x33b7c6(0x13f)?'✅':_0x389fc2['ECnWx'](_0x24fed3['status'],_0x389fc2[_0x33b7c6(0x1a5)])?'🔄':'▶️';console['log'](_0x23edc1+'\x20Session\x20'+_0x24fed3[_0x33b7c6(0x13e)]+'\x20('+_0x24fed3['id']+')'),console[_0x33b7c6(0x1e6)]('\x20\x20\x20Status:\x20'+_0x24fed3[_0x33b7c6(0x17b)]),console[_0x33b7c6(0x1e6)](_0x33b7c6(0x138)+new Date(_0x24fed3['createdAt'])[_0x33b7c6(0x1ea)]()),_0x24fed3[_0x33b7c6(0x15e)]&&console[_0x33b7c6(0x1e6)](_0x33b7c6(0x1a1)+new Date(_0x24fed3[_0x33b7c6(0x15e)])[_0x33b7c6(0x1ea)]()),console[_0x33b7c6(0x1e6)]('');}}export async function featureAddScenario(_0x46d069,_0x720464){const _0xb81fb2=_0x1dc7d9,_0x1a8feb={'BHpsk':function(_0x579d47,_0x4bb7e2,_0x4b96c8){return _0x579d47(_0x4bb7e2,_0x4b96c8);},'ZbIoV':function(_0x78d9fa,_0x2f5f41,_0x11f6d0){return _0x78d9fa(_0x2f5f41,_0x11f6d0);}},_0x1905d7=_0x720464||await getActiveFeatureId();if(!_0x1905d7)throw new Error(_0xb81fb2(0x1c5));const _0x5d2d26=await getFeature(_0x1905d7);if(_0x5d2d26[_0xb81fb2(0x14a)]&&!_0x5d2d26['latestReview'][_0xb81fb2(0x159)])throw new Error(_0xb81fb2(0x193)+_0x5d2d26[_0xb81fb2(0x18a)]);await _0x1a8feb[_0xb81fb2(0x1cc)](createChecklistItem,_0x1905d7,_0x46d069);const _0xcf1b1c=await getFeature(_0x1905d7);console['log']('\x0a✅\x20Scenario\x20added'),_0x1a8feb[_0xb81fb2(0x19d)](displayFeature,_0xcf1b1c,_0xcf1b1c[_0xb81fb2(0x189)]);}export async function featureEditScenario(_0x23780b,_0x147dfd){const _0x173f94=_0x1dc7d9,_0x1c6540={'tBlWU':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','jMMnI':'Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','kfxaq':function(_0x4efc78,_0x5ed969){return _0x4efc78(_0x5ed969);},'cNRFr':_0x173f94(0x1ab),'lkKWR':_0x173f94(0x131),'JkhIB':_0x173f94(0x1e2),'uRgID':'\x0aAvailable\x20scenarios:','SvdSP':function(_0x4d1ebd,_0x5b6e03){return _0x4d1ebd<_0x5b6e03;},'PkPtZ':function(_0x45645b,_0x4ac794){return _0x45645b-_0x4ac794;},'dbGGP':function(_0x2ba997,_0x492233){return _0x2ba997<_0x492233;},'YDHZA':function(_0x119796,_0x18b5ed){return _0x119796>=_0x18b5ed;},'FyNJq':function(_0xccaef6,_0x14ba11){return _0xccaef6<_0x14ba11;},'aDSvi':function(_0x29ebc7,_0x509705,_0x50547e,_0x1f6bd7){return _0x29ebc7(_0x509705,_0x50547e,_0x1f6bd7);}},_0x52aa12=_0x147dfd['id']||await getActiveFeatureId();!_0x52aa12&&(console[_0x173f94(0x135)](_0x1c6540[_0x173f94(0x1b6)]),console[_0x173f94(0x135)](_0x1c6540[_0x173f94(0x12a)]),process[_0x173f94(0x177)](0x1));const _0x498fd6=await _0x1c6540['kfxaq'](getFeature,_0x52aa12);_0x498fd6[_0x173f94(0x14a)]&&!_0x498fd6[_0x173f94(0x14a)][_0x173f94(0x159)]&&(console['error'](_0x1c6540[_0x173f94(0x1c8)]),console[_0x173f94(0x135)](_0x1c6540['lkKWR']),console[_0x173f94(0x135)]('\x20\x20'+_0x498fd6['dashboardUrl']),process['exit'](0x1));const _0x5c6032=_0x498fd6[_0x173f94(0x189)]||[];_0x5c6032['length']===0x0&&(console[_0x173f94(0x135)](_0x1c6540[_0x173f94(0x1a0)]),process['exit'](0x1));if(_0x147dfd[_0x173f94(0x18b)]===undefined){console[_0x173f94(0x135)]('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console['log'](_0x1c6540['uRgID']);for(let _0x42227d=0x0;_0x1c6540['SvdSP'](_0x42227d,_0x5c6032['length']);_0x42227d++){console[_0x173f94(0x1e6)]('\x20\x20'+(_0x42227d+0x1)+'.\x20'+_0x5c6032[_0x42227d]['description']);}process['exit'](0x1);}const _0x223e25=_0x1c6540['PkPtZ'](_0x147dfd[_0x173f94(0x18b)],0x1);if(_0x1c6540[_0x173f94(0x165)](_0x223e25,0x0)||_0x1c6540['YDHZA'](_0x223e25,_0x5c6032['length'])){console[_0x173f94(0x135)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x147dfd[_0x173f94(0x18b)]+'.\x20Feature\x20review\x20has\x20'+_0x5c6032['length']+_0x173f94(0x19a)),console[_0x173f94(0x1e6)]('\x0aAvailable\x20scenarios:');for(let _0x1bd81b=0x0;_0x1c6540['FyNJq'](_0x1bd81b,_0x5c6032[_0x173f94(0x141)]);_0x1bd81b++){console[_0x173f94(0x1e6)]('\x20\x20'+(_0x1bd81b+0x1)+'.\x20'+_0x5c6032[_0x1bd81b]['description']);}process['exit'](0x1);}const _0x45488c=_0x5c6032[_0x223e25];await _0x1c6540[_0x173f94(0x1d7)](updateChecklistItem,_0x52aa12,_0x45488c['id'],{'description':_0x23780b});const _0x49a0e5=await getFeature(_0x52aa12);console['log'](_0x173f94(0x198)),displayFeature(_0x49a0e5,_0x49a0e5['checklistItems']);}async function downloadFeedbackImage(_0x2accd4,_0x358b80){const _0x1e1873=_0x1dc7d9,_0x327194={'UJFSY':function(_0x2d9600,_0x5c4f49,_0x31350b){return _0x2d9600(_0x5c4f49,_0x31350b);},'rlKzE':function(_0x3b5806,_0x4b1e8){return _0x3b5806(_0x4b1e8);}};try{const _0x38b64d=join(getRangerDir(),'feedback-images');await mkdir(_0x38b64d,{'recursive':!![]});const _0x1f21f1=_0x327194[_0x1e1873(0x1f8)](join,_0x38b64d,'comment_'+_0x358b80+_0x1e1873(0x14e)),_0x2be964=await _0x327194['rlKzE'](fetch,_0x2accd4);if(!_0x2be964['ok'])return null;const _0x269a63=Buffer['from'](await _0x2be964['arrayBuffer']());return await writeFile(_0x1f21f1,_0x269a63),_0x1f21f1;}catch{return null;}}export async function featureGetReview(_0x17d8c1){const _0x34efe4=_0x1dc7d9,_0x4be175={'kqnue':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','aozRE':function(_0x5c22e6,_0x19b668){return _0x5c22e6(_0x19b668);},'nWTcG':'No\x20scenarios\x20found.','lVZIU':function(_0x110e50,_0x2973f1){return _0x110e50>_0x2973f1;},'hHvdn':function(_0x27cacb,_0x3eeb22){return _0x27cacb>_0x3eeb22;},'dCpKS':function(_0x48d887,_0xf1e3a0){return _0x48d887+_0xf1e3a0;},'fsitC':_0x34efe4(0x16f),'aVEKd':'\x20>\x20','JFKTp':'element'},_0x3d785b=_0x17d8c1||await getActiveFeatureId();if(!_0x3d785b)throw new Error(_0x4be175['kqnue']);const _0x47c155=await _0x4be175['aozRE'](getFeature,_0x3d785b),{items:_0x31a235}=await _0x4be175[_0x34efe4(0x15d)](getActionItems,_0x3d785b);console['log']('\x0a📋\x20Feedback\x20for:\x20'+_0x47c155['name']+'\x20('+_0x47c155['id']+')\x0a');if(_0x31a235[_0x34efe4(0x141)]===0x0){console['log'](_0x4be175[_0x34efe4(0x140)]);return;}for(let _0x446ff8=0x0;_0x446ff8<_0x31a235[_0x34efe4(0x141)];_0x446ff8++){const _0x2f982e=_0x31a235[_0x446ff8],_0x4f876d=_0x4be175['lVZIU'](_0x2f982e[_0x34efe4(0x1e0)],0x1)?_0x34efe4(0x127)+_0x2f982e['version']+')':'',_0x149db8=await getItemFeedback(_0x3d785b,_0x2f982e['id']);if(_0x4be175['hHvdn'](_0x149db8['unaddressedComments']['length'],0x0)){console['log'](_0x34efe4(0x120)+_0x4be175[_0x34efe4(0x1fe)](_0x446ff8,0x1)+_0x34efe4(0x161)+_0x2f982e[_0x34efe4(0x1f1)]+'\x22'+_0x4f876d+'\x20—\x20'+_0x149db8[_0x34efe4(0x1ae)]['length']+'\x20unaddressed\x20comment(s)');for(const _0x470672 of _0x149db8[_0x34efe4(0x1ae)]){const _0x17c7b1=new Date(_0x470672['createdAt'])['toLocaleDateString']('en-US',{'month':'short','day':_0x34efe4(0x13d)}),_0xea0a56=_0x470672['authorName']||_0x470672[_0x34efe4(0x123)]||_0x4be175['fsitC'];console[_0x34efe4(0x1e6)](_0x34efe4(0x1bb)+_0xea0a56+'\x20('+_0x17c7b1+'):\x20\x22'+_0x470672[_0x34efe4(0x13b)]+'\x22');if(_0x470672[_0x34efe4(0x1f7)]){const _0x2d485b=await downloadFeedbackImage(_0x470672['assetUrl'],_0x470672['id']);_0x2d485b&&console['log']('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x2d485b);}if(_0x470672[_0x34efe4(0x128)]){const _0x22d07a=_0x470672[_0x34efe4(0x128)][_0x34efe4(0x1db)]['split'](_0x4be175[_0x34efe4(0x19f)])[_0x34efe4(0x152)]()?.['split'](':')[0x0]||_0x4be175['JFKTp'],_0x455b93=_0x470672['domRef']['textContent']?'\x20\x22'+_0x470672[_0x34efe4(0x128)]['textContent']['slice'](0x0,0x3c)+'\x22':'';console[_0x34efe4(0x1e6)](_0x34efe4(0x121)+_0x22d07a+'>'+_0x455b93),console[_0x34efe4(0x1e6)](_0x34efe4(0x188)+_0x470672[_0x34efe4(0x128)][_0x34efe4(0x1db)]);}else{if(_0x470672['spatial']){const _0x1db2f4=_0x470672['spatial']['coordinates'];_0x470672['spatial'][_0x34efe4(0x143)]==='point'&&_0x1db2f4['length']>=0x2?console[_0x34efe4(0x1e6)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x1db2f4[0x0][_0x34efe4(0x1ed)](0x2)+',\x20'+_0x1db2f4[0x1][_0x34efe4(0x1ed)](0x2)+')'):console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x470672['spatial'][_0x34efe4(0x143)]+_0x34efe4(0x132)+_0x1db2f4[_0x34efe4(0x1c1)](_0x5361ba=>_0x5361ba['toFixed'](0x2))[_0x34efe4(0x148)](',\x20')+']');}}}if(_0x149db8['canonicalFlow']){console[_0x34efe4(0x1e6)]('\x20\x20Expected\x20flow:');for(const _0xf1cc4c of _0x149db8[_0x34efe4(0x1d8)][_0x34efe4(0x17f)]('\x0a')){console[_0x34efe4(0x1e6)]('\x20\x20\x20\x20'+_0xf1cc4c);}}}else console['log']('Scenario\x20'+(_0x446ff8+0x1)+_0x34efe4(0x161)+_0x2f982e[_0x34efe4(0x1f1)]+'\x22'+_0x4f876d+_0x34efe4(0x1d6)),console['log'](_0x34efe4(0x204));console['log']('');}}export async function featureDelete(_0x5b156d){const _0x2100a0=_0x1dc7d9,_0x55cc56={'UlpQj':function(_0xf016d0){return _0xf016d0();},'gyzvO':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','VFdzh':function(_0x3dc4a1,_0x306cb6){return _0x3dc4a1(_0x306cb6);},'HUlnv':'\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'},_0x521f6e=_0x5b156d||await _0x55cc56['UlpQj'](getActiveFeatureId);if(!_0x521f6e)throw new Error(_0x55cc56['gyzvO']);const _0x147a55=await _0x55cc56[_0x2100a0(0x1f4)](getFeature,_0x521f6e);await softDeleteFeature(_0x521f6e),console[_0x2100a0(0x1e6)](_0x2100a0(0x186)+_0x147a55[_0x2100a0(0x18c)]+'\x20('+_0x521f6e+')'),console[_0x2100a0(0x1e6)](_0x55cc56['HUlnv']+_0x521f6e);}export async function featureRestore(_0x4d952f){const _0x2e1a1e=_0x1dc7d9,_0x3e45c5={'jbkIA':function(_0x4d96fc,_0x443a79){return _0x4d96fc(_0x443a79);}};await restoreFeature(_0x4d952f);const _0x2712eb=await _0x3e45c5['jbkIA'](getFeature,_0x4d952f);console[_0x2e1a1e(0x1e6)](_0x2e1a1e(0x167)+_0x2712eb['name']+'\x20('+_0x4d952f+')'),displayFeature(_0x2712eb,_0x2712eb[_0x2e1a1e(0x189)]);}
1
+ const _0x18c1a1=_0x4b21;(function(_0x4ef480,_0x5ec579){const _0x5b09bd=_0x4b21,_0x2e675a=_0x4ef480();while(!![]){try{const _0x4da95e=-parseInt(_0x5b09bd(0x175))/0x1+parseInt(_0x5b09bd(0x15e))/0x2*(-parseInt(_0x5b09bd(0x17c))/0x3)+-parseInt(_0x5b09bd(0x1dc))/0x4+parseInt(_0x5b09bd(0x1f2))/0x5+-parseInt(_0x5b09bd(0x17e))/0x6*(parseInt(_0x5b09bd(0x1e2))/0x7)+parseInt(_0x5b09bd(0x1cd))/0x8*(-parseInt(_0x5b09bd(0x1e7))/0x9)+parseInt(_0x5b09bd(0x1af))/0xa;if(_0x4da95e===_0x5ec579)break;else _0x2e675a['push'](_0x2e675a['shift']());}catch(_0x4381fb){_0x2e675a['push'](_0x2e675a['shift']());}}}(_0x5e00,0x5272d));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x332a5a 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=_0x18c1a1(0x227),bold=_0x530c73=>'\x1b[1m'+_0x530c73+'\x1b[0m';function getGitRepoUrl(){const _0x4f04cc=_0x18c1a1,_0x48653b={'fbXiI':'utf-8','tuwjU':_0x4f04cc(0x151)};try{const _0x206634=execSync('git\x20remote\x20get-url\x20origin',{'encoding':_0x48653b[_0x4f04cc(0x1f6)],'stdio':[_0x48653b['tuwjU'],_0x48653b[_0x4f04cc(0x215)],'pipe']})[_0x4f04cc(0x1aa)]();return _0x206634[_0x4f04cc(0x1c0)](/\.git$/,'')[_0x4f04cc(0x1c0)](/^git@github\.com:/,_0x4f04cc(0x178))[_0x4f04cc(0x1c0)](/^https?:\/\//,'');}catch{return undefined;}}function _0x5e00(){const _0x99b4f3=['1153392wxAWgX','/api/v1/mcp/browser-sessions/','\x0a⚠️\x20\x20','gQKkl','\x20\x20\x20\x20\x20📋\x20Selector:\x20','\x20\x20💬\x20','closed','git\x20rev-parse\x20--abbrev-ref\x20HEAD','in_progress','slice','Showing\x20','Screenshot\x20','checklistItems','split','xijgA','fFSGI','location','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x20\x20\x20\x20\x20\x20Cancelled:\x20','isInteger','limit','fhnUm','604330pCgjbi','Scenario\x20','\x0a✅\x20Scenario\x20updated','github.com/','\x0aNo\x20feature\x20reviews\x20found.','dHsAX','screenshot','3lYvjCo','QiUVw','6186bLQeDq','sCBOi','\x0aAvailable\x20scenarios:','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','env','assets','No\x20sessions\x20found.','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','utf-8','version','offset','verification_in_progress','WXDYl','XMHCx','completed','GgVuW','EOtKU','\x20scenarios.','gitBranch','sessionId','yBqtY','json','verificationInProgressItems','find','selector','incomplete','type','verified','ElGzu','canonicalFlow','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','\x20\x20\x20Progress:\x20','\x20\x20\x20Branch:\x20','ieDyY','write','\x0aCreating\x20feature\x20review...','INyKU','eduuo','blockedReason','get','vYxwN','IMLsx','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','HPJvF','trim','pop','completedAt','\x20\x20\x20\x20\x20\x20Blocked:\x20','length','28133890Orapcl','coordinates','\x20concluded.','ZxPjD','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','all','hjCMy','BkexA','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','\x20\x20\x20Created:\x20','\x20of\x20','\x20at\x20[','stepName','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','VzeqX','toLocaleString','uFeua','replace','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','cfbKm','toFixed','join','description','\x0aConcluding\x20session...','canceledReason','tRWoM','name','style','short','\x20feature\x20review(s)\x20found','1504qziidY','latestReview','HasJf','submittedAt','stringify','numeric','incompleteReason','iteration','assetUrl','CLAUDE_SESSION_ID','qhuhU','spatial','JDAdi','scenarios','\x20\x20\x20Completed:\x20','1503704biBDQl','sBzML','\x20\x20Expected\x20flow:','vsvmi','totalCount','error','2667xJbakT','jbduA','unaddressedComments','PmDcE','lbFwY','30510oTpTNN','zhZlR','miErG','\x0a✅\x20Report\x20generated:\x20','content','createdAt','verifiedItems','scenario','ZmkZr','\x20\x20\x20\x20','incompleteItems','557015quMQEG','selected','approved','stats','fbXiI','\x20\x20\x20\x20\x20Progress:\x20','mffIj','AAwMZ',':\x20\x22','MsalW','.md','en-US','Next\x20page:\x20ranger\x20list\x20--offset\x20','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','uFHWy','\x20[has\x20reviewer\x20feedback]','domRef','flNeG','qhPEg','qouPt','\x20\x20\x20','\x20\x20\x20ID:\x20','EdmEd','.png','\x20Session\x20','\x0a✅\x20Restored\x20feature\x20review:\x20','isKeyStep','parentItemId','tzkZD','after','rWdzf','EWsuf','assetType','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x0a✅\x20Resumed\x20feature\x20review:\x20','tuwjU','\x20—\x20no\x20comments','No\x20active\x20session\x20for\x20this\x20feature\x20review.','BuKsV','items','\x20blocked','map','excludeScenarios','exit','YPlGI','repeat','kqYRW','textContent','includeDeleted','\x20in\x20progress','.\x20Feature\x20review\x20has\x20','JTZko','timing','active-feature.txt','dashboardUrl','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','ELeUB','PpQHU','\x20\x20\x20Status:\x20','prompt','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','eGrxH','aCyCc','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','fLlxe','currentSessionId','terminalReason','currentBranch','\x0aGenerating\x20report...','isTTY','from','any','SYYYB','pipe','ready','stdout','status','log','filter','\x0a📋\x20Feedback\x20for:\x20','screenshotUrls','SlOFg','round','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','KaWaT','XJUUD'];_0x5e00=function(){return _0x99b4f3;};return _0x5e00();}function getGitBranch(){const _0x5a1788=_0x18c1a1,_0x4532d1={'qhuhU':_0x5a1788(0x165),'ZxPjD':_0x5a1788(0x151)};try{return execSync(_0x4532d1[_0x5a1788(0x1d7)],{'encoding':'utf-8','stdio':[_0x4532d1[_0x5a1788(0x1b2)],_0x4532d1[_0x5a1788(0x1b2)],'pipe']})[_0x5a1788(0x1aa)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x1d7790=_0x18c1a1,_0x46e031={'HfVcl':function(_0x55cd9c,_0x256f35,_0x37e9f6){return _0x55cd9c(_0x256f35,_0x37e9f6);},'fKsjd':function(_0x474f79,_0x566e3b){return _0x474f79(_0x566e3b);},'cfbKm':'utf-8'},_0x25940b=_0x46e031['HfVcl'](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!_0x46e031['fKsjd'](existsSync,_0x25940b))return null;try{const _0x10ae96=await _0x46e031['HfVcl'](readFile,_0x25940b,_0x46e031[_0x1d7790(0x1c2)]);return _0x10ae96[_0x1d7790(0x1aa)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x54dc82){const _0x55ffa4=_0x18c1a1,_0x1c976a={'sCBOi':function(_0x3e7fa7){return _0x3e7fa7();},'EnHKZ':function(_0x40fcc2,_0x4ff52e){return _0x40fcc2(_0x4ff52e);},'QiUVw':function(_0x280f3a,_0x8b1f7a,_0x652dd6,_0x50a29f){return _0x280f3a(_0x8b1f7a,_0x652dd6,_0x50a29f);}},_0x497757=_0x1c976a[_0x55ffa4(0x17f)](getRangerDir),_0x1e30ec=join(_0x497757,ACTIVE_FEATURE_FILE);!_0x1c976a['EnHKZ'](existsSync,_0x497757)&&await mkdir(_0x497757,{'recursive':!![]}),await _0x1c976a[_0x55ffa4(0x17d)](writeFile,_0x1e30ec,_0x54dc82,_0x55ffa4(0x186));}function getProgressDisplay(_0x1a7de2){const _0x10f92b=_0x18c1a1,_0x2d406a={'qhPEg':function(_0x57deb6,_0x15c0fd){return _0x57deb6+_0x15c0fd;},'zNqwD':function(_0x470590,_0x308dbb){return _0x470590===_0x308dbb;},'jWZfO':function(_0x32b92c,_0x479fc8){return _0x32b92c>_0x479fc8;},'ElGzu':function(_0x4eacf4,_0x533da0){return _0x4eacf4>_0x533da0;}},_0x5e8785=_0x1a7de2[_0x10f92b(0x1ed)]||0x0,_0x2656c4=_0x1a7de2[_0x10f92b(0x194)]||0x0,_0x51d70c=_0x1a7de2['blockedItems']||0x0,_0x8f45c0=_0x1a7de2[_0x10f92b(0x1f1)]||0x0,_0x1662dd=_0x1a7de2['pendingItems']||0x0,_0x4c1b5e=_0x2d406a[_0x10f92b(0x204)](_0x2d406a['qhPEg'](_0x2d406a[_0x10f92b(0x204)](_0x5e8785+_0x2656c4,_0x51d70c),_0x8f45c0),_0x1662dd);if(_0x2d406a['zNqwD'](_0x4c1b5e,0x0))return'-';const _0x1d771c=0xa,_0x53f9fc=Math[_0x10f92b(0x15a)](_0x5e8785/_0x4c1b5e*_0x1d771c),_0x243ccf=_0x2d406a['qhPEg']('█'['repeat'](_0x53f9fc),'░'[_0x10f92b(0x21f)](_0x1d771c-_0x53f9fc)),_0x3ac598=[];if(_0x2d406a['jWZfO'](_0x51d70c,0x0))_0x3ac598['push'](_0x51d70c+_0x10f92b(0x21a));if(_0x2d406a[_0x10f92b(0x19a)](_0x8f45c0,0x0))_0x3ac598['push'](_0x8f45c0+'\x20incomplete');if(_0x2d406a[_0x10f92b(0x19a)](_0x2656c4,0x0))_0x3ac598['push'](_0x2656c4+_0x10f92b(0x223));const _0x11b3bb=_0x3ac598[_0x10f92b(0x1ae)]>0x0?'\x20('+_0x3ac598['join'](',\x20')+')':'';return _0x243ccf+'\x20'+_0x5e8785+'/'+_0x4c1b5e+'\x20verified'+_0x11b3bb;}function getCurrentSessionItems(_0x36738c,_0x1ed3f3){const _0x24ab4e=_0x18c1a1;if(!_0x36738c['currentSessionId'])return _0x1ed3f3[_0x24ab4e(0x156)](_0x48350e=>!_0x48350e[_0x24ab4e(0x191)]);return _0x1ed3f3['filter'](_0x532712=>_0x532712['sessionId']===_0x36738c[_0x24ab4e(0x233)]||!_0x532712[_0x24ab4e(0x191)]);}function displayFeature(_0x55d8ca,_0x1cb7c6){const _0x1b1d49=_0x18c1a1,_0x4b6b0d={'rWdzf':function(_0x5c212f,_0xf4dc8c){return _0x5c212f>_0xf4dc8c;},'EOtKU':'\x0a\x20\x20\x20Scenarios:','rpdBD':function(_0x397027,_0x22e69a){return _0x397027===_0x22e69a;},'vGSnK':function(_0x2344b0,_0xd9670f){return _0x2344b0===_0xd9670f;},'KaWaT':function(_0x5d3b40,_0x107fc8){return _0x5d3b40===_0x107fc8;},'xyBsG':function(_0x3dfa57,_0x19b584){return _0x3dfa57===_0x19b584;},'INyKU':function(_0x4680a9,_0x5ecc6c){return _0x4680a9===_0x5ecc6c;},'fhnUm':_0x1b1d49(0x164),'HPJvF':function(_0x3c6615,_0x4df8d8){return _0x3c6615===_0x4df8d8;},'yBqtY':_0x1b1d49(0x189),'iJqdL':function(_0x147331,_0x3695b6){return _0x147331!==_0x3695b6;},'tvLWx':_0x1b1d49(0x201),'WHgag':function(_0x56d746,_0x2d539b){return _0x56d746+_0x2d539b;},'vYxwN':'blocked','fIURw':_0x1b1d49(0x1f4),'PmnaK':function(_0x540377,_0x57e6da){return _0x540377===_0x57e6da;}};console['log']('\x0a'+_0x55d8ca[_0x1b1d49(0x1c9)]+'\x20('+_0x55d8ca[_0x1b1d49(0x228)]+')');_0x55d8ca[_0x1b1d49(0x1f5)]&&console['log'](_0x1b1d49(0x19d)+getProgressDisplay(_0x55d8ca['stats']));_0x55d8ca['description']&&console[_0x1b1d49(0x155)]('\x20\x20\x20Description:\x20'+_0x55d8ca[_0x1b1d49(0x1c5)]);_0x55d8ca['gitRepoUrl']&&console['log']('\x20\x20\x20Repository:\x20'+_0x55d8ca['gitRepoUrl']);_0x55d8ca[_0x1b1d49(0x190)]&&console[_0x1b1d49(0x155)](_0x1b1d49(0x19e)+_0x55d8ca[_0x1b1d49(0x190)]);console['log'](_0x1b1d49(0x1b8)+new Date(_0x55d8ca['createdAt'])[_0x1b1d49(0x1be)]());_0x55d8ca[_0x1b1d49(0x1ac)]&&console['log'](_0x1b1d49(0x1db)+new Date(_0x55d8ca['completedAt'])['toLocaleString']());if(_0x1cb7c6&&_0x4b6b0d[_0x1b1d49(0x210)](_0x1cb7c6[_0x1b1d49(0x1ae)],0x0)){console['log'](_0x4b6b0d[_0x1b1d49(0x18e)]);for(let _0x5235f4=0x0;_0x5235f4<_0x1cb7c6['length'];_0x5235f4++){const _0xd13436=_0x1cb7c6[_0x5235f4];let _0x16eb1d;if(_0x4b6b0d['rpdBD'](_0xd13436['status'],_0x1b1d49(0x164))&&_0x4b6b0d['vGSnK'](_0xd13436[_0x1b1d49(0x234)],'approved'))_0x16eb1d='✅';else{if(_0x4b6b0d[_0x1b1d49(0x15c)](_0xd13436[_0x1b1d49(0x154)],_0x1b1d49(0x199)))_0x16eb1d='🟢';else{if(_0x4b6b0d['KaWaT'](_0xd13436[_0x1b1d49(0x154)],_0x1b1d49(0x197)))_0x16eb1d='🟠';else{if(_0x4b6b0d['xyBsG'](_0xd13436[_0x1b1d49(0x154)],'blocked'))_0x16eb1d='🛑';else{if(_0x4b6b0d[_0x1b1d49(0x1a2)](_0xd13436['status'],_0x4b6b0d[_0x1b1d49(0x174)]))_0x16eb1d='⛔';else _0x4b6b0d[_0x1b1d49(0x1a9)](_0xd13436[_0x1b1d49(0x154)],_0x4b6b0d[_0x1b1d49(0x192)])?_0x16eb1d='⏳':_0x16eb1d='⬜';}}}}const _0x85030a=_0x4b6b0d['rWdzf'](_0xd13436[_0x1b1d49(0x187)],0x1)?'\x20(v'+_0xd13436['version']+')':'',_0x330c4a=_0x4b6b0d[_0x1b1d49(0x210)](_0xd13436['version'],0x1)&&_0xd13436[_0x1b1d49(0x20d)]&&_0xd13436[_0x1b1d49(0x154)]!==_0x4b6b0d[_0x1b1d49(0x174)]&&_0x4b6b0d['iJqdL'](_0xd13436[_0x1b1d49(0x154)],_0x1b1d49(0x199))?_0x4b6b0d['tvLWx']:'';console['log'](_0x1b1d49(0x206)+_0x4b6b0d['WHgag'](_0x5235f4,0x1)+'.\x20'+_0x16eb1d+'\x20'+_0xd13436['description']+_0x85030a+_0x330c4a);_0xd13436[_0x1b1d49(0x154)]===_0x4b6b0d[_0x1b1d49(0x1a6)]&&_0xd13436[_0x1b1d49(0x1a4)]&&console[_0x1b1d49(0x155)](_0x1b1d49(0x1ad)+_0xd13436['blockedReason']);_0xd13436['status']===_0x1b1d49(0x197)&&_0xd13436[_0x1b1d49(0x1d3)]&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0xd13436[_0x1b1d49(0x1d3)]);if(_0xd13436['status']===_0x1b1d49(0x164)&&_0x4b6b0d[_0x1b1d49(0x1a9)](_0xd13436['terminalReason'],_0x4b6b0d['fIURw']))console[_0x1b1d49(0x155)]('\x20\x20\x20\x20\x20\x20Approved');else _0x4b6b0d['PmnaK'](_0xd13436[_0x1b1d49(0x154)],_0x4b6b0d['fhnUm'])&&_0xd13436[_0x1b1d49(0x1c7)]&&console[_0x1b1d49(0x155)](_0x1b1d49(0x171)+_0xd13436['canceledReason']);}}}export async function featureCreate(_0x1d7029,_0x5ad069){const _0x2fff9d=_0x18c1a1,_0x1bf5eb={'gQKkl':function(_0xa50878){return _0xa50878();},'VzeqX':function(_0x47cda9,_0x276956){return _0x47cda9===_0x276956;},'MsalW':function(_0x155faa,_0x12031d){return _0x155faa(_0x12031d);},'HasJf':function(_0x9f05da){return _0x9f05da();},'flNeG':_0x2fff9d(0x1a1),'YPlGI':function(_0x249008,_0x49a703){return _0x249008(_0x49a703);},'ZcYgx':function(_0x14e635,_0x3b13f3){return _0x14e635(_0x3b13f3);}},{envNames:_0x204250}=await _0x1bf5eb[_0x2fff9d(0x161)](getEnvNames);if(_0x1bf5eb[_0x2fff9d(0x1bd)](_0x204250['length'],0x0)&&!process[_0x2fff9d(0x182)]['RANGER_TEST_USERNAME']){let _0x19a410=0x0;try{_0x19a410=(await listCloudProfiles())[_0x2fff9d(0x1ae)];}catch{_0x19a410=0x1;}_0x1bf5eb['VzeqX'](_0x19a410,0x0)&&console['warn']('\x0a'+_0x1bf5eb[_0x2fff9d(0x1fb)](formatProfileRequiredMessage,_0x89a005=>bold(_0x89a005)));}const _0x567334=_0x5ad069[_0x2fff9d(0x1da)]?_0x5ad069['scenarios'][_0x2fff9d(0x21b)](_0x1a9f94=>_0x1a9f94[_0x2fff9d(0x1aa)]()):[],_0x20b2d5=_0x1bf5eb[_0x2fff9d(0x161)](getGitRepoUrl),_0x488b5e=_0x1bf5eb[_0x2fff9d(0x1cf)](getGitBranch);console['log'](_0x1bf5eb[_0x2fff9d(0x203)]);const _0x14a4e5=await createFeature({'name':_0x1d7029,'description':_0x5ad069['description'],'checklist':_0x567334,'gitRepoUrl':_0x20b2d5,'gitBranch':_0x488b5e});await _0x1bf5eb[_0x2fff9d(0x21e)](setActiveFeatureId,_0x14a4e5['id']),await _0x1bf5eb['ZcYgx'](tryStartCurrentSession,_0x14a4e5['id']);const _0x35f63c=process[_0x2fff9d(0x182)]['CLAUDE_SESSION_ID'];_0x35f63c&&registerSession(_0x35f63c,_0x14a4e5['id']),console['log']('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x14a4e5['id']),displayFeature(_0x14a4e5,_0x14a4e5['checklistItems']),console['log'](_0x2fff9d(0x231));}export async function featureList(_0x30519b){const _0x500e1e=_0x18c1a1,_0x1a2ced={'tRWoM':function(_0x2d9154,_0xc00d3a){return _0x2d9154===_0xc00d3a;},'jbduA':_0x500e1e(0x179),'PmDcE':function(_0x33be7f,_0x36f17b){return _0x33be7f(_0x36f17b);},'hLdgA':function(_0x5bf3c7,_0x140e95){return _0x5bf3c7<_0x140e95;},'zokYX':function(_0x143bdc,_0x2f42b3){return _0x143bdc!==_0x2f42b3;},'kbTMu':'\x20--include-deleted'},_0xf3f6db={'limit':_0x30519b[_0x500e1e(0x173)]??0xa,'offset':_0x30519b[_0x500e1e(0x188)]??0x0,'includeDeleted':_0x30519b['includeDeleted']};_0x30519b[_0x500e1e(0x14b)]&&(_0xf3f6db['gitRepoUrl']=getGitRepoUrl(),_0xf3f6db[_0x500e1e(0x190)]=getGitBranch());const _0x48bd0b=await listFeatures(_0xf3f6db);if(_0x1a2ced[_0x500e1e(0x1c8)](_0x48bd0b[_0x500e1e(0x219)][_0x500e1e(0x1ae)],0x0)){console['log'](_0x1a2ced[_0x500e1e(0x1e3)]);return;}const _0x233d58=_0x48bd0b[_0x500e1e(0x1e0)]>_0x48bd0b[_0x500e1e(0x219)]['length']?_0x500e1e(0x168)+_0x48bd0b['items']['length']+_0x500e1e(0x1b9)+_0x48bd0b['totalCount']:_0x48bd0b[_0x500e1e(0x1e0)]+_0x500e1e(0x1cc);console['log']('\x0a'+_0x233d58+':\x0a');for(const _0x2d3e17 of _0x48bd0b[_0x500e1e(0x219)]){console['log'](''+_0x2d3e17['name']),console[_0x500e1e(0x155)](_0x500e1e(0x207)+_0x2d3e17['id']),_0x2d3e17['stats']&&console[_0x500e1e(0x155)](_0x500e1e(0x19d)+_0x1a2ced[_0x500e1e(0x1e5)](getProgressDisplay,_0x2d3e17['stats'])),_0x2d3e17[_0x500e1e(0x190)]&&console['log'](_0x500e1e(0x19e)+_0x2d3e17[_0x500e1e(0x190)]),console[_0x500e1e(0x155)]('\x20\x20\x20Created:\x20'+new Date(_0x2d3e17[_0x500e1e(0x1ec)])['toLocaleDateString']()),console[_0x500e1e(0x155)]('');}const _0x303b50=_0xf3f6db['limit']??0xa,_0x54d908=(_0xf3f6db[_0x500e1e(0x188)]??0x0)+_0x48bd0b[_0x500e1e(0x219)]['length'];if(_0x1a2ced['hLdgA'](_0x54d908,_0x48bd0b[_0x500e1e(0x1e0)])){const _0x29e678=_0x1a2ced['zokYX'](_0x303b50,0xa)?'\x20--limit\x20'+_0x303b50:'',_0x4c39a9=_0x30519b['currentBranch']?'\x20--current-branch':'',_0x1caa16=_0x30519b[_0x500e1e(0x222)]?_0x1a2ced['kbTMu']:'';console['log'](_0x500e1e(0x1fe)+_0x54d908+_0x29e678+_0x4c39a9+_0x1caa16);}}export async function featureShow(_0x28ecc6){const _0x5127cf=_0x18c1a1,_0x9d3832={'XJUUD':function(_0x3d6e16){return _0x3d6e16();},'GgVuW':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','nrfbp':function(_0x28edc7,_0x55c669){return _0x28edc7(_0x55c669);},'IMLsx':function(_0x40dc67,_0x134f5c,_0x1fca0a){return _0x40dc67(_0x134f5c,_0x1fca0a);}},_0x494084=_0x28ecc6||await _0x9d3832[_0x5127cf(0x15d)](getActiveFeatureId);if(!_0x494084)throw new Error(_0x9d3832[_0x5127cf(0x18d)]);const _0x12754d=await _0x9d3832['nrfbp'](getFeature,_0x494084);_0x9d3832[_0x5127cf(0x1a7)](displayFeature,_0x12754d,_0x12754d['checklistItems']);}export async function featureResume(_0x4f3b74){const _0xbca1f9=_0x18c1a1,_0x200395={'cjWqV':function(_0x3e1847,_0x25418){return _0x3e1847(_0x25418);},'wLYXC':function(_0x49d779){return _0x49d779();},'miErG':function(_0x576e8f,_0x38aae7,_0x173967){return _0x576e8f(_0x38aae7,_0x173967);},'uFHWy':function(_0x2321b3,_0x3cc8f2,_0x555321){return _0x2321b3(_0x3cc8f2,_0x555321);},'EdmEd':function(_0x68b909){return _0x68b909();},'KjKgZ':function(_0x2cce1a,_0x278c5a){return _0x2cce1a||_0x278c5a;},'GaIVU':function(_0x116508,_0xb6b9b3){return _0x116508(_0xb6b9b3);},'SYYYB':_0xbca1f9(0x1a8),'cYMoU':'list','kgfYC':_0xbca1f9(0x1f3),'uKLhR':function(_0x4af94d,_0xf744af){return _0x4af94d(_0xf744af);},'zhZlR':function(_0x3be124,_0x1dec7d,_0x62b257){return _0x3be124(_0x1dec7d,_0x62b257);},'oScNG':function(_0x2e4367,_0x57fde1){return _0x2e4367(_0x57fde1);},'ieDyY':function(_0x547eb2,_0x2e2232){return _0x547eb2(_0x2e2232);}};if(_0x4f3b74){const _0x2095fe=await _0x200395['cjWqV'](getFeature,_0x4f3b74);await setActiveFeatureId(_0x2095fe['id']);const _0x37316c=_0x200395['wLYXC'](getGitBranch);_0x37316c&&_0x37316c!==_0x2095fe['gitBranch']&&(await updateFeature(_0x2095fe['id'],{'gitBranch':_0x37316c}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x37316c));console[_0xbca1f9(0x155)](_0xbca1f9(0x214)+_0x2095fe[_0xbca1f9(0x1c9)]+'\x20('+_0x2095fe['id']+')'),await tryStartCurrentSession(_0x2095fe['id']);const _0x53a0b3=process['env']['CLAUDE_SESSION_ID'];_0x53a0b3&&_0x200395[_0xbca1f9(0x1e9)](registerSession,_0x53a0b3,_0x2095fe['id']);_0x200395[_0xbca1f9(0x200)](displayFeature,_0x2095fe,_0x2095fe['checklistItems']),await printFeedbackNudge(_0x2095fe['id']);return;}const _0x2f5f0e=getGitRepoUrl(),_0x30e192=_0x200395[_0xbca1f9(0x208)](getGitBranch);if(!_0x2f5f0e&&!_0x30e192)throw new Error('Not\x20in\x20a\x20git\x20repository.');console['log'](_0xbca1f9(0x1ff)+(_0x2f5f0e||_0xbca1f9(0x14f))+'\x20/\x20'+_0x200395['KjKgZ'](_0x30e192,_0xbca1f9(0x14f))+'...');const _0x1ee810=await _0x200395['GaIVU'](listFeatures,{'gitRepoUrl':_0x2f5f0e,'gitBranch':_0x30e192}),_0x51927a=_0x1ee810['items']['filter'](_0x260752=>_0x260752['status']?_0x260752['status']!=='verified':!_0x260752[_0xbca1f9(0x1ac)]);if(_0x51927a['length']===0x0){console['log'](_0x200395[_0xbca1f9(0x150)]),console[_0xbca1f9(0x155)]('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0xf4c73;if(_0x51927a[_0xbca1f9(0x1ae)]===0x1)_0xf4c73=_0x51927a[0x0];else{const _0x16e7ca=process['stdin'][_0xbca1f9(0x14d)]&&process['stdout'][_0xbca1f9(0x14d)];if(!_0x16e7ca){console['log'](_0xbca1f9(0x16f));for(const _0x2be1d1 of _0x51927a){console[_0xbca1f9(0x155)]('\x20\x20'+_0x2be1d1[_0xbca1f9(0x1c9)]),console['log']('\x20\x20\x20\x20\x20ID:\x20'+_0x2be1d1['id']),_0x2be1d1['stats']&&console['log'](_0xbca1f9(0x1f7)+getProgressDisplay(_0x2be1d1[_0xbca1f9(0x1f5)])),_0x2be1d1['gitBranch']&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x2be1d1[_0xbca1f9(0x190)]);}throw new Error('Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>');}const {selected:_0x420ab4}=await _0x332a5a[_0xbca1f9(0x22d)]([{'type':_0x200395['cYMoU'],'name':_0x200395['kgfYC'],'message':_0xbca1f9(0x229),'choices':_0x51927a[_0xbca1f9(0x21b)](_0x4cd97e=>({'name':_0x4cd97e[_0xbca1f9(0x1c9)]+'\x20('+_0x4cd97e['id']+')','value':_0x4cd97e['id']}))}]);_0xf4c73=_0x51927a[_0xbca1f9(0x195)](_0xfcd722=>_0xfcd722['id']===_0x420ab4);}await _0x200395['uKLhR'](setActiveFeatureId,_0xf4c73['id']);_0x30e192&&_0x30e192!==_0xf4c73['gitBranch']&&(await _0x200395['zhZlR'](updateFeature,_0xf4c73['id'],{'gitBranch':_0x30e192}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x30e192));console[_0xbca1f9(0x155)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0xf4c73['name']+'\x20('+_0xf4c73['id']+')'),await _0x200395['oScNG'](tryStartCurrentSession,_0xf4c73['id']);const _0x39a63e=await _0x200395[_0xbca1f9(0x19f)](getFeature,_0xf4c73['id']),_0x4ec417=process['env'][_0xbca1f9(0x1d6)];_0x4ec417&&_0x200395['uFHWy'](registerSession,_0x4ec417,_0x39a63e['id']),_0x200395[_0xbca1f9(0x1e8)](displayFeature,_0x39a63e,_0x39a63e['checklistItems']),await _0x200395['ieDyY'](printFeedbackNudge,_0x39a63e['id']);}async function printFeedbackNudge(_0x31eb5f){const _0x2d1ea4=_0x18c1a1,_0x2a45b0={'sBzML':function(_0x3cc423,_0x2c9f47){return _0x3cc423(_0x2c9f47);},'xijgA':function(_0x48c147,_0x9dd837,_0x40c592){return _0x48c147(_0x9dd837,_0x40c592);},'noOeq':function(_0x4624d4,_0x125a1c){return _0x4624d4>_0x125a1c;}};try{const {items:_0x24bff3}=await _0x2a45b0[_0x2d1ea4(0x1dd)](getActionItems,_0x31eb5f);let _0x3e3d05=0x0,_0x3f326c=0x0;for(const _0x122945 of _0x24bff3){const _0x29b1ca=await _0x2a45b0[_0x2d1ea4(0x16c)](getItemFeedback,_0x31eb5f,_0x122945['id']);_0x29b1ca[_0x2d1ea4(0x1e4)]['length']>0x0&&(_0x3e3d05+=_0x29b1ca['unaddressedComments']['length'],_0x3f326c++);}_0x2a45b0['noOeq'](_0x3e3d05,0x0)&&(console['log'](_0x2d1ea4(0x160)+_0x3e3d05+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x3f326c+'\x20scenario(s).'),console['log'](_0x2d1ea4(0x1b3)));}catch{}}async function tryStartCurrentSession(_0x5b9686){const _0x41d6db=_0x18c1a1,_0x74009b={'QpPZZ':function(_0x520a71,_0x252e9e){return _0x520a71(_0x252e9e);},'dhVpQ':function(_0x2601d7,_0x1aa460,_0x14739d){return _0x2601d7(_0x1aa460,_0x14739d);}};try{const {sessions:_0x34f7ac}=await _0x74009b['QpPZZ'](listFeatureSessions,_0x5b9686),_0x4a3756=_0x34f7ac['find'](_0x33590a=>_0x33590a[_0x41d6db(0x154)]===_0x41d6db(0x152));_0x4a3756&&(await _0x74009b['dhVpQ'](startSession,_0x5b9686,_0x4a3756['id']),console['log']('\x20\x20\x20▶️\x20Started\x20session\x20'+_0x4a3756[_0x41d6db(0x1d4)]));}catch{}}export async function featureReport(_0xdf0504,_0x5affdc){const _0x2da496=_0x18c1a1,_0x2c5855={'SlOFg':function(_0x217153){return _0x217153();},'WVbAK':_0x2da496(0x14c),'lbFwY':function(_0x3982cb,_0x27ff37,_0x4d9a8a){return _0x3982cb(_0x27ff37,_0x4d9a8a);},'KESAn':function(_0x2f8e69){return _0x2f8e69();},'TUwYs':function(_0x4c7d87,_0x3a2aa1){return _0x4c7d87(_0x3a2aa1);},'fLlxe':function(_0x3ca0e0,_0x3477d4,_0x1cd49c,_0x2dd420){return _0x3ca0e0(_0x3477d4,_0x1cd49c,_0x2dd420);},'mffIj':_0x2da496(0x186)},_0x5f2ef1=_0xdf0504||await _0x2c5855[_0x2da496(0x159)](getActiveFeatureId);if(!_0x5f2ef1)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console['log'](_0x2c5855['WVbAK']);const _0x523b10=await _0x2c5855[_0x2da496(0x1e6)](getFeatureReportMarkdown,_0x5f2ef1,{'style':_0x5affdc[_0x2da496(0x1ca)]}),_0xb53bdc=_0x5affdc['output']||join(_0x2c5855['KESAn'](getRangerDir),'reports',_0x5f2ef1+_0x2da496(0x1fc)),_0x4b67fe=join(_0xb53bdc,'..');!_0x2c5855['TUwYs'](existsSync,_0x4b67fe)&&await mkdir(_0x4b67fe,{'recursive':!![]}),await _0x2c5855[_0x2da496(0x232)](writeFile,_0xb53bdc,_0x523b10,_0x2c5855[_0x2da496(0x1f8)]),console['log'](_0x2da496(0x1ea)+_0xb53bdc);}function _0x4b21(_0xd57eeb,_0x6c769a){_0xd57eeb=_0xd57eeb-0x14b;const _0x5e0014=_0x5e00();let _0x4b2162=_0x5e0014[_0xd57eeb];return _0x4b2162;}function getScenarioResult(_0x1c6698){const _0x908256=_0x18c1a1,_0x4ecfdc={'RAACC':_0x908256(0x189),'hjCMy':_0x908256(0x166)};if(_0x1c6698['status']===_0x908256(0x164))return _0x1c6698[_0x908256(0x234)]??'closed';if(_0x1c6698[_0x908256(0x154)]===_0x4ecfdc['RAACC'])return _0x4ecfdc[_0x908256(0x1b5)];return _0x1c6698['status'];}function getScenarioRationale(_0x19d4ab,_0x5578d3){const _0x117755=_0x18c1a1;if(_0x5578d3)return _0x5578d3;if(_0x19d4ab['blockedReason'])return _0x19d4ab[_0x117755(0x1a4)];if(_0x19d4ab[_0x117755(0x1d3)])return _0x19d4ab['incompleteReason'];if(_0x19d4ab['canceledReason'])return _0x19d4ab['canceledReason'];if(_0x19d4ab['notes'])return _0x19d4ab['notes'];return null;}export async function featureReportPrDescription(_0x1faac4,_0x39487b){const _0x4b4b61=_0x18c1a1,_0x15fb18={'kqYRW':function(_0x54cf81){return _0x54cf81();},'WXDYl':_0x4b4b61(0x181),'YOtAJ':function(_0x1844fd,_0x1d22f3){return _0x1844fd(_0x1d22f3);},'NytsE':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','eduuo':function(_0x34da45,_0x519fc5){return _0x34da45>_0x519fc5;},'ihlXs':function(_0x1d7eee,_0x4e2dc3){return _0x1d7eee<_0x4e2dc3;},'tAwKd':_0x4b4b61(0x15b)},_0x4b8b24=_0x1faac4||await _0x15fb18[_0x4b4b61(0x220)](getActiveFeatureId);if(!_0x4b8b24)throw new Error(_0x15fb18[_0x4b4b61(0x18a)]);const _0x259923=await _0x15fb18['YOtAJ'](getFeature,_0x4b8b24),_0x25ccd5=_0x259923[_0x4b4b61(0x16a)]||[],_0x412dd9=getCurrentSessionItems(_0x259923,_0x25ccd5);_0x412dd9[_0x4b4b61(0x1ae)]===0x0&&(console['error'](_0x15fb18['NytsE']),process['exit'](0x1));const _0x352877=_0x39487b[_0x4b4b61(0x21c)]??[],_0x245c38=_0x352877[_0x4b4b61(0x156)](_0xeac143=>!Number[_0x4b4b61(0x172)](_0xeac143)||_0xeac143<0x1||_0xeac143>_0x412dd9[_0x4b4b61(0x1ae)]);if(_0x15fb18[_0x4b4b61(0x1a3)](_0x245c38['length'],0x0)){console['error'](_0x4b4b61(0x185)+_0x245c38['join'](',\x20')),console['log']('\x0aAvailable\x20scenarios:');for(let _0x16a6f1=0x0;_0x15fb18['ihlXs'](_0x16a6f1,_0x412dd9[_0x4b4b61(0x1ae)]);_0x16a6f1++){console['log']('\x20\x20'+(_0x16a6f1+0x1)+'.\x20'+_0x412dd9[_0x16a6f1][_0x4b4b61(0x1c5)]);}process[_0x4b4b61(0x21d)](0x1);}const _0x32aa9d=new Set(_0x352877[_0x4b4b61(0x21b)](_0x22718b=>_0x22718b-0x1)),_0x312716=_0x412dd9['filter']((_0x153652,_0x4520fc)=>!_0x32aa9d['has'](_0x4520fc));_0x312716[_0x4b4b61(0x1ae)]===0x0&&(console[_0x4b4b61(0x1e1)](_0x15fb18['tAwKd']),process['exit'](0x1));if(_0x39487b[_0x4b4b61(0x193)])await outputJsonReport(_0x4b8b24,_0x259923,_0x312716);else{const _0x621812=await getFeatureReportMarkdown(_0x4b8b24,{'itemIds':_0x312716['map'](_0x59189f=>_0x59189f['id'])});process['stdout']['write'](_0x621812['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x441195,_0x186d20,_0x47af9a){const _0x39c8ca=_0x18c1a1,_0x4d6aa9={'JDAdi':function(_0x465a31,_0x4873f5){return _0x465a31(_0x4873f5);},'tzkZD':function(_0x490c4c){return _0x490c4c();}},_0x4d66a1=_0x4d6aa9[_0x39c8ca(0x20e)](getApiBaseUrl),_0x377c7b=await getFeatureReport(_0x441195),_0xfc283c=new Map(_0x377c7b['checklistItems'][_0x39c8ca(0x21b)](_0x1416af=>[_0x1416af['id'],_0x1416af])),_0x51d698=await Promise[_0x39c8ca(0x1b4)](_0x47af9a[_0x39c8ca(0x21b)](async _0x135241=>{const _0x414047=_0x39c8ca,_0xf60254=_0xfc283c[_0x414047(0x1a5)](_0x135241['id']),_0x38facc=_0xf60254?.['linkedSession']??null;let _0x13c1b1=[];if(_0x135241['browserSessionId'])try{const {steps:_0x47e471}=await _0x4d6aa9[_0x414047(0x1d9)](getBrowserSessionSteps,_0x135241['browserSessionId']);_0x47e471['length']>0x0&&(_0x13c1b1=_0x47e471[_0x414047(0x21b)](_0x289145=>{const _0xdb6a19=_0x414047,_0x34ca29=_0x289145['assets']['find'](_0x51f910=>_0x51f910['assetType']===_0xdb6a19(0x17b)&&_0x51f910[_0xdb6a19(0x226)]===_0xdb6a19(0x20f))??_0x289145[_0xdb6a19(0x183)][_0xdb6a19(0x195)](_0x104c65=>_0x104c65[_0xdb6a19(0x212)]==='screenshot');let _0x1fb20c=null,_0x2328b6=null;if(_0x34ca29){const _0xcc5586=_0x34ca29['storage'][_0xdb6a19(0x16e)]['split']('/')['pop']();_0x1fb20c=_0x4d66a1+_0xdb6a19(0x15f)+_0x135241['browserSessionId']+'/artifacts/'+_0xcc5586,_0xcc5586&&(_0x2328b6=_0xcc5586[_0xdb6a19(0x1c0)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0xdb6a19(0x1c0)](/[-_]/g,'\x20'));}return{'description':_0x2328b6||_0x289145['description']||_0x289145[_0xdb6a19(0x1bb)]||'Step\x20'+_0x289145['position'],'screenshot':_0x1fb20c,'is_key_step':_0x289145[_0xdb6a19(0x20c)]};}));}catch{}return _0x13c1b1[_0x414047(0x1ae)]===0x0&&_0x38facc?.['screenshotUrls']&&(_0x13c1b1=_0x38facc[_0x414047(0x158)][_0x414047(0x21b)]((_0x33231c,_0x437381)=>({'description':_0x414047(0x169)+(_0x437381+0x1),'screenshot':_0x33231c,'is_key_step':![]}))),{'description':_0x135241['description'],'result':_0x4d6aa9['JDAdi'](getScenarioResult,_0x135241),'rationale':getScenarioRationale(_0x135241,_0x38facc?.['agentResponse']),'steps':_0x13c1b1};})),_0x2a05da={'url':_0x186d20['dashboardUrl'],'scenarios':_0x51d698};process[_0x39c8ca(0x153)][_0x39c8ca(0x1a0)](JSON[_0x39c8ca(0x1d1)](_0x2a05da,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x58d077){const _0x34b235=_0x18c1a1,_0x168d77={'UiQEh':function(_0x1af20d){return _0x1af20d();},'MZZFq':function(_0x5ba4ae,_0x1ecb95){return _0x5ba4ae(_0x1ecb95);},'AAwMZ':function(_0x2a2949,_0x535c7f){return _0x2a2949===_0x535c7f;},'XtCgW':_0x34b235(0x18c),'RCydt':_0x34b235(0x1c6)},_0x544e8b=_0x58d077||await _0x168d77['UiQEh'](getActiveFeatureId);if(!_0x544e8b)throw new Error(_0x34b235(0x213));const _0x3c37d5=await getFeature(_0x544e8b);if(!_0x3c37d5['currentSessionId'])throw new Error(_0x34b235(0x217));const {sessions:_0x3cc777}=await _0x168d77['MZZFq'](listFeatureSessions,_0x544e8b),_0x168026=_0x3cc777['find'](_0x2fe31e=>_0x2fe31e['id']===_0x3c37d5[_0x34b235(0x233)]);if(!_0x168026)throw new Error('Current\x20session\x20not\x20found.');if(_0x168d77[_0x34b235(0x1f9)](_0x168026['status'],_0x168d77['XtCgW'])){console['log']('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x168026['status']!==_0x34b235(0x166))throw new Error(_0x34b235(0x170)+_0x168026['status']);console[_0x34b235(0x155)](_0x168d77['RCydt']),await concludeSession(_0x544e8b,_0x3c37d5['currentSessionId']),console['log']('\x0a✅\x20Session\x20'+_0x168026['iteration']+_0x34b235(0x1b1)),console['log'](_0x34b235(0x19c));}export async function featureSessions(_0x1eae09){const _0x12ba67=_0x18c1a1,_0x12c788={'IpFmC':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','rpdIs':function(_0x331f27,_0x5e5425){return _0x331f27(_0x5e5425);},'dHsAX':_0x12ba67(0x18c),'fFSGI':function(_0x353b36,_0x6a9b77){return _0x353b36===_0x6a9b77;},'OPiIn':'in_progress'},_0x525cb3=_0x1eae09||await getActiveFeatureId();if(!_0x525cb3)throw new Error(_0x12c788['IpFmC']);const _0xf5a8b3=await _0x12c788['rpdIs'](getFeature,_0x525cb3);console[_0x12ba67(0x155)]('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0xf5a8b3[_0x12ba67(0x1c9)]+'\x0a');const {sessions:_0x39debb}=await _0x12c788['rpdIs'](listFeatureSessions,_0x525cb3);if(_0x39debb['length']===0x0){console[_0x12ba67(0x155)](_0x12ba67(0x184));return;}for(const _0x17fe11 of _0x39debb){const _0x3d5f15=_0x17fe11['status']===_0x12c788[_0x12ba67(0x17a)]?'✅':_0x12c788[_0x12ba67(0x16d)](_0x17fe11['status'],_0x12c788['OPiIn'])?'🔄':'▶️';console[_0x12ba67(0x155)](_0x3d5f15+_0x12ba67(0x20a)+_0x17fe11['iteration']+'\x20('+_0x17fe11['id']+')'),console[_0x12ba67(0x155)](_0x12ba67(0x22c)+_0x17fe11[_0x12ba67(0x154)]),console[_0x12ba67(0x155)]('\x20\x20\x20Created:\x20'+new Date(_0x17fe11[_0x12ba67(0x1ec)])[_0x12ba67(0x1be)]()),_0x17fe11['completedAt']&&console['log'](_0x12ba67(0x1db)+new Date(_0x17fe11['completedAt'])[_0x12ba67(0x1be)]()),console['log']('');}}export async function featureAddScenario(_0x55702b,_0x4c7888){const _0x5d4f0a=_0x18c1a1,_0x2bbad1=_0x4c7888||await getActiveFeatureId();if(!_0x2bbad1)throw new Error(_0x5d4f0a(0x213));const _0x4a5164=await getFeature(_0x2bbad1);if(_0x4a5164[_0x5d4f0a(0x1ce)]&&!_0x4a5164['latestReview'][_0x5d4f0a(0x1d0)])throw new Error(_0x5d4f0a(0x1b7)+_0x4a5164[_0x5d4f0a(0x228)]);await createChecklistItem(_0x2bbad1,_0x55702b);const _0x528f45=await getFeature(_0x2bbad1);console[_0x5d4f0a(0x155)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x528f45,_0x528f45['checklistItems']);}export async function featureEditScenario(_0x3cd17e,_0x20d8c9){const _0x53b6f6=_0x18c1a1,_0x415d20={'uFHfA':function(_0x33e743){return _0x33e743();},'ELeUB':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','vsvmi':_0x53b6f6(0x180),'qouPt':function(_0x3a4387,_0x406400){return _0x3a4387-_0x406400;},'MfyfK':function(_0x1afba1,_0x53c6e9){return _0x1afba1<_0x53c6e9;},'BuKsV':function(_0x5238ba,_0x2125c){return _0x5238ba<_0x2125c;}},_0x39b178=_0x20d8c9['id']||await _0x415d20['uFHfA'](getActiveFeatureId);!_0x39b178&&(console['error'](_0x415d20[_0x53b6f6(0x22a)]),console['error']('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process['exit'](0x1));const _0x1f7078=await getFeature(_0x39b178);_0x1f7078[_0x53b6f6(0x1ce)]&&!_0x1f7078['latestReview'][_0x53b6f6(0x1d0)]&&(console['error']('\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.'),console['error']('Please\x20finish\x20your\x20review\x20first:'),console['error']('\x20\x20'+_0x1f7078['dashboardUrl']),process[_0x53b6f6(0x21d)](0x1));const _0x135e10=_0x1f7078[_0x53b6f6(0x16a)]||[];_0x135e10[_0x53b6f6(0x1ae)]===0x0&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x53b6f6(0x21d)](0x1));if(_0x20d8c9[_0x53b6f6(0x1ee)]===undefined){console['error']('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console[_0x53b6f6(0x155)](_0x415d20[_0x53b6f6(0x1df)]);for(let _0x26c501=0x0;_0x26c501<_0x135e10['length'];_0x26c501++){console[_0x53b6f6(0x155)]('\x20\x20'+(_0x26c501+0x1)+'.\x20'+_0x135e10[_0x26c501][_0x53b6f6(0x1c5)]);}process[_0x53b6f6(0x21d)](0x1);}const _0x5cafe4=_0x415d20[_0x53b6f6(0x205)](_0x20d8c9[_0x53b6f6(0x1ee)],0x1);if(_0x415d20['MfyfK'](_0x5cafe4,0x0)||_0x5cafe4>=_0x135e10['length']){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x20d8c9['scenario']+_0x53b6f6(0x224)+_0x135e10['length']+_0x53b6f6(0x18f)),console[_0x53b6f6(0x155)](_0x415d20['vsvmi']);for(let _0xbb2203=0x0;_0x415d20[_0x53b6f6(0x218)](_0xbb2203,_0x135e10[_0x53b6f6(0x1ae)]);_0xbb2203++){console['log']('\x20\x20'+(_0xbb2203+0x1)+'.\x20'+_0x135e10[_0xbb2203][_0x53b6f6(0x1c5)]);}process[_0x53b6f6(0x21d)](0x1);}const _0x211c8a=_0x135e10[_0x5cafe4];await updateChecklistItem(_0x39b178,_0x211c8a['id'],{'description':_0x3cd17e});const _0x42ade8=await getFeature(_0x39b178);console[_0x53b6f6(0x155)](_0x53b6f6(0x177)),displayFeature(_0x42ade8,_0x42ade8[_0x53b6f6(0x16a)]);}async function downloadFeedbackImage(_0x4a8410,_0x5b9363){const _0x5f409=_0x18c1a1,_0x301f06={'bSYLK':function(_0x458de0){return _0x458de0();}};try{const _0x34f6af=join(_0x301f06['bSYLK'](getRangerDir),'feedback-images');await mkdir(_0x34f6af,{'recursive':!![]});const _0x1a2890=join(_0x34f6af,'comment_'+_0x5b9363+_0x5f409(0x209)),_0x24595c=await fetch(_0x4a8410);if(!_0x24595c['ok'])return null;const _0x58cdde=Buffer[_0x5f409(0x14e)](await _0x24595c['arrayBuffer']());return await writeFile(_0x1a2890,_0x58cdde),_0x1a2890;}catch{return null;}}export async function featureGetReview(_0x2c712f){const _0x1c0f60=_0x18c1a1,_0x32b0bf={'Nzqfa':function(_0x4cf1a7){return _0x4cf1a7();},'fgfuJ':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','aCyCc':function(_0x696c53,_0x1501a0){return _0x696c53(_0x1501a0);},'rsheF':function(_0x521a4f,_0x1ad6c7){return _0x521a4f>_0x1ad6c7;},'JTZko':function(_0xddd60a,_0x592ca6,_0x346542){return _0xddd60a(_0x592ca6,_0x346542);},'FAPlY':function(_0x18c826,_0x539b7c){return _0x18c826>_0x539b7c;},'uFeua':function(_0x136a87,_0x189fde){return _0x136a87+_0x189fde;},'eGrxH':_0x1c0f60(0x1fd),'tWcDs':function(_0x344f30,_0x13ef5e,_0x2480a8){return _0x344f30(_0x13ef5e,_0x2480a8);},'PpQHU':'\x20>\x20','ZmkZr':'element','BTYCs':function(_0x13a54d,_0x1ffb0c){return _0x13a54d===_0x1ffb0c;},'EWsuf':'point'},_0x5dd770=_0x2c712f||await _0x32b0bf['Nzqfa'](getActiveFeatureId);if(!_0x5dd770)throw new Error(_0x32b0bf['fgfuJ']);const _0x464618=await _0x32b0bf[_0x1c0f60(0x230)](getFeature,_0x5dd770),{items:_0x412ec6}=await getActionItems(_0x5dd770);console['log'](_0x1c0f60(0x157)+_0x464618[_0x1c0f60(0x1c9)]+'\x20('+_0x464618['id']+')\x0a');if(_0x412ec6['length']===0x0){console[_0x1c0f60(0x155)]('No\x20scenarios\x20found.');return;}for(let _0x89eda=0x0;_0x89eda<_0x412ec6[_0x1c0f60(0x1ae)];_0x89eda++){const _0x3c645a=_0x412ec6[_0x89eda],_0x21e26f=_0x32b0bf['rsheF'](_0x3c645a[_0x1c0f60(0x187)],0x1)?'\x20(v'+_0x3c645a['version']+')':'',_0x359ec3=await _0x32b0bf[_0x1c0f60(0x225)](getItemFeedback,_0x5dd770,_0x3c645a['id']);if(_0x32b0bf['FAPlY'](_0x359ec3['unaddressedComments'][_0x1c0f60(0x1ae)],0x0)){console[_0x1c0f60(0x155)](_0x1c0f60(0x176)+_0x32b0bf[_0x1c0f60(0x1bf)](_0x89eda,0x1)+_0x1c0f60(0x1fa)+_0x3c645a['description']+'\x22'+_0x21e26f+'\x20—\x20'+_0x359ec3[_0x1c0f60(0x1e4)]['length']+'\x20unaddressed\x20comment(s)');for(const _0x29bc61 of _0x359ec3['unaddressedComments']){const _0x2f7a44=new Date(_0x29bc61[_0x1c0f60(0x1ec)])['toLocaleDateString'](_0x32b0bf[_0x1c0f60(0x22f)],{'month':_0x1c0f60(0x1cb),'day':_0x1c0f60(0x1d2)}),_0x21c6f1=_0x29bc61['authorName']||_0x29bc61['authorEmail']||'Unknown';console[_0x1c0f60(0x155)](_0x1c0f60(0x163)+_0x21c6f1+'\x20('+_0x2f7a44+'):\x20\x22'+_0x29bc61[_0x1c0f60(0x1eb)]+'\x22');if(_0x29bc61[_0x1c0f60(0x1d5)]){const _0x52fda1=await _0x32b0bf['tWcDs'](downloadFeedbackImage,_0x29bc61[_0x1c0f60(0x1d5)],_0x29bc61['id']);_0x52fda1&&console[_0x1c0f60(0x155)](_0x1c0f60(0x22e)+_0x52fda1);}if(_0x29bc61['domRef']){const _0x367a87=_0x29bc61['domRef'][_0x1c0f60(0x196)][_0x1c0f60(0x16b)](_0x32b0bf[_0x1c0f60(0x22b)])[_0x1c0f60(0x1ab)]()?.[_0x1c0f60(0x16b)](':')[0x0]||_0x32b0bf[_0x1c0f60(0x1ef)],_0x3382e9=_0x29bc61['domRef']['textContent']?'\x20\x22'+_0x29bc61[_0x1c0f60(0x202)][_0x1c0f60(0x221)][_0x1c0f60(0x167)](0x0,0x3c)+'\x22':'';console['log'](_0x1c0f60(0x1bc)+_0x367a87+'>'+_0x3382e9),console['log'](_0x1c0f60(0x162)+_0x29bc61[_0x1c0f60(0x202)][_0x1c0f60(0x196)]);}else{if(_0x29bc61[_0x1c0f60(0x1d8)]){const _0xa2dead=_0x29bc61[_0x1c0f60(0x1d8)][_0x1c0f60(0x1b0)];_0x32b0bf['BTYCs'](_0x29bc61['spatial']['type'],_0x32b0bf[_0x1c0f60(0x211)])&&_0xa2dead['length']>=0x2?console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0xa2dead[0x0][_0x1c0f60(0x1c3)](0x2)+',\x20'+_0xa2dead[0x1][_0x1c0f60(0x1c3)](0x2)+')'):console[_0x1c0f60(0x155)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x29bc61['spatial'][_0x1c0f60(0x198)]+_0x1c0f60(0x1ba)+_0xa2dead['map'](_0x639a4b=>_0x639a4b[_0x1c0f60(0x1c3)](0x2))[_0x1c0f60(0x1c4)](',\x20')+']');}}}if(_0x359ec3[_0x1c0f60(0x19b)]){console[_0x1c0f60(0x155)](_0x1c0f60(0x1de));for(const _0x68dbf3 of _0x359ec3['canonicalFlow'][_0x1c0f60(0x16b)]('\x0a')){console['log'](_0x1c0f60(0x1f0)+_0x68dbf3);}}}else console[_0x1c0f60(0x155)]('Scenario\x20'+(_0x89eda+0x1)+':\x20\x22'+_0x3c645a[_0x1c0f60(0x1c5)]+'\x22'+_0x21e26f+_0x1c0f60(0x216)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}export async function featureDelete(_0x498664){const _0x15b07a=_0x18c1a1,_0x290ea6={'pjUBc':function(_0x870643){return _0x870643();},'XMHCx':function(_0x3a8a96,_0x326684){return _0x3a8a96(_0x326684);},'xgdjC':function(_0x2c3fb2,_0x25acb7){return _0x2c3fb2(_0x25acb7);},'bdkiH':function(_0x6761a,_0x2a3af4){return _0x6761a+_0x2a3af4;},'kdPRj':_0x15b07a(0x1c1)},_0x4ad10e=_0x498664||await _0x290ea6['pjUBc'](getActiveFeatureId);if(!_0x4ad10e)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 _0x776f42=await _0x290ea6[_0x15b07a(0x18b)](getFeature,_0x4ad10e);await _0x290ea6['xgdjC'](softDeleteFeature,_0x4ad10e),console[_0x15b07a(0x155)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x776f42['name']+'\x20('+_0x4ad10e+')'),console['log'](_0x290ea6['bdkiH'](_0x290ea6['kdPRj'],_0x4ad10e));}export async function featureRestore(_0x7cfd1e){const _0x4f0f06=_0x18c1a1,_0x4cc7c2={'BkexA':function(_0x1d1ca1,_0x5364f0){return _0x1d1ca1(_0x5364f0);},'ubqAS':function(_0x593e7b,_0x5e8ed1,_0x43440e){return _0x593e7b(_0x5e8ed1,_0x43440e);}};await restoreFeature(_0x7cfd1e);const _0x2fab1d=await _0x4cc7c2[_0x4f0f06(0x1b6)](getFeature,_0x7cfd1e);console['log'](_0x4f0f06(0x20b)+_0x2fab1d[_0x4f0f06(0x1c9)]+'\x20('+_0x7cfd1e+')'),_0x4cc7c2['ubqAS'](displayFeature,_0x2fab1d,_0x2fab1d['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x532a5f,_0x70bf25){const _0x51d12e=_0x5aa4,_0x1849ee=_0x532a5f();while(!![]){try{const _0x486006=parseInt(_0x51d12e(0x1a2))/0x1*(parseInt(_0x51d12e(0x1a7))/0x2)+parseInt(_0x51d12e(0x1a5))/0x3+-parseInt(_0x51d12e(0x19c))/0x4*(-parseInt(_0x51d12e(0x1a0))/0x5)+-parseInt(_0x51d12e(0x1a1))/0x6*(parseInt(_0x51d12e(0x19b))/0x7)+-parseInt(_0x51d12e(0x1a8))/0x8*(parseInt(_0x51d12e(0x1a4))/0x9)+parseInt(_0x51d12e(0x19d))/0xa+parseInt(_0x51d12e(0x197))/0xb*(-parseInt(_0x51d12e(0x199))/0xc);if(_0x486006===_0x70bf25)break;else _0x1849ee['push'](_0x1849ee['shift']());}catch(_0x48eaca){_0x1849ee['push'](_0x1849ee['shift']());}}}(_0x4f00,0x34584));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x5aa4(_0xed5590,_0x184585){_0xed5590=_0xed5590-0x196;const _0x4f00de=_0x4f00();let _0x5aa4be=_0x4f00de[_0xed5590];return _0x5aa4be;}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 _0x4f00(){const _0x1744c6=['OnmcV','215575JhLyyH','6Zaatxy','1173hxdjaY','exit','36486UNAGiN','236892SelFVd','SIGTERM','682XoRoMZ','496gRJqJO','dkMfr','187lWjNuT','join','316860jiXPib','once','772996bDtGoa','16QuoJuU','3736480dWNsBO','error'];_0x4f00=function(){return _0x1744c6;};return _0x4f00();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x1def1d=_0x5aa4,_0x1b413c={'dkMfr':_0x1def1d(0x1a6)};if(cancellationHandlersInstalled)return;const _0x4f935b=()=>{const _0x1bb5bd=_0x1def1d;process[_0x1bb5bd(0x1a3)](0x0);};process[_0x1def1d(0x19a)]('SIGINT',_0x4f935b),process['once'](_0x1b413c[_0x1def1d(0x196)],_0x4f935b),process['once']('SIGHUP',_0x4f935b),cancellationHandlersInstalled=!![];}export async function hook(_0x234d20,_0x51289f){const _0x5cbecd=_0x5aa4,_0x553314={'OnmcV':function(_0x306dc7){return _0x306dc7();},'tWLCt':function(_0x3ae2dd,_0x1bf43f){return _0x3ae2dd(_0x1bf43f);}};_0x553314[_0x5cbecd(0x19f)](installCancellationHandlers);const _0x5716d0=HOOKS[_0x234d20];if(!_0x5716d0){const _0x2e5722=Object['keys'](HOOKS)[_0x5cbecd(0x198)](',\x20');console['error']('Unknown\x20hook:\x20'+_0x234d20),console[_0x5cbecd(0x19e)]('Valid\x20hooks:\x20'+_0x2e5722),process[_0x5cbecd(0x1a3)](0x1);}await _0x553314['tWLCt'](_0x5716d0,_0x51289f);}
1
+ function _0x1825(){const _0x4414a1=['762220KelfMR','21233528iCfflL','SIGINT','5286138kshgwM','keys','once','join','lSRJe','828568hgqqIa','8442679wWlLMm','13227GrFhJL','SIGTERM','158wuqYEB','SIGHUP','2760425VMEpPL','error','exit','Valid\x20hooks:\x20'];_0x1825=function(){return _0x4414a1;};return _0x1825();}(function(_0x3b4bcd,_0x1fd003){const _0x24c3c8=_0x1881,_0x20e7b7=_0x3b4bcd();while(!![]){try{const _0x3bd821=parseInt(_0x24c3c8(0xeb))/0x1+parseInt(_0x24c3c8(0xf7))/0x2*(-parseInt(_0x24c3c8(0xf5))/0x3)+parseInt(_0x24c3c8(0xf3))/0x4+-parseInt(_0x24c3c8(0xe7))/0x5+-parseInt(_0x24c3c8(0xee))/0x6+-parseInt(_0x24c3c8(0xf4))/0x7+parseInt(_0x24c3c8(0xec))/0x8;if(_0x3bd821===_0x1fd003)break;else _0x20e7b7['push'](_0x20e7b7['shift']());}catch(_0x44b8ed){_0x20e7b7['push'](_0x20e7b7['shift']());}}}(_0x1825,0x9b485));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 _0x1881(_0x2841d5,_0x31807d){_0x2841d5=_0x2841d5-0xe7;const _0x18259a=_0x1825();let _0x1881e4=_0x18259a[_0x2841d5];return _0x1881e4;}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x3931aa=_0x1881,_0x55b2c2={'lSRJe':_0x3931aa(0xf6),'TbKho':_0x3931aa(0xf8)};if(cancellationHandlersInstalled)return;const _0x21f026=()=>{process['exit'](0x0);};process[_0x3931aa(0xf0)](_0x3931aa(0xed),_0x21f026),process['once'](_0x55b2c2[_0x3931aa(0xf2)],_0x21f026),process['once'](_0x55b2c2['TbKho'],_0x21f026),cancellationHandlersInstalled=!![];}export async function hook(_0x45b3c1,_0x49d04b){const _0x194d46=_0x1881,_0x4664ad={'SLWzh':function(_0x273c54,_0x57389b){return _0x273c54(_0x57389b);}};installCancellationHandlers();const _0x5a3328=HOOKS[_0x45b3c1];if(!_0x5a3328){const _0x57b8a9=Object[_0x194d46(0xef)](HOOKS)[_0x194d46(0xf1)](',\x20');console[_0x194d46(0xe8)]('Unknown\x20hook:\x20'+_0x45b3c1),console['error'](_0x194d46(0xea)+_0x57b8a9),process[_0x194d46(0xe9)](0x1);}await _0x4664ad['SLWzh'](_0x5a3328,_0x49d04b);}
@@ -1 +1 @@
1
- const _0x5e9789=_0x1ff5;(function(_0x37f8ea,_0x645947){const _0x2a02f2=_0x1ff5,_0x399484=_0x37f8ea();while(!![]){try{const _0x38c316=parseInt(_0x2a02f2(0x14f))/0x1*(-parseInt(_0x2a02f2(0x155))/0x2)+-parseInt(_0x2a02f2(0x154))/0x3+-parseInt(_0x2a02f2(0x153))/0x4+-parseInt(_0x2a02f2(0x157))/0x5*(parseInt(_0x2a02f2(0x158))/0x6)+parseInt(_0x2a02f2(0x14c))/0x7*(parseInt(_0x2a02f2(0x150))/0x8)+parseInt(_0x2a02f2(0x14a))/0x9*(-parseInt(_0x2a02f2(0x152))/0xa)+parseInt(_0x2a02f2(0x14b))/0xb*(parseInt(_0x2a02f2(0x156))/0xc);if(_0x38c316===_0x645947)break;else _0x399484['push'](_0x399484['shift']());}catch(_0x305e8b){_0x399484['push'](_0x399484['shift']());}}}(_0x483e,0x30125));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';function _0x1ff5(_0x3a96a5,_0x4e0feb){_0x3a96a5=_0x3a96a5-0x14a;const _0x483eac=_0x483e();let _0x1ff509=_0x483eac[_0x3a96a5];return _0x1ff509;}const AUTO_PROMPT_TEXT=_0x5e9789(0x14e);function _0x483e(){const _0x398d58=['598995CQDAvi','197826fHgnVN','2604ZmkHJZ','5YhwBCU','697206OsozbK','9rfLYVI','45683JQDhAa','791qZJhyG','ePElb','\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.','1kdNOfL','1584KbTUeo','off','2853160TTWYUh','106316GviEOT'];_0x483e=function(){return _0x398d58;};return _0x483e();}export async function autoPrompt(){const _0x507c10=_0x5e9789,_0x12d0c3={'ePElb':function(_0x30f860){return _0x30f860();},'VSIZx':_0x507c10(0x151),'BPIQk':function(_0x1d4faf,_0x2ec397){return _0x1d4faf(_0x2ec397);}};if(_0x12d0c3[_0x507c10(0x14d)](resolveHookMode)===_0x12d0c3['VSIZx'])return;const _0xa46bc3=await _0x12d0c3[_0x507c10(0x14d)](readHookInput),_0x4145a1=_0xa46bc3?.['session_id'];if(!_0x4145a1)return;if(isSessionEnabled(_0x4145a1)||_0x12d0c3['BPIQk'](hasSessionBeenPrompted,_0x4145a1))return;markSessionPrompted(_0x4145a1),console['log'](AUTO_PROMPT_TEXT);}
1
+ (function(_0x2009fd,_0x53967f){const _0x243dc6=_0x38d1,_0x3284ea=_0x2009fd();while(!![]){try{const _0x5bff1b=parseInt(_0x243dc6(0x116))/0x1*(parseInt(_0x243dc6(0x110))/0x2)+-parseInt(_0x243dc6(0x115))/0x3+-parseInt(_0x243dc6(0x11a))/0x4+parseInt(_0x243dc6(0x117))/0x5+parseInt(_0x243dc6(0x112))/0x6*(parseInt(_0x243dc6(0x118))/0x7)+parseInt(_0x243dc6(0x11b))/0x8+-parseInt(_0x243dc6(0x111))/0x9*(parseInt(_0x243dc6(0x113))/0xa);if(_0x5bff1b===_0x53967f)break;else _0x3284ea['push'](_0x3284ea['shift']());}catch(_0x9bc875){_0x3284ea['push'](_0x3284ea['shift']());}}}(_0x5330,0xc1e92));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT='\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.';export async function autoPrompt(){const _0x2fa9f3=_0x38d1,_0x11f394={'tJOhH':function(_0x2c294a){return _0x2c294a();},'XIFII':function(_0x260d10,_0x1a6aa4){return _0x260d10(_0x1a6aa4);}};if(_0x11f394['tJOhH'](resolveHookMode)==='off')return;const _0x3b6c60=await readHookInput(),_0x78a9c6=_0x3b6c60?.['session_id'];if(!_0x78a9c6)return;if(_0x11f394[_0x2fa9f3(0x114)](isSessionEnabled,_0x78a9c6)||hasSessionBeenPrompted(_0x78a9c6))return;_0x11f394[_0x2fa9f3(0x114)](markSessionPrompted,_0x78a9c6),console[_0x2fa9f3(0x119)](AUTO_PROMPT_TEXT);}function _0x38d1(_0x22fc78,_0x36be94){_0x22fc78=_0x22fc78-0x110;const _0x5330eb=_0x5330();let _0x38d182=_0x5330eb[_0x22fc78];return _0x38d182;}function _0x5330(){const _0x539367=['33327VhfGpz','log','2731276xwAGZf','4535696lqwQNa','10986NtkfNM','36828tFdXwi','702TAnhpx','470WaYSQN','XIFII','435072ibTMdC','7hWOUur','3259875NiyumO'];_0x5330=function(){return _0x539367;};return _0x5330();}
@@ -1 +1 @@
1
- (function(_0x2b3a97,_0xf1e3cd){const _0x2c78ab=_0x1879,_0x1af26b=_0x2b3a97();while(!![]){try{const _0xe598e9=-parseInt(_0x2c78ab(0x150))/0x1+parseInt(_0x2c78ab(0x152))/0x2*(-parseInt(_0x2c78ab(0x144))/0x3)+parseInt(_0x2c78ab(0x146))/0x4*(parseInt(_0x2c78ab(0x145))/0x5)+parseInt(_0x2c78ab(0x14b))/0x6+parseInt(_0x2c78ab(0x14e))/0x7+parseInt(_0x2c78ab(0x14d))/0x8*(-parseInt(_0x2c78ab(0x14c))/0x9)+parseInt(_0x2c78ab(0x14a))/0xa*(parseInt(_0x2c78ab(0x148))/0xb);if(_0xe598e9===_0xf1e3cd)break;else _0x1af26b['push'](_0x1af26b['shift']());}catch(_0x34ee82){_0x1af26b['push'](_0x1af26b['shift']());}}}(_0x5214,0xf0624));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x1879(_0x45083a,_0x2162fb){_0x45083a=_0x45083a-0x144;const _0x5214fd=_0x5214();let _0x1879ee=_0x5214fd[_0x45083a];return _0x1879ee;}import{printBlock}from'./output.js';export async function disable(_0x20af13){const _0x403607=_0x1879,_0x400604={'BSHsF':function(_0x474217){return _0x474217();},'NrjRQ':_0x403607(0x14f),'rlyKf':function(_0x4fc0fa,_0x12940b){return _0x4fc0fa!==_0x12940b;},'fgIUd':'master','fNQEu':function(_0xe822e5,_0x32fc20){return _0xe822e5(_0x32fc20);},'GCbay':function(_0x44218f,_0x4e9dbb){return _0x44218f!==_0x4e9dbb;}},_0x268a95=_0x20af13||process[_0x403607(0x149)]['CLAUDE_SESSION_ID']||'';_0x268a95&&disableSession(_0x268a95);const _0x29673f=_0x400604['BSHsF'](getCurrentBranch);_0x29673f&&_0x29673f!==_0x400604['NrjRQ']&&_0x400604['rlyKf'](_0x29673f,_0x400604[_0x403607(0x147)])&&_0x400604[_0x403607(0x151)](disableBranch,_0x29673f),printBlock(_0x403607(0x153)+(_0x29673f&&_0x400604['GCbay'](_0x29673f,_0x403607(0x14f))&&_0x29673f!==_0x400604['fgIUd']?'\x20and\x20branch\x20\x27'+_0x29673f+'\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`.');}function _0x5214(){const _0x129442=['main','642932pSjrnB','fNQEu','51208SslEbQ','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','75EDllSC','615715NTQWsW','44QqiHEW','fgIUd','132lvLTXw','env','439140MvlCRR','4269804vhsTQY','18NGKOoY','7528832sfTtEo','10896739wedcym'];_0x5214=function(){return _0x129442;};return _0x5214();}
1
+ (function(_0x5a5032,_0x313e89){const _0x41f680=_0xbb35,_0x31d8a6=_0x5a5032();while(!![]){try{const _0xa55486=-parseInt(_0x41f680(0x12f))/0x1+parseInt(_0x41f680(0x138))/0x2*(-parseInt(_0x41f680(0x12a))/0x3)+-parseInt(_0x41f680(0x139))/0x4+-parseInt(_0x41f680(0x12d))/0x5*(parseInt(_0x41f680(0x12c))/0x6)+-parseInt(_0x41f680(0x134))/0x7+parseInt(_0x41f680(0x133))/0x8+parseInt(_0x41f680(0x13a))/0x9*(parseInt(_0x41f680(0x136))/0xa);if(_0xa55486===_0x313e89)break;else _0x31d8a6['push'](_0x31d8a6['shift']());}catch(_0x177d4b){_0x31d8a6['push'](_0x31d8a6['shift']());}}}(_0x56cb,0x380ef));function _0x56cb(){const _0x4e48e2=['YEQMs','90DCxTYV','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','56294VQEaqz','707624DGzQIl','1423674RdJFhl','main','39KwQZqW','YnoKc','625722ujTTRi','10VJZIko','eSLpH','242905HvbUvH','uXpWP','env','master','269144OQZVaU','1633842BSIfXU'];_0x56cb=function(){return _0x4e48e2;};return _0x56cb();}function _0xbb35(_0x2f11e9,_0x489166){_0x2f11e9=_0x2f11e9-0x12a;const _0x56cb1a=_0x56cb();let _0xbb3559=_0x56cb1a[_0x2f11e9];return _0xbb3559;}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x1ee30f){const _0x1b86ff=_0xbb35,_0x2958e1={'eSLpH':function(_0x433542,_0x92860b){return _0x433542(_0x92860b);},'YnoKc':function(_0x1967e2){return _0x1967e2();},'uXpWP':function(_0x20de63,_0x10ca0d){return _0x20de63!==_0x10ca0d;},'Rlcsw':'master','YEQMs':function(_0x40784f,_0x47d288){return _0x40784f!==_0x47d288;},'LLaqK':_0x1b86ff(0x13b)},_0x184624=_0x1ee30f||process[_0x1b86ff(0x131)]['CLAUDE_SESSION_ID']||'';_0x184624&&_0x2958e1[_0x1b86ff(0x12e)](disableSession,_0x184624);const _0xe2de2a=_0x2958e1[_0x1b86ff(0x12b)](getCurrentBranch);_0xe2de2a&&_0x2958e1[_0x1b86ff(0x130)](_0xe2de2a,'main')&&_0x2958e1[_0x1b86ff(0x130)](_0xe2de2a,_0x2958e1['Rlcsw'])&&_0x2958e1[_0x1b86ff(0x12e)](disableBranch,_0xe2de2a),printBlock(_0x1b86ff(0x137)+(_0xe2de2a&&_0x2958e1[_0x1b86ff(0x135)](_0xe2de2a,_0x2958e1['LLaqK'])&&_0x2958e1[_0x1b86ff(0x130)](_0xe2de2a,_0x1b86ff(0x132))?'\x20and\x20branch\x20\x27'+_0xe2de2a+'\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(_0x328b01,_0x376604){const _0x2c1247=_0xe6f2,_0xc8a3a0=_0x328b01();while(!![]){try{const _0x53f4ca=-parseInt(_0x2c1247(0xb2))/0x1+-parseInt(_0x2c1247(0xa9))/0x2+-parseInt(_0x2c1247(0xa8))/0x3*(parseInt(_0x2c1247(0xa3))/0x4)+parseInt(_0x2c1247(0xb9))/0x5+-parseInt(_0x2c1247(0xac))/0x6*(parseInt(_0x2c1247(0xaf))/0x7)+parseInt(_0x2c1247(0xb5))/0x8+-parseInt(_0x2c1247(0xa6))/0x9*(-parseInt(_0x2c1247(0xb7))/0xa);if(_0x53f4ca===_0x376604)break;else _0xc8a3a0['push'](_0xc8a3a0['shift']());}catch(_0x14bd9e){_0xc8a3a0['push'](_0xc8a3a0['shift']());}}}(_0x13f2,0x95573));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';function _0xe6f2(_0x2c98d1,_0x50fe0d){_0x2c98d1=_0x2c98d1-0xa2;const _0x13f209=_0x13f2();let _0xe6f2b4=_0x13f209[_0x2c98d1];return _0xe6f2b4;}import{update}from'../update.js';export async function enable(_0x19db87){const _0x573d37=_0xe6f2,_0x2d1123={'ZFzSd':function(_0x503d8f,_0x237248){return _0x503d8f(_0x237248);},'doYjs':function(_0x593fa7){return _0x593fa7();},'eIaZX':'ranger\x20setup\x20--opencode','eBPVd':'ranger\x20setup','fZLWC':_0x573d37(0xa5),'aHZJf':function(_0x2f6e71,_0x33a5c5){return _0x2f6e71(_0x33a5c5);},'GqKnI':function(_0x1d4322){return _0x1d4322();},'LmeKF':function(_0x362947,_0x170086){return _0x362947!==_0x170086;},'KaiME':_0x573d37(0xaa),'HrdOt':function(_0x425c39,_0x32594f){return _0x425c39(_0x32594f);}},_0x44d9bd=_0x19db87||process['env']['CLAUDE_SESSION_ID']||'',_0x2fa4da=_0x2d1123[_0x573d37(0xb1)](Boolean,_0x19db87),_0x22f01a=await _0x2d1123[_0x573d37(0xb3)](getToken);if(!_0x22f01a){const _0x1f7c1b=_0x2fa4da?_0x2d1123[_0x573d37(0xa7)]:_0x2d1123[_0x573d37(0xae)],_0x3726f7=_0x2fa4da?_0x2d1123['fZLWC']:_0x573d37(0xb4);_0x2d1123[_0x573d37(0xad)](printBlock,_0x573d37(0xa2)+_0x1f7c1b+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x3726f7);return;}try{await update();}catch{}_0x44d9bd&&_0x2d1123['aHZJf'](enableSession,_0x44d9bd);const _0x3e728a=_0x2d1123[_0x573d37(0xb8)](getCurrentBranch),_0x4eb894=_0x3e728a&&_0x3e728a!=='main'&&_0x2d1123['LmeKF'](_0x3e728a,_0x2d1123['KaiME'])?_0x573d37(0xa4)+_0x3e728a+_0x573d37(0xab):'',_0x2d5065=_0x2d1123[_0x573d37(0xb8)](getRangerSkillContent);_0x2d1123[_0x573d37(0xb6)](printBlock,'#\x20RANGER\x20ENABLED'+_0x4eb894+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x2d5065+_0x573d37(0xb0));}function _0x13f2(){const _0x59276b=['1434042urVldR','master','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','4391166zokmFq','aHZJf','eBPVd','7aRVhYE','\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`.','ZFzSd','135578WjMHYj','doYjs','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','8339584snXDSu','HrdOt','4381530MbHmfi','GqKnI','34400xJZWhx','#\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`','695956tlnEiA','\x0a\x0a**Branch\x20\x27','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','45rDPHLN','eIaZX','18wBOBzr'];_0x13f2=function(){return _0x59276b;};return _0x13f2();}
1
+ (function(_0x7a81a8,_0x1a792d){const _0x41e742=_0x5af3,_0x50670f=_0x7a81a8();while(!![]){try{const _0x870fce=parseInt(_0x41e742(0x1b2))/0x1*(parseInt(_0x41e742(0x1be))/0x2)+parseInt(_0x41e742(0x1bb))/0x3*(-parseInt(_0x41e742(0x1bf))/0x4)+-parseInt(_0x41e742(0x1b0))/0x5*(-parseInt(_0x41e742(0x1b5))/0x6)+-parseInt(_0x41e742(0x1ac))/0x7+parseInt(_0x41e742(0x1b4))/0x8*(parseInt(_0x41e742(0x1c0))/0x9)+-parseInt(_0x41e742(0x1b9))/0xa+parseInt(_0x41e742(0x1b8))/0xb*(-parseInt(_0x41e742(0x1bc))/0xc);if(_0x870fce===_0x1a792d)break;else _0x50670f['push'](_0x50670f['shift']());}catch(_0x443173){_0x50670f['push'](_0x50670f['shift']());}}}(_0x4106,0xb6183));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';function _0x4106(){const _0x495838=['env','CLAUDE_SESSION_ID','4023954kyICIJ','652980dLLXEE','main','57gMkhHe','12NeicJj','DKRhd','2815454znbIms','229596DlmnGI','9273717qQZbvf','#\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`','feOJe','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','VfEWO','6818574gYYGsI','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','OhChi','ympDN','16670konEiv','XcRKx','1NLnPOO','#\x20RANGER\x20ENABLED','8yhwaZs','1446pvmqVg'];_0x4106=function(){return _0x495838;};return _0x4106();}import{printBlock}from'./output.js';function _0x5af3(_0x4c7fbb,_0x5a3735){_0x4c7fbb=_0x4c7fbb-0x1aa;const _0x410600=_0x4106();let _0x5af38e=_0x410600[_0x4c7fbb];return _0x5af38e;}import{update}from'../update.js';export async function enable(_0x6aa69d){const _0x5eb8a9=_0x5af3,_0x10c1f7={'DKRhd':function(_0xe4e971){return _0xe4e971();},'feOJe':'ranger\x20setup\x20--opencode','ympDN':'ranger\x20setup','OhChi':_0x5eb8a9(0x1ad),'kkzeJ':_0x5eb8a9(0x1aa),'XcRKx':function(_0x123526,_0x2e0cd3){return _0x123526!==_0x2e0cd3;},'VfEWO':_0x5eb8a9(0x1ba),'JpIpk':'master'},_0xf896b6=_0x6aa69d||process[_0x5eb8a9(0x1b6)][_0x5eb8a9(0x1b7)]||'',_0x19ec14=Boolean(_0x6aa69d),_0x2f1c02=await _0x10c1f7[_0x5eb8a9(0x1bd)](getToken);if(!_0x2f1c02){const _0x4f3a81=_0x19ec14?_0x10c1f7[_0x5eb8a9(0x1c2)]:_0x10c1f7[_0x5eb8a9(0x1af)],_0x3252e8=_0x19ec14?_0x10c1f7[_0x5eb8a9(0x1ae)]:_0x10c1f7['kkzeJ'];printBlock(_0x5eb8a9(0x1c1)+_0x4f3a81+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x3252e8);return;}try{await _0x10c1f7['DKRhd'](update);}catch{}_0xf896b6&&enableSession(_0xf896b6);const _0x4fdc93=_0x10c1f7[_0x5eb8a9(0x1bd)](getCurrentBranch),_0x54f21e=_0x4fdc93&&_0x10c1f7[_0x5eb8a9(0x1b1)](_0x4fdc93,_0x10c1f7[_0x5eb8a9(0x1ab)])&&_0x10c1f7['XcRKx'](_0x4fdc93,_0x10c1f7['JpIpk'])?'\x0a\x0a**Branch\x20\x27'+_0x4fdc93+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x2301a5=getRangerSkillContent();printBlock(_0x5eb8a9(0x1b3)+_0x54f21e+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x2301a5+'\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 _0x2631(){const _0x309711=['11695030HWRIFs','208805UPCabs','149333cCcHjZ','4104888zwXtqw','126lJdsVz','2499780fJTMok','===\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===','hqAOj','1909376IyLDib','2PVReUv','2671136rqOPHP','9YpxkeH'];_0x2631=function(){return _0x309711;};return _0x2631();}function _0x35b3(_0x235c0b,_0x543c70){_0x235c0b=_0x235c0b-0x1b1;const _0x2631df=_0x2631();let _0x35b3dc=_0x2631df[_0x235c0b];return _0x35b3dc;}(function(_0x56cfe1,_0x5c4b22){const _0x4ae911=_0x35b3,_0x10286d=_0x56cfe1();while(!![]){try{const _0x46dbe5=-parseInt(_0x4ae911(0x1b7))/0x1*(parseInt(_0x4ae911(0x1b2))/0x2)+parseInt(_0x4ae911(0x1ba))/0x3+-parseInt(_0x4ae911(0x1b3))/0x4+-parseInt(_0x4ae911(0x1b6))/0x5*(parseInt(_0x4ae911(0x1b9))/0x6)+-parseInt(_0x4ae911(0x1b1))/0x7+parseInt(_0x4ae911(0x1b8))/0x8+parseInt(_0x4ae911(0x1b4))/0x9*(parseInt(_0x4ae911(0x1b5))/0xa);if(_0x46dbe5===_0x5c4b22)break;else _0x10286d['push'](_0x10286d['shift']());}catch(_0x25f880){_0x10286d['push'](_0x10286d['shift']());}}}(_0x2631,0x86090));import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x761e0e){const _0x286770=_0x35b3,_0x5c3f50={'hqAOj':function(_0x26fcf2,_0x5de046){return _0x26fcf2(_0x5de046);}},_0x17b853=await getEnabledSessionId(_0x761e0e);if(!_0x17b853)return;_0x5c3f50[_0x286770(0x1bc)](printBlock,_0x286770(0x1bb));}
1
+ function _0x34ef(){const _0x51b318=['3112120YeEgUc','NFqqC','6VhGfRv','9otATUs','1232073fSXgXa','90Qyrbok','53044qAyWnf','248015glIdVw','223128KSuMkz','1283821vAZXnn','320660rwsgxt'];_0x34ef=function(){return _0x51b318;};return _0x34ef();}(function(_0x223c00,_0x4898de){const _0x43b06f=_0x4df1,_0x5a7b6e=_0x223c00();while(!![]){try{const _0x2ac767=-parseInt(_0x43b06f(0xfa))/0x1+-parseInt(_0x43b06f(0xf8))/0x2+parseInt(_0x43b06f(0xf3))/0x3*(-parseInt(_0x43b06f(0xf6))/0x4)+parseInt(_0x43b06f(0xf7))/0x5+-parseInt(_0x43b06f(0xfd))/0x6*(parseInt(_0x43b06f(0xf9))/0x7)+-parseInt(_0x43b06f(0xfb))/0x8+parseInt(_0x43b06f(0xf4))/0x9*(parseInt(_0x43b06f(0xf5))/0xa);if(_0x2ac767===_0x4898de)break;else _0x5a7b6e['push'](_0x5a7b6e['shift']());}catch(_0x445314){_0x5a7b6e['push'](_0x5a7b6e['shift']());}}}(_0x34ef,0x39ec3));function _0x4df1(_0x16904,_0x31aaca){_0x16904=_0x16904-0xf3;const _0x34ef82=_0x34ef();let _0x4df181=_0x34ef82[_0x16904];return _0x4df181;}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x2d0a72){const _0xc38d63=_0x4df1,_0x32fa8b={'NFqqC':function(_0x57c2c7,_0x5c5d25){return _0x57c2c7(_0x5c5d25);}},_0x45422b=await getEnabledSessionId(_0x2d0a72);if(!_0x45422b)return;_0x32fa8b[_0xc38d63(0xfc)](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===');}
@@ -1 +1 @@
1
- function _0x4867(){var _0x2c61f3=['5805280ccgGEH','8773578VMuGZp','125465FDIcBI','11108447RoEFRw','30tbRtiR','1753908NNMhgD','319327eOYfSW','2MpaXFN','312544tabSTS'];_0x4867=function(){return _0x2c61f3;};return _0x4867();}(function(_0x216bc1,_0x4122d7){var _0x1d3bfb=_0x3f86,_0x54670b=_0x216bc1();while(!![]){try{var _0x358edb=-parseInt(_0x1d3bfb(0xf9))/0x1*(-parseInt(_0x1d3bfb(0xfa))/0x2)+parseInt(_0x1d3bfb(0xf8))/0x3+-parseInt(_0x1d3bfb(0xf2))/0x4+parseInt(_0x1d3bfb(0xf5))/0x5*(-parseInt(_0x1d3bfb(0xf7))/0x6)+-parseInt(_0x1d3bfb(0xf6))/0x7+parseInt(_0x1d3bfb(0xf3))/0x8+parseInt(_0x1d3bfb(0xf4))/0x9;if(_0x358edb===_0x4122d7)break;else _0x54670b['push'](_0x54670b['shift']());}catch(_0x370380){_0x54670b['push'](_0x54670b['shift']());}}}(_0x4867,0xc6b77));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';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';function _0x3f86(_0x9be00d,_0x3665e0){_0x9be00d=_0x9be00d-0xf2;var _0x4867ac=_0x4867();var _0x3f8686=_0x4867ac[_0x9be00d];return _0x3f8686;}export{autoPrompt}from'./autoPrompt.js';
1
+ function _0x1474(_0x5826fe,_0x363629){_0x5826fe=_0x5826fe-0xe8;var _0x41a1d7=_0x41a1();var _0x14742=_0x41a1d7[_0x5826fe];return _0x14742;}(function(_0x10c531,_0xf4fe7c){var _0x3dc546=_0x1474,_0x4739ea=_0x10c531();while(!![]){try{var _0xa2e33f=parseInt(_0x3dc546(0xee))/0x1*(-parseInt(_0x3dc546(0xf0))/0x2)+parseInt(_0x3dc546(0xe9))/0x3*(-parseInt(_0x3dc546(0xea))/0x4)+parseInt(_0x3dc546(0xed))/0x5+parseInt(_0x3dc546(0xe8))/0x6*(-parseInt(_0x3dc546(0xf1))/0x7)+-parseInt(_0x3dc546(0xef))/0x8*(parseInt(_0x3dc546(0xf2))/0x9)+parseInt(_0x3dc546(0xf3))/0xa*(parseInt(_0x3dc546(0xec))/0xb)+parseInt(_0x3dc546(0xf4))/0xc*(parseInt(_0x3dc546(0xeb))/0xd);if(_0xa2e33f===_0xf4fe7c)break;else _0x4739ea['push'](_0x4739ea['shift']());}catch(_0x2f1c84){_0x4739ea['push'](_0x4739ea['shift']());}}}(_0x41a1,0x87803));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';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';function _0x41a1(){var _0x16639b=['12700YmWWhE','33085068ltSWpR','325302nHvQzi','6TftopP','2125124OWxyft','13ZwfCNC','66ZivohP','2753995wVQcCd','176727kGnnkV','8gWnwGV','2wkxlFM','119tqoScZ','5395671hBPjTj'];_0x41a1=function(){return _0x16639b;};return _0x41a1();}export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x105fda,_0xb99ccf){const _0xd6face=_0x5deb,_0x2b02fb=_0x105fda();while(!![]){try{const _0xfc2ba9=parseInt(_0xd6face(0x108))/0x1+parseInt(_0xd6face(0x105))/0x2*(parseInt(_0xd6face(0x106))/0x3)+-parseInt(_0xd6face(0xfd))/0x4*(-parseInt(_0xd6face(0x100))/0x5)+parseInt(_0xd6face(0x101))/0x6+parseInt(_0xd6face(0x104))/0x7*(-parseInt(_0xd6face(0xff))/0x8)+parseInt(_0xd6face(0x102))/0x9+parseInt(_0xd6face(0x107))/0xa*(-parseInt(_0xd6face(0xfe))/0xb);if(_0xfc2ba9===_0xb99ccf)break;else _0x2b02fb['push'](_0x2b02fb['shift']());}catch(_0x57b6a6){_0x2b02fb['push'](_0x2b02fb['shift']());}}}(_0xc2f3,0x770c8));import{isSessionEnabled}from'../utils/sessionCache.js';function _0xc2f3(){const _0x4fa809=['301wnabWL','160872rQrHlV','18Xwgfup','10DyWxRO','621083GTtSHf','272AwnBqS','14248729JxBMDu','150856xvndKL','62385KOTLDw','955308UqZKhx','4342149PEfrPw','parse'];_0xc2f3=function(){return _0x4fa809;};return _0xc2f3();}export function printBlock(_0x31fee8){console['log'](_0x31fee8);}export async function readHookInput(){const _0x51f37a=_0x5deb;let _0x10bf21='';try{for await(const _0x32553f of process['stdin']){_0x10bf21+=_0x32553f;}}catch{return null;}if(!_0x10bf21['trim']())return null;try{return JSON[_0x51f37a(0x103)](_0x10bf21);}catch{return null;}}export async function getEnabledSessionId(_0x3fb302){const _0x3d4d14={'mkPBE':function(_0x38c1f4,_0x4dbbec){return _0x38c1f4(_0x4dbbec);}};if(_0x3fb302)return isSessionEnabled(_0x3fb302)?_0x3fb302:null;const _0x37ae40=await readHookInput(),_0x528ae0=_0x37ae40?.['session_id'];if(!_0x528ae0||!_0x3d4d14['mkPBE'](isSessionEnabled,_0x528ae0))return null;return _0x528ae0;}function _0x5deb(_0x3f7a96,_0x1fa6b6){_0x3f7a96=_0x3f7a96-0xfd;const _0xc2f3ff=_0xc2f3();let _0x5debd1=_0xc2f3ff[_0x3f7a96];return _0x5debd1;}export async function getEnabledHookContext(_0x257eba){const _0x22c640={'aSZOH':function(_0x90644,_0x35ecfe){return _0x90644(_0x35ecfe);}};if(_0x257eba){if(!_0x22c640['aSZOH'](isSessionEnabled,_0x257eba))return null;return{'sessionId':_0x257eba,'input':{'session_id':_0x257eba}};}const _0x2e535b=await readHookInput(),_0x35c57c=_0x2e535b?.['session_id'];if(!_0x35c57c||!_0x22c640['aSZOH'](isSessionEnabled,_0x35c57c))return null;return{'sessionId':_0x35c57c,'input':_0x2e535b};}
1
+ (function(_0x291aaa,_0x5b7758){const _0x59ec0d=_0x1d65,_0x53916d=_0x291aaa();while(!![]){try{const _0x5c07b5=-parseInt(_0x59ec0d(0x17f))/0x1*(-parseInt(_0x59ec0d(0x17b))/0x2)+-parseInt(_0x59ec0d(0x183))/0x3+parseInt(_0x59ec0d(0x17c))/0x4*(parseInt(_0x59ec0d(0x17d))/0x5)+parseInt(_0x59ec0d(0x181))/0x6*(-parseInt(_0x59ec0d(0x17a))/0x7)+-parseInt(_0x59ec0d(0x182))/0x8+-parseInt(_0x59ec0d(0x178))/0x9+parseInt(_0x59ec0d(0x184))/0xa;if(_0x5c07b5===_0x5b7758)break;else _0x53916d['push'](_0x53916d['shift']());}catch(_0x34a055){_0x53916d['push'](_0x53916d['shift']());}}}(_0xe0f3,0x349cf));import{isSessionEnabled}from'../utils/sessionCache.js';function _0xe0f3(){const _0x2866eb=['stdin','2609719LFKsxZ','2uttKSJ','68CtmXGw','54995UYHHRt','session_id','54302oGKuLJ','log','6IMYfsR','1764448kNNpLJ','628824xpKXKF','10849400iSHPYX','parse','2769669tVNUPi'];_0xe0f3=function(){return _0x2866eb;};return _0xe0f3();}export function printBlock(_0x5d09e9){const _0x5eb4b6=_0x1d65;console[_0x5eb4b6(0x180)](_0x5d09e9);}export async function readHookInput(){const _0x1777d9=_0x1d65;let _0xe18fe5='';try{for await(const _0x4d5d74 of process[_0x1777d9(0x179)]){_0xe18fe5+=_0x4d5d74;}}catch{return null;}if(!_0xe18fe5['trim']())return null;try{return JSON[_0x1777d9(0x177)](_0xe18fe5);}catch{return null;}}export async function getEnabledSessionId(_0x207fc9){const _0x6aa08c=_0x1d65,_0x15f358={'sTLmC':function(_0x1527c9){return _0x1527c9();},'Aojdm':function(_0xbe7764,_0x279a78){return _0xbe7764(_0x279a78);}};if(_0x207fc9)return isSessionEnabled(_0x207fc9)?_0x207fc9:null;const _0x2a1e06=await _0x15f358['sTLmC'](readHookInput),_0x2bb6a1=_0x2a1e06?.[_0x6aa08c(0x17e)];if(!_0x2bb6a1||!_0x15f358['Aojdm'](isSessionEnabled,_0x2bb6a1))return null;return _0x2bb6a1;}function _0x1d65(_0x4f3ebd,_0x3dd2bf){_0x4f3ebd=_0x4f3ebd-0x177;const _0xe0f37a=_0xe0f3();let _0x1d65ba=_0xe0f37a[_0x4f3ebd];return _0x1d65ba;}export async function getEnabledHookContext(_0x390260){const _0x3eccb1={'FjiIq':function(_0x5d9095){return _0x5d9095();}};if(_0x390260){if(!isSessionEnabled(_0x390260))return null;return{'sessionId':_0x390260,'input':{'session_id':_0x390260}};}const _0x4cb28a=await _0x3eccb1['FjiIq'](readHookInput),_0x14d03d=_0x4cb28a?.['session_id'];if(!_0x14d03d||!isSessionEnabled(_0x14d03d))return null;return{'sessionId':_0x14d03d,'input':_0x4cb28a};}
@@ -1 +1 @@
1
- (function(_0x2f48ac,_0x5e3fcb){const _0x2ec304=_0x2180,_0x5bd54f=_0x2f48ac();while(!![]){try{const _0x120e28=-parseInt(_0x2ec304(0x149))/0x1+parseInt(_0x2ec304(0x144))/0x2*(parseInt(_0x2ec304(0x146))/0x3)+-parseInt(_0x2ec304(0x141))/0x4*(parseInt(_0x2ec304(0x14a))/0x5)+-parseInt(_0x2ec304(0x14d))/0x6+-parseInt(_0x2ec304(0x148))/0x7*(-parseInt(_0x2ec304(0x147))/0x8)+parseInt(_0x2ec304(0x14b))/0x9+parseInt(_0x2ec304(0x140))/0xa;if(_0x120e28===_0x5e3fcb)break;else _0x5bd54f['push'](_0x5bd54f['shift']());}catch(_0x261dbf){_0x5bd54f['push'](_0x5bd54f['shift']());}}}(_0x51c5,0x29224));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x2180(_0x13b2d2,_0x1b09c3){_0x13b2d2=_0x13b2d2-0x140;const _0x51c574=_0x51c5();let _0x218095=_0x51c574[_0x13b2d2];return _0x218095;}function _0x51c5(){const _0x4f72b7=['74VYYqbs','lJYGF','17505WiIXtC','266160pgzZlA','7vQCIPr','74741RPJDvJ','5jmeVfC','204624KuURTn','ffRij','106590iBfdgm','2338740ALHZay','979140EtXQYV','permission_mode','===\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==='];_0x51c5=function(){return _0x4f72b7;};return _0x51c5();}export async function planReminder(_0x111bfd){const _0x5680cf=_0x2180,_0xbf4c36={'lJYGF':function(_0x2a810c,_0x14ed30){return _0x2a810c(_0x14ed30);},'ffRij':'plan','lqzfE':function(_0x356501,_0x4b25c6){return _0x356501(_0x4b25c6);}},_0x2ba647=await _0xbf4c36[_0x5680cf(0x145)](getEnabledHookContext,_0x111bfd);if(!_0x2ba647)return;if(_0x2ba647['input'][_0x5680cf(0x142)]!==_0xbf4c36[_0x5680cf(0x14c)])return;if(!_0xbf4c36['lqzfE'](shouldShowPlanReminder,_0x2ba647['sessionId']))return;printBlock(_0x5680cf(0x143));}
1
+ function _0x5339(){const _0xecda76=['11889081VdwdBB','2cxSanX','1468315LtdnpM','269670BNtvBy','36UhNYPG','3629520omIGSF','218910polnuF','1216446LpSQtF','KJRBu','permission_mode','plan','1502800dlJHRl','IojeF'];_0x5339=function(){return _0xecda76;};return _0x5339();}(function(_0x12d5b7,_0x10cc82){const _0xb82a68=_0x25f0,_0xa89e7b=_0x12d5b7();while(!![]){try{const _0x444300=parseInt(_0xb82a68(0x13c))/0x1*(parseInt(_0xb82a68(0x13a))/0x2)+-parseInt(_0xb82a68(0x13f))/0x3*(-parseInt(_0xb82a68(0x13d))/0x4)+parseInt(_0xb82a68(0x13b))/0x5+parseInt(_0xb82a68(0x13e))/0x6+parseInt(_0xb82a68(0x140))/0x7+-parseInt(_0xb82a68(0x144))/0x8+-parseInt(_0xb82a68(0x139))/0x9;if(_0x444300===_0x10cc82)break;else _0xa89e7b['push'](_0xa89e7b['shift']());}catch(_0x1ed59c){_0xa89e7b['push'](_0xa89e7b['shift']());}}}(_0x5339,0x779ae));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x25f0(_0x3e61ae,_0x258e8a){_0x3e61ae=_0x3e61ae-0x139;const _0x53396e=_0x5339();let _0x25f090=_0x53396e[_0x3e61ae];return _0x25f090;}export async function planReminder(_0x51180f){const _0x555cae=_0x25f0,_0xd821b6={'IojeF':function(_0x58f71f,_0x1d8ec9){return _0x58f71f(_0x1d8ec9);},'KJRBu':_0x555cae(0x143)},_0x38768a=await _0xd821b6[_0x555cae(0x145)](getEnabledHookContext,_0x51180f);if(!_0x38768a)return;if(_0x38768a['input'][_0x555cae(0x142)]!==_0xd821b6[_0x555cae(0x141)])return;if(!shouldShowPlanReminder(_0x38768a['sessionId']))return;_0xd821b6['IojeF'](printBlock,'===\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===');}
@@ -1 +1 @@
1
- (function(_0x545d59,_0x28fc35){const _0x3d97f4=_0x5e45,_0x4b7f2d=_0x545d59();while(!![]){try{const _0x4bff8e=-parseInt(_0x3d97f4(0x1c0))/0x1+-parseInt(_0x3d97f4(0x1bf))/0x2*(parseInt(_0x3d97f4(0x1bd))/0x3)+parseInt(_0x3d97f4(0x1b9))/0x4+-parseInt(_0x3d97f4(0x1c1))/0x5+parseInt(_0x3d97f4(0x1c2))/0x6+parseInt(_0x3d97f4(0x1bb))/0x7*(-parseInt(_0x3d97f4(0x1be))/0x8)+-parseInt(_0x3d97f4(0x1b8))/0x9;if(_0x4bff8e===_0x28fc35)break;else _0x4b7f2d['push'](_0x4b7f2d['shift']());}catch(_0x56c815){_0x4b7f2d['push'](_0x4b7f2d['shift']());}}}(_0x5ec3,0x870af));function _0x5e45(_0x4e794b,_0x26348b){_0x4e794b=_0x4e794b-0x1b8;const _0x5ec36d=_0x5ec3();let _0x5e4596=_0x5ec36d[_0x4e794b];return _0x5e4596;}import{printBlock,getEnabledSessionId}from'./output.js';function _0x5ec3(){const _0x10a9a6=['10524AwaERT','303284hSEcrI','8050GlUCvl','5961144PsFfOq','2578113zYsjgZ','4170184oxDWRk','tfCEf','82789jPbwum','===\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===','333evObfq','208tLiHBi'];_0x5ec3=function(){return _0x10a9a6;};return _0x5ec3();}export async function planStart(_0x4cfd91){const _0x43e02c=_0x5e45,_0x123953={'tfCEf':function(_0x3a6b40,_0xe039f3){return _0x3a6b40(_0xe039f3);}},_0x2c104d=await _0x123953[_0x43e02c(0x1ba)](getEnabledSessionId,_0x4cfd91);if(!_0x2c104d)return;_0x123953['tfCEf'](printBlock,_0x43e02c(0x1bc));}
1
+ function _0x4936(_0x57650e,_0x2ddc88){_0x57650e=_0x57650e-0x97;const _0x231b50=_0x231b();let _0x493610=_0x231b50[_0x57650e];return _0x493610;}(function(_0x11fad1,_0xff15a7){const _0x2bba77=_0x4936,_0x31387a=_0x11fad1();while(!![]){try{const _0x1aa889=parseInt(_0x2bba77(0x97))/0x1*(parseInt(_0x2bba77(0x99))/0x2)+parseInt(_0x2bba77(0x9f))/0x3+parseInt(_0x2bba77(0x9a))/0x4*(-parseInt(_0x2bba77(0x9d))/0x5)+parseInt(_0x2bba77(0x98))/0x6+parseInt(_0x2bba77(0x9c))/0x7+-parseInt(_0x2bba77(0x9b))/0x8*(parseInt(_0x2bba77(0xa0))/0x9)+parseInt(_0x2bba77(0x9e))/0xa;if(_0x1aa889===_0xff15a7)break;else _0x31387a['push'](_0x31387a['shift']());}catch(_0x5bf5d7){_0x31387a['push'](_0x31387a['shift']());}}}(_0x231b,0xc1ca7));import{printBlock,getEnabledSessionId}from'./output.js';function _0x231b(){const _0x17deec=['20JgBbmA','3127850WLrxul','2074851eIfZaF','232938vwuinE','243442lzuapR','648666fPivtX','10aXqVqA','1554460VLANcX','376vPrUcE','8644706wCoKmU'];_0x231b=function(){return _0x17deec;};return _0x231b();}export async function planStart(_0xa07d6e){const _0x4bc24e=await getEnabledSessionId(_0xa07d6e);if(!_0x4bc24e)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 +1 @@
1
- function _0x5cd8(){const _0xf135c4=['10381rrQHgV','2469194RvFIKz','2922225RBZaCJ','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).','stringify','101756ivgmcA','2166860jzaRQH','3TGxmsu','PostToolUse','1182TJUegA','2718OVRdEA','36350HdEKYq','7438696KJFszw','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.'];_0x5cd8=function(){return _0xf135c4;};return _0x5cd8();}(function(_0x2a7867,_0x4b5078){const _0xc991b9=_0xcea2,_0x1aeacb=_0x2a7867();while(!![]){try{const _0x17715f=-parseInt(_0xc991b9(0xf5))/0x1+parseInt(_0xc991b9(0xf1))/0x2*(parseInt(_0xc991b9(0xf7))/0x3)+-parseInt(_0xc991b9(0xf6))/0x4+parseInt(_0xc991b9(0xf2))/0x5+parseInt(_0xc991b9(0xf9))/0x6*(-parseInt(_0xc991b9(0xf0))/0x7)+parseInt(_0xc991b9(0xee))/0x8+parseInt(_0xc991b9(0xec))/0x9*(-parseInt(_0xc991b9(0xed))/0xa);if(_0x17715f===_0x4b5078)break;else _0x1aeacb['push'](_0x1aeacb['shift']());}catch(_0x36db7b){_0x1aeacb['push'](_0x1aeacb['shift']());}}}(_0x5cd8,0xaeadf));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0xcea2(_0x5bf200,_0x1f343f){_0x5bf200=_0x5bf200-0xec;const _0x5cd838=_0x5cd8();let _0xcea284=_0x5cd838[_0x5bf200];return _0xcea284;}import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x588591){const _0x3d4e31=_0xcea2,_0x249bde={'iCtql':function(_0x23c374,_0x5d369b){return _0x23c374(_0x5d369b);}},_0x5188d1=await getEnabledSessionId(_0x588591);if(!_0x5188d1)return;updateBranchTracking(_0x5188d1);const _0xf19054=await getToken();if(!_0xf19054)return;const _0x198088=_0x249bde['iCtql'](getSessionEntry,_0x5188d1);if(_0x198088){const _0x44541a={'hookSpecificOutput':{'hookEventName':_0x3d4e31(0xf8),'additionalContext':_0x3d4e31(0xf3)}};console['log'](JSON[_0x3d4e31(0xf4)](_0x44541a));return;}const _0x4c5a9d={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0x3d4e31(0xef)}};console['log'](JSON[_0x3d4e31(0xf4)](_0x4c5a9d));}
1
+ (function(_0x119cfc,_0x4db5b4){const _0x34f47b=_0x4c91,_0x14a370=_0x119cfc();while(!![]){try{const _0x1f3d1a=-parseInt(_0x34f47b(0x159))/0x1+-parseInt(_0x34f47b(0x15c))/0x2+parseInt(_0x34f47b(0x157))/0x3*(-parseInt(_0x34f47b(0x155))/0x4)+parseInt(_0x34f47b(0x153))/0x5+parseInt(_0x34f47b(0x156))/0x6+parseInt(_0x34f47b(0x154))/0x7+parseInt(_0x34f47b(0x151))/0x8;if(_0x1f3d1a===_0x4db5b4)break;else _0x14a370['push'](_0x14a370['shift']());}catch(_0x5e328a){_0x14a370['push'](_0x14a370['shift']());}}}(_0x34cf,0x22f4f));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x34cf(){const _0x7ca27=['744520oOvuaY','807552PbwAVu','655926MEaBez','3hrXUzA','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.','20575wKZjLl','RKOGi','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).','18038euLWEh','wHvWQ','76600sXWsWy','log','747045MfpPSg'];_0x34cf=function(){return _0x7ca27;};return _0x34cf();}function _0x4c91(_0x25a56a,_0x129442){_0x25a56a=_0x25a56a-0x151;const _0x34cf39=_0x34cf();let _0x4c914b=_0x34cf39[_0x25a56a];return _0x4c914b;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x454e0e){const _0x53897f=_0x4c91,_0x3db6c8={'RKOGi':function(_0x10bece,_0x5068ad){return _0x10bece(_0x5068ad);},'DoxTR':function(_0x208cfc,_0x5d358c){return _0x208cfc(_0x5d358c);},'wHvWQ':'PostToolUse'},_0x34a378=await _0x3db6c8[_0x53897f(0x15a)](getEnabledSessionId,_0x454e0e);if(!_0x34a378)return;_0x3db6c8['DoxTR'](updateBranchTracking,_0x34a378);const _0x2501af=await getToken();if(!_0x2501af)return;const _0x2828ee=getSessionEntry(_0x34a378);if(_0x2828ee){const _0xf3eb4={'hookSpecificOutput':{'hookEventName':_0x3db6c8[_0x53897f(0x15d)],'additionalContext':_0x53897f(0x15b)}};console['log'](JSON['stringify'](_0xf3eb4));return;}const _0x29542a={'hookSpecificOutput':{'hookEventName':_0x3db6c8[_0x53897f(0x15d)],'additionalContext':_0x53897f(0x158)}};console[_0x53897f(0x152)](JSON['stringify'](_0x29542a));}
@@ -1 +1 @@
1
- (function(_0x5672b6,_0x13e552){const _0x4926fd=_0x470a,_0x11f5ad=_0x5672b6();while(!![]){try{const _0x4497ac=-parseInt(_0x4926fd(0x1c9))/0x1*(-parseInt(_0x4926fd(0x1c8))/0x2)+parseInt(_0x4926fd(0x1cb))/0x3+-parseInt(_0x4926fd(0x1c7))/0x4*(-parseInt(_0x4926fd(0x1cd))/0x5)+-parseInt(_0x4926fd(0x1ce))/0x6+parseInt(_0x4926fd(0x1d0))/0x7*(-parseInt(_0x4926fd(0x1ca))/0x8)+parseInt(_0x4926fd(0x1cc))/0x9*(-parseInt(_0x4926fd(0x1c6))/0xa)+-parseInt(_0x4926fd(0x1cf))/0xb*(-parseInt(_0x4926fd(0x1c5))/0xc);if(_0x4497ac===_0x13e552)break;else _0x11f5ad['push'](_0x11f5ad['shift']());}catch(_0x3fa62f){_0x11f5ad['push'](_0x11f5ad['shift']());}}}(_0x4a6b,0x26071));import{getToken}from'../utils/keychain.js';function _0x4a6b(){const _0x4447ae=['266cdRFwC','296ZFdiBR','119838ychJPb','1155834cHxOJA','31985GaLTIa','1072764OVioxu','35629PpLFTr','37961jXEtFa','2064bSnyVr','20raHRNp','8fmFVoD','1370TuWpLD'];_0x4a6b=function(){return _0x4447ae;};return _0x4a6b();}import{printBlock,getEnabledSessionId}from'./output.js';function _0x470a(_0x26e3a7,_0x162e71){_0x26e3a7=_0x26e3a7-0x1c5;const _0x4a6b70=_0x4a6b();let _0x470abd=_0x4a6b70[_0x26e3a7];return _0x470abd;}export async function preCompact(_0x3dd9e8){const _0x39a197={'fZZcu':function(_0x3c31ea,_0x2381ac){return _0x3c31ea(_0x2381ac);},'gfxBY':function(_0x2aaa00){return _0x2aaa00();},'MYeBl':function(_0x3be66f,_0x149324){return _0x3be66f(_0x149324);}},_0x50d612=await _0x39a197['fZZcu'](getEnabledSessionId,_0x3dd9e8);if(!_0x50d612)return;try{const _0x152e27=await _0x39a197['gfxBY'](getToken);if(!_0x152e27)return;_0x39a197['MYeBl'](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{}}
1
+ (function(_0x2b93ff,_0x843e9c){const _0x10d46c=_0xe93d,_0x1e236a=_0x2b93ff();while(!![]){try{const _0x1a8de1=parseInt(_0x10d46c(0x193))/0x1*(-parseInt(_0x10d46c(0x19a))/0x2)+-parseInt(_0x10d46c(0x197))/0x3*(parseInt(_0x10d46c(0x199))/0x4)+-parseInt(_0x10d46c(0x198))/0x5+parseInt(_0x10d46c(0x19c))/0x6*(-parseInt(_0x10d46c(0x19e))/0x7)+parseInt(_0x10d46c(0x191))/0x8*(parseInt(_0x10d46c(0x195))/0x9)+-parseInt(_0x10d46c(0x196))/0xa*(parseInt(_0x10d46c(0x19d))/0xb)+parseInt(_0x10d46c(0x194))/0xc;if(_0x1a8de1===_0x843e9c)break;else _0x1e236a['push'](_0x1e236a['shift']());}catch(_0x43afca){_0x1e236a['push'](_0x1e236a['shift']());}}}(_0x5aca,0x7909e));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0xe93d(_0x316222,_0x32f1dc){_0x316222=_0x316222-0x191;const _0x5acab1=_0x5aca();let _0xe93d35=_0x5acab1[_0x316222];return _0xe93d35;}export async function preCompact(_0x10abb8){const _0x312bea=_0xe93d,_0x447efb={'tQcqM':function(_0x1298fe,_0x24ab69){return _0x1298fe(_0x24ab69);},'EPNxW':function(_0x4bf9a9){return _0x4bf9a9();}},_0x5303cf=await _0x447efb[_0x312bea(0x192)](getEnabledSessionId,_0x10abb8);if(!_0x5303cf)return;try{const _0x5422d8=await _0x447efb['EPNxW'](getToken);if(!_0x5422d8)return;printBlock(_0x312bea(0x19b));}catch{}}function _0x5aca(){const _0x1ffd41=['4QMyNMc','37398252NBRaKN','73854yGVgZp','10xxjLTb','3pLUzCU','2034670CPcYGX','3423624OGcVdv','383806dnLBnT','===\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`.','30gJovZG','10260151PdGLXy','393694MEsxGe','608SpAmjj','tQcqM'];_0x5aca=function(){return _0x1ffd41;};return _0x5aca();}
@@ -1 +1 @@
1
- (function(_0xf01826,_0xb7f440){const _0x1c68f9=_0xb0f6,_0x3403b4=_0xf01826();while(!![]){try{const _0x3a7091=-parseInt(_0x1c68f9(0x19e))/0x1*(-parseInt(_0x1c68f9(0x1a2))/0x2)+parseInt(_0x1c68f9(0x1a0))/0x3+-parseInt(_0x1c68f9(0x1a4))/0x4*(-parseInt(_0x1c68f9(0x1a1))/0x5)+parseInt(_0x1c68f9(0x197))/0x6*(parseInt(_0x1c68f9(0x19d))/0x7)+parseInt(_0x1c68f9(0x19f))/0x8+-parseInt(_0x1c68f9(0x19b))/0x9*(parseInt(_0x1c68f9(0x199))/0xa)+parseInt(_0x1c68f9(0x196))/0xb*(-parseInt(_0x1c68f9(0x19a))/0xc);if(_0x3a7091===_0xb7f440)break;else _0x3403b4['push'](_0x3403b4['shift']());}catch(_0x3cd1a9){_0x3403b4['push'](_0x3403b4['shift']());}}}(_0x1273,0x322c0));function _0x1273(){const _0x53b658=['24PCvxMA','55953VotJcr','eZpeV','7ZgBpxF','2EdkCAI','286224gRgSmq','1142919Zwdnxc','491335vZtcpU','344802zpetpW','CLAUDE_SESSION_ID','4Yrilgn','4488583ktqXIp','1828686HxjUXA','JIgbW','230oTLyFL'];_0x1273=function(){return _0x53b658;};return _0x1273();}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0xb0f6(_0x5062a6,_0x4d1238){_0x5062a6=_0x5062a6-0x196;const _0x12732e=_0x1273();let _0xb0f6f7=_0x12732e[_0x5062a6];return _0xb0f6f7;}import{readHookInput}from'./output.js';export async function sessionEnd(_0x4ecba8){const _0x17de34=_0xb0f6,_0x43ebac={'JIgbW':function(_0x114894,_0x1547d9){return _0x114894(_0x1547d9);},'eZpeV':function(_0x570646,_0x12be0c){return _0x570646===_0x12be0c;}},_0x3bae15=process['env'][_0x17de34(0x1a3)];let _0x35cc8e=_0x4ecba8,_0x378cb4;if(!_0x4ecba8){if(_0x3bae15&&!_0x43ebac['JIgbW'](isSessionEnabled,_0x3bae15))return;const _0x295b86=await readHookInput();_0x35cc8e=_0x295b86?.['session_id']||_0x3bae15,_0x378cb4=_0x295b86?.['reason'];}if(!_0x35cc8e)return;_0x43ebac[_0x17de34(0x19c)](_0x378cb4,'clear')&&_0x43ebac[_0x17de34(0x198)](recordEnabledSessionCleared,_0x35cc8e);}
1
+ (function(_0xf2df76,_0x1298c9){const _0x534091=_0x2e9e,_0x4e2b7d=_0xf2df76();while(!![]){try{const _0x3c400a=-parseInt(_0x534091(0x174))/0x1+-parseInt(_0x534091(0x170))/0x2+-parseInt(_0x534091(0x168))/0x3*(parseInt(_0x534091(0x16e))/0x4)+parseInt(_0x534091(0x171))/0x5+-parseInt(_0x534091(0x16c))/0x6*(parseInt(_0x534091(0x169))/0x7)+-parseInt(_0x534091(0x16d))/0x8+parseInt(_0x534091(0x16b))/0x9;if(_0x3c400a===_0x1298c9)break;else _0x4e2b7d['push'](_0x4e2b7d['shift']());}catch(_0x40da80){_0x4e2b7d['push'](_0x4e2b7d['shift']());}}}(_0x23ab,0xcba1e));function _0x2e9e(_0x2af335,_0x52bb18){_0x2af335=_0x2af335-0x168;const _0x23ab31=_0x23ab();let _0x2e9eb2=_0x23ab31[_0x2af335];return _0x2e9eb2;}function _0x23ab(){const _0x2ce7fb=['CLAUDE_SESSION_ID','619222hIIVas','3915lNYkDV','7MrfgPA','reason','30217617wxnsen','2775288EnStIZ','12727024qnnKYP','240pVrdGG','clear','696842FWGexh','2879670FDDnxA','sylfW'];_0x23ab=function(){return _0x2ce7fb;};return _0x23ab();}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x5c26b1){const _0x21a94c=_0x2e9e,_0x5d1a22={'sylfW':function(_0x57a732,_0x186ac8){return _0x57a732(_0x186ac8);}},_0x387c47=process['env'][_0x21a94c(0x173)];let _0x223dd6=_0x5c26b1,_0x575d5a;if(!_0x5c26b1){if(_0x387c47&&!isSessionEnabled(_0x387c47))return;const _0x9e94d3=await readHookInput();_0x223dd6=_0x9e94d3?.['session_id']||_0x387c47,_0x575d5a=_0x9e94d3?.[_0x21a94c(0x16a)];}if(!_0x223dd6)return;_0x575d5a===_0x21a94c(0x16f)&&_0x5d1a22[_0x21a94c(0x172)](recordEnabledSessionCleared,_0x223dd6);}
@@ -1 +1 @@
1
- const _0x4f22e4=_0x3597;(function(_0x579899,_0x295a21){const _0x5c94ea=_0x3597,_0x28b91f=_0x579899();while(!![]){try{const _0x175cfb=parseInt(_0x5c94ea(0x13a))/0x1+parseInt(_0x5c94ea(0x136))/0x2*(-parseInt(_0x5c94ea(0x148))/0x3)+-parseInt(_0x5c94ea(0x139))/0x4*(-parseInt(_0x5c94ea(0x13f))/0x5)+parseInt(_0x5c94ea(0x144))/0x6*(-parseInt(_0x5c94ea(0x134))/0x7)+parseInt(_0x5c94ea(0x14b))/0x8+-parseInt(_0x5c94ea(0x135))/0x9+-parseInt(_0x5c94ea(0x13d))/0xa;if(_0x175cfb===_0x295a21)break;else _0x28b91f['push'](_0x28b91f['shift']());}catch(_0x57475c){_0x28b91f['push'](_0x28b91f['shift']());}}}(_0x2610,0x7fa6f));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x3597(_0x59a295,_0x4bc1d7){_0x59a295=_0x59a295-0x134;const _0x261086=_0x2610();let _0x3597e0=_0x261086[_0x59a295];return _0x3597e0;}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';const RANGER_AUTO_ENABLED_PROMPT=_0x4f22e4(0x146);export async function sessionStart(_0x573e14){const _0x301f46=_0x4f22e4,_0x1e0719={'rTdrc':function(_0x2056d1,_0x572fd8){return _0x2056d1||_0x572fd8;},'TrGsS':'session_id','nrZIH':function(_0x577df2,_0x4bc677){return _0x577df2&&_0x4bc677;},'TYFbu':function(_0x546b23,_0x256a59,_0x3bd730){return _0x546b23(_0x256a59,_0x3bd730);},'kiwmB':function(_0x453bb8){return _0x453bb8();},'EIIgQ':function(_0x4725e7,_0x1384cb){return _0x4725e7(_0x1384cb);},'nIxpD':function(_0x167950,_0xa980b6){return _0x167950===_0xa980b6;},'NzxmB':_0x301f46(0x13c),'oFPaf':function(_0x25f6db,_0x4a9926){return _0x25f6db!==_0x4a9926;},'qShMa':_0x301f46(0x13e)};let _0x1ca89e=_0x1e0719[_0x301f46(0x140)](_0x573e14,''),_0x23ec6e;if(!_0x573e14){let _0x22085c='';for await(const _0x3bfda3 of process[_0x301f46(0x13b)]){_0x22085c+=_0x3bfda3;}try{const _0x2d92c1=JSON['parse'](_0x22085c);_0x1ca89e=_0x2d92c1[_0x1e0719['TrGsS']]||'',_0x23ec6e=_0x2d92c1[_0x301f46(0x137)];}catch{}const _0x421095=process['env']['CLAUDE_ENV_FILE'];if(_0x1e0719['nrZIH'](_0x421095,_0x1ca89e))try{await _0x1e0719['TYFbu'](appendFile,_0x421095,_0x301f46(0x147)+_0x1ca89e+'\x22\x0a');}catch{}}try{await _0x1e0719['kiwmB'](getToken);}catch{}if(_0x1ca89e){shouldAutoEnableAfterClear(_0x23ec6e)&&autoEnableAfterClear(_0x1ca89e);_0x1e0719[_0x301f46(0x138)](initBranchTracking,_0x1ca89e);_0x1e0719[_0x301f46(0x145)](_0x1e0719[_0x301f46(0x149)](resolveHookMode),'on')&&_0x1e0719['EIIgQ'](enableSession,_0x1ca89e);const _0x1d9c60=_0x1e0719[_0x301f46(0x138)](isSessionEnabled,_0x1ca89e);try{const _0x27ab2b=createTelemetryCollector(_0x1e0719[_0x301f46(0x141)]);await _0x27ab2b['trackCommandStart']({'sessionId':_0x1ca89e,'hooksEnabled':_0x1d9c60}),await _0x27ab2b[_0x301f46(0x142)]('success');}catch{}if(_0x1d9c60){const _0x224334=getCurrentBranch(),_0x150a27=_0x224334&&_0x1e0719['oFPaf'](_0x224334,_0x1e0719['qShMa'])&&_0x224334!==_0x301f46(0x14a)?'\x20(Branch:\x20'+_0x224334+')':'',_0x4f7dbf={'hookSpecificOutput':{'hookEventName':'SessionStart','additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x150a27}};console['log'](JSON[_0x301f46(0x143)](_0x4f7dbf));}}}function _0x2610(){const _0x11aba3=['=================================================================\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\x20CLAUDE_SESSION_ID=\x22','104187IAOGMO','kiwmB','master','3709648CbAKju','1454383QCpdxN','5678226NWGhaZ','2iJdjmR','source','EIIgQ','8sZAmuN','1042522BoqmuV','stdin','hook:session-start','2711640WPpsuw','main','1961295MZjiDE','rTdrc','NzxmB','trackCommandEnd','stringify','24cIPTJy','nIxpD'];_0x2610=function(){return _0x11aba3;};return _0x2610();}
1
+ const _0x46b1ba=_0x9596;(function(_0x4ad10e,_0x56ed41){const _0x4c3d1b=_0x9596,_0x54d270=_0x4ad10e();while(!![]){try{const _0x53ec24=-parseInt(_0x4c3d1b(0x1c8))/0x1+parseInt(_0x4c3d1b(0x1dc))/0x2+parseInt(_0x4c3d1b(0x1da))/0x3*(parseInt(_0x4c3d1b(0x1de))/0x4)+-parseInt(_0x4c3d1b(0x1d5))/0x5*(parseInt(_0x4c3d1b(0x1cf))/0x6)+-parseInt(_0x4c3d1b(0x1d1))/0x7*(parseInt(_0x4c3d1b(0x1cc))/0x8)+-parseInt(_0x4c3d1b(0x1cd))/0x9*(-parseInt(_0x4c3d1b(0x1d8))/0xa)+parseInt(_0x4c3d1b(0x1ca))/0xb;if(_0x53ec24===_0x56ed41)break;else _0x54d270['push'](_0x54d270['shift']());}catch(_0x241fd3){_0x54d270['push'](_0x54d270['shift']());}}}(_0x9dce,0x93b24));import{appendFile}from'fs/promises';function _0x9dce(){const _0x4ff3bf=['frlTz','2212wuFpTM','442236DnUypG','SessionStart','6397996sJQZss','=================================================================\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=================================================================','2144gBTapt','1749051yhGtTC','main','6JrQEmX','export\x20CLAUDE_SESSION_ID=\x22','23758pnGoGN','log','stdin','CLAUDE_ENV_FILE','1062185egMftq','success','\x20(Branch:\x20','10Rmjuud','stringify','4014vWgZgV','session_id','1306680IjYYAL'];_0x9dce=function(){return _0x4ff3bf;};return _0x9dce();}function _0x9596(_0x4cd0a3,_0x469788){_0x4cd0a3=_0x4cd0a3-0x1c8;const _0x9dce70=_0x9dce();let _0x959605=_0x9dce70[_0x4cd0a3];return _0x959605;}import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';const RANGER_AUTO_ENABLED_PROMPT=_0x46b1ba(0x1cb);export async function sessionStart(_0x40fb58){const _0x1a67d2=_0x46b1ba,_0x43f307={'NEOoT':function(_0xdf4229,_0x773539){return _0xdf4229||_0x773539;},'IYQcO':_0x1a67d2(0x1db),'DLCsM':function(_0x18f6d3,_0x3f0c94){return _0x18f6d3(_0x3f0c94);},'iOUmf':function(_0x2a4291,_0x9b011d){return _0x2a4291(_0x9b011d);},'frlTz':_0x1a67d2(0x1d6),'DGIKH':_0x1a67d2(0x1ce),'KUYny':function(_0x2007c0,_0x5b30b6){return _0x2007c0!==_0x5b30b6;},'GFeXJ':'master','SgHFY':function(_0xedd65f,_0x3bf30a){return _0xedd65f+_0x3bf30a;}};let _0x32a60c=_0x43f307['NEOoT'](_0x40fb58,''),_0x705b1f;if(!_0x40fb58){let _0x2de48a='';for await(const _0x1d0f8f of process[_0x1a67d2(0x1d3)]){_0x2de48a+=_0x1d0f8f;}try{const _0xac200b=JSON['parse'](_0x2de48a);_0x32a60c=_0xac200b[_0x43f307['IYQcO']]||'',_0x705b1f=_0xac200b['source'];}catch{}const _0x249ebb=process['env'][_0x1a67d2(0x1d4)];if(_0x249ebb&&_0x32a60c)try{await appendFile(_0x249ebb,_0x1a67d2(0x1d0)+_0x32a60c+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x32a60c){shouldAutoEnableAfterClear(_0x705b1f)&&autoEnableAfterClear(_0x32a60c);initBranchTracking(_0x32a60c);resolveHookMode()==='on'&&_0x43f307['DLCsM'](enableSession,_0x32a60c);const _0x358408=_0x43f307['iOUmf'](isSessionEnabled,_0x32a60c);try{const _0x13c3a8=createTelemetryCollector('hook:session-start');await _0x13c3a8['trackCommandStart']({'sessionId':_0x32a60c,'hooksEnabled':_0x358408}),await _0x13c3a8['trackCommandEnd'](_0x43f307[_0x1a67d2(0x1dd)]);}catch{}if(_0x358408){const _0x245169=getCurrentBranch(),_0x22ec35=_0x245169&&_0x245169!==_0x43f307['DGIKH']&&_0x43f307['KUYny'](_0x245169,_0x43f307['GFeXJ'])?_0x1a67d2(0x1d7)+_0x245169+')':'',_0x554272={'hookSpecificOutput':{'hookEventName':_0x1a67d2(0x1c9),'additionalContext':_0x43f307['SgHFY'](RANGER_AUTO_ENABLED_PROMPT,_0x22ec35)}};console[_0x1a67d2(0x1d2)](JSON[_0x1a67d2(0x1d9)](_0x554272));}}}
@@ -1 +1 @@
1
- (function(_0x5a30bb,_0x27226f){const _0x315e11=_0x4fc8,_0x137618=_0x5a30bb();while(!![]){try{const _0xe92d08=-parseInt(_0x315e11(0x146))/0x1*(-parseInt(_0x315e11(0x134))/0x2)+-parseInt(_0x315e11(0x141))/0x3*(-parseInt(_0x315e11(0x13c))/0x4)+parseInt(_0x315e11(0x13e))/0x5*(-parseInt(_0x315e11(0x143))/0x6)+parseInt(_0x315e11(0x137))/0x7+-parseInt(_0x315e11(0x14a))/0x8+-parseInt(_0x315e11(0x147))/0x9*(parseInt(_0x315e11(0x139))/0xa)+-parseInt(_0x315e11(0x136))/0xb*(parseInt(_0x315e11(0x133))/0xc);if(_0xe92d08===_0x27226f)break;else _0x137618['push'](_0x137618['shift']());}catch(_0x10a563){_0x137618['push'](_0x137618['shift']());}}}(_0x3d05,0xa80e0));function _0x4fc8(_0x4f941d,_0x3cfafa){_0x4f941d=_0x4f941d-0x131;const _0x3d0564=_0x3d05();let _0x4fc86a=_0x3d0564[_0x4f941d];return _0x4fc86a;}import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';function _0x3d05(){const _0x2e6714=['11dRbcfm','6676474FtmPiK','stringify','80gunIma','hlBsE','verification_in_progress','431588loEuge','success','823865ZLlZjG','Stop','featureId','21eVSXMA','log','12VjABoA','trackCommandStart','status','23159zptTKG','714843uynUXe','verified','elEOU','989448hAIHNv','some','qplBn','18516XwJWdQ','6xcEbcD','currentSessionId'];_0x3d05=function(){return _0x2e6714;};return _0x3d05();}import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x3ba1fb){const _0x3e304e=_0x4fc8,_0x3b65fb={'NRPsX':function(_0x40f09f,_0x2e3d92){return _0x40f09f(_0x2e3d92);},'hlBsE':function(_0x4245a2,_0x57f8cb,_0x5227e2,_0x52923b){return _0x4245a2(_0x57f8cb,_0x5227e2,_0x52923b);},'DjTFl':function(_0x1b77f6){return _0x1b77f6();},'xFmcV':function(_0x229a60,_0x54cbb4){return _0x229a60(_0x54cbb4);},'qplBn':function(_0x184b2e,_0x1661cc){return _0x184b2e&&_0x1661cc;}},_0x27d312=await _0x3b65fb['NRPsX'](getEnabledHookContext,_0x3ba1fb),_0x1f8ecc=_0x27d312?.['sessionId']??null;let _0x54a775=!![];if(!_0x1f8ecc){await trackStop(_0x1f8ecc,![],_0x54a775);return;}try{const _0x5bfb83=getSessionEntry(_0x1f8ecc);if(!_0x5bfb83){await _0x3b65fb['hlBsE'](trackStop,_0x1f8ecc,!![],_0x54a775);return;}const _0x1d4be9=await _0x3b65fb['DjTFl'](getToken),_0xed4f64='https://dashboard.ranger.net/features/'+_0x5bfb83['featureId'];let _0x14e54c=null,_0x3999e1=![],_0x459440=![];if(_0x1d4be9)try{const _0xc1a11b=await _0x3b65fb['xFmcV'](getFeature,_0x5bfb83['featureId']);_0x14e54c=_0xc1a11b[_0x3e304e(0x135)]??null;const _0xee7d76=_0xc1a11b['checklistItems']['filter'](_0x4fe062=>_0x4fe062['sessionId']===_0x14e54c);_0x3999e1=_0xee7d76[_0x3e304e(0x131)](_0x3b45bf=>_0x3b45bf['status']!==_0x3e304e(0x148)&&_0x3b45bf['status']!=='blocked'&&_0x3b45bf['status']!=='closed'&&_0x3b45bf['status']!=='incomplete'),_0x459440=_0xee7d76['some'](_0x2bb814=>_0x2bb814[_0x3e304e(0x145)]===_0x3e304e(0x13b));}catch{}if(_0x3b65fb['qplBn'](_0x1d4be9,_0x14e54c)&&_0x3999e1){if(!_0x459440&&shouldShowStopReminder(_0x1f8ecc)){const _0x5c5c91={'hookSpecificOutput':{'hookEventName':_0x3e304e(0x13f),'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'+_0xed4f64}};console[_0x3e304e(0x142)](JSON[_0x3e304e(0x138)](_0x5c5c91));}}if(_0x3b65fb[_0x3e304e(0x132)](_0x1d4be9,_0x14e54c)&&!_0x3999e1)try{await concludeSession(_0x5bfb83[_0x3e304e(0x140)],_0x14e54c);}catch{}await _0x3b65fb[_0x3e304e(0x13a)](trackStop,_0x1f8ecc,!![],_0x54a775);return;}catch{await trackStop(_0x1f8ecc,!![],_0x54a775);return;}}async function trackStop(_0x18d914,_0x38dcde,_0x1283fb){const _0x39f8bc=_0x4fc8,_0x49ba2d={'elEOU':function(_0x32b090,_0x3b9dda){return _0x32b090(_0x3b9dda);},'qVMYA':_0x39f8bc(0x13d)};try{const _0x5e859a=_0x49ba2d[_0x39f8bc(0x149)](createTelemetryCollector,'hook:stop');await _0x5e859a[_0x39f8bc(0x144)]({'sessionId':_0x18d914??undefined,'hooksEnabled':_0x38dcde,'stopAllowed':_0x1283fb}),await _0x5e859a['trackCommandEnd'](_0x49ba2d['qVMYA']);}catch{}}
1
+ (function(_0x59ab09,_0x459b6a){const _0x1de006=_0x45ab,_0x3ecc9b=_0x59ab09();while(!![]){try{const _0x4194d7=-parseInt(_0x1de006(0xee))/0x1*(parseInt(_0x1de006(0xf3))/0x2)+parseInt(_0x1de006(0xfb))/0x3+parseInt(_0x1de006(0xfa))/0x4*(parseInt(_0x1de006(0xe6))/0x5)+parseInt(_0x1de006(0xf7))/0x6*(-parseInt(_0x1de006(0xe5))/0x7)+-parseInt(_0x1de006(0xf8))/0x8+parseInt(_0x1de006(0xf0))/0x9*(parseInt(_0x1de006(0xfc))/0xa)+parseInt(_0x1de006(0xff))/0xb;if(_0x4194d7===_0x459b6a)break;else _0x3ecc9b['push'](_0x3ecc9b['shift']());}catch(_0x5ab2c8){_0x3ecc9b['push'](_0x3ecc9b['shift']());}}}(_0xf646,0xc81bf));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';function _0x45ab(_0x5ae573,_0x42f13c){_0x5ae573=_0x5ae573-0xe5;const _0xf6460d=_0xf646();let _0x45ab27=_0xf6460d[_0x5ae573];return _0x45ab27;}import{createTelemetryCollector}from'../utils/telemetry.js';function _0xf646(){const _0x2831fa=['incomplete','27uOBwUX','some','sessionId','2yDiPPx','success','blocked','log','226218HoEMsu','2891968wEqoWX','trackCommandStart','324172dVxPfT','3122679raRSdO','2361570IhVIAi','verification_in_progress','status','5561776xJnnVz','avEmK','https://dashboard.ranger.net/features/','21VLyBZM','5CPpSee','BMYYD','featureId','eOSrG','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','verified','agQch','stringify','1041771rTlZvy'];_0xf646=function(){return _0x2831fa;};return _0xf646();}export async function stopHook(_0x2cb330){const _0xb6a28e=_0x45ab,_0x3a92ad={'agQch':function(_0x513f9c,_0x11398f){return _0x513f9c(_0x11398f);},'NVbJP':function(_0x17bfdd){return _0x17bfdd();},'BMYYD':function(_0x54758f,_0x1a422c){return _0x54758f(_0x1a422c);},'eOSrG':function(_0x52369f,_0x4cc6fb,_0x213319){return _0x52369f(_0x4cc6fb,_0x213319);},'MhOJZ':function(_0x195e59,_0xe76c1c,_0x5afc5d,_0x1db180){return _0x195e59(_0xe76c1c,_0x5afc5d,_0x1db180);}},_0x7fd615=await getEnabledHookContext(_0x2cb330),_0x215644=_0x7fd615?.['sessionId']??null;let _0x5a6ef2=!![];if(!_0x215644){await trackStop(_0x215644,![],_0x5a6ef2);return;}try{const _0x2df499=_0x3a92ad[_0xb6a28e(0xec)](getSessionEntry,_0x215644);if(!_0x2df499){await trackStop(_0x215644,!![],_0x5a6ef2);return;}const _0x4bf344=await _0x3a92ad['NVbJP'](getToken),_0x4c5c88=_0xb6a28e(0x101)+_0x2df499['featureId'];let _0x18302c=null,_0x47ab22=![],_0x5389b6=![];if(_0x4bf344)try{const _0x249053=await _0x3a92ad[_0xb6a28e(0xe7)](getFeature,_0x2df499['featureId']);_0x18302c=_0x249053['currentSessionId']??null;const _0x1e8e04=_0x249053['checklistItems']['filter'](_0x3e40ef=>_0x3e40ef[_0xb6a28e(0xf2)]===_0x18302c);_0x47ab22=_0x1e8e04[_0xb6a28e(0xf1)](_0x41d3db=>_0x41d3db[_0xb6a28e(0xfe)]!==_0xb6a28e(0xeb)&&_0x41d3db['status']!==_0xb6a28e(0xf5)&&_0x41d3db['status']!=='closed'&&_0x41d3db[_0xb6a28e(0xfe)]!==_0xb6a28e(0xef)),_0x5389b6=_0x1e8e04[_0xb6a28e(0xf1)](_0x29360d=>_0x29360d['status']===_0xb6a28e(0xfd));}catch{}if(_0x4bf344&&_0x18302c&&_0x47ab22){if(!_0x5389b6&&shouldShowStopReminder(_0x215644)){const _0x27d0b5={'hookSpecificOutput':{'hookEventName':'Stop','additionalContext':_0xb6a28e(0xea)+_0x4c5c88}};console[_0xb6a28e(0xf6)](JSON[_0xb6a28e(0xed)](_0x27d0b5));}}if(_0x4bf344&&_0x18302c&&!_0x47ab22)try{await _0x3a92ad[_0xb6a28e(0xe9)](concludeSession,_0x2df499[_0xb6a28e(0xe8)],_0x18302c);}catch{}await _0x3a92ad['MhOJZ'](trackStop,_0x215644,!![],_0x5a6ef2);return;}catch{await trackStop(_0x215644,!![],_0x5a6ef2);return;}}async function trackStop(_0x29e51a,_0xbe5727,_0x1fbc01){const _0x49bf81=_0x45ab,_0x26948d={'LOzsP':function(_0x7f87d,_0x9f8417){return _0x7f87d??_0x9f8417;},'avEmK':_0x49bf81(0xf4)};try{const _0x500b6b=createTelemetryCollector('hook:stop');await _0x500b6b[_0x49bf81(0xf9)]({'sessionId':_0x26948d['LOzsP'](_0x29e51a,undefined),'hooksEnabled':_0xbe5727,'stopAllowed':_0x1fbc01}),await _0x500b6b['trackCommandEnd'](_0x26948d[_0x49bf81(0x100)]);}catch{}}
@@ -1 +1 @@
1
- (function(_0x310ca6,_0x1cee49){var _0x56a03b=_0x4df0,_0x15e552=_0x310ca6();while(!![]){try{var _0x3066cf=parseInt(_0x56a03b(0x9a))/0x1*(-parseInt(_0x56a03b(0x99))/0x2)+parseInt(_0x56a03b(0x93))/0x3+parseInt(_0x56a03b(0x91))/0x4+parseInt(_0x56a03b(0x95))/0x5*(-parseInt(_0x56a03b(0x98))/0x6)+parseInt(_0x56a03b(0x97))/0x7*(-parseInt(_0x56a03b(0x90))/0x8)+parseInt(_0x56a03b(0x96))/0x9*(-parseInt(_0x56a03b(0x94))/0xa)+-parseInt(_0x56a03b(0x8f))/0xb*(-parseInt(_0x56a03b(0x92))/0xc);if(_0x3066cf===_0x1cee49)break;else _0x15e552['push'](_0x15e552['shift']());}catch(_0x346bd4){_0x15e552['push'](_0x15e552['shift']());}}}(_0x5a3c,0xb26ed));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';function _0x5a3c(){var _0x338a92=['1435PWtRRN','342OuMrSO','665tlYXXR','17574veoYNM','580ofFKYm','4130yKASVe','209EBjAmh','31624fcTcTM','1801052BZHkbo','1213368rwMiZA','3242700eifCfc','80950IMkRpi'];_0x5a3c=function(){return _0x338a92;};return _0x5a3c();}export{deleteProfile}from'./deleteProfile.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';function _0x4df0(_0xa4ae63,_0x486e34){_0xa4ae63=_0xa4ae63-0x8f;var _0x5a3c3f=_0x5a3c();var _0x4df0d4=_0x5a3c3f[_0xa4ae63];return _0x4df0d4;}export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x1fcff9,_0x12545e){var _0x57c501=_0xbac4,_0x1ee952=_0x1fcff9();while(!![]){try{var _0x839704=parseInt(_0x57c501(0x140))/0x1+parseInt(_0x57c501(0x13d))/0x2+-parseInt(_0x57c501(0x143))/0x3*(parseInt(_0x57c501(0x13e))/0x4)+parseInt(_0x57c501(0x141))/0x5+parseInt(_0x57c501(0x13f))/0x6+-parseInt(_0x57c501(0x142))/0x7+-parseInt(_0x57c501(0x13c))/0x8;if(_0x839704===_0x12545e)break;else _0x1ee952['push'](_0x1ee952['shift']());}catch(_0x57d925){_0x1ee952['push'](_0x1ee952['shift']());}}}(_0x2f79,0x4456d));function _0xbac4(_0x361a64,_0xac7648){_0x361a64=_0x361a64-0x13c;var _0x2f7975=_0x2f79();var _0xbac4f0=_0x2f7975[_0x361a64];return _0xbac4f0;}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{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';function _0x2f79(){var _0x22e788=['4775048skrjbe','898552DJECpz','744vaIHjc','1674456MOovag','538283AhFhru','243005zcYZRM','2468844WRMEjV','1383GhimBL'];_0x2f79=function(){return _0x22e788;};return _0x2f79();}export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';