@ranger-testing/ranger-cli 3.0.0 → 3.0.1-alpha.46ed70b-30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/playwrightCli.js +1 -1
  60. package/build/commands/utils/profileMessages.js +1 -1
  61. package/build/commands/utils/profileSetupBanner.js +1 -1
  62. package/build/commands/utils/projectsConfig.js +1 -1
  63. package/build/commands/utils/rangerConfig.js +1 -1
  64. package/build/commands/utils/rangerRoot.js +1 -1
  65. package/build/commands/utils/rangerwrightCli.js +1 -0
  66. package/build/commands/utils/resolveProfileContext.js +1 -1
  67. package/build/commands/utils/resolveProfileUrl.js +1 -1
  68. package/build/commands/utils/retry.js +1 -1
  69. package/build/commands/utils/sessionCache.js +1 -1
  70. package/build/commands/utils/settings.js +1 -1
  71. package/build/commands/utils/skillContent.js +1 -1
  72. package/build/commands/utils/skills.js +1 -1
  73. package/build/commands/utils/stitchWebmFiles.js +1 -1
  74. package/build/commands/utils/telemetry.js +1 -1
  75. package/build/commands/utils/tokenRefresh.js +1 -1
  76. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  77. package/build/commands/utils/userApi.js +1 -1
  78. package/build/commands/utils/version.js +1 -1
  79. package/build/commands/verifyFeature.js +1 -1
  80. package/build/commands/verifyFeatureCli.js +1 -1
  81. package/build/commands/verifyFeatureNovaCli.js +1 -1
  82. package/build/commands/verifyFeatureRangerwrightCli.js +1 -0
  83. package/package.json +3 -2
