@ranger-testing/ranger-cli 3.0.1-alpha.aab0a1c-26 → 3.0.1-alpha.f6aba6c-32

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 (84) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -0
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -0
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/userApi.js +1 -1
  79. package/build/commands/utils/version.js +1 -1
  80. package/build/commands/verifyFeature.js +1 -1
  81. package/build/commands/verifyFeatureCli.js +1 -1
  82. package/build/commands/verifyFeatureNovaCli.js +1 -1
  83. package/build/commands/verifyFeatureRangerwrightCli.js +1 -0
  84. package/package.json +3 -2
@@ -1 +1 @@
1
- const _0x2f2042=_0x6a14;(function(_0xc4e5eb,_0x22a47d){const _0x592e61=_0x6a14,_0x40b25c=_0xc4e5eb();while(!![]){try{const _0x460202=-parseInt(_0x592e61(0x1da))/0x1+parseInt(_0x592e61(0x246))/0x2+-parseInt(_0x592e61(0x1c6))/0x3*(-parseInt(_0x592e61(0x21b))/0x4)+parseInt(_0x592e61(0x1e1))/0x5*(parseInt(_0x592e61(0x1ca))/0x6)+-parseInt(_0x592e61(0x22e))/0x7+parseInt(_0x592e61(0x25d))/0x8*(-parseInt(_0x592e61(0x22b))/0x9)+parseInt(_0x592e61(0x29e))/0xa;if(_0x460202===_0x22a47d)break;else _0x40b25c['push'](_0x40b25c['shift']());}catch(_0x52babf){_0x40b25c['push'](_0x40b25c['shift']());}}}(_0x40fd,0xe41fa));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x37234b 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=_0x2f2042(0x1f0),bold=_0x3ec16a=>'\x1b[1m'+_0x3ec16a+'\x1b[0m';function getGitRepoUrl(){const _0x564f6a=_0x2f2042,_0x503d5a={'lkcQk':'git\x20remote\x20get-url\x20origin','lEyED':'utf-8','rbqEN':_0x564f6a(0x203)};try{const _0xefcc36=execSync(_0x503d5a['lkcQk'],{'encoding':_0x503d5a[_0x564f6a(0x1ea)],'stdio':[_0x503d5a[_0x564f6a(0x1fd)],_0x503d5a['rbqEN'],_0x564f6a(0x203)]})['trim']();return _0xefcc36['replace'](/\.git$/,'')['replace'](/^git@github\.com:/,_0x564f6a(0x289))[_0x564f6a(0x241)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x84c36e=_0x2f2042,_0x50892a={'pHciH':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','GdoQG':'utf-8','cjHFM':_0x84c36e(0x203)};try{return execSync(_0x50892a[_0x84c36e(0x29b)],{'encoding':_0x50892a['GdoQG'],'stdio':[_0x84c36e(0x203),'pipe',_0x50892a[_0x84c36e(0x24a)]]})[_0x84c36e(0x205)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x390570=_0x2f2042,_0x1ceda2={'xqoZa':function(_0x2f4bf0,_0x54febd){return _0x2f4bf0(_0x54febd);},'oWJAt':function(_0x171b28,_0x267324,_0x2aa3b4){return _0x171b28(_0x267324,_0x2aa3b4);},'oaihT':_0x390570(0x202)},_0x294c49=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!_0x1ceda2[_0x390570(0x27c)](existsSync,_0x294c49))return null;try{const _0x283cb4=await _0x1ceda2['oWJAt'](readFile,_0x294c49,_0x1ceda2[_0x390570(0x1ec)]);return _0x283cb4[_0x390570(0x205)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x596425){const _0x1e2add=_0x2f2042,_0x14a815={'TEICN':function(_0x2ed69b,_0x9318c1,_0x135913){return _0x2ed69b(_0x9318c1,_0x135913);},'hbZYT':function(_0x4662c7,_0x36a5b7){return _0x4662c7(_0x36a5b7);}},_0x55d1cd=getRangerDir(),_0x165e4c=_0x14a815[_0x1e2add(0x257)](join,_0x55d1cd,ACTIVE_FEATURE_FILE);!_0x14a815[_0x1e2add(0x236)](existsSync,_0x55d1cd)&&await mkdir(_0x55d1cd,{'recursive':!![]}),await writeFile(_0x165e4c,_0x596425,'utf-8');}function getProgressDisplay(_0x3c7171){const _0x1e1a19=_0x2f2042,_0x13b132={'UQhal':function(_0x5d72f4,_0x51154f){return _0x5d72f4+_0x51154f;},'cFZKH':function(_0x3c3c3b,_0x1ce282){return _0x3c3c3b>_0x1ce282;},'dCrUR':function(_0x12e08d,_0x187288){return _0x12e08d>_0x187288;}},_0x4df873=_0x3c7171['verifiedItems']||0x0,_0x1344d9=_0x3c7171[_0x1e1a19(0x1fa)]||0x0,_0x5570a1=_0x3c7171[_0x1e1a19(0x291)]||0x0,_0x5ba358=_0x3c7171['incompleteItems']||0x0,_0xac3d0b=_0x3c7171['pendingItems']||0x0,_0x29162f=_0x13b132['UQhal'](_0x4df873+_0x1344d9+_0x5570a1,_0x5ba358)+_0xac3d0b;if(_0x29162f===0x0)return'-';const _0x2751e1=0xa,_0x5a169=Math['round'](_0x4df873/_0x29162f*_0x2751e1),_0x2cf8ca=_0x13b132['UQhal']('█'['repeat'](_0x5a169),'░'[_0x1e1a19(0x1fe)](_0x2751e1-_0x5a169)),_0x1d8c0b=[];if(_0x13b132[_0x1e1a19(0x28d)](_0x5570a1,0x0))_0x1d8c0b[_0x1e1a19(0x1dd)](_0x5570a1+'\x20blocked');if(_0x13b132[_0x1e1a19(0x28d)](_0x5ba358,0x0))_0x1d8c0b[_0x1e1a19(0x1dd)](_0x5ba358+_0x1e1a19(0x201));if(_0x1344d9>0x0)_0x1d8c0b[_0x1e1a19(0x1dd)](_0x1344d9+'\x20in\x20progress');const _0x511b8c=_0x13b132['dCrUR'](_0x1d8c0b['length'],0x0)?'\x20('+_0x1d8c0b['join'](',\x20')+')':'';return _0x2cf8ca+'\x20'+_0x4df873+'/'+_0x29162f+'\x20verified'+_0x511b8c;}function getCurrentSessionItems(_0x19af89,_0x1580b6){const _0x389a6f=_0x2f2042;if(!_0x19af89[_0x389a6f(0x26b)])return _0x1580b6['filter'](_0x236153=>!_0x236153[_0x389a6f(0x1ef)]);return _0x1580b6['filter'](_0x24581b=>_0x24581b['sessionId']===_0x19af89['currentSessionId']||!_0x24581b['sessionId']);}function displayFeature(_0x4c3372,_0x5b1480){const _0x1421c0=_0x2f2042,_0x6a15b5={'HCVfv':'\x0a\x20\x20\x20Scenarios:','qqRHh':function(_0x4b1215,_0xe5fe55){return _0x4b1215<_0xe5fe55;},'oREnf':function(_0x971ad8,_0x521b8d){return _0x971ad8===_0x521b8d;},'CkhLS':function(_0x4399ff,_0x31d434){return _0x4399ff===_0x31d434;},'nYbTv':'approved','NCIep':'closed','UxFwT':function(_0xd0821,_0x3b4b9d){return _0xd0821===_0x3b4b9d;},'RFliw':_0x1421c0(0x295),'MNZEu':function(_0x482d5b,_0x400a61){return _0x482d5b>_0x400a61;},'iduzO':function(_0x19c32c,_0x5383b5){return _0x19c32c!==_0x5383b5;},'qxdKn':_0x1421c0(0x232)};console['log']('\x0a'+_0x4c3372['name']+'\x20('+_0x4c3372[_0x1421c0(0x294)]+')');_0x4c3372['stats']&&console[_0x1421c0(0x1e5)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x4c3372['stats']));_0x4c3372[_0x1421c0(0x20a)]&&console[_0x1421c0(0x1e5)](_0x1421c0(0x233)+_0x4c3372[_0x1421c0(0x20a)]);_0x4c3372['gitRepoUrl']&&console['log'](_0x1421c0(0x1fc)+_0x4c3372['gitRepoUrl']);_0x4c3372['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x4c3372['gitBranch']);console[_0x1421c0(0x1e5)]('\x20\x20\x20Created:\x20'+new Date(_0x4c3372['createdAt'])[_0x1421c0(0x28f)]());_0x4c3372['completedAt']&&console[_0x1421c0(0x1e5)](_0x1421c0(0x1e7)+new Date(_0x4c3372['completedAt'])['toLocaleString']());if(_0x5b1480&&_0x5b1480['length']>0x0){console[_0x1421c0(0x1e5)](_0x6a15b5[_0x1421c0(0x21a)]);for(let _0x118a3d=0x0;_0x6a15b5[_0x1421c0(0x1c5)](_0x118a3d,_0x5b1480[_0x1421c0(0x1eb)]);_0x118a3d++){const _0x36ffa1=_0x5b1480[_0x118a3d];let _0x42e26f;if(_0x6a15b5[_0x1421c0(0x20b)](_0x36ffa1['status'],'closed')&&_0x6a15b5[_0x1421c0(0x235)](_0x36ffa1[_0x1421c0(0x1e0)],_0x6a15b5[_0x1421c0(0x226)]))_0x42e26f='✅';else{if(_0x36ffa1['status']===_0x1421c0(0x262))_0x42e26f='🟢';else{if(_0x6a15b5['CkhLS'](_0x36ffa1['status'],_0x1421c0(0x232)))_0x42e26f='🟠';else{if(_0x6a15b5['CkhLS'](_0x36ffa1[_0x1421c0(0x250)],'blocked'))_0x42e26f='🛑';else{if(_0x6a15b5[_0x1421c0(0x20b)](_0x36ffa1['status'],_0x6a15b5['NCIep']))_0x42e26f='⛔';else _0x6a15b5[_0x1421c0(0x26f)](_0x36ffa1['status'],_0x6a15b5[_0x1421c0(0x252)])?_0x42e26f='⏳':_0x42e26f='⬜';}}}}const _0x2722a9=_0x36ffa1[_0x1421c0(0x25c)]>0x1?_0x1421c0(0x26d)+_0x36ffa1['version']+')':'',_0x1225a1=_0x6a15b5['MNZEu'](_0x36ffa1[_0x1421c0(0x25c)],0x1)&&_0x36ffa1[_0x1421c0(0x25f)]&&_0x36ffa1['status']!==_0x6a15b5['NCIep']&&_0x6a15b5['iduzO'](_0x36ffa1['status'],_0x1421c0(0x262))?'\x20[has\x20reviewer\x20feedback]':'';console['log'](_0x1421c0(0x229)+(_0x118a3d+0x1)+'.\x20'+_0x42e26f+'\x20'+_0x36ffa1[_0x1421c0(0x20a)]+_0x2722a9+_0x1225a1);_0x6a15b5[_0x1421c0(0x20b)](_0x36ffa1[_0x1421c0(0x250)],'blocked')&&_0x36ffa1[_0x1421c0(0x2a0)]&&console[_0x1421c0(0x1e5)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x36ffa1[_0x1421c0(0x2a0)]);_0x36ffa1[_0x1421c0(0x250)]===_0x6a15b5[_0x1421c0(0x1d4)]&&_0x36ffa1[_0x1421c0(0x1d8)]&&console[_0x1421c0(0x1e5)](_0x1421c0(0x27b)+_0x36ffa1[_0x1421c0(0x1d8)]);if(_0x36ffa1['status']==='closed'&&_0x6a15b5['CkhLS'](_0x36ffa1[_0x1421c0(0x1e0)],_0x1421c0(0x293)))console['log'](_0x1421c0(0x1e8));else _0x36ffa1['status']===_0x6a15b5['NCIep']&&_0x36ffa1['canceledReason']&&console['log']('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x36ffa1[_0x1421c0(0x24b)]);}}}function _0x6a14(_0x611223,_0x13b75f){_0x611223=_0x611223-0x1c3;const _0x40fd29=_0x40fd();let _0x6a14d3=_0x40fd29[_0x611223];return _0x6a14d3;}export async function featureCreate(_0x316f20,_0x4c0496){const _0x3abfcf=_0x2f2042,_0x555a66={'Gqaaw':function(_0x3bbd6d,_0x53e62e){return _0x3bbd6d===_0x53e62e;},'YPIKb':function(_0x4d041e){return _0x4d041e();},'yBHZa':function(_0x2aab29,_0x101cdd){return _0x2aab29(_0x101cdd);},'ciecv':_0x3abfcf(0x23d),'dPgoH':function(_0x11f466,_0x6e3c30,_0x516bf6){return _0x11f466(_0x6e3c30,_0x516bf6);}},{envNames:_0x12c7ed}=await getEnvNames();if(_0x555a66[_0x3abfcf(0x268)](_0x12c7ed[_0x3abfcf(0x1eb)],0x0)&&!process['env'][_0x3abfcf(0x23e)]){let _0x41d758=0x0;try{_0x41d758=(await _0x555a66['YPIKb'](listCloudProfiles))[_0x3abfcf(0x1eb)];}catch{_0x41d758=0x1;}_0x41d758===0x0&&console[_0x3abfcf(0x248)]('\x0a'+_0x555a66[_0x3abfcf(0x28e)](formatProfileRequiredMessage,_0x39c232=>bold(_0x39c232)));}const _0x1a284a=_0x4c0496[_0x3abfcf(0x24c)]?_0x4c0496[_0x3abfcf(0x24c)]['map'](_0x2f5dd3=>_0x2f5dd3['trim']()):[],_0x8cb98c=_0x555a66[_0x3abfcf(0x23f)](getGitRepoUrl),_0x3a05c9=getGitBranch();console[_0x3abfcf(0x1e5)](_0x555a66[_0x3abfcf(0x24f)]);const _0x4e11d0=await createFeature({'name':_0x316f20,'description':_0x4c0496['description'],'checklist':_0x1a284a,'gitRepoUrl':_0x8cb98c,'gitBranch':_0x3a05c9});await _0x555a66['yBHZa'](setActiveFeatureId,_0x4e11d0['id']),await tryStartCurrentSession(_0x4e11d0['id']);const _0x1fcd68=process['env'][_0x3abfcf(0x28b)];_0x1fcd68&&_0x555a66['dPgoH'](registerSession,_0x1fcd68,_0x4e11d0['id']),console[_0x3abfcf(0x1e5)](_0x3abfcf(0x1f8)+_0x4e11d0['id']),_0x555a66['dPgoH'](displayFeature,_0x4e11d0,_0x4e11d0[_0x3abfcf(0x297)]),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0xe50bb1){const _0x4fd439=_0x2f2042,_0x412b58={'CdqKA':function(_0x2b004a){return _0x2b004a();},'oSWox':function(_0x3fa9b0){return _0x3fa9b0();},'PwZcd':function(_0x4b3ad9,_0x9d555c){return _0x4b3ad9(_0x9d555c);},'CUmVd':function(_0x358547,_0x19dfad){return _0x358547>_0x19dfad;},'EgGsC':_0x4fd439(0x207),'UvRCl':_0x4fd439(0x287)},_0x5a0715={'limit':_0xe50bb1[_0x4fd439(0x200)]??0xa,'offset':_0xe50bb1['offset']??0x0,'includeDeleted':_0xe50bb1[_0x4fd439(0x217)]};_0xe50bb1['currentBranch']&&(_0x5a0715['gitRepoUrl']=_0x412b58['CdqKA'](getGitRepoUrl),_0x5a0715[_0x4fd439(0x240)]=_0x412b58['oSWox'](getGitBranch));const _0x1cf700=await _0x412b58['PwZcd'](listFeatures,_0x5a0715);if(_0x1cf700[_0x4fd439(0x214)][_0x4fd439(0x1eb)]===0x0){console['log'](_0x4fd439(0x1f1));return;}const _0x1f2ab3=_0x412b58['CUmVd'](_0x1cf700[_0x4fd439(0x210)],_0x1cf700[_0x4fd439(0x214)][_0x4fd439(0x1eb)])?'Showing\x20'+_0x1cf700['items']['length']+_0x4fd439(0x277)+_0x1cf700[_0x4fd439(0x210)]:_0x1cf700[_0x4fd439(0x210)]+'\x20feature\x20review(s)\x20found';console['log']('\x0a'+_0x1f2ab3+':\x0a');for(const _0x224bfb of _0x1cf700[_0x4fd439(0x214)]){console[_0x4fd439(0x1e5)](''+_0x224bfb[_0x4fd439(0x220)]),console[_0x4fd439(0x1e5)]('\x20\x20\x20ID:\x20'+_0x224bfb['id']),_0x224bfb['stats']&&console[_0x4fd439(0x1e5)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x224bfb[_0x4fd439(0x20e)])),_0x224bfb['gitBranch']&&console[_0x4fd439(0x1e5)](_0x4fd439(0x26c)+_0x224bfb[_0x4fd439(0x240)]),console['log'](_0x4fd439(0x299)+new Date(_0x224bfb[_0x4fd439(0x267)])['toLocaleDateString']()),console[_0x4fd439(0x1e5)]('');}const _0x47decb=_0x5a0715['limit']??0xa,_0x5964c7=(_0x5a0715[_0x4fd439(0x1f7)]??0x0)+_0x1cf700[_0x4fd439(0x214)]['length'];if(_0x5964c7<_0x1cf700['totalCount']){const _0x2f0887=_0x47decb!==0xa?'\x20--limit\x20'+_0x47decb:'',_0x4f3124=_0xe50bb1['currentBranch']?_0x412b58[_0x4fd439(0x28a)]:'',_0x2ad1ff=_0xe50bb1['includeDeleted']?_0x412b58[_0x4fd439(0x269)]:'';console[_0x4fd439(0x1e5)]('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x5964c7+_0x2f0887+_0x4f3124+_0x2ad1ff);}}export async function featureShow(_0x176f8b){const _0x2cff61=_0x2f2042,_0x38727e={'tCneF':function(_0x4076d1){return _0x4076d1();},'qJCCl':function(_0x41ddba,_0x1e40dd){return _0x41ddba(_0x1e40dd);}},_0x114c09=_0x176f8b||await _0x38727e['tCneF'](getActiveFeatureId);if(!_0x114c09)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 _0x57b79d=await _0x38727e[_0x2cff61(0x242)](getFeature,_0x114c09);displayFeature(_0x57b79d,_0x57b79d[_0x2cff61(0x297)]);}export async function featureResume(_0x269c3e){const _0x576092=_0x2f2042,_0x2d05e7={'nZckQ':function(_0xb362c5,_0x3fb7a1){return _0xb362c5(_0x3fb7a1);},'EGtEy':function(_0x1f8035,_0x2bea07){return _0x1f8035(_0x2bea07);},'bhHrt':function(_0xf4924a,_0x5e5de9){return _0xf4924a!==_0x5e5de9;},'Kmoql':function(_0x2adc26,_0x5a6a18,_0x52c0d8){return _0x2adc26(_0x5a6a18,_0x52c0d8);},'ylCDh':function(_0x4501f9){return _0x4501f9();},'PVNAC':_0x576092(0x249),'CWjzC':function(_0x1c538e,_0x4c840e){return _0x1c538e||_0x4c840e;},'DOfIX':_0x576092(0x243),'mUuXg':function(_0x504e55,_0x182570){return _0x504e55||_0x182570;},'KzCUN':function(_0x5456c7,_0x20111d){return _0x5456c7===_0x20111d;},'noGQM':'\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','PkaNH':function(_0x5c08e6,_0x3ed7d8){return _0x5c08e6(_0x3ed7d8);},'jNKQB':_0x576092(0x238),'fLaSF':_0x576092(0x21e),'GFOzD':function(_0x9157f6,_0x2e97bc,_0xeaae3){return _0x9157f6(_0x2e97bc,_0xeaae3);},'TWAmr':function(_0x112ab1,_0x70879f,_0x14167e){return _0x112ab1(_0x70879f,_0x14167e);},'ComJd':function(_0x288df6,_0x5d6526){return _0x288df6(_0x5d6526);}};if(_0x269c3e){const _0x10da2e=await _0x2d05e7[_0x576092(0x29d)](getFeature,_0x269c3e);await _0x2d05e7[_0x576092(0x1e9)](setActiveFeatureId,_0x10da2e['id']);const _0x2b60e2=getGitBranch();_0x2b60e2&&_0x2d05e7[_0x576092(0x1de)](_0x2b60e2,_0x10da2e['gitBranch'])&&(await updateFeature(_0x10da2e['id'],{'gitBranch':_0x2b60e2}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x2b60e2));console['log'](_0x576092(0x27f)+_0x10da2e['name']+'\x20('+_0x10da2e['id']+')'),await tryStartCurrentSession(_0x10da2e['id']);const _0xc73f4=process['env'][_0x576092(0x28b)];_0xc73f4&&registerSession(_0xc73f4,_0x10da2e['id']);_0x2d05e7['Kmoql'](displayFeature,_0x10da2e,_0x10da2e['checklistItems']),await printFeedbackNudge(_0x10da2e['id']);return;}const _0x2a07dc=_0x2d05e7['ylCDh'](getGitRepoUrl),_0x289d7b=getGitBranch();if(!_0x2a07dc&&!_0x289d7b)throw new Error(_0x2d05e7['PVNAC']);console['log']('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x2d05e7['CWjzC'](_0x2a07dc,_0x2d05e7['DOfIX'])+'\x20/\x20'+_0x2d05e7['mUuXg'](_0x289d7b,'any')+'...');const _0x3e7509=await listFeatures({'gitRepoUrl':_0x2a07dc,'gitBranch':_0x289d7b}),_0x1d0968=_0x3e7509['items'][_0x576092(0x1fb)](_0x49be7c=>_0x49be7c[_0x576092(0x250)]?_0x49be7c['status']!=='verified':!_0x49be7c[_0x576092(0x1dc)]);if(_0x1d0968[_0x576092(0x1eb)]===0x0){console[_0x576092(0x1e5)]('\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.'),console[_0x576092(0x1e5)]('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0x4af12b;if(_0x2d05e7[_0x576092(0x239)](_0x1d0968['length'],0x1))_0x4af12b=_0x1d0968[0x0];else{const _0x3e3dd9=process[_0x576092(0x25a)][_0x576092(0x1e6)]&&process['stdout']['isTTY'];if(!_0x3e3dd9){console[_0x576092(0x1e5)](_0x2d05e7[_0x576092(0x270)]);for(const _0x49f0ce of _0x1d0968){console['log']('\x20\x20'+_0x49f0ce[_0x576092(0x220)]),console['log'](_0x576092(0x255)+_0x49f0ce['id']),_0x49f0ce[_0x576092(0x20e)]&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+_0x2d05e7['PkaNH'](getProgressDisplay,_0x49f0ce['stats'])),_0x49f0ce['gitBranch']&&console[_0x576092(0x1e5)](_0x576092(0x24e)+_0x49f0ce[_0x576092(0x240)]);}throw new Error(_0x576092(0x272));}const {selected:_0x171d6b}=await _0x37234b['prompt']([{'type':_0x576092(0x1cd),'name':_0x2d05e7[_0x576092(0x282)],'message':_0x2d05e7[_0x576092(0x261)],'choices':_0x1d0968[_0x576092(0x22c)](_0x1e53f9=>({'name':_0x1e53f9['name']+'\x20('+_0x1e53f9['id']+')','value':_0x1e53f9['id']}))}]);_0x4af12b=_0x1d0968[_0x576092(0x27d)](_0x49b0b5=>_0x49b0b5['id']===_0x171d6b);}await setActiveFeatureId(_0x4af12b['id']);_0x289d7b&&_0x289d7b!==_0x4af12b['gitBranch']&&(await _0x2d05e7['GFOzD'](updateFeature,_0x4af12b['id'],{'gitBranch':_0x289d7b}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x289d7b));console[_0x576092(0x1e5)](_0x576092(0x27f)+_0x4af12b['name']+'\x20('+_0x4af12b['id']+')'),await _0x2d05e7[_0x576092(0x21d)](tryStartCurrentSession,_0x4af12b['id']);const _0x380ac4=await getFeature(_0x4af12b['id']),_0x2a17e0=process[_0x576092(0x234)]['CLAUDE_SESSION_ID'];_0x2a17e0&&registerSession(_0x2a17e0,_0x380ac4['id']),_0x2d05e7['TWAmr'](displayFeature,_0x380ac4,_0x380ac4['checklistItems']),await _0x2d05e7['ComJd'](printFeedbackNudge,_0x380ac4['id']);}async function printFeedbackNudge(_0x428961){const _0x256890=_0x2f2042,_0xd62f80={'rgVtw':function(_0xdd5337,_0x32bc44){return _0xdd5337(_0x32bc44);},'SOHDq':_0x256890(0x227)};try{const {items:_0x580f8c}=await _0xd62f80[_0x256890(0x298)](getActionItems,_0x428961);let _0x5a978e=0x0,_0x33bdf4=0x0;for(const _0x5575d0 of _0x580f8c){const _0x5b517a=await getItemFeedback(_0x428961,_0x5575d0['id']);_0x5b517a['unaddressedComments'][_0x256890(0x1eb)]>0x0&&(_0x5a978e+=_0x5b517a[_0x256890(0x21f)][_0x256890(0x1eb)],_0x33bdf4++);}_0x5a978e>0x0&&(console['log']('\x0a⚠️\x20\x20'+_0x5a978e+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x33bdf4+'\x20scenario(s).'),console['log'](_0xd62f80[_0x256890(0x29f)]));}catch{}}async function tryStartCurrentSession(_0x569955){const _0x5bc043=_0x2f2042;try{const {sessions:_0x116bbc}=await listFeatureSessions(_0x569955),_0x3d49df=_0x116bbc['find'](_0x3a05aa=>_0x3a05aa['status']==='ready');_0x3d49df&&(await startSession(_0x569955,_0x3d49df['id']),console[_0x5bc043(0x1e5)](_0x5bc043(0x1db)+_0x3d49df[_0x5bc043(0x1c8)]));}catch{}}export async function featureReport(_0x5894e8,_0x24e8b0){const _0x5db5bb=_0x2f2042,_0x527784={'khbXp':'\x0aGenerating\x20report...','vTrYn':function(_0x176ff6,_0x1e417b,_0x2d9104,_0xf0f757){return _0x176ff6(_0x1e417b,_0x2d9104,_0xf0f757);},'kKkep':function(_0x4ede7d,_0x24f5f6,_0x127914){return _0x4ede7d(_0x24f5f6,_0x127914);},'sFzRw':function(_0x58c66e,_0xd69020){return _0x58c66e(_0xd69020);},'OxsmU':'utf-8'},_0x8a0265=_0x5894e8||await getActiveFeatureId();if(!_0x8a0265)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console['log'](_0x527784[_0x5db5bb(0x1ee)]);const _0x5ecccf=await getFeatureReportMarkdown(_0x8a0265,{'style':_0x24e8b0['style']}),_0x4ff59e=_0x24e8b0['output']||_0x527784['vTrYn'](join,getRangerDir(),_0x5db5bb(0x1f5),_0x8a0265+'.md'),_0x24aba4=_0x527784['kKkep'](join,_0x4ff59e,'..');!_0x527784[_0x5db5bb(0x256)](existsSync,_0x24aba4)&&await _0x527784['kKkep'](mkdir,_0x24aba4,{'recursive':!![]}),await writeFile(_0x4ff59e,_0x5ecccf,_0x527784[_0x5db5bb(0x219)]),console[_0x5db5bb(0x1e5)]('\x0a✅\x20Report\x20generated:\x20'+_0x4ff59e);}function getScenarioResult(_0x48c48a){const _0x2fb28e=_0x2f2042,_0x4c8434={'WrOMC':'closed','ZnjhY':_0x2fb28e(0x295),'usWoy':_0x2fb28e(0x21c)};if(_0x48c48a['status']===_0x4c8434['WrOMC'])return _0x48c48a['terminalReason']??_0x4c8434[_0x2fb28e(0x265)];if(_0x48c48a['status']===_0x4c8434['ZnjhY'])return _0x4c8434[_0x2fb28e(0x224)];return _0x48c48a[_0x2fb28e(0x250)];}function getScenarioRationale(_0x3ec833,_0xe268a2){const _0x5bd478=_0x2f2042,_0x85c7d2={'ErcFi':_0x5bd478(0x275)},_0x3495ce=_0x85c7d2[_0x5bd478(0x286)][_0x5bd478(0x266)]('|');let _0x3f6dba=0x0;while(!![]){switch(_0x3495ce[_0x3f6dba++]){case'0':return null;case'1':if(_0x3ec833[_0x5bd478(0x1d8)])return _0x3ec833['incompleteReason'];continue;case'2':if(_0x3ec833['blockedReason'])return _0x3ec833['blockedReason'];continue;case'3':if(_0x3ec833['notes'])return _0x3ec833[_0x5bd478(0x288)];continue;case'4':if(_0xe268a2)return _0xe268a2;continue;case'5':if(_0x3ec833[_0x5bd478(0x24b)])return _0x3ec833['canceledReason'];continue;}break;}}export async function featureReportPrDescription(_0x520892,_0x36f857){const _0x3344cd=_0x2f2042,_0x476e79={'rChCQ':function(_0x64f221){return _0x64f221();},'ZJEyW':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','xaDOi':function(_0x3c4f31,_0x2bfd48){return _0x3c4f31(_0x2bfd48);},'ffhTO':function(_0x9145c3,_0x24a761,_0x5f14f4){return _0x9145c3(_0x24a761,_0x5f14f4);},'fPxmz':function(_0x18d1e2,_0x118d97){return _0x18d1e2===_0x118d97;},'juAZX':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','ShFPS':'\x0aAvailable\x20scenarios:','mgMUM':function(_0x348e42,_0x547905){return _0x348e42<_0x547905;},'OJunG':function(_0x122a24,_0x915619,_0x327cb2,_0x1f6881){return _0x122a24(_0x915619,_0x327cb2,_0x1f6881);}},_0x1bbee4=_0x520892||await _0x476e79['rChCQ'](getActiveFeatureId);if(!_0x1bbee4)throw new Error(_0x476e79['ZJEyW']);const _0x4ea718=await _0x476e79[_0x3344cd(0x20f)](getFeature,_0x1bbee4),_0x341596=_0x4ea718['checklistItems']||[],_0x35710c=_0x476e79['ffhTO'](getCurrentSessionItems,_0x4ea718,_0x341596);_0x476e79[_0x3344cd(0x285)](_0x35710c['length'],0x0)&&(console['error'](_0x476e79['juAZX']),process['exit'](0x1));const _0x147375=_0x36f857['excludeScenarios']??[],_0x8b910a=_0x147375[_0x3344cd(0x1fb)](_0x3fd420=>!Number[_0x3344cd(0x274)](_0x3fd420)||_0x3fd420<0x1||_0x3fd420>_0x35710c[_0x3344cd(0x1eb)]);if(_0x8b910a[_0x3344cd(0x1eb)]>0x0){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x8b910a[_0x3344cd(0x258)](',\x20')),console['log'](_0x476e79[_0x3344cd(0x281)]);for(let _0x3aab02=0x0;_0x476e79[_0x3344cd(0x225)](_0x3aab02,_0x35710c[_0x3344cd(0x1eb)]);_0x3aab02++){console[_0x3344cd(0x1e5)]('\x20\x20'+(_0x3aab02+0x1)+'.\x20'+_0x35710c[_0x3aab02][_0x3344cd(0x20a)]);}process['exit'](0x1);}const _0x12cd05=new Set(_0x147375[_0x3344cd(0x22c)](_0x5c373e=>_0x5c373e-0x1)),_0x3b6822=_0x35710c['filter']((_0x548c45,_0x4adde2)=>!_0x12cd05[_0x3344cd(0x25b)](_0x4adde2));_0x3b6822[_0x3344cd(0x1eb)]===0x0&&(console['error'](_0x3344cd(0x283)),process['exit'](0x1));if(_0x36f857[_0x3344cd(0x278)])await _0x476e79['OJunG'](outputJsonReport,_0x1bbee4,_0x4ea718,_0x3b6822);else{const _0x5d3d9c=await _0x476e79[_0x3344cd(0x1d6)](getFeatureReportMarkdown,_0x1bbee4,{'itemIds':_0x3b6822['map'](_0x10859c=>_0x10859c['id'])});process[_0x3344cd(0x260)]['write'](_0x5d3d9c[_0x3344cd(0x29a)]()+'\x0a');}}async function outputJsonReport(_0x787214,_0x13b78e,_0x2bc6e0){const _0x4156e5=_0x2f2042,_0x51b7d7={'FPTxu':function(_0x20491c,_0x1e586a){return _0x20491c(_0x1e586a);},'vLkks':function(_0x264c63){return _0x264c63();},'CigqX':function(_0x4a7df1,_0x2d6152){return _0x4a7df1+_0x2d6152;}},_0x39bf82=_0x51b7d7[_0x4156e5(0x1d9)](getApiBaseUrl),_0x588551=await _0x51b7d7['FPTxu'](getFeatureReport,_0x787214),_0x4f7156=new Map(_0x588551[_0x4156e5(0x297)][_0x4156e5(0x22c)](_0x19795c=>[_0x19795c['id'],_0x19795c])),_0x16bdc5=await Promise['all'](_0x2bc6e0[_0x4156e5(0x22c)](async _0x237205=>{const _0x15a0df=_0x4156e5,_0x5dce3c=_0x4f7156['get'](_0x237205['id']),_0x5d2344=_0x5dce3c?.['linkedSession']??null;let _0x5250ed=[];if(_0x237205['browserSessionId'])try{const {steps:_0x18b1c1}=await _0x51b7d7[_0x15a0df(0x259)](getBrowserSessionSteps,_0x237205['browserSessionId']);_0x18b1c1[_0x15a0df(0x1eb)]>0x0&&(_0x5250ed=_0x18b1c1['map'](_0x12b853=>{const _0x5f06b3=_0x15a0df,_0xd340a3=_0x12b853['assets'][_0x5f06b3(0x27d)](_0x3dc63f=>_0x3dc63f[_0x5f06b3(0x27a)]===_0x5f06b3(0x222)&&_0x3dc63f['timing']===_0x5f06b3(0x245))??_0x12b853['assets']['find'](_0x729fc5=>_0x729fc5[_0x5f06b3(0x27a)]===_0x5f06b3(0x222));let _0x24f760=null,_0x7bac8f=null;if(_0xd340a3){const _0xc76c83=_0xd340a3['storage'][_0x5f06b3(0x254)][_0x5f06b3(0x266)]('/')['pop']();_0x24f760=_0x39bf82+'/api/v1/mcp/browser-sessions/'+_0x237205['browserSessionId']+'/artifacts/'+_0xc76c83,_0xc76c83&&(_0x7bac8f=_0xc76c83[_0x5f06b3(0x241)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x5f06b3(0x241)](/[-_]/g,'\x20'));}return{'description':_0x7bac8f||_0x12b853[_0x5f06b3(0x20a)]||_0x12b853[_0x5f06b3(0x23b)]||'Step\x20'+_0x12b853[_0x5f06b3(0x244)],'screenshot':_0x24f760,'is_key_step':_0x12b853['isKeyStep']};}));}catch{}return _0x5250ed['length']===0x0&&_0x5d2344?.['screenshotUrls']&&(_0x5250ed=_0x5d2344['screenshotUrls']['map']((_0x3fe3fb,_0x5a3f55)=>({'description':_0x15a0df(0x213)+(_0x5a3f55+0x1),'screenshot':_0x3fe3fb,'is_key_step':![]}))),{'description':_0x237205['description'],'result':getScenarioResult(_0x237205),'rationale':getScenarioRationale(_0x237205,_0x5d2344?.['agentResponse']),'steps':_0x5250ed};})),_0x25bc50={'url':_0x13b78e[_0x4156e5(0x294)],'scenarios':_0x16bdc5};process[_0x4156e5(0x260)]['write'](_0x51b7d7['CigqX'](JSON['stringify'](_0x25bc50,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x23cfbe){const _0x59296b=_0x2f2042,_0x3dd3d1={'GLIMS':_0x59296b(0x280),'pgESg':_0x59296b(0x223),'BTbDC':_0x59296b(0x1c7),'fxAXW':'\x0a✅\x20Session\x20is\x20already\x20completed.','EGNYd':function(_0x21dc51,_0x11f6ab){return _0x21dc51!==_0x11f6ab;},'YkPxW':function(_0x40ce60,_0x5e1f2d,_0x4c3890){return _0x40ce60(_0x5e1f2d,_0x4c3890);}},_0x12f1b5=_0x23cfbe||await getActiveFeatureId();if(!_0x12f1b5)throw new Error(_0x3dd3d1['GLIMS']);const _0x50a7cf=await getFeature(_0x12f1b5);if(!_0x50a7cf['currentSessionId'])throw new Error(_0x59296b(0x1e2));const {sessions:_0x1d407b}=await listFeatureSessions(_0x12f1b5),_0x53dd12=_0x1d407b[_0x59296b(0x27d)](_0x1ebf8e=>_0x1ebf8e['id']===_0x50a7cf[_0x59296b(0x26b)]);if(!_0x53dd12)throw new Error(_0x3dd3d1['pgESg']);if(_0x53dd12[_0x59296b(0x250)]===_0x3dd3d1[_0x59296b(0x231)]){console[_0x59296b(0x1e5)](_0x3dd3d1['fxAXW']);return;}if(_0x3dd3d1[_0x59296b(0x206)](_0x53dd12['status'],'in_progress'))throw new Error('Cannot\x20conclude\x20session\x20with\x20status:\x20'+_0x53dd12['status']);console[_0x59296b(0x1e5)]('\x0aConcluding\x20session...'),await _0x3dd3d1['YkPxW'](concludeSession,_0x12f1b5,_0x50a7cf[_0x59296b(0x26b)]),console['log'](_0x59296b(0x204)+_0x53dd12['iteration']+'\x20concluded.'),console[_0x59296b(0x1e5)](_0x59296b(0x237));}function _0x40fd(){const _0x2d8165=['kQeZp','36dxhlMt','map','\x0a✅\x20Restored\x20feature\x20review:\x20','11560360kVyFCQ','point','error','BTbDC','incomplete','\x20\x20\x20Description:\x20','env','CkhLS','hbZYT','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','selected','KzCUN','exit','stepName','\x20—\x20','\x0aCreating\x20feature\x20review...','RANGER_TEST_USERNAME','YPIKb','gitBranch','replace','qJCCl','any','position','after','549516SoKGGf','\x20>\x20','warn','Not\x20in\x20a\x20git\x20repository.','cjHFM','canceledReason','scenarios','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','\x20\x20\x20\x20\x20Branch:\x20','ciecv','status','\x0a✅\x20Scenario\x20added','RFliw','LdIOo','location','\x20\x20\x20\x20\x20ID:\x20','sFzRw','TEICN','join','FPTxu','stdin','has','version','2844776IvjTMi','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','parentItemId','stdout','fLaSF','verified','canonicalFlow','xXEbE','WrOMC','split','createdAt','Gqaaw','UvRCl','\x0a📋\x20Feedback\x20for:\x20','currentSessionId','\x20\x20\x20Branch:\x20','\x20(v','\x20at\x20[','UxFwT','noGQM','type','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','from','isInteger','4|2|1|5|3|0','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','\x20of\x20','json','uMjUm','assetType','\x20\x20\x20\x20\x20\x20Incomplete:\x20','xqoZa','find','olNic','\x0a✅\x20Resumed\x20feature\x20review:\x20','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','ShFPS','jNKQB','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','comment_','fPxmz','ErcFi','\x20--include-deleted','notes','github.com/','EgGsC','CLAUDE_SESSION_ID','\x20\x20\x20\x20','cFZKH','yBHZa','toLocaleString','arrayBuffer','blockedItems','textContent','approved','dashboardUrl','verification_in_progress','\x20\x20✅\x20No\x20feedback\x20to\x20address','checklistItems','rgVtw','\x20\x20\x20Created:\x20','trimEnd','pHciH','BixOW','nZckQ','25691690KFGNWL','SOHDq','blockedReason','\x0aAvailable\x20scenarios:','.\x20Feature\x20review\x20has\x20','qqRHh','1491IGMlbV','completed','iteration','AiYCm','25158tDUPUC','WmtfQ','domRef','list','feedback-images','pnLxJ','ZgdCD','keeIZ',':\x20\x22','):\x20\x22','qxdKn','mkosG','ffhTO','latestReview','incompleteReason','vLkks','265044CRRipN','\x20\x20\x20▶️\x20Started\x20session\x20','completedAt','push','bhHrt','spatial','terminalReason','1340lSzGTi','No\x20active\x20session\x20for\x20this\x20feature\x20review.','slice','mYPkd','log','isTTY','\x20\x20\x20Completed:\x20','\x20\x20\x20\x20\x20\x20Approved','EGtEy','lEyED','length','oaihT','content','khbXp','sessionId','active-feature.txt','\x0aNo\x20feature\x20reviews\x20found.','Unknown','.png','xshXs','reports','APBHj','offset','\x0a✅\x20Feature\x20review\x20created:\x20','toFixed','verificationInProgressItems','filter','\x20\x20\x20Repository:\x20','rbqEN','repeat','\x20Session\x20','limit','\x20incomplete','utf-8','pipe','\x0a✅\x20Session\x20','trim','EGNYd','\x20--current-branch','scenario','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','description','oREnf','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','ZEdQJ','stats','xaDOi','totalCount','selector','No\x20sessions\x20found.','Screenshot\x20','items','submittedAt','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','includeDeleted','jDnRY','OxsmU','HCVfv','2460ddyweX','in_progress','PkaNH','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','unaddressedComments','name','assetUrl','screenshot','Current\x20session\x20not\x20found.','usWoy','mgMUM','nYbTv','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','\x20\x20💬\x20','\x20\x20\x20'];_0x40fd=function(){return _0x2d8165;};return _0x40fd();}export async function featureSessions(_0xe65eb1){const _0x34cd07=_0x2f2042,_0x302436={'LdIOo':function(_0x145b37){return _0x145b37();},'YIuDr':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','pnLxJ':function(_0x4a5fbb,_0x60a6ac){return _0x4a5fbb(_0x60a6ac);},'xXEbE':function(_0x1b698a,_0x8f25ca){return _0x1b698a===_0x8f25ca;},'JPJhA':_0x34cd07(0x212),'xzSsQ':function(_0x39eb32,_0xca50bd){return _0x39eb32===_0xca50bd;},'oTxrR':'in_progress'},_0x50c1b1=_0xe65eb1||await _0x302436[_0x34cd07(0x253)](getActiveFeatureId);if(!_0x50c1b1)throw new Error(_0x302436['YIuDr']);const _0x5147dd=await getFeature(_0x50c1b1);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x5147dd['name']+'\x0a');const {sessions:_0x1a8a37}=await _0x302436[_0x34cd07(0x1cf)](listFeatureSessions,_0x50c1b1);if(_0x302436[_0x34cd07(0x264)](_0x1a8a37[_0x34cd07(0x1eb)],0x0)){console[_0x34cd07(0x1e5)](_0x302436['JPJhA']);return;}for(const _0x9fadc0 of _0x1a8a37){const _0x1f4613=_0x302436['xXEbE'](_0x9fadc0[_0x34cd07(0x250)],_0x34cd07(0x1c7))?'✅':_0x302436['xzSsQ'](_0x9fadc0[_0x34cd07(0x250)],_0x302436['oTxrR'])?'🔄':'▶️';console['log'](_0x1f4613+_0x34cd07(0x1ff)+_0x9fadc0[_0x34cd07(0x1c8)]+'\x20('+_0x9fadc0['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0x9fadc0[_0x34cd07(0x250)]),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x9fadc0['createdAt'])[_0x34cd07(0x28f)]()),_0x9fadc0[_0x34cd07(0x1dc)]&&console['log'](_0x34cd07(0x1e7)+new Date(_0x9fadc0['completedAt'])[_0x34cd07(0x28f)]()),console['log']('');}}export async function featureAddScenario(_0x5043a6,_0x3cff2a){const _0x587076=_0x2f2042,_0x181f11={'uMjUm':_0x587076(0x280),'FePgo':function(_0x53e0f5,_0x32e073,_0x3b84e0){return _0x53e0f5(_0x32e073,_0x3b84e0);}},_0x1f9178=_0x3cff2a||await getActiveFeatureId();if(!_0x1f9178)throw new Error(_0x181f11[_0x587076(0x279)]);const _0x2d5ade=await getFeature(_0x1f9178);if(_0x2d5ade['latestReview']&&!_0x2d5ade['latestReview'][_0x587076(0x215)])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x2d5ade['dashboardUrl']);await createChecklistItem(_0x1f9178,_0x5043a6);const _0x5aeb23=await getFeature(_0x1f9178);console['log'](_0x587076(0x251)),_0x181f11['FePgo'](displayFeature,_0x5aeb23,_0x5aeb23[_0x587076(0x297)]);}export async function featureEditScenario(_0x54e2f0,_0x398719){const _0x32c680=_0x2f2042,_0x415d85={'iumRo':function(_0x2747c8){return _0x2747c8();},'xbfsi':'Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','taBzs':_0x32c680(0x25e),'qNYWZ':'Please\x20finish\x20your\x20review\x20first:','pqfes':function(_0x39cbec,_0x128e19){return _0x39cbec===_0x128e19;},'JooDX':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','olNic':_0x32c680(0x1c3),'jDnRY':function(_0x8ba882,_0x38098c){return _0x8ba882<_0x38098c;},'fozUT':function(_0x5bd8dd,_0x467691){return _0x5bd8dd-_0x467691;},'hIrkJ':function(_0x156247,_0x129c45){return _0x156247+_0x129c45;},'SwHDC':function(_0x3783de,_0x335a28,_0x2c24f3,_0x6ea654){return _0x3783de(_0x335a28,_0x2c24f3,_0x6ea654);},'keeIZ':function(_0x3902a7,_0xd0e45b){return _0x3902a7(_0xd0e45b);},'WmtfQ':function(_0x576bb3,_0x1bbb7d,_0xf83e25){return _0x576bb3(_0x1bbb7d,_0xf83e25);}},_0x3411d8=_0x398719['id']||await _0x415d85['iumRo'](getActiveFeatureId);!_0x3411d8&&(console[_0x32c680(0x230)](_0x32c680(0x20c)),console[_0x32c680(0x230)](_0x415d85['xbfsi']),process[_0x32c680(0x23a)](0x1));const _0x6448bc=await getFeature(_0x3411d8);_0x6448bc[_0x32c680(0x1d7)]&&!_0x6448bc[_0x32c680(0x1d7)][_0x32c680(0x215)]&&(console[_0x32c680(0x230)](_0x415d85['taBzs']),console['error'](_0x415d85['qNYWZ']),console['error']('\x20\x20'+_0x6448bc[_0x32c680(0x294)]),process[_0x32c680(0x23a)](0x1));const _0xdbaf0c=_0x6448bc[_0x32c680(0x297)]||[];_0x415d85['pqfes'](_0xdbaf0c[_0x32c680(0x1eb)],0x0)&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x32c680(0x23a)](0x1));if(_0x398719['scenario']===undefined){console['error'](_0x415d85['JooDX']),console['log'](_0x415d85[_0x32c680(0x27e)]);for(let _0x4bc54b=0x0;_0x415d85[_0x32c680(0x218)](_0x4bc54b,_0xdbaf0c[_0x32c680(0x1eb)]);_0x4bc54b++){console[_0x32c680(0x1e5)]('\x20\x20'+(_0x4bc54b+0x1)+'.\x20'+_0xdbaf0c[_0x4bc54b]['description']);}process['exit'](0x1);}const _0x4a3b9b=_0x415d85['fozUT'](_0x398719[_0x32c680(0x208)],0x1);if(_0x4a3b9b<0x0||_0x4a3b9b>=_0xdbaf0c[_0x32c680(0x1eb)]){console[_0x32c680(0x230)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x398719['scenario']+_0x32c680(0x1c4)+_0xdbaf0c[_0x32c680(0x1eb)]+'\x20scenarios.'),console['log'](_0x415d85[_0x32c680(0x27e)]);for(let _0x51fe04=0x0;_0x51fe04<_0xdbaf0c[_0x32c680(0x1eb)];_0x51fe04++){console['log']('\x20\x20'+_0x415d85['hIrkJ'](_0x51fe04,0x1)+'.\x20'+_0xdbaf0c[_0x51fe04]['description']);}process[_0x32c680(0x23a)](0x1);}const _0x565706=_0xdbaf0c[_0x4a3b9b];await _0x415d85['SwHDC'](updateChecklistItem,_0x3411d8,_0x565706['id'],{'description':_0x54e2f0});const _0x3e075b=await _0x415d85[_0x32c680(0x1d1)](getFeature,_0x3411d8);console['log']('\x0a✅\x20Scenario\x20updated'),_0x415d85[_0x32c680(0x1cb)](displayFeature,_0x3e075b,_0x3e075b[_0x32c680(0x297)]);}async function downloadFeedbackImage(_0x509bbe,_0x1a5f6d){const _0x36eb34=_0x2f2042,_0x167bb8={'xshXs':function(_0x1b4f9b,_0x13db83,_0x23eb37){return _0x1b4f9b(_0x13db83,_0x23eb37);},'BixOW':_0x36eb34(0x1ce)};try{const _0x291938=_0x167bb8[_0x36eb34(0x1f4)](join,getRangerDir(),_0x167bb8[_0x36eb34(0x29c)]);await mkdir(_0x291938,{'recursive':!![]});const _0x54a62e=join(_0x291938,_0x36eb34(0x284)+_0x1a5f6d+_0x36eb34(0x1f3)),_0x53dae1=await fetch(_0x509bbe);if(!_0x53dae1['ok'])return null;const _0x36c7cb=Buffer[_0x36eb34(0x273)](await _0x53dae1[_0x36eb34(0x290)]());return await _0x167bb8[_0x36eb34(0x1f4)](writeFile,_0x54a62e,_0x36c7cb),_0x54a62e;}catch{return null;}}export async function featureGetReview(_0x452ea9){const _0x11eca3=_0x2f2042,_0x4c8892={'BwPEC':function(_0x568c95){return _0x568c95();},'APBHj':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','hPKbE':'No\x20scenarios\x20found.','VDXzO':function(_0x5171d2,_0x251d3f){return _0x5171d2<_0x251d3f;},'mkosG':function(_0x1110a1,_0x30fcce){return _0x1110a1>_0x30fcce;},'kQeZp':function(_0x631291,_0x298285){return _0x631291+_0x298285;},'DelmW':'short','rXFmT':'numeric','BjSJn':_0x11eca3(0x1f2),'AiYCm':function(_0xdeb3e1,_0x381e55,_0x39f2d8){return _0xdeb3e1(_0x381e55,_0x39f2d8);},'pKZUv':_0x11eca3(0x247),'ZgdCD':function(_0x13cf5c,_0x331751){return _0x13cf5c===_0x331751;},'UiHKx':_0x11eca3(0x22f),'ZEdQJ':function(_0x2ebb4b,_0x164417){return _0x2ebb4b>=_0x164417;}},_0x12edf6=_0x452ea9||await _0x4c8892['BwPEC'](getActiveFeatureId);if(!_0x12edf6)throw new Error(_0x4c8892[_0x11eca3(0x1f6)]);const _0x396aa1=await getFeature(_0x12edf6),{items:_0x2f3459}=await getActionItems(_0x12edf6);console['log'](_0x11eca3(0x26a)+_0x396aa1['name']+'\x20('+_0x396aa1['id']+')\x0a');if(_0x2f3459[_0x11eca3(0x1eb)]===0x0){console['log'](_0x4c8892['hPKbE']);return;}for(let _0x3dab19=0x0;_0x4c8892['VDXzO'](_0x3dab19,_0x2f3459['length']);_0x3dab19++){const _0x263dc6=_0x2f3459[_0x3dab19],_0x320ab2=_0x263dc6['version']>0x1?'\x20(v'+_0x263dc6['version']+')':'',_0xfdd4eb=await getItemFeedback(_0x12edf6,_0x263dc6['id']);if(_0x4c8892[_0x11eca3(0x1d5)](_0xfdd4eb['unaddressedComments']['length'],0x0)){console['log']('Scenario\x20'+_0x4c8892[_0x11eca3(0x22a)](_0x3dab19,0x1)+':\x20\x22'+_0x263dc6['description']+'\x22'+_0x320ab2+_0x11eca3(0x23c)+_0xfdd4eb[_0x11eca3(0x21f)]['length']+'\x20unaddressed\x20comment(s)');for(const _0x1701f3 of _0xfdd4eb[_0x11eca3(0x21f)]){const _0x3dd121=new Date(_0x1701f3['createdAt'])['toLocaleDateString']('en-US',{'month':_0x4c8892['DelmW'],'day':_0x4c8892['rXFmT']}),_0x44e540=_0x1701f3['authorName']||_0x1701f3['authorEmail']||_0x4c8892['BjSJn'];console[_0x11eca3(0x1e5)](_0x11eca3(0x228)+_0x44e540+'\x20('+_0x3dd121+_0x11eca3(0x1d3)+_0x1701f3[_0x11eca3(0x1ed)]+'\x22');if(_0x1701f3['assetUrl']){const _0x2a6cce=await _0x4c8892[_0x11eca3(0x1c9)](downloadFeedbackImage,_0x1701f3[_0x11eca3(0x221)],_0x1701f3['id']);_0x2a6cce&&console['log'](_0x11eca3(0x216)+_0x2a6cce);}if(_0x1701f3['domRef']){const _0x17567e=_0x1701f3['domRef'][_0x11eca3(0x211)]['split'](_0x4c8892['pKZUv'])['pop']()?.['split'](':')[0x0]||'element',_0x5b15f7=_0x1701f3[_0x11eca3(0x1cc)]['textContent']?'\x20\x22'+_0x1701f3['domRef'][_0x11eca3(0x292)][_0x11eca3(0x1e3)](0x0,0x3c)+'\x22':'';console[_0x11eca3(0x1e5)]('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x17567e+'>'+_0x5b15f7),console[_0x11eca3(0x1e5)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x1701f3[_0x11eca3(0x1cc)][_0x11eca3(0x211)]);}else{if(_0x1701f3[_0x11eca3(0x1df)]){const _0x27f8da=_0x1701f3['spatial']['coordinates'];_0x4c8892[_0x11eca3(0x1d0)](_0x1701f3[_0x11eca3(0x1df)][_0x11eca3(0x271)],_0x4c8892['UiHKx'])&&_0x4c8892[_0x11eca3(0x20d)](_0x27f8da['length'],0x2)?console[_0x11eca3(0x1e5)](_0x11eca3(0x209)+_0x27f8da[0x0][_0x11eca3(0x1f9)](0x2)+',\x20'+_0x27f8da[0x1][_0x11eca3(0x1f9)](0x2)+')'):console['log'](_0x11eca3(0x276)+_0x1701f3[_0x11eca3(0x1df)][_0x11eca3(0x271)]+_0x11eca3(0x26e)+_0x27f8da[_0x11eca3(0x22c)](_0x211163=>_0x211163['toFixed'](0x2))['join'](',\x20')+']');}}}if(_0xfdd4eb[_0x11eca3(0x263)]){console[_0x11eca3(0x1e5)]('\x20\x20Expected\x20flow:');for(const _0x2db73b of _0xfdd4eb[_0x11eca3(0x263)]['split']('\x0a')){console[_0x11eca3(0x1e5)](_0x11eca3(0x28c)+_0x2db73b);}}}else console['log']('Scenario\x20'+(_0x3dab19+0x1)+_0x11eca3(0x1d2)+_0x263dc6[_0x11eca3(0x20a)]+'\x22'+_0x320ab2+'\x20—\x20no\x20comments'),console[_0x11eca3(0x1e5)](_0x11eca3(0x296));console[_0x11eca3(0x1e5)]('');}}export async function featureDelete(_0x543bfb){const _0x16a9a5=_0x2f2042,_0x18db2b={'mYPkd':_0x16a9a5(0x280),'YkcdL':function(_0x58edeb,_0x10cb92){return _0x58edeb(_0x10cb92);},'nWvVx':function(_0x117609,_0x2edf72){return _0x117609(_0x2edf72);},'ccjxa':_0x16a9a5(0x24d)},_0x5457f8=_0x543bfb||await getActiveFeatureId();if(!_0x5457f8)throw new Error(_0x18db2b[_0x16a9a5(0x1e4)]);const _0x1b4186=await _0x18db2b['YkcdL'](getFeature,_0x5457f8);await _0x18db2b['nWvVx'](softDeleteFeature,_0x5457f8),console['log']('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x1b4186['name']+'\x20('+_0x5457f8+')'),console[_0x16a9a5(0x1e5)](_0x18db2b['ccjxa']+_0x5457f8);}export async function featureRestore(_0x190afd){const _0x374315=_0x2f2042,_0x1ae7c7={'lWvMe':function(_0x371542,_0x56a3df,_0x12e123){return _0x371542(_0x56a3df,_0x12e123);}};await restoreFeature(_0x190afd);const _0x12cd0d=await getFeature(_0x190afd);console[_0x374315(0x1e5)](_0x374315(0x22d)+_0x12cd0d['name']+'\x20('+_0x190afd+')'),_0x1ae7c7['lWvMe'](displayFeature,_0x12cd0d,_0x12cd0d['checklistItems']);}
1
+ const _0x535b26=_0x45e3;(function(_0x29a56f,_0x3d87ca){const _0x445c09=_0x45e3,_0xd36169=_0x29a56f();while(!![]){try{const _0x262c55=-parseInt(_0x445c09(0x1d1))/0x1+-parseInt(_0x445c09(0x192))/0x2*(-parseInt(_0x445c09(0x194))/0x3)+-parseInt(_0x445c09(0x164))/0x4+-parseInt(_0x445c09(0x119))/0x5+-parseInt(_0x445c09(0x1f0))/0x6+parseInt(_0x445c09(0x12a))/0x7+parseInt(_0x445c09(0x13b))/0x8;if(_0x262c55===_0x3d87ca)break;else _0xd36169['push'](_0xd36169['shift']());}catch(_0x6df96b){_0xd36169['push'](_0xd36169['shift']());}}}(_0x42fe,0xc012a));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x23437d 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=_0x345b65=>_0x535b26(0x13a)+_0x345b65+_0x535b26(0x147);function _0x42fe(){const _0x58290f=['\x20\x20\x20\x20\x20\x20Approved','domRef','tYKkk','terminalReason','Showing\x20','OjpYc','\x20in\x20progress','JlZyn','\x0aNo\x20feature\x20reviews\x20found.','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','reports','trim','\x20\x20\x20Completed:\x20','\x0aAvailable\x20scenarios:','\x0a✅\x20Scenario\x20updated','storage','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','canonicalFlow','totalCount','in_progress','toLocaleString','log','esCpp','\x20\x20\x20\x20','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','status','FKPmx','point','1136506iVLMYT','description','offset','rzZdW','authorEmail','Current\x20session\x20not\x20found.','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','KftCN','eigVw','\x0a✅\x20Resumed\x20feature\x20review:\x20','toLocaleDateString','gitRepoUrl','\x20\x20\x20\x20\x20ID:\x20','timing','split','eHeQR','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','dashboardUrl','SBsIC','get','GbtSb','screenshot','sessionId','isInteger','\x0a✅\x20Report\x20generated:\x20','MrxNE','coordinates','\x0aGenerating\x20report...','canceledReason','\x20blocked','\x20\x20\x20Created:\x20','3602736YEDkqU','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','pipe','\x20\x20\x20Progress:\x20','spatial','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','Please\x20finish\x20your\x20review\x20first:','stdin','toFixed','lOCic','HhCTQ','feedback-images','IZFIj','assets','all','\x20verified','limit','\x20(v','VdWPw','5793315ttoyVH','stats','\x0a✅\x20Feature\x20review\x20created:\x20','DRIbK','lgmte','\x20\x20\x20Description:\x20','error','approved','incompleteItems','has','includeDeleted','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','checklistItems','numeric','xawiG','currentSessionId','0|3|1|4|2|5','1570380WauuaJ','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','\x20at\x20[','authorName','utf-8','FZeYw','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','\x20\x20\x20Updated\x20branch\x20to:\x20','GWJPz','\x20/\x20','GNvvl','kzIwq','JOLJm','/api/v1/mcp/browser-sessions/','pUEKV','\x0a✅\x20Scenario\x20added','\x1b[1m','35566960KAvOcb','slice','MOILE','Rjppf','CtyIV','completed','AqXNN','NkFmR','map','incomplete','uumJu','version','\x1b[0m','en-US','crpPW','\x20\x20\x20ID:\x20','CLAUDE_SESSION_ID','screenshotUrls','find','name','Step\x20','notes','YKNiF','exit','replace','\x20\x20\x20Branch:\x20','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Screenshot\x20','.png','\x0a\x20\x20\x20Scenarios:','pendingItems','closed','NsvVF','jlynt','iVbWq','scenario','No\x20active\x20session\x20for\x20this\x20feature\x20review.','selected','yxhtW','stdout','Next\x20page:\x20ranger\x20list\x20--offset\x20','5451404OlvxlJ','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','PeqqI','items','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','comment_','UXfPB','filter','vfcUc','join','list','keqWf','FbQrD','zMixH','tomEy','pop','blockedReason','agentResponse','Scenario\x20','ofxgi','browserSessionId','type','env','DbqDu','nUsoH','qOHgK','\x0a⚠️\x20\x20','push','HuSSe','completedAt','eQKkP','OXMoI','idtrE','\x20\x20\x20\x20\x20\x20Cancelled:\x20',':\x20\x22','opQvy','RANGER_TEST_USERNAME','verified','GVJtz','textContent','OwzfZ','nwRFs','sSIqP','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','VAlPq','nGZOQ','964MpCpcS','currentBranch','2334dnlNfk','gAhbi','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','submittedAt','latestReview','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','qYwDA','scenarios','lKvMd','No\x20sessions\x20found.','parentItemId','\x20scenarios.','kVJjC','gitBranch','\x20of\x20','createdAt','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','length','\x20\x20\x20▶️\x20Started\x20session\x20','tPhUZ','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','/artifacts/','element','TttzP','github.com/','location','woyVg','VoOwD','unaddressedComments','\x20—\x20','assetUrl','selector','Cannot\x20conclude\x20session\x20with\x20status:\x20'];_0x42fe=function(){return _0x58290f;};return _0x42fe();}function getGitRepoUrl(){const _0x51ccea=_0x535b26,_0x5d0fe1={'OXMoI':'utf-8','kumOK':_0x51ccea(0x1f2)};try{const _0x1fbb61=execSync('git\x20remote\x20get-url\x20origin',{'encoding':_0x5d0fe1[_0x51ccea(0x183)],'stdio':[_0x5d0fe1['kumOK'],_0x5d0fe1['kumOK'],_0x5d0fe1['kumOK']]})[_0x51ccea(0x1c0)]();return _0x1fbb61[_0x51ccea(0x153)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x51ccea(0x1ac))[_0x51ccea(0x153)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x332dba=_0x535b26,_0x3c1396={'MrxNE':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','Rjppf':_0x332dba(0x12e),'lgmte':'pipe'};try{return execSync(_0x3c1396[_0x332dba(0x1ea)],{'encoding':_0x3c1396[_0x332dba(0x13e)],'stdio':[_0x3c1396[_0x332dba(0x11d)],_0x3c1396['lgmte'],_0x3c1396[_0x332dba(0x11d)]]})[_0x332dba(0x1c0)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0xba93d8=_0x535b26,_0x312c3a={'DhxgG':function(_0x3a5b69,_0x4a6b90,_0x172c85){return _0x3a5b69(_0x4a6b90,_0x172c85);},'MOILE':_0xba93d8(0x12e)},_0x19e30b=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x19e30b))return null;try{const _0x119f9c=await _0x312c3a['DhxgG'](readFile,_0x19e30b,_0x312c3a[_0xba93d8(0x13d)]);return _0x119f9c['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x441103){const _0x29e374=_0x535b26,_0x368537={'nwRFs':function(_0x491c4b,_0x314fd7){return _0x491c4b(_0x314fd7);},'TFXPu':function(_0x1e9595,_0x53c978,_0x3a2d44){return _0x1e9595(_0x53c978,_0x3a2d44);},'lgXkP':function(_0x3a03fe,_0x2cca55,_0x5ea28e,_0x1e7aca){return _0x3a03fe(_0x2cca55,_0x5ea28e,_0x1e7aca);},'scTtQ':'utf-8'},_0x19c4d0=getRangerDir(),_0x1de484=join(_0x19c4d0,ACTIVE_FEATURE_FILE);!_0x368537[_0x29e374(0x18d)](existsSync,_0x19c4d0)&&await _0x368537['TFXPu'](mkdir,_0x19c4d0,{'recursive':!![]}),await _0x368537['lgXkP'](writeFile,_0x1de484,_0x441103,_0x368537['scTtQ']);}function getProgressDisplay(_0x5d9b96){const _0x42f98c=_0x535b26,_0x31376e={'jJvMG':function(_0xfa2ee9,_0x32dbba){return _0xfa2ee9+_0x32dbba;},'lKvMd':function(_0x499fd8,_0x55348a){return _0x499fd8*_0x55348a;},'JOLJm':function(_0x2e8e28,_0xccb110){return _0x2e8e28/_0xccb110;},'GVJtz':function(_0x2c1ef5,_0x1be210){return _0x2c1ef5>_0x1be210;}},_0x91062=_0x5d9b96['verifiedItems']||0x0,_0x51a99d=_0x5d9b96['verificationInProgressItems']||0x0,_0x3dff0f=_0x5d9b96['blockedItems']||0x0,_0x2022a0=_0x5d9b96[_0x42f98c(0x121)]||0x0,_0x399158=_0x5d9b96[_0x42f98c(0x159)]||0x0,_0x5e5af3=_0x31376e['jJvMG'](_0x91062+_0x51a99d+_0x3dff0f+_0x2022a0,_0x399158);if(_0x5e5af3===0x0)return'-';const _0x297ee1=0xa,_0x487c43=Math['round'](_0x31376e[_0x42f98c(0x19c)](_0x31376e[_0x42f98c(0x136)](_0x91062,_0x5e5af3),_0x297ee1)),_0x58bc1a='█'['repeat'](_0x487c43)+'░'['repeat'](_0x297ee1-_0x487c43),_0x335276=[];if(_0x31376e['GVJtz'](_0x3dff0f,0x0))_0x335276['push'](_0x3dff0f+_0x42f98c(0x1ee));if(_0x31376e[_0x42f98c(0x18a)](_0x2022a0,0x0))_0x335276['push'](_0x2022a0+'\x20incomplete');if(_0x51a99d>0x0)_0x335276[_0x42f98c(0x17f)](_0x51a99d+_0x42f98c(0x1bb));const _0xec9c8e=_0x31376e['GVJtz'](_0x335276[_0x42f98c(0x1a5)],0x0)?'\x20('+_0x335276[_0x42f98c(0x16d)](',\x20')+')':'';return _0x58bc1a+'\x20'+_0x91062+'/'+_0x5e5af3+_0x42f98c(0x115)+_0xec9c8e;}function getCurrentSessionItems(_0x1a361e,_0x2e9b05){const _0x2e16e7=_0x535b26;if(!_0x1a361e['currentSessionId'])return _0x2e9b05['filter'](_0x7f1a8d=>!_0x7f1a8d[_0x2e16e7(0x1e7)]);return _0x2e9b05[_0x2e16e7(0x16b)](_0x14fccd=>_0x14fccd['sessionId']===_0x1a361e['currentSessionId']||!_0x14fccd['sessionId']);}function displayFeature(_0x6785c5,_0x2d505b){const _0x11b5e9=_0x535b26,_0x4249cb={'tomEy':function(_0x90deaf,_0x4ff572){return _0x90deaf(_0x4ff572);},'GNvvl':function(_0x47ca54,_0x4dcef9){return _0x47ca54>_0x4dcef9;},'GTwlE':_0x11b5e9(0x158),'yPpVh':function(_0x248c85,_0x45c08d){return _0x248c85<_0x45c08d;},'nGZOQ':'closed','HhCTQ':function(_0x5c5580,_0x243e40){return _0x5c5580===_0x243e40;},'eQKkP':'blocked','nsXoD':'verification_in_progress','plZqS':function(_0x3755c1,_0x481c1b){return _0x3755c1>_0x481c1b;},'OegJy':function(_0x58bc90,_0x1e079f){return _0x58bc90!==_0x1e079f;},'DSKDq':function(_0x6e4727,_0x58fa29){return _0x6e4727!==_0x58fa29;},'EmcCw':'\x20[has\x20reviewer\x20feedback]','NkFmR':function(_0x565670,_0x40475f){return _0x565670+_0x40475f;},'rzZdW':function(_0xc3ee27,_0x261cb6){return _0xc3ee27===_0x261cb6;},'PeqqI':'incomplete'};console['log']('\x0a'+_0x6785c5['name']+'\x20('+_0x6785c5[_0x11b5e9(0x1e2)]+')');_0x6785c5['stats']&&console['log']('\x20\x20\x20Progress:\x20'+_0x4249cb[_0x11b5e9(0x172)](getProgressDisplay,_0x6785c5['stats']));_0x6785c5['description']&&console['log'](_0x11b5e9(0x11e)+_0x6785c5['description']);_0x6785c5['gitRepoUrl']&&console['log']('\x20\x20\x20Repository:\x20'+_0x6785c5[_0x11b5e9(0x1dc)]);_0x6785c5['gitBranch']&&console[_0x11b5e9(0x1ca)](_0x11b5e9(0x154)+_0x6785c5[_0x11b5e9(0x1a1)]);console[_0x11b5e9(0x1ca)]('\x20\x20\x20Created:\x20'+new Date(_0x6785c5['createdAt'])[_0x11b5e9(0x1c9)]());_0x6785c5[_0x11b5e9(0x181)]&&console['log'](_0x11b5e9(0x1c1)+new Date(_0x6785c5['completedAt'])[_0x11b5e9(0x1c9)]());if(_0x2d505b&&_0x4249cb[_0x11b5e9(0x134)](_0x2d505b['length'],0x0)){console['log'](_0x4249cb['GTwlE']);for(let _0xc72c6a=0x0;_0x4249cb['yPpVh'](_0xc72c6a,_0x2d505b['length']);_0xc72c6a++){const _0x5c26b2=_0x2d505b[_0xc72c6a];let _0x2191bd;if(_0x5c26b2['status']===_0x4249cb['nGZOQ']&&_0x4249cb[_0x11b5e9(0x1fa)](_0x5c26b2['terminalReason'],'approved'))_0x2191bd='✅';else{if(_0x4249cb[_0x11b5e9(0x1fa)](_0x5c26b2[_0x11b5e9(0x1ce)],_0x11b5e9(0x189)))_0x2191bd='🟢';else{if(_0x5c26b2['status']===_0x11b5e9(0x144))_0x2191bd='🟠';else{if(_0x5c26b2['status']===_0x4249cb[_0x11b5e9(0x182)])_0x2191bd='🛑';else{if(_0x4249cb[_0x11b5e9(0x1fa)](_0x5c26b2[_0x11b5e9(0x1ce)],'closed'))_0x2191bd='⛔';else _0x4249cb[_0x11b5e9(0x1fa)](_0x5c26b2[_0x11b5e9(0x1ce)],_0x4249cb['nsXoD'])?_0x2191bd='⏳':_0x2191bd='⬜';}}}}const _0x4e1266=_0x4249cb[_0x11b5e9(0x134)](_0x5c26b2['version'],0x1)?'\x20(v'+_0x5c26b2[_0x11b5e9(0x146)]+')':'',_0x13983e=_0x4249cb['plZqS'](_0x5c26b2['version'],0x1)&&_0x5c26b2[_0x11b5e9(0x19e)]&&_0x4249cb['OegJy'](_0x5c26b2[_0x11b5e9(0x1ce)],_0x4249cb[_0x11b5e9(0x191)])&&_0x4249cb['DSKDq'](_0x5c26b2[_0x11b5e9(0x1ce)],'verified')?_0x4249cb['EmcCw']:'';console['log']('\x20\x20\x20'+_0x4249cb[_0x11b5e9(0x142)](_0xc72c6a,0x1)+'.\x20'+_0x2191bd+'\x20'+_0x5c26b2[_0x11b5e9(0x1d2)]+_0x4e1266+_0x13983e);_0x4249cb['rzZdW'](_0x5c26b2[_0x11b5e9(0x1ce)],'blocked')&&_0x5c26b2[_0x11b5e9(0x174)]&&console[_0x11b5e9(0x1ca)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x5c26b2['blockedReason']);_0x5c26b2['status']===_0x4249cb[_0x11b5e9(0x166)]&&_0x5c26b2['incompleteReason']&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x5c26b2['incompleteReason']);if(_0x4249cb[_0x11b5e9(0x1d4)](_0x5c26b2['status'],_0x4249cb['nGZOQ'])&&_0x5c26b2[_0x11b5e9(0x1b8)]===_0x11b5e9(0x120))console['log'](_0x11b5e9(0x1b5));else _0x5c26b2[_0x11b5e9(0x1ce)]===_0x4249cb[_0x11b5e9(0x191)]&&_0x5c26b2[_0x11b5e9(0x1ed)]&&console['log'](_0x11b5e9(0x185)+_0x5c26b2[_0x11b5e9(0x1ed)]);}}}export async function featureCreate(_0x18aa31,_0x4ac916){const _0x2a1a88=_0x535b26,_0x32085c={'VpfxT':function(_0x4d52fc){return _0x4d52fc();},'tmhaK':function(_0x2304ad,_0x8b3c87){return _0x2304ad===_0x8b3c87;},'AqXNN':function(_0x5e36ca,_0x259d50){return _0x5e36ca(_0x259d50);},'KWWOC':function(_0x18535b,_0x47961f){return _0x18535b(_0x47961f);},'fEfsv':function(_0x1c2f46,_0x37ed8c,_0x383916){return _0x1c2f46(_0x37ed8c,_0x383916);}},{envNames:_0x40bdb4}=await _0x32085c['VpfxT'](getEnvNames);if(_0x32085c['tmhaK'](_0x40bdb4['length'],0x0)&&!process[_0x2a1a88(0x17a)][_0x2a1a88(0x188)]){let _0x13f098=0x0;try{_0x13f098=(await listCloudProfiles())[_0x2a1a88(0x1a5)];}catch{_0x13f098=0x1;}_0x13f098===0x0&&console['warn']('\x0a'+_0x32085c[_0x2a1a88(0x141)](formatProfileRequiredMessage,_0x5b7e9e=>bold(_0x5b7e9e)));}const _0x429712=_0x4ac916[_0x2a1a88(0x19b)]?_0x4ac916[_0x2a1a88(0x19b)]['map'](_0x8ef7cc=>_0x8ef7cc[_0x2a1a88(0x1c0)]()):[],_0x29c7cd=getGitRepoUrl(),_0x4c6bc9=_0x32085c['VpfxT'](getGitBranch);console[_0x2a1a88(0x1ca)]('\x0aCreating\x20feature\x20review...');const _0x60d5f=await _0x32085c['AqXNN'](createFeature,{'name':_0x18aa31,'description':_0x4ac916['description'],'checklist':_0x429712,'gitRepoUrl':_0x29c7cd,'gitBranch':_0x4c6bc9});await _0x32085c['KWWOC'](setActiveFeatureId,_0x60d5f['id']),await tryStartCurrentSession(_0x60d5f['id']);const _0xc12a49=process[_0x2a1a88(0x17a)]['CLAUDE_SESSION_ID'];_0xc12a49&&_0x32085c['fEfsv'](registerSession,_0xc12a49,_0x60d5f['id']),console[_0x2a1a88(0x1ca)](_0x2a1a88(0x11b)+_0x60d5f['id']),displayFeature(_0x60d5f,_0x60d5f['checklistItems']),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x199675){const _0x309956=_0x535b26,_0x406bcb={'lOCic':function(_0x3c9b47,_0x458ef1){return _0x3c9b47(_0x458ef1);},'VNdKA':function(_0x430ff6,_0x5d0872){return _0x430ff6===_0x5d0872;},'crpPW':function(_0x1e3e8a,_0x500950){return _0x1e3e8a>_0x500950;},'JsnJv':function(_0x51a228,_0x41c94f){return _0x51a228(_0x41c94f);},'DbqDu':function(_0x18873b,_0x5a5cfe){return _0x18873b+_0x5a5cfe;},'qYwDA':function(_0x42160f,_0xc27b7f){return _0x42160f<_0xc27b7f;},'JlZyn':function(_0x4c391f,_0x40224c){return _0x4c391f!==_0x40224c;},'KBOge':'\x20--current-branch'},_0x19b6b4={'limit':_0x199675['limit']??0xa,'offset':_0x199675[_0x309956(0x1d3)]??0x0,'includeDeleted':_0x199675[_0x309956(0x123)]};_0x199675[_0x309956(0x193)]&&(_0x19b6b4[_0x309956(0x1dc)]=getGitRepoUrl(),_0x19b6b4[_0x309956(0x1a1)]=getGitBranch());const _0x1d469d=await _0x406bcb[_0x309956(0x1f9)](listFeatures,_0x19b6b4);if(_0x406bcb['VNdKA'](_0x1d469d['items'][_0x309956(0x1a5)],0x0)){console['log'](_0x309956(0x1bd));return;}const _0x1f095a=_0x406bcb[_0x309956(0x149)](_0x1d469d[_0x309956(0x1c7)],_0x1d469d['items'][_0x309956(0x1a5)])?_0x309956(0x1b9)+_0x1d469d[_0x309956(0x167)]['length']+_0x309956(0x1a2)+_0x1d469d['totalCount']:_0x1d469d[_0x309956(0x1c7)]+'\x20feature\x20review(s)\x20found';console[_0x309956(0x1ca)]('\x0a'+_0x1f095a+':\x0a');for(const _0x1cade9 of _0x1d469d['items']){const _0xa89112='4|0|2|1|5|3'[_0x309956(0x1df)]('|');let _0x1b6d01=0x0;while(!![]){switch(_0xa89112[_0x1b6d01++]){case'0':console['log'](_0x309956(0x14a)+_0x1cade9['id']);continue;case'1':_0x1cade9[_0x309956(0x1a1)]&&console['log']('\x20\x20\x20Branch:\x20'+_0x1cade9['gitBranch']);continue;case'2':_0x1cade9['stats']&&console[_0x309956(0x1ca)](_0x309956(0x1f3)+_0x406bcb['JsnJv'](getProgressDisplay,_0x1cade9['stats']));continue;case'3':console['log']('');continue;case'4':console[_0x309956(0x1ca)](''+_0x1cade9['name']);continue;case'5':console['log']('\x20\x20\x20Created:\x20'+new Date(_0x1cade9[_0x309956(0x1a3)])[_0x309956(0x1db)]());continue;}break;}}const _0x22c4e5=_0x19b6b4[_0x309956(0x116)]??0xa,_0x1e61ae=_0x406bcb[_0x309956(0x17b)](_0x19b6b4[_0x309956(0x1d3)]??0x0,_0x1d469d['items'][_0x309956(0x1a5)]);if(_0x406bcb[_0x309956(0x19a)](_0x1e61ae,_0x1d469d['totalCount'])){const _0x4ef539=_0x406bcb[_0x309956(0x1bc)](_0x22c4e5,0xa)?'\x20--limit\x20'+_0x22c4e5:'',_0xed39c3=_0x199675[_0x309956(0x193)]?_0x406bcb['KBOge']:'',_0x492733=_0x199675[_0x309956(0x123)]?'\x20--include-deleted':'';console['log'](_0x309956(0x163)+_0x1e61ae+_0x4ef539+_0xed39c3+_0x492733);}}export async function featureShow(_0x5d580d){const _0x57d204=_0x535b26,_0x3a76f6={'pUEKV':function(_0x49dc10,_0x55647d){return _0x49dc10(_0x55647d);},'olLho':function(_0x3def40,_0x289a57,_0x41e851){return _0x3def40(_0x289a57,_0x41e851);}},_0x1252b3=_0x5d580d||await getActiveFeatureId();if(!_0x1252b3)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 _0x11bb86=await _0x3a76f6[_0x57d204(0x138)](getFeature,_0x1252b3);_0x3a76f6['olLho'](displayFeature,_0x11bb86,_0x11bb86['checklistItems']);}export async function featureResume(_0x4de15d){const _0x18e071=_0x535b26,_0x335692={'kzIwq':function(_0x22f275,_0x27543b){return _0x22f275(_0x27543b);},'GWJPz':function(_0x3344fd,_0x645632){return _0x3344fd(_0x645632);},'eigVw':function(_0x3dd1fb,_0x32e71f){return _0x3dd1fb!==_0x32e71f;},'FZeYw':function(_0x339ff3,_0x20b903,_0x4e4f06){return _0x339ff3(_0x20b903,_0x4e4f06);},'FbQrD':function(_0x37ce8c){return _0x37ce8c();},'kYkvS':function(_0x42adb2,_0xf7737b){return _0x42adb2&&_0xf7737b;},'wHubD':'Not\x20in\x20a\x20git\x20repository.','qOHgK':'any','ufYEc':function(_0x46490b,_0x1dc797){return _0x46490b(_0x1dc797);},'ZJUVh':function(_0x236497,_0x53cf1b){return _0x236497===_0x53cf1b;},'esCpp':_0x18e071(0x165),'fHHhh':'\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','ydnxJ':_0x18e071(0x16e),'sSIqP':_0x18e071(0x1f5)};if(_0x4de15d){const _0xba1ba5=await _0x335692[_0x18e071(0x135)](getFeature,_0x4de15d);await _0x335692['GWJPz'](setActiveFeatureId,_0xba1ba5['id']);const _0x5b9485=getGitBranch();_0x5b9485&&_0x335692[_0x18e071(0x1d9)](_0x5b9485,_0xba1ba5[_0x18e071(0x1a1)])&&(await _0x335692['FZeYw'](updateFeature,_0xba1ba5['id'],{'gitBranch':_0x5b9485}),console[_0x18e071(0x1ca)](_0x18e071(0x131)+_0x5b9485));console[_0x18e071(0x1ca)](_0x18e071(0x1da)+_0xba1ba5[_0x18e071(0x14e)]+'\x20('+_0xba1ba5['id']+')'),await tryStartCurrentSession(_0xba1ba5['id']);const _0x46a878=process[_0x18e071(0x17a)]['CLAUDE_SESSION_ID'];_0x46a878&&registerSession(_0x46a878,_0xba1ba5['id']);_0x335692['FZeYw'](displayFeature,_0xba1ba5,_0xba1ba5[_0x18e071(0x125)]),await printFeedbackNudge(_0xba1ba5['id']);return;}const _0x20588b=_0x335692[_0x18e071(0x170)](getGitRepoUrl),_0x21695e=getGitBranch();if(_0x335692['kYkvS'](!_0x20588b,!_0x21695e))throw new Error(_0x335692['wHubD']);console['log'](_0x18e071(0x168)+(_0x20588b||'any')+_0x18e071(0x133)+(_0x21695e||_0x335692[_0x18e071(0x17d)])+'...');const _0x47fdb9=await _0x335692['ufYEc'](listFeatures,{'gitRepoUrl':_0x20588b,'gitBranch':_0x21695e}),_0xba7ad5=_0x47fdb9[_0x18e071(0x167)][_0x18e071(0x16b)](_0x3db1ba=>_0x3db1ba[_0x18e071(0x1ce)]?_0x3db1ba['status']!=='verified':!_0x3db1ba[_0x18e071(0x181)]);if(_0x335692['ZJUVh'](_0xba7ad5[_0x18e071(0x1a5)],0x0)){console[_0x18e071(0x1ca)](_0x335692[_0x18e071(0x1cb)]),console['log'](_0x18e071(0x12b));return;}let _0x2f3dba;if(_0xba7ad5['length']===0x1)_0x2f3dba=_0xba7ad5[0x0];else{const _0x1b42f0=process[_0x18e071(0x1f7)]['isTTY']&&process['stdout']['isTTY'];if(!_0x1b42f0){console[_0x18e071(0x1ca)](_0x335692['fHHhh']);for(const _0x32e3f9 of _0xba7ad5){console['log']('\x20\x20'+_0x32e3f9['name']),console['log'](_0x18e071(0x1dd)+_0x32e3f9['id']),_0x32e3f9['stats']&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x32e3f9[_0x18e071(0x11a)])),_0x32e3f9[_0x18e071(0x1a1)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x32e3f9['gitBranch']);}throw new Error(_0x18e071(0x18f));}const {selected:_0x564e9f}=await _0x23437d['prompt']([{'type':_0x335692['ydnxJ'],'name':_0x18e071(0x160),'message':_0x335692[_0x18e071(0x18e)],'choices':_0xba7ad5['map'](_0x88a1c0=>({'name':_0x88a1c0[_0x18e071(0x14e)]+'\x20('+_0x88a1c0['id']+')','value':_0x88a1c0['id']}))}]);_0x2f3dba=_0xba7ad5['find'](_0x28c514=>_0x28c514['id']===_0x564e9f);}await setActiveFeatureId(_0x2f3dba['id']);_0x21695e&&_0x21695e!==_0x2f3dba[_0x18e071(0x1a1)]&&(await updateFeature(_0x2f3dba['id'],{'gitBranch':_0x21695e}),console['log'](_0x18e071(0x131)+_0x21695e));console[_0x18e071(0x1ca)](_0x18e071(0x1da)+_0x2f3dba['name']+'\x20('+_0x2f3dba['id']+')'),await tryStartCurrentSession(_0x2f3dba['id']);const _0x3a4948=await getFeature(_0x2f3dba['id']),_0x34ab0a=process['env'][_0x18e071(0x14b)];_0x34ab0a&&_0x335692[_0x18e071(0x12f)](registerSession,_0x34ab0a,_0x3a4948['id']),displayFeature(_0x3a4948,_0x3a4948[_0x18e071(0x125)]),await _0x335692[_0x18e071(0x132)](printFeedbackNudge,_0x3a4948['id']);}async function printFeedbackNudge(_0x453dc3){const _0x1192b9=_0x535b26,_0x2bfe90={'KftCN':function(_0x180e52,_0x426ac5){return _0x180e52(_0x426ac5);},'eJVvu':function(_0x1eedf0,_0x26643e,_0x5b55ae){return _0x1eedf0(_0x26643e,_0x5b55ae);},'AHjuW':function(_0x1f158c,_0x128629){return _0x1f158c>_0x128629;},'tPhUZ':'\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'};try{const {items:_0x4d7aeb}=await _0x2bfe90[_0x1192b9(0x1d8)](getActionItems,_0x453dc3);let _0x3c4e0b=0x0,_0x413c70=0x0;for(const _0x59a563 of _0x4d7aeb){const _0x30445e=await _0x2bfe90['eJVvu'](getItemFeedback,_0x453dc3,_0x59a563['id']);_0x2bfe90['AHjuW'](_0x30445e['unaddressedComments'][_0x1192b9(0x1a5)],0x0)&&(_0x3c4e0b+=_0x30445e['unaddressedComments'][_0x1192b9(0x1a5)],_0x413c70++);}_0x3c4e0b>0x0&&(console[_0x1192b9(0x1ca)](_0x1192b9(0x17e)+_0x3c4e0b+_0x1192b9(0x1d7)+_0x413c70+'\x20scenario(s).'),console['log'](_0x2bfe90[_0x1192b9(0x1a7)]));}catch{}}async function tryStartCurrentSession(_0xbffe62){const _0x22c097=_0x535b26,_0xfb069c={'qcJwH':function(_0x51c1c1,_0xf02b8b){return _0x51c1c1(_0xf02b8b);}};try{const {sessions:_0x10fcc0}=await _0xfb069c['qcJwH'](listFeatureSessions,_0xbffe62),_0x5ccfd0=_0x10fcc0[_0x22c097(0x14d)](_0x581d5f=>_0x581d5f[_0x22c097(0x1ce)]==='ready');_0x5ccfd0&&(await startSession(_0xbffe62,_0x5ccfd0['id']),console[_0x22c097(0x1ca)](_0x22c097(0x1a6)+_0x5ccfd0['iteration']));}catch{}}export async function featureReport(_0x4d855c,_0xc6e7c3){const _0x4e8b8d=_0x535b26,_0x5993dc={'uumJu':function(_0xb9b41){return _0xb9b41();},'GbtSb':_0x4e8b8d(0x1cd),'gwXST':function(_0x1b3eca,_0x2d01cd,_0x14047d){return _0x1b3eca(_0x2d01cd,_0x14047d);},'nMncS':function(_0x5599e6,_0x2deffa,_0x3f983b){return _0x5599e6(_0x2deffa,_0x3f983b);},'czmRO':function(_0x2506b4,_0x541b43){return _0x2506b4(_0x541b43);},'UXfPB':'utf-8'},_0x3c2021=_0x4d855c||await _0x5993dc[_0x4e8b8d(0x145)](getActiveFeatureId);if(!_0x3c2021)throw new Error(_0x5993dc[_0x4e8b8d(0x1e5)]);console[_0x4e8b8d(0x1ca)](_0x4e8b8d(0x1ec));const _0x564ddc=await _0x5993dc['gwXST'](getFeatureReportMarkdown,_0x3c2021,{'style':_0xc6e7c3['style']}),_0x1ee8e1=_0xc6e7c3['output']||join(getRangerDir(),_0x4e8b8d(0x1bf),_0x3c2021+'.md'),_0x3f7964=_0x5993dc['nMncS'](join,_0x1ee8e1,'..');!_0x5993dc['czmRO'](existsSync,_0x3f7964)&&await mkdir(_0x3f7964,{'recursive':!![]}),await writeFile(_0x1ee8e1,_0x564ddc,_0x5993dc[_0x4e8b8d(0x16a)]),console['log'](_0x4e8b8d(0x1e9)+_0x1ee8e1);}function getScenarioResult(_0x4b0ed7){const _0x4fbe53=_0x535b26,_0xae8055={'DJKhs':function(_0x26506f,_0x2b9a76){return _0x26506f===_0x2b9a76;},'oRrYP':_0x4fbe53(0x15a),'DRIbK':function(_0x82a13f,_0x5eb3dc){return _0x82a13f===_0x5eb3dc;}};if(_0xae8055['DJKhs'](_0x4b0ed7[_0x4fbe53(0x1ce)],_0x4fbe53(0x15a)))return _0x4b0ed7[_0x4fbe53(0x1b8)]??_0xae8055['oRrYP'];if(_0xae8055[_0x4fbe53(0x11c)](_0x4b0ed7[_0x4fbe53(0x1ce)],'verification_in_progress'))return _0x4fbe53(0x1c8);return _0x4b0ed7['status'];}function getScenarioRationale(_0x21e58e,_0xbb8528){const _0xd77249=_0x535b26,_0x42c5f3={'YKNiF':_0xd77249(0x129)},_0x49e6c9=_0x42c5f3[_0xd77249(0x151)][_0xd77249(0x1df)]('|');let _0x162a13=0x0;while(!![]){switch(_0x49e6c9[_0x162a13++]){case'0':if(_0xbb8528)return _0xbb8528;continue;case'1':if(_0x21e58e['incompleteReason'])return _0x21e58e['incompleteReason'];continue;case'2':if(_0x21e58e['notes'])return _0x21e58e[_0xd77249(0x150)];continue;case'3':if(_0x21e58e[_0xd77249(0x174)])return _0x21e58e[_0xd77249(0x174)];continue;case'4':if(_0x21e58e[_0xd77249(0x1ed)])return _0x21e58e['canceledReason'];continue;case'5':return null;}break;}}export async function featureReportPrDescription(_0x27a8e8,_0x3c0a5c){const _0x2c95ae=_0x535b26,_0x23e54b={'uYobW':function(_0x39b553){return _0x39b553();},'nUsoH':_0x2c95ae(0x1cd),'JODvn':function(_0x15d400,_0x525e78){return _0x15d400(_0x525e78);},'VoOwD':function(_0x4db932,_0x56e9b7){return _0x4db932===_0x56e9b7;},'CtyIV':_0x2c95ae(0x196),'roXYx':function(_0x547a6f,_0x1c1428){return _0x547a6f>_0x1c1428;},'FKPmx':_0x2c95ae(0x1f1)},_0xd77d29=_0x27a8e8||await _0x23e54b['uYobW'](getActiveFeatureId);if(!_0xd77d29)throw new Error(_0x23e54b[_0x2c95ae(0x17c)]);const _0x3d88f1=await _0x23e54b['JODvn'](getFeature,_0xd77d29),_0x1ae459=_0x3d88f1['checklistItems']||[],_0x3c0d79=getCurrentSessionItems(_0x3d88f1,_0x1ae459);_0x23e54b[_0x2c95ae(0x1af)](_0x3c0d79['length'],0x0)&&(console[_0x2c95ae(0x11f)](_0x23e54b[_0x2c95ae(0x13f)]),process['exit'](0x1));const _0x4263b1=_0x3c0a5c['excludeScenarios']??[],_0x5324a5=_0x4263b1[_0x2c95ae(0x16b)](_0x22c07e=>!Number[_0x2c95ae(0x1e8)](_0x22c07e)||_0x22c07e<0x1||_0x22c07e>_0x3c0d79['length']);if(_0x23e54b['roXYx'](_0x5324a5[_0x2c95ae(0x1a5)],0x0)){console['error'](_0x2c95ae(0x1be)+_0x5324a5[_0x2c95ae(0x16d)](',\x20')),console['log'](_0x2c95ae(0x1c2));for(let _0x5505b2=0x0;_0x5505b2<_0x3c0d79['length'];_0x5505b2++){console[_0x2c95ae(0x1ca)]('\x20\x20'+(_0x5505b2+0x1)+'.\x20'+_0x3c0d79[_0x5505b2]['description']);}process[_0x2c95ae(0x152)](0x1);}const _0x21bd43=new Set(_0x4263b1['map'](_0x519de2=>_0x519de2-0x1)),_0x1d339b=_0x3c0d79[_0x2c95ae(0x16b)]((_0xd1de50,_0x326b83)=>!_0x21bd43[_0x2c95ae(0x122)](_0x326b83));_0x1d339b[_0x2c95ae(0x1a5)]===0x0&&(console[_0x2c95ae(0x11f)](_0x23e54b[_0x2c95ae(0x1cf)]),process[_0x2c95ae(0x152)](0x1));if(_0x3c0a5c['json'])await outputJsonReport(_0xd77d29,_0x3d88f1,_0x1d339b);else{const _0x371f81=await getFeatureReportMarkdown(_0xd77d29,{'itemIds':_0x1d339b['map'](_0x464fbe=>_0x464fbe['id'])});process[_0x2c95ae(0x162)]['write'](_0x371f81['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x30355c,_0xa235af,_0x57fb57){const _0x13c03e=_0x535b26,_0x2f6234={'AZGOA':function(_0x5496bf,_0x41c230){return _0x5496bf(_0x41c230);},'SBsIC':function(_0x169715,_0x3307b3){return _0x169715===_0x3307b3;},'NtJOs':function(_0x11984b,_0x18e6f5){return _0x11984b+_0x18e6f5;}},_0x5a999f=getApiBaseUrl(),_0x372573=await getFeatureReport(_0x30355c),_0x3e828c=new Map(_0x372573[_0x13c03e(0x125)][_0x13c03e(0x143)](_0x50e59f=>[_0x50e59f['id'],_0x50e59f])),_0x35c815=await Promise[_0x13c03e(0x1fe)](_0x57fb57['map'](async _0x18dfc1=>{const _0x4da64d=_0x13c03e,_0x3733a2=_0x3e828c[_0x4da64d(0x1e4)](_0x18dfc1['id']),_0x5a4cc8=_0x3733a2?.['linkedSession']??null;let _0xfa96cf=[];if(_0x18dfc1['browserSessionId'])try{const {steps:_0x2d9e7e}=await _0x2f6234['AZGOA'](getBrowserSessionSteps,_0x18dfc1[_0x4da64d(0x178)]);_0x2d9e7e[_0x4da64d(0x1a5)]>0x0&&(_0xfa96cf=_0x2d9e7e[_0x4da64d(0x143)](_0x2b815d=>{const _0x381677=_0x4da64d,_0x2a5d5a=_0x2b815d[_0x381677(0x1fd)]['find'](_0x559100=>_0x559100['assetType']===_0x381677(0x1e6)&&_0x559100[_0x381677(0x1de)]==='after')??_0x2b815d['assets']['find'](_0x4c7618=>_0x4c7618['assetType']==='screenshot');let _0x29305c=null,_0x3053c0=null;if(_0x2a5d5a){const _0x4d140d=_0x2a5d5a[_0x381677(0x1c4)][_0x381677(0x1ad)][_0x381677(0x1df)]('/')[_0x381677(0x173)]();_0x29305c=_0x5a999f+_0x381677(0x137)+_0x18dfc1['browserSessionId']+_0x381677(0x1a9)+_0x4d140d,_0x4d140d&&(_0x3053c0=_0x4d140d['replace'](/\.\w+$/,'')[_0x381677(0x153)](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x3053c0||_0x2b815d[_0x381677(0x1d2)]||_0x2b815d['stepName']||_0x381677(0x14f)+_0x2b815d['position'],'screenshot':_0x29305c,'is_key_step':_0x2b815d['isKeyStep']};}));}catch{}return _0x2f6234[_0x4da64d(0x1e3)](_0xfa96cf[_0x4da64d(0x1a5)],0x0)&&_0x5a4cc8?.[_0x4da64d(0x14c)]&&(_0xfa96cf=_0x5a4cc8['screenshotUrls']['map']((_0x1dba8b,_0x9fc12a)=>({'description':_0x4da64d(0x156)+(_0x9fc12a+0x1),'screenshot':_0x1dba8b,'is_key_step':![]}))),{'description':_0x18dfc1[_0x4da64d(0x1d2)],'result':getScenarioResult(_0x18dfc1),'rationale':getScenarioRationale(_0x18dfc1,_0x5a4cc8?.[_0x4da64d(0x175)]),'steps':_0xfa96cf};})),_0x5be0bf={'url':_0xa235af[_0x13c03e(0x1e2)],'scenarios':_0x35c815};process['stdout']['write'](_0x2f6234['NtJOs'](JSON['stringify'](_0x5be0bf,null,0x2),'\x0a'));}function _0x45e3(_0x2395d2,_0x3cdd54){_0x2395d2=_0x2395d2-0x115;const _0x42fede=_0x42fe();let _0x45e354=_0x42fede[_0x2395d2];return _0x45e354;}export async function featureConcludeSession(_0x5a823d){const _0x386399=_0x535b26,_0x485f69={'Ycimp':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','OjpYc':_0x386399(0x15f),'vfcUc':_0x386399(0x1d6),'tYKkk':function(_0x47c900,_0x51b038){return _0x47c900===_0x51b038;},'IIfqg':'\x0a✅\x20Session\x20is\x20already\x20completed.','gAhbi':_0x386399(0x1c8)},_0x51c426=_0x5a823d||await getActiveFeatureId();if(!_0x51c426)throw new Error(_0x485f69['Ycimp']);const _0x484e8c=await getFeature(_0x51c426);if(!_0x484e8c['currentSessionId'])throw new Error(_0x485f69[_0x386399(0x1ba)]);const {sessions:_0x44c904}=await listFeatureSessions(_0x51c426),_0x2b702e=_0x44c904['find'](_0x2563af=>_0x2563af['id']===_0x484e8c[_0x386399(0x128)]);if(!_0x2b702e)throw new Error(_0x485f69[_0x386399(0x16c)]);if(_0x485f69[_0x386399(0x1b7)](_0x2b702e[_0x386399(0x1ce)],'completed')){console['log'](_0x485f69['IIfqg']);return;}if(_0x2b702e[_0x386399(0x1ce)]!==_0x485f69[_0x386399(0x195)])throw new Error(_0x386399(0x1b4)+_0x2b702e['status']);console[_0x386399(0x1ca)]('\x0aConcluding\x20session...'),await concludeSession(_0x51c426,_0x484e8c[_0x386399(0x128)]),console['log']('\x0a✅\x20Session\x20'+_0x2b702e['iteration']+'\x20concluded.'),console['log'](_0x386399(0x1e1));}export async function featureSessions(_0x5a3178){const _0x266efb=_0x535b26,_0x1176de={'VAlPq':function(_0x3262fa){return _0x3262fa();},'LdWCa':function(_0x4108a8,_0x2137f0){return _0x4108a8(_0x2137f0);},'xqSCq':_0x266efb(0x140)},_0x4be15a=_0x5a3178||await _0x1176de[_0x266efb(0x190)](getActiveFeatureId);if(!_0x4be15a)throw new Error(_0x266efb(0x1cd));const _0x4c40cc=await _0x1176de['LdWCa'](getFeature,_0x4be15a);console['log'](_0x266efb(0x1a4)+_0x4c40cc[_0x266efb(0x14e)]+'\x0a');const {sessions:_0x279544}=await listFeatureSessions(_0x4be15a);if(_0x279544[_0x266efb(0x1a5)]===0x0){console['log'](_0x266efb(0x19d));return;}for(const _0x380b16 of _0x279544){const _0x3b2b3e=_0x380b16['status']===_0x1176de['xqSCq']?'✅':_0x380b16['status']===_0x266efb(0x1c8)?'🔄':'▶️';console['log'](_0x3b2b3e+'\x20Session\x20'+_0x380b16['iteration']+'\x20('+_0x380b16['id']+')'),console[_0x266efb(0x1ca)]('\x20\x20\x20Status:\x20'+_0x380b16[_0x266efb(0x1ce)]),console[_0x266efb(0x1ca)](_0x266efb(0x1ef)+new Date(_0x380b16['createdAt'])[_0x266efb(0x1c9)]()),_0x380b16[_0x266efb(0x181)]&&console['log'](_0x266efb(0x1c1)+new Date(_0x380b16['completedAt'])['toLocaleString']()),console[_0x266efb(0x1ca)]('');}}export async function featureAddScenario(_0x1b517a,_0x1224ac){const _0x37b8ee=_0x535b26,_0x3add7b={'EuYOi':function(_0x13b069){return _0x13b069();},'wWrsB':function(_0xe9903f,_0x5afb31){return _0xe9903f(_0x5afb31);},'wtrFO':function(_0x3f97fc,_0x2944e9,_0x5ce662){return _0x3f97fc(_0x2944e9,_0x5ce662);}},_0x36765c=_0x1224ac||await _0x3add7b['EuYOi'](getActiveFeatureId);if(!_0x36765c)throw new Error(_0x37b8ee(0x1a8));const _0x18e35b=await getFeature(_0x36765c);if(_0x18e35b['latestReview']&&!_0x18e35b[_0x37b8ee(0x198)][_0x37b8ee(0x197)])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x18e35b['dashboardUrl']);await createChecklistItem(_0x36765c,_0x1b517a);const _0x55e069=await _0x3add7b['wWrsB'](getFeature,_0x36765c);console[_0x37b8ee(0x1ca)](_0x37b8ee(0x139)),_0x3add7b['wtrFO'](displayFeature,_0x55e069,_0x55e069['checklistItems']);}export async function featureEditScenario(_0x5d765c,_0x3907c8){const _0x52ac4d=_0x535b26,_0x2d9216={'KiWmP':function(_0x575ca0){return _0x575ca0();},'NcJIT':_0x52ac4d(0x155),'QTbbf':'Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','IOLZt':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','tkKLt':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','opQvy':function(_0x36ec5d,_0x2af502){return _0x36ec5d===_0x2af502;},'zMixH':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','idtrE':_0x52ac4d(0x1c2),'cIlcG':function(_0x9638cb,_0x27bcfb){return _0x9638cb<_0x27bcfb;},'xocQW':function(_0x123319,_0xa01b17){return _0x123319+_0xa01b17;},'eHeQR':function(_0x3abc7e,_0x2e0777){return _0x3abc7e<_0x2e0777;},'ofxgi':function(_0xe84c07,_0x4349d6,_0xe571b,_0x47a00a){return _0xe84c07(_0x4349d6,_0xe571b,_0x47a00a);},'iVbWq':function(_0x587403,_0x1875c9){return _0x587403(_0x1875c9);},'prxvn':function(_0x70acb9,_0x3fe2a3,_0x4acb35){return _0x70acb9(_0x3fe2a3,_0x4acb35);}},_0x2c6c50=_0x3907c8['id']||await _0x2d9216['KiWmP'](getActiveFeatureId);!_0x2c6c50&&(console[_0x52ac4d(0x11f)](_0x2d9216['NcJIT']),console['error'](_0x2d9216['QTbbf']),process[_0x52ac4d(0x152)](0x1));const _0x1c7f19=await getFeature(_0x2c6c50);_0x1c7f19['latestReview']&&!_0x1c7f19['latestReview'][_0x52ac4d(0x197)]&&(console[_0x52ac4d(0x11f)](_0x2d9216['IOLZt']),console['error'](_0x52ac4d(0x1f6)),console['error']('\x20\x20'+_0x1c7f19[_0x52ac4d(0x1e2)]),process[_0x52ac4d(0x152)](0x1));const _0x2183fb=_0x1c7f19['checklistItems']||[];_0x2183fb[_0x52ac4d(0x1a5)]===0x0&&(console['error'](_0x2d9216['tkKLt']),process['exit'](0x1));if(_0x2d9216[_0x52ac4d(0x187)](_0x3907c8[_0x52ac4d(0x15e)],undefined)){console['error'](_0x2d9216[_0x52ac4d(0x171)]),console['log'](_0x2d9216[_0x52ac4d(0x184)]);for(let _0x9a4f1c=0x0;_0x2d9216['cIlcG'](_0x9a4f1c,_0x2183fb[_0x52ac4d(0x1a5)]);_0x9a4f1c++){console[_0x52ac4d(0x1ca)]('\x20\x20'+_0x2d9216['xocQW'](_0x9a4f1c,0x1)+'.\x20'+_0x2183fb[_0x9a4f1c][_0x52ac4d(0x1d2)]);}process['exit'](0x1);}const _0x153a15=_0x3907c8['scenario']-0x1;if(_0x2d9216[_0x52ac4d(0x1e0)](_0x153a15,0x0)||_0x153a15>=_0x2183fb[_0x52ac4d(0x1a5)]){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x3907c8[_0x52ac4d(0x15e)]+'.\x20Feature\x20review\x20has\x20'+_0x2183fb[_0x52ac4d(0x1a5)]+_0x52ac4d(0x19f)),console[_0x52ac4d(0x1ca)](_0x52ac4d(0x1c2));for(let _0x424fc1=0x0;_0x424fc1<_0x2183fb[_0x52ac4d(0x1a5)];_0x424fc1++){console['log']('\x20\x20'+(_0x424fc1+0x1)+'.\x20'+_0x2183fb[_0x424fc1]['description']);}process[_0x52ac4d(0x152)](0x1);}const _0x19d160=_0x2183fb[_0x153a15];await _0x2d9216[_0x52ac4d(0x177)](updateChecklistItem,_0x2c6c50,_0x19d160['id'],{'description':_0x5d765c});const _0x3680dc=await _0x2d9216[_0x52ac4d(0x15d)](getFeature,_0x2c6c50);console[_0x52ac4d(0x1ca)](_0x52ac4d(0x1c3)),_0x2d9216['prxvn'](displayFeature,_0x3680dc,_0x3680dc[_0x52ac4d(0x125)]);}async function downloadFeedbackImage(_0x3715c4,_0x2ba990){const _0x58efa8=_0x535b26,_0x379172={'HuSSe':function(_0x35b8d6){return _0x35b8d6();},'tPBEt':_0x58efa8(0x1fb),'Azxnt':function(_0x1ffc39,_0x137ab7){return _0x1ffc39(_0x137ab7);},'kVJjC':function(_0x21c9b9,_0x29dd33,_0x2f1cf5){return _0x21c9b9(_0x29dd33,_0x2f1cf5);}};try{const _0x1cb2af=join(_0x379172[_0x58efa8(0x180)](getRangerDir),_0x379172['tPBEt']);await mkdir(_0x1cb2af,{'recursive':!![]});const _0x4ec1b8=join(_0x1cb2af,_0x58efa8(0x169)+_0x2ba990+_0x58efa8(0x157)),_0x2e1829=await _0x379172['Azxnt'](fetch,_0x3715c4);if(!_0x2e1829['ok'])return null;const _0xd496af=Buffer['from'](await _0x2e1829['arrayBuffer']());return await _0x379172[_0x58efa8(0x1a0)](writeFile,_0x4ec1b8,_0xd496af),_0x4ec1b8;}catch{return null;}}export async function featureGetReview(_0x4193d2){const _0x37fe66=_0x535b26,_0x19a76f={'NsvVF':function(_0x46c438,_0x1f52af){return _0x46c438(_0x1f52af);},'yxhtW':function(_0x56b662,_0xd58091){return _0x56b662===_0xd58091;},'TttzP':'No\x20scenarios\x20found.','mjDDR':function(_0x5b345e,_0x33b6a6){return _0x5b345e>_0x33b6a6;},'CZvmC':function(_0x136bb8,_0xeb3832){return _0x136bb8+_0xeb3832;},'xyEEr':'Unknown','woyVg':function(_0x4afce8,_0x8c5fa8,_0x1b5794){return _0x4afce8(_0x8c5fa8,_0x1b5794);},'IZFIj':'\x20>\x20','WCwNd':function(_0x55e992,_0x2f8dd1){return _0x55e992+_0x2f8dd1;}},_0x542b0b=_0x4193d2||await getActiveFeatureId();if(!_0x542b0b)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 _0x2351d4=await getFeature(_0x542b0b),{items:_0x26116f}=await _0x19a76f[_0x37fe66(0x15b)](getActionItems,_0x542b0b);console['log']('\x0a📋\x20Feedback\x20for:\x20'+_0x2351d4[_0x37fe66(0x14e)]+'\x20('+_0x2351d4['id']+')\x0a');if(_0x19a76f[_0x37fe66(0x161)](_0x26116f['length'],0x0)){console['log'](_0x19a76f[_0x37fe66(0x1ab)]);return;}for(let _0x538c6d=0x0;_0x538c6d<_0x26116f[_0x37fe66(0x1a5)];_0x538c6d++){const _0x32073a=_0x26116f[_0x538c6d],_0x9d492=_0x32073a[_0x37fe66(0x146)]>0x1?_0x37fe66(0x117)+_0x32073a['version']+')':'',_0x1eb752=await getItemFeedback(_0x542b0b,_0x32073a['id']);if(_0x19a76f['mjDDR'](_0x1eb752[_0x37fe66(0x1b0)]['length'],0x0)){console[_0x37fe66(0x1ca)](_0x37fe66(0x176)+_0x19a76f['CZvmC'](_0x538c6d,0x1)+_0x37fe66(0x186)+_0x32073a[_0x37fe66(0x1d2)]+'\x22'+_0x9d492+_0x37fe66(0x1b1)+_0x1eb752['unaddressedComments']['length']+'\x20unaddressed\x20comment(s)');for(const _0x274d0b of _0x1eb752['unaddressedComments']){const _0x14a954=new Date(_0x274d0b[_0x37fe66(0x1a3)])[_0x37fe66(0x1db)](_0x37fe66(0x148),{'month':'short','day':_0x37fe66(0x126)}),_0x5d0f61=_0x274d0b[_0x37fe66(0x12d)]||_0x274d0b[_0x37fe66(0x1d5)]||_0x19a76f['xyEEr'];console[_0x37fe66(0x1ca)]('\x20\x20💬\x20'+_0x5d0f61+'\x20('+_0x14a954+'):\x20\x22'+_0x274d0b['content']+'\x22');if(_0x274d0b[_0x37fe66(0x1b2)]){const _0xef80c1=await _0x19a76f[_0x37fe66(0x1ae)](downloadFeedbackImage,_0x274d0b[_0x37fe66(0x1b2)],_0x274d0b['id']);_0xef80c1&&console['log'](_0x37fe66(0x1c5)+_0xef80c1);}if(_0x274d0b['domRef']){const _0x32057d=_0x274d0b[_0x37fe66(0x1b6)]['selector'][_0x37fe66(0x1df)](_0x19a76f[_0x37fe66(0x1fc)])['pop']()?.[_0x37fe66(0x1df)](':')[0x0]||_0x37fe66(0x1aa),_0x9a893=_0x274d0b[_0x37fe66(0x1b6)]['textContent']?'\x20\x22'+_0x274d0b['domRef'][_0x37fe66(0x18b)][_0x37fe66(0x13c)](0x0,0x3c)+'\x22':'';console['log'](_0x37fe66(0x124)+_0x32057d+'>'+_0x9a893),console[_0x37fe66(0x1ca)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x274d0b['domRef'][_0x37fe66(0x1b3)]);}else{if(_0x274d0b[_0x37fe66(0x1f4)]){const _0x82204c=_0x274d0b['spatial'][_0x37fe66(0x1eb)];_0x274d0b['spatial'][_0x37fe66(0x179)]===_0x37fe66(0x1d0)&&_0x82204c[_0x37fe66(0x1a5)]>=0x2?console[_0x37fe66(0x1ca)](_0x37fe66(0x130)+_0x82204c[0x0]['toFixed'](0x2)+',\x20'+_0x82204c[0x1][_0x37fe66(0x1f8)](0x2)+')'):console[_0x37fe66(0x1ca)](_0x37fe66(0x199)+_0x274d0b[_0x37fe66(0x1f4)][_0x37fe66(0x179)]+_0x37fe66(0x12c)+_0x82204c['map'](_0xa74246=>_0xa74246[_0x37fe66(0x1f8)](0x2))['join'](',\x20')+']');}}}if(_0x1eb752[_0x37fe66(0x1c6)]){console[_0x37fe66(0x1ca)]('\x20\x20Expected\x20flow:');for(const _0x2c1d53 of _0x1eb752[_0x37fe66(0x1c6)][_0x37fe66(0x1df)]('\x0a')){console['log'](_0x37fe66(0x1cc)+_0x2c1d53);}}}else console['log']('Scenario\x20'+_0x19a76f['WCwNd'](_0x538c6d,0x1)+_0x37fe66(0x186)+_0x32073a['description']+'\x22'+_0x9d492+'\x20—\x20no\x20comments'),console[_0x37fe66(0x1ca)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0x37fe66(0x1ca)]('');}}export async function featureDelete(_0x528693){const _0x4a8ee5=_0x535b26,_0x50d624={'xawiG':function(_0x367a7c){return _0x367a7c();},'keqWf':function(_0x27aeb3,_0x2d52d3){return _0x27aeb3(_0x2d52d3);},'zOCBp':function(_0xc9a5c0,_0x490e17){return _0xc9a5c0(_0x490e17);},'jlynt':function(_0x101164,_0x3eda3b){return _0x101164+_0x3eda3b;}},_0x40f65b=_0x528693||await _0x50d624[_0x4a8ee5(0x127)](getActiveFeatureId);if(!_0x40f65b)throw new Error(_0x4a8ee5(0x1a8));const _0x5c483e=await _0x50d624[_0x4a8ee5(0x16f)](getFeature,_0x40f65b);await _0x50d624['zOCBp'](softDeleteFeature,_0x40f65b),console[_0x4a8ee5(0x1ca)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x5c483e[_0x4a8ee5(0x14e)]+'\x20('+_0x40f65b+')'),console[_0x4a8ee5(0x1ca)](_0x50d624[_0x4a8ee5(0x15c)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20',_0x40f65b));}export async function featureRestore(_0x4f7f2a){const _0x186caf=_0x535b26,_0x2def3a={'OwzfZ':function(_0x40d664,_0x3187bc){return _0x40d664(_0x3187bc);},'VdWPw':function(_0x54b279,_0x40c66b){return _0x54b279(_0x40c66b);}};await _0x2def3a[_0x186caf(0x18c)](restoreFeature,_0x4f7f2a);const _0x4d89d5=await _0x2def3a[_0x186caf(0x118)](getFeature,_0x4f7f2a);console['log']('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x4d89d5['name']+'\x20('+_0x4f7f2a+')'),displayFeature(_0x4d89d5,_0x4d89d5[_0x186caf(0x125)]);}
@@ -1 +1 @@
1
- function _0x5da6(_0x255097,_0xbc4bec){_0x255097=_0x255097-0xc3;const _0x3b4c49=_0x3b4c();let _0x5da6ce=_0x3b4c49[_0x255097];return _0x5da6ce;}(function(_0x19cccd,_0x4aeead){const _0x16fc59=_0x5da6,_0x1c95b8=_0x19cccd();while(!![]){try{const _0x19d343=parseInt(_0x16fc59(0xd0))/0x1+parseInt(_0x16fc59(0xc5))/0x2+-parseInt(_0x16fc59(0xc9))/0x3+parseInt(_0x16fc59(0xcd))/0x4+-parseInt(_0x16fc59(0xc3))/0x5+-parseInt(_0x16fc59(0xc7))/0x6*(parseInt(_0x16fc59(0xd2))/0x7)+parseInt(_0x16fc59(0xc8))/0x8;if(_0x19d343===_0x4aeead)break;else _0x1c95b8['push'](_0x1c95b8['shift']());}catch(_0x24d9da){_0x1c95b8['push'](_0x1c95b8['shift']());}}}(_0x3b4c,0xdd507));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x5277d4=_0x5da6,_0x3e6a14={'xAfzF':'SIGINT','lijkP':_0x5277d4(0xc4),'qVnyg':_0x5277d4(0xd6)};if(cancellationHandlersInstalled)return;const _0x178c43=()=>{process['exit'](0x0);};process[_0x5277d4(0xc6)](_0x3e6a14[_0x5277d4(0xcb)],_0x178c43),process[_0x5277d4(0xc6)](_0x3e6a14[_0x5277d4(0xcc)],_0x178c43),process['once'](_0x3e6a14[_0x5277d4(0xd5)],_0x178c43),cancellationHandlersInstalled=!![];}export async function hook(_0x39c935,_0x134529){const _0x108c09=_0x5da6,_0x5370f7={'tVgnm':function(_0x19305e){return _0x19305e();}};_0x5370f7['tVgnm'](installCancellationHandlers);const _0x4f3428=HOOKS[_0x39c935];if(!_0x4f3428){const _0x1a30b5=Object[_0x108c09(0xd1)](HOOKS)[_0x108c09(0xd3)](',\x20');console[_0x108c09(0xcf)](_0x108c09(0xca)+_0x39c935),console[_0x108c09(0xcf)](_0x108c09(0xce)+_0x1a30b5),process[_0x108c09(0xd4)](0x1);}await _0x4f3428(_0x134529);}function _0x3b4c(){const _0x4f95ab=['599778AqeXMD','once','2503686UYJptV','11585296ztXGbH','238947KTjstr','Unknown\x20hook:\x20','xAfzF','lijkP','3330136vNZtSM','Valid\x20hooks:\x20','error','571011rCCHzU','keys','7igoUSt','join','exit','qVnyg','SIGHUP','8740815CKlgZq','SIGTERM'];_0x3b4c=function(){return _0x4f95ab;};return _0x3b4c();}
1
+ (function(_0xf548c9,_0x1c4680){const _0x28d7c8=_0x21be,_0x180d20=_0xf548c9();while(!![]){try{const _0x540efc=-parseInt(_0x28d7c8(0x187))/0x1*(-parseInt(_0x28d7c8(0x18c))/0x2)+-parseInt(_0x28d7c8(0x188))/0x3+-parseInt(_0x28d7c8(0x192))/0x4*(-parseInt(_0x28d7c8(0x186))/0x5)+parseInt(_0x28d7c8(0x18a))/0x6*(parseInt(_0x28d7c8(0x191))/0x7)+-parseInt(_0x28d7c8(0x190))/0x8*(-parseInt(_0x28d7c8(0x197))/0x9)+-parseInt(_0x28d7c8(0x193))/0xa+-parseInt(_0x28d7c8(0x195))/0xb;if(_0x540efc===_0x1c4680)break;else _0x180d20['push'](_0x180d20['shift']());}catch(_0x32d05b){_0x180d20['push'](_0x180d20['shift']());}}}(_0x4b7c,0x98d6d));function _0x21be(_0x4d7291,_0x29c6f6){_0x4d7291=_0x4d7291-0x185;const _0x4b7c99=_0x4b7c();let _0x21be19=_0x4b7c99[_0x4d7291];return _0x21be19;}import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x1b0f70=_0x21be,_0x30736a={'CQxWL':_0x1b0f70(0x18f)};if(cancellationHandlersInstalled)return;const _0xa49959=()=>{const _0x5e1e5c=_0x1b0f70;process[_0x5e1e5c(0x18e)](0x0);};process[_0x1b0f70(0x18b)](_0x30736a[_0x1b0f70(0x198)],_0xa49959),process['once']('SIGTERM',_0xa49959),process['once'](_0x1b0f70(0x189),_0xa49959),cancellationHandlersInstalled=!![];}export async function hook(_0x110338,_0x24a0a6){const _0x480565=_0x21be,_0x52bb72={'ZksdW':function(_0x442948){return _0x442948();}};_0x52bb72[_0x480565(0x196)](installCancellationHandlers);const _0x5a3f22=HOOKS[_0x110338];if(!_0x5a3f22){const _0x186f85=Object[_0x480565(0x194)](HOOKS)['join'](',\x20');console[_0x480565(0x18d)]('Unknown\x20hook:\x20'+_0x110338),console['error'](_0x480565(0x185)+_0x186f85),process['exit'](0x1);}await _0x5a3f22(_0x24a0a6);}function _0x4b7c(){const _0x18c813=['exit','SIGINT','1059424NKmFIP','5397cazKrn','8iWawwY','3111280MoPezY','keys','12614349wSLdaD','ZksdW','63ksRDBE','CQxWL','Valid\x20hooks:\x20','124210rYzqIj','932766KoGnhk','2573697ruuLWy','SIGHUP','8034wTmbkh','once','2xABHxK','error'];_0x4b7c=function(){return _0x18c813;};return _0x4b7c();}
@@ -1 +1 @@
1
- const _0x53216d=_0x4bb1;(function(_0x45bd11,_0x19884c){const _0x38e849=_0x4bb1,_0x13d0f4=_0x45bd11();while(!![]){try{const _0x42d2fb=parseInt(_0x38e849(0x11c))/0x1*(-parseInt(_0x38e849(0x117))/0x2)+-parseInt(_0x38e849(0x11a))/0x3*(-parseInt(_0x38e849(0x121))/0x4)+-parseInt(_0x38e849(0x125))/0x5+parseInt(_0x38e849(0x118))/0x6*(parseInt(_0x38e849(0x116))/0x7)+parseInt(_0x38e849(0x123))/0x8*(-parseInt(_0x38e849(0x124))/0x9)+-parseInt(_0x38e849(0x11d))/0xa+-parseInt(_0x38e849(0x120))/0xb*(-parseInt(_0x38e849(0x126))/0xc);if(_0x42d2fb===_0x19884c)break;else _0x13d0f4['push'](_0x13d0f4['shift']());}catch(_0x130344){_0x13d0f4['push'](_0x13d0f4['shift']());}}}(_0x8831,0x98dec));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT=_0x53216d(0x11f);function _0x4bb1(_0x18727e,_0x561b70){_0x18727e=_0x18727e-0x116;const _0x883189=_0x8831();let _0x4bb14d=_0x883189[_0x18727e];return _0x4bb14d;}function _0x8831(){const _0x175f29=['4177830hiBwFU','12DdBQlV','2723wglUsH','58NPtDlU','11418OhDpKX','CtzSP','467151AmaDXN','FimNR','12392XPSyOq','35920XdaFVz','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.','12820170bLpxhF','12nRkdgk','dbWwq','8lsrNmP','4933854MvwZlI'];_0x8831=function(){return _0x175f29;};return _0x8831();}export async function autoPrompt(){const _0x311bd3=_0x53216d,_0x57e992={'CtzSP':function(_0x31a691){return _0x31a691();},'FimNR':function(_0x328b54,_0x450b6d){return _0x328b54(_0x450b6d);},'dbWwq':function(_0x59327f,_0x4a7edd){return _0x59327f(_0x4a7edd);}},_0x22bf79=await _0x57e992[_0x311bd3(0x119)](readHookInput),_0x14c250=_0x22bf79?.['session_id'];if(!_0x14c250)return;if(_0x57e992[_0x311bd3(0x11b)](isSessionEnabled,_0x14c250)||hasSessionBeenPrompted(_0x14c250))return;_0x57e992[_0x311bd3(0x122)](markSessionPrompted,_0x14c250),console[_0x311bd3(0x11e)](AUTO_PROMPT_TEXT);}
1
+ (function(_0x27618c,_0x1ff7af){const _0x16ad6b=_0x137a,_0x11747a=_0x27618c();while(!![]){try{const _0x1d4802=parseInt(_0x16ad6b(0xea))/0x1*(parseInt(_0x16ad6b(0xe7))/0x2)+-parseInt(_0x16ad6b(0xe9))/0x3*(-parseInt(_0x16ad6b(0xe5))/0x4)+parseInt(_0x16ad6b(0xe6))/0x5+parseInt(_0x16ad6b(0xe8))/0x6*(parseInt(_0x16ad6b(0xe4))/0x7)+parseInt(_0x16ad6b(0xe1))/0x8*(parseInt(_0x16ad6b(0xeb))/0x9)+parseInt(_0x16ad6b(0xe2))/0xa*(-parseInt(_0x16ad6b(0xe3))/0xb)+-parseInt(_0x16ad6b(0xec))/0xc;if(_0x1d4802===_0x1ff7af)break;else _0x11747a['push'](_0x11747a['shift']());}catch(_0x475bbc){_0x11747a['push'](_0x11747a['shift']());}}}(_0x53d5,0xa801c));function _0x137a(_0x3aa055,_0x3e4a49){_0x3aa055=_0x3aa055-0xe1;const _0x53d585=_0x53d5();let _0x137ae8=_0x53d585[_0x3aa055];return _0x137ae8;}import{readHookInput}from'./output.js';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 _0x53d5(){const _0x30f977=['928450fPppxe','85386cJtRqj','5418naLlkN','12753unIzKF','3rvHJJt','3141Txpmou','23118780liMVGP','27544YDegRe','3841160Ndodio','11xbrdZe','10577PEvMSK','112jxpCpL'];_0x53d5=function(){return _0x30f977;};return _0x53d5();}export async function autoPrompt(){const _0x560ed0={'oqIEP':function(_0x360c87,_0x47130f){return _0x360c87(_0x47130f);}},_0x5cc5a4=await readHookInput(),_0x372b10=_0x5cc5a4?.['session_id'];if(!_0x372b10)return;if(isSessionEnabled(_0x372b10)||_0x560ed0['oqIEP'](hasSessionBeenPrompted,_0x372b10))return;markSessionPrompted(_0x372b10),console['log'](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- function _0x189c(_0x366297,_0x53bf72){_0x366297=_0x366297-0x170;const _0x308f53=_0x308f();let _0x189c6c=_0x308f53[_0x366297];return _0x189c6c;}(function(_0x521139,_0x4d00dd){const _0x395388=_0x189c,_0x29b7dc=_0x521139();while(!![]){try{const _0x2a5c40=-parseInt(_0x395388(0x17b))/0x1*(-parseInt(_0x395388(0x17d))/0x2)+-parseInt(_0x395388(0x177))/0x3+parseInt(_0x395388(0x171))/0x4*(parseInt(_0x395388(0x174))/0x5)+parseInt(_0x395388(0x176))/0x6*(-parseInt(_0x395388(0x172))/0x7)+-parseInt(_0x395388(0x17a))/0x8+parseInt(_0x395388(0x178))/0x9*(parseInt(_0x395388(0x17e))/0xa)+parseInt(_0x395388(0x17c))/0xb*(parseInt(_0x395388(0x170))/0xc);if(_0x2a5c40===_0x4d00dd)break;else _0x29b7dc['push'](_0x29b7dc['shift']());}catch(_0x5214d7){_0x29b7dc['push'](_0x29b7dc['shift']());}}}(_0x308f,0x2b445));function _0x308f(){const _0x36a904=['#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','988456VvUPhl','10727CZryJm','51007AzLMFg','22WAtRcN','370IIoBDJ','env','main','12jAKLbV','4mwOwbg','3311ESdSXV','\x20and\x20branch\x20\x27','73430VbsLzt','qrznG','18giWwvP','161712RmRjwn','53217ohzHcn'];_0x308f=function(){return _0x36a904;};return _0x308f();}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x261b5a){const _0xab888d=_0x189c,_0x194adc={'qrznG':function(_0x5eb289,_0x22b813){return _0x5eb289(_0x22b813);},'IhOpp':'main','WVVPf':'master','TkTOh':function(_0x907c0b,_0x10b7df){return _0x907c0b(_0x10b7df);},'iLDQr':function(_0x284138,_0x6b7f2b){return _0x284138!==_0x6b7f2b;}},_0x60eb9f=_0x261b5a||process[_0xab888d(0x17f)]['CLAUDE_SESSION_ID']||'';_0x60eb9f&&_0x194adc[_0xab888d(0x175)](disableSession,_0x60eb9f);const _0x3704a4=getCurrentBranch();_0x3704a4&&_0x3704a4!==_0x194adc['IhOpp']&&_0x3704a4!==_0x194adc['WVVPf']&&_0x194adc['qrznG'](disableBranch,_0x3704a4),_0x194adc['TkTOh'](printBlock,_0xab888d(0x179)+(_0x3704a4&&_0x194adc['iLDQr'](_0x3704a4,_0xab888d(0x180))&&_0x194adc['iLDQr'](_0x3704a4,_0x194adc['WVVPf'])?_0xab888d(0x173)+_0x3704a4+'\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(_0x28b4a0,_0x151652){const _0x48238f=_0x30fe,_0x29a45a=_0x28b4a0();while(!![]){try{const _0x16cccb=parseInt(_0x48238f(0x119))/0x1*(-parseInt(_0x48238f(0x11e))/0x2)+-parseInt(_0x48238f(0x120))/0x3*(-parseInt(_0x48238f(0x117))/0x4)+parseInt(_0x48238f(0x11c))/0x5*(-parseInt(_0x48238f(0x122))/0x6)+parseInt(_0x48238f(0x116))/0x7*(-parseInt(_0x48238f(0x113))/0x8)+parseInt(_0x48238f(0x11b))/0x9+-parseInt(_0x48238f(0x11a))/0xa*(-parseInt(_0x48238f(0x11d))/0xb)+parseInt(_0x48238f(0x121))/0xc*(parseInt(_0x48238f(0x11f))/0xd);if(_0x16cccb===_0x151652)break;else _0x29a45a['push'](_0x29a45a['shift']());}catch(_0x1cba4c){_0x29a45a['push'](_0x29a45a['shift']());}}}(_0x45b2,0xcbab9));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';function _0x45b2(){const _0x3bd493=['.\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`.','8MhpZSA','\x20and\x20branch\x20\x27','main','10280977jBMOgs','8388QCJehm','jQVwd','4776DyTMli','4986470OcXoOv','8001315VVTvtB','14405RsWdYg','33YxyHSu','566PoZOrk','8632mpCYYj','1275wDuQQa','24384PJtMLP','2022UEcDCX'];_0x45b2=function(){return _0x3bd493;};return _0x45b2();}function _0x30fe(_0x31f741,_0x5aff7e){_0x31f741=_0x31f741-0x113;const _0x45b2bb=_0x45b2();let _0x30fefa=_0x45b2bb[_0x31f741];return _0x30fefa;}export async function disable(_0x58d40a){const _0x4fba50=_0x30fe,_0x23214e={'Zzwfk':function(_0x582a24,_0x35f471){return _0x582a24!==_0x35f471;},'IcsVi':_0x4fba50(0x115),'KsBQH':function(_0x8831d4,_0x1a4311){return _0x8831d4!==_0x1a4311;},'jQVwd':'master','SklCb':function(_0x102feb,_0x185348){return _0x102feb(_0x185348);}},_0xa571b5=_0x58d40a||process['env']['CLAUDE_SESSION_ID']||'';_0xa571b5&&disableSession(_0xa571b5);const _0x5bf1b1=getCurrentBranch();_0x5bf1b1&&_0x23214e['Zzwfk'](_0x5bf1b1,_0x23214e['IcsVi'])&&_0x23214e['KsBQH'](_0x5bf1b1,_0x23214e['jQVwd'])&&_0x23214e['SklCb'](disableBranch,_0x5bf1b1),printBlock('#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x5bf1b1&&_0x5bf1b1!=='main'&&_0x5bf1b1!==_0x23214e[_0x4fba50(0x118)]?_0x4fba50(0x114)+_0x5bf1b1+'\x27':'')+_0x4fba50(0x123));}
@@ -1 +1 @@
1
- function _0x3619(_0x53a8e0,_0x379883){_0x53a8e0=_0x53a8e0-0x8a;const _0x33ff98=_0x33ff();let _0x36192f=_0x33ff98[_0x53a8e0];return _0x36192f;}function _0x33ff(){const _0x4e4dd8=['80432TCxDOp','942690xOnwVU','1422994PUJsGL','48310OKfwjb','2743760IeaAeB','LRarU','#\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`','\x0a\x0a**Branch\x20\x27','2664jzdyKk','ranger\x20setup','2DSJThK','main','981XEXRhz','65343FjYSGU','ranger\x20setup\x20--opencode','11228EiWcmi','GxqxN','iEomd','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','CLAUDE_SESSION_ID','#\x20RANGER\x20ENABLED','master','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','EKtCs'];_0x33ff=function(){return _0x4e4dd8;};return _0x33ff();}(function(_0x2a1f30,_0x283223){const _0x1d0546=_0x3619,_0x4c3139=_0x2a1f30();while(!![]){try{const _0x43f72b=parseInt(_0x1d0546(0x98))/0x1+-parseInt(_0x1d0546(0xa0))/0x2*(-parseInt(_0x1d0546(0x8a))/0x3)+parseInt(_0x1d0546(0x96))/0x4+-parseInt(_0x1d0546(0x9a))/0x5+-parseInt(_0x1d0546(0x97))/0x6+-parseInt(_0x1d0546(0x8c))/0x7*(parseInt(_0x1d0546(0x9e))/0x8)+-parseInt(_0x1d0546(0xa2))/0x9*(-parseInt(_0x1d0546(0x99))/0xa);if(_0x43f72b===_0x283223)break;else _0x4c3139['push'](_0x4c3139['shift']());}catch(_0x153044){_0x4c3139['push'](_0x4c3139['shift']());}}}(_0x33ff,0xb7767));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';export async function enable(_0x546f23){const _0x2b77f0=_0x3619,_0x3ca007={'GxqxN':function(_0x2db085){return _0x2db085();},'EKtCs':_0x2b77f0(0x8b),'nywHW':'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','cxIVV':_0x2b77f0(0x93),'KOBmu':function(_0x1db5ed,_0x58847e){return _0x1db5ed(_0x58847e);},'iEomd':function(_0x2519e1,_0x4edcb1){return _0x2519e1(_0x4edcb1);},'LRarU':function(_0x2f3571,_0x4a3df1){return _0x2f3571!==_0x4a3df1;},'sJwGj':_0x2b77f0(0x92),'kFpwh':function(_0x5f16d5,_0x5c0e83){return _0x5f16d5(_0x5c0e83);}},_0x2cb53d=_0x546f23||process['env'][_0x2b77f0(0x90)]||'',_0x12e91c=Boolean(_0x546f23),_0x2f0ed2=await _0x3ca007[_0x2b77f0(0x8d)](getToken);if(!_0x2f0ed2){const _0x39f40a=_0x12e91c?_0x3ca007[_0x2b77f0(0x95)]:_0x2b77f0(0x9f),_0x1c73c3=_0x12e91c?_0x3ca007['nywHW']:_0x3ca007['cxIVV'];_0x3ca007['KOBmu'](printBlock,_0x2b77f0(0x9c)+_0x39f40a+_0x2b77f0(0x8f)+_0x1c73c3);return;}try{await _0x3ca007[_0x2b77f0(0x8d)](update);}catch{}_0x2cb53d&&_0x3ca007[_0x2b77f0(0x8e)](enableSession,_0x2cb53d);const _0x1728fb=getCurrentBranch(),_0x502a0d=_0x1728fb&&_0x1728fb!==_0x2b77f0(0xa1)&&_0x3ca007[_0x2b77f0(0x9b)](_0x1728fb,_0x3ca007['sJwGj'])?_0x2b77f0(0x9d)+_0x1728fb+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x3e56b0=_0x3ca007[_0x2b77f0(0x8d)](getRangerSkillContent);_0x3ca007['kFpwh'](printBlock,_0x2b77f0(0x91)+_0x502a0d+_0x2b77f0(0x94)+_0x3e56b0+'\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.');}
1
+ (function(_0x5c9c53,_0x31fc62){const _0x22b8c7=_0x301a,_0x239bce=_0x5c9c53();while(!![]){try{const _0x1b7d8c=-parseInt(_0x22b8c7(0x6a))/0x1+parseInt(_0x22b8c7(0x7b))/0x2*(-parseInt(_0x22b8c7(0x76))/0x3)+parseInt(_0x22b8c7(0x6c))/0x4+parseInt(_0x22b8c7(0x6d))/0x5+parseInt(_0x22b8c7(0x77))/0x6+parseInt(_0x22b8c7(0x73))/0x7+-parseInt(_0x22b8c7(0x6b))/0x8;if(_0x1b7d8c===_0x31fc62)break;else _0x239bce['push'](_0x239bce['shift']());}catch(_0x5834c0){_0x239bce['push'](_0x239bce['shift']());}}}(_0x209c,0xb974f));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';function _0x301a(_0x39f112,_0x2ed89b){_0x39f112=_0x39f112-0x68;const _0x209c56=_0x209c();let _0x301aea=_0x209c56[_0x39f112];return _0x301aea;}import{printBlock}from'./output.js';import{update}from'../update.js';export async function enable(_0x3e841e){const _0x1ab44d=_0x301a,_0x4c777f={'ClQEj':function(_0x1722cf,_0x120f5a){return _0x1722cf(_0x120f5a);},'DCJEo':_0x1ab44d(0x71),'TcOQd':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','LXELy':function(_0x1fa174,_0x349e15){return _0x1fa174(_0x349e15);},'enkwz':function(_0x35b765){return _0x35b765();},'Dmyhj':function(_0x19188b,_0x223b6c){return _0x19188b(_0x223b6c);},'zRguG':function(_0x3e4c5a){return _0x3e4c5a();},'zwBjJ':function(_0x2113bd,_0x2f9fb7){return _0x2113bd!==_0x2f9fb7;},'wgjLl':function(_0x39741b){return _0x39741b();}},_0x622276=_0x3e841e||process['env']['CLAUDE_SESSION_ID']||'',_0x516e6d=_0x4c777f['ClQEj'](Boolean,_0x3e841e),_0x3f6e50=await getToken();if(!_0x3f6e50){const _0x1f5467=_0x516e6d?_0x4c777f['DCJEo']:_0x1ab44d(0x6e),_0x497d98=_0x516e6d?_0x1ab44d(0x79):_0x4c777f[_0x1ab44d(0x7a)];_0x4c777f[_0x1ab44d(0x78)](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`'+_0x1f5467+_0x1ab44d(0x75)+_0x497d98);return;}try{await _0x4c777f[_0x1ab44d(0x6f)](update);}catch{}_0x622276&&_0x4c777f[_0x1ab44d(0x74)](enableSession,_0x622276);const _0x3a489b=_0x4c777f['zRguG'](getCurrentBranch),_0x10c3bf=_0x3a489b&&_0x4c777f['zwBjJ'](_0x3a489b,'main')&&_0x3a489b!==_0x1ab44d(0x68)?_0x1ab44d(0x72)+_0x3a489b+_0x1ab44d(0x69):'',_0x5a3b97=_0x4c777f['wgjLl'](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x10c3bf+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x5a3b97+_0x1ab44d(0x70));}function _0x209c(){const _0x54b738=['enkwz','\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`.','ranger\x20setup\x20--opencode','\x0a\x0a**Branch\x20\x27','8091895gRRcud','Dmyhj','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','165258XqKSQq','868566saEQiK','LXELy','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','TcOQd','44Dcijtm','master','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','71190dBStBP','8320432xeFdBR','4182520eQELOV','3681955oPOfki','ranger\x20setup'];_0x209c=function(){return _0x54b738;};return _0x209c();}
@@ -1 +1 @@
1
- function _0x332c(_0x1ec064,_0x19a47c){_0x1ec064=_0x1ec064-0x1dd;const _0x2b3d84=_0x2b3d();let _0x332cd3=_0x2b3d84[_0x1ec064];return _0x332cd3;}(function(_0x5bc57e,_0xaf2c37){const _0x52d765=_0x332c,_0x251aeb=_0x5bc57e();while(!![]){try{const _0x5da185=parseInt(_0x52d765(0x1e1))/0x1*(-parseInt(_0x52d765(0x1e6))/0x2)+-parseInt(_0x52d765(0x1e0))/0x3+parseInt(_0x52d765(0x1e2))/0x4*(parseInt(_0x52d765(0x1dd))/0x5)+-parseInt(_0x52d765(0x1de))/0x6+-parseInt(_0x52d765(0x1e4))/0x7+parseInt(_0x52d765(0x1e7))/0x8*(-parseInt(_0x52d765(0x1e3))/0x9)+parseInt(_0x52d765(0x1e5))/0xa*(parseInt(_0x52d765(0x1df))/0xb);if(_0x5da185===_0xaf2c37)break;else _0x251aeb['push'](_0x251aeb['shift']());}catch(_0x4c3525){_0x251aeb['push'](_0x251aeb['shift']());}}}(_0x2b3d,0x28210));import{printBlock,getEnabledSessionId}from'./output.js';function _0x2b3d(){const _0x162e1a=['944mZSmnX','===\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===','25CJKyRY','572172OQRkLK','1137961XnCnxC','902064TykBgs','919zxOYqb','188492tqdlSv','23724YFDayZ','1288063oawrOz','90uJsewl','242FpfJwE'];_0x2b3d=function(){return _0x162e1a;};return _0x2b3d();}export async function exitPlanMode(_0x34f878){const _0x59a67e=_0x332c,_0xbde90e=await getEnabledSessionId(_0x34f878);if(!_0xbde90e)return;printBlock(_0x59a67e(0x1e8));}
1
+ function _0x370b(_0x32fe87,_0x4ebf66){_0x32fe87=_0x32fe87-0xc7;const _0x1339c8=_0x1339();let _0x370b86=_0x1339c8[_0x32fe87];return _0x370b86;}(function(_0x4b8839,_0x5dfa20){const _0x33a19e=_0x370b,_0x510f7e=_0x4b8839();while(!![]){try{const _0x15ba0b=parseInt(_0x33a19e(0xca))/0x1*(-parseInt(_0x33a19e(0xc8))/0x2)+-parseInt(_0x33a19e(0xcb))/0x3+-parseInt(_0x33a19e(0xcd))/0x4*(-parseInt(_0x33a19e(0xd0))/0x5)+parseInt(_0x33a19e(0xc9))/0x6*(-parseInt(_0x33a19e(0xce))/0x7)+-parseInt(_0x33a19e(0xcf))/0x8*(parseInt(_0x33a19e(0xd1))/0x9)+-parseInt(_0x33a19e(0xc7))/0xa+parseInt(_0x33a19e(0xcc))/0xb;if(_0x15ba0b===_0x5dfa20)break;else _0x510f7e['push'](_0x510f7e['shift']());}catch(_0x2c083b){_0x510f7e['push'](_0x510f7e['shift']());}}}(_0x1339,0x815a7));function _0x1339(){const _0x223d6d=['2844807iWuVoe','22504141YHbZIA','373892PGcSKr','1474536LUIQGJ','40GtQPcG','20VNlZlF','57852pPJQWj','712020szwYhc','1262xHtNkT','18IqRNuH','327OmVuVR'];_0x1339=function(){return _0x223d6d;};return _0x1339();}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x3d74ab){const _0xad625d={'DsPUX':function(_0x2c60ce,_0x3b475d){return _0x2c60ce(_0x3b475d);}},_0x5df076=await getEnabledSessionId(_0x3d74ab);if(!_0x5df076)return;_0xad625d['DsPUX'](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- function _0x1d22(){var _0x8cf233=['4067944zMSuUQ','15YcIkdM','1153980DObAPR','6629890XXPQvM','450892NSHvLN','87888KZLiDT','2264226pnZAPZ','28ZJzfXr','26HWgtJA','1954184WBqdty','11AQTibR'];_0x1d22=function(){return _0x8cf233;};return _0x1d22();}(function(_0x3d5ca5,_0xff3243){var _0x47f04b=_0xa233,_0x5c3803=_0x3d5ca5();while(!![]){try{var _0x59aee0=parseInt(_0x47f04b(0xfb))/0x1+parseInt(_0x47f04b(0xff))/0x2*(-parseInt(_0x47f04b(0xfc))/0x3)+-parseInt(_0x47f04b(0x102))/0x4+parseInt(_0x47f04b(0x103))/0x5*(parseInt(_0x47f04b(0xfd))/0x6)+parseInt(_0x47f04b(0xfe))/0x7*(parseInt(_0x47f04b(0x100))/0x8)+parseInt(_0x47f04b(0xf9))/0x9+parseInt(_0x47f04b(0xfa))/0xa*(-parseInt(_0x47f04b(0x101))/0xb);if(_0x59aee0===_0xff3243)break;else _0x5c3803['push'](_0x5c3803['shift']());}catch(_0x43878a){_0x5c3803['push'](_0x5c3803['shift']());}}}(_0x1d22,0x99326));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';function _0xa233(_0x5ed3ad,_0x3c95da){_0x5ed3ad=_0x5ed3ad-0xf9;var _0x1d22ce=_0x1d22();var _0xa2333f=_0x1d22ce[_0x5ed3ad];return _0xa2333f;}export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x315ebf,_0xdffd98){var _0x2bf10d=_0x581a,_0xe4f96f=_0x315ebf();while(!![]){try{var _0x15e86f=-parseInt(_0x2bf10d(0xa0))/0x1*(parseInt(_0x2bf10d(0xa1))/0x2)+-parseInt(_0x2bf10d(0xa4))/0x3*(parseInt(_0x2bf10d(0x9a))/0x4)+parseInt(_0x2bf10d(0x9c))/0x5+-parseInt(_0x2bf10d(0xa3))/0x6*(parseInt(_0x2bf10d(0xa5))/0x7)+parseInt(_0x2bf10d(0x9b))/0x8*(parseInt(_0x2bf10d(0x9d))/0x9)+parseInt(_0x2bf10d(0x9f))/0xa*(-parseInt(_0x2bf10d(0x9e))/0xb)+parseInt(_0x2bf10d(0xa2))/0xc;if(_0x15e86f===_0xdffd98)break;else _0xe4f96f['push'](_0xe4f96f['shift']());}catch(_0x772b1e){_0xe4f96f['push'](_0xe4f96f['shift']());}}}(_0x41b8,0x3b4b2));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';function _0x581a(_0x1744b2,_0x1d957d){_0x1744b2=_0x1744b2-0x9a;var _0x41b8db=_0x41b8();var _0x581a32=_0x41b8db[_0x1744b2];return _0x581a32;}export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';function _0x41b8(){var _0x5abda5=['4tkTiid','340376wiFbHL','1289575oaVUCB','9jcaCDQ','63998MixNCi','100bBTiRp','7192IqeNeE','2fwTjhs','6967572BQzFkY','5382TtJcEQ','733659PjPlic','2562cZIpaM'];_0x41b8=function(){return _0x5abda5;};return _0x41b8();}
@@ -1 +1 @@
1
- function _0x6696(){const _0x1c833e=['7475232WBFYmL','398JFkBfr','3450ifXKuF','375504XEgvDM','4yUuIBl','11494490YIbxTA','8944380oXJwMH','log','19440GWIBqn','trim','924444bUHxMw','hxyhl','20190RukOhF'];_0x6696=function(){return _0x1c833e;};return _0x6696();}function _0x5f50(_0x3ede37,_0x47242f){_0x3ede37=_0x3ede37-0xc3;const _0x669616=_0x6696();let _0x5f504c=_0x669616[_0x3ede37];return _0x5f504c;}(function(_0x182b1a,_0x631aa6){const _0x574a7c=_0x5f50,_0x3ded26=_0x182b1a();while(!![]){try{const _0x417c96=parseInt(_0x574a7c(0xca))/0x1*(-parseInt(_0x574a7c(0xcb))/0x2)+-parseInt(_0x574a7c(0xcc))/0x3*(parseInt(_0x574a7c(0xcd))/0x4)+-parseInt(_0x574a7c(0xcf))/0x5+-parseInt(_0x574a7c(0xc6))/0x6+-parseInt(_0x574a7c(0xce))/0x7+parseInt(_0x574a7c(0xc9))/0x8+parseInt(_0x574a7c(0xc4))/0x9*(parseInt(_0x574a7c(0xc8))/0xa);if(_0x417c96===_0x631aa6)break;else _0x3ded26['push'](_0x3ded26['shift']());}catch(_0xc0781f){_0x3ded26['push'](_0x3ded26['shift']());}}}(_0x6696,0xdb692));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x37a530){const _0x223c30=_0x5f50;console[_0x223c30(0xc3)](_0x37a530);}export async function readHookInput(){const _0xdfd18a=_0x5f50;let _0x489026='';try{for await(const _0x227a46 of process['stdin']){_0x489026+=_0x227a46;}}catch{return null;}if(!_0x489026[_0xdfd18a(0xc5)]())return null;try{return JSON['parse'](_0x489026);}catch{return null;}}export async function getEnabledSessionId(_0x51d5cc){const _0x296170={'etWcv':function(_0x2c3258,_0x3d8450){return _0x2c3258(_0x3d8450);}};if(_0x51d5cc)return isSessionEnabled(_0x51d5cc)?_0x51d5cc:null;const _0x1a1bb7=await readHookInput(),_0x2755db=_0x1a1bb7?.['session_id'];if(!_0x2755db||!_0x296170['etWcv'](isSessionEnabled,_0x2755db))return null;return _0x2755db;}export async function getEnabledHookContext(_0x510e82){const _0x5a071f=_0x5f50,_0x4fef80={'hxyhl':function(_0x3f5529){return _0x3f5529();}};if(_0x510e82){if(!isSessionEnabled(_0x510e82))return null;return{'sessionId':_0x510e82,'input':{'session_id':_0x510e82}};}const _0x502e1c=await _0x4fef80[_0x5a071f(0xc7)](readHookInput),_0x3fc41b=_0x502e1c?.['session_id'];if(!_0x3fc41b||!isSessionEnabled(_0x3fc41b))return null;return{'sessionId':_0x3fc41b,'input':_0x502e1c};}
1
+ (function(_0x130810,_0x291d93){const _0x1593ae=_0x19aa,_0x5ac2a5=_0x130810();while(!![]){try{const _0x37d0a1=-parseInt(_0x1593ae(0x12c))/0x1*(parseInt(_0x1593ae(0x12e))/0x2)+parseInt(_0x1593ae(0x130))/0x3+parseInt(_0x1593ae(0x12f))/0x4+parseInt(_0x1593ae(0x131))/0x5+parseInt(_0x1593ae(0x137))/0x6+parseInt(_0x1593ae(0x135))/0x7*(parseInt(_0x1593ae(0x12d))/0x8)+parseInt(_0x1593ae(0x138))/0x9*(-parseInt(_0x1593ae(0x136))/0xa);if(_0x37d0a1===_0x291d93)break;else _0x5ac2a5['push'](_0x5ac2a5['shift']());}catch(_0x3485b7){_0x5ac2a5['push'](_0x5ac2a5['shift']());}}}(_0x22e2,0x54f87));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x3b64d6){console['log'](_0x3b64d6);}export async function readHookInput(){const _0x2b48a7=_0x19aa;let _0x4df324='';try{for await(const _0xb075c1 of process[_0x2b48a7(0x133)]){_0x4df324+=_0xb075c1;}}catch{return null;}if(!_0x4df324['trim']())return null;try{return JSON[_0x2b48a7(0x132)](_0x4df324);}catch{return null;}}export async function getEnabledSessionId(_0x47453d){if(_0x47453d)return isSessionEnabled(_0x47453d)?_0x47453d:null;const _0x5f2801=await readHookInput(),_0x5a3ed8=_0x5f2801?.['session_id'];if(!_0x5a3ed8||!isSessionEnabled(_0x5a3ed8))return null;return _0x5a3ed8;}export async function getEnabledHookContext(_0x15339a){const _0x43fbe6=_0x19aa,_0x490c1b={'ucppq':function(_0x2723a4,_0x34216d){return _0x2723a4(_0x34216d);}};if(_0x15339a){if(!_0x490c1b['ucppq'](isSessionEnabled,_0x15339a))return null;return{'sessionId':_0x15339a,'input':{'session_id':_0x15339a}};}const _0x16a5c2=await readHookInput(),_0x216d40=_0x16a5c2?.['session_id'];if(!_0x216d40||!_0x490c1b[_0x43fbe6(0x134)](isSessionEnabled,_0x216d40))return null;return{'sessionId':_0x216d40,'input':_0x16a5c2};}function _0x19aa(_0x5bb2ef,_0x4ed0d1){_0x5bb2ef=_0x5bb2ef-0x12c;const _0x22e22d=_0x22e2();let _0x19aa90=_0x22e22d[_0x5bb2ef];return _0x19aa90;}function _0x22e2(){const _0x490121=['55960mjjeJh','1943160jbQNBf','2187xMhFfM','108OugJqN','110224DBfSqc','6748GBqUKd','2346324hLwCuj','1614954ercOED','1739700yTjMdt','parse','stdin','ucppq','140TUXDzg'];_0x22e2=function(){return _0x490121;};return _0x22e2();}
@@ -1 +1 @@
1
- function _0xea22(_0x3afebf,_0x4ff120){_0x3afebf=_0x3afebf-0x64;const _0x165f3d=_0x165f();let _0xea2241=_0x165f3d[_0x3afebf];return _0xea2241;}(function(_0x570b07,_0x39062c){const _0xdbb01d=_0xea22,_0xee82b8=_0x570b07();while(!![]){try{const _0xe20446=-parseInt(_0xdbb01d(0x65))/0x1*(parseInt(_0xdbb01d(0x70))/0x2)+parseInt(_0xdbb01d(0x74))/0x3+parseInt(_0xdbb01d(0x6d))/0x4+-parseInt(_0xdbb01d(0x68))/0x5*(parseInt(_0xdbb01d(0x6a))/0x6)+parseInt(_0xdbb01d(0x6f))/0x7+-parseInt(_0xdbb01d(0x64))/0x8*(-parseInt(_0xdbb01d(0x6e))/0x9)+-parseInt(_0xdbb01d(0x72))/0xa*(-parseInt(_0xdbb01d(0x73))/0xb);if(_0xe20446===_0x39062c)break;else _0xee82b8['push'](_0xee82b8['shift']());}catch(_0x322b9c){_0xee82b8['push'](_0xee82b8['shift']());}}}(_0x165f,0xd9c35));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x165f(){const _0x358224=['15075zqoMMG','4272282Iojorf','152426QcNpOo','===\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===','2150TiFXpp','15565fGWquj','2690865GbDiuF','5192JqacWS','11VqWuhh','input','lTjJC','911045chjLip','ElVPy','48uVQZOV','plan','sessionId','1157564DpKlyr'];_0x165f=function(){return _0x358224;};return _0x165f();}export async function planReminder(_0x1f23da){const _0x126198=_0xea22,_0x53fdb3={'lTjJC':function(_0x14b054,_0x51dd63){return _0x14b054(_0x51dd63);},'ElVPy':function(_0x7ea1c8,_0x81c8b1){return _0x7ea1c8!==_0x81c8b1;},'oNEjI':_0x126198(0x6b)},_0x4f8061=await _0x53fdb3[_0x126198(0x67)](getEnabledHookContext,_0x1f23da);if(!_0x4f8061)return;if(_0x53fdb3[_0x126198(0x69)](_0x4f8061[_0x126198(0x66)]['permission_mode'],_0x53fdb3['oNEjI']))return;if(!shouldShowPlanReminder(_0x4f8061[_0x126198(0x6c)]))return;_0x53fdb3[_0x126198(0x67)](printBlock,_0x126198(0x71));}
1
+ function _0x5214(_0x54bab8,_0x458087){_0x54bab8=_0x54bab8-0x10c;const _0x1a9023=_0x1a90();let _0x52143c=_0x1a9023[_0x54bab8];return _0x52143c;}(function(_0x4a5d49,_0x1efb6e){const _0x47e71b=_0x5214,_0xd4ef85=_0x4a5d49();while(!![]){try{const _0x2e9195=parseInt(_0x47e71b(0x10d))/0x1+-parseInt(_0x47e71b(0x10f))/0x2+parseInt(_0x47e71b(0x112))/0x3+-parseInt(_0x47e71b(0x110))/0x4+parseInt(_0x47e71b(0x10c))/0x5*(-parseInt(_0x47e71b(0x10e))/0x6)+-parseInt(_0x47e71b(0x111))/0x7+parseInt(_0x47e71b(0x114))/0x8;if(_0x2e9195===_0x1efb6e)break;else _0xd4ef85['push'](_0xd4ef85['shift']());}catch(_0x5ce321){_0xd4ef85['push'](_0xd4ef85['shift']());}}}(_0x1a90,0x943e2));import{printBlock,getEnabledHookContext}from'./output.js';function _0x1a90(){const _0x5c4009=['vLxaf','3110tyOojA','851235bsFtxr','7122jPenfw','1375900IbLurJ','577104IlxtVt','5198564ckYvqJ','3243330LYragz','DWdMR','7904392XysJlo'];_0x1a90=function(){return _0x5c4009;};return _0x1a90();}import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x31ff52){const _0x4eeed9=_0x5214,_0x362160={'WxDjp':function(_0xfe5a61,_0x7b38d9){return _0xfe5a61(_0x7b38d9);},'vLxaf':'plan','DWdMR':function(_0x2834de,_0xad86b9){return _0x2834de(_0xad86b9);}},_0x222eaf=await _0x362160['WxDjp'](getEnabledHookContext,_0x31ff52);if(!_0x222eaf)return;if(_0x222eaf['input']['permission_mode']!==_0x362160[_0x4eeed9(0x115)])return;if(!_0x362160[_0x4eeed9(0x113)](shouldShowPlanReminder,_0x222eaf['sessionId']))return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- (function(_0x3071d8,_0x284c6b){const _0xb18dce=_0x493d,_0x1928e0=_0x3071d8();while(!![]){try{const _0x20058a=-parseInt(_0xb18dce(0x157))/0x1+parseInt(_0xb18dce(0x154))/0x2+parseInt(_0xb18dce(0x155))/0x3+parseInt(_0xb18dce(0x15c))/0x4*(parseInt(_0xb18dce(0x152))/0x5)+-parseInt(_0xb18dce(0x15a))/0x6*(parseInt(_0xb18dce(0x159))/0x7)+parseInt(_0xb18dce(0x15b))/0x8*(-parseInt(_0xb18dce(0x151))/0x9)+parseInt(_0xb18dce(0x158))/0xa;if(_0x20058a===_0x284c6b)break;else _0x1928e0['push'](_0x1928e0['shift']());}catch(_0x5630d6){_0x1928e0['push'](_0x1928e0['shift']());}}}(_0x2ec5,0x31edd));function _0x493d(_0x1c63b3,_0x1650e5){_0x1c63b3=_0x1c63b3-0x151;const _0x2ec54a=_0x2ec5();let _0x493d61=_0x2ec54a[_0x1c63b3];return _0x493d61;}import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x5be724){const _0x15f43e=_0x493d,_0x3695c1={'IgQVS':function(_0x30c62b,_0x2512d8){return _0x30c62b(_0x2512d8);}},_0x29f183=await getEnabledSessionId(_0x5be724);if(!_0x29f183)return;_0x3695c1[_0x15f43e(0x153)](printBlock,_0x15f43e(0x156));}function _0x2ec5(){const _0x3a5ad4=['===\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===','266600SNXWbv','4210800IaWEzc','49CfJbKd','144534fMZNCv','1624wNvpLT','104rGMSeW','7713XmTipk','22275VHjJXi','IgQVS','38318nKJKfl','772902fIjYcE'];_0x2ec5=function(){return _0x3a5ad4;};return _0x2ec5();}
1
+ (function(_0x55378d,_0x4b8e22){const _0x1f03f5=_0x30b8,_0x43d29a=_0x55378d();while(!![]){try{const _0x3d80d5=-parseInt(_0x1f03f5(0x1aa))/0x1*(-parseInt(_0x1f03f5(0x1a0))/0x2)+parseInt(_0x1f03f5(0x1a4))/0x3*(-parseInt(_0x1f03f5(0x1a1))/0x4)+parseInt(_0x1f03f5(0x1a6))/0x5*(parseInt(_0x1f03f5(0x1a7))/0x6)+parseInt(_0x1f03f5(0x1a5))/0x7+-parseInt(_0x1f03f5(0x1a2))/0x8+parseInt(_0x1f03f5(0x19f))/0x9+parseInt(_0x1f03f5(0x1a9))/0xa*(parseInt(_0x1f03f5(0x1ab))/0xb);if(_0x3d80d5===_0x4b8e22)break;else _0x43d29a['push'](_0x43d29a['shift']());}catch(_0x382c71){_0x43d29a['push'](_0x43d29a['shift']());}}}(_0x490f,0x970ed));import{printBlock,getEnabledSessionId}from'./output.js';function _0x490f(){const _0x3d716=['17988Sukvrw','5865097MAeSME','9865gfUTht','1950XRJyMt','===\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===','75270qoIyFH','18SiePzM','33qZSVwZ','271413SqAkau','63274RXSrDb','716ahAFlg','3274264nuuXSy','WwlCz'];_0x490f=function(){return _0x3d716;};return _0x490f();}function _0x30b8(_0xa31fbe,_0x31342b){_0xa31fbe=_0xa31fbe-0x19f;const _0x490f23=_0x490f();let _0x30b869=_0x490f23[_0xa31fbe];return _0x30b869;}export async function planStart(_0x2916e3){const _0x74650e=_0x30b8,_0x4dadee={'WwlCz':function(_0x18a568,_0x558681){return _0x18a568(_0x558681);}},_0x4a1cc6=await _0x4dadee['WwlCz'](getEnabledSessionId,_0x2916e3);if(!_0x4a1cc6)return;_0x4dadee[_0x74650e(0x1a3)](printBlock,_0x74650e(0x1a8));}
@@ -1 +1 @@
1
- function _0x5ac0(_0x29dfe4,_0x2221c2){_0x29dfe4=_0x29dfe4-0x89;const _0x5cb297=_0x5cb2();let _0x5ac01f=_0x5cb297[_0x29dfe4];return _0x5ac01f;}function _0x5cb2(){const _0x54e972=['2OnNBIq','stringify','260044MehqmK','2830884wcXKmS','9NizZUC','log','PostToolUse','44uNNBjf','CTJQP','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.','1257370CaMabk','1799684ptzuhq','3XDYhNF','2826hyAOUx','6815BdLEkA','7075160DqfIam','2200068HdlLuM'];_0x5cb2=function(){return _0x54e972;};return _0x5cb2();}(function(_0x2bde32,_0x48bb03){const _0x4f1831=_0x5ac0,_0x5e8aff=_0x2bde32();while(!![]){try{const _0xf76eaf=-parseInt(_0x4f1831(0x91))/0x1*(-parseInt(_0x4f1831(0x8f))/0x2)+-parseInt(_0x4f1831(0x8a))/0x3*(parseInt(_0x4f1831(0x89))/0x4)+parseInt(_0x4f1831(0x8c))/0x5*(parseInt(_0x4f1831(0x8b))/0x6)+-parseInt(_0x4f1831(0x92))/0x7+-parseInt(_0x4f1831(0x8d))/0x8*(-parseInt(_0x4f1831(0x93))/0x9)+parseInt(_0x4f1831(0x99))/0xa*(-parseInt(_0x4f1831(0x96))/0xb)+parseInt(_0x4f1831(0x8e))/0xc;if(_0xf76eaf===_0x48bb03)break;else _0x5e8aff['push'](_0x5e8aff['shift']());}catch(_0x2f79c8){_0x5e8aff['push'](_0x5e8aff['shift']());}}}(_0x5cb2,0x95876));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x13d411){const _0x1fa57c=_0x5ac0,_0x868454={'CTJQP':function(_0x2f5779,_0x448139){return _0x2f5779(_0x448139);},'xBtLA':function(_0x4f7539){return _0x4f7539();},'qDGNH':_0x1fa57c(0x95)},_0x9cb5f=await _0x868454[_0x1fa57c(0x97)](getEnabledSessionId,_0x13d411);if(!_0x9cb5f)return;_0x868454[_0x1fa57c(0x97)](updateBranchTracking,_0x9cb5f);const _0x30c3d9=await _0x868454['xBtLA'](getToken);if(!_0x30c3d9)return;const _0x1128dd=_0x868454[_0x1fa57c(0x97)](getSessionEntry,_0x9cb5f);if(_0x1128dd){const _0x51a88d={'hookSpecificOutput':{'hookEventName':_0x868454['qDGNH'],'additionalContext':'RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).'}};console[_0x1fa57c(0x94)](JSON[_0x1fa57c(0x90)](_0x51a88d));return;}const _0x13d7e5={'hookSpecificOutput':{'hookEventName':_0x1fa57c(0x95),'additionalContext':_0x1fa57c(0x98)}};console[_0x1fa57c(0x94)](JSON[_0x1fa57c(0x90)](_0x13d7e5));}
1
+ function _0x1c8c(_0x347b25,_0x1204fa){_0x347b25=_0x347b25-0x14e;const _0x26efde=_0x26ef();let _0x1c8cc7=_0x26efde[_0x347b25];return _0x1c8cc7;}(function(_0x259608,_0x5a491e){const _0x40a986=_0x1c8c,_0x43cbaa=_0x259608();while(!![]){try{const _0x30145e=parseInt(_0x40a986(0x150))/0x1+-parseInt(_0x40a986(0x14e))/0x2+-parseInt(_0x40a986(0x159))/0x3+-parseInt(_0x40a986(0x153))/0x4+parseInt(_0x40a986(0x156))/0x5+-parseInt(_0x40a986(0x152))/0x6*(parseInt(_0x40a986(0x14f))/0x7)+parseInt(_0x40a986(0x155))/0x8;if(_0x30145e===_0x5a491e)break;else _0x43cbaa['push'](_0x43cbaa['shift']());}catch(_0x26f36b){_0x43cbaa['push'](_0x43cbaa['shift']());}}}(_0x26ef,0x2a592));function _0x26ef(){const _0x4453b1=['zBlkB','1020954tfuvTc','fwghf','172320VcgpFM','55951GjkdVa','95511FEFcxZ','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).','180pZbnaC','895908MlPScu','log','5502072fJEbFV','1402165woorSX','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.'];_0x26ef=function(){return _0x4453b1;};return _0x26ef();}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x485313){const _0x32b35b=_0x1c8c,_0x513779={'fwghf':function(_0x345b09,_0x38ed8d){return _0x345b09(_0x38ed8d);},'Qhzzf':function(_0x5e4fef){return _0x5e4fef();},'zBlkB':'PostToolUse'},_0x5e65d8=await getEnabledSessionId(_0x485313);if(!_0x5e65d8)return;_0x513779[_0x32b35b(0x15a)](updateBranchTracking,_0x5e65d8);const _0xd08b76=await _0x513779['Qhzzf'](getToken);if(!_0xd08b76)return;const _0x590065=getSessionEntry(_0x5e65d8);if(_0x590065){const _0x30b82f={'hookSpecificOutput':{'hookEventName':_0x513779[_0x32b35b(0x158)],'additionalContext':_0x32b35b(0x151)}};console['log'](JSON['stringify'](_0x30b82f));return;}const _0x418fe7={'hookSpecificOutput':{'hookEventName':_0x513779[_0x32b35b(0x158)],'additionalContext':_0x32b35b(0x157)}};console[_0x32b35b(0x154)](JSON['stringify'](_0x418fe7));}
@@ -1 +1 @@
1
- (function(_0x49ae03,_0x3f7744){const _0x29e3b3=_0x2f74,_0x28f794=_0x49ae03();while(!![]){try{const _0x56da8c=parseInt(_0x29e3b3(0x1c5))/0x1+-parseInt(_0x29e3b3(0x1cd))/0x2*(-parseInt(_0x29e3b3(0x1c4))/0x3)+-parseInt(_0x29e3b3(0x1ca))/0x4*(-parseInt(_0x29e3b3(0x1cf))/0x5)+-parseInt(_0x29e3b3(0x1c9))/0x6+parseInt(_0x29e3b3(0x1c6))/0x7*(-parseInt(_0x29e3b3(0x1c7))/0x8)+-parseInt(_0x29e3b3(0x1ce))/0x9+parseInt(_0x29e3b3(0x1c8))/0xa*(parseInt(_0x29e3b3(0x1cb))/0xb);if(_0x56da8c===_0x3f7744)break;else _0x28f794['push'](_0x28f794['shift']());}catch(_0x339fda){_0x28f794['push'](_0x28f794['shift']());}}}(_0xd87b,0x5f125));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x59a17a){const _0x29d473=_0x2f74,_0x3e1720={'juMEi':function(_0x3f9af9,_0x139c3e){return _0x3f9af9(_0x139c3e);}},_0x35340e=await getEnabledSessionId(_0x59a17a);if(!_0x35340e)return;try{const _0x2f4731=await getToken();if(!_0x2f4731)return;_0x3e1720['juMEi'](printBlock,_0x29d473(0x1cc));}catch{}}function _0x2f74(_0x5b4f9f,_0x4e4718){_0x5b4f9f=_0x5b4f9f-0x1c4;const _0xd87b64=_0xd87b();let _0x2f743b=_0xd87b64[_0x5b4f9f];return _0x2f743b;}function _0xd87b(){const _0x4d9bf6=['208508MGPWiO','302027DyOyex','===\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`.','4DVSEVX','6137523XQApZi','55rOkZFi','284709voSWow','654956WYUCwg','815899mLGHxj','48KsbbXG','130ongxBu','26388wQZLkN'];_0xd87b=function(){return _0x4d9bf6;};return _0xd87b();}
1
+ (function(_0x149bd3,_0x5cefa5){const _0x3c54c2=_0x4f7b,_0x227bdd=_0x149bd3();while(!![]){try{const _0x48ead9=parseInt(_0x3c54c2(0x1cb))/0x1+parseInt(_0x3c54c2(0x1cd))/0x2+-parseInt(_0x3c54c2(0x1ce))/0x3*(parseInt(_0x3c54c2(0x1d1))/0x4)+parseInt(_0x3c54c2(0x1d2))/0x5*(-parseInt(_0x3c54c2(0x1d5))/0x6)+-parseInt(_0x3c54c2(0x1cf))/0x7*(parseInt(_0x3c54c2(0x1cc))/0x8)+-parseInt(_0x3c54c2(0x1ca))/0x9+parseInt(_0x3c54c2(0x1d3))/0xa*(parseInt(_0x3c54c2(0x1d0))/0xb);if(_0x48ead9===_0x5cefa5)break;else _0x227bdd['push'](_0x227bdd['shift']());}catch(_0x42dcd5){_0x227bdd['push'](_0x227bdd['shift']());}}}(_0x359c,0xe2c06));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0x4f7b(_0x409ad9,_0x1d0736){_0x409ad9=_0x409ad9-0x1ca;const _0x359c5a=_0x359c();let _0x4f7b61=_0x359c5a[_0x409ad9];return _0x4f7b61;}export async function preCompact(_0x335eec){const _0x18391a=_0x4f7b,_0x3f7711=await getEnabledSessionId(_0x335eec);if(!_0x3f7711)return;try{const _0x52c3f6=await getToken();if(!_0x52c3f6)return;printBlock(_0x18391a(0x1d4));}catch{}}function _0x359c(){const _0x6756d3=['5eDHkbK','10gHgTtr','===\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`.','1521552PKqFST','5645772TcoyuA','465378YsWqtz','4696816oPhIrX','1584476urIFcI','277437nyWJJR','21APEPvf','38671501CkdiQa','52bnBWZE'];_0x359c=function(){return _0x6756d3;};return _0x359c();}
@@ -1 +1 @@
1
- function _0x1c8c(_0x164d0f,_0x26b939){_0x164d0f=_0x164d0f-0xce;const _0x10cd67=_0x10cd();let _0x1c8c9d=_0x10cd67[_0x164d0f];return _0x1c8c9d;}(function(_0x4e4d1c,_0x25db12){const _0x2c5af6=_0x1c8c,_0x2df47c=_0x4e4d1c();while(!![]){try{const _0x11a2c7=-parseInt(_0x2c5af6(0xd8))/0x1+parseInt(_0x2c5af6(0xd4))/0x2*(parseInt(_0x2c5af6(0xd2))/0x3)+-parseInt(_0x2c5af6(0xce))/0x4*(parseInt(_0x2c5af6(0xd3))/0x5)+parseInt(_0x2c5af6(0xd9))/0x6*(parseInt(_0x2c5af6(0xd6))/0x7)+parseInt(_0x2c5af6(0xd0))/0x8*(-parseInt(_0x2c5af6(0xd5))/0x9)+parseInt(_0x2c5af6(0xcf))/0xa+parseInt(_0x2c5af6(0xdb))/0xb*(-parseInt(_0x2c5af6(0xd1))/0xc);if(_0x11a2c7===_0x25db12)break;else _0x2df47c['push'](_0x2df47c['shift']());}catch(_0x1d604d){_0x2df47c['push'](_0x2df47c['shift']());}}}(_0x10cd,0x6bdc6));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x24b97c){const _0x40e247=_0x1c8c,_0x5ac432={'LNnrS':function(_0x4d5616,_0x4158c1){return _0x4d5616(_0x4158c1);},'CRQxY':function(_0x5f264a){return _0x5f264a();},'ULspz':function(_0x2bebe9,_0x285c47){return _0x2bebe9===_0x285c47;},'Fulbs':'clear'},_0x3bcf4f=process['env'][_0x40e247(0xd7)];let _0x2746d9=_0x24b97c,_0x55278b;if(!_0x24b97c){if(_0x3bcf4f&&!_0x5ac432['LNnrS'](isSessionEnabled,_0x3bcf4f))return;const _0x508e52=await _0x5ac432['CRQxY'](readHookInput);_0x2746d9=_0x508e52?.[_0x40e247(0xdc)]||_0x3bcf4f,_0x55278b=_0x508e52?.['reason'];}if(!_0x2746d9)return;_0x5ac432['ULspz'](_0x55278b,_0x5ac432[_0x40e247(0xda)])&&recordEnabledSessionCleared(_0x2746d9);}function _0x10cd(){const _0x35aae3=['40yBEpdt','12ikgcUg','1542JiawKH','1120KfOMhj','3084TYKGVT','220464jInZyX','21wWCDYx','CLAUDE_SESSION_ID','77429ZCgnvk','950604iAiHGs','Fulbs','1159235mCcTAK','session_id','9652drBlbu','197140cYDETA'];_0x10cd=function(){return _0x35aae3;};return _0x10cd();}
1
+ (function(_0x4c9d11,_0x5bacda){const _0x277ec7=_0x26b1,_0x39ff05=_0x4c9d11();while(!![]){try{const _0x41ebe4=parseInt(_0x277ec7(0x1a2))/0x1+-parseInt(_0x277ec7(0x19f))/0x2*(parseInt(_0x277ec7(0x1a0))/0x3)+-parseInt(_0x277ec7(0x19d))/0x4+parseInt(_0x277ec7(0x1a1))/0x5+parseInt(_0x277ec7(0x1a5))/0x6+-parseInt(_0x277ec7(0x1a6))/0x7+parseInt(_0x277ec7(0x1a7))/0x8;if(_0x41ebe4===_0x5bacda)break;else _0x39ff05['push'](_0x39ff05['shift']());}catch(_0x40cea0){_0x39ff05['push'](_0x39ff05['shift']());}}}(_0x21ca,0x96a9a));function _0x26b1(_0x5d17fe,_0x26f4b8){_0x5d17fe=_0x5d17fe-0x19b;const _0x21ca4e=_0x21ca();let _0x26b1aa=_0x21ca4e[_0x5d17fe];return _0x26b1aa;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x2d2ec5){const _0x2d4602=_0x26b1,_0x7c007e={'EggOR':function(_0x40790d,_0x4b4970){return _0x40790d===_0x4b4970;},'Afovp':function(_0x591463,_0x767e34){return _0x591463(_0x767e34);}},_0x4479fa=process['env'][_0x2d4602(0x1a3)];let _0x47d2cb=_0x2d2ec5,_0x413bed;if(!_0x2d2ec5){if(_0x4479fa&&!isSessionEnabled(_0x4479fa))return;const _0x400a9c=await readHookInput();_0x47d2cb=_0x400a9c?.[_0x2d4602(0x19e)]||_0x4479fa,_0x413bed=_0x400a9c?.[_0x2d4602(0x19c)];}if(!_0x47d2cb)return;_0x7c007e[_0x2d4602(0x19b)](_0x413bed,_0x2d4602(0x1a4))&&_0x7c007e['Afovp'](recordEnabledSessionCleared,_0x47d2cb);}function _0x21ca(){const _0x5b1c84=['reason','1949284BEkUzx','session_id','2YEuGeB','1688541GbFydQ','5318800eZFiww','482086okpHnd','CLAUDE_SESSION_ID','clear','2329680VcdlLl','5323311KiLtjx','3949032YuVkOG','EggOR'];_0x21ca=function(){return _0x5b1c84;};return _0x21ca();}
@@ -1 +1 @@
1
- const _0x54f9c2=_0x19a7;function _0x3f30(){const _0x3011fe=['569826TzBEqr','8toFpVj','parse','SessionStart','1Zjfgit','1817360bKlnnO','18CRmRlj','session_id','810173iZjKuo','HOHqS','13234390rBiRJe','834506oluxyj','33piZBDf','6483060jRhrBN','source','4zNcZdA','=================================================================\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=================================================================','main','env','lIlpA','1524936eDRsHn'];_0x3f30=function(){return _0x3011fe;};return _0x3f30();}(function(_0x1133bd,_0x139aea){const _0x3c5b6f=_0x19a7,_0x1f0e48=_0x1133bd();while(!![]){try{const _0x4d5138=-parseInt(_0x3c5b6f(0x1f5))/0x1*(-parseInt(_0x3c5b6f(0x1fc))/0x2)+parseInt(_0x3c5b6f(0x1f0))/0x3*(parseInt(_0x3c5b6f(0x1eb))/0x4)+-parseInt(_0x3c5b6f(0x1f6))/0x5+parseInt(_0x3c5b6f(0x1f7))/0x6*(parseInt(_0x3c5b6f(0x1f9))/0x7)+parseInt(_0x3c5b6f(0x1f2))/0x8*(parseInt(_0x3c5b6f(0x1f1))/0x9)+parseInt(_0x3c5b6f(0x1fb))/0xa+-parseInt(_0x3c5b6f(0x1e8))/0xb*(parseInt(_0x3c5b6f(0x1e9))/0xc);if(_0x4d5138===_0x139aea)break;else _0x1f0e48['push'](_0x1f0e48['shift']());}catch(_0x281f25){_0x1f0e48['push'](_0x1f0e48['shift']());}}}(_0x3f30,0xa4de2));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';function _0x19a7(_0x1874c3,_0x699e46){_0x1874c3=_0x1874c3-0x1e8;const _0x3f3018=_0x3f30();let _0x19a761=_0x3f3018[_0x1874c3];return _0x19a761;}import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT=_0x54f9c2(0x1ec);export async function sessionStart(_0x2319ba){const _0x459a58=_0x54f9c2,_0x17d8a6={'QsJQS':function(_0x42b2ac,_0x37cf3d){return _0x42b2ac&&_0x37cf3d;},'HOHqS':function(_0x5dbb95,_0x3bf0ba){return _0x5dbb95(_0x3bf0ba);},'NpwUm':function(_0x3d663e,_0x17eac1){return _0x3d663e(_0x17eac1);},'tzRWG':'hook:session-start','lIlpA':function(_0x5f3c34,_0x62245b){return _0x5f3c34!==_0x62245b;},'YRlLE':_0x459a58(0x1f4),'SbLWd':function(_0x27b880,_0x562897){return _0x27b880+_0x562897;}};let _0x2c84ab=_0x2319ba||'',_0x3021cc;if(!_0x2319ba){let _0x56e0eb='';for await(const _0x360fcf of process['stdin']){_0x56e0eb+=_0x360fcf;}try{const _0x1a6917=JSON[_0x459a58(0x1f3)](_0x56e0eb);_0x2c84ab=_0x1a6917[_0x459a58(0x1f8)]||'',_0x3021cc=_0x1a6917[_0x459a58(0x1ea)];}catch{}const _0x456e89=process[_0x459a58(0x1ee)]['CLAUDE_ENV_FILE'];if(_0x17d8a6['QsJQS'](_0x456e89,_0x2c84ab))try{await appendFile(_0x456e89,'export\x20CLAUDE_SESSION_ID=\x22'+_0x2c84ab+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x2c84ab){_0x17d8a6[_0x459a58(0x1fa)](shouldAutoEnableAfterClear,_0x3021cc)&&_0x17d8a6['HOHqS'](autoEnableAfterClear,_0x2c84ab);initBranchTracking(_0x2c84ab);const _0x2fcbac=isSessionEnabled(_0x2c84ab);try{const _0x452eec=_0x17d8a6['NpwUm'](createTelemetryCollector,_0x17d8a6['tzRWG']);await _0x452eec['trackCommandStart']({'sessionId':_0x2c84ab,'hooksEnabled':_0x2fcbac}),await _0x452eec['trackCommandEnd']('success');}catch{}if(_0x2fcbac){const _0x3363d8=getCurrentBranch(),_0x5d4b18=_0x3363d8&&_0x17d8a6[_0x459a58(0x1ef)](_0x3363d8,_0x459a58(0x1ed))&&_0x3363d8!=='master'?'\x20(Branch:\x20'+_0x3363d8+')':'',_0x283f5b={'hookSpecificOutput':{'hookEventName':_0x17d8a6['YRlLE'],'additionalContext':_0x17d8a6['SbLWd'](RANGER_AUTO_ENABLED_PROMPT,_0x5d4b18)}};console['log'](JSON['stringify'](_0x283f5b));}}}
1
+ const _0x373816=_0x2430;(function(_0x535b4d,_0x1d8809){const _0x3b054f=_0x2430,_0x59ee0f=_0x535b4d();while(!![]){try{const _0x216c2f=-parseInt(_0x3b054f(0x130))/0x1+parseInt(_0x3b054f(0x148))/0x2+parseInt(_0x3b054f(0x141))/0x3*(parseInt(_0x3b054f(0x13d))/0x4)+parseInt(_0x3b054f(0x144))/0x5*(parseInt(_0x3b054f(0x142))/0x6)+-parseInt(_0x3b054f(0x145))/0x7*(-parseInt(_0x3b054f(0x13e))/0x8)+parseInt(_0x3b054f(0x147))/0x9*(parseInt(_0x3b054f(0x133))/0xa)+-parseInt(_0x3b054f(0x146))/0xb*(parseInt(_0x3b054f(0x13f))/0xc);if(_0x216c2f===_0x1d8809)break;else _0x59ee0f['push'](_0x59ee0f['shift']());}catch(_0x18ec90){_0x59ee0f['push'](_0x59ee0f['shift']());}}}(_0x32c2,0xd26d9));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x2430(_0x3f2bb9,_0x1c1983){_0x3f2bb9=_0x3f2bb9-0x130;const _0x32c2c3=_0x32c2();let _0x2430c0=_0x32c2c3[_0x3f2bb9];return _0x2430c0;}function _0x32c2(){const _0x2cf3c6=['366JYTXFE','SJyYu','14945JRDztb','77gMKUeA','2221021VIJrIS','513IlsNvR','1706542INEGVl','aNvVu','50867qZMghT','OjiAG','CLAUDE_ENV_FILE','24110SROnYP','hook:session-start','session_id','KxwBF','XgKVS','success','stdin','export\x20CLAUDE_SESSION_ID=\x22','stringify','master','284lnoWJv','273128mAScPR','72LNeYvU','=================================================================\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=================================================================','24324rgbYaE'];_0x32c2=function(){return _0x2cf3c6;};return _0x32c2();}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT=_0x373816(0x140);export async function sessionStart(_0x489ca6){const _0x35dd22=_0x373816,_0x5eecac={'owSeI':function(_0x3ed311,_0xe337a3){return _0x3ed311||_0xe337a3;},'SJyYu':'source','XgKVS':function(_0x39289e,_0x26c956,_0x3f115d){return _0x39289e(_0x26c956,_0x3f115d);},'YzxMR':function(_0x4e7fbc){return _0x4e7fbc();},'OjiAG':function(_0x2582f7,_0xc4be6d){return _0x2582f7(_0xc4be6d);},'KxwBF':_0x35dd22(0x138),'AtWXE':'main','aNvVu':function(_0x9a6a61,_0x13cada){return _0x9a6a61!==_0x13cada;},'ORjaw':'SessionStart'};let _0x19e55d=_0x5eecac['owSeI'](_0x489ca6,''),_0x4f922c;if(!_0x489ca6){let _0x13f5a2='';for await(const _0x2fb85d of process[_0x35dd22(0x139)]){_0x13f5a2+=_0x2fb85d;}try{const _0x39836a=JSON['parse'](_0x13f5a2);_0x19e55d=_0x39836a[_0x35dd22(0x135)]||'',_0x4f922c=_0x39836a[_0x5eecac[_0x35dd22(0x143)]];}catch{}const _0x464310=process['env'][_0x35dd22(0x132)];if(_0x464310&&_0x19e55d)try{await _0x5eecac[_0x35dd22(0x137)](appendFile,_0x464310,_0x35dd22(0x13a)+_0x19e55d+'\x22\x0a');}catch{}}try{await _0x5eecac['YzxMR'](getToken);}catch{}if(_0x19e55d){shouldAutoEnableAfterClear(_0x4f922c)&&autoEnableAfterClear(_0x19e55d);_0x5eecac['OjiAG'](initBranchTracking,_0x19e55d);const _0x1fa8e3=_0x5eecac['OjiAG'](isSessionEnabled,_0x19e55d);try{const _0x142b91=_0x5eecac[_0x35dd22(0x131)](createTelemetryCollector,_0x35dd22(0x134));await _0x142b91['trackCommandStart']({'sessionId':_0x19e55d,'hooksEnabled':_0x1fa8e3}),await _0x142b91['trackCommandEnd'](_0x5eecac[_0x35dd22(0x136)]);}catch{}if(_0x1fa8e3){const _0x575986=getCurrentBranch(),_0x564765=_0x575986&&_0x575986!==_0x5eecac['AtWXE']&&_0x5eecac[_0x35dd22(0x149)](_0x575986,_0x35dd22(0x13c))?'\x20(Branch:\x20'+_0x575986+')':'',_0x5cd844={'hookSpecificOutput':{'hookEventName':_0x5eecac['ORjaw'],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x564765}};console['log'](JSON[_0x35dd22(0x13b)](_0x5cd844));}}}
@@ -1 +1 @@
1
- (function(_0x573506,_0x42c033){const _0x1d7662=_0xa721,_0x3e7e30=_0x573506();while(!![]){try{const _0x3414bd=parseInt(_0x1d7662(0xfc))/0x1*(-parseInt(_0x1d7662(0xf9))/0x2)+-parseInt(_0x1d7662(0x111))/0x3+parseInt(_0x1d7662(0x10d))/0x4+parseInt(_0x1d7662(0x106))/0x5*(-parseInt(_0x1d7662(0x101))/0x6)+parseInt(_0x1d7662(0x10a))/0x7*(-parseInt(_0x1d7662(0x10f))/0x8)+parseInt(_0x1d7662(0xfa))/0x9+parseInt(_0x1d7662(0x109))/0xa;if(_0x3414bd===_0x42c033)break;else _0x3e7e30['push'](_0x3e7e30['shift']());}catch(_0x2ee275){_0x3e7e30['push'](_0x3e7e30['shift']());}}}(_0x3dca,0x350cb));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';function _0x3dca(){const _0x25e24b=['filter','some','514655uRiUGF','verified','featureId','7920390XFZOof','56joGChh','EKupt','dFfTA','879404wuJOWk','sessionId','258824qNzkgU','success','968223jvPZxW','stringify','2630kdZyBb','3213747gYCRTk','currentSessionId','277iIJvXp','Stop','trackCommandEnd','status','log','12JnZRWa','hook:stop','incomplete'];_0x3dca=function(){return _0x25e24b;};return _0x3dca();}function _0xa721(_0x479111,_0x1b2d71){_0x479111=_0x479111-0xf8;const _0x3dca39=_0x3dca();let _0xa7218b=_0x3dca39[_0x479111];return _0xa7218b;}import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x1f016b){const _0x16338d=_0xa721,_0x334865={'dFfTA':function(_0x2e9a08,_0x6cb64f){return _0x2e9a08(_0x6cb64f);},'EKupt':function(_0x505d38,_0x411242,_0x1db422,_0x185849){return _0x505d38(_0x411242,_0x1db422,_0x185849);},'ozdBD':function(_0xc1fb2b){return _0xc1fb2b();},'QRolj':function(_0x3bfef0,_0x47ef11){return _0x3bfef0&&_0x47ef11;}},_0x17b2e9=await getEnabledHookContext(_0x1f016b),_0x5ce193=_0x17b2e9?.['sessionId']??null;let _0x4bc6b2=!![];if(!_0x5ce193){await trackStop(_0x5ce193,![],_0x4bc6b2);return;}try{const _0x386c53=_0x334865[_0x16338d(0x10c)](getSessionEntry,_0x5ce193);if(!_0x386c53){await _0x334865['EKupt'](trackStop,_0x5ce193,!![],_0x4bc6b2);return;}const _0x4f17d1=await _0x334865['ozdBD'](getToken),_0x44deba='https://dashboard.ranger.net/features/'+_0x386c53['featureId'];let _0x33de90=null,_0x33bb71=![],_0xa5f190=![];if(_0x4f17d1)try{const _0x480ee6=await getFeature(_0x386c53[_0x16338d(0x108)]);_0x33de90=_0x480ee6[_0x16338d(0xfb)]??null;const _0x36f823=_0x480ee6['checklistItems'][_0x16338d(0x104)](_0x1dcb7b=>_0x1dcb7b[_0x16338d(0x10e)]===_0x33de90);_0x33bb71=_0x36f823['some'](_0x2f5541=>_0x2f5541['status']!==_0x16338d(0x107)&&_0x2f5541[_0x16338d(0xff)]!=='blocked'&&_0x2f5541['status']!=='closed'&&_0x2f5541['status']!==_0x16338d(0x103)),_0xa5f190=_0x36f823[_0x16338d(0x105)](_0xd6136=>_0xd6136['status']==='verification_in_progress');}catch{}if(_0x334865['QRolj'](_0x4f17d1,_0x33de90)&&_0x33bb71){if(!_0xa5f190&&shouldShowStopReminder(_0x5ce193)){const _0x39c30e={'hookSpecificOutput':{'hookEventName':_0x16338d(0xfd),'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'+_0x44deba}};console[_0x16338d(0x100)](JSON[_0x16338d(0xf8)](_0x39c30e));}}if(_0x4f17d1&&_0x33de90&&!_0x33bb71)try{await concludeSession(_0x386c53['featureId'],_0x33de90);}catch{}await _0x334865[_0x16338d(0x10b)](trackStop,_0x5ce193,!![],_0x4bc6b2);return;}catch{await trackStop(_0x5ce193,!![],_0x4bc6b2);return;}}async function trackStop(_0x91383b,_0x4d19ff,_0x3efb48){const _0x27fb0f=_0xa721,_0x3fcc62={'hvpgD':function(_0x11bd72,_0x5e0bb5){return _0x11bd72(_0x5e0bb5);},'HiqHy':_0x27fb0f(0x102),'DiDau':function(_0x5ced10,_0x284eb0){return _0x5ced10??_0x284eb0;}};try{const _0x457e68=_0x3fcc62['hvpgD'](createTelemetryCollector,_0x3fcc62['HiqHy']);await _0x457e68['trackCommandStart']({'sessionId':_0x3fcc62['DiDau'](_0x91383b,undefined),'hooksEnabled':_0x4d19ff,'stopAllowed':_0x3efb48}),await _0x457e68[_0x27fb0f(0xfe)](_0x27fb0f(0x110));}catch{}}
1
+ (function(_0x31a711,_0x2a1cc4){const _0x107074=_0x4d39,_0x5e58da=_0x31a711();while(!![]){try{const _0x14a88a=-parseInt(_0x107074(0x14f))/0x1*(parseInt(_0x107074(0x158))/0x2)+-parseInt(_0x107074(0x155))/0x3*(-parseInt(_0x107074(0x146))/0x4)+-parseInt(_0x107074(0x14d))/0x5+-parseInt(_0x107074(0x157))/0x6*(parseInt(_0x107074(0x142))/0x7)+parseInt(_0x107074(0x156))/0x8*(-parseInt(_0x107074(0x141))/0x9)+-parseInt(_0x107074(0x144))/0xa+parseInt(_0x107074(0x154))/0xb*(parseInt(_0x107074(0x145))/0xc);if(_0x14a88a===_0x2a1cc4)break;else _0x5e58da['push'](_0x5e58da['shift']());}catch(_0x3e10fe){_0x5e58da['push'](_0x5e58da['shift']());}}}(_0x16fe,0xe448d));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';function _0x4d39(_0x257492,_0x22e8ff){_0x257492=_0x257492-0x13e;const _0x16fecb=_0x16fe();let _0x4d3933=_0x16fecb[_0x257492];return _0x4d3933;}import{createTelemetryCollector}from'../utils/telemetry.js';function _0x16fe(){const _0x2f4c34=['DTWBA','pqPiO','https://dashboard.ranger.net/features/','status','6465340VjjRLa','trackCommandStart','368387mJVQcO','jfKil','verification_in_progress','verified','currentSessionId','79365506NUhaRC','9sSccvK','261784URyeRl','12QPkaZA','10EqpydJ','stringify','featureId','filter','423bMttuY','3990763qiGiEL','success','9013770qDQfJT','12ZCcHrE','579448Nvsqdc','niAAD','xAgGL'];_0x16fe=function(){return _0x2f4c34;};return _0x16fe();}export async function stopHook(_0x5b9b3e){const _0x3052fd=_0x4d39,_0x4ba17e={'jfKil':function(_0x226d69,_0x1e1fac){return _0x226d69(_0x1e1fac);},'sAiHX':function(_0x9a2c51,_0x262c79){return _0x9a2c51(_0x262c79);},'JVuDN':function(_0x29dcc8,_0x2bde58){return _0x29dcc8&&_0x2bde58;},'pqPiO':'Stop','mqtbV':function(_0x8bb6f7,_0x4a7df7,_0x3ee4c3,_0x50b063){return _0x8bb6f7(_0x4a7df7,_0x3ee4c3,_0x50b063);}},_0x418fb8=await _0x4ba17e[_0x3052fd(0x150)](getEnabledHookContext,_0x5b9b3e),_0x1273c2=_0x418fb8?.['sessionId']??null;let _0x1a8247=!![];if(!_0x1273c2){await trackStop(_0x1273c2,![],_0x1a8247);return;}try{const _0x3542ff=_0x4ba17e['sAiHX'](getSessionEntry,_0x1273c2);if(!_0x3542ff){await trackStop(_0x1273c2,!![],_0x1a8247);return;}const _0x44eccc=await getToken(),_0xb348ad=_0x3052fd(0x14b)+_0x3542ff[_0x3052fd(0x13f)];let _0x545042=null,_0x30e702=![],_0x30a1b8=![];if(_0x44eccc)try{const _0x5100e3=await _0x4ba17e['jfKil'](getFeature,_0x3542ff['featureId']);_0x545042=_0x5100e3[_0x3052fd(0x153)]??null;const _0x21e8a2=_0x5100e3['checklistItems'][_0x3052fd(0x140)](_0xe2bd81=>_0xe2bd81['sessionId']===_0x545042);_0x30e702=_0x21e8a2['some'](_0x1ceac8=>_0x1ceac8['status']!==_0x3052fd(0x152)&&_0x1ceac8['status']!=='blocked'&&_0x1ceac8[_0x3052fd(0x14c)]!=='closed'&&_0x1ceac8['status']!=='incomplete'),_0x30a1b8=_0x21e8a2['some'](_0x42f8ce=>_0x42f8ce['status']===_0x3052fd(0x151));}catch{}if(_0x4ba17e['JVuDN'](_0x44eccc,_0x545042)&&_0x30e702){if(!_0x30a1b8&&_0x4ba17e[_0x3052fd(0x150)](shouldShowStopReminder,_0x1273c2)){const _0x9e224b={'hookSpecificOutput':{'hookEventName':_0x4ba17e[_0x3052fd(0x14a)],'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'+_0xb348ad}};console['log'](JSON[_0x3052fd(0x13e)](_0x9e224b));}}if(_0x44eccc&&_0x545042&&!_0x30e702)try{await concludeSession(_0x3542ff['featureId'],_0x545042);}catch{}await trackStop(_0x1273c2,!![],_0x1a8247);return;}catch{await _0x4ba17e['mqtbV'](trackStop,_0x1273c2,!![],_0x1a8247);return;}}async function trackStop(_0x792def,_0x11ce2c,_0x1fb916){const _0x4ac343=_0x4d39,_0x2e8479={'niAAD':'hook:stop','DTWBA':function(_0x4f637e,_0x284c68){return _0x4f637e??_0x284c68;},'xAgGL':_0x4ac343(0x143)};try{const _0x280fd1=createTelemetryCollector(_0x2e8479[_0x4ac343(0x147)]);await _0x280fd1[_0x4ac343(0x14e)]({'sessionId':_0x2e8479[_0x4ac343(0x149)](_0x792def,undefined),'hooksEnabled':_0x11ce2c,'stopAllowed':_0x1fb916}),await _0x280fd1['trackCommandEnd'](_0x2e8479[_0x4ac343(0x148)]);}catch{}}
@@ -1 +1 @@
1
- (function(_0x490d79,_0xf917ab){var _0x2f5e83=_0x307c,_0xb48deb=_0x490d79();while(!![]){try{var _0xca9d89=parseInt(_0x2f5e83(0x115))/0x1+parseInt(_0x2f5e83(0x112))/0x2*(-parseInt(_0x2f5e83(0x116))/0x3)+parseInt(_0x2f5e83(0x114))/0x4+parseInt(_0x2f5e83(0x113))/0x5*(parseInt(_0x2f5e83(0x110))/0x6)+parseInt(_0x2f5e83(0x117))/0x7+-parseInt(_0x2f5e83(0x118))/0x8*(parseInt(_0x2f5e83(0x10f))/0x9)+parseInt(_0x2f5e83(0x111))/0xa;if(_0xca9d89===_0xf917ab)break;else _0xb48deb['push'](_0xb48deb['shift']());}catch(_0x400376){_0xb48deb['push'](_0xb48deb['shift']());}}}(_0x304f,0x9decb));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';function _0x307c(_0x1c573d,_0x21b5de){_0x1c573d=_0x1c573d-0x10f;var _0x304f88=_0x304f();var _0x307c0f=_0x304f88[_0x1c573d];return _0x307c0f;}export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';function _0x304f(){var _0x3fd299=['1950670ziTaoW','22jyOLwt','169135Uzolgj','1242792JxtgaS','293695SilwYe','58173PGOSyz','25032rAtENr','2463624gBAqmb','27abbrEm','174oyEShu'];_0x304f=function(){return _0x3fd299;};return _0x304f();}export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x24436c,_0xae7023){var _0x3d8348=_0x1e50,_0x27bff6=_0x24436c();while(!![]){try{var _0x1dca24=parseInt(_0x3d8348(0x1b2))/0x1*(parseInt(_0x3d8348(0x1b5))/0x2)+-parseInt(_0x3d8348(0x1b9))/0x3+parseInt(_0x3d8348(0x1b3))/0x4+parseInt(_0x3d8348(0x1b1))/0x5*(-parseInt(_0x3d8348(0x1b4))/0x6)+parseInt(_0x3d8348(0x1b7))/0x7*(parseInt(_0x3d8348(0x1b8))/0x8)+parseInt(_0x3d8348(0x1b0))/0x9+-parseInt(_0x3d8348(0x1b6))/0xa;if(_0x1dca24===_0xae7023)break;else _0x27bff6['push'](_0x27bff6['shift']());}catch(_0x46d4e9){_0x27bff6['push'](_0x27bff6['shift']());}}}(_0x1974,0x79c78));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';function _0x1e50(_0x234978,_0x4480b1){_0x234978=_0x234978-0x1b0;var _0x197496=_0x1974();var _0x1e508b=_0x197496[_0x234978];return _0x1e508b;}export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';function _0x1974(){var _0x58e77c=['6632640aMqWNj','4191455kGSMvD','1CoMbeW','2543644YmynrX','6dJJJjr','1008566CayEHe','2921910ygLoPu','1648178iggGmL','24gPfEer','2862678aRCoqs'];_0x1974=function(){return _0x58e77c;};return _0x1974();}export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';