@ranger-testing/ranger-cli 2.2.2 โ 2.2.3
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.
- package/README.md +3 -1
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/featureReportGenerator.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/git.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/reportGenerator.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyInBrowser.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
63
63
|
|
|
64
64
|
| Command | Description |
|
|
65
65
|
| ------------------------------------- | ----------------------------------------------------- |
|
|
66
|
-
| `ranger profile add <name>` | Add a browser profile (opens browser to capture auth) |
|
|
66
|
+
| `ranger profile add <name>` | Add a browser profile (opens browser to capture auth). Use `--safe-mode` if the browser crashes. |
|
|
67
67
|
| `ranger profile use <name>` | Switch active profile |
|
|
68
68
|
| `ranger profile ls` | List all profiles |
|
|
69
69
|
| `ranger profile update <name>` | Re-capture auth for a profile |
|
|
@@ -125,6 +125,8 @@ claude plugin install ranger@trailhead --scope user
|
|
|
125
125
|
|
|
126
126
|
**Authentication expired** -- Run `ranger profile update <profile-name>` to re-capture.
|
|
127
127
|
|
|
128
|
+
**Browser crashes during profile setup** -- On some macOS + Chrome combinations, the browser may crash during authentication. Run `ranger profile add <name> --safe-mode` to disable browser features that trigger the crash.
|
|
129
|
+
|
|
128
130
|
**"No active feature review"** -- Run `ranger list` then `ranger resume <id>`.
|
|
129
131
|
|
|
130
132
|
Run `ranger status` to see everything at a glance.
|
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x448d53=_0x572d;(function(_0x14dc67,_0x58a5d7){const _0x232ccd=_0x572d,_0x33b501=_0x14dc67();while(!![]){try{const _0x40e9c2=-parseInt(_0x232ccd(0xe8))/0x1+parseInt(_0x232ccd(0x1b4))/0x2+-parseInt(_0x232ccd(0x168))/0x3+parseInt(_0x232ccd(0x1e8))/0x4+-parseInt(_0x232ccd(0xfe))/0x5*(-parseInt(_0x232ccd(0x16e))/0x6)+parseInt(_0x232ccd(0x1ce))/0x7*(-parseInt(_0x232ccd(0x1cb))/0x8)+-parseInt(_0x232ccd(0x14d))/0x9;if(_0x40e9c2===_0x58a5d7)break;else _0x33b501['push'](_0x33b501['shift']());}catch(_0x8aa524){_0x33b501['push'](_0x33b501['shift']());}}}(_0x324e,0x7a0cf));function _0x572d(_0x469936,_0x17f839){_0x469936=_0x469936-0xa2;const _0x324e2a=_0x324e();let _0x572d4d=_0x324e2a[_0x469936];return _0x572d4d;}import _0x1d593c from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x333372=_0x572d,_0x44abf5={'hXodB':function(_0x60eb8d,_0x4d566d){return _0x60eb8d(_0x4d566d);},'AmyeU':function(_0x5aa655,_0x39e368){return _0x5aa655!==_0x39e368;},'Yzbhw':function(_0x44bb45,_0x184b08,_0x35cf85){return _0x44bb45(_0x184b08,_0x35cf85);},'EEPxs':_0x333372(0x172),'gJQQV':function(_0x16ca47,_0x1869ae,_0x3a3c52){return _0x16ca47(_0x1869ae,_0x3a3c52);}};let _0x50bfc7=process[_0x333372(0x145)]();const _0x309374=_0x44abf5['hXodB'](parse,_0x50bfc7)[_0x333372(0x182)];while(_0x44abf5[_0x333372(0x189)](_0x50bfc7,_0x309374)){if(_0x44abf5['hXodB'](existsSync,_0x44abf5[_0x333372(0xd4)](join,_0x50bfc7,_0x44abf5[_0x333372(0xb4)]))||existsSync(_0x44abf5[_0x333372(0xcf)](join,_0x50bfc7,'.env')))return _0x50bfc7;_0x50bfc7=_0x44abf5['hXodB'](dirname,_0x50bfc7);}return process['cwd']();}_0x1d593c[_0x448d53(0xaa)]({'path':join(findProjectRoot(),'.env')});import _0x7e284 from'yargs/yargs';function _0x324e(){const _0x5f284b=['Enable\x20Ranger\x20hooks\x20for\x20this\x20session','add-scenario\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','uGhts','BLhTI','dbgRh','AmyeU','IrkDs','neOGy','profile\x20add','restore\x20<id>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','gYMol','key','feature\x20delete','issues','token','number','Environment\x20name','name','positional','arJPr','checklist','list\x20<profile>','profile\x20encrypt-auth','ANhSu','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','partial','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','hcouN','ranger\x20feature\x20create','MXuVx','oRwdI','kLabr','project','ranger\x20profile\x20config\x20set','ZPJls','model','qVfzD','string','vlwwW','nynpk','ranger\x20feature\x20show','auWvW','headed','env','gOucP','Initialize\x20Ranger\x20in\x20your\x20project','list','816152mbfhim','lfwns','env\x20update','feature\x20add-checklist-item','Feature\x20review\x20ID\x20to\x20restore','dELeB','XBqWP','repeat','dVbha','Install\x20Ranger\x20skills','value','use\x20<profile-name>','JaaGJ','jZkEh','Name\x20of\x20the\x20profile\x20to\x20update','phdQV','ranger\x20profile\x20config\x20list','setup-ci\x20<token>','ranger\x20profile\x20ls','List\x20all\x20config\x20for\x20a\x20profile','ranger\x20create','cdp-endpoint','Install\x20skills\x20for\x20OpenCode','843032eJKjBV','Config\x20value','--checklist','7sIMUZx','wDSEf','YJOUR','Name\x20of\x20the\x20environment','verified','uhKut','create\x20<name>','vevIW','nhODV','current-branch','update\x20<env-name>','ARBlZ','MIVWa','Twenp','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20feature\x20delete','Scenario\x20description','Switch\x20to\x20using\x20a\x20specific\x20profile','APBuB','GFpoT','Config\x20key','uAsnx','SFVcE','help','ranger\x20restore','3469364fsGRXg','LTGSa','command','ranger\x20profile\x20config\x20get','LPzMi','evaluationReason','OYqaD','batgv','exit','start','aoRKT','Documentation:\x0a','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20verify-feature','ranger\x20env\x20ls','List\x20all\x20feature\x20reviews','Manage\x20profile\x20configuration','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','ZlOBl','jyVBS','error','skillup','irtkl','get-feedback\x20[id]','array','profile\x20config\x20list','WCJws','iYQWX','WwFNE','bACVY','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','scope','feature\x20get-feedback','config','PfCwB','evaluation','some','\x0aError:\x20','RbVdK','ranger\x20start','kFkva','demandCommand','Include\x20soft-deleted\x20feature\x20reviews','EEPxs','rBybU','scenario','kQzCd','exitCode','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','item','EAGTK','profile','jiSoj','ranger\x20profile\x20update','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','cdBlm','xGwSe','add-checklist-item\x20<description>','Scenario\x20index\x20(1-based)','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','PRigz','QfhVs','base-url','eoRTf','--scenario','DVQCm','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','add-scenario','RSJSq','Summary:\x20','gJQQV','add\x20env','dElfZ','SgcQw','oFejQ','Yzbhw','failed','incomplete','ranger\x20add\x20env','severity','bvqfV','exclude-scenario','mDUmZ','mzAcs','map','GMJef','New\x20scenario\x20description','klaNe','You\x20must\x20specify\x20a\x20config\x20subcommand','skip-auth','.\x20[','include-deleted','xuGzG','ranger\x20delete','allow-insecure-localhost','418682dKaDYK','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','xjpPR','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','tKAyY','ranger\x20profile\x20add','ieUbe','ycHAx','List\x20all\x20profiles','start-path','NrQUX','verify-feature','feature\x20show','disable','Feature\x20review\x20description','profile-name','RqpJf','Sqbzk','XDvGY','ranger\x20config\x20list','default','oIbfb','15QMlPQV','session-id','IImPa','vcfdC','zqRaY','usage','lzTwN','ccvVi','iTTas','HluqK','kSiDn','rdRMx','task','Number\x20of\x20feature\x20reviews\x20to\x20skip','get\x20<profile>\x20<key>','Utshm','force','fCRJB','config\x20unset','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','login','TQtQy','JfwQd','pVKIW','\x20is\x20now\x20','qSZQr','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Vnfiq','YJfwI','limit','update','ranger\x20config\x20get','riHUL','pWjDo','gfZQc','Install\x20scope\x20for\x20skills','Update\x20authentication\x20for\x20an\x20existing\x20profile','zuSba','message','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','epilogue','strictCommands','hook','Profile\x20name','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','GgjFr','argv','skip-chromium','profile\x20update','debug-outcome','start\x20[token]','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','wussg','\x0aIssues:','bkPxH','status','JpMQK','RBqAd','MqXsa','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','restore','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','length','json','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','AaxVe','Feature\x20review\x20name','ranger\x20feature\x20add-checklist-item','blocked','cwd','TBTOB','set\x20<env>\x20<key>\x20<value>','wmESq','resume','kwGRC','jBlEi','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','5754843dHxhIA','vwREu','url','GlRqZ','CoWDV','ranger\x20go','startsWith','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','rmbyG','bJAXt','unset\x20<profile>\x20<key>','xllog','log','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','flag','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','profile\x20ls','dklFE','aFhfH','feature','trackCommandError','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','boolean','description','brKAJ','list\x20<env>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','637101ARukMz','Feature\x20review\x20ID','\x20INCOMPLETE','ranger','enable','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','1200714diDAqD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','GwBke','dgura','.ranger','ZfsPZ','unset\x20<env>\x20<key>','Skip\x20Chromium\x20browser\x20installation','ZjAGc','ranger\x20config\x20set','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','opencode','get\x20<env>\x20<key>','nFatP','user','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Rulrf','YbvSk','nyzqb','option','root'];_0x324e=function(){return _0x5f284b;};return _0x324e();}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x433516=>{const _0x2878fd=_0x448d53,_0x13f3fe={'BlmlK':function(_0x5ca130){return _0x5ca130();}},_0x104d27=_0x13f3fe['BlmlK'](getCurrentCollector);_0x104d27&&await _0x104d27[_0x2878fd(0x161)](_0x433516),process[_0x2878fd(0xb8)]=0x1;});const rawArgs=process[_0x448d53(0x12d)]['slice'](0x2),TOP_LEVEL_HELP=_0x448d53(0x15a),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP=_0x448d53(0x162);function warnRenamed(_0x5b564e,_0x586f97){const _0x32611f=_0x448d53;console['error']('\x0a'+_0x5b564e+_0x32611f(0x116)+_0x586f97+'\x0a');}function argUsed(_0x2e1fce){const _0x3f6f3d=_0x448d53;return rawArgs[_0x3f6f3d(0xad)](_0x586a73=>_0x586a73===_0x2e1fce||_0x586a73[_0x3f6f3d(0x153)](_0x2e1fce+'='));}function warnFlagRenamed(_0x34fb01,_0xd360ab,_0x506992){const _0x44cbde=_0x448d53,_0x107e7c={'DlQBY':function(_0x33a2ea,_0x2fe22a){return _0x33a2ea(_0x2fe22a);},'MXuVx':function(_0x4227dd,_0xcc7f48,_0x301261){return _0x4227dd(_0xcc7f48,_0x301261);}};_0x107e7c['DlQBY'](argUsed,_0xd360ab)&&_0x107e7c[_0x44cbde(0x1a2)](warnRenamed,_0x34fb01+'\x20'+_0xd360ab,_0x34fb01+'\x20'+_0x506992);}async function runGoCommand(_0x7db2e6,_0x5782d9=![]){const _0x325d54=_0x448d53,_0x4fccde={'RbVdK':function(_0x2fe678,_0x240b44,_0x452334){return _0x2fe678(_0x240b44,_0x452334);},'oGqrq':_0x325d54(0x1f5),'OYqaD':'ranger\x20go','LTGSa':'--env','bJAXt':'--profile','Vnfiq':'--notes','zvseo':'--item','riHUL':'--scenario','ocxSM':function(_0x232861,_0x10fb8c){return _0x232861(_0x10fb8c);},'rmbyG':_0x325d54(0xf1),'iYQWX':_0x325d54(0x130),'vwREu':'debug-address-comments','gxInK':function(_0x44bea8,_0x1ab84c){return _0x44bea8+_0x1ab84c;},'JYTzw':_0x325d54(0x1d2),'yrEtL':function(_0x5d4ce7,_0x1445f7){return _0x5d4ce7===_0x1445f7;},'YJfwI':_0x325d54(0x16a),'uGhts':'\x20PARTIAL','jeXCm':'\x20FAILED','HxTLp':_0x325d54(0x135)};_0x5782d9&&_0x4fccde[_0x325d54(0xaf)](warnRenamed,_0x4fccde['oGqrq'],_0x325d54(0x152));warnFlagRenamed(_0x4fccde[_0x325d54(0x1ee)],_0x4fccde[_0x325d54(0x1e9)],_0x4fccde[_0x325d54(0x156)]),warnFlagRenamed('ranger\x20go','--task',_0x4fccde[_0x325d54(0x119)]),warnFlagRenamed(_0x4fccde['OYqaD'],_0x4fccde['zvseo'],_0x4fccde[_0x325d54(0x11e)]);const _0x31aa2f=await loadRangerConfig(),_0x1b8bfe=_0x7db2e6[_0x325d54(0x1a8)],_0x196140=_0x31aa2f['model'],_0x41ea8c=_0x1b8bfe??_0x196140,_0x43885f=_0x1b8bfe?_0x325d54(0x15b):_0x196140?'config':_0x325d54(0xfc),_0x2ad48c=await _0x4fccde['ocxSM'](verifyFeature,{'featureId':_0x7db2e6['feature'],'profile':_0x7db2e6['profile']??_0x7db2e6['env'],'notes':_0x7db2e6['notes']??_0x7db2e6[_0x325d54(0x10a)],'scenario':_0x7db2e6[_0x325d54(0xb6)]??_0x7db2e6[_0x325d54(0xba)],'startPath':_0x7db2e6[_0x4fccde[_0x325d54(0x155)]],'debugOutcome':_0x7db2e6[_0x4fccde[_0x325d54(0xa4)]],'debugAddressComments':_0x7db2e6[_0x4fccde[_0x325d54(0x14e)]],'headed':_0x7db2e6['headed'],'verifyModel':_0x41ea8c,'verifyModelInput':_0x41ea8c,'verifyModelSource':_0x43885f});console['log'](_0x4fccde['gxInK']('\x0a','='[_0x325d54(0x1bb)](0x3c))),console['log'](_0x2ad48c[_0x325d54(0xac)]===_0x4fccde['JYTzw']?'\x20VERIFIED':_0x4fccde['yrEtL'](_0x2ad48c['evaluation'],_0x325d54(0xd6))?_0x4fccde[_0x325d54(0x11a)]:_0x2ad48c['evaluation']==='partial'?_0x4fccde[_0x325d54(0x186)]:_0x2ad48c[_0x325d54(0xac)]===_0x325d54(0x144)?'\x20BLOCKED':_0x4fccde['jeXCm']),console[_0x325d54(0x159)]('='['repeat'](0x3c)),console[_0x325d54(0x159)](_0x325d54(0xce)+_0x2ad48c['summary']),console[_0x325d54(0x159)]('Evaluation:\x20'+_0x2ad48c[_0x325d54(0xac)]),console[_0x325d54(0x159)]('Reason:\x20'+_0x2ad48c[_0x325d54(0x1ed)]),_0x2ad48c[_0x325d54(0x192)]?.[_0x325d54(0x13e)]&&(console[_0x325d54(0x159)](_0x4fccde['HxTLp']),_0x2ad48c['issues']['forEach']((_0x4b4cec,_0x1efa14)=>{const _0x30b1f6=_0x325d54;console['log']('\x0a'+(_0x1efa14+0x1)+_0x30b1f6(0xe3)+_0x4b4cec[_0x30b1f6(0xd8)]+']\x20'+_0x4b4cec[_0x30b1f6(0x164)]);})),process['exit'](_0x4fccde['yrEtL'](_0x2ad48c[_0x325d54(0xac)],_0x325d54(0x1d2))?0x0:0x1);}_0x7e284(process[_0x448d53(0x12d)]['slice'](0x2))['scriptName'](_0x448d53(0x16b))[_0x448d53(0x103)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x448d53(0x1d4),_0x448d53(0x111),_0x4010ab=>{const _0x4a7c84=_0x448d53,_0x42dd97={'Rulrf':'description','qSZQr':_0x4a7c84(0x1aa),'ePTly':_0x4a7c84(0xb6),'kQzCd':_0x4a7c84(0xa7)};return _0x4010ab['positional'](_0x4a7c84(0x196),{'type':_0x4a7c84(0x1aa),'description':_0x4a7c84(0x142),'demandOption':!![]})['option'](_0x42dd97[_0x4a7c84(0x17e)],{'type':_0x42dd97[_0x4a7c84(0x117)],'alias':'d','description':_0x4a7c84(0xf6)})['option'](_0x42dd97['ePTly'],{'type':'array','alias':'c','description':_0x42dd97[_0x4a7c84(0xb7)]})[_0x4a7c84(0x181)]('checklist',{'type':_0x4a7c84(0x200),'hidden':!![]});},async _0x59cd2d=>{const _0x59e6d7=_0x448d53,_0x2ed26f={'fdIHu':function(_0x5d7fb8,_0x149093,_0x2cc999,_0x56f2f2){return _0x5d7fb8(_0x149093,_0x2cc999,_0x56f2f2);},'RBqAd':'--scenario','AyVQr':function(_0x514527,_0x3058ac,_0x1a4b54){return _0x514527(_0x3058ac,_0x1a4b54);},'tAIpp':'create'};_0x2ed26f['fdIHu'](warnFlagRenamed,_0x59e6d7(0x1c8),'--checklist',_0x2ed26f[_0x59e6d7(0x139)]);const _0x450a3d=_0x59cd2d['scenario']||_0x59cd2d[_0x59e6d7(0x199)];await _0x2ed26f['AyVQr'](withTelemetry,_0x2ed26f['tAIpp'],()=>featureCreate(_0x59cd2d['name'],{'description':_0x59cd2d['description'],'scenarios':_0x450a3d}));})[_0x448d53(0x1ea)](_0x448d53(0x1b3),_0x448d53(0x1f7),_0xf3cc62=>{const _0x3414aa=_0x448d53,_0x309ba5={'TQtQy':'current-branch','ZjAGc':_0x3414aa(0x163),'fCRJB':_0x3414aa(0x12b),'JuRwa':_0x3414aa(0x11b),'NfFJL':_0x3414aa(0xb9),'jvGUf':_0x3414aa(0x10b),'MIVWa':'include-deleted','dgura':_0x3414aa(0xb3)};return _0xf3cc62[_0x3414aa(0x181)](_0x309ba5[_0x3414aa(0x113)],{'type':_0x309ba5[_0x3414aa(0x176)],'description':_0x309ba5[_0x3414aa(0x10f)]})['option'](_0x309ba5['JuRwa'],{'type':'number','alias':'l','description':_0x309ba5['NfFJL'],'default':0xa})[_0x3414aa(0x181)]('offset',{'type':'number','alias':'o','description':_0x309ba5['jvGUf'],'default':0x0})['option'](_0x309ba5[_0x3414aa(0x1da)],{'type':_0x309ba5['ZjAGc'],'alias':'d','description':_0x309ba5[_0x3414aa(0x171)],'default':![]});},async _0x5ed578=>{const _0x333200=_0x448d53,_0x505c3a={'kdrbO':function(_0xa7eb0f,_0x42322f,_0x2f0b9d){return _0xa7eb0f(_0x42322f,_0x2f0b9d);},'lgnpx':_0x333200(0x1b3)};await _0x505c3a['kdrbO'](withTelemetry,_0x505c3a['lgnpx'],()=>featureList({'currentBranch':_0x5ed578[_0x333200(0x1d7)],'limit':_0x5ed578['limit'],'offset':_0x5ed578['offset'],'includeDeleted':_0x5ed578[_0x333200(0xe4)]}));})[_0x448d53(0x1ea)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4ed88e=>{const _0x5835eb=_0x448d53,_0x2c541b={'YpcHq':'string','ChlHP':'Feature\x20review\x20ID'};return _0x4ed88e[_0x5835eb(0x197)]('id',{'type':_0x2c541b['YpcHq'],'description':_0x2c541b['ChlHP']});},async _0x386b0e=>{await withTelemetry('show',()=>featureShow(_0x386b0e['id']));})['command']('resume\x20[id]',_0x448d53(0x167),_0x37740a=>{const _0x30fd43=_0x448d53,_0x18db1e={'HCUHT':_0x30fd43(0x1aa)};return _0x37740a[_0x30fd43(0x197)]('id',{'type':_0x18db1e['HCUHT'],'description':_0x30fd43(0x154)});},async _0x137877=>{const _0x24c8c4=_0x448d53,_0x49d292={'AgZhC':_0x24c8c4(0x149)};await withTelemetry(_0x49d292['AgZhC'],()=>featureResume(_0x137877['id']));})[_0x448d53(0x1ea)](_0x448d53(0x184),_0x448d53(0x1f4),_0x42b789=>{const _0xcdf28f=_0x448d53,_0xd67a72={'IrkDs':_0xcdf28f(0x164),'KlXci':_0xcdf28f(0x1aa),'nbFVq':_0xcdf28f(0x1df)};return _0x42b789['positional'](_0xd67a72[_0xcdf28f(0x18a)],{'type':_0xd67a72['KlXci'],'description':_0xd67a72['nbFVq'],'demandOption':!![]})[_0xcdf28f(0x181)]('id',{'type':_0xd67a72['KlXci'],'description':_0xcdf28f(0x12a)});},async _0x33bc8d=>{const _0x3b67fe=_0x448d53,_0xc2fcae={'nyzqb':_0x3b67fe(0xcc)};await withTelemetry(_0xc2fcae[_0x3b67fe(0x180)],()=>featureAddScenario(_0x33bc8d['description'],_0x33bc8d['id']));})[_0x448d53(0x1ea)]('edit-scenario\x20<description>',_0x448d53(0x133),_0x5ba5b5=>{const _0x6f3a3c=_0x448d53,_0x5ef84b={'CgBZV':_0x6f3a3c(0x1aa),'IltBC':_0x6f3a3c(0xdf)};return _0x5ba5b5['positional']('description',{'type':_0x5ef84b['CgBZV'],'description':_0x5ef84b['IltBC'],'demandOption':!![]})[_0x6f3a3c(0x181)](_0x6f3a3c(0xb6),{'type':'number','description':_0x6f3a3c(0x185),'demandOption':!![]})[_0x6f3a3c(0x181)]('id',{'type':_0x5ef84b['CgBZV'],'description':_0x6f3a3c(0x12a)});},async _0x130553=>{const _0x19a7bf=_0x448d53,_0xf93268={'eoRTf':'edit-scenario'};await withTelemetry(_0xf93268[_0x19a7bf(0xc8)],()=>featureEditScenario(_0x130553['description'],{'id':_0x130553['id'],'scenario':_0x130553['scenario']}));})['command']('report\x20[id]',_0x448d53(0x14c),_0x28992d=>{const _0x4b6c79=_0x448d53,_0x5656ce={'GDukk':_0x4b6c79(0x1aa),'MqXsa':_0x4b6c79(0x200),'Utshm':_0x4b6c79(0xcb),'LPzMi':'json','xsRaV':_0x4b6c79(0x163)};return _0x28992d[_0x4b6c79(0x197)]('id',{'type':_0x5656ce['GDukk'],'description':_0x4b6c79(0x169)})[_0x4b6c79(0x181)](_0x4b6c79(0xda),{'type':_0x5656ce[_0x4b6c79(0x13a)],'description':_0x5656ce[_0x4b6c79(0x10d)]})[_0x4b6c79(0x181)](_0x5656ce[_0x4b6c79(0x1ec)],{'type':_0x5656ce['xsRaV'],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x5d569f=>{const _0xb37c26=_0x448d53,_0x363609=_0x5d569f[_0xb37c26(0xda)],_0x2286cf=_0x363609?_0x363609[_0xb37c26(0xdd)](_0x38f883=>Number(_0x38f883)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x5d569f['id'],{'excludeScenarios':_0x2286cf,'json':_0x5d569f[_0xb37c26(0x13f)]}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0xc7af38=>{const _0xb0a3b2=_0x448d53,_0x1ec28a={'yePIu':_0xb0a3b2(0x1aa)};return _0xc7af38[_0xb0a3b2(0x197)]('id',{'type':_0x1ec28a['yePIu'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2d221e=>{const _0x895926=_0x448d53,_0x16f9c1={'zqRaY':function(_0x201520,_0x1827b1,_0x467f58){return _0x201520(_0x1827b1,_0x467f58);},'lzTwN':'get-review'};await _0x16f9c1[_0x895926(0x102)](withTelemetry,_0x16f9c1[_0x895926(0x104)],()=>featureGetReview(_0x2d221e['id']));})['command']('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x164ab2=>{const _0x4c6532=_0x448d53,_0x5c7572={'xPDGI':'string','blkqi':'Feature\x20review\x20ID'};return _0x164ab2[_0x4c6532(0x197)]('id',{'type':_0x5c7572['xPDGI'],'description':_0x5c7572['blkqi']});},async _0xb45c92=>{const _0x44acb3=_0x448d53,_0x3b0c1f={'xGwSe':function(_0x420e54,_0x261d9a,_0x56955a){return _0x420e54(_0x261d9a,_0x56955a);},'vlwwW':'delete'};await _0x3b0c1f[_0x44acb3(0xc1)](withTelemetry,_0x3b0c1f[_0x44acb3(0x1ab)],()=>featureDelete(_0xb45c92['id']));})['command'](_0x448d53(0x18d),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x176668=>{const _0x1b2255=_0x448d53,_0x2fd086={'ukvGa':_0x1b2255(0x1aa),'Dxwdj':_0x1b2255(0x1b8)};return _0x176668['positional']('id',{'type':_0x2fd086['ukvGa'],'description':_0x2fd086['Dxwdj'],'demandOption':!![]});},async _0x23ef8a=>{const _0x112fb2=_0x448d53,_0x1bac93={'YIwLz':function(_0x517170,_0x23f52c,_0xf256f){return _0x517170(_0x23f52c,_0xf256f);},'MQCMn':_0x112fb2(0x13c)};await _0x1bac93['YIwLz'](withTelemetry,_0x1bac93['MQCMn'],()=>featureRestore(_0x23ef8a['id']));})['command']('setup\x20[token]',_0x448d53(0x1b2),_0x52fd7e=>{const _0x31e9a8=_0x448d53,_0x28fb7e={'JfwQd':_0x31e9a8(0x163),'gYMol':_0x31e9a8(0x1dd),'mgURX':'scope','jBlEi':_0x31e9a8(0x14f),'lOBpe':_0x31e9a8(0x1dc),'gOucP':'opencode','RSJSq':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','neOGy':'allow-insecure-localhost','quXVs':_0x31e9a8(0x132)};return _0x52fd7e['positional'](_0x31e9a8(0x193),{'type':'string','description':_0x31e9a8(0x18e)})[_0x31e9a8(0x181)](_0x31e9a8(0x12e),{'type':_0x28fb7e[_0x31e9a8(0x114)],'description':_0x28fb7e[_0x31e9a8(0x18f)],'default':![]})['option'](_0x28fb7e['mgURX'],{'type':'string','choices':[_0x31e9a8(0x17c),'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x14b)],{'type':_0x31e9a8(0x1aa),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x31e9a8(0x181)](_0x31e9a8(0x10e),{'type':_0x31e9a8(0x163),'description':_0x28fb7e['lOBpe'],'default':![]})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x1b1)],{'type':'boolean','description':_0x28fb7e[_0x31e9a8(0xcd)],'default':![]})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x18b)],{'type':_0x28fb7e[_0x31e9a8(0x114)],'description':_0x28fb7e['quXVs'],'default':![]});},async _0x15feec=>{const _0x347202=_0x448d53,_0x209840={'jjlwb':function(_0x121252,_0x2bff18,_0x24d4ba){return _0x121252(_0x2bff18,_0x24d4ba);}};await _0x209840['jjlwb'](withTelemetry,_0x347202(0x1f1),_0x198600=>start(_0x15feec[_0x347202(0x193)],{'skipChromium':_0x15feec[_0x347202(0x12e)],'scope':_0x15feec[_0x347202(0xa8)],'url':_0x15feec['url'],'force':_0x15feec['force'],'opencode':_0x15feec['opencode'],'allowInsecureLocalhost':_0x15feec['allow-insecure-localhost']},_0x198600));})['command'](_0x448d53(0x1c5),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x4facaf=>{const _0x48c63a=_0x448d53,_0x33e34a={'YJOUR':'token','gfZQc':'string','HlbPi':'Ranger\x20API\x20token','pVKIW':_0x48c63a(0xbc),'DVQCm':'base-url','iGbYN':'skip-chromium','jyVBS':'boolean','Cciya':_0x48c63a(0x175)};return _0x4facaf[_0x48c63a(0x197)](_0x33e34a[_0x48c63a(0x1d0)],{'type':_0x33e34a[_0x48c63a(0x120)],'description':_0x33e34a['HlbPi'],'demandOption':!![]})['option'](_0x33e34a[_0x48c63a(0x115)],{'type':_0x48c63a(0x1aa),'description':_0x48c63a(0x118)})['option'](_0x33e34a[_0x48c63a(0xca)],{'type':_0x33e34a['gfZQc'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x48c63a(0x181)](_0x33e34a['iGbYN'],{'type':_0x33e34a[_0x48c63a(0x1fb)],'description':_0x33e34a['Cciya'],'default':![]});},async _0x2cf0a7=>{const _0x325f82=_0x448d53,_0x202fc8={'XdJTw':function(_0x24b24c,_0x8e6265,_0x290c26){return _0x24b24c(_0x8e6265,_0x290c26);},'brwUt':'setup-ci'};await _0x202fc8['XdJTw'](withTelemetry,_0x202fc8['brwUt'],_0x21eda5=>setupCi(_0x2cf0a7[_0x325f82(0x193)],{'profile':_0x2cf0a7[_0x325f82(0xbc)],'baseUrl':_0x2cf0a7[_0x325f82(0xc7)],'skipChromium':_0x2cf0a7['skip-chromium']},_0x21eda5));})['command']('login',_0x448d53(0x19d),()=>{},async()=>{const _0x5dd1af=_0x448d53,_0x1c193a={'oRwdI':function(_0x4ed021,_0x52f868,_0x4f03fb){return _0x4ed021(_0x52f868,_0x4f03fb);}};await _0x1c193a[_0x5dd1af(0x1a3)](withTelemetry,_0x5dd1af(0x112),()=>login());})['command'](_0x448d53(0x1fd),_0x448d53(0x1bd),_0x49438c=>{const _0x515e38=_0x448d53,_0x86cddc={'vevIW':'boolean'};return _0x49438c[_0x515e38(0x181)](_0x515e38(0x179),{'type':_0x86cddc[_0x515e38(0x1d5)],'description':_0x515e38(0x1ca),'default':![]})[_0x515e38(0x181)](_0x515e38(0xa8),{'type':'string','choices':['user',_0x515e38(0x1a5)],'description':_0x515e38(0x121)});},async _0x1944f2=>{const _0x21e6dc=_0x448d53,_0x5ed538={'nhODV':function(_0x2b2771,_0x32ea8a){return _0x2b2771(_0x32ea8a);},'kwGRC':'skillup'},_0x4204f9=_0x5ed538[_0x21e6dc(0x1d6)](Boolean,_0x1944f2['opencode']);await withTelemetry(_0x5ed538[_0x21e6dc(0x14a)],()=>skillup({'autoInstall':_0x1944f2['scope'],'platform':_0x4204f9?_0x21e6dc(0x179):'claude'}));})['command']('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x28188d={'nkavC':'clean'};await withTelemetry(_0x28188d['nkavC'],()=>clean());})[_0x448d53(0x1ea)]('profile','Manage\x20profiles',_0x3f867b=>{const _0xd8da87=_0x448d53,_0x7cb856={'nFatP':_0xd8da87(0x13d),'RqpJf':'boolean','LpXXK':_0xd8da87(0xe2),'dVbha':_0xd8da87(0x10e),'CBDVQ':_0xd8da87(0x1dc),'KuyPg':_0xd8da87(0xe7),'tnWDV':'cdp-endpoint','uAsnx':_0xd8da87(0xf7),'NrQUX':'Name\x20of\x20the\x20profile','tKAyY':function(_0x5134b3,_0x2c86c5,_0x1128d1){return _0x5134b3(_0x2c86c5,_0x1128d1);},'XDvGY':_0xd8da87(0x1aa),'wmESq':function(_0x555898,_0x4a9468,_0x1bdf0b){return _0x555898(_0x4a9468,_0x1bdf0b);},'XvKcB':'profile','dbgRh':'profile\x20config\x20set','ZfsPZ':'profile\x20config\x20get','AaxVe':'Profile\x20name','uhKut':'Config\x20key\x20to\x20remove','JaaGJ':'Set\x20a\x20config\x20value','LPfLG':_0xd8da87(0x19a),'ekHEJ':'Remove\x20a\x20config\x20value','IImPa':'add\x20<profile-name>','vcfdC':'Add\x20profile\x20configuration','xVzIc':_0xd8da87(0x1bf),'Sqbzk':'update\x20<profile-name>','GlRqZ':_0xd8da87(0xaa),'ZPJls':_0xd8da87(0x1f8),'IMoLZ':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x3f867b['usage'](PROFILE_HELP)[_0xd8da87(0x1ea)](_0x7cb856[_0xd8da87(0x100)],_0x7cb856[_0xd8da87(0x101)],_0x40e0a4=>{const _0x400cff=_0xd8da87;return _0x40e0a4['positional']('profile-name',{'type':_0x400cff(0x1aa),'description':_0x7cb856[_0x400cff(0x17b)],'demandOption':!![]})[_0x400cff(0x181)]('ci',{'type':_0x7cb856['RqpJf'],'description':_0x400cff(0x16d),'default':![]})[_0x400cff(0x181)](_0x7cb856['LpXXK'],{'type':_0x400cff(0x163),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x400cff(0x181)](_0x400cff(0x14f),{'type':'string','description':_0x400cff(0xbf)})[_0x400cff(0x181)](_0x7cb856[_0x400cff(0x1bc)],{'type':_0x7cb856[_0x400cff(0xf8)],'description':_0x7cb856['CBDVQ'],'default':![]})['option'](_0x400cff(0x1c9),{'type':_0x400cff(0x1aa),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x400cff(0x181)](_0x7cb856['KuyPg'],{'type':_0x7cb856['RqpJf'],'description':_0x400cff(0x132),'default':![]});},async _0x13a20a=>{const _0x3cf6b5=_0xd8da87;await withTelemetry(_0x3cf6b5(0x18c),_0x144881=>addEnv(_0x13a20a['profile-name'],{'ci':_0x13a20a['ci'],'skipAuth':_0x13a20a[_0x3cf6b5(0xe2)],'url':_0x13a20a['url'],'force':_0x13a20a['force'],'cdpEndpoint':_0x13a20a[_0x3cf6b5(0x1c9)],'allowInsecureLocalhost':_0x13a20a[_0x3cf6b5(0xe7)]},_0x144881),{'isElectron':Boolean(_0x13a20a[_0x7cb856['tnWDV']])});})[_0xd8da87(0x1ea)](_0x7cb856['xVzIc'],_0xd8da87(0x1e0),_0x430214=>{const _0x4241ae=_0xd8da87;return _0x430214['positional'](_0x7cb856[_0x4241ae(0x1e4)],{'type':'string','description':_0x7cb856[_0x4241ae(0xf2)],'demandOption':!![]});},async _0x214798=>{const _0x52cdc8=_0xd8da87;await _0x7cb856[_0x52cdc8(0xec)](withTelemetry,'profile\x20use',()=>useEnv(_0x214798['profile-name']));})[_0xd8da87(0x1ea)]('encrypt-auth\x20<profile>','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x582fd1=>{return _0x582fd1['positional']('profile',{'type':_0x7cb856['XDvGY'],'description':'Profile\x20name','demandOption':!![]});},async _0x22f793=>{const _0x234b9e=_0xd8da87;await _0x7cb856[_0x234b9e(0x148)](withTelemetry,_0x234b9e(0x19b),()=>authEncrypt(_0x22f793['profile']));})['command']('ls',_0xd8da87(0xf0),()=>{},async()=>{const _0x4e8898=_0xd8da87;await _0x7cb856[_0x4e8898(0xec)](withTelemetry,_0x4e8898(0x15d),()=>envList());})['command'](_0x7cb856[_0xd8da87(0xf9)],_0xd8da87(0x122),_0x2b414d=>{const _0x48b98d=_0xd8da87;return _0x2b414d[_0x48b98d(0x197)](_0x7cb856[_0x48b98d(0x1e4)],{'type':_0x48b98d(0x1aa),'description':_0x48b98d(0x1c2),'demandOption':!![]})[_0x48b98d(0x181)](_0x48b98d(0xe7),{'type':'boolean','description':_0x48b98d(0x132)});},async _0x1f4cc4=>{const _0x1444f7=_0xd8da87;await _0x7cb856['tKAyY'](withTelemetry,_0x1444f7(0x12f),_0x367018=>updateEnv(_0x1f4cc4['profile-name'],_0x367018,{'allowInsecureLocalhost':_0x1f4cc4[_0x1444f7(0xe7)]}));})['command'](_0x7cb856[_0xd8da87(0x150)],_0x7cb856[_0xd8da87(0x1a7)],_0x279a24=>{const _0x41d79c=_0xd8da87,_0x325b15={'oxosa':_0x41d79c(0x129),'rdRMx':_0x7cb856['XDvGY'],'lwZBz':'Config\x20key','mDUmZ':function(_0xbe3ecf,_0x4f0e59,_0x4c408b){return _0xbe3ecf(_0x4f0e59,_0x4c408b);},'tqzAi':_0x41d79c(0xa2)};return _0x279a24[_0x41d79c(0x103)](PROFILE_CONFIG_HELP)[_0x41d79c(0x1ea)]('set\x20<profile>\x20<key>\x20<value>',_0x7cb856[_0x41d79c(0x1c0)],_0x3b0604=>{const _0x58e057=_0x41d79c;return _0x3b0604[_0x58e057(0x197)](_0x7cb856['XvKcB'],{'type':_0x7cb856[_0x58e057(0xfa)],'description':'Profile\x20name','demandOption':!![]})[_0x58e057(0x197)]('key',{'type':_0x58e057(0x1aa),'description':_0x58e057(0x13b),'demandOption':!![]})['positional'](_0x58e057(0x1be),{'type':_0x7cb856['XDvGY'],'description':'Config\x20value','demandOption':!![]});},async _0x3db3c0=>{const _0x471b21=_0x41d79c;await withTelemetry(_0x7cb856[_0x471b21(0x188)],()=>configSet(_0x3db3c0[_0x471b21(0xbc)],_0x3db3c0['key'],_0x3db3c0[_0x471b21(0x1be)]));})[_0x41d79c(0x1ea)](_0x41d79c(0x10c),'Get\x20a\x20config\x20value',_0x2bd60c=>{const _0x4ba496=_0x41d79c;return _0x2bd60c[_0x4ba496(0x197)](_0x4ba496(0xbc),{'type':'string','description':_0x325b15['oxosa'],'demandOption':!![]})['positional']('key',{'type':_0x325b15[_0x4ba496(0x109)],'description':_0x325b15['lwZBz'],'demandOption':!![]});},async _0x232380=>{const _0xc0654b=_0x41d79c;await withTelemetry(_0x7cb856[_0xc0654b(0x173)],()=>configGet(_0x232380['profile'],_0x232380['key']));})['command'](_0x7cb856['LPfLG'],_0x41d79c(0x1c7),_0x4697bf=>{const _0x1dae4b=_0x41d79c;return _0x4697bf['positional'](_0x1dae4b(0xbc),{'type':_0x1dae4b(0x1aa),'description':_0x7cb856[_0x1dae4b(0x141)],'demandOption':!![]});},async _0x94e41b=>{const _0xfd09fb=_0x41d79c;await _0x325b15[_0xfd09fb(0xdb)](withTelemetry,_0x325b15['tqzAi'],()=>configList(_0x94e41b['profile']));})['command'](_0x41d79c(0x157),_0x7cb856['ekHEJ'],_0x1c330e=>{const _0x3a6ce5=_0x41d79c;return _0x1c330e[_0x3a6ce5(0x197)](_0x7cb856['XvKcB'],{'type':_0x7cb856[_0x3a6ce5(0xfa)],'description':_0x7cb856[_0x3a6ce5(0x141)],'demandOption':!![]})['positional']('key',{'type':_0x7cb856['XDvGY'],'description':_0x7cb856[_0x3a6ce5(0x1d3)],'demandOption':!![]});},async _0x2ca72e=>{const _0x353eeb=_0x41d79c;await _0x7cb856['wmESq'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x2ca72e[_0x353eeb(0xbc)],_0x2ca72e[_0x353eeb(0x190)]));})['demandCommand'](0x1,_0x41d79c(0x17d));})['demandCommand'](0x1,_0x7cb856['IMoLZ']);})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x26429c=_0x448d53;await withTelemetry(_0x26429c(0x137),()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x2649b2=_0x448d53,_0x2b3f73={'HluqK':_0x2649b2(0x11c)};await withTelemetry(_0x2b3f73[_0x2649b2(0x107)],()=>update());})[_0x448d53(0x1ea)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x3b039e=>{const _0x2feb16=_0x448d53,_0x48d6cd={'jZkEh':_0x2feb16(0xbc),'wDSEf':'string','YvuBt':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','MpboK':_0x2feb16(0x15c),'zuSba':'number','qVfzD':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','iTTas':_0x2feb16(0x1a8),'oopfE':_0x2feb16(0x1af),'aXmFM':_0x2feb16(0x163),'etFyr':_0x2feb16(0x130),'YbvSk':'debug-address-comments','MloTM':'env','PRigz':_0x2feb16(0x10a)};return _0x3b039e['option'](_0x2feb16(0x160),{'type':'string','description':'Optional\x20feature\x20ID'})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x1c1)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'description':_0x48d6cd['YvuBt']})['option']('notes',{'type':_0x48d6cd['wDSEf'],'description':_0x48d6cd['MpboK']})['option']('scenario',{'type':_0x48d6cd[_0x2feb16(0x123)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x2feb16(0xf1),{'type':'string','description':_0x48d6cd[_0x2feb16(0x1a9)]})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x106)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)'})['option'](_0x48d6cd['oopfE'],{'type':_0x48d6cd['aXmFM'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x48d6cd['etFyr'],{'type':_0x48d6cd['wDSEf'],'hidden':!![],'choices':[_0x2feb16(0x1d2),_0x2feb16(0x19e),'blocked',_0x2feb16(0xd5),_0x2feb16(0xd6)]})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x17f)],{'type':_0x2feb16(0x163),'hidden':!![]})['option'](_0x48d6cd['MloTM'],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'hidden':!![]})['option'](_0x48d6cd[_0x2feb16(0xc5)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x3dc081=>{await runGoCommand(_0x3dc081);})[_0x448d53(0x1ea)]('auth',![],_0x239286=>{const _0x98fbf2=_0x448d53,_0x4ad108={'BLhTI':_0x98fbf2(0xbc),'EAGTK':_0x98fbf2(0x1aa),'OCgBI':function(_0x2d84b7,_0x24178a,_0x157763){return _0x2d84b7(_0x24178a,_0x157763);},'rWVQh':function(_0x11b7eb,_0x3328af){return _0x11b7eb(_0x3328af);},'nynpk':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x239286[_0x98fbf2(0x1ea)]('encrypt\x20<profile>',![],_0x4538cb=>{const _0x3e54e3=_0x98fbf2;return _0x4538cb['positional'](_0x4ad108[_0x3e54e3(0x187)],{'type':_0x4ad108[_0x3e54e3(0xbb)],'description':_0x3e54e3(0x129),'demandOption':!![]});},async _0x18ceaf=>{_0x4ad108['OCgBI'](warnRenamed,'ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x4ad108['rWVQh'](authEncrypt,_0x18ceaf['profile']);})['demandCommand'](0x1,_0x4ad108[_0x98fbf2(0x1ac)]);},()=>{})[_0x448d53(0x1ea)](_0x448d53(0x131),![],_0x39767d=>{const _0x4c858c=_0x448d53,_0x506192={'cdBlm':'token','Twenp':_0x4c858c(0x1aa),'GwBke':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ANhSu':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','GMJef':'scope','CoWDV':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','RySyn':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','APBuB':'force'};return _0x39767d[_0x4c858c(0x197)](_0x506192[_0x4c858c(0xc0)],{'type':_0x506192[_0x4c858c(0x1db)],'description':_0x506192[_0x4c858c(0x170)]})['option'](_0x4c858c(0x12e),{'type':_0x4c858c(0x163),'description':_0x506192[_0x4c858c(0x19c)],'default':![]})[_0x4c858c(0x181)](_0x506192[_0x4c858c(0xde)],{'type':_0x506192[_0x4c858c(0x1db)],'choices':['user','project'],'description':_0x506192[_0x4c858c(0x151)]})['option'](_0x4c858c(0x14f),{'type':_0x4c858c(0x1aa),'description':_0x506192['RySyn']})[_0x4c858c(0x181)](_0x506192[_0x4c858c(0x1e1)],{'type':_0x4c858c(0x163),'description':_0x4c858c(0x1dc),'default':![]});},async _0xf2b185=>{const _0xa25658=_0x448d53,_0x2b4d43={'DEwmE':function(_0x5ea83e,_0x5e7e0c,_0x5e0c25){return _0x5ea83e(_0x5e7e0c,_0x5e0c25);},'eVeuY':_0xa25658(0xb0),'GgjFr':'start'};_0x2b4d43['DEwmE'](warnRenamed,_0x2b4d43['eVeuY'],'ranger\x20setup'),await withTelemetry(_0x2b4d43[_0xa25658(0x12c)],_0x217b13=>start(_0xf2b185[_0xa25658(0x193)],{'skipChromium':_0xf2b185['skip-chromium'],'scope':_0xf2b185['scope'],'url':_0xf2b185['url'],'force':_0xf2b185['force']},_0x217b13));})[_0x448d53(0x1ea)](_0x448d53(0xf3),![],_0x29b63d=>{const _0x2f10e1=_0x448d53,_0x5965ce={'rwqfm':_0x2f10e1(0x1b0),'TBTOB':'string','WCJws':'task','TPaIy':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','irtkl':_0x2f10e1(0xba),'kSiDn':_0x2f10e1(0xc3),'EAKrp':'profile','kLabr':'scenario','yrhXu':_0x2f10e1(0x194),'lbdcN':'start-path','kXFyW':_0x2f10e1(0x1f9),'dELeB':_0x2f10e1(0x1a8),'ieUbe':_0x2f10e1(0x1af),'RfgsH':'boolean','YHbHe':'debug-outcome','RgEyq':_0x2f10e1(0xd6)};return _0x29b63d[_0x2f10e1(0x181)](_0x5965ce['rwqfm'],{'type':_0x5965ce['TBTOB'],'description':_0x2f10e1(0x16f)})[_0x2f10e1(0x181)](_0x5965ce[_0x2f10e1(0xa3)],{'type':'string','description':_0x5965ce['TPaIy']})[_0x2f10e1(0x181)](_0x5965ce[_0x2f10e1(0x1fe)],{'type':'number','description':_0x5965ce[_0x2f10e1(0x108)]})[_0x2f10e1(0x181)](_0x5965ce['EAKrp'],{'type':_0x2f10e1(0x1aa),'hidden':!![]})[_0x2f10e1(0x181)]('notes',{'type':_0x5965ce[_0x2f10e1(0x146)],'hidden':!![]})['option'](_0x5965ce[_0x2f10e1(0x1a4)],{'type':_0x5965ce['yrhXu'],'hidden':!![]})['option'](_0x5965ce['lbdcN'],{'type':'string','description':_0x5965ce['kXFyW']})['option'](_0x5965ce[_0x2f10e1(0x1b9)],{'type':'string','hidden':!![]})['option'](_0x5965ce[_0x2f10e1(0xee)],{'type':_0x5965ce['RfgsH'],'hidden':!![],'default':![]})[_0x2f10e1(0x181)](_0x5965ce['YHbHe'],{'type':_0x2f10e1(0x1aa),'hidden':!![],'choices':[_0x2f10e1(0x1d2),_0x2f10e1(0x19e),_0x2f10e1(0x144),_0x2f10e1(0xd5),_0x5965ce['RgEyq']]});},async _0x1ccc01=>{await runGoCommand(_0x1ccc01,!![]);})['command']('add\x20env\x20<env-name>',![],_0x10d0f5=>{const _0x5a5c24=_0x448d53,_0x366959={'GFpoT':_0x5a5c24(0x163),'pTARV':_0x5a5c24(0x19f),'aoRKT':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x10d0f5[_0x5a5c24(0x197)]('env-name',{'type':_0x5a5c24(0x1aa),'description':_0x5a5c24(0xc4),'demandOption':!![]})['option']('ci',{'type':_0x366959[_0x5a5c24(0x1e2)],'description':_0x366959['pTARV'],'default':![]})['option']('skip-auth',{'type':_0x5a5c24(0x163),'description':_0x366959[_0x5a5c24(0x1f2)],'default':![]});},async _0x59e199=>{const _0x552947=_0x448d53,_0x56dcd1={'auWvW':function(_0x2d4b24,_0x11294b,_0x27f023){return _0x2d4b24(_0x11294b,_0x27f023);},'UsoWm':_0x552947(0xed)};_0x56dcd1[_0x552947(0x1ae)](warnRenamed,_0x552947(0xd7),_0x56dcd1['UsoWm']),await _0x56dcd1[_0x552947(0x1ae)](withTelemetry,_0x552947(0xd0),_0x47a689=>addEnv(_0x59e199['env-name'],{'ci':_0x59e199['ci'],'skipAuth':_0x59e199['skip-auth']},_0x47a689));})['command']('use\x20<env-name>',![],_0x2b2aad=>{const _0x449036=_0x448d53,_0x5697b1={'EUUcd':'env-name','QfhVs':_0x449036(0x1d1)};return _0x2b2aad[_0x449036(0x197)](_0x5697b1['EUUcd'],{'type':_0x449036(0x1aa),'description':_0x5697b1[_0x449036(0xc6)],'demandOption':!![]});},async _0x55f25b=>{warnRenamed('ranger\x20use','ranger\x20profile\x20use'),await withTelemetry('use',()=>useEnv(_0x55f25b['env-name']));})[_0x448d53(0x1ea)]('config',![],_0x3b1bba=>{const _0x53866a=_0x448d53,_0x59bb85={'SgcQw':'string','zsgOe':_0x53866a(0x1cc),'ZlOBl':_0x53866a(0x177),'zYWAq':_0x53866a(0x1a6),'mBoVS':function(_0x226830,_0x474228,_0x45e28f){return _0x226830(_0x474228,_0x45e28f);},'nYAjD':'config\x20set','klaNe':_0x53866a(0x1b0),'xjpPR':_0x53866a(0x190),'xuGzG':function(_0x493d51,_0x3cc798,_0x352c84){return _0x493d51(_0x3cc798,_0x352c84);},'ukrYX':'config\x20get','PfCwB':_0x53866a(0x195),'bvqfV':function(_0x335961,_0x4da979,_0x5508e7){return _0x335961(_0x4da979,_0x5508e7);},'rBybU':function(_0x58a008,_0x2d70a7,_0x166826){return _0x58a008(_0x2d70a7,_0x166826);},'phdQV':'ranger\x20config\x20unset','eaAZN':_0x53866a(0x147),'UAKmF':_0x53866a(0x166),'xllog':_0x53866a(0xe1)};return _0x3b1bba['command'](_0x59bb85['eaAZN'],![],_0xb5dbbc=>{const _0xd23f03=_0x53866a;return _0xb5dbbc['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0xd23f03(0x190),{'type':_0x59bb85[_0xd23f03(0xd2)],'description':_0xd23f03(0x13b),'demandOption':!![]})['positional'](_0xd23f03(0x1be),{'type':'string','description':_0x59bb85['zsgOe'],'demandOption':!![]});},async _0x364862=>{const _0xf23ab6=_0x53866a;warnRenamed(_0x59bb85[_0xf23ab6(0x1fa)],_0x59bb85['zYWAq']),await _0x59bb85['mBoVS'](withTelemetry,_0x59bb85['nYAjD'],()=>configSet(_0x364862[_0xf23ab6(0x1b0)],_0x364862['key'],_0x364862['value']));})['command'](_0x53866a(0x17a),![],_0x455df4=>{const _0x1f088c=_0x53866a;return _0x455df4['positional'](_0x59bb85[_0x1f088c(0xe0)],{'type':_0x59bb85[_0x1f088c(0xd2)],'description':_0x1f088c(0x195),'demandOption':!![]})['positional'](_0x59bb85[_0x1f088c(0xea)],{'type':_0x1f088c(0x1aa),'description':_0x1f088c(0x1e3),'demandOption':!![]});},async _0x37ad23=>{const _0x31e555=_0x53866a;_0x59bb85[_0x31e555(0xe5)](warnRenamed,_0x31e555(0x11d),_0x31e555(0x1eb)),await withTelemetry(_0x59bb85['ukrYX'],()=>configGet(_0x37ad23[_0x31e555(0x1b0)],_0x37ad23['key']));})['command'](_0x59bb85['UAKmF'],![],_0x2c69fe=>{const _0x3383e0=_0x53866a;return _0x2c69fe['positional'](_0x3383e0(0x1b0),{'type':'string','description':_0x59bb85[_0x3383e0(0xab)],'demandOption':!![]});},async _0x4ade36=>{const _0x2d97ef=_0x53866a;_0x59bb85[_0x2d97ef(0xd9)](warnRenamed,_0x2d97ef(0xfb),_0x2d97ef(0x1c4)),await withTelemetry('config\x20list',()=>configList(_0x4ade36[_0x2d97ef(0x1b0)]));})[_0x53866a(0x1ea)](_0x53866a(0x174),![],_0x23e1cc=>{const _0x5f3789=_0x53866a;return _0x23e1cc['positional'](_0x5f3789(0x1b0),{'type':_0x5f3789(0x1aa),'description':_0x5f3789(0x195),'demandOption':!![]})[_0x5f3789(0x197)](_0x59bb85['xjpPR'],{'type':_0x59bb85['SgcQw'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0xcb52f1=>{const _0x26cb89=_0x53866a;_0x59bb85[_0x26cb89(0xb5)](warnRenamed,_0x59bb85[_0x26cb89(0x1c3)],'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x26cb89(0x110),()=>configUnset(_0xcb52f1['env'],_0xcb52f1[_0x26cb89(0x190)]));})[_0x53866a(0xb2)](0x1,_0x59bb85[_0x53866a(0x158)]);})['command']('env',![],_0x3d8cfd=>{const _0x3a6f9d=_0x448d53,_0x535d3f={'aFhfH':_0x3a6f9d(0x1f6),'vjSwQ':_0x3a6f9d(0x1c6),'lfnZm':_0x3a6f9d(0xbe)};return _0x3d8cfd[_0x3a6f9d(0x1ea)]('ls',![],()=>{},async()=>{const _0x10a77e=_0x3a6f9d;warnRenamed(_0x535d3f[_0x10a77e(0x15f)],_0x535d3f['vjSwQ']),await withTelemetry('env\x20list',()=>envList());})[_0x3a6f9d(0x1ea)](_0x3a6f9d(0x1d8),![],_0x17818c=>{return _0x17818c['positional']('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x55f746=>{const _0x11af18=_0x3a6f9d;warnRenamed('ranger\x20env\x20update',_0x535d3f['lfnZm']),await withTelemetry(_0x11af18(0x1b6),_0xfde18d=>updateEnv(_0x55f746['env-name'],_0xfde18d));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x448d53(0x1ea)](_0x448d53(0x160),![],_0x22333f=>{const _0x361f1a=_0x448d53,_0x405e44={'fUeQr':_0x361f1a(0x196),'ccvVi':_0x361f1a(0x1aa),'dklFE':_0x361f1a(0x142),'eflje':_0x361f1a(0x164),'rIAIs':_0x361f1a(0xf6),'wncRA':'checklist','kAtss':_0x361f1a(0x200),'mzAcs':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','kFkva':_0x361f1a(0xb6),'batgv':function(_0x1dd8f8,_0xe93dc,_0x588b50){return _0x1dd8f8(_0xe93dc,_0x588b50);},'MxhrQ':function(_0x558690,_0x39e050,_0x27ad95,_0x424547){return _0x558690(_0x39e050,_0x27ad95,_0x424547);},'hcouN':'ranger\x20create','oFejQ':_0x361f1a(0x1cd),'dElfZ':_0x361f1a(0xc9),'RVgzZ':_0x361f1a(0x163),'ZooqF':_0x361f1a(0x11b),'lfwns':_0x361f1a(0x194),'YNPzl':_0x361f1a(0xe4),'ARBlZ':function(_0x3b33f3,_0x4cf229,_0x303bf9){return _0x3b33f3(_0x4cf229,_0x303bf9);},'kjdCN':'feature\x20list','tuJOi':function(_0x5d4fec,_0x207d49,_0x5f4cff){return _0x5d4fec(_0x207d49,_0x5f4cff);},'ikcxH':_0x361f1a(0x1ad),'lBzMF':'ranger\x20resume','JpMQK':'feature\x20resume','gAIBy':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','SFVcE':_0x361f1a(0x143),'ycHAx':_0x361f1a(0x1de),'bACVY':_0x361f1a(0xe6),'YwJCF':function(_0x1d5360,_0x584da0,_0x23e868){return _0x1d5360(_0x584da0,_0x23e868);},'wussg':'Feature\x20review\x20ID\x20to\x20restore','jiSoj':_0x361f1a(0x1e7),'YwNbD':function(_0x439271,_0x39acd8,_0x457b05){return _0x439271(_0x39acd8,_0x457b05);},'pWjDo':'feature\x20restore','dTGVC':_0x361f1a(0x1d4),'KReLs':_0x361f1a(0x1ff)};return _0x22333f[_0x361f1a(0x1ea)](_0x405e44['dTGVC'],![],_0x38c0a2=>{const _0x5d2bb4=_0x361f1a;return _0x38c0a2[_0x5d2bb4(0x197)](_0x405e44['fUeQr'],{'type':_0x405e44['ccvVi'],'description':_0x405e44[_0x5d2bb4(0x15e)],'demandOption':!![]})['option'](_0x405e44['eflje'],{'type':_0x405e44[_0x5d2bb4(0x105)],'alias':'d','description':_0x405e44['rIAIs']})[_0x5d2bb4(0x181)](_0x405e44['wncRA'],{'type':_0x405e44['kAtss'],'alias':'c','description':_0x405e44[_0x5d2bb4(0xdc)]})[_0x5d2bb4(0x181)](_0x405e44[_0x5d2bb4(0xb1)],{'type':'array','hidden':!![]});},async _0x689277=>{const _0x8db050=_0x361f1a;_0x405e44[_0x8db050(0x1ef)](warnRenamed,_0x8db050(0x1a1),_0x8db050(0x1c8)),_0x405e44['MxhrQ'](warnFlagRenamed,_0x405e44[_0x8db050(0x1a0)],_0x405e44[_0x8db050(0xd3)],_0x405e44[_0x8db050(0xd1)]);const _0x56a484=_0x689277[_0x8db050(0xb6)]||_0x689277[_0x8db050(0x199)];await withTelemetry('feature\x20create',()=>featureCreate(_0x689277[_0x8db050(0x196)],{'description':_0x689277['description'],'scenarios':_0x56a484}));})[_0x361f1a(0x1ea)]('list',![],_0x23201d=>{const _0x24b5b5=_0x361f1a;return _0x23201d[_0x24b5b5(0x181)](_0x24b5b5(0x1d7),{'type':_0x405e44['RVgzZ'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x405e44['ZooqF'],{'type':_0x405e44[_0x24b5b5(0x1b5)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x405e44['lfwns'],'alias':'o','description':_0x24b5b5(0x10b),'default':0x0})[_0x24b5b5(0x181)](_0x405e44['YNPzl'],{'type':_0x24b5b5(0x163),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x30aac6=>{const _0x5c640d=_0x361f1a;_0x405e44[_0x5c640d(0x1d9)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await withTelemetry(_0x405e44['kjdCN'],()=>featureList({'currentBranch':_0x30aac6['current-branch'],'limit':_0x30aac6[_0x5c640d(0x11b)],'offset':_0x30aac6['offset'],'includeDeleted':_0x30aac6[_0x5c640d(0xe4)]}));})[_0x361f1a(0x1ea)]('show\x20[id]',![],_0x244c95=>{const _0x30870b=_0x361f1a;return _0x244c95['positional']('id',{'type':_0x405e44[_0x30870b(0x105)],'description':_0x30870b(0x169)});},async _0x3ddb50=>{const _0xd494f8=_0x361f1a;_0x405e44['tuJOi'](warnRenamed,_0x405e44['ikcxH'],'ranger\x20show'),await _0x405e44['batgv'](withTelemetry,_0xd494f8(0xf4),()=>featureShow(_0x3ddb50['id']));})['command']('resume\x20[id]',![],_0x456368=>{const _0xc46393=_0x361f1a;return _0x456368['positional']('id',{'type':_0x405e44['ccvVi'],'description':_0xc46393(0x154)});},async _0x4500c6=>{const _0x18faba=_0x361f1a;warnRenamed('ranger\x20feature\x20resume',_0x405e44['lBzMF']),await _0x405e44[_0x18faba(0x1ef)](withTelemetry,_0x405e44[_0x18faba(0x138)],()=>featureResume(_0x4500c6['id']));})[_0x361f1a(0x1ea)](_0x361f1a(0xc2),![],_0x1411a1=>{const _0x433650=_0x361f1a;return _0x1411a1[_0x433650(0x197)](_0x405e44['eflje'],{'type':_0x405e44[_0x433650(0x105)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x405e44['gAIBy']});},async _0x1baa9f=>{const _0x3804fd=_0x361f1a;warnRenamed(_0x405e44[_0x3804fd(0x1e5)],'ranger\x20add-scenario'),await withTelemetry(_0x3804fd(0x1b7),()=>featureAddScenario(_0x1baa9f[_0x3804fd(0x164)],_0x1baa9f['id']));})['command'](_0x405e44['KReLs'],![],_0x3f8b8f=>{const _0x255960=_0x361f1a;return _0x3f8b8f['positional']('id',{'type':_0x255960(0x1aa),'description':_0x405e44['gAIBy']});},async _0x446a94=>{const _0x4f9948=_0x361f1a;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x405e44[_0x4f9948(0x1ef)](withTelemetry,_0x4f9948(0xa9),()=>featureGetReview(_0x446a94['id']));})['command']('delete\x20[id]',![],_0x5f2468=>{const _0x46b1c2=_0x361f1a;return _0x5f2468['positional']('id',{'type':_0x405e44[_0x46b1c2(0x105)],'description':_0x46b1c2(0x169)});},async _0x46d4fe=>{const _0x59905b=_0x361f1a;warnRenamed(_0x405e44[_0x59905b(0xef)],_0x405e44[_0x59905b(0xa6)]),await _0x405e44['YwJCF'](withTelemetry,_0x59905b(0x191),()=>featureDelete(_0x46d4fe['id']));})['command'](_0x361f1a(0x18d),![],_0xae1716=>{const _0x46e3f6=_0x361f1a;return _0xae1716['positional']('id',{'type':_0x46e3f6(0x1aa),'description':_0x405e44[_0x46e3f6(0x134)],'demandOption':!![]});},async _0x1d6dec=>{const _0xc199ea=_0x361f1a;warnRenamed('ranger\x20feature\x20restore',_0x405e44[_0xc199ea(0xbd)]),await _0x405e44['YwNbD'](withTelemetry,_0x405e44[_0xc199ea(0x11f)],()=>featureRestore(_0x1d6dec['id']));})['demandCommand'](0x1,_0x361f1a(0xeb));})[_0x448d53(0x1ea)](_0x448d53(0x128),![],_0x5cad55=>{const _0x940d68=_0x448d53,_0x51eeb1={'cJLlr':_0x940d68(0xff),'arJPr':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','oIbfb':'string','ZHWaS':function(_0x73d04,_0x561752,_0x243807){return _0x73d04(_0x561752,_0x243807);},'brKAJ':_0x940d68(0x125)};return _0x5cad55[_0x940d68(0x1ea)](_0x940d68(0x16c),_0x940d68(0x183),_0x1004a0=>{const _0x1ac7c1=_0x940d68;return _0x1004a0[_0x1ac7c1(0x181)](_0x51eeb1['cJLlr'],{'type':'string','description':_0x51eeb1[_0x1ac7c1(0x198)]});},async _0xf0db8d=>{await withTelemetry('hook:enable',()=>hook('enable',_0xf0db8d['session-id']));})[_0x940d68(0x1ea)](_0x940d68(0xf5),_0x940d68(0xe9),_0x2e5274=>{const _0x36d337=_0x940d68;return _0x2e5274[_0x36d337(0x181)]('session-id',{'type':_0x51eeb1[_0x36d337(0xfd)],'description':_0x36d337(0x140)});},async _0x5d3d98=>{await _0x51eeb1['ZHWaS'](withTelemetry,'hook:disable',()=>hook('disable',_0x5d3d98['session-id']));})['option'](_0x940d68(0x196),{'type':_0x940d68(0x1aa),'description':_0x51eeb1[_0x940d68(0x165)]})['option']('session-id',{'type':'string','description':_0x51eeb1['arJPr']});},async _0x38c929=>{const _0x1d9d33=_0x448d53,_0x23fdd2={'XBqWP':function(_0x5ccd2c,_0x4b209c,_0xc7ba26){return _0x5ccd2c(_0x4b209c,_0xc7ba26);}};_0x38c929['name']&&await _0x23fdd2[_0x1d9d33(0x1ba)](hook,_0x38c929[_0x1d9d33(0x196)],_0x38c929[_0x1d9d33(0xff)]);})[_0x448d53(0xb2)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x448d53(0x127)]()['fail'](async(_0x471e1f,_0x48696e,_0x4e9e97)=>{const _0x3e7c67=_0x448d53,_0x37d386={'bkPxH':function(_0xc1975,_0x4a5fd8){return _0xc1975(_0x4a5fd8);},'QPFFx':function(_0x248821,_0x2564db,_0x500693){return _0x248821(_0x2564db,_0x500693);},'NMOpw':function(_0x5e2b37){return _0x5e2b37();},'WwFNE':function(_0x81e4ac,_0x4afe61){return _0x81e4ac||_0x4afe61;}},_0x447476=_0x37d386[_0x3e7c67(0x136)](sanitizeArgs,process[_0x3e7c67(0x12d)]['slice'](0x2)),_0x189b08=_0x37d386['QPFFx'](getErrorType,_0x471e1f,_0x48696e);if(_0x471e1f&&_0x471e1f['includes']('Unknown\x20command')){const _0x4d443e=process['argv'][0x2];console[_0x3e7c67(0x1fc)]('\x0aUnknown\x20command:\x20'+_0x4d443e),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x471e1f)console['error']('\x0a'+_0x471e1f+'\x0a');else _0x48696e&&console[_0x3e7c67(0x1fc)](_0x3e7c67(0xae)+_0x48696e['message']+'\x0a');}await logDesirePath({'rawCommand':_0x447476,'errorMessage':_0x471e1f||_0x48696e?.[_0x3e7c67(0x124)],'errorType':_0x189b08});const _0x29dac0=_0x37d386['NMOpw'](getCurrentCollector);_0x29dac0&&await _0x29dac0[_0x3e7c67(0x161)](_0x48696e||new Error(_0x37d386[_0x3e7c67(0xa5)](_0x471e1f,'Unknown\x20error'))),process[_0x3e7c67(0x1f0)](0x1);})[_0x448d53(0x126)](_0x448d53(0x1f3)+'\x20\x20https://docs.ranger.net\x0a'+_0x448d53(0x178))['help']()['alias'](_0x448d53(0x1e6),'h')['parse']();
|
|
2
|
+
const _0x3ec279=_0x9509;(function(_0x3780a6,_0x3bc19d){const _0x5cca74=_0x9509,_0x494375=_0x3780a6();while(!![]){try{const _0x248c9c=parseInt(_0x5cca74(0xbc))/0x1+parseInt(_0x5cca74(0xd8))/0x2+parseInt(_0x5cca74(0xda))/0x3+-parseInt(_0x5cca74(0x13b))/0x4*(-parseInt(_0x5cca74(0x1f4))/0x5)+parseInt(_0x5cca74(0x198))/0x6*(-parseInt(_0x5cca74(0xbb))/0x7)+-parseInt(_0x5cca74(0xc7))/0x8+-parseInt(_0x5cca74(0xfe))/0x9;if(_0x248c9c===_0x3bc19d)break;else _0x494375['push'](_0x494375['shift']());}catch(_0x5f1364){_0x494375['push'](_0x494375['shift']());}}}(_0x197a,0x94efc));import _0x460887 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x472cd6=_0x9509,_0x2c54c4={'tIKae':function(_0x11d396,_0x3b2d8a){return _0x11d396(_0x3b2d8a);},'tfEli':function(_0x8b58df,_0x8577e3){return _0x8b58df(_0x8577e3);}};let _0x47d281=process['cwd']();const _0x204dd7=_0x2c54c4['tIKae'](parse,_0x47d281)['root'];while(_0x47d281!==_0x204dd7){if(_0x2c54c4['tfEli'](existsSync,join(_0x47d281,_0x472cd6(0x141)))||_0x2c54c4['tIKae'](existsSync,join(_0x47d281,'.env')))return _0x47d281;_0x47d281=_0x2c54c4[_0x472cd6(0x219)](dirname,_0x47d281);}return process[_0x472cd6(0xfd)]();}_0x460887[_0x3ec279(0x17c)]({'path':join(findProjectRoot(),_0x3ec279(0x1df))});import _0x3a29da from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';function _0x9509(_0x93f04b,_0x1bb276){_0x93f04b=_0x93f04b-0xb7;const _0x197a09=_0x197a();let _0x95094c=_0x197a09[_0x93f04b];return _0x95094c;}function _0x197a(){const _0x997e77=['417162zKXgpV','Set\x20a\x20config\x20value','ARewY','MMyQO','VqOxu','headed','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','ZCasj','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','IeOfy','ranger\x20feature\x20add-checklist-item','1836720oNqTAi','BCfdr','klPlw','feature','tcMDk','ZXGsM','use','xNnjY','\x0aError:\x20','ranger\x20restore','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','disable','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','JFRoq','Bhyiv','iMutt','863548UcOWTz','help','1936380BdLiet','rzOTn','jSOze','option','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','exitCode','checklist','You\x20must\x20specify\x20a\x20config\x20subcommand','FjwbD','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Profile\x20name','includes','hPuWc','Kngyn','url','restore\x20<id>','skip-chromium','report\x20[id]','gHdgq','clean','ranger\x20add-scenario','UuPrT','Optional\x20feature\x20ID','boolean','HqCEJ','QNNlh','debug-address-comments','cmnZC','tvhgk','Config\x20key\x20to\x20remove','array','skip-auth','ranger\x20delete','profile\x20update','show\x20[id]','cwd','12057615GQznGw','JNDAx','add-scenario\x20<description>','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','cZLuC','--env','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','profile\x20encrypt-auth','item','lowoo','nxsyG','demandCommand','ranger\x20create','report','EqSCx','oMKPI','argv','task','\x0aIssues:','IzWTL','NqBxC','zpiWo','evaluation','base-url','scope','bOLED','tCRfL','offset','IVpuE','BVTxk','Number\x20of\x20feature\x20reviews\x20to\x20skip','Include\x20soft-deleted\x20feature\x20reviews','add\x20env\x20<env-name>','thRYh','ranger\x20profile\x20config\x20list','XYJXp','DDPXC','update\x20<env-name>','eZpMM','fIUCE','YkfKe','edit-scenario\x20<description>','--notes','session-id','hook:enable','VHppp','start','Install\x20skills\x20for\x20OpenCode','mUlwH','rxaRS','ranger\x20go','tAzRu','ranger\x20auth\x20encrypt','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','json','FAghM','jAsxP','mjaur','RPViy','gryAF','17044pdPPen','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Config\x20key','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','positional','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','.ranger','nPOyc','iMVbJ','LPLXv','claude','--item','KafkS','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','ranger\x20feature\x20get-feedback','limit','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xDXJp','dLKar','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Name\x20of\x20the\x20profile\x20to\x20update','SMJWe','qogCY','EhSvW','jyOal','verified','feature\x20create','opencode','\x20is\x20now\x20','failed','lqXsp','KKSbd','error','VVWwZ','setup-ci','rpuFA','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','log','ranger\x20feature\x20show','TuTso','user','lhMho','OMkHX','FSVzG','upJMH','profile-name','sNLKw','xTskJ','scenario','fsyay','Install\x20scope\x20for\x20skills','Toobs','gMtah','iWMmY','nDzOO','allow-insecure-localhost','unset\x20<env>\x20<key>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','vragz','FsxZl','YkRfs','encrypt\x20<profile>','LgoUn','ELSGz','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','config','NFHCu','Feature\x20review\x20ID','profile\x20config\x20get','hTGUH','ranger\x20get-review','project','pjWeo','fblun','nnHPA','MsnQL','token','key','ranger\x20feature\x20restore','YcMXW','--scenario','ASHzI','\x20PARTIAL','Etljw','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','list\x20<env>','hook:disable','Name\x20of\x20the\x20environment\x20to\x20update','skillup','name','env\x20list','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','Feature\x20review\x20description','2358360oASlPT','mPFgn','restore','ranger\x20use','fZdrZ','SxyLZ','GxOVH','koByn','vrbnO','Feature\x20review\x20ID\x20to\x20restore','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','kkcvA','update','blocked','WDtMl','config\x20set','ranger\x20start','Manage\x20profile\x20configuration','trackCommandError','use\x20<env-name>','yZojY','get-feedback\x20[id]','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','egDAf','ePhKL','FJkro','get\x20<env>\x20<key>','uEKxc','jMHJn','--checklist','akaCi','hObkg','Environment\x20name','--task','Summary:\x20','ranger\x20resume','exclude-scenario','AHjZS','LaYuP','delete\x20[id]','force','env','You\x20must\x20specify\x20an\x20env\x20subcommand','ranger\x20config\x20unset','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','value','show','PBSmK','ranger\x20profile\x20update','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','List\x20all\x20config\x20for\x20a\x20profile','message','Switch\x20to\x20using\x20a\x20specific\x20profile','XGkVg','model','slice','profile\x20add','Unknown\x20command','Scenario\x20index\x20(1-based)','kfaIL','incomplete','SrKIe','YGPkn','alias','list','sdYYh','ranger\x20setup','startsWith','tvAuZ','command','profile\x20config\x20set','.env','version','AuhWi','nUDuM','hook','resume\x20[id]','aJiZI','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','biohO','rVdfU','current-branch','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20feature\x20resume','feature\x20list','aPdNO','BbpUA','PvyWy','oqRzy','strictCommands','Rwnjd','flag','1265CgsvMB','jngcP','wRoon','JPmFJ','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','add-scenario','profile','profile\x20config\x20list','ranger\x20profile\x20config\x20set','PtYFy','config\x20get','CVpaN','evaluationReason','env-name','AOPPs','string','JmHzP','description','cdp-endpoint','start-path','iqxxv','bUTtO','get-review\x20[id]','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','unset\x20<profile>\x20<key>','YZoAk','\x20\x20https://docs.ranger.net\x0a','notes','oiwnm','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','include-deleted','feature\x20show','iSoDp','number','map','ibsji','QwzWd','tIKae','status','FnvRn','FUnak','UTjrg','7sAeJLD'];_0x197a=function(){return _0x997e77;};return _0x197a();}import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x65690c=>{const _0x32aff4=_0x3ec279,_0x5244d3={'IrNiG':function(_0x467411){return _0x467411();}},_0x238820=_0x5244d3['IrNiG'](getCurrentCollector);_0x238820&&await _0x238820['trackCommandError'](_0x65690c),process[_0x32aff4(0xdf)]=0x1;});const rawArgs=process['argv'][_0x3ec279(0x1cf)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP=_0x3ec279(0x13e);function warnRenamed(_0x533cbe,_0x4a7cef){const _0xdc9201=_0x3ec279;console['error']('\x0a'+_0x533cbe+_0xdc9201(0x157)+_0x4a7cef+'\x0a');}function argUsed(_0x227b18){const _0x1980d6=_0x3ec279;return rawArgs['some'](_0x1868a8=>_0x1868a8===_0x227b18||_0x1868a8[_0x1980d6(0x1db)](_0x227b18+'='));}function warnFlagRenamed(_0x389016,_0x4d7708,_0x592912){const _0x4a6ad1=_0x3ec279,_0x14a9d6={'akaCi':function(_0x2dc0e7,_0x6cd203){return _0x2dc0e7(_0x6cd203);}};_0x14a9d6[_0x4a6ad1(0x1b6)](argUsed,_0x4d7708)&&warnRenamed(_0x389016+'\x20'+_0x4d7708,_0x389016+'\x20'+_0x592912);}async function runGoCommand(_0x3a78df,_0x58ec93=![]){const _0x1d0006=_0x3ec279,_0x2ab2ae={'FAghM':function(_0x4a2020,_0x51ee08){return _0x4a2020+_0x51ee08;},'MsnQL':function(_0x11e920,_0x26dcc3,_0x11e65b){return _0x11e920(_0x26dcc3,_0x11e65b);},'gqdCU':_0x1d0006(0x131),'JARHo':_0x1d0006(0x104),'kfaIL':'--profile','BCfdr':_0x1d0006(0x129),'iEBjh':function(_0x1e6906,_0x22a9bb,_0x1f1791,_0x3f63df){return _0x1e6906(_0x22a9bb,_0x1f1791,_0x3f63df);},'uTveK':_0x1d0006(0x18b),'tzPyr':function(_0x2f0bf8){return _0x2f0bf8();},'cIsFj':function(_0x2dd3a9,_0x4bbbb8){return _0x2dd3a9??_0x4bbbb8;},'jtObx':_0x1d0006(0x1f3),'yZojY':function(_0x5db57e,_0x325ddc){return _0x5db57e(_0x325ddc);},'gHdgq':'debug-address-comments','LgoUn':'verified','jMHJn':'\x20VERIFIED','wnQqm':'\x20INCOMPLETE','LPLXv':function(_0x310197,_0x4b0eaf){return _0x310197===_0x4b0eaf;},'SrKIe':'partial','jyOal':_0x1d0006(0x1a5)};_0x58ec93&&_0x2ab2ae[_0x1d0006(0x186)](warnRenamed,'ranger\x20verify-feature',_0x2ab2ae['gqdCU']);warnFlagRenamed(_0x2ab2ae['gqdCU'],_0x2ab2ae['JARHo'],_0x2ab2ae[_0x1d0006(0x1d3)]),warnFlagRenamed(_0x2ab2ae['gqdCU'],_0x1d0006(0x1b9),_0x2ab2ae[_0x1d0006(0xc8)]),_0x2ab2ae['iEBjh'](warnFlagRenamed,_0x1d0006(0x131),_0x1d0006(0x146),_0x2ab2ae['uTveK']);const _0x348b66=await _0x2ab2ae['tzPyr'](loadRangerConfig),_0xbd942=_0x3a78df['model'],_0x19a1ca=_0x348b66[_0x1d0006(0x1ce)],_0xa26a05=_0x2ab2ae['cIsFj'](_0xbd942,_0x19a1ca),_0x152acb=_0xbd942?_0x2ab2ae['jtObx']:_0x19a1ca?'config':'default',_0xb313e8=await _0x2ab2ae[_0x1d0006(0x1ac)](verifyFeature,{'featureId':_0x3a78df['feature'],'profile':_0x3a78df[_0x1d0006(0x1fa)]??_0x3a78df[_0x1d0006(0x1c1)],'notes':_0x3a78df['notes']??_0x3a78df[_0x1d0006(0x110)],'scenario':_0x3a78df['scenario']??_0x3a78df['item'],'startPath':_0x3a78df[_0x1d0006(0x207)],'debugOutcome':_0x3a78df['debug-outcome'],'debugAddressComments':_0x3a78df[_0x2ab2ae[_0x1d0006(0xec)]],'headed':_0x3a78df[_0x1d0006(0xc1)],'verifyModel':_0xa26a05,'verifyModelInput':_0xa26a05,'verifyModelSource':_0x152acb});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0xb313e8[_0x1d0006(0x115)]===_0x2ab2ae[_0x1d0006(0x179)]?_0x2ab2ae[_0x1d0006(0x1b4)]:_0xb313e8[_0x1d0006(0x115)]===_0x1d0006(0x1d4)?_0x2ab2ae['wnQqm']:_0x2ab2ae[_0x1d0006(0x144)](_0xb313e8[_0x1d0006(0x115)],_0x2ab2ae[_0x1d0006(0x1d5)])?_0x1d0006(0x18d):_0xb313e8[_0x1d0006(0x115)]===_0x2ab2ae[_0x1d0006(0x153)]?'\x20BLOCKED':'\x20FAILED'),console[_0x1d0006(0x160)]('='['repeat'](0x3c)),console['log'](_0x1d0006(0x1ba)+_0xb313e8['summary']),console['log']('Evaluation:\x20'+_0xb313e8[_0x1d0006(0x115)]),console[_0x1d0006(0x160)]('Reason:\x20'+_0xb313e8[_0x1d0006(0x200)]),_0xb313e8['issues']?.['length']&&(console[_0x1d0006(0x160)](_0x1d0006(0x111)),_0xb313e8['issues']['forEach']((_0x1b61d8,_0x5f5483)=>{const _0x53b10f=_0x1d0006;console['log']('\x0a'+_0x2ab2ae[_0x53b10f(0x136)](_0x5f5483,0x1)+'.\x20['+_0x1b61d8['severity']+']\x20'+_0x1b61d8[_0x53b10f(0x205)]);})),process['exit'](_0x2ab2ae['LPLXv'](_0xb313e8[_0x1d0006(0x115)],_0x1d0006(0x154))?0x0:0x1);}_0x3a29da(process['argv']['slice'](0x2))['scriptName']('ranger')['usage'](TOP_LEVEL_HELP)[_0x3ec279(0x1e0)](getCurrentVersion())['command']('create\x20<name>',_0x3ec279(0x15f),_0x5d0a85=>{const _0x256e63=_0x3ec279,_0x47b52c={'tvAuZ':_0x256e63(0x203),'LSjNu':'scenario','Wmjdk':_0x256e63(0xf8),'uRGgD':_0x256e63(0xe0)};return _0x5d0a85[_0x256e63(0x13f)]('name',{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x256e63(0xdd)](_0x256e63(0x205),{'type':_0x47b52c[_0x256e63(0x1dc)],'alias':'d','description':_0x256e63(0x197)})['option'](_0x47b52c['LSjNu'],{'type':_0x47b52c['Wmjdk'],'alias':'c','description':_0x256e63(0x148)})[_0x256e63(0xdd)](_0x47b52c['uRGgD'],{'type':_0x47b52c['Wmjdk'],'hidden':!![]});},async _0x482070=>{const _0x3fef59=_0x3ec279,_0x2cfcc2={'cWyiF':_0x3fef59(0x10b),'mjaur':_0x3fef59(0x1b5),'AuhWi':_0x3fef59(0x18b),'qRAQW':function(_0x46f256,_0x3031a4,_0x124fcf){return _0x46f256(_0x3031a4,_0x124fcf);},'cvXul':'create'};warnFlagRenamed(_0x2cfcc2['cWyiF'],_0x2cfcc2[_0x3fef59(0x138)],_0x2cfcc2[_0x3fef59(0x1e1)]);const _0x529394=_0x482070['scenario']||_0x482070['checklist'];await _0x2cfcc2['qRAQW'](withTelemetry,_0x2cfcc2['cvXul'],()=>featureCreate(_0x482070[_0x3fef59(0x194)],{'description':_0x482070[_0x3fef59(0x205)],'scenarios':_0x529394}));})[_0x3ec279(0x1dd)](_0x3ec279(0x1d8),'List\x20all\x20feature\x20reviews',_0x7d0b73=>{const _0x3298bf=_0x3ec279,_0x519b62={'nxsyG':_0x3298bf(0xf1),'JFRoq':_0x3298bf(0xc4),'JPmFJ':_0x3298bf(0x215),'OmtTw':_0x3298bf(0x14e),'pjWeo':_0x3298bf(0x11a),'nnHPA':'Include\x20soft-deleted\x20feature\x20reviews'};return _0x7d0b73['option'](_0x3298bf(0x1e9),{'type':_0x519b62[_0x3298bf(0x109)],'description':_0x519b62[_0x3298bf(0xd5)]})[_0x3298bf(0xdd)]('limit',{'type':_0x519b62[_0x3298bf(0x1f7)],'alias':'l','description':_0x519b62['OmtTw'],'default':0xa})[_0x3298bf(0xdd)](_0x519b62[_0x3298bf(0x183)],{'type':_0x519b62['JPmFJ'],'alias':'o','description':_0x3298bf(0x11d),'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x519b62[_0x3298bf(0x185)],'default':![]});},async _0x1fc89e=>{const _0x5b3276=_0x3ec279,_0x1b1f34={'GxOVH':function(_0xd62191,_0x5c78c7,_0x5befad){return _0xd62191(_0x5c78c7,_0x5befad);},'iVaHP':'list'};await _0x1b1f34[_0x5b3276(0x19e)](withTelemetry,_0x1b1f34['iVaHP'],()=>featureList({'currentBranch':_0x1fc89e[_0x5b3276(0x1e9)],'limit':_0x1fc89e[_0x5b3276(0x14a)],'offset':_0x1fc89e[_0x5b3276(0x11a)],'includeDeleted':_0x1fc89e[_0x5b3276(0x212)]}));})[_0x3ec279(0x1dd)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x512e54=>{const _0x374711=_0x3ec279,_0xc0687f={'IFyzW':'string'};return _0x512e54[_0x374711(0x13f)]('id',{'type':_0xc0687f['IFyzW'],'description':'Feature\x20review\x20ID'});},async _0x4d7a69=>{const _0xeafff1=_0x3ec279,_0x5e8068={'oiwnm':function(_0x33f3d8,_0x5e2f20,_0x504f62){return _0x33f3d8(_0x5e2f20,_0x504f62);},'tvhgk':_0xeafff1(0x1c6)};await _0x5e8068[_0xeafff1(0x210)](withTelemetry,_0x5e8068[_0xeafff1(0xf6)],()=>featureShow(_0x4d7a69['id']));})['command'](_0x3ec279(0x1e4),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x598479=>{const _0x416bdf=_0x3ec279,_0x505919={'GObiM':'string','bOLED':_0x416bdf(0x101)};return _0x598479[_0x416bdf(0x13f)]('id',{'type':_0x505919['GObiM'],'description':_0x505919[_0x416bdf(0x118)]});},async _0x311ee9=>{const _0x14a72c={'xWynA':'resume'};await withTelemetry(_0x14a72c['xWynA'],()=>featureResume(_0x311ee9['id']));})['command'](_0x3ec279(0x100),_0x3ec279(0x1f8),_0x3d3741=>{const _0x5508a5=_0x3ec279,_0x2f2f3d={'aYhZu':_0x5508a5(0x203),'iMutt':'Scenario\x20description','MuwJT':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x3d3741[_0x5508a5(0x13f)]('description',{'type':_0x2f2f3d['aYhZu'],'description':_0x2f2f3d[_0x5508a5(0xd7)],'demandOption':!![]})[_0x5508a5(0xdd)]('id',{'type':_0x5508a5(0x203),'description':_0x2f2f3d['MuwJT']});},async _0xc0b6e1=>{const _0x4a0e06=_0x3ec279;await withTelemetry(_0x4a0e06(0x1f9),()=>featureAddScenario(_0xc0b6e1['description'],_0xc0b6e1['id']));})['command'](_0x3ec279(0x128),_0x3ec279(0x105),_0x1cc54b=>{const _0x80a99f=_0x3ec279,_0x15fe61={'THChj':'New\x20scenario\x20description','tcMDk':'scenario','SMJWe':'Scenario\x20number\x20to\x20edit\x20(1-based)','QwzWd':_0x80a99f(0x211)};return _0x1cc54b[_0x80a99f(0x13f)](_0x80a99f(0x205),{'type':'string','description':_0x15fe61['THChj'],'demandOption':!![]})[_0x80a99f(0xdd)](_0x15fe61[_0x80a99f(0xcb)],{'type':'number','description':_0x15fe61[_0x80a99f(0x150)],'demandOption':!![]})['option']('id',{'type':_0x80a99f(0x203),'description':_0x15fe61[_0x80a99f(0x218)]});},async _0x33ada2=>{const _0x1143df=_0x3ec279,_0x2dcb5c={'hzixe':function(_0x46a44d,_0x19c896,_0xdead0){return _0x46a44d(_0x19c896,_0xdead0);},'fbSxc':'edit-scenario'};await _0x2dcb5c['hzixe'](withTelemetry,_0x2dcb5c['fbSxc'],()=>featureEditScenario(_0x33ada2[_0x1143df(0x205)],{'id':_0x33ada2['id'],'scenario':_0x33ada2[_0x1143df(0x16b)]}));})[_0x3ec279(0x1dd)](_0x3ec279(0xeb),'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x1c7e68=>{const _0x562a92=_0x3ec279,_0x4105c2={'WbXss':_0x562a92(0x203),'ZPsCn':_0x562a92(0x17e),'evGUB':'exclude-scenario','Gfqno':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','qYRmK':_0x562a92(0xf1),'SZJCS':_0x562a92(0xd4)};return _0x1c7e68['positional']('id',{'type':_0x4105c2['WbXss'],'description':_0x4105c2['ZPsCn']})['option'](_0x4105c2['evGUB'],{'type':_0x562a92(0xf8),'description':_0x4105c2['Gfqno']})[_0x562a92(0xdd)]('json',{'type':_0x4105c2['qYRmK'],'description':_0x4105c2['SZJCS'],'default':![]});},async _0x5ec8ed=>{const _0x26f230=_0x3ec279,_0x434ebe={'lTaxF':function(_0x3a96f8,_0x24ab27,_0x4d1123){return _0x3a96f8(_0x24ab27,_0x4d1123);},'kkcvA':_0x26f230(0x10c)},_0x370e6e=_0x5ec8ed[_0x26f230(0x1bc)],_0x1656b5=_0x370e6e?_0x370e6e[_0x26f230(0x216)](_0xc193d9=>Number(_0xc193d9)):undefined;await _0x434ebe['lTaxF'](withTelemetry,_0x434ebe[_0x26f230(0x1a3)],()=>featureReportPrDescription(_0x5ec8ed['id'],{'excludeScenarios':_0x1656b5,'json':_0x5ec8ed[_0x26f230(0x135)]}));})['command'](_0x3ec279(0x20a),_0x3ec279(0xe3),_0x359e53=>{const _0x50132f=_0x3ec279,_0xf13c4d={'dunEK':_0x50132f(0x211)};return _0x359e53['positional']('id',{'type':_0x50132f(0x203),'description':_0xf13c4d['dunEK']});},async _0xa8d5d6=>{const _0x12eed1=_0x3ec279,_0x33c736={'zpiWo':'get-review'};await withTelemetry(_0x33c736[_0x12eed1(0x114)],()=>featureGetReview(_0xa8d5d6['id']));})['command'](_0x3ec279(0x1bf),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x29bf0b=>{const _0x479b59=_0x3ec279,_0x369de5={'OTANY':'string'};return _0x29bf0b[_0x479b59(0x13f)]('id',{'type':_0x369de5['OTANY'],'description':'Feature\x20review\x20ID'});},async _0x301050=>{const _0x3ee92d=_0x3ec279,_0x58b7aa={'oMKPI':function(_0x47bee1,_0x37f1cc,_0x248731){return _0x47bee1(_0x37f1cc,_0x248731);},'Etljw':'delete'};await _0x58b7aa[_0x3ee92d(0x10e)](withTelemetry,_0x58b7aa[_0x3ee92d(0x18e)],()=>featureDelete(_0x301050['id']));})['command'](_0x3ec279(0xe9),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1a90c5=>{const _0x5a5960=_0x3ec279,_0x54215c={'LaYuP':_0x5a5960(0x203)};return _0x1a90c5[_0x5a5960(0x13f)]('id',{'type':_0x54215c[_0x5a5960(0x1be)],'description':_0x5a5960(0x1a1),'demandOption':!![]});},async _0x16f8f8=>{const _0x4c7bd1=_0x3ec279,_0x27f2af={'qWKVU':function(_0x1790e5,_0x12028c,_0x580ef2){return _0x1790e5(_0x12028c,_0x580ef2);}};await _0x27f2af['qWKVU'](withTelemetry,_0x4c7bd1(0x19a),()=>featureRestore(_0x16f8f8['id']));})[_0x3ec279(0x1dd)]('setup\x20[token]','Initialize\x20Ranger\x20in\x20your\x20project',_0xf40ee4=>{const _0x5b26de=_0x3ec279,_0x251b23={'pSKNm':_0x5b26de(0x134),'lqXsp':_0x5b26de(0x203),'wNKpe':_0x5b26de(0x163),'qwzmL':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','WsVkR':'url','xDXJp':'boolean','nDzOO':_0x5b26de(0x20b),'VVWwZ':'allow-insecure-localhost','YZoAk':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'};return _0xf40ee4['positional']('token',{'type':'string','description':_0x251b23['pSKNm']})['option'](_0x5b26de(0xea),{'type':_0x5b26de(0xf1),'description':_0x5b26de(0x1c4),'default':![]})[_0x5b26de(0xdd)](_0x5b26de(0x117),{'type':_0x251b23['lqXsp'],'choices':[_0x251b23['wNKpe'],_0x5b26de(0x182)],'description':_0x251b23['qwzmL']})[_0x5b26de(0xdd)](_0x251b23['WsVkR'],{'type':_0x251b23[_0x5b26de(0x159)],'description':_0x5b26de(0x140)})[_0x5b26de(0xdd)]('force',{'type':_0x251b23['xDXJp'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x5b26de(0x156),{'type':_0x251b23[_0x5b26de(0x14c)],'description':_0x251b23[_0x5b26de(0x171)],'default':![]})['option'](_0x251b23[_0x5b26de(0x15c)],{'type':_0x5b26de(0xf1),'description':_0x251b23[_0x5b26de(0x20d)],'default':![]});},async _0x309e35=>{const _0x41cebe=_0x3ec279;await withTelemetry(_0x41cebe(0x12d),_0x418a47=>start(_0x309e35[_0x41cebe(0x187)],{'skipChromium':_0x309e35['skip-chromium'],'scope':_0x309e35[_0x41cebe(0x117)],'url':_0x309e35['url'],'force':_0x309e35['force'],'opencode':_0x309e35[_0x41cebe(0x156)],'allowInsecureLocalhost':_0x309e35['allow-insecure-localhost']},_0x418a47));})[_0x3ec279(0x1dd)]('setup-ci\x20<token>',_0x3ec279(0x174),_0xf6845b=>{const _0x4f0567=_0x3ec279,_0x2de74c={'YGPkn':'token','egDAf':_0x4f0567(0x203),'TuTso':'Ranger\x20API\x20token','NqBxC':_0x4f0567(0x1fa),'klPlw':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','RCPbC':_0x4f0567(0x102),'fZdrZ':_0x4f0567(0xea)};return _0xf6845b[_0x4f0567(0x13f)](_0x2de74c[_0x4f0567(0x1d6)],{'type':_0x2de74c['egDAf'],'description':_0x2de74c[_0x4f0567(0x162)],'demandOption':!![]})[_0x4f0567(0xdd)](_0x2de74c[_0x4f0567(0x113)],{'type':_0x2de74c[_0x4f0567(0x1af)],'description':_0x2de74c[_0x4f0567(0xc9)]})['option'](_0x4f0567(0x116),{'type':'string','description':_0x2de74c['RCPbC']})[_0x4f0567(0xdd)](_0x2de74c[_0x4f0567(0x19c)],{'type':_0x4f0567(0xf1),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x1927e0=>{const _0x2db0f9=_0x3ec279;await withTelemetry(_0x2db0f9(0x15d),_0x311b97=>setupCi(_0x1927e0['token'],{'profile':_0x1927e0['profile'],'baseUrl':_0x1927e0[_0x2db0f9(0x116)],'skipChromium':_0x1927e0['skip-chromium']},_0x311b97));})[_0x3ec279(0x1dd)]('login',_0x3ec279(0x14b),()=>{},async()=>{const _0x58f84f={'kysZe':'login'};await withTelemetry(_0x58f84f['kysZe'],()=>login());})[_0x3ec279(0x1dd)]('skillup','Install\x20Ranger\x20skills',_0x339b65=>{const _0x5859cc=_0x3ec279,_0x76513c={'EhSvW':'opencode','lWiwj':_0x5859cc(0xf1),'DpaMy':'string','JedWC':'project','ackqq':_0x5859cc(0x16d)};return _0x339b65[_0x5859cc(0xdd)](_0x76513c[_0x5859cc(0x152)],{'type':_0x76513c['lWiwj'],'description':_0x5859cc(0x12e),'default':![]})['option'](_0x5859cc(0x117),{'type':_0x76513c['DpaMy'],'choices':[_0x5859cc(0x163),_0x76513c['JedWC']],'description':_0x76513c['ackqq']});},async _0x40e854=>{const _0x2357d6=_0x3ec279,_0x4a7821=Boolean(_0x40e854[_0x2357d6(0x156)]);await withTelemetry(_0x2357d6(0x193),()=>skillup({'autoInstall':_0x40e854['scope'],'platform':_0x4a7821?'opencode':_0x2357d6(0x145)}));})[_0x3ec279(0x1dd)]('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x2eeae4=_0x3ec279,_0x201996={'aJiZI':function(_0x141725,_0x509a58,_0xd8a131){return _0x141725(_0x509a58,_0xd8a131);},'CVpaN':_0x2eeae4(0xed)};await _0x201996[_0x2eeae4(0x1e5)](withTelemetry,_0x201996[_0x2eeae4(0x1ff)],()=>clean());})['command'](_0x3ec279(0x1fa),'Manage\x20profiles',_0x5b3c7d=>{const _0x44c120=_0x3ec279,_0x4a10fa={'Dtmbq':_0x44c120(0x17b),'OMkHX':_0x44c120(0xf1),'koByn':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','IzWTL':_0x44c120(0x1ea),'FsxZl':'url','mPFgn':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','gEElJ':'string','CdiWg':_0x44c120(0x1c9),'xhbVa':'allow-insecure-localhost','cPbfy':'safe-mode','xNnjY':function(_0x5ce2a9,_0x3768ed,_0x38e8c8,_0x5932d4){return _0x5ce2a9(_0x3768ed,_0x38e8c8,_0x5932d4);},'wRoon':_0x44c120(0x1d0),'UuPrT':_0x44c120(0x168),'bfgvu':'Name\x20of\x20the\x20profile','VwGIk':'profile\x20use','VHppp':function(_0x1ac291,_0x5c7067,_0x4719d1){return _0x1ac291(_0x5c7067,_0x4719d1);},'vrbnO':_0x44c120(0x106),'RqSgi':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','xTskJ':_0x44c120(0xfb),'gyThZ':_0x44c120(0x1fa),'gryAF':'Config\x20key','Bhyiv':_0x44c120(0x17f),'iaSlG':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','MxhwQ':'Config\x20value','jAsxP':'set\x20<profile>\x20<key>\x20<value>','MMyQO':'get\x20<profile>\x20<key>','rpuFA':_0x44c120(0x1ca),'jSOze':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','JmHzP':'Add\x20profile\x20configuration','tCRfL':_0x44c120(0x1cc),'rxaRS':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','XGkVg':'Update\x20authentication\x20for\x20an\x20existing\x20profile','FnvRn':'config','BNmxN':_0x44c120(0x1a9),'WHvhK':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x5b3c7d['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x4a10fa[_0x44c120(0x204)],_0x4d5b45=>{const _0x4394b9=_0x44c120;return _0x4d5b45['positional'](_0x4394b9(0x168),{'type':'string','description':_0x4a10fa['Dtmbq'],'demandOption':!![]})[_0x4394b9(0xdd)]('ci',{'type':_0x4a10fa['OMkHX'],'description':_0x4a10fa[_0x4394b9(0x19f)],'default':![]})[_0x4394b9(0xdd)](_0x4394b9(0xf9),{'type':_0x4394b9(0xf1),'description':_0x4a10fa[_0x4394b9(0x112)],'default':![]})[_0x4394b9(0xdd)](_0x4a10fa[_0x4394b9(0x176)],{'type':'string','description':_0x4a10fa[_0x4394b9(0x199)]})['option']('force',{'type':_0x4394b9(0xf1),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4394b9(0x206),{'type':_0x4a10fa['gEElJ'],'description':_0x4a10fa['CdiWg']})[_0x4394b9(0xdd)](_0x4a10fa['xhbVa'],{'type':_0x4a10fa[_0x4394b9(0x165)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x4a10fa['cPbfy'],{'type':_0x4a10fa[_0x4394b9(0x165)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]});},async _0x10a94a=>{const _0x1104d1=_0x44c120;await _0x4a10fa[_0x1104d1(0xce)](withTelemetry,_0x4a10fa[_0x1104d1(0x1f6)],_0x2d6db0=>addEnv(_0x10a94a['profile-name'],{'ci':_0x10a94a['ci'],'skipAuth':_0x10a94a['skip-auth'],'url':_0x10a94a['url'],'force':_0x10a94a['force'],'cdpEndpoint':_0x10a94a['cdp-endpoint'],'allowInsecureLocalhost':_0x10a94a['allow-insecure-localhost'],'safeMode':_0x10a94a['safe-mode']},_0x2d6db0),{'isElectron':Boolean(_0x10a94a[_0x1104d1(0x206)])});})[_0x44c120(0x1dd)]('use\x20<profile-name>',_0x4a10fa[_0x44c120(0x119)],_0x5c30ad=>{const _0x474990=_0x44c120;return _0x5c30ad['positional'](_0x4a10fa[_0x474990(0xef)],{'type':'string','description':_0x4a10fa['bfgvu'],'demandOption':!![]});},async _0x62dce8=>{const _0x32394a=_0x44c120;await withTelemetry(_0x4a10fa['VwGIk'],()=>useEnv(_0x62dce8[_0x32394a(0x168)]));})['command']('encrypt-auth\x20<profile>',_0x4a10fa[_0x44c120(0x130)],_0x4b8ae4=>{const _0x5a25a4=_0x44c120;return _0x4b8ae4[_0x5a25a4(0x13f)](_0x5a25a4(0x1fa),{'type':_0x5a25a4(0x203),'description':'Profile\x20name','demandOption':!![]});},async _0x317005=>{const _0x481b2e=_0x44c120;await _0x4a10fa['VHppp'](withTelemetry,_0x4a10fa[_0x481b2e(0x1a0)],()=>authEncrypt(_0x317005['profile']));})[_0x44c120(0x1dd)]('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x44c120(0x1dd)]('update\x20<profile-name>',_0x4a10fa[_0x44c120(0x1cd)],_0x3d9359=>{const _0x3085d0=_0x44c120;return _0x3d9359['positional'](_0x4a10fa['UuPrT'],{'type':_0x3085d0(0x203),'description':_0x3085d0(0x14f),'demandOption':!![]})['option'](_0x3085d0(0x172),{'type':_0x4a10fa[_0x3085d0(0x165)],'description':_0x4a10fa['RqSgi']});},async _0x5dbcf5=>{const _0x22021e=_0x44c120;await _0x4a10fa[_0x22021e(0x12c)](withTelemetry,_0x4a10fa[_0x22021e(0x16a)],_0x31e9df=>updateEnv(_0x5dbcf5['profile-name'],_0x31e9df,{'allowInsecureLocalhost':_0x5dbcf5['allow-insecure-localhost']}));})['command'](_0x4a10fa[_0x44c120(0xb8)],_0x4a10fa['BNmxN'],_0x5b2495=>{const _0x4a07fa=_0x44c120,_0x19445a={'EOQNd':_0x4a10fa['iaSlG'],'cmnZC':_0x4a07fa(0x203),'lbiWx':_0x4a10fa['MxhwQ'],'wuYfJ':_0x4a07fa(0x1de),'rVdfU':function(_0x24568b,_0x5ec840,_0xe38338){return _0x24568b(_0x5ec840,_0xe38338);},'PBSmK':'Profile\x20name','lmaOP':_0x4a07fa(0xf7)};return _0x5b2495['usage'](PROFILE_CONFIG_HELP)[_0x4a07fa(0x1dd)](_0x4a10fa[_0x4a07fa(0x137)],_0x4a07fa(0xbd),_0xc5478d=>{const _0x564009=_0x4a07fa;return _0xc5478d['positional']('profile',{'type':_0x564009(0x203),'description':_0x564009(0xe4),'demandOption':!![]})[_0x564009(0x13f)](_0x564009(0x188),{'type':_0x564009(0x203),'description':_0x19445a['EOQNd'],'demandOption':!![]})[_0x564009(0x13f)]('value',{'type':_0x19445a[_0x564009(0xf5)],'description':_0x19445a['lbiWx'],'demandOption':!![]});},async _0x4c03e6=>{await withTelemetry(_0x19445a['wuYfJ'],()=>configSet(_0x4c03e6['profile'],_0x4c03e6['key'],_0x4c03e6['value']));})[_0x4a07fa(0x1dd)](_0x4a10fa[_0x4a07fa(0xbf)],'Get\x20a\x20config\x20value',_0x5de627=>{const _0x5eed2c=_0x4a07fa;return _0x5de627['positional'](_0x4a10fa['gyThZ'],{'type':_0x5eed2c(0x203),'description':'Profile\x20name','demandOption':!![]})[_0x5eed2c(0x13f)](_0x5eed2c(0x188),{'type':_0x4a10fa['gEElJ'],'description':_0x4a10fa[_0x5eed2c(0x13a)],'demandOption':!![]});},async _0x4574e1=>{const _0x539460=_0x4a07fa;await withTelemetry(_0x4a10fa[_0x539460(0xd6)],()=>configGet(_0x4574e1['profile'],_0x4574e1['key']));})['command']('list\x20<profile>',_0x4a10fa[_0x4a07fa(0x15e)],_0x42be4a=>{const _0x54036c=_0x4a07fa;return _0x42be4a['positional'](_0x4a10fa['gyThZ'],{'type':_0x54036c(0x203),'description':'Profile\x20name','demandOption':!![]});},async _0x9683ac=>{const _0x5007bf=_0x4a07fa;await _0x19445a[_0x5007bf(0x1e8)](withTelemetry,_0x5007bf(0x1fb),()=>configList(_0x9683ac[_0x5007bf(0x1fa)]));})['command'](_0x4a07fa(0x20c),'Remove\x20a\x20config\x20value',_0x104485=>{const _0x2d5c33=_0x4a07fa;return _0x104485['positional'](_0x2d5c33(0x1fa),{'type':_0x2d5c33(0x203),'description':_0x19445a[_0x2d5c33(0x1c7)],'demandOption':!![]})['positional'](_0x2d5c33(0x188),{'type':_0x2d5c33(0x203),'description':_0x19445a['lmaOP'],'demandOption':!![]});},async _0x1068e5=>{const _0x2cf68d=_0x4a07fa;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x1068e5[_0x2cf68d(0x1fa)],_0x1068e5[_0x2cf68d(0x188)]));})[_0x4a07fa(0x10a)](0x1,_0x4a10fa[_0x4a07fa(0xdc)]);})['demandCommand'](0x1,_0x4a10fa['WHvhK']);})[_0x3ec279(0x1dd)](_0x3ec279(0xb7),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x5c7397=_0x3ec279,_0x1d57b7={'XLand':function(_0x1b9882,_0x78d214,_0x192d42){return _0x1b9882(_0x78d214,_0x192d42);},'fsyay':_0x5c7397(0xb7)};await _0x1d57b7['XLand'](withTelemetry,_0x1d57b7[_0x5c7397(0x16c)],()=>status());})[_0x3ec279(0x1dd)](_0x3ec279(0x1a4),_0x3ec279(0x1a2),()=>{},async()=>{const _0x59e298={'eRcTZ':function(_0x23e5e4,_0x4a8499,_0x3a906d){return _0x23e5e4(_0x4a8499,_0x3a906d);}};await _0x59e298['eRcTZ'](withTelemetry,'update',()=>update());})['command']('go',_0x3ec279(0x196),_0x3b0a18=>{const _0x56f9fc=_0x3ec279,_0x37702e={'QNNlh':_0x56f9fc(0x203),'CUZCg':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','mcFGj':'scenario','tJUKm':_0x56f9fc(0x215),'XURLj':_0x56f9fc(0x1ce),'Wmjau':_0x56f9fc(0x154),'ikWia':'partial','oZSkP':'incomplete','DpxXe':_0x56f9fc(0x1c1),'BcIyV':_0x56f9fc(0x110)};return _0x3b0a18[_0x56f9fc(0xdd)]('feature',{'type':'string','description':_0x56f9fc(0xf0)})['option'](_0x56f9fc(0x1fa),{'type':_0x56f9fc(0x203),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x56f9fc(0xdd)](_0x56f9fc(0x20f),{'type':_0x37702e['QNNlh'],'description':_0x37702e['CUZCg']})['option'](_0x37702e['mcFGj'],{'type':_0x37702e['tJUKm'],'description':_0x56f9fc(0x1d2)})['option']('start-path',{'type':_0x37702e[_0x56f9fc(0xf3)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})['option'](_0x37702e['XURLj'],{'type':_0x56f9fc(0x203),'description':_0x56f9fc(0xc2)})['option']('headed',{'type':'boolean','description':_0x56f9fc(0xde),'default':![]})[_0x56f9fc(0xdd)]('debug-outcome',{'type':_0x37702e['QNNlh'],'hidden':!![],'choices':[_0x37702e['Wmjau'],_0x37702e['ikWia'],'blocked','failed',_0x37702e['oZSkP']]})[_0x56f9fc(0xdd)](_0x56f9fc(0xf4),{'type':'boolean','hidden':!![]})['option'](_0x37702e['DpxXe'],{'type':_0x37702e['QNNlh'],'hidden':!![]})['option'](_0x37702e['BcIyV'],{'type':'string','hidden':!![]})['option'](_0x56f9fc(0x107),{'type':_0x56f9fc(0x215),'hidden':!![]});},async _0x3a959e=>{await runGoCommand(_0x3a959e);})[_0x3ec279(0x1dd)]('auth',![],_0x5c5bf9=>{const _0x2c1afe=_0x3ec279,_0x39ec24={'eYnVz':_0x2c1afe(0x1fa),'aVllp':'string','ivEdk':'Profile\x20name','lhMho':function(_0x1e40c1,_0x548ab2,_0x5278b4){return _0x1e40c1(_0x548ab2,_0x5278b4);},'XYJXp':_0x2c1afe(0x133),'LXLXy':function(_0x45d889,_0x485cc6){return _0x45d889(_0x485cc6);},'ZXGsM':_0x2c1afe(0x178)};return _0x5c5bf9['command'](_0x39ec24[_0x2c1afe(0xcc)],![],_0x10d08d=>{return _0x10d08d['positional'](_0x39ec24['eYnVz'],{'type':_0x39ec24['aVllp'],'description':_0x39ec24['ivEdk'],'demandOption':!![]});},async _0x14a09f=>{const _0x40afac=_0x2c1afe;_0x39ec24[_0x40afac(0x164)](warnRenamed,_0x39ec24[_0x40afac(0x122)],'ranger\x20profile\x20encrypt-auth'),await _0x39ec24['LXLXy'](authEncrypt,_0x14a09f['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x3ec279(0x1dd)]('start\x20[token]',![],_0x2029a7=>{const _0x35dd7a=_0x3ec279,_0x36a236={'EqSCx':_0x35dd7a(0x203),'hnCxi':_0x35dd7a(0x134),'ASHzI':'skip-chromium','ygsSy':_0x35dd7a(0xf1),'vragz':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hPuWc':'user','TDLKX':'project','NFHCu':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','FjwbD':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','BbpUA':_0x35dd7a(0x1c0)};return _0x2029a7['positional'](_0x35dd7a(0x187),{'type':_0x36a236[_0x35dd7a(0x10d)],'description':_0x36a236['hnCxi']})[_0x35dd7a(0xdd)](_0x36a236[_0x35dd7a(0x18c)],{'type':_0x36a236['ygsSy'],'description':_0x36a236[_0x35dd7a(0x175)],'default':![]})['option']('scope',{'type':_0x36a236[_0x35dd7a(0x10d)],'choices':[_0x36a236[_0x35dd7a(0xe6)],_0x36a236['TDLKX']],'description':_0x36a236[_0x35dd7a(0x17d)]})['option'](_0x35dd7a(0xe8),{'type':'string','description':_0x36a236[_0x35dd7a(0xe2)]})['option'](_0x36a236[_0x35dd7a(0x1ee)],{'type':_0x36a236['ygsSy'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]});},async _0x1345f7=>{const _0x2c0b63=_0x3ec279,_0x3b8983={'vzasn':_0x2c0b63(0x1a8),'ifxVO':_0x2c0b63(0x1da)};warnRenamed(_0x3b8983['vzasn'],_0x3b8983['ifxVO']),await withTelemetry(_0x2c0b63(0x12d),_0x2fca98=>start(_0x1345f7[_0x2c0b63(0x187)],{'skipChromium':_0x1345f7['skip-chromium'],'scope':_0x1345f7[_0x2c0b63(0x117)],'url':_0x1345f7[_0x2c0b63(0xe8)],'force':_0x1345f7['force']},_0x2fca98));})[_0x3ec279(0x1dd)]('verify-feature',![],_0x28ba11=>{const _0x1a54e5=_0x3ec279,_0x358260={'uYEzD':_0x1a54e5(0x1c1),'sdYYh':'string','bdlMJ':_0x1a54e5(0xd2),'DhPPT':'task','BVTxk':_0x1a54e5(0x107),'JNDAx':_0x1a54e5(0x1d2),'cPGbL':_0x1a54e5(0x1fa),'MUMkH':'notes','sNLKw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','mYGcy':_0x1a54e5(0xc1),'GTXQM':'boolean','vINqi':'debug-outcome','ePhKL':_0x1a54e5(0x154),'YfyHU':'partial','YkfKe':_0x1a54e5(0x158),'eyWSk':_0x1a54e5(0x1d4)};return _0x28ba11[_0x1a54e5(0xdd)](_0x358260['uYEzD'],{'type':_0x358260['sdYYh'],'description':_0x358260['bdlMJ']})['option'](_0x358260['DhPPT'],{'type':_0x358260['sdYYh'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x1a54e5(0xdd)](_0x358260[_0x1a54e5(0x11c)],{'type':_0x1a54e5(0x215),'description':_0x358260[_0x1a54e5(0xff)]})[_0x1a54e5(0xdd)](_0x358260['cPGbL'],{'type':_0x1a54e5(0x203),'hidden':!![]})['option'](_0x358260['MUMkH'],{'type':_0x358260[_0x1a54e5(0x1d9)],'hidden':!![]})['option'](_0x1a54e5(0x16b),{'type':_0x1a54e5(0x215),'hidden':!![]})['option'](_0x1a54e5(0x207),{'type':_0x358260[_0x1a54e5(0x1d9)],'description':_0x358260[_0x1a54e5(0x169)]})[_0x1a54e5(0xdd)](_0x1a54e5(0x1ce),{'type':'string','hidden':!![]})[_0x1a54e5(0xdd)](_0x358260['mYGcy'],{'type':_0x358260['GTXQM'],'hidden':!![],'default':![]})[_0x1a54e5(0xdd)](_0x358260['vINqi'],{'type':_0x358260[_0x1a54e5(0x1d9)],'hidden':!![],'choices':[_0x358260[_0x1a54e5(0x1b0)],_0x358260['YfyHU'],_0x1a54e5(0x1a5),_0x358260[_0x1a54e5(0x127)],_0x358260['eyWSk']]});},async _0x104858=>{const _0x28cab5=_0x3ec279,_0x766cae={'hTGUH':function(_0xdd2191,_0x333e6c,_0x4e5f30){return _0xdd2191(_0x333e6c,_0x4e5f30);}};await _0x766cae[_0x28cab5(0x180)](runGoCommand,_0x104858,!![]);})[_0x3ec279(0x1dd)](_0x3ec279(0x11f),![],_0x2f6d1b=>{const _0x31c217=_0x3ec279,_0x4a2eb3={'iSoDp':_0x31c217(0x201),'KKSbd':_0x31c217(0x203),'vmQwL':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','rzOTn':'boolean','upJMH':_0x31c217(0x1e6),'YkRfs':_0x31c217(0xf9)};return _0x2f6d1b['positional'](_0x4a2eb3[_0x31c217(0x214)],{'type':_0x4a2eb3[_0x31c217(0x15a)],'description':_0x4a2eb3['vmQwL'],'demandOption':!![]})['option']('ci',{'type':_0x4a2eb3[_0x31c217(0xdb)],'description':_0x4a2eb3[_0x31c217(0x167)],'default':![]})[_0x31c217(0xdd)](_0x4a2eb3[_0x31c217(0x177)],{'type':_0x4a2eb3[_0x31c217(0xdb)],'description':_0x31c217(0x1ea),'default':![]});},async _0x54ad98=>{const _0x56f1d0=_0x3ec279,_0x5a4b65={'thRYh':'add\x20env'};warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x5a4b65[_0x56f1d0(0x120)],_0x36a539=>addEnv(_0x54ad98['env-name'],{'ci':_0x54ad98['ci'],'skipAuth':_0x54ad98[_0x56f1d0(0xf9)]},_0x36a539));})['command'](_0x3ec279(0x1ab),![],_0x54291c=>{const _0x1a948f=_0x3ec279,_0x1d2540={'acGIo':'string'};return _0x54291c[_0x1a948f(0x13f)](_0x1a948f(0x201),{'type':_0x1d2540['acGIo'],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x2ecc4e=>{const _0x48345a=_0x3ec279,_0x3eefc9={'wKnqC':function(_0x54a2ff,_0x22960d,_0x18f59f){return _0x54a2ff(_0x22960d,_0x18f59f);}};_0x3eefc9['wKnqC'](warnRenamed,_0x48345a(0x19b),'ranger\x20profile\x20use'),await _0x3eefc9['wKnqC'](withTelemetry,_0x48345a(0xcd),()=>useEnv(_0x2ecc4e['env-name']));})[_0x3ec279(0x1dd)](_0x3ec279(0x17c),![],_0xf41e18=>{const _0x23e5f4=_0x3ec279,_0x21517f={'FSVzG':_0x23e5f4(0x203),'YcMXW':'Environment\x20name','bUTtO':_0x23e5f4(0x188),'aKWQY':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','SxyLZ':'value','ZCasj':'Config\x20value','TDGhr':_0x23e5f4(0x1fc),'KafkS':_0x23e5f4(0x1a7),'HqCEJ':_0x23e5f4(0x1c1),'qogCY':_0x23e5f4(0x13d),'tNGAQ':function(_0x126bca,_0xe9319c,_0x24706c){return _0x126bca(_0xe9319c,_0x24706c);},'vqasS':'ranger\x20config\x20get','UTjrg':_0x23e5f4(0x1fe),'fIUCE':function(_0x43b4c6,_0x4155d9,_0x2f7999){return _0x43b4c6(_0x4155d9,_0x2f7999);},'VqOxu':'ranger\x20config\x20list','AHjZS':_0x23e5f4(0x121),'PvyWy':function(_0x4ef2ae,_0x1f43cb,_0xf0e22){return _0x4ef2ae(_0x1f43cb,_0xf0e22);},'uWwVV':'Config\x20key\x20to\x20remove','Rwnjd':function(_0x4d3eb4,_0x4dc8da,_0x48832b){return _0x4d3eb4(_0x4dc8da,_0x48832b);},'AOPPs':_0x23e5f4(0x1c3),'Kngyn':_0x23e5f4(0x1b2),'EfVxY':_0x23e5f4(0x190),'WDtMl':_0x23e5f4(0x173),'BKECn':_0x23e5f4(0xe1)};return _0xf41e18['command']('set\x20<env>\x20<key>\x20<value>',![],_0xf4db10=>{const _0x645eb6=_0x23e5f4;return _0xf4db10['positional']('env',{'type':_0x21517f[_0x645eb6(0x166)],'description':_0x21517f[_0x645eb6(0x18a)],'demandOption':!![]})['positional'](_0x21517f[_0x645eb6(0x209)],{'type':'string','description':_0x21517f['aKWQY'],'demandOption':!![]})['positional'](_0x21517f[_0x645eb6(0x19d)],{'type':_0x21517f['FSVzG'],'description':_0x21517f[_0x645eb6(0xc3)],'demandOption':!![]});},async _0x2638bc=>{const _0x4c7d01=_0x23e5f4;warnRenamed('ranger\x20config\x20set',_0x21517f['TDGhr']),await withTelemetry(_0x21517f[_0x4c7d01(0x147)],()=>configSet(_0x2638bc[_0x4c7d01(0x1c1)],_0x2638bc['key'],_0x2638bc[_0x4c7d01(0x1c5)]));})['command'](_0x21517f[_0x23e5f4(0xe7)],![],_0x175f48=>{const _0xe69db8=_0x23e5f4;return _0x175f48[_0xe69db8(0x13f)](_0x21517f[_0xe69db8(0xf2)],{'type':'string','description':_0xe69db8(0x1b8),'demandOption':!![]})[_0xe69db8(0x13f)](_0x21517f['bUTtO'],{'type':_0xe69db8(0x203),'description':_0x21517f[_0xe69db8(0x151)],'demandOption':!![]});},async _0x47f784=>{const _0x5f0474=_0x23e5f4;_0x21517f['tNGAQ'](warnRenamed,_0x21517f['vqasS'],'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x21517f[_0x5f0474(0xba)],()=>configGet(_0x47f784[_0x5f0474(0x1c1)],_0x47f784[_0x5f0474(0x188)]));})['command'](_0x21517f['EfVxY'],![],_0x41ca7c=>{const _0x4ac95c=_0x23e5f4;return _0x41ca7c['positional'](_0x21517f[_0x4ac95c(0xf2)],{'type':_0x21517f[_0x4ac95c(0x166)],'description':_0x4ac95c(0x1b8),'demandOption':!![]});},async _0x9825f6=>{const _0x44c9b8=_0x23e5f4;_0x21517f[_0x44c9b8(0x126)](warnRenamed,_0x21517f[_0x44c9b8(0xc0)],_0x21517f[_0x44c9b8(0x1bd)]),await _0x21517f[_0x44c9b8(0x1ef)](withTelemetry,'config\x20list',()=>configList(_0x9825f6[_0x44c9b8(0x1c1)]));})['command'](_0x21517f[_0x23e5f4(0x1a6)],![],_0x1607a7=>{const _0x42e19d=_0x23e5f4;return _0x1607a7['positional'](_0x21517f[_0x42e19d(0xf2)],{'type':_0x42e19d(0x203),'description':'Environment\x20name','demandOption':!![]})[_0x42e19d(0x13f)]('key',{'type':'string','description':_0x21517f['uWwVV'],'demandOption':!![]});},async _0x1f6d48=>{const _0x1a65ea=_0x23e5f4;_0x21517f[_0x1a65ea(0x1f2)](warnRenamed,_0x21517f[_0x1a65ea(0x202)],'ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x1f6d48['env'],_0x1f6d48['key']));})[_0x23e5f4(0x10a)](0x1,_0x21517f['BKECn']);})['command'](_0x3ec279(0x1c1),![],_0x1d5222=>{const _0xe78815=_0x3ec279,_0x144677={'BtYuO':'ranger\x20env\x20ls','qMEwJ':function(_0x3d31ab,_0x5a990e,_0x5d164a){return _0x3d31ab(_0x5a990e,_0x5d164a);},'nPOyc':'ranger\x20env\x20update','eZpMM':'env\x20update'};return _0x1d5222['command']('ls',![],()=>{},async()=>{const _0x578468=_0x9509;warnRenamed(_0x144677['BtYuO'],'ranger\x20profile\x20ls'),await withTelemetry(_0x578468(0x195),()=>envList());})[_0xe78815(0x1dd)](_0xe78815(0x124),![],_0x4e7f98=>{const _0x50a532=_0xe78815;return _0x4e7f98['positional']('env-name',{'type':_0x50a532(0x203),'description':_0x50a532(0x192),'demandOption':!![]});},async _0x19613d=>{const _0x362a2d=_0xe78815;_0x144677['qMEwJ'](warnRenamed,_0x144677[_0x362a2d(0x142)],_0x362a2d(0x1c8)),await withTelemetry(_0x144677[_0x362a2d(0x125)],_0x32102c=>updateEnv(_0x19613d['env-name'],_0x32102c));})['demandCommand'](0x1,_0xe78815(0x1c2));})[_0x3ec279(0x1dd)](_0x3ec279(0xca),![],_0x5ec283=>{const _0x172262=_0x3ec279,_0x1cd550={'fblun':_0x172262(0x203),'gMtah':'description','iMVbJ':'array','tuRio':function(_0x210451,_0x305fd6,_0x371487){return _0x210451(_0x305fd6,_0x371487);},'aPdNO':'ranger\x20create','cZLuC':'--checklist','xZoEn':'--scenario','dLKar':function(_0x1791fb,_0x237407,_0x2e258f){return _0x1791fb(_0x237407,_0x2e258f);},'zrnSg':'boolean','dBIHh':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','BiqXG':'offset','tAzRu':_0x172262(0x11d),'DDPXC':'include-deleted','ELSGz':function(_0x526347,_0x18d231,_0x430949){return _0x526347(_0x18d231,_0x430949);},'dOKLZ':'ranger\x20feature\x20list','IeOfy':'Feature\x20review\x20ID','ARewY':_0x172262(0x1bb),'FJkro':function(_0x23f2c2,_0x257d45,_0xf0085b){return _0x23f2c2(_0x257d45,_0xf0085b);},'URrrW':'feature\x20resume','iqxxv':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BuhGA':_0x172262(0xee),'YKAQr':'feature\x20add-checklist-item','oqRzy':function(_0x1a74c5,_0x26cc48,_0x527a59){return _0x1a74c5(_0x26cc48,_0x527a59);},'Mzlba':_0x172262(0x181),'ibsji':function(_0x14ebe8,_0x5b0794,_0x310798){return _0x14ebe8(_0x5b0794,_0x310798);},'uEKxc':'ranger\x20feature\x20delete','iWMmY':_0x172262(0xd0),'biohO':'feature\x20restore','gmniw':'create\x20<name>','jngcP':_0x172262(0x1d8),'hObkg':_0x172262(0xfc),'IVpuE':'add-checklist-item\x20<description>','mUlwH':_0x172262(0x1bf),'OekOE':'restore\x20<id>','rmnMs':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x5ec283[_0x172262(0x1dd)](_0x1cd550['gmniw'],![],_0x5ee266=>{const _0x199b49=_0x172262;return _0x5ee266[_0x199b49(0x13f)]('name',{'type':_0x1cd550['fblun'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x199b49(0xdd)](_0x1cd550[_0x199b49(0x16f)],{'type':_0x199b49(0x203),'alias':'d','description':_0x199b49(0x197)})[_0x199b49(0xdd)]('checklist',{'type':_0x1cd550[_0x199b49(0x143)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x199b49(0xdd)]('scenario',{'type':'array','hidden':!![]});},async _0x381aaf=>{const _0x2641aa=_0x172262;_0x1cd550['tuRio'](warnRenamed,'ranger\x20feature\x20create',_0x1cd550[_0x2641aa(0x1ed)]),warnFlagRenamed(_0x2641aa(0x10b),_0x1cd550[_0x2641aa(0x103)],_0x1cd550['xZoEn']);const _0x4b45a7=_0x381aaf['scenario']||_0x381aaf[_0x2641aa(0xe0)];await _0x1cd550['dLKar'](withTelemetry,_0x2641aa(0x155),()=>featureCreate(_0x381aaf[_0x2641aa(0x194)],{'description':_0x381aaf['description'],'scenarios':_0x4b45a7}));})[_0x172262(0x1dd)](_0x1cd550[_0x172262(0x1f5)],![],_0x4a2704=>{const _0x26fc76=_0x172262;return _0x4a2704['option']('current-branch',{'type':_0x1cd550['zrnSg'],'description':_0x26fc76(0xc4)})[_0x26fc76(0xdd)]('limit',{'type':_0x26fc76(0x215),'alias':'l','description':_0x1cd550['dBIHh'],'default':0xa})[_0x26fc76(0xdd)](_0x1cd550['BiqXG'],{'type':_0x26fc76(0x215),'alias':'o','description':_0x1cd550[_0x26fc76(0x132)],'default':0x0})['option'](_0x1cd550[_0x26fc76(0x123)],{'type':_0x1cd550['zrnSg'],'alias':'d','description':_0x26fc76(0x11e),'default':![]});},async _0x47b108=>{const _0x1282b3=_0x172262;_0x1cd550['ELSGz'](warnRenamed,_0x1cd550['dOKLZ'],'ranger\x20list'),await _0x1cd550[_0x1282b3(0x14d)](withTelemetry,_0x1282b3(0x1ec),()=>featureList({'currentBranch':_0x47b108[_0x1282b3(0x1e9)],'limit':_0x47b108[_0x1282b3(0x14a)],'offset':_0x47b108[_0x1282b3(0x11a)],'includeDeleted':_0x47b108[_0x1282b3(0x212)]}));})[_0x172262(0x1dd)](_0x1cd550[_0x172262(0x1b7)],![],_0x1320e7=>{const _0x10f831=_0x172262;return _0x1320e7['positional']('id',{'type':'string','description':_0x1cd550[_0x10f831(0xc5)]});},async _0x25f222=>{const _0x349800=_0x172262;warnRenamed(_0x349800(0x161),'ranger\x20show'),await withTelemetry(_0x349800(0x213),()=>featureShow(_0x25f222['id']));})[_0x172262(0x1dd)]('resume\x20[id]',![],_0xcdae97=>{const _0x52e281=_0x172262;return _0xcdae97[_0x52e281(0x13f)]('id',{'type':_0x1cd550[_0x52e281(0x184)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2e193b=>{const _0x1ecc3c=_0x172262;warnRenamed(_0x1ecc3c(0x1eb),_0x1cd550[_0x1ecc3c(0xbe)]),await _0x1cd550[_0x1ecc3c(0x1b1)](withTelemetry,_0x1cd550['URrrW'],()=>featureResume(_0x2e193b['id']));})[_0x172262(0x1dd)](_0x1cd550[_0x172262(0x11b)],![],_0x76e8de=>{const _0x1c0dd9=_0x172262;return _0x76e8de['positional'](_0x1cd550['gMtah'],{'type':_0x1cd550[_0x1c0dd9(0x184)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1cd550[_0x1c0dd9(0x184)],'description':_0x1cd550[_0x1c0dd9(0x208)]});},async _0x59c6f6=>{const _0x5accb3=_0x172262;_0x1cd550[_0x5accb3(0x17a)](warnRenamed,_0x5accb3(0xc6),_0x1cd550['BuhGA']),await _0x1cd550['dLKar'](withTelemetry,_0x1cd550['YKAQr'],()=>featureAddScenario(_0x59c6f6['description'],_0x59c6f6['id']));})['command'](_0x172262(0x1ad),![],_0x2a9d9e=>{const _0x532198=_0x172262;return _0x2a9d9e['positional']('id',{'type':_0x532198(0x203),'description':_0x1cd550[_0x532198(0x208)]});},async _0x2271f1=>{const _0x3ac241=_0x172262;_0x1cd550[_0x3ac241(0x1f0)](warnRenamed,_0x3ac241(0x149),_0x1cd550['Mzlba']),await _0x1cd550[_0x3ac241(0x14d)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x2271f1['id']));})['command'](_0x1cd550[_0x172262(0x12f)],![],_0xde801b=>{const _0x3f2412=_0x172262;return _0xde801b['positional']('id',{'type':_0x3f2412(0x203),'description':'Feature\x20review\x20ID'});},async _0x5f408f=>{const _0x3a3f84=_0x172262;_0x1cd550[_0x3a3f84(0x217)](warnRenamed,_0x1cd550[_0x3a3f84(0x1b3)],_0x3a3f84(0xfa)),await _0x1cd550[_0x3a3f84(0x1b1)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x5f408f['id']));})['command'](_0x1cd550['OekOE'],![],_0x1d997d=>{const _0x407e34=_0x172262;return _0x1d997d[_0x407e34(0x13f)]('id',{'type':_0x1cd550[_0x407e34(0x184)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x58d12f=>{const _0x11a8af=_0x172262;warnRenamed(_0x11a8af(0x189),_0x1cd550[_0x11a8af(0x170)]),await withTelemetry(_0x1cd550[_0x11a8af(0x1e7)],()=>featureRestore(_0x58d12f['id']));})['demandCommand'](0x1,_0x1cd550['rmnMs']);})['command'](_0x3ec279(0x1e3),![],_0x3f5732=>{const _0x36d298=_0x3ec279,_0x27d8f7={'Toobs':'session-id','lowoo':_0x36d298(0x1ae),'Ftkpf':function(_0x5573e7,_0x3c1428,_0xa95b19){return _0x5573e7(_0x3c1428,_0xa95b19);},'RPViy':'name','uhbZN':_0x36d298(0x203),'xvXOR':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x3f5732[_0x36d298(0x1dd)]('enable',_0x36d298(0xd1),_0x1306ce=>{const _0x149947=_0x36d298;return _0x1306ce[_0x149947(0xdd)](_0x149947(0x12a),{'type':_0x149947(0x203),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x44478a=>{const _0x8d5c7b=_0x36d298;await withTelemetry(_0x8d5c7b(0x12b),()=>hook('enable',_0x44478a['session-id']));})['command']('disable',_0x36d298(0x18f),_0x1a3a4c=>{const _0x445089=_0x36d298;return _0x1a3a4c['option'](_0x27d8f7[_0x445089(0x16e)],{'type':_0x445089(0x203),'description':_0x27d8f7[_0x445089(0x108)]});},async _0x3032b0=>{const _0x509ba6=_0x36d298;await _0x27d8f7['Ftkpf'](withTelemetry,_0x509ba6(0x191),()=>hook(_0x509ba6(0xd3),_0x3032b0['session-id']));})['option'](_0x27d8f7[_0x36d298(0x139)],{'type':_0x27d8f7['uhbZN'],'description':_0x27d8f7['xvXOR']})[_0x36d298(0xdd)](_0x36d298(0x12a),{'type':_0x27d8f7['uhbZN'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x10f603=>{const _0x48098c=_0x3ec279,_0x28b391={'PtYFy':function(_0x3c1e13,_0x1bc43f,_0x1cac68){return _0x3c1e13(_0x1bc43f,_0x1cac68);},'FUnak':_0x48098c(0x12a)};_0x10f603['name']&&await _0x28b391[_0x48098c(0x1fd)](hook,_0x10f603[_0x48098c(0x194)],_0x10f603[_0x28b391[_0x48098c(0xb9)]]);})[_0x3ec279(0x10a)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x3ec279(0x1f1)]()['fail'](async(_0xd2fcbc,_0x22ad64,_0x34b18a)=>{const _0x1d5e44=_0x3ec279,_0x3b4382={'nUDuM':function(_0x3e9158,_0x3168da){return _0x3e9158(_0x3168da);},'ItAIC':function(_0x132665,_0x21a672,_0x392ca6){return _0x132665(_0x21a672,_0x392ca6);},'ojnOC':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','YYgXx':function(_0x3974dc,_0x568ecd){return _0x3974dc||_0x568ecd;}},_0x13bf31=_0x3b4382[_0x1d5e44(0x1e2)](sanitizeArgs,process['argv']['slice'](0x2)),_0x174359=_0x3b4382['ItAIC'](getErrorType,_0xd2fcbc,_0x22ad64);if(_0xd2fcbc&&_0xd2fcbc[_0x1d5e44(0xe5)](_0x1d5e44(0x1d1))){const _0x47bb37=process[_0x1d5e44(0x10f)][0x2];console[_0x1d5e44(0x15b)]('\x0aUnknown\x20command:\x20'+_0x47bb37),console[_0x1d5e44(0x15b)](_0x3b4382['ojnOC']);}else{if(_0xd2fcbc)console['error']('\x0a'+_0xd2fcbc+'\x0a');else _0x22ad64&&console['error'](_0x1d5e44(0xcf)+_0x22ad64[_0x1d5e44(0x1cb)]+'\x0a');}await _0x3b4382[_0x1d5e44(0x1e2)](logDesirePath,{'rawCommand':_0x13bf31,'errorMessage':_0xd2fcbc||_0x22ad64?.[_0x1d5e44(0x1cb)],'errorType':_0x174359});const _0x42f732=getCurrentCollector();_0x42f732&&await _0x42f732[_0x1d5e44(0x1aa)](_0x22ad64||new Error(_0x3b4382['YYgXx'](_0xd2fcbc,'Unknown\x20error'))),process['exit'](0x1);})['epilogue']('Documentation:\x0a'+_0x3ec279(0x20e)+_0x3ec279(0x13c))[_0x3ec279(0xd9)]()[_0x3ec279(0x1d7)](_0x3ec279(0xd9),'h')['parse']();
|
package/build/commands/addEnv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4302(){const _0x3be283=['uYlBV','60QrFwku','ZBYvp','iWivC','587436TvmQCO','config_write','Saving\x20authentication\x20state...','fbpzK','launch','pGCMW','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','url','GGFgF','MFDuq','Removed\x20existing\x20profile\x20at\x20','http://localhost:3000','goto','Use\x20','input','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','isTTY','10544ScRmnm','prompt','error','url_setup','trackPhaseStart','Enter\x20a\x20different\x20URL','16971670kSNUjG','about:blank','baseUrl','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','use_suggestion','UQqwy','What\x20would\x20you\x20like\x20to\x20do?','HYWNM','jlQou','TRUgH','TypeError','action','includes','RiYwi','ljMsc','fetch\x20failed','force','FuLbB','abort','\x20\x20Did\x20you\x20mean\x20','catch','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','location','4781HZqLGu','Continue\x20anyway','HEAD','path','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','close','โ\x20Encrypted\x20auth\x20saved\x20to:\x20','fMgLw','skipAuth','confirm','storageState','.enc','manual','โ\x20Auth\x20state\x20saved\x20to:\x20','signal','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','EawNs','name','5201244dYyVqs','vAFDr','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','stringify','cdpEndpoint','trim','\x0a๐\x20Profile\x20Setup\x0a','ExEPO','log','NXNDt','shouldReplace','status','continue','ZxxMe','KIZsO','Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','Delete\x20existing\x20and\x20create\x20new\x20in\x20','list','278555hcWadZ','94170WrsQPN','message','12qtOfZt','841959ALSkcD'];_0x4302=function(){return _0x3be283;};return _0x4302();}function _0x5035(_0xf309f6,_0x276b7e){_0xf309f6=_0xf309f6-0x160;const _0x4302d8=_0x4302();let _0x5035b6=_0x4302d8[_0xf309f6];return _0x5035b6;}(function(_0x14f176,_0x219e82){const _0x115dd7=_0x5035,_0x2048f3=_0x14f176();while(!![]){try{const _0x95f38=parseInt(_0x115dd7(0x18c))/0x1+-parseInt(_0x115dd7(0x191))/0x2*(parseInt(_0x115dd7(0x18b))/0x3)+-parseInt(_0x115dd7(0x18e))/0x4*(-parseInt(_0x115dd7(0x188))/0x5)+-parseInt(_0x115dd7(0x189))/0x6+-parseInt(_0x115dd7(0x162))/0x7*(parseInt(_0x115dd7(0x1a2))/0x8)+-parseInt(_0x115dd7(0x175))/0x9+parseInt(_0x115dd7(0x1a8))/0xa;if(_0x95f38===_0x219e82)break;else _0x2048f3['push'](_0x2048f3['shift']());}catch(_0x1b152a){_0x2048f3['push'](_0x2048f3['shift']());}}}(_0x4302,0xac642));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x2b8bc9 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x3ad08d){const _0x1ccaa0=_0x5035,_0x5961e9={'ISdYZ':function(_0xa4b5bb,_0x4201e5,_0x1443a0){return _0xa4b5bb(_0x4201e5,_0x1443a0);},'UQqwy':'Invalid\x20URL','RUmMi':_0x1ccaa0(0x1b7)};try{const _0x4ffce9=new AbortController(),_0x7259e4=setTimeout(()=>_0x4ffce9[_0x1ccaa0(0x1ba)](),0x1388),_0x3ed1d0=await _0x5961e9['ISdYZ'](fetch,_0x3ad08d,{'method':_0x1ccaa0(0x164),'signal':_0x4ffce9[_0x1ccaa0(0x171)],'redirect':_0x1ccaa0(0x16f)});clearTimeout(_0x7259e4);if(_0x3ed1d0['status']<0x190)return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x3ed1d0[_0x1ccaa0(0x180)]};}catch(_0x3e6af3){const _0x116ab7=_0x3e6af3,_0x153acc=_0x116ab7[_0x1ccaa0(0x18a)]||String(_0x3e6af3),_0x3a5b40=_0x153acc[_0x1ccaa0(0x1b4)](_0x5961e9[_0x1ccaa0(0x1ad)])||_0x116ab7[_0x1ccaa0(0x174)]===_0x1ccaa0(0x1b2)||_0x153acc['includes'](_0x5961e9['RUmMi']);return{'ok':![],'error':_0x153acc,'isProtocolError':_0x3a5b40};}}export async function addEnv(_0x33eaf3,_0x13eae7={},_0x3e0627){const _0x2cfa41=_0x5035,_0x3e9762={'eHPLP':'close','jlQou':'local','QFbUv':function(_0x483e7d,_0x2fbdb1,_0x4fd269){return _0x483e7d(_0x2fbdb1,_0x4fd269);},'wBKun':function(_0x581fc8){return _0x581fc8();},'RiYwi':function(_0x1a8bd2,_0x4c32f0){return _0x1a8bd2===_0x4c32f0;},'ZBYvp':_0x2cfa41(0x1ab),'ZYwlg':_0x2cfa41(0x172),'fMgLw':'--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.','ViiSE':function(_0x2052f9,_0x121dbb){return _0x2052f9(_0x121dbb);},'ExEPO':_0x2cfa41(0x16c),'NXNDt':'Aborted.','GGFgF':function(_0x56444b,_0x2a1b0a){return _0x56444b===_0x2a1b0a;},'eVrsU':'legacy','zQDan':'root\x20(.ranger/)','EawNs':_0x2cfa41(0x1a5),'TRUgH':_0x2cfa41(0x160),'xUlLl':function(_0x4adc89,_0xcef231){return _0x4adc89(_0xcef231);},'fbpzK':_0x2cfa41(0x17b),'DEWoj':function(_0x12a1f2,_0x403f39){return _0x12a1f2||_0x403f39;},'kNNYA':_0x2cfa41(0x187),'TNUSC':_0x2cfa41(0x1ae),'jgSkU':_0x2cfa41(0x1ac),'uYlBV':_0x2cfa41(0x1a7),'OKjKf':'retry','bOutI':_0x2cfa41(0x181),'yDdve':function(_0x8d0aec,_0x1d22c4){return _0x8d0aec===_0x1d22c4;},'KIZsO':'auth.json','FuLbB':'browser_auth','WovuR':'\x0a๐\x20Authentication\x20Setup','XNKlr':'\x0a\x20\x20\x20โ \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','HkLsR':function(_0x3a4818,_0x2dd691){return _0x3a4818(_0x2dd691);},'JYmLY':_0x2cfa41(0x1a9),'ZxxMe':function(_0x2f1819,_0x3affcc,_0x282db2){return _0x2f1819(_0x3affcc,_0x282db2);},'iWivC':function(_0x48efda){return _0x48efda();},'MFDuq':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','GsWlh':function(_0x46848d,_0x4d5c65,_0x26f67f){return _0x46848d(_0x4d5c65,_0x26f67f);},'OARXT':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','vAFDr':_0x2cfa41(0x192),'ljMsc':'settings.json','HYWNM':function(_0x3decad,_0x5722b5){return _0x3decad===_0x5722b5;},'ornFG':function(_0xf40de6,_0x31b862,_0x3b2c74){return _0xf40de6(_0x31b862,_0x3b2c74);},'XuLYA':function(_0x2fdb34,_0x4babb3,_0x5ee986){return _0x2fdb34(_0x4babb3,_0x5ee986);},'pGCMW':function(_0x1e626d,_0x1dea4e,_0x1f1c2d){return _0x1e626d(_0x1dea4e,_0x1f1c2d);},'lFWDX':function(_0x4a6290,_0x3f85a4,_0x360ff3){return _0x4a6290(_0x3f85a4,_0x360ff3);}},_0x1db608=_0x13eae7['ci']??![],_0x24a737=_0x1db608?'ci':_0x3e9762[_0x2cfa41(0x1b0)],_0x378513=join(getRangerDir(),_0x24a737,_0x33eaf3),_0xf4b512=_0x3e9762['QFbUv'](join,_0x3e9762['wBKun'](getRangerDir),_0x24a737);if(_0x13eae7['cdpEndpoint']!==undefined&&_0x3e9762[_0x2cfa41(0x1b5)](_0x13eae7['cdpEndpoint'][_0x2cfa41(0x17a)](),''))throw new Error(_0x3e9762[_0x2cfa41(0x18f)]);if(_0x13eae7[_0x2cfa41(0x179)]&&_0x13eae7[_0x2cfa41(0x198)])throw new Error(_0x3e9762['ZYwlg']);if(_0x13eae7[_0x2cfa41(0x179)]&&_0x13eae7['ci'])throw new Error(_0x3e9762[_0x2cfa41(0x16a)]);const _0x5c6fb2=Boolean(_0x13eae7['cdpEndpoint']),_0x1b0de1=!_0x13eae7[_0x2cfa41(0x16b)]&&!_0x5c6fb2,_0x22cd73=process['stdin'][_0x2cfa41(0x1a1)]&&process['stdout']['isTTY'];if(!_0x22cd73&&!_0x13eae7['url']&&!_0x5c6fb2)throw new Error(_0x2cfa41(0x184));const _0x267b8e=_0x3e9762['ViiSE'](findExistingEnv,_0x33eaf3);let _0x1dc155=null;if(_0x267b8e){if(!_0x22cd73)_0x1dc155=_0x267b8e;else{if(_0x267b8e['location']===_0x24a737){const {overwrite:_0x341ab4}=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x3e9762[_0x2cfa41(0x17c)],'name':'overwrite','message':'Profile\x20\x22'+_0x33eaf3+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x341ab4){console['log'](_0x3e9762['NXNDt']);return;}_0x1dc155=_0x267b8e;}else{const _0x2a7e4e=_0x3e9762[_0x2cfa41(0x199)](_0x267b8e[_0x2cfa41(0x161)],_0x3e9762['eVrsU'])?_0x3e9762['zQDan']:_0x267b8e['location'];console['error']('\x0aโ ๏ธ\x20\x20Profile\x20\x22'+_0x33eaf3+'\x22\x20already\x20exists\x20in\x20'+_0x2a7e4e+':\x20'+_0x267b8e['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x24a737+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x540712}=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x3e9762[_0x2cfa41(0x17c)],'name':_0x2cfa41(0x17f),'message':_0x2cfa41(0x186)+_0x24a737+'?','default':![]}]);if(!_0x540712){console[_0x2cfa41(0x17d)](_0x3e9762[_0x2cfa41(0x17e)]);return;}_0x1dc155=_0x267b8e;}}}_0x3e0627?.[_0x2cfa41(0x1a6)](_0x3e9762['EawNs']);let _0x552099='';if(_0x5c6fb2)console[_0x2cfa41(0x17d)]('\x0a๐\x20CDP\x20Profile\x20Setup\x0a'),console[_0x2cfa41(0x17d)](_0x2cfa41(0x197)+_0x13eae7['cdpEndpoint']),console[_0x2cfa41(0x17d)](_0x3e9762[_0x2cfa41(0x1b1)]);else{if(_0x13eae7[_0x2cfa41(0x198)]){_0x552099=_0x13eae7[_0x2cfa41(0x198)];const _0x536a5e=await _0x3e9762['xUlLl'](checkUrlReachability,_0x552099);if(!_0x536a5e['ok']&&!_0x13eae7['force'])throw new Error('Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x536a5e['error']+_0x2cfa41(0x185));!_0x536a5e['ok']&&_0x13eae7[_0x2cfa41(0x1b8)]&&console['log']('โ \x20Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x536a5e[_0x2cfa41(0x1a4)]+'\x20(continuing\x20with\x20--force)');}else{console['log'](_0x3e9762[_0x2cfa41(0x194)]),console['log'](_0x2cfa41(0x166)),console[_0x2cfa41(0x17d)]('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x3764a4=![];while(!![]){const _0x23878e=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x2cfa41(0x19f),'name':_0x2cfa41(0x1aa),'message':_0x3764a4?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x3e9762['DEWoj'](_0x552099,_0x2cfa41(0x19c))}]);_0x552099=_0x23878e['baseUrl'];const _0x33bf63=await _0x3e9762['xUlLl'](checkUrlReachability,_0x552099);if(_0x33bf63['ok'])break;const _0x5a1d3b=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x552099),_0x56d4d8=_0x33bf63['isProtocolError']&&!_0x5a1d3b,_0x6be548=_0x56d4d8?'http://'+_0x552099:null;_0x3764a4=!![],console[_0x2cfa41(0x17d)]('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x33bf63[_0x2cfa41(0x1a4)]);_0x6be548&&console['log'](_0x2cfa41(0x1bb)+_0x6be548+'?');const {action:_0x385abf}=await _0x2b8bc9['prompt']([{'type':_0x3e9762['kNNYA'],'name':_0x2cfa41(0x1b3),'message':_0x3e9762['TNUSC'],'choices':[..._0x6be548?[{'name':_0x2cfa41(0x19e)+_0x6be548,'value':_0x3e9762['jgSkU']}]:[],{'name':_0x3e9762[_0x2cfa41(0x18d)],'value':_0x3e9762['OKjKf']},{'name':_0x2cfa41(0x163),'value':_0x3e9762['bOutI']}]}]);if(_0x385abf===_0x2cfa41(0x1ac)&&_0x6be548){_0x552099=_0x6be548;const _0x5707bd=await checkUrlReachability(_0x552099);if(_0x5707bd['ok'])break;console[_0x2cfa41(0x17d)]('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x5707bd['error']);}else{if(_0x3e9762['yDdve'](_0x385abf,_0x2cfa41(0x181)))break;}}}}_0x3e0627?.['trackPhaseEnd'](_0x3e9762[_0x2cfa41(0x173)]),await mkdir(_0xf4b512,{'recursive':!![]});const _0xf1b48a=await mkdtemp(join(_0xf4b512,'.tmp-'+_0x33eaf3+'-')),_0x143508=_0x3e9762['QFbUv'](join,_0xf1b48a,_0x3e9762[_0x2cfa41(0x183)]);try{if(_0x1b0de1){_0x3e0627?.['trackPhaseStart'](_0x3e9762[_0x2cfa41(0x1b9)]),console['log'](_0x3e9762['WovuR']),console[_0x2cfa41(0x17d)](_0x2cfa41(0x167)),console[_0x2cfa41(0x17d)]('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x22cd73?(console['log'](_0x3e9762['XNKlr']),console['log']('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console[_0x2cfa41(0x17d)]('');await new Promise(_0xf039fb=>setTimeout(_0xf039fb,0xbb8));const _0x5aace5=await chromium[_0x2cfa41(0x195)]({'headless':![]});try{const _0x101781=await _0x5aace5['newContext']();await _0x3e9762['HkLsR'](addProfileSetupBanner,_0x101781);const _0x14fa30=await _0x101781['newPage']();await _0x14fa30[_0x2cfa41(0x19d)](_0x3e9762['DEWoj'](_0x552099,_0x3e9762['JYmLY'])),await new Promise(_0x4890e9=>{const _0x65ad14=_0x2cfa41,_0xd72de9={'ZJeOf':_0x65ad14(0x193)};_0x14fa30['on'](_0x3e9762['eHPLP'],async()=>{const _0x206a61=_0x65ad14;try{console[_0x206a61(0x17d)](_0xd72de9['ZJeOf']),await _0x101781[_0x206a61(0x16d)]({'path':_0x143508});}catch{}_0x4890e9();});});}finally{await _0x5aace5[_0x2cfa41(0x168)]()[_0x2cfa41(0x1bc)](()=>{});}if(_0x1db608){const _0x7ae6c3=await _0x3e9762[_0x2cfa41(0x182)](readFile,_0x143508,'utf-8'),_0x55387a=await _0x3e9762[_0x2cfa41(0x190)](getToken);if(!_0x55387a){console['error'](_0x2cfa41(0x1a0)),await unlink(_0x143508)['catch'](()=>{});throw new Error(_0x3e9762[_0x2cfa41(0x19a)]);}else{const _0x10d458=encrypt(_0x7ae6c3,_0x55387a);await _0x3e9762['GsWlh'](writeFile,_0x143508+_0x2cfa41(0x16e),_0x10d458),await unlink(_0x143508),console['log'](_0x2cfa41(0x169)+_0x143508+_0x2cfa41(0x16e)),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x3e9762['OARXT']);}}else console[_0x2cfa41(0x17d)](_0x2cfa41(0x170)+_0x143508);_0x3e0627?.['trackPhaseEnd']('browser_auth');}_0x3e0627?.['trackPhaseStart'](_0x3e9762[_0x2cfa41(0x176)]);const _0x4d4f5c={};_0x552099&&(_0x4d4f5c['baseUrl']=_0x552099);_0x13eae7[_0x2cfa41(0x179)]&&(_0x4d4f5c['cdpEndpoint']=_0x13eae7['cdpEndpoint'],_0x4d4f5c['isElectron']=!![]);_0x13eae7['allowInsecureLocalhost']&&(_0x4d4f5c['allowInsecureLocalhost']=!![]);await writeFile(join(_0xf1b48a,_0x3e9762[_0x2cfa41(0x1b6)]),JSON[_0x2cfa41(0x178)](_0x4d4f5c,null,0x2)),console['log']('โ\x20Created\x20settings:\x20'+join(_0x378513,_0x3e9762[_0x2cfa41(0x1b6)]));if(_0x3e9762[_0x2cfa41(0x1af)](_0x1dc155?.['location'],_0x24a737)){const _0x4ff324=_0x1dc155[_0x2cfa41(0x165)]+'.backup-'+Date['now']();await _0x3e9762['ornFG'](rename,_0x1dc155[_0x2cfa41(0x165)],_0x4ff324);try{await rename(_0xf1b48a,_0x378513);}catch(_0x1908ec){await rename(_0x4ff324,_0x1dc155['path']);throw _0x1908ec;}try{await rm(_0x4ff324,{'recursive':!![]});}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x4ff324);}}else{await _0x3e9762['XuLYA'](rename,_0xf1b48a,_0x378513);if(_0x1dc155)try{await _0x3e9762[_0x2cfa41(0x196)](rm,_0x1dc155['path'],{'recursive':!![]}),console['log'](_0x2cfa41(0x19b)+_0x1dc155[_0x2cfa41(0x165)]);}catch{console[_0x2cfa41(0x17d)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x1dc155['path']);}}try{await writeActiveProfileName(_0x33eaf3),console[_0x2cfa41(0x17d)]('\x20\x20Set\x20active\x20profile:\x20'+_0x33eaf3);}catch{console[_0x2cfa41(0x17d)](_0x2cfa41(0x177));}_0x3e0627?.['trackPhaseEnd'](_0x3e9762[_0x2cfa41(0x176)]),console['log']('\x0a\x20\x20Profile\x20\x22'+_0x33eaf3+'\x22\x20configured');}catch(_0x26bffa){await _0x3e9762['lFWDX'](rm,_0xf1b48a,{'recursive':!![],'force':!![]});throw _0x26bffa;}}
|
|
1
|
+
(function(_0x1b4421,_0x58c0a9){const _0xaf8c64=_0x30cd,_0x4bc2ea=_0x1b4421();while(!![]){try{const _0x399012=parseInt(_0xaf8c64(0x10c))/0x1+-parseInt(_0xaf8c64(0x109))/0x2*(parseInt(_0xaf8c64(0xea))/0x3)+-parseInt(_0xaf8c64(0x135))/0x4+parseInt(_0xaf8c64(0x13c))/0x5*(parseInt(_0xaf8c64(0x11a))/0x6)+parseInt(_0xaf8c64(0x12c))/0x7*(parseInt(_0xaf8c64(0x137))/0x8)+-parseInt(_0xaf8c64(0x11d))/0x9+parseInt(_0xaf8c64(0x117))/0xa*(parseInt(_0xaf8c64(0x130))/0xb);if(_0x399012===_0x58c0a9)break;else _0x4bc2ea['push'](_0x4bc2ea['shift']());}catch(_0x2df3dd){_0x4bc2ea['push'](_0x4bc2ea['shift']());}}}(_0x2440,0xc33dd));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x375950 from'inquirer';import{chromium}from'playwright';function _0x30cd(_0xf83d46,_0x1fdd7c){_0xf83d46=_0xf83d46-0xd8;const _0x2440fc=_0x2440();let _0x30cdb7=_0x2440fc[_0xf83d46];return _0x30cdb7;}function _0x2440(){const _0x476fe0=['\x0a\x20\x20\x20โ \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','\x22\x20configured','stdin','aQBWp','1409364xIfhah','isProtocolError','3616mrCjVA','path','push','baseUrl','newPage','842995jApHfc','cdpEndpoint','Aborted.','http://localhost:3000','signal','pZYVM','\x0aโ ๏ธ\x20\x20Profile\x20\x22','stringify','\x20(continuing\x20with\x20--force)','utf-8','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','OoZij','skipAuth','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','iTZJP','What\x20would\x20you\x20like\x20to\x20do?','\x20\x20Did\x20you\x20mean\x20','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','HEAD','JqhXr','log','\x20\x20\x20Creating\x20it\x20in\x20','XThMb','HTTP\x20','xvlQr','isTTY','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','Profile\x20\x22','--disable-features=WebBluetooth','--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.','โ \x20Could\x20not\x20reach\x20','fViUi','storageState','qhUyY','fetch\x20failed','location','9978UnWiLr','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','list','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','TDwGN','includes','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','kbmKB','settings.json','oUpFx','safeMode','abort','MIGcg','http://','afkqo','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','Enter\x20a\x20different\x20URL','prompt','Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000','local','length','\x0a๐\x20CDP\x20Profile\x20Setup\x0a','\x0a๐\x20Profile\x20Setup\x0a','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','isElectron','catch','Could\x20not\x20reach\x20','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','XYGhm','Invalid\x20URL','904ToEMXg','input','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','1153427gyDgFt','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','\x20\x20Set\x20active\x20profile:\x20','config_write','newContext','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','\x0a\x20\x20Could\x20not\x20reach\x20','root\x20(.ranger/)','stdout','\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a','trackPhaseStart','730rLnHmj','\x20\x20ranger\x20profile\x20add\x20','TboFc','36Hyqmsw','\x0a\x20\x20Profile\x20\x22','You\x20can\x20try\x20again\x20with\x20one\x20of:','9656100EZhBzO','LEiEV','retry','โ\x20Auth\x20state\x20saved\x20to:\x20','url','\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.','EIqkT','aHffL','trackPhaseEnd','action','error','url_setup','continue','\x22\x20already\x20exists\x20in\x20','\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)','19411npjoeK','โ\x20Created\x20settings:\x20','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','PfJrW','46695aQhUSt'];_0x2440=function(){return _0x476fe0;};return _0x2440();}import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x3cbc59){const _0x250f87=_0x30cd,_0x25df6c={'YmVtc':function(_0xc34d9f,_0x5d4b6f,_0x5ee91a){return _0xc34d9f(_0x5d4b6f,_0x5ee91a);}};try{const _0x28c279=new AbortController(),_0x223a12=setTimeout(()=>_0x28c279[_0x250f87(0xf5)](),0x1388),_0x56db40=await _0x25df6c['YmVtc'](fetch,_0x3cbc59,{'method':_0x250f87(0xd8),'signal':_0x28c279[_0x250f87(0x140)],'redirect':'manual'});clearTimeout(_0x223a12);if(_0x56db40['status']<0x190)return{'ok':!![]};return{'ok':![],'error':_0x250f87(0xdd)+_0x56db40['status']};}catch(_0x30c994){const _0x1a4f51=_0x30c994,_0x3340b9=_0x1a4f51['message']||String(_0x30c994),_0x493c5d=_0x3340b9[_0x250f87(0xef)](_0x250f87(0x108))||_0x1a4f51['name']==='TypeError'||_0x3340b9['includes'](_0x250f87(0xe8));return{'ok':![],'error':_0x3340b9,'isProtocolError':_0x493c5d};}}export async function addEnv(_0x37f43d,_0x5c6a21={},_0x11cd17){const _0x17516d=_0x30cd,_0x204b39={'qhUyY':_0x17516d(0xfd),'xvlQr':function(_0x3973f0){return _0x3973f0();},'iDSNA':function(_0x42a240,_0x24c859){return _0x42a240!==_0x24c859;},'mZyRf':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','aQBWp':_0x17516d(0xed),'EIqkT':_0x17516d(0xfc),'JqhXr':function(_0xe760d1,_0x629581){return _0xe760d1===_0x629581;},'bkoBa':'legacy','RCTHk':_0x17516d(0x113),'iTZJP':'confirm','bGHTr':'Aborted.','QIvXW':_0x17516d(0x100),'NIIwc':_0x17516d(0xe0),'oqFaa':_0x17516d(0x10a),'XYGhm':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','cwdty':function(_0x3eeb2d,_0x45dcf5){return _0x3eeb2d||_0x45dcf5;},'ymtin':function(_0x5f3859,_0x9e6752){return _0x5f3859(_0x9e6752);},'seweo':_0x17516d(0xec),'ncqCL':_0x17516d(0x14b),'pZYVM':'Continue\x20anyway','jLmYj':_0x17516d(0x129),'TDwGN':'url_setup','ZBuhp':function(_0x1524ca,_0x1db5c3,_0xd559fd){return _0x1524ca(_0x1db5c3,_0xd559fd);},'fViUi':'browser_auth','edmkO':'\x0a๐\x20Authentication\x20Setup','MIGcg':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','sxmoa':function(_0x52f413,_0x15bcfd){return _0x52f413>_0x15bcfd;},'TbVLJ':function(_0x16528b,_0x1f7d7f){return _0x16528b(_0x1f7d7f);},'XThMb':_0x17516d(0x122),'afkqo':'This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a','oUpFx':_0x17516d(0x11c),'eKGFJ':_0x17516d(0x145),'FXMKa':_0x17516d(0x12e),'ODCiU':_0x17516d(0x14d),'OoZij':function(_0x5713f7,_0x26f11b,_0x12891e){return _0x5713f7(_0x26f11b,_0x12891e);},'aHffL':function(_0x4a64de,_0x598f81,_0x4a42ca){return _0x4a64de(_0x598f81,_0x4a42ca);},'PfJrW':function(_0x476f03,_0x48058c){return _0x476f03+_0x48058c;},'LUNUh':function(_0x5bd7b6,_0x98cb14){return _0x5bd7b6(_0x98cb14);},'LEiEV':_0x17516d(0xf2),'kbmKB':function(_0x3a321e,_0x24195e,_0x296760){return _0x3a321e(_0x24195e,_0x296760);},'TboFc':function(_0x26b0a0,_0x4fb861,_0xa07cfe){return _0x26b0a0(_0x4fb861,_0xa07cfe);},'IEPmJ':function(_0x160a14,_0x39a02d,_0x27bbf7){return _0x160a14(_0x39a02d,_0x27bbf7);},'LOmqj':_0x17516d(0xeb),'wVWSN':'config_write','ShWYD':function(_0x2cbe44,_0xbd988c,_0x4988f2){return _0x2cbe44(_0xbd988c,_0x4988f2);}},_0x246945=_0x5c6a21['ci']??![],_0x20a4fc=_0x246945?'ci':_0x204b39[_0x17516d(0xe7)],_0x1939c8=join(getRangerDir(),_0x20a4fc,_0x37f43d),_0x61bd8d=join(_0x204b39[_0x17516d(0xde)](getRangerDir),_0x20a4fc);if(_0x204b39['iDSNA'](_0x5c6a21[_0x17516d(0x13d)],undefined)&&_0x5c6a21[_0x17516d(0x13d)]['trim']()==='')throw new Error(_0x204b39['mZyRf']);if(_0x5c6a21['cdpEndpoint']&&_0x5c6a21[_0x17516d(0x121)])throw new Error(_0x204b39[_0x17516d(0x134)]);if(_0x5c6a21[_0x17516d(0x13d)]&&_0x5c6a21['ci'])throw new Error(_0x17516d(0xe3));const _0x35d7e0=Boolean(_0x5c6a21[_0x17516d(0x13d)]),_0x2f038f=!_0x5c6a21[_0x17516d(0x148)]&&!_0x35d7e0,_0x2f87a6=process[_0x17516d(0x133)][_0x17516d(0xdf)]&&process[_0x17516d(0x114)]['isTTY'];if(!_0x2f87a6&&!_0x5c6a21[_0x17516d(0x121)]&&!_0x35d7e0)throw new Error(_0x204b39[_0x17516d(0x123)]);const _0x4ccf82=findExistingEnv(_0x37f43d);let _0x1242c0=null;if(_0x4ccf82){if(!_0x2f87a6)_0x1242c0=_0x4ccf82;else{if(_0x4ccf82['location']===_0x20a4fc){const {overwrite:_0x309748}=await _0x375950['prompt']([{'type':'confirm','name':'overwrite','message':_0x17516d(0xe1)+_0x37f43d+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x309748){console[_0x17516d(0xda)](_0x17516d(0x13e));return;}_0x1242c0=_0x4ccf82;}else{const _0x57301a=_0x204b39['JqhXr'](_0x4ccf82[_0x17516d(0xe9)],_0x204b39['bkoBa'])?_0x204b39['RCTHk']:_0x4ccf82['location'];console['error'](_0x17516d(0x142)+_0x37f43d+_0x17516d(0x12a)+_0x57301a+':\x20'+_0x4ccf82[_0x17516d(0x138)]),console[_0x17516d(0x127)](_0x17516d(0xdb)+_0x20a4fc+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x4cfee3}=await _0x375950[_0x17516d(0xfb)]([{'type':_0x204b39[_0x17516d(0x14a)],'name':'shouldReplace','message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x20a4fc+'?','default':![]}]);if(!_0x4cfee3){console['log'](_0x204b39['bGHTr']);return;}_0x1242c0=_0x4ccf82;}}}_0x11cd17?.[_0x17516d(0x116)](_0x17516d(0x128));let _0x3c7702='';if(_0x35d7e0)console[_0x17516d(0xda)](_0x17516d(0xff)),console['log'](_0x17516d(0xf9)+_0x5c6a21[_0x17516d(0x13d)]),console[_0x17516d(0xda)](_0x17516d(0x106));else{if(_0x5c6a21[_0x17516d(0x121)]){_0x3c7702=_0x5c6a21[_0x17516d(0x121)];const _0x167d4a=await checkUrlReachability(_0x3c7702);if(!_0x167d4a['ok']&&!_0x5c6a21['force'])throw new Error(_0x17516d(0x104)+_0x3c7702+':\x20'+_0x167d4a[_0x17516d(0x127)]+_0x17516d(0x101));!_0x167d4a['ok']&&_0x5c6a21['force']&&console[_0x17516d(0xda)](_0x17516d(0xe4)+_0x3c7702+':\x20'+_0x167d4a[_0x17516d(0x127)]+_0x17516d(0x144));}else{console['log'](_0x204b39['QIvXW']),console[_0x17516d(0xda)](_0x204b39['NIIwc']),console['log'](_0x17516d(0x10b));let _0x2830c0=![];while(!![]){const _0x329dae=await _0x375950['prompt']([{'type':_0x204b39['oqFaa'],'name':_0x17516d(0x13a),'message':_0x2830c0?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':_0x204b39[_0x17516d(0x107)],'default':_0x204b39['cwdty'](_0x3c7702,_0x17516d(0x13f))}]);_0x3c7702=_0x329dae[_0x17516d(0x13a)];const _0x154a63=await _0x204b39['ymtin'](checkUrlReachability,_0x3c7702);if(_0x154a63['ok'])break;const _0x1f400c=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x3c7702),_0x547ac5=_0x154a63[_0x17516d(0x136)]&&!_0x1f400c,_0x2ff589=_0x547ac5?_0x17516d(0xf7)+_0x3c7702:null;_0x2830c0=!![],console[_0x17516d(0xda)](_0x17516d(0x112)+_0x3c7702+':\x20'+_0x154a63[_0x17516d(0x127)]);_0x2ff589&&console['log'](_0x17516d(0x14c)+_0x2ff589+'?');const {action:_0x46ceef}=await _0x375950[_0x17516d(0xfb)]([{'type':_0x204b39['seweo'],'name':_0x17516d(0x126),'message':_0x204b39['ncqCL'],'choices':[..._0x2ff589?[{'name':'Use\x20'+_0x2ff589,'value':'use_suggestion'}]:[],{'name':_0x17516d(0xfa),'value':_0x17516d(0x11f)},{'name':_0x204b39[_0x17516d(0x141)],'value':'continue'}]}]);if(_0x204b39['JqhXr'](_0x46ceef,'use_suggestion')&&_0x2ff589){_0x3c7702=_0x2ff589;const _0x45bc80=await checkUrlReachability(_0x3c7702);if(_0x45bc80['ok'])break;console['log'](_0x17516d(0x105)+_0x3c7702+':\x20'+_0x45bc80[_0x17516d(0x127)]);}else{if(_0x204b39[_0x17516d(0xd9)](_0x46ceef,_0x204b39['jLmYj']))break;}}}}_0x11cd17?.['trackPhaseEnd'](_0x204b39[_0x17516d(0xee)]),await mkdir(_0x61bd8d,{'recursive':!![]});const _0x218495=await mkdtemp(join(_0x61bd8d,'.tmp-'+_0x37f43d+'-')),_0x3151f0=_0x204b39['ZBuhp'](join,_0x218495,'auth.json');try{if(_0x2f038f){_0x11cd17?.[_0x17516d(0x116)](_0x204b39[_0x17516d(0xe5)]),console[_0x17516d(0xda)](_0x204b39['edmkO']),console['log']('\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.'),console['log'](_0x204b39[_0x17516d(0xf6)]);!_0x2f87a6?(console[_0x17516d(0xda)](_0x17516d(0x131)),console[_0x17516d(0xda)](_0x17516d(0x146))):console['log']('');await new Promise(_0x1aa42f=>setTimeout(_0x1aa42f,0xbb8));const _0x2f2969=[];_0x5c6a21[_0x17516d(0xf4)]&&_0x2f2969[_0x17516d(0x139)](_0x17516d(0xe2));const _0x4d6513=await chromium['launch']({'headless':![],..._0x204b39['sxmoa'](_0x2f2969[_0x17516d(0xfe)],0x0)?{'args':_0x2f2969}:{}});try{const _0x420168=await _0x4d6513[_0x17516d(0x110)]();await _0x204b39['TbVLJ'](addProfileSetupBanner,_0x420168);const _0x52a840=await _0x420168[_0x17516d(0x13b)]();await _0x52a840['goto'](_0x3c7702||'about:blank');let _0x3a3326=![];await new Promise(_0x35d7b5=>{const _0x587fbf={'NxhPz':function(_0x13f533){return _0x13f533();}};_0x52a840['on']('close',async()=>{const _0x56c60a=_0x30cd;try{console[_0x56c60a(0xda)]('Saving\x20authentication\x20state...'),await _0x420168[_0x56c60a(0xe6)]({'path':_0x3151f0}),_0x3a3326=!![];}catch{}_0x587fbf['NxhPz'](_0x35d7b5);});});if(!_0x3a3326){console[_0x17516d(0xda)](_0x204b39[_0x17516d(0xdc)]);!_0x5c6a21[_0x17516d(0xf4)]&&(console['log'](_0x204b39[_0x17516d(0xf8)]),console['log'](_0x204b39[_0x17516d(0xf3)]),console[_0x17516d(0xda)](_0x17516d(0x118)+_0x37f43d+_0x17516d(0x12b)),console[_0x17516d(0xda)](_0x17516d(0x118)+_0x37f43d+_0x17516d(0x115)));throw new Error('Browser\x20closed\x20before\x20authentication\x20was\x20saved.');}}finally{await _0x4d6513['close']()[_0x17516d(0x103)](()=>{});}if(_0x246945){const _0x2ce56f=await _0x204b39['ZBuhp'](readFile,_0x3151f0,_0x204b39['eKGFJ']),_0x27f515=await getToken();if(!_0x27f515){console[_0x17516d(0x127)](_0x204b39['FXMKa']),await unlink(_0x3151f0)[_0x17516d(0x103)](()=>{});throw new Error(_0x204b39['ODCiU']);}else{const _0x23f32a=_0x204b39[_0x17516d(0x147)](encrypt,_0x2ce56f,_0x27f515);await _0x204b39[_0x17516d(0x124)](writeFile,_0x204b39[_0x17516d(0x12f)](_0x3151f0,'.enc'),_0x23f32a),await _0x204b39['LUNUh'](unlink,_0x3151f0),console['log']('โ\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x3151f0+'.enc'),console[_0x17516d(0xda)](_0x17516d(0x149)),console[_0x17516d(0xda)](_0x17516d(0x10d));}}else console[_0x17516d(0xda)](_0x17516d(0x120)+_0x3151f0);_0x11cd17?.[_0x17516d(0x125)](_0x204b39['fViUi']);}_0x11cd17?.[_0x17516d(0x116)](_0x17516d(0x10f));const _0x39f39c={};_0x3c7702&&(_0x39f39c[_0x17516d(0x13a)]=_0x3c7702);_0x5c6a21['cdpEndpoint']&&(_0x39f39c['cdpEndpoint']=_0x5c6a21['cdpEndpoint'],_0x39f39c[_0x17516d(0x102)]=!![]);_0x5c6a21['allowInsecureLocalhost']&&(_0x39f39c['allowInsecureLocalhost']=!![]);_0x5c6a21[_0x17516d(0xf4)]&&(_0x39f39c['safeMode']=!![]);await _0x204b39['aHffL'](writeFile,join(_0x218495,_0x204b39[_0x17516d(0x11e)]),JSON[_0x17516d(0x143)](_0x39f39c,null,0x2)),console[_0x17516d(0xda)](_0x17516d(0x12d)+_0x204b39[_0x17516d(0xf1)](join,_0x1939c8,_0x17516d(0xf2)));if(_0x204b39[_0x17516d(0xd9)](_0x1242c0?.['location'],_0x20a4fc)){const _0x1617ff=_0x1242c0['path']+'.backup-'+Date['now']();await rename(_0x1242c0['path'],_0x1617ff);try{await rename(_0x218495,_0x1939c8);}catch(_0x26fd7e){await _0x204b39[_0x17516d(0x119)](rename,_0x1617ff,_0x1242c0['path']);throw _0x26fd7e;}try{await rm(_0x1617ff,{'recursive':!![]});}catch{console[_0x17516d(0xda)](_0x17516d(0xf0)+_0x1617ff);}}else{await _0x204b39['IEPmJ'](rename,_0x218495,_0x1939c8);if(_0x1242c0)try{await rm(_0x1242c0[_0x17516d(0x138)],{'recursive':!![]}),console[_0x17516d(0xda)]('Removed\x20existing\x20profile\x20at\x20'+_0x1242c0[_0x17516d(0x138)]);}catch{console[_0x17516d(0xda)](_0x17516d(0x111)+_0x1242c0[_0x17516d(0x138)]);}}try{await writeActiveProfileName(_0x37f43d),console['log'](_0x17516d(0x10e)+_0x37f43d);}catch{console['log'](_0x204b39['LOmqj']);}_0x11cd17?.['trackPhaseEnd'](_0x204b39['wVWSN']),console[_0x17516d(0xda)](_0x17516d(0x11b)+_0x37f43d+_0x17516d(0x132));}catch(_0x4618c5){await _0x204b39['ShWYD'](rm,_0x218495,{'recursive':!![],'force':!![]});throw _0x4618c5;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3bd769,_0x416f8c){const _0x2c248b=_0x4a64,_0x356242=_0x3bd769();while(!![]){try{const _0x515f82=parseInt(_0x2c248b(0x14b))/0x1*(-parseInt(_0x2c248b(0x13c))/0x2)+-parseInt(_0x2c248b(0x139))/0x3+parseInt(_0x2c248b(0x13a))/0x4*(parseInt(_0x2c248b(0x146))/0x5)+-parseInt(_0x2c248b(0x14e))/0x6*(-parseInt(_0x2c248b(0x13b))/0x7)+-parseInt(_0x2c248b(0x142))/0x8+parseInt(_0x2c248b(0x14a))/0x9*(-parseInt(_0x2c248b(0x138))/0xa)+parseInt(_0x2c248b(0x14d))/0xb;if(_0x515f82===_0x416f8c)break;else _0x356242['push'](_0x356242['shift']());}catch(_0x7b6e74){_0x356242['push'](_0x356242['shift']());}}}(_0x2bc4,0xc7adb));function _0x4a64(_0x358714,_0x253685){_0x358714=_0x358714-0x138;const _0x2bc4e4=_0x2bc4();let _0x4a6461=_0x2bc4e4[_0x358714];return _0x4a6461;}import{readFile,writeFile}from'fs/promises';function _0x2bc4(){const _0xe7463a=['\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','4450220NMRJqb','oxWqE','Profile\x20\x22','.enc','741681yFAwEX','103qcLlLt','log','27073332yULIdN','42xaUluk','10IDrWFU','4585233gMGIxu','4EqDfJR','898051vKgujZ','12982xTSpUR','bPWtn','dSAoS','\x0aโ\x20Encrypted\x20auth\x20saved\x20to:\x20','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','lRDFQ','9216248eVxoxK','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','dyVtg'];_0x2bc4=function(){return _0xe7463a;};return _0x2bc4();}import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0xc6f8cd){const _0x287c60=_0x4a64,_0x43901c={'dSAoS':function(_0x16966b,_0x4cba93){return _0x16966b(_0x4cba93);},'lRDFQ':function(_0xeb786e,_0x326b10,_0x3566ed){return _0xeb786e(_0x326b10,_0x3566ed);},'fYcaO':'auth.json','dyVtg':function(_0x4bf837,_0x4aec9b){return _0x4bf837+_0x4aec9b;},'oxWqE':_0x287c60(0x149),'bPWtn':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','VSoxK':_0x287c60(0x143)},_0x425d1b=_0x43901c['dSAoS'](getEnvDir,_0xc6f8cd),_0x5c6094=_0x43901c['lRDFQ'](join,_0x425d1b,_0x43901c['fYcaO']),_0x1d9e33=_0x43901c[_0x287c60(0x144)](_0x5c6094,_0x43901c[_0x287c60(0x147)]);if(!_0x43901c[_0x287c60(0x13e)](existsSync,_0x425d1b))throw new Error(_0x287c60(0x148)+_0xc6f8cd+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0xc6f8cd);if(!existsSync(_0x5c6094))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x5c6094+_0x287c60(0x140));const _0x5860f3=await getToken();if(!_0x5860f3)throw new Error(_0x43901c[_0x287c60(0x13d)]);const _0x2da5af=await readFile(_0x5c6094,'utf-8'),_0x426bb9=_0x43901c[_0x287c60(0x141)](encrypt,_0x2da5af,_0x5860f3);await writeFile(_0x1d9e33,_0x426bb9),console['log'](_0x287c60(0x13f)+_0x1d9e33),console[_0x287c60(0x14c)]('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console[_0x287c60(0x14c)](_0x43901c['VSoxK']),_0x43901c[_0x287c60(0x13e)](existsSync,_0x1d9e33)&&(console[_0x287c60(0x14c)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log'](_0x287c60(0x145)));}
|
package/build/commands/clean.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x34de3f=_0x4f38;function _0x4f38(_0x42e372,_0x357d8e){_0x42e372=_0x42e372-0x107;const _0x3cf72a=_0x3cf7();let _0x4f38be=_0x3cf72a[_0x42e372];return _0x4f38be;}(function(_0x2fe071,_0x115d4d){const _0x5179cc=_0x4f38,_0x22d2b=_0x2fe071();while(!![]){try{const _0x114d78=-parseInt(_0x5179cc(0x135))/0x1+parseInt(_0x5179cc(0x12e))/0x2*(parseInt(_0x5179cc(0x131))/0x3)+parseInt(_0x5179cc(0x120))/0x4*(-parseInt(_0x5179cc(0x117))/0x5)+parseInt(_0x5179cc(0x12a))/0x6*(parseInt(_0x5179cc(0x136))/0x7)+-parseInt(_0x5179cc(0x121))/0x8+parseInt(_0x5179cc(0x122))/0x9+-parseInt(_0x5179cc(0x12c))/0xa;if(_0x114d78===_0x115d4d)break;else _0x22d2b['push'](_0x22d2b['shift']());}catch(_0xb63592){_0x22d2b['push'](_0x22d2b['shift']());}}}(_0x3cf7,0x2fb31));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';function _0x3cf7(){const _0x593a4e=['13240rUqQQm','โ\x20Removed\x20.ranger/\x20directory','TFpOc','kWUQo','โ\x20Removed\x20OpenCode\x20user\x20skill:\x20','replace','UNjLd','ranger','log','52QqHBnH','565856GjETsV','3134268NRyVdL','platform','zaqFo','HZAkl','vRNtW','JkTIt','URmhr','plYti','545598FEgEyb','close','2404930BBDtdd','oArDg','18TqSFEZ','isArray','user','47331yEgRYy','project','kkiIA','uninstall','222018YUuTci','21HeEobD','plugin','PtNAR','โ\x20Removed\x20OpenCode\x20project\x20skill:\x20','HKIHv','push','PvfGl','RCPtQ','length','uXkRA','AQCbt','\x0a๐งน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','uPNHE','claude','win32','e2e-test-recommender','pipe','pfaCc','Cljjy','โ\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','โ\x20Removed\x20user\x20skill:\x20','โ\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','bYnEL'];_0x3cf7=function(){return _0x593a4e;};return _0x3cf7();}import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=[_0x34de3f(0x11e),'feature-tracker','bug-bash',_0x34de3f(0x10f)],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x2848d2){const _0x531a42=_0x34de3f,_0x304d8e=_0x2848d2[_0x531a42(0x11c)](/\/\*[\s\S]*?\*\//g,''),_0x254cf4=_0x304d8e[_0x531a42(0x11c)](/^\s*\/\/.*$/gm,''),_0x54bf8c=_0x254cf4[_0x531a42(0x11c)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x54bf8c);}async function removeOpencodePluginConfig(_0xc0d541){const _0x263169=_0x34de3f,_0x50fdc8={'PtNAR':function(_0x4c2be8,_0x4e2778,_0x56d2d6){return _0x4c2be8(_0x4e2778,_0x56d2d6);},'oArDg':function(_0x22ee57,_0xc8b042){return _0x22ee57(_0xc8b042);},'pfaCc':function(_0x2174a6,_0x513d60){return _0x2174a6===_0x513d60;}};if(!existsSync(_0xc0d541))return![];let _0x565316;try{const _0xaacea5=await _0x50fdc8[_0x263169(0x138)](readFile,_0xc0d541,'utf-8');_0x565316=_0x50fdc8[_0x263169(0x12d)](parseJsonc,_0xaacea5);}catch{return![];}const _0x14427b=Array[_0x263169(0x12f)](_0x565316[_0x263169(0x137)])?_0x565316['plugin']:[];if(_0x50fdc8[_0x263169(0x111)](_0x14427b[_0x263169(0x108)],0x0))return![];const _0x5ace1f=_0x14427b['filter'](_0x4a7f42=>{if(typeof _0x4a7f42!=='string')return!![];return _0x4a7f42!==opencodePluginName;});if(_0x5ace1f[_0x263169(0x108)]===_0x14427b['length'])return![];return _0x5ace1f[_0x263169(0x108)]===0x0?delete _0x565316[_0x263169(0x137)]:_0x565316[_0x263169(0x137)]=_0x5ace1f,await writeFile(_0xc0d541,JSON['stringify'](_0x565316,null,0x2)+'\x0a'),!![];}async function uninstallClaudePlugin(_0x5d2955){const _0xd363be=_0x34de3f,_0x1f84ce={'WkeYv':function(_0x1efcad,_0x396fb5){return _0x1efcad===_0x396fb5;},'zaqFo':function(_0x1cd066,_0x33826){return _0x1cd066(_0x33826);},'YoCpi':'plugin','HKIHv':_0xd363be(0x10d),'AQCbt':function(_0xd4fcdf,_0x2ca841){return _0xd4fcdf===_0x2ca841;},'lgfIE':_0xd363be(0x10e)};return new Promise(_0x4ae7eb=>{const _0x50f4d3=_0xd363be,_0x307ea0={'dIUdn':function(_0x2d81f5,_0x2152d3){return _0x2d81f5(_0x2152d3);},'DrpmG':function(_0x44794a,_0x93d4d8){return _0x1f84ce['WkeYv'](_0x44794a,_0x93d4d8);},'kWUQo':function(_0x45d326,_0x1af80d){const _0x13d616=_0x4f38;return _0x1f84ce[_0x13d616(0x124)](_0x45d326,_0x1af80d);}},_0xfb70c8=[_0x1f84ce['YoCpi'],_0x50f4d3(0x134),'ranger@trailhead'];_0x5d2955&&_0xfb70c8[_0x50f4d3(0x13b)]('--scope',_0x5d2955);const _0x265235=spawn(_0x1f84ce[_0x50f4d3(0x13a)],_0xfb70c8,{'stdio':'pipe','shell':_0x1f84ce[_0x50f4d3(0x10a)](process['platform'],_0x1f84ce['lgfIE'])});_0x265235['on'](_0x50f4d3(0x12b),_0x590a4b=>{_0x307ea0['dIUdn'](_0x4ae7eb,_0x307ea0['DrpmG'](_0x590a4b,0x0));}),_0x265235['on']('error',()=>{const _0x35644f=_0x50f4d3;_0x307ea0[_0x35644f(0x11a)](_0x4ae7eb,![]);});});}async function removeMarketplace(){const _0x16d71e=_0x34de3f,_0x532822={'URmhr':'plugin','hlCqD':'remove','nIfRr':'trailhead','WAfNI':function(_0x46b49a,_0x2ee2e0){return _0x46b49a===_0x2ee2e0;},'GnvdW':'win32','XqhmB':_0x16d71e(0x12b)};return new Promise(_0x12898=>{const _0x4de55f=_0x16d71e,_0x188f9f={'RCPtQ':function(_0x1df90b,_0x5e27e4){return _0x1df90b(_0x5e27e4);}},_0xdd36af=spawn(_0x4de55f(0x10d),[_0x532822[_0x4de55f(0x128)],'marketplace',_0x532822['hlCqD'],_0x532822['nIfRr']],{'stdio':_0x4de55f(0x110),'shell':_0x532822['WAfNI'](process[_0x4de55f(0x123)],_0x532822['GnvdW'])});_0xdd36af['on'](_0x532822['XqhmB'],_0x2702b6=>{const _0x2de97f=_0x4de55f;_0x188f9f[_0x2de97f(0x107)](_0x12898,_0x2702b6===0x0);}),_0xdd36af['on']('error',()=>{_0x12898(![]);});});}export async function clean(){const _0x5ba769=_0x34de3f,_0x54a681={'kkiIA':_0x5ba769(0x10b),'TFpOc':function(_0x4721e5){return _0x4721e5();},'YEEIT':function(_0x21f2ee,_0xc4199d){return _0x21f2ee(_0xc4199d);},'HZAkl':function(_0x5bf2c1,_0x16ec9a){return _0x5bf2c1(_0x16ec9a);},'vRNtW':function(_0x16fb0e,_0x39f940){return _0x16fb0e(_0x39f940);},'JkTIt':function(_0x444960,_0x38feb7,_0x243eef){return _0x444960(_0x38feb7,_0x243eef);},'HfzGX':_0x5ba769(0x118),'NCLru':function(_0x3336e0,_0x1860a7,_0x31ea6e){return _0x3336e0(_0x1860a7,_0x31ea6e);},'plYti':function(_0x142ac9,_0x3bee43){return _0x142ac9(_0x3bee43);},'UNjLd':function(_0x2a5281,_0x35c69c){return _0x2a5281(_0x35c69c);},'bYnEL':_0x5ba769(0x132),'Cljjy':function(_0x5c7901,_0x4ba037){return _0x5c7901(_0x4ba037);},'uPNHE':_0x5ba769(0x130),'PvfGl':function(_0x5429da,_0x18cfa2){return _0x5429da(_0x18cfa2);},'nwJXm':function(_0x3e4a2f){return _0x3e4a2f();},'VgePv':function(_0x1735c1,_0x4f9a77){return _0x1735c1(_0x4f9a77);},'uXkRA':'โ\x20Removed\x20trailhead\x20marketplace','rfozg':'\x0aโ
\x20Cleanup\x20complete!\x0a','hXKHC':'Nothing\x20to\x20clean\x20up.\x0a'};console['log'](_0x54a681[_0x5ba769(0x133)]);let _0x49ecd0=![];try{await _0x54a681[_0x5ba769(0x119)](deleteAllCredentials),console[_0x5ba769(0x11f)]('โ\x20Removed\x20stored\x20credentials'),_0x49ecd0=!![];}catch{}const _0x578e1b=_0x54a681[_0x5ba769(0x119)](getCacheFile);_0x54a681['YEEIT'](existsSync,_0x578e1b)&&(await _0x54a681['HZAkl'](rm,_0x578e1b),_0x49ecd0=!![]);const _0xe57705=_0x54a681['TFpOc'](getRangerDir);_0x54a681[_0x5ba769(0x126)](existsSync,_0xe57705)&&(await _0x54a681[_0x5ba769(0x127)](rm,_0xe57705,{'recursive':!![]}),console[_0x5ba769(0x11f)](_0x54a681['HfzGX']),_0x49ecd0=!![]);const _0xafb522=_0x54a681['TFpOc'](getProjectSkillsDir);for(const _0x43ac24 of skillsToRemove){const _0xc84a1b=_0x54a681['NCLru'](join,_0xafb522,_0x43ac24);_0x54a681[_0x5ba769(0x129)](existsSync,_0xc84a1b)&&(await rm(_0xc84a1b,{'recursive':!![]}),console['log']('โ\x20Removed\x20project\x20skill:\x20'+_0x43ac24),_0x49ecd0=!![]);}const _0x48cf29=getUserSkillsDir();for(const _0x10887a of skillsToRemove){const _0x1c865e=join(_0x48cf29,_0x10887a);_0x54a681[_0x5ba769(0x11d)](existsSync,_0x1c865e)&&(await rm(_0x1c865e,{'recursive':!![]}),console['log'](_0x5ba769(0x114)+_0x10887a),_0x49ecd0=!![]);}const _0x4d1b5e=getOpencodeSkillsDir(_0x54a681[_0x5ba769(0x116)]);for(const _0x94a21b of skillsToRemove){const _0x39aa9c=_0x54a681['JkTIt'](join,_0x4d1b5e,_0x94a21b);_0x54a681[_0x5ba769(0x112)](existsSync,_0x39aa9c)&&(await rm(_0x39aa9c,{'recursive':!![]}),console['log'](_0x5ba769(0x139)+_0x94a21b),_0x49ecd0=!![]);}const _0x51a2f9=getOpencodeSkillsDir(_0x54a681[_0x5ba769(0x10c)]);for(const _0x1a3754 of skillsToRemove){const _0x33b5d6=join(_0x51a2f9,_0x1a3754);existsSync(_0x33b5d6)&&(await rm(_0x33b5d6,{'recursive':!![]}),console[_0x5ba769(0x11f)](_0x5ba769(0x11b)+_0x1a3754),_0x49ecd0=!![]);}const _0xf7efc3=join(getOpencodeConfigDir(_0x5ba769(0x132)),'opencode.json');await removeOpencodePluginConfig(_0xf7efc3)&&(console[_0x5ba769(0x11f)]('โ\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x49ecd0=!![]);const _0x3f467b=join(_0x54a681[_0x5ba769(0x125)](getOpencodeConfigDir,'user'),'opencode.json');await _0x54a681[_0x5ba769(0x13c)](removeOpencodePluginConfig,_0x3f467b)&&(console[_0x5ba769(0x11f)](_0x5ba769(0x113)),_0x49ecd0=!![]);const _0x462978=await _0x54a681['nwJXm'](uninstallClaudePlugin);_0x462978&&(console['log'](_0x5ba769(0x115)),_0x49ecd0=!![]);const _0x3a3016=await _0x54a681['VgePv'](uninstallClaudePlugin,_0x54a681['bYnEL']);_0x3a3016&&(console[_0x5ba769(0x11f)]('โ\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x49ecd0=!![]);const _0x38f6b8=await _0x54a681[_0x5ba769(0x119)](removeMarketplace);_0x38f6b8&&(console[_0x5ba769(0x11f)](_0x54a681[_0x5ba769(0x109)]),_0x49ecd0=!![]),_0x49ecd0?console['log'](_0x54a681['rfozg']):console[_0x5ba769(0x11f)](_0x54a681['hXKHC']);}
|