@ranger-testing/ranger-cli 3.0.1-alpha.476607f-31 → 3.0.1-alpha.4fcf7f7-33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -0
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/userApi.js +1 -1
  79. package/build/commands/utils/version.js +1 -1
  80. package/build/commands/verifyFeature.js +1 -1
  81. package/build/commands/verifyFeatureCli.js +1 -1
  82. package/build/commands/verifyFeatureNovaCli.js +1 -1
  83. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  84. package/package.json +1 -1
@@ -1 +1 @@
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
+ const _0x261711=_0x4841;(function(_0x19e987,_0x1787dc){const _0x4aef43=_0x4841,_0x15463b=_0x19e987();while(!![]){try{const _0xcca03d=parseInt(_0x4aef43(0x1f2))/0x1+parseInt(_0x4aef43(0x1e5))/0x2+-parseInt(_0x4aef43(0x252))/0x3*(parseInt(_0x4aef43(0x21b))/0x4)+parseInt(_0x4aef43(0x276))/0x5+-parseInt(_0x4aef43(0x296))/0x6*(-parseInt(_0x4aef43(0x247))/0x7)+-parseInt(_0x4aef43(0x255))/0x8+parseInt(_0x4aef43(0x273))/0x9*(-parseInt(_0x4aef43(0x232))/0xa);if(_0xcca03d===_0x1787dc)break;else _0x15463b['push'](_0x15463b['shift']());}catch(_0x2fe1fa){_0x15463b['push'](_0x15463b['shift']());}}}(_0x5204,0x4cb10));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x4fc0b6 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=_0x5e7aa9=>'\x1b[1m'+_0x5e7aa9+_0x261711(0x1fd);function getGitRepoUrl(){const _0x307b18=_0x261711,_0x550963={'pbrJT':function(_0x589133,_0x1b3f19,_0x1755c3){return _0x589133(_0x1b3f19,_0x1755c3);},'vwCdG':'git\x20remote\x20get-url\x20origin','apykW':'utf-8','MgJwh':'pipe','tVqbP':'github.com/'};try{const _0xbe7dce=_0x550963['pbrJT'](execSync,_0x550963['vwCdG'],{'encoding':_0x550963[_0x307b18(0x241)],'stdio':[_0x550963[_0x307b18(0x28f)],_0x307b18(0x290),_0x307b18(0x290)]})['trim']();return _0xbe7dce[_0x307b18(0x26f)](/\.git$/,'')[_0x307b18(0x26f)](/^git@github\.com:/,_0x550963['tVqbP'])[_0x307b18(0x26f)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0xb3ae5a=_0x261711,_0x352d22={'vbtaE':_0xb3ae5a(0x1eb),'fDuRa':_0xb3ae5a(0x21a)};try{return execSync(_0x352d22[_0xb3ae5a(0x1de)],{'encoding':_0x352d22[_0xb3ae5a(0x203)],'stdio':['pipe','pipe','pipe']})['trim']();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x1c7979=_0x261711,_0x4bde4a={'lYjCj':function(_0x11cc9d,_0x2f2f11,_0x5deaeb){return _0x11cc9d(_0x2f2f11,_0x5deaeb);},'CJSrl':'utf-8'},_0x1b585c=_0x4bde4a['lYjCj'](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x1b585c))return null;try{const _0xf738fc=await readFile(_0x1b585c,_0x4bde4a[_0x1c7979(0x200)]);return _0xf738fc[_0x1c7979(0x226)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x3e01f3){const _0x1fa0f8=_0x261711,_0xf29e42={'gVVLg':function(_0xd23cb8,_0x2a3d3c,_0x4c1ae6){return _0xd23cb8(_0x2a3d3c,_0x4c1ae6);},'HPUPO':function(_0x1c5794,_0x50e32c,_0x13a796,_0x3560ae){return _0x1c5794(_0x50e32c,_0x13a796,_0x3560ae);}},_0x26e645=getRangerDir(),_0x516a64=join(_0x26e645,ACTIVE_FEATURE_FILE);!existsSync(_0x26e645)&&await _0xf29e42[_0x1fa0f8(0x282)](mkdir,_0x26e645,{'recursive':!![]}),await _0xf29e42['HPUPO'](writeFile,_0x516a64,_0x3e01f3,_0x1fa0f8(0x21a));}function getProgressDisplay(_0x10e379){const _0x3b2552=_0x261711,_0x3c113c={'aaVdf':function(_0x4ceef0,_0x4ba67f){return _0x4ceef0+_0x4ba67f;},'ZYtWm':function(_0x45439a,_0x29715d){return _0x45439a+_0x29715d;},'XhPia':function(_0x3a0cf7,_0x44a8bf){return _0x3a0cf7>_0x44a8bf;},'IMmDD':function(_0x4d9937,_0x1de555){return _0x4d9937>_0x1de555;}},_0x3a9de7=_0x10e379['verifiedItems']||0x0,_0x2f01d6=_0x10e379[_0x3b2552(0x20b)]||0x0,_0x566028=_0x10e379[_0x3b2552(0x22b)]||0x0,_0x178fb5=_0x10e379[_0x3b2552(0x283)]||0x0,_0x4b8c9b=_0x10e379[_0x3b2552(0x224)]||0x0,_0x13dfc4=_0x3c113c['aaVdf'](_0x3c113c['ZYtWm'](_0x3c113c['ZYtWm'](_0x3a9de7,_0x2f01d6),_0x566028),_0x178fb5)+_0x4b8c9b;if(_0x13dfc4===0x0)return'-';const _0x4e5053=0xa,_0x54037a=Math['round'](_0x3a9de7/_0x13dfc4*_0x4e5053),_0x52c29f=_0x3c113c[_0x3b2552(0x27b)]('█'[_0x3b2552(0x216)](_0x54037a),'░'['repeat'](_0x4e5053-_0x54037a)),_0x5e88f5=[];if(_0x566028>0x0)_0x5e88f5[_0x3b2552(0x24f)](_0x566028+_0x3b2552(0x23a));if(_0x3c113c['XhPia'](_0x178fb5,0x0))_0x5e88f5[_0x3b2552(0x24f)](_0x178fb5+'\x20incomplete');if(_0x2f01d6>0x0)_0x5e88f5['push'](_0x2f01d6+'\x20in\x20progress');const _0x55644a=_0x3c113c['IMmDD'](_0x5e88f5[_0x3b2552(0x1cc)],0x0)?'\x20('+_0x5e88f5['join'](',\x20')+')':'';return _0x52c29f+'\x20'+_0x3a9de7+'/'+_0x13dfc4+_0x3b2552(0x1c9)+_0x55644a;}function getCurrentSessionItems(_0x79a73,_0x50d690){const _0x1b8d4b=_0x261711;if(!_0x79a73['currentSessionId'])return _0x50d690[_0x1b8d4b(0x205)](_0x16e7d5=>!_0x16e7d5[_0x1b8d4b(0x207)]);return _0x50d690[_0x1b8d4b(0x205)](_0x66575e=>_0x66575e[_0x1b8d4b(0x207)]===_0x79a73[_0x1b8d4b(0x1da)]||!_0x66575e['sessionId']);}function displayFeature(_0x1561e8,_0x52c6cb){const _0x32b2b0=_0x261711,_0x3de81c={'ECQQc':_0x32b2b0(0x22d),'sjIHj':function(_0x3534f5,_0x267e54){return _0x3534f5<_0x267e54;},'sCvNI':function(_0x497054,_0x250013){return _0x497054===_0x250013;},'xslCv':function(_0x5bf223,_0x4e6755){return _0x5bf223===_0x4e6755;},'jsqar':'incomplete','VBonR':'blocked','LrtVK':'closed','vPmtX':function(_0x3b184c,_0x2e7415){return _0x3b184c===_0x2e7415;},'GpkrD':'verification_in_progress','bReAx':'\x20[has\x20reviewer\x20feedback]','vHjHf':function(_0x127023,_0x34a671){return _0x127023+_0x34a671;},'vKLRq':'approved'};console['log']('\x0a'+_0x1561e8['name']+'\x20('+_0x1561e8['dashboardUrl']+')');_0x1561e8['stats']&&console['log'](_0x32b2b0(0x1e2)+getProgressDisplay(_0x1561e8['stats']));_0x1561e8[_0x32b2b0(0x1c1)]&&console['log']('\x20\x20\x20Description:\x20'+_0x1561e8[_0x32b2b0(0x1c1)]);_0x1561e8[_0x32b2b0(0x24d)]&&console[_0x32b2b0(0x240)](_0x32b2b0(0x21d)+_0x1561e8['gitRepoUrl']);_0x1561e8[_0x32b2b0(0x291)]&&console[_0x32b2b0(0x240)](_0x32b2b0(0x1cf)+_0x1561e8[_0x32b2b0(0x291)]);console[_0x32b2b0(0x240)](_0x32b2b0(0x258)+new Date(_0x1561e8[_0x32b2b0(0x20a)])['toLocaleString']());_0x1561e8[_0x32b2b0(0x236)]&&console[_0x32b2b0(0x240)](_0x32b2b0(0x1c6)+new Date(_0x1561e8['completedAt'])['toLocaleString']());if(_0x52c6cb&&_0x52c6cb['length']>0x0){console[_0x32b2b0(0x240)](_0x3de81c[_0x32b2b0(0x1d2)]);for(let _0x1cb114=0x0;_0x3de81c[_0x32b2b0(0x1e4)](_0x1cb114,_0x52c6cb[_0x32b2b0(0x1cc)]);_0x1cb114++){const _0x30db1d=_0x52c6cb[_0x1cb114];let _0x2666a2;if(_0x30db1d['status']===_0x32b2b0(0x264)&&_0x3de81c[_0x32b2b0(0x246)](_0x30db1d[_0x32b2b0(0x1f5)],_0x32b2b0(0x267)))_0x2666a2='✅';else{if(_0x3de81c[_0x32b2b0(0x222)](_0x30db1d['status'],'verified'))_0x2666a2='🟢';else{if(_0x30db1d[_0x32b2b0(0x1e1)]===_0x3de81c['jsqar'])_0x2666a2='🟠';else{if(_0x30db1d[_0x32b2b0(0x1e1)]===_0x3de81c['VBonR'])_0x2666a2='🛑';else{if(_0x3de81c['sCvNI'](_0x30db1d['status'],_0x3de81c['LrtVK']))_0x2666a2='⛔';else _0x3de81c[_0x32b2b0(0x288)](_0x30db1d['status'],_0x3de81c[_0x32b2b0(0x274)])?_0x2666a2='⏳':_0x2666a2='⬜';}}}}const _0x3010eb=_0x30db1d[_0x32b2b0(0x20f)]>0x1?_0x32b2b0(0x249)+_0x30db1d[_0x32b2b0(0x20f)]+')':'',_0x4eb304=_0x30db1d[_0x32b2b0(0x20f)]>0x1&&_0x30db1d['parentItemId']&&_0x30db1d['status']!==_0x32b2b0(0x264)&&_0x30db1d['status']!=='verified'?_0x3de81c[_0x32b2b0(0x1d6)]:'';console['log']('\x20\x20\x20'+_0x3de81c[_0x32b2b0(0x1fb)](_0x1cb114,0x1)+'.\x20'+_0x2666a2+'\x20'+_0x30db1d[_0x32b2b0(0x1c1)]+_0x3010eb+_0x4eb304);_0x30db1d[_0x32b2b0(0x1e1)]===_0x32b2b0(0x1f0)&&_0x30db1d['blockedReason']&&console[_0x32b2b0(0x240)](_0x32b2b0(0x24a)+_0x30db1d['blockedReason']);_0x30db1d[_0x32b2b0(0x1e1)]===_0x3de81c['jsqar']&&_0x30db1d['incompleteReason']&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x30db1d['incompleteReason']);if(_0x30db1d[_0x32b2b0(0x1e1)]===_0x3de81c['LrtVK']&&_0x30db1d['terminalReason']===_0x3de81c['vKLRq'])console[_0x32b2b0(0x240)]('\x20\x20\x20\x20\x20\x20Approved');else _0x3de81c['vPmtX'](_0x30db1d['status'],_0x32b2b0(0x264))&&_0x30db1d['canceledReason']&&console['log'](_0x32b2b0(0x1df)+_0x30db1d[_0x32b2b0(0x237)]);}}}export async function featureCreate(_0x5999d3,_0x350333){const _0x3e96bb=_0x261711,_0x307bc9={'LXNBm':function(_0x54ecea,_0x582099){return _0x54ecea===_0x582099;},'VvNVo':function(_0x134eaf,_0x279877){return _0x134eaf(_0x279877);},'rszJV':_0x3e96bb(0x228),'tvNdI':function(_0xf4f5cd,_0x5f0069){return _0xf4f5cd(_0x5f0069);},'UAUjs':function(_0x24b03d,_0x5255f4){return _0x24b03d(_0x5255f4);},'RaQKJ':function(_0x4ee1f5,_0x2c3bfa,_0x2e035c){return _0x4ee1f5(_0x2c3bfa,_0x2e035c);}},{envNames:_0x5e7459}=await getEnvNames();if(_0x5e7459[_0x3e96bb(0x1cc)]===0x0&&!process[_0x3e96bb(0x238)][_0x3e96bb(0x28a)]){let _0x50fd58=0x0;try{_0x50fd58=(await listCloudProfiles())[_0x3e96bb(0x1cc)];}catch{_0x50fd58=0x1;}_0x307bc9[_0x3e96bb(0x269)](_0x50fd58,0x0)&&console[_0x3e96bb(0x268)]('\x0a'+_0x307bc9[_0x3e96bb(0x209)](formatProfileRequiredMessage,_0x1c25ac=>bold(_0x1c25ac)));}const _0x30724f=_0x350333[_0x3e96bb(0x20e)]?_0x350333[_0x3e96bb(0x20e)]['map'](_0x380ee9=>_0x380ee9['trim']()):[],_0x50dc46=getGitRepoUrl(),_0x2a51cc=getGitBranch();console['log'](_0x307bc9[_0x3e96bb(0x26c)]);const _0x4c33b2=await createFeature({'name':_0x5999d3,'description':_0x350333['description'],'checklist':_0x30724f,'gitRepoUrl':_0x50dc46,'gitBranch':_0x2a51cc});await _0x307bc9['tvNdI'](setActiveFeatureId,_0x4c33b2['id']),await _0x307bc9[_0x3e96bb(0x257)](tryStartCurrentSession,_0x4c33b2['id']);const _0x4f0068=process['env'][_0x3e96bb(0x28d)];_0x4f0068&&registerSession(_0x4f0068,_0x4c33b2['id']),console[_0x3e96bb(0x240)](_0x3e96bb(0x259)+_0x4c33b2['id']),_0x307bc9['RaQKJ'](displayFeature,_0x4c33b2,_0x4c33b2['checklistItems']),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x398742){const _0x4f1d1c=_0x261711,_0x3e8408={'TUXik':function(_0x5ae751){return _0x5ae751();},'BzHCx':'\x0aNo\x20feature\x20reviews\x20found.','cJFHM':function(_0x51a6b5,_0x5e35d7){return _0x51a6b5>_0x5e35d7;},'MkzAz':function(_0x4aa36b,_0x5ab98e){return _0x4aa36b+_0x5ab98e;},'UOiSv':function(_0x32ca64,_0x2cd71e){return _0x32ca64<_0x2cd71e;},'MxMCQ':_0x4f1d1c(0x23d)},_0x2ee8e2={'limit':_0x398742['limit']??0xa,'offset':_0x398742['offset']??0x0,'includeDeleted':_0x398742['includeDeleted']};_0x398742['currentBranch']&&(_0x2ee8e2['gitRepoUrl']=getGitRepoUrl(),_0x2ee8e2[_0x4f1d1c(0x291)]=_0x3e8408['TUXik'](getGitBranch));const _0x1b6622=await listFeatures(_0x2ee8e2);if(_0x1b6622['items'][_0x4f1d1c(0x1cc)]===0x0){console['log'](_0x3e8408['BzHCx']);return;}const _0x1f552b=_0x3e8408[_0x4f1d1c(0x24c)](_0x1b6622[_0x4f1d1c(0x298)],_0x1b6622[_0x4f1d1c(0x272)]['length'])?'Showing\x20'+_0x1b6622['items'][_0x4f1d1c(0x1cc)]+'\x20of\x20'+_0x1b6622[_0x4f1d1c(0x298)]:_0x1b6622[_0x4f1d1c(0x298)]+'\x20feature\x20review(s)\x20found';console[_0x4f1d1c(0x240)]('\x0a'+_0x1f552b+':\x0a');for(const _0x1a7c50 of _0x1b6622['items']){console['log'](''+_0x1a7c50['name']),console['log'](_0x4f1d1c(0x20c)+_0x1a7c50['id']),_0x1a7c50['stats']&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x1a7c50['stats'])),_0x1a7c50['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x1a7c50[_0x4f1d1c(0x291)]),console[_0x4f1d1c(0x240)](_0x4f1d1c(0x258)+new Date(_0x1a7c50['createdAt'])['toLocaleDateString']()),console['log']('');}const _0x5d37ca=_0x2ee8e2['limit']??0xa,_0x5d33f5=_0x3e8408[_0x4f1d1c(0x1d1)](_0x2ee8e2[_0x4f1d1c(0x27c)]??0x0,_0x1b6622[_0x4f1d1c(0x272)][_0x4f1d1c(0x1cc)]);if(_0x3e8408[_0x4f1d1c(0x27d)](_0x5d33f5,_0x1b6622[_0x4f1d1c(0x298)])){const _0x11dbb4=_0x5d37ca!==0xa?_0x4f1d1c(0x1ca)+_0x5d37ca:'',_0xeffe7e=_0x398742['currentBranch']?_0x3e8408[_0x4f1d1c(0x26d)]:'',_0x2ac9d2=_0x398742[_0x4f1d1c(0x1c4)]?_0x4f1d1c(0x271):'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x5d33f5+_0x11dbb4+_0xeffe7e+_0x2ac9d2);}}export async function featureShow(_0x2f1c54){const _0x3c5e05=_0x261711,_0xca35e2=_0x2f1c54||await getActiveFeatureId();if(!_0xca35e2)throw new Error(_0x3c5e05(0x1ec));const _0x576da4=await getFeature(_0xca35e2);displayFeature(_0x576da4,_0x576da4[_0x3c5e05(0x211)]);}export async function featureResume(_0x354565){const _0x2501f1=_0x261711,_0x1c945d={'Yguxg':function(_0x17743a,_0x47d5d9){return _0x17743a(_0x47d5d9);},'zgYGg':function(_0x2220da,_0xf2e196){return _0x2220da(_0xf2e196);},'elIDb':function(_0x3eaa24,_0x57f1a7){return _0x3eaa24!==_0x57f1a7;},'RaUNa':function(_0x18587b,_0x2b9d95,_0x3ff984){return _0x18587b(_0x2b9d95,_0x3ff984);},'vvSAr':function(_0x280c94,_0x505073){return _0x280c94(_0x505073);},'shlHc':function(_0x16d98d,_0x302ae5,_0x55e972){return _0x16d98d(_0x302ae5,_0x55e972);},'FZmQr':function(_0x20aa32,_0x588688){return _0x20aa32&&_0x588688;},'Bjmlr':function(_0x29ef6e,_0x234803){return _0x29ef6e||_0x234803;},'DaGbs':'any','PiWUJ':function(_0x2e61b9,_0x530c5f){return _0x2e61b9===_0x530c5f;},'yFmWX':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','vRCTn':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','eVsbN':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','toVtI':function(_0x31f743,_0x3b21ce){return _0x31f743!==_0x3b21ce;},'sOCkZ':function(_0x5834cf,_0x5a7d5a){return _0x5834cf(_0x5a7d5a);}};if(_0x354565){const _0x372e06=await _0x1c945d['Yguxg'](getFeature,_0x354565);await _0x1c945d[_0x2501f1(0x21f)](setActiveFeatureId,_0x372e06['id']);const _0x386a0f=getGitBranch();_0x386a0f&&_0x1c945d['elIDb'](_0x386a0f,_0x372e06[_0x2501f1(0x291)])&&(await _0x1c945d[_0x2501f1(0x1cb)](updateFeature,_0x372e06['id'],{'gitBranch':_0x386a0f}),console[_0x2501f1(0x240)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x386a0f));console[_0x2501f1(0x240)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x372e06[_0x2501f1(0x262)]+'\x20('+_0x372e06['id']+')'),await _0x1c945d['vvSAr'](tryStartCurrentSession,_0x372e06['id']);const _0xc692bd=process['env'][_0x2501f1(0x28d)];_0xc692bd&&registerSession(_0xc692bd,_0x372e06['id']);_0x1c945d[_0x2501f1(0x202)](displayFeature,_0x372e06,_0x372e06['checklistItems']),await printFeedbackNudge(_0x372e06['id']);return;}const _0x3660e4=getGitRepoUrl(),_0x10b83b=getGitBranch();if(_0x1c945d['FZmQr'](!_0x3660e4,!_0x10b83b))throw new Error('Not\x20in\x20a\x20git\x20repository.');console['log'](_0x2501f1(0x1f1)+_0x1c945d['Bjmlr'](_0x3660e4,_0x1c945d['DaGbs'])+'\x20/\x20'+_0x1c945d['Bjmlr'](_0x10b83b,_0x1c945d[_0x2501f1(0x284)])+'...');const _0x37296f=await listFeatures({'gitRepoUrl':_0x3660e4,'gitBranch':_0x10b83b}),_0x2749af=_0x37296f['items']['filter'](_0x5d9a5f=>_0x5d9a5f['status']?_0x5d9a5f[_0x2501f1(0x1e1)]!==_0x2501f1(0x1d9):!_0x5d9a5f['completedAt']);if(_0x1c945d['PiWUJ'](_0x2749af['length'],0x0)){console[_0x2501f1(0x240)](_0x1c945d['yFmWX']),console['log'](_0x1c945d[_0x2501f1(0x1fc)]);return;}let _0x2a2048;if(_0x1c945d[_0x2501f1(0x204)](_0x2749af[_0x2501f1(0x1cc)],0x1))_0x2a2048=_0x2749af[0x0];else{const _0x1956d7=process['stdin'][_0x2501f1(0x293)]&&process[_0x2501f1(0x266)]['isTTY'];if(!_0x1956d7){console['log']('\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:');for(const _0x2a6fe2 of _0x2749af){console[_0x2501f1(0x240)]('\x20\x20'+_0x2a6fe2['name']),console['log']('\x20\x20\x20\x20\x20ID:\x20'+_0x2a6fe2['id']),_0x2a6fe2[_0x2501f1(0x1ea)]&&console[_0x2501f1(0x240)](_0x2501f1(0x1c8)+getProgressDisplay(_0x2a6fe2[_0x2501f1(0x1ea)])),_0x2a6fe2[_0x2501f1(0x291)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x2a6fe2[_0x2501f1(0x291)]);}throw new Error(_0x2501f1(0x1c3));}const {selected:_0x21c982}=await _0x4fc0b6['prompt']([{'type':_0x2501f1(0x265),'name':'selected','message':_0x1c945d[_0x2501f1(0x233)],'choices':_0x2749af[_0x2501f1(0x1dc)](_0x2f90d7=>({'name':_0x2f90d7[_0x2501f1(0x262)]+'\x20('+_0x2f90d7['id']+')','value':_0x2f90d7['id']}))}]);_0x2a2048=_0x2749af['find'](_0x254187=>_0x254187['id']===_0x21c982);}await setActiveFeatureId(_0x2a2048['id']);_0x10b83b&&_0x1c945d[_0x2501f1(0x1fa)](_0x10b83b,_0x2a2048['gitBranch'])&&(await _0x1c945d['shlHc'](updateFeature,_0x2a2048['id'],{'gitBranch':_0x10b83b}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x10b83b));console['log'](_0x2501f1(0x244)+_0x2a2048[_0x2501f1(0x262)]+'\x20('+_0x2a2048['id']+')'),await _0x1c945d[_0x2501f1(0x27f)](tryStartCurrentSession,_0x2a2048['id']);const _0x50aed8=await _0x1c945d[_0x2501f1(0x27f)](getFeature,_0x2a2048['id']),_0x9e859b=process['env'][_0x2501f1(0x28d)];_0x9e859b&&registerSession(_0x9e859b,_0x50aed8['id']),displayFeature(_0x50aed8,_0x50aed8[_0x2501f1(0x211)]),await printFeedbackNudge(_0x50aed8['id']);}async function printFeedbackNudge(_0x2107a7){const _0x4c6d2=_0x261711,_0x3d0e7c={'eyoVD':function(_0x33f63f,_0x1ee578,_0xafbd4e){return _0x33f63f(_0x1ee578,_0xafbd4e);},'bHMTg':'\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'};try{const {items:_0x3cd8e5}=await getActionItems(_0x2107a7);let _0x27e0b5=0x0,_0x437414=0x0;for(const _0x54fd62 of _0x3cd8e5){const _0x2dc38f=await _0x3d0e7c['eyoVD'](getItemFeedback,_0x2107a7,_0x54fd62['id']);_0x2dc38f['unaddressedComments']['length']>0x0&&(_0x27e0b5+=_0x2dc38f['unaddressedComments']['length'],_0x437414++);}_0x27e0b5>0x0&&(console[_0x4c6d2(0x240)](_0x4c6d2(0x208)+_0x27e0b5+_0x4c6d2(0x21c)+_0x437414+_0x4c6d2(0x275)),console['log'](_0x3d0e7c[_0x4c6d2(0x256)]));}catch{}}async function tryStartCurrentSession(_0x54dd14){const _0x3ad5bd=_0x261711,_0xde2c48={'iFxZT':function(_0x5d456f,_0x38bd8e){return _0x5d456f(_0x38bd8e);},'nLrJd':function(_0x4a6129,_0x471051,_0x3fb3c9){return _0x4a6129(_0x471051,_0x3fb3c9);}};try{const {sessions:_0x23e353}=await _0xde2c48[_0x3ad5bd(0x260)](listFeatureSessions,_0x54dd14),_0x8222a2=_0x23e353[_0x3ad5bd(0x1ce)](_0x1f9b56=>_0x1f9b56[_0x3ad5bd(0x1e1)]==='ready');_0x8222a2&&(await _0xde2c48['nLrJd'](startSession,_0x54dd14,_0x8222a2['id']),console['log'](_0x3ad5bd(0x206)+_0x8222a2['iteration']));}catch{}}function _0x4841(_0x5e34e8,_0x28b0c2){_0x5e34e8=_0x5e34e8-0x1c0;const _0x520439=_0x5204();let _0x484158=_0x520439[_0x5e34e8];return _0x484158;}export async function featureReport(_0x92489e,_0x378b84){const _0x30109f=_0x261711,_0x1a1263={'DFqyF':'\x0aGenerating\x20report...','rhMJa':function(_0x4191a3,_0x5f1627,_0x34ed9b){return _0x4191a3(_0x5f1627,_0x34ed9b);},'zhXci':function(_0x250115,_0x311a92,_0x3c72bf,_0x195675){return _0x250115(_0x311a92,_0x3c72bf,_0x195675);},'jxqEx':function(_0x1fc6ec){return _0x1fc6ec();},'hwXxe':'reports','kKyCK':function(_0x5e6347,_0x2835b7){return _0x5e6347(_0x2835b7);},'loXnk':'utf-8'},_0x3b209b=_0x92489e||await getActiveFeatureId();if(!_0x3b209b)throw new Error(_0x30109f(0x26a));console['log'](_0x1a1263['DFqyF']);const _0x5f45c9=await _0x1a1263[_0x30109f(0x21e)](getFeatureReportMarkdown,_0x3b209b,{'style':_0x378b84[_0x30109f(0x280)]}),_0x34bb5c=_0x378b84[_0x30109f(0x201)]||_0x1a1263['zhXci'](join,_0x1a1263['jxqEx'](getRangerDir),_0x1a1263['hwXxe'],_0x3b209b+'.md'),_0x314ccb=join(_0x34bb5c,'..');!_0x1a1263[_0x30109f(0x1fe)](existsSync,_0x314ccb)&&await mkdir(_0x314ccb,{'recursive':!![]}),await _0x1a1263['zhXci'](writeFile,_0x34bb5c,_0x5f45c9,_0x1a1263['loXnk']),console['log'](_0x30109f(0x1f6)+_0x34bb5c);}function getScenarioResult(_0x310765){const _0x569040=_0x261711,_0x41d9b4={'LYiFa':_0x569040(0x264),'MwIRP':_0x569040(0x287)};if(_0x310765[_0x569040(0x1e1)]===_0x41d9b4[_0x569040(0x263)])return _0x310765[_0x569040(0x1f5)]??_0x569040(0x264);if(_0x310765[_0x569040(0x1e1)]==='verification_in_progress')return _0x41d9b4[_0x569040(0x1ee)];return _0x310765[_0x569040(0x1e1)];}function _0x5204(){const _0x7f7f0e=['NDQtI','24okMvpL','after','totalCount','content',':\x20\x22','description','Cannot\x20conclude\x20session\x20with\x20status:\x20','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','includeDeleted','lMfNr','\x20\x20\x20Completed:\x20','pop','\x20\x20\x20\x20\x20Progress:\x20','\x20verified','\x20--limit\x20','RaUNa','length','toLocaleString','find','\x20\x20\x20Branch:\x20','get','MkzAz','ECQQc','assetUrl','zuKHf','PXiLu','bReAx','assets','\x20\x20Expected\x20flow:','verified','currentSessionId','AAdvW','map','\x0a✅\x20Session\x20is\x20already\x20completed.','vbtaE','\x20\x20\x20\x20\x20\x20Cancelled:\x20','.\x20Feature\x20review\x20has\x20','status','\x20\x20\x20Progress:\x20','scenario','sjIHj','240168WdCUYN','split','coordinates','feedback-images','iteration','stats','git\x20rev-parse\x20--abbrev-ref\x20HEAD','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','MrYIJ','MwIRP','xbSWk','blocked','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','116102SarptJ','write','koNYs','terminalReason','\x0a✅\x20Report\x20generated:\x20','screenshot','HQjCU','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','toVtI','vHjHf','vRCTn','\x1b[0m','kKyCK','isInteger','CJSrl','output','shlHc','fDuRa','PiWUJ','filter','\x20\x20\x20▶️\x20Started\x20session\x20','sessionId','\x0a⚠️\x20\x20','VvNVo','createdAt','verificationInProgressItems','\x20\x20\x20ID:\x20','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','scenarios','version','isKeyStep','checklistItems','hZbxb','YSVus','\x20scenarios.','\x20unaddressed\x20comment(s)','repeat','slice','storage','en-US','utf-8','1116188MNBlQR','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','\x20\x20\x20Repository:\x20','rhMJa','zgYGg','EGwtk','psTYh','xslCv','\x0a✅\x20Restored\x20feature\x20review:\x20','pendingItems','flEBX','trim','json','\x0aCreating\x20feature\x20review...','RTvOd','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','blockedItems','incompleteReason','\x0a\x20\x20\x20Scenarios:','spatial','TBmCQ','trimEnd','short','33910YPegtI','eVsbN','canonicalFlow','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','completedAt','canceledReason','env','linkedSession','\x20blocked','toLocaleDateString','authorName','\x20--current-branch','\x20\x20\x20\x20','all','log','apykW','error','latestReview','\x0a✅\x20Resumed\x20feature\x20review:\x20','rVzLX','sCvNI','1049314FlzIxo','toFixed','\x20(v','\x20\x20\x20\x20\x20\x20Blocked:\x20','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','cJFHM','gitRepoUrl','ZtPmZ','push','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','Scenario\x20','3EOyFnW','Qaewj','\x20—\x20no\x20comments','141376OKSpXa','bHMTg','UAUjs','\x20\x20\x20Created:\x20','\x0a✅\x20Feature\x20review\x20created:\x20','sbkwE','/artifacts/','textContent','qbSRI','\x0aAvailable\x20scenarios:','notes','iFxZT','\x20\x20\x20Status:\x20','name','LYiFa','closed','list','stdout','approved','warn','LXNBm','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Step\x20','rszJV','MxMCQ','exit','replace','):\x20\x22','\x20--include-deleted','items','666kputZn','GpkrD','\x20scenario(s).','129935ArMnyP','assetType','type','yCIeu','domRef','aaVdf','offset','UOiSv','completed','sOCkZ','style','jLVLe','gVVLg','incompleteItems','DaGbs','excludeScenarios','stepName','in_progress','vPmtX','join','RANGER_TEST_USERNAME','\x0a✅\x20Session\x20','No\x20scenarios\x20found.','CLAUDE_SESSION_ID','screenshotUrls','MgJwh','pipe','gitBranch','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','isTTY','jYVjC'];_0x5204=function(){return _0x7f7f0e;};return _0x5204();}function getScenarioRationale(_0x4f21ee,_0x24ea1a){const _0x4a77ec=_0x261711,_0x3629ad='0|1|4|3|5|2'['split']('|');let _0x3130ca=0x0;while(!![]){switch(_0x3629ad[_0x3130ca++]){case'0':if(_0x24ea1a)return _0x24ea1a;continue;case'1':if(_0x4f21ee['blockedReason'])return _0x4f21ee['blockedReason'];continue;case'2':return null;case'3':if(_0x4f21ee[_0x4a77ec(0x237)])return _0x4f21ee[_0x4a77ec(0x237)];continue;case'4':if(_0x4f21ee[_0x4a77ec(0x22c)])return _0x4f21ee['incompleteReason'];continue;case'5':if(_0x4f21ee[_0x4a77ec(0x25f)])return _0x4f21ee[_0x4a77ec(0x25f)];continue;}break;}}export async function featureReportPrDescription(_0x5a718a,_0x2200a0){const _0x1c9488=_0x261711,_0x313764={'qbSRI':function(_0x5418e8,_0x584a1d){return _0x5418e8(_0x584a1d);},'NDQtI':function(_0x2501d5,_0x34504b,_0x24e826){return _0x2501d5(_0x34504b,_0x24e826);},'XBkjP':function(_0x888f84,_0x36b118){return _0x888f84===_0x36b118;},'oIIwE':function(_0x108c74,_0x46ed3d){return _0x108c74>_0x46ed3d;},'HQjCU':_0x1c9488(0x25e),'RLawi':function(_0x1d6f4d,_0x11c57a){return _0x1d6f4d+_0x11c57a;}},_0xe91be5=_0x5a718a||await getActiveFeatureId();if(!_0xe91be5)throw new Error(_0x1c9488(0x26a));const _0x908cee=await _0x313764[_0x1c9488(0x25d)](getFeature,_0xe91be5),_0x4391d9=_0x908cee['checklistItems']||[],_0x30307f=_0x313764[_0x1c9488(0x295)](getCurrentSessionItems,_0x908cee,_0x4391d9);_0x313764['XBkjP'](_0x30307f[_0x1c9488(0x1cc)],0x0)&&(console['error'](_0x1c9488(0x24b)),process[_0x1c9488(0x26e)](0x1));const _0x1a65e2=_0x2200a0[_0x1c9488(0x285)]??[],_0xe34a57=_0x1a65e2[_0x1c9488(0x205)](_0x4c9a0b=>!Number[_0x1c9488(0x1ff)](_0x4c9a0b)||_0x4c9a0b<0x1||_0x4c9a0b>_0x30307f[_0x1c9488(0x1cc)]);if(_0x313764['oIIwE'](_0xe34a57['length'],0x0)){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0xe34a57[_0x1c9488(0x289)](',\x20')),console['log'](_0x313764[_0x1c9488(0x1f8)]);for(let _0x3cca55=0x0;_0x3cca55<_0x30307f[_0x1c9488(0x1cc)];_0x3cca55++){console[_0x1c9488(0x240)]('\x20\x20'+_0x313764['RLawi'](_0x3cca55,0x1)+'.\x20'+_0x30307f[_0x3cca55]['description']);}process['exit'](0x1);}const _0x15459c=new Set(_0x1a65e2[_0x1c9488(0x1dc)](_0x1aa5a5=>_0x1aa5a5-0x1)),_0x425311=_0x30307f[_0x1c9488(0x205)]((_0x32e325,_0x133088)=>!_0x15459c['has'](_0x133088));_0x425311['length']===0x0&&(console['error'](_0x1c9488(0x22a)),process[_0x1c9488(0x26e)](0x1));if(_0x2200a0[_0x1c9488(0x227)])await outputJsonReport(_0xe91be5,_0x908cee,_0x425311);else{const _0x4e1a8c=await getFeatureReportMarkdown(_0xe91be5,{'itemIds':_0x425311['map'](_0x1d039d=>_0x1d039d['id'])});process['stdout'][_0x1c9488(0x1f3)](_0x4e1a8c[_0x1c9488(0x230)]()+'\x0a');}}async function outputJsonReport(_0x47ae49,_0x25adf7,_0x2644ba){const _0x3cb571=_0x261711,_0x24ca87={'jFeGk':function(_0x503438,_0x4a32cb){return _0x503438(_0x4a32cb);},'koNYs':function(_0xb86838,_0x5eb590){return _0xb86838+_0x5eb590;}},_0x3cc52a=getApiBaseUrl(),_0x281a23=await _0x24ca87['jFeGk'](getFeatureReport,_0x47ae49),_0x2b0da3=new Map(_0x281a23['checklistItems']['map'](_0x4273d4=>[_0x4273d4['id'],_0x4273d4])),_0x52c370=await Promise[_0x3cb571(0x23f)](_0x2644ba[_0x3cb571(0x1dc)](async _0xa72910=>{const _0xc24868=_0x3cb571,_0x812977=_0x2b0da3[_0xc24868(0x1d0)](_0xa72910['id']),_0x48133b=_0x812977?.[_0xc24868(0x239)]??null;let _0x1487fc=[];if(_0xa72910['browserSessionId'])try{const {steps:_0x1ed9af}=await _0x24ca87['jFeGk'](getBrowserSessionSteps,_0xa72910['browserSessionId']);_0x1ed9af['length']>0x0&&(_0x1487fc=_0x1ed9af[_0xc24868(0x1dc)](_0x38e9c7=>{const _0x1e0a8f=_0xc24868,_0x1977a4=_0x38e9c7['assets'][_0x1e0a8f(0x1ce)](_0x70686d=>_0x70686d[_0x1e0a8f(0x277)]===_0x1e0a8f(0x1f7)&&_0x70686d['timing']===_0x1e0a8f(0x297))??_0x38e9c7[_0x1e0a8f(0x1d7)]['find'](_0x20543e=>_0x20543e[_0x1e0a8f(0x277)]===_0x1e0a8f(0x1f7));let _0x2eca25=null,_0x295d37=null;if(_0x1977a4){const _0x855e2e=_0x1977a4[_0x1e0a8f(0x218)]['location']['split']('/')[_0x1e0a8f(0x1c7)]();_0x2eca25=_0x3cc52a+'/api/v1/mcp/browser-sessions/'+_0xa72910['browserSessionId']+_0x1e0a8f(0x25b)+_0x855e2e,_0x855e2e&&(_0x295d37=_0x855e2e[_0x1e0a8f(0x26f)](/\.\w+$/,'')[_0x1e0a8f(0x26f)](/^(key_)?\d+_/,'')[_0x1e0a8f(0x26f)](/[-_]/g,'\x20'));}return{'description':_0x295d37||_0x38e9c7[_0x1e0a8f(0x1c1)]||_0x38e9c7[_0x1e0a8f(0x286)]||_0x1e0a8f(0x26b)+_0x38e9c7['position'],'screenshot':_0x2eca25,'is_key_step':_0x38e9c7[_0x1e0a8f(0x210)]};}));}catch{}return _0x1487fc['length']===0x0&&_0x48133b?.[_0xc24868(0x28e)]&&(_0x1487fc=_0x48133b['screenshotUrls'][_0xc24868(0x1dc)]((_0x4392b7,_0x29b4a7)=>({'description':'Screenshot\x20'+(_0x29b4a7+0x1),'screenshot':_0x4392b7,'is_key_step':![]}))),{'description':_0xa72910[_0xc24868(0x1c1)],'result':getScenarioResult(_0xa72910),'rationale':getScenarioRationale(_0xa72910,_0x48133b?.['agentResponse']),'steps':_0x1487fc};})),_0x41e304={'url':_0x25adf7['dashboardUrl'],'scenarios':_0x52c370};process[_0x3cb571(0x266)][_0x3cb571(0x1f3)](_0x24ca87[_0x3cb571(0x1f4)](JSON['stringify'](_0x41e304,null,0x2),'\x0a'));}export async function featureConcludeSession(_0xdaebd4){const _0xa2857a=_0x261711,_0x453a5d={'unxlS':_0xa2857a(0x1ec),'maqmE':function(_0x3bd3a1,_0x39b8f4){return _0x3bd3a1(_0x39b8f4);},'zuKHf':'No\x20active\x20session\x20for\x20this\x20feature\x20review.','yCIeu':function(_0x1aafa5,_0x327cdd){return _0x1aafa5(_0x327cdd);},'wUEtD':function(_0xbcdee6,_0x257b89){return _0xbcdee6===_0x257b89;},'AAdvW':function(_0xdd78c9,_0x7d61ab){return _0xdd78c9!==_0x7d61ab;},'GhTfH':'\x0aConcluding\x20session...'},_0x5a030d=_0xdaebd4||await getActiveFeatureId();if(!_0x5a030d)throw new Error(_0x453a5d['unxlS']);const _0x197d37=await _0x453a5d['maqmE'](getFeature,_0x5a030d);if(!_0x197d37['currentSessionId'])throw new Error(_0x453a5d[_0xa2857a(0x1d4)]);const {sessions:_0x132d8b}=await _0x453a5d[_0xa2857a(0x279)](listFeatureSessions,_0x5a030d),_0x3a6c3c=_0x132d8b['find'](_0x1681ef=>_0x1681ef['id']===_0x197d37[_0xa2857a(0x1da)]);if(!_0x3a6c3c)throw new Error('Current\x20session\x20not\x20found.');if(_0x453a5d['wUEtD'](_0x3a6c3c['status'],_0xa2857a(0x27e))){console['log'](_0xa2857a(0x1dd));return;}if(_0x453a5d[_0xa2857a(0x1db)](_0x3a6c3c[_0xa2857a(0x1e1)],_0xa2857a(0x287)))throw new Error(_0xa2857a(0x1c2)+_0x3a6c3c['status']);console['log'](_0x453a5d['GhTfH']),await concludeSession(_0x5a030d,_0x197d37['currentSessionId']),console['log'](_0xa2857a(0x28b)+_0x3a6c3c[_0xa2857a(0x1e9)]+'\x20concluded.'),console[_0xa2857a(0x240)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x5dfb8e){const _0x2f2d53=_0x261711,_0x37e435={'hZbxb':function(_0x7f9471){return _0x7f9471();},'sbkwE':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','GtowB':function(_0x58530b,_0x2d56f1){return _0x58530b===_0x2d56f1;},'AyvQt':'No\x20sessions\x20found.','xbSWk':'completed','IlIiP':'in_progress'},_0x1df33b=_0x5dfb8e||await _0x37e435[_0x2f2d53(0x212)](getActiveFeatureId);if(!_0x1df33b)throw new Error(_0x37e435[_0x2f2d53(0x25a)]);const _0x3ce430=await getFeature(_0x1df33b);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x3ce430['name']+'\x0a');const {sessions:_0x3be5bc}=await listFeatureSessions(_0x1df33b);if(_0x37e435['GtowB'](_0x3be5bc['length'],0x0)){console['log'](_0x37e435['AyvQt']);return;}for(const _0xbf920 of _0x3be5bc){const _0x260ed2=_0xbf920[_0x2f2d53(0x1e1)]===_0x37e435[_0x2f2d53(0x1ef)]?'✅':_0xbf920['status']===_0x37e435['IlIiP']?'🔄':'▶️';console[_0x2f2d53(0x240)](_0x260ed2+'\x20Session\x20'+_0xbf920['iteration']+'\x20('+_0xbf920['id']+')'),console['log'](_0x2f2d53(0x261)+_0xbf920[_0x2f2d53(0x1e1)]),console[_0x2f2d53(0x240)](_0x2f2d53(0x258)+new Date(_0xbf920[_0x2f2d53(0x20a)])[_0x2f2d53(0x1cd)]()),_0xbf920['completedAt']&&console[_0x2f2d53(0x240)]('\x20\x20\x20Completed:\x20'+new Date(_0xbf920[_0x2f2d53(0x236)])['toLocaleString']()),console[_0x2f2d53(0x240)]('');}}export async function featureAddScenario(_0x37fe20,_0x5adc5a){const _0x25a460=_0x261711,_0x1ba066={'pvVVr':_0x25a460(0x1ec),'FoioE':function(_0x53f0d5,_0xf952e2){return _0x53f0d5(_0xf952e2);},'Qaewj':function(_0x516cab,_0x10a4d9){return _0x516cab(_0x10a4d9);}},_0x5b1782=_0x5adc5a||await getActiveFeatureId();if(!_0x5b1782)throw new Error(_0x1ba066['pvVVr']);const _0x46cf37=await _0x1ba066['FoioE'](getFeature,_0x5b1782);if(_0x46cf37['latestReview']&&!_0x46cf37[_0x25a460(0x243)]['submittedAt'])throw new Error(_0x25a460(0x20d)+_0x46cf37['dashboardUrl']);await createChecklistItem(_0x5b1782,_0x37fe20);const _0x2757f9=await _0x1ba066[_0x25a460(0x253)](getFeature,_0x5b1782);console[_0x25a460(0x240)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x2757f9,_0x2757f9[_0x25a460(0x211)]);}export async function featureEditScenario(_0x2e01c8,_0x19241a){const _0x5f3fdb=_0x261711,_0x3386c9={'XTUxh':function(_0x45f436){return _0x45f436();},'psTYh':_0x5f3fdb(0x292),'grHRT':'Please\x20finish\x20your\x20review\x20first:','flEBX':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','jYVjC':'\x0aAvailable\x20scenarios:','RTvOd':function(_0x4afc5c,_0x212017){return _0x4afc5c<_0x212017;},'IqhKg':function(_0xc86877,_0xebd200){return _0xc86877-_0xebd200;},'XlvxE':function(_0x374bfe,_0x2fd4b5){return _0x374bfe<_0x2fd4b5;},'YSVus':function(_0x28cf0f,_0x2d038e){return _0x28cf0f+_0x2d038e;},'lMfNr':function(_0x1bf801,_0x27f649,_0x2a898c,_0x38df18){return _0x1bf801(_0x27f649,_0x2a898c,_0x38df18);},'rVzLX':function(_0xdf49a8,_0x2aaddd){return _0xdf49a8(_0x2aaddd);}},_0x80b417=_0x19241a['id']||await _0x3386c9['XTUxh'](getActiveFeatureId);!_0x80b417&&(console[_0x5f3fdb(0x242)](_0x3386c9[_0x5f3fdb(0x221)]),console[_0x5f3fdb(0x242)](_0x5f3fdb(0x250)),process['exit'](0x1));const _0x1c2f0b=await getFeature(_0x80b417);_0x1c2f0b[_0x5f3fdb(0x243)]&&!_0x1c2f0b['latestReview']['submittedAt']&&(console[_0x5f3fdb(0x242)](_0x5f3fdb(0x1f9)),console[_0x5f3fdb(0x242)](_0x3386c9['grHRT']),console[_0x5f3fdb(0x242)]('\x20\x20'+_0x1c2f0b['dashboardUrl']),process['exit'](0x1));const _0x51999b=_0x1c2f0b['checklistItems']||[];_0x51999b[_0x5f3fdb(0x1cc)]===0x0&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x5f3fdb(0x26e)](0x1));if(_0x19241a[_0x5f3fdb(0x1e3)]===undefined){console['error'](_0x3386c9[_0x5f3fdb(0x225)]),console['log'](_0x3386c9[_0x5f3fdb(0x294)]);for(let _0x2177ee=0x0;_0x3386c9[_0x5f3fdb(0x229)](_0x2177ee,_0x51999b[_0x5f3fdb(0x1cc)]);_0x2177ee++){console[_0x5f3fdb(0x240)]('\x20\x20'+(_0x2177ee+0x1)+'.\x20'+_0x51999b[_0x2177ee][_0x5f3fdb(0x1c1)]);}process[_0x5f3fdb(0x26e)](0x1);}const _0x1b6b6c=_0x3386c9['IqhKg'](_0x19241a['scenario'],0x1);if(_0x1b6b6c<0x0||_0x1b6b6c>=_0x51999b[_0x5f3fdb(0x1cc)]){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x19241a[_0x5f3fdb(0x1e3)]+_0x5f3fdb(0x1e0)+_0x51999b[_0x5f3fdb(0x1cc)]+_0x5f3fdb(0x214)),console['log'](_0x3386c9['jYVjC']);for(let _0xa77003=0x0;_0x3386c9['XlvxE'](_0xa77003,_0x51999b[_0x5f3fdb(0x1cc)]);_0xa77003++){console[_0x5f3fdb(0x240)]('\x20\x20'+_0x3386c9[_0x5f3fdb(0x213)](_0xa77003,0x1)+'.\x20'+_0x51999b[_0xa77003]['description']);}process[_0x5f3fdb(0x26e)](0x1);}const _0x48b066=_0x51999b[_0x1b6b6c];await _0x3386c9[_0x5f3fdb(0x1c5)](updateChecklistItem,_0x80b417,_0x48b066['id'],{'description':_0x2e01c8});const _0x18201a=await _0x3386c9[_0x5f3fdb(0x245)](getFeature,_0x80b417);console[_0x5f3fdb(0x240)]('\x0a✅\x20Scenario\x20updated'),displayFeature(_0x18201a,_0x18201a['checklistItems']);}async function downloadFeedbackImage(_0x2ddaf8,_0x2b5644){const _0x54479f=_0x261711,_0x489ad6={'TBmCQ':function(_0x448838){return _0x448838();},'ecxVU':function(_0x4e3c0d,_0x5ce946,_0x51fb2b){return _0x4e3c0d(_0x5ce946,_0x51fb2b);},'PXiLu':function(_0x37dec0,_0x1b4069){return _0x37dec0(_0x1b4069);}};try{const _0x556081=join(_0x489ad6[_0x54479f(0x22f)](getRangerDir),_0x54479f(0x1e8));await _0x489ad6['ecxVU'](mkdir,_0x556081,{'recursive':!![]});const _0x558cbc=_0x489ad6['ecxVU'](join,_0x556081,'comment_'+_0x2b5644+'.png'),_0x1ac96b=await _0x489ad6[_0x54479f(0x1d5)](fetch,_0x2ddaf8);if(!_0x1ac96b['ok'])return null;const _0x302333=Buffer['from'](await _0x1ac96b['arrayBuffer']());return await writeFile(_0x558cbc,_0x302333),_0x558cbc;}catch{return null;}}export async function featureGetReview(_0x474731){const _0xc7f964=_0x261711,_0x1a87d3={'KowEM':function(_0x5741e8){return _0x5741e8();},'ZtPmZ':function(_0x3b76cf,_0x5cdc68){return _0x3b76cf(_0x5cdc68);},'uoxGI':function(_0x370fd5,_0x4cc91a){return _0x370fd5===_0x4cc91a;},'vWDXx':function(_0x1a2e07,_0x5ef604){return _0x1a2e07>_0x5ef604;},'AYbNn':function(_0x471b57,_0x2d9011){return _0x471b57+_0x2d9011;},'jLVLe':_0xc7f964(0x231),'lHeqd':'Unknown','MrYIJ':function(_0x99dea1,_0x47be63){return _0x99dea1===_0x47be63;},'wGyJT':'point','MxuKb':function(_0x27abd8,_0x3e83aa){return _0x27abd8>=_0x3e83aa;}},_0x12adfe=_0x474731||await _0x1a87d3['KowEM'](getActiveFeatureId);if(!_0x12adfe)throw new Error(_0xc7f964(0x1ec));const _0x57fa6e=await _0x1a87d3[_0xc7f964(0x24e)](getFeature,_0x12adfe),{items:_0x2864d8}=await _0x1a87d3[_0xc7f964(0x24e)](getActionItems,_0x12adfe);console[_0xc7f964(0x240)]('\x0a📋\x20Feedback\x20for:\x20'+_0x57fa6e['name']+'\x20('+_0x57fa6e['id']+')\x0a');if(_0x1a87d3['uoxGI'](_0x2864d8[_0xc7f964(0x1cc)],0x0)){console['log'](_0xc7f964(0x28c));return;}for(let _0x4f67ab=0x0;_0x4f67ab<_0x2864d8[_0xc7f964(0x1cc)];_0x4f67ab++){const _0x1ab9a9=_0x2864d8[_0x4f67ab],_0x25ba0d=_0x1ab9a9[_0xc7f964(0x20f)]>0x1?'\x20(v'+_0x1ab9a9[_0xc7f964(0x20f)]+')':'',_0x5c7c66=await getItemFeedback(_0x12adfe,_0x1ab9a9['id']);if(_0x1a87d3['vWDXx'](_0x5c7c66['unaddressedComments'][_0xc7f964(0x1cc)],0x0)){console[_0xc7f964(0x240)]('Scenario\x20'+_0x1a87d3['AYbNn'](_0x4f67ab,0x1)+':\x20\x22'+_0x1ab9a9['description']+'\x22'+_0x25ba0d+'\x20—\x20'+_0x5c7c66['unaddressedComments'][_0xc7f964(0x1cc)]+_0xc7f964(0x215));for(const _0xfb8f6 of _0x5c7c66['unaddressedComments']){const _0x129130=new Date(_0xfb8f6['createdAt'])[_0xc7f964(0x23b)](_0xc7f964(0x219),{'month':_0x1a87d3[_0xc7f964(0x281)],'day':'numeric'}),_0x355657=_0xfb8f6[_0xc7f964(0x23c)]||_0xfb8f6['authorEmail']||_0x1a87d3['lHeqd'];console['log']('\x20\x20💬\x20'+_0x355657+'\x20('+_0x129130+_0xc7f964(0x270)+_0xfb8f6[_0xc7f964(0x299)]+'\x22');if(_0xfb8f6[_0xc7f964(0x1d3)]){const _0x1fa9be=await downloadFeedbackImage(_0xfb8f6['assetUrl'],_0xfb8f6['id']);_0x1fa9be&&console['log']('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x1fa9be);}if(_0xfb8f6['domRef']){const _0x29bb83=_0xfb8f6[_0xc7f964(0x27a)]['selector']['split']('\x20>\x20')[_0xc7f964(0x1c7)]()?.[_0xc7f964(0x1e6)](':')[0x0]||'element',_0x156b10=_0xfb8f6[_0xc7f964(0x27a)][_0xc7f964(0x25c)]?'\x20\x22'+_0xfb8f6[_0xc7f964(0x27a)][_0xc7f964(0x25c)][_0xc7f964(0x217)](0x0,0x3c)+'\x22':'';console['log'](_0xc7f964(0x235)+_0x29bb83+'>'+_0x156b10),console[_0xc7f964(0x240)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0xfb8f6['domRef']['selector']);}else{if(_0xfb8f6['spatial']){const _0x22b1d8=_0xfb8f6[_0xc7f964(0x22e)][_0xc7f964(0x1e7)];_0x1a87d3[_0xc7f964(0x1ed)](_0xfb8f6[_0xc7f964(0x22e)][_0xc7f964(0x278)],_0x1a87d3['wGyJT'])&&_0x1a87d3['MxuKb'](_0x22b1d8['length'],0x2)?console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x22b1d8[0x0]['toFixed'](0x2)+',\x20'+_0x22b1d8[0x1][_0xc7f964(0x248)](0x2)+')'):console[_0xc7f964(0x240)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0xfb8f6[_0xc7f964(0x22e)][_0xc7f964(0x278)]+'\x20at\x20['+_0x22b1d8[_0xc7f964(0x1dc)](_0x27c01d=>_0x27c01d[_0xc7f964(0x248)](0x2))['join'](',\x20')+']');}}}if(_0x5c7c66[_0xc7f964(0x234)]){console['log'](_0xc7f964(0x1d8));for(const _0xe04bf4 of _0x5c7c66['canonicalFlow'][_0xc7f964(0x1e6)]('\x0a')){console['log'](_0xc7f964(0x23e)+_0xe04bf4);}}}else console[_0xc7f964(0x240)](_0xc7f964(0x251)+(_0x4f67ab+0x1)+_0xc7f964(0x1c0)+_0x1ab9a9[_0xc7f964(0x1c1)]+'\x22'+_0x25ba0d+_0xc7f964(0x254)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0xc7f964(0x240)]('');}}export async function featureDelete(_0x492e6f){const _0x3ceb8b=_0x261711,_0x37ef36={'uVHbM':function(_0x433a14,_0x1f9757){return _0x433a14(_0x1f9757);}},_0x8cbdfb=_0x492e6f||await getActiveFeatureId();if(!_0x8cbdfb)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 _0x395e00=await getFeature(_0x8cbdfb);await _0x37ef36['uVHbM'](softDeleteFeature,_0x8cbdfb),console[_0x3ceb8b(0x240)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x395e00[_0x3ceb8b(0x262)]+'\x20('+_0x8cbdfb+')'),console['log']('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'+_0x8cbdfb);}export async function featureRestore(_0x53293b){const _0x59e1f2=_0x261711,_0x1fa4a9={'EGwtk':function(_0x56a24e,_0x2fd79d){return _0x56a24e(_0x2fd79d);},'NAchS':function(_0x196ddb,_0x1eec3c,_0x2ab2cb){return _0x196ddb(_0x1eec3c,_0x2ab2cb);}};await restoreFeature(_0x53293b);const _0x182b95=await _0x1fa4a9[_0x59e1f2(0x220)](getFeature,_0x53293b);console[_0x59e1f2(0x240)](_0x59e1f2(0x223)+_0x182b95[_0x59e1f2(0x262)]+'\x20('+_0x53293b+')'),_0x1fa4a9['NAchS'](displayFeature,_0x182b95,_0x182b95['checklistItems']);}
@@ -1 +1 @@
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
+ (function(_0x50558e,_0x550468){const _0x428517=_0x9477,_0x3e8f47=_0x50558e();while(!![]){try{const _0x33abaa=-parseInt(_0x428517(0x104))/0x1+parseInt(_0x428517(0x106))/0x2+-parseInt(_0x428517(0x10f))/0x3*(parseInt(_0x428517(0x102))/0x4)+-parseInt(_0x428517(0x109))/0x5*(-parseInt(_0x428517(0x108))/0x6)+-parseInt(_0x428517(0x103))/0x7*(-parseInt(_0x428517(0x107))/0x8)+-parseInt(_0x428517(0x10e))/0x9+parseInt(_0x428517(0x10d))/0xa*(parseInt(_0x428517(0x10c))/0xb);if(_0x33abaa===_0x550468)break;else _0x3e8f47['push'](_0x3e8f47['shift']());}catch(_0x59de3d){_0x3e8f47['push'](_0x3e8f47['shift']());}}}(_0x49f3,0x68647));function _0x49f3(){const _0x4a1e30=['3069164nExjvM','548321QbtkxA','has','1137078uJIxAd','8wmYGHD','52944ZEiqHH','110vbtlgS','dPPrU','join','13425346IAUmSD','10cCtdkk','6125553RUJgYl','6PWHWdJ','error','exit','Unknown\x20hook:\x20','SIGHUP','SIGINT','1530152jJbGIQ'];_0x49f3=function(){return _0x4a1e30;};return _0x49f3();}import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';import{resolveHookMode}from'./utils/environment.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},RUNS_WHEN_OFF=new Set(['enable','disable']);let cancellationHandlersInstalled=![];function _0x9477(_0x472e4,_0x166911){_0x472e4=_0x472e4-0xfd;const _0x49f3a4=_0x49f3();let _0x947724=_0x49f3a4[_0x472e4];return _0x947724;}function installCancellationHandlers(){const _0x2538f3=_0x9477,_0x2780ae={'baGsX':_0x2538f3(0x101)};if(cancellationHandlersInstalled)return;const _0x41f676=()=>{const _0x188dd0=_0x2538f3;process[_0x188dd0(0xfe)](0x0);};process['once'](_0x2780ae['baGsX'],_0x41f676),process['once']('SIGTERM',_0x41f676),process['once'](_0x2538f3(0x100),_0x41f676),cancellationHandlersInstalled=!![];}export async function hook(_0x1a3b83,_0x50daa3){const _0x142d0a=_0x9477,_0x4ac05a={'FYOQi':function(_0x56c8ef,_0x5e5844){return _0x56c8ef===_0x5e5844;},'dPPrU':'off','yejiD':function(_0x3937ab,_0x523207){return _0x3937ab(_0x523207);}};installCancellationHandlers();const _0x1a6959=HOOKS[_0x1a3b83];if(!_0x1a6959){const _0xb66c69=Object['keys'](HOOKS)[_0x142d0a(0x10b)](',\x20');console['error'](_0x142d0a(0xff)+_0x1a3b83),console[_0x142d0a(0xfd)]('Valid\x20hooks:\x20'+_0xb66c69),process[_0x142d0a(0xfe)](0x1);}if(_0x4ac05a['FYOQi'](resolveHookMode(),_0x4ac05a[_0x142d0a(0x10a)])&&!RUNS_WHEN_OFF[_0x142d0a(0x105)](_0x1a3b83))return;await _0x4ac05a['yejiD'](_0x1a6959,_0x50daa3);}
@@ -1 +1 @@
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
+ (function(_0x14da7a,_0xd723ff){const _0x518f95=_0x4470,_0x16f908=_0x14da7a();while(!![]){try{const _0x42b33d=parseInt(_0x518f95(0x9e))/0x1+-parseInt(_0x518f95(0xa0))/0x2+parseInt(_0x518f95(0xa3))/0x3+parseInt(_0x518f95(0xa6))/0x4*(parseInt(_0x518f95(0xa1))/0x5)+-parseInt(_0x518f95(0x9d))/0x6+-parseInt(_0x518f95(0xa2))/0x7+parseInt(_0x518f95(0xa8))/0x8*(-parseInt(_0x518f95(0x9f))/0x9);if(_0x42b33d===_0xd723ff)break;else _0x16f908['push'](_0x16f908['shift']());}catch(_0x28ffb6){_0x16f908['push'](_0x16f908['shift']());}}}(_0x57a4,0x2645a));function _0x4470(_0x23d5d3,_0x53c8d4){_0x23d5d3=_0x23d5d3-0x9c;const _0x57a4f4=_0x57a4();let _0x44706f=_0x57a4f4[_0x23d5d3];return _0x44706f;}import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT='\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.';function _0x57a4(){const _0x5a1aa0=['202093dbZfYa','1263033SxoPtD','157606nzLWUT','315SMzliX','122647GJRVmF','40761kPdYFM','log','jVkEr','12664efWZLm','fivTD','8dtMWWe','session_id','130290ElMvql'];_0x57a4=function(){return _0x5a1aa0;};return _0x57a4();}export async function autoPrompt(){const _0x48a50b=_0x4470,_0x49af45={'fivTD':function(_0x3c5b92,_0x14cf46){return _0x3c5b92(_0x14cf46);},'jVkEr':function(_0x1b7dee,_0x5d8adf){return _0x1b7dee(_0x5d8adf);}},_0x475075=await readHookInput(),_0x15e5d1=_0x475075?.[_0x48a50b(0x9c)];if(!_0x15e5d1)return;if(_0x49af45[_0x48a50b(0xa7)](isSessionEnabled,_0x15e5d1)||hasSessionBeenPrompted(_0x15e5d1))return;_0x49af45[_0x48a50b(0xa5)](markSessionPrompted,_0x15e5d1),console[_0x48a50b(0xa4)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
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
+ (function(_0x439cdd,_0x5662f1){const _0x6433d9=_0x7025,_0xb65c1=_0x439cdd();while(!![]){try{const _0x5b85e6=-parseInt(_0x6433d9(0x11a))/0x1+-parseInt(_0x6433d9(0x115))/0x2*(parseInt(_0x6433d9(0x117))/0x3)+parseInt(_0x6433d9(0x121))/0x4+parseInt(_0x6433d9(0x11e))/0x5*(-parseInt(_0x6433d9(0x112))/0x6)+parseInt(_0x6433d9(0x114))/0x7*(-parseInt(_0x6433d9(0x11b))/0x8)+-parseInt(_0x6433d9(0x120))/0x9*(parseInt(_0x6433d9(0x11f))/0xa)+parseInt(_0x6433d9(0x11c))/0xb;if(_0x5b85e6===_0x5662f1)break;else _0xb65c1['push'](_0xb65c1['shift']());}catch(_0x38f2ea){_0xb65c1['push'](_0xb65c1['shift']());}}}(_0x30f7,0x2d925));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';function _0x7025(_0x1b9443,_0xcf4ae){_0x1b9443=_0x1b9443-0x112;const _0x30f79c=_0x30f7();let _0x70252b=_0x30f79c[_0x1b9443];return _0x70252b;}function _0x30f7(){const _0x10b1b1=['1542BynayO','env','14TvnHwS','8MEiEQd','JjVxN','117336EfQYQA','CLAUDE_SESSION_ID','WaaqI','139975MogPyS','1120800AZjhrf','12221803ymYDEO','main','2885FTxAYd','3554530DmAjyt','9xrDyWd','623812OwABKL','master','sXcYM'];_0x30f7=function(){return _0x10b1b1;};return _0x30f7();}export async function disable(_0x4b2bac){const _0x13c229=_0x7025,_0xbc7368={'hSiPh':function(_0x346789,_0x53bd11){return _0x346789(_0x53bd11);},'WaaqI':function(_0x218c82){return _0x218c82();},'AOViB':function(_0x30afbe,_0xc35101){return _0x30afbe!==_0xc35101;},'JjVxN':function(_0xb39e69,_0xa64355){return _0xb39e69!==_0xa64355;},'HTABH':_0x13c229(0x122),'sXcYM':function(_0x399187,_0x16b222){return _0x399187!==_0x16b222;}},_0x2b592b=_0x4b2bac||process[_0x13c229(0x113)][_0x13c229(0x118)]||'';_0x2b592b&&_0xbc7368['hSiPh'](disableSession,_0x2b592b);const _0x4d8fc0=_0xbc7368[_0x13c229(0x119)](getCurrentBranch);_0x4d8fc0&&_0xbc7368['AOViB'](_0x4d8fc0,_0x13c229(0x11d))&&_0xbc7368['JjVxN'](_0x4d8fc0,_0xbc7368['HTABH'])&&disableBranch(_0x4d8fc0),printBlock('#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x4d8fc0&&_0xbc7368[_0x13c229(0x116)](_0x4d8fc0,_0x13c229(0x11d))&&_0xbc7368[_0x13c229(0x123)](_0x4d8fc0,_0xbc7368['HTABH'])?'\x20and\x20branch\x20\x27'+_0x4d8fc0+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
@@ -1 +1 @@
1
- function _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
+ (function(_0x366929,_0x3ac016){const _0x2ecb2d=_0x26ba,_0xaa8422=_0x366929();while(!![]){try{const _0x660b94=parseInt(_0x2ecb2d(0xdf))/0x1+parseInt(_0x2ecb2d(0xec))/0x2+parseInt(_0x2ecb2d(0xf2))/0x3+parseInt(_0x2ecb2d(0xed))/0x4*(-parseInt(_0x2ecb2d(0xe3))/0x5)+-parseInt(_0x2ecb2d(0xe5))/0x6+parseInt(_0x2ecb2d(0xf1))/0x7*(parseInt(_0x2ecb2d(0xf0))/0x8)+-parseInt(_0x2ecb2d(0xef))/0x9*(parseInt(_0x2ecb2d(0xe4))/0xa);if(_0x660b94===_0x3ac016)break;else _0xaa8422['push'](_0xaa8422['shift']());}catch(_0x4fcb91){_0xaa8422['push'](_0xaa8422['shift']());}}}(_0x31b6,0x6cfa1));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 _0x31b6(){const _0x5130f6=['7032890zAFWbv','64266DNrDep','ijHgW','qEHSN','master','main','CLAUDE_SESSION_ID','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','325654bxtRSw','92DaGjJq','#\x20RANGER\x20HOOKS\x20DISABLED\x0a\x0aRanger\x20hooks\x20are\x20turned\x20off\x20for\x20this\x20environment\x20via\x20`RANGER_HOOKS=off`,\x20so\x20enabling\x20has\x20no\x20effect\x20here.\x0a\x0aTo\x20use\x20Ranger,\x20unset\x20`RANGER_HOOKS`\x20(or\x20set\x20it\x20to\x20`auto`)\x20and\x20try\x20again.','9XdnpBv','9608fLPmkA','5117wjFJdS','370416vEyLRh','lOrCB','ranger\x20setup','484958cGUTAe','mmGWR','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','\x0a\x0a**Branch\x20\x27','106265GyLiYk'];_0x31b6=function(){return _0x5130f6;};return _0x31b6();}import{update}from'../update.js';import{resolveHookMode}from'../utils/environment.js';function _0x26ba(_0x3a37f4,_0x51637f){_0x3a37f4=_0x3a37f4-0xdd;const _0x31b6d9=_0x31b6();let _0x26bad2=_0x31b6d9[_0x3a37f4];return _0x26bad2;}export async function enable(_0x5ccc85){const _0x2aa9e7=_0x26ba,_0x5524ff={'RVawv':function(_0x11285f){return _0x11285f();},'KPwpg':'off','oniry':'ranger\x20setup\x20--opencode','qEHSN':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','ijHgW':function(_0x4ddf59,_0x26fca2){return _0x4ddf59(_0x26fca2);},'UxKGV':function(_0xcf0570,_0x281884){return _0xcf0570(_0x281884);},'hWCOG':function(_0x113248,_0x4b8040){return _0x113248!==_0x4b8040;},'xvZsg':_0x2aa9e7(0xe9),'lOrCB':_0x2aa9e7(0xe8),'mmGWR':function(_0xe3eef7){return _0xe3eef7();}},_0x22bd8=_0x5ccc85||process['env'][_0x2aa9e7(0xea)]||'',_0x2dcd43=Boolean(_0x5ccc85);if(_0x5524ff['RVawv'](resolveHookMode)===_0x5524ff['KPwpg']){printBlock(_0x2aa9e7(0xee));return;}const _0xa085ee=await getToken();if(!_0xa085ee){const _0xea6a90=_0x2dcd43?_0x5524ff['oniry']:_0x2aa9e7(0xde),_0x4bbcf1=_0x2dcd43?_0x2aa9e7(0xe1):_0x5524ff[_0x2aa9e7(0xe7)];_0x5524ff[_0x2aa9e7(0xe6)](printBlock,'#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`'+_0xea6a90+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x4bbcf1);return;}try{await update();}catch{}_0x22bd8&&_0x5524ff['UxKGV'](enableSession,_0x22bd8);const _0x53ad51=_0x5524ff['RVawv'](getCurrentBranch),_0x47e54e=_0x53ad51&&_0x5524ff['hWCOG'](_0x53ad51,_0x5524ff['xvZsg'])&&_0x53ad51!==_0x5524ff[_0x2aa9e7(0xdd)]?_0x2aa9e7(0xe2)+_0x53ad51+_0x2aa9e7(0xeb):'',_0x375d0f=_0x5524ff[_0x2aa9e7(0xe0)](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x47e54e+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x375d0f+'\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 _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
+ function _0x3587(_0x26e525,_0x211051){_0x26e525=_0x26e525-0x151;const _0xf51874=_0xf518();let _0x35879b=_0xf51874[_0x26e525];return _0x35879b;}(function(_0x1b3eae,_0x1fd1d0){const _0x3c8b05=_0x3587,_0x326220=_0x1b3eae();while(!![]){try{const _0x1411a7=-parseInt(_0x3c8b05(0x152))/0x1*(-parseInt(_0x3c8b05(0x155))/0x2)+parseInt(_0x3c8b05(0x159))/0x3*(parseInt(_0x3c8b05(0x15b))/0x4)+parseInt(_0x3c8b05(0x151))/0x5+parseInt(_0x3c8b05(0x157))/0x6*(-parseInt(_0x3c8b05(0x154))/0x7)+parseInt(_0x3c8b05(0x15a))/0x8*(-parseInt(_0x3c8b05(0x156))/0x9)+parseInt(_0x3c8b05(0x153))/0xa+-parseInt(_0x3c8b05(0x158))/0xb;if(_0x1411a7===_0x1fd1d0)break;else _0x326220['push'](_0x326220['shift']());}catch(_0x1563d0){_0x326220['push'](_0x326220['shift']());}}}(_0xf518,0xe1e50));import{printBlock,getEnabledSessionId}from'./output.js';function _0xf518(){const _0x401a13=['12491820BfPFZw','6sSMruJ','12448CfEcBk','143980hwlgbu','8312565GitgCu','38727lohkbc','16385510GoBsws','7fJmnYU','34Ybvnup','9576KzUBnh','1889670xABElH'];_0xf518=function(){return _0x401a13;};return _0xf518();}export async function exitPlanMode(_0x18909b){const _0x19b342=await getEnabledSessionId(_0x18909b);if(!_0x19b342)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(_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
+ (function(_0x164577,_0x1d3931){var _0x42b8c6=_0x2288,_0x1e71fb=_0x164577();while(!![]){try{var _0x2427f1=-parseInt(_0x42b8c6(0xcc))/0x1*(parseInt(_0x42b8c6(0xcd))/0x2)+parseInt(_0x42b8c6(0xd0))/0x3+parseInt(_0x42b8c6(0xcf))/0x4+parseInt(_0x42b8c6(0xc9))/0x5+parseInt(_0x42b8c6(0xcb))/0x6*(-parseInt(_0x42b8c6(0xce))/0x7)+parseInt(_0x42b8c6(0xca))/0x8+-parseInt(_0x42b8c6(0xd1))/0x9;if(_0x2427f1===_0x1d3931)break;else _0x1e71fb['push'](_0x1e71fb['shift']());}catch(_0xaf60b1){_0x1e71fb['push'](_0x1e71fb['shift']());}}}(_0x58f9,0xec840));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';function _0x2288(_0x2ea359,_0x3e16b1){_0x2ea359=_0x2ea359-0xc9;var _0x58f9c1=_0x58f9();var _0x2288d6=_0x58f9c1[_0x2ea359];return _0x2288d6;}function _0x58f9(){var _0x23cbf8=['7316568bEGYsR','84leqYKQ','41UHhoia','40262tqjLnG','967211ncoydV','5233892qbmheF','4539096IfyEsq','8023851Qqcecd','4420120vDoHOt'];_0x58f9=function(){return _0x23cbf8;};return _0x58f9();}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(_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
+ (function(_0x350c99,_0x27d370){const _0x40bcd7=_0x2642,_0x2fa990=_0x350c99();while(!![]){try{const _0x14e175=parseInt(_0x40bcd7(0x16f))/0x1*(-parseInt(_0x40bcd7(0x16c))/0x2)+parseInt(_0x40bcd7(0x16b))/0x3*(-parseInt(_0x40bcd7(0x165))/0x4)+parseInt(_0x40bcd7(0x167))/0x5+-parseInt(_0x40bcd7(0x166))/0x6*(-parseInt(_0x40bcd7(0x170))/0x7)+parseInt(_0x40bcd7(0x169))/0x8*(parseInt(_0x40bcd7(0x172))/0x9)+parseInt(_0x40bcd7(0x173))/0xa+-parseInt(_0x40bcd7(0x168))/0xb;if(_0x14e175===_0x27d370)break;else _0x2fa990['push'](_0x2fa990['shift']());}catch(_0xf477f4){_0x2fa990['push'](_0x2fa990['shift']());}}}(_0x456f,0x951cf));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x5b8e17){const _0x96f1da=_0x2642;console[_0x96f1da(0x16a)](_0x5b8e17);}export async function readHookInput(){let _0x201d55='';try{for await(const _0x270e17 of process['stdin']){_0x201d55+=_0x270e17;}}catch{return null;}if(!_0x201d55['trim']())return null;try{return JSON['parse'](_0x201d55);}catch{return null;}}export async function getEnabledSessionId(_0x1c5382){const _0x5609a2=_0x2642,_0x381892={'lcQeT':function(_0x34d51e,_0x23118b){return _0x34d51e(_0x23118b);},'nnwDn':function(_0x47bc83){return _0x47bc83();}};if(_0x1c5382)return _0x381892['lcQeT'](isSessionEnabled,_0x1c5382)?_0x1c5382:null;const _0x536044=await _0x381892[_0x5609a2(0x16d)](readHookInput),_0x55fc7f=_0x536044?.['session_id'];if(!_0x55fc7f||!_0x381892['lcQeT'](isSessionEnabled,_0x55fc7f))return null;return _0x55fc7f;}function _0x456f(){const _0xbb59f7=['136302uonxAZ','2979155XtOGjz','14515809YAWsza','336gZFtfA','log','24zEihfO','963818wyRxwZ','nnwDn','session_id','1diryvj','7BJdRUI','uNCIP','243288KwjnVd','6641550srhXjR','2876XERUVH'];_0x456f=function(){return _0xbb59f7;};return _0x456f();}function _0x2642(_0x32e44d,_0x2a69a9){_0x32e44d=_0x32e44d-0x165;const _0x456fd0=_0x456f();let _0x264279=_0x456fd0[_0x32e44d];return _0x264279;}export async function getEnabledHookContext(_0x5cf254){const _0x34ceec=_0x2642,_0x52998b={'uNCIP':function(_0x1ff66d,_0x4a1979){return _0x1ff66d(_0x4a1979);}};if(_0x5cf254){if(!_0x52998b['uNCIP'](isSessionEnabled,_0x5cf254))return null;return{'sessionId':_0x5cf254,'input':{'session_id':_0x5cf254}};}const _0x242895=await readHookInput(),_0x3dd7ca=_0x242895?.[_0x34ceec(0x16e)];if(!_0x3dd7ca||!_0x52998b[_0x34ceec(0x171)](isSessionEnabled,_0x3dd7ca))return null;return{'sessionId':_0x3dd7ca,'input':_0x242895};}
@@ -1 +1 @@
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
+ (function(_0x5eaad4,_0x1c21ff){const _0x4237af=_0x10f7,_0x43a50b=_0x5eaad4();while(!![]){try{const _0x1ac9bd=parseInt(_0x4237af(0x1d0))/0x1*(parseInt(_0x4237af(0x1cc))/0x2)+-parseInt(_0x4237af(0x1d1))/0x3+-parseInt(_0x4237af(0x1cd))/0x4+-parseInt(_0x4237af(0x1c9))/0x5+-parseInt(_0x4237af(0x1ce))/0x6+-parseInt(_0x4237af(0x1cf))/0x7*(parseInt(_0x4237af(0x1c8))/0x8)+parseInt(_0x4237af(0x1ca))/0x9;if(_0x1ac9bd===_0x1c21ff)break;else _0x43a50b['push'](_0x43a50b['shift']());}catch(_0x3f5d3c){_0x43a50b['push'](_0x43a50b['shift']());}}}(_0x17b7,0xe23d6));function _0x10f7(_0x2516a1,_0x45ce63){_0x2516a1=_0x2516a1-0x1c4;const _0x17b7c6=_0x17b7();let _0x10f7d7=_0x17b7c6[_0x2516a1];return _0x10f7d7;}import{printBlock,getEnabledHookContext}from'./output.js';function _0x17b7(){const _0xb99364=['768tzfDKt','6889055AvXcXG','48995622hofoZo','CtuwM','642278BMwHhm','4283636YGIpDx','9708846IcDnBR','20209VVKPso','5dewVfD','5336886jgMWpN','eCCsh','===\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===','permission_mode','input'];_0x17b7=function(){return _0xb99364;};return _0x17b7();}import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x26dce1){const _0x45020e=_0x10f7,_0x47a6b7={'CtuwM':function(_0x149c1c,_0x294f28){return _0x149c1c(_0x294f28);},'eCCsh':'plan','UzVfY':function(_0x485891,_0x2c1c05){return _0x485891(_0x2c1c05);}},_0x103025=await _0x47a6b7['CtuwM'](getEnabledHookContext,_0x26dce1);if(!_0x103025)return;if(_0x103025[_0x45020e(0x1c7)][_0x45020e(0x1c6)]!==_0x47a6b7[_0x45020e(0x1c4)])return;if(!_0x47a6b7[_0x45020e(0x1cb)](shouldShowPlanReminder,_0x103025['sessionId']))return;_0x47a6b7['UzVfY'](printBlock,_0x45020e(0x1c5));}
@@ -1 +1 @@
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
+ (function(_0xeb4f81,_0x22915e){const _0xbfe4da=_0x38aa,_0x561a23=_0xeb4f81();while(!![]){try{const _0xf0ebbb=parseInt(_0xbfe4da(0x118))/0x1+parseInt(_0xbfe4da(0x11a))/0x2+-parseInt(_0xbfe4da(0x119))/0x3*(parseInt(_0xbfe4da(0x11d))/0x4)+-parseInt(_0xbfe4da(0x11f))/0x5+-parseInt(_0xbfe4da(0x120))/0x6+-parseInt(_0xbfe4da(0x11c))/0x7*(parseInt(_0xbfe4da(0x117))/0x8)+-parseInt(_0xbfe4da(0x11e))/0x9*(-parseInt(_0xbfe4da(0x121))/0xa);if(_0xf0ebbb===_0x22915e)break;else _0x561a23['push'](_0x561a23['shift']());}catch(_0x2c3618){_0x561a23['push'](_0x561a23['shift']());}}}(_0x30d3,0x7b4dd));import{printBlock,getEnabledSessionId}from'./output.js';function _0x38aa(_0x152a3f,_0x4eb37b){_0x152a3f=_0x152a3f-0x117;const _0x30d365=_0x30d3();let _0x38aae2=_0x30d365[_0x152a3f];return _0x38aae2;}export async function planStart(_0x22abc3){const _0xbbd398=_0x38aa,_0x45c3a0={'gHAUp':function(_0x3e6673,_0x5b7bf5){return _0x3e6673(_0x5b7bf5);}},_0x3dfcc7=await _0x45c3a0['gHAUp'](getEnabledSessionId,_0x22abc3);if(!_0x3dfcc7)return;printBlock(_0xbbd398(0x11b));}function _0x30d3(){const _0x2b672d=['4VegALs','36MlmMrq','1086315gHWJXh','3805062DpCfJI','3101620gjpyGD','8KYjsba','5928NxcNCH','229230ozLLBM','1349386gGAAwX','===\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===','3418562LzkyVP'];_0x30d3=function(){return _0x2b672d;};return _0x30d3();}
@@ -1 +1 @@
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
+ (function(_0x303963,_0x8e4c1c){const _0x3b9af0=_0x4d54,_0x344845=_0x303963();while(!![]){try{const _0x2364d4=parseInt(_0x3b9af0(0x197))/0x1+-parseInt(_0x3b9af0(0x194))/0x2*(parseInt(_0x3b9af0(0x195))/0x3)+parseInt(_0x3b9af0(0x19f))/0x4+parseInt(_0x3b9af0(0x198))/0x5+parseInt(_0x3b9af0(0x19a))/0x6+parseInt(_0x3b9af0(0x19e))/0x7+-parseInt(_0x3b9af0(0x199))/0x8;if(_0x2364d4===_0x8e4c1c)break;else _0x344845['push'](_0x344845['shift']());}catch(_0x1645b3){_0x344845['push'](_0x344845['shift']());}}}(_0x4bfc,0xacb66));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';function _0x4d54(_0x19e552,_0x5e14c9){_0x19e552=_0x19e552-0x194;const _0x4bfcf1=_0x4bfc();let _0x4d54d7=_0x4bfcf1[_0x19e552];return _0x4d54d7;}function _0x4bfc(){const _0x1cb0a0=['3729915ZfZIgH','4239996oksvPh','9488PoJJqU','114yLiHcD','DNwGE','959368WhHpTe','331070zMOAFT','22605568ZSszXJ','6569832TCbZkh','stringify','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.','log'];_0x4bfc=function(){return _0x1cb0a0;};return _0x4bfc();}export async function postEdit(_0xee5a92){const _0x197ab2=_0x4d54,_0x280df1={'DNwGE':function(_0x33821c,_0x523c93){return _0x33821c(_0x523c93);}},_0x2f1b20=await _0x280df1['DNwGE'](getEnabledSessionId,_0xee5a92);if(!_0x2f1b20)return;_0x280df1[_0x197ab2(0x196)](updateBranchTracking,_0x2f1b20);const _0x1b8203=await getToken();if(!_0x1b8203)return;const _0xb55c3c=getSessionEntry(_0x2f1b20);if(_0xb55c3c){const _0x347fce={'hookSpecificOutput':{'hookEventName':'PostToolUse','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[_0x197ab2(0x19d)](JSON[_0x197ab2(0x19b)](_0x347fce));return;}const _0x254063={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0x197ab2(0x19c)}};console[_0x197ab2(0x19d)](JSON[_0x197ab2(0x19b)](_0x254063));}
@@ -1 +1 @@
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
+ function _0x1944(_0x4766df,_0xcecd7a){_0x4766df=_0x4766df-0xa1;const _0x80d196=_0x80d1();let _0x194403=_0x80d196[_0x4766df];return _0x194403;}(function(_0x4aff7e,_0x316619){const _0x1ad1e2=_0x1944,_0x53dfea=_0x4aff7e();while(!![]){try{const _0x4fb041=parseInt(_0x1ad1e2(0xa6))/0x1+parseInt(_0x1ad1e2(0xa9))/0x2+-parseInt(_0x1ad1e2(0xa8))/0x3*(parseInt(_0x1ad1e2(0xa3))/0x4)+-parseInt(_0x1ad1e2(0xab))/0x5+-parseInt(_0x1ad1e2(0xa1))/0x6*(parseInt(_0x1ad1e2(0xa7))/0x7)+-parseInt(_0x1ad1e2(0xa5))/0x8+-parseInt(_0x1ad1e2(0xaa))/0x9*(-parseInt(_0x1ad1e2(0xa2))/0xa);if(_0x4fb041===_0x316619)break;else _0x53dfea['push'](_0x53dfea['shift']());}catch(_0x419e24){_0x53dfea['push'](_0x53dfea['shift']());}}}(_0x80d1,0x1d3cf));function _0x80d1(){const _0x4485de=['18KBaNBr','683250PPzJkf','3096RkgEko','667090DLeqXh','56gORSrr','===\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`.','1150424vOOBgq','210937xDMJQu','322akeUdP','32892HTiUsi','466178cfouva'];_0x80d1=function(){return _0x4485de;};return _0x80d1();}import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x20f919){const _0x302129=_0x1944,_0x4d9c08={'oIdQI':function(_0x2ab542,_0x192223){return _0x2ab542(_0x192223);}},_0x5d3e94=await _0x4d9c08['oIdQI'](getEnabledSessionId,_0x20f919);if(!_0x5d3e94)return;try{const _0x5b3ad1=await getToken();if(!_0x5b3ad1)return;printBlock(_0x302129(0xa4));}catch{}}
@@ -1 +1 @@
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
+ (function(_0xe93cc0,_0x34d328){const _0x348ec6=_0x35bd,_0x2e2db6=_0xe93cc0();while(!![]){try{const _0x4f1bf4=-parseInt(_0x348ec6(0xd2))/0x1*(parseInt(_0x348ec6(0xe0))/0x2)+parseInt(_0x348ec6(0xd3))/0x3*(parseInt(_0x348ec6(0xd4))/0x4)+-parseInt(_0x348ec6(0xd7))/0x5+-parseInt(_0x348ec6(0xd1))/0x6+-parseInt(_0x348ec6(0xda))/0x7*(-parseInt(_0x348ec6(0xdf))/0x8)+-parseInt(_0x348ec6(0xcf))/0x9*(parseInt(_0x348ec6(0xd8))/0xa)+-parseInt(_0x348ec6(0xdc))/0xb*(-parseInt(_0x348ec6(0xdb))/0xc);if(_0x4f1bf4===_0x34d328)break;else _0x2e2db6['push'](_0x2e2db6['shift']());}catch(_0x1c417e){_0x2e2db6['push'](_0x2e2db6['shift']());}}}(_0x401e,0x94272));function _0x35bd(_0x20b32d,_0x3bfc97){_0x20b32d=_0x20b32d-0xcf;const _0x401e13=_0x401e();let _0x35bd42=_0x401e13[_0x20b32d];return _0x35bd42;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';function _0x401e(){const _0x238f9c=['12LPDmHq','11166265XwtlHo','CLAUDE_SESSION_ID','KfSjt','53552jfgZyl','486mRDSuP','env','9hLKmXP','session_id','6097074bdatMe','3301QSrQHL','2697ZlxnNR','3020ejOEEZ','clear','VGyTK','487285onGteO','1017130afobGi','reason','973fdFpqL'];_0x401e=function(){return _0x238f9c;};return _0x401e();}import{readHookInput}from'./output.js';export async function sessionEnd(_0x595308){const _0x168b5e=_0x35bd,_0x50afc5={'VGyTK':function(_0x5181a3,_0x45e5d0){return _0x5181a3(_0x45e5d0);},'mPZVq':function(_0x512527){return _0x512527();},'KfSjt':function(_0x39dfde,_0x295371){return _0x39dfde===_0x295371;}},_0x3f1a6b=process[_0x168b5e(0xe1)][_0x168b5e(0xdd)];let _0x5530a4=_0x595308,_0x52eeaf;if(!_0x595308){if(_0x3f1a6b&&!_0x50afc5[_0x168b5e(0xd6)](isSessionEnabled,_0x3f1a6b))return;const _0x53d744=await _0x50afc5['mPZVq'](readHookInput);_0x5530a4=_0x53d744?.[_0x168b5e(0xd0)]||_0x3f1a6b,_0x52eeaf=_0x53d744?.[_0x168b5e(0xd9)];}if(!_0x5530a4)return;_0x50afc5[_0x168b5e(0xde)](_0x52eeaf,_0x168b5e(0xd5))&&recordEnabledSessionCleared(_0x5530a4);}
@@ -1 +1 @@
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
+ const _0x967d69=_0x3b11;(function(_0x3cab4c,_0x5ba862){const _0x556724=_0x3b11,_0x55226d=_0x3cab4c();while(!![]){try{const _0x55862d=-parseInt(_0x556724(0x19b))/0x1*(-parseInt(_0x556724(0x196))/0x2)+-parseInt(_0x556724(0x18d))/0x3+-parseInt(_0x556724(0x188))/0x4+parseInt(_0x556724(0x18b))/0x5*(parseInt(_0x556724(0x181))/0x6)+-parseInt(_0x556724(0x199))/0x7*(parseInt(_0x556724(0x187))/0x8)+-parseInt(_0x556724(0x18c))/0x9+parseInt(_0x556724(0x194))/0xa*(parseInt(_0x556724(0x192))/0xb);if(_0x55862d===_0x5ba862)break;else _0x55226d['push'](_0x55226d['shift']());}catch(_0x1fc5a9){_0x55226d['push'](_0x55226d['shift']());}}}(_0xb02d,0xafdc5));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';function _0x3b11(_0x5ad26e,_0xbc5b80){_0x5ad26e=_0x5ad26e-0x17d;const _0xb02d6b=_0xb02d();let _0x3b11bc=_0xb02d6b[_0x5ad26e];return _0x3b11bc;}const RANGER_AUTO_ENABLED_PROMPT=_0x967d69(0x180);function _0xb02d(){const _0x5aad66=['1838720MaMKUC','stdin','stringify','80zDxChy','6588585mAJglN','3629481KRfrBC','RkAqw','trackCommandEnd','MqKVf','main','40854EsSfRE','parse','9210vnnVHg','source','32vELQqB','OqGNp','xfKSn','21287zOjBkZ','\x20(Branch:\x20','18787LvWTrJ','ulQqL','BKXen','env','=================================================================\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=================================================================','95712UKOarg','DXXVO','SessionStart','hook:session-start','trackCommandStart','master','2248ewdiWB'];_0xb02d=function(){return _0x5aad66;};return _0xb02d();}export async function sessionStart(_0x948309){const _0xf80419=_0x967d69,_0x5eb2a0={'MqKVf':function(_0x35dffc,_0x416690,_0x5df228){return _0x35dffc(_0x416690,_0x5df228);},'BKXen':function(_0x4e6238){return _0x4e6238();},'RkAqw':function(_0x26b566,_0x3c2dcf){return _0x26b566(_0x3c2dcf);},'ulQqL':function(_0x501b0e,_0x58477e){return _0x501b0e(_0x58477e);},'xfKSn':function(_0x2011fd,_0x58cc31){return _0x2011fd===_0x58cc31;},'OqGNp':function(_0x4d7a6f,_0x2b1f94){return _0x4d7a6f(_0x2b1f94);},'CwLnk':function(_0x8e6713,_0x232f35){return _0x8e6713(_0x232f35);},'dzTLp':'success','DXXVO':function(_0x5dbb95,_0x54d2db){return _0x5dbb95!==_0x54d2db;}};let _0x163486=_0x948309||'',_0x39f2ae;if(!_0x948309){let _0x17f15d='';for await(const _0x486359 of process[_0xf80419(0x189)]){_0x17f15d+=_0x486359;}try{const _0x5bea2e=JSON[_0xf80419(0x193)](_0x17f15d);_0x163486=_0x5bea2e['session_id']||'',_0x39f2ae=_0x5bea2e[_0xf80419(0x195)];}catch{}const _0xdb4b83=process[_0xf80419(0x17f)]['CLAUDE_ENV_FILE'];if(_0xdb4b83&&_0x163486)try{await _0x5eb2a0[_0xf80419(0x190)](appendFile,_0xdb4b83,'export\x20CLAUDE_SESSION_ID=\x22'+_0x163486+'\x22\x0a');}catch{}}try{await _0x5eb2a0[_0xf80419(0x17e)](getToken);}catch{}if(_0x163486){_0x5eb2a0[_0xf80419(0x18e)](shouldAutoEnableAfterClear,_0x39f2ae)&&_0x5eb2a0[_0xf80419(0x17d)](autoEnableAfterClear,_0x163486);initBranchTracking(_0x163486);_0x5eb2a0[_0xf80419(0x198)](_0x5eb2a0['BKXen'](resolveHookMode),'on')&&enableSession(_0x163486);const _0x1894e4=_0x5eb2a0[_0xf80419(0x197)](isSessionEnabled,_0x163486);try{const _0xd2aa9d=_0x5eb2a0['CwLnk'](createTelemetryCollector,_0xf80419(0x184));await _0xd2aa9d[_0xf80419(0x185)]({'sessionId':_0x163486,'hooksEnabled':_0x1894e4}),await _0xd2aa9d[_0xf80419(0x18f)](_0x5eb2a0['dzTLp']);}catch{}if(_0x1894e4){const _0x2197ea=_0x5eb2a0[_0xf80419(0x17e)](getCurrentBranch),_0x4d0688=_0x2197ea&&_0x5eb2a0[_0xf80419(0x182)](_0x2197ea,_0xf80419(0x191))&&_0x2197ea!==_0xf80419(0x186)?_0xf80419(0x19a)+_0x2197ea+')':'',_0x3254dc={'hookSpecificOutput':{'hookEventName':_0xf80419(0x183),'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x4d0688}};console['log'](JSON[_0xf80419(0x18a)](_0x3254dc));}}}
@@ -1 +1 @@
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
+ (function(_0x414f07,_0x49d367){const _0x243fee=_0x1bb1,_0x1fa2e1=_0x414f07();while(!![]){try{const _0x3fe925=parseInt(_0x243fee(0x105))/0x1*(parseInt(_0x243fee(0x113))/0x2)+parseInt(_0x243fee(0x103))/0x3*(parseInt(_0x243fee(0x10a))/0x4)+-parseInt(_0x243fee(0x114))/0x5*(parseInt(_0x243fee(0x118))/0x6)+-parseInt(_0x243fee(0x119))/0x7+parseInt(_0x243fee(0x107))/0x8*(-parseInt(_0x243fee(0x104))/0x9)+parseInt(_0x243fee(0x10d))/0xa+parseInt(_0x243fee(0x106))/0xb;if(_0x3fe925===_0x49d367)break;else _0x1fa2e1['push'](_0x1fa2e1['shift']());}catch(_0x560ffd){_0x1fa2e1['push'](_0x1fa2e1['shift']());}}}(_0x2d44,0x2315c));import{getToken}from'../utils/keychain.js';function _0x1bb1(_0x340892,_0x3d9c39){_0x340892=_0x340892-0x102;const _0x2d441d=_0x2d44();let _0x1bb120=_0x2d441d[_0x340892];return _0x1bb120;}import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';function _0x2d44(){const _0x5466a6=['9WywxQK','8bLoIaS','5580531UPqtit','1745768gJZwLc','verification_in_progress','incomplete','52qEzhez','Stop','trackCommandEnd','2086690eQrlIH','featureId','verified','filter','stringify','sessionId','25810akxNIK','570675YeOEQN','status','currentSessionId','some','12CTJsKV','1855924xNHymB','blocked','8331aLoATT'];_0x2d44=function(){return _0x5466a6;};return _0x2d44();}import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x53ec2e){const _0x555927=_0x1bb1,_0x129300={'PDxJx':function(_0x87b61f){return _0x87b61f();},'huHMX':function(_0xc8ffc2,_0x445dbd){return _0xc8ffc2&&_0x445dbd;},'yHtJj':function(_0x17e974,_0x2415cb,_0x251350){return _0x17e974(_0x2415cb,_0x251350);}},_0x367640=await getEnabledHookContext(_0x53ec2e),_0x59cb1f=_0x367640?.[_0x555927(0x112)]??null;let _0x2dc4b8=!![];if(!_0x59cb1f){await trackStop(_0x59cb1f,![],_0x2dc4b8);return;}try{const _0x2c41dc=getSessionEntry(_0x59cb1f);if(!_0x2c41dc){await trackStop(_0x59cb1f,!![],_0x2dc4b8);return;}const _0x39015a=await _0x129300['PDxJx'](getToken),_0xca9c1c='https://dashboard.ranger.net/features/'+_0x2c41dc[_0x555927(0x10e)];let _0x1a5c70=null,_0x42bc47=![],_0x1ae316=![];if(_0x39015a)try{const _0x531853=await getFeature(_0x2c41dc['featureId']);_0x1a5c70=_0x531853[_0x555927(0x116)]??null;const _0x1ca51b=_0x531853['checklistItems'][_0x555927(0x110)](_0x29e594=>_0x29e594['sessionId']===_0x1a5c70);_0x42bc47=_0x1ca51b['some'](_0x319db6=>_0x319db6[_0x555927(0x115)]!==_0x555927(0x10f)&&_0x319db6[_0x555927(0x115)]!==_0x555927(0x102)&&_0x319db6['status']!=='closed'&&_0x319db6['status']!==_0x555927(0x109)),_0x1ae316=_0x1ca51b[_0x555927(0x117)](_0x450c87=>_0x450c87['status']===_0x555927(0x108));}catch{}if(_0x39015a&&_0x1a5c70&&_0x42bc47){if(!_0x1ae316&&shouldShowStopReminder(_0x59cb1f)){const _0xd635b={'hookSpecificOutput':{'hookEventName':_0x555927(0x10b),'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'+_0xca9c1c}};console['log'](JSON[_0x555927(0x111)](_0xd635b));}}if(_0x129300['huHMX'](_0x39015a,_0x1a5c70)&&!_0x42bc47)try{await _0x129300['yHtJj'](concludeSession,_0x2c41dc[_0x555927(0x10e)],_0x1a5c70);}catch{}await trackStop(_0x59cb1f,!![],_0x2dc4b8);return;}catch{await trackStop(_0x59cb1f,!![],_0x2dc4b8);return;}}async function trackStop(_0x2198bc,_0x1136b2,_0x31c74b){const _0x7bfe8a=_0x1bb1,_0x56cc6c={'oYLBH':'hook:stop'};try{const _0x47214b=createTelemetryCollector(_0x56cc6c['oYLBH']);await _0x47214b['trackCommandStart']({'sessionId':_0x2198bc??undefined,'hooksEnabled':_0x1136b2,'stopAllowed':_0x31c74b}),await _0x47214b[_0x7bfe8a(0x10c)]('success');}catch{}}
@@ -1 +1 @@
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';
1
+ (function(_0x55fe03,_0x4adee3){var _0x2b17d6=_0x14d5,_0x2b79ea=_0x55fe03();while(!![]){try{var _0x45ec2e=-parseInt(_0x2b17d6(0xbc))/0x1+-parseInt(_0x2b17d6(0xbf))/0x2+-parseInt(_0x2b17d6(0xba))/0x3*(parseInt(_0x2b17d6(0xbe))/0x4)+parseInt(_0x2b17d6(0xb8))/0x5*(parseInt(_0x2b17d6(0xbb))/0x6)+-parseInt(_0x2b17d6(0xb9))/0x7*(parseInt(_0x2b17d6(0xb7))/0x8)+-parseInt(_0x2b17d6(0xb6))/0x9*(-parseInt(_0x2b17d6(0xb5))/0xa)+parseInt(_0x2b17d6(0xbd))/0xb;if(_0x45ec2e===_0x4adee3)break;else _0x2b79ea['push'](_0x2b79ea['shift']());}catch(_0x5aa0f8){_0x2b79ea['push'](_0x2b79ea['shift']());}}}(_0x14c6,0xd9078));function _0x14c6(){var _0x1d1b54=['4440422JNCoXD','3573rdqGjW','154572HaxPmZ','134048eKKFpg','38551359BovLAX','3548XwNriw','2567056aakNmI','77890IUsMcQ','558tXCiWx','16GLcQQQ','125KGwtJW'];_0x14c6=function(){return _0x1d1b54;};return _0x14c6();}export{addEnv}from'./addEnv.js';function _0x14d5(_0x5eadde,_0x5196b7){_0x5eadde=_0x5eadde-0xb5;var _0x14c6c8=_0x14c6();var _0x14d5a4=_0x14c6c8[_0x5eadde];return _0x14d5a4;}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';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';