@ranger-testing/ranger-cli 3.1.6 → 3.1.7-alpha.387730d-58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/scenarioOriginCheck.js +1 -1
  71. package/build/commands/utils/sessionCache.js +1 -1
  72. package/build/commands/utils/settings.js +1 -1
  73. package/build/commands/utils/skillContent.js +1 -1
  74. package/build/commands/utils/skills.js +1 -1
  75. package/build/commands/utils/stitchWebmFiles.js +1 -1
  76. package/build/commands/utils/telemetry.js +1 -1
  77. package/build/commands/utils/tokenRefresh.js +1 -1
  78. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  79. package/build/commands/utils/tunnelClient.js +1 -1
  80. package/build/commands/utils/userApi.js +1 -1
  81. package/build/commands/utils/version.js +1 -1
  82. package/build/commands/verifyFeature.js +1 -1
  83. package/build/commands/verifyFeatureCli.js +1 -1
  84. package/build/commands/verifyFeatureNovaCli.js +1 -1
  85. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  86. package/package.json +2 -5
@@ -1 +1 @@
1
- function _0x2b83(_0x34fa45,_0x21c230){_0x34fa45=_0x34fa45-0x112;const _0x41116a=_0x4111();let _0x2b83db=_0x41116a[_0x34fa45];return _0x2b83db;}const _0x37cebc=_0x2b83;(function(_0x3d26bc,_0x1dce21){const _0x3b4919=_0x2b83,_0x1c991b=_0x3d26bc();while(!![]){try{const _0x433f34=parseInt(_0x3b4919(0x19f))/0x1+parseInt(_0x3b4919(0x14e))/0x2+-parseInt(_0x3b4919(0x1a7))/0x3+-parseInt(_0x3b4919(0x1ac))/0x4+parseInt(_0x3b4919(0x1e9))/0x5+parseInt(_0x3b4919(0x199))/0x6*(-parseInt(_0x3b4919(0x186))/0x7)+-parseInt(_0x3b4919(0x14c))/0x8;if(_0x433f34===_0x1dce21)break;else _0x1c991b['push'](_0x1c991b['shift']());}catch(_0x59f323){_0x1c991b['push'](_0x1c991b['shift']());}}}(_0x4111,0xccc1c));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x2ab983 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=_0x37cebc(0x179),bold=_0x3852ff=>_0x37cebc(0x18a)+_0x3852ff+'\x1b[0m';function getGitRepoUrl(){const _0x40cebf=_0x37cebc,_0x13b9ad={'HBZjg':_0x40cebf(0x1b6)};try{const _0x21ca2f=execSync('git\x20remote\x20get-url\x20origin',{'encoding':'utf-8','stdio':['pipe',_0x13b9ad['HBZjg'],'pipe']})[_0x40cebf(0x144)]();return _0x21ca2f[_0x40cebf(0x17a)](/\.git$/,'')[_0x40cebf(0x17a)](/^git@github\.com:/,_0x40cebf(0x198))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x5a29d6=_0x37cebc,_0x65347d={'yYvfK':function(_0xc3e924,_0x341e65,_0xd9857d){return _0xc3e924(_0x341e65,_0xd9857d);},'kGHEJ':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','HlKSK':_0x5a29d6(0x1b6)};try{return _0x65347d['yYvfK'](execSync,_0x65347d[_0x5a29d6(0x168)],{'encoding':_0x5a29d6(0x117),'stdio':[_0x65347d[_0x5a29d6(0x11f)],_0x5a29d6(0x1b6),'pipe']})['trim']();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x5b5d5d=_0x37cebc,_0x285717={'datSe':function(_0x174d9e){return _0x174d9e();},'NBxob':_0x5b5d5d(0x117)},_0x194414=join(_0x285717['datSe'](getRangerDir),ACTIVE_FEATURE_FILE);if(!existsSync(_0x194414))return null;try{const _0x5ec97c=await readFile(_0x194414,_0x285717[_0x5b5d5d(0x136)]);return _0x5ec97c['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x4704f5){const _0x46a418=_0x37cebc,_0x4705e5={'xLSHb':function(_0x281cbb){return _0x281cbb();},'XspyM':function(_0x5c5737,_0x522eef,_0x2a2df1){return _0x5c5737(_0x522eef,_0x2a2df1);},'jZlBx':_0x46a418(0x117)},_0x5f39c9=_0x4705e5['xLSHb'](getRangerDir),_0x407076=_0x4705e5[_0x46a418(0x116)](join,_0x5f39c9,ACTIVE_FEATURE_FILE);!existsSync(_0x5f39c9)&&await mkdir(_0x5f39c9,{'recursive':!![]}),await writeFile(_0x407076,_0x4704f5,_0x4705e5['jZlBx']);}function getProgressDisplay(_0x182c37){const _0xd97474=_0x37cebc,_0x27b625={'ZgAvl':function(_0xec0206,_0x55e91a){return _0xec0206+_0x55e91a;},'cHLtp':function(_0x308599,_0x22f872){return _0x308599+_0x22f872;},'sfIDk':function(_0x51558a,_0x19ad29){return _0x51558a-_0x19ad29;}},_0x5bceb3=_0x182c37[_0xd97474(0x15c)]||0x0,_0x4c56f9=_0x182c37[_0xd97474(0x196)]||0x0,_0x122fe8=_0x182c37['blockedItems']||0x0,_0x5d9c4e=_0x182c37['incompleteItems']||0x0,_0xeecd3c=_0x182c37['pendingItems']||0x0,_0x19055f=_0x27b625[_0xd97474(0x191)](_0x5bceb3+_0x4c56f9+_0x122fe8,_0x5d9c4e)+_0xeecd3c;if(_0x19055f===0x0)return'-';const _0x48580f=0xa,_0x2eb2da=Math['round'](_0x5bceb3/_0x19055f*_0x48580f),_0x4bc0f4=_0x27b625['cHLtp']('█'['repeat'](_0x2eb2da),'░'['repeat'](_0x27b625[_0xd97474(0x187)](_0x48580f,_0x2eb2da))),_0x27d0d5=[];if(_0x122fe8>0x0)_0x27d0d5[_0xd97474(0x18f)](_0x122fe8+_0xd97474(0x1a1));if(_0x5d9c4e>0x0)_0x27d0d5[_0xd97474(0x18f)](_0x5d9c4e+'\x20incomplete');if(_0x4c56f9>0x0)_0x27d0d5['push'](_0x4c56f9+'\x20in\x20progress');const _0xe8fcd6=_0x27d0d5[_0xd97474(0x1b4)]>0x0?'\x20('+_0x27d0d5['join'](',\x20')+')':'';return _0x4bc0f4+'\x20'+_0x5bceb3+'/'+_0x19055f+'\x20verified'+_0xe8fcd6;}function getCurrentSessionItems(_0x541518,_0xf13050){const _0x461c3a=_0x37cebc;if(!_0x541518['currentSessionId'])return _0xf13050['filter'](_0x244abf=>!_0x244abf['sessionId']);return _0xf13050['filter'](_0x588d24=>_0x588d24['sessionId']===_0x541518[_0x461c3a(0x14d)]||!_0x588d24[_0x461c3a(0x135)]);}function displayFeature(_0x2d6308,_0xab4581){const _0x502a89=_0x37cebc,_0x363306={'QrBdH':function(_0x5aa2f7,_0x54788a){return _0x5aa2f7>_0x54788a;},'NbKLQ':function(_0x50ed8e,_0x1271a6){return _0x50ed8e===_0x1271a6;},'wbqne':function(_0x5087db,_0xea0735){return _0x5087db===_0xea0735;},'baBoy':function(_0x4f666b,_0x373ac3){return _0x4f666b===_0x373ac3;},'oZIbo':function(_0x537dcc,_0x5e8d14){return _0x537dcc===_0x5e8d14;},'Jnmcn':'closed','NxfCk':function(_0x504c4c,_0x149005){return _0x504c4c!==_0x149005;},'coOsP':'\x20[has\x20reviewer\x20feedback]','yQLRz':function(_0x23cd12,_0x576a74){return _0x23cd12+_0x576a74;},'fOTvO':_0x502a89(0x1ea),'NoaPO':function(_0x4fb2db,_0x27b8a5){return _0x4fb2db===_0x27b8a5;},'QgEBf':'approved'};console['log']('\x0a'+_0x2d6308['name']+'\x20('+_0x2d6308['dashboardUrl']+')');_0x2d6308[_0x502a89(0x130)]&&console[_0x502a89(0x1e6)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x2d6308[_0x502a89(0x130)]));_0x2d6308[_0x502a89(0x15b)]&&console[_0x502a89(0x1e6)](_0x502a89(0x11a)+_0x2d6308['description']);_0x2d6308['gitRepoUrl']&&console[_0x502a89(0x1e6)](_0x502a89(0x1aa)+_0x2d6308['gitRepoUrl']);_0x2d6308[_0x502a89(0x1cc)]&&console[_0x502a89(0x1e6)]('\x20\x20\x20Branch:\x20'+_0x2d6308[_0x502a89(0x1cc)]);console['log'](_0x502a89(0x153)+new Date(_0x2d6308['createdAt'])[_0x502a89(0x1d5)]());_0x2d6308[_0x502a89(0x173)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x2d6308[_0x502a89(0x173)])[_0x502a89(0x1d5)]());if(_0xab4581&&_0x363306['QrBdH'](_0xab4581[_0x502a89(0x1b4)],0x0)){console[_0x502a89(0x1e6)]('\x0a\x20\x20\x20Scenarios:');for(let _0x5683c3=0x0;_0x5683c3<_0xab4581['length'];_0x5683c3++){const _0x373b56=_0xab4581[_0x5683c3];let _0x2625cd;if(_0x363306[_0x502a89(0x157)](_0x373b56['status'],'closed')&&_0x373b56[_0x502a89(0x1e8)]==='approved')_0x2625cd='✅';else{if(_0x373b56[_0x502a89(0x163)]==='verified')_0x2625cd='🟢';else{if(_0x363306['wbqne'](_0x373b56[_0x502a89(0x163)],_0x502a89(0x1ea)))_0x2625cd='🟠';else{if(_0x363306['baBoy'](_0x373b56['status'],'blocked'))_0x2625cd='🛑';else{if(_0x363306['oZIbo'](_0x373b56[_0x502a89(0x163)],_0x363306[_0x502a89(0x1d1)]))_0x2625cd='⛔';else _0x373b56['status']===_0x502a89(0x138)?_0x2625cd='⏳':_0x2625cd='⬜';}}}}const _0x2ba535=_0x363306['QrBdH'](_0x373b56[_0x502a89(0x1cf)],0x1)?_0x502a89(0x1db)+_0x373b56[_0x502a89(0x1cf)]+')':'',_0x43a8de=_0x373b56[_0x502a89(0x1cf)]>0x1&&_0x373b56[_0x502a89(0x1c0)]&&_0x373b56[_0x502a89(0x163)]!==_0x363306['Jnmcn']&&_0x363306['NxfCk'](_0x373b56['status'],_0x502a89(0x152))?_0x363306[_0x502a89(0x17e)]:'';console[_0x502a89(0x1e6)](_0x502a89(0x124)+_0x363306[_0x502a89(0x15d)](_0x5683c3,0x1)+'.\x20'+_0x2625cd+'\x20'+_0x373b56[_0x502a89(0x15b)]+_0x2ba535+_0x43a8de);_0x373b56[_0x502a89(0x163)]==='blocked'&&_0x373b56[_0x502a89(0x1bf)]&&console['log'](_0x502a89(0x140)+_0x373b56[_0x502a89(0x1bf)]);_0x373b56[_0x502a89(0x163)]===_0x363306['fOTvO']&&_0x373b56[_0x502a89(0x1e5)]&&console['log'](_0x502a89(0x127)+_0x373b56[_0x502a89(0x1e5)]);if(_0x363306[_0x502a89(0x150)](_0x373b56['status'],'closed')&&_0x373b56[_0x502a89(0x1e8)]===_0x363306[_0x502a89(0x1c6)])console['log'](_0x502a89(0x1a4));else _0x363306[_0x502a89(0x114)](_0x373b56[_0x502a89(0x163)],_0x363306[_0x502a89(0x1d1)])&&_0x373b56[_0x502a89(0x123)]&&console[_0x502a89(0x1e6)]('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x373b56['canceledReason']);}}}export async function featureCreate(_0x44a02e,_0x1ddeb9){const _0x375f96=_0x37cebc,_0x224f9c={'waYbV':function(_0x497cbc,_0x443397){return _0x497cbc===_0x443397;},'MePlO':function(_0x45708b){return _0x45708b();},'YFpbF':function(_0x20c987,_0x17f988){return _0x20c987===_0x17f988;},'VHvQH':function(_0x3dee69){return _0x3dee69();},'zCUxR':function(_0x19190e,_0x45cdeb){return _0x19190e(_0x45cdeb);}},{envNames:_0x376f4d}=await getEnvNames();if(_0x224f9c['waYbV'](_0x376f4d[_0x375f96(0x1b4)],0x0)&&!process['env']['RANGER_TEST_USERNAME']){let _0x4ad60a=0x0;try{_0x4ad60a=(await _0x224f9c[_0x375f96(0x1d3)](listCloudProfiles))[_0x375f96(0x1b4)];}catch{_0x4ad60a=0x1;}_0x224f9c[_0x375f96(0x19c)](_0x4ad60a,0x0)&&console['warn']('\x0a'+formatProfileRequiredMessage(_0x1230b2=>bold(_0x1230b2)));}const _0xe86bbe=_0x1ddeb9[_0x375f96(0x1b0)]?_0x1ddeb9[_0x375f96(0x1b0)][_0x375f96(0x18c)](_0x4af5d8=>_0x4af5d8[_0x375f96(0x144)]()):[],_0x58507d=getGitRepoUrl(),_0x23bb68=_0x224f9c['VHvQH'](getGitBranch);console['log'](_0x375f96(0x14f));const _0x5ca3f1=await createFeature({'name':_0x44a02e,'description':_0x1ddeb9['description'],'checklist':_0xe86bbe,'gitRepoUrl':_0x58507d,'gitBranch':_0x23bb68});await setActiveFeatureId(_0x5ca3f1['id']),await _0x224f9c['zCUxR'](tryStartCurrentSession,_0x5ca3f1['id']);const _0x566ef0=process[_0x375f96(0x1c5)]['CLAUDE_SESSION_ID'];_0x566ef0&&registerSession(_0x566ef0,_0x5ca3f1['id']),console[_0x375f96(0x1e6)](_0x375f96(0x151)+_0x5ca3f1['id']),displayFeature(_0x5ca3f1,_0x5ca3f1[_0x375f96(0x1a3)]),console[_0x375f96(0x1e6)](_0x375f96(0x13b));}export async function featureList(_0x3ac27f){const _0x48bf47=_0x37cebc,_0x3916c3={'dnGIO':function(_0x450370){return _0x450370();},'hVawp':function(_0x3d6fb9,_0x1bd66e){return _0x3d6fb9===_0x1bd66e;},'ogeDP':function(_0x1c928,_0x4e465e){return _0x1c928>_0x4e465e;},'PPTZd':function(_0x1bf2ed,_0x37321c){return _0x1bf2ed+_0x37321c;},'LVvfz':function(_0x35e37,_0x38be7b){return _0x35e37<_0x38be7b;},'eakmN':function(_0x53efcc,_0x2e03d6){return _0x53efcc!==_0x2e03d6;}},_0x217ab7={'limit':_0x3ac27f[_0x48bf47(0x188)]??0xa,'offset':_0x3ac27f[_0x48bf47(0x183)]??0x0,'includeDeleted':_0x3ac27f[_0x48bf47(0x1d4)]};_0x3ac27f['currentBranch']&&(_0x217ab7['gitRepoUrl']=_0x3916c3['dnGIO'](getGitRepoUrl),_0x217ab7[_0x48bf47(0x1cc)]=getGitBranch());const _0x5d35cc=await listFeatures(_0x217ab7);if(_0x3916c3['hVawp'](_0x5d35cc['items'][_0x48bf47(0x1b4)],0x0)){console[_0x48bf47(0x1e6)](_0x48bf47(0x16d));return;}const _0x32e2ee=_0x3916c3['ogeDP'](_0x5d35cc[_0x48bf47(0x1e3)],_0x5d35cc['items']['length'])?_0x48bf47(0x11e)+_0x5d35cc[_0x48bf47(0x139)][_0x48bf47(0x1b4)]+_0x48bf47(0x197)+_0x5d35cc[_0x48bf47(0x1e3)]:_0x5d35cc['totalCount']+_0x48bf47(0x160);console[_0x48bf47(0x1e6)]('\x0a'+_0x32e2ee+':\x0a');for(const _0x211f93 of _0x5d35cc['items']){const _0x469b58='1|3|5|4|0|2'['split']('|');let _0x221324=0x0;while(!![]){switch(_0x469b58[_0x221324++]){case'0':console[_0x48bf47(0x1e6)](_0x48bf47(0x153)+new Date(_0x211f93['createdAt'])['toLocaleDateString']());continue;case'1':console[_0x48bf47(0x1e6)](''+_0x211f93[_0x48bf47(0x1ed)]);continue;case'2':console[_0x48bf47(0x1e6)]('');continue;case'3':console[_0x48bf47(0x1e6)](_0x48bf47(0x137)+_0x211f93['id']);continue;case'4':_0x211f93['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x211f93['gitBranch']);continue;case'5':_0x211f93[_0x48bf47(0x130)]&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x211f93[_0x48bf47(0x130)]));continue;}break;}}const _0x59dc06=_0x217ab7[_0x48bf47(0x188)]??0xa,_0x3c7344=_0x3916c3['PPTZd'](_0x217ab7[_0x48bf47(0x183)]??0x0,_0x5d35cc['items'][_0x48bf47(0x1b4)]);if(_0x3916c3['LVvfz'](_0x3c7344,_0x5d35cc['totalCount'])){const _0x529ca2=_0x3916c3['eakmN'](_0x59dc06,0xa)?'\x20--limit\x20'+_0x59dc06:'',_0x14789f=_0x3ac27f['currentBranch']?'\x20--current-branch':'',_0x324c30=_0x3ac27f[_0x48bf47(0x1d4)]?'\x20--include-deleted':'';console[_0x48bf47(0x1e6)](_0x48bf47(0x155)+_0x3c7344+_0x529ca2+_0x14789f+_0x324c30);}}export async function featureShow(_0x20785d){const _0x566d88=_0x37cebc,_0x312ea2={'vhVCe':function(_0x2dfe14){return _0x2dfe14();},'asHyE':function(_0x1a7f19,_0x486457,_0x4ecd89){return _0x1a7f19(_0x486457,_0x4ecd89);}},_0x2ab0c0=_0x20785d||await _0x312ea2[_0x566d88(0x143)](getActiveFeatureId);if(!_0x2ab0c0)throw new Error(_0x566d88(0x121));const _0x593555=await getFeature(_0x2ab0c0);_0x312ea2['asHyE'](displayFeature,_0x593555,_0x593555[_0x566d88(0x1a3)]);}export async function featureResume(_0x4cc9bb){const _0x5dd37a=_0x37cebc,_0x42376a={'Tqvbu':function(_0x3f02cb){return _0x3f02cb();},'NuMjq':function(_0x283f5e,_0x4f175f){return _0x283f5e(_0x4f175f);},'ZXSfC':function(_0x596947,_0x47b830){return _0x596947||_0x47b830;},'rZXQT':'any','eixsX':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','jzpIa':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','mPSZq':function(_0x4c438d,_0x558d55){return _0x4c438d===_0x558d55;},'vgfnR':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','NHHAl':function(_0x46fa2f,_0x47512b){return _0x46fa2f(_0x47512b);},'PsABq':function(_0x515f52,_0x486470){return _0x515f52!==_0x486470;},'uIDsa':function(_0x15b8b1,_0x33680c,_0x84c3fa){return _0x15b8b1(_0x33680c,_0x84c3fa);},'PniVy':function(_0x207471,_0x438614){return _0x207471(_0x438614);}};if(_0x4cc9bb){const _0x323848=await getFeature(_0x4cc9bb);await setActiveFeatureId(_0x323848['id']);const _0x671710=_0x42376a[_0x5dd37a(0x1ec)](getGitBranch);_0x671710&&_0x671710!==_0x323848['gitBranch']&&(await updateFeature(_0x323848['id'],{'gitBranch':_0x671710}),console[_0x5dd37a(0x1e6)](_0x5dd37a(0x145)+_0x671710));console[_0x5dd37a(0x1e6)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x323848['name']+'\x20('+_0x323848['id']+')'),await tryStartCurrentSession(_0x323848['id']);const _0x1a4669=process[_0x5dd37a(0x1c5)]['CLAUDE_SESSION_ID'];_0x1a4669&&registerSession(_0x1a4669,_0x323848['id']);displayFeature(_0x323848,_0x323848['checklistItems']),await _0x42376a[_0x5dd37a(0x115)](printFeedbackNudge,_0x323848['id']);return;}const _0x13011a=getGitRepoUrl(),_0x581106=getGitBranch();if(!_0x13011a&&!_0x581106)throw new Error('Not\x20in\x20a\x20git\x20repository.');console['log'](_0x5dd37a(0x13a)+_0x42376a[_0x5dd37a(0x16b)](_0x13011a,'any')+_0x5dd37a(0x1cb)+_0x42376a[_0x5dd37a(0x16b)](_0x581106,_0x42376a[_0x5dd37a(0x1ba)])+_0x5dd37a(0x159));const _0x2220da=await listFeatures({'gitRepoUrl':_0x13011a,'gitBranch':_0x581106}),_0x287ce0=_0x2220da[_0x5dd37a(0x139)]['filter'](_0x684c83=>_0x684c83[_0x5dd37a(0x163)]?_0x684c83['status']!=='verified':!_0x684c83[_0x5dd37a(0x173)]);if(_0x287ce0[_0x5dd37a(0x1b4)]===0x0){console['log'](_0x42376a['eixsX']),console[_0x5dd37a(0x1e6)](_0x42376a[_0x5dd37a(0x1d7)]);return;}let _0xbd4b1a;if(_0x42376a[_0x5dd37a(0x15f)](_0x287ce0[_0x5dd37a(0x1b4)],0x1))_0xbd4b1a=_0x287ce0[0x0];else{const _0x4f6e1c=process[_0x5dd37a(0x156)]['isTTY']&&process[_0x5dd37a(0x1dc)]['isTTY'];if(!_0x4f6e1c){console['log'](_0x5dd37a(0x126));for(const _0x158190 of _0x287ce0){console[_0x5dd37a(0x1e6)]('\x20\x20'+_0x158190['name']),console[_0x5dd37a(0x1e6)](_0x5dd37a(0x128)+_0x158190['id']),_0x158190['stats']&&console['log'](_0x5dd37a(0x1d6)+getProgressDisplay(_0x158190[_0x5dd37a(0x130)])),_0x158190[_0x5dd37a(0x1cc)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x158190['gitBranch']);}throw new Error('Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>');}const {selected:_0x535d78}=await _0x2ab983['prompt']([{'type':_0x5dd37a(0x169),'name':'selected','message':_0x42376a['vgfnR'],'choices':_0x287ce0['map'](_0xad558a=>({'name':_0xad558a[_0x5dd37a(0x1ed)]+'\x20('+_0xad558a['id']+')','value':_0xad558a['id']}))}]);_0xbd4b1a=_0x287ce0['find'](_0x50e820=>_0x50e820['id']===_0x535d78);}await _0x42376a['NHHAl'](setActiveFeatureId,_0xbd4b1a['id']);_0x581106&&_0x42376a[_0x5dd37a(0x1ce)](_0x581106,_0xbd4b1a[_0x5dd37a(0x1cc)])&&(await _0x42376a[_0x5dd37a(0x1a0)](updateFeature,_0xbd4b1a['id'],{'gitBranch':_0x581106}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x581106));console[_0x5dd37a(0x1e6)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0xbd4b1a['name']+'\x20('+_0xbd4b1a['id']+')'),await tryStartCurrentSession(_0xbd4b1a['id']);const _0x179949=await _0x42376a['NuMjq'](getFeature,_0xbd4b1a['id']),_0x1108c7=process[_0x5dd37a(0x1c5)]['CLAUDE_SESSION_ID'];_0x1108c7&&_0x42376a[_0x5dd37a(0x1a0)](registerSession,_0x1108c7,_0x179949['id']),displayFeature(_0x179949,_0x179949[_0x5dd37a(0x1a3)]),await _0x42376a[_0x5dd37a(0x1af)](printFeedbackNudge,_0x179949['id']);}async function printFeedbackNudge(_0x29c964){const _0x23055d=_0x37cebc,_0x3cba72={'SylOD':function(_0x571cf3,_0x3d23de){return _0x571cf3>_0x3d23de;},'rteNZ':'\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'};try{const {items:_0x514972}=await getActionItems(_0x29c964);let _0x275ccf=0x0,_0x21ebf1=0x0;for(const _0x17e7fb of _0x514972){const _0x526c5e=await getItemFeedback(_0x29c964,_0x17e7fb['id']);_0x3cba72[_0x23055d(0x189)](_0x526c5e['unaddressedComments']['length'],0x0)&&(_0x275ccf+=_0x526c5e['unaddressedComments']['length'],_0x21ebf1++);}_0x275ccf>0x0&&(console['log']('\x0a⚠️\x20\x20'+_0x275ccf+_0x23055d(0x122)+_0x21ebf1+'\x20scenario(s).'),console[_0x23055d(0x1e6)](_0x3cba72[_0x23055d(0x16c)]));}catch{}}async function tryStartCurrentSession(_0x575c68){const _0x2b85f1=_0x37cebc,_0x3bc71f={'LHmHP':function(_0x4e9679,_0x366367,_0x127ec5){return _0x4e9679(_0x366367,_0x127ec5);}};try{const {sessions:_0x3beb64}=await listFeatureSessions(_0x575c68),_0x20cf2f=_0x3beb64[_0x2b85f1(0x11b)](_0x5a14de=>_0x5a14de['status']===_0x2b85f1(0x1f1));_0x20cf2f&&(await _0x3bc71f[_0x2b85f1(0x148)](startSession,_0x575c68,_0x20cf2f['id']),console['log'](_0x2b85f1(0x181)+_0x20cf2f['iteration']));}catch{}}export async function featureReport(_0x452529,_0x2f2641){const _0x303ab8=_0x37cebc,_0x23aa31={'TnfWG':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','bVqUy':'\x0aGenerating\x20report...','eHmXH':function(_0x3cb13c,_0x5cdfee,_0x21c420,_0x2c23fc){return _0x3cb13c(_0x5cdfee,_0x21c420,_0x2c23fc);},'PCkpT':_0x303ab8(0x13e),'Bhsfb':function(_0x216c83,_0x283878,_0x247fca){return _0x216c83(_0x283878,_0x247fca);}},_0x399b6c=_0x452529||await getActiveFeatureId();if(!_0x399b6c)throw new Error(_0x23aa31[_0x303ab8(0x16a)]);console['log'](_0x23aa31[_0x303ab8(0x1ef)]);const _0x2ad722=await getFeatureReportMarkdown(_0x399b6c,{'style':_0x2f2641['style']}),_0x23a54a=_0x2f2641[_0x303ab8(0x1bd)]||_0x23aa31['eHmXH'](join,getRangerDir(),_0x23aa31[_0x303ab8(0x12d)],_0x399b6c+'.md'),_0x41b7f1=join(_0x23a54a,'..');!existsSync(_0x41b7f1)&&await _0x23aa31[_0x303ab8(0x1e0)](mkdir,_0x41b7f1,{'recursive':!![]}),await _0x23aa31['eHmXH'](writeFile,_0x23a54a,_0x2ad722,_0x303ab8(0x117)),console[_0x303ab8(0x1e6)]('\x0a✅\x20Report\x20generated:\x20'+_0x23a54a);}function getScenarioResult(_0x58dd67){const _0x54b223=_0x37cebc,_0x42c53c={'DALxf':'closed','vHAba':_0x54b223(0x138)};if(_0x58dd67[_0x54b223(0x163)]==='closed')return _0x58dd67[_0x54b223(0x1e8)]??_0x42c53c['DALxf'];if(_0x58dd67[_0x54b223(0x163)]===_0x42c53c['vHAba'])return _0x54b223(0x177);return _0x58dd67[_0x54b223(0x163)];}function getScenarioRationale(_0x3d601e,_0x23c4ea){const _0x1f5265=_0x37cebc,_0x57cdf9=_0x1f5265(0x185)[_0x1f5265(0x12a)]('|');let _0x321f01=0x0;while(!![]){switch(_0x57cdf9[_0x321f01++]){case'0':if(_0x23c4ea)return _0x23c4ea;continue;case'1':if(_0x3d601e[_0x1f5265(0x123)])return _0x3d601e[_0x1f5265(0x123)];continue;case'2':if(_0x3d601e[_0x1f5265(0x1eb)])return _0x3d601e['notes'];continue;case'3':return null;case'4':if(_0x3d601e['incompleteReason'])return _0x3d601e[_0x1f5265(0x1e5)];continue;case'5':if(_0x3d601e['blockedReason'])return _0x3d601e[_0x1f5265(0x1bf)];continue;}break;}}export async function featureReportPrDescription(_0x56b008,_0x51750a){const _0x56f097=_0x37cebc,_0x4ff138={'zAsYs':_0x56f097(0x195),'nfVIz':function(_0x505f0a,_0x3385e6){return _0x505f0a(_0x3385e6);},'jRcZt':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','gYUrf':function(_0x13c7cc,_0x4656e8){return _0x13c7cc<_0x4656e8;},'QIAgz':function(_0x13f318,_0x1c04e4){return _0x13f318===_0x1c04e4;},'mxEUD':_0x56f097(0x119)},_0x3fe2a0=_0x56b008||await getActiveFeatureId();if(!_0x3fe2a0)throw new Error(_0x4ff138['zAsYs']);const _0x47e0e4=await _0x4ff138[_0x56f097(0x17b)](getFeature,_0x3fe2a0),_0x249bed=_0x47e0e4['checklistItems']||[],_0x45419c=getCurrentSessionItems(_0x47e0e4,_0x249bed);_0x45419c[_0x56f097(0x1b4)]===0x0&&(console['error'](_0x4ff138['jRcZt']),process['exit'](0x1));const _0x54f35e=_0x51750a[_0x56f097(0x190)]??[],_0x169334=_0x54f35e['filter'](_0x7a920d=>!Number[_0x56f097(0x194)](_0x7a920d)||_0x7a920d<0x1||_0x7a920d>_0x45419c['length']);if(_0x169334['length']>0x0){console[_0x56f097(0x174)](_0x56f097(0x1c1)+_0x169334[_0x56f097(0x17d)](',\x20')),console['log'](_0x56f097(0x1ab));for(let _0x576edd=0x0;_0x4ff138[_0x56f097(0x11d)](_0x576edd,_0x45419c[_0x56f097(0x1b4)]);_0x576edd++){console['log']('\x20\x20'+(_0x576edd+0x1)+'.\x20'+_0x45419c[_0x576edd][_0x56f097(0x15b)]);}process['exit'](0x1);}const _0x1d2584=new Set(_0x54f35e['map'](_0x2b0f0a=>_0x2b0f0a-0x1)),_0x4fd8f0=_0x45419c['filter']((_0x46a0c2,_0x393a2c)=>!_0x1d2584['has'](_0x393a2c));_0x4ff138['QIAgz'](_0x4fd8f0[_0x56f097(0x1b4)],0x0)&&(console['error'](_0x4ff138[_0x56f097(0x129)]),process['exit'](0x1));if(_0x51750a[_0x56f097(0x1e4)])await outputJsonReport(_0x3fe2a0,_0x47e0e4,_0x4fd8f0);else{const _0x11b90a=await getFeatureReportMarkdown(_0x3fe2a0,{'itemIds':_0x4fd8f0[_0x56f097(0x18c)](_0x280c05=>_0x280c05['id'])});process[_0x56f097(0x1dc)][_0x56f097(0x134)](_0x11b90a[_0x56f097(0x133)]()+'\x0a');}}async function outputJsonReport(_0x165d3d,_0x16be59,_0x57e1ee){const _0x498853=_0x37cebc,_0xdb678={'fsQDh':function(_0x496a0d,_0x41e4f1){return _0x496a0d(_0x41e4f1);},'dkuzw':function(_0x953e42,_0x106bb8){return _0x953e42>_0x106bb8;},'cBPIY':function(_0xab58c3,_0xd635bb){return _0xab58c3===_0xd635bb;},'llPIv':function(_0xb87a8b,_0xc98aec){return _0xb87a8b(_0xc98aec);},'HrNkQ':function(_0x1aeef4,_0x5d229e,_0x1c18c4){return _0x1aeef4(_0x5d229e,_0x1c18c4);},'AOOym':function(_0x4519f0){return _0x4519f0();},'bZsRT':function(_0x189332,_0x4afe1a){return _0x189332(_0x4afe1a);}},_0x3a4ff3=_0xdb678[_0x498853(0x175)](getApiBaseUrl),_0x23e641=await _0xdb678[_0x498853(0x172)](getFeatureReport,_0x165d3d),_0x2c06eb=new Map(_0x23e641['checklistItems'][_0x498853(0x18c)](_0x4c24a9=>[_0x4c24a9['id'],_0x4c24a9])),_0x51c0b7=await Promise['all'](_0x57e1ee[_0x498853(0x18c)](async _0x5ba5ea=>{const _0x412601=_0x498853,_0x348701=_0x2c06eb['get'](_0x5ba5ea['id']),_0x4c3603=_0x348701?.[_0x412601(0x1cd)]??null;let _0x5bb35d=[];if(_0x5ba5ea['browserSessionId'])try{const {steps:_0x3926eb}=await _0xdb678['fsQDh'](getBrowserSessionSteps,_0x5ba5ea[_0x412601(0x1a8)]);_0xdb678['dkuzw'](_0x3926eb[_0x412601(0x1b4)],0x0)&&(_0x5bb35d=_0x3926eb[_0x412601(0x18c)](_0x1c51fc=>{const _0x5e755d=_0x412601,_0xfe5fe9=_0x1c51fc['assets']['find'](_0x3f7322=>_0x3f7322['assetType']===_0x5e755d(0x1c4)&&_0x3f7322[_0x5e755d(0x1ee)]==='after')??_0x1c51fc[_0x5e755d(0x1a2)][_0x5e755d(0x11b)](_0x3b2762=>_0x3b2762[_0x5e755d(0x154)]==='screenshot');let _0x16ebd3=null,_0x4dc759=null;if(_0xfe5fe9){const _0x1f7857=_0xfe5fe9['storage']['location'][_0x5e755d(0x12a)]('/')[_0x5e755d(0x164)]();_0x16ebd3=_0x3a4ff3+'/api/v1/mcp/browser-sessions/'+_0x5ba5ea['browserSessionId']+'/artifacts/'+_0x1f7857,_0x1f7857&&(_0x4dc759=_0x1f7857[_0x5e755d(0x17a)](/\.\w+$/,'')[_0x5e755d(0x17a)](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x4dc759||_0x1c51fc[_0x5e755d(0x15b)]||_0x1c51fc['stepName']||'Step\x20'+_0x1c51fc[_0x5e755d(0x1d9)],'screenshot':_0x16ebd3,'is_key_step':_0x1c51fc[_0x5e755d(0x15e)]};}));}catch{}return _0xdb678[_0x412601(0x1c2)](_0x5bb35d[_0x412601(0x1b4)],0x0)&&_0x4c3603?.['screenshotUrls']&&(_0x5bb35d=_0x4c3603['screenshotUrls']['map']((_0x136de1,_0x3cb28d)=>({'description':_0x412601(0x1df)+(_0x3cb28d+0x1),'screenshot':_0x136de1,'is_key_step':![]}))),{'description':_0x5ba5ea[_0x412601(0x15b)],'result':_0xdb678[_0x412601(0x1d8)](getScenarioResult,_0x5ba5ea),'rationale':_0xdb678[_0x412601(0x12e)](getScenarioRationale,_0x5ba5ea,_0x4c3603?.['agentResponse']),'steps':_0x5bb35d};})),_0x14b0e7={'url':_0x16be59[_0x498853(0x17c)],'scenarios':_0x51c0b7};process[_0x498853(0x1dc)]['write'](JSON[_0x498853(0x14b)](_0x14b0e7,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x3600a1){const _0x3b126e=_0x37cebc,_0x3b2cb5={'oDzmz':function(_0x241986){return _0x241986();},'dcltL':function(_0x1d4433,_0x28519e){return _0x1d4433(_0x28519e);},'NyaNa':'Current\x20session\x20not\x20found.','onZlG':function(_0x272910,_0x54d5ef){return _0x272910===_0x54d5ef;},'shlTE':'completed','CDLPt':'\x0a✅\x20Session\x20is\x20already\x20completed.','iECDs':'in_progress','AtUgk':'\x0aConcluding\x20session...','YgXvV':function(_0x29936a,_0x1ce955,_0x490f5f){return _0x29936a(_0x1ce955,_0x490f5f);}},_0x4b4390=_0x3600a1||await _0x3b2cb5[_0x3b126e(0x15a)](getActiveFeatureId);if(!_0x4b4390)throw new Error(_0x3b126e(0x121));const _0x490f9c=await _0x3b2cb5['dcltL'](getFeature,_0x4b4390);if(!_0x490f9c[_0x3b126e(0x14d)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x4d60d9}=await listFeatureSessions(_0x4b4390),_0x3cceb7=_0x4d60d9[_0x3b126e(0x11b)](_0x14f6fd=>_0x14f6fd['id']===_0x490f9c[_0x3b126e(0x14d)]);if(!_0x3cceb7)throw new Error(_0x3b2cb5[_0x3b126e(0x1a6)]);if(_0x3b2cb5[_0x3b126e(0x125)](_0x3cceb7[_0x3b126e(0x163)],_0x3b2cb5['shlTE'])){console[_0x3b126e(0x1e6)](_0x3b2cb5[_0x3b126e(0x13f)]);return;}if(_0x3cceb7['status']!==_0x3b2cb5[_0x3b126e(0x1d2)])throw new Error(_0x3b126e(0x141)+_0x3cceb7[_0x3b126e(0x163)]);console['log'](_0x3b2cb5[_0x3b126e(0x166)]),await _0x3b2cb5['YgXvV'](concludeSession,_0x4b4390,_0x490f9c['currentSessionId']),console[_0x3b126e(0x1e6)](_0x3b126e(0x184)+_0x3cceb7['iteration']+'\x20concluded.'),console[_0x3b126e(0x1e6)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x538827){const _0x309a93=_0x37cebc,_0x2fb826={'MTDMq':function(_0x4d488e){return _0x4d488e();},'HPYUi':function(_0xb22842,_0x3e02c5){return _0xb22842(_0x3e02c5);},'cWxdW':function(_0x160dc7,_0xfc4ee){return _0x160dc7===_0xfc4ee;},'CiDcE':'in_progress'},_0x3421aa=_0x538827||await _0x2fb826[_0x309a93(0x1dd)](getActiveFeatureId);if(!_0x3421aa)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0x4ff6c3=await _0x2fb826[_0x309a93(0x1b8)](getFeature,_0x3421aa);console['log'](_0x309a93(0x1de)+_0x4ff6c3['name']+'\x0a');const {sessions:_0x245518}=await listFeatureSessions(_0x3421aa);if(_0x2fb826[_0x309a93(0x1a5)](_0x245518['length'],0x0)){console['log']('No\x20sessions\x20found.');return;}for(const _0x9a3f7a of _0x245518){const _0x641d29=_0x2fb826[_0x309a93(0x1a5)](_0x9a3f7a[_0x309a93(0x163)],_0x309a93(0x1c3))?'✅':_0x2fb826[_0x309a93(0x1a5)](_0x9a3f7a[_0x309a93(0x163)],_0x2fb826['CiDcE'])?'🔄':'▶️';console['log'](_0x641d29+_0x309a93(0x12c)+_0x9a3f7a[_0x309a93(0x167)]+'\x20('+_0x9a3f7a['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0x9a3f7a['status']),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x9a3f7a[_0x309a93(0x1b2)])['toLocaleString']()),_0x9a3f7a[_0x309a93(0x173)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x9a3f7a[_0x309a93(0x173)])['toLocaleString']()),console[_0x309a93(0x1e6)]('');}}export async function featureAddScenario(_0x17b185,_0x202bb3){const _0x4926b2=_0x37cebc,_0x144132={'ZfLIu':_0x4926b2(0x121),'XQhHm':function(_0x32a1fb,_0x4a483f,_0x31e4c3){return _0x32a1fb(_0x4a483f,_0x31e4c3);}},_0x3ab675=_0x202bb3||await getActiveFeatureId();if(!_0x3ab675)throw new Error(_0x144132['ZfLIu']);const _0x6ba54b=await getFeature(_0x3ab675);if(_0x6ba54b[_0x4926b2(0x1e1)]&&!_0x6ba54b['latestReview']['submittedAt'])throw new Error(_0x4926b2(0x176)+_0x6ba54b[_0x4926b2(0x17c)]);await _0x144132[_0x4926b2(0x118)](createChecklistItem,_0x3ab675,_0x17b185);const _0x1dc413=await getFeature(_0x3ab675);console['log'](_0x4926b2(0x142)),displayFeature(_0x1dc413,_0x1dc413[_0x4926b2(0x1a3)]);}export async function featureEditScenario(_0x45d916,_0x38ac3a){const _0x28dada=_0x37cebc,_0x33a3dc={'mRhDN':function(_0x1ac5db){return _0x1ac5db();},'wTwVs':_0x28dada(0x1ad),'GUkzL':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','tDciM':function(_0x1cfc50,_0x5b551c){return _0x1cfc50===_0x5b551c;},'ZwiKv':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','ZNNVt':function(_0x4190b1,_0xa4c613){return _0x4190b1+_0xa4c613;},'ztvAs':function(_0x3782d1,_0x2478ed){return _0x3782d1>=_0x2478ed;},'OHliv':_0x28dada(0x1ab),'xZniM':function(_0x962f09,_0x566323){return _0x962f09<_0x566323;},'JJdBD':function(_0x5e2c23,_0x7159a9){return _0x5e2c23(_0x7159a9);}},_0x4443f2=_0x38ac3a['id']||await _0x33a3dc['mRhDN'](getActiveFeatureId);!_0x4443f2&&(console['error']('\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.'),console['error'](_0x33a3dc['wTwVs']),process['exit'](0x1));const _0x3f4bc4=await getFeature(_0x4443f2);_0x3f4bc4['latestReview']&&!_0x3f4bc4[_0x28dada(0x1e1)][_0x28dada(0x131)]&&(console[_0x28dada(0x174)](_0x33a3dc[_0x28dada(0x16f)]),console['error']('Please\x20finish\x20your\x20review\x20first:'),console[_0x28dada(0x174)]('\x20\x20'+_0x3f4bc4[_0x28dada(0x17c)]),process[_0x28dada(0x16e)](0x1));const _0x4b7baa=_0x3f4bc4['checklistItems']||[];_0x4b7baa[_0x28dada(0x1b4)]===0x0&&(console['error'](_0x28dada(0x12b)),process[_0x28dada(0x16e)](0x1));if(_0x33a3dc['tDciM'](_0x38ac3a['scenario'],undefined)){console['error'](_0x33a3dc['ZwiKv']),console[_0x28dada(0x1e6)]('\x0aAvailable\x20scenarios:');for(let _0x4b53c1=0x0;_0x4b53c1<_0x4b7baa[_0x28dada(0x1b4)];_0x4b53c1++){console[_0x28dada(0x1e6)]('\x20\x20'+_0x33a3dc['ZNNVt'](_0x4b53c1,0x1)+'.\x20'+_0x4b7baa[_0x4b53c1]['description']);}process['exit'](0x1);}const _0x3e9fc9=_0x38ac3a['scenario']-0x1;if(_0x3e9fc9<0x0||_0x33a3dc[_0x28dada(0x18e)](_0x3e9fc9,_0x4b7baa['length'])){console[_0x28dada(0x174)]('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x38ac3a['scenario']+'.\x20Feature\x20review\x20has\x20'+_0x4b7baa['length']+'\x20scenarios.'),console[_0x28dada(0x1e6)](_0x33a3dc[_0x28dada(0x147)]);for(let _0x30ae0a=0x0;_0x33a3dc[_0x28dada(0x1ca)](_0x30ae0a,_0x4b7baa[_0x28dada(0x1b4)]);_0x30ae0a++){console[_0x28dada(0x1e6)]('\x20\x20'+_0x33a3dc[_0x28dada(0x171)](_0x30ae0a,0x1)+'.\x20'+_0x4b7baa[_0x30ae0a]['description']);}process['exit'](0x1);}const _0x44f088=_0x4b7baa[_0x3e9fc9];await updateChecklistItem(_0x4443f2,_0x44f088['id'],{'description':_0x45d916});const _0x5cd962=await _0x33a3dc['JJdBD'](getFeature,_0x4443f2);console[_0x28dada(0x1e6)](_0x28dada(0x162)),displayFeature(_0x5cd962,_0x5cd962['checklistItems']);}async function downloadFeedbackImage(_0x547a95,_0x1d4334){const _0x288aee=_0x37cebc,_0x455146={'QGjXR':function(_0x1c2e10){return _0x1c2e10();},'okoBY':function(_0x442a2b,_0xc65911,_0x4bf663){return _0x442a2b(_0xc65911,_0x4bf663);},'AlnBN':function(_0x510120,_0xb0acb7,_0xfe1f31){return _0x510120(_0xb0acb7,_0xfe1f31);},'AFEVU':function(_0x34035e,_0x4a7c54){return _0x34035e(_0x4a7c54);}};try{const _0x596987=join(_0x455146['QGjXR'](getRangerDir),_0x288aee(0x132));await _0x455146[_0x288aee(0x1d0)](mkdir,_0x596987,{'recursive':!![]});const _0x4b48ec=_0x455146[_0x288aee(0x1b5)](join,_0x596987,'comment_'+_0x1d4334+_0x288aee(0x18b)),_0x560c4e=await _0x455146[_0x288aee(0x158)](fetch,_0x547a95);if(!_0x560c4e['ok'])return null;const _0x382839=Buffer[_0x288aee(0x12f)](await _0x560c4e[_0x288aee(0x19e)]());return await _0x455146['okoBY'](writeFile,_0x4b48ec,_0x382839),_0x4b48ec;}catch{return null;}}function _0x4111(){const _0x25cc5e=['.png','map','qVkQX','ztvAs','push','excludeScenarios','ZgAvl','toLocaleDateString','short','isInteger','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','verificationInProgressItems','\x20of\x20','github.com/','66GDvKRO','\x20—\x20no\x20comments','textContent','YFpbF','Rycbn','arrayBuffer','486552xlcvPq','uIDsa','\x20blocked','assets','checklistItems','\x20\x20\x20\x20\x20\x20Approved','cWxdW','NyaNa','1798974ueMAqJ','browserSessionId','en-US','\x20\x20\x20Repository:\x20','\x0aAvailable\x20scenarios:','3313576deHRCY','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','PniVy','scenarios','UwIDv','createdAt','VJrrV','length','AlnBN','pipe','NuXZp','HPYUi','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','rZXQT','\x0a📋\x20Feedback\x20for:\x20','yzkvU','output','authorEmail','blockedReason','parentItemId','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','cBPIY','completed','screenshot','env','QgEBf','unaddressedComments','):\x20\x22','BHvFl','xZniM','\x20/\x20','gitBranch','linkedSession','PsABq','version','okoBY','Jnmcn','iECDs','MePlO','includeDeleted','toLocaleString','\x20\x20\x20\x20\x20Progress:\x20','jzpIa','llPIv','position','point','\x20(v','stdout','MTDMq','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','Screenshot\x20','Bhsfb','latestReview','vykgC','totalCount','json','incompleteReason','log','KIZdT','terminalReason','5400040IUodsN','incomplete','notes','Tqvbu','name','timing','bVqUy','canonicalFlow','ready','element','domRef','wbqne','NuMjq','XspyM','utf-8','XQhHm','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','\x20\x20\x20Description:\x20','find','spatial','gYUrf','Showing\x20','HlKSK','Scenario\x20','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','canceledReason','\x20\x20\x20','onZlG','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','\x20\x20\x20\x20\x20\x20Incomplete:\x20','\x20\x20\x20\x20\x20ID:\x20','mxEUD','split','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','\x20Session\x20','PCkpT','HrNkQ','from','stats','submittedAt','feedback-images','trimEnd','write','sessionId','NBxob','\x20\x20\x20ID:\x20','verification_in_progress','items','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','\x0a✅\x20Restored\x20feature\x20review:\x20','reports','CDLPt','\x20\x20\x20\x20\x20\x20Blocked:\x20','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x0a✅\x20Scenario\x20added','vhVCe','trim','\x20\x20\x20Updated\x20branch\x20to:\x20','\x20\x20Expected\x20flow:','OHliv','LHmHP',':\x20\x22','slice','stringify','5727280nbWvXX','currentSessionId','3107128COqWOx','\x0aCreating\x20feature\x20review...','NoaPO','\x0a✅\x20Feature\x20review\x20created:\x20','verified','\x20\x20\x20Created:\x20','assetType','Next\x20page:\x20ranger\x20list\x20--offset\x20','stdin','NbKLQ','AFEVU','...','oDzmz','description','verifiedItems','yQLRz','isKeyStep','mPSZq','\x20feature\x20review(s)\x20found','No\x20scenarios\x20found.','\x0a✅\x20Scenario\x20updated','status','pop','toFixed','AtUgk','iteration','kGHEJ','list','TnfWG','ZXSfC','rteNZ','\x0aNo\x20feature\x20reviews\x20found.','exit','GUkzL','Unknown','ZNNVt','bZsRT','completedAt','error','AOOym','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','in_progress','rTzFX','active-feature.txt','replace','nfVIz','dashboardUrl','join','coOsP','tIjFn','coordinates','\x20\x20\x20▶️\x20Started\x20session\x20','\x20—\x20','offset','\x0a✅\x20Session\x20','0|5|4|1|2|3','87486yfeoLv','sfIDk','limit','SylOD','\x1b[1m'];_0x4111=function(){return _0x25cc5e;};return _0x4111();}export async function featureGetReview(_0x22fe64){const _0x366319=_0x37cebc,_0x9f8ef0={'qVkQX':function(_0x1a8891){return _0x1a8891();},'rTzFX':function(_0x2dec2b,_0x102264){return _0x2dec2b(_0x102264);},'NuXZp':function(_0x3917ad,_0x35f793){return _0x3917ad(_0x35f793);},'tjLOT':function(_0x540b24,_0x4c4f91){return _0x540b24===_0x4c4f91;},'vykgC':_0x366319(0x161),'BzZTv':function(_0x31dffa,_0x19feb1,_0x4599cc){return _0x31dffa(_0x19feb1,_0x4599cc);},'BHvFl':'numeric','aYwlq':'\x20>\x20','VJrrV':_0x366319(0x112),'UwIDv':function(_0x341c3f,_0x6dbd4f){return _0x341c3f>=_0x6dbd4f;},'KIZdT':function(_0xe2c145,_0x18989e){return _0xe2c145+_0x18989e;}},_0x4c4bee=_0x22fe64||await _0x9f8ef0[_0x366319(0x18d)](getActiveFeatureId);if(!_0x4c4bee)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 _0x52efa3=await _0x9f8ef0[_0x366319(0x178)](getFeature,_0x4c4bee),{items:_0x4eae9a}=await _0x9f8ef0[_0x366319(0x1b7)](getActionItems,_0x4c4bee);console['log'](_0x366319(0x1bb)+_0x52efa3['name']+'\x20('+_0x52efa3['id']+')\x0a');if(_0x9f8ef0['tjLOT'](_0x4eae9a[_0x366319(0x1b4)],0x0)){console['log'](_0x9f8ef0[_0x366319(0x1e2)]);return;}for(let _0x3d1234=0x0;_0x3d1234<_0x4eae9a[_0x366319(0x1b4)];_0x3d1234++){const _0x496e26=_0x4eae9a[_0x3d1234],_0x2f3b67=_0x496e26['version']>0x1?'\x20(v'+_0x496e26['version']+')':'',_0x4dc238=await _0x9f8ef0['BzZTv'](getItemFeedback,_0x4c4bee,_0x496e26['id']);if(_0x4dc238[_0x366319(0x1c7)]['length']>0x0){console[_0x366319(0x1e6)](_0x366319(0x120)+(_0x3d1234+0x1)+_0x366319(0x149)+_0x496e26['description']+'\x22'+_0x2f3b67+_0x366319(0x182)+_0x4dc238['unaddressedComments'][_0x366319(0x1b4)]+'\x20unaddressed\x20comment(s)');for(const _0x3646d2 of _0x4dc238[_0x366319(0x1c7)]){const _0xd67f20=new Date(_0x3646d2[_0x366319(0x1b2)])[_0x366319(0x192)](_0x366319(0x1a9),{'month':_0x366319(0x193),'day':_0x9f8ef0[_0x366319(0x1c9)]}),_0x36ced9=_0x3646d2['authorName']||_0x3646d2[_0x366319(0x1be)]||_0x366319(0x170);console[_0x366319(0x1e6)]('\x20\x20💬\x20'+_0x36ced9+'\x20('+_0xd67f20+_0x366319(0x1c8)+_0x3646d2['content']+'\x22');if(_0x3646d2['assetUrl']){const _0x282b1a=await downloadFeedbackImage(_0x3646d2['assetUrl'],_0x3646d2['id']);_0x282b1a&&console[_0x366319(0x1e6)]('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x282b1a);}if(_0x3646d2['domRef']){const _0x3d3b00=_0x3646d2[_0x366319(0x113)]['selector']['split'](_0x9f8ef0['aYwlq'])[_0x366319(0x164)]()?.['split'](':')[0x0]||_0x9f8ef0[_0x366319(0x1b3)],_0x5f6136=_0x3646d2['domRef'][_0x366319(0x19b)]?'\x20\x22'+_0x3646d2[_0x366319(0x113)][_0x366319(0x19b)][_0x366319(0x14a)](0x0,0x3c)+'\x22':'';console['log']('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x3d3b00+'>'+_0x5f6136),console['log']('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x3646d2[_0x366319(0x113)]['selector']);}else{if(_0x3646d2['spatial']){const _0x226765=_0x3646d2[_0x366319(0x11c)][_0x366319(0x180)];_0x9f8ef0['tjLOT'](_0x3646d2[_0x366319(0x11c)]['type'],_0x366319(0x1da))&&_0x9f8ef0[_0x366319(0x1b1)](_0x226765['length'],0x2)?console['log'](_0x366319(0x13c)+_0x226765[0x0]['toFixed'](0x2)+',\x20'+_0x226765[0x1][_0x366319(0x165)](0x2)+')'):console[_0x366319(0x1e6)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x3646d2[_0x366319(0x11c)]['type']+'\x20at\x20['+_0x226765['map'](_0x5b6f55=>_0x5b6f55[_0x366319(0x165)](0x2))['join'](',\x20')+']');}}}if(_0x4dc238[_0x366319(0x1f0)]){console['log'](_0x366319(0x146));for(const _0x48e31a of _0x4dc238['canonicalFlow']['split']('\x0a')){console['log']('\x20\x20\x20\x20'+_0x48e31a);}}}else console[_0x366319(0x1e6)]('Scenario\x20'+_0x9f8ef0[_0x366319(0x1e7)](_0x3d1234,0x1)+_0x366319(0x149)+_0x496e26[_0x366319(0x15b)]+'\x22'+_0x2f3b67+_0x366319(0x19a)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0x366319(0x1e6)]('');}}export async function featureDelete(_0x4f0328){const _0x142547=_0x37cebc,_0x266e8b={'Rycbn':function(_0x49ee38){return _0x49ee38();},'pfDIb':function(_0x44d42a,_0x4fdf4e){return _0x44d42a(_0x4fdf4e);},'GbGnZ':function(_0x3776c8,_0x5ae6e6){return _0x3776c8+_0x5ae6e6;},'yzkvU':_0x142547(0x1ae)},_0x421ffd=_0x4f0328||await _0x266e8b[_0x142547(0x19d)](getActiveFeatureId);if(!_0x421ffd)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 _0x254967=await _0x266e8b['pfDIb'](getFeature,_0x421ffd);await softDeleteFeature(_0x421ffd),console['log'](_0x142547(0x1b9)+_0x254967['name']+'\x20('+_0x421ffd+')'),console['log'](_0x266e8b['GbGnZ'](_0x266e8b[_0x142547(0x1bc)],_0x421ffd));}export async function featureRestore(_0x225581){const _0x4e870a=_0x37cebc,_0x50fcbf={'tIjFn':function(_0x19b77e,_0x5878b1){return _0x19b77e(_0x5878b1);}};await _0x50fcbf['tIjFn'](restoreFeature,_0x225581);const _0x418077=await _0x50fcbf[_0x4e870a(0x17f)](getFeature,_0x225581);console['log'](_0x4e870a(0x13d)+_0x418077['name']+'\x20('+_0x225581+')'),displayFeature(_0x418077,_0x418077['checklistItems']);}
1
+ const _0x1e5f3e=_0xddcf;(function(_0x59c618,_0x47d575){const _0x2e52fb=_0xddcf,_0x485d6e=_0x59c618();while(!![]){try{const _0x18c3b1=parseInt(_0x2e52fb(0x25f))/0x1*(-parseInt(_0x2e52fb(0x201))/0x2)+-parseInt(_0x2e52fb(0x1fd))/0x3+-parseInt(_0x2e52fb(0x204))/0x4+-parseInt(_0x2e52fb(0x1f0))/0x5*(parseInt(_0x2e52fb(0x244))/0x6)+parseInt(_0x2e52fb(0x280))/0x7+parseInt(_0x2e52fb(0x266))/0x8+parseInt(_0x2e52fb(0x251))/0x9;if(_0x18c3b1===_0x47d575)break;else _0x485d6e['push'](_0x485d6e['shift']());}catch(_0xcc4cc2){_0x485d6e['push'](_0x485d6e['shift']());}}}(_0x446d,0x71aae));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x53eba1 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=_0x1e5f3e(0x283),bold=_0x1bab0c=>_0x1e5f3e(0x25a)+_0x1bab0c+'\x1b[0m';function _0xddcf(_0x470ec3,_0x15dc40){_0x470ec3=_0x470ec3-0x1bc;const _0x446d54=_0x446d();let _0xddcf7f=_0x446d54[_0x470ec3];return _0xddcf7f;}function getGitRepoUrl(){const _0x2a0cdd=_0x1e5f3e,_0xecfd38={'chIJl':'git\x20remote\x20get-url\x20origin','ylWHx':'pipe','FYlfw':'github.com/'};try{const _0x5bb68c=execSync(_0xecfd38[_0x2a0cdd(0x281)],{'encoding':'utf-8','stdio':[_0xecfd38[_0x2a0cdd(0x208)],_0xecfd38[_0x2a0cdd(0x208)],_0x2a0cdd(0x285)]})[_0x2a0cdd(0x21a)]();return _0x5bb68c[_0x2a0cdd(0x267)](/\.git$/,'')[_0x2a0cdd(0x267)](/^git@github\.com:/,_0xecfd38['FYlfw'])[_0x2a0cdd(0x267)](/^https?:\/\//,'');}catch{return undefined;}}function _0x446d(){const _0x6d0727=['parentItemId','\x20scenarios.','pendingItems','stdin','MaLgb','scenarios','5mMzXLx','EUVDp','RkqcZ','MLxwo','type','screenshotUrls','closed','spatial','SFych','zjzTX','\x20\x20\x20▶️\x20Started\x20session\x20','eESxC','\x20\x20\x20','176133MqxwOB','.\x20Feature\x20review\x20has\x20','Cannot\x20conclude\x20session\x20with\x20status:\x20','hHCbS','98zWYdoz','TNSbI','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','2941176zXfQCD','latestReview','/api/v1/mcp/browser-sessions/','\x20\x20\x20\x20\x20\x20Approved','ylWHx','Please\x20finish\x20your\x20review\x20first:','RSmIF','\x0a❌\x20Invalid\x20scenario\x20index:\x20','\x20—\x20no\x20comments','verification_in_progress','sessionId','TtBRL','stats','canonicalFlow','VTtSL','CLAUDE_SESSION_ID','toFixed','ixAdC','\x20--include-deleted','pUtqR','qgLJP','slice','trim','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','textContent','unaddressedComments','Scenario\x20','terminalReason','authorName','blocked','.png','xkXzC','timing','RCiAB','write','\x20blocked','\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','verified','toLocaleDateString','\x0a✅\x20Resumed\x20feature\x20review:\x20','join','mfJjO','createdAt','blockedReason','domRef','iteration','IcJQN','limit','approved','zIBtE','repeat','isKeyStep','\x20--limit\x20','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','pheHq','canceledReason','utf-8','stringify','kkesu','point','TkImt','No\x20sessions\x20found.','description','JJyrI','419982WzpwLA','TNULl','list','items','\x20\x20\x20Status:\x20','UMnTt','pop','Showing\x20','linkedSession','RANGER_TEST_USERNAME','git\x20rev-parse\x20--abbrev-ref\x20HEAD','hyFAO','\x20--current-branch','5383953CSsjcZ','4|3|1|0|2|5','excludeScenarios','status','prompt','fvBhR','lXGwN','log','assetUrl','\x1b[1m','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','name','IdywV','reports','485MOpQNn','split','\x20at\x20[','Not\x20in\x20a\x20git\x20repository.','EuRgd','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','length','5628808obSTnc','replace','UTtYx','version','QGBYU','warn','notes','fvorM','gitRepoUrl','YgfJO','\x20\x20\x20Created:\x20','\x0aGenerating\x20report...','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','bIxec','round','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','json','agentResponse','No\x20scenarios\x20found.','\x0aAvailable\x20scenarios:','NXqWx','nosWm','bYxLc','GZDBE','HVSWZ','\x0a✅\x20Feature\x20review\x20created:\x20','360717wdsmsk','chIJl','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','active-feature.txt','arrayBuffer','pipe','CctCe','ZWqof','stdout','\x0aCreating\x20feature\x20review...','\x0a✅\x20Scenario\x20added','\x0a\x20\x20\x20Scenarios:','from','\x20\x20\x20Description:\x20','\x20in\x20progress','vhGZA','incompleteReason','error','gVJNe','OJpJI','isInteger','\x20\x20\x20\x20\x20\x20Cancelled:\x20','.md','dashboardUrl','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','currentBranch','XnYzF','exit','filter','\x20\x20\x20\x20\x20\x20Incomplete:\x20','OCltr','):\x20\x22','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','includeDeleted','any','\x0a✅\x20Session\x20','\x20\x20\x20\x20\x20Progress:\x20','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','toLocaleString','BoyYX','find','map','gitBranch','\x20[has\x20reviewer\x20feedback]','YFJUc','\x20\x20\x20\x20','\x20of\x20','\x0a📋\x20Feedback\x20for:\x20','\x20feature\x20review(s)\x20found','has','checklistItems','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','selector','KAYAh','get','scenario','totalCount','\x20\x20\x20\x20\x20ID:\x20','\x0a✅\x20Scenario\x20updated','\x0aConcluding\x20session...','env','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','assetType','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','completedAt','\x20\x20\x20\x20\x20Branch:\x20','...','CGqhm','currentSessionId','\x20(v','eszpn'];_0x446d=function(){return _0x6d0727;};return _0x446d();}function getGitBranch(){const _0x50882f=_0x1e5f3e,_0x2b473b={'GZDBE':function(_0x5a166c,_0x296da7,_0x34b023){return _0x5a166c(_0x296da7,_0x34b023);},'pUtqR':_0x50882f(0x23c),'bYxLc':'pipe'};try{return _0x2b473b[_0x50882f(0x27d)](execSync,_0x50882f(0x24e),{'encoding':_0x2b473b[_0x50882f(0x217)],'stdio':[_0x2b473b['bYxLc'],_0x2b473b['bYxLc'],_0x2b473b[_0x50882f(0x27c)]]})['trim']();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x3fbe8d=_0x1e5f3e,_0x533bbc={'RSmIF':function(_0x31889d,_0x295475,_0x1a15fa){return _0x31889d(_0x295475,_0x1a15fa);},'TtBRL':function(_0x3cc509){return _0x3cc509();},'RkqcZ':function(_0x218d2f,_0x2a0708,_0x26380e){return _0x218d2f(_0x2a0708,_0x26380e);},'hyFAO':'utf-8'},_0x3462f2=_0x533bbc[_0x3fbe8d(0x20a)](join,_0x533bbc[_0x3fbe8d(0x20f)](getRangerDir),ACTIVE_FEATURE_FILE);if(!existsSync(_0x3462f2))return null;try{const _0x1503e5=await _0x533bbc[_0x3fbe8d(0x1f2)](readFile,_0x3462f2,_0x533bbc[_0x3fbe8d(0x24f)]);return _0x1503e5[_0x3fbe8d(0x21a)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x5f469e){const _0x50f999=_0x1e5f3e,_0x5896be={'pXfFo':function(_0x202e54,_0x3f0f61,_0xd069c3){return _0x202e54(_0x3f0f61,_0xd069c3);},'kBsDl':function(_0x4b368c,_0x63b894,_0xb04177,_0x5ab306){return _0x4b368c(_0x63b894,_0xb04177,_0x5ab306);},'jRYPk':_0x50f999(0x23c)},_0x18238c=getRangerDir(),_0x481cb2=join(_0x18238c,ACTIVE_FEATURE_FILE);!existsSync(_0x18238c)&&await _0x5896be['pXfFo'](mkdir,_0x18238c,{'recursive':!![]}),await _0x5896be['kBsDl'](writeFile,_0x481cb2,_0x5f469e,_0x5896be['jRYPk']);}function getProgressDisplay(_0x5a547b){const _0x1297e3=_0x1e5f3e,_0x527c1f={'vdNDy':function(_0x405135,_0xc373d8){return _0x405135+_0xc373d8;},'PgbAQ':function(_0x16eac9,_0x76a5c4){return _0x16eac9+_0x76a5c4;},'ixAdC':function(_0x28c933,_0x407e42){return _0x28c933===_0x407e42;},'zIBtE':function(_0xd4663f,_0x3248ed){return _0xd4663f*_0x3248ed;},'TTLjA':function(_0x13469f,_0x4cc9e3){return _0x13469f/_0x4cc9e3;},'YgfJO':function(_0xb15b0a,_0x28dd42){return _0xb15b0a>_0x28dd42;}},_0x2d9394=_0x5a547b['verifiedItems']||0x0,_0x18b183=_0x5a547b['verificationInProgressItems']||0x0,_0xf40656=_0x5a547b['blockedItems']||0x0,_0x1b7d82=_0x5a547b['incompleteItems']||0x0,_0x351793=_0x5a547b[_0x1297e3(0x1ec)]||0x0,_0x586238=_0x527c1f['vdNDy'](_0x527c1f['PgbAQ'](_0x2d9394+_0x18b183,_0xf40656)+_0x1b7d82,_0x351793);if(_0x527c1f[_0x1297e3(0x215)](_0x586238,0x0))return'-';const _0x3099ad=0xa,_0x50d6a9=Math[_0x1297e3(0x274)](_0x527c1f[_0x1297e3(0x235)](_0x527c1f['TTLjA'](_0x2d9394,_0x586238),_0x3099ad)),_0x34ae6b='█'[_0x1297e3(0x236)](_0x50d6a9)+'░'['repeat'](_0x3099ad-_0x50d6a9),_0x13a471=[];if(_0x527c1f['YgfJO'](_0xf40656,0x0))_0x13a471['push'](_0xf40656+_0x1297e3(0x227));if(_0x1b7d82>0x0)_0x13a471['push'](_0x1b7d82+'\x20incomplete');if(_0x18b183>0x0)_0x13a471['push'](_0x18b183+_0x1297e3(0x28e));const _0xc005fc=_0x527c1f[_0x1297e3(0x26f)](_0x13a471[_0x1297e3(0x265)],0x0)?'\x20('+_0x13a471[_0x1297e3(0x22c)](',\x20')+')':'';return _0x34ae6b+'\x20'+_0x2d9394+'/'+_0x586238+'\x20verified'+_0xc005fc;}function getCurrentSessionItems(_0x5bca95,_0x3350ed){const _0x47b264=_0x1e5f3e;if(!_0x5bca95[_0x47b264(0x1e7)])return _0x3350ed['filter'](_0x1df935=>!_0x1df935[_0x47b264(0x20e)]);return _0x3350ed[_0x47b264(0x1bf)](_0x261dab=>_0x261dab['sessionId']===_0x5bca95['currentSessionId']||!_0x261dab['sessionId']);}function displayFeature(_0x5dfc6a,_0x4f9e40){const _0x553fe3=_0x1e5f3e,_0x59aa55={'KtFBW':function(_0x15d1bb,_0x1dac4c){return _0x15d1bb>_0x1dac4c;},'pheHq':function(_0x33a96e,_0x3d619c){return _0x33a96e<_0x3d619c;},'jKfXS':_0x553fe3(0x1f6),'IdywV':_0x553fe3(0x234),'OCltr':function(_0x97bbc0,_0x68e946){return _0x97bbc0===_0x68e946;},'UTtYx':function(_0x53ad0d,_0xf13d95){return _0x53ad0d!==_0xf13d95;},'KfoCw':'verified','JbBRI':_0x553fe3(0x1ce),'lMXcJ':function(_0x26b5af,_0x283664){return _0x26b5af+_0x283664;},'sNkZs':'incomplete'};console['log']('\x0a'+_0x5dfc6a[_0x553fe3(0x25c)]+'\x20('+_0x5dfc6a['dashboardUrl']+')');_0x5dfc6a[_0x553fe3(0x210)]&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x5dfc6a[_0x553fe3(0x210)]));_0x5dfc6a[_0x553fe3(0x242)]&&console[_0x553fe3(0x258)](_0x553fe3(0x28d)+_0x5dfc6a['description']);_0x5dfc6a[_0x553fe3(0x26e)]&&console['log']('\x20\x20\x20Repository:\x20'+_0x5dfc6a[_0x553fe3(0x26e)]);_0x5dfc6a[_0x553fe3(0x1cd)]&&console['log']('\x20\x20\x20Branch:\x20'+_0x5dfc6a['gitBranch']);console['log'](_0x553fe3(0x270)+new Date(_0x5dfc6a['createdAt'])['toLocaleString']());_0x5dfc6a['completedAt']&&console[_0x553fe3(0x258)]('\x20\x20\x20Completed:\x20'+new Date(_0x5dfc6a['completedAt'])['toLocaleString']());if(_0x4f9e40&&_0x59aa55['KtFBW'](_0x4f9e40['length'],0x0)){console[_0x553fe3(0x258)](_0x553fe3(0x28b));for(let _0x2062c6=0x0;_0x59aa55[_0x553fe3(0x23a)](_0x2062c6,_0x4f9e40['length']);_0x2062c6++){const _0x37c1a9=_0x4f9e40[_0x2062c6];let _0x486fad;if(_0x37c1a9['status']===_0x59aa55['jKfXS']&&_0x37c1a9[_0x553fe3(0x21f)]===_0x59aa55[_0x553fe3(0x25d)])_0x486fad='✅';else{if(_0x59aa55[_0x553fe3(0x1c1)](_0x37c1a9[_0x553fe3(0x254)],_0x553fe3(0x229)))_0x486fad='🟢';else{if(_0x37c1a9[_0x553fe3(0x254)]==='incomplete')_0x486fad='🟠';else{if(_0x37c1a9['status']===_0x553fe3(0x221))_0x486fad='🛑';else{if(_0x37c1a9[_0x553fe3(0x254)]==='closed')_0x486fad='⛔';else _0x37c1a9[_0x553fe3(0x254)]===_0x553fe3(0x20d)?_0x486fad='⏳':_0x486fad='⬜';}}}}const _0x119a10=_0x37c1a9[_0x553fe3(0x269)]>0x1?_0x553fe3(0x1e8)+_0x37c1a9[_0x553fe3(0x269)]+')':'',_0x466cfc=_0x37c1a9['version']>0x1&&_0x37c1a9[_0x553fe3(0x1ea)]&&_0x59aa55[_0x553fe3(0x268)](_0x37c1a9[_0x553fe3(0x254)],_0x553fe3(0x1f6))&&_0x37c1a9['status']!==_0x59aa55['KfoCw']?_0x59aa55['JbBRI']:'';console['log'](_0x553fe3(0x1fc)+_0x59aa55['lMXcJ'](_0x2062c6,0x1)+'.\x20'+_0x486fad+'\x20'+_0x37c1a9['description']+_0x119a10+_0x466cfc);_0x59aa55['OCltr'](_0x37c1a9[_0x553fe3(0x254)],'blocked')&&_0x37c1a9['blockedReason']&&console['log']('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x37c1a9[_0x553fe3(0x22f)]);_0x37c1a9[_0x553fe3(0x254)]===_0x59aa55['sNkZs']&&_0x37c1a9['incompleteReason']&&console[_0x553fe3(0x258)](_0x553fe3(0x1c0)+_0x37c1a9[_0x553fe3(0x290)]);if(_0x37c1a9[_0x553fe3(0x254)]===_0x59aa55['jKfXS']&&_0x59aa55[_0x553fe3(0x1c1)](_0x37c1a9['terminalReason'],_0x59aa55[_0x553fe3(0x25d)]))console[_0x553fe3(0x258)](_0x553fe3(0x207));else _0x59aa55['OCltr'](_0x37c1a9[_0x553fe3(0x254)],_0x553fe3(0x1f6))&&_0x37c1a9['canceledReason']&&console[_0x553fe3(0x258)](_0x553fe3(0x295)+_0x37c1a9['canceledReason']);}}}export async function featureCreate(_0xf8461f,_0x50a76b){const _0x43ae5c=_0x1e5f3e,_0xf6a7c9={'avFhv':function(_0x468137,_0x50cd0b){return _0x468137===_0x50cd0b;},'tcSyC':function(_0x4237a7){return _0x4237a7();},'rfmQB':function(_0x3a1d7b,_0x4e5247){return _0x3a1d7b(_0x4e5247);},'VTtSL':function(_0x1cb125,_0x1a1c16,_0x510f04){return _0x1cb125(_0x1a1c16,_0x510f04);}},{envNames:_0x566a4e}=await getEnvNames();if(_0xf6a7c9['avFhv'](_0x566a4e['length'],0x0)&&!process[_0x43ae5c(0x1df)][_0x43ae5c(0x24d)]){let _0x5a3074=0x0;try{_0x5a3074=(await _0xf6a7c9['tcSyC'](listCloudProfiles))[_0x43ae5c(0x265)];}catch{_0x5a3074=0x1;}_0x5a3074===0x0&&console[_0x43ae5c(0x26b)]('\x0a'+formatProfileRequiredMessage(_0x4ab9f0=>bold(_0x4ab9f0)));}const _0x522130=_0x50a76b[_0x43ae5c(0x1ef)]?_0x50a76b[_0x43ae5c(0x1ef)]['map'](_0x5b0bcd=>_0x5b0bcd['trim']()):[],_0x2677c5=getGitRepoUrl(),_0x3cd96=getGitBranch();console[_0x43ae5c(0x258)](_0x43ae5c(0x289));const _0x206fc6=await createFeature({'name':_0xf8461f,'description':_0x50a76b[_0x43ae5c(0x242)],'checklist':_0x522130,'gitRepoUrl':_0x2677c5,'gitBranch':_0x3cd96});await _0xf6a7c9['rfmQB'](setActiveFeatureId,_0x206fc6['id']),await tryStartCurrentSession(_0x206fc6['id']);const _0x319058=process[_0x43ae5c(0x1df)][_0x43ae5c(0x213)];_0x319058&&_0xf6a7c9[_0x43ae5c(0x212)](registerSession,_0x319058,_0x206fc6['id']),console['log'](_0x43ae5c(0x27f)+_0x206fc6['id']),displayFeature(_0x206fc6,_0x206fc6['checklistItems']),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x2c8968){const _0x55823e=_0x1e5f3e,_0x1c2670={'bIxec':function(_0x5e49f8){return _0x5e49f8();},'uffyl':function(_0x1ada13,_0x514432){return _0x1ada13(_0x514432);},'Mrjti':function(_0x4702ab,_0x612d3d){return _0x4702ab===_0x612d3d;},'MaLgb':'\x0aNo\x20feature\x20reviews\x20found.','lYGgW':function(_0x5b121c,_0x56e17e){return _0x5b121c>_0x56e17e;},'dnvjh':function(_0x1b8d2d,_0x31a6df){return _0x1b8d2d+_0x31a6df;},'kXSbL':function(_0x4cc666,_0x3309ff){return _0x4cc666!==_0x3309ff;},'EUVDp':_0x55823e(0x250),'Koerj':_0x55823e(0x216)},_0x1f0114={'limit':_0x2c8968[_0x55823e(0x233)]??0xa,'offset':_0x2c8968['offset']??0x0,'includeDeleted':_0x2c8968[_0x55823e(0x1c4)]};_0x2c8968[_0x55823e(0x1bc)]&&(_0x1f0114[_0x55823e(0x26e)]=getGitRepoUrl(),_0x1f0114['gitBranch']=_0x1c2670[_0x55823e(0x273)](getGitBranch));const _0x1900a6=await _0x1c2670['uffyl'](listFeatures,_0x1f0114);if(_0x1c2670['Mrjti'](_0x1900a6['items'][_0x55823e(0x265)],0x0)){console['log'](_0x1c2670[_0x55823e(0x1ee)]);return;}const _0x3f1996=_0x1c2670['lYGgW'](_0x1900a6[_0x55823e(0x1db)],_0x1900a6[_0x55823e(0x247)][_0x55823e(0x265)])?_0x55823e(0x24b)+_0x1900a6['items'][_0x55823e(0x265)]+_0x55823e(0x1d1)+_0x1900a6['totalCount']:_0x1900a6['totalCount']+_0x55823e(0x1d3);console['log']('\x0a'+_0x3f1996+':\x0a');for(const _0x1b27a7 of _0x1900a6[_0x55823e(0x247)]){const _0x339073='4|2|3|1|0|5'['split']('|');let _0x4d157a=0x0;while(!![]){switch(_0x339073[_0x4d157a++]){case'0':console[_0x55823e(0x258)](_0x55823e(0x270)+new Date(_0x1b27a7['createdAt'])['toLocaleDateString']());continue;case'1':_0x1b27a7['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x1b27a7[_0x55823e(0x1cd)]);continue;case'2':console['log']('\x20\x20\x20ID:\x20'+_0x1b27a7['id']);continue;case'3':_0x1b27a7['stats']&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x1b27a7[_0x55823e(0x210)]));continue;case'4':console['log'](''+_0x1b27a7[_0x55823e(0x25c)]);continue;case'5':console[_0x55823e(0x258)]('');continue;}break;}}const _0x1d0799=_0x1f0114[_0x55823e(0x233)]??0xa,_0xd6e49a=_0x1c2670['dnvjh'](_0x1f0114['offset']??0x0,_0x1900a6[_0x55823e(0x247)]['length']);if(_0xd6e49a<_0x1900a6['totalCount']){const _0x521677=_0x1c2670['kXSbL'](_0x1d0799,0xa)?_0x55823e(0x238)+_0x1d0799:'',_0x2da3f7=_0x2c8968[_0x55823e(0x1bc)]?_0x1c2670[_0x55823e(0x1f1)]:'',_0x2da419=_0x2c8968['includeDeleted']?_0x1c2670['Koerj']:'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0xd6e49a+_0x521677+_0x2da3f7+_0x2da419);}}export async function featureShow(_0x4bc2b7){const _0xd166d2=_0x1e5f3e,_0x3b8ef6={'TkImt':function(_0x26e925){return _0x26e925();},'mfJjO':_0xd166d2(0x272),'fvBhR':function(_0x45aaca,_0x57d711){return _0x45aaca(_0x57d711);}},_0x30fe0b=_0x4bc2b7||await _0x3b8ef6[_0xd166d2(0x240)](getActiveFeatureId);if(!_0x30fe0b)throw new Error(_0x3b8ef6[_0xd166d2(0x22d)]);const _0x4e110d=await _0x3b8ef6[_0xd166d2(0x256)](getFeature,_0x30fe0b);displayFeature(_0x4e110d,_0x4e110d[_0xd166d2(0x1d5)]);}export async function featureResume(_0x41dc36){const _0x28e563=_0x1e5f3e,_0x46da13={'QGBYU':function(_0xe01cb2,_0x2b7bd1){return _0xe01cb2(_0x2b7bd1);},'KAYAh':function(_0xb88b2d,_0x4f00ac,_0x2769af){return _0xb88b2d(_0x4f00ac,_0x2769af);},'hNibN':function(_0xf7d9df,_0x478a2d){return _0xf7d9df&&_0x478a2d;},'YDtDT':function(_0x8d5c2f,_0x29b795){return _0x8d5c2f||_0x29b795;},'UnHxu':_0x28e563(0x1c5),'hUuuK':function(_0x269aeb,_0x25675e){return _0x269aeb===_0x25675e;},'qysQj':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','JJyrI':'selected','MLxwo':_0x28e563(0x1e2),'VJZyl':function(_0x5e3c3d,_0x5469b0,_0x167162){return _0x5e3c3d(_0x5469b0,_0x167162);},'eszpn':function(_0x499e56,_0x1c4d55){return _0x499e56(_0x1c4d55);},'SFych':function(_0x177c3e,_0x27a373,_0x2852f5){return _0x177c3e(_0x27a373,_0x2852f5);},'UPQvP':function(_0x29a595,_0x4c6b31){return _0x29a595(_0x4c6b31);}};if(_0x41dc36){const _0x15d54e=await _0x46da13['QGBYU'](getFeature,_0x41dc36);await _0x46da13['QGBYU'](setActiveFeatureId,_0x15d54e['id']);const _0x17fbc1=getGitBranch();_0x17fbc1&&_0x17fbc1!==_0x15d54e[_0x28e563(0x1cd)]&&(await updateFeature(_0x15d54e['id'],{'gitBranch':_0x17fbc1}),console[_0x28e563(0x258)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x17fbc1));console[_0x28e563(0x258)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x15d54e['name']+'\x20('+_0x15d54e['id']+')'),await tryStartCurrentSession(_0x15d54e['id']);const _0x23d8c7=process['env']['CLAUDE_SESSION_ID'];_0x23d8c7&&_0x46da13[_0x28e563(0x1d8)](registerSession,_0x23d8c7,_0x15d54e['id']);_0x46da13[_0x28e563(0x1d8)](displayFeature,_0x15d54e,_0x15d54e[_0x28e563(0x1d5)]),await printFeedbackNudge(_0x15d54e['id']);return;}const _0x1ea0c8=getGitRepoUrl(),_0x35028d=getGitBranch();if(_0x46da13['hNibN'](!_0x1ea0c8,!_0x35028d))throw new Error(_0x28e563(0x262));console[_0x28e563(0x258)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+(_0x1ea0c8||'any')+'\x20/\x20'+_0x46da13['YDtDT'](_0x35028d,_0x46da13['UnHxu'])+_0x28e563(0x1e5));const _0x5f46ea=await _0x46da13[_0x28e563(0x26a)](listFeatures,{'gitRepoUrl':_0x1ea0c8,'gitBranch':_0x35028d}),_0x61a9be=_0x5f46ea[_0x28e563(0x247)]['filter'](_0x4291da=>_0x4291da[_0x28e563(0x254)]?_0x4291da['status']!==_0x28e563(0x229):!_0x4291da[_0x28e563(0x1e3)]);if(_0x46da13['hUuuK'](_0x61a9be['length'],0x0)){console[_0x28e563(0x258)](_0x28e563(0x298)),console[_0x28e563(0x258)](_0x46da13['qysQj']);return;}let _0x4db40d;if(_0x61a9be[_0x28e563(0x265)]===0x1)_0x4db40d=_0x61a9be[0x0];else{const _0x4413a6=process[_0x28e563(0x1ed)]['isTTY']&&process[_0x28e563(0x288)]['isTTY'];if(!_0x4413a6){console[_0x28e563(0x258)]('\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:');for(const _0x4e5eae of _0x61a9be){console[_0x28e563(0x258)]('\x20\x20'+_0x4e5eae[_0x28e563(0x25c)]),console[_0x28e563(0x258)](_0x28e563(0x1dc)+_0x4e5eae['id']),_0x4e5eae['stats']&&console[_0x28e563(0x258)](_0x28e563(0x1c7)+getProgressDisplay(_0x4e5eae[_0x28e563(0x210)])),_0x4e5eae['gitBranch']&&console[_0x28e563(0x258)](_0x28e563(0x1e4)+_0x4e5eae[_0x28e563(0x1cd)]);}throw new Error(_0x28e563(0x1d6));}const {selected:_0x48eea5}=await _0x53eba1[_0x28e563(0x255)]([{'type':_0x28e563(0x246),'name':_0x46da13[_0x28e563(0x243)],'message':_0x46da13[_0x28e563(0x1f3)],'choices':_0x61a9be[_0x28e563(0x1cc)](_0x30e6c1=>({'name':_0x30e6c1['name']+'\x20('+_0x30e6c1['id']+')','value':_0x30e6c1['id']}))}]);_0x4db40d=_0x61a9be['find'](_0x343155=>_0x343155['id']===_0x48eea5);}await setActiveFeatureId(_0x4db40d['id']);_0x35028d&&_0x35028d!==_0x4db40d[_0x28e563(0x1cd)]&&(await _0x46da13['VJZyl'](updateFeature,_0x4db40d['id'],{'gitBranch':_0x35028d}),console[_0x28e563(0x258)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x35028d));console['log'](_0x28e563(0x22b)+_0x4db40d['name']+'\x20('+_0x4db40d['id']+')'),await _0x46da13[_0x28e563(0x1e9)](tryStartCurrentSession,_0x4db40d['id']);const _0xd8038f=await getFeature(_0x4db40d['id']),_0xace256=process['env']['CLAUDE_SESSION_ID'];_0xace256&&_0x46da13[_0x28e563(0x1f8)](registerSession,_0xace256,_0xd8038f['id']),displayFeature(_0xd8038f,_0xd8038f['checklistItems']),await _0x46da13['UPQvP'](printFeedbackNudge,_0xd8038f['id']);}async function printFeedbackNudge(_0x207d01){const _0x103511=_0x1e5f3e,_0x263fb0={'CctCe':function(_0x39490f,_0x1cd600){return _0x39490f(_0x1cd600);},'UMnTt':function(_0x4af2ec,_0x20ca54,_0x4ad600){return _0x4af2ec(_0x20ca54,_0x4ad600);}};try{const {items:_0x2f1511}=await _0x263fb0[_0x103511(0x286)](getActionItems,_0x207d01);let _0x5479ce=0x0,_0x1a5f78=0x0;for(const _0x62c38 of _0x2f1511){const _0x2a0185=await _0x263fb0[_0x103511(0x249)](getItemFeedback,_0x207d01,_0x62c38['id']);_0x2a0185['unaddressedComments'][_0x103511(0x265)]>0x0&&(_0x5479ce+=_0x2a0185[_0x103511(0x21d)][_0x103511(0x265)],_0x1a5f78++);}_0x5479ce>0x0&&(console['log']('\x0a⚠️\x20\x20'+_0x5479ce+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x1a5f78+'\x20scenario(s).'),console[_0x103511(0x258)]('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}async function tryStartCurrentSession(_0x340a37){const _0x452230=_0x1e5f3e,_0x2f2179={'gVJNe':function(_0x17e8c5,_0x220dbc){return _0x17e8c5(_0x220dbc);}};try{const {sessions:_0x2016b9}=await _0x2f2179[_0x452230(0x292)](listFeatureSessions,_0x340a37),_0x2dc778=_0x2016b9['find'](_0x1b8bfe=>_0x1b8bfe['status']==='ready');_0x2dc778&&(await startSession(_0x340a37,_0x2dc778['id']),console['log'](_0x452230(0x1fa)+_0x2dc778[_0x452230(0x231)]));}catch{}}export async function featureReport(_0x255622,_0xfc9eb2){const _0x37a6aa=_0x1e5f3e,_0x38291e={'lNTvs':function(_0xbb8912){return _0xbb8912();},'TNULl':function(_0x57ba4a,_0xea289c,_0x32758f){return _0x57ba4a(_0xea289c,_0x32758f);},'xkXzC':function(_0x4aabc4,_0x2e7935,_0x579a4f,_0x3eb3cd){return _0x4aabc4(_0x2e7935,_0x579a4f,_0x3eb3cd);},'yKEbP':function(_0x5c7aed){return _0x5c7aed();},'Ewsvr':'utf-8'},_0x43a776=_0x255622||await _0x38291e['lNTvs'](getActiveFeatureId);if(!_0x43a776)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console['log'](_0x37a6aa(0x271));const _0x122efe=await _0x38291e[_0x37a6aa(0x245)](getFeatureReportMarkdown,_0x43a776,{'style':_0xfc9eb2['style']}),_0x4e6bbe=_0xfc9eb2['output']||_0x38291e[_0x37a6aa(0x223)](join,_0x38291e['yKEbP'](getRangerDir),_0x37a6aa(0x25e),_0x43a776+_0x37a6aa(0x296)),_0x52bbbc=_0x38291e[_0x37a6aa(0x245)](join,_0x4e6bbe,'..');!existsSync(_0x52bbbc)&&await mkdir(_0x52bbbc,{'recursive':!![]}),await writeFile(_0x4e6bbe,_0x122efe,_0x38291e['Ewsvr']),console['log']('\x0a✅\x20Report\x20generated:\x20'+_0x4e6bbe);}function getScenarioResult(_0x57d40f){const _0x363aaa=_0x1e5f3e,_0x188499={'bwuTA':'closed','nosWm':'verification_in_progress'};if(_0x57d40f[_0x363aaa(0x254)]===_0x188499['bwuTA'])return _0x57d40f['terminalReason']??'closed';if(_0x57d40f['status']===_0x188499[_0x363aaa(0x27b)])return'in_progress';return _0x57d40f['status'];}function getScenarioRationale(_0x3e5bac,_0x2baf05){const _0x3fd191=_0x1e5f3e,_0x265787={'ltrKI':_0x3fd191(0x252)},_0x24590f=_0x265787['ltrKI']['split']('|');let _0x36ba04=0x0;while(!![]){switch(_0x24590f[_0x36ba04++]){case'0':if(_0x3e5bac[_0x3fd191(0x23b)])return _0x3e5bac[_0x3fd191(0x23b)];continue;case'1':if(_0x3e5bac['incompleteReason'])return _0x3e5bac['incompleteReason'];continue;case'2':if(_0x3e5bac[_0x3fd191(0x26c)])return _0x3e5bac['notes'];continue;case'3':if(_0x3e5bac[_0x3fd191(0x22f)])return _0x3e5bac['blockedReason'];continue;case'4':if(_0x2baf05)return _0x2baf05;continue;case'5':return null;}break;}}export async function featureReportPrDescription(_0x433baf,_0x4c42a3){const _0x5559f4=_0x1e5f3e,_0x27f37e={'BHloc':function(_0x319f2c){return _0x319f2c();},'XnYzF':function(_0x10abd7,_0x16a962){return _0x10abd7(_0x16a962);},'EuRgd':function(_0x2101b6,_0x2684ab,_0x2bcb27){return _0x2101b6(_0x2684ab,_0x2bcb27);},'zjzTX':function(_0x3edab6,_0x3106c6){return _0x3edab6===_0x3106c6;},'vIMte':'\x0aAvailable\x20scenarios:','UNdxj':function(_0x1be026,_0x4fe811){return _0x1be026<_0x4fe811;},'CGqhm':function(_0x4e63a2,_0x346133){return _0x4e63a2+_0x346133;},'pNWTe':_0x5559f4(0x21b),'ZWqof':function(_0x3e40e3,_0xc9f136,_0x1df48d){return _0x3e40e3(_0xc9f136,_0x1df48d);}},_0x4c15ca=_0x433baf||await _0x27f37e['BHloc'](getActiveFeatureId);if(!_0x4c15ca)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0x1eb875=await _0x27f37e[_0x5559f4(0x1bd)](getFeature,_0x4c15ca),_0x1a5aa7=_0x1eb875['checklistItems']||[],_0x1bebed=_0x27f37e[_0x5559f4(0x263)](getCurrentSessionItems,_0x1eb875,_0x1a5aa7);_0x27f37e[_0x5559f4(0x1f9)](_0x1bebed['length'],0x0)&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.'),process[_0x5559f4(0x1be)](0x1));const _0x296eab=_0x4c42a3[_0x5559f4(0x253)]??[],_0x22403d=_0x296eab['filter'](_0x397df5=>!Number[_0x5559f4(0x294)](_0x397df5)||_0x397df5<0x1||_0x397df5>_0x1bebed[_0x5559f4(0x265)]);if(_0x22403d['length']>0x0){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x22403d[_0x5559f4(0x22c)](',\x20')),console[_0x5559f4(0x258)](_0x27f37e['vIMte']);for(let _0x874917=0x0;_0x27f37e['UNdxj'](_0x874917,_0x1bebed['length']);_0x874917++){console['log']('\x20\x20'+_0x27f37e[_0x5559f4(0x1e6)](_0x874917,0x1)+'.\x20'+_0x1bebed[_0x874917]['description']);}process[_0x5559f4(0x1be)](0x1);}const _0x2754b2=new Set(_0x296eab['map'](_0x171f0e=>_0x171f0e-0x1)),_0x2b2cef=_0x1bebed['filter']((_0x50c04f,_0x585c62)=>!_0x2754b2[_0x5559f4(0x1d4)](_0x585c62));_0x2b2cef[_0x5559f4(0x265)]===0x0&&(console[_0x5559f4(0x291)](_0x27f37e['pNWTe']),process[_0x5559f4(0x1be)](0x1));if(_0x4c42a3[_0x5559f4(0x276)])await outputJsonReport(_0x4c15ca,_0x1eb875,_0x2b2cef);else{const _0x45efc0=await _0x27f37e[_0x5559f4(0x287)](getFeatureReportMarkdown,_0x4c15ca,{'itemIds':_0x2b2cef[_0x5559f4(0x1cc)](_0x2ba649=>_0x2ba649['id'])});process[_0x5559f4(0x288)][_0x5559f4(0x226)](_0x45efc0['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x123150,_0x5b5371,_0x2e7ddc){const _0x4d52f0=_0x1e5f3e,_0xbf86ff={'UAXve':function(_0x21c353,_0xdbadd3){return _0x21c353(_0xdbadd3);},'gpeXR':function(_0x33390,_0x484720){return _0x33390>_0x484720;},'hHCbS':function(_0x19c62d,_0x302aa6){return _0x19c62d===_0x302aa6;},'kkesu':function(_0xb6464c){return _0xb6464c();},'eESxC':function(_0x546518,_0x19a3b9){return _0x546518+_0x19a3b9;}},_0x1da90d=_0xbf86ff[_0x4d52f0(0x23e)](getApiBaseUrl),_0x26d3e6=await _0xbf86ff['UAXve'](getFeatureReport,_0x123150),_0x5bbcb5=new Map(_0x26d3e6['checklistItems']['map'](_0x58d0e0=>[_0x58d0e0['id'],_0x58d0e0])),_0x526b5d=await Promise['all'](_0x2e7ddc['map'](async _0x1621f1=>{const _0x57f59f=_0x4d52f0,_0x468fc5=_0x5bbcb5[_0x57f59f(0x1d9)](_0x1621f1['id']),_0x201e88=_0x468fc5?.[_0x57f59f(0x24c)]??null;let _0x2ac9cb=[];if(_0x1621f1['browserSessionId'])try{const {steps:_0x1d6d64}=await _0xbf86ff['UAXve'](getBrowserSessionSteps,_0x1621f1['browserSessionId']);_0xbf86ff['gpeXR'](_0x1d6d64['length'],0x0)&&(_0x2ac9cb=_0x1d6d64[_0x57f59f(0x1cc)](_0x197964=>{const _0x193a0f=_0x57f59f,_0x1e8641=_0x197964['assets'][_0x193a0f(0x1cb)](_0x17c2cc=>_0x17c2cc[_0x193a0f(0x1e1)]==='screenshot'&&_0x17c2cc[_0x193a0f(0x224)]==='after')??_0x197964['assets']['find'](_0x3ad553=>_0x3ad553['assetType']==='screenshot');let _0xb9b344=null,_0x879987=null;if(_0x1e8641){const _0x2d50fb=_0x1e8641['storage']['location']['split']('/')[_0x193a0f(0x24a)]();_0xb9b344=_0x1da90d+_0x193a0f(0x206)+_0x1621f1['browserSessionId']+'/artifacts/'+_0x2d50fb,_0x2d50fb&&(_0x879987=_0x2d50fb[_0x193a0f(0x267)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x879987||_0x197964[_0x193a0f(0x242)]||_0x197964['stepName']||'Step\x20'+_0x197964['position'],'screenshot':_0xb9b344,'is_key_step':_0x197964[_0x193a0f(0x237)]};}));}catch{}return _0xbf86ff[_0x57f59f(0x200)](_0x2ac9cb['length'],0x0)&&_0x201e88?.['screenshotUrls']&&(_0x2ac9cb=_0x201e88[_0x57f59f(0x1f5)]['map']((_0xb8c951,_0x141e38)=>({'description':'Screenshot\x20'+(_0x141e38+0x1),'screenshot':_0xb8c951,'is_key_step':![]}))),{'description':_0x1621f1['description'],'result':getScenarioResult(_0x1621f1),'rationale':getScenarioRationale(_0x1621f1,_0x201e88?.[_0x57f59f(0x277)]),'steps':_0x2ac9cb};})),_0x573bb3={'url':_0x5b5371[_0x4d52f0(0x297)],'scenarios':_0x526b5d};process[_0x4d52f0(0x288)]['write'](_0xbf86ff[_0x4d52f0(0x1fb)](JSON[_0x4d52f0(0x23d)](_0x573bb3,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x1bcdf1){const _0xeef5f2=_0x1e5f3e,_0x168da0={'QGlYW':'No\x20active\x20session\x20for\x20this\x20feature\x20review.','DLVYp':'Current\x20session\x20not\x20found.','RCiAB':'\x0a✅\x20Session\x20is\x20already\x20completed.','mOeTF':function(_0x5eaaf7,_0x27c680){return _0x5eaaf7!==_0x27c680;},'HSAzR':function(_0x54808f,_0x5d7245,_0x3392a9){return _0x54808f(_0x5d7245,_0x3392a9);}},_0x41e30d=_0x1bcdf1||await getActiveFeatureId();if(!_0x41e30d)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 _0x5f5dcd=await getFeature(_0x41e30d);if(!_0x5f5dcd['currentSessionId'])throw new Error(_0x168da0['QGlYW']);const {sessions:_0x5ac052}=await listFeatureSessions(_0x41e30d),_0x33d232=_0x5ac052[_0xeef5f2(0x1cb)](_0x3535a4=>_0x3535a4['id']===_0x5f5dcd['currentSessionId']);if(!_0x33d232)throw new Error(_0x168da0['DLVYp']);if(_0x33d232[_0xeef5f2(0x254)]==='completed'){console[_0xeef5f2(0x258)](_0x168da0[_0xeef5f2(0x225)]);return;}if(_0x168da0['mOeTF'](_0x33d232['status'],'in_progress'))throw new Error(_0xeef5f2(0x1ff)+_0x33d232[_0xeef5f2(0x254)]);console['log'](_0xeef5f2(0x1de)),await _0x168da0['HSAzR'](concludeSession,_0x41e30d,_0x5f5dcd['currentSessionId']),console['log'](_0xeef5f2(0x1c6)+_0x33d232['iteration']+'\x20concluded.'),console[_0xeef5f2(0x258)](_0xeef5f2(0x1c8));}export async function featureSessions(_0x4adbc9){const _0x246ba5=_0x1e5f3e,_0x2064bf={'HmuwA':function(_0x201ba6){return _0x201ba6();},'OJpJI':function(_0x5d323f,_0x46ff30){return _0x5d323f(_0x46ff30);},'XtreS':function(_0x5f27cf,_0x4e602a){return _0x5f27cf===_0x4e602a;},'WQWIX':function(_0x31b9ac,_0x350e){return _0x31b9ac===_0x350e;},'varqA':'completed','HVSWZ':function(_0xcd802f,_0x25398b){return _0xcd802f===_0x25398b;}},_0xfeed4e=_0x4adbc9||await _0x2064bf['HmuwA'](getActiveFeatureId);if(!_0xfeed4e)throw new Error(_0x246ba5(0x203));const _0x47e611=await _0x2064bf[_0x246ba5(0x293)](getFeature,_0xfeed4e);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x47e611['name']+'\x0a');const {sessions:_0x58e905}=await listFeatureSessions(_0xfeed4e);if(_0x2064bf['XtreS'](_0x58e905[_0x246ba5(0x265)],0x0)){console['log'](_0x246ba5(0x241));return;}for(const _0x44e85e of _0x58e905){const _0x8102d8=_0x2064bf['WQWIX'](_0x44e85e['status'],_0x2064bf['varqA'])?'✅':_0x2064bf[_0x246ba5(0x27e)](_0x44e85e['status'],'in_progress')?'🔄':'▶️';console['log'](_0x8102d8+'\x20Session\x20'+_0x44e85e[_0x246ba5(0x231)]+'\x20('+_0x44e85e['id']+')'),console[_0x246ba5(0x258)](_0x246ba5(0x248)+_0x44e85e['status']),console[_0x246ba5(0x258)](_0x246ba5(0x270)+new Date(_0x44e85e[_0x246ba5(0x22e)])['toLocaleString']()),_0x44e85e['completedAt']&&console[_0x246ba5(0x258)]('\x20\x20\x20Completed:\x20'+new Date(_0x44e85e['completedAt'])[_0x246ba5(0x1c9)]()),console['log']('');}}export async function featureAddScenario(_0x4c508f,_0x57af88){const _0x43bfa5=_0x1e5f3e,_0x4e90f5={'jnglS':function(_0x106572){return _0x106572();}},_0x3e79c3=_0x57af88||await _0x4e90f5['jnglS'](getActiveFeatureId);if(!_0x3e79c3)throw new Error(_0x43bfa5(0x272));const _0x4aa24e=await getFeature(_0x3e79c3);if(_0x4aa24e['latestReview']&&!_0x4aa24e['latestReview']['submittedAt'])throw new Error(_0x43bfa5(0x239)+_0x4aa24e['dashboardUrl']);await createChecklistItem(_0x3e79c3,_0x4c508f);const _0x4d8157=await getFeature(_0x3e79c3);console['log'](_0x43bfa5(0x28a)),displayFeature(_0x4d8157,_0x4d8157[_0x43bfa5(0x1d5)]);}export async function featureEditScenario(_0x32085c,_0x11d1e3){const _0x3edd03=_0x1e5f3e,_0x6367cb={'NKZqG':function(_0xa38379,_0xb34d0b){return _0xa38379(_0xb34d0b);},'KkCpI':_0x3edd03(0x282),'vhGZA':function(_0x2ed0a6,_0x5a3d6e){return _0x2ed0a6===_0x5a3d6e;},'IcJQN':_0x3edd03(0x1e0),'fvorM':function(_0x4d9cc3,_0x59dabf){return _0x4d9cc3===_0x59dabf;},'odYoa':_0x3edd03(0x228),'dCtBH':function(_0x34a192,_0x17d212){return _0x34a192+_0x17d212;},'qAEmw':function(_0xaa2b8e,_0x44a82b){return _0xaa2b8e<_0x44a82b;}},_0x207f74=_0x11d1e3['id']||await getActiveFeatureId();!_0x207f74&&(console[_0x3edd03(0x291)](_0x3edd03(0x25b)),console[_0x3edd03(0x291)](_0x3edd03(0x264)),process[_0x3edd03(0x1be)](0x1));const _0x3b9a8f=await _0x6367cb['NKZqG'](getFeature,_0x207f74);_0x3b9a8f[_0x3edd03(0x205)]&&!_0x3b9a8f[_0x3edd03(0x205)]['submittedAt']&&(console['error'](_0x6367cb['KkCpI']),console[_0x3edd03(0x291)](_0x3edd03(0x209)),console['error']('\x20\x20'+_0x3b9a8f['dashboardUrl']),process['exit'](0x1));const _0x2983c5=_0x3b9a8f['checklistItems']||[];_0x6367cb[_0x3edd03(0x28f)](_0x2983c5['length'],0x0)&&(console[_0x3edd03(0x291)](_0x6367cb[_0x3edd03(0x232)]),process[_0x3edd03(0x1be)](0x1));if(_0x6367cb[_0x3edd03(0x26d)](_0x11d1e3['scenario'],undefined)){console[_0x3edd03(0x291)](_0x6367cb['odYoa']),console[_0x3edd03(0x258)]('\x0aAvailable\x20scenarios:');for(let _0x3bcf0b=0x0;_0x3bcf0b<_0x2983c5[_0x3edd03(0x265)];_0x3bcf0b++){console[_0x3edd03(0x258)]('\x20\x20'+_0x6367cb['dCtBH'](_0x3bcf0b,0x1)+'.\x20'+_0x2983c5[_0x3bcf0b]['description']);}process[_0x3edd03(0x1be)](0x1);}const _0x1eb6b1=_0x11d1e3['scenario']-0x1;if(_0x6367cb['qAEmw'](_0x1eb6b1,0x0)||_0x1eb6b1>=_0x2983c5['length']){console['error'](_0x3edd03(0x20b)+_0x11d1e3[_0x3edd03(0x1da)]+_0x3edd03(0x1fe)+_0x2983c5['length']+_0x3edd03(0x1eb)),console[_0x3edd03(0x258)](_0x3edd03(0x279));for(let _0xab3dbf=0x0;_0xab3dbf<_0x2983c5['length'];_0xab3dbf++){console['log']('\x20\x20'+_0x6367cb['dCtBH'](_0xab3dbf,0x1)+'.\x20'+_0x2983c5[_0xab3dbf][_0x3edd03(0x242)]);}process[_0x3edd03(0x1be)](0x1);}const _0x299f3c=_0x2983c5[_0x1eb6b1];await updateChecklistItem(_0x207f74,_0x299f3c['id'],{'description':_0x32085c});const _0x9236fa=await getFeature(_0x207f74);console['log'](_0x3edd03(0x1dd)),displayFeature(_0x9236fa,_0x9236fa['checklistItems']);}async function downloadFeedbackImage(_0xc360de,_0x29a11f){const _0x12eb9a=_0x1e5f3e,_0x474080={'eGqyN':function(_0x335489,_0x3d8618,_0x3f464b){return _0x335489(_0x3d8618,_0x3f464b);},'IwKse':function(_0x5c5be5){return _0x5c5be5();},'rWqKD':'feedback-images'};try{const _0x17ee2d=_0x474080['eGqyN'](join,_0x474080['IwKse'](getRangerDir),_0x474080['rWqKD']);await mkdir(_0x17ee2d,{'recursive':!![]});const _0x105998=_0x474080['eGqyN'](join,_0x17ee2d,'comment_'+_0x29a11f+_0x12eb9a(0x222)),_0x3a66a4=await fetch(_0xc360de);if(!_0x3a66a4['ok'])return null;const _0xce5b30=Buffer[_0x12eb9a(0x28c)](await _0x3a66a4[_0x12eb9a(0x284)]());return await writeFile(_0x105998,_0xce5b30),_0x105998;}catch{return null;}}export async function featureGetReview(_0x16fa2a){const _0xb3a499=_0x1e5f3e,_0x485740={'rdmBY':function(_0x1bcb6d,_0x18e525){return _0x1bcb6d(_0x18e525);},'zuhHj':function(_0x8abdcb,_0x5f3306){return _0x8abdcb===_0x5f3306;},'fQhQi':function(_0x286515,_0xb86674){return _0x286515>_0xb86674;},'TNSbI':function(_0x14fc13,_0x4d5bfb){return _0x14fc13+_0x4d5bfb;},'NXqWx':'short','dHRmD':'Unknown','BoyYX':'\x20>\x20','dtMRc':'element','FzwKW':function(_0x1a1317,_0x53358b){return _0x1a1317===_0x53358b;}},_0x9e4448=_0x16fa2a||await getActiveFeatureId();if(!_0x9e4448)throw new Error(_0xb3a499(0x272));const _0x4f45e2=await getFeature(_0x9e4448),{items:_0x1be5a4}=await _0x485740['rdmBY'](getActionItems,_0x9e4448);console[_0xb3a499(0x258)](_0xb3a499(0x1d2)+_0x4f45e2['name']+'\x20('+_0x4f45e2['id']+')\x0a');if(_0x485740['zuhHj'](_0x1be5a4[_0xb3a499(0x265)],0x0)){console[_0xb3a499(0x258)](_0xb3a499(0x278));return;}for(let _0x53ef98=0x0;_0x53ef98<_0x1be5a4[_0xb3a499(0x265)];_0x53ef98++){const _0x7a986d=_0x1be5a4[_0x53ef98],_0x3c557a=_0x485740['fQhQi'](_0x7a986d['version'],0x1)?'\x20(v'+_0x7a986d[_0xb3a499(0x269)]+')':'',_0xb909b1=await getItemFeedback(_0x9e4448,_0x7a986d['id']);if(_0xb909b1[_0xb3a499(0x21d)]['length']>0x0){console['log']('Scenario\x20'+_0x485740[_0xb3a499(0x202)](_0x53ef98,0x1)+':\x20\x22'+_0x7a986d[_0xb3a499(0x242)]+'\x22'+_0x3c557a+'\x20—\x20'+_0xb909b1[_0xb3a499(0x21d)][_0xb3a499(0x265)]+'\x20unaddressed\x20comment(s)');for(const _0x526a74 of _0xb909b1[_0xb3a499(0x21d)]){const _0x4d1b85=new Date(_0x526a74['createdAt'])[_0xb3a499(0x22a)]('en-US',{'month':_0x485740[_0xb3a499(0x27a)],'day':'numeric'}),_0x4f8726=_0x526a74[_0xb3a499(0x220)]||_0x526a74['authorEmail']||_0x485740['dHRmD'];console['log']('\x20\x20💬\x20'+_0x4f8726+'\x20('+_0x4d1b85+_0xb3a499(0x1c2)+_0x526a74['content']+'\x22');if(_0x526a74[_0xb3a499(0x259)]){const _0x284dca=await downloadFeedbackImage(_0x526a74[_0xb3a499(0x259)],_0x526a74['id']);_0x284dca&&console['log']('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x284dca);}if(_0x526a74[_0xb3a499(0x230)]){const _0x2741ff=_0x526a74[_0xb3a499(0x230)][_0xb3a499(0x1d7)]['split'](_0x485740[_0xb3a499(0x1ca)])['pop']()?.[_0xb3a499(0x260)](':')[0x0]||_0x485740['dtMRc'],_0x334868=_0x526a74[_0xb3a499(0x230)][_0xb3a499(0x21c)]?'\x20\x22'+_0x526a74[_0xb3a499(0x230)]['textContent'][_0xb3a499(0x219)](0x0,0x3c)+'\x22':'';console[_0xb3a499(0x258)](_0xb3a499(0x275)+_0x2741ff+'>'+_0x334868),console['log']('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x526a74[_0xb3a499(0x230)]['selector']);}else{if(_0x526a74[_0xb3a499(0x1f7)]){const _0x34cd58=_0x526a74[_0xb3a499(0x1f7)]['coordinates'];_0x485740['FzwKW'](_0x526a74['spatial'][_0xb3a499(0x1f4)],_0xb3a499(0x23f))&&_0x34cd58['length']>=0x2?console[_0xb3a499(0x258)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x34cd58[0x0][_0xb3a499(0x214)](0x2)+',\x20'+_0x34cd58[0x1]['toFixed'](0x2)+')'):console[_0xb3a499(0x258)](_0xb3a499(0x1c3)+_0x526a74[_0xb3a499(0x1f7)][_0xb3a499(0x1f4)]+_0xb3a499(0x261)+_0x34cd58[_0xb3a499(0x1cc)](_0xd4eec6=>_0xd4eec6[_0xb3a499(0x214)](0x2))[_0xb3a499(0x22c)](',\x20')+']');}}}if(_0xb909b1[_0xb3a499(0x211)]){console['log']('\x20\x20Expected\x20flow:');for(const _0x3c0a16 of _0xb909b1[_0xb3a499(0x211)][_0xb3a499(0x260)]('\x0a')){console[_0xb3a499(0x258)](_0xb3a499(0x1d0)+_0x3c0a16);}}}else console[_0xb3a499(0x258)](_0xb3a499(0x21e)+(_0x53ef98+0x1)+':\x20\x22'+_0x7a986d[_0xb3a499(0x242)]+'\x22'+_0x3c557a+_0xb3a499(0x20c)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0xb3a499(0x258)]('');}}export async function featureDelete(_0xa4b06a){const _0x2bca24=_0x1e5f3e,_0x277a77={'mToNz':_0x2bca24(0x272),'OxkhH':function(_0x3844d5,_0x3086a3){return _0x3844d5(_0x3086a3);},'YFJUc':function(_0x3e7549,_0x2eda18){return _0x3e7549+_0x2eda18;},'qgLJP':'\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'},_0x56f920=_0xa4b06a||await getActiveFeatureId();if(!_0x56f920)throw new Error(_0x277a77['mToNz']);const _0x112240=await getFeature(_0x56f920);await _0x277a77['OxkhH'](softDeleteFeature,_0x56f920),console[_0x2bca24(0x258)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x112240[_0x2bca24(0x25c)]+'\x20('+_0x56f920+')'),console[_0x2bca24(0x258)](_0x277a77[_0x2bca24(0x1cf)](_0x277a77[_0x2bca24(0x218)],_0x56f920));}export async function featureRestore(_0x37771c){const _0x33f6d5=_0x1e5f3e,_0x165c23={'lXGwN':function(_0x2db48c,_0x236129){return _0x2db48c(_0x236129);}};await _0x165c23[_0x33f6d5(0x257)](restoreFeature,_0x37771c);const _0x1f295e=await getFeature(_0x37771c);console['log']('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x1f295e['name']+'\x20('+_0x37771c+')'),displayFeature(_0x1f295e,_0x1f295e['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x5d8613,_0x169682){const _0x4ba5a3=_0x1900,_0x5d7a2a=_0x5d8613();while(!![]){try{const _0x5f4898=parseInt(_0x4ba5a3(0xeb))/0x1+parseInt(_0x4ba5a3(0xe7))/0x2*(-parseInt(_0x4ba5a3(0xf2))/0x3)+-parseInt(_0x4ba5a3(0xf4))/0x4+parseInt(_0x4ba5a3(0xe3))/0x5+parseInt(_0x4ba5a3(0xe6))/0x6*(parseInt(_0x4ba5a3(0xf6))/0x7)+-parseInt(_0x4ba5a3(0xee))/0x8+parseInt(_0x4ba5a3(0xef))/0x9*(parseInt(_0x4ba5a3(0xea))/0xa);if(_0x5f4898===_0x169682)break;else _0x5d7a2a['push'](_0x5d7a2a['shift']());}catch(_0x169916){_0x5d7a2a['push'](_0x5d7a2a['shift']());}}}(_0xc498,0x750e1));function _0x1900(_0x20e13a,_0x52c06f){_0x20e13a=_0x20e13a-0xe3;const _0xc498a4=_0xc498();let _0x1900f4=_0xc498a4[_0x20e13a];return _0x1900f4;}import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};function _0xc498(){const _0x1ef264=['exit','2960500mJvNbX','JNXXk','SIGHUP','5147826gCigCi','680YMiDCU','SIGINT','error','2700340BfTqoI','257400rKsxbt','SIGTERM','Unknown\x20hook:\x20','5594968qFxikR','18UHeFQF','Valid\x20hooks:\x20','mIoWG','7989LZjsPt','petlU','653164cLEvmr','keys','7rkiOoz'];_0xc498=function(){return _0x1ef264;};return _0xc498();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x1b33bd=_0x1900,_0x57b5c6={'JNXXk':_0x1b33bd(0xe8),'mIoWG':_0x1b33bd(0xec),'petlU':_0x1b33bd(0xe5)};if(cancellationHandlersInstalled)return;const _0x182f41=()=>{const _0x46c2da=_0x1b33bd;process[_0x46c2da(0xf7)](0x0);};process['once'](_0x57b5c6[_0x1b33bd(0xe4)],_0x182f41),process['once'](_0x57b5c6[_0x1b33bd(0xf1)],_0x182f41),process['once'](_0x57b5c6[_0x1b33bd(0xf3)],_0x182f41),cancellationHandlersInstalled=!![];}export async function hook(_0x5ef066,_0x42caa9){const _0x12e7eb=_0x1900,_0x2688d1={'LodxU':function(_0x589f78){return _0x589f78();},'iFngS':function(_0x5076b3,_0x59349b){return _0x5076b3(_0x59349b);}};_0x2688d1['LodxU'](installCancellationHandlers);const _0x18388c=HOOKS[_0x5ef066];if(!_0x18388c){const _0x3cb262=Object[_0x12e7eb(0xf5)](HOOKS)['join'](',\x20');console['error'](_0x12e7eb(0xed)+_0x5ef066),console[_0x12e7eb(0xe9)](_0x12e7eb(0xf0)+_0x3cb262),process[_0x12e7eb(0xf7)](0x1);}await _0x2688d1['iFngS'](_0x18388c,_0x42caa9);}
1
+ function _0x1275(){const _0x5e8fd3=['36YIubgb','13evfqEg','141qoJPiP','Valid\x20hooks:\x20','7pRsIFz','error','1059928iAHJKQ','keys','SIGINT','exit','10DRPvlv','7462452xHEwVL','1458932iXAwxe','2602DwjNMX','10qyXVqz','2595307LBElPV','395429UMWdkS','once','6499104Ufpmjw'];_0x1275=function(){return _0x5e8fd3;};return _0x1275();}(function(_0x52fe99,_0x50d6db){const _0x42ebff=_0x1925,_0x53b602=_0x52fe99();while(!![]){try{const _0x44f35a=-parseInt(_0x42ebff(0x169))/0x1+-parseInt(_0x42ebff(0x166))/0x2*(-parseInt(_0x42ebff(0x16e))/0x3)+-parseInt(_0x42ebff(0x165))/0x4*(parseInt(_0x42ebff(0x167))/0x5)+-parseInt(_0x42ebff(0x16b))/0x6*(-parseInt(_0x42ebff(0x170))/0x7)+parseInt(_0x42ebff(0x172))/0x8*(parseInt(_0x42ebff(0x16c))/0x9)+-parseInt(_0x42ebff(0x163))/0xa*(parseInt(_0x42ebff(0x168))/0xb)+parseInt(_0x42ebff(0x164))/0xc*(parseInt(_0x42ebff(0x16d))/0xd);if(_0x44f35a===_0x50d6db)break;else _0x53b602['push'](_0x53b602['shift']());}catch(_0x418072){_0x53b602['push'](_0x53b602['shift']());}}}(_0x1275,0xe45a6));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x1925(_0x4ccc7a,_0x4518bd){_0x4ccc7a=_0x4ccc7a-0x160;const _0x1275d9=_0x1275();let _0x19252c=_0x1275d9[_0x4ccc7a];return _0x19252c;}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 _0x247d43=_0x1925;if(cancellationHandlersInstalled)return;const _0x38818b=()=>{const _0x2ee900=_0x1925;process[_0x2ee900(0x162)](0x0);};process[_0x247d43(0x16a)](_0x247d43(0x161),_0x38818b),process[_0x247d43(0x16a)]('SIGTERM',_0x38818b),process['once']('SIGHUP',_0x38818b),cancellationHandlersInstalled=!![];}export async function hook(_0x5cc415,_0x49dcaa){const _0x3fa242=_0x1925;installCancellationHandlers();const _0x275971=HOOKS[_0x5cc415];if(!_0x275971){const _0x3e04f4=Object[_0x3fa242(0x160)](HOOKS)['join'](',\x20');console[_0x3fa242(0x171)]('Unknown\x20hook:\x20'+_0x5cc415),console[_0x3fa242(0x171)](_0x3fa242(0x16f)+_0x3e04f4),process[_0x3fa242(0x162)](0x1);}await _0x275971(_0x49dcaa);}
@@ -1 +1 @@
1
- function _0x296f(){const _0x5c01e1=['691775cDxuyb','2526320IjQaQh','383926YGwlVi','45805MykXea','ZxaLt','32HkjFme','20718YMbybB','log','1BCrLdg','VcxkM','ecZTc','6015015zGHElK','\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.','off','990570TliFOg'];_0x296f=function(){return _0x5c01e1;};return _0x296f();}function _0x3761(_0x304a8d,_0x465e8f){_0x304a8d=_0x304a8d-0x102;const _0x296f5a=_0x296f();let _0x37614d=_0x296f5a[_0x304a8d];return _0x37614d;}const _0x2c8889=_0x3761;(function(_0x2b092c,_0x27feb9){const _0x4c4ab2=_0x3761,_0x5d9732=_0x2b092c();while(!![]){try{const _0x3c32d1=-parseInt(_0x4c4ab2(0x109))/0x1*(parseInt(_0x4c4ab2(0x103))/0x2)+-parseInt(_0x4c4ab2(0x107))/0x3+-parseInt(_0x4c4ab2(0x106))/0x4*(-parseInt(_0x4c4ab2(0x104))/0x5)+-parseInt(_0x4c4ab2(0x10f))/0x6+parseInt(_0x4c4ab2(0x110))/0x7+-parseInt(_0x4c4ab2(0x102))/0x8+parseInt(_0x4c4ab2(0x10c))/0x9;if(_0x3c32d1===_0x27feb9)break;else _0x5d9732['push'](_0x5d9732['shift']());}catch(_0x29601e){_0x5d9732['push'](_0x5d9732['shift']());}}}(_0x296f,0x273b6));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT=_0x2c8889(0x10d);export async function autoPrompt(){const _0x24b657=_0x2c8889,_0x398cf3={'ecZTc':function(_0x158e28,_0x3f2773){return _0x158e28===_0x3f2773;},'VcxkM':function(_0x2bb92b){return _0x2bb92b();},'ZxaLt':function(_0x579879,_0x17ac70){return _0x579879(_0x17ac70);}};if(_0x398cf3[_0x24b657(0x10b)](_0x398cf3[_0x24b657(0x10a)](resolveHookMode),_0x24b657(0x10e)))return;const _0x251249=await readHookInput(),_0x13fd74=_0x251249?.['session_id'];if(!_0x13fd74)return;if(isSessionEnabled(_0x13fd74)||hasSessionBeenPrompted(_0x13fd74))return;_0x398cf3[_0x24b657(0x105)](markSessionPrompted,_0x13fd74),console[_0x24b657(0x108)](AUTO_PROMPT_TEXT);}
1
+ function _0xb1af(){const _0x1727a8=['517689eoqnLW','199944tFTUrm','104SIJPxJ','4yjKsLA','30QirMzL','9IJNyep','567007QExUar','7350120TgMLZv','69562sBYFxZ','885005XrDaBZ','21931701tjCMMN','off'];_0xb1af=function(){return _0x1727a8;};return _0xb1af();}(function(_0x2615ba,_0x3c3836){const _0x27ddf1=_0x1039,_0x1eb32a=_0x2615ba();while(!![]){try{const _0x42e70f=parseInt(_0x27ddf1(0x151))/0x1+-parseInt(_0x27ddf1(0x14c))/0x2*(-parseInt(_0x27ddf1(0x149))/0x3)+parseInt(_0x27ddf1(0x153))/0x4*(parseInt(_0x27ddf1(0x14d))/0x5)+-parseInt(_0x27ddf1(0x148))/0x6*(-parseInt(_0x27ddf1(0x14a))/0x7)+parseInt(_0x27ddf1(0x152))/0x8*(parseInt(_0x27ddf1(0x150))/0x9)+parseInt(_0x27ddf1(0x14b))/0xa+-parseInt(_0x27ddf1(0x14e))/0xb;if(_0x42e70f===_0x3c3836)break;else _0x1eb32a['push'](_0x1eb32a['shift']());}catch(_0x242d13){_0x1eb32a['push'](_0x1eb32a['shift']());}}}(_0xb1af,0x5b9f7));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';function _0x1039(_0x1ce9e5,_0x53359e){_0x1ce9e5=_0x1ce9e5-0x148;const _0xb1afab=_0xb1af();let _0x103961=_0xb1afab[_0x1ce9e5];return _0x103961;}import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT='\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.';export async function autoPrompt(){const _0x26dd9c=_0x1039;if(resolveHookMode()===_0x26dd9c(0x14f))return;const _0x1b8ab0=await readHookInput(),_0x11d112=_0x1b8ab0?.['session_id'];if(!_0x11d112)return;if(isSessionEnabled(_0x11d112)||hasSessionBeenPrompted(_0x11d112))return;markSessionPrompted(_0x11d112),console['log'](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- function _0x1734(_0x1b06cc,_0x23df82){_0x1b06cc=_0x1b06cc-0xae;const _0x51b5a9=_0x51b5();let _0x1734b6=_0x51b5a9[_0x1b06cc];return _0x1734b6;}(function(_0xa9fc56,_0x408aaf){const _0x588d35=_0x1734,_0x384a74=_0xa9fc56();while(!![]){try{const _0x4fece1=parseInt(_0x588d35(0xb6))/0x1+parseInt(_0x588d35(0xbd))/0x2*(parseInt(_0x588d35(0xb1))/0x3)+-parseInt(_0x588d35(0xbe))/0x4+-parseInt(_0x588d35(0xb9))/0x5+parseInt(_0x588d35(0xb2))/0x6+-parseInt(_0x588d35(0xb3))/0x7*(-parseInt(_0x588d35(0xae))/0x8)+-parseInt(_0x588d35(0xb7))/0x9*(parseInt(_0x588d35(0xc0))/0xa);if(_0x4fece1===_0x408aaf)break;else _0x384a74['push'](_0x384a74['shift']());}catch(_0x45bc4d){_0x384a74['push'](_0x384a74['shift']());}}}(_0x51b5,0x18f32));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x868233){const _0x409b7b=_0x1734,_0x5aac51={'Lxpce':function(_0x42d77a,_0x504285){return _0x42d77a(_0x504285);},'leOtk':function(_0x3596ae,_0x484c15){return _0x3596ae!==_0x484c15;},'xprPC':'main','dhOdk':function(_0x2e118a,_0x4c2914){return _0x2e118a!==_0x4c2914;},'GNlTG':function(_0x296b93,_0x466c09){return _0x296b93(_0x466c09);},'lkHlh':function(_0x4d6204,_0x4cf3ab){return _0x4d6204!==_0x4cf3ab;}},_0x4a034a=_0x868233||process[_0x409b7b(0xb8)][_0x409b7b(0xba)]||'';_0x4a034a&&_0x5aac51['Lxpce'](disableSession,_0x4a034a);const _0x2a34f0=getCurrentBranch();_0x2a34f0&&_0x5aac51['leOtk'](_0x2a34f0,_0x5aac51[_0x409b7b(0xb0)])&&_0x5aac51['dhOdk'](_0x2a34f0,'master')&&disableBranch(_0x2a34f0),_0x5aac51['GNlTG'](printBlock,_0x409b7b(0xb5)+(_0x2a34f0&&_0x2a34f0!==_0x409b7b(0xb4)&&_0x5aac51[_0x409b7b(0xbb)](_0x2a34f0,_0x409b7b(0xbc))?_0x409b7b(0xaf)+_0x2a34f0+'\x27':'')+_0x409b7b(0xbf));}function _0x51b5(){const _0x3779a7=['master','14494zxvMsF','522152HNgmMf','.\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`.','110FFgNce','1532216rNlXMH','\x20and\x20branch\x20\x27','xprPC','57rDyUQv','763140JepGcB','7trFlOG','main','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','154152mQcIwG','202581BOGmbS','env','651155JWatGb','CLAUDE_SESSION_ID','lkHlh'];_0x51b5=function(){return _0x3779a7;};return _0x51b5();}
1
+ (function(_0xa2766f,_0x44f1f4){const _0x5a9595=_0x2c16,_0x5f37ca=_0xa2766f();while(!![]){try{const _0x1d7975=-parseInt(_0x5a9595(0xd6))/0x1+-parseInt(_0x5a9595(0xd5))/0x2*(-parseInt(_0x5a9595(0xcf))/0x3)+-parseInt(_0x5a9595(0xd4))/0x4+-parseInt(_0x5a9595(0xc6))/0x5+-parseInt(_0x5a9595(0xca))/0x6+parseInt(_0x5a9595(0xcc))/0x7*(-parseInt(_0x5a9595(0xcb))/0x8)+parseInt(_0x5a9595(0xd1))/0x9;if(_0x1d7975===_0x44f1f4)break;else _0x5f37ca['push'](_0x5f37ca['shift']());}catch(_0x5e770d){_0x5f37ca['push'](_0x5f37ca['shift']());}}}(_0x4957,0xb2fc4));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x4957(){const _0x25abef=['353118ktffFA','CLAUDE_SESSION_ID','\x20and\x20branch\x20\x27','1185735ZcgqZy','oiqis','BfjLL','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','1427622XCVVOR','5944HipIfF','532emNBnK','master','ksESE','63bSLOBp','main','26766072CoXDOg','WdTnY','wLxVF','5817136ygTNuP','9340nPElzs'];_0x4957=function(){return _0x25abef;};return _0x4957();}import{printBlock}from'./output.js';function _0x2c16(_0x249089,_0x3ddd31){_0x249089=_0x249089-0xc4;const _0x495711=_0x4957();let _0x2c1694=_0x495711[_0x249089];return _0x2c1694;}export async function disable(_0x26b5cb){const _0x1a9b8d=_0x2c16,_0x1e799e={'oiqis':function(_0x28afab){return _0x28afab();},'WdTnY':function(_0xfd32df,_0x3eb549){return _0xfd32df!==_0x3eb549;},'wLxVF':function(_0x518591,_0x262e54){return _0x518591!==_0x262e54;},'ksESE':function(_0x26ce65,_0x403b94){return _0x26ce65(_0x403b94);},'BfjLL':'master'},_0x5a5bf9=_0x26b5cb||process['env'][_0x1a9b8d(0xc4)]||'';_0x5a5bf9&&disableSession(_0x5a5bf9);const _0x555f5a=_0x1e799e[_0x1a9b8d(0xc7)](getCurrentBranch);_0x555f5a&&_0x1e799e[_0x1a9b8d(0xd2)](_0x555f5a,_0x1a9b8d(0xd0))&&_0x1e799e[_0x1a9b8d(0xd3)](_0x555f5a,_0x1a9b8d(0xcd))&&_0x1e799e['ksESE'](disableBranch,_0x555f5a),_0x1e799e[_0x1a9b8d(0xce)](printBlock,_0x1a9b8d(0xc9)+(_0x555f5a&&_0x555f5a!==_0x1a9b8d(0xd0)&&_0x1e799e['wLxVF'](_0x555f5a,_0x1e799e[_0x1a9b8d(0xc8)])?_0x1a9b8d(0xc5)+_0x555f5a+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
@@ -1 +1 @@
1
- function _0x2fdb(){const _0xec5a0c=['Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','3208266IcEBFy','21PxjLxr','twxjQ','rJTcG','env','4WIcWEF','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','238081SygsrV','main','13OOlWAA','10055844yyeECe','4GtbcLB','2598175vMhDmv','8vTwdLT','MhGwr','1591206NHVKBQ','#\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`','aLyXb','2311815TPZAwB','YqTFi','ranger\x20setup','1334472LVRiPj','aqvib','30hDsran','CLAUDE_SESSION_ID','HzHtP','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','master'];_0x2fdb=function(){return _0xec5a0c;};return _0x2fdb();}(function(_0x29dc99,_0x4bf4fe){const _0x3539f6=_0x19bd,_0x10d182=_0x29dc99();while(!![]){try{const _0x4a8031=parseInt(_0x3539f6(0x201))/0x1*(parseInt(_0x3539f6(0x1ff))/0x2)+-parseInt(_0x3539f6(0x1fa))/0x3+parseInt(_0x3539f6(0x205))/0x4*(parseInt(_0x3539f6(0x206))/0x5)+parseInt(_0x3539f6(0x209))/0x6*(-parseInt(_0x3539f6(0x1fb))/0x7)+parseInt(_0x3539f6(0x207))/0x8*(parseInt(_0x3539f6(0x204))/0x9)+parseInt(_0x3539f6(0x1f4))/0xa*(parseInt(_0x3539f6(0x20c))/0xb)+parseInt(_0x3539f6(0x1f2))/0xc*(-parseInt(_0x3539f6(0x203))/0xd);if(_0x4a8031===_0x4bf4fe)break;else _0x10d182['push'](_0x10d182['shift']());}catch(_0x343e8a){_0x10d182['push'](_0x10d182['shift']());}}}(_0x2fdb,0xbb591));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';function _0x19bd(_0xb054b2,_0x2efd13){_0xb054b2=_0xb054b2-0x1f2;const _0x2fdbf4=_0x2fdb();let _0x19bda0=_0x2fdbf4[_0xb054b2];return _0x19bda0;}import{printBlock}from'./output.js';import{update}from'../update.js';export async function enable(_0x3871c5){const _0x5bb5cd=_0x19bd,_0x4dec90={'MhGwr':function(_0x195e9a){return _0x195e9a();},'aqvib':'ranger\x20setup\x20--opencode','twxjQ':_0x5bb5cd(0x20e),'YqTFi':_0x5bb5cd(0x200),'lHVhB':_0x5bb5cd(0x1f9),'HzHtP':function(_0x4a9314,_0x16d7f5){return _0x4a9314(_0x16d7f5);},'nYfMj':function(_0x422320){return _0x422320();},'rJTcG':_0x5bb5cd(0x202),'aLyXb':_0x5bb5cd(0x1f8)},_0x16cfc5=_0x3871c5||process[_0x5bb5cd(0x1fe)][_0x5bb5cd(0x1f5)]||'',_0x5b5d5a=Boolean(_0x3871c5),_0x14140c=await _0x4dec90[_0x5bb5cd(0x208)](getToken);if(!_0x14140c){const _0x357c53=_0x5b5d5a?_0x4dec90[_0x5bb5cd(0x1f3)]:_0x4dec90[_0x5bb5cd(0x1fc)],_0x5c26ee=_0x5b5d5a?_0x4dec90[_0x5bb5cd(0x20d)]:_0x4dec90['lHVhB'];_0x4dec90[_0x5bb5cd(0x1f6)](printBlock,_0x5bb5cd(0x20a)+_0x357c53+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x5c26ee);return;}try{await _0x4dec90['MhGwr'](update);}catch{}_0x16cfc5&&enableSession(_0x16cfc5);const _0x52fb8e=_0x4dec90['nYfMj'](getCurrentBranch),_0x743aed=_0x52fb8e&&_0x52fb8e!==_0x4dec90[_0x5bb5cd(0x1fd)]&&_0x52fb8e!==_0x4dec90[_0x5bb5cd(0x20b)]?'\x0a\x0a**Branch\x20\x27'+_0x52fb8e+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x15c7aa=getRangerSkillContent();_0x4dec90[_0x5bb5cd(0x1f6)](printBlock,'#\x20RANGER\x20ENABLED'+_0x743aed+_0x5bb5cd(0x1f7)+_0x15c7aa+'\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(_0x47396b,_0x369989){const _0x252f19=_0x2d30,_0x952bf9=_0x47396b();while(!![]){try{const _0x4d59ef=parseInt(_0x252f19(0x103))/0x1+parseInt(_0x252f19(0x108))/0x2*(-parseInt(_0x252f19(0x101))/0x3)+parseInt(_0x252f19(0xfd))/0x4+-parseInt(_0x252f19(0xf9))/0x5*(parseInt(_0x252f19(0xf4))/0x6)+-parseInt(_0x252f19(0xfc))/0x7*(parseInt(_0x252f19(0xff))/0x8)+-parseInt(_0x252f19(0xfb))/0x9*(parseInt(_0x252f19(0x109))/0xa)+parseInt(_0x252f19(0x105))/0xb;if(_0x4d59ef===_0x369989)break;else _0x952bf9['push'](_0x952bf9['shift']());}catch(_0x290f5c){_0x952bf9['push'](_0x952bf9['shift']());}}}(_0x5d86,0x632ba));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x2d30(_0x47e364,_0xbc6243){_0x47e364=_0x47e364-0xf3;const _0x5d8635=_0x5d86();let _0x2d30b2=_0x5d8635[_0x47e364];return _0x2d30b2;}import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x5d86(){const _0x632ba0=['#\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`','306orPzTy','290Davhdu','wHkBR','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','1541574ZPrPFb','main','FNhhq','\x0a\x0a**Branch\x20\x27','QLDlD','5bWaPsV','FbelG','11439BzfcuC','1837367YVFqrR','496608EoOGzt','master','8CklJTB','myjLQ','948OHbeUe','nhszN','397806EzzxUd','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','5377471XMBRKE','env'];_0x5d86=function(){return _0x632ba0;};return _0x5d86();}export async function enable(_0x5185a3){const _0x4d3e3c=_0x2d30,_0x373a71={'wHkBR':function(_0xd81d4a,_0x6eda64){return _0xd81d4a(_0x6eda64);},'PtDLl':function(_0x5bcc7e){return _0x5bcc7e();},'FbelG':'ranger\x20setup','FNhhq':'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','vHCEr':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','nhszN':function(_0x39e65b,_0x17d891){return _0x39e65b(_0x17d891);},'myjLQ':function(_0x5b1f58){return _0x5b1f58();},'ulfKa':function(_0x4b4e29){return _0x4b4e29();},'QLDlD':function(_0x44e9e7,_0x15cd69){return _0x44e9e7!==_0x15cd69;}},_0x551052=_0x5185a3||process[_0x4d3e3c(0x106)]['CLAUDE_SESSION_ID']||'',_0x5e11b2=_0x373a71['wHkBR'](Boolean,_0x5185a3),_0x1a889c=await _0x373a71['PtDLl'](getToken);if(!_0x1a889c){const _0x42800b=_0x5e11b2?'ranger\x20setup\x20--opencode':_0x373a71[_0x4d3e3c(0xfa)],_0x51e025=_0x5e11b2?_0x373a71[_0x4d3e3c(0xf6)]:_0x373a71['vHCEr'];_0x373a71[_0x4d3e3c(0x102)](printBlock,_0x4d3e3c(0x107)+_0x42800b+_0x4d3e3c(0x104)+_0x51e025);return;}try{await _0x373a71[_0x4d3e3c(0x100)](update);}catch{}_0x551052&&enableSession(_0x551052);const _0x4941d8=_0x373a71['ulfKa'](getCurrentBranch),_0x2abd7f=_0x4941d8&&_0x4941d8!==_0x4d3e3c(0xf5)&&_0x373a71[_0x4d3e3c(0xf8)](_0x4941d8,_0x4d3e3c(0xfe))?_0x4d3e3c(0xf7)+_0x4941d8+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x58fa3f=getRangerSkillContent();_0x373a71[_0x4d3e3c(0x10a)](printBlock,'#\x20RANGER\x20ENABLED'+_0x2abd7f+_0x4d3e3c(0xf3)+_0x58fa3f+'\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.');}
@@ -1 +1 @@
1
- (function(_0x104cea,_0x27e725){const _0x2f55a9=_0x1586,_0x53736d=_0x104cea();while(!![]){try{const _0x4d0009=parseInt(_0x2f55a9(0x123))/0x1*(-parseInt(_0x2f55a9(0x120))/0x2)+parseInt(_0x2f55a9(0x11e))/0x3+-parseInt(_0x2f55a9(0x122))/0x4+parseInt(_0x2f55a9(0x121))/0x5*(parseInt(_0x2f55a9(0x127))/0x6)+-parseInt(_0x2f55a9(0x125))/0x7+parseInt(_0x2f55a9(0x126))/0x8*(-parseInt(_0x2f55a9(0x124))/0x9)+parseInt(_0x2f55a9(0x11f))/0xa;if(_0x4d0009===_0x27e725)break;else _0x53736d['push'](_0x53736d['shift']());}catch(_0x62dbb0){_0x53736d['push'](_0x53736d['shift']());}}}(_0x3a06,0x2fcdb));function _0x1586(_0x58a3e1,_0x3248e6){_0x58a3e1=_0x58a3e1-0x11e;const _0x3a0644=_0x3a06();let _0x15861d=_0x3a0644[_0x58a3e1];return _0x15861d;}import{printBlock,getEnabledSessionId}from'./output.js';function _0x3a06(){const _0x349037=['32bSKQGH','413064SBdwaf','980241SZkwqn','3430820mrDcXF','59862eFNPvQ','20gPPkEo','491808JzEkHa','10etEPpi','576585nkrfpo','496160uHViXq'];_0x3a06=function(){return _0x349037;};return _0x3a06();}export async function exitPlanMode(_0x7a66b5){const _0x21d178={'GfOMW':function(_0x4d7e98,_0x33c311){return _0x4d7e98(_0x33c311);}},_0x44f677=await getEnabledSessionId(_0x7a66b5);if(!_0x44f677)return;_0x21d178['GfOMW'](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
1
+ function _0x1eee(_0x24b563,_0x12dbd4){_0x24b563=_0x24b563-0x13f;const _0x248041=_0x2480();let _0x1eeee1=_0x248041[_0x24b563];return _0x1eeee1;}(function(_0x4fcffd,_0x258248){const _0x8e6a8b=_0x1eee,_0x3cd60c=_0x4fcffd();while(!![]){try{const _0x12045b=parseInt(_0x8e6a8b(0x147))/0x1*(parseInt(_0x8e6a8b(0x142))/0x2)+parseInt(_0x8e6a8b(0x140))/0x3*(parseInt(_0x8e6a8b(0x145))/0x4)+-parseInt(_0x8e6a8b(0x144))/0x5+parseInt(_0x8e6a8b(0x141))/0x6+-parseInt(_0x8e6a8b(0x13f))/0x7*(parseInt(_0x8e6a8b(0x146))/0x8)+-parseInt(_0x8e6a8b(0x149))/0x9+parseInt(_0x8e6a8b(0x148))/0xa;if(_0x12045b===_0x258248)break;else _0x3cd60c['push'](_0x3cd60c['shift']());}catch(_0x30da36){_0x3cd60c['push'](_0x3cd60c['shift']());}}}(_0x2480,0x8bb06));import{printBlock,getEnabledSessionId}from'./output.js';function _0x2480(){const _0x33ec1b=['3616140Sjyhtf','6849459LABtUv','84svqTfV','531Rrfehv','2979042riOICq','10hIHFSi','===\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===','2580985awRqWz','15516TvaEWo','191560dCKhxH','118410XaiNyp'];_0x2480=function(){return _0x33ec1b;};return _0x2480();}export async function exitPlanMode(_0xf08a18){const _0x82d022=_0x1eee,_0x14ba76=await getEnabledSessionId(_0xf08a18);if(!_0x14ba76)return;printBlock(_0x82d022(0x143));}
@@ -1 +1 @@
1
- (function(_0x2482be,_0xfcc712){var _0x3363d6=_0xf0f8,_0x36f4cd=_0x2482be();while(!![]){try{var _0x4d096d=-parseInt(_0x3363d6(0x176))/0x1+-parseInt(_0x3363d6(0x177))/0x2*(-parseInt(_0x3363d6(0x179))/0x3)+parseInt(_0x3363d6(0x178))/0x4+-parseInt(_0x3363d6(0x175))/0x5+-parseInt(_0x3363d6(0x174))/0x6+-parseInt(_0x3363d6(0x172))/0x7*(parseInt(_0x3363d6(0x17a))/0x8)+parseInt(_0x3363d6(0x173))/0x9*(parseInt(_0x3363d6(0x17b))/0xa);if(_0x4d096d===_0xfcc712)break;else _0x36f4cd['push'](_0x36f4cd['shift']());}catch(_0xb2cb79){_0x36f4cd['push'](_0x36f4cd['shift']());}}}(_0x51fe,0x5d8f8));function _0x51fe(){var _0x41a390=['2994084mUEvyN','2190555SGfldQ','550574skJrvA','58UkkpOg','744756smAWhg','44103HtHeoY','154488KvxJft','110pjenNf','7gWEDXG','1045404pChgcS'];_0x51fe=function(){return _0x41a390;};return _0x51fe();}export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';function _0xf0f8(_0x2ac079,_0x36cdaf){_0x2ac079=_0x2ac079-0x172;var _0x51feed=_0x51fe();var _0xf0f800=_0x51feed[_0x2ac079];return _0xf0f800;}export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x5d10de,_0x21f888){var _0x449eb0=_0x2ae3,_0x1a418a=_0x5d10de();while(!![]){try{var _0x344375=-parseInt(_0x449eb0(0x68))/0x1+parseInt(_0x449eb0(0x6c))/0x2*(-parseInt(_0x449eb0(0x69))/0x3)+parseInt(_0x449eb0(0x66))/0x4*(-parseInt(_0x449eb0(0x6e))/0x5)+parseInt(_0x449eb0(0x67))/0x6+-parseInt(_0x449eb0(0x64))/0x7*(parseInt(_0x449eb0(0x6d))/0x8)+parseInt(_0x449eb0(0x6b))/0x9*(parseInt(_0x449eb0(0x6f))/0xa)+-parseInt(_0x449eb0(0x6a))/0xb*(-parseInt(_0x449eb0(0x65))/0xc);if(_0x344375===_0x21f888)break;else _0x1a418a['push'](_0x1a418a['shift']());}catch(_0x305759){_0x1a418a['push'](_0x1a418a['shift']());}}}(_0x5784,0xe6c24));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';function _0x2ae3(_0x2bcbf5,_0x45df10){_0x2bcbf5=_0x2bcbf5-0x64;var _0x578493=_0x5784();var _0x2ae39f=_0x578493[_0x2bcbf5];return _0x2ae39f;}export{disable}from'./disable.js';function _0x5784(){var _0xf16e03=['8pOYVhh','10799412VbLdfa','114565RKPkzW','39VUnJlX','22XOfQFB','1683maxddQ','134546UPAIib','50408xawszx','1872415iEwpFG','43980DjRjSe','1512LkCBLt','8531736OcSptk'];_0x5784=function(){return _0xf16e03;};return _0x5784();}export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x2c1c27,_0x15ac08){const _0x466805=_0x5c2f,_0x58ffc0=_0x2c1c27();while(!![]){try{const _0x55a9ca=parseInt(_0x466805(0x1a3))/0x1*(-parseInt(_0x466805(0x19e))/0x2)+-parseInt(_0x466805(0x19f))/0x3*(-parseInt(_0x466805(0x1a9))/0x4)+-parseInt(_0x466805(0x1a8))/0x5*(-parseInt(_0x466805(0x1ac))/0x6)+-parseInt(_0x466805(0x1a2))/0x7+-parseInt(_0x466805(0x1a6))/0x8+parseInt(_0x466805(0x1a4))/0x9*(parseInt(_0x466805(0x1a7))/0xa)+parseInt(_0x466805(0x1aa))/0xb;if(_0x55a9ca===_0x15ac08)break;else _0x58ffc0['push'](_0x58ffc0['shift']());}catch(_0x45a527){_0x58ffc0['push'](_0x58ffc0['shift']());}}}(_0x9ef1,0x2d2b9));function _0x9ef1(){const _0x879891=['852504stTXmF','100788AFoQzh','3LvcdHH','fKSls','stdin','120855izaUxe','6CDbjYb','9xksVdj','trim','619008BlvTAT','3015940lplzMf','5LEaGHy','12268lKWGKs','1488047MtvJKu','session_id'];_0x9ef1=function(){return _0x879891;};return _0x9ef1();}import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x3ee991){console['log'](_0x3ee991);}export async function readHookInput(){const _0x4874d9=_0x5c2f;let _0x41d0b6='';try{for await(const _0x5eb945 of process[_0x4874d9(0x1a1)]){_0x41d0b6+=_0x5eb945;}}catch{return null;}if(!_0x41d0b6[_0x4874d9(0x1a5)]())return null;try{return JSON['parse'](_0x41d0b6);}catch{return null;}}function _0x5c2f(_0x5af89b,_0x5bfc01){_0x5af89b=_0x5af89b-0x19e;const _0x9ef123=_0x9ef1();let _0x5c2f5d=_0x9ef123[_0x5af89b];return _0x5c2f5d;}export async function getEnabledSessionId(_0x599037){const _0x41df1d=_0x5c2f,_0x2813da={'fKSls':function(_0x57f54c){return _0x57f54c();},'EAqhW':function(_0x57ef7e,_0x552ac9){return _0x57ef7e(_0x552ac9);}};if(_0x599037)return isSessionEnabled(_0x599037)?_0x599037:null;const _0x16598c=await _0x2813da[_0x41df1d(0x1a0)](readHookInput),_0x433d76=_0x16598c?.[_0x41df1d(0x1ab)];if(!_0x433d76||!_0x2813da['EAqhW'](isSessionEnabled,_0x433d76))return null;return _0x433d76;}export async function getEnabledHookContext(_0x16a663){const _0x150a33={'CleFf':function(_0x5c8512,_0x32b840){return _0x5c8512(_0x32b840);}};if(_0x16a663){if(!isSessionEnabled(_0x16a663))return null;return{'sessionId':_0x16a663,'input':{'session_id':_0x16a663}};}const _0x177131=await readHookInput(),_0x2b3a7d=_0x177131?.['session_id'];if(!_0x2b3a7d||!_0x150a33['CleFf'](isSessionEnabled,_0x2b3a7d))return null;return{'sessionId':_0x2b3a7d,'input':_0x177131};}
1
+ function _0x31cd(){const _0x19753b=['6066488mqFbar','9672jRdQRH','1064052YWkzyD','3547175JZFpKG','1252qWFbye','11440373IIGhUq','log','83822WazRMU','5420346VFMjfz','26HgEjJr','170VtMyRr','parse','session_id'];_0x31cd=function(){return _0x19753b;};return _0x31cd();}(function(_0x2c4a7c,_0x634b00){const _0x28bd58=_0x7a30,_0x26b5d7=_0x2c4a7c();while(!![]){try{const _0x511b90=-parseInt(_0x28bd58(0xab))/0x1*(-parseInt(_0x28bd58(0xa9))/0x2)+parseInt(_0x28bd58(0xb0))/0x3*(parseInt(_0x28bd58(0xa6))/0x4)+-parseInt(_0x28bd58(0xa5))/0x5+-parseInt(_0x28bd58(0xaa))/0x6+parseInt(_0x28bd58(0xa7))/0x7+parseInt(_0x28bd58(0xaf))/0x8+parseInt(_0x28bd58(0xb1))/0x9*(-parseInt(_0x28bd58(0xac))/0xa);if(_0x511b90===_0x634b00)break;else _0x26b5d7['push'](_0x26b5d7['shift']());}catch(_0x39706d){_0x26b5d7['push'](_0x26b5d7['shift']());}}}(_0x31cd,0xd418a));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x245504){const _0x190566=_0x7a30;console[_0x190566(0xa8)](_0x245504);}function _0x7a30(_0x3dff6b,_0x3f7764){_0x3dff6b=_0x3dff6b-0xa5;const _0x31cd71=_0x31cd();let _0x7a30dc=_0x31cd71[_0x3dff6b];return _0x7a30dc;}export async function readHookInput(){const _0x15f8b0=_0x7a30;let _0x2efd39='';try{for await(const _0x229826 of process['stdin']){_0x2efd39+=_0x229826;}}catch{return null;}if(!_0x2efd39['trim']())return null;try{return JSON[_0x15f8b0(0xad)](_0x2efd39);}catch{return null;}}export async function getEnabledSessionId(_0x158c31){const _0xaee583=_0x7a30,_0x2658c9={'FPnFY':function(_0xf4a099,_0x37ebf5){return _0xf4a099(_0x37ebf5);}};if(_0x158c31)return _0x2658c9['FPnFY'](isSessionEnabled,_0x158c31)?_0x158c31:null;const _0x5847ef=await readHookInput(),_0x10a353=_0x5847ef?.[_0xaee583(0xae)];if(!_0x10a353||!isSessionEnabled(_0x10a353))return null;return _0x10a353;}export async function getEnabledHookContext(_0x36dd0e){const _0x2efcef={'nsvXf':function(_0x4ff8e8,_0x24aa59){return _0x4ff8e8(_0x24aa59);}};if(_0x36dd0e){if(!_0x2efcef['nsvXf'](isSessionEnabled,_0x36dd0e))return null;return{'sessionId':_0x36dd0e,'input':{'session_id':_0x36dd0e}};}const _0x2e50c6=await readHookInput(),_0x254fda=_0x2e50c6?.['session_id'];if(!_0x254fda||!isSessionEnabled(_0x254fda))return null;return{'sessionId':_0x254fda,'input':_0x2e50c6};}
@@ -1 +1 @@
1
- (function(_0x182219,_0x237533){const _0x279e37=_0xc1c7,_0x3505e3=_0x182219();while(!![]){try{const _0x398de5=parseInt(_0x279e37(0xca))/0x1+-parseInt(_0x279e37(0xcc))/0x2+-parseInt(_0x279e37(0xbe))/0x3*(-parseInt(_0x279e37(0xc2))/0x4)+parseInt(_0x279e37(0xc6))/0x5+parseInt(_0x279e37(0xbf))/0x6+parseInt(_0x279e37(0xc7))/0x7*(-parseInt(_0x279e37(0xc5))/0x8)+parseInt(_0x279e37(0xc1))/0x9*(-parseInt(_0x279e37(0xc0))/0xa);if(_0x398de5===_0x237533)break;else _0x3505e3['push'](_0x3505e3['shift']());}catch(_0x7f6094){_0x3505e3['push'](_0x3505e3['shift']());}}}(_0x3fec,0xc7338));function _0xc1c7(_0x794413,_0x1dbb36){_0x794413=_0x794413-0xbe;const _0x3feccd=_0x3fec();let _0xc1c774=_0x3feccd[_0x794413];return _0xc1c774;}import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x3fec(){const _0x462674=['1454706sTxFcg','10pCOmBq','6074361ALmsxO','32488DvgfgU','XxOce','input','40vGkXET','3720910CNDTQn','491813gTtXQr','bDuvJ','sessionId','1318688rHOIka','===\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===','1429902cygfDi','93LSBiPn'];_0x3fec=function(){return _0x462674;};return _0x3fec();}export async function planReminder(_0x4b977a){const _0x929cc9=_0xc1c7,_0xb0e84d={'XxOce':function(_0x11b17a,_0x435fdb){return _0x11b17a(_0x435fdb);},'bDuvJ':function(_0x36477a,_0x19c430){return _0x36477a!==_0x19c430;},'KHvfj':'plan'},_0x4ca8e3=await _0xb0e84d[_0x929cc9(0xc3)](getEnabledHookContext,_0x4b977a);if(!_0x4ca8e3)return;if(_0xb0e84d[_0x929cc9(0xc8)](_0x4ca8e3[_0x929cc9(0xc4)]['permission_mode'],_0xb0e84d['KHvfj']))return;if(!shouldShowPlanReminder(_0x4ca8e3[_0x929cc9(0xc9)]))return;printBlock(_0x929cc9(0xcb));}
1
+ (function(_0x5ce8eb,_0x3e72f1){const _0x3acc6f=_0x2d6d,_0x44bca8=_0x5ce8eb();while(!![]){try{const _0x4d142d=parseInt(_0x3acc6f(0x19e))/0x1+parseInt(_0x3acc6f(0x19a))/0x2+-parseInt(_0x3acc6f(0x19d))/0x3+parseInt(_0x3acc6f(0x198))/0x4+-parseInt(_0x3acc6f(0x19c))/0x5*(-parseInt(_0x3acc6f(0x1a2))/0x6)+-parseInt(_0x3acc6f(0x19b))/0x7+-parseInt(_0x3acc6f(0x1a1))/0x8;if(_0x4d142d===_0x3e72f1)break;else _0x44bca8['push'](_0x44bca8['shift']());}catch(_0x541fe0){_0x44bca8['push'](_0x44bca8['shift']());}}}(_0x1141,0x67683));import{printBlock,getEnabledHookContext}from'./output.js';function _0x1141(){const _0x3db949=['===\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===','766688CFmtpc','1635956QcTujt','1255osgXvs','2393337PaJwKh','750879lGQEho','plan','ZvYDH','4281216cHRGjA','1014MtqoSf','sessionId','3254208wJxTlN'];_0x1141=function(){return _0x3db949;};return _0x1141();}function _0x2d6d(_0x56c3c5,_0x26a5c2){_0x56c3c5=_0x56c3c5-0x197;const _0x1141df=_0x1141();let _0x2d6d5c=_0x1141df[_0x56c3c5];return _0x2d6d5c;}import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0xccd04f){const _0x2a99c7=_0x2d6d,_0x14f6ec={'ZvYDH':function(_0x99b580,_0xabddb2){return _0x99b580(_0xabddb2);},'yYVJa':function(_0xe093ec,_0x351a5d){return _0xe093ec!==_0x351a5d;}},_0xb0be83=await _0x14f6ec[_0x2a99c7(0x1a0)](getEnabledHookContext,_0xccd04f);if(!_0xb0be83)return;if(_0x14f6ec['yYVJa'](_0xb0be83['input']['permission_mode'],_0x2a99c7(0x19f)))return;if(!_0x14f6ec[_0x2a99c7(0x1a0)](shouldShowPlanReminder,_0xb0be83[_0x2a99c7(0x197)]))return;printBlock(_0x2a99c7(0x199));}
@@ -1 +1 @@
1
- function _0x2cea(){const _0xec4c02=['682722flrAEV','6NlSWRc','10YlcOaS','1QIqMkB','1779183pwNgWe','899675GZoEef','2261112djmega','890684HBwrtm','830078ySCsTk','995632bvWyoo'];_0x2cea=function(){return _0xec4c02;};return _0x2cea();}(function(_0x29ed3f,_0x470cd1){const _0x1b5f5b=_0x4acd,_0x17a115=_0x29ed3f();while(!![]){try{const _0x4c6f12=parseInt(_0x1b5f5b(0x1e1))/0x1*(parseInt(_0x1b5f5b(0x1dc))/0x2)+parseInt(_0x1b5f5b(0x1df))/0x3*(-parseInt(_0x1b5f5b(0x1db))/0x4)+parseInt(_0x1b5f5b(0x1d9))/0x5+parseInt(_0x1b5f5b(0x1da))/0x6+-parseInt(_0x1b5f5b(0x1d8))/0x7+-parseInt(_0x1b5f5b(0x1dd))/0x8+-parseInt(_0x1b5f5b(0x1de))/0x9*(-parseInt(_0x1b5f5b(0x1e0))/0xa);if(_0x4c6f12===_0x470cd1)break;else _0x17a115['push'](_0x17a115['shift']());}catch(_0x4bfba0){_0x17a115['push'](_0x17a115['shift']());}}}(_0x2cea,0x369e7));import{printBlock,getEnabledSessionId}from'./output.js';function _0x4acd(_0x2f5ff4,_0x1d3f1c){_0x2f5ff4=_0x2f5ff4-0x1d8;const _0x2ceafb=_0x2cea();let _0x4acda6=_0x2ceafb[_0x2f5ff4];return _0x4acda6;}export async function planStart(_0x494efd){const _0xfecb8c=await getEnabledSessionId(_0x494efd);if(!_0xfecb8c)return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}
1
+ (function(_0x282fc7,_0x567951){const _0x33ec19=_0x7524,_0x1b0312=_0x282fc7();while(!![]){try{const _0x572349=-parseInt(_0x33ec19(0x142))/0x1*(-parseInt(_0x33ec19(0x145))/0x2)+-parseInt(_0x33ec19(0x149))/0x3*(-parseInt(_0x33ec19(0x144))/0x4)+parseInt(_0x33ec19(0x147))/0x5*(parseInt(_0x33ec19(0x14a))/0x6)+parseInt(_0x33ec19(0x143))/0x7+-parseInt(_0x33ec19(0x148))/0x8*(-parseInt(_0x33ec19(0x140))/0x9)+parseInt(_0x33ec19(0x141))/0xa*(parseInt(_0x33ec19(0x13f))/0xb)+-parseInt(_0x33ec19(0x14b))/0xc;if(_0x572349===_0x567951)break;else _0x1b0312['push'](_0x1b0312['shift']());}catch(_0x158bff){_0x1b0312['push'](_0x1b0312['shift']());}}}(_0x5c57,0xc464f));import{printBlock,getEnabledSessionId}from'./output.js';function _0x5c57(){const _0x30330d=['72pwJbKz','3chkOts','1307214FQibto','39569064CYPazu','33phJVbN','624627cldwBM','2815810ytwtIc','19SYuVZz','2009119QDnliW','3250628DvbcsT','69614qPaOLF','gxVbb','20LeKVRo'];_0x5c57=function(){return _0x30330d;};return _0x5c57();}function _0x7524(_0x11662a,_0x4920c5){_0x11662a=_0x11662a-0x13f;const _0x5c57ec=_0x5c57();let _0x752483=_0x5c57ec[_0x11662a];return _0x752483;}export async function planStart(_0x3a3d50){const _0x4df1ea=_0x7524,_0x4c604b={'gxVbb':function(_0x50f123,_0x2bf7c3){return _0x50f123(_0x2bf7c3);},'wSzJd':function(_0x4f1b8c,_0x199593){return _0x4f1b8c(_0x199593);}},_0x135889=await _0x4c604b[_0x4df1ea(0x146)](getEnabledSessionId,_0x3a3d50);if(!_0x135889)return;_0x4c604b['wSzJd'](printBlock,'===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- (function(_0x2d0bda,_0x300fce){const _0x15d03b=_0x369a,_0x22153d=_0x2d0bda();while(!![]){try{const _0x2ae400=-parseInt(_0x15d03b(0x17b))/0x1+parseInt(_0x15d03b(0x182))/0x2*(-parseInt(_0x15d03b(0x183))/0x3)+parseInt(_0x15d03b(0x187))/0x4*(parseInt(_0x15d03b(0x184))/0x5)+-parseInt(_0x15d03b(0x17c))/0x6+-parseInt(_0x15d03b(0x181))/0x7*(-parseInt(_0x15d03b(0x186))/0x8)+parseInt(_0x15d03b(0x17e))/0x9+-parseInt(_0x15d03b(0x180))/0xa*(-parseInt(_0x15d03b(0x185))/0xb);if(_0x2ae400===_0x300fce)break;else _0x22153d['push'](_0x22153d['shift']());}catch(_0x564f9d){_0x22153d['push'](_0x22153d['shift']());}}}(_0x1699,0x88990));function _0x1699(){const _0x30ed0b=['log','180342rHXLaz','1937754czUdnd','stringify','766323aPtPUd','PLtvY','780DGnHjj','959oGOOlT','75040EWLdGb','45xCyNPF','1165710rYnxFr','1177ekfQme','48624OZKmel','12tDDZqy'];_0x1699=function(){return _0x30ed0b;};return _0x1699();}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0x369a(_0x408a89,_0x405e33){_0x408a89=_0x408a89-0x17a;const _0x169936=_0x1699();let _0x369a94=_0x169936[_0x408a89];return _0x369a94;}import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x2d5867){const _0x4f6d47=_0x369a,_0x1a486f={'CCFuB':function(_0x2f475b,_0x500f91){return _0x2f475b(_0x500f91);},'jDztk':function(_0x1fbd3d){return _0x1fbd3d();},'PLtvY':'PostToolUse'},_0x147327=await getEnabledSessionId(_0x2d5867);if(!_0x147327)return;_0x1a486f['CCFuB'](updateBranchTracking,_0x147327);const _0x374242=await _0x1a486f['jDztk'](getToken);if(!_0x374242)return;const _0x16f77b=getSessionEntry(_0x147327);if(_0x16f77b){const _0x2926fb={'hookSpecificOutput':{'hookEventName':_0x1a486f[_0x4f6d47(0x17f)],'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[_0x4f6d47(0x17a)](JSON[_0x4f6d47(0x17d)](_0x2926fb));return;}const _0x568010={'hookSpecificOutput':{'hookEventName':_0x1a486f[_0x4f6d47(0x17f)],'additionalContext':'RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.'}};console['log'](JSON['stringify'](_0x568010));}
1
+ function _0xec9e(_0x3a3a13,_0x189514){_0x3a3a13=_0x3a3a13-0x136;const _0x1db6f3=_0x1db6();let _0xec9e24=_0x1db6f3[_0x3a3a13];return _0xec9e24;}(function(_0x2819f8,_0x3542aa){const _0x5c2d26=_0xec9e,_0x3354eb=_0x2819f8();while(!![]){try{const _0x4a8dba=-parseInt(_0x5c2d26(0x13e))/0x1+parseInt(_0x5c2d26(0x13f))/0x2*(-parseInt(_0x5c2d26(0x136))/0x3)+parseInt(_0x5c2d26(0x137))/0x4*(parseInt(_0x5c2d26(0x142))/0x5)+parseInt(_0x5c2d26(0x13c))/0x6+parseInt(_0x5c2d26(0x139))/0x7+parseInt(_0x5c2d26(0x13a))/0x8*(-parseInt(_0x5c2d26(0x13d))/0x9)+-parseInt(_0x5c2d26(0x13b))/0xa*(-parseInt(_0x5c2d26(0x141))/0xb);if(_0x4a8dba===_0x3542aa)break;else _0x3354eb['push'](_0x3354eb['shift']());}catch(_0x1b617f){_0x3354eb['push'](_0x3354eb['shift']());}}}(_0x1db6,0xaee60));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';function _0x1db6(){const _0x2bd6b0=['16daOJjk','40lsVEQn','4694178SmfmPa','5563548aSdhtH','1242098OvzwZD','6uMxZMh','stringify','7962218fzTLnU','55eZhoWL','1318029LtfheU','79364KAkLzP','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.','4318223dmQrXD'];_0x1db6=function(){return _0x2bd6b0;};return _0x1db6();}export async function postEdit(_0x50baa9){const _0x36bdee=_0xec9e,_0x40f5ab={'TNmJx':function(_0x73a7c5,_0x5a52b3){return _0x73a7c5(_0x5a52b3);},'FJjHc':function(_0x4ab1bc,_0x4087d1){return _0x4ab1bc(_0x4087d1);},'QaCaH':function(_0x31e477){return _0x31e477();},'pKpYg':'PostToolUse'},_0x426ad2=await _0x40f5ab['TNmJx'](getEnabledSessionId,_0x50baa9);if(!_0x426ad2)return;_0x40f5ab['FJjHc'](updateBranchTracking,_0x426ad2);const _0x92263f=await _0x40f5ab['QaCaH'](getToken);if(!_0x92263f)return;const _0x164aa9=getSessionEntry(_0x426ad2);if(_0x164aa9){const _0x1d2ace={'hookSpecificOutput':{'hookEventName':_0x40f5ab['pKpYg'],'additionalContext':'RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).'}};console['log'](JSON[_0x36bdee(0x140)](_0x1d2ace));return;}const _0x478269={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0x36bdee(0x138)}};console['log'](JSON['stringify'](_0x478269));}
@@ -1 +1 @@
1
- (function(_0x652c96,_0x6e2c37){const _0x5cfda7=_0xf147,_0x561148=_0x652c96();while(!![]){try{const _0x1443a9=-parseInt(_0x5cfda7(0x106))/0x1+parseInt(_0x5cfda7(0x109))/0x2*(-parseInt(_0x5cfda7(0x10a))/0x3)+-parseInt(_0x5cfda7(0x103))/0x4+-parseInt(_0x5cfda7(0x102))/0x5+-parseInt(_0x5cfda7(0x107))/0x6+-parseInt(_0x5cfda7(0x108))/0x7*(-parseInt(_0x5cfda7(0x105))/0x8)+-parseInt(_0x5cfda7(0x10b))/0x9*(-parseInt(_0x5cfda7(0x10d))/0xa);if(_0x1443a9===_0x6e2c37)break;else _0x561148['push'](_0x561148['shift']());}catch(_0x53f062){_0x561148['push'](_0x561148['shift']());}}}(_0x5128,0xceb59));import{getToken}from'../utils/keychain.js';function _0x5128(){const _0x42b861=['21fKDpjT','257722nhBJNr','27QSwtkg','18bJSOBa','LQisc','16890670TeqFdc','1769780KrHCYu','3574616tOBunf','===\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`.','2389448OHqAiL','384946ZAOMzY','3811146NyDkdw'];_0x5128=function(){return _0x42b861;};return _0x5128();}function _0xf147(_0x576d69,_0x3de20b){_0x576d69=_0x576d69-0x102;const _0x51282f=_0x5128();let _0xf147ec=_0x51282f[_0x576d69];return _0xf147ec;}import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x2f0ea4){const _0x462acd=_0xf147,_0x40a89a={'LQisc':function(_0x5f5699,_0x6ecf35){return _0x5f5699(_0x6ecf35);}},_0x3dc87a=await _0x40a89a[_0x462acd(0x10c)](getEnabledSessionId,_0x2f0ea4);if(!_0x3dc87a)return;try{const _0x53008c=await getToken();if(!_0x53008c)return;printBlock(_0x462acd(0x104));}catch{}}
1
+ (function(_0x3b4b3d,_0x312685){const _0x49c762=_0x2343,_0x11bef9=_0x3b4b3d();while(!![]){try{const _0x3ec0fa=parseInt(_0x49c762(0x1df))/0x1*(-parseInt(_0x49c762(0x1dd))/0x2)+-parseInt(_0x49c762(0x1d8))/0x3+-parseInt(_0x49c762(0x1d6))/0x4*(parseInt(_0x49c762(0x1db))/0x5)+parseInt(_0x49c762(0x1d7))/0x6+-parseInt(_0x49c762(0x1da))/0x7*(-parseInt(_0x49c762(0x1d5))/0x8)+-parseInt(_0x49c762(0x1e0))/0x9*(-parseInt(_0x49c762(0x1d9))/0xa)+parseInt(_0x49c762(0x1de))/0xb*(parseInt(_0x49c762(0x1d4))/0xc);if(_0x3ec0fa===_0x312685)break;else _0x11bef9['push'](_0x11bef9['shift']());}catch(_0x3382ec){_0x11bef9['push'](_0x11bef9['shift']());}}}(_0x3ff2,0xece44));import{getToken}from'../utils/keychain.js';function _0x2343(_0x4ad387,_0x350e6d){_0x4ad387=_0x4ad387-0x1d3;const _0x3ff2a3=_0x3ff2();let _0x23430c=_0x3ff2a3[_0x4ad387];return _0x23430c;}function _0x3ff2(){const _0x2bb9ec=['40ZwaiMo','===\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`.','10XtKjdL','176yIfVBM','341494EyZLmy','5832smmrjV','ZOMjL','744792dnmDbF','13377512hycAAf','514972AdNLmw','5041518oGKMDy','4564368kwMxpY','26600CQjfnz','7qoUGlb'];_0x3ff2=function(){return _0x2bb9ec;};return _0x3ff2();}import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x119e99){const _0x509f37=_0x2343,_0x42b762={'ZOMjL':function(_0x52fd98,_0x52c284){return _0x52fd98(_0x52c284);}},_0x48a620=await _0x42b762[_0x509f37(0x1d3)](getEnabledSessionId,_0x119e99);if(!_0x48a620)return;try{const _0x4d85fc=await getToken();if(!_0x4d85fc)return;_0x42b762[_0x509f37(0x1d3)](printBlock,_0x509f37(0x1dc));}catch{}}
@@ -1 +1 @@
1
- (function(_0x1c5658,_0xb418a1){const _0x2d06ea=_0x3725,_0x3e818d=_0x1c5658();while(!![]){try{const _0x3317c1=-parseInt(_0x2d06ea(0xf3))/0x1*(parseInt(_0x2d06ea(0xf4))/0x2)+parseInt(_0x2d06ea(0xe8))/0x3*(parseInt(_0x2d06ea(0xea))/0x4)+parseInt(_0x2d06ea(0xe7))/0x5*(parseInt(_0x2d06ea(0xf0))/0x6)+-parseInt(_0x2d06ea(0xee))/0x7*(-parseInt(_0x2d06ea(0xef))/0x8)+-parseInt(_0x2d06ea(0xf1))/0x9*(parseInt(_0x2d06ea(0xec))/0xa)+-parseInt(_0x2d06ea(0xe9))/0xb+parseInt(_0x2d06ea(0xeb))/0xc;if(_0x3317c1===_0xb418a1)break;else _0x3e818d['push'](_0x3e818d['shift']());}catch(_0x538bbc){_0x3e818d['push'](_0x3e818d['shift']());}}}(_0x5441,0x85a40));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0x3725(_0x577ec9,_0x3bdbb2){_0x577ec9=_0x577ec9-0xe6;const _0x544185=_0x5441();let _0x3725e8=_0x544185[_0x577ec9];return _0x3725e8;}function _0x5441(){const _0x5260eb=['6fVaPog','1745946viqRqH','XSBZW','397158CBkHQb','2jRoLcB','session_id','4437320uhPzqX','3KzOUni','4385216CNpsFm','2061224tQxLNN','701064dmNnGx','10lywNOW','clear','14mVsCSa','304032JLntnf'];_0x5441=function(){return _0x5260eb;};return _0x5441();}import{readHookInput}from'./output.js';export async function sessionEnd(_0x3fd84f){const _0x569611=_0x3725,_0x153ae2={'OrWri':function(_0x10b9a6){return _0x10b9a6();},'XSBZW':_0x569611(0xed)},_0x685d9f=process['env']['CLAUDE_SESSION_ID'];let _0x5ffc98=_0x3fd84f,_0x8e9c3f;if(!_0x3fd84f){if(_0x685d9f&&!isSessionEnabled(_0x685d9f))return;const _0x17d45d=await _0x153ae2['OrWri'](readHookInput);_0x5ffc98=_0x17d45d?.[_0x569611(0xe6)]||_0x685d9f,_0x8e9c3f=_0x17d45d?.['reason'];}if(!_0x5ffc98)return;_0x8e9c3f===_0x153ae2[_0x569611(0xf2)]&&recordEnabledSessionCleared(_0x5ffc98);}
1
+ (function(_0x24e912,_0x3beb5a){const _0x180aae=_0x588e,_0x48a4aa=_0x24e912();while(!![]){try{const _0x5e38af=-parseInt(_0x180aae(0xd1))/0x1*(-parseInt(_0x180aae(0xc6))/0x2)+parseInt(_0x180aae(0xce))/0x3+-parseInt(_0x180aae(0xd2))/0x4*(parseInt(_0x180aae(0xd0))/0x5)+-parseInt(_0x180aae(0xcc))/0x6*(parseInt(_0x180aae(0xcd))/0x7)+parseInt(_0x180aae(0xc7))/0x8*(parseInt(_0x180aae(0xd3))/0x9)+-parseInt(_0x180aae(0xc9))/0xa+parseInt(_0x180aae(0xd4))/0xb*(parseInt(_0x180aae(0xcb))/0xc);if(_0x5e38af===_0x3beb5a)break;else _0x48a4aa['push'](_0x48a4aa['shift']());}catch(_0x2badef){_0x48a4aa['push'](_0x48a4aa['shift']());}}}(_0x286b,0x863c4));function _0x286b(){const _0x13e6b0=['612056SfIaCE','session_id','7306200mGYilx','vGEOn','25277964BpNUXm','6uuqoiD','6083203VoAizh','974151PPFZsn','eXcnf','55deQANt','13hvisUn','385432SklNXX','36FeMZKS','11JzwxNr','env','72642eJHmla'];_0x286b=function(){return _0x13e6b0;};return _0x286b();}function _0x588e(_0xc67afb,_0x2bed18){_0xc67afb=_0xc67afb-0xc6;const _0x286bf7=_0x286b();let _0x588e6a=_0x286bf7[_0xc67afb];return _0x588e6a;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x132eb1){const _0x46ab4b=_0x588e,_0x16c135={'eXcnf':function(_0x6c70b6,_0x18e0f4){return _0x6c70b6===_0x18e0f4;},'vGEOn':'clear'},_0x476c30=process[_0x46ab4b(0xd5)]['CLAUDE_SESSION_ID'];let _0x4ae2bb=_0x132eb1,_0x25e1b3;if(!_0x132eb1){if(_0x476c30&&!isSessionEnabled(_0x476c30))return;const _0x51a3a9=await readHookInput();_0x4ae2bb=_0x51a3a9?.[_0x46ab4b(0xc8)]||_0x476c30,_0x25e1b3=_0x51a3a9?.['reason'];}if(!_0x4ae2bb)return;_0x16c135[_0x46ab4b(0xcf)](_0x25e1b3,_0x16c135[_0x46ab4b(0xca)])&&recordEnabledSessionCleared(_0x4ae2bb);}
@@ -1 +1 @@
1
- const _0x1c2e60=_0x3b0e;(function(_0x8a3257,_0x5a0a5d){const _0x222103=_0x3b0e,_0x3e821d=_0x8a3257();while(!![]){try{const _0xabca77=parseInt(_0x222103(0x167))/0x1*(parseInt(_0x222103(0x16c))/0x2)+parseInt(_0x222103(0x165))/0x3+-parseInt(_0x222103(0x169))/0x4+-parseInt(_0x222103(0x163))/0x5+parseInt(_0x222103(0x168))/0x6*(parseInt(_0x222103(0x15f))/0x7)+-parseInt(_0x222103(0x15d))/0x8+parseInt(_0x222103(0x160))/0x9;if(_0xabca77===_0x5a0a5d)break;else _0x3e821d['push'](_0x3e821d['shift']());}catch(_0x1bf8e5){_0x3e821d['push'](_0x3e821d['shift']());}}}(_0xa632,0xd199c));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';function _0x3b0e(_0x36802e,_0x34e228){_0x36802e=_0x36802e-0x158;const _0xa632db=_0xa632();let _0x3b0e58=_0xa632db[_0x36802e];return _0x3b0e58;}function _0xa632(){const _0x137f63=['245214NUGjFk','18qAGpFy','6378996CLGumc','CLAUDE_ENV_FILE','session_id','6GnBcPk','cRhvG','XDfoa','master','mYCsx','main','hdfEb','trackCommandStart','7366168hhDdhA','HsBAb','2497789jzQUcj','7383420HZZEgj','QvMnJ','SessionStart','1318400FyCHoF','success','3033663CDcwpJ','=================================================================\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================================================================='];_0xa632=function(){return _0x137f63;};return _0xa632();}import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';const RANGER_AUTO_ENABLED_PROMPT=_0x1c2e60(0x166);export async function sessionStart(_0x1a5110){const _0x3ab9ab=_0x1c2e60,_0x3d0abb={'QvMnJ':function(_0x43b6f7,_0x2d8351){return _0x43b6f7||_0x2d8351;},'mYCsx':_0x3ab9ab(0x16b),'aNwbm':'source','XDfoa':function(_0x4ef0f6,_0x2b327d){return _0x4ef0f6&&_0x2b327d;},'cRhvG':function(_0x37d490,_0x327d27,_0xac8743){return _0x37d490(_0x327d27,_0xac8743);},'iJbxl':function(_0x55a616,_0x553086){return _0x55a616===_0x553086;},'AGReY':function(_0x45781c,_0x46f820){return _0x45781c(_0x46f820);},'eEPCf':'hook:session-start','hdfEb':function(_0x226f50,_0x43d9ba){return _0x226f50!==_0x43d9ba;},'GdTuQ':_0x3ab9ab(0x162),'HsBAb':function(_0x3932ca,_0x90e5b){return _0x3932ca+_0x90e5b;}};let _0xb714ba=_0x3d0abb[_0x3ab9ab(0x161)](_0x1a5110,''),_0xf348f6;if(!_0x1a5110){let _0x1aef86='';for await(const _0x2b7200 of process['stdin']){_0x1aef86+=_0x2b7200;}try{const _0x26bfb5=JSON['parse'](_0x1aef86);_0xb714ba=_0x26bfb5[_0x3d0abb[_0x3ab9ab(0x159)]]||'',_0xf348f6=_0x26bfb5[_0x3d0abb['aNwbm']];}catch{}const _0x55b0c4=process['env'][_0x3ab9ab(0x16a)];if(_0x3d0abb[_0x3ab9ab(0x16e)](_0x55b0c4,_0xb714ba))try{await _0x3d0abb[_0x3ab9ab(0x16d)](appendFile,_0x55b0c4,'export\x20CLAUDE_SESSION_ID=\x22'+_0xb714ba+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0xb714ba){shouldAutoEnableAfterClear(_0xf348f6)&&autoEnableAfterClear(_0xb714ba);initBranchTracking(_0xb714ba);_0x3d0abb['iJbxl'](resolveHookMode(),'on')&&_0x3d0abb['AGReY'](enableSession,_0xb714ba);const _0x44355e=isSessionEnabled(_0xb714ba);try{const _0x41b4ea=createTelemetryCollector(_0x3d0abb['eEPCf']);await _0x41b4ea[_0x3ab9ab(0x15c)]({'sessionId':_0xb714ba,'hooksEnabled':_0x44355e}),await _0x41b4ea['trackCommandEnd'](_0x3ab9ab(0x164));}catch{}if(_0x44355e){const _0xcdb733=getCurrentBranch(),_0x15883c=_0xcdb733&&_0xcdb733!==_0x3ab9ab(0x15a)&&_0x3d0abb[_0x3ab9ab(0x15b)](_0xcdb733,_0x3ab9ab(0x158))?'\x20(Branch:\x20'+_0xcdb733+')':'',_0x1efb3c={'hookSpecificOutput':{'hookEventName':_0x3d0abb['GdTuQ'],'additionalContext':_0x3d0abb[_0x3ab9ab(0x15e)](RANGER_AUTO_ENABLED_PROMPT,_0x15883c)}};console['log'](JSON['stringify'](_0x1efb3c));}}}
1
+ (function(_0x423233,_0xc4b897){const _0x2e0ae8=_0x5e5f,_0x58b87f=_0x423233();while(!![]){try{const _0x1e512f=-parseInt(_0x2e0ae8(0x1bc))/0x1+-parseInt(_0x2e0ae8(0x1be))/0x2+parseInt(_0x2e0ae8(0x1c5))/0x3*(-parseInt(_0x2e0ae8(0x1b9))/0x4)+-parseInt(_0x2e0ae8(0x1c7))/0x5*(parseInt(_0x2e0ae8(0x1c4))/0x6)+parseInt(_0x2e0ae8(0x1c8))/0x7*(-parseInt(_0x2e0ae8(0x1c1))/0x8)+-parseInt(_0x2e0ae8(0x1b8))/0x9*(-parseInt(_0x2e0ae8(0x1c0))/0xa)+parseInt(_0x2e0ae8(0x1bd))/0xb;if(_0x1e512f===_0xc4b897)break;else _0x58b87f['push'](_0x58b87f['shift']());}catch(_0x8f58c2){_0x58b87f['push'](_0x58b87f['shift']());}}}(_0x2f5e,0x494f8));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';function _0x5e5f(_0x4b6129,_0x3d19a3){_0x4b6129=_0x4b6129-0x1b4;const _0x2f5e76=_0x2f5e();let _0x5e5ff4=_0x2f5e76[_0x4b6129];return _0x5e5ff4;}const RANGER_AUTO_ENABLED_PROMPT='=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================';function _0x2f5e(){const _0x37c7aa=['941301aqBLRe','1156156Kshbme','master','trackCommandEnd','515277tefhGb','25003165HpskML','1141882BfEaXL','lNcYD','10bkpaba','8sfQcrc','session_id','GSsLE','2403222bgPEfb','6bfjEzu','main','5zNqjKP','87437sRBPcd','LFVIl','success','SessionStart','pFoOz','hook:session-start'];_0x2f5e=function(){return _0x37c7aa;};return _0x2f5e();}export async function sessionStart(_0x110034){const _0x36156d=_0x5e5f,_0x3d3ed4={'lNcYD':_0x36156d(0x1c2),'pFoOz':function(_0x213f6e,_0x5d365d,_0x32cb29){return _0x213f6e(_0x5d365d,_0x32cb29);},'TtMCL':function(_0x44ac2b){return _0x44ac2b();},'LFVIl':function(_0x3ba674,_0x115aba){return _0x3ba674(_0x115aba);},'GSsLE':function(_0x53c51a,_0x437379){return _0x53c51a(_0x437379);},'jPeiT':_0x36156d(0x1b4),'SCRBT':function(_0x10c9d2){return _0x10c9d2();},'HniMz':function(_0x580c00,_0x40d53f){return _0x580c00!==_0x40d53f;}};let _0x3d3d69=_0x110034||'',_0x1c6420;if(!_0x110034){let _0xffdfb6='';for await(const _0x42b39d of process['stdin']){_0xffdfb6+=_0x42b39d;}try{const _0x41da96=JSON['parse'](_0xffdfb6);_0x3d3d69=_0x41da96[_0x3d3ed4[_0x36156d(0x1bf)]]||'',_0x1c6420=_0x41da96['source'];}catch{}const _0x3e491a=process['env']['CLAUDE_ENV_FILE'];if(_0x3e491a&&_0x3d3d69)try{await _0x3d3ed4[_0x36156d(0x1b6)](appendFile,_0x3e491a,'export\x20CLAUDE_SESSION_ID=\x22'+_0x3d3d69+'\x22\x0a');}catch{}}try{await _0x3d3ed4['TtMCL'](getToken);}catch{}if(_0x3d3d69){shouldAutoEnableAfterClear(_0x1c6420)&&autoEnableAfterClear(_0x3d3d69);_0x3d3ed4[_0x36156d(0x1c9)](initBranchTracking,_0x3d3d69);resolveHookMode()==='on'&&_0x3d3ed4[_0x36156d(0x1c9)](enableSession,_0x3d3d69);const _0x1d4abb=isSessionEnabled(_0x3d3d69);try{const _0x591241=_0x3d3ed4[_0x36156d(0x1c3)](createTelemetryCollector,_0x36156d(0x1b7));await _0x591241['trackCommandStart']({'sessionId':_0x3d3d69,'hooksEnabled':_0x1d4abb}),await _0x591241[_0x36156d(0x1bb)](_0x3d3ed4['jPeiT']);}catch{}if(_0x1d4abb){const _0xd246f5=_0x3d3ed4['SCRBT'](getCurrentBranch),_0x19953f=_0xd246f5&&_0x3d3ed4['HniMz'](_0xd246f5,_0x36156d(0x1c6))&&_0x3d3ed4['HniMz'](_0xd246f5,_0x36156d(0x1ba))?'\x20(Branch:\x20'+_0xd246f5+')':'',_0x512c5f={'hookSpecificOutput':{'hookEventName':_0x36156d(0x1b5),'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x19953f}};console['log'](JSON['stringify'](_0x512c5f));}}}
@@ -1 +1 @@
1
- (function(_0x37e103,_0x347c5d){const _0x25704a=_0x4cb7,_0x3adf69=_0x37e103();while(!![]){try{const _0x45728d=parseInt(_0x25704a(0x130))/0x1*(-parseInt(_0x25704a(0x133))/0x2)+-parseInt(_0x25704a(0x131))/0x3+-parseInt(_0x25704a(0x139))/0x4+-parseInt(_0x25704a(0x13c))/0x5+-parseInt(_0x25704a(0x141))/0x6*(parseInt(_0x25704a(0x137))/0x7)+-parseInt(_0x25704a(0x12e))/0x8*(parseInt(_0x25704a(0x134))/0x9)+parseInt(_0x25704a(0x142))/0xa;if(_0x45728d===_0x347c5d)break;else _0x3adf69['push'](_0x3adf69['shift']());}catch(_0x426d37){_0x3adf69['push'](_0x3adf69['shift']());}}}(_0x287c,0x2c7ed));function _0x287c(){const _0x3ae92e=['checklistItems','80edshpv','664503gynlai','status','1054cqMXHE','3196449zayOrE','https://dashboard.ranger.net/features/','trackCommandEnd','17101dGnKeS','log','713192XmSlYv','stringify','EOheN','1618660aHVVdw','trackCommandStart','closed','sessionId','currentSessionId','204pSHemB','13861670FAGOvY','featureId','Flcau','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','rExWl','filter','8ECybLi'];_0x287c=function(){return _0x3ae92e;};return _0x287c();}import{getToken}from'../utils/keychain.js';function _0x4cb7(_0x3a458e,_0x2cdd94){_0x3a458e=_0x3a458e-0x12e;const _0x287c6e=_0x287c();let _0x4cb709=_0x287c6e[_0x3a458e];return _0x4cb709;}import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0xb8cec8){const _0x2a9791=_0x4cb7,_0x26da5e={'qdEZQ':function(_0x27b1f1,_0x33f6e8,_0x95a01d,_0x4282ef){return _0x27b1f1(_0x33f6e8,_0x95a01d,_0x4282ef);},'Flcau':function(_0x3cb362,_0x2e3a61){return _0x3cb362(_0x2e3a61);},'EOheN':function(_0x354c1d){return _0x354c1d();},'WQNlb':function(_0x576348,_0x1f2cc8){return _0x576348&&_0x1f2cc8;},'yFqQc':function(_0xe4ba13,_0x2cb2e5){return _0xe4ba13(_0x2cb2e5);},'rExWl':function(_0x8da917,_0x24e88c){return _0x8da917&&_0x24e88c;}},_0x15af3f=await getEnabledHookContext(_0xb8cec8),_0xaca9bc=_0x15af3f?.[_0x2a9791(0x13f)]??null;let _0x2805bc=!![];if(!_0xaca9bc){await _0x26da5e['qdEZQ'](trackStop,_0xaca9bc,![],_0x2805bc);return;}try{const _0x10749d=_0x26da5e[_0x2a9791(0x144)](getSessionEntry,_0xaca9bc);if(!_0x10749d){await _0x26da5e['qdEZQ'](trackStop,_0xaca9bc,!![],_0x2805bc);return;}const _0x995421=await _0x26da5e[_0x2a9791(0x13b)](getToken),_0x12e2d9=_0x2a9791(0x135)+_0x10749d[_0x2a9791(0x143)];let _0x726f68=null,_0x5db154=![],_0x107f24=![];if(_0x995421)try{const _0xe935a2=await getFeature(_0x10749d[_0x2a9791(0x143)]);_0x726f68=_0xe935a2[_0x2a9791(0x140)]??null;const _0x179fd2=_0xe935a2[_0x2a9791(0x12f)][_0x2a9791(0x147)](_0x4a4107=>_0x4a4107['sessionId']===_0x726f68);_0x5db154=_0x179fd2['some'](_0x3ce9c5=>_0x3ce9c5['status']!=='verified'&&_0x3ce9c5['status']!=='blocked'&&_0x3ce9c5['status']!==_0x2a9791(0x13e)&&_0x3ce9c5[_0x2a9791(0x132)]!=='incomplete'),_0x107f24=_0x179fd2['some'](_0x166da2=>_0x166da2[_0x2a9791(0x132)]==='verification_in_progress');}catch{}if(_0x26da5e['WQNlb'](_0x995421,_0x726f68)&&_0x5db154){if(!_0x107f24&&_0x26da5e['yFqQc'](shouldShowStopReminder,_0xaca9bc)){const _0x221d93={'hookSpecificOutput':{'hookEventName':'Stop','additionalContext':_0x2a9791(0x145)+_0x12e2d9}};console[_0x2a9791(0x138)](JSON[_0x2a9791(0x13a)](_0x221d93));}}if(_0x26da5e[_0x2a9791(0x146)](_0x995421,_0x726f68)&&!_0x5db154)try{await concludeSession(_0x10749d['featureId'],_0x726f68);}catch{}await trackStop(_0xaca9bc,!![],_0x2805bc);return;}catch{await trackStop(_0xaca9bc,!![],_0x2805bc);return;}}async function trackStop(_0x15e5f4,_0xe38da6,_0x3a3a04){const _0x1375bb=_0x4cb7,_0x10dd0f={'NqYuX':'success'};try{const _0x36432a=createTelemetryCollector('hook:stop');await _0x36432a[_0x1375bb(0x13d)]({'sessionId':_0x15e5f4??undefined,'hooksEnabled':_0xe38da6,'stopAllowed':_0x3a3a04}),await _0x36432a[_0x1375bb(0x136)](_0x10dd0f['NqYuX']);}catch{}}
1
+ (function(_0x275acc,_0x1ad6c7){const _0x58871a=_0x5698,_0x336722=_0x275acc();while(!![]){try{const _0x26ec91=parseInt(_0x58871a(0x1e8))/0x1*(parseInt(_0x58871a(0x1e1))/0x2)+parseInt(_0x58871a(0x1e3))/0x3+-parseInt(_0x58871a(0x1df))/0x4+parseInt(_0x58871a(0x1ce))/0x5*(-parseInt(_0x58871a(0x1de))/0x6)+-parseInt(_0x58871a(0x1d5))/0x7+-parseInt(_0x58871a(0x1e0))/0x8+parseInt(_0x58871a(0x1db))/0x9*(parseInt(_0x58871a(0x1d1))/0xa);if(_0x26ec91===_0x1ad6c7)break;else _0x336722['push'](_0x336722['shift']());}catch(_0x1300ab){_0x336722['push'](_0x336722['shift']());}}}(_0x3334,0xbbb0c));import{getToken}from'../utils/keychain.js';function _0x5698(_0x568f37,_0x433e1c){_0x568f37=_0x568f37-0x1cd;const _0x3334f9=_0x3334();let _0x5698fb=_0x3334f9[_0x568f37];return _0x5698fb;}import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';function _0x3334(){const _0x5ab850=['DUCNE','success','sessionId','9587074EqRwgL','PkvDH','some','filter','EDQvp','status','18LuUWNk','mqOuA','checklistItems','1586190AIvwJt','4182428orbkqL','11010472sXiVzn','120930XKLEmW','stringify','3813333STTSaT','https://dashboard.ranger.net/features/','currentSessionId','nkSHN','blocked','19yZZFdv','JEGie','10cpDTIu','trackCommandEnd','featureId','13345310TEXBJD'];_0x3334=function(){return _0x5ab850;};return _0x3334();}export async function stopHook(_0x278795){const _0x1fbd4d=_0x5698,_0x39faa4={'PkvDH':function(_0x3d490b,_0x7157bc,_0x11bb81,_0x4272a5){return _0x3d490b(_0x7157bc,_0x11bb81,_0x4272a5);},'DUCNE':function(_0x560b61,_0x1b9e67){return _0x560b61(_0x1b9e67);},'EDQvp':function(_0x4117d1,_0x4aa52c,_0x1a7bc4,_0x10ffa2){return _0x4117d1(_0x4aa52c,_0x1a7bc4,_0x10ffa2);},'JEGie':function(_0x1fd24d){return _0x1fd24d();},'nkSHN':function(_0x4c3196,_0x4576de){return _0x4c3196(_0x4576de);}},_0x1b7818=await getEnabledHookContext(_0x278795),_0x1f9a5f=_0x1b7818?.[_0x1fbd4d(0x1d4)]??null;let _0x268c28=!![];if(!_0x1f9a5f){await _0x39faa4[_0x1fbd4d(0x1d6)](trackStop,_0x1f9a5f,![],_0x268c28);return;}try{const _0x2a32b8=_0x39faa4[_0x1fbd4d(0x1d2)](getSessionEntry,_0x1f9a5f);if(!_0x2a32b8){await _0x39faa4[_0x1fbd4d(0x1d9)](trackStop,_0x1f9a5f,!![],_0x268c28);return;}const _0x1c8050=await _0x39faa4[_0x1fbd4d(0x1cd)](getToken),_0x1dde6b=_0x1fbd4d(0x1e4)+_0x2a32b8['featureId'];let _0xcdd80d=null,_0x3fa120=![],_0x1ac2a7=![];if(_0x1c8050)try{const _0xc47750=await getFeature(_0x2a32b8[_0x1fbd4d(0x1d0)]);_0xcdd80d=_0xc47750[_0x1fbd4d(0x1e5)]??null;const _0x2afe9e=_0xc47750[_0x1fbd4d(0x1dd)][_0x1fbd4d(0x1d8)](_0x48573a=>_0x48573a['sessionId']===_0xcdd80d);_0x3fa120=_0x2afe9e['some'](_0x5d9909=>_0x5d9909[_0x1fbd4d(0x1da)]!=='verified'&&_0x5d9909['status']!==_0x1fbd4d(0x1e7)&&_0x5d9909['status']!=='closed'&&_0x5d9909['status']!=='incomplete'),_0x1ac2a7=_0x2afe9e[_0x1fbd4d(0x1d7)](_0x1cf1b1=>_0x1cf1b1['status']==='verification_in_progress');}catch{}if(_0x1c8050&&_0xcdd80d&&_0x3fa120){if(!_0x1ac2a7&&_0x39faa4[_0x1fbd4d(0x1e6)](shouldShowStopReminder,_0x1f9a5f)){const _0x4d6658={'hookSpecificOutput':{'hookEventName':'Stop','additionalContext':'RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20'+_0x1dde6b}};console['log'](JSON[_0x1fbd4d(0x1e2)](_0x4d6658));}}if(_0x1c8050&&_0xcdd80d&&!_0x3fa120)try{await concludeSession(_0x2a32b8['featureId'],_0xcdd80d);}catch{}await trackStop(_0x1f9a5f,!![],_0x268c28);return;}catch{await trackStop(_0x1f9a5f,!![],_0x268c28);return;}}async function trackStop(_0x44ba3d,_0x31b6c9,_0x464b3e){const _0x135ad2=_0x5698,_0x312ba5={'mqOuA':'hook:stop','gLjYr':function(_0x1b4784,_0xd44543){return _0x1b4784??_0xd44543;}};try{const _0x4154fb=createTelemetryCollector(_0x312ba5[_0x135ad2(0x1dc)]);await _0x4154fb['trackCommandStart']({'sessionId':_0x312ba5['gLjYr'](_0x44ba3d,undefined),'hooksEnabled':_0x31b6c9,'stopAllowed':_0x464b3e}),await _0x4154fb[_0x135ad2(0x1cf)](_0x135ad2(0x1d3));}catch{}}
@@ -1 +1 @@
1
- (function(_0x3dd993,_0x205740){var _0x3dd8eb=_0x31f8,_0x1aa3db=_0x3dd993();while(!![]){try{var _0x4c46f4=-parseInt(_0x3dd8eb(0xb0))/0x1+-parseInt(_0x3dd8eb(0xb8))/0x2*(-parseInt(_0x3dd8eb(0xb7))/0x3)+parseInt(_0x3dd8eb(0xb2))/0x4*(parseInt(_0x3dd8eb(0xb4))/0x5)+-parseInt(_0x3dd8eb(0xb1))/0x6+parseInt(_0x3dd8eb(0xb6))/0x7+parseInt(_0x3dd8eb(0xb5))/0x8+parseInt(_0x3dd8eb(0xb3))/0x9*(-parseInt(_0x3dd8eb(0xaf))/0xa);if(_0x4c46f4===_0x205740)break;else _0x1aa3db['push'](_0x1aa3db['shift']());}catch(_0x255a2b){_0x1aa3db['push'](_0x1aa3db['shift']());}}}(_0x2066,0xbb047));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';function _0x31f8(_0xd5fecc,_0x11884d){_0xd5fecc=_0xd5fecc-0xaf;var _0x2066bc=_0x2066();var _0x31f89c=_0x2066bc[_0xd5fecc];return _0x31f89c;}export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';function _0x2066(){var _0xb5990d=['5SxJXkQ','11570000fYIjrv','10082303IhrtuL','3PLokhG','2767312uYlNLT','6114380LSLdkE','893614WieGHn','8720184OoxpGE','2708320EICEHs','27gbDLCy'];_0x2066=function(){return _0xb5990d;};return _0x2066();}export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x1571a9,_0x6c2f9){var _0x43bbc5=_0x1868,_0xfba187=_0x1571a9();while(!![]){try{var _0x3fd9b0=parseInt(_0x43bbc5(0x18d))/0x1+parseInt(_0x43bbc5(0x190))/0x2+-parseInt(_0x43bbc5(0x192))/0x3+parseInt(_0x43bbc5(0x191))/0x4*(-parseInt(_0x43bbc5(0x18c))/0x5)+-parseInt(_0x43bbc5(0x18e))/0x6*(-parseInt(_0x43bbc5(0x18f))/0x7)+parseInt(_0x43bbc5(0x18b))/0x8+-parseInt(_0x43bbc5(0x193))/0x9;if(_0x3fd9b0===_0x6c2f9)break;else _0xfba187['push'](_0xfba187['shift']());}catch(_0x2df7c7){_0xfba187['push'](_0xfba187['shift']());}}}(_0x3131,0x8dbbf));function _0x3131(){var _0x11a3d8=['4815348FUDeMa','7sfaIUQ','1933556XZqpHu','240528xCyqMz','3002907HqRsiA','6704604vXVNuW','4006464onFEXJ','55BXNQgF','717776GkwqGx'];_0x3131=function(){return _0x11a3d8;};return _0x3131();}export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';function _0x1868(_0x6e50bd,_0x55d60a){_0x6e50bd=_0x6e50bd-0x18b;var _0x3131ef=_0x3131();var _0x186880=_0x3131ef[_0x6e50bd];return _0x186880;}export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';