@ranger-testing/ranger-cli 3.1.6-alpha.4de822b-51 → 3.1.6-alpha.cbf7608-55

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 (87) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/scenarioOriginCheck.js +1 -1
  71. package/build/commands/utils/sessionCache.js +1 -1
  72. package/build/commands/utils/settings.js +1 -1
  73. package/build/commands/utils/skillContent.js +1 -1
  74. package/build/commands/utils/skills.js +1 -1
  75. package/build/commands/utils/stitchWebmFiles.js +1 -1
  76. package/build/commands/utils/telemetry.js +1 -1
  77. package/build/commands/utils/tokenRefresh.js +1 -1
  78. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  79. package/build/commands/utils/tunnelClient.js +1 -1
  80. package/build/commands/utils/userApi.js +1 -1
  81. package/build/commands/utils/version.js +1 -1
  82. package/build/commands/verifyFeature.js +1 -1
  83. package/build/commands/verifyFeatureCli.js +1 -1
  84. package/build/commands/verifyFeatureNovaCli.js +1 -1
  85. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  86. package/build/skills/ranger/SKILL.md +1 -0
  87. package/package.json +14 -5
@@ -1 +1 @@
1
- const _0x5efecc=_0xdae6;(function(_0x56bf49,_0x4703fe){const _0x9a7372=_0xdae6,_0x3317c4=_0x56bf49();while(!![]){try{const _0x4303af=parseInt(_0x9a7372(0x181))/0x1+-parseInt(_0x9a7372(0x1bf))/0x2+parseInt(_0x9a7372(0x1f2))/0x3*(parseInt(_0x9a7372(0x182))/0x4)+-parseInt(_0x9a7372(0x22f))/0x5+-parseInt(_0x9a7372(0x212))/0x6*(-parseInt(_0x9a7372(0x239))/0x7)+-parseInt(_0x9a7372(0x1bc))/0x8+parseInt(_0x9a7372(0x1ac))/0x9*(parseInt(_0x9a7372(0x21f))/0xa);if(_0x4303af===_0x4703fe)break;else _0x3317c4['push'](_0x3317c4['shift']());}catch(_0xf4dcda){_0x3317c4['push'](_0x3317c4['shift']());}}}(_0x4d20,0x4f51d));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x3f166d from'inquirer';import{createFeature,listFeatures,getFeature,updateFeature,getFeatureReport,getFeatureReportMarkdown,listFeatureSessions,startSession,concludeSession,createChecklistItem,getActionItems,getItemFeedback,softDeleteFeature,restoreFeature,updateChecklistItem}from'./utils/featureApi.js';function _0xdae6(_0x2d5851,_0x171a05){_0x2d5851=_0x2d5851-0x177;const _0x4d2066=_0x4d20();let _0xdae6c8=_0x4d2066[_0x2d5851];return _0xdae6c8;}import{getBrowserSessionSteps}from'./utils/browserSessionsApi.js';import{getApiBaseUrl}from'./utils/environment.js';import{getRangerDir}from'./utils/rangerRoot.js';import{registerSession}from'./utils/sessionCache.js';import{getEnvNames}from'./env.js';import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x4d5817=>_0x5efecc(0x1f1)+_0x4d5817+'\x1b[0m';function _0x4d20(){const _0x37355b=['EpGzN','\x20/\x20','screenshotUrls','fiOBP','Screenshot\x20','stats','WdyAi','\x20at\x20[','cTqZy','\x20—\x20','\x20verified','RANGER_TEST_USERNAME','4504896nERxHI','totalCount','\x0aCreating\x20feature\x20review...','239146cesWkw','toLocaleString','toLocaleDateString','textContent','\x20\x20\x20Updated\x20branch\x20to:\x20','pdaRS','VcEgs','location','\x20\x20\x20','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','checklistItems','\x20\x20\x20\x20\x20\x20Cancelled:\x20','write','canceledReason','browserSessionId','exit','/api/v1/mcp/browser-sessions/','agentResponse','kagjk','\x20incomplete','\x0a✅\x20Scenario\x20updated','limit','/artifacts/','PcDVe','\x20\x20\x20ID:\x20','split','Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20','\x0a❌\x20Invalid\x20scenario\x20index:\x20','dashboardUrl','currentSessionId','KppCM','bdOvK','xSjst','sgtQw','get','output','\x20--limit\x20','sessionId','KpgYJ','HvRzg','Vmvli','after','\x0a✅\x20Report\x20generated:\x20','vmyUc','\x0aConcluding\x20session...','incomplete','\x20blocked','Step\x20','\x20\x20\x20Completed:\x20','HUteh','\x1b[1m','10356UfrrtQ','SJmHm','latestReview','completedAt','RpACz','XOOMW','WJQXt','YrjSy','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','has','\x0a❌\x20Invalid\x20scenario\x20number(s):\x20','No\x20scenarios\x20found.','lKOdS','stringify','\x0a✅\x20Scenario\x20added','any','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','\x20\x20\x20Branch:\x20','linkedSession','\x20\x20\x20Description:\x20','version','reports','json','jWPre','WEIre','\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','map','trim','\x0a⚠️\x20\x20','position','gitRepoUrl','selector','19662WSlvKJ','nKGHi','\x20\x20\x20\x20\x20\x20Blocked:\x20','includeDeleted','gitBranch','canonicalFlow','ZcSaU','\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','screenshot','repeat','gnORF','offset','pipe','119030JTqtdE','JwBJY','domRef','hoWob','assetUrl','DYqix','\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','type','\x0aNo\x20feature\x20reviews\x20found.','unaddressedComments','MzAWS','description','git\x20remote\x20get-url\x20origin','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','log','excludeScenarios','185055rxaaFU','all','XBjAc','approved','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','\x0a✅\x20Session\x20','vAUFM','GJwCx','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','verification_in_progress','133nBuvpE','createdAt','parentItemId','\x0a✅\x20Restored\x20feature\x20review:\x20','\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20Approved','tsCjO','SdAKj','WVAFK','iteration','stdout','stdin','style','oNWMu','UsMEO','dHjXb','cEkcX','blockedReason','\x20—\x20no\x20comments','\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.','WKklP','):\x20\x22','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','\x0a✅\x20Feature\x20review\x20created:\x20','trimEnd','ZJSZv','\x20feature\x20review(s)\x20found','2|4|1|0|3|5','\x20\x20\x20Progress:\x20','replace','Cyirz','OedDm','Xhfmi','145779NgHFdP','128JLVltH','filter','closed','NnwFe','vHEYu','utf-8','completed','Mxpwb','length','timing','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','submittedAt','xLgXi','rrvGZ','lfgvE','join','WhyDG','Please\x20finish\x20your\x20review\x20first:','\x0a✅\x20Resumed\x20feature\x20review:\x20','Scenario\x20','iksCS','push','gutMO','EeUVu','list','Cannot\x20conclude\x20session\x20with\x20status:\x20','items','env','\x20>\x20','spatial','blocked','coordinates','status','error','name','\x0a\x20\x20\x20Scenarios:','\x20\x20\x20\x20\x20Branch:\x20','\x20concluded.','point','oWkqA','VaeYn','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','549kQVvLh','content','gBOWS','assets'];_0x4d20=function(){return _0x37355b;};return _0x4d20();}function getGitRepoUrl(){const _0x2111e2=_0x5efecc,_0x78d3d1={'lvedu':_0x2111e2(0x22b),'pdaRS':_0x2111e2(0x187)};try{const _0x1d8c43=execSync(_0x78d3d1['lvedu'],{'encoding':_0x78d3d1[_0x2111e2(0x1c4)],'stdio':[_0x2111e2(0x21e),_0x2111e2(0x21e),'pipe']})['trim']();return _0x1d8c43[_0x2111e2(0x17d)](/\.git$/,'')['replace'](/^git@github\.com:/,'github.com/')[_0x2111e2(0x17d)](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x4b23d7=_0x5efecc,_0x3ad765={'Vmvli':function(_0x40cc00,_0x5bfa16,_0x33a4d9){return _0x40cc00(_0x5bfa16,_0x33a4d9);},'PcDVe':'utf-8','WEIre':_0x4b23d7(0x21e)};try{return _0x3ad765[_0x4b23d7(0x1e7)](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x3ad765[_0x4b23d7(0x1d6)],'stdio':[_0x3ad765['WEIre'],_0x3ad765[_0x4b23d7(0x20a)],_0x3ad765['WEIre']]})[_0x4b23d7(0x20d)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0x2b6e66=_0x5efecc,_0x29e251={'WJQXt':function(_0x20a0b9,_0xc25a02,_0x290651){return _0x20a0b9(_0xc25a02,_0x290651);},'fuNFG':'utf-8'},_0x20350a=_0x29e251[_0x2b6e66(0x1f8)](join,getRangerDir(),ACTIVE_FEATURE_FILE);if(!existsSync(_0x20350a))return null;try{const _0xa2eeb6=await readFile(_0x20350a,_0x29e251['fuNFG']);return _0xa2eeb6['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x61ee0a){const _0x2412a0=_0x5efecc,_0x123a31={'dHjXb':function(_0x1e75cf){return _0x1e75cf();},'aLvfc':function(_0x5e588d,_0x3afff7,_0x47de5f){return _0x5e588d(_0x3afff7,_0x47de5f);},'MzAWS':function(_0x1e2231,_0xcae4b2,_0x62ab51,_0x39bbc4){return _0x1e2231(_0xcae4b2,_0x62ab51,_0x39bbc4);},'iksCS':_0x2412a0(0x187)},_0x3fa2c9=_0x123a31[_0x2412a0(0x248)](getRangerDir),_0x522089=join(_0x3fa2c9,ACTIVE_FEATURE_FILE);!existsSync(_0x3fa2c9)&&await _0x123a31['aLvfc'](mkdir,_0x3fa2c9,{'recursive':!![]}),await _0x123a31[_0x2412a0(0x229)](writeFile,_0x522089,_0x61ee0a,_0x123a31[_0x2412a0(0x196)]);}function getProgressDisplay(_0x42e4b0){const _0x30d18d=_0x5efecc,_0xaf2cf1={'CVkIE':function(_0x4cf2f0,_0x36928e){return _0x4cf2f0+_0x36928e;},'nKGHi':function(_0xac437d,_0x343b0e){return _0xac437d+_0x343b0e;},'GJwCx':function(_0x48b468,_0x18a784){return _0x48b468>_0x18a784;},'vmyUc':function(_0x1b4fe8,_0x37bf75){return _0x1b4fe8>_0x37bf75;}},_0x1fd6c1=_0x42e4b0['verifiedItems']||0x0,_0x462c56=_0x42e4b0['verificationInProgressItems']||0x0,_0x97e2dd=_0x42e4b0['blockedItems']||0x0,_0x54e9f7=_0x42e4b0['incompleteItems']||0x0,_0x3378b3=_0x42e4b0['pendingItems']||0x0,_0x364526=_0xaf2cf1['CVkIE'](_0xaf2cf1[_0x30d18d(0x213)](_0x1fd6c1,_0x462c56),_0x97e2dd)+_0x54e9f7+_0x3378b3;if(_0x364526===0x0)return'-';const _0x2e511d=0xa,_0x3dccbd=Math['round'](_0x1fd6c1/_0x364526*_0x2e511d),_0x502992='█'[_0x30d18d(0x21b)](_0x3dccbd)+'░'['repeat'](_0x2e511d-_0x3dccbd),_0xcccfae=[];if(_0xaf2cf1[_0x30d18d(0x236)](_0x97e2dd,0x0))_0xcccfae['push'](_0x97e2dd+_0x30d18d(0x1ed));if(_0x54e9f7>0x0)_0xcccfae[_0x30d18d(0x197)](_0x54e9f7+_0x30d18d(0x1d2));if(_0xaf2cf1[_0x30d18d(0x1ea)](_0x462c56,0x0))_0xcccfae['push'](_0x462c56+'\x20in\x20progress');const _0x38775d=_0xaf2cf1['GJwCx'](_0xcccfae[_0x30d18d(0x18a)],0x0)?'\x20('+_0xcccfae[_0x30d18d(0x191)](',\x20')+')':'';return _0x502992+'\x20'+_0x1fd6c1+'/'+_0x364526+_0x30d18d(0x1ba)+_0x38775d;}function getCurrentSessionItems(_0x3d646e,_0x2adc2c){const _0x30d6a0=_0x5efecc;if(!_0x3d646e['currentSessionId'])return _0x2adc2c[_0x30d6a0(0x183)](_0x35415f=>!_0x35415f['sessionId']);return _0x2adc2c['filter'](_0x421799=>_0x421799[_0x30d6a0(0x1e4)]===_0x3d646e[_0x30d6a0(0x1dc)]||!_0x421799[_0x30d6a0(0x1e4)]);}function displayFeature(_0x84a1f7,_0x500901){const _0x12d35c=_0x5efecc,_0x335ec5={'vQrDr':_0x12d35c(0x1a5),'RpACz':function(_0x56a8cd,_0x4ffced){return _0x56a8cd===_0x4ffced;},'Mxpwb':function(_0x3564fc,_0x1f4a29){return _0x3564fc===_0x1f4a29;},'QnMkP':_0x12d35c(0x184),'xWJSi':'\x20[has\x20reviewer\x20feedback]','vAUFM':'blocked','DFOJv':_0x12d35c(0x1ec),'umOIY':_0x12d35c(0x232)};console['log']('\x0a'+_0x84a1f7['name']+'\x20('+_0x84a1f7[_0x12d35c(0x1db)]+')');_0x84a1f7[_0x12d35c(0x1b5)]&&console[_0x12d35c(0x22d)](_0x12d35c(0x17c)+getProgressDisplay(_0x84a1f7['stats']));_0x84a1f7[_0x12d35c(0x22a)]&&console[_0x12d35c(0x22d)](_0x12d35c(0x205)+_0x84a1f7['description']);_0x84a1f7[_0x12d35c(0x210)]&&console[_0x12d35c(0x22d)]('\x20\x20\x20Repository:\x20'+_0x84a1f7['gitRepoUrl']);_0x84a1f7['gitBranch']&&console['log']('\x20\x20\x20Branch:\x20'+_0x84a1f7['gitBranch']);console[_0x12d35c(0x22d)]('\x20\x20\x20Created:\x20'+new Date(_0x84a1f7['createdAt'])['toLocaleString']());_0x84a1f7[_0x12d35c(0x1f5)]&&console[_0x12d35c(0x22d)]('\x20\x20\x20Completed:\x20'+new Date(_0x84a1f7['completedAt'])['toLocaleString']());if(_0x500901&&_0x500901['length']>0x0){console['log'](_0x335ec5['vQrDr']);for(let _0x4c87de=0x0;_0x4c87de<_0x500901['length'];_0x4c87de++){const _0x28730a=_0x500901[_0x4c87de];let _0x57a9b6;if(_0x28730a[_0x12d35c(0x1a2)]==='closed'&&_0x28730a['terminalReason']===_0x12d35c(0x232))_0x57a9b6='✅';else{if(_0x28730a[_0x12d35c(0x1a2)]==='verified')_0x57a9b6='🟢';else{if(_0x335ec5[_0x12d35c(0x1f6)](_0x28730a['status'],_0x12d35c(0x1ec)))_0x57a9b6='🟠';else{if(_0x335ec5['RpACz'](_0x28730a[_0x12d35c(0x1a2)],_0x12d35c(0x1a0)))_0x57a9b6='🛑';else{if(_0x28730a[_0x12d35c(0x1a2)]===_0x12d35c(0x184))_0x57a9b6='⛔';else _0x335ec5[_0x12d35c(0x189)](_0x28730a['status'],'verification_in_progress')?_0x57a9b6='⏳':_0x57a9b6='⬜';}}}}const _0x522049=_0x28730a[_0x12d35c(0x206)]>0x1?'\x20(v'+_0x28730a[_0x12d35c(0x206)]+')':'',_0x16d3cb=_0x28730a[_0x12d35c(0x206)]>0x1&&_0x28730a[_0x12d35c(0x23b)]&&_0x28730a[_0x12d35c(0x1a2)]!==_0x335ec5['QnMkP']&&_0x28730a['status']!=='verified'?_0x335ec5['xWJSi']:'';console[_0x12d35c(0x22d)](_0x12d35c(0x1c7)+(_0x4c87de+0x1)+'.\x20'+_0x57a9b6+'\x20'+_0x28730a[_0x12d35c(0x22a)]+_0x522049+_0x16d3cb);_0x28730a[_0x12d35c(0x1a2)]===_0x335ec5[_0x12d35c(0x235)]&&_0x28730a['blockedReason']&&console['log'](_0x12d35c(0x214)+_0x28730a[_0x12d35c(0x24a)]);_0x335ec5['Mxpwb'](_0x28730a[_0x12d35c(0x1a2)],_0x335ec5['DFOJv'])&&_0x28730a['incompleteReason']&&console[_0x12d35c(0x22d)]('\x20\x20\x20\x20\x20\x20Incomplete:\x20'+_0x28730a['incompleteReason']);if(_0x28730a[_0x12d35c(0x1a2)]==='closed'&&_0x28730a['terminalReason']===_0x335ec5['umOIY'])console['log'](_0x12d35c(0x23e));else _0x28730a[_0x12d35c(0x1a2)]===_0x335ec5['QnMkP']&&_0x28730a[_0x12d35c(0x1cc)]&&console['log'](_0x12d35c(0x1ca)+_0x28730a['canceledReason']);}}}export async function featureCreate(_0x23dcd6,_0x17172c){const _0x587575=_0x5efecc,_0x134164={'XOOMW':function(_0x122225,_0x30ed11){return _0x122225===_0x30ed11;},'hizCV':function(_0x57906c){return _0x57906c();},'LQyDY':function(_0x4a8d2f){return _0x4a8d2f();},'ASWBm':_0x587575(0x1be),'wzNSM':function(_0x4f97d1,_0x5e4529,_0x10473f){return _0x4f97d1(_0x5e4529,_0x10473f);}},{envNames:_0x53c606}=await getEnvNames();if(_0x134164['XOOMW'](_0x53c606['length'],0x0)&&!process[_0x587575(0x19d)][_0x587575(0x1bb)]){let _0x2a3c70=0x0;try{_0x2a3c70=(await _0x134164['hizCV'](listCloudProfiles))[_0x587575(0x18a)];}catch{_0x2a3c70=0x1;}_0x134164[_0x587575(0x1f7)](_0x2a3c70,0x0)&&console['warn']('\x0a'+formatProfileRequiredMessage(_0x2387e3=>bold(_0x2387e3)));}const _0x5cc702=_0x17172c['scenarios']?_0x17172c['scenarios'][_0x587575(0x20c)](_0x540fa0=>_0x540fa0['trim']()):[],_0x19b5ab=_0x134164['LQyDY'](getGitRepoUrl),_0x3d587a=getGitBranch();console[_0x587575(0x22d)](_0x134164['ASWBm']);const _0x5850aa=await createFeature({'name':_0x23dcd6,'description':_0x17172c[_0x587575(0x22a)],'checklist':_0x5cc702,'gitRepoUrl':_0x19b5ab,'gitBranch':_0x3d587a});await setActiveFeatureId(_0x5850aa['id']),await tryStartCurrentSession(_0x5850aa['id']);const _0x5ca6bb=process['env']['CLAUDE_SESSION_ID'];_0x5ca6bb&&_0x134164['wzNSM'](registerSession,_0x5ca6bb,_0x5850aa['id']),console[_0x587575(0x22d)](_0x587575(0x177)+_0x5850aa['id']),displayFeature(_0x5850aa,_0x5850aa['checklistItems']),console['log'](_0x587575(0x18c));}export async function featureList(_0x4535dc){const _0x5ea0a8=_0x5efecc,_0x40585d={'gutMO':function(_0x35fa17){return _0x35fa17();},'ZJSZv':_0x5ea0a8(0x227),'hJReR':_0x5ea0a8(0x17b),'lKOdS':function(_0x130f82,_0x2b57ec){return _0x130f82(_0x2b57ec);},'bdOvK':function(_0x5e41a8,_0x3669fd){return _0x5e41a8+_0x3669fd;},'ZLmmQ':function(_0x3a3890,_0x538f09){return _0x3a3890<_0x538f09;},'fNalq':'\x20--current-branch'},_0x1e6ea7={'limit':_0x4535dc[_0x5ea0a8(0x1d4)]??0xa,'offset':_0x4535dc[_0x5ea0a8(0x21d)]??0x0,'includeDeleted':_0x4535dc[_0x5ea0a8(0x215)]};_0x4535dc['currentBranch']&&(_0x1e6ea7['gitRepoUrl']=getGitRepoUrl(),_0x1e6ea7[_0x5ea0a8(0x216)]=_0x40585d[_0x5ea0a8(0x198)](getGitBranch));const _0x117008=await listFeatures(_0x1e6ea7);if(_0x117008[_0x5ea0a8(0x19c)]['length']===0x0){console[_0x5ea0a8(0x22d)](_0x40585d[_0x5ea0a8(0x179)]);return;}const _0x52155f=_0x117008['totalCount']>_0x117008[_0x5ea0a8(0x19c)]['length']?'Showing\x20'+_0x117008['items']['length']+'\x20of\x20'+_0x117008['totalCount']:_0x117008['totalCount']+_0x5ea0a8(0x17a);console[_0x5ea0a8(0x22d)]('\x0a'+_0x52155f+':\x0a');for(const _0x2fa8f7 of _0x117008['items']){const _0x512e97=_0x40585d['hJReR'][_0x5ea0a8(0x1d8)]('|');let _0x54b122=0x0;while(!![]){switch(_0x512e97[_0x54b122++]){case'0':_0x2fa8f7['gitBranch']&&console['log'](_0x5ea0a8(0x203)+_0x2fa8f7[_0x5ea0a8(0x216)]);continue;case'1':_0x2fa8f7['stats']&&console['log']('\x20\x20\x20Progress:\x20'+_0x40585d[_0x5ea0a8(0x1fe)](getProgressDisplay,_0x2fa8f7['stats']));continue;case'2':console[_0x5ea0a8(0x22d)](''+_0x2fa8f7[_0x5ea0a8(0x1a4)]);continue;case'3':console['log']('\x20\x20\x20Created:\x20'+new Date(_0x2fa8f7['createdAt'])['toLocaleDateString']());continue;case'4':console[_0x5ea0a8(0x22d)](_0x5ea0a8(0x1d7)+_0x2fa8f7['id']);continue;case'5':console[_0x5ea0a8(0x22d)]('');continue;}break;}}const _0x4979f7=_0x1e6ea7['limit']??0xa,_0x10df4b=_0x40585d[_0x5ea0a8(0x1de)](_0x1e6ea7[_0x5ea0a8(0x21d)]??0x0,_0x117008['items'][_0x5ea0a8(0x18a)]);if(_0x40585d['ZLmmQ'](_0x10df4b,_0x117008[_0x5ea0a8(0x1bd)])){const _0x30f4f0=_0x4979f7!==0xa?_0x5ea0a8(0x1e3)+_0x4979f7:'',_0x1d6d12=_0x4535dc['currentBranch']?_0x40585d['fNalq']:'',_0x386454=_0x4535dc[_0x5ea0a8(0x215)]?'\x20--include-deleted':'';console['log']('Next\x20page:\x20ranger\x20list\x20--offset\x20'+_0x10df4b+_0x30f4f0+_0x1d6d12+_0x386454);}}export async function featureShow(_0x31fbd0){const _0x3362f8=_0x5efecc,_0x210ed9=_0x31fbd0||await getActiveFeatureId();if(!_0x210ed9)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 _0x59052b=await getFeature(_0x210ed9);displayFeature(_0x59052b,_0x59052b[_0x3362f8(0x1c9)]);}export async function featureResume(_0x34eb81){const _0x455186=_0x5efecc,_0x43b863={'KpgYJ':function(_0x52283a,_0x477db8){return _0x52283a(_0x477db8);},'gkEnD':function(_0x5d4ad9){return _0x5d4ad9();},'cTqZy':function(_0x2079ac,_0x3c7507,_0x4ed013){return _0x2079ac(_0x3c7507,_0x4ed013);},'vHEYu':function(_0x21ea27,_0x1f7f72,_0x2717e8){return _0x21ea27(_0x1f7f72,_0x2717e8);},'ODqvI':'Not\x20in\x20a\x20git\x20repository.','oWkqA':function(_0x1bb78c,_0x593e6c){return _0x1bb78c||_0x593e6c;},'WhyDG':_0x455186(0x201),'Xhfmi':function(_0x93333c,_0x5d2bc0){return _0x93333c(_0x5d2bc0);},'DYqix':function(_0x320e32,_0x526d25){return _0x320e32===_0x526d25;},'SJmHm':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','mKrBH':_0x455186(0x1ab),'lfgvE':_0x455186(0x1c8),'hdHpR':_0x455186(0x19a),'HntbK':function(_0x891e3c,_0xb0f356){return _0x891e3c!==_0xb0f356;},'VaeYn':function(_0x43c232,_0x5ed381,_0x25c9c0){return _0x43c232(_0x5ed381,_0x25c9c0);},'KLfjX':function(_0x5de0ca,_0x1e0884,_0x573ce0){return _0x5de0ca(_0x1e0884,_0x573ce0);},'UsMEO':function(_0x3e1cc7,_0x4738ed,_0x46a0db){return _0x3e1cc7(_0x4738ed,_0x46a0db);}};if(_0x34eb81){const _0x245392=await getFeature(_0x34eb81);await _0x43b863[_0x455186(0x1e5)](setActiveFeatureId,_0x245392['id']);const _0x4444fa=_0x43b863['gkEnD'](getGitBranch);_0x4444fa&&_0x4444fa!==_0x245392[_0x455186(0x216)]&&(await _0x43b863[_0x455186(0x1b8)](updateFeature,_0x245392['id'],{'gitBranch':_0x4444fa}),console[_0x455186(0x22d)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x4444fa));console['log'](_0x455186(0x194)+_0x245392[_0x455186(0x1a4)]+'\x20('+_0x245392['id']+')'),await tryStartCurrentSession(_0x245392['id']);const _0x599c62=process['env']['CLAUDE_SESSION_ID'];_0x599c62&&_0x43b863[_0x455186(0x1b8)](registerSession,_0x599c62,_0x245392['id']);_0x43b863[_0x455186(0x186)](displayFeature,_0x245392,_0x245392[_0x455186(0x1c9)]),await _0x43b863['KpgYJ'](printFeedbackNudge,_0x245392['id']);return;}const _0xc84ad0=getGitRepoUrl(),_0x4c55a3=getGitBranch();if(!_0xc84ad0&&!_0x4c55a3)throw new Error(_0x43b863['ODqvI']);console[_0x455186(0x22d)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x43b863[_0x455186(0x1a9)](_0xc84ad0,_0x43b863[_0x455186(0x192)])+_0x455186(0x1b1)+(_0x4c55a3||_0x43b863['WhyDG'])+'...');const _0x489078=await _0x43b863[_0x455186(0x180)](listFeatures,{'gitRepoUrl':_0xc84ad0,'gitBranch':_0x4c55a3}),_0x377305=_0x489078['items']['filter'](_0x47e86a=>_0x47e86a[_0x455186(0x1a2)]?_0x47e86a['status']!=='verified':!_0x47e86a[_0x455186(0x1f5)]);if(_0x43b863[_0x455186(0x224)](_0x377305[_0x455186(0x18a)],0x0)){console['log'](_0x43b863[_0x455186(0x1f3)]),console[_0x455186(0x22d)](_0x43b863['mKrBH']);return;}let _0x4d3cef;if(_0x43b863[_0x455186(0x224)](_0x377305[_0x455186(0x18a)],0x1))_0x4d3cef=_0x377305[0x0];else{const _0x287b29=process[_0x455186(0x244)]['isTTY']&&process[_0x455186(0x243)]['isTTY'];if(!_0x287b29){console['log'](_0x43b863[_0x455186(0x190)]);for(const _0x482e37 of _0x377305){console[_0x455186(0x22d)]('\x20\x20'+_0x482e37[_0x455186(0x1a4)]),console[_0x455186(0x22d)]('\x20\x20\x20\x20\x20ID:\x20'+_0x482e37['id']),_0x482e37['stats']&&console[_0x455186(0x22d)]('\x20\x20\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x482e37[_0x455186(0x1b5)])),_0x482e37[_0x455186(0x216)]&&console[_0x455186(0x22d)](_0x455186(0x1a6)+_0x482e37['gitBranch']);}throw new Error('Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>');}const {selected:_0x37419e}=await _0x3f166d['prompt']([{'type':_0x43b863['hdHpR'],'name':'selected','message':_0x455186(0x202),'choices':_0x377305[_0x455186(0x20c)](_0x523d04=>({'name':_0x523d04['name']+'\x20('+_0x523d04['id']+')','value':_0x523d04['id']}))}]);_0x4d3cef=_0x377305['find'](_0x2d2b3c=>_0x2d2b3c['id']===_0x37419e);}await _0x43b863['KpgYJ'](setActiveFeatureId,_0x4d3cef['id']);_0x4c55a3&&_0x43b863['HntbK'](_0x4c55a3,_0x4d3cef['gitBranch'])&&(await _0x43b863[_0x455186(0x1aa)](updateFeature,_0x4d3cef['id'],{'gitBranch':_0x4c55a3}),console[_0x455186(0x22d)](_0x455186(0x1c3)+_0x4c55a3));console['log']('\x0a✅\x20Resumed\x20feature\x20review:\x20'+_0x4d3cef['name']+'\x20('+_0x4d3cef['id']+')'),await _0x43b863[_0x455186(0x1e5)](tryStartCurrentSession,_0x4d3cef['id']);const _0x16dcf3=await getFeature(_0x4d3cef['id']),_0x5eaf69=process['env']['CLAUDE_SESSION_ID'];_0x5eaf69&&_0x43b863['KLfjX'](registerSession,_0x5eaf69,_0x16dcf3['id']),_0x43b863[_0x455186(0x247)](displayFeature,_0x16dcf3,_0x16dcf3['checklistItems']),await printFeedbackNudge(_0x16dcf3['id']);}async function printFeedbackNudge(_0x30933f){const _0x1efe06=_0x5efecc,_0x15946d={'KXqqL':function(_0x468b46,_0x2a24e9,_0x49e8fd){return _0x468b46(_0x2a24e9,_0x49e8fd);},'ZqeqC':function(_0x5c59c2,_0x38061a){return _0x5c59c2>_0x38061a;},'HUteh':_0x1efe06(0x24c)};try{const {items:_0x34d013}=await getActionItems(_0x30933f);let _0x3baa3f=0x0,_0x3b4c57=0x0;for(const _0x440092 of _0x34d013){const _0x473599=await _0x15946d['KXqqL'](getItemFeedback,_0x30933f,_0x440092['id']);_0x15946d['ZqeqC'](_0x473599['unaddressedComments'][_0x1efe06(0x18a)],0x0)&&(_0x3baa3f+=_0x473599['unaddressedComments'][_0x1efe06(0x18a)],_0x3b4c57++);}_0x3baa3f>0x0&&(console[_0x1efe06(0x22d)](_0x1efe06(0x20e)+_0x3baa3f+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x3b4c57+'\x20scenario(s).'),console['log'](_0x15946d[_0x1efe06(0x1f0)]));}catch{}}async function tryStartCurrentSession(_0x2a5f86){const _0xa695a0=_0x5efecc,_0x3f5c0a={'yBiLo':function(_0x5715dc,_0x399b2b){return _0x5715dc(_0x399b2b);}};try{const {sessions:_0x3f9ae2}=await _0x3f5c0a['yBiLo'](listFeatureSessions,_0x2a5f86),_0x4b0a15=_0x3f9ae2['find'](_0x2342cd=>_0x2342cd['status']==='ready');_0x4b0a15&&(await startSession(_0x2a5f86,_0x4b0a15['id']),console[_0xa695a0(0x22d)]('\x20\x20\x20▶️\x20Started\x20session\x20'+_0x4b0a15[_0xa695a0(0x242)]));}catch{}}export async function featureReport(_0x10a815,_0x4b42c3){const _0x2633c1=_0x5efecc,_0x46b43e={'oNWMu':function(_0x3552f5){return _0x3552f5();},'gnORF':function(_0x53702c,_0x2e6dda,_0x58273b){return _0x53702c(_0x2e6dda,_0x58273b);},'xLgXi':function(_0x5c7c2f,_0x4715c1,_0xf4e199,_0x174389){return _0x5c7c2f(_0x4715c1,_0xf4e199,_0x174389);},'mUDvc':_0x2633c1(0x207),'JwBJY':function(_0x595a10,_0x2457a2){return _0x595a10(_0x2457a2);},'gBOWS':_0x2633c1(0x187)},_0xe8911b=_0x10a815||await _0x46b43e[_0x2633c1(0x246)](getActiveFeatureId);if(!_0xe8911b)throw new Error(_0x2633c1(0x233));console['log']('\x0aGenerating\x20report...');const _0x5f0be7=await _0x46b43e[_0x2633c1(0x21c)](getFeatureReportMarkdown,_0xe8911b,{'style':_0x4b42c3[_0x2633c1(0x245)]}),_0x28b21c=_0x4b42c3[_0x2633c1(0x1e2)]||_0x46b43e[_0x2633c1(0x18e)](join,getRangerDir(),_0x46b43e['mUDvc'],_0xe8911b+'.md'),_0x3f2db4=join(_0x28b21c,'..');!_0x46b43e[_0x2633c1(0x220)](existsSync,_0x3f2db4)&&await mkdir(_0x3f2db4,{'recursive':!![]}),await writeFile(_0x28b21c,_0x5f0be7,_0x46b43e[_0x2633c1(0x1ae)]),console['log'](_0x2633c1(0x1e9)+_0x28b21c);}function getScenarioResult(_0xfea360){const _0x288e2b=_0x5efecc,_0x3c3019={'mhbiZ':function(_0x2d5c37,_0x430d89){return _0x2d5c37===_0x430d89;},'WKklP':'closed','fiOBP':'in_progress'};if(_0x3c3019['mhbiZ'](_0xfea360['status'],_0x3c3019[_0x288e2b(0x24d)]))return _0xfea360['terminalReason']??'closed';if(_0xfea360['status']===_0x288e2b(0x238))return _0x3c3019[_0x288e2b(0x1b3)];return _0xfea360['status'];}function getScenarioRationale(_0x1d8731,_0x31ebbb){const _0x1402f9=_0x5efecc,_0x4e2a2c='0|1|3|4|5|2'[_0x1402f9(0x1d8)]('|');let _0x34a6ca=0x0;while(!![]){switch(_0x4e2a2c[_0x34a6ca++]){case'0':if(_0x31ebbb)return _0x31ebbb;continue;case'1':if(_0x1d8731[_0x1402f9(0x24a)])return _0x1d8731['blockedReason'];continue;case'2':return null;case'3':if(_0x1d8731['incompleteReason'])return _0x1d8731['incompleteReason'];continue;case'4':if(_0x1d8731[_0x1402f9(0x1cc)])return _0x1d8731['canceledReason'];continue;case'5':if(_0x1d8731['notes'])return _0x1d8731['notes'];continue;}break;}}export async function featureReportPrDescription(_0xff0781,_0x236702){const _0x51bb7d=_0x5efecc,_0x46729d={'xSjst':function(_0x58afa2,_0xf7cd7,_0x4e88dd){return _0x58afa2(_0xf7cd7,_0x4e88dd);},'YOPnJ':_0x51bb7d(0x20b),'hoWob':function(_0xb4cff5,_0x314a66){return _0xb4cff5>_0x314a66;},'WVAFK':'\x0aAvailable\x20scenarios:','Cyirz':function(_0x532c71,_0x185591){return _0x532c71<_0x185591;},'xJyFM':function(_0x44f466,_0x380b3a){return _0x44f466===_0x380b3a;},'hwLOh':'\x0a❌\x20All\x20scenarios\x20were\x20excluded.','kagjk':function(_0x192bec,_0x107542,_0x204fae,_0x2323f8){return _0x192bec(_0x107542,_0x204fae,_0x2323f8);},'PxbvL':function(_0x5aa624,_0x1301bb,_0x246000){return _0x5aa624(_0x1301bb,_0x246000);}},_0x1fc487=_0xff0781||await getActiveFeatureId();if(!_0x1fc487)throw new Error(_0x51bb7d(0x233));const _0x1c39a9=await getFeature(_0x1fc487),_0x36a164=_0x1c39a9[_0x51bb7d(0x1c9)]||[],_0x48c7f3=_0x46729d[_0x51bb7d(0x1df)](getCurrentSessionItems,_0x1c39a9,_0x36a164);_0x48c7f3['length']===0x0&&(console[_0x51bb7d(0x1a3)](_0x46729d['YOPnJ']),process['exit'](0x1));const _0x2f1c67=_0x236702[_0x51bb7d(0x22e)]??[],_0x26aad1=_0x2f1c67['filter'](_0x116d6b=>!Number['isInteger'](_0x116d6b)||_0x116d6b<0x1||_0x116d6b>_0x48c7f3[_0x51bb7d(0x18a)]);if(_0x46729d[_0x51bb7d(0x222)](_0x26aad1['length'],0x0)){console[_0x51bb7d(0x1a3)](_0x51bb7d(0x1fc)+_0x26aad1[_0x51bb7d(0x191)](',\x20')),console['log'](_0x46729d[_0x51bb7d(0x241)]);for(let _0x3f6c12=0x0;_0x46729d[_0x51bb7d(0x17e)](_0x3f6c12,_0x48c7f3[_0x51bb7d(0x18a)]);_0x3f6c12++){console['log']('\x20\x20'+(_0x3f6c12+0x1)+'.\x20'+_0x48c7f3[_0x3f6c12]['description']);}process['exit'](0x1);}const _0xfb3279=new Set(_0x2f1c67['map'](_0x222d9a=>_0x222d9a-0x1)),_0x3658ac=_0x48c7f3['filter']((_0x2ac0b2,_0x4cda87)=>!_0xfb3279[_0x51bb7d(0x1fb)](_0x4cda87));_0x46729d['xJyFM'](_0x3658ac[_0x51bb7d(0x18a)],0x0)&&(console['error'](_0x46729d['hwLOh']),process['exit'](0x1));if(_0x236702[_0x51bb7d(0x208)])await _0x46729d[_0x51bb7d(0x1d1)](outputJsonReport,_0x1fc487,_0x1c39a9,_0x3658ac);else{const _0x13953b=await _0x46729d['PxbvL'](getFeatureReportMarkdown,_0x1fc487,{'itemIds':_0x3658ac['map'](_0x1dd929=>_0x1dd929['id'])});process[_0x51bb7d(0x243)][_0x51bb7d(0x1cb)](_0x13953b[_0x51bb7d(0x178)]()+'\x0a');}}async function outputJsonReport(_0x317fec,_0x18204b,_0x5d11fe){const _0x2220f9=_0x5efecc,_0x56bc98={'vrVdp':function(_0x9ea42b,_0x1744d8){return _0x9ea42b===_0x1744d8;},'tsCjO':function(_0x11e6f2,_0x44e4ba){return _0x11e6f2(_0x44e4ba);},'EeUVu':function(_0x466785,_0x103112,_0xa50803){return _0x466785(_0x103112,_0xa50803);},'LRyeK':function(_0x378c68){return _0x378c68();},'HXHtB':function(_0x127ec0,_0x5e065b){return _0x127ec0+_0x5e065b;}},_0x50f7fe=_0x56bc98['LRyeK'](getApiBaseUrl),_0x1b6887=await getFeatureReport(_0x317fec),_0x236d46=new Map(_0x1b6887['checklistItems'][_0x2220f9(0x20c)](_0x24f3ab=>[_0x24f3ab['id'],_0x24f3ab])),_0x5f3fe7=await Promise[_0x2220f9(0x230)](_0x5d11fe['map'](async _0x594884=>{const _0x313a9d=_0x2220f9,_0x1fe40a=_0x236d46[_0x313a9d(0x1e1)](_0x594884['id']),_0x216cb2=_0x1fe40a?.[_0x313a9d(0x204)]??null;let _0x2071d3=[];if(_0x594884[_0x313a9d(0x1cd)])try{const {steps:_0x17fcda}=await getBrowserSessionSteps(_0x594884[_0x313a9d(0x1cd)]);_0x17fcda[_0x313a9d(0x18a)]>0x0&&(_0x2071d3=_0x17fcda[_0x313a9d(0x20c)](_0x52655c=>{const _0x30a9e5=_0x313a9d,_0x549d69=_0x52655c[_0x30a9e5(0x1af)]['find'](_0x2e4669=>_0x2e4669['assetType']==='screenshot'&&_0x2e4669[_0x30a9e5(0x18b)]===_0x30a9e5(0x1e8))??_0x52655c[_0x30a9e5(0x1af)]['find'](_0x457565=>_0x457565['assetType']===_0x30a9e5(0x21a));let _0x2f09e8=null,_0x1cf562=null;if(_0x549d69){const _0x1f45ce=_0x549d69['storage'][_0x30a9e5(0x1c6)]['split']('/')['pop']();_0x2f09e8=_0x50f7fe+_0x30a9e5(0x1cf)+_0x594884[_0x30a9e5(0x1cd)]+_0x30a9e5(0x1d5)+_0x1f45ce,_0x1f45ce&&(_0x1cf562=_0x1f45ce['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')['replace'](/[-_]/g,'\x20'));}return{'description':_0x1cf562||_0x52655c['description']||_0x52655c['stepName']||_0x30a9e5(0x1ee)+_0x52655c[_0x30a9e5(0x20f)],'screenshot':_0x2f09e8,'is_key_step':_0x52655c['isKeyStep']};}));}catch{}return _0x56bc98['vrVdp'](_0x2071d3[_0x313a9d(0x18a)],0x0)&&_0x216cb2?.['screenshotUrls']&&(_0x2071d3=_0x216cb2[_0x313a9d(0x1b2)]['map']((_0x325ca7,_0xac5fb2)=>({'description':_0x313a9d(0x1b4)+(_0xac5fb2+0x1),'screenshot':_0x325ca7,'is_key_step':![]}))),{'description':_0x594884[_0x313a9d(0x22a)],'result':_0x56bc98[_0x313a9d(0x23f)](getScenarioResult,_0x594884),'rationale':_0x56bc98[_0x313a9d(0x199)](getScenarioRationale,_0x594884,_0x216cb2?.[_0x313a9d(0x1d0)]),'steps':_0x2071d3};})),_0xca27={'url':_0x18204b['dashboardUrl'],'scenarios':_0x5f3fe7};process[_0x2220f9(0x243)]['write'](_0x56bc98['HXHtB'](JSON[_0x2220f9(0x1ff)](_0xca27,null,0x2),'\x0a'));}export async function featureConcludeSession(_0x25d7e1){const _0x445038=_0x5efecc,_0x4db3a3={'SdAKj':function(_0x48144b){return _0x48144b();},'xoUEA':_0x445038(0x1fa),'HvRzg':function(_0x3fb871,_0x47d968){return _0x3fb871(_0x47d968);},'sgtQw':function(_0x31ff47,_0x329804){return _0x31ff47===_0x329804;},'fCqXm':'\x0a✅\x20Session\x20is\x20already\x20completed.','gWEtO':'in_progress'},_0x4d725b=_0x25d7e1||await _0x4db3a3[_0x445038(0x240)](getActiveFeatureId);if(!_0x4d725b)throw new Error(_0x4db3a3['xoUEA']);const _0x4252bf=await _0x4db3a3[_0x445038(0x1e6)](getFeature,_0x4d725b);if(!_0x4252bf[_0x445038(0x1dc)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x1493ea}=await _0x4db3a3[_0x445038(0x1e6)](listFeatureSessions,_0x4d725b),_0x1c31e9=_0x1493ea['find'](_0x4f4f80=>_0x4f4f80['id']===_0x4252bf['currentSessionId']);if(!_0x1c31e9)throw new Error('Current\x20session\x20not\x20found.');if(_0x4db3a3[_0x445038(0x1e0)](_0x1c31e9[_0x445038(0x1a2)],_0x445038(0x188))){console[_0x445038(0x22d)](_0x4db3a3['fCqXm']);return;}if(_0x1c31e9[_0x445038(0x1a2)]!==_0x4db3a3['gWEtO'])throw new Error(_0x445038(0x19b)+_0x1c31e9[_0x445038(0x1a2)]);console[_0x445038(0x22d)](_0x445038(0x1eb)),await concludeSession(_0x4d725b,_0x4252bf['currentSessionId']),console['log'](_0x445038(0x234)+_0x1c31e9['iteration']+_0x445038(0x1a7)),console[_0x445038(0x22d)]('\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.');}export async function featureSessions(_0x29f46a){const _0x4561e2=_0x5efecc,_0x151d52={'lNXJV':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','ZcSaU':function(_0x8995b,_0x103037){return _0x8995b(_0x103037);},'Ihtxf':function(_0x212990,_0x392272){return _0x212990===_0x392272;},'fbOyT':function(_0xcf1afb,_0x50a125){return _0xcf1afb===_0x50a125;}},_0x10502f=_0x29f46a||await getActiveFeatureId();if(!_0x10502f)throw new Error(_0x151d52['lNXJV']);const _0x2ffd66=await getFeature(_0x10502f);console[_0x4561e2(0x22d)](_0x4561e2(0x237)+_0x2ffd66['name']+'\x0a');const {sessions:_0x31d12c}=await _0x151d52[_0x4561e2(0x218)](listFeatureSessions,_0x10502f);if(_0x31d12c['length']===0x0){console[_0x4561e2(0x22d)]('No\x20sessions\x20found.');return;}for(const _0x285467 of _0x31d12c){const _0x2ecee9=_0x151d52['Ihtxf'](_0x285467['status'],'completed')?'✅':_0x151d52['fbOyT'](_0x285467[_0x4561e2(0x1a2)],'in_progress')?'🔄':'▶️';console[_0x4561e2(0x22d)](_0x2ecee9+'\x20Session\x20'+_0x285467[_0x4561e2(0x242)]+'\x20('+_0x285467['id']+')'),console['log']('\x20\x20\x20Status:\x20'+_0x285467['status']),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x285467[_0x4561e2(0x23a)])[_0x4561e2(0x1c0)]()),_0x285467['completedAt']&&console[_0x4561e2(0x22d)](_0x4561e2(0x1ef)+new Date(_0x285467[_0x4561e2(0x1f5)])[_0x4561e2(0x1c0)]()),console['log']('');}}export async function featureAddScenario(_0x581bf9,_0x1540d2){const _0x355f51=_0x5efecc,_0x2e0bf4={'VLzMN':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','Zoiip':function(_0x59bcb9,_0x5de3fc){return _0x59bcb9(_0x5de3fc);},'jWPre':function(_0x42afab,_0x216ef7,_0x2d2e6c){return _0x42afab(_0x216ef7,_0x2d2e6c);}},_0x2452c6=_0x1540d2||await getActiveFeatureId();if(!_0x2452c6)throw new Error(_0x2e0bf4['VLzMN']);const _0x4ebd12=await _0x2e0bf4['Zoiip'](getFeature,_0x2452c6);if(_0x4ebd12['latestReview']&&!_0x4ebd12['latestReview'][_0x355f51(0x18d)])throw new Error(_0x355f51(0x1d9)+_0x4ebd12[_0x355f51(0x1db)]);await _0x2e0bf4[_0x355f51(0x209)](createChecklistItem,_0x2452c6,_0x581bf9);const _0x2d5475=await getFeature(_0x2452c6);console[_0x355f51(0x22d)](_0x355f51(0x200)),displayFeature(_0x2d5475,_0x2d5475['checklistItems']);}export async function featureEditScenario(_0x56be05,_0x1bc9bd){const _0x56b4d2=_0x5efecc,_0x4c75f4={'OedDm':function(_0x1ed569,_0x3fca71){return _0x1ed569(_0x3fca71);},'AdkHp':_0x56b4d2(0x219),'XBjAc':'\x0aAvailable\x20scenarios:','KppCM':function(_0x5413a4,_0x1469a2){return _0x5413a4+_0x1469a2;},'EpGzN':function(_0x4ee4fe,_0x4724c8,_0x21ae59,_0x59d2dc){return _0x4ee4fe(_0x4724c8,_0x21ae59,_0x59d2dc);},'pzXem':function(_0x32ce09,_0x15617d,_0x4f1561){return _0x32ce09(_0x15617d,_0x4f1561);}},_0x56e5aa=_0x1bc9bd['id']||await getActiveFeatureId();!_0x56e5aa&&(console['error'](_0x56b4d2(0x225)),console[_0x56b4d2(0x1a3)]('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process['exit'](0x1));const _0x474b83=await _0x4c75f4[_0x56b4d2(0x17f)](getFeature,_0x56e5aa);_0x474b83['latestReview']&&!_0x474b83[_0x56b4d2(0x1f4)][_0x56b4d2(0x18d)]&&(console[_0x56b4d2(0x1a3)]('\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.'),console[_0x56b4d2(0x1a3)](_0x56b4d2(0x193)),console['error']('\x20\x20'+_0x474b83[_0x56b4d2(0x1db)]),process[_0x56b4d2(0x1ce)](0x1));const _0x5e24c8=_0x474b83['checklistItems']||[];_0x5e24c8['length']===0x0&&(console['error']('\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.'),process['exit'](0x1));if(_0x1bc9bd['scenario']===undefined){console[_0x56b4d2(0x1a3)](_0x4c75f4['AdkHp']),console['log'](_0x4c75f4[_0x56b4d2(0x231)]);for(let _0x2b7333=0x0;_0x2b7333<_0x5e24c8['length'];_0x2b7333++){console[_0x56b4d2(0x22d)]('\x20\x20'+_0x4c75f4[_0x56b4d2(0x1dd)](_0x2b7333,0x1)+'.\x20'+_0x5e24c8[_0x2b7333]['description']);}process[_0x56b4d2(0x1ce)](0x1);}const _0x8fdf3d=_0x1bc9bd['scenario']-0x1;if(_0x8fdf3d<0x0||_0x8fdf3d>=_0x5e24c8['length']){console[_0x56b4d2(0x1a3)](_0x56b4d2(0x1da)+_0x1bc9bd['scenario']+'.\x20Feature\x20review\x20has\x20'+_0x5e24c8[_0x56b4d2(0x18a)]+'\x20scenarios.'),console['log'](_0x4c75f4['XBjAc']);for(let _0x5a8772=0x0;_0x5a8772<_0x5e24c8[_0x56b4d2(0x18a)];_0x5a8772++){console[_0x56b4d2(0x22d)]('\x20\x20'+(_0x5a8772+0x1)+'.\x20'+_0x5e24c8[_0x5a8772][_0x56b4d2(0x22a)]);}process['exit'](0x1);}const _0x1f6ed3=_0x5e24c8[_0x8fdf3d];await _0x4c75f4[_0x56b4d2(0x1b0)](updateChecklistItem,_0x56e5aa,_0x1f6ed3['id'],{'description':_0x56be05});const _0x43c7a1=await getFeature(_0x56e5aa);console[_0x56b4d2(0x22d)](_0x56b4d2(0x1d3)),_0x4c75f4['pzXem'](displayFeature,_0x43c7a1,_0x43c7a1['checklistItems']);}async function downloadFeedbackImage(_0x6e92b,_0x5df0fb){const _0x4bfad3=_0x5efecc,_0x3d503d={'cEkcX':function(_0x2b6558,_0x449386,_0x3ca04b){return _0x2b6558(_0x449386,_0x3ca04b);},'GSdsl':function(_0x34da97,_0x1ce714){return _0x34da97(_0x1ce714);}};try{const _0x1a380a=join(getRangerDir(),'feedback-images');await _0x3d503d[_0x4bfad3(0x249)](mkdir,_0x1a380a,{'recursive':!![]});const _0x574f6c=join(_0x1a380a,'comment_'+_0x5df0fb+'.png'),_0x166c84=await _0x3d503d['GSdsl'](fetch,_0x6e92b);if(!_0x166c84['ok'])return null;const _0x150d7e=Buffer['from'](await _0x166c84['arrayBuffer']());return await writeFile(_0x574f6c,_0x150d7e),_0x574f6c;}catch{return null;}}export async function featureGetReview(_0x185cd6){const _0x1fe8ef=_0x5efecc,_0x55c784={'iLSee':function(_0x642747){return _0x642747();},'YrjSy':_0x1fe8ef(0x1fa),'NnwFe':function(_0x50a059,_0x571299){return _0x50a059===_0x571299;},'GAaYA':_0x1fe8ef(0x1fd),'pICmN':function(_0xcfa591,_0x504588){return _0xcfa591<_0x504588;},'WdyAi':function(_0x1aa49f,_0x21b06d){return _0x1aa49f>_0x21b06d;},'vPNPn':function(_0x2bbf44,_0xee7a39){return _0x2bbf44+_0xee7a39;},'rrvGZ':'numeric','VcEgs':function(_0x222a91,_0x3dce9b){return _0x222a91>=_0x3dce9b;}},_0x3159e3=_0x185cd6||await _0x55c784['iLSee'](getActiveFeatureId);if(!_0x3159e3)throw new Error(_0x55c784[_0x1fe8ef(0x1f9)]);const _0x325f71=await getFeature(_0x3159e3),{items:_0x25384b}=await getActionItems(_0x3159e3);console[_0x1fe8ef(0x22d)]('\x0a📋\x20Feedback\x20for:\x20'+_0x325f71[_0x1fe8ef(0x1a4)]+'\x20('+_0x325f71['id']+')\x0a');if(_0x55c784[_0x1fe8ef(0x185)](_0x25384b['length'],0x0)){console['log'](_0x55c784['GAaYA']);return;}for(let _0x352b5a=0x0;_0x55c784['pICmN'](_0x352b5a,_0x25384b[_0x1fe8ef(0x18a)]);_0x352b5a++){const _0x3441b3=_0x25384b[_0x352b5a],_0x39ae2a=_0x55c784[_0x1fe8ef(0x1b6)](_0x3441b3[_0x1fe8ef(0x206)],0x1)?'\x20(v'+_0x3441b3[_0x1fe8ef(0x206)]+')':'',_0x59a883=await getItemFeedback(_0x3159e3,_0x3441b3['id']);if(_0x59a883[_0x1fe8ef(0x228)]['length']>0x0){console[_0x1fe8ef(0x22d)](_0x1fe8ef(0x195)+_0x55c784['vPNPn'](_0x352b5a,0x1)+':\x20\x22'+_0x3441b3[_0x1fe8ef(0x22a)]+'\x22'+_0x39ae2a+_0x1fe8ef(0x1b9)+_0x59a883[_0x1fe8ef(0x228)]['length']+'\x20unaddressed\x20comment(s)');for(const _0x2ccb33 of _0x59a883['unaddressedComments']){const _0x415274=new Date(_0x2ccb33['createdAt'])[_0x1fe8ef(0x1c1)]('en-US',{'month':'short','day':_0x55c784[_0x1fe8ef(0x18f)]}),_0x29b4cd=_0x2ccb33['authorName']||_0x2ccb33['authorEmail']||'Unknown';console['log']('\x20\x20💬\x20'+_0x29b4cd+'\x20('+_0x415274+_0x1fe8ef(0x24e)+_0x2ccb33[_0x1fe8ef(0x1ad)]+'\x22');if(_0x2ccb33[_0x1fe8ef(0x223)]){const _0x3573d9=await downloadFeedbackImage(_0x2ccb33['assetUrl'],_0x2ccb33['id']);_0x3573d9&&console[_0x1fe8ef(0x22d)]('\x20\x20\x20\x20\x20📷\x20Screenshot:\x20'+_0x3573d9);}if(_0x2ccb33['domRef']){const _0x5f0028=_0x2ccb33[_0x1fe8ef(0x221)][_0x1fe8ef(0x211)][_0x1fe8ef(0x1d8)](_0x1fe8ef(0x19e))['pop']()?.['split'](':')[0x0]||'element',_0x58b044=_0x2ccb33[_0x1fe8ef(0x221)][_0x1fe8ef(0x1c2)]?'\x20\x22'+_0x2ccb33['domRef'][_0x1fe8ef(0x1c2)]['slice'](0x0,0x3c)+'\x22':'';console['log']('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x5f0028+'>'+_0x58b044),console[_0x1fe8ef(0x22d)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x2ccb33[_0x1fe8ef(0x221)][_0x1fe8ef(0x211)]);}else{if(_0x2ccb33[_0x1fe8ef(0x19f)]){const _0x41300c=_0x2ccb33['spatial'][_0x1fe8ef(0x1a1)];_0x55c784[_0x1fe8ef(0x185)](_0x2ccb33[_0x1fe8ef(0x19f)][_0x1fe8ef(0x226)],_0x1fe8ef(0x1a8))&&_0x55c784[_0x1fe8ef(0x1c5)](_0x41300c['length'],0x2)?console['log'](_0x1fe8ef(0x22c)+_0x41300c[0x0]['toFixed'](0x2)+',\x20'+_0x41300c[0x1]['toFixed'](0x2)+')'):console[_0x1fe8ef(0x22d)](_0x1fe8ef(0x24f)+_0x2ccb33['spatial'][_0x1fe8ef(0x226)]+_0x1fe8ef(0x1b7)+_0x41300c[_0x1fe8ef(0x20c)](_0x1fe1f6=>_0x1fe1f6['toFixed'](0x2))['join'](',\x20')+']');}}}if(_0x59a883[_0x1fe8ef(0x217)]){console['log']('\x20\x20Expected\x20flow:');for(const _0x1c6175 of _0x59a883['canonicalFlow'][_0x1fe8ef(0x1d8)]('\x0a')){console['log'](_0x1fe8ef(0x23d)+_0x1c6175);}}}else console[_0x1fe8ef(0x22d)]('Scenario\x20'+(_0x352b5a+0x1)+':\x20\x22'+_0x3441b3[_0x1fe8ef(0x22a)]+'\x22'+_0x39ae2a+_0x1fe8ef(0x24b)),console[_0x1fe8ef(0x22d)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console[_0x1fe8ef(0x22d)]('');}}export async function featureDelete(_0xb230da){const _0x320016=_0x5efecc,_0xc2f6b7={'GncbI':'\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20'},_0x3d3655=_0xb230da||await getActiveFeatureId();if(!_0x3d3655)throw new Error(_0x320016(0x1fa));const _0xeb6a58=await getFeature(_0x3d3655);await softDeleteFeature(_0x3d3655),console[_0x320016(0x22d)]('\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20'+_0xeb6a58['name']+'\x20('+_0x3d3655+')'),console['log'](_0xc2f6b7['GncbI']+_0x3d3655);}export async function featureRestore(_0x210ccd){const _0x3b649b=_0x5efecc,_0xb0ad9c={'iNSTL':function(_0x409ef7,_0x57d7cb,_0x120913){return _0x409ef7(_0x57d7cb,_0x120913);}};await restoreFeature(_0x210ccd);const _0x1ecdda=await getFeature(_0x210ccd);console[_0x3b649b(0x22d)](_0x3b649b(0x23c)+_0x1ecdda['name']+'\x20('+_0x210ccd+')'),_0xb0ad9c['iNSTL'](displayFeature,_0x1ecdda,_0x1ecdda['checklistItems']);}
1
+ const _0x37661b=_0x1f5e;(function(_0x1dd3dd,_0x3fb1be){const _0x842169=_0x1f5e,_0x54f061=_0x1dd3dd();while(!![]){try{const _0x34d6e7=parseInt(_0x842169(0xe3))/0x1*(parseInt(_0x842169(0x7b))/0x2)+parseInt(_0x842169(0x15c))/0x3+-parseInt(_0x842169(0x125))/0x4+parseInt(_0x842169(0x140))/0x5+-parseInt(_0x842169(0x92))/0x6*(parseInt(_0x842169(0xc4))/0x7)+-parseInt(_0x842169(0x9a))/0x8+parseInt(_0x842169(0xa1))/0x9*(parseInt(_0x842169(0x111))/0xa);if(_0x34d6e7===_0x3fb1be)break;else _0x54f061['push'](_0x54f061['shift']());}catch(_0x15160e){_0x54f061['push'](_0x54f061['shift']());}}}(_0x1022,0x69449));import{readFile,writeFile,mkdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{execSync}from'child_process';import _0x197c29 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';function _0x1f5e(_0x129a3a,_0x51f8b){_0x129a3a=_0x129a3a-0x78;const _0x102245=_0x1022();let _0x1f5e17=_0x102245[_0x129a3a];return _0x1f5e17;}import{formatProfileRequiredMessage}from'./utils/profileMessages.js';import{listCloudProfiles}from'./utils/cloudProfile.js';const ACTIVE_FEATURE_FILE='active-feature.txt',bold=_0x1105e9=>_0x37661b(0xb3)+_0x1105e9+'\x1b[0m';function getGitRepoUrl(){const _0x30bf4e=_0x37661b,_0x1fa969={'zsfdi':_0x30bf4e(0xfe),'XBjyk':_0x30bf4e(0x121),'YUuze':'github.com/'};try{const _0x5a08c2=execSync(_0x1fa969[_0x30bf4e(0x159)],{'encoding':'utf-8','stdio':[_0x1fa969['XBjyk'],'pipe','pipe']})[_0x30bf4e(0x90)]();return _0x5a08c2[_0x30bf4e(0x129)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x1fa969[_0x30bf4e(0x89)])['replace'](/^https?:\/\//,'');}catch{return undefined;}}function getGitBranch(){const _0x9df575=_0x37661b,_0x3a471d={'wemxQ':function(_0x34dfad,_0x2e4417,_0x413bf2){return _0x34dfad(_0x2e4417,_0x413bf2);},'wuftq':_0x9df575(0x13a),'XtIUy':_0x9df575(0x121)};try{return _0x3a471d['wemxQ'](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x3a471d[_0x9df575(0x104)],'stdio':[_0x3a471d[_0x9df575(0xcd)],'pipe','pipe']})[_0x9df575(0x90)]();}catch{return undefined;}}export async function getActiveFeatureId(){const _0xb333c0=_0x37661b,_0x153501={'HvoYS':function(_0x2f3377){return _0x2f3377();},'qLdFO':function(_0x381f13,_0x161b83){return _0x381f13(_0x161b83);},'PrcDz':function(_0x332895,_0x3c2680,_0x2709f3){return _0x332895(_0x3c2680,_0x2709f3);},'LaHZs':'utf-8'},_0xf602a1=join(_0x153501[_0xb333c0(0xc9)](getRangerDir),ACTIVE_FEATURE_FILE);if(!_0x153501[_0xb333c0(0x14f)](existsSync,_0xf602a1))return null;try{const _0x432ae0=await _0x153501[_0xb333c0(0xd6)](readFile,_0xf602a1,_0x153501['LaHZs']);return _0x432ae0['trim']()||null;}catch{return null;}}async function setActiveFeatureId(_0x4354b7){const _0xa5e712=_0x37661b,_0x320902={'LXDCZ':function(_0x2fe045){return _0x2fe045();},'qgMQl':function(_0x5a9822,_0xaf1a51,_0x3d0d38,_0x2e6cf0){return _0x5a9822(_0xaf1a51,_0x3d0d38,_0x2e6cf0);},'RXMyR':'utf-8'},_0x2985e1=_0x320902['LXDCZ'](getRangerDir),_0x18d05c=join(_0x2985e1,ACTIVE_FEATURE_FILE);!existsSync(_0x2985e1)&&await mkdir(_0x2985e1,{'recursive':!![]}),await _0x320902['qgMQl'](writeFile,_0x18d05c,_0x4354b7,_0x320902[_0xa5e712(0xf1)]);}function getProgressDisplay(_0x8cdd5a){const _0x242345=_0x37661b,_0x55e890={'yQdkB':function(_0x2a36e5,_0x4350d3){return _0x2a36e5+_0x4350d3;},'EkdWD':function(_0x3bd40d,_0x35e805){return _0x3bd40d+_0x35e805;},'nDdHU':function(_0x48cbaf,_0x242853){return _0x48cbaf===_0x242853;},'NJJCb':function(_0x4f336a,_0x17e511){return _0x4f336a*_0x17e511;},'jChKF':function(_0xc056a5,_0x3d1212){return _0xc056a5+_0x3d1212;},'PpgSu':function(_0x4ee397,_0x40eb0e){return _0x4ee397-_0x40eb0e;},'UwMwU':function(_0x19dba4,_0x3c5b9d){return _0x19dba4>_0x3c5b9d;}},_0x23505c=_0x8cdd5a[_0x242345(0x12d)]||0x0,_0x1b5ca3=_0x8cdd5a['verificationInProgressItems']||0x0,_0x5a68a0=_0x8cdd5a['blockedItems']||0x0,_0x49c538=_0x8cdd5a[_0x242345(0x145)]||0x0,_0x147bb8=_0x8cdd5a[_0x242345(0x8d)]||0x0,_0x39dc7f=_0x55e890[_0x242345(0x100)](_0x55e890[_0x242345(0xa6)](_0x23505c+_0x1b5ca3+_0x5a68a0,_0x49c538),_0x147bb8);if(_0x55e890[_0x242345(0xa9)](_0x39dc7f,0x0))return'-';const _0x2e9e58=0xa,_0x324404=Math['round'](_0x55e890[_0x242345(0xaf)](_0x23505c/_0x39dc7f,_0x2e9e58)),_0x3b2786=_0x55e890['jChKF']('█'[_0x242345(0xd9)](_0x324404),'░'['repeat'](_0x55e890[_0x242345(0x148)](_0x2e9e58,_0x324404))),_0xc7d8ee=[];if(_0x5a68a0>0x0)_0xc7d8ee[_0x242345(0xb9)](_0x5a68a0+_0x242345(0xee));if(_0x49c538>0x0)_0xc7d8ee['push'](_0x49c538+_0x242345(0x116));if(_0x55e890['UwMwU'](_0x1b5ca3,0x0))_0xc7d8ee['push'](_0x1b5ca3+_0x242345(0x91));const _0x207f07=_0xc7d8ee['length']>0x0?'\x20('+_0xc7d8ee[_0x242345(0xe2)](',\x20')+')':'';return _0x3b2786+'\x20'+_0x23505c+'/'+_0x39dc7f+'\x20verified'+_0x207f07;}function getCurrentSessionItems(_0x664041,_0xb0d66d){const _0x2aa489=_0x37661b;if(!_0x664041[_0x2aa489(0xc2)])return _0xb0d66d[_0x2aa489(0x135)](_0x33ed9e=>!_0x33ed9e[_0x2aa489(0xcf)]);return _0xb0d66d[_0x2aa489(0x135)](_0x270ec1=>_0x270ec1[_0x2aa489(0xcf)]===_0x664041[_0x2aa489(0xc2)]||!_0x270ec1['sessionId']);}function displayFeature(_0x1b1947,_0x1c73b1){const _0x387a89=_0x37661b,_0x815cf0={'rtyjS':function(_0x1aaf62,_0x3f28bc){return _0x1aaf62(_0x3f28bc);},'evMWi':function(_0x3ccea4,_0x3fd6c0){return _0x3ccea4>_0x3fd6c0;},'VZsfs':function(_0x2231ea,_0x13e9b2){return _0x2231ea<_0x13e9b2;},'YKrYo':function(_0x5e0ada,_0x18e956){return _0x5e0ada===_0x18e956;},'Rfhdp':'verified','HwOae':'incomplete','RLiMC':function(_0x117361,_0x398c87){return _0x117361===_0x398c87;},'zlxAM':function(_0x1cc8b3,_0x277ccc){return _0x1cc8b3===_0x277ccc;},'hHRsd':'verification_in_progress','lQuLK':function(_0x5db6e0,_0x4c8c38){return _0x5db6e0>_0x4c8c38;},'FzZDT':'\x20[has\x20reviewer\x20feedback]','ETccV':function(_0x286b63,_0x2f9edf){return _0x286b63+_0x2f9edf;},'iIKZd':function(_0x229e72,_0x2f5f54){return _0x229e72===_0x2f5f54;},'gMSHX':'approved','iZwCU':function(_0x20acac,_0x1ace6a){return _0x20acac===_0x1ace6a;}};console['log']('\x0a'+_0x1b1947['name']+'\x20('+_0x1b1947['dashboardUrl']+')');_0x1b1947['stats']&&console[_0x387a89(0x11b)]('\x20\x20\x20Progress:\x20'+_0x815cf0['rtyjS'](getProgressDisplay,_0x1b1947['stats']));_0x1b1947['description']&&console['log'](_0x387a89(0x7a)+_0x1b1947[_0x387a89(0x83)]);_0x1b1947[_0x387a89(0x158)]&&console['log']('\x20\x20\x20Repository:\x20'+_0x1b1947[_0x387a89(0x158)]);_0x1b1947[_0x387a89(0xd7)]&&console[_0x387a89(0x11b)]('\x20\x20\x20Branch:\x20'+_0x1b1947[_0x387a89(0xd7)]);console[_0x387a89(0x11b)]('\x20\x20\x20Created:\x20'+new Date(_0x1b1947['createdAt'])[_0x387a89(0x9d)]());_0x1b1947[_0x387a89(0x78)]&&console['log']('\x20\x20\x20Completed:\x20'+new Date(_0x1b1947['completedAt'])[_0x387a89(0x9d)]());if(_0x1c73b1&&_0x815cf0['evMWi'](_0x1c73b1[_0x387a89(0x139)],0x0)){console[_0x387a89(0x11b)]('\x0a\x20\x20\x20Scenarios:');for(let _0x4492fc=0x0;_0x815cf0['VZsfs'](_0x4492fc,_0x1c73b1[_0x387a89(0x139)]);_0x4492fc++){const _0xeac11d=_0x1c73b1[_0x4492fc];let _0x6db586;if(_0xeac11d[_0x387a89(0x8a)]===_0x387a89(0x15a)&&_0x815cf0['YKrYo'](_0xeac11d[_0x387a89(0x7f)],'approved'))_0x6db586='✅';else{if(_0xeac11d['status']===_0x815cf0[_0x387a89(0x81)])_0x6db586='🟢';else{if(_0xeac11d['status']===_0x815cf0[_0x387a89(0xbc)])_0x6db586='🟠';else{if(_0xeac11d['status']==='blocked')_0x6db586='🛑';else{if(_0x815cf0[_0x387a89(0x118)](_0xeac11d[_0x387a89(0x8a)],'closed'))_0x6db586='⛔';else _0x815cf0[_0x387a89(0xb7)](_0xeac11d[_0x387a89(0x8a)],_0x815cf0[_0x387a89(0xa3)])?_0x6db586='⏳':_0x6db586='⬜';}}}}const _0xa7f1c4=_0xeac11d[_0x387a89(0xe0)]>0x1?_0x387a89(0xb1)+_0xeac11d['version']+')':'',_0x181a36=_0x815cf0['lQuLK'](_0xeac11d[_0x387a89(0xe0)],0x1)&&_0xeac11d['parentItemId']&&_0xeac11d[_0x387a89(0x8a)]!==_0x387a89(0x15a)&&_0xeac11d[_0x387a89(0x8a)]!=='verified'?_0x815cf0[_0x387a89(0x9e)]:'';console[_0x387a89(0x11b)](_0x387a89(0xdc)+_0x815cf0[_0x387a89(0x9b)](_0x4492fc,0x1)+'.\x20'+_0x6db586+'\x20'+_0xeac11d[_0x387a89(0x83)]+_0xa7f1c4+_0x181a36);_0x815cf0[_0x387a89(0xf4)](_0xeac11d['status'],'blocked')&&_0xeac11d[_0x387a89(0x115)]&&console['log'](_0x387a89(0x9c)+_0xeac11d['blockedReason']);_0xeac11d[_0x387a89(0x8a)]===_0x815cf0[_0x387a89(0xbc)]&&_0xeac11d['incompleteReason']&&console[_0x387a89(0x11b)](_0x387a89(0x127)+_0xeac11d['incompleteReason']);if(_0xeac11d['status']==='closed'&&_0x815cf0[_0x387a89(0xb7)](_0xeac11d['terminalReason'],_0x815cf0[_0x387a89(0x124)]))console[_0x387a89(0x11b)]('\x20\x20\x20\x20\x20\x20Approved');else _0x815cf0[_0x387a89(0x117)](_0xeac11d['status'],_0x387a89(0x15a))&&_0xeac11d[_0x387a89(0xba)]&&console['log'](_0x387a89(0x87)+_0xeac11d['canceledReason']);}}}export async function featureCreate(_0xa4dec8,_0x3ca08a){const _0x591e81=_0x37661b,_0x2c0407={'rRrzR':function(_0x2070e7,_0x487f62){return _0x2070e7===_0x487f62;},'GDiry':function(_0x5db21b){return _0x5db21b();},'tPJee':function(_0x2d4164,_0x1dc7cb){return _0x2d4164===_0x1dc7cb;},'pchMM':function(_0x5c9d35){return _0x5c9d35();},'TZYVP':'\x0aCreating\x20feature\x20review...','zORWA':function(_0x14cf61,_0x2d29ff){return _0x14cf61(_0x2d29ff);},'uMKuo':function(_0x4d1256,_0x490a4d,_0x1da2d4){return _0x4d1256(_0x490a4d,_0x1da2d4);}},{envNames:_0x16fa0a}=await getEnvNames();if(_0x2c0407[_0x591e81(0xb5)](_0x16fa0a['length'],0x0)&&!process[_0x591e81(0x110)][_0x591e81(0x10a)]){let _0x67f2b2=0x0;try{_0x67f2b2=(await _0x2c0407['GDiry'](listCloudProfiles))[_0x591e81(0x139)];}catch{_0x67f2b2=0x1;}_0x2c0407[_0x591e81(0xcc)](_0x67f2b2,0x0)&&console[_0x591e81(0x7d)]('\x0a'+formatProfileRequiredMessage(_0x33d81f=>bold(_0x33d81f)));}const _0x4e4643=_0x3ca08a[_0x591e81(0xdd)]?_0x3ca08a[_0x591e81(0xdd)][_0x591e81(0xf2)](_0x48f0b9=>_0x48f0b9['trim']()):[],_0x9fe15=_0x2c0407['pchMM'](getGitRepoUrl),_0x8c43f0=getGitBranch();console[_0x591e81(0x11b)](_0x2c0407[_0x591e81(0xd8)]);const _0x46cbfd=await _0x2c0407[_0x591e81(0x13c)](createFeature,{'name':_0xa4dec8,'description':_0x3ca08a['description'],'checklist':_0x4e4643,'gitRepoUrl':_0x9fe15,'gitBranch':_0x8c43f0});await _0x2c0407[_0x591e81(0x13c)](setActiveFeatureId,_0x46cbfd['id']),await _0x2c0407['zORWA'](tryStartCurrentSession,_0x46cbfd['id']);const _0x5bcd46=process['env'][_0x591e81(0x107)];_0x5bcd46&&_0x2c0407['uMKuo'](registerSession,_0x5bcd46,_0x46cbfd['id']),console['log'](_0x591e81(0xae)+_0x46cbfd['id']),displayFeature(_0x46cbfd,_0x46cbfd['checklistItems']),console[_0x591e81(0x11b)](_0x591e81(0x84));}export async function featureList(_0x35a33f){const _0x2a65f6=_0x37661b,_0x5c5414={'JuCAS':function(_0x1f2e2a){return _0x1f2e2a();},'SKZJY':function(_0x38b64b,_0x473e4a){return _0x38b64b(_0x473e4a);},'xbWkP':function(_0x3dfaf9,_0x51ab90){return _0x3dfaf9===_0x51ab90;},'jiJJQ':'\x0aNo\x20feature\x20reviews\x20found.','LBtvO':function(_0x170ce6,_0x31faac){return _0x170ce6>_0x31faac;},'GqQmT':function(_0x10c1da,_0x23604d){return _0x10c1da<_0x23604d;}},_0x12ef8d={'limit':_0x35a33f[_0x2a65f6(0x130)]??0xa,'offset':_0x35a33f['offset']??0x0,'includeDeleted':_0x35a33f['includeDeleted']};_0x35a33f[_0x2a65f6(0x95)]&&(_0x12ef8d['gitRepoUrl']=_0x5c5414['JuCAS'](getGitRepoUrl),_0x12ef8d[_0x2a65f6(0xd7)]=getGitBranch());const _0x35d658=await _0x5c5414[_0x2a65f6(0xac)](listFeatures,_0x12ef8d);if(_0x5c5414['xbWkP'](_0x35d658['items'][_0x2a65f6(0x139)],0x0)){console['log'](_0x5c5414['jiJJQ']);return;}const _0x1122d5=_0x5c5414['LBtvO'](_0x35d658['totalCount'],_0x35d658['items'][_0x2a65f6(0x139)])?'Showing\x20'+_0x35d658['items'][_0x2a65f6(0x139)]+_0x2a65f6(0xd3)+_0x35d658[_0x2a65f6(0xef)]:_0x35d658[_0x2a65f6(0xef)]+_0x2a65f6(0xc8);console[_0x2a65f6(0x11b)]('\x0a'+_0x1122d5+':\x0a');for(const _0x5d2438 of _0x35d658['items']){console['log'](''+_0x5d2438[_0x2a65f6(0xfc)]),console['log'](_0x2a65f6(0x147)+_0x5d2438['id']),_0x5d2438['stats']&&console['log']('\x20\x20\x20Progress:\x20'+getProgressDisplay(_0x5d2438[_0x2a65f6(0x8c)])),_0x5d2438[_0x2a65f6(0xd7)]&&console['log'](_0x2a65f6(0x143)+_0x5d2438[_0x2a65f6(0xd7)]),console['log']('\x20\x20\x20Created:\x20'+new Date(_0x5d2438['createdAt'])['toLocaleDateString']()),console[_0x2a65f6(0x11b)]('');}const _0x30f722=_0x12ef8d[_0x2a65f6(0x130)]??0xa,_0x58e944=(_0x12ef8d['offset']??0x0)+_0x35d658['items'][_0x2a65f6(0x139)];if(_0x5c5414['GqQmT'](_0x58e944,_0x35d658['totalCount'])){const _0x1d32c8=_0x30f722!==0xa?_0x2a65f6(0x14d)+_0x30f722:'',_0x54c2b5=_0x35a33f[_0x2a65f6(0x95)]?'\x20--current-branch':'',_0x4254ff=_0x35a33f['includeDeleted']?'\x20--include-deleted':'';console['log'](_0x2a65f6(0xbd)+_0x58e944+_0x1d32c8+_0x54c2b5+_0x4254ff);}}export async function featureShow(_0x2b6e5a){const _0x48ca60=_0x37661b,_0x3ef3e2={'fkXym':function(_0x4703a4,_0x3d496a){return _0x4703a4(_0x3d496a);}},_0x437c4c=_0x2b6e5a||await getActiveFeatureId();if(!_0x437c4c)throw new Error(_0x48ca60(0x8b));const _0x1ff436=await _0x3ef3e2[_0x48ca60(0xfa)](getFeature,_0x437c4c);displayFeature(_0x1ff436,_0x1ff436['checklistItems']);}export async function featureResume(_0x3622e8){const _0x3d093e=_0x37661b,_0x1e2390={'sWhsi':function(_0x574924,_0x58d6b1){return _0x574924(_0x58d6b1);},'HaEHq':function(_0x13cc77){return _0x13cc77();},'ImDHB':function(_0x189303,_0x80df83){return _0x189303!==_0x80df83;},'PALil':function(_0x8f63ae,_0x51a8d3,_0x53789e){return _0x8f63ae(_0x51a8d3,_0x53789e);},'ldGWR':'Not\x20in\x20a\x20git\x20repository.','iMHsj':function(_0x148906,_0x46e16b){return _0x148906||_0x46e16b;},'AoZUh':_0x3d093e(0x10e),'TTQPr':'\x0aNo\x20matching\x20active\x20feature\x20reviews\x20found.','BCbMa':_0x3d093e(0x7c),'GDWAM':function(_0x4f3d6d,_0x2d0c33){return _0x4f3d6d(_0x2d0c33);},'dtDMv':_0x3d093e(0xc7),'ATqew':'list','xTMlq':function(_0x552c57,_0x53e4a3){return _0x552c57!==_0x53e4a3;},'IdLst':function(_0x3acdb5,_0x1a4f5f){return _0x3acdb5(_0x1a4f5f);}};if(_0x3622e8){const _0x366467=await getFeature(_0x3622e8);await _0x1e2390[_0x3d093e(0xdb)](setActiveFeatureId,_0x366467['id']);const _0x6dd1a8=_0x1e2390[_0x3d093e(0xb8)](getGitBranch);_0x6dd1a8&&_0x1e2390[_0x3d093e(0xb0)](_0x6dd1a8,_0x366467[_0x3d093e(0xd7)])&&(await _0x1e2390['PALil'](updateFeature,_0x366467['id'],{'gitBranch':_0x6dd1a8}),console[_0x3d093e(0x11b)]('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x6dd1a8));console[_0x3d093e(0x11b)](_0x3d093e(0x133)+_0x366467[_0x3d093e(0xfc)]+'\x20('+_0x366467['id']+')'),await _0x1e2390[_0x3d093e(0xdb)](tryStartCurrentSession,_0x366467['id']);const _0x57dce6=process['env'][_0x3d093e(0x107)];_0x57dce6&&_0x1e2390[_0x3d093e(0x108)](registerSession,_0x57dce6,_0x366467['id']);displayFeature(_0x366467,_0x366467[_0x3d093e(0x106)]),await _0x1e2390['sWhsi'](printFeedbackNudge,_0x366467['id']);return;}const _0x535e81=getGitRepoUrl(),_0x144ed1=getGitBranch();if(!_0x535e81&&!_0x144ed1)throw new Error(_0x1e2390[_0x3d093e(0xea)]);console[_0x3d093e(0x11b)]('\x0aSearching\x20for\x20feature\x20reviews\x20matching:\x20'+_0x1e2390['iMHsj'](_0x535e81,'any')+_0x3d093e(0x126)+(_0x144ed1||_0x1e2390['AoZUh'])+_0x3d093e(0x10b));const _0x4bdc3a=await listFeatures({'gitRepoUrl':_0x535e81,'gitBranch':_0x144ed1}),_0x5a23d4=_0x4bdc3a['items']['filter'](_0x355524=>_0x355524['status']?_0x355524[_0x3d093e(0x8a)]!=='verified':!_0x355524['completedAt']);if(_0x5a23d4[_0x3d093e(0x139)]===0x0){console[_0x3d093e(0x11b)](_0x1e2390[_0x3d093e(0x14a)]),console['log'](_0x3d093e(0x112));return;}let _0x215d12;if(_0x5a23d4['length']===0x1)_0x215d12=_0x5a23d4[0x0];else{const _0x18bdc6=process['stdin']['isTTY']&&process['stdout'][_0x3d093e(0x98)];if(!_0x18bdc6){console[_0x3d093e(0x11b)](_0x1e2390['BCbMa']);for(const _0x206ef7 of _0x5a23d4){console['log']('\x20\x20'+_0x206ef7[_0x3d093e(0xfc)]),console[_0x3d093e(0x11b)]('\x20\x20\x20\x20\x20ID:\x20'+_0x206ef7['id']),_0x206ef7['stats']&&console[_0x3d093e(0x11b)](_0x3d093e(0x101)+_0x1e2390[_0x3d093e(0xf0)](getProgressDisplay,_0x206ef7['stats'])),_0x206ef7[_0x3d093e(0xd7)]&&console['log']('\x20\x20\x20\x20\x20Branch:\x20'+_0x206ef7[_0x3d093e(0xd7)]);}throw new Error(_0x1e2390[_0x3d093e(0x9f)]);}const {selected:_0x43615c}=await _0x197c29['prompt']([{'type':_0x1e2390['ATqew'],'name':'selected','message':_0x3d093e(0x12a),'choices':_0x5a23d4['map'](_0x35f1cf=>({'name':_0x35f1cf['name']+'\x20('+_0x35f1cf['id']+')','value':_0x35f1cf['id']}))}]);_0x215d12=_0x5a23d4['find'](_0x3e3a21=>_0x3e3a21['id']===_0x43615c);}await _0x1e2390['sWhsi'](setActiveFeatureId,_0x215d12['id']);_0x144ed1&&_0x1e2390[_0x3d093e(0x119)](_0x144ed1,_0x215d12['gitBranch'])&&(await updateFeature(_0x215d12['id'],{'gitBranch':_0x144ed1}),console['log']('\x20\x20\x20Updated\x20branch\x20to:\x20'+_0x144ed1));console[_0x3d093e(0x11b)](_0x3d093e(0x133)+_0x215d12[_0x3d093e(0xfc)]+'\x20('+_0x215d12['id']+')'),await tryStartCurrentSession(_0x215d12['id']);const _0x358ffb=await _0x1e2390['sWhsi'](getFeature,_0x215d12['id']),_0x1599cc=process['env']['CLAUDE_SESSION_ID'];_0x1599cc&&registerSession(_0x1599cc,_0x358ffb['id']),displayFeature(_0x358ffb,_0x358ffb['checklistItems']),await _0x1e2390[_0x3d093e(0x105)](printFeedbackNudge,_0x358ffb['id']);}function _0x1022(){const _0x3078b4=['Gtomu','\x20--limit\x20','nYVxK','qLdFO','Cannot\x20conclude\x20session\x20with\x20status:\x20','\x20\x20\x20Status:\x20','qYoHH','\x0a📋\x20Feedback\x20for:\x20','XHGXi','1|5|0|3|4|2','toFixed','gckSN','gitRepoUrl','zsfdi','closed','epMjq','1904886VwqRNl','completedAt','\x0aGenerating\x20report...','\x20\x20\x20Description:\x20','2WzjECO','\x0aNon-interactive\x20mode\x20detected.\x20Multiple\x20feature\x20reviews\x20found:','warn','assetUrl','terminalReason','ready','Rfhdp','\x0a❌\x20No\x20scenarios\x20found\x20to\x20edit.','description','\x0a➡️\x20\x20Set\x20as\x20active\x20feature\x20review','\x20Session\x20','screenshot','\x20\x20\x20\x20\x20\x20Cancelled:\x20','HenbW','YUuze','status','No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.\x20Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review','stats','pendingItems','point','\x0a✅\x20Restored\x20feature\x20review:\x20','trim','\x20in\x20progress','258QUrWei','stringify','pnTqe','currentBranch','oEuAo','LeERv','isTTY','find','3363072LerwSH','ETccV','\x20\x20\x20\x20\x20\x20Blocked:\x20','toLocaleString','FzZDT','dtDMv','scenario','603621dXlJKT','FLSOc','hHRsd','ykKBF','\x0a📁\x20Sessions\x20for\x20feature\x20review:\x20','EkdWD','\x0a✅\x20Report\x20generated:\x20','stepName','nDdHU','edanJ','isKeyStep','SKZJY','all','\x0a✅\x20Feature\x20review\x20created:\x20','NJJCb','ImDHB','\x20(v','error','\x1b[1m','\x20\x20\x20The\x20feature\x20review\x20is\x20now\x20ready\x20for\x20human\x20review\x20on\x20the\x20Ranger\x20dashboard.','rRrzR','\x0a✅\x20Session\x20','zlxAM','HaEHq','push','canceledReason','.png','HwOae','Next\x20page:\x20ranger\x20list\x20--offset\x20','KTdjJ','in_progress','ZmeUZ','domRef','currentSessionId','hvwkm','6419mQYpqL','comment_','\x20scenarios.','Please\x20specify\x20the\x20feature\x20review\x20ID:\x20ranger\x20resume\x20<id>','\x20feature\x20review(s)\x20found','HvoYS','browserSessionId','authorEmail','tPJee','XtIUy','\x20\x20\x20▶️\x20Started\x20session\x20','sessionId','exit','\x20at\x20[','JoViK','\x20of\x20','\x0aAvailable\x20scenarios:','numeric','PrcDz','gitBranch','TZYVP','repeat','from','sWhsi','\x20\x20\x20','scenarios','\x20concluded.','RTOIL','version','\x20—\x20no\x20comments','join','293911mFnHkm','xfkLX','\x0a❌\x20Invalid\x20scenario\x20index:\x20','ymjfM','selector','\x20\x20\x20\x20\x20📷\x20Screenshot:\x20','Screenshot\x20','ldGWR','PUxiA','.\x20Feature\x20review\x20has\x20','\x0a✅\x20Scenario\x20updated','\x20blocked','totalCount','GDWAM','RXMyR','map','trimEnd','iIKZd','split','\x20>\x20','incompleteReason','Step\x20','\x0a🗑️\x20\x20Deleted\x20feature\x20review:\x20','fkXym','assets','name','feedback-images','git\x20remote\x20get-url\x20origin','kotoN','yQdkB','\x20\x20\x20\x20\x20Progress:\x20','\x20\x20Expected\x20flow:','AdHTD','wuftq','IdLst','checklistItems','CLAUDE_SESSION_ID','PALil','dashboardUrl','RANGER_TEST_USERNAME','...','content','\x0a❌\x20All\x20scenarios\x20were\x20excluded.','any','has','env','40xeyMYM','Run:\x20ranger\x20create\x20\x22<name>\x22\x20to\x20create\x20a\x20new\x20feature\x20review','completed','write','blockedReason','\x20incomplete','iZwCU','RLiMC','xTMlq','ArLjC','log','location','notes','\x20\x20\x20To\x20restore\x20it,\x20run:\x20ranger\x20restore\x20','\x20\x20\x20\x20','SwuIk','pipe','.md','Iwdje','gMSHX','1742780nEjOUI','\x20/\x20','\x20\x20\x20\x20\x20\x20Incomplete:\x20','No\x20scenarios\x20found.','replace','Multiple\x20feature\x20reviews\x20found.\x20Select\x20one:','No\x20sessions\x20found.','LBFJv','verifiedItems','ajdGe','ZCNdm','limit','\x20\x20\x20\x20\x20📍\x20Annotation:\x20','iteration','\x0a✅\x20Resumed\x20feature\x20review:\x20','coordinates','filter','spatial','screenshotUrls','stdout','length','utf-8','linkedSession','zORWA','Scenario\x20','type','unaddressedComments','647690OoFULr','vYrZi','pDcyJ','\x20\x20\x20Branch:\x20','latestReview','incompleteItems','\x0a❌\x20No\x20scenario\x20number\x20provided.\x20Use\x20--scenario\x20<number>.','\x20\x20\x20ID:\x20','PpgSu','\x20\x20\x20\x20\x20📍\x20Annotation:\x20point\x20at\x20(','TTQPr','\x20\x20\x20Created:\x20'];_0x1022=function(){return _0x3078b4;};return _0x1022();}async function printFeedbackNudge(_0x180449){const _0x812aea=_0x37661b,_0x1ab7ef={'RTOIL':function(_0x193c3c,_0x152870,_0xf89874){return _0x193c3c(_0x152870,_0xf89874);}};try{const {items:_0x55ac47}=await getActionItems(_0x180449);let _0x5d1331=0x0,_0x571d5e=0x0;for(const _0x37c322 of _0x55ac47){const _0x3b4aed=await _0x1ab7ef[_0x812aea(0xdf)](getItemFeedback,_0x180449,_0x37c322['id']);_0x3b4aed['unaddressedComments']['length']>0x0&&(_0x5d1331+=_0x3b4aed['unaddressedComments']['length'],_0x571d5e++);}_0x5d1331>0x0&&(console['log']('\x0a⚠️\x20\x20'+_0x5d1331+'\x20unaddressed\x20reviewer\x20comment(s)\x20across\x20'+_0x571d5e+'\x20scenario(s).'),console['log']('\x20\x20\x20Run\x20`ranger\x20get-review`\x20to\x20see\x20what\x20needs\x20to\x20be\x20fixed.'));}catch{}}async function tryStartCurrentSession(_0x26445e){const _0x1fcb19=_0x37661b;try{const {sessions:_0x55eb26}=await listFeatureSessions(_0x26445e),_0x19ef71=_0x55eb26['find'](_0x3bf78a=>_0x3bf78a[_0x1fcb19(0x8a)]===_0x1fcb19(0x80));_0x19ef71&&(await startSession(_0x26445e,_0x19ef71['id']),console[_0x1fcb19(0x11b)](_0x1fcb19(0xce)+_0x19ef71[_0x1fcb19(0x132)]));}catch{}}export async function featureReport(_0x47d9c8,_0x57389b){const _0x242f80=_0x37661b,_0xaf5b05={'SwuIk':_0x242f80(0x79),'SmLfy':function(_0xc6427e,_0x7799fd,_0x922f0d,_0x257aeb){return _0xc6427e(_0x7799fd,_0x922f0d,_0x257aeb);},'dwIwn':'reports','DuKIZ':function(_0x37dc81,_0x48709a,_0x4d9013){return _0x37dc81(_0x48709a,_0x4d9013);},'hvwkm':function(_0x197127,_0x4583e0){return _0x197127(_0x4583e0);},'HenbW':function(_0xd6a510,_0x3c6176,_0x3b80b7,_0x4c67a3){return _0xd6a510(_0x3c6176,_0x3b80b7,_0x4c67a3);},'nYVxK':_0x242f80(0x13a)},_0x5da2c7=_0x47d9c8||await getActiveFeatureId();if(!_0x5da2c7)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');console[_0x242f80(0x11b)](_0xaf5b05[_0x242f80(0x120)]);const _0x252b26=await getFeatureReportMarkdown(_0x5da2c7,{'style':_0x57389b['style']}),_0x315c1d=_0x57389b['output']||_0xaf5b05['SmLfy'](join,getRangerDir(),_0xaf5b05['dwIwn'],_0x5da2c7+_0x242f80(0x122)),_0x1a7bf7=_0xaf5b05['DuKIZ'](join,_0x315c1d,'..');!_0xaf5b05[_0x242f80(0xc3)](existsSync,_0x1a7bf7)&&await mkdir(_0x1a7bf7,{'recursive':!![]}),await _0xaf5b05[_0x242f80(0x88)](writeFile,_0x315c1d,_0x252b26,_0xaf5b05[_0x242f80(0x14e)]),console[_0x242f80(0x11b)](_0x242f80(0xa7)+_0x315c1d);}function getScenarioResult(_0x2ab53b){const _0x4da4ec=_0x37661b,_0x1efcc9={'pvKKn':'verification_in_progress','dMxPb':_0x4da4ec(0xbf)};if(_0x2ab53b['status']==='closed')return _0x2ab53b['terminalReason']??'closed';if(_0x2ab53b[_0x4da4ec(0x8a)]===_0x1efcc9['pvKKn'])return _0x1efcc9['dMxPb'];return _0x2ab53b['status'];}function getScenarioRationale(_0x202f25,_0x33e55f){const _0x1ad728=_0x37661b,_0x504097=_0x1ad728(0x155)['split']('|');let _0x422ed4=0x0;while(!![]){switch(_0x504097[_0x422ed4++]){case'0':if(_0x202f25[_0x1ad728(0xf7)])return _0x202f25[_0x1ad728(0xf7)];continue;case'1':if(_0x33e55f)return _0x33e55f;continue;case'2':return null;case'3':if(_0x202f25[_0x1ad728(0xba)])return _0x202f25[_0x1ad728(0xba)];continue;case'4':if(_0x202f25['notes'])return _0x202f25[_0x1ad728(0x11d)];continue;case'5':if(_0x202f25[_0x1ad728(0x115)])return _0x202f25[_0x1ad728(0x115)];continue;}break;}}export async function featureReportPrDescription(_0x3962cb,_0x4543c6){const _0x714b3a=_0x37661b,_0x3c0ff3={'PZRsu':function(_0x51841f){return _0x51841f();},'ZmeUZ':'\x0a❌\x20No\x20scenarios\x20found\x20to\x20include.','Iwdje':function(_0x1e5096,_0x545354){return _0x1e5096>_0x545354;},'APGmx':'\x0aAvailable\x20scenarios:','AdHTD':function(_0x5652a2,_0x407b68){return _0x5652a2<_0x407b68;},'bfKjC':function(_0x5e8e77,_0x405f2c){return _0x5e8e77+_0x405f2c;}},_0x2bb8af=_0x3962cb||await _0x3c0ff3['PZRsu'](getActiveFeatureId);if(!_0x2bb8af)throw new Error('No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.');const _0x211785=await getFeature(_0x2bb8af),_0x24b358=_0x211785[_0x714b3a(0x106)]||[],_0x8ff83c=getCurrentSessionItems(_0x211785,_0x24b358);_0x8ff83c[_0x714b3a(0x139)]===0x0&&(console[_0x714b3a(0xb2)](_0x3c0ff3[_0x714b3a(0xc0)]),process[_0x714b3a(0xd0)](0x1));const _0x5b9cfa=_0x4543c6['excludeScenarios']??[],_0x43ab57=_0x5b9cfa[_0x714b3a(0x135)](_0x302712=>!Number['isInteger'](_0x302712)||_0x302712<0x1||_0x302712>_0x8ff83c[_0x714b3a(0x139)]);if(_0x3c0ff3[_0x714b3a(0x123)](_0x43ab57[_0x714b3a(0x139)],0x0)){console['error']('\x0a❌\x20Invalid\x20scenario\x20number(s):\x20'+_0x43ab57[_0x714b3a(0xe2)](',\x20')),console[_0x714b3a(0x11b)](_0x3c0ff3['APGmx']);for(let _0x274b8c=0x0;_0x3c0ff3[_0x714b3a(0x103)](_0x274b8c,_0x8ff83c[_0x714b3a(0x139)]);_0x274b8c++){console['log']('\x20\x20'+_0x3c0ff3['bfKjC'](_0x274b8c,0x1)+'.\x20'+_0x8ff83c[_0x274b8c][_0x714b3a(0x83)]);}process[_0x714b3a(0xd0)](0x1);}const _0x2e9ccb=new Set(_0x5b9cfa[_0x714b3a(0xf2)](_0x1999ed=>_0x1999ed-0x1)),_0x3c479f=_0x8ff83c['filter']((_0x3d9771,_0x51668d)=>!_0x2e9ccb[_0x714b3a(0x10f)](_0x51668d));_0x3c479f[_0x714b3a(0x139)]===0x0&&(console[_0x714b3a(0xb2)](_0x714b3a(0x10d)),process[_0x714b3a(0xd0)](0x1));if(_0x4543c6['json'])await outputJsonReport(_0x2bb8af,_0x211785,_0x3c479f);else{const _0x2356fe=await getFeatureReportMarkdown(_0x2bb8af,{'itemIds':_0x3c479f['map'](_0x4e9996=>_0x4e9996['id'])});process[_0x714b3a(0x138)][_0x714b3a(0x114)](_0x2356fe[_0x714b3a(0xf3)]()+'\x0a');}}async function outputJsonReport(_0x4217c8,_0x1a51ec,_0x54d868){const _0x562f1c=_0x37661b,_0x422756={'gckSN':function(_0x88f190,_0x2cab41){return _0x88f190>_0x2cab41;},'nCfrm':function(_0x49823f,_0x340c06){return _0x49823f===_0x340c06;},'qYoHH':function(_0x118218,_0x48cdb0,_0x5aa756){return _0x118218(_0x48cdb0,_0x5aa756);}},_0x41941a=getApiBaseUrl(),_0x4862a3=await getFeatureReport(_0x4217c8),_0x46d67a=new Map(_0x4862a3['checklistItems'][_0x562f1c(0xf2)](_0x1cf5a1=>[_0x1cf5a1['id'],_0x1cf5a1])),_0x24da65=await Promise[_0x562f1c(0xad)](_0x54d868[_0x562f1c(0xf2)](async _0x5243ba=>{const _0x24e061=_0x562f1c,_0x1f9c7d=_0x46d67a['get'](_0x5243ba['id']),_0x2a57cd=_0x1f9c7d?.[_0x24e061(0x13b)]??null;let _0x489f70=[];if(_0x5243ba[_0x24e061(0xca)])try{const {steps:_0x3a5f91}=await getBrowserSessionSteps(_0x5243ba[_0x24e061(0xca)]);_0x422756[_0x24e061(0x157)](_0x3a5f91[_0x24e061(0x139)],0x0)&&(_0x489f70=_0x3a5f91['map'](_0x7d09ae=>{const _0x11f3b8=_0x24e061,_0x426c78=_0x7d09ae[_0x11f3b8(0xfb)][_0x11f3b8(0x99)](_0x45a1c8=>_0x45a1c8['assetType']===_0x11f3b8(0x86)&&_0x45a1c8['timing']==='after')??_0x7d09ae[_0x11f3b8(0xfb)]['find'](_0x56d70b=>_0x56d70b['assetType']==='screenshot');let _0x3b203c=null,_0x5a8c62=null;if(_0x426c78){const _0xf589f7=_0x426c78['storage'][_0x11f3b8(0x11c)][_0x11f3b8(0xf5)]('/')['pop']();_0x3b203c=_0x41941a+'/api/v1/mcp/browser-sessions/'+_0x5243ba[_0x11f3b8(0xca)]+'/artifacts/'+_0xf589f7,_0xf589f7&&(_0x5a8c62=_0xf589f7['replace'](/\.\w+$/,'')['replace'](/^(key_)?\d+_/,'')[_0x11f3b8(0x129)](/[-_]/g,'\x20'));}return{'description':_0x5a8c62||_0x7d09ae[_0x11f3b8(0x83)]||_0x7d09ae[_0x11f3b8(0xa8)]||_0x11f3b8(0xf8)+_0x7d09ae['position'],'screenshot':_0x3b203c,'is_key_step':_0x7d09ae[_0x11f3b8(0xab)]};}));}catch{}return _0x422756['nCfrm'](_0x489f70[_0x24e061(0x139)],0x0)&&_0x2a57cd?.['screenshotUrls']&&(_0x489f70=_0x2a57cd[_0x24e061(0x137)][_0x24e061(0xf2)]((_0x3ac8a9,_0x200736)=>({'description':_0x24e061(0xe9)+(_0x200736+0x1),'screenshot':_0x3ac8a9,'is_key_step':![]}))),{'description':_0x5243ba['description'],'result':getScenarioResult(_0x5243ba),'rationale':_0x422756[_0x24e061(0x152)](getScenarioRationale,_0x5243ba,_0x2a57cd?.['agentResponse']),'steps':_0x489f70};})),_0x1b4bc0={'url':_0x1a51ec['dashboardUrl'],'scenarios':_0x24da65};process[_0x562f1c(0x138)][_0x562f1c(0x114)](JSON[_0x562f1c(0x93)](_0x1b4bc0,null,0x2)+'\x0a');}export async function featureConcludeSession(_0x1609cf){const _0x7307c8=_0x37661b,_0x5db4db={'ymjfM':function(_0x467114){return _0x467114();},'DPQGY':function(_0x4a0928,_0x5f31b1){return _0x4a0928(_0x5f31b1);},'MEvNZ':'Current\x20session\x20not\x20found.','AQgcA':function(_0x5aafeb,_0x9c81d7){return _0x5aafeb===_0x9c81d7;},'pltAW':_0x7307c8(0x113),'qwyMv':_0x7307c8(0xbf),'kotoN':function(_0x3eec78,_0x55cd21,_0x472eac){return _0x3eec78(_0x55cd21,_0x472eac);}},_0x5346cf=_0x1609cf||await _0x5db4db[_0x7307c8(0xe6)](getActiveFeatureId);if(!_0x5346cf)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 _0x850b31=await getFeature(_0x5346cf);if(!_0x850b31[_0x7307c8(0xc2)])throw new Error('No\x20active\x20session\x20for\x20this\x20feature\x20review.');const {sessions:_0x50eacf}=await _0x5db4db['DPQGY'](listFeatureSessions,_0x5346cf),_0x2b4c46=_0x50eacf[_0x7307c8(0x99)](_0x275378=>_0x275378['id']===_0x850b31[_0x7307c8(0xc2)]);if(!_0x2b4c46)throw new Error(_0x5db4db['MEvNZ']);if(_0x5db4db['AQgcA'](_0x2b4c46[_0x7307c8(0x8a)],_0x5db4db['pltAW'])){console[_0x7307c8(0x11b)]('\x0a✅\x20Session\x20is\x20already\x20completed.');return;}if(_0x2b4c46[_0x7307c8(0x8a)]!==_0x5db4db['qwyMv'])throw new Error(_0x7307c8(0x150)+_0x2b4c46['status']);console[_0x7307c8(0x11b)]('\x0aConcluding\x20session...'),await _0x5db4db[_0x7307c8(0xff)](concludeSession,_0x5346cf,_0x850b31[_0x7307c8(0xc2)]),console[_0x7307c8(0x11b)](_0x7307c8(0xb6)+_0x2b4c46[_0x7307c8(0x132)]+_0x7307c8(0xde)),console['log'](_0x7307c8(0xb4));}export async function featureSessions(_0x10059c){const _0x3f1f4f=_0x37661b,_0x59a8b6={'BwGmP':function(_0x3e3d28){return _0x3e3d28();},'dQrsW':'No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','ZoKhc':function(_0x324043,_0x295cd3){return _0x324043(_0x295cd3);},'ajdGe':_0x3f1f4f(0x113)},_0x23bae6=_0x10059c||await _0x59a8b6['BwGmP'](getActiveFeatureId);if(!_0x23bae6)throw new Error(_0x59a8b6['dQrsW']);const _0x1cb1ca=await _0x59a8b6['ZoKhc'](getFeature,_0x23bae6);console[_0x3f1f4f(0x11b)](_0x3f1f4f(0xa5)+_0x1cb1ca[_0x3f1f4f(0xfc)]+'\x0a');const {sessions:_0x4dd195}=await listFeatureSessions(_0x23bae6);if(_0x4dd195[_0x3f1f4f(0x139)]===0x0){console[_0x3f1f4f(0x11b)](_0x3f1f4f(0x12b));return;}for(const _0x2ef96c of _0x4dd195){const _0x1b807e=_0x2ef96c['status']===_0x59a8b6[_0x3f1f4f(0x12e)]?'✅':_0x2ef96c['status']===_0x3f1f4f(0xbf)?'🔄':'▶️';console['log'](_0x1b807e+_0x3f1f4f(0x85)+_0x2ef96c[_0x3f1f4f(0x132)]+'\x20('+_0x2ef96c['id']+')'),console['log'](_0x3f1f4f(0x151)+_0x2ef96c[_0x3f1f4f(0x8a)]),console[_0x3f1f4f(0x11b)](_0x3f1f4f(0x14b)+new Date(_0x2ef96c['createdAt'])['toLocaleString']()),_0x2ef96c['completedAt']&&console[_0x3f1f4f(0x11b)]('\x20\x20\x20Completed:\x20'+new Date(_0x2ef96c[_0x3f1f4f(0x78)])['toLocaleString']()),console['log']('');}}export async function featureAddScenario(_0x845332,_0x1c7e52){const _0x23da86=_0x37661b,_0x212f91={'BSpkQ':function(_0x2bb94a){return _0x2bb94a();},'LeSqw':function(_0x59a741,_0x373dc4){return _0x59a741(_0x373dc4);},'ArLjC':function(_0x785069,_0x2f02a8,_0x2d4998){return _0x785069(_0x2f02a8,_0x2d4998);},'rCczE':function(_0x2d6c66,_0x5b1731){return _0x2d6c66(_0x5b1731);}},_0x3df7cf=_0x1c7e52||await _0x212f91['BSpkQ'](getActiveFeatureId);if(!_0x3df7cf)throw new Error(_0x23da86(0x8b));const _0x2d1aa1=await _0x212f91['LeSqw'](getFeature,_0x3df7cf);if(_0x2d1aa1['latestReview']&&!_0x2d1aa1[_0x23da86(0x144)]['submittedAt'])throw new Error('Cannot\x20add\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.\x20Please\x20finish\x20your\x20review\x20first:\x20'+_0x2d1aa1[_0x23da86(0x109)]);await _0x212f91[_0x23da86(0x11a)](createChecklistItem,_0x3df7cf,_0x845332);const _0x2eeeeb=await _0x212f91['rCczE'](getFeature,_0x3df7cf);console[_0x23da86(0x11b)]('\x0a✅\x20Scenario\x20added'),displayFeature(_0x2eeeeb,_0x2eeeeb[_0x23da86(0x106)]);}export async function featureEditScenario(_0x1ae93d,_0x572f85){const _0x901c04=_0x37661b,_0x5f0bed={'OSlOg':function(_0x2f1e2c){return _0x2f1e2c();},'edanJ':'\x0a❌\x20No\x20feature\x20review\x20ID\x20provided\x20and\x20no\x20active\x20feature\x20review\x20set.','Nvtbq':'\x0a❌\x20Cannot\x20edit\x20scenario:\x20feature\x20review\x20has\x20an\x20active\x20review.','pnTqe':'Please\x20finish\x20your\x20review\x20first:','vYrZi':function(_0x5a2180,_0x176b95){return _0x5a2180===_0x176b95;},'xfkLX':_0x901c04(0x82),'epMjq':function(_0x533c18,_0x16b3b9){return _0x533c18===_0x16b3b9;},'woJYs':_0x901c04(0x146),'oEuAo':function(_0x39ecbc,_0x4b9f9d){return _0x39ecbc<_0x4b9f9d;},'dFnmx':function(_0x46fcfa,_0x479800){return _0x46fcfa>=_0x479800;},'ykKBF':_0x901c04(0xd4),'XHGXi':function(_0x55971f,_0x3e4461){return _0x55971f(_0x3e4461);},'LeERv':function(_0x3ac7d9,_0x11b119,_0xd55388){return _0x3ac7d9(_0x11b119,_0xd55388);}},_0x1b4ddf=_0x572f85['id']||await _0x5f0bed['OSlOg'](getActiveFeatureId);!_0x1b4ddf&&(console[_0x901c04(0xb2)](_0x5f0bed[_0x901c04(0xaa)]),console[_0x901c04(0xb2)]('Run:\x20ranger\x20resume\x20<id>\x20to\x20set\x20an\x20active\x20feature\x20review'),process[_0x901c04(0xd0)](0x1));const _0x62d128=await getFeature(_0x1b4ddf);_0x62d128[_0x901c04(0x144)]&&!_0x62d128['latestReview']['submittedAt']&&(console['error'](_0x5f0bed['Nvtbq']),console[_0x901c04(0xb2)](_0x5f0bed[_0x901c04(0x94)]),console[_0x901c04(0xb2)]('\x20\x20'+_0x62d128[_0x901c04(0x109)]),process[_0x901c04(0xd0)](0x1));const _0x32423d=_0x62d128['checklistItems']||[];_0x5f0bed[_0x901c04(0x141)](_0x32423d[_0x901c04(0x139)],0x0)&&(console['error'](_0x5f0bed[_0x901c04(0xe4)]),process[_0x901c04(0xd0)](0x1));if(_0x5f0bed[_0x901c04(0x15b)](_0x572f85['scenario'],undefined)){console[_0x901c04(0xb2)](_0x5f0bed['woJYs']),console['log']('\x0aAvailable\x20scenarios:');for(let _0x32dfd5=0x0;_0x32dfd5<_0x32423d['length'];_0x32dfd5++){console['log']('\x20\x20'+(_0x32dfd5+0x1)+'.\x20'+_0x32423d[_0x32dfd5][_0x901c04(0x83)]);}process[_0x901c04(0xd0)](0x1);}const _0x422a67=_0x572f85['scenario']-0x1;if(_0x5f0bed[_0x901c04(0x96)](_0x422a67,0x0)||_0x5f0bed['dFnmx'](_0x422a67,_0x32423d[_0x901c04(0x139)])){console['error'](_0x901c04(0xe5)+_0x572f85[_0x901c04(0xa0)]+_0x901c04(0xec)+_0x32423d[_0x901c04(0x139)]+_0x901c04(0xc6)),console['log'](_0x5f0bed[_0x901c04(0xa4)]);for(let _0x1072da=0x0;_0x1072da<_0x32423d['length'];_0x1072da++){console[_0x901c04(0x11b)]('\x20\x20'+(_0x1072da+0x1)+'.\x20'+_0x32423d[_0x1072da][_0x901c04(0x83)]);}process[_0x901c04(0xd0)](0x1);}const _0x24cb0c=_0x32423d[_0x422a67];await updateChecklistItem(_0x1b4ddf,_0x24cb0c['id'],{'description':_0x1ae93d});const _0x2cb78b=await _0x5f0bed[_0x901c04(0x154)](getFeature,_0x1b4ddf);console[_0x901c04(0x11b)](_0x901c04(0xed)),_0x5f0bed[_0x901c04(0x97)](displayFeature,_0x2cb78b,_0x2cb78b[_0x901c04(0x106)]);}async function downloadFeedbackImage(_0x2b8f92,_0x3ddbe5){const _0x1342d8=_0x37661b;try{const _0x3877cb=join(getRangerDir(),_0x1342d8(0xfd));await mkdir(_0x3877cb,{'recursive':!![]});const _0x118b13=join(_0x3877cb,_0x1342d8(0xc5)+_0x3ddbe5+_0x1342d8(0xbb)),_0x305e27=await fetch(_0x2b8f92);if(!_0x305e27['ok'])return null;const _0x5d0fb3=Buffer[_0x1342d8(0xda)](await _0x305e27['arrayBuffer']());return await writeFile(_0x118b13,_0x5d0fb3),_0x118b13;}catch{return null;}}export async function featureGetReview(_0x307ba0){const _0x29914f=_0x37661b,_0x23a0c5={'FLSOc':function(_0xab76a3){return _0xab76a3();},'pDcyJ':_0x29914f(0x8b),'kbEge':function(_0x2c61ca,_0x24ec4d){return _0x2c61ca(_0x24ec4d);},'KTdjJ':function(_0x4a26f7,_0x5c7cfd){return _0x4a26f7>_0x5c7cfd;},'DXCFT':function(_0x303c6c,_0x29f621){return _0x303c6c+_0x29f621;},'PUxiA':'en-US','QgrDm':_0x29914f(0xd5),'eUPyh':'Unknown','eWGGH':function(_0x3bf37c,_0x379493,_0xd82b05){return _0x3bf37c(_0x379493,_0xd82b05);},'ZCNdm':_0x29914f(0xf6),'UifTp':_0x29914f(0x8e)},_0x1a9aae=_0x307ba0||await _0x23a0c5[_0x29914f(0xa2)](getActiveFeatureId);if(!_0x1a9aae)throw new Error(_0x23a0c5[_0x29914f(0x142)]);const _0x1df42e=await _0x23a0c5['kbEge'](getFeature,_0x1a9aae),{items:_0x5ea427}=await getActionItems(_0x1a9aae);console[_0x29914f(0x11b)](_0x29914f(0x153)+_0x1df42e[_0x29914f(0xfc)]+'\x20('+_0x1df42e['id']+')\x0a');if(_0x5ea427[_0x29914f(0x139)]===0x0){console['log'](_0x29914f(0x128));return;}for(let _0x47c979=0x0;_0x47c979<_0x5ea427[_0x29914f(0x139)];_0x47c979++){const _0xc856b2=_0x5ea427[_0x47c979],_0x55219e=_0x23a0c5['KTdjJ'](_0xc856b2['version'],0x1)?_0x29914f(0xb1)+_0xc856b2['version']+')':'',_0x19144b=await getItemFeedback(_0x1a9aae,_0xc856b2['id']);if(_0x23a0c5[_0x29914f(0xbe)](_0x19144b[_0x29914f(0x13f)]['length'],0x0)){console['log'](_0x29914f(0x13d)+_0x23a0c5['DXCFT'](_0x47c979,0x1)+':\x20\x22'+_0xc856b2[_0x29914f(0x83)]+'\x22'+_0x55219e+'\x20—\x20'+_0x19144b['unaddressedComments'][_0x29914f(0x139)]+'\x20unaddressed\x20comment(s)');for(const _0x3de341 of _0x19144b['unaddressedComments']){const _0x5ca31b=new Date(_0x3de341['createdAt'])['toLocaleDateString'](_0x23a0c5[_0x29914f(0xeb)],{'month':'short','day':_0x23a0c5['QgrDm']}),_0x238cf6=_0x3de341['authorName']||_0x3de341[_0x29914f(0xcb)]||_0x23a0c5['eUPyh'];console[_0x29914f(0x11b)]('\x20\x20💬\x20'+_0x238cf6+'\x20('+_0x5ca31b+'):\x20\x22'+_0x3de341[_0x29914f(0x10c)]+'\x22');if(_0x3de341['assetUrl']){const _0x3dacb6=await _0x23a0c5['eWGGH'](downloadFeedbackImage,_0x3de341[_0x29914f(0x7e)],_0x3de341['id']);_0x3dacb6&&console[_0x29914f(0x11b)](_0x29914f(0xe8)+_0x3dacb6);}if(_0x3de341['domRef']){const _0x4c81e6=_0x3de341['domRef']['selector'][_0x29914f(0xf5)](_0x23a0c5[_0x29914f(0x12f)])['pop']()?.[_0x29914f(0xf5)](':')[0x0]||'element',_0xbf933c=_0x3de341[_0x29914f(0xc1)]['textContent']?'\x20\x22'+_0x3de341['domRef']['textContent']['slice'](0x0,0x3c)+'\x22':'';console[_0x29914f(0x11b)]('\x20\x20\x20\x20\x20🎯\x20Element:\x20<'+_0x4c81e6+'>'+_0xbf933c),console[_0x29914f(0x11b)]('\x20\x20\x20\x20\x20📋\x20Selector:\x20'+_0x3de341['domRef'][_0x29914f(0xe7)]);}else{if(_0x3de341['spatial']){const _0x15073e=_0x3de341['spatial'][_0x29914f(0x134)];_0x3de341[_0x29914f(0x136)][_0x29914f(0x13e)]===_0x23a0c5['UifTp']&&_0x15073e['length']>=0x2?console[_0x29914f(0x11b)](_0x29914f(0x149)+_0x15073e[0x0][_0x29914f(0x156)](0x2)+',\x20'+_0x15073e[0x1][_0x29914f(0x156)](0x2)+')'):console['log'](_0x29914f(0x131)+_0x3de341[_0x29914f(0x136)]['type']+_0x29914f(0xd1)+_0x15073e[_0x29914f(0xf2)](_0x245562=>_0x245562[_0x29914f(0x156)](0x2))[_0x29914f(0xe2)](',\x20')+']');}}}if(_0x19144b['canonicalFlow']){console['log'](_0x29914f(0x102));for(const _0x49213c of _0x19144b['canonicalFlow'][_0x29914f(0xf5)]('\x0a')){console['log'](_0x29914f(0x11f)+_0x49213c);}}}else console['log'](_0x29914f(0x13d)+(_0x47c979+0x1)+':\x20\x22'+_0xc856b2['description']+'\x22'+_0x55219e+_0x29914f(0xe1)),console[_0x29914f(0x11b)]('\x20\x20✅\x20No\x20feedback\x20to\x20address');console['log']('');}}export async function featureDelete(_0x27252e){const _0x2b6a00=_0x37661b,_0x646b1d={'EABFG':function(_0x3fe9e8){return _0x3fe9e8();},'LBFJv':_0x2b6a00(0x8b),'Cfirg':function(_0x4343ca,_0x422480){return _0x4343ca(_0x422480);},'egGrX':function(_0x35e475,_0x170dca){return _0x35e475+_0x170dca;}},_0x3b9533=_0x27252e||await _0x646b1d['EABFG'](getActiveFeatureId);if(!_0x3b9533)throw new Error(_0x646b1d[_0x2b6a00(0x12c)]);const _0x51acbc=await getFeature(_0x3b9533);await _0x646b1d['Cfirg'](softDeleteFeature,_0x3b9533),console[_0x2b6a00(0x11b)](_0x2b6a00(0xf9)+_0x51acbc[_0x2b6a00(0xfc)]+'\x20('+_0x3b9533+')'),console['log'](_0x646b1d['egGrX'](_0x2b6a00(0x11e),_0x3b9533));}export async function featureRestore(_0xe70e88){const _0xe0e41a=_0x37661b,_0x2f87a5={'JoViK':function(_0x10c0aa,_0x2b472b){return _0x10c0aa(_0x2b472b);},'mRaAr':function(_0x2a568a,_0x7747f4){return _0x2a568a(_0x7747f4);},'Gtomu':function(_0xd9119e,_0x19370f,_0xde4b86){return _0xd9119e(_0x19370f,_0xde4b86);}};await _0x2f87a5[_0xe0e41a(0xd2)](restoreFeature,_0xe70e88);const _0x23196d=await _0x2f87a5['mRaAr'](getFeature,_0xe70e88);console['log'](_0xe0e41a(0x8f)+_0x23196d['name']+'\x20('+_0xe70e88+')'),_0x2f87a5[_0xe0e41a(0x14c)](displayFeature,_0x23196d,_0x23196d['checklistItems']);}
@@ -1 +1 @@
1
- (function(_0x231f97,_0x10ccb6){const _0xdb2e61=_0x25ca,_0xf49ed8=_0x231f97();while(!![]){try{const _0x2eec69=-parseInt(_0xdb2e61(0xbc))/0x1*(-parseInt(_0xdb2e61(0xc3))/0x2)+parseInt(_0xdb2e61(0xc4))/0x3+-parseInt(_0xdb2e61(0xc0))/0x4+-parseInt(_0xdb2e61(0xbf))/0x5+-parseInt(_0xdb2e61(0xc5))/0x6*(-parseInt(_0xdb2e61(0xb6))/0x7)+-parseInt(_0xdb2e61(0xc6))/0x8*(parseInt(_0xdb2e61(0xc8))/0x9)+-parseInt(_0xdb2e61(0xbe))/0xa*(-parseInt(_0xdb2e61(0xb9))/0xb);if(_0x2eec69===_0x10ccb6)break;else _0xf49ed8['push'](_0xf49ed8['shift']());}catch(_0x1dcabb){_0xf49ed8['push'](_0xf49ed8['shift']());}}}(_0x3955,0xa13ad));import{sessionStart,sessionEnd,preCompact,postEdit,planStart,planReminder,exitPlanMode,stopHook,enable,disable,autoPrompt}from'./hooks/index.js';function _0x25ca(_0x43645d,_0x2c5017){_0x43645d=_0x43645d-0xb4;const _0x3955b2=_0x3955();let _0x25ca4b=_0x3955b2[_0x43645d];return _0x25ca4b;}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 _0x2976c0=_0x25ca,_0x5248e9={'eLAOt':_0x2976c0(0xbb),'mYwTL':_0x2976c0(0xba)};if(cancellationHandlersInstalled)return;const _0x272e67=()=>{const _0x1dedd0=_0x2976c0;process[_0x1dedd0(0xb4)](0x0);};process['once'](_0x5248e9['eLAOt'],_0x272e67),process[_0x2976c0(0xbd)](_0x2976c0(0xc1),_0x272e67),process['once'](_0x5248e9[_0x2976c0(0xb5)],_0x272e67),cancellationHandlersInstalled=!![];}function _0x3955(){const _0x455604=['5TKejhQ','once','237590YaYCpZ','3527720VTWqZM','4985408DEFNVY','SIGTERM','JFugs','404078ieobCr','411654IylawP','338466Eojpao','32clQkyb','Valid\x20hooks:\x20','719622lzJZZw','exit','mYwTL','77cBPRXJ','join','xPuhf','539QTojmh','SIGHUP','SIGINT'];_0x3955=function(){return _0x455604;};return _0x3955();}export async function hook(_0x5cc179,_0x27c9bb){const _0x46766a=_0x25ca,_0x2fec15={'JFugs':function(_0x3d6915){return _0x3d6915();},'xPuhf':function(_0x1ed65c,_0x1581d8){return _0x1ed65c(_0x1581d8);}};_0x2fec15[_0x46766a(0xc2)](installCancellationHandlers);const _0x307849=HOOKS[_0x5cc179];if(!_0x307849){const _0x10118e=Object['keys'](HOOKS)[_0x46766a(0xb7)](',\x20');console['error']('Unknown\x20hook:\x20'+_0x5cc179),console['error'](_0x46766a(0xc7)+_0x10118e),process[_0x46766a(0xb4)](0x1);}await _0x2fec15[_0x46766a(0xb8)](_0x307849,_0x27c9bb);}
1
+ (function(_0x2eab5c,_0x5a0dbf){const _0x4c6200=_0x2a60,_0x15f225=_0x2eab5c();while(!![]){try{const _0x3aa727=parseInt(_0x4c6200(0xa9))/0x1*(-parseInt(_0x4c6200(0xb4))/0x2)+-parseInt(_0x4c6200(0xa8))/0x3+parseInt(_0x4c6200(0xaa))/0x4*(parseInt(_0x4c6200(0xaf))/0x5)+-parseInt(_0x4c6200(0xab))/0x6+-parseInt(_0x4c6200(0xac))/0x7+parseInt(_0x4c6200(0xb2))/0x8+-parseInt(_0x4c6200(0xa4))/0x9*(-parseInt(_0x4c6200(0xad))/0xa);if(_0x3aa727===_0x5a0dbf)break;else _0x15f225['push'](_0x15f225['shift']());}catch(_0x5c6e77){_0x15f225['push'](_0x15f225['shift']());}}}(_0x4696,0x78c70));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 _0x4696(){const _0x294f88=['SIGTERM','error','4667840wtJmkg','join','802LuAtbC','Valid\x20hooks:\x20','85869EengBd','once','Unknown\x20hook:\x20','alwlo','2149305ZVUmGv','1567OLVKnH','76CKKBud','3618012iQjlcc','2846333dkJIzY','1810hOySOk','SIGINT','141770mqEViz'];_0x4696=function(){return _0x294f88;};return _0x4696();}let cancellationHandlersInstalled=![];function installCancellationHandlers(){const _0x44e4c9=_0x2a60,_0x26884b={'UeQQT':_0x44e4c9(0xae),'JQvpe':_0x44e4c9(0xb0),'TDhOD':'SIGHUP'};if(cancellationHandlersInstalled)return;const _0x54a8d6=()=>{process['exit'](0x0);};process['once'](_0x26884b['UeQQT'],_0x54a8d6),process['once'](_0x26884b['JQvpe'],_0x54a8d6),process[_0x44e4c9(0xa5)](_0x26884b['TDhOD'],_0x54a8d6),cancellationHandlersInstalled=!![];}function _0x2a60(_0xbcfa09,_0x11633f){_0xbcfa09=_0xbcfa09-0xa3;const _0x4696b8=_0x4696();let _0x2a6080=_0x4696b8[_0xbcfa09];return _0x2a6080;}export async function hook(_0x38d6b8,_0x313746){const _0x3f7fe5=_0x2a60,_0x480b96={'alwlo':function(_0x289b80){return _0x289b80();}};_0x480b96[_0x3f7fe5(0xa7)](installCancellationHandlers);const _0x277910=HOOKS[_0x38d6b8];if(!_0x277910){const _0x3aed65=Object['keys'](HOOKS)[_0x3f7fe5(0xb3)](',\x20');console['error'](_0x3f7fe5(0xa6)+_0x38d6b8),console[_0x3f7fe5(0xb1)](_0x3f7fe5(0xa3)+_0x3aed65),process['exit'](0x1);}await _0x277910(_0x313746);}
@@ -1 +1 @@
1
- (function(_0x37f7af,_0x555e8c){const _0x4c57ea=_0x2ca2,_0xec5441=_0x37f7af();while(!![]){try{const _0xaa2bef=parseInt(_0x4c57ea(0x177))/0x1+parseInt(_0x4c57ea(0x17b))/0x2*(parseInt(_0x4c57ea(0x181))/0x3)+parseInt(_0x4c57ea(0x183))/0x4+-parseInt(_0x4c57ea(0x178))/0x5*(-parseInt(_0x4c57ea(0x176))/0x6)+parseInt(_0x4c57ea(0x182))/0x7+-parseInt(_0x4c57ea(0x180))/0x8*(-parseInt(_0x4c57ea(0x17d))/0x9)+parseInt(_0x4c57ea(0x17a))/0xa*(-parseInt(_0x4c57ea(0x17f))/0xb);if(_0xaa2bef===_0x555e8c)break;else _0xec5441['push'](_0xec5441['shift']());}catch(_0x26b0fc){_0xec5441['push'](_0xec5441['shift']());}}}(_0x1e10,0xcdfe2));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';function _0x1e10(){const _0x3c333e=['2802LQrCjW','178302eALXga','10655AooGUD','log','20CCjJDd','2cWGDdl','HwgpH','10683mdlhwp','session_id','10618366xoztME','1832ZBwdvU','3744282NGrbwi','281225tahbpI','163148ofiFBv','ZPUUN'];_0x1e10=function(){return _0x3c333e;};return _0x1e10();}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.';function _0x2ca2(_0x9a752,_0x37721d){_0x9a752=_0x9a752-0x175;const _0x1e101b=_0x1e10();let _0x2ca2ed=_0x1e101b[_0x9a752];return _0x2ca2ed;}export async function autoPrompt(){const _0xffcc5d=_0x2ca2,_0x192349={'NuMpG':function(_0x1ed7ef,_0x1595b4){return _0x1ed7ef===_0x1595b4;},'HwgpH':function(_0x5d3b1e){return _0x5d3b1e();},'TTQTT':'off','ZPUUN':function(_0x5aa55a,_0x1d3790){return _0x5aa55a(_0x1d3790);}};if(_0x192349['NuMpG'](_0x192349[_0xffcc5d(0x17c)](resolveHookMode),_0x192349['TTQTT']))return;const _0x3502f0=await readHookInput(),_0x3d480d=_0x3502f0?.[_0xffcc5d(0x17e)];if(!_0x3d480d)return;if(_0x192349['ZPUUN'](isSessionEnabled,_0x3d480d)||hasSessionBeenPrompted(_0x3d480d))return;_0x192349[_0xffcc5d(0x175)](markSessionPrompted,_0x3d480d),console[_0xffcc5d(0x179)](AUTO_PROMPT_TEXT);}
1
+ function _0x7e4f(_0x46a554,_0x488ca8){_0x46a554=_0x46a554-0x10b;const _0x405df1=_0x405d();let _0x7e4f2f=_0x405df1[_0x46a554];return _0x7e4f2f;}const _0x4e82e5=_0x7e4f;(function(_0x7eb703,_0x1d1059){const _0x19f779=_0x7e4f,_0x9344a3=_0x7eb703();while(!![]){try{const _0x29a949=parseInt(_0x19f779(0x116))/0x1*(-parseInt(_0x19f779(0x10d))/0x2)+-parseInt(_0x19f779(0x11b))/0x3*(-parseInt(_0x19f779(0x113))/0x4)+-parseInt(_0x19f779(0x10e))/0x5*(parseInt(_0x19f779(0x115))/0x6)+parseInt(_0x19f779(0x111))/0x7*(-parseInt(_0x19f779(0x110))/0x8)+-parseInt(_0x19f779(0x11c))/0x9*(parseInt(_0x19f779(0x10b))/0xa)+parseInt(_0x19f779(0x10c))/0xb*(-parseInt(_0x19f779(0x10f))/0xc)+-parseInt(_0x19f779(0x114))/0xd*(-parseInt(_0x19f779(0x118))/0xe);if(_0x29a949===_0x1d1059)break;else _0x9344a3['push'](_0x9344a3['shift']());}catch(_0x5cf01f){_0x9344a3['push'](_0x9344a3['shift']());}}}(_0x405d,0x66458));import{readHookInput}from'./output.js';import{isSessionEnabled,hasSessionBeenPrompted,markSessionPrompted}from'../utils/sessionCache.js';import{resolveHookMode}from'../utils/environment.js';const AUTO_PROMPT_TEXT=_0x4e82e5(0x11a);function _0x405d(){const _0x27820a=['1547294VwVpNy','off','\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.','3xTbkxI','1125ntVuMu','58390yCFbzb','648263EpvaMJ','54nJcKOT','10565oIDrbz','24UFHYXU','25904SghyfC','49pxLuBq','rUJIQ','2069896NheDZI','143gCRZEP','498mXNncJ','9945oQRNDI','session_id'];_0x405d=function(){return _0x27820a;};return _0x405d();}export async function autoPrompt(){const _0xdd81ec=_0x4e82e5,_0x5c33a2={'trEZn':function(_0x250d20,_0xc5fd83){return _0x250d20===_0xc5fd83;},'rUJIQ':function(_0x2a2257){return _0x2a2257();},'ilqcP':function(_0xc68020,_0xaf1f65){return _0xc68020(_0xaf1f65);},'FGgyW':function(_0x21d96c,_0x9daf1d){return _0x21d96c(_0x9daf1d);}};if(_0x5c33a2['trEZn'](_0x5c33a2[_0xdd81ec(0x112)](resolveHookMode),_0xdd81ec(0x119)))return;const _0x5cc1dc=await readHookInput(),_0x20a438=_0x5cc1dc?.[_0xdd81ec(0x117)];if(!_0x20a438)return;if(isSessionEnabled(_0x20a438)||_0x5c33a2['ilqcP'](hasSessionBeenPrompted,_0x20a438))return;_0x5c33a2['FGgyW'](markSessionPrompted,_0x20a438),console['log'](AUTO_PROMPT_TEXT);}
@@ -1 +1 @@
1
- (function(_0x5b16e8,_0x12cd48){const _0x315e23=_0x54c7,_0xb95800=_0x5b16e8();while(!![]){try{const _0x5cdbf5=-parseInt(_0x315e23(0x147))/0x1*(parseInt(_0x315e23(0x143))/0x2)+parseInt(_0x315e23(0x142))/0x3+parseInt(_0x315e23(0x146))/0x4+parseInt(_0x315e23(0x139))/0x5*(-parseInt(_0x315e23(0x13c))/0x6)+parseInt(_0x315e23(0x13f))/0x7+-parseInt(_0x315e23(0x13a))/0x8*(parseInt(_0x315e23(0x149))/0x9)+parseInt(_0x315e23(0x13b))/0xa*(-parseInt(_0x315e23(0x13d))/0xb);if(_0x5cdbf5===_0x12cd48)break;else _0xb95800['push'](_0xb95800['shift']());}catch(_0x5e1c78){_0xb95800['push'](_0xb95800['shift']());}}}(_0x2854,0x1bf93));function _0x54c7(_0x4857cb,_0x59521e){_0x4857cb=_0x4857cb-0x139;const _0x285489=_0x2854();let _0x54c733=_0x285489[_0x4857cb];return _0x54c733;}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';function _0x2854(){const _0x306a07=['DZzoX','931203mncGwq','OWBDe','vNBNf','442341eRryuw','34382qCyoHL','smNit','\x20and\x20branch\x20\x27','846200BbMAQp','2KllpJH','hApbE','9NYBXpw','master','5BppRPH','538408MdnXZz','119350GDbBPt','365604HBHQmK','198wlAtvW'];_0x2854=function(){return _0x306a07;};return _0x2854();}import{printBlock}from'./output.js';export async function disable(_0x2c6c1a){const _0x11f87b=_0x54c7,_0x130f8d={'ezeux':function(_0x1b7b6f,_0x1c1502){return _0x1b7b6f(_0x1c1502);},'OWBDe':function(_0x47443c){return _0x47443c();},'DZzoX':'main','AjHyP':function(_0x9b9913,_0x46c8ea){return _0x9b9913!==_0x46c8ea;},'smNit':_0x11f87b(0x14a),'vNBNf':function(_0xca9b03,_0x820ab2){return _0xca9b03(_0x820ab2);},'XMFFG':function(_0x2c3803,_0x49689a){return _0x2c3803(_0x49689a);},'hApbE':function(_0x3ec2f5,_0x4c87b9){return _0x3ec2f5!==_0x4c87b9;}},_0x17e91c=_0x2c6c1a||process['env']['CLAUDE_SESSION_ID']||'';_0x17e91c&&_0x130f8d['ezeux'](disableSession,_0x17e91c);const _0x1fc8f4=_0x130f8d[_0x11f87b(0x140)](getCurrentBranch);_0x1fc8f4&&_0x1fc8f4!==_0x130f8d[_0x11f87b(0x13e)]&&_0x130f8d['AjHyP'](_0x1fc8f4,_0x130f8d[_0x11f87b(0x144)])&&_0x130f8d[_0x11f87b(0x141)](disableBranch,_0x1fc8f4),_0x130f8d['XMFFG'](printBlock,'#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session'+(_0x1fc8f4&&_0x1fc8f4!==_0x130f8d[_0x11f87b(0x13e)]&&_0x130f8d[_0x11f87b(0x148)](_0x1fc8f4,_0x130f8d['smNit'])?_0x11f87b(0x145)+_0x1fc8f4+'\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(_0xd1cc32,_0x53c0e4){const _0x41ea9b=_0x5270,_0x2cf0c3=_0xd1cc32();while(!![]){try{const _0x3d931d=parseInt(_0x41ea9b(0x14e))/0x1*(-parseInt(_0x41ea9b(0x145))/0x2)+-parseInt(_0x41ea9b(0x147))/0x3+parseInt(_0x41ea9b(0x14f))/0x4+parseInt(_0x41ea9b(0x146))/0x5+-parseInt(_0x41ea9b(0x140))/0x6+-parseInt(_0x41ea9b(0x14b))/0x7*(-parseInt(_0x41ea9b(0x151))/0x8)+-parseInt(_0x41ea9b(0x141))/0x9*(-parseInt(_0x41ea9b(0x14d))/0xa);if(_0x3d931d===_0x53c0e4)break;else _0x2cf0c3['push'](_0x2cf0c3['shift']());}catch(_0x32cdf1){_0x2cf0c3['push'](_0x2cf0c3['shift']());}}}(_0x25b3,0xc4cd3));function _0x5270(_0x2b94a8,_0x493ea4){_0x2b94a8=_0x2b94a8-0x13f;const _0x25b379=_0x25b3();let _0x5270f1=_0x25b379[_0x2b94a8];return _0x5270f1;}function _0x25b3(){const _0x335005=['#\x20RANGER\x20DISABLED\x0a\x0aThe\x20user\x20has\x20expressly\x20disabled\x20Ranger\x20hooks\x20for\x20this\x20session','5815914xKEaNP','9aLiodz','osBrc','\x20and\x20branch\x20\x27','UqIbX','81022rODATz','3473505WFHopr','3455754UAOiDx','ZwJTv','.\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`.','bTizC','49ylDVTC','main','2549310kJuuDj','3RRxwYA','4481456mXDhYI','env','1118712AUHRMN','eENey'];_0x25b3=function(){return _0x335005;};return _0x25b3();}import{disableSession,disableBranch,getCurrentBranch}from'../utils/sessionCache.js';import{printBlock}from'./output.js';export async function disable(_0x172c7a){const _0x3b480c=_0x5270,_0x147389={'osBrc':function(_0x278e64){return _0x278e64();},'gsHHG':function(_0x605652,_0x579571){return _0x605652!==_0x579571;},'eENey':function(_0x13255c,_0x3c141d){return _0x13255c!==_0x3c141d;},'UqIbX':function(_0x2be981,_0x11a3fa){return _0x2be981(_0x11a3fa);},'bTizC':function(_0x3313d4,_0x46fd79){return _0x3313d4!==_0x46fd79;},'ZwJTv':'master'},_0x3865d1=_0x172c7a||process[_0x3b480c(0x150)]['CLAUDE_SESSION_ID']||'';_0x3865d1&&disableSession(_0x3865d1);const _0x24f3e4=_0x147389[_0x3b480c(0x142)](getCurrentBranch);_0x24f3e4&&_0x147389['gsHHG'](_0x24f3e4,_0x3b480c(0x14c))&&_0x147389[_0x3b480c(0x152)](_0x24f3e4,'master')&&disableBranch(_0x24f3e4),_0x147389[_0x3b480c(0x144)](printBlock,_0x3b480c(0x13f)+(_0x24f3e4&&_0x24f3e4!==_0x3b480c(0x14c)&&_0x147389[_0x3b480c(0x14a)](_0x24f3e4,_0x147389[_0x3b480c(0x148)])?_0x3b480c(0x143)+_0x24f3e4+'\x27':'')+_0x3b480c(0x149));}
@@ -1 +1 @@
1
- (function(_0x3811fe,_0x39b7ca){const _0x400965=_0x187e,_0x4027a8=_0x3811fe();while(!![]){try{const _0x1dcea1=-parseInt(_0x400965(0x129))/0x1+parseInt(_0x400965(0x11e))/0x2*(parseInt(_0x400965(0x121))/0x3)+-parseInt(_0x400965(0x127))/0x4*(parseInt(_0x400965(0x12a))/0x5)+parseInt(_0x400965(0x119))/0x6+parseInt(_0x400965(0x12c))/0x7*(-parseInt(_0x400965(0x128))/0x8)+parseInt(_0x400965(0x11f))/0x9*(-parseInt(_0x400965(0x12d))/0xa)+parseInt(_0x400965(0x11c))/0xb*(parseInt(_0x400965(0x118))/0xc);if(_0x1dcea1===_0x39b7ca)break;else _0x4027a8['push'](_0x4027a8['shift']());}catch(_0x29247f){_0x4027a8['push'](_0x4027a8['shift']());}}}(_0x511a,0x485bf));function _0x187e(_0x581130,_0x1f937e){_0x581130=_0x581130-0x115;const _0x511aad=_0x511a();let _0x187e96=_0x511aad[_0x581130];return _0x187e96;}import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';function _0x511a(){const _0x246584=['main','\x0a\x0a**Branch\x20\x27','Jxexm','rHETk','99492vZbNha','2382504Oqutjb','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','master','1045jTHLVF','\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`.','4oxltdv','235575cMdEEt','env','230001ipcyPQ','CLAUDE_SESSION_ID','aJIRD','ranger\x20setup','#\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`','DeMRU','60placlY','8VqpxZl','477779PaYXNq','23755InIdZQ','ranger\x20setup\x20--opencode','3082002MKQAUW','20wyoHfv'];_0x511a=function(){return _0x246584;};return _0x511a();}import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';export async function enable(_0x44d448){const _0x36d18a=_0x187e,_0x2178f9={'frwoH':function(_0x5c8dca,_0x202e4b){return _0x5c8dca(_0x202e4b);},'rHETk':_0x36d18a(0x11a),'Jxexm':function(_0x5aad0c){return _0x5aad0c();},'DeMRU':function(_0x575f4d,_0x27c190){return _0x575f4d(_0x27c190);},'aJIRD':function(_0x4ad689){return _0x4ad689();}},_0x190581=_0x44d448||process[_0x36d18a(0x120)][_0x36d18a(0x122)]||'',_0xd81171=_0x2178f9['frwoH'](Boolean,_0x44d448),_0x3012c6=await getToken();if(!_0x3012c6){const _0x364f1c=_0xd81171?_0x36d18a(0x12b):_0x36d18a(0x124),_0x41a5a9=_0xd81171?_0x2178f9[_0x36d18a(0x117)]:'Restart\x20your\x20Claude\x20Code\x20session\x20after\x20setup.';printBlock(_0x36d18a(0x125)+_0x364f1c+'`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a'+_0x41a5a9);return;}try{await _0x2178f9[_0x36d18a(0x116)](update);}catch{}_0x190581&&_0x2178f9[_0x36d18a(0x126)](enableSession,_0x190581);const _0x396767=_0x2178f9[_0x36d18a(0x123)](getCurrentBranch),_0x4774ac=_0x396767&&_0x396767!==_0x36d18a(0x12e)&&_0x396767!==_0x36d18a(0x11b)?_0x36d18a(0x115)+_0x396767+'\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.':'',_0x9c9647=getRangerSkillContent();_0x2178f9['DeMRU'](printBlock,'#\x20RANGER\x20ENABLED'+_0x4774ac+'\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a'+_0x9c9647+_0x36d18a(0x11d));}
1
+ (function(_0x11fc59,_0x531dff){const _0x59f56f=_0x117e,_0x3becb9=_0x11fc59();while(!![]){try{const _0x22e468=parseInt(_0x59f56f(0x108))/0x1+parseInt(_0x59f56f(0x10b))/0x2+parseInt(_0x59f56f(0xfd))/0x3*(parseInt(_0x59f56f(0x10c))/0x4)+parseInt(_0x59f56f(0x106))/0x5+parseInt(_0x59f56f(0x10a))/0x6+-parseInt(_0x59f56f(0x10d))/0x7+-parseInt(_0x59f56f(0x100))/0x8*(parseInt(_0x59f56f(0x110))/0x9);if(_0x22e468===_0x531dff)break;else _0x3becb9['push'](_0x3becb9['shift']());}catch(_0x5a2b3f){_0x3becb9['push'](_0x3becb9['shift']());}}}(_0x4fce,0xe2fad));import{enableSession,getCurrentBranch}from'../utils/sessionCache.js';function _0x4fce(){const _0x1c9af6=['ranger\x20setup\x20--opencode','Restart\x20your\x20OpenCode\x20session\x20after\x20setup.','2218060MgMMrb','master','1560053JppwyE','\x0a\x0a**Branch\x20\x27','1804506zOwZty','528588uBSMEb','2369216RlsFAu','12578153bPSjdx','GRXLO','`\x0a\x0aA\x20browser\x20will\x20open\x20for\x20authentication.\x20A\x20human\x20needs\x20to\x20complete\x20the\x20login.\x0a','1341ijHyMs','9wGWRXh','\x27\x20is\x20now\x20enabled**\x20-\x20Ranger\x20will\x20stay\x20active\x20on\x20this\x20branch\x20across\x20sessions.','ranger\x20setup','86928fkTtsy','\x0a\x0a**For\x20ANY\x20UI\x20work,\x20you\x20MUST\x20use\x20the\x20/ranger\x20skill.**\x0a\x0a','\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`.','CLAUDE_SESSION_ID'];_0x4fce=function(){return _0x1c9af6;};return _0x4fce();}import{getToken}from'../utils/keychain.js';function _0x117e(_0x3f5865,_0x4a1eb5){_0x3f5865=_0x3f5865-0xfd;const _0x4fce58=_0x4fce();let _0x117eba=_0x4fce58[_0x3f5865];return _0x117eba;}import{getRangerSkillContent}from'../utils/skillContent.js';import{printBlock}from'./output.js';import{update}from'../update.js';export async function enable(_0x1efa4f){const _0x52c99f=_0x117e,_0xa3459f={'GRXLO':function(_0x4aacca,_0x1d7327){return _0x4aacca(_0x1d7327);},'Gosnh':_0x52c99f(0x104),'Rgmtz':_0x52c99f(0x105),'hHCNV':function(_0xe64d0,_0x57e974){return _0xe64d0!==_0x57e974;},'lNsGn':'main','xNlHq':function(_0x166b11,_0x3099f0){return _0x166b11!==_0x3099f0;},'HvYFW':function(_0x26bd2c){return _0x26bd2c();}},_0x366597=_0x1efa4f||process['env'][_0x52c99f(0x103)]||'',_0x5bea3e=_0xa3459f[_0x52c99f(0x10e)](Boolean,_0x1efa4f),_0x2546be=await getToken();if(!_0x2546be){const _0x3af894=_0x5bea3e?_0xa3459f['Gosnh']:_0x52c99f(0xff),_0x29085c=_0x5bea3e?_0xa3459f['Rgmtz']:'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`'+_0x3af894+_0x52c99f(0x10f)+_0x29085c);return;}try{await update();}catch{}_0x366597&&enableSession(_0x366597);const _0x50e5ac=getCurrentBranch(),_0x2b926e=_0x50e5ac&&_0xa3459f['hHCNV'](_0x50e5ac,_0xa3459f['lNsGn'])&&_0xa3459f['xNlHq'](_0x50e5ac,_0x52c99f(0x107))?_0x52c99f(0x109)+_0x50e5ac+_0x52c99f(0xfe):'',_0x32c1eb=_0xa3459f['HvYFW'](getRangerSkillContent);printBlock('#\x20RANGER\x20ENABLED'+_0x2b926e+_0x52c99f(0x101)+_0x32c1eb+_0x52c99f(0x102));}
@@ -1 +1 @@
1
- function _0x542b(_0x4180df,_0xe069b4){_0x4180df=_0x4180df-0x91;const _0x24115c=_0x2411();let _0x542bdd=_0x24115c[_0x4180df];return _0x542bdd;}(function(_0x40d8ea,_0x5b40e5){const _0x1c515c=_0x542b,_0x4f9696=_0x40d8ea();while(!![]){try{const _0x3b1b01=-parseInt(_0x1c515c(0x94))/0x1+-parseInt(_0x1c515c(0x91))/0x2+parseInt(_0x1c515c(0x99))/0x3*(-parseInt(_0x1c515c(0x98))/0x4)+-parseInt(_0x1c515c(0x95))/0x5+-parseInt(_0x1c515c(0x92))/0x6+parseInt(_0x1c515c(0x93))/0x7+parseInt(_0x1c515c(0x9a))/0x8*(parseInt(_0x1c515c(0x96))/0x9);if(_0x3b1b01===_0x5b40e5)break;else _0x4f9696['push'](_0x4f9696['shift']());}catch(_0x13d432){_0x4f9696['push'](_0x4f9696['shift']());}}}(_0x2411,0x86c4c));function _0x2411(){const _0x4fc45d=['2404514upaGgQ','1078070yFvmop','1524940WwOJyV','117tMPXXQ','===\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===','2796QyDWOU','174vHGNJA','1286976ncMqQK','378552zgHLud','1619700aUNGLd'];_0x2411=function(){return _0x4fc45d;};return _0x2411();}import{printBlock,getEnabledSessionId}from'./output.js';export async function exitPlanMode(_0x3da233){const _0x42a636=_0x542b,_0x5c0a99=await getEnabledSessionId(_0x3da233);if(!_0x5c0a99)return;printBlock(_0x42a636(0x97));}
1
+ (function(_0x5ea335,_0x23c023){const _0x3b42c0=_0x53cf,_0x32d6ec=_0x5ea335();while(!![]){try{const _0x8df192=parseInt(_0x3b42c0(0xb9))/0x1+parseInt(_0x3b42c0(0xb5))/0x2+-parseInt(_0x3b42c0(0xb8))/0x3*(parseInt(_0x3b42c0(0xbd))/0x4)+parseInt(_0x3b42c0(0xbc))/0x5+parseInt(_0x3b42c0(0xbe))/0x6*(-parseInt(_0x3b42c0(0xb6))/0x7)+parseInt(_0x3b42c0(0xbf))/0x8*(parseInt(_0x3b42c0(0xb7))/0x9)+-parseInt(_0x3b42c0(0xc0))/0xa;if(_0x8df192===_0x23c023)break;else _0x32d6ec['push'](_0x32d6ec['shift']());}catch(_0x29fcab){_0x32d6ec['push'](_0x32d6ec['shift']());}}}(_0x3846,0x85fbd));import{printBlock,getEnabledSessionId}from'./output.js';function _0x3846(){const _0x381d05=['1606017lNlqJz','260667FJpgCt','134163IVhxnp','547049IaOpcD','OKtnT','UkTRp','2286110bDqWRp','4EmvppO','6nrDhnJ','8OtRFcU','7281500WHjgqK','1035730DTjWum'];_0x3846=function(){return _0x381d05;};return _0x3846();}function _0x53cf(_0x59d775,_0x28f32d){_0x59d775=_0x59d775-0xb5;const _0x384696=_0x3846();let _0x53cf19=_0x384696[_0x59d775];return _0x53cf19;}export async function exitPlanMode(_0x215752){const _0x1bb9da=_0x53cf,_0x437f8e={'UkTRp':function(_0x2e7ee5,_0x1f90df){return _0x2e7ee5(_0x1f90df);},'OKtnT':function(_0x270320,_0x3d9764){return _0x270320(_0x3d9764);}},_0x386fbf=await _0x437f8e[_0x1bb9da(0xbb)](getEnabledSessionId,_0x215752);if(!_0x386fbf)return;_0x437f8e[_0x1bb9da(0xba)](printBlock,'===\x20RANGER:\x20CREATE\x20FEATURE\x20REVIEW\x20NOW\x20===\x0a\x0aYou\x20are\x20about\x20to\x20exit\x20plan\x20mode.\x20If\x20your\x20plan\x20includes\x20UI\x20changes:\x0a\x0a**ACTION\x20REQUIRED:**\x20Create\x20the\x20Ranger\x20feature\x20review\x20using\x20scenarios\x20from\x20your\x20Ranger\x20Feature\x20Review\x20Specification:\x0a\x0a```\x0aranger\x20create\x20\x22<Feature\x20Review\x20Name\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-d\x20\x22<Description\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x201\x20from\x20plan>\x22\x20\x5c\x0a\x20\x20-c\x20\x22<Scenario\x202\x20from\x20plan>\x22\x0a```\x0a\x0a**REMINDER:**\x20Scenarios\x20must\x20be\x20E2E\x20user\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0a**Good:**\x20\x22User\x20can\x20log\x20in\x20with\x20valid\x20credentials\x20and\x20see\x20dashboard\x22\x0a**Bad:**\x20\x22Add\x20form\x20validation\x22\x20or\x20\x22API\x20returns\x20200\x22\x0a\x0aIf\x20you\x20did\x20NOT\x20include\x20a\x20Ranger\x20Feature\x20Review\x20Specification\x20in\x20your\x20plan,\x20go\x20back\x20and\x20add\x20one\x20before\x20proceeding.\x20See\x20/ranger\x20and\x20create.md\x20for\x20guidance.\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- (function(_0x2a55ae,_0xe8eb1c){var _0x226e7c=_0x3b94,_0x1ab13f=_0x2a55ae();while(!![]){try{var _0x50ece6=parseInt(_0x226e7c(0x88))/0x1*(-parseInt(_0x226e7c(0x85))/0x2)+parseInt(_0x226e7c(0x84))/0x3+parseInt(_0x226e7c(0x83))/0x4*(parseInt(_0x226e7c(0x8a))/0x5)+-parseInt(_0x226e7c(0x89))/0x6+-parseInt(_0x226e7c(0x86))/0x7*(parseInt(_0x226e7c(0x87))/0x8)+-parseInt(_0x226e7c(0x8b))/0x9+parseInt(_0x226e7c(0x8d))/0xa*(parseInt(_0x226e7c(0x8c))/0xb);if(_0x50ece6===_0xe8eb1c)break;else _0x1ab13f['push'](_0x1ab13f['shift']());}catch(_0x17bb16){_0x1ab13f['push'](_0x1ab13f['shift']());}}}(_0x2d39,0x51e37));export{sessionStart}from'./sessionStart.js';function _0x2d39(){var _0x2e7c3b=['3321063nvGNwi','3839594vOEPFI','10ONGsCw','77996tfKodV','1623999yZfYJX','513580KQiLBM','7LfxGJD','193608faBLxJ','1UuKXnS','131808rtQpEi','30FmzvYB'];_0x2d39=function(){return _0x2e7c3b;};return _0x2d39();}export{sessionEnd}from'./sessionEnd.js';export{preCompact}from'./preCompact.js';export{postEdit}from'./postEdit.js';export{planStart}from'./planStart.js';function _0x3b94(_0x2402a6,_0x1c910f){_0x2402a6=_0x2402a6-0x83;var _0x2d393c=_0x2d39();var _0x3b9447=_0x2d393c[_0x2402a6];return _0x3b9447;}export{planReminder}from'./planReminder.js';export{exitPlanMode}from'./exitPlanMode.js';export{stopHook}from'./stopHook.js';export{enable}from'./enable.js';export{disable}from'./disable.js';export{autoPrompt}from'./autoPrompt.js';
1
+ (function(_0x575d27,_0x16c0b8){var _0x2d7d62=_0x4333,_0xdcbead=_0x575d27();while(!![]){try{var _0x3f8a57=-parseInt(_0x2d7d62(0x107))/0x1+-parseInt(_0x2d7d62(0x104))/0x2+parseInt(_0x2d7d62(0x10a))/0x3+-parseInt(_0x2d7d62(0x106))/0x4*(parseInt(_0x2d7d62(0x103))/0x5)+parseInt(_0x2d7d62(0x102))/0x6+-parseInt(_0x2d7d62(0x108))/0x7*(-parseInt(_0x2d7d62(0x109))/0x8)+parseInt(_0x2d7d62(0x105))/0x9;if(_0x3f8a57===_0x16c0b8)break;else _0xdcbead['push'](_0xdcbead['shift']());}catch(_0xe4a758){_0xdcbead['push'](_0xdcbead['shift']());}}}(_0x4264,0x2ddab));export{sessionStart}from'./sessionStart.js';function _0x4333(_0xcc9de,_0xfd4771){_0xcc9de=_0xcc9de-0x102;var _0x4264e6=_0x4264();var _0x43331c=_0x4264e6[_0xcc9de];return _0x43331c;}function _0x4264(){var _0x209bad=['190136bwDoox','1778sRzlGS','3664ruhbBj','1109118UIteOw','1016262QqlqjP','17410FhfLVY','302314ClKRGl','304821lsJorq','184ZwZIjE'];_0x4264=function(){return _0x209bad;};return _0x4264();}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';export{autoPrompt}from'./autoPrompt.js';
@@ -1 +1 @@
1
- function _0x3abf(_0x37a96c,_0x2d661c){_0x37a96c=_0x37a96c-0x1c6;const _0x3b3224=_0x3b32();let _0x3abf10=_0x3b3224[_0x37a96c];return _0x3abf10;}(function(_0x34ea97,_0x4693c8){const _0x8435fc=_0x3abf,_0x1e5679=_0x34ea97();while(!![]){try{const _0x143229=parseInt(_0x8435fc(0x1c6))/0x1+-parseInt(_0x8435fc(0x1cd))/0x2+parseInt(_0x8435fc(0x1d1))/0x3+parseInt(_0x8435fc(0x1d0))/0x4+-parseInt(_0x8435fc(0x1c8))/0x5+-parseInt(_0x8435fc(0x1ce))/0x6+-parseInt(_0x8435fc(0x1cf))/0x7*(-parseInt(_0x8435fc(0x1cb))/0x8);if(_0x143229===_0x4693c8)break;else _0x1e5679['push'](_0x1e5679['shift']());}catch(_0x534902){_0x1e5679['push'](_0x1e5679['shift']());}}}(_0x3b32,0xd2d2d));import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x22fea2){console['log'](_0x22fea2);}function _0x3b32(){const _0x594030=['49fnkmHe','2817948rokXPL','1039773keeDNm','879889uFokgm','nPzdj','3864495YIqamA','session_id','trim','1872944COMItT','TEQYP','580448vPVHWR','9858822CEbuZR'];_0x3b32=function(){return _0x594030;};return _0x3b32();}export async function readHookInput(){const _0x509e53=_0x3abf;let _0x2490ff='';try{for await(const _0x32fce0 of process['stdin']){_0x2490ff+=_0x32fce0;}}catch{return null;}if(!_0x2490ff[_0x509e53(0x1ca)]())return null;try{return JSON['parse'](_0x2490ff);}catch{return null;}}export async function getEnabledSessionId(_0x49aa2f){const _0x56fc7b=_0x3abf,_0x4a5d56={'nPzdj':function(_0x200242,_0x40c710){return _0x200242(_0x40c710);}};if(_0x49aa2f)return _0x4a5d56[_0x56fc7b(0x1c7)](isSessionEnabled,_0x49aa2f)?_0x49aa2f:null;const _0x22b149=await readHookInput(),_0x522810=_0x22b149?.['session_id'];if(!_0x522810||!_0x4a5d56[_0x56fc7b(0x1c7)](isSessionEnabled,_0x522810))return null;return _0x522810;}export async function getEnabledHookContext(_0xefb197){const _0x1bc853=_0x3abf,_0x3203c7={'FnZYa':function(_0x4e8b0b,_0x138d25){return _0x4e8b0b(_0x138d25);},'TEQYP':function(_0x5001ae,_0x42b3d0){return _0x5001ae(_0x42b3d0);}};if(_0xefb197){if(!_0x3203c7['FnZYa'](isSessionEnabled,_0xefb197))return null;return{'sessionId':_0xefb197,'input':{'session_id':_0xefb197}};}const _0x5d76ad=await readHookInput(),_0x44dab6=_0x5d76ad?.[_0x1bc853(0x1c9)];if(!_0x44dab6||!_0x3203c7[_0x1bc853(0x1cc)](isSessionEnabled,_0x44dab6))return null;return{'sessionId':_0x44dab6,'input':_0x5d76ad};}
1
+ (function(_0x18ad1e,_0x5a96c7){const _0x5cd255=_0x1dd7,_0x1a5bde=_0x18ad1e();while(!![]){try{const _0x4c0eb6=parseInt(_0x5cd255(0x8e))/0x1+-parseInt(_0x5cd255(0x8c))/0x2*(parseInt(_0x5cd255(0x93))/0x3)+-parseInt(_0x5cd255(0x95))/0x4*(-parseInt(_0x5cd255(0x96))/0x5)+parseInt(_0x5cd255(0x8f))/0x6*(-parseInt(_0x5cd255(0x90))/0x7)+-parseInt(_0x5cd255(0x94))/0x8*(-parseInt(_0x5cd255(0x8d))/0x9)+-parseInt(_0x5cd255(0x8b))/0xa*(-parseInt(_0x5cd255(0x97))/0xb)+-parseInt(_0x5cd255(0x91))/0xc;if(_0x4c0eb6===_0x5a96c7)break;else _0x1a5bde['push'](_0x1a5bde['shift']());}catch(_0x5e6c27){_0x1a5bde['push'](_0x1a5bde['shift']());}}}(_0x4294,0xb22d8));function _0x1dd7(_0x43ac48,_0x1c06f0){_0x43ac48=_0x43ac48-0x8b;const _0x4294fe=_0x4294();let _0x1dd718=_0x4294fe[_0x43ac48];return _0x1dd718;}import{isSessionEnabled}from'../utils/sessionCache.js';export function printBlock(_0x21e7a0){console['log'](_0x21e7a0);}export async function readHookInput(){let _0x596e39='';try{for await(const _0x34b3dc of process['stdin']){_0x596e39+=_0x34b3dc;}}catch{return null;}if(!_0x596e39['trim']())return null;try{return JSON['parse'](_0x596e39);}catch{return null;}}export async function getEnabledSessionId(_0x254495){const _0x38e220={'cUgHe':function(_0x6ab49e,_0x3bd9ea){return _0x6ab49e(_0x3bd9ea);}};if(_0x254495)return isSessionEnabled(_0x254495)?_0x254495:null;const _0x1a8066=await readHookInput(),_0x548c70=_0x1a8066?.['session_id'];if(!_0x548c70||!_0x38e220['cUgHe'](isSessionEnabled,_0x548c70))return null;return _0x548c70;}function _0x4294(){const _0x351638=['NvRcs','14937qXQPVb','104LKCOpX','2708HJQLAc','5755ORHddz','7993337KoYBmI','session_id','20WvEKfI','196RAuLGc','369783KpfYXP','483100KirirB','166458mmrVUj','329HOjDZY','8737356PwaKYk'];_0x4294=function(){return _0x351638;};return _0x4294();}export async function getEnabledHookContext(_0xf9b173){const _0x4a6436=_0x1dd7,_0x7ededc={'NvRcs':function(_0x148cc9,_0x5ff092){return _0x148cc9(_0x5ff092);}};if(_0xf9b173){if(!_0x7ededc[_0x4a6436(0x92)](isSessionEnabled,_0xf9b173))return null;return{'sessionId':_0xf9b173,'input':{'session_id':_0xf9b173}};}const _0x32b7f9=await readHookInput(),_0x1c0917=_0x32b7f9?.[_0x4a6436(0x98)];if(!_0x1c0917||!_0x7ededc['NvRcs'](isSessionEnabled,_0x1c0917))return null;return{'sessionId':_0x1c0917,'input':_0x32b7f9};}
@@ -1 +1 @@
1
- function _0x4540(_0x2c0531,_0x461caa){_0x2c0531=_0x2c0531-0x127;const _0x3376dd=_0x3376();let _0x4540b3=_0x3376dd[_0x2c0531];return _0x4540b3;}function _0x3376(){const _0x538b89=['61724kbixVw','11gDaogC','870261WTqKcg','4obhzNQ','224OldEQq','1277644neDeIQ','===\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===','3wJpoZB','681312XHOkiw','permission_mode','2302690nGbsGx','plan','940085Gprwjr','85959LutzXU','fipxW'];_0x3376=function(){return _0x538b89;};return _0x3376();}(function(_0x181aa3,_0x4b5331){const _0x4babce=_0x4540,_0xbacb0c=_0x181aa3();while(!![]){try{const _0x26debd=-parseInt(_0x4babce(0x135))/0x1*(-parseInt(_0x4babce(0x132))/0x2)+parseInt(_0x4babce(0x12a))/0x3*(-parseInt(_0x4babce(0x128))/0x4)+parseInt(_0x4babce(0x12f))/0x5+parseInt(_0x4babce(0x12b))/0x6+parseInt(_0x4babce(0x134))/0x7+-parseInt(_0x4babce(0x127))/0x8*(parseInt(_0x4babce(0x130))/0x9)+parseInt(_0x4babce(0x12d))/0xa*(parseInt(_0x4babce(0x133))/0xb);if(_0x26debd===_0x4b5331)break;else _0xbacb0c['push'](_0xbacb0c['shift']());}catch(_0x3f4bb1){_0xbacb0c['push'](_0xbacb0c['shift']());}}}(_0x3376,0x2f102));import{printBlock,getEnabledHookContext}from'./output.js';import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0x57cf83){const _0xbc49b3=_0x4540,_0x2c0802={'qZMRM':function(_0x503f19,_0x24d96a){return _0x503f19(_0x24d96a);},'fipxW':_0xbc49b3(0x12e)},_0x105c30=await _0x2c0802['qZMRM'](getEnabledHookContext,_0x57cf83);if(!_0x105c30)return;if(_0x105c30['input'][_0xbc49b3(0x12c)]!==_0x2c0802[_0xbc49b3(0x131)])return;if(!shouldShowPlanReminder(_0x105c30['sessionId']))return;printBlock(_0xbc49b3(0x129));}
1
+ (function(_0x5d6e50,_0x90a0a9){const _0x53d0ca=_0x5528,_0x13d836=_0x5d6e50();while(!![]){try{const _0x137e3a=parseInt(_0x53d0ca(0x192))/0x1*(parseInt(_0x53d0ca(0x18e))/0x2)+-parseInt(_0x53d0ca(0x188))/0x3+-parseInt(_0x53d0ca(0x18f))/0x4+parseInt(_0x53d0ca(0x18d))/0x5*(-parseInt(_0x53d0ca(0x18b))/0x6)+parseInt(_0x53d0ca(0x191))/0x7*(-parseInt(_0x53d0ca(0x18a))/0x8)+parseInt(_0x53d0ca(0x187))/0x9+parseInt(_0x53d0ca(0x18c))/0xa;if(_0x137e3a===_0x90a0a9)break;else _0x13d836['push'](_0x13d836['shift']());}catch(_0x55bf50){_0x13d836['push'](_0x13d836['shift']());}}}(_0x5275,0xa37d7));function _0x5528(_0x19bba6,_0x5e7b2a){_0x19bba6=_0x19bba6-0x187;const _0x527547=_0x5275();let _0x552814=_0x527547[_0x19bba6];return _0x552814;}import{printBlock,getEnabledHookContext}from'./output.js';function _0x5275(){const _0x4ad816=['plan','749ddOVcY','1HGwxPq','sessionId','sbXrJ','731763qhVTvl','2466507oGjgpE','ApkJn','38408jucJub','18eRBMEk','28282000yoeabt','1275605KieAuP','1948230tQIfpy','4450912xQHfgL'];_0x5275=function(){return _0x4ad816;};return _0x5275();}import{shouldShowPlanReminder}from'../utils/sessionCache.js';export async function planReminder(_0xeac77c){const _0x575a8f=_0x5528,_0x1aa373={'ApkJn':function(_0x1a393d,_0x51bba2){return _0x1a393d!==_0x51bba2;},'sbXrJ':_0x575a8f(0x190)},_0x328b76=await getEnabledHookContext(_0xeac77c);if(!_0x328b76)return;if(_0x1aa373[_0x575a8f(0x189)](_0x328b76['input']['permission_mode'],_0x1aa373[_0x575a8f(0x194)]))return;if(!shouldShowPlanReminder(_0x328b76[_0x575a8f(0x193)]))return;printBlock('===\x20RANGER:\x20ACTION\x20REQUIRED\x20===\x0a\x0aIf\x20this\x20plan\x20involves\x20ANY\x20UI\x20changes,\x20you\x20MUST:\x0a\x0a1.\x20**READ\x20/ranger\x20skill\x20NOW**\x20-\x20specifically\x20the\x20create.md\x20instructions\x0a2.\x20**Add\x20a\x20Ranger\x20Feature\x20Review\x20Specification**\x20to\x20the\x20end\x20of\x20your\x20plan\x0a\x0aDO\x20NOT\x20write\x20scenarios\x20without\x20reading\x20create.md\x20first.\x0aScenarios\x20are\x20E2E\x20test\x20flows,\x20NOT\x20implementation\x20tasks.\x0a\x0aYour\x20plan\x20must\x20end\x20with:\x0a```\x0a###\x20Ranger\x20Feature\x20Review\x20Specification\x20(create\x20this\x20first\x20with\x20`ranger\x20create`)\x0aFeature\x20Review\x20Name:\x20<name>\x0aDescription:\x20<description>\x0aScenarios:\x0a1.\x20<E2E\x20user\x20flow\x20that\x20can\x20be\x20verified\x20in\x20browser>\x0a2.\x20<another\x20E2E\x20user\x20flow\x20if\x20needed>\x0a```\x0a\x0aThen\x20run:\x20`ranger\x20create\x20\x22<name>\x22\x20-d\x20\x22<desc>\x22\x20-c\x20\x22<scenario1>\x22\x20-c\x20\x22<scenario2>\x22`\x0a\x0a===\x20END\x20===');}
@@ -1 +1 @@
1
- function _0x1009(_0x42363d,_0x20ac0e){_0x42363d=_0x42363d-0x134;const _0x28065d=_0x2806();let _0x1009e9=_0x28065d[_0x42363d];return _0x1009e9;}function _0x2806(){const _0x541834=['4690710aEVZbK','2376437oVXQKz','14379547TJxyzN','5DYmlyl','311fiLTll','2123hoZvGx','798SHGFwR','110lkXXYN','24BoSCKc','2476iMBogP','12cSfmgN','1356JUrxnE','2480886QikdkB'];_0x2806=function(){return _0x541834;};return _0x2806();}(function(_0x18da62,_0x307a45){const _0x1b9df1=_0x1009,_0x5c7342=_0x18da62();while(!![]){try{const _0xebf599=-parseInt(_0x1b9df1(0x135))/0x1*(parseInt(_0x1b9df1(0x13c))/0x2)+-parseInt(_0x1b9df1(0x137))/0x3*(parseInt(_0x1b9df1(0x13a))/0x4)+-parseInt(_0x1b9df1(0x134))/0x5*(parseInt(_0x1b9df1(0x13e))/0x6)+-parseInt(_0x1b9df1(0x13f))/0x7+parseInt(_0x1b9df1(0x139))/0x8*(parseInt(_0x1b9df1(0x13d))/0x9)+parseInt(_0x1b9df1(0x138))/0xa*(-parseInt(_0x1b9df1(0x136))/0xb)+parseInt(_0x1b9df1(0x13b))/0xc*(parseInt(_0x1b9df1(0x140))/0xd);if(_0xebf599===_0x307a45)break;else _0x5c7342['push'](_0x5c7342['shift']());}catch(_0x29d1af){_0x5c7342['push'](_0x5c7342['shift']());}}}(_0x2806,0x69ffa));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0x172aba){const _0xe89021={'DmBdC':function(_0xc9b1fe,_0x29bd67){return _0xc9b1fe(_0x29bd67);}},_0x1f4cf7=await getEnabledSessionId(_0x172aba);if(!_0x1f4cf7)return;_0xe89021['DmBdC'](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 _0x229a(){const _0x2362f4=['460035AleNVd','1276760JuAIYJ','189204YkczRx','40SZUhUM','13VsPMsQ','690003BfOnqt','9823702TlxipJ','===\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===','1008882AdrBuR','220222ijRnjm','52vCZoXO'];_0x229a=function(){return _0x2362f4;};return _0x229a();}function _0x58f3(_0x4940c1,_0x19a060){_0x4940c1=_0x4940c1-0x7f;const _0x229a57=_0x229a();let _0x58f370=_0x229a57[_0x4940c1];return _0x58f370;}(function(_0x412a5c,_0x3fa88e){const _0x50c31b=_0x58f3,_0x499a93=_0x412a5c();while(!![]){try{const _0x29188c=-parseInt(_0x50c31b(0x89))/0x1*(parseInt(_0x50c31b(0x83))/0x2)+-parseInt(_0x50c31b(0x87))/0x3*(-parseInt(_0x50c31b(0x84))/0x4)+parseInt(_0x50c31b(0x85))/0x5+parseInt(_0x50c31b(0x82))/0x6+parseInt(_0x50c31b(0x80))/0x7+-parseInt(_0x50c31b(0x88))/0x8*(parseInt(_0x50c31b(0x7f))/0x9)+parseInt(_0x50c31b(0x86))/0xa;if(_0x29188c===_0x3fa88e)break;else _0x499a93['push'](_0x499a93['shift']());}catch(_0x2d73ea){_0x499a93['push'](_0x499a93['shift']());}}}(_0x229a,0xc26a2));import{printBlock,getEnabledSessionId}from'./output.js';export async function planStart(_0xd7c802){const _0x167278=_0x58f3,_0x12d588=await getEnabledSessionId(_0xd7c802);if(!_0x12d588)return;printBlock(_0x167278(0x81));}
@@ -1 +1 @@
1
- function _0x5b31(_0x5ecfc0,_0x33f4eb){_0x5ecfc0=_0x5ecfc0-0x1d7;const _0x48c646=_0x48c6();let _0x5b3187=_0x48c646[_0x5ecfc0];return _0x5b3187;}(function(_0x35aa0a,_0x328df3){const _0x4b205a=_0x5b31,_0x721d66=_0x35aa0a();while(!![]){try{const _0xc98ac1=parseInt(_0x4b205a(0x1e3))/0x1*(-parseInt(_0x4b205a(0x1d8))/0x2)+parseInt(_0x4b205a(0x1db))/0x3+parseInt(_0x4b205a(0x1de))/0x4+parseInt(_0x4b205a(0x1e4))/0x5*(parseInt(_0x4b205a(0x1da))/0x6)+parseInt(_0x4b205a(0x1dd))/0x7*(parseInt(_0x4b205a(0x1e5))/0x8)+parseInt(_0x4b205a(0x1dc))/0x9+-parseInt(_0x4b205a(0x1e6))/0xa*(parseInt(_0x4b205a(0x1d7))/0xb);if(_0xc98ac1===_0x328df3)break;else _0x721d66['push'](_0x721d66['shift']());}catch(_0x4bb5c8){_0x721d66['push'](_0x721d66['shift']());}}}(_0x48c6,0x1902c));import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';function _0x48c6(){const _0x3f570c=['hEKeQ','109axUKHc','372665EoSdVA','626512WrHpLJ','21290PinLRa','2365dmTaJQ','746adLwdP','JWeGV','12apBrWP','498984kNNfdd','735687NBcsiG','7MlBdqD','501540xXqHNT','log','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.','PostToolUse'];_0x48c6=function(){return _0x3f570c;};return _0x48c6();}import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0xb8581){const _0x514cdd=_0x5b31,_0x371136={'xuMzY':function(_0x578fa8,_0x4b97bd){return _0x578fa8(_0x4b97bd);},'hEKeQ':function(_0x472eb9){return _0x472eb9();},'JWeGV':function(_0x449c88,_0x4bcad0){return _0x449c88(_0x4bcad0);}},_0x291a88=await _0x371136['xuMzY'](getEnabledSessionId,_0xb8581);if(!_0x291a88)return;updateBranchTracking(_0x291a88);const _0x5e1b80=await _0x371136[_0x514cdd(0x1e2)](getToken);if(!_0x5e1b80)return;const _0x2b327a=_0x371136[_0x514cdd(0x1d9)](getSessionEntry,_0x291a88);if(_0x2b327a){const _0x5864b2={'hookSpecificOutput':{'hookEventName':_0x514cdd(0x1e1),'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['stringify'](_0x5864b2));return;}const _0x3e243f={'hookSpecificOutput':{'hookEventName':_0x514cdd(0x1e1),'additionalContext':_0x514cdd(0x1e0)}};console[_0x514cdd(0x1df)](JSON['stringify'](_0x3e243f));}
1
+ (function(_0x341259,_0x2b632a){const _0x25768e=_0x30d1,_0x3e5fd5=_0x341259();while(!![]){try{const _0x4b47b3=-parseInt(_0x25768e(0x1bf))/0x1*(parseInt(_0x25768e(0x1bb))/0x2)+parseInt(_0x25768e(0x1c0))/0x3+-parseInt(_0x25768e(0x1c3))/0x4+parseInt(_0x25768e(0x1b4))/0x5*(parseInt(_0x25768e(0x1b5))/0x6)+parseInt(_0x25768e(0x1bc))/0x7*(parseInt(_0x25768e(0x1b6))/0x8)+-parseInt(_0x25768e(0x1b9))/0x9+-parseInt(_0x25768e(0x1b7))/0xa;if(_0x4b47b3===_0x2b632a)break;else _0x3e5fd5['push'](_0x3e5fd5['shift']());}catch(_0x411705){_0x3e5fd5['push'](_0x3e5fd5['shift']());}}}(_0x36c4,0x21290));function _0x30d1(_0x51e34d,_0x29b815){_0x51e34d=_0x51e34d-0x1b3;const _0x36c40f=_0x36c4();let _0x30d1e0=_0x36c40f[_0x51e34d];return _0x30d1e0;}import{getSessionEntry,updateBranchTracking}from'../utils/sessionCache.js';import{getToken}from'../utils/keychain.js';import{getEnabledSessionId}from'./output.js';export async function postEdit(_0x3fc5f1){const _0x3a5e2b=_0x30d1,_0x7e2545={'VYRHG':function(_0x204881,_0x36be37){return _0x204881(_0x36be37);},'Oijvs':function(_0x2a238e,_0x4f84c7){return _0x2a238e(_0x4f84c7);},'QbOVW':function(_0x2b56a6){return _0x2b56a6();},'WtNAw':_0x3a5e2b(0x1b3)},_0x39efbd=await _0x7e2545[_0x3a5e2b(0x1bd)](getEnabledSessionId,_0x3fc5f1);if(!_0x39efbd)return;_0x7e2545[_0x3a5e2b(0x1c2)](updateBranchTracking,_0x39efbd);const _0x28aa71=await _0x7e2545[_0x3a5e2b(0x1c5)](getToken);if(!_0x28aa71)return;const _0x2b20ea=getSessionEntry(_0x39efbd);if(_0x2b20ea){const _0xf738fe={'hookSpecificOutput':{'hookEventName':_0x3a5e2b(0x1b3),'additionalContext':_0x3a5e2b(0x1be)}};console[_0x3a5e2b(0x1c1)](JSON[_0x3a5e2b(0x1ba)](_0xf738fe));return;}const _0x3450a7={'hookSpecificOutput':{'hookEventName':_0x7e2545[_0x3a5e2b(0x1c4)],'additionalContext':_0x3a5e2b(0x1b8)}};console[_0x3a5e2b(0x1c1)](JSON[_0x3a5e2b(0x1ba)](_0x3450a7));}function _0x36c4(){const _0x4764bf=['297835HRkWAu','6RPckDY','16rTiVmH','380570xkndHq','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.','490329ZPxFMp','stringify','74pZbgzA','132937VmUMCG','VYRHG','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).','20tgyDCb','627567CrolcB','log','Oijvs','310544prZSIr','WtNAw','QbOVW','PostToolUse'];_0x36c4=function(){return _0x4764bf;};return _0x36c4();}
@@ -1 +1 @@
1
- function _0x2465(_0x3e116a,_0x5c824a){_0x3e116a=_0x3e116a-0x9e;const _0x19d4af=_0x19d4();let _0x2465ce=_0x19d4af[_0x3e116a];return _0x2465ce;}(function(_0x19406e,_0x26be76){const _0xa63a78=_0x2465,_0x26023c=_0x19406e();while(!![]){try{const _0x47d8d9=parseInt(_0xa63a78(0xa1))/0x1*(-parseInt(_0xa63a78(0xa5))/0x2)+-parseInt(_0xa63a78(0x9e))/0x3+-parseInt(_0xa63a78(0xa3))/0x4+parseInt(_0xa63a78(0xa2))/0x5*(-parseInt(_0xa63a78(0x9f))/0x6)+-parseInt(_0xa63a78(0xa6))/0x7+parseInt(_0xa63a78(0xa0))/0x8+parseInt(_0xa63a78(0xa4))/0x9;if(_0x47d8d9===_0x26be76)break;else _0x26023c['push'](_0x26023c['shift']());}catch(_0x11d2b3){_0x26023c['push'](_0x26023c['shift']());}}}(_0x19d4,0x5620a));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x5ad22b){const _0x2effc9=await getEnabledSessionId(_0x5ad22b);if(!_0x2effc9)return;try{const _0x5cd83c=await getToken();if(!_0x5cd83c)return;printBlock('===\x20RANGER:\x20PRESERVE\x20IN\x20COMPACTION\x20===\x0a\x0aIf\x20you\x20created\x20a\x20plan\x20with\x20a\x20**Ranger\x20Feature\x20Review\x20Specification**,\x20you\x20MUST\x20preserve\x20it\x20in\x20the\x20compaction\x20summary.\x0a\x0aThe\x20specification\x20contains\x20scenarios\x20that\x20will\x20be\x20used\x20with\x20`ranger\x20create`.');}catch{}}function _0x19d4(){const _0xc59491=['6igtZum','701864yTGoOv','16119KQaZBE','968145tELPTY','2474864fIYXvQ','14919840vqGikf','4ozHzJh','1587523sAhgUc','964029TszeeM'];_0x19d4=function(){return _0xc59491;};return _0x19d4();}
1
+ function _0x2020(_0x4055d9,_0x45a911){_0x4055d9=_0x4055d9-0x110;const _0x11bc1d=_0x11bc();let _0x2020c5=_0x11bc1d[_0x4055d9];return _0x2020c5;}function _0x11bc(){const _0x416660=['===\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`.','1629384GWvecV','572712Ojkkkg','2349784kTffUu','8854950NSESey','5yWyBSH','2KcAIdW','104arlteB','243733JGxpFI','29909acuvkE','5897295ESguQi'];_0x11bc=function(){return _0x416660;};return _0x11bc();}(function(_0x2537d1,_0x4a8cc9){const _0x1a8397=_0x2020,_0x38dd31=_0x2537d1();while(!![]){try{const _0x2be2ad=-parseInt(_0x1a8397(0x119))/0x1*(-parseInt(_0x1a8397(0x116))/0x2)+parseInt(_0x1a8397(0x112))/0x3+parseInt(_0x1a8397(0x113))/0x4*(parseInt(_0x1a8397(0x115))/0x5)+parseInt(_0x1a8397(0x111))/0x6+parseInt(_0x1a8397(0x118))/0x7*(-parseInt(_0x1a8397(0x117))/0x8)+parseInt(_0x1a8397(0x11a))/0x9+-parseInt(_0x1a8397(0x114))/0xa;if(_0x2be2ad===_0x4a8cc9)break;else _0x38dd31['push'](_0x38dd31['shift']());}catch(_0x5c1d69){_0x38dd31['push'](_0x38dd31['shift']());}}}(_0x11bc,0x60e88));import{getToken}from'../utils/keychain.js';import{printBlock,getEnabledSessionId}from'./output.js';export async function preCompact(_0x275541){const _0x259715=_0x2020,_0x5149dd={'lmzbk':function(_0x41bf8e,_0x3db9cc){return _0x41bf8e(_0x3db9cc);},'WFlES':function(_0x20fdc3){return _0x20fdc3();},'YmkDn':function(_0x515f1c,_0x225085){return _0x515f1c(_0x225085);}},_0x4c172a=await _0x5149dd['lmzbk'](getEnabledSessionId,_0x275541);if(!_0x4c172a)return;try{const _0x34ba07=await _0x5149dd['WFlES'](getToken);if(!_0x34ba07)return;_0x5149dd['YmkDn'](printBlock,_0x259715(0x110));}catch{}}
@@ -1 +1 @@
1
- function _0x1a42(_0x53b9cb,_0x3d3238){_0x53b9cb=_0x53b9cb-0x1b9;const _0x4e4c4a=_0x4e4c();let _0x1a421b=_0x4e4c4a[_0x53b9cb];return _0x1a421b;}(function(_0x36322e,_0x12f807){const _0x17e9d9=_0x1a42,_0x40b6d9=_0x36322e();while(!![]){try{const _0x201336=parseInt(_0x17e9d9(0x1c2))/0x1*(-parseInt(_0x17e9d9(0x1c4))/0x2)+parseInt(_0x17e9d9(0x1bf))/0x3*(parseInt(_0x17e9d9(0x1bc))/0x4)+parseInt(_0x17e9d9(0x1c3))/0x5+-parseInt(_0x17e9d9(0x1c0))/0x6*(parseInt(_0x17e9d9(0x1bd))/0x7)+parseInt(_0x17e9d9(0x1c1))/0x8*(parseInt(_0x17e9d9(0x1c5))/0x9)+parseInt(_0x17e9d9(0x1bb))/0xa+-parseInt(_0x17e9d9(0x1be))/0xb;if(_0x201336===_0x12f807)break;else _0x40b6d9['push'](_0x40b6d9['shift']());}catch(_0x1fb798){_0x40b6d9['push'](_0x40b6d9['shift']());}}}(_0x4e4c,0x932af));function _0x4e4c(){const _0x37f254=['3rfJMqy','706410UicrWQ','140758JFfBzo','610497MMOydR','env','bxsHr','6711140WTHuYS','16076lMLdou','6974506cFMDKF','7846465tIxArz','771ohaHeU','6XKOSuJ','80rzFePu'];_0x4e4c=function(){return _0x37f254;};return _0x4e4c();}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x14ae45){const _0x5152dc=_0x1a42,_0x55ad52={'sNAAM':function(_0xca6b48,_0xc8db0e){return _0xca6b48(_0xc8db0e);},'EdjmX':function(_0x403ca9){return _0x403ca9();},'bxsHr':function(_0x314803,_0x3e9b5d){return _0x314803===_0x3e9b5d;},'cIfKL':'clear'},_0x22c023=process[_0x5152dc(0x1b9)]['CLAUDE_SESSION_ID'];let _0x25aa6e=_0x14ae45,_0x238275;if(!_0x14ae45){if(_0x22c023&&!_0x55ad52['sNAAM'](isSessionEnabled,_0x22c023))return;const _0x85e3aa=await _0x55ad52['EdjmX'](readHookInput);_0x25aa6e=_0x85e3aa?.['session_id']||_0x22c023,_0x238275=_0x85e3aa?.['reason'];}if(!_0x25aa6e)return;_0x55ad52[_0x5152dc(0x1ba)](_0x238275,_0x55ad52['cIfKL'])&&recordEnabledSessionCleared(_0x25aa6e);}
1
+ function _0x7ac8(){const _0x3226eb=['480DftUAI','2027622YIDiTZ','1162458YueeUL','OUvUp','2637smcNZP','1wJCudf','25sgKEOT','5327tolUTG','8338UAWQHI','env','472QSHgMv','298052fXycmo','11930RoIPKW','397414yxGKGA'];_0x7ac8=function(){return _0x3226eb;};return _0x7ac8();}(function(_0xecaa5b,_0x3a37c4){const _0x39e053=_0x1e59,_0xd023fd=_0xecaa5b();while(!![]){try{const _0x3bb659=parseInt(_0x39e053(0x15f))/0x1*(parseInt(_0x39e053(0x167))/0x2)+-parseInt(_0x39e053(0x16a))/0x3+parseInt(_0x39e053(0x165))/0x4*(parseInt(_0x39e053(0x160))/0x5)+-parseInt(_0x39e053(0x169))/0x6+parseInt(_0x39e053(0x161))/0x7*(parseInt(_0x39e053(0x164))/0x8)+parseInt(_0x39e053(0x15e))/0x9*(parseInt(_0x39e053(0x166))/0xa)+-parseInt(_0x39e053(0x162))/0xb*(parseInt(_0x39e053(0x168))/0xc);if(_0x3bb659===_0x3a37c4)break;else _0xd023fd['push'](_0xd023fd['shift']());}catch(_0x242443){_0xd023fd['push'](_0xd023fd['shift']());}}}(_0x7ac8,0x33439));function _0x1e59(_0xbf3593,_0x1cc513){_0xbf3593=_0xbf3593-0x15e;const _0x7ac8f5=_0x7ac8();let _0x1e59f5=_0x7ac8f5[_0xbf3593];return _0x1e59f5;}import{isSessionEnabled,recordEnabledSessionCleared}from'../utils/sessionCache.js';import{readHookInput}from'./output.js';export async function sessionEnd(_0x20eb9b){const _0x36fd84=_0x1e59,_0x44c72f={'OUvUp':function(_0x11beaa){return _0x11beaa();},'hsQRR':function(_0x5ccd8e,_0x5aea0e){return _0x5ccd8e(_0x5aea0e);}},_0x579f62=process[_0x36fd84(0x163)]['CLAUDE_SESSION_ID'];let _0x31c117=_0x20eb9b,_0x1f7b51;if(!_0x20eb9b){if(_0x579f62&&!isSessionEnabled(_0x579f62))return;const _0x103dc4=await _0x44c72f[_0x36fd84(0x16b)](readHookInput);_0x31c117=_0x103dc4?.['session_id']||_0x579f62,_0x1f7b51=_0x103dc4?.['reason'];}if(!_0x31c117)return;_0x1f7b51==='clear'&&_0x44c72f['hsQRR'](recordEnabledSessionCleared,_0x31c117);}
@@ -1 +1 @@
1
- const _0x34d4da=_0x1c0a;(function(_0x47a263,_0x1adb26){const _0x131ce4=_0x1c0a,_0x5cbaf2=_0x47a263();while(!![]){try{const _0x383eee=parseInt(_0x131ce4(0x17f))/0x1+-parseInt(_0x131ce4(0x178))/0x2*(-parseInt(_0x131ce4(0x179))/0x3)+-parseInt(_0x131ce4(0x172))/0x4+parseInt(_0x131ce4(0x180))/0x5*(-parseInt(_0x131ce4(0x16c))/0x6)+-parseInt(_0x131ce4(0x170))/0x7*(-parseInt(_0x131ce4(0x183))/0x8)+parseInt(_0x131ce4(0x16b))/0x9+-parseInt(_0x131ce4(0x17e))/0xa;if(_0x383eee===_0x1adb26)break;else _0x5cbaf2['push'](_0x5cbaf2['shift']());}catch(_0x37cf1b){_0x5cbaf2['push'](_0x5cbaf2['shift']());}}}(_0x5ca7,0x9eb6b));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';function _0x1c0a(_0x31f00c,_0x9cf744){_0x31f00c=_0x31f00c-0x16a;const _0x5ca7b9=_0x5ca7();let _0x1c0aaf=_0x5ca7b9[_0x31f00c];return _0x1c0aaf;}import{resolveHookMode}from'../utils/environment.js';function _0x5ca7(){const _0x1db7e6=['201760MXNZSA','source','log','trackCommandStart','jqFiz','SessionStart','10nbPInm','430740slPDLO','GTxWB','stdin','pAAuf','\x20(Branch:\x20','6209880EsAIAN','1143945THFDlP','5RiCZuk','ezZKl','CnwHr','8336kjLSvP','YYSIZ','1302525WVAJZq','5479494dyaZyX','hook:session-start','MsMvo','=================================================================\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=================================================================','1533vqDrik','env'];_0x5ca7=function(){return _0x1db7e6;};return _0x5ca7();}const RANGER_AUTO_ENABLED_PROMPT=_0x34d4da(0x16f);export async function sessionStart(_0xeb39ec){const _0x12c544=_0x34d4da,_0x27ecc6={'CnwHr':function(_0x3ad808,_0x3321e4){return _0x3ad808||_0x3321e4;},'ezZKl':'session_id','bcBcf':function(_0x3754e9,_0x5cad4d){return _0x3754e9&&_0x5cad4d;},'MsMvo':function(_0x743f95){return _0x743f95();},'GTxWB':function(_0x4a0175,_0x3c1efb){return _0x4a0175(_0x3c1efb);},'jqFiz':function(_0x4040f3,_0x2b2c9d){return _0x4040f3(_0x2b2c9d);},'wprGM':_0x12c544(0x16d),'pAAuf':function(_0xd0af34,_0x11a382){return _0xd0af34!==_0x11a382;},'aMOZJ':'master','YYSIZ':_0x12c544(0x177),'SGNST':function(_0x398569,_0x537c28){return _0x398569+_0x537c28;}};let _0x1c2803=_0x27ecc6[_0x12c544(0x182)](_0xeb39ec,''),_0x5aa4fa;if(!_0xeb39ec){let _0x1b890e='';for await(const _0x130a5f of process[_0x12c544(0x17b)]){_0x1b890e+=_0x130a5f;}try{const _0x231f90=JSON['parse'](_0x1b890e);_0x1c2803=_0x231f90[_0x27ecc6[_0x12c544(0x181)]]||'',_0x5aa4fa=_0x231f90[_0x12c544(0x173)];}catch{}const _0x54a6aa=process[_0x12c544(0x171)]['CLAUDE_ENV_FILE'];if(_0x27ecc6['bcBcf'](_0x54a6aa,_0x1c2803))try{await appendFile(_0x54a6aa,'export\x20CLAUDE_SESSION_ID=\x22'+_0x1c2803+'\x22\x0a');}catch{}}try{await _0x27ecc6[_0x12c544(0x16e)](getToken);}catch{}if(_0x1c2803){shouldAutoEnableAfterClear(_0x5aa4fa)&&_0x27ecc6[_0x12c544(0x17a)](autoEnableAfterClear,_0x1c2803);_0x27ecc6['GTxWB'](initBranchTracking,_0x1c2803);_0x27ecc6['MsMvo'](resolveHookMode)==='on'&&_0x27ecc6['jqFiz'](enableSession,_0x1c2803);const _0x58eb0b=_0x27ecc6[_0x12c544(0x176)](isSessionEnabled,_0x1c2803);try{const _0x54a9bf=createTelemetryCollector(_0x27ecc6['wprGM']);await _0x54a9bf[_0x12c544(0x175)]({'sessionId':_0x1c2803,'hooksEnabled':_0x58eb0b}),await _0x54a9bf['trackCommandEnd']('success');}catch{}if(_0x58eb0b){const _0x5b1c82=_0x27ecc6[_0x12c544(0x16e)](getCurrentBranch),_0x3f7f90=_0x5b1c82&&_0x27ecc6[_0x12c544(0x17c)](_0x5b1c82,'main')&&_0x5b1c82!==_0x27ecc6['aMOZJ']?_0x12c544(0x17d)+_0x5b1c82+')':'',_0x2c7d64={'hookSpecificOutput':{'hookEventName':_0x27ecc6[_0x12c544(0x16a)],'additionalContext':_0x27ecc6['SGNST'](RANGER_AUTO_ENABLED_PROMPT,_0x3f7f90)}};console[_0x12c544(0x174)](JSON['stringify'](_0x2c7d64));}}}
1
+ function _0x585a(){const _0x545799=['trackCommandStart','4100916jwVZZb','main','57099xXwUmr','mrVjI','SessionStart','298448nxHRew','hook:session-start','success','1159529YERERs','trackCommandEnd','efLtk','CLAUDE_ENV_FILE','MMLoV','zuKrs','master','=================================================================\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=================================================================','wLkMn','session_id','env','source','IRbwi','15432344IOcIvO','6wFcLwr','152510DkrAzw','2874665LszhXL'];_0x585a=function(){return _0x545799;};return _0x585a();}const _0x4c3c3c=_0x4e6a;(function(_0x18447b,_0x38e292){const _0x31b6eb=_0x4e6a,_0x170e50=_0x18447b();while(!![]){try{const _0x2d17b3=parseInt(_0x31b6eb(0x148))/0x1+parseInt(_0x31b6eb(0x15a))/0x2+parseInt(_0x31b6eb(0x145))/0x3+-parseInt(_0x31b6eb(0x143))/0x4+-parseInt(_0x31b6eb(0x15b))/0x5+-parseInt(_0x31b6eb(0x159))/0x6*(parseInt(_0x31b6eb(0x14b))/0x7)+parseInt(_0x31b6eb(0x158))/0x8;if(_0x2d17b3===_0x38e292)break;else _0x170e50['push'](_0x170e50['shift']());}catch(_0x2ef12d){_0x170e50['push'](_0x170e50['shift']());}}}(_0x585a,0x87faa));import{appendFile}from'fs/promises';function _0x4e6a(_0x5f5960,_0x24673c){_0x5f5960=_0x5f5960-0x142;const _0x585aac=_0x585a();let _0x4e6a61=_0x585aac[_0x5f5960];return _0x4e6a61;}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=_0x4c3c3c(0x152);export async function sessionStart(_0x40d800){const _0x16cc72=_0x4c3c3c,_0x42f173={'HclHA':function(_0xffad80,_0x28116d){return _0xffad80||_0x28116d;},'kbHId':function(_0x1319cf,_0x596d93){return _0x1319cf&&_0x596d93;},'IRbwi':function(_0x350aa6,_0x1d775b,_0x3988b5){return _0x350aa6(_0x1d775b,_0x3988b5);},'zuKrs':function(_0x3f4679,_0x181a92){return _0x3f4679(_0x181a92);},'efLtk':_0x16cc72(0x149),'MMLoV':function(_0x16cf23){return _0x16cf23();},'nUhxU':function(_0x4d399a,_0xbc159b){return _0x4d399a!==_0xbc159b;},'ULOWu':_0x16cc72(0x151),'mrVjI':_0x16cc72(0x147),'wLkMn':function(_0x515e69,_0x554f00){return _0x515e69+_0x554f00;}};let _0x2db2cc=_0x42f173['HclHA'](_0x40d800,''),_0x59c934;if(!_0x40d800){let _0x1f5346='';for await(const _0x4959aa of process['stdin']){_0x1f5346+=_0x4959aa;}try{const _0x124409=JSON['parse'](_0x1f5346);_0x2db2cc=_0x124409[_0x16cc72(0x154)]||'',_0x59c934=_0x124409[_0x16cc72(0x156)];}catch{}const _0x33d884=process[_0x16cc72(0x155)][_0x16cc72(0x14e)];if(_0x42f173['kbHId'](_0x33d884,_0x2db2cc))try{await _0x42f173[_0x16cc72(0x157)](appendFile,_0x33d884,'export\x20CLAUDE_SESSION_ID=\x22'+_0x2db2cc+'\x22\x0a');}catch{}}try{await getToken();}catch{}if(_0x2db2cc){shouldAutoEnableAfterClear(_0x59c934)&&autoEnableAfterClear(_0x2db2cc);_0x42f173[_0x16cc72(0x150)](initBranchTracking,_0x2db2cc);resolveHookMode()==='on'&&_0x42f173[_0x16cc72(0x150)](enableSession,_0x2db2cc);const _0x3dd29c=isSessionEnabled(_0x2db2cc);try{const _0x366f98=createTelemetryCollector(_0x42f173[_0x16cc72(0x14d)]);await _0x366f98[_0x16cc72(0x142)]({'sessionId':_0x2db2cc,'hooksEnabled':_0x3dd29c}),await _0x366f98[_0x16cc72(0x14c)](_0x16cc72(0x14a));}catch{}if(_0x3dd29c){const _0x17daa1=_0x42f173[_0x16cc72(0x14f)](getCurrentBranch),_0x53fbee=_0x17daa1&&_0x42f173['nUhxU'](_0x17daa1,_0x16cc72(0x144))&&_0x17daa1!==_0x42f173['ULOWu']?'\x20(Branch:\x20'+_0x17daa1+')':'',_0x33e33c={'hookSpecificOutput':{'hookEventName':_0x42f173[_0x16cc72(0x146)],'additionalContext':_0x42f173[_0x16cc72(0x153)](RANGER_AUTO_ENABLED_PROMPT,_0x53fbee)}};console['log'](JSON['stringify'](_0x33e33c));}}}
@@ -1 +1 @@
1
- (function(_0x102c38,_0x48743b){const _0x507ea2=_0x1089,_0xe547b5=_0x102c38();while(!![]){try{const _0x546961=-parseInt(_0x507ea2(0x10b))/0x1+-parseInt(_0x507ea2(0x100))/0x2+parseInt(_0x507ea2(0x101))/0x3+-parseInt(_0x507ea2(0x107))/0x4+parseInt(_0x507ea2(0x106))/0x5+-parseInt(_0x507ea2(0x108))/0x6*(-parseInt(_0x507ea2(0x111))/0x7)+-parseInt(_0x507ea2(0x10c))/0x8*(-parseInt(_0x507ea2(0x102))/0x9);if(_0x546961===_0x48743b)break;else _0xe547b5['push'](_0xe547b5['shift']());}catch(_0x1de1b0){_0xe547b5['push'](_0xe547b5['shift']());}}}(_0x1b89,0x200d2));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';function _0x1b89(){const _0x54c93e=['blocked','362272NKBzGg','556173OubJot','5463LkprMV','sessionId','currentSessionId','checklistItems','185385ruuuNd','221004ZHveNI','21126JBSyGa','Stop','trackCommandEnd','94697RGnHcY','1816jkomdq','verified','trackCommandStart','VtHsd','incomplete','203jcAhKi','hook:stop','success','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','utiib','XIAhP','status'];_0x1b89=function(){return _0x54c93e;};return _0x1b89();}export async function stopHook(_0x9067b3){const _0x211c34=_0x1089,_0x55df20={'gcjpt':function(_0x3e241b,_0xf53711){return _0x3e241b(_0xf53711);},'XIAhP':function(_0xfb398a,_0x2cc4fe,_0x45e34c,_0x28fb57){return _0xfb398a(_0x2cc4fe,_0x45e34c,_0x28fb57);},'IqDNx':function(_0x720b59,_0x1e8a05){return _0x720b59(_0x1e8a05);},'utiib':function(_0x19f832){return _0x19f832();},'VtHsd':function(_0x59a0ed,_0x40809b){return _0x59a0ed(_0x40809b);},'dFTQj':_0x211c34(0x109),'EOWPe':function(_0x3a548f,_0x5dda95,_0x1efeff){return _0x3a548f(_0x5dda95,_0x1efeff);}},_0x6bd12c=await _0x55df20['gcjpt'](getEnabledHookContext,_0x9067b3),_0x51950c=_0x6bd12c?.[_0x211c34(0x103)]??null;let _0x173ecb=!![];if(!_0x51950c){await _0x55df20[_0x211c34(0x116)](trackStop,_0x51950c,![],_0x173ecb);return;}try{const _0x3b1f74=_0x55df20['IqDNx'](getSessionEntry,_0x51950c);if(!_0x3b1f74){await _0x55df20[_0x211c34(0x116)](trackStop,_0x51950c,!![],_0x173ecb);return;}const _0x156972=await _0x55df20[_0x211c34(0x115)](getToken),_0x4ad65c='https://dashboard.ranger.net/features/'+_0x3b1f74['featureId'];let _0x513dab=null,_0x439324=![],_0x5ac88d=![];if(_0x156972)try{const _0x39f2af=await _0x55df20[_0x211c34(0x10f)](getFeature,_0x3b1f74['featureId']);_0x513dab=_0x39f2af[_0x211c34(0x104)]??null;const _0xc72343=_0x39f2af[_0x211c34(0x105)]['filter'](_0x4b3ace=>_0x4b3ace[_0x211c34(0x103)]===_0x513dab);_0x439324=_0xc72343['some'](_0x1b5db0=>_0x1b5db0[_0x211c34(0x117)]!==_0x211c34(0x10d)&&_0x1b5db0[_0x211c34(0x117)]!==_0x211c34(0x118)&&_0x1b5db0[_0x211c34(0x117)]!=='closed'&&_0x1b5db0[_0x211c34(0x117)]!==_0x211c34(0x110)),_0x5ac88d=_0xc72343['some'](_0x2ada5b=>_0x2ada5b['status']==='verification_in_progress');}catch{}if(_0x156972&&_0x513dab&&_0x439324){if(!_0x5ac88d&&shouldShowStopReminder(_0x51950c)){const _0x352ce1={'hookSpecificOutput':{'hookEventName':_0x55df20['dFTQj'],'additionalContext':_0x211c34(0x114)+_0x4ad65c}};console['log'](JSON['stringify'](_0x352ce1));}}if(_0x156972&&_0x513dab&&!_0x439324)try{await _0x55df20['EOWPe'](concludeSession,_0x3b1f74['featureId'],_0x513dab);}catch{}await _0x55df20['XIAhP'](trackStop,_0x51950c,!![],_0x173ecb);return;}catch{await trackStop(_0x51950c,!![],_0x173ecb);return;}}function _0x1089(_0x58a8d1,_0x3ba7b2){_0x58a8d1=_0x58a8d1-0x100;const _0x1b89b2=_0x1b89();let _0x10898e=_0x1b89b2[_0x58a8d1];return _0x10898e;}async function trackStop(_0x39b9a9,_0x903c74,_0x152414){const _0x3708c5=_0x1089,_0x1b774e={'ninIi':_0x3708c5(0x112)};try{const _0x53e43b=createTelemetryCollector(_0x1b774e['ninIi']);await _0x53e43b[_0x3708c5(0x10e)]({'sessionId':_0x39b9a9??undefined,'hooksEnabled':_0x903c74,'stopAllowed':_0x152414}),await _0x53e43b[_0x3708c5(0x10a)](_0x3708c5(0x113));}catch{}}
1
+ (function(_0x1f97c9,_0x288c39){const _0x30f9a8=_0x4f66,_0x3f72bb=_0x1f97c9();while(!![]){try{const _0x1de433=-parseInt(_0x30f9a8(0x143))/0x1*(parseInt(_0x30f9a8(0x148))/0x2)+-parseInt(_0x30f9a8(0x14b))/0x3+-parseInt(_0x30f9a8(0x14d))/0x4+-parseInt(_0x30f9a8(0x157))/0x5+parseInt(_0x30f9a8(0x154))/0x6+parseInt(_0x30f9a8(0x151))/0x7*(-parseInt(_0x30f9a8(0x14f))/0x8)+parseInt(_0x30f9a8(0x150))/0x9;if(_0x1de433===_0x288c39)break;else _0x3f72bb['push'](_0x3f72bb['shift']());}catch(_0x5ae37d){_0x3f72bb['push'](_0x3f72bb['shift']());}}}(_0x5ee2,0x33e4b));import{getToken}from'../utils/keychain.js';import{getFeature,concludeSession}from'../utils/featureApi.js';import{getSessionEntry,shouldShowStopReminder}from'../utils/sessionCache.js';import{getEnabledHookContext}from'./output.js';import{createTelemetryCollector}from'../utils/telemetry.js';export async function stopHook(_0x5d5ac9){const _0x29f779=_0x4f66,_0x13bd1a={'CSHAd':function(_0x56ebfe,_0x17296c){return _0x56ebfe(_0x17296c);},'SZVTU':function(_0x26624f){return _0x26624f();},'tSIZz':function(_0x5a903f,_0x58c668){return _0x5a903f(_0x58c668);},'gDtsO':function(_0x2a0931,_0x398e02){return _0x2a0931&&_0x398e02;},'EpKpt':function(_0x2c90f1,_0x34cce6,_0x326573,_0x2eff55){return _0x2c90f1(_0x34cce6,_0x326573,_0x2eff55);}},_0x409c6b=await _0x13bd1a[_0x29f779(0x156)](getEnabledHookContext,_0x5d5ac9),_0x1da906=_0x409c6b?.['sessionId']??null;let _0x2b9a66=!![];if(!_0x1da906){await trackStop(_0x1da906,![],_0x2b9a66);return;}try{const _0x159bcb=getSessionEntry(_0x1da906);if(!_0x159bcb){await trackStop(_0x1da906,!![],_0x2b9a66);return;}const _0x35bd85=await _0x13bd1a[_0x29f779(0x145)](getToken),_0xd84084='https://dashboard.ranger.net/features/'+_0x159bcb[_0x29f779(0x149)];let _0x300ff2=null,_0x368688=![],_0x337caf=![];if(_0x35bd85)try{const _0xe24f79=await _0x13bd1a['tSIZz'](getFeature,_0x159bcb['featureId']);_0x300ff2=_0xe24f79['currentSessionId']??null;const _0x82821b=_0xe24f79['checklistItems']['filter'](_0x9389f8=>_0x9389f8['sessionId']===_0x300ff2);_0x368688=_0x82821b['some'](_0x386877=>_0x386877['status']!==_0x29f779(0x144)&&_0x386877[_0x29f779(0x155)]!=='blocked'&&_0x386877[_0x29f779(0x155)]!==_0x29f779(0x14e)&&_0x386877[_0x29f779(0x155)]!=='incomplete'),_0x337caf=_0x82821b['some'](_0x1efd2c=>_0x1efd2c[_0x29f779(0x155)]==='verification_in_progress');}catch{}if(_0x13bd1a[_0x29f779(0x146)](_0x35bd85,_0x300ff2)&&_0x368688){if(!_0x337caf&&shouldShowStopReminder(_0x1da906)){const _0x4b0354={'hookSpecificOutput':{'hookEventName':'Stop','additionalContext':'RANGER:\x20The\x20active\x20feature\x20review\x20still\x20has\x20unfinished\x20checklist\x20items.\x20Before\x20responding\x20to\x20the\x20user,\x20if\x20this\x20UI\x20work\x20is\x20ready,\x20run\x20`ranger\x20show`\x20and\x20then\x20`ranger\x20go`\x20for\x20the\x20relevant\x20scenario(s).\x20If\x20it\x20is\x20not\x20ready\x20for\x20browser\x20verification\x20yet,\x20continue\x20implementing.\x20Dashboard:\x20'+_0xd84084}};console[_0x29f779(0x158)](JSON[_0x29f779(0x147)](_0x4b0354));}}if(_0x13bd1a['gDtsO'](_0x35bd85,_0x300ff2)&&!_0x368688)try{await concludeSession(_0x159bcb[_0x29f779(0x149)],_0x300ff2);}catch{}await _0x13bd1a[_0x29f779(0x14c)](trackStop,_0x1da906,!![],_0x2b9a66);return;}catch{await _0x13bd1a[_0x29f779(0x14c)](trackStop,_0x1da906,!![],_0x2b9a66);return;}}function _0x5ee2(){const _0x345a0f=['1485945gcehZd','log','1dhRwcA','verified','SZVTU','gDtsO','stringify','655722fdIjtu','featureId','YGlch','1020186jYackI','EpKpt','453196uvCNtu','closed','2295848dqexNL','12506337PdBPrd','7BxGSvk','trackCommandStart','trackCommandEnd','1130124IkMorY','status','CSHAd'];_0x5ee2=function(){return _0x345a0f;};return _0x5ee2();}function _0x4f66(_0x48dadb,_0x33f58d){_0x48dadb=_0x48dadb-0x143;const _0x5ee224=_0x5ee2();let _0x4f6632=_0x5ee224[_0x48dadb];return _0x4f6632;}async function trackStop(_0x236a0a,_0x3d4dc7,_0x497532){const _0xb17a4f=_0x4f66,_0x1380d1={'YGlch':function(_0x35da1f,_0x126c89){return _0x35da1f(_0x126c89);}};try{const _0x1be92c=_0x1380d1[_0xb17a4f(0x14a)](createTelemetryCollector,'hook:stop');await _0x1be92c[_0xb17a4f(0x152)]({'sessionId':_0x236a0a??undefined,'hooksEnabled':_0x3d4dc7,'stopAllowed':_0x497532}),await _0x1be92c[_0xb17a4f(0x153)]('success');}catch{}}
@@ -1 +1 @@
1
- (function(_0x3a32c2,_0xc0073b){var _0x51e3c1=_0x14e4,_0x134582=_0x3a32c2();while(!![]){try{var _0x266bbb=parseInt(_0x51e3c1(0x1a0))/0x1*(parseInt(_0x51e3c1(0x1a7))/0x2)+-parseInt(_0x51e3c1(0x19f))/0x3*(-parseInt(_0x51e3c1(0x1a8))/0x4)+parseInt(_0x51e3c1(0x1a6))/0x5+-parseInt(_0x51e3c1(0x1a3))/0x6*(parseInt(_0x51e3c1(0x1a1))/0x7)+parseInt(_0x51e3c1(0x1a2))/0x8+-parseInt(_0x51e3c1(0x1a4))/0x9+-parseInt(_0x51e3c1(0x1a5))/0xa*(parseInt(_0x51e3c1(0x19e))/0xb);if(_0x266bbb===_0xc0073b)break;else _0x134582['push'](_0x134582['shift']());}catch(_0x391ac7){_0x134582['push'](_0x134582['shift']());}}}(_0x2487,0x8bdb8));export{addEnv}from'./addEnv.js';export{clean}from'./clean.js';export{login}from'./login.js';export{start,ensureLocalEnv,ensureChromium,authenticate}from'./start.js';export{useEnv}from'./useEnv.js';export{deleteProfile}from'./deleteProfile.js';export{updateEnv}from'./updateEnv.js';function _0x2487(){var _0xd65406=['89276VbxzMX','4912490nUEsAm','147OIsjtm','4yWWkhH','63IbsYui','8046128ncgnZl','358614OweOyi','8712630kUwvpk','30wtmVLH','4912840ecQmkX','168326cxSBsk'];_0x2487=function(){return _0xd65406;};return _0x2487();}function _0x14e4(_0x1b1295,_0x3a94ed){_0x1b1295=_0x1b1295-0x19e;var _0x248757=_0x2487();var _0x14e4e4=_0x248757[_0x1b1295];return _0x14e4e4;}export{update}from'./update.js';export{skillup}from'./skillup.js';export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';
1
+ (function(_0x3698c3,_0x738231){var _0x39e4d9=_0x4c4f,_0x5b8bc7=_0x3698c3();while(!![]){try{var _0x1035e8=parseInt(_0x39e4d9(0x19a))/0x1+parseInt(_0x39e4d9(0x199))/0x2*(parseInt(_0x39e4d9(0x19d))/0x3)+-parseInt(_0x39e4d9(0x19e))/0x4+parseInt(_0x39e4d9(0x1a0))/0x5+parseInt(_0x39e4d9(0x1a2))/0x6*(parseInt(_0x39e4d9(0x19f))/0x7)+parseInt(_0x39e4d9(0x1a1))/0x8+parseInt(_0x39e4d9(0x19c))/0x9*(-parseInt(_0x39e4d9(0x19b))/0xa);if(_0x1035e8===_0x738231)break;else _0x5b8bc7['push'](_0x5b8bc7['shift']());}catch(_0x39453d){_0x5b8bc7['push'](_0x5b8bc7['shift']());}}}(_0x172e,0x2e287));export{addEnv}from'./addEnv.js';function _0x172e(){var _0x215dd7=['1427070dpDVUR','45uxqkds','19011zXMxlJ','792264MFHcwS','7wIZNBc','1807460yKvrpo','403584YICdZx','1515066ryXUMD','26WOoLhv','353832AVUhhu'];_0x172e=function(){return _0x215dd7;};return _0x172e();}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';function _0x4c4f(_0x47a2a2,_0x5c7088){_0x47a2a2=_0x47a2a2-0x199;var _0x172e35=_0x172e();var _0x4c4fad=_0x172e35[_0x47a2a2];return _0x4c4fad;}export{envList}from'./env.js';export{hook}from'./hook.js';export{setupCi}from'./setupCi.js';export{migrateProfile}from'./migrateProfile.js';