@ranger-testing/ranger-cli 3.0.1-alpha.46ed70b-30 → 3.0.1-alpha.476607f-31

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 (83) 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/playwrightCli.js +1 -1
  60. package/build/commands/utils/profileMessages.js +1 -1
  61. package/build/commands/utils/profileSetupBanner.js +1 -1
  62. package/build/commands/utils/projectsConfig.js +1 -1
  63. package/build/commands/utils/rangerConfig.js +1 -1
  64. package/build/commands/utils/rangerRoot.js +1 -1
  65. package/build/commands/utils/rangerwrightCli.js +1 -1
  66. package/build/commands/utils/resolveProfileContext.js +1 -1
  67. package/build/commands/utils/resolveProfileUrl.js +1 -1
  68. package/build/commands/utils/retry.js +1 -1
  69. package/build/commands/utils/sessionCache.js +1 -1
  70. package/build/commands/utils/settings.js +1 -1
  71. package/build/commands/utils/skillContent.js +1 -1
  72. package/build/commands/utils/skills.js +1 -1
  73. package/build/commands/utils/stitchWebmFiles.js +1 -1
  74. package/build/commands/utils/telemetry.js +1 -1
  75. package/build/commands/utils/tokenRefresh.js +1 -1
  76. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  77. package/build/commands/utils/userApi.js +1 -1
  78. package/build/commands/utils/version.js +1 -1
  79. package/build/commands/verifyFeature.js +1 -1
  80. package/build/commands/verifyFeatureCli.js +1 -1
  81. package/build/commands/verifyFeatureNovaCli.js +1 -1
  82. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  83. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0xb6b994=_0x3a40;(function(_0x302f7a,_0x42475d){const _0x40932f=_0x3a40,_0x34f6ee=_0x302f7a();while(!![]){try{const _0x3d97b1=parseInt(_0x40932f(0x23c))/0x1+-parseInt(_0x40932f(0x1ce))/0x2*(parseInt(_0x40932f(0x223))/0x3)+parseInt(_0x40932f(0x1ea))/0x4*(-parseInt(_0x40932f(0x1bf))/0x5)+-parseInt(_0x40932f(0x27f))/0x6*(parseInt(_0x40932f(0x272))/0x7)+parseInt(_0x40932f(0x1c1))/0x8*(parseInt(_0x40932f(0x29f))/0x9)+-parseInt(_0x40932f(0x1ef))/0xa*(-parseInt(_0x40932f(0x241))/0xb)+parseInt(_0x40932f(0x22f))/0xc*(parseInt(_0x40932f(0x24e))/0xd);if(_0x3d97b1===_0x42475d)break;else _0x34f6ee['push'](_0x34f6ee['shift']());}catch(_0x39d95a){_0x34f6ee['push'](_0x34f6ee['shift']());}}}(_0x4b9b,0x77050));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';function _0x4b9b(){const _0x5094fd=['Current\x20session\x20not\x20found.',':\x20\x22','verificationInProgressItems','zLmzO','wlIIW','\x20\x20\x20Progress:\x20','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','\x20of\x20','6143028Gdqupc','trim','gitBranch','description','...','comment_','/api/v1/mcp/browser-sessions/','/artifacts/','IXULi','WyyfH','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','umhkE','YERYw','266925GABGBO','\x20/\x20','\x20\x20\x20Branch:\x20','map','PcLCG','1001Yzupid','items','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','hFdGH','yjjqU','qfyGX','LyUpB','trcqN','trimEnd','\x20—\x20no\x20comments','blockedItems','toLocaleString','vggIm','26uWnDOD','textContent','gZENg','\x0a✅\x20Report\x20generated:\x20','Blxgr','KBMhK','imDIF','4|1|2|0|3|5','WFPpU','PnqvI','ZyjJH','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','output','iZDVO','\x20concluded.','push','\x20\x20\x20Updated\x20branch\x20to:\x20','join','completedAt','currentBranch','BbcRJ','iteration','WoQkd','prompt','OPIgj','after','approved','\x0a✅\x20Restored\x20feature\x20review:\x20','location','assetType','eizfA','FKKBb','eSBUI','hZWTW','status','exit','126399lMpIMi','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','NFIFK','QeJvC','completed','find','\x0a✅\x20Session\x20','OtGCt','stdout','Step\x20','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','\x20\x20\x20\x20\x20Progress:\x20','WTDJc','72rGVzDn','rmCAc','CfTUT','UVxKF','jpIpo','\x0a📋\x20Feedback\x20for:\x20','UfwIC','version','replace','blockedReason','UrcZA','qRAxm','\x20\x20\x20\x20\x20Branch:\x20','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','terminalReason','\x20incomplete','canceledReason','currentSessionId','assets','blocked','\x0a✅\x20Session\x20is\x20already\x20completed.','\x0aAvailable\x20scenarios:','Cannot\x20conclude\x20session\x20with\x20status:\x20','utf-8','domRef','latestReview','selected','\x20Session\x20','list','\x20unaddressed\x20comment(s)','QMhpg','369jhDutB','\x20scenario(s).','ufiUK','btmJu','CmgvQ','checklistItems','HzHWz','Yzchb','limit','canonicalFlow','\x0a✅\x20Scenario\x20updated','\x20\x20\x20Status:\x20','screenshotUrls','\x20\x20\x20Repository:\x20','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','\x20\x20\x20\x20\x20\x20Blocked:\x20','oPigy','\x20\x20✅\x20No\x20feedback\x20to\x20address','includeDeleted','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','XDdIP','length','gitRepoUrl','35JFerop','gcRQH','84184gooqTa','jOKTI','selector','repeat','\x0aCreating\x20feature\x20review...','closed','\x1b[1m','browserSessionId','CLAUDE_SESSION_ID','pipe','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','\x20--include-deleted','\x20(v','4AEwULS','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','UPFqA','AmTPd','TvRzg','isInteger','\x20\x20\x20\x20\x20\x20Cancelled:\x20','vmDWe','sLtSP','\x20>\x20','sessionId','verification_in_progress','jIgIx','totalCount','LJMeC','spatial','.md','git\x20remote\x20get-url\x20origin','incomplete','hRzMp','eFSLK','stringify','mXcnw','stats','Fjmzu','filter','Showing\x20','xyvjt','519212PHdVPM','oPgkA','zUIsJ','iiRpV','stepName','34050tSVlnb','log','phQTF','No\x20scenarios\x20found.','\x20\x20\x20Completed:\x20','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','\x20\x20\x20','toFixed','RANGER_TEST_USERNAME','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','SUrOC','env','createdAt','scenario','submittedAt','VPhYO','excludeScenarios','hfnDf','in_progress','RENeS','\x0aGenerating\x20report...','No\x20sessions\x20found.','dashboardUrl','write','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','toLocaleDateString','coordinates','RJcQk','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','\x0a\x20\x20\x20Scenarios:','\x20feature\x20review(s)\x20found','xRYTB','LIOOf','numeric','isKeyStep','\x20\x20\x20▶️\x20Started\x20session\x20','\x20\x20\x20Created:\x20','\x20—\x20','QglxR','error','QiyzR','CAvoN','\x20\x20\x20\x20\x20📋\x20Selector:\x20','yWzIY','xMhLh','incompleteReason','\x0a❌\x20Invalid\x20scenario\x20index:\x20','HKeqG','element','isTTY','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','name','628878BZGRUt','Not\x20in\x20a\x20git\x20repository.','Scenario\x20','EhDwD'];_0x4b9b=function(){return _0x5094fd;};return _0x4b9b();}import _0x814486 from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x54cf50=>_0xb6b994(0x1c7)+_0x54cf50+'\x1b[0m';function getGitRepoUrl(){const _0x2bfef6=_0xb6b994,_0x338e89={'ruzkw':function(_0x476464,_0x1a0b53,_0x448f04){return _0x476464(_0x1a0b53,_0x448f04);},'Yzchb':_0x2bfef6(0x1ca),'WyyfH':'github.com/'};try{const _0x5656ad=_0x338e89['ruzkw'](execSync,_0x2bfef6(0x1df),{'encoding':_0x2bfef6(0x297),'stdio':[_0x338e89[_0x2bfef6(0x2a6)],_0x338e89['Yzchb'],_0x2bfef6(0x1ca)]})[_0x2bfef6(0x230)]();return _0x5656ad['replace'](/\.git$/,'')[_0x2bfef6(0x287)](/^git@github\.com:/,_0x338e89[_0x2bfef6(0x238)])['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x32c566=_0xb6b994,_0x132914={'vlOko':function(_0x2fe88b,_0x28f0a7,_0xfb7f03){return _0x2fe88b(_0x28f0a7,_0xfb7f03);},'NFIFK':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','hfnDf':'utf-8','uxUuC':'pipe'};try{return _0x132914['vlOko'](execSync,_0x132914[_0x32c566(0x274)],{'encoding':_0x132914[_0x32c566(0x200)],'stdio':[_0x32c566(0x1ca),_0x132914['uxUuC'],'pipe']})[_0x32c566(0x230)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x245721=_0xb6b994,_0x151dbe={'CmgvQ':function(_0xb2b480,_0x4fdf9b,_0x1a0dda){return _0xb2b480(_0x4fdf9b,_0x1a0dda);},'Kttgh':_0x245721(0x297)},_0x4485c4=_0x151dbe[_0x245721(0x2a3)](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x4485c4))return null;try{const _0x12288e=await _0x151dbe[_0x245721(0x2a3)](readFile,_0x4485c4,_0x151dbe['Kttgh']);return _0x12288e['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x290fd5){const _0x1b2cbf=_0xb6b994,_0x1ee248={'rmCAc':function(_0x33fa5d,_0x49dbfe,_0x4f97aa){return _0x33fa5d(_0x49dbfe,_0x4f97aa);}},_0x4fa51f=getRangerDir(),_0x1c8ab4=_0x1ee248[_0x1b2cbf(0x280)](join,_0x4fa51f,ACTIVE_FEATURE_FILE);!existsSync(_0x4fa51f)&&await mkdir(_0x4fa51f,{'recursive':!![]}),await writeFile(_0x1c8ab4,_0x290fd5,'utf-8');}function getProgressDisplay(_0x1be3d6){const _0x35041a=_0xb6b994,_0x5a3556={'AmTPd':function(_0x31782b,_0x45d0a8){return _0x31782b+_0x45d0a8;},'wascB':function(_0x370ed6,_0x1881a5){return _0x370ed6+_0x1881a5;},'gcRQH':function(_0x13468a,_0x19259b){return _0x13468a===_0x19259b;},'hFdGH':function(_0x256c38,_0x7aa31e){return _0x256c38-_0x7aa31e;},'hRzMp':function(_0x524781,_0x59b2f1){return _0x524781>_0x59b2f1;},'Blxgr':function(_0x24cdd8,_0x686a6){return _0x24cdd8>_0x686a6;}},_0x252769=_0x1be3d6['verifiedItems']||0x0,_0x484bcf=_0x1be3d6[_0x35041a(0x229)]||0x0,_0x473ea3=_0x1be3d6[_0x35041a(0x24b)]||0x0,_0x5f5026=_0x1be3d6['incompleteItems']||0x0,_0x338b4f=_0x1be3d6['pendingItems']||0x0,_0x43bb86=_0x5a3556[_0x35041a(0x1d1)](_0x5a3556['wascB'](_0x252769,_0x484bcf)+_0x473ea3,_0x5f5026)+_0x338b4f;if(_0x5a3556[_0x35041a(0x1c0)](_0x43bb86,0x0))return'-';const _0x11023e=0xa,_0x36d8ef=Math['round'](_0x252769/_0x43bb86*_0x11023e),_0x12272b='█'[_0x35041a(0x1c4)](_0x36d8ef)+'░'[_0x35041a(0x1c4)](_0x5a3556[_0x35041a(0x244)](_0x11023e,_0x36d8ef)),_0x32eda5=[];if(_0x5a3556[_0x35041a(0x1e1)](_0x473ea3,0x0))_0x32eda5[_0x35041a(0x25d)](_0x473ea3+'\x20blocked');if(_0x5a3556[_0x35041a(0x252)](_0x5f5026,0x0))_0x32eda5[_0x35041a(0x25d)](_0x5f5026+_0x35041a(0x28f));if(_0x484bcf>0x0)_0x32eda5[_0x35041a(0x25d)](_0x484bcf+'\x20in\x20progress');const _0x2d2679=_0x32eda5[_0x35041a(0x1bd)]>0x0?'\x20('+_0x32eda5['join'](',\x20')+')':'';return _0x12272b+'\x20'+_0x252769+'/'+_0x43bb86+'\x20verified'+_0x2d2679;}function getCurrentSessionItems(_0x36878c,_0x3e138d){const _0x54bfa2=_0xb6b994;if(!_0x36878c['currentSessionId'])return _0x3e138d[_0x54bfa2(0x1e7)](_0x414a8a=>!_0x414a8a['sessionId']);return _0x3e138d['filter'](_0x579799=>_0x579799[_0x54bfa2(0x1d8)]===_0x36878c['currentSessionId']||!_0x579799[_0x54bfa2(0x1d8)]);}function displayFeature(_0x30598f,_0x4a8077){const _0x1df763=_0xb6b994,_0x3aaba9={'OtGCt':function(_0x2a3850,_0x1851f9){return _0x2a3850(_0x1851f9);},'jpIpo':_0x1df763(0x20c),'AMceJ':function(_0x443f46,_0x1bdedd){return _0x443f46<_0x1bdedd;},'wlIIW':function(_0x4cb392,_0x59317f){return _0x4cb392===_0x59317f;},'hZWTW':_0x1df763(0x1c6),'vggIm':function(_0x23dc0a,_0xc3b8a8){return _0x23dc0a===_0xc3b8a8;},'SUrOC':'verified','imiDW':function(_0x36af1e,_0x108c0a){return _0x36af1e===_0x108c0a;},'ftubc':'verification_in_progress','obMWz':function(_0x1322b3,_0x1d752c){return _0x1322b3>_0x1d752c;},'trcqN':'\x20[has\x20reviewer\x20feedback]','xRYTB':function(_0x122ac2,_0x475955){return _0x122ac2+_0x475955;}};console['log']('\x0a'+_0x30598f[_0x1df763(0x222)]+'\x20('+_0x30598f['dashboardUrl']+')');_0x30598f[_0x1df763(0x1e5)]&&console[_0x1df763(0x1f0)](_0x1df763(0x22c)+_0x3aaba9[_0x1df763(0x279)](getProgressDisplay,_0x30598f['stats']));_0x30598f['description']&&console[_0x1df763(0x1f0)]('\x20\x20\x20Description:\x20'+_0x30598f[_0x1df763(0x232)]);_0x30598f['gitRepoUrl']&&console[_0x1df763(0x1f0)](_0x1df763(0x2ac)+_0x30598f[_0x1df763(0x1be)]);_0x30598f[_0x1df763(0x231)]&&console['log']('\x20\x20\x20Branch:\x20'+_0x30598f['gitBranch']);console['log']('\x20\x20\x20Created:\x20'+new Date(_0x30598f[_0x1df763(0x1fb)])[_0x1df763(0x24c)]());_0x30598f['completedAt']&&console[_0x1df763(0x1f0)](_0x1df763(0x1f3)+new Date(_0x30598f[_0x1df763(0x260)])['toLocaleString']());if(_0x4a8077&&_0x4a8077[_0x1df763(0x1bd)]>0x0){console[_0x1df763(0x1f0)](_0x3aaba9[_0x1df763(0x283)]);for(let _0x2aba73=0x0;_0x3aaba9['AMceJ'](_0x2aba73,_0x4a8077['length']);_0x2aba73++){const _0x46bcc4=_0x4a8077[_0x2aba73];let _0x303888;if(_0x3aaba9[_0x1df763(0x22b)](_0x46bcc4[_0x1df763(0x270)],_0x3aaba9[_0x1df763(0x26f)])&&_0x3aaba9[_0x1df763(0x24d)](_0x46bcc4[_0x1df763(0x28e)],'approved'))_0x303888='✅';else{if(_0x46bcc4['status']===_0x3aaba9['SUrOC'])_0x303888='🟢';else{if(_0x3aaba9['imiDW'](_0x46bcc4[_0x1df763(0x270)],_0x1df763(0x1e0)))_0x303888='🟠';else{if(_0x46bcc4[_0x1df763(0x270)]===_0x1df763(0x293))_0x303888='🛑';else{if(_0x46bcc4[_0x1df763(0x270)]==='closed')_0x303888='⛔';else _0x46bcc4['status']===_0x3aaba9['ftubc']?_0x303888='⏳':_0x303888='⬜';}}}}const _0x51d9f1=_0x46bcc4[_0x1df763(0x286)]>0x1?'\x20(v'+_0x46bcc4['version']+')':'',_0x3e3233=_0x3aaba9['obMWz'](_0x46bcc4['version'],0x1)&&_0x46bcc4['parentItemId']&&_0x46bcc4['status']!=='closed'&&_0x46bcc4['status']!==_0x3aaba9[_0x1df763(0x1f9)]?_0x3aaba9[_0x1df763(0x248)]:'';console[_0x1df763(0x1f0)](_0x1df763(0x1f5)+_0x3aaba9[_0x1df763(0x20e)](_0x2aba73,0x1)+'.\x20'+_0x303888+'\x20'+_0x46bcc4['description']+_0x51d9f1+_0x3e3233);_0x46bcc4[_0x1df763(0x270)]===_0x1df763(0x293)&&_0x46bcc4[_0x1df763(0x288)]&&console[_0x1df763(0x1f0)](_0x1df763(0x2ae)+_0x46bcc4['blockedReason']);_0x46bcc4[_0x1df763(0x270)]==='incomplete'&&_0x46bcc4['incompleteReason']&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x46bcc4[_0x1df763(0x21c)]);if(_0x46bcc4[_0x1df763(0x270)]==='closed'&&_0x3aaba9['imiDW'](_0x46bcc4[_0x1df763(0x28e)],_0x1df763(0x268)))console['log']('\x20\x20\x20\x20\x20\x20Approved');else _0x46bcc4['status']===_0x1df763(0x1c6)&&_0x46bcc4['canceledReason']&&console[_0x1df763(0x1f0)](_0x1df763(0x1d4)+_0x46bcc4[_0x1df763(0x290)]);}}}export async function featureCreate(_0xf0b2f0,_0x3cb173){const _0x147791=_0xb6b994,_0x5980e4={'QglxR':function(_0x455943,_0x5f27c1){return _0x455943===_0x5f27c1;},'uyGZz':function(_0x15b39f,_0x442607){return _0x15b39f(_0x442607);},'WoQkd':function(_0x5054ee){return _0x5054ee();},'PkxYe':function(_0x2e409e){return _0x2e409e();},'Bzrhq':function(_0x3755cc,_0x1dd9e8,_0x13dd9e){return _0x3755cc(_0x1dd9e8,_0x13dd9e);}},{envNames:_0x47c255}=await getEnvNames();if(_0x5980e4['QglxR'](_0x47c255[_0x147791(0x1bd)],0x0)&&!process['env'][_0x147791(0x1f7)]){let _0x5d76b4=0x0;try{_0x5d76b4=(await listCloudProfiles())['length'];}catch{_0x5d76b4=0x1;}_0x5980e4[_0x147791(0x215)](_0x5d76b4,0x0)&&console['warn']('\x0a'+_0x5980e4['uyGZz'](formatProfileRequiredMessage,_0x8e1072=>bold(_0x8e1072)));}const _0x49bb27=_0x3cb173['scenarios']?_0x3cb173['scenarios'][_0x147791(0x23f)](_0xdc2f93=>_0xdc2f93[_0x147791(0x230)]()):[],_0x6af99e=_0x5980e4[_0x147791(0x264)](getGitRepoUrl),_0x4fda84=_0x5980e4['PkxYe'](getGitBranch);console['log'](_0x147791(0x1c5));const _0x613bfe=await createFeature({'name':_0xf0b2f0,'description':_0x3cb173[_0x147791(0x232)],'checklist':_0x49bb27,'gitRepoUrl':_0x6af99e,'gitBranch':_0x4fda84});await setActiveFeatureId(_0x613bfe['id']),await _0x5980e4['uyGZz'](tryStartCurrentSession,_0x613bfe['id']);const _0x32d59b=process['env']['CLAUDE_SESSION_ID'];_0x32d59b&&registerSession(_0x32d59b,_0x613bfe['id']),console[_0x147791(0x1f0)]('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x613bfe['id']),_0x5980e4['Bzrhq'](displayFeature,_0x613bfe,_0x613bfe['checklistItems']),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x40e88c){const _0x18c221=_0xb6b994,_0x51bc68={'eizfA':function(_0x26a2c7){return _0x26a2c7();},'LyUpB':function(_0x41f3ac,_0x19a614){return _0x41f3ac===_0x19a614;},'jOKTI':function(_0x5e7441,_0xf52736){return _0x5e7441>_0xf52736;},'UPFqA':'\x20--current-branch','fAWUA':_0x18c221(0x1cc)},_0x3438f5={'limit':_0x40e88c['limit']??0xa,'offset':_0x40e88c['offset']??0x0,'includeDeleted':_0x40e88c[_0x18c221(0x2b1)]};_0x40e88c['currentBranch']&&(_0x3438f5['gitRepoUrl']=_0x51bc68[_0x18c221(0x26c)](getGitRepoUrl),_0x3438f5[_0x18c221(0x231)]=_0x51bc68['eizfA'](getGitBranch));const _0x23e646=await listFeatures(_0x3438f5);if(_0x51bc68[_0x18c221(0x247)](_0x23e646['items'][_0x18c221(0x1bd)],0x0)){console['log']('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0x5f7bb0=_0x51bc68[_0x18c221(0x1c2)](_0x23e646[_0x18c221(0x1db)],_0x23e646[_0x18c221(0x242)][_0x18c221(0x1bd)])?_0x18c221(0x1e8)+_0x23e646['items'][_0x18c221(0x1bd)]+_0x18c221(0x22e)+_0x23e646['totalCount']:_0x23e646['totalCount']+_0x18c221(0x20d);console[_0x18c221(0x1f0)]('\x0a'+_0x5f7bb0+':\x0a');for(const _0x3b3bac of _0x23e646[_0x18c221(0x242)]){console['log'](''+_0x3b3bac['name']),console[_0x18c221(0x1f0)]('\x20\x20\x20ID:\x20'+_0x3b3bac['id']),_0x3b3bac[_0x18c221(0x1e5)]&&console[_0x18c221(0x1f0)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x3b3bac[_0x18c221(0x1e5)])),_0x3b3bac['gitBranch']&&console[_0x18c221(0x1f0)](_0x18c221(0x23e)+_0x3b3bac['gitBranch']),console[_0x18c221(0x1f0)](_0x18c221(0x213)+new Date(_0x3b3bac[_0x18c221(0x1fb)])['toLocaleDateString']()),console['log']('');}const _0x33cb6b=_0x3438f5[_0x18c221(0x2a7)]??0xa,_0x2c7579=(_0x3438f5['offset']??0x0)+_0x23e646[_0x18c221(0x242)]['length'];if(_0x2c7579<_0x23e646['totalCount']){const _0x30e926=_0x33cb6b!==0xa?'\x20--limit\x20'+_0x33cb6b:'',_0x1329b0=_0x40e88c[_0x18c221(0x261)]?_0x51bc68[_0x18c221(0x1d0)]:'',_0x51de01=_0x40e88c['includeDeleted']?_0x51bc68['fAWUA']:'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x2c7579+_0x30e926+_0x1329b0+_0x51de01);}}export async function featureShow(_0x53f4d4){const _0x7ef92=_0xb6b994,_0x44c0bb={'yQLDF':function(_0x2d45b6){return _0x2d45b6();},'qfyGX':function(_0x331e69,_0x51aad5,_0x4ff620){return _0x331e69(_0x51aad5,_0x4ff620);}},_0x3889bb=_0x53f4d4||await _0x44c0bb['yQLDF'](getActiveFeatureId);if(!_0x3889bb)throw new Error(_0x7ef92(0x1bb));const _0x27090e=await getFeature(_0x3889bb);_0x44c0bb[_0x7ef92(0x246)](displayFeature,_0x27090e,_0x27090e[_0x7ef92(0x2a4)]);}export async function featureResume(_0x2e5b32){const _0x26a554=_0xb6b994,_0x1f3f40={'PcLCG':function(_0x21f249,_0x5ccde6){return _0x21f249(_0x5ccde6);},'UVxKF':function(_0x48049d){return _0x48049d();},'zUIsJ':function(_0x2cd5bb,_0x7eb986){return _0x2cd5bb!==_0x7eb986;},'kOpdu':function(_0x685f5,_0x40f7be,_0x594b17){return _0x685f5(_0x40f7be,_0x594b17);},'FKKBb':function(_0x22bc99,_0x5ddf09,_0x405f38){return _0x22bc99(_0x5ddf09,_0x405f38);},'YERYw':function(_0x38a3f8){return _0x38a3f8();},'qRAxm':function(_0x2f6895,_0x331d31){return _0x2f6895&&_0x331d31;},'ufiUK':function(_0x408fc5,_0xc38690){return _0x408fc5||_0xc38690;},'PnqvI':'any','hvMQF':function(_0x4589dd,_0x3551a0){return _0x4589dd===_0x3551a0;},'LIOOf':'Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','YIosi':_0x26a554(0x29c),'QMhpg':_0x26a554(0x29a),'zLmzO':function(_0x4e55f5,_0x483a99){return _0x4e55f5(_0x483a99);}};if(_0x2e5b32){const _0x58a23f=await _0x1f3f40['PcLCG'](getFeature,_0x2e5b32);await _0x1f3f40[_0x26a554(0x240)](setActiveFeatureId,_0x58a23f['id']);const _0x1782db=_0x1f3f40[_0x26a554(0x282)](getGitBranch);_0x1782db&&_0x1f3f40[_0x26a554(0x1ec)](_0x1782db,_0x58a23f[_0x26a554(0x231)])&&(await _0x1f3f40['kOpdu'](updateFeature,_0x58a23f['id'],{'gitBranch':_0x1782db}),console[_0x26a554(0x1f0)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x1782db));console[_0x26a554(0x1f0)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x58a23f['name']+'\x20('+_0x58a23f['id']+')'),await _0x1f3f40['PcLCG'](tryStartCurrentSession,_0x58a23f['id']);const _0x213274=process['env']['CLAUDE_SESSION_ID'];_0x213274&&_0x1f3f40[_0x26a554(0x26d)](registerSession,_0x213274,_0x58a23f['id']);_0x1f3f40['kOpdu'](displayFeature,_0x58a23f,_0x58a23f[_0x26a554(0x2a4)]),await printFeedbackNudge(_0x58a23f['id']);return;}const _0x33b485=_0x1f3f40[_0x26a554(0x23b)](getGitRepoUrl),_0x30848d=getGitBranch();if(_0x1f3f40[_0x26a554(0x28a)](!_0x33b485,!_0x30848d))throw new Error(_0x26a554(0x224));console[_0x26a554(0x1f0)](_0x26a554(0x207)+_0x1f3f40[_0x26a554(0x2a1)](_0x33b485,_0x1f3f40[_0x26a554(0x257)])+_0x26a554(0x23d)+_0x1f3f40['ufiUK'](_0x30848d,_0x1f3f40[_0x26a554(0x257)])+_0x26a554(0x233));const _0xd93ed9=await listFeatures({'gitRepoUrl':_0x33b485,'gitBranch':_0x30848d}),_0x17382f=_0xd93ed9['items']['filter'](_0x441ae4=>_0x441ae4['status']?_0x441ae4[_0x26a554(0x270)]!=='verified':!_0x441ae4['completedAt']);if(_0x17382f['length']===0x0){console['log'](_0x26a554(0x239)),console['log']('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0x365a6c;if(_0x1f3f40['hvMQF'](_0x17382f['length'],0x1))_0x365a6c=_0x17382f[0x0];else{const _0x305356=process['stdin'][_0x26a554(0x220)]&&process[_0x26a554(0x27a)]['isTTY'];if(!_0x305356){console[_0x26a554(0x1f0)](_0x26a554(0x2ad));for(const _0x575c7d of _0x17382f){console[_0x26a554(0x1f0)]('\x20\x20'+_0x575c7d['name']),console[_0x26a554(0x1f0)]('\x20\x20\x20\x20\x20ID:\x20'+_0x575c7d['id']),_0x575c7d[_0x26a554(0x1e5)]&&console['log'](_0x26a554(0x27d)+_0x1f3f40['PcLCG'](getProgressDisplay,_0x575c7d[_0x26a554(0x1e5)])),_0x575c7d[_0x26a554(0x231)]&&console[_0x26a554(0x1f0)](_0x26a554(0x28b)+_0x575c7d[_0x26a554(0x231)]);}throw new Error(_0x1f3f40[_0x26a554(0x20f)]);}const {selected:_0xf22d9}=await _0x814486[_0x26a554(0x265)]([{'type':_0x1f3f40['YIosi'],'name':_0x1f3f40[_0x26a554(0x29e)],'message':_0x26a554(0x28d),'choices':_0x17382f[_0x26a554(0x23f)](_0x1c373d=>({'name':_0x1c373d['name']+'\x20('+_0x1c373d['id']+')','value':_0x1c373d['id']}))}]);_0x365a6c=_0x17382f['find'](_0x3337bf=>_0x3337bf['id']===_0xf22d9);}await setActiveFeatureId(_0x365a6c['id']);_0x30848d&&_0x30848d!==_0x365a6c[_0x26a554(0x231)]&&(await _0x1f3f40[_0x26a554(0x26d)](updateFeature,_0x365a6c['id'],{'gitBranch':_0x30848d}),console['log'](_0x26a554(0x25e)+_0x30848d));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x365a6c['name']+'\x20('+_0x365a6c['id']+')'),await tryStartCurrentSession(_0x365a6c['id']);const _0x359be1=await _0x1f3f40[_0x26a554(0x22a)](getFeature,_0x365a6c['id']),_0x40d199=process[_0x26a554(0x1fa)][_0x26a554(0x1c9)];_0x40d199&&registerSession(_0x40d199,_0x359be1['id']),displayFeature(_0x359be1,_0x359be1[_0x26a554(0x2a4)]),await _0x1f3f40['PcLCG'](printFeedbackNudge,_0x359be1['id']);}async function printFeedbackNudge(_0x18bf13){const _0x2d2c33=_0xb6b994,_0x1d62bc={'iZDVO':function(_0x3175ec,_0x361b50){return _0x3175ec(_0x361b50);},'hGDNi':function(_0x2efd2d,_0x47e302){return _0x2efd2d>_0x47e302;},'eSBUI':_0x2d2c33(0x259)};try{const {items:_0x2bc089}=await _0x1d62bc[_0x2d2c33(0x25b)](getActionItems,_0x18bf13);let _0x5db95c=0x0,_0x507c6b=0x0;for(const _0xd8f578 of _0x2bc089){const _0x21bf5e=await getItemFeedback(_0x18bf13,_0xd8f578['id']);_0x1d62bc['hGDNi'](_0x21bf5e['unaddressedComments']['length'],0x0)&&(_0x5db95c+=_0x21bf5e['unaddressedComments']['length'],_0x507c6b++);}_0x1d62bc['hGDNi'](_0x5db95c,0x0)&&(console[_0x2d2c33(0x1f0)]('\x0a⚠️\x20\x20'+_0x5db95c+_0x2d2c33(0x1cb)+_0x507c6b+_0x2d2c33(0x2a0)),console[_0x2d2c33(0x1f0)](_0x1d62bc[_0x2d2c33(0x26e)]));}catch{}}async function tryStartCurrentSession(_0xfca693){const _0x8c4c11=_0xb6b994,_0x33e129={'vGBkp':function(_0x23240a,_0x1bc310){return _0x23240a(_0x1bc310);}};try{const {sessions:_0x2824c}=await _0x33e129['vGBkp'](listFeatureSessions,_0xfca693),_0x24010e=_0x2824c[_0x8c4c11(0x277)](_0x11d03b=>_0x11d03b[_0x8c4c11(0x270)]==='ready');_0x24010e&&(await startSession(_0xfca693,_0x24010e['id']),console['log'](_0x8c4c11(0x212)+_0x24010e[_0x8c4c11(0x263)]));}catch{}}export async function featureReport(_0x4b1100,_0x5a06a1){const _0x2e7606=_0xb6b994,_0x549826={'umhkE':_0x2e7606(0x273),'yWzIY':'reports','CfTUT':function(_0x1b65a8,_0x4a9f0c,_0x1ecc29){return _0x1b65a8(_0x4a9f0c,_0x1ecc29);},'vmDWe':function(_0xa7cf07,_0x4870c9,_0x3abd36,_0x4ee858){return _0xa7cf07(_0x4870c9,_0x3abd36,_0x4ee858);},'wYjdp':'utf-8'},_0x733555=_0x4b1100||await getActiveFeatureId();if(!_0x733555)throw new Error(_0x549826[_0x2e7606(0x23a)]);console['log'](_0x2e7606(0x203));const _0x1fec69=await getFeatureReportMarkdown(_0x733555,{'style':_0x5a06a1['style']}),_0x3e259c=_0x5a06a1[_0x2e7606(0x25a)]||join(getRangerDir(),_0x549826[_0x2e7606(0x21a)],_0x733555+_0x2e7606(0x1de)),_0x3c36dd=join(_0x3e259c,'..');!existsSync(_0x3c36dd)&&await _0x549826[_0x2e7606(0x281)](mkdir,_0x3c36dd,{'recursive':!![]}),await _0x549826[_0x2e7606(0x1d5)](writeFile,_0x3e259c,_0x1fec69,_0x549826['wYjdp']),console[_0x2e7606(0x1f0)](_0x2e7606(0x251)+_0x3e259c);}function getScenarioResult(_0x475cef){const _0x38197e=_0xb6b994,_0xc5da83={'OPIgj':function(_0x480a90,_0x39de1c){return _0x480a90===_0x39de1c;},'noQhx':_0x38197e(0x1d9)};if(_0xc5da83['OPIgj'](_0x475cef['status'],_0x38197e(0x1c6)))return _0x475cef['terminalReason']??'closed';if(_0xc5da83[_0x38197e(0x266)](_0x475cef[_0x38197e(0x270)],_0xc5da83['noQhx']))return _0x38197e(0x201);return _0x475cef[_0x38197e(0x270)];}function getScenarioRationale(_0x2047a7,_0x70f27c){const _0x5efcd5=_0xb6b994,_0x1f0db7={'UfwIC':_0x5efcd5(0x255)},_0x2a072a=_0x1f0db7[_0x5efcd5(0x285)]['split']('|');let _0x2794ae=0x0;while(!![]){switch(_0x2a072a[_0x2794ae++]){case'0':if(_0x2047a7[_0x5efcd5(0x290)])return _0x2047a7['canceledReason'];continue;case'1':if(_0x2047a7[_0x5efcd5(0x288)])return _0x2047a7['blockedReason'];continue;case'2':if(_0x2047a7['incompleteReason'])return _0x2047a7[_0x5efcd5(0x21c)];continue;case'3':if(_0x2047a7['notes'])return _0x2047a7['notes'];continue;case'4':if(_0x70f27c)return _0x70f27c;continue;case'5':return null;}break;}}export async function featureReportPrDescription(_0xa3b920,_0x1cd3d5){const _0x137e23=_0xb6b994,_0x32294f={'QeJvC':function(_0x28dabe){return _0x28dabe();},'eFSLK':_0x137e23(0x273),'oPgkA':function(_0x320238,_0x4b13a9,_0x3b5a53){return _0x320238(_0x4b13a9,_0x3b5a53);},'HzHWz':function(_0x501c82,_0x5ca2b9){return _0x501c82===_0x5ca2b9;},'xMhLh':function(_0x4f2e33,_0x21fad6){return _0x4f2e33>_0x21fad6;},'Dfmiz':_0x137e23(0x295),'BbcRJ':function(_0x258395,_0x28b004){return _0x258395+_0x28b004;},'CAvoN':_0x137e23(0x1f8),'wooOQ':function(_0x2af08e,_0x5aa720,_0x16aed6,_0x2482cb){return _0x2af08e(_0x5aa720,_0x16aed6,_0x2482cb);}},_0x182a4b=_0xa3b920||await _0x32294f[_0x137e23(0x275)](getActiveFeatureId);if(!_0x182a4b)throw new Error(_0x32294f[_0x137e23(0x1e2)]);const _0x1f2c85=await getFeature(_0x182a4b),_0xeb071d=_0x1f2c85[_0x137e23(0x2a4)]||[],_0x31861d=_0x32294f[_0x137e23(0x1eb)](getCurrentSessionItems,_0x1f2c85,_0xeb071d);_0x32294f[_0x137e23(0x2a5)](_0x31861d['length'],0x0)&&(console['error'](_0x137e23(0x1f4)),process['exit'](0x1));const _0x30749b=_0x1cd3d5[_0x137e23(0x1ff)]??[],_0x4fdeda=_0x30749b[_0x137e23(0x1e7)](_0x382652=>!Number[_0x137e23(0x1d3)](_0x382652)||_0x382652<0x1||_0x382652>_0x31861d[_0x137e23(0x1bd)]);if(_0x32294f[_0x137e23(0x21b)](_0x4fdeda[_0x137e23(0x1bd)],0x0)){console['error'](_0x137e23(0x221)+_0x4fdeda[_0x137e23(0x25f)](',\x20')),console['log'](_0x32294f['Dfmiz']);for(let _0x40e50f=0x0;_0x40e50f<_0x31861d[_0x137e23(0x1bd)];_0x40e50f++){console[_0x137e23(0x1f0)]('\x20\x20'+_0x32294f[_0x137e23(0x262)](_0x40e50f,0x1)+'.\x20'+_0x31861d[_0x40e50f]['description']);}process['exit'](0x1);}const _0x4281d4=new Set(_0x30749b[_0x137e23(0x23f)](_0x274b94=>_0x274b94-0x1)),_0x167ec0=_0x31861d['filter']((_0x933166,_0x5930a9)=>!_0x4281d4['has'](_0x5930a9));_0x32294f['HzHWz'](_0x167ec0['length'],0x0)&&(console[_0x137e23(0x216)](_0x32294f[_0x137e23(0x218)]),process[_0x137e23(0x271)](0x1));if(_0x1cd3d5['json'])await _0x32294f['wooOQ'](outputJsonReport,_0x182a4b,_0x1f2c85,_0x167ec0);else{const _0x4232d5=await _0x32294f[_0x137e23(0x1eb)](getFeatureReportMarkdown,_0x182a4b,{'itemIds':_0x167ec0['map'](_0x32c817=>_0x32c817['id'])});process['stdout']['write'](_0x4232d5[_0x137e23(0x249)]()+'\x0a');}}async function outputJsonReport(_0x11033a,_0x4803f8,_0x5436eb){const _0x14134d=_0xb6b994,_0x1ef1bd={'Ilbse':function(_0x420435,_0x41aa61){return _0x420435(_0x41aa61);},'sLtSP':function(_0x1f590c,_0x956370){return _0x1f590c>_0x956370;},'KBMhK':function(_0x455cd7,_0x4d6bf3){return _0x455cd7===_0x4d6bf3;},'QBRcE':function(_0x29231a,_0x3b81e9){return _0x29231a(_0x3b81e9);},'CrvfQ':function(_0x572b48,_0x50c1bd,_0x1a3245){return _0x572b48(_0x50c1bd,_0x1a3245);},'nWRjn':function(_0x296e98){return _0x296e98();},'bvVNU':function(_0x1b657e,_0x448e30){return _0x1b657e+_0x448e30;}},_0x507c3f=_0x1ef1bd['nWRjn'](getApiBaseUrl),_0x30854f=await getFeatureReport(_0x11033a),_0x94ebc3=new Map(_0x30854f['checklistItems'][_0x14134d(0x23f)](_0xb86ca0=>[_0xb86ca0['id'],_0xb86ca0])),_0x4efcc1=await Promise['all'](_0x5436eb[_0x14134d(0x23f)](async _0x54fbd3=>{const _0x46e64b=_0x14134d,_0x559310=_0x94ebc3['get'](_0x54fbd3['id']),_0x1e3c4e=_0x559310?.['linkedSession']??null;let _0x4fdb9e=[];if(_0x54fbd3['browserSessionId'])try{const {steps:_0x15b6ca}=await _0x1ef1bd['Ilbse'](getBrowserSessionSteps,_0x54fbd3[_0x46e64b(0x1c8)]);_0x1ef1bd[_0x46e64b(0x1d6)](_0x15b6ca['length'],0x0)&&(_0x4fdb9e=_0x15b6ca['map'](_0x71959c=>{const _0x2f21e7=_0x46e64b,_0x2c08c8=_0x71959c['assets'][_0x2f21e7(0x277)](_0x354e37=>_0x354e37[_0x2f21e7(0x26b)]==='screenshot'&&_0x354e37['timing']===_0x2f21e7(0x267))??_0x71959c[_0x2f21e7(0x292)][_0x2f21e7(0x277)](_0x25a75a=>_0x25a75a['assetType']==='screenshot');let _0x3034d0=null,_0x3fd945=null;if(_0x2c08c8){const _0x585a47=_0x2c08c8['storage'][_0x2f21e7(0x26a)]['split']('/')['pop']();_0x3034d0=_0x507c3f+_0x2f21e7(0x235)+_0x54fbd3[_0x2f21e7(0x1c8)]+_0x2f21e7(0x236)+_0x585a47,_0x585a47&&(_0x3fd945=_0x585a47[_0x2f21e7(0x287)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x2f21e7(0x287)](/[-_]/g,'\x20'));}return{'description':_0x3fd945||_0x71959c['description']||_0x71959c[_0x2f21e7(0x1ee)]||_0x2f21e7(0x27b)+_0x71959c['position'],'screenshot':_0x3034d0,'is_key_step':_0x71959c[_0x2f21e7(0x211)]};}));}catch{}return _0x1ef1bd[_0x46e64b(0x253)](_0x4fdb9e['length'],0x0)&&_0x1e3c4e?.['screenshotUrls']&&(_0x4fdb9e=_0x1e3c4e[_0x46e64b(0x2ab)][_0x46e64b(0x23f)]((_0x57df4a,_0x289401)=>({'description':'Screenshot\x20'+(_0x289401+0x1),'screenshot':_0x57df4a,'is_key_step':![]}))),{'description':_0x54fbd3['description'],'result':_0x1ef1bd['QBRcE'](getScenarioResult,_0x54fbd3),'rationale':_0x1ef1bd['CrvfQ'](getScenarioRationale,_0x54fbd3,_0x1e3c4e?.['agentResponse']),'steps':_0x4fdb9e};})),_0x4cbab6={'url':_0x4803f8[_0x14134d(0x205)],'scenarios':_0x4efcc1};process[_0x14134d(0x27a)][_0x14134d(0x206)](_0x1ef1bd['bvVNU'](JSON[_0x14134d(0x1e3)](_0x4cbab6,null,0x2),'\x0a'));}function _0x3a40(_0x45cb12,_0x336545){_0x45cb12=_0x45cb12-0x1bb;const _0x4b9beb=_0x4b9b();let _0x3a40cb=_0x4b9beb[_0x45cb12];return _0x3a40cb;}export async function featureConcludeSession(_0x2c8053){const _0x4dda95=_0xb6b994,_0x5e0f0f={'gYGuM':function(_0x22460b){return _0x22460b();},'RJcQk':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','EtSLQ':_0x4dda95(0x227),'QiyzR':function(_0x2bf986,_0x406025){return _0x2bf986===_0x406025;},'btmJu':_0x4dda95(0x294),'EJhki':function(_0x53f7ef,_0x323bbd){return _0x53f7ef!==_0x323bbd;},'gZENg':function(_0xb59fa4,_0x2cba64,_0x5ac63d){return _0xb59fa4(_0x2cba64,_0x5ac63d);}},_0x3eecc2=_0x2c8053||await _0x5e0f0f['gYGuM'](getActiveFeatureId);if(!_0x3eecc2)throw new Error(_0x5e0f0f[_0x4dda95(0x20a)]);const _0x124119=await getFeature(_0x3eecc2);if(!_0x124119[_0x4dda95(0x291)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x3caf8d}=await listFeatureSessions(_0x3eecc2),_0x3bf68f=_0x3caf8d['find'](_0x3552e9=>_0x3552e9['id']===_0x124119[_0x4dda95(0x291)]);if(!_0x3bf68f)throw new Error(_0x5e0f0f['EtSLQ']);if(_0x5e0f0f[_0x4dda95(0x217)](_0x3bf68f['status'],'completed')){console['log'](_0x5e0f0f[_0x4dda95(0x2a2)]);return;}if(_0x5e0f0f['EJhki'](_0x3bf68f['status'],'in_progress'))throw new Error(_0x4dda95(0x296)+_0x3bf68f[_0x4dda95(0x270)]);console['log']('\x0aConcluding\x20session...'),await _0x5e0f0f[_0x4dda95(0x250)](concludeSession,_0x3eecc2,_0x124119[_0x4dda95(0x291)]),console['log'](_0x4dda95(0x278)+_0x3bf68f['iteration']+_0x4dda95(0x25c)),console['log']('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x32f305){const _0x33bebb=_0xb6b994,_0x141f28={'VPhYO':_0x33bebb(0x273),'EhDwD':function(_0x10abea,_0x54a53d){return _0x10abea(_0x54a53d);},'ZyjJH':_0x33bebb(0x204),'imDIF':_0x33bebb(0x276)},_0x17b784=_0x32f305||await getActiveFeatureId();if(!_0x17b784)throw new Error(_0x141f28[_0x33bebb(0x1fe)]);const _0x336e9c=await _0x141f28[_0x33bebb(0x226)](getFeature,_0x17b784);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x336e9c[_0x33bebb(0x222)]+'\x0a');const {sessions:_0x5a5cbe}=await _0x141f28['EhDwD'](listFeatureSessions,_0x17b784);if(_0x5a5cbe['length']===0x0){console['log'](_0x141f28[_0x33bebb(0x258)]);return;}for(const _0x37257e of _0x5a5cbe){const _0x2f0563=_0x37257e[_0x33bebb(0x270)]===_0x141f28[_0x33bebb(0x254)]?'✅':_0x37257e[_0x33bebb(0x270)]===_0x33bebb(0x201)?'🔄':'▶️';console[_0x33bebb(0x1f0)](_0x2f0563+_0x33bebb(0x29b)+_0x37257e['iteration']+'\x20('+_0x37257e['id']+')'),console[_0x33bebb(0x1f0)](_0x33bebb(0x2aa)+_0x37257e[_0x33bebb(0x270)]),console[_0x33bebb(0x1f0)](_0x33bebb(0x213)+new Date(_0x37257e[_0x33bebb(0x1fb)])[_0x33bebb(0x24c)]()),_0x37257e[_0x33bebb(0x260)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x37257e[_0x33bebb(0x260)])[_0x33bebb(0x24c)]()),console[_0x33bebb(0x1f0)]('');}}export async function featureAddScenario(_0x2c06e4,_0x5554b4){const _0x2b1fa5=_0xb6b994,_0x1b16eb={'Cdwlo':function(_0x4ac68b,_0x2eec38,_0x76b9c8){return _0x4ac68b(_0x2eec38,_0x76b9c8);},'UrcZA':function(_0x2eccec,_0x6edaf,_0x3f2e96){return _0x2eccec(_0x6edaf,_0x3f2e96);}},_0x106c06=_0x5554b4||await getActiveFeatureId();if(!_0x106c06)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 _0x53d225=await getFeature(_0x106c06);if(_0x53d225[_0x2b1fa5(0x299)]&&!_0x53d225['latestReview'][_0x2b1fa5(0x1fd)])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x53d225[_0x2b1fa5(0x205)]);await _0x1b16eb['Cdwlo'](createChecklistItem,_0x106c06,_0x2c06e4);const _0x41852f=await getFeature(_0x106c06);console[_0x2b1fa5(0x1f0)]('\x0a✅\x20Scenario\x20added'),_0x1b16eb[_0x2b1fa5(0x289)](displayFeature,_0x41852f,_0x41852f['checklistItems']);}export async function featureEditScenario(_0x2b8eaa,_0x1a5113){const _0x2a4dd7=_0xb6b994,_0x42dfb9={'XDdIP':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','QRscJ':function(_0x59e70d,_0x5d202b){return _0x59e70d(_0x5d202b);},'jobPT':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','LNPbq':'Please\x20finish\x20your\x20review\x20first:','mXcnw':function(_0x3f8746,_0x2c7ad9){return _0x3f8746===_0x2c7ad9;},'hLrPP':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','oPigy':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','IXULi':function(_0x403bf1,_0x44133c){return _0x403bf1+_0x44133c;},'yjjqU':function(_0x2dafb6,_0x205fe2){return _0x2dafb6-_0x205fe2;},'WFPpU':function(_0x52dcc0,_0x560f76){return _0x52dcc0<_0x560f76;},'UNwxg':function(_0x337941,_0x518f07){return _0x337941>=_0x518f07;},'HKeqG':function(_0x429f14,_0x1862a3,_0x57c6a5,_0x4e91d8){return _0x429f14(_0x1862a3,_0x57c6a5,_0x4e91d8);},'Fjmzu':function(_0x5e07c1,_0x4ff67b,_0x2e176b){return _0x5e07c1(_0x4ff67b,_0x2e176b);}},_0x59e324=_0x1a5113['id']||await getActiveFeatureId();!_0x59e324&&(console[_0x2a4dd7(0x216)](_0x42dfb9[_0x2a4dd7(0x1bc)]),console['error'](_0x2a4dd7(0x243)),process['exit'](0x1));const _0x1daedf=await _0x42dfb9['QRscJ'](getFeature,_0x59e324);_0x1daedf[_0x2a4dd7(0x299)]&&!_0x1daedf['latestReview'][_0x2a4dd7(0x1fd)]&&(console[_0x2a4dd7(0x216)](_0x42dfb9['jobPT']),console[_0x2a4dd7(0x216)](_0x42dfb9['LNPbq']),console[_0x2a4dd7(0x216)]('\x20\x20'+_0x1daedf['dashboardUrl']),process[_0x2a4dd7(0x271)](0x1));const _0x3345a3=_0x1daedf[_0x2a4dd7(0x2a4)]||[];_0x42dfb9['mXcnw'](_0x3345a3['length'],0x0)&&(console['error'](_0x42dfb9['hLrPP']),process[_0x2a4dd7(0x271)](0x1));if(_0x42dfb9[_0x2a4dd7(0x1e4)](_0x1a5113['scenario'],undefined)){console[_0x2a4dd7(0x216)](_0x42dfb9[_0x2a4dd7(0x2af)]),console[_0x2a4dd7(0x1f0)]('\x0aAvailable\x20scenarios:');for(let _0x43083c=0x0;_0x43083c<_0x3345a3['length'];_0x43083c++){console['log']('\x20\x20'+_0x42dfb9[_0x2a4dd7(0x237)](_0x43083c,0x1)+'.\x20'+_0x3345a3[_0x43083c]['description']);}process[_0x2a4dd7(0x271)](0x1);}const _0x38fb3e=_0x42dfb9[_0x2a4dd7(0x245)](_0x1a5113[_0x2a4dd7(0x1fc)],0x1);if(_0x42dfb9[_0x2a4dd7(0x256)](_0x38fb3e,0x0)||_0x42dfb9['UNwxg'](_0x38fb3e,_0x3345a3['length'])){console['error'](_0x2a4dd7(0x21d)+_0x1a5113['scenario']+'.\x20Feature\x20review\x20has\x20'+_0x3345a3[_0x2a4dd7(0x1bd)]+'\x20scenarios.'),console['log']('\x0aAvailable\x20scenarios:');for(let _0x1bbcb3=0x0;_0x1bbcb3<_0x3345a3[_0x2a4dd7(0x1bd)];_0x1bbcb3++){console['log']('\x20\x20'+_0x42dfb9[_0x2a4dd7(0x237)](_0x1bbcb3,0x1)+'.\x20'+_0x3345a3[_0x1bbcb3]['description']);}process[_0x2a4dd7(0x271)](0x1);}const _0x241fb6=_0x3345a3[_0x38fb3e];await _0x42dfb9[_0x2a4dd7(0x21e)](updateChecklistItem,_0x59e324,_0x241fb6['id'],{'description':_0x2b8eaa});const _0x366e0e=await _0x42dfb9['QRscJ'](getFeature,_0x59e324);console[_0x2a4dd7(0x1f0)](_0x2a4dd7(0x2a9)),_0x42dfb9[_0x2a4dd7(0x1e6)](displayFeature,_0x366e0e,_0x366e0e[_0x2a4dd7(0x2a4)]);}async function downloadFeedbackImage(_0x239aa0,_0x1c73db){const _0x5a3146=_0xb6b994,_0x23c31f={'jIgIx':'feedback-images'};try{const _0xf8b5c3=join(getRangerDir(),_0x23c31f[_0x5a3146(0x1da)]);await mkdir(_0xf8b5c3,{'recursive':!![]});const _0xa1e7c7=join(_0xf8b5c3,_0x5a3146(0x234)+_0x1c73db+'.png'),_0x2277b0=await fetch(_0x239aa0);if(!_0x2277b0['ok'])return null;const _0x373be5=Buffer['from'](await _0x2277b0['arrayBuffer']());return await writeFile(_0xa1e7c7,_0x373be5),_0xa1e7c7;}catch{return null;}}export async function featureGetReview(_0x336715){const _0x47cf30=_0xb6b994,_0x4fb357={'RENeS':function(_0x4e56ea,_0x164136,_0x3ac06c){return _0x4e56ea(_0x164136,_0x3ac06c);},'Jrxro':function(_0x1a605d,_0x165af9){return _0x1a605d>_0x165af9;},'TvRzg':function(_0x3f7455,_0x51f831){return _0x3f7455+_0x51f831;},'uVVgC':'en-US','phQTF':'Unknown','mUuGE':function(_0x3cf866,_0x2ac3d){return _0x3cf866+_0x2ac3d;}},_0x32da25=_0x336715||await getActiveFeatureId();if(!_0x32da25)throw new Error(_0x47cf30(0x1bb));const _0x1b734f=await getFeature(_0x32da25),{items:_0x4a1185}=await getActionItems(_0x32da25);console['log'](_0x47cf30(0x284)+_0x1b734f['name']+'\x20('+_0x1b734f['id']+')\x0a');if(_0x4a1185['length']===0x0){console['log'](_0x47cf30(0x1f2));return;}for(let _0x30dbe2=0x0;_0x30dbe2<_0x4a1185['length'];_0x30dbe2++){const _0x330eb9=_0x4a1185[_0x30dbe2],_0x5a5b33=_0x330eb9[_0x47cf30(0x286)]>0x1?_0x47cf30(0x1cd)+_0x330eb9['version']+')':'',_0x2642b5=await _0x4fb357[_0x47cf30(0x202)](getItemFeedback,_0x32da25,_0x330eb9['id']);if(_0x4fb357['Jrxro'](_0x2642b5['unaddressedComments'][_0x47cf30(0x1bd)],0x0)){console[_0x47cf30(0x1f0)](_0x47cf30(0x225)+_0x4fb357[_0x47cf30(0x1d2)](_0x30dbe2,0x1)+':\x20\x22'+_0x330eb9['description']+'\x22'+_0x5a5b33+_0x47cf30(0x214)+_0x2642b5['unaddressedComments']['length']+_0x47cf30(0x29d));for(const _0x3981f8 of _0x2642b5['unaddressedComments']){const _0x44e210=new Date(_0x3981f8[_0x47cf30(0x1fb)])[_0x47cf30(0x208)](_0x4fb357['uVVgC'],{'month':'short','day':_0x47cf30(0x210)}),_0x21871a=_0x3981f8['authorName']||_0x3981f8['authorEmail']||_0x4fb357[_0x47cf30(0x1f1)];console['log']('\x20\x20💬\x20'+_0x21871a+'\x20('+_0x44e210+'):\x20\x22'+_0x3981f8['content']+'\x22');if(_0x3981f8['assetUrl']){const _0x8749d5=await downloadFeedbackImage(_0x3981f8['assetUrl'],_0x3981f8['id']);_0x8749d5&&console['log'](_0x47cf30(0x1cf)+_0x8749d5);}if(_0x3981f8['domRef']){const _0x1abdac=_0x3981f8[_0x47cf30(0x298)][_0x47cf30(0x1c3)]['split'](_0x47cf30(0x1d7))['pop']()?.['split'](':')[0x0]||_0x47cf30(0x21f),_0x4c937a=_0x3981f8['domRef'][_0x47cf30(0x24f)]?'\x20\x22'+_0x3981f8[_0x47cf30(0x298)][_0x47cf30(0x24f)]['slice'](0x0,0x3c)+'\x22':'';console[_0x47cf30(0x1f0)](_0x47cf30(0x20b)+_0x1abdac+'>'+_0x4c937a),console['log'](_0x47cf30(0x219)+_0x3981f8['domRef']['selector']);}else{if(_0x3981f8['spatial']){const _0x4d1e1b=_0x3981f8[_0x47cf30(0x1dd)][_0x47cf30(0x209)];_0x3981f8[_0x47cf30(0x1dd)]['type']==='point'&&_0x4d1e1b['length']>=0x2?console['log'](_0x47cf30(0x22d)+_0x4d1e1b[0x0][_0x47cf30(0x1f6)](0x2)+',\x20'+_0x4d1e1b[0x1]['toFixed'](0x2)+')'):console['log'](_0x47cf30(0x28c)+_0x3981f8[_0x47cf30(0x1dd)]['type']+'\x20at\x20['+_0x4d1e1b[_0x47cf30(0x23f)](_0x43e507=>_0x43e507['toFixed'](0x2))[_0x47cf30(0x25f)](',\x20')+']');}}}if(_0x2642b5[_0x47cf30(0x2a8)]){console['log']('\x20\x20Expected\x20flow:');for(const _0x13190d of _0x2642b5['canonicalFlow']['split']('\x0a')){console[_0x47cf30(0x1f0)]('\x20\x20\x20\x20'+_0x13190d);}}}else console[_0x47cf30(0x1f0)]('Scenario\x20'+_0x4fb357['mUuGE'](_0x30dbe2,0x1)+_0x47cf30(0x228)+_0x330eb9[_0x47cf30(0x232)]+'\x22'+_0x5a5b33+_0x47cf30(0x24a)),console[_0x47cf30(0x1f0)](_0x47cf30(0x2b0));console[_0x47cf30(0x1f0)]('');}}export async function featureDelete(_0x33152d){const _0x320f34=_0xb6b994,_0x1597d4={'WTDJc':function(_0x545fc2){return _0x545fc2();},'iiRpV':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','LJMeC':function(_0x180dbb,_0x2c9286){return _0x180dbb(_0x2c9286);}},_0x5ba6c1=_0x33152d||await _0x1597d4[_0x320f34(0x27e)](getActiveFeatureId);if(!_0x5ba6c1)throw new Error(_0x1597d4[_0x320f34(0x1ed)]);const _0x588c32=await _0x1597d4[_0x320f34(0x1dc)](getFeature,_0x5ba6c1);await _0x1597d4[_0x320f34(0x1dc)](softDeleteFeature,_0x5ba6c1),console[_0x320f34(0x1f0)](_0x320f34(0x27c)+_0x588c32[_0x320f34(0x222)]+'\x20('+_0x5ba6c1+')'),console[_0x320f34(0x1f0)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'+_0x5ba6c1);}export async function featureRestore(_0x3a46d0){const _0x585c71=_0xb6b994,_0x4ece80={'mqUjM':function(_0x495bdb,_0x5b1c0c){return _0x495bdb(_0x5b1c0c);},'xyvjt':function(_0x2b3588,_0x56e465,_0x30cf56){return _0x2b3588(_0x56e465,_0x30cf56);}};await _0x4ece80['mqUjM'](restoreFeature,_0x3a46d0);const _0x122f83=await getFeature(_0x3a46d0);console['log'](_0x585c71(0x269)+_0x122f83[_0x585c71(0x222)]+'\x20('+_0x3a46d0+')'),_0x4ece80[_0x585c71(0x1e9)](displayFeature,_0x122f83,_0x122f83[_0x585c71(0x2a4)]);}
