@ranger-testing/ranger-cli 3.1.3 → 3.1.4-alpha.ffeeafe-46

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 (86) 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/scenarioOriginCheck.js +1 -0
  71. package/build/commands/utils/sessionCache.js +1 -1
  72. package/build/commands/utils/settings.js +1 -1
  73. package/build/commands/utils/skillContent.js +1 -1
  74. package/build/commands/utils/skills.js +1 -1
  75. package/build/commands/utils/stitchWebmFiles.js +1 -1
  76. package/build/commands/utils/telemetry.js +1 -1
  77. package/build/commands/utils/tokenRefresh.js +1 -1
  78. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  79. package/build/commands/utils/tunnelClient.js +1 -1
  80. package/build/commands/utils/userApi.js +1 -1
  81. package/build/commands/utils/version.js +1 -1
  82. package/build/commands/verifyFeature.js +1 -1
  83. package/build/commands/verifyFeatureCli.js +1 -1
  84. package/build/commands/verifyFeatureNovaCli.js +1 -1
  85. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  86. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x84055e=_0x3407;(function(_0x3d6527,_0x5718e2){const _0x1d70c2=_0x3407,_0x4521b9=_0x3d6527();while(!![]){try{const _0x3e2745=-parseInt(_0x1d70c2(0xda))/0x1*(parseInt(_0x1d70c2(0xf4))/0x2)+parseInt(_0x1d70c2(0x145))/0x3*(parseInt(_0x1d70c2(0x139))/0x4)+-parseInt(_0x1d70c2(0x17b))/0x5*(-parseInt(_0x1d70c2(0x13d))/0x6)+parseInt(_0x1d70c2(0x175))/0x7*(-parseInt(_0x1d70c2(0x191))/0x8)+-parseInt(_0x1d70c2(0x162))/0x9*(parseInt(_0x1d70c2(0x178))/0xa)+parseInt(_0x1d70c2(0x187))/0xb*(-parseInt(_0x1d70c2(0x11a))/0xc)+parseInt(_0x1d70c2(0x106))/0xd*(parseInt(_0x1d70c2(0x125))/0xe);if(_0x3e2745===_0x5718e2)break;else _0x4521b9['push'](_0x4521b9['shift']());}catch(_0xb0296e){_0x4521b9['push'](_0x4521b9['shift']());}}}(_0x5f08,0xd2c07));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x165e94 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=_0x84055e(0x164),bold=_0x51c7e9=>_0x84055e(0x18b)+_0x51c7e9+_0x84055e(0x196);function getGitRepoUrl(){const _0x8f03da=_0x84055e,_0x2a737a={'xYmKb':function(_0x55fcb4,_0x5192d1,_0x36406b){return _0x55fcb4(_0x5192d1,_0x36406b);},'RNdBB':_0x8f03da(0x19f),'LswJR':'pipe'};try{const _0x557865=_0x2a737a['xYmKb'](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x2a737a[_0x8f03da(0x182)],'stdio':[_0x2a737a['LswJR'],_0x2a737a['LswJR'],_0x2a737a['LswJR']]})['trim']();return _0x557865[_0x8f03da(0x15c)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x8f03da(0x170))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x158054=_0x84055e,_0x2a342f={'FqWzD':function(_0x9f02ad,_0x5998f9,_0x46bb83){return _0x9f02ad(_0x5998f9,_0x46bb83);},'ucynq':_0x158054(0x135)};try{return _0x2a342f['FqWzD'](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':'utf-8','stdio':[_0x2a342f[_0x158054(0x129)],'pipe',_0x2a342f[_0x158054(0x129)]]})[_0x158054(0x18a)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x7ce994=_0x84055e,_0x3cbfd2={'CttOo':function(_0x17b59d){return _0x17b59d();}},_0x460574=join(_0x3cbfd2[_0x7ce994(0x18f)](getRangerDir),ACTIVE_FEATURE_FILE);if(!existsSync(_0x460574))return null;try{const _0xc5b840=await readFile(_0x460574,'utf-8');return _0xc5b840['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x4433d9){const _0x5919c9=_0x84055e,_0xf51c52={'VVTlT':function(_0x31c06a){return _0x31c06a();}},_0x20a1fd=_0xf51c52[_0x5919c9(0x122)](getRangerDir),_0x368b14=join(_0x20a1fd,ACTIVE_FEATURE_FILE);!existsSync(_0x20a1fd)&&await mkdir(_0x20a1fd,{'recursive':!![]}),await writeFile(_0x368b14,_0x4433d9,_0x5919c9(0x19f));}function getProgressDisplay(_0x1bed51){const _0x1e0dd5=_0x84055e,_0x2e1243={'zJzUI':function(_0x3b738a,_0x3cc9ac){return _0x3b738a+_0x3cc9ac;},'ymBKy':function(_0x32beac,_0x2f09d1){return _0x32beac+_0x2f09d1;},'UGkyU':function(_0x4ed282,_0x283a2b){return _0x4ed282===_0x283a2b;},'MlLCV':function(_0x10e2a6,_0x4721e6){return _0x10e2a6/_0x4721e6;},'BGJAc':function(_0x1f8b1e,_0x33eb9d){return _0x1f8b1e>_0x33eb9d;},'yRhlO':function(_0x3edee4,_0x48ac6e){return _0x3edee4>_0x48ac6e;},'uLWyR':function(_0x4f84e1,_0x4af83e){return _0x4f84e1>_0x4af83e;}},_0x32c230=_0x1bed51[_0x1e0dd5(0x1af)]||0x0,_0x12d608=_0x1bed51['verificationInProgressItems']||0x0,_0x331395=_0x1bed51[_0x1e0dd5(0x195)]||0x0,_0x241de9=_0x1bed51['incompleteItems']||0x0,_0x3444c1=_0x1bed51[_0x1e0dd5(0x1a3)]||0x0,_0x37d2fb=_0x2e1243[_0x1e0dd5(0x104)](_0x2e1243['ymBKy'](_0x32c230+_0x12d608+_0x331395,_0x241de9),_0x3444c1);if(_0x2e1243[_0x1e0dd5(0x14b)](_0x37d2fb,0x0))return'-';const _0x531e02=0xa,_0x46b989=Math[_0x1e0dd5(0xff)](_0x2e1243[_0x1e0dd5(0x128)](_0x32c230,_0x37d2fb)*_0x531e02),_0x268ab2='█'['repeat'](_0x46b989)+'░'[_0x1e0dd5(0x100)](_0x531e02-_0x46b989),_0x2b1cfa=[];if(_0x2e1243[_0x1e0dd5(0x140)](_0x331395,0x0))_0x2b1cfa[_0x1e0dd5(0x13f)](_0x331395+'\x20blocked');if(_0x2e1243['yRhlO'](_0x241de9,0x0))_0x2b1cfa['push'](_0x241de9+'\x20incomplete');if(_0x2e1243['uLWyR'](_0x12d608,0x0))_0x2b1cfa['push'](_0x12d608+_0x1e0dd5(0x149));const _0x2ab9cd=_0x2e1243[_0x1e0dd5(0x180)](_0x2b1cfa['length'],0x0)?'\x20('+_0x2b1cfa[_0x1e0dd5(0xea)](',\x20')+')':'';return _0x268ab2+'\x20'+_0x32c230+'/'+_0x37d2fb+_0x1e0dd5(0x147)+_0x2ab9cd;}function getCurrentSessionItems(_0x422ad5,_0x166cb2){const _0x2d16fc=_0x84055e;if(!_0x422ad5[_0x2d16fc(0x19e)])return _0x166cb2[_0x2d16fc(0xe0)](_0x182f64=>!_0x182f64[_0x2d16fc(0x12b)]);return _0x166cb2[_0x2d16fc(0xe0)](_0x5219f3=>_0x5219f3[_0x2d16fc(0x12b)]===_0x422ad5['currentSessionId']||!_0x5219f3['sessionId']);}function displayFeature(_0x1db2e9,_0xe93a9a){const _0x47f343=_0x84055e,_0x180623={'QJqCt':'\x0a\x20\x20\x20Scenarios:','fscRU':function(_0x13f9cc,_0x4f4373){return _0x13f9cc===_0x4f4373;},'tEwtT':function(_0x2ad262,_0x14bd61){return _0x2ad262===_0x14bd61;},'cqWXk':_0x47f343(0x11b),'sajGR':_0x47f343(0xe8),'DNfJM':_0x47f343(0x163),'ZNMiN':function(_0xbb3809,_0x173238){return _0xbb3809!==_0x173238;},'DzsaX':_0x47f343(0xbe),'OrKQy':_0x47f343(0x12e),'IMjqH':function(_0x20ccff,_0x202c41){return _0x20ccff+_0x202c41;},'HMcSa':'blocked','RbjEY':function(_0x45bee4,_0x5bec37){return _0x45bee4===_0x5bec37;},'gYfpt':'approved'};console[_0x47f343(0x127)]('\x0a'+_0x1db2e9[_0x47f343(0xd5)]+'\x20('+_0x1db2e9['dashboardUrl']+')');_0x1db2e9[_0x47f343(0xfd)]&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x1db2e9['stats']));_0x1db2e9['description']&&console[_0x47f343(0x127)](_0x47f343(0x142)+_0x1db2e9[_0x47f343(0x124)]);_0x1db2e9['gitRepoUrl']&&console[_0x47f343(0x127)](_0x47f343(0x113)+_0x1db2e9[_0x47f343(0x119)]);_0x1db2e9['gitBranch']&&console[_0x47f343(0x127)](_0x47f343(0xc3)+_0x1db2e9['gitBranch']);console['log'](_0x47f343(0xbf)+new Date(_0x1db2e9[_0x47f343(0x14e)])[_0x47f343(0xef)]());_0x1db2e9['completedAt']&&console['log'](_0x47f343(0x120)+new Date(_0x1db2e9[_0x47f343(0x193)])['toLocaleString']());if(_0xe93a9a&&_0xe93a9a[_0x47f343(0xfa)]>0x0){console[_0x47f343(0x127)](_0x180623['QJqCt']);for(let _0x28305a=0x0;_0x28305a<_0xe93a9a[_0x47f343(0xfa)];_0x28305a++){const _0x4897d2=_0xe93a9a[_0x28305a];let _0x4f9bcd;if(_0x4897d2['status']===_0x47f343(0xe8)&&_0x180623[_0x47f343(0xe6)](_0x4897d2['terminalReason'],'approved'))_0x4f9bcd='✅';else{if(_0x180623['tEwtT'](_0x4897d2['status'],_0x47f343(0xbe)))_0x4f9bcd='🟢';else{if(_0x4897d2[_0x47f343(0x137)]===_0x180623['cqWXk'])_0x4f9bcd='🟠';else{if(_0x4897d2['status']==='blocked')_0x4f9bcd='🛑';else{if(_0x4897d2['status']===_0x180623[_0x47f343(0x123)])_0x4f9bcd='⛔';else _0x4897d2[_0x47f343(0x137)]===_0x180623[_0x47f343(0x19d)]?_0x4f9bcd='⏳':_0x4f9bcd='⬜';}}}}const _0x9da433=_0x4897d2[_0x47f343(0xba)]>0x1?_0x47f343(0x151)+_0x4897d2['version']+')':'',_0x3c1403=_0x4897d2['version']>0x1&&_0x4897d2['parentItemId']&&_0x4897d2['status']!==_0x180623['sajGR']&&_0x180623[_0x47f343(0x158)](_0x4897d2[_0x47f343(0x137)],_0x180623['DzsaX'])?_0x180623[_0x47f343(0x132)]:'';console[_0x47f343(0x127)](_0x47f343(0x17c)+_0x180623[_0x47f343(0x169)](_0x28305a,0x1)+'.\x20'+_0x4f9bcd+'\x20'+_0x4897d2[_0x47f343(0x124)]+_0x9da433+_0x3c1403);_0x180623[_0x47f343(0x194)](_0x4897d2[_0x47f343(0x137)],_0x180623[_0x47f343(0xc1)])&&_0x4897d2['blockedReason']&&console[_0x47f343(0x127)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x4897d2['blockedReason']);_0x4897d2[_0x47f343(0x137)]==='incomplete'&&_0x4897d2['incompleteReason']&&console['log'](_0x47f343(0x188)+_0x4897d2[_0x47f343(0xde)]);if(_0x4897d2[_0x47f343(0x137)]===_0x180623[_0x47f343(0x123)]&&_0x180623['RbjEY'](_0x4897d2[_0x47f343(0x1a9)],_0x180623['gYfpt']))console['log'](_0x47f343(0xcc));else _0x4897d2['status']===_0x180623['sajGR']&&_0x4897d2['canceledReason']&&console[_0x47f343(0x127)]('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x4897d2['canceledReason']);}}}export async function featureCreate(_0x7ef1b4,_0x992fa0){const _0x21f0b9=_0x84055e,_0x6bebe={'UvVPD':function(_0x32bdaa,_0x3f1926){return _0x32bdaa===_0x3f1926;},'banlN':function(_0xe47d40){return _0xe47d40();},'ZGpdp':function(_0x566521,_0x45648f){return _0x566521(_0x45648f);},'kiMuF':function(_0x5c5396,_0x28e799){return _0x5c5396(_0x28e799);},'OqKBb':function(_0x470b3b,_0x1847b4){return _0x470b3b(_0x1847b4);},'EsMmW':function(_0x3da4d9,_0x32ffa2,_0x5dc7e1){return _0x3da4d9(_0x32ffa2,_0x5dc7e1);}},{envNames:_0x20f3cb}=await getEnvNames();if(_0x6bebe['UvVPD'](_0x20f3cb[_0x21f0b9(0xfa)],0x0)&&!process['env']['RANGER_TEST_USERNAME']){let _0x4b04ad=0x0;try{_0x4b04ad=(await _0x6bebe[_0x21f0b9(0x10f)](listCloudProfiles))['length'];}catch{_0x4b04ad=0x1;}_0x4b04ad===0x0&&console[_0x21f0b9(0xca)]('\x0a'+formatProfileRequiredMessage(_0x2a2f6f=>bold(_0x2a2f6f)));}const _0x3e7484=_0x992fa0['scenarios']?_0x992fa0['scenarios']['map'](_0x2c1e65=>_0x2c1e65['trim']()):[],_0x3b47a5=_0x6bebe['banlN'](getGitRepoUrl),_0x281508=getGitBranch();console['log'](_0x21f0b9(0xd8));const _0x2645b9=await _0x6bebe[_0x21f0b9(0xf7)](createFeature,{'name':_0x7ef1b4,'description':_0x992fa0[_0x21f0b9(0x124)],'checklist':_0x3e7484,'gitRepoUrl':_0x3b47a5,'gitBranch':_0x281508});await _0x6bebe['kiMuF'](setActiveFeatureId,_0x2645b9['id']),await _0x6bebe[_0x21f0b9(0x15a)](tryStartCurrentSession,_0x2645b9['id']);const _0x2e37c5=process[_0x21f0b9(0x111)]['CLAUDE_SESSION_ID'];_0x2e37c5&&_0x6bebe['EsMmW'](registerSession,_0x2e37c5,_0x2645b9['id']),console['log'](_0x21f0b9(0x16f)+_0x2645b9['id']),displayFeature(_0x2645b9,_0x2645b9[_0x21f0b9(0x17f)]),console['log'](_0x21f0b9(0xb9));}export async function featureList(_0x3792e8){const _0x5cd902=_0x84055e,_0x31ec68={'XEaUz':function(_0x405929){return _0x405929();},'vnWbp':function(_0x2da83d){return _0x2da83d();},'WbPlM':function(_0x52563b,_0x2c331d){return _0x52563b(_0x2c331d);},'JXXDR':function(_0x40d429,_0x5a9293){return _0x40d429===_0x5a9293;},'klUmZ':function(_0x5cd417,_0x5ca09a){return _0x5cd417+_0x5ca09a;},'yoKXe':function(_0x5622df,_0x4ccfc){return _0x5622df!==_0x4ccfc;},'UqGxw':'\x20--current-branch'},_0x1a456b={'limit':_0x3792e8[_0x5cd902(0x184)]??0xa,'offset':_0x3792e8['offset']??0x0,'includeDeleted':_0x3792e8[_0x5cd902(0xf9)]};_0x3792e8[_0x5cd902(0x10a)]&&(_0x1a456b[_0x5cd902(0x119)]=_0x31ec68['XEaUz'](getGitRepoUrl),_0x1a456b[_0x5cd902(0xe2)]=_0x31ec68[_0x5cd902(0xf5)](getGitBranch));const _0x235ac9=await _0x31ec68['WbPlM'](listFeatures,_0x1a456b);if(_0x31ec68[_0x5cd902(0xec)](_0x235ac9[_0x5cd902(0x19c)]['length'],0x0)){console['log'](_0x5cd902(0xed));return;}const _0x488cdd=_0x235ac9[_0x5cd902(0x148)]>_0x235ac9[_0x5cd902(0x19c)][_0x5cd902(0xfa)]?'Showing\x20'+_0x235ac9['items'][_0x5cd902(0xfa)]+_0x5cd902(0x12f)+_0x235ac9['totalCount']:_0x235ac9['totalCount']+'\x20feature\x20review(s)\x20found';console[_0x5cd902(0x127)]('\x0a'+_0x488cdd+':\x0a');for(const _0x89483b of _0x235ac9['items']){console['log'](''+_0x89483b['name']),console[_0x5cd902(0x127)](_0x5cd902(0x177)+_0x89483b['id']),_0x89483b[_0x5cd902(0xfd)]&&console[_0x5cd902(0x127)](_0x5cd902(0xc4)+getProgressDisplay(_0x89483b[_0x5cd902(0xfd)])),_0x89483b[_0x5cd902(0xe2)]&&console[_0x5cd902(0x127)](_0x5cd902(0xc3)+_0x89483b[_0x5cd902(0xe2)]),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x89483b['createdAt'])['toLocaleDateString']()),console['log']('');}const _0x320cbb=_0x1a456b[_0x5cd902(0x184)]??0xa,_0x1f8425=_0x31ec68[_0x5cd902(0x1a4)](_0x1a456b['offset']??0x0,_0x235ac9[_0x5cd902(0x19c)][_0x5cd902(0xfa)]);if(_0x1f8425<_0x235ac9['totalCount']){const _0x23fccd=_0x31ec68['yoKXe'](_0x320cbb,0xa)?_0x5cd902(0x18c)+_0x320cbb:'',_0x116f2a=_0x3792e8['currentBranch']?_0x31ec68[_0x5cd902(0x17e)]:'',_0x29bfc2=_0x3792e8[_0x5cd902(0xf9)]?'\x20--include-deleted':'';console['log'](_0x5cd902(0x11e)+_0x1f8425+_0x23fccd+_0x116f2a+_0x29bfc2);}}export async function featureShow(_0x365541){const _0x551fd5=_0x84055e,_0x3b2d37={'ZWCdL':_0x551fd5(0x13e),'fbjbv':function(_0x4f05ac,_0x22fd76,_0x3b4f77){return _0x4f05ac(_0x22fd76,_0x3b4f77);}},_0x5c0e79=_0x365541||await getActiveFeatureId();if(!_0x5c0e79)throw new Error(_0x3b2d37[_0x551fd5(0x167)]);const _0x50455b=await getFeature(_0x5c0e79);_0x3b2d37[_0x551fd5(0x146)](displayFeature,_0x50455b,_0x50455b['checklistItems']);}export async function featureResume(_0x34deab){const _0x33ca9e=_0x84055e,_0x220238={'vNdBB':function(_0x45d5fa,_0x58398a){return _0x45d5fa(_0x58398a);},'SNoea':function(_0x2b9019,_0x3c78fc){return _0x2b9019!==_0x3c78fc;},'KFbnA':function(_0x469417,_0x432ea0){return _0x469417(_0x432ea0);},'fTVdF':function(_0x424e0c,_0x2c25a3,_0x521d3b){return _0x424e0c(_0x2c25a3,_0x521d3b);},'vbIez':function(_0x4c6d6a){return _0x4c6d6a();},'wQPWC':function(_0x12f87c,_0x459eca){return _0x12f87c&&_0x459eca;},'pvzzx':'Not\x20in\x20a\x20git\x20repository.','qYgem':function(_0x1cff35,_0x8588fb){return _0x1cff35||_0x8588fb;},'ZVnji':_0x33ca9e(0x199),'hIMCy':function(_0x1e835e,_0x43cd81){return _0x1e835e===_0x43cd81;},'HhJGd':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','FmSYP':'\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','wQXTC':'selected','HMcWb':_0x33ca9e(0x14c),'qRDBo':function(_0x501e50,_0x2359ea){return _0x501e50(_0x2359ea);},'GUbKi':function(_0x1c7c19,_0x13355c,_0x43fa17){return _0x1c7c19(_0x13355c,_0x43fa17);},'WTlHn':function(_0x8bcbe4,_0x14eaea){return _0x8bcbe4(_0x14eaea);},'aCzln':function(_0x4dc564,_0x564346,_0x275f89){return _0x4dc564(_0x564346,_0x275f89);}};if(_0x34deab){const _0x30ad04=await _0x220238['vNdBB'](getFeature,_0x34deab);await _0x220238['vNdBB'](setActiveFeatureId,_0x30ad04['id']);const _0x28c90a=getGitBranch();_0x28c90a&&_0x220238[_0x33ca9e(0x181)](_0x28c90a,_0x30ad04[_0x33ca9e(0xe2)])&&(await updateFeature(_0x30ad04['id'],{'gitBranch':_0x28c90a}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x28c90a));console[_0x33ca9e(0x127)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x30ad04[_0x33ca9e(0xd5)]+'\x20('+_0x30ad04['id']+')'),await _0x220238['KFbnA'](tryStartCurrentSession,_0x30ad04['id']);const _0x4a1c53=process['env'][_0x33ca9e(0xd2)];_0x4a1c53&&registerSession(_0x4a1c53,_0x30ad04['id']);_0x220238[_0x33ca9e(0xce)](displayFeature,_0x30ad04,_0x30ad04[_0x33ca9e(0x17f)]),await printFeedbackNudge(_0x30ad04['id']);return;}const _0x4d812a=_0x220238[_0x33ca9e(0x156)](getGitRepoUrl),_0x4fc7f7=getGitBranch();if(_0x220238['wQPWC'](!_0x4d812a,!_0x4fc7f7))throw new Error(_0x220238['pvzzx']);console[_0x33ca9e(0x127)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x220238[_0x33ca9e(0xc9)](_0x4d812a,_0x220238[_0x33ca9e(0x1a5)])+_0x33ca9e(0x1a1)+(_0x4fc7f7||'any')+'...');const _0x2d8274=await listFeatures({'gitRepoUrl':_0x4d812a,'gitBranch':_0x4fc7f7}),_0x14a276=_0x2d8274[_0x33ca9e(0x19c)][_0x33ca9e(0xe0)](_0x15a716=>_0x15a716['status']?_0x15a716['status']!=='verified':!_0x15a716[_0x33ca9e(0x193)]);if(_0x220238['hIMCy'](_0x14a276['length'],0x0)){console['log'](_0x33ca9e(0x1ad)),console['log'](_0x220238[_0x33ca9e(0x189)]);return;}let _0x26e557;if(_0x220238[_0x33ca9e(0xb8)](_0x14a276['length'],0x1))_0x26e557=_0x14a276[0x0];else{const _0x44e53a=process['stdin']['isTTY']&&process['stdout']['isTTY'];if(!_0x44e53a){console['log'](_0x220238['FmSYP']);for(const _0x572404 of _0x14a276){console[_0x33ca9e(0x127)]('\x20\x20'+_0x572404['name']),console[_0x33ca9e(0x127)]('\x20\x20\x20\x20\x20ID:\x20'+_0x572404['id']),_0x572404['stats']&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x572404[_0x33ca9e(0xfd)])),_0x572404['gitBranch']&&console[_0x33ca9e(0x127)](_0x33ca9e(0xe5)+_0x572404['gitBranch']);}throw new Error(_0x33ca9e(0x1ae));}const {selected:_0x530b53}=await _0x165e94[_0x33ca9e(0xbd)]([{'type':'list','name':_0x220238['wQXTC'],'message':_0x220238[_0x33ca9e(0xcd)],'choices':_0x14a276['map'](_0x31279a=>({'name':_0x31279a[_0x33ca9e(0xd5)]+'\x20('+_0x31279a['id']+')','value':_0x31279a['id']}))}]);_0x26e557=_0x14a276[_0x33ca9e(0x15e)](_0x3769d5=>_0x3769d5['id']===_0x530b53);}await _0x220238['qRDBo'](setActiveFeatureId,_0x26e557['id']);_0x4fc7f7&&_0x4fc7f7!==_0x26e557[_0x33ca9e(0xe2)]&&(await _0x220238[_0x33ca9e(0x108)](updateFeature,_0x26e557['id'],{'gitBranch':_0x4fc7f7}),console[_0x33ca9e(0x127)](_0x33ca9e(0x1a0)+_0x4fc7f7));console[_0x33ca9e(0x127)](_0x33ca9e(0x17d)+_0x26e557['name']+'\x20('+_0x26e557['id']+')'),await tryStartCurrentSession(_0x26e557['id']);const _0x1f1ff7=await _0x220238[_0x33ca9e(0x12c)](getFeature,_0x26e557['id']),_0x4e27e9=process['env'][_0x33ca9e(0xd2)];_0x4e27e9&&_0x220238[_0x33ca9e(0x108)](registerSession,_0x4e27e9,_0x1f1ff7['id']),_0x220238['aCzln'](displayFeature,_0x1f1ff7,_0x1f1ff7[_0x33ca9e(0x17f)]),await printFeedbackNudge(_0x1f1ff7['id']);}async function printFeedbackNudge(_0x2e2697){const _0xba5b45=_0x84055e,_0xfe1013={'CoASM':function(_0x2e07ef,_0x309265){return _0x2e07ef(_0x309265);},'PZwVg':function(_0x5bc39a,_0x5865c3){return _0x5bc39a>_0x5865c3;}};try{const {items:_0x114eae}=await _0xfe1013[_0xba5b45(0x14d)](getActionItems,_0x2e2697);let _0x29e96=0x0,_0xe122f9=0x0;for(const _0x563ba9 of _0x114eae){const _0x38ebd4=await getItemFeedback(_0x2e2697,_0x563ba9['id']);_0x38ebd4['unaddressedComments'][_0xba5b45(0xfa)]>0x0&&(_0x29e96+=_0x38ebd4['unaddressedComments']['length'],_0xe122f9++);}_0xfe1013[_0xba5b45(0x15f)](_0x29e96,0x0)&&(console[_0xba5b45(0x127)]('\x0a⚠️\x20\x20'+_0x29e96+_0xba5b45(0xdc)+_0xe122f9+_0xba5b45(0x10c)),console['log'](_0xba5b45(0x166)));}catch{}}async function tryStartCurrentSession(_0x16c49b){const _0x51d0b7=_0x84055e,_0x468f09={'RlbqE':function(_0x10ec94,_0x2d59e7){return _0x10ec94(_0x2d59e7);}};try{const {sessions:_0x1ff6cb}=await _0x468f09[_0x51d0b7(0x16c)](listFeatureSessions,_0x16c49b),_0x38f8a3=_0x1ff6cb['find'](_0x4829ce=>_0x4829ce['status']==='ready');_0x38f8a3&&(await startSession(_0x16c49b,_0x38f8a3['id']),console[_0x51d0b7(0x127)](_0x51d0b7(0x15b)+_0x38f8a3[_0x51d0b7(0x13c)]));}catch{}}export async function featureReport(_0xbef450,_0x3ef63c){const _0x3a4356=_0x84055e,_0x3bad42={'KgduT':_0x3a4356(0x159),'leXqF':_0x3a4356(0xd4),'VwgdC':function(_0x29247d,_0x56b67d,_0xf69c6d,_0x2b281c){return _0x29247d(_0x56b67d,_0xf69c6d,_0x2b281c);},'uhaQj':function(_0x1eb3ee){return _0x1eb3ee();},'OHnVv':function(_0x13c831,_0x230ec7){return _0x13c831(_0x230ec7);}},_0xcd0381=_0xbef450||await getActiveFeatureId();if(!_0xcd0381)throw new Error(_0x3bad42[_0x3a4356(0xd1)]);console[_0x3a4356(0x127)](_0x3bad42['leXqF']);const _0x634b3a=await getFeatureReportMarkdown(_0xcd0381,{'style':_0x3ef63c['style']}),_0x4d8981=_0x3ef63c[_0x3a4356(0xe1)]||_0x3bad42['VwgdC'](join,_0x3bad42[_0x3a4356(0x15d)](getRangerDir),'reports',_0xcd0381+'.md'),_0x514ad2=join(_0x4d8981,'..');!_0x3bad42['OHnVv'](existsSync,_0x514ad2)&&await mkdir(_0x514ad2,{'recursive':!![]}),await writeFile(_0x4d8981,_0x634b3a,_0x3a4356(0x19f)),console[_0x3a4356(0x127)](_0x3a4356(0x197)+_0x4d8981);}function getScenarioResult(_0xbd7169){const _0xea5296=_0x84055e,_0x14de3e={'MRFFC':'closed','VyNBd':'in_progress'};if(_0xbd7169[_0xea5296(0x137)]===_0x14de3e['MRFFC'])return _0xbd7169['terminalReason']??'closed';if(_0xbd7169['status']===_0xea5296(0x163))return _0x14de3e[_0xea5296(0x121)];return _0xbd7169['status'];}function getScenarioRationale(_0x450c18,_0x173dba){const _0x2f506a=_0x84055e,_0x46b7c6='2|4|0|1|5|3'[_0x2f506a(0x130)]('|');let _0x3f70f7=0x0;while(!![]){switch(_0x46b7c6[_0x3f70f7++]){case'0':if(_0x450c18['incompleteReason'])return _0x450c18['incompleteReason'];continue;case'1':if(_0x450c18['canceledReason'])return _0x450c18[_0x2f506a(0x19a)];continue;case'2':if(_0x173dba)return _0x173dba;continue;case'3':return null;case'4':if(_0x450c18['blockedReason'])return _0x450c18['blockedReason'];continue;case'5':if(_0x450c18['notes'])return _0x450c18['notes'];continue;}break;}}export async function featureReportPrDescription(_0x37c871,_0x3affca){const _0x15385e=_0x84055e,_0x569ecd={'YLFWq':_0x15385e(0x159),'PynIE':function(_0x51ed01,_0x1f7639){return _0x51ed01(_0x1f7639);},'kMCcg':function(_0xdfe6e5,_0x5710da,_0x17db77){return _0xdfe6e5(_0x5710da,_0x17db77);},'aEWaJ':function(_0x366483,_0x204448){return _0x366483===_0x204448;},'SbgmF':_0x15385e(0x10d),'tVzpa':function(_0x4a731f,_0x4f27fe){return _0x4a731f>_0x4f27fe;},'hrVMu':function(_0x5450ea,_0x3d8a0f){return _0x5450ea<_0x3d8a0f;},'iNAjJ':function(_0x4ea880,_0x7e32e8){return _0x4ea880+_0x7e32e8;}},_0x19a7db=_0x37c871||await getActiveFeatureId();if(!_0x19a7db)throw new Error(_0x569ecd[_0x15385e(0x168)]);const _0x47854d=await _0x569ecd[_0x15385e(0x103)](getFeature,_0x19a7db),_0x177a1f=_0x47854d['checklistItems']||[],_0xf8dca1=_0x569ecd['kMCcg'](getCurrentSessionItems,_0x47854d,_0x177a1f);_0x569ecd['aEWaJ'](_0xf8dca1[_0x15385e(0xfa)],0x0)&&(console['error'](_0x569ecd['SbgmF']),process['exit'](0x1));const _0x105a69=_0x3affca['excludeScenarios']??[],_0x3e06de=_0x105a69[_0x15385e(0xe0)](_0x576edd=>!Number['isInteger'](_0x576edd)||_0x576edd<0x1||_0x576edd>_0xf8dca1[_0x15385e(0xfa)]);if(_0x569ecd[_0x15385e(0xe9)](_0x3e06de[_0x15385e(0xfa)],0x0)){console[_0x15385e(0x165)]('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x3e06de['join'](',\x20')),console['log'](_0x15385e(0x134));for(let _0x15fa63=0x0;_0x569ecd[_0x15385e(0x11f)](_0x15fa63,_0xf8dca1[_0x15385e(0xfa)]);_0x15fa63++){console['log']('\x20\x20'+_0x569ecd['iNAjJ'](_0x15fa63,0x1)+'.\x20'+_0xf8dca1[_0x15fa63][_0x15385e(0x124)]);}process[_0x15385e(0x19b)](0x1);}const _0x473555=new Set(_0x105a69[_0x15385e(0x126)](_0x2b337f=>_0x2b337f-0x1)),_0xbecfa3=_0xf8dca1[_0x15385e(0xe0)]((_0x2c5cd4,_0x33b180)=>!_0x473555[_0x15385e(0xc6)](_0x33b180));_0xbecfa3[_0x15385e(0xfa)]===0x0&&(console['error'](_0x15385e(0xe7)),process['exit'](0x1));if(_0x3affca[_0x15385e(0xfe)])await outputJsonReport(_0x19a7db,_0x47854d,_0xbecfa3);else{const _0x2a2d3c=await _0x569ecd[_0x15385e(0x174)](getFeatureReportMarkdown,_0x19a7db,{'itemIds':_0xbecfa3['map'](_0x4cdfba=>_0x4cdfba['id'])});process[_0x15385e(0x18d)][_0x15385e(0xcf)](_0x2a2d3c[_0x15385e(0x114)]()+'\x0a');}}async function outputJsonReport(_0x5c4e19,_0x28183c,_0x5b404d){const _0x2149fa=_0x84055e,_0x181a2c={'xGmoM':function(_0x56e05a,_0x56f779){return _0x56e05a>_0x56f779;},'BqsGI':function(_0x2b4a86,_0x405000){return _0x2b4a86===_0x405000;},'rHwMY':function(_0x4b2efc,_0x35f52b){return _0x4b2efc(_0x35f52b);},'Uyvoi':function(_0x37d41c){return _0x37d41c();},'KOIIy':function(_0x187ee7,_0x2d0b4d){return _0x187ee7+_0x2d0b4d;}},_0x5251eb=_0x181a2c[_0x2149fa(0x136)](getApiBaseUrl),_0x72fc82=await getFeatureReport(_0x5c4e19),_0x3e79ec=new Map(_0x72fc82[_0x2149fa(0x17f)]['map'](_0x283539=>[_0x283539['id'],_0x283539])),_0x2dd792=await Promise[_0x2149fa(0x152)](_0x5b404d['map'](async _0x24416c=>{const _0x4cb51d=_0x2149fa,_0x1755ba=_0x3e79ec['get'](_0x24416c['id']),_0x5ca832=_0x1755ba?.[_0x4cb51d(0x105)]??null;let _0x1c1f18=[];if(_0x24416c['browserSessionId'])try{const {steps:_0x8360ef}=await getBrowserSessionSteps(_0x24416c[_0x4cb51d(0xfb)]);_0x181a2c['xGmoM'](_0x8360ef['length'],0x0)&&(_0x1c1f18=_0x8360ef[_0x4cb51d(0x126)](_0x254231=>{const _0x2b9333=_0x4cb51d,_0x10cdbd=_0x254231['assets']['find'](_0x1ddf93=>_0x1ddf93['assetType']==='screenshot'&&_0x1ddf93[_0x2b9333(0x176)]==='after')??_0x254231[_0x2b9333(0x16b)]['find'](_0x3ce377=>_0x3ce377['assetType']==='screenshot');let _0x57eb8d=null,_0x3888ef=null;if(_0x10cdbd){const _0x45b607=_0x10cdbd['storage'][_0x2b9333(0x101)]['split']('/')[_0x2b9333(0x16e)]();_0x57eb8d=_0x5251eb+_0x2b9333(0x160)+_0x24416c['browserSessionId']+'/artifacts/'+_0x45b607,_0x45b607&&(_0x3888ef=_0x45b607[_0x2b9333(0x15c)](/\.\w+$/,'')[_0x2b9333(0x15c)](/^(key_)?\d+_/,'')[_0x2b9333(0x15c)](/[-_]/g,'\x20'));}return{'description':_0x3888ef||_0x254231['description']||_0x254231[_0x2b9333(0x10e)]||_0x2b9333(0x12a)+_0x254231[_0x2b9333(0xbb)],'screenshot':_0x57eb8d,'is_key_step':_0x254231[_0x2b9333(0x190)]};}));}catch{}return _0x181a2c[_0x4cb51d(0x150)](_0x1c1f18['length'],0x0)&&_0x5ca832?.[_0x4cb51d(0x185)]&&(_0x1c1f18=_0x5ca832['screenshotUrls'][_0x4cb51d(0x126)]((_0x6710b1,_0x5e1abd)=>({'description':_0x4cb51d(0xe3)+(_0x5e1abd+0x1),'screenshot':_0x6710b1,'is_key_step':![]}))),{'description':_0x24416c[_0x4cb51d(0x124)],'result':_0x181a2c['rHwMY'](getScenarioResult,_0x24416c),'rationale':getScenarioRationale(_0x24416c,_0x5ca832?.[_0x4cb51d(0x155)]),'steps':_0x1c1f18};})),_0x2cb22d={'url':_0x28183c[_0x2149fa(0xc7)],'scenarios':_0x2dd792};process[_0x2149fa(0x18d)][_0x2149fa(0xcf)](_0x181a2c['KOIIy'](JSON['stringify'](_0x2cb22d,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x335ca9){const _0x342e8c=_0x84055e,_0x5701e4={'pOJFy':function(_0x164be3){return _0x164be3();},'qIOhn':_0x342e8c(0x110),'kqfUu':function(_0x5e5595,_0x301400){return _0x5e5595===_0x301400;},'lTSsq':_0x342e8c(0x144),'vCNVu':function(_0x167dea,_0x22c118){return _0x167dea!==_0x22c118;},'YAQcW':'\x0aConcluding\x20session...'},_0x50763c=_0x335ca9||await _0x5701e4['pOJFy'](getActiveFeatureId);if(!_0x50763c)throw new Error(_0x342e8c(0x13e));const _0x526ebb=await getFeature(_0x50763c);if(!_0x526ebb['currentSessionId'])throw new Error(_0x342e8c(0xc2));const {sessions:_0x5df104}=await listFeatureSessions(_0x50763c),_0x11e5e3=_0x5df104['find'](_0x40243e=>_0x40243e['id']===_0x526ebb['currentSessionId']);if(!_0x11e5e3)throw new Error(_0x5701e4['qIOhn']);if(_0x5701e4[_0x342e8c(0x13b)](_0x11e5e3['status'],_0x342e8c(0x18e))){console['log'](_0x5701e4[_0x342e8c(0xdd)]);return;}if(_0x5701e4['vCNVu'](_0x11e5e3['status'],_0x342e8c(0x1ab)))throw new Error(_0x342e8c(0x157)+_0x11e5e3[_0x342e8c(0x137)]);console[_0x342e8c(0x127)](_0x5701e4['YAQcW']),await concludeSession(_0x50763c,_0x526ebb[_0x342e8c(0x19e)]),console[_0x342e8c(0x127)](_0x342e8c(0xc8)+_0x11e5e3['iteration']+'\x20concluded.'),console[_0x342e8c(0x127)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}function _0x5f08(){const _0x1d20a7=['includeDeleted','length','browserSessionId','toFixed','stats','json','round','repeat','location','JsKQf','PynIE','zJzUI','linkedSession','78kwlMTz','YHPoD','GUbKi','vtxCN','currentBranch','submittedAt','\x20scenario(s).','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','stepName','banlN','Current\x20session\x20not\x20found.','env','Please\x20finish\x20your\x20review\x20first:','\x20\x20\x20Repository:\x20','trimEnd','domRef','sqpJp','XyAjT','canonicalFlow','gitRepoUrl','12HfHAiO','incomplete','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','Zxizs','Next\x20page:\x20ranger\x20list\x20--offset\x20','hrVMu','\x20\x20\x20Completed:\x20','VyNBd','VVTlT','sajGR','description','10345804VkKWAR','map','log','MlLCV','ucynq','Step\x20','sessionId','WTlHn','selector','\x20[has\x20reviewer\x20feedback]','\x20of\x20','split','aMFKI','OrKQy','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','\x0aAvailable\x20scenarios:','pipe','Uyvoi','status','\x20unaddressed\x20comment(s)','4WFNSuo','type','kqfUu','iteration','66rhbSyR','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','push','BGJAc','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','\x20\x20\x20Description:\x20','\x20\x20\x20Status:\x20','\x0a✅\x20Session\x20is\x20already\x20completed.','1160535fwwyCd','fbjbv','\x20verified','totalCount','\x20in\x20progress','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','UGkyU','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','CoASM','createdAt','.\x20Feature\x20review\x20has\x20','BqsGI','\x20(v','all','.png','mhFkj','agentResponse','vbIez','Cannot\x20conclude\x20session\x20with\x20status:\x20','ZNMiN','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','OqKBb','\x20\x20\x20▶️\x20Started\x20session\x20','replace','uhaQj','find','PZwVg','/api/v1/mcp/browser-sessions/',':\x20\x22','5067FUdLxJ','verification_in_progress','active-feature.txt','error','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','ZWCdL','YLFWq','IMjqH','scenario','assets','RlbqE','\x0a✅\x20Scenario\x20added','pop','\x0a✅\x20Feature\x20review\x20created:\x20','github.com/','Scenario\x20','spatial','eULaj','kMCcg','8287160WNSYbD','timing','\x20\x20\x20ID:\x20','29770lFnZbi','\x20—\x20','Cwdib','514985xsjtzr','\x20\x20\x20','\x0a✅\x20Resumed\x20feature\x20review:\x20','UqGxw','checklistItems','uLWyR','SNoea','RNdBB','IvzJk','limit','screenshotUrls','YGGZP','5575966PBoxiL','\x20\x20\x20\x20\x20\x20Incomplete:\x20','HhJGd','trim','\x1b[1m','\x20--limit\x20','stdout','completed','CttOo','isKeyStep','8vZHkrR','latestReview','completedAt','tEwtT','blockedItems','\x1b[0m','\x0a✅\x20Report\x20generated:\x20','feedback-images','any','canceledReason','exit','items','DNfJM','currentSessionId','utf-8','\x20\x20\x20Updated\x20branch\x20to:\x20','\x20/\x20','rKjAC','pendingItems','klUmZ','ZVnji','content','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','MMMkh','terminalReason','Mpndg','in_progress','short','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','verifiedItems','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','hIMCy','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','version','position','fqQZn','prompt','verified','\x20\x20\x20Created:\x20','ILzpX','HMcSa','No\x20active\x20session\x20for\x20this\x20feature\x20review.','\x20\x20\x20Branch:\x20','\x20\x20\x20Progress:\x20','EXZHj','has','dashboardUrl','\x0a✅\x20Session\x20','qYgem','warn','lNTNZ','\x20\x20\x20\x20\x20\x20Approved','HMcWb','fTVdF','write','nVZaR','KgduT','CLAUDE_SESSION_ID','DTuml','\x0aGenerating\x20report...','name','assetUrl','Unknown','\x0aCreating\x20feature\x20review...','slice','7WQdZUt','cLAMU','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','lTSsq','incompleteReason','cxxSs','filter','output','gitBranch','Screenshot\x20','unaddressedComments','\x20\x20\x20\x20\x20Branch:\x20','fscRU','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','closed','tVzpa','join','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','JXXDR','\x0aNo\x20feature\x20reviews\x20found.','No\x20scenarios\x20found.','toLocaleString','authorName','uNMbV','\x20\x20💬\x20','toLocaleDateString','492472UoJEQA','vnWbp','Kcsvf','ZGpdp','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'];_0x5f08=function(){return _0x1d20a7;};return _0x5f08();}export async function featureSessions(_0x3f32b6){const _0x46d7a3=_0x84055e,_0x494baf={'UQInV':function(_0x497f44){return _0x497f44();},'aMFKI':'No\x20sessions\x20found.','Kcsvf':function(_0x3b93da,_0x135747){return _0x3b93da===_0x135747;},'YGGZP':'in_progress'},_0x2d2e0b=_0x3f32b6||await _0x494baf['UQInV'](getActiveFeatureId);if(!_0x2d2e0b)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0x3d6ba5=await getFeature(_0x2d2e0b);console[_0x46d7a3(0x127)](_0x46d7a3(0xf8)+_0x3d6ba5['name']+'\x0a');const {sessions:_0x14f31d}=await listFeatureSessions(_0x2d2e0b);if(_0x14f31d[_0x46d7a3(0xfa)]===0x0){console['log'](_0x494baf[_0x46d7a3(0x131)]);return;}for(const _0x18ca0a of _0x14f31d){const _0x51832d=_0x494baf[_0x46d7a3(0xf6)](_0x18ca0a[_0x46d7a3(0x137)],'completed')?'✅':_0x494baf[_0x46d7a3(0xf6)](_0x18ca0a[_0x46d7a3(0x137)],_0x494baf[_0x46d7a3(0x186)])?'🔄':'▶️';console['log'](_0x51832d+'\x20Session\x20'+_0x18ca0a['iteration']+'\x20('+_0x18ca0a['id']+')'),console[_0x46d7a3(0x127)](_0x46d7a3(0x143)+_0x18ca0a[_0x46d7a3(0x137)]),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x18ca0a[_0x46d7a3(0x14e)])['toLocaleString']()),_0x18ca0a[_0x46d7a3(0x193)]&&console[_0x46d7a3(0x127)]('\x20\x20\x20Completed:\x20'+new Date(_0x18ca0a['completedAt'])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0x509f08,_0x158e81){const _0x599c35=_0x84055e,_0x154236={'aWacg':function(_0x1cde60){return _0x1cde60();},'LzamQ':_0x599c35(0x13e),'JsKQf':function(_0x5d9c2f,_0x3e72ba){return _0x5d9c2f(_0x3e72ba);},'IJroz':function(_0xa05712,_0x55bbaf,_0x5933b6){return _0xa05712(_0x55bbaf,_0x5933b6);}},_0x54416b=_0x158e81||await _0x154236['aWacg'](getActiveFeatureId);if(!_0x54416b)throw new Error(_0x154236['LzamQ']);const _0x5a90b4=await _0x154236[_0x599c35(0x102)](getFeature,_0x54416b);if(_0x5a90b4['latestReview']&&!_0x5a90b4[_0x599c35(0x192)][_0x599c35(0x10b)])throw new Error(_0x599c35(0x1a7)+_0x5a90b4['dashboardUrl']);await createChecklistItem(_0x54416b,_0x509f08);const _0x93fb53=await getFeature(_0x54416b);console[_0x599c35(0x127)](_0x599c35(0x16d)),_0x154236['IJroz'](displayFeature,_0x93fb53,_0x93fb53['checklistItems']);}export async function featureEditScenario(_0x343d44,_0x5799c6){const _0x337f0d=_0x84055e,_0x2be5d5={'vtxCN':function(_0x29c286){return _0x29c286();},'cXViF':'Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','sqpJp':function(_0x128092,_0x41fed9){return _0x128092(_0x41fed9);},'IvzJk':_0x337f0d(0x14a),'lNTNZ':function(_0x32c440,_0x1dabd1){return _0x32c440===_0x1dabd1;},'vbfNT':_0x337f0d(0x134),'PKzCV':function(_0x44ad7a,_0x22b4ad){return _0x44ad7a<_0x22b4ad;},'nVZaR':function(_0x127abf,_0x2f0c46){return _0x127abf+_0x2f0c46;},'PjyAV':function(_0x45f4b2,_0x591a93){return _0x45f4b2-_0x591a93;},'TkEhk':function(_0x5a8ead,_0xe8a309){return _0x5a8ead<_0xe8a309;},'ILzpX':function(_0x4f71fd,_0x23e50b,_0x19a05f,_0x953309){return _0x4f71fd(_0x23e50b,_0x19a05f,_0x953309);},'YHPoD':function(_0x588887,_0x4e1f03){return _0x588887(_0x4e1f03);}},_0x51eaf9=_0x5799c6['id']||await _0x2be5d5[_0x337f0d(0x109)](getActiveFeatureId);!_0x51eaf9&&(console[_0x337f0d(0x165)]('\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.'),console[_0x337f0d(0x165)](_0x2be5d5['cXViF']),process[_0x337f0d(0x19b)](0x1));const _0x3931f7=await _0x2be5d5[_0x337f0d(0x116)](getFeature,_0x51eaf9);_0x3931f7[_0x337f0d(0x192)]&&!_0x3931f7['latestReview']['submittedAt']&&(console[_0x337f0d(0x165)](_0x2be5d5[_0x337f0d(0x183)]),console['error'](_0x337f0d(0x112)),console['error']('\x20\x20'+_0x3931f7[_0x337f0d(0xc7)]),process['exit'](0x1));const _0x3fdf6c=_0x3931f7['checklistItems']||[];_0x3fdf6c[_0x337f0d(0xfa)]===0x0&&(console[_0x337f0d(0x165)]('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x337f0d(0x19b)](0x1));if(_0x2be5d5[_0x337f0d(0xcb)](_0x5799c6[_0x337f0d(0x16a)],undefined)){console['error']('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console['log'](_0x2be5d5['vbfNT']);for(let _0x5b7b11=0x0;_0x2be5d5['PKzCV'](_0x5b7b11,_0x3fdf6c[_0x337f0d(0xfa)]);_0x5b7b11++){console[_0x337f0d(0x127)]('\x20\x20'+_0x2be5d5[_0x337f0d(0xd0)](_0x5b7b11,0x1)+'.\x20'+_0x3fdf6c[_0x5b7b11]['description']);}process['exit'](0x1);}const _0x3a616b=_0x2be5d5['PjyAV'](_0x5799c6['scenario'],0x1);if(_0x3a616b<0x0||_0x3a616b>=_0x3fdf6c['length']){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x5799c6['scenario']+_0x337f0d(0x14f)+_0x3fdf6c['length']+'\x20scenarios.'),console['log'](_0x337f0d(0x134));for(let _0x7b882e=0x0;_0x2be5d5['TkEhk'](_0x7b882e,_0x3fdf6c[_0x337f0d(0xfa)]);_0x7b882e++){console['log']('\x20\x20'+(_0x7b882e+0x1)+'.\x20'+_0x3fdf6c[_0x7b882e]['description']);}process[_0x337f0d(0x19b)](0x1);}const _0x594998=_0x3fdf6c[_0x3a616b];await _0x2be5d5[_0x337f0d(0xc0)](updateChecklistItem,_0x51eaf9,_0x594998['id'],{'description':_0x343d44});const _0x382ba1=await _0x2be5d5[_0x337f0d(0x107)](getFeature,_0x51eaf9);console['log']('\x0a✅\x20Scenario\x20updated'),displayFeature(_0x382ba1,_0x382ba1['checklistItems']);}async function downloadFeedbackImage(_0x178c09,_0x4b48a8){const _0x592ea3=_0x84055e,_0x5f1d34={'Mpndg':_0x592ea3(0x198),'EXZHj':function(_0x1e7081,_0xdfa821,_0x1b326b){return _0x1e7081(_0xdfa821,_0x1b326b);}};try{const _0x18ad5d=join(getRangerDir(),_0x5f1d34[_0x592ea3(0x1aa)]);await _0x5f1d34['EXZHj'](mkdir,_0x18ad5d,{'recursive':!![]});const _0x112125=_0x5f1d34[_0x592ea3(0xc5)](join,_0x18ad5d,'comment_'+_0x4b48a8+_0x592ea3(0x153)),_0x2c19ca=await fetch(_0x178c09);if(!_0x2c19ca['ok'])return null;const _0x1d5341=Buffer['from'](await _0x2c19ca['arrayBuffer']());return await writeFile(_0x112125,_0x1d5341),_0x112125;}catch{return null;}}function _0x3407(_0x20ecbb,_0x453bec){_0x20ecbb=_0x20ecbb-0xb7;const _0x5f08d4=_0x5f08();let _0x34070d=_0x5f08d4[_0x20ecbb];return _0x34070d;}export async function featureGetReview(_0x27ea03){const _0x279b3b=_0x84055e,_0x5aa918={'MMMkh':_0x279b3b(0x13e),'uNMbV':function(_0x59aa8f,_0xf26b50){return _0x59aa8f(_0xf26b50);},'pFXHD':function(_0x4728bc,_0x4a0186){return _0x4728bc===_0x4a0186;},'cLAMU':_0x279b3b(0xee),'soGLw':function(_0x240f74,_0x2f9ee2){return _0x240f74+_0x2f9ee2;},'mhFkj':'en-US','aEncn':_0x279b3b(0x1ac),'wIgpQ':'numeric','DTuml':_0x279b3b(0xd7),'cxxSs':function(_0x3551ae,_0x33af2b,_0x5837a8){return _0x3551ae(_0x33af2b,_0x5837a8);},'eULaj':'\x20>\x20','fcczG':'element','rKjAC':'point'},_0x20e04d=_0x27ea03||await getActiveFeatureId();if(!_0x20e04d)throw new Error(_0x5aa918[_0x279b3b(0x1a8)]);const _0x5de50a=await getFeature(_0x20e04d),{items:_0x4aebdc}=await _0x5aa918[_0x279b3b(0xf1)](getActionItems,_0x20e04d);console[_0x279b3b(0x127)]('\x0a📋\x20Feedback\x20for:\x20'+_0x5de50a[_0x279b3b(0xd5)]+'\x20('+_0x5de50a['id']+')\x0a');if(_0x5aa918['pFXHD'](_0x4aebdc[_0x279b3b(0xfa)],0x0)){console[_0x279b3b(0x127)](_0x5aa918[_0x279b3b(0xdb)]);return;}for(let _0x1e7ad6=0x0;_0x1e7ad6<_0x4aebdc[_0x279b3b(0xfa)];_0x1e7ad6++){const _0x187fe5=_0x4aebdc[_0x1e7ad6],_0xed4ecb=_0x187fe5[_0x279b3b(0xba)]>0x1?_0x279b3b(0x151)+_0x187fe5[_0x279b3b(0xba)]+')':'',_0x2aac9e=await getItemFeedback(_0x20e04d,_0x187fe5['id']);if(_0x2aac9e[_0x279b3b(0xe4)]['length']>0x0){console['log'](_0x279b3b(0x171)+_0x5aa918['soGLw'](_0x1e7ad6,0x1)+':\x20\x22'+_0x187fe5[_0x279b3b(0x124)]+'\x22'+_0xed4ecb+_0x279b3b(0x179)+_0x2aac9e['unaddressedComments'][_0x279b3b(0xfa)]+_0x279b3b(0x138));for(const _0x25a6b8 of _0x2aac9e[_0x279b3b(0xe4)]){const _0xf70ea9=new Date(_0x25a6b8['createdAt'])[_0x279b3b(0xf3)](_0x5aa918[_0x279b3b(0x154)],{'month':_0x5aa918['aEncn'],'day':_0x5aa918['wIgpQ']}),_0x20482c=_0x25a6b8[_0x279b3b(0xf0)]||_0x25a6b8['authorEmail']||_0x5aa918[_0x279b3b(0xd3)];console[_0x279b3b(0x127)](_0x279b3b(0xf2)+_0x20482c+'\x20('+_0xf70ea9+'):\x20\x22'+_0x25a6b8[_0x279b3b(0x1a6)]+'\x22');if(_0x25a6b8[_0x279b3b(0xd6)]){const _0x459e75=await _0x5aa918[_0x279b3b(0xdf)](downloadFeedbackImage,_0x25a6b8['assetUrl'],_0x25a6b8['id']);_0x459e75&&console['log'](_0x279b3b(0x141)+_0x459e75);}if(_0x25a6b8[_0x279b3b(0x115)]){const _0x5df2c8=_0x25a6b8['domRef']['selector']['split'](_0x5aa918[_0x279b3b(0x173)])['pop']()?.[_0x279b3b(0x130)](':')[0x0]||_0x5aa918['fcczG'],_0xe61086=_0x25a6b8[_0x279b3b(0x115)]['textContent']?'\x20\x22'+_0x25a6b8[_0x279b3b(0x115)]['textContent'][_0x279b3b(0xd9)](0x0,0x3c)+'\x22':'';console['log'](_0x279b3b(0xeb)+_0x5df2c8+'>'+_0xe61086),console[_0x279b3b(0x127)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x25a6b8['domRef'][_0x279b3b(0x12d)]);}else{if(_0x25a6b8[_0x279b3b(0x172)]){const _0x2392df=_0x25a6b8['spatial']['coordinates'];_0x25a6b8[_0x279b3b(0x172)]['type']===_0x5aa918[_0x279b3b(0x1a2)]&&_0x2392df['length']>=0x2?console['log'](_0x279b3b(0x11c)+_0x2392df[0x0][_0x279b3b(0xfc)](0x2)+',\x20'+_0x2392df[0x1]['toFixed'](0x2)+')'):console[_0x279b3b(0x127)](_0x279b3b(0x133)+_0x25a6b8['spatial'][_0x279b3b(0x13a)]+'\x20at\x20['+_0x2392df[_0x279b3b(0x126)](_0x234c3b=>_0x234c3b['toFixed'](0x2))['join'](',\x20')+']');}}}if(_0x2aac9e['canonicalFlow']){console[_0x279b3b(0x127)]('\x20\x20Expected\x20flow:');for(const _0x403039 of _0x2aac9e[_0x279b3b(0x118)][_0x279b3b(0x130)]('\x0a')){console[_0x279b3b(0x127)]('\x20\x20\x20\x20'+_0x403039);}}}else console[_0x279b3b(0x127)](_0x279b3b(0x171)+(_0x1e7ad6+0x1)+_0x279b3b(0x161)+_0x187fe5[_0x279b3b(0x124)]+'\x22'+_0xed4ecb+'\x20—\x20no\x20comments'),console[_0x279b3b(0x127)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0x279b3b(0x127)]('');}}export async function featureDelete(_0x50f730){const _0x5f47d0=_0x84055e,_0x4778ae={'fqQZn':_0x5f47d0(0x13e),'XyAjT':function(_0x20ac5a,_0xe210b2){return _0x20ac5a+_0xe210b2;}},_0x2b9e68=_0x50f730||await getActiveFeatureId();if(!_0x2b9e68)throw new Error(_0x4778ae[_0x5f47d0(0xbc)]);const _0x5e170b=await getFeature(_0x2b9e68);await softDeleteFeature(_0x2b9e68),console['log']('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x5e170b[_0x5f47d0(0xd5)]+'\x20('+_0x2b9e68+')'),console['log'](_0x4778ae[_0x5f47d0(0x117)](_0x5f47d0(0xb7),_0x2b9e68));}export async function featureRestore(_0x2ae10a){const _0x1a4f8a=_0x84055e,_0x206136={'Zxizs':function(_0x11c69a,_0x3de889){return _0x11c69a(_0x3de889);},'Cwdib':function(_0x1e0db5,_0xb037e6,_0x56a9c7){return _0x1e0db5(_0xb037e6,_0x56a9c7);}};await _0x206136[_0x1a4f8a(0x11d)](restoreFeature,_0x2ae10a);const _0x17dcdc=await _0x206136[_0x1a4f8a(0x11d)](getFeature,_0x2ae10a);console[_0x1a4f8a(0x127)]('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x17dcdc[_0x1a4f8a(0xd5)]+'\x20('+_0x2ae10a+')'),_0x206136[_0x1a4f8a(0x17a)](displayFeature,_0x17dcdc,_0x17dcdc[_0x1a4f8a(0x17f)]);}
1
+ const _0x19025f=_0x2bba;(function(_0x467511,_0xf52cf2){const _0x5179a2=_0x2bba,_0x335402=_0x467511();while(!![]){try{const _0x46ac77=parseInt(_0x5179a2(0x243))/0x1+-parseInt(_0x5179a2(0x220))/0x2+parseInt(_0x5179a2(0x1c7))/0x3+parseInt(_0x5179a2(0x1de))/0x4+parseInt(_0x5179a2(0x226))/0x5*(parseInt(_0x5179a2(0x224))/0x6)+-parseInt(_0x5179a2(0x28e))/0x7+-parseInt(_0x5179a2(0x290))/0x8*(parseInt(_0x5179a2(0x1f4))/0x9);if(_0x46ac77===_0xf52cf2)break;else _0x335402['push'](_0x335402['shift']());}catch(_0x5cf4c9){_0x335402['push'](_0x335402['shift']());}}}(_0x124d,0xb90a3));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';function _0x124d(){const _0x533d1f=['\x0a✅\x20Restored\x20feature\x20review:\x20','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','ExFhA','name','\x20\x20\x20Completed:\x20','lTbuP','stats','items','currentSessionId','uuVsg','\x0a✅\x20Feature\x20review\x20created:\x20','browserSessionId','\x20at\x20[','YIHdZ','740016wFShNd','LHjqj','MzvsC','\x0a\x20\x20\x20Scenarios:','241050NEDQWE','utf-8','85WsOjvH','ERRQv','\x20\x20Expected\x20flow:','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','oPbXv','join','log','timing','includeDeleted','\x20\x20\x20▶️\x20Started\x20session\x20','completed','terminalReason','incompleteItems','/artifacts/','dashboardUrl','\x20\x20\x20Repository:\x20','roRMu','YUlrl','error','.md','\x0a✅\x20Resumed\x20feature\x20review:\x20','Please\x20finish\x20your\x20review\x20first:','screenshotUrls','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','QsUBV','lzLgp','YDuJe','assetType','assets','885826TibGZY','isInteger','\x20\x20\x20\x20\x20\x20Approved','notes','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','active-feature.txt','UWJwe','\x20\x20\x20','env','\x0a⚠️\x20\x20','\x20Session\x20','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','replace','gitBranch','checklistItems','\x20\x20✅\x20No\x20feedback\x20to\x20address','CcGao','rvFsw','slice','assetUrl','...','closed','numeric','\x20>\x20','en-US','syivI','\x20\x20💬\x20','isTTY','version',':\x20\x22','exit','iteration','blocked','EMwal','KtOnj','\x0a📋\x20Feedback\x20for:\x20','LCqqm','verification_in_progress','screenshot','currentBranch','wydOM','short','content','toFixed','any','completedAt','\x20\x20\x20Branch:\x20','stdout','gitRepoUrl','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','DNGRe','ZaatN','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','.png','\x20\x20\x20Updated\x20branch\x20to:\x20','json','git\x20rev-parse\x20--abbrev-ref\x20HEAD','git\x20remote\x20get-url\x20origin','geecQ','tAgFy','UAwXx','FlrJr','status','latestReview','gJsId','find','1|5|2|3|4|0','Screenshot\x20','scenario','jwJyj','trimEnd','\x20[has\x20reviewer\x20feedback]','cCpZt','authorEmail','totalCount','10421698XAnSeJ','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','8eXFGEl','description','pop','DVINq','\x0a✅\x20Scenario\x20added','\x20\x20\x20Created:\x20','github.com/','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','hRkBS','repeat','\x20\x20\x20\x20\x20ID:\x20','VNtnH','2009529OltfFN','VCdWZ','\x20concluded.','in_progress','okkGY','qrVpS','pipe','tfPlN','\x20scenario(s).','Not\x20in\x20a\x20git\x20repository.','domRef','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','\x0a✅\x20Scenario\x20updated','nYhnZ','LacCM','split','\x20of\x20','scenarios','NfRAW','length','fiJSI','CyhwK','5177760tkPwRS','itwhs','OEFNs','wAzSr','TOcCF','BWsLM','MTFPS','has','\x20verified','createdAt','blockedItems','warn','voaKS','push','\x20\x20\x20\x20\x20\x20Cancelled:\x20','\x20(v','blockedReason','wOMmI','spatial','feedback-images','unaddressedComments','\x20—\x20no\x20comments','8247051qvHNSu','trim','arrayBuffer','kohlF','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','No\x20sessions\x20found.','filter','\x0aGenerating\x20report...','QOtZK','Unknown','hHqXi','from','toLocaleDateString','.\x20Feature\x20review\x20has\x20','comment_','ArYcw','AMgoF','\x20\x20\x20Progress:\x20','CLAUDE_SESSION_ID','map','position','incompleteReason','toLocaleString','verified','\x20blocked','):\x20\x22','\x0aConcluding\x20session...','cqRca','type','\x1b[0m'];_0x124d=function(){return _0x533d1f;};return _0x124d();}import{existsSync}from'fs';import{execSync}from'child_process';import _0x4f5e05 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=_0x19025f(0x248),bold=_0x31aeb6=>'\x1b[1m'+_0x31aeb6+_0x19025f(0x211);function getGitRepoUrl(){const _0x4cd3e0=_0x19025f,_0x2d8f7b={'MTFPS':function(_0x4415b7,_0x43b855,_0x598f7d){return _0x4415b7(_0x43b855,_0x598f7d);},'FURwL':_0x4cd3e0(0x27c),'YIHdZ':'pipe'};try{const _0x44127f=_0x2d8f7b[_0x4cd3e0(0x1e4)](execSync,_0x2d8f7b['FURwL'],{'encoding':'utf-8','stdio':[_0x2d8f7b[_0x4cd3e0(0x21f)],'pipe',_0x2d8f7b[_0x4cd3e0(0x21f)]]})[_0x4cd3e0(0x1f5)]();return _0x44127f[_0x4cd3e0(0x24f)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x4cd3e0(0x296))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0xb89fe=_0x19025f,_0x32d673={'TdlYM':_0xb89fe(0x1cd)};try{return execSync(_0xb89fe(0x27b),{'encoding':'utf-8','stdio':[_0xb89fe(0x1cd),'pipe',_0x32d673['TdlYM']]})[_0xb89fe(0x1f5)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x1936f2=_0x19025f,_0x381f61={'hRkBS':function(_0x2bd5f6,_0x4d033e,_0x147f1d){return _0x2bd5f6(_0x4d033e,_0x147f1d);},'jUiGH':'utf-8'},_0x141c88=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x141c88))return null;try{const _0x4efe8f=await _0x381f61[_0x1936f2(0x298)](readFile,_0x141c88,_0x381f61['jUiGH']);return _0x4efe8f['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x15b693){const _0x3c2511=_0x19025f,_0xcf5ca3={'WojdQ':function(_0xfb5b78){return _0xfb5b78();},'DNGRe':function(_0x465eb7,_0x118798,_0x318e87){return _0x465eb7(_0x118798,_0x318e87);},'LOznp':function(_0x3b004e,_0x4730a0,_0x386d7e,_0x52620b){return _0x3b004e(_0x4730a0,_0x386d7e,_0x52620b);}},_0x506971=_0xcf5ca3['WojdQ'](getRangerDir),_0x2bf8a9=join(_0x506971,ACTIVE_FEATURE_FILE);!existsSync(_0x506971)&&await _0xcf5ca3[_0x3c2511(0x275)](mkdir,_0x506971,{'recursive':!![]}),await _0xcf5ca3['LOznp'](writeFile,_0x2bf8a9,_0x15b693,_0x3c2511(0x225));}function _0x2bba(_0x1fa2e3,_0x1d686d){_0x1fa2e3=_0x1fa2e3-0x1c6;const _0x124d62=_0x124d();let _0x2bba86=_0x124d62[_0x1fa2e3];return _0x2bba86;}function getProgressDisplay(_0x4ec922){const _0x17241e=_0x19025f,_0x5a8fb9={'sVLtf':function(_0x2b09b4,_0x4013f7){return _0x2b09b4+_0x4013f7;},'utBrB':function(_0xd48758,_0x29dcb8){return _0xd48758+_0x29dcb8;},'cCpZt':function(_0x3e473a,_0x1fe005){return _0x3e473a*_0x1fe005;},'nPocx':function(_0x1671ac,_0x48941b){return _0x1671ac>_0x48941b;}},_0x4f2ab1=_0x4ec922['verifiedItems']||0x0,_0x584ce7=_0x4ec922['verificationInProgressItems']||0x0,_0x4cfedb=_0x4ec922[_0x17241e(0x1e8)]||0x0,_0x567832=_0x4ec922[_0x17241e(0x232)]||0x0,_0x3bf2c5=_0x4ec922['pendingItems']||0x0,_0x503494=_0x5a8fb9['sVLtf'](_0x5a8fb9['utBrB'](_0x4f2ab1,_0x584ce7)+_0x4cfedb+_0x567832,_0x3bf2c5);if(_0x503494===0x0)return'-';const _0x1a4cf0=0xa,_0xe309f6=Math['round'](_0x5a8fb9[_0x17241e(0x28b)](_0x4f2ab1/_0x503494,_0x1a4cf0)),_0x4eef36='█'['repeat'](_0xe309f6)+'░'[_0x17241e(0x299)](_0x1a4cf0-_0xe309f6),_0x438994=[];if(_0x4cfedb>0x0)_0x438994[_0x17241e(0x1eb)](_0x4cfedb+_0x17241e(0x20c));if(_0x567832>0x0)_0x438994[_0x17241e(0x1eb)](_0x567832+'\x20incomplete');if(_0x5a8fb9['nPocx'](_0x584ce7,0x0))_0x438994['push'](_0x584ce7+'\x20in\x20progress');const _0x4a09c4=_0x438994[_0x17241e(0x1db)]>0x0?'\x20('+_0x438994[_0x17241e(0x22b)](',\x20')+')':'';return _0x4eef36+'\x20'+_0x4f2ab1+'/'+_0x503494+_0x17241e(0x1e6)+_0x4a09c4;}function getCurrentSessionItems(_0x4d602e,_0x18b2d2){const _0x90c7a5=_0x19025f;if(!_0x4d602e[_0x90c7a5(0x21a)])return _0x18b2d2['filter'](_0x4e4bfd=>!_0x4e4bfd['sessionId']);return _0x18b2d2[_0x90c7a5(0x1fa)](_0x5f2f00=>_0x5f2f00['sessionId']===_0x4d602e[_0x90c7a5(0x21a)]||!_0x5f2f00['sessionId']);}function displayFeature(_0x610682,_0x4fe190){const _0x46e770=_0x19025f,_0x16f045={'wOMmI':_0x46e770(0x223),'TOcCF':'approved','RQuuh':function(_0x2af78a,_0x56fe4d){return _0x2af78a===_0x56fe4d;},'LerFR':'incomplete','lzLgp':function(_0x53892c,_0x1a372e){return _0x53892c===_0x1a372e;},'ArYcw':_0x46e770(0x258),'VGXGf':'verification_in_progress','voaKS':function(_0x440f3e,_0x340441){return _0x440f3e>_0x340441;},'VWjYz':function(_0x482d0b,_0x1ad798){return _0x482d0b!==_0x1ad798;},'QntEv':_0x46e770(0x20b),'rvFsw':_0x46e770(0x28a),'CcGao':function(_0x8e0504,_0x5a2474){return _0x8e0504+_0x5a2474;},'geecQ':function(_0x3bafcf,_0x592e32){return _0x3bafcf===_0x592e32;}};console[_0x46e770(0x22c)]('\x0a'+_0x610682['name']+'\x20('+_0x610682[_0x46e770(0x234)]+')');_0x610682['stats']&&console[_0x46e770(0x22c)](_0x46e770(0x205)+getProgressDisplay(_0x610682[_0x46e770(0x218)]));_0x610682['description']&&console[_0x46e770(0x22c)]('\x20\x20\x20Description:\x20'+_0x610682['description']);_0x610682['gitRepoUrl']&&console['log'](_0x46e770(0x235)+_0x610682['gitRepoUrl']);_0x610682['gitBranch']&&console['log'](_0x46e770(0x271)+_0x610682['gitBranch']);console[_0x46e770(0x22c)]('\x20\x20\x20Created:\x20'+new Date(_0x610682[_0x46e770(0x1e7)])[_0x46e770(0x20a)]());_0x610682['completedAt']&&console['log'](_0x46e770(0x216)+new Date(_0x610682[_0x46e770(0x270)])['toLocaleString']());if(_0x4fe190&&_0x4fe190['length']>0x0){console[_0x46e770(0x22c)](_0x16f045[_0x46e770(0x1ef)]);for(let _0x401388=0x0;_0x401388<_0x4fe190[_0x46e770(0x1db)];_0x401388++){const _0x178190=_0x4fe190[_0x401388];let _0x13dc80;if(_0x178190[_0x46e770(0x281)]===_0x46e770(0x258)&&_0x178190[_0x46e770(0x231)]===_0x16f045['TOcCF'])_0x13dc80='✅';else{if(_0x16f045['RQuuh'](_0x178190[_0x46e770(0x281)],_0x46e770(0x20b)))_0x13dc80='🟢';else{if(_0x16f045['RQuuh'](_0x178190[_0x46e770(0x281)],_0x16f045['LerFR']))_0x13dc80='🟠';else{if(_0x178190[_0x46e770(0x281)]===_0x46e770(0x263))_0x13dc80='🛑';else{if(_0x16f045['lzLgp'](_0x178190['status'],_0x16f045['ArYcw']))_0x13dc80='⛔';else _0x16f045['lzLgp'](_0x178190['status'],_0x16f045['VGXGf'])?_0x13dc80='⏳':_0x13dc80='⬜';}}}}const _0x197e13=_0x178190[_0x46e770(0x25f)]>0x1?'\x20(v'+_0x178190[_0x46e770(0x25f)]+')':'',_0x2d203a=_0x16f045[_0x46e770(0x1ea)](_0x178190[_0x46e770(0x25f)],0x1)&&_0x178190['parentItemId']&&_0x16f045['VWjYz'](_0x178190['status'],_0x16f045[_0x46e770(0x203)])&&_0x178190['status']!==_0x16f045['QntEv']?_0x16f045[_0x46e770(0x254)]:'';console[_0x46e770(0x22c)](_0x46e770(0x24a)+_0x16f045[_0x46e770(0x253)](_0x401388,0x1)+'.\x20'+_0x13dc80+'\x20'+_0x178190[_0x46e770(0x291)]+_0x197e13+_0x2d203a);_0x178190[_0x46e770(0x281)]===_0x46e770(0x263)&&_0x178190[_0x46e770(0x1ee)]&&console[_0x46e770(0x22c)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x178190[_0x46e770(0x1ee)]);_0x178190[_0x46e770(0x281)]==='incomplete'&&_0x178190[_0x46e770(0x209)]&&console[_0x46e770(0x22c)]('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x178190[_0x46e770(0x209)]);if(_0x16f045[_0x46e770(0x23f)](_0x178190[_0x46e770(0x281)],_0x16f045[_0x46e770(0x203)])&&_0x16f045[_0x46e770(0x27d)](_0x178190[_0x46e770(0x231)],_0x16f045[_0x46e770(0x1e2)]))console[_0x46e770(0x22c)](_0x46e770(0x245));else _0x178190['status']===_0x16f045['ArYcw']&&_0x178190['canceledReason']&&console['log'](_0x46e770(0x1ec)+_0x178190['canceledReason']);}}}export async function featureCreate(_0x14d89b,_0x29b1c6){const _0x17efd8=_0x19025f,_0x377ef7={'qijxg':function(_0x4ae77d){return _0x4ae77d();},'SwbCH':function(_0x3d9a94,_0x2e958e){return _0x3d9a94===_0x2e958e;},'lTbuP':'\x0aCreating\x20feature\x20review...','mtcQi':function(_0x203254,_0x223619){return _0x203254(_0x223619);}},{envNames:_0x5c0c1c}=await _0x377ef7['qijxg'](getEnvNames);if(_0x5c0c1c[_0x17efd8(0x1db)]===0x0&&!process['env']['RANGER_TEST_USERNAME']){let _0x5982d9=0x0;try{_0x5982d9=(await listCloudProfiles())['length'];}catch{_0x5982d9=0x1;}_0x377ef7['SwbCH'](_0x5982d9,0x0)&&console[_0x17efd8(0x1e9)]('\x0a'+formatProfileRequiredMessage(_0x4d6768=>bold(_0x4d6768)));}const _0x236b80=_0x29b1c6['scenarios']?_0x29b1c6[_0x17efd8(0x1d9)]['map'](_0x266ae2=>_0x266ae2[_0x17efd8(0x1f5)]()):[],_0x4968a9=_0x377ef7['qijxg'](getGitRepoUrl),_0x248616=getGitBranch();console[_0x17efd8(0x22c)](_0x377ef7[_0x17efd8(0x217)]);const _0xa11d48=await createFeature({'name':_0x14d89b,'description':_0x29b1c6['description'],'checklist':_0x236b80,'gitRepoUrl':_0x4968a9,'gitBranch':_0x248616});await _0x377ef7['mtcQi'](setActiveFeatureId,_0xa11d48['id']),await tryStartCurrentSession(_0xa11d48['id']);const _0x406bf0=process[_0x17efd8(0x24b)]['CLAUDE_SESSION_ID'];_0x406bf0&&registerSession(_0x406bf0,_0xa11d48['id']),console['log'](_0x17efd8(0x21c)+_0xa11d48['id']),displayFeature(_0xa11d48,_0xa11d48['checklistItems']),console['log'](_0x17efd8(0x24e));}export async function featureList(_0x1a23e8){const _0x5339e2=_0x19025f,_0x2b01c0={'ogeRv':function(_0x392b42){return _0x392b42();},'grxFa':function(_0x337070,_0x389894){return _0x337070===_0x389894;},'okkGY':function(_0x7e6a9d,_0xd5274){return _0x7e6a9d>_0xd5274;},'jwFHZ':_0x5339e2(0x285),'JyCna':function(_0x21708f,_0x111135){return _0x21708f(_0x111135);},'LOgrZ':function(_0x1b402f,_0x3ca223){return _0x1b402f!==_0x3ca223;},'EOFqa':'\x20--include-deleted'},_0x30039e={'limit':_0x1a23e8['limit']??0xa,'offset':_0x1a23e8['offset']??0x0,'includeDeleted':_0x1a23e8[_0x5339e2(0x22e)]};_0x1a23e8['currentBranch']&&(_0x30039e[_0x5339e2(0x273)]=_0x2b01c0['ogeRv'](getGitRepoUrl),_0x30039e[_0x5339e2(0x250)]=getGitBranch());const _0xf6f247=await listFeatures(_0x30039e);if(_0x2b01c0['grxFa'](_0xf6f247[_0x5339e2(0x219)]['length'],0x0)){console[_0x5339e2(0x22c)]('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0xe5e95e=_0x2b01c0[_0x5339e2(0x1cb)](_0xf6f247['totalCount'],_0xf6f247['items']['length'])?'Showing\x20'+_0xf6f247['items'][_0x5339e2(0x1db)]+_0x5339e2(0x1d8)+_0xf6f247[_0x5339e2(0x28d)]:_0xf6f247['totalCount']+'\x20feature\x20review(s)\x20found';console[_0x5339e2(0x22c)]('\x0a'+_0xe5e95e+':\x0a');for(const _0x5a7aec of _0xf6f247['items']){const _0x458a8c=_0x2b01c0['jwFHZ'][_0x5339e2(0x1d7)]('|');let _0x3db749=0x0;while(!![]){switch(_0x458a8c[_0x3db749++]){case'0':console['log']('');continue;case'1':console['log'](''+_0x5a7aec[_0x5339e2(0x215)]);continue;case'2':_0x5a7aec['stats']&&console[_0x5339e2(0x22c)]('\x20\x20\x20Progress:\x20'+_0x2b01c0['JyCna'](getProgressDisplay,_0x5a7aec[_0x5339e2(0x218)]));continue;case'3':_0x5a7aec[_0x5339e2(0x250)]&&console['log']('\x20\x20\x20Branch:\x20'+_0x5a7aec[_0x5339e2(0x250)]);continue;case'4':console[_0x5339e2(0x22c)](_0x5339e2(0x295)+new Date(_0x5a7aec[_0x5339e2(0x1e7)])['toLocaleDateString']());continue;case'5':console[_0x5339e2(0x22c)]('\x20\x20\x20ID:\x20'+_0x5a7aec['id']);continue;}break;}}const _0x5a25ae=_0x30039e['limit']??0xa,_0xf31427=(_0x30039e['offset']??0x0)+_0xf6f247['items']['length'];if(_0xf31427<_0xf6f247[_0x5339e2(0x28d)]){const _0x474361=_0x2b01c0['LOgrZ'](_0x5a25ae,0xa)?'\x20--limit\x20'+_0x5a25ae:'',_0x5e11db=_0x1a23e8[_0x5339e2(0x26a)]?'\x20--current-branch':'',_0x2230d4=_0x1a23e8[_0x5339e2(0x22e)]?_0x2b01c0['EOFqa']:'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0xf31427+_0x474361+_0x5e11db+_0x2230d4);}}export async function featureShow(_0x2bec5b){const _0x9f704d=_0x19025f,_0x8775fd={'nYhnZ':function(_0x259856){return _0x259856();},'ERRQv':_0x9f704d(0x247),'VTOoO':function(_0x38a34e,_0x57a2f9){return _0x38a34e(_0x57a2f9);}},_0x5ad92a=_0x2bec5b||await _0x8775fd[_0x9f704d(0x1d5)](getActiveFeatureId);if(!_0x5ad92a)throw new Error(_0x8775fd[_0x9f704d(0x227)]);const _0x375fe3=await _0x8775fd['VTOoO'](getFeature,_0x5ad92a);displayFeature(_0x375fe3,_0x375fe3['checklistItems']);}export async function featureResume(_0x4f2ee7){const _0x2f77ab=_0x19025f,_0x554871={'LHjqj':function(_0xd3534b,_0x4f9272){return _0xd3534b(_0x4f9272);},'wAzSr':function(_0x309589,_0x4631e0){return _0x309589(_0x4631e0);},'UAwXx':function(_0x42d548){return _0x42d548();},'eEaFn':function(_0x7024da,_0x7c2395){return _0x7024da!==_0x7c2395;},'tfPlN':function(_0x4e7590,_0x295c55){return _0x4e7590(_0x295c55);},'QOtZK':function(_0x57fe47){return _0x57fe47();},'pnuHb':_0x2f77ab(0x1d0),'uJPHs':_0x2f77ab(0x26f),'BWsLM':function(_0x2b069f,_0x5d78b8){return _0x2b069f||_0x5d78b8;},'WCtjL':function(_0x556e47,_0x3d0db5){return _0x556e47===_0x3d0db5;},'GRZOj':_0x2f77ab(0x213),'uNCnR':_0x2f77ab(0x28f),'xNIgC':_0x2f77ab(0x23d),'EMwal':function(_0x33d47f,_0x527e8b,_0x1215d6){return _0x33d47f(_0x527e8b,_0x1215d6);},'DziqK':function(_0x6fe116,_0x3b80ff){return _0x6fe116(_0x3b80ff);},'gJsId':function(_0xefca8b,_0x33f9cf){return _0xefca8b(_0x33f9cf);}};if(_0x4f2ee7){const _0x457e2e=await _0x554871[_0x2f77ab(0x221)](getFeature,_0x4f2ee7);await _0x554871[_0x2f77ab(0x1e1)](setActiveFeatureId,_0x457e2e['id']);const _0x20dfaf=_0x554871['UAwXx'](getGitBranch);_0x20dfaf&&_0x554871['eEaFn'](_0x20dfaf,_0x457e2e[_0x2f77ab(0x250)])&&(await updateFeature(_0x457e2e['id'],{'gitBranch':_0x20dfaf}),console[_0x2f77ab(0x22c)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x20dfaf));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x457e2e['name']+'\x20('+_0x457e2e['id']+')'),await _0x554871['LHjqj'](tryStartCurrentSession,_0x457e2e['id']);const _0x11e285=process['env']['CLAUDE_SESSION_ID'];_0x11e285&&registerSession(_0x11e285,_0x457e2e['id']);displayFeature(_0x457e2e,_0x457e2e['checklistItems']),await _0x554871[_0x2f77ab(0x1ce)](printFeedbackNudge,_0x457e2e['id']);return;}const _0x13dfb7=_0x554871[_0x2f77ab(0x27f)](getGitRepoUrl),_0x5d9a91=_0x554871[_0x2f77ab(0x1fc)](getGitBranch);if(!_0x13dfb7&&!_0x5d9a91)throw new Error(_0x554871['pnuHb']);console[_0x2f77ab(0x22c)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+(_0x13dfb7||_0x554871['uJPHs'])+'\x20/\x20'+_0x554871[_0x2f77ab(0x1e3)](_0x5d9a91,_0x554871['uJPHs'])+_0x2f77ab(0x257));const _0x24b136=await listFeatures({'gitRepoUrl':_0x13dfb7,'gitBranch':_0x5d9a91}),_0x476805=_0x24b136['items']['filter'](_0x2eb934=>_0x2eb934[_0x2f77ab(0x281)]?_0x2eb934[_0x2f77ab(0x281)]!=='verified':!_0x2eb934[_0x2f77ab(0x270)]);if(_0x554871['WCtjL'](_0x476805[_0x2f77ab(0x1db)],0x0)){console['log']('\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.'),console[_0x2f77ab(0x22c)]('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0xbce35;if(_0x476805['length']===0x1)_0xbce35=_0x476805[0x0];else{const _0x349d19=process['stdin']['isTTY']&&process['stdout'][_0x2f77ab(0x25e)];if(!_0x349d19){console[_0x2f77ab(0x22c)](_0x554871['GRZOj']);for(const _0xa294df of _0x476805){console['log']('\x20\x20'+_0xa294df[_0x2f77ab(0x215)]),console[_0x2f77ab(0x22c)](_0x2f77ab(0x29a)+_0xa294df['id']),_0xa294df[_0x2f77ab(0x218)]&&console[_0x2f77ab(0x22c)]('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0xa294df['stats'])),_0xa294df['gitBranch']&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0xa294df[_0x2f77ab(0x250)]);}throw new Error(_0x554871['uNCnR']);}const {selected:_0x31aeb7}=await _0x4f5e05['prompt']([{'type':'list','name':'selected','message':_0x554871['xNIgC'],'choices':_0x476805[_0x2f77ab(0x207)](_0x596e88=>({'name':_0x596e88[_0x2f77ab(0x215)]+'\x20('+_0x596e88['id']+')','value':_0x596e88['id']}))}]);_0xbce35=_0x476805['find'](_0x3b8e00=>_0x3b8e00['id']===_0x31aeb7);}await setActiveFeatureId(_0xbce35['id']);_0x5d9a91&&_0x5d9a91!==_0xbce35['gitBranch']&&(await _0x554871[_0x2f77ab(0x264)](updateFeature,_0xbce35['id'],{'gitBranch':_0x5d9a91}),console[_0x2f77ab(0x22c)](_0x2f77ab(0x279)+_0x5d9a91));console['log'](_0x2f77ab(0x23a)+_0xbce35[_0x2f77ab(0x215)]+'\x20('+_0xbce35['id']+')'),await tryStartCurrentSession(_0xbce35['id']);const _0x32ca94=await _0x554871['DziqK'](getFeature,_0xbce35['id']),_0x5205d7=process[_0x2f77ab(0x24b)][_0x2f77ab(0x206)];_0x5205d7&&registerSession(_0x5205d7,_0x32ca94['id']),displayFeature(_0x32ca94,_0x32ca94[_0x2f77ab(0x251)]),await _0x554871[_0x2f77ab(0x283)](printFeedbackNudge,_0x32ca94['id']);}async function printFeedbackNudge(_0x39fd00){const _0x462252=_0x19025f,_0x35f880={'afBGE':function(_0x3e4563,_0x20179d){return _0x3e4563(_0x20179d);}};try{const {items:_0x51f346}=await _0x35f880['afBGE'](getActionItems,_0x39fd00);let _0x5a1daa=0x0,_0xbf0c5f=0x0;for(const _0x3a3846 of _0x51f346){const _0x20e0d0=await getItemFeedback(_0x39fd00,_0x3a3846['id']);_0x20e0d0['unaddressedComments']['length']>0x0&&(_0x5a1daa+=_0x20e0d0['unaddressedComments'][_0x462252(0x1db)],_0xbf0c5f++);}_0x5a1daa>0x0&&(console['log'](_0x462252(0x24c)+_0x5a1daa+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0xbf0c5f+_0x462252(0x1cf)),console[_0x462252(0x22c)]('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}async function tryStartCurrentSession(_0x501a8e){const _0x303a1c=_0x19025f,_0x48f30f={'UWJwe':function(_0x783ca1,_0x4f98bd,_0x6ff199){return _0x783ca1(_0x4f98bd,_0x6ff199);}};try{const {sessions:_0x5c7d3f}=await listFeatureSessions(_0x501a8e),_0x3e366e=_0x5c7d3f['find'](_0x4c915d=>_0x4c915d['status']==='ready');_0x3e366e&&(await _0x48f30f[_0x303a1c(0x249)](startSession,_0x501a8e,_0x3e366e['id']),console[_0x303a1c(0x22c)](_0x303a1c(0x22f)+_0x3e366e[_0x303a1c(0x262)]));}catch{}}export async function featureReport(_0x35f01d,_0x2da9cd){const _0x4fb4e3=_0x19025f,_0x2c58c7={'eTHix':_0x4fb4e3(0x277),'tEuYB':function(_0x2db7aa,_0x48cae7,_0x21729c){return _0x2db7aa(_0x48cae7,_0x21729c);},'EXjAl':function(_0x513c43,_0x2c74bc){return _0x513c43(_0x2c74bc);}},_0xd7d272=_0x35f01d||await getActiveFeatureId();if(!_0xd7d272)throw new Error(_0x2c58c7['eTHix']);console[_0x4fb4e3(0x22c)](_0x4fb4e3(0x1fb));const _0x56f039=await _0x2c58c7['tEuYB'](getFeatureReportMarkdown,_0xd7d272,{'style':_0x2da9cd['style']}),_0x8fbeaf=_0x2da9cd['output']||join(getRangerDir(),'reports',_0xd7d272+_0x4fb4e3(0x239)),_0x5ad6a5=join(_0x8fbeaf,'..');!_0x2c58c7['EXjAl'](existsSync,_0x5ad6a5)&&await mkdir(_0x5ad6a5,{'recursive':!![]}),await writeFile(_0x8fbeaf,_0x56f039,_0x4fb4e3(0x225)),console[_0x4fb4e3(0x22c)]('\x0a✅\x20Report\x20generated:\x20'+_0x8fbeaf);}function getScenarioResult(_0x151308){const _0x84f40e=_0x19025f,_0xaf0188={'QGuuo':'closed','tErZE':function(_0x21135a,_0x1fc791){return _0x21135a===_0x1fc791;},'qrVpS':_0x84f40e(0x1ca)};if(_0x151308['status']===_0xaf0188['QGuuo'])return _0x151308['terminalReason']??_0x84f40e(0x258);if(_0xaf0188['tErZE'](_0x151308[_0x84f40e(0x281)],_0x84f40e(0x268)))return _0xaf0188[_0x84f40e(0x1cc)];return _0x151308[_0x84f40e(0x281)];}function getScenarioRationale(_0x49fe28,_0x1041ae){const _0xaab9d9=_0x19025f;if(_0x1041ae)return _0x1041ae;if(_0x49fe28['blockedReason'])return _0x49fe28['blockedReason'];if(_0x49fe28['incompleteReason'])return _0x49fe28[_0xaab9d9(0x209)];if(_0x49fe28['canceledReason'])return _0x49fe28['canceledReason'];if(_0x49fe28['notes'])return _0x49fe28[_0xaab9d9(0x246)];return null;}export async function featureReportPrDescription(_0x69b940,_0x397d9a){const _0x1d1220=_0x19025f,_0x1f8ac2={'FlrJr':function(_0x70bb12){return _0x70bb12();},'hHqXi':_0x1d1220(0x277),'aoIVY':function(_0x563cfd,_0x4b46c4){return _0x563cfd(_0x4b46c4);},'DVINq':function(_0x15713e,_0x363e9d,_0x38a887){return _0x15713e(_0x363e9d,_0x38a887);},'IeRrj':function(_0x53dd08,_0x9b85c1){return _0x53dd08===_0x9b85c1;},'OENfY':function(_0x2b489f,_0x200a14){return _0x2b489f>_0x200a14;},'JtHnk':function(_0x251516,_0x4d38f9){return _0x251516<_0x4d38f9;},'oPbXv':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.','itwhs':function(_0x83416e,_0x586e96,_0xe5ae60,_0x4d9109){return _0x83416e(_0x586e96,_0xe5ae60,_0x4d9109);}},_0x278447=_0x69b940||await _0x1f8ac2[_0x1d1220(0x280)](getActiveFeatureId);if(!_0x278447)throw new Error(_0x1f8ac2[_0x1d1220(0x1fe)]);const _0x11635a=await _0x1f8ac2['aoIVY'](getFeature,_0x278447),_0x4d5bcb=_0x11635a['checklistItems']||[],_0x184ddc=_0x1f8ac2[_0x1d1220(0x293)](getCurrentSessionItems,_0x11635a,_0x4d5bcb);_0x1f8ac2['IeRrj'](_0x184ddc['length'],0x0)&&(console[_0x1d1220(0x238)](_0x1d1220(0x1d2)),process['exit'](0x1));const _0x31cc03=_0x397d9a['excludeScenarios']??[],_0x1ffc67=_0x31cc03['filter'](_0x5e276c=>!Number[_0x1d1220(0x244)](_0x5e276c)||_0x5e276c<0x1||_0x5e276c>_0x184ddc['length']);if(_0x1f8ac2['OENfY'](_0x1ffc67['length'],0x0)){console[_0x1d1220(0x238)]('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x1ffc67['join'](',\x20')),console[_0x1d1220(0x22c)]('\x0aAvailable\x20scenarios:');for(let _0x47a3f0=0x0;_0x1f8ac2['JtHnk'](_0x47a3f0,_0x184ddc['length']);_0x47a3f0++){console[_0x1d1220(0x22c)]('\x20\x20'+(_0x47a3f0+0x1)+'.\x20'+_0x184ddc[_0x47a3f0]['description']);}process['exit'](0x1);}const _0x4d7780=new Set(_0x31cc03[_0x1d1220(0x207)](_0xdc648a=>_0xdc648a-0x1)),_0x342d21=_0x184ddc['filter']((_0x426397,_0x3e34a2)=>!_0x4d7780[_0x1d1220(0x1e5)](_0x3e34a2));_0x342d21['length']===0x0&&(console[_0x1d1220(0x238)](_0x1f8ac2[_0x1d1220(0x22a)]),process[_0x1d1220(0x261)](0x1));if(_0x397d9a[_0x1d1220(0x27a)])await _0x1f8ac2[_0x1d1220(0x1df)](outputJsonReport,_0x278447,_0x11635a,_0x342d21);else{const _0x11f2ae=await _0x1f8ac2[_0x1d1220(0x293)](getFeatureReportMarkdown,_0x278447,{'itemIds':_0x342d21[_0x1d1220(0x207)](_0xf46b1=>_0xf46b1['id'])});process[_0x1d1220(0x272)]['write'](_0x11f2ae[_0x1d1220(0x289)]()+'\x0a');}}async function outputJsonReport(_0x23fd5a,_0x4da194,_0x1cef56){const _0x90ba82=_0x19025f,_0x9e8fea={'MzvsC':function(_0x178acc,_0x428a19){return _0x178acc(_0x428a19);},'LacCM':function(_0x256743,_0x427a89){return _0x256743===_0x427a89;},'NfRAW':function(_0xf5002d,_0x33bdc5){return _0xf5002d+_0x33bdc5;}},_0x546ea2=getApiBaseUrl(),_0x22e02c=await _0x9e8fea[_0x90ba82(0x222)](getFeatureReport,_0x23fd5a),_0x404f72=new Map(_0x22e02c[_0x90ba82(0x251)]['map'](_0x48e07b=>[_0x48e07b['id'],_0x48e07b])),_0x35d2a4=await Promise['all'](_0x1cef56[_0x90ba82(0x207)](async _0x3cba6b=>{const _0x353b38=_0x90ba82,_0x48bf13=_0x404f72['get'](_0x3cba6b['id']),_0x321328=_0x48bf13?.['linkedSession']??null;let _0x42aaa3=[];if(_0x3cba6b[_0x353b38(0x21d)])try{const {steps:_0x341f92}=await _0x9e8fea[_0x353b38(0x222)](getBrowserSessionSteps,_0x3cba6b['browserSessionId']);_0x341f92['length']>0x0&&(_0x42aaa3=_0x341f92['map'](_0x32899c=>{const _0x1e6955=_0x353b38,_0x581645=_0x32899c[_0x1e6955(0x242)]['find'](_0x203f1f=>_0x203f1f['assetType']===_0x1e6955(0x269)&&_0x203f1f[_0x1e6955(0x22d)]==='after')??_0x32899c[_0x1e6955(0x242)]['find'](_0x2d969f=>_0x2d969f[_0x1e6955(0x241)]===_0x1e6955(0x269));let _0x1d4b48=null,_0x2edab2=null;if(_0x581645){const _0x1abe88=_0x581645['storage']['location']['split']('/')[_0x1e6955(0x292)]();_0x1d4b48=_0x546ea2+'/api/v1/mcp/browser-sessions/'+_0x3cba6b[_0x1e6955(0x21d)]+_0x1e6955(0x233)+_0x1abe88,_0x1abe88&&(_0x2edab2=_0x1abe88['replace'](/\.\w+$/,'')[_0x1e6955(0x24f)](/^(key_)?\d+_/,'')[_0x1e6955(0x24f)](/[-_]/g,'\x20'));}return{'description':_0x2edab2||_0x32899c[_0x1e6955(0x291)]||_0x32899c['stepName']||'Step\x20'+_0x32899c[_0x1e6955(0x208)],'screenshot':_0x1d4b48,'is_key_step':_0x32899c['isKeyStep']};}));}catch{}return _0x9e8fea[_0x353b38(0x1d6)](_0x42aaa3[_0x353b38(0x1db)],0x0)&&_0x321328?.['screenshotUrls']&&(_0x42aaa3=_0x321328[_0x353b38(0x23c)][_0x353b38(0x207)]((_0x1326ac,_0x46dc0d)=>({'description':_0x353b38(0x286)+(_0x46dc0d+0x1),'screenshot':_0x1326ac,'is_key_step':![]}))),{'description':_0x3cba6b[_0x353b38(0x291)],'result':getScenarioResult(_0x3cba6b),'rationale':getScenarioRationale(_0x3cba6b,_0x321328?.['agentResponse']),'steps':_0x42aaa3};})),_0x470471={'url':_0x4da194['dashboardUrl'],'scenarios':_0x35d2a4};process['stdout']['write'](_0x9e8fea[_0x90ba82(0x1da)](JSON['stringify'](_0x470471,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x5574fc){const _0x331482=_0x19025f,_0x1f6c36={'OEFNs':function(_0x139f25){return _0x139f25();},'yJVJC':_0x331482(0x247),'juPKE':function(_0x1ded61,_0x26bfcf){return _0x1ded61(_0x26bfcf);},'uYktC':function(_0x27847e,_0x59d6e5){return _0x27847e===_0x59d6e5;},'gcHQZ':'in_progress','nUfub':_0x331482(0x20e),'kohlF':function(_0x186b0b,_0x47b57e,_0x46ff07){return _0x186b0b(_0x47b57e,_0x46ff07);}},_0x546549=_0x5574fc||await _0x1f6c36[_0x331482(0x1e0)](getActiveFeatureId);if(!_0x546549)throw new Error(_0x1f6c36['yJVJC']);const _0x1cc7f9=await _0x1f6c36['juPKE'](getFeature,_0x546549);if(!_0x1cc7f9['currentSessionId'])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x5896a5}=await _0x1f6c36['juPKE'](listFeatureSessions,_0x546549),_0x4b8714=_0x5896a5[_0x331482(0x284)](_0x16e397=>_0x16e397['id']===_0x1cc7f9['currentSessionId']);if(!_0x4b8714)throw new Error('Current\x20session\x20not\x20found.');if(_0x1f6c36['uYktC'](_0x4b8714['status'],'completed')){console[_0x331482(0x22c)]('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x4b8714[_0x331482(0x281)]!==_0x1f6c36['gcHQZ'])throw new Error('Cannot\x20conclude\x20session\x20with\x20status:\x20'+_0x4b8714['status']);console[_0x331482(0x22c)](_0x1f6c36['nUfub']),await _0x1f6c36[_0x331482(0x1f7)](concludeSession,_0x546549,_0x1cc7f9[_0x331482(0x21a)]),console['log']('\x0a✅\x20Session\x20'+_0x4b8714['iteration']+_0x331482(0x1c9)),console[_0x331482(0x22c)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x1e5c02){const _0x35dee4=_0x19025f,_0x8a9bea={'uTBBQ':function(_0x5e03ff,_0x56854c){return _0x5e03ff(_0x56854c);},'fiJSI':function(_0x2c18d1,_0x95ec85){return _0x2c18d1===_0x95ec85;},'lVnFE':_0x35dee4(0x230),'VNtnH':function(_0x2d59c2,_0x287c73){return _0x2d59c2===_0x287c73;}},_0x461a50=_0x1e5c02||await getActiveFeatureId();if(!_0x461a50)throw new Error(_0x35dee4(0x277));const _0x12088d=await _0x8a9bea['uTBBQ'](getFeature,_0x461a50);console[_0x35dee4(0x22c)]('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x12088d[_0x35dee4(0x215)]+'\x0a');const {sessions:_0x688aea}=await listFeatureSessions(_0x461a50);if(_0x688aea['length']===0x0){console[_0x35dee4(0x22c)](_0x35dee4(0x1f9));return;}for(const _0x507064 of _0x688aea){const _0x44a7c5=_0x8a9bea[_0x35dee4(0x1dc)](_0x507064['status'],_0x8a9bea['lVnFE'])?'✅':_0x8a9bea[_0x35dee4(0x1c6)](_0x507064[_0x35dee4(0x281)],_0x35dee4(0x1ca))?'🔄':'▶️';console['log'](_0x44a7c5+_0x35dee4(0x24d)+_0x507064['iteration']+'\x20('+_0x507064['id']+')'),console[_0x35dee4(0x22c)]('\x20\x20\x20Status:\x20'+_0x507064[_0x35dee4(0x281)]),console[_0x35dee4(0x22c)]('\x20\x20\x20Created:\x20'+new Date(_0x507064['createdAt'])['toLocaleString']()),_0x507064['completedAt']&&console[_0x35dee4(0x22c)](_0x35dee4(0x216)+new Date(_0x507064['completedAt'])[_0x35dee4(0x20a)]()),console['log']('');}}export async function featureAddScenario(_0x24041c,_0x456178){const _0x2b2d77=_0x19025f,_0x586941={'jwJyj':function(_0x1b90e6){return _0x1b90e6();},'ZaatN':function(_0x7c7b6f,_0x37013f){return _0x7c7b6f(_0x37013f);}},_0x380fe5=_0x456178||await _0x586941[_0x2b2d77(0x288)](getActiveFeatureId);if(!_0x380fe5)throw new Error(_0x2b2d77(0x247));const _0x2fab09=await _0x586941[_0x2b2d77(0x276)](getFeature,_0x380fe5);if(_0x2fab09['latestReview']&&!_0x2fab09[_0x2b2d77(0x282)]['submittedAt'])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x2fab09[_0x2b2d77(0x234)]);await createChecklistItem(_0x380fe5,_0x24041c);const _0x200f04=await getFeature(_0x380fe5);console['log'](_0x2b2d77(0x294)),displayFeature(_0x200f04,_0x200f04['checklistItems']);}export async function featureEditScenario(_0x7162f5,_0x3ac9c2){const _0x2630e9=_0x19025f,_0x104e00={'czTrV':function(_0x483f9e){return _0x483f9e();},'roRMu':_0x2630e9(0x274),'KtOnj':function(_0x170f33,_0x53c56e){return _0x170f33(_0x53c56e);},'cqRca':_0x2630e9(0x297),'fCppw':function(_0x2dc701,_0x36dc3e){return _0x2dc701===_0x36dc3e;},'koGMb':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','Vbame':'\x0aAvailable\x20scenarios:','syivI':function(_0x3e6232,_0x5168c4){return _0x3e6232<_0x5168c4;},'uuVsg':function(_0x5602ed,_0x2c52ca){return _0x5602ed>=_0x2c52ca;},'LCqqm':function(_0x104c9f,_0x480d63){return _0x104c9f<_0x480d63;}},_0x1401ec=_0x3ac9c2['id']||await _0x104e00['czTrV'](getActiveFeatureId);!_0x1401ec&&(console[_0x2630e9(0x238)](_0x104e00[_0x2630e9(0x236)]),console[_0x2630e9(0x238)]('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process['exit'](0x1));const _0x7f3045=await _0x104e00[_0x2630e9(0x265)](getFeature,_0x1401ec);_0x7f3045['latestReview']&&!_0x7f3045['latestReview']['submittedAt']&&(console[_0x2630e9(0x238)](_0x104e00[_0x2630e9(0x20f)]),console['error'](_0x2630e9(0x23b)),console['error']('\x20\x20'+_0x7f3045['dashboardUrl']),process[_0x2630e9(0x261)](0x1));const _0x441ca5=_0x7f3045[_0x2630e9(0x251)]||[];_0x441ca5['length']===0x0&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process['exit'](0x1));if(_0x104e00['fCppw'](_0x3ac9c2['scenario'],undefined)){console['error'](_0x104e00['koGMb']),console['log'](_0x104e00['Vbame']);for(let _0x5355fb=0x0;_0x104e00[_0x2630e9(0x25c)](_0x5355fb,_0x441ca5[_0x2630e9(0x1db)]);_0x5355fb++){console['log']('\x20\x20'+(_0x5355fb+0x1)+'.\x20'+_0x441ca5[_0x5355fb]['description']);}process['exit'](0x1);}const _0x3fdf1e=_0x3ac9c2['scenario']-0x1;if(_0x3fdf1e<0x0||_0x104e00[_0x2630e9(0x21b)](_0x3fdf1e,_0x441ca5[_0x2630e9(0x1db)])){console[_0x2630e9(0x238)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x3ac9c2[_0x2630e9(0x287)]+_0x2630e9(0x201)+_0x441ca5[_0x2630e9(0x1db)]+'\x20scenarios.'),console['log'](_0x104e00['Vbame']);for(let _0x1b5706=0x0;_0x104e00[_0x2630e9(0x267)](_0x1b5706,_0x441ca5['length']);_0x1b5706++){console['log']('\x20\x20'+(_0x1b5706+0x1)+'.\x20'+_0x441ca5[_0x1b5706]['description']);}process['exit'](0x1);}const _0x14060f=_0x441ca5[_0x3fdf1e];await updateChecklistItem(_0x1401ec,_0x14060f['id'],{'description':_0x7162f5});const _0x283115=await getFeature(_0x1401ec);console['log'](_0x2630e9(0x1d4)),displayFeature(_0x283115,_0x283115['checklistItems']);}async function downloadFeedbackImage(_0x4460ce,_0x2d5d19){const _0x59fb29=_0x19025f,_0x2b008f={'YUlrl':function(_0x26c766){return _0x26c766();},'ExFhA':_0x59fb29(0x1f1),'mVqOI':function(_0x52fd01,_0x4070c9,_0x4a1c25){return _0x52fd01(_0x4070c9,_0x4a1c25);},'VRwSw':function(_0x45e949,_0x4f982d,_0x487f83){return _0x45e949(_0x4f982d,_0x487f83);}};try{const _0x4981d2=join(_0x2b008f[_0x59fb29(0x237)](getRangerDir),_0x2b008f[_0x59fb29(0x214)]);await mkdir(_0x4981d2,{'recursive':!![]});const _0x19b447=_0x2b008f['mVqOI'](join,_0x4981d2,_0x59fb29(0x202)+_0x2d5d19+_0x59fb29(0x278)),_0xf81cff=await fetch(_0x4460ce);if(!_0xf81cff['ok'])return null;const _0x3686bb=Buffer[_0x59fb29(0x1ff)](await _0xf81cff[_0x59fb29(0x1f6)]());return await _0x2b008f['VRwSw'](writeFile,_0x19b447,_0x3686bb),_0x19b447;}catch{return null;}}export async function featureGetReview(_0x28318e){const _0xb8336d=_0x19025f,_0x1775f2={'WbPYN':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','wydOM':function(_0x52d343,_0x3a9370){return _0x52d343(_0x3a9370);},'VCdWZ':'No\x20scenarios\x20found.','tAgFy':function(_0x4c9581,_0x2130ec){return _0x4c9581>_0x2130ec;},'QsUBV':function(_0x3a8dbf,_0x7438c0,_0x33817a){return _0x3a8dbf(_0x7438c0,_0x33817a);},'aWFJN':_0xb8336d(0x259),'CyhwK':function(_0x547a0f,_0x17ebc5,_0x457db7){return _0x547a0f(_0x17ebc5,_0x457db7);},'Fciio':'point','bLLLi':function(_0x447eb2,_0x2e24ca){return _0x447eb2>=_0x2e24ca;}},_0x446ed8=_0x28318e||await getActiveFeatureId();if(!_0x446ed8)throw new Error(_0x1775f2['WbPYN']);const _0x57758e=await getFeature(_0x446ed8),{items:_0x1ceb5d}=await _0x1775f2[_0xb8336d(0x26b)](getActionItems,_0x446ed8);console['log'](_0xb8336d(0x266)+_0x57758e[_0xb8336d(0x215)]+'\x20('+_0x57758e['id']+')\x0a');if(_0x1ceb5d[_0xb8336d(0x1db)]===0x0){console[_0xb8336d(0x22c)](_0x1775f2[_0xb8336d(0x1c8)]);return;}for(let _0x8e5f64=0x0;_0x8e5f64<_0x1ceb5d[_0xb8336d(0x1db)];_0x8e5f64++){const _0x46a5b4=_0x1ceb5d[_0x8e5f64],_0x2a935b=_0x1775f2[_0xb8336d(0x27e)](_0x46a5b4[_0xb8336d(0x25f)],0x1)?_0xb8336d(0x1ed)+_0x46a5b4[_0xb8336d(0x25f)]+')':'',_0x210057=await _0x1775f2[_0xb8336d(0x23e)](getItemFeedback,_0x446ed8,_0x46a5b4['id']);if(_0x210057[_0xb8336d(0x1f2)]['length']>0x0){console[_0xb8336d(0x22c)]('Scenario\x20'+(_0x8e5f64+0x1)+':\x20\x22'+_0x46a5b4['description']+'\x22'+_0x2a935b+'\x20—\x20'+_0x210057['unaddressedComments'][_0xb8336d(0x1db)]+'\x20unaddressed\x20comment(s)');for(const _0x3c8b21 of _0x210057[_0xb8336d(0x1f2)]){const _0x4376e2=new Date(_0x3c8b21['createdAt'])[_0xb8336d(0x200)](_0xb8336d(0x25b),{'month':_0xb8336d(0x26c),'day':_0x1775f2['aWFJN']}),_0x2cd1a7=_0x3c8b21['authorName']||_0x3c8b21[_0xb8336d(0x28c)]||_0xb8336d(0x1fd);console[_0xb8336d(0x22c)](_0xb8336d(0x25d)+_0x2cd1a7+'\x20('+_0x4376e2+_0xb8336d(0x20d)+_0x3c8b21[_0xb8336d(0x26d)]+'\x22');if(_0x3c8b21[_0xb8336d(0x256)]){const _0x313f50=await _0x1775f2[_0xb8336d(0x1dd)](downloadFeedbackImage,_0x3c8b21[_0xb8336d(0x256)],_0x3c8b21['id']);_0x313f50&&console['log'](_0xb8336d(0x1f8)+_0x313f50);}if(_0x3c8b21[_0xb8336d(0x1d1)]){const _0x303e51=_0x3c8b21[_0xb8336d(0x1d1)]['selector'][_0xb8336d(0x1d7)](_0xb8336d(0x25a))[_0xb8336d(0x292)]()?.['split'](':')[0x0]||'element',_0x5a9542=_0x3c8b21[_0xb8336d(0x1d1)]['textContent']?'\x20\x22'+_0x3c8b21[_0xb8336d(0x1d1)]['textContent'][_0xb8336d(0x255)](0x0,0x3c)+'\x22':'';console['log']('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x303e51+'>'+_0x5a9542),console[_0xb8336d(0x22c)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x3c8b21[_0xb8336d(0x1d1)]['selector']);}else{if(_0x3c8b21['spatial']){const _0x27369d=_0x3c8b21[_0xb8336d(0x1f0)]['coordinates'];_0x3c8b21['spatial'][_0xb8336d(0x210)]===_0x1775f2['Fciio']&&_0x1775f2['bLLLi'](_0x27369d[_0xb8336d(0x1db)],0x2)?console[_0xb8336d(0x22c)](_0xb8336d(0x229)+_0x27369d[0x0][_0xb8336d(0x26e)](0x2)+',\x20'+_0x27369d[0x1]['toFixed'](0x2)+')'):console[_0xb8336d(0x22c)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x3c8b21['spatial']['type']+_0xb8336d(0x21e)+_0x27369d[_0xb8336d(0x207)](_0x4b2efd=>_0x4b2efd[_0xb8336d(0x26e)](0x2))['join'](',\x20')+']');}}}if(_0x210057['canonicalFlow']){console['log'](_0xb8336d(0x228));for(const _0x17a3fe of _0x210057['canonicalFlow'][_0xb8336d(0x1d7)]('\x0a')){console['log']('\x20\x20\x20\x20'+_0x17a3fe);}}}else console['log']('Scenario\x20'+(_0x8e5f64+0x1)+_0xb8336d(0x260)+_0x46a5b4[_0xb8336d(0x291)]+'\x22'+_0x2a935b+_0xb8336d(0x1f3)),console[_0xb8336d(0x22c)](_0xb8336d(0x252));console['log']('');}}export async function featureDelete(_0xacbe95){const _0x4177fd=_0x19025f,_0x2e3183={'hmHVc':function(_0x381bc4){return _0x381bc4();},'setNa':_0x4177fd(0x247),'dFQCE':function(_0x225d8a,_0x5c4779){return _0x225d8a(_0x5c4779);},'YDuJe':function(_0x2157f9,_0x454ce3){return _0x2157f9(_0x454ce3);},'AMgoF':_0x4177fd(0x1d3)},_0x57f1cc=_0xacbe95||await _0x2e3183['hmHVc'](getActiveFeatureId);if(!_0x57f1cc)throw new Error(_0x2e3183['setNa']);const _0xc6df89=await _0x2e3183['dFQCE'](getFeature,_0x57f1cc);await _0x2e3183[_0x4177fd(0x240)](softDeleteFeature,_0x57f1cc),console['log']('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0xc6df89[_0x4177fd(0x215)]+'\x20('+_0x57f1cc+')'),console['log'](_0x2e3183[_0x4177fd(0x204)]+_0x57f1cc);}export async function featureRestore(_0x308552){const _0x4e3d5c=_0x19025f;await restoreFeature(_0x308552);const _0x4423dd=await getFeature(_0x308552);console['log'](_0x4e3d5c(0x212)+_0x4423dd['name']+'\x20('+_0x308552+')'),displayFeature(_0x4423dd,_0x4423dd['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x43d5f5,_0x14924e){const _0x22e7ba=_0x3f4a,_0x35bfd6=_0x43d5f5();while(!![]){try{const _0x2c360a=parseInt(_0x22e7ba(0xcf))/0x1*(-parseInt(_0x22e7ba(0xd5))/0x2)+parseInt(_0x22e7ba(0xd3))/0x3*(-parseInt(_0x22e7ba(0xd8))/0x4)+parseInt(_0x22e7ba(0xd7))/0x5*(parseInt(_0x22e7ba(0xcb))/0x6)+parseInt(_0x22e7ba(0xd6))/0x7+parseInt(_0x22e7ba(0xd2))/0x8*(parseInt(_0x22e7ba(0xd1))/0x9)+-parseInt(_0x22e7ba(0xcc))/0xa+-parseInt(_0x22e7ba(0xc7))/0xb;if(_0x2c360a===_0x14924e)break;else _0x35bfd6['push'](_0x35bfd6['shift']());}catch(_0x4f44d9){_0x35bfd6['push'](_0x35bfd6['shift']());}}}(_0x8112,0xacecd));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x8112(){const _0x3e3444=['800aMMIQF','417732ReRObT','1606022gGkkyJ','Unknown\x20hook:\x20','nNoyf','exit','20448AKjWWn','1840000oeNmTb','hNcki','aBAIk','134471jyvxkd','join','7405389toWVRY','8UTOSLn','3yUyVvP','once','8UjHVsB','2187633jiREBS'];_0x8112=function(){return _0x3e3444;};return _0x8112();}const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x3f7183=_0x3f4a,_0x56050c={'nNoyf':'SIGINT','aBAIk':'SIGTERM','MDWSR':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x5d95de=()=>{process['exit'](0x0);};process['once'](_0x56050c[_0x3f7183(0xc9)],_0x5d95de),process[_0x3f7183(0xd4)](_0x56050c[_0x3f7183(0xce)],_0x5d95de),process['once'](_0x56050c['MDWSR'],_0x5d95de),cancellationHandlersInstalled=!![];}function _0x3f4a(_0x486aa9,_0x91bc34){_0x486aa9=_0x486aa9-0xc7;const _0x811276=_0x8112();let _0x3f4a84=_0x811276[_0x486aa9];return _0x3f4a84;}export async function hook(_0x1a7f93,_0x18a8ad){const _0x28705a=_0x3f4a,_0x4c0c21={'hNcki':function(_0x1db3d0,_0x30fb6d){return _0x1db3d0(_0x30fb6d);}};installCancellationHandlers();const _0x230640=HOOKS[_0x1a7f93];if(!_0x230640){const _0x27bd88=Object['keys'](HOOKS)[_0x28705a(0xd0)](',\x20');console['error'](_0x28705a(0xc8)+_0x1a7f93),console['error']('Valid\x20hooks:\x20'+_0x27bd88),process[_0x28705a(0xca)](0x1);}await _0x4c0c21[_0x28705a(0xcd)](_0x230640,_0x18a8ad);}
1
+ (function(_0x58eed0,_0x29d1c6){const _0x7cba9b=_0x5cbe,_0x394521=_0x58eed0();while(!![]){try{const _0x503731=parseInt(_0x7cba9b(0x87))/0x1+parseInt(_0x7cba9b(0x92))/0x2+-parseInt(_0x7cba9b(0x8f))/0x3+-parseInt(_0x7cba9b(0x89))/0x4+-parseInt(_0x7cba9b(0x8e))/0x5*(parseInt(_0x7cba9b(0x8c))/0x6)+-parseInt(_0x7cba9b(0x93))/0x7*(-parseInt(_0x7cba9b(0x8b))/0x8)+-parseInt(_0x7cba9b(0x8a))/0x9;if(_0x503731===_0x29d1c6)break;else _0x394521['push'](_0x394521['shift']());}catch(_0x482120){_0x394521['push'](_0x394521['shift']());}}}(_0x10cf,0x9d57a));function _0x5cbe(_0x14cc55,_0x4138f9){_0x14cc55=_0x14cc55-0x85;const _0x10cfe9=_0x10cf();let _0x5cbe16=_0x10cfe9[_0x14cc55];return _0x5cbe16;}import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x33d2f3=_0x5cbe,_0x201c89={'IuKXL':'SIGINT','URCjn':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x3f2dd2=()=>{const _0x32de89=_0x5cbe;process[_0x32de89(0x88)](0x0);};process[_0x33d2f3(0x91)](_0x201c89['IuKXL'],_0x3f2dd2),process[_0x33d2f3(0x91)](_0x33d2f3(0x85),_0x3f2dd2),process['once'](_0x201c89['URCjn'],_0x3f2dd2),cancellationHandlersInstalled=!![];}function _0x10cf(){const _0x5c9172=['Unknown\x20hook:\x20','688786loNYxZ','exit','1814584NCPMxr','5264703suNhCh','8849528QwUOuY','67614YXAPjP','XgmZn','20NVWsdO','1120440OGZOll','error','once','613332ETDGsu','7hFxhCV','SIGTERM'];_0x10cf=function(){return _0x5c9172;};return _0x10cf();}export async function hook(_0x651d,_0x1db365){const _0x3f0712=_0x5cbe,_0xf4428a={'jHSun':function(_0x3f0c63){return _0x3f0c63();},'XgmZn':function(_0x97be10,_0x5227eb){return _0x97be10(_0x5227eb);}};_0xf4428a['jHSun'](installCancellationHandlers);const _0x47b13d=HOOKS[_0x651d];if(!_0x47b13d){const _0x2eda6c=Object['keys'](HOOKS)['join'](',\x20');console[_0x3f0712(0x90)](_0x3f0712(0x86)+_0x651d),console[_0x3f0712(0x90)]('Valid\x20hooks:\x20'+_0x2eda6c),process[_0x3f0712(0x88)](0x1);}await _0xf4428a[_0x3f0712(0x8d)](_0x47b13d,_0x1db365);}
@@ -1 +1 @@
1
- (function(_0x342e34,_0x29d2eb){const _0x2d5ac2=_0x4faa,_0x227987=_0x342e34();while(!![]){try{const _0x2d5922=parseInt(_0x2d5ac2(0x143))/0x1*(parseInt(_0x2d5ac2(0x13c))/0x2)+parseInt(_0x2d5ac2(0x145))/0x3*(parseInt(_0x2d5ac2(0x13b))/0x4)+-parseInt(_0x2d5ac2(0x138))/0x5*(parseInt(_0x2d5ac2(0x142))/0x6)+-parseInt(_0x2d5ac2(0x144))/0x7*(-parseInt(_0x2d5ac2(0x139))/0x8)+-parseInt(_0x2d5ac2(0x140))/0x9*(-parseInt(_0x2d5ac2(0x13d))/0xa)+parseInt(_0x2d5ac2(0x141))/0xb+-parseInt(_0x2d5ac2(0x13e))/0xc;if(_0x2d5922===_0x29d2eb)break;else _0x227987['push'](_0x227987['shift']());}catch(_0x24c2ae){_0x227987['push'](_0x227987['shift']());}}}(_0x4737,0xe9573));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 _0x30dc74=_0x4faa,_0x357d94={'zbZUy':function(_0x50f367,_0x11cfaf){return _0x50f367(_0x11cfaf);}};if(resolveHookMode()==='off')return;const _0x38bdcf=await readHookInput(),_0x31edaf=_0x38bdcf?.['session_id'];if(!_0x31edaf)return;if(isSessionEnabled(_0x31edaf)||_0x357d94[_0x30dc74(0x13a)](hasSessionBeenPrompted,_0x31edaf))return;markSessionPrompted(_0x31edaf),console[_0x30dc74(0x13f)](AUTO_PROMPT_TEXT);}function _0x4faa(_0x30752e,_0x53b6d6){_0x30752e=_0x30752e-0x138;const _0x47376b=_0x4737();let _0x4faa00=_0x47376b[_0x30752e];return _0x4faa00;}function _0x4737(){const _0x3c81bd=['3zsOhIV','1935rIzZkt','2354344fAXNoO','zbZUy','5320388ZBzYPi','2zAkLgF','110IKqSGo','53826588YYLQGc','log','880731jlVdaz','20264596dTdQuq','15030EPsJOZ','1279086hTbRRW','21uqfxtS'];_0x4737=function(){return _0x3c81bd;};return _0x4737();}
1
+ function _0x455d(){const _0x48e624=['9KiPcvC','427477BoGhxH','16RuOvFD','4385330OWEyVs','1944870cLCDhR','1836989aLcEdb','3392112jIPkrs','4001562FUFMpz','12AivEBh','4743519lpeDIc','6aELNwP'];_0x455d=function(){return _0x48e624;};return _0x455d();}(function(_0x257741,_0x1c4c4c){const _0x2c4196=_0x8227,_0x148539=_0x257741();while(!![]){try{const _0x3f1aa8=parseInt(_0x2c4196(0xf1))/0x1*(parseInt(_0x2c4196(0xef))/0x2)+parseInt(_0x2c4196(0xeb))/0x3+-parseInt(_0x2c4196(0xed))/0x4*(parseInt(_0x2c4196(0xe9))/0x5)+-parseInt(_0x2c4196(0xec))/0x6+parseInt(_0x2c4196(0xea))/0x7*(-parseInt(_0x2c4196(0xe7))/0x8)+parseInt(_0x2c4196(0xf0))/0x9*(parseInt(_0x2c4196(0xe8))/0xa)+parseInt(_0x2c4196(0xee))/0xb;if(_0x3f1aa8===_0x1c4c4c)break;else _0x148539['push'](_0x148539['shift']());}catch(_0x3e9220){_0x148539['push'](_0x148539['shift']());}}}(_0x455d,0xe1a22));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';function _0x8227(_0x19be37,_0x1200fb){_0x19be37=_0x19be37-0xe7;const _0x455df6=_0x455d();let _0x822727=_0x455df6[_0x19be37];return _0x822727;}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 _0x332399={'brwcs':function(_0x4e0d5a,_0x18ebbc){return _0x4e0d5a===_0x18ebbc;},'WgxqL':function(_0x25d8dd,_0x185438){return _0x25d8dd(_0x185438);}};if(_0x332399['brwcs'](resolveHookMode(),'off'))return;const _0x4cb875=await readHookInput(),_0x1a5fd5=_0x4cb875?.['session_id'];if(!_0x1a5fd5)return;if(isSessionEnabled(_0x1a5fd5)||_0x332399['WgxqL'](hasSessionBeenPrompted,_0x1a5fd5))return;markSessionPrompted(_0x1a5fd5),console['log'](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- (function(_0x24be32,_0x42bf9a){const _0x4b4766=_0x9074,_0x430f39=_0x24be32();while(!![]){try{const _0x1eeb7f=-parseInt(_0x4b4766(0xa8))/0x1*(parseInt(_0x4b4766(0xa9))/0x2)+-parseInt(_0x4b4766(0xa0))/0x3*(-parseInt(_0x4b4766(0x9d))/0x4)+-parseInt(_0x4b4766(0xa6))/0x5*(-parseInt(_0x4b4766(0x9f))/0x6)+-parseInt(_0x4b4766(0x99))/0x7*(parseInt(_0x4b4766(0x9b))/0x8)+parseInt(_0x4b4766(0xa3))/0x9+-parseInt(_0x4b4766(0xa7))/0xa*(-parseInt(_0x4b4766(0x9e))/0xb)+parseInt(_0x4b4766(0xa1))/0xc*(-parseInt(_0x4b4766(0x98))/0xd);if(_0x1eeb7f===_0x42bf9a)break;else _0x430f39['push'](_0x430f39['shift']());}catch(_0x1edd6b){_0x430f39['push'](_0x430f39['shift']());}}}(_0x4970,0x70add));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x284763){const _0x13ab07=_0x9074,_0x3a3478={'tZrsD':function(_0x48fb2a,_0x2c9ae7){return _0x48fb2a(_0x2c9ae7);},'QFZgJ':_0x13ab07(0x9a)},_0x15d900=_0x284763||process[_0x13ab07(0xa5)]['CLAUDE_SESSION_ID']||'';_0x15d900&&_0x3a3478[_0x13ab07(0xa4)](disableSession,_0x15d900);const _0x187feb=getCurrentBranch();_0x187feb&&_0x187feb!=='main'&&_0x187feb!=='master'&&disableBranch(_0x187feb),_0x3a3478[_0x13ab07(0xa4)](printBlock,'#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x187feb&&_0x187feb!==_0x13ab07(0x9c)&&_0x187feb!==_0x3a3478[_0x13ab07(0xa2)]?'\x20and\x20branch\x20\x27'+_0x187feb+'\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 _0x9074(_0x1fafbb,_0x12d1af){_0x1fafbb=_0x1fafbb-0x98;const _0x4970d7=_0x4970();let _0x9074cf=_0x4970d7[_0x1fafbb];return _0x9074cf;}function _0x4970(){const _0x55c9b4=['1111592ENyFKw','9559EVpoRV','6BNxwXO','6jLVcFb','192lsAoJu','QFZgJ','1654839lOqWNT','tZrsD','env','4158735LnZcwn','9420RZNJNG','4GxvzAd','109066fRfIUN','1215097EFKIzT','161APXfxc','master','74728CJRlwx','main'];_0x4970=function(){return _0x55c9b4;};return _0x4970();}
1
+ (function(_0x462d07,_0x41b775){const _0x40c3f4=_0x58ed,_0x5b5d7b=_0x462d07();while(!![]){try{const _0x4fbc09=-parseInt(_0x40c3f4(0x6b))/0x1*(parseInt(_0x40c3f4(0x67))/0x2)+-parseInt(_0x40c3f4(0x73))/0x3+parseInt(_0x40c3f4(0x6a))/0x4*(parseInt(_0x40c3f4(0x74))/0x5)+parseInt(_0x40c3f4(0x6f))/0x6+parseInt(_0x40c3f4(0x76))/0x7+parseInt(_0x40c3f4(0x68))/0x8*(-parseInt(_0x40c3f4(0x6d))/0x9)+-parseInt(_0x40c3f4(0x71))/0xa*(-parseInt(_0x40c3f4(0x78))/0xb);if(_0x4fbc09===_0x41b775)break;else _0x5b5d7b['push'](_0x5b5d7b['shift']());}catch(_0x2521db){_0x5b5d7b['push'](_0x5b5d7b['shift']());}}}(_0x3d73,0xb4fe5));function _0x3d73(){const _0x16474a=['136235VnwNoD','430sfLTQH','79488oBNufG','eIBoV','84296NgImIm','2046ZQMZwv','main','873LiaJfu','\x20and\x20branch\x20\x27','3349602NpIPCL','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','110uCRnYk','master','801705xOGpGJ','115eweVWm','CsMZY','8631434ApOAnA','ZPoSk'];_0x3d73=function(){return _0x16474a;};return _0x3d73();}function _0x58ed(_0x4e3f88,_0x278726){_0x4e3f88=_0x4e3f88-0x67;const _0x3d73f0=_0x3d73();let _0x58edad=_0x3d73f0[_0x4e3f88];return _0x58edad;}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x4bb230){const _0x58e34f=_0x58ed,_0x19f919={'ZPoSk':function(_0x1dd07f){return _0x1dd07f();},'CsMZY':function(_0xfe927d,_0x2a71ec){return _0xfe927d!==_0x2a71ec;},'KfSTD':function(_0x39b858,_0x2b678c){return _0x39b858(_0x2b678c);},'eIBoV':function(_0x2d38bd,_0x4da367){return _0x2d38bd(_0x4da367);},'QwdRw':_0x58e34f(0x6c)},_0x5be3b6=_0x4bb230||process['env']['CLAUDE_SESSION_ID']||'';_0x5be3b6&&disableSession(_0x5be3b6);const _0x165928=_0x19f919[_0x58e34f(0x77)](getCurrentBranch);_0x165928&&_0x165928!=='main'&&_0x19f919[_0x58e34f(0x75)](_0x165928,_0x58e34f(0x72))&&_0x19f919['KfSTD'](disableBranch,_0x165928),_0x19f919[_0x58e34f(0x69)](printBlock,_0x58e34f(0x70)+(_0x165928&&_0x165928!==_0x19f919['QwdRw']&&_0x19f919[_0x58e34f(0x75)](_0x165928,'master')?_0x58e34f(0x6e)+_0x165928+'\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(_0x109b41,_0xbfc8fc){const _0x116816=_0x5674,_0x137c34=_0x109b41();while(!![]){try{const _0x38aa56=-parseInt(_0x116816(0x1c9))/0x1+parseInt(_0x116816(0x1d0))/0x2*(-parseInt(_0x116816(0x1da))/0x3)+-parseInt(_0x116816(0x1cf))/0x4*(-parseInt(_0x116816(0x1d3))/0x5)+parseInt(_0x116816(0x1c8))/0x6+-parseInt(_0x116816(0x1d4))/0x7+parseInt(_0x116816(0x1ce))/0x8+-parseInt(_0x116816(0x1cd))/0x9*(-parseInt(_0x116816(0x1d6))/0xa);if(_0x38aa56===_0xbfc8fc)break;else _0x137c34['push'](_0x137c34['shift']());}catch(_0x2a4030){_0x137c34['push'](_0x137c34['shift']());}}}(_0x2a80,0x3197f));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 _0x5674(_0x4aec53,_0x2a4466){_0x4aec53=_0x4aec53-0x1c6;const _0x2a8007=_0x2a80();let _0x56746f=_0x2a8007[_0x4aec53];return _0x56746f;}function _0x2a80(){const _0x35195c=['1365973GvGBXG','\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`.','70hhpwaW','#\x20RANGER\x20ENABLED','env','\x0a\x0a**Branch\x20\x27','593319LbOvlz','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','CLAUDE_SESSION_ID','1339854uIDRMK','133260gdUApC','MJLwk','main','bZXwp','499509uFLAjK','1490296btDtJm','4RKVTNj','4snpiLB','ranger\x20setup','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','644885gRuXec'];_0x2a80=function(){return _0x35195c;};return _0x2a80();}import{update}from'../update.js';export async function enable(_0x4df0fc){const _0x5bf26f=_0x5674,_0x422051={'bZXwp':function(_0x4c7c56){return _0x4c7c56();},'drlZW':'ranger\x20setup\x20--opencode','OZHhN':_0x5bf26f(0x1d1),'mECTV':_0x5bf26f(0x1d2),'MJLwk':function(_0x34a8cb,_0x2c1547){return _0x34a8cb(_0x2c1547);},'YlDNX':function(_0xee6887){return _0xee6887();}},_0x4db0d6=_0x4df0fc||process[_0x5bf26f(0x1d8)][_0x5bf26f(0x1c7)]||'',_0x2865c5=Boolean(_0x4df0fc),_0x13eb6a=await _0x422051[_0x5bf26f(0x1cc)](getToken);if(!_0x13eb6a){const _0x5e53b3=_0x2865c5?_0x422051['drlZW']:_0x422051['OZHhN'],_0x52be52=_0x2865c5?'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.':_0x422051['mECTV'];printBlock('#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`'+_0x5e53b3+_0x5bf26f(0x1c6)+_0x52be52);return;}try{await update();}catch{}_0x4db0d6&&_0x422051[_0x5bf26f(0x1ca)](enableSession,_0x4db0d6);const _0x30a11c=_0x422051['YlDNX'](getCurrentBranch),_0x132b14=_0x30a11c&&_0x30a11c!==_0x5bf26f(0x1cb)&&_0x30a11c!=='master'?_0x5bf26f(0x1d9)+_0x30a11c+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x549fa4=getRangerSkillContent();_0x422051['MJLwk'](printBlock,_0x5bf26f(0x1d7)+_0x132b14+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x549fa4+_0x5bf26f(0x1d5));}
1
+ (function(_0x1a449f,_0x23b5d8){const _0x364779=_0x4ed7,_0x1f7a94=_0x1a449f();while(!![]){try{const _0x31caef=parseInt(_0x364779(0x8a))/0x1*(parseInt(_0x364779(0x88))/0x2)+-parseInt(_0x364779(0x81))/0x3*(-parseInt(_0x364779(0x85))/0x4)+parseInt(_0x364779(0x89))/0x5+parseInt(_0x364779(0x8e))/0x6+-parseInt(_0x364779(0x95))/0x7*(-parseInt(_0x364779(0x87))/0x8)+-parseInt(_0x364779(0x90))/0x9*(-parseInt(_0x364779(0x86))/0xa)+-parseInt(_0x364779(0x96))/0xb;if(_0x31caef===_0x23b5d8)break;else _0x1f7a94['push'](_0x1f7a94['shift']());}catch(_0x3bbbee){_0x1f7a94['push'](_0x1f7a94['shift']());}}}(_0x5de9,0x8382d));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';function _0x4ed7(_0x24e9f4,_0x38c40f){_0x24e9f4=_0x24e9f4-0x81;const _0x5de98f=_0x5de9();let _0x4ed7c7=_0x5de98f[_0x24e9f4];return _0x4ed7c7;}import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x5de9(){const _0x7a1a0f=['1535276WeIZbp','10vaCiRE','8RBtaxF','1612102fFLVvM','3429015dpuXXb','1NlmQZr','env','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','19164WpCYnN','main','5540049WMVgKu','master','inoLc','CLAUDE_SESSION_ID','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','2798635SNFikT','25911204PcARSz','3BAgpOc','mpPfp','ranger\x20setup','cDkeK'];_0x5de9=function(){return _0x7a1a0f;};return _0x5de9();}export async function enable(_0xd65897){const _0x4fb1f4=_0x4ed7,_0x5615ea={'cDkeK':function(_0x5adf2c,_0x3120ed){return _0x5adf2c(_0x3120ed);},'AYuWe':function(_0x31bcaa){return _0x31bcaa();},'inoLc':'ranger\x20setup\x20--opencode','mpPfp':_0x4fb1f4(0x83),'BTLSS':function(_0x21554e,_0x4d663d){return _0x21554e(_0x4d663d);},'XCyFo':function(_0x334ef6){return _0x334ef6();},'ruOdm':function(_0x574b0e,_0x1a2906){return _0x574b0e!==_0x1a2906;},'vPnca':_0x4fb1f4(0x8f),'mJYeS':function(_0x130128){return _0x130128();}},_0x18a867=_0xd65897||process[_0x4fb1f4(0x8b)][_0x4fb1f4(0x93)]||'',_0x38835a=_0x5615ea[_0x4fb1f4(0x84)](Boolean,_0xd65897),_0xe4bc8f=await _0x5615ea['AYuWe'](getToken);if(!_0xe4bc8f){const _0x2f282a=_0x38835a?_0x5615ea[_0x4fb1f4(0x92)]:_0x5615ea[_0x4fb1f4(0x82)],_0x49b93b=_0x38835a?_0x4fb1f4(0x8d):'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.';_0x5615ea['BTLSS'](printBlock,'#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`'+_0x2f282a+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x49b93b);return;}try{await _0x5615ea['XCyFo'](update);}catch{}_0x18a867&&enableSession(_0x18a867);const _0x448058=getCurrentBranch(),_0x239b05=_0x448058&&_0x5615ea['ruOdm'](_0x448058,_0x5615ea['vPnca'])&&_0x448058!==_0x4fb1f4(0x91)?'\x0a\x0a**Branch\x20\x27'+_0x448058+_0x4fb1f4(0x94):'',_0x3cf7eb=_0x5615ea['mJYeS'](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x239b05+_0x4fb1f4(0x8c)+_0x3cf7eb+'\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(_0x4e7677,_0x353a34){const _0x51c94b=_0x2d10,_0x144918=_0x4e7677();while(!![]){try{const _0x21c83b=-parseInt(_0x51c94b(0x142))/0x1+parseInt(_0x51c94b(0x13f))/0x2*(parseInt(_0x51c94b(0x144))/0x3)+parseInt(_0x51c94b(0x13e))/0x4*(parseInt(_0x51c94b(0x13b))/0x5)+-parseInt(_0x51c94b(0x13c))/0x6+-parseInt(_0x51c94b(0x13d))/0x7*(parseInt(_0x51c94b(0x140))/0x8)+parseInt(_0x51c94b(0x13a))/0x9+parseInt(_0x51c94b(0x141))/0xa;if(_0x21c83b===_0x353a34)break;else _0x144918['push'](_0x144918['shift']());}catch(_0x1e64bf){_0x144918['push'](_0x144918['shift']());}}}(_0x5e68,0x90aa3));import{printBlock,getEnabledSessionId}from'./output.js';function _0x2d10(_0x37902e,_0x524f60){_0x37902e=_0x37902e-0x13a;const _0x5e6846=_0x5e68();let _0x2d1047=_0x5e6846[_0x37902e];return _0x2d1047;}function _0x5e68(){const _0x494caa=['1539MbCbRn','3240801obdkgH','25DGeuVM','2572848AvUPfm','52507TTprHq','748548iNwJzh','2906yXdyEy','568SaEGog','2533150GMlycb','740552xUIfgy','===\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==='];_0x5e68=function(){return _0x494caa;};return _0x5e68();}export async function exitPlanMode(_0x213486){const _0xda291f=_0x2d10,_0x2ad02d=await getEnabledSessionId(_0x213486);if(!_0x2ad02d)return;printBlock(_0xda291f(0x143));}
1
+ function _0x5f49(_0x45147a,_0x502e99){_0x45147a=_0x45147a-0x112;const _0x2726db=_0x2726();let _0x5f490d=_0x2726db[_0x45147a];return _0x5f490d;}(function(_0x37cc52,_0x1d5537){const _0x58ae26=_0x5f49,_0x11a88f=_0x37cc52();while(!![]){try{const _0xc2b03a=-parseInt(_0x58ae26(0x113))/0x1+parseInt(_0x58ae26(0x11c))/0x2+parseInt(_0x58ae26(0x116))/0x3+-parseInt(_0x58ae26(0x119))/0x4*(parseInt(_0x58ae26(0x11a))/0x5)+-parseInt(_0x58ae26(0x118))/0x6*(parseInt(_0x58ae26(0x11d))/0x7)+-parseInt(_0x58ae26(0x112))/0x8+parseInt(_0x58ae26(0x114))/0x9;if(_0xc2b03a===_0x1d5537)break;else _0x11a88f['push'](_0x11a88f['shift']());}catch(_0x316999){_0x11a88f['push'](_0x11a88f['shift']());}}}(_0x2726,0x48e53));function _0x2726(){const _0x138a08=['12IaHNJN','12wlhPrF','417765gacSCH','Rjsdv','812732urNPSW','1092413juygBP','2624784DExtdR','569579SMeHPL','7879419ERcBFk','JovQw','1431528kbhqWR','===\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==='];_0x2726=function(){return _0x138a08;};return _0x2726();}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0xfd73ab){const _0x233857=_0x5f49,_0x40ef3d={'Rjsdv':function(_0x4a8b59,_0x2db5f1){return _0x4a8b59(_0x2db5f1);},'JovQw':function(_0x5ef4e0,_0x439f3e){return _0x5ef4e0(_0x439f3e);}},_0x1d203f=await _0x40ef3d[_0x233857(0x11b)](getEnabledSessionId,_0xfd73ab);if(!_0x1d203f)return;_0x40ef3d[_0x233857(0x115)](printBlock,_0x233857(0x117));}
@@ -1 +1 @@
1
- function _0x28a7(){var _0x379412=['2291904sNlhIl','50IgxWHg','129105PxZauQ','1259980rfNqZi','2250624HKXaSm','1536088ANNOiQ','23420yahCJd','14ELRDtq','27765vxpUpR','54qPhHcw'];_0x28a7=function(){return _0x379412;};return _0x28a7();}(function(_0x40e0ba,_0x5ce287){var _0x49c0ce=_0xd533,_0x5b0937=_0x40e0ba();while(!![]){try{var _0x3012e8=-parseInt(_0x49c0ce(0x184))/0x1*(-parseInt(_0x49c0ce(0x17f))/0x2)+-parseInt(_0x49c0ce(0x187))/0x3+parseInt(_0x49c0ce(0x183))/0x4+-parseInt(_0x49c0ce(0x185))/0x5*(-parseInt(_0x49c0ce(0x182))/0x6)+parseInt(_0x49c0ce(0x180))/0x7*(-parseInt(_0x49c0ce(0x17e))/0x8)+parseInt(_0x49c0ce(0x181))/0x9+parseInt(_0x49c0ce(0x186))/0xa;if(_0x3012e8===_0x5ce287)break;else _0x5b0937['push'](_0x5b0937['shift']());}catch(_0x328d03){_0x5b0937['push'](_0x5b0937['shift']());}}}(_0x28a7,0x5e2b6));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';function _0xd533(_0x830f0a,_0x5aa8fc){_0x830f0a=_0x830f0a-0x17e;var _0x28a78d=_0x28a7();var _0xd53362=_0x28a78d[_0x830f0a];return _0xd53362;}export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x362244,_0x54b9c7){var _0x1bbc87=_0x29b7,_0x53e610=_0x362244();while(!![]){try{var _0x349f3e=parseInt(_0x1bbc87(0x99))/0x1*(parseInt(_0x1bbc87(0x97))/0x2)+parseInt(_0x1bbc87(0x94))/0x3*(parseInt(_0x1bbc87(0x8d))/0x4)+parseInt(_0x1bbc87(0x98))/0x5*(-parseInt(_0x1bbc87(0x95))/0x6)+parseInt(_0x1bbc87(0x8e))/0x7*(-parseInt(_0x1bbc87(0x90))/0x8)+parseInt(_0x1bbc87(0x91))/0x9*(-parseInt(_0x1bbc87(0x8f))/0xa)+-parseInt(_0x1bbc87(0x92))/0xb*(parseInt(_0x1bbc87(0x93))/0xc)+-parseInt(_0x1bbc87(0x96))/0xd*(-parseInt(_0x1bbc87(0x9a))/0xe);if(_0x349f3e===_0x54b9c7)break;else _0x53e610['push'](_0x53e610['shift']());}catch(_0x369356){_0x53e610['push'](_0x53e610['shift']());}}}(_0x4a1c,0x5050b));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';function _0x29b7(_0x256d3d,_0x1cdb1b){_0x256d3d=_0x256d3d-0x8d;var _0x4a1c0c=_0x4a1c();var _0x29b7c7=_0x4a1c0c[_0x256d3d];return _0x29b7c7;}export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';function _0x4a1c(){var _0x55a80f=['48hcCxSh','204CKeeqh','1494Khphed','182GBryeV','4780sEgFEK','6115jkmpYf','196cslAst','715918wVEfUB','36664VgCKyS','1302sHjujS','1340yvACff','5976mOlKIt','39393xwzktI','1233892NUQHcK'];_0x4a1c=function(){return _0x55a80f;};return _0x4a1c();}
@@ -1 +1 @@
1
- (function(_0x5e73d5,_0x44feb0){const _0xd69b92=_0x5f46,_0x42780c=_0x5e73d5();while(!![]){try{const _0x36996a=-parseInt(_0xd69b92(0xc0))/0x1+parseInt(_0xd69b92(0xb6))/0x2*(parseInt(_0xd69b92(0xc4))/0x3)+-parseInt(_0xd69b92(0xbe))/0x4*(parseInt(_0xd69b92(0xc5))/0x5)+-parseInt(_0xd69b92(0xb7))/0x6+-parseInt(_0xd69b92(0xbf))/0x7+parseInt(_0xd69b92(0xba))/0x8*(-parseInt(_0xd69b92(0xbc))/0x9)+parseInt(_0xd69b92(0xbd))/0xa;if(_0x36996a===_0x44feb0)break;else _0x42780c['push'](_0x42780c['shift']());}catch(_0x2add38){_0x42780c['push'](_0x42780c['shift']());}}}(_0x218a,0xf2851));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x15e4ac){const _0x14ee8b=_0x5f46;console[_0x14ee8b(0xb9)](_0x15e4ac);}function _0x218a(){const _0x303635=['4MKlWrU','2711772dBDUtH','108966pOmWbu','RXGrj','parse','JJUFG','53166iNdlkw','8915BASEXN','54BePpQz','3394914FWJYRV','XvTlv','log','404552YOfnZo','session_id','9LDlpuj','16294000DvtNBg'];_0x218a=function(){return _0x303635;};return _0x218a();}function _0x5f46(_0x48f4b7,_0x4fbb38){_0x48f4b7=_0x48f4b7-0xb6;const _0x218a84=_0x218a();let _0x5f4653=_0x218a84[_0x48f4b7];return _0x5f4653;}export async function readHookInput(){const _0xe6dcaf=_0x5f46;let _0x412a22='';try{for await(const _0x527cae of process['stdin']){_0x412a22+=_0x527cae;}}catch{return null;}if(!_0x412a22['trim']())return null;try{return JSON[_0xe6dcaf(0xc2)](_0x412a22);}catch{return null;}}export async function getEnabledSessionId(_0x28c5e6){const _0x393004=_0x5f46,_0x20ccf7={'RXGrj':function(_0x5e261d,_0x2ea942){return _0x5e261d(_0x2ea942);},'XvTlv':function(_0x4626d7){return _0x4626d7();},'lXpFh':function(_0xe624fb,_0x20fef9){return _0xe624fb(_0x20fef9);}};if(_0x28c5e6)return _0x20ccf7[_0x393004(0xc1)](isSessionEnabled,_0x28c5e6)?_0x28c5e6:null;const _0x437fd8=await _0x20ccf7[_0x393004(0xb8)](readHookInput),_0x12ceb5=_0x437fd8?.['session_id'];if(!_0x12ceb5||!_0x20ccf7['lXpFh'](isSessionEnabled,_0x12ceb5))return null;return _0x12ceb5;}export async function getEnabledHookContext(_0x44ae83){const _0x615432=_0x5f46,_0x3abdb1={'JJUFG':function(_0x256428,_0x2df03f){return _0x256428(_0x2df03f);},'hkMRh':function(_0x186ac0){return _0x186ac0();},'LJanG':function(_0xe60246,_0x32547b){return _0xe60246(_0x32547b);}};if(_0x44ae83){if(!_0x3abdb1[_0x615432(0xc3)](isSessionEnabled,_0x44ae83))return null;return{'sessionId':_0x44ae83,'input':{'session_id':_0x44ae83}};}const _0x428bac=await _0x3abdb1['hkMRh'](readHookInput),_0x16b651=_0x428bac?.[_0x615432(0xbb)];if(!_0x16b651||!_0x3abdb1['LJanG'](isSessionEnabled,_0x16b651))return null;return{'sessionId':_0x16b651,'input':_0x428bac};}
1
+ (function(_0x3340c9,_0x9161ac){const _0x42773b=_0x38a7,_0x13f8b7=_0x3340c9();while(!![]){try{const _0x39c97d=-parseInt(_0x42773b(0x1d7))/0x1*(-parseInt(_0x42773b(0x1d2))/0x2)+-parseInt(_0x42773b(0x1c5))/0x3*(-parseInt(_0x42773b(0x1c8))/0x4)+-parseInt(_0x42773b(0x1ce))/0x5*(parseInt(_0x42773b(0x1cf))/0x6)+parseInt(_0x42773b(0x1d0))/0x7*(-parseInt(_0x42773b(0x1cc))/0x8)+-parseInt(_0x42773b(0x1c7))/0x9*(-parseInt(_0x42773b(0x1c4))/0xa)+-parseInt(_0x42773b(0x1d4))/0xb+parseInt(_0x42773b(0x1c6))/0xc*(parseInt(_0x42773b(0x1cd))/0xd);if(_0x39c97d===_0x9161ac)break;else _0x13f8b7['push'](_0x13f8b7['shift']());}catch(_0x17d492){_0x13f8b7['push'](_0x13f8b7['shift']());}}}(_0x220d,0xbf643));function _0x220d(){const _0x53c3a8=['parse','368PWUCfX','7358GFUrSO','25435KsUHfm','1776zDjLYZ','123403crVQhx','log','546092PUIWGB','trim','2266099nZKqGp','session_id','TRWBu','3dkGCfB','5790TgnOjE','6Ibdlqx','41388rYOIdi','5166knsTLS','406032iidqDw','fzFSy','seqPN'];_0x220d=function(){return _0x53c3a8;};return _0x220d();}import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x40fa8f){const _0xc61e42=_0x38a7;console[_0xc61e42(0x1d1)](_0x40fa8f);}function _0x38a7(_0x98da32,_0x431d5f){_0x98da32=_0x98da32-0x1c4;const _0x220d70=_0x220d();let _0x38a724=_0x220d70[_0x98da32];return _0x38a724;}export async function readHookInput(){const _0xb20261=_0x38a7;let _0x4ccbee='';try{for await(const _0x3b29ba of process['stdin']){_0x4ccbee+=_0x3b29ba;}}catch{return null;}if(!_0x4ccbee[_0xb20261(0x1d3)]())return null;try{return JSON[_0xb20261(0x1cb)](_0x4ccbee);}catch{return null;}}export async function getEnabledSessionId(_0x257a3e){const _0x26ea3d=_0x38a7,_0x5c1750={'VgNpI':function(_0xd7133c,_0x370211){return _0xd7133c(_0x370211);},'TRWBu':function(_0x51804a){return _0x51804a();}};if(_0x257a3e)return _0x5c1750['VgNpI'](isSessionEnabled,_0x257a3e)?_0x257a3e:null;const _0x2a5472=await _0x5c1750[_0x26ea3d(0x1d6)](readHookInput),_0x3a6443=_0x2a5472?.['session_id'];if(!_0x3a6443||!_0x5c1750['VgNpI'](isSessionEnabled,_0x3a6443))return null;return _0x3a6443;}export async function getEnabledHookContext(_0x312024){const _0x279af1=_0x38a7,_0x1ed17a={'seqPN':function(_0x27f10f,_0x210687){return _0x27f10f(_0x210687);},'fzFSy':function(_0x104a1e,_0x158f5e){return _0x104a1e(_0x158f5e);}};if(_0x312024){if(!_0x1ed17a[_0x279af1(0x1ca)](isSessionEnabled,_0x312024))return null;return{'sessionId':_0x312024,'input':{'session_id':_0x312024}};}const _0x3ea9d6=await readHookInput(),_0x5200e7=_0x3ea9d6?.[_0x279af1(0x1d5)];if(!_0x5200e7||!_0x1ed17a[_0x279af1(0x1c9)](isSessionEnabled,_0x5200e7))return null;return{'sessionId':_0x5200e7,'input':_0x3ea9d6};}
@@ -1 +1 @@
1
- function _0x3446(){const _0x5dab6c=['197191eVEqro','1594860jXtxPq','86uMQuoH','379320UYQLGK','4650863qroaYl','IBOke','40MUJjZV','Jdxyu','27111VKzmBa','1681638gZpgfv','1232766kIqcxU'];_0x3446=function(){return _0x5dab6c;};return _0x3446();}(function(_0x40790b,_0x2b2794){const _0x139c7e=_0x1c73,_0x54e094=_0x40790b();while(!![]){try{const _0x120e3f=parseInt(_0x139c7e(0xd6))/0x1+parseInt(_0x139c7e(0xd8))/0x2*(-parseInt(_0x139c7e(0xd3))/0x3)+-parseInt(_0x139c7e(0xd7))/0x4+-parseInt(_0x139c7e(0xd9))/0x5+-parseInt(_0x139c7e(0xd4))/0x6+parseInt(_0x139c7e(0xda))/0x7+parseInt(_0x139c7e(0xd1))/0x8*(parseInt(_0x139c7e(0xd5))/0x9);if(_0x120e3f===_0x2b2794)break;else _0x54e094['push'](_0x54e094['shift']());}catch(_0xe8092e){_0x54e094['push'](_0x54e094['shift']());}}}(_0x3446,0x62653));function _0x1c73(_0x9503a0,_0xc485f6){_0x9503a0=_0x9503a0-0xd0;const _0x3446e9=_0x3446();let _0x1c73b9=_0x3446e9[_0x9503a0];return _0x1c73b9;}import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x4acba7){const _0x47c43b=_0x1c73,_0x503976={'IBOke':function(_0x21837f,_0x8a069f){return _0x21837f(_0x8a069f);},'Lvaop':function(_0x34e2d8,_0x978009){return _0x34e2d8!==_0x978009;},'eQCxZ':'plan','Jdxyu':function(_0x3adb90,_0x2e1e5a){return _0x3adb90(_0x2e1e5a);}},_0x520319=await _0x503976[_0x47c43b(0xd0)](getEnabledHookContext,_0x4acba7);if(!_0x520319)return;if(_0x503976['Lvaop'](_0x520319['input']['permission_mode'],_0x503976['eQCxZ']))return;if(!shouldShowPlanReminder(_0x520319['sessionId']))return;_0x503976[_0x47c43b(0xd2)](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
+ (function(_0x1cc422,_0x32aa22){const _0x3d9a6e=_0x48af,_0x3624d2=_0x1cc422();while(!![]){try{const _0x4c177a=-parseInt(_0x3d9a6e(0x1b0))/0x1*(-parseInt(_0x3d9a6e(0x1af))/0x2)+parseInt(_0x3d9a6e(0x1aa))/0x3*(-parseInt(_0x3d9a6e(0x1b7))/0x4)+-parseInt(_0x3d9a6e(0x1ac))/0x5+parseInt(_0x3d9a6e(0x1b1))/0x6*(-parseInt(_0x3d9a6e(0x1b6))/0x7)+parseInt(_0x3d9a6e(0x1ad))/0x8+parseInt(_0x3d9a6e(0x1b4))/0x9*(-parseInt(_0x3d9a6e(0x1b3))/0xa)+parseInt(_0x3d9a6e(0x1b2))/0xb;if(_0x4c177a===_0x32aa22)break;else _0x3624d2['push'](_0x3624d2['shift']());}catch(_0x3700fd){_0x3624d2['push'](_0x3624d2['shift']());}}}(_0x3155,0x5cba9));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x3155(){const _0x55e471=['8Kjcwco','108139Aznxtn','458886GqIQaD','15377439ewKlwd','190WOQTFq','219312JbRvsk','pOgQF','49VxkxLc','1045864pVyMzO','input','3LiwClZ','IQKIN','3460900qnXwNH','4010536sqfRJh','plan'];_0x3155=function(){return _0x55e471;};return _0x3155();}function _0x48af(_0x483665,_0x3f4546){_0x483665=_0x483665-0x1a9;const _0x315543=_0x3155();let _0x48af0e=_0x315543[_0x483665];return _0x48af0e;}export async function planReminder(_0x2e954d){const _0x11e420=_0x48af,_0x47520a={'IQKIN':function(_0x5a8182,_0x48bff8){return _0x5a8182(_0x48bff8);},'bNwtW':_0x11e420(0x1ae),'pOgQF':function(_0x129d9c,_0x5091e5){return _0x129d9c(_0x5091e5);}},_0x114494=await _0x47520a[_0x11e420(0x1ab)](getEnabledHookContext,_0x2e954d);if(!_0x114494)return;if(_0x114494[_0x11e420(0x1a9)]['permission_mode']!==_0x47520a['bNwtW'])return;if(!_0x47520a[_0x11e420(0x1b5)](shouldShowPlanReminder,_0x114494['sessionId']))return;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 _0x2af7(){const _0xf00d69=['594eVIMRr','2726YGlNyg','548070nWXPFn','936848lhRXrT','7zAvNkR','19830jjCbbE','349071PBgLHx','65634QfPhBK','26XYwADs','179080HXueMg'];_0x2af7=function(){return _0xf00d69;};return _0x2af7();}(function(_0x52f958,_0x45f4fd){const _0x5163f2=_0xc7f0,_0x28f4ba=_0x52f958();while(!![]){try{const _0x18ebf0=parseInt(_0x5163f2(0x14a))/0x1*(-parseInt(_0x5163f2(0x147))/0x2)+parseInt(_0x5163f2(0x14f))/0x3+-parseInt(_0x5163f2(0x148))/0x4+parseInt(_0x5163f2(0x14b))/0x5+parseInt(_0x5163f2(0x146))/0x6*(-parseInt(_0x5163f2(0x14d))/0x7)+parseInt(_0x5163f2(0x14c))/0x8+parseInt(_0x5163f2(0x149))/0x9*(-parseInt(_0x5163f2(0x14e))/0xa);if(_0x18ebf0===_0x45f4fd)break;else _0x28f4ba['push'](_0x28f4ba['shift']());}catch(_0x4cb5d0){_0x28f4ba['push'](_0x28f4ba['shift']());}}}(_0x2af7,0x1d8dc));import{printBlock,getEnabledSessionId}from'./output.js';function _0xc7f0(_0x1c19ae,_0x1f75cc){_0x1c19ae=_0x1c19ae-0x146;const _0x2af783=_0x2af7();let _0xc7f04d=_0x2af783[_0x1c19ae];return _0xc7f04d;}export async function planStart(_0xd2cc29){const _0x3e38ac=await getEnabledSessionId(_0xd2cc29);if(!_0x3e38ac)return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}
1
+ (function(_0x14fa3e,_0x2f643e){const _0x165da2=_0x50cb,_0x560a99=_0x14fa3e();while(!![]){try{const _0x465ece=parseInt(_0x165da2(0xaf))/0x1+-parseInt(_0x165da2(0xab))/0x2*(-parseInt(_0x165da2(0xa9))/0x3)+parseInt(_0x165da2(0xac))/0x4*(-parseInt(_0x165da2(0xae))/0x5)+parseInt(_0x165da2(0xb1))/0x6*(-parseInt(_0x165da2(0xb2))/0x7)+-parseInt(_0x165da2(0xaa))/0x8*(parseInt(_0x165da2(0xad))/0x9)+-parseInt(_0x165da2(0xb3))/0xa+-parseInt(_0x165da2(0xb0))/0xb*(-parseInt(_0x165da2(0xa8))/0xc);if(_0x465ece===_0x2f643e)break;else _0x560a99['push'](_0x560a99['shift']());}catch(_0x2562f3){_0x560a99['push'](_0x560a99['shift']());}}}(_0x2340,0x644e7));function _0x50cb(_0x2184aa,_0x1bc28d){_0x2184aa=_0x2184aa-0xa8;const _0x234060=_0x2340();let _0x50cbc9=_0x234060[_0x2184aa];return _0x50cbc9;}import{printBlock,getEnabledSessionId}from'./output.js';function _0x2340(){const _0x214438=['7361020IBuRcl','108ikFxMW','3MCeDAJ','872ZhRcKo','732418YYyivm','4grBSIK','36054PvggJh','3313595gsXHNP','481756sqluGV','2672934LzCQkw','127878CdXZPG','259hrJheZ'];_0x2340=function(){return _0x214438;};return _0x2340();}export async function planStart(_0x5e1586){const _0x47c2bb=await getEnabledSessionId(_0x5e1586);if(!_0x47c2bb)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(_0x2eb17d,_0x34f7a7){const _0x4ad10f=_0x4e74,_0xcd8eac=_0x2eb17d();while(!![]){try{const _0x13a847=parseInt(_0x4ad10f(0x1a0))/0x1*(-parseInt(_0x4ad10f(0x19a))/0x2)+parseInt(_0x4ad10f(0x1a6))/0x3*(-parseInt(_0x4ad10f(0x198))/0x4)+-parseInt(_0x4ad10f(0x1a7))/0x5*(-parseInt(_0x4ad10f(0x1a5))/0x6)+parseInt(_0x4ad10f(0x199))/0x7*(-parseInt(_0x4ad10f(0x1a2))/0x8)+parseInt(_0x4ad10f(0x19f))/0x9*(-parseInt(_0x4ad10f(0x1a4))/0xa)+-parseInt(_0x4ad10f(0x1a3))/0xb*(-parseInt(_0x4ad10f(0x19d))/0xc)+parseInt(_0x4ad10f(0x1a1))/0xd;if(_0x13a847===_0x34f7a7)break;else _0xcd8eac['push'](_0xcd8eac['shift']());}catch(_0x30648d){_0xcd8eac['push'](_0xcd8eac['shift']());}}}(_0x3907,0xd64c7));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';function _0x3907(){const _0x7762d1=['869757UDkmtQ','942756AnaVqF','log','MhAUv','24GSlQuX','PostToolUse','513nZBHrA','1ZiNveY','5630313LCqcTM','8WYTgBx','6311371HBDrZD','69950LVihce','2170488UsAZNG','6jtvvNb','10okMzwn','864016yijKzV'];_0x3907=function(){return _0x7762d1;};return _0x3907();}function _0x4e74(_0x4cbbf0,_0x547ec0){_0x4cbbf0=_0x4cbbf0-0x198;const _0x39079a=_0x3907();let _0x4e74be=_0x39079a[_0x4cbbf0];return _0x4e74be;}export async function postEdit(_0x3bc685){const _0x18ed5c=_0x4e74,_0x443d97={'HpEDH':function(_0x59e671,_0x22b1ab){return _0x59e671(_0x22b1ab);},'MhAUv':function(_0x19f854,_0x55bcb8){return _0x19f854(_0x55bcb8);}},_0x20cd1c=await _0x443d97['HpEDH'](getEnabledSessionId,_0x3bc685);if(!_0x20cd1c)return;_0x443d97[_0x18ed5c(0x19c)](updateBranchTracking,_0x20cd1c);const _0x1fdebe=await getToken();if(!_0x1fdebe)return;const _0x523d2a=getSessionEntry(_0x20cd1c);if(_0x523d2a){const _0x9f9256={'hookSpecificOutput':{'hookEventName':_0x18ed5c(0x19e),'additionalContext':'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).'}};console[_0x18ed5c(0x19b)](JSON['stringify'](_0x9f9256));return;}const _0x4c0470={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':'RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.'}};console['log'](JSON['stringify'](_0x4c0470));}
1
+ (function(_0x14c830,_0x9a98ca){const _0x3e860e=_0x5efa,_0x219e83=_0x14c830();while(!![]){try{const _0x4acd32=-parseInt(_0x3e860e(0x1f2))/0x1+-parseInt(_0x3e860e(0x1ea))/0x2*(parseInt(_0x3e860e(0x1e9))/0x3)+parseInt(_0x3e860e(0x1ec))/0x4*(-parseInt(_0x3e860e(0x1ed))/0x5)+-parseInt(_0x3e860e(0x1ee))/0x6*(parseInt(_0x3e860e(0x1f4))/0x7)+-parseInt(_0x3e860e(0x1f5))/0x8*(parseInt(_0x3e860e(0x1ef))/0x9)+-parseInt(_0x3e860e(0x1eb))/0xa+-parseInt(_0x3e860e(0x1f8))/0xb*(-parseInt(_0x3e860e(0x1f0))/0xc);if(_0x4acd32===_0x9a98ca)break;else _0x219e83['push'](_0x219e83['shift']());}catch(_0x50c184){_0x219e83['push'](_0x219e83['shift']());}}}(_0x14f8,0x232fa));function _0x5efa(_0x40945c,_0x44703f){_0x40945c=_0x40945c-0x1e9;const _0x14f84b=_0x14f8();let _0x5efa89=_0x14f84b[_0x40945c];return _0x5efa89;}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x38e8f2){const _0xeb56c2=_0x5efa,_0x4ba6a1={'tnlMy':function(_0x2bbe00,_0x1db517){return _0x2bbe00(_0x1db517);},'ydzZi':function(_0x43a4c9){return _0x43a4c9();}},_0x1ed220=await getEnabledSessionId(_0x38e8f2);if(!_0x1ed220)return;_0x4ba6a1['tnlMy'](updateBranchTracking,_0x1ed220);const _0x34abdb=await _0x4ba6a1['ydzZi'](getToken);if(!_0x34abdb)return;const _0x5e51eb=_0x4ba6a1['tnlMy'](getSessionEntry,_0x1ed220);if(_0x5e51eb){const _0x893a65={'hookSpecificOutput':{'hookEventName':_0xeb56c2(0x1f1),'additionalContext':'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).'}};console['log'](JSON[_0xeb56c2(0x1f7)](_0x893a65));return;}const _0x37cea5={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0xeb56c2(0x1f3)}};console[_0xeb56c2(0x1f6)](JSON['stringify'](_0x37cea5));}function _0x14f8(){const _0x4db0b8=['PostToolUse','42316Tgabqi','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.','49ksAVFK','499736YwyLDe','log','stringify','22yJJsWk','3HKKdDe','113678MYtLGM','2659960NxsIYr','6764VacQId','755GyESSl','354FWgmQt','9lgMsTL','4964964NAtFWd'];_0x14f8=function(){return _0x4db0b8;};return _0x14f8();}
@@ -1 +1 @@
1
- (function(_0x22667e,_0x4ca2f6){const _0x3eb388=_0x13e5,_0x85eda=_0x22667e();while(!![]){try{const _0x228a50=-parseInt(_0x3eb388(0x8b))/0x1+-parseInt(_0x3eb388(0x92))/0x2*(parseInt(_0x3eb388(0x90))/0x3)+-parseInt(_0x3eb388(0x8e))/0x4+-parseInt(_0x3eb388(0x8a))/0x5*(-parseInt(_0x3eb388(0x8c))/0x6)+parseInt(_0x3eb388(0x91))/0x7+parseInt(_0x3eb388(0x8d))/0x8*(-parseInt(_0x3eb388(0x89))/0x9)+parseInt(_0x3eb388(0x8f))/0xa;if(_0x228a50===_0x4ca2f6)break;else _0x85eda['push'](_0x85eda['shift']());}catch(_0x60e89a){_0x85eda['push'](_0x85eda['shift']());}}}(_0x2bc6,0xeb4b6));function _0x13e5(_0x571aa8,_0x54f207){_0x571aa8=_0x571aa8-0x89;const _0x2bc64b=_0x2bc6();let _0x13e591=_0x2bc64b[_0x571aa8];return _0x13e591;}function _0x2bc6(){const _0x1cf474=['4050872qDIPaA','4405496MfmZNr','28461060eKBkOi','7635ztFalW','8539902rofBuy','340FRxRjX','27nksnNZ','4195FXHxfo','1134052YLqIMK','7758EmiJDu'];_0x2bc6=function(){return _0x1cf474;};return _0x2bc6();}import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x53fe59){const _0x26687c={'gMRxt':function(_0x2ecf5c,_0x25d87a){return _0x2ecf5c(_0x25d87a);}},_0xc6bf6d=await _0x26687c['gMRxt'](getEnabledSessionId,_0x53fe59);if(!_0xc6bf6d)return;try{const _0x105ed2=await getToken();if(!_0x105ed2)return;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(_0x2956c4,_0x2a4f2f){const _0x5d62d5=_0x1ff6,_0x4ee6cc=_0x2956c4();while(!![]){try{const _0x16f711=parseInt(_0x5d62d5(0x100))/0x1+parseInt(_0x5d62d5(0x102))/0x2+-parseInt(_0x5d62d5(0xfa))/0x3*(-parseInt(_0x5d62d5(0x104))/0x4)+-parseInt(_0x5d62d5(0xfb))/0x5+parseInt(_0x5d62d5(0xfd))/0x6+parseInt(_0x5d62d5(0x103))/0x7*(parseInt(_0x5d62d5(0xfc))/0x8)+-parseInt(_0x5d62d5(0xfe))/0x9*(parseInt(_0x5d62d5(0xff))/0xa);if(_0x16f711===_0x2a4f2f)break;else _0x4ee6cc['push'](_0x4ee6cc['shift']());}catch(_0xd79594){_0x4ee6cc['push'](_0x4ee6cc['shift']());}}}(_0x142b,0x46f1f));import{getToken}from'../utils/keychain.js';function _0x1ff6(_0x38ae3c,_0x1e66a5){_0x38ae3c=_0x38ae3c-0xfa;const _0x142ba2=_0x142b();let _0x1ff619=_0x142ba2[_0x38ae3c];return _0x1ff619;}import{printBlock,getEnabledSessionId}from'./output.js';function _0x142b(){const _0x527900=['10QcPNWM','551041TWOgIQ','===\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`.','779742fwEVss','728YRMUDr','20FbMRaO','188541YAnTzK','2599485kSuxEZ','3856MCxuFA','2682072HZgwqZ','8476191kUJwnB'];_0x142b=function(){return _0x527900;};return _0x142b();}export async function preCompact(_0x29741d){const _0x4af9a3=_0x1ff6,_0x95cbd3={'DsrRP':function(_0x4e8e08,_0x692612){return _0x4e8e08(_0x692612);},'GXHMa':function(_0x57c53b){return _0x57c53b();}},_0x466157=await _0x95cbd3['DsrRP'](getEnabledSessionId,_0x29741d);if(!_0x466157)return;try{const _0x2abe0b=await _0x95cbd3['GXHMa'](getToken);if(!_0x2abe0b)return;printBlock(_0x4af9a3(0x101));}catch{}}
@@ -1 +1 @@
1
- (function(_0x477a34,_0x2aa783){const _0x22861d=_0x33f2,_0x20409f=_0x477a34();while(!![]){try{const _0x5dc26a=parseInt(_0x22861d(0x87))/0x1*(parseInt(_0x22861d(0x80))/0x2)+-parseInt(_0x22861d(0x7d))/0x3+-parseInt(_0x22861d(0x84))/0x4*(-parseInt(_0x22861d(0x81))/0x5)+parseInt(_0x22861d(0x89))/0x6*(-parseInt(_0x22861d(0x83))/0x7)+parseInt(_0x22861d(0x8a))/0x8*(parseInt(_0x22861d(0x7e))/0x9)+-parseInt(_0x22861d(0x86))/0xa*(parseInt(_0x22861d(0x7f))/0xb)+parseInt(_0x22861d(0x88))/0xc;if(_0x5dc26a===_0x2aa783)break;else _0x20409f['push'](_0x20409f['shift']());}catch(_0x5ce1b9){_0x20409f['push'](_0x20409f['shift']());}}}(_0x4dc2,0xd15ae));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0x33f2(_0x44d5e3,_0x10cc14){_0x44d5e3=_0x44d5e3-0x7d;const _0x4dc236=_0x4dc2();let _0x33f287=_0x4dc236[_0x44d5e3];return _0x33f287;}function _0x4dc2(){const _0x29df0a=['reason','476RiwdeN','12972znBiTV','env','102460sjgRFX','1biWaxc','26998848LLMfLE','113706mhXvfL','888GcqSFF','3358032qehSiN','65376roMMpM','814DDvshd','1137274JaRVDB','615ASnKVc'];_0x4dc2=function(){return _0x29df0a;};return _0x4dc2();}import{readHookInput}from'./output.js';export async function sessionEnd(_0xeaf2ec){const _0x299784=_0x33f2,_0x1d6fa6={'erfIE':function(_0x3668f2,_0x5ecbcb){return _0x3668f2(_0x5ecbcb);},'BNait':function(_0x265656,_0x453daf){return _0x265656===_0x453daf;}},_0x5296e8=process[_0x299784(0x85)]['CLAUDE_SESSION_ID'];let _0x4b7dc8=_0xeaf2ec,_0x14c525;if(!_0xeaf2ec){if(_0x5296e8&&!_0x1d6fa6['erfIE'](isSessionEnabled,_0x5296e8))return;const _0xaaf53f=await readHookInput();_0x4b7dc8=_0xaaf53f?.['session_id']||_0x5296e8,_0x14c525=_0xaaf53f?.[_0x299784(0x82)];}if(!_0x4b7dc8)return;_0x1d6fa6['BNait'](_0x14c525,'clear')&&recordEnabledSessionCleared(_0x4b7dc8);}
1
+ (function(_0x3b2ee8,_0x19f02e){const _0x529f66=_0x5c17,_0x1532b1=_0x3b2ee8();while(!![]){try{const _0x264667=-parseInt(_0x529f66(0xd9))/0x1*(parseInt(_0x529f66(0xd8))/0x2)+parseInt(_0x529f66(0xdc))/0x3*(parseInt(_0x529f66(0xd0))/0x4)+-parseInt(_0x529f66(0xd5))/0x5*(parseInt(_0x529f66(0xd6))/0x6)+-parseInt(_0x529f66(0xd3))/0x7+-parseInt(_0x529f66(0xd1))/0x8+parseInt(_0x529f66(0xd7))/0x9*(-parseInt(_0x529f66(0xdd))/0xa)+parseInt(_0x529f66(0xdb))/0xb*(parseInt(_0x529f66(0xd4))/0xc);if(_0x264667===_0x19f02e)break;else _0x1532b1['push'](_0x1532b1['shift']());}catch(_0x4cde28){_0x1532b1['push'](_0x1532b1['shift']());}}}(_0x5dd2,0x4b069));function _0x5c17(_0x263b14,_0x6eb203){_0x263b14=_0x263b14-0xcf;const _0x5dd264=_0x5dd2();let _0x5c17cc=_0x5dd264[_0x263b14];return _0x5c17cc;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x561279){const _0x3872cd=_0x5c17,_0xe5cf2c={'zHgjR':function(_0x56360a){return _0x56360a();},'KqrgZ':_0x3872cd(0xde)},_0x3668c6=process[_0x3872cd(0xda)][_0x3872cd(0xcf)];let _0x24e67f=_0x561279,_0x4c398b;if(!_0x561279){if(_0x3668c6&&!isSessionEnabled(_0x3668c6))return;const _0x16cf02=await _0xe5cf2c['zHgjR'](readHookInput);_0x24e67f=_0x16cf02?.['session_id']||_0x3668c6,_0x4c398b=_0x16cf02?.['reason'];}if(!_0x24e67f)return;_0x4c398b===_0xe5cf2c[_0x3872cd(0xd2)]&&recordEnabledSessionCleared(_0x24e67f);}function _0x5dd2(){const _0x57e9ba=['6TFMYHo','123705JzYHvV','17786qbxcvv','47hNHwZl','env','6347Akoelf','57FhYefF','190ugJVOt','clear','CLAUDE_SESSION_ID','94444QpuvrC','3470120GscGkh','KqrgZ','922159RLfMZl','26652xmaPck','890965fxHuAz'];_0x5dd2=function(){return _0x57e9ba;};return _0x5dd2();}
@@ -1 +1 @@
1
- const _0x5df158=_0x1a7f;(function(_0x559230,_0x5a8b34){const _0x281d30=_0x1a7f,_0x29d238=_0x559230();while(!![]){try{const _0xce016=parseInt(_0x281d30(0xbc))/0x1+parseInt(_0x281d30(0xbf))/0x2*(parseInt(_0x281d30(0xc3))/0x3)+-parseInt(_0x281d30(0xc0))/0x4*(-parseInt(_0x281d30(0xca))/0x5)+parseInt(_0x281d30(0xc2))/0x6+parseInt(_0x281d30(0xc5))/0x7+-parseInt(_0x281d30(0xcc))/0x8*(parseInt(_0x281d30(0xcf))/0x9)+-parseInt(_0x281d30(0xce))/0xa*(parseInt(_0x281d30(0xba))/0xb);if(_0xce016===_0x5a8b34)break;else _0x29d238['push'](_0x29d238['shift']());}catch(_0x42734b){_0x29d238['push'](_0x29d238['shift']());}}}(_0x430e,0x5b116));function _0x430e(){const _0x3e5a28=['pllSM','4578413aLeEBx','BPbOF','master','qEOiD','trackCommandEnd','25430SzxRXF','session_id','4469464pXLrul','trackCommandStart','192040IhLSmS','9AblKxt','SDTIU','source','dPdnH','198NDpRDB','export\x20CLAUDE_SESSION_ID=\x22','330521zJuKJN','ZFhLA','=================================================================\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=================================================================','116MIhJep','68ElnIfM','zawas','575022DWdnhQ','5715BLzmMC'];_0x430e=function(){return _0x3e5a28;};return _0x430e();}import{appendFile}from'fs/promises';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=_0x5df158(0xbe);function _0x1a7f(_0x500921,_0x5b1f5b){_0x500921=_0x500921-0xb7;const _0x430ed5=_0x430e();let _0x1a7f62=_0x430ed5[_0x500921];return _0x1a7f62;}export async function sessionStart(_0x15b158){const _0x58bf03=_0x5df158,_0x5b53de={'KkvmH':_0x58bf03(0xcb),'eIAiy':function(_0x195cc3,_0x59f158){return _0x195cc3&&_0x59f158;},'egkAD':function(_0x15015f,_0x573d18,_0x521faa){return _0x15015f(_0x573d18,_0x521faa);},'ZFhLA':function(_0x4a0507,_0x4eaf6c){return _0x4a0507(_0x4eaf6c);},'BPbOF':function(_0x9d0797){return _0x9d0797();},'dPdnH':'success','SDTIU':function(_0x391b1f,_0x48b84d){return _0x391b1f!==_0x48b84d;},'pllSM':function(_0x409864,_0x5daac9){return _0x409864!==_0x5daac9;},'qEOiD':_0x58bf03(0xc7),'zawas':'SessionStart'};let _0x164625=_0x15b158||'',_0x45d19f;if(!_0x15b158){let _0x361074='';for await(const _0x1747b1 of process['stdin']){_0x361074+=_0x1747b1;}try{const _0x2bd2a5=JSON['parse'](_0x361074);_0x164625=_0x2bd2a5[_0x5b53de['KkvmH']]||'',_0x45d19f=_0x2bd2a5[_0x58bf03(0xb8)];}catch{}const _0x1809c7=process['env']['CLAUDE_ENV_FILE'];if(_0x5b53de['eIAiy'](_0x1809c7,_0x164625))try{await _0x5b53de['egkAD'](appendFile,_0x1809c7,_0x58bf03(0xbb)+_0x164625+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x164625){shouldAutoEnableAfterClear(_0x45d19f)&&autoEnableAfterClear(_0x164625);_0x5b53de[_0x58bf03(0xbd)](initBranchTracking,_0x164625);_0x5b53de[_0x58bf03(0xc6)](resolveHookMode)==='on'&&enableSession(_0x164625);const _0x5af3d3=_0x5b53de['ZFhLA'](isSessionEnabled,_0x164625);try{const _0x5dbae8=_0x5b53de[_0x58bf03(0xbd)](createTelemetryCollector,'hook:session-start');await _0x5dbae8[_0x58bf03(0xcd)]({'sessionId':_0x164625,'hooksEnabled':_0x5af3d3}),await _0x5dbae8[_0x58bf03(0xc9)](_0x5b53de[_0x58bf03(0xb9)]);}catch{}if(_0x5af3d3){const _0x9c7be=getCurrentBranch(),_0xc500e=_0x9c7be&&_0x5b53de[_0x58bf03(0xb7)](_0x9c7be,'main')&&_0x5b53de[_0x58bf03(0xc4)](_0x9c7be,_0x5b53de[_0x58bf03(0xc8)])?'\x20(Branch:\x20'+_0x9c7be+')':'',_0x459425={'hookSpecificOutput':{'hookEventName':_0x5b53de[_0x58bf03(0xc1)],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0xc500e}};console['log'](JSON['stringify'](_0x459425));}}}
1
+ const _0x109224=_0x335b;(function(_0x1aea0b,_0x5b3418){const _0x1b5b6d=_0x335b,_0x2677e9=_0x1aea0b();while(!![]){try{const _0xaad69c=parseInt(_0x1b5b6d(0x178))/0x1*(-parseInt(_0x1b5b6d(0x181))/0x2)+parseInt(_0x1b5b6d(0x16e))/0x3*(-parseInt(_0x1b5b6d(0x177))/0x4)+parseInt(_0x1b5b6d(0x182))/0x5*(parseInt(_0x1b5b6d(0x17e))/0x6)+parseInt(_0x1b5b6d(0x188))/0x7+parseInt(_0x1b5b6d(0x17f))/0x8+parseInt(_0x1b5b6d(0x17c))/0x9*(parseInt(_0x1b5b6d(0x176))/0xa)+-parseInt(_0x1b5b6d(0x183))/0xb*(parseInt(_0x1b5b6d(0x18a))/0xc);if(_0xaad69c===_0x5b3418)break;else _0x2677e9['push'](_0x2677e9['shift']());}catch(_0x383afd){_0x2677e9['push'](_0x2677e9['shift']());}}}(_0x1846,0xd34f0));function _0x335b(_0x633cc8,_0x48646d){_0x633cc8=_0x633cc8-0x16e;const _0x184648=_0x1846();let _0x335beb=_0x184648[_0x633cc8];return _0x335beb;}import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';function _0x1846(){const _0x598a8f=['789XMOLJu','trackCommandEnd','trackCommandStart','export\x20CLAUDE_SESSION_ID=\x22','main','aYXXA','stringify','pLsDK','14840510fGUJKv','22012UFQbVl','1jRkbaz','session_id','CLAUDE_ENV_FILE','stdin','9wEqtav','env','1554klkAOv','11428000UTufiY','=================================================================\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=================================================================','1149736ZkgpcR','1255UBpclv','5049pORrqi','tfKbz','\x20(Branch:\x20','log','hook:session-start','7920612ClHHyK','master','31932GJCUDo','SessionStart'];_0x1846=function(){return _0x598a8f;};return _0x1846();}import{resolveHookMode}from'../utils/environment.js';const RANGER_AUTO_ENABLED_PROMPT=_0x109224(0x180);export async function sessionStart(_0x3a1851){const _0x7a57a9=_0x109224,_0x3f3d65={'bXdRx':function(_0x25c21a,_0x2d288c){return _0x25c21a||_0x2d288c;},'dcAHB':_0x7a57a9(0x179),'Oebqz':function(_0x1ce205,_0x23d1da){return _0x1ce205&&_0x23d1da;},'pLsDK':function(_0x2c589c){return _0x2c589c();},'QuBFT':function(_0x37b96f,_0x53fa25){return _0x37b96f(_0x53fa25);},'jENuU':_0x7a57a9(0x187),'PbzFE':'success','SqqTf':function(_0x256e15,_0x563e03){return _0x256e15!==_0x563e03;},'tfKbz':_0x7a57a9(0x172),'aYXXA':_0x7a57a9(0x18b),'bWveq':function(_0x5e7c9b,_0x2b89de){return _0x5e7c9b+_0x2b89de;}};let _0x5adc49=_0x3f3d65['bXdRx'](_0x3a1851,''),_0x581c44;if(!_0x3a1851){let _0x32cc78='';for await(const _0x27e0be of process[_0x7a57a9(0x17b)]){_0x32cc78+=_0x27e0be;}try{const _0x4614fc=JSON['parse'](_0x32cc78);_0x5adc49=_0x4614fc[_0x3f3d65['dcAHB']]||'',_0x581c44=_0x4614fc['source'];}catch{}const _0x18dae3=process[_0x7a57a9(0x17d)][_0x7a57a9(0x17a)];if(_0x3f3d65['Oebqz'](_0x18dae3,_0x5adc49))try{await appendFile(_0x18dae3,_0x7a57a9(0x171)+_0x5adc49+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x5adc49){shouldAutoEnableAfterClear(_0x581c44)&&autoEnableAfterClear(_0x5adc49);initBranchTracking(_0x5adc49);_0x3f3d65[_0x7a57a9(0x175)](resolveHookMode)==='on'&&_0x3f3d65['QuBFT'](enableSession,_0x5adc49);const _0x59bf09=isSessionEnabled(_0x5adc49);try{const _0xf37aa=_0x3f3d65['QuBFT'](createTelemetryCollector,_0x3f3d65['jENuU']);await _0xf37aa[_0x7a57a9(0x170)]({'sessionId':_0x5adc49,'hooksEnabled':_0x59bf09}),await _0xf37aa[_0x7a57a9(0x16f)](_0x3f3d65['PbzFE']);}catch{}if(_0x59bf09){const _0x569161=getCurrentBranch(),_0x52fe2a=_0x569161&&_0x3f3d65['SqqTf'](_0x569161,_0x3f3d65[_0x7a57a9(0x184)])&&_0x569161!==_0x7a57a9(0x189)?_0x7a57a9(0x185)+_0x569161+')':'',_0x3ea815={'hookSpecificOutput':{'hookEventName':_0x3f3d65[_0x7a57a9(0x173)],'additionalContext':_0x3f3d65['bWveq'](RANGER_AUTO_ENABLED_PROMPT,_0x52fe2a)}};console[_0x7a57a9(0x186)](JSON[_0x7a57a9(0x174)](_0x3ea815));}}}
@@ -1 +1 @@
1
- function _0x4941(){const _0x355bd0=['50466NrqDEW','JAHTG','trackCommandEnd','2683576VhHTWw','2652620BbMxgP','https://dashboard.ranger.net/features/','currentSessionId','4kTxHqN','wDbHb','DUvAx','91bZMvKz','JFBmB','4761060lngbjP','incomplete','1592568XbRhVf','NQyHD','some','106362lPxODI','21DKZEPA','featureId','2948703OwRLVu','checklistItems','trackCommandStart','success','sessionId','Stop','hook:stop','status','blocked'];_0x4941=function(){return _0x355bd0;};return _0x4941();}function _0x4c95(_0x3b19c2,_0x39c782){_0x3b19c2=_0x3b19c2-0x127;const _0x4941ba=_0x4941();let _0x4c954b=_0x4941ba[_0x3b19c2];return _0x4c954b;}(function(_0x502cd3,_0x3ef567){const _0x4e7d06=_0x4c95,_0x19a4e5=_0x502cd3();while(!![]){try{const _0x59e530=-parseInt(_0x4e7d06(0x12a))/0x1*(-parseInt(_0x4e7d06(0x135))/0x2)+parseInt(_0x4e7d06(0x12c))/0x3+-parseInt(_0x4e7d06(0x13c))/0x4*(parseInt(_0x4e7d06(0x139))/0x5)+-parseInt(_0x4e7d06(0x129))/0x6*(parseInt(_0x4e7d06(0x13f))/0x7)+-parseInt(_0x4e7d06(0x138))/0x8+-parseInt(_0x4e7d06(0x143))/0x9+parseInt(_0x4e7d06(0x141))/0xa;if(_0x59e530===_0x3ef567)break;else _0x19a4e5['push'](_0x19a4e5['shift']());}catch(_0x204b48){_0x19a4e5['push'](_0x19a4e5['shift']());}}}(_0x4941,0xaeb06));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x25a4fc){const _0x56ab3b=_0x4c95,_0x249111={'JAHTG':function(_0x2b0098,_0xe7e734,_0x46fa98,_0x524fa2){return _0x2b0098(_0xe7e734,_0x46fa98,_0x524fa2);},'wDbHb':function(_0x1354ef){return _0x1354ef();},'LKdqw':function(_0x5cba51,_0x3b9474){return _0x5cba51(_0x3b9474);},'JFBmB':function(_0x5f3f76,_0x3a7b32){return _0x5f3f76&&_0x3a7b32;},'DUvAx':function(_0x465903,_0x262bc4,_0x2d46d2){return _0x465903(_0x262bc4,_0x2d46d2);},'PMmRp':function(_0x5d62d8,_0x1da710,_0x1acf0b,_0x12abe0){return _0x5d62d8(_0x1da710,_0x1acf0b,_0x12abe0);},'NQyHD':function(_0x3f9880,_0x3ab2ac,_0x2accac,_0x223be8){return _0x3f9880(_0x3ab2ac,_0x2accac,_0x223be8);}},_0x491943=await getEnabledHookContext(_0x25a4fc),_0xa3834=_0x491943?.['sessionId']??null;let _0x5b0d6e=!![];if(!_0xa3834){await _0x249111[_0x56ab3b(0x136)](trackStop,_0xa3834,![],_0x5b0d6e);return;}try{const _0x281e7c=getSessionEntry(_0xa3834);if(!_0x281e7c){await _0x249111[_0x56ab3b(0x136)](trackStop,_0xa3834,!![],_0x5b0d6e);return;}const _0x517776=await _0x249111[_0x56ab3b(0x13d)](getToken),_0x5d86fb=_0x56ab3b(0x13a)+_0x281e7c[_0x56ab3b(0x12b)];let _0x31c3c1=null,_0xf99361=![],_0x1a780c=![];if(_0x517776)try{const _0x4b139b=await _0x249111['LKdqw'](getFeature,_0x281e7c[_0x56ab3b(0x12b)]);_0x31c3c1=_0x4b139b[_0x56ab3b(0x13b)]??null;const _0x15b082=_0x4b139b[_0x56ab3b(0x12d)]['filter'](_0x1d310f=>_0x1d310f[_0x56ab3b(0x130)]===_0x31c3c1);_0xf99361=_0x15b082['some'](_0xf49bc9=>_0xf49bc9[_0x56ab3b(0x133)]!=='verified'&&_0xf49bc9[_0x56ab3b(0x133)]!==_0x56ab3b(0x134)&&_0xf49bc9['status']!=='closed'&&_0xf49bc9['status']!==_0x56ab3b(0x142)),_0x1a780c=_0x15b082[_0x56ab3b(0x128)](_0x26d860=>_0x26d860['status']==='verification_in_progress');}catch{}if(_0x517776&&_0x31c3c1&&_0xf99361){if(!_0x1a780c&&_0x249111['LKdqw'](shouldShowStopReminder,_0xa3834)){const _0x5c2817={'hookSpecificOutput':{'hookEventName':_0x56ab3b(0x131),'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'+_0x5d86fb}};console['log'](JSON['stringify'](_0x5c2817));}}if(_0x249111[_0x56ab3b(0x140)](_0x517776,_0x31c3c1)&&!_0xf99361)try{await _0x249111[_0x56ab3b(0x13e)](concludeSession,_0x281e7c[_0x56ab3b(0x12b)],_0x31c3c1);}catch{}await _0x249111['PMmRp'](trackStop,_0xa3834,!![],_0x5b0d6e);return;}catch{await _0x249111[_0x56ab3b(0x127)](trackStop,_0xa3834,!![],_0x5b0d6e);return;}}async function trackStop(_0x355da1,_0x52ce4f,_0x351285){const _0x2eafe1=_0x4c95;try{const _0x488665=createTelemetryCollector(_0x2eafe1(0x132));await _0x488665[_0x2eafe1(0x12e)]({'sessionId':_0x355da1??undefined,'hooksEnabled':_0x52ce4f,'stopAllowed':_0x351285}),await _0x488665[_0x2eafe1(0x137)](_0x2eafe1(0x12f));}catch{}}
1
+ (function(_0x2b453e,_0x13d0cb){const _0x3fd54d=_0x2718,_0x2bfff8=_0x2b453e();while(!![]){try{const _0x1887d5=parseInt(_0x3fd54d(0x167))/0x1+-parseInt(_0x3fd54d(0x166))/0x2*(parseInt(_0x3fd54d(0x165))/0x3)+parseInt(_0x3fd54d(0x161))/0x4+-parseInt(_0x3fd54d(0x162))/0x5+parseInt(_0x3fd54d(0x15f))/0x6+parseInt(_0x3fd54d(0x160))/0x7*(-parseInt(_0x3fd54d(0x16a))/0x8)+parseInt(_0x3fd54d(0x15e))/0x9*(parseInt(_0x3fd54d(0x16f))/0xa);if(_0x1887d5===_0x13d0cb)break;else _0x2bfff8['push'](_0x2bfff8['shift']());}catch(_0x370a8a){_0x2bfff8['push'](_0x2bfff8['shift']());}}}(_0x5eb6,0xc4070));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';function _0x2718(_0x1745d4,_0x4e90f3){_0x1745d4=_0x1745d4-0x15e;const _0x5eb6f0=_0x5eb6();let _0x27189a=_0x5eb6f0[_0x1745d4];return _0x27189a;}import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x1718ff){const _0x24fd6f=_0x2718,_0x193c8f={'RIidl':function(_0x18c903,_0x54ef8b){return _0x18c903(_0x54ef8b);},'wQJwD':function(_0x288d5d){return _0x288d5d();},'WpuaK':function(_0x492a78,_0x49f426){return _0x492a78&&_0x49f426;},'YQbuj':function(_0x10fbcb,_0x4dfd39){return _0x10fbcb(_0x4dfd39);},'miDAU':function(_0xb3aef7,_0x33fd35,_0x4c65ee,_0x13118f){return _0xb3aef7(_0x33fd35,_0x4c65ee,_0x13118f);}},_0x2fccb1=await _0x193c8f[_0x24fd6f(0x168)](getEnabledHookContext,_0x1718ff),_0x16fe5f=_0x2fccb1?.[_0x24fd6f(0x173)]??null;let _0x2f1321=!![];if(!_0x16fe5f){await trackStop(_0x16fe5f,![],_0x2f1321);return;}try{const _0x394d4f=getSessionEntry(_0x16fe5f);if(!_0x394d4f){await trackStop(_0x16fe5f,!![],_0x2f1321);return;}const _0x24f4fb=await _0x193c8f[_0x24fd6f(0x16b)](getToken),_0x19db42=_0x24fd6f(0x16c)+_0x394d4f['featureId'];let _0x20c4d8=null,_0x26b649=![],_0x4bcffe=![];if(_0x24f4fb)try{const _0x57aaaf=await _0x193c8f['RIidl'](getFeature,_0x394d4f[_0x24fd6f(0x172)]);_0x20c4d8=_0x57aaaf['currentSessionId']??null;const _0xac6f10=_0x57aaaf['checklistItems']['filter'](_0x5ba9cc=>_0x5ba9cc[_0x24fd6f(0x173)]===_0x20c4d8);_0x26b649=_0xac6f10['some'](_0x26068d=>_0x26068d[_0x24fd6f(0x174)]!=='verified'&&_0x26068d['status']!=='blocked'&&_0x26068d[_0x24fd6f(0x174)]!=='closed'&&_0x26068d[_0x24fd6f(0x174)]!==_0x24fd6f(0x164)),_0x4bcffe=_0xac6f10['some'](_0x555391=>_0x555391[_0x24fd6f(0x174)]===_0x24fd6f(0x16d));}catch{}if(_0x193c8f[_0x24fd6f(0x170)](_0x24f4fb,_0x20c4d8)&&_0x26b649){if(!_0x4bcffe&&_0x193c8f['YQbuj'](shouldShowStopReminder,_0x16fe5f)){const _0x5855a5={'hookSpecificOutput':{'hookEventName':'Stop','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'+_0x19db42}};console['log'](JSON[_0x24fd6f(0x171)](_0x5855a5));}}if(_0x24f4fb&&_0x20c4d8&&!_0x26b649)try{await concludeSession(_0x394d4f['featureId'],_0x20c4d8);}catch{}await trackStop(_0x16fe5f,!![],_0x2f1321);return;}catch{await _0x193c8f[_0x24fd6f(0x163)](trackStop,_0x16fe5f,!![],_0x2f1321);return;}}function _0x5eb6(){const _0x1bd5be=['BugvN','10888088sRlOpq','wQJwD','https://dashboard.ranger.net/features/','verification_in_progress','hook:stop','310UODSlO','WpuaK','stringify','featureId','sessionId','status','735039iGWUWt','2816766uZPUKU','7azbIZb','746592dopVMe','3334055Uykgbp','miDAU','incomplete','1179QLEliC','3804teOTPR','390326JODWhQ','RIidl'];_0x5eb6=function(){return _0x1bd5be;};return _0x5eb6();}async function trackStop(_0x6eed85,_0x1b03c0,_0x2542ca){const _0x470c5d=_0x2718,_0x9dd0ae={'BugvN':function(_0x54a74d,_0x214a2d){return _0x54a74d(_0x214a2d);},'eVeKL':function(_0x2afce6,_0x2f41a9){return _0x2afce6??_0x2f41a9;},'KcIvd':'success'};try{const _0x41143f=_0x9dd0ae[_0x470c5d(0x169)](createTelemetryCollector,_0x470c5d(0x16e));await _0x41143f['trackCommandStart']({'sessionId':_0x9dd0ae['eVeKL'](_0x6eed85,undefined),'hooksEnabled':_0x1b03c0,'stopAllowed':_0x2542ca}),await _0x41143f['trackCommandEnd'](_0x9dd0ae['KcIvd']);}catch{}}
@@ -1 +1 @@
1
- (function(_0x318149,_0x59e3e8){var _0xa4edd4=_0x49f2,_0x9c6691=_0x318149();while(!![]){try{var _0xf1d736=-parseInt(_0xa4edd4(0x1d6))/0x1+-parseInt(_0xa4edd4(0x1cf))/0x2*(-parseInt(_0xa4edd4(0x1ce))/0x3)+parseInt(_0xa4edd4(0x1d5))/0x4+parseInt(_0xa4edd4(0x1d2))/0x5+parseInt(_0xa4edd4(0x1d0))/0x6+parseInt(_0xa4edd4(0x1d3))/0x7*(parseInt(_0xa4edd4(0x1d4))/0x8)+-parseInt(_0xa4edd4(0x1cd))/0x9*(parseInt(_0xa4edd4(0x1d1))/0xa);if(_0xf1d736===_0x59e3e8)break;else _0x9c6691['push'](_0x9c6691['shift']());}catch(_0x530250){_0x9c6691['push'](_0x9c6691['shift']());}}}(_0x78e5,0x7555b));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';function _0x78e5(){var _0x4d6b48=['974316ervoKS','30EnPyQG','2288395eatkIi','28JzRNWQ','350920YptsAw','1132536FbkoHX','833240mCOkvo','15786jBFvsd','360669pckwPm','4CLAXfA'];_0x78e5=function(){return _0x4d6b48;};return _0x78e5();}export{useEnv}from'./useEnv.js';function _0x49f2(_0x28eb67,_0x9716e9){_0x28eb67=_0x28eb67-0x1cd;var _0x78e504=_0x78e5();var _0x49f226=_0x78e504[_0x28eb67];return _0x49f226;}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';export{migrateProfile}from'./migrateProfile.js';
1
+ function _0x28fd(_0x8473cb,_0x4ba096){_0x8473cb=_0x8473cb-0x18d;var _0x4ddd8a=_0x4ddd();var _0x28fdc3=_0x4ddd8a[_0x8473cb];return _0x28fdc3;}(function(_0x26021a,_0x54ad8d){var _0x295339=_0x28fd,_0x3ec81a=_0x26021a();while(!![]){try{var _0x1d78f5=-parseInt(_0x295339(0x194))/0x1+parseInt(_0x295339(0x18d))/0x2*(-parseInt(_0x295339(0x195))/0x3)+parseInt(_0x295339(0x191))/0x4*(-parseInt(_0x295339(0x192))/0x5)+parseInt(_0x295339(0x196))/0x6*(-parseInt(_0x295339(0x198))/0x7)+parseInt(_0x295339(0x18e))/0x8*(parseInt(_0x295339(0x190))/0x9)+-parseInt(_0x295339(0x197))/0xa*(parseInt(_0x295339(0x18f))/0xb)+parseInt(_0x295339(0x193))/0xc;if(_0x1d78f5===_0x54ad8d)break;else _0x3ec81a['push'](_0x3ec81a['shift']());}catch(_0x5c1532){_0x3ec81a['push'](_0x3ec81a['shift']());}}}(_0x4ddd,0x76b2d));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';function _0x4ddd(){var _0x658394=['10hgoPLA','7JHnOJQ','73090PJwkFr','248TYOmeq','1126532UfXoyM','21564kMfIUg','44NAvvWF','2945XRMdoK','33099960fYwoCa','943146hsNYir','57QUkQPq','3600150AXnmXs'];_0x4ddd=function(){return _0x658394;};return _0x4ddd();}export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';