@ranger-testing/ranger-cli 3.1.6-alpha.aca5f9c-53 → 3.1.6-alpha.cbf7608-55

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 +14 -5
@@ -1 +1 @@
1
- const _0x17361c=_0xa5d3;(function(_0x25a98b,_0x3acd01){const _0x22a390=_0xa5d3,_0x47ac55=_0x25a98b();while(!![]){try{const _0x23becd=parseInt(_0x22a390(0x139))/0x1*(-parseInt(_0x22a390(0x141))/0x2)+parseInt(_0x22a390(0xd5))/0x3*(parseInt(_0x22a390(0xce))/0x4)+parseInt(_0x22a390(0x124))/0x5*(-parseInt(_0x22a390(0xd6))/0x6)+-parseInt(_0x22a390(0xbf))/0x7*(parseInt(_0x22a390(0x118))/0x8)+parseInt(_0x22a390(0x131))/0x9+-parseInt(_0x22a390(0x101))/0xa+parseInt(_0x22a390(0x117))/0xb;if(_0x23becd===_0x3acd01)break;else _0x47ac55['push'](_0x47ac55['shift']());}catch(_0x52c13c){_0x47ac55['push'](_0x47ac55['shift']());}}}(_0x4ce9,0x260cc));function _0xa5d3(_0x565ce6,_0x5e80b6){_0x565ce6=_0x565ce6-0xa9;const _0x4ce99b=_0x4ce9();let _0xa5d393=_0x4ce99b[_0x565ce6];return _0xa5d393;}import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x3ea057 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=_0x16a36c=>_0x17361c(0x133)+_0x16a36c+'\x1b[0m';function getGitRepoUrl(){const _0x5b928e=_0x17361c,_0x10f081={'SgKAw':'git\x20remote\x20get-url\x20origin','pYWiJ':_0x5b928e(0xfc),'ByDZp':'github.com/'};try{const _0x443f1d=execSync(_0x10f081[_0x5b928e(0x128)],{'encoding':_0x10f081[_0x5b928e(0xf4)],'stdio':[_0x5b928e(0xae),_0x5b928e(0xae),'pipe']})[_0x5b928e(0x108)]();return _0x443f1d[_0x5b928e(0x17b)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x10f081['ByDZp'])[_0x5b928e(0x17b)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x1af5ba=_0x17361c,_0x5bdd2d={'jXEqr':function(_0x31c56b,_0x5ff175,_0x279908){return _0x31c56b(_0x5ff175,_0x279908);},'xBPsf':_0x1af5ba(0xfc),'UtjtS':_0x1af5ba(0xae)};try{return _0x5bdd2d[_0x1af5ba(0x114)](execSync,_0x1af5ba(0x16f),{'encoding':_0x5bdd2d['xBPsf'],'stdio':[_0x5bdd2d[_0x1af5ba(0x10f)],_0x5bdd2d['UtjtS'],_0x1af5ba(0xae)]})[_0x1af5ba(0x108)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x492719=_0x17361c,_0x3f9571={'lkoeh':function(_0x32706d,_0x494fcb,_0x5c0dda){return _0x32706d(_0x494fcb,_0x5c0dda);},'afLAu':_0x492719(0xfc)},_0xcca7fc=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0xcca7fc))return null;try{const _0x4e533a=await _0x3f9571['lkoeh'](readFile,_0xcca7fc,_0x3f9571['afLAu']);return _0x4e533a['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0xe14dba){const _0x1ddf05=getRangerDir(),_0x100a17=join(_0x1ddf05,ACTIVE_FEATURE_FILE);!existsSync(_0x1ddf05)&&await mkdir(_0x1ddf05,{'recursive':!![]}),await writeFile(_0x100a17,_0xe14dba,'utf-8');}function getProgressDisplay(_0x24b225){const _0x99c606=_0x17361c,_0xa0e579={'fecln':function(_0x4f2c37,_0x2b252a){return _0x4f2c37+_0x2b252a;},'BCLRU':function(_0x16ad46,_0xdd5806){return _0x16ad46*_0xdd5806;},'gASVK':function(_0x297d5d,_0x1e6401){return _0x297d5d-_0x1e6401;},'ZcEZK':function(_0x14849c,_0x3149e4){return _0x14849c>_0x3149e4;}},_0x55e752=_0x24b225['verifiedItems']||0x0,_0x942f65=_0x24b225[_0x99c606(0xe1)]||0x0,_0x5420d9=_0x24b225[_0x99c606(0x13a)]||0x0,_0x2e90d5=_0x24b225['incompleteItems']||0x0,_0x3a4a43=_0x24b225[_0x99c606(0xc4)]||0x0,_0x4940f6=_0xa0e579[_0x99c606(0x151)](_0x55e752+_0x942f65,_0x5420d9)+_0x2e90d5+_0x3a4a43;if(_0x4940f6===0x0)return'-';const _0x42fe04=0xa,_0x4a19fc=Math['round'](_0xa0e579[_0x99c606(0x162)](_0x55e752/_0x4940f6,_0x42fe04)),_0x1c1f46='█'[_0x99c606(0xee)](_0x4a19fc)+'░'['repeat'](_0xa0e579[_0x99c606(0xb3)](_0x42fe04,_0x4a19fc)),_0x2f979d=[];if(_0xa0e579[_0x99c606(0xda)](_0x5420d9,0x0))_0x2f979d[_0x99c606(0xbe)](_0x5420d9+'\x20blocked');if(_0x2e90d5>0x0)_0x2f979d['push'](_0x2e90d5+_0x99c606(0xcd));if(_0x942f65>0x0)_0x2f979d[_0x99c606(0xbe)](_0x942f65+_0x99c606(0x188));const _0x163b13=_0xa0e579['ZcEZK'](_0x2f979d['length'],0x0)?'\x20('+_0x2f979d[_0x99c606(0xab)](',\x20')+')':'';return _0x1c1f46+'\x20'+_0x55e752+'/'+_0x4940f6+_0x99c606(0x158)+_0x163b13;}function getCurrentSessionItems(_0xfac0d0,_0x270368){const _0x6ca77a=_0x17361c;if(!_0xfac0d0[_0x6ca77a(0x15c)])return _0x270368['filter'](_0x16f098=>!_0x16f098['sessionId']);return _0x270368[_0x6ca77a(0xf8)](_0x4dc206=>_0x4dc206[_0x6ca77a(0xd7)]===_0xfac0d0[_0x6ca77a(0x15c)]||!_0x4dc206['sessionId']);}function displayFeature(_0x232bcd,_0x46bddd){const _0x34b553=_0x17361c,_0x1789b1={'xefqu':function(_0x55575,_0x14d18f){return _0x55575<_0x14d18f;},'ukQfy':function(_0x5214d3,_0x3e7814){return _0x5214d3===_0x3e7814;},'FKxfB':function(_0x105a45,_0x2ff4fd){return _0x105a45===_0x2ff4fd;},'ipfEa':'blocked','CBJqt':_0x34b553(0xfb),'vEFJC':function(_0xee6e16,_0x50ce1b){return _0xee6e16===_0x50ce1b;},'Ybukc':_0x34b553(0xb6),'pthZt':function(_0x244c2b,_0x50d5b9){return _0x244c2b>_0x50d5b9;},'iGHLt':function(_0x183644,_0xa49b2f){return _0x183644!==_0xa49b2f;},'eTwBT':_0x34b553(0xbc),'ixDtS':function(_0xe6f2e9,_0x4865e1){return _0xe6f2e9+_0x4865e1;},'tRgQp':function(_0x271630,_0x3e9b0b){return _0x271630===_0x3e9b0b;},'ZrroR':_0x34b553(0x150),'NSCEF':_0x34b553(0xec),'iiJlW':function(_0x1163d6,_0x44cda8){return _0x1163d6===_0x44cda8;}};console['log']('\x0a'+_0x232bcd['name']+'\x20('+_0x232bcd[_0x34b553(0x121)]+')');_0x232bcd[_0x34b553(0x125)]&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x232bcd[_0x34b553(0x125)]));_0x232bcd[_0x34b553(0x12d)]&&console['log'](_0x34b553(0xde)+_0x232bcd[_0x34b553(0x12d)]);_0x232bcd['gitRepoUrl']&&console['log']('\x20\x20\x20Repository:\x20'+_0x232bcd[_0x34b553(0x12a)]);_0x232bcd[_0x34b553(0x119)]&&console['log'](_0x34b553(0x11a)+_0x232bcd['gitBranch']);console[_0x34b553(0x16c)](_0x34b553(0xeb)+new Date(_0x232bcd['createdAt'])['toLocaleString']());_0x232bcd['completedAt']&&console[_0x34b553(0x16c)](_0x34b553(0x14b)+new Date(_0x232bcd['completedAt'])[_0x34b553(0xfe)]());if(_0x46bddd&&_0x46bddd[_0x34b553(0x140)]>0x0){console[_0x34b553(0x16c)](_0x34b553(0x122));for(let _0x3dd1fa=0x0;_0x1789b1['xefqu'](_0x3dd1fa,_0x46bddd['length']);_0x3dd1fa++){const _0x13ad6a=_0x46bddd[_0x3dd1fa];let _0x1ee845;if(_0x13ad6a[_0x34b553(0xaa)]===_0x34b553(0xfb)&&_0x1789b1['ukQfy'](_0x13ad6a['terminalReason'],'approved'))_0x1ee845='✅';else{if(_0x1789b1['FKxfB'](_0x13ad6a[_0x34b553(0xaa)],_0x34b553(0x129)))_0x1ee845='🟢';else{if(_0x1789b1[_0x34b553(0x10e)](_0x13ad6a[_0x34b553(0xaa)],_0x34b553(0x150)))_0x1ee845='🟠';else{if(_0x13ad6a['status']===_0x1789b1[_0x34b553(0x175)])_0x1ee845='🛑';else{if(_0x13ad6a[_0x34b553(0xaa)]===_0x1789b1[_0x34b553(0x11c)])_0x1ee845='⛔';else _0x1789b1[_0x34b553(0x15f)](_0x13ad6a[_0x34b553(0xaa)],_0x1789b1[_0x34b553(0x11d)])?_0x1ee845='⏳':_0x1ee845='⬜';}}}}const _0x91d3c6=_0x13ad6a[_0x34b553(0x12b)]>0x1?'\x20(v'+_0x13ad6a[_0x34b553(0x12b)]+')':'',_0x3eaf19=_0x1789b1['pthZt'](_0x13ad6a['version'],0x1)&&_0x13ad6a['parentItemId']&&_0x1789b1[_0x34b553(0xe2)](_0x13ad6a[_0x34b553(0xaa)],_0x1789b1[_0x34b553(0x11c)])&&_0x13ad6a[_0x34b553(0xaa)]!=='verified'?_0x1789b1['eTwBT']:'';console[_0x34b553(0x16c)]('\x20\x20\x20'+_0x1789b1['ixDtS'](_0x3dd1fa,0x1)+'.\x20'+_0x1ee845+'\x20'+_0x13ad6a[_0x34b553(0x12d)]+_0x91d3c6+_0x3eaf19);_0x13ad6a['status']==='blocked'&&_0x13ad6a['blockedReason']&&console['log']('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x13ad6a[_0x34b553(0xf3)]);_0x1789b1[_0x34b553(0x17f)](_0x13ad6a[_0x34b553(0xaa)],_0x1789b1['ZrroR'])&&_0x13ad6a[_0x34b553(0x156)]&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x13ad6a[_0x34b553(0x156)]);if(_0x13ad6a[_0x34b553(0xaa)]==='closed'&&_0x1789b1['vEFJC'](_0x13ad6a[_0x34b553(0x170)],_0x1789b1['NSCEF']))console['log'](_0x34b553(0x15a));else _0x1789b1[_0x34b553(0xe0)](_0x13ad6a[_0x34b553(0xaa)],'closed')&&_0x13ad6a['canceledReason']&&console['log']('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x13ad6a[_0x34b553(0x12f)]);}}}export async function featureCreate(_0x4e6789,_0x58b31d){const _0x509a7c=_0x17361c,_0x625fe2={'kcYpi':function(_0x36e09c){return _0x36e09c();},'HXgRE':function(_0x5c653a,_0x3544f4){return _0x5c653a===_0x3544f4;},'aiiJr':function(_0x146090,_0x434406){return _0x146090(_0x434406);},'zPqIV':function(_0x3a2b99,_0x10de4d,_0x5bbaf1){return _0x3a2b99(_0x10de4d,_0x5bbaf1);},'fTRIV':function(_0x3fb2e7,_0x196c26,_0x1f0256){return _0x3fb2e7(_0x196c26,_0x1f0256);}},{envNames:_0x75e01e}=await _0x625fe2['kcYpi'](getEnvNames);if(_0x625fe2[_0x509a7c(0x168)](_0x75e01e['length'],0x0)&&!process['env']['RANGER_TEST_USERNAME']){let _0x3f0245=0x0;try{_0x3f0245=(await _0x625fe2[_0x509a7c(0x111)](listCloudProfiles))['length'];}catch{_0x3f0245=0x1;}_0x3f0245===0x0&&console['warn']('\x0a'+_0x625fe2['aiiJr'](formatProfileRequiredMessage,_0x50b69d=>bold(_0x50b69d)));}const _0x3a1270=_0x58b31d['scenarios']?_0x58b31d[_0x509a7c(0x187)][_0x509a7c(0x143)](_0x795446=>_0x795446[_0x509a7c(0x108)]()):[],_0x19ecb1=_0x625fe2[_0x509a7c(0x111)](getGitRepoUrl),_0x492a7d=_0x625fe2['kcYpi'](getGitBranch);console[_0x509a7c(0x16c)]('\x0aCreating\x20feature\x20review...');const _0x564d29=await _0x625fe2['aiiJr'](createFeature,{'name':_0x4e6789,'description':_0x58b31d[_0x509a7c(0x12d)],'checklist':_0x3a1270,'gitRepoUrl':_0x19ecb1,'gitBranch':_0x492a7d});await _0x625fe2[_0x509a7c(0x11b)](setActiveFeatureId,_0x564d29['id']),await tryStartCurrentSession(_0x564d29['id']);const _0x57bf0d=process['env']['CLAUDE_SESSION_ID'];_0x57bf0d&&_0x625fe2[_0x509a7c(0x138)](registerSession,_0x57bf0d,_0x564d29['id']),console['log']('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x564d29['id']),_0x625fe2['fTRIV'](displayFeature,_0x564d29,_0x564d29['checklistItems']),console['log'](_0x509a7c(0x159));}export async function featureList(_0x78afff){const _0x33a8d4=_0x17361c,_0x5cc9c5={'SjWhm':function(_0x1813f1,_0x177200){return _0x1813f1>_0x177200;},'gVGCc':function(_0x5b4d57,_0x4a3ccf){return _0x5b4d57(_0x4a3ccf);}},_0x1a6233={'limit':_0x78afff[_0x33a8d4(0xc2)]??0xa,'offset':_0x78afff[_0x33a8d4(0xb9)]??0x0,'includeDeleted':_0x78afff[_0x33a8d4(0xd8)]};_0x78afff['currentBranch']&&(_0x1a6233['gitRepoUrl']=getGitRepoUrl(),_0x1a6233[_0x33a8d4(0x119)]=getGitBranch());const _0x3aee20=await listFeatures(_0x1a6233);if(_0x3aee20[_0x33a8d4(0x126)]['length']===0x0){console['log'](_0x33a8d4(0x181));return;}const _0x3c06f1=_0x5cc9c5['SjWhm'](_0x3aee20[_0x33a8d4(0xe8)],_0x3aee20['items'][_0x33a8d4(0x140)])?'Showing\x20'+_0x3aee20[_0x33a8d4(0x126)]['length']+_0x33a8d4(0x165)+_0x3aee20[_0x33a8d4(0xe8)]:_0x3aee20['totalCount']+'\x20feature\x20review(s)\x20found';console[_0x33a8d4(0x16c)]('\x0a'+_0x3c06f1+':\x0a');for(const _0xecf95c of _0x3aee20['items']){console[_0x33a8d4(0x16c)](''+_0xecf95c[_0x33a8d4(0xcb)]),console[_0x33a8d4(0x16c)](_0x33a8d4(0x103)+_0xecf95c['id']),_0xecf95c[_0x33a8d4(0x125)]&&console['log'](_0x33a8d4(0xc6)+_0x5cc9c5[_0x33a8d4(0x107)](getProgressDisplay,_0xecf95c['stats'])),_0xecf95c[_0x33a8d4(0x119)]&&console[_0x33a8d4(0x16c)](_0x33a8d4(0x11a)+_0xecf95c[_0x33a8d4(0x119)]),console[_0x33a8d4(0x16c)](_0x33a8d4(0xeb)+new Date(_0xecf95c['createdAt'])[_0x33a8d4(0xb5)]()),console['log']('');}const _0x3bc7d3=_0x1a6233[_0x33a8d4(0xc2)]??0xa,_0x49ef16=(_0x1a6233['offset']??0x0)+_0x3aee20['items'][_0x33a8d4(0x140)];if(_0x49ef16<_0x3aee20[_0x33a8d4(0xe8)]){const _0x10b341=_0x3bc7d3!==0xa?'\x20--limit\x20'+_0x3bc7d3:'',_0x55e93d=_0x78afff[_0x33a8d4(0x120)]?_0x33a8d4(0xd0):'',_0x773c75=_0x78afff[_0x33a8d4(0xd8)]?_0x33a8d4(0x10c):'';console[_0x33a8d4(0x16c)](_0x33a8d4(0x176)+_0x49ef16+_0x10b341+_0x55e93d+_0x773c75);}}export async function featureShow(_0x379dcb){const _0x20be30=_0x17361c,_0x3a3ccb={'MaGwx':_0x20be30(0x157),'RvPdT':function(_0x233bd3,_0x57588a,_0x566fb9){return _0x233bd3(_0x57588a,_0x566fb9);}},_0x5574e0=_0x379dcb||await getActiveFeatureId();if(!_0x5574e0)throw new Error(_0x3a3ccb['MaGwx']);const _0x5c311d=await getFeature(_0x5574e0);_0x3a3ccb['RvPdT'](displayFeature,_0x5c311d,_0x5c311d['checklistItems']);}export async function featureResume(_0x31fc3d){const _0x27d38e=_0x17361c,_0x2b256f={'fyRpo':function(_0x33f2c5,_0x34832f){return _0x33f2c5(_0x34832f);},'MDuLu':function(_0x55423d){return _0x55423d();},'UrQLQ':function(_0x4faa90,_0x1439e5,_0x302202){return _0x4faa90(_0x1439e5,_0x302202);},'AOEOc':function(_0x3cdb96,_0x55c9eb){return _0x3cdb96(_0x55c9eb);},'iEpxU':function(_0x282bcd,_0x375e1b,_0x4246ce){return _0x282bcd(_0x375e1b,_0x4246ce);},'XmdDN':function(_0x33152a){return _0x33152a();},'QRlIZ':'Not\x20in\x20a\x20git\x20repository.','cRnzS':function(_0x176b0c,_0x5c91df){return _0x176b0c||_0x5c91df;},'GnCBH':'any','OYLbM':function(_0x347cb0,_0x23139c){return _0x347cb0===_0x23139c;},'ElYYc':_0x27d38e(0xf9),'bccLn':'\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','nZqFK':_0x27d38e(0x12e),'laisT':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','AmcOj':function(_0x184a14,_0x2ac0d3){return _0x184a14(_0x2ac0d3);},'qtyvV':function(_0x49aa53,_0x922962){return _0x49aa53(_0x922962);},'YZuXS':function(_0x12882a,_0x3727dd,_0x24399c){return _0x12882a(_0x3727dd,_0x24399c);}};if(_0x31fc3d){const _0x3d461e=await getFeature(_0x31fc3d);await _0x2b256f['fyRpo'](setActiveFeatureId,_0x3d461e['id']);const _0x41c992=_0x2b256f['MDuLu'](getGitBranch);_0x41c992&&_0x41c992!==_0x3d461e['gitBranch']&&(await _0x2b256f[_0x27d38e(0x177)](updateFeature,_0x3d461e['id'],{'gitBranch':_0x41c992}),console[_0x27d38e(0x16c)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x41c992));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x3d461e[_0x27d38e(0xcb)]+'\x20('+_0x3d461e['id']+')'),await _0x2b256f[_0x27d38e(0x148)](tryStartCurrentSession,_0x3d461e['id']);const _0x3ceadd=process[_0x27d38e(0xbb)]['CLAUDE_SESSION_ID'];_0x3ceadd&&registerSession(_0x3ceadd,_0x3d461e['id']);_0x2b256f[_0x27d38e(0x183)](displayFeature,_0x3d461e,_0x3d461e['checklistItems']),await _0x2b256f['fyRpo'](printFeedbackNudge,_0x3d461e['id']);return;}const _0x3a281f=_0x2b256f['MDuLu'](getGitRepoUrl),_0x1a9553=_0x2b256f['XmdDN'](getGitBranch);if(!_0x3a281f&&!_0x1a9553)throw new Error(_0x2b256f['QRlIZ']);console['log']('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x2b256f[_0x27d38e(0xaf)](_0x3a281f,_0x2b256f[_0x27d38e(0x14d)])+_0x27d38e(0x173)+(_0x1a9553||_0x27d38e(0xa9))+_0x27d38e(0x152));const _0x12e199=await _0x2b256f['AOEOc'](listFeatures,{'gitRepoUrl':_0x3a281f,'gitBranch':_0x1a9553}),_0x26a3bc=_0x12e199[_0x27d38e(0x126)]['filter'](_0x58dcfb=>_0x58dcfb['status']?_0x58dcfb['status']!==_0x27d38e(0x129):!_0x58dcfb['completedAt']);if(_0x2b256f[_0x27d38e(0xf5)](_0x26a3bc['length'],0x0)){console['log']('\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.'),console[_0x27d38e(0x16c)](_0x2b256f['ElYYc']);return;}let _0x32d97f;if(_0x2b256f[_0x27d38e(0xf5)](_0x26a3bc[_0x27d38e(0x140)],0x1))_0x32d97f=_0x26a3bc[0x0];else{const _0x1227e3=process[_0x27d38e(0xb0)]['isTTY']&&process['stdout']['isTTY'];if(!_0x1227e3){console[_0x27d38e(0x16c)](_0x2b256f[_0x27d38e(0x102)]);for(const _0x3b6fab of _0x26a3bc){console['log']('\x20\x20'+_0x3b6fab['name']),console[_0x27d38e(0x16c)]('\x20\x20\x20\x20\x20ID:\x20'+_0x3b6fab['id']),_0x3b6fab['stats']&&console[_0x27d38e(0x16c)]('\x20\x20\x20\x20\x20Progress:\x20'+_0x2b256f[_0x27d38e(0x149)](getProgressDisplay,_0x3b6fab['stats'])),_0x3b6fab[_0x27d38e(0x119)]&&console['log'](_0x27d38e(0xad)+_0x3b6fab['gitBranch']);}throw new Error('Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>');}const {selected:_0x56a86b}=await _0x3ea057['prompt']([{'type':_0x2b256f[_0x27d38e(0xdd)],'name':'selected','message':_0x2b256f['laisT'],'choices':_0x26a3bc[_0x27d38e(0x143)](_0x16a9f4=>({'name':_0x16a9f4['name']+'\x20('+_0x16a9f4['id']+')','value':_0x16a9f4['id']}))}]);_0x32d97f=_0x26a3bc['find'](_0x37157d=>_0x37157d['id']===_0x56a86b);}await _0x2b256f['AmcOj'](setActiveFeatureId,_0x32d97f['id']);_0x1a9553&&_0x1a9553!==_0x32d97f['gitBranch']&&(await _0x2b256f['UrQLQ'](updateFeature,_0x32d97f['id'],{'gitBranch':_0x1a9553}),console['log'](_0x27d38e(0xfa)+_0x1a9553));console['log'](_0x27d38e(0xf6)+_0x32d97f[_0x27d38e(0xcb)]+'\x20('+_0x32d97f['id']+')'),await tryStartCurrentSession(_0x32d97f['id']);const _0x4e6360=await _0x2b256f[_0x27d38e(0x186)](getFeature,_0x32d97f['id']),_0x15bc37=process[_0x27d38e(0xbb)]['CLAUDE_SESSION_ID'];_0x15bc37&&_0x2b256f['YZuXS'](registerSession,_0x15bc37,_0x4e6360['id']),_0x2b256f['UrQLQ'](displayFeature,_0x4e6360,_0x4e6360[_0x27d38e(0x16d)]),await printFeedbackNudge(_0x4e6360['id']);}async function printFeedbackNudge(_0x580a15){const _0x5b1f26=_0x17361c,_0x1f6468={'vvADo':function(_0x917270,_0x42f970){return _0x917270>_0x42f970;},'HGEgM':_0x5b1f26(0x135)};try{const {items:_0x32bbc5}=await getActionItems(_0x580a15);let _0x2c8508=0x0,_0x18aab1=0x0;for(const _0x5b14a9 of _0x32bbc5){const _0x408e76=await getItemFeedback(_0x580a15,_0x5b14a9['id']);_0x408e76['unaddressedComments'][_0x5b1f26(0x140)]>0x0&&(_0x2c8508+=_0x408e76['unaddressedComments']['length'],_0x18aab1++);}_0x1f6468[_0x5b1f26(0x144)](_0x2c8508,0x0)&&(console['log']('\x0a⚠️\x20\x20'+_0x2c8508+_0x5b1f26(0x14f)+_0x18aab1+'\x20scenario(s).'),console[_0x5b1f26(0x16c)](_0x1f6468[_0x5b1f26(0x164)]));}catch{}}async function tryStartCurrentSession(_0x59908f){const _0x2724f7=_0x17361c,_0x509cae={'TDZeV':function(_0x3d98d3,_0xd1bd67){return _0x3d98d3(_0xd1bd67);}};try{const {sessions:_0x13cbe2}=await _0x509cae[_0x2724f7(0x110)](listFeatureSessions,_0x59908f),_0x3aecd6=_0x13cbe2['find'](_0x30b53c=>_0x30b53c['status']===_0x2724f7(0xe3));_0x3aecd6&&(await startSession(_0x59908f,_0x3aecd6['id']),console['log']('\x20\x20\x20▶️\x20Started\x20session\x20'+_0x3aecd6[_0x2724f7(0x146)]));}catch{}}export async function featureReport(_0x3a1df2,_0x1ad8f8){const _0x52a94b=_0x17361c,_0x97e0e5={'Libsi':_0x52a94b(0x136),'IBzHP':function(_0x2c7547,_0x332579,_0x140adc,_0xc4b8e0){return _0x2c7547(_0x332579,_0x140adc,_0xc4b8e0);},'fdtaH':function(_0x2dec7d){return _0x2dec7d();},'KjvZE':_0x52a94b(0x132),'yvSTY':function(_0x34ceec,_0x5ad612,_0x2dd59e){return _0x34ceec(_0x5ad612,_0x2dd59e);},'QHFeM':function(_0x117880,_0x6254ab,_0x348deb,_0x4e7b9f){return _0x117880(_0x6254ab,_0x348deb,_0x4e7b9f);}},_0x28fa41=_0x3a1df2||await getActiveFeatureId();if(!_0x28fa41)throw new Error(_0x97e0e5['Libsi']);console[_0x52a94b(0x16c)]('\x0aGenerating\x20report...');const _0x52815a=await getFeatureReportMarkdown(_0x28fa41,{'style':_0x1ad8f8['style']}),_0x16a047=_0x1ad8f8['output']||_0x97e0e5[_0x52a94b(0x166)](join,_0x97e0e5[_0x52a94b(0x174)](getRangerDir),_0x97e0e5['KjvZE'],_0x28fa41+_0x52a94b(0xdc)),_0x1d9e6d=_0x97e0e5['yvSTY'](join,_0x16a047,'..');!existsSync(_0x1d9e6d)&&await mkdir(_0x1d9e6d,{'recursive':!![]}),await _0x97e0e5[_0x52a94b(0x172)](writeFile,_0x16a047,_0x52815a,_0x52a94b(0xfc)),console[_0x52a94b(0x16c)]('\x0a✅\x20Report\x20generated:\x20'+_0x16a047);}function getScenarioResult(_0x2230bb){const _0x4ee103=_0x17361c,_0x5e3d2f={'ZkYlU':function(_0x3b689b,_0x5930f9){return _0x3b689b===_0x5930f9;},'XsxVy':'closed'};if(_0x5e3d2f[_0x4ee103(0xba)](_0x2230bb['status'],_0x5e3d2f[_0x4ee103(0x147)]))return _0x2230bb[_0x4ee103(0x170)]??_0x4ee103(0xfb);if(_0x5e3d2f[_0x4ee103(0xba)](_0x2230bb['status'],_0x4ee103(0xb6)))return _0x4ee103(0xc7);return _0x2230bb[_0x4ee103(0xaa)];}function getScenarioRationale(_0x3fdf04,_0x13cc01){const _0x185efd=_0x17361c;if(_0x13cc01)return _0x13cc01;if(_0x3fdf04['blockedReason'])return _0x3fdf04[_0x185efd(0xf3)];if(_0x3fdf04['incompleteReason'])return _0x3fdf04['incompleteReason'];if(_0x3fdf04['canceledReason'])return _0x3fdf04[_0x185efd(0x12f)];if(_0x3fdf04[_0x185efd(0x16b)])return _0x3fdf04['notes'];return null;}export async function featureReportPrDescription(_0x21cd7a,_0x16165b){const _0x415704=_0x17361c,_0x3dff2c={'QxhFM':function(_0x1dd6a2){return _0x1dd6a2();},'sKBxC':function(_0x54a9ef,_0x7cd0dc){return _0x54a9ef(_0x7cd0dc);},'FxEuc':function(_0x1bb825,_0x4e080f,_0x4751ca){return _0x1bb825(_0x4e080f,_0x4751ca);},'yGkUx':'\x0aAvailable\x20scenarios:','ZmSOz':function(_0x44df67,_0x1b4f0b){return _0x44df67===_0x1b4f0b;},'lBhXJ':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.','Wzgqa':function(_0x551499,_0x380749,_0x5d54c3,_0x29cc01){return _0x551499(_0x380749,_0x5d54c3,_0x29cc01);}},_0x2d2d66=_0x21cd7a||await _0x3dff2c[_0x415704(0xc9)](getActiveFeatureId);if(!_0x2d2d66)throw new Error(_0x415704(0x136));const _0x4cbc14=await _0x3dff2c[_0x415704(0xd1)](getFeature,_0x2d2d66),_0x2e5d2f=_0x4cbc14['checklistItems']||[],_0x24305f=_0x3dff2c[_0x415704(0xb1)](getCurrentSessionItems,_0x4cbc14,_0x2e5d2f);_0x24305f['length']===0x0&&(console[_0x415704(0x14e)]('\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.'),process[_0x415704(0xf7)](0x1));const _0x4d2d04=_0x16165b['excludeScenarios']??[],_0x168106=_0x4d2d04['filter'](_0x74bd6e=>!Number[_0x415704(0x10d)](_0x74bd6e)||_0x74bd6e<0x1||_0x74bd6e>_0x24305f['length']);if(_0x168106['length']>0x0){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x168106['join'](',\x20')),console[_0x415704(0x16c)](_0x3dff2c[_0x415704(0x13b)]);for(let _0x420100=0x0;_0x420100<_0x24305f['length'];_0x420100++){console[_0x415704(0x16c)]('\x20\x20'+(_0x420100+0x1)+'.\x20'+_0x24305f[_0x420100]['description']);}process['exit'](0x1);}const _0x2fed91=new Set(_0x4d2d04[_0x415704(0x143)](_0x1eaba7=>_0x1eaba7-0x1)),_0xf84273=_0x24305f['filter']((_0x4a773e,_0x39ab65)=>!_0x2fed91['has'](_0x39ab65));_0x3dff2c[_0x415704(0x105)](_0xf84273['length'],0x0)&&(console[_0x415704(0x14e)](_0x3dff2c['lBhXJ']),process['exit'](0x1));if(_0x16165b[_0x415704(0x130)])await _0x3dff2c[_0x415704(0x137)](outputJsonReport,_0x2d2d66,_0x4cbc14,_0xf84273);else{const _0xf46ce=await _0x3dff2c[_0x415704(0xb1)](getFeatureReportMarkdown,_0x2d2d66,{'itemIds':_0xf84273[_0x415704(0x143)](_0x1baa34=>_0x1baa34['id'])});process['stdout']['write'](_0xf46ce['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x18bb41,_0x2dfade,_0x466b6f){const _0x420dbe=_0x17361c,_0x52f2ca={'fKnRX':function(_0x3cc931,_0x24b787){return _0x3cc931(_0x24b787);},'pxFrV':function(_0x4a99d4,_0x1f8562,_0x2277d2){return _0x4a99d4(_0x1f8562,_0x2277d2);},'OHHkZ':function(_0x119fda){return _0x119fda();},'UFxNO':function(_0x593c30,_0x1c6e35){return _0x593c30+_0x1c6e35;}},_0x434d6c=_0x52f2ca[_0x420dbe(0xe7)](getApiBaseUrl),_0x5e8ec7=await getFeatureReport(_0x18bb41),_0x5b652e=new Map(_0x5e8ec7['checklistItems']['map'](_0x424ec2=>[_0x424ec2['id'],_0x424ec2])),_0x4547a5=await Promise[_0x420dbe(0x12c)](_0x466b6f['map'](async _0x393089=>{const _0x38585b=_0x420dbe,_0x31754e=_0x5b652e[_0x38585b(0x15e)](_0x393089['id']),_0x1d986a=_0x31754e?.[_0x38585b(0xe4)]??null;let _0x655c42=[];if(_0x393089['browserSessionId'])try{const {steps:_0x581239}=await getBrowserSessionSteps(_0x393089[_0x38585b(0x10a)]);_0x581239[_0x38585b(0x140)]>0x0&&(_0x655c42=_0x581239[_0x38585b(0x143)](_0x13202d=>{const _0x4df584=_0x38585b,_0xb93ac0=_0x13202d[_0x4df584(0xd2)]['find'](_0x5dee1b=>_0x5dee1b[_0x4df584(0x178)]===_0x4df584(0x11e)&&_0x5dee1b[_0x4df584(0xdb)]===_0x4df584(0x161))??_0x13202d['assets']['find'](_0x792d2a=>_0x792d2a[_0x4df584(0x178)]===_0x4df584(0x11e));let _0x84afed=null,_0x17e08b=null;if(_0xb93ac0){const _0x29dab3=_0xb93ac0[_0x4df584(0x180)][_0x4df584(0xc3)][_0x4df584(0x17a)]('/')[_0x4df584(0x106)]();_0x84afed=_0x434d6c+_0x4df584(0xfd)+_0x393089[_0x4df584(0x10a)]+_0x4df584(0x112)+_0x29dab3,_0x29dab3&&(_0x17e08b=_0x29dab3['replace'](/\.\w+$/,'')[_0x4df584(0x17b)](/^(key_)?\d+_/,'')[_0x4df584(0x17b)](/[-_]/g,'\x20'));}return{'description':_0x17e08b||_0x13202d[_0x4df584(0x12d)]||_0x13202d[_0x4df584(0xca)]||_0x4df584(0x14c)+_0x13202d[_0x4df584(0x17e)],'screenshot':_0x84afed,'is_key_step':_0x13202d['isKeyStep']};}));}catch{}return _0x655c42['length']===0x0&&_0x1d986a?.['screenshotUrls']&&(_0x655c42=_0x1d986a[_0x38585b(0x17c)][_0x38585b(0x143)]((_0x580650,_0x49b26f)=>({'description':_0x38585b(0x13e)+(_0x49b26f+0x1),'screenshot':_0x580650,'is_key_step':![]}))),{'description':_0x393089['description'],'result':_0x52f2ca['fKnRX'](getScenarioResult,_0x393089),'rationale':_0x52f2ca[_0x38585b(0x13f)](getScenarioRationale,_0x393089,_0x1d986a?.['agentResponse']),'steps':_0x655c42};})),_0x105c5a={'url':_0x2dfade['dashboardUrl'],'scenarios':_0x4547a5};process['stdout']['write'](_0x52f2ca[_0x420dbe(0xf0)](JSON['stringify'](_0x105c5a,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x30490b){const _0x4cfd9a=_0x17361c,_0x24ee3b={'BEVEQ':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','lIsnD':function(_0x45a800,_0x52d459){return _0x45a800(_0x52d459);},'uRsrW':function(_0x884e35,_0x49f95b){return _0x884e35(_0x49f95b);},'vjfvO':_0x4cfd9a(0xc5),'oNzkj':'completed','oPnOC':function(_0x58adb9,_0xbf53e7){return _0x58adb9!==_0xbf53e7;},'IFnCk':function(_0x222742,_0x7bfed5,_0x65fcab){return _0x222742(_0x7bfed5,_0x65fcab);}},_0x164073=_0x30490b||await getActiveFeatureId();if(!_0x164073)throw new Error(_0x24ee3b[_0x4cfd9a(0xb8)]);const _0x543635=await _0x24ee3b['lIsnD'](getFeature,_0x164073);if(!_0x543635[_0x4cfd9a(0x15c)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x218202}=await _0x24ee3b['uRsrW'](listFeatureSessions,_0x164073),_0x527d13=_0x218202[_0x4cfd9a(0x13d)](_0x2efd91=>_0x2efd91['id']===_0x543635['currentSessionId']);if(!_0x527d13)throw new Error(_0x24ee3b['vjfvO']);if(_0x527d13[_0x4cfd9a(0xaa)]===_0x24ee3b[_0x4cfd9a(0x17d)]){console[_0x4cfd9a(0x16c)]('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x24ee3b['oPnOC'](_0x527d13[_0x4cfd9a(0xaa)],_0x4cfd9a(0xc7)))throw new Error('Cannot\x20conclude\x20session\x20with\x20status:\x20'+_0x527d13['status']);console['log']('\x0aConcluding\x20session...'),await _0x24ee3b['IFnCk'](concludeSession,_0x164073,_0x543635[_0x4cfd9a(0x15c)]),console['log']('\x0a✅\x20Session\x20'+_0x527d13['iteration']+'\x20concluded.'),console[_0x4cfd9a(0x16c)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}function _0x4ce9(){const _0x56726a=['\x20\x20\x20Progress:\x20','in_progress','\x20—\x20no\x20comments','QxhFM','stepName','name','point','\x20incomplete','31144oafOEz','oACCv','\x20--current-branch','sKBxC','assets','unaddressedComments','authorName','3vyiYHm','189102QfpEFx','sessionId','includeDeleted','No\x20scenarios\x20found.','ZcEZK','timing','.md','nZqFK','\x20\x20\x20Description:\x20','content','iiJlW','verificationInProgressItems','iGHLt','ready','linkedSession','domRef','WMmBO','OHHkZ','totalCount','.png','NzCKF','\x20\x20\x20Created:\x20','approved','\x20scenarios.','repeat','scenario','UFxNO','coordinates','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','blockedReason','pYWiJ','OYLbM','\x0a✅\x20Resumed\x20feature\x20review:\x20','exit','filter','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','\x20\x20\x20Updated\x20branch\x20to:\x20','closed','utf-8','/api/v1/mcp/browser-sessions/','toLocaleString','qeOCB','latestReview','2904820wYntnq','bccLn','\x20\x20\x20ID:\x20','lxvEG','ZmSOz','pop','gVGCc','trim','):\x20\x22','browserSessionId','\x20\x20✅\x20No\x20feedback\x20to\x20address','\x20--include-deleted','isInteger','ukQfy','UtjtS','TDZeV','kcYpi','/artifacts/','submittedAt','jXEqr','\x20(v','selector','8949325LNfWXE','456nZYjDU','gitBranch','\x20\x20\x20Branch:\x20','aiiJr','CBJqt','Ybukc','screenshot','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','currentBranch','dashboardUrl','\x0a\x20\x20\x20Scenarios:','toFixed','10qOAnIn','stats','items','TGikW','SgKAw','verified','gitRepoUrl','version','all','description','list','canceledReason','json','1485981HGUcMx','reports','\x1b[1m','.\x20Feature\x20review\x20has\x20','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Wzgqa','zPqIV','8692mhLQCo','blockedItems','yGkUx','comment_','find','Screenshot\x20','pxFrV','length','66QHaqGp','atTnm','map','vvADo','Please\x20finish\x20your\x20review\x20first:','iteration','XsxVy','AOEOc','fyRpo','UCHKd','\x20\x20\x20Completed:\x20','Step\x20','GnCBH','error','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','incomplete','fecln','...','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','type','feedback-images','incompleteReason','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20verified','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','\x20\x20\x20\x20\x20\x20Approved','WLOqH','currentSessionId','completedAt','get','vEFJC','\x20Session\x20','after','BCLRU','\x20\x20💬\x20','HGEgM','\x20of\x20','IBzHP','\x20\x20Expected\x20flow:','HXgRE','slice','WYuZW','notes','log','checklistItems','BEFDi','git\x20rev-parse\x20--abbrev-ref\x20HEAD','terminalReason','createdAt','QHFeM','\x20/\x20','fdtaH','ipfEa','Next\x20page:\x20ranger\x20list\x20--offset\x20','UrQLQ','assetType','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','split','replace','screenshotUrls','oNzkj','position','tRgQp','storage','\x0aNo\x20feature\x20reviews\x20found.','\x0a❌\x20Invalid\x20scenario\x20index:\x20','iEpxU','eDYjT','haPUs','qtyvV','scenarios','\x20in\x20progress','any','status','join','element','\x20\x20\x20\x20\x20Branch:\x20','pipe','cRnzS','stdin','FxEuc','completed','gASVK',':\x20\x22','toLocaleDateString','verification_in_progress','DGKHT','BEVEQ','offset','ZkYlU','env','\x20[has\x20reviewer\x20feedback]','HsceL','push','23366BsqRvm','spatial','assetUrl','limit','location','pendingItems','Current\x20session\x20not\x20found.'];_0x4ce9=function(){return _0x56726a;};return _0x4ce9();}export async function featureSessions(_0x36929e){const _0x1e5f19=_0x17361c,_0x338567={'TGikW':function(_0x33c861){return _0x33c861();},'WMmBO':_0x1e5f19(0x136),'HKDPQ':function(_0xa3bbd3,_0xc8a557){return _0xa3bbd3===_0xc8a557;},'BEFDi':'No\x20sessions\x20found.','oACCv':_0x1e5f19(0xc7)},_0x6986d4=_0x36929e||await _0x338567[_0x1e5f19(0x127)](getActiveFeatureId);if(!_0x6986d4)throw new Error(_0x338567[_0x1e5f19(0xe6)]);const _0x4bdddd=await getFeature(_0x6986d4);console['log'](_0x1e5f19(0xf2)+_0x4bdddd['name']+'\x0a');const {sessions:_0x5e05f8}=await listFeatureSessions(_0x6986d4);if(_0x338567['HKDPQ'](_0x5e05f8['length'],0x0)){console[_0x1e5f19(0x16c)](_0x338567[_0x1e5f19(0x16e)]);return;}for(const _0xff6871 of _0x5e05f8){const _0x10b321=_0xff6871[_0x1e5f19(0xaa)]===_0x1e5f19(0xb2)?'✅':_0xff6871['status']===_0x338567[_0x1e5f19(0xcf)]?'🔄':'▶️';console['log'](_0x10b321+_0x1e5f19(0x160)+_0xff6871[_0x1e5f19(0x146)]+'\x20('+_0xff6871['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0xff6871[_0x1e5f19(0xaa)]),console['log'](_0x1e5f19(0xeb)+new Date(_0xff6871[_0x1e5f19(0x171)])[_0x1e5f19(0xfe)]()),_0xff6871[_0x1e5f19(0x15d)]&&console['log'](_0x1e5f19(0x14b)+new Date(_0xff6871['completedAt'])['toLocaleString']()),console[_0x1e5f19(0x16c)]('');}}export async function featureAddScenario(_0x1ccd48,_0x2daf4c){const _0x3c6d81=_0x17361c,_0x5edd67={'EMzdp':function(_0x22b4fe){return _0x22b4fe();},'lhMiN':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','gbeue':function(_0xfec47,_0x538b6e,_0x40c464){return _0xfec47(_0x538b6e,_0x40c464);},'lxvEG':function(_0x50da55,_0x569e18,_0x1498bf){return _0x50da55(_0x569e18,_0x1498bf);}},_0x1b1117=_0x2daf4c||await _0x5edd67['EMzdp'](getActiveFeatureId);if(!_0x1b1117)throw new Error(_0x5edd67['lhMiN']);const _0xea61e6=await getFeature(_0x1b1117);if(_0xea61e6['latestReview']&&!_0xea61e6[_0x3c6d81(0x100)][_0x3c6d81(0x113)])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0xea61e6['dashboardUrl']);await _0x5edd67['gbeue'](createChecklistItem,_0x1b1117,_0x1ccd48);const _0x2a25cb=await getFeature(_0x1b1117);console['log']('\x0a✅\x20Scenario\x20added'),_0x5edd67[_0x3c6d81(0x104)](displayFeature,_0x2a25cb,_0x2a25cb[_0x3c6d81(0x16d)]);}export async function featureEditScenario(_0x4e4742,_0x2e1629){const _0x38b05b=_0x17361c,_0x56be7c={'aVhsG':_0x38b05b(0x153),'uccEH':function(_0x2316fe,_0x4e4859){return _0x2316fe(_0x4e4859);},'eDYjT':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','wOPkB':_0x38b05b(0x145),'WLOqH':function(_0x14b92a,_0x1a8c08){return _0x14b92a===_0x1a8c08;},'vdaav':_0x38b05b(0x11f),'QYVih':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','Qbavt':function(_0x1df2af,_0x5c4370){return _0x1df2af<_0x5c4370;},'HrYyi':function(_0x5688b4,_0x2925e1){return _0x5688b4<_0x2925e1;},'ruBMZ':function(_0x5c0c20,_0x3b664e){return _0x5c0c20+_0x3b664e;},'qTXdx':function(_0x304392,_0x5947c1){return _0x304392(_0x5947c1);}},_0xbf531b=_0x2e1629['id']||await getActiveFeatureId();!_0xbf531b&&(console['error'](_0x38b05b(0x179)),console['error'](_0x56be7c['aVhsG']),process['exit'](0x1));const _0x136bbb=await _0x56be7c['uccEH'](getFeature,_0xbf531b);_0x136bbb[_0x38b05b(0x100)]&&!_0x136bbb[_0x38b05b(0x100)][_0x38b05b(0x113)]&&(console[_0x38b05b(0x14e)](_0x56be7c[_0x38b05b(0x184)]),console['error'](_0x56be7c['wOPkB']),console[_0x38b05b(0x14e)]('\x20\x20'+_0x136bbb[_0x38b05b(0x121)]),process[_0x38b05b(0xf7)](0x1));const _0x4c6bdf=_0x136bbb[_0x38b05b(0x16d)]||[];_0x56be7c[_0x38b05b(0x15b)](_0x4c6bdf[_0x38b05b(0x140)],0x0)&&(console['error'](_0x56be7c['vdaav']),process[_0x38b05b(0xf7)](0x1));if(_0x2e1629[_0x38b05b(0xef)]===undefined){console[_0x38b05b(0x14e)](_0x56be7c['QYVih']),console[_0x38b05b(0x16c)]('\x0aAvailable\x20scenarios:');for(let _0x4cc497=0x0;_0x56be7c['Qbavt'](_0x4cc497,_0x4c6bdf[_0x38b05b(0x140)]);_0x4cc497++){console['log']('\x20\x20'+(_0x4cc497+0x1)+'.\x20'+_0x4c6bdf[_0x4cc497]['description']);}process[_0x38b05b(0xf7)](0x1);}const _0x23c010=_0x2e1629['scenario']-0x1;if(_0x56be7c['HrYyi'](_0x23c010,0x0)||_0x23c010>=_0x4c6bdf['length']){console[_0x38b05b(0x14e)](_0x38b05b(0x182)+_0x2e1629[_0x38b05b(0xef)]+_0x38b05b(0x134)+_0x4c6bdf['length']+_0x38b05b(0xed)),console['log']('\x0aAvailable\x20scenarios:');for(let _0x1c70fe=0x0;_0x56be7c['HrYyi'](_0x1c70fe,_0x4c6bdf[_0x38b05b(0x140)]);_0x1c70fe++){console['log']('\x20\x20'+_0x56be7c['ruBMZ'](_0x1c70fe,0x1)+'.\x20'+_0x4c6bdf[_0x1c70fe]['description']);}process['exit'](0x1);}const _0x178fd6=_0x4c6bdf[_0x23c010];await updateChecklistItem(_0xbf531b,_0x178fd6['id'],{'description':_0x4e4742});const _0x3224f6=await _0x56be7c['qTXdx'](getFeature,_0xbf531b);console['log']('\x0a✅\x20Scenario\x20updated'),displayFeature(_0x3224f6,_0x3224f6[_0x38b05b(0x16d)]);}async function downloadFeedbackImage(_0x3eb193,_0x2e6640){const _0x531de6=_0x17361c,_0x4c8866={'lAboo':function(_0x557ae8){return _0x557ae8();},'LThaF':_0x531de6(0x155),'qeOCB':function(_0x47d952,_0x196fbd,_0x4cd8f6){return _0x47d952(_0x196fbd,_0x4cd8f6);}};try{const _0x685fe=join(_0x4c8866['lAboo'](getRangerDir),_0x4c8866['LThaF']);await _0x4c8866[_0x531de6(0xff)](mkdir,_0x685fe,{'recursive':!![]});const _0x273824=join(_0x685fe,_0x531de6(0x13c)+_0x2e6640+_0x531de6(0xe9)),_0x15317f=await fetch(_0x3eb193);if(!_0x15317f['ok'])return null;const _0x3b2796=Buffer['from'](await _0x15317f['arrayBuffer']());return await _0x4c8866['qeOCB'](writeFile,_0x273824,_0x3b2796),_0x273824;}catch{return null;}}export async function featureGetReview(_0x5819b3){const _0x5f3f2e=_0x17361c,_0x457842={'haPUs':function(_0x47f8fc){return _0x47f8fc();},'KFBHA':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','HsceL':function(_0x3a8753,_0x2a2464){return _0x3a8753===_0x2a2464;},'aKgOG':_0x5f3f2e(0xd9),'raFJy':function(_0x433e4a,_0x13bdae){return _0x433e4a>_0x13bdae;},'DGKHT':'en-US','fsngP':'short','UCHKd':'\x20>\x20','UFqqb':_0x5f3f2e(0xac),'atTnm':function(_0x41f386,_0x2ec6b5){return _0x41f386>=_0x2ec6b5;}},_0xa3f7c9=_0x5819b3||await _0x457842[_0x5f3f2e(0x185)](getActiveFeatureId);if(!_0xa3f7c9)throw new Error(_0x457842['KFBHA']);const _0x4b672c=await getFeature(_0xa3f7c9),{items:_0x48441b}=await getActionItems(_0xa3f7c9);console[_0x5f3f2e(0x16c)]('\x0a📋\x20Feedback\x20for:\x20'+_0x4b672c['name']+'\x20('+_0x4b672c['id']+')\x0a');if(_0x457842[_0x5f3f2e(0xbd)](_0x48441b['length'],0x0)){console['log'](_0x457842['aKgOG']);return;}for(let _0x51d9ae=0x0;_0x51d9ae<_0x48441b['length'];_0x51d9ae++){const _0x1e4039=_0x48441b[_0x51d9ae],_0x2ccfe6=_0x1e4039[_0x5f3f2e(0x12b)]>0x1?_0x5f3f2e(0x115)+_0x1e4039[_0x5f3f2e(0x12b)]+')':'',_0xd556a8=await getItemFeedback(_0xa3f7c9,_0x1e4039['id']);if(_0x457842['raFJy'](_0xd556a8['unaddressedComments'][_0x5f3f2e(0x140)],0x0)){console['log']('Scenario\x20'+(_0x51d9ae+0x1)+_0x5f3f2e(0xb4)+_0x1e4039['description']+'\x22'+_0x2ccfe6+'\x20—\x20'+_0xd556a8['unaddressedComments']['length']+'\x20unaddressed\x20comment(s)');for(const _0xbfa419 of _0xd556a8[_0x5f3f2e(0xd3)]){const _0x42cff0=new Date(_0xbfa419['createdAt'])['toLocaleDateString'](_0x457842[_0x5f3f2e(0xb7)],{'month':_0x457842['fsngP'],'day':'numeric'}),_0x582565=_0xbfa419[_0x5f3f2e(0xd4)]||_0xbfa419['authorEmail']||'Unknown';console[_0x5f3f2e(0x16c)](_0x5f3f2e(0x163)+_0x582565+'\x20('+_0x42cff0+_0x5f3f2e(0x109)+_0xbfa419[_0x5f3f2e(0xdf)]+'\x22');if(_0xbfa419['assetUrl']){const _0x2f9031=await downloadFeedbackImage(_0xbfa419[_0x5f3f2e(0xc1)],_0xbfa419['id']);_0x2f9031&&console['log']('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x2f9031);}if(_0xbfa419['domRef']){const _0x48da60=_0xbfa419[_0x5f3f2e(0xe5)][_0x5f3f2e(0x116)][_0x5f3f2e(0x17a)](_0x457842[_0x5f3f2e(0x14a)])[_0x5f3f2e(0x106)]()?.[_0x5f3f2e(0x17a)](':')[0x0]||_0x457842['UFqqb'],_0x33a916=_0xbfa419[_0x5f3f2e(0xe5)]['textContent']?'\x20\x22'+_0xbfa419[_0x5f3f2e(0xe5)]['textContent'][_0x5f3f2e(0x169)](0x0,0x3c)+'\x22':'';console['log']('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x48da60+'>'+_0x33a916),console['log']('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0xbfa419['domRef'][_0x5f3f2e(0x116)]);}else{if(_0xbfa419['spatial']){const _0x3b112b=_0xbfa419[_0x5f3f2e(0xc0)][_0x5f3f2e(0xf1)];_0xbfa419['spatial'][_0x5f3f2e(0x154)]===_0x5f3f2e(0xcc)&&_0x457842[_0x5f3f2e(0x142)](_0x3b112b['length'],0x2)?console[_0x5f3f2e(0x16c)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x3b112b[0x0][_0x5f3f2e(0x123)](0x2)+',\x20'+_0x3b112b[0x1][_0x5f3f2e(0x123)](0x2)+')'):console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0xbfa419['spatial']['type']+'\x20at\x20['+_0x3b112b['map'](_0x37b1e2=>_0x37b1e2['toFixed'](0x2))['join'](',\x20')+']');}}}if(_0xd556a8['canonicalFlow']){console[_0x5f3f2e(0x16c)](_0x5f3f2e(0x167));for(const _0x5e8b9c of _0xd556a8['canonicalFlow']['split']('\x0a')){console[_0x5f3f2e(0x16c)]('\x20\x20\x20\x20'+_0x5e8b9c);}}}else console['log']('Scenario\x20'+(_0x51d9ae+0x1)+':\x20\x22'+_0x1e4039[_0x5f3f2e(0x12d)]+'\x22'+_0x2ccfe6+_0x5f3f2e(0xc8)),console[_0x5f3f2e(0x16c)](_0x5f3f2e(0x10b));console[_0x5f3f2e(0x16c)]('');}}export async function featureDelete(_0x4e5c51){const _0x28fe11=_0x17361c,_0x3ce234={'UVfwI':function(_0x19b6f3){return _0x19b6f3();},'cdgYW':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','HTGID':function(_0x4e5750,_0x2f0236){return _0x4e5750(_0x2f0236);},'hKaPp':function(_0x17bae6,_0x22b35a){return _0x17bae6+_0x22b35a;},'WYuZW':'\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'},_0xc2c5b7=_0x4e5c51||await _0x3ce234['UVfwI'](getActiveFeatureId);if(!_0xc2c5b7)throw new Error(_0x3ce234['cdgYW']);const _0x1360ba=await getFeature(_0xc2c5b7);await _0x3ce234['HTGID'](softDeleteFeature,_0xc2c5b7),console['log']('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x1360ba[_0x28fe11(0xcb)]+'\x20('+_0xc2c5b7+')'),console[_0x28fe11(0x16c)](_0x3ce234['hKaPp'](_0x3ce234[_0x28fe11(0x16a)],_0xc2c5b7));}export async function featureRestore(_0x288b3f){const _0x3712b7=_0x17361c,_0xb9fcd3={'NzCKF':function(_0x1d834c,_0x499c88){return _0x1d834c(_0x499c88);}};await _0xb9fcd3[_0x3712b7(0xea)](restoreFeature,_0x288b3f);const _0x4d562b=await _0xb9fcd3['NzCKF'](getFeature,_0x288b3f);console[_0x3712b7(0x16c)]('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x4d562b['name']+'\x20('+_0x288b3f+')'),displayFeature(_0x4d562b,_0x4d562b[_0x3712b7(0x16d)]);}
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 +1 @@
1
- (function(_0x218a43,_0x3849a2){const _0x575b7e=_0x7e85,_0x4feb78=_0x218a43();while(!![]){try{const _0xa32cf0=parseInt(_0x575b7e(0x15e))/0x1+parseInt(_0x575b7e(0x15f))/0x2+parseInt(_0x575b7e(0x168))/0x3+parseInt(_0x575b7e(0x169))/0x4*(-parseInt(_0x575b7e(0x164))/0x5)+-parseInt(_0x575b7e(0x160))/0x6*(-parseInt(_0x575b7e(0x166))/0x7)+parseInt(_0x575b7e(0x163))/0x8*(parseInt(_0x575b7e(0x15b))/0x9)+-parseInt(_0x575b7e(0x15c))/0xa;if(_0xa32cf0===_0x3849a2)break;else _0x4feb78['push'](_0x4feb78['shift']());}catch(_0x1420b7){_0x4feb78['push'](_0x4feb78['shift']());}}}(_0x4b53,0x1ffb2));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 _0x7e85(_0x39325d,_0x486184){_0x39325d=_0x39325d-0x15a;const _0x4b53ed=_0x4b53();let _0x7e8555=_0x4b53ed[_0x39325d];return _0x7e8555;}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0xe902db=_0x7e85,_0x298f39={'cprJd':'SIGTERM'};if(cancellationHandlersInstalled)return;const _0x260a2d=()=>{const _0x3d5e5b=_0x7e85;process[_0x3d5e5b(0x162)](0x0);};process['once']('SIGINT',_0x260a2d),process['once'](_0x298f39['cprJd'],_0x260a2d),process['once'](_0xe902db(0x15a),_0x260a2d),cancellationHandlersInstalled=!![];}export async function hook(_0x240e79,_0x5231bc){const _0x5e005a=_0x7e85,_0x4f0841={'WHCmp':function(_0x5480bb){return _0x5480bb();},'irysJ':function(_0x62289f,_0xe8ea19){return _0x62289f(_0xe8ea19);}};_0x4f0841[_0x5e005a(0x165)](installCancellationHandlers);const _0x3959a6=HOOKS[_0x240e79];if(!_0x3959a6){const _0x8c73b7=Object['keys'](HOOKS)[_0x5e005a(0x161)](',\x20');console['error']('Unknown\x20hook:\x20'+_0x240e79),console[_0x5e005a(0x167)](_0x5e005a(0x15d)+_0x8c73b7),process[_0x5e005a(0x162)](0x1);}await _0x4f0841['irysJ'](_0x3959a6,_0x5231bc);}function _0x4b53(){const _0xa5ac0=['492318aDfFtb','4OMzoJy','SIGHUP','2178YPoTZL','2839240TRghKQ','Valid\x20hooks:\x20','24746YGhOCV','156120ceUiAZ','6sbSXoK','join','exit','8312lfFhTg','566155DCouRZ','WHCmp','68593HaTwrf','error'];_0x4b53=function(){return _0xa5ac0;};return _0x4b53();}
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 +1 @@
1
- (function(_0x18a337,_0x4a7f3c){const _0x2199cd=_0x5aa9,_0x679b29=_0x18a337();while(!![]){try{const _0x40d7f3=-parseInt(_0x2199cd(0x149))/0x1+parseInt(_0x2199cd(0x151))/0x2*(-parseInt(_0x2199cd(0x14d))/0x3)+parseInt(_0x2199cd(0x152))/0x4*(-parseInt(_0x2199cd(0x150))/0x5)+-parseInt(_0x2199cd(0x14b))/0x6+parseInt(_0x2199cd(0x154))/0x7+parseInt(_0x2199cd(0x14a))/0x8*(parseInt(_0x2199cd(0x14c))/0x9)+parseInt(_0x2199cd(0x14f))/0xa;if(_0x40d7f3===_0x4a7f3c)break;else _0x679b29['push'](_0x679b29['shift']());}catch(_0x51ef47){_0x679b29['push'](_0x679b29['shift']());}}}(_0x1cf0,0xcdf3a));function _0x5aa9(_0x5d4b84,_0x309f34){_0x5d4b84=_0x5d4b84-0x149;const _0x1cf09d=_0x1cf0();let _0x5aa9e2=_0x1cf09d[_0x5d4b84];return _0x5aa9e2;}import{readHookInput}from'./output.js';function _0x1cf0(){const _0x1248ca=['6742834QjUArj','1093945cjMdTQ','6406056qegFet','4147926hRpCjP','9aeKyMv','15195boCKIO','log','23935680kmmRck','40uHfIQt','302fLriRV','381964aupLwr','session_id'];_0x1cf0=function(){return _0x1248ca;};return _0x1cf0();}import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT='\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.';export async function autoPrompt(){const _0x30fef1=_0x5aa9,_0x12f3c1={'YQXBQ':function(_0x378eba,_0x108362){return _0x378eba(_0x108362);}};if(resolveHookMode()==='off')return;const _0x3c8ac7=await readHookInput(),_0x2c2a58=_0x3c8ac7?.[_0x30fef1(0x153)];if(!_0x2c2a58)return;if(_0x12f3c1['YQXBQ'](isSessionEnabled,_0x2c2a58)||hasSessionBeenPrompted(_0x2c2a58))return;_0x12f3c1['YQXBQ'](markSessionPrompted,_0x2c2a58),console[_0x30fef1(0x14e)](AUTO_PROMPT_TEXT);}
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 +1 @@
1
- function _0x1669(_0x3b4960,_0x529734){_0x3b4960=_0x3b4960-0xc1;const _0x1543f9=_0x1543();let _0x166977=_0x1543f9[_0x3b4960];return _0x166977;}(function(_0x489f18,_0x101d52){const _0x27f64b=_0x1669,_0x1ad923=_0x489f18();while(!![]){try{const _0x40b5ee=parseInt(_0x27f64b(0xc4))/0x1*(-parseInt(_0x27f64b(0xd0))/0x2)+-parseInt(_0x27f64b(0xc9))/0x3+parseInt(_0x27f64b(0xc5))/0x4+-parseInt(_0x27f64b(0xd1))/0x5*(parseInt(_0x27f64b(0xce))/0x6)+-parseInt(_0x27f64b(0xcc))/0x7+-parseInt(_0x27f64b(0xc1))/0x8*(-parseInt(_0x27f64b(0xcb))/0x9)+parseInt(_0x27f64b(0xc2))/0xa;if(_0x40b5ee===_0x101d52)break;else _0x1ad923['push'](_0x1ad923['shift']());}catch(_0x45a8c1){_0x1ad923['push'](_0x1ad923['shift']());}}}(_0x1543,0x7a792));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0xbba00f){const _0x3b568e=_0x1669,_0x2cea91={'GfspV':function(_0x134658,_0x393b55){return _0x134658(_0x393b55);},'CtYrP':function(_0x41aec4){return _0x41aec4();},'IogVJ':function(_0xc65835,_0x301a72){return _0xc65835!==_0x301a72;},'ULNZl':function(_0x104e6c,_0x2dcab7){return _0x104e6c(_0x2dcab7);},'Svere':function(_0x5ebcf3,_0x2e90a0){return _0x5ebcf3!==_0x2e90a0;}},_0x347882=_0xbba00f||process[_0x3b568e(0xd2)]['CLAUDE_SESSION_ID']||'';_0x347882&&_0x2cea91['GfspV'](disableSession,_0x347882);const _0x86b34d=_0x2cea91['CtYrP'](getCurrentBranch);_0x86b34d&&_0x86b34d!=='main'&&_0x2cea91[_0x3b568e(0xc6)](_0x86b34d,_0x3b568e(0xca))&&_0x2cea91[_0x3b568e(0xc8)](disableBranch,_0x86b34d),printBlock(_0x3b568e(0xc7)+(_0x86b34d&&_0x86b34d!=='main'&&_0x2cea91[_0x3b568e(0xcf)](_0x86b34d,'master')?_0x3b568e(0xcd)+_0x86b34d+'\x27':'')+_0x3b568e(0xc3));}function _0x1543(){const _0xf1efc0=['.\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`.','5909VxRcQw','1027532IOCpMq','IogVJ','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','ULNZl','508704fMrCig','master','27GuOzqy','3860997cNrYON','\x20and\x20branch\x20\x27','1260564VNSetf','Svere','158HMdwSx','5YZjesc','env','88216PMSuYz','16097300QdFuJx'];_0x1543=function(){return _0xf1efc0;};return _0x1543();}
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 +1 @@
1
- (function(_0x5e2a9f,_0x2eff7a){const _0x1f30d7=_0x33ce,_0x1a8aa7=_0x5e2a9f();while(!![]){try{const _0x1e7e75=-parseInt(_0x1f30d7(0x76))/0x1*(-parseInt(_0x1f30d7(0x73))/0x2)+parseInt(_0x1f30d7(0x83))/0x3+-parseInt(_0x1f30d7(0x81))/0x4*(parseInt(_0x1f30d7(0x7c))/0x5)+parseInt(_0x1f30d7(0x7b))/0x6+-parseInt(_0x1f30d7(0x82))/0x7+parseInt(_0x1f30d7(0x7d))/0x8*(-parseInt(_0x1f30d7(0x77))/0x9)+parseInt(_0x1f30d7(0x75))/0xa;if(_0x1e7e75===_0x2eff7a)break;else _0x1a8aa7['push'](_0x1a8aa7['shift']());}catch(_0x3e317f){_0x1a8aa7['push'](_0x1a8aa7['shift']());}}}(_0xea1f,0xf2018));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';function _0x33ce(_0x4e6b4d,_0x32addc){_0x4e6b4d=_0x4e6b4d-0x73;const _0xea1f30=_0xea1f();let _0x33ce98=_0xea1f30[_0x4e6b4d];return _0x33ce98;}function _0xea1f(){const _0x25e79d=['1426554jAiarC','2273031qLzGPv','#\x20RANGER\x20ENABLED','#\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`','yorRk','5483088IDBPCS','730975NgXYQy','24pdRlxA','ranger\x20setup\x20--opencode','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','32XoAQPL','8256689JBwWZx','753027JDZTLx','2eawVeR','env','15066090pcDEiN'];_0xea1f=function(){return _0x25e79d;};return _0xea1f();}import{update}from'../update.js';export async function enable(_0x2a341e){const _0x184be5=_0x33ce,_0x17bcca={'VuNQk':'ranger\x20setup','qnEtu':function(_0x6bef81){return _0x6bef81();},'CtWsU':function(_0x3fa712,_0x3a6e58){return _0x3fa712!==_0x3a6e58;},'yorRk':function(_0x203b71,_0x2a1e8b){return _0x203b71(_0x2a1e8b);}},_0x292565=_0x2a341e||process[_0x184be5(0x74)]['CLAUDE_SESSION_ID']||'',_0x174513=Boolean(_0x2a341e),_0x267f0a=await getToken();if(!_0x267f0a){const _0x270847=_0x174513?_0x184be5(0x7e):_0x17bcca['VuNQk'],_0x20bb11=_0x174513?'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.';printBlock(_0x184be5(0x79)+_0x270847+_0x184be5(0x80)+_0x20bb11);return;}try{await _0x17bcca['qnEtu'](update);}catch{}_0x292565&&enableSession(_0x292565);const _0x951527=getCurrentBranch(),_0x252419=_0x951527&&_0x951527!=='main'&&_0x17bcca['CtWsU'](_0x951527,'master')?'\x0a\x0a**Branch\x20\x27'+_0x951527+_0x184be5(0x7f):'',_0x1ca994=getRangerSkillContent();_0x17bcca[_0x184be5(0x7a)](printBlock,_0x184be5(0x78)+_0x252419+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x1ca994+'\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
+ (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 +1 @@
1
- (function(_0x158491,_0x468061){const _0x26450b=_0x2d36,_0xd4e143=_0x158491();while(!![]){try{const _0x12f428=parseInt(_0x26450b(0x109))/0x1+-parseInt(_0x26450b(0x10d))/0x2+parseInt(_0x26450b(0x111))/0x3+parseInt(_0x26450b(0x10e))/0x4*(parseInt(_0x26450b(0x10f))/0x5)+parseInt(_0x26450b(0x110))/0x6+-parseInt(_0x26450b(0x10b))/0x7*(-parseInt(_0x26450b(0x10c))/0x8)+-parseInt(_0x26450b(0x10a))/0x9;if(_0x12f428===_0x468061)break;else _0xd4e143['push'](_0xd4e143['shift']());}catch(_0x3b1d00){_0xd4e143['push'](_0xd4e143['shift']());}}}(_0x5a43,0x1e66b));function _0x2d36(_0x1407c2,_0x2692b9){_0x1407c2=_0x1407c2-0x109;const _0x5a4365=_0x5a43();let _0x2d367c=_0x5a4365[_0x1407c2];return _0x2d367c;}function _0x5a43(){const _0x1b44a5=['202416PvkWJH','3086622pHDKsN','2191NsxiaJ','1752fUqLyY','244772wGwgIw','1112AUAnno','1200nrmJCk','231054gCAReT','641025WlIAEz','===\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==='];_0x5a43=function(){return _0x1b44a5;};return _0x5a43();}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x100dac){const _0x25401c=_0x2d36,_0x5e7691={'SEVTO':function(_0x269bd6,_0x4d8880){return _0x269bd6(_0x4d8880);},'ouuhy':function(_0x3a6e3e,_0x334a5f){return _0x3a6e3e(_0x334a5f);}},_0x2d343c=await _0x5e7691['SEVTO'](getEnabledSessionId,_0x100dac);if(!_0x2d343c)return;_0x5e7691['ouuhy'](printBlock,_0x25401c(0x112));}
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 +1 @@
1
- (function(_0x1b80e1,_0x3da482){var _0x4b5948=_0x2170,_0x5a1859=_0x1b80e1();while(!![]){try{var _0x1821aa=-parseInt(_0x4b5948(0xd2))/0x1+parseInt(_0x4b5948(0xcf))/0x2+parseInt(_0x4b5948(0xd1))/0x3+parseInt(_0x4b5948(0xd7))/0x4*(-parseInt(_0x4b5948(0xd3))/0x5)+parseInt(_0x4b5948(0xd4))/0x6*(parseInt(_0x4b5948(0xd8))/0x7)+parseInt(_0x4b5948(0xd6))/0x8*(-parseInt(_0x4b5948(0xd0))/0x9)+-parseInt(_0x4b5948(0xd5))/0xa;if(_0x1821aa===_0x3da482)break;else _0x5a1859['push'](_0x5a1859['shift']());}catch(_0x2139df){_0x5a1859['push'](_0x5a1859['shift']());}}}(_0x1b7e,0x65208));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';function _0x2170(_0x5f0ac5,_0x57c3ae){_0x5f0ac5=_0x5f0ac5-0xcf;var _0x1b7e69=_0x1b7e();var _0x2170fd=_0x1b7e69[_0x5f0ac5];return _0x2170fd;}function _0x1b7e(){var _0x13dfd3=['4lJXLpj','35XDCXPA','1239640Nrudym','18PalxML','1357413zGhxUd','279630URKxDp','60295ktLhgR','205374BWzrdn','2097190wFWNZT','1311248xlAMPE'];_0x1b7e=function(){return _0x13dfd3;};return _0x1b7e();}export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
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 +1 @@
1
- function _0x5b40(_0xfde229,_0x85ed6f){_0xfde229=_0xfde229-0xd7;const _0x2164a7=_0x2164();let _0x5b4000=_0x2164a7[_0xfde229];return _0x5b4000;}(function(_0x225749,_0x3ebd5c){const _0x2e27b0=_0x5b40,_0x4a84a8=_0x225749();while(!![]){try{const _0x4aabe1=parseInt(_0x2e27b0(0xe0))/0x1*(parseInt(_0x2e27b0(0xdb))/0x2)+-parseInt(_0x2e27b0(0xdd))/0x3+parseInt(_0x2e27b0(0xe4))/0x4*(parseInt(_0x2e27b0(0xdc))/0x5)+-parseInt(_0x2e27b0(0xe3))/0x6+parseInt(_0x2e27b0(0xd7))/0x7+-parseInt(_0x2e27b0(0xdf))/0x8+parseInt(_0x2e27b0(0xe5))/0x9;if(_0x4aabe1===_0x3ebd5c)break;else _0x4a84a8['push'](_0x4a84a8['shift']());}catch(_0x46fc89){_0x4a84a8['push'](_0x4a84a8['shift']());}}}(_0x2164,0x4fe04));import{isSessionEnabled}from'../utils/sessionCache.js';function _0x2164(){const _0x468ed8=['26735zZijoM','1100751TnMFeV','session_id','1902984xkeiWA','54GgiQBb','stdin','log','2754024OUtUSD','368OAOtPF','4609800hySIQo','1963612qwuKnn','JBlNx','fLbBE','trim','3938SHyhAl'];_0x2164=function(){return _0x468ed8;};return _0x2164();}export function printBlock(_0xfdaad2){const _0x257443=_0x5b40;console[_0x257443(0xe2)](_0xfdaad2);}export async function readHookInput(){const _0x565edf=_0x5b40;let _0x35c583='';try{for await(const _0x216ba0 of process[_0x565edf(0xe1)]){_0x35c583+=_0x216ba0;}}catch{return null;}if(!_0x35c583[_0x565edf(0xda)]())return null;try{return JSON['parse'](_0x35c583);}catch{return null;}}export async function getEnabledSessionId(_0x43e188){const _0x45f376=_0x5b40,_0x17c6d1={'JBlNx':function(_0x54d6ff,_0x52e45b){return _0x54d6ff(_0x52e45b);},'sHAIR':function(_0xc04132){return _0xc04132();},'MvEER':function(_0x36392d,_0x1ab245){return _0x36392d(_0x1ab245);}};if(_0x43e188)return _0x17c6d1[_0x45f376(0xd8)](isSessionEnabled,_0x43e188)?_0x43e188:null;const _0x4860ff=await _0x17c6d1['sHAIR'](readHookInput),_0x4194c7=_0x4860ff?.[_0x45f376(0xde)];if(!_0x4194c7||!_0x17c6d1['MvEER'](isSessionEnabled,_0x4194c7))return null;return _0x4194c7;}export async function getEnabledHookContext(_0x576767){const _0x619b9c=_0x5b40,_0x3a6b4b={'fLbBE':function(_0x141844){return _0x141844();}};if(_0x576767){if(!isSessionEnabled(_0x576767))return null;return{'sessionId':_0x576767,'input':{'session_id':_0x576767}};}const _0x3237e4=await _0x3a6b4b[_0x619b9c(0xd9)](readHookInput),_0x17f3a2=_0x3237e4?.[_0x619b9c(0xde)];if(!_0x17f3a2||!isSessionEnabled(_0x17f3a2))return null;return{'sessionId':_0x17f3a2,'input':_0x3237e4};}
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 +1 @@
1
- (function(_0x30ecb1,_0x482a6a){const _0x12daf8=_0x3c80,_0x58a586=_0x30ecb1();while(!![]){try{const _0x5d027a=-parseInt(_0x12daf8(0xdf))/0x1*(parseInt(_0x12daf8(0xd5))/0x2)+parseInt(_0x12daf8(0xd1))/0x3*(parseInt(_0x12daf8(0xdc))/0x4)+parseInt(_0x12daf8(0xdb))/0x5+-parseInt(_0x12daf8(0xd4))/0x6+parseInt(_0x12daf8(0xda))/0x7+-parseInt(_0x12daf8(0xd8))/0x8*(parseInt(_0x12daf8(0xd2))/0x9)+parseInt(_0x12daf8(0xe0))/0xa*(parseInt(_0x12daf8(0xd3))/0xb);if(_0x5d027a===_0x482a6a)break;else _0x58a586['push'](_0x58a586['shift']());}catch(_0x58788d){_0x58a586['push'](_0x58a586['shift']());}}}(_0x320c,0x1f1bd));function _0x320c(){const _0x1153a4=['sessionId','581528QYbjvb','permission_mode','306558DOucII','81585FmqyHH','28aSDdqN','input','===\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===','3574eHVmbk','70190LwxgrE','90855ZafJow','9iijWfC','627xOACeb','1309938AMFfFy','142ROpdLb','plan'];_0x320c=function(){return _0x1153a4;};return _0x320c();}function _0x3c80(_0x3d88a2,_0x24e114){_0x3d88a2=_0x3d88a2-0xd1;const _0x320cd9=_0x320c();let _0x3c8053=_0x320cd9[_0x3d88a2];return _0x3c8053;}import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x1c4104){const _0x5ba9ec=_0x3c80,_0x512f08={'Tmbgs':function(_0x29cbbe,_0x3a2501){return _0x29cbbe!==_0x3a2501;},'IdoKg':_0x5ba9ec(0xd6)},_0x53f412=await getEnabledHookContext(_0x1c4104);if(!_0x53f412)return;if(_0x512f08['Tmbgs'](_0x53f412[_0x5ba9ec(0xdd)][_0x5ba9ec(0xd9)],_0x512f08['IdoKg']))return;if(!shouldShowPlanReminder(_0x53f412[_0x5ba9ec(0xd7)]))return;printBlock(_0x5ba9ec(0xde));}
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 +1 @@
1
- function _0x430e(_0x40395d,_0x289a36){_0x40395d=_0x40395d-0x17d;const _0xd230bc=_0xd230();let _0x430e73=_0xd230bc[_0x40395d];return _0x430e73;}function _0xd230(){const _0x1da1ac=['56QSVDmQ','63080mkPybg','951224lSQwgF','QYkGv','===\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===','140357AIYJnE','850167yryiLt','1059046xcUoIX','1314795snzdig','6aEsBIQ','527075NKoTyM'];_0xd230=function(){return _0x1da1ac;};return _0xd230();}(function(_0x2395b8,_0x58b483){const _0x53e4e4=_0x430e,_0x5ce6f7=_0x2395b8();while(!![]){try{const _0x59df71=-parseInt(_0x53e4e4(0x187))/0x1+parseInt(_0x53e4e4(0x181))/0x2+parseInt(_0x53e4e4(0x182))/0x3+-parseInt(_0x53e4e4(0x186))/0x4+-parseInt(_0x53e4e4(0x184))/0x5+-parseInt(_0x53e4e4(0x183))/0x6*(-parseInt(_0x53e4e4(0x17f))/0x7)+-parseInt(_0x53e4e4(0x185))/0x8*(-parseInt(_0x53e4e4(0x180))/0x9);if(_0x59df71===_0x58b483)break;else _0x5ce6f7['push'](_0x5ce6f7['shift']());}catch(_0x4aba19){_0x5ce6f7['push'](_0x5ce6f7['shift']());}}}(_0xd230,0x8cc9f));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x23cbeb){const _0x5b40a5=_0x430e,_0x72cbe6={'QYkGv':function(_0x2ce543,_0x374a12){return _0x2ce543(_0x374a12);}},_0x578542=await getEnabledSessionId(_0x23cbeb);if(!_0x578542)return;_0x72cbe6[_0x5b40a5(0x17d)](printBlock,_0x5b40a5(0x17e));}
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 +1 @@
1
- (function(_0x3a25b7,_0x1ad979){const _0x2259e7=_0x5518,_0x18d3ba=_0x3a25b7();while(!![]){try{const _0x1fde71=parseInt(_0x2259e7(0x170))/0x1*(-parseInt(_0x2259e7(0x17a))/0x2)+-parseInt(_0x2259e7(0x179))/0x3*(-parseInt(_0x2259e7(0x16e))/0x4)+parseInt(_0x2259e7(0x17e))/0x5*(parseInt(_0x2259e7(0x171))/0x6)+-parseInt(_0x2259e7(0x172))/0x7*(-parseInt(_0x2259e7(0x176))/0x8)+parseInt(_0x2259e7(0x177))/0x9+-parseInt(_0x2259e7(0x17c))/0xa+parseInt(_0x2259e7(0x178))/0xb*(-parseInt(_0x2259e7(0x16f))/0xc);if(_0x1fde71===_0x1ad979)break;else _0x18d3ba['push'](_0x18d3ba['shift']());}catch(_0x53fa4d){_0x18d3ba['push'](_0x18d3ba['shift']());}}}(_0x3ff8,0xa327a));function _0x5518(_0x50e37f,_0x409d27){_0x50e37f=_0x50e37f-0x16e;const _0x3ff87f=_0x3ff8();let _0x551866=_0x3ff87f[_0x50e37f];return _0x551866;}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0x3ff8(){const _0x383434=['6870860ZmUdbO','YbFqw','1250305fbtbnu','4954484yYhmyK','36yeMOGU','1dDBWKD','18CZGKhI','6656216SrmAeQ','log','RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).','RHHkz','8uvgSUy','6463989CHirRb','5120742GXSkqt','3SNQVXx','1811958aMCBGA','PostToolUse'];_0x3ff8=function(){return _0x383434;};return _0x3ff8();}import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x17d96b){const _0x93d39b=_0x5518,_0x522792={'YbFqw':function(_0x1d0838,_0xc1f576){return _0x1d0838(_0xc1f576);},'RHHkz':function(_0x190910){return _0x190910();}},_0xbbfeb8=await _0x522792[_0x93d39b(0x17d)](getEnabledSessionId,_0x17d96b);if(!_0xbbfeb8)return;updateBranchTracking(_0xbbfeb8);const _0x23269e=await _0x522792[_0x93d39b(0x175)](getToken);if(!_0x23269e)return;const _0x29cada=getSessionEntry(_0xbbfeb8);if(_0x29cada){const _0x225246={'hookSpecificOutput':{'hookEventName':_0x93d39b(0x17b),'additionalContext':_0x93d39b(0x174)}};console[_0x93d39b(0x173)](JSON['stringify'](_0x225246));return;}const _0x10589c={'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[_0x93d39b(0x173)](JSON['stringify'](_0x10589c));}
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 +1 @@
1
- (function(_0x1dcaf0,_0x1d89f7){const _0x2121b8=_0x3325,_0x160313=_0x1dcaf0();while(!![]){try{const _0x2a58fd=parseInt(_0x2121b8(0xaa))/0x1+parseInt(_0x2121b8(0xab))/0x2*(-parseInt(_0x2121b8(0xaf))/0x3)+-parseInt(_0x2121b8(0xa2))/0x4+-parseInt(_0x2121b8(0xa8))/0x5*(parseInt(_0x2121b8(0xa6))/0x6)+parseInt(_0x2121b8(0xa3))/0x7*(parseInt(_0x2121b8(0xac))/0x8)+-parseInt(_0x2121b8(0xa5))/0x9*(-parseInt(_0x2121b8(0xa4))/0xa)+parseInt(_0x2121b8(0xa7))/0xb*(parseInt(_0x2121b8(0xad))/0xc);if(_0x2a58fd===_0x1d89f7)break;else _0x160313['push'](_0x160313['shift']());}catch(_0x10c033){_0x160313['push'](_0x160313['shift']());}}}(_0x3ac8,0x5272d));import{getToken}from'../utils/keychain.js';function _0x3ac8(){const _0xbe55bb=['588384KevjDo','2hiflGj','8szEBSf','1388796ldfDys','TEXUW','492954XpyfRR','2558100giOBoN','2328795CzPbKU','346090FHcGqR','63LqOpgf','759738IoMhlE','22GhWBUa','10JKpLoA','===\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`.'];_0x3ac8=function(){return _0xbe55bb;};return _0x3ac8();}import{printBlock,getEnabledSessionId}from'./output.js';function _0x3325(_0xfb4797,_0x409400){_0xfb4797=_0xfb4797-0xa2;const _0x3ac8bf=_0x3ac8();let _0x332580=_0x3ac8bf[_0xfb4797];return _0x332580;}export async function preCompact(_0x805256){const _0x4c84ed=_0x3325,_0x3feac9={'TEXUW':function(_0x48f05b,_0x2466d3){return _0x48f05b(_0x2466d3);}},_0x4f9f19=await getEnabledSessionId(_0x805256);if(!_0x4f9f19)return;try{const _0x5264f3=await getToken();if(!_0x5264f3)return;_0x3feac9[_0x4c84ed(0xae)](printBlock,_0x4c84ed(0xa9));}catch{}}
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 +1 @@
1
- (function(_0x28993a,_0xe5f04f){const _0xcc7719=_0x2869,_0x49120a=_0x28993a();while(!![]){try{const _0x22c504=parseInt(_0xcc7719(0xbc))/0x1*(-parseInt(_0xcc7719(0xbe))/0x2)+parseInt(_0xcc7719(0xb9))/0x3+parseInt(_0xcc7719(0xc2))/0x4+-parseInt(_0xcc7719(0xb7))/0x5*(-parseInt(_0xcc7719(0xbd))/0x6)+-parseInt(_0xcc7719(0xc0))/0x7*(-parseInt(_0xcc7719(0xc3))/0x8)+-parseInt(_0xcc7719(0xb8))/0x9+parseInt(_0xcc7719(0xbf))/0xa*(-parseInt(_0xcc7719(0xc5))/0xb);if(_0x22c504===_0xe5f04f)break;else _0x49120a['push'](_0x49120a['shift']());}catch(_0x409422){_0x49120a['push'](_0x49120a['shift']());}}}(_0x3f89,0x3f8b4));function _0x2869(_0x2dd0cf,_0x483d47){_0x2dd0cf=_0x2dd0cf-0xb7;const _0x3f891f=_0x3f89();let _0x286951=_0x3f891f[_0x2dd0cf];return _0x286951;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0x3f89(){const _0x210e88=['TZrGd','reason','38951SWurrE','1239846DxwJcF','16eYLQeK','58820MXtSAm','14OsStlZ','env','632488RGkvRA','221528vjxlxX','clear','77tNmnEd','10lgHZlu','3780171PtbKVx','1218873AdCRnH'];_0x3f89=function(){return _0x210e88;};return _0x3f89();}import{readHookInput}from'./output.js';export async function sessionEnd(_0x4e3969){const _0x18bfce=_0x2869,_0xab8ff2={'EuglI':_0x18bfce(0xc4),'TZrGd':function(_0x19c381,_0xa6f2d1){return _0x19c381(_0xa6f2d1);}},_0x18cce3=process[_0x18bfce(0xc1)]['CLAUDE_SESSION_ID'];let _0x2aec18=_0x4e3969,_0x70996a;if(!_0x4e3969){if(_0x18cce3&&!isSessionEnabled(_0x18cce3))return;const _0x493a31=await readHookInput();_0x2aec18=_0x493a31?.['session_id']||_0x18cce3,_0x70996a=_0x493a31?.[_0x18bfce(0xbb)];}if(!_0x2aec18)return;_0x70996a===_0xab8ff2['EuglI']&&_0xab8ff2[_0x18bfce(0xba)](recordEnabledSessionCleared,_0x2aec18);}
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 +1 @@
1
- const _0x4f43c2=_0x3813;function _0x3813(_0x215890,_0x102678){_0x215890=_0x215890-0x10b;const _0x586d26=_0x586d();let _0x381352=_0x586d26[_0x215890];return _0x381352;}(function(_0x2dfd56,_0xe2210c){const _0x434df3=_0x3813,_0x3efa15=_0x2dfd56();while(!![]){try{const _0x3b43c5=parseInt(_0x434df3(0x113))/0x1+-parseInt(_0x434df3(0x117))/0x2+-parseInt(_0x434df3(0x112))/0x3*(-parseInt(_0x434df3(0x118))/0x4)+parseInt(_0x434df3(0x125))/0x5*(parseInt(_0x434df3(0x11a))/0x6)+-parseInt(_0x434df3(0x123))/0x7*(parseInt(_0x434df3(0x11b))/0x8)+-parseInt(_0x434df3(0x110))/0x9*(-parseInt(_0x434df3(0x10b))/0xa)+-parseInt(_0x434df3(0x115))/0xb*(parseInt(_0x434df3(0x10c))/0xc);if(_0x3b43c5===_0xe2210c)break;else _0x3efa15['push'](_0x3efa15['shift']());}catch(_0x49b2d2){_0x3efa15['push'](_0x3efa15['shift']());}}}(_0x586d,0x5f110));import{appendFile}from'fs/promises';function _0x586d(){const _0x503112=['=================================================================\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=================================================================','WlKlD','252MgyiVI','source','3zVOHPs','340473tInWHk','eRnnv','93423GSVVrX','master','450918UAesHl','1467084qpwBwk','ZLLlB','4482510LyzRCI','406936fFHZyU','trackCommandEnd','EgFgY','export\x20CLAUDE_SESSION_ID=\x22','parse','SessionStart','env','stdin','7miinnl','hook:session-start','5cUkxST','stringify','oeCHf','139970rfGBBj','1668tRqfHN','main'];_0x586d=function(){return _0x503112;};return _0x586d();}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=_0x4f43c2(0x10e);export async function sessionStart(_0x2d3b85){const _0x56195a=_0x4f43c2,_0x1f84ad={'WlKlD':function(_0x31bc45,_0x2105b6){return _0x31bc45||_0x2105b6;},'eRnnv':function(_0x230245){return _0x230245();},'ZLLlB':function(_0x55a3f1,_0x4576d8){return _0x55a3f1===_0x4576d8;},'YyUrE':function(_0xb57f5c){return _0xb57f5c();},'EgFgY':function(_0x3ebde2,_0x4b23e2){return _0x3ebde2(_0x4b23e2);},'vTUGd':'success','kxcmw':function(_0x44d381,_0x50d734){return _0x44d381!==_0x50d734;},'cqQDF':_0x56195a(0x10d),'jZayW':_0x56195a(0x116),'oeCHf':_0x56195a(0x120)};let _0x424390=_0x1f84ad[_0x56195a(0x10f)](_0x2d3b85,''),_0x35dae4;if(!_0x2d3b85){let _0x41537f='';for await(const _0x1c8a64 of process[_0x56195a(0x122)]){_0x41537f+=_0x1c8a64;}try{const _0x36fe19=JSON[_0x56195a(0x11f)](_0x41537f);_0x424390=_0x36fe19['session_id']||'',_0x35dae4=_0x36fe19[_0x56195a(0x111)];}catch{}const _0x4c47a3=process[_0x56195a(0x121)]['CLAUDE_ENV_FILE'];if(_0x4c47a3&&_0x424390)try{await appendFile(_0x4c47a3,_0x56195a(0x11e)+_0x424390+'\x22\x0a');}catch{}}try{await _0x1f84ad[_0x56195a(0x114)](getToken);}catch{}if(_0x424390){shouldAutoEnableAfterClear(_0x35dae4)&&autoEnableAfterClear(_0x424390);initBranchTracking(_0x424390);_0x1f84ad[_0x56195a(0x119)](_0x1f84ad['YyUrE'](resolveHookMode),'on')&&_0x1f84ad[_0x56195a(0x11d)](enableSession,_0x424390);const _0x28c44d=isSessionEnabled(_0x424390);try{const _0xc580eb=createTelemetryCollector(_0x56195a(0x124));await _0xc580eb['trackCommandStart']({'sessionId':_0x424390,'hooksEnabled':_0x28c44d}),await _0xc580eb[_0x56195a(0x11c)](_0x1f84ad['vTUGd']);}catch{}if(_0x28c44d){const _0xecc9ea=getCurrentBranch(),_0x5043db=_0xecc9ea&&_0x1f84ad['kxcmw'](_0xecc9ea,_0x1f84ad['cqQDF'])&&_0xecc9ea!==_0x1f84ad['jZayW']?'\x20(Branch:\x20'+_0xecc9ea+')':'',_0x5e2ea9={'hookSpecificOutput':{'hookEventName':_0x1f84ad[_0x56195a(0x127)],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x5043db}};console['log'](JSON[_0x56195a(0x126)](_0x5e2ea9));}}}
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 +1 @@
1
- function _0x2a41(){const _0x567a63=['featureId','some','1531316vHISSC','2054056VgZFjy','1491015KbIZHP','1279412fJTjbS','trackCommandEnd','https://dashboard.ranger.net/features/','Stop','MFcYx','stringify','1584480TPvibA','verification_in_progress','5647476VXsEAg','verified','98SZWqwD','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','closed','success','1313565vFwkqv','blocked','status','hook:stop','sessionId'];_0x2a41=function(){return _0x567a63;};return _0x2a41();}function _0x3444(_0x38302,_0x3feba6){_0x38302=_0x38302-0xff;const _0x2a417e=_0x2a41();let _0x34448b=_0x2a417e[_0x38302];return _0x34448b;}(function(_0x470929,_0x50d871){const _0xf67ddc=_0x3444,_0x2ec741=_0x470929();while(!![]){try{const _0x9deb35=-parseInt(_0xf67ddc(0x114))/0x1+-parseInt(_0xf67ddc(0x112))/0x2+parseInt(_0xf67ddc(0x10a))/0x3+parseInt(_0xf67ddc(0x111))/0x4+parseInt(_0xf67ddc(0x113))/0x5+-parseInt(_0xf67ddc(0x104))/0x6+-parseInt(_0xf67ddc(0x106))/0x7*(-parseInt(_0xf67ddc(0x102))/0x8);if(_0x9deb35===_0x50d871)break;else _0x2ec741['push'](_0x2ec741['shift']());}catch(_0xe5ad02){_0x2ec741['push'](_0x2ec741['shift']());}}}(_0x2a41,0x9d3c9));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(_0x56e178){const _0x294c7e=_0x3444,_0x18cf04={'UrmkF':function(_0x54608d,_0x3a0387){return _0x54608d(_0x3a0387);},'MFcYx':function(_0x4c9463,_0x53df37,_0x5f04a3,_0x7913ae){return _0x4c9463(_0x53df37,_0x5f04a3,_0x7913ae);},'eietF':function(_0x3a2b34){return _0x3a2b34();},'hkWnb':function(_0x2afff1,_0x3f6bc3,_0x1e1e16){return _0x2afff1(_0x3f6bc3,_0x1e1e16);}},_0x464580=await _0x18cf04['UrmkF'](getEnabledHookContext,_0x56e178),_0x55e2f1=_0x464580?.['sessionId']??null;let _0xdcf5c5=!![];if(!_0x55e2f1){await trackStop(_0x55e2f1,![],_0xdcf5c5);return;}try{const _0x4d42a0=getSessionEntry(_0x55e2f1);if(!_0x4d42a0){await _0x18cf04[_0x294c7e(0x100)](trackStop,_0x55e2f1,!![],_0xdcf5c5);return;}const _0x496ef3=await _0x18cf04['eietF'](getToken),_0x3d927e=_0x294c7e(0x116)+_0x4d42a0['featureId'];let _0x226c52=null,_0x44f166=![],_0x4562f0=![];if(_0x496ef3)try{const _0xd23511=await _0x18cf04['UrmkF'](getFeature,_0x4d42a0[_0x294c7e(0x10f)]);_0x226c52=_0xd23511['currentSessionId']??null;const _0x2d9d98=_0xd23511['checklistItems']['filter'](_0x5dc754=>_0x5dc754[_0x294c7e(0x10e)]===_0x226c52);_0x44f166=_0x2d9d98[_0x294c7e(0x110)](_0xb14c27=>_0xb14c27['status']!==_0x294c7e(0x105)&&_0xb14c27[_0x294c7e(0x10c)]!==_0x294c7e(0x10b)&&_0xb14c27['status']!==_0x294c7e(0x108)&&_0xb14c27['status']!=='incomplete'),_0x4562f0=_0x2d9d98['some'](_0x2884ee=>_0x2884ee['status']===_0x294c7e(0x103));}catch{}if(_0x496ef3&&_0x226c52&&_0x44f166){if(!_0x4562f0&&shouldShowStopReminder(_0x55e2f1)){const _0x3ae530={'hookSpecificOutput':{'hookEventName':_0x294c7e(0xff),'additionalContext':_0x294c7e(0x107)+_0x3d927e}};console['log'](JSON[_0x294c7e(0x101)](_0x3ae530));}}if(_0x496ef3&&_0x226c52&&!_0x44f166)try{await _0x18cf04['hkWnb'](concludeSession,_0x4d42a0[_0x294c7e(0x10f)],_0x226c52);}catch{}await trackStop(_0x55e2f1,!![],_0xdcf5c5);return;}catch{await trackStop(_0x55e2f1,!![],_0xdcf5c5);return;}}async function trackStop(_0x12d156,_0x3fce1d,_0x5919b5){const _0xe99729=_0x3444,_0x265112={'isgKv':function(_0x9c275a,_0x5cad03){return _0x9c275a(_0x5cad03);},'MykfX':function(_0x25d63c,_0x3c5fdf){return _0x25d63c??_0x3c5fdf;}};try{const _0x5550f6=_0x265112['isgKv'](createTelemetryCollector,_0xe99729(0x10d));await _0x5550f6['trackCommandStart']({'sessionId':_0x265112['MykfX'](_0x12d156,undefined),'hooksEnabled':_0x3fce1d,'stopAllowed':_0x5919b5}),await _0x5550f6[_0xe99729(0x115)](_0xe99729(0x109));}catch{}}
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 +1 @@
1
- (function(_0xff026e,_0x34128c){var _0x5ca277=_0xa6fc,_0x419353=_0xff026e();while(!![]){try{var _0x368fea=-parseInt(_0x5ca277(0x1a4))/0x1*(-parseInt(_0x5ca277(0x1a9))/0x2)+parseInt(_0x5ca277(0x1a1))/0x3*(-parseInt(_0x5ca277(0x1a3))/0x4)+-parseInt(_0x5ca277(0x1a8))/0x5+-parseInt(_0x5ca277(0x1a7))/0x6+-parseInt(_0x5ca277(0x1a5))/0x7+parseInt(_0x5ca277(0x1a6))/0x8+parseInt(_0x5ca277(0x1a0))/0x9*(parseInt(_0x5ca277(0x1a2))/0xa);if(_0x368fea===_0x34128c)break;else _0x419353['push'](_0x419353['shift']());}catch(_0x2c0b01){_0x419353['push'](_0x419353['shift']());}}}(_0x30b9,0xd635f));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';function _0xa6fc(_0x55e7be,_0x42325f){_0x55e7be=_0x55e7be-0x1a0;var _0x30b9bc=_0x30b9();var _0xa6fc0b=_0x30b9bc[_0x55e7be];return _0xa6fc0b;}export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';function _0x30b9(){var _0x5f4bf2=['19PmAfSF','4020562zMXnBE','1358960khywEU','10495932tbzpJH','6990070vTKbiI','102792ASwlHq','47583OMzFhP','681111aWsKVB','6960qJjFhl','4kckPGk'];_0x30b9=function(){return _0x5f4bf2;};return _0x30b9();}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';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
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';