@ranger-testing/ranger-cli 2.5.4-alpha.0e8b82c-9 → 2.5.4-alpha.27e3ee8-11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/mcpBootstrap.js +1 -1
  25. package/build/commands/migrateProfile.js +1 -1
  26. package/build/commands/setup/claude.js +1 -1
  27. package/build/commands/setup/opencode.js +1 -1
  28. package/build/commands/setupCi.js +1 -1
  29. package/build/commands/skillup.js +1 -1
  30. package/build/commands/start.js +1 -1
  31. package/build/commands/status.js +1 -1
  32. package/build/commands/update.js +1 -1
  33. package/build/commands/updateEnv.js +1 -1
  34. package/build/commands/useEnv.js +1 -1
  35. package/build/commands/utils/activeProfile.js +1 -1
  36. package/build/commands/utils/agentEnv.js +1 -1
  37. package/build/commands/utils/browserSessionsApi.js +1 -1
  38. package/build/commands/utils/claudeConfig.js +1 -1
  39. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  40. package/build/commands/utils/claudePlugin.js +1 -1
  41. package/build/commands/utils/cloudProfile.js +1 -1
  42. package/build/commands/utils/cloudProfileSession.js +1 -1
  43. package/build/commands/utils/crypto.js +1 -1
  44. package/build/commands/utils/desirePathLog.js +1 -1
  45. package/build/commands/utils/deviceAuth.js +1 -1
  46. package/build/commands/utils/environment.js +1 -1
  47. package/build/commands/utils/featureApi.js +1 -1
  48. package/build/commands/utils/fixWebmDuration.js +1 -1
  49. package/build/commands/utils/gitTracked.js +1 -1
  50. package/build/commands/utils/keychain.js +1 -1
  51. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  52. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  53. package/build/commands/utils/mcpImageBase64.js +1 -1
  54. package/build/commands/utils/model.js +1 -1
  55. package/build/commands/utils/opencodeConfig.js +1 -1
  56. package/build/commands/utils/playwrightCli.js +1 -1
  57. package/build/commands/utils/profileMessages.js +1 -1
  58. package/build/commands/utils/profileSetupBanner.js +1 -1
  59. package/build/commands/utils/projectsConfig.js +1 -1
  60. package/build/commands/utils/rangerConfig.js +1 -1
  61. package/build/commands/utils/rangerRoot.js +1 -1
  62. package/build/commands/utils/resolveProfileContext.js +1 -1
  63. package/build/commands/utils/resolveProfileUrl.js +1 -1
  64. package/build/commands/utils/retry.js +1 -1
  65. package/build/commands/utils/sessionCache.js +1 -1
  66. package/build/commands/utils/settings.js +1 -1
  67. package/build/commands/utils/skillContent.js +1 -1
  68. package/build/commands/utils/skills.js +1 -1
  69. package/build/commands/utils/stitchWebmFiles.js +1 -1
  70. package/build/commands/utils/telemetry.js +1 -1
  71. package/build/commands/utils/tokenRefresh.js +1 -1
  72. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  73. package/build/commands/utils/userApi.js +1 -1
  74. package/build/commands/utils/version.js +1 -1
  75. package/build/commands/verifyFeature.js +1 -1
  76. package/build/commands/verifyFeatureCli.js +1 -1
  77. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x17148e,_0xb1c35c){const _0x4e5652=_0x3e12,_0x45134b=_0x17148e();while(!![]){try{const _0x4b4ca0=-parseInt(_0x4e5652(0x27a))/0x1*(-parseInt(_0x4e5652(0x26d))/0x2)+parseInt(_0x4e5652(0x26f))/0x3+parseInt(_0x4e5652(0x250))/0x4+parseInt(_0x4e5652(0x1f7))/0x5*(parseInt(_0x4e5652(0x202))/0x6)+parseInt(_0x4e5652(0x244))/0x7*(parseInt(_0x4e5652(0x20e))/0x8)+-parseInt(_0x4e5652(0x24e))/0x9+parseInt(_0x4e5652(0x249))/0xa*(-parseInt(_0x4e5652(0x24a))/0xb);if(_0x4b4ca0===_0xb1c35c)break;else _0x45134b['push'](_0x45134b['shift']());}catch(_0x1adc57){_0x45134b['push'](_0x45134b['shift']());}}}(_0x234a,0xe79a0));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x2dd850 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';function _0x3e12(_0x28964a,_0x11cd85){_0x28964a=_0x28964a-0x1ae;const _0x234a09=_0x234a();let _0x3e12e7=_0x234a09[_0x28964a];return _0x3e12e7;}import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x570b35=>'\x1b[1m'+_0x570b35+'\x1b[0m';function getGitRepoUrl(){const _0x77d073=_0x3e12,_0x3c980f={'Xvstz':function(_0x3fc4e0,_0x53f965,_0x3f7e27){return _0x3fc4e0(_0x53f965,_0x3f7e27);},'NxMmL':'git\x20remote\x20get-url\x20origin','vlvjc':_0x77d073(0x280)};try{const _0x3bbe8e=_0x3c980f[_0x77d073(0x1d5)](execSync,_0x3c980f[_0x77d073(0x24d)],{'encoding':_0x77d073(0x1dd),'stdio':[_0x3c980f[_0x77d073(0x287)],_0x3c980f[_0x77d073(0x287)],_0x3c980f['vlvjc']]})[_0x77d073(0x262)]();return _0x3bbe8e['replace'](/\.git$/,'')['replace'](/^git@github\.com:/,_0x77d073(0x24b))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x596914=_0x3e12,_0x53efd8={'WqabW':function(_0xc276b9,_0x3567af,_0x3a9948){return _0xc276b9(_0x3567af,_0x3a9948);},'NcpZn':_0x596914(0x1dd),'LQelt':_0x596914(0x280)};try{return _0x53efd8['WqabW'](execSync,_0x596914(0x21c),{'encoding':_0x53efd8['NcpZn'],'stdio':[_0x53efd8[_0x596914(0x1b3)],_0x596914(0x280),'pipe']})['trim']();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x42102d=_0x3e12,_0x58fc5c={'nZVSO':function(_0x550245,_0x162c4b,_0x3864e0){return _0x550245(_0x162c4b,_0x3864e0);},'iSySu':function(_0x57b6ac){return _0x57b6ac();},'AoIdi':function(_0xae3e84,_0x371689){return _0xae3e84(_0x371689);}},_0x272b9c=_0x58fc5c['nZVSO'](join,_0x58fc5c['iSySu'](getRangerDir),ACTIVE_FEATURE_FILE);if(!_0x58fc5c[_0x42102d(0x1b0)](existsSync,_0x272b9c))return null;try{const _0x2574e4=await _0x58fc5c['nZVSO'](readFile,_0x272b9c,'utf-8');return _0x2574e4[_0x42102d(0x262)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x481549){const _0x181ce3=_0x3e12,_0x3615a0={'gdmKf':function(_0xf4f0d9){return _0xf4f0d9();},'bNMQM':function(_0x36fcc4,_0x17c251,_0xe9bb68){return _0x36fcc4(_0x17c251,_0xe9bb68);},'EkdAz':function(_0x20d044,_0x5b4c58,_0x131d51,_0x70c762){return _0x20d044(_0x5b4c58,_0x131d51,_0x70c762);}},_0x470923=_0x3615a0['gdmKf'](getRangerDir),_0x1da3ea=join(_0x470923,ACTIVE_FEATURE_FILE);!existsSync(_0x470923)&&await _0x3615a0['bNMQM'](mkdir,_0x470923,{'recursive':!![]}),await _0x3615a0[_0x181ce3(0x258)](writeFile,_0x1da3ea,_0x481549,_0x181ce3(0x1dd));}function getProgressDisplay(_0x12f79f){const _0x18bafe=_0x3e12,_0xd61c1a={'wfjSa':function(_0x48eb0c,_0x4d7411){return _0x48eb0c+_0x4d7411;},'ifLFB':function(_0x3f3a10,_0xcf532b){return _0x3f3a10===_0xcf532b;},'hlxFA':function(_0xa2adbf,_0x58627c){return _0xa2adbf*_0x58627c;},'NWLSg':function(_0x36b0bf,_0x27e3fa){return _0x36b0bf/_0x27e3fa;},'nfiGI':function(_0x3daffe,_0x54287c){return _0x3daffe-_0x54287c;},'XKUdZ':function(_0x3a2f14,_0x19dc8a){return _0x3a2f14>_0x19dc8a;},'OQGkk':function(_0x35e485,_0x4572d1){return _0x35e485>_0x4572d1;}},_0x2b245c=_0x12f79f[_0x18bafe(0x1fe)]||0x0,_0x5429c5=_0x12f79f['verificationInProgressItems']||0x0,_0x160924=_0x12f79f[_0x18bafe(0x1bc)]||0x0,_0x1c1eee=_0x12f79f['incompleteItems']||0x0,_0xe7c52=_0x12f79f[_0x18bafe(0x23d)]||0x0,_0x55c4b1=_0xd61c1a['wfjSa'](_0x2b245c+_0x5429c5+_0x160924,_0x1c1eee)+_0xe7c52;if(_0xd61c1a['ifLFB'](_0x55c4b1,0x0))return'-';const _0x1d2b2e=0xa,_0x58e311=Math['round'](_0xd61c1a[_0x18bafe(0x1c7)](_0xd61c1a[_0x18bafe(0x1f6)](_0x2b245c,_0x55c4b1),_0x1d2b2e)),_0x14e331='█'[_0x18bafe(0x22d)](_0x58e311)+'░'['repeat'](_0xd61c1a['nfiGI'](_0x1d2b2e,_0x58e311)),_0x51575c=[];if(_0x160924>0x0)_0x51575c[_0x18bafe(0x1af)](_0x160924+_0x18bafe(0x209));if(_0xd61c1a['XKUdZ'](_0x1c1eee,0x0))_0x51575c[_0x18bafe(0x1af)](_0x1c1eee+'\x20incomplete');if(_0x5429c5>0x0)_0x51575c['push'](_0x5429c5+_0x18bafe(0x253));const _0x584f93=_0xd61c1a[_0x18bafe(0x1df)](_0x51575c[_0x18bafe(0x236)],0x0)?'\x20('+_0x51575c['join'](',\x20')+')':'';return _0x14e331+'\x20'+_0x2b245c+'/'+_0x55c4b1+'\x20verified'+_0x584f93;}function getCurrentSessionItems(_0x4d80ad,_0x2c2f22){const _0x3f0b94=_0x3e12;if(!_0x4d80ad[_0x3f0b94(0x205)])return _0x2c2f22[_0x3f0b94(0x234)](_0x3fa947=>!_0x3fa947[_0x3f0b94(0x1f9)]);return _0x2c2f22[_0x3f0b94(0x234)](_0x4699e6=>_0x4699e6['sessionId']===_0x4d80ad[_0x3f0b94(0x205)]||!_0x4699e6[_0x3f0b94(0x1f9)]);}function displayFeature(_0x536ad1,_0x2541b7){const _0x41f6cd=_0x3e12,_0xdb3889={'FBlpg':function(_0x3a25d8,_0x2502be){return _0x3a25d8(_0x2502be);},'vJFWO':function(_0x32f200,_0x3b524f){return _0x32f200>_0x3b524f;},'dYcfb':'\x0a\x20\x20\x20Scenarios:','MVBIA':function(_0x4f4b1f,_0x43f9ec){return _0x4f4b1f===_0x43f9ec;},'gQTEq':_0x41f6cd(0x286),'yABjF':_0x41f6cd(0x22c),'ZrvPq':_0x41f6cd(0x25a),'zNMdr':function(_0x1789ef,_0x4f9fe6){return _0x1789ef===_0x4f9fe6;},'NJTqe':'incomplete','DFnDl':function(_0x3de50f,_0x3469ad){return _0x3de50f===_0x3469ad;},'uiUrI':function(_0x5112ac,_0x35ca1e){return _0x5112ac===_0x35ca1e;},'guIPJ':_0x41f6cd(0x21a),'VmWRW':function(_0x3451f7,_0x4d677e){return _0x3451f7>_0x4d677e;},'Tzgog':function(_0x4a1e80,_0x34223b){return _0x4a1e80!==_0x34223b;},'WnSvs':function(_0x293450,_0x3ddbfe){return _0x293450+_0x3ddbfe;},'Bijhb':_0x41f6cd(0x1cf)};console[_0x41f6cd(0x23f)]('\x0a'+_0x536ad1['name']+'\x20('+_0x536ad1[_0x41f6cd(0x240)]+')');_0x536ad1[_0x41f6cd(0x24c)]&&console['log'](_0x41f6cd(0x1c2)+_0xdb3889[_0x41f6cd(0x1ec)](getProgressDisplay,_0x536ad1['stats']));_0x536ad1[_0x41f6cd(0x1bf)]&&console[_0x41f6cd(0x23f)](_0x41f6cd(0x207)+_0x536ad1[_0x41f6cd(0x1bf)]);_0x536ad1['gitRepoUrl']&&console['log']('\x20\x20\x20Repository:\x20'+_0x536ad1[_0x41f6cd(0x272)]);_0x536ad1['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x536ad1[_0x41f6cd(0x227)]);console[_0x41f6cd(0x23f)](_0x41f6cd(0x1e1)+new Date(_0x536ad1[_0x41f6cd(0x25e)])[_0x41f6cd(0x1ce)]());_0x536ad1['completedAt']&&console[_0x41f6cd(0x23f)](_0x41f6cd(0x239)+new Date(_0x536ad1['completedAt'])['toLocaleString']());if(_0x2541b7&&_0xdb3889[_0x41f6cd(0x225)](_0x2541b7[_0x41f6cd(0x236)],0x0)){console[_0x41f6cd(0x23f)](_0xdb3889['dYcfb']);for(let _0x41ff65=0x0;_0x41ff65<_0x2541b7[_0x41f6cd(0x236)];_0x41ff65++){const _0x5e1c20=_0x2541b7[_0x41ff65];let _0x1bc5d5;if(_0xdb3889[_0x41f6cd(0x26c)](_0x5e1c20['status'],_0xdb3889[_0x41f6cd(0x248)])&&_0x5e1c20['terminalReason']===_0xdb3889['yABjF'])_0x1bc5d5='✅';else{if(_0x5e1c20[_0x41f6cd(0x229)]===_0xdb3889['ZrvPq'])_0x1bc5d5='🟢';else{if(_0xdb3889[_0x41f6cd(0x27e)](_0x5e1c20['status'],_0xdb3889['NJTqe']))_0x1bc5d5='🟠';else{if(_0xdb3889['DFnDl'](_0x5e1c20[_0x41f6cd(0x229)],_0x41f6cd(0x1cf)))_0x1bc5d5='🛑';else{if(_0x5e1c20[_0x41f6cd(0x229)]===_0x41f6cd(0x286))_0x1bc5d5='⛔';else _0xdb3889['uiUrI'](_0x5e1c20['status'],_0xdb3889[_0x41f6cd(0x218)])?_0x1bc5d5='⏳':_0x1bc5d5='⬜';}}}}const _0x18bde7=_0xdb3889[_0x41f6cd(0x24f)](_0x5e1c20['version'],0x1)?'\x20(v'+_0x5e1c20[_0x41f6cd(0x27d)]+')':'',_0x45c2d3=_0x5e1c20['version']>0x1&&_0x5e1c20['parentItemId']&&_0x5e1c20[_0x41f6cd(0x229)]!=='closed'&&_0xdb3889['Tzgog'](_0x5e1c20['status'],_0xdb3889['ZrvPq'])?'\x20[has\x20reviewer\x20feedback]':'';console['log']('\x20\x20\x20'+_0xdb3889['WnSvs'](_0x41ff65,0x1)+'.\x20'+_0x1bc5d5+'\x20'+_0x5e1c20[_0x41f6cd(0x1bf)]+_0x18bde7+_0x45c2d3);_0x5e1c20[_0x41f6cd(0x229)]===_0xdb3889['Bijhb']&&_0x5e1c20[_0x41f6cd(0x222)]&&console[_0x41f6cd(0x23f)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x5e1c20[_0x41f6cd(0x222)]);_0x5e1c20['status']===_0xdb3889[_0x41f6cd(0x211)]&&_0x5e1c20['incompleteReason']&&console[_0x41f6cd(0x23f)]('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x5e1c20[_0x41f6cd(0x1cc)]);if(_0x5e1c20[_0x41f6cd(0x229)]===_0x41f6cd(0x286)&&_0x5e1c20[_0x41f6cd(0x204)]==='approved')console[_0x41f6cd(0x23f)]('\x20\x20\x20\x20\x20\x20Approved');else _0x5e1c20['status']===_0xdb3889['gQTEq']&&_0x5e1c20[_0x41f6cd(0x265)]&&console['log'](_0x41f6cd(0x23b)+_0x5e1c20[_0x41f6cd(0x265)]);}}}export async function featureCreate(_0xcd867a,_0x214ff5){const _0x1658e9=_0x3e12,_0xc8da51={'URxCh':function(_0x591562,_0x14e834){return _0x591562===_0x14e834;},'DOnhG':function(_0x43f897){return _0x43f897();},'qYuXt':function(_0x3b5113,_0x1e3299){return _0x3b5113(_0x1e3299);},'AyRry':function(_0x1ba674){return _0x1ba674();},'HqnBm':_0x1658e9(0x233),'YSNMJ':function(_0x21391c,_0x1f545c){return _0x21391c(_0x1f545c);},'JMQNc':function(_0xb0fc73,_0x3a58c0,_0x42383d){return _0xb0fc73(_0x3a58c0,_0x42383d);}},{envNames:_0x233473}=await getEnvNames();if(_0xc8da51[_0x1658e9(0x1ff)](_0x233473['length'],0x0)&&!process['env']['RANGER_TEST_USERNAME']){let _0x3d0af0=0x0;try{_0x3d0af0=(await _0xc8da51[_0x1658e9(0x1eb)](listCloudProfiles))['length'];}catch{_0x3d0af0=0x1;}_0x3d0af0===0x0&&console['warn']('\x0a'+_0xc8da51['qYuXt'](formatProfileRequiredMessage,_0x262290=>bold(_0x262290)));}const _0x1b83c2=_0x214ff5[_0x1658e9(0x223)]?_0x214ff5[_0x1658e9(0x223)]['map'](_0x3b48ee=>_0x3b48ee[_0x1658e9(0x262)]()):[],_0x5d73b9=_0xc8da51['DOnhG'](getGitRepoUrl),_0x2e691d=_0xc8da51['AyRry'](getGitBranch);console['log'](_0xc8da51['HqnBm']);const _0x23011c=await createFeature({'name':_0xcd867a,'description':_0x214ff5[_0x1658e9(0x1bf)],'checklist':_0x1b83c2,'gitRepoUrl':_0x5d73b9,'gitBranch':_0x2e691d});await _0xc8da51['qYuXt'](setActiveFeatureId,_0x23011c['id']),await _0xc8da51['YSNMJ'](tryStartCurrentSession,_0x23011c['id']);const _0x2e91ce=process[_0x1658e9(0x255)]['CLAUDE_SESSION_ID'];_0x2e91ce&&registerSession(_0x2e91ce,_0x23011c['id']),console['log']('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x23011c['id']),_0xc8da51['JMQNc'](displayFeature,_0x23011c,_0x23011c['checklistItems']),console[_0x1658e9(0x23f)]('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x19a78b){const _0x14141f=_0x3e12,_0x5281e3={'npbyI':function(_0xa5c4a1,_0x2ddcbb){return _0xa5c4a1===_0x2ddcbb;},'EeSvY':function(_0x5d39f0,_0x46fa19){return _0x5d39f0>_0x46fa19;},'dWSDr':function(_0x372e28,_0x429513){return _0x372e28(_0x429513);},'siZWS':function(_0x1b5aac,_0x2102db){return _0x1b5aac+_0x2102db;},'lAYxf':function(_0x4ea04c,_0x556171){return _0x4ea04c!==_0x556171;},'tNXXG':_0x14141f(0x252),'DVmzv':_0x14141f(0x1bb)},_0x115a23={'limit':_0x19a78b[_0x14141f(0x26e)]??0xa,'offset':_0x19a78b['offset']??0x0,'includeDeleted':_0x19a78b['includeDeleted']};_0x19a78b['currentBranch']&&(_0x115a23['gitRepoUrl']=getGitRepoUrl(),_0x115a23['gitBranch']=getGitBranch());const _0x2ec44b=await listFeatures(_0x115a23);if(_0x5281e3['npbyI'](_0x2ec44b['items'][_0x14141f(0x236)],0x0)){console[_0x14141f(0x23f)]('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0x2318c3=_0x5281e3['EeSvY'](_0x2ec44b[_0x14141f(0x1ea)],_0x2ec44b[_0x14141f(0x1f8)][_0x14141f(0x236)])?_0x14141f(0x212)+_0x2ec44b[_0x14141f(0x1f8)][_0x14141f(0x236)]+'\x20of\x20'+_0x2ec44b['totalCount']:_0x2ec44b['totalCount']+_0x14141f(0x1e7);console[_0x14141f(0x23f)]('\x0a'+_0x2318c3+':\x0a');for(const _0x824a1c of _0x2ec44b[_0x14141f(0x1f8)]){console[_0x14141f(0x23f)](''+_0x824a1c[_0x14141f(0x27c)]),console[_0x14141f(0x23f)](_0x14141f(0x27f)+_0x824a1c['id']),_0x824a1c['stats']&&console['log']('\x20\x20\x20Progress:\x20'+_0x5281e3[_0x14141f(0x1e4)](getProgressDisplay,_0x824a1c['stats'])),_0x824a1c['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x824a1c['gitBranch']),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x824a1c[_0x14141f(0x25e)])[_0x14141f(0x246)]()),console['log']('');}const _0x1f01af=_0x115a23['limit']??0xa,_0xb59de8=_0x5281e3['siZWS'](_0x115a23[_0x14141f(0x20d)]??0x0,_0x2ec44b[_0x14141f(0x1f8)][_0x14141f(0x236)]);if(_0xb59de8<_0x2ec44b['totalCount']){const _0x542c38=_0x5281e3[_0x14141f(0x23a)](_0x1f01af,0xa)?_0x14141f(0x1cb)+_0x1f01af:'',_0x44a8ee=_0x19a78b[_0x14141f(0x1b5)]?_0x5281e3[_0x14141f(0x254)]:'',_0x5e69d6=_0x19a78b['includeDeleted']?_0x5281e3['DVmzv']:'';console[_0x14141f(0x23f)](_0x14141f(0x1f3)+_0xb59de8+_0x542c38+_0x44a8ee+_0x5e69d6);}}export async function featureShow(_0x219cc2){const _0x137b94=_0x3e12,_0xa47016={'mdkol':function(_0x1ce0cd){return _0x1ce0cd();},'hQxIo':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','hFaKj':function(_0x4cbe95,_0x5ee771){return _0x4cbe95(_0x5ee771);}},_0x526d69=_0x219cc2||await _0xa47016['mdkol'](getActiveFeatureId);if(!_0x526d69)throw new Error(_0xa47016['hQxIo']);const _0x5ab295=await _0xa47016[_0x137b94(0x1b2)](getFeature,_0x526d69);displayFeature(_0x5ab295,_0x5ab295['checklistItems']);}export async function featureResume(_0x3901dc){const _0x2492a7=_0x3e12,_0x5439e0={'cHROF':function(_0x4ef289,_0x5a9a34){return _0x4ef289(_0x5a9a34);},'xgpsp':function(_0x3caac8,_0x4428f9){return _0x3caac8(_0x4428f9);},'KOLlu':function(_0x199184){return _0x199184();},'VKSGj':function(_0x55553e,_0x4d7b36){return _0x55553e(_0x4d7b36);},'flgvr':function(_0x57dbeb){return _0x57dbeb();},'TstaH':_0x2492a7(0x232),'qfTVm':_0x2492a7(0x235),'pubtf':function(_0xecfb4d,_0x5a7343){return _0xecfb4d(_0x5a7343);},'SIeoR':_0x2492a7(0x1e8),'qVdiQ':_0x2492a7(0x22f),'CdWPI':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','YSPGD':function(_0xe11a2d,_0x2ffd60){return _0xe11a2d!==_0x2ffd60;},'IVddE':function(_0x33c52d,_0x14a48c,_0x1e714c){return _0x33c52d(_0x14a48c,_0x1e714c);}};if(_0x3901dc){const _0x414a7c=await _0x5439e0[_0x2492a7(0x1b6)](getFeature,_0x3901dc);await _0x5439e0[_0x2492a7(0x21e)](setActiveFeatureId,_0x414a7c['id']);const _0x3f8dfd=_0x5439e0['KOLlu'](getGitBranch);_0x3f8dfd&&_0x3f8dfd!==_0x414a7c[_0x2492a7(0x227)]&&(await updateFeature(_0x414a7c['id'],{'gitBranch':_0x3f8dfd}),console[_0x2492a7(0x23f)](_0x2492a7(0x1b9)+_0x3f8dfd));console[_0x2492a7(0x23f)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x414a7c['name']+'\x20('+_0x414a7c['id']+')'),await _0x5439e0[_0x2492a7(0x21e)](tryStartCurrentSession,_0x414a7c['id']);const _0xdea15d=process[_0x2492a7(0x255)]['CLAUDE_SESSION_ID'];_0xdea15d&&registerSession(_0xdea15d,_0x414a7c['id']);displayFeature(_0x414a7c,_0x414a7c[_0x2492a7(0x22a)]),await _0x5439e0[_0x2492a7(0x241)](printFeedbackNudge,_0x414a7c['id']);return;}const _0xbfc6df=getGitRepoUrl(),_0x4d06c9=_0x5439e0['flgvr'](getGitBranch);if(!_0xbfc6df&&!_0x4d06c9)throw new Error(_0x2492a7(0x1fa));console['log']('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+(_0xbfc6df||_0x5439e0[_0x2492a7(0x1b4)])+'\x20/\x20'+(_0x4d06c9||'any')+_0x2492a7(0x260));const _0x4d210f=await _0x5439e0[_0x2492a7(0x1b6)](listFeatures,{'gitRepoUrl':_0xbfc6df,'gitBranch':_0x4d06c9}),_0x3bca1a=_0x4d210f[_0x2492a7(0x1f8)][_0x2492a7(0x234)](_0xa24239=>_0xa24239[_0x2492a7(0x229)]?_0xa24239[_0x2492a7(0x229)]!=='verified':!_0xa24239[_0x2492a7(0x274)]);if(_0x3bca1a['length']===0x0){console['log'](_0x2492a7(0x1e9)),console[_0x2492a7(0x23f)](_0x5439e0[_0x2492a7(0x26a)]);return;}let _0x220c7c;if(_0x3bca1a['length']===0x1)_0x220c7c=_0x3bca1a[0x0];else{const _0x378e58=process[_0x2492a7(0x25d)]['isTTY']&&process['stdout'][_0x2492a7(0x273)];if(!_0x378e58){console['log']('\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:');for(const _0xd1cb66 of _0x3bca1a){console[_0x2492a7(0x23f)]('\x20\x20'+_0xd1cb66[_0x2492a7(0x27c)]),console['log'](_0x2492a7(0x21f)+_0xd1cb66['id']),_0xd1cb66['stats']&&console['log'](_0x2492a7(0x268)+_0x5439e0['pubtf'](getProgressDisplay,_0xd1cb66[_0x2492a7(0x24c)])),_0xd1cb66['gitBranch']&&console[_0x2492a7(0x23f)](_0x2492a7(0x1b1)+_0xd1cb66['gitBranch']);}throw new Error(_0x2492a7(0x25b));}const {selected:_0x437819}=await _0x2dd850['prompt']([{'type':_0x5439e0['SIeoR'],'name':_0x5439e0['qVdiQ'],'message':_0x5439e0[_0x2492a7(0x206)],'choices':_0x3bca1a[_0x2492a7(0x1de)](_0x3f932a=>({'name':_0x3f932a[_0x2492a7(0x27c)]+'\x20('+_0x3f932a['id']+')','value':_0x3f932a['id']}))}]);_0x220c7c=_0x3bca1a['find'](_0x4305d9=>_0x4305d9['id']===_0x437819);}await setActiveFeatureId(_0x220c7c['id']);_0x4d06c9&&_0x5439e0['YSPGD'](_0x4d06c9,_0x220c7c['gitBranch'])&&(await updateFeature(_0x220c7c['id'],{'gitBranch':_0x4d06c9}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x4d06c9));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x220c7c['name']+'\x20('+_0x220c7c['id']+')'),await tryStartCurrentSession(_0x220c7c['id']);const _0x145244=await _0x5439e0['pubtf'](getFeature,_0x220c7c['id']),_0x3de6d8=process['env']['CLAUDE_SESSION_ID'];_0x3de6d8&&_0x5439e0['IVddE'](registerSession,_0x3de6d8,_0x145244['id']),displayFeature(_0x145244,_0x145244[_0x2492a7(0x22a)]),await printFeedbackNudge(_0x145244['id']);}async function printFeedbackNudge(_0x38d075){const _0x1dfed4=_0x3e12,_0x315ceb={'OopRt':function(_0x270dd3,_0x4d03a9){return _0x270dd3>_0x4d03a9;}};try{const {items:_0x2c2636}=await getActionItems(_0x38d075);let _0x475717=0x0,_0x148513=0x0;for(const _0x2cfffc of _0x2c2636){const _0x3f87c3=await getItemFeedback(_0x38d075,_0x2cfffc['id']);_0x315ceb[_0x1dfed4(0x257)](_0x3f87c3['unaddressedComments']['length'],0x0)&&(_0x475717+=_0x3f87c3['unaddressedComments'][_0x1dfed4(0x236)],_0x148513++);}_0x315ceb['OopRt'](_0x475717,0x0)&&(console['log'](_0x1dfed4(0x1c3)+_0x475717+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x148513+_0x1dfed4(0x216)),console['log'](_0x1dfed4(0x281)));}catch{}}async function tryStartCurrentSession(_0x528962){const _0x36de0b=_0x3e12,_0x484a8d={'IRSQg':function(_0x32bcc5,_0x3d0cd9){return _0x32bcc5(_0x3d0cd9);}};try{const {sessions:_0x4029ca}=await _0x484a8d['IRSQg'](listFeatureSessions,_0x528962),_0x129143=_0x4029ca[_0x36de0b(0x1d2)](_0x28d8a3=>_0x28d8a3[_0x36de0b(0x229)]==='ready');_0x129143&&(await startSession(_0x528962,_0x129143['id']),console[_0x36de0b(0x23f)](_0x36de0b(0x228)+_0x129143[_0x36de0b(0x22e)]));}catch{}}export async function featureReport(_0x474c33,_0x456f08){const _0x134b60=_0x3e12,_0x4b8530={'wzERG':_0x134b60(0x1ef),'eSRSS':function(_0x58f270,_0x2f07ba,_0x57b489){return _0x58f270(_0x2f07ba,_0x57b489);},'pncNQ':function(_0x12150e){return _0x12150e();},'TaapT':function(_0x3960ae,_0x4aa587){return _0x3960ae(_0x4aa587);},'mWAAn':function(_0x345de2,_0x1c62f7,_0x2ca570,_0x406586){return _0x345de2(_0x1c62f7,_0x2ca570,_0x406586);},'PehiT':_0x134b60(0x1dd)},_0x401aaf=_0x474c33||await getActiveFeatureId();if(!_0x401aaf)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console[_0x134b60(0x23f)](_0x4b8530['wzERG']);const _0x34472d=await _0x4b8530[_0x134b60(0x1b8)](getFeatureReportMarkdown,_0x401aaf,{'style':_0x456f08[_0x134b60(0x270)]}),_0x24e761=_0x456f08['output']||join(_0x4b8530[_0x134b60(0x210)](getRangerDir),'reports',_0x401aaf+'.md'),_0x27701e=join(_0x24e761,'..');!_0x4b8530['TaapT'](existsSync,_0x27701e)&&await mkdir(_0x27701e,{'recursive':!![]}),await _0x4b8530['mWAAn'](writeFile,_0x24e761,_0x34472d,_0x4b8530['PehiT']),console['log'](_0x134b60(0x256)+_0x24e761);}function getScenarioResult(_0x3c49ca){const _0x5f1b96=_0x3e12,_0x3c7235={'odNuR':'closed','QcZsM':'verification_in_progress','njgUY':_0x5f1b96(0x1e2)};if(_0x3c49ca['status']===_0x3c7235[_0x5f1b96(0x1d6)])return _0x3c49ca['terminalReason']??_0x3c7235['odNuR'];if(_0x3c49ca[_0x5f1b96(0x229)]===_0x3c7235['QcZsM'])return _0x3c7235[_0x5f1b96(0x1da)];return _0x3c49ca['status'];}function getScenarioRationale(_0x2c5bdb,_0x5ee42d){const _0x5e1457=_0x3e12;if(_0x5ee42d)return _0x5ee42d;if(_0x2c5bdb['blockedReason'])return _0x2c5bdb['blockedReason'];if(_0x2c5bdb[_0x5e1457(0x1cc)])return _0x2c5bdb['incompleteReason'];if(_0x2c5bdb[_0x5e1457(0x265)])return _0x2c5bdb['canceledReason'];if(_0x2c5bdb['notes'])return _0x2c5bdb[_0x5e1457(0x271)];return null;}export async function featureReportPrDescription(_0x49b438,_0x37f7ba){const _0x39d4cc=_0x3e12,_0x40f454={'DYuNb':_0x39d4cc(0x238),'Jvrtf':function(_0x1226b0,_0x3e456a,_0x5a4e01){return _0x1226b0(_0x3e456a,_0x5a4e01);},'LXxUI':function(_0x46298f,_0x55185e){return _0x46298f===_0x55185e;},'vrXvA':'\x0aAvailable\x20scenarios:','WVSPr':function(_0x17c08e,_0x30d557){return _0x17c08e<_0x30d557;},'YPRuQ':function(_0x3530bb,_0x582a5d,_0x6a8746,_0x165273){return _0x3530bb(_0x582a5d,_0x6a8746,_0x165273);}},_0x161615=_0x49b438||await getActiveFeatureId();if(!_0x161615)throw new Error(_0x40f454['DYuNb']);const _0x52ab49=await getFeature(_0x161615),_0x2efa0b=_0x52ab49['checklistItems']||[],_0x5d8e00=_0x40f454['Jvrtf'](getCurrentSessionItems,_0x52ab49,_0x2efa0b);_0x40f454['LXxUI'](_0x5d8e00['length'],0x0)&&(console[_0x39d4cc(0x21d)]('\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.'),process['exit'](0x1));const _0x3eb2bc=_0x37f7ba[_0x39d4cc(0x226)]??[],_0x2b2058=_0x3eb2bc[_0x39d4cc(0x234)](_0x232497=>!Number['isInteger'](_0x232497)||_0x232497<0x1||_0x232497>_0x5d8e00[_0x39d4cc(0x236)]);if(_0x2b2058[_0x39d4cc(0x236)]>0x0){console[_0x39d4cc(0x21d)](_0x39d4cc(0x245)+_0x2b2058['join'](',\x20')),console['log'](_0x40f454[_0x39d4cc(0x278)]);for(let _0x23e44b=0x0;_0x40f454['WVSPr'](_0x23e44b,_0x5d8e00['length']);_0x23e44b++){console['log']('\x20\x20'+(_0x23e44b+0x1)+'.\x20'+_0x5d8e00[_0x23e44b]['description']);}process['exit'](0x1);}const _0x17ce00=new Set(_0x3eb2bc['map'](_0x428f38=>_0x428f38-0x1)),_0x35aaa7=_0x5d8e00[_0x39d4cc(0x234)]((_0x112b4e,_0x171288)=>!_0x17ce00['has'](_0x171288));_0x35aaa7[_0x39d4cc(0x236)]===0x0&&(console[_0x39d4cc(0x21d)]('\x0a❌\x20All\x20scenarios\x20were\x20excluded.'),process['exit'](0x1));if(_0x37f7ba[_0x39d4cc(0x267)])await _0x40f454['YPRuQ'](outputJsonReport,_0x161615,_0x52ab49,_0x35aaa7);else{const _0x1f310e=await getFeatureReportMarkdown(_0x161615,{'itemIds':_0x35aaa7['map'](_0x2c4710=>_0x2c4710['id'])});process[_0x39d4cc(0x264)]['write'](_0x1f310e['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x153dc2,_0x3177fd,_0x23e9aa){const _0x1fd612=_0x3e12,_0x42d540={'TeLND':function(_0x3186b6,_0x21d8b0){return _0x3186b6(_0x21d8b0);},'KQLzy':function(_0x2e89c0,_0x5a9330){return _0x2e89c0===_0x5a9330;},'YrFCR':function(_0x5071d5,_0x2527a2){return _0x5071d5(_0x2527a2);},'NbKXx':function(_0x1b6c3f,_0xec6228){return _0x1b6c3f+_0xec6228;}},_0x54898d=getApiBaseUrl(),_0x3f3e88=await getFeatureReport(_0x153dc2),_0xef0637=new Map(_0x3f3e88[_0x1fd612(0x22a)]['map'](_0xd8c58e=>[_0xd8c58e['id'],_0xd8c58e])),_0x188fa6=await Promise['all'](_0x23e9aa['map'](async _0x1c03ff=>{const _0x5a3a13=_0x1fd612,_0x29bfef=_0xef0637[_0x5a3a13(0x20f)](_0x1c03ff['id']),_0x5e122a=_0x29bfef?.['linkedSession']??null;let _0x5e8e45=[];if(_0x1c03ff[_0x5a3a13(0x27b)])try{const {steps:_0x22ff4e}=await _0x42d540['TeLND'](getBrowserSessionSteps,_0x1c03ff[_0x5a3a13(0x27b)]);_0x22ff4e[_0x5a3a13(0x236)]>0x0&&(_0x5e8e45=_0x22ff4e[_0x5a3a13(0x1de)](_0x11a9d5=>{const _0x1b1761=_0x5a3a13,_0x1e9ab0=_0x11a9d5[_0x1b1761(0x237)][_0x1b1761(0x1d2)](_0x5b5db6=>_0x5b5db6[_0x1b1761(0x263)]==='screenshot'&&_0x5b5db6['timing']==='after')??_0x11a9d5['assets']['find'](_0x385ebe=>_0x385ebe[_0x1b1761(0x263)]===_0x1b1761(0x266));let _0x411a90=null,_0x5be7ff=null;if(_0x1e9ab0){const _0x3363cb=_0x1e9ab0[_0x1b1761(0x1d4)]['location']['split']('/')['pop']();_0x411a90=_0x54898d+'/api/v1/mcp/browser-sessions/'+_0x1c03ff[_0x1b1761(0x27b)]+'/artifacts/'+_0x3363cb,_0x3363cb&&(_0x5be7ff=_0x3363cb[_0x1b1761(0x1fc)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x1b1761(0x1fc)](/[-_]/g,'\x20'));}return{'description':_0x5be7ff||_0x11a9d5[_0x1b1761(0x1bf)]||_0x11a9d5['stepName']||'Step\x20'+_0x11a9d5[_0x1b1761(0x261)],'screenshot':_0x411a90,'is_key_step':_0x11a9d5[_0x1b1761(0x1c4)]};}));}catch{}return _0x42d540['KQLzy'](_0x5e8e45[_0x5a3a13(0x236)],0x0)&&_0x5e122a?.['screenshotUrls']&&(_0x5e8e45=_0x5e122a[_0x5a3a13(0x231)][_0x5a3a13(0x1de)]((_0x85436f,_0x57136b)=>({'description':'Screenshot\x20'+(_0x57136b+0x1),'screenshot':_0x85436f,'is_key_step':![]}))),{'description':_0x1c03ff['description'],'result':_0x42d540['YrFCR'](getScenarioResult,_0x1c03ff),'rationale':getScenarioRationale(_0x1c03ff,_0x5e122a?.[_0x5a3a13(0x1f5)]),'steps':_0x5e8e45};})),_0x67f435={'url':_0x3177fd[_0x1fd612(0x240)],'scenarios':_0x188fa6};process['stdout']['write'](_0x42d540['NbKXx'](JSON['stringify'](_0x67f435,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x312628){const _0x34eccb=_0x3e12,_0x3f1e2e={'bRJdJ':function(_0x58ec34){return _0x58ec34();},'dTRkP':function(_0x1d8bca,_0x1c5392){return _0x1d8bca(_0x1c5392);},'Xmxgr':_0x34eccb(0x215),'JhozF':'in_progress'},_0x264858=_0x312628||await _0x3f1e2e['bRJdJ'](getActiveFeatureId);if(!_0x264858)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 _0x41a24a=await _0x3f1e2e['dTRkP'](getFeature,_0x264858);if(!_0x41a24a['currentSessionId'])throw new Error(_0x3f1e2e[_0x34eccb(0x230)]);const {sessions:_0x89e64d}=await listFeatureSessions(_0x264858),_0x6033a3=_0x89e64d['find'](_0x409dc4=>_0x409dc4['id']===_0x41a24a['currentSessionId']);if(!_0x6033a3)throw new Error('Current\x20session\x20not\x20found.');if(_0x6033a3[_0x34eccb(0x229)]==='completed'){console['log'](_0x34eccb(0x1bd));return;}if(_0x6033a3['status']!==_0x3f1e2e['JhozF'])throw new Error(_0x34eccb(0x200)+_0x6033a3['status']);console[_0x34eccb(0x23f)](_0x34eccb(0x217)),await concludeSession(_0x264858,_0x41a24a[_0x34eccb(0x205)]),console[_0x34eccb(0x23f)]('\x0a✅\x20Session\x20'+_0x6033a3[_0x34eccb(0x22e)]+'\x20concluded.'),console[_0x34eccb(0x23f)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}function _0x234a(){const _0x575e07=['Showing\x20','submittedAt','yMaGh','No\x20active\x20session\x20for\x20this\x20feature\x20review.','\x20scenario(s).','\x0aConcluding\x20session...','guIPJ','\x20\x20✅\x20No\x20feedback\x20to\x20address','verification_in_progress','Unknown','git\x20rev-parse\x20--abbrev-ref\x20HEAD','error','xgpsp','\x20\x20\x20\x20\x20ID:\x20','pxGDE','LzHIs','blockedReason','scenarios','join','vJFWO','excludeScenarios','gitBranch','\x20\x20\x20▶️\x20Started\x20session\x20','status','checklistItems','spatial','approved','repeat','iteration','selected','Xmxgr','screenshotUrls','any','\x0aCreating\x20feature\x20review...','filter','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','length','assets','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','\x20\x20\x20Completed:\x20','lAYxf','\x20\x20\x20\x20\x20\x20Cancelled:\x20','split','pendingItems','authorEmail','log','dashboardUrl','VKSGj','feedback-images','zaEhn','7vqjqDH','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','toLocaleDateString','\x0a✅\x20Scenario\x20added','gQTEq','10gIhttG','24247586QRawDG','github.com/','stats','NxMmL','12942819CQYBHH','VmWRW','7291252ZOKkhe','vdkVr','\x20--current-branch','\x20in\x20progress','tNXXG','env','\x0a✅\x20Report\x20generated:\x20','OopRt','EkdAz','domRef','verified','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','BRzQJ','stdin','createdAt','NcxAh','...','position','trim','assetType','stdout','canceledReason','screenshot','json','\x20\x20\x20\x20\x20Progress:\x20','en-US','qfTVm','YGVjN','MVBIA','863524ZGbZJc','limit','580374UGQnWP','style','notes','gitRepoUrl','isTTY','completedAt','point','vjLGI','coordinates','vrXvA','\x20\x20Expected\x20flow:','1FUpXVg','browserSessionId','name','version','zNMdr','\x20\x20\x20ID:\x20','pipe','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','No\x20sessions\x20found.','type','ofirE','RCjEC','closed','vlvjc','element','scenario','push','AoIdi','\x20\x20\x20\x20\x20Branch:\x20','hFaKj','LQelt','TstaH','currentBranch','cHROF','textContent','eSRSS','\x20\x20\x20Updated\x20branch\x20to:\x20','\x20>\x20','\x20--include-deleted','blockedItems','\x0a✅\x20Session\x20is\x20already\x20completed.','.\x20Feature\x20review\x20has\x20','description','RnVEr','dCBbP','\x20\x20\x20Progress:\x20','\x0a⚠️\x20\x20','isKeyStep','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','unaddressedComments','hlxFA','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','short','\x0aAvailable\x20scenarios:','\x20--limit\x20','incompleteReason','toFixed','toLocaleString','blocked','\x20\x20💬\x20','hxlHX','find','oTJIG','storage','Xvstz','odNuR','exit','canonicalFlow','pxqLH','njgUY','LGtNC','wvAYh','utf-8','map','OQGkk','TLWho','\x20\x20\x20Created:\x20','in_progress','numeric','dWSDr','\x0a✅\x20Restored\x20feature\x20review:\x20','cCROA','\x20feature\x20review(s)\x20found','list','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','totalCount','DOnhG','FBlpg','selector','\x20unaddressed\x20comment(s)','\x0aGenerating\x20report...','):\x20\x22','Scenario\x20','\x20at\x20[','Next\x20page:\x20ranger\x20list\x20--offset\x20','gzclu','agentResponse','NWLSg','4799365SXAdVh','items','sessionId','Not\x20in\x20a\x20git\x20repository.','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','replace','XdheT','verifiedItems','URxCh','Cannot\x20conclude\x20session\x20with\x20status:\x20','xyRcD','6HBHtBj','bLrlF','terminalReason','currentSessionId','CdWPI','\x20\x20\x20Description:\x20','Please\x20finish\x20your\x20review\x20first:','\x20blocked','latestReview','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','offset','9465208fdZsnR','get','pncNQ','NJTqe'];_0x234a=function(){return _0x575e07;};return _0x234a();}export async function featureSessions(_0x4370ac){const _0x41960e=_0x3e12,_0x4235a6={'TLWho':function(_0x2ff9fd){return _0x2ff9fd();},'pxGDE':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','xyRcD':function(_0x506f99,_0x177453){return _0x506f99(_0x177453);},'oTJIG':function(_0xd0331c,_0x55efa3){return _0xd0331c===_0x55efa3;},'BRzQJ':_0x41960e(0x1e2)},_0x40e26b=_0x4370ac||await _0x4235a6[_0x41960e(0x1e0)](getActiveFeatureId);if(!_0x40e26b)throw new Error(_0x4235a6[_0x41960e(0x220)]);const _0x566804=await _0x4235a6[_0x41960e(0x201)](getFeature,_0x40e26b);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x566804[_0x41960e(0x27c)]+'\x0a');const {sessions:_0x115cfc}=await listFeatureSessions(_0x40e26b);if(_0x115cfc[_0x41960e(0x236)]===0x0){console[_0x41960e(0x23f)](_0x41960e(0x282));return;}for(const _0x5d3831 of _0x115cfc){const _0x1aadb5=_0x4235a6[_0x41960e(0x1d3)](_0x5d3831[_0x41960e(0x229)],'completed')?'✅':_0x4235a6[_0x41960e(0x1d3)](_0x5d3831['status'],_0x4235a6[_0x41960e(0x25c)])?'🔄':'▶️';console['log'](_0x1aadb5+'\x20Session\x20'+_0x5d3831[_0x41960e(0x22e)]+'\x20('+_0x5d3831['id']+')'),console[_0x41960e(0x23f)]('\x20\x20\x20Status:\x20'+_0x5d3831[_0x41960e(0x229)]),console['log'](_0x41960e(0x1e1)+new Date(_0x5d3831[_0x41960e(0x25e)])[_0x41960e(0x1ce)]()),_0x5d3831['completedAt']&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x5d3831[_0x41960e(0x274)])[_0x41960e(0x1ce)]()),console['log']('');}}export async function featureAddScenario(_0x5f3c46,_0x2f3f67){const _0x5954fd=_0x3e12,_0x369297={'XMCqg':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','ZCbtv':function(_0x4dc4f3,_0x306f2c){return _0x4dc4f3(_0x306f2c);},'QKDlY':function(_0x56815c,_0x6eadde,_0x4708a3){return _0x56815c(_0x6eadde,_0x4708a3);}},_0x33b806=_0x2f3f67||await getActiveFeatureId();if(!_0x33b806)throw new Error(_0x369297['XMCqg']);const _0x256505=await _0x369297['ZCbtv'](getFeature,_0x33b806);if(_0x256505[_0x5954fd(0x20a)]&&!_0x256505['latestReview']['submittedAt'])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x256505['dashboardUrl']);await _0x369297['QKDlY'](createChecklistItem,_0x33b806,_0x5f3c46);const _0x139ca9=await getFeature(_0x33b806);console['log'](_0x5954fd(0x247)),displayFeature(_0x139ca9,_0x139ca9[_0x5954fd(0x22a)]);}export async function featureEditScenario(_0x3c4e19,_0x30238f){const _0x539b90=_0x3e12,_0x1ce82b={'YGVjN':_0x539b90(0x1c5),'ofirE':_0x539b90(0x1c8),'XJjIN':_0x539b90(0x1fb),'dCBbP':_0x539b90(0x208),'vjLGI':function(_0x381225,_0x43cca2){return _0x381225===_0x43cca2;},'VIhNL':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','GeKLp':function(_0x8b850,_0x5b76bb){return _0x8b850===_0x5b76bb;},'wvAYh':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','CgKnB':function(_0x3bce36,_0x54e371){return _0x3bce36+_0x54e371;},'riJdX':function(_0x3ab196,_0x1cf913){return _0x3ab196-_0x1cf913;},'pxqLH':function(_0x9d7266,_0xca421c){return _0x9d7266>=_0xca421c;},'hxlHX':_0x539b90(0x1ca),'JHrFm':function(_0x440a4a,_0x3ec067){return _0x440a4a<_0x3ec067;},'riuOY':function(_0x533bca,_0x2df339){return _0x533bca(_0x2df339);}},_0x434e0a=_0x30238f['id']||await getActiveFeatureId();!_0x434e0a&&(console[_0x539b90(0x21d)](_0x1ce82b[_0x539b90(0x26b)]),console[_0x539b90(0x21d)](_0x1ce82b[_0x539b90(0x284)]),process['exit'](0x1));const _0x131671=await getFeature(_0x434e0a);_0x131671['latestReview']&&!_0x131671[_0x539b90(0x20a)][_0x539b90(0x213)]&&(console['error'](_0x1ce82b['XJjIN']),console['error'](_0x1ce82b[_0x539b90(0x1c1)]),console['error']('\x20\x20'+_0x131671['dashboardUrl']),process['exit'](0x1));const _0x53dc5f=_0x131671['checklistItems']||[];_0x1ce82b[_0x539b90(0x276)](_0x53dc5f[_0x539b90(0x236)],0x0)&&(console['error'](_0x1ce82b['VIhNL']),process[_0x539b90(0x1d7)](0x1));if(_0x1ce82b['GeKLp'](_0x30238f[_0x539b90(0x1ae)],undefined)){console[_0x539b90(0x21d)](_0x1ce82b[_0x539b90(0x1dc)]),console[_0x539b90(0x23f)](_0x539b90(0x1ca));for(let _0x1189cc=0x0;_0x1189cc<_0x53dc5f['length'];_0x1189cc++){console['log']('\x20\x20'+_0x1ce82b['CgKnB'](_0x1189cc,0x1)+'.\x20'+_0x53dc5f[_0x1189cc][_0x539b90(0x1bf)]);}process[_0x539b90(0x1d7)](0x1);}const _0x57f8da=_0x1ce82b['riJdX'](_0x30238f[_0x539b90(0x1ae)],0x1);if(_0x57f8da<0x0||_0x1ce82b[_0x539b90(0x1d9)](_0x57f8da,_0x53dc5f[_0x539b90(0x236)])){console[_0x539b90(0x21d)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x30238f['scenario']+_0x539b90(0x1be)+_0x53dc5f[_0x539b90(0x236)]+'\x20scenarios.'),console[_0x539b90(0x23f)](_0x1ce82b[_0x539b90(0x1d1)]);for(let _0xbffa2b=0x0;_0x1ce82b['JHrFm'](_0xbffa2b,_0x53dc5f[_0x539b90(0x236)]);_0xbffa2b++){console['log']('\x20\x20'+(_0xbffa2b+0x1)+'.\x20'+_0x53dc5f[_0xbffa2b]['description']);}process['exit'](0x1);}const _0x57a6f3=_0x53dc5f[_0x57f8da];await updateChecklistItem(_0x434e0a,_0x57a6f3['id'],{'description':_0x3c4e19});const _0x235a89=await _0x1ce82b['riuOY'](getFeature,_0x434e0a);console[_0x539b90(0x23f)]('\x0a✅\x20Scenario\x20updated'),displayFeature(_0x235a89,_0x235a89[_0x539b90(0x22a)]);}async function downloadFeedbackImage(_0x320164,_0x43cd1e){const _0x29cfd7=_0x3e12,_0x369565={'wOYGR':function(_0x4987f4,_0x2d7d41,_0x9413b2){return _0x4987f4(_0x2d7d41,_0x9413b2);},'hMPwR':function(_0x4355ac){return _0x4355ac();},'njCeo':function(_0x1717da,_0x2530e2){return _0x1717da(_0x2530e2);}};try{const _0xef5eb=_0x369565['wOYGR'](join,_0x369565['hMPwR'](getRangerDir),_0x29cfd7(0x242));await mkdir(_0xef5eb,{'recursive':!![]});const _0x207973=join(_0xef5eb,'comment_'+_0x43cd1e+'.png'),_0x5d14c7=await _0x369565['njCeo'](fetch,_0x320164);if(!_0x5d14c7['ok'])return null;const _0x403911=Buffer['from'](await _0x5d14c7['arrayBuffer']());return await writeFile(_0x207973,_0x403911),_0x207973;}catch{return null;}}export async function featureGetReview(_0x5ea537){const _0x2205ce=_0x3e12,_0x6ad734={'LGtNC':function(_0x13ce47,_0x1155d0){return _0x13ce47===_0x1155d0;},'XdheT':'No\x20scenarios\x20found.','RnVEr':function(_0x1579be,_0x391001){return _0x1579be<_0x391001;},'ceVyf':function(_0x2f6868,_0x26d310){return _0x2f6868>_0x26d310;},'RCjEC':function(_0x304017,_0x5932f7,_0xa195a9){return _0x304017(_0x5932f7,_0xa195a9);},'jzhwC':function(_0x16c482,_0x353de0){return _0x16c482+_0x353de0;},'zaEhn':_0x2205ce(0x269),'IJSHm':function(_0x31dfc2,_0x3a21c9){return _0x31dfc2>=_0x3a21c9;},'yMaGh':function(_0x5c08c5,_0x429ed8){return _0x5c08c5+_0x429ed8;}},_0x54c14e=_0x5ea537||await getActiveFeatureId();if(!_0x54c14e)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 _0x4c78e8=await getFeature(_0x54c14e),{items:_0x282236}=await getActionItems(_0x54c14e);console['log']('\x0a📋\x20Feedback\x20for:\x20'+_0x4c78e8[_0x2205ce(0x27c)]+'\x20('+_0x4c78e8['id']+')\x0a');if(_0x6ad734['LGtNC'](_0x282236['length'],0x0)){console['log'](_0x6ad734[_0x2205ce(0x1fd)]);return;}for(let _0x5c3233=0x0;_0x6ad734[_0x2205ce(0x1c0)](_0x5c3233,_0x282236[_0x2205ce(0x236)]);_0x5c3233++){const _0x2280ae=_0x282236[_0x5c3233],_0x56ea1b=_0x6ad734['ceVyf'](_0x2280ae['version'],0x1)?'\x20(v'+_0x2280ae['version']+')':'',_0x4375cc=await _0x6ad734[_0x2205ce(0x285)](getItemFeedback,_0x54c14e,_0x2280ae['id']);if(_0x4375cc['unaddressedComments']['length']>0x0){console[_0x2205ce(0x23f)]('Scenario\x20'+_0x6ad734['jzhwC'](_0x5c3233,0x1)+':\x20\x22'+_0x2280ae['description']+'\x22'+_0x56ea1b+'\x20—\x20'+_0x4375cc['unaddressedComments']['length']+_0x2205ce(0x1ee));for(const _0x4c0cc3 of _0x4375cc[_0x2205ce(0x1c6)]){const _0x185e9d=new Date(_0x4c0cc3[_0x2205ce(0x25e)])['toLocaleDateString'](_0x6ad734[_0x2205ce(0x243)],{'month':_0x2205ce(0x1c9),'day':_0x2205ce(0x1e3)}),_0x12b334=_0x4c0cc3['authorName']||_0x4c0cc3[_0x2205ce(0x23e)]||_0x2205ce(0x21b);console[_0x2205ce(0x23f)](_0x2205ce(0x1d0)+_0x12b334+'\x20('+_0x185e9d+_0x2205ce(0x1f0)+_0x4c0cc3['content']+'\x22');if(_0x4c0cc3['assetUrl']){const _0x190135=await downloadFeedbackImage(_0x4c0cc3['assetUrl'],_0x4c0cc3['id']);_0x190135&&console[_0x2205ce(0x23f)]('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x190135);}if(_0x4c0cc3['domRef']){const _0x3a9f89=_0x4c0cc3['domRef'][_0x2205ce(0x1ed)]['split'](_0x2205ce(0x1ba))['pop']()?.[_0x2205ce(0x23c)](':')[0x0]||_0x2205ce(0x288),_0x4ce174=_0x4c0cc3['domRef'][_0x2205ce(0x1b7)]?'\x20\x22'+_0x4c0cc3['domRef']['textContent']['slice'](0x0,0x3c)+'\x22':'';console[_0x2205ce(0x23f)]('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x3a9f89+'>'+_0x4ce174),console['log']('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x4c0cc3[_0x2205ce(0x259)]['selector']);}else{if(_0x4c0cc3['spatial']){const _0x54a719=_0x4c0cc3[_0x2205ce(0x22b)][_0x2205ce(0x277)];_0x6ad734[_0x2205ce(0x1db)](_0x4c0cc3[_0x2205ce(0x22b)]['type'],_0x2205ce(0x275))&&_0x6ad734['IJSHm'](_0x54a719[_0x2205ce(0x236)],0x2)?console[_0x2205ce(0x23f)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x54a719[0x0][_0x2205ce(0x1cd)](0x2)+',\x20'+_0x54a719[0x1][_0x2205ce(0x1cd)](0x2)+')'):console['log'](_0x2205ce(0x20b)+_0x4c0cc3['spatial'][_0x2205ce(0x283)]+_0x2205ce(0x1f2)+_0x54a719['map'](_0x14f613=>_0x14f613[_0x2205ce(0x1cd)](0x2))[_0x2205ce(0x224)](',\x20')+']');}}}if(_0x4375cc[_0x2205ce(0x1d8)]){console[_0x2205ce(0x23f)](_0x2205ce(0x279));for(const _0x1c96f4 of _0x4375cc[_0x2205ce(0x1d8)]['split']('\x0a')){console[_0x2205ce(0x23f)]('\x20\x20\x20\x20'+_0x1c96f4);}}}else console['log'](_0x2205ce(0x1f1)+_0x6ad734[_0x2205ce(0x214)](_0x5c3233,0x1)+':\x20\x22'+_0x2280ae['description']+'\x22'+_0x56ea1b+'\x20—\x20no\x20comments'),console['log'](_0x2205ce(0x219));console['log']('');}}export async function featureDelete(_0x4106f0){const _0x4f91bf=_0x3e12,_0x259406={'vIaCX':function(_0x105e99){return _0x105e99();},'vdkVr':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','cCROA':function(_0x341d0e,_0x518d03){return _0x341d0e(_0x518d03);},'NcxAh':function(_0x1d6325,_0x27e977){return _0x1d6325+_0x27e977;},'bLrlF':_0x4f91bf(0x20c)},_0x5b89c8=_0x4106f0||await _0x259406['vIaCX'](getActiveFeatureId);if(!_0x5b89c8)throw new Error(_0x259406[_0x4f91bf(0x251)]);const _0x16a929=await _0x259406[_0x4f91bf(0x1e6)](getFeature,_0x5b89c8);await softDeleteFeature(_0x5b89c8),console[_0x4f91bf(0x23f)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x16a929[_0x4f91bf(0x27c)]+'\x20('+_0x5b89c8+')'),console[_0x4f91bf(0x23f)](_0x259406[_0x4f91bf(0x25f)](_0x259406[_0x4f91bf(0x203)],_0x5b89c8));}export async function featureRestore(_0xf5ceb){const _0x2eb2e7=_0x3e12,_0x2f887e={'LzHIs':function(_0x1e4a9e,_0x4d38d2){return _0x1e4a9e(_0x4d38d2);},'gzclu':function(_0x4a8763,_0x508727,_0x3d0899){return _0x4a8763(_0x508727,_0x3d0899);}};await _0x2f887e[_0x2eb2e7(0x221)](restoreFeature,_0xf5ceb);const _0x3df9fd=await _0x2f887e['LzHIs'](getFeature,_0xf5ceb);console[_0x2eb2e7(0x23f)](_0x2eb2e7(0x1e5)+_0x3df9fd['name']+'\x20('+_0xf5ceb+')'),_0x2f887e[_0x2eb2e7(0x1f4)](displayFeature,_0x3df9fd,_0x3df9fd['checklistItems']);}
1
+ const _0x37e29=_0x5969;(function(_0x27572e,_0x1043f5){const _0x1b4b7d=_0x5969,_0x5a7efd=_0x27572e();while(!![]){try{const _0x50da31=-parseInt(_0x1b4b7d(0x289))/0x1+-parseInt(_0x1b4b7d(0x273))/0x2*(-parseInt(_0x1b4b7d(0x230))/0x3)+-parseInt(_0x1b4b7d(0x1f4))/0x4*(parseInt(_0x1b4b7d(0x1bb))/0x5)+parseInt(_0x1b4b7d(0x263))/0x6+-parseInt(_0x1b4b7d(0x22c))/0x7+parseInt(_0x1b4b7d(0x1d7))/0x8*(-parseInt(_0x1b4b7d(0x24a))/0x9)+parseInt(_0x1b4b7d(0x256))/0xa;if(_0x50da31===_0x1043f5)break;else _0x5a7efd['push'](_0x5a7efd['shift']());}catch(_0x5be046){_0x5a7efd['push'](_0x5a7efd['shift']());}}}(_0x190e,0x9eec6));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x49f4f1 from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x59cb86=>_0x37e29(0x225)+_0x59cb86+_0x37e29(0x26f);function getGitRepoUrl(){const _0x57e1b2=_0x37e29,_0x2c1d68={'UEIcl':function(_0x146006,_0x23cefb,_0x23d693){return _0x146006(_0x23cefb,_0x23d693);},'RoirS':'utf-8','girRl':_0x57e1b2(0x1b9)};try{const _0x552adb=_0x2c1d68[_0x57e1b2(0x218)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x2c1d68[_0x57e1b2(0x1da)],'stdio':[_0x2c1d68['girRl'],_0x2c1d68['girRl'],_0x57e1b2(0x1b9)]})[_0x57e1b2(0x22f)]();return _0x552adb[_0x57e1b2(0x207)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x57e1b2(0x1d6))[_0x57e1b2(0x207)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0xd359b3=_0x37e29;try{return execSync(_0xd359b3(0x1b7),{'encoding':'utf-8','stdio':[_0xd359b3(0x1b9),_0xd359b3(0x1b9),_0xd359b3(0x1b9)]})[_0xd359b3(0x22f)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x157bc5=_0x37e29,_0x144eb0={'hgABC':function(_0x3c5d5d,_0x3103d4,_0x225135){return _0x3c5d5d(_0x3103d4,_0x225135);},'TZPEn':function(_0x2cdfe1){return _0x2cdfe1();},'VmDoZ':function(_0x32ada8,_0x30b649){return _0x32ada8(_0x30b649);},'gZenN':'utf-8'},_0x19377f=_0x144eb0['hgABC'](join,_0x144eb0['TZPEn'](getRangerDir),ACTIVE_FEATURE_FILE);if(!_0x144eb0[_0x157bc5(0x221)](existsSync,_0x19377f))return null;try{const _0x4df002=await _0x144eb0['hgABC'](readFile,_0x19377f,_0x144eb0[_0x157bc5(0x237)]);return _0x4df002[_0x157bc5(0x22f)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x22ae6a){const _0x2f21c1=_0x37e29,_0x140f1c={'NJJvq':function(_0x3eb60c,_0x4ffe81,_0x547f6e){return _0x3eb60c(_0x4ffe81,_0x547f6e);},'ZnbhP':function(_0x13f9fe,_0x18f95d,_0x4aafc5,_0xa128e9){return _0x13f9fe(_0x18f95d,_0x4aafc5,_0xa128e9);},'GgeWV':_0x2f21c1(0x24b)},_0x4e92a7=getRangerDir(),_0x1212da=join(_0x4e92a7,ACTIVE_FEATURE_FILE);!existsSync(_0x4e92a7)&&await _0x140f1c[_0x2f21c1(0x1f8)](mkdir,_0x4e92a7,{'recursive':!![]}),await _0x140f1c[_0x2f21c1(0x267)](writeFile,_0x1212da,_0x22ae6a,_0x140f1c['GgeWV']);}function getProgressDisplay(_0x224fac){const _0x6bb61b=_0x37e29,_0x585314={'rDUof':function(_0x409261,_0x2f13ce){return _0x409261+_0x2f13ce;},'kHJsH':function(_0x5e6e81,_0x32aa3d){return _0x5e6e81*_0x32aa3d;},'Hcbzl':function(_0x263e90,_0x432e06){return _0x263e90-_0x432e06;},'jVdjx':function(_0x51366e,_0x358963){return _0x51366e>_0x358963;},'ixUJi':function(_0x317be0,_0x1c6b3c){return _0x317be0>_0x1c6b3c;}},_0x4a580e=_0x224fac[_0x6bb61b(0x1bc)]||0x0,_0x3aef7b=_0x224fac['verificationInProgressItems']||0x0,_0x115f85=_0x224fac[_0x6bb61b(0x26b)]||0x0,_0x4172a3=_0x224fac[_0x6bb61b(0x1eb)]||0x0,_0x5bd0ca=_0x224fac[_0x6bb61b(0x20b)]||0x0,_0x2a7a81=_0x585314[_0x6bb61b(0x1ad)](_0x4a580e+_0x3aef7b+_0x115f85,_0x4172a3)+_0x5bd0ca;if(_0x2a7a81===0x0)return'-';const _0x941119=0xa,_0xf04156=Math['round'](_0x585314[_0x6bb61b(0x25a)](_0x4a580e/_0x2a7a81,_0x941119)),_0x1015f2='█'['repeat'](_0xf04156)+'░'['repeat'](_0x585314['Hcbzl'](_0x941119,_0xf04156)),_0x2fd967=[];if(_0x585314[_0x6bb61b(0x279)](_0x115f85,0x0))_0x2fd967[_0x6bb61b(0x1b8)](_0x115f85+'\x20blocked');if(_0x585314[_0x6bb61b(0x279)](_0x4172a3,0x0))_0x2fd967[_0x6bb61b(0x1b8)](_0x4172a3+_0x6bb61b(0x272));if(_0x585314[_0x6bb61b(0x222)](_0x3aef7b,0x0))_0x2fd967[_0x6bb61b(0x1b8)](_0x3aef7b+'\x20in\x20progress');const _0x13a82a=_0x2fd967[_0x6bb61b(0x1e8)]>0x0?'\x20('+_0x2fd967[_0x6bb61b(0x21d)](',\x20')+')':'';return _0x1015f2+'\x20'+_0x4a580e+'/'+_0x2a7a81+'\x20verified'+_0x13a82a;}function getCurrentSessionItems(_0x1d7a20,_0x44e4a7){const _0x6a6dce=_0x37e29;if(!_0x1d7a20[_0x6a6dce(0x204)])return _0x44e4a7[_0x6a6dce(0x223)](_0x303d5b=>!_0x303d5b[_0x6a6dce(0x235)]);return _0x44e4a7[_0x6a6dce(0x223)](_0x579413=>_0x579413['sessionId']===_0x1d7a20['currentSessionId']||!_0x579413['sessionId']);}function displayFeature(_0x26094f,_0x179c8c){const _0x5850d7=_0x37e29,_0x1de81f={'HincJ':function(_0x43e1ce,_0x49c4b7){return _0x43e1ce(_0x49c4b7);},'RumZi':_0x5850d7(0x233),'MVGEe':function(_0x73ff7c,_0x5d32ae){return _0x73ff7c<_0x5d32ae;},'dFGSj':'closed','XupHI':function(_0x15ace3,_0x4afcca){return _0x15ace3===_0x4afcca;},'WEAyP':'blocked','StTuC':function(_0x354d33,_0x2a340f){return _0x354d33===_0x2a340f;},'noSTo':'verification_in_progress','NOccF':function(_0x391315,_0x37940b){return _0x391315>_0x37940b;},'znEwm':function(_0xd05251,_0x3a0208){return _0xd05251!==_0x3a0208;},'HPqgg':'\x20[has\x20reviewer\x20feedback]','UstmB':function(_0x3cbf3f,_0x36935e){return _0x3cbf3f+_0x36935e;},'JoGFr':_0x5850d7(0x211),'PAxSr':function(_0x5dab4b,_0x3212bd){return _0x5dab4b===_0x3212bd;},'GdGcY':function(_0x4cce2a,_0x1ea266){return _0x4cce2a===_0x1ea266;}};console[_0x5850d7(0x276)]('\x0a'+_0x26094f['name']+'\x20('+_0x26094f[_0x5850d7(0x268)]+')');_0x26094f[_0x5850d7(0x26e)]&&console[_0x5850d7(0x276)](_0x5850d7(0x23c)+_0x1de81f['HincJ'](getProgressDisplay,_0x26094f[_0x5850d7(0x26e)]));_0x26094f['description']&&console['log']('\x20\x20\x20Description:\x20'+_0x26094f['description']);_0x26094f[_0x5850d7(0x27a)]&&console['log'](_0x5850d7(0x1ab)+_0x26094f[_0x5850d7(0x27a)]);_0x26094f[_0x5850d7(0x208)]&&console[_0x5850d7(0x276)](_0x5850d7(0x1c2)+_0x26094f['gitBranch']);console['log'](_0x5850d7(0x1ca)+new Date(_0x26094f['createdAt'])[_0x5850d7(0x1ac)]());_0x26094f[_0x5850d7(0x22b)]&&console[_0x5850d7(0x276)]('\x20\x20\x20Completed:\x20'+new Date(_0x26094f[_0x5850d7(0x22b)])[_0x5850d7(0x1ac)]());if(_0x179c8c&&_0x179c8c['length']>0x0){console[_0x5850d7(0x276)](_0x1de81f[_0x5850d7(0x249)]);for(let _0x476e3c=0x0;_0x1de81f['MVGEe'](_0x476e3c,_0x179c8c['length']);_0x476e3c++){const _0x5889fc=_0x179c8c[_0x476e3c];let _0x277c9c;if(_0x5889fc[_0x5850d7(0x1c4)]===_0x1de81f['dFGSj']&&_0x5889fc[_0x5850d7(0x1ff)]===_0x5850d7(0x202))_0x277c9c='✅';else{if(_0x5889fc['status']==='verified')_0x277c9c='🟢';else{if(_0x5889fc['status']==='incomplete')_0x277c9c='🟠';else{if(_0x1de81f[_0x5850d7(0x20e)](_0x5889fc['status'],_0x1de81f['WEAyP']))_0x277c9c='🛑';else{if(_0x5889fc[_0x5850d7(0x1c4)]===_0x5850d7(0x283))_0x277c9c='⛔';else _0x1de81f[_0x5850d7(0x1b1)](_0x5889fc[_0x5850d7(0x1c4)],_0x1de81f['noSTo'])?_0x277c9c='⏳':_0x277c9c='⬜';}}}}const _0x250810=_0x5889fc[_0x5850d7(0x1fd)]>0x1?_0x5850d7(0x1ce)+_0x5889fc['version']+')':'',_0x3e547d=_0x1de81f['NOccF'](_0x5889fc['version'],0x1)&&_0x5889fc['parentItemId']&&_0x5889fc['status']!==_0x1de81f['dFGSj']&&_0x1de81f[_0x5850d7(0x1e1)](_0x5889fc[_0x5850d7(0x1c4)],_0x5850d7(0x1be))?_0x1de81f[_0x5850d7(0x1cb)]:'';console['log']('\x20\x20\x20'+_0x1de81f[_0x5850d7(0x229)](_0x476e3c,0x1)+'.\x20'+_0x277c9c+'\x20'+_0x5889fc['description']+_0x250810+_0x3e547d);_0x5889fc[_0x5850d7(0x1c4)]===_0x1de81f[_0x5850d7(0x1a5)]&&_0x5889fc[_0x5850d7(0x1f7)]&&console[_0x5850d7(0x276)](_0x5850d7(0x1bf)+_0x5889fc[_0x5850d7(0x1f7)]);_0x5889fc[_0x5850d7(0x1c4)]===_0x1de81f[_0x5850d7(0x1c1)]&&_0x5889fc[_0x5850d7(0x19f)]&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x5889fc['incompleteReason']);if(_0x1de81f[_0x5850d7(0x260)](_0x5889fc[_0x5850d7(0x1c4)],_0x5850d7(0x283))&&_0x5889fc['terminalReason']==='approved')console[_0x5850d7(0x276)](_0x5850d7(0x21a));else _0x1de81f['GdGcY'](_0x5889fc['status'],'closed')&&_0x5889fc[_0x5850d7(0x257)]&&console[_0x5850d7(0x276)](_0x5850d7(0x1c8)+_0x5889fc[_0x5850d7(0x257)]);}}}export async function featureCreate(_0xd349c3,_0x2bb9a9){const _0x570af0=_0x37e29,_0x29017c={'LmSSV':function(_0x5e6e5f){return _0x5e6e5f();},'eqSuD':function(_0x332434,_0x10c6d9){return _0x332434===_0x10c6d9;},'RhBCK':function(_0x1af965){return _0x1af965();},'FdsHT':function(_0x448fdd,_0x2d7a5b){return _0x448fdd(_0x2d7a5b);},'jmZnN':function(_0x45cd90,_0x3a8a99,_0x594462){return _0x45cd90(_0x3a8a99,_0x594462);},'KXeUX':function(_0x3dec64,_0xd0a8ac,_0x270470){return _0x3dec64(_0xd0a8ac,_0x270470);}},{envNames:_0x22599a}=await _0x29017c['LmSSV'](getEnvNames);if(_0x22599a['length']===0x0&&!process[_0x570af0(0x241)][_0x570af0(0x1c0)]){let _0x1c5e5f=0x0;try{_0x1c5e5f=(await listCloudProfiles())[_0x570af0(0x1e8)];}catch{_0x1c5e5f=0x1;}_0x29017c[_0x570af0(0x201)](_0x1c5e5f,0x0)&&console[_0x570af0(0x1b6)]('\x0a'+formatProfileRequiredMessage(_0x49dd9e=>bold(_0x49dd9e)));}const _0x39b2ca=_0x2bb9a9[_0x570af0(0x232)]?_0x2bb9a9['scenarios']['map'](_0x2055b2=>_0x2055b2['trim']()):[],_0x53a6bb=getGitRepoUrl(),_0x3df7ac=_0x29017c['RhBCK'](getGitBranch);console[_0x570af0(0x276)]('\x0aCreating\x20feature\x20review...');const _0x39515e=await _0x29017c['FdsHT'](createFeature,{'name':_0xd349c3,'description':_0x2bb9a9[_0x570af0(0x1a6)],'checklist':_0x39b2ca,'gitRepoUrl':_0x53a6bb,'gitBranch':_0x3df7ac});await setActiveFeatureId(_0x39515e['id']),await tryStartCurrentSession(_0x39515e['id']);const _0xdf1638=process[_0x570af0(0x241)]['CLAUDE_SESSION_ID'];_0xdf1638&&_0x29017c['jmZnN'](registerSession,_0xdf1638,_0x39515e['id']),console['log']('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x39515e['id']),_0x29017c['KXeUX'](displayFeature,_0x39515e,_0x39515e[_0x570af0(0x1e9)]),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x4e6e1a){const _0xc37c2=_0x37e29,_0x5880fc={'fzpis':function(_0x3440b4,_0x31e74c){return _0x3440b4>_0x31e74c;},'OVHAL':function(_0x1b2168,_0x327e88){return _0x1b2168(_0x327e88);},'OlsFl':function(_0x2535b4,_0x5f140b){return _0x2535b4+_0x5f140b;}},_0x2a140b={'limit':_0x4e6e1a['limit']??0xa,'offset':_0x4e6e1a[_0xc37c2(0x1bd)]??0x0,'includeDeleted':_0x4e6e1a[_0xc37c2(0x27f)]};_0x4e6e1a['currentBranch']&&(_0x2a140b['gitRepoUrl']=getGitRepoUrl(),_0x2a140b[_0xc37c2(0x208)]=getGitBranch());const _0x5292f2=await listFeatures(_0x2a140b);if(_0x5292f2[_0xc37c2(0x26c)]['length']===0x0){console[_0xc37c2(0x276)]('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0xa06899=_0x5880fc[_0xc37c2(0x1b4)](_0x5292f2['totalCount'],_0x5292f2[_0xc37c2(0x26c)][_0xc37c2(0x1e8)])?'Showing\x20'+_0x5292f2[_0xc37c2(0x26c)][_0xc37c2(0x1e8)]+_0xc37c2(0x1a0)+_0x5292f2['totalCount']:_0x5292f2[_0xc37c2(0x1c7)]+'\x20feature\x20review(s)\x20found';console['log']('\x0a'+_0xa06899+':\x0a');for(const _0x5088cb of _0x5292f2[_0xc37c2(0x26c)]){console['log'](''+_0x5088cb[_0xc37c2(0x21c)]),console['log'](_0xc37c2(0x1ed)+_0x5088cb['id']),_0x5088cb[_0xc37c2(0x26e)]&&console['log']('\x20\x20\x20Progress:\x20'+_0x5880fc[_0xc37c2(0x27e)](getProgressDisplay,_0x5088cb['stats'])),_0x5088cb['gitBranch']&&console['log'](_0xc37c2(0x1c2)+_0x5088cb['gitBranch']),console['log'](_0xc37c2(0x1ca)+new Date(_0x5088cb['createdAt'])[_0xc37c2(0x1f3)]()),console[_0xc37c2(0x276)]('');}const _0x3f6bca=_0x2a140b[_0xc37c2(0x1e0)]??0xa,_0x157051=_0x5880fc[_0xc37c2(0x1cc)](_0x2a140b[_0xc37c2(0x1bd)]??0x0,_0x5292f2['items'][_0xc37c2(0x1e8)]);if(_0x157051<_0x5292f2['totalCount']){const _0x10a0a3=_0x3f6bca!==0xa?_0xc37c2(0x25b)+_0x3f6bca:'',_0x4a653f=_0x4e6e1a['currentBranch']?'\x20--current-branch':'',_0x33460e=_0x4e6e1a[_0xc37c2(0x27f)]?'\x20--include-deleted':'';console['log'](_0xc37c2(0x1aa)+_0x157051+_0x10a0a3+_0x4a653f+_0x33460e);}}export async function featureShow(_0x36707d){const _0xb49224=_0x37e29,_0x321f0e={'DZGjn':function(_0x1c4bc6){return _0x1c4bc6();},'XXrpK':function(_0x5dd709,_0x5cd015){return _0x5dd709(_0x5cd015);},'aPrJg':function(_0x20cb50,_0x3debe,_0x405f48){return _0x20cb50(_0x3debe,_0x405f48);}},_0x102f5e=_0x36707d||await _0x321f0e['DZGjn'](getActiveFeatureId);if(!_0x102f5e)throw new Error(_0xb49224(0x219));const _0x850a1d=await _0x321f0e['XXrpK'](getFeature,_0x102f5e);_0x321f0e['aPrJg'](displayFeature,_0x850a1d,_0x850a1d[_0xb49224(0x1e9)]);}export async function featureResume(_0x2b249a){const _0x4a4c31=_0x37e29,_0x335669={'VfmNN':function(_0x5987f7,_0x57010d,_0x919ee9){return _0x5987f7(_0x57010d,_0x919ee9);},'JRVyL':function(_0x1e88e8,_0x3ec27a,_0x2834c3){return _0x1e88e8(_0x3ec27a,_0x2834c3);},'hAwRW':function(_0x180365,_0xdcd2f5){return _0x180365(_0xdcd2f5);},'hLbiG':function(_0x2c054d){return _0x2c054d();},'Fzcvo':function(_0x1fde4b){return _0x1fde4b();},'JrVnO':function(_0x2992e5,_0x348e35){return _0x2992e5&&_0x348e35;},'UoOAU':_0x4a4c31(0x1a8),'QuhUk':'any','Wyugz':function(_0x2d365a,_0x3c11b6){return _0x2d365a||_0x3c11b6;},'HUVGz':function(_0x1fb5e1,_0xdf80c0){return _0x1fb5e1===_0xdf80c0;},'sqveX':_0x4a4c31(0x214),'AAtSJ':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','faKCw':function(_0x20e880,_0x28a5d5){return _0x20e880===_0x28a5d5;},'nNZKU':'Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','kPels':_0x4a4c31(0x21b),'BWPwz':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','PhGCM':function(_0x473fa0,_0x1df80d){return _0x473fa0(_0x1df80d);},'ibdaY':function(_0x219568,_0x4dc3ee){return _0x219568(_0x4dc3ee);},'xFGsL':function(_0x1a8113,_0xbbeacd,_0x43479d){return _0x1a8113(_0xbbeacd,_0x43479d);}};if(_0x2b249a){const _0x3fb538=await getFeature(_0x2b249a);await setActiveFeatureId(_0x3fb538['id']);const _0x5be456=getGitBranch();_0x5be456&&_0x5be456!==_0x3fb538[_0x4a4c31(0x208)]&&(await _0x335669['VfmNN'](updateFeature,_0x3fb538['id'],{'gitBranch':_0x5be456}),console[_0x4a4c31(0x276)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x5be456));console[_0x4a4c31(0x276)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x3fb538['name']+'\x20('+_0x3fb538['id']+')'),await tryStartCurrentSession(_0x3fb538['id']);const _0x3e5ea5=process['env'][_0x4a4c31(0x254)];_0x3e5ea5&&_0x335669[_0x4a4c31(0x278)](registerSession,_0x3e5ea5,_0x3fb538['id']);displayFeature(_0x3fb538,_0x3fb538[_0x4a4c31(0x1e9)]),await _0x335669[_0x4a4c31(0x1e4)](printFeedbackNudge,_0x3fb538['id']);return;}const _0x4bbb15=_0x335669['hLbiG'](getGitRepoUrl),_0x5e2716=_0x335669['Fzcvo'](getGitBranch);if(_0x335669[_0x4a4c31(0x1d3)](!_0x4bbb15,!_0x5e2716))throw new Error(_0x335669[_0x4a4c31(0x1d8)]);console['log'](_0x4a4c31(0x285)+(_0x4bbb15||_0x335669[_0x4a4c31(0x1cf)])+'\x20/\x20'+_0x335669[_0x4a4c31(0x1e7)](_0x5e2716,_0x335669[_0x4a4c31(0x1cf)])+'...');const _0x3dc840=await listFeatures({'gitRepoUrl':_0x4bbb15,'gitBranch':_0x5e2716}),_0x38292f=_0x3dc840['items'][_0x4a4c31(0x223)](_0x512a3b=>_0x512a3b['status']?_0x512a3b[_0x4a4c31(0x1c4)]!=='verified':!_0x512a3b[_0x4a4c31(0x22b)]);if(_0x335669['HUVGz'](_0x38292f['length'],0x0)){console['log'](_0x335669[_0x4a4c31(0x25c)]),console['log'](_0x335669['AAtSJ']);return;}let _0x25d912;if(_0x335669[_0x4a4c31(0x227)](_0x38292f['length'],0x1))_0x25d912=_0x38292f[0x0];else{const _0x35076d=process['stdin']['isTTY']&&process['stdout'][_0x4a4c31(0x1e5)];if(!_0x35076d){console[_0x4a4c31(0x276)](_0x4a4c31(0x213));for(const _0x4e2c0d of _0x38292f){console[_0x4a4c31(0x276)]('\x20\x20'+_0x4e2c0d['name']),console['log'](_0x4a4c31(0x215)+_0x4e2c0d['id']),_0x4e2c0d['stats']&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x4e2c0d['stats'])),_0x4e2c0d[_0x4a4c31(0x208)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x4e2c0d[_0x4a4c31(0x208)]);}throw new Error(_0x335669['nNZKU']);}const {selected:_0x503a43}=await _0x49f4f1[_0x4a4c31(0x1dd)]([{'type':'list','name':_0x335669[_0x4a4c31(0x22a)],'message':_0x335669[_0x4a4c31(0x28a)],'choices':_0x38292f['map'](_0xe27e4c=>({'name':_0xe27e4c[_0x4a4c31(0x21c)]+'\x20('+_0xe27e4c['id']+')','value':_0xe27e4c['id']}))}]);_0x25d912=_0x38292f[_0x4a4c31(0x252)](_0x1029af=>_0x1029af['id']===_0x503a43);}await _0x335669['PhGCM'](setActiveFeatureId,_0x25d912['id']);_0x5e2716&&_0x5e2716!==_0x25d912['gitBranch']&&(await updateFeature(_0x25d912['id'],{'gitBranch':_0x5e2716}),console[_0x4a4c31(0x276)](_0x4a4c31(0x1df)+_0x5e2716));console[_0x4a4c31(0x276)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x25d912[_0x4a4c31(0x21c)]+'\x20('+_0x25d912['id']+')'),await _0x335669[_0x4a4c31(0x234)](tryStartCurrentSession,_0x25d912['id']);const _0x4077d1=await _0x335669['hAwRW'](getFeature,_0x25d912['id']),_0x9e7d19=process[_0x4a4c31(0x241)][_0x4a4c31(0x254)];_0x9e7d19&&_0x335669[_0x4a4c31(0x1a9)](registerSession,_0x9e7d19,_0x4077d1['id']),_0x335669[_0x4a4c31(0x278)](displayFeature,_0x4077d1,_0x4077d1['checklistItems']),await _0x335669[_0x4a4c31(0x23a)](printFeedbackNudge,_0x4077d1['id']);}async function printFeedbackNudge(_0xda7a8c){const _0x3cac63=_0x37e29,_0x3676b0={'xbVMJ':function(_0x6a93ca,_0x1944ed,_0x7c105b){return _0x6a93ca(_0x1944ed,_0x7c105b);},'TvDGS':_0x3cac63(0x25f)};try{const {items:_0x5259a1}=await getActionItems(_0xda7a8c);let _0x17cf54=0x0,_0x47f6ff=0x0;for(const _0x8d4de9 of _0x5259a1){const _0x25057=await _0x3676b0['xbVMJ'](getItemFeedback,_0xda7a8c,_0x8d4de9['id']);_0x25057[_0x3cac63(0x1fa)]['length']>0x0&&(_0x17cf54+=_0x25057['unaddressedComments'][_0x3cac63(0x1e8)],_0x47f6ff++);}_0x17cf54>0x0&&(console[_0x3cac63(0x276)](_0x3cac63(0x258)+_0x17cf54+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x47f6ff+'\x20scenario(s).'),console[_0x3cac63(0x276)](_0x3676b0['TvDGS']));}catch{}}function _0x5969(_0x1feb81,_0x26d8c8){_0x1feb81=_0x1feb81-0x19f;const _0x190e5c=_0x190e();let _0x5969f0=_0x190e5c[_0x1feb81];return _0x5969f0;}async function tryStartCurrentSession(_0x55de2e){const _0x18415e=_0x37e29;try{const {sessions:_0x38db5f}=await listFeatureSessions(_0x55de2e),_0x307acf=_0x38db5f['find'](_0xbaf9be=>_0xbaf9be[_0x18415e(0x1c4)]==='ready');_0x307acf&&(await startSession(_0x55de2e,_0x307acf['id']),console['log'](_0x18415e(0x248)+_0x307acf[_0x18415e(0x24e)]));}catch{}}export async function featureReport(_0x2b8c32,_0x731ab9){const _0x24125c=_0x37e29,_0x276957={'aEtSu':_0x24125c(0x203),'mRkon':function(_0xec8c82,_0x597a8d,_0x468190){return _0xec8c82(_0x597a8d,_0x468190);},'wssQt':function(_0x51af0a,_0x2bb601,_0x4a3c47,_0x4d938c){return _0x51af0a(_0x2bb601,_0x4a3c47,_0x4d938c);},'sBUah':function(_0x98d3af){return _0x98d3af();}},_0x14dfa4=_0x2b8c32||await getActiveFeatureId();if(!_0x14dfa4)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console[_0x24125c(0x276)](_0x276957[_0x24125c(0x24f)]);const _0x1f3c91=await _0x276957[_0x24125c(0x23b)](getFeatureReportMarkdown,_0x14dfa4,{'style':_0x731ab9['style']}),_0x2b4990=_0x731ab9['output']||_0x276957['wssQt'](join,_0x276957[_0x24125c(0x245)](getRangerDir),'reports',_0x14dfa4+'.md'),_0x3f5401=join(_0x2b4990,'..');!existsSync(_0x3f5401)&&await mkdir(_0x3f5401,{'recursive':!![]}),await _0x276957['wssQt'](writeFile,_0x2b4990,_0x1f3c91,'utf-8'),console[_0x24125c(0x276)](_0x24125c(0x20d)+_0x2b4990);}function getScenarioResult(_0x2e8e4c){const _0x4c0565=_0x37e29,_0x53b464={'nIcNN':function(_0x1a137f,_0x380cc3){return _0x1a137f===_0x380cc3;},'XEyCp':'closed','KKcLO':_0x4c0565(0x1fb)};if(_0x53b464[_0x4c0565(0x1fc)](_0x2e8e4c[_0x4c0565(0x1c4)],_0x53b464[_0x4c0565(0x1af)]))return _0x2e8e4c['terminalReason']??_0x53b464['XEyCp'];if(_0x2e8e4c[_0x4c0565(0x1c4)]===_0x4c0565(0x1c3))return _0x53b464['KKcLO'];return _0x2e8e4c[_0x4c0565(0x1c4)];}function getScenarioRationale(_0x1bfac9,_0x3e6488){const _0x4a63b6=_0x37e29,_0x379fee={'Ngyty':'3|5|0|4|1|2'},_0x26f009=_0x379fee[_0x4a63b6(0x271)][_0x4a63b6(0x1e2)]('|');let _0x56ae61=0x0;while(!![]){switch(_0x26f009[_0x56ae61++]){case'0':if(_0x1bfac9['incompleteReason'])return _0x1bfac9['incompleteReason'];continue;case'1':if(_0x1bfac9[_0x4a63b6(0x206)])return _0x1bfac9[_0x4a63b6(0x206)];continue;case'2':return null;case'3':if(_0x3e6488)return _0x3e6488;continue;case'4':if(_0x1bfac9['canceledReason'])return _0x1bfac9[_0x4a63b6(0x257)];continue;case'5':if(_0x1bfac9[_0x4a63b6(0x1f7)])return _0x1bfac9[_0x4a63b6(0x1f7)];continue;}break;}}export async function featureReportPrDescription(_0x4252d9,_0x4a0d85){const _0x32b751=_0x37e29,_0x448197={'Cgmsw':function(_0x2da603){return _0x2da603();},'hcoRo':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','cIIuz':function(_0x33372c,_0x5aa882){return _0x33372c(_0x5aa882);},'IKLaM':function(_0x35ffa0,_0x3b5e2b,_0xf197a7){return _0x35ffa0(_0x3b5e2b,_0xf197a7);},'ASVNS':function(_0x5a76ab,_0x144e2c){return _0x5a76ab===_0x144e2c;},'aAgGQ':'\x0aAvailable\x20scenarios:','dbEuQ':function(_0x3ee462,_0x3c0e1b){return _0x3ee462===_0x3c0e1b;},'UoQGL':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.','RthmM':function(_0x282134,_0x474191,_0x30545e){return _0x282134(_0x474191,_0x30545e);}},_0x5a4938=_0x4252d9||await _0x448197[_0x32b751(0x287)](getActiveFeatureId);if(!_0x5a4938)throw new Error(_0x448197[_0x32b751(0x210)]);const _0x311a8b=await _0x448197[_0x32b751(0x1d4)](getFeature,_0x5a4938),_0x4dd68c=_0x311a8b[_0x32b751(0x1e9)]||[],_0x3dbfc2=_0x448197[_0x32b751(0x238)](getCurrentSessionItems,_0x311a8b,_0x4dd68c);_0x448197['ASVNS'](_0x3dbfc2['length'],0x0)&&(console[_0x32b751(0x1d2)](_0x32b751(0x27c)),process[_0x32b751(0x200)](0x1));const _0x372c05=_0x4a0d85[_0x32b751(0x22d)]??[],_0x1f733d=_0x372c05['filter'](_0x827943=>!Number['isInteger'](_0x827943)||_0x827943<0x1||_0x827943>_0x3dbfc2[_0x32b751(0x1e8)]);if(_0x1f733d['length']>0x0){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x1f733d[_0x32b751(0x21d)](',\x20')),console[_0x32b751(0x276)](_0x448197[_0x32b751(0x242)]);for(let _0x314b45=0x0;_0x314b45<_0x3dbfc2[_0x32b751(0x1e8)];_0x314b45++){console['log']('\x20\x20'+(_0x314b45+0x1)+'.\x20'+_0x3dbfc2[_0x314b45]['description']);}process['exit'](0x1);}const _0x375534=new Set(_0x372c05[_0x32b751(0x1ef)](_0x5dc9ee=>_0x5dc9ee-0x1)),_0x2e1716=_0x3dbfc2[_0x32b751(0x223)]((_0x3fca1d,_0x1c5fae)=>!_0x375534[_0x32b751(0x1ec)](_0x1c5fae));_0x448197['dbEuQ'](_0x2e1716[_0x32b751(0x1e8)],0x0)&&(console[_0x32b751(0x1d2)](_0x448197[_0x32b751(0x253)]),process[_0x32b751(0x200)](0x1));if(_0x4a0d85['json'])await outputJsonReport(_0x5a4938,_0x311a8b,_0x2e1716);else{const _0x4e227c=await _0x448197[_0x32b751(0x25e)](getFeatureReportMarkdown,_0x5a4938,{'itemIds':_0x2e1716['map'](_0x3a44ab=>_0x3a44ab['id'])});process['stdout']['write'](_0x4e227c[_0x32b751(0x1b5)]()+'\x0a');}}async function outputJsonReport(_0x457c8c,_0x5c2b69,_0x50c0e7){const _0xa77ab9=_0x37e29,_0x9bd99c={'TNJnl':function(_0x21a0f4,_0x59816a){return _0x21a0f4(_0x59816a);}},_0x4e47cf=getApiBaseUrl(),_0x4f07dc=await getFeatureReport(_0x457c8c),_0x2a0d2e=new Map(_0x4f07dc['checklistItems'][_0xa77ab9(0x1ef)](_0x1297b3=>[_0x1297b3['id'],_0x1297b3])),_0x1b2f74=await Promise['all'](_0x50c0e7['map'](async _0x271a80=>{const _0x4e668a=_0xa77ab9,_0x948424=_0x2a0d2e[_0x4e668a(0x27d)](_0x271a80['id']),_0x4fdeb7=_0x948424?.['linkedSession']??null;let _0x2a4b4b=[];if(_0x271a80[_0x4e668a(0x1c5)])try{const {steps:_0x5a8828}=await getBrowserSessionSteps(_0x271a80[_0x4e668a(0x1c5)]);_0x5a8828['length']>0x0&&(_0x2a4b4b=_0x5a8828['map'](_0x369928=>{const _0x113b48=_0x4e668a,_0x3451b5=_0x369928[_0x113b48(0x1e3)][_0x113b48(0x252)](_0x5b09a5=>_0x5b09a5[_0x113b48(0x228)]===_0x113b48(0x246)&&_0x5b09a5['timing']===_0x113b48(0x20a))??_0x369928['assets']['find'](_0x342a15=>_0x342a15[_0x113b48(0x228)]===_0x113b48(0x246));let _0x277824=null,_0x348433=null;if(_0x3451b5){const _0x3c0850=_0x3451b5['storage'][_0x113b48(0x236)][_0x113b48(0x1e2)]('/')[_0x113b48(0x1a1)]();_0x277824=_0x4e47cf+_0x113b48(0x251)+_0x271a80['browserSessionId']+_0x113b48(0x1ba)+_0x3c0850,_0x3c0850&&(_0x348433=_0x3c0850['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x113b48(0x207)](/[-_]/g,'\x20'));}return{'description':_0x348433||_0x369928['description']||_0x369928[_0x113b48(0x274)]||_0x113b48(0x1fe)+_0x369928[_0x113b48(0x23e)],'screenshot':_0x277824,'is_key_step':_0x369928[_0x113b48(0x1a2)]};}));}catch{}return _0x2a4b4b['length']===0x0&&_0x4fdeb7?.[_0x4e668a(0x1d1)]&&(_0x2a4b4b=_0x4fdeb7['screenshotUrls']['map']((_0x3ecf9c,_0xa3c525)=>({'description':'Screenshot\x20'+(_0xa3c525+0x1),'screenshot':_0x3ecf9c,'is_key_step':![]}))),{'description':_0x271a80['description'],'result':_0x9bd99c[_0x4e668a(0x1b2)](getScenarioResult,_0x271a80),'rationale':getScenarioRationale(_0x271a80,_0x4fdeb7?.[_0x4e668a(0x288)]),'steps':_0x2a4b4b};})),_0x412ce1={'url':_0x5c2b69[_0xa77ab9(0x268)],'scenarios':_0x1b2f74};process[_0xa77ab9(0x247)]['write'](JSON['stringify'](_0x412ce1,null,0x2)+'\x0a');}function _0x190e(){const _0x128796=['\x0a✅\x20Scenario\x20updated','kduzI','grSxy','closed','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Cgmsw','agentResponse','1142547ZjaMmJ','BWPwz','selector','incompleteReason','\x20of\x20','pop','isKeyStep',':\x20\x22','sDQGr','WEAyP','description','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','Not\x20in\x20a\x20git\x20repository.','xFGsL','Next\x20page:\x20ranger\x20list\x20--offset\x20','\x20\x20\x20Repository:\x20','toLocaleString','rDUof','\x20Session\x20','XEyCp','zzQMY','StTuC','TNJnl','\x0a✅\x20Session\x20','fzpis','trimEnd','warn','git\x20rev-parse\x20--abbrev-ref\x20HEAD','push','pipe','/artifacts/','1001530LmobGw','verifiedItems','offset','verified','\x20\x20\x20\x20\x20\x20Blocked:\x20','RANGER_TEST_USERNAME','JoGFr','\x20\x20\x20Branch:\x20','verification_in_progress','status','browserSessionId','type','totalCount','\x20\x20\x20\x20\x20\x20Cancelled:\x20','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','\x20\x20\x20Created:\x20','HPqgg','OlsFl','\x20—\x20no\x20comments','\x20(v','QuhUk','No\x20sessions\x20found.','screenshotUrls','error','JrVnO','cIIuz','jCSIZ','github.com/','392bAbViV','UoOAU','xCYvc','RoirS','ccQxU','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','prompt','\x0a✅\x20Restored\x20feature\x20review:\x20','\x20\x20\x20Updated\x20branch\x20to:\x20','limit','znEwm','split','assets','hAwRW','isTTY','Scenario\x20','Wyugz','length','checklistItems','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','incompleteItems','has','\x20\x20\x20ID:\x20','\x20>\x20','map','authorName','XGdNn','NQiBY','toLocaleDateString','12IJvokv','wtMjs','kNXWq','blockedReason','NJJvq','coordinates','unaddressedComments','in_progress','nIcNN','version','Step\x20','terminalReason','exit','eqSuD','approved','\x0aGenerating\x20report...','currentSessionId','point','notes','replace','gitBranch','krbOh','after','pendingItems','jSXAj','\x0a✅\x20Report\x20generated:\x20','XupHI','qxwAM','hcoRo','incomplete','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','\x20\x20\x20\x20\x20ID:\x20','\x20\x20\x20\x20','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','UEIcl','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20\x20\x20\x20\x20\x20Approved','selected','name','join','createdAt','numeric','toFixed','VmDoZ','ixUJi','filter','textContent','\x1b[1m','JqAZE','faKCw','assetType','UstmB','kPels','completedAt','134484WcCkOw','excludeScenarios','.\x20Feature\x20review\x20has\x20','trim','591GOZsHr','domRef','scenarios','\x0a\x20\x20\x20Scenarios:','ibdaY','sessionId','location','gZenN','IKLaM','SYBXZ','PhGCM','mRkon','\x20\x20\x20Progress:\x20','MOjBh','position','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','ktWZj','env','aAgGQ','gUspN','completed','sBUah','screenshot','stdout','\x20\x20\x20▶️\x20Started\x20session\x20','RumZi','74943EgWItr','utf-8','from','latestReview','iteration','aEtSu','canonicalFlow','/api/v1/mcp/browser-sessions/','find','UoQGL','CLAUDE_SESSION_ID','ZLdfd','15830540iUzXJJ','canceledReason','\x0a⚠️\x20\x20','\x20scenarios.','kHJsH','\x20--limit\x20','sqveX','spatial','RthmM','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','PAxSr','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','eTgaJ','1632684hoeKJS','short','comment_','Please\x20finish\x20your\x20review\x20first:','ZnbhP','dashboardUrl','\x20unaddressed\x20comment(s)','element','blockedItems','items','DUpMg','stats','\x1b[0m','submittedAt','Ngyty','\x20incomplete','9812OInoit','stepName','vxtEb','log','scenario','JRVyL','jVdjx','gitRepoUrl','cDtHC','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','get','OVHAL','includeDeleted'];_0x190e=function(){return _0x128796;};return _0x190e();}export async function featureConcludeSession(_0x37b35e){const _0x1c5944=_0x37e29,_0x24d54a={'qxwAM':function(_0x1abb39){return _0x1abb39();},'Orfyq':_0x1c5944(0x219),'Zyzay':function(_0x13eca8,_0x123bb2){return _0x13eca8(_0x123bb2);},'cfCFk':function(_0x54c1f5,_0x1d8475){return _0x54c1f5(_0x1d8475);},'krbOh':function(_0x25dcba,_0x1a8159){return _0x25dcba===_0x1a8159;},'YuwWN':_0x1c5944(0x244),'JqAZE':function(_0x523d89,_0x27ca69,_0x25ebb5){return _0x523d89(_0x27ca69,_0x25ebb5);}},_0x3167b9=_0x37b35e||await _0x24d54a[_0x1c5944(0x20f)](getActiveFeatureId);if(!_0x3167b9)throw new Error(_0x24d54a['Orfyq']);const _0x14611c=await _0x24d54a['Zyzay'](getFeature,_0x3167b9);if(!_0x14611c[_0x1c5944(0x204)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x30af0b}=await _0x24d54a['cfCFk'](listFeatureSessions,_0x3167b9),_0x40532d=_0x30af0b['find'](_0x4e0a1b=>_0x4e0a1b['id']===_0x14611c['currentSessionId']);if(!_0x40532d)throw new Error('Current\x20session\x20not\x20found.');if(_0x24d54a[_0x1c5944(0x209)](_0x40532d['status'],_0x24d54a['YuwWN'])){console[_0x1c5944(0x276)]('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x40532d[_0x1c5944(0x1c4)]!=='in_progress')throw new Error(_0x1c5944(0x284)+_0x40532d[_0x1c5944(0x1c4)]);console['log']('\x0aConcluding\x20session...'),await _0x24d54a[_0x1c5944(0x226)](concludeSession,_0x3167b9,_0x14611c[_0x1c5944(0x204)]),console[_0x1c5944(0x276)](_0x1c5944(0x1b3)+_0x40532d[_0x1c5944(0x24e)]+'\x20concluded.'),console['log']('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x8c574f){const _0x508c0f=_0x37e29,_0x5a3329={'XGdNn':_0x508c0f(0x286),'WBHRC':function(_0x3ccdda,_0x306aa2){return _0x3ccdda(_0x306aa2);},'Zvqzg':_0x508c0f(0x1d0),'UXKiE':'in_progress'},_0x54c9c5=_0x8c574f||await getActiveFeatureId();if(!_0x54c9c5)throw new Error(_0x5a3329[_0x508c0f(0x1f1)]);const _0x4dec31=await getFeature(_0x54c9c5);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x4dec31[_0x508c0f(0x21c)]+'\x0a');const {sessions:_0xc2e7e5}=await _0x5a3329['WBHRC'](listFeatureSessions,_0x54c9c5);if(_0xc2e7e5['length']===0x0){console[_0x508c0f(0x276)](_0x5a3329['Zvqzg']);return;}for(const _0x41bae9 of _0xc2e7e5){const _0x25400c=_0x41bae9[_0x508c0f(0x1c4)]==='completed'?'✅':_0x41bae9[_0x508c0f(0x1c4)]===_0x5a3329['UXKiE']?'🔄':'▶️';console['log'](_0x25400c+_0x508c0f(0x1ae)+_0x41bae9[_0x508c0f(0x24e)]+'\x20('+_0x41bae9['id']+')'),console[_0x508c0f(0x276)]('\x20\x20\x20Status:\x20'+_0x41bae9[_0x508c0f(0x1c4)]),console[_0x508c0f(0x276)]('\x20\x20\x20Created:\x20'+new Date(_0x41bae9[_0x508c0f(0x21e)])['toLocaleString']()),_0x41bae9['completedAt']&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x41bae9[_0x508c0f(0x22b)])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0xef47bb,_0x2eb412){const _0x21f0d6=_0x37e29,_0x358900={'MOjBh':function(_0x1b6649,_0x300741,_0x112f68){return _0x1b6649(_0x300741,_0x112f68);},'eTgaJ':function(_0x2a0b96,_0x5c84bb){return _0x2a0b96(_0x5c84bb);}},_0x233d28=_0x2eb412||await getActiveFeatureId();if(!_0x233d28)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x18f18e=await getFeature(_0x233d28);if(_0x18f18e['latestReview']&&!_0x18f18e['latestReview'][_0x21f0d6(0x270)])throw new Error(_0x21f0d6(0x212)+_0x18f18e[_0x21f0d6(0x268)]);await _0x358900[_0x21f0d6(0x23d)](createChecklistItem,_0x233d28,_0xef47bb);const _0x1a3dc5=await _0x358900[_0x21f0d6(0x262)](getFeature,_0x233d28);console[_0x21f0d6(0x276)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x1a3dc5,_0x1a3dc5['checklistItems']);}export async function featureEditScenario(_0x1bbe74,_0x27f612){const _0x2af5d0=_0x37e29,_0x3bb37e={'jCSIZ':function(_0x1f5ec5){return _0x1f5ec5();},'nksuW':_0x2af5d0(0x23f),'KptbM':function(_0x206447,_0x531cc0){return _0x206447(_0x531cc0);},'qCqoB':_0x2af5d0(0x1a7),'gUspN':_0x2af5d0(0x266),'kNXWq':function(_0x101bf0,_0x557e37){return _0x101bf0===_0x557e37;},'jSXAj':function(_0x2e4c16,_0x25314f){return _0x2e4c16<_0x25314f;},'xCYvc':function(_0x390e87,_0x4d7a03){return _0x390e87+_0x4d7a03;},'kduzI':'\x0aAvailable\x20scenarios:'},_0x3ba821=_0x27f612['id']||await _0x3bb37e[_0x2af5d0(0x1d5)](getActiveFeatureId);!_0x3ba821&&(console['error'](_0x2af5d0(0x1dc)),console[_0x2af5d0(0x1d2)](_0x3bb37e['nksuW']),process['exit'](0x1));const _0x34b264=await _0x3bb37e['KptbM'](getFeature,_0x3ba821);_0x34b264['latestReview']&&!_0x34b264[_0x2af5d0(0x24d)]['submittedAt']&&(console['error'](_0x3bb37e['qCqoB']),console['error'](_0x3bb37e[_0x2af5d0(0x243)]),console[_0x2af5d0(0x1d2)]('\x20\x20'+_0x34b264[_0x2af5d0(0x268)]),process['exit'](0x1));const _0x2fcb18=_0x34b264[_0x2af5d0(0x1e9)]||[];_0x3bb37e[_0x2af5d0(0x1f6)](_0x2fcb18[_0x2af5d0(0x1e8)],0x0)&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x2af5d0(0x200)](0x1));if(_0x27f612[_0x2af5d0(0x277)]===undefined){console[_0x2af5d0(0x1d2)]('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console['log']('\x0aAvailable\x20scenarios:');for(let _0x4984ff=0x0;_0x3bb37e[_0x2af5d0(0x20c)](_0x4984ff,_0x2fcb18['length']);_0x4984ff++){console[_0x2af5d0(0x276)]('\x20\x20'+_0x3bb37e[_0x2af5d0(0x1d9)](_0x4984ff,0x1)+'.\x20'+_0x2fcb18[_0x4984ff]['description']);}process['exit'](0x1);}const _0x5f1828=_0x27f612['scenario']-0x1;if(_0x3bb37e[_0x2af5d0(0x20c)](_0x5f1828,0x0)||_0x5f1828>=_0x2fcb18['length']){console[_0x2af5d0(0x1d2)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x27f612[_0x2af5d0(0x277)]+_0x2af5d0(0x22e)+_0x2fcb18['length']+_0x2af5d0(0x259)),console['log'](_0x3bb37e[_0x2af5d0(0x281)]);for(let _0x2728d8=0x0;_0x2728d8<_0x2fcb18[_0x2af5d0(0x1e8)];_0x2728d8++){console['log']('\x20\x20'+(_0x2728d8+0x1)+'.\x20'+_0x2fcb18[_0x2728d8]['description']);}process['exit'](0x1);}const _0x35fc1b=_0x2fcb18[_0x5f1828];await updateChecklistItem(_0x3ba821,_0x35fc1b['id'],{'description':_0x1bbe74});const _0x5ca92d=await getFeature(_0x3ba821);console['log'](_0x2af5d0(0x280)),displayFeature(_0x5ca92d,_0x5ca92d[_0x2af5d0(0x1e9)]);}async function downloadFeedbackImage(_0x55196b,_0x15fd5b){const _0x56719f=_0x37e29,_0x424199={'DUpMg':function(_0x40ba25,_0x588253,_0x4727ae){return _0x40ba25(_0x588253,_0x4727ae);},'cDtHC':function(_0x231091,_0x3fd6a7){return _0x231091(_0x3fd6a7);}};try{const _0x2f30ee=_0x424199[_0x56719f(0x26d)](join,getRangerDir(),'feedback-images');await mkdir(_0x2f30ee,{'recursive':!![]});const _0x339deb=join(_0x2f30ee,_0x56719f(0x265)+_0x15fd5b+'.png'),_0x33f55e=await _0x424199[_0x56719f(0x27b)](fetch,_0x55196b);if(!_0x33f55e['ok'])return null;const _0x561e10=Buffer[_0x56719f(0x24c)](await _0x33f55e['arrayBuffer']());return await _0x424199['DUpMg'](writeFile,_0x339deb,_0x561e10),_0x339deb;}catch{return null;}}export async function featureGetReview(_0x50aa98){const _0x828d4c=_0x37e29,_0x1ea77f={'wtMjs':_0x828d4c(0x219),'grSxy':function(_0x20fea6,_0x5a4283){return _0x20fea6(_0x5a4283);},'ZFdUP':function(_0x1bece9,_0x539361){return _0x1bece9===_0x539361;},'ccQxU':'No\x20scenarios\x20found.','rAOIS':function(_0x1038ab,_0x212e89,_0x497629){return _0x1038ab(_0x212e89,_0x497629);},'vxtEb':function(_0x2feab6,_0x41dc17){return _0x2feab6>_0x41dc17;},'QoZHE':'en-US','SYBXZ':_0x828d4c(0x21f),'ZLdfd':function(_0x3d3e9b,_0x16eb3a,_0x49ff1f){return _0x3d3e9b(_0x16eb3a,_0x49ff1f);},'DdSBd':_0x828d4c(0x1ee),'fNoyA':_0x828d4c(0x205),'NQiBY':function(_0x164c3d,_0x1e7487){return _0x164c3d>=_0x1e7487;}},_0x59d37c=_0x50aa98||await getActiveFeatureId();if(!_0x59d37c)throw new Error(_0x1ea77f[_0x828d4c(0x1f5)]);const _0x4e5f84=await _0x1ea77f[_0x828d4c(0x282)](getFeature,_0x59d37c),{items:_0x2087cb}=await getActionItems(_0x59d37c);console[_0x828d4c(0x276)]('\x0a📋\x20Feedback\x20for:\x20'+_0x4e5f84['name']+'\x20('+_0x4e5f84['id']+')\x0a');if(_0x1ea77f['ZFdUP'](_0x2087cb['length'],0x0)){console['log'](_0x1ea77f[_0x828d4c(0x1db)]);return;}for(let _0x58c052=0x0;_0x58c052<_0x2087cb['length'];_0x58c052++){const _0x3d614d=_0x2087cb[_0x58c052],_0x59fba3=_0x3d614d['version']>0x1?_0x828d4c(0x1ce)+_0x3d614d[_0x828d4c(0x1fd)]+')':'',_0x293db2=await _0x1ea77f['rAOIS'](getItemFeedback,_0x59d37c,_0x3d614d['id']);if(_0x1ea77f[_0x828d4c(0x275)](_0x293db2[_0x828d4c(0x1fa)]['length'],0x0)){console['log'](_0x828d4c(0x1e6)+(_0x58c052+0x1)+_0x828d4c(0x1a3)+_0x3d614d[_0x828d4c(0x1a6)]+'\x22'+_0x59fba3+'\x20—\x20'+_0x293db2['unaddressedComments']['length']+_0x828d4c(0x269));for(const _0x23d0a6 of _0x293db2[_0x828d4c(0x1fa)]){const _0x5caeba=new Date(_0x23d0a6[_0x828d4c(0x21e)])[_0x828d4c(0x1f3)](_0x1ea77f['QoZHE'],{'month':_0x828d4c(0x264),'day':_0x1ea77f[_0x828d4c(0x239)]}),_0x53be43=_0x23d0a6[_0x828d4c(0x1f0)]||_0x23d0a6['authorEmail']||'Unknown';console[_0x828d4c(0x276)]('\x20\x20💬\x20'+_0x53be43+'\x20('+_0x5caeba+'):\x20\x22'+_0x23d0a6['content']+'\x22');if(_0x23d0a6['assetUrl']){const _0x138195=await _0x1ea77f[_0x828d4c(0x255)](downloadFeedbackImage,_0x23d0a6['assetUrl'],_0x23d0a6['id']);_0x138195&&console['log'](_0x828d4c(0x261)+_0x138195);}if(_0x23d0a6[_0x828d4c(0x231)]){const _0x39bb7c=_0x23d0a6[_0x828d4c(0x231)][_0x828d4c(0x28b)][_0x828d4c(0x1e2)](_0x1ea77f['DdSBd'])['pop']()?.[_0x828d4c(0x1e2)](':')[0x0]||_0x828d4c(0x26a),_0x55d995=_0x23d0a6[_0x828d4c(0x231)][_0x828d4c(0x224)]?'\x20\x22'+_0x23d0a6[_0x828d4c(0x231)]['textContent']['slice'](0x0,0x3c)+'\x22':'';console['log'](_0x828d4c(0x1ea)+_0x39bb7c+'>'+_0x55d995),console['log']('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x23d0a6['domRef']['selector']);}else{if(_0x23d0a6[_0x828d4c(0x25d)]){const _0x20d83c=_0x23d0a6['spatial'][_0x828d4c(0x1f9)];_0x1ea77f['ZFdUP'](_0x23d0a6['spatial']['type'],_0x1ea77f['fNoyA'])&&_0x1ea77f[_0x828d4c(0x1f2)](_0x20d83c[_0x828d4c(0x1e8)],0x2)?console[_0x828d4c(0x276)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x20d83c[0x0]['toFixed'](0x2)+',\x20'+_0x20d83c[0x1][_0x828d4c(0x220)](0x2)+')'):console['log'](_0x828d4c(0x1c9)+_0x23d0a6[_0x828d4c(0x25d)][_0x828d4c(0x1c6)]+'\x20at\x20['+_0x20d83c[_0x828d4c(0x1ef)](_0x4a0889=>_0x4a0889[_0x828d4c(0x220)](0x2))['join'](',\x20')+']');}}}if(_0x293db2['canonicalFlow']){console['log']('\x20\x20Expected\x20flow:');for(const _0x35bdd0 of _0x293db2[_0x828d4c(0x250)]['split']('\x0a')){console['log'](_0x828d4c(0x216)+_0x35bdd0);}}}else console[_0x828d4c(0x276)](_0x828d4c(0x1e6)+(_0x58c052+0x1)+':\x20\x22'+_0x3d614d['description']+'\x22'+_0x59fba3+_0x828d4c(0x1cd)),console[_0x828d4c(0x276)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}export async function featureDelete(_0x1fb726){const _0x3ab4a1=_0x37e29,_0x334523={'zzQMY':function(_0xec5bf0,_0x31b768){return _0xec5bf0(_0x31b768);},'sDQGr':function(_0x490972,_0x574021){return _0x490972+_0x574021;}},_0x56f023=_0x1fb726||await getActiveFeatureId();if(!_0x56f023)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x1295f0=await _0x334523[_0x3ab4a1(0x1b0)](getFeature,_0x56f023);await softDeleteFeature(_0x56f023),console['log'](_0x3ab4a1(0x217)+_0x1295f0['name']+'\x20('+_0x56f023+')'),console[_0x3ab4a1(0x276)](_0x334523[_0x3ab4a1(0x1a4)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20',_0x56f023));}export async function featureRestore(_0x4a382b){const _0x2aca5c=_0x37e29,_0x5a2672={'ktWZj':function(_0x1b4d34,_0x3d3c26){return _0x1b4d34(_0x3d3c26);}};await _0x5a2672[_0x2aca5c(0x240)](restoreFeature,_0x4a382b);const _0x468e54=await _0x5a2672['ktWZj'](getFeature,_0x4a382b);console[_0x2aca5c(0x276)](_0x2aca5c(0x1de)+_0x468e54[_0x2aca5c(0x21c)]+'\x20('+_0x4a382b+')'),displayFeature(_0x468e54,_0x468e54['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x4ca32a,_0x414b98){const _0xbff65a=_0x2553,_0x4c0a62=_0x4ca32a();while(!![]){try{const _0x458dd2=-parseInt(_0xbff65a(0x16a))/0x1*(-parseInt(_0xbff65a(0x16f))/0x2)+-parseInt(_0xbff65a(0x171))/0x3*(-parseInt(_0xbff65a(0x179))/0x4)+parseInt(_0xbff65a(0x170))/0x5*(parseInt(_0xbff65a(0x172))/0x6)+-parseInt(_0xbff65a(0x173))/0x7*(-parseInt(_0xbff65a(0x165))/0x8)+parseInt(_0xbff65a(0x175))/0x9*(-parseInt(_0xbff65a(0x16e))/0xa)+parseInt(_0xbff65a(0x16c))/0xb*(parseInt(_0xbff65a(0x167))/0xc)+parseInt(_0xbff65a(0x164))/0xd*(-parseInt(_0xbff65a(0x16b))/0xe);if(_0x458dd2===_0x414b98)break;else _0x4c0a62['push'](_0x4c0a62['shift']());}catch(_0x5cd1ad){_0x4c0a62['push'](_0x4c0a62['shift']());}}}(_0x4bd8,0x77d16));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x2553(_0x1edac7,_0x229b49){_0x1edac7=_0x1edac7-0x164;const _0x4bd8c4=_0x4bd8();let _0x2553ba=_0x4bd8c4[_0x1edac7];return _0x2553ba;}const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x3977d8=_0x2553,_0x4db867={'EpkWJ':_0x3977d8(0x177),'DhOeL':_0x3977d8(0x16d)};if(cancellationHandlersInstalled)return;const _0x293207=()=>{const _0x5ef343=_0x3977d8;process[_0x5ef343(0x176)](0x0);};process[_0x3977d8(0x168)](_0x4db867[_0x3977d8(0x178)],_0x293207),process['once']('SIGTERM',_0x293207),process[_0x3977d8(0x168)](_0x4db867['DhOeL'],_0x293207),cancellationHandlersInstalled=!![];}function _0x4bd8(){const _0x59fe7c=['26EyYjBM','316040eQptaU','keys','1200516avfgQw','once','Unknown\x20hook:\x20','310647Lyfxme','16843162aIlCPc','55kNUGgF','SIGHUP','3934010OPoRFT','6glwxNI','30nXPhZh','1130271Wudsgh','612318BoXzBd','154lbfiMP','error','9OkQUsZ','exit','SIGINT','EpkWJ','4dLrtke'];_0x4bd8=function(){return _0x59fe7c;};return _0x4bd8();}export async function hook(_0x4c0d15,_0x53ae0b){const _0x39bbc5=_0x2553,_0x32deed={'xttiP':function(_0xb6444a){return _0xb6444a();},'OZWIJ':function(_0x51ee82,_0x5ba03a){return _0x51ee82(_0x5ba03a);}};_0x32deed['xttiP'](installCancellationHandlers);const _0x3bb305=HOOKS[_0x4c0d15];if(!_0x3bb305){const _0xc67b7e=Object[_0x39bbc5(0x166)](HOOKS)['join'](',\x20');console[_0x39bbc5(0x174)](_0x39bbc5(0x169)+_0x4c0d15),console[_0x39bbc5(0x174)]('Valid\x20hooks:\x20'+_0xc67b7e),process[_0x39bbc5(0x176)](0x1);}await _0x32deed['OZWIJ'](_0x3bb305,_0x53ae0b);}
1
+ (function(_0x5000f8,_0x1e7f21){const _0x14d072=_0x281b,_0x21bf73=_0x5000f8();while(!![]){try{const _0xb8fa87=parseInt(_0x14d072(0x1fb))/0x1*(-parseInt(_0x14d072(0x1fc))/0x2)+parseInt(_0x14d072(0x1f5))/0x3+-parseInt(_0x14d072(0x201))/0x4+parseInt(_0x14d072(0x200))/0x5*(parseInt(_0x14d072(0x1f8))/0x6)+-parseInt(_0x14d072(0x203))/0x7+-parseInt(_0x14d072(0x1f1))/0x8+-parseInt(_0x14d072(0x1fa))/0x9*(-parseInt(_0x14d072(0x1fd))/0xa);if(_0xb8fa87===_0x1e7f21)break;else _0x21bf73['push'](_0x21bf73['shift']());}catch(_0x3aa96d){_0x21bf73['push'](_0x21bf73['shift']());}}}(_0x4e1e,0x617b5));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};function _0x4e1e(){const _0x4d1208=['keys','Valid\x20hooks:\x20','533586ZaZiBZ','SIGHUP','945wzsKNJ','529oBuByB','2026ybqJLT','70730eIopvy','error','exit','10xIeaQS','1147488aVlFsD','bUJTS','579348JDOuvu','once','638368vUVBqw','Unknown\x20hook:\x20','join','uwOzC','1392201NQPSWi'];_0x4e1e=function(){return _0x4d1208;};return _0x4e1e();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x22a128=_0x281b,_0x36538c={'bUJTS':'SIGINT'};if(cancellationHandlersInstalled)return;const _0x87fcb4=()=>{process['exit'](0x0);};process[_0x22a128(0x204)](_0x36538c[_0x22a128(0x202)],_0x87fcb4),process[_0x22a128(0x204)]('SIGTERM',_0x87fcb4),process['once'](_0x22a128(0x1f9),_0x87fcb4),cancellationHandlersInstalled=!![];}function _0x281b(_0x373aeb,_0x50b4f7){_0x373aeb=_0x373aeb-0x1f1;const _0x4e1e7b=_0x4e1e();let _0x281b54=_0x4e1e7b[_0x373aeb];return _0x281b54;}export async function hook(_0xafcd3e,_0x5a3c28){const _0xd0e830=_0x281b,_0x5ac822={'uwOzC':function(_0xb1b957){return _0xb1b957();},'SgiDv':function(_0x2c5309,_0x186c2){return _0x2c5309(_0x186c2);}};_0x5ac822[_0xd0e830(0x1f4)](installCancellationHandlers);const _0x2bece4=HOOKS[_0xafcd3e];if(!_0x2bece4){const _0x2f5b63=Object[_0xd0e830(0x1f6)](HOOKS)[_0xd0e830(0x1f3)](',\x20');console[_0xd0e830(0x1fe)](_0xd0e830(0x1f2)+_0xafcd3e),console['error'](_0xd0e830(0x1f7)+_0x2f5b63),process[_0xd0e830(0x1ff)](0x1);}await _0x5ac822['SgiDv'](_0x2bece4,_0x5a3c28);}
@@ -1 +1 @@
1
- (function(_0x43ce19,_0x57e56d){const _0x2e3f18=_0x16d7,_0x1125fa=_0x43ce19();while(!![]){try{const _0x4625b5=-parseInt(_0x2e3f18(0x157))/0x1*(-parseInt(_0x2e3f18(0x156))/0x2)+parseInt(_0x2e3f18(0x158))/0x3+parseInt(_0x2e3f18(0x154))/0x4+-parseInt(_0x2e3f18(0x15f))/0x5*(-parseInt(_0x2e3f18(0x15d))/0x6)+parseInt(_0x2e3f18(0x155))/0x7+-parseInt(_0x2e3f18(0x15a))/0x8+-parseInt(_0x2e3f18(0x15c))/0x9;if(_0x4625b5===_0x57e56d)break;else _0x1125fa['push'](_0x1125fa['shift']());}catch(_0x331930){_0x1125fa['push'](_0x1125fa['shift']());}}}(_0x4ced,0x3c3fd));import{readHookInput}from'./output.js';function _0x16d7(_0x424e9c,_0x2d5db9){_0x424e9c=_0x424e9c-0x154;const _0x4cedc2=_0x4ced();let _0x16d7d2=_0x4cedc2[_0x424e9c];return _0x16d7d2;}import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT='\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.';function _0x4ced(){const _0x46644c=['log','10688058ucKAuL','6irzTjj','session_id','1672235dDaBlS','1328940HWmytO','3099096qAGYQZ','333786uSLaar','2bNhVgN','1203555pmYPcG','BKreS','3280304zFDojS'];_0x4ced=function(){return _0x46644c;};return _0x4ced();}export async function autoPrompt(){const _0x2b203b=_0x16d7,_0x20e16c={'DxZOe':function(_0xab3276,_0x1a076a){return _0xab3276(_0x1a076a);},'BKreS':function(_0x416e4e,_0x2a7dda){return _0x416e4e(_0x2a7dda);}},_0x501be0=await readHookInput(),_0x531f9a=_0x501be0?.[_0x2b203b(0x15e)];if(!_0x531f9a)return;if(_0x20e16c['DxZOe'](isSessionEnabled,_0x531f9a)||hasSessionBeenPrompted(_0x531f9a))return;_0x20e16c[_0x2b203b(0x159)](markSessionPrompted,_0x531f9a),console[_0x2b203b(0x15b)](AUTO_PROMPT_TEXT);}
1
+ function _0x902b(){const _0x2cc008=['1544gcNGWS','6164EDhBZz','log','\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.','HuQSe','2447280rcCpXH','3204732FpyGOq','300775qmvlYf','47646SiYLpo','831guBuZA','411110pOeorB','bSKHz','2224532DFTwPs'];_0x902b=function(){return _0x2cc008;};return _0x902b();}const _0x420f08=_0x3107;(function(_0x389ce2,_0x3655f8){const _0x3c1ed6=_0x3107,_0x11e256=_0x389ce2();while(!![]){try{const _0x2467d3=-parseInt(_0x3c1ed6(0x18a))/0x1+-parseInt(_0x3c1ed6(0x184))/0x2*(parseInt(_0x3c1ed6(0x17f))/0x3)+parseInt(_0x3c1ed6(0x182))/0x4+parseInt(_0x3c1ed6(0x188))/0x5+-parseInt(_0x3c1ed6(0x189))/0x6+parseInt(_0x3c1ed6(0x180))/0x7+-parseInt(_0x3c1ed6(0x183))/0x8*(-parseInt(_0x3c1ed6(0x18b))/0x9);if(_0x2467d3===_0x3655f8)break;else _0x11e256['push'](_0x11e256['shift']());}catch(_0x487eab){_0x11e256['push'](_0x11e256['shift']());}}}(_0x902b,0x6acca));function _0x3107(_0x4d66ae,_0x2166a8){_0x4d66ae=_0x4d66ae-0x17f;const _0x902b75=_0x902b();let _0x3107a3=_0x902b75[_0x4d66ae];return _0x3107a3;}import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT=_0x420f08(0x186);export async function autoPrompt(){const _0x43bb08=_0x420f08,_0x1526c1={'HuQSe':function(_0x3c502c,_0x4444f1){return _0x3c502c(_0x4444f1);},'bSKHz':function(_0x157e5a,_0x1ca993){return _0x157e5a(_0x1ca993);}},_0x4cf813=await readHookInput(),_0x38ea29=_0x4cf813?.['session_id'];if(!_0x38ea29)return;if(_0x1526c1[_0x43bb08(0x187)](isSessionEnabled,_0x38ea29)||_0x1526c1[_0x43bb08(0x181)](hasSessionBeenPrompted,_0x38ea29))return;_0x1526c1['HuQSe'](markSessionPrompted,_0x38ea29),console[_0x43bb08(0x185)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- function _0x1554(){const _0x4fa6f2=['FPDpz','2aOIwPR','118863FGVzZr','4445796dMegsc','8466QfsgNs','master','965iAnRXm','88yOsnUv','718091eLnFDu','env','OArhP','IblHB','2261568Lysfom','200sxxBUW','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','\x20and\x20branch\x20\x27','main','1912610jfhhMF','1284032SnFJGv'];_0x1554=function(){return _0x4fa6f2;};return _0x1554();}(function(_0x49f7f3,_0x546a03){const _0x457695=_0x1db5,_0x4c5f71=_0x49f7f3();while(!![]){try{const _0x177a47=parseInt(_0x457695(0x19d))/0x1*(-parseInt(_0x457695(0x19f))/0x2)+-parseInt(_0x457695(0x1aa))/0x3+parseInt(_0x457695(0x1a1))/0x4+parseInt(_0x457695(0x1a4))/0x5*(parseInt(_0x457695(0x1a2))/0x6)+parseInt(_0x457695(0x19c))/0x7+parseInt(_0x457695(0x1a5))/0x8*(-parseInt(_0x457695(0x1a0))/0x9)+-parseInt(_0x457695(0x1ab))/0xa*(-parseInt(_0x457695(0x1a6))/0xb);if(_0x177a47===_0x546a03)break;else _0x4c5f71['push'](_0x4c5f71['shift']());}catch(_0x556e64){_0x4c5f71['push'](_0x4c5f71['shift']());}}}(_0x1554,0xbe4c1));function _0x1db5(_0x5702b8,_0x486427){_0x5702b8=_0x5702b8-0x19c;const _0x15543d=_0x1554();let _0x1db546=_0x15543d[_0x5702b8];return _0x1db546;}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x4f3a62){const _0x43661a=_0x1db5,_0x310b32={'FPDpz':function(_0x356270,_0xc72e97){return _0x356270(_0xc72e97);},'OArhP':function(_0x199298){return _0x199298();},'RlmdX':function(_0xa36ad,_0x5a87c2){return _0xa36ad!==_0x5a87c2;},'IblHB':'master'},_0x3e43b8=_0x4f3a62||process[_0x43661a(0x1a7)]['CLAUDE_SESSION_ID']||'';_0x3e43b8&&_0x310b32[_0x43661a(0x19e)](disableSession,_0x3e43b8);const _0x595d9e=_0x310b32[_0x43661a(0x1a8)](getCurrentBranch);_0x595d9e&&_0x595d9e!=='main'&&_0x595d9e!==_0x43661a(0x1a3)&&_0x310b32['FPDpz'](disableBranch,_0x595d9e),printBlock(_0x43661a(0x1ac)+(_0x595d9e&&_0x595d9e!==_0x43661a(0x1ae)&&_0x310b32['RlmdX'](_0x595d9e,_0x310b32[_0x43661a(0x1a9)])?_0x43661a(0x1ad)+_0x595d9e+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
1
+ (function(_0x55e2ea,_0x5e8547){const _0x294f6a=_0x2930,_0x4bd9bc=_0x55e2ea();while(!![]){try{const _0x6fdc93=parseInt(_0x294f6a(0x1ec))/0x1*(parseInt(_0x294f6a(0x1ef))/0x2)+parseInt(_0x294f6a(0x1f8))/0x3+-parseInt(_0x294f6a(0x1f1))/0x4+parseInt(_0x294f6a(0x1ed))/0x5*(-parseInt(_0x294f6a(0x1f3))/0x6)+-parseInt(_0x294f6a(0x1fa))/0x7+-parseInt(_0x294f6a(0x1f6))/0x8+-parseInt(_0x294f6a(0x1f5))/0x9*(-parseInt(_0x294f6a(0x1ee))/0xa);if(_0x6fdc93===_0x5e8547)break;else _0x4bd9bc['push'](_0x4bd9bc['shift']());}catch(_0x1ff7dc){_0x4bd9bc['push'](_0x4bd9bc['shift']());}}}(_0x3fb1,0x2ca9c));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x3fb1(){const _0x1a5ca2=['CLAUDE_SESSION_ID','54NGxVLD','526464VtbeNH','PKGds','522474ZoLdlD','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','485730JzKktl','WsNJm','26bLVFfX','965220klQrIH','495170lQGotg','27114qEiHiI','CtHQZ','1250240wYDFjr','master','6MShYjW'];_0x3fb1=function(){return _0x1a5ca2;};return _0x3fb1();}import{printBlock}from'./output.js';function _0x2930(_0x20ea0e,_0x9457cc){_0x20ea0e=_0x20ea0e-0x1eb;const _0x3fb1a2=_0x3fb1();let _0x29302d=_0x3fb1a2[_0x20ea0e];return _0x29302d;}export async function disable(_0x3aa9cd){const _0x19932a=_0x2930,_0x192c85={'PKGds':function(_0x4f84fc,_0x4783d4){return _0x4f84fc(_0x4783d4);},'WsNJm':function(_0xc53963,_0x2d3f6f){return _0xc53963!==_0x2d3f6f;},'gBKFz':function(_0x46f2cb,_0x482ec7){return _0x46f2cb(_0x482ec7);},'CtHQZ':'main','LfIOg':function(_0x1a964a,_0x576f28){return _0x1a964a!==_0x576f28;}},_0x21c7d0=_0x3aa9cd||process['env'][_0x19932a(0x1f4)]||'';_0x21c7d0&&_0x192c85[_0x19932a(0x1f7)](disableSession,_0x21c7d0);const _0x4a1983=getCurrentBranch();_0x4a1983&&_0x192c85['WsNJm'](_0x4a1983,'main')&&_0x192c85[_0x19932a(0x1eb)](_0x4a1983,_0x19932a(0x1f2))&&_0x192c85['gBKFz'](disableBranch,_0x4a1983),printBlock(_0x19932a(0x1f9)+(_0x4a1983&&_0x192c85[_0x19932a(0x1eb)](_0x4a1983,_0x192c85[_0x19932a(0x1f0)])&&_0x192c85['LfIOg'](_0x4a1983,_0x19932a(0x1f2))?'\x20and\x20branch\x20\x27'+_0x4a1983+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
@@ -1 +1 @@
1
- (function(_0x114f47,_0x183cc8){const _0x34cd01=_0x10e3,_0x255d22=_0x114f47();while(!![]){try{const _0x4cf1b3=-parseInt(_0x34cd01(0x1cf))/0x1*(-parseInt(_0x34cd01(0x1d2))/0x2)+-parseInt(_0x34cd01(0x1dd))/0x3+parseInt(_0x34cd01(0x1de))/0x4+-parseInt(_0x34cd01(0x1e0))/0x5*(parseInt(_0x34cd01(0x1db))/0x6)+-parseInt(_0x34cd01(0x1dc))/0x7+-parseInt(_0x34cd01(0x1d3))/0x8+parseInt(_0x34cd01(0x1d9))/0x9*(parseInt(_0x34cd01(0x1d8))/0xa);if(_0x4cf1b3===_0x183cc8)break;else _0x255d22['push'](_0x255d22['shift']());}catch(_0x14e56e){_0x255d22['push'](_0x255d22['shift']());}}}(_0x4a3a,0x6ae65));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x10e3(_0x2d506e,_0x2775b1){_0x2d506e=_0x2d506e-0x1cf;const _0x4a3a41=_0x4a3a();let _0x10e36b=_0x4a3a41[_0x2d506e];return _0x10e36b;}export async function enable(_0xe05d35){const _0x52866c=_0x10e3,_0xc13e71={'WSSRn':function(_0x38dd0d,_0x5e351d){return _0x38dd0d(_0x5e351d);},'iyIgF':function(_0x2bc8e6){return _0x2bc8e6();},'EKpPn':_0x52866c(0x1d7),'pUxzz':_0x52866c(0x1d5),'WEsgD':'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','PJbUQ':_0x52866c(0x1d1),'nzWuA':'master'},_0x2a4158=_0xe05d35||process['env'][_0x52866c(0x1d4)]||'',_0x2fe983=_0xc13e71['WSSRn'](Boolean,_0xe05d35),_0x9f6ef2=await _0xc13e71[_0x52866c(0x1df)](getToken);if(!_0x9f6ef2){const _0x2930c4=_0x2fe983?_0xc13e71['EKpPn']:_0xc13e71[_0x52866c(0x1d0)],_0x55743d=_0x2fe983?_0xc13e71[_0x52866c(0x1da)]:_0xc13e71['PJbUQ'];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`'+_0x2930c4+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x55743d);return;}try{await _0xc13e71[_0x52866c(0x1df)](update);}catch{}_0x2a4158&&_0xc13e71['WSSRn'](enableSession,_0x2a4158);const _0x2375af=_0xc13e71['iyIgF'](getCurrentBranch),_0x4b11f0=_0x2375af&&_0x2375af!=='main'&&_0x2375af!==_0xc13e71['nzWuA']?'\x0a\x0a**Branch\x20\x27'+_0x2375af+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x11b2f2=getRangerSkillContent();printBlock('#\x20RANGER\x20ENABLED'+_0x4b11f0+_0x52866c(0x1d6)+_0x11b2f2+_0x52866c(0x1e1));}function _0x4a3a(){const _0x1cd289=['pUxzz','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','2zkBbph','1532176FkmWFS','CLAUDE_SESSION_ID','ranger\x20setup','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','ranger\x20setup\x20--opencode','20600xCzsXz','8379OFRMeA','WEsgD','36UnqUpA','4287290BKBcVY','2037105ntJJCs','2814060LZlSTg','iyIgF','661730WlEfED','\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`.','93589obSssy'];_0x4a3a=function(){return _0x1cd289;};return _0x4a3a();}
1
+ (function(_0x56c97c,_0x121bde){const _0x2503fc=_0x37b2,_0x44c91e=_0x56c97c();while(!![]){try{const _0x48e9ef=-parseInt(_0x2503fc(0xc8))/0x1*(parseInt(_0x2503fc(0xb8))/0x2)+-parseInt(_0x2503fc(0xb7))/0x3*(parseInt(_0x2503fc(0xc5))/0x4)+parseInt(_0x2503fc(0xba))/0x5+-parseInt(_0x2503fc(0xcb))/0x6*(-parseInt(_0x2503fc(0xc3))/0x7)+parseInt(_0x2503fc(0xc0))/0x8*(-parseInt(_0x2503fc(0xbe))/0x9)+-parseInt(_0x2503fc(0xcc))/0xa*(parseInt(_0x2503fc(0xb6))/0xb)+-parseInt(_0x2503fc(0xb4))/0xc*(-parseInt(_0x2503fc(0xb3))/0xd);if(_0x48e9ef===_0x121bde)break;else _0x44c91e['push'](_0x44c91e['shift']());}catch(_0x1e5c08){_0x44c91e['push'](_0x44c91e['shift']());}}}(_0x18f1,0x2d1f5));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x18f1(){const _0x39109a=['13966zqtsZf','YVgal','1828505lOodeq','\x0a\x0a**Branch\x20\x27','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','CLAUDE_SESSION_ID','756009xtWQkk','#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`','8BqwikI','tlxrC','JULBa','271481XxhceZ','wtVyy','3764OatUpJ','EHAKh','ranger\x20setup','40DNYMkT','master','env','12grNiLe','1059670eIkirh','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','13QzTzcT','3625428TZtFKJ','main','11GGafWT','291lUjRIP'];_0x18f1=function(){return _0x39109a;};return _0x18f1();}function _0x37b2(_0x4a00f9,_0x19ca90){_0x4a00f9=_0x4a00f9-0xb1;const _0x18f1d5=_0x18f1();let _0x37b28a=_0x18f1d5[_0x4a00f9];return _0x37b28a;}export async function enable(_0x5754e6){const _0x4dc0cb=_0x37b2,_0x330610={'APuRC':function(_0x41a90e){return _0x41a90e();},'wtVyy':'ranger\x20setup\x20--opencode','YVgal':_0x4dc0cb(0xc7),'RWqOM':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','tlxrC':function(_0x10cfd6,_0x5b642d){return _0x10cfd6(_0x5b642d);},'Wrhmr':function(_0x26e69b){return _0x26e69b();},'JULBa':_0x4dc0cb(0xb5),'EHAKh':_0x4dc0cb(0xc9),'XBdML':function(_0xdd12ff,_0x1a599e){return _0xdd12ff(_0x1a599e);}},_0x14f554=_0x5754e6||process[_0x4dc0cb(0xca)][_0x4dc0cb(0xbd)]||'',_0x24e437=Boolean(_0x5754e6),_0x31490b=await _0x330610['APuRC'](getToken);if(!_0x31490b){const _0x4db9f7=_0x24e437?_0x330610[_0x4dc0cb(0xc4)]:_0x330610[_0x4dc0cb(0xb9)],_0x58985a=_0x24e437?_0x4dc0cb(0xbc):_0x330610['RWqOM'];printBlock(_0x4dc0cb(0xbf)+_0x4db9f7+_0x4dc0cb(0xb2)+_0x58985a);return;}try{await update();}catch{}_0x14f554&&_0x330610[_0x4dc0cb(0xc1)](enableSession,_0x14f554);const _0x269cb9=_0x330610['Wrhmr'](getCurrentBranch),_0x151286=_0x269cb9&&_0x269cb9!==_0x330610[_0x4dc0cb(0xc2)]&&_0x269cb9!==_0x330610[_0x4dc0cb(0xc6)]?_0x4dc0cb(0xbb)+_0x269cb9+_0x4dc0cb(0xb1):'',_0x175dfb=getRangerSkillContent();_0x330610['XBdML'](printBlock,'#\x20RANGER\x20ENABLED'+_0x151286+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x175dfb+'\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.');}
@@ -1 +1 @@
1
- (function(_0x1e99ac,_0x230d7a){const _0x2ac9c9=_0x2a3c,_0xdeffef=_0x1e99ac();while(!![]){try{const _0x2e08aa=-parseInt(_0x2ac9c9(0xf1))/0x1*(-parseInt(_0x2ac9c9(0xf2))/0x2)+parseInt(_0x2ac9c9(0xed))/0x3*(-parseInt(_0x2ac9c9(0xee))/0x4)+-parseInt(_0x2ac9c9(0xf5))/0x5*(parseInt(_0x2ac9c9(0xeb))/0x6)+-parseInt(_0x2ac9c9(0xf3))/0x7*(-parseInt(_0x2ac9c9(0xea))/0x8)+parseInt(_0x2ac9c9(0xec))/0x9+-parseInt(_0x2ac9c9(0xf4))/0xa+-parseInt(_0x2ac9c9(0xf0))/0xb*(-parseInt(_0x2ac9c9(0xef))/0xc);if(_0x2e08aa===_0x230d7a)break;else _0xdeffef['push'](_0xdeffef['shift']());}catch(_0x31fb96){_0xdeffef['push'](_0xdeffef['shift']());}}}(_0x26b3,0x87ed0));function _0x2a3c(_0x5cc86d,_0x5c2a81){_0x5cc86d=_0x5cc86d-0xea;const _0x26b3a3=_0x26b3();let _0x2a3c08=_0x26b3a3[_0x5cc86d];return _0x2a3c08;}function _0x26b3(){const _0x266df1=['12XymgZw','3813997wzMEhb','10044vSIlDV','112WBgtYB','21NOoPef','4080450XUdEQC','675rpJCgf','2603368BqsbOa','28962KxQdGm','4209930WbCKqY','38778SKeUBx','228KoJABI'];_0x26b3=function(){return _0x266df1;};return _0x26b3();}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x36ea5a){const _0x12d987={'seWIO':function(_0x121253,_0x42cdd2){return _0x121253(_0x42cdd2);}},_0x4aa29b=await getEnabledSessionId(_0x36ea5a);if(!_0x4aa29b)return;_0x12d987['seWIO'](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
1
+ (function(_0x486e56,_0x38b9ec){const _0x5b8391=_0x193b,_0x16a1da=_0x486e56();while(!![]){try{const _0xbbda41=-parseInt(_0x5b8391(0x146))/0x1+parseInt(_0x5b8391(0x14a))/0x2+-parseInt(_0x5b8391(0x152))/0x3*(-parseInt(_0x5b8391(0x150))/0x4)+parseInt(_0x5b8391(0x14b))/0x5*(-parseInt(_0x5b8391(0x151))/0x6)+parseInt(_0x5b8391(0x148))/0x7*(parseInt(_0x5b8391(0x14f))/0x8)+-parseInt(_0x5b8391(0x14c))/0x9*(parseInt(_0x5b8391(0x14d))/0xa)+-parseInt(_0x5b8391(0x149))/0xb*(-parseInt(_0x5b8391(0x14e))/0xc);if(_0xbbda41===_0x38b9ec)break;else _0x16a1da['push'](_0x16a1da['shift']());}catch(_0x17362c){_0x16a1da['push'](_0x16a1da['shift']());}}}(_0xd4f3,0x22d09));function _0x193b(_0x436f77,_0x35552d){_0x436f77=_0x436f77-0x146;const _0xd4f3ab=_0xd4f3();let _0x193b83=_0xd4f3ab[_0x436f77];return _0x193b83;}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x255f61){const _0x344c5f=_0x193b,_0x204d6a={'tHmnz':function(_0x537d4d,_0x470a2c){return _0x537d4d(_0x470a2c);}},_0x3fb0a6=await getEnabledSessionId(_0x255f61);if(!_0x3fb0a6)return;_0x204d6a['tHmnz'](printBlock,_0x344c5f(0x147));}function _0xd4f3(){const _0x3edd0d=['27kAGzTc','714540xQcKOW','48jNoDIK','2480yqrshq','1022324WOyAQO','6IakruW','3DfZATv','119476vpdCIu','===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===','266JpOiIr','366784FOMKRE','152028gjPIjf','1560tYHsbN'];_0xd4f3=function(){return _0x3edd0d;};return _0xd4f3();}
@@ -1 +1 @@
1
- (function(_0x3f68f1,_0x358727){var _0x3983d5=_0x3b69,_0x177e1b=_0x3f68f1();while(!![]){try{var _0x54418b=-parseInt(_0x3983d5(0x18e))/0x1*(-parseInt(_0x3983d5(0x190))/0x2)+parseInt(_0x3983d5(0x18c))/0x3+parseInt(_0x3983d5(0x18b))/0x4*(-parseInt(_0x3983d5(0x18f))/0x5)+parseInt(_0x3983d5(0x191))/0x6+parseInt(_0x3983d5(0x18d))/0x7+-parseInt(_0x3983d5(0x189))/0x8+parseInt(_0x3983d5(0x188))/0x9*(-parseInt(_0x3983d5(0x18a))/0xa);if(_0x54418b===_0x358727)break;else _0x177e1b['push'](_0x177e1b['shift']());}catch(_0x1696e9){_0x177e1b['push'](_0x177e1b['shift']());}}}(_0x3565,0xdf4ee));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';function _0x3b69(_0x40cba4,_0x4d8f84){_0x40cba4=_0x40cba4-0x188;var _0x3565d=_0x3565();var _0x3b69de=_0x3565d[_0x40cba4];return _0x3b69de;}export{preCompact}from'./preCompact.js';function _0x3565(){var _0x372f15=['15710SjzeYm','4ViERou','3571341lJhaxe','9399005nmKqXq','3ZFtsSJ','8028420OOiekU','230686ibCaVH','6556560xUedPW','2088ajxmWE','8697000WZcoSs'];_0x3565=function(){return _0x372f15;};return _0x3565();}export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x272904,_0x239c7d){var _0x1629b9=_0x4710,_0x5383b0=_0x272904();while(!![]){try{var _0x3c347b=parseInt(_0x1629b9(0x7b))/0x1+parseInt(_0x1629b9(0x7a))/0x2*(parseInt(_0x1629b9(0x73))/0x3)+-parseInt(_0x1629b9(0x72))/0x4*(parseInt(_0x1629b9(0x76))/0x5)+-parseInt(_0x1629b9(0x75))/0x6+-parseInt(_0x1629b9(0x78))/0x7*(parseInt(_0x1629b9(0x74))/0x8)+-parseInt(_0x1629b9(0x77))/0x9*(parseInt(_0x1629b9(0x79))/0xa)+parseInt(_0x1629b9(0x71))/0xb;if(_0x3c347b===_0x239c7d)break;else _0x5383b0['push'](_0x5383b0['shift']());}catch(_0x2c9586){_0x5383b0['push'](_0x5383b0['shift']());}}}(_0x771b,0x458d1));export{sessionStart}from'./sessionStart.js';function _0x4710(_0x3e6a29,_0x8e800c){_0x3e6a29=_0x3e6a29-0x71;var _0x771bb0=_0x771b();var _0x471090=_0x771bb0[_0x3e6a29];return _0x471090;}export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';function _0x771b(){var _0x544d2b=['81muffyG','104880UIJLSd','1876332ZapMLN','25fhGWYp','178461KxNqCV','28JTTnRr','250AzdYeC','2042zFXFzp','208588oLdPPe','15922478UsgiII','430308CGnxZn'];_0x771b=function(){return _0x544d2b;};return _0x771b();}export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x10459c,_0x156aa9){const _0x211e81=_0x3aef,_0x1929f1=_0x10459c();while(!![]){try{const _0x58ae68=-parseInt(_0x211e81(0x1e8))/0x1*(-parseInt(_0x211e81(0x1e7))/0x2)+-parseInt(_0x211e81(0x1de))/0x3*(-parseInt(_0x211e81(0x1e0))/0x4)+parseInt(_0x211e81(0x1ea))/0x5+parseInt(_0x211e81(0x1e1))/0x6+-parseInt(_0x211e81(0x1e4))/0x7+-parseInt(_0x211e81(0x1dd))/0x8*(-parseInt(_0x211e81(0x1df))/0x9)+-parseInt(_0x211e81(0x1e6))/0xa;if(_0x58ae68===_0x156aa9)break;else _0x1929f1['push'](_0x1929f1['shift']());}catch(_0x438f2f){_0x1929f1['push'](_0x1929f1['shift']());}}}(_0x58ed,0x210d0));import{isSessionEnabled}from'../utils/sessionCache.js';function _0x3aef(_0x372427,_0x262830){_0x372427=_0x372427-0x1dd;const _0x58ed28=_0x58ed();let _0x3aef16=_0x58ed28[_0x372427];return _0x3aef16;}export function printBlock(_0x102cf7){const _0x394525=_0x3aef;console[_0x394525(0x1e5)](_0x102cf7);}function _0x58ed(){const _0x26195e=['368914ZlSgZB','log','5862630vSlleM','336874KsSYhj','1WUHTGo','session_id','750440GurObG','40csDtXe','9nnUWaA','379737aHAzFf','293652eTAQBI','147672verRPo','ZVFri','parse'];_0x58ed=function(){return _0x26195e;};return _0x58ed();}export async function readHookInput(){const _0x47e3d3=_0x3aef;let _0x2955d6='';try{for await(const _0x4fc096 of process['stdin']){_0x2955d6+=_0x4fc096;}}catch{return null;}if(!_0x2955d6['trim']())return null;try{return JSON[_0x47e3d3(0x1e3)](_0x2955d6);}catch{return null;}}export async function getEnabledSessionId(_0x4c3677){const _0x4b3820=_0x3aef;if(_0x4c3677)return isSessionEnabled(_0x4c3677)?_0x4c3677:null;const _0x4c5b3d=await readHookInput(),_0xa88471=_0x4c5b3d?.[_0x4b3820(0x1e9)];if(!_0xa88471||!isSessionEnabled(_0xa88471))return null;return _0xa88471;}export async function getEnabledHookContext(_0x54b83b){const _0x7d4b46=_0x3aef,_0x369341={'ZVFri':function(_0x78bb14,_0xd7cb0d){return _0x78bb14(_0xd7cb0d);},'qKJQg':function(_0x3a886b){return _0x3a886b();}};if(_0x54b83b){if(!_0x369341[_0x7d4b46(0x1e2)](isSessionEnabled,_0x54b83b))return null;return{'sessionId':_0x54b83b,'input':{'session_id':_0x54b83b}};}const _0x1d344c=await _0x369341['qKJQg'](readHookInput),_0x4bf584=_0x1d344c?.['session_id'];if(!_0x4bf584||!isSessionEnabled(_0x4bf584))return null;return{'sessionId':_0x4bf584,'input':_0x1d344c};}
1
+ (function(_0x30fd7d,_0x4bdd7a){const _0x1ffc73=_0x45b4,_0x284fa4=_0x30fd7d();while(!![]){try{const _0x384da8=-parseInt(_0x1ffc73(0x177))/0x1*(parseInt(_0x1ffc73(0x16a))/0x2)+-parseInt(_0x1ffc73(0x169))/0x3+-parseInt(_0x1ffc73(0x174))/0x4*(parseInt(_0x1ffc73(0x179))/0x5)+parseInt(_0x1ffc73(0x172))/0x6+parseInt(_0x1ffc73(0x16e))/0x7*(-parseInt(_0x1ffc73(0x16c))/0x8)+-parseInt(_0x1ffc73(0x16b))/0x9*(-parseInt(_0x1ffc73(0x176))/0xa)+parseInt(_0x1ffc73(0x170))/0xb;if(_0x384da8===_0x4bdd7a)break;else _0x284fa4['push'](_0x284fa4['shift']());}catch(_0x31bdd1){_0x284fa4['push'](_0x284fa4['shift']());}}}(_0x364a,0x55fdd));import{isSessionEnabled}from'../utils/sessionCache.js';function _0x364a(){const _0x5a1c38=['3134178kUdvzy','igfoy','50404gKlsDB','BLUyz','4543830OFRjEc','1883qQJeOQ','stdin','260Jmlfnb','1922691XdtbvF','340FKokjw','9ASfZuw','2368afqLEm','zYxec','1316qwhqfi','session_id','11521202SyhtKz','drsPW'];_0x364a=function(){return _0x5a1c38;};return _0x364a();}export function printBlock(_0x57c833){console['log'](_0x57c833);}export async function readHookInput(){const _0x85db95=_0x45b4;let _0x482406='';try{for await(const _0x4f7533 of process[_0x85db95(0x178)]){_0x482406+=_0x4f7533;}}catch{return null;}if(!_0x482406['trim']())return null;try{return JSON['parse'](_0x482406);}catch{return null;}}export async function getEnabledSessionId(_0x38bfa6){const _0x7d4132=_0x45b4,_0x507fbe={'BLUyz':function(_0x4a7508,_0x10b049){return _0x4a7508(_0x10b049);},'igfoy':function(_0x1723c1){return _0x1723c1();}};if(_0x38bfa6)return _0x507fbe[_0x7d4132(0x175)](isSessionEnabled,_0x38bfa6)?_0x38bfa6:null;const _0x68b946=await _0x507fbe[_0x7d4132(0x173)](readHookInput),_0x1496ce=_0x68b946?.[_0x7d4132(0x16f)];if(!_0x1496ce||!_0x507fbe[_0x7d4132(0x175)](isSessionEnabled,_0x1496ce))return null;return _0x1496ce;}function _0x45b4(_0x2ce754,_0x5f4f03){_0x2ce754=_0x2ce754-0x169;const _0x364ac6=_0x364a();let _0x45b452=_0x364ac6[_0x2ce754];return _0x45b452;}export async function getEnabledHookContext(_0x37517d){const _0xfff5fb=_0x45b4,_0x586b0e={'drsPW':function(_0xc4acf4,_0x3a012c){return _0xc4acf4(_0x3a012c);},'zYxec':function(_0x5686b6){return _0x5686b6();}};if(_0x37517d){if(!_0x586b0e[_0xfff5fb(0x171)](isSessionEnabled,_0x37517d))return null;return{'sessionId':_0x37517d,'input':{'session_id':_0x37517d}};}const _0xa6c81e=await _0x586b0e[_0xfff5fb(0x16d)](readHookInput),_0x5027b7=_0xa6c81e?.[_0xfff5fb(0x16f)];if(!_0x5027b7||!isSessionEnabled(_0x5027b7))return null;return{'sessionId':_0x5027b7,'input':_0xa6c81e};}
@@ -1 +1 @@
1
- function _0x9535(_0x4e0e78,_0x431d51){_0x4e0e78=_0x4e0e78-0xef;const _0x533381=_0x5333();let _0x9535e8=_0x533381[_0x4e0e78];return _0x9535e8;}function _0x5333(){const _0x290b72=['2194smdHtv','===\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===','75498bBQYVl','6611220qkYcsl','1670SvIhZL','8agjhxt','82511SCJnTu','permission_mode','1197508uthxOS','72QGfeoe','994QurzZJ','105615VNdzUt','32SvLbFJ','3629199QgtiqF','485okuBIO'];_0x5333=function(){return _0x290b72;};return _0x5333();}(function(_0x3eecf0,_0x2f48d4){const _0x621d0c=_0x9535,_0xf590ce=_0x3eecf0();while(!![]){try{const _0x35dab5=parseInt(_0x621d0c(0xf9))/0x1*(parseInt(_0x621d0c(0xf4))/0x2)+parseInt(_0x621d0c(0xf5))/0x3*(parseInt(_0x621d0c(0xf6))/0x4)+-parseInt(_0x621d0c(0xf8))/0x5*(-parseInt(_0x621d0c(0xfb))/0x6)+parseInt(_0x621d0c(0xf7))/0x7*(-parseInt(_0x621d0c(0xef))/0x8)+-parseInt(_0x621d0c(0xfc))/0x9+-parseInt(_0x621d0c(0xfd))/0xa*(parseInt(_0x621d0c(0xf0))/0xb)+-parseInt(_0x621d0c(0xf3))/0xc*(-parseInt(_0x621d0c(0xf2))/0xd);if(_0x35dab5===_0x2f48d4)break;else _0xf590ce['push'](_0xf590ce['shift']());}catch(_0x5d83a7){_0xf590ce['push'](_0xf590ce['shift']());}}}(_0x5333,0x9c271));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0xa832a0){const _0x3a1144=_0x9535,_0xf2fb0a={'Nugtp':'plan','pdsxm':function(_0x1c3fa6,_0x33e2ab){return _0x1c3fa6(_0x33e2ab);}},_0x4aeb58=await getEnabledHookContext(_0xa832a0);if(!_0x4aeb58)return;if(_0x4aeb58['input'][_0x3a1144(0xf1)]!==_0xf2fb0a['Nugtp'])return;if(!shouldShowPlanReminder(_0x4aeb58['sessionId']))return;_0xf2fb0a['pdsxm'](printBlock,_0x3a1144(0xfa));}
1
+ function _0x3f2b(){const _0x55dd11=['22168MnINjm','yMart','18qQAYbE','6BpdHEZ','232242BPsNWb','6598368WSekpt','107149iRVUxs','5106715iZmUZY','1880430ZEZEfh','8NdUxvG','22aKaMLf','permission_mode','237olZlGM','===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===','104csMECj','36059257GdAWtI'];_0x3f2b=function(){return _0x55dd11;};return _0x3f2b();}function _0x5763(_0x156264,_0x19be0c){_0x156264=_0x156264-0x127;const _0x3f2b89=_0x3f2b();let _0x5763b9=_0x3f2b89[_0x156264];return _0x5763b9;}(function(_0x1989c8,_0x34bfdc){const _0x781779=_0x5763,_0x5e5a8c=_0x1989c8();while(!![]){try{const _0x2ff9d3=-parseInt(_0x781779(0x12e))/0x1*(-parseInt(_0x781779(0x129))/0x2)+-parseInt(_0x781779(0x131))/0x3*(parseInt(_0x781779(0x135))/0x4)+-parseInt(_0x781779(0x12c))/0x5*(parseInt(_0x781779(0x128))/0x6)+-parseInt(_0x781779(0x12b))/0x7*(parseInt(_0x781779(0x133))/0x8)+parseInt(_0x781779(0x127))/0x9*(-parseInt(_0x781779(0x12d))/0xa)+parseInt(_0x781779(0x12f))/0xb*(-parseInt(_0x781779(0x12a))/0xc)+parseInt(_0x781779(0x134))/0xd;if(_0x2ff9d3===_0x34bfdc)break;else _0x5e5a8c['push'](_0x5e5a8c['shift']());}catch(_0x5ee25a){_0x5e5a8c['push'](_0x5e5a8c['shift']());}}}(_0x3f2b,0x8add7));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x424b7a){const _0x46ada5=_0x5763,_0x183f04={'yMart':'plan','RHPJP':function(_0x12813d,_0x5d6005){return _0x12813d(_0x5d6005);}},_0x271d72=await getEnabledHookContext(_0x424b7a);if(!_0x271d72)return;if(_0x271d72['input'][_0x46ada5(0x130)]!==_0x183f04[_0x46ada5(0x136)])return;if(!_0x183f04['RHPJP'](shouldShowPlanReminder,_0x271d72['sessionId']))return;printBlock(_0x46ada5(0x132));}
@@ -1 +1 @@
1
- function _0x2e4c(_0x574280,_0xf0a4c8){_0x574280=_0x574280-0x109;const _0x14f2bb=_0x14f2();let _0x2e4c8e=_0x14f2bb[_0x574280];return _0x2e4c8e;}function _0x14f2(){const _0x563a08=['865cTnDIZ','13326YpcvDl','1139733YURbZB','697058XPkmYH','1856748FoVtwl','49TSyOKA','214764evKnEx','wzGMl','52594DNOsrK','41896SbYGWk'];_0x14f2=function(){return _0x563a08;};return _0x14f2();}(function(_0x2869ba,_0x1005c7){const _0x2628a8=_0x2e4c,_0x9589e7=_0x2869ba();while(!![]){try{const _0x31c428=parseInt(_0x2628a8(0x111))/0x1+-parseInt(_0x2628a8(0x10c))/0x2+-parseInt(_0x2628a8(0x10a))/0x3+parseInt(_0x2628a8(0x112))/0x4+parseInt(_0x2628a8(0x10e))/0x5*(-parseInt(_0x2628a8(0x10f))/0x6)+parseInt(_0x2628a8(0x109))/0x7*(-parseInt(_0x2628a8(0x10d))/0x8)+-parseInt(_0x2628a8(0x110))/0x9;if(_0x31c428===_0x1005c7)break;else _0x9589e7['push'](_0x9589e7['shift']());}catch(_0x2e6740){_0x9589e7['push'](_0x9589e7['shift']());}}}(_0x14f2,0x7def7));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x269a9d){const _0x5d31e0=_0x2e4c,_0x12f681={'wzGMl':function(_0x1cc78d,_0x5351fc){return _0x1cc78d(_0x5351fc);}},_0x298356=await _0x12f681[_0x5d31e0(0x10b)](getEnabledSessionId,_0x269a9d);if(!_0x298356)return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}
1
+ function _0x494c(_0x16ec6a,_0x2f45ef){_0x16ec6a=_0x16ec6a-0x1b2;const _0x2fa41c=_0x2fa4();let _0x494cd8=_0x2fa41c[_0x16ec6a];return _0x494cd8;}(function(_0x91ed03,_0x52e4fb){const _0xde0d4d=_0x494c,_0x38065d=_0x91ed03();while(!![]){try{const _0x20ee1f=-parseInt(_0xde0d4d(0x1b8))/0x1+-parseInt(_0xde0d4d(0x1b5))/0x2*(-parseInt(_0xde0d4d(0x1b3))/0x3)+-parseInt(_0xde0d4d(0x1ba))/0x4+-parseInt(_0xde0d4d(0x1bb))/0x5+parseInt(_0xde0d4d(0x1b9))/0x6*(parseInt(_0xde0d4d(0x1b4))/0x7)+-parseInt(_0xde0d4d(0x1b2))/0x8+-parseInt(_0xde0d4d(0x1b7))/0x9*(-parseInt(_0xde0d4d(0x1b6))/0xa);if(_0x20ee1f===_0x52e4fb)break;else _0x38065d['push'](_0x38065d['shift']());}catch(_0x1e5153){_0x38065d['push'](_0x38065d['shift']());}}}(_0x2fa4,0x46d73));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x10bf10){const _0x1d28da={'bwDBD':function(_0x144bbb,_0x53c240){return _0x144bbb(_0x53c240);}},_0x188894=await getEnabledSessionId(_0x10bf10);if(!_0x188894)return;_0x1d28da['bwDBD'](printBlock,'===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}function _0x2fa4(){const _0x4eb0f2=['36939TgurDJ','33842UvVZbt','11017540AadDsx','9YwAwiK','148542YGjGMQ','18ALMeyn','1621036sKAKXw','2625965CCIsDG','1236256DzgKYV','72UvZJbX'];_0x2fa4=function(){return _0x4eb0f2;};return _0x2fa4();}
@@ -1 +1 @@
1
- function _0x4486(_0x430f02,_0x145dbc){_0x430f02=_0x430f02-0x1ef;const _0xdd09ec=_0xdd09();let _0x44867b=_0xdd09ec[_0x430f02];return _0x44867b;}(function(_0x1e565f,_0x4e84aa){const _0x2fcab3=_0x4486,_0x5aea3b=_0x1e565f();while(!![]){try{const _0x142941=-parseInt(_0x2fcab3(0x1fa))/0x1*(parseInt(_0x2fcab3(0x1f5))/0x2)+-parseInt(_0x2fcab3(0x1f3))/0x3+parseInt(_0x2fcab3(0x1f6))/0x4+parseInt(_0x2fcab3(0x1f7))/0x5+-parseInt(_0x2fcab3(0x1ff))/0x6+parseInt(_0x2fcab3(0x1f9))/0x7*(-parseInt(_0x2fcab3(0x1fd))/0x8)+-parseInt(_0x2fcab3(0x1f1))/0x9*(-parseInt(_0x2fcab3(0x1f0))/0xa);if(_0x142941===_0x4e84aa)break;else _0x5aea3b['push'](_0x5aea3b['shift']());}catch(_0x4e608a){_0x5aea3b['push'](_0x5aea3b['shift']());}}}(_0xdd09,0x19233));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x4bfbda){const _0x1c2075=_0x4486,_0x4a77a7={'JBIgf':function(_0x4010b3,_0x490ab4){return _0x4010b3(_0x490ab4);},'HUjSV':function(_0x2f189b){return _0x2f189b();},'wEYIS':_0x1c2075(0x1fc)},_0x399cf7=await _0x4a77a7['JBIgf'](getEnabledSessionId,_0x4bfbda);if(!_0x399cf7)return;updateBranchTracking(_0x399cf7);const _0x34f33d=await _0x4a77a7[_0x1c2075(0x1ef)](getToken);if(!_0x34f33d)return;const _0x2162b3=getSessionEntry(_0x399cf7);if(_0x2162b3){const _0x25042e={'hookSpecificOutput':{'hookEventName':_0x4a77a7[_0x1c2075(0x1f8)],'additionalContext':_0x1c2075(0x1f2)}};console[_0x1c2075(0x1fb)](JSON['stringify'](_0x25042e));return;}const _0x5107f0={'hookSpecificOutput':{'hookEventName':_0x1c2075(0x1fc),'additionalContext':_0x1c2075(0x1fe)}};console['log'](JSON[_0x1c2075(0x1f4)](_0x5107f0));}function _0xdd09(){const _0x4a1b3a=['295590MHugyo','wEYIS','7PEmneI','88671bmVqtk','log','PostToolUse','1024232uMmYhC','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.','858870tmGXzs','HUjSV','50yuvMXz','633681dDnvFE','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).','248544QaOtgE','stringify','2SVzdJF','537972rUXdDY'];_0xdd09=function(){return _0x4a1b3a;};return _0xdd09();}
1
+ (function(_0x5c3a82,_0x14f188){const _0x412d68=_0x1b0c,_0x4660f1=_0x5c3a82();while(!![]){try{const _0x2a91ef=parseInt(_0x412d68(0x13b))/0x1+parseInt(_0x412d68(0x136))/0x2+-parseInt(_0x412d68(0x138))/0x3+parseInt(_0x412d68(0x13c))/0x4+parseInt(_0x412d68(0x13d))/0x5*(-parseInt(_0x412d68(0x133))/0x6)+parseInt(_0x412d68(0x139))/0x7*(parseInt(_0x412d68(0x137))/0x8)+-parseInt(_0x412d68(0x13a))/0x9;if(_0x2a91ef===_0x14f188)break;else _0x4660f1['push'](_0x4660f1['shift']());}catch(_0x1d4036){_0x4660f1['push'](_0x4660f1['shift']());}}}(_0xf723,0x99170));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0xf723(){const _0x13c898=['1774200ijCACb','720Dhpbon','507459CSbeJr','51149oToAWk','6412995jwhgLE','432472LZRddW','1739152KbzIjy','5BgjnfN','FXmXb','RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).','5419356cKLOvF','rhubF','RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.'];_0xf723=function(){return _0x13c898;};return _0xf723();}import{getToken}from'../utils/keychain.js';function _0x1b0c(_0x2e5dc0,_0xf4262d){_0x2e5dc0=_0x2e5dc0-0x131;const _0xf72316=_0xf723();let _0x1b0c5d=_0xf72316[_0x2e5dc0];return _0x1b0c5d;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x1daea8){const _0x227ee1=_0x1b0c,_0x55c7ac={'FXmXb':function(_0x48f57a,_0x5a38c3){return _0x48f57a(_0x5a38c3);},'OpLjw':function(_0x26ef2e,_0x296f6e){return _0x26ef2e(_0x296f6e);},'rhubF':function(_0x2f527f){return _0x2f527f();},'ZhXrH':function(_0x5ea633,_0x483e70){return _0x5ea633(_0x483e70);},'KMBlM':'PostToolUse'},_0x5079a4=await _0x55c7ac[_0x227ee1(0x131)](getEnabledSessionId,_0x1daea8);if(!_0x5079a4)return;_0x55c7ac['OpLjw'](updateBranchTracking,_0x5079a4);const _0x20de59=await _0x55c7ac[_0x227ee1(0x134)](getToken);if(!_0x20de59)return;const _0x48c27c=_0x55c7ac['ZhXrH'](getSessionEntry,_0x5079a4);if(_0x48c27c){const _0x126d5a={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0x227ee1(0x132)}};console['log'](JSON['stringify'](_0x126d5a));return;}const _0x28d922={'hookSpecificOutput':{'hookEventName':_0x55c7ac['KMBlM'],'additionalContext':_0x227ee1(0x135)}};console['log'](JSON['stringify'](_0x28d922));}
@@ -1 +1 @@
1
- function _0x437d(_0x4c27a8,_0x279ee6){_0x4c27a8=_0x4c27a8-0x108;const _0x2d452d=_0x2d45();let _0x437d9e=_0x2d452d[_0x4c27a8];return _0x437d9e;}(function(_0x3df815,_0x372a70){const _0x3b3b4e=_0x437d,_0x4f0bb3=_0x3df815();while(!![]){try{const _0x11afbd=parseInt(_0x3b3b4e(0x110))/0x1*(-parseInt(_0x3b3b4e(0x10e))/0x2)+parseInt(_0x3b3b4e(0x10d))/0x3+parseInt(_0x3b3b4e(0x10a))/0x4+parseInt(_0x3b3b4e(0x10c))/0x5+-parseInt(_0x3b3b4e(0x10f))/0x6+parseInt(_0x3b3b4e(0x109))/0x7+-parseInt(_0x3b3b4e(0x108))/0x8;if(_0x11afbd===_0x372a70)break;else _0x4f0bb3['push'](_0x4f0bb3['shift']());}catch(_0x2b2d7a){_0x4f0bb3['push'](_0x4f0bb3['shift']());}}}(_0x2d45,0x6e5b5));function _0x2d45(){const _0x5b7c18=['116wCekwt','10958864iIIKWy','4198299QeNJOK','3549896QhcALs','gcxGr','2209080GeveUr','2472039yJHsoI','5466Tbhrcg','3684918EYOzMM'];_0x2d45=function(){return _0x5b7c18;};return _0x2d45();}import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x13d4ee){const _0x539714=_0x437d,_0x37f3a9={'gcxGr':function(_0xbf17ff,_0x486f5c){return _0xbf17ff(_0x486f5c);}},_0x1e9655=await getEnabledSessionId(_0x13d4ee);if(!_0x1e9655)return;try{const _0x32fadf=await getToken();if(!_0x32fadf)return;_0x37f3a9[_0x539714(0x10b)](printBlock,'===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.');}catch{}}
1
+ (function(_0x1305c6,_0x1b0008){const _0x59b413=_0x3c5a,_0x33910c=_0x1305c6();while(!![]){try{const _0x256cdb=-parseInt(_0x59b413(0x1eb))/0x1*(-parseInt(_0x59b413(0x1ec))/0x2)+parseInt(_0x59b413(0x1f2))/0x3+-parseInt(_0x59b413(0x1f3))/0x4*(-parseInt(_0x59b413(0x1f1))/0x5)+parseInt(_0x59b413(0x1f4))/0x6*(parseInt(_0x59b413(0x1e7))/0x7)+-parseInt(_0x59b413(0x1e8))/0x8+parseInt(_0x59b413(0x1ed))/0x9*(-parseInt(_0x59b413(0x1ef))/0xa)+-parseInt(_0x59b413(0x1e9))/0xb;if(_0x256cdb===_0x1b0008)break;else _0x33910c['push'](_0x33910c['shift']());}catch(_0x11d563){_0x33910c['push'](_0x33910c['shift']());}}}(_0x17be,0xcd259));function _0x17be(){const _0x94f74c=['2196561vuZsSv','2512mUnkCR','2352234tugTuH','14jpDaTu','1166752wxIKnA','17494708Fvzkto','DNLYd','1635511lTSdCe','2tdywxL','387TqCYBW','mjLOz','307130ukTWSU','===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.','5935VADOch'];_0x17be=function(){return _0x94f74c;};return _0x17be();}import{getToken}from'../utils/keychain.js';function _0x3c5a(_0x4d3436,_0x2679a0){_0x4d3436=_0x4d3436-0x1e7;const _0x17be1f=_0x17be();let _0x3c5a67=_0x17be1f[_0x4d3436];return _0x3c5a67;}import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x2ac017){const _0x5735bf=_0x3c5a,_0x134d58={'mjLOz':function(_0x51246f,_0x1e5dd1){return _0x51246f(_0x1e5dd1);},'DNLYd':function(_0x263152,_0x53c8a4){return _0x263152(_0x53c8a4);}},_0x281902=await _0x134d58[_0x5735bf(0x1ee)](getEnabledSessionId,_0x2ac017);if(!_0x281902)return;try{const _0x5109bc=await getToken();if(!_0x5109bc)return;_0x134d58[_0x5735bf(0x1ea)](printBlock,_0x5735bf(0x1f0));}catch{}}
@@ -1 +1 @@
1
- (function(_0x1d34da,_0x51d73a){const _0x41cde1=_0x9e06,_0xf4207a=_0x1d34da();while(!![]){try{const _0x4f4bc1=-parseInt(_0x41cde1(0x1b5))/0x1*(parseInt(_0x41cde1(0x1bb))/0x2)+-parseInt(_0x41cde1(0x1b7))/0x3+-parseInt(_0x41cde1(0x1b6))/0x4*(-parseInt(_0x41cde1(0x1bf))/0x5)+parseInt(_0x41cde1(0x1b1))/0x6*(parseInt(_0x41cde1(0x1bc))/0x7)+parseInt(_0x41cde1(0x1b2))/0x8+-parseInt(_0x41cde1(0x1b9))/0x9+-parseInt(_0x41cde1(0x1b3))/0xa*(-parseInt(_0x41cde1(0x1be))/0xb);if(_0x4f4bc1===_0x51d73a)break;else _0xf4207a['push'](_0xf4207a['shift']());}catch(_0x25e857){_0xf4207a['push'](_0xf4207a['shift']());}}}(_0x1827,0x5a550));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0x9e06(_0x43d5bc,_0x1aa252){_0x43d5bc=_0x43d5bc-0x1b1;const _0x18273f=_0x1827();let _0x9e0650=_0x18273f[_0x43d5bc];return _0x9e0650;}import{readHookInput}from'./output.js';export async function sessionEnd(_0x9cce96){const _0x45f2dc=_0x9e06,_0x3f24c4={'CcKby':function(_0x48f500,_0x31bdcf){return _0x48f500(_0x31bdcf);},'jPbzX':function(_0x43f3a8){return _0x43f3a8();}},_0x52a98c=process['env']['CLAUDE_SESSION_ID'];let _0x37d6e9=_0x9cce96,_0x286238;if(!_0x9cce96){if(_0x52a98c&&!_0x3f24c4['CcKby'](isSessionEnabled,_0x52a98c))return;const _0x43aae0=await _0x3f24c4[_0x45f2dc(0x1bd)](readHookInput);_0x37d6e9=_0x43aae0?.[_0x45f2dc(0x1b4)]||_0x52a98c,_0x286238=_0x43aae0?.[_0x45f2dc(0x1b8)];}if(!_0x37d6e9)return;_0x286238===_0x45f2dc(0x1ba)&&recordEnabledSessionCleared(_0x37d6e9);}function _0x1827(){const _0x2022bf=['385dpDZim','865tTVEBJ','1938YcrNdU','1403016eKTMcn','408010OMFTFV','session_id','21274MMXgBl','6476vCOEAx','1777629ogGmnV','reason','4599081VDqZYj','clear','56iaJPUv','4025VhdRPU','jPbzX'];_0x1827=function(){return _0x2022bf;};return _0x1827();}
1
+ function _0x1e95(_0x35e8f9,_0x9380f3){_0x35e8f9=_0x35e8f9-0x149;const _0x5aa27d=_0x5aa2();let _0x1e9510=_0x5aa27d[_0x35e8f9];return _0x1e9510;}(function(_0x2047d4,_0x3f12f7){const _0x17dc8d=_0x1e95,_0x6ca542=_0x2047d4();while(!![]){try{const _0xc05fb8=parseInt(_0x17dc8d(0x14f))/0x1+parseInt(_0x17dc8d(0x150))/0x2+-parseInt(_0x17dc8d(0x14c))/0x3+parseInt(_0x17dc8d(0x14b))/0x4*(-parseInt(_0x17dc8d(0x151))/0x5)+-parseInt(_0x17dc8d(0x149))/0x6*(-parseInt(_0x17dc8d(0x153))/0x7)+-parseInt(_0x17dc8d(0x14d))/0x8+parseInt(_0x17dc8d(0x14a))/0x9;if(_0xc05fb8===_0x3f12f7)break;else _0x6ca542['push'](_0x6ca542['shift']());}catch(_0x45af56){_0x6ca542['push'](_0x6ca542['shift']());}}}(_0x5aa2,0x30ddd));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x361f58){const _0x1f5ade=_0x1e95,_0x13186f={'KCkxJ':function(_0x205610,_0x21efe8){return _0x205610(_0x21efe8);},'GvocH':function(_0x5c4adc){return _0x5c4adc();},'ylHMG':function(_0x4a226b,_0x38c545){return _0x4a226b===_0x38c545;}},_0x43c22b=process[_0x1f5ade(0x14e)][_0x1f5ade(0x152)];let _0x3c1bc0=_0x361f58,_0x395831;if(!_0x361f58){if(_0x43c22b&&!_0x13186f['KCkxJ'](isSessionEnabled,_0x43c22b))return;const _0x1680c5=await _0x13186f['GvocH'](readHookInput);_0x3c1bc0=_0x1680c5?.['session_id']||_0x43c22b,_0x395831=_0x1680c5?.['reason'];}if(!_0x3c1bc0)return;_0x13186f['ylHMG'](_0x395831,'clear')&&_0x13186f['KCkxJ'](recordEnabledSessionCleared,_0x3c1bc0);}function _0x5aa2(){const _0x5cda7d=['80XEHUCO','1047177gkocUU','3001824BxvQjV','env','367663BXXBPF','541596vFckDd','64595oNRKPa','CLAUDE_SESSION_ID','308CnCave','25476QPnwSR','3217851qieiSr'];_0x5aa2=function(){return _0x5cda7d;};return _0x5aa2();}
@@ -1 +1 @@
1
- (function(_0x4623e0,_0x6ca763){const _0x4a1ab4=_0x3988,_0x5eee10=_0x4623e0();while(!![]){try{const _0x31d389=parseInt(_0x4a1ab4(0x1d4))/0x1+parseInt(_0x4a1ab4(0x1ca))/0x2*(parseInt(_0x4a1ab4(0x1cd))/0x3)+-parseInt(_0x4a1ab4(0x1c8))/0x4*(parseInt(_0x4a1ab4(0x1c0))/0x5)+parseInt(_0x4a1ab4(0x1ce))/0x6+-parseInt(_0x4a1ab4(0x1c3))/0x7*(parseInt(_0x4a1ab4(0x1c9))/0x8)+-parseInt(_0x4a1ab4(0x1cc))/0x9*(parseInt(_0x4a1ab4(0x1c6))/0xa)+parseInt(_0x4a1ab4(0x1c1))/0xb;if(_0x31d389===_0x6ca763)break;else _0x5eee10['push'](_0x5eee10['shift']());}catch(_0x300e81){_0x5eee10['push'](_0x5eee10['shift']());}}}(_0x3d00,0x869be));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT='=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================';function _0x3988(_0x20a945,_0x4f89c0){_0x20a945=_0x20a945-0x1c0;const _0x3d000e=_0x3d00();let _0x398893=_0x3d000e[_0x20a945];return _0x398893;}function _0x3d00(){const _0x1eb59e=['3507449eFKqJc','VQuIM','133oVmoOo','EkZoW','session_id','870LQfgkK','trackCommandEnd','577844ZmJoqd','142376PDDHVI','98qiwDmy','rowsb','26838htAqkn','18783Lmebje','2702916TzOSHs','CLAUDE_ENV_FILE','trackCommandStart','TOdrJ','main','hook:session-start','361723gTdfer','10GhFYRr'];_0x3d00=function(){return _0x1eb59e;};return _0x3d00();}export async function sessionStart(_0x3a3f4b){const _0x588d79=_0x3988,_0x31af17={'VQuIM':function(_0x4aecc7,_0x3edcfb){return _0x4aecc7||_0x3edcfb;},'LvQoS':function(_0x1644c8,_0x33b9b1){return _0x1644c8&&_0x33b9b1;},'ZPBdy':function(_0x3b310c,_0x19f56f,_0x13ce00){return _0x3b310c(_0x19f56f,_0x13ce00);},'XNodR':function(_0x5297e1){return _0x5297e1();},'EkZoW':function(_0x1ba275,_0x599ee3){return _0x1ba275(_0x599ee3);},'tpXJH':_0x588d79(0x1d3),'TOdrJ':_0x588d79(0x1d2),'vmPQT':'master','rowsb':function(_0x3f1219,_0xa10be0){return _0x3f1219+_0xa10be0;}};let _0x4cd19b=_0x31af17[_0x588d79(0x1c2)](_0x3a3f4b,''),_0x1d451a;if(!_0x3a3f4b){let _0x433f2e='';for await(const _0x4f3cf8 of process['stdin']){_0x433f2e+=_0x4f3cf8;}try{const _0x15313d=JSON['parse'](_0x433f2e);_0x4cd19b=_0x15313d[_0x588d79(0x1c5)]||'',_0x1d451a=_0x15313d['source'];}catch{}const _0x57c51b=process['env'][_0x588d79(0x1cf)];if(_0x31af17['LvQoS'](_0x57c51b,_0x4cd19b))try{await _0x31af17['ZPBdy'](appendFile,_0x57c51b,'export\x20CLAUDE_SESSION_ID=\x22'+_0x4cd19b+'\x22\x0a');}catch{}}try{await _0x31af17['XNodR'](getToken);}catch{}if(_0x4cd19b){_0x31af17[_0x588d79(0x1c4)](shouldAutoEnableAfterClear,_0x1d451a)&&autoEnableAfterClear(_0x4cd19b);initBranchTracking(_0x4cd19b);const _0x461cce=_0x31af17['EkZoW'](isSessionEnabled,_0x4cd19b);try{const _0x31fa5c=createTelemetryCollector(_0x31af17['tpXJH']);await _0x31fa5c[_0x588d79(0x1d0)]({'sessionId':_0x4cd19b,'hooksEnabled':_0x461cce}),await _0x31fa5c[_0x588d79(0x1c7)]('success');}catch{}if(_0x461cce){const _0x2bec7a=getCurrentBranch(),_0x59aa49=_0x2bec7a&&_0x2bec7a!==_0x31af17[_0x588d79(0x1d1)]&&_0x2bec7a!==_0x31af17['vmPQT']?'\x20(Branch:\x20'+_0x2bec7a+')':'',_0x3c7c0f={'hookSpecificOutput':{'hookEventName':'SessionStart','additionalContext':_0x31af17[_0x588d79(0x1cb)](RANGER_AUTO_ENABLED_PROMPT,_0x59aa49)}};console['log'](JSON['stringify'](_0x3c7c0f));}}}
1
+ const _0x5a523f=_0x328c;function _0x328c(_0x11b4ec,_0x32345a){_0x11b4ec=_0x11b4ec-0x166;const _0x385191=_0x3851();let _0x328c44=_0x385191[_0x11b4ec];return _0x328c44;}(function(_0x73aac2,_0x22929e){const _0x19496e=_0x328c,_0x3f5c35=_0x73aac2();while(!![]){try{const _0x11f0b9=-parseInt(_0x19496e(0x16f))/0x1*(parseInt(_0x19496e(0x16e))/0x2)+parseInt(_0x19496e(0x167))/0x3+-parseInt(_0x19496e(0x172))/0x4+-parseInt(_0x19496e(0x16c))/0x5+parseInt(_0x19496e(0x175))/0x6+-parseInt(_0x19496e(0x16b))/0x7*(parseInt(_0x19496e(0x17a))/0x8)+parseInt(_0x19496e(0x173))/0x9*(parseInt(_0x19496e(0x166))/0xa);if(_0x11f0b9===_0x22929e)break;else _0x3f5c35['push'](_0x3f5c35['shift']());}catch(_0x19e1ca){_0x3f5c35['push'](_0x3f5c35['shift']());}}}(_0x3851,0x2db32));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x3851(){const _0x151fe0=['trackCommandStart','22jpSPiZ','17393MbdMPi','success','CLAUDE_ENV_FILE','912128cGMWmD','494793wxVeqG','=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================','1790028GwrIJp','vWNTZ','stdin','WcGLd','QeePO','16BXoCGy','stringify','main','110gtMQyB','392517OtXqHK','hook:session-start','cHVsv','tbJgc','878213esgXMr','882325fTTkqx'];_0x3851=function(){return _0x151fe0;};return _0x3851();}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT=_0x5a523f(0x174);export async function sessionStart(_0x1d6a52){const _0x2481e4=_0x5a523f,_0x17e4e9={'riCdJ':function(_0x15b448,_0x32a534){return _0x15b448||_0x32a534;},'cHVsv':'source','TTOFY':function(_0x219f60,_0x2206aa){return _0x219f60&&_0x2206aa;},'NWqxi':function(_0xdc644a,_0x1a7ab1,_0x32856c){return _0xdc644a(_0x1a7ab1,_0x32856c);},'POFld':function(_0x4a5211){return _0x4a5211();},'QeePO':function(_0x2cee04,_0x31c26d){return _0x2cee04(_0x31c26d);},'vhnAs':_0x2481e4(0x168),'NeZjW':_0x2481e4(0x170),'WcGLd':_0x2481e4(0x17c),'vWNTZ':function(_0x35f111,_0x46632a){return _0x35f111!==_0x46632a;},'ZUEiF':'master','tbJgc':'SessionStart'};let _0x4d3c19=_0x17e4e9['riCdJ'](_0x1d6a52,''),_0x105514;if(!_0x1d6a52){let _0x1f7e9e='';for await(const _0x3cdca4 of process[_0x2481e4(0x177)]){_0x1f7e9e+=_0x3cdca4;}try{const _0x5ec2e9=JSON['parse'](_0x1f7e9e);_0x4d3c19=_0x5ec2e9['session_id']||'',_0x105514=_0x5ec2e9[_0x17e4e9[_0x2481e4(0x169)]];}catch{}const _0x51416a=process['env'][_0x2481e4(0x171)];if(_0x17e4e9['TTOFY'](_0x51416a,_0x4d3c19))try{await _0x17e4e9['NWqxi'](appendFile,_0x51416a,'export\x20CLAUDE_SESSION_ID=\x22'+_0x4d3c19+'\x22\x0a');}catch{}}try{await _0x17e4e9['POFld'](getToken);}catch{}if(_0x4d3c19){_0x17e4e9[_0x2481e4(0x179)](shouldAutoEnableAfterClear,_0x105514)&&_0x17e4e9[_0x2481e4(0x179)](autoEnableAfterClear,_0x4d3c19);initBranchTracking(_0x4d3c19);const _0x4350bc=_0x17e4e9['QeePO'](isSessionEnabled,_0x4d3c19);try{const _0x1dff26=createTelemetryCollector(_0x17e4e9['vhnAs']);await _0x1dff26[_0x2481e4(0x16d)]({'sessionId':_0x4d3c19,'hooksEnabled':_0x4350bc}),await _0x1dff26['trackCommandEnd'](_0x17e4e9['NeZjW']);}catch{}if(_0x4350bc){const _0x143ea1=getCurrentBranch(),_0x16f198=_0x143ea1&&_0x143ea1!==_0x17e4e9[_0x2481e4(0x178)]&&_0x17e4e9[_0x2481e4(0x176)](_0x143ea1,_0x17e4e9['ZUEiF'])?'\x20(Branch:\x20'+_0x143ea1+')':'',_0x2ef85d={'hookSpecificOutput':{'hookEventName':_0x17e4e9[_0x2481e4(0x16a)],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x16f198}};console['log'](JSON[_0x2481e4(0x17b)](_0x2ef85d));}}}
@@ -1 +1 @@
1
- (function(_0x4344dd,_0x544b9b){const _0x156bc5=_0x1613,_0x2d37ba=_0x4344dd();while(!![]){try{const _0x2d73b0=parseInt(_0x156bc5(0x1e3))/0x1*(parseInt(_0x156bc5(0x1d6))/0x2)+parseInt(_0x156bc5(0x1e6))/0x3+-parseInt(_0x156bc5(0x1df))/0x4+-parseInt(_0x156bc5(0x1d9))/0x5*(-parseInt(_0x156bc5(0x1e8))/0x6)+parseInt(_0x156bc5(0x1e7))/0x7+parseInt(_0x156bc5(0x1da))/0x8+-parseInt(_0x156bc5(0x1d5))/0x9;if(_0x2d73b0===_0x544b9b)break;else _0x2d37ba['push'](_0x2d37ba['shift']());}catch(_0x492add){_0x2d37ba['push'](_0x2d37ba['shift']());}}}(_0x43ad,0x6919f));function _0x1613(_0x329cf3,_0x1c4a7f){_0x329cf3=_0x329cf3-0x1d5;const _0x43ad43=_0x43ad();let _0x1613da=_0x43ad43[_0x329cf3];return _0x1613da;}import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';function _0x43ad(){const _0xed12de=['KJbfE','305NTFfbT','2679632ADKCSQ','hook:stop','some','checklistItems','YWhmI','3224656JhKqjp','sessionId','featureId','closed','449DwPifr','success','blocked','2195418UZplak','813204OosCwo','3144SSirpF','xYPbv','wRWLG','stringify','4758399DgIlpI','2452HPBDjP','Stop'];_0x43ad=function(){return _0xed12de;};return _0x43ad();}import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x339db2){const _0x4c1355=_0x1613,_0xcbbee9={'YWhmI':function(_0xa9b794,_0x7a9133){return _0xa9b794(_0x7a9133);},'wRWLG':function(_0x48dd0e,_0x4376df,_0x3c66bd,_0x1346c6){return _0x48dd0e(_0x4376df,_0x3c66bd,_0x1346c6);},'IogaB':function(_0x582d15,_0x51670e,_0x425b7b,_0x320948){return _0x582d15(_0x51670e,_0x425b7b,_0x320948);},'KJbfE':function(_0x3f8bce,_0x3e4e5c){return _0x3f8bce(_0x3e4e5c);},'xYPbv':function(_0x4599a0,_0x442a66,_0x1f5c1a){return _0x4599a0(_0x442a66,_0x1f5c1a);}},_0x19a5e9=await _0xcbbee9[_0x4c1355(0x1de)](getEnabledHookContext,_0x339db2),_0x9cf049=_0x19a5e9?.[_0x4c1355(0x1e0)]??null;let _0x15df5b=!![];if(!_0x9cf049){await _0xcbbee9[_0x4c1355(0x1ea)](trackStop,_0x9cf049,![],_0x15df5b);return;}try{const _0x396deb=_0xcbbee9[_0x4c1355(0x1de)](getSessionEntry,_0x9cf049);if(!_0x396deb){await _0xcbbee9['IogaB'](trackStop,_0x9cf049,!![],_0x15df5b);return;}const _0xb5a83a=await getToken(),_0x4071c1='https://dashboard.ranger.net/features/'+_0x396deb['featureId'];let _0x4e8730=null,_0x354a13=![],_0x4763fe=![];if(_0xb5a83a)try{const _0x44af51=await _0xcbbee9[_0x4c1355(0x1d8)](getFeature,_0x396deb['featureId']);_0x4e8730=_0x44af51['currentSessionId']??null;const _0x261e2b=_0x44af51[_0x4c1355(0x1dd)]['filter'](_0x1a3385=>_0x1a3385[_0x4c1355(0x1e0)]===_0x4e8730);_0x354a13=_0x261e2b[_0x4c1355(0x1dc)](_0x4032fe=>_0x4032fe['status']!=='verified'&&_0x4032fe['status']!==_0x4c1355(0x1e5)&&_0x4032fe['status']!==_0x4c1355(0x1e2)&&_0x4032fe['status']!=='incomplete'),_0x4763fe=_0x261e2b['some'](_0x48e03d=>_0x48e03d['status']==='verification_in_progress');}catch{}if(_0xb5a83a&&_0x4e8730&&_0x354a13){if(!_0x4763fe&&shouldShowStopReminder(_0x9cf049)){const _0x4748e2={'hookSpecificOutput':{'hookEventName':_0x4c1355(0x1d7),'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'+_0x4071c1}};console['log'](JSON[_0x4c1355(0x1eb)](_0x4748e2));}}if(_0xb5a83a&&_0x4e8730&&!_0x354a13)try{await _0xcbbee9[_0x4c1355(0x1e9)](concludeSession,_0x396deb[_0x4c1355(0x1e1)],_0x4e8730);}catch{}await _0xcbbee9[_0x4c1355(0x1ea)](trackStop,_0x9cf049,!![],_0x15df5b);return;}catch{await trackStop(_0x9cf049,!![],_0x15df5b);return;}}async function trackStop(_0x38cb34,_0x3dd6c7,_0x780dbf){const _0x590c42=_0x1613,_0x2adfb9={'gizus':_0x590c42(0x1db)};try{const _0x32122=createTelemetryCollector(_0x2adfb9['gizus']);await _0x32122['trackCommandStart']({'sessionId':_0x38cb34??undefined,'hooksEnabled':_0x3dd6c7,'stopAllowed':_0x780dbf}),await _0x32122['trackCommandEnd'](_0x590c42(0x1e4));}catch{}}
1
+ function _0x4a1a(){const _0x324f10=['filter','1913541SpzuIL','1112760zVnnDr','CEMCr','2637621DFciQC','some','log','currentSessionId','8obUyhr','201942qdoORD','blocked','1337944jLkLYy','Stop','status','closed','VsKpw','sessionId','2724200KBUJwd','https://dashboard.ranger.net/features/','stringify','40IWqpbJ','checklistItems','trackCommandStart','hook:stop','featureId','24793yRrcew','success','JjxoC','RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20'];_0x4a1a=function(){return _0x324f10;};return _0x4a1a();}function _0x3505(_0x3ad0fb,_0x1ea589){_0x3ad0fb=_0x3ad0fb-0xfa;const _0x4a1adf=_0x4a1a();let _0x350534=_0x4a1adf[_0x3ad0fb];return _0x350534;}(function(_0x1eb4fe,_0x5e532a){const _0x5cf912=_0x3505,_0x226353=_0x1eb4fe();while(!![]){try{const _0x1dbcc9=parseInt(_0x5cf912(0x115))/0x1*(parseInt(_0x5cf912(0x104))/0x2)+parseInt(_0x5cf912(0xfe))/0x3+-parseInt(_0x5cf912(0x107))/0x4+-parseInt(_0x5cf912(0x110))/0x5*(parseInt(_0x5cf912(0x105))/0x6)+-parseInt(_0x5cf912(0xfd))/0x7+parseInt(_0x5cf912(0x10d))/0x8+parseInt(_0x5cf912(0x100))/0x9;if(_0x1dbcc9===_0x5e532a)break;else _0x226353['push'](_0x226353['shift']());}catch(_0x26ca85){_0x226353['push'](_0x226353['shift']());}}}(_0x4a1a,0x37515));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x54e78b){const _0x4fe205=_0x3505,_0x464e8f={'zAMSW':function(_0x58b959,_0x43930e){return _0x58b959(_0x43930e);},'JjxoC':function(_0x49c1d4,_0x549b0b,_0x55734c,_0x3fa544){return _0x49c1d4(_0x549b0b,_0x55734c,_0x3fa544);},'KVQnQ':function(_0x560c2,_0x199d98){return _0x560c2(_0x199d98);},'VsKpw':function(_0x1fe9ba,_0xd297c1){return _0x1fe9ba&&_0xd297c1;},'EJNuP':function(_0x2f8eba,_0x125d16){return _0x2f8eba(_0x125d16);},'CEMCr':_0x4fe205(0x108)},_0x1900c5=await _0x464e8f['zAMSW'](getEnabledHookContext,_0x54e78b),_0x38e120=_0x1900c5?.['sessionId']??null;let _0x4d1c89=!![];if(!_0x38e120){await _0x464e8f[_0x4fe205(0xfa)](trackStop,_0x38e120,![],_0x4d1c89);return;}try{const _0xd3b8ee=getSessionEntry(_0x38e120);if(!_0xd3b8ee){await _0x464e8f['JjxoC'](trackStop,_0x38e120,!![],_0x4d1c89);return;}const _0x3e1716=await getToken(),_0x1e63b9=_0x4fe205(0x10e)+_0xd3b8ee[_0x4fe205(0x114)];let _0x4fb5b1=null,_0x1f5898=![],_0x37bbdd=![];if(_0x3e1716)try{const _0x5b05db=await _0x464e8f['KVQnQ'](getFeature,_0xd3b8ee['featureId']);_0x4fb5b1=_0x5b05db[_0x4fe205(0x103)]??null;const _0x3a7a41=_0x5b05db[_0x4fe205(0x111)][_0x4fe205(0xfc)](_0x5b03a5=>_0x5b03a5[_0x4fe205(0x10c)]===_0x4fb5b1);_0x1f5898=_0x3a7a41[_0x4fe205(0x101)](_0x58c2d1=>_0x58c2d1['status']!=='verified'&&_0x58c2d1[_0x4fe205(0x109)]!==_0x4fe205(0x106)&&_0x58c2d1[_0x4fe205(0x109)]!==_0x4fe205(0x10a)&&_0x58c2d1['status']!=='incomplete'),_0x37bbdd=_0x3a7a41['some'](_0x487806=>_0x487806[_0x4fe205(0x109)]==='verification_in_progress');}catch{}if(_0x464e8f[_0x4fe205(0x10b)](_0x3e1716,_0x4fb5b1)&&_0x1f5898){if(!_0x37bbdd&&_0x464e8f['EJNuP'](shouldShowStopReminder,_0x38e120)){const _0x1236cb={'hookSpecificOutput':{'hookEventName':_0x464e8f[_0x4fe205(0xff)],'additionalContext':_0x4fe205(0xfb)+_0x1e63b9}};console[_0x4fe205(0x102)](JSON[_0x4fe205(0x10f)](_0x1236cb));}}if(_0x464e8f[_0x4fe205(0x10b)](_0x3e1716,_0x4fb5b1)&&!_0x1f5898)try{await concludeSession(_0xd3b8ee[_0x4fe205(0x114)],_0x4fb5b1);}catch{}await trackStop(_0x38e120,!![],_0x4d1c89);return;}catch{await trackStop(_0x38e120,!![],_0x4d1c89);return;}}async function trackStop(_0x4199c4,_0xf4d197,_0x4c0793){const _0xa2c704=_0x3505,_0x19388c={'jubdn':function(_0x3a111e,_0x3967d7){return _0x3a111e(_0x3967d7);},'FhSpo':_0xa2c704(0x116)};try{const _0x587a51=_0x19388c['jubdn'](createTelemetryCollector,_0xa2c704(0x113));await _0x587a51[_0xa2c704(0x112)]({'sessionId':_0x4199c4??undefined,'hooksEnabled':_0xf4d197,'stopAllowed':_0x4c0793}),await _0x587a51['trackCommandEnd'](_0x19388c['FhSpo']);}catch{}}
@@ -1 +1 @@
1
- (function(_0x31f91a,_0x44b88c){var _0x21d6e7=_0x2a96,_0x21d46d=_0x31f91a();while(!![]){try{var _0x3d3eff=-parseInt(_0x21d6e7(0x164))/0x1*(parseInt(_0x21d6e7(0x160))/0x2)+-parseInt(_0x21d6e7(0x15f))/0x3*(parseInt(_0x21d6e7(0x161))/0x4)+-parseInt(_0x21d6e7(0x163))/0x5*(-parseInt(_0x21d6e7(0x162))/0x6)+parseInt(_0x21d6e7(0x168))/0x7+-parseInt(_0x21d6e7(0x166))/0x8*(-parseInt(_0x21d6e7(0x167))/0x9)+parseInt(_0x21d6e7(0x169))/0xa+-parseInt(_0x21d6e7(0x165))/0xb;if(_0x3d3eff===_0x44b88c)break;else _0x21d46d['push'](_0x21d46d['shift']());}catch(_0x52b052){_0x21d46d['push'](_0x21d46d['shift']());}}}(_0x1c44,0xee0f6));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';function _0x2a96(_0x5edc41,_0x3788b1){_0x5edc41=_0x5edc41-0x15f;var _0x1c44c3=_0x1c44();var _0x2a9670=_0x1c44c3[_0x5edc41];return _0x2a9670;}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';function _0x1c44(){var _0x1c5afd=['13583255YKPnKt','2340160qTQTUq','9xpxjTJ','330406xybIFh','174636kbXPxq','326778bRGdSf','75PuGCTq','8moqsYE','25473998RAeVlZ','3912scJgoE','32247pnVEoT'];_0x1c44=function(){return _0x1c5afd;};return _0x1c44();}
1
+ (function(_0x336fb1,_0x59d709){var _0x51b789=_0xa9d5,_0x598198=_0x336fb1();while(!![]){try{var _0x5951bd=-parseInt(_0x51b789(0x187))/0x1+-parseInt(_0x51b789(0x18c))/0x2+-parseInt(_0x51b789(0x18a))/0x3+parseInt(_0x51b789(0x18d))/0x4*(parseInt(_0x51b789(0x18f))/0x5)+-parseInt(_0x51b789(0x18b))/0x6*(parseInt(_0x51b789(0x189))/0x7)+parseInt(_0x51b789(0x190))/0x8+-parseInt(_0x51b789(0x188))/0x9*(-parseInt(_0x51b789(0x18e))/0xa);if(_0x5951bd===_0x59d709)break;else _0x598198['push'](_0x598198['shift']());}catch(_0x4daa2f){_0x598198['push'](_0x598198['shift']());}}}(_0x184c,0x74477));function _0x184c(){var _0x9a732e=['3937888OKWNRy','433915BKZLtW','15681537aiJisB','196gLSahS','1553193meTFJW','97332jBtObK','1025618nkeWuF','641284DpkBjX','10VHRuGz','5bXgaiZ'];_0x184c=function(){return _0x9a732e;};return _0x184c();}export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';function _0xa9d5(_0x350dcd,_0x415f09){_0x350dcd=_0x350dcd-0x187;var _0x184c1a=_0x184c();var _0xa9d593=_0x184c1a[_0x350dcd];return _0xa9d593;}export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';