@ranger-testing/ranger-cli 3.1.6-alpha.cbf7608-55 → 3.1.7-alpha.34400c2-56

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 -1
  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 +6 -18
@@ -1 +1 @@
1
- const _0x37661b=_0x1f5e;(function(_0x1dd3dd,_0x3fb1be){const _0x842169=_0x1f5e,_0x54f061=_0x1dd3dd();while(!![]){try{const _0x34d6e7=parseInt(_0x842169(0xe3))/0x1*(parseInt(_0x842169(0x7b))/0x2)+parseInt(_0x842169(0x15c))/0x3+-parseInt(_0x842169(0x125))/0x4+parseInt(_0x842169(0x140))/0x5+-parseInt(_0x842169(0x92))/0x6*(parseInt(_0x842169(0xc4))/0x7)+-parseInt(_0x842169(0x9a))/0x8+parseInt(_0x842169(0xa1))/0x9*(parseInt(_0x842169(0x111))/0xa);if(_0x34d6e7===_0x3fb1be)break;else _0x54f061['push'](_0x54f061['shift']());}catch(_0x15160e){_0x54f061['push'](_0x54f061['shift']());}}}(_0x1022,0x69449));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x197c29 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';function _0x1f5e(_0x129a3a,_0x51f8b){_0x129a3a=_0x129a3a-0x78;const _0x102245=_0x1022();let _0x1f5e17=_0x102245[_0x129a3a];return _0x1f5e17;}import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x1105e9=>_0x37661b(0xb3)+_0x1105e9+'\x1b[0m';function getGitRepoUrl(){const _0x30bf4e=_0x37661b,_0x1fa969={'zsfdi':_0x30bf4e(0xfe),'XBjyk':_0x30bf4e(0x121),'YUuze':'github.com/'};try{const _0x5a08c2=execSync(_0x1fa969[_0x30bf4e(0x159)],{'encoding':'utf-8','stdio':[_0x1fa969['XBjyk'],'pipe','pipe']})[_0x30bf4e(0x90)]();return _0x5a08c2[_0x30bf4e(0x129)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x1fa969[_0x30bf4e(0x89)])['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x9df575=_0x37661b,_0x3a471d={'wemxQ':function(_0x34dfad,_0x2e4417,_0x413bf2){return _0x34dfad(_0x2e4417,_0x413bf2);},'wuftq':_0x9df575(0x13a),'XtIUy':_0x9df575(0x121)};try{return _0x3a471d['wemxQ'](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x3a471d[_0x9df575(0x104)],'stdio':[_0x3a471d[_0x9df575(0xcd)],'pipe','pipe']})[_0x9df575(0x90)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0xb333c0=_0x37661b,_0x153501={'HvoYS':function(_0x2f3377){return _0x2f3377();},'qLdFO':function(_0x381f13,_0x161b83){return _0x381f13(_0x161b83);},'PrcDz':function(_0x332895,_0x3c2680,_0x2709f3){return _0x332895(_0x3c2680,_0x2709f3);},'LaHZs':'utf-8'},_0xf602a1=join(_0x153501[_0xb333c0(0xc9)](getRangerDir),ACTIVE_FEATURE_FILE);if(!_0x153501[_0xb333c0(0x14f)](existsSync,_0xf602a1))return null;try{const _0x432ae0=await _0x153501[_0xb333c0(0xd6)](readFile,_0xf602a1,_0x153501['LaHZs']);return _0x432ae0['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x4354b7){const _0xa5e712=_0x37661b,_0x320902={'LXDCZ':function(_0x2fe045){return _0x2fe045();},'qgMQl':function(_0x5a9822,_0xaf1a51,_0x3d0d38,_0x2e6cf0){return _0x5a9822(_0xaf1a51,_0x3d0d38,_0x2e6cf0);},'RXMyR':'utf-8'},_0x2985e1=_0x320902['LXDCZ'](getRangerDir),_0x18d05c=join(_0x2985e1,ACTIVE_FEATURE_FILE);!existsSync(_0x2985e1)&&await mkdir(_0x2985e1,{'recursive':!![]}),await _0x320902['qgMQl'](writeFile,_0x18d05c,_0x4354b7,_0x320902[_0xa5e712(0xf1)]);}function getProgressDisplay(_0x8cdd5a){const _0x242345=_0x37661b,_0x55e890={'yQdkB':function(_0x2a36e5,_0x4350d3){return _0x2a36e5+_0x4350d3;},'EkdWD':function(_0x3bd40d,_0x35e805){return _0x3bd40d+_0x35e805;},'nDdHU':function(_0x48cbaf,_0x242853){return _0x48cbaf===_0x242853;},'NJJCb':function(_0x4f336a,_0x17e511){return _0x4f336a*_0x17e511;},'jChKF':function(_0xc056a5,_0x3d1212){return _0xc056a5+_0x3d1212;},'PpgSu':function(_0x4ee397,_0x40eb0e){return _0x4ee397-_0x40eb0e;},'UwMwU':function(_0x19dba4,_0x3c5b9d){return _0x19dba4>_0x3c5b9d;}},_0x23505c=_0x8cdd5a[_0x242345(0x12d)]||0x0,_0x1b5ca3=_0x8cdd5a['verificationInProgressItems']||0x0,_0x5a68a0=_0x8cdd5a['blockedItems']||0x0,_0x49c538=_0x8cdd5a[_0x242345(0x145)]||0x0,_0x147bb8=_0x8cdd5a[_0x242345(0x8d)]||0x0,_0x39dc7f=_0x55e890[_0x242345(0x100)](_0x55e890[_0x242345(0xa6)](_0x23505c+_0x1b5ca3+_0x5a68a0,_0x49c538),_0x147bb8);if(_0x55e890[_0x242345(0xa9)](_0x39dc7f,0x0))return'-';const _0x2e9e58=0xa,_0x324404=Math['round'](_0x55e890[_0x242345(0xaf)](_0x23505c/_0x39dc7f,_0x2e9e58)),_0x3b2786=_0x55e890['jChKF']('█'[_0x242345(0xd9)](_0x324404),'░'['repeat'](_0x55e890[_0x242345(0x148)](_0x2e9e58,_0x324404))),_0xc7d8ee=[];if(_0x5a68a0>0x0)_0xc7d8ee[_0x242345(0xb9)](_0x5a68a0+_0x242345(0xee));if(_0x49c538>0x0)_0xc7d8ee['push'](_0x49c538+_0x242345(0x116));if(_0x55e890['UwMwU'](_0x1b5ca3,0x0))_0xc7d8ee['push'](_0x1b5ca3+_0x242345(0x91));const _0x207f07=_0xc7d8ee['length']>0x0?'\x20('+_0xc7d8ee[_0x242345(0xe2)](',\x20')+')':'';return _0x3b2786+'\x20'+_0x23505c+'/'+_0x39dc7f+'\x20verified'+_0x207f07;}function getCurrentSessionItems(_0x664041,_0xb0d66d){const _0x2aa489=_0x37661b;if(!_0x664041[_0x2aa489(0xc2)])return _0xb0d66d[_0x2aa489(0x135)](_0x33ed9e=>!_0x33ed9e[_0x2aa489(0xcf)]);return _0xb0d66d[_0x2aa489(0x135)](_0x270ec1=>_0x270ec1[_0x2aa489(0xcf)]===_0x664041[_0x2aa489(0xc2)]||!_0x270ec1['sessionId']);}function displayFeature(_0x1b1947,_0x1c73b1){const _0x387a89=_0x37661b,_0x815cf0={'rtyjS':function(_0x1aaf62,_0x3f28bc){return _0x1aaf62(_0x3f28bc);},'evMWi':function(_0x3ccea4,_0x3fd6c0){return _0x3ccea4>_0x3fd6c0;},'VZsfs':function(_0x2231ea,_0x13e9b2){return _0x2231ea<_0x13e9b2;},'YKrYo':function(_0x5e0ada,_0x18e956){return _0x5e0ada===_0x18e956;},'Rfhdp':'verified','HwOae':'incomplete','RLiMC':function(_0x117361,_0x398c87){return _0x117361===_0x398c87;},'zlxAM':function(_0x1cc8b3,_0x277ccc){return _0x1cc8b3===_0x277ccc;},'hHRsd':'verification_in_progress','lQuLK':function(_0x5db6e0,_0x4c8c38){return _0x5db6e0>_0x4c8c38;},'FzZDT':'\x20[has\x20reviewer\x20feedback]','ETccV':function(_0x286b63,_0x2f9edf){return _0x286b63+_0x2f9edf;},'iIKZd':function(_0x229e72,_0x2f5f54){return _0x229e72===_0x2f5f54;},'gMSHX':'approved','iZwCU':function(_0x20acac,_0x1ace6a){return _0x20acac===_0x1ace6a;}};console['log']('\x0a'+_0x1b1947['name']+'\x20('+_0x1b1947['dashboardUrl']+')');_0x1b1947['stats']&&console[_0x387a89(0x11b)]('\x20\x20\x20Progress:\x20'+_0x815cf0['rtyjS'](getProgressDisplay,_0x1b1947['stats']));_0x1b1947['description']&&console['log'](_0x387a89(0x7a)+_0x1b1947[_0x387a89(0x83)]);_0x1b1947[_0x387a89(0x158)]&&console['log']('\x20\x20\x20Repository:\x20'+_0x1b1947[_0x387a89(0x158)]);_0x1b1947[_0x387a89(0xd7)]&&console[_0x387a89(0x11b)]('\x20\x20\x20Branch:\x20'+_0x1b1947[_0x387a89(0xd7)]);console[_0x387a89(0x11b)]('\x20\x20\x20Created:\x20'+new Date(_0x1b1947['createdAt'])[_0x387a89(0x9d)]());_0x1b1947[_0x387a89(0x78)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x1b1947['completedAt'])[_0x387a89(0x9d)]());if(_0x1c73b1&&_0x815cf0['evMWi'](_0x1c73b1[_0x387a89(0x139)],0x0)){console[_0x387a89(0x11b)]('\x0a\x20\x20\x20Scenarios:');for(let _0x4492fc=0x0;_0x815cf0['VZsfs'](_0x4492fc,_0x1c73b1[_0x387a89(0x139)]);_0x4492fc++){const _0xeac11d=_0x1c73b1[_0x4492fc];let _0x6db586;if(_0xeac11d[_0x387a89(0x8a)]===_0x387a89(0x15a)&&_0x815cf0['YKrYo'](_0xeac11d[_0x387a89(0x7f)],'approved'))_0x6db586='✅';else{if(_0xeac11d['status']===_0x815cf0[_0x387a89(0x81)])_0x6db586='🟢';else{if(_0xeac11d['status']===_0x815cf0[_0x387a89(0xbc)])_0x6db586='🟠';else{if(_0xeac11d['status']==='blocked')_0x6db586='🛑';else{if(_0x815cf0[_0x387a89(0x118)](_0xeac11d[_0x387a89(0x8a)],'closed'))_0x6db586='⛔';else _0x815cf0[_0x387a89(0xb7)](_0xeac11d[_0x387a89(0x8a)],_0x815cf0[_0x387a89(0xa3)])?_0x6db586='⏳':_0x6db586='⬜';}}}}const _0xa7f1c4=_0xeac11d[_0x387a89(0xe0)]>0x1?_0x387a89(0xb1)+_0xeac11d['version']+')':'',_0x181a36=_0x815cf0['lQuLK'](_0xeac11d[_0x387a89(0xe0)],0x1)&&_0xeac11d['parentItemId']&&_0xeac11d[_0x387a89(0x8a)]!==_0x387a89(0x15a)&&_0xeac11d[_0x387a89(0x8a)]!=='verified'?_0x815cf0[_0x387a89(0x9e)]:'';console[_0x387a89(0x11b)](_0x387a89(0xdc)+_0x815cf0[_0x387a89(0x9b)](_0x4492fc,0x1)+'.\x20'+_0x6db586+'\x20'+_0xeac11d[_0x387a89(0x83)]+_0xa7f1c4+_0x181a36);_0x815cf0[_0x387a89(0xf4)](_0xeac11d['status'],'blocked')&&_0xeac11d[_0x387a89(0x115)]&&console['log'](_0x387a89(0x9c)+_0xeac11d['blockedReason']);_0xeac11d[_0x387a89(0x8a)]===_0x815cf0[_0x387a89(0xbc)]&&_0xeac11d['incompleteReason']&&console[_0x387a89(0x11b)](_0x387a89(0x127)+_0xeac11d['incompleteReason']);if(_0xeac11d['status']==='closed'&&_0x815cf0[_0x387a89(0xb7)](_0xeac11d['terminalReason'],_0x815cf0[_0x387a89(0x124)]))console[_0x387a89(0x11b)]('\x20\x20\x20\x20\x20\x20Approved');else _0x815cf0[_0x387a89(0x117)](_0xeac11d['status'],_0x387a89(0x15a))&&_0xeac11d[_0x387a89(0xba)]&&console['log'](_0x387a89(0x87)+_0xeac11d['canceledReason']);}}}export async function featureCreate(_0xa4dec8,_0x3ca08a){const _0x591e81=_0x37661b,_0x2c0407={'rRrzR':function(_0x2070e7,_0x487f62){return _0x2070e7===_0x487f62;},'GDiry':function(_0x5db21b){return _0x5db21b();},'tPJee':function(_0x2d4164,_0x1dc7cb){return _0x2d4164===_0x1dc7cb;},'pchMM':function(_0x5c9d35){return _0x5c9d35();},'TZYVP':'\x0aCreating\x20feature\x20review...','zORWA':function(_0x14cf61,_0x2d29ff){return _0x14cf61(_0x2d29ff);},'uMKuo':function(_0x4d1256,_0x490a4d,_0x1da2d4){return _0x4d1256(_0x490a4d,_0x1da2d4);}},{envNames:_0x16fa0a}=await getEnvNames();if(_0x2c0407[_0x591e81(0xb5)](_0x16fa0a['length'],0x0)&&!process[_0x591e81(0x110)][_0x591e81(0x10a)]){let _0x67f2b2=0x0;try{_0x67f2b2=(await _0x2c0407['GDiry'](listCloudProfiles))[_0x591e81(0x139)];}catch{_0x67f2b2=0x1;}_0x2c0407[_0x591e81(0xcc)](_0x67f2b2,0x0)&&console[_0x591e81(0x7d)]('\x0a'+formatProfileRequiredMessage(_0x33d81f=>bold(_0x33d81f)));}const _0x4e4643=_0x3ca08a[_0x591e81(0xdd)]?_0x3ca08a[_0x591e81(0xdd)][_0x591e81(0xf2)](_0x48f0b9=>_0x48f0b9['trim']()):[],_0x9fe15=_0x2c0407['pchMM'](getGitRepoUrl),_0x8c43f0=getGitBranch();console[_0x591e81(0x11b)](_0x2c0407[_0x591e81(0xd8)]);const _0x46cbfd=await _0x2c0407[_0x591e81(0x13c)](createFeature,{'name':_0xa4dec8,'description':_0x3ca08a['description'],'checklist':_0x4e4643,'gitRepoUrl':_0x9fe15,'gitBranch':_0x8c43f0});await _0x2c0407[_0x591e81(0x13c)](setActiveFeatureId,_0x46cbfd['id']),await _0x2c0407['zORWA'](tryStartCurrentSession,_0x46cbfd['id']);const _0x5bcd46=process['env'][_0x591e81(0x107)];_0x5bcd46&&_0x2c0407['uMKuo'](registerSession,_0x5bcd46,_0x46cbfd['id']),console['log'](_0x591e81(0xae)+_0x46cbfd['id']),displayFeature(_0x46cbfd,_0x46cbfd['checklistItems']),console[_0x591e81(0x11b)](_0x591e81(0x84));}export async function featureList(_0x35a33f){const _0x2a65f6=_0x37661b,_0x5c5414={'JuCAS':function(_0x1f2e2a){return _0x1f2e2a();},'SKZJY':function(_0x38b64b,_0x473e4a){return _0x38b64b(_0x473e4a);},'xbWkP':function(_0x3dfaf9,_0x51ab90){return _0x3dfaf9===_0x51ab90;},'jiJJQ':'\x0aNo\x20feature\x20reviews\x20found.','LBtvO':function(_0x170ce6,_0x31faac){return _0x170ce6>_0x31faac;},'GqQmT':function(_0x10c1da,_0x23604d){return _0x10c1da<_0x23604d;}},_0x12ef8d={'limit':_0x35a33f[_0x2a65f6(0x130)]??0xa,'offset':_0x35a33f['offset']??0x0,'includeDeleted':_0x35a33f['includeDeleted']};_0x35a33f[_0x2a65f6(0x95)]&&(_0x12ef8d['gitRepoUrl']=_0x5c5414['JuCAS'](getGitRepoUrl),_0x12ef8d[_0x2a65f6(0xd7)]=getGitBranch());const _0x35d658=await _0x5c5414[_0x2a65f6(0xac)](listFeatures,_0x12ef8d);if(_0x5c5414['xbWkP'](_0x35d658['items'][_0x2a65f6(0x139)],0x0)){console['log'](_0x5c5414['jiJJQ']);return;}const _0x1122d5=_0x5c5414['LBtvO'](_0x35d658['totalCount'],_0x35d658['items'][_0x2a65f6(0x139)])?'Showing\x20'+_0x35d658['items'][_0x2a65f6(0x139)]+_0x2a65f6(0xd3)+_0x35d658[_0x2a65f6(0xef)]:_0x35d658[_0x2a65f6(0xef)]+_0x2a65f6(0xc8);console[_0x2a65f6(0x11b)]('\x0a'+_0x1122d5+':\x0a');for(const _0x5d2438 of _0x35d658['items']){console['log'](''+_0x5d2438[_0x2a65f6(0xfc)]),console['log'](_0x2a65f6(0x147)+_0x5d2438['id']),_0x5d2438['stats']&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x5d2438[_0x2a65f6(0x8c)])),_0x5d2438[_0x2a65f6(0xd7)]&&console['log'](_0x2a65f6(0x143)+_0x5d2438[_0x2a65f6(0xd7)]),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x5d2438['createdAt'])['toLocaleDateString']()),console[_0x2a65f6(0x11b)]('');}const _0x30f722=_0x12ef8d[_0x2a65f6(0x130)]??0xa,_0x58e944=(_0x12ef8d['offset']??0x0)+_0x35d658['items'][_0x2a65f6(0x139)];if(_0x5c5414['GqQmT'](_0x58e944,_0x35d658['totalCount'])){const _0x1d32c8=_0x30f722!==0xa?_0x2a65f6(0x14d)+_0x30f722:'',_0x54c2b5=_0x35a33f[_0x2a65f6(0x95)]?'\x20--current-branch':'',_0x4254ff=_0x35a33f['includeDeleted']?'\x20--include-deleted':'';console['log'](_0x2a65f6(0xbd)+_0x58e944+_0x1d32c8+_0x54c2b5+_0x4254ff);}}export async function featureShow(_0x2b6e5a){const _0x48ca60=_0x37661b,_0x3ef3e2={'fkXym':function(_0x4703a4,_0x3d496a){return _0x4703a4(_0x3d496a);}},_0x437c4c=_0x2b6e5a||await getActiveFeatureId();if(!_0x437c4c)throw new Error(_0x48ca60(0x8b));const _0x1ff436=await _0x3ef3e2[_0x48ca60(0xfa)](getFeature,_0x437c4c);displayFeature(_0x1ff436,_0x1ff436['checklistItems']);}export async function featureResume(_0x3622e8){const _0x3d093e=_0x37661b,_0x1e2390={'sWhsi':function(_0x574924,_0x58d6b1){return _0x574924(_0x58d6b1);},'HaEHq':function(_0x13cc77){return _0x13cc77();},'ImDHB':function(_0x189303,_0x80df83){return _0x189303!==_0x80df83;},'PALil':function(_0x8f63ae,_0x51a8d3,_0x53789e){return _0x8f63ae(_0x51a8d3,_0x53789e);},'ldGWR':'Not\x20in\x20a\x20git\x20repository.','iMHsj':function(_0x148906,_0x46e16b){return _0x148906||_0x46e16b;},'AoZUh':_0x3d093e(0x10e),'TTQPr':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','BCbMa':_0x3d093e(0x7c),'GDWAM':function(_0x4f3d6d,_0x2d0c33){return _0x4f3d6d(_0x2d0c33);},'dtDMv':_0x3d093e(0xc7),'ATqew':'list','xTMlq':function(_0x552c57,_0x53e4a3){return _0x552c57!==_0x53e4a3;},'IdLst':function(_0x3acdb5,_0x1a4f5f){return _0x3acdb5(_0x1a4f5f);}};if(_0x3622e8){const _0x366467=await getFeature(_0x3622e8);await _0x1e2390[_0x3d093e(0xdb)](setActiveFeatureId,_0x366467['id']);const _0x6dd1a8=_0x1e2390[_0x3d093e(0xb8)](getGitBranch);_0x6dd1a8&&_0x1e2390[_0x3d093e(0xb0)](_0x6dd1a8,_0x366467[_0x3d093e(0xd7)])&&(await _0x1e2390['PALil'](updateFeature,_0x366467['id'],{'gitBranch':_0x6dd1a8}),console[_0x3d093e(0x11b)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x6dd1a8));console[_0x3d093e(0x11b)](_0x3d093e(0x133)+_0x366467[_0x3d093e(0xfc)]+'\x20('+_0x366467['id']+')'),await _0x1e2390[_0x3d093e(0xdb)](tryStartCurrentSession,_0x366467['id']);const _0x57dce6=process['env'][_0x3d093e(0x107)];_0x57dce6&&_0x1e2390[_0x3d093e(0x108)](registerSession,_0x57dce6,_0x366467['id']);displayFeature(_0x366467,_0x366467[_0x3d093e(0x106)]),await _0x1e2390['sWhsi'](printFeedbackNudge,_0x366467['id']);return;}const _0x535e81=getGitRepoUrl(),_0x144ed1=getGitBranch();if(!_0x535e81&&!_0x144ed1)throw new Error(_0x1e2390[_0x3d093e(0xea)]);console[_0x3d093e(0x11b)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x1e2390['iMHsj'](_0x535e81,'any')+_0x3d093e(0x126)+(_0x144ed1||_0x1e2390['AoZUh'])+_0x3d093e(0x10b));const _0x4bdc3a=await listFeatures({'gitRepoUrl':_0x535e81,'gitBranch':_0x144ed1}),_0x5a23d4=_0x4bdc3a['items']['filter'](_0x355524=>_0x355524['status']?_0x355524[_0x3d093e(0x8a)]!=='verified':!_0x355524['completedAt']);if(_0x5a23d4[_0x3d093e(0x139)]===0x0){console[_0x3d093e(0x11b)](_0x1e2390[_0x3d093e(0x14a)]),console['log'](_0x3d093e(0x112));return;}let _0x215d12;if(_0x5a23d4['length']===0x1)_0x215d12=_0x5a23d4[0x0];else{const _0x18bdc6=process['stdin']['isTTY']&&process['stdout'][_0x3d093e(0x98)];if(!_0x18bdc6){console[_0x3d093e(0x11b)](_0x1e2390['BCbMa']);for(const _0x206ef7 of _0x5a23d4){console['log']('\x20\x20'+_0x206ef7[_0x3d093e(0xfc)]),console[_0x3d093e(0x11b)]('\x20\x20\x20\x20\x20ID:\x20'+_0x206ef7['id']),_0x206ef7['stats']&&console[_0x3d093e(0x11b)](_0x3d093e(0x101)+_0x1e2390[_0x3d093e(0xf0)](getProgressDisplay,_0x206ef7['stats'])),_0x206ef7[_0x3d093e(0xd7)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x206ef7[_0x3d093e(0xd7)]);}throw new Error(_0x1e2390[_0x3d093e(0x9f)]);}const {selected:_0x43615c}=await _0x197c29['prompt']([{'type':_0x1e2390['ATqew'],'name':'selected','message':_0x3d093e(0x12a),'choices':_0x5a23d4['map'](_0x35f1cf=>({'name':_0x35f1cf['name']+'\x20('+_0x35f1cf['id']+')','value':_0x35f1cf['id']}))}]);_0x215d12=_0x5a23d4['find'](_0x3e3a21=>_0x3e3a21['id']===_0x43615c);}await _0x1e2390['sWhsi'](setActiveFeatureId,_0x215d12['id']);_0x144ed1&&_0x1e2390[_0x3d093e(0x119)](_0x144ed1,_0x215d12['gitBranch'])&&(await updateFeature(_0x215d12['id'],{'gitBranch':_0x144ed1}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x144ed1));console[_0x3d093e(0x11b)](_0x3d093e(0x133)+_0x215d12[_0x3d093e(0xfc)]+'\x20('+_0x215d12['id']+')'),await tryStartCurrentSession(_0x215d12['id']);const _0x358ffb=await _0x1e2390['sWhsi'](getFeature,_0x215d12['id']),_0x1599cc=process['env']['CLAUDE_SESSION_ID'];_0x1599cc&&registerSession(_0x1599cc,_0x358ffb['id']),displayFeature(_0x358ffb,_0x358ffb['checklistItems']),await _0x1e2390[_0x3d093e(0x105)](printFeedbackNudge,_0x358ffb['id']);}function _0x1022(){const _0x3078b4=['Gtomu','\x20--limit\x20','nYVxK','qLdFO','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x20\x20\x20Status:\x20','qYoHH','\x0a📋\x20Feedback\x20for:\x20','XHGXi','1|5|0|3|4|2','toFixed','gckSN','gitRepoUrl','zsfdi','closed','epMjq','1904886VwqRNl','completedAt','\x0aGenerating\x20report...','\x20\x20\x20Description:\x20','2WzjECO','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','warn','assetUrl','terminalReason','ready','Rfhdp','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','description','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','\x20Session\x20','screenshot','\x20\x20\x20\x20\x20\x20Cancelled:\x20','HenbW','YUuze','status','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','stats','pendingItems','point','\x0a✅\x20Restored\x20feature\x20review:\x20','trim','\x20in\x20progress','258QUrWei','stringify','pnTqe','currentBranch','oEuAo','LeERv','isTTY','find','3363072LerwSH','ETccV','\x20\x20\x20\x20\x20\x20Blocked:\x20','toLocaleString','FzZDT','dtDMv','scenario','603621dXlJKT','FLSOc','hHRsd','ykKBF','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','EkdWD','\x0a✅\x20Report\x20generated:\x20','stepName','nDdHU','edanJ','isKeyStep','SKZJY','all','\x0a✅\x20Feature\x20review\x20created:\x20','NJJCb','ImDHB','\x20(v','error','\x1b[1m','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','rRrzR','\x0a✅\x20Session\x20','zlxAM','HaEHq','push','canceledReason','.png','HwOae','Next\x20page:\x20ranger\x20list\x20--offset\x20','KTdjJ','in_progress','ZmeUZ','domRef','currentSessionId','hvwkm','6419mQYpqL','comment_','\x20scenarios.','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','\x20feature\x20review(s)\x20found','HvoYS','browserSessionId','authorEmail','tPJee','XtIUy','\x20\x20\x20▶️\x20Started\x20session\x20','sessionId','exit','\x20at\x20[','JoViK','\x20of\x20','\x0aAvailable\x20scenarios:','numeric','PrcDz','gitBranch','TZYVP','repeat','from','sWhsi','\x20\x20\x20','scenarios','\x20concluded.','RTOIL','version','\x20—\x20no\x20comments','join','293911mFnHkm','xfkLX','\x0a❌\x20Invalid\x20scenario\x20index:\x20','ymjfM','selector','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','Screenshot\x20','ldGWR','PUxiA','.\x20Feature\x20review\x20has\x20','\x0a✅\x20Scenario\x20updated','\x20blocked','totalCount','GDWAM','RXMyR','map','trimEnd','iIKZd','split','\x20>\x20','incompleteReason','Step\x20','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','fkXym','assets','name','feedback-images','git\x20remote\x20get-url\x20origin','kotoN','yQdkB','\x20\x20\x20\x20\x20Progress:\x20','\x20\x20Expected\x20flow:','AdHTD','wuftq','IdLst','checklistItems','CLAUDE_SESSION_ID','PALil','dashboardUrl','RANGER_TEST_USERNAME','...','content','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','any','has','env','40xeyMYM','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','completed','write','blockedReason','\x20incomplete','iZwCU','RLiMC','xTMlq','ArLjC','log','location','notes','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','\x20\x20\x20\x20','SwuIk','pipe','.md','Iwdje','gMSHX','1742780nEjOUI','\x20/\x20','\x20\x20\x20\x20\x20\x20Incomplete:\x20','No\x20scenarios\x20found.','replace','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','No\x20sessions\x20found.','LBFJv','verifiedItems','ajdGe','ZCNdm','limit','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','iteration','\x0a✅\x20Resumed\x20feature\x20review:\x20','coordinates','filter','spatial','screenshotUrls','stdout','length','utf-8','linkedSession','zORWA','Scenario\x20','type','unaddressedComments','647690OoFULr','vYrZi','pDcyJ','\x20\x20\x20Branch:\x20','latestReview','incompleteItems','\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','\x20\x20\x20ID:\x20','PpgSu','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','TTQPr','\x20\x20\x20Created:\x20'];_0x1022=function(){return _0x3078b4;};return _0x1022();}async function printFeedbackNudge(_0x180449){const _0x812aea=_0x37661b,_0x1ab7ef={'RTOIL':function(_0x193c3c,_0x152870,_0xf89874){return _0x193c3c(_0x152870,_0xf89874);}};try{const {items:_0x55ac47}=await getActionItems(_0x180449);let _0x5d1331=0x0,_0x571d5e=0x0;for(const _0x37c322 of _0x55ac47){const _0x3b4aed=await _0x1ab7ef[_0x812aea(0xdf)](getItemFeedback,_0x180449,_0x37c322['id']);_0x3b4aed['unaddressedComments']['length']>0x0&&(_0x5d1331+=_0x3b4aed['unaddressedComments']['length'],_0x571d5e++);}_0x5d1331>0x0&&(console['log']('\x0a⚠️\x20\x20'+_0x5d1331+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x571d5e+'\x20scenario(s).'),console['log']('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}async function tryStartCurrentSession(_0x26445e){const _0x1fcb19=_0x37661b;try{const {sessions:_0x55eb26}=await listFeatureSessions(_0x26445e),_0x19ef71=_0x55eb26['find'](_0x3bf78a=>_0x3bf78a[_0x1fcb19(0x8a)]===_0x1fcb19(0x80));_0x19ef71&&(await startSession(_0x26445e,_0x19ef71['id']),console[_0x1fcb19(0x11b)](_0x1fcb19(0xce)+_0x19ef71[_0x1fcb19(0x132)]));}catch{}}export async function featureReport(_0x47d9c8,_0x57389b){const _0x242f80=_0x37661b,_0xaf5b05={'SwuIk':_0x242f80(0x79),'SmLfy':function(_0xc6427e,_0x7799fd,_0x922f0d,_0x257aeb){return _0xc6427e(_0x7799fd,_0x922f0d,_0x257aeb);},'dwIwn':'reports','DuKIZ':function(_0x37dc81,_0x48709a,_0x4d9013){return _0x37dc81(_0x48709a,_0x4d9013);},'hvwkm':function(_0x197127,_0x4583e0){return _0x197127(_0x4583e0);},'HenbW':function(_0xd6a510,_0x3c6176,_0x3b80b7,_0x4c67a3){return _0xd6a510(_0x3c6176,_0x3b80b7,_0x4c67a3);},'nYVxK':_0x242f80(0x13a)},_0x5da2c7=_0x47d9c8||await getActiveFeatureId();if(!_0x5da2c7)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console[_0x242f80(0x11b)](_0xaf5b05[_0x242f80(0x120)]);const _0x252b26=await getFeatureReportMarkdown(_0x5da2c7,{'style':_0x57389b['style']}),_0x315c1d=_0x57389b['output']||_0xaf5b05['SmLfy'](join,getRangerDir(),_0xaf5b05['dwIwn'],_0x5da2c7+_0x242f80(0x122)),_0x1a7bf7=_0xaf5b05['DuKIZ'](join,_0x315c1d,'..');!_0xaf5b05[_0x242f80(0xc3)](existsSync,_0x1a7bf7)&&await mkdir(_0x1a7bf7,{'recursive':!![]}),await _0xaf5b05[_0x242f80(0x88)](writeFile,_0x315c1d,_0x252b26,_0xaf5b05[_0x242f80(0x14e)]),console[_0x242f80(0x11b)](_0x242f80(0xa7)+_0x315c1d);}function getScenarioResult(_0x2ab53b){const _0x4da4ec=_0x37661b,_0x1efcc9={'pvKKn':'verification_in_progress','dMxPb':_0x4da4ec(0xbf)};if(_0x2ab53b['status']==='closed')return _0x2ab53b['terminalReason']??'closed';if(_0x2ab53b[_0x4da4ec(0x8a)]===_0x1efcc9['pvKKn'])return _0x1efcc9['dMxPb'];return _0x2ab53b['status'];}function getScenarioRationale(_0x202f25,_0x33e55f){const _0x1ad728=_0x37661b,_0x504097=_0x1ad728(0x155)['split']('|');let _0x422ed4=0x0;while(!![]){switch(_0x504097[_0x422ed4++]){case'0':if(_0x202f25[_0x1ad728(0xf7)])return _0x202f25[_0x1ad728(0xf7)];continue;case'1':if(_0x33e55f)return _0x33e55f;continue;case'2':return null;case'3':if(_0x202f25[_0x1ad728(0xba)])return _0x202f25[_0x1ad728(0xba)];continue;case'4':if(_0x202f25['notes'])return _0x202f25[_0x1ad728(0x11d)];continue;case'5':if(_0x202f25[_0x1ad728(0x115)])return _0x202f25[_0x1ad728(0x115)];continue;}break;}}export async function featureReportPrDescription(_0x3962cb,_0x4543c6){const _0x714b3a=_0x37661b,_0x3c0ff3={'PZRsu':function(_0x51841f){return _0x51841f();},'ZmeUZ':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','Iwdje':function(_0x1e5096,_0x545354){return _0x1e5096>_0x545354;},'APGmx':'\x0aAvailable\x20scenarios:','AdHTD':function(_0x5652a2,_0x407b68){return _0x5652a2<_0x407b68;},'bfKjC':function(_0x5e8e77,_0x405f2c){return _0x5e8e77+_0x405f2c;}},_0x2bb8af=_0x3962cb||await _0x3c0ff3['PZRsu'](getActiveFeatureId);if(!_0x2bb8af)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0x211785=await getFeature(_0x2bb8af),_0x24b358=_0x211785[_0x714b3a(0x106)]||[],_0x8ff83c=getCurrentSessionItems(_0x211785,_0x24b358);_0x8ff83c[_0x714b3a(0x139)]===0x0&&(console[_0x714b3a(0xb2)](_0x3c0ff3[_0x714b3a(0xc0)]),process[_0x714b3a(0xd0)](0x1));const _0x5b9cfa=_0x4543c6['excludeScenarios']??[],_0x43ab57=_0x5b9cfa[_0x714b3a(0x135)](_0x302712=>!Number['isInteger'](_0x302712)||_0x302712<0x1||_0x302712>_0x8ff83c[_0x714b3a(0x139)]);if(_0x3c0ff3[_0x714b3a(0x123)](_0x43ab57[_0x714b3a(0x139)],0x0)){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x43ab57[_0x714b3a(0xe2)](',\x20')),console[_0x714b3a(0x11b)](_0x3c0ff3['APGmx']);for(let _0x274b8c=0x0;_0x3c0ff3[_0x714b3a(0x103)](_0x274b8c,_0x8ff83c[_0x714b3a(0x139)]);_0x274b8c++){console['log']('\x20\x20'+_0x3c0ff3['bfKjC'](_0x274b8c,0x1)+'.\x20'+_0x8ff83c[_0x274b8c][_0x714b3a(0x83)]);}process[_0x714b3a(0xd0)](0x1);}const _0x2e9ccb=new Set(_0x5b9cfa[_0x714b3a(0xf2)](_0x1999ed=>_0x1999ed-0x1)),_0x3c479f=_0x8ff83c['filter']((_0x3d9771,_0x51668d)=>!_0x2e9ccb[_0x714b3a(0x10f)](_0x51668d));_0x3c479f[_0x714b3a(0x139)]===0x0&&(console[_0x714b3a(0xb2)](_0x714b3a(0x10d)),process[_0x714b3a(0xd0)](0x1));if(_0x4543c6['json'])await outputJsonReport(_0x2bb8af,_0x211785,_0x3c479f);else{const _0x2356fe=await getFeatureReportMarkdown(_0x2bb8af,{'itemIds':_0x3c479f['map'](_0x4e9996=>_0x4e9996['id'])});process[_0x714b3a(0x138)][_0x714b3a(0x114)](_0x2356fe[_0x714b3a(0xf3)]()+'\x0a');}}async function outputJsonReport(_0x4217c8,_0x1a51ec,_0x54d868){const _0x562f1c=_0x37661b,_0x422756={'gckSN':function(_0x88f190,_0x2cab41){return _0x88f190>_0x2cab41;},'nCfrm':function(_0x49823f,_0x340c06){return _0x49823f===_0x340c06;},'qYoHH':function(_0x118218,_0x48cdb0,_0x5aa756){return _0x118218(_0x48cdb0,_0x5aa756);}},_0x41941a=getApiBaseUrl(),_0x4862a3=await getFeatureReport(_0x4217c8),_0x46d67a=new Map(_0x4862a3['checklistItems'][_0x562f1c(0xf2)](_0x1cf5a1=>[_0x1cf5a1['id'],_0x1cf5a1])),_0x24da65=await Promise[_0x562f1c(0xad)](_0x54d868[_0x562f1c(0xf2)](async _0x5243ba=>{const _0x24e061=_0x562f1c,_0x1f9c7d=_0x46d67a['get'](_0x5243ba['id']),_0x2a57cd=_0x1f9c7d?.[_0x24e061(0x13b)]??null;let _0x489f70=[];if(_0x5243ba[_0x24e061(0xca)])try{const {steps:_0x3a5f91}=await getBrowserSessionSteps(_0x5243ba[_0x24e061(0xca)]);_0x422756[_0x24e061(0x157)](_0x3a5f91[_0x24e061(0x139)],0x0)&&(_0x489f70=_0x3a5f91['map'](_0x7d09ae=>{const _0x11f3b8=_0x24e061,_0x426c78=_0x7d09ae[_0x11f3b8(0xfb)][_0x11f3b8(0x99)](_0x45a1c8=>_0x45a1c8['assetType']===_0x11f3b8(0x86)&&_0x45a1c8['timing']==='after')??_0x7d09ae[_0x11f3b8(0xfb)]['find'](_0x56d70b=>_0x56d70b['assetType']==='screenshot');let _0x3b203c=null,_0x5a8c62=null;if(_0x426c78){const _0xf589f7=_0x426c78['storage'][_0x11f3b8(0x11c)][_0x11f3b8(0xf5)]('/')['pop']();_0x3b203c=_0x41941a+'/api/v1/mcp/browser-sessions/'+_0x5243ba[_0x11f3b8(0xca)]+'/artifacts/'+_0xf589f7,_0xf589f7&&(_0x5a8c62=_0xf589f7['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x11f3b8(0x129)](/[-_]/g,'\x20'));}return{'description':_0x5a8c62||_0x7d09ae[_0x11f3b8(0x83)]||_0x7d09ae[_0x11f3b8(0xa8)]||_0x11f3b8(0xf8)+_0x7d09ae['position'],'screenshot':_0x3b203c,'is_key_step':_0x7d09ae[_0x11f3b8(0xab)]};}));}catch{}return _0x422756['nCfrm'](_0x489f70[_0x24e061(0x139)],0x0)&&_0x2a57cd?.['screenshotUrls']&&(_0x489f70=_0x2a57cd[_0x24e061(0x137)][_0x24e061(0xf2)]((_0x3ac8a9,_0x200736)=>({'description':_0x24e061(0xe9)+(_0x200736+0x1),'screenshot':_0x3ac8a9,'is_key_step':![]}))),{'description':_0x5243ba['description'],'result':getScenarioResult(_0x5243ba),'rationale':_0x422756[_0x24e061(0x152)](getScenarioRationale,_0x5243ba,_0x2a57cd?.['agentResponse']),'steps':_0x489f70};})),_0x1b4bc0={'url':_0x1a51ec['dashboardUrl'],'scenarios':_0x24da65};process[_0x562f1c(0x138)][_0x562f1c(0x114)](JSON[_0x562f1c(0x93)](_0x1b4bc0,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x1609cf){const _0x7307c8=_0x37661b,_0x5db4db={'ymjfM':function(_0x467114){return _0x467114();},'DPQGY':function(_0x4a0928,_0x5f31b1){return _0x4a0928(_0x5f31b1);},'MEvNZ':'Current\x20session\x20not\x20found.','AQgcA':function(_0x5aafeb,_0x9c81d7){return _0x5aafeb===_0x9c81d7;},'pltAW':_0x7307c8(0x113),'qwyMv':_0x7307c8(0xbf),'kotoN':function(_0x3eec78,_0x55cd21,_0x472eac){return _0x3eec78(_0x55cd21,_0x472eac);}},_0x5346cf=_0x1609cf||await _0x5db4db[_0x7307c8(0xe6)](getActiveFeatureId);if(!_0x5346cf)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x850b31=await getFeature(_0x5346cf);if(!_0x850b31[_0x7307c8(0xc2)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x50eacf}=await _0x5db4db['DPQGY'](listFeatureSessions,_0x5346cf),_0x2b4c46=_0x50eacf[_0x7307c8(0x99)](_0x275378=>_0x275378['id']===_0x850b31[_0x7307c8(0xc2)]);if(!_0x2b4c46)throw new Error(_0x5db4db['MEvNZ']);if(_0x5db4db['AQgcA'](_0x2b4c46[_0x7307c8(0x8a)],_0x5db4db['pltAW'])){console[_0x7307c8(0x11b)]('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x2b4c46[_0x7307c8(0x8a)]!==_0x5db4db['qwyMv'])throw new Error(_0x7307c8(0x150)+_0x2b4c46['status']);console[_0x7307c8(0x11b)]('\x0aConcluding\x20session...'),await _0x5db4db[_0x7307c8(0xff)](concludeSession,_0x5346cf,_0x850b31[_0x7307c8(0xc2)]),console[_0x7307c8(0x11b)](_0x7307c8(0xb6)+_0x2b4c46[_0x7307c8(0x132)]+_0x7307c8(0xde)),console['log'](_0x7307c8(0xb4));}export async function featureSessions(_0x10059c){const _0x3f1f4f=_0x37661b,_0x59a8b6={'BwGmP':function(_0x3e3d28){return _0x3e3d28();},'dQrsW':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','ZoKhc':function(_0x324043,_0x295cd3){return _0x324043(_0x295cd3);},'ajdGe':_0x3f1f4f(0x113)},_0x23bae6=_0x10059c||await _0x59a8b6['BwGmP'](getActiveFeatureId);if(!_0x23bae6)throw new Error(_0x59a8b6['dQrsW']);const _0x1cb1ca=await _0x59a8b6['ZoKhc'](getFeature,_0x23bae6);console[_0x3f1f4f(0x11b)](_0x3f1f4f(0xa5)+_0x1cb1ca[_0x3f1f4f(0xfc)]+'\x0a');const {sessions:_0x4dd195}=await listFeatureSessions(_0x23bae6);if(_0x4dd195[_0x3f1f4f(0x139)]===0x0){console[_0x3f1f4f(0x11b)](_0x3f1f4f(0x12b));return;}for(const _0x2ef96c of _0x4dd195){const _0x1b807e=_0x2ef96c['status']===_0x59a8b6[_0x3f1f4f(0x12e)]?'✅':_0x2ef96c['status']===_0x3f1f4f(0xbf)?'🔄':'▶️';console['log'](_0x1b807e+_0x3f1f4f(0x85)+_0x2ef96c[_0x3f1f4f(0x132)]+'\x20('+_0x2ef96c['id']+')'),console['log'](_0x3f1f4f(0x151)+_0x2ef96c[_0x3f1f4f(0x8a)]),console[_0x3f1f4f(0x11b)](_0x3f1f4f(0x14b)+new Date(_0x2ef96c['createdAt'])['toLocaleString']()),_0x2ef96c['completedAt']&&console[_0x3f1f4f(0x11b)]('\x20\x20\x20Completed:\x20'+new Date(_0x2ef96c[_0x3f1f4f(0x78)])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0x845332,_0x1c7e52){const _0x23da86=_0x37661b,_0x212f91={'BSpkQ':function(_0x2bb94a){return _0x2bb94a();},'LeSqw':function(_0x59a741,_0x373dc4){return _0x59a741(_0x373dc4);},'ArLjC':function(_0x785069,_0x2f02a8,_0x2d4998){return _0x785069(_0x2f02a8,_0x2d4998);},'rCczE':function(_0x2d6c66,_0x5b1731){return _0x2d6c66(_0x5b1731);}},_0x3df7cf=_0x1c7e52||await _0x212f91['BSpkQ'](getActiveFeatureId);if(!_0x3df7cf)throw new Error(_0x23da86(0x8b));const _0x2d1aa1=await _0x212f91['LeSqw'](getFeature,_0x3df7cf);if(_0x2d1aa1['latestReview']&&!_0x2d1aa1[_0x23da86(0x144)]['submittedAt'])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x2d1aa1[_0x23da86(0x109)]);await _0x212f91[_0x23da86(0x11a)](createChecklistItem,_0x3df7cf,_0x845332);const _0x2eeeeb=await _0x212f91['rCczE'](getFeature,_0x3df7cf);console[_0x23da86(0x11b)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x2eeeeb,_0x2eeeeb[_0x23da86(0x106)]);}export async function featureEditScenario(_0x1ae93d,_0x572f85){const _0x901c04=_0x37661b,_0x5f0bed={'OSlOg':function(_0x2f1e2c){return _0x2f1e2c();},'edanJ':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Nvtbq':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','pnTqe':'Please\x20finish\x20your\x20review\x20first:','vYrZi':function(_0x5a2180,_0x176b95){return _0x5a2180===_0x176b95;},'xfkLX':_0x901c04(0x82),'epMjq':function(_0x533c18,_0x16b3b9){return _0x533c18===_0x16b3b9;},'woJYs':_0x901c04(0x146),'oEuAo':function(_0x39ecbc,_0x4b9f9d){return _0x39ecbc<_0x4b9f9d;},'dFnmx':function(_0x46fcfa,_0x479800){return _0x46fcfa>=_0x479800;},'ykKBF':_0x901c04(0xd4),'XHGXi':function(_0x55971f,_0x3e4461){return _0x55971f(_0x3e4461);},'LeERv':function(_0x3ac7d9,_0x11b119,_0xd55388){return _0x3ac7d9(_0x11b119,_0xd55388);}},_0x1b4ddf=_0x572f85['id']||await _0x5f0bed['OSlOg'](getActiveFeatureId);!_0x1b4ddf&&(console[_0x901c04(0xb2)](_0x5f0bed[_0x901c04(0xaa)]),console[_0x901c04(0xb2)]('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process[_0x901c04(0xd0)](0x1));const _0x62d128=await getFeature(_0x1b4ddf);_0x62d128[_0x901c04(0x144)]&&!_0x62d128['latestReview']['submittedAt']&&(console['error'](_0x5f0bed['Nvtbq']),console[_0x901c04(0xb2)](_0x5f0bed[_0x901c04(0x94)]),console[_0x901c04(0xb2)]('\x20\x20'+_0x62d128[_0x901c04(0x109)]),process[_0x901c04(0xd0)](0x1));const _0x32423d=_0x62d128['checklistItems']||[];_0x5f0bed[_0x901c04(0x141)](_0x32423d[_0x901c04(0x139)],0x0)&&(console['error'](_0x5f0bed[_0x901c04(0xe4)]),process[_0x901c04(0xd0)](0x1));if(_0x5f0bed[_0x901c04(0x15b)](_0x572f85['scenario'],undefined)){console[_0x901c04(0xb2)](_0x5f0bed['woJYs']),console['log']('\x0aAvailable\x20scenarios:');for(let _0x32dfd5=0x0;_0x32dfd5<_0x32423d['length'];_0x32dfd5++){console['log']('\x20\x20'+(_0x32dfd5+0x1)+'.\x20'+_0x32423d[_0x32dfd5][_0x901c04(0x83)]);}process[_0x901c04(0xd0)](0x1);}const _0x422a67=_0x572f85['scenario']-0x1;if(_0x5f0bed[_0x901c04(0x96)](_0x422a67,0x0)||_0x5f0bed['dFnmx'](_0x422a67,_0x32423d[_0x901c04(0x139)])){console['error'](_0x901c04(0xe5)+_0x572f85[_0x901c04(0xa0)]+_0x901c04(0xec)+_0x32423d[_0x901c04(0x139)]+_0x901c04(0xc6)),console['log'](_0x5f0bed[_0x901c04(0xa4)]);for(let _0x1072da=0x0;_0x1072da<_0x32423d['length'];_0x1072da++){console[_0x901c04(0x11b)]('\x20\x20'+(_0x1072da+0x1)+'.\x20'+_0x32423d[_0x1072da][_0x901c04(0x83)]);}process[_0x901c04(0xd0)](0x1);}const _0x24cb0c=_0x32423d[_0x422a67];await updateChecklistItem(_0x1b4ddf,_0x24cb0c['id'],{'description':_0x1ae93d});const _0x2cb78b=await _0x5f0bed[_0x901c04(0x154)](getFeature,_0x1b4ddf);console[_0x901c04(0x11b)](_0x901c04(0xed)),_0x5f0bed[_0x901c04(0x97)](displayFeature,_0x2cb78b,_0x2cb78b[_0x901c04(0x106)]);}async function downloadFeedbackImage(_0x2b8f92,_0x3ddbe5){const _0x1342d8=_0x37661b;try{const _0x3877cb=join(getRangerDir(),_0x1342d8(0xfd));await mkdir(_0x3877cb,{'recursive':!![]});const _0x118b13=join(_0x3877cb,_0x1342d8(0xc5)+_0x3ddbe5+_0x1342d8(0xbb)),_0x305e27=await fetch(_0x2b8f92);if(!_0x305e27['ok'])return null;const _0x5d0fb3=Buffer[_0x1342d8(0xda)](await _0x305e27['arrayBuffer']());return await writeFile(_0x118b13,_0x5d0fb3),_0x118b13;}catch{return null;}}export async function featureGetReview(_0x307ba0){const _0x29914f=_0x37661b,_0x23a0c5={'FLSOc':function(_0xab76a3){return _0xab76a3();},'pDcyJ':_0x29914f(0x8b),'kbEge':function(_0x2c61ca,_0x24ec4d){return _0x2c61ca(_0x24ec4d);},'KTdjJ':function(_0x4a26f7,_0x5c7cfd){return _0x4a26f7>_0x5c7cfd;},'DXCFT':function(_0x303c6c,_0x29f621){return _0x303c6c+_0x29f621;},'PUxiA':'en-US','QgrDm':_0x29914f(0xd5),'eUPyh':'Unknown','eWGGH':function(_0x3bf37c,_0x379493,_0xd82b05){return _0x3bf37c(_0x379493,_0xd82b05);},'ZCNdm':_0x29914f(0xf6),'UifTp':_0x29914f(0x8e)},_0x1a9aae=_0x307ba0||await _0x23a0c5[_0x29914f(0xa2)](getActiveFeatureId);if(!_0x1a9aae)throw new Error(_0x23a0c5[_0x29914f(0x142)]);const _0x1df42e=await _0x23a0c5['kbEge'](getFeature,_0x1a9aae),{items:_0x5ea427}=await getActionItems(_0x1a9aae);console[_0x29914f(0x11b)](_0x29914f(0x153)+_0x1df42e[_0x29914f(0xfc)]+'\x20('+_0x1df42e['id']+')\x0a');if(_0x5ea427[_0x29914f(0x139)]===0x0){console['log'](_0x29914f(0x128));return;}for(let _0x47c979=0x0;_0x47c979<_0x5ea427[_0x29914f(0x139)];_0x47c979++){const _0xc856b2=_0x5ea427[_0x47c979],_0x55219e=_0x23a0c5['KTdjJ'](_0xc856b2['version'],0x1)?_0x29914f(0xb1)+_0xc856b2['version']+')':'',_0x19144b=await getItemFeedback(_0x1a9aae,_0xc856b2['id']);if(_0x23a0c5[_0x29914f(0xbe)](_0x19144b[_0x29914f(0x13f)]['length'],0x0)){console['log'](_0x29914f(0x13d)+_0x23a0c5['DXCFT'](_0x47c979,0x1)+':\x20\x22'+_0xc856b2[_0x29914f(0x83)]+'\x22'+_0x55219e+'\x20—\x20'+_0x19144b['unaddressedComments'][_0x29914f(0x139)]+'\x20unaddressed\x20comment(s)');for(const _0x3de341 of _0x19144b['unaddressedComments']){const _0x5ca31b=new Date(_0x3de341['createdAt'])['toLocaleDateString'](_0x23a0c5[_0x29914f(0xeb)],{'month':'short','day':_0x23a0c5['QgrDm']}),_0x238cf6=_0x3de341['authorName']||_0x3de341[_0x29914f(0xcb)]||_0x23a0c5['eUPyh'];console[_0x29914f(0x11b)]('\x20\x20💬\x20'+_0x238cf6+'\x20('+_0x5ca31b+'):\x20\x22'+_0x3de341[_0x29914f(0x10c)]+'\x22');if(_0x3de341['assetUrl']){const _0x3dacb6=await _0x23a0c5['eWGGH'](downloadFeedbackImage,_0x3de341[_0x29914f(0x7e)],_0x3de341['id']);_0x3dacb6&&console[_0x29914f(0x11b)](_0x29914f(0xe8)+_0x3dacb6);}if(_0x3de341['domRef']){const _0x4c81e6=_0x3de341['domRef']['selector'][_0x29914f(0xf5)](_0x23a0c5[_0x29914f(0x12f)])['pop']()?.[_0x29914f(0xf5)](':')[0x0]||'element',_0xbf933c=_0x3de341[_0x29914f(0xc1)]['textContent']?'\x20\x22'+_0x3de341['domRef']['textContent']['slice'](0x0,0x3c)+'\x22':'';console[_0x29914f(0x11b)]('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x4c81e6+'>'+_0xbf933c),console[_0x29914f(0x11b)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x3de341['domRef'][_0x29914f(0xe7)]);}else{if(_0x3de341['spatial']){const _0x15073e=_0x3de341['spatial'][_0x29914f(0x134)];_0x3de341[_0x29914f(0x136)][_0x29914f(0x13e)]===_0x23a0c5['UifTp']&&_0x15073e['length']>=0x2?console[_0x29914f(0x11b)](_0x29914f(0x149)+_0x15073e[0x0][_0x29914f(0x156)](0x2)+',\x20'+_0x15073e[0x1][_0x29914f(0x156)](0x2)+')'):console['log'](_0x29914f(0x131)+_0x3de341[_0x29914f(0x136)]['type']+_0x29914f(0xd1)+_0x15073e[_0x29914f(0xf2)](_0x245562=>_0x245562[_0x29914f(0x156)](0x2))[_0x29914f(0xe2)](',\x20')+']');}}}if(_0x19144b['canonicalFlow']){console['log'](_0x29914f(0x102));for(const _0x49213c of _0x19144b['canonicalFlow'][_0x29914f(0xf5)]('\x0a')){console['log'](_0x29914f(0x11f)+_0x49213c);}}}else console['log'](_0x29914f(0x13d)+(_0x47c979+0x1)+':\x20\x22'+_0xc856b2['description']+'\x22'+_0x55219e+_0x29914f(0xe1)),console[_0x29914f(0x11b)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}export async function featureDelete(_0x27252e){const _0x2b6a00=_0x37661b,_0x646b1d={'EABFG':function(_0x3fe9e8){return _0x3fe9e8();},'LBFJv':_0x2b6a00(0x8b),'Cfirg':function(_0x4343ca,_0x422480){return _0x4343ca(_0x422480);},'egGrX':function(_0x35e475,_0x170dca){return _0x35e475+_0x170dca;}},_0x3b9533=_0x27252e||await _0x646b1d['EABFG'](getActiveFeatureId);if(!_0x3b9533)throw new Error(_0x646b1d[_0x2b6a00(0x12c)]);const _0x51acbc=await getFeature(_0x3b9533);await _0x646b1d['Cfirg'](softDeleteFeature,_0x3b9533),console[_0x2b6a00(0x11b)](_0x2b6a00(0xf9)+_0x51acbc[_0x2b6a00(0xfc)]+'\x20('+_0x3b9533+')'),console['log'](_0x646b1d['egGrX'](_0x2b6a00(0x11e),_0x3b9533));}export async function featureRestore(_0xe70e88){const _0xe0e41a=_0x37661b,_0x2f87a5={'JoViK':function(_0x10c0aa,_0x2b472b){return _0x10c0aa(_0x2b472b);},'mRaAr':function(_0x2a568a,_0x7747f4){return _0x2a568a(_0x7747f4);},'Gtomu':function(_0xd9119e,_0x19370f,_0xde4b86){return _0xd9119e(_0x19370f,_0xde4b86);}};await _0x2f87a5[_0xe0e41a(0xd2)](restoreFeature,_0xe70e88);const _0x23196d=await _0x2f87a5['mRaAr'](getFeature,_0xe70e88);console['log'](_0xe0e41a(0x8f)+_0x23196d['name']+'\x20('+_0xe70e88+')'),_0x2f87a5[_0xe0e41a(0x14c)](displayFeature,_0x23196d,_0x23196d['checklistItems']);}
1
+ const _0x38f2a6=_0x27c7;(function(_0x296963,_0x151ec1){const _0xf20985=_0x27c7,_0x3d4d21=_0x296963();while(!![]){try{const _0xee07d9=-parseInt(_0xf20985(0x137))/0x1*(parseInt(_0xf20985(0x115))/0x2)+parseInt(_0xf20985(0x1ce))/0x3+parseInt(_0xf20985(0x14a))/0x4+-parseInt(_0xf20985(0x11b))/0x5+parseInt(_0xf20985(0x192))/0x6+parseInt(_0xf20985(0x1b2))/0x7*(parseInt(_0xf20985(0x198))/0x8)+-parseInt(_0xf20985(0x18a))/0x9;if(_0xee07d9===_0x151ec1)break;else _0x3d4d21['push'](_0x3d4d21['shift']());}catch(_0xaed219){_0x3d4d21['push'](_0x3d4d21['shift']());}}}(_0x21d2,0x41cb5));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x2925d7 from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x533d92=>_0x38f2a6(0x173)+_0x533d92+_0x38f2a6(0x176);function getGitRepoUrl(){const _0x332235=_0x38f2a6,_0x54a2a0={'CnROB':function(_0x40da47,_0x376590,_0x87fbb1){return _0x40da47(_0x376590,_0x87fbb1);},'uAXFp':'git\x20remote\x20get-url\x20origin','YLpJL':_0x332235(0x11d),'Ciint':'pipe'};try{const _0x21f5e6=_0x54a2a0['CnROB'](execSync,_0x54a2a0['uAXFp'],{'encoding':_0x54a2a0[_0x332235(0x1af)],'stdio':[_0x332235(0x199),_0x54a2a0[_0x332235(0x186)],_0x332235(0x199)]})[_0x332235(0x161)]();return _0x21f5e6['replace'](/\.git$/,'')[_0x332235(0x141)](/^git@github\.com:/,_0x332235(0x154))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x52f19a=_0x38f2a6,_0x28498b={'QpiNu':function(_0x31c87d,_0x35ef7a,_0x5be23f){return _0x31c87d(_0x35ef7a,_0x5be23f);},'GziQK':_0x52f19a(0x120),'HUOKz':'pipe'};try{return _0x28498b[_0x52f19a(0x12c)](execSync,_0x28498b['GziQK'],{'encoding':'utf-8','stdio':['pipe',_0x52f19a(0x199),_0x28498b['HUOKz']]})[_0x52f19a(0x161)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x317985=_0x38f2a6,_0x1d4134={'fdgVc':function(_0x119f02,_0x1ad815){return _0x119f02(_0x1ad815);},'vLYZT':_0x317985(0x11d)},_0xedfadc=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!_0x1d4134['fdgVc'](existsSync,_0xedfadc))return null;try{const _0x2248d6=await readFile(_0xedfadc,_0x1d4134['vLYZT']);return _0x2248d6['trim']()||null;}catch{return null;}}function _0x21d2(){const _0x17d694=['Zzram','from','ChJhM','stats','):\x20\x22','\x20incomplete','Current\x20session\x20not\x20found.','NuLfQ','19523QMHDvH','position','verified','items','latestReview','BZQXC','submittedAt','RaFic','\x20--limit\x20','scenarios','replace','Step\x20','currentBranch','content','excludeScenarios','\x20—\x20no\x20comments','\x20\x20\x20\x20\x20Progress:\x20','error','HUMRu','2056656czaPeE','screenshot','\x20\x20\x20Created:\x20','Next\x20page:\x20ranger\x20list\x20--offset\x20','hANQg','Cannot\x20conclude\x20session\x20with\x20status:\x20','RJdTf','in_progress','selector','browserSessionId','github.com/','find','incompleteReason','rcPmJ','isInteger','0|2|1|4|3|5','length','closed',':\x20\x22','PApQZ','...','stdin','style','trim','AhACh','stringify','vWqoT','toLocaleString','uSynA','verificationInProgressItems','\x20\x20\x20\x20\x20\x20Approved','scenario','trimEnd','\x20\x20\x20Description:\x20','\x20\x20\x20Progress:\x20','MsnCv','\x20\x20\x20\x20\x20Branch:\x20','env','description','QqliL','\x20/\x20','\x1b[1m','coordinates','\x20Session\x20','\x1b[0m','TTDNS','\x20concluded.','sessionId','\x20\x20\x20▶️\x20Started\x20session\x20','RANGER_TEST_USERNAME','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','completed','\x20—\x20','\x20feature\x20review(s)\x20found','\x20\x20\x20','createdAt','after','yNrCg','push','xJovq','Ciint','\x20\x20\x20Completed:\x20','gitRepoUrl','\x0a❌\x20Invalid\x20scenario\x20index:\x20','3701997BAwOhL','\x20scenario(s).','\x20--include-deleted','\x20\x20\x20\x20','toFixed','split','\x0a✅\x20Restored\x20feature\x20review:\x20','\x20\x20\x20\x20\x20ID:\x20','1010502RfFyud','mfmNQ','list','.png','terminalReason','pendingItems','840qhNQxp','pipe','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','Jgnbu','blockedItems','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','canonicalFlow','mTsBG','canceledReason','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','\x0a✅\x20Report\x20generated:\x20','approved','ejvtv','TIRwI','domRef','oecjU','LmJBv','exit','dashboardUrl','hEkiH','ocFFT','ZMzOI','YLpJL','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','IUnon','22085DeVXpZ','OpxBi','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','qhSXc','screenshotUrls','version','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','xbUEn','OrUNI','upztQ','assets','selected','Scenario\x20','\x0aConcluding\x20session...','\x0aCreating\x20feature\x20review...','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','gIOLe','parentItemId','type','log','map','\x20\x20\x20Updated\x20branch\x20to:\x20','unaddressedComments','pop','isTTY','notes','\x20in\x20progress','blockedReason','1565316ibDfac','BMfAc','cfkhz','kFfFQ','IVsso','write','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','gitBranch','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','\x20--current-branch','has','comment_','status','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','pcPcD','currentSessionId','completedAt','textContent','spatial','\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','\x0a✅\x20Scenario\x20updated','vRRgR','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','stepName','feedback-images','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','nDVmS','timing','DrkaP','limit','element','join','sSuVY','vxIfq','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','BvykE','name','ywqKi','52nxcodk','tCfEj','filter','pgcra','OmJgH','checklistItems','1736020LzCrvV','\x0aAvailable\x20scenarios:','utf-8','\x20blocked','offset','git\x20rev-parse\x20--abbrev-ref\x20HEAD','dOBMD','ypIOB','No\x20active\x20session\x20for\x20this\x20feature\x20review.','ztWBd','iteration','yqvGF','\x0aGenerating\x20report...','\x0a✅\x20Resumed\x20feature\x20review:\x20','toLocaleDateString','repeat','eQtKX','QpiNu','Not\x20in\x20a\x20git\x20repository.','CLAUDE_SESSION_ID'];_0x21d2=function(){return _0x17d694;};return _0x21d2();}async function setActiveFeatureId(_0x3b2fc4){const _0x34018f=_0x38f2a6,_0x4707bd={'juhHr':function(_0x547160){return _0x547160();},'RbIGc':function(_0x199344,_0x3f5f00){return _0x199344(_0x3f5f00);},'QqliL':function(_0x24d6de,_0x483038,_0x58c9e4,_0x4515d9){return _0x24d6de(_0x483038,_0x58c9e4,_0x4515d9);},'FgKPZ':_0x34018f(0x11d)},_0x364cf5=_0x4707bd['juhHr'](getRangerDir),_0x335ebe=join(_0x364cf5,ACTIVE_FEATURE_FILE);!_0x4707bd['RbIGc'](existsSync,_0x364cf5)&&await mkdir(_0x364cf5,{'recursive':!![]}),await _0x4707bd[_0x34018f(0x171)](writeFile,_0x335ebe,_0x3b2fc4,_0x4707bd['FgKPZ']);}function getProgressDisplay(_0x2c2e1a){const _0xe529b6=_0x38f2a6,_0x106dd0={'FCcLz':function(_0x52daea,_0x17610b){return _0x52daea+_0x17610b;},'MYWau':function(_0x54b855,_0x22fca0){return _0x54b855+_0x22fca0;},'XjvlM':function(_0x369c77,_0x36c9ac){return _0x369c77===_0x36c9ac;},'XVjjC':function(_0xd1b471,_0x4c079e){return _0xd1b471/_0x4c079e;},'RxVBg':function(_0x48fbed,_0x5f4076){return _0x48fbed-_0x5f4076;}},_0x5699ca=_0x2c2e1a['verifiedItems']||0x0,_0x172abe=_0x2c2e1a[_0xe529b6(0x167)]||0x0,_0x565a83=_0x2c2e1a[_0xe529b6(0x19d)]||0x0,_0x5ea708=_0x2c2e1a['incompleteItems']||0x0,_0x434b8a=_0x2c2e1a[_0xe529b6(0x197)]||0x0,_0x521343=_0x106dd0['FCcLz'](_0x106dd0['MYWau'](_0x5699ca,_0x172abe),_0x565a83)+_0x5ea708+_0x434b8a;if(_0x106dd0['XjvlM'](_0x521343,0x0))return'-';const _0x45e18b=0xa,_0x55a73b=Math['round'](_0x106dd0['XVjjC'](_0x5699ca,_0x521343)*_0x45e18b),_0x52e882='█'[_0xe529b6(0x12a)](_0x55a73b)+'░'['repeat'](_0x106dd0['RxVBg'](_0x45e18b,_0x55a73b)),_0x21affd=[];if(_0x565a83>0x0)_0x21affd['push'](_0x565a83+_0xe529b6(0x11e));if(_0x5ea708>0x0)_0x21affd['push'](_0x5ea708+_0xe529b6(0x134));if(_0x172abe>0x0)_0x21affd[_0xe529b6(0x184)](_0x172abe+_0xe529b6(0x1cc));const _0x540df2=_0x21affd[_0xe529b6(0x15a)]>0x0?'\x20('+_0x21affd[_0xe529b6(0x10e)](',\x20')+')':'';return _0x52e882+'\x20'+_0x5699ca+'/'+_0x521343+'\x20verified'+_0x540df2;}function getCurrentSessionItems(_0x50bcb0,_0x3a426){const _0x466a58=_0x38f2a6;if(!_0x50bcb0[_0x466a58(0x1dd)])return _0x3a426[_0x466a58(0x117)](_0x256857=>!_0x256857['sessionId']);return _0x3a426['filter'](_0x20eb95=>_0x20eb95['sessionId']===_0x50bcb0[_0x466a58(0x1dd)]||!_0x20eb95[_0x466a58(0x179)]);}function displayFeature(_0xa4600b,_0x294a8f){const _0x43c94d=_0x38f2a6,_0xb66c7={'zfZnV':function(_0x14afcd,_0x3b8d06){return _0x14afcd>_0x3b8d06;},'MYUJq':'\x0a\x20\x20\x20Scenarios:','TKcMq':function(_0x2d16ec,_0x5d08d1){return _0x2d16ec<_0x5d08d1;},'tgAAZ':function(_0x48ba77,_0x4deeb8){return _0x48ba77===_0x4deeb8;},'cfkhz':_0x43c94d(0x15b),'mXVMN':'verified','upztQ':'incomplete','BvykE':'blocked','mfmNQ':'verification_in_progress','rcPmJ':function(_0xaf9525,_0x319d55){return _0xaf9525>_0x319d55;},'pcPcD':function(_0x51afe7,_0x34fccd){return _0x51afe7!==_0x34fccd;},'RJdTf':function(_0x2d7457,_0x110df5){return _0x2d7457!==_0x110df5;},'gIOLe':'\x20[has\x20reviewer\x20feedback]','zljZH':function(_0x44ca30,_0x8ea870){return _0x44ca30+_0x8ea870;},'dOBMD':function(_0x5986b7,_0x273b70){return _0x5986b7===_0x273b70;}};console[_0x43c94d(0x1c5)]('\x0a'+_0xa4600b[_0x43c94d(0x113)]+'\x20('+_0xa4600b[_0x43c94d(0x1ab)]+')');_0xa4600b['stats']&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0xa4600b['stats']));_0xa4600b['description']&&console['log'](_0x43c94d(0x16b)+_0xa4600b['description']);_0xa4600b[_0x43c94d(0x188)]&&console[_0x43c94d(0x1c5)]('\x20\x20\x20Repository:\x20'+_0xa4600b[_0x43c94d(0x188)]);_0xa4600b[_0x43c94d(0x1d5)]&&console['log']('\x20\x20\x20Branch:\x20'+_0xa4600b[_0x43c94d(0x1d5)]);console['log'](_0x43c94d(0x14c)+new Date(_0xa4600b[_0x43c94d(0x181)])[_0x43c94d(0x165)]());_0xa4600b['completedAt']&&console[_0x43c94d(0x1c5)](_0x43c94d(0x187)+new Date(_0xa4600b['completedAt'])['toLocaleString']());if(_0x294a8f&&_0xb66c7['zfZnV'](_0x294a8f[_0x43c94d(0x15a)],0x0)){console['log'](_0xb66c7['MYUJq']);for(let _0x4ce937=0x0;_0xb66c7['TKcMq'](_0x4ce937,_0x294a8f[_0x43c94d(0x15a)]);_0x4ce937++){const _0x4bebf7=_0x294a8f[_0x4ce937];let _0x5ebabe;if(_0xb66c7['tgAAZ'](_0x4bebf7[_0x43c94d(0x1da)],_0xb66c7[_0x43c94d(0x1d0)])&&_0xb66c7['tgAAZ'](_0x4bebf7['terminalReason'],_0x43c94d(0x1a4)))_0x5ebabe='✅';else{if(_0x4bebf7['status']===_0xb66c7['mXVMN'])_0x5ebabe='🟢';else{if(_0x4bebf7[_0x43c94d(0x1da)]===_0xb66c7[_0x43c94d(0x1bb)])_0x5ebabe='🟠';else{if(_0x4bebf7['status']===_0xb66c7[_0x43c94d(0x112)])_0x5ebabe='🛑';else{if(_0xb66c7['tgAAZ'](_0x4bebf7[_0x43c94d(0x1da)],'closed'))_0x5ebabe='⛔';else _0xb66c7['tgAAZ'](_0x4bebf7[_0x43c94d(0x1da)],_0xb66c7[_0x43c94d(0x193)])?_0x5ebabe='⏳':_0x5ebabe='⬜';}}}}const _0x591789=_0x4bebf7['version']>0x1?'\x20(v'+_0x4bebf7['version']+')':'',_0xd5d8e0=_0xb66c7[_0x43c94d(0x157)](_0x4bebf7[_0x43c94d(0x1b7)],0x1)&&_0x4bebf7[_0x43c94d(0x1c3)]&&_0xb66c7[_0x43c94d(0x1dc)](_0x4bebf7['status'],_0xb66c7['cfkhz'])&&_0xb66c7[_0x43c94d(0x150)](_0x4bebf7[_0x43c94d(0x1da)],_0xb66c7['mXVMN'])?_0xb66c7[_0x43c94d(0x1c2)]:'';console[_0x43c94d(0x1c5)](_0x43c94d(0x180)+_0xb66c7['zljZH'](_0x4ce937,0x1)+'.\x20'+_0x5ebabe+'\x20'+_0x4bebf7[_0x43c94d(0x170)]+_0x591789+_0xd5d8e0);_0x4bebf7[_0x43c94d(0x1da)]===_0xb66c7['BvykE']&&_0x4bebf7[_0x43c94d(0x1cd)]&&console['log']('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x4bebf7[_0x43c94d(0x1cd)]);_0xb66c7['dOBMD'](_0x4bebf7['status'],'incomplete')&&_0x4bebf7[_0x43c94d(0x156)]&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x4bebf7['incompleteReason']);if(_0xb66c7['dOBMD'](_0x4bebf7['status'],_0xb66c7[_0x43c94d(0x1d0)])&&_0xb66c7[_0x43c94d(0x121)](_0x4bebf7[_0x43c94d(0x196)],_0x43c94d(0x1a4)))console[_0x43c94d(0x1c5)](_0x43c94d(0x168));else _0x4bebf7['status']===_0xb66c7['cfkhz']&&_0x4bebf7['canceledReason']&&console['log']('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x4bebf7[_0x43c94d(0x1a1)]);}}}export async function featureCreate(_0x167a0d,_0x4f5c3b){const _0x16a6e7=_0x38f2a6,_0x3fc3dc={'RlZQx':function(_0x34b8e7,_0x407531){return _0x34b8e7===_0x407531;},'BZQXC':function(_0x4da82d){return _0x4da82d();},'SoMIz':_0x16a6e7(0x1c0),'XTIMH':function(_0x38d06c,_0x1b8316){return _0x38d06c(_0x1b8316);},'IVsso':function(_0x2beb93,_0x1bcccd){return _0x2beb93(_0x1bcccd);},'FAIte':function(_0x2cad53,_0x259302,_0x177820){return _0x2cad53(_0x259302,_0x177820);}},{envNames:_0x23831b}=await getEnvNames();if(_0x3fc3dc['RlZQx'](_0x23831b['length'],0x0)&&!process['env'][_0x16a6e7(0x17b)]){let _0x52a5c8=0x0;try{_0x52a5c8=(await listCloudProfiles())[_0x16a6e7(0x15a)];}catch{_0x52a5c8=0x1;}_0x3fc3dc['RlZQx'](_0x52a5c8,0x0)&&console['warn']('\x0a'+formatProfileRequiredMessage(_0x21a33f=>bold(_0x21a33f)));}const _0x31e09d=_0x4f5c3b[_0x16a6e7(0x140)]?_0x4f5c3b[_0x16a6e7(0x140)]['map'](_0x3202ef=>_0x3202ef['trim']()):[],_0x26cc7f=_0x3fc3dc[_0x16a6e7(0x13c)](getGitRepoUrl),_0x194696=getGitBranch();console[_0x16a6e7(0x1c5)](_0x3fc3dc['SoMIz']);const _0x3ae5b5=await _0x3fc3dc['XTIMH'](createFeature,{'name':_0x167a0d,'description':_0x4f5c3b['description'],'checklist':_0x31e09d,'gitRepoUrl':_0x26cc7f,'gitBranch':_0x194696});await setActiveFeatureId(_0x3ae5b5['id']),await _0x3fc3dc[_0x16a6e7(0x1d2)](tryStartCurrentSession,_0x3ae5b5['id']);const _0x2e55c0=process[_0x16a6e7(0x16f)][_0x16a6e7(0x12e)];_0x2e55c0&&_0x3fc3dc['FAIte'](registerSession,_0x2e55c0,_0x3ae5b5['id']),console[_0x16a6e7(0x1c5)]('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x3ae5b5['id']),displayFeature(_0x3ae5b5,_0x3ae5b5[_0x16a6e7(0x11a)]),console[_0x16a6e7(0x1c5)](_0x16a6e7(0x1a2));}export async function featureList(_0x2a992f){const _0x39c573=_0x38f2a6,_0x15ee2c={'bcjZj':function(_0x70448b){return _0x70448b();},'fzVBp':function(_0x5bef19,_0x22899c){return _0x5bef19>_0x22899c;},'yNrCg':function(_0x5eb25c,_0x33091d){return _0x5eb25c+_0x33091d;},'uSynA':_0x39c573(0x18c)},_0xdbef39={'limit':_0x2a992f['limit']??0xa,'offset':_0x2a992f['offset']??0x0,'includeDeleted':_0x2a992f['includeDeleted']};_0x2a992f[_0x39c573(0x143)]&&(_0xdbef39[_0x39c573(0x188)]=getGitRepoUrl(),_0xdbef39['gitBranch']=_0x15ee2c['bcjZj'](getGitBranch));const _0x237e78=await listFeatures(_0xdbef39);if(_0x237e78['items']['length']===0x0){console['log']('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0x365b8a=_0x15ee2c['fzVBp'](_0x237e78['totalCount'],_0x237e78['items']['length'])?'Showing\x20'+_0x237e78['items'][_0x39c573(0x15a)]+'\x20of\x20'+_0x237e78['totalCount']:_0x237e78['totalCount']+_0x39c573(0x17f);console[_0x39c573(0x1c5)]('\x0a'+_0x365b8a+':\x0a');for(const _0x67f593 of _0x237e78['items']){const _0x299321=_0x39c573(0x159)[_0x39c573(0x18f)]('|');let _0x380134=0x0;while(!![]){switch(_0x299321[_0x380134++]){case'0':console[_0x39c573(0x1c5)](''+_0x67f593[_0x39c573(0x113)]);continue;case'1':_0x67f593[_0x39c573(0x132)]&&console[_0x39c573(0x1c5)](_0x39c573(0x16c)+getProgressDisplay(_0x67f593['stats']));continue;case'2':console[_0x39c573(0x1c5)]('\x20\x20\x20ID:\x20'+_0x67f593['id']);continue;case'3':console['log']('\x20\x20\x20Created:\x20'+new Date(_0x67f593[_0x39c573(0x181)])[_0x39c573(0x129)]());continue;case'4':_0x67f593[_0x39c573(0x1d5)]&&console[_0x39c573(0x1c5)]('\x20\x20\x20Branch:\x20'+_0x67f593['gitBranch']);continue;case'5':console[_0x39c573(0x1c5)]('');continue;}break;}}const _0x4d8e38=_0xdbef39[_0x39c573(0x1eb)]??0xa,_0x558c3a=_0x15ee2c[_0x39c573(0x183)](_0xdbef39[_0x39c573(0x11f)]??0x0,_0x237e78[_0x39c573(0x13a)][_0x39c573(0x15a)]);if(_0x558c3a<_0x237e78['totalCount']){const _0x1dc08b=_0x4d8e38!==0xa?_0x39c573(0x13f)+_0x4d8e38:'',_0x496d4c=_0x2a992f[_0x39c573(0x143)]?_0x39c573(0x1d7):'',_0x54d7cc=_0x2a992f['includeDeleted']?_0x15ee2c[_0x39c573(0x166)]:'';console['log'](_0x39c573(0x14d)+_0x558c3a+_0x1dc08b+_0x496d4c+_0x54d7cc);}}export async function featureShow(_0x1c971b){const _0x1ca107=_0x38f2a6,_0x1af91f={'JOrJg':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','vxIfq':function(_0x230734,_0x490211){return _0x230734(_0x490211);},'lgKXh':function(_0x34c713,_0x316879,_0x4dc4a6){return _0x34c713(_0x316879,_0x4dc4a6);}},_0x211a4c=_0x1c971b||await getActiveFeatureId();if(!_0x211a4c)throw new Error(_0x1af91f['JOrJg']);const _0x3ac563=await _0x1af91f[_0x1ca107(0x110)](getFeature,_0x211a4c);_0x1af91f['lgKXh'](displayFeature,_0x3ac563,_0x3ac563[_0x1ca107(0x11a)]);}export async function featureResume(_0x39ecc8){const _0x4b3d95=_0x38f2a6,_0x2e1f09={'ztWBd':function(_0x52f2d0,_0x2a51c5){return _0x52f2d0(_0x2a51c5);},'OpxBi':function(_0x60f81d){return _0x60f81d();},'vRRgR':function(_0x3880cd,_0x4b132a,_0x3cf893){return _0x3880cd(_0x4b132a,_0x3cf893);},'RaFic':function(_0x174582,_0x2645c1,_0x573720){return _0x174582(_0x2645c1,_0x573720);},'rYcwh':'any','YrIzE':function(_0x69b42e,_0xd0609b){return _0x69b42e===_0xd0609b;},'YSWaj':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','eQaAv':_0x4b3d95(0x1d4),'BMfAc':function(_0x5d76b7,_0x60aed7){return _0x5d76b7!==_0x60aed7;}};if(_0x39ecc8){const _0x531add=await _0x2e1f09['ztWBd'](getFeature,_0x39ecc8);await _0x2e1f09[_0x4b3d95(0x124)](setActiveFeatureId,_0x531add['id']);const _0x59db2e=_0x2e1f09[_0x4b3d95(0x1b3)](getGitBranch);_0x59db2e&&_0x59db2e!==_0x531add['gitBranch']&&(await updateFeature(_0x531add['id'],{'gitBranch':_0x59db2e}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x59db2e));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x531add['name']+'\x20('+_0x531add['id']+')'),await tryStartCurrentSession(_0x531add['id']);const _0x34cf1e=process[_0x4b3d95(0x16f)]['CLAUDE_SESSION_ID'];_0x34cf1e&&_0x2e1f09[_0x4b3d95(0x1e3)](registerSession,_0x34cf1e,_0x531add['id']);_0x2e1f09['RaFic'](displayFeature,_0x531add,_0x531add['checklistItems']),await _0x2e1f09['ztWBd'](printFeedbackNudge,_0x531add['id']);return;}const _0x27a0b7=getGitRepoUrl(),_0x20118f=getGitBranch();if(!_0x27a0b7&&!_0x20118f)throw new Error(_0x4b3d95(0x12d));console['log'](_0x4b3d95(0x1b0)+(_0x27a0b7||'any')+_0x4b3d95(0x172)+(_0x20118f||_0x2e1f09['rYcwh'])+_0x4b3d95(0x15e));const _0x3215c4=await listFeatures({'gitRepoUrl':_0x27a0b7,'gitBranch':_0x20118f}),_0x5229b5=_0x3215c4[_0x4b3d95(0x13a)]['filter'](_0x2a95e5=>_0x2a95e5['status']?_0x2a95e5[_0x4b3d95(0x1da)]!==_0x4b3d95(0x139):!_0x2a95e5[_0x4b3d95(0x1de)]);if(_0x2e1f09['YrIzE'](_0x5229b5[_0x4b3d95(0x15a)],0x0)){console[_0x4b3d95(0x1c5)](_0x2e1f09['YSWaj']),console['log'](_0x2e1f09['eQaAv']);return;}let _0x3a0ec7;if(_0x5229b5['length']===0x1)_0x3a0ec7=_0x5229b5[0x0];else{const _0x5d4915=process[_0x4b3d95(0x15f)][_0x4b3d95(0x1ca)]&&process['stdout']['isTTY'];if(!_0x5d4915){console['log']('\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:');for(const _0x4e85a7 of _0x5229b5){console[_0x4b3d95(0x1c5)]('\x20\x20'+_0x4e85a7['name']),console['log'](_0x4b3d95(0x191)+_0x4e85a7['id']),_0x4e85a7['stats']&&console[_0x4b3d95(0x1c5)](_0x4b3d95(0x147)+_0x2e1f09['ztWBd'](getProgressDisplay,_0x4e85a7['stats'])),_0x4e85a7['gitBranch']&&console['log'](_0x4b3d95(0x16e)+_0x4e85a7[_0x4b3d95(0x1d5)]);}throw new Error(_0x4b3d95(0x1db));}const {selected:_0x54b0e9}=await _0x2925d7['prompt']([{'type':_0x4b3d95(0x194),'name':_0x4b3d95(0x1bd),'message':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','choices':_0x5229b5['map'](_0x3f696c=>({'name':_0x3f696c[_0x4b3d95(0x113)]+'\x20('+_0x3f696c['id']+')','value':_0x3f696c['id']}))}]);_0x3a0ec7=_0x5229b5[_0x4b3d95(0x155)](_0x254218=>_0x254218['id']===_0x54b0e9);}await _0x2e1f09[_0x4b3d95(0x124)](setActiveFeatureId,_0x3a0ec7['id']);_0x20118f&&_0x2e1f09[_0x4b3d95(0x1cf)](_0x20118f,_0x3a0ec7[_0x4b3d95(0x1d5)])&&(await _0x2e1f09[_0x4b3d95(0x13e)](updateFeature,_0x3a0ec7['id'],{'gitBranch':_0x20118f}),console[_0x4b3d95(0x1c5)](_0x4b3d95(0x1c7)+_0x20118f));console['log'](_0x4b3d95(0x128)+_0x3a0ec7[_0x4b3d95(0x113)]+'\x20('+_0x3a0ec7['id']+')'),await tryStartCurrentSession(_0x3a0ec7['id']);const _0x39d851=await getFeature(_0x3a0ec7['id']),_0x11f2ff=process['env'][_0x4b3d95(0x12e)];_0x11f2ff&&registerSession(_0x11f2ff,_0x39d851['id']),_0x2e1f09[_0x4b3d95(0x1e3)](displayFeature,_0x39d851,_0x39d851[_0x4b3d95(0x11a)]),await _0x2e1f09['ztWBd'](printFeedbackNudge,_0x39d851['id']);}async function printFeedbackNudge(_0x3b470c){const _0x39dd86=_0x38f2a6;try{const {items:_0x13c92a}=await getActionItems(_0x3b470c);let _0x2016bd=0x0,_0x219966=0x0;for(const _0x4aa660 of _0x13c92a){const _0x343b15=await getItemFeedback(_0x3b470c,_0x4aa660['id']);_0x343b15['unaddressedComments'][_0x39dd86(0x15a)]>0x0&&(_0x2016bd+=_0x343b15['unaddressedComments'][_0x39dd86(0x15a)],_0x219966++);}_0x2016bd>0x0&&(console['log']('\x0a⚠️\x20\x20'+_0x2016bd+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x219966+_0x39dd86(0x18b)),console[_0x39dd86(0x1c5)]('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}async function tryStartCurrentSession(_0x14348b){const _0x171804=_0x38f2a6;try{const {sessions:_0x53f6c0}=await listFeatureSessions(_0x14348b),_0x1f39f6=_0x53f6c0['find'](_0x63d45c=>_0x63d45c['status']==='ready');_0x1f39f6&&(await startSession(_0x14348b,_0x1f39f6['id']),console[_0x171804(0x1c5)](_0x171804(0x17a)+_0x1f39f6['iteration']));}catch{}}export async function featureReport(_0x30d393,_0x2d740e){const _0x8981ed=_0x38f2a6,_0x2eae1a={'IUnon':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','MsnCv':_0x8981ed(0x127),'DxEFD':function(_0x4db681,_0x3e6cce,_0x3755ec){return _0x4db681(_0x3e6cce,_0x3755ec);},'AhXlX':function(_0x174b66){return _0x174b66();},'QbWbM':'reports','AhACh':function(_0x41499a,_0x29265c,_0x1b427b){return _0x41499a(_0x29265c,_0x1b427b);},'womLI':function(_0x3ba9af,_0xff7bc1,_0x1234bf){return _0x3ba9af(_0xff7bc1,_0x1234bf);},'OrxFm':function(_0xcb0c36,_0x28d4bb,_0x517793,_0x75662){return _0xcb0c36(_0x28d4bb,_0x517793,_0x75662);}},_0x1da219=_0x30d393||await getActiveFeatureId();if(!_0x1da219)throw new Error(_0x2eae1a[_0x8981ed(0x1b1)]);console['log'](_0x2eae1a[_0x8981ed(0x16d)]);const _0x9b0719=await _0x2eae1a['DxEFD'](getFeatureReportMarkdown,_0x1da219,{'style':_0x2d740e[_0x8981ed(0x160)]}),_0x12c01c=_0x2d740e['output']||join(_0x2eae1a['AhXlX'](getRangerDir),_0x2eae1a['QbWbM'],_0x1da219+'.md'),_0xc308a=_0x2eae1a[_0x8981ed(0x162)](join,_0x12c01c,'..');!existsSync(_0xc308a)&&await _0x2eae1a['womLI'](mkdir,_0xc308a,{'recursive':!![]}),await _0x2eae1a['OrxFm'](writeFile,_0x12c01c,_0x9b0719,_0x8981ed(0x11d)),console['log'](_0x8981ed(0x1a3)+_0x12c01c);}function getScenarioResult(_0xde38e3){const _0x75eea=_0x38f2a6,_0x21e6e6={'HUMRu':_0x75eea(0x151)};if(_0xde38e3[_0x75eea(0x1da)]===_0x75eea(0x15b))return _0xde38e3[_0x75eea(0x196)]??'closed';if(_0xde38e3['status']==='verification_in_progress')return _0x21e6e6[_0x75eea(0x149)];return _0xde38e3[_0x75eea(0x1da)];}function getScenarioRationale(_0x1c6bd4,_0x4063c8){const _0x109058=_0x38f2a6;if(_0x4063c8)return _0x4063c8;if(_0x1c6bd4[_0x109058(0x1cd)])return _0x1c6bd4['blockedReason'];if(_0x1c6bd4['incompleteReason'])return _0x1c6bd4[_0x109058(0x156)];if(_0x1c6bd4[_0x109058(0x1a1)])return _0x1c6bd4['canceledReason'];if(_0x1c6bd4[_0x109058(0x1cb)])return _0x1c6bd4['notes'];return null;}export async function featureReportPrDescription(_0x1a8c5d,_0x2e363a){const _0x304d3a=_0x38f2a6,_0x4931eb={'ocFFT':function(_0x48dffc){return _0x48dffc();},'NuLfQ':function(_0x41607e,_0x26a2ff){return _0x41607e(_0x26a2ff);},'NHEmn':function(_0x3cfe5f,_0xc7576f,_0x103cb8){return _0x3cfe5f(_0xc7576f,_0x103cb8);},'TTDNS':_0x304d3a(0x19a),'nDVmS':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.','hANQg':function(_0x5448a0,_0x31d66f,_0xab6745,_0xe866e5){return _0x5448a0(_0x31d66f,_0xab6745,_0xe866e5);}},_0x14fc00=_0x1a8c5d||await _0x4931eb[_0x304d3a(0x1ad)](getActiveFeatureId);if(!_0x14fc00)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0xda1148=await _0x4931eb[_0x304d3a(0x136)](getFeature,_0x14fc00),_0x187bf3=_0xda1148['checklistItems']||[],_0x3f6d29=_0x4931eb['NHEmn'](getCurrentSessionItems,_0xda1148,_0x187bf3);_0x3f6d29[_0x304d3a(0x15a)]===0x0&&(console[_0x304d3a(0x148)](_0x4931eb[_0x304d3a(0x177)]),process['exit'](0x1));const _0x1f2334=_0x2e363a[_0x304d3a(0x145)]??[],_0x384a1a=_0x1f2334['filter'](_0x22f3b2=>!Number[_0x304d3a(0x158)](_0x22f3b2)||_0x22f3b2<0x1||_0x22f3b2>_0x3f6d29['length']);if(_0x384a1a['length']>0x0){console[_0x304d3a(0x148)]('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x384a1a[_0x304d3a(0x10e)](',\x20')),console[_0x304d3a(0x1c5)]('\x0aAvailable\x20scenarios:');for(let _0x191c11=0x0;_0x191c11<_0x3f6d29[_0x304d3a(0x15a)];_0x191c11++){console[_0x304d3a(0x1c5)]('\x20\x20'+(_0x191c11+0x1)+'.\x20'+_0x3f6d29[_0x191c11]['description']);}process['exit'](0x1);}const _0x2d4475=new Set(_0x1f2334['map'](_0x30b2da=>_0x30b2da-0x1)),_0x35439b=_0x3f6d29[_0x304d3a(0x117)]((_0x4eca25,_0x389333)=>!_0x2d4475[_0x304d3a(0x1d8)](_0x389333));_0x35439b[_0x304d3a(0x15a)]===0x0&&(console[_0x304d3a(0x148)](_0x4931eb[_0x304d3a(0x1e8)]),process['exit'](0x1));if(_0x2e363a['json'])await _0x4931eb[_0x304d3a(0x14e)](outputJsonReport,_0x14fc00,_0xda1148,_0x35439b);else{const _0x2aaf61=await getFeatureReportMarkdown(_0x14fc00,{'itemIds':_0x35439b[_0x304d3a(0x1c6)](_0x1febcb=>_0x1febcb['id'])});process['stdout']['write'](_0x2aaf61[_0x304d3a(0x16a)]()+'\x0a');}}async function outputJsonReport(_0x101ee9,_0x54e535,_0x515a6c){const _0x5b45e0=_0x38f2a6,_0x53cf22={'tpmNZ':function(_0x502393,_0x58d914){return _0x502393>_0x58d914;},'PApQZ':function(_0x4ac690){return _0x4ac690();}},_0x27418b=_0x53cf22[_0x5b45e0(0x15d)](getApiBaseUrl),_0xa99f90=await getFeatureReport(_0x101ee9),_0x20eb59=new Map(_0xa99f90['checklistItems'][_0x5b45e0(0x1c6)](_0x3f44a0=>[_0x3f44a0['id'],_0x3f44a0])),_0x122b2e=await Promise['all'](_0x515a6c[_0x5b45e0(0x1c6)](async _0x3cd8bb=>{const _0x27d48d=_0x5b45e0,_0x455e29=_0x20eb59['get'](_0x3cd8bb['id']),_0x5c6794=_0x455e29?.['linkedSession']??null;let _0x171ad6=[];if(_0x3cd8bb[_0x27d48d(0x153)])try{const {steps:_0x4c4e2e}=await getBrowserSessionSteps(_0x3cd8bb['browserSessionId']);_0x53cf22['tpmNZ'](_0x4c4e2e[_0x27d48d(0x15a)],0x0)&&(_0x171ad6=_0x4c4e2e[_0x27d48d(0x1c6)](_0x58cbc0=>{const _0xc93600=_0x27d48d,_0x5a4107=_0x58cbc0[_0xc93600(0x1bc)]['find'](_0x575961=>_0x575961['assetType']==='screenshot'&&_0x575961[_0xc93600(0x1e9)]===_0xc93600(0x182))??_0x58cbc0['assets'][_0xc93600(0x155)](_0x5913b2=>_0x5913b2['assetType']===_0xc93600(0x14b));let _0x18411c=null,_0x14b321=null;if(_0x5a4107){const _0x370711=_0x5a4107['storage']['location'][_0xc93600(0x18f)]('/')[_0xc93600(0x1c9)]();_0x18411c=_0x27418b+'/api/v1/mcp/browser-sessions/'+_0x3cd8bb[_0xc93600(0x153)]+'/artifacts/'+_0x370711,_0x370711&&(_0x14b321=_0x370711[_0xc93600(0x141)](/\.\w+$/,'')[_0xc93600(0x141)](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x14b321||_0x58cbc0[_0xc93600(0x170)]||_0x58cbc0[_0xc93600(0x1e5)]||_0xc93600(0x142)+_0x58cbc0[_0xc93600(0x138)],'screenshot':_0x18411c,'is_key_step':_0x58cbc0['isKeyStep']};}));}catch{}return _0x171ad6['length']===0x0&&_0x5c6794?.['screenshotUrls']&&(_0x171ad6=_0x5c6794[_0x27d48d(0x1b6)]['map']((_0x97201b,_0x4aecb7)=>({'description':'Screenshot\x20'+(_0x4aecb7+0x1),'screenshot':_0x97201b,'is_key_step':![]}))),{'description':_0x3cd8bb['description'],'result':getScenarioResult(_0x3cd8bb),'rationale':getScenarioRationale(_0x3cd8bb,_0x5c6794?.['agentResponse']),'steps':_0x171ad6};})),_0x45709b={'url':_0x54e535['dashboardUrl'],'scenarios':_0x122b2e};process['stdout'][_0x5b45e0(0x1d3)](JSON[_0x5b45e0(0x163)](_0x45709b,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x1a18ce){const _0x5c9750=_0x38f2a6,_0x2b7df4={'ejvtv':function(_0x47b53f){return _0x47b53f();},'IAVMI':function(_0x16c3e3,_0x4fbd28){return _0x16c3e3(_0x4fbd28);},'QAnEM':_0x5c9750(0x123),'kFfFQ':function(_0x4b3843,_0x4b21d4){return _0x4b3843(_0x4b21d4);},'Zzram':_0x5c9750(0x135),'pgcra':_0x5c9750(0x17d),'qhSXc':_0x5c9750(0x1bf),'UEpQP':function(_0x419dec,_0xdb8ebb,_0x29513b){return _0x419dec(_0xdb8ebb,_0x29513b);}},_0x4fc204=_0x1a18ce||await _0x2b7df4[_0x5c9750(0x1a5)](getActiveFeatureId);if(!_0x4fc204)throw new Error(_0x5c9750(0x111));const _0x36b04c=await _0x2b7df4['IAVMI'](getFeature,_0x4fc204);if(!_0x36b04c[_0x5c9750(0x1dd)])throw new Error(_0x2b7df4['QAnEM']);const {sessions:_0x11fa91}=await _0x2b7df4[_0x5c9750(0x1d1)](listFeatureSessions,_0x4fc204),_0x306c4a=_0x11fa91['find'](_0x262e14=>_0x262e14['id']===_0x36b04c[_0x5c9750(0x1dd)]);if(!_0x306c4a)throw new Error(_0x2b7df4[_0x5c9750(0x12f)]);if(_0x306c4a[_0x5c9750(0x1da)]===_0x2b7df4[_0x5c9750(0x118)]){console['log']('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x306c4a[_0x5c9750(0x1da)]!==_0x5c9750(0x151))throw new Error(_0x5c9750(0x14f)+_0x306c4a['status']);console['log'](_0x2b7df4[_0x5c9750(0x1b5)]),await _0x2b7df4['UEpQP'](concludeSession,_0x4fc204,_0x36b04c[_0x5c9750(0x1dd)]),console[_0x5c9750(0x1c5)]('\x0a✅\x20Session\x20'+_0x306c4a[_0x5c9750(0x125)]+_0x5c9750(0x178)),console['log'](_0x5c9750(0x19b));}export async function featureSessions(_0x1399e2){const _0x1112d4=_0x38f2a6,_0x5cce04={'oGDvL':function(_0x2fa890){return _0x2fa890();},'CyiSY':_0x1112d4(0x1e7),'xJovq':function(_0x432dbe,_0x11e5ed){return _0x432dbe(_0x11e5ed);},'Hkfrv':function(_0x11e761,_0xdfd382){return _0x11e761(_0xdfd382);},'ypIOB':function(_0x4e3c99,_0x1e097c){return _0x4e3c99===_0x1e097c;},'aLgEh':'completed','eQtKX':_0x1112d4(0x151)},_0x31fdf8=_0x1399e2||await _0x5cce04['oGDvL'](getActiveFeatureId);if(!_0x31fdf8)throw new Error(_0x5cce04['CyiSY']);const _0x10472c=await _0x5cce04[_0x1112d4(0x185)](getFeature,_0x31fdf8);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x10472c[_0x1112d4(0x113)]+'\x0a');const {sessions:_0x115715}=await _0x5cce04['Hkfrv'](listFeatureSessions,_0x31fdf8);if(_0x5cce04[_0x1112d4(0x122)](_0x115715[_0x1112d4(0x15a)],0x0)){console['log']('No\x20sessions\x20found.');return;}for(const _0x1c7b5e of _0x115715){const _0x3ef8a4=_0x5cce04['ypIOB'](_0x1c7b5e[_0x1112d4(0x1da)],_0x5cce04['aLgEh'])?'✅':_0x1c7b5e['status']===_0x5cce04[_0x1112d4(0x12b)]?'🔄':'▶️';console[_0x1112d4(0x1c5)](_0x3ef8a4+_0x1112d4(0x175)+_0x1c7b5e[_0x1112d4(0x125)]+'\x20('+_0x1c7b5e['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0x1c7b5e[_0x1112d4(0x1da)]),console[_0x1112d4(0x1c5)](_0x1112d4(0x14c)+new Date(_0x1c7b5e['createdAt'])['toLocaleString']()),_0x1c7b5e[_0x1112d4(0x1de)]&&console[_0x1112d4(0x1c5)]('\x20\x20\x20Completed:\x20'+new Date(_0x1c7b5e[_0x1112d4(0x1de)])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0xe4b353,_0x488185){const _0x19f0a3=_0x38f2a6,_0x57b7d5={'Nrehr':function(_0x293da7){return _0x293da7();},'OmJgH':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','mTsBG':function(_0x43f303,_0x5696fb,_0x566077){return _0x43f303(_0x5696fb,_0x566077);},'Jgnbu':function(_0x5a7ecd,_0x340967){return _0x5a7ecd(_0x340967);}},_0x506324=_0x488185||await _0x57b7d5['Nrehr'](getActiveFeatureId);if(!_0x506324)throw new Error(_0x57b7d5[_0x19f0a3(0x119)]);const _0x38f55f=await getFeature(_0x506324);if(_0x38f55f['latestReview']&&!_0x38f55f['latestReview']['submittedAt'])throw new Error(_0x19f0a3(0x19e)+_0x38f55f[_0x19f0a3(0x1ab)]);await _0x57b7d5[_0x19f0a3(0x1a0)](createChecklistItem,_0x506324,_0xe4b353);const _0x4b4067=await _0x57b7d5[_0x19f0a3(0x19c)](getFeature,_0x506324);console[_0x19f0a3(0x1c5)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x4b4067,_0x4b4067[_0x19f0a3(0x11a)]);}export async function featureEditScenario(_0x26f1e1,_0x592a53){const _0x3fb36e=_0x38f2a6,_0x50d9c9={'vWqoT':function(_0x23204f){return _0x23204f();},'pOeet':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','xbUEn':_0x3fb36e(0x1b4),'UJsBL':_0x3fb36e(0x1c1),'ykDnS':'Please\x20finish\x20your\x20review\x20first:','LmJBv':function(_0x539829,_0xb1989a){return _0x539829===_0xb1989a;},'kQEru':_0x3fb36e(0x1d6),'tPbcv':_0x3fb36e(0x1e1),'mooGj':_0x3fb36e(0x11c),'nEyoK':function(_0x6e9442,_0x409f68){return _0x6e9442<_0x409f68;},'oecjU':function(_0x37772e,_0x3e58c6){return _0x37772e+_0x3e58c6;},'sSuVY':function(_0x34abb2,_0x2d51bd){return _0x34abb2<_0x2d51bd;},'OrUNI':function(_0x5bcc53,_0x56f869,_0x3e57b7,_0x1c0b18){return _0x5bcc53(_0x56f869,_0x3e57b7,_0x1c0b18);}},_0x1d392e=_0x592a53['id']||await _0x50d9c9[_0x3fb36e(0x164)](getActiveFeatureId);!_0x1d392e&&(console[_0x3fb36e(0x148)](_0x50d9c9['pOeet']),console['error'](_0x50d9c9[_0x3fb36e(0x1b9)]),process[_0x3fb36e(0x1aa)](0x1));const _0x345024=await getFeature(_0x1d392e);_0x345024[_0x3fb36e(0x13b)]&&!_0x345024['latestReview'][_0x3fb36e(0x13d)]&&(console['error'](_0x50d9c9['UJsBL']),console[_0x3fb36e(0x148)](_0x50d9c9['ykDnS']),console['error']('\x20\x20'+_0x345024['dashboardUrl']),process[_0x3fb36e(0x1aa)](0x1));const _0x36a0db=_0x345024[_0x3fb36e(0x11a)]||[];_0x50d9c9[_0x3fb36e(0x1a9)](_0x36a0db['length'],0x0)&&(console[_0x3fb36e(0x148)](_0x50d9c9['kQEru']),process[_0x3fb36e(0x1aa)](0x1));if(_0x592a53[_0x3fb36e(0x169)]===undefined){console[_0x3fb36e(0x148)](_0x50d9c9['tPbcv']),console['log'](_0x50d9c9['mooGj']);for(let _0x4d0293=0x0;_0x50d9c9['nEyoK'](_0x4d0293,_0x36a0db[_0x3fb36e(0x15a)]);_0x4d0293++){console[_0x3fb36e(0x1c5)]('\x20\x20'+_0x50d9c9['oecjU'](_0x4d0293,0x1)+'.\x20'+_0x36a0db[_0x4d0293][_0x3fb36e(0x170)]);}process[_0x3fb36e(0x1aa)](0x1);}const _0x28c98c=_0x592a53[_0x3fb36e(0x169)]-0x1;if(_0x50d9c9[_0x3fb36e(0x10f)](_0x28c98c,0x0)||_0x28c98c>=_0x36a0db[_0x3fb36e(0x15a)]){console['error'](_0x3fb36e(0x189)+_0x592a53[_0x3fb36e(0x169)]+'.\x20Feature\x20review\x20has\x20'+_0x36a0db[_0x3fb36e(0x15a)]+'\x20scenarios.'),console['log']('\x0aAvailable\x20scenarios:');for(let _0x104607=0x0;_0x104607<_0x36a0db[_0x3fb36e(0x15a)];_0x104607++){console[_0x3fb36e(0x1c5)]('\x20\x20'+_0x50d9c9[_0x3fb36e(0x1a8)](_0x104607,0x1)+'.\x20'+_0x36a0db[_0x104607]['description']);}process['exit'](0x1);}const _0x2e9bae=_0x36a0db[_0x28c98c];await _0x50d9c9[_0x3fb36e(0x1ba)](updateChecklistItem,_0x1d392e,_0x2e9bae['id'],{'description':_0x26f1e1});const _0xf5e6c4=await getFeature(_0x1d392e);console[_0x3fb36e(0x1c5)](_0x3fb36e(0x1e2)),displayFeature(_0xf5e6c4,_0xf5e6c4[_0x3fb36e(0x11a)]);}async function downloadFeedbackImage(_0x35c706,_0x1100fd){const _0x46a3b5=_0x38f2a6,_0x506cdb={'yqvGF':function(_0x5809c3,_0x13b1f2,_0x5854b8){return _0x5809c3(_0x13b1f2,_0x5854b8);},'yOCtT':function(_0x24c5c1){return _0x24c5c1();},'ywqKi':function(_0x38ea1e,_0x4fc17e,_0x4a12e0){return _0x38ea1e(_0x4fc17e,_0x4a12e0);},'ZRTFI':function(_0xfedc4a,_0x5f5549,_0x5c97c1){return _0xfedc4a(_0x5f5549,_0x5c97c1);}};try{const _0x1be6e1=_0x506cdb[_0x46a3b5(0x126)](join,_0x506cdb['yOCtT'](getRangerDir),_0x46a3b5(0x1e6));await _0x506cdb[_0x46a3b5(0x114)](mkdir,_0x1be6e1,{'recursive':!![]});const _0x53ec3e=join(_0x1be6e1,_0x46a3b5(0x1d9)+_0x1100fd+_0x46a3b5(0x195)),_0x4ae19f=await fetch(_0x35c706);if(!_0x4ae19f['ok'])return null;const _0x508091=Buffer[_0x46a3b5(0x130)](await _0x4ae19f['arrayBuffer']());return await _0x506cdb['ZRTFI'](writeFile,_0x53ec3e,_0x508091),_0x53ec3e;}catch{return null;}}export async function featureGetReview(_0x3a18be){const _0x2bae57=_0x38f2a6,_0x12e064={'ZMzOI':function(_0x3b9cde,_0x2aa6bb){return _0x3b9cde(_0x2aa6bb);},'mfmba':function(_0x4f91ec,_0x1ab119){return _0x4f91ec===_0x1ab119;},'tCfEj':'No\x20scenarios\x20found.','bGKCq':function(_0xb2cc2c,_0x1cfb8c){return _0xb2cc2c<_0x1cfb8c;},'ChJhM':function(_0x42a8cf,_0x579209){return _0x42a8cf>_0x579209;},'tYvuA':'en-US','DrkaP':'numeric','TIRwI':function(_0x100a67,_0x4157f9,_0x41fd43){return _0x100a67(_0x4157f9,_0x41fd43);},'Ojnar':'point','cZxTQ':function(_0x1e0ab1,_0x30e8aa){return _0x1e0ab1+_0x30e8aa;}},_0x22ec43=_0x3a18be||await getActiveFeatureId();if(!_0x22ec43)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x55ad3c=await getFeature(_0x22ec43),{items:_0x4634da}=await _0x12e064[_0x2bae57(0x1ae)](getActionItems,_0x22ec43);console['log']('\x0a📋\x20Feedback\x20for:\x20'+_0x55ad3c['name']+'\x20('+_0x55ad3c['id']+')\x0a');if(_0x12e064['mfmba'](_0x4634da[_0x2bae57(0x15a)],0x0)){console['log'](_0x12e064[_0x2bae57(0x116)]);return;}for(let _0x122468=0x0;_0x12e064['bGKCq'](_0x122468,_0x4634da[_0x2bae57(0x15a)]);_0x122468++){const _0x3d2d22=_0x4634da[_0x122468],_0x108d00=_0x12e064['ChJhM'](_0x3d2d22[_0x2bae57(0x1b7)],0x1)?'\x20(v'+_0x3d2d22[_0x2bae57(0x1b7)]+')':'',_0x3f9d50=await getItemFeedback(_0x22ec43,_0x3d2d22['id']);if(_0x12e064[_0x2bae57(0x131)](_0x3f9d50[_0x2bae57(0x1c8)]['length'],0x0)){console[_0x2bae57(0x1c5)]('Scenario\x20'+(_0x122468+0x1)+_0x2bae57(0x15c)+_0x3d2d22[_0x2bae57(0x170)]+'\x22'+_0x108d00+_0x2bae57(0x17e)+_0x3f9d50['unaddressedComments'][_0x2bae57(0x15a)]+'\x20unaddressed\x20comment(s)');for(const _0x1bf3b2 of _0x3f9d50[_0x2bae57(0x1c8)]){const _0x5b286f=new Date(_0x1bf3b2['createdAt'])['toLocaleDateString'](_0x12e064['tYvuA'],{'month':'short','day':_0x12e064[_0x2bae57(0x1ea)]}),_0x383ea9=_0x1bf3b2['authorName']||_0x1bf3b2['authorEmail']||'Unknown';console['log']('\x20\x20💬\x20'+_0x383ea9+'\x20('+_0x5b286f+_0x2bae57(0x133)+_0x1bf3b2[_0x2bae57(0x144)]+'\x22');if(_0x1bf3b2['assetUrl']){const _0x1c8e11=await _0x12e064[_0x2bae57(0x1a6)](downloadFeedbackImage,_0x1bf3b2['assetUrl'],_0x1bf3b2['id']);_0x1c8e11&&console[_0x2bae57(0x1c5)]('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x1c8e11);}if(_0x1bf3b2[_0x2bae57(0x1a7)]){const _0x1aaf63=_0x1bf3b2['domRef'][_0x2bae57(0x152)][_0x2bae57(0x18f)]('\x20>\x20')['pop']()?.['split'](':')[0x0]||_0x2bae57(0x1ec),_0x569195=_0x1bf3b2['domRef'][_0x2bae57(0x1df)]?'\x20\x22'+_0x1bf3b2[_0x2bae57(0x1a7)][_0x2bae57(0x1df)]['slice'](0x0,0x3c)+'\x22':'';console['log'](_0x2bae57(0x1e4)+_0x1aaf63+'>'+_0x569195),console[_0x2bae57(0x1c5)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x1bf3b2['domRef'][_0x2bae57(0x152)]);}else{if(_0x1bf3b2[_0x2bae57(0x1e0)]){const _0x1e709d=_0x1bf3b2[_0x2bae57(0x1e0)][_0x2bae57(0x174)];_0x1bf3b2[_0x2bae57(0x1e0)]['type']===_0x12e064['Ojnar']&&_0x1e709d[_0x2bae57(0x15a)]>=0x2?console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x1e709d[0x0][_0x2bae57(0x18e)](0x2)+',\x20'+_0x1e709d[0x1][_0x2bae57(0x18e)](0x2)+')'):console[_0x2bae57(0x1c5)](_0x2bae57(0x1b8)+_0x1bf3b2['spatial'][_0x2bae57(0x1c4)]+'\x20at\x20['+_0x1e709d['map'](_0x18c4c4=>_0x18c4c4['toFixed'](0x2))[_0x2bae57(0x10e)](',\x20')+']');}}}if(_0x3f9d50[_0x2bae57(0x19f)]){console[_0x2bae57(0x1c5)]('\x20\x20Expected\x20flow:');for(const _0x158fb5 of _0x3f9d50[_0x2bae57(0x19f)][_0x2bae57(0x18f)]('\x0a')){console[_0x2bae57(0x1c5)](_0x2bae57(0x18d)+_0x158fb5);}}}else console[_0x2bae57(0x1c5)](_0x2bae57(0x1be)+_0x12e064['cZxTQ'](_0x122468,0x1)+_0x2bae57(0x15c)+_0x3d2d22['description']+'\x22'+_0x108d00+_0x2bae57(0x146)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}function _0x27c7(_0x10721b,_0xeea615){_0x10721b=_0x10721b-0x10e;const _0x21d2e7=_0x21d2();let _0x27c7d2=_0x21d2e7[_0x10721b];return _0x27c7d2;}export async function featureDelete(_0x77a332){const _0x155d57=_0x38f2a6,_0x1ca5c3={'ScwEX':function(_0x17f39f){return _0x17f39f();},'hEkiH':function(_0x1198e1,_0x1b1f04){return _0x1198e1+_0x1b1f04;}},_0x41b8e9=_0x77a332||await _0x1ca5c3['ScwEX'](getActiveFeatureId);if(!_0x41b8e9)throw new Error(_0x155d57(0x111));const _0x3e6913=await getFeature(_0x41b8e9);await softDeleteFeature(_0x41b8e9),console['log'](_0x155d57(0x17c)+_0x3e6913['name']+'\x20('+_0x41b8e9+')'),console['log'](_0x1ca5c3[_0x155d57(0x1ac)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20',_0x41b8e9));}export async function featureRestore(_0x3e5368){const _0x4895ed=_0x38f2a6;await restoreFeature(_0x3e5368);const _0x10d822=await getFeature(_0x3e5368);console['log'](_0x4895ed(0x190)+_0x10d822['name']+'\x20('+_0x3e5368+')'),displayFeature(_0x10d822,_0x10d822[_0x4895ed(0x11a)]);}
@@ -1 +1 @@
1
- (function(_0x2eab5c,_0x5a0dbf){const _0x4c6200=_0x2a60,_0x15f225=_0x2eab5c();while(!![]){try{const _0x3aa727=parseInt(_0x4c6200(0xa9))/0x1*(-parseInt(_0x4c6200(0xb4))/0x2)+-parseInt(_0x4c6200(0xa8))/0x3+parseInt(_0x4c6200(0xaa))/0x4*(parseInt(_0x4c6200(0xaf))/0x5)+-parseInt(_0x4c6200(0xab))/0x6+-parseInt(_0x4c6200(0xac))/0x7+parseInt(_0x4c6200(0xb2))/0x8+-parseInt(_0x4c6200(0xa4))/0x9*(-parseInt(_0x4c6200(0xad))/0xa);if(_0x3aa727===_0x5a0dbf)break;else _0x15f225['push'](_0x15f225['shift']());}catch(_0x5c6e77){_0x15f225['push'](_0x15f225['shift']());}}}(_0x4696,0x78c70));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};function _0x4696(){const _0x294f88=['SIGTERM','error','4667840wtJmkg','join','802LuAtbC','Valid\x20hooks:\x20','85869EengBd','once','Unknown\x20hook:\x20','alwlo','2149305ZVUmGv','1567OLVKnH','76CKKBud','3618012iQjlcc','2846333dkJIzY','1810hOySOk','SIGINT','141770mqEViz'];_0x4696=function(){return _0x294f88;};return _0x4696();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x44e4c9=_0x2a60,_0x26884b={'UeQQT':_0x44e4c9(0xae),'JQvpe':_0x44e4c9(0xb0),'TDhOD':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x54a8d6=()=>{process['exit'](0x0);};process['once'](_0x26884b['UeQQT'],_0x54a8d6),process['once'](_0x26884b['JQvpe'],_0x54a8d6),process[_0x44e4c9(0xa5)](_0x26884b['TDhOD'],_0x54a8d6),cancellationHandlersInstalled=!![];}function _0x2a60(_0xbcfa09,_0x11633f){_0xbcfa09=_0xbcfa09-0xa3;const _0x4696b8=_0x4696();let _0x2a6080=_0x4696b8[_0xbcfa09];return _0x2a6080;}export async function hook(_0x38d6b8,_0x313746){const _0x3f7fe5=_0x2a60,_0x480b96={'alwlo':function(_0x289b80){return _0x289b80();}};_0x480b96[_0x3f7fe5(0xa7)](installCancellationHandlers);const _0x277910=HOOKS[_0x38d6b8];if(!_0x277910){const _0x3aed65=Object['keys'](HOOKS)[_0x3f7fe5(0xb3)](',\x20');console['error'](_0x3f7fe5(0xa6)+_0x38d6b8),console[_0x3f7fe5(0xb1)](_0x3f7fe5(0xa3)+_0x3aed65),process['exit'](0x1);}await _0x277910(_0x313746);}
1
+ (function(_0x31bddd,_0x913836){const _0x558551=_0x30b7,_0x300bb1=_0x31bddd();while(!![]){try{const _0x3a6785=parseInt(_0x558551(0x122))/0x1*(parseInt(_0x558551(0x120))/0x2)+parseInt(_0x558551(0x123))/0x3+-parseInt(_0x558551(0x11d))/0x4+-parseInt(_0x558551(0x11f))/0x5*(parseInt(_0x558551(0x121))/0x6)+-parseInt(_0x558551(0x125))/0x7+parseInt(_0x558551(0x124))/0x8*(-parseInt(_0x558551(0x12b))/0x9)+parseInt(_0x558551(0x12c))/0xa;if(_0x3a6785===_0x913836)break;else _0x300bb1['push'](_0x300bb1['shift']());}catch(_0x197a39){_0x300bb1['push'](_0x300bb1['shift']());}}}(_0x2fb2,0xc47ae));function _0x30b7(_0x5e1bf2,_0x10bb16){_0x5e1bf2=_0x5e1bf2-0x11d;const _0x2fb2dd=_0x2fb2();let _0x30b78c=_0x2fb2dd[_0x5e1bf2];return _0x30b78c;}import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x2fb2(){const _0x5bbb23=['SIGTERM','81VMuLLs','27662030LUuLgR','once','3743156bXqCcU','error','187025XZETDY','223162bKjYjB','96POfZLP','4IzdYCU','3804546DZaOOy','1282584UGWTtq','4891257FzOzUa','VPsTm','SIGINT','Unknown\x20hook:\x20','Valid\x20hooks:\x20'];_0x2fb2=function(){return _0x5bbb23;};return _0x2fb2();}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 _0x57cb98=_0x30b7,_0x472e17={'VPsTm':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x323d92=()=>{process['exit'](0x0);};process[_0x57cb98(0x12d)](_0x57cb98(0x127),_0x323d92),process[_0x57cb98(0x12d)](_0x57cb98(0x12a),_0x323d92),process[_0x57cb98(0x12d)](_0x472e17[_0x57cb98(0x126)],_0x323d92),cancellationHandlersInstalled=!![];}export async function hook(_0x422da9,_0x10fccc){const _0x1bdfa9=_0x30b7,_0x318c06={'HLJCL':function(_0xfc1dd1){return _0xfc1dd1();},'EwYSa':function(_0x32977e,_0x211190){return _0x32977e(_0x211190);}};_0x318c06['HLJCL'](installCancellationHandlers);const _0x3c048e=HOOKS[_0x422da9];if(!_0x3c048e){const _0x16dff1=Object['keys'](HOOKS)['join'](',\x20');console[_0x1bdfa9(0x11e)](_0x1bdfa9(0x128)+_0x422da9),console[_0x1bdfa9(0x11e)](_0x1bdfa9(0x129)+_0x16dff1),process['exit'](0x1);}await _0x318c06['EwYSa'](_0x3c048e,_0x10fccc);}
@@ -1 +1 @@
1
- function _0x7e4f(_0x46a554,_0x488ca8){_0x46a554=_0x46a554-0x10b;const _0x405df1=_0x405d();let _0x7e4f2f=_0x405df1[_0x46a554];return _0x7e4f2f;}const _0x4e82e5=_0x7e4f;(function(_0x7eb703,_0x1d1059){const _0x19f779=_0x7e4f,_0x9344a3=_0x7eb703();while(!![]){try{const _0x29a949=parseInt(_0x19f779(0x116))/0x1*(-parseInt(_0x19f779(0x10d))/0x2)+-parseInt(_0x19f779(0x11b))/0x3*(-parseInt(_0x19f779(0x113))/0x4)+-parseInt(_0x19f779(0x10e))/0x5*(parseInt(_0x19f779(0x115))/0x6)+parseInt(_0x19f779(0x111))/0x7*(-parseInt(_0x19f779(0x110))/0x8)+-parseInt(_0x19f779(0x11c))/0x9*(parseInt(_0x19f779(0x10b))/0xa)+parseInt(_0x19f779(0x10c))/0xb*(-parseInt(_0x19f779(0x10f))/0xc)+-parseInt(_0x19f779(0x114))/0xd*(-parseInt(_0x19f779(0x118))/0xe);if(_0x29a949===_0x1d1059)break;else _0x9344a3['push'](_0x9344a3['shift']());}catch(_0x5cf01f){_0x9344a3['push'](_0x9344a3['shift']());}}}(_0x405d,0x66458));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT=_0x4e82e5(0x11a);function _0x405d(){const _0x27820a=['1547294VwVpNy','off','\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.','3xTbkxI','1125ntVuMu','58390yCFbzb','648263EpvaMJ','54nJcKOT','10565oIDrbz','24UFHYXU','25904SghyfC','49pxLuBq','rUJIQ','2069896NheDZI','143gCRZEP','498mXNncJ','9945oQRNDI','session_id'];_0x405d=function(){return _0x27820a;};return _0x405d();}export async function autoPrompt(){const _0xdd81ec=_0x4e82e5,_0x5c33a2={'trEZn':function(_0x250d20,_0xc5fd83){return _0x250d20===_0xc5fd83;},'rUJIQ':function(_0x2a2257){return _0x2a2257();},'ilqcP':function(_0xc68020,_0xaf1f65){return _0xc68020(_0xaf1f65);},'FGgyW':function(_0x21d96c,_0x9daf1d){return _0x21d96c(_0x9daf1d);}};if(_0x5c33a2['trEZn'](_0x5c33a2[_0xdd81ec(0x112)](resolveHookMode),_0xdd81ec(0x119)))return;const _0x5cc1dc=await readHookInput(),_0x20a438=_0x5cc1dc?.[_0xdd81ec(0x117)];if(!_0x20a438)return;if(isSessionEnabled(_0x20a438)||_0x5c33a2['ilqcP'](hasSessionBeenPrompted,_0x20a438))return;_0x5c33a2['FGgyW'](markSessionPrompted,_0x20a438),console['log'](AUTO_PROMPT_TEXT);}
1
+ (function(_0x1dd3e3,_0x746940){const _0x56235a=_0x3c94,_0x75a426=_0x1dd3e3();while(!![]){try{const _0x209628=-parseInt(_0x56235a(0x96))/0x1*(-parseInt(_0x56235a(0xa3))/0x2)+parseInt(_0x56235a(0x98))/0x3*(-parseInt(_0x56235a(0xa1))/0x4)+-parseInt(_0x56235a(0xa2))/0x5+-parseInt(_0x56235a(0xa0))/0x6*(-parseInt(_0x56235a(0x94))/0x7)+-parseInt(_0x56235a(0x9d))/0x8*(parseInt(_0x56235a(0x9e))/0x9)+parseInt(_0x56235a(0x9f))/0xa*(-parseInt(_0x56235a(0x97))/0xb)+parseInt(_0x56235a(0x99))/0xc;if(_0x209628===_0x746940)break;else _0x75a426['push'](_0x75a426['shift']());}catch(_0x478452){_0x75a426['push'](_0x75a426['shift']());}}}(_0x11be,0x99d0f));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';function _0x3c94(_0x5286ed,_0x2d704f){_0x5286ed=_0x5286ed-0x94;const _0x11be44=_0x11be();let _0x3c9468=_0x11be44[_0x5286ed];return _0x3c9468;}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.';function _0x11be(){const _0x5b5c8c=['WakNK','64PzLWdq','648639YDYmZV','3315890AcKCOx','6150570MjpWbo','3364IUDmgC','2808450CEmVoM','35198JJKlRd','session_id','7DweNBO','off','47zrQfUd','11efnyOi','3582qLgdQa','15021408hPZbeL','ayHsq','log'];_0x11be=function(){return _0x5b5c8c;};return _0x11be();}export async function autoPrompt(){const _0x49a0e8=_0x3c94,_0x1117dc={'ayHsq':function(_0x54ea5e,_0x8b1ac7){return _0x54ea5e===_0x8b1ac7;},'xgGDp':function(_0x37343d){return _0x37343d();},'WakNK':function(_0x13c8be,_0x332aad){return _0x13c8be(_0x332aad);}};if(_0x1117dc[_0x49a0e8(0x9a)](_0x1117dc['xgGDp'](resolveHookMode),_0x49a0e8(0x95)))return;const _0x125769=await readHookInput(),_0x40a22b=_0x125769?.[_0x49a0e8(0xa4)];if(!_0x40a22b)return;if(_0x1117dc[_0x49a0e8(0x9c)](isSessionEnabled,_0x40a22b)||hasSessionBeenPrompted(_0x40a22b))return;markSessionPrompted(_0x40a22b),console[_0x49a0e8(0x9b)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- (function(_0xd1cc32,_0x53c0e4){const _0x41ea9b=_0x5270,_0x2cf0c3=_0xd1cc32();while(!![]){try{const _0x3d931d=parseInt(_0x41ea9b(0x14e))/0x1*(-parseInt(_0x41ea9b(0x145))/0x2)+-parseInt(_0x41ea9b(0x147))/0x3+parseInt(_0x41ea9b(0x14f))/0x4+parseInt(_0x41ea9b(0x146))/0x5+-parseInt(_0x41ea9b(0x140))/0x6+-parseInt(_0x41ea9b(0x14b))/0x7*(-parseInt(_0x41ea9b(0x151))/0x8)+-parseInt(_0x41ea9b(0x141))/0x9*(-parseInt(_0x41ea9b(0x14d))/0xa);if(_0x3d931d===_0x53c0e4)break;else _0x2cf0c3['push'](_0x2cf0c3['shift']());}catch(_0x32cdf1){_0x2cf0c3['push'](_0x2cf0c3['shift']());}}}(_0x25b3,0xc4cd3));function _0x5270(_0x2b94a8,_0x493ea4){_0x2b94a8=_0x2b94a8-0x13f;const _0x25b379=_0x25b3();let _0x5270f1=_0x25b379[_0x2b94a8];return _0x5270f1;}function _0x25b3(){const _0x335005=['#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','5815914xKEaNP','9aLiodz','osBrc','\x20and\x20branch\x20\x27','UqIbX','81022rODATz','3473505WFHopr','3455754UAOiDx','ZwJTv','.\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`.','bTizC','49ylDVTC','main','2549310kJuuDj','3RRxwYA','4481456mXDhYI','env','1118712AUHRMN','eENey'];_0x25b3=function(){return _0x335005;};return _0x25b3();}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x172c7a){const _0x3b480c=_0x5270,_0x147389={'osBrc':function(_0x278e64){return _0x278e64();},'gsHHG':function(_0x605652,_0x579571){return _0x605652!==_0x579571;},'eENey':function(_0x13255c,_0x3c141d){return _0x13255c!==_0x3c141d;},'UqIbX':function(_0x2be981,_0x11a3fa){return _0x2be981(_0x11a3fa);},'bTizC':function(_0x3313d4,_0x46fd79){return _0x3313d4!==_0x46fd79;},'ZwJTv':'master'},_0x3865d1=_0x172c7a||process[_0x3b480c(0x150)]['CLAUDE_SESSION_ID']||'';_0x3865d1&&disableSession(_0x3865d1);const _0x24f3e4=_0x147389[_0x3b480c(0x142)](getCurrentBranch);_0x24f3e4&&_0x147389['gsHHG'](_0x24f3e4,_0x3b480c(0x14c))&&_0x147389[_0x3b480c(0x152)](_0x24f3e4,'master')&&disableBranch(_0x24f3e4),_0x147389[_0x3b480c(0x144)](printBlock,_0x3b480c(0x13f)+(_0x24f3e4&&_0x24f3e4!==_0x3b480c(0x14c)&&_0x147389[_0x3b480c(0x14a)](_0x24f3e4,_0x147389[_0x3b480c(0x148)])?_0x3b480c(0x143)+_0x24f3e4+'\x27':'')+_0x3b480c(0x149));}
1
+ (function(_0x25590e,_0x4e5901){const _0x3f9d6f=_0x5bae,_0x3f484c=_0x25590e();while(!![]){try{const _0x47b0a4=-parseInt(_0x3f9d6f(0xda))/0x1*(-parseInt(_0x3f9d6f(0xe0))/0x2)+parseInt(_0x3f9d6f(0xdf))/0x3+parseInt(_0x3f9d6f(0xd4))/0x4+-parseInt(_0x3f9d6f(0xd9))/0x5*(parseInt(_0x3f9d6f(0xd8))/0x6)+parseInt(_0x3f9d6f(0xd1))/0x7*(-parseInt(_0x3f9d6f(0xd0))/0x8)+parseInt(_0x3f9d6f(0xd5))/0x9*(-parseInt(_0x3f9d6f(0xdd))/0xa)+parseInt(_0x3f9d6f(0xd3))/0xb*(-parseInt(_0x3f9d6f(0xd6))/0xc);if(_0x47b0a4===_0x4e5901)break;else _0x3f484c['push'](_0x3f484c['shift']());}catch(_0x2a31e5){_0x3f484c['push'](_0x3f484c['shift']());}}}(_0x5acf,0x2a54c));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x5acf(){const _0x36c40d=['\x20and\x20branch\x20\x27','450531TwNLOy','26BeukQI','184TkMBaw','28371iwyrjv','xgMAU','44Eygkua','709172dHaKsv','298890mOlGpT','774132tWVeKx','main','51006SHCslw','25PpBOma','20992wdTMvH','.\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`.','env','10Bblebl'];_0x5acf=function(){return _0x36c40d;};return _0x5acf();}import{printBlock}from'./output.js';function _0x5bae(_0x4382fc,_0x48b76d){_0x4382fc=_0x4382fc-0xd0;const _0x5acf3f=_0x5acf();let _0x5baef3=_0x5acf3f[_0x4382fc];return _0x5baef3;}export async function disable(_0x4c1287){const _0x2aca96=_0x5bae,_0x24e391={'GVMDo':function(_0x2513e9,_0x479f1d){return _0x2513e9(_0x479f1d);},'NwoxE':function(_0xe077e6,_0x4067d2){return _0xe077e6(_0x4067d2);},'kMgfw':function(_0x54c222,_0x5edde5){return _0x54c222!==_0x5edde5;},'xgMAU':'master'},_0x2c2910=_0x4c1287||process[_0x2aca96(0xdc)]['CLAUDE_SESSION_ID']||'';_0x2c2910&&_0x24e391['GVMDo'](disableSession,_0x2c2910);const _0x1c8da9=getCurrentBranch();_0x1c8da9&&_0x1c8da9!==_0x2aca96(0xd7)&&_0x1c8da9!=='master'&&_0x24e391['NwoxE'](disableBranch,_0x1c8da9),printBlock('#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x1c8da9&&_0x1c8da9!==_0x2aca96(0xd7)&&_0x24e391['kMgfw'](_0x1c8da9,_0x24e391[_0x2aca96(0xd2)])?_0x2aca96(0xde)+_0x1c8da9+'\x27':'')+_0x2aca96(0xdb));}
@@ -1 +1 @@
1
- (function(_0x11fc59,_0x531dff){const _0x59f56f=_0x117e,_0x3becb9=_0x11fc59();while(!![]){try{const _0x22e468=parseInt(_0x59f56f(0x108))/0x1+parseInt(_0x59f56f(0x10b))/0x2+parseInt(_0x59f56f(0xfd))/0x3*(parseInt(_0x59f56f(0x10c))/0x4)+parseInt(_0x59f56f(0x106))/0x5+parseInt(_0x59f56f(0x10a))/0x6+-parseInt(_0x59f56f(0x10d))/0x7+-parseInt(_0x59f56f(0x100))/0x8*(parseInt(_0x59f56f(0x110))/0x9);if(_0x22e468===_0x531dff)break;else _0x3becb9['push'](_0x3becb9['shift']());}catch(_0x5a2b3f){_0x3becb9['push'](_0x3becb9['shift']());}}}(_0x4fce,0xe2fad));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';function _0x4fce(){const _0x1c9af6=['ranger\x20setup\x20--opencode','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','2218060MgMMrb','master','1560053JppwyE','\x0a\x0a**Branch\x20\x27','1804506zOwZty','528588uBSMEb','2369216RlsFAu','12578153bPSjdx','GRXLO','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','1341ijHyMs','9wGWRXh','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','ranger\x20setup','86928fkTtsy','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','\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`.','CLAUDE_SESSION_ID'];_0x4fce=function(){return _0x1c9af6;};return _0x4fce();}import{getToken}from'../utils/keychain.js';function _0x117e(_0x3f5865,_0x4a1eb5){_0x3f5865=_0x3f5865-0xfd;const _0x4fce58=_0x4fce();let _0x117eba=_0x4fce58[_0x3f5865];return _0x117eba;}import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';export async function enable(_0x1efa4f){const _0x52c99f=_0x117e,_0xa3459f={'GRXLO':function(_0x4aacca,_0x1d7327){return _0x4aacca(_0x1d7327);},'Gosnh':_0x52c99f(0x104),'Rgmtz':_0x52c99f(0x105),'hHCNV':function(_0xe64d0,_0x57e974){return _0xe64d0!==_0x57e974;},'lNsGn':'main','xNlHq':function(_0x166b11,_0x3099f0){return _0x166b11!==_0x3099f0;},'HvYFW':function(_0x26bd2c){return _0x26bd2c();}},_0x366597=_0x1efa4f||process['env'][_0x52c99f(0x103)]||'',_0x5bea3e=_0xa3459f[_0x52c99f(0x10e)](Boolean,_0x1efa4f),_0x2546be=await getToken();if(!_0x2546be){const _0x3af894=_0x5bea3e?_0xa3459f['Gosnh']:_0x52c99f(0xff),_0x29085c=_0x5bea3e?_0xa3459f['Rgmtz']:'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.';printBlock('#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`'+_0x3af894+_0x52c99f(0x10f)+_0x29085c);return;}try{await update();}catch{}_0x366597&&enableSession(_0x366597);const _0x50e5ac=getCurrentBranch(),_0x2b926e=_0x50e5ac&&_0xa3459f['hHCNV'](_0x50e5ac,_0xa3459f['lNsGn'])&&_0xa3459f['xNlHq'](_0x50e5ac,_0x52c99f(0x107))?_0x52c99f(0x109)+_0x50e5ac+_0x52c99f(0xfe):'',_0x32c1eb=_0xa3459f['HvYFW'](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x2b926e+_0x52c99f(0x101)+_0x32c1eb+_0x52c99f(0x102));}
1
+ (function(_0x1f21b7,_0x36c3d5){const _0x161c77=_0x16e4,_0x3e4ed4=_0x1f21b7();while(!![]){try{const _0x239a76=parseInt(_0x161c77(0x129))/0x1+-parseInt(_0x161c77(0x13a))/0x2+-parseInt(_0x161c77(0x12e))/0x3+-parseInt(_0x161c77(0x131))/0x4+-parseInt(_0x161c77(0x12c))/0x5*(parseInt(_0x161c77(0x12f))/0x6)+parseInt(_0x161c77(0x134))/0x7*(parseInt(_0x161c77(0x139))/0x8)+parseInt(_0x161c77(0x13c))/0x9;if(_0x239a76===_0x36c3d5)break;else _0x3e4ed4['push'](_0x3e4ed4['shift']());}catch(_0x3b10c3){_0x3e4ed4['push'](_0x3e4ed4['shift']());}}}(_0x39a3,0x1b130));function _0x39a3(){const _0x179e24=['ETnPa','ranger\x20setup\x20--opencode','8oERQzN','426148yMlthn','#\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`','3248766HEPJzG','111135DUnNal','dPmIm','master','5cxQBeR','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','487845FgLFbB','114258UWCAmn','bLXyq','198152DfJhzj','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','581399dCwNcO','ranger\x20setup','WiKts'];_0x39a3=function(){return _0x179e24;};return _0x39a3();}import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x16e4(_0x747a27,_0x5603b8){_0x747a27=_0x747a27-0x129;const _0x39a315=_0x39a3();let _0x16e433=_0x39a315[_0x747a27];return _0x16e433;}export async function enable(_0x25ae33){const _0x36c649=_0x16e4,_0x3a2f01={'QBVVq':_0x36c649(0x138),'ETnPa':function(_0x55c25c,_0x1fffb6){return _0x55c25c(_0x1fffb6);},'dPmIm':function(_0xc2aa54){return _0xc2aa54();},'WiKts':function(_0x46edd0){return _0x46edd0();},'bLXyq':function(_0x241ce2,_0x27cd4c){return _0x241ce2!==_0x27cd4c;},'utPRY':function(_0x2bf4be){return _0x2bf4be();}},_0x242b78=_0x25ae33||process['env']['CLAUDE_SESSION_ID']||'',_0x34be53=Boolean(_0x25ae33),_0x24371e=await getToken();if(!_0x24371e){const _0x45e391=_0x34be53?_0x3a2f01['QBVVq']:_0x36c649(0x135),_0x4f8377=_0x34be53?'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.':_0x36c649(0x132);_0x3a2f01[_0x36c649(0x137)](printBlock,_0x36c649(0x13b)+_0x45e391+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x4f8377);return;}try{await _0x3a2f01[_0x36c649(0x12a)](update);}catch{}_0x242b78&&_0x3a2f01['ETnPa'](enableSession,_0x242b78);const _0x4cf4d3=_0x3a2f01[_0x36c649(0x136)](getCurrentBranch),_0x39f382=_0x4cf4d3&&_0x4cf4d3!=='main'&&_0x3a2f01[_0x36c649(0x130)](_0x4cf4d3,_0x36c649(0x12b))?'\x0a\x0a**Branch\x20\x27'+_0x4cf4d3+_0x36c649(0x12d):'',_0x149518=_0x3a2f01['utPRY'](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x39f382+_0x36c649(0x133)+_0x149518+'\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(_0x5ea335,_0x23c023){const _0x3b42c0=_0x53cf,_0x32d6ec=_0x5ea335();while(!![]){try{const _0x8df192=parseInt(_0x3b42c0(0xb9))/0x1+parseInt(_0x3b42c0(0xb5))/0x2+-parseInt(_0x3b42c0(0xb8))/0x3*(parseInt(_0x3b42c0(0xbd))/0x4)+parseInt(_0x3b42c0(0xbc))/0x5+parseInt(_0x3b42c0(0xbe))/0x6*(-parseInt(_0x3b42c0(0xb6))/0x7)+parseInt(_0x3b42c0(0xbf))/0x8*(parseInt(_0x3b42c0(0xb7))/0x9)+-parseInt(_0x3b42c0(0xc0))/0xa;if(_0x8df192===_0x23c023)break;else _0x32d6ec['push'](_0x32d6ec['shift']());}catch(_0x29fcab){_0x32d6ec['push'](_0x32d6ec['shift']());}}}(_0x3846,0x85fbd));import{printBlock,getEnabledSessionId}from'./output.js';function _0x3846(){const _0x381d05=['1606017lNlqJz','260667FJpgCt','134163IVhxnp','547049IaOpcD','OKtnT','UkTRp','2286110bDqWRp','4EmvppO','6nrDhnJ','8OtRFcU','7281500WHjgqK','1035730DTjWum'];_0x3846=function(){return _0x381d05;};return _0x3846();}function _0x53cf(_0x59d775,_0x28f32d){_0x59d775=_0x59d775-0xb5;const _0x384696=_0x3846();let _0x53cf19=_0x384696[_0x59d775];return _0x53cf19;}export async function exitPlanMode(_0x215752){const _0x1bb9da=_0x53cf,_0x437f8e={'UkTRp':function(_0x2e7ee5,_0x1f90df){return _0x2e7ee5(_0x1f90df);},'OKtnT':function(_0x270320,_0x3d9764){return _0x270320(_0x3d9764);}},_0x386fbf=await _0x437f8e[_0x1bb9da(0xbb)](getEnabledSessionId,_0x215752);if(!_0x386fbf)return;_0x437f8e[_0x1bb9da(0xba)](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
1
+ function _0x4d82(_0x21b23f,_0x19ae68){_0x21b23f=_0x21b23f-0x12d;const _0x331580=_0x3315();let _0x4d82d4=_0x331580[_0x21b23f];return _0x4d82d4;}(function(_0x1f4662,_0xe35274){const _0x30fdee=_0x4d82,_0x23f825=_0x1f4662();while(!![]){try{const _0x52c261=parseInt(_0x30fdee(0x131))/0x1*(parseInt(_0x30fdee(0x137))/0x2)+parseInt(_0x30fdee(0x130))/0x3*(-parseInt(_0x30fdee(0x139))/0x4)+parseInt(_0x30fdee(0x135))/0x5+-parseInt(_0x30fdee(0x136))/0x6+-parseInt(_0x30fdee(0x12f))/0x7*(-parseInt(_0x30fdee(0x134))/0x8)+-parseInt(_0x30fdee(0x12d))/0x9*(parseInt(_0x30fdee(0x132))/0xa)+parseInt(_0x30fdee(0x133))/0xb;if(_0x52c261===_0xe35274)break;else _0x23f825['push'](_0x23f825['shift']());}catch(_0x13bef2){_0x23f825['push'](_0x23f825['shift']());}}}(_0x3315,0xcef59));import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x24b184){const _0xcbd684=_0x4d82,_0xc52d71={'DiHtI':function(_0x294da7,_0x486326){return _0x294da7(_0x486326);}},_0x2a7a4=await _0xc52d71[_0xcbd684(0x138)](getEnabledSessionId,_0x24b184);if(!_0x2a7a4)return;printBlock(_0xcbd684(0x12e));}function _0x3315(){const _0xf5b620=['4288800CoUZBo','1731789pRrXVS','===\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===','7AOuQKq','3mVldLf','1101329qFNtzr','30qsdssM','21322686YbKeQZ','6120744lySeiI','632175ETKoaD','8604690MvqMPo','2JpXwFG','DiHtI'];_0x3315=function(){return _0xf5b620;};return _0x3315();}
@@ -1 +1 @@
1
- (function(_0x575d27,_0x16c0b8){var _0x2d7d62=_0x4333,_0xdcbead=_0x575d27();while(!![]){try{var _0x3f8a57=-parseInt(_0x2d7d62(0x107))/0x1+-parseInt(_0x2d7d62(0x104))/0x2+parseInt(_0x2d7d62(0x10a))/0x3+-parseInt(_0x2d7d62(0x106))/0x4*(parseInt(_0x2d7d62(0x103))/0x5)+parseInt(_0x2d7d62(0x102))/0x6+-parseInt(_0x2d7d62(0x108))/0x7*(-parseInt(_0x2d7d62(0x109))/0x8)+parseInt(_0x2d7d62(0x105))/0x9;if(_0x3f8a57===_0x16c0b8)break;else _0xdcbead['push'](_0xdcbead['shift']());}catch(_0xe4a758){_0xdcbead['push'](_0xdcbead['shift']());}}}(_0x4264,0x2ddab));export{sessionStart}from'./sessionStart.js';function _0x4333(_0xcc9de,_0xfd4771){_0xcc9de=_0xcc9de-0x102;var _0x4264e6=_0x4264();var _0x43331c=_0x4264e6[_0xcc9de];return _0x43331c;}function _0x4264(){var _0x209bad=['190136bwDoox','1778sRzlGS','3664ruhbBj','1109118UIteOw','1016262QqlqjP','17410FhfLVY','302314ClKRGl','304821lsJorq','184ZwZIjE'];_0x4264=function(){return _0x209bad;};return _0x4264();}export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ function _0x1fef(_0x450bc5,_0x3aa9d2){_0x450bc5=_0x450bc5-0xee;var _0x54acd2=_0x54ac();var _0x1fef02=_0x54acd2[_0x450bc5];return _0x1fef02;}(function(_0x40540b,_0x41f06d){var _0x2dbabe=_0x1fef,_0x417c34=_0x40540b();while(!![]){try{var _0x5f1285=-parseInt(_0x2dbabe(0xf2))/0x1+-parseInt(_0x2dbabe(0xef))/0x2+-parseInt(_0x2dbabe(0xf5))/0x3*(parseInt(_0x2dbabe(0xf4))/0x4)+-parseInt(_0x2dbabe(0xf1))/0x5+-parseInt(_0x2dbabe(0xf3))/0x6+parseInt(_0x2dbabe(0xf6))/0x7+parseInt(_0x2dbabe(0xee))/0x8*(parseInt(_0x2dbabe(0xf0))/0x9);if(_0x5f1285===_0x41f06d)break;else _0x417c34['push'](_0x417c34['shift']());}catch(_0x3fdaa9){_0x417c34['push'](_0x417c34['shift']());}}}(_0x54ac,0x35ba0));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';function _0x54ac(){var _0x305213=['13497izNoBz','2537486YynBFT','8xNqtLu','258280HzyoJL','6574131CKLrAg','723260mpkFVw','139775ZKPKrh','1028340HvaIzh','256YBZSNr'];_0x54ac=function(){return _0x305213;};return _0x54ac();}export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x18ad1e,_0x5a96c7){const _0x5cd255=_0x1dd7,_0x1a5bde=_0x18ad1e();while(!![]){try{const _0x4c0eb6=parseInt(_0x5cd255(0x8e))/0x1+-parseInt(_0x5cd255(0x8c))/0x2*(parseInt(_0x5cd255(0x93))/0x3)+-parseInt(_0x5cd255(0x95))/0x4*(-parseInt(_0x5cd255(0x96))/0x5)+parseInt(_0x5cd255(0x8f))/0x6*(-parseInt(_0x5cd255(0x90))/0x7)+-parseInt(_0x5cd255(0x94))/0x8*(-parseInt(_0x5cd255(0x8d))/0x9)+-parseInt(_0x5cd255(0x8b))/0xa*(-parseInt(_0x5cd255(0x97))/0xb)+-parseInt(_0x5cd255(0x91))/0xc;if(_0x4c0eb6===_0x5a96c7)break;else _0x1a5bde['push'](_0x1a5bde['shift']());}catch(_0x5e6c27){_0x1a5bde['push'](_0x1a5bde['shift']());}}}(_0x4294,0xb22d8));function _0x1dd7(_0x43ac48,_0x1c06f0){_0x43ac48=_0x43ac48-0x8b;const _0x4294fe=_0x4294();let _0x1dd718=_0x4294fe[_0x43ac48];return _0x1dd718;}import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x21e7a0){console['log'](_0x21e7a0);}export async function readHookInput(){let _0x596e39='';try{for await(const _0x34b3dc of process['stdin']){_0x596e39+=_0x34b3dc;}}catch{return null;}if(!_0x596e39['trim']())return null;try{return JSON['parse'](_0x596e39);}catch{return null;}}export async function getEnabledSessionId(_0x254495){const _0x38e220={'cUgHe':function(_0x6ab49e,_0x3bd9ea){return _0x6ab49e(_0x3bd9ea);}};if(_0x254495)return isSessionEnabled(_0x254495)?_0x254495:null;const _0x1a8066=await readHookInput(),_0x548c70=_0x1a8066?.['session_id'];if(!_0x548c70||!_0x38e220['cUgHe'](isSessionEnabled,_0x548c70))return null;return _0x548c70;}function _0x4294(){const _0x351638=['NvRcs','14937qXQPVb','104LKCOpX','2708HJQLAc','5755ORHddz','7993337KoYBmI','session_id','20WvEKfI','196RAuLGc','369783KpfYXP','483100KirirB','166458mmrVUj','329HOjDZY','8737356PwaKYk'];_0x4294=function(){return _0x351638;};return _0x4294();}export async function getEnabledHookContext(_0xf9b173){const _0x4a6436=_0x1dd7,_0x7ededc={'NvRcs':function(_0x148cc9,_0x5ff092){return _0x148cc9(_0x5ff092);}};if(_0xf9b173){if(!_0x7ededc[_0x4a6436(0x92)](isSessionEnabled,_0xf9b173))return null;return{'sessionId':_0xf9b173,'input':{'session_id':_0xf9b173}};}const _0x32b7f9=await readHookInput(),_0x1c0917=_0x32b7f9?.[_0x4a6436(0x98)];if(!_0x1c0917||!_0x7ededc['NvRcs'](isSessionEnabled,_0x1c0917))return null;return{'sessionId':_0x1c0917,'input':_0x32b7f9};}
1
+ function _0x24cd(){const _0x72b5e1=['1034844QtkQyu','146zWHfFG','parse','8JZPbcL','8162hShXHR','2061954vpcdrj','trim','1432gIFoKZ','session_id','WNDoH','13104370rrzbfV','13027njCZZd','2200885XNvSeC','6724557qzSxSc','oMgCV'];_0x24cd=function(){return _0x72b5e1;};return _0x24cd();}(function(_0x31748d,_0x5626f3){const _0x75b63e=_0x5048,_0x5ac2eb=_0x31748d();while(!![]){try{const _0x213259=-parseInt(_0x75b63e(0xf3))/0x1*(parseInt(_0x75b63e(0xff))/0x2)+-parseInt(_0x75b63e(0xfe))/0x3+parseInt(_0x75b63e(0xf2))/0x4*(parseInt(_0x75b63e(0xfb))/0x5)+parseInt(_0x75b63e(0xf4))/0x6+-parseInt(_0x75b63e(0xfa))/0x7*(parseInt(_0x75b63e(0xf6))/0x8)+-parseInt(_0x75b63e(0xfc))/0x9+parseInt(_0x75b63e(0xf9))/0xa;if(_0x213259===_0x5626f3)break;else _0x5ac2eb['push'](_0x5ac2eb['shift']());}catch(_0x3325f6){_0x5ac2eb['push'](_0x5ac2eb['shift']());}}}(_0x24cd,0x7d568));import{isSessionEnabled}from'../utils/sessionCache.js';function _0x5048(_0x39b8a4,_0x21df2e){_0x39b8a4=_0x39b8a4-0xf2;const _0x24cdd2=_0x24cd();let _0x504873=_0x24cdd2[_0x39b8a4];return _0x504873;}export function printBlock(_0x120ad5){console['log'](_0x120ad5);}export async function readHookInput(){const _0x473061=_0x5048;let _0x4f5bda='';try{for await(const _0x468ed4 of process['stdin']){_0x4f5bda+=_0x468ed4;}}catch{return null;}if(!_0x4f5bda[_0x473061(0xf5)]())return null;try{return JSON[_0x473061(0x100)](_0x4f5bda);}catch{return null;}}export async function getEnabledSessionId(_0x58c7c6){const _0x21076c=_0x5048,_0x6a8d89={'oMgCV':function(_0x34a2e3,_0x26c3e3){return _0x34a2e3(_0x26c3e3);},'WNDoH':function(_0x22e017,_0x2896d7){return _0x22e017(_0x2896d7);}};if(_0x58c7c6)return _0x6a8d89[_0x21076c(0xfd)](isSessionEnabled,_0x58c7c6)?_0x58c7c6:null;const _0x1f9e86=await readHookInput(),_0x3acef0=_0x1f9e86?.['session_id'];if(!_0x3acef0||!_0x6a8d89[_0x21076c(0xf8)](isSessionEnabled,_0x3acef0))return null;return _0x3acef0;}export async function getEnabledHookContext(_0x1297ca){const _0x4161c4=_0x5048,_0x1af718={'aLGAn':function(_0x493025,_0xbd1db){return _0x493025(_0xbd1db);}};if(_0x1297ca){if(!_0x1af718['aLGAn'](isSessionEnabled,_0x1297ca))return null;return{'sessionId':_0x1297ca,'input':{'session_id':_0x1297ca}};}const _0x588a17=await readHookInput(),_0x2a07bd=_0x588a17?.[_0x4161c4(0xf7)];if(!_0x2a07bd||!isSessionEnabled(_0x2a07bd))return null;return{'sessionId':_0x2a07bd,'input':_0x588a17};}
@@ -1 +1 @@
1
- (function(_0x5d6e50,_0x90a0a9){const _0x53d0ca=_0x5528,_0x13d836=_0x5d6e50();while(!![]){try{const _0x137e3a=parseInt(_0x53d0ca(0x192))/0x1*(parseInt(_0x53d0ca(0x18e))/0x2)+-parseInt(_0x53d0ca(0x188))/0x3+-parseInt(_0x53d0ca(0x18f))/0x4+parseInt(_0x53d0ca(0x18d))/0x5*(-parseInt(_0x53d0ca(0x18b))/0x6)+parseInt(_0x53d0ca(0x191))/0x7*(-parseInt(_0x53d0ca(0x18a))/0x8)+parseInt(_0x53d0ca(0x187))/0x9+parseInt(_0x53d0ca(0x18c))/0xa;if(_0x137e3a===_0x90a0a9)break;else _0x13d836['push'](_0x13d836['shift']());}catch(_0x55bf50){_0x13d836['push'](_0x13d836['shift']());}}}(_0x5275,0xa37d7));function _0x5528(_0x19bba6,_0x5e7b2a){_0x19bba6=_0x19bba6-0x187;const _0x527547=_0x5275();let _0x552814=_0x527547[_0x19bba6];return _0x552814;}import{printBlock,getEnabledHookContext}from'./output.js';function _0x5275(){const _0x4ad816=['plan','749ddOVcY','1HGwxPq','sessionId','sbXrJ','731763qhVTvl','2466507oGjgpE','ApkJn','38408jucJub','18eRBMEk','28282000yoeabt','1275605KieAuP','1948230tQIfpy','4450912xQHfgL'];_0x5275=function(){return _0x4ad816;};return _0x5275();}import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0xeac77c){const _0x575a8f=_0x5528,_0x1aa373={'ApkJn':function(_0x1a393d,_0x51bba2){return _0x1a393d!==_0x51bba2;},'sbXrJ':_0x575a8f(0x190)},_0x328b76=await getEnabledHookContext(_0xeac77c);if(!_0x328b76)return;if(_0x1aa373[_0x575a8f(0x189)](_0x328b76['input']['permission_mode'],_0x1aa373[_0x575a8f(0x194)]))return;if(!shouldShowPlanReminder(_0x328b76[_0x575a8f(0x193)]))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
+ (function(_0x3fb9a5,_0x4902d3){const _0x452566=_0x12a7,_0x5dfa97=_0x3fb9a5();while(!![]){try{const _0x333657=-parseInt(_0x452566(0x7e))/0x1*(parseInt(_0x452566(0x74))/0x2)+parseInt(_0x452566(0x73))/0x3*(-parseInt(_0x452566(0x7a))/0x4)+-parseInt(_0x452566(0x70))/0x5*(parseInt(_0x452566(0x78))/0x6)+parseInt(_0x452566(0x77))/0x7*(-parseInt(_0x452566(0x79))/0x8)+-parseInt(_0x452566(0x6f))/0x9+-parseInt(_0x452566(0x72))/0xa*(-parseInt(_0x452566(0x71))/0xb)+parseInt(_0x452566(0x7f))/0xc;if(_0x333657===_0x4902d3)break;else _0x5dfa97['push'](_0x5dfa97['shift']());}catch(_0x286466){_0x5dfa97['push'](_0x5dfa97['shift']());}}}(_0x27d2,0x5049f));function _0x12a7(_0xc21153,_0x4fdd83){_0xc21153=_0xc21153-0x6f;const _0x27d20e=_0x27d2();let _0x12a7c4=_0x27d20e[_0xc21153];return _0x12a7c4;}import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x27d2(){const _0x1106de=['3609288lZczdv','220aoHnsR','6462203bIRcCk','10uDcbdT','1672161vhxwUB','10dAUsIj','VbPlC','permission_mode','124362kLmTqw','63864HYkUlq','128ldtVDj','4xPChGO','sessionId','===\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===','input','83834sQDpvr','22458852rmWzNo'];_0x27d2=function(){return _0x1106de;};return _0x27d2();}export async function planReminder(_0x203a95){const _0x466971=_0x12a7,_0x1af43d={'XwafG':function(_0x3a656e,_0x411c6d){return _0x3a656e!==_0x411c6d;},'VbPlC':function(_0x134cea,_0x30321c){return _0x134cea(_0x30321c);}},_0x9914dd=await getEnabledHookContext(_0x203a95);if(!_0x9914dd)return;if(_0x1af43d['XwafG'](_0x9914dd[_0x466971(0x7d)][_0x466971(0x76)],'plan'))return;if(!shouldShowPlanReminder(_0x9914dd[_0x466971(0x7b)]))return;_0x1af43d[_0x466971(0x75)](printBlock,_0x466971(0x7c));}
@@ -1 +1 @@
1
- function _0x229a(){const _0x2362f4=['460035AleNVd','1276760JuAIYJ','189204YkczRx','40SZUhUM','13VsPMsQ','690003BfOnqt','9823702TlxipJ','===\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===','1008882AdrBuR','220222ijRnjm','52vCZoXO'];_0x229a=function(){return _0x2362f4;};return _0x229a();}function _0x58f3(_0x4940c1,_0x19a060){_0x4940c1=_0x4940c1-0x7f;const _0x229a57=_0x229a();let _0x58f370=_0x229a57[_0x4940c1];return _0x58f370;}(function(_0x412a5c,_0x3fa88e){const _0x50c31b=_0x58f3,_0x499a93=_0x412a5c();while(!![]){try{const _0x29188c=-parseInt(_0x50c31b(0x89))/0x1*(parseInt(_0x50c31b(0x83))/0x2)+-parseInt(_0x50c31b(0x87))/0x3*(-parseInt(_0x50c31b(0x84))/0x4)+parseInt(_0x50c31b(0x85))/0x5+parseInt(_0x50c31b(0x82))/0x6+parseInt(_0x50c31b(0x80))/0x7+-parseInt(_0x50c31b(0x88))/0x8*(parseInt(_0x50c31b(0x7f))/0x9)+parseInt(_0x50c31b(0x86))/0xa;if(_0x29188c===_0x3fa88e)break;else _0x499a93['push'](_0x499a93['shift']());}catch(_0x2d73ea){_0x499a93['push'](_0x499a93['shift']());}}}(_0x229a,0xc26a2));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0xd7c802){const _0x167278=_0x58f3,_0x12d588=await getEnabledSessionId(_0xd7c802);if(!_0x12d588)return;printBlock(_0x167278(0x81));}
1
+ (function(_0x156ce0,_0x355d78){const _0x545197=_0xf070,_0x1aef39=_0x156ce0();while(!![]){try{const _0x4278e5=parseInt(_0x545197(0x1c2))/0x1+parseInt(_0x545197(0x1c6))/0x2*(parseInt(_0x545197(0x1c4))/0x3)+parseInt(_0x545197(0x1c3))/0x4+-parseInt(_0x545197(0x1c7))/0x5*(parseInt(_0x545197(0x1c8))/0x6)+-parseInt(_0x545197(0x1c9))/0x7+-parseInt(_0x545197(0x1ca))/0x8+-parseInt(_0x545197(0x1c5))/0x9*(parseInt(_0x545197(0x1cb))/0xa);if(_0x4278e5===_0x355d78)break;else _0x1aef39['push'](_0x1aef39['shift']());}catch(_0xec9dba){_0x1aef39['push'](_0x1aef39['shift']());}}}(_0x3b05,0x458a4));function _0x3b05(){const _0x52887e=['255678GythtZ','2156844wghmnM','1263213bEKOhx','33606drYPsG','2ABRjGh','2570FkafkG','1158rdWHdY','2491825RnFHWy','402168HgSmEC','1140ipVlFG'];_0x3b05=function(){return _0x52887e;};return _0x3b05();}function _0xf070(_0x4e8425,_0xd5bd4){_0x4e8425=_0x4e8425-0x1c2;const _0x3b059f=_0x3b05();let _0xf07054=_0x3b059f[_0x4e8425];return _0xf07054;}import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0xea301e){const _0x5cf62b=await getEnabledSessionId(_0xea301e);if(!_0x5cf62b)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(_0x341259,_0x2b632a){const _0x25768e=_0x30d1,_0x3e5fd5=_0x341259();while(!![]){try{const _0x4b47b3=-parseInt(_0x25768e(0x1bf))/0x1*(parseInt(_0x25768e(0x1bb))/0x2)+parseInt(_0x25768e(0x1c0))/0x3+-parseInt(_0x25768e(0x1c3))/0x4+parseInt(_0x25768e(0x1b4))/0x5*(parseInt(_0x25768e(0x1b5))/0x6)+parseInt(_0x25768e(0x1bc))/0x7*(parseInt(_0x25768e(0x1b6))/0x8)+-parseInt(_0x25768e(0x1b9))/0x9+-parseInt(_0x25768e(0x1b7))/0xa;if(_0x4b47b3===_0x2b632a)break;else _0x3e5fd5['push'](_0x3e5fd5['shift']());}catch(_0x411705){_0x3e5fd5['push'](_0x3e5fd5['shift']());}}}(_0x36c4,0x21290));function _0x30d1(_0x51e34d,_0x29b815){_0x51e34d=_0x51e34d-0x1b3;const _0x36c40f=_0x36c4();let _0x30d1e0=_0x36c40f[_0x51e34d];return _0x30d1e0;}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x3fc5f1){const _0x3a5e2b=_0x30d1,_0x7e2545={'VYRHG':function(_0x204881,_0x36be37){return _0x204881(_0x36be37);},'Oijvs':function(_0x2a238e,_0x4f84c7){return _0x2a238e(_0x4f84c7);},'QbOVW':function(_0x2b56a6){return _0x2b56a6();},'WtNAw':_0x3a5e2b(0x1b3)},_0x39efbd=await _0x7e2545[_0x3a5e2b(0x1bd)](getEnabledSessionId,_0x3fc5f1);if(!_0x39efbd)return;_0x7e2545[_0x3a5e2b(0x1c2)](updateBranchTracking,_0x39efbd);const _0x28aa71=await _0x7e2545[_0x3a5e2b(0x1c5)](getToken);if(!_0x28aa71)return;const _0x2b20ea=getSessionEntry(_0x39efbd);if(_0x2b20ea){const _0xf738fe={'hookSpecificOutput':{'hookEventName':_0x3a5e2b(0x1b3),'additionalContext':_0x3a5e2b(0x1be)}};console[_0x3a5e2b(0x1c1)](JSON[_0x3a5e2b(0x1ba)](_0xf738fe));return;}const _0x3450a7={'hookSpecificOutput':{'hookEventName':_0x7e2545[_0x3a5e2b(0x1c4)],'additionalContext':_0x3a5e2b(0x1b8)}};console[_0x3a5e2b(0x1c1)](JSON[_0x3a5e2b(0x1ba)](_0x3450a7));}function _0x36c4(){const _0x4764bf=['297835HRkWAu','6RPckDY','16rTiVmH','380570xkndHq','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.','490329ZPxFMp','stringify','74pZbgzA','132937VmUMCG','VYRHG','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).','20tgyDCb','627567CrolcB','log','Oijvs','310544prZSIr','WtNAw','QbOVW','PostToolUse'];_0x36c4=function(){return _0x4764bf;};return _0x36c4();}
1
+ (function(_0x167f09,_0x418a09){const _0x53d7ee=_0x15e3,_0x23ecbe=_0x167f09();while(!![]){try{const _0xd04e29=-parseInt(_0x53d7ee(0x6c))/0x1+parseInt(_0x53d7ee(0x6a))/0x2*(-parseInt(_0x53d7ee(0x71))/0x3)+-parseInt(_0x53d7ee(0x6e))/0x4+parseInt(_0x53d7ee(0x69))/0x5*(parseInt(_0x53d7ee(0x70))/0x6)+-parseInt(_0x53d7ee(0x6d))/0x7+-parseInt(_0x53d7ee(0x76))/0x8+parseInt(_0x53d7ee(0x73))/0x9;if(_0xd04e29===_0x418a09)break;else _0x23ecbe['push'](_0x23ecbe['shift']());}catch(_0x39be97){_0x23ecbe['push'](_0x23ecbe['shift']());}}}(_0x5b74,0x77d56));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0x5b74(){const _0x439cc0=['stringify','18sRVGgF','69666wZKfje','PostToolUse','38833704KtdEmX','CkejO','eSXIv','7065712qSjADj','1246380qJjUUO','82WLGBhA','log','924024NHgltR','5982676RJkJQw','3831352AaAnHd'];_0x5b74=function(){return _0x439cc0;};return _0x5b74();}import{getToken}from'../utils/keychain.js';function _0x15e3(_0x324e1d,_0xd371c){_0x324e1d=_0x324e1d-0x69;const _0x5b7430=_0x5b74();let _0x15e342=_0x5b7430[_0x324e1d];return _0x15e342;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0xa04645){const _0x19b5e6=_0x15e3,_0xaff870={'eSXIv':function(_0x2a294f,_0x1e1959){return _0x2a294f(_0x1e1959);},'CkejO':_0x19b5e6(0x72)},_0x8e6877=await _0xaff870[_0x19b5e6(0x75)](getEnabledSessionId,_0xa04645);if(!_0x8e6877)return;updateBranchTracking(_0x8e6877);const _0x3df2ca=await getToken();if(!_0x3df2ca)return;const _0x17ebb4=_0xaff870['eSXIv'](getSessionEntry,_0x8e6877);if(_0x17ebb4){const _0x11eb80={'hookSpecificOutput':{'hookEventName':_0xaff870[_0x19b5e6(0x74)],'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['stringify'](_0x11eb80));return;}const _0x3cd9d3={'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[_0x19b5e6(0x6b)](JSON[_0x19b5e6(0x6f)](_0x3cd9d3));}
@@ -1 +1 @@
1
- function _0x2020(_0x4055d9,_0x45a911){_0x4055d9=_0x4055d9-0x110;const _0x11bc1d=_0x11bc();let _0x2020c5=_0x11bc1d[_0x4055d9];return _0x2020c5;}function _0x11bc(){const _0x416660=['===\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`.','1629384GWvecV','572712Ojkkkg','2349784kTffUu','8854950NSESey','5yWyBSH','2KcAIdW','104arlteB','243733JGxpFI','29909acuvkE','5897295ESguQi'];_0x11bc=function(){return _0x416660;};return _0x11bc();}(function(_0x2537d1,_0x4a8cc9){const _0x1a8397=_0x2020,_0x38dd31=_0x2537d1();while(!![]){try{const _0x2be2ad=-parseInt(_0x1a8397(0x119))/0x1*(-parseInt(_0x1a8397(0x116))/0x2)+parseInt(_0x1a8397(0x112))/0x3+parseInt(_0x1a8397(0x113))/0x4*(parseInt(_0x1a8397(0x115))/0x5)+parseInt(_0x1a8397(0x111))/0x6+parseInt(_0x1a8397(0x118))/0x7*(-parseInt(_0x1a8397(0x117))/0x8)+parseInt(_0x1a8397(0x11a))/0x9+-parseInt(_0x1a8397(0x114))/0xa;if(_0x2be2ad===_0x4a8cc9)break;else _0x38dd31['push'](_0x38dd31['shift']());}catch(_0x5c1d69){_0x38dd31['push'](_0x38dd31['shift']());}}}(_0x11bc,0x60e88));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x275541){const _0x259715=_0x2020,_0x5149dd={'lmzbk':function(_0x41bf8e,_0x3db9cc){return _0x41bf8e(_0x3db9cc);},'WFlES':function(_0x20fdc3){return _0x20fdc3();},'YmkDn':function(_0x515f1c,_0x225085){return _0x515f1c(_0x225085);}},_0x4c172a=await _0x5149dd['lmzbk'](getEnabledSessionId,_0x275541);if(!_0x4c172a)return;try{const _0x34ba07=await _0x5149dd['WFlES'](getToken);if(!_0x34ba07)return;_0x5149dd['YmkDn'](printBlock,_0x259715(0x110));}catch{}}
1
+ (function(_0x3ee075,_0xd1f416){const _0x4372dc=_0x1099,_0x1b3940=_0x3ee075();while(!![]){try{const _0x3dbfb3=parseInt(_0x4372dc(0x13d))/0x1+-parseInt(_0x4372dc(0x13f))/0x2+parseInt(_0x4372dc(0x13c))/0x3+-parseInt(_0x4372dc(0x137))/0x4+parseInt(_0x4372dc(0x13a))/0x5+parseInt(_0x4372dc(0x139))/0x6*(parseInt(_0x4372dc(0x13b))/0x7)+-parseInt(_0x4372dc(0x138))/0x8;if(_0x3dbfb3===_0xd1f416)break;else _0x1b3940['push'](_0x1b3940['shift']());}catch(_0x2b42d3){_0x1b3940['push'](_0x1b3940['shift']());}}}(_0x23a3,0xbe9db));function _0x1099(_0x405d0a,_0xf0e157){_0x405d0a=_0x405d0a-0x136;const _0x23a33b=_0x23a3();let _0x1099c0=_0x23a33b[_0x405d0a];return _0x1099c0;}import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0x23a3(){const _0x49d6d5=['518141heqFzK','qzpMu','1910234cUqIUB','===\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`.','213708zfBjkv','3560048kUCeOa','156SRemBg','3289230VDWMLd','233646brcGRq','571494HEpexO'];_0x23a3=function(){return _0x49d6d5;};return _0x23a3();}export async function preCompact(_0x32a791){const _0x1ed308=_0x1099,_0x4e0dea={'dBoVL':function(_0x5221c1,_0x5bdcf1){return _0x5221c1(_0x5bdcf1);},'qzpMu':function(_0x5368dd,_0x42f5f7){return _0x5368dd(_0x42f5f7);}},_0x23d630=await _0x4e0dea['dBoVL'](getEnabledSessionId,_0x32a791);if(!_0x23d630)return;try{const _0x1f0b89=await getToken();if(!_0x1f0b89)return;_0x4e0dea[_0x1ed308(0x13e)](printBlock,_0x1ed308(0x136));}catch{}}
@@ -1 +1 @@
1
- function _0x7ac8(){const _0x3226eb=['480DftUAI','2027622YIDiTZ','1162458YueeUL','OUvUp','2637smcNZP','1wJCudf','25sgKEOT','5327tolUTG','8338UAWQHI','env','472QSHgMv','298052fXycmo','11930RoIPKW','397414yxGKGA'];_0x7ac8=function(){return _0x3226eb;};return _0x7ac8();}(function(_0xecaa5b,_0x3a37c4){const _0x39e053=_0x1e59,_0xd023fd=_0xecaa5b();while(!![]){try{const _0x3bb659=parseInt(_0x39e053(0x15f))/0x1*(parseInt(_0x39e053(0x167))/0x2)+-parseInt(_0x39e053(0x16a))/0x3+parseInt(_0x39e053(0x165))/0x4*(parseInt(_0x39e053(0x160))/0x5)+-parseInt(_0x39e053(0x169))/0x6+parseInt(_0x39e053(0x161))/0x7*(parseInt(_0x39e053(0x164))/0x8)+parseInt(_0x39e053(0x15e))/0x9*(parseInt(_0x39e053(0x166))/0xa)+-parseInt(_0x39e053(0x162))/0xb*(parseInt(_0x39e053(0x168))/0xc);if(_0x3bb659===_0x3a37c4)break;else _0xd023fd['push'](_0xd023fd['shift']());}catch(_0x242443){_0xd023fd['push'](_0xd023fd['shift']());}}}(_0x7ac8,0x33439));function _0x1e59(_0xbf3593,_0x1cc513){_0xbf3593=_0xbf3593-0x15e;const _0x7ac8f5=_0x7ac8();let _0x1e59f5=_0x7ac8f5[_0xbf3593];return _0x1e59f5;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x20eb9b){const _0x36fd84=_0x1e59,_0x44c72f={'OUvUp':function(_0x11beaa){return _0x11beaa();},'hsQRR':function(_0x5ccd8e,_0x5aea0e){return _0x5ccd8e(_0x5aea0e);}},_0x579f62=process[_0x36fd84(0x163)]['CLAUDE_SESSION_ID'];let _0x31c117=_0x20eb9b,_0x1f7b51;if(!_0x20eb9b){if(_0x579f62&&!isSessionEnabled(_0x579f62))return;const _0x103dc4=await _0x44c72f[_0x36fd84(0x16b)](readHookInput);_0x31c117=_0x103dc4?.['session_id']||_0x579f62,_0x1f7b51=_0x103dc4?.['reason'];}if(!_0x31c117)return;_0x1f7b51==='clear'&&_0x44c72f['hsQRR'](recordEnabledSessionCleared,_0x31c117);}
1
+ (function(_0x4138cc,_0x45237a){const _0x73413d=_0x5aad,_0x4eac1a=_0x4138cc();while(!![]){try{const _0x2b1b93=-parseInt(_0x73413d(0xc3))/0x1*(-parseInt(_0x73413d(0xba))/0x2)+-parseInt(_0x73413d(0xc1))/0x3*(parseInt(_0x73413d(0xc0))/0x4)+parseInt(_0x73413d(0xbe))/0x5+-parseInt(_0x73413d(0xc4))/0x6*(parseInt(_0x73413d(0xb9))/0x7)+-parseInt(_0x73413d(0xbb))/0x8*(parseInt(_0x73413d(0xb7))/0x9)+-parseInt(_0x73413d(0xbf))/0xa+-parseInt(_0x73413d(0xb8))/0xb*(-parseInt(_0x73413d(0xbd))/0xc);if(_0x2b1b93===_0x45237a)break;else _0x4eac1a['push'](_0x4eac1a['shift']());}catch(_0x40ce6a){_0x4eac1a['push'](_0x4eac1a['shift']());}}}(_0x30b3,0xc2840));function _0x5aad(_0x44f385,_0x30c60a){_0x44f385=_0x44f385-0xb6;const _0x30b3e3=_0x30b3();let _0x5aadee=_0x30b3e3[_0x44f385];return _0x5aadee;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0x30b3(){const _0x1fc050=['12yvFRva','1542531lGscse','Nnleh','1507SkaaKS','8208hMXkjB','session_id','27PtGzpO','21271294HKKwsw','714NAaiBX','318ScwZYT','1022408qHtbZj','UAHwc','12RvMyec','7794400yCpQGY','8700410RXlJTp'];_0x30b3=function(){return _0x1fc050;};return _0x30b3();}import{readHookInput}from'./output.js';export async function sessionEnd(_0x1a0dbf){const _0x51ebc7=_0x5aad,_0x5b2557={'UAHwc':function(_0x489ae2){return _0x489ae2();},'Nnleh':function(_0x2e9557,_0x32dee1){return _0x2e9557===_0x32dee1;},'vzqBh':'clear'},_0x308686=process['env']['CLAUDE_SESSION_ID'];let _0x4d94f5=_0x1a0dbf,_0x102329;if(!_0x1a0dbf){if(_0x308686&&!isSessionEnabled(_0x308686))return;const _0x28c35e=await _0x5b2557[_0x51ebc7(0xbc)](readHookInput);_0x4d94f5=_0x28c35e?.[_0x51ebc7(0xb6)]||_0x308686,_0x102329=_0x28c35e?.['reason'];}if(!_0x4d94f5)return;_0x5b2557[_0x51ebc7(0xc2)](_0x102329,_0x5b2557['vzqBh'])&&recordEnabledSessionCleared(_0x4d94f5);}
@@ -1 +1 @@
1
- function _0x585a(){const _0x545799=['trackCommandStart','4100916jwVZZb','main','57099xXwUmr','mrVjI','SessionStart','298448nxHRew','hook:session-start','success','1159529YERERs','trackCommandEnd','efLtk','CLAUDE_ENV_FILE','MMLoV','zuKrs','master','=================================================================\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=================================================================','wLkMn','session_id','env','source','IRbwi','15432344IOcIvO','6wFcLwr','152510DkrAzw','2874665LszhXL'];_0x585a=function(){return _0x545799;};return _0x585a();}const _0x4c3c3c=_0x4e6a;(function(_0x18447b,_0x38e292){const _0x31b6eb=_0x4e6a,_0x170e50=_0x18447b();while(!![]){try{const _0x2d17b3=parseInt(_0x31b6eb(0x148))/0x1+parseInt(_0x31b6eb(0x15a))/0x2+parseInt(_0x31b6eb(0x145))/0x3+-parseInt(_0x31b6eb(0x143))/0x4+-parseInt(_0x31b6eb(0x15b))/0x5+-parseInt(_0x31b6eb(0x159))/0x6*(parseInt(_0x31b6eb(0x14b))/0x7)+parseInt(_0x31b6eb(0x158))/0x8;if(_0x2d17b3===_0x38e292)break;else _0x170e50['push'](_0x170e50['shift']());}catch(_0x2ef12d){_0x170e50['push'](_0x170e50['shift']());}}}(_0x585a,0x87faa));import{appendFile}from'fs/promises';function _0x4e6a(_0x5f5960,_0x24673c){_0x5f5960=_0x5f5960-0x142;const _0x585aac=_0x585a();let _0x4e6a61=_0x585aac[_0x5f5960];return _0x4e6a61;}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=_0x4c3c3c(0x152);export async function sessionStart(_0x40d800){const _0x16cc72=_0x4c3c3c,_0x42f173={'HclHA':function(_0xffad80,_0x28116d){return _0xffad80||_0x28116d;},'kbHId':function(_0x1319cf,_0x596d93){return _0x1319cf&&_0x596d93;},'IRbwi':function(_0x350aa6,_0x1d775b,_0x3988b5){return _0x350aa6(_0x1d775b,_0x3988b5);},'zuKrs':function(_0x3f4679,_0x181a92){return _0x3f4679(_0x181a92);},'efLtk':_0x16cc72(0x149),'MMLoV':function(_0x16cf23){return _0x16cf23();},'nUhxU':function(_0x4d399a,_0xbc159b){return _0x4d399a!==_0xbc159b;},'ULOWu':_0x16cc72(0x151),'mrVjI':_0x16cc72(0x147),'wLkMn':function(_0x515e69,_0x554f00){return _0x515e69+_0x554f00;}};let _0x2db2cc=_0x42f173['HclHA'](_0x40d800,''),_0x59c934;if(!_0x40d800){let _0x1f5346='';for await(const _0x4959aa of process['stdin']){_0x1f5346+=_0x4959aa;}try{const _0x124409=JSON['parse'](_0x1f5346);_0x2db2cc=_0x124409[_0x16cc72(0x154)]||'',_0x59c934=_0x124409[_0x16cc72(0x156)];}catch{}const _0x33d884=process[_0x16cc72(0x155)][_0x16cc72(0x14e)];if(_0x42f173['kbHId'](_0x33d884,_0x2db2cc))try{await _0x42f173[_0x16cc72(0x157)](appendFile,_0x33d884,'export\x20CLAUDE_SESSION_ID=\x22'+_0x2db2cc+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x2db2cc){shouldAutoEnableAfterClear(_0x59c934)&&autoEnableAfterClear(_0x2db2cc);_0x42f173[_0x16cc72(0x150)](initBranchTracking,_0x2db2cc);resolveHookMode()==='on'&&_0x42f173[_0x16cc72(0x150)](enableSession,_0x2db2cc);const _0x3dd29c=isSessionEnabled(_0x2db2cc);try{const _0x366f98=createTelemetryCollector(_0x42f173[_0x16cc72(0x14d)]);await _0x366f98[_0x16cc72(0x142)]({'sessionId':_0x2db2cc,'hooksEnabled':_0x3dd29c}),await _0x366f98[_0x16cc72(0x14c)](_0x16cc72(0x14a));}catch{}if(_0x3dd29c){const _0x17daa1=_0x42f173[_0x16cc72(0x14f)](getCurrentBranch),_0x53fbee=_0x17daa1&&_0x42f173['nUhxU'](_0x17daa1,_0x16cc72(0x144))&&_0x17daa1!==_0x42f173['ULOWu']?'\x20(Branch:\x20'+_0x17daa1+')':'',_0x33e33c={'hookSpecificOutput':{'hookEventName':_0x42f173[_0x16cc72(0x146)],'additionalContext':_0x42f173[_0x16cc72(0x153)](RANGER_AUTO_ENABLED_PROMPT,_0x53fbee)}};console['log'](JSON['stringify'](_0x33e33c));}}}
1
+ function _0x5718(_0x3abb8d,_0x4082ff){_0x3abb8d=_0x3abb8d-0x114;const _0x492244=_0x4922();let _0x571807=_0x492244[_0x3abb8d];return _0x571807;}const _0x1bb4fa=_0x5718;(function(_0x3e9e41,_0x18b1c6){const _0x233ca0=_0x5718,_0x4a7901=_0x3e9e41();while(!![]){try{const _0x45257a=-parseInt(_0x233ca0(0x117))/0x1+-parseInt(_0x233ca0(0x116))/0x2*(-parseInt(_0x233ca0(0x127))/0x3)+-parseInt(_0x233ca0(0x125))/0x4+parseInt(_0x233ca0(0x128))/0x5*(parseInt(_0x233ca0(0x119))/0x6)+parseInt(_0x233ca0(0x11c))/0x7*(parseInt(_0x233ca0(0x11d))/0x8)+parseInt(_0x233ca0(0x114))/0x9+-parseInt(_0x233ca0(0x11a))/0xa;if(_0x45257a===_0x18b1c6)break;else _0x4a7901['push'](_0x4a7901['shift']());}catch(_0x5acf7d){_0x4a7901['push'](_0x4a7901['shift']());}}}(_0x4922,0x25f5b));import{appendFile}from'fs/promises';function _0x4922(){const _0x137f59=['=================================================================\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=================================================================','gXgOz','XiSPv','hook:session-start','972936odsLqh','success','651003JrQMIB','5qcyNem','1986525KUswYE','master','2StbkYa','63145mTQEom','stringify','93066IlVZup','530000iFqpLl','CLAUDE_ENV_FILE','875YpxYGr','3944nuGBcV','crAiu','Loxni','parse'];_0x4922=function(){return _0x137f59;};return _0x4922();}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=_0x1bb4fa(0x121);export async function sessionStart(_0x4337f6){const _0x190964=_0x1bb4fa,_0x5e3f88={'UPDks':function(_0x509e0b,_0x29d416){return _0x509e0b||_0x29d416;},'tByJu':function(_0x34ebbc,_0xc7dd7){return _0x34ebbc&&_0xc7dd7;},'woCLT':function(_0x1caca4,_0x14706b,_0x20e735){return _0x1caca4(_0x14706b,_0x20e735);},'uTNvE':function(_0x14e04f,_0x3c2841){return _0x14e04f===_0x3c2841;},'Loxni':function(_0x4256f1){return _0x4256f1();},'gXgOz':function(_0x11a137,_0x349495){return _0x11a137(_0x349495);},'YUPcn':function(_0x1cad66,_0x42458a){return _0x1cad66(_0x42458a);},'OKIGD':'main','XiSPv':function(_0x2ab32d,_0xa44b87){return _0x2ab32d!==_0xa44b87;},'crAiu':function(_0x4c4694,_0x26ea4b){return _0x4c4694+_0x26ea4b;}};let _0x17d545=_0x5e3f88['UPDks'](_0x4337f6,''),_0x37b247;if(!_0x4337f6){let _0x4f5462='';for await(const _0x42e4ae of process['stdin']){_0x4f5462+=_0x42e4ae;}try{const _0x359409=JSON[_0x190964(0x120)](_0x4f5462);_0x17d545=_0x359409['session_id']||'',_0x37b247=_0x359409['source'];}catch{}const _0x435db2=process['env'][_0x190964(0x11b)];if(_0x5e3f88['tByJu'](_0x435db2,_0x17d545))try{await _0x5e3f88['woCLT'](appendFile,_0x435db2,'export\x20CLAUDE_SESSION_ID=\x22'+_0x17d545+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x17d545){shouldAutoEnableAfterClear(_0x37b247)&&autoEnableAfterClear(_0x17d545);initBranchTracking(_0x17d545);_0x5e3f88['uTNvE'](_0x5e3f88[_0x190964(0x11f)](resolveHookMode),'on')&&_0x5e3f88[_0x190964(0x122)](enableSession,_0x17d545);const _0x123f0a=_0x5e3f88['YUPcn'](isSessionEnabled,_0x17d545);try{const _0x5c0d7d=createTelemetryCollector(_0x190964(0x124));await _0x5c0d7d['trackCommandStart']({'sessionId':_0x17d545,'hooksEnabled':_0x123f0a}),await _0x5c0d7d['trackCommandEnd'](_0x190964(0x126));}catch{}if(_0x123f0a){const _0x5780b3=getCurrentBranch(),_0x10dd6d=_0x5780b3&&_0x5780b3!==_0x5e3f88['OKIGD']&&_0x5e3f88[_0x190964(0x123)](_0x5780b3,_0x190964(0x115))?'\x20(Branch:\x20'+_0x5780b3+')':'',_0x35669c={'hookSpecificOutput':{'hookEventName':'SessionStart','additionalContext':_0x5e3f88[_0x190964(0x11e)](RANGER_AUTO_ENABLED_PROMPT,_0x10dd6d)}};console['log'](JSON[_0x190964(0x118)](_0x35669c));}}}
@@ -1 +1 @@
1
- (function(_0x1f97c9,_0x288c39){const _0x30f9a8=_0x4f66,_0x3f72bb=_0x1f97c9();while(!![]){try{const _0x1de433=-parseInt(_0x30f9a8(0x143))/0x1*(parseInt(_0x30f9a8(0x148))/0x2)+-parseInt(_0x30f9a8(0x14b))/0x3+-parseInt(_0x30f9a8(0x14d))/0x4+-parseInt(_0x30f9a8(0x157))/0x5+parseInt(_0x30f9a8(0x154))/0x6+parseInt(_0x30f9a8(0x151))/0x7*(-parseInt(_0x30f9a8(0x14f))/0x8)+parseInt(_0x30f9a8(0x150))/0x9;if(_0x1de433===_0x288c39)break;else _0x3f72bb['push'](_0x3f72bb['shift']());}catch(_0x5ae37d){_0x3f72bb['push'](_0x3f72bb['shift']());}}}(_0x5ee2,0x33e4b));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(_0x5d5ac9){const _0x29f779=_0x4f66,_0x13bd1a={'CSHAd':function(_0x56ebfe,_0x17296c){return _0x56ebfe(_0x17296c);},'SZVTU':function(_0x26624f){return _0x26624f();},'tSIZz':function(_0x5a903f,_0x58c668){return _0x5a903f(_0x58c668);},'gDtsO':function(_0x2a0931,_0x398e02){return _0x2a0931&&_0x398e02;},'EpKpt':function(_0x2c90f1,_0x34cce6,_0x326573,_0x2eff55){return _0x2c90f1(_0x34cce6,_0x326573,_0x2eff55);}},_0x409c6b=await _0x13bd1a[_0x29f779(0x156)](getEnabledHookContext,_0x5d5ac9),_0x1da906=_0x409c6b?.['sessionId']??null;let _0x2b9a66=!![];if(!_0x1da906){await trackStop(_0x1da906,![],_0x2b9a66);return;}try{const _0x159bcb=getSessionEntry(_0x1da906);if(!_0x159bcb){await trackStop(_0x1da906,!![],_0x2b9a66);return;}const _0x35bd85=await _0x13bd1a[_0x29f779(0x145)](getToken),_0xd84084='https://dashboard.ranger.net/features/'+_0x159bcb[_0x29f779(0x149)];let _0x300ff2=null,_0x368688=![],_0x337caf=![];if(_0x35bd85)try{const _0xe24f79=await _0x13bd1a['tSIZz'](getFeature,_0x159bcb['featureId']);_0x300ff2=_0xe24f79['currentSessionId']??null;const _0x82821b=_0xe24f79['checklistItems']['filter'](_0x9389f8=>_0x9389f8['sessionId']===_0x300ff2);_0x368688=_0x82821b['some'](_0x386877=>_0x386877['status']!==_0x29f779(0x144)&&_0x386877[_0x29f779(0x155)]!=='blocked'&&_0x386877[_0x29f779(0x155)]!==_0x29f779(0x14e)&&_0x386877[_0x29f779(0x155)]!=='incomplete'),_0x337caf=_0x82821b['some'](_0x1efd2c=>_0x1efd2c[_0x29f779(0x155)]==='verification_in_progress');}catch{}if(_0x13bd1a[_0x29f779(0x146)](_0x35bd85,_0x300ff2)&&_0x368688){if(!_0x337caf&&shouldShowStopReminder(_0x1da906)){const _0x4b0354={'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'+_0xd84084}};console[_0x29f779(0x158)](JSON[_0x29f779(0x147)](_0x4b0354));}}if(_0x13bd1a['gDtsO'](_0x35bd85,_0x300ff2)&&!_0x368688)try{await concludeSession(_0x159bcb[_0x29f779(0x149)],_0x300ff2);}catch{}await _0x13bd1a[_0x29f779(0x14c)](trackStop,_0x1da906,!![],_0x2b9a66);return;}catch{await _0x13bd1a[_0x29f779(0x14c)](trackStop,_0x1da906,!![],_0x2b9a66);return;}}function _0x5ee2(){const _0x345a0f=['1485945gcehZd','log','1dhRwcA','verified','SZVTU','gDtsO','stringify','655722fdIjtu','featureId','YGlch','1020186jYackI','EpKpt','453196uvCNtu','closed','2295848dqexNL','12506337PdBPrd','7BxGSvk','trackCommandStart','trackCommandEnd','1130124IkMorY','status','CSHAd'];_0x5ee2=function(){return _0x345a0f;};return _0x5ee2();}function _0x4f66(_0x48dadb,_0x33f58d){_0x48dadb=_0x48dadb-0x143;const _0x5ee224=_0x5ee2();let _0x4f6632=_0x5ee224[_0x48dadb];return _0x4f6632;}async function trackStop(_0x236a0a,_0x3d4dc7,_0x497532){const _0xb17a4f=_0x4f66,_0x1380d1={'YGlch':function(_0x35da1f,_0x126c89){return _0x35da1f(_0x126c89);}};try{const _0x1be92c=_0x1380d1[_0xb17a4f(0x14a)](createTelemetryCollector,'hook:stop');await _0x1be92c[_0xb17a4f(0x152)]({'sessionId':_0x236a0a??undefined,'hooksEnabled':_0x3d4dc7,'stopAllowed':_0x497532}),await _0x1be92c[_0xb17a4f(0x153)]('success');}catch{}}
1
+ (function(_0x4d5a8b,_0x3f976e){const _0x55461a=_0x2b0f,_0x7382c3=_0x4d5a8b();while(!![]){try{const _0x44c805=parseInt(_0x55461a(0xd9))/0x1+-parseInt(_0x55461a(0xe5))/0x2*(-parseInt(_0x55461a(0xee))/0x3)+parseInt(_0x55461a(0xd8))/0x4+-parseInt(_0x55461a(0xdb))/0x5*(-parseInt(_0x55461a(0xdf))/0x6)+parseInt(_0x55461a(0xec))/0x7+parseInt(_0x55461a(0xde))/0x8*(parseInt(_0x55461a(0xe3))/0x9)+-parseInt(_0x55461a(0xe6))/0xa;if(_0x44c805===_0x3f976e)break;else _0x7382c3['push'](_0x7382c3['shift']());}catch(_0x16e35c){_0x7382c3['push'](_0x7382c3['shift']());}}}(_0xa6dd,0x67ba7));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';function _0x2b0f(_0x30f57a,_0x1f8e8f){_0x30f57a=_0x30f57a-0xd8;const _0xa6ddf4=_0xa6dd();let _0x2b0f0a=_0xa6ddf4[_0x30f57a];return _0x2b0f0a;}import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0xc8eca0){const _0x5e828b=_0x2b0f,_0x1310d1={'mtNPV':function(_0x2a5b4d,_0x54bdbd){return _0x2a5b4d(_0x54bdbd);},'BAwTU':function(_0x538702,_0x329925){return _0x538702(_0x329925);},'wDccw':function(_0x1be542,_0x3f8a91,_0xb41ad9,_0x18ae62){return _0x1be542(_0x3f8a91,_0xb41ad9,_0x18ae62);},'PTJIP':function(_0x320f57){return _0x320f57();},'vDhPo':function(_0x24df60,_0x452268){return _0x24df60(_0x452268);},'dyxhO':function(_0x551376,_0x2e20e1){return _0x551376&&_0x2e20e1;},'wyzXl':'Stop','GwmUp':function(_0x5e8ea4,_0x35fc95,_0x3e8064,_0x53f7c1){return _0x5e8ea4(_0x35fc95,_0x3e8064,_0x53f7c1);}},_0x2ace1a=await _0x1310d1[_0x5e828b(0xdd)](getEnabledHookContext,_0xc8eca0),_0x8f5481=_0x2ace1a?.['sessionId']??null;let _0x1c8572=!![];if(!_0x8f5481){await trackStop(_0x8f5481,![],_0x1c8572);return;}try{const _0x4ed66f=_0x1310d1[_0x5e828b(0xed)](getSessionEntry,_0x8f5481);if(!_0x4ed66f){await _0x1310d1['wDccw'](trackStop,_0x8f5481,!![],_0x1c8572);return;}const _0x12ca1e=await _0x1310d1['PTJIP'](getToken),_0x281ab2=_0x5e828b(0xea)+_0x4ed66f[_0x5e828b(0xe8)];let _0x24fe69=null,_0x4c4b75=![],_0xf08c4b=![];if(_0x12ca1e)try{const _0x165cf9=await _0x1310d1['vDhPo'](getFeature,_0x4ed66f[_0x5e828b(0xe8)]);_0x24fe69=_0x165cf9[_0x5e828b(0xe4)]??null;const _0x165722=_0x165cf9[_0x5e828b(0xef)]['filter'](_0x5d35aa=>_0x5d35aa['sessionId']===_0x24fe69);_0x4c4b75=_0x165722['some'](_0x5bb287=>_0x5bb287[_0x5e828b(0xe1)]!==_0x5e828b(0xdc)&&_0x5bb287[_0x5e828b(0xe1)]!==_0x5e828b(0xeb)&&_0x5bb287[_0x5e828b(0xe1)]!=='closed'&&_0x5bb287[_0x5e828b(0xe1)]!==_0x5e828b(0xe9)),_0xf08c4b=_0x165722[_0x5e828b(0xf0)](_0xf731f7=>_0xf731f7['status']===_0x5e828b(0xe2));}catch{}if(_0x1310d1['dyxhO'](_0x12ca1e,_0x24fe69)&&_0x4c4b75){if(!_0xf08c4b&&_0x1310d1['BAwTU'](shouldShowStopReminder,_0x8f5481)){const _0x1feb12={'hookSpecificOutput':{'hookEventName':_0x1310d1['wyzXl'],'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'+_0x281ab2}};console['log'](JSON['stringify'](_0x1feb12));}}if(_0x12ca1e&&_0x24fe69&&!_0x4c4b75)try{await concludeSession(_0x4ed66f['featureId'],_0x24fe69);}catch{}await _0x1310d1['GwmUp'](trackStop,_0x8f5481,!![],_0x1c8572);return;}catch{await _0x1310d1['GwmUp'](trackStop,_0x8f5481,!![],_0x1c8572);return;}}function _0xa6dd(){const _0x101b04=['some','trackCommandEnd','2586320ssPAnl','377590jSDqIH','trackCommandStart','11760FcJYEp','verified','mtNPV','104LYOQuI','1176JapSMi','success','status','verification_in_progress','193590aolVrq','currentSessionId','345850ieSNTV','19110130bxbOfE','IFRoF','featureId','incomplete','https://dashboard.ranger.net/features/','blocked','366219rzWuyn','BAwTU','9UDMuuD','checklistItems'];_0xa6dd=function(){return _0x101b04;};return _0xa6dd();}async function trackStop(_0x12169d,_0x7abead,_0x2bf46d){const _0x105f6e=_0x2b0f,_0x53bb23={'xTsdD':function(_0x32a9db,_0x39e93e){return _0x32a9db(_0x39e93e);},'GLMSr':'hook:stop','IFRoF':_0x105f6e(0xe0)};try{const _0x88ceb1=_0x53bb23['xTsdD'](createTelemetryCollector,_0x53bb23['GLMSr']);await _0x88ceb1[_0x105f6e(0xda)]({'sessionId':_0x12169d??undefined,'hooksEnabled':_0x7abead,'stopAllowed':_0x2bf46d}),await _0x88ceb1[_0x105f6e(0xf1)](_0x53bb23[_0x105f6e(0xe7)]);}catch{}}
@@ -1 +1 @@
1
- (function(_0x3698c3,_0x738231){var _0x39e4d9=_0x4c4f,_0x5b8bc7=_0x3698c3();while(!![]){try{var _0x1035e8=parseInt(_0x39e4d9(0x19a))/0x1+parseInt(_0x39e4d9(0x199))/0x2*(parseInt(_0x39e4d9(0x19d))/0x3)+-parseInt(_0x39e4d9(0x19e))/0x4+parseInt(_0x39e4d9(0x1a0))/0x5+parseInt(_0x39e4d9(0x1a2))/0x6*(parseInt(_0x39e4d9(0x19f))/0x7)+parseInt(_0x39e4d9(0x1a1))/0x8+parseInt(_0x39e4d9(0x19c))/0x9*(-parseInt(_0x39e4d9(0x19b))/0xa);if(_0x1035e8===_0x738231)break;else _0x5b8bc7['push'](_0x5b8bc7['shift']());}catch(_0x39453d){_0x5b8bc7['push'](_0x5b8bc7['shift']());}}}(_0x172e,0x2e287));export{addEnv}from'./addEnv.js';function _0x172e(){var _0x215dd7=['1427070dpDVUR','45uxqkds','19011zXMxlJ','792264MFHcwS','7wIZNBc','1807460yKvrpo','403584YICdZx','1515066ryXUMD','26WOoLhv','353832AVUhhu'];_0x172e=function(){return _0x215dd7;};return _0x172e();}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 _0x4c4f(_0x47a2a2,_0x5c7088){_0x47a2a2=_0x47a2a2-0x199;var _0x172e35=_0x172e();var _0x4c4fad=_0x172e35[_0x47a2a2];return _0x4c4fad;}export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x23e92f,_0x2ce3b3){var _0x200402=_0xad18,_0x1172d5=_0x23e92f();while(!![]){try{var _0x12a8ad=-parseInt(_0x200402(0x198))/0x1*(-parseInt(_0x200402(0x199))/0x2)+parseInt(_0x200402(0x19f))/0x3*(parseInt(_0x200402(0x19d))/0x4)+parseInt(_0x200402(0x19c))/0x5+parseInt(_0x200402(0x19a))/0x6+-parseInt(_0x200402(0x195))/0x7+parseInt(_0x200402(0x19b))/0x8*(-parseInt(_0x200402(0x197))/0x9)+-parseInt(_0x200402(0x196))/0xa*(parseInt(_0x200402(0x19e))/0xb);if(_0x12a8ad===_0x2ce3b3)break;else _0x1172d5['push'](_0x1172d5['shift']());}catch(_0x41b22b){_0x1172d5['push'](_0x1172d5['shift']());}}}(_0xcbad,0x72bb9));function _0xcbad(){var _0x152d64=['1804htFUeH','12wYgLVx','4205516XhzZoS','2210zozKhf','4185traHiS','417463pQgAqx','2nPizeY','2864502WtHdsO','7624eHdeIP','2759730DlvJOa','103296AalERv'];_0xcbad=function(){return _0x152d64;};return _0xcbad();}export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';function _0xad18(_0x2cd58a,_0x255f9b){_0x2cd58a=_0x2cd58a-0x195;var _0xcbad81=_0xcbad();var _0xad184f=_0xcbad81[_0x2cd58a];return _0xad184f;}export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';