1
+ const _0x57f920=_0xbea4;(function(_0xccafff,_0x36f9e8){const _0x487984=_0xbea4,_0x561f47=_0xccafff();while(!![]){try{const _0x1ffdf7=-parseInt(_0x487984(0x21a))/0x1*(parseInt(_0x487984(0x26b))/0x2)+-parseInt(_0x487984(0x1c5))/0x3+parseInt(_0x487984(0x1e5))/0x4+-parseInt(_0x487984(0x25f))/0x5*(parseInt(_0x487984(0x1ca))/0x6)+parseInt(_0x487984(0x204))/0x7+parseInt(_0x487984(0x1a7))/0x8+-parseInt(_0x487984(0x1a5))/0x9;if(_0x1ffdf7===_0x36f9e8)break;else _0x561f47['push'](_0x561f47['shift']());}catch(_0x26e8db){_0x561f47['push'](_0x561f47['shift']());}}}(_0x311c,0xd2e7d));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x33fa24 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';function _0x311c(){const _0x26d4ad=['status','jbyQT','\x0a✅\x20Scenario\x20added','stats','trim','YIdKF','XeQMR','\x20/\x20','\x0a✅\x20Scenario\x20updated','active-feature.txt','\x0a\x20\x20\x20Scenarios:','dRqqC','comment_','CJLYu','QSYOm','NQUbo','Vwzgh','\x0a✅\x20Session\x20is\x20already\x20completed.','snVIh','5532788AdZhIu','repeat','ptVVd','pop','type','\x20scenario(s).','replace','unaddressedComments','\x20unaddressed\x20comment(s)','length','toLocaleString','uiDmT','QqQhy','CYegB','dUfNY','JDFOi','rqZbp','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','toFixed','\x20incomplete','currentSessionId','CLAUDE_SESSION_ID','\x20\x20💬\x20','EaJwa','IDgyP','all','terminalReason','utf-8','Cannot\x20conclude\x20session\x20with\x20status:\x20','cNADk','lKNvx','4113774wSIYQp','eHibH','after','exit','.png','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','ykghw','\x20—\x20no\x20comments','trimEnd','lJxsm','push','includeDeleted','CFVdY','coordinates','\x20\x20✅\x20No\x20feedback\x20to\x20address','numeric','jgMDT','split','canonicalFlow','find','\x20\x20Expected\x20flow:','git\x20remote\x20get-url\x20origin','49WQBjmw','output','\x0aNo\x20feature\x20reviews\x20found.','verified','yCtRe','\x0a✅\x20Session\x20','screenshotUrls','linkedSession','description','assetUrl','dashboardUrl','excludeScenarios','\x1b[1m','Scenario\x20','SPYVQ','any','github.com/','gitRepoUrl','assetType','list','stdout','in_progress','NZVTd','FkOXC','notes','KtsHM','Not\x20in\x20a\x20git\x20repository.','Pcsrc','limit','gIWKJ','pipe','SNBUy','yRYIW','NliGE','write','aSQdR','XujFK','.md','version','WsfDD','offset','VMfWH','yHnVp','element','.\x20Feature\x20review\x20has\x20','filter','error','toLocaleDateString','reports','TYCBM','log','\x20—\x20','\x20\x20\x20\x20\x20\x20Approved','\x0a✅\x20Resumed\x20feature\x20review:\x20','closed','BGlUo','\x0a✅\x20Feature\x20review\x20created:\x20','json','assets','YTWQR','checklistItems','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','AlmrO','\x20\x20\x20\x20\x20ID:\x20','stringify','xYLWa','Mtmwa','name','rCcpw','5gUIqJD','\x20\x20\x20\x20\x20\x20Incomplete:\x20','scenarios','vPCSu','\x20--current-branch','axfSi','rXkar','domRef','kjoxJ','JBUsJ','\x0a⚠️\x20\x20','\x20in\x20progress','12274ZZLMLg','lbymS','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','totalCount','\x20at\x20[','completedAt','verification_in_progress','scenario','CkyfW','FanPD','\x20\x20\x20Branch:\x20','point','createdAt','\x20Session\x20','4|2|5|3|1|0','en-US','blocked','stdin','7081029QtYiXd','bJZJu','7508360rplAIF','BEOhn','Screenshot\x20','gitBranch','incompleteReason','map','wubWN','\x20[has\x20reviewer\x20feedback]','spatial','afkxG','\x20feature\x20review(s)\x20found','AUpLt','\x20\x20\x20\x20\x20📋\x20Selector:\x20','env','\x20(v','iteration','from','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20',':\x20\x22','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','czGgX','sessionId','items','Ydaau','browserSessionId','parentItemId','LAMCB','has','currentBranch','storage','2827485Inbnnk','WLykT','join','blockedReason','qGNYR','93396LcdZBr','screenshot','\x0aAvailable\x20scenarios:','submittedAt','agentResponse','No\x20sessions\x20found.','latestReview','\x20\x20\x20Created:\x20'];_0x311c=function(){return _0x26d4ad;};return _0x311c();}import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';function _0xbea4(_0x5313bf,_0x428a85){_0x5313bf=_0x5313bf-0x195;const _0x311cde=_0x311c();let _0xbea4bc=_0x311cde[_0x5313bf];return _0xbea4bc;}const ACTIVE_FEATURE_FILE=_0x57f920(0x1db),bold=_0x571513=>_0x57f920(0x226)+_0x571513+'\x1b[0m';function getGitRepoUrl(){const _0x4bde35=_0x57f920,_0x225aed={'QRDQg':function(_0x45f817,_0x509bdd,_0x11ab70){return _0x45f817(_0x509bdd,_0x11ab70);},'yRYIW':_0x4bde35(0x219),'NLxaf':'utf-8'};try{const _0x53aaff=_0x225aed['QRDQg'](execSync,_0x225aed[_0x4bde35(0x23a)],{'encoding':_0x225aed['NLxaf'],'stdio':['pipe',_0x4bde35(0x238),'pipe']})[_0x4bde35(0x1d6)]();return _0x53aaff[_0x4bde35(0x1eb)](/\.git$/,'')[_0x4bde35(0x1eb)](/^git@github\.com:/,_0x4bde35(0x22a))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x421776=_0x57f920,_0x991ad5={'Pcsrc':_0x421776(0x238)};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':'utf-8','stdio':[_0x991ad5[_0x421776(0x235)],_0x991ad5['Pcsrc'],_0x991ad5['Pcsrc']]})[_0x421776(0x1d6)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0xb1efae=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0xb1efae))return null;try{const _0x3e0c9d=await readFile(_0xb1efae,'utf-8');return _0x3e0c9d['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x3dd55c){const _0x13e746={'evVfk':function(_0xa5d777,_0x1cee73){return _0xa5d777(_0x1cee73);}},_0x1e4eb5=getRangerDir(),_0x56975f=join(_0x1e4eb5,ACTIVE_FEATURE_FILE);!_0x13e746['evVfk'](existsSync,_0x1e4eb5)&&await mkdir(_0x1e4eb5,{'recursive':!![]}),await writeFile(_0x56975f,_0x3dd55c,'utf-8');}function getProgressDisplay(_0x5864f3){const _0x57cc7c=_0x57f920,_0x44cfd5={'qGNYR':function(_0xf7cee5,_0x2bb122){return _0xf7cee5+_0x2bb122;},'LjNIM':function(_0x329356,_0xbd5ac9){return _0x329356+_0xbd5ac9;},'CJLYu':function(_0x944ec1,_0x3aeb2a){return _0x944ec1+_0x3aeb2a;},'BLhTv':function(_0x24a88e,_0x26ae34){return _0x24a88e*_0x26ae34;},'Mtmwa':function(_0x527ea9,_0x3f106a){return _0x527ea9/_0x3f106a;},'QqQhy':function(_0x2cf3f9,_0x2a59a2){return _0x2cf3f9>_0x2a59a2;}},_0xe39d04=_0x5864f3['verifiedItems']||0x0,_0x4dd966=_0x5864f3['verificationInProgressItems']||0x0,_0x203f1f=_0x5864f3['blockedItems']||0x0,_0x426434=_0x5864f3['incompleteItems']||0x0,_0x1e2f40=_0x5864f3['pendingItems']||0x0,_0x1b4461=_0x44cfd5[_0x57cc7c(0x1c9)](_0x44cfd5['LjNIM'](_0x44cfd5[_0x57cc7c(0x1df)](_0x44cfd5['LjNIM'](_0xe39d04,_0x4dd966),_0x203f1f),_0x426434),_0x1e2f40);if(_0x1b4461===0x0)return'-';const _0x264fca=0xa,_0x406be4=Math['round'](_0x44cfd5['BLhTv'](_0x44cfd5[_0x57cc7c(0x25c)](_0xe39d04,_0x1b4461),_0x264fca)),_0x198998='█'['repeat'](_0x406be4)+'░'[_0x57cc7c(0x1e6)](_0x264fca-_0x406be4),_0x3f6825=[];if(_0x203f1f>0x0)_0x3f6825['push'](_0x203f1f+'\x20blocked');if(_0x426434>0x0)_0x3f6825[_0x57cc7c(0x20e)](_0x426434+_0x57cc7c(0x1f8));if(_0x44cfd5[_0x57cc7c(0x1f1)](_0x4dd966,0x0))_0x3f6825['push'](_0x4dd966+_0x57cc7c(0x26a));const _0x20756b=_0x3f6825[_0x57cc7c(0x1ee)]>0x0?'\x20('+_0x3f6825[_0x57cc7c(0x1c7)](',\x20')+')':'';return _0x198998+'\x20'+_0xe39d04+'/'+_0x1b4461+'\x20verified'+_0x20756b;}function getCurrentSessionItems(_0x1d9d5b,_0xece3f3){const _0x37fa54=_0x57f920;if(!_0x1d9d5b['currentSessionId'])return _0xece3f3['filter'](_0x44aaf5=>!_0x44aaf5['sessionId']);return _0xece3f3['filter'](_0x24354b=>_0x24354b[_0x37fa54(0x1bc)]===_0x1d9d5b['currentSessionId']||!_0x24354b['sessionId']);}function displayFeature(_0x36377a,_0x1fad18){const _0x402459=_0x57f920,_0x4581e8={'CYegB':_0x402459(0x1dc),'ykghw':function(_0x4ad351,_0x5d8e6c){return _0x4ad351<_0x5d8e6c;},'aWvHF':'closed','BEOhn':'approved','AlmrO':function(_0x54b17d,_0x941467){return _0x54b17d===_0x941467;},'eHibH':'incomplete','yNhKI':'blocked','kjoxJ':function(_0xb58456,_0x3e5406){return _0xb58456===_0x3e5406;},'LESDc':_0x402459(0x199),'wKhfC':_0x402459(0x1ae),'czGgX':function(_0x159f32,_0x55a467){return _0x159f32===_0x55a467;}};console['log']('\x0a'+_0x36377a[_0x402459(0x25d)]+'\x20('+_0x36377a['dashboardUrl']+')');_0x36377a[_0x402459(0x1d5)]&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x36377a[_0x402459(0x1d5)]));_0x36377a[_0x402459(0x222)]&&console[_0x402459(0x24c)]('\x20\x20\x20Description:\x20'+_0x36377a[_0x402459(0x222)]);_0x36377a['gitRepoUrl']&&console['log']('\x20\x20\x20Repository:\x20'+_0x36377a[_0x402459(0x22b)]);_0x36377a[_0x402459(0x1aa)]&&console[_0x402459(0x24c)](_0x402459(0x19d)+_0x36377a[_0x402459(0x1aa)]);console[_0x402459(0x24c)](_0x402459(0x1d1)+new Date(_0x36377a['createdAt'])['toLocaleString']());_0x36377a[_0x402459(0x198)]&&console[_0x402459(0x24c)]('\x20\x20\x20Completed:\x20'+new Date(_0x36377a['completedAt'])[_0x402459(0x1ef)]());if(_0x1fad18&&_0x1fad18[_0x402459(0x1ee)]>0x0){console['log'](_0x4581e8[_0x402459(0x1f2)]);for(let _0x29b0d0=0x0;_0x4581e8[_0x402459(0x20a)](_0x29b0d0,_0x1fad18[_0x402459(0x1ee)]);_0x29b0d0++){const _0x35d591=_0x1fad18[_0x29b0d0];let _0x5ba0aa;if(_0x35d591[_0x402459(0x1d2)]===_0x4581e8['aWvHF']&&_0x35d591[_0x402459(0x1ff)]===_0x4581e8[_0x402459(0x1a8)])_0x5ba0aa='✅';else{if(_0x35d591[_0x402459(0x1d2)]==='verified')_0x5ba0aa='🟢';else{if(_0x4581e8[_0x402459(0x258)](_0x35d591[_0x402459(0x1d2)],_0x4581e8['eHibH']))_0x5ba0aa='🟠';else{if(_0x35d591['status']===_0x4581e8['yNhKI'])_0x5ba0aa='🛑';else{if(_0x4581e8[_0x402459(0x267)](_0x35d591[_0x402459(0x1d2)],'closed'))_0x5ba0aa='⛔';else _0x35d591[_0x402459(0x1d2)]===_0x4581e8['LESDc']?_0x5ba0aa='⏳':_0x5ba0aa='⬜';}}}}const _0xe3ce3c=_0x35d591[_0x402459(0x240)]>0x1?_0x402459(0x1b5)+_0x35d591[_0x402459(0x240)]+')':'',_0x36259c=_0x35d591[_0x402459(0x240)]>0x1&&_0x35d591[_0x402459(0x1c0)]&&_0x35d591[_0x402459(0x1d2)]!==_0x402459(0x250)&&_0x35d591['status']!==_0x402459(0x21d)?_0x4581e8['wKhfC']:'';console['log']('\x20\x20\x20'+(_0x29b0d0+0x1)+'.\x20'+_0x5ba0aa+'\x20'+_0x35d591[_0x402459(0x222)]+_0xe3ce3c+_0x36259c);_0x35d591[_0x402459(0x1d2)]===_0x402459(0x1a3)&&_0x35d591[_0x402459(0x1c8)]&&console['log']('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x35d591['blockedReason']);_0x4581e8[_0x402459(0x258)](_0x35d591[_0x402459(0x1d2)],_0x4581e8[_0x402459(0x205)])&&_0x35d591[_0x402459(0x1ab)]&&console['log'](_0x402459(0x260)+_0x35d591['incompleteReason']);if(_0x35d591[_0x402459(0x1d2)]===_0x4581e8['aWvHF']&&_0x35d591[_0x402459(0x1ff)]===_0x4581e8[_0x402459(0x1a8)])console['log'](_0x402459(0x24e));else _0x4581e8[_0x402459(0x1bb)](_0x35d591[_0x402459(0x1d2)],_0x402459(0x250))&&_0x35d591['canceledReason']&&console[_0x402459(0x24c)]('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0x35d591['canceledReason']);}}}export async function featureCreate(_0x3c562d,_0xb2ac4c){const _0x321269=_0x57f920,_0x25466c={'lAlso':function(_0x3e062e){return _0x3e062e();},'SNZZM':function(_0x3db3e4,_0x4ce500){return _0x3db3e4(_0x4ce500);},'YIdKF':function(_0x42ec27){return _0x42ec27();},'GsShX':'\x0aCreating\x20feature\x20review...','uiDmT':function(_0x44a2d8,_0x3acc52,_0x189e4f){return _0x44a2d8(_0x3acc52,_0x189e4f);}},{envNames:_0x2ac4fd}=await _0x25466c['lAlso'](getEnvNames);if(_0x2ac4fd[_0x321269(0x1ee)]===0x0&&!process['env']['RANGER_TEST_USERNAME']){let _0x5165fd=0x0;try{_0x5165fd=(await listCloudProfiles())[_0x321269(0x1ee)];}catch{_0x5165fd=0x1;}_0x5165fd===0x0&&console['warn']('\x0a'+_0x25466c['SNZZM'](formatProfileRequiredMessage,_0x313686=>bold(_0x313686)));}const _0x24c508=_0xb2ac4c[_0x321269(0x261)]?_0xb2ac4c[_0x321269(0x261)][_0x321269(0x1ac)](_0x1ed266=>_0x1ed266[_0x321269(0x1d6)]()):[],_0x3156fc=_0x25466c[_0x321269(0x1d7)](getGitRepoUrl),_0x4bd726=_0x25466c['YIdKF'](getGitBranch);console[_0x321269(0x24c)](_0x25466c['GsShX']);const _0x2d1f20=await _0x25466c['SNZZM'](createFeature,{'name':_0x3c562d,'description':_0xb2ac4c['description'],'checklist':_0x24c508,'gitRepoUrl':_0x3156fc,'gitBranch':_0x4bd726});await setActiveFeatureId(_0x2d1f20['id']),await tryStartCurrentSession(_0x2d1f20['id']);const _0xccd031=process[_0x321269(0x1b4)]['CLAUDE_SESSION_ID'];_0xccd031&&_0x25466c[_0x321269(0x1f0)](registerSession,_0xccd031,_0x2d1f20['id']),console['log'](_0x321269(0x252)+_0x2d1f20['id']),displayFeature(_0x2d1f20,_0x2d1f20[_0x321269(0x256)]),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x5895b9){const _0x4706e9=_0x57f920,_0x32d9b9={'LZHcu':function(_0x2e0c0e){return _0x2e0c0e();},'yHnVp':function(_0x2feb83,_0x172302){return _0x2feb83===_0x172302;},'yiQuP':_0x4706e9(0x21c),'TKdsZ':function(_0x26c08c,_0x58e49e){return _0x26c08c(_0x58e49e);},'cFuRS':_0x4706e9(0x263),'ZMOqR':'\x20--include-deleted'},_0x547939={'limit':_0x5895b9[_0x4706e9(0x236)]??0xa,'offset':_0x5895b9['offset']??0x0,'includeDeleted':_0x5895b9[_0x4706e9(0x20f)]};_0x5895b9['currentBranch']&&(_0x547939['gitRepoUrl']=getGitRepoUrl(),_0x547939['gitBranch']=_0x32d9b9['LZHcu'](getGitBranch));const _0x211d00=await listFeatures(_0x547939);if(_0x32d9b9[_0x4706e9(0x244)](_0x211d00['items']['length'],0x0)){console[_0x4706e9(0x24c)](_0x32d9b9['yiQuP']);return;}const _0x4021be=_0x211d00[_0x4706e9(0x196)]>_0x211d00[_0x4706e9(0x1bd)]['length']?'Showing\x20'+_0x211d00['items']['length']+'\x20of\x20'+_0x211d00[_0x4706e9(0x196)]:_0x211d00['totalCount']+_0x4706e9(0x1b1);console[_0x4706e9(0x24c)]('\x0a'+_0x4021be+':\x0a');for(const _0x3c54b0 of _0x211d00[_0x4706e9(0x1bd)]){console['log'](''+_0x3c54b0[_0x4706e9(0x25d)]),console['log']('\x20\x20\x20ID:\x20'+_0x3c54b0['id']),_0x3c54b0[_0x4706e9(0x1d5)]&&console['log']('\x20\x20\x20Progress:\x20'+_0x32d9b9['TKdsZ'](getProgressDisplay,_0x3c54b0[_0x4706e9(0x1d5)])),_0x3c54b0['gitBranch']&&console['log'](_0x4706e9(0x19d)+_0x3c54b0[_0x4706e9(0x1aa)]),console[_0x4706e9(0x24c)](_0x4706e9(0x1d1)+new Date(_0x3c54b0[_0x4706e9(0x19f)])[_0x4706e9(0x249)]()),console['log']('');}const _0x38baa1=_0x547939[_0x4706e9(0x236)]??0xa,_0x257729=(_0x547939[_0x4706e9(0x242)]??0x0)+_0x211d00['items'][_0x4706e9(0x1ee)];if(_0x257729<_0x211d00['totalCount']){const _0x989140=_0x38baa1!==0xa?'\x20--limit\x20'+_0x38baa1:'',_0x386949=_0x5895b9[_0x4706e9(0x1c3)]?_0x32d9b9['cFuRS']:'',_0xa813f9=_0x5895b9[_0x4706e9(0x20f)]?_0x32d9b9['ZMOqR']:'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x257729+_0x989140+_0x386949+_0xa813f9);}}export async function featureShow(_0x39f1fb){const _0x2d73a3=_0x57f920,_0x1e62fb={'dRqqC':function(_0x53853c){return _0x53853c();},'fSKBv':function(_0x32fedb,_0x49aeeb){return _0x32fedb(_0x49aeeb);}},_0x3c0df4=_0x39f1fb||await _0x1e62fb[_0x2d73a3(0x1dd)](getActiveFeatureId);if(!_0x3c0df4)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 _0x45572f=await _0x1e62fb['fSKBv'](getFeature,_0x3c0df4);displayFeature(_0x45572f,_0x45572f[_0x2d73a3(0x256)]);}export async function featureResume(_0x1f9c34){const _0x54a452=_0x57f920,_0x15dd80={'axfSi':function(_0x55b666,_0x4236af){return _0x55b666(_0x4236af);},'CkyfW':function(_0x1d87bd){return _0x1d87bd();},'JBUsJ':function(_0xf7e64d,_0x2a0b45){return _0xf7e64d!==_0x2a0b45;},'VKBZE':function(_0xf3712f){return _0xf3712f();},'lKNvx':function(_0x3c013f,_0xf3c718){return _0x3c013f&&_0xf3c718;},'Vwzgh':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','uWJFl':function(_0xbec8,_0x2d9478){return _0xbec8===_0x2d9478;},'wubWN':'\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','izkes':'Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','LwfxP':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','EgXYC':function(_0x3810f4,_0x563248){return _0x3810f4(_0x563248);},'tBDvW':function(_0x35f96c,_0x36adfa){return _0x35f96c!==_0x36adfa;},'SPYVQ':function(_0x5e15e1,_0x263728,_0x3278d9){return _0x5e15e1(_0x263728,_0x3278d9);},'WDhIw':function(_0x577dbd,_0xe8fba){return _0x577dbd(_0xe8fba);},'lxduw':function(_0x256be7,_0x418cb3){return _0x256be7(_0x418cb3);},'CFVdY':function(_0x5c1c55,_0x5e8e02,_0x3c7e99){return _0x5c1c55(_0x5e8e02,_0x3c7e99);}};if(_0x1f9c34){const _0x443aa2=await getFeature(_0x1f9c34);await _0x15dd80[_0x54a452(0x264)](setActiveFeatureId,_0x443aa2['id']);const _0x2149f4=_0x15dd80[_0x54a452(0x19b)](getGitBranch);_0x2149f4&&_0x15dd80[_0x54a452(0x268)](_0x2149f4,_0x443aa2[_0x54a452(0x1aa)])&&(await updateFeature(_0x443aa2['id'],{'gitBranch':_0x2149f4}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x2149f4));console['log'](_0x54a452(0x24f)+_0x443aa2['name']+'\x20('+_0x443aa2['id']+')'),await _0x15dd80[_0x54a452(0x264)](tryStartCurrentSession,_0x443aa2['id']);const _0x1b318e=process['env']['CLAUDE_SESSION_ID'];_0x1b318e&&registerSession(_0x1b318e,_0x443aa2['id']);displayFeature(_0x443aa2,_0x443aa2['checklistItems']),await _0x15dd80['axfSi'](printFeedbackNudge,_0x443aa2['id']);return;}const _0x48a7c0=_0x15dd80['VKBZE'](getGitRepoUrl),_0xfbda3a=getGitBranch();if(_0x15dd80[_0x54a452(0x203)](!_0x48a7c0,!_0xfbda3a))throw new Error(_0x54a452(0x234));console[_0x54a452(0x24c)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+(_0x48a7c0||_0x54a452(0x229))+_0x54a452(0x1d9)+(_0xfbda3a||'any')+'...');const _0x5580e5=await listFeatures({'gitRepoUrl':_0x48a7c0,'gitBranch':_0xfbda3a}),_0x44304e=_0x5580e5['items'][_0x54a452(0x247)](_0x13d217=>_0x13d217['status']?_0x13d217[_0x54a452(0x1d2)]!=='verified':!_0x13d217['completedAt']);if(_0x44304e['length']===0x0){console[_0x54a452(0x24c)]('\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.'),console[_0x54a452(0x24c)](_0x15dd80[_0x54a452(0x1e2)]);return;}let _0x174a70;if(_0x15dd80['uWJFl'](_0x44304e['length'],0x1))_0x174a70=_0x44304e[0x0];else{const _0x2df885=process[_0x54a452(0x1a4)]['isTTY']&&process[_0x54a452(0x22e)]['isTTY'];if(!_0x2df885){console[_0x54a452(0x24c)](_0x15dd80[_0x54a452(0x1ad)]);for(const _0x269f99 of _0x44304e){console[_0x54a452(0x24c)]('\x20\x20'+_0x269f99[_0x54a452(0x25d)]),console[_0x54a452(0x24c)](_0x54a452(0x259)+_0x269f99['id']),_0x269f99[_0x54a452(0x1d5)]&&console['log']('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x269f99[_0x54a452(0x1d5)])),_0x269f99['gitBranch']&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x269f99[_0x54a452(0x1aa)]);}throw new Error(_0x15dd80['izkes']);}const {selected:_0x5baf00}=await _0x33fa24['prompt']([{'type':_0x54a452(0x22d),'name':'selected','message':_0x15dd80['LwfxP'],'choices':_0x44304e['map'](_0x569a02=>({'name':_0x569a02[_0x54a452(0x25d)]+'\x20('+_0x569a02['id']+')','value':_0x569a02['id']}))}]);_0x174a70=_0x44304e['find'](_0x5d5a8d=>_0x5d5a8d['id']===_0x5baf00);}await _0x15dd80['EgXYC'](setActiveFeatureId,_0x174a70['id']);_0xfbda3a&&_0x15dd80['tBDvW'](_0xfbda3a,_0x174a70[_0x54a452(0x1aa)])&&(await _0x15dd80[_0x54a452(0x228)](updateFeature,_0x174a70['id'],{'gitBranch':_0xfbda3a}),console[_0x54a452(0x24c)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0xfbda3a));console[_0x54a452(0x24c)](_0x54a452(0x24f)+_0x174a70[_0x54a452(0x25d)]+'\x20('+_0x174a70['id']+')'),await _0x15dd80['WDhIw'](tryStartCurrentSession,_0x174a70['id']);const _0x24ae5a=await _0x15dd80['lxduw'](getFeature,_0x174a70['id']),_0x56f78e=process['env'][_0x54a452(0x1fa)];_0x56f78e&&_0x15dd80[_0x54a452(0x210)](registerSession,_0x56f78e,_0x24ae5a['id']),displayFeature(_0x24ae5a,_0x24ae5a[_0x54a452(0x256)]),await printFeedbackNudge(_0x24ae5a['id']);}async function printFeedbackNudge(_0x582f16){const _0x198708=_0x57f920,_0x183783={'mtQJL':function(_0x1fb92e,_0x5b674a){return _0x1fb92e(_0x5b674a);},'AUpLt':function(_0x489d93,_0x34fc97){return _0x489d93>_0x34fc97;}};try{const {items:_0x501f3a}=await _0x183783['mtQJL'](getActionItems,_0x582f16);let _0x35a4d3=0x0,_0x59fa1e=0x0;for(const _0xfac8af of _0x501f3a){const _0x496fca=await getItemFeedback(_0x582f16,_0xfac8af['id']);_0x496fca[_0x198708(0x1ec)]['length']>0x0&&(_0x35a4d3+=_0x496fca[_0x198708(0x1ec)]['length'],_0x59fa1e++);}_0x183783[_0x198708(0x1b2)](_0x35a4d3,0x0)&&(console[_0x198708(0x24c)](_0x198708(0x269)+_0x35a4d3+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x59fa1e+_0x198708(0x1ea)),console['log']('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}async function tryStartCurrentSession(_0xf78db0){const _0x5ea84c=_0x57f920,_0x29ceb3={'QSYOm':function(_0x3050b0,_0x52989d,_0x40e200){return _0x3050b0(_0x52989d,_0x40e200);}};try{const {sessions:_0x4beff9}=await listFeatureSessions(_0xf78db0),_0x5790ed=_0x4beff9['find'](_0x21af38=>_0x21af38['status']==='ready');_0x5790ed&&(await _0x29ceb3[_0x5ea84c(0x1e0)](startSession,_0xf78db0,_0x5790ed['id']),console['log']('\x20\x20\x20▶️\x20Started\x20session\x20'+_0x5790ed['iteration']));}catch{}}export async function featureReport(_0x18c7d9,_0xa5a9be){const _0x41a25c=_0x57f920,_0xda906c={'Ydaau':function(_0x5ac0f9,_0x367ac9,_0x4d0935){return _0x5ac0f9(_0x367ac9,_0x4d0935);},'oUTsd':_0x41a25c(0x24a),'QRsVP':function(_0x1f5ad6,_0x71a632,_0x523dfa){return _0x1f5ad6(_0x71a632,_0x523dfa);},'XujFK':function(_0x23d203,_0x3860,_0x50a3ba,_0x51b56c){return _0x23d203(_0x3860,_0x50a3ba,_0x51b56c);}},_0x24a975=_0x18c7d9||await getActiveFeatureId();if(!_0x24a975)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console[_0x41a25c(0x24c)]('\x0aGenerating\x20report...');const _0xbb50db=await _0xda906c['Ydaau'](getFeatureReportMarkdown,_0x24a975,{'style':_0xa5a9be['style']}),_0x54e854=_0xa5a9be[_0x41a25c(0x21b)]||join(getRangerDir(),_0xda906c['oUTsd'],_0x24a975+_0x41a25c(0x23f)),_0x4bf4b7=_0xda906c[_0x41a25c(0x1be)](join,_0x54e854,'..');!existsSync(_0x4bf4b7)&&await _0xda906c['QRsVP'](mkdir,_0x4bf4b7,{'recursive':!![]}),await _0xda906c[_0x41a25c(0x23e)](writeFile,_0x54e854,_0xbb50db,_0x41a25c(0x200)),console['log']('\x0a✅\x20Report\x20generated:\x20'+_0x54e854);}function getScenarioResult(_0x3f156a){const _0x89ea3a=_0x57f920,_0x5b7295={'dShRi':_0x89ea3a(0x250),'jbyQT':'in_progress'};if(_0x3f156a['status']===_0x5b7295['dShRi'])return _0x3f156a[_0x89ea3a(0x1ff)]??_0x89ea3a(0x250);if(_0x3f156a['status']==='verification_in_progress')return _0x5b7295[_0x89ea3a(0x1d3)];return _0x3f156a['status'];}function getScenarioRationale(_0x262bb2,_0x59f411){const _0x1c7080=_0x57f920,_0x1e1a6e={'lbymS':_0x1c7080(0x1a1)},_0x589956=_0x1e1a6e[_0x1c7080(0x26c)][_0x1c7080(0x215)]('|');let _0x4c9f1a=0x0;while(!![]){switch(_0x589956[_0x4c9f1a++]){case'0':return null;case'1':if(_0x262bb2[_0x1c7080(0x232)])return _0x262bb2['notes'];continue;case'2':if(_0x262bb2[_0x1c7080(0x1c8)])return _0x262bb2['blockedReason'];continue;case'3':if(_0x262bb2['canceledReason'])return _0x262bb2['canceledReason'];continue;case'4':if(_0x59f411)return _0x59f411;continue;case'5':if(_0x262bb2['incompleteReason'])return _0x262bb2[_0x1c7080(0x1ab)];continue;}break;}}export async function featureReportPrDescription(_0x2fd1bd,_0x6f863f){const _0x41659c=_0x57f920,_0x44d7b6={'kCbLM':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','SNBUy':function(_0x312619,_0x4a46e0){return _0x312619(_0x4a46e0);},'ARqKi':function(_0x1978bc,_0xb0b79a,_0x1bc676){return _0x1978bc(_0xb0b79a,_0x1bc676);},'GprbC':function(_0x32602f,_0x5179a6){return _0x32602f===_0x5179a6;},'cNADk':function(_0x5c90cf,_0x26b7c0){return _0x5c90cf>_0x26b7c0;},'yCtRe':function(_0xd4d34,_0x5e051f){return _0xd4d34+_0x5e051f;},'NQUbo':function(_0x2bcab0,_0x36d459){return _0x2bcab0===_0x36d459;},'HbQaX':function(_0x334b46,_0x24d8ef,_0x170425,_0x482f9a){return _0x334b46(_0x24d8ef,_0x170425,_0x482f9a);}},_0x14b3b8=_0x2fd1bd||await getActiveFeatureId();if(!_0x14b3b8)throw new Error(_0x44d7b6['kCbLM']);const _0x5a8977=await _0x44d7b6[_0x41659c(0x239)](getFeature,_0x14b3b8),_0x3212e5=_0x5a8977['checklistItems']||[],_0x5ef3a5=_0x44d7b6['ARqKi'](getCurrentSessionItems,_0x5a8977,_0x3212e5);_0x44d7b6['GprbC'](_0x5ef3a5['length'],0x0)&&(console[_0x41659c(0x248)]('\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.'),process[_0x41659c(0x207)](0x1));const _0x129e7c=_0x6f863f[_0x41659c(0x225)]??[],_0x53a69f=_0x129e7c[_0x41659c(0x247)](_0x4e5f24=>!Number['isInteger'](_0x4e5f24)||_0x4e5f24<0x1||_0x4e5f24>_0x5ef3a5['length']);if(_0x44d7b6[_0x41659c(0x202)](_0x53a69f['length'],0x0)){console['error'](_0x41659c(0x195)+_0x53a69f[_0x41659c(0x1c7)](',\x20')),console['log']('\x0aAvailable\x20scenarios:');for(let _0x769455=0x0;_0x769455<_0x5ef3a5[_0x41659c(0x1ee)];_0x769455++){console['log']('\x20\x20'+_0x44d7b6[_0x41659c(0x21e)](_0x769455,0x1)+'.\x20'+_0x5ef3a5[_0x769455][_0x41659c(0x222)]);}process[_0x41659c(0x207)](0x1);}const _0x4bf560=new Set(_0x129e7c['map'](_0xe1ec78=>_0xe1ec78-0x1)),_0x160413=_0x5ef3a5[_0x41659c(0x247)]((_0x17b10c,_0x545b89)=>!_0x4bf560[_0x41659c(0x1c2)](_0x545b89));_0x44d7b6[_0x41659c(0x1e1)](_0x160413['length'],0x0)&&(console['error']('\x0a❌\x20All\x20scenarios\x20were\x20excluded.'),process['exit'](0x1));if(_0x6f863f[_0x41659c(0x253)])await _0x44d7b6['HbQaX'](outputJsonReport,_0x14b3b8,_0x5a8977,_0x160413);else{const _0x32dc9c=await _0x44d7b6['ARqKi'](getFeatureReportMarkdown,_0x14b3b8,{'itemIds':_0x160413['map'](_0x42a9ea=>_0x42a9ea['id'])});process[_0x41659c(0x22e)][_0x41659c(0x23c)](_0x32dc9c[_0x41659c(0x20c)]()+'\x0a');}}async function outputJsonReport(_0x4b4b03,_0x144ca4,_0xa2470b){const _0x2cd2f0=_0x57f920,_0x2a6825={'rqZbp':function(_0x3f703b,_0x1f0f65){return _0x3f703b>_0x1f0f65;},'JOxTG':function(_0x1f4eb1,_0x4f6b36){return _0x1f4eb1===_0x4f6b36;},'WLykT':function(_0xffc8d1,_0x41ac05){return _0xffc8d1(_0x41ac05);},'Uzvha':function(_0x559608,_0x497f2e){return _0x559608+_0x497f2e;}},_0x80c03b=getApiBaseUrl(),_0x31f8d4=await _0x2a6825[_0x2cd2f0(0x1c6)](getFeatureReport,_0x4b4b03),_0x1e5cbb=new Map(_0x31f8d4['checklistItems'][_0x2cd2f0(0x1ac)](_0x25202b=>[_0x25202b['id'],_0x25202b])),_0x2c6cd8=await Promise[_0x2cd2f0(0x1fe)](_0xa2470b['map'](async _0x7f46fc=>{const _0x17454d=_0x2cd2f0,_0x4caf1c=_0x1e5cbb['get'](_0x7f46fc['id']),_0x3bd44e=_0x4caf1c?.[_0x17454d(0x221)]??null;let _0x9ccec9=[];if(_0x7f46fc['browserSessionId'])try{const {steps:_0x2a1483}=await getBrowserSessionSteps(_0x7f46fc[_0x17454d(0x1bf)]);_0x2a6825[_0x17454d(0x1f5)](_0x2a1483['length'],0x0)&&(_0x9ccec9=_0x2a1483[_0x17454d(0x1ac)](_0x44fbcc=>{const _0x501159=_0x17454d,_0x3b1d51=_0x44fbcc['assets'][_0x501159(0x217)](_0x571d9d=>_0x571d9d[_0x501159(0x22c)]===_0x501159(0x1cb)&&_0x571d9d['timing']===_0x501159(0x206))??_0x44fbcc[_0x501159(0x254)][_0x501159(0x217)](_0x5d29c3=>_0x5d29c3['assetType']===_0x501159(0x1cb));let _0x5aebb8=null,_0x2c453d=null;if(_0x3b1d51){const _0x17d52a=_0x3b1d51[_0x501159(0x1c4)]['location'][_0x501159(0x215)]('/')[_0x501159(0x1e8)]();_0x5aebb8=_0x80c03b+'/api/v1/mcp/browser-sessions/'+_0x7f46fc[_0x501159(0x1bf)]+'/artifacts/'+_0x17d52a,_0x17d52a&&(_0x2c453d=_0x17d52a[_0x501159(0x1eb)](/\.\w+$/,'')[_0x501159(0x1eb)](/^(key_)?\d+_/,'')[_0x501159(0x1eb)](/[-_]/g,'\x20'));}return{'description':_0x2c453d||_0x44fbcc['description']||_0x44fbcc['stepName']||'Step\x20'+_0x44fbcc['position'],'screenshot':_0x5aebb8,'is_key_step':_0x44fbcc['isKeyStep']};}));}catch{}return _0x2a6825['JOxTG'](_0x9ccec9['length'],0x0)&&_0x3bd44e?.['screenshotUrls']&&(_0x9ccec9=_0x3bd44e[_0x17454d(0x220)][_0x17454d(0x1ac)]((_0x4139f4,_0x588d12)=>({'description':_0x17454d(0x1a9)+(_0x588d12+0x1),'screenshot':_0x4139f4,'is_key_step':![]}))),{'description':_0x7f46fc[_0x17454d(0x222)],'result':_0x2a6825[_0x17454d(0x1c6)](getScenarioResult,_0x7f46fc),'rationale':getScenarioRationale(_0x7f46fc,_0x3bd44e?.[_0x17454d(0x1ce)]),'steps':_0x9ccec9};})),_0x538534={'url':_0x144ca4['dashboardUrl'],'scenarios':_0x2c6cd8};process[_0x2cd2f0(0x22e)][_0x2cd2f0(0x23c)](_0x2a6825['Uzvha'](JSON[_0x2cd2f0(0x25a)](_0x538534,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x254669){const _0x12e5ad=_0x57f920,_0xc2540e={'rCcpw':function(_0x449718){return _0x449718();},'keVMu':function(_0x570252,_0x12966e){return _0x570252(_0x12966e);},'wDwpI':'Current\x20session\x20not\x20found.','EaJwa':'completed','YTWQR':function(_0x230388,_0x2673fa){return _0x230388!==_0x2673fa;},'XeQMR':_0x12e5ad(0x22f)},_0x180541=_0x254669||await _0xc2540e[_0x12e5ad(0x25e)](getActiveFeatureId);if(!_0x180541)throw new Error(_0x12e5ad(0x1ba));const _0x4fdd05=await _0xc2540e['keVMu'](getFeature,_0x180541);if(!_0x4fdd05['currentSessionId'])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x4f64e8}=await listFeatureSessions(_0x180541),_0x385ebe=_0x4f64e8['find'](_0x122049=>_0x122049['id']===_0x4fdd05[_0x12e5ad(0x1f9)]);if(!_0x385ebe)throw new Error(_0xc2540e['wDwpI']);if(_0x385ebe[_0x12e5ad(0x1d2)]===_0xc2540e[_0x12e5ad(0x1fc)]){console[_0x12e5ad(0x24c)](_0x12e5ad(0x1e3));return;}if(_0xc2540e[_0x12e5ad(0x255)](_0x385ebe['status'],_0xc2540e[_0x12e5ad(0x1d8)]))throw new Error(_0x12e5ad(0x201)+_0x385ebe['status']);console['log']('\x0aConcluding\x20session...'),await concludeSession(_0x180541,_0x4fdd05[_0x12e5ad(0x1f9)]),console[_0x12e5ad(0x24c)](_0x12e5ad(0x21f)+_0x385ebe['iteration']+'\x20concluded.'),console[_0x12e5ad(0x24c)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x523f68){const _0x7825b=_0x57f920,_0x8504d9={'JDFOi':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','IDgyP':_0x7825b(0x1cf),'NehXM':'completed','vPCSu':'in_progress'},_0x272451=_0x523f68||await getActiveFeatureId();if(!_0x272451)throw new Error(_0x8504d9[_0x7825b(0x1f4)]);const _0x59c49f=await getFeature(_0x272451);console[_0x7825b(0x24c)](_0x7825b(0x1f6)+_0x59c49f['name']+'\x0a');const {sessions:_0x47c3c3}=await listFeatureSessions(_0x272451);if(_0x47c3c3['length']===0x0){console[_0x7825b(0x24c)](_0x8504d9[_0x7825b(0x1fd)]);return;}for(const _0x174a78 of _0x47c3c3){const _0x44febe=_0x174a78[_0x7825b(0x1d2)]===_0x8504d9['NehXM']?'✅':_0x174a78[_0x7825b(0x1d2)]===_0x8504d9[_0x7825b(0x262)]?'🔄':'▶️';console[_0x7825b(0x24c)](_0x44febe+_0x7825b(0x1a0)+_0x174a78[_0x7825b(0x1b6)]+'\x20('+_0x174a78['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0x174a78[_0x7825b(0x1d2)]),console['log'](_0x7825b(0x1d1)+new Date(_0x174a78[_0x7825b(0x19f)])['toLocaleString']()),_0x174a78['completedAt']&&console[_0x7825b(0x24c)]('\x20\x20\x20Completed:\x20'+new Date(_0x174a78['completedAt'])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0x2a2acd,_0x20225d){const _0x198d43=_0x57f920,_0x201055={'ESRFs':function(_0x1b1a00){return _0x1b1a00();},'TYCBM':_0x198d43(0x1ba),'woRDp':function(_0x56d499,_0x237eec){return _0x56d499(_0x237eec);},'BGlUo':function(_0xa247f5,_0x555e3c,_0x2dcafc){return _0xa247f5(_0x555e3c,_0x2dcafc);}},_0x4e3c42=_0x20225d||await _0x201055['ESRFs'](getActiveFeatureId);if(!_0x4e3c42)throw new Error(_0x201055[_0x198d43(0x24b)]);const _0x47a1a5=await _0x201055['woRDp'](getFeature,_0x4e3c42);if(_0x47a1a5[_0x198d43(0x1d0)]&&!_0x47a1a5[_0x198d43(0x1d0)][_0x198d43(0x1cd)])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x47a1a5['dashboardUrl']);await _0x201055[_0x198d43(0x251)](createChecklistItem,_0x4e3c42,_0x2a2acd);const _0x121f52=await getFeature(_0x4e3c42);console['log'](_0x198d43(0x1d4)),_0x201055[_0x198d43(0x251)](displayFeature,_0x121f52,_0x121f52['checklistItems']);}export async function featureEditScenario(_0x378564,_0x167c92){const _0x3414a7=_0x57f920,_0x3b9596={'FkOXC':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','jgMDT':'Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','wTJaK':function(_0x113e4d,_0x10b4de){return _0x113e4d(_0x10b4de);},'euOeN':'Please\x20finish\x20your\x20review\x20first:','yoIoq':function(_0x1e3449,_0x32840a){return _0x1e3449===_0x32840a;},'lJxsm':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','dUfNY':function(_0x157ae1,_0x51fa0f){return _0x157ae1<_0x51fa0f;},'afkxG':function(_0x211404,_0x471b9d){return _0x211404>=_0x471b9d;},'rXkar':'\x0aAvailable\x20scenarios:','NVgiW':function(_0x224d54,_0x4b942d){return _0x224d54<_0x4b942d;},'NZVTd':function(_0x1a55ef,_0x3fdb0f){return _0x1a55ef+_0x3fdb0f;},'xYLWa':function(_0x5b4ad8,_0x4698ee,_0x3d6aa9,_0x13dc2f){return _0x5b4ad8(_0x4698ee,_0x3d6aa9,_0x13dc2f);},'ptVVd':function(_0x13bda8,_0x5c3120,_0x45146a){return _0x13bda8(_0x5c3120,_0x45146a);}},_0x1b3668=_0x167c92['id']||await getActiveFeatureId();!_0x1b3668&&(console['error'](_0x3b9596[_0x3414a7(0x231)]),console[_0x3414a7(0x248)](_0x3b9596[_0x3414a7(0x214)]),process[_0x3414a7(0x207)](0x1));const _0x339547=await _0x3b9596['wTJaK'](getFeature,_0x1b3668);_0x339547[_0x3414a7(0x1d0)]&&!_0x339547['latestReview'][_0x3414a7(0x1cd)]&&(console[_0x3414a7(0x248)]('\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.'),console[_0x3414a7(0x248)](_0x3b9596['euOeN']),console['error']('\x20\x20'+_0x339547[_0x3414a7(0x224)]),process['exit'](0x1));const _0x4515c7=_0x339547[_0x3414a7(0x256)]||[];_0x4515c7[_0x3414a7(0x1ee)]===0x0&&(console[_0x3414a7(0x248)](_0x3414a7(0x209)),process['exit'](0x1));if(_0x3b9596['yoIoq'](_0x167c92[_0x3414a7(0x19a)],undefined)){console[_0x3414a7(0x248)](_0x3b9596[_0x3414a7(0x20d)]),console['log'](_0x3414a7(0x1cc));for(let _0xacaca6=0x0;_0x3b9596[_0x3414a7(0x1f3)](_0xacaca6,_0x4515c7[_0x3414a7(0x1ee)]);_0xacaca6++){console['log']('\x20\x20'+(_0xacaca6+0x1)+'.\x20'+_0x4515c7[_0xacaca6][_0x3414a7(0x222)]);}process['exit'](0x1);}const _0xce0707=_0x167c92['scenario']-0x1;if(_0xce0707<0x0||_0x3b9596[_0x3414a7(0x1b0)](_0xce0707,_0x4515c7[_0x3414a7(0x1ee)])){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x167c92['scenario']+_0x3414a7(0x246)+_0x4515c7[_0x3414a7(0x1ee)]+'\x20scenarios.'),console[_0x3414a7(0x24c)](_0x3b9596[_0x3414a7(0x265)]);for(let _0x3c9e86=0x0;_0x3b9596['NVgiW'](_0x3c9e86,_0x4515c7['length']);_0x3c9e86++){console[_0x3414a7(0x24c)]('\x20\x20'+_0x3b9596[_0x3414a7(0x230)](_0x3c9e86,0x1)+'.\x20'+_0x4515c7[_0x3c9e86]['description']);}process[_0x3414a7(0x207)](0x1);}const _0x54f5de=_0x4515c7[_0xce0707];await _0x3b9596[_0x3414a7(0x25b)](updateChecklistItem,_0x1b3668,_0x54f5de['id'],{'description':_0x378564});const _0x3d6dd7=await getFeature(_0x1b3668);console[_0x3414a7(0x24c)](_0x3414a7(0x1da)),_0x3b9596[_0x3414a7(0x1e7)](displayFeature,_0x3d6dd7,_0x3d6dd7['checklistItems']);}async function downloadFeedbackImage(_0x5a1136,_0x2d92d1){const _0x15f12d=_0x57f920,_0x1f0b79={'VMfWH':function(_0x1b9d52,_0x26d4a3,_0x28e54a){return _0x1b9d52(_0x26d4a3,_0x28e54a);},'WsfDD':function(_0x2daa4d){return _0x2daa4d();},'bJZJu':'feedback-images','LAMCB':function(_0x160e44,_0x5bc70e,_0x4f3253){return _0x160e44(_0x5bc70e,_0x4f3253);},'XbNet':function(_0x1db3d,_0x1b144c,_0x1c1542){return _0x1db3d(_0x1b144c,_0x1c1542);}};try{const _0x5186b5=_0x1f0b79['VMfWH'](join,_0x1f0b79[_0x15f12d(0x241)](getRangerDir),_0x1f0b79[_0x15f12d(0x1a6)]);await _0x1f0b79[_0x15f12d(0x243)](mkdir,_0x5186b5,{'recursive':!![]});const _0x1012f0=_0x1f0b79[_0x15f12d(0x1c1)](join,_0x5186b5,_0x15f12d(0x1de)+_0x2d92d1+_0x15f12d(0x208)),_0x2cc228=await fetch(_0x5a1136);if(!_0x2cc228['ok'])return null;const _0x496b74=Buffer[_0x15f12d(0x1b7)](await _0x2cc228['arrayBuffer']());return await _0x1f0b79['XbNet'](writeFile,_0x1012f0,_0x496b74),_0x1012f0;}catch{return null;}}export async function featureGetReview(_0x1b8d69){const _0x8aac04=_0x57f920,_0x1acf86={'aSQdR':function(_0x18734d){return _0x18734d();},'gIWKJ':function(_0x4232d1,_0x3323ca){return _0x4232d1(_0x3323ca);},'aFzTJ':function(_0x1adfe9,_0xe6b513){return _0x1adfe9===_0xe6b513;},'krdcf':'No\x20scenarios\x20found.','ElImb':function(_0x4def58,_0xb9bf73){return _0x4def58<_0xb9bf73;},'Acrou':function(_0x26c98c,_0x2d87b3){return _0x26c98c>_0x2d87b3;},'snVIh':_0x8aac04(0x213),'TrjFk':function(_0x23c4d1,_0x252bbe,_0x2f488a){return _0x23c4d1(_0x252bbe,_0x2f488a);},'KtsHM':'\x20>\x20','FanPD':_0x8aac04(0x245),'GguLC':_0x8aac04(0x19e)},_0x26fffc=_0x1b8d69||await _0x1acf86[_0x8aac04(0x23d)](getActiveFeatureId);if(!_0x26fffc)throw new Error(_0x8aac04(0x1ba));const _0x335732=await _0x1acf86[_0x8aac04(0x237)](getFeature,_0x26fffc),{items:_0x3135db}=await getActionItems(_0x26fffc);console[_0x8aac04(0x24c)]('\x0a📋\x20Feedback\x20for:\x20'+_0x335732[_0x8aac04(0x25d)]+'\x20('+_0x335732['id']+')\x0a');if(_0x1acf86['aFzTJ'](_0x3135db['length'],0x0)){console[_0x8aac04(0x24c)](_0x1acf86['krdcf']);return;}for(let _0x5e5d48=0x0;_0x1acf86['ElImb'](_0x5e5d48,_0x3135db[_0x8aac04(0x1ee)]);_0x5e5d48++){const _0x233cd5=_0x3135db[_0x5e5d48],_0xf551b0=_0x233cd5['version']>0x1?_0x8aac04(0x1b5)+_0x233cd5['version']+')':'',_0x3cc6f6=await getItemFeedback(_0x26fffc,_0x233cd5['id']);if(_0x1acf86['Acrou'](_0x3cc6f6['unaddressedComments'][_0x8aac04(0x1ee)],0x0)){console['log']('Scenario\x20'+(_0x5e5d48+0x1)+':\x20\x22'+_0x233cd5['description']+'\x22'+_0xf551b0+_0x8aac04(0x24d)+_0x3cc6f6[_0x8aac04(0x1ec)]['length']+_0x8aac04(0x1ed));for(const _0x77e2ad of _0x3cc6f6['unaddressedComments']){const _0x2599a8=new Date(_0x77e2ad['createdAt'])[_0x8aac04(0x249)](_0x8aac04(0x1a2),{'month':'short','day':_0x1acf86[_0x8aac04(0x1e4)]}),_0x59a5ca=_0x77e2ad['authorName']||_0x77e2ad['authorEmail']||'Unknown';console['log'](_0x8aac04(0x1fb)+_0x59a5ca+'\x20('+_0x2599a8+'):\x20\x22'+_0x77e2ad['content']+'\x22');if(_0x77e2ad['assetUrl']){const _0xd8eb14=await _0x1acf86['TrjFk'](downloadFeedbackImage,_0x77e2ad[_0x8aac04(0x223)],_0x77e2ad['id']);_0xd8eb14&&console['log']('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0xd8eb14);}if(_0x77e2ad['domRef']){const _0x4556a7=_0x77e2ad[_0x8aac04(0x266)]['selector'][_0x8aac04(0x215)](_0x1acf86[_0x8aac04(0x233)])[_0x8aac04(0x1e8)]()?.['split'](':')[0x0]||_0x1acf86[_0x8aac04(0x19c)],_0x4100ea=_0x77e2ad['domRef']['textContent']?'\x20\x22'+_0x77e2ad[_0x8aac04(0x266)]['textContent']['slice'](0x0,0x3c)+'\x22':'';console[_0x8aac04(0x24c)]('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x4556a7+'>'+_0x4100ea),console[_0x8aac04(0x24c)](_0x8aac04(0x1b3)+_0x77e2ad[_0x8aac04(0x266)]['selector']);}else{if(_0x77e2ad['spatial']){const _0x15f83a=_0x77e2ad[_0x8aac04(0x1af)][_0x8aac04(0x211)];_0x77e2ad['spatial'][_0x8aac04(0x1e9)]===_0x1acf86['GguLC']&&_0x15f83a[_0x8aac04(0x1ee)]>=0x2?console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x15f83a[0x0][_0x8aac04(0x1f7)](0x2)+',\x20'+_0x15f83a[0x1][_0x8aac04(0x1f7)](0x2)+')'):console[_0x8aac04(0x24c)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x77e2ad['spatial']['type']+_0x8aac04(0x197)+_0x15f83a[_0x8aac04(0x1ac)](_0x5324bf=>_0x5324bf['toFixed'](0x2))[_0x8aac04(0x1c7)](',\x20')+']');}}}if(_0x3cc6f6[_0x8aac04(0x216)]){console['log'](_0x8aac04(0x218));for(const _0x200519 of _0x3cc6f6[_0x8aac04(0x216)]['split']('\x0a')){console['log']('\x20\x20\x20\x20'+_0x200519);}}}else console[_0x8aac04(0x24c)](_0x8aac04(0x227)+(_0x5e5d48+0x1)+_0x8aac04(0x1b9)+_0x233cd5['description']+'\x22'+_0xf551b0+_0x8aac04(0x20b)),console['log'](_0x8aac04(0x212));console['log']('');}}export async function featureDelete(_0x1ef1a6){const _0xd39727=_0x57f920,_0x1ee762={'jQOnY':function(_0x3c23cf,_0x5af509){return _0x3c23cf(_0x5af509);},'NliGE':function(_0x253485,_0x43d127){return _0x253485+_0x43d127;}},_0x48febd=_0x1ef1a6||await getActiveFeatureId();if(!_0x48febd)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 _0xad7479=await getFeature(_0x48febd);await _0x1ee762['jQOnY'](softDeleteFeature,_0x48febd),console[_0xd39727(0x24c)](_0xd39727(0x257)+_0xad7479['name']+'\x20('+_0x48febd+')'),console['log'](_0x1ee762[_0xd39727(0x23b)](_0xd39727(0x1b8),_0x48febd));}export async function featureRestore(_0x854cb9){const _0x40d8f1=_0x57f920,_0x3a5da9={'pCquj':function(_0x240c65,_0x2707b9){return _0x240c65(_0x2707b9);}};await _0x3a5da9['pCquj'](restoreFeature,_0x854cb9);const _0x20cc45=await getFeature(_0x854cb9);console[_0x40d8f1(0x24c)]('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x20cc45[_0x40d8f1(0x25d)]+'\x20('+_0x854cb9+')'),displayFeature(_0x20cc45,_0x20cc45['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x412fc4,_0xa37f2c){const _0x4c4a97=_0x2d54,_0x20728c=_0x412fc4();while(!![]){try{const _0x2c750f=parseInt(_0x4c4a97(0x1c8))/0x1+-parseInt(_0x4c4a97(0x1ca))/0x2+parseInt(_0x4c4a97(0x1c2))/0x3+-parseInt(_0x4c4a97(0x1bc))/0x4*(-parseInt(_0x4c4a97(0x1bd))/0x5)+parseInt(_0x4c4a97(0x1bf))/0x6+-parseInt(_0x4c4a97(0x1c9))/0x7+parseInt(_0x4c4a97(0x1c5))/0x8*(-parseInt(_0x4c4a97(0x1c7))/0x9);if(_0x2c750f===_0xa37f2c)break;else _0x20728c['push'](_0x20728c['shift']());}catch(_0x548ec8){_0x20728c['push'](_0x20728c['shift']());}}}(_0x4bb5,0x35ba1));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 _0x2d54(_0x37863d,_0x429bb3){_0x37863d=_0x37863d-0x1ba;const _0x4bb55b=_0x4bb5();let _0x2d545f=_0x4bb55b[_0x37863d];return _0x2d545f;}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x4f0827=_0x2d54,_0x4d3739={'nkyGo':_0x4f0827(0x1c1),'JZLDk':_0x4f0827(0x1ba),'gXLws':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x4667c2=()=>{process['exit'](0x0);};process['once'](_0x4d3739['nkyGo'],_0x4667c2),process['once'](_0x4d3739[_0x4f0827(0x1c3)],_0x4667c2),process['once'](_0x4d3739[_0x4f0827(0x1c0)],_0x4667c2),cancellationHandlersInstalled=!![];}function _0x4bb5(){const _0x20eddf=['2280915LDLOAF','73828MiOYyC','SIGTERM','Valid\x20hooks:\x20','668QUQikE','10870RxuJWw','keys','582384YwyCoo','gXLws','SIGINT','17682AgVaGa','JZLDk','error','6456NWHJnu','hZSvl','45noEjMm','120843myvmBN'];_0x4bb5=function(){return _0x20eddf;};return _0x4bb5();}export async function hook(_0xe5aebe,_0x23cec5){const _0x179b58=_0x2d54,_0x3fbe80={'hZSvl':function(_0x4f1f8c){return _0x4f1f8c();}};_0x3fbe80[_0x179b58(0x1c6)](installCancellationHandlers);const _0x17575c=HOOKS[_0xe5aebe];if(!_0x17575c){const _0x88ba0d=Object[_0x179b58(0x1be)](HOOKS)['join'](',\x20');console['error']('Unknown\x20hook:\x20'+_0xe5aebe),console[_0x179b58(0x1c4)](_0x179b58(0x1bb)+_0x88ba0d),process['exit'](0x1);}await _0x17575c(_0x23cec5);}
1
+ (function(_0x3d99ec,_0x3f67bd){const _0x5a7c7a=_0x4396,_0x301660=_0x3d99ec();while(!![]){try{const _0x2d023d=parseInt(_0x5a7c7a(0x99))/0x1*(-parseInt(_0x5a7c7a(0xa4))/0x2)+-parseInt(_0x5a7c7a(0xa0))/0x3+-parseInt(_0x5a7c7a(0x94))/0x4+-parseInt(_0x5a7c7a(0x9d))/0x5+-parseInt(_0x5a7c7a(0x98))/0x6*(-parseInt(_0x5a7c7a(0xa2))/0x7)+-parseInt(_0x5a7c7a(0x9c))/0x8+-parseInt(_0x5a7c7a(0x92))/0x9*(-parseInt(_0x5a7c7a(0x97))/0xa);if(_0x2d023d===_0x3f67bd)break;else _0x301660['push'](_0x301660['shift']());}catch(_0x389f9e){_0x301660['push'](_0x301660['shift']());}}}(_0x30ac,0x9dd05));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function _0x30ac(){const _0x49db5e=['once','15449GgDDGS','DwnqE','78xLKgwT','37225881IwdkqY','OeDNX','4656988hZfubw','SIGTERM','join','10NPbeQe','2454WcCvaw','18229mLUaAI','Valid\x20hooks:\x20','exit','8304424YBhCsJ','4883915FnYioH','error','bsLls','1507359nPRJvf'];_0x30ac=function(){return _0x49db5e;};return _0x30ac();}function installCancellationHandlers(){const _0x3e1ecb=_0x4396,_0x6c32e2={'DwnqE':_0x3e1ecb(0x95),'OeDNX':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x4ef73f=()=>{const _0x42caa9=_0x3e1ecb;process[_0x42caa9(0x9b)](0x0);};process[_0x3e1ecb(0xa1)]('SIGINT',_0x4ef73f),process['once'](_0x6c32e2[_0x3e1ecb(0xa3)],_0x4ef73f),process[_0x3e1ecb(0xa1)](_0x6c32e2[_0x3e1ecb(0x93)],_0x4ef73f),cancellationHandlersInstalled=!![];}function _0x4396(_0x87bbff,_0x124fa4){_0x87bbff=_0x87bbff-0x92;const _0x30ac6b=_0x30ac();let _0x4396cc=_0x30ac6b[_0x87bbff];return _0x4396cc;}export async function hook(_0x4dc47d,_0x77c1cd){const _0x53f313=_0x4396,_0x7d6352={'bsLls':function(_0x33300a,_0x5573e7){return _0x33300a(_0x5573e7);}};installCancellationHandlers();const _0x45c5e9=HOOKS[_0x4dc47d];if(!_0x45c5e9){const _0x45bd1f=Object['keys'](HOOKS)[_0x53f313(0x96)](',\x20');console[_0x53f313(0x9e)]('Unknown\x20hook:\x20'+_0x4dc47d),console[_0x53f313(0x9e)](_0x53f313(0x9a)+_0x45bd1f),process[_0x53f313(0x9b)](0x1);}await _0x7d6352[_0x53f313(0x9f)](_0x45c5e9,_0x77c1cd);}
@@ -1 +1 @@
1
- const _0x29efd7=_0x3599;(function(_0x5c039a,_0x312d3a){const _0x715b63=_0x3599,_0x399501=_0x5c039a();while(!![]){try{const _0xadb9a9=parseInt(_0x715b63(0xb6))/0x1*(-parseInt(_0x715b63(0xb2))/0x2)+parseInt(_0x715b63(0xbb))/0x3+-parseInt(_0x715b63(0xb7))/0x4+-parseInt(_0x715b63(0xb3))/0x5*(-parseInt(_0x715b63(0xbe))/0x6)+parseInt(_0x715b63(0xba))/0x7+parseInt(_0x715b63(0xbd))/0x8*(parseInt(_0x715b63(0xb9))/0x9)+parseInt(_0x715b63(0xb4))/0xa*(-parseInt(_0x715b63(0xbc))/0xb);if(_0xadb9a9===_0x312d3a)break;else _0x399501['push'](_0x399501['shift']());}catch(_0xb0800d){_0x399501['push'](_0x399501['shift']());}}}(_0x34dd,0x187b3));function _0x34dd(){const _0x4cdff5=['572928jOoOpA','9317ptcfKZ','1436120ZwozKF','6iSBlJM','log','session_id','314968XtjGmZ','57535SCEVJY','270tkALpi','\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.','1wsuDHR','492416GcnBbu','lUiNc','9JXWawK','152138HFaPqx'];_0x34dd=function(){return _0x4cdff5;};return _0x34dd();}import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT=_0x29efd7(0xb5);function _0x3599(_0x353fe4,_0xd517e8){_0x353fe4=_0x353fe4-0xb1;const _0x34ddf6=_0x34dd();let _0x359937=_0x34ddf6[_0x353fe4];return _0x359937;}export async function autoPrompt(){const _0x5b105f=_0x29efd7,_0x2c6c2e={'lUiNc':function(_0x57fceb,_0x33f78c){return _0x57fceb(_0x33f78c);}},_0x10963e=await readHookInput(),_0x587747=_0x10963e?.[_0x5b105f(0xb1)];if(!_0x587747)return;if(isSessionEnabled(_0x587747)||hasSessionBeenPrompted(_0x587747))return;_0x2c6c2e[_0x5b105f(0xb8)](markSessionPrompted,_0x587747),console[_0x5b105f(0xbf)](AUTO_PROMPT_TEXT);}
1
+ const _0x502d97=_0x4510;(function(_0x5767b7,_0x2aa8cd){const _0x572686=_0x4510,_0x5042e3=_0x5767b7();while(!![]){try{const _0x4194b0=parseInt(_0x572686(0xed))/0x1+-parseInt(_0x572686(0xf6))/0x2+-parseInt(_0x572686(0xf5))/0x3+parseInt(_0x572686(0xf3))/0x4*(-parseInt(_0x572686(0xf4))/0x5)+-parseInt(_0x572686(0xf7))/0x6*(parseInt(_0x572686(0xef))/0x7)+-parseInt(_0x572686(0xf1))/0x8*(parseInt(_0x572686(0xec))/0x9)+parseInt(_0x572686(0xf0))/0xa;if(_0x4194b0===_0x2aa8cd)break;else _0x5042e3['push'](_0x5042e3['shift']());}catch(_0x14a1a2){_0x5042e3['push'](_0x5042e3['shift']());}}}(_0x5208,0xc9109));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';function _0x5208(){const _0x260b4a=['21250860WVJiPf','16tcepxn','session_id','82092mXSgMa','125xFOboK','392829HzplOw','1699434vbGvWs','6780nZOOFT','log','5421159hSSnYX','1538162StpxOU','\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.','875tHokKz'];_0x5208=function(){return _0x260b4a;};return _0x5208();}const AUTO_PROMPT_TEXT=_0x502d97(0xee);function _0x4510(_0x28d205,_0xaa32c7){_0x28d205=_0x28d205-0xec;const _0x52087b=_0x5208();let _0x45104b=_0x52087b[_0x28d205];return _0x45104b;}export async function autoPrompt(){const _0x15564c=_0x502d97,_0x1b3e66={'AzfHP':function(_0x2cdeab,_0x28e36c){return _0x2cdeab(_0x28e36c);}},_0x1c52cb=await readHookInput(),_0x3fde03=_0x1c52cb?.[_0x15564c(0xf2)];if(!_0x3fde03)return;if(isSessionEnabled(_0x3fde03)||_0x1b3e66['AzfHP'](hasSessionBeenPrompted,_0x3fde03))return;markSessionPrompted(_0x3fde03),console[_0x15564c(0xf8)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- (function(_0x3c80b5,_0x4af0c0){const _0x584422=_0x285d,_0x3e94ed=_0x3c80b5();while(!![]){try{const _0x5a047a=parseInt(_0x584422(0x16f))/0x1*(parseInt(_0x584422(0x166))/0x2)+-parseInt(_0x584422(0x160))/0x3+parseInt(_0x584422(0x170))/0x4*(parseInt(_0x584422(0x163))/0x5)+-parseInt(_0x584422(0x167))/0x6+parseInt(_0x584422(0x16b))/0x7*(-parseInt(_0x584422(0x165))/0x8)+parseInt(_0x584422(0x169))/0x9+-parseInt(_0x584422(0x16a))/0xa*(-parseInt(_0x584422(0x15f))/0xb);if(_0x5a047a===_0x4af0c0)break;else _0x3e94ed['push'](_0x3e94ed['shift']());}catch(_0x521104){_0x3e94ed['push'](_0x3e94ed['shift']());}}}(_0x4305,0x758dc));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x285d(_0x32aca5,_0x304c10){_0x32aca5=_0x32aca5-0x15e;const _0x4305e5=_0x4305();let _0x285d43=_0x4305e5[_0x32aca5];return _0x285d43;}function _0x4305(){const _0x48f4f7=['main','2538063wuRNgb','417870BRcomi','7cpglzj','WqTeD','master','GKxDT','17ACkZOa','12OlJlzr','\x20and\x20branch\x20\x27','CzgDp','242seQjjA','1687650Xnnlts','env','uThsm','155535OJHZAN','.\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`.','1185976OweDjD','78602PzwCAz','4622772XZgyMw'];_0x4305=function(){return _0x48f4f7;};return _0x4305();}import{printBlock}from'./output.js';export async function disable(_0x44f4f8){const _0x11c70f=_0x285d,_0x47357d={'WqTeD':function(_0x14cf0e,_0x51d647){return _0x14cf0e(_0x51d647);},'CzgDp':function(_0x328efd){return _0x328efd();},'jvxJG':'main','uThsm':function(_0x20fa70,_0x2065d0){return _0x20fa70!==_0x2065d0;},'GKxDT':function(_0x108611,_0x213da2){return _0x108611!==_0x213da2;}},_0x520007=_0x44f4f8||process[_0x11c70f(0x161)]['CLAUDE_SESSION_ID']||'';_0x520007&&_0x47357d['WqTeD'](disableSession,_0x520007);const _0x25f777=_0x47357d[_0x11c70f(0x15e)](getCurrentBranch);_0x25f777&&_0x25f777!==_0x47357d['jvxJG']&&_0x47357d['uThsm'](_0x25f777,'master')&&_0x47357d[_0x11c70f(0x16c)](disableBranch,_0x25f777),printBlock('#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x25f777&&_0x47357d[_0x11c70f(0x162)](_0x25f777,_0x11c70f(0x168))&&_0x47357d[_0x11c70f(0x16e)](_0x25f777,_0x11c70f(0x16d))?_0x11c70f(0x171)+_0x25f777+'\x27':'')+_0x11c70f(0x164));}
1
+ function _0x3715(_0x29b316,_0x3be0d0){_0x29b316=_0x29b316-0x163;const _0x59b3c2=_0x59b3();let _0x3715dc=_0x59b3c2[_0x29b316];return _0x3715dc;}(function(_0x23a16d,_0x97b585){const _0x3945b6=_0x3715,_0x4db57d=_0x23a16d();while(!![]){try{const _0x1b7578=-parseInt(_0x3945b6(0x16f))/0x1+parseInt(_0x3945b6(0x164))/0x2+parseInt(_0x3945b6(0x170))/0x3*(parseInt(_0x3945b6(0x16c))/0x4)+-parseInt(_0x3945b6(0x16e))/0x5+parseInt(_0x3945b6(0x168))/0x6+-parseInt(_0x3945b6(0x172))/0x7*(parseInt(_0x3945b6(0x166))/0x8)+parseInt(_0x3945b6(0x167))/0x9*(parseInt(_0x3945b6(0x163))/0xa);if(_0x1b7578===_0x97b585)break;else _0x4db57d['push'](_0x4db57d['shift']());}catch(_0x5ecd37){_0x4db57d['push'](_0x4db57d['shift']());}}}(_0x59b3,0x5dbcd));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x16b5df){const _0x42ff0a=_0x3715,_0x446eb7={'bycSD':function(_0x415623,_0x3b53bd){return _0x415623(_0x3b53bd);},'wfIlF':function(_0x1e78c9){return _0x1e78c9();},'zOikW':'main','kZLWN':function(_0x593cfa,_0x5bcbb0){return _0x593cfa!==_0x5bcbb0;},'wjbio':'master'},_0x1194af=_0x16b5df||process['env'][_0x42ff0a(0x169)]||'';_0x1194af&&_0x446eb7[_0x42ff0a(0x16d)](disableSession,_0x1194af);const _0x1a622e=_0x446eb7[_0x42ff0a(0x16b)](getCurrentBranch);_0x1a622e&&_0x1a622e!==_0x446eb7['zOikW']&&_0x446eb7['kZLWN'](_0x1a622e,_0x446eb7['wjbio'])&&disableBranch(_0x1a622e),_0x446eb7[_0x42ff0a(0x16d)](printBlock,_0x42ff0a(0x16a)+(_0x1a622e&&_0x446eb7['kZLWN'](_0x1a622e,_0x446eb7[_0x42ff0a(0x171)])&&_0x1a622e!==_0x446eb7[_0x42ff0a(0x165)]?'\x20and\x20branch\x20\x27'+_0x1a622e+'\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`.');}function _0x59b3(){const _0x321fa1=['968fQwwQN','711DQTEnX','2563974eAJKgS','CLAUDE_SESSION_ID','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','wfIlF','228EoqeoH','bycSD','804300gRWJVd','273143nFDBGB','5121ZkOynS','zOikW','29323KnbHks','80030yaUDJk','335912bexuxZ','wjbio'];_0x59b3=function(){return _0x321fa1;};return _0x59b3();}
@@ -1 +1 @@
1
- function _0x5365(_0x489ea8,_0xa1c568){_0x489ea8=_0x489ea8-0x106;const _0x2ef849=_0x2ef8();let _0x536521=_0x2ef849[_0x489ea8];return _0x536521;}(function(_0x46f57e,_0x19c705){const _0x10a432=_0x5365,_0x1f837a=_0x46f57e();while(!![]){try{const _0x5902e3=-parseInt(_0x10a432(0x111))/0x1*(parseInt(_0x10a432(0x106))/0x2)+parseInt(_0x10a432(0x114))/0x3+parseInt(_0x10a432(0x118))/0x4+parseInt(_0x10a432(0x107))/0x5*(-parseInt(_0x10a432(0x115))/0x6)+parseInt(_0x10a432(0x112))/0x7*(parseInt(_0x10a432(0x11d))/0x8)+parseInt(_0x10a432(0x11a))/0x9*(-parseInt(_0x10a432(0x10a))/0xa)+parseInt(_0x10a432(0x10c))/0xb;if(_0x5902e3===_0x19c705)break;else _0x1f837a['push'](_0x1f837a['shift']());}catch(_0x36d55b){_0x1f837a['push'](_0x1f837a['shift']());}}}(_0x2ef8,0x47d06));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';function _0x2ef8(){const _0x230cf9=['\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','410628DJYfst','#\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`','81360CVvXDM','NjxFv','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','352ZrKZoQ','68bvHcnU','631205CFYjQg','ranger\x20setup','TvdHm','260hpGtef','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','3678400cTuLhU','#\x20RANGER\x20ENABLED','\x0a\x0a**Branch\x20\x27','XqaGk','ranger\x20setup\x20--opencode','10858IRfWyI','30835WuGbge','bqTFu','1181178EpRvVe','6MwRMJH'];_0x2ef8=function(){return _0x230cf9;};return _0x2ef8();}import{update}from'../update.js';export async function enable(_0x5d7929){const _0x3d3a8b=_0x5365,_0x38b8e3={'XqaGk':function(_0x497b12,_0x434934){return _0x497b12(_0x434934);},'bbPwd':function(_0x2f22d2){return _0x2f22d2();},'bqTFu':_0x3d3a8b(0x108),'qvXXg':'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','NjxFv':function(_0x3ab085){return _0x3ab085();},'TvdHm':function(_0x337f58,_0x22eb16){return _0x337f58!==_0x22eb16;},'umLOV':function(_0xa924f1,_0x2d0347){return _0xa924f1!==_0x2d0347;}},_0x34d748=_0x5d7929||process['env']['CLAUDE_SESSION_ID']||'',_0x1f803f=_0x38b8e3[_0x3d3a8b(0x10f)](Boolean,_0x5d7929),_0x2557c4=await _0x38b8e3['bbPwd'](getToken);if(!_0x2557c4){const _0x2c233a=_0x1f803f?_0x3d3a8b(0x110):_0x38b8e3[_0x3d3a8b(0x113)],_0x1a9d14=_0x1f803f?_0x38b8e3['qvXXg']:_0x3d3a8b(0x11c);_0x38b8e3[_0x3d3a8b(0x10f)](printBlock,_0x3d3a8b(0x119)+_0x2c233a+_0x3d3a8b(0x10b)+_0x1a9d14);return;}try{await _0x38b8e3[_0x3d3a8b(0x11b)](update);}catch{}_0x34d748&&enableSession(_0x34d748);const _0x13acd7=_0x38b8e3[_0x3d3a8b(0x11b)](getCurrentBranch),_0x25904b=_0x13acd7&&_0x38b8e3[_0x3d3a8b(0x109)](_0x13acd7,'main')&&_0x38b8e3['umLOV'](_0x13acd7,'master')?_0x3d3a8b(0x10e)+_0x13acd7+_0x3d3a8b(0x116):'',_0x2a4617=_0x38b8e3[_0x3d3a8b(0x11b)](getRangerSkillContent);printBlock(_0x3d3a8b(0x10d)+_0x25904b+_0x3d3a8b(0x117)+_0x2a4617+'\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 _0x4300(_0x326492,_0x3e8ceb){_0x326492=_0x326492-0x101;const _0x16f62a=_0x16f6();let _0x4300c7=_0x16f62a[_0x326492];return _0x4300c7;}(function(_0x1480aa,_0x28cb0b){const _0x252bf5=_0x4300,_0x4bfa9c=_0x1480aa();while(!![]){try{const _0x206597=parseInt(_0x252bf5(0x116))/0x1*(-parseInt(_0x252bf5(0x112))/0x2)+parseInt(_0x252bf5(0x108))/0x3*(-parseInt(_0x252bf5(0x10b))/0x4)+parseInt(_0x252bf5(0x115))/0x5+-parseInt(_0x252bf5(0x104))/0x6*(parseInt(_0x252bf5(0x101))/0x7)+-parseInt(_0x252bf5(0x10f))/0x8+-parseInt(_0x252bf5(0x10a))/0x9*(parseInt(_0x252bf5(0x103))/0xa)+parseInt(_0x252bf5(0x106))/0xb;if(_0x206597===_0x28cb0b)break;else _0x4bfa9c['push'](_0x4bfa9c['shift']());}catch(_0x40f5d8){_0x4bfa9c['push'](_0x4bfa9c['shift']());}}}(_0x16f6,0xea3b3));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';function _0x16f6(){const _0x1f2171=['master','rLFOb','198292DVKsFH','env','ranger\x20setup\x20--opencode','1355445blANnU','5MZUtqg','2147726UVDZdO','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','20OXKnYO','6djKdGR','wdExh','33332585QNGQNU','#\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`','1151112bIntFg','FYcxc','3090753CmmveI','8aWSSWn','mWndT','MEbXj','#\x20RANGER\x20ENABLED','680984rdyvbr'];_0x16f6=function(){return _0x1f2171;};return _0x16f6();}export async function enable(_0x5714ec){const _0x278eed=_0x4300,_0x3ae8c4={'mWndT':function(_0x379ecb,_0x2738dc){return _0x379ecb(_0x2738dc);},'wdExh':function(_0x50a753){return _0x50a753();},'FYcxc':_0x278eed(0x114),'yoSQx':'ranger\x20setup','rLFOb':_0x278eed(0x102),'MEbXj':function(_0x3a6556,_0x70e0b5){return _0x3a6556!==_0x70e0b5;},'ugAzs':'main'},_0x1e2798=_0x5714ec||process[_0x278eed(0x113)]['CLAUDE_SESSION_ID']||'',_0x7fe7ec=_0x3ae8c4['mWndT'](Boolean,_0x5714ec),_0x6574dd=await _0x3ae8c4[_0x278eed(0x105)](getToken);if(!_0x6574dd){const _0x969fde=_0x7fe7ec?_0x3ae8c4[_0x278eed(0x109)]:_0x3ae8c4['yoSQx'],_0x1df141=_0x7fe7ec?'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.':_0x3ae8c4[_0x278eed(0x111)];printBlock(_0x278eed(0x107)+_0x969fde+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x1df141);return;}try{await update();}catch{}_0x1e2798&&_0x3ae8c4[_0x278eed(0x10c)](enableSession,_0x1e2798);const _0x40ed78=getCurrentBranch(),_0x4607f6=_0x40ed78&&_0x3ae8c4[_0x278eed(0x10d)](_0x40ed78,_0x3ae8c4['ugAzs'])&&_0x3ae8c4['MEbXj'](_0x40ed78,_0x278eed(0x110))?'\x0a\x0a**Branch\x20\x27'+_0x40ed78+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x35bb46=getRangerSkillContent();printBlock(_0x278eed(0x10e)+_0x4607f6+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x35bb46+'\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(_0x3de606,_0x13b9dd){const _0x183cbc=_0x3a72,_0x5c9eb3=_0x3de606();while(!![]){try{const _0x34e691=parseInt(_0x183cbc(0x9c))/0x1*(-parseInt(_0x183cbc(0x9e))/0x2)+-parseInt(_0x183cbc(0x9d))/0x3*(-parseInt(_0x183cbc(0x95))/0x4)+parseInt(_0x183cbc(0x9b))/0x5*(-parseInt(_0x183cbc(0x98))/0x6)+-parseInt(_0x183cbc(0x94))/0x7+parseInt(_0x183cbc(0x97))/0x8+-parseInt(_0x183cbc(0x96))/0x9*(-parseInt(_0x183cbc(0x9a))/0xa)+parseInt(_0x183cbc(0x99))/0xb;if(_0x34e691===_0x13b9dd)break;else _0x5c9eb3['push'](_0x5c9eb3['shift']());}catch(_0x3ccccc){_0x5c9eb3['push'](_0x5c9eb3['shift']());}}}(_0x583e,0x59ed6));function _0x3a72(_0x2cebc1,_0x4d8c58){_0x2cebc1=_0x2cebc1-0x94;const _0x583ecf=_0x583e();let _0x3a7242=_0x583ecf[_0x2cebc1];return _0x3a7242;}import{printBlock,getEnabledSessionId}from'./output.js';function _0x583e(){const _0x5b1942=['9714WRGNJx','994cNthRK','1124452kBaVsu','68mYqUbj','18EljSgp','4244064QcFgun','1294242ejVjiz','620026ffxBWd','2554010aHqPLk','5jkQbGt','821WqYsuh'];_0x583e=function(){return _0x5b1942;};return _0x583e();}export async function exitPlanMode(_0x374769){const _0x34c7ba=await getEnabledSessionId(_0x374769);if(!_0x34c7ba)return;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 _0x554b(_0x2c3b6b,_0x4d441a){_0x2c3b6b=_0x2c3b6b-0xbb;const _0x50eaea=_0x50ea();let _0x554bdf=_0x50eaea[_0x2c3b6b];return _0x554bdf;}(function(_0xb59935,_0x1afc46){const _0x1a6990=_0x554b,_0x126117=_0xb59935();while(!![]){try{const _0x53c7d2=parseInt(_0x1a6990(0xc3))/0x1*(parseInt(_0x1a6990(0xc7))/0x2)+-parseInt(_0x1a6990(0xc6))/0x3*(parseInt(_0x1a6990(0xbf))/0x4)+parseInt(_0x1a6990(0xbb))/0x5+-parseInt(_0x1a6990(0xc4))/0x6*(-parseInt(_0x1a6990(0xbe))/0x7)+parseInt(_0x1a6990(0xc2))/0x8*(-parseInt(_0x1a6990(0xc5))/0x9)+-parseInt(_0x1a6990(0xbc))/0xa*(parseInt(_0x1a6990(0xc0))/0xb)+parseInt(_0x1a6990(0xc1))/0xc*(-parseInt(_0x1a6990(0xbd))/0xd);if(_0x53c7d2===_0x1afc46)break;else _0x126117['push'](_0x126117['shift']());}catch(_0x2be322){_0x126117['push'](_0x126117['shift']());}}}(_0x50ea,0x7b464));import{printBlock,getEnabledSessionId}from'./output.js';function _0x50ea(){const _0x53cf51=['36561lSbwRy','4178SjmUTi','2262520iccYHW','27100cAuRwT','3081715rswNUU','6634509wyMunP','88yHuRHH','1507zdzSsu','12txgIye','2190224tjQDfS','122lAWbcQ','6DIZthh','9NMLlqW'];_0x50ea=function(){return _0x53cf51;};return _0x50ea();}export async function exitPlanMode(_0x3cb9f1){const _0x3aee70={'ZKViX':function(_0x4f3d3c,_0x51ce16){return _0x4f3d3c(_0x51ce16);}},_0x2999bb=await _0x3aee70['ZKViX'](getEnabledSessionId,_0x3cb9f1);if(!_0x2999bb)return;printBlock('===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- (function(_0x3a5234,_0x87a64b){var _0x5b3e51=_0x57ab,_0x4b705c=_0x3a5234();while(!![]){try{var _0x59594f=-parseInt(_0x5b3e51(0xfc))/0x1+parseInt(_0x5b3e51(0xf4))/0x2+parseInt(_0x5b3e51(0xf2))/0x3*(-parseInt(_0x5b3e51(0xfa))/0x4)+-parseInt(_0x5b3e51(0xf7))/0x5*(-parseInt(_0x5b3e51(0xfb))/0x6)+parseInt(_0x5b3e51(0xf3))/0x7*(-parseInt(_0x5b3e51(0xf5))/0x8)+parseInt(_0x5b3e51(0xf6))/0x9+-parseInt(_0x5b3e51(0xf8))/0xa*(-parseInt(_0x5b3e51(0xf9))/0xb);if(_0x59594f===_0x87a64b)break;else _0x4b705c['push'](_0x4b705c['shift']());}catch(_0xdca409){_0x4b705c['push'](_0x4b705c['shift']());}}}(_0x4d0d,0xd5d20));export{sessionStart}from'./sessionStart.js';function _0x4d0d(){var _0xd691f6=['3AFrMpR','35WGkMCx','879692zdjKtE','276240HlVnyg','1112454ivyMaM','1531910cyaBwv','7061090PCUZGc','22fxVMte','5546292QmEgIt','18poqiMN','459785HkJBem'];_0x4d0d=function(){return _0xd691f6;};return _0x4d0d();}export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';function _0x57ab(_0x50a0e5,_0x3b87b3){_0x50a0e5=_0x50a0e5-0xf2;var _0x4d0d63=_0x4d0d();var _0x57ab02=_0x4d0d63[_0x50a0e5];return _0x57ab02;}export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x2bb130,_0x191944){var _0x4c26ab=_0x31d5,_0x1b7645=_0x2bb130();while(!![]){try{var _0x9c24d4=parseInt(_0x4c26ab(0xe0))/0x1+-parseInt(_0x4c26ab(0xe1))/0x2+-parseInt(_0x4c26ab(0xe7))/0x3+parseInt(_0x4c26ab(0xdf))/0x4+parseInt(_0x4c26ab(0xe5))/0x5*(parseInt(_0x4c26ab(0xe4))/0x6)+-parseInt(_0x4c26ab(0xe2))/0x7+parseInt(_0x4c26ab(0xe6))/0x8*(parseInt(_0x4c26ab(0xe3))/0x9);if(_0x9c24d4===_0x191944)break;else _0x1b7645['push'](_0x1b7645['shift']());}catch(_0x4d772f){_0x1b7645['push'](_0x1b7645['shift']());}}}(_0x2ee8,0x70a0d));export{sessionStart}from'./sessionStart.js';function _0x2ee8(){var _0x201e83=['1437142IBeGJC','2233014LEOVni','1989RvEaAy','305994JRDisH','20OvyYLn','56432sEUIPR','2325123gqdhSh','178420NRSWgw','466404oFNOPw'];_0x2ee8=function(){return _0x201e83;};return _0x2ee8();}export{sessionEnd}from'./sessionEnd.js';function _0x31d5(_0xc9ac6a,_0x233ff1){_0xc9ac6a=_0xc9ac6a-0xdf;var _0x2ee844=_0x2ee8();var _0x31d51f=_0x2ee844[_0xc9ac6a];return _0x31d51f;}export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x3cdec6,_0x16ce99){const _0x528c58=_0x4826,_0x37ea87=_0x3cdec6();while(!![]){try{const _0x3062ca=parseInt(_0x528c58(0x109))/0x1+-parseInt(_0x528c58(0x101))/0x2+-parseInt(_0x528c58(0xfc))/0x3*(parseInt(_0x528c58(0x108))/0x4)+-parseInt(_0x528c58(0x102))/0x5+parseInt(_0x528c58(0x105))/0x6*(-parseInt(_0x528c58(0x100))/0x7)+-parseInt(_0x528c58(0xfa))/0x8*(-parseInt(_0x528c58(0x104))/0x9)+-parseInt(_0x528c58(0xfb))/0xa*(parseInt(_0x528c58(0xfe))/0xb);if(_0x3062ca===_0x16ce99)break;else _0x37ea87['push'](_0x37ea87['shift']());}catch(_0x3e46fb){_0x37ea87['push'](_0x37ea87['shift']());}}}(_0x5a27,0xf3079));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x594d19){console['log'](_0x594d19);}function _0x4826(_0x992c69,_0x1aa94a){_0x992c69=_0x992c69-0xfa;const _0x5a272f=_0x5a27();let _0x4826dd=_0x5a272f[_0x992c69];return _0x4826dd;}export async function readHookInput(){const _0x126fe9=_0x4826;let _0x25fb49='';try{for await(const _0x1b4978 of process[_0x126fe9(0x107)]){_0x25fb49+=_0x1b4978;}}catch{return null;}if(!_0x25fb49['trim']())return null;try{return JSON[_0x126fe9(0xff)](_0x25fb49);}catch{return null;}}export async function getEnabledSessionId(_0x341248){const _0xb8ff53=_0x4826;if(_0x341248)return isSessionEnabled(_0x341248)?_0x341248:null;const _0x4b019e=await readHookInput(),_0x4f5529=_0x4b019e?.[_0xb8ff53(0x106)];if(!_0x4f5529||!isSessionEnabled(_0x4f5529))return null;return _0x4f5529;}export async function getEnabledHookContext(_0xffcd20){const _0x4ae780=_0x4826,_0x9217a1={'WVZjp':function(_0x48e8ae,_0xafcb33){return _0x48e8ae(_0xafcb33);},'dWmJH':function(_0xb62ed9,_0x64f7df){return _0xb62ed9(_0x64f7df);}};if(_0xffcd20){if(!_0x9217a1[_0x4ae780(0xfd)](isSessionEnabled,_0xffcd20))return null;return{'sessionId':_0xffcd20,'input':{'session_id':_0xffcd20}};}const _0x520085=await readHookInput(),_0x4db591=_0x520085?.['session_id'];if(!_0x4db591||!_0x9217a1[_0x4ae780(0x103)](isSessionEnabled,_0x4db591))return null;return{'sessionId':_0x4db591,'input':_0x520085};}function _0x5a27(){const _0xba0e6=['WVZjp','1078CGfTrE','parse','1121722uyKliu','699614pleKZs','1085485vBbWkN','dWmJH','1089rrcFhj','6AHkySM','session_id','stdin','854312WHlYHj','1119080BuVySs','100888FAjtOQ','72330lgAyCR','3SnSold'];_0x5a27=function(){return _0xba0e6;};return _0x5a27();}
1
+ (function(_0x2c7353,_0x3f2c9f){const _0x2f071f=_0x1cd9,_0x590be0=_0x2c7353();while(!![]){try{const _0x275aa1=-parseInt(_0x2f071f(0x78))/0x1+parseInt(_0x2f071f(0x71))/0x2*(parseInt(_0x2f071f(0x7a))/0x3)+parseInt(_0x2f071f(0x77))/0x4*(-parseInt(_0x2f071f(0x7c))/0x5)+-parseInt(_0x2f071f(0x6f))/0x6*(-parseInt(_0x2f071f(0x79))/0x7)+-parseInt(_0x2f071f(0x73))/0x8+parseInt(_0x2f071f(0x70))/0x9*(parseInt(_0x2f071f(0x7b))/0xa)+parseInt(_0x2f071f(0x74))/0xb*(parseInt(_0x2f071f(0x75))/0xc);if(_0x275aa1===_0x3f2c9f)break;else _0x590be0['push'](_0x590be0['shift']());}catch(_0x4f5d73){_0x590be0['push'](_0x590be0['shift']());}}}(_0x2083,0xa7e02));import{isSessionEnabled}from'../utils/sessionCache.js';function _0x2083(){const _0x16271f=['log','9722832grHbaz','1991NHpQJG','122172FEYevS','parse','1310444MiFJJE','1221567XDZNBc','14OewsbK','2823cbGmuB','6870FhWetc','10PYHZJO','stdin','ORCfr','203046SpmuXd','13653wLeTog','1758JbcnBU'];_0x2083=function(){return _0x16271f;};return _0x2083();}function _0x1cd9(_0x546c6d,_0x5d891d){_0x546c6d=_0x546c6d-0x6f;const _0x208305=_0x2083();let _0x1cd92a=_0x208305[_0x546c6d];return _0x1cd92a;}export function printBlock(_0x3d7e0e){const _0x1fa1a3=_0x1cd9;console[_0x1fa1a3(0x72)](_0x3d7e0e);}export async function readHookInput(){const _0x4a304b=_0x1cd9;let _0x944d3c='';try{for await(const _0x10ac64 of process[_0x4a304b(0x7d)]){_0x944d3c+=_0x10ac64;}}catch{return null;}if(!_0x944d3c['trim']())return null;try{return JSON[_0x4a304b(0x76)](_0x944d3c);}catch{return null;}}export async function getEnabledSessionId(_0x353549){const _0x522fab={'ClzwZ':function(_0x204715,_0x511c4b){return _0x204715(_0x511c4b);},'UowRp':function(_0x2c51e7){return _0x2c51e7();}};if(_0x353549)return _0x522fab['ClzwZ'](isSessionEnabled,_0x353549)?_0x353549:null;const _0x10d491=await _0x522fab['UowRp'](readHookInput),_0x31cbc5=_0x10d491?.['session_id'];if(!_0x31cbc5||!_0x522fab['ClzwZ'](isSessionEnabled,_0x31cbc5))return null;return _0x31cbc5;}export async function getEnabledHookContext(_0xf08e27){const _0x398d27=_0x1cd9,_0x4c0c26={'ORCfr':function(_0x2d8ff6){return _0x2d8ff6();}};if(_0xf08e27){if(!isSessionEnabled(_0xf08e27))return null;return{'sessionId':_0xf08e27,'input':{'session_id':_0xf08e27}};}const _0x333c68=await _0x4c0c26[_0x398d27(0x7e)](readHookInput),_0x159ab5=_0x333c68?.['session_id'];if(!_0x159ab5||!isSessionEnabled(_0x159ab5))return null;return{'sessionId':_0x159ab5,'input':_0x333c68};}
@@ -1 +1 @@
1
- function _0x3c65(){const _0x3111cb=['5216790QTONvj','4714205GGzeqm','bcTDZ','uCbct','6791568nhzItr','85586pgcAoG','467409JEHPIl','11583pARfMV','23EZRkZi','permission_mode','5192eriRNW','input','plan','338020JuQCcv'];_0x3c65=function(){return _0x3111cb;};return _0x3c65();}(function(_0x199d82,_0x272b13){const _0x5b1fad=_0x4612,_0x16c31f=_0x199d82();while(!![]){try{const _0x337159=-parseInt(_0x5b1fad(0x16d))/0x1*(parseInt(_0x5b1fad(0x16a))/0x2)+-parseInt(_0x5b1fad(0x16b))/0x3+-parseInt(_0x5b1fad(0x164))/0x4+-parseInt(_0x5b1fad(0x166))/0x5+parseInt(_0x5b1fad(0x165))/0x6+parseInt(_0x5b1fad(0x169))/0x7+-parseInt(_0x5b1fad(0x16f))/0x8*(-parseInt(_0x5b1fad(0x16c))/0x9);if(_0x337159===_0x272b13)break;else _0x16c31f['push'](_0x16c31f['shift']());}catch(_0x4326da){_0x16c31f['push'](_0x16c31f['shift']());}}}(_0x3c65,0x7beac));function _0x4612(_0x184f56,_0x245327){_0x184f56=_0x184f56-0x163;const _0x3c65b4=_0x3c65();let _0x461206=_0x3c65b4[_0x184f56];return _0x461206;}import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x471439){const _0x2c53e1=_0x4612,_0x19d963={'uCbct':function(_0x432c15,_0x868ff9){return _0x432c15(_0x868ff9);},'bcTDZ':function(_0x188343,_0x2b4c94){return _0x188343!==_0x2b4c94;}},_0x51e221=await _0x19d963[_0x2c53e1(0x168)](getEnabledHookContext,_0x471439);if(!_0x51e221)return;if(_0x19d963[_0x2c53e1(0x167)](_0x51e221[_0x2c53e1(0x170)][_0x2c53e1(0x16e)],_0x2c53e1(0x163)))return;if(!shouldShowPlanReminder(_0x51e221['sessionId']))return;_0x19d963[_0x2c53e1(0x168)](printBlock,'===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===');}
1
+ (function(_0x514f6c,_0x35eee8){const _0x5e3dd7=_0x47fd,_0xbc4961=_0x514f6c();while(!![]){try{const _0x1ccc28=parseInt(_0x5e3dd7(0x94))/0x1*(-parseInt(_0x5e3dd7(0x9b))/0x2)+-parseInt(_0x5e3dd7(0x9a))/0x3+parseInt(_0x5e3dd7(0x98))/0x4*(-parseInt(_0x5e3dd7(0x97))/0x5)+parseInt(_0x5e3dd7(0x95))/0x6+-parseInt(_0x5e3dd7(0xa1))/0x7*(parseInt(_0x5e3dd7(0xa3))/0x8)+parseInt(_0x5e3dd7(0x9c))/0x9*(-parseInt(_0x5e3dd7(0x9d))/0xa)+parseInt(_0x5e3dd7(0x9e))/0xb*(parseInt(_0x5e3dd7(0x99))/0xc);if(_0x1ccc28===_0x35eee8)break;else _0xbc4961['push'](_0xbc4961['shift']());}catch(_0x51b9d2){_0xbc4961['push'](_0xbc4961['shift']());}}}(_0x4e00,0xae421));import{printBlock,getEnabledHookContext}from'./output.js';function _0x47fd(_0xb97ae7,_0x338d46){_0xb97ae7=_0xb97ae7-0x94;const _0x4e0049=_0x4e00();let _0x47fded=_0x4e0049[_0xb97ae7];return _0x47fded;}import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x4e00(){const _0x32638d=['input','5aBCSvJ','4432820SdZvne','28696920ixhWit','3900237ToMHPX','5722jQizut','99504yGINae','770sxYyTl','22CZAaoP','sessionId','cNFqb','21GWpVNL','zojYw','2954024sCJtOk','===\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===','190ftQfBC','5051316PdPgay'];_0x4e00=function(){return _0x32638d;};return _0x4e00();}export async function planReminder(_0x5dcb52){const _0x554bf3=_0x47fd,_0x13d0f4={'cNFqb':function(_0x5daf99,_0x99d7c8){return _0x5daf99(_0x99d7c8);},'zojYw':function(_0x44e27d,_0x2227bb){return _0x44e27d!==_0x2227bb;},'VpnzM':'plan','qhWUs':function(_0x3a3b3f,_0x221bb2){return _0x3a3b3f(_0x221bb2);}},_0x3a2dbd=await _0x13d0f4[_0x554bf3(0xa0)](getEnabledHookContext,_0x5dcb52);if(!_0x3a2dbd)return;if(_0x13d0f4[_0x554bf3(0xa2)](_0x3a2dbd[_0x554bf3(0x96)]['permission_mode'],_0x13d0f4['VpnzM']))return;if(!shouldShowPlanReminder(_0x3a2dbd[_0x554bf3(0x9f)]))return;_0x13d0f4['qhWUs'](printBlock,_0x554bf3(0xa4));}
@@ -1 +1 @@
1
- (function(_0x5410e6,_0x4e1932){const _0x29d6f1=_0x44ba,_0x4e7a5b=_0x5410e6();while(!![]){try{const _0xe6be1b=-parseInt(_0x29d6f1(0x6d))/0x1*(-parseInt(_0x29d6f1(0x6e))/0x2)+parseInt(_0x29d6f1(0x6b))/0x3*(parseInt(_0x29d6f1(0x6f))/0x4)+parseInt(_0x29d6f1(0x73))/0x5+-parseInt(_0x29d6f1(0x70))/0x6*(parseInt(_0x29d6f1(0x75))/0x7)+-parseInt(_0x29d6f1(0x77))/0x8*(parseInt(_0x29d6f1(0x6a))/0x9)+parseInt(_0x29d6f1(0x74))/0xa+parseInt(_0x29d6f1(0x71))/0xb*(-parseInt(_0x29d6f1(0x6c))/0xc);if(_0xe6be1b===_0x4e1932)break;else _0x4e7a5b['push'](_0x4e7a5b['shift']());}catch(_0x2e2116){_0x4e7a5b['push'](_0x4e7a5b['shift']());}}}(_0x2353,0xa9005));import{printBlock,getEnabledSessionId}from'./output.js';function _0x44ba(_0x3aff47,_0x584d36){_0x3aff47=_0x3aff47-0x6a;const _0x235360=_0x2353();let _0x44baac=_0x235360[_0x3aff47];return _0x44baac;}export async function planStart(_0x2166ce){const _0x5a48bd=_0x44ba,_0x3d8b94={'mOLFV':function(_0x19539e,_0x3ba268){return _0x19539e(_0x3ba268);}},_0xe82fda=await _0x3d8b94[_0x5a48bd(0x72)](getEnabledSessionId,_0x2166ce);if(!_0xe82fda)return;printBlock(_0x5a48bd(0x76));}function _0x2353(){const _0x371938=['97728nOYUmd','26uJnpKT','96598PordqR','52236rDMgtI','94158PcKEkv','1188JgAStg','mOLFV','3050090WWtICH','9283280FwPKcO','532cHahxd','===\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===','2848cErmhT','28152DkjKzB','249Nhuyqj'];_0x2353=function(){return _0x371938;};return _0x2353();}
1
+ function _0x871a(_0x1de918,_0x56287e){_0x1de918=_0x1de918-0x195;const _0xd1d8dd=_0xd1d8();let _0x871a6c=_0xd1d8dd[_0x1de918];return _0x871a6c;}(function(_0x29a3b4,_0x13fe08){const _0x5cadb0=_0x871a,_0x6e2ac4=_0x29a3b4();while(!![]){try{const _0x48fb99=-parseInt(_0x5cadb0(0x198))/0x1+-parseInt(_0x5cadb0(0x196))/0x2+-parseInt(_0x5cadb0(0x199))/0x3+-parseInt(_0x5cadb0(0x19b))/0x4+parseInt(_0x5cadb0(0x19c))/0x5+parseInt(_0x5cadb0(0x197))/0x6+-parseInt(_0x5cadb0(0x19e))/0x7*(-parseInt(_0x5cadb0(0x195))/0x8);if(_0x48fb99===_0x13fe08)break;else _0x6e2ac4['push'](_0x6e2ac4['shift']());}catch(_0x35f1a2){_0x6e2ac4['push'](_0x6e2ac4['shift']());}}}(_0xd1d8,0x3b77c));import{printBlock,getEnabledSessionId}from'./output.js';function _0xd1d8(){const _0x58aa28=['145355NtQzCH','698862SdIMCv','===\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===','1030988rzIPhL','1738775gIRDaD','VSTur','35ymSEcL','776008utVEXA','530576FFWZZf','1872984BrxJXg'];_0xd1d8=function(){return _0x58aa28;};return _0xd1d8();}export async function planStart(_0x4c27e8){const _0x330e55=_0x871a,_0x994747={'VSTur':function(_0x33f43e,_0x42eb07){return _0x33f43e(_0x42eb07);}},_0x33a012=await _0x994747['VSTur'](getEnabledSessionId,_0x4c27e8);if(!_0x33a012)return;_0x994747[_0x330e55(0x19d)](printBlock,_0x330e55(0x19a));}
@@ -1 +1 @@
1
- (function(_0x311bab,_0x3e5468){const _0x33c7f2=_0x2170,_0x4b1f50=_0x311bab();while(!![]){try{const _0x43ae90=-parseInt(_0x33c7f2(0x13e))/0x1+-parseInt(_0x33c7f2(0x13a))/0x2+parseInt(_0x33c7f2(0x13d))/0x3*(parseInt(_0x33c7f2(0x139))/0x4)+-parseInt(_0x33c7f2(0x137))/0x5+-parseInt(_0x33c7f2(0x135))/0x6*(parseInt(_0x33c7f2(0x134))/0x7)+-parseInt(_0x33c7f2(0x138))/0x8+parseInt(_0x33c7f2(0x133))/0x9;if(_0x43ae90===_0x3e5468)break;else _0x4b1f50['push'](_0x4b1f50['shift']());}catch(_0x4ac916){_0x4b1f50['push'](_0x4b1f50['shift']());}}}(_0x4371,0xdb196));function _0x4371(){const _0x16c922=['1006004sREaBW','PostToolUse','50806287JWtvtV','1253SPklvC','48936buHCuI','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.','6933040KunCYi','8700552sOmkML','212WuudgQ','2856378gKrLke','fpBvY','stringify','91731jLlepC'];_0x4371=function(){return _0x16c922;};return _0x4371();}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x2170(_0x557148,_0x1476fc){_0x557148=_0x557148-0x132;const _0x4371f0=_0x4371();let _0x2170f9=_0x4371f0[_0x557148];return _0x2170f9;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x24e7df){const _0x1ea139=_0x2170,_0x4ae94b={'LMwCI':function(_0x33b6af,_0x1dd617){return _0x33b6af(_0x1dd617);},'DWsLp':function(_0x4a82d5){return _0x4a82d5();},'fpBvY':'PostToolUse'},_0x48a87b=await _0x4ae94b['LMwCI'](getEnabledSessionId,_0x24e7df);if(!_0x48a87b)return;updateBranchTracking(_0x48a87b);const _0x4a1554=await _0x4ae94b['DWsLp'](getToken);if(!_0x4a1554)return;const _0x4aa013=getSessionEntry(_0x48a87b);if(_0x4aa013){const _0x4abb24={'hookSpecificOutput':{'hookEventName':_0x1ea139(0x132),'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[_0x1ea139(0x13c)](_0x4abb24));return;}const _0x191c6c={'hookSpecificOutput':{'hookEventName':_0x4ae94b[_0x1ea139(0x13b)],'additionalContext':_0x1ea139(0x136)}};console['log'](JSON[_0x1ea139(0x13c)](_0x191c6c));}
1
+ (function(_0x37e00a,_0x29531b){const _0x570ae1=_0x5446,_0x2086e1=_0x37e00a();while(!![]){try{const _0x564cf3=-parseInt(_0x570ae1(0x1c9))/0x1*(-parseInt(_0x570ae1(0x1c2))/0x2)+-parseInt(_0x570ae1(0x1c8))/0x3*(parseInt(_0x570ae1(0x1be))/0x4)+parseInt(_0x570ae1(0x1c3))/0x5+parseInt(_0x570ae1(0x1c1))/0x6*(parseInt(_0x570ae1(0x1c7))/0x7)+-parseInt(_0x570ae1(0x1c0))/0x8*(parseInt(_0x570ae1(0x1bc))/0x9)+-parseInt(_0x570ae1(0x1c5))/0xa+parseInt(_0x570ae1(0x1bd))/0xb;if(_0x564cf3===_0x29531b)break;else _0x2086e1['push'](_0x2086e1['shift']());}catch(_0x1e45fd){_0x2086e1['push'](_0x2086e1['shift']());}}}(_0x1267,0x48b19));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';function _0x5446(_0x3f3bdc,_0x44b5c0){_0x3f3bdc=_0x3f3bdc-0x1bc;const _0x126720=_0x1267();let _0x5446e5=_0x126720[_0x3f3bdc];return _0x5446e5;}function _0x1267(){const _0x3eb11a=['370330OaKXcC','PostToolUse','781110QepjoF','log','49HwcPIe','9PsGrIO','13941KseYHQ','90myfupn','9311456hoSnlL','629256JjYFqg','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.','358712zlxpKK','71034tSNsdP','42CNBYbh'];_0x1267=function(){return _0x3eb11a;};return _0x1267();}export async function postEdit(_0x32cb68){const _0x509f8a=_0x5446,_0x42043b={'SvHil':function(_0x18e673,_0x559911){return _0x18e673(_0x559911);},'DVXuO':function(_0x2414ec){return _0x2414ec();},'oFJTV':_0x509f8a(0x1c4)},_0x33fe1b=await _0x42043b['SvHil'](getEnabledSessionId,_0x32cb68);if(!_0x33fe1b)return;updateBranchTracking(_0x33fe1b);const _0x15988e=await _0x42043b['DVXuO'](getToken);if(!_0x15988e)return;const _0x3b5863=getSessionEntry(_0x33fe1b);if(_0x3b5863){const _0x14c09b={'hookSpecificOutput':{'hookEventName':_0x42043b['oFJTV'],'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[_0x509f8a(0x1c6)](JSON['stringify'](_0x14c09b));return;}const _0x2e1463={'hookSpecificOutput':{'hookEventName':_0x509f8a(0x1c4),'additionalContext':_0x509f8a(0x1bf)}};console['log'](JSON['stringify'](_0x2e1463));}
@@ -1 +1 @@
1
- (function(_0x4a40e9,_0x38373b){const _0x4d381e=_0x22ab,_0x520282=_0x4a40e9();while(!![]){try{const _0x537581=parseInt(_0x4d381e(0x1cf))/0x1+-parseInt(_0x4d381e(0x1cd))/0x2+parseInt(_0x4d381e(0x1ce))/0x3*(parseInt(_0x4d381e(0x1d4))/0x4)+parseInt(_0x4d381e(0x1d5))/0x5*(parseInt(_0x4d381e(0x1d2))/0x6)+parseInt(_0x4d381e(0x1cb))/0x7*(-parseInt(_0x4d381e(0x1d3))/0x8)+parseInt(_0x4d381e(0x1d1))/0x9+-parseInt(_0x4d381e(0x1cc))/0xa;if(_0x537581===_0x38373b)break;else _0x520282['push'](_0x520282['shift']());}catch(_0x36611a){_0x520282['push'](_0x520282['shift']());}}}(_0x4160,0x25f2d));function _0x22ab(_0x262b8f,_0xdcfe56){_0x262b8f=_0x262b8f-0x1cb;const _0x41602d=_0x4160();let _0x22ab2b=_0x41602d[_0x262b8f];return _0x22ab2b;}import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x3e1d63){const _0x2c32a3=_0x22ab,_0x3e63f5=await getEnabledSessionId(_0x3e1d63);if(!_0x3e63f5)return;try{const _0x37a309=await getToken();if(!_0x37a309)return;printBlock(_0x2c32a3(0x1d0));}catch{}}function _0x4160(){const _0x2fb587=['1202892wHhICE','8WXyrBG','284nJmIJD','5JeXejG','745724sxoTxY','3650980LCRnoQ','455590rMKJUp','11148ThENFL','223094nguAYi','===\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`.','1507050mIkqIi'];_0x4160=function(){return _0x2fb587;};return _0x4160();}
1
+ (function(_0x44bf3f,_0x4bcf47){const _0x35d7f7=_0x2043,_0x42e2f9=_0x44bf3f();while(!![]){try{const _0x3e47a5=parseInt(_0x35d7f7(0xae))/0x1*(-parseInt(_0x35d7f7(0xb2))/0x2)+parseInt(_0x35d7f7(0xb0))/0x3+-parseInt(_0x35d7f7(0xb3))/0x4+parseInt(_0x35d7f7(0xb4))/0x5+-parseInt(_0x35d7f7(0xb5))/0x6+-parseInt(_0x35d7f7(0xaf))/0x7*(-parseInt(_0x35d7f7(0xad))/0x8)+parseInt(_0x35d7f7(0xb1))/0x9;if(_0x3e47a5===_0x4bcf47)break;else _0x42e2f9['push'](_0x42e2f9['shift']());}catch(_0x5f2f27){_0x42e2f9['push'](_0x42e2f9['shift']());}}}(_0x497a,0xb787b));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0x2043(_0x2d545b,_0x2698f0){_0x2d545b=_0x2d545b-0xad;const _0x497aac=_0x497a();let _0x204339=_0x497aac[_0x2d545b];return _0x204339;}export async function preCompact(_0x1f375b){const _0x5deecf={'UzVKr':function(_0x1f5961,_0x5b5866){return _0x1f5961(_0x5b5866);}},_0x41b7bd=await _0x5deecf['UzVKr'](getEnabledSessionId,_0x1f375b);if(!_0x41b7bd)return;try{const _0x56e86a=await getToken();if(!_0x56e86a)return;_0x5deecf['UzVKr'](printBlock,'===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.');}catch{}}function _0x497a(){const _0x50e413=['40svXDYy','1FTZLMy','1517810SekTkE','1501179bHrTeZ','3915333UPCLaj','40370GLryQe','1230636DRxOXF','902960kgnZkJ','6723534qDLOTi'];_0x497a=function(){return _0x50e413;};return _0x497a();}
@@ -1 +1 @@
1
- function _0x8cbb(){const _0x118e35=['CLAUDE_SESSION_ID','8742213TtsdAQ','10LNaKDh','1027329lNixRa','1452539cgtRfb','5UdEpFU','53552qLQjJq','582172RudYtH','env','341222tNVUIV','7839042xJIynk','2GEamJj','32AtLEPB'];_0x8cbb=function(){return _0x118e35;};return _0x8cbb();}(function(_0x54f07f,_0x16b627){const _0x9d0646=_0x1b19,_0x400376=_0x54f07f();while(!![]){try{const _0x3835df=parseInt(_0x9d0646(0x1d4))/0x1*(-parseInt(_0x9d0646(0x1cc))/0x2)+parseInt(_0x9d0646(0x1d1))/0x3+parseInt(_0x9d0646(0x1d5))/0x4*(parseInt(_0x9d0646(0x1d3))/0x5)+parseInt(_0x9d0646(0x1cb))/0x6+-parseInt(_0x9d0646(0x1ca))/0x7*(parseInt(_0x9d0646(0x1cd))/0x8)+-parseInt(_0x9d0646(0x1cf))/0x9+-parseInt(_0x9d0646(0x1d0))/0xa*(-parseInt(_0x9d0646(0x1d2))/0xb);if(_0x3835df===_0x16b627)break;else _0x400376['push'](_0x400376['shift']());}catch(_0x3d5c5b){_0x400376['push'](_0x400376['shift']());}}}(_0x8cbb,0xac859));function _0x1b19(_0x2fd1c9,_0x553cca){_0x2fd1c9=_0x2fd1c9-0x1ca;const _0x8cbb2d=_0x8cbb();let _0x1b1946=_0x8cbb2d[_0x2fd1c9];return _0x1b1946;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x15a808){const _0x25c40f=_0x1b19,_0x4aa2ea={'OMWmG':'clear'},_0x32e975=process[_0x25c40f(0x1d6)][_0x25c40f(0x1ce)];let _0x54603d=_0x15a808,_0x1d0eae;if(!_0x15a808){if(_0x32e975&&!isSessionEnabled(_0x32e975))return;const _0x17a5d5=await readHookInput();_0x54603d=_0x17a5d5?.['session_id']||_0x32e975,_0x1d0eae=_0x17a5d5?.['reason'];}if(!_0x54603d)return;_0x1d0eae===_0x4aa2ea['OMWmG']&&recordEnabledSessionCleared(_0x54603d);}
1
+ (function(_0x2475dd,_0x2b7d8c){const _0x245baf=_0x1355,_0x5a6604=_0x2475dd();while(!![]){try{const _0x29462f=-parseInt(_0x245baf(0x189))/0x1*(-parseInt(_0x245baf(0x18c))/0x2)+parseInt(_0x245baf(0x18d))/0x3*(parseInt(_0x245baf(0x184))/0x4)+-parseInt(_0x245baf(0x188))/0x5+-parseInt(_0x245baf(0x18f))/0x6+parseInt(_0x245baf(0x18e))/0x7+parseInt(_0x245baf(0x187))/0x8*(parseInt(_0x245baf(0x18a))/0x9)+-parseInt(_0x245baf(0x186))/0xa;if(_0x29462f===_0x2b7d8c)break;else _0x5a6604['push'](_0x5a6604['shift']());}catch(_0x2a31a4){_0x5a6604['push'](_0x5a6604['shift']());}}}(_0xc8bb,0x7bd98));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0xc8bb(){const _0x15abed=['3742614fdUKYx','clear','484402UYbClW','174RFZTMq','4189066ByMjmI','4246896RDkKRf','QztqZ','21496NxdfTg','env','757750tADDFW','16QZrwyv','3465720tndhml','1EbhgGq'];_0xc8bb=function(){return _0x15abed;};return _0xc8bb();}function _0x1355(_0x2c5841,_0x26c968){_0x2c5841=_0x2c5841-0x183;const _0xc8bbdf=_0xc8bb();let _0x1355ad=_0xc8bbdf[_0x2c5841];return _0x1355ad;}import{readHookInput}from'./output.js';export async function sessionEnd(_0x43a278){const _0x159f40=_0x1355,_0x7354d3={'jmpko':function(_0x3babc7){return _0x3babc7();},'QztqZ':function(_0xd54164,_0xe01838){return _0xd54164===_0xe01838;},'abHIm':function(_0x2ae708,_0x2b504f){return _0x2ae708(_0x2b504f);}},_0x3c0a8f=process[_0x159f40(0x185)]['CLAUDE_SESSION_ID'];let _0x43c4d7=_0x43a278,_0xa9cab3;if(!_0x43a278){if(_0x3c0a8f&&!isSessionEnabled(_0x3c0a8f))return;const _0x3be6da=await _0x7354d3['jmpko'](readHookInput);_0x43c4d7=_0x3be6da?.['session_id']||_0x3c0a8f,_0xa9cab3=_0x3be6da?.['reason'];}if(!_0x43c4d7)return;_0x7354d3[_0x159f40(0x183)](_0xa9cab3,_0x159f40(0x18b))&&_0x7354d3['abHIm'](recordEnabledSessionCleared,_0x43c4d7);}
@@ -1 +1 @@
1
- (function(_0xf38f06,_0x4de22b){const _0xee84f4=_0x2ec2,_0x40cc14=_0xf38f06();while(!![]){try{const _0x266a5c=parseInt(_0xee84f4(0x12a))/0x1*(-parseInt(_0xee84f4(0x127))/0x2)+-parseInt(_0xee84f4(0x126))/0x3+parseInt(_0xee84f4(0x125))/0x4*(-parseInt(_0xee84f4(0x128))/0x5)+-parseInt(_0xee84f4(0x131))/0x6*(parseInt(_0xee84f4(0x13a))/0x7)+parseInt(_0xee84f4(0x139))/0x8+-parseInt(_0xee84f4(0x12c))/0x9+-parseInt(_0xee84f4(0x12e))/0xa*(-parseInt(_0xee84f4(0x134))/0xb);if(_0x266a5c===_0x4de22b)break;else _0x40cc14['push'](_0x40cc14['shift']());}catch(_0x3981d6){_0x40cc14['push'](_0x40cc14['shift']());}}}(_0x5113,0x6ae38));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x5113(){const _0x66b4d2=['env','7047396HqneGX','SessionStart','30LfomUS','CLAUDE_ENV_FILE','main','24GWxOiZ','Umtrg','SKxid','10558911OkMQMW','export\x20CLAUDE_SESSION_ID=\x22','stringify','master','log','2022384RzAsqQ','129367kzwIJV','SvNWQ','session_id','dPdkh','172SyNXki','1979535NyNLZh','525562CmlzTh','75850XfmnKF','HCsdw','2CFUFba'];_0x5113=function(){return _0x66b4d2;};return _0x5113();}function _0x2ec2(_0x52a055,_0x56287c){_0x52a055=_0x52a055-0x123;const _0x51134b=_0x5113();let _0x2ec2fa=_0x51134b[_0x52a055];return _0x2ec2fa;}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT='=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================';export async function sessionStart(_0x28c53c){const _0x28391d=_0x2ec2,_0x16926a={'Umtrg':function(_0x3f7cc7,_0x5311ec){return _0x3f7cc7||_0x5311ec;},'HCsdw':_0x28391d(0x123),'ECGLz':function(_0x19476c,_0xe6c2ff){return _0x19476c&&_0xe6c2ff;},'SKxid':function(_0x11dbd8,_0x33e134,_0x39ad49){return _0x11dbd8(_0x33e134,_0x39ad49);},'dPdkh':function(_0x5f39b1){return _0x5f39b1();},'hltIq':function(_0x22dbac,_0x46530e){return _0x22dbac(_0x46530e);},'SvNWQ':_0x28391d(0x130),'kgOpD':_0x28391d(0x12d)};let _0x17d7c1=_0x16926a[_0x28391d(0x132)](_0x28c53c,''),_0x30b50f;if(!_0x28c53c){let _0x34c7cf='';for await(const _0x54244c of process['stdin']){_0x34c7cf+=_0x54244c;}try{const _0x36485a=JSON['parse'](_0x34c7cf);_0x17d7c1=_0x36485a[_0x16926a[_0x28391d(0x129)]]||'',_0x30b50f=_0x36485a['source'];}catch{}const _0x1222b1=process[_0x28391d(0x12b)][_0x28391d(0x12f)];if(_0x16926a['ECGLz'](_0x1222b1,_0x17d7c1))try{await _0x16926a[_0x28391d(0x133)](appendFile,_0x1222b1,_0x28391d(0x135)+_0x17d7c1+'\x22\x0a');}catch{}}try{await _0x16926a[_0x28391d(0x124)](getToken);}catch{}if(_0x17d7c1){_0x16926a['hltIq'](shouldAutoEnableAfterClear,_0x30b50f)&&autoEnableAfterClear(_0x17d7c1);initBranchTracking(_0x17d7c1);const _0x5d2218=isSessionEnabled(_0x17d7c1);try{const _0xd82dd1=createTelemetryCollector('hook:session-start');await _0xd82dd1['trackCommandStart']({'sessionId':_0x17d7c1,'hooksEnabled':_0x5d2218}),await _0xd82dd1['trackCommandEnd']('success');}catch{}if(_0x5d2218){const _0x179256=getCurrentBranch(),_0x1a09be=_0x179256&&_0x179256!==_0x16926a[_0x28391d(0x13b)]&&_0x179256!==_0x28391d(0x137)?'\x20(Branch:\x20'+_0x179256+')':'',_0x1df15c={'hookSpecificOutput':{'hookEventName':_0x16926a['kgOpD'],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x1a09be}};console[_0x28391d(0x138)](JSON[_0x28391d(0x136)](_0x1df15c));}}}
1
+ const _0x136631=_0x33e0;(function(_0x445588,_0x3e84e4){const _0x2b9a4e=_0x33e0,_0x152d0c=_0x445588();while(!![]){try{const _0x52f303=-parseInt(_0x2b9a4e(0xa4))/0x1+parseInt(_0x2b9a4e(0xa9))/0x2*(parseInt(_0x2b9a4e(0xaa))/0x3)+parseInt(_0x2b9a4e(0xb9))/0x4+parseInt(_0x2b9a4e(0xb7))/0x5*(parseInt(_0x2b9a4e(0xbb))/0x6)+-parseInt(_0x2b9a4e(0xb5))/0x7*(-parseInt(_0x2b9a4e(0xa8))/0x8)+-parseInt(_0x2b9a4e(0xb1))/0x9*(parseInt(_0x2b9a4e(0xb4))/0xa)+parseInt(_0x2b9a4e(0xb6))/0xb;if(_0x52f303===_0x3e84e4)break;else _0x152d0c['push'](_0x152d0c['shift']());}catch(_0x319f83){_0x152d0c['push'](_0x152d0c['shift']());}}}(_0x41f1,0xf28d7));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x33e0(_0x42cc91,_0x42b5f2){_0x42cc91=_0x42cc91-0xa3;const _0x41f170=_0x41f1();let _0x33e07b=_0x41f170[_0x42cc91];return _0x33e07b;}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT=_0x136631(0xb0);function _0x41f1(){const _0x5efea4=['source','LHvEq','LjnOA','766772iKedbx','hook:session-start','master','success','4640288PXsFdq','28ZCVDwv','75219XeSVMm','FwsES','export\x20CLAUDE_SESSION_ID=\x22','UXhkC','trackCommandStart','sldcy','=================================================================\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=================================================================','4707sPBjLC','qwvVk','SessionStart','24230HKtdan','21jSeLBi','4978369pMqTHF','315ymfZvG','rTRWa','1374448QUMHUS','WNwSu','13350bToBjo','stringify'];_0x41f1=function(){return _0x5efea4;};return _0x41f1();}export async function sessionStart(_0x195f2c){const _0xe3a328=_0x136631,_0x447f53={'WNwSu':function(_0x4103e1,_0x1342a7){return _0x4103e1||_0x1342a7;},'rTRWa':'session_id','hhlgN':_0xe3a328(0xbd),'LHvEq':function(_0x44ffae,_0x329c2d){return _0x44ffae&&_0x329c2d;},'sldcy':function(_0x1cb305){return _0x1cb305();},'UXhkC':function(_0x9acadb,_0x225a29){return _0x9acadb(_0x225a29);},'QuxZG':function(_0xbc2eca,_0x297891){return _0xbc2eca(_0x297891);},'JatQu':_0xe3a328(0xa5),'qwvVk':'main','LjnOA':function(_0x23efff,_0x1cf1b6){return _0x23efff!==_0x1cf1b6;},'FwsES':_0xe3a328(0xb3),'REGsV':function(_0x1503c7,_0x24f0c9){return _0x1503c7+_0x24f0c9;}};let _0x33a406=_0x447f53[_0xe3a328(0xba)](_0x195f2c,''),_0x3f7554;if(!_0x195f2c){let _0x3df0c8='';for await(const _0x462ee3 of process['stdin']){_0x3df0c8+=_0x462ee3;}try{const _0x46789e=JSON['parse'](_0x3df0c8);_0x33a406=_0x46789e[_0x447f53[_0xe3a328(0xb8)]]||'',_0x3f7554=_0x46789e[_0x447f53['hhlgN']];}catch{}const _0xacf2b5=process['env']['CLAUDE_ENV_FILE'];if(_0x447f53[_0xe3a328(0xbe)](_0xacf2b5,_0x33a406))try{await appendFile(_0xacf2b5,_0xe3a328(0xac)+_0x33a406+'\x22\x0a');}catch{}}try{await _0x447f53[_0xe3a328(0xaf)](getToken);}catch{}if(_0x33a406){_0x447f53['UXhkC'](shouldAutoEnableAfterClear,_0x3f7554)&&_0x447f53[_0xe3a328(0xad)](autoEnableAfterClear,_0x33a406);_0x447f53['UXhkC'](initBranchTracking,_0x33a406);const _0x222c08=_0x447f53['QuxZG'](isSessionEnabled,_0x33a406);try{const _0x5ca279=createTelemetryCollector(_0x447f53['JatQu']);await _0x5ca279[_0xe3a328(0xae)]({'sessionId':_0x33a406,'hooksEnabled':_0x222c08}),await _0x5ca279['trackCommandEnd'](_0xe3a328(0xa7));}catch{}if(_0x222c08){const _0x4a28b1=getCurrentBranch(),_0x572528=_0x4a28b1&&_0x4a28b1!==_0x447f53[_0xe3a328(0xb2)]&&_0x447f53[_0xe3a328(0xa3)](_0x4a28b1,_0xe3a328(0xa6))?'\x20(Branch:\x20'+_0x4a28b1+')':'',_0x35ac18={'hookSpecificOutput':{'hookEventName':_0x447f53[_0xe3a328(0xab)],'additionalContext':_0x447f53['REGsV'](RANGER_AUTO_ENABLED_PROMPT,_0x572528)}};console['log'](JSON[_0xe3a328(0xbc)](_0x35ac18));}}}
@@ -1 +1 @@
1
- function _0x2d5c(){const _0x23c368=['175708SPBClr','currentSessionId','featureId','log','trackCommandEnd','blocked','some','oPlza','503397gdNlfK','Lpnid','success','dbHQm','704949NlSKNb','trackCommandStart','2017764JZVoGx','16fozXjQ','RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20','closed','146456PzWmKN','5695teouph','1698SXFmWc','284179zvVRjc','hpbrv','verification_in_progress'];_0x2d5c=function(){return _0x23c368;};return _0x2d5c();}(function(_0x303aeb,_0x273b5f){const _0x342b68=_0x2870,_0x192c4d=_0x303aeb();while(!![]){try{const _0x17d0d7=parseInt(_0x342b68(0x1e1))/0x1+-parseInt(_0x342b68(0x1f3))/0x2+parseInt(_0x342b68(0x1ed))/0x3+-parseInt(_0x342b68(0x1ef))/0x4+-parseInt(_0x342b68(0x1f4))/0x5*(-parseInt(_0x342b68(0x1f5))/0x6)+-parseInt(_0x342b68(0x1f6))/0x7*(-parseInt(_0x342b68(0x1f0))/0x8)+parseInt(_0x342b68(0x1e9))/0x9;if(_0x17d0d7===_0x273b5f)break;else _0x192c4d['push'](_0x192c4d['shift']());}catch(_0x332c2b){_0x192c4d['push'](_0x192c4d['shift']());}}}(_0x2d5c,0x47686));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';function _0x2870(_0x256147,_0x10a520){_0x256147=_0x256147-0x1df;const _0x2d5c28=_0x2d5c();let _0x28706b=_0x2d5c28[_0x256147];return _0x28706b;}import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x549f03){const _0x467d92=_0x2870,_0x24d63d={'jFtcP':function(_0x3e91d0,_0x505947){return _0x3e91d0(_0x505947);},'SHrLu':function(_0x45b64f,_0x1956e6,_0x28957d,_0x41dad9){return _0x45b64f(_0x1956e6,_0x28957d,_0x41dad9);},'hpbrv':function(_0x3df911,_0x563038){return _0x3df911(_0x563038);},'dbHQm':function(_0xbef3d5,_0x19a8c9,_0x306853,_0x557940){return _0xbef3d5(_0x19a8c9,_0x306853,_0x557940);},'Fzyrn':function(_0x5cc959){return _0x5cc959();},'LEWAP':function(_0xae443a,_0xb2609b){return _0xae443a(_0xb2609b);},'Lpnid':function(_0x105442,_0x10f9fa){return _0x105442&&_0x10f9fa;},'oPlza':'Stop','zZgIA':function(_0x5ec3b8,_0x390932,_0x1d6328,_0x371bbe){return _0x5ec3b8(_0x390932,_0x1d6328,_0x371bbe);}},_0x54c152=await _0x24d63d['jFtcP'](getEnabledHookContext,_0x549f03),_0x10af42=_0x54c152?.['sessionId']??null;let _0x46471f=!![];if(!_0x10af42){await _0x24d63d['SHrLu'](trackStop,_0x10af42,![],_0x46471f);return;}try{const _0x247247=_0x24d63d[_0x467d92(0x1df)](getSessionEntry,_0x10af42);if(!_0x247247){await _0x24d63d[_0x467d92(0x1ec)](trackStop,_0x10af42,!![],_0x46471f);return;}const _0x1619dd=await _0x24d63d['Fzyrn'](getToken),_0x321f0b='https://dashboard.ranger.net/features/'+_0x247247['featureId'];let _0x12e2e2=null,_0x14ea25=![],_0x4552dc=![];if(_0x1619dd)try{const _0x174cc2=await _0x24d63d['LEWAP'](getFeature,_0x247247['featureId']);_0x12e2e2=_0x174cc2[_0x467d92(0x1e2)]??null;const _0xc76d24=_0x174cc2['checklistItems']['filter'](_0x408d6f=>_0x408d6f['sessionId']===_0x12e2e2);_0x14ea25=_0xc76d24['some'](_0x3f9217=>_0x3f9217['status']!=='verified'&&_0x3f9217['status']!==_0x467d92(0x1e6)&&_0x3f9217['status']!==_0x467d92(0x1f2)&&_0x3f9217['status']!=='incomplete'),_0x4552dc=_0xc76d24[_0x467d92(0x1e7)](_0x93489b=>_0x93489b['status']===_0x467d92(0x1e0));}catch{}if(_0x24d63d[_0x467d92(0x1ea)](_0x1619dd,_0x12e2e2)&&_0x14ea25){if(!_0x4552dc&&shouldShowStopReminder(_0x10af42)){const _0x190a8b={'hookSpecificOutput':{'hookEventName':_0x24d63d[_0x467d92(0x1e8)],'additionalContext':_0x467d92(0x1f1)+_0x321f0b}};console[_0x467d92(0x1e4)](JSON['stringify'](_0x190a8b));}}if(_0x1619dd&&_0x12e2e2&&!_0x14ea25)try{await concludeSession(_0x247247[_0x467d92(0x1e3)],_0x12e2e2);}catch{}await trackStop(_0x10af42,!![],_0x46471f);return;}catch{await _0x24d63d['zZgIA'](trackStop,_0x10af42,!![],_0x46471f);return;}}async function trackStop(_0x311850,_0x30cf37,_0x2917cd){const _0x1f2a10=_0x2870,_0x4c14c7={'AVLeL':function(_0x128370,_0x531236){return _0x128370(_0x531236);},'PJxoQ':'hook:stop','wjITZ':function(_0x17b389,_0x210c93){return _0x17b389??_0x210c93;}};try{const _0x7837c5=_0x4c14c7['AVLeL'](createTelemetryCollector,_0x4c14c7['PJxoQ']);await _0x7837c5[_0x1f2a10(0x1ee)]({'sessionId':_0x4c14c7['wjITZ'](_0x311850,undefined),'hooksEnabled':_0x30cf37,'stopAllowed':_0x2917cd}),await _0x7837c5[_0x1f2a10(0x1e5)](_0x1f2a10(0x1eb));}catch{}}
1
+ (function(_0x42933b,_0x2f070b){const _0x285b64=_0x2957,_0x2d946d=_0x42933b();while(!![]){try{const _0x105c3c=parseInt(_0x285b64(0x1d7))/0x1+-parseInt(_0x285b64(0x1e0))/0x2+-parseInt(_0x285b64(0x1db))/0x3*(parseInt(_0x285b64(0x1d0))/0x4)+parseInt(_0x285b64(0x1d8))/0x5+parseInt(_0x285b64(0x1cc))/0x6*(parseInt(_0x285b64(0x1e5))/0x7)+-parseInt(_0x285b64(0x1d3))/0x8*(parseInt(_0x285b64(0x1de))/0x9)+-parseInt(_0x285b64(0x1dd))/0xa;if(_0x105c3c===_0x2f070b)break;else _0x2d946d['push'](_0x2d946d['shift']());}catch(_0xef6c11){_0x2d946d['push'](_0x2d946d['shift']());}}}(_0x4abe,0xb537d));function _0x4abe(){const _0x3a6cfe=['log','671334EVLhjl','6822745fpBULr','TXcUo','verification_in_progress','33nRvFqO','trackCommandStart','5888110wpyXqa','137088WqIMdh','success','1902354PZrycU','https://dashboard.ranger.net/features/','featureId','some','ymbLj','700DqHRZJ','86406oPhPgZ','trackCommandEnd','closed','verified','323304hfbYqH','currentSessionId','status','160cpWAki','RQxqq','incomplete'];_0x4abe=function(){return _0x3a6cfe;};return _0x4abe();}function _0x2957(_0xcb9c94,_0x41de55){_0xcb9c94=_0xcb9c94-0x1cc;const _0x4abe01=_0x4abe();let _0x2957eb=_0x4abe01[_0xcb9c94];return _0x2957eb;}import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x401cbe){const _0x572e7c=_0x2957,_0x56335f={'RQxqq':function(_0x3ba993,_0x1964e7){return _0x3ba993(_0x1964e7);},'TXcUo':function(_0x51bce6,_0x2c31df,_0x5af22e,_0x661633){return _0x51bce6(_0x2c31df,_0x5af22e,_0x661633);},'pcaJE':function(_0xbcd62e,_0x1cf808){return _0xbcd62e&&_0x1cf808;},'JnglM':function(_0x117812,_0x45749a){return _0x117812(_0x45749a);},'PWEyP':'Stop','fdWqY':function(_0x1b2519,_0x3baf9a,_0x13c3a0){return _0x1b2519(_0x3baf9a,_0x13c3a0);},'Ztduh':function(_0x197be9,_0x433107,_0x1c8ffe,_0x5b8311){return _0x197be9(_0x433107,_0x1c8ffe,_0x5b8311);}},_0x40e968=await _0x56335f[_0x572e7c(0x1d4)](getEnabledHookContext,_0x401cbe),_0x4b6f2b=_0x40e968?.['sessionId']??null;let _0x204c84=!![];if(!_0x4b6f2b){await _0x56335f[_0x572e7c(0x1d9)](trackStop,_0x4b6f2b,![],_0x204c84);return;}try{const _0x1ff603=getSessionEntry(_0x4b6f2b);if(!_0x1ff603){await _0x56335f[_0x572e7c(0x1d9)](trackStop,_0x4b6f2b,!![],_0x204c84);return;}const _0x5462c8=await getToken(),_0x498b86=_0x572e7c(0x1e1)+_0x1ff603[_0x572e7c(0x1e2)];let _0x2c113a=null,_0x4c0ca2=![],_0x37b2a2=![];if(_0x5462c8)try{const _0x4fd6fd=await getFeature(_0x1ff603[_0x572e7c(0x1e2)]);_0x2c113a=_0x4fd6fd[_0x572e7c(0x1d1)]??null;const _0x5ace08=_0x4fd6fd['checklistItems']['filter'](_0x5201c0=>_0x5201c0['sessionId']===_0x2c113a);_0x4c0ca2=_0x5ace08[_0x572e7c(0x1e3)](_0x58b3ec=>_0x58b3ec[_0x572e7c(0x1d2)]!==_0x572e7c(0x1cf)&&_0x58b3ec[_0x572e7c(0x1d2)]!=='blocked'&&_0x58b3ec['status']!==_0x572e7c(0x1ce)&&_0x58b3ec[_0x572e7c(0x1d2)]!==_0x572e7c(0x1d5)),_0x37b2a2=_0x5ace08['some'](_0x1099cd=>_0x1099cd[_0x572e7c(0x1d2)]===_0x572e7c(0x1da));}catch{}if(_0x56335f['pcaJE'](_0x5462c8,_0x2c113a)&&_0x4c0ca2){if(!_0x37b2a2&&_0x56335f['JnglM'](shouldShowStopReminder,_0x4b6f2b)){const _0x1f3bc0={'hookSpecificOutput':{'hookEventName':_0x56335f['PWEyP'],'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'+_0x498b86}};console[_0x572e7c(0x1d6)](JSON['stringify'](_0x1f3bc0));}}if(_0x5462c8&&_0x2c113a&&!_0x4c0ca2)try{await _0x56335f['fdWqY'](concludeSession,_0x1ff603['featureId'],_0x2c113a);}catch{}await trackStop(_0x4b6f2b,!![],_0x204c84);return;}catch{await _0x56335f['Ztduh'](trackStop,_0x4b6f2b,!![],_0x204c84);return;}}async function trackStop(_0x1c8b56,_0x615c28,_0x2cea28){const _0x29f4a6=_0x2957,_0x278ece={'ymbLj':function(_0x9909c0,_0x54d1f5){return _0x9909c0(_0x54d1f5);},'iHuru':function(_0x5eb575,_0x48a95b){return _0x5eb575??_0x48a95b;},'fYZZH':_0x29f4a6(0x1df)};try{const _0x32c3ea=_0x278ece[_0x29f4a6(0x1e4)](createTelemetryCollector,'hook:stop');await _0x32c3ea[_0x29f4a6(0x1dc)]({'sessionId':_0x278ece['iHuru'](_0x1c8b56,undefined),'hooksEnabled':_0x615c28,'stopAllowed':_0x2cea28}),await _0x32c3ea[_0x29f4a6(0x1cd)](_0x278ece['fYZZH']);}catch{}}
@@ -1 +1 @@
1
- (function(_0x50898f,_0x55a585){var _0x579e7a=_0x2ff6,_0xf8480b=_0x50898f();while(!![]){try{var _0x2c1629=-parseInt(_0x579e7a(0x1a1))/0x1*(-parseInt(_0x579e7a(0x19d))/0x2)+parseInt(_0x579e7a(0x1a0))/0x3*(-parseInt(_0x579e7a(0x1a3))/0x4)+-parseInt(_0x579e7a(0x1a5))/0x5*(parseInt(_0x579e7a(0x19e))/0x6)+parseInt(_0x579e7a(0x1a4))/0x7+-parseInt(_0x579e7a(0x19c))/0x8*(-parseInt(_0x579e7a(0x19f))/0x9)+parseInt(_0x579e7a(0x19a))/0xa*(-parseInt(_0x579e7a(0x19b))/0xb)+parseInt(_0x579e7a(0x1a2))/0xc;if(_0x2c1629===_0x55a585)break;else _0xf8480b['push'](_0xf8480b['shift']());}catch(_0x253bd1){_0xf8480b['push'](_0xf8480b['shift']());}}}(_0x2e92,0xd7769));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';function _0x2e92(){var _0xb421f3=['372sBqxHy','9rMtCMV','34512wKYaWY','1439qaQUuU','28402416ONxpWr','368EPQisV','1828666xjZGDI','129300mVjldg','1137540lUYSIp','22aZkiOJ','434432KdCePp','1514OLJkHR'];_0x2e92=function(){return _0xb421f3;};return _0x2e92();}function _0x2ff6(_0x4be0c5,_0x21b1e4){_0x4be0c5=_0x4be0c5-0x19a;var _0x2e929f=_0x2e92();var _0x2ff6ed=_0x2e929f[_0x4be0c5];return _0x2ff6ed;}export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ function _0x2bc1(_0x1e5076,_0x5ee116){_0x1e5076=_0x1e5076-0x17b;var _0x59840d=_0x5984();var _0x2bc15c=_0x59840d[_0x1e5076];return _0x2bc15c;}(function(_0x199100,_0x32fba4){var _0x5402d5=_0x2bc1,_0x296110=_0x199100();while(!![]){try{var _0x7a091a=parseInt(_0x5402d5(0x17f))/0x1*(parseInt(_0x5402d5(0x17b))/0x2)+-parseInt(_0x5402d5(0x180))/0x3+-parseInt(_0x5402d5(0x183))/0x4*(parseInt(_0x5402d5(0x17e))/0x5)+parseInt(_0x5402d5(0x184))/0x6+-parseInt(_0x5402d5(0x182))/0x7+parseInt(_0x5402d5(0x17c))/0x8*(-parseInt(_0x5402d5(0x17d))/0x9)+parseInt(_0x5402d5(0x181))/0xa;if(_0x7a091a===_0x32fba4)break;else _0x296110['push'](_0x296110['shift']());}catch(_0x22f979){_0x296110['push'](_0x296110['shift']());}}}(_0x5984,0x96d73));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';function _0x5984(){var _0x24b120=['2881572coLKBd','170318fwIRef','272mEGxHQ','109692ngRGbn','654245HNWnYW','13JPxLtS','1964094VAfnLY','20294860GihnhW','7097573JDTKsG','28erHUnj'];_0x5984=function(){return _0x24b120;};return _0x5984();}export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';