@ranger-testing/ranger-cli 3.1.2-alpha.059c7a3-40 → 3.1.2-alpha.b450a14-41

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 (85) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x18c1a1=_0x4b21;(function(_0x4ef480,_0x5ec579){const _0x5b09bd=_0x4b21,_0x2e675a=_0x4ef480();while(!![]){try{const _0x4da95e=-parseInt(_0x5b09bd(0x175))/0x1+parseInt(_0x5b09bd(0x15e))/0x2*(-parseInt(_0x5b09bd(0x17c))/0x3)+-parseInt(_0x5b09bd(0x1dc))/0x4+parseInt(_0x5b09bd(0x1f2))/0x5+-parseInt(_0x5b09bd(0x17e))/0x6*(parseInt(_0x5b09bd(0x1e2))/0x7)+parseInt(_0x5b09bd(0x1cd))/0x8*(-parseInt(_0x5b09bd(0x1e7))/0x9)+parseInt(_0x5b09bd(0x1af))/0xa;if(_0x4da95e===_0x5ec579)break;else _0x2e675a['push'](_0x2e675a['shift']());}catch(_0x4381fb){_0x2e675a['push'](_0x2e675a['shift']());}}}(_0x5e00,0x5272d));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x332a5a 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=_0x18c1a1(0x227),bold=_0x530c73=>'\x1b[1m'+_0x530c73+'\x1b[0m';function getGitRepoUrl(){const _0x4f04cc=_0x18c1a1,_0x48653b={'fbXiI':'utf-8','tuwjU':_0x4f04cc(0x151)};try{const _0x206634=execSync('git\x20remote\x20get-url\x20origin',{'encoding':_0x48653b[_0x4f04cc(0x1f6)],'stdio':[_0x48653b['tuwjU'],_0x48653b[_0x4f04cc(0x215)],'pipe']})[_0x4f04cc(0x1aa)]();return _0x206634[_0x4f04cc(0x1c0)](/\.git$/,'')[_0x4f04cc(0x1c0)](/^git@github\.com:/,_0x4f04cc(0x178))[_0x4f04cc(0x1c0)](/^https?:\/\//,'');}catch{return undefined;}}function _0x5e00(){const _0x99b4f3=['1153392wxAWgX','/api/v1/mcp/browser-sessions/','\x0a⚠️\x20\x20','gQKkl','\x20\x20\x20\x20\x20📋\x20Selector:\x20','\x20\x20💬\x20','closed','git\x20rev-parse\x20--abbrev-ref\x20HEAD','in_progress','slice','Showing\x20','Screenshot\x20','checklistItems','split','xijgA','fFSGI','location','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x20\x20\x20\x20\x20\x20Cancelled:\x20','isInteger','limit','fhnUm','604330pCgjbi','Scenario\x20','\x0a✅\x20Scenario\x20updated','github.com/','\x0aNo\x20feature\x20reviews\x20found.','dHsAX','screenshot','3lYvjCo','QiUVw','6186bLQeDq','sCBOi','\x0aAvailable\x20scenarios:','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','env','assets','No\x20sessions\x20found.','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','utf-8','version','offset','verification_in_progress','WXDYl','XMHCx','completed','GgVuW','EOtKU','\x20scenarios.','gitBranch','sessionId','yBqtY','json','verificationInProgressItems','find','selector','incomplete','type','verified','ElGzu','canonicalFlow','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','\x20\x20\x20Progress:\x20','\x20\x20\x20Branch:\x20','ieDyY','write','\x0aCreating\x20feature\x20review...','INyKU','eduuo','blockedReason','get','vYxwN','IMLsx','\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','HPJvF','trim','pop','completedAt','\x20\x20\x20\x20\x20\x20Blocked:\x20','length','28133890Orapcl','coordinates','\x20concluded.','ZxPjD','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','all','hjCMy','BkexA','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','\x20\x20\x20Created:\x20','\x20of\x20','\x20at\x20[','stepName','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','VzeqX','toLocaleString','uFeua','replace','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','cfbKm','toFixed','join','description','\x0aConcluding\x20session...','canceledReason','tRWoM','name','style','short','\x20feature\x20review(s)\x20found','1504qziidY','latestReview','HasJf','submittedAt','stringify','numeric','incompleteReason','iteration','assetUrl','CLAUDE_SESSION_ID','qhuhU','spatial','JDAdi','scenarios','\x20\x20\x20Completed:\x20','1503704biBDQl','sBzML','\x20\x20Expected\x20flow:','vsvmi','totalCount','error','2667xJbakT','jbduA','unaddressedComments','PmDcE','lbFwY','30510oTpTNN','zhZlR','miErG','\x0a✅\x20Report\x20generated:\x20','content','createdAt','verifiedItems','scenario','ZmkZr','\x20\x20\x20\x20','incompleteItems','557015quMQEG','selected','approved','stats','fbXiI','\x20\x20\x20\x20\x20Progress:\x20','mffIj','AAwMZ',':\x20\x22','MsalW','.md','en-US','Next\x20page:\x20ranger\x20list\x20--offset\x20','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20','uFHWy','\x20[has\x20reviewer\x20feedback]','domRef','flNeG','qhPEg','qouPt','\x20\x20\x20','\x20\x20\x20ID:\x20','EdmEd','.png','\x20Session\x20','\x0a✅\x20Restored\x20feature\x20review:\x20','isKeyStep','parentItemId','tzkZD','after','rWdzf','EWsuf','assetType','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x0a✅\x20Resumed\x20feature\x20review:\x20','tuwjU','\x20—\x20no\x20comments','No\x20active\x20session\x20for\x20this\x20feature\x20review.','BuKsV','items','\x20blocked','map','excludeScenarios','exit','YPlGI','repeat','kqYRW','textContent','includeDeleted','\x20in\x20progress','.\x20Feature\x20review\x20has\x20','JTZko','timing','active-feature.txt','dashboardUrl','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','ELeUB','PpQHU','\x20\x20\x20Status:\x20','prompt','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','eGrxH','aCyCc','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','fLlxe','currentSessionId','terminalReason','currentBranch','\x0aGenerating\x20report...','isTTY','from','any','SYYYB','pipe','ready','stdout','status','log','filter','\x0a📋\x20Feedback\x20for:\x20','screenshotUrls','SlOFg','round','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','KaWaT','XJUUD'];_0x5e00=function(){return _0x99b4f3;};return _0x5e00();}function getGitBranch(){const _0x5a1788=_0x18c1a1,_0x4532d1={'qhuhU':_0x5a1788(0x165),'ZxPjD':_0x5a1788(0x151)};try{return execSync(_0x4532d1[_0x5a1788(0x1d7)],{'encoding':'utf-8','stdio':[_0x4532d1[_0x5a1788(0x1b2)],_0x4532d1[_0x5a1788(0x1b2)],'pipe']})[_0x5a1788(0x1aa)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x1d7790=_0x18c1a1,_0x46e031={'HfVcl':function(_0x55cd9c,_0x256f35,_0x37e9f6){return _0x55cd9c(_0x256f35,_0x37e9f6);},'fKsjd':function(_0x474f79,_0x566e3b){return _0x474f79(_0x566e3b);},'cfbKm':'utf-8'},_0x25940b=_0x46e031['HfVcl'](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!_0x46e031['fKsjd'](existsSync,_0x25940b))return null;try{const _0x10ae96=await _0x46e031['HfVcl'](readFile,_0x25940b,_0x46e031[_0x1d7790(0x1c2)]);return _0x10ae96[_0x1d7790(0x1aa)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x54dc82){const _0x55ffa4=_0x18c1a1,_0x1c976a={'sCBOi':function(_0x3e7fa7){return _0x3e7fa7();},'EnHKZ':function(_0x40fcc2,_0x4ff52e){return _0x40fcc2(_0x4ff52e);},'QiUVw':function(_0x280f3a,_0x8b1f7a,_0x652dd6,_0x50a29f){return _0x280f3a(_0x8b1f7a,_0x652dd6,_0x50a29f);}},_0x497757=_0x1c976a[_0x55ffa4(0x17f)](getRangerDir),_0x1e30ec=join(_0x497757,ACTIVE_FEATURE_FILE);!_0x1c976a['EnHKZ'](existsSync,_0x497757)&&await mkdir(_0x497757,{'recursive':!![]}),await _0x1c976a[_0x55ffa4(0x17d)](writeFile,_0x1e30ec,_0x54dc82,_0x55ffa4(0x186));}function getProgressDisplay(_0x1a7de2){const _0x10f92b=_0x18c1a1,_0x2d406a={'qhPEg':function(_0x57deb6,_0x15c0fd){return _0x57deb6+_0x15c0fd;},'zNqwD':function(_0x470590,_0x308dbb){return _0x470590===_0x308dbb;},'jWZfO':function(_0x32b92c,_0x479fc8){return _0x32b92c>_0x479fc8;},'ElGzu':function(_0x4eacf4,_0x533da0){return _0x4eacf4>_0x533da0;}},_0x5e8785=_0x1a7de2[_0x10f92b(0x1ed)]||0x0,_0x2656c4=_0x1a7de2[_0x10f92b(0x194)]||0x0,_0x51d70c=_0x1a7de2['blockedItems']||0x0,_0x8f45c0=_0x1a7de2[_0x10f92b(0x1f1)]||0x0,_0x1662dd=_0x1a7de2['pendingItems']||0x0,_0x4c1b5e=_0x2d406a[_0x10f92b(0x204)](_0x2d406a['qhPEg'](_0x2d406a[_0x10f92b(0x204)](_0x5e8785+_0x2656c4,_0x51d70c),_0x8f45c0),_0x1662dd);if(_0x2d406a['zNqwD'](_0x4c1b5e,0x0))return'-';const _0x1d771c=0xa,_0x53f9fc=Math[_0x10f92b(0x15a)](_0x5e8785/_0x4c1b5e*_0x1d771c),_0x243ccf=_0x2d406a['qhPEg']('█'['repeat'](_0x53f9fc),'░'[_0x10f92b(0x21f)](_0x1d771c-_0x53f9fc)),_0x3ac598=[];if(_0x2d406a['jWZfO'](_0x51d70c,0x0))_0x3ac598['push'](_0x51d70c+_0x10f92b(0x21a));if(_0x2d406a[_0x10f92b(0x19a)](_0x8f45c0,0x0))_0x3ac598['push'](_0x8f45c0+'\x20incomplete');if(_0x2d406a[_0x10f92b(0x19a)](_0x2656c4,0x0))_0x3ac598['push'](_0x2656c4+_0x10f92b(0x223));const _0x11b3bb=_0x3ac598[_0x10f92b(0x1ae)]>0x0?'\x20('+_0x3ac598['join'](',\x20')+')':'';return _0x243ccf+'\x20'+_0x5e8785+'/'+_0x4c1b5e+'\x20verified'+_0x11b3bb;}function getCurrentSessionItems(_0x36738c,_0x1ed3f3){const _0x24ab4e=_0x18c1a1;if(!_0x36738c['currentSessionId'])return _0x1ed3f3[_0x24ab4e(0x156)](_0x48350e=>!_0x48350e[_0x24ab4e(0x191)]);return _0x1ed3f3['filter'](_0x532712=>_0x532712['sessionId']===_0x36738c[_0x24ab4e(0x233)]||!_0x532712[_0x24ab4e(0x191)]);}function displayFeature(_0x55d8ca,_0x1cb7c6){const _0x1b1d49=_0x18c1a1,_0x4b6b0d={'rWdzf':function(_0x5c212f,_0xf4dc8c){return _0x5c212f>_0xf4dc8c;},'EOtKU':'\x0a\x20\x20\x20Scenarios:','rpdBD':function(_0x397027,_0x22e69a){return _0x397027===_0x22e69a;},'vGSnK':function(_0x2344b0,_0xd9670f){return _0x2344b0===_0xd9670f;},'KaWaT':function(_0x5d3b40,_0x107fc8){return _0x5d3b40===_0x107fc8;},'xyBsG':function(_0x3dfa57,_0x19b584){return _0x3dfa57===_0x19b584;},'INyKU':function(_0x4680a9,_0x5ecc6c){return _0x4680a9===_0x5ecc6c;},'fhnUm':_0x1b1d49(0x164),'HPJvF':function(_0x3c6615,_0x4df8d8){return _0x3c6615===_0x4df8d8;},'yBqtY':_0x1b1d49(0x189),'iJqdL':function(_0x147331,_0x3695b6){return _0x147331!==_0x3695b6;},'tvLWx':_0x1b1d49(0x201),'WHgag':function(_0x56d746,_0x2d539b){return _0x56d746+_0x2d539b;},'vYxwN':'blocked','fIURw':_0x1b1d49(0x1f4),'PmnaK':function(_0x540377,_0x57e6da){return _0x540377===_0x57e6da;}};console['log']('\x0a'+_0x55d8ca[_0x1b1d49(0x1c9)]+'\x20('+_0x55d8ca[_0x1b1d49(0x228)]+')');_0x55d8ca[_0x1b1d49(0x1f5)]&&console['log'](_0x1b1d49(0x19d)+getProgressDisplay(_0x55d8ca['stats']));_0x55d8ca['description']&&console[_0x1b1d49(0x155)]('\x20\x20\x20Description:\x20'+_0x55d8ca[_0x1b1d49(0x1c5)]);_0x55d8ca['gitRepoUrl']&&console['log']('\x20\x20\x20Repository:\x20'+_0x55d8ca['gitRepoUrl']);_0x55d8ca[_0x1b1d49(0x190)]&&console[_0x1b1d49(0x155)](_0x1b1d49(0x19e)+_0x55d8ca[_0x1b1d49(0x190)]);console['log'](_0x1b1d49(0x1b8)+new Date(_0x55d8ca['createdAt'])[_0x1b1d49(0x1be)]());_0x55d8ca[_0x1b1d49(0x1ac)]&&console['log'](_0x1b1d49(0x1db)+new Date(_0x55d8ca['completedAt'])['toLocaleString']());if(_0x1cb7c6&&_0x4b6b0d[_0x1b1d49(0x210)](_0x1cb7c6[_0x1b1d49(0x1ae)],0x0)){console['log'](_0x4b6b0d[_0x1b1d49(0x18e)]);for(let _0x5235f4=0x0;_0x5235f4<_0x1cb7c6['length'];_0x5235f4++){const _0xd13436=_0x1cb7c6[_0x5235f4];let _0x16eb1d;if(_0x4b6b0d['rpdBD'](_0xd13436['status'],_0x1b1d49(0x164))&&_0x4b6b0d['vGSnK'](_0xd13436[_0x1b1d49(0x234)],'approved'))_0x16eb1d='✅';else{if(_0x4b6b0d[_0x1b1d49(0x15c)](_0xd13436[_0x1b1d49(0x154)],_0x1b1d49(0x199)))_0x16eb1d='🟢';else{if(_0x4b6b0d['KaWaT'](_0xd13436[_0x1b1d49(0x154)],_0x1b1d49(0x197)))_0x16eb1d='🟠';else{if(_0x4b6b0d['xyBsG'](_0xd13436[_0x1b1d49(0x154)],'blocked'))_0x16eb1d='🛑';else{if(_0x4b6b0d[_0x1b1d49(0x1a2)](_0xd13436['status'],_0x4b6b0d[_0x1b1d49(0x174)]))_0x16eb1d='⛔';else _0x4b6b0d[_0x1b1d49(0x1a9)](_0xd13436[_0x1b1d49(0x154)],_0x4b6b0d[_0x1b1d49(0x192)])?_0x16eb1d='⏳':_0x16eb1d='⬜';}}}}const _0x85030a=_0x4b6b0d['rWdzf'](_0xd13436[_0x1b1d49(0x187)],0x1)?'\x20(v'+_0xd13436['version']+')':'',_0x330c4a=_0x4b6b0d[_0x1b1d49(0x210)](_0xd13436['version'],0x1)&&_0xd13436[_0x1b1d49(0x20d)]&&_0xd13436[_0x1b1d49(0x154)]!==_0x4b6b0d[_0x1b1d49(0x174)]&&_0x4b6b0d['iJqdL'](_0xd13436[_0x1b1d49(0x154)],_0x1b1d49(0x199))?_0x4b6b0d['tvLWx']:'';console['log'](_0x1b1d49(0x206)+_0x4b6b0d['WHgag'](_0x5235f4,0x1)+'.\x20'+_0x16eb1d+'\x20'+_0xd13436['description']+_0x85030a+_0x330c4a);_0xd13436[_0x1b1d49(0x154)]===_0x4b6b0d[_0x1b1d49(0x1a6)]&&_0xd13436[_0x1b1d49(0x1a4)]&&console[_0x1b1d49(0x155)](_0x1b1d49(0x1ad)+_0xd13436['blockedReason']);_0xd13436['status']===_0x1b1d49(0x197)&&_0xd13436[_0x1b1d49(0x1d3)]&&console['log']('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0xd13436[_0x1b1d49(0x1d3)]);if(_0xd13436['status']===_0x1b1d49(0x164)&&_0x4b6b0d[_0x1b1d49(0x1a9)](_0xd13436['terminalReason'],_0x4b6b0d['fIURw']))console[_0x1b1d49(0x155)]('\x20\x20\x20\x20\x20\x20Approved');else _0x4b6b0d['PmnaK'](_0xd13436[_0x1b1d49(0x154)],_0x4b6b0d['fhnUm'])&&_0xd13436[_0x1b1d49(0x1c7)]&&console[_0x1b1d49(0x155)](_0x1b1d49(0x171)+_0xd13436['canceledReason']);}}}export async function featureCreate(_0x1d7029,_0x5ad069){const _0x2fff9d=_0x18c1a1,_0x1bf5eb={'gQKkl':function(_0xa50878){return _0xa50878();},'VzeqX':function(_0x47cda9,_0x276956){return _0x47cda9===_0x276956;},'MsalW':function(_0x155faa,_0x12031d){return _0x155faa(_0x12031d);},'HasJf':function(_0x9f05da){return _0x9f05da();},'flNeG':_0x2fff9d(0x1a1),'YPlGI':function(_0x249008,_0x49a703){return _0x249008(_0x49a703);},'ZcYgx':function(_0x14e635,_0x3b13f3){return _0x14e635(_0x3b13f3);}},{envNames:_0x204250}=await _0x1bf5eb[_0x2fff9d(0x161)](getEnvNames);if(_0x1bf5eb[_0x2fff9d(0x1bd)](_0x204250['length'],0x0)&&!process[_0x2fff9d(0x182)]['RANGER_TEST_USERNAME']){let _0x19a410=0x0;try{_0x19a410=(await listCloudProfiles())[_0x2fff9d(0x1ae)];}catch{_0x19a410=0x1;}_0x1bf5eb['VzeqX'](_0x19a410,0x0)&&console['warn']('\x0a'+_0x1bf5eb[_0x2fff9d(0x1fb)](formatProfileRequiredMessage,_0x89a005=>bold(_0x89a005)));}const _0x567334=_0x5ad069[_0x2fff9d(0x1da)]?_0x5ad069['scenarios'][_0x2fff9d(0x21b)](_0x1a9f94=>_0x1a9f94[_0x2fff9d(0x1aa)]()):[],_0x20b2d5=_0x1bf5eb[_0x2fff9d(0x161)](getGitRepoUrl),_0x488b5e=_0x1bf5eb[_0x2fff9d(0x1cf)](getGitBranch);console['log'](_0x1bf5eb[_0x2fff9d(0x203)]);const _0x14a4e5=await createFeature({'name':_0x1d7029,'description':_0x5ad069['description'],'checklist':_0x567334,'gitRepoUrl':_0x20b2d5,'gitBranch':_0x488b5e});await _0x1bf5eb[_0x2fff9d(0x21e)](setActiveFeatureId,_0x14a4e5['id']),await _0x1bf5eb['ZcYgx'](tryStartCurrentSession,_0x14a4e5['id']);const _0x35f63c=process[_0x2fff9d(0x182)]['CLAUDE_SESSION_ID'];_0x35f63c&&registerSession(_0x35f63c,_0x14a4e5['id']),console['log']('\x0a✅\x20Feature\x20review\x20created:\x20'+_0x14a4e5['id']),displayFeature(_0x14a4e5,_0x14a4e5['checklistItems']),console['log'](_0x2fff9d(0x231));}export async function featureList(_0x30519b){const _0x500e1e=_0x18c1a1,_0x1a2ced={'tRWoM':function(_0x2d9154,_0xc00d3a){return _0x2d9154===_0xc00d3a;},'jbduA':_0x500e1e(0x179),'PmDcE':function(_0x33be7f,_0x36f17b){return _0x33be7f(_0x36f17b);},'hLdgA':function(_0x5bf3c7,_0x140e95){return _0x5bf3c7<_0x140e95;},'zokYX':function(_0x143bdc,_0x2f42b3){return _0x143bdc!==_0x2f42b3;},'kbTMu':'\x20--include-deleted'},_0xf3f6db={'limit':_0x30519b[_0x500e1e(0x173)]??0xa,'offset':_0x30519b[_0x500e1e(0x188)]??0x0,'includeDeleted':_0x30519b['includeDeleted']};_0x30519b[_0x500e1e(0x14b)]&&(_0xf3f6db['gitRepoUrl']=getGitRepoUrl(),_0xf3f6db[_0x500e1e(0x190)]=getGitBranch());const _0x48bd0b=await listFeatures(_0xf3f6db);if(_0x1a2ced[_0x500e1e(0x1c8)](_0x48bd0b[_0x500e1e(0x219)][_0x500e1e(0x1ae)],0x0)){console['log'](_0x1a2ced[_0x500e1e(0x1e3)]);return;}const _0x233d58=_0x48bd0b[_0x500e1e(0x1e0)]>_0x48bd0b[_0x500e1e(0x219)]['length']?_0x500e1e(0x168)+_0x48bd0b['items']['length']+_0x500e1e(0x1b9)+_0x48bd0b['totalCount']:_0x48bd0b[_0x500e1e(0x1e0)]+_0x500e1e(0x1cc);console['log']('\x0a'+_0x233d58+':\x0a');for(const _0x2d3e17 of _0x48bd0b[_0x500e1e(0x219)]){console['log'](''+_0x2d3e17['name']),console[_0x500e1e(0x155)](_0x500e1e(0x207)+_0x2d3e17['id']),_0x2d3e17['stats']&&console[_0x500e1e(0x155)](_0x500e1e(0x19d)+_0x1a2ced[_0x500e1e(0x1e5)](getProgressDisplay,_0x2d3e17['stats'])),_0x2d3e17[_0x500e1e(0x190)]&&console['log'](_0x500e1e(0x19e)+_0x2d3e17[_0x500e1e(0x190)]),console[_0x500e1e(0x155)]('\x20\x20\x20Created:\x20'+new Date(_0x2d3e17[_0x500e1e(0x1ec)])['toLocaleDateString']()),console[_0x500e1e(0x155)]('');}const _0x303b50=_0xf3f6db['limit']??0xa,_0x54d908=(_0xf3f6db[_0x500e1e(0x188)]??0x0)+_0x48bd0b[_0x500e1e(0x219)]['length'];if(_0x1a2ced['hLdgA'](_0x54d908,_0x48bd0b[_0x500e1e(0x1e0)])){const _0x29e678=_0x1a2ced['zokYX'](_0x303b50,0xa)?'\x20--limit\x20'+_0x303b50:'',_0x4c39a9=_0x30519b['currentBranch']?'\x20--current-branch':'',_0x1caa16=_0x30519b[_0x500e1e(0x222)]?_0x1a2ced['kbTMu']:'';console['log'](_0x500e1e(0x1fe)+_0x54d908+_0x29e678+_0x4c39a9+_0x1caa16);}}export async function featureShow(_0x28ecc6){const _0x5127cf=_0x18c1a1,_0x9d3832={'XJUUD':function(_0x3d6e16){return _0x3d6e16();},'GgVuW':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','nrfbp':function(_0x28edc7,_0x55c669){return _0x28edc7(_0x55c669);},'IMLsx':function(_0x40dc67,_0x134f5c,_0x1fca0a){return _0x40dc67(_0x134f5c,_0x1fca0a);}},_0x494084=_0x28ecc6||await _0x9d3832[_0x5127cf(0x15d)](getActiveFeatureId);if(!_0x494084)throw new Error(_0x9d3832[_0x5127cf(0x18d)]);const _0x12754d=await _0x9d3832['nrfbp'](getFeature,_0x494084);_0x9d3832[_0x5127cf(0x1a7)](displayFeature,_0x12754d,_0x12754d['checklistItems']);}export async function featureResume(_0x4f3b74){const _0xbca1f9=_0x18c1a1,_0x200395={'cjWqV':function(_0x3e1847,_0x25418){return _0x3e1847(_0x25418);},'wLYXC':function(_0x49d779){return _0x49d779();},'miErG':function(_0x576e8f,_0x38aae7,_0x173967){return _0x576e8f(_0x38aae7,_0x173967);},'uFHWy':function(_0x2321b3,_0x3cc8f2,_0x555321){return _0x2321b3(_0x3cc8f2,_0x555321);},'EdmEd':function(_0x68b909){return _0x68b909();},'KjKgZ':function(_0x2cce1a,_0x278c5a){return _0x2cce1a||_0x278c5a;},'GaIVU':function(_0x116508,_0xb6b9b3){return _0x116508(_0xb6b9b3);},'SYYYB':_0xbca1f9(0x1a8),'cYMoU':'list','kgfYC':_0xbca1f9(0x1f3),'uKLhR':function(_0x4af94d,_0xf744af){return _0x4af94d(_0xf744af);},'zhZlR':function(_0x3be124,_0x1dec7d,_0x62b257){return _0x3be124(_0x1dec7d,_0x62b257);},'oScNG':function(_0x2e4367,_0x57fde1){return _0x2e4367(_0x57fde1);},'ieDyY':function(_0x547eb2,_0x2e2232){return _0x547eb2(_0x2e2232);}};if(_0x4f3b74){const _0x2095fe=await _0x200395['cjWqV'](getFeature,_0x4f3b74);await setActiveFeatureId(_0x2095fe['id']);const _0x37316c=_0x200395['wLYXC'](getGitBranch);_0x37316c&&_0x37316c!==_0x2095fe['gitBranch']&&(await updateFeature(_0x2095fe['id'],{'gitBranch':_0x37316c}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x37316c));console[_0xbca1f9(0x155)](_0xbca1f9(0x214)+_0x2095fe[_0xbca1f9(0x1c9)]+'\x20('+_0x2095fe['id']+')'),await tryStartCurrentSession(_0x2095fe['id']);const _0x53a0b3=process['env']['CLAUDE_SESSION_ID'];_0x53a0b3&&_0x200395[_0xbca1f9(0x1e9)](registerSession,_0x53a0b3,_0x2095fe['id']);_0x200395[_0xbca1f9(0x200)](displayFeature,_0x2095fe,_0x2095fe['checklistItems']),await printFeedbackNudge(_0x2095fe['id']);return;}const _0x2f5f0e=getGitRepoUrl(),_0x30e192=_0x200395[_0xbca1f9(0x208)](getGitBranch);if(!_0x2f5f0e&&!_0x30e192)throw new Error('Not\x20in\x20a\x20git\x20repository.');console['log'](_0xbca1f9(0x1ff)+(_0x2f5f0e||_0xbca1f9(0x14f))+'\x20/\x20'+_0x200395['KjKgZ'](_0x30e192,_0xbca1f9(0x14f))+'...');const _0x1ee810=await _0x200395['GaIVU'](listFeatures,{'gitRepoUrl':_0x2f5f0e,'gitBranch':_0x30e192}),_0x51927a=_0x1ee810['items']['filter'](_0x260752=>_0x260752['status']?_0x260752['status']!=='verified':!_0x260752[_0xbca1f9(0x1ac)]);if(_0x51927a['length']===0x0){console['log'](_0x200395[_0xbca1f9(0x150)]),console[_0xbca1f9(0x155)]('Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review');return;}let _0xf4c73;if(_0x51927a[_0xbca1f9(0x1ae)]===0x1)_0xf4c73=_0x51927a[0x0];else{const _0x16e7ca=process['stdin'][_0xbca1f9(0x14d)]&&process['stdout'][_0xbca1f9(0x14d)];if(!_0x16e7ca){console['log'](_0xbca1f9(0x16f));for(const _0x2be1d1 of _0x51927a){console[_0xbca1f9(0x155)]('\x20\x20'+_0x2be1d1[_0xbca1f9(0x1c9)]),console['log']('\x20\x20\x20\x20\x20ID:\x20'+_0x2be1d1['id']),_0x2be1d1['stats']&&console['log'](_0xbca1f9(0x1f7)+getProgressDisplay(_0x2be1d1[_0xbca1f9(0x1f5)])),_0x2be1d1['gitBranch']&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x2be1d1[_0xbca1f9(0x190)]);}throw new Error('Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>');}const {selected:_0x420ab4}=await _0x332a5a[_0xbca1f9(0x22d)]([{'type':_0x200395['cYMoU'],'name':_0x200395['kgfYC'],'message':_0xbca1f9(0x229),'choices':_0x51927a[_0xbca1f9(0x21b)](_0x4cd97e=>({'name':_0x4cd97e[_0xbca1f9(0x1c9)]+'\x20('+_0x4cd97e['id']+')','value':_0x4cd97e['id']}))}]);_0xf4c73=_0x51927a[_0xbca1f9(0x195)](_0xfcd722=>_0xfcd722['id']===_0x420ab4);}await _0x200395['uKLhR'](setActiveFeatureId,_0xf4c73['id']);_0x30e192&&_0x30e192!==_0xf4c73['gitBranch']&&(await _0x200395['zhZlR'](updateFeature,_0xf4c73['id'],{'gitBranch':_0x30e192}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x30e192));console[_0xbca1f9(0x155)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0xf4c73['name']+'\x20('+_0xf4c73['id']+')'),await _0x200395['oScNG'](tryStartCurrentSession,_0xf4c73['id']);const _0x39a63e=await _0x200395[_0xbca1f9(0x19f)](getFeature,_0xf4c73['id']),_0x4ec417=process['env'][_0xbca1f9(0x1d6)];_0x4ec417&&_0x200395['uFHWy'](registerSession,_0x4ec417,_0x39a63e['id']),_0x200395[_0xbca1f9(0x1e8)](displayFeature,_0x39a63e,_0x39a63e['checklistItems']),await _0x200395['ieDyY'](printFeedbackNudge,_0x39a63e['id']);}async function printFeedbackNudge(_0x31eb5f){const _0x2d1ea4=_0x18c1a1,_0x2a45b0={'sBzML':function(_0x3cc423,_0x2c9f47){return _0x3cc423(_0x2c9f47);},'xijgA':function(_0x48c147,_0x9dd837,_0x40c592){return _0x48c147(_0x9dd837,_0x40c592);},'noOeq':function(_0x4624d4,_0x125a1c){return _0x4624d4>_0x125a1c;}};try{const {items:_0x24bff3}=await _0x2a45b0[_0x2d1ea4(0x1dd)](getActionItems,_0x31eb5f);let _0x3e3d05=0x0,_0x3f326c=0x0;for(const _0x122945 of _0x24bff3){const _0x29b1ca=await _0x2a45b0[_0x2d1ea4(0x16c)](getItemFeedback,_0x31eb5f,_0x122945['id']);_0x29b1ca[_0x2d1ea4(0x1e4)]['length']>0x0&&(_0x3e3d05+=_0x29b1ca['unaddressedComments']['length'],_0x3f326c++);}_0x2a45b0['noOeq'](_0x3e3d05,0x0)&&(console['log'](_0x2d1ea4(0x160)+_0x3e3d05+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x3f326c+'\x20scenario(s).'),console['log'](_0x2d1ea4(0x1b3)));}catch{}}async function tryStartCurrentSession(_0x5b9686){const _0x41d6db=_0x18c1a1,_0x74009b={'QpPZZ':function(_0x520a71,_0x252e9e){return _0x520a71(_0x252e9e);},'dhVpQ':function(_0x2601d7,_0x1aa460,_0x14739d){return _0x2601d7(_0x1aa460,_0x14739d);}};try{const {sessions:_0x34f7ac}=await _0x74009b['QpPZZ'](listFeatureSessions,_0x5b9686),_0x4a3756=_0x34f7ac['find'](_0x33590a=>_0x33590a[_0x41d6db(0x154)]===_0x41d6db(0x152));_0x4a3756&&(await _0x74009b['dhVpQ'](startSession,_0x5b9686,_0x4a3756['id']),console['log']('\x20\x20\x20▶️\x20Started\x20session\x20'+_0x4a3756[_0x41d6db(0x1d4)]));}catch{}}export async function featureReport(_0xdf0504,_0x5affdc){const _0x2da496=_0x18c1a1,_0x2c5855={'SlOFg':function(_0x217153){return _0x217153();},'WVbAK':_0x2da496(0x14c),'lbFwY':function(_0x3982cb,_0x27ff37,_0x4d9a8a){return _0x3982cb(_0x27ff37,_0x4d9a8a);},'KESAn':function(_0x2f8e69){return _0x2f8e69();},'TUwYs':function(_0x4c7d87,_0x3a2aa1){return _0x4c7d87(_0x3a2aa1);},'fLlxe':function(_0x3ca0e0,_0x3477d4,_0x1cd49c,_0x2dd420){return _0x3ca0e0(_0x3477d4,_0x1cd49c,_0x2dd420);},'mffIj':_0x2da496(0x186)},_0x5f2ef1=_0xdf0504||await _0x2c5855[_0x2da496(0x159)](getActiveFeatureId);if(!_0x5f2ef1)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console['log'](_0x2c5855['WVbAK']);const _0x523b10=await _0x2c5855[_0x2da496(0x1e6)](getFeatureReportMarkdown,_0x5f2ef1,{'style':_0x5affdc[_0x2da496(0x1ca)]}),_0xb53bdc=_0x5affdc['output']||join(_0x2c5855['KESAn'](getRangerDir),'reports',_0x5f2ef1+_0x2da496(0x1fc)),_0x4b67fe=join(_0xb53bdc,'..');!_0x2c5855['TUwYs'](existsSync,_0x4b67fe)&&await mkdir(_0x4b67fe,{'recursive':!![]}),await _0x2c5855[_0x2da496(0x232)](writeFile,_0xb53bdc,_0x523b10,_0x2c5855[_0x2da496(0x1f8)]),console['log'](_0x2da496(0x1ea)+_0xb53bdc);}function _0x4b21(_0xd57eeb,_0x6c769a){_0xd57eeb=_0xd57eeb-0x14b;const _0x5e0014=_0x5e00();let _0x4b2162=_0x5e0014[_0xd57eeb];return _0x4b2162;}function getScenarioResult(_0x1c6698){const _0x908256=_0x18c1a1,_0x4ecfdc={'RAACC':_0x908256(0x189),'hjCMy':_0x908256(0x166)};if(_0x1c6698['status']===_0x908256(0x164))return _0x1c6698[_0x908256(0x234)]??'closed';if(_0x1c6698[_0x908256(0x154)]===_0x4ecfdc['RAACC'])return _0x4ecfdc[_0x908256(0x1b5)];return _0x1c6698['status'];}function getScenarioRationale(_0x19d4ab,_0x5578d3){const _0x117755=_0x18c1a1;if(_0x5578d3)return _0x5578d3;if(_0x19d4ab['blockedReason'])return _0x19d4ab[_0x117755(0x1a4)];if(_0x19d4ab[_0x117755(0x1d3)])return _0x19d4ab['incompleteReason'];if(_0x19d4ab['canceledReason'])return _0x19d4ab['canceledReason'];if(_0x19d4ab['notes'])return _0x19d4ab['notes'];return null;}export async function featureReportPrDescription(_0x1faac4,_0x39487b){const _0x4b4b61=_0x18c1a1,_0x15fb18={'kqYRW':function(_0x54cf81){return _0x54cf81();},'WXDYl':_0x4b4b61(0x181),'YOtAJ':function(_0x1844fd,_0x1d22f3){return _0x1844fd(_0x1d22f3);},'NytsE':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','eduuo':function(_0x34da45,_0x519fc5){return _0x34da45>_0x519fc5;},'ihlXs':function(_0x1d7eee,_0x4e2dc3){return _0x1d7eee<_0x4e2dc3;},'tAwKd':_0x4b4b61(0x15b)},_0x4b8b24=_0x1faac4||await _0x15fb18[_0x4b4b61(0x220)](getActiveFeatureId);if(!_0x4b8b24)throw new Error(_0x15fb18[_0x4b4b61(0x18a)]);const _0x259923=await _0x15fb18['YOtAJ'](getFeature,_0x4b8b24),_0x25ccd5=_0x259923[_0x4b4b61(0x16a)]||[],_0x412dd9=getCurrentSessionItems(_0x259923,_0x25ccd5);_0x412dd9[_0x4b4b61(0x1ae)]===0x0&&(console['error'](_0x15fb18['NytsE']),process['exit'](0x1));const _0x352877=_0x39487b[_0x4b4b61(0x21c)]??[],_0x245c38=_0x352877[_0x4b4b61(0x156)](_0xeac143=>!Number[_0x4b4b61(0x172)](_0xeac143)||_0xeac143<0x1||_0xeac143>_0x412dd9[_0x4b4b61(0x1ae)]);if(_0x15fb18[_0x4b4b61(0x1a3)](_0x245c38['length'],0x0)){console['error'](_0x4b4b61(0x185)+_0x245c38['join'](',\x20')),console['log']('\x0aAvailable\x20scenarios:');for(let _0x16a6f1=0x0;_0x15fb18['ihlXs'](_0x16a6f1,_0x412dd9[_0x4b4b61(0x1ae)]);_0x16a6f1++){console['log']('\x20\x20'+(_0x16a6f1+0x1)+'.\x20'+_0x412dd9[_0x16a6f1][_0x4b4b61(0x1c5)]);}process[_0x4b4b61(0x21d)](0x1);}const _0x32aa9d=new Set(_0x352877[_0x4b4b61(0x21b)](_0x22718b=>_0x22718b-0x1)),_0x312716=_0x412dd9['filter']((_0x153652,_0x4520fc)=>!_0x32aa9d['has'](_0x4520fc));_0x312716[_0x4b4b61(0x1ae)]===0x0&&(console[_0x4b4b61(0x1e1)](_0x15fb18['tAwKd']),process['exit'](0x1));if(_0x39487b[_0x4b4b61(0x193)])await outputJsonReport(_0x4b8b24,_0x259923,_0x312716);else{const _0x621812=await getFeatureReportMarkdown(_0x4b8b24,{'itemIds':_0x312716['map'](_0x59189f=>_0x59189f['id'])});process['stdout']['write'](_0x621812['trimEnd']()+'\x0a');}}async function outputJsonReport(_0x441195,_0x186d20,_0x47af9a){const _0x39c8ca=_0x18c1a1,_0x4d6aa9={'JDAdi':function(_0x465a31,_0x4873f5){return _0x465a31(_0x4873f5);},'tzkZD':function(_0x490c4c){return _0x490c4c();}},_0x4d66a1=_0x4d6aa9[_0x39c8ca(0x20e)](getApiBaseUrl),_0x377c7b=await getFeatureReport(_0x441195),_0xfc283c=new Map(_0x377c7b['checklistItems'][_0x39c8ca(0x21b)](_0x1416af=>[_0x1416af['id'],_0x1416af])),_0x51d698=await Promise[_0x39c8ca(0x1b4)](_0x47af9a[_0x39c8ca(0x21b)](async _0x135241=>{const _0x414047=_0x39c8ca,_0xf60254=_0xfc283c[_0x414047(0x1a5)](_0x135241['id']),_0x38facc=_0xf60254?.['linkedSession']??null;let _0x13c1b1=[];if(_0x135241['browserSessionId'])try{const {steps:_0x47e471}=await _0x4d6aa9[_0x414047(0x1d9)](getBrowserSessionSteps,_0x135241['browserSessionId']);_0x47e471['length']>0x0&&(_0x13c1b1=_0x47e471[_0x414047(0x21b)](_0x289145=>{const _0xdb6a19=_0x414047,_0x34ca29=_0x289145['assets']['find'](_0x51f910=>_0x51f910['assetType']===_0xdb6a19(0x17b)&&_0x51f910[_0xdb6a19(0x226)]===_0xdb6a19(0x20f))??_0x289145[_0xdb6a19(0x183)][_0xdb6a19(0x195)](_0x104c65=>_0x104c65[_0xdb6a19(0x212)]==='screenshot');let _0x1fb20c=null,_0x2328b6=null;if(_0x34ca29){const _0xcc5586=_0x34ca29['storage'][_0xdb6a19(0x16e)]['split']('/')['pop']();_0x1fb20c=_0x4d66a1+_0xdb6a19(0x15f)+_0x135241['browserSessionId']+'/artifacts/'+_0xcc5586,_0xcc5586&&(_0x2328b6=_0xcc5586[_0xdb6a19(0x1c0)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0xdb6a19(0x1c0)](/[-_]/g,'\x20'));}return{'description':_0x2328b6||_0x289145['description']||_0x289145[_0xdb6a19(0x1bb)]||'Step\x20'+_0x289145['position'],'screenshot':_0x1fb20c,'is_key_step':_0x289145[_0xdb6a19(0x20c)]};}));}catch{}return _0x13c1b1[_0x414047(0x1ae)]===0x0&&_0x38facc?.['screenshotUrls']&&(_0x13c1b1=_0x38facc[_0x414047(0x158)][_0x414047(0x21b)]((_0x33231c,_0x437381)=>({'description':_0x414047(0x169)+(_0x437381+0x1),'screenshot':_0x33231c,'is_key_step':![]}))),{'description':_0x135241['description'],'result':_0x4d6aa9['JDAdi'](getScenarioResult,_0x135241),'rationale':getScenarioRationale(_0x135241,_0x38facc?.['agentResponse']),'steps':_0x13c1b1};})),_0x2a05da={'url':_0x186d20['dashboardUrl'],'scenarios':_0x51d698};process[_0x39c8ca(0x153)][_0x39c8ca(0x1a0)](JSON[_0x39c8ca(0x1d1)](_0x2a05da,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x58d077){const _0x34b235=_0x18c1a1,_0x168d77={'UiQEh':function(_0x1af20d){return _0x1af20d();},'MZZFq':function(_0x5ba4ae,_0x1ecb95){return _0x5ba4ae(_0x1ecb95);},'AAwMZ':function(_0x2a2949,_0x535c7f){return _0x2a2949===_0x535c7f;},'XtCgW':_0x34b235(0x18c),'RCydt':_0x34b235(0x1c6)},_0x544e8b=_0x58d077||await _0x168d77['UiQEh'](getActiveFeatureId);if(!_0x544e8b)throw new Error(_0x34b235(0x213));const _0x3c37d5=await getFeature(_0x544e8b);if(!_0x3c37d5['currentSessionId'])throw new Error(_0x34b235(0x217));const {sessions:_0x3cc777}=await _0x168d77['MZZFq'](listFeatureSessions,_0x544e8b),_0x168026=_0x3cc777['find'](_0x2fe31e=>_0x2fe31e['id']===_0x3c37d5[_0x34b235(0x233)]);if(!_0x168026)throw new Error('Current\x20session\x20not\x20found.');if(_0x168d77[_0x34b235(0x1f9)](_0x168026['status'],_0x168d77['XtCgW'])){console['log']('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x168026['status']!==_0x34b235(0x166))throw new Error(_0x34b235(0x170)+_0x168026['status']);console[_0x34b235(0x155)](_0x168d77['RCydt']),await concludeSession(_0x544e8b,_0x3c37d5['currentSessionId']),console['log']('\x0a✅\x20Session\x20'+_0x168026['iteration']+_0x34b235(0x1b1)),console['log'](_0x34b235(0x19c));}export async function featureSessions(_0x1eae09){const _0x12ba67=_0x18c1a1,_0x12c788={'IpFmC':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','rpdIs':function(_0x331f27,_0x5e5425){return _0x331f27(_0x5e5425);},'dHsAX':_0x12ba67(0x18c),'fFSGI':function(_0x353b36,_0x6a9b77){return _0x353b36===_0x6a9b77;},'OPiIn':'in_progress'},_0x525cb3=_0x1eae09||await getActiveFeatureId();if(!_0x525cb3)throw new Error(_0x12c788['IpFmC']);const _0xf5a8b3=await _0x12c788['rpdIs'](getFeature,_0x525cb3);console[_0x12ba67(0x155)]('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0xf5a8b3[_0x12ba67(0x1c9)]+'\x0a');const {sessions:_0x39debb}=await _0x12c788['rpdIs'](listFeatureSessions,_0x525cb3);if(_0x39debb['length']===0x0){console[_0x12ba67(0x155)](_0x12ba67(0x184));return;}for(const _0x17fe11 of _0x39debb){const _0x3d5f15=_0x17fe11['status']===_0x12c788[_0x12ba67(0x17a)]?'✅':_0x12c788[_0x12ba67(0x16d)](_0x17fe11['status'],_0x12c788['OPiIn'])?'🔄':'▶️';console[_0x12ba67(0x155)](_0x3d5f15+_0x12ba67(0x20a)+_0x17fe11['iteration']+'\x20('+_0x17fe11['id']+')'),console[_0x12ba67(0x155)](_0x12ba67(0x22c)+_0x17fe11[_0x12ba67(0x154)]),console[_0x12ba67(0x155)]('\x20\x20\x20Created:\x20'+new Date(_0x17fe11[_0x12ba67(0x1ec)])[_0x12ba67(0x1be)]()),_0x17fe11['completedAt']&&console['log'](_0x12ba67(0x1db)+new Date(_0x17fe11['completedAt'])[_0x12ba67(0x1be)]()),console['log']('');}}export async function featureAddScenario(_0x55702b,_0x4c7888){const _0x5d4f0a=_0x18c1a1,_0x2bbad1=_0x4c7888||await getActiveFeatureId();if(!_0x2bbad1)throw new Error(_0x5d4f0a(0x213));const _0x4a5164=await getFeature(_0x2bbad1);if(_0x4a5164[_0x5d4f0a(0x1ce)]&&!_0x4a5164['latestReview'][_0x5d4f0a(0x1d0)])throw new Error(_0x5d4f0a(0x1b7)+_0x4a5164[_0x5d4f0a(0x228)]);await createChecklistItem(_0x2bbad1,_0x55702b);const _0x528f45=await getFeature(_0x2bbad1);console[_0x5d4f0a(0x155)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x528f45,_0x528f45['checklistItems']);}export async function featureEditScenario(_0x3cd17e,_0x20d8c9){const _0x53b6f6=_0x18c1a1,_0x415d20={'uFHfA':function(_0x33e743){return _0x33e743();},'ELeUB':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','vsvmi':_0x53b6f6(0x180),'qouPt':function(_0x3a4387,_0x406400){return _0x3a4387-_0x406400;},'MfyfK':function(_0x1afba1,_0x53c6e9){return _0x1afba1<_0x53c6e9;},'BuKsV':function(_0x5238ba,_0x2125c){return _0x5238ba<_0x2125c;}},_0x39b178=_0x20d8c9['id']||await _0x415d20['uFHfA'](getActiveFeatureId);!_0x39b178&&(console['error'](_0x415d20[_0x53b6f6(0x22a)]),console['error']('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process['exit'](0x1));const _0x1f7078=await getFeature(_0x39b178);_0x1f7078[_0x53b6f6(0x1ce)]&&!_0x1f7078['latestReview'][_0x53b6f6(0x1d0)]&&(console['error']('\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.'),console['error']('Please\x20finish\x20your\x20review\x20first:'),console['error']('\x20\x20'+_0x1f7078['dashboardUrl']),process[_0x53b6f6(0x21d)](0x1));const _0x135e10=_0x1f7078[_0x53b6f6(0x16a)]||[];_0x135e10[_0x53b6f6(0x1ae)]===0x0&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process[_0x53b6f6(0x21d)](0x1));if(_0x20d8c9[_0x53b6f6(0x1ee)]===undefined){console['error']('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console[_0x53b6f6(0x155)](_0x415d20[_0x53b6f6(0x1df)]);for(let _0x26c501=0x0;_0x26c501<_0x135e10['length'];_0x26c501++){console[_0x53b6f6(0x155)]('\x20\x20'+(_0x26c501+0x1)+'.\x20'+_0x135e10[_0x26c501][_0x53b6f6(0x1c5)]);}process[_0x53b6f6(0x21d)](0x1);}const _0x5cafe4=_0x415d20[_0x53b6f6(0x205)](_0x20d8c9[_0x53b6f6(0x1ee)],0x1);if(_0x415d20['MfyfK'](_0x5cafe4,0x0)||_0x5cafe4>=_0x135e10['length']){console['error']('\x0a❌\x20Invalid\x20scenario\x20index:\x20'+_0x20d8c9['scenario']+_0x53b6f6(0x224)+_0x135e10['length']+_0x53b6f6(0x18f)),console[_0x53b6f6(0x155)](_0x415d20['vsvmi']);for(let _0xbb2203=0x0;_0x415d20[_0x53b6f6(0x218)](_0xbb2203,_0x135e10[_0x53b6f6(0x1ae)]);_0xbb2203++){console['log']('\x20\x20'+(_0xbb2203+0x1)+'.\x20'+_0x135e10[_0xbb2203][_0x53b6f6(0x1c5)]);}process[_0x53b6f6(0x21d)](0x1);}const _0x211c8a=_0x135e10[_0x5cafe4];await updateChecklistItem(_0x39b178,_0x211c8a['id'],{'description':_0x3cd17e});const _0x42ade8=await getFeature(_0x39b178);console[_0x53b6f6(0x155)](_0x53b6f6(0x177)),displayFeature(_0x42ade8,_0x42ade8[_0x53b6f6(0x16a)]);}async function downloadFeedbackImage(_0x4a8410,_0x5b9363){const _0x5f409=_0x18c1a1,_0x301f06={'bSYLK':function(_0x458de0){return _0x458de0();}};try{const _0x34f6af=join(_0x301f06['bSYLK'](getRangerDir),'feedback-images');await mkdir(_0x34f6af,{'recursive':!![]});const _0x1a2890=join(_0x34f6af,'comment_'+_0x5b9363+_0x5f409(0x209)),_0x24595c=await fetch(_0x4a8410);if(!_0x24595c['ok'])return null;const _0x58cdde=Buffer[_0x5f409(0x14e)](await _0x24595c['arrayBuffer']());return await writeFile(_0x1a2890,_0x58cdde),_0x1a2890;}catch{return null;}}export async function featureGetReview(_0x2c712f){const _0x1c0f60=_0x18c1a1,_0x32b0bf={'Nzqfa':function(_0x4cf1a7){return _0x4cf1a7();},'fgfuJ':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','aCyCc':function(_0x696c53,_0x1501a0){return _0x696c53(_0x1501a0);},'rsheF':function(_0x521a4f,_0x1ad6c7){return _0x521a4f>_0x1ad6c7;},'JTZko':function(_0xddd60a,_0x592ca6,_0x346542){return _0xddd60a(_0x592ca6,_0x346542);},'FAPlY':function(_0x18c826,_0x539b7c){return _0x18c826>_0x539b7c;},'uFeua':function(_0x136a87,_0x189fde){return _0x136a87+_0x189fde;},'eGrxH':_0x1c0f60(0x1fd),'tWcDs':function(_0x344f30,_0x13ef5e,_0x2480a8){return _0x344f30(_0x13ef5e,_0x2480a8);},'PpQHU':'\x20>\x20','ZmkZr':'element','BTYCs':function(_0x13a54d,_0x1ffb0c){return _0x13a54d===_0x1ffb0c;},'EWsuf':'point'},_0x5dd770=_0x2c712f||await _0x32b0bf['Nzqfa'](getActiveFeatureId);if(!_0x5dd770)throw new Error(_0x32b0bf['fgfuJ']);const _0x464618=await _0x32b0bf[_0x1c0f60(0x230)](getFeature,_0x5dd770),{items:_0x412ec6}=await getActionItems(_0x5dd770);console['log'](_0x1c0f60(0x157)+_0x464618[_0x1c0f60(0x1c9)]+'\x20('+_0x464618['id']+')\x0a');if(_0x412ec6['length']===0x0){console[_0x1c0f60(0x155)]('No\x20scenarios\x20found.');return;}for(let _0x89eda=0x0;_0x89eda<_0x412ec6[_0x1c0f60(0x1ae)];_0x89eda++){const _0x3c645a=_0x412ec6[_0x89eda],_0x21e26f=_0x32b0bf['rsheF'](_0x3c645a[_0x1c0f60(0x187)],0x1)?'\x20(v'+_0x3c645a['version']+')':'',_0x359ec3=await _0x32b0bf[_0x1c0f60(0x225)](getItemFeedback,_0x5dd770,_0x3c645a['id']);if(_0x32b0bf['FAPlY'](_0x359ec3['unaddressedComments'][_0x1c0f60(0x1ae)],0x0)){console[_0x1c0f60(0x155)](_0x1c0f60(0x176)+_0x32b0bf[_0x1c0f60(0x1bf)](_0x89eda,0x1)+_0x1c0f60(0x1fa)+_0x3c645a['description']+'\x22'+_0x21e26f+'\x20—\x20'+_0x359ec3[_0x1c0f60(0x1e4)]['length']+'\x20unaddressed\x20comment(s)');for(const _0x29bc61 of _0x359ec3['unaddressedComments']){const _0x2f7a44=new Date(_0x29bc61[_0x1c0f60(0x1ec)])['toLocaleDateString'](_0x32b0bf[_0x1c0f60(0x22f)],{'month':_0x1c0f60(0x1cb),'day':_0x1c0f60(0x1d2)}),_0x21c6f1=_0x29bc61['authorName']||_0x29bc61['authorEmail']||'Unknown';console[_0x1c0f60(0x155)](_0x1c0f60(0x163)+_0x21c6f1+'\x20('+_0x2f7a44+'):\x20\x22'+_0x29bc61[_0x1c0f60(0x1eb)]+'\x22');if(_0x29bc61[_0x1c0f60(0x1d5)]){const _0x52fda1=await _0x32b0bf['tWcDs'](downloadFeedbackImage,_0x29bc61[_0x1c0f60(0x1d5)],_0x29bc61['id']);_0x52fda1&&console[_0x1c0f60(0x155)](_0x1c0f60(0x22e)+_0x52fda1);}if(_0x29bc61['domRef']){const _0x367a87=_0x29bc61['domRef'][_0x1c0f60(0x196)][_0x1c0f60(0x16b)](_0x32b0bf[_0x1c0f60(0x22b)])[_0x1c0f60(0x1ab)]()?.[_0x1c0f60(0x16b)](':')[0x0]||_0x32b0bf[_0x1c0f60(0x1ef)],_0x3382e9=_0x29bc61['domRef']['textContent']?'\x20\x22'+_0x29bc61[_0x1c0f60(0x202)][_0x1c0f60(0x221)][_0x1c0f60(0x167)](0x0,0x3c)+'\x22':'';console['log'](_0x1c0f60(0x1bc)+_0x367a87+'>'+_0x3382e9),console['log'](_0x1c0f60(0x162)+_0x29bc61[_0x1c0f60(0x202)][_0x1c0f60(0x196)]);}else{if(_0x29bc61[_0x1c0f60(0x1d8)]){const _0xa2dead=_0x29bc61[_0x1c0f60(0x1d8)][_0x1c0f60(0x1b0)];_0x32b0bf['BTYCs'](_0x29bc61['spatial']['type'],_0x32b0bf[_0x1c0f60(0x211)])&&_0xa2dead['length']>=0x2?console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0xa2dead[0x0][_0x1c0f60(0x1c3)](0x2)+',\x20'+_0xa2dead[0x1][_0x1c0f60(0x1c3)](0x2)+')'):console[_0x1c0f60(0x155)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x29bc61['spatial'][_0x1c0f60(0x198)]+_0x1c0f60(0x1ba)+_0xa2dead['map'](_0x639a4b=>_0x639a4b[_0x1c0f60(0x1c3)](0x2))[_0x1c0f60(0x1c4)](',\x20')+']');}}}if(_0x359ec3[_0x1c0f60(0x19b)]){console[_0x1c0f60(0x155)](_0x1c0f60(0x1de));for(const _0x68dbf3 of _0x359ec3['canonicalFlow'][_0x1c0f60(0x16b)]('\x0a')){console['log'](_0x1c0f60(0x1f0)+_0x68dbf3);}}}else console[_0x1c0f60(0x155)]('Scenario\x20'+(_0x89eda+0x1)+':\x20\x22'+_0x3c645a[_0x1c0f60(0x1c5)]+'\x22'+_0x21e26f+_0x1c0f60(0x216)),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}export async function featureDelete(_0x498664){const _0x15b07a=_0x18c1a1,_0x290ea6={'pjUBc':function(_0x870643){return _0x870643();},'XMHCx':function(_0x3a8a96,_0x326684){return _0x3a8a96(_0x326684);},'xgdjC':function(_0x2c3fb2,_0x25acb7){return _0x2c3fb2(_0x25acb7);},'bdkiH':function(_0x6761a,_0x2a3af4){return _0x6761a+_0x2a3af4;},'kdPRj':_0x15b07a(0x1c1)},_0x4ad10e=_0x498664||await _0x290ea6['pjUBc'](getActiveFeatureId);if(!_0x4ad10e)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 _0x776f42=await _0x290ea6[_0x15b07a(0x18b)](getFeature,_0x4ad10e);await _0x290ea6['xgdjC'](softDeleteFeature,_0x4ad10e),console[_0x15b07a(0x155)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x776f42['name']+'\x20('+_0x4ad10e+')'),console['log'](_0x290ea6['bdkiH'](_0x290ea6['kdPRj'],_0x4ad10e));}export async function featureRestore(_0x7cfd1e){const _0x4f0f06=_0x18c1a1,_0x4cc7c2={'BkexA':function(_0x1d1ca1,_0x5364f0){return _0x1d1ca1(_0x5364f0);},'ubqAS':function(_0x593e7b,_0x5e8ed1,_0x43440e){return _0x593e7b(_0x5e8ed1,_0x43440e);}};await restoreFeature(_0x7cfd1e);const _0x2fab1d=await _0x4cc7c2[_0x4f0f06(0x1b6)](getFeature,_0x7cfd1e);console['log'](_0x4f0f06(0x20b)+_0x2fab1d[_0x4f0f06(0x1c9)]+'\x20('+_0x7cfd1e+')'),_0x4cc7c2['ubqAS'](displayFeature,_0x2fab1d,_0x2fab1d['checklistItems']);}
1
+ const _0x4ac12b=_0x5de5;(function(_0x37d419,_0x5545a0){const _0x189223=_0x5de5,_0x545d81=_0x37d419();while(!![]){try{const _0x44f0be=parseInt(_0x189223(0x1c0))/0x1+-parseInt(_0x189223(0x1ca))/0x2*(-parseInt(_0x189223(0x1de))/0x3)+parseInt(_0x189223(0x221))/0x4+parseInt(_0x189223(0x1ed))/0x5*(-parseInt(_0x189223(0x200))/0x6)+parseInt(_0x189223(0x182))/0x7*(-parseInt(_0x189223(0x1d8))/0x8)+parseInt(_0x189223(0x1f1))/0x9*(parseInt(_0x189223(0x214))/0xa)+-parseInt(_0x189223(0x21e))/0xb;if(_0x44f0be===_0x5545a0)break;else _0x545d81['push'](_0x545d81['shift']());}catch(_0x12b6e9){_0x545d81['push'](_0x545d81['shift']());}}}(_0x4276,0xe09fe));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0xd0c003 from'inquirer';function _0x4276(){const _0x255678=['No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','IjSKs','type','isKeyStep','.png','toLocaleDateString','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','\x20/\x20','canonicalFlow','dqICE','VDlsz','\x0a📋\x20Feedback\x20for:\x20','PdlKO','eOYdj','UKpXI','LHsqs','.md','blockedReason','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','iteration','gitBranch','gCytn','currentSessionId','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','completed','VURVl','\x1b[0m','yXYyt','TkdJV','RANGER_TEST_USERNAME','verifiedItems','screenshot','log','submittedAt','verified','\x20of\x20','includeDeleted','LJxop','YfmCb','/api/v1/mcp/browser-sessions/','TVztY','EUexf','FmbNP','TLpuc','env','verificationInProgressItems','oMzjB','style','IIZCU','blocked','oILIP','220633LmPzKa','incompleteItems','status','nyMrE','en-US','nOVxq','offset','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','yyHCE','No\x20scenarios\x20found.','\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','\x20incomplete','write','reports','PdoSk','utf-8','map','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','\x20\x20\x20\x20','length','Olqgx','zuORN','incomplete','\x0a\x20\x20\x20Scenarios:','ANEOV','okKmb','short','blockedItems','\x20concluded.','\x0a✅\x20Restored\x20feature\x20review:\x20','KccQU','assets','wUJst','from','exit','totalCount','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','pipe','description','createdAt','stdout','gdNkE','canceledReason','/artifacts/','\x20\x20\x20\x20\x20🎯\x20Element:\x20<','YthXc','domRef','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','OUWCS','\x0a✅\x20Feature\x20review\x20created:\x20','fTgqo','location','find','point','verification_in_progress','IfsUv','Please\x20finish\x20your\x20review\x20first:','QstQK','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','tBGUy','\x0a✅\x20Resumed\x20feature\x20review:\x20','replace','1212166MuQKff','stdin','unaddressedComments','trim','JEErj','\x20\x20\x20Updated\x20branch\x20to:\x20','list','\x0a✅\x20Scenario\x20added','in_progress','zeKba','41222tLXyox','mXmMG','\x20\x20\x20\x20\x20Progress:\x20','closed','join','items','\x20\x20\x20▶️\x20Started\x20session\x20','selector','\x20\x20\x20\x20\x20\x20Approved','Unknown','\x20verified','XIadm','toLocaleString','ATbeB','184uHldSo','\x20blocked','wCQij','coordinates','CLAUDE_SESSION_ID','limit','63MaxDLs','HlYzS','yRfTW','stringify','ready','mDQMi','parentItemId','latestReview','PFAvS','No\x20active\x20session\x20for\x20this\x20feature\x20review.','lwzWv','browserSessionId','fOWSG','\x20\x20\x20Progress:\x20','output','5mxZFwg','OiGrk','aPdnN','JeVCO','510066XmbygW','emXqY','active-feature.txt',':\x20\x22','\x0a⚠️\x20\x20','ZCDYt','incompleteReason','pop','scenarios','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','...','toFixed','stats','dashboardUrl','spatial','333306culeIk','json','JOrnO','version','slice','name','\x0a❌\x20Invalid\x20scenario\x20index:\x20','github.com/','textContent','TryRo','pKSvy','JEHXM','\x20\x20\x20Created:\x20','filter','\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20','qBEbZ','element','IeOSu','KFvlh','\x20\x20\x20Branch:\x20','140XbwodM','completedAt','\x20(v','warn','fxSlr','trimEnd','error','\x0a✅\x20Session\x20is\x20already\x20completed.','terminalReason','\x0a✅\x20Scenario\x20updated','15503257zpNYHf','position','\x20Session\x20','2686016gsyKLR','assetUrl','XxRQm','Showing\x20','currentBranch','git\x20rev-parse\x20--abbrev-ref\x20HEAD','isTTY','GBkAl','split','VUCfB','approved','\x20--limit\x20','comment_','\x20>\x20','Scenario\x20','push','any','Next\x20page:\x20ranger\x20list\x20--offset\x20','\x20scenario(s).','\x20\x20Expected\x20flow:','checklistItems','\x20\x20\x20Repository:\x20','sessionId','4|3|1|0|2|5','\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'];_0x4276=function(){return _0x255678;};return _0x4276();}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=_0x4ac12b(0x1f3),bold=_0x2bd844=>'\x1b[1m'+_0x2bd844+_0x4ac12b(0x169);function getGitRepoUrl(){const _0x4908a8=_0x4ac12b,_0x4c295c={'UKpXI':function(_0x1be1f3,_0xda1d0d,_0xe1c4e2){return _0x1be1f3(_0xda1d0d,_0xe1c4e2);},'ZCDYt':'git\x20remote\x20get-url\x20origin','hWsUB':_0x4908a8(0x191),'InvuE':_0x4908a8(0x1a7),'iqeXG':_0x4908a8(0x207)};try{const _0x2c2559=_0x4c295c[_0x4908a8(0x248)](execSync,_0x4c295c[_0x4908a8(0x1f6)],{'encoding':_0x4c295c['hWsUB'],'stdio':[_0x4908a8(0x1a7),_0x4c295c['InvuE'],'pipe']})['trim']();return _0x2c2559['replace'](/\.git$/,'')[_0x4908a8(0x1bf)](/^git@github\.com:/,_0x4c295c['iqeXG'])['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x54aa81=_0x4ac12b,_0x4ff687={'EUexf':function(_0x11c0a7,_0x2cfe8e,_0x27d52f){return _0x11c0a7(_0x2cfe8e,_0x27d52f);},'hmNYz':'pipe'};try{return _0x4ff687[_0x54aa81(0x178)](execSync,_0x54aa81(0x226),{'encoding':_0x54aa81(0x191),'stdio':[_0x54aa81(0x1a7),_0x54aa81(0x1a7),_0x4ff687['hmNYz']]})['trim']();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x276a14=_0x4ac12b,_0x7b3f57=join(getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x7b3f57))return null;try{const _0x527478=await readFile(_0x7b3f57,'utf-8');return _0x527478[_0x276a14(0x1c3)]()||null;}catch{return null;}}async function setActiveFeatureId(_0x42a1e3){const _0x254652=_0x4ac12b,_0x2e43ae={'zuORN':function(_0x3f56d9){return _0x3f56d9();},'PdoSk':function(_0x2e37eb,_0x397022,_0x5a26a4){return _0x2e37eb(_0x397022,_0x5a26a4);}},_0x4ddb6f=_0x2e43ae[_0x254652(0x197)](getRangerDir),_0x385dc8=_0x2e43ae[_0x254652(0x190)](join,_0x4ddb6f,ACTIVE_FEATURE_FILE);!existsSync(_0x4ddb6f)&&await _0x2e43ae['PdoSk'](mkdir,_0x4ddb6f,{'recursive':!![]}),await writeFile(_0x385dc8,_0x42a1e3,_0x254652(0x191));}function getProgressDisplay(_0x10687f){const _0x5d7108=_0x4ac12b,_0x4ce9fb={'gdNkE':function(_0x474555,_0x1ec2dd){return _0x474555+_0x1ec2dd;},'zrBhk':function(_0x215f6c,_0x1e2e68){return _0x215f6c+_0x1e2e68;},'LHsqs':function(_0x24df32,_0x551c29){return _0x24df32+_0x551c29;},'dkyyS':function(_0x3ee45a,_0x5ecf9c){return _0x3ee45a===_0x5ecf9c;},'ObZZg':function(_0x485267,_0xbef5ea){return _0x485267*_0xbef5ea;},'JeVCO':function(_0x480dd2,_0x1910e2){return _0x480dd2/_0x1910e2;},'JOrnO':function(_0x5e7a5f,_0x5b328e){return _0x5e7a5f-_0x5b328e;},'OUWCS':function(_0x3ebd1c,_0xb716db){return _0x3ebd1c>_0xb716db;}},_0x312314=_0x10687f[_0x5d7108(0x16d)]||0x0,_0x160e05=_0x10687f[_0x5d7108(0x17c)]||0x0,_0x1613d8=_0x10687f[_0x5d7108(0x19d)]||0x0,_0x2e891f=_0x10687f[_0x5d7108(0x183)]||0x0,_0x1bacbd=_0x10687f['pendingItems']||0x0,_0x43fd1b=_0x4ce9fb[_0x5d7108(0x1ab)](_0x4ce9fb['zrBhk'](_0x4ce9fb[_0x5d7108(0x249)](_0x312314,_0x160e05)+_0x1613d8,_0x2e891f),_0x1bacbd);if(_0x4ce9fb['dkyyS'](_0x43fd1b,0x0))return'-';const _0x5a86a7=0xa,_0x4cf6eb=Math['round'](_0x4ce9fb['ObZZg'](_0x4ce9fb[_0x5d7108(0x1f0)](_0x312314,_0x43fd1b),_0x5a86a7)),_0x5518c5='█'['repeat'](_0x4cf6eb)+'░'['repeat'](_0x4ce9fb[_0x5d7108(0x202)](_0x5a86a7,_0x4cf6eb)),_0x13dab5=[];if(_0x1613d8>0x0)_0x13dab5['push'](_0x1613d8+_0x5d7108(0x1d9));if(_0x2e891f>0x0)_0x13dab5[_0x5d7108(0x230)](_0x2e891f+_0x5d7108(0x18d));if(_0x4ce9fb[_0x5d7108(0x1b2)](_0x160e05,0x0))_0x13dab5[_0x5d7108(0x230)](_0x160e05+'\x20in\x20progress');const _0x4b63a7=_0x4ce9fb[_0x5d7108(0x1b2)](_0x13dab5['length'],0x0)?'\x20('+_0x13dab5['join'](',\x20')+')':'';return _0x5518c5+'\x20'+_0x312314+'/'+_0x43fd1b+_0x5d7108(0x1d4)+_0x4b63a7;}function getCurrentSessionItems(_0x47c1ef,_0xb7f237){const _0x24840f=_0x4ac12b;if(!_0x47c1ef['currentSessionId'])return _0xb7f237[_0x24840f(0x20d)](_0x20335b=>!_0x20335b[_0x24840f(0x237)]);return _0xb7f237['filter'](_0x55396e=>_0x55396e['sessionId']===_0x47c1ef['currentSessionId']||!_0x55396e['sessionId']);}function displayFeature(_0x173a98,_0x515ad7){const _0x4cc30e=_0x4ac12b,_0x4ee5b3={'TyMXX':function(_0x1f4687,_0x3a9f80){return _0x1f4687(_0x3a9f80);},'VpHAV':_0x4cc30e(0x199),'zeKba':function(_0x362fdd,_0x447571){return _0x362fdd===_0x447571;},'VUCfB':_0x4cc30e(0x171),'VURVl':_0x4cc30e(0x198),'ZVrdm':function(_0x4d7247,_0x1203ef){return _0x4d7247===_0x1203ef;},'TNeBK':function(_0x2387ea,_0x571c4b){return _0x2387ea!==_0x571c4b;},'WAshN':function(_0x5ad721,_0x211f78){return _0x5ad721+_0x211f78;},'fxSlr':'blocked','LJxop':'closed'};console['log']('\x0a'+_0x173a98[_0x4cc30e(0x205)]+'\x20('+_0x173a98['dashboardUrl']+')');_0x173a98['stats']&&console[_0x4cc30e(0x16f)]('\x20\x20\x20Progress:\x20'+_0x4ee5b3['TyMXX'](getProgressDisplay,_0x173a98['stats']));_0x173a98['description']&&console[_0x4cc30e(0x16f)]('\x20\x20\x20Description:\x20'+_0x173a98[_0x4cc30e(0x1a8)]);_0x173a98['gitRepoUrl']&&console['log'](_0x4cc30e(0x236)+_0x173a98['gitRepoUrl']);_0x173a98['gitBranch']&&console[_0x4cc30e(0x16f)](_0x4cc30e(0x213)+_0x173a98['gitBranch']);console['log'](_0x4cc30e(0x20c)+new Date(_0x173a98['createdAt'])['toLocaleString']());_0x173a98['completedAt']&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x173a98['completedAt'])[_0x4cc30e(0x1d6)]());if(_0x515ad7&&_0x515ad7[_0x4cc30e(0x195)]>0x0){console['log'](_0x4ee5b3['VpHAV']);for(let _0x5bc426=0x0;_0x5bc426<_0x515ad7[_0x4cc30e(0x195)];_0x5bc426++){const _0xf5660a=_0x515ad7[_0x5bc426];let _0x32a14d;if(_0xf5660a[_0x4cc30e(0x184)]===_0x4cc30e(0x1cd)&&_0xf5660a[_0x4cc30e(0x21c)]==='approved')_0x32a14d='✅';else{if(_0x4ee5b3[_0x4cc30e(0x1c9)](_0xf5660a[_0x4cc30e(0x184)],_0x4ee5b3[_0x4cc30e(0x22a)]))_0x32a14d='🟢';else{if(_0x4ee5b3['zeKba'](_0xf5660a['status'],_0x4ee5b3[_0x4cc30e(0x168)]))_0x32a14d='🟠';else{if(_0xf5660a['status']===_0x4cc30e(0x180))_0x32a14d='🛑';else{if(_0xf5660a[_0x4cc30e(0x184)]===_0x4cc30e(0x1cd))_0x32a14d='⛔';else _0x4ee5b3['ZVrdm'](_0xf5660a['status'],_0x4cc30e(0x1b8))?_0x32a14d='⏳':_0x32a14d='⬜';}}}}const _0x364b75=_0xf5660a['version']>0x1?'\x20(v'+_0xf5660a[_0x4cc30e(0x203)]+')':'',_0x142ecf=_0xf5660a[_0x4cc30e(0x203)]>0x1&&_0xf5660a[_0x4cc30e(0x1e4)]&&_0xf5660a[_0x4cc30e(0x184)]!==_0x4cc30e(0x1cd)&&_0x4ee5b3['TNeBK'](_0xf5660a[_0x4cc30e(0x184)],_0x4cc30e(0x171))?'\x20[has\x20reviewer\x20feedback]':'';console['log']('\x20\x20\x20'+_0x4ee5b3['WAshN'](_0x5bc426,0x1)+'.\x20'+_0x32a14d+'\x20'+_0xf5660a['description']+_0x364b75+_0x142ecf);_0xf5660a['status']===_0x4ee5b3[_0x4cc30e(0x218)]&&_0xf5660a[_0x4cc30e(0x24b)]&&console[_0x4cc30e(0x16f)]('\x20\x20\x20\x20\x20\x20Blocked:\x20'+_0xf5660a['blockedReason']);_0xf5660a[_0x4cc30e(0x184)]===_0x4ee5b3[_0x4cc30e(0x168)]&&_0xf5660a['incompleteReason']&&console[_0x4cc30e(0x16f)]('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0xf5660a['incompleteReason']);if(_0x4ee5b3[_0x4cc30e(0x1c9)](_0xf5660a['status'],'closed')&&_0xf5660a[_0x4cc30e(0x21c)]===_0x4cc30e(0x22b))console[_0x4cc30e(0x16f)](_0x4cc30e(0x1d2));else _0xf5660a['status']===_0x4ee5b3[_0x4cc30e(0x174)]&&_0xf5660a['canceledReason']&&console[_0x4cc30e(0x16f)]('\x20\x20\x20\x20\x20\x20Cancelled:\x20'+_0xf5660a['canceledReason']);}}}export async function featureCreate(_0x214f07,_0x266624){const _0x5f7b24=_0x4ac12b,_0x7e835d={'JEErj':function(_0x1764b8,_0xc2fd11){return _0x1764b8===_0xc2fd11;},'nyMrE':function(_0x38ec35){return _0x38ec35();},'IIZCU':function(_0x1177a0,_0x10a336){return _0x1177a0(_0x10a336);},'lwzWv':'\x0aCreating\x20feature\x20review...'},{envNames:_0x3cb7bf}=await getEnvNames();if(_0x7e835d['JEErj'](_0x3cb7bf['length'],0x0)&&!process['env'][_0x5f7b24(0x16c)]){let _0x2a4993=0x0;try{_0x2a4993=(await _0x7e835d['nyMrE'](listCloudProfiles))[_0x5f7b24(0x195)];}catch{_0x2a4993=0x1;}_0x7e835d[_0x5f7b24(0x1c4)](_0x2a4993,0x0)&&console[_0x5f7b24(0x217)]('\x0a'+_0x7e835d[_0x5f7b24(0x17f)](formatProfileRequiredMessage,_0x289974=>bold(_0x289974)));}const _0x5ba887=_0x266624['scenarios']?_0x266624[_0x5f7b24(0x1f9)]['map'](_0x43324f=>_0x43324f['trim']()):[],_0x4e5ad3=getGitRepoUrl(),_0x2c6a8a=_0x7e835d[_0x5f7b24(0x185)](getGitBranch);console['log'](_0x7e835d[_0x5f7b24(0x1e8)]);const _0x2e4c55=await createFeature({'name':_0x214f07,'description':_0x266624['description'],'checklist':_0x5ba887,'gitRepoUrl':_0x4e5ad3,'gitBranch':_0x2c6a8a});await setActiveFeatureId(_0x2e4c55['id']),await tryStartCurrentSession(_0x2e4c55['id']);const _0xb3e38f=process[_0x5f7b24(0x17b)][_0x5f7b24(0x1dc)];_0xb3e38f&&registerSession(_0xb3e38f,_0x2e4c55['id']),console[_0x5f7b24(0x16f)](_0x5f7b24(0x1b3)+_0x2e4c55['id']),displayFeature(_0x2e4c55,_0x2e4c55[_0x5f7b24(0x235)]),console[_0x5f7b24(0x16f)](_0x5f7b24(0x1a6));}export async function featureList(_0x1ab2dc){const _0x48f9aa=_0x4ac12b,_0x35420a={'StrXr':function(_0x52331f){return _0x52331f();},'ywDfo':function(_0x293f10){return _0x293f10();},'TkdJV':function(_0x426ed4,_0x537d6a){return _0x426ed4===_0x537d6a;},'eOYdj':'\x0aNo\x20feature\x20reviews\x20found.','DIeep':function(_0x44c5fc,_0x2a50f4){return _0x44c5fc>_0x2a50f4;},'YthXc':function(_0x15093b,_0x1c42c5){return _0x15093b(_0x1c42c5);},'iwiTp':'\x20--current-branch'},_0x256bfe={'limit':_0x1ab2dc['limit']??0xa,'offset':_0x1ab2dc['offset']??0x0,'includeDeleted':_0x1ab2dc[_0x48f9aa(0x173)]};_0x1ab2dc['currentBranch']&&(_0x256bfe['gitRepoUrl']=_0x35420a['StrXr'](getGitRepoUrl),_0x256bfe['gitBranch']=_0x35420a['ywDfo'](getGitBranch));const _0x3f2c91=await listFeatures(_0x256bfe);if(_0x35420a[_0x48f9aa(0x16b)](_0x3f2c91['items'][_0x48f9aa(0x195)],0x0)){console[_0x48f9aa(0x16f)](_0x35420a[_0x48f9aa(0x247)]);return;}const _0x50b318=_0x35420a['DIeep'](_0x3f2c91[_0x48f9aa(0x1a5)],_0x3f2c91['items']['length'])?_0x48f9aa(0x224)+_0x3f2c91['items'][_0x48f9aa(0x195)]+_0x48f9aa(0x172)+_0x3f2c91[_0x48f9aa(0x1a5)]:_0x3f2c91['totalCount']+'\x20feature\x20review(s)\x20found';console[_0x48f9aa(0x16f)]('\x0a'+_0x50b318+':\x0a');for(const _0x6c8cb of _0x3f2c91['items']){console[_0x48f9aa(0x16f)](''+_0x6c8cb[_0x48f9aa(0x205)]),console['log']('\x20\x20\x20ID:\x20'+_0x6c8cb['id']),_0x6c8cb[_0x48f9aa(0x1fd)]&&console['log'](_0x48f9aa(0x1eb)+_0x35420a[_0x48f9aa(0x1af)](getProgressDisplay,_0x6c8cb['stats'])),_0x6c8cb[_0x48f9aa(0x24e)]&&console[_0x48f9aa(0x16f)](_0x48f9aa(0x213)+_0x6c8cb[_0x48f9aa(0x24e)]),console[_0x48f9aa(0x16f)](_0x48f9aa(0x20c)+new Date(_0x6c8cb['createdAt'])[_0x48f9aa(0x23f)]()),console['log']('');}const _0x34439d=_0x256bfe[_0x48f9aa(0x1dd)]??0xa,_0x869c5e=(_0x256bfe[_0x48f9aa(0x188)]??0x0)+_0x3f2c91[_0x48f9aa(0x1cf)]['length'];if(_0x869c5e<_0x3f2c91['totalCount']){const _0x443372=_0x34439d!==0xa?_0x48f9aa(0x22c)+_0x34439d:'',_0x2b8897=_0x1ab2dc[_0x48f9aa(0x225)]?_0x35420a['iwiTp']:'',_0x4d7766=_0x1ab2dc['includeDeleted']?'\x20--include-deleted':'';console[_0x48f9aa(0x16f)](_0x48f9aa(0x232)+_0x869c5e+_0x443372+_0x2b8897+_0x4d7766);}}export async function featureShow(_0x255d48){const _0x3800c2=_0x4ac12b,_0x29194e={'ATbeB':function(_0x4b55a9){return _0x4b55a9();},'IeOSu':function(_0x56bf45,_0x5adc16){return _0x56bf45(_0x5adc16);}},_0x29437d=_0x255d48||await _0x29194e[_0x3800c2(0x1d7)](getActiveFeatureId);if(!_0x29437d)throw new Error(_0x3800c2(0x193));const _0x391c5c=await _0x29194e[_0x3800c2(0x211)](getFeature,_0x29437d);displayFeature(_0x391c5c,_0x391c5c['checklistItems']);}export async function featureResume(_0xc3cb90){const _0x4c69c4=_0x4ac12b,_0x2b8975={'PkWVB':function(_0x3a961e){return _0x3a961e();},'gCytn':function(_0x4915cb,_0x4803a6){return _0x4915cb!==_0x4803a6;},'HlYzS':function(_0x319e15,_0x3af4d1,_0x30aa18){return _0x319e15(_0x3af4d1,_0x30aa18);},'XIadm':function(_0x3e2ef9,_0x193873){return _0x3e2ef9(_0x193873);},'kyWPj':function(_0x1d608d){return _0x1d608d();},'RGKrF':function(_0x5144b8,_0x2c5069){return _0x5144b8&&_0x2c5069;},'emXqY':'Not\x20in\x20a\x20git\x20repository.','Eqjxk':function(_0x297c54,_0x598c1f){return _0x297c54||_0x598c1f;},'mDQMi':function(_0x5ee44f,_0x64641c){return _0x5ee44f===_0x64641c;},'KccQU':'Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','fTgqo':function(_0x526896,_0x15af48){return _0x526896===_0x15af48;},'TLpuc':function(_0x1d37b6,_0x8a6b01){return _0x1d37b6(_0x8a6b01);},'QnCAA':function(_0x243003,_0x3dd691){return _0x243003(_0x3dd691);},'VDlsz':function(_0x455843,_0x632f3f,_0xf5acc4){return _0x455843(_0x632f3f,_0xf5acc4);}};if(_0xc3cb90){const _0x239146=await getFeature(_0xc3cb90);await setActiveFeatureId(_0x239146['id']);const _0x42fd67=_0x2b8975['PkWVB'](getGitBranch);_0x42fd67&&_0x2b8975[_0x4c69c4(0x24f)](_0x42fd67,_0x239146[_0x4c69c4(0x24e)])&&(await _0x2b8975['HlYzS'](updateFeature,_0x239146['id'],{'gitBranch':_0x42fd67}),console[_0x4c69c4(0x16f)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x42fd67));console[_0x4c69c4(0x16f)](_0x4c69c4(0x1be)+_0x239146['name']+'\x20('+_0x239146['id']+')'),await _0x2b8975[_0x4c69c4(0x1d5)](tryStartCurrentSession,_0x239146['id']);const _0x3055e0=process[_0x4c69c4(0x17b)]['CLAUDE_SESSION_ID'];_0x3055e0&&_0x2b8975[_0x4c69c4(0x1df)](registerSession,_0x3055e0,_0x239146['id']);_0x2b8975[_0x4c69c4(0x1df)](displayFeature,_0x239146,_0x239146['checklistItems']),await _0x2b8975[_0x4c69c4(0x1d5)](printFeedbackNudge,_0x239146['id']);return;}const _0x24ebb7=_0x2b8975['kyWPj'](getGitRepoUrl),_0xb1ee48=getGitBranch();if(_0x2b8975['RGKrF'](!_0x24ebb7,!_0xb1ee48))throw new Error(_0x2b8975[_0x4c69c4(0x1f2)]);console[_0x4c69c4(0x16f)](_0x4c69c4(0x239)+(_0x24ebb7||'any')+_0x4c69c4(0x241)+_0x2b8975['Eqjxk'](_0xb1ee48,_0x4c69c4(0x231))+_0x4c69c4(0x1fb));const _0x43d14f=await _0x2b8975['XIadm'](listFeatures,{'gitRepoUrl':_0x24ebb7,'gitBranch':_0xb1ee48}),_0x3a5aff=_0x43d14f['items'][_0x4c69c4(0x20d)](_0x432fc0=>_0x432fc0['status']?_0x432fc0[_0x4c69c4(0x184)]!=='verified':!_0x432fc0[_0x4c69c4(0x215)]);if(_0x2b8975[_0x4c69c4(0x1e3)](_0x3a5aff['length'],0x0)){console[_0x4c69c4(0x16f)]('\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.'),console['log'](_0x2b8975[_0x4c69c4(0x1a0)]);return;}let _0x205f8d;if(_0x2b8975[_0x4c69c4(0x1b4)](_0x3a5aff['length'],0x1))_0x205f8d=_0x3a5aff[0x0];else{const _0x47c13c=process[_0x4c69c4(0x1c1)]['isTTY']&&process[_0x4c69c4(0x1aa)][_0x4c69c4(0x227)];if(!_0x47c13c){console['log']('\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:');for(const _0x182fe5 of _0x3a5aff){console[_0x4c69c4(0x16f)]('\x20\x20'+_0x182fe5['name']),console['log']('\x20\x20\x20\x20\x20ID:\x20'+_0x182fe5['id']),_0x182fe5['stats']&&console['log'](_0x4c69c4(0x1cc)+_0x2b8975['XIadm'](getProgressDisplay,_0x182fe5['stats'])),_0x182fe5[_0x4c69c4(0x24e)]&&console[_0x4c69c4(0x16f)]('\x20\x20\x20\x20\x20Branch:\x20'+_0x182fe5['gitBranch']);}throw new Error(_0x4c69c4(0x1bc));}const {selected:_0x378477}=await _0xd0c003['prompt']([{'type':_0x4c69c4(0x1c6),'name':'selected','message':'Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','choices':_0x3a5aff[_0x4c69c4(0x192)](_0x10a3fc=>({'name':_0x10a3fc[_0x4c69c4(0x205)]+'\x20('+_0x10a3fc['id']+')','value':_0x10a3fc['id']}))}]);_0x205f8d=_0x3a5aff[_0x4c69c4(0x1b6)](_0x558ec4=>_0x558ec4['id']===_0x378477);}await _0x2b8975[_0x4c69c4(0x17a)](setActiveFeatureId,_0x205f8d['id']);_0xb1ee48&&_0xb1ee48!==_0x205f8d['gitBranch']&&(await updateFeature(_0x205f8d['id'],{'gitBranch':_0xb1ee48}),console[_0x4c69c4(0x16f)](_0x4c69c4(0x1c5)+_0xb1ee48));console[_0x4c69c4(0x16f)]('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x205f8d['name']+'\x20('+_0x205f8d['id']+')'),await _0x2b8975['TLpuc'](tryStartCurrentSession,_0x205f8d['id']);const _0x5a3eb0=await _0x2b8975['QnCAA'](getFeature,_0x205f8d['id']),_0x244d93=process[_0x4c69c4(0x17b)]['CLAUDE_SESSION_ID'];_0x244d93&&registerSession(_0x244d93,_0x5a3eb0['id']),_0x2b8975[_0x4c69c4(0x244)](displayFeature,_0x5a3eb0,_0x5a3eb0['checklistItems']),await printFeedbackNudge(_0x5a3eb0['id']);}async function printFeedbackNudge(_0x4bf9cd){const _0x239fe0=_0x4ac12b,_0x29c6a8={'IfsUv':function(_0x220bf9,_0x4e76db){return _0x220bf9(_0x4e76db);}};try{const {items:_0x4be9f1}=await _0x29c6a8[_0x239fe0(0x1b9)](getActionItems,_0x4bf9cd);let _0x2cad49=0x0,_0x918c70=0x0;for(const _0x468556 of _0x4be9f1){const _0x4c06ee=await getItemFeedback(_0x4bf9cd,_0x468556['id']);_0x4c06ee[_0x239fe0(0x1c2)][_0x239fe0(0x195)]>0x0&&(_0x2cad49+=_0x4c06ee[_0x239fe0(0x1c2)]['length'],_0x918c70++);}_0x2cad49>0x0&&(console[_0x239fe0(0x16f)](_0x239fe0(0x1f5)+_0x2cad49+_0x239fe0(0x20e)+_0x918c70+_0x239fe0(0x233)),console[_0x239fe0(0x16f)]('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}function _0x5de5(_0x17fa29,_0x325062){_0x17fa29=_0x17fa29-0x168;const _0x4276c2=_0x4276();let _0x5de598=_0x4276c2[_0x17fa29];return _0x5de598;}async function tryStartCurrentSession(_0x3f1c06){const _0x31be6f=_0x4ac12b;try{const {sessions:_0x41d805}=await listFeatureSessions(_0x3f1c06),_0x43cffb=_0x41d805['find'](_0x222ff5=>_0x222ff5[_0x31be6f(0x184)]===_0x31be6f(0x1e2));_0x43cffb&&(await startSession(_0x3f1c06,_0x43cffb['id']),console[_0x31be6f(0x16f)](_0x31be6f(0x1d0)+_0x43cffb[_0x31be6f(0x24d)]));}catch{}}export async function featureReport(_0x4f05cc,_0x118c09){const _0x5c0ded=_0x4ac12b,_0x2f2a4b={'ANEOV':function(_0x2c437c){return _0x2c437c();},'YfmCb':_0x5c0ded(0x18f),'dqICE':function(_0x356307,_0x44d281,_0x454e1a){return _0x356307(_0x44d281,_0x454e1a);},'GoIVc':function(_0x4961b1,_0x3eea1d,_0x43a8f5,_0x5ce62e){return _0x4961b1(_0x3eea1d,_0x43a8f5,_0x5ce62e);},'mXmMG':_0x5c0ded(0x191)},_0x4b5927=_0x4f05cc||await _0x2f2a4b[_0x5c0ded(0x19a)](getActiveFeatureId);if(!_0x4b5927)throw new Error(_0x5c0ded(0x23a));console[_0x5c0ded(0x16f)]('\x0aGenerating\x20report...');const _0x408198=await getFeatureReportMarkdown(_0x4b5927,{'style':_0x118c09[_0x5c0ded(0x17e)]}),_0x5aae00=_0x118c09[_0x5c0ded(0x1ec)]||join(getRangerDir(),_0x2f2a4b[_0x5c0ded(0x175)],_0x4b5927+_0x5c0ded(0x24a)),_0x4e658e=_0x2f2a4b[_0x5c0ded(0x243)](join,_0x5aae00,'..');!existsSync(_0x4e658e)&&await mkdir(_0x4e658e,{'recursive':!![]}),await _0x2f2a4b['GoIVc'](writeFile,_0x5aae00,_0x408198,_0x2f2a4b[_0x5c0ded(0x1cb)]),console['log']('\x0a✅\x20Report\x20generated:\x20'+_0x5aae00);}function getScenarioResult(_0x301fa4){const _0x362ab6=_0x4ac12b,_0x15ae2a={'JZhQa':_0x362ab6(0x1b8)};if(_0x301fa4['status']===_0x362ab6(0x1cd))return _0x301fa4[_0x362ab6(0x21c)]??_0x362ab6(0x1cd);if(_0x301fa4[_0x362ab6(0x184)]===_0x15ae2a['JZhQa'])return _0x362ab6(0x1c8);return _0x301fa4[_0x362ab6(0x184)];}function getScenarioRationale(_0x21055a,_0x315ba9){const _0x3f1f59=_0x4ac12b,_0x35c0d4=_0x3f1f59(0x238)[_0x3f1f59(0x229)]('|');let _0x27a7ec=0x0;while(!![]){switch(_0x35c0d4[_0x27a7ec++]){case'0':if(_0x21055a[_0x3f1f59(0x1ac)])return _0x21055a[_0x3f1f59(0x1ac)];continue;case'1':if(_0x21055a['incompleteReason'])return _0x21055a[_0x3f1f59(0x1f7)];continue;case'2':if(_0x21055a['notes'])return _0x21055a['notes'];continue;case'3':if(_0x21055a[_0x3f1f59(0x24b)])return _0x21055a[_0x3f1f59(0x24b)];continue;case'4':if(_0x315ba9)return _0x315ba9;continue;case'5':return null;}break;}}export async function featureReportPrDescription(_0x58ccf9,_0x1c3dba){const _0x1d5a46=_0x4ac12b,_0x29c782={'qBEbZ':function(_0x343e72,_0x2a5dd2){return _0x343e72===_0x2a5dd2;},'FmbNP':_0x1d5a46(0x189),'Olqgx':'\x0aAvailable\x20scenarios:','yRfTW':function(_0x1f87dd,_0x8e741c,_0x2ed43b,_0x487750){return _0x1f87dd(_0x8e741c,_0x2ed43b,_0x487750);}},_0x5d4853=_0x58ccf9||await getActiveFeatureId();if(!_0x5d4853)throw new Error(_0x1d5a46(0x23a));const _0x50cdca=await getFeature(_0x5d4853),_0x45d9ab=_0x50cdca[_0x1d5a46(0x235)]||[],_0x433e6d=getCurrentSessionItems(_0x50cdca,_0x45d9ab);_0x29c782[_0x1d5a46(0x20f)](_0x433e6d[_0x1d5a46(0x195)],0x0)&&(console['error'](_0x29c782[_0x1d5a46(0x179)]),process['exit'](0x1));const _0x467917=_0x1c3dba['excludeScenarios']??[],_0x423f51=_0x467917['filter'](_0x37ab8b=>!Number['isInteger'](_0x37ab8b)||_0x37ab8b<0x1||_0x37ab8b>_0x433e6d[_0x1d5a46(0x195)]);if(_0x423f51['length']>0x0){console['error'](_0x1d5a46(0x1fa)+_0x423f51['join'](',\x20')),console['log'](_0x29c782[_0x1d5a46(0x196)]);for(let _0xc3cee5=0x0;_0xc3cee5<_0x433e6d[_0x1d5a46(0x195)];_0xc3cee5++){console['log']('\x20\x20'+(_0xc3cee5+0x1)+'.\x20'+_0x433e6d[_0xc3cee5]['description']);}process['exit'](0x1);}const _0x4f0763=new Set(_0x467917[_0x1d5a46(0x192)](_0x5deaea=>_0x5deaea-0x1)),_0x30cd26=_0x433e6d['filter']((_0x8d6953,_0x4443dc)=>!_0x4f0763['has'](_0x4443dc));_0x29c782[_0x1d5a46(0x20f)](_0x30cd26['length'],0x0)&&(console['error']('\x0a❌\x20All\x20scenarios\x20were\x20excluded.'),process[_0x1d5a46(0x1a4)](0x1));if(_0x1c3dba[_0x1d5a46(0x201)])await _0x29c782[_0x1d5a46(0x1e0)](outputJsonReport,_0x5d4853,_0x50cdca,_0x30cd26);else{const _0x5bb4d6=await getFeatureReportMarkdown(_0x5d4853,{'itemIds':_0x30cd26[_0x1d5a46(0x192)](_0x55fd0f=>_0x55fd0f['id'])});process['stdout'][_0x1d5a46(0x18e)](_0x5bb4d6[_0x1d5a46(0x219)]()+'\x0a');}}async function outputJsonReport(_0x18512c,_0x1ebf24,_0x6f061f){const _0x26ab54=_0x4ac12b,_0x287144={'AKHJI':function(_0x2ebe38,_0x6b5cd5){return _0x2ebe38>_0x6b5cd5;},'wUJst':function(_0x1460da,_0xe73b80){return _0x1460da===_0xe73b80;},'iJiBA':function(_0x50c9e9,_0x5c2508){return _0x50c9e9(_0x5c2508);},'JDNaa':function(_0x6b508f,_0x847a1f,_0x1d294b){return _0x6b508f(_0x847a1f,_0x1d294b);},'dzdzS':function(_0x540d1c,_0x154fb2){return _0x540d1c(_0x154fb2);}},_0x19ce8b=getApiBaseUrl(),_0x5afa3c=await _0x287144['dzdzS'](getFeatureReport,_0x18512c),_0x41fea2=new Map(_0x5afa3c[_0x26ab54(0x235)]['map'](_0x14032b=>[_0x14032b['id'],_0x14032b])),_0x2f83fa=await Promise['all'](_0x6f061f['map'](async _0x2b52f1=>{const _0x4ab014=_0x26ab54,_0x497048=_0x41fea2['get'](_0x2b52f1['id']),_0x123e84=_0x497048?.['linkedSession']??null;let _0x188762=[];if(_0x2b52f1[_0x4ab014(0x1e9)])try{const {steps:_0x305aee}=await getBrowserSessionSteps(_0x2b52f1[_0x4ab014(0x1e9)]);_0x287144['AKHJI'](_0x305aee[_0x4ab014(0x195)],0x0)&&(_0x188762=_0x305aee[_0x4ab014(0x192)](_0x9539be=>{const _0xf4f425=_0x4ab014,_0x33c150=_0x9539be[_0xf4f425(0x1a1)]['find'](_0x2b585d=>_0x2b585d['assetType']===_0xf4f425(0x16e)&&_0x2b585d['timing']==='after')??_0x9539be['assets']['find'](_0x192b94=>_0x192b94['assetType']===_0xf4f425(0x16e));let _0x4dd142=null,_0x11b09c=null;if(_0x33c150){const _0x3172b1=_0x33c150['storage'][_0xf4f425(0x1b5)][_0xf4f425(0x229)]('/')['pop']();_0x4dd142=_0x19ce8b+_0xf4f425(0x176)+_0x2b52f1['browserSessionId']+_0xf4f425(0x1ad)+_0x3172b1,_0x3172b1&&(_0x11b09c=_0x3172b1[_0xf4f425(0x1bf)](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0xf4f425(0x1bf)](/[-_]/g,'\x20'));}return{'description':_0x11b09c||_0x9539be[_0xf4f425(0x1a8)]||_0x9539be['stepName']||'Step\x20'+_0x9539be[_0xf4f425(0x21f)],'screenshot':_0x4dd142,'is_key_step':_0x9539be[_0xf4f425(0x23d)]};}));}catch{}return _0x287144[_0x4ab014(0x1a2)](_0x188762['length'],0x0)&&_0x123e84?.['screenshotUrls']&&(_0x188762=_0x123e84['screenshotUrls']['map']((_0x2488a3,_0x219db3)=>({'description':'Screenshot\x20'+(_0x219db3+0x1),'screenshot':_0x2488a3,'is_key_step':![]}))),{'description':_0x2b52f1['description'],'result':_0x287144['iJiBA'](getScenarioResult,_0x2b52f1),'rationale':_0x287144['JDNaa'](getScenarioRationale,_0x2b52f1,_0x123e84?.['agentResponse']),'steps':_0x188762};})),_0x2e98ed={'url':_0x1ebf24['dashboardUrl'],'scenarios':_0x2f83fa};process[_0x26ab54(0x1aa)][_0x26ab54(0x18e)](JSON[_0x26ab54(0x1e1)](_0x2e98ed,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x450fcb){const _0x2b3571=_0x4ac12b,_0x1c2a05={'ZBhso':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','PdlKO':_0x2b3571(0x21b),'okKmb':function(_0x3dbba2,_0x6087c0){return _0x3dbba2!==_0x6087c0;}},_0x5d92a5=_0x450fcb||await getActiveFeatureId();if(!_0x5d92a5)throw new Error(_0x1c2a05['ZBhso']);const _0xe38709=await getFeature(_0x5d92a5);if(!_0xe38709['currentSessionId'])throw new Error(_0x2b3571(0x1e7));const {sessions:_0x5e701b}=await listFeatureSessions(_0x5d92a5),_0x4c010b=_0x5e701b['find'](_0x35c3d6=>_0x35c3d6['id']===_0xe38709['currentSessionId']);if(!_0x4c010b)throw new Error('Current\x20session\x20not\x20found.');if(_0x4c010b['status']===_0x2b3571(0x252)){console[_0x2b3571(0x16f)](_0x1c2a05[_0x2b3571(0x246)]);return;}if(_0x1c2a05[_0x2b3571(0x19b)](_0x4c010b['status'],'in_progress'))throw new Error('Cannot\x20conclude\x20session\x20with\x20status:\x20'+_0x4c010b['status']);console['log']('\x0aConcluding\x20session...'),await concludeSession(_0x5d92a5,_0xe38709[_0x2b3571(0x250)]),console['log']('\x0a✅\x20Session\x20'+_0x4c010b['iteration']+_0x2b3571(0x19e)),console[_0x2b3571(0x16f)](_0x2b3571(0x251));}export async function featureSessions(_0x58660f){const _0x3a14c1=_0x4ac12b,_0x3c1401={'TryRo':function(_0x3f1410){return _0x3f1410();},'JEHXM':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','gSDTA':function(_0x2f8438,_0x4f8a09){return _0x2f8438(_0x4f8a09);},'rzulx':function(_0x4142c3,_0x559ffa){return _0x4142c3===_0x559ffa;},'OBlXm':'No\x20sessions\x20found.','pKSvy':function(_0x499b85,_0x168a31){return _0x499b85===_0x168a31;},'lyjvR':_0x3a14c1(0x252)},_0xe083a7=_0x58660f||await _0x3c1401[_0x3a14c1(0x209)](getActiveFeatureId);if(!_0xe083a7)throw new Error(_0x3c1401[_0x3a14c1(0x20b)]);const _0x1413b9=await _0x3c1401['gSDTA'](getFeature,_0xe083a7);console[_0x3a14c1(0x16f)]('\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20'+_0x1413b9['name']+'\x0a');const {sessions:_0x10aebc}=await listFeatureSessions(_0xe083a7);if(_0x3c1401['rzulx'](_0x10aebc['length'],0x0)){console[_0x3a14c1(0x16f)](_0x3c1401['OBlXm']);return;}for(const _0xb34066 of _0x10aebc){const _0x41ef6a=_0x3c1401[_0x3a14c1(0x20a)](_0xb34066[_0x3a14c1(0x184)],_0x3c1401['lyjvR'])?'✅':_0xb34066['status']===_0x3a14c1(0x1c8)?'🔄':'▶️';console[_0x3a14c1(0x16f)](_0x41ef6a+_0x3a14c1(0x220)+_0xb34066['iteration']+'\x20('+_0xb34066['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0xb34066['status']),console[_0x3a14c1(0x16f)](_0x3a14c1(0x20c)+new Date(_0xb34066[_0x3a14c1(0x1a9)])['toLocaleString']()),_0xb34066[_0x3a14c1(0x215)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0xb34066['completedAt'])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0x2c95ec,_0x4d3fe5){const _0x21b03a=_0x4ac12b,_0x3132cb=_0x4d3fe5||await getActiveFeatureId();if(!_0x3132cb)throw new Error(_0x21b03a(0x193));const _0x533573=await getFeature(_0x3132cb);if(_0x533573['latestReview']&&!_0x533573['latestReview']['submittedAt'])throw new Error(_0x21b03a(0x1b1)+_0x533573[_0x21b03a(0x1fe)]);await createChecklistItem(_0x3132cb,_0x2c95ec);const _0x4ba252=await getFeature(_0x3132cb);console[_0x21b03a(0x16f)](_0x21b03a(0x1c7)),displayFeature(_0x4ba252,_0x4ba252['checklistItems']);}export async function featureEditScenario(_0x2ee9bc,_0x1d17c5){const _0x5c56b3=_0x4ac12b,_0x45d897={'afknK':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','yyHCE':'Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','KFvlh':_0x5c56b3(0x1ba),'PQruf':'\x0aAvailable\x20scenarios:','wCQij':function(_0xbb28d9,_0x3885c9){return _0xbb28d9+_0x3885c9;},'GiGqN':function(_0x98356e,_0x238f5b){return _0x98356e<_0x238f5b;},'tBGUy':function(_0x14269d,_0x3a0b39){return _0x14269d>=_0x3a0b39;},'yXYyt':function(_0x4b2d45,_0x21676f){return _0x4b2d45+_0x21676f;},'OiGrk':function(_0x198a9f,_0x235f51){return _0x198a9f(_0x235f51);},'xWskA':function(_0xb1a484,_0x37d881,_0x471c63){return _0xb1a484(_0x37d881,_0x471c63);}},_0x3d57ba=_0x1d17c5['id']||await getActiveFeatureId();!_0x3d57ba&&(console['error'](_0x45d897['afknK']),console[_0x5c56b3(0x21a)](_0x45d897[_0x5c56b3(0x18a)]),process[_0x5c56b3(0x1a4)](0x1));const _0x58c772=await getFeature(_0x3d57ba);_0x58c772[_0x5c56b3(0x1e5)]&&!_0x58c772['latestReview'][_0x5c56b3(0x170)]&&(console[_0x5c56b3(0x21a)](_0x5c56b3(0x18c)),console['error'](_0x45d897[_0x5c56b3(0x212)]),console['error']('\x20\x20'+_0x58c772['dashboardUrl']),process[_0x5c56b3(0x1a4)](0x1));const _0x1259eb=_0x58c772['checklistItems']||[];_0x1259eb['length']===0x0&&(console[_0x5c56b3(0x21a)]('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process['exit'](0x1));if(_0x1d17c5['scenario']===undefined){console[_0x5c56b3(0x21a)]('\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.'),console['log'](_0x45d897['PQruf']);for(let _0x6bbc4d=0x0;_0x6bbc4d<_0x1259eb[_0x5c56b3(0x195)];_0x6bbc4d++){console[_0x5c56b3(0x16f)]('\x20\x20'+_0x45d897[_0x5c56b3(0x1da)](_0x6bbc4d,0x1)+'.\x20'+_0x1259eb[_0x6bbc4d][_0x5c56b3(0x1a8)]);}process['exit'](0x1);}const _0x22ff73=_0x1d17c5['scenario']-0x1;if(_0x45d897['GiGqN'](_0x22ff73,0x0)||_0x45d897[_0x5c56b3(0x1bd)](_0x22ff73,_0x1259eb['length'])){console['error'](_0x5c56b3(0x206)+_0x1d17c5['scenario']+'.\x20Feature\x20review\x20has\x20'+_0x1259eb[_0x5c56b3(0x195)]+'\x20scenarios.'),console[_0x5c56b3(0x16f)](_0x45d897['PQruf']);for(let _0x3b0881=0x0;_0x3b0881<_0x1259eb[_0x5c56b3(0x195)];_0x3b0881++){console[_0x5c56b3(0x16f)]('\x20\x20'+_0x45d897[_0x5c56b3(0x16a)](_0x3b0881,0x1)+'.\x20'+_0x1259eb[_0x3b0881]['description']);}process['exit'](0x1);}const _0x3b8fbe=_0x1259eb[_0x22ff73];await updateChecklistItem(_0x3d57ba,_0x3b8fbe['id'],{'description':_0x2ee9bc});const _0x4c7d58=await _0x45d897[_0x5c56b3(0x1ee)](getFeature,_0x3d57ba);console['log'](_0x5c56b3(0x21d)),_0x45d897['xWskA'](displayFeature,_0x4c7d58,_0x4c7d58['checklistItems']);}async function downloadFeedbackImage(_0x39edee,_0x34a0f3){const _0x585d97=_0x4ac12b,_0x190c52={'QstQK':function(_0x3dc84c,_0x54c5c4,_0x30942f){return _0x3dc84c(_0x54c5c4,_0x30942f);},'oMzjB':function(_0x27847a,_0x1736d2,_0x12b2dd){return _0x27847a(_0x1736d2,_0x12b2dd);}};try{const _0x149fdb=_0x190c52[_0x585d97(0x1bb)](join,getRangerDir(),'feedback-images');await _0x190c52[_0x585d97(0x17d)](mkdir,_0x149fdb,{'recursive':!![]});const _0x2c31be=join(_0x149fdb,_0x585d97(0x22d)+_0x34a0f3+_0x585d97(0x23e)),_0xdf96f5=await fetch(_0x39edee);if(!_0xdf96f5['ok'])return null;const _0x58831c=Buffer[_0x585d97(0x1a3)](await _0xdf96f5['arrayBuffer']());return await writeFile(_0x2c31be,_0x58831c),_0x2c31be;}catch{return null;}}export async function featureGetReview(_0x105822){const _0x2b300f=_0x4ac12b,_0xbe66f9={'PFAvS':function(_0x4a9894){return _0x4a9894();},'TVztY':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','TVJao':function(_0xd06d11,_0x5f41b6){return _0xd06d11(_0x5f41b6);},'rpPyd':function(_0x5f54d9,_0x65e8d4){return _0x5f54d9>_0x65e8d4;},'jVnAT':_0x2b300f(0x186),'aPdnN':function(_0x1d1b2a,_0x5e3662,_0x1ccab2){return _0x1d1b2a(_0x5e3662,_0x1ccab2);},'XxRQm':_0x2b300f(0x22e),'djvTu':_0x2b300f(0x210),'fOWSG':function(_0x41c1c3,_0x422ca3){return _0x41c1c3>=_0x422ca3;},'Jfrow':function(_0x1f1433,_0x40d65e){return _0x1f1433+_0x40d65e;}},_0x54de27=_0x105822||await _0xbe66f9[_0x2b300f(0x1e6)](getActiveFeatureId);if(!_0x54de27)throw new Error(_0xbe66f9[_0x2b300f(0x177)]);const _0xbc1428=await getFeature(_0x54de27),{items:_0x4e60f5}=await _0xbe66f9['TVJao'](getActionItems,_0x54de27);console[_0x2b300f(0x16f)](_0x2b300f(0x245)+_0xbc1428['name']+'\x20('+_0xbc1428['id']+')\x0a');if(_0x4e60f5[_0x2b300f(0x195)]===0x0){console[_0x2b300f(0x16f)](_0x2b300f(0x18b));return;}for(let _0x2efa9f=0x0;_0x2efa9f<_0x4e60f5[_0x2b300f(0x195)];_0x2efa9f++){const _0xbfbde3=_0x4e60f5[_0x2efa9f],_0x3534ce=_0xbfbde3[_0x2b300f(0x203)]>0x1?_0x2b300f(0x216)+_0xbfbde3[_0x2b300f(0x203)]+')':'',_0x11cbd3=await getItemFeedback(_0x54de27,_0xbfbde3['id']);if(_0xbe66f9['rpPyd'](_0x11cbd3[_0x2b300f(0x1c2)][_0x2b300f(0x195)],0x0)){console['log']('Scenario\x20'+(_0x2efa9f+0x1)+_0x2b300f(0x1f4)+_0xbfbde3['description']+'\x22'+_0x3534ce+'\x20—\x20'+_0x11cbd3['unaddressedComments']['length']+'\x20unaddressed\x20comment(s)');for(const _0x52a0a5 of _0x11cbd3['unaddressedComments']){const _0x40c02c=new Date(_0x52a0a5[_0x2b300f(0x1a9)])['toLocaleDateString'](_0xbe66f9['jVnAT'],{'month':_0x2b300f(0x19c),'day':'numeric'}),_0x1411f0=_0x52a0a5['authorName']||_0x52a0a5['authorEmail']||_0x2b300f(0x1d3);console['log']('\x20\x20💬\x20'+_0x1411f0+'\x20('+_0x40c02c+'):\x20\x22'+_0x52a0a5['content']+'\x22');if(_0x52a0a5['assetUrl']){const _0x26d702=await _0xbe66f9[_0x2b300f(0x1ef)](downloadFeedbackImage,_0x52a0a5[_0x2b300f(0x222)],_0x52a0a5['id']);_0x26d702&&console[_0x2b300f(0x16f)](_0x2b300f(0x240)+_0x26d702);}if(_0x52a0a5['domRef']){const _0x1f1f91=_0x52a0a5['domRef'][_0x2b300f(0x1d1)][_0x2b300f(0x229)](_0xbe66f9[_0x2b300f(0x223)])[_0x2b300f(0x1f8)]()?.['split'](':')[0x0]||_0xbe66f9['djvTu'],_0x415059=_0x52a0a5[_0x2b300f(0x1b0)][_0x2b300f(0x208)]?'\x20\x22'+_0x52a0a5['domRef']['textContent'][_0x2b300f(0x204)](0x0,0x3c)+'\x22':'';console['log'](_0x2b300f(0x1ae)+_0x1f1f91+'>'+_0x415059),console[_0x2b300f(0x16f)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x52a0a5[_0x2b300f(0x1b0)][_0x2b300f(0x1d1)]);}else{if(_0x52a0a5[_0x2b300f(0x1ff)]){const _0x3b8a1f=_0x52a0a5['spatial'][_0x2b300f(0x1db)];_0x52a0a5[_0x2b300f(0x1ff)]['type']===_0x2b300f(0x1b7)&&_0xbe66f9[_0x2b300f(0x1ea)](_0x3b8a1f[_0x2b300f(0x195)],0x2)?console['log']('\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20('+_0x3b8a1f[0x0]['toFixed'](0x2)+',\x20'+_0x3b8a1f[0x1][_0x2b300f(0x1fc)](0x2)+')'):console[_0x2b300f(0x16f)]('\x20\x20\x20\x20\x20📍\x20Annotation:\x20'+_0x52a0a5[_0x2b300f(0x1ff)][_0x2b300f(0x23c)]+'\x20at\x20['+_0x3b8a1f[_0x2b300f(0x192)](_0x333a59=>_0x333a59[_0x2b300f(0x1fc)](0x2))[_0x2b300f(0x1ce)](',\x20')+']');}}}if(_0x11cbd3[_0x2b300f(0x242)]){console['log'](_0x2b300f(0x234));for(const _0x437207 of _0x11cbd3[_0x2b300f(0x242)][_0x2b300f(0x229)]('\x0a')){console[_0x2b300f(0x16f)](_0x2b300f(0x194)+_0x437207);}}}else console[_0x2b300f(0x16f)](_0x2b300f(0x22f)+_0xbe66f9['Jfrow'](_0x2efa9f,0x1)+_0x2b300f(0x1f4)+_0xbfbde3[_0x2b300f(0x1a8)]+'\x22'+_0x3534ce+'\x20—\x20no\x20comments'),console['log']('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0x2b300f(0x16f)]('');}}export async function featureDelete(_0x4da950){const _0x59b07a=_0x4ac12b,_0x4ab3e0={'nOVxq':function(_0x386bc4){return _0x386bc4();},'IjSKs':function(_0x1f4a8d,_0x5a2308){return _0x1f4a8d(_0x5a2308);},'oILIP':_0x59b07a(0x24c)},_0x380dd2=_0x4da950||await _0x4ab3e0[_0x59b07a(0x187)](getActiveFeatureId);if(!_0x380dd2)throw new Error(_0x59b07a(0x193));const _0x2ad4b8=await getFeature(_0x380dd2);await _0x4ab3e0[_0x59b07a(0x23b)](softDeleteFeature,_0x380dd2),console['log']('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0x2ad4b8[_0x59b07a(0x205)]+'\x20('+_0x380dd2+')'),console[_0x59b07a(0x16f)](_0x4ab3e0[_0x59b07a(0x181)]+_0x380dd2);}export async function featureRestore(_0x35ed22){const _0x4c58e8=_0x4ac12b,_0x8ac80a={'GBkAl':function(_0x19062e,_0x10b0db){return _0x19062e(_0x10b0db);},'iTSRJ':function(_0x40bd96,_0x56ebec,_0xcd03bf){return _0x40bd96(_0x56ebec,_0xcd03bf);}};await _0x8ac80a[_0x4c58e8(0x228)](restoreFeature,_0x35ed22);const _0x4a5fa7=await getFeature(_0x35ed22);console['log'](_0x4c58e8(0x19f)+_0x4a5fa7[_0x4c58e8(0x205)]+'\x20('+_0x35ed22+')'),_0x8ac80a['iTSRJ'](displayFeature,_0x4a5fa7,_0x4a5fa7['checklistItems']);}
@@ -1 +1 @@
1
- function _0x1825(){const _0x4414a1=['762220KelfMR','21233528iCfflL','SIGINT','5286138kshgwM','keys','once','join','lSRJe','828568hgqqIa','8442679wWlLMm','13227GrFhJL','SIGTERM','158wuqYEB','SIGHUP','2760425VMEpPL','error','exit','Valid\x20hooks:\x20'];_0x1825=function(){return _0x4414a1;};return _0x1825();}(function(_0x3b4bcd,_0x1fd003){const _0x24c3c8=_0x1881,_0x20e7b7=_0x3b4bcd();while(!![]){try{const _0x3bd821=parseInt(_0x24c3c8(0xeb))/0x1+parseInt(_0x24c3c8(0xf7))/0x2*(-parseInt(_0x24c3c8(0xf5))/0x3)+parseInt(_0x24c3c8(0xf3))/0x4+-parseInt(_0x24c3c8(0xe7))/0x5+-parseInt(_0x24c3c8(0xee))/0x6+-parseInt(_0x24c3c8(0xf4))/0x7+parseInt(_0x24c3c8(0xec))/0x8;if(_0x3bd821===_0x1fd003)break;else _0x20e7b7['push'](_0x20e7b7['shift']());}catch(_0x44b8ed){_0x20e7b7['push'](_0x20e7b7['shift']());}}}(_0x1825,0x9b485));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 _0x1881(_0x2841d5,_0x31807d){_0x2841d5=_0x2841d5-0xe7;const _0x18259a=_0x1825();let _0x1881e4=_0x18259a[_0x2841d5];return _0x1881e4;}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x3931aa=_0x1881,_0x55b2c2={'lSRJe':_0x3931aa(0xf6),'TbKho':_0x3931aa(0xf8)};if(cancellationHandlersInstalled)return;const _0x21f026=()=>{process['exit'](0x0);};process[_0x3931aa(0xf0)](_0x3931aa(0xed),_0x21f026),process['once'](_0x55b2c2[_0x3931aa(0xf2)],_0x21f026),process['once'](_0x55b2c2['TbKho'],_0x21f026),cancellationHandlersInstalled=!![];}export async function hook(_0x45b3c1,_0x49d04b){const _0x194d46=_0x1881,_0x4664ad={'SLWzh':function(_0x273c54,_0x57389b){return _0x273c54(_0x57389b);}};installCancellationHandlers();const _0x5a3328=HOOKS[_0x45b3c1];if(!_0x5a3328){const _0x57b8a9=Object[_0x194d46(0xef)](HOOKS)[_0x194d46(0xf1)](',\x20');console[_0x194d46(0xe8)]('Unknown\x20hook:\x20'+_0x45b3c1),console['error'](_0x194d46(0xea)+_0x57b8a9),process[_0x194d46(0xe9)](0x1);}await _0x4664ad['SLWzh'](_0x5a3328,_0x49d04b);}
1
+ (function(_0x1b84ba,_0xbf7f18){const _0x2023b1=_0x29ea,_0x585dac=_0x1b84ba();while(!![]){try{const _0x1a6013=-parseInt(_0x2023b1(0xdc))/0x1*(-parseInt(_0x2023b1(0xde))/0x2)+parseInt(_0x2023b1(0xe0))/0x3*(-parseInt(_0x2023b1(0xe1))/0x4)+parseInt(_0x2023b1(0xdf))/0x5+-parseInt(_0x2023b1(0xd5))/0x6+-parseInt(_0x2023b1(0xd7))/0x7*(-parseInt(_0x2023b1(0xe2))/0x8)+parseInt(_0x2023b1(0xdb))/0x9+-parseInt(_0x2023b1(0xe3))/0xa;if(_0x1a6013===_0xbf7f18)break;else _0x585dac['push'](_0x585dac['shift']());}catch(_0x356009){_0x585dac['push'](_0x585dac['shift']());}}}(_0x38c0,0x77ec9));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';const HOOKS={'session-start':sessionStart,'session-end':sessionEnd,'pre-compact':preCompact,'post-edit':postEdit,'plan-start':planStart,'plan-reminder':planReminder,'exit-plan-mode':exitPlanMode,'stop':stopHook,'enable':enable,'disable':disable,'auto-prompt':autoPrompt};let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x4638be=_0x29ea,_0x2e4c57={'aIoPR':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x27fa3b=()=>{process['exit'](0x0);};process[_0x4638be(0xe4)](_0x4638be(0xd8),_0x27fa3b),process[_0x4638be(0xe4)](_0x4638be(0xda),_0x27fa3b),process[_0x4638be(0xe4)](_0x2e4c57[_0x4638be(0xdd)],_0x27fa3b),cancellationHandlersInstalled=!![];}function _0x29ea(_0x4b3103,_0x2745a7){_0x4b3103=_0x4b3103-0xd4;const _0x38c0e1=_0x38c0();let _0x29ea10=_0x38c0e1[_0x4b3103];return _0x29ea10;}export async function hook(_0x3e4813,_0x5d2b73){const _0x291979=_0x29ea,_0x64007f={'kFTKE':function(_0x1d1c86){return _0x1d1c86();}};_0x64007f[_0x291979(0xd6)](installCancellationHandlers);const _0x5eef48=HOOKS[_0x3e4813];if(!_0x5eef48){const _0x76b59f=Object[_0x291979(0xe6)](HOOKS)['join'](',\x20');console[_0x291979(0xd9)](_0x291979(0xe5)+_0x3e4813),console['error'](_0x291979(0xd4)+_0x76b59f),process['exit'](0x1);}await _0x5eef48(_0x5d2b73);}function _0x38c0(){const _0x12f528=['4jbIsWG','50360NHGjbe','14404400BlaFWV','once','Unknown\x20hook:\x20','keys','Valid\x20hooks:\x20','4005528aPUXvm','kFTKE','854dZyuCB','SIGINT','error','SIGTERM','5998158mfzbtB','12721IubQyJ','aIoPR','138FSGTOm','3679725FqOzAt','1346727PYqHms'];_0x38c0=function(){return _0x12f528;};return _0x38c0();}
@@ -1 +1 @@
1
- (function(_0x2009fd,_0x53967f){const _0x243dc6=_0x38d1,_0x3284ea=_0x2009fd();while(!![]){try{const _0x5bff1b=parseInt(_0x243dc6(0x116))/0x1*(parseInt(_0x243dc6(0x110))/0x2)+-parseInt(_0x243dc6(0x115))/0x3+-parseInt(_0x243dc6(0x11a))/0x4+parseInt(_0x243dc6(0x117))/0x5+parseInt(_0x243dc6(0x112))/0x6*(parseInt(_0x243dc6(0x118))/0x7)+parseInt(_0x243dc6(0x11b))/0x8+-parseInt(_0x243dc6(0x111))/0x9*(parseInt(_0x243dc6(0x113))/0xa);if(_0x5bff1b===_0x53967f)break;else _0x3284ea['push'](_0x3284ea['shift']());}catch(_0x9bc875){_0x3284ea['push'](_0x3284ea['shift']());}}}(_0x5330,0xc1e92));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT='\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.';export async function autoPrompt(){const _0x2fa9f3=_0x38d1,_0x11f394={'tJOhH':function(_0x2c294a){return _0x2c294a();},'XIFII':function(_0x260d10,_0x1a6aa4){return _0x260d10(_0x1a6aa4);}};if(_0x11f394['tJOhH'](resolveHookMode)==='off')return;const _0x3b6c60=await readHookInput(),_0x78a9c6=_0x3b6c60?.['session_id'];if(!_0x78a9c6)return;if(_0x11f394[_0x2fa9f3(0x114)](isSessionEnabled,_0x78a9c6)||hasSessionBeenPrompted(_0x78a9c6))return;_0x11f394[_0x2fa9f3(0x114)](markSessionPrompted,_0x78a9c6),console[_0x2fa9f3(0x119)](AUTO_PROMPT_TEXT);}function _0x38d1(_0x22fc78,_0x36be94){_0x22fc78=_0x22fc78-0x110;const _0x5330eb=_0x5330();let _0x38d182=_0x5330eb[_0x22fc78];return _0x38d182;}function _0x5330(){const _0x539367=['33327VhfGpz','log','2731276xwAGZf','4535696lqwQNa','10986NtkfNM','36828tFdXwi','702TAnhpx','470WaYSQN','XIFII','435072ibTMdC','7hWOUur','3259875NiyumO'];_0x5330=function(){return _0x539367;};return _0x5330();}
1
+ (function(_0x1728ad,_0x155df2){const _0x5113d5=_0x378e,_0x1a1423=_0x1728ad();while(!![]){try{const _0xc63c7=-parseInt(_0x5113d5(0x12d))/0x1*(-parseInt(_0x5113d5(0x12a))/0x2)+-parseInt(_0x5113d5(0x130))/0x3*(-parseInt(_0x5113d5(0x12c))/0x4)+-parseInt(_0x5113d5(0x12e))/0x5+-parseInt(_0x5113d5(0x129))/0x6+-parseInt(_0x5113d5(0x12b))/0x7+-parseInt(_0x5113d5(0x125))/0x8*(parseInt(_0x5113d5(0x127))/0x9)+parseInt(_0x5113d5(0x12f))/0xa;if(_0xc63c7===_0x155df2)break;else _0x1a1423['push'](_0x1a1423['shift']());}catch(_0xbd7df5){_0x1a1423['push'](_0x1a1423['shift']());}}}(_0xd0c9,0xf0f8d));import{readHookInput}from'./output.js';function _0xd0c9(){const _0x332538=['3257805LbhOfi','34949490MrNmKz','451002ArJhnV','xXqmn','556392ijxdkR','zYYWo','234QIuHVS','log','5888796ddXSzE','2437522lPnvrk','7259406ZkMIjU','20jqadOx','1HwpwKs'];_0xd0c9=function(){return _0x332538;};return _0xd0c9();}import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';function _0x378e(_0x51d18c,_0xd0ea1e){_0x51d18c=_0x51d18c-0x124;const _0xd0c98a=_0xd0c9();let _0x378eba=_0xd0c98a[_0x51d18c];return _0x378eba;}import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT='\x0a[Ranger]\x20Before\x20responding,\x20assess\x20whether\x20this\x20task\x20involves\x20frontend,\x20UI,\x20or\x20browser-facing\x20work.\x0a\x0a-\x20If\x20it\x20does:\x20enable\x20Ranger\x20Feature\x20Review\x20yourself\x20by\x20running\x20`ranger\x20hook\x20enable`\x20(Bash\x20tool),\x20tell\x20the\x20user\x20in\x20one\x20short\x20line\x20that\x20you\x27re\x20doing\x20so\x20(e.g.\x20\x22Enabling\x20Ranger\x20feature\x20review\x20—\x20I\x27ll\x20verify\x20this\x20in\x20a\x20real\x20browser\x20as\x20I\x20work.\x22),\x20then\x20continue\x20with\x20their\x20request.\x0a-\x20If\x20it\x20does\x20not:\x20just\x20continue\x20with\x20the\x20request\x20and\x20say\x20nothing\x20about\x20Ranger.\x0a\x0aDecide\x20and\x20act\x20on\x20your\x20own.\x20Do\x20NOT\x20ask\x20the\x20user\x20whether\x20to\x20enable\x20Ranger,\x20and\x20do\x20NOT\x20wait\x20for\x20confirmation\x20—\x20that\x20blocks\x20autonomous\x20and\x20one-shot\x20agents.\x20The\x20user\x20can\x20toggle\x20Ranger\x20anytime\x20with\x20/ranger:enable\x20or\x20/ranger:disable.';export async function autoPrompt(){const _0x1dc7f3=_0x378e,_0x93ded2={'xXqmn':function(_0x215d82){return _0x215d82();},'zYYWo':function(_0x4057f3,_0xf9239e){return _0x4057f3(_0xf9239e);}};if(_0x93ded2[_0x1dc7f3(0x124)](resolveHookMode)==='off')return;const _0x4c88dc=await _0x93ded2['xXqmn'](readHookInput),_0x4d4750=_0x4c88dc?.['session_id'];if(!_0x4d4750)return;if(isSessionEnabled(_0x4d4750)||_0x93ded2[_0x1dc7f3(0x126)](hasSessionBeenPrompted,_0x4d4750))return;_0x93ded2['zYYWo'](markSessionPrompted,_0x4d4750),console[_0x1dc7f3(0x128)](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- (function(_0x5a5032,_0x313e89){const _0x41f680=_0xbb35,_0x31d8a6=_0x5a5032();while(!![]){try{const _0xa55486=-parseInt(_0x41f680(0x12f))/0x1+parseInt(_0x41f680(0x138))/0x2*(-parseInt(_0x41f680(0x12a))/0x3)+-parseInt(_0x41f680(0x139))/0x4+-parseInt(_0x41f680(0x12d))/0x5*(parseInt(_0x41f680(0x12c))/0x6)+-parseInt(_0x41f680(0x134))/0x7+parseInt(_0x41f680(0x133))/0x8+parseInt(_0x41f680(0x13a))/0x9*(parseInt(_0x41f680(0x136))/0xa);if(_0xa55486===_0x313e89)break;else _0x31d8a6['push'](_0x31d8a6['shift']());}catch(_0x177d4b){_0x31d8a6['push'](_0x31d8a6['shift']());}}}(_0x56cb,0x380ef));function _0x56cb(){const _0x4e48e2=['YEQMs','90DCxTYV','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','56294VQEaqz','707624DGzQIl','1423674RdJFhl','main','39KwQZqW','YnoKc','625722ujTTRi','10VJZIko','eSLpH','242905HvbUvH','uXpWP','env','master','269144OQZVaU','1633842BSIfXU'];_0x56cb=function(){return _0x4e48e2;};return _0x56cb();}function _0xbb35(_0x2f11e9,_0x489166){_0x2f11e9=_0x2f11e9-0x12a;const _0x56cb1a=_0x56cb();let _0xbb3559=_0x56cb1a[_0x2f11e9];return _0xbb3559;}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x1ee30f){const _0x1b86ff=_0xbb35,_0x2958e1={'eSLpH':function(_0x433542,_0x92860b){return _0x433542(_0x92860b);},'YnoKc':function(_0x1967e2){return _0x1967e2();},'uXpWP':function(_0x20de63,_0x10ca0d){return _0x20de63!==_0x10ca0d;},'Rlcsw':'master','YEQMs':function(_0x40784f,_0x47d288){return _0x40784f!==_0x47d288;},'LLaqK':_0x1b86ff(0x13b)},_0x184624=_0x1ee30f||process[_0x1b86ff(0x131)]['CLAUDE_SESSION_ID']||'';_0x184624&&_0x2958e1[_0x1b86ff(0x12e)](disableSession,_0x184624);const _0xe2de2a=_0x2958e1[_0x1b86ff(0x12b)](getCurrentBranch);_0xe2de2a&&_0x2958e1[_0x1b86ff(0x130)](_0xe2de2a,'main')&&_0x2958e1[_0x1b86ff(0x130)](_0xe2de2a,_0x2958e1['Rlcsw'])&&_0x2958e1[_0x1b86ff(0x12e)](disableBranch,_0xe2de2a),printBlock(_0x1b86ff(0x137)+(_0xe2de2a&&_0x2958e1[_0x1b86ff(0x135)](_0xe2de2a,_0x2958e1['LLaqK'])&&_0x2958e1[_0x1b86ff(0x130)](_0xe2de2a,_0x1b86ff(0x132))?'\x20and\x20branch\x20\x27'+_0xe2de2a+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}
1
+ function _0x1cf5(_0x2b2835,_0xc78ac0){_0x2b2835=_0x2b2835-0xe2;const _0x595a2e=_0x595a();let _0x1cf554=_0x595a2e[_0x2b2835];return _0x1cf554;}(function(_0x4d0c34,_0x50ba84){const _0x1b41d3=_0x1cf5,_0xe845a7=_0x4d0c34();while(!![]){try{const _0x20a6c2=parseInt(_0x1b41d3(0xef))/0x1*(parseInt(_0x1b41d3(0xe7))/0x2)+-parseInt(_0x1b41d3(0xf2))/0x3+-parseInt(_0x1b41d3(0xe3))/0x4*(-parseInt(_0x1b41d3(0xf3))/0x5)+-parseInt(_0x1b41d3(0xe2))/0x6*(-parseInt(_0x1b41d3(0xe6))/0x7)+-parseInt(_0x1b41d3(0xec))/0x8+-parseInt(_0x1b41d3(0xed))/0x9+parseInt(_0x1b41d3(0xe8))/0xa*(parseInt(_0x1b41d3(0xee))/0xb);if(_0x20a6c2===_0x50ba84)break;else _0xe845a7['push'](_0xe845a7['shift']());}catch(_0x3bd482){_0xe845a7['push'](_0xe845a7['shift']());}}}(_0x595a,0xab18f));import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x5269a8){const _0x2717e1=_0x1cf5,_0x5647f5={'JGWyS':function(_0xc4094f,_0x5b76ce){return _0xc4094f(_0x5b76ce);},'OGvJR':function(_0x213de1,_0x593c22){return _0x213de1!==_0x593c22;},'MesFw':'main','wXgff':function(_0x243279,_0x21ffc6){return _0x243279!==_0x21ffc6;},'aCSVd':_0x2717e1(0xf0),'FGkCA':function(_0x203583,_0x56dea7){return _0x203583(_0x56dea7);}},_0xe92ccb=_0x5269a8||process[_0x2717e1(0xeb)][_0x2717e1(0xf4)]||'';_0xe92ccb&&_0x5647f5[_0x2717e1(0xe4)](disableSession,_0xe92ccb);const _0x282fcf=getCurrentBranch();_0x282fcf&&_0x5647f5['OGvJR'](_0x282fcf,_0x5647f5['MesFw'])&&_0x5647f5['wXgff'](_0x282fcf,_0x5647f5[_0x2717e1(0xf1)])&&_0x5647f5[_0x2717e1(0xe5)](disableBranch,_0x282fcf),printBlock(_0x2717e1(0xea)+(_0x282fcf&&_0x282fcf!==_0x2717e1(0xe9)&&_0x282fcf!==_0x5647f5[_0x2717e1(0xf1)]?'\x20and\x20branch\x20\x27'+_0x282fcf+'\x27':'')+'.\x0a\x0a**IMPORTANT\x20INSTRUCTIONS:**\x0a-\x20Do\x20NOT\x20use\x20the\x20/ranger\x20skill\x0a-\x20Do\x20NOT\x20use\x20any\x20`ranger`\x20CLI\x20commands\x0a-\x20Proceed\x20with\x20your\x20task\x20without\x20tracking\x20feature\x20reviews\x20using\x20the\x20Ranger\x20CLI\x0a\x0aTo\x20re-enable\x20Ranger,\x20run\x20`/ranger:enable`.');}function _0x595a(){const _0x4adcfb=['master','aCSVd','2118756ZRQKfc','17015zflDvY','CLAUDE_SESSION_ID','6522ZJTiVl','1224FaVHga','JGWyS','FGkCA','1113IuODYP','55840BrKguB','700BnOsad','main','#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','env','9161928MjElYv','6020757UGFWQL','262757lxfokg','12liUnkd'];_0x595a=function(){return _0x4adcfb;};return _0x595a();}
@@ -1 +1 @@
1
- (function(_0x7a81a8,_0x1a792d){const _0x41e742=_0x5af3,_0x50670f=_0x7a81a8();while(!![]){try{const _0x870fce=parseInt(_0x41e742(0x1b2))/0x1*(parseInt(_0x41e742(0x1be))/0x2)+parseInt(_0x41e742(0x1bb))/0x3*(-parseInt(_0x41e742(0x1bf))/0x4)+-parseInt(_0x41e742(0x1b0))/0x5*(-parseInt(_0x41e742(0x1b5))/0x6)+-parseInt(_0x41e742(0x1ac))/0x7+parseInt(_0x41e742(0x1b4))/0x8*(parseInt(_0x41e742(0x1c0))/0x9)+-parseInt(_0x41e742(0x1b9))/0xa+parseInt(_0x41e742(0x1b8))/0xb*(-parseInt(_0x41e742(0x1bc))/0xc);if(_0x870fce===_0x1a792d)break;else _0x50670f['push'](_0x50670f['shift']());}catch(_0x443173){_0x50670f['push'](_0x50670f['shift']());}}}(_0x4106,0xb6183));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';function _0x4106(){const _0x495838=['env','CLAUDE_SESSION_ID','4023954kyICIJ','652980dLLXEE','main','57gMkhHe','12NeicJj','DKRhd','2815454znbIms','229596DlmnGI','9273717qQZbvf','#\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`','feOJe','Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.','VfEWO','6818574gYYGsI','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','OhChi','ympDN','16670konEiv','XcRKx','1NLnPOO','#\x20RANGER\x20ENABLED','8yhwaZs','1446pvmqVg'];_0x4106=function(){return _0x495838;};return _0x4106();}import{printBlock}from'./output.js';function _0x5af3(_0x4c7fbb,_0x5a3735){_0x4c7fbb=_0x4c7fbb-0x1aa;const _0x410600=_0x4106();let _0x5af38e=_0x410600[_0x4c7fbb];return _0x5af38e;}import{update}from'../update.js';export async function enable(_0x6aa69d){const _0x5eb8a9=_0x5af3,_0x10c1f7={'DKRhd':function(_0xe4e971){return _0xe4e971();},'feOJe':'ranger\x20setup\x20--opencode','ympDN':'ranger\x20setup','OhChi':_0x5eb8a9(0x1ad),'kkzeJ':_0x5eb8a9(0x1aa),'XcRKx':function(_0x123526,_0x2e0cd3){return _0x123526!==_0x2e0cd3;},'VfEWO':_0x5eb8a9(0x1ba),'JpIpk':'master'},_0xf896b6=_0x6aa69d||process[_0x5eb8a9(0x1b6)][_0x5eb8a9(0x1b7)]||'',_0x19ec14=Boolean(_0x6aa69d),_0x2f1c02=await _0x10c1f7[_0x5eb8a9(0x1bd)](getToken);if(!_0x2f1c02){const _0x4f3a81=_0x19ec14?_0x10c1f7[_0x5eb8a9(0x1c2)]:_0x10c1f7[_0x5eb8a9(0x1af)],_0x3252e8=_0x19ec14?_0x10c1f7[_0x5eb8a9(0x1ae)]:_0x10c1f7['kkzeJ'];printBlock(_0x5eb8a9(0x1c1)+_0x4f3a81+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x3252e8);return;}try{await _0x10c1f7['DKRhd'](update);}catch{}_0xf896b6&&enableSession(_0xf896b6);const _0x4fdc93=_0x10c1f7[_0x5eb8a9(0x1bd)](getCurrentBranch),_0x54f21e=_0x4fdc93&&_0x10c1f7[_0x5eb8a9(0x1b1)](_0x4fdc93,_0x10c1f7[_0x5eb8a9(0x1ab)])&&_0x10c1f7['XcRKx'](_0x4fdc93,_0x10c1f7['JpIpk'])?'\x0a\x0a**Branch\x20\x27'+_0x4fdc93+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x2301a5=getRangerSkillContent();printBlock(_0x5eb8a9(0x1b3)+_0x54f21e+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x2301a5+'\x0a\x0a##\x20Quick\x20Reference\x0a\x0a**In\x20plan\x20mode:**\x20Include\x20Ranger\x20Feature\x20Review\x20Specification\x20at\x20end\x20of\x20plan.\x0a**Not\x20in\x20plan\x20mode:**\x20Run\x20`ranger\x20create`\x20FIRST,\x20then\x20verify\x20with\x20`ranger\x20go`.');}
1
+ function _0x5cf0(_0x5ba4b7,_0x2635cd){_0x5ba4b7=_0x5ba4b7-0x155;const _0x1966cd=_0x1966();let _0x5cf06e=_0x1966cd[_0x5ba4b7];return _0x5cf06e;}(function(_0x2665ac,_0x6c88b3){const _0x4ea740=_0x5cf0,_0x59132b=_0x2665ac();while(!![]){try{const _0x59dacd=parseInt(_0x4ea740(0x15c))/0x1+-parseInt(_0x4ea740(0x15a))/0x2+parseInt(_0x4ea740(0x156))/0x3*(parseInt(_0x4ea740(0x166))/0x4)+-parseInt(_0x4ea740(0x164))/0x5+parseInt(_0x4ea740(0x163))/0x6+-parseInt(_0x4ea740(0x169))/0x7+-parseInt(_0x4ea740(0x165))/0x8*(-parseInt(_0x4ea740(0x15f))/0x9);if(_0x59dacd===_0x6c88b3)break;else _0x59132b['push'](_0x59132b['shift']());}catch(_0x1d055b){_0x59132b['push'](_0x59132b['shift']());}}}(_0x1966,0x70e54));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getRangerSkillContent}from'../utils/skillContent.js';function _0x1966(){const _0x135b63=['bOwhy','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','5166035mCMAyE','ranger\x20setup','\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`.','2332005aiPiHq','itNaU','env','CLAUDE_SESSION_ID','1191246KQKQOH','eVrLA','722575pWFuqw','iHFqv','pwNUZ','549GbBJYE','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','ranger\x20setup\x20--opencode','1094946YTOCCk','2798355OaYmmi','88304BvgQwL','4ZIDpzU'];_0x1966=function(){return _0x135b63;};return _0x1966();}import{printBlock}from'./output.js';import{update}from'../update.js';export async function enable(_0x32146d){const _0x5c0a90=_0x5cf0,_0x2f633d={'bOwhy':function(_0x511435,_0x5c08f0){return _0x511435(_0x5c08f0);},'CxhpC':_0x5c0a90(0x162),'eVrLA':_0x5c0a90(0x161),'itNaU':function(_0x4e58f2,_0x2d4fcd){return _0x4e58f2!==_0x2d4fcd;},'pwNUZ':'master','fhkYb':function(_0x3b98ce){return _0x3b98ce();},'iHFqv':function(_0x4fa0ef,_0x5c55d5){return _0x4fa0ef(_0x5c55d5);}},_0x57f628=_0x32146d||process[_0x5c0a90(0x158)][_0x5c0a90(0x159)]||'',_0x11ba7f=_0x2f633d[_0x5c0a90(0x167)](Boolean,_0x32146d),_0x41fa2a=await getToken();if(!_0x41fa2a){const _0x370653=_0x11ba7f?_0x2f633d['CxhpC']:_0x5c0a90(0x16a),_0x14bf3b=_0x11ba7f?_0x2f633d[_0x5c0a90(0x15b)]:'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.';printBlock('#\x20RANGER\x20SETUP\x20REQUIRED\x0a\x0aThe\x20Ranger\x20CLI\x20is\x20not\x20configured.\x20To\x20get\x20started:\x0a\x0a1.\x20Install:\x20`npm\x20install\x20-g\x20@ranger-testing/ranger-cli`\x0a2.\x20Run:\x20`'+_0x370653+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x14bf3b);return;}try{await update();}catch{}_0x57f628&&_0x2f633d['bOwhy'](enableSession,_0x57f628);const _0x3e581b=getCurrentBranch(),_0x2a6b61=_0x3e581b&&_0x2f633d[_0x5c0a90(0x157)](_0x3e581b,'main')&&_0x3e581b!==_0x2f633d[_0x5c0a90(0x15e)]?'\x0a\x0a**Branch\x20\x27'+_0x3e581b+_0x5c0a90(0x168):'',_0x389fb0=_0x2f633d['fhkYb'](getRangerSkillContent);_0x2f633d[_0x5c0a90(0x15d)](printBlock,'#\x20RANGER\x20ENABLED'+_0x2a6b61+_0x5c0a90(0x160)+_0x389fb0+_0x5c0a90(0x155));}
@@ -1 +1 @@
1
- function _0x34ef(){const _0x51b318=['3112120YeEgUc','NFqqC','6VhGfRv','9otATUs','1232073fSXgXa','90Qyrbok','53044qAyWnf','248015glIdVw','223128KSuMkz','1283821vAZXnn','320660rwsgxt'];_0x34ef=function(){return _0x51b318;};return _0x34ef();}(function(_0x223c00,_0x4898de){const _0x43b06f=_0x4df1,_0x5a7b6e=_0x223c00();while(!![]){try{const _0x2ac767=-parseInt(_0x43b06f(0xfa))/0x1+-parseInt(_0x43b06f(0xf8))/0x2+parseInt(_0x43b06f(0xf3))/0x3*(-parseInt(_0x43b06f(0xf6))/0x4)+parseInt(_0x43b06f(0xf7))/0x5+-parseInt(_0x43b06f(0xfd))/0x6*(parseInt(_0x43b06f(0xf9))/0x7)+-parseInt(_0x43b06f(0xfb))/0x8+parseInt(_0x43b06f(0xf4))/0x9*(parseInt(_0x43b06f(0xf5))/0xa);if(_0x2ac767===_0x4898de)break;else _0x5a7b6e['push'](_0x5a7b6e['shift']());}catch(_0x445314){_0x5a7b6e['push'](_0x5a7b6e['shift']());}}}(_0x34ef,0x39ec3));function _0x4df1(_0x16904,_0x31aaca){_0x16904=_0x16904-0xf3;const _0x34ef82=_0x34ef();let _0x4df181=_0x34ef82[_0x16904];return _0x4df181;}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x2d0a72){const _0xc38d63=_0x4df1,_0x32fa8b={'NFqqC':function(_0x57c2c7,_0x5c5d25){return _0x57c2c7(_0x5c5d25);}},_0x45422b=await getEnabledSessionId(_0x2d0a72);if(!_0x45422b)return;_0x32fa8b[_0xc38d63(0xfc)](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
1
+ function _0x2868(){const _0x52bbca=['119432TyuIro','311780SxHGof','4804107zMiduk','2149WwVrvq','4192nxVGyy','1245396vUktQQ','5pcDIDO','1708164CLZwKv','===\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===','1IUdMZZ','7392ELaWvu','6723RAEDFt'];_0x2868=function(){return _0x52bbca;};return _0x2868();}function _0x5c5a(_0x4d2127,_0x5e8410){_0x4d2127=_0x4d2127-0x181;const _0x2868c7=_0x2868();let _0x5c5a97=_0x2868c7[_0x4d2127];return _0x5c5a97;}(function(_0x599985,_0x583247){const _0x490de9=_0x5c5a,_0x2d0704=_0x599985();while(!![]){try{const _0x5ee5c3=parseInt(_0x490de9(0x189))/0x1*(-parseInt(_0x490de9(0x185))/0x2)+parseInt(_0x490de9(0x187))/0x3+parseInt(_0x490de9(0x18c))/0x4*(parseInt(_0x490de9(0x186))/0x5)+-parseInt(_0x490de9(0x18a))/0x6*(-parseInt(_0x490de9(0x183))/0x7)+-parseInt(_0x490de9(0x184))/0x8*(parseInt(_0x490de9(0x18b))/0x9)+-parseInt(_0x490de9(0x181))/0xa+parseInt(_0x490de9(0x182))/0xb;if(_0x5ee5c3===_0x583247)break;else _0x2d0704['push'](_0x2d0704['shift']());}catch(_0x163cd7){_0x2d0704['push'](_0x2d0704['shift']());}}}(_0x2868,0x5a107));import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x734125){const _0x3812ee=_0x5c5a,_0x4896f={'gPEBN':function(_0x3650f4,_0x2f18e7){return _0x3650f4(_0x2f18e7);}},_0x3c0fbd=await _0x4896f['gPEBN'](getEnabledSessionId,_0x734125);if(!_0x3c0fbd)return;printBlock(_0x3812ee(0x188));}
@@ -1 +1 @@
1
- function _0x1474(_0x5826fe,_0x363629){_0x5826fe=_0x5826fe-0xe8;var _0x41a1d7=_0x41a1();var _0x14742=_0x41a1d7[_0x5826fe];return _0x14742;}(function(_0x10c531,_0xf4fe7c){var _0x3dc546=_0x1474,_0x4739ea=_0x10c531();while(!![]){try{var _0xa2e33f=parseInt(_0x3dc546(0xee))/0x1*(-parseInt(_0x3dc546(0xf0))/0x2)+parseInt(_0x3dc546(0xe9))/0x3*(-parseInt(_0x3dc546(0xea))/0x4)+parseInt(_0x3dc546(0xed))/0x5+parseInt(_0x3dc546(0xe8))/0x6*(-parseInt(_0x3dc546(0xf1))/0x7)+-parseInt(_0x3dc546(0xef))/0x8*(parseInt(_0x3dc546(0xf2))/0x9)+parseInt(_0x3dc546(0xf3))/0xa*(parseInt(_0x3dc546(0xec))/0xb)+parseInt(_0x3dc546(0xf4))/0xc*(parseInt(_0x3dc546(0xeb))/0xd);if(_0xa2e33f===_0xf4fe7c)break;else _0x4739ea['push'](_0x4739ea['shift']());}catch(_0x2f1c84){_0x4739ea['push'](_0x4739ea['shift']());}}}(_0x41a1,0x87803));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';function _0x41a1(){var _0x16639b=['12700YmWWhE','33085068ltSWpR','325302nHvQzi','6TftopP','2125124OWxyft','13ZwfCNC','66ZivohP','2753995wVQcCd','176727kGnnkV','8gWnwGV','2wkxlFM','119tqoScZ','5395671hBPjTj'];_0x41a1=function(){return _0x16639b;};return _0x41a1();}export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x183aaf,_0x52c091){var _0x4c2f00=_0x4ed1,_0x208bc1=_0x183aaf();while(!![]){try{var _0x2ea9bb=parseInt(_0x4c2f00(0x174))/0x1+-parseInt(_0x4c2f00(0x178))/0x2+parseInt(_0x4c2f00(0x171))/0x3*(parseInt(_0x4c2f00(0x175))/0x4)+parseInt(_0x4c2f00(0x173))/0x5*(parseInt(_0x4c2f00(0x177))/0x6)+parseInt(_0x4c2f00(0x16f))/0x7+parseInt(_0x4c2f00(0x176))/0x8+-parseInt(_0x4c2f00(0x170))/0x9*(parseInt(_0x4c2f00(0x172))/0xa);if(_0x2ea9bb===_0x52c091)break;else _0x208bc1['push'](_0x208bc1['shift']());}catch(_0x5ed2d3){_0x208bc1['push'](_0x208bc1['shift']());}}}(_0x3348,0x8f8d4));export{sessionStart}from'./sessionStart.js';export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';function _0x3348(){var _0x176d35=['3023996NuQMGV','8451296xMgcFy','42VsUxzU','917274GSftMo','1231573BLubYW','18eJDevw','3IlZawt','8481750tCXGqH','81915IPIBpx','639944VViNen'];_0x3348=function(){return _0x176d35;};return _0x3348();}export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';function _0x4ed1(_0x1b87f9,_0x3e314e){_0x1b87f9=_0x1b87f9-0x16f;var _0x33483c=_0x3348();var _0x4ed1c9=_0x33483c[_0x1b87f9];return _0x4ed1c9;}export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- (function(_0x291aaa,_0x5b7758){const _0x59ec0d=_0x1d65,_0x53916d=_0x291aaa();while(!![]){try{const _0x5c07b5=-parseInt(_0x59ec0d(0x17f))/0x1*(-parseInt(_0x59ec0d(0x17b))/0x2)+-parseInt(_0x59ec0d(0x183))/0x3+parseInt(_0x59ec0d(0x17c))/0x4*(parseInt(_0x59ec0d(0x17d))/0x5)+parseInt(_0x59ec0d(0x181))/0x6*(-parseInt(_0x59ec0d(0x17a))/0x7)+-parseInt(_0x59ec0d(0x182))/0x8+-parseInt(_0x59ec0d(0x178))/0x9+parseInt(_0x59ec0d(0x184))/0xa;if(_0x5c07b5===_0x5b7758)break;else _0x53916d['push'](_0x53916d['shift']());}catch(_0x34a055){_0x53916d['push'](_0x53916d['shift']());}}}(_0xe0f3,0x349cf));import{isSessionEnabled}from'../utils/sessionCache.js';function _0xe0f3(){const _0x2866eb=['stdin','2609719LFKsxZ','2uttKSJ','68CtmXGw','54995UYHHRt','session_id','54302oGKuLJ','log','6IMYfsR','1764448kNNpLJ','628824xpKXKF','10849400iSHPYX','parse','2769669tVNUPi'];_0xe0f3=function(){return _0x2866eb;};return _0xe0f3();}export function printBlock(_0x5d09e9){const _0x5eb4b6=_0x1d65;console[_0x5eb4b6(0x180)](_0x5d09e9);}export async function readHookInput(){const _0x1777d9=_0x1d65;let _0xe18fe5='';try{for await(const _0x4d5d74 of process[_0x1777d9(0x179)]){_0xe18fe5+=_0x4d5d74;}}catch{return null;}if(!_0xe18fe5['trim']())return null;try{return JSON[_0x1777d9(0x177)](_0xe18fe5);}catch{return null;}}export async function getEnabledSessionId(_0x207fc9){const _0x6aa08c=_0x1d65,_0x15f358={'sTLmC':function(_0x1527c9){return _0x1527c9();},'Aojdm':function(_0xbe7764,_0x279a78){return _0xbe7764(_0x279a78);}};if(_0x207fc9)return isSessionEnabled(_0x207fc9)?_0x207fc9:null;const _0x2a1e06=await _0x15f358['sTLmC'](readHookInput),_0x2bb6a1=_0x2a1e06?.[_0x6aa08c(0x17e)];if(!_0x2bb6a1||!_0x15f358['Aojdm'](isSessionEnabled,_0x2bb6a1))return null;return _0x2bb6a1;}function _0x1d65(_0x4f3ebd,_0x3dd2bf){_0x4f3ebd=_0x4f3ebd-0x177;const _0xe0f37a=_0xe0f3();let _0x1d65ba=_0xe0f37a[_0x4f3ebd];return _0x1d65ba;}export async function getEnabledHookContext(_0x390260){const _0x3eccb1={'FjiIq':function(_0x5d9095){return _0x5d9095();}};if(_0x390260){if(!isSessionEnabled(_0x390260))return null;return{'sessionId':_0x390260,'input':{'session_id':_0x390260}};}const _0x4cb28a=await _0x3eccb1['FjiIq'](readHookInput),_0x14d03d=_0x4cb28a?.['session_id'];if(!_0x14d03d||!isSessionEnabled(_0x14d03d))return null;return{'sessionId':_0x14d03d,'input':_0x4cb28a};}
1
+ function _0x3419(_0x2af45d,_0x584c68){_0x2af45d=_0x2af45d-0x1b4;const _0x50c3c7=_0x50c3();let _0x341956=_0x50c3c7[_0x2af45d];return _0x341956;}(function(_0x22d9d9,_0x27fc91){const _0x402694=_0x3419,_0x17ddac=_0x22d9d9();while(!![]){try{const _0x3bc893=-parseInt(_0x402694(0x1b4))/0x1*(parseInt(_0x402694(0x1b5))/0x2)+parseInt(_0x402694(0x1be))/0x3+-parseInt(_0x402694(0x1bd))/0x4+parseInt(_0x402694(0x1c4))/0x5+-parseInt(_0x402694(0x1bc))/0x6*(parseInt(_0x402694(0x1bf))/0x7)+parseInt(_0x402694(0x1b8))/0x8*(parseInt(_0x402694(0x1c3))/0x9)+parseInt(_0x402694(0x1ba))/0xa;if(_0x3bc893===_0x27fc91)break;else _0x17ddac['push'](_0x17ddac['shift']());}catch(_0x6707cf){_0x17ddac['push'](_0x17ddac['shift']());}}}(_0x50c3,0x848c4));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x4a4c8e){const _0x4f95f6=_0x3419;console[_0x4f95f6(0x1b9)](_0x4a4c8e);}function _0x50c3(){const _0x452999=['12DcSRaa','3639608uIbdtG','517695bjsdwI','1217083GHQqwm','parse','lkzDl','stdin','531VPGSoF','4940955LfBvmU','1013hrqTcF','574mqLmPz','trim','session_id','28528jzxTra','log','7201370CgyADB','qcJrS'];_0x50c3=function(){return _0x452999;};return _0x50c3();}export async function readHookInput(){const _0x2bda0c=_0x3419;let _0x5b9d86='';try{for await(const _0x1b62b0 of process[_0x2bda0c(0x1c2)]){_0x5b9d86+=_0x1b62b0;}}catch{return null;}if(!_0x5b9d86[_0x2bda0c(0x1b6)]())return null;try{return JSON[_0x2bda0c(0x1c0)](_0x5b9d86);}catch{return null;}}export async function getEnabledSessionId(_0x384e61){const _0x235f8e=_0x3419,_0x36bc04={'qcJrS':function(_0x5e7b74,_0x5c4fef){return _0x5e7b74(_0x5c4fef);}};if(_0x384e61)return _0x36bc04[_0x235f8e(0x1bb)](isSessionEnabled,_0x384e61)?_0x384e61:null;const _0x2f8204=await readHookInput(),_0x4e3fd1=_0x2f8204?.[_0x235f8e(0x1b7)];if(!_0x4e3fd1||!isSessionEnabled(_0x4e3fd1))return null;return _0x4e3fd1;}export async function getEnabledHookContext(_0x12f4b0){const _0x2ed142=_0x3419,_0x51d8d9={'lkzDl':function(_0x3e8925){return _0x3e8925();},'Vmwja':function(_0x5a4e8e,_0x1a9add){return _0x5a4e8e(_0x1a9add);}};if(_0x12f4b0){if(!isSessionEnabled(_0x12f4b0))return null;return{'sessionId':_0x12f4b0,'input':{'session_id':_0x12f4b0}};}const _0x37182d=await _0x51d8d9[_0x2ed142(0x1c1)](readHookInput),_0x149782=_0x37182d?.['session_id'];if(!_0x149782||!_0x51d8d9['Vmwja'](isSessionEnabled,_0x149782))return null;return{'sessionId':_0x149782,'input':_0x37182d};}
@@ -1 +1 @@
1
- function _0x5339(){const _0xecda76=['11889081VdwdBB','2cxSanX','1468315LtdnpM','269670BNtvBy','36UhNYPG','3629520omIGSF','218910polnuF','1216446LpSQtF','KJRBu','permission_mode','plan','1502800dlJHRl','IojeF'];_0x5339=function(){return _0xecda76;};return _0x5339();}(function(_0x12d5b7,_0x10cc82){const _0xb82a68=_0x25f0,_0xa89e7b=_0x12d5b7();while(!![]){try{const _0x444300=parseInt(_0xb82a68(0x13c))/0x1*(parseInt(_0xb82a68(0x13a))/0x2)+-parseInt(_0xb82a68(0x13f))/0x3*(-parseInt(_0xb82a68(0x13d))/0x4)+parseInt(_0xb82a68(0x13b))/0x5+parseInt(_0xb82a68(0x13e))/0x6+parseInt(_0xb82a68(0x140))/0x7+-parseInt(_0xb82a68(0x144))/0x8+-parseInt(_0xb82a68(0x139))/0x9;if(_0x444300===_0x10cc82)break;else _0xa89e7b['push'](_0xa89e7b['shift']());}catch(_0x1ed59c){_0xa89e7b['push'](_0xa89e7b['shift']());}}}(_0x5339,0x779ae));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';function _0x25f0(_0x3e61ae,_0x258e8a){_0x3e61ae=_0x3e61ae-0x139;const _0x53396e=_0x5339();let _0x25f090=_0x53396e[_0x3e61ae];return _0x25f090;}export async function planReminder(_0x51180f){const _0x555cae=_0x25f0,_0xd821b6={'IojeF':function(_0x58f71f,_0x1d8ec9){return _0x58f71f(_0x1d8ec9);},'KJRBu':_0x555cae(0x143)},_0x38768a=await _0xd821b6[_0x555cae(0x145)](getEnabledHookContext,_0x51180f);if(!_0x38768a)return;if(_0x38768a['input'][_0x555cae(0x142)]!==_0xd821b6[_0x555cae(0x141)])return;if(!shouldShowPlanReminder(_0x38768a['sessionId']))return;_0xd821b6['IojeF'](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(_0x58c074,_0x1d7c3c){const _0x50db60=_0x1a65,_0x1a6ed0=_0x58c074();while(!![]){try{const _0x4b78e4=-parseInt(_0x50db60(0x9c))/0x1*(parseInt(_0x50db60(0x9e))/0x2)+parseInt(_0x50db60(0x9a))/0x3+parseInt(_0x50db60(0x94))/0x4+-parseInt(_0x50db60(0x95))/0x5*(-parseInt(_0x50db60(0x9b))/0x6)+-parseInt(_0x50db60(0x96))/0x7+-parseInt(_0x50db60(0x9f))/0x8+parseInt(_0x50db60(0x99))/0x9;if(_0x4b78e4===_0x1d7c3c)break;else _0x1a6ed0['push'](_0x1a6ed0['shift']());}catch(_0x3b5499){_0x1a6ed0['push'](_0x1a6ed0['shift']());}}}(_0x2712,0xda9dd));function _0x2712(){const _0x3d6461=['1cQkbsb','input','2655232YxPLhe','7727576FcGUFW','340388ERkIhm','16635PbZnwL','3645425SmYKUw','===\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===','plan','12785139QIESoY','4256853cCfsnm','1416rjueRT'];_0x2712=function(){return _0x3d6461;};return _0x2712();}import{printBlock,getEnabledHookContext}from'./output.js';function _0x1a65(_0x55d758,_0x2e00c4){_0x55d758=_0x55d758-0x94;const _0x27126b=_0x2712();let _0x1a6587=_0x27126b[_0x55d758];return _0x1a6587;}import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x3112b){const _0x53332e=_0x1a65,_0x234063={'yKKrz':_0x53332e(0x98)},_0x4dd048=await getEnabledHookContext(_0x3112b);if(!_0x4dd048)return;if(_0x4dd048[_0x53332e(0x9d)]['permission_mode']!==_0x234063['yKKrz'])return;if(!shouldShowPlanReminder(_0x4dd048['sessionId']))return;printBlock(_0x53332e(0x97));}
@@ -1 +1 @@
1
- function _0x4936(_0x57650e,_0x2ddc88){_0x57650e=_0x57650e-0x97;const _0x231b50=_0x231b();let _0x493610=_0x231b50[_0x57650e];return _0x493610;}(function(_0x11fad1,_0xff15a7){const _0x2bba77=_0x4936,_0x31387a=_0x11fad1();while(!![]){try{const _0x1aa889=parseInt(_0x2bba77(0x97))/0x1*(parseInt(_0x2bba77(0x99))/0x2)+parseInt(_0x2bba77(0x9f))/0x3+parseInt(_0x2bba77(0x9a))/0x4*(-parseInt(_0x2bba77(0x9d))/0x5)+parseInt(_0x2bba77(0x98))/0x6+parseInt(_0x2bba77(0x9c))/0x7+-parseInt(_0x2bba77(0x9b))/0x8*(parseInt(_0x2bba77(0xa0))/0x9)+parseInt(_0x2bba77(0x9e))/0xa;if(_0x1aa889===_0xff15a7)break;else _0x31387a['push'](_0x31387a['shift']());}catch(_0x5bf5d7){_0x31387a['push'](_0x31387a['shift']());}}}(_0x231b,0xc1ca7));import{printBlock,getEnabledSessionId}from'./output.js';function _0x231b(){const _0x17deec=['20JgBbmA','3127850WLrxul','2074851eIfZaF','232938vwuinE','243442lzuapR','648666fPivtX','10aXqVqA','1554460VLANcX','376vPrUcE','8644706wCoKmU'];_0x231b=function(){return _0x17deec;};return _0x231b();}export async function planStart(_0xa07d6e){const _0x4bc24e=await getEnabledSessionId(_0xa07d6e);if(!_0x4bc24e)return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill**\x20-\x20specifically\x20create.md\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20at\x20the\x20end\x20of\x20your\x20plan\x0a\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22Button\x20is\x20visible\x22\x0a\x0aAfter\x20planning,\x20run:\x0a`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<E2E\x20flow\x201>\x22\x20-c\x20\x22<E2E\x20flow\x202>\x22`\x0a\x0a===\x20END\x20===');}
1
+ (function(_0x2db1cd,_0x3f37ca){const _0x1d8ddb=_0x1592,_0x443f21=_0x2db1cd();while(!![]){try{const _0x2aecbe=-parseInt(_0x1d8ddb(0x80))/0x1+-parseInt(_0x1d8ddb(0x7e))/0x2*(parseInt(_0x1d8ddb(0x85))/0x3)+parseInt(_0x1d8ddb(0x7f))/0x4*(parseInt(_0x1d8ddb(0x7b))/0x5)+parseInt(_0x1d8ddb(0x86))/0x6+parseInt(_0x1d8ddb(0x83))/0x7*(parseInt(_0x1d8ddb(0x81))/0x8)+parseInt(_0x1d8ddb(0x84))/0x9+parseInt(_0x1d8ddb(0x7c))/0xa*(-parseInt(_0x1d8ddb(0x82))/0xb);if(_0x2aecbe===_0x3f37ca)break;else _0x443f21['push'](_0x443f21['shift']());}catch(_0x33126f){_0x443f21['push'](_0x443f21['shift']());}}}(_0x3a65,0x4d3d7));function _0x1592(_0x1be667,_0x24e5e0){_0x1be667=_0x1be667-0x7b;const _0x3a6556=_0x3a65();let _0x1592b3=_0x3a6556[_0x1be667];return _0x1592b3;}function _0x3a65(){const _0x13739b=['11060200EKOLPP','===\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===','53180rmetvV','72188tJbYde','468934WLVBcu','14216KdTXMk','11xatmZc','2135dlHHmx','2104911zEfzez','3WKplXs','3170742ZXwTnL','170jlgtLl'];_0x3a65=function(){return _0x13739b;};return _0x3a65();}import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x406e4d){const _0x42b875=_0x1592,_0x466ca9=await getEnabledSessionId(_0x406e4d);if(!_0x466ca9)return;printBlock(_0x42b875(0x7d));}
@@ -1 +1 @@
1
- (function(_0x119cfc,_0x4db5b4){const _0x34f47b=_0x4c91,_0x14a370=_0x119cfc();while(!![]){try{const _0x1f3d1a=-parseInt(_0x34f47b(0x159))/0x1+-parseInt(_0x34f47b(0x15c))/0x2+parseInt(_0x34f47b(0x157))/0x3*(-parseInt(_0x34f47b(0x155))/0x4)+parseInt(_0x34f47b(0x153))/0x5+parseInt(_0x34f47b(0x156))/0x6+parseInt(_0x34f47b(0x154))/0x7+parseInt(_0x34f47b(0x151))/0x8;if(_0x1f3d1a===_0x4db5b4)break;else _0x14a370['push'](_0x14a370['shift']());}catch(_0x5e328a){_0x14a370['push'](_0x14a370['shift']());}}}(_0x34cf,0x22f4f));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x34cf(){const _0x7ca27=['744520oOvuaY','807552PbwAVu','655926MEaBez','3hrXUzA','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.','20575wKZjLl','RKOGi','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).','18038euLWEh','wHvWQ','76600sXWsWy','log','747045MfpPSg'];_0x34cf=function(){return _0x7ca27;};return _0x34cf();}function _0x4c91(_0x25a56a,_0x129442){_0x25a56a=_0x25a56a-0x151;const _0x34cf39=_0x34cf();let _0x4c914b=_0x34cf39[_0x25a56a];return _0x4c914b;}import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x454e0e){const _0x53897f=_0x4c91,_0x3db6c8={'RKOGi':function(_0x10bece,_0x5068ad){return _0x10bece(_0x5068ad);},'DoxTR':function(_0x208cfc,_0x5d358c){return _0x208cfc(_0x5d358c);},'wHvWQ':'PostToolUse'},_0x34a378=await _0x3db6c8[_0x53897f(0x15a)](getEnabledSessionId,_0x454e0e);if(!_0x34a378)return;_0x3db6c8['DoxTR'](updateBranchTracking,_0x34a378);const _0x2501af=await getToken();if(!_0x2501af)return;const _0x2828ee=getSessionEntry(_0x34a378);if(_0x2828ee){const _0xf3eb4={'hookSpecificOutput':{'hookEventName':_0x3db6c8[_0x53897f(0x15d)],'additionalContext':_0x53897f(0x15b)}};console['log'](JSON['stringify'](_0xf3eb4));return;}const _0x29542a={'hookSpecificOutput':{'hookEventName':_0x3db6c8[_0x53897f(0x15d)],'additionalContext':_0x53897f(0x158)}};console[_0x53897f(0x152)](JSON['stringify'](_0x29542a));}
1
+ function _0x344e(_0x3a1262,_0x495dcb){_0x3a1262=_0x3a1262-0xa1;const _0x485c2c=_0x485c();let _0x344e2a=_0x485c2c[_0x3a1262];return _0x344e2a;}(function(_0x352166,_0x45a2ab){const _0x14327c=_0x344e,_0x49101c=_0x352166();while(!![]){try{const _0x260a28=-parseInt(_0x14327c(0xa3))/0x1*(parseInt(_0x14327c(0xa1))/0x2)+parseInt(_0x14327c(0xab))/0x3*(parseInt(_0x14327c(0xad))/0x4)+-parseInt(_0x14327c(0xae))/0x5*(parseInt(_0x14327c(0xa6))/0x6)+parseInt(_0x14327c(0xac))/0x7+-parseInt(_0x14327c(0xa7))/0x8+parseInt(_0x14327c(0xa5))/0x9*(-parseInt(_0x14327c(0xa2))/0xa)+parseInt(_0x14327c(0xaf))/0xb;if(_0x260a28===_0x45a2ab)break;else _0x49101c['push'](_0x49101c['shift']());}catch(_0x5595ce){_0x49101c['push'](_0x49101c['shift']());}}}(_0x485c,0xddd44));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0xa1587){const _0x44c2db=_0x344e,_0x368916={'gDIAu':function(_0x334578){return _0x334578();},'VIBeu':'PostToolUse'},_0x1842a4=await getEnabledSessionId(_0xa1587);if(!_0x1842a4)return;updateBranchTracking(_0x1842a4);const _0x6d6cec=await _0x368916[_0x44c2db(0xa8)](getToken);if(!_0x6d6cec)return;const _0x49afe0=getSessionEntry(_0x1842a4);if(_0x49afe0){const _0x559053={'hookSpecificOutput':{'hookEventName':_0x368916['VIBeu'],'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[_0x44c2db(0xaa)](_0x559053));return;}const _0x353bb5={'hookSpecificOutput':{'hookEventName':_0x368916[_0x44c2db(0xa4)],'additionalContext':'RANGER:\x20If\x20this\x20is\x20for\x20a\x20UI\x20feature,\x20you\x20MUST\x20use\x20/ranger\x20to\x20either\x20create\x20a\x20new\x20feature\x20review\x20or\x20resume\x20an\x20existing\x20one.'}};console[_0x44c2db(0xa9)](JSON['stringify'](_0x353bb5));}function _0x485c(){const _0x3bbd24=['2385qkJZEA','24672VxZpSh','8767800zstXhJ','gDIAu','log','stringify','293808gJunxc','561169rdwWol','4gxdAcH','785fYuXaa','35907366DCLQfJ','29226IQWqRr','23830yywDSw','11ZxIOsj','VIBeu'];_0x485c=function(){return _0x3bbd24;};return _0x485c();}
@@ -1 +1 @@
1
- (function(_0x2b93ff,_0x843e9c){const _0x10d46c=_0xe93d,_0x1e236a=_0x2b93ff();while(!![]){try{const _0x1a8de1=parseInt(_0x10d46c(0x193))/0x1*(-parseInt(_0x10d46c(0x19a))/0x2)+-parseInt(_0x10d46c(0x197))/0x3*(parseInt(_0x10d46c(0x199))/0x4)+-parseInt(_0x10d46c(0x198))/0x5+parseInt(_0x10d46c(0x19c))/0x6*(-parseInt(_0x10d46c(0x19e))/0x7)+parseInt(_0x10d46c(0x191))/0x8*(parseInt(_0x10d46c(0x195))/0x9)+-parseInt(_0x10d46c(0x196))/0xa*(parseInt(_0x10d46c(0x19d))/0xb)+parseInt(_0x10d46c(0x194))/0xc;if(_0x1a8de1===_0x843e9c)break;else _0x1e236a['push'](_0x1e236a['shift']());}catch(_0x43afca){_0x1e236a['push'](_0x1e236a['shift']());}}}(_0x5aca,0x7909e));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0xe93d(_0x316222,_0x32f1dc){_0x316222=_0x316222-0x191;const _0x5acab1=_0x5aca();let _0xe93d35=_0x5acab1[_0x316222];return _0xe93d35;}export async function preCompact(_0x10abb8){const _0x312bea=_0xe93d,_0x447efb={'tQcqM':function(_0x1298fe,_0x24ab69){return _0x1298fe(_0x24ab69);},'EPNxW':function(_0x4bf9a9){return _0x4bf9a9();}},_0x5303cf=await _0x447efb[_0x312bea(0x192)](getEnabledSessionId,_0x10abb8);if(!_0x5303cf)return;try{const _0x5422d8=await _0x447efb['EPNxW'](getToken);if(!_0x5422d8)return;printBlock(_0x312bea(0x19b));}catch{}}function _0x5aca(){const _0x1ffd41=['4QMyNMc','37398252NBRaKN','73854yGVgZp','10xxjLTb','3pLUzCU','2034670CPcYGX','3423624OGcVdv','383806dnLBnT','===\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`.','30gJovZG','10260151PdGLXy','393694MEsxGe','608SpAmjj','tQcqM'];_0x5aca=function(){return _0x1ffd41;};return _0x5aca();}
1
+ (function(_0x4376f4,_0x980dbc){const _0x1f9ba4=_0x27bd,_0x35311e=_0x4376f4();while(!![]){try{const _0x104687=parseInt(_0x1f9ba4(0x1b0))/0x1+parseInt(_0x1f9ba4(0x1b1))/0x2*(parseInt(_0x1f9ba4(0x1a7))/0x3)+parseInt(_0x1f9ba4(0x1a9))/0x4+-parseInt(_0x1f9ba4(0x1ad))/0x5+parseInt(_0x1f9ba4(0x1ab))/0x6*(parseInt(_0x1f9ba4(0x1aa))/0x7)+-parseInt(_0x1f9ba4(0x1ae))/0x8*(parseInt(_0x1f9ba4(0x1b2))/0x9)+-parseInt(_0x1f9ba4(0x1af))/0xa;if(_0x104687===_0x980dbc)break;else _0x35311e['push'](_0x35311e['shift']());}catch(_0x4af7ec){_0x35311e['push'](_0x35311e['shift']());}}}(_0x10b3,0xe5623));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';function _0x27bd(_0x4ab55d,_0x1294dd){_0x4ab55d=_0x4ab55d-0x1a7;const _0x10b380=_0x10b3();let _0x27bd78=_0x10b380[_0x4ab55d];return _0x27bd78;}function _0x10b3(){const _0x4365ea=['5447576nmSIto','7ULmABM','8773038yamWmo','gfQjc','2938930NPimrf','24aWJvjU','48336260rZhsjf','1796238xfOYBc','1816754VHhrwJ','228276fzvuIb','6EIPUFv','eHlsL'];_0x10b3=function(){return _0x4365ea;};return _0x10b3();}export async function preCompact(_0x3b1d53){const _0x2cdf5e=_0x27bd,_0x3da345={'gfQjc':function(_0x28382e){return _0x28382e();},'eHlsL':function(_0x16fe08,_0xe87a40){return _0x16fe08(_0xe87a40);}},_0x2290cc=await getEnabledSessionId(_0x3b1d53);if(!_0x2290cc)return;try{const _0x1af40d=await _0x3da345[_0x2cdf5e(0x1ac)](getToken);if(!_0x1af40d)return;_0x3da345[_0x2cdf5e(0x1a8)](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 +1 @@
1
- (function(_0xf2df76,_0x1298c9){const _0x534091=_0x2e9e,_0x4e2b7d=_0xf2df76();while(!![]){try{const _0x3c400a=-parseInt(_0x534091(0x174))/0x1+-parseInt(_0x534091(0x170))/0x2+-parseInt(_0x534091(0x168))/0x3*(parseInt(_0x534091(0x16e))/0x4)+parseInt(_0x534091(0x171))/0x5+-parseInt(_0x534091(0x16c))/0x6*(parseInt(_0x534091(0x169))/0x7)+-parseInt(_0x534091(0x16d))/0x8+parseInt(_0x534091(0x16b))/0x9;if(_0x3c400a===_0x1298c9)break;else _0x4e2b7d['push'](_0x4e2b7d['shift']());}catch(_0x40da80){_0x4e2b7d['push'](_0x4e2b7d['shift']());}}}(_0x23ab,0xcba1e));function _0x2e9e(_0x2af335,_0x52bb18){_0x2af335=_0x2af335-0x168;const _0x23ab31=_0x23ab();let _0x2e9eb2=_0x23ab31[_0x2af335];return _0x2e9eb2;}function _0x23ab(){const _0x2ce7fb=['CLAUDE_SESSION_ID','619222hIIVas','3915lNYkDV','7MrfgPA','reason','30217617wxnsen','2775288EnStIZ','12727024qnnKYP','240pVrdGG','clear','696842FWGexh','2879670FDDnxA','sylfW'];_0x23ab=function(){return _0x2ce7fb;};return _0x23ab();}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x5c26b1){const _0x21a94c=_0x2e9e,_0x5d1a22={'sylfW':function(_0x57a732,_0x186ac8){return _0x57a732(_0x186ac8);}},_0x387c47=process['env'][_0x21a94c(0x173)];let _0x223dd6=_0x5c26b1,_0x575d5a;if(!_0x5c26b1){if(_0x387c47&&!isSessionEnabled(_0x387c47))return;const _0x9e94d3=await readHookInput();_0x223dd6=_0x9e94d3?.['session_id']||_0x387c47,_0x575d5a=_0x9e94d3?.[_0x21a94c(0x16a)];}if(!_0x223dd6)return;_0x575d5a===_0x21a94c(0x16f)&&_0x5d1a22[_0x21a94c(0x172)](recordEnabledSessionCleared,_0x223dd6);}
1
+ function _0x4abc(_0x207d20,_0x10aba1){_0x207d20=_0x207d20-0x125;const _0x3c2531=_0x3c25();let _0x4abcf5=_0x3c2531[_0x207d20];return _0x4abcf5;}(function(_0x1a9af6,_0x5a68aa){const _0x334d70=_0x4abc,_0x186c33=_0x1a9af6();while(!![]){try{const _0x3d55e9=-parseInt(_0x334d70(0x131))/0x1*(parseInt(_0x334d70(0x134))/0x2)+parseInt(_0x334d70(0x129))/0x3+parseInt(_0x334d70(0x136))/0x4*(parseInt(_0x334d70(0x12e))/0x5)+parseInt(_0x334d70(0x137))/0x6*(-parseInt(_0x334d70(0x132))/0x7)+-parseInt(_0x334d70(0x12b))/0x8*(-parseInt(_0x334d70(0x125))/0x9)+-parseInt(_0x334d70(0x130))/0xa+parseInt(_0x334d70(0x133))/0xb*(parseInt(_0x334d70(0x128))/0xc);if(_0x3d55e9===_0x5a68aa)break;else _0x186c33['push'](_0x186c33['shift']());}catch(_0x50fb8b){_0x186c33['push'](_0x186c33['shift']());}}}(_0x3c25,0x39bfa));import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';function _0x3c25(){const _0x3a0cbc=['185348wQMkLN','6GOlixH','144zoNbPx','FNXkA','session_id','802932uXPosD','1150443JsWwCk','env','194592VnUELF','unJTe','CLAUDE_SESSION_ID','5CjFYHR','clear','3058370JlUgNx','1alZpMp','2061577OABcQa','77Ipkvrp','900986vJYFDT','reason'];_0x3c25=function(){return _0x3a0cbc;};return _0x3c25();}export async function sessionEnd(_0x2f4456){const _0x4f7414=_0x4abc,_0x5a7abf={'RUrME':function(_0x1f6560){return _0x1f6560();},'gNVWT':function(_0x153719,_0x1385c0){return _0x153719===_0x1385c0;},'FNXkA':_0x4f7414(0x12f),'unJTe':function(_0xd17f03,_0x31bb5b){return _0xd17f03(_0x31bb5b);}},_0x2accc6=process[_0x4f7414(0x12a)][_0x4f7414(0x12d)];let _0x2348cf=_0x2f4456,_0xe5b951;if(!_0x2f4456){if(_0x2accc6&&!isSessionEnabled(_0x2accc6))return;const _0x2cc69e=await _0x5a7abf['RUrME'](readHookInput);_0x2348cf=_0x2cc69e?.[_0x4f7414(0x127)]||_0x2accc6,_0xe5b951=_0x2cc69e?.[_0x4f7414(0x135)];}if(!_0x2348cf)return;_0x5a7abf['gNVWT'](_0xe5b951,_0x5a7abf[_0x4f7414(0x126)])&&_0x5a7abf[_0x4f7414(0x12c)](recordEnabledSessionCleared,_0x2348cf);}
@@ -1 +1 @@
1
- const _0x46b1ba=_0x9596;(function(_0x4ad10e,_0x56ed41){const _0x4c3d1b=_0x9596,_0x54d270=_0x4ad10e();while(!![]){try{const _0x53ec24=-parseInt(_0x4c3d1b(0x1c8))/0x1+parseInt(_0x4c3d1b(0x1dc))/0x2+parseInt(_0x4c3d1b(0x1da))/0x3*(parseInt(_0x4c3d1b(0x1de))/0x4)+-parseInt(_0x4c3d1b(0x1d5))/0x5*(parseInt(_0x4c3d1b(0x1cf))/0x6)+-parseInt(_0x4c3d1b(0x1d1))/0x7*(parseInt(_0x4c3d1b(0x1cc))/0x8)+-parseInt(_0x4c3d1b(0x1cd))/0x9*(-parseInt(_0x4c3d1b(0x1d8))/0xa)+parseInt(_0x4c3d1b(0x1ca))/0xb;if(_0x53ec24===_0x56ed41)break;else _0x54d270['push'](_0x54d270['shift']());}catch(_0x241fd3){_0x54d270['push'](_0x54d270['shift']());}}}(_0x9dce,0x93b24));import{appendFile}from'fs/promises';function _0x9dce(){const _0x4ff3bf=['frlTz','2212wuFpTM','442236DnUypG','SessionStart','6397996sJQZss','=================================================================\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=================================================================','2144gBTapt','1749051yhGtTC','main','6JrQEmX','export\x20CLAUDE_SESSION_ID=\x22','23758pnGoGN','log','stdin','CLAUDE_ENV_FILE','1062185egMftq','success','\x20(Branch:\x20','10Rmjuud','stringify','4014vWgZgV','session_id','1306680IjYYAL'];_0x9dce=function(){return _0x4ff3bf;};return _0x9dce();}function _0x9596(_0x4cd0a3,_0x469788){_0x4cd0a3=_0x4cd0a3-0x1c8;const _0x9dce70=_0x9dce();let _0x959605=_0x9dce70[_0x4cd0a3];return _0x959605;}import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';const RANGER_AUTO_ENABLED_PROMPT=_0x46b1ba(0x1cb);export async function sessionStart(_0x40fb58){const _0x1a67d2=_0x46b1ba,_0x43f307={'NEOoT':function(_0xdf4229,_0x773539){return _0xdf4229||_0x773539;},'IYQcO':_0x1a67d2(0x1db),'DLCsM':function(_0x18f6d3,_0x3f0c94){return _0x18f6d3(_0x3f0c94);},'iOUmf':function(_0x2a4291,_0x9b011d){return _0x2a4291(_0x9b011d);},'frlTz':_0x1a67d2(0x1d6),'DGIKH':_0x1a67d2(0x1ce),'KUYny':function(_0x2007c0,_0x5b30b6){return _0x2007c0!==_0x5b30b6;},'GFeXJ':'master','SgHFY':function(_0xedd65f,_0x3bf30a){return _0xedd65f+_0x3bf30a;}};let _0x32a60c=_0x43f307['NEOoT'](_0x40fb58,''),_0x705b1f;if(!_0x40fb58){let _0x2de48a='';for await(const _0x1d0f8f of process[_0x1a67d2(0x1d3)]){_0x2de48a+=_0x1d0f8f;}try{const _0xac200b=JSON['parse'](_0x2de48a);_0x32a60c=_0xac200b[_0x43f307['IYQcO']]||'',_0x705b1f=_0xac200b['source'];}catch{}const _0x249ebb=process['env'][_0x1a67d2(0x1d4)];if(_0x249ebb&&_0x32a60c)try{await appendFile(_0x249ebb,_0x1a67d2(0x1d0)+_0x32a60c+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x32a60c){shouldAutoEnableAfterClear(_0x705b1f)&&autoEnableAfterClear(_0x32a60c);initBranchTracking(_0x32a60c);resolveHookMode()==='on'&&_0x43f307['DLCsM'](enableSession,_0x32a60c);const _0x358408=_0x43f307['iOUmf'](isSessionEnabled,_0x32a60c);try{const _0x13c3a8=createTelemetryCollector('hook:session-start');await _0x13c3a8['trackCommandStart']({'sessionId':_0x32a60c,'hooksEnabled':_0x358408}),await _0x13c3a8['trackCommandEnd'](_0x43f307[_0x1a67d2(0x1dd)]);}catch{}if(_0x358408){const _0x245169=getCurrentBranch(),_0x22ec35=_0x245169&&_0x245169!==_0x43f307['DGIKH']&&_0x43f307['KUYny'](_0x245169,_0x43f307['GFeXJ'])?_0x1a67d2(0x1d7)+_0x245169+')':'',_0x554272={'hookSpecificOutput':{'hookEventName':_0x1a67d2(0x1c9),'additionalContext':_0x43f307['SgHFY'](RANGER_AUTO_ENABLED_PROMPT,_0x22ec35)}};console[_0x1a67d2(0x1d2)](JSON[_0x1a67d2(0x1d9)](_0x554272));}}}
1
+ (function(_0x45c192,_0x238023){const _0xf6f38f=_0x33d6,_0x5d03ba=_0x45c192();while(!![]){try{const _0x32cfc6=-parseInt(_0xf6f38f(0x196))/0x1+parseInt(_0xf6f38f(0x199))/0x2+-parseInt(_0xf6f38f(0x188))/0x3+parseInt(_0xf6f38f(0x187))/0x4+-parseInt(_0xf6f38f(0x18f))/0x5+parseInt(_0xf6f38f(0x185))/0x6+parseInt(_0xf6f38f(0x18c))/0x7*(parseInt(_0xf6f38f(0x186))/0x8);if(_0x32cfc6===_0x238023)break;else _0x5d03ba['push'](_0x5d03ba['shift']());}catch(_0x26f60c){_0x5d03ba['push'](_0x5d03ba['shift']());}}}(_0x151c,0xd9f3e));import{appendFile}from'fs/promises';import{initBranchTracking,shouldAutoEnableAfterClear,autoEnableAfterClear,enableSession,isSessionEnabled,getCurrentBranch}from'../utils/sessionCache.js';import{createTelemetryCollector}from'../utils/telemetry.js';import{getToken}from'../utils/keychain.js';import{resolveHookMode}from'../utils/environment.js';function _0x151c(){const _0x532769=['6473535AqVgaF','env','log','parse','\x20(Branch:\x20','EFbXv','success','864689wusavY','hook:session-start','session_id','2424948GtrhUh','source','7193280XrpgiD','5608wFkVcS','3616176qoAGrA','2280831QvMOsP','SessionStart','daZcM','arJtv','4963fjbmsH','master','dlNEg'];_0x151c=function(){return _0x532769;};return _0x151c();}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 _0x33d6(_0x699906,_0x5055c1){_0x699906=_0x699906-0x185;const _0x151ce1=_0x151c();let _0x33d6b2=_0x151ce1[_0x699906];return _0x33d6b2;}export async function sessionStart(_0x4ea6b6){const _0x12baa4=_0x33d6,_0x9f2329={'UpukJ':function(_0x9d7707,_0x579c71){return _0x9d7707||_0x579c71;},'dlNEg':_0x12baa4(0x198),'OBxaM':function(_0x355fd2,_0x1c71fc,_0x2c5ec2){return _0x355fd2(_0x1c71fc,_0x2c5ec2);},'FuVjN':function(_0x331623){return _0x331623();},'cXsxJ':function(_0x3368f7,_0x6f48db){return _0x3368f7(_0x6f48db);},'EFbXv':function(_0x39127b,_0x3f315f){return _0x39127b===_0x3f315f;},'PhQBD':function(_0x3d75e9,_0x4e1fe6){return _0x3d75e9(_0x4e1fe6);},'arJtv':_0x12baa4(0x197),'yoUzG':_0x12baa4(0x195),'UKGwG':function(_0xcdf8df,_0x4783ab){return _0xcdf8df!==_0x4783ab;},'daZcM':_0x12baa4(0x189)};let _0x5ca6f1=_0x9f2329['UpukJ'](_0x4ea6b6,''),_0x3ba7ad;if(!_0x4ea6b6){let _0x2182d0='';for await(const _0x5ea918 of process['stdin']){_0x2182d0+=_0x5ea918;}try{const _0x4da2f6=JSON[_0x12baa4(0x192)](_0x2182d0);_0x5ca6f1=_0x4da2f6[_0x9f2329[_0x12baa4(0x18e)]]||'',_0x3ba7ad=_0x4da2f6[_0x12baa4(0x19a)];}catch{}const _0x5cb847=process[_0x12baa4(0x190)]['CLAUDE_ENV_FILE'];if(_0x5cb847&&_0x5ca6f1)try{await _0x9f2329['OBxaM'](appendFile,_0x5cb847,'export\x20CLAUDE_SESSION_ID=\x22'+_0x5ca6f1+'\x22\x0a');}catch{}}try{await _0x9f2329['FuVjN'](getToken);}catch{}if(_0x5ca6f1){shouldAutoEnableAfterClear(_0x3ba7ad)&&_0x9f2329['cXsxJ'](autoEnableAfterClear,_0x5ca6f1);initBranchTracking(_0x5ca6f1);_0x9f2329[_0x12baa4(0x194)](resolveHookMode(),'on')&&enableSession(_0x5ca6f1);const _0x144469=_0x9f2329['PhQBD'](isSessionEnabled,_0x5ca6f1);try{const _0x126c04=createTelemetryCollector(_0x9f2329[_0x12baa4(0x18b)]);await _0x126c04['trackCommandStart']({'sessionId':_0x5ca6f1,'hooksEnabled':_0x144469}),await _0x126c04['trackCommandEnd'](_0x9f2329['yoUzG']);}catch{}if(_0x144469){const _0x332385=_0x9f2329['FuVjN'](getCurrentBranch),_0x46720b=_0x332385&&_0x332385!=='main'&&_0x9f2329['UKGwG'](_0x332385,_0x12baa4(0x18d))?_0x12baa4(0x193)+_0x332385+')':'',_0x3fc706={'hookSpecificOutput':{'hookEventName':_0x9f2329[_0x12baa4(0x18a)],'additionalContext':RANGER_AUTO_ENABLED_PROMPT+_0x46720b}};console[_0x12baa4(0x191)](JSON['stringify'](_0x3fc706));}}}
@@ -1 +1 @@
1
- (function(_0x59ab09,_0x459b6a){const _0x1de006=_0x45ab,_0x3ecc9b=_0x59ab09();while(!![]){try{const _0x4194d7=-parseInt(_0x1de006(0xee))/0x1*(parseInt(_0x1de006(0xf3))/0x2)+parseInt(_0x1de006(0xfb))/0x3+parseInt(_0x1de006(0xfa))/0x4*(parseInt(_0x1de006(0xe6))/0x5)+parseInt(_0x1de006(0xf7))/0x6*(-parseInt(_0x1de006(0xe5))/0x7)+-parseInt(_0x1de006(0xf8))/0x8+parseInt(_0x1de006(0xf0))/0x9*(parseInt(_0x1de006(0xfc))/0xa)+parseInt(_0x1de006(0xff))/0xb;if(_0x4194d7===_0x459b6a)break;else _0x3ecc9b['push'](_0x3ecc9b['shift']());}catch(_0x5ab2c8){_0x3ecc9b['push'](_0x3ecc9b['shift']());}}}(_0xf646,0xc81bf));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';function _0x45ab(_0x5ae573,_0x42f13c){_0x5ae573=_0x5ae573-0xe5;const _0xf6460d=_0xf646();let _0x45ab27=_0xf6460d[_0x5ae573];return _0x45ab27;}import{createTelemetryCollector}from'../utils/telemetry.js';function _0xf646(){const _0x2831fa=['incomplete','27uOBwUX','some','sessionId','2yDiPPx','success','blocked','log','226218HoEMsu','2891968wEqoWX','trackCommandStart','324172dVxPfT','3122679raRSdO','2361570IhVIAi','verification_in_progress','status','5561776xJnnVz','avEmK','https://dashboard.ranger.net/features/','21VLyBZM','5CPpSee','BMYYD','featureId','eOSrG','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','verified','agQch','stringify','1041771rTlZvy'];_0xf646=function(){return _0x2831fa;};return _0xf646();}export async function stopHook(_0x2cb330){const _0xb6a28e=_0x45ab,_0x3a92ad={'agQch':function(_0x513f9c,_0x11398f){return _0x513f9c(_0x11398f);},'NVbJP':function(_0x17bfdd){return _0x17bfdd();},'BMYYD':function(_0x54758f,_0x1a422c){return _0x54758f(_0x1a422c);},'eOSrG':function(_0x52369f,_0x4cc6fb,_0x213319){return _0x52369f(_0x4cc6fb,_0x213319);},'MhOJZ':function(_0x195e59,_0xe76c1c,_0x5afc5d,_0x1db180){return _0x195e59(_0xe76c1c,_0x5afc5d,_0x1db180);}},_0x7fd615=await getEnabledHookContext(_0x2cb330),_0x215644=_0x7fd615?.['sessionId']??null;let _0x5a6ef2=!![];if(!_0x215644){await trackStop(_0x215644,![],_0x5a6ef2);return;}try{const _0x2df499=_0x3a92ad[_0xb6a28e(0xec)](getSessionEntry,_0x215644);if(!_0x2df499){await trackStop(_0x215644,!![],_0x5a6ef2);return;}const _0x4bf344=await _0x3a92ad['NVbJP'](getToken),_0x4c5c88=_0xb6a28e(0x101)+_0x2df499['featureId'];let _0x18302c=null,_0x47ab22=![],_0x5389b6=![];if(_0x4bf344)try{const _0x249053=await _0x3a92ad[_0xb6a28e(0xe7)](getFeature,_0x2df499['featureId']);_0x18302c=_0x249053['currentSessionId']??null;const _0x1e8e04=_0x249053['checklistItems']['filter'](_0x3e40ef=>_0x3e40ef[_0xb6a28e(0xf2)]===_0x18302c);_0x47ab22=_0x1e8e04[_0xb6a28e(0xf1)](_0x41d3db=>_0x41d3db[_0xb6a28e(0xfe)]!==_0xb6a28e(0xeb)&&_0x41d3db['status']!==_0xb6a28e(0xf5)&&_0x41d3db['status']!=='closed'&&_0x41d3db[_0xb6a28e(0xfe)]!==_0xb6a28e(0xef)),_0x5389b6=_0x1e8e04[_0xb6a28e(0xf1)](_0x29360d=>_0x29360d['status']===_0xb6a28e(0xfd));}catch{}if(_0x4bf344&&_0x18302c&&_0x47ab22){if(!_0x5389b6&&shouldShowStopReminder(_0x215644)){const _0x27d0b5={'hookSpecificOutput':{'hookEventName':'Stop','additionalContext':_0xb6a28e(0xea)+_0x4c5c88}};console[_0xb6a28e(0xf6)](JSON[_0xb6a28e(0xed)](_0x27d0b5));}}if(_0x4bf344&&_0x18302c&&!_0x47ab22)try{await _0x3a92ad[_0xb6a28e(0xe9)](concludeSession,_0x2df499[_0xb6a28e(0xe8)],_0x18302c);}catch{}await _0x3a92ad['MhOJZ'](trackStop,_0x215644,!![],_0x5a6ef2);return;}catch{await trackStop(_0x215644,!![],_0x5a6ef2);return;}}async function trackStop(_0x29e51a,_0xbe5727,_0x1fbc01){const _0x49bf81=_0x45ab,_0x26948d={'LOzsP':function(_0x7f87d,_0x9f8417){return _0x7f87d??_0x9f8417;},'avEmK':_0x49bf81(0xf4)};try{const _0x500b6b=createTelemetryCollector('hook:stop');await _0x500b6b[_0x49bf81(0xf9)]({'sessionId':_0x26948d['LOzsP'](_0x29e51a,undefined),'hooksEnabled':_0xbe5727,'stopAllowed':_0x1fbc01}),await _0x500b6b['trackCommandEnd'](_0x26948d[_0x49bf81(0x100)]);}catch{}}
1
+ (function(_0x2063b6,_0x569062){const _0x2cc213=_0x3c40,_0x157fc5=_0x2063b6();while(!![]){try{const _0x215b02=parseInt(_0x2cc213(0xde))/0x1+parseInt(_0x2cc213(0xe4))/0x2*(-parseInt(_0x2cc213(0xdf))/0x3)+parseInt(_0x2cc213(0xda))/0x4+-parseInt(_0x2cc213(0xdc))/0x5*(parseInt(_0x2cc213(0xe8))/0x6)+parseInt(_0x2cc213(0xd9))/0x7+parseInt(_0x2cc213(0xe2))/0x8*(-parseInt(_0x2cc213(0xdb))/0x9)+parseInt(_0x2cc213(0xdd))/0xa;if(_0x215b02===_0x569062)break;else _0x157fc5['push'](_0x157fc5['shift']());}catch(_0x51188b){_0x157fc5['push'](_0x157fc5['shift']());}}}(_0x1e2f,0x2b027));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';function _0x1e2f(){const _0x5bc56c=['4905vlCeFx','2764200nhaiMK','165904bgroao','501531oJgggJ','rhYrT','incomplete','4408VXSPHt','checklistItems','4ChvFCM','sessionId','hook:stop','Dozsf','390kyXHQe','verification_in_progress','stringify','IcQVq','verified','featureId','currentSessionId','status','trackCommandEnd','1270647rdYWCV','901560ZQTtTZ','4491VloYiG'];_0x1e2f=function(){return _0x5bc56c;};return _0x1e2f();}function _0x3c40(_0x561a76,_0x41fe52){_0x561a76=_0x561a76-0xd7;const _0x1e2f3f=_0x1e2f();let _0x3c40a7=_0x1e2f3f[_0x561a76];return _0x3c40a7;}import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0xb7ca35){const _0xdca778=_0x3c40,_0x2faee5={'MBuvL':function(_0x349635,_0x4cf378){return _0x349635(_0x4cf378);},'DFDSV':function(_0x11606b,_0x4385d1,_0x5d76b0,_0x54d04f){return _0x11606b(_0x4385d1,_0x5d76b0,_0x54d04f);},'vLquJ':function(_0x1ed406){return _0x1ed406();},'rhYrT':'Stop','Dozsf':function(_0x4a733f,_0x2102d0){return _0x4a733f&&_0x2102d0;},'xbWWH':function(_0x56a22c,_0x2eac7a,_0x4c28de){return _0x56a22c(_0x2eac7a,_0x4c28de);}},_0x3f7690=await _0x2faee5['MBuvL'](getEnabledHookContext,_0xb7ca35),_0x346fa5=_0x3f7690?.[_0xdca778(0xe5)]??null;let _0xe0725b=!![];if(!_0x346fa5){await _0x2faee5['DFDSV'](trackStop,_0x346fa5,![],_0xe0725b);return;}try{const _0x53aaf5=getSessionEntry(_0x346fa5);if(!_0x53aaf5){await trackStop(_0x346fa5,!![],_0xe0725b);return;}const _0xaa290=await _0x2faee5['vLquJ'](getToken),_0x3dbee6='https://dashboard.ranger.net/features/'+_0x53aaf5[_0xdca778(0xed)];let _0x2a6a5d=null,_0xbde13b=![],_0x320cf1=![];if(_0xaa290)try{const _0x33701b=await getFeature(_0x53aaf5[_0xdca778(0xed)]);_0x2a6a5d=_0x33701b[_0xdca778(0xee)]??null;const _0x2c086f=_0x33701b[_0xdca778(0xe3)]['filter'](_0x3e6ac1=>_0x3e6ac1[_0xdca778(0xe5)]===_0x2a6a5d);_0xbde13b=_0x2c086f['some'](_0x423f1c=>_0x423f1c[_0xdca778(0xd7)]!==_0xdca778(0xec)&&_0x423f1c['status']!=='blocked'&&_0x423f1c['status']!=='closed'&&_0x423f1c['status']!==_0xdca778(0xe1)),_0x320cf1=_0x2c086f['some'](_0x4ebe60=>_0x4ebe60[_0xdca778(0xd7)]===_0xdca778(0xe9));}catch{}if(_0xaa290&&_0x2a6a5d&&_0xbde13b){if(!_0x320cf1&&shouldShowStopReminder(_0x346fa5)){const _0x36e127={'hookSpecificOutput':{'hookEventName':_0x2faee5[_0xdca778(0xe0)],'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'+_0x3dbee6}};console['log'](JSON[_0xdca778(0xea)](_0x36e127));}}if(_0x2faee5[_0xdca778(0xe7)](_0xaa290,_0x2a6a5d)&&!_0xbde13b)try{await _0x2faee5['xbWWH'](concludeSession,_0x53aaf5[_0xdca778(0xed)],_0x2a6a5d);}catch{}await trackStop(_0x346fa5,!![],_0xe0725b);return;}catch{await trackStop(_0x346fa5,!![],_0xe0725b);return;}}async function trackStop(_0x208688,_0x4517e9,_0x59bc2f){const _0x5e577e=_0x3c40,_0x126054={'etOBB':function(_0x443f06,_0x5cde97){return _0x443f06(_0x5cde97);},'IcQVq':function(_0x2100f8,_0x417155){return _0x2100f8??_0x417155;},'LLlKK':'success'};try{const _0x28f4ed=_0x126054['etOBB'](createTelemetryCollector,_0x5e577e(0xe6));await _0x28f4ed['trackCommandStart']({'sessionId':_0x126054[_0x5e577e(0xeb)](_0x208688,undefined),'hooksEnabled':_0x4517e9,'stopAllowed':_0x59bc2f}),await _0x28f4ed[_0x5e577e(0xd8)](_0x126054['LLlKK']);}catch{}}
@@ -1 +1 @@
1
- (function(_0x1fcff9,_0x12545e){var _0x57c501=_0xbac4,_0x1ee952=_0x1fcff9();while(!![]){try{var _0x839704=parseInt(_0x57c501(0x140))/0x1+parseInt(_0x57c501(0x13d))/0x2+-parseInt(_0x57c501(0x143))/0x3*(parseInt(_0x57c501(0x13e))/0x4)+parseInt(_0x57c501(0x141))/0x5+parseInt(_0x57c501(0x13f))/0x6+-parseInt(_0x57c501(0x142))/0x7+-parseInt(_0x57c501(0x13c))/0x8;if(_0x839704===_0x12545e)break;else _0x1ee952['push'](_0x1ee952['shift']());}catch(_0x57d925){_0x1ee952['push'](_0x1ee952['shift']());}}}(_0x2f79,0x4456d));function _0xbac4(_0x361a64,_0xac7648){_0x361a64=_0x361a64-0x13c;var _0x2f7975=_0x2f79();var _0xbac4f0=_0x2f7975[_0x361a64];return _0xbac4f0;}export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';function _0x2f79(){var _0x22e788=['4775048skrjbe','898552DJECpz','744vaIHjc','1674456MOovag','538283AhFhru','243005zcYZRM','2468844WRMEjV','1383GhimBL'];_0x2f79=function(){return _0x22e788;};return _0x2f79();}export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ function _0x54f3(_0x33979a,_0x3819bd){_0x33979a=_0x33979a-0x172;var _0x3eaff7=_0x3eaf();var _0x54f36f=_0x3eaff7[_0x33979a];return _0x54f36f;}(function(_0x5a7209,_0xb3658c){var _0x242d42=_0x54f3,_0x4b82fb=_0x5a7209();while(!![]){try{var _0x2dbbb1=-parseInt(_0x242d42(0x175))/0x1+parseInt(_0x242d42(0x172))/0x2*(-parseInt(_0x242d42(0x178))/0x3)+-parseInt(_0x242d42(0x179))/0x4+-parseInt(_0x242d42(0x17a))/0x5*(parseInt(_0x242d42(0x174))/0x6)+parseInt(_0x242d42(0x176))/0x7*(parseInt(_0x242d42(0x17c))/0x8)+parseInt(_0x242d42(0x173))/0x9*(-parseInt(_0x242d42(0x17b))/0xa)+parseInt(_0x242d42(0x177))/0xb;if(_0x2dbbb1===_0xb3658c)break;else _0x4b82fb['push'](_0x4b82fb['shift']());}catch(_0x4f4f2c){_0x4b82fb['push'](_0x4b82fb['shift']());}}}(_0x3eaf,0x9ecc1));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';function _0x3eaf(){var _0x9638a4=['34005807RGuiad','778671BxjbGh','2237948wyLfie','1309055pIVvwJ','906640UVcrJU','9099864VbtbxN','10avalVa','27dyxSFS','12pfkvDw','925601OHSjYV','7iDWqft'];_0x3eaf=function(){return _0x9638a4;};return _0x3eaf();}export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';