@@ -1 +1 @@
1
- (function(_0x4b6a67,_0x5e6da5){const _0x1bf96d=_0x4550,_0x54b617=_0x4b6a67();while(!![]){try{const _0x15f7dd=-parseInt(_0x1bf96d(0x128))/0x1+-parseInt(_0x1bf96d(0xc3))/0x2*(parseInt(_0x1bf96d(0x145))/0x3)+-parseInt(_0x1bf96d(0x147))/0x4+-parseInt(_0x1bf96d(0x106))/0x5+-parseInt(_0x1bf96d(0x73))/0x6*(parseInt(_0x1bf96d(0x98))/0x7)+parseInt(_0x1bf96d(0x7c))/0x8*(-parseInt(_0x1bf96d(0x112))/0x9)+parseInt(_0x1bf96d(0xe1))/0xa;if(_0x15f7dd===_0x5e6da5)break;else _0x54b617['push'](_0x54b617['shift']());}catch(_0x214aca){_0x54b617['push'](_0x54b617['shift']());}}}(_0x66b9,0x251e9));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x550f7e 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=_0xd68cf4=>'\x1b[1m'+_0xd68cf4+'\x1b[0m';function getGitRepoUrl(){const _0x38da3d=_0x4550,_0x1b7670={'IGApt':function(_0xc5a0d7,_0x151b10,_0x4bc021){return _0xc5a0d7(_0x151b10,_0x4bc021);},'whDMJ':_0x38da3d(0xa9),'amRdm':_0x38da3d(0x12f),'TjmiM':'github.com/'};try{const _0x416019=_0x1b7670[_0x38da3d(0x101)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x1b7670['whDMJ'],'stdio':[_0x1b7670['amRdm'],_0x1b7670['amRdm'],'pipe']})[_0x38da3d(0x12a)]();return _0x416019['replace'](/\.git$/,'')[_0x38da3d(0x108)](/^git@github\.com:/,_0x1b7670['TjmiM'])[_0x38da3d(0x108)](/^https?:\/\//,'');}catch{return undefined;}}function _0x4550(_0x39d8d3,_0x1ce76c){_0x39d8d3=_0x39d8d3-0x6c;const _0x66b999=_0x66b9();let _0x455010=_0x66b999[_0x39d8d3];return _0x455010;}function getGitBranch(){const _0x25dfcb=_0x4550,_0x51d481={'pYxuu':function(_0x2bc48f,_0x5a0da6,_0x56cf74){return _0x2bc48f(_0x5a0da6,_0x56cf74);},'NdrJi':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','NtRBx':'utf-8','vnxxy':'pipe'};try{return _0x51d481['pYxuu'](execSync,_0x51d481[_0x25dfcb(0xcd)],{'encoding':_0x51d481[_0x25dfcb(0x124)],'stdio':[_0x25dfcb(0x12f),_0x51d481[_0x25dfcb(0xa7)],_0x51d481['vnxxy']]})[_0x25dfcb(0x12a)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x4226ad={'kAOqD':function(_0x5a87ee,_0x24ba6d){return _0x5a87ee(_0x24ba6d);},'GAyBQ':function(_0x461dd8,_0x166f57,_0x5c36d3){return _0x461dd8(_0x166f57,_0x5c36d3);}},_0x3b1db2=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!_0x4226ad['kAOqD'](existsSync,_0x3b1db2))return null;try{const _0x5c9735=await _0x4226ad['GAyBQ'](readFile,_0x3b1db2,'utf-8');return _0x5c9735['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x13bc01){const _0x321a3d=_0x4550,_0x5dd790={'jXLSN':function(_0x180149){return _0x180149();},'PMyLa':function(_0x244908,_0x12f6f4){return _0x244908(_0x12f6f4);},'wPgGH':function(_0x3d08a4,_0x541b0c,_0x4fba31){return _0x3d08a4(_0x541b0c,_0x4fba31);},'pMOJW':function(_0x50ba87,_0x34532c,_0x5d792a,_0x2dc6ea){return _0x50ba87(_0x34532c,_0x5d792a,_0x2dc6ea);}},_0x590571=_0x5dd790['jXLSN'](getRangerDir),_0x3e15d5=join(_0x590571,ACTIVE_FEATURE_FILE);!_0x5dd790['PMyLa'](existsSync,_0x590571)&&await _0x5dd790[_0x321a3d(0xfe)](mkdir,_0x590571,{'recursive':!![]}),await _0x5dd790['pMOJW'](writeFile,_0x3e15d5,_0x13bc01,_0x321a3d(0xa9));}function _0x66b9(){const _0x347bb3=['\x20\x20\x20ID:\x20','555710JstqPB','\x0aNo\x20feature\x20reviews\x20found.','location','\x20\x20Expected\x20flow:','screenshot','sessionId','any','iteration','\x20verified','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','NdrJi','1|4|0|2|3|5','\x20\x20\x20\x20\x20\x20Cancelled:\x20','checklistItems','json','authorEmail','in_progress','\x20\x20\x20▶️\x20Started\x20session\x20','\x20blocked','\x20>\x20','timing','wVnnc','blockedReason','incompleteReason','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','scenario','verification_in_progress','feedback-images','filter','wGIGy','10700270btWiTY','Scenario\x20','\x0a✅\x20Resumed\x20feature\x20review:\x20','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','NegAc','verifiedItems','repeat','\x20—\x20','zPTHU','XdWdX','tnkrT','\x0aCreating\x20feature\x20review...','NoOht','ZnZQL','\x20scenario(s).','aopal','\x20\x20\x20Branch:\x20','style','LHqMf','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','\x20incomplete','latestReview','Current\x20session\x20not\x20found.','biAnR','write','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','No\x20active\x20session\x20for\x20this\x20feature\x20review.','JaLFN','wPgGH','Unknown','exit','IGApt','screenshotUrls','XngjZ','BUwYO','soSKV','151230zabxvm','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','replace','reports','pop','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','map','currentSessionId','domRef','Qepxl','CWYOj','...','5283HeDEjK','WRAsp','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','UVJXR',':\x20\x22','canonicalFlow','tHdkr','description','tsNaf','env','find','toFixed','zZGqw','toLocaleString','parentItemId','\x20(v','hetfZ','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','NtRBx','incomplete','version','xEtkD','145235iyiyDz','iyllo','trim','JZHgJ','QYSNN','isInteger','short','pipe','\x20\x20✅\x20No\x20feedback\x20to\x20address','selector','\x20at\x20[','hmtBk','items','includeDeleted','ExQoz','\x0aConcluding\x20session...','ready','status','cpgIq','blocked','CvujG','CoouP','lVbKI','length','\x20\x20\x20\x20\x20\x20Incomplete:\x20','BkPCZ','type','cEKFV','\x20\x20\x20Repository:\x20','3HgdjWy','tRKex','503960NDqtgP','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','\x20--current-branch','scenarios','\x0a✅\x20Feature\x20review\x20created:\x20','split','\x20\x20\x20Progress:\x20','\x0a\x20\x20\x20Scenarios:','pendingItems','mcvzS','list','\x20\x20\x20Created:\x20','\x20Session\x20','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','log','browserSessionId','12tBLKFV','\x0a✅\x20Scenario\x20added','dashboardUrl','storage','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','\x20\x20\x20Completed:\x20','GDenS','NknCz','hvNIL','1696CjkKSr','JwlZq','\x20\x20\x20Description:\x20','notes','unaddressedComments','/artifacts/','error','\x20\x20\x20\x20\x20📋\x20Selector:\x20','eNIcs','FkmIp','tQDrO','Spwzx','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','position','totalCount','selected','warn','fjuAu','Cannot\x20conclude\x20session\x20with\x20status:\x20','fQnJN','bINyg','aTeOh','completedAt','stdout','textContent','trimEnd','\x20scenarios.','spatial','749756PUvgjU','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','verified','\x0a⚠️\x20\x20','push','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','incompleteItems','\x20\x20\x20Status:\x20','stats','\x20\x20\x20Updated\x20branch\x20to:\x20','assets','\x20\x20\x20','WgwXg','completed','\x0a📋\x20Feedback\x20for:\x20','vnxxy','createdAt','utf-8','limit','lRxYh','name','assetType','offset','closed','\x0a✅\x20Session\x20is\x20already\x20completed.','\x20in\x20progress','):\x20\x22','\x0aAvailable\x20scenarios:','toLocaleDateString','fsrZa','slice','WMoul','gitBranch','No\x20scenarios\x20found.','\x0a✅\x20Scenario\x20updated','canceledReason','prompt','HjFGS','join','Not\x20in\x20a\x20git\x20repository.','\x20—\x20no\x20comments','terminalReason'];_0x66b9=function(){return _0x347bb3;};return _0x66b9();}function getProgressDisplay(_0x238b34){const _0x303246=_0x4550,_0x5186dd={'OaWRI':function(_0x1d6958,_0x483fb7){return _0x1d6958+_0x483fb7;},'PGPXK':function(_0x40247e,_0x8ea22){return _0x40247e+_0x8ea22;},'DIWGb':function(_0x43ece1,_0x1926dd){return _0x43ece1===_0x1926dd;},'CoouP':function(_0x2c935a,_0x5cadad){return _0x2c935a*_0x5cadad;},'wrtYs':function(_0x3e264f,_0x29a5b2){return _0x3e264f/_0x29a5b2;},'zZGqw':function(_0x13e195,_0x2824bc){return _0x13e195+_0x2824bc;},'bfHti':function(_0x4e6030,_0x1c4832){return _0x4e6030>_0x1c4832;},'NUoRH':function(_0x1cd8d5,_0x281d58){return _0x1cd8d5>_0x281d58;},'GDenS':function(_0xf790c6,_0x50b14a){return _0xf790c6>_0x50b14a;}},_0x4fb7b4=_0x238b34[_0x303246(0xe6)]||0x0,_0x4a63d5=_0x238b34['verificationInProgressItems']||0x0,_0x5ae5b3=_0x238b34['blockedItems']||0x0,_0x2f7cf0=_0x238b34[_0x303246(0x9e)]||0x0,_0x56bcaf=_0x238b34[_0x303246(0x14f)]||0x0,_0x15b2e1=_0x5186dd['OaWRI'](_0x5186dd['PGPXK'](_0x4fb7b4+_0x4a63d5,_0x5ae5b3)+_0x2f7cf0,_0x56bcaf);if(_0x5186dd['DIWGb'](_0x15b2e1,0x0))return'-';const _0x3d8b22=0xa,_0x1f9bd4=Math['round'](_0x5186dd[_0x303246(0x13d)](_0x5186dd['wrtYs'](_0x4fb7b4,_0x15b2e1),_0x3d8b22)),_0x12d28d=_0x5186dd[_0x303246(0x11e)]('█'[_0x303246(0xe7)](_0x1f9bd4),'░'['repeat'](_0x3d8b22-_0x1f9bd4)),_0x2ea857=[];if(_0x5186dd['bfHti'](_0x5ae5b3,0x0))_0x2ea857['push'](_0x5ae5b3+_0x303246(0xd5));if(_0x5186dd['NUoRH'](_0x2f7cf0,0x0))_0x2ea857[_0x303246(0x9c)](_0x2f7cf0+_0x303246(0xf5));if(_0x5186dd['NUoRH'](_0x4a63d5,0x0))_0x2ea857['push'](_0x4a63d5+_0x303246(0xb1));const _0x4f63b4=_0x5186dd[_0x303246(0x79)](_0x2ea857['length'],0x0)?'\x20('+_0x2ea857['join'](',\x20')+')':'';return _0x12d28d+'\x20'+_0x4fb7b4+'/'+_0x15b2e1+_0x303246(0xcb)+_0x4f63b4;}function getCurrentSessionItems(_0x5a3d0e,_0xb32573){const _0x1fa754=_0x4550;if(!_0x5a3d0e[_0x1fa754(0x10d)])return _0xb32573[_0x1fa754(0xdf)](_0x2892a2=>!_0x2892a2[_0x1fa754(0xc8)]);return _0xb32573['filter'](_0x2ddd0=>_0x2ddd0['sessionId']===_0x5a3d0e[_0x1fa754(0x10d)]||!_0x2ddd0['sessionId']);}function displayFeature(_0x1da177,_0x2a69af){const _0xa6bda9=_0x4550,_0x5ca62b={'aopal':function(_0x229373,_0x46302a){return _0x229373>_0x46302a;},'qmaej':function(_0x114460,_0x17702f){return _0x114460===_0x17702f;},'eUIsn':'approved','bINyg':_0xa6bda9(0x9a),'XngjZ':function(_0x120ecb,_0x574d5b){return _0x120ecb===_0x574d5b;},'FkmIp':function(_0x40d273,_0x1a91f0){return _0x40d273===_0x1a91f0;},'oebME':_0xa6bda9(0xaf),'BkPCZ':'verification_in_progress','JsXjf':function(_0x523159,_0x2796f0){return _0x523159>_0x2796f0;},'tZgaL':function(_0x342f1c,_0x3b8214){return _0x342f1c!==_0x3b8214;},'ddtgh':function(_0x3c3390,_0x562894){return _0x3c3390+_0x562894;},'YjfxS':_0xa6bda9(0x125),'IlZWw':function(_0x18e50a,_0x5aee22){return _0x18e50a===_0x5aee22;}};console[_0xa6bda9(0x71)]('\x0a'+_0x1da177[_0xa6bda9(0xac)]+'\x20('+_0x1da177['dashboardUrl']+')');_0x1da177[_0xa6bda9(0xa0)]&&console[_0xa6bda9(0x71)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x1da177['stats']));_0x1da177['description']&&console[_0xa6bda9(0x71)](_0xa6bda9(0x7e)+_0x1da177['description']);_0x1da177['gitRepoUrl']&&console['log'](_0xa6bda9(0x144)+_0x1da177['gitRepoUrl']);_0x1da177['gitBranch']&&console['log'](_0xa6bda9(0xf1)+_0x1da177['gitBranch']);console['log'](_0xa6bda9(0x6e)+new Date(_0x1da177[_0xa6bda9(0xa8)])[_0xa6bda9(0x11f)]());_0x1da177['completedAt']&&console[_0xa6bda9(0x71)]('\x20\x20\x20Completed:\x20'+new Date(_0x1da177[_0xa6bda9(0x92)])['toLocaleString']());if(_0x2a69af&&_0x5ca62b[_0xa6bda9(0xf0)](_0x2a69af[_0xa6bda9(0x13f)],0x0)){console['log'](_0xa6bda9(0x14e));for(let _0x264334=0x0;_0x264334<_0x2a69af[_0xa6bda9(0x13f)];_0x264334++){const _0x28749c=_0x2a69af[_0x264334];let _0x1c070f;if(_0x5ca62b['qmaej'](_0x28749c[_0xa6bda9(0x139)],'closed')&&_0x28749c[_0xa6bda9(0xc1)]===_0x5ca62b['eUIsn'])_0x1c070f='✅';else{if(_0x28749c['status']===_0x5ca62b['bINyg'])_0x1c070f='🟢';else{if(_0x5ca62b[_0xa6bda9(0x103)](_0x28749c[_0xa6bda9(0x139)],'incomplete'))_0x1c070f='🟠';else{if(_0x28749c['status']===_0xa6bda9(0x13b))_0x1c070f='🛑';else{if(_0x5ca62b['FkmIp'](_0x28749c['status'],_0x5ca62b['oebME']))_0x1c070f='⛔';else _0x28749c['status']===_0x5ca62b[_0xa6bda9(0x141)]?_0x1c070f='⏳':_0x1c070f='⬜';}}}}const _0x2f3e49=_0x28749c['version']>0x1?_0xa6bda9(0x121)+_0x28749c['version']+')':'',_0x4576dd=_0x5ca62b['JsXjf'](_0x28749c[_0xa6bda9(0x126)],0x1)&&_0x28749c[_0xa6bda9(0x120)]&&_0x5ca62b['tZgaL'](_0x28749c[_0xa6bda9(0x139)],'closed')&&_0x28749c[_0xa6bda9(0x139)]!==_0x5ca62b[_0xa6bda9(0x90)]?'\x20[has\x20reviewer\x20feedback]':'';console['log'](_0xa6bda9(0xa3)+_0x5ca62b['ddtgh'](_0x264334,0x1)+'.\x20'+_0x1c070f+'\x20'+_0x28749c[_0xa6bda9(0x119)]+_0x2f3e49+_0x4576dd);_0x5ca62b[_0xa6bda9(0x85)](_0x28749c['status'],'blocked')&&_0x28749c['blockedReason']&&console['log']('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0x28749c[_0xa6bda9(0xd9)]);_0x5ca62b['XngjZ'](_0x28749c['status'],_0x5ca62b['YjfxS'])&&_0x28749c['incompleteReason']&&console[_0xa6bda9(0x71)](_0xa6bda9(0x140)+_0x28749c['incompleteReason']);if(_0x28749c[_0xa6bda9(0x139)]==='closed'&&_0x5ca62b['IlZWw'](_0x28749c['terminalReason'],_0x5ca62b['eUIsn']))console['log']('\x20\x20\x20\x20\x20\x20Approved');else _0x5ca62b[_0xa6bda9(0x85)](_0x28749c['status'],'closed')&&_0x28749c['canceledReason']&&console[_0xa6bda9(0x71)](_0xa6bda9(0xcf)+_0x28749c['canceledReason']);}}}export async function featureCreate(_0x1c135d,_0x2b0716){const _0x299324=_0x4550,_0x35f40a={'oDGED':function(_0x2a44c6){return _0x2a44c6();},'xEhWX':function(_0x48a2f0,_0xf3f374){return _0x48a2f0===_0xf3f374;},'sGzgu':function(_0x422416,_0x39d8d6){return _0x422416(_0x39d8d6);},'gmJql':function(_0xced8bd){return _0xced8bd();},'NegAc':function(_0x5d777c){return _0x5d777c();},'lVbKI':function(_0x2f1398,_0x53022a){return _0x2f1398(_0x53022a);},'KwnHH':function(_0x5bf146,_0x5eb948){return _0x5bf146(_0x5eb948);}},{envNames:_0x814ed5}=await _0x35f40a['oDGED'](getEnvNames);if(_0x35f40a['xEhWX'](_0x814ed5[_0x299324(0x13f)],0x0)&&!process['env']['RANGER_TEST_USERNAME']){let _0x3e31ca=0x0;try{_0x3e31ca=(await _0x35f40a['oDGED'](listCloudProfiles))[_0x299324(0x13f)];}catch{_0x3e31ca=0x1;}_0x3e31ca===0x0&&console[_0x299324(0x8c)]('\x0a'+_0x35f40a['sGzgu'](formatProfileRequiredMessage,_0x1ae27d=>bold(_0x1ae27d)));}const _0x3339f5=_0x2b0716[_0x299324(0x14a)]?_0x2b0716['scenarios'][_0x299324(0x10c)](_0xceb81c=>_0xceb81c[_0x299324(0x12a)]()):[],_0x35e44b=_0x35f40a['gmJql'](getGitRepoUrl),_0x5ce77b=_0x35f40a[_0x299324(0xe5)](getGitBranch);console['log'](_0x299324(0xec));const _0x353290=await _0x35f40a[_0x299324(0x13e)](createFeature,{'name':_0x1c135d,'description':_0x2b0716[_0x299324(0x119)],'checklist':_0x3339f5,'gitRepoUrl':_0x35e44b,'gitBranch':_0x5ce77b});await _0x35f40a['lVbKI'](setActiveFeatureId,_0x353290['id']),await _0x35f40a['KwnHH'](tryStartCurrentSession,_0x353290['id']);const _0x382715=process[_0x299324(0x11b)]['CLAUDE_SESSION_ID'];_0x382715&&registerSession(_0x382715,_0x353290['id']),console[_0x299324(0x71)](_0x299324(0x14b)+_0x353290['id']),displayFeature(_0x353290,_0x353290['checklistItems']),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x393aaa){const _0x5e368b=_0x4550,_0x5c1e21={'xtTGf':_0x5e368b(0xc4),'JaLFN':function(_0x11ca80,_0x4c4c90){return _0x11ca80+_0x4c4c90;}},_0x34a0e1={'limit':_0x393aaa[_0x5e368b(0xaa)]??0xa,'offset':_0x393aaa['offset']??0x0,'includeDeleted':_0x393aaa[_0x5e368b(0x135)]};_0x393aaa['currentBranch']&&(_0x34a0e1['gitRepoUrl']=getGitRepoUrl(),_0x34a0e1[_0x5e368b(0xb8)]=getGitBranch());const _0xaf668=await listFeatures(_0x34a0e1);if(_0xaf668['items']['length']===0x0){console['log'](_0x5c1e21['xtTGf']);return;}const _0x39f254=_0xaf668[_0x5e368b(0x8a)]>_0xaf668[_0x5e368b(0x134)]['length']?'Showing\x20'+_0xaf668[_0x5e368b(0x134)][_0x5e368b(0x13f)]+'\x20of\x20'+_0xaf668['totalCount']:_0xaf668[_0x5e368b(0x8a)]+'\x20feature\x20review(s)\x20found';console['log']('\x0a'+_0x39f254+':\x0a');for(const _0xa02af9 of _0xaf668[_0x5e368b(0x134)]){console[_0x5e368b(0x71)](''+_0xa02af9['name']),console['log'](_0x5e368b(0xc2)+_0xa02af9['id']),_0xa02af9[_0x5e368b(0xa0)]&&console['log'](_0x5e368b(0x14d)+getProgressDisplay(_0xa02af9['stats'])),_0xa02af9[_0x5e368b(0xb8)]&&console['log']('\x20\x20\x20Branch:\x20'+_0xa02af9[_0x5e368b(0xb8)]),console[_0x5e368b(0x71)]('\x20\x20\x20Created:\x20'+new Date(_0xa02af9['createdAt'])['toLocaleDateString']()),console['log']('');}const _0x29340d=_0x34a0e1[_0x5e368b(0xaa)]??0xa,_0x55c88b=_0x5c1e21[_0x5e368b(0xfd)](_0x34a0e1[_0x5e368b(0xae)]??0x0,_0xaf668[_0x5e368b(0x134)][_0x5e368b(0x13f)]);if(_0x55c88b<_0xaf668['totalCount']){const _0x16ae16=_0x29340d!==0xa?'\x20--limit\x20'+_0x29340d:'',_0x1e4036=_0x393aaa['currentBranch']?_0x5e368b(0x149):'',_0x320718=_0x393aaa['includeDeleted']?'\x20--include-deleted':'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x55c88b+_0x16ae16+_0x1e4036+_0x320718);}}export async function featureShow(_0x1a4064){const _0x312edb=_0x4550,_0x39c414={'WMoul':_0x312edb(0xcc)},_0x11f114=_0x1a4064||await getActiveFeatureId();if(!_0x11f114)throw new Error(_0x39c414[_0x312edb(0xb7)]);const _0x6b9315=await getFeature(_0x11f114);displayFeature(_0x6b9315,_0x6b9315[_0x312edb(0xd0)]);}export async function featureResume(_0x5679fc){const _0x2a76f5=_0x4550,_0x100aab={'XdWdX':function(_0x512de4){return _0x512de4();},'cpgIq':function(_0x55fe1,_0x50be69){return _0x55fe1!==_0x50be69;},'CWYOj':function(_0x4b2da4,_0x2bddec){return _0x4b2da4(_0x2bddec);},'sGzBw':function(_0x306cb0){return _0x306cb0();},'lTBvL':function(_0x4b9acf,_0xd31aa7){return _0x4b9acf&&_0xd31aa7;},'NmXKy':_0x2a76f5(0xbf),'vFTBj':function(_0x505535,_0x3a2332){return _0x505535||_0x3a2332;},'wVWGI':'any','Qepxl':function(_0x120623,_0x1f86ad){return _0x120623(_0x1f86ad);},'vfyQt':function(_0x2f62e8,_0x1b1bcb){return _0x2f62e8===_0x1b1bcb;},'pKqQJ':_0x2a76f5(0x123),'LmHDs':_0x2a76f5(0x8b),'hvNIL':_0x2a76f5(0xf4),'zPTHU':function(_0x11ae1e,_0x18c32e){return _0x11ae1e(_0x18c32e);},'tQDrO':function(_0x4c9629,_0x2e73ca,_0x11713c){return _0x4c9629(_0x2e73ca,_0x11713c);},'NknCz':function(_0x4036e7,_0xa2df29){return _0x4036e7(_0xa2df29);}};if(_0x5679fc){const _0x32eed3=await getFeature(_0x5679fc);await setActiveFeatureId(_0x32eed3['id']);const _0x47c04b=_0x100aab[_0x2a76f5(0xea)](getGitBranch);_0x47c04b&&_0x100aab[_0x2a76f5(0x13a)](_0x47c04b,_0x32eed3['gitBranch'])&&(await updateFeature(_0x32eed3['id'],{'gitBranch':_0x47c04b}),console[_0x2a76f5(0x71)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x47c04b));console['log'](_0x2a76f5(0xe3)+_0x32eed3['name']+'\x20('+_0x32eed3['id']+')'),await _0x100aab[_0x2a76f5(0x110)](tryStartCurrentSession,_0x32eed3['id']);const _0x3d45dd=process[_0x2a76f5(0x11b)]['CLAUDE_SESSION_ID'];_0x3d45dd&&registerSession(_0x3d45dd,_0x32eed3['id']);displayFeature(_0x32eed3,_0x32eed3[_0x2a76f5(0xd0)]),await _0x100aab[_0x2a76f5(0x110)](printFeedbackNudge,_0x32eed3['id']);return;}const _0x159056=getGitRepoUrl(),_0x5c4bfd=_0x100aab['sGzBw'](getGitBranch);if(_0x100aab['lTBvL'](!_0x159056,!_0x5c4bfd))throw new Error(_0x100aab['NmXKy']);console[_0x2a76f5(0x71)](_0x2a76f5(0x114)+(_0x159056||_0x2a76f5(0xc9))+'\x20/\x20'+_0x100aab['vFTBj'](_0x5c4bfd,_0x100aab['wVWGI'])+_0x2a76f5(0x111));const _0x4a9d61=await _0x100aab[_0x2a76f5(0x10f)](listFeatures,{'gitRepoUrl':_0x159056,'gitBranch':_0x5c4bfd}),_0x1d6ddb=_0x4a9d61['items'][_0x2a76f5(0xdf)](_0x3e5366=>_0x3e5366['status']?_0x3e5366[_0x2a76f5(0x139)]!==_0x2a76f5(0x9a):!_0x3e5366['completedAt']);if(_0x100aab['vfyQt'](_0x1d6ddb['length'],0x0)){console[_0x2a76f5(0x71)](_0x100aab['pKqQJ']),console['log']('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0x8ef568;if(_0x1d6ddb[_0x2a76f5(0x13f)]===0x1)_0x8ef568=_0x1d6ddb[0x0];else{const _0x5dfc4b=process['stdin']['isTTY']&&process[_0x2a76f5(0x93)]['isTTY'];if(!_0x5dfc4b){console['log']('\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:');for(const _0x3ffb67 of _0x1d6ddb){console[_0x2a76f5(0x71)]('\x20\x20'+_0x3ffb67[_0x2a76f5(0xac)]),console[_0x2a76f5(0x71)]('\x20\x20\x20\x20\x20ID:\x20'+_0x3ffb67['id']),_0x3ffb67['stats']&&console[_0x2a76f5(0x71)]('\x20\x20\x20\x20\x20Progress:\x20'+_0x100aab['Qepxl'](getProgressDisplay,_0x3ffb67[_0x2a76f5(0xa0)])),_0x3ffb67['gitBranch']&&console[_0x2a76f5(0x71)]('\x20\x20\x20\x20\x20Branch:\x20'+_0x3ffb67['gitBranch']);}throw new Error('Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>');}const {selected:_0x4315fb}=await _0x550f7e[_0x2a76f5(0xbc)]([{'type':_0x2a76f5(0x6d),'name':_0x100aab['LmHDs'],'message':_0x100aab[_0x2a76f5(0x7b)],'choices':_0x1d6ddb['map'](_0x212040=>({'name':_0x212040['name']+'\x20('+_0x212040['id']+')','value':_0x212040['id']}))}]);_0x8ef568=_0x1d6ddb[_0x2a76f5(0x11c)](_0x1d6d90=>_0x1d6d90['id']===_0x4315fb);}await _0x100aab[_0x2a76f5(0xe9)](setActiveFeatureId,_0x8ef568['id']);_0x5c4bfd&&_0x100aab[_0x2a76f5(0x13a)](_0x5c4bfd,_0x8ef568[_0x2a76f5(0xb8)])&&(await _0x100aab['tQDrO'](updateFeature,_0x8ef568['id'],{'gitBranch':_0x5c4bfd}),console[_0x2a76f5(0x71)](_0x2a76f5(0xa1)+_0x5c4bfd));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x8ef568['name']+'\x20('+_0x8ef568['id']+')'),await tryStartCurrentSession(_0x8ef568['id']);const _0x144515=await _0x100aab[_0x2a76f5(0x7a)](getFeature,_0x8ef568['id']),_0x1493d4=process['env']['CLAUDE_SESSION_ID'];_0x1493d4&&registerSession(_0x1493d4,_0x144515['id']),_0x100aab[_0x2a76f5(0x86)](displayFeature,_0x144515,_0x144515['checklistItems']),await _0x100aab[_0x2a76f5(0x7a)](printFeedbackNudge,_0x144515['id']);}async function printFeedbackNudge(_0x4da274){const _0x1ea4b9=_0x4550,_0x496491={'xYruA':function(_0x4a43fd,_0x13c204){return _0x4a43fd>_0x13c204;},'xEtkD':'\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'};try{const {items:_0x2242a6}=await getActionItems(_0x4da274);let _0x12f8c5=0x0,_0xe5f2e3=0x0;for(const _0x89920e of _0x2242a6){const _0x39e8e2=await getItemFeedback(_0x4da274,_0x89920e['id']);_0x39e8e2[_0x1ea4b9(0x80)][_0x1ea4b9(0x13f)]>0x0&&(_0x12f8c5+=_0x39e8e2['unaddressedComments'][_0x1ea4b9(0x13f)],_0xe5f2e3++);}_0x496491['xYruA'](_0x12f8c5,0x0)&&(console[_0x1ea4b9(0x71)](_0x1ea4b9(0x9b)+_0x12f8c5+_0x1ea4b9(0x9d)+_0xe5f2e3+_0x1ea4b9(0xef)),console['log'](_0x496491[_0x1ea4b9(0x127)]));}catch{}}async function tryStartCurrentSession(_0xb29cac){const _0x147c40=_0x4550,_0x4bebff={'KxioH':function(_0x2d6a0b,_0x149994){return _0x2d6a0b(_0x149994);}};try{const {sessions:_0x38f37e}=await _0x4bebff['KxioH'](listFeatureSessions,_0xb29cac),_0x200eda=_0x38f37e['find'](_0x281278=>_0x281278['status']===_0x147c40(0x138));_0x200eda&&(await startSession(_0xb29cac,_0x200eda['id']),console['log'](_0x147c40(0xd4)+_0x200eda['iteration']));}catch{}}export async function featureReport(_0xbaa47a,_0x495bb5){const _0x35dc29=_0x4550,_0x1f6759={'bYYtw':function(_0x20a4fe){return _0x20a4fe();},'lZqvI':function(_0x81d11c){return _0x81d11c();},'cuEYp':_0x35dc29(0x109),'wrvgf':'utf-8'},_0xacdff7=_0xbaa47a||await _0x1f6759['bYYtw'](getActiveFeatureId);if(!_0xacdff7)throw new Error(_0x35dc29(0x10b));console['log']('\x0aGenerating\x20report...');const _0x599ee6=await getFeatureReportMarkdown(_0xacdff7,{'style':_0x495bb5[_0x35dc29(0xf2)]}),_0x458148=_0x495bb5['output']||join(_0x1f6759['lZqvI'](getRangerDir),_0x1f6759['cuEYp'],_0xacdff7+'.md'),_0x4fbda1=join(_0x458148,'..');!existsSync(_0x4fbda1)&&await mkdir(_0x4fbda1,{'recursive':!![]}),await writeFile(_0x458148,_0x599ee6,_0x1f6759['wrvgf']),console['log']('\x0a✅\x20Report\x20generated:\x20'+_0x458148);}function getScenarioResult(_0x348e38){const _0x364a84=_0x4550,_0x448e1b={'PheYv':function(_0x47cd55,_0x3225a8){return _0x47cd55===_0x3225a8;},'wmuam':function(_0x381b75,_0x1684d5){return _0x381b75===_0x1684d5;}};if(_0x448e1b['PheYv'](_0x348e38[_0x364a84(0x139)],_0x364a84(0xaf)))return _0x348e38[_0x364a84(0xc1)]??_0x364a84(0xaf);if(_0x448e1b['wmuam'](_0x348e38[_0x364a84(0x139)],_0x364a84(0xdd)))return _0x364a84(0xd3);return _0x348e38[_0x364a84(0x139)];}function getScenarioRationale(_0x3bf43b,_0x24e75c){const _0x3342b8=_0x4550,_0x3e6abb={'BUwYO':_0x3342b8(0xce)},_0x1d2a3c=_0x3e6abb[_0x3342b8(0x104)]['split']('|');let _0xaea018=0x0;while(!![]){switch(_0x1d2a3c[_0xaea018++]){case'0':if(_0x3bf43b['incompleteReason'])return _0x3bf43b[_0x3342b8(0xda)];continue;case'1':if(_0x24e75c)return _0x24e75c;continue;case'2':if(_0x3bf43b['canceledReason'])return _0x3bf43b[_0x3342b8(0xbb)];continue;case'3':if(_0x3bf43b['notes'])return _0x3bf43b[_0x3342b8(0x7f)];continue;case'4':if(_0x3bf43b[_0x3342b8(0xd9)])return _0x3bf43b['blockedReason'];continue;case'5':return null;}break;}}export async function featureReportPrDescription(_0x3358dc,_0x2322d4){const _0x1550e3=_0x4550,_0x3c3558={'WzJKM':_0x1550e3(0x10b),'tnkrT':function(_0x132dba,_0x501ae5,_0x2a1b40){return _0x132dba(_0x501ae5,_0x2a1b40);},'FDwMJ':function(_0x473706,_0x57b37c){return _0x473706===_0x57b37c;},'aTeOh':function(_0x3c97a6,_0x12f9d9){return _0x3c97a6>_0x12f9d9;},'xrFld':'\x0aAvailable\x20scenarios:','ckEwF':function(_0x4c82c8,_0xf33925){return _0x4c82c8<_0xf33925;},'HjFGS':function(_0x2788a5,_0x25d55b,_0x2779d7,_0x185e89){return _0x2788a5(_0x25d55b,_0x2779d7,_0x185e89);},'JZHgJ':function(_0x282c7f,_0x1196cd,_0x2737c5){return _0x282c7f(_0x1196cd,_0x2737c5);}},_0x17c16f=_0x3358dc||await getActiveFeatureId();if(!_0x17c16f)throw new Error(_0x3c3558['WzJKM']);const _0x44779f=await getFeature(_0x17c16f),_0x5c9d02=_0x44779f[_0x1550e3(0xd0)]||[],_0x1f127a=_0x3c3558[_0x1550e3(0xeb)](getCurrentSessionItems,_0x44779f,_0x5c9d02);_0x3c3558['FDwMJ'](_0x1f127a[_0x1550e3(0x13f)],0x0)&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.'),process['exit'](0x1));const _0x4fb2ca=_0x2322d4['excludeScenarios']??[],_0x26ff72=_0x4fb2ca[_0x1550e3(0xdf)](_0x121c1f=>!Number[_0x1550e3(0x12d)](_0x121c1f)||_0x121c1f<0x1||_0x121c1f>_0x1f127a['length']);if(_0x3c3558[_0x1550e3(0x91)](_0x26ff72[_0x1550e3(0x13f)],0x0)){console['error'](_0x1550e3(0xe4)+_0x26ff72['join'](',\x20')),console[_0x1550e3(0x71)](_0x3c3558['xrFld']);for(let _0x5ed8d3=0x0;_0x3c3558['ckEwF'](_0x5ed8d3,_0x1f127a[_0x1550e3(0x13f)]);_0x5ed8d3++){console['log']('\x20\x20'+(_0x5ed8d3+0x1)+'.\x20'+_0x1f127a[_0x5ed8d3][_0x1550e3(0x119)]);}process['exit'](0x1);}const _0x3a1d68=new Set(_0x4fb2ca[_0x1550e3(0x10c)](_0x2cb183=>_0x2cb183-0x1)),_0x4ef97f=_0x1f127a[_0x1550e3(0xdf)]((_0x45232b,_0x50cef9)=>!_0x3a1d68['has'](_0x50cef9));_0x4ef97f[_0x1550e3(0x13f)]===0x0&&(console['error']('\x0a❌\x20All\x20scenarios\x20were\x20excluded.'),process[_0x1550e3(0x100)](0x1));if(_0x2322d4[_0x1550e3(0xd1)])await _0x3c3558[_0x1550e3(0xbd)](outputJsonReport,_0x17c16f,_0x44779f,_0x4ef97f);else{const _0x1c5d97=await _0x3c3558[_0x1550e3(0x12b)](getFeatureReportMarkdown,_0x17c16f,{'itemIds':_0x4ef97f[_0x1550e3(0x10c)](_0x133f7a=>_0x133f7a['id'])});process['stdout'][_0x1550e3(0xf9)](_0x1c5d97[_0x1550e3(0x95)]()+'\x0a');}}async function outputJsonReport(_0x39f3be,_0x3194ae,_0x4dcd08){const _0x3a661b=_0x4550,_0xe5aa88={'fjuAu':function(_0x9d224d,_0x12553d){return _0x9d224d(_0x12553d);},'LHqMf':function(_0xde39b0,_0x4dec84){return _0xde39b0===_0x4dec84;},'Bivdb':function(_0x5b427b,_0x3d5341,_0x2c9038){return _0x5b427b(_0x3d5341,_0x2c9038);},'cASNs':function(_0x1cb7b8,_0x46846f){return _0x1cb7b8(_0x46846f);}},_0x3c2b69=getApiBaseUrl(),_0x381b5b=await _0xe5aa88['cASNs'](getFeatureReport,_0x39f3be),_0x7d4b66=new Map(_0x381b5b['checklistItems']['map'](_0x2b4b62=>[_0x2b4b62['id'],_0x2b4b62])),_0x3b9f2a=await Promise['all'](_0x4dcd08[_0x3a661b(0x10c)](async _0x48cbb5=>{const _0x28d802=_0x3a661b,_0x451e4e=_0x7d4b66['get'](_0x48cbb5['id']),_0x3d8d60=_0x451e4e?.['linkedSession']??null;let _0x3962fa=[];if(_0x48cbb5[_0x28d802(0x72)])try{const {steps:_0x1ce6d1}=await _0xe5aa88[_0x28d802(0x8d)](getBrowserSessionSteps,_0x48cbb5[_0x28d802(0x72)]);_0x1ce6d1['length']>0x0&&(_0x3962fa=_0x1ce6d1['map'](_0x208d1c=>{const _0x15407e=_0x28d802,_0x5082b8=_0x208d1c[_0x15407e(0xa2)]['find'](_0x185f0c=>_0x185f0c[_0x15407e(0xad)]===_0x15407e(0xc7)&&_0x185f0c[_0x15407e(0xd7)]==='after')??_0x208d1c[_0x15407e(0xa2)][_0x15407e(0x11c)](_0x26de4a=>_0x26de4a[_0x15407e(0xad)]==='screenshot');let _0x10d845=null,_0x3026f7=null;if(_0x5082b8){const _0x5b3b52=_0x5082b8[_0x15407e(0x76)][_0x15407e(0xc5)]['split']('/')['pop']();_0x10d845=_0x3c2b69+'/api/v1/mcp/browser-sessions/'+_0x48cbb5['browserSessionId']+_0x15407e(0x81)+_0x5b3b52,_0x5b3b52&&(_0x3026f7=_0x5b3b52['replace'](/\.\w+$/,'')[_0x15407e(0x108)](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x3026f7||_0x208d1c['description']||_0x208d1c['stepName']||'Step\x20'+_0x208d1c[_0x15407e(0x89)],'screenshot':_0x10d845,'is_key_step':_0x208d1c['isKeyStep']};}));}catch{}return _0xe5aa88[_0x28d802(0xf3)](_0x3962fa[_0x28d802(0x13f)],0x0)&&_0x3d8d60?.['screenshotUrls']&&(_0x3962fa=_0x3d8d60[_0x28d802(0x102)]['map']((_0x2975c4,_0x480553)=>({'description':'Screenshot\x20'+(_0x480553+0x1),'screenshot':_0x2975c4,'is_key_step':![]}))),{'description':_0x48cbb5[_0x28d802(0x119)],'result':getScenarioResult(_0x48cbb5),'rationale':_0xe5aa88['Bivdb'](getScenarioRationale,_0x48cbb5,_0x3d8d60?.['agentResponse']),'steps':_0x3962fa};})),_0x23d60b={'url':_0x3194ae[_0x3a661b(0x75)],'scenarios':_0x3b9f2a};process[_0x3a661b(0x93)]['write'](JSON['stringify'](_0x23d60b,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x3fd1d6){const _0x330cb3=_0x4550,_0x6191dc={'QYSNN':_0x330cb3(0xcc),'MNhWE':_0x330cb3(0xfc),'ClnQD':function(_0x3230a3,_0x16001c){return _0x3230a3(_0x16001c);},'tsNaf':_0x330cb3(0xf7),'WgwXg':function(_0xcaf140,_0x104850){return _0xcaf140===_0x104850;},'UVJXR':_0x330cb3(0xd3),'soSKV':_0x330cb3(0x137)},_0x2d5df6=_0x3fd1d6||await getActiveFeatureId();if(!_0x2d5df6)throw new Error(_0x6191dc[_0x330cb3(0x12c)]);const _0x560b71=await getFeature(_0x2d5df6);if(!_0x560b71[_0x330cb3(0x10d)])throw new Error(_0x6191dc['MNhWE']);const {sessions:_0x2beea4}=await _0x6191dc['ClnQD'](listFeatureSessions,_0x2d5df6),_0x118802=_0x2beea4[_0x330cb3(0x11c)](_0x174138=>_0x174138['id']===_0x560b71[_0x330cb3(0x10d)]);if(!_0x118802)throw new Error(_0x6191dc[_0x330cb3(0x11a)]);if(_0x6191dc[_0x330cb3(0xa4)](_0x118802['status'],'completed')){console['log'](_0x330cb3(0xb0));return;}if(_0x118802['status']!==_0x6191dc[_0x330cb3(0x115)])throw new Error(_0x330cb3(0x8e)+_0x118802[_0x330cb3(0x139)]);console[_0x330cb3(0x71)](_0x6191dc[_0x330cb3(0x105)]),await concludeSession(_0x2d5df6,_0x560b71['currentSessionId']),console['log']('\x0a✅\x20Session\x20'+_0x118802[_0x330cb3(0xca)]+'\x20concluded.'),console['log'](_0x330cb3(0x148));}export async function featureSessions(_0x2af00d){const _0x3fa1ad=_0x4550,_0x5c680a={'TcwEJ':function(_0x1409b8){return _0x1409b8();},'iyllo':function(_0x199bb8,_0x3eb632){return _0x199bb8(_0x3eb632);},'skdAg':function(_0x26ff34,_0x3ef322){return _0x26ff34(_0x3ef322);},'NoOht':function(_0x499e7e,_0x21c359){return _0x499e7e===_0x21c359;},'mcvzS':function(_0x9acd67,_0x1876d1){return _0x9acd67===_0x1876d1;},'tHdkr':'in_progress'},_0x253884=_0x2af00d||await _0x5c680a['TcwEJ'](getActiveFeatureId);if(!_0x253884)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0x39d353=await _0x5c680a[_0x3fa1ad(0x129)](getFeature,_0x253884);console[_0x3fa1ad(0x71)](_0x3fa1ad(0x107)+_0x39d353[_0x3fa1ad(0xac)]+'\x0a');const {sessions:_0x14805f}=await _0x5c680a['skdAg'](listFeatureSessions,_0x253884);if(_0x5c680a[_0x3fa1ad(0xed)](_0x14805f['length'],0x0)){console['log']('No\x20sessions\x20found.');return;}for(const _0x2d359b of _0x14805f){const _0x12609a=_0x2d359b[_0x3fa1ad(0x139)]===_0x3fa1ad(0xa5)?'✅':_0x5c680a[_0x3fa1ad(0x6c)](_0x2d359b['status'],_0x5c680a[_0x3fa1ad(0x118)])?'🔄':'▶️';console[_0x3fa1ad(0x71)](_0x12609a+_0x3fa1ad(0x6f)+_0x2d359b['iteration']+'\x20('+_0x2d359b['id']+')'),console[_0x3fa1ad(0x71)](_0x3fa1ad(0x9f)+_0x2d359b['status']),console['log'](_0x3fa1ad(0x6e)+new Date(_0x2d359b[_0x3fa1ad(0xa8)])[_0x3fa1ad(0x11f)]()),_0x2d359b[_0x3fa1ad(0x92)]&&console[_0x3fa1ad(0x71)](_0x3fa1ad(0x78)+new Date(_0x2d359b[_0x3fa1ad(0x92)])[_0x3fa1ad(0x11f)]()),console[_0x3fa1ad(0x71)]('');}}export async function featureAddScenario(_0x58f177,_0x4a8084){const _0x34c369=_0x4550,_0x27caf1={'eQCzl':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'},_0x8b10ad=_0x4a8084||await getActiveFeatureId();if(!_0x8b10ad)throw new Error(_0x27caf1['eQCzl']);const _0x51ccc7=await getFeature(_0x8b10ad);if(_0x51ccc7['latestReview']&&!_0x51ccc7['latestReview']['submittedAt'])throw new Error(_0x34c369(0x88)+_0x51ccc7['dashboardUrl']);await createChecklistItem(_0x8b10ad,_0x58f177);const _0x3200b7=await getFeature(_0x8b10ad);console[_0x34c369(0x71)](_0x34c369(0x74)),displayFeature(_0x3200b7,_0x3200b7['checklistItems']);}export async function featureEditScenario(_0x4bf6ca,_0x5e6879){const _0x117ed1=_0x4550,_0x1f0d00={'ZibLl':_0x117ed1(0x70),'WRAsp':function(_0x3395c9,_0x453e11){return _0x3395c9===_0x453e11;},'wGIGy':function(_0x44c3c1,_0x6ef4ae){return _0x44c3c1<_0x6ef4ae;},'biAnR':function(_0x3b5f97,_0x1f4cbd){return _0x3b5f97>=_0x1f4cbd;},'tRKex':'\x0aAvailable\x20scenarios:','AvgMk':function(_0x3485ea,_0x3e2381){return _0x3485ea<_0x3e2381;},'wVnnc':function(_0x3bf2aa,_0x487257){return _0x3bf2aa+_0x487257;},'Spwzx':function(_0xa72f9c,_0x5c748e,_0x240957,_0x3db005){return _0xa72f9c(_0x5c748e,_0x240957,_0x3db005);},'bNejK':function(_0x57e73b,_0x55ecd4){return _0x57e73b(_0x55ecd4);}},_0x5ee143=_0x5e6879['id']||await getActiveFeatureId();!_0x5ee143&&(console['error'](_0x117ed1(0xfb)),console['error']('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process[_0x117ed1(0x100)](0x1));const _0x20fdb9=await getFeature(_0x5ee143);_0x20fdb9[_0x117ed1(0xf6)]&&!_0x20fdb9['latestReview']['submittedAt']&&(console['error'](_0x1f0d00['ZibLl']),console[_0x117ed1(0x82)]('Please\x20finish\x20your\x20review\x20first:'),console[_0x117ed1(0x82)]('\x20\x20'+_0x20fdb9[_0x117ed1(0x75)]),process[_0x117ed1(0x100)](0x1));const _0x1034d8=_0x20fdb9[_0x117ed1(0xd0)]||[];_0x1034d8[_0x117ed1(0x13f)]===0x0&&(console[_0x117ed1(0x82)](_0x117ed1(0x99)),process[_0x117ed1(0x100)](0x1));if(_0x1f0d00[_0x117ed1(0x113)](_0x5e6879[_0x117ed1(0xdc)],undefined)){console[_0x117ed1(0x82)]('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console[_0x117ed1(0x71)](_0x117ed1(0xb3));for(let _0x1bfbca=0x0;_0x1f0d00[_0x117ed1(0xe0)](_0x1bfbca,_0x1034d8['length']);_0x1bfbca++){console['log']('\x20\x20'+(_0x1bfbca+0x1)+'.\x20'+_0x1034d8[_0x1bfbca]['description']);}process['exit'](0x1);}const _0x2f3149=_0x5e6879['scenario']-0x1;if(_0x1f0d00[_0x117ed1(0xe0)](_0x2f3149,0x0)||_0x1f0d00[_0x117ed1(0xf8)](_0x2f3149,_0x1034d8['length'])){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x5e6879[_0x117ed1(0xdc)]+'.\x20Feature\x20review\x20has\x20'+_0x1034d8['length']+_0x117ed1(0x96)),console[_0x117ed1(0x71)](_0x1f0d00[_0x117ed1(0x146)]);for(let _0x19e861=0x0;_0x1f0d00['AvgMk'](_0x19e861,_0x1034d8[_0x117ed1(0x13f)]);_0x19e861++){console[_0x117ed1(0x71)]('\x20\x20'+_0x1f0d00[_0x117ed1(0xd8)](_0x19e861,0x1)+'.\x20'+_0x1034d8[_0x19e861][_0x117ed1(0x119)]);}process['exit'](0x1);}const _0x7022c7=_0x1034d8[_0x2f3149];await _0x1f0d00[_0x117ed1(0x87)](updateChecklistItem,_0x5ee143,_0x7022c7['id'],{'description':_0x4bf6ca});const _0xecdee8=await _0x1f0d00['bNejK'](getFeature,_0x5ee143);console[_0x117ed1(0x71)](_0x117ed1(0xba)),displayFeature(_0xecdee8,_0xecdee8['checklistItems']);}async function downloadFeedbackImage(_0x380e40,_0x5b404b){const _0x3c1ee2=_0x4550,_0x2a332f={'ZnZQL':function(_0x104310,_0x2150ea,_0x1aabf9){return _0x104310(_0x2150ea,_0x1aabf9);},'CckYa':function(_0x39429b,_0x13eba4){return _0x39429b(_0x13eba4);},'eNIcs':function(_0x269c00,_0x2faff5,_0x3c6a95){return _0x269c00(_0x2faff5,_0x3c6a95);}};try{const _0x37471c=_0x2a332f[_0x3c1ee2(0xee)](join,getRangerDir(),_0x3c1ee2(0xde));await mkdir(_0x37471c,{'recursive':!![]});const _0x33ff95=join(_0x37471c,'comment_'+_0x5b404b+'.png'),_0x5467fe=await _0x2a332f['CckYa'](fetch,_0x380e40);if(!_0x5467fe['ok'])return null;const _0x9059c0=Buffer['from'](await _0x5467fe['arrayBuffer']());return await _0x2a332f[_0x3c1ee2(0x84)](writeFile,_0x33ff95,_0x9059c0),_0x33ff95;}catch{return null;}}export async function featureGetReview(_0x549fb3){const _0x41f10f=_0x4550,_0x26af10={'ViETi':function(_0x4543de){return _0x4543de();},'CvujG':_0x41f10f(0xcc),'yGghw':function(_0x3884ec,_0x3f4c03){return _0x3884ec(_0x3f4c03);},'QbmwW':function(_0xe2c11d,_0x16f9fe){return _0xe2c11d===_0x16f9fe;},'fsrZa':_0x41f10f(0xb9),'ALGXw':function(_0x5a73f1,_0x379740,_0x579f53){return _0x5a73f1(_0x379740,_0x579f53);},'cEKFV':function(_0x25420a,_0x557460){return _0x25420a>_0x557460;},'hmtBk':_0x41f10f(0x12e),'lIViL':'numeric','TGynT':_0x41f10f(0xff),'fQnJN':'point','jpygp':function(_0x3b0c50,_0x49f9ab){return _0x3b0c50>=_0x49f9ab;}},_0x2488dd=_0x549fb3||await _0x26af10['ViETi'](getActiveFeatureId);if(!_0x2488dd)throw new Error(_0x26af10[_0x41f10f(0x13c)]);const _0x4b884a=await _0x26af10['yGghw'](getFeature,_0x2488dd),{items:_0x29b1a7}=await _0x26af10['yGghw'](getActionItems,_0x2488dd);console[_0x41f10f(0x71)](_0x41f10f(0xa6)+_0x4b884a['name']+'\x20('+_0x4b884a['id']+')\x0a');if(_0x26af10['QbmwW'](_0x29b1a7[_0x41f10f(0x13f)],0x0)){console['log'](_0x26af10[_0x41f10f(0xb5)]);return;}for(let _0x1853b5=0x0;_0x1853b5<_0x29b1a7[_0x41f10f(0x13f)];_0x1853b5++){const _0x56f550=_0x29b1a7[_0x1853b5],_0x50e6ac=_0x56f550[_0x41f10f(0x126)]>0x1?_0x41f10f(0x121)+_0x56f550[_0x41f10f(0x126)]+')':'',_0x407897=await _0x26af10['ALGXw'](getItemFeedback,_0x2488dd,_0x56f550['id']);if(_0x26af10[_0x41f10f(0x143)](_0x407897[_0x41f10f(0x80)]['length'],0x0)){console['log'](_0x41f10f(0xe2)+(_0x1853b5+0x1)+_0x41f10f(0x116)+_0x56f550[_0x41f10f(0x119)]+'\x22'+_0x50e6ac+_0x41f10f(0xe8)+_0x407897['unaddressedComments'][_0x41f10f(0x13f)]+'\x20unaddressed\x20comment(s)');for(const _0x35a782 of _0x407897['unaddressedComments']){const _0x47e0af=new Date(_0x35a782['createdAt'])[_0x41f10f(0xb4)]('en-US',{'month':_0x26af10[_0x41f10f(0x133)],'day':_0x26af10['lIViL']}),_0x516bed=_0x35a782['authorName']||_0x35a782[_0x41f10f(0xd2)]||_0x26af10['TGynT'];console[_0x41f10f(0x71)]('\x20\x20💬\x20'+_0x516bed+'\x20('+_0x47e0af+_0x41f10f(0xb2)+_0x35a782['content']+'\x22');if(_0x35a782['assetUrl']){const _0x16e4cd=await downloadFeedbackImage(_0x35a782['assetUrl'],_0x35a782['id']);_0x16e4cd&&console[_0x41f10f(0x71)](_0x41f10f(0xdb)+_0x16e4cd);}if(_0x35a782['domRef']){const _0x182e2a=_0x35a782['domRef'][_0x41f10f(0x131)]['split'](_0x41f10f(0xd6))[_0x41f10f(0x10a)]()?.[_0x41f10f(0x14c)](':')[0x0]||'element',_0x14c168=_0x35a782[_0x41f10f(0x10e)][_0x41f10f(0x94)]?'\x20\x22'+_0x35a782[_0x41f10f(0x10e)]['textContent'][_0x41f10f(0xb6)](0x0,0x3c)+'\x22':'';console['log']('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x182e2a+'>'+_0x14c168),console[_0x41f10f(0x71)](_0x41f10f(0x83)+_0x35a782[_0x41f10f(0x10e)][_0x41f10f(0x131)]);}else{if(_0x35a782[_0x41f10f(0x97)]){const _0x4120a2=_0x35a782['spatial']['coordinates'];_0x35a782[_0x41f10f(0x97)][_0x41f10f(0x142)]===_0x26af10[_0x41f10f(0x8f)]&&_0x26af10['jpygp'](_0x4120a2['length'],0x2)?console['log'](_0x41f10f(0x77)+_0x4120a2[0x0][_0x41f10f(0x11d)](0x2)+',\x20'+_0x4120a2[0x1][_0x41f10f(0x11d)](0x2)+')'):console[_0x41f10f(0x71)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x35a782['spatial']['type']+_0x41f10f(0x132)+_0x4120a2['map'](_0x20232d=>_0x20232d[_0x41f10f(0x11d)](0x2))[_0x41f10f(0xbe)](',\x20')+']');}}}if(_0x407897[_0x41f10f(0x117)]){console['log'](_0x41f10f(0xc6));for(const _0x363848 of _0x407897['canonicalFlow']['split']('\x0a')){console['log']('\x20\x20\x20\x20'+_0x363848);}}}else console['log']('Scenario\x20'+(_0x1853b5+0x1)+':\x20\x22'+_0x56f550[_0x41f10f(0x119)]+'\x22'+_0x50e6ac+_0x41f10f(0xc0)),console[_0x41f10f(0x71)](_0x41f10f(0x130));console['log']('');}}export async function featureDelete(_0x3bd2b5){const _0x4036aa=_0x4550,_0x52475f={'tUshJ':function(_0x13122e){return _0x13122e();},'hetfZ':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','lRxYh':function(_0x454152,_0x4d6c6a){return _0x454152(_0x4d6c6a);}},_0x22f733=_0x3bd2b5||await _0x52475f['tUshJ'](getActiveFeatureId);if(!_0x22f733)throw new Error(_0x52475f[_0x4036aa(0x122)]);const _0x1e4718=await _0x52475f[_0x4036aa(0xab)](getFeature,_0x22f733);await softDeleteFeature(_0x22f733),console['log'](_0x4036aa(0xfa)+_0x1e4718[_0x4036aa(0xac)]+'\x20('+_0x22f733+')'),console[_0x4036aa(0x71)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'+_0x22f733);}export async function featureRestore(_0x3c4032){const _0x4ed1fc=_0x4550,_0x588c16={'LvhIf':function(_0x27fb85,_0x2bf451){return _0x27fb85(_0x2bf451);},'JwlZq':function(_0x3ec475,_0x21e3a0){return _0x3ec475(_0x21e3a0);},'ExQoz':function(_0x38b191,_0x41ff82,_0x221828){return _0x38b191(_0x41ff82,_0x221828);}};await _0x588c16['LvhIf'](restoreFeature,_0x3c4032);const _0x1b67c0=await _0x588c16[_0x4ed1fc(0x7d)](getFeature,_0x3c4032);console['log']('\x0a✅\x20Restored\x20feature\x20review:\x20'+_0x1b67c0[_0x4ed1fc(0xac)]+'\x20('+_0x3c4032+')'),_0x588c16[_0x4ed1fc(0x136)](displayFeature,_0x1b67c0,_0x1b67c0[_0x4ed1fc(0xd0)]);}
1
+ const _0xb6b994=_0x3a40;(function(_0x302f7a,_0x42475d){const _0x40932f=_0x3a40,_0x34f6ee=_0x302f7a();while(!![]){try{const _0x3d97b1=parseInt(_0x40932f(0x23c))/0x1+-parseInt(_0x40932f(0x1ce))/0x2*(parseInt(_0x40932f(0x223))/0x3)+parseInt(_0x40932f(0x1ea))/0x4*(-parseInt(_0x40932f(0x1bf))/0x5)+-parseInt(_0x40932f(0x27f))/0x6*(parseInt(_0x40932f(0x272))/0x7)+parseInt(_0x40932f(0x1c1))/0x8*(parseInt(_0x40932f(0x29f))/0x9)+-parseInt(_0x40932f(0x1ef))/0xa*(-parseInt(_0x40932f(0x241))/0xb)+parseInt(_0x40932f(0x22f))/0xc*(parseInt(_0x40932f(0x24e))/0xd);if(_0x3d97b1===_0x42475d)break;else _0x34f6ee['push'](_0x34f6ee['shift']());}catch(_0x39d95a){_0x34f6ee['push'](_0x34f6ee['shift']());}}}(_0x4b9b,0x77050));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';function _0x4b9b(){const _0x5094fd=['Current\x20session\x20not\x20found.',':\x20\x22','verificationInProgressItems','zLmzO','wlIIW','\x20\x20\x20Progress:\x20','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','\x20of\x20','6143028Gdqupc','trim','gitBranch','description','...','comment_','/api/v1/mcp/browser-sessions/','/artifacts/','IXULi','WyyfH','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','umhkE','YERYw','266925GABGBO','\x20/\x20','\x20\x20\x20Branch:\x20','map','PcLCG','1001Yzupid','items','Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','hFdGH','yjjqU','qfyGX','LyUpB','trcqN','trimEnd','\x20—\x20no\x20comments','blockedItems','toLocaleString','vggIm','26uWnDOD','textContent','gZENg','\x0a✅\x20Report\x20generated:\x20','Blxgr','KBMhK','imDIF','4|1|2|0|3|5','WFPpU','PnqvI','ZyjJH','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','output','iZDVO','\x20concluded.','push','\x20\x20\x20Updated\x20branch\x20to:\x20','join','completedAt','currentBranch','BbcRJ','iteration','WoQkd','prompt','OPIgj','after','approved','\x0a✅\x20Restored\x20feature\x20review:\x20','location','assetType','eizfA','FKKBb','eSBUI','hZWTW','status','exit','126399lMpIMi','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','NFIFK','QeJvC','completed','find','\x0a✅\x20Session\x20','OtGCt','stdout','Step\x20','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','\x20\x20\x20\x20\x20Progress:\x20','WTDJc','72rGVzDn','rmCAc','CfTUT','UVxKF','jpIpo','\x0a📋\x20Feedback\x20for:\x20','UfwIC','version','replace','blockedReason','UrcZA','qRAxm','\x20\x20\x20\x20\x20Branch:\x20','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','terminalReason','\x20incomplete','canceledReason','currentSessionId','assets','blocked','\x0a✅\x20Session\x20is\x20already\x20completed.','\x0aAvailable\x20scenarios:','Cannot\x20conclude\x20session\x20with\x20status:\x20','utf-8','domRef','latestReview','selected','\x20Session\x20','list','\x20unaddressed\x20comment(s)','QMhpg','369jhDutB','\x20scenario(s).','ufiUK','btmJu','CmgvQ','checklistItems','HzHWz','Yzchb','limit','canonicalFlow','\x0a✅\x20Scenario\x20updated','\x20\x20\x20Status:\x20','screenshotUrls','\x20\x20\x20Repository:\x20','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','\x20\x20\x20\x20\x20\x20Blocked:\x20','oPigy','\x20\x20✅\x20No\x20feedback\x20to\x20address','includeDeleted','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','XDdIP','length','gitRepoUrl','35JFerop','gcRQH','84184gooqTa','jOKTI','selector','repeat','\x0aCreating\x20feature\x20review...','closed','\x1b[1m','browserSessionId','CLAUDE_SESSION_ID','pipe','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','\x20--include-deleted','\x20(v','4AEwULS','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','UPFqA','AmTPd','TvRzg','isInteger','\x20\x20\x20\x20\x20\x20Cancelled:\x20','vmDWe','sLtSP','\x20>\x20','sessionId','verification_in_progress','jIgIx','totalCount','LJMeC','spatial','.md','git\x20remote\x20get-url\x20origin','incomplete','hRzMp','eFSLK','stringify','mXcnw','stats','Fjmzu','filter','Showing\x20','xyvjt','519212PHdVPM','oPgkA','zUIsJ','iiRpV','stepName','34050tSVlnb','log','phQTF','No\x20scenarios\x20found.','\x20\x20\x20Completed:\x20','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','\x20\x20\x20','toFixed','RANGER_TEST_USERNAME','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','SUrOC','env','createdAt','scenario','submittedAt','VPhYO','excludeScenarios','hfnDf','in_progress','RENeS','\x0aGenerating\x20report...','No\x20sessions\x20found.','dashboardUrl','write','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','toLocaleDateString','coordinates','RJcQk','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','\x0a\x20\x20\x20Scenarios:','\x20feature\x20review(s)\x20found','xRYTB','LIOOf','numeric','isKeyStep','\x20\x20\x20▶️\x20Started\x20session\x20','\x20\x20\x20Created:\x20','\x20—\x20','QglxR','error','QiyzR','CAvoN','\x20\x20\x20\x20\x20📋\x20Selector:\x20','yWzIY','xMhLh','incompleteReason','\x0a❌\x20Invalid\x20scenario\x20index:\x20','HKeqG','element','isTTY','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','name','628878BZGRUt','Not\x20in\x20a\x20git\x20repository.','Scenario\x20','EhDwD'];_0x4b9b=function(){return _0x5094fd;};return _0x4b9b();}import _0x814486 from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x54cf50=>_0xb6b994(0x1c7)+_0x54cf50+'\x1b[0m';function getGitRepoUrl(){const _0x2bfef6=_0xb6b994,_0x338e89={'ruzkw':function(_0x476464,_0x1a0b53,_0x448f04){return _0x476464(_0x1a0b53,_0x448f04);},'Yzchb':_0x2bfef6(0x1ca),'WyyfH':'github.com/'};try{const _0x5656ad=_0x338e89['ruzkw'](execSync,_0x2bfef6(0x1df),{'encoding':_0x2bfef6(0x297),'stdio':[_0x338e89[_0x2bfef6(0x2a6)],_0x338e89['Yzchb'],_0x2bfef6(0x1ca)]})[_0x2bfef6(0x230)]();return _0x5656ad['replace'](/\.git$/,'')[_0x2bfef6(0x287)](/^git@github\.com:/,_0x338e89[_0x2bfef6(0x238)])['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x32c566=_0xb6b994,_0x132914={'vlOko':function(_0x2fe88b,_0x28f0a7,_0xfb7f03){return _0x2fe88b(_0x28f0a7,_0xfb7f03);},'NFIFK':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','hfnDf':'utf-8','uxUuC':'pipe'};try{return _0x132914['vlOko'](execSync,_0x132914[_0x32c566(0x274)],{'encoding':_0x132914[_0x32c566(0x200)],'stdio':[_0x32c566(0x1ca),_0x132914['uxUuC'],'pipe']})[_0x32c566(0x230)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x245721=_0xb6b994,_0x151dbe={'CmgvQ':function(_0xb2b480,_0x4fdf9b,_0x1a0dda){return _0xb2b480(_0x4fdf9b,_0x1a0dda);},'Kttgh':_0x245721(0x297)},_0x4485c4=_0x151dbe[_0x245721(0x2a3)](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x4485c4))return null;try{const _0x12288e=await _0x151dbe[_0x245721(0x2a3)](readFile,_0x4485c4,_0x151dbe['Kttgh']);return _0x12288e['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x290fd5){const _0x1b2cbf=_0xb6b994,_0x1ee248={'rmCAc':function(_0x33fa5d,_0x49dbfe,_0x4f97aa){return _0x33fa5d(_0x49dbfe,_0x4f97aa);}},_0x4fa51f=getRangerDir(),_0x1c8ab4=_0x1ee248[_0x1b2cbf(0x280)](join,_0x4fa51f,ACTIVE_FEATURE_FILE);!existsSync(_0x4fa51f)&&await mkdir(_0x4fa51f,{'recursive':!![]}),await writeFile(_0x1c8ab4,_0x290fd5,'utf-8');}function getProgressDisplay(_0x1be3d6){const _0x35041a=_0xb6b994,_0x5a3556={'AmTPd':function(_0x31782b,_0x45d0a8){return _0x31782b+_0x45d0a8;},'wascB':function(_0x370ed6,_0x1881a5){return _0x370ed6+_0x1881a5;},'gcRQH':function(_0x13468a,_0x19259b){return _0x13468a===_0x19259b;},'hFdGH':function(_0x256c38,_0x7aa31e){return _0x256c38-_0x7aa31e;},'hRzMp':function(_0x524781,_0x59b2f1){return _0x524781>_0x59b2f1;},'Blxgr':function(_0x24cdd8,_0x686a6){return _0x24cdd8>_0x686a6;}},_0x252769=_0x1be3d6['verifiedItems']||0x0,_0x484bcf=_0x1be3d6[_0x35041a(0x229)]||0x0,_0x473ea3=_0x1be3d6[_0x35041a(0x24b)]||0x0,_0x5f5026=_0x1be3d6['incompleteItems']||0x0,_0x338b4f=_0x1be3d6['pendingItems']||0x0,_0x43bb86=_0x5a3556[_0x35041a(0x1d1)](_0x5a3556['wascB'](_0x252769,_0x484bcf)+_0x473ea3,_0x5f5026)+_0x338b4f;if(_0x5a3556[_0x35041a(0x1c0)](_0x43bb86,0x0))return'-';const _0x11023e=0xa,_0x36d8ef=Math['round'](_0x252769/_0x43bb86*_0x11023e),_0x12272b='█'[_0x35041a(0x1c4)](_0x36d8ef)+'░'[_0x35041a(0x1c4)](_0x5a3556[_0x35041a(0x244)](_0x11023e,_0x36d8ef)),_0x32eda5=[];if(_0x5a3556[_0x35041a(0x1e1)](_0x473ea3,0x0))_0x32eda5[_0x35041a(0x25d)](_0x473ea3+'\x20blocked');if(_0x5a3556[_0x35041a(0x252)](_0x5f5026,0x0))_0x32eda5[_0x35041a(0x25d)](_0x5f5026+_0x35041a(0x28f));if(_0x484bcf>0x0)_0x32eda5[_0x35041a(0x25d)](_0x484bcf+'\x20in\x20progress');const _0x2d2679=_0x32eda5[_0x35041a(0x1bd)]>0x0?'\x20('+_0x32eda5['join'](',\x20')+')':'';return _0x12272b+'\x20'+_0x252769+'/'+_0x43bb86+'\x20verified'+_0x2d2679;}function getCurrentSessionItems(_0x36878c,_0x3e138d){const _0x54bfa2=_0xb6b994;if(!_0x36878c['currentSessionId'])return _0x3e138d[_0x54bfa2(0x1e7)](_0x414a8a=>!_0x414a8a['sessionId']);return _0x3e138d['filter'](_0x579799=>_0x579799[_0x54bfa2(0x1d8)]===_0x36878c['currentSessionId']||!_0x579799[_0x54bfa2(0x1d8)]);}function displayFeature(_0x30598f,_0x4a8077){const _0x1df763=_0xb6b994,_0x3aaba9={'OtGCt':function(_0x2a3850,_0x1851f9){return _0x2a3850(_0x1851f9);},'jpIpo':_0x1df763(0x20c),'AMceJ':function(_0x443f46,_0x1bdedd){return _0x443f46<_0x1bdedd;},'wlIIW':function(_0x4cb392,_0x59317f){return _0x4cb392===_0x59317f;},'hZWTW':_0x1df763(0x1c6),'vggIm':function(_0x23dc0a,_0xc3b8a8){return _0x23dc0a===_0xc3b8a8;},'SUrOC':'verified','imiDW':function(_0x36af1e,_0x108c0a){return _0x36af1e===_0x108c0a;},'ftubc':'verification_in_progress','obMWz':function(_0x1322b3,_0x1d752c){return _0x1322b3>_0x1d752c;},'trcqN':'\x20[has\x20reviewer\x20feedback]','xRYTB':function(_0x122ac2,_0x475955){return _0x122ac2+_0x475955;}};console['log']('\x0a'+_0x30598f[_0x1df763(0x222)]+'\x20('+_0x30598f['dashboardUrl']+')');_0x30598f[_0x1df763(0x1e5)]&&console[_0x1df763(0x1f0)](_0x1df763(0x22c)+_0x3aaba9[_0x1df763(0x279)](getProgressDisplay,_0x30598f['stats']));_0x30598f['description']&&console[_0x1df763(0x1f0)]('\x20\x20\x20Description:\x20'+_0x30598f[_0x1df763(0x232)]);_0x30598f['gitRepoUrl']&&console[_0x1df763(0x1f0)](_0x1df763(0x2ac)+_0x30598f[_0x1df763(0x1be)]);_0x30598f[_0x1df763(0x231)]&&console['log']('\x20\x20\x20Branch:\x20'+_0x30598f['gitBranch']);console['log']('\x20\x20\x20Created:\x20'+new Date(_0x30598f[_0x1df763(0x1fb)])[_0x1df763(0x24c)]());_0x30598f['completedAt']&&console[_0x1df763(0x1f0)](_0x1df763(0x1f3)+new Date(_0x30598f[_0x1df763(0x260)])['toLocaleString']());if(_0x4a8077&&_0x4a8077[_0x1df763(0x1bd)]>0x0){console[_0x1df763(0x1f0)](_0x3aaba9[_0x1df763(0x283)]);for(let _0x2aba73=0x0;_0x3aaba9['AMceJ'](_0x2aba73,_0x4a8077['length']);_0x2aba73++){const _0x46bcc4=_0x4a8077[_0x2aba73];let _0x303888;if(_0x3aaba9[_0x1df763(0x22b)](_0x46bcc4[_0x1df763(0x270)],_0x3aaba9[_0x1df763(0x26f)])&&_0x3aaba9[_0x1df763(0x24d)](_0x46bcc4[_0x1df763(0x28e)],'approved'))_0x303888='✅';else{if(_0x46bcc4['status']===_0x3aaba9['SUrOC'])_0x303888='🟢';else{if(_0x3aaba9['imiDW'](_0x46bcc4[_0x1df763(0x270)],_0x1df763(0x1e0)))_0x303888='🟠';else{if(_0x46bcc4[_0x1df763(0x270)]===_0x1df763(0x293))_0x303888='🛑';else{if(_0x46bcc4[_0x1df763(0x270)]==='closed')_0x303888='⛔';else _0x46bcc4['status']===_0x3aaba9['ftubc']?_0x303888='⏳':_0x303888='⬜';}}}}const _0x51d9f1=_0x46bcc4[_0x1df763(0x286)]>0x1?'\x20(v'+_0x46bcc4['version']+')':'',_0x3e3233=_0x3aaba9['obMWz'](_0x46bcc4['version'],0x1)&&_0x46bcc4['parentItemId']&&_0x46bcc4['status']!=='closed'&&_0x46bcc4['status']!==_0x3aaba9[_0x1df763(0x1f9)]?_0x3aaba9[_0x1df763(0x248)]:'';console[_0x1df763(0x1f0)](_0x1df763(0x1f5)+_0x3aaba9[_0x1df763(0x20e)](_0x2aba73,0x1)+'.\x20'+_0x303888+'\x20'+_0x46bcc4['description']+_0x51d9f1+_0x3e3233);_0x46bcc4[_0x1df763(0x270)]===_0x1df763(0x293)&&_0x46bcc4[_0x1df763(0x288)]&&console[_0x1df763(0x1f0)](_0x1df763(0x2ae)+_0x46bcc4['blockedReason']);_0x46bcc4[_0x1df763(0x270)]==='incomplete'&&_0x46bcc4['incompleteReason']&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x46bcc4[_0x1df763(0x21c)]);if(_0x46bcc4[_0x1df763(0x270)]==='closed'&&_0x3aaba9['imiDW'](_0x46bcc4[_0x1df763(0x28e)],_0x1df763(0x268)))console['log']('\x20\x20\x20\x20\x20\x20Approved');else _0x46bcc4['status']===_0x1df763(0x1c6)&&_0x46bcc4['canceledReason']&&console[_0x1df763(0x1f0)](_0x1df763(0x1d4)+_0x46bcc4[_0x1df763(0x290)]);}}}export async function featureCreate(_0xf0b2f0,_0x3cb173){const _0x147791=_0xb6b994,_0x5980e4={'QglxR':function(_0x455943,_0x5f27c1){return _0x455943===_0x5f27c1;},'uyGZz':function(_0x15b39f,_0x442607){return _0x15b39f(_0x442607);},'WoQkd':function(_0x5054ee){return _0x5054ee();},'PkxYe':function(_0x2e409e){return _0x2e409e();},'Bzrhq':function(_0x3755cc,_0x1dd9e8,_0x13dd9e){return _0x3755cc(_0x1dd9e8,_0x13dd9e);}},{envNames:_0x47c255}=await getEnvNames();if(_0x5980e4['QglxR'](_0x47c255[_0x147791(0x1bd)],0x0)&&!process['env'][_0x147791(0x1f7)]){let _0x5d76b4=0x0;try{_0x5d76b4=(await listCloudProfiles())['length'];}catch{_0x5d76b4=0x1;}_0x5980e4[_0x147791(0x215)](_0x5d76b4,0x0)&&console['warn']('\x0a'+_0x5980e4['uyGZz'](formatProfileRequiredMessage,_0x8e1072=>bold(_0x8e1072)));}const _0x49bb27=_0x3cb173['scenarios']?_0x3cb173['scenarios'][_0x147791(0x23f)](_0xdc2f93=>_0xdc2f93[_0x147791(0x230)]()):[],_0x6af99e=_0x5980e4[_0x147791(0x264)](getGitRepoUrl),_0x4fda84=_0x5980e4['PkxYe'](getGitBranch);console['log'](_0x147791(0x1c5));const _0x613bfe=await createFeature({'name':_0xf0b2f0,'description':_0x3cb173[_0x147791(0x232)],'checklist':_0x49bb27,'gitRepoUrl':_0x6af99e,'gitBranch':_0x4fda84});await setActiveFeatureId(_0x613bfe['id']),await _0x5980e4['uyGZz'](tryStartCurrentSession,_0x613bfe['id']);const _0x32d59b=process['env']['CLAUDE_SESSION_ID'];_0x32d59b&&registerSession(_0x32d59b,_0x613bfe['id']),console[_0x147791(0x1f0)]('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x613bfe['id']),_0x5980e4['Bzrhq'](displayFeature,_0x613bfe,_0x613bfe['checklistItems']),console['log']('\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review');}export async function featureList(_0x40e88c){const _0x18c221=_0xb6b994,_0x51bc68={'eizfA':function(_0x26a2c7){return _0x26a2c7();},'LyUpB':function(_0x41f3ac,_0x19a614){return _0x41f3ac===_0x19a614;},'jOKTI':function(_0x5e7441,_0xf52736){return _0x5e7441>_0xf52736;},'UPFqA':'\x20--current-branch','fAWUA':_0x18c221(0x1cc)},_0x3438f5={'limit':_0x40e88c['limit']??0xa,'offset':_0x40e88c['offset']??0x0,'includeDeleted':_0x40e88c[_0x18c221(0x2b1)]};_0x40e88c['currentBranch']&&(_0x3438f5['gitRepoUrl']=_0x51bc68[_0x18c221(0x26c)](getGitRepoUrl),_0x3438f5[_0x18c221(0x231)]=_0x51bc68['eizfA'](getGitBranch));const _0x23e646=await listFeatures(_0x3438f5);if(_0x51bc68[_0x18c221(0x247)](_0x23e646['items'][_0x18c221(0x1bd)],0x0)){console['log']('\x0aNo\x20feature\x20reviews\x20found.');return;}const _0x5f7bb0=_0x51bc68[_0x18c221(0x1c2)](_0x23e646[_0x18c221(0x1db)],_0x23e646[_0x18c221(0x242)][_0x18c221(0x1bd)])?_0x18c221(0x1e8)+_0x23e646['items'][_0x18c221(0x1bd)]+_0x18c221(0x22e)+_0x23e646['totalCount']:_0x23e646['totalCount']+_0x18c221(0x20d);console[_0x18c221(0x1f0)]('\x0a'+_0x5f7bb0+':\x0a');for(const _0x3b3bac of _0x23e646[_0x18c221(0x242)]){console['log'](''+_0x3b3bac['name']),console[_0x18c221(0x1f0)]('\x20\x20\x20ID:\x20'+_0x3b3bac['id']),_0x3b3bac[_0x18c221(0x1e5)]&&console[_0x18c221(0x1f0)]('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x3b3bac[_0x18c221(0x1e5)])),_0x3b3bac['gitBranch']&&console[_0x18c221(0x1f0)](_0x18c221(0x23e)+_0x3b3bac['gitBranch']),console[_0x18c221(0x1f0)](_0x18c221(0x213)+new Date(_0x3b3bac[_0x18c221(0x1fb)])['toLocaleDateString']()),console['log']('');}const _0x33cb6b=_0x3438f5[_0x18c221(0x2a7)]??0xa,_0x2c7579=(_0x3438f5['offset']??0x0)+_0x23e646[_0x18c221(0x242)]['length'];if(_0x2c7579<_0x23e646['totalCount']){const _0x30e926=_0x33cb6b!==0xa?'\x20--limit\x20'+_0x33cb6b:'',_0x1329b0=_0x40e88c[_0x18c221(0x261)]?_0x51bc68[_0x18c221(0x1d0)]:'',_0x51de01=_0x40e88c['includeDeleted']?_0x51bc68['fAWUA']:'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x2c7579+_0x30e926+_0x1329b0+_0x51de01);}}export async function featureShow(_0x53f4d4){const _0x7ef92=_0xb6b994,_0x44c0bb={'yQLDF':function(_0x2d45b6){return _0x2d45b6();},'qfyGX':function(_0x331e69,_0x51aad5,_0x4ff620){return _0x331e69(_0x51aad5,_0x4ff620);}},_0x3889bb=_0x53f4d4||await _0x44c0bb['yQLDF'](getActiveFeatureId);if(!_0x3889bb)throw new Error(_0x7ef92(0x1bb));const _0x27090e=await getFeature(_0x3889bb);_0x44c0bb[_0x7ef92(0x246)](displayFeature,_0x27090e,_0x27090e[_0x7ef92(0x2a4)]);}export async function featureResume(_0x2e5b32){const _0x26a554=_0xb6b994,_0x1f3f40={'PcLCG':function(_0x21f249,_0x5ccde6){return _0x21f249(_0x5ccde6);},'UVxKF':function(_0x48049d){return _0x48049d();},'zUIsJ':function(_0x2cd5bb,_0x7eb986){return _0x2cd5bb!==_0x7eb986;},'kOpdu':function(_0x685f5,_0x40f7be,_0x594b17){return _0x685f5(_0x40f7be,_0x594b17);},'FKKBb':function(_0x22bc99,_0x5ddf09,_0x405f38){return _0x22bc99(_0x5ddf09,_0x405f38);},'YERYw':function(_0x38a3f8){return _0x38a3f8();},'qRAxm':function(_0x2f6895,_0x331d31){return _0x2f6895&&_0x331d31;},'ufiUK':function(_0x408fc5,_0xc38690){return _0x408fc5||_0xc38690;},'PnqvI':'any','hvMQF':function(_0x4589dd,_0x3551a0){return _0x4589dd===_0x3551a0;},'LIOOf':'Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','YIosi':_0x26a554(0x29c),'QMhpg':_0x26a554(0x29a),'zLmzO':function(_0x4e55f5,_0x483a99){return _0x4e55f5(_0x483a99);}};if(_0x2e5b32){const _0x58a23f=await _0x1f3f40['PcLCG'](getFeature,_0x2e5b32);await _0x1f3f40[_0x26a554(0x240)](setActiveFeatureId,_0x58a23f['id']);const _0x1782db=_0x1f3f40[_0x26a554(0x282)](getGitBranch);_0x1782db&&_0x1f3f40[_0x26a554(0x1ec)](_0x1782db,_0x58a23f[_0x26a554(0x231)])&&(await _0x1f3f40['kOpdu'](updateFeature,_0x58a23f['id'],{'gitBranch':_0x1782db}),console[_0x26a554(0x1f0)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x1782db));console[_0x26a554(0x1f0)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x58a23f['name']+'\x20('+_0x58a23f['id']+')'),await _0x1f3f40['PcLCG'](tryStartCurrentSession,_0x58a23f['id']);const _0x213274=process['env']['CLAUDE_SESSION_ID'];_0x213274&&_0x1f3f40[_0x26a554(0x26d)](registerSession,_0x213274,_0x58a23f['id']);_0x1f3f40['kOpdu'](displayFeature,_0x58a23f,_0x58a23f[_0x26a554(0x2a4)]),await printFeedbackNudge(_0x58a23f['id']);return;}const _0x33b485=_0x1f3f40[_0x26a554(0x23b)](getGitRepoUrl),_0x30848d=getGitBranch();if(_0x1f3f40[_0x26a554(0x28a)](!_0x33b485,!_0x30848d))throw new Error(_0x26a554(0x224));console[_0x26a554(0x1f0)](_0x26a554(0x207)+_0x1f3f40[_0x26a554(0x2a1)](_0x33b485,_0x1f3f40[_0x26a554(0x257)])+_0x26a554(0x23d)+_0x1f3f40['ufiUK'](_0x30848d,_0x1f3f40[_0x26a554(0x257)])+_0x26a554(0x233));const _0xd93ed9=await listFeatures({'gitRepoUrl':_0x33b485,'gitBranch':_0x30848d}),_0x17382f=_0xd93ed9['items']['filter'](_0x441ae4=>_0x441ae4['status']?_0x441ae4[_0x26a554(0x270)]!=='verified':!_0x441ae4['completedAt']);if(_0x17382f['length']===0x0){console['log'](_0x26a554(0x239)),console['log']('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0x365a6c;if(_0x1f3f40['hvMQF'](_0x17382f['length'],0x1))_0x365a6c=_0x17382f[0x0];else{const _0x305356=process['stdin'][_0x26a554(0x220)]&&process[_0x26a554(0x27a)]['isTTY'];if(!_0x305356){console[_0x26a554(0x1f0)](_0x26a554(0x2ad));for(const _0x575c7d of _0x17382f){console[_0x26a554(0x1f0)]('\x20\x20'+_0x575c7d['name']),console[_0x26a554(0x1f0)]('\x20\x20\x20\x20\x20ID:\x20'+_0x575c7d['id']),_0x575c7d[_0x26a554(0x1e5)]&&console['log'](_0x26a554(0x27d)+_0x1f3f40['PcLCG'](getProgressDisplay,_0x575c7d[_0x26a554(0x1e5)])),_0x575c7d[_0x26a554(0x231)]&&console[_0x26a554(0x1f0)](_0x26a554(0x28b)+_0x575c7d[_0x26a554(0x231)]);}throw new Error(_0x1f3f40[_0x26a554(0x20f)]);}const {selected:_0xf22d9}=await _0x814486[_0x26a554(0x265)]([{'type':_0x1f3f40['YIosi'],'name':_0x1f3f40[_0x26a554(0x29e)],'message':_0x26a554(0x28d),'choices':_0x17382f[_0x26a554(0x23f)](_0x1c373d=>({'name':_0x1c373d['name']+'\x20('+_0x1c373d['id']+')','value':_0x1c373d['id']}))}]);_0x365a6c=_0x17382f['find'](_0x3337bf=>_0x3337bf['id']===_0xf22d9);}await setActiveFeatureId(_0x365a6c['id']);_0x30848d&&_0x30848d!==_0x365a6c[_0x26a554(0x231)]&&(await _0x1f3f40[_0x26a554(0x26d)](updateFeature,_0x365a6c['id'],{'gitBranch':_0x30848d}),console['log'](_0x26a554(0x25e)+_0x30848d));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x365a6c['name']+'\x20('+_0x365a6c['id']+')'),await tryStartCurrentSession(_0x365a6c['id']);const _0x359be1=await _0x1f3f40[_0x26a554(0x22a)](getFeature,_0x365a6c['id']),_0x40d199=process[_0x26a554(0x1fa)][_0x26a554(0x1c9)];_0x40d199&&registerSession(_0x40d199,_0x359be1['id']),displayFeature(_0x359be1,_0x359be1[_0x26a554(0x2a4)]),await _0x1f3f40['PcLCG'](printFeedbackNudge,_0x359be1['id']);}async function printFeedbackNudge(_0x18bf13){const _0x2d2c33=_0xb6b994,_0x1d62bc={'iZDVO':function(_0x3175ec,_0x361b50){return _0x3175ec(_0x361b50);},'hGDNi':function(_0x2efd2d,_0x47e302){return _0x2efd2d>_0x47e302;},'eSBUI':_0x2d2c33(0x259)};try{const {items:_0x2bc089}=await _0x1d62bc[_0x2d2c33(0x25b)](getActionItems,_0x18bf13);let _0x5db95c=0x0,_0x507c6b=0x0;for(const _0xd8f578 of _0x2bc089){const _0x21bf5e=await getItemFeedback(_0x18bf13,_0xd8f578['id']);_0x1d62bc['hGDNi'](_0x21bf5e['unaddressedComments']['length'],0x0)&&(_0x5db95c+=_0x21bf5e['unaddressedComments']['length'],_0x507c6b++);}_0x1d62bc['hGDNi'](_0x5db95c,0x0)&&(console[_0x2d2c33(0x1f0)]('\x0a⚠️\x20\x20'+_0x5db95c+_0x2d2c33(0x1cb)+_0x507c6b+_0x2d2c33(0x2a0)),console[_0x2d2c33(0x1f0)](_0x1d62bc[_0x2d2c33(0x26e)]));}catch{}}async function tryStartCurrentSession(_0xfca693){const _0x8c4c11=_0xb6b994,_0x33e129={'vGBkp':function(_0x23240a,_0x1bc310){return _0x23240a(_0x1bc310);}};try{const {sessions:_0x2824c}=await _0x33e129['vGBkp'](listFeatureSessions,_0xfca693),_0x24010e=_0x2824c[_0x8c4c11(0x277)](_0x11d03b=>_0x11d03b[_0x8c4c11(0x270)]==='ready');_0x24010e&&(await startSession(_0xfca693,_0x24010e['id']),console['log'](_0x8c4c11(0x212)+_0x24010e[_0x8c4c11(0x263)]));}catch{}}export async function featureReport(_0x4b1100,_0x5a06a1){const _0x2e7606=_0xb6b994,_0x549826={'umhkE':_0x2e7606(0x273),'yWzIY':'reports','CfTUT':function(_0x1b65a8,_0x4a9f0c,_0x1ecc29){return _0x1b65a8(_0x4a9f0c,_0x1ecc29);},'vmDWe':function(_0xa7cf07,_0x4870c9,_0x3abd36,_0x4ee858){return _0xa7cf07(_0x4870c9,_0x3abd36,_0x4ee858);},'wYjdp':'utf-8'},_0x733555=_0x4b1100||await getActiveFeatureId();if(!_0x733555)throw new Error(_0x549826[_0x2e7606(0x23a)]);console['log'](_0x2e7606(0x203));const _0x1fec69=await getFeatureReportMarkdown(_0x733555,{'style':_0x5a06a1['style']}),_0x3e259c=_0x5a06a1[_0x2e7606(0x25a)]||join(getRangerDir(),_0x549826[_0x2e7606(0x21a)],_0x733555+_0x2e7606(0x1de)),_0x3c36dd=join(_0x3e259c,'..');!existsSync(_0x3c36dd)&&await _0x549826[_0x2e7606(0x281)](mkdir,_0x3c36dd,{'recursive':!![]}),await _0x549826[_0x2e7606(0x1d5)](writeFile,_0x3e259c,_0x1fec69,_0x549826['wYjdp']),console[_0x2e7606(0x1f0)](_0x2e7606(0x251)+_0x3e259c);}function getScenarioResult(_0x475cef){const _0x38197e=_0xb6b994,_0xc5da83={'OPIgj':function(_0x480a90,_0x39de1c){return _0x480a90===_0x39de1c;},'noQhx':_0x38197e(0x1d9)};if(_0xc5da83['OPIgj'](_0x475cef['status'],_0x38197e(0x1c6)))return _0x475cef['terminalReason']??'closed';if(_0xc5da83[_0x38197e(0x266)](_0x475cef[_0x38197e(0x270)],_0xc5da83['noQhx']))return _0x38197e(0x201);return _0x475cef[_0x38197e(0x270)];}function getScenarioRationale(_0x2047a7,_0x70f27c){const _0x5efcd5=_0xb6b994,_0x1f0db7={'UfwIC':_0x5efcd5(0x255)},_0x2a072a=_0x1f0db7[_0x5efcd5(0x285)]['split']('|');let _0x2794ae=0x0;while(!![]){switch(_0x2a072a[_0x2794ae++]){case'0':if(_0x2047a7[_0x5efcd5(0x290)])return _0x2047a7['canceledReason'];continue;case'1':if(_0x2047a7[_0x5efcd5(0x288)])return _0x2047a7['blockedReason'];continue;case'2':if(_0x2047a7['incompleteReason'])return _0x2047a7[_0x5efcd5(0x21c)];continue;case'3':if(_0x2047a7['notes'])return _0x2047a7['notes'];continue;case'4':if(_0x70f27c)return _0x70f27c;continue;case'5':return null;}break;}}export async function featureReportPrDescription(_0xa3b920,_0x1cd3d5){const _0x137e23=_0xb6b994,_0x32294f={'QeJvC':function(_0x28dabe){return _0x28dabe();},'eFSLK':_0x137e23(0x273),'oPgkA':function(_0x320238,_0x4b13a9,_0x3b5a53){return _0x320238(_0x4b13a9,_0x3b5a53);},'HzHWz':function(_0x501c82,_0x5ca2b9){return _0x501c82===_0x5ca2b9;},'xMhLh':function(_0x4f2e33,_0x21fad6){return _0x4f2e33>_0x21fad6;},'Dfmiz':_0x137e23(0x295),'BbcRJ':function(_0x258395,_0x28b004){return _0x258395+_0x28b004;},'CAvoN':_0x137e23(0x1f8),'wooOQ':function(_0x2af08e,_0x5aa720,_0x16aed6,_0x2482cb){return _0x2af08e(_0x5aa720,_0x16aed6,_0x2482cb);}},_0x182a4b=_0xa3b920||await _0x32294f[_0x137e23(0x275)](getActiveFeatureId);if(!_0x182a4b)throw new Error(_0x32294f[_0x137e23(0x1e2)]);const _0x1f2c85=await getFeature(_0x182a4b),_0xeb071d=_0x1f2c85[_0x137e23(0x2a4)]||[],_0x31861d=_0x32294f[_0x137e23(0x1eb)](getCurrentSessionItems,_0x1f2c85,_0xeb071d);_0x32294f[_0x137e23(0x2a5)](_0x31861d['length'],0x0)&&(console['error'](_0x137e23(0x1f4)),process['exit'](0x1));const _0x30749b=_0x1cd3d5[_0x137e23(0x1ff)]??[],_0x4fdeda=_0x30749b[_0x137e23(0x1e7)](_0x382652=>!Number[_0x137e23(0x1d3)](_0x382652)||_0x382652<0x1||_0x382652>_0x31861d[_0x137e23(0x1bd)]);if(_0x32294f[_0x137e23(0x21b)](_0x4fdeda[_0x137e23(0x1bd)],0x0)){console['error'](_0x137e23(0x221)+_0x4fdeda[_0x137e23(0x25f)](',\x20')),console['log'](_0x32294f['Dfmiz']);for(let _0x40e50f=0x0;_0x40e50f<_0x31861d[_0x137e23(0x1bd)];_0x40e50f++){console[_0x137e23(0x1f0)]('\x20\x20'+_0x32294f[_0x137e23(0x262)](_0x40e50f,0x1)+'.\x20'+_0x31861d[_0x40e50f]['description']);}process['exit'](0x1);}const _0x4281d4=new Set(_0x30749b[_0x137e23(0x23f)](_0x274b94=>_0x274b94-0x1)),_0x167ec0=_0x31861d['filter']((_0x933166,_0x5930a9)=>!_0x4281d4['has'](_0x5930a9));_0x32294f['HzHWz'](_0x167ec0['length'],0x0)&&(console[_0x137e23(0x216)](_0x32294f[_0x137e23(0x218)]),process[_0x137e23(0x271)](0x1));if(_0x1cd3d5['json'])await _0x32294f['wooOQ'](outputJsonReport,_0x182a4b,_0x1f2c85,_0x167ec0);else{const _0x4232d5=await _0x32294f[_0x137e23(0x1eb)](getFeatureReportMarkdown,_0x182a4b,{'itemIds':_0x167ec0['map'](_0x32c817=>_0x32c817['id'])});process['stdout']['write'](_0x4232d5[_0x137e23(0x249)]()+'\x0a');}}async function outputJsonReport(_0x11033a,_0x4803f8,_0x5436eb){const _0x14134d=_0xb6b994,_0x1ef1bd={'Ilbse':function(_0x420435,_0x41aa61){return _0x420435(_0x41aa61);},'sLtSP':function(_0x1f590c,_0x956370){return _0x1f590c>_0x956370;},'KBMhK':function(_0x455cd7,_0x4d6bf3){return _0x455cd7===_0x4d6bf3;},'QBRcE':function(_0x29231a,_0x3b81e9){return _0x29231a(_0x3b81e9);},'CrvfQ':function(_0x572b48,_0x50c1bd,_0x1a3245){return _0x572b48(_0x50c1bd,_0x1a3245);},'nWRjn':function(_0x296e98){return _0x296e98();},'bvVNU':function(_0x1b657e,_0x448e30){return _0x1b657e+_0x448e30;}},_0x507c3f=_0x1ef1bd['nWRjn'](getApiBaseUrl),_0x30854f=await getFeatureReport(_0x11033a),_0x94ebc3=new Map(_0x30854f['checklistItems'][_0x14134d(0x23f)](_0xb86ca0=>[_0xb86ca0['id'],_0xb86ca0])),_0x4efcc1=await Promise['all'](_0x5436eb[_0x14134d(0x23f)](async _0x54fbd3=>{const _0x46e64b=_0x14134d,_0x559310=_0x94ebc3['get'](_0x54fbd3['id']),_0x1e3c4e=_0x559310?.['linkedSession']??null;let _0x4fdb9e=[];if(_0x54fbd3['browserSessionId'])try{const {steps:_0x15b6ca}=await _0x1ef1bd['Ilbse'](getBrowserSessionSteps,_0x54fbd3[_0x46e64b(0x1c8)]);_0x1ef1bd[_0x46e64b(0x1d6)](_0x15b6ca['length'],0x0)&&(_0x4fdb9e=_0x15b6ca['map'](_0x71959c=>{const _0x2f21e7=_0x46e64b,_0x2c08c8=_0x71959c['assets'][_0x2f21e7(0x277)](_0x354e37=>_0x354e37[_0x2f21e7(0x26b)]==='screenshot'&&_0x354e37['timing']===_0x2f21e7(0x267))??_0x71959c[_0x2f21e7(0x292)][_0x2f21e7(0x277)](_0x25a75a=>_0x25a75a['assetType']==='screenshot');let _0x3034d0=null,_0x3fd945=null;if(_0x2c08c8){const _0x585a47=_0x2c08c8['storage'][_0x2f21e7(0x26a)]['split']('/')['pop']();_0x3034d0=_0x507c3f+_0x2f21e7(0x235)+_0x54fbd3[_0x2f21e7(0x1c8)]+_0x2f21e7(0x236)+_0x585a47,_0x585a47&&(_0x3fd945=_0x585a47[_0x2f21e7(0x287)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x2f21e7(0x287)](/[-_]/g,'\x20'));}return{'description':_0x3fd945||_0x71959c['description']||_0x71959c[_0x2f21e7(0x1ee)]||_0x2f21e7(0x27b)+_0x71959c['position'],'screenshot':_0x3034d0,'is_key_step':_0x71959c[_0x2f21e7(0x211)]};}));}catch{}return _0x1ef1bd[_0x46e64b(0x253)](_0x4fdb9e['length'],0x0)&&_0x1e3c4e?.['screenshotUrls']&&(_0x4fdb9e=_0x1e3c4e[_0x46e64b(0x2ab)][_0x46e64b(0x23f)]((_0x57df4a,_0x289401)=>({'description':'Screenshot\x20'+(_0x289401+0x1),'screenshot':_0x57df4a,'is_key_step':![]}))),{'description':_0x54fbd3['description'],'result':_0x1ef1bd['QBRcE'](getScenarioResult,_0x54fbd3),'rationale':_0x1ef1bd['CrvfQ'](getScenarioRationale,_0x54fbd3,_0x1e3c4e?.['agentResponse']),'steps':_0x4fdb9e};})),_0x4cbab6={'url':_0x4803f8[_0x14134d(0x205)],'scenarios':_0x4efcc1};process[_0x14134d(0x27a)][_0x14134d(0x206)](_0x1ef1bd['bvVNU'](JSON[_0x14134d(0x1e3)](_0x4cbab6,null,0x2),'\x0a'));}function _0x3a40(_0x45cb12,_0x336545){_0x45cb12=_0x45cb12-0x1bb;const _0x4b9beb=_0x4b9b();let _0x3a40cb=_0x4b9beb[_0x45cb12];return _0x3a40cb;}export async function featureConcludeSession(_0x2c8053){const _0x4dda95=_0xb6b994,_0x5e0f0f={'gYGuM':function(_0x22460b){return _0x22460b();},'RJcQk':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','EtSLQ':_0x4dda95(0x227),'QiyzR':function(_0x2bf986,_0x406025){return _0x2bf986===_0x406025;},'btmJu':_0x4dda95(0x294),'EJhki':function(_0x53f7ef,_0x323bbd){return _0x53f7ef!==_0x323bbd;},'gZENg':function(_0xb59fa4,_0x2cba64,_0x5ac63d){return _0xb59fa4(_0x2cba64,_0x5ac63d);}},_0x3eecc2=_0x2c8053||await _0x5e0f0f['gYGuM'](getActiveFeatureId);if(!_0x3eecc2)throw new Error(_0x5e0f0f[_0x4dda95(0x20a)]);const _0x124119=await getFeature(_0x3eecc2);if(!_0x124119[_0x4dda95(0x291)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x3caf8d}=await listFeatureSessions(_0x3eecc2),_0x3bf68f=_0x3caf8d['find'](_0x3552e9=>_0x3552e9['id']===_0x124119[_0x4dda95(0x291)]);if(!_0x3bf68f)throw new Error(_0x5e0f0f['EtSLQ']);if(_0x5e0f0f[_0x4dda95(0x217)](_0x3bf68f['status'],'completed')){console['log'](_0x5e0f0f[_0x4dda95(0x2a2)]);return;}if(_0x5e0f0f['EJhki'](_0x3bf68f['status'],'in_progress'))throw new Error(_0x4dda95(0x296)+_0x3bf68f[_0x4dda95(0x270)]);console['log']('\x0aConcluding\x20session...'),await _0x5e0f0f[_0x4dda95(0x250)](concludeSession,_0x3eecc2,_0x124119[_0x4dda95(0x291)]),console['log'](_0x4dda95(0x278)+_0x3bf68f['iteration']+_0x4dda95(0x25c)),console['log']('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x32f305){const _0x33bebb=_0xb6b994,_0x141f28={'VPhYO':_0x33bebb(0x273),'EhDwD':function(_0x10abea,_0x54a53d){return _0x10abea(_0x54a53d);},'ZyjJH':_0x33bebb(0x204),'imDIF':_0x33bebb(0x276)},_0x17b784=_0x32f305||await getActiveFeatureId();if(!_0x17b784)throw new Error(_0x141f28[_0x33bebb(0x1fe)]);const _0x336e9c=await _0x141f28[_0x33bebb(0x226)](getFeature,_0x17b784);console['log']('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x336e9c[_0x33bebb(0x222)]+'\x0a');const {sessions:_0x5a5cbe}=await _0x141f28['EhDwD'](listFeatureSessions,_0x17b784);if(_0x5a5cbe['length']===0x0){console['log'](_0x141f28[_0x33bebb(0x258)]);return;}for(const _0x37257e of _0x5a5cbe){const _0x2f0563=_0x37257e[_0x33bebb(0x270)]===_0x141f28[_0x33bebb(0x254)]?'✅':_0x37257e[_0x33bebb(0x270)]===_0x33bebb(0x201)?'🔄':'▶️';console[_0x33bebb(0x1f0)](_0x2f0563+_0x33bebb(0x29b)+_0x37257e['iteration']+'\x20('+_0x37257e['id']+')'),console[_0x33bebb(0x1f0)](_0x33bebb(0x2aa)+_0x37257e[_0x33bebb(0x270)]),console[_0x33bebb(0x1f0)](_0x33bebb(0x213)+new Date(_0x37257e[_0x33bebb(0x1fb)])[_0x33bebb(0x24c)]()),_0x37257e[_0x33bebb(0x260)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x37257e[_0x33bebb(0x260)])[_0x33bebb(0x24c)]()),console[_0x33bebb(0x1f0)]('');}}export async function featureAddScenario(_0x2c06e4,_0x5554b4){const _0x2b1fa5=_0xb6b994,_0x1b16eb={'Cdwlo':function(_0x4ac68b,_0x2eec38,_0x76b9c8){return _0x4ac68b(_0x2eec38,_0x76b9c8);},'UrcZA':function(_0x2eccec,_0x6edaf,_0x3f2e96){return _0x2eccec(_0x6edaf,_0x3f2e96);}},_0x106c06=_0x5554b4||await getActiveFeatureId();if(!_0x106c06)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review');const _0x53d225=await getFeature(_0x106c06);if(_0x53d225[_0x2b1fa5(0x299)]&&!_0x53d225['latestReview'][_0x2b1fa5(0x1fd)])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x53d225[_0x2b1fa5(0x205)]);await _0x1b16eb['Cdwlo'](createChecklistItem,_0x106c06,_0x2c06e4);const _0x41852f=await getFeature(_0x106c06);console[_0x2b1fa5(0x1f0)]('\x0a✅\x20Scenario\x20added'),_0x1b16eb[_0x2b1fa5(0x289)](displayFeature,_0x41852f,_0x41852f['checklistItems']);}export async function featureEditScenario(_0x2b8eaa,_0x1a5113){const _0x2a4dd7=_0xb6b994,_0x42dfb9={'XDdIP':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','QRscJ':function(_0x59e70d,_0x5d202b){return _0x59e70d(_0x5d202b);},'jobPT':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','LNPbq':'Please\x20finish\x20your\x20review\x20first:','mXcnw':function(_0x3f8746,_0x2c7ad9){return _0x3f8746===_0x2c7ad9;},'hLrPP':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','oPigy':'\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','IXULi':function(_0x403bf1,_0x44133c){return _0x403bf1+_0x44133c;},'yjjqU':function(_0x2dafb6,_0x205fe2){return _0x2dafb6-_0x205fe2;},'WFPpU':function(_0x52dcc0,_0x560f76){return _0x52dcc0<_0x560f76;},'UNwxg':function(_0x337941,_0x518f07){return _0x337941>=_0x518f07;},'HKeqG':function(_0x429f14,_0x1862a3,_0x57c6a5,_0x4e91d8){return _0x429f14(_0x1862a3,_0x57c6a5,_0x4e91d8);},'Fjmzu':function(_0x5e07c1,_0x4ff67b,_0x2e176b){return _0x5e07c1(_0x4ff67b,_0x2e176b);}},_0x59e324=_0x1a5113['id']||await getActiveFeatureId();!_0x59e324&&(console[_0x2a4dd7(0x216)](_0x42dfb9[_0x2a4dd7(0x1bc)]),console['error'](_0x2a4dd7(0x243)),process['exit'](0x1));const _0x1daedf=await _0x42dfb9['QRscJ'](getFeature,_0x59e324);_0x1daedf[_0x2a4dd7(0x299)]&&!_0x1daedf['latestReview'][_0x2a4dd7(0x1fd)]&&(console[_0x2a4dd7(0x216)](_0x42dfb9['jobPT']),console[_0x2a4dd7(0x216)](_0x42dfb9['LNPbq']),console[_0x2a4dd7(0x216)]('\x20\x20'+_0x1daedf['dashboardUrl']),process[_0x2a4dd7(0x271)](0x1));const _0x3345a3=_0x1daedf[_0x2a4dd7(0x2a4)]||[];_0x42dfb9['mXcnw'](_0x3345a3['length'],0x0)&&(console['error'](_0x42dfb9['hLrPP']),process[_0x2a4dd7(0x271)](0x1));if(_0x42dfb9[_0x2a4dd7(0x1e4)](_0x1a5113['scenario'],undefined)){console[_0x2a4dd7(0x216)](_0x42dfb9[_0x2a4dd7(0x2af)]),console[_0x2a4dd7(0x1f0)]('\x0aAvailable\x20scenarios:');for(let _0x43083c=0x0;_0x43083c<_0x3345a3['length'];_0x43083c++){console['log']('\x20\x20'+_0x42dfb9[_0x2a4dd7(0x237)](_0x43083c,0x1)+'.\x20'+_0x3345a3[_0x43083c]['description']);}process[_0x2a4dd7(0x271)](0x1);}const _0x38fb3e=_0x42dfb9[_0x2a4dd7(0x245)](_0x1a5113[_0x2a4dd7(0x1fc)],0x1);if(_0x42dfb9[_0x2a4dd7(0x256)](_0x38fb3e,0x0)||_0x42dfb9['UNwxg'](_0x38fb3e,_0x3345a3['length'])){console['error'](_0x2a4dd7(0x21d)+_0x1a5113['scenario']+'.\x20Feature\x20review\x20has\x20'+_0x3345a3[_0x2a4dd7(0x1bd)]+'\x20scenarios.'),console['log']('\x0aAvailable\x20scenarios:');for(let _0x1bbcb3=0x0;_0x1bbcb3<_0x3345a3[_0x2a4dd7(0x1bd)];_0x1bbcb3++){console['log']('\x20\x20'+_0x42dfb9[_0x2a4dd7(0x237)](_0x1bbcb3,0x1)+'.\x20'+_0x3345a3[_0x1bbcb3]['description']);}process[_0x2a4dd7(0x271)](0x1);}const _0x241fb6=_0x3345a3[_0x38fb3e];await _0x42dfb9[_0x2a4dd7(0x21e)](updateChecklistItem,_0x59e324,_0x241fb6['id'],{'description':_0x2b8eaa});const _0x366e0e=await _0x42dfb9['QRscJ'](getFeature,_0x59e324);console[_0x2a4dd7(0x1f0)](_0x2a4dd7(0x2a9)),_0x42dfb9[_0x2a4dd7(0x1e6)](displayFeature,_0x366e0e,_0x366e0e[_0x2a4dd7(0x2a4)]);}async function downloadFeedbackImage(_0x239aa0,_0x1c73db){const _0x5a3146=_0xb6b994,_0x23c31f={'jIgIx':'feedback-images'};try{const _0xf8b5c3=join(getRangerDir(),_0x23c31f[_0x5a3146(0x1da)]);await mkdir(_0xf8b5c3,{'recursive':!![]});const _0xa1e7c7=join(_0xf8b5c3,_0x5a3146(0x234)+_0x1c73db+'.png'),_0x2277b0=await fetch(_0x239aa0);if(!_0x2277b0['ok'])return null;const _0x373be5=Buffer['from'](await _0x2277b0['arrayBuffer']());return await writeFile(_0xa1e7c7,_0x373be5),_0xa1e7c7;}catch{return null;}}export async function featureGetReview(_0x336715){const _0x47cf30=_0xb6b994,_0x4fb357={'RENeS':function(_0x4e56ea,_0x164136,_0x3ac06c){return _0x4e56ea(_0x164136,_0x3ac06c);},'Jrxro':function(_0x1a605d,_0x165af9){return _0x1a605d>_0x165af9;},'TvRzg':function(_0x3f7455,_0x51f831){return _0x3f7455+_0x51f831;},'uVVgC':'en-US','phQTF':'Unknown','mUuGE':function(_0x3cf866,_0x2ac3d){return _0x3cf866+_0x2ac3d;}},_0x32da25=_0x336715||await getActiveFeatureId();if(!_0x32da25)throw new Error(_0x47cf30(0x1bb));const _0x1b734f=await getFeature(_0x32da25),{items:_0x4a1185}=await getActionItems(_0x32da25);console['log'](_0x47cf30(0x284)+_0x1b734f['name']+'\x20('+_0x1b734f['id']+')\x0a');if(_0x4a1185['length']===0x0){console['log'](_0x47cf30(0x1f2));return;}for(let _0x30dbe2=0x0;_0x30dbe2<_0x4a1185['length'];_0x30dbe2++){const _0x330eb9=_0x4a1185[_0x30dbe2],_0x5a5b33=_0x330eb9[_0x47cf30(0x286)]>0x1?_0x47cf30(0x1cd)+_0x330eb9['version']+')':'',_0x2642b5=await _0x4fb357[_0x47cf30(0x202)](getItemFeedback,_0x32da25,_0x330eb9['id']);if(_0x4fb357['Jrxro'](_0x2642b5['unaddressedComments'][_0x47cf30(0x1bd)],0x0)){console[_0x47cf30(0x1f0)](_0x47cf30(0x225)+_0x4fb357[_0x47cf30(0x1d2)](_0x30dbe2,0x1)+':\x20\x22'+_0x330eb9['description']+'\x22'+_0x5a5b33+_0x47cf30(0x214)+_0x2642b5['unaddressedComments']['length']+_0x47cf30(0x29d));for(const _0x3981f8 of _0x2642b5['unaddressedComments']){const _0x44e210=new Date(_0x3981f8[_0x47cf30(0x1fb)])[_0x47cf30(0x208)](_0x4fb357['uVVgC'],{'month':'short','day':_0x47cf30(0x210)}),_0x21871a=_0x3981f8['authorName']||_0x3981f8['authorEmail']||_0x4fb357[_0x47cf30(0x1f1)];console['log']('\x20\x20💬\x20'+_0x21871a+'\x20('+_0x44e210+'):\x20\x22'+_0x3981f8['content']+'\x22');if(_0x3981f8['assetUrl']){const _0x8749d5=await downloadFeedbackImage(_0x3981f8['assetUrl'],_0x3981f8['id']);_0x8749d5&&console['log'](_0x47cf30(0x1cf)+_0x8749d5);}if(_0x3981f8['domRef']){const _0x1abdac=_0x3981f8[_0x47cf30(0x298)][_0x47cf30(0x1c3)]['split'](_0x47cf30(0x1d7))['pop']()?.['split'](':')[0x0]||_0x47cf30(0x21f),_0x4c937a=_0x3981f8['domRef'][_0x47cf30(0x24f)]?'\x20\x22'+_0x3981f8[_0x47cf30(0x298)][_0x47cf30(0x24f)]['slice'](0x0,0x3c)+'\x22':'';console[_0x47cf30(0x1f0)](_0x47cf30(0x20b)+_0x1abdac+'>'+_0x4c937a),console['log'](_0x47cf30(0x219)+_0x3981f8['domRef']['selector']);}else{if(_0x3981f8['spatial']){const _0x4d1e1b=_0x3981f8[_0x47cf30(0x1dd)][_0x47cf30(0x209)];_0x3981f8[_0x47cf30(0x1dd)]['type']==='point'&&_0x4d1e1b['length']>=0x2?console['log'](_0x47cf30(0x22d)+_0x4d1e1b[0x0][_0x47cf30(0x1f6)](0x2)+',\x20'+_0x4d1e1b[0x1]['toFixed'](0x2)+')'):console['log'](_0x47cf30(0x28c)+_0x3981f8[_0x47cf30(0x1dd)]['type']+'\x20at\x20['+_0x4d1e1b[_0x47cf30(0x23f)](_0x43e507=>_0x43e507['toFixed'](0x2))[_0x47cf30(0x25f)](',\x20')+']');}}}if(_0x2642b5[_0x47cf30(0x2a8)]){console['log']('\x20\x20Expected\x20flow:');for(const _0x13190d of _0x2642b5['canonicalFlow']['split']('\x0a')){console[_0x47cf30(0x1f0)]('\x20\x20\x20\x20'+_0x13190d);}}}else console[_0x47cf30(0x1f0)]('Scenario\x20'+_0x4fb357['mUuGE'](_0x30dbe2,0x1)+_0x47cf30(0x228)+_0x330eb9[_0x47cf30(0x232)]+'\x22'+_0x5a5b33+_0x47cf30(0x24a)),console[_0x47cf30(0x1f0)](_0x47cf30(0x2b0));console[_0x47cf30(0x1f0)]('');}}export async function featureDelete(_0x33152d){const _0x320f34=_0xb6b994,_0x1597d4={'WTDJc':function(_0x545fc2){return _0x545fc2();},'iiRpV':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','LJMeC':function(_0x180dbb,_0x2c9286){return _0x180dbb(_0x2c9286);}},_0x5ba6c1=_0x33152d||await _0x1597d4[_0x320f34(0x27e)](getActiveFeatureId);if(!_0x5ba6c1)throw new Error(_0x1597d4[_0x320f34(0x1ed)]);const _0x588c32=await _0x1597d4[_0x320f34(0x1dc)](getFeature,_0x5ba6c1);await _0x1597d4[_0x320f34(0x1dc)](softDeleteFeature,_0x5ba6c1),console[_0x320f34(0x1f0)](_0x320f34(0x27c)+_0x588c32[_0x320f34(0x222)]+'\x20('+_0x5ba6c1+')'),console[_0x320f34(0x1f0)]('\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'+_0x5ba6c1);}export async function featureRestore(_0x3a46d0){const _0x585c71=_0xb6b994,_0x4ece80={'mqUjM':function(_0x495bdb,_0x5b1c0c){return _0x495bdb(_0x5b1c0c);},'xyvjt':function(_0x2b3588,_0x56e465,_0x30cf56){return _0x2b3588(_0x56e465,_0x30cf56);}};await _0x4ece80['mqUjM'](restoreFeature,_0x3a46d0);const _0x122f83=await getFeature(_0x3a46d0);console['log'](_0x585c71(0x269)+_0x122f83[_0x585c71(0x222)]+'\x20('+_0x3a46d0+')'),_0x4ece80[_0x585c71(0x1e9)](displayFeature,_0x122f83,_0x122f83[_0x585c71(0x2a4)]);}
@@ -1 +1 @@
1
- (function(_0x1eae1b,_0x4e31c9){const _0x5b04f2=_0x330c,_0x26b88e=_0x1eae1b();while(!![]){try{const _0x3f44cf=parseInt(_0x5b04f2(0x129))/0x1*(parseInt(_0x5b04f2(0x128))/0x2)+parseInt(_0x5b04f2(0x11b))/0x3+parseInt(_0x5b04f2(0x127))/0x4*(parseInt(_0x5b04f2(0x119))/0x5)+-parseInt(_0x5b04f2(0x117))/0x6*(-parseInt(_0x5b04f2(0x11f))/0x7)+-parseInt(_0x5b04f2(0x125))/0x8*(-parseInt(_0x5b04f2(0x121))/0x9)+-parseInt(_0x5b04f2(0x122))/0xa*(parseInt(_0x5b04f2(0x118))/0xb)+-parseInt(_0x5b04f2(0x123))/0xc;if(_0x3f44cf===_0x4e31c9)break;else _0x26b88e['push'](_0x26b88e['shift']());}catch(_0x9e2f77){_0x26b88e['push'](_0x26b88e['shift']());}}}(_0x2e36,0xce0ef));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x330c(_0x4ee0c9,_0x2af8d6){_0x4ee0c9=_0x4ee0c9-0x117;const _0x2e367d=_0x2e36();let _0x330c2f=_0x2e367d[_0x4ee0c9];return _0x330c2f;}const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};function _0x2e36(){const _0x578869=['gZFPd','910mspdGd','exit','5500224hAmnlZ','5300DhsNOu','39651396dtpzrp','error','16rhDIML','join','5027812ZLSRgh','2fbWAKz','867494tVcXtQ','54552plIPLh','27445qyfBzy','5jOFhDS','JMtfS','2825907BUZQFg','once','keys'];_0x2e36=function(){return _0x578869;};return _0x2e36();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x311107=_0x330c,_0x43a746={'gZFPd':'SIGINT','PChum':'SIGTERM'};if(cancellationHandlersInstalled)return;const _0x4072af=()=>{process['exit'](0x0);};process['once'](_0x43a746[_0x311107(0x11e)],_0x4072af),process[_0x311107(0x11c)](_0x43a746['PChum'],_0x4072af),process['once']('SIGHUP',_0x4072af),cancellationHandlersInstalled=!![];}export async function hook(_0x1f7787,_0x4bcb04){const _0x11c934=_0x330c,_0x5e4356={'JMtfS':function(_0x49f574){return _0x49f574();}};_0x5e4356[_0x11c934(0x11a)](installCancellationHandlers);const _0x5b9cc3=HOOKS[_0x1f7787];if(!_0x5b9cc3){const _0x59b2b9=Object[_0x11c934(0x11d)](HOOKS)[_0x11c934(0x126)](',\x20');console[_0x11c934(0x124)]('Unknown\x20hook:\x20'+_0x1f7787),console[_0x11c934(0x124)]('Valid\x20hooks:\x20'+_0x59b2b9),process[_0x11c934(0x120)](0x1);}await _0x5b9cc3(_0x4bcb04);}
1
+ (function(_0x412fc4,_0xa37f2c){const _0x4c4a97=_0x2d54,_0x20728c=_0x412fc4();while(!![]){try{const _0x2c750f=parseInt(_0x4c4a97(0x1c8))/0x1+-parseInt(_0x4c4a97(0x1ca))/0x2+parseInt(_0x4c4a97(0x1c2))/0x3+-parseInt(_0x4c4a97(0x1bc))/0x4*(-parseInt(_0x4c4a97(0x1bd))/0x5)+parseInt(_0x4c4a97(0x1bf))/0x6+-parseInt(_0x4c4a97(0x1c9))/0x7+parseInt(_0x4c4a97(0x1c5))/0x8*(-parseInt(_0x4c4a97(0x1c7))/0x9);if(_0x2c750f===_0xa37f2c)break;else _0x20728c['push'](_0x20728c['shift']());}catch(_0x548ec8){_0x20728c['push'](_0x20728c['shift']());}}}(_0x4bb5,0x35ba1));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};function _0x2d54(_0x37863d,_0x429bb3){_0x37863d=_0x37863d-0x1ba;const _0x4bb55b=_0x4bb5();let _0x2d545f=_0x4bb55b[_0x37863d];return _0x2d545f;}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x4f0827=_0x2d54,_0x4d3739={'nkyGo':_0x4f0827(0x1c1),'JZLDk':_0x4f0827(0x1ba),'gXLws':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x4667c2=()=>{process['exit'](0x0);};process['once'](_0x4d3739['nkyGo'],_0x4667c2),process['once'](_0x4d3739[_0x4f0827(0x1c3)],_0x4667c2),process['once'](_0x4d3739[_0x4f0827(0x1c0)],_0x4667c2),cancellationHandlersInstalled=!![];}function _0x4bb5(){const _0x20eddf=['2280915LDLOAF','73828MiOYyC','SIGTERM','Valid\x20hooks:\x20','668QUQikE','10870RxuJWw','keys','582384YwyCoo','gXLws','SIGINT','17682AgVaGa','JZLDk','error','6456NWHJnu','hZSvl','45noEjMm','120843myvmBN'];_0x4bb5=function(){return _0x20eddf;};return _0x4bb5();}export async function hook(_0xe5aebe,_0x23cec5){const _0x179b58=_0x2d54,_0x3fbe80={'hZSvl':function(_0x4f1f8c){return _0x4f1f8c();}};_0x3fbe80[_0x179b58(0x1c6)](installCancellationHandlers);const _0x17575c=HOOKS[_0xe5aebe];if(!_0x17575c){const _0x88ba0d=Object[_0x179b58(0x1be)](HOOKS)['join'](',\x20');console['error']('Unknown\x20hook:\x20'+_0xe5aebe),console[_0x179b58(0x1c4)](_0x179b58(0x1bb)+_0x88ba0d),process['exit'](0x1);}await _0x17575c(_0x23cec5);}
@@ -1 +1 @@
1
- const _0x51ef76=_0x2f1d;(function(_0x28ae96,_0x29e5f8){const _0x5978a9=_0x2f1d,_0x378417=_0x28ae96();while(!![]){try{const _0x1d12c3=-parseInt(_0x5978a9(0x12e))/0x1*(-parseInt(_0x5978a9(0x128))/0x2)+-parseInt(_0x5978a9(0x12b))/0x3+-parseInt(_0x5978a9(0x126))/0x4*(-parseInt(_0x5978a9(0x127))/0x5)+-parseInt(_0x5978a9(0x130))/0x6*(-parseInt(_0x5978a9(0x12c))/0x7)+-parseInt(_0x5978a9(0x12d))/0x8*(parseInt(_0x5978a9(0x12f))/0x9)+-parseInt(_0x5978a9(0x125))/0xa+parseInt(_0x5978a9(0x124))/0xb*(-parseInt(_0x5978a9(0x129))/0xc);if(_0x1d12c3===_0x29e5f8)break;else _0x378417['push'](_0x378417['shift']());}catch(_0x24a4b1){_0x378417['push'](_0x378417['shift']());}}}(_0x5dc9,0x6fdb3));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';function _0x5dc9(){const _0x31aa73=['1362YGympc','33sFZHpR','1911460yvjcpn','4KuSYAG','3066065PQflAN','572ulvrZS','2226732qIrcUE','\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.','1636155PhNLuP','16877KFrCag','4504xsuEZa','3190FXLVzK','5139WRLKct'];_0x5dc9=function(){return _0x31aa73;};return _0x5dc9();}function _0x2f1d(_0x22a5ed,_0xfc16b){_0x22a5ed=_0x22a5ed-0x124;const _0x5dc9c7=_0x5dc9();let _0x2f1d66=_0x5dc9c7[_0x22a5ed];return _0x2f1d66;}const AUTO_PROMPT_TEXT=_0x51ef76(0x12a);export async function autoPrompt(){const _0x22170a=await readHookInput(),_0x5cd180=_0x22170a?.['session_id'];if(!_0x5cd180)return;if(isSessionEnabled(_0x5cd180)||hasSessionBeenPrompted(_0x5cd180))return;markSessionPrompted(_0x5cd180),console['log'](AUTO_PROMPT_TEXT);}
1
+ const _0x29efd7=_0x3599;(function(_0x5c039a,_0x312d3a){const _0x715b63=_0x3599,_0x399501=_0x5c039a();while(!![]){try{const _0xadb9a9=parseInt(_0x715b63(0xb6))/0x1*(-parseInt(_0x715b63(0xb2))/0x2)+parseInt(_0x715b63(0xbb))/0x3+-parseInt(_0x715b63(0xb7))/0x4+-parseInt(_0x715b63(0xb3))/0x5*(-parseInt(_0x715b63(0xbe))/0x6)+parseInt(_0x715b63(0xba))/0x7+parseInt(_0x715b63(0xbd))/0x8*(parseInt(_0x715b63(0xb9))/0x9)+parseInt(_0x715b63(0xb4))/0xa*(-parseInt(_0x715b63(0xbc))/0xb);if(_0xadb9a9===_0x312d3a)break;else _0x399501['push'](_0x399501['shift']());}catch(_0xb0800d){_0x399501['push'](_0x399501['shift']());}}}(_0x34dd,0x187b3));function _0x34dd(){const _0x4cdff5=['572928jOoOpA','9317ptcfKZ','1436120ZwozKF','6iSBlJM','log','session_id','314968XtjGmZ','57535SCEVJY','270tkALpi','\x0a🚨\x20🚨\x20[ACTION\x20REQUIRED]\x20🚨\x20🚨\x0aBefore\x20responding\x20to\x20the\x20user\x27s\x20message,\x20consider\x20whether\x20this\x20task\x20will\x20involve\x20ANY\x20frontend,\x20UI,\x20or\x20browser\x20work.\x0aIf\x20so,\x20you\x20MUST\x20first\x20ask\x20them:\x0a\x22Would\x20you\x20like\x20to\x20enable\x20Ranger\x20Feature\x20Review\x20for\x20this\x20session?\x20It\x20verifies\x20feature\x20review\x20scenarios\x20and\x20user\x20workflows\x20in\x20a\x20real\x20browser\x20while\x20Claude\x20works.\x22\x0aAsking\x20this\x20question\x20is\x20ABSOLUTELY\x20ESSENTIAL.\x20DO\x20NOT\x20SKIP\x20THIS\x20STEP.\x0aIf\x20they\x20say\x20yes,\x20run\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool).\x0aIf\x20they\x20say\x20no,\x20say\x20\x22Sounds\x20good.\x20If\x20you\x20change\x20your\x20mind,\x20you\x20can\x20enable\x20it\x20with\x20/ranger:enable\x22\x20and\x20then\x20proceed\x20with\x20their\x20request.\x0aThis\x20is\x20mandatory\x20—\x20do\x20not\x20skip\x20this\x20step.','1wsuDHR','492416GcnBbu','lUiNc','9JXWawK','152138HFaPqx'];_0x34dd=function(){return _0x4cdff5;};return _0x34dd();}import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';const AUTO_PROMPT_TEXT=_0x29efd7(0xb5);function _0x3599(_0x353fe4,_0xd517e8){_0x353fe4=_0x353fe4-0xb1;const _0x34ddf6=_0x34dd();let _0x359937=_0x34ddf6[_0x353fe4];return _0x359937;}export async function autoPrompt(){const _0x5b105f=_0x29efd7,_0x2c6c2e={'lUiNc':function(_0x57fceb,_0x33f78c){return _0x57fceb(_0x33f78c);}},_0x10963e=await readHookInput(),_0x587747=_0x10963e?.[_0x5b105f(0xb1)];if(!_0x587747)return;if(isSessionEnabled(_0x587747)||hasSessionBeenPrompted(_0x587747))return;_0x2c6c2e[_0x5b105f(0xb8)](markSessionPrompted,_0x587747),console[_0x5b105f(0xbf)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- function _0x1303(_0xb81937,_0x5ab9a5){_0xb81937=_0xb81937-0x17d;const _0x6ebc99=_0x6ebc();let _0x130325=_0x6ebc99[_0xb81937];return _0x130325;}(function(_0x296814,_0x3db56d){const _0xbdb3df=_0x1303,_0x5dee81=_0x296814();while(!![]){try{const _0x4f6f11=-parseInt(_0xbdb3df(0x18f))/0x1+-parseInt(_0xbdb3df(0x186))/0x2*(parseInt(_0xbdb3df(0x182))/0x3)+-parseInt(_0xbdb3df(0x18d))/0x4+-parseInt(_0xbdb3df(0x185))/0x5*(-parseInt(_0xbdb3df(0x184))/0x6)+-parseInt(_0xbdb3df(0x188))/0x7*(parseInt(_0xbdb3df(0x17e))/0x8)+-parseInt(_0xbdb3df(0x18c))/0x9+parseInt(_0xbdb3df(0x180))/0xa*(parseInt(_0xbdb3df(0x18a))/0xb);if(_0x4f6f11===_0x3db56d)break;else _0x5dee81['push'](_0x5dee81['shift']());}catch(_0x30504a){_0x5dee81['push'](_0x5dee81['shift']());}}}(_0x6ebc,0x4dba1));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x6ebc(){const _0x3db637=['23637JffdHE','master','12hPyxFa','1251605WYXQRd','14LCRdno','pbXpX','316638CRmIEI','UYvQP','83270IVDdey','iMDJS','5458086LIcoQU','352868hdebgk','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','23467dtxEAE','main','24KLwBFC','.\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`.','960KQujPa','kllQD'];_0x6ebc=function(){return _0x3db637;};return _0x6ebc();}import{printBlock}from'./output.js';export async function disable(_0x5bb659){const _0x53ffc3=_0x1303,_0xb7456c={'vKrAS':function(_0x8ac940){return _0x8ac940();},'iMDJS':function(_0x561814,_0x3e1d29){return _0x561814!==_0x3e1d29;},'iYcSw':'main','UYvQP':_0x53ffc3(0x183),'pbXpX':function(_0x4254f9,_0x55d0df){return _0x4254f9(_0x55d0df);},'kllQD':function(_0x6319af,_0xef204f){return _0x6319af!==_0xef204f;}},_0x350f28=_0x5bb659||process['env']['CLAUDE_SESSION_ID']||'';_0x350f28&&disableSession(_0x350f28);const _0x3ee4db=_0xb7456c['vKrAS'](getCurrentBranch);_0x3ee4db&&_0xb7456c[_0x53ffc3(0x18b)](_0x3ee4db,_0xb7456c['iYcSw'])&&_0x3ee4db!==_0xb7456c[_0x53ffc3(0x189)]&&_0xb7456c[_0x53ffc3(0x187)](disableBranch,_0x3ee4db),printBlock(_0x53ffc3(0x18e)+(_0x3ee4db&&_0xb7456c[_0x53ffc3(0x181)](_0x3ee4db,_0x53ffc3(0x17d))&&_0xb7456c['iMDJS'](_0x3ee4db,'master')?'\x20and\x20branch\x20\x27'+_0x3ee4db+'\x27':'')+_0x53ffc3(0x17f));}
1
+ (function(_0x3c80b5,_0x4af0c0){const _0x584422=_0x285d,_0x3e94ed=_0x3c80b5();while(!![]){try{const _0x5a047a=parseInt(_0x584422(0x16f))/0x1*(parseInt(_0x584422(0x166))/0x2)+-parseInt(_0x584422(0x160))/0x3+parseInt(_0x584422(0x170))/0x4*(parseInt(_0x584422(0x163))/0x5)+-parseInt(_0x584422(0x167))/0x6+parseInt(_0x584422(0x16b))/0x7*(-parseInt(_0x584422(0x165))/0x8)+parseInt(_0x584422(0x169))/0x9+-parseInt(_0x584422(0x16a))/0xa*(-parseInt(_0x584422(0x15f))/0xb);if(_0x5a047a===_0x4af0c0)break;else _0x3e94ed['push'](_0x3e94ed['shift']());}catch(_0x521104){_0x3e94ed['push'](_0x3e94ed['shift']());}}}(_0x4305,0x758dc));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x285d(_0x32aca5,_0x304c10){_0x32aca5=_0x32aca5-0x15e;const _0x4305e5=_0x4305();let _0x285d43=_0x4305e5[_0x32aca5];return _0x285d43;}function _0x4305(){const _0x48f4f7=['main','2538063wuRNgb','417870BRcomi','7cpglzj','WqTeD','master','GKxDT','17ACkZOa','12OlJlzr','\x20and\x20branch\x20\x27','CzgDp','242seQjjA','1687650Xnnlts','env','uThsm','155535OJHZAN','.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.','1185976OweDjD','78602PzwCAz','4622772XZgyMw'];_0x4305=function(){return _0x48f4f7;};return _0x4305();}import{printBlock}from'./output.js';export async function disable(_0x44f4f8){const _0x11c70f=_0x285d,_0x47357d={'WqTeD':function(_0x14cf0e,_0x51d647){return _0x14cf0e(_0x51d647);},'CzgDp':function(_0x328efd){return _0x328efd();},'jvxJG':'main','uThsm':function(_0x20fa70,_0x2065d0){return _0x20fa70!==_0x2065d0;},'GKxDT':function(_0x108611,_0x213da2){return _0x108611!==_0x213da2;}},_0x520007=_0x44f4f8||process[_0x11c70f(0x161)]['CLAUDE_SESSION_ID']||'';_0x520007&&_0x47357d['WqTeD'](disableSession,_0x520007);const _0x25f777=_0x47357d[_0x11c70f(0x15e)](getCurrentBranch);_0x25f777&&_0x25f777!==_0x47357d['jvxJG']&&_0x47357d['uThsm'](_0x25f777,'master')&&_0x47357d[_0x11c70f(0x16c)](disableBranch,_0x25f777),printBlock('#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x25f777&&_0x47357d[_0x11c70f(0x162)](_0x25f777,_0x11c70f(0x168))&&_0x47357d[_0x11c70f(0x16e)](_0x25f777,_0x11c70f(0x16d))?_0x11c70f(0x171)+_0x25f777+'\x27':'')+_0x11c70f(0x164));}
@@ -1 +1 @@
1
- (function(_0x205e58,_0x1139b2){const _0x10c214=_0x4497,_0x3aff99=_0x205e58();while(!![]){try{const _0x32d607=parseInt(_0x10c214(0xa8))/0x1*(parseInt(_0x10c214(0xad))/0x2)+-parseInt(_0x10c214(0xab))/0x3+parseInt(_0x10c214(0xb2))/0x4+-parseInt(_0x10c214(0xb6))/0x5+-parseInt(_0x10c214(0xb7))/0x6+-parseInt(_0x10c214(0xb0))/0x7+parseInt(_0x10c214(0xac))/0x8;if(_0x32d607===_0x1139b2)break;else _0x3aff99['push'](_0x3aff99['shift']());}catch(_0x124b99){_0x3aff99['push'](_0x3aff99['shift']());}}}(_0x1dba,0x2c5e3));function _0x4497(_0x24a66f,_0x3ea97d){_0x24a66f=_0x24a66f-0xa7;const _0x1dbab2=_0x1dba();let _0x4497b5=_0x1dbab2[_0x24a66f];return _0x4497b5;}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 _0x1dba(){const _0x22be99=['`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','658540aJVnLT','mzDdB','fLUBy','CLAUDE_SESSION_ID','438085CZeIhQ','1570404RnqJal','env','\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`.','1yvmNtW','ZeBAu','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','536652mvMAYg','4643000Obqqhe','619198RwyHPQ','xNAbk','#\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`','2412501Jfjlyi'];_0x1dba=function(){return _0x22be99;};return _0x1dba();}import{update}from'../update.js';export async function enable(_0x337743){const _0x19c80d=_0x4497,_0x1b984b={'xNAbk':function(_0x384b3f,_0x3a57af){return _0x384b3f(_0x3a57af);},'mzDdB':function(_0x1e3ec0){return _0x1e3ec0();},'fLUBy':'ranger\x20setup\x20--opencode','ZeBAu':'ranger\x20setup','XOTFA':'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','WhuJp':'master','doRFX':function(_0x59e3e1){return _0x59e3e1();}},_0x1f5205=_0x337743||process[_0x19c80d(0xb8)][_0x19c80d(0xb5)]||'',_0x48fa92=_0x1b984b['xNAbk'](Boolean,_0x337743),_0x3954f6=await _0x1b984b['mzDdB'](getToken);if(!_0x3954f6){const _0x548f68=_0x48fa92?_0x1b984b[_0x19c80d(0xb4)]:_0x1b984b[_0x19c80d(0xa9)],_0x16fae9=_0x48fa92?'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.':_0x1b984b['XOTFA'];printBlock(_0x19c80d(0xaf)+_0x548f68+_0x19c80d(0xb1)+_0x16fae9);return;}try{await _0x1b984b[_0x19c80d(0xb3)](update);}catch{}_0x1f5205&&enableSession(_0x1f5205);const _0x2d2866=getCurrentBranch(),_0x2a06b4=_0x2d2866&&_0x2d2866!=='main'&&_0x2d2866!==_0x1b984b['WhuJp']?'\x0a\x0a**Branch\x20\x27'+_0x2d2866+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x307ebd=_0x1b984b['doRFX'](getRangerSkillContent);_0x1b984b[_0x19c80d(0xae)](printBlock,'#\x20RANGER\x20ENABLED'+_0x2a06b4+_0x19c80d(0xaa)+_0x307ebd+_0x19c80d(0xa7));}
1
+ function _0x5365(_0x489ea8,_0xa1c568){_0x489ea8=_0x489ea8-0x106;const _0x2ef849=_0x2ef8();let _0x536521=_0x2ef849[_0x489ea8];return _0x536521;}(function(_0x46f57e,_0x19c705){const _0x10a432=_0x5365,_0x1f837a=_0x46f57e();while(!![]){try{const _0x5902e3=-parseInt(_0x10a432(0x111))/0x1*(parseInt(_0x10a432(0x106))/0x2)+parseInt(_0x10a432(0x114))/0x3+parseInt(_0x10a432(0x118))/0x4+parseInt(_0x10a432(0x107))/0x5*(-parseInt(_0x10a432(0x115))/0x6)+parseInt(_0x10a432(0x112))/0x7*(parseInt(_0x10a432(0x11d))/0x8)+parseInt(_0x10a432(0x11a))/0x9*(-parseInt(_0x10a432(0x10a))/0xa)+parseInt(_0x10a432(0x10c))/0xb;if(_0x5902e3===_0x19c705)break;else _0x1f837a['push'](_0x1f837a['shift']());}catch(_0x36d55b){_0x1f837a['push'](_0x1f837a['shift']());}}}(_0x2ef8,0x47d06));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';function _0x2ef8(){const _0x230cf9=['\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','410628DJYfst','#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`','81360CVvXDM','NjxFv','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','352ZrKZoQ','68bvHcnU','631205CFYjQg','ranger\x20setup','TvdHm','260hpGtef','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','3678400cTuLhU','#\x20RANGER\x20ENABLED','\x0a\x0a**Branch\x20\x27','XqaGk','ranger\x20setup\x20--opencode','10858IRfWyI','30835WuGbge','bqTFu','1181178EpRvVe','6MwRMJH'];_0x2ef8=function(){return _0x230cf9;};return _0x2ef8();}import{update}from'../update.js';export async function enable(_0x5d7929){const _0x3d3a8b=_0x5365,_0x38b8e3={'XqaGk':function(_0x497b12,_0x434934){return _0x497b12(_0x434934);},'bbPwd':function(_0x2f22d2){return _0x2f22d2();},'bqTFu':_0x3d3a8b(0x108),'qvXXg':'Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','NjxFv':function(_0x3ab085){return _0x3ab085();},'TvdHm':function(_0x337f58,_0x22eb16){return _0x337f58!==_0x22eb16;},'umLOV':function(_0xa924f1,_0x2d0347){return _0xa924f1!==_0x2d0347;}},_0x34d748=_0x5d7929||process['env']['CLAUDE_SESSION_ID']||'',_0x1f803f=_0x38b8e3[_0x3d3a8b(0x10f)](Boolean,_0x5d7929),_0x2557c4=await _0x38b8e3['bbPwd'](getToken);if(!_0x2557c4){const _0x2c233a=_0x1f803f?_0x3d3a8b(0x110):_0x38b8e3[_0x3d3a8b(0x113)],_0x1a9d14=_0x1f803f?_0x38b8e3['qvXXg']:_0x3d3a8b(0x11c);_0x38b8e3[_0x3d3a8b(0x10f)](printBlock,_0x3d3a8b(0x119)+_0x2c233a+_0x3d3a8b(0x10b)+_0x1a9d14);return;}try{await _0x38b8e3[_0x3d3a8b(0x11b)](update);}catch{}_0x34d748&&enableSession(_0x34d748);const _0x13acd7=_0x38b8e3[_0x3d3a8b(0x11b)](getCurrentBranch),_0x25904b=_0x13acd7&&_0x38b8e3[_0x3d3a8b(0x109)](_0x13acd7,'main')&&_0x38b8e3['umLOV'](_0x13acd7,'master')?_0x3d3a8b(0x10e)+_0x13acd7+_0x3d3a8b(0x116):'',_0x2a4617=_0x38b8e3[_0x3d3a8b(0x11b)](getRangerSkillContent);printBlock(_0x3d3a8b(0x10d)+_0x25904b+_0x3d3a8b(0x117)+_0x2a4617+'\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.');}
@@ -1 +1 @@
1
- function _0x59fe(_0x522422,_0x53ca97){_0x522422=_0x522422-0x1b5;const _0x55ae45=_0x55ae();let _0x59fee9=_0x55ae45[_0x522422];return _0x59fee9;}(function(_0x2cec9a,_0x11d072){const _0x5b422f=_0x59fe,_0x561058=_0x2cec9a();while(!![]){try{const _0x2b1a40=-parseInt(_0x5b422f(0x1b5))/0x1*(parseInt(_0x5b422f(0x1c1))/0x2)+-parseInt(_0x5b422f(0x1be))/0x3*(parseInt(_0x5b422f(0x1bf))/0x4)+parseInt(_0x5b422f(0x1bb))/0x5*(parseInt(_0x5b422f(0x1b6))/0x6)+-parseInt(_0x5b422f(0x1bd))/0x7+-parseInt(_0x5b422f(0x1ba))/0x8*(parseInt(_0x5b422f(0x1b9))/0x9)+-parseInt(_0x5b422f(0x1c0))/0xa+-parseInt(_0x5b422f(0x1b8))/0xb*(-parseInt(_0x5b422f(0x1b7))/0xc);if(_0x2b1a40===_0x11d072)break;else _0x561058['push'](_0x561058['shift']());}catch(_0x1313d1){_0x561058['push'](_0x561058['shift']());}}}(_0x55ae,0xddb48));import{printBlock,getEnabledSessionId}from'./output.js';function _0x55ae(){const _0x4c9507=['12368936UnsYoW','10LQYiEX','===\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===','11014843rpbpTU','21LduZod','163876RHLbQL','16267690CHigMb','388nYksAJ','692JLdDqk','140394mSEZRD','24VoDBJl','33158246bkFaPM','9xIvqIW'];_0x55ae=function(){return _0x4c9507;};return _0x55ae();}export async function exitPlanMode(_0x11d484){const _0x1c5fad=_0x59fe,_0x2b5b8e={'TBlgw':function(_0x5499ae,_0x58821e){return _0x5499ae(_0x58821e);}},_0x4e456c=await getEnabledSessionId(_0x11d484);if(!_0x4e456c)return;_0x2b5b8e['TBlgw'](printBlock,_0x1c5fad(0x1bc));}
1
+ (function(_0x3de606,_0x13b9dd){const _0x183cbc=_0x3a72,_0x5c9eb3=_0x3de606();while(!![]){try{const _0x34e691=parseInt(_0x183cbc(0x9c))/0x1*(-parseInt(_0x183cbc(0x9e))/0x2)+-parseInt(_0x183cbc(0x9d))/0x3*(-parseInt(_0x183cbc(0x95))/0x4)+parseInt(_0x183cbc(0x9b))/0x5*(-parseInt(_0x183cbc(0x98))/0x6)+-parseInt(_0x183cbc(0x94))/0x7+parseInt(_0x183cbc(0x97))/0x8+-parseInt(_0x183cbc(0x96))/0x9*(-parseInt(_0x183cbc(0x9a))/0xa)+parseInt(_0x183cbc(0x99))/0xb;if(_0x34e691===_0x13b9dd)break;else _0x5c9eb3['push'](_0x5c9eb3['shift']());}catch(_0x3ccccc){_0x5c9eb3['push'](_0x5c9eb3['shift']());}}}(_0x583e,0x59ed6));function _0x3a72(_0x2cebc1,_0x4d8c58){_0x2cebc1=_0x2cebc1-0x94;const _0x583ecf=_0x583e();let _0x3a7242=_0x583ecf[_0x2cebc1];return _0x3a7242;}import{printBlock,getEnabledSessionId}from'./output.js';function _0x583e(){const _0x5b1942=['9714WRGNJx','994cNthRK','1124452kBaVsu','68mYqUbj','18EljSgp','4244064QcFgun','1294242ejVjiz','620026ffxBWd','2554010aHqPLk','5jkQbGt','821WqYsuh'];_0x583e=function(){return _0x5b1942;};return _0x583e();}export async function exitPlanMode(_0x374769){const _0x34c7ba=await getEnabledSessionId(_0x374769);if(!_0x34c7ba)return;printBlock('===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- (function(_0x20d196,_0x3d4296){var _0x55312b=_0x1bdf,_0x8d963b=_0x20d196();while(!![]){try{var _0x2429cf=-parseInt(_0x55312b(0x1da))/0x1*(-parseInt(_0x55312b(0x1dc))/0x2)+parseInt(_0x55312b(0x1d7))/0x3*(-parseInt(_0x55312b(0x1db))/0x4)+parseInt(_0x55312b(0x1de))/0x5+parseInt(_0x55312b(0x1d5))/0x6*(-parseInt(_0x55312b(0x1d9))/0x7)+parseInt(_0x55312b(0x1d8))/0x8*(-parseInt(_0x55312b(0x1d6))/0x9)+-parseInt(_0x55312b(0x1d4))/0xa+parseInt(_0x55312b(0x1dd))/0xb;if(_0x2429cf===_0x3d4296)break;else _0x8d963b['push'](_0x8d963b['shift']());}catch(_0x1dad7e){_0x8d963b['push'](_0x8d963b['shift']());}}}(_0x2688,0x83903));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';function _0x1bdf(_0xf3b471,_0x49b519){_0xf3b471=_0xf3b471-0x1d4;var _0x268831=_0x2688();var _0x1bdfc8=_0x268831[_0xf3b471];return _0x1bdfc8;}function _0x2688(){var _0x32c4b7=['3724870lCvkYf','8172780gkGgqH','1569222RDcdHr','100512aQVTgr','1605CbLupE','16TcFITf','21ilOaua','64513jEWglw','5972mVEWud','28HPdgeL','14450777oJJLaa'];_0x2688=function(){return _0x32c4b7;};return _0x2688();}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(_0x3a5234,_0x87a64b){var _0x5b3e51=_0x57ab,_0x4b705c=_0x3a5234();while(!![]){try{var _0x59594f=-parseInt(_0x5b3e51(0xfc))/0x1+parseInt(_0x5b3e51(0xf4))/0x2+parseInt(_0x5b3e51(0xf2))/0x3*(-parseInt(_0x5b3e51(0xfa))/0x4)+-parseInt(_0x5b3e51(0xf7))/0x5*(-parseInt(_0x5b3e51(0xfb))/0x6)+parseInt(_0x5b3e51(0xf3))/0x7*(-parseInt(_0x5b3e51(0xf5))/0x8)+parseInt(_0x5b3e51(0xf6))/0x9+-parseInt(_0x5b3e51(0xf8))/0xa*(-parseInt(_0x5b3e51(0xf9))/0xb);if(_0x59594f===_0x87a64b)break;else _0x4b705c['push'](_0x4b705c['shift']());}catch(_0xdca409){_0x4b705c['push'](_0x4b705c['shift']());}}}(_0x4d0d,0xd5d20));export{sessionStart}from'./sessionStart.js';function _0x4d0d(){var _0xd691f6=['3AFrMpR','35WGkMCx','879692zdjKtE','276240HlVnyg','1112454ivyMaM','1531910cyaBwv','7061090PCUZGc','22fxVMte','5546292QmEgIt','18poqiMN','459785HkJBem'];_0x4d0d=function(){return _0xd691f6;};return _0x4d0d();}export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';function _0x57ab(_0x50a0e5,_0x3b87b3){_0x50a0e5=_0x50a0e5-0xf2;var _0x4d0d63=_0x4d0d();var _0x57ab02=_0x4d0d63[_0x50a0e5];return _0x57ab02;}export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x4ca81d,_0x5e3a1a){const _0x2c8a47=_0x108b,_0x19691b=_0x4ca81d();while(!![]){try{const _0x1e01cb=-parseInt(_0x2c8a47(0x103))/0x1+-parseInt(_0x2c8a47(0xfd))/0x2*(parseInt(_0x2c8a47(0x102))/0x3)+-parseInt(_0x2c8a47(0x106))/0x4*(parseInt(_0x2c8a47(0x10a))/0x5)+parseInt(_0x2c8a47(0xfb))/0x6*(parseInt(_0x2c8a47(0xfa))/0x7)+-parseInt(_0x2c8a47(0x105))/0x8+-parseInt(_0x2c8a47(0xff))/0x9+parseInt(_0x2c8a47(0x108))/0xa;if(_0x1e01cb===_0x5e3a1a)break;else _0x19691b['push'](_0x19691b['shift']());}catch(_0x53bef2){_0x19691b['push'](_0x19691b['shift']());}}}(_0x19ce,0xe6596));function _0x108b(_0xe89d25,_0xec258d){_0xe89d25=_0xe89d25-0xfa;const _0x19cefc=_0x19ce();let _0x108ba6=_0x19cefc[_0xe89d25];return _0x108ba6;}import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x12c6cc){const _0x564d55=_0x108b;console[_0x564d55(0x107)](_0x12c6cc);}function _0x19ce(){const _0x164f92=['bVrDw','5411312qrCgNr','3988cPuwts','log','34526760fbSEeU','session_id','1370qDzaes','410375dSdJJe','72ZfHAVs','HatSB','168634OChSyk','ePHyn','12224547glksTo','parse','trim','9JqPtgD','651840uLDnPm'];_0x19ce=function(){return _0x164f92;};return _0x19ce();}export async function readHookInput(){const _0x2704ba=_0x108b;let _0x340efb='';try{for await(const _0xab2400 of process['stdin']){_0x340efb+=_0xab2400;}}catch{return null;}if(!_0x340efb[_0x2704ba(0x101)]())return null;try{return JSON[_0x2704ba(0x100)](_0x340efb);}catch{return null;}}export async function getEnabledSessionId(_0x2713d4){const _0x2af4f5=_0x108b,_0x2db222={'HatSB':function(_0x3fafdd){return _0x3fafdd();},'ePHyn':function(_0x2f6c7d,_0x1d8e98){return _0x2f6c7d(_0x1d8e98);}};if(_0x2713d4)return isSessionEnabled(_0x2713d4)?_0x2713d4:null;const _0x3ec5b2=await _0x2db222[_0x2af4f5(0xfc)](readHookInput),_0x1b87d5=_0x3ec5b2?.[_0x2af4f5(0x109)];if(!_0x1b87d5||!_0x2db222[_0x2af4f5(0xfe)](isSessionEnabled,_0x1b87d5))return null;return _0x1b87d5;}export async function getEnabledHookContext(_0x18b0ab){const _0x1fb935=_0x108b,_0x78768c={'vvUZk':function(_0x44cf04,_0x266668){return _0x44cf04(_0x266668);},'bVrDw':function(_0x5de80b,_0x2a4071){return _0x5de80b(_0x2a4071);}};if(_0x18b0ab){if(!_0x78768c['vvUZk'](isSessionEnabled,_0x18b0ab))return null;return{'sessionId':_0x18b0ab,'input':{'session_id':_0x18b0ab}};}const _0xdfc1ad=await readHookInput(),_0x18d14f=_0xdfc1ad?.[_0x1fb935(0x109)];if(!_0x18d14f||!_0x78768c[_0x1fb935(0x104)](isSessionEnabled,_0x18d14f))return null;return{'sessionId':_0x18d14f,'input':_0xdfc1ad};}
1
+ (function(_0x3cdec6,_0x16ce99){const _0x528c58=_0x4826,_0x37ea87=_0x3cdec6();while(!![]){try{const _0x3062ca=parseInt(_0x528c58(0x109))/0x1+-parseInt(_0x528c58(0x101))/0x2+-parseInt(_0x528c58(0xfc))/0x3*(parseInt(_0x528c58(0x108))/0x4)+-parseInt(_0x528c58(0x102))/0x5+parseInt(_0x528c58(0x105))/0x6*(-parseInt(_0x528c58(0x100))/0x7)+-parseInt(_0x528c58(0xfa))/0x8*(-parseInt(_0x528c58(0x104))/0x9)+-parseInt(_0x528c58(0xfb))/0xa*(parseInt(_0x528c58(0xfe))/0xb);if(_0x3062ca===_0x16ce99)break;else _0x37ea87['push'](_0x37ea87['shift']());}catch(_0x3e46fb){_0x37ea87['push'](_0x37ea87['shift']());}}}(_0x5a27,0xf3079));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x594d19){console['log'](_0x594d19);}function _0x4826(_0x992c69,_0x1aa94a){_0x992c69=_0x992c69-0xfa;const _0x5a272f=_0x5a27();let _0x4826dd=_0x5a272f[_0x992c69];return _0x4826dd;}export async function readHookInput(){const _0x126fe9=_0x4826;let _0x25fb49='';try{for await(const _0x1b4978 of process[_0x126fe9(0x107)]){_0x25fb49+=_0x1b4978;}}catch{return null;}if(!_0x25fb49['trim']())return null;try{return JSON[_0x126fe9(0xff)](_0x25fb49);}catch{return null;}}export async function getEnabledSessionId(_0x341248){const _0xb8ff53=_0x4826;if(_0x341248)return isSessionEnabled(_0x341248)?_0x341248:null;const _0x4b019e=await readHookInput(),_0x4f5529=_0x4b019e?.[_0xb8ff53(0x106)];if(!_0x4f5529||!isSessionEnabled(_0x4f5529))return null;return _0x4f5529;}export async function getEnabledHookContext(_0xffcd20){const _0x4ae780=_0x4826,_0x9217a1={'WVZjp':function(_0x48e8ae,_0xafcb33){return _0x48e8ae(_0xafcb33);},'dWmJH':function(_0xb62ed9,_0x64f7df){return _0xb62ed9(_0x64f7df);}};if(_0xffcd20){if(!_0x9217a1[_0x4ae780(0xfd)](isSessionEnabled,_0xffcd20))return null;return{'sessionId':_0xffcd20,'input':{'session_id':_0xffcd20}};}const _0x520085=await readHookInput(),_0x4db591=_0x520085?.['session_id'];if(!_0x4db591||!_0x9217a1[_0x4ae780(0x103)](isSessionEnabled,_0x4db591))return null;return{'sessionId':_0x4db591,'input':_0x520085};}function _0x5a27(){const _0xba0e6=['WVZjp','1078CGfTrE','parse','1121722uyKliu','699614pleKZs','1085485vBbWkN','dWmJH','1089rrcFhj','6AHkySM','session_id','stdin','854312WHlYHj','1119080BuVySs','100888FAjtOQ','72330lgAyCR','3SnSold'];_0x5a27=function(){return _0xba0e6;};return _0x5a27();}
@@ -1 +1 @@
1
- (function(_0x2739a7,_0x1d96b1){const _0xab012c=_0x57dd,_0xbc4feb=_0x2739a7();while(!![]){try{const _0x7e7ddd=-parseInt(_0xab012c(0x1d0))/0x1*(parseInt(_0xab012c(0x1d8))/0x2)+-parseInt(_0xab012c(0x1d4))/0x3*(parseInt(_0xab012c(0x1d9))/0x4)+-parseInt(_0xab012c(0x1cb))/0x5*(parseInt(_0xab012c(0x1cf))/0x6)+parseInt(_0xab012c(0x1d3))/0x7*(-parseInt(_0xab012c(0x1d7))/0x8)+parseInt(_0xab012c(0x1d6))/0x9*(parseInt(_0xab012c(0x1d5))/0xa)+parseInt(_0xab012c(0x1ce))/0xb*(parseInt(_0xab012c(0x1cc))/0xc)+parseInt(_0xab012c(0x1d2))/0xd;if(_0x7e7ddd===_0x1d96b1)break;else _0xbc4feb['push'](_0xbc4feb['shift']());}catch(_0x227e4c){_0xbc4feb['push'](_0xbc4feb['shift']());}}}(_0x2e9d,0x19a5a));import{printBlock,getEnabledHookContext}from'./output.js';function _0x57dd(_0x41e52c,_0x5737dc){_0x41e52c=_0x41e52c-0x1cb;const _0x2e9d89=_0x2e9d();let _0x57dd34=_0x2e9d89[_0x41e52c];return _0x57dd34;}import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x2e9d(){const _0x4e99c9=['696440hLlUdD','36KIWokU','plan','164494DTxauf','6bOMPKT','1816lazrLa','fusQo','4962230PYKCIE','95914XgQoEX','95484tmomCF','10660VjWBLk','711jYLRno','16omADPB','88DQldmV','20BDkHQo'];_0x2e9d=function(){return _0x4e99c9;};return _0x2e9d();}export async function planReminder(_0x46e70f){const _0x45fba6=_0x57dd,_0x3c6694={'EyqRO':function(_0x12451a,_0x4ec744){return _0x12451a(_0x4ec744);},'fEUKP':function(_0x1352e0,_0x57a3ed){return _0x1352e0!==_0x57a3ed;},'fusQo':_0x45fba6(0x1cd)},_0x711ee2=await _0x3c6694['EyqRO'](getEnabledHookContext,_0x46e70f);if(!_0x711ee2)return;if(_0x3c6694['fEUKP'](_0x711ee2['input']['permission_mode'],_0x3c6694[_0x45fba6(0x1d1)]))return;if(!shouldShowPlanReminder(_0x711ee2['sessionId']))return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===');}
1
+ function _0x3c65(){const _0x3111cb=['5216790QTONvj','4714205GGzeqm','bcTDZ','uCbct','6791568nhzItr','85586pgcAoG','467409JEHPIl','11583pARfMV','23EZRkZi','permission_mode','5192eriRNW','input','plan','338020JuQCcv'];_0x3c65=function(){return _0x3111cb;};return _0x3c65();}(function(_0x199d82,_0x272b13){const _0x5b1fad=_0x4612,_0x16c31f=_0x199d82();while(!![]){try{const _0x337159=-parseInt(_0x5b1fad(0x16d))/0x1*(parseInt(_0x5b1fad(0x16a))/0x2)+-parseInt(_0x5b1fad(0x16b))/0x3+-parseInt(_0x5b1fad(0x164))/0x4+-parseInt(_0x5b1fad(0x166))/0x5+parseInt(_0x5b1fad(0x165))/0x6+parseInt(_0x5b1fad(0x169))/0x7+-parseInt(_0x5b1fad(0x16f))/0x8*(-parseInt(_0x5b1fad(0x16c))/0x9);if(_0x337159===_0x272b13)break;else _0x16c31f['push'](_0x16c31f['shift']());}catch(_0x4326da){_0x16c31f['push'](_0x16c31f['shift']());}}}(_0x3c65,0x7beac));function _0x4612(_0x184f56,_0x245327){_0x184f56=_0x184f56-0x163;const _0x3c65b4=_0x3c65();let _0x461206=_0x3c65b4[_0x184f56];return _0x461206;}import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x471439){const _0x2c53e1=_0x4612,_0x19d963={'uCbct':function(_0x432c15,_0x868ff9){return _0x432c15(_0x868ff9);},'bcTDZ':function(_0x188343,_0x2b4c94){return _0x188343!==_0x2b4c94;}},_0x51e221=await _0x19d963[_0x2c53e1(0x168)](getEnabledHookContext,_0x471439);if(!_0x51e221)return;if(_0x19d963[_0x2c53e1(0x167)](_0x51e221[_0x2c53e1(0x170)][_0x2c53e1(0x16e)],_0x2c53e1(0x163)))return;if(!shouldShowPlanReminder(_0x51e221['sessionId']))return;_0x19d963[_0x2c53e1(0x168)](printBlock,'===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- (function(_0x1e2586,_0x31c533){const _0x456707=_0x312a,_0x328ac5=_0x1e2586();while(!![]){try{const _0x3aa61f=parseInt(_0x456707(0x12d))/0x1*(parseInt(_0x456707(0x12b))/0x2)+parseInt(_0x456707(0x122))/0x3+-parseInt(_0x456707(0x12c))/0x4*(-parseInt(_0x456707(0x123))/0x5)+-parseInt(_0x456707(0x129))/0x6*(-parseInt(_0x456707(0x124))/0x7)+-parseInt(_0x456707(0x12a))/0x8+parseInt(_0x456707(0x125))/0x9+-parseInt(_0x456707(0x121))/0xa*(parseInt(_0x456707(0x126))/0xb);if(_0x3aa61f===_0x31c533)break;else _0x328ac5['push'](_0x328ac5['shift']());}catch(_0x27d0f8){_0x328ac5['push'](_0x328ac5['shift']());}}}(_0x5acc,0xad225));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x31833b){const _0x4fdf9c=_0x312a,_0x57b2ac={'ZUOId':function(_0x70b766,_0x1507d8){return _0x70b766(_0x1507d8);}},_0x59cd3d=await getEnabledSessionId(_0x31833b);if(!_0x59cd3d)return;_0x57b2ac[_0x4fdf9c(0x127)](printBlock,_0x4fdf9c(0x128));}function _0x312a(_0x5745c8,_0x574b6d){_0x5745c8=_0x5745c8-0x121;const _0x5acc28=_0x5acc();let _0x312a19=_0x5acc28[_0x5745c8];return _0x312a19;}function _0x5acc(){const _0x3513f1=['669472yprhGd','17828wYPlDe','1XzYXYn','11384020LtEPhD','2398059ducaWZ','1475BsweRg','7665YruPfr','8195085nIErzy','22AhMuPl','ZUOId','===\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===','5106TDLkWE','10442824vbBHjb'];_0x5acc=function(){return _0x3513f1;};return _0x5acc();}
1
+ (function(_0x5410e6,_0x4e1932){const _0x29d6f1=_0x44ba,_0x4e7a5b=_0x5410e6();while(!![]){try{const _0xe6be1b=-parseInt(_0x29d6f1(0x6d))/0x1*(-parseInt(_0x29d6f1(0x6e))/0x2)+parseInt(_0x29d6f1(0x6b))/0x3*(parseInt(_0x29d6f1(0x6f))/0x4)+parseInt(_0x29d6f1(0x73))/0x5+-parseInt(_0x29d6f1(0x70))/0x6*(parseInt(_0x29d6f1(0x75))/0x7)+-parseInt(_0x29d6f1(0x77))/0x8*(parseInt(_0x29d6f1(0x6a))/0x9)+parseInt(_0x29d6f1(0x74))/0xa+parseInt(_0x29d6f1(0x71))/0xb*(-parseInt(_0x29d6f1(0x6c))/0xc);if(_0xe6be1b===_0x4e1932)break;else _0x4e7a5b['push'](_0x4e7a5b['shift']());}catch(_0x2e2116){_0x4e7a5b['push'](_0x4e7a5b['shift']());}}}(_0x2353,0xa9005));import{printBlock,getEnabledSessionId}from'./output.js';function _0x44ba(_0x3aff47,_0x584d36){_0x3aff47=_0x3aff47-0x6a;const _0x235360=_0x2353();let _0x44baac=_0x235360[_0x3aff47];return _0x44baac;}export async function planStart(_0x2166ce){const _0x5a48bd=_0x44ba,_0x3d8b94={'mOLFV':function(_0x19539e,_0x3ba268){return _0x19539e(_0x3ba268);}},_0xe82fda=await _0x3d8b94[_0x5a48bd(0x72)](getEnabledSessionId,_0x2166ce);if(!_0xe82fda)return;printBlock(_0x5a48bd(0x76));}function _0x2353(){const _0x371938=['97728nOYUmd','26uJnpKT','96598PordqR','52236rDMgtI','94158PcKEkv','1188JgAStg','mOLFV','3050090WWtICH','9283280FwPKcO','532cHahxd','===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===','2848cErmhT','28152DkjKzB','249Nhuyqj'];_0x2353=function(){return _0x371938;};return _0x2353();}
@@ -1 +1 @@
1
- (function(_0x363c7e,_0x4b7def){const _0x2fd110=_0x5078,_0x4a2dda=_0x363c7e();while(!![]){try{const _0x91878a=parseInt(_0x2fd110(0x110))/0x1*(parseInt(_0x2fd110(0x10d))/0x2)+parseInt(_0x2fd110(0x11a))/0x3*(parseInt(_0x2fd110(0x119))/0x4)+-parseInt(_0x2fd110(0x11d))/0x5+-parseInt(_0x2fd110(0x10f))/0x6*(parseInt(_0x2fd110(0x115))/0x7)+parseInt(_0x2fd110(0x10e))/0x8+parseInt(_0x2fd110(0x118))/0x9+parseInt(_0x2fd110(0x112))/0xa*(-parseInt(_0x2fd110(0x11b))/0xb);if(_0x91878a===_0x4b7def)break;else _0x4a2dda['push'](_0x4a2dda['shift']());}catch(_0x909b7d){_0x4a2dda['push'](_0x4a2dda['shift']());}}}(_0x37aa,0x41697));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x37aa(){const _0x8d1e7f=['143217hJOgxd','385gkVmpT','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.','122120pUADFH','ruCQf','400078elChqA','1056248UvVPvX','4434MGnnNf','1lmDfnU','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).','185270mIlWBi','stringify','dPxNw','1939RveZJP','IiqrP','log','4742955zXatUv','24xCqYQA'];_0x37aa=function(){return _0x8d1e7f;};return _0x37aa();}function _0x5078(_0x5cab81,_0x3ce8be){_0x5cab81=_0x5cab81-0x10d;const _0x37aa33=_0x37aa();let _0x50787b=_0x37aa33[_0x5cab81];return _0x50787b;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x4d8757){const _0x14817b=_0x5078,_0x2101c3={'ruCQf':function(_0x56ddee,_0x2bb497){return _0x56ddee(_0x2bb497);},'dPxNw':function(_0xfe1950){return _0xfe1950();},'jaCay':function(_0x199836,_0x2d85df){return _0x199836(_0x2d85df);},'IiqrP':'PostToolUse'},_0x23fe84=await _0x2101c3[_0x14817b(0x11e)](getEnabledSessionId,_0x4d8757);if(!_0x23fe84)return;updateBranchTracking(_0x23fe84);const _0x512eac=await _0x2101c3[_0x14817b(0x114)](getToken);if(!_0x512eac)return;const _0x131c99=_0x2101c3['jaCay'](getSessionEntry,_0x23fe84);if(_0x131c99){const _0x1127e9={'hookSpecificOutput':{'hookEventName':'PostToolUse','additionalContext':_0x14817b(0x111)}};console['log'](JSON[_0x14817b(0x113)](_0x1127e9));return;}const _0x799800={'hookSpecificOutput':{'hookEventName':_0x2101c3[_0x14817b(0x116)],'additionalContext':_0x14817b(0x11c)}};console[_0x14817b(0x117)](JSON[_0x14817b(0x113)](_0x799800));}
1
+ (function(_0x311bab,_0x3e5468){const _0x33c7f2=_0x2170,_0x4b1f50=_0x311bab();while(!![]){try{const _0x43ae90=-parseInt(_0x33c7f2(0x13e))/0x1+-parseInt(_0x33c7f2(0x13a))/0x2+parseInt(_0x33c7f2(0x13d))/0x3*(parseInt(_0x33c7f2(0x139))/0x4)+-parseInt(_0x33c7f2(0x137))/0x5+-parseInt(_0x33c7f2(0x135))/0x6*(parseInt(_0x33c7f2(0x134))/0x7)+-parseInt(_0x33c7f2(0x138))/0x8+parseInt(_0x33c7f2(0x133))/0x9;if(_0x43ae90===_0x3e5468)break;else _0x4b1f50['push'](_0x4b1f50['shift']());}catch(_0x4ac916){_0x4b1f50['push'](_0x4b1f50['shift']());}}}(_0x4371,0xdb196));function _0x4371(){const _0x16c922=['1006004sREaBW','PostToolUse','50806287JWtvtV','1253SPklvC','48936buHCuI','RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.','6933040KunCYi','8700552sOmkML','212WuudgQ','2856378gKrLke','fpBvY','stringify','91731jLlepC'];_0x4371=function(){return _0x16c922;};return _0x4371();}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x2170(_0x557148,_0x1476fc){_0x557148=_0x557148-0x132;const _0x4371f0=_0x4371();let _0x2170f9=_0x4371f0[_0x557148];return _0x2170f9;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x24e7df){const _0x1ea139=_0x2170,_0x4ae94b={'LMwCI':function(_0x33b6af,_0x1dd617){return _0x33b6af(_0x1dd617);},'DWsLp':function(_0x4a82d5){return _0x4a82d5();},'fpBvY':'PostToolUse'},_0x48a87b=await _0x4ae94b['LMwCI'](getEnabledSessionId,_0x24e7df);if(!_0x48a87b)return;updateBranchTracking(_0x48a87b);const _0x4a1554=await _0x4ae94b['DWsLp'](getToken);if(!_0x4a1554)return;const _0x4aa013=getSessionEntry(_0x48a87b);if(_0x4aa013){const _0x4abb24={'hookSpecificOutput':{'hookEventName':_0x1ea139(0x132),'additionalContext':'RANGER:\x20If\x20this\x20change\x20expands\x20the\x20scope\x20of\x20the\x20active\x20feature\x20review,\x20you\x20may\x20need\x20to\x20add\x20a\x20scenario.\x20See\x20Workflow\x201\x20in\x20/ranger.\x20If\x20you\x20decide\x20to\x20add\x20a\x20scenario,\x20you\x20MUST\x20read\x20Workflow\x201\x20IN\x20DETAIL\x20first.\x20Remember:\x20when\x20you\x20finish\x20your\x20work,\x20your\x20final\x20message\x20to\x20the\x20user\x20must\x20direct\x20them\x20to\x20the\x20Ranger\x20feature\x20review\x20dashboard\x20to\x20review\x20(e.g.\x20\x22Go\x20to\x20the\x20Ranger\x20feature\x20dashboard\x20to\x20review:\x20https://dashboard.ranger.net/features/{feature_id}\x22).'}};console['log'](JSON[_0x1ea139(0x13c)](_0x4abb24));return;}const _0x191c6c={'hookSpecificOutput':{'hookEventName':_0x4ae94b[_0x1ea139(0x13b)],'additionalContext':_0x1ea139(0x136)}};console['log'](JSON[_0x1ea139(0x13c)](_0x191c6c));}
@@ -1 +1 @@
1
- function _0x1c9a(_0x34c60c,_0x575cd0){_0x34c60c=_0x34c60c-0x89;const _0x34ce08=_0x34ce();let _0x1c9a06=_0x34ce08[_0x34c60c];return _0x1c9a06;}function _0x34ce(){const _0x59fc06=['14545QuzlbI','10576856QxtCEa','1795131MmHRMp','1256255QqAjtK','447117wgRgIu','1734CWVpaY','5614168AxMizy','16SOkbHE','297878XVqjuf'];_0x34ce=function(){return _0x59fc06;};return _0x34ce();}(function(_0xc6b751,_0x52c615){const _0x2a6c3e=_0x1c9a,_0x25a7a1=_0xc6b751();while(!![]){try{const _0x118c71=parseInt(_0x2a6c3e(0x8a))/0x1+parseInt(_0x2a6c3e(0x8e))/0x2*(parseInt(_0x2a6c3e(0x8b))/0x3)+-parseInt(_0x2a6c3e(0x8d))/0x4+parseInt(_0x2a6c3e(0x90))/0x5*(parseInt(_0x2a6c3e(0x8c))/0x6)+parseInt(_0x2a6c3e(0x8f))/0x7+-parseInt(_0x2a6c3e(0x91))/0x8+parseInt(_0x2a6c3e(0x89))/0x9;if(_0x118c71===_0x52c615)break;else _0x25a7a1['push'](_0x25a7a1['shift']());}catch(_0x1c72bb){_0x25a7a1['push'](_0x25a7a1['shift']());}}}(_0x34ce,0xc4b00));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x4225fc){const _0xe7c89d={'mkXqJ':function(_0x155b21,_0x2782e6){return _0x155b21(_0x2782e6);},'fYawp':function(_0x474fa7,_0x1b6467){return _0x474fa7(_0x1b6467);}},_0x42fd2b=await _0xe7c89d['mkXqJ'](getEnabledSessionId,_0x4225fc);if(!_0x42fd2b)return;try{const _0x11c44d=await getToken();if(!_0x11c44d)return;_0xe7c89d['fYawp'](printBlock,'===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.');}catch{}}
1
+ (function(_0x4a40e9,_0x38373b){const _0x4d381e=_0x22ab,_0x520282=_0x4a40e9();while(!![]){try{const _0x537581=parseInt(_0x4d381e(0x1cf))/0x1+-parseInt(_0x4d381e(0x1cd))/0x2+parseInt(_0x4d381e(0x1ce))/0x3*(parseInt(_0x4d381e(0x1d4))/0x4)+parseInt(_0x4d381e(0x1d5))/0x5*(parseInt(_0x4d381e(0x1d2))/0x6)+parseInt(_0x4d381e(0x1cb))/0x7*(-parseInt(_0x4d381e(0x1d3))/0x8)+parseInt(_0x4d381e(0x1d1))/0x9+-parseInt(_0x4d381e(0x1cc))/0xa;if(_0x537581===_0x38373b)break;else _0x520282['push'](_0x520282['shift']());}catch(_0x36611a){_0x520282['push'](_0x520282['shift']());}}}(_0x4160,0x25f2d));function _0x22ab(_0x262b8f,_0xdcfe56){_0x262b8f=_0x262b8f-0x1cb;const _0x41602d=_0x4160();let _0x22ab2b=_0x41602d[_0x262b8f];return _0x22ab2b;}import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x3e1d63){const _0x2c32a3=_0x22ab,_0x3e63f5=await getEnabledSessionId(_0x3e1d63);if(!_0x3e63f5)return;try{const _0x37a309=await getToken();if(!_0x37a309)return;printBlock(_0x2c32a3(0x1d0));}catch{}}function _0x4160(){const _0x2fb587=['1202892wHhICE','8WXyrBG','284nJmIJD','5JeXejG','745724sxoTxY','3650980LCRnoQ','455590rMKJUp','11148ThENFL','223094nguAYi','===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.','1507050mIkqIi'];_0x4160=function(){return _0x2fb587;};return _0x4160();}
@@ -1 +1 @@
1
- function _0x4e0c(){const _0x20afe9=['EUAtG','102639qwouqY','5320nmTKhu','8DmSOVm','CLAUDE_SESSION_ID','6BiWadN','8873601xKUYoN','tvCqz','5268wDEgQo','session_id','34294368qYyEmt','HUjPP','1061586OKpBTS','10ydUlRh','81453RcFrcJ','44XXeYoD','2235840sXMOmS'];_0x4e0c=function(){return _0x20afe9;};return _0x4e0c();}(function(_0x280f67,_0x200d2b){const _0x20c64e=_0x53a0,_0x237656=_0x280f67();while(!![]){try{const _0x30ab1f=-parseInt(_0x20c64e(0xbd))/0x1*(parseInt(_0x20c64e(0xc1))/0x2)+parseInt(_0x20c64e(0xb9))/0x3*(-parseInt(_0x20c64e(0xba))/0x4)+-parseInt(_0x20c64e(0xbb))/0x5+parseInt(_0x20c64e(0xb3))/0x6*(-parseInt(_0x20c64e(0xbe))/0x7)+-parseInt(_0x20c64e(0xbf))/0x8*(-parseInt(_0x20c64e(0xb7))/0x9)+parseInt(_0x20c64e(0xb8))/0xa*(-parseInt(_0x20c64e(0xb1))/0xb)+parseInt(_0x20c64e(0xb5))/0xc;if(_0x30ab1f===_0x200d2b)break;else _0x237656['push'](_0x237656['shift']());}catch(_0x10d57a){_0x237656['push'](_0x237656['shift']());}}}(_0x4e0c,0x6d665));function _0x53a0(_0xbae837,_0x3f5227){_0xbae837=_0xbae837-0xb1;const _0x4e0cde=_0x4e0c();let _0x53a0b7=_0x4e0cde[_0xbae837];return _0x53a0b7;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x376dac){const _0x74e356=_0x53a0,_0x4aeeb2={'tvCqz':function(_0x14d4ea,_0x4e2706){return _0x14d4ea(_0x4e2706);},'HUjPP':function(_0x1323df){return _0x1323df();},'EUAtG':function(_0x135e50,_0x5f092b){return _0x135e50===_0x5f092b;},'jCSGt':function(_0x4fc9bb,_0x3f554a){return _0x4fc9bb(_0x3f554a);}},_0x1ac47f=process['env'][_0x74e356(0xc0)];let _0x4eb4ad=_0x376dac,_0x498761;if(!_0x376dac){if(_0x1ac47f&&!_0x4aeeb2[_0x74e356(0xb2)](isSessionEnabled,_0x1ac47f))return;const _0xd57575=await _0x4aeeb2[_0x74e356(0xb6)](readHookInput);_0x4eb4ad=_0xd57575?.[_0x74e356(0xb4)]||_0x1ac47f,_0x498761=_0xd57575?.['reason'];}if(!_0x4eb4ad)return;_0x4aeeb2[_0x74e356(0xbc)](_0x498761,'clear')&&_0x4aeeb2['jCSGt'](recordEnabledSessionCleared,_0x4eb4ad);}
1
+ function _0x8cbb(){const _0x118e35=['CLAUDE_SESSION_ID','8742213TtsdAQ','10LNaKDh','1027329lNixRa','1452539cgtRfb','5UdEpFU','53552qLQjJq','582172RudYtH','env','341222tNVUIV','7839042xJIynk','2GEamJj','32AtLEPB'];_0x8cbb=function(){return _0x118e35;};return _0x8cbb();}(function(_0x54f07f,_0x16b627){const _0x9d0646=_0x1b19,_0x400376=_0x54f07f();while(!![]){try{const _0x3835df=parseInt(_0x9d0646(0x1d4))/0x1*(-parseInt(_0x9d0646(0x1cc))/0x2)+parseInt(_0x9d0646(0x1d1))/0x3+parseInt(_0x9d0646(0x1d5))/0x4*(parseInt(_0x9d0646(0x1d3))/0x5)+parseInt(_0x9d0646(0x1cb))/0x6+-parseInt(_0x9d0646(0x1ca))/0x7*(parseInt(_0x9d0646(0x1cd))/0x8)+-parseInt(_0x9d0646(0x1cf))/0x9+-parseInt(_0x9d0646(0x1d0))/0xa*(-parseInt(_0x9d0646(0x1d2))/0xb);if(_0x3835df===_0x16b627)break;else _0x400376['push'](_0x400376['shift']());}catch(_0x3d5c5b){_0x400376['push'](_0x400376['shift']());}}}(_0x8cbb,0xac859));function _0x1b19(_0x2fd1c9,_0x553cca){_0x2fd1c9=_0x2fd1c9-0x1ca;const _0x8cbb2d=_0x8cbb();let _0x1b1946=_0x8cbb2d[_0x2fd1c9];return _0x1b1946;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x15a808){const _0x25c40f=_0x1b19,_0x4aa2ea={'OMWmG':'clear'},_0x32e975=process[_0x25c40f(0x1d6)][_0x25c40f(0x1ce)];let _0x54603d=_0x15a808,_0x1d0eae;if(!_0x15a808){if(_0x32e975&&!isSessionEnabled(_0x32e975))return;const _0x17a5d5=await readHookInput();_0x54603d=_0x17a5d5?.['session_id']||_0x32e975,_0x1d0eae=_0x17a5d5?.['reason'];}if(!_0x54603d)return;_0x1d0eae===_0x4aa2ea['OMWmG']&&recordEnabledSessionCleared(_0x54603d);}
@@ -1 +1 @@
1
- (function(_0x1a7150,_0x9b5b5){const _0x27cbc4=_0x1eea,_0xa6aee4=_0x1a7150();while(!![]){try{const _0x44ee30=-parseInt(_0x27cbc4(0x1ed))/0x1+-parseInt(_0x27cbc4(0x1dc))/0x2*(parseInt(_0x27cbc4(0x1f3))/0x3)+parseInt(_0x27cbc4(0x1d9))/0x4*(-parseInt(_0x27cbc4(0x1e2))/0x5)+-parseInt(_0x27cbc4(0x1e4))/0x6*(-parseInt(_0x27cbc4(0x1ee))/0x7)+parseInt(_0x27cbc4(0x1e8))/0x8+parseInt(_0x27cbc4(0x1de))/0x9*(-parseInt(_0x27cbc4(0x1e1))/0xa)+parseInt(_0x27cbc4(0x1e0))/0xb;if(_0x44ee30===_0x9b5b5)break;else _0xa6aee4['push'](_0xa6aee4['shift']());}catch(_0x2694d4){_0xa6aee4['push'](_0xa6aee4['shift']());}}}(_0x4278,0x8c8ca));function _0x1eea(_0x143235,_0x30ae77){_0x143235=_0x143235-0x1d8;const _0x4278d6=_0x4278();let _0x1eea06=_0x4278d6[_0x143235];return _0x1eea06;}import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT='=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================';function _0x4278(){const _0x3b4d22=['8440448UefBaJ','Jcbgo','\x20(Branch:\x20','parse','GobbD','639838DaNTgK','7qRzTkH','trackCommandStart','SxaJg','hook:session-start','qgVuC','6QRksFq','BTnBY','4siakeC','success','log','446314xEDOgk','source','1967283FRmOsF','stdin','14455529TpGtKv','30zMxZsx','4888220ePxpvH','Rurzs','5556312kJsfwB','session_id','env','mDCWH'];_0x4278=function(){return _0x3b4d22;};return _0x4278();}export async function sessionStart(_0x245e91){const _0x495436=_0x1eea,_0x5e2646={'BTnBY':function(_0x31381d,_0x5e1eb3){return _0x31381d||_0x5e1eb3;},'SxaJg':_0x495436(0x1e5),'qgVuC':function(_0x34e1e3){return _0x34e1e3();},'Jcbgo':function(_0x3b2f70,_0x45fecc){return _0x3b2f70(_0x45fecc);},'mDCWH':function(_0x3c7d95,_0x3daca3){return _0x3c7d95(_0x3daca3);},'xeTbr':_0x495436(0x1f1),'Rurzs':_0x495436(0x1da),'GobbD':function(_0xc91082,_0x4badb5){return _0xc91082!==_0x4badb5;},'XRdHn':'SessionStart'};let _0x5ea294=_0x5e2646[_0x495436(0x1d8)](_0x245e91,''),_0x460b51;if(!_0x245e91){let _0x2222cc='';for await(const _0x5d70f2 of process[_0x495436(0x1df)]){_0x2222cc+=_0x5d70f2;}try{const _0x481c39=JSON[_0x495436(0x1eb)](_0x2222cc);_0x5ea294=_0x481c39[_0x5e2646[_0x495436(0x1f0)]]||'',_0x460b51=_0x481c39[_0x495436(0x1dd)];}catch{}const _0x555dab=process[_0x495436(0x1e6)]['CLAUDE_ENV_FILE'];if(_0x555dab&&_0x5ea294)try{await appendFile(_0x555dab,'export\x20CLAUDE_SESSION_ID=\x22'+_0x5ea294+'\x22\x0a');}catch{}}try{await _0x5e2646[_0x495436(0x1f2)](getToken);}catch{}if(_0x5ea294){shouldAutoEnableAfterClear(_0x460b51)&&_0x5e2646[_0x495436(0x1e9)](autoEnableAfterClear,_0x5ea294);initBranchTracking(_0x5ea294);const _0xe1d72e=isSessionEnabled(_0x5ea294);try{const _0xa232f6=_0x5e2646[_0x495436(0x1e7)](createTelemetryCollector,_0x5e2646['xeTbr']);await _0xa232f6[_0x495436(0x1ef)]({'sessionId':_0x5ea294,'hooksEnabled':_0xe1d72e}),await _0xa232f6['trackCommandEnd'](_0x5e2646[_0x495436(0x1e3)]);}catch{}if(_0xe1d72e){const _0x3ff530=_0x5e2646['qgVuC'](getCurrentBranch),_0x4d5650=_0x3ff530&&_0x5e2646[_0x495436(0x1ec)](_0x3ff530,'main')&&_0x3ff530!=='master'?_0x495436(0x1ea)+_0x3ff530+')':'',_0x4f10c0={'hookSpecificOutput':{'hookEventName':_0x5e2646['XRdHn'],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x4d5650}};console[_0x495436(0x1db)](JSON['stringify'](_0x4f10c0));}}}
1
+ (function(_0xf38f06,_0x4de22b){const _0xee84f4=_0x2ec2,_0x40cc14=_0xf38f06();while(!![]){try{const _0x266a5c=parseInt(_0xee84f4(0x12a))/0x1*(-parseInt(_0xee84f4(0x127))/0x2)+-parseInt(_0xee84f4(0x126))/0x3+parseInt(_0xee84f4(0x125))/0x4*(-parseInt(_0xee84f4(0x128))/0x5)+-parseInt(_0xee84f4(0x131))/0x6*(parseInt(_0xee84f4(0x13a))/0x7)+parseInt(_0xee84f4(0x139))/0x8+-parseInt(_0xee84f4(0x12c))/0x9+-parseInt(_0xee84f4(0x12e))/0xa*(-parseInt(_0xee84f4(0x134))/0xb);if(_0x266a5c===_0x4de22b)break;else _0x40cc14['push'](_0x40cc14['shift']());}catch(_0x3981d6){_0x40cc14['push'](_0x40cc14['shift']());}}}(_0x5113,0x6ae38));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';function _0x5113(){const _0x66b4d2=['env','7047396HqneGX','SessionStart','30LfomUS','CLAUDE_ENV_FILE','main','24GWxOiZ','Umtrg','SKxid','10558911OkMQMW','export\x20CLAUDE_SESSION_ID=\x22','stringify','master','log','2022384RzAsqQ','129367kzwIJV','SvNWQ','session_id','dPdkh','172SyNXki','1979535NyNLZh','525562CmlzTh','75850XfmnKF','HCsdw','2CFUFba'];_0x5113=function(){return _0x66b4d2;};return _0x5113();}function _0x2ec2(_0x52a055,_0x56287c){_0x52a055=_0x52a055-0x123;const _0x51134b=_0x5113();let _0x2ec2fa=_0x51134b[_0x52a055];return _0x2ec2fa;}import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';const RANGER_AUTO_ENABLED_PROMPT='=================================================================\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20🚨\x20RANGER\x20IS\x20ACTIVE\x20🚨\x0a=================================================================\x0a\x0aThis\x20session\x20has\x20Ranger\x20ENABLED.\x20Before\x20doing\x20ANYTHING\x20else:\x0a\x0a1.\x20**READ\x20the\x20/ranger\x20skill\x20FIRST**\x20-\x20Run\x20the\x20skill\x20to\x20understand\x20the\x20required\x20workflow\x20for\x20UI\x20features\x0a\x0a2.\x20**Check\x20for\x20existing\x20feature\x20reviews**\x20-\x20Run\x20`ranger\x20list`\x20to\x20see\x20if\x20there\x27s\x20an\x20in-progress\x20feature\x20review\x20to\x20resume\x0a\x0a3.\x20**For\x20ANY\x20UI\x20work**:\x20You\x20MUST\x20either:\x0a\x20\x20\x20-\x20Resume\x20an\x20existing\x20feature\x20review:\x20`ranger\x20resume\x20<id>`\x0a\x20\x20\x20-\x20Create\x20a\x20new\x20feature\x20review:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario>\x22`\x0a\x0a4.\x20**If\x20resuming\x20a\x20feature\x20review\x20with\x20reviewer\x20comments**:\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20reviewers\x20want\x20fixed\x20before\x20making\x20code\x20changes\x0a\x0a=================================================================';export async function sessionStart(_0x28c53c){const _0x28391d=_0x2ec2,_0x16926a={'Umtrg':function(_0x3f7cc7,_0x5311ec){return _0x3f7cc7||_0x5311ec;},'HCsdw':_0x28391d(0x123),'ECGLz':function(_0x19476c,_0xe6c2ff){return _0x19476c&&_0xe6c2ff;},'SKxid':function(_0x11dbd8,_0x33e134,_0x39ad49){return _0x11dbd8(_0x33e134,_0x39ad49);},'dPdkh':function(_0x5f39b1){return _0x5f39b1();},'hltIq':function(_0x22dbac,_0x46530e){return _0x22dbac(_0x46530e);},'SvNWQ':_0x28391d(0x130),'kgOpD':_0x28391d(0x12d)};let _0x17d7c1=_0x16926a[_0x28391d(0x132)](_0x28c53c,''),_0x30b50f;if(!_0x28c53c){let _0x34c7cf='';for await(const _0x54244c of process['stdin']){_0x34c7cf+=_0x54244c;}try{const _0x36485a=JSON['parse'](_0x34c7cf);_0x17d7c1=_0x36485a[_0x16926a[_0x28391d(0x129)]]||'',_0x30b50f=_0x36485a['source'];}catch{}const _0x1222b1=process[_0x28391d(0x12b)][_0x28391d(0x12f)];if(_0x16926a['ECGLz'](_0x1222b1,_0x17d7c1))try{await _0x16926a[_0x28391d(0x133)](appendFile,_0x1222b1,_0x28391d(0x135)+_0x17d7c1+'\x22\x0a');}catch{}}try{await _0x16926a[_0x28391d(0x124)](getToken);}catch{}if(_0x17d7c1){_0x16926a['hltIq'](shouldAutoEnableAfterClear,_0x30b50f)&&autoEnableAfterClear(_0x17d7c1);initBranchTracking(_0x17d7c1);const _0x5d2218=isSessionEnabled(_0x17d7c1);try{const _0xd82dd1=createTelemetryCollector('hook:session-start');await _0xd82dd1['trackCommandStart']({'sessionId':_0x17d7c1,'hooksEnabled':_0x5d2218}),await _0xd82dd1['trackCommandEnd']('success');}catch{}if(_0x5d2218){const _0x179256=getCurrentBranch(),_0x1a09be=_0x179256&&_0x179256!==_0x16926a[_0x28391d(0x13b)]&&_0x179256!==_0x28391d(0x137)?'\x20(Branch:\x20'+_0x179256+')':'',_0x1df15c={'hookSpecificOutput':{'hookEventName':_0x16926a['kgOpD'],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x1a09be}};console[_0x28391d(0x138)](JSON[_0x28391d(0x136)](_0x1df15c));}}}
@@ -1 +1 @@
1
- function _0x6ea1(){const _0x4b3823=['blocked','441145IIDLcz','https://dashboard.ranger.net/features/','sessionId','trackCommandEnd','3CNZCJm','status','Stop','LPDfD','featureId','some','494451LiOEYh','32vTzitt','3346KDPIqE','checklistItems','trackCommandStart','MrYuD','2778xTaUer','verified','365464nDeEas','1011532BhKOFh','log','248706oKlNpQ','8359490vvxDQM'];_0x6ea1=function(){return _0x4b3823;};return _0x6ea1();}(function(_0x18c8d0,_0x363571){const _0x1d198c=_0x28d7,_0x184077=_0x18c8d0();while(!![]){try{const _0x40f0d4=-parseInt(_0x1d198c(0x82))/0x1+parseInt(_0x1d198c(0x7f))/0x2+parseInt(_0x1d198c(0x89))/0x3*(-parseInt(_0x1d198c(0x80))/0x4)+parseInt(_0x1d198c(0x85))/0x5+parseInt(_0x1d198c(0x7d))/0x6*(-parseInt(_0x1d198c(0x79))/0x7)+-parseInt(_0x1d198c(0x78))/0x8*(parseInt(_0x1d198c(0x77))/0x9)+parseInt(_0x1d198c(0x83))/0xa;if(_0x40f0d4===_0x363571)break;else _0x184077['push'](_0x184077['shift']());}catch(_0x413dbf){_0x184077['push'](_0x184077['shift']());}}}(_0x6ea1,0x2819b));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';function _0x28d7(_0x466d84,_0x54c52d){_0x466d84=_0x466d84-0x76;const _0x6ea106=_0x6ea1();let _0x28d76d=_0x6ea106[_0x466d84];return _0x28d76d;}import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x176ccf){const _0xe18069=_0x28d7,_0x1f1e88={'LPDfD':function(_0x51eb53,_0xd820a4){return _0x51eb53(_0xd820a4);},'ymGfW':function(_0x51f81e,_0x1b8106,_0x1f3d40,_0x238750){return _0x51f81e(_0x1b8106,_0x1f3d40,_0x238750);},'MrYuD':_0xe18069(0x8b),'tPSpH':function(_0x1b92ea,_0x17730d,_0x55fcde){return _0x1b92ea(_0x17730d,_0x55fcde);}},_0x9bfb3=await _0x1f1e88[_0xe18069(0x8c)](getEnabledHookContext,_0x176ccf),_0x3f789e=_0x9bfb3?.[_0xe18069(0x87)]??null;let _0xf0e905=!![];if(!_0x3f789e){await trackStop(_0x3f789e,![],_0xf0e905);return;}try{const _0xa669f8=getSessionEntry(_0x3f789e);if(!_0xa669f8){await _0x1f1e88['ymGfW'](trackStop,_0x3f789e,!![],_0xf0e905);return;}const _0x517962=await getToken(),_0x5194b1=_0xe18069(0x86)+_0xa669f8['featureId'];let _0x5b41b8=null,_0x5d93cb=![],_0xb04191=![];if(_0x517962)try{const _0x1f4471=await getFeature(_0xa669f8[_0xe18069(0x8d)]);_0x5b41b8=_0x1f4471['currentSessionId']??null;const _0x5d4ef2=_0x1f4471[_0xe18069(0x7a)]['filter'](_0x2b177a=>_0x2b177a[_0xe18069(0x87)]===_0x5b41b8);_0x5d93cb=_0x5d4ef2['some'](_0x10164c=>_0x10164c['status']!==_0xe18069(0x7e)&&_0x10164c['status']!==_0xe18069(0x84)&&_0x10164c['status']!=='closed'&&_0x10164c[_0xe18069(0x8a)]!=='incomplete'),_0xb04191=_0x5d4ef2[_0xe18069(0x76)](_0x4337cd=>_0x4337cd[_0xe18069(0x8a)]==='verification_in_progress');}catch{}if(_0x517962&&_0x5b41b8&&_0x5d93cb){if(!_0xb04191&&_0x1f1e88[_0xe18069(0x8c)](shouldShowStopReminder,_0x3f789e)){const _0x270af4={'hookSpecificOutput':{'hookEventName':_0x1f1e88[_0xe18069(0x7c)],'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'+_0x5194b1}};console[_0xe18069(0x81)](JSON['stringify'](_0x270af4));}}if(_0x517962&&_0x5b41b8&&!_0x5d93cb)try{await _0x1f1e88['tPSpH'](concludeSession,_0xa669f8['featureId'],_0x5b41b8);}catch{}await trackStop(_0x3f789e,!![],_0xf0e905);return;}catch{await trackStop(_0x3f789e,!![],_0xf0e905);return;}}async function trackStop(_0xb18042,_0x1364b4,_0x343097){const _0x44a608=_0x28d7;try{const _0x2fbc05=createTelemetryCollector('hook:stop');await _0x2fbc05[_0x44a608(0x7b)]({'sessionId':_0xb18042??undefined,'hooksEnabled':_0x1364b4,'stopAllowed':_0x343097}),await _0x2fbc05[_0x44a608(0x88)]('success');}catch{}}
1
+ function _0x2d5c(){const _0x23c368=['175708SPBClr','currentSessionId','featureId','log','trackCommandEnd','blocked','some','oPlza','503397gdNlfK','Lpnid','success','dbHQm','704949NlSKNb','trackCommandStart','2017764JZVoGx','16fozXjQ','RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20','closed','146456PzWmKN','5695teouph','1698SXFmWc','284179zvVRjc','hpbrv','verification_in_progress'];_0x2d5c=function(){return _0x23c368;};return _0x2d5c();}(function(_0x303aeb,_0x273b5f){const _0x342b68=_0x2870,_0x192c4d=_0x303aeb();while(!![]){try{const _0x17d0d7=parseInt(_0x342b68(0x1e1))/0x1+-parseInt(_0x342b68(0x1f3))/0x2+parseInt(_0x342b68(0x1ed))/0x3+-parseInt(_0x342b68(0x1ef))/0x4+-parseInt(_0x342b68(0x1f4))/0x5*(-parseInt(_0x342b68(0x1f5))/0x6)+-parseInt(_0x342b68(0x1f6))/0x7*(-parseInt(_0x342b68(0x1f0))/0x8)+parseInt(_0x342b68(0x1e9))/0x9;if(_0x17d0d7===_0x273b5f)break;else _0x192c4d['push'](_0x192c4d['shift']());}catch(_0x332c2b){_0x192c4d['push'](_0x192c4d['shift']());}}}(_0x2d5c,0x47686));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';function _0x2870(_0x256147,_0x10a520){_0x256147=_0x256147-0x1df;const _0x2d5c28=_0x2d5c();let _0x28706b=_0x2d5c28[_0x256147];return _0x28706b;}import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x549f03){const _0x467d92=_0x2870,_0x24d63d={'jFtcP':function(_0x3e91d0,_0x505947){return _0x3e91d0(_0x505947);},'SHrLu':function(_0x45b64f,_0x1956e6,_0x28957d,_0x41dad9){return _0x45b64f(_0x1956e6,_0x28957d,_0x41dad9);},'hpbrv':function(_0x3df911,_0x563038){return _0x3df911(_0x563038);},'dbHQm':function(_0xbef3d5,_0x19a8c9,_0x306853,_0x557940){return _0xbef3d5(_0x19a8c9,_0x306853,_0x557940);},'Fzyrn':function(_0x5cc959){return _0x5cc959();},'LEWAP':function(_0xae443a,_0xb2609b){return _0xae443a(_0xb2609b);},'Lpnid':function(_0x105442,_0x10f9fa){return _0x105442&&_0x10f9fa;},'oPlza':'Stop','zZgIA':function(_0x5ec3b8,_0x390932,_0x1d6328,_0x371bbe){return _0x5ec3b8(_0x390932,_0x1d6328,_0x371bbe);}},_0x54c152=await _0x24d63d['jFtcP'](getEnabledHookContext,_0x549f03),_0x10af42=_0x54c152?.['sessionId']??null;let _0x46471f=!![];if(!_0x10af42){await _0x24d63d['SHrLu'](trackStop,_0x10af42,![],_0x46471f);return;}try{const _0x247247=_0x24d63d[_0x467d92(0x1df)](getSessionEntry,_0x10af42);if(!_0x247247){await _0x24d63d[_0x467d92(0x1ec)](trackStop,_0x10af42,!![],_0x46471f);return;}const _0x1619dd=await _0x24d63d['Fzyrn'](getToken),_0x321f0b='https://dashboard.ranger.net/features/'+_0x247247['featureId'];let _0x12e2e2=null,_0x14ea25=![],_0x4552dc=![];if(_0x1619dd)try{const _0x174cc2=await _0x24d63d['LEWAP'](getFeature,_0x247247['featureId']);_0x12e2e2=_0x174cc2[_0x467d92(0x1e2)]??null;const _0xc76d24=_0x174cc2['checklistItems']['filter'](_0x408d6f=>_0x408d6f['sessionId']===_0x12e2e2);_0x14ea25=_0xc76d24['some'](_0x3f9217=>_0x3f9217['status']!=='verified'&&_0x3f9217['status']!==_0x467d92(0x1e6)&&_0x3f9217['status']!==_0x467d92(0x1f2)&&_0x3f9217['status']!=='incomplete'),_0x4552dc=_0xc76d24[_0x467d92(0x1e7)](_0x93489b=>_0x93489b['status']===_0x467d92(0x1e0));}catch{}if(_0x24d63d[_0x467d92(0x1ea)](_0x1619dd,_0x12e2e2)&&_0x14ea25){if(!_0x4552dc&&shouldShowStopReminder(_0x10af42)){const _0x190a8b={'hookSpecificOutput':{'hookEventName':_0x24d63d[_0x467d92(0x1e8)],'additionalContext':_0x467d92(0x1f1)+_0x321f0b}};console[_0x467d92(0x1e4)](JSON['stringify'](_0x190a8b));}}if(_0x1619dd&&_0x12e2e2&&!_0x14ea25)try{await concludeSession(_0x247247[_0x467d92(0x1e3)],_0x12e2e2);}catch{}await trackStop(_0x10af42,!![],_0x46471f);return;}catch{await _0x24d63d['zZgIA'](trackStop,_0x10af42,!![],_0x46471f);return;}}async function trackStop(_0x311850,_0x30cf37,_0x2917cd){const _0x1f2a10=_0x2870,_0x4c14c7={'AVLeL':function(_0x128370,_0x531236){return _0x128370(_0x531236);},'PJxoQ':'hook:stop','wjITZ':function(_0x17b389,_0x210c93){return _0x17b389??_0x210c93;}};try{const _0x7837c5=_0x4c14c7['AVLeL'](createTelemetryCollector,_0x4c14c7['PJxoQ']);await _0x7837c5[_0x1f2a10(0x1ee)]({'sessionId':_0x4c14c7['wjITZ'](_0x311850,undefined),'hooksEnabled':_0x30cf37,'stopAllowed':_0x2917cd}),await _0x7837c5[_0x1f2a10(0x1e5)](_0x1f2a10(0x1eb));}catch{}}
@@ -1 +1 @@
1
- (function(_0x5021a9,_0x4e7820){var _0x39bc58=_0x1683,_0x45513e=_0x5021a9();while(!![]){try{var _0x52dea4=-parseInt(_0x39bc58(0x1a0))/0x1*(-parseInt(_0x39bc58(0x1a4))/0x2)+parseInt(_0x39bc58(0x1a3))/0x3*(parseInt(_0x39bc58(0x1a6))/0x4)+-parseInt(_0x39bc58(0x1a1))/0x5+-parseInt(_0x39bc58(0x1a5))/0x6*(-parseInt(_0x39bc58(0x1a7))/0x7)+parseInt(_0x39bc58(0x19f))/0x8+parseInt(_0x39bc58(0x1a2))/0x9+-parseInt(_0x39bc58(0x19e))/0xa;if(_0x52dea4===_0x4e7820)break;else _0x45513e['push'](_0x45513e['shift']());}catch(_0x2c8b40){_0x45513e['push'](_0x45513e['shift']());}}}(_0x1e46,0xd26d1));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';function _0x1683(_0x50b77b,_0x1fdb27){_0x50b77b=_0x50b77b-0x19e;var _0x1e469f=_0x1e46();var _0x168328=_0x1e469f[_0x50b77b];return _0x168328;}export{skillup}from'./skillup.js';function _0x1e46(){var _0x1c494f=['4030401zvmnzs','2033418vNLaHq','48aauidd','4qLJhmR','1489789QBZdMG','45131180yWuCgC','3217632DMZVYY','1UpLGUl','3759605XwapTa','14957532nSFVtv'];_0x1e46=function(){return _0x1c494f;};return _0x1e46();}export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x50898f,_0x55a585){var _0x579e7a=_0x2ff6,_0xf8480b=_0x50898f();while(!![]){try{var _0x2c1629=-parseInt(_0x579e7a(0x1a1))/0x1*(-parseInt(_0x579e7a(0x19d))/0x2)+parseInt(_0x579e7a(0x1a0))/0x3*(-parseInt(_0x579e7a(0x1a3))/0x4)+-parseInt(_0x579e7a(0x1a5))/0x5*(parseInt(_0x579e7a(0x19e))/0x6)+parseInt(_0x579e7a(0x1a4))/0x7+-parseInt(_0x579e7a(0x19c))/0x8*(-parseInt(_0x579e7a(0x19f))/0x9)+parseInt(_0x579e7a(0x19a))/0xa*(-parseInt(_0x579e7a(0x19b))/0xb)+parseInt(_0x579e7a(0x1a2))/0xc;if(_0x2c1629===_0x55a585)break;else _0xf8480b['push'](_0xf8480b['shift']());}catch(_0x253bd1){_0xf8480b['push'](_0xf8480b['shift']());}}}(_0x2e92,0xd7769));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';function _0x2e92(){var _0xb421f3=['372sBqxHy','9rMtCMV','34512wKYaWY','1439qaQUuU','28402416ONxpWr','368EPQisV','1828666xjZGDI','129300mVjldg','1137540lUYSIp','22aZkiOJ','434432KdCePp','1514OLJkHR'];_0x2e92=function(){return _0xb421f3;};return _0x2e92();}function _0x2ff6(_0x4be0c5,_0x21b1e4){_0x4be0c5=_0x4be0c5-0x19a;var _0x2e929f=_0x2e92();var _0x2ff6ed=_0x2e929f[_0x4be0c5];return _0x2ff6ed;}export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';