@ranger-testing/ranger-cli 2.5.4-alpha.57338f5-12 → 2.5.4-alpha.8c24bb2-15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +36 -14
  2. package/build/cli.js +1 -1
  3. package/build/commands/addEnv.js +1 -1
  4. package/build/commands/authEncrypt.js +1 -1
  5. package/build/commands/clean.js +1 -1
  6. package/build/commands/config.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/opencodeConfig.js +1 -1
  58. package/build/commands/utils/playwrightCli.js +1 -1
  59. package/build/commands/utils/profileMessages.js +1 -1
  60. package/build/commands/utils/profileSetupBanner.js +1 -1
  61. package/build/commands/utils/projectsConfig.js +1 -1
  62. package/build/commands/utils/rangerConfig.js +1 -1
  63. package/build/commands/utils/rangerRoot.js +1 -1
  64. package/build/commands/utils/resolveProfileContext.js +1 -1
  65. package/build/commands/utils/resolveProfileUrl.js +1 -1
  66. package/build/commands/utils/retry.js +1 -1
  67. package/build/commands/utils/sessionCache.js +1 -1
  68. package/build/commands/utils/settings.js +1 -1
  69. package/build/commands/utils/skillContent.js +1 -1
  70. package/build/commands/utils/skills.js +1 -1
  71. package/build/commands/utils/stitchWebmFiles.js +1 -1
  72. package/build/commands/utils/telemetry.js +1 -1
  73. package/build/commands/utils/tokenRefresh.js +1 -1
  74. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  75. package/build/commands/utils/userApi.js +1 -1
  76. package/build/commands/utils/version.js +1 -1
  77. package/build/commands/verifyFeature.js +1 -1
  78. package/build/commands/verifyFeatureCli.js +1 -1
  79. package/build/skills/ranger/SKILL.md +15 -5
  80. package/build/skills/ranger/verify.md +15 -3
  81. package/package.json +1 -1
package/README.md CHANGED
@@ -25,7 +25,7 @@ This walks you through everything interactively:
25
25
  - **Authentication** -- opens your browser to log in (credentials stored in OS Keychain)
26
26
  - **Chromium** -- installs the browser used for verification
27
27
  - **Plugin** -- installs the Claude Code plugin (you choose user-level or project-level)
28
- - **Profile** -- prompts for your app's URL, opens a browser to capture login session
28
+ - **Profile** -- prompts for your app's URL, opens a browser to capture a session for the verification agent
29
29
  - **Skills** -- installs markdown files that teach Claude the Ranger workflow
30
30
 
31
31
  > For CI, pass a token directly: `ranger setup [token]`. See `RANGER_CLI_TOKEN` env var for non-interactive use.
@@ -61,13 +61,24 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
61
61
 
62
62
  ### Profiles
63
63
 
64
+ A profile tells Ranger where your app runs and how to log in. Run
65
+ `ranger profile add <name>` once — a browser opens, you log in, Ranger
66
+ saves the session for every subsequent run. Convention is one profile per
67
+ account; the CLI suggests `git config user.email` as a default name.
68
+
64
69
  | Command | Description |
65
70
  | ------------------------------------- | ----------------------------------------------------- |
66
- | `ranger profile add <name>` | Add a browser profile (opens browser to capture auth). Use `--safe-mode` if the browser crashes. |
71
+ | `ranger profile add <name>` | Add a profile (opens a browser for login). Use `--safe-mode` if the browser crashes. |
67
72
  | `ranger profile use <name>` | Switch active profile |
68
73
  | `ranger profile ls` | List all profiles |
69
- | `ranger profile update <name>` | Re-capture auth for a profile |
70
- | `ranger profile encrypt-auth <name>` | Encrypt auth.json for safe git storage (CI) |
74
+
75
+ For CI / background agents and other setup options, see
76
+ https://docs.ranger.net/main/concepts/profiles.
77
+
78
+ > Deprecated: `ranger profile update`, `ranger profile encrypt-auth`, and
79
+ > `ranger profile migrate` exit non-zero with a redirect. Run
80
+ > `ranger profile add <name>` to set up a fresh profile. See
81
+ > https://docs.ranger.net/main/concepts/profiles for setup options.
71
82
 
72
83
  ### Feature Reviews
73
84
 
@@ -89,7 +100,12 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
89
100
  | ------------ | ------------------------------------ |
90
101
  | `ranger go` | Verify a scenario in the browser |
91
102
 
92
- Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
103
+ Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--base-url <url>` (override profile base URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
104
+
105
+ Env vars:
106
+ - `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` — for [automated login](https://docs.ranger.net/main/concepts/profiles#automated-login). The fastest path for CI / background agents. Works for any login flow we can run deterministically (username/password, SSO, OAuth, MFA, passkeys, magic links) — set up per-app with our team. Talk to us.
107
+ - `RANGER_PROFILE` — pin a profile (lower precedence than `--profile`).
108
+ - `RANGER_BASE_URL` / `RANGER_START_PATH` — analogues of `--base-url` / `--start-path`.
93
109
 
94
110
  You can set a default verify model in `.ranger/config.json`:
95
111
 
@@ -101,14 +117,18 @@ You can set a default verify model in `.ranger/config.json`:
101
117
 
102
118
  ### Config
103
119
 
104
- | Command | Description |
105
- | ------------------------------------------------- | ------------------------------ |
106
- | `ranger profile config set <profile> <key> <value>` | Set a config value |
107
- | `ranger profile config get <profile> <key>` | Read a config value |
108
- | `ranger profile config list <profile>` | Show all config for a profile |
109
- | `ranger profile config unset <profile> <key>` | Remove a config value |
120
+ Fine-tune browser behavior for a profile. Settings apply per cwd, so
121
+ different checkouts of the same repo can have different overrides.
122
+
123
+ | Command | Description |
124
+ | --------------------------------------------------- | ------------------------------ |
125
+ | `ranger profile config set <profile> <key> <value>` | Set a config value |
126
+ | `ranger profile config get <profile> <key>` | Read a config value |
127
+ | `ranger profile config list <profile>` | Show all config for a profile |
128
+ | `ranger profile config unset <profile> <key>` | Remove a config value |
129
+ | `ranger profile config reset <profile>` | Clear all overrides (cloud only) |
110
130
 
111
- Keys: `headless`, `userAgent`, `storageState`, `header.<name>`. Environment variables (e.g., `${AUTH_TOKEN}`) are resolved at runtime.
131
+ Keys: `baseUrl`, `headless`, `userAgent`, `storageState`, `allowInsecureLocalhost`, `headers.<name>`, `setupHeaders.<name>`. Environment variables (e.g., `${AUTH_TOKEN}`) are resolved at runtime.
112
132
 
113
133
  ## Plugin
114
134
 
@@ -121,12 +141,14 @@ claude plugin install ranger@trailhead --scope user
121
141
 
122
142
  ## Troubleshooting
123
143
 
124
- **"No active profile"** -- Run `ranger profile use <profile-name>`.
144
+ **"No active profile"** -- Run `ranger profile use <profile-name>`, or set `RANGER_PROFILE=<name>` for the session.
125
145
 
126
- **Authentication expired** -- Run `ranger profile update <profile-name>` to re-capture.
146
+ **Authentication expired** -- Run `ranger profile add <name>` to refresh. (For automated login, re-run `ranger go` with `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` set.)
127
147
 
128
148
  **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
149
 
130
150
  **"No active feature review"** -- Run `ranger list` then `ranger resume <id>`.
131
151
 
152
+ **Daily warning about legacy `.ranger/` paths** -- Existing sessions in those paths still work as a fallback, but new sessions are managed for you. Run `ranger profile add <name>` to set up a fresh profile, then delete the legacy dirs to silence the warning. See https://docs.ranger.net/main/concepts/profiles.
153
+
132
154
  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 _0x1d089a=_0x1b12;(function(_0x7fde95,_0x326fec){const _0x482b36=_0x1b12,_0x55c6bb=_0x7fde95();while(!![]){try{const _0x7f822=parseInt(_0x482b36(0x2c0))/0x1*(parseInt(_0x482b36(0x323))/0x2)+parseInt(_0x482b36(0x2de))/0x3+parseInt(_0x482b36(0x302))/0x4+-parseInt(_0x482b36(0x328))/0x5*(-parseInt(_0x482b36(0x30f))/0x6)+parseInt(_0x482b36(0x2f7))/0x7+-parseInt(_0x482b36(0x28e))/0x8+parseInt(_0x482b36(0x2f2))/0x9*(-parseInt(_0x482b36(0x1d7))/0xa);if(_0x7f822===_0x326fec)break;else _0x55c6bb['push'](_0x55c6bb['shift']());}catch(_0x2a7312){_0x55c6bb['push'](_0x55c6bb['shift']());}}}(_0x37ee,0x818a1));import _0x1634a3 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xd95e12=_0x1b12,_0xee5231={'PhYCQ':'.env','vXDzY':function(_0x1131fc,_0x364a14){return _0x1131fc(_0x364a14);}};let _0x1078c5=process[_0xd95e12(0x1ef)]();const _0x3950a8=parse(_0x1078c5)['root'];while(_0x1078c5!==_0x3950a8){if(existsSync(join(_0x1078c5,_0xd95e12(0x206)))||existsSync(join(_0x1078c5,_0xee5231['PhYCQ'])))return _0x1078c5;_0x1078c5=_0xee5231['vXDzY'](dirname,_0x1078c5);}return process[_0xd95e12(0x1ef)]();}function _0x37ee(){const _0x21b781=['evaluation','ranger\x20feature\x20restore','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','add-checklist-item\x20<description>','avihn','sirBY','EJefQ','env\x20list','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,\x20--scope\x20user|project)\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/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\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\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','project','force','DUFOj','usage','hFbkg','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','get-review\x20[id]','oDGQW','iLPcv','lCKFm','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','ehJza','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ZdaGW','setup-ci\x20<token>','WTHoW','feature\x20show','CpfBp','OXtav','rwzjP','UcuZk','New\x20scenario\x20description','ranger\x20feature\x20list','resume','sMJso','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','value','argv','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','atAKC','MuQBL','number','YczMA','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','RHAkV','env','Add\x20profile\x20configuration','ennGZ','evaluationReason','You\x20must\x20specify\x20a\x20config\x20subcommand','tHOgg','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','PRaji','notes','KnKkR','Install\x20Ranger\x20skills','profile\x20config\x20set','feature\x20restore','ranger\x20profile\x20config\x20unset','test','setup:skills','jcggf','offset','add\x20env','4806304hgUSni','key','startsWith','dTLVD','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','feature\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Skip\x20Chromium\x20browser\x20installation','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','ranger\x20restore','json','ranger\x20feature\x20delete','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','qLMvq','Config\x20key\x20to\x20remove','SzJqh','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ntKDj','pjdCO','ranger\x20create','uXKFc','Install\x20scope\x20for\x20skills','demandCommand','setup-header','Install\x20Chromium\x20browser\x20binary','\x20\x20https://docs.ranger.net\x0a','option','command','NODE_ENV','Restore\x20a\x20soft-deleted\x20feature\x20review','forEach','profile\x20update','incomplete','PwIIQ','FhoGU','ranger\x20feature\x20create','Login\x20failed:\x20','Install\x20scope\x20for\x20plugin\x20and\x20skills','profile\x20login','exclude-scenario','MkThN','yes','API\x20token','\x20is\x20now\x20','Feature\x20review\x20description','skip-auth','show\x20[id]','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','slice','Ranger\x20API\x20token\x20(rngr_...)','8475bMcXPF','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','QRyef','scriptName','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','NWuHX','url','CSsLp','current-branch','jmSSf','Klqie','cCaNR','get-feedback\x20[id]','.\x20[','create','CaSCc','DXAYX','You\x20must\x20specify\x20an\x20auth\x20subcommand','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','blocked','gkdEI','feature','base-url','UiIGP','.env','AwppE','UoLHb','ranger','Scenario\x20index\x20(1-based)','yNpTr','2773347rILfQc','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Ivwww','VnCHp','Config\x20key','maPZn','Scenario\x20number\x20to\x20edit\x20(1-based)','model','AqkkV','Example:\x20ranger\x20create\x20my-feature','token','fjrhe','hiTar','limit','xwjYy','session-id','Include\x20soft-deleted\x20feature\x20reviews','profile-name','Unknown\x20command','qbMmE','9rGDYsb','SuXDg','--checklist','xywiu','AANcv','4668783kUSclJ','RupTQ','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','--env','hook:enable','RANGER_PROFILE','HwOYO','dXpMc','unset\x20<env>\x20<key>','Feature\x20review\x20ID','zeLnk','3507084JxddeQ','ranger\x20feature\x20add-checklist-item','hLIXF','aGEKq','YZgkh','ktRVU','RpcNw','profile\x20ls','Set\x20up\x20a\x20local\x20browser\x20profile','status','feature\x20add-checklist-item','FxDws','start-path','207702oBBJpB','BOTzj','alias','HnWBu','error','Profile\x20name','DHvGF','YxbNv','checklist','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','yizbw','YLqVg','Summary:\x20','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','rfTVo','OwZrd','LnkSV','string','ranger\x20config\x20list','DQixb','10VAyAQg','array','ranger\x20list','Environment\x20name','kbCnB','60VfWUmu','tokenOrSubcommand','FuAcl','eAsQK','List\x20all\x20profiles','scope','Lnevm','with-deps','MPwoB','YoLne','trackCommandError','summary','opencode','USHYY','Alias\x20for\x20--mcp-bootstrap','nZMwx','RbDsS','jDmNn','jRIRm','NwatB','NgZBT','feature\x20get-feedback','\x20BLOCKED','Set\x20a\x20config\x20value','fbpjH','all','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','hook','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','ranger\x20config\x20get','create\x20<name>','wBypp','Config\x20value','VbrtR','severity','MUCHc','AyXCh','dkWFU','wTxIq','print-access-token','ranger\x20add-scenario','JuGAx','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','fHzTQ','Scenario\x20description','ranger\x20env\x20update','TRokU','get\x20<profile>\x20<key>','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','hGxaP','OAzZd','vnzmT','cBQsV','Manage\x20profile\x20configuration','mKyPa','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Skip\x20interactive\x20confirmation\x20prompts.','cgSsf','strictCommands','include-deleted','ranger\x20profile\x20use','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','WpqrJ','HRIIo','PVHnw','cdp-endpoint','WufJT','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ImZov','hiNpT','FDlCZ','yOxtb','cbBey','BPUmd','tAaWr','ranger\x20use','profile','help','feature\x20create','ZhvbM','BNZIT','Cfmec','Install\x20skills\x20for\x20OpenCode','includes','start','mjYBC','sVvZh','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','KHuGs','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20profile\x20config\x20get','UrmuI','JZnnH','debug-address-comments','Install\x20OS-level\x20dependencies\x20for\x20Chromium','\x0aIssues:','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','lfvDJ','FZGku','scenario','IGuOq','clean','snRRz','ZZxXF','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','report','17945870WQGNut','task','disable','name','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MjUfZ','Vsdxd','debug-outcome','add-scenario\x20<description>','login','mcp','jPqeC','EXEgX','resume\x20[id]','ranger\x20profile\x20update','UaEhL','Feature\x20review\x20name','sHwtB','CRiPz','pfwIl','TrrOR','Ranger\x20API\x20token','yzezM','jEqiK','cwd','GZMpC','partial','FaPCu','ranger\x20go','save-creds','axTVl','verified','HUmms','Ragnx','wvJen','pHxbx','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','lzync','user','log','--task','Feature\x20review\x20ID\x20to\x20restore','CLfDC','boolean','some','JpFKe','Run\x20full\x20interactive\x20setup','.ranger','ANbOI','ranger\x20get-review','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','profile\x20config\x20get','ranger\x20start','CBoNT','exit','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20config\x20unset','bTfXd','Mrxou','yRCez','IaZPx','Reason:\x20','issues','enable','lfTOd','Name\x20of\x20the\x20profile\x20to\x20update','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','epilogue','env-name','update\x20<profile-name>','mcp-bootstrap','bmEny','ovJsR','JEZFc','skip-chromium','description','tDSAA','ranger\x20feature\x20get-feedback','✓\x20Authenticated\x20to\x20','skills','OQloE','set\x20<profile>\x20<key>\x20<value>','lnyVo','ioPLT','encrypt\x20<profile>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','positional','length','RpuvX','list','allow-insecure-localhost','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','safe-mode','ImcKQ','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','GXasX','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ADTgx','headed','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','delete\x20[id]','Wybzq','FlDZs','setup\x20[tokenOrSubcommand]','akjXu','login\x20<name>','failed','sHOPX','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','rMokr','ranger\x20auth\x20encrypt','Authenticate\x20via\x20MCP\x20proxy','EXsYL','delete','--scenario','QjAUi','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'];_0x37ee=function(){return _0x21b781;};return _0x37ee();}_0x1634a3['config']({'path':join(findProjectRoot(),_0x1d089a(0x2d8))});import _0x55b901 from'yargs/yargs';function _0x1b12(_0x58e95d,_0x26e6c4){_0x58e95d=_0x58e95d-0x173;const _0x37ee23=_0x37ee();let _0x1b1278=_0x37ee23[_0x58e95d];return _0x1b1278;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.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{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x155eaf=>{const _0x196395=getCurrentCollector();_0x196395&&await _0x196395['trackCommandError'](_0x155eaf),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](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\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\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,\x20--scope\x20user|project)\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/reset\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=_0x1d089a(0x256),PROFILE_CONFIG_HELP=_0x1d089a(0x257);function warnRenamed(_0x3e2b62,_0x441550){const _0x1cfa9a=_0x1d089a;console[_0x1cfa9a(0x313)]('\x0a'+_0x3e2b62+_0x1cfa9a(0x2b9)+_0x441550+'\x0a');}function argUsed(_0x3f9f6b){const _0x6b61ff=_0x1d089a;return rawArgs[_0x6b61ff(0x203)](_0x2b45b5=>_0x2b45b5===_0x3f9f6b||_0x2b45b5[_0x6b61ff(0x290)](_0x3f9f6b+'='));}function warnFlagRenamed(_0x4e42d0,_0x12613d,_0x4c1a8d){const _0xe622da=_0x1d089a,_0xff6281={'ntKDj':function(_0x291322,_0x2c544a,_0x52b1a6){return _0x291322(_0x2c544a,_0x52b1a6);}};argUsed(_0x12613d)&&_0xff6281[_0xe622da(0x29f)](warnRenamed,_0x4e42d0+'\x20'+_0x12613d,_0x4e42d0+'\x20'+_0x4c1a8d);}async function runGoCommand(_0x5e45f1,_0x4fcfb1=![]){const _0x54cdf8=_0x1d089a,_0x1eb477={'ZZxXF':function(_0x4578e4,_0x4ec0c4,_0x19efc0){return _0x4578e4(_0x4ec0c4,_0x19efc0);},'oDGQW':'ranger\x20verify-feature','OwZrd':_0x54cdf8(0x2fa),'RpcNw':_0x54cdf8(0x1f3),'VVivp':'--notes','sirBY':function(_0x63402e,_0x34df49,_0x494a5c,_0x1670af){return _0x63402e(_0x34df49,_0x494a5c,_0x1670af);},'ZziOc':'--item','BCceN':_0x54cdf8(0x24b),'rMokr':'debug-address-comments','rfTVo':'\x20VERIFIED','frjmo':function(_0x53c204,_0x3e5d82){return _0x53c204===_0x3e5d82;},'FAxHy':'incomplete','xvvwZ':'\x20INCOMPLETE','wgaCs':function(_0x5b55be,_0x15dcce){return _0x5b55be===_0x15dcce;},'sHOPX':_0x54cdf8(0x2d3),'hNqTn':_0x54cdf8(0x181),'ZdaGW':'\x20FAILED','FlDZs':_0x54cdf8(0x1cc),'MqcCL':function(_0x33a595,_0x1e14b0){return _0x33a595===_0x1e14b0;}};_0x4fcfb1&&_0x1eb477[_0x54cdf8(0x1d4)](warnRenamed,_0x1eb477[_0x54cdf8(0x25f)],'ranger\x20go');warnFlagRenamed('ranger\x20go',_0x1eb477[_0x54cdf8(0x31e)],'--profile'),warnFlagRenamed(_0x1eb477[_0x54cdf8(0x308)],_0x54cdf8(0x1ff),_0x1eb477['VVivp']),_0x1eb477[_0x54cdf8(0x253)](warnFlagRenamed,_0x1eb477['RpcNw'],_0x1eb477['ZziOc'],_0x1eb477['BCceN']);const _0x1a032e=await loadRangerConfig(),_0x40aa86=isByokEnabled(),_0x42b2cf=_0x5e45f1[_0x54cdf8(0x2e5)],_0x2b7699=_0x1a032e[_0x54cdf8(0x2e5)],_0x435d53=await verifyFeature({'featureId':_0x5e45f1['feature'],'profile':_0x5e45f1[_0x54cdf8(0x1b9)]??_0x5e45f1['env']??process['env'][_0x54cdf8(0x2fc)],'notes':_0x5e45f1[_0x54cdf8(0x283)]??_0x5e45f1['task'],'scenario':_0x5e45f1[_0x54cdf8(0x1d0)]??_0x5e45f1['item'],'startPath':_0x5e45f1[_0x54cdf8(0x30e)],'baseUrl':_0x5e45f1['base-url'],'debugOutcome':_0x5e45f1[_0x54cdf8(0x1de)],'debugAddressComments':_0x5e45f1[_0x1eb477[_0x54cdf8(0x246)]],'headed':_0x5e45f1['headed'],'byokEnabled':_0x40aa86,'flagVerifyModel':_0x42b2cf,'configVerifyModel':_0x2b7699});console[_0x54cdf8(0x1fe)]('\x0a'+'='['repeat'](0x3c)),console[_0x54cdf8(0x1fe)](_0x435d53['evaluation']==='verified'?_0x1eb477[_0x54cdf8(0x31d)]:_0x1eb477['frjmo'](_0x435d53['evaluation'],_0x1eb477['FAxHy'])?_0x1eb477['xvvwZ']:_0x1eb477['wgaCs'](_0x435d53['evaluation'],_0x54cdf8(0x1f1))?'\x20PARTIAL':_0x1eb477['frjmo'](_0x435d53[_0x54cdf8(0x24e)],_0x1eb477[_0x54cdf8(0x244)])?_0x1eb477['hNqTn']:_0x1eb477[_0x54cdf8(0x265)]),console['log']('='['repeat'](0x3c)),console['log'](_0x54cdf8(0x31b)+_0x435d53[_0x54cdf8(0x176)]),console[_0x54cdf8(0x1fe)]('Evaluation:\x20'+_0x435d53['evaluation']),console[_0x54cdf8(0x1fe)](_0x54cdf8(0x214)+_0x435d53[_0x54cdf8(0x27e)]),_0x435d53[_0x54cdf8(0x215)]?.[_0x54cdf8(0x22f)]&&(console['log'](_0x1eb477[_0x54cdf8(0x23f)]),_0x435d53[_0x54cdf8(0x215)][_0x54cdf8(0x2ac)]((_0x2fc813,_0x4c2d52)=>{const _0xf7fba2=_0x54cdf8;console[_0xf7fba2(0x1fe)]('\x0a'+(_0x4c2d52+0x1)+_0xf7fba2(0x2cd)+_0x2fc813[_0xf7fba2(0x18d)]+']\x20'+_0x2fc813[_0xf7fba2(0x223)]);})),process['exit'](_0x1eb477['MqcCL'](_0x435d53['evaluation'],_0x54cdf8(0x1f6))?0x0:0x1);}export function buildParser(_0x18fa0e){const _0x36b798=_0x1d089a,_0x5e219f={'YczMA':_0x36b798(0x320),'MkThN':'scenario','ImZov':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','phFBu':'checklist','ovJsR':'array','Wybzq':function(_0x3f8043,_0x4eede6){return _0x3f8043+_0x4eede6;},'eFuBe':_0x36b798(0x296),'akjXu':_0x36b798(0x2e7),'YoLne':function(_0x1e229e,_0x436a95,_0x29c1f2,_0x5086ee){return _0x1e229e(_0x436a95,_0x29c1f2,_0x5086ee);},'pHxbx':_0x36b798(0x2a1),'MPwoB':_0x36b798(0x24b),'CRiPz':_0x36b798(0x2ce),'djbwe':_0x36b798(0x2c8),'OAzZd':'boolean','BOTzj':_0x36b798(0x264),'lnyVo':'number','rwzjP':_0x36b798(0x1a7),'vnzmT':'Include\x20soft-deleted\x20feature\x20reviews','Klqie':function(_0x50cd87,_0x3df3ff,_0x1248f6){return _0x50cd87(_0x3df3ff,_0x1248f6);},'FhoGU':'show','uaqPM':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','lfvDJ':_0x36b798(0x26f),'DQixb':_0x36b798(0x223),'WufJT':'Scenario\x20description','CBoNT':'add-scenario','cgSsf':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','fHzTQ':function(_0x5bb7e8,_0x239b2b,_0x40f303){return _0x5bb7e8(_0x239b2b,_0x40f303);},'NduYk':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Usioi':_0x36b798(0x298),'vfWeN':_0x36b798(0x1c6),'snRRz':_0x36b798(0x1d6),'qbMmE':function(_0x4cccb8,_0x3aca1f,_0x375d99){return _0x4cccb8(_0x3aca1f,_0x375d99);},'IbUHR':_0x36b798(0x300),'jIBoI':_0x36b798(0x200),'UrmuI':_0x36b798(0x21e),'jQQuD':'setup:all','AqkkV':'with-deps','lURIq':_0x36b798(0x2db),'Ragnx':function(_0x1731e2,_0x5d05c3){return _0x1731e2(_0x5d05c3);},'WnWpO':_0x36b798(0x28a),'sMJso':'scope','tDSAA':_0x36b798(0x2c6),'IaZPx':'Base\x20URL\x20of\x20the\x20running\x20app','OBYOz':'Skip\x20browser\x20authentication','FxDws':_0x36b798(0x232),'jDmNn':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','cbBey':'Ranger\x20API\x20token','MuQBL':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','USHYY':'skip-auth','VbrtR':'Skip\x20authentication','AANcv':_0x36b798(0x259),'jEqiK':_0x36b798(0x177),'pneOd':_0x36b798(0x1e1),'YxbNv':function(_0x1b3863){return _0x1b3863();},'RIjzk':_0x36b798(0x245),'NwatB':_0x36b798(0x2b3),'jVZdR':_0x36b798(0x205),'FuAcl':'deps','wAVMI':_0x36b798(0x2a6),'SAWAe':_0x36b798(0x1e0),'czskV':'Authenticate\x20with\x20Ranger','ZhvbM':_0x36b798(0x2c4),'SnKSv':_0x36b798(0x30a),'GXasX':_0x36b798(0x222),'afsDg':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','vNyjP':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','nZMwx':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','LnkSV':_0x36b798(0x2e8),'HwOYO':_0x36b798(0x2b8),'FaPCu':'profile','rqCQn':_0x36b798(0x295),'PvlwU':'setup-ci','HRIIo':'user','aMqFW':_0x36b798(0x2a3),'cBQsV':function(_0xeaa1b5,_0x34bc96){return _0xeaa1b5(_0x34bc96);},'yRCez':'skillup','LJkgi':function(_0x3e09da,_0x1bc61d,_0x17a02c){return _0x3e09da(_0x1bc61d,_0x17a02c);},'JZnnH':_0x36b798(0x2ef),'OVByw':_0x36b798(0x218),'bBwUj':'name','oykyR':_0x36b798(0x1f4),'SguyJ':_0x36b798(0x1c4),'EXEgX':_0x36b798(0x195),'lZpJD':_0x36b798(0x262),'HkvCo':'safe-mode','SzJqh':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','SkvDu':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','IJeTe':'profile\x20add','eAsQK':'Name\x20of\x20the\x20profile','PeONE':'profile\x20encrypt-auth','qtRcW':_0x36b798(0x2ad),'jgWTK':_0x36b798(0x2b4),'bTfXd':function(_0x242b82,_0x32ef7f,_0x1f24c3){return _0x242b82(_0x32ef7f,_0x1f24c3);},'cvJyL':_0x36b798(0x18b),'rzdga':_0x36b798(0x229),'MUCHc':'reset\x20<profile>','lwYmr':'add\x20<profile-name>','CaQYw':'use\x20<profile-name>','yizbw':'Switch\x20to\x20using\x20a\x20specific\x20profile','cxOHu':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','oURXk':_0x36b798(0x32c),'HgCRI':'Update\x20authentication\x20for\x20an\x20existing\x20profile','huTFA':'config','EXsYL':_0x36b798(0x1a0),'CaSCc':'You\x20must\x20specify\x20a\x20profile\x20subcommand','iLPcv':_0x36b798(0x30b),'foPcF':function(_0x1d0e89,_0xb31e60,_0x5b3ef8){return _0x1d0e89(_0xb31e60,_0x5b3ef8);},'BPUmd':function(_0x4528f6){return _0x4528f6();},'wvJen':function(_0x4439b4,_0x3a0c00,_0x5b29c9){return _0x4439b4(_0x3a0c00,_0x5b29c9);},'SjvSx':'feature','HnWBu':'Optional\x20feature\x20ID','XfCtP':_0x36b798(0x30e),'FZGku':_0x36b798(0x279),'ADTgx':'base-url','DXAYX':_0x36b798(0x25d),'XPHXC':_0x36b798(0x23a),'yzezM':_0x36b798(0x2c1),'Cfmec':_0x36b798(0x2d3),'TdiJi':_0x36b798(0x2ae),'BNZIT':_0x36b798(0x1ca),'xywiu':_0x36b798(0x27b),'WpqrJ':'item','xMtaN':_0x36b798(0x247),'Pezgm':_0x36b798(0x314),'HUmms':_0x36b798(0x22c),'zwkIj':_0x36b798(0x2d1),'RupTQ':_0x36b798(0x294),'LFFos':_0x36b798(0x1c1),'ennGZ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','xwjYy':_0x36b798(0x2dc),'eWCBP':'model','atAKC':_0x36b798(0x1de),'STZvW':function(_0x3b5c50,_0x4a16d6,_0x41e251){return _0x3b5c50(_0x4a16d6,_0x41e251);},'gkdEI':_0x36b798(0x21c),'UoLHb':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','BKzeC':'ranger\x20profile\x20add','QRyef':_0x36b798(0x28d),'hiTar':_0x36b798(0x2e2),'RpuvX':_0x36b798(0x188),'UcuZk':'config\x20get','aGEKq':'Environment\x20name','SXsqk':_0x36b798(0x321),'QjAUi':_0x36b798(0x28f),'KHuGs':_0x36b798(0x29c),'jmSSf':'ranger\x20config\x20set','ovkKi':'list\x20<env>','VDAjr':_0x36b798(0x27f),'EHzRX':'ranger\x20env\x20ls','YCMBS':function(_0x45a388,_0x4648be,_0xd76dac){return _0x45a388(_0x4648be,_0xd76dac);},'hiNpT':function(_0x4e7888,_0x1e79aa,_0x5bdfbd){return _0x4e7888(_0x1e79aa,_0x5bdfbd);},'whAwc':'update\x20<env-name>','iLYCs':'You\x20must\x20specify\x20an\x20env\x20subcommand','kVyLC':function(_0x25ece1,_0x67b155,_0x1e30f6){return _0x25ece1(_0x67b155,_0x1e30f6);},'tHOgg':_0x36b798(0x2b1),'hGxaP':function(_0x1799a7,_0x3dcb55,_0x4b8584,_0x110a64){return _0x1799a7(_0x3dcb55,_0x4b8584,_0x110a64);},'VhixL':_0x36b798(0x1bb),'dkWFU':function(_0x4cb4a0,_0x5d4aad,_0x31383d){return _0x4cb4a0(_0x5d4aad,_0x31383d);},'WTHoW':_0x36b798(0x26e),'jxUAS':_0x36b798(0x325),'NWuHX':function(_0x9c0559,_0x21839f,_0x319b7b){return _0x9c0559(_0x21839f,_0x319b7b);},'zdsgZ':'ranger\x20feature\x20show','zeLnk':function(_0x3cce88,_0x554625,_0x382dae){return _0x3cce88(_0x554625,_0x382dae);},'bHVUL':_0x36b798(0x268),'PcfQr':_0x36b798(0x180),'dwYJI':'ranger\x20resume','fWRHI':function(_0x2dc7a9,_0x44fa03,_0x3f65aa){return _0x2dc7a9(_0x44fa03,_0x3f65aa);},'FxZru':'ranger\x20delete','uXKFc':_0x36b798(0x189),'kYvNo':_0x36b798(0x231),'oUWvn':_0x36b798(0x1e4),'XJqbb':_0x36b798(0x2cc),'TWZqO':_0x36b798(0x2fb),'CLfDC':function(_0x17d69e,_0x35cd0f,_0x427140){return _0x17d69e(_0x35cd0f,_0x427140);},'rCXxL':'hook:disable','IWJnd':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','fbpjH':_0x36b798(0x1d9),'tAaWr':_0x36b798(0x292),'LrDKm':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','OpgjA':_0x36b798(0x2ed),'JpFKe':function(_0x459d60,_0x2b2947){return _0x459d60(_0x2b2947);},'qLMvq':function(_0x4c69c0,_0x9e3af4,_0x190357){return _0x4c69c0(_0x9e3af4,_0x190357);},'dXpMc':_0x36b798(0x2f0),'ckHHI':function(_0x57df69,_0x5bfa90){return _0x57df69(_0x5bfa90);},'pAlxJ':'List\x20all\x20feature\x20reviews','iHkjn':_0x36b798(0x2bc),'RbDsS':'edit-scenario\x20<description>','zxcfP':'report\x20[id]','fOisE':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','dVoSo':'delete\x20[id]','AwfpH':_0x36b798(0x219),'eMiTH':_0x36b798(0x2ab),'lCKFm':_0x36b798(0x240),'Ivwww':'Initialize\x20Ranger\x20in\x20your\x20project','LiSrC':'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','SHrVf':_0x36b798(0x281),'maPZn':_0x36b798(0x285),'sHwtB':_0x36b798(0x233),'qkxNQ':'profiles','TRokU':_0x36b798(0x29e),'ytsrN':'update','KIaNz':'print-access-token','FDlCZ':_0x36b798(0x274),'jRIRm':'auth','lDSuh':'start\x20[token]','CpfBp':'verify-feature','GZMpC':'add\x20env\x20<env-name>','FTwxK':_0x36b798(0x186),'hLIXF':function(_0x4bf42d,_0x1edadd){return _0x4bf42d+_0x1edadd;},'maShS':'Documentation:\x0a'};return _0x5e219f['ckHHI'](_0x55b901,_0x18fa0e??process[_0x36b798(0x273)]['slice'](0x2))[_0x36b798(0x2c3)]('ranger')[_0x36b798(0x25b)](TOP_LEVEL_HELP)['version'](_0x5e219f['BPUmd'](getCurrentVersion))['command']('create\x20<name>',_0x36b798(0x318),_0xf599ee=>{const _0xe00fa0=_0x36b798;return _0xf599ee['positional']('name',{'type':_0x5e219f[_0xe00fa0(0x278)],'description':_0xe00fa0(0x1e7),'demandOption':!![]})[_0xe00fa0(0x2a8)](_0xe00fa0(0x223),{'type':_0x5e219f[_0xe00fa0(0x278)],'alias':'d','description':_0xe00fa0(0x2ba)})['option'](_0x5e219f['MkThN'],{'type':_0xe00fa0(0x324),'alias':'c','description':_0x5e219f['ImZov']})['option'](_0x5e219f['phFBu'],{'type':_0x5e219f['ovJsR'],'hidden':!![]});},async _0x2e15b8=>{const _0x3e5a5c=_0x36b798;if(!_0x2e15b8['name']){console['error'](_0x5e219f[_0x3e5a5c(0x23e)](_0x5e219f['eFuBe'],_0x5e219f[_0x3e5a5c(0x241)])),process[_0x3e5a5c(0x20d)](0x1);return;}_0x5e219f[_0x3e5a5c(0x174)](warnFlagRenamed,_0x5e219f[_0x3e5a5c(0x1fa)],_0x3e5a5c(0x2f4),_0x5e219f[_0x3e5a5c(0x173)]);const _0x124b77=_0x2e15b8[_0x3e5a5c(0x1d0)]||_0x2e15b8['checklist'];await withTelemetry(_0x5e219f[_0x3e5a5c(0x1e9)],()=>featureCreate(_0x2e15b8[_0x3e5a5c(0x1da)],{'description':_0x2e15b8['description'],'scenarios':_0x124b77}));})['command']('list',_0x5e219f['pAlxJ'],_0x4c8913=>{const _0x711f14=_0x36b798;return _0x4c8913['option'](_0x5e219f['djbwe'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f[_0x711f14(0x310)]})[_0x711f14(0x2a8)](_0x711f14(0x2eb),{'type':_0x711f14(0x277),'alias':'l','description':_0x711f14(0x238),'default':0xa})[_0x711f14(0x2a8)](_0x711f14(0x28c),{'type':_0x5e219f[_0x711f14(0x22a)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x711f14(0x2a8)](_0x5e219f[_0x711f14(0x26b)],{'type':_0x711f14(0x202),'alias':'d','description':_0x5e219f[_0x711f14(0x19e)],'default':![]});},async _0x16ddda=>{const _0x1589b9=_0x36b798;await _0x5e219f['Klqie'](withTelemetry,'list',()=>featureList({'currentBranch':_0x16ddda['current-branch'],'limit':_0x16ddda['limit'],'offset':_0x16ddda[_0x1589b9(0x28c)],'includeDeleted':_0x16ddda['include-deleted']}));})['command'](_0x5e219f['iHkjn'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xc8de31=>{const _0x785f19=_0x36b798;return _0xc8de31['positional']('id',{'type':_0x5e219f[_0x785f19(0x278)],'description':_0x785f19(0x300)});},async _0x569dce=>{const _0x4dfe34=_0x36b798;await _0x5e219f['Klqie'](withTelemetry,_0x5e219f[_0x4dfe34(0x2b0)],()=>featureShow(_0x569dce['id']));})['command'](_0x36b798(0x1e4),_0x36b798(0x22d),_0x15896c=>{return _0x15896c['positional']('id',{'type':'string','description':_0x5e219f['uaqPM']});},async _0xc899e6=>{const _0x567429=_0x36b798;await withTelemetry(_0x5e219f[_0x567429(0x1ce)],()=>featureResume(_0xc899e6['id']));})['command'](_0x36b798(0x1df),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1adf37=>{const _0x427fb3=_0x36b798;return _0x1adf37['positional'](_0x5e219f[_0x427fb3(0x322)],{'type':_0x5e219f['YczMA'],'description':_0x5e219f[_0x427fb3(0x1af)],'demandOption':!![]})[_0x427fb3(0x2a8)]('id',{'type':_0x5e219f['YczMA'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5f0117=>{const _0x2752c2=_0x36b798;await withTelemetry(_0x5e219f[_0x2752c2(0x20c)],()=>featureAddScenario(_0x5f0117['description'],_0x5f0117['id']));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x17b)],_0x36b798(0x2bd),_0x3ec893=>{const _0xa2e0c7=_0x36b798;return _0x3ec893[_0xa2e0c7(0x22e)](_0x5e219f[_0xa2e0c7(0x322)],{'type':_0x5e219f[_0xa2e0c7(0x278)],'description':_0xa2e0c7(0x26d),'demandOption':!![]})[_0xa2e0c7(0x2a8)](_0x5e219f['MkThN'],{'type':_0xa2e0c7(0x277),'description':_0xa2e0c7(0x2e4),'demandOption':!![]})['option']('id',{'type':_0x5e219f[_0xa2e0c7(0x278)],'description':_0x5e219f[_0xa2e0c7(0x1a5)]});},async _0x4f9e47=>{const _0x3002ac=_0x36b798;await _0x5e219f[_0x3002ac(0x196)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x4f9e47['description'],{'id':_0x4f9e47['id'],'scenario':_0x4f9e47['scenario']}));})[_0x36b798(0x2a9)](_0x5e219f['zxcfP'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x23a286=>{const _0x240d3b=_0x36b798;return _0x23a286[_0x240d3b(0x22e)]('id',{'type':_0x5e219f['YczMA'],'description':'Feature\x20review\x20ID'})['option'](_0x240d3b(0x2b5),{'type':_0x240d3b(0x324),'description':_0x5e219f['NduYk']})[_0x240d3b(0x2a8)](_0x5e219f['Usioi'],{'type':_0x5e219f[_0x240d3b(0x19d)],'description':_0x5e219f['vfWeN'],'default':![]});},async _0xed8142=>{const _0x1747d5=_0x36b798,_0x162505=_0xed8142['exclude-scenario'],_0x51dcee=_0x162505?_0x162505['map'](_0x7ad2c8=>Number(_0x7ad2c8)):undefined;await _0x5e219f[_0x1747d5(0x2ca)](withTelemetry,_0x5e219f[_0x1747d5(0x1d3)],()=>featureReportPrDescription(_0xed8142['id'],{'excludeScenarios':_0x51dcee,'json':_0xed8142['json']}));})['command'](_0x36b798(0x25e),_0x5e219f['fOisE'],_0x7c9651=>{const _0x525ab8=_0x36b798;return _0x7c9651[_0x525ab8(0x22e)]('id',{'type':_0x5e219f[_0x525ab8(0x278)],'description':_0x5e219f[_0x525ab8(0x1a5)]});},async _0x1c8af5=>{await _0x5e219f['qbMmE'](withTelemetry,'get-review',()=>featureGetReview(_0x1c8af5['id']));})['command'](_0x5e219f['dVoSo'],_0x5e219f['AwfpH'],_0x4d1626=>{return _0x4d1626['positional']('id',{'type':'string','description':_0x5e219f['IbUHR']});},async _0x31531d=>{const _0x5d9eb0=_0x36b798;await withTelemetry(_0x5d9eb0(0x24a),()=>featureDelete(_0x31531d['id']));})['command']('restore\x20<id>',_0x5e219f['eMiTH'],_0x18effc=>{const _0x42fac1=_0x36b798;return _0x18effc['positional']('id',{'type':_0x42fac1(0x320),'description':_0x5e219f['jIBoI'],'demandOption':!![]});},async _0x21171=>{await _0x5e219f['Klqie'](withTelemetry,'restore',()=>featureRestore(_0x21171['id']));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x261)],_0x5e219f[_0x36b798(0x2e0)],_0x35c9f5=>{const _0x4a49c5=_0x36b798,_0x23fd86={'mjYBC':'string','cOMga':_0x5e219f[_0x4a49c5(0x1b5)],'KxaUz':_0x4a49c5(0x222),'pjdCO':_0x5e219f[_0x4a49c5(0x276)],'HedYa':_0x5e219f[_0x4a49c5(0x178)],'OQloE':_0x5e219f['VbrtR'],'oNOfK':_0x5e219f[_0x4a49c5(0x2e6)],'yOxtb':_0x4a49c5(0x1cb),'jcggf':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Vsdxd':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','UaEhL':_0x5e219f[_0x4a49c5(0x2f6)],'PwIIQ':_0x5e219f[_0x4a49c5(0x19d)],'JuGAx':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','zcxyt':_0x5e219f[_0x4a49c5(0x1ee)],'dTLVD':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','yNpTr':_0x4a49c5(0x232),'Lnevm':_0x5e219f[_0x4a49c5(0x17c)],'KuAJo':_0x4a49c5(0x21e),'JEZFc':_0x5e219f['pneOd'],'TrrOR':'setup:deps','MjUfZ':_0x4a49c5(0x2bf),'iREYu':function(_0x313415){return _0x5e219f['YxbNv'](_0x313415);},'uGhyf':function(_0x262d89){const _0x52d2e4=_0x4a49c5;return _0x5e219f[_0x52d2e4(0x316)](_0x262d89);},'hFbkg':_0x5e219f['RIjzk'],'wARwk':_0x5e219f[_0x4a49c5(0x270)],'sVvZh':_0x4a49c5(0x1fd),'dkQtD':_0x4a49c5(0x258),'tDlDt':_0x5e219f[_0x4a49c5(0x17e)],'EdzxG':function(_0x4a54b0,_0x4085e5){return _0x4a54b0!==_0x4085e5;},'axTVl':function(_0x3d872c,_0x331c92,_0x5466ab){const _0x5374aa=_0x4a49c5;return _0x5e219f[_0x5374aa(0x2f1)](_0x3d872c,_0x331c92,_0x5466ab);}};return _0x35c9f5['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\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\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x4a49c5(0x22e)](_0x4a49c5(0x329),{'type':_0x5e219f['YczMA'],'description':_0x4a49c5(0x23c)})[_0x4a49c5(0x2a9)]('all',_0x5e219f['jVZdR'],_0x28f519=>{const _0x34ff09=_0x4a49c5;return _0x28f519['option']('token',{'type':_0x23fd86[_0x34ff09(0x1c2)],'description':_0x23fd86['cOMga']})[_0x34ff09(0x2a8)](_0x23fd86['KxaUz'],{'type':_0x34ff09(0x202),'description':_0x23fd86[_0x34ff09(0x2a0)],'default':![]})['option'](_0x23fd86['HedYa'],{'type':'boolean','description':_0x23fd86[_0x34ff09(0x228)],'default':![]})['option'](_0x23fd86['oNOfK'],{'type':'boolean','description':_0x23fd86[_0x34ff09(0x1b4)],'default':![]})['option'](_0x34ff09(0x32d),{'type':_0x34ff09(0x320),'choices':['user'],'hidden':!![],'description':_0x23fd86[_0x34ff09(0x28b)]})[_0x34ff09(0x2a8)]('url',{'type':_0x23fd86['mjYBC'],'description':_0x23fd86[_0x34ff09(0x1dd)]})['option'](_0x23fd86[_0x34ff09(0x1e6)],{'type':_0x23fd86['PwIIQ'],'description':_0x23fd86[_0x34ff09(0x194)],'default':![]})[_0x34ff09(0x2a8)](_0x23fd86['zcxyt'],{'type':_0x34ff09(0x202),'description':_0x23fd86['dTLVD'],'default':![]})['option'](_0x23fd86[_0x34ff09(0x2dd)],{'type':_0x23fd86[_0x34ff09(0x2af)],'description':_0x23fd86[_0x34ff09(0x32e)],'default':![]})['option'](_0x23fd86['KuAJo'],{'type':'boolean','description':_0x34ff09(0x2df),'default':![]})[_0x34ff09(0x2a8)](_0x23fd86[_0x34ff09(0x221)],{'type':_0x23fd86['PwIIQ'],'description':_0x34ff09(0x179),'default':![]});},async _0x325b1d=>{const _0x477962=_0x4a49c5;(_0x325b1d[_0x5e219f[_0x477962(0x1c8)]]||_0x325b1d['mcp'])&&await withTelemetry(_0x477962(0x21e),()=>mcpBootstrap()),await withTelemetry(_0x5e219f['jQQuD'],_0x596008=>start(_0x325b1d[_0x477962(0x2e8)],{'skipChromium':_0x325b1d[_0x477962(0x222)],'skipAuth':_0x325b1d[_0x477962(0x2bb)],'withDeps':_0x325b1d['with-deps'],'scope':_0x325b1d['scope'],'url':_0x325b1d['url'],'force':_0x325b1d['force'],'opencode':_0x325b1d[_0x477962(0x177)],'allowInsecureLocalhost':_0x325b1d['allow-insecure-localhost']},_0x596008));})['command'](_0x5e219f[_0x4a49c5(0x32a)],_0x5e219f['wAVMI'],_0xee38ce=>{const _0xbdeeb2=_0x4a49c5;return _0xee38ce[_0xbdeeb2(0x2a8)](_0x5e219f[_0xbdeeb2(0x2e6)],{'type':_0x5e219f[_0xbdeeb2(0x19d)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x1261cc=>{const _0x476ca0=_0x4a49c5;await withTelemetry(_0x23fd86[_0x476ca0(0x1eb)],()=>ensureChromium(_0x1261cc['with-deps']));})['command'](_0x5e219f['SAWAe'],_0x5e219f['czskV'],_0x277981=>{const _0xc3b92d=_0x4a49c5;return _0x277981[_0xc3b92d(0x2a8)](_0xc3b92d(0x2e8),{'type':_0x23fd86[_0xc3b92d(0x1c2)],'description':_0x23fd86[_0xc3b92d(0x1dc)]})[_0xc3b92d(0x2a8)](_0x23fd86[_0xc3b92d(0x221)],{'type':_0x23fd86[_0xc3b92d(0x2af)],'description':_0xc3b92d(0x248),'default':![]});},async _0x3334aa=>{const _0x1db24e=_0x4a49c5;await _0x5e219f[_0x1db24e(0x2f1)](withTelemetry,'setup:login',async()=>{const _0x5d358c=_0x1db24e;if(_0x3334aa[_0x5d358c(0x1e1)]){await _0x23fd86['iREYu'](mcpBootstrap);const _0x5a25d9=await _0x23fd86['uGhyf'](refreshCliToken);if(!_0x5a25d9)throw new Error(_0x23fd86[_0x5d358c(0x25c)]);const _0x2523f3=await getCurrentUser(_0x5a25d9);if(!_0x2523f3['success'])throw new Error(_0x5d358c(0x187)+_0x2523f3[_0x5d358c(0x313)]);console[_0x5d358c(0x1fe)](_0x5d358c(0x226)+_0x2523f3[_0x5d358c(0x1fd)]['organizationName']);return;}await authenticate(_0x3334aa[_0x5d358c(0x2e8)]);});})[_0x4a49c5(0x2a9)](_0x4a49c5(0x227),_0x5e219f[_0x4a49c5(0x1bc)],_0x47d435=>{const _0x27112f=_0x4a49c5;return _0x47d435[_0x27112f(0x2a8)](_0x23fd86['wARwk'],{'type':_0x23fd86[_0x27112f(0x1c2)],'choices':[_0x23fd86[_0x27112f(0x1c3)],_0x23fd86['dkQtD']],'description':_0x23fd86['tDlDt']})['option'](_0x23fd86['zcxyt'],{'type':_0x27112f(0x202),'description':_0x23fd86[_0x27112f(0x291)],'default':![]});},async _0x1c912e=>{const _0x2ee6bd={'wBypp':function(_0x2aad2b,_0x2c7303){return _0x2aad2b(_0x2c7303);},'SuXDg':function(_0x5a8b40,_0x2658d6,_0x2ddedc){return _0x5a8b40(_0x2658d6,_0x2ddedc);},'FfpVk':_0x5e219f['lURIq'],'lWiGP':function(_0x370d95){return _0x370d95();},'ANbOI':function(_0x1b0c26,_0x168555){const _0x4618a7=_0x1b12;return _0x5e219f[_0x4618a7(0x1f8)](_0x1b0c26,_0x168555);}};await withTelemetry(_0x5e219f['WnWpO'],async()=>{const _0x3c725a=_0x1b12,_0x143e36=_0x1c912e[_0x3c725a(0x32d)];if(_0x1c912e['opencode']){const _0x495559=await _0x2ee6bd[_0x3c725a(0x18a)](ensureOpencodePluginConfig,_0x143e36);_0x495559&&await _0x2ee6bd[_0x3c725a(0x2f3)](installSkill,_0x2ee6bd['FfpVk'],{'level':_0x495559['scope'],'cliVersion':_0x2ee6bd['lWiGP'](getCurrentVersion),'platform':'opencode'});}else await _0x2ee6bd[_0x3c725a(0x207)](ensureClaudePlugin,_0x143e36),await ensureClaudeSkills(_0x143e36);});})['command']('profiles',_0x5e219f['SnKSv'],_0x32600d=>{const _0x5e6af2=_0x4a49c5;return _0x32600d[_0x5e6af2(0x2a8)](_0x5e219f['sMJso'],{'type':_0x5e219f['YczMA'],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x5e219f['tDSAA'],{'type':'string','description':_0x5e219f[_0x5e6af2(0x213)]})['option']('skip-auth',{'type':_0x5e6af2(0x202),'description':_0x5e219f['OBYOz'],'default':![]})['option'](_0x5e6af2(0x259),{'type':'boolean','description':_0x5e6af2(0x29a),'default':![]})['option'](_0x5e219f[_0x5e6af2(0x30d)],{'type':_0x5e219f[_0x5e6af2(0x19d)],'description':_0x5e219f['jDmNn'],'default':![]});},async _0x118a66=>{const _0x12f2bc=_0x4a49c5,_0x3bff92=_0x118a66['scope'];_0x3bff92!==undefined&&_0x23fd86['EdzxG'](_0x3bff92,_0x12f2bc(0x1fd))&&(console['error']('ranger\x20setup\x20profiles\x20--scope='+_0x3bff92+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now\x20(cloud\x20profiles\x20make\x20'+'project-scope\x20setup\x20obsolete).\x20Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await _0x23fd86[_0x12f2bc(0x1f5)](withTelemetry,'setup:profiles',_0x15ae8d=>ensureLocalEnv({'url':_0x118a66[_0x12f2bc(0x2c6)],'force':_0x118a66['force'],'allowInsecureLocalhost':_0x118a66[_0x12f2bc(0x232)],'scope':_0x12f2bc(0x1fd)},_0x15ae8d));})[_0x4a49c5(0x2a8)](_0x5e219f[_0x4a49c5(0x237)],{'type':_0x4a49c5(0x202),'description':_0x4a49c5(0x1a3),'default':![]})['option']('scope',{'type':_0x5e219f['YczMA'],'choices':[_0x4a49c5(0x1fd)],'hidden':!![],'description':_0x5e219f['afsDg']})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x5e219f['AANcv'],{'type':'boolean','description':_0x4a49c5(0x29a),'default':![]})[_0x4a49c5(0x2a8)]('opencode',{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x4a49c5(0x232),{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':_0x4a49c5(0x1aa),'default':![]})['option'](_0x5e219f['UrmuI'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f['vNyjP'],'default':![]})[_0x4a49c5(0x2a8)](_0x5e219f[_0x4a49c5(0x178)],{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x4a49c5(0x2a8)]('with-deps',{'type':'boolean','description':_0x5e219f[_0x4a49c5(0x17a)],'default':![]})['option'](_0x5e219f[_0x4a49c5(0x31f)],{'type':_0x5e219f[_0x4a49c5(0x278)],'hidden':!![],'description':_0x5e219f[_0x4a49c5(0x2fd)]});},async _0x419f1f=>{const _0x16a8dc=_0x36b798,_0x18fd3c=_0x419f1f['tokenOrSubcommand'],_0x10c9ac=_0x419f1f[_0x16a8dc(0x2e8)]??_0x18fd3c;_0x419f1f[_0x5e219f[_0x16a8dc(0x1c8)]]&&await withTelemetry(_0x16a8dc(0x21e),()=>mcpBootstrap()),await withTelemetry(_0x16a8dc(0x1c1),_0x2a4f4f=>start(_0x10c9ac,{'skipChromium':_0x419f1f[_0x16a8dc(0x222)],'skipAuth':_0x419f1f['skip-auth'],'withDeps':_0x419f1f['with-deps'],'scope':_0x419f1f['scope'],'url':_0x419f1f['url'],'force':_0x419f1f['force'],'opencode':_0x419f1f['opencode'],'allowInsecureLocalhost':_0x419f1f['allow-insecure-localhost']},_0x2a4f4f));})[_0x36b798(0x2a9)](_0x36b798(0x266),_0x5e219f['LiSrC'],_0x51ca3b=>{const _0x1000df=_0x36b798;return _0x51ca3b['positional'](_0x5e219f[_0x1000df(0x31f)],{'type':_0x1000df(0x320),'description':_0x1000df(0x1ec),'demandOption':!![]})[_0x1000df(0x2a8)](_0x5e219f[_0x1000df(0x1f2)],{'type':_0x1000df(0x320),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x1000df(0x2a8)](_0x1000df(0x2d6),{'type':_0x5e219f['YczMA'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x1000df(0x2a8)](_0x5e219f['GXasX'],{'type':'boolean','description':_0x5e219f['rqCQn'],'default':![]});},async _0x513f41=>{const _0xc2ad4e=_0x36b798;await withTelemetry(_0x5e219f['PvlwU'],_0x5aa851=>setupCi(_0x513f41[_0xc2ad4e(0x2e8)],{'profile':_0x513f41[_0xc2ad4e(0x1b9)],'baseUrl':_0x513f41[_0xc2ad4e(0x2d6)],'skipChromium':_0x513f41[_0xc2ad4e(0x222)]},_0x5aa851));})[_0x36b798(0x2a9)]('login',_0x5e219f['SHrVf'],()=>{},async()=>{const _0x49c6a8=_0x36b798;await withTelemetry(_0x49c6a8(0x1e0),()=>login());})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x212)],_0x5e219f[_0x36b798(0x2e3)],_0x5f0e1b=>{const _0x4b10b8=_0x36b798;return _0x5f0e1b[_0x4b10b8(0x2a8)](_0x5e219f['jEqiK'],{'type':_0x5e219f['OAzZd'],'description':_0x4b10b8(0x1bf),'default':![]})['option'](_0x5e219f[_0x4b10b8(0x270)],{'type':'string','choices':[_0x5e219f['HRIIo'],'project'],'description':_0x5e219f['aMqFW']});},async _0x1a55fb=>{const _0x59e9bb=_0x36b798,_0x4924d5=_0x5e219f[_0x59e9bb(0x19f)](Boolean,_0x1a55fb[_0x59e9bb(0x177)]);await withTelemetry(_0x5e219f[_0x59e9bb(0x212)],()=>skillup({'autoInstall':_0x1a55fb[_0x59e9bb(0x32d)],'platform':_0x4924d5?_0x59e9bb(0x177):'claude'}));})['command'](_0x36b798(0x1d2),_0x5e219f[_0x36b798(0x1e8)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x36b798(0x2a9)]([_0x5e219f['FaPCu'],_0x5e219f['qkxNQ']],'Manage\x20profiles',_0x439ec7=>{const _0x2a1686=_0x36b798,_0x465d66={'TmsrK':'skip-auth','AwppE':_0x2a1686(0x31c),'OXtav':_0x5e219f[_0x2a1686(0x1e3)],'Dgnit':_0x5e219f['OAzZd'],'RHAkV':_0x5e219f['lZpJD'],'UBPXS':_0x5e219f['HkvCo'],'fjrhe':_0x5e219f[_0x2a1686(0x29d)],'CSsLp':_0x5e219f['SkvDu'],'uPPYz':_0x2a1686(0x258),'UiIGP':_0x2a1686(0x185),'sruDO':function(_0x46a02e,_0x51e307,_0xfe1530,_0x3f18b9){return _0x46a02e(_0x51e307,_0xfe1530,_0x3f18b9);},'AyXCh':_0x5e219f['IJeTe'],'emfyG':'cdp-endpoint','mKyPa':'string','tGdnZ':_0x5e219f[_0x2a1686(0x32b)],'NgZBT':function(_0x429715,_0x4235c5,_0x47fa1e){return _0x429715(_0x4235c5,_0x47fa1e);},'VnCHp':_0x5e219f['PeONE'],'pMETM':function(_0x1c0b03,_0x431242,_0x298765){return _0x5e219f['fHzTQ'](_0x1c0b03,_0x431242,_0x298765);},'ZHarr':_0x5e219f['qtRcW'],'LCFga':'unknown\x20error','TjgqV':_0x5e219f['jgWTK'],'ImcKQ':function(_0x5ea4fc,_0x2577f7,_0x1fa236){return _0x5ea4fc(_0x2577f7,_0x1fa236);},'aVkQz':_0x2a1686(0x286),'lBped':_0x2a1686(0x28f),'EJefQ':function(_0x1a5a34,_0x25d7b7,_0x15d8f0){return _0x5e219f['bTfXd'](_0x1a5a34,_0x25d7b7,_0x15d8f0);},'Mrxou':'profile\x20config\x20list','AkBjq':'profile\x20config\x20reset','DUFOj':_0x5e219f['cvJyL'],'jPqeC':_0x5e219f['rzdga'],'VOkFP':'Get\x20a\x20config\x20value','BFmlF':'list\x20<profile>','bmEny':'List\x20all\x20config\x20for\x20a\x20profile','YLqVg':_0x5e219f[_0x2a1686(0x18e)],'VJVBO':_0x2a1686(0x250)};return _0x439ec7[_0x2a1686(0x25b)](PROFILE_HELP)[_0x2a1686(0x2a9)](_0x5e219f['lwYmr'],_0x2a1686(0x27c),_0x5583ab=>{const _0x24ee1b=_0x2a1686;return _0x5583ab['positional']('profile-name',{'type':_0x24ee1b(0x320),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x24ee1b(0x21a),'default':![]})[_0x24ee1b(0x2a8)](_0x465d66['TmsrK'],{'type':'boolean','description':_0x465d66[_0x24ee1b(0x2d9)],'default':![]})[_0x24ee1b(0x2a8)]('url',{'type':_0x24ee1b(0x320),'description':_0x465d66[_0x24ee1b(0x26a)]})['option']('force',{'type':_0x465d66['Dgnit'],'description':_0x24ee1b(0x29a),'default':![]})[_0x24ee1b(0x2a8)]('cdp-endpoint',{'type':'string','description':_0x465d66[_0x24ee1b(0x27a)]})['option'](_0x24ee1b(0x232),{'type':_0x465d66['Dgnit'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x24ee1b(0x2a8)](_0x465d66['UBPXS'],{'type':_0x465d66['Dgnit'],'description':_0x465d66[_0x24ee1b(0x2e9)],'default':![]})['option'](_0x24ee1b(0x2a5),{'type':_0x24ee1b(0x320),'array':!![],'description':_0x465d66[_0x24ee1b(0x2c7)]})[_0x24ee1b(0x2a8)](_0x24ee1b(0x32d),{'type':'string','choices':[_0x24ee1b(0x1fd),_0x465d66['uPPYz']],'description':_0x465d66[_0x24ee1b(0x2d7)]})[_0x24ee1b(0x2a8)](_0x24ee1b(0x2b7),{'type':_0x465d66['Dgnit'],'alias':'y','description':_0x24ee1b(0x1db),'default':![]});},async _0x5c7259=>{const _0x2bbc83=_0x2a1686;await _0x465d66['sruDO'](withTelemetry,_0x465d66[_0x2bbc83(0x18f)],_0x48eeb7=>addEnv(_0x5c7259['profile-name'],{'ci':_0x5c7259['ci'],'skipAuth':_0x5c7259['skip-auth'],'url':_0x5c7259['url'],'force':_0x5c7259[_0x2bbc83(0x259)],'cdpEndpoint':_0x5c7259[_0x2bbc83(0x1ae)],'allowInsecureLocalhost':_0x5c7259['allow-insecure-localhost'],'safeMode':_0x5c7259[_0x2bbc83(0x234)],'setupHeader':_0x5c7259[_0x2bbc83(0x2a5)],'scope':_0x5c7259[_0x2bbc83(0x32d)],'yes':_0x5c7259['yes']},_0x48eeb7),{'isElectron':Boolean(_0x5c7259[_0x465d66['emfyG']])});})[_0x2a1686(0x2a9)](_0x5e219f['CaQYw'],_0x5e219f[_0x2a1686(0x319)],_0x232e46=>{const _0x4fc6ee=_0x2a1686;return _0x232e46['positional'](_0x4fc6ee(0x2ef),{'type':_0x465d66[_0x4fc6ee(0x1a1)],'description':_0x465d66['tGdnZ'],'demandOption':!![]});},async _0x22bf73=>{const _0x46809b=_0x2a1686;await _0x5e219f['LJkgi'](withTelemetry,'profile\x20use',()=>useEnv(_0x22bf73[_0x46809b(0x2ef)]));})[_0x2a1686(0x2a9)]('encrypt-auth\x20<profile>',_0x5e219f['cxOHu'],_0x197636=>{const _0x342324=_0x2a1686;return _0x197636[_0x342324(0x22e)](_0x342324(0x1b9),{'type':_0x465d66[_0x342324(0x1a1)],'description':_0x342324(0x314),'demandOption':!![]});},async _0x2453a4=>{const _0x5a58f0=_0x2a1686;await _0x465d66[_0x5a58f0(0x17f)](withTelemetry,_0x465d66[_0x5a58f0(0x2e1)],()=>authEncrypt(_0x2453a4['profile']));})[_0x2a1686(0x2a9)]('ls',_0x5e219f['oURXk'],()=>{},async()=>{const _0x529dc0=_0x2a1686;await withTelemetry(_0x529dc0(0x309),()=>envList());})[_0x2a1686(0x2a9)](_0x2a1686(0x21d),_0x5e219f['HgCRI'],_0x6068c8=>{const _0xa71068=_0x2a1686;return _0x6068c8['positional'](_0x5e219f['JZnnH'],{'type':'string','description':_0x5e219f['OVByw'],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x5e219f[_0xa71068(0x19d)],'description':_0xa71068(0x1aa)});},async _0x362629=>{const _0x3cad67=_0x2a1686;await _0x465d66['pMETM'](withTelemetry,_0x465d66['ZHarr'],_0x4e6a97=>updateEnv(_0x362629['profile-name'],_0x4e6a97,{'allowInsecureLocalhost':_0x362629[_0x3cad67(0x232)]}));})[_0x2a1686(0x2a9)](_0x2a1686(0x242),![],_0x4d712a=>{const _0x4dc11c=_0x2a1686;return _0x4d712a['positional'](_0x5e219f['bBwUj'],{'type':_0x4dc11c(0x320),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xd55d09=>{await withTelemetry(_0x465d66['TjgqV'],async()=>{const _0x959bdf=_0x1b12,_0x1b7cb8=process['env']['RANGER_TEST_USERNAME'],_0x2ecbe8=process[_0x959bdf(0x27b)]['RANGER_TEST_PASSWORD'];(!_0x1b7cb8||!_0x2ecbe8)&&(console['error'](_0x959bdf(0x1d5)),process[_0x959bdf(0x20d)](0x1));const _0x491e18=_0xd55d09['name'],_0x3a14d9=await serverSideLogin(_0x491e18,{'force':!![]});_0x3a14d9[_0x959bdf(0x30b)]==='not_configured'&&(console['error'](_0x959bdf(0x20e)),process['exit'](0x1)),_0x3a14d9['status']==='failed'&&(console[_0x959bdf(0x313)](_0x959bdf(0x2b2)+(_0x3a14d9[_0x959bdf(0x313)]??_0x465d66['LCFga'])),_0x3a14d9['test_output']&&console['error'](_0x3a14d9['test_output']),process[_0x959bdf(0x20d)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x491e18+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x2a1686(0x2a9)]('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x3c72c0=>{const _0x46565e=_0x2a1686;return _0x3c72c0['positional'](_0x5e219f[_0x46565e(0x1c9)],{'type':_0x5e219f['YczMA'],'description':_0x46565e(0x271)})[_0x46565e(0x2a8)](_0x46565e(0x184),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':_0x46565e(0x202),'description':_0x46565e(0x2f9),'default':![]})['option'](_0x46565e(0x2b7),{'type':'boolean','alias':'y','description':_0x46565e(0x1a4),'default':![]})[_0x46565e(0x2a8)](_0x5e219f['oykyR'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f['SguyJ'],'default':![]});},async _0x3ad2d1=>{await _0x465d66['NgZBT'](withTelemetry,'profile\x20migrate',_0x488d17=>migrateProfile({'profileName':_0x3ad2d1['profile-name'],'all':_0x3ad2d1['all'],'dryRun':_0x3ad2d1['dry-run'],'yes':_0x3ad2d1['yes'],'saveCreds':_0x3ad2d1['save-creds']},_0x488d17));})['command'](_0x5e219f['huTFA'],_0x5e219f[_0x2a1686(0x249)],_0x449629=>{const _0x45718a=_0x2a1686,_0x1e63a1={'avihn':'profile','ioPLT':_0x45718a(0x320),'vJbqo':_0x465d66[_0x45718a(0x25a)]};return _0x449629['usage'](PROFILE_CONFIG_HELP)['command'](_0x465d66[_0x45718a(0x1e2)],_0x45718a(0x182),_0x356a5f=>{const _0x45278d=_0x45718a;return _0x356a5f['positional'](_0x1e63a1[_0x45278d(0x252)],{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x1e63a1[_0x45278d(0x22b)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x1e63a1[_0x45278d(0x22b)],'description':_0x1e63a1['vJbqo'],'demandOption':!![]});},async _0x1150ae=>{const _0xce743e=_0x45718a;await _0x465d66[_0xce743e(0x235)](withTelemetry,_0x465d66['aVkQz'],()=>configSet(_0x1150ae['profile'],_0x1150ae['key'],_0x1150ae['value']));})[_0x45718a(0x2a9)](_0x45718a(0x19a),_0x465d66['VOkFP'],_0x25a292=>{const _0x25d729=_0x45718a;return _0x25a292['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x25d729(0x22e)](_0x465d66['lBped'],{'type':_0x465d66['mKyPa'],'description':_0x25d729(0x2e2),'demandOption':!![]});},async _0x735026=>{const _0x577ea0=_0x45718a;await _0x465d66['ImcKQ'](withTelemetry,_0x577ea0(0x20a),()=>configGet(_0x735026[_0x577ea0(0x1b9)],_0x735026['key']));})[_0x45718a(0x2a9)](_0x465d66['BFmlF'],_0x465d66[_0x45718a(0x21f)],_0x2f58fb=>{const _0x535fd7=_0x45718a;return _0x2f58fb['positional']('profile',{'type':_0x465d66['mKyPa'],'description':_0x535fd7(0x314),'demandOption':!![]});},async _0x2c09c8=>{const _0x4b1b5e=_0x45718a;await _0x465d66[_0x4b1b5e(0x254)](withTelemetry,_0x465d66[_0x4b1b5e(0x211)],()=>configList(_0x2c09c8[_0x4b1b5e(0x1b9)]));})[_0x45718a(0x2a9)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x2ea1a4=>{const _0x30e791=_0x45718a;return _0x2ea1a4['positional'](_0x30e791(0x1b9),{'type':_0x465d66[_0x30e791(0x1a1)],'description':_0x30e791(0x314),'demandOption':!![]})['positional'](_0x465d66['lBped'],{'type':_0x465d66['mKyPa'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x11b08f=>{const _0x3ef3fa=_0x45718a;await _0x465d66['ImcKQ'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x11b08f[_0x3ef3fa(0x1b9)],_0x11b08f['key']));})[_0x45718a(0x2a9)](_0x465d66[_0x45718a(0x31a)],_0x45718a(0x1a2),_0x45c527=>{const _0x3012ab=_0x45718a;return _0x45c527[_0x3012ab(0x22e)](_0x1e63a1[_0x3012ab(0x252)],{'type':_0x1e63a1['ioPLT'],'description':'Profile\x20name','demandOption':!![]});},async _0x4f13c0=>{const _0x14089d=_0x45718a;await withTelemetry(_0x465d66['AkBjq'],()=>configReset(_0x4f13c0[_0x14089d(0x1b9)]));})[_0x45718a(0x2a4)](0x1,_0x465d66['VJVBO']);})['demandCommand'](0x1,_0x5e219f[_0x2a1686(0x2cf)]);})['command'](_0x5e219f[_0x36b798(0x260)],_0x5e219f[_0x36b798(0x199)],()=>{},async()=>{const _0x54da32=_0x36b798;await _0x5e219f[_0x54da32(0x2f1)](withTelemetry,_0x5e219f['iLPcv'],()=>status());})[_0x36b798(0x2a9)](_0x5e219f['ytsrN'],_0x36b798(0x1cd),()=>{},async()=>{await _0x5e219f['foPcF'](withTelemetry,'update',()=>update());})[_0x36b798(0x2a9)](_0x5e219f['KIaNz'],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x5c7e14=_0x36b798;await _0x5e219f[_0x5c7e14(0x1f9)](withTelemetry,_0x5c7e14(0x192),async()=>{const _0x94d883=_0x5c7e14,_0x5a5820=await _0x5e219f[_0x94d883(0x1b6)](getToken);if(!_0x5a5820)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x5a5820);});})['command']('go',_0x5e219f[_0x36b798(0x1b3)],_0x10a5f7=>{const _0x262256=_0x36b798;return _0x10a5f7[_0x262256(0x2a8)](_0x5e219f['SjvSx'],{'type':_0x262256(0x320),'description':_0x5e219f[_0x262256(0x312)]})['option'](_0x262256(0x1b9),{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x262256(0x2a8)]('notes',{'type':_0x262256(0x320),'description':_0x262256(0x19b)})['option']('scenario',{'type':_0x5e219f['lnyVo'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x5e219f['XfCtP'],{'type':_0x262256(0x320),'description':_0x5e219f[_0x262256(0x1cf)]})['option'](_0x5e219f[_0x262256(0x239)],{'type':_0x5e219f[_0x262256(0x278)],'description':_0x262256(0x1b0)})['option'](_0x262256(0x2e5),{'type':_0x5e219f[_0x262256(0x278)],'description':_0x5e219f[_0x262256(0x2d0)]})['option'](_0x5e219f['XPHXC'],{'type':'boolean','description':_0x5e219f[_0x262256(0x1ed)],'default':![]})[_0x262256(0x2a8)]('debug-outcome',{'type':_0x5e219f[_0x262256(0x278)],'hidden':!![],'choices':[_0x262256(0x1f6),_0x262256(0x1f1),_0x5e219f[_0x262256(0x1be)],'failed',_0x5e219f['TdiJi']]})[_0x262256(0x2a8)](_0x5e219f[_0x262256(0x1bd)],{'type':_0x5e219f[_0x262256(0x19d)],'hidden':!![]})['option'](_0x5e219f[_0x262256(0x2f5)],{'type':_0x262256(0x320),'hidden':!![]})['option'](_0x262256(0x1d8),{'type':_0x5e219f['YczMA'],'hidden':!![]})[_0x262256(0x2a8)](_0x5e219f[_0x262256(0x1ab)],{'type':_0x5e219f['lnyVo'],'hidden':!![]});},async _0x253273=>{await runGoCommand(_0x253273);})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x17d)],![],_0x589dc0=>{const _0x4df737=_0x36b798,_0x510004={'YZgkh':_0x5e219f['Pezgm']};return _0x589dc0[_0x4df737(0x2a9)](_0x5e219f[_0x4df737(0x1f7)],![],_0x185d88=>{const _0x4728e4=_0x4df737;return _0x185d88['positional']('profile',{'type':_0x4728e4(0x320),'description':_0x510004[_0x4728e4(0x306)],'demandOption':!![]});},async _0x10b76f=>{warnRenamed(_0x5e219f['xMtaN'],'ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x10b76f['profile']);})[_0x4df737(0x2a4)](0x1,_0x5e219f['zwkIj']);},()=>{})['command'](_0x5e219f['lDSuh'],![],_0x5f055e=>{const _0x276a71=_0x36b798;return _0x5f055e['positional']('token',{'type':'string','description':_0x276a71(0x24d)})[_0x276a71(0x2a8)](_0x276a71(0x222),{'type':_0x276a71(0x202),'description':_0x5e219f[_0x276a71(0x276)],'default':![]})['option']('scope',{'type':_0x5e219f['YczMA'],'choices':[_0x5e219f[_0x276a71(0x1ac)]],'hidden':!![],'description':_0x5e219f['afsDg']})['option'](_0x5e219f[_0x276a71(0x224)],{'type':_0x5e219f[_0x276a71(0x278)],'description':_0x5e219f[_0x276a71(0x2f8)]})['option'](_0x5e219f[_0x276a71(0x2f6)],{'type':_0x5e219f[_0x276a71(0x19d)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x5e219f['USHYY'],{'type':'boolean','description':_0x5e219f[_0x276a71(0x18c)],'default':![]})['option'](_0x276a71(0x32f),{'type':_0x276a71(0x202),'description':_0x276a71(0x1cb),'default':![]});},async _0x190342=>{const _0x900b96=_0x36b798;warnRenamed(_0x900b96(0x20b),'ranger\x20setup'),await withTelemetry(_0x5e219f['LFFos'],_0x36bc6b=>start(_0x190342['token'],{'skipChromium':_0x190342[_0x900b96(0x222)],'skipAuth':_0x190342[_0x900b96(0x2bb)],'withDeps':_0x190342['with-deps'],'scope':_0x190342[_0x900b96(0x32d)],'url':_0x190342[_0x900b96(0x2c6)],'force':_0x190342['force']},_0x36bc6b));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x269)],![],_0xb41e25=>{const _0x3c4ec6=_0x36b798;return _0xb41e25[_0x3c4ec6(0x2a8)](_0x5e219f[_0x3c4ec6(0x2f5)],{'type':_0x3c4ec6(0x320),'description':_0x5e219f[_0x3c4ec6(0x27d)]})['option']('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x3c4ec6(0x2a8)](_0x5e219f[_0x3c4ec6(0x1ab)],{'type':'number','description':_0x5e219f[_0x3c4ec6(0x2ec)]})[_0x3c4ec6(0x2a8)](_0x5e219f['FaPCu'],{'type':_0x3c4ec6(0x320),'hidden':!![]})[_0x3c4ec6(0x2a8)](_0x3c4ec6(0x283),{'type':'string','hidden':!![]})['option'](_0x5e219f[_0x3c4ec6(0x2b6)],{'type':_0x3c4ec6(0x277),'hidden':!![]})['option'](_0x5e219f['XfCtP'],{'type':_0x3c4ec6(0x320),'description':_0x5e219f['FZGku']})['option'](_0x5e219f[_0x3c4ec6(0x239)],{'type':_0x3c4ec6(0x320),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3c4ec6(0x2a8)](_0x5e219f['eWCBP'],{'type':'string','hidden':!![]})['option'](_0x3c4ec6(0x23a),{'type':_0x5e219f[_0x3c4ec6(0x19d)],'hidden':!![],'default':![]})['option'](_0x5e219f[_0x3c4ec6(0x275)],{'type':_0x3c4ec6(0x320),'hidden':!![],'choices':['verified',_0x3c4ec6(0x1f1),_0x5e219f['Cfmec'],_0x3c4ec6(0x243),_0x3c4ec6(0x2ae)]});},async _0x412238=>{await _0x5e219f['STZvW'](runGoCommand,_0x412238,!![]);})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x1f0)],![],_0x354384=>{const _0x2e3662=_0x36b798;return _0x354384['positional'](_0x5e219f['gkdEI'],{'type':_0x5e219f[_0x2e3662(0x278)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x2e3662(0x2a8)]('ci',{'type':_0x5e219f['OAzZd'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x2e3662(0x2a8)]('skip-auth',{'type':_0x5e219f['OAzZd'],'description':_0x5e219f[_0x2e3662(0x2da)],'default':![]});},async _0x5bd0f7=>{const _0x553cfd=_0x36b798;warnRenamed('ranger\x20add\x20env',_0x5e219f['BKzeC']),await withTelemetry(_0x5e219f[_0x553cfd(0x2c2)],_0x4e0bc5=>addEnv(_0x5bd0f7[_0x553cfd(0x21c)],{'ci':_0x5bd0f7['ci'],'skipAuth':_0x5bd0f7['skip-auth']},_0x4e0bc5));})[_0x36b798(0x2a9)]('use\x20<env-name>',![],_0x4ae155=>{const _0x4cde14=_0x36b798;return _0x4ae155[_0x4cde14(0x22e)](_0x5e219f[_0x4cde14(0x2d4)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x3e87de=>{const _0x360b1c=_0x36b798;_0x5e219f[_0x360b1c(0x196)](warnRenamed,_0x360b1c(0x1b8),_0x360b1c(0x1a8)),await withTelemetry('use',()=>useEnv(_0x3e87de[_0x360b1c(0x21c)]));})[_0x36b798(0x2a9)](_0x5e219f['huTFA'],![],_0xc5cd3=>{const _0x34eb97=_0x36b798,_0x308776={'pfwIl':_0x5e219f['YczMA'],'ytLUZ':_0x34eb97(0x326),'IGuOq':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cCaNR':_0x34eb97(0x272),'YjHEP':'Config\x20value','lzync':_0x5e219f[_0x34eb97(0x2c9)],'DHvGF':function(_0x237d15,_0x52c972,_0x11edd6){const _0x3d2f53=_0x34eb97;return _0x5e219f[_0x3d2f53(0x196)](_0x237d15,_0x52c972,_0x11edd6);},'KnKkR':function(_0x2a701b,_0x8616ff,_0x492e7f){return _0x2a701b(_0x8616ff,_0x492e7f);},'ZZgIw':'config\x20unset'};return _0xc5cd3[_0x34eb97(0x2a9)]('set\x20<env>\x20<key>\x20<value>',![],_0x296fbc=>{const _0x48c720=_0x34eb97;return _0x296fbc['positional'](_0x48c720(0x27b),{'type':_0x308776[_0x48c720(0x1ea)],'description':_0x308776['ytLUZ'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x308776[_0x48c720(0x1d1)],'demandOption':!![]})['positional'](_0x308776[_0x48c720(0x2cb)],{'type':_0x308776[_0x48c720(0x1ea)],'description':_0x308776['YjHEP'],'demandOption':!![]});},async _0x4bde48=>{const _0x5e6de4=_0x34eb97;warnRenamed(_0x308776[_0x5e6de4(0x1fc)],'ranger\x20profile\x20config\x20set'),await _0x308776[_0x5e6de4(0x315)](withTelemetry,'config\x20set',()=>configSet(_0x4bde48['env'],_0x4bde48[_0x5e6de4(0x28f)],_0x4bde48['value']));})['command']('get\x20<env>\x20<key>',![],_0x117a4f=>{const _0x521b43=_0x34eb97;return _0x117a4f['positional'](_0x5e219f[_0x521b43(0x2f5)],{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x521b43(0x22e)]('key',{'type':'string','description':_0x5e219f[_0x521b43(0x2ea)],'demandOption':!![]});},async _0xbb0c7a=>{const _0x32518b=_0x34eb97;warnRenamed(_0x5e219f[_0x32518b(0x230)],_0x32518b(0x1c7)),await _0x5e219f['wvJen'](withTelemetry,_0x5e219f[_0x32518b(0x26c)],()=>configGet(_0xbb0c7a[_0x32518b(0x27b)],_0xbb0c7a[_0x32518b(0x28f)]));})['command'](_0x5e219f['ovkKi'],![],_0x322216=>{const _0x1056f5=_0x34eb97;return _0x322216[_0x1056f5(0x22e)](_0x5e219f[_0x1056f5(0x2f5)],{'type':'string','description':_0x5e219f['aGEKq'],'demandOption':!![]});},async _0x5f1041=>{warnRenamed(_0x5e219f['SXsqk'],'ranger\x20profile\x20config\x20list'),await withTelemetry('config\x20list',()=>configList(_0x5f1041['env']));})[_0x34eb97(0x2a9)](_0x34eb97(0x2ff),![],_0x5bada8=>{const _0x31a40d=_0x34eb97;return _0x5bada8['positional']('env',{'type':_0x5e219f['YczMA'],'description':_0x5e219f[_0x31a40d(0x305)],'demandOption':!![]})[_0x31a40d(0x22e)](_0x5e219f[_0x31a40d(0x24c)],{'type':'string','description':_0x5e219f[_0x31a40d(0x1c5)],'demandOption':!![]});},async _0x1c1ef2=>{const _0x149dc6=_0x34eb97;_0x308776[_0x149dc6(0x284)](warnRenamed,_0x149dc6(0x20f),_0x149dc6(0x288)),await _0x308776['KnKkR'](withTelemetry,_0x308776['ZZgIw'],()=>configUnset(_0x1c1ef2[_0x149dc6(0x27b)],_0x1c1ef2[_0x149dc6(0x28f)]));})['demandCommand'](0x1,_0x5e219f['VDAjr']);})['command']('env',![],_0x227c6c=>{const _0x51422a=_0x36b798,_0x426b53={'MkWVQ':'Name\x20of\x20the\x20environment\x20to\x20update'};return _0x227c6c['command']('ls',![],()=>{},async()=>{const _0x15fc77=_0x1b12;warnRenamed(_0x5e219f['EHzRX'],'ranger\x20profile\x20ls'),await _0x5e219f['YCMBS'](withTelemetry,_0x15fc77(0x255),()=>envList());})[_0x51422a(0x2a9)](_0x5e219f['whAwc'],![],_0x50dc4a=>{const _0x1fb2c3=_0x51422a;return _0x50dc4a['positional'](_0x1fb2c3(0x21c),{'type':_0x1fb2c3(0x320),'description':_0x426b53['MkWVQ'],'demandOption':!![]});},async _0xa6a58f=>{const _0x3d9ba2=_0x51422a;warnRenamed(_0x3d9ba2(0x198),_0x3d9ba2(0x1e5)),await _0x5e219f[_0x3d9ba2(0x1b2)](withTelemetry,'env\x20update',_0x45bd7d=>updateEnv(_0xa6a58f['env-name'],_0x45bd7d));})['demandCommand'](0x1,_0x5e219f['iLYCs']);})[_0x36b798(0x2a9)](_0x36b798(0x2d5),![],_0x3f00c2=>{const _0x43b1d4=_0x36b798,_0x3b836b={'qslRw':'current-branch','tynFc':_0x43b1d4(0x264),'cSsEU':_0x5e219f['lnyVo'],'lfTOd':_0x43b1d4(0x1a7),'jCjHe':_0x5e219f['OAzZd'],'wTxIq':_0x5e219f[_0x43b1d4(0x278)],'ehJza':function(_0xf8c4d3,_0x4169ff,_0x5d1abc){return _0xf8c4d3(_0x4169ff,_0x5d1abc);},'PVHnw':_0x5e219f['dwYJI'],'PRaji':function(_0x4b5d4a,_0x3e9ba6,_0xaf2029){return _0x4b5d4a(_0x3e9ba6,_0xaf2029);},'xCZQP':_0x43b1d4(0x30c),'FmiWS':_0x5e219f[_0x43b1d4(0x1a5)],'kimWQ':function(_0x186093,_0x58be65,_0x3ca110){return _0x5e219f['fWRHI'](_0x186093,_0x58be65,_0x3ca110);},'QlLCv':_0x5e219f['FxZru']};return _0x3f00c2['command'](_0x5e219f[_0x43b1d4(0x2a2)],![],_0xb6dbd0=>{const _0x455840=_0x43b1d4;return _0xb6dbd0[_0x455840(0x22e)](_0x455840(0x1da),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5e219f[_0x455840(0x322)],{'type':'string','alias':'d','description':_0x455840(0x2ba)})['option'](_0x455840(0x317),{'type':_0x5e219f[_0x455840(0x220)],'alias':'c','description':_0x5e219f[_0x455840(0x1b1)]})[_0x455840(0x2a8)](_0x5e219f['MkThN'],{'type':_0x455840(0x324),'hidden':!![]});},async _0x56edfe=>{const _0x117d3a=_0x43b1d4;_0x5e219f['kVyLC'](warnRenamed,_0x5e219f[_0x117d3a(0x280)],'ranger\x20create'),_0x5e219f[_0x117d3a(0x19c)](warnFlagRenamed,_0x5e219f['pHxbx'],'--checklist',_0x5e219f[_0x117d3a(0x173)]);const _0x469377=_0x56edfe['scenario']||_0x56edfe['checklist'];await _0x5e219f['LJkgi'](withTelemetry,_0x5e219f['VhixL'],()=>featureCreate(_0x56edfe['name'],{'description':_0x56edfe['description'],'scenarios':_0x469377}));})['command'](_0x5e219f['kYvNo'],![],_0x1c2d1e=>{const _0x3f98a7=_0x43b1d4;return _0x1c2d1e['option'](_0x3b836b['qslRw'],{'type':_0x3f98a7(0x202),'description':_0x3b836b['tynFc']})[_0x3f98a7(0x2a8)](_0x3f98a7(0x2eb),{'type':'number','alias':'l','description':_0x3f98a7(0x238),'default':0xa})[_0x3f98a7(0x2a8)](_0x3f98a7(0x28c),{'type':_0x3b836b['cSsEU'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x3f98a7(0x2a8)](_0x3b836b[_0x3f98a7(0x217)],{'type':_0x3b836b['jCjHe'],'alias':'d','description':_0x3f98a7(0x2ee),'default':![]});},async _0x58e098=>{const _0x26305f=_0x43b1d4;_0x5e219f[_0x26305f(0x190)](warnRenamed,_0x5e219f[_0x26305f(0x267)],_0x5e219f['jxUAS']),await _0x5e219f[_0x26305f(0x2c5)](withTelemetry,_0x26305f(0x293),()=>featureList({'currentBranch':_0x58e098['current-branch'],'limit':_0x58e098[_0x26305f(0x2eb)],'offset':_0x58e098[_0x26305f(0x28c)],'includeDeleted':_0x58e098['include-deleted']}));})['command']('show\x20[id]',![],_0x37f534=>{const _0x1155f0=_0x43b1d4;return _0x37f534[_0x1155f0(0x22e)]('id',{'type':_0x3b836b['wTxIq'],'description':'Feature\x20review\x20ID'});},async _0x2d414c=>{const _0x428711=_0x43b1d4;warnRenamed(_0x5e219f['zdsgZ'],'ranger\x20show'),await _0x5e219f[_0x428711(0x301)](withTelemetry,_0x5e219f['bHVUL'],()=>featureShow(_0x2d414c['id']));})['command'](_0x5e219f['oUWvn'],![],_0xb1e8ef=>{const _0x4c989a=_0x43b1d4;return _0xb1e8ef['positional']('id',{'type':'string','description':_0x4c989a(0x236)});},async _0x5239f1=>{const _0x4b268b=_0x43b1d4;_0x3b836b['ehJza'](warnRenamed,'ranger\x20feature\x20resume',_0x3b836b[_0x4b268b(0x1ad)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x5239f1['id']));})['command'](_0x43b1d4(0x251),![],_0x8b81f9=>{const _0x146346=_0x43b1d4;return _0x8b81f9[_0x146346(0x22e)](_0x5e219f[_0x146346(0x322)],{'type':_0x146346(0x320),'description':_0x146346(0x197),'demandOption':!![]})['option']('id',{'type':_0x5e219f['YczMA'],'description':_0x146346(0x1fb)});},async _0x3e2e55=>{const _0x39e13b=_0x43b1d4;_0x3b836b['ehJza'](warnRenamed,_0x39e13b(0x303),_0x39e13b(0x193)),await _0x3b836b[_0x39e13b(0x282)](withTelemetry,_0x3b836b['xCZQP'],()=>featureAddScenario(_0x3e2e55['description'],_0x3e2e55['id']));})[_0x43b1d4(0x2a9)](_0x5e219f['XJqbb'],![],_0x21f954=>{const _0xd863c4=_0x43b1d4;return _0x21f954['positional']('id',{'type':_0x3b836b[_0xd863c4(0x191)],'description':_0x3b836b['FmiWS']});},async _0x4d2a08=>{const _0xe158ad=_0x43b1d4;_0x5e219f[_0xe158ad(0x210)](warnRenamed,_0xe158ad(0x225),_0xe158ad(0x208)),await withTelemetry(_0x5e219f['PcfQr'],()=>featureGetReview(_0x4d2a08['id']));})[_0x43b1d4(0x2a9)](_0x43b1d4(0x23d),![],_0x348925=>{return _0x348925['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x2b7dec=>{const _0x2a6c22=_0x43b1d4;_0x3b836b['kimWQ'](warnRenamed,_0x2a6c22(0x299),_0x3b836b['QlLCv']),await _0x3b836b[_0x2a6c22(0x282)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x2b7dec['id']));})[_0x43b1d4(0x2a9)]('restore\x20<id>',![],_0x3c82cf=>{const _0xf1555c=_0x43b1d4;return _0x3c82cf['positional']('id',{'type':_0x5e219f['YczMA'],'description':_0xf1555c(0x200),'demandOption':!![]});},async _0x549666=>{const _0x23424a=_0x43b1d4;_0x3b836b[_0x23424a(0x263)](warnRenamed,_0x23424a(0x24f),_0x23424a(0x297)),await withTelemetry(_0x23424a(0x287),()=>featureRestore(_0x549666['id']));})[_0x43b1d4(0x2a4)](0x1,_0x43b1d4(0x2d2));})[_0x36b798(0x2a9)](_0x5e219f['FTwxK'],![],_0x211a4c=>{const _0xe9aa5b=_0x36b798,_0x35308a={'ktRVU':_0xe9aa5b(0x320),'kbCnB':'session-id','WEYoE':_0xe9aa5b(0x23b)};return _0x211a4c['command'](_0xe9aa5b(0x216),_0x5e219f['IWJnd'],_0x58be9d=>{const _0x3df774=_0xe9aa5b;return _0x58be9d['option'](_0x3df774(0x2ed),{'type':_0x35308a[_0x3df774(0x307)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x18b2da=>{const _0x3a62a5=_0xe9aa5b;await _0x5e219f['STZvW'](withTelemetry,_0x5e219f['TWZqO'],()=>hook(_0x3a62a5(0x216),_0x18b2da[_0x3a62a5(0x2ed)]));})['command'](_0x5e219f[_0xe9aa5b(0x183)],_0x5e219f[_0xe9aa5b(0x1b7)],_0x364a4c=>{const _0x3cf1d5=_0xe9aa5b;return _0x364a4c[_0x3cf1d5(0x2a8)](_0x35308a[_0x3cf1d5(0x327)],{'type':_0x35308a[_0x3cf1d5(0x307)],'description':_0x35308a['WEYoE']});},async _0x100566=>{const _0x1600e7=_0xe9aa5b;await _0x5e219f[_0x1600e7(0x201)](withTelemetry,_0x5e219f['rCXxL'],()=>hook(_0x1600e7(0x1d9),_0x100566[_0x1600e7(0x2ed)]));})[_0xe9aa5b(0x2a8)](_0x5e219f['bBwUj'],{'type':'string','description':_0xe9aa5b(0x209)})['option'](_0xe9aa5b(0x2ed),{'type':_0xe9aa5b(0x320),'description':_0x5e219f['LrDKm']});},async _0x488672=>{const _0xc5153f=_0x36b798;_0x488672['name']&&await hook(_0x488672[_0xc5153f(0x1da)],_0x488672[_0x5e219f['OpgjA']]);})[_0x36b798(0x2a4)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x36b798(0x1a6)]()['fail'](async(_0x2faa24,_0x33963e,_0x6b9ea0)=>{const _0x387141=_0x36b798,_0x5a4f9a=_0x5e219f[_0x387141(0x204)](sanitizeArgs,process['argv'][_0x387141(0x2be)](0x2)),_0x425f2e=_0x5e219f[_0x387141(0x29b)](getErrorType,_0x2faa24,_0x33963e);if(_0x2faa24&&_0x2faa24[_0x387141(0x1c0)](_0x5e219f[_0x387141(0x2fe)])){const _0x292a02=process[_0x387141(0x273)][0x2];console[_0x387141(0x313)]('\x0aUnknown\x20command:\x20'+_0x292a02),console[_0x387141(0x313)](_0x387141(0x1a9));}else{if(_0x2faa24)console[_0x387141(0x313)]('\x0a'+_0x2faa24+'\x0a');else _0x33963e&&console['error']('\x0aError:\x20'+_0x33963e['message']+'\x0a');}await _0x5e219f['JpFKe'](logDesirePath,{'rawCommand':_0x5a4f9a,'errorMessage':_0x2faa24||_0x33963e?.['message'],'errorType':_0x425f2e});const _0x11755f=_0x5e219f[_0x387141(0x316)](getCurrentCollector);_0x11755f&&await _0x11755f[_0x387141(0x175)](_0x33963e||new Error(_0x2faa24||'Unknown\x20error')),process[_0x387141(0x20d)](0x1);})[_0x36b798(0x21b)](_0x5e219f[_0x36b798(0x304)](_0x5e219f['maShS'],_0x36b798(0x2a7))+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x36b798(0x311)](_0x36b798(0x1ba),'h');}process['env'][_0x1d089a(0x2aa)]!==_0x1d089a(0x289)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
2
+ const _0x2881c4=_0x21c1;(function(_0x2b2ebd,_0x1d08f6){const _0x588c6c=_0x21c1,_0x1434cd=_0x2b2ebd();while(!![]){try{const _0x1c0e32=parseInt(_0x588c6c(0x2b3))/0x1+parseInt(_0x588c6c(0x16f))/0x2*(-parseInt(_0x588c6c(0x15e))/0x3)+-parseInt(_0x588c6c(0x1d3))/0x4+-parseInt(_0x588c6c(0x237))/0x5+parseInt(_0x588c6c(0x15d))/0x6*(parseInt(_0x588c6c(0x260))/0x7)+-parseInt(_0x588c6c(0x200))/0x8+parseInt(_0x588c6c(0x203))/0x9;if(_0x1c0e32===_0x1d08f6)break;else _0x1434cd['push'](_0x1434cd['shift']());}catch(_0x283fdc){_0x1434cd['push'](_0x1434cd['shift']());}}}(_0x814c,0xc4d92));import _0x18c7f7 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x587409=_0x21c1,_0xc4e07d={'DFEWB':function(_0x180031,_0x4c1272){return _0x180031(_0x4c1272);},'KJtch':function(_0x5abdbb,_0x24eb22){return _0x5abdbb(_0x24eb22);},'XBVeR':_0x587409(0x258),'vtYql':function(_0x294a11,_0x33354e){return _0x294a11(_0x33354e);}};let _0x4a7546=process['cwd']();const _0x3eaceb=_0xc4e07d['DFEWB'](parse,_0x4a7546)['root'];while(_0x4a7546!==_0x3eaceb){if(_0xc4e07d['KJtch'](existsSync,join(_0x4a7546,_0xc4e07d['XBVeR']))||existsSync(join(_0x4a7546,_0x587409(0x165))))return _0x4a7546;_0x4a7546=_0xc4e07d['vtYql'](dirname,_0x4a7546);}return process[_0x587409(0x1cb)]();}_0x18c7f7[_0x2881c4(0x2e1)]({'path':join(findProjectRoot(),_0x2881c4(0x165))});import _0x1d0cc3 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';function _0x21c1(_0x592eec,_0x1f9ce6){_0x592eec=_0x592eec-0x131;const _0x814c7f=_0x814c();let _0x21c1a2=_0x814c7f[_0x592eec];return _0x21c1a2;}import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.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{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x2881c4(0x222),async _0x28eb96=>{const _0x26b418=_0x2881c4,_0x11fcae={'YPGbo':function(_0x29eadc){return _0x29eadc();}},_0x39213c=_0x11fcae[_0x26b418(0x233)](getCurrentCollector);_0x39213c&&await _0x39213c[_0x26b418(0x2ed)](_0x28eb96),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\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\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\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/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\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\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\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\x0aDeprecated\x20(now\x20exit\x201\x20with\x20a\x20redirect):\x20`profile\x20update`,\x20`profile\x20encrypt-auth`,\x0a`profile\x20migrate`,\x20`setup\x20--ci`.\x20Run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20set\x20up\x20a\x0afresh\x20profile.\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x2881c4(0x263),PROFILE_CONFIG_HELP=_0x2881c4(0x2ae);function warnRenamed(_0x2a82e2,_0x12abfe){const _0x251736=_0x2881c4;console[_0x251736(0x214)]('\x0a'+_0x2a82e2+_0x251736(0x211)+_0x12abfe+'\x0a');}function argUsed(_0x24c269){const _0x50bae8=_0x2881c4;return rawArgs[_0x50bae8(0x224)](_0x2a8058=>_0x2a8058===_0x24c269||_0x2a8058['startsWith'](_0x24c269+'='));}function warnFlagRenamed(_0x2b35c0,_0xf321fb,_0x9e3d25){const _0x2d731a=_0x2881c4,_0x2df533={'yDfvB':function(_0x578876,_0x55da87){return _0x578876(_0x55da87);}};_0x2df533[_0x2d731a(0x25a)](argUsed,_0xf321fb)&&warnRenamed(_0x2b35c0+'\x20'+_0xf321fb,_0x2b35c0+'\x20'+_0x9e3d25);}async function runGoCommand(_0x4223eb,_0x1282ea=![]){const _0xe7390a=_0x2881c4,_0x1bd34e={'sEoqt':_0xe7390a(0x1e7),'yfMum':_0xe7390a(0x190),'WSrlB':'--profile','KDlgn':function(_0x3f75bc,_0x44535b,_0x360ad1,_0x52e495){return _0x3f75bc(_0x44535b,_0x360ad1,_0x52e495);},'ozBTy':'--task','hPbdN':_0xe7390a(0x159),'ORQBx':function(_0x1ccbb8){return _0x1ccbb8();},'vvKZV':function(_0xbcbbf5,_0x23d466){return _0xbcbbf5(_0x23d466);},'LPhEf':'start-path','YCEsi':'base-url','MHZRp':function(_0x3083d7,_0xe7d529){return _0x3083d7+_0xe7d529;},'rdTEO':function(_0x5d7d80,_0x2c1e87){return _0x5d7d80===_0x2c1e87;},'eCieD':_0xe7390a(0x14d),'LJYEH':_0xe7390a(0x242),'xLQYf':'\x20INCOMPLETE','IVGSh':function(_0x31a527,_0x4cb591){return _0x31a527===_0x4cb591;},'zuThY':'\x20PARTIAL','GNgYw':'\x0aIssues:'};_0x1282ea&&warnRenamed(_0x1bd34e[_0xe7390a(0x180)],_0x1bd34e[_0xe7390a(0x153)]);warnFlagRenamed(_0x1bd34e[_0xe7390a(0x153)],_0xe7390a(0x1b2),_0x1bd34e['WSrlB']),_0x1bd34e['KDlgn'](warnFlagRenamed,'ranger\x20go',_0x1bd34e[_0xe7390a(0x176)],'--notes'),_0x1bd34e['KDlgn'](warnFlagRenamed,'ranger\x20go',_0x1bd34e['hPbdN'],_0xe7390a(0x282));const _0x5ce95a=await _0x1bd34e['ORQBx'](loadRangerConfig),_0x2a2426=isByokEnabled(),_0x17f26d=_0x4223eb[_0xe7390a(0x2e6)],_0x54a6da=_0x5ce95a['model'],_0xfdaa2=await _0x1bd34e[_0xe7390a(0x1fa)](verifyFeature,{'featureId':_0x4223eb[_0xe7390a(0x1af)],'profile':_0x4223eb['profile']??_0x4223eb[_0xe7390a(0x28a)]??process[_0xe7390a(0x28a)][_0xe7390a(0x175)],'notes':_0x4223eb['notes']??_0x4223eb[_0xe7390a(0x20c)],'scenario':_0x4223eb['scenario']??_0x4223eb['item'],'startPath':_0x4223eb[_0x1bd34e[_0xe7390a(0x2e2)]],'baseUrl':_0x4223eb[_0x1bd34e['YCEsi']],'debugOutcome':_0x4223eb[_0xe7390a(0x152)],'debugAddressComments':_0x4223eb['debug-address-comments'],'headed':_0x4223eb[_0xe7390a(0x2db)],'byokEnabled':_0x2a2426,'flagVerifyModel':_0x17f26d,'configVerifyModel':_0x54a6da});console[_0xe7390a(0x2b5)](_0x1bd34e[_0xe7390a(0x24f)]('\x0a','='[_0xe7390a(0x215)](0x3c))),console[_0xe7390a(0x2b5)](_0x1bd34e['rdTEO'](_0xfdaa2[_0xe7390a(0x1de)],_0x1bd34e[_0xe7390a(0x25f)])?'\x20VERIFIED':_0x1bd34e['rdTEO'](_0xfdaa2[_0xe7390a(0x1de)],_0x1bd34e[_0xe7390a(0x158)])?_0x1bd34e[_0xe7390a(0x1e1)]:_0x1bd34e['IVGSh'](_0xfdaa2['evaluation'],_0xe7390a(0x2ec))?_0x1bd34e['zuThY']:_0x1bd34e[_0xe7390a(0x2d7)](_0xfdaa2['evaluation'],_0xe7390a(0x240))?_0xe7390a(0x166):'\x20FAILED'),console[_0xe7390a(0x2b5)]('='['repeat'](0x3c)),console[_0xe7390a(0x2b5)]('Summary:\x20'+_0xfdaa2[_0xe7390a(0x2eb)]),console[_0xe7390a(0x2b5)]('Evaluation:\x20'+_0xfdaa2[_0xe7390a(0x1de)]),console[_0xe7390a(0x2b5)]('Reason:\x20'+_0xfdaa2[_0xe7390a(0x1cd)]),_0xfdaa2['issues']?.['length']&&(console['log'](_0x1bd34e[_0xe7390a(0x1ab)]),_0xfdaa2['issues']['forEach']((_0x439eda,_0x1d5c6c)=>{const _0x16eb51=_0xe7390a;console['log']('\x0a'+(_0x1d5c6c+0x1)+_0x16eb51(0x1ef)+_0x439eda[_0x16eb51(0x17a)]+']\x20'+_0x439eda['description']);})),process['exit'](_0xfdaa2['evaluation']===_0xe7390a(0x14d)?0x0:0x1);}function _0x814c(){const _0x187edf=['Documentation:\x0a','feature\x20delete','Ranger\x20API\x20token','ranger\x20feature\x20resume','setup-header','aOLgx','8nRxXdp','tJaxG','bAlnB','Xqkgo','mcp-bootstrap','wfWrT','RANGER_PROFILE','ozBTy','vJvwn','geoUo','Include\x20soft-deleted\x20feature\x20reviews','severity','KCEyx','resume\x20[id]','DqMzV','xBnNx','nVcnR','sEoqt','DfILE','profile\x20config\x20get','base-url','WhDtA','✓\x20Authenticated\x20to\x20','epilogue','New\x20scenario\x20description','yqvfJ','allow-insecure-localhost','Skip\x20interactive\x20confirmation\x20prompts.','add-checklist-item\x20<description>','vdgbj','huHJJ','cdp-endpoint','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ranger\x20go','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','version','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','sTcyg','nFJOS','dwSST','BOLIY','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','TMIWJ','tbrGi','KndhY','bWbfa','bxkCj','AMLQC','ranger\x20config\x20unset','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','option','ohbmD','config\x20unset','rLsJy','Number\x20of\x20feature\x20reviews\x20to\x20skip','iQOJA','gfyHD','help','token','lDaAS','GNgYw','hlGoF','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','zGlGR','feature','name','current-branch','--env','ranger\x20profile\x20ls','LiYqG','YvLYo','fMcvF','NxMPO','yKFYu','QusBv','THjwQ','AmumX','comGE','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','kygxT','PwsXU','TjAiS','pPewt','edit-scenario\x20<description>','deps','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','boolean','PmAJz','\x0aError:\x20','rQvvY','item','array','cwd','ranger\x20profile\x20encrypt-auth','evaluationReason','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','create','tBpiw','parse','description','1772424SGKMrP','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Scenario\x20index\x20(1-based)','ranger\x20resume','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','url','JWOsz','profile\x20use','profile\x20migrate','fZhvC','Urtbj','evaluation','string','ranger\x20profile\x20update','xLQYf','Run\x20full\x20interactive\x20setup','URMIF','ranger\x20add\x20env','bwFBH','Authenticate\x20via\x20MCP\x20proxy','ranger\x20verify-feature','get-feedback\x20[id]','encrypt-auth\x20<profile>','CZiLj','sLGQV','mhQLG','RaFhY','xUAOe','.\x20[','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','key','keDiu','skip-chromium','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','start','Enguw','skillup','KmCmn','vvKZV','exclude-scenario','LRKTi','profile\x20add','fGTsY','XqbEm','6178296svSoAz','scope','OWFDC','14795523NsLxwI','ejOEf','number','rLDvM','env\x20list','positional','rWfhJ','sVpJw','Remove\x20a\x20config\x20value','task','profile','list\x20<profile>','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','profile\x20update','\x20is\x20now\x20','HXAHV','message','error','repeat','dgBHT','ranger\x20create','You\x20must\x20specify\x20an\x20auth\x20subcommand','safe-mode','gQjgl','ranger\x20env\x20ls','cGlmf','eDBSs','profile\x20encrypt-auth','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','checklist','Restore\x20a\x20soft-deleted\x20feature\x20review','unhandledRejection','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','some','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','hook:enable','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','status','scriptName','opencode','qBVtW','nkfGz','uftOy','NPJiv','kdlVb','YPGbo','YTUlw','dry-run','hXHsd','1373015hjRlKu','utogV','force','KbDIa','yDMBI','Install\x20Chromium\x20browser\x20binary','unset\x20<env>\x20<key>','IlJQN','test','blocked','skip-auth','incomplete','CYiMf','includes','Base\x20URL\x20of\x20the\x20running\x20app','✓\x20Login\x20succeeded\x20for\x20\x27','cFnGb','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','offset','login','ranger\x20feature\x20list','profile\x20config\x20list','use\x20<env-name>','SZGEC','MHZRp','create\x20<name>','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ESRah','print-access-token','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','save-creds','Switch\x20to\x20using\x20a\x20specific\x20profile','zbmiO','.ranger','vrRPI','yDfvB','success','ranger\x20config\x20set','hhBEy','include-deleted','eCieD','512932bucAhE','rWPWb','XJivI','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\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\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','XIKGC','Environment\x20name','ranger\x20show','unset\x20<profile>\x20<key>','Skip\x20browser\x20authentication','RANGER_TEST_PASSWORD','yXftS','start-path','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','RbHjH','Alias\x20for\x20--mcp-bootstrap','iVXUD','notes','SmBBk','MGMDZ','Install\x20skills\x20for\x20OpenCode','dFgwD','edit-scenario','user','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','pqbYa','hook:disable','ELZYM','exit','zogri','ranger\x20feature\x20create','set\x20<env>\x20<key>\x20<value>','Unknown\x20command','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','add\x20<profile-name>','--scenario','restore','Install\x20OS-level\x20dependencies\x20for\x20Chromium','uIFSk','HBRlQ','usage','config\x20set','QpKun','env','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','NODE_ENV','admkc','You\x20must\x20specify\x20a\x20command','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','oauLn','unZwk','gfzHy','HMDgM','zourP','SoYax','report','yMHML','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','failed','pNEYF','argv','limit','fFbbL','JHFoc','auth','mMDDC','list\x20<env>','PKjHj','yes','setup:skills','ranger\x20feature\x20get-feedback','ranger','NpDrQ','report\x20[id]','--checklist','Subcommand\x20or\x20API\x20token\x20(rngr_...)','ASmFr','WctqF','Update\x20authentication\x20for\x20an\x20existing\x20profile','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\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\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\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\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\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\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','SxaRz','eRgRU','Install\x20scope\x20for\x20skills','ELIuc','627235goyPkr','jMpcD','log','hlPYj','value','NbvJt','update\x20<profile-name>','pgGoo','ranger\x20feature\x20show','migrate\x20[profile-name]','fNLFC','KVOWH','faLcZ','clean','profile\x20config\x20unset','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Xeabv','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','xonNz','zYQhm','Osjyq','ranger\x20env\x20update','delete\x20[id]','setup-ci\x20<token>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','TqXtL','rYPkD','test_output','ranger\x20get-review','demandCommand','env-name','MzCyQ','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','List\x20all\x20config\x20for\x20a\x20profile','config\x20get','oIVqC','rdTEO','debug-address-comments','mcp','feature\x20resume','headed','PjdJv','KEeBk','Feature\x20review\x20ID','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Name\x20of\x20the\x20environment','config','LPhEf','qGpSX','WFcIO','Adeai','model','profiles','Profile\x20name','rNWvc','zjGkN','summary','partial','trackCommandError','ZiLGx','add\x20env\x20<env-name>','command','restore\x20<id>','Unknown\x20error','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','YJXFv','set\x20<profile>\x20<key>\x20<value>','profile\x20login','TlpvI','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','DWoil','disable','WUqFP','zOHEj','SssKG','EHDXi','ranger\x20config\x20get','You\x20must\x20specify\x20an\x20env\x20subcommand','enable','ranger\x20profile\x20config\x20get','update','qGPAq','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Install\x20scope\x20for\x20plugin\x20and\x20skills','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','XUmMZ','WmvXU','Scenario\x20description','add\x20env','verified','profile-name','skills','show','scenario','debug-outcome','yfMum','roBlo','claude','ranger\x20delete','Config\x20key\x20to\x20remove','LJYEH','--item','YFJgl','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','AyPVk','102ZGLrJx','915441cvHQtj','strictCommands','tTZSI','DFMdi','hwvAo','Feature\x20review\x20description','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','.env','\x20BLOCKED','Skip\x20authentication','with-deps'];_0x814c=function(){return _0x187edf;};return _0x814c();}export function buildParser(_0x250fb0){const _0x47c0f9=_0x2881c4,_0x259db2={'dFgwD':_0x47c0f9(0x1b0),'hXHsd':_0x47c0f9(0x1df),'PKjHj':_0x47c0f9(0x1d2),'Urtbj':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aOLgx':'array','sTcyg':function(_0x1e313b,_0x4e4074){return _0x1e313b+_0x4e4074;},'oEBjZ':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','IQRuA':'Example:\x20ranger\x20create\x20my-feature','oIVqC':function(_0x27805c,_0x171bfc,_0x5ee9ea){return _0x27805c(_0x171bfc,_0x5ee9ea);},'rhARK':_0x47c0f9(0x1cf),'qGpSX':'boolean','dNyMr':_0x47c0f9(0x29c),'FKzXu':_0x47c0f9(0x164),'pqABO':_0x47c0f9(0x249),'cGlmf':'list','fGTsY':function(_0x32b915,_0x514688,_0x4f3d3a){return _0x32b915(_0x514688,_0x4f3d3a);},'eDBSs':_0x47c0f9(0x150),'pgGoo':'resume','KCEyx':_0x47c0f9(0x2cb),'uftOy':_0x47c0f9(0x187),'gfzHy':_0x47c0f9(0x1fb),'huHJJ':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','BaPlH':'json','WiBLH':_0x47c0f9(0x1ce),'NrXym':_0x47c0f9(0x296),'iVXUD':function(_0x5a1dd5,_0x1ba2d6,_0x4de427){return _0x5a1dd5(_0x1ba2d6,_0x4de427);},'MUshC':'Feature\x20review\x20ID\x20to\x20restore','pIWQW':_0x47c0f9(0x283),'PjdJv':_0x47c0f9(0x16b),'kygxT':'Skip\x20authentication','fFbbL':'scope','YeYvM':'user','oauLn':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','YvLYo':'url','zourP':_0x47c0f9(0x1d4),'Enguw':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zjiNd':_0x47c0f9(0x26e),'DFMdi':_0x47c0f9(0x173),'EpOfY':function(_0x22d88f,_0x4f0930,_0x209774){return _0x22d88f(_0x4f0930,_0x209774);},'BOLIY':'with-deps','sLGQV':_0x47c0f9(0x2d3),'PSFZS':'setup:deps','WUqFP':function(_0x50d54b,_0x5e0f25){return _0x50d54b(_0x5e0f25);},'DWoil':'project','YTUlw':function(_0x4eb014,_0x253b57){return _0x4eb014!==_0x253b57;},'geoUo':function(_0x310870,_0x1a97e7,_0x48ec07){return _0x310870(_0x1a97e7,_0x48ec07);},'RdmpF':'setup:profiles','TMIWJ':'mcp','pWXID':_0x47c0f9(0x1e6),'bWbfa':_0x47c0f9(0x245),'XIKGC':'Authenticate\x20with\x20Ranger','yioIo':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','ZiLGx':'Set\x20up\x20a\x20local\x20browser\x20profile','KEeBk':'skip-chromium','ZDcBu':_0x47c0f9(0x198),'ohbmD':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','HMDgM':_0x47c0f9(0x1c4),'exiTG':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','StWds':'API\x20token','HHnit':'start','yKFYu':'profile','oroRe':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','CFyOl':'Skip\x20Chromium\x20browser\x20installation','ioQJx':'setup-ci','THjwQ':function(_0x74dd3d,_0x4b1102,_0x1a2ac1){return _0x74dd3d(_0x4b1102,_0x1a2ac1);},'xUAOe':_0x47c0f9(0x24a),'zGlGR':_0x47c0f9(0x22d),'fZhvC':function(_0x4780fb,_0x233110,_0x81f67a){return _0x4780fb(_0x233110,_0x81f67a);},'DuIsz':'profile-name','HBRlQ':_0x47c0f9(0x228),'JWOsz':_0x47c0f9(0x241),'TKmGx':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','fNLFC':_0x47c0f9(0x18e),'rQvvY':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','qBVtW':'safe-mode','HXAHV':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','MzCyQ':'yes','pNEYF':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','PIvVh':function(_0x30815d,_0x35abe0,_0x3fb322,_0x342bc9){return _0x30815d(_0x35abe0,_0x3fb322,_0x342bc9);},'admkc':function(_0x93b5da,_0x285006){return _0x93b5da(_0x285006);},'KbDIa':_0x47c0f9(0x2e8),'ELZYM':function(_0x18c8f7,_0x3b69eb,_0xb9056d){return _0x18c8f7(_0x3b69eb,_0xb9056d);},'wPvTx':_0x47c0f9(0x210),'WmvXU':'all','VCQvg':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','utogV':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','NbvJt':_0x47c0f9(0x18a),'hhBEy':'profile\x20ls','dcXpX':_0x47c0f9(0x189),'WctqF':function(_0x360de1,_0x54ccbd){return _0x360de1===_0x54ccbd;},'mYIuV':_0x47c0f9(0x1db),'XUmMZ':function(_0x54c984,_0x32cac6,_0x471d95){return _0x54c984(_0x32cac6,_0x471d95);},'RaFhY':'profile\x20config\x20set','MqGFd':'Config\x20key','EJrYS':function(_0x34f42f,_0x304249,_0x2534f4){return _0x34f42f(_0x304249,_0x2534f4);},'zogri':_0x47c0f9(0x2c2),'tjrgI':_0x47c0f9(0x182),'nFJOS':_0x47c0f9(0x135),'vdgbj':'Set\x20a\x20config\x20value','vrRPI':'get\x20<profile>\x20<key>','qhvsm':'Get\x20a\x20config\x20value','QBdfv':_0x47c0f9(0x2d4),'MGMDZ':_0x47c0f9(0x267),'fFbBH':'reset\x20<profile>','dDdPb':_0x47c0f9(0x1bd),'TlpvI':_0x47c0f9(0x256),'hlPYj':_0x47c0f9(0x2b9),'WFcIO':_0x47c0f9(0x2ad),'DEDZG':'login\x20<name>','gwhrs':'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','mEQIg':_0x47c0f9(0x2e1),'AyPVk':'You\x20must\x20specify\x20a\x20profile\x20subcommand','NpDrQ':function(_0x252514,_0x4b7478,_0x30fa21){return _0x252514(_0x4b7478,_0x30fa21);},'LclpJ':function(_0x207a3a){return _0x207a3a();},'NxMPO':'Optional\x20feature\x20ID','MHteQ':_0x47c0f9(0x26c),'tBpiw':_0x47c0f9(0x1d5),'fANCA':_0x47c0f9(0x22a),'zbmiO':_0x47c0f9(0x2e6),'nhoab':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','XCRWd':'headed','tTZSI':'debug-outcome','qgIDs':_0x47c0f9(0x14d),'nfLGR':_0x47c0f9(0x242),'WKNps':_0x47c0f9(0x1cc),'rNWvc':_0x47c0f9(0x218),'UTyLl':_0x47c0f9(0x239),'RbHjH':_0x47c0f9(0x284),'eypaW':'ranger\x20setup','SaVTw':'env','mVNZP':_0x47c0f9(0x251),'yMHML':'task','DfILE':_0x47c0f9(0x28b),'zOHEj':'number','TqXtL':'start-path','UPQnw':_0x47c0f9(0x1f5),'JaEFW':_0x47c0f9(0x240),'eyPsw':'failed','IlJQN':function(_0x43783b,_0x50e005,_0x531fdc){return _0x43783b(_0x50e005,_0x531fdc);},'Xqkgo':_0x47c0f9(0x1e4),'KhQHS':function(_0x1ac033,_0x227d25,_0x1a4876){return _0x1ac033(_0x227d25,_0x1a4876);},'tOYED':function(_0x5b2089,_0x517ab8,_0x3c3840){return _0x5b2089(_0x517ab8,_0x3c3840);},'EaBkd':'ranger\x20use','zXTzX':'use','nxZVZ':_0x47c0f9(0x25c),'sCngD':_0x47c0f9(0x288),'NPJiv':_0x47c0f9(0x265),'yDMBI':_0x47c0f9(0x1f2),'dgBHT':_0x47c0f9(0x13f),'URMIF':_0x47c0f9(0x142),'nkfGz':'ranger\x20config\x20list','ASmFr':'ranger\x20profile\x20config\x20list','bwFBH':function(_0x4c72a4,_0x25ce92,_0x978fe1){return _0x4c72a4(_0x25ce92,_0x978fe1);},'wxVEA':'config\x20list','bxkCj':_0x47c0f9(0x157),'XqbEm':function(_0x2497f1,_0x4d22b2,_0x1444f7){return _0x2497f1(_0x4d22b2,_0x1444f7);},'kChBy':_0x47c0f9(0x1a3),'roBlo':_0x47c0f9(0x27e),'pqbYa':_0x47c0f9(0x2a1),'iiftp':_0x47c0f9(0x21b),'OWFDC':_0x47c0f9(0x207),'DqMzV':_0x47c0f9(0x140),'pjQgT':'Feature\x20review\x20name','gkpDk':'Feature\x20review\x20description','gaLqu':_0x47c0f9(0x220),'AmfLw':_0x47c0f9(0x151),'QpKun':'current-branch','WYEFt':'Number\x20of\x20feature\x20reviews\x20to\x20skip','YJXFv':'Include\x20soft-deleted\x20feature\x20reviews','ELIuc':_0x47c0f9(0x24b),'PmAJz':'ranger\x20list','YTUVD':'feature\x20list','oBBdd':'Feature\x20review\x20ID','hwvAo':_0x47c0f9(0x254),'dwSST':_0x47c0f9(0x1d6),'YFJgl':_0x47c0f9(0x2da),'qiQxp':'ranger\x20feature\x20add-checklist-item','zjGkN':'ranger\x20add-scenario','vTlyF':_0x47c0f9(0x2a5),'sVpJw':'feature\x20create','tbrGi':'ranger\x20restore','cGmJR':'create\x20<name>','SmBBk':'show\x20[id]','LRKTi':_0x47c0f9(0x17c),'tJaxG':_0x47c0f9(0x18b),'zxIwY':_0x47c0f9(0x1e8),'jltKH':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','kDlNN':_0x47c0f9(0x279),'vJvwn':function(_0x2af035,_0x3ab0db,_0xcf8ac4){return _0x2af035(_0x3ab0db,_0xcf8ac4);},'hlGoF':_0x47c0f9(0x141),'mhQLG':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','GyODS':_0x47c0f9(0x13a),'AkLtm':'session-id','xYvKW':function(_0x5b544b,_0x41f2b1,_0x1420a2){return _0x5b544b(_0x41f2b1,_0x1420a2);},'gXEmc':function(_0x4019d7,_0x74d004){return _0x4019d7(_0x74d004);},'BCJKc':function(_0x5664d1,_0x42cd18){return _0x5664d1||_0x42cd18;},'kdlVb':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','eBxbC':'List\x20all\x20feature\x20reviews','xqEvM':_0x47c0f9(0x225),'eRgRU':'add-scenario\x20<description>','qGPAq':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','yXftS':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','rHbLj':_0x47c0f9(0x2a8),'nVcnR':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','uIFSk':_0x47c0f9(0x2c9),'WdDFs':'setup\x20[tokenOrSubcommand]','ejOEf':'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ESRah':_0x47c0f9(0x223),'tISSq':'skillup','XJivI':'Install\x20Ranger\x20skills','mMDDC':_0x47c0f9(0x2c0),'VtjiI':'Manage\x20profiles','gkYIO':_0x47c0f9(0x15b),'gfyHD':_0x47c0f9(0x29f),'jMpcD':'verify-feature','lDaAS':_0x47c0f9(0x2ef),'ulbNE':_0x47c0f9(0x24d),'WlpCP':'hook','rLsJy':_0x47c0f9(0x28e),'TSqmD':_0x47c0f9(0x169),'LiYqG':'\x20\x20https://docs.ranger.net\x0a'};return _0x259db2['WUqFP'](_0x1d0cc3,_0x250fb0??process['argv']['slice'](0x2))[_0x47c0f9(0x22c)](_0x47c0f9(0x2a6))[_0x47c0f9(0x287)](TOP_LEVEL_HELP)[_0x47c0f9(0x192)](_0x259db2['LclpJ'](getCurrentVersion))['command'](_0x47c0f9(0x250),_0x259db2[_0x47c0f9(0x232)],_0x3da0aa=>{const _0x2c6f3e=_0x47c0f9;return _0x3da0aa['positional'](_0x259db2['dFgwD'],{'type':_0x259db2[_0x2c6f3e(0x236)],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x259db2['PKjHj'],{'type':_0x2c6f3e(0x1df),'alias':'d','description':_0x2c6f3e(0x163)})[_0x2c6f3e(0x1a1)]('scenario',{'type':_0x2c6f3e(0x1ca),'alias':'c','description':_0x259db2[_0x2c6f3e(0x1dd)]})[_0x2c6f3e(0x1a1)]('checklist',{'type':_0x259db2[_0x2c6f3e(0x16e)],'hidden':!![]});},async _0x3b987f=>{const _0x13cd71=_0x47c0f9;if(!_0x3b987f['name']){console[_0x13cd71(0x214)](_0x259db2['sTcyg'](_0x259db2['oEBjZ'],_0x259db2['IQRuA'])),process['exit'](0x1);return;}warnFlagRenamed(_0x13cd71(0x217),'--checklist','--scenario');const _0x1e150a=_0x3b987f['scenario']||_0x3b987f['checklist'];await _0x259db2[_0x13cd71(0x2d6)](withTelemetry,_0x259db2['rhARK'],()=>featureCreate(_0x3b987f['name'],{'description':_0x3b987f['description'],'scenarios':_0x1e150a}));})['command'](_0x259db2[_0x47c0f9(0x21c)],_0x259db2['eBxbC'],_0x3aa651=>{const _0x5ccd0f=_0x47c0f9;return _0x3aa651[_0x5ccd0f(0x1a1)](_0x5ccd0f(0x1b1),{'type':_0x259db2[_0x5ccd0f(0x2e3)],'description':_0x5ccd0f(0x248)})[_0x5ccd0f(0x1a1)](_0x259db2['dNyMr'],{'type':'number','alias':'l','description':_0x259db2['FKzXu'],'default':0xa})['option'](_0x259db2['pqABO'],{'type':'number','alias':'o','description':_0x5ccd0f(0x1a5),'default':0x0})[_0x5ccd0f(0x1a1)]('include-deleted',{'type':_0x5ccd0f(0x1c5),'alias':'d','description':_0x5ccd0f(0x179),'default':![]});},async _0x4cd010=>{const _0xf5eacd=_0x47c0f9;await _0x259db2['oIVqC'](withTelemetry,_0x259db2[_0xf5eacd(0x21c)],()=>featureList({'currentBranch':_0x4cd010['current-branch'],'limit':_0x4cd010['limit'],'offset':_0x4cd010[_0xf5eacd(0x249)],'includeDeleted':_0x4cd010['include-deleted']}));})['command'](_0x259db2[_0x47c0f9(0x271)],_0x47c0f9(0x229),_0x3b5ada=>{const _0x2d2621=_0x47c0f9;return _0x3b5ada[_0x2d2621(0x208)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x5d04b5=>{const _0x111d5a=_0x47c0f9;await _0x259db2[_0x111d5a(0x1fe)](withTelemetry,_0x259db2[_0x111d5a(0x21d)],()=>featureShow(_0x5d04b5['id']));})['command'](_0x47c0f9(0x17c),_0x259db2['xqEvM'],_0x284223=>{const _0x1ca097=_0x47c0f9;return _0x284223['positional']('id',{'type':_0x259db2[_0x1ca097(0x236)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x310fd2=>{const _0x41faeb=_0x47c0f9;await _0x259db2['fGTsY'](withTelemetry,_0x259db2[_0x41faeb(0x2ba)],()=>featureResume(_0x310fd2['id']));})['command'](_0x259db2[_0x47c0f9(0x2b0)],_0x259db2[_0x47c0f9(0x144)],_0x1121d8=>{const _0x10954a=_0x47c0f9;return _0x1121d8[_0x10954a(0x208)]('description',{'type':_0x259db2[_0x10954a(0x236)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x259db2[_0x10954a(0x236)],'description':_0x259db2[_0x10954a(0x17b)]});},async _0x4c44b5=>{const _0x25f7ac=_0x47c0f9;await withTelemetry('add-scenario',()=>featureAddScenario(_0x4c44b5[_0x25f7ac(0x1d2)],_0x4c44b5['id']));})[_0x47c0f9(0x2f0)](_0x47c0f9(0x1c2),_0x259db2[_0x47c0f9(0x26a)],_0x42039c=>{const _0x2eb166=_0x47c0f9;return _0x42039c[_0x2eb166(0x208)](_0x2eb166(0x1d2),{'type':_0x259db2[_0x2eb166(0x236)],'description':_0x259db2[_0x2eb166(0x230)],'demandOption':!![]})['option'](_0x2eb166(0x151),{'type':'number','description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x2eb166(0x1a1)]('id',{'type':_0x259db2['hXHsd'],'description':_0x259db2[_0x2eb166(0x17b)]});},async _0x30c207=>{const _0x2046b1=_0x47c0f9;await _0x259db2['fGTsY'](withTelemetry,_0x2046b1(0x275),()=>featureEditScenario(_0x30c207[_0x2046b1(0x1d2)],{'id':_0x30c207['id'],'scenario':_0x30c207[_0x2046b1(0x151)]}));})[_0x47c0f9(0x2f0)](_0x259db2['rHbLj'],_0x259db2[_0x47c0f9(0x17f)],_0x3ebbba=>{const _0x26924d=_0x47c0f9;return _0x3ebbba['positional']('id',{'type':_0x259db2['hXHsd'],'description':_0x26924d(0x2de)})['option'](_0x259db2[_0x26924d(0x292)],{'type':_0x259db2['aOLgx'],'description':_0x259db2[_0x26924d(0x18d)]})[_0x26924d(0x1a1)](_0x259db2['BaPlH'],{'type':_0x259db2[_0x26924d(0x2e3)],'description':_0x259db2['WiBLH'],'default':![]});},async _0x2f583a=>{const _0x5a4c68=_0x2f583a[_0x259db2['gfzHy']],_0x127ab0=_0x5a4c68?_0x5a4c68['map'](_0x561730=>Number(_0x561730)):undefined;await withTelemetry(_0x259db2['NrXym'],()=>featureReportPrDescription(_0x2f583a['id'],{'excludeScenarios':_0x127ab0,'json':_0x2f583a['json']}));})[_0x47c0f9(0x2f0)]('get-review\x20[id]',_0x47c0f9(0x193),_0x3fcd17=>{const _0xee7cd=_0x47c0f9;return _0x3fcd17[_0xee7cd(0x208)]('id',{'type':_0xee7cd(0x1df),'description':_0xee7cd(0x2cb)});},async _0x478860=>{const _0x59fbcc=_0x47c0f9;await _0x259db2[_0x59fbcc(0x26f)](withTelemetry,'get-review',()=>featureGetReview(_0x478860['id']));})['command'](_0x259db2[_0x47c0f9(0x285)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x384165=>{const _0x48a239=_0x47c0f9;return _0x384165['positional']('id',{'type':_0x48a239(0x1df),'description':_0x48a239(0x2de)});},async _0x42f14b=>{await withTelemetry('delete',()=>featureDelete(_0x42f14b['id']));})['command'](_0x47c0f9(0x131),_0x47c0f9(0x221),_0x314d9d=>{const _0x48b5de=_0x47c0f9;return _0x314d9d['positional']('id',{'type':_0x48b5de(0x1df),'description':_0x259db2['MUshC'],'demandOption':!![]});},async _0x373b75=>{await withTelemetry(_0x259db2['pIWQW'],()=>featureRestore(_0x373b75['id']));})['command'](_0x259db2['WdDFs'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x23dcea=>{const _0x355bcc=_0x47c0f9,_0x36735a={'CYiMf':_0x259db2[_0x355bcc(0x199)],'WtAlm':_0x259db2['pWXID'],'zbOvU':'scope','NVMiR':_0x259db2['hXHsd'],'fMcvF':'user','Osjyq':_0x355bcc(0x148),'cFnGb':_0x259db2[_0x355bcc(0x19c)],'bAlnB':'skip-auth','FCQtF':_0x259db2[_0x355bcc(0x2e3)],'xztxq':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x23dcea[_0x355bcc(0x287)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\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\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':_0x259db2['hXHsd'],'description':_0x355bcc(0x2aa)})[_0x355bcc(0x2f0)]('all',_0x355bcc(0x1e2),_0x4996ab=>{const _0x1607f2=_0x355bcc;return _0x4996ab['option'](_0x1607f2(0x1a9),{'type':'string','description':_0x259db2[_0x1607f2(0x2dc)]})['option']('skip-chromium',{'type':'boolean','description':_0x1607f2(0x198),'default':![]})['option'](_0x1607f2(0x241),{'type':_0x1607f2(0x1c5),'description':_0x259db2[_0x1607f2(0x1be)],'default':![]})[_0x1607f2(0x1a1)](_0x1607f2(0x168),{'type':_0x1607f2(0x1c5),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option'](_0x259db2[_0x1607f2(0x29d)],{'type':'string','choices':[_0x259db2['YeYvM']],'hidden':!![],'description':_0x259db2[_0x1607f2(0x290)]})[_0x1607f2(0x1a1)](_0x259db2['YvLYo'],{'type':_0x1607f2(0x1df),'description':_0x1607f2(0x147)})['option'](_0x1607f2(0x239),{'type':'boolean','description':_0x259db2['zourP'],'default':![]})['option']('opencode',{'type':_0x259db2[_0x1607f2(0x2e3)],'description':_0x259db2[_0x1607f2(0x1f7)],'default':![]})[_0x1607f2(0x1a1)](_0x1607f2(0x189),{'type':_0x1607f2(0x1c5),'description':_0x1607f2(0x1a0),'default':![]})[_0x1607f2(0x1a1)]('mcp-bootstrap',{'type':_0x259db2['qGpSX'],'description':_0x1607f2(0x145),'default':![]})['option']('mcp',{'type':_0x259db2['qGpSX'],'description':_0x259db2['zjiNd'],'default':![]});},async _0x20780f=>{const _0x209ea1=_0x355bcc;(_0x20780f[_0x259db2[_0x209ea1(0x161)]]||_0x20780f[_0x209ea1(0x2d9)])&&await _0x259db2['EpOfY'](withTelemetry,_0x259db2[_0x209ea1(0x161)],()=>mcpBootstrap()),await _0x259db2[_0x209ea1(0x2d6)](withTelemetry,'setup:all',_0x457c64=>start(_0x20780f[_0x209ea1(0x1a9)],{'skipChromium':_0x20780f['skip-chromium'],'skipAuth':_0x20780f['skip-auth'],'withDeps':_0x20780f['with-deps'],'scope':_0x20780f['scope'],'url':_0x20780f['url'],'force':_0x20780f['force'],'opencode':_0x20780f[_0x209ea1(0x22d)],'allowInsecureLocalhost':_0x20780f['allow-insecure-localhost']},_0x457c64));})[_0x355bcc(0x2f0)](_0x355bcc(0x1c3),_0x355bcc(0x23c),_0x15acdf=>{const _0x5794cf=_0x355bcc;return _0x15acdf[_0x5794cf(0x1a1)](_0x259db2[_0x5794cf(0x197)],{'type':'boolean','description':_0x259db2[_0x5794cf(0x1eb)],'default':![]});},async _0x1cd1e6=>{const _0xb4192c=_0x355bcc;await _0x259db2[_0xb4192c(0x1fe)](withTelemetry,_0x259db2['PSFZS'],()=>ensureChromium(_0x1cd1e6[_0xb4192c(0x168)]));})[_0x355bcc(0x2f0)](_0x355bcc(0x24a),_0x259db2[_0x355bcc(0x264)],_0x1face1=>{const _0x19d030=_0x355bcc;return _0x1face1['option'](_0x19d030(0x1a9),{'type':_0x19d030(0x1df),'description':'Ranger\x20API\x20token\x20(rngr_...)'})[_0x19d030(0x1a1)](_0x36735a[_0x19d030(0x243)],{'type':'boolean','description':_0x36735a['WtAlm'],'default':![]});},async _0x3ccf45=>{const _0x304800={'gQjgl':function(_0x1a57f0,_0x28e895){return _0x259db2['WUqFP'](_0x1a57f0,_0x28e895);}};await _0x259db2['EpOfY'](withTelemetry,'setup:login',async()=>{const _0x75c374=_0x21c1;if(_0x3ccf45[_0x75c374(0x2d9)]){await mcpBootstrap();const _0x4fad53=await refreshCliToken();if(!_0x4fad53)throw new Error(_0x75c374(0x1d7));const _0x309e0a=await getCurrentUser(_0x4fad53);if(!_0x309e0a[_0x75c374(0x25b)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x309e0a['error']);console[_0x75c374(0x2b5)](_0x75c374(0x185)+_0x309e0a[_0x75c374(0x276)]['organizationName']);return;}await _0x304800[_0x75c374(0x21a)](authenticate,_0x3ccf45['token']);});})['command'](_0x355bcc(0x14f),_0x259db2['yioIo'],_0xae905c=>{const _0x5080b4=_0x355bcc;return _0xae905c[_0x5080b4(0x1a1)](_0x259db2['fFbbL'],{'type':'string','choices':[_0x5080b4(0x276),_0x259db2['DWoil']],'description':_0x5080b4(0x146)})[_0x5080b4(0x1a1)]('opencode',{'type':_0x5080b4(0x1c5),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x21936d=>{const _0x39820e=_0x355bcc,_0x254952={'HJfRI':function(_0x242d01){return _0x242d01();},'tFNtB':function(_0x18efb6,_0x2d615f){return _0x18efb6(_0x2d615f);}};await withTelemetry(_0x39820e(0x2a4),async()=>{const _0x2a499f=_0x39820e,_0x2b4597=_0x21936d[_0x2a499f(0x201)];if(_0x21936d['opencode']){const _0xeee26f=await ensureOpencodePluginConfig(_0x2b4597);_0xeee26f&&await installSkill(_0x2a499f(0x2a6),{'level':_0xeee26f[_0x2a499f(0x201)],'cliVersion':_0x254952['HJfRI'](getCurrentVersion),'platform':'opencode'});}else await _0x254952['tFNtB'](ensureClaudePlugin,_0x2b4597),await ensureClaudeSkills(_0x2b4597);});})['command'](_0x355bcc(0x2e7),_0x259db2[_0x355bcc(0x2ee)],_0x5581ee=>{const _0x1eb10e=_0x355bcc;return _0x5581ee[_0x1eb10e(0x1a1)](_0x36735a['zbOvU'],{'type':_0x36735a['NVMiR'],'choices':[_0x36735a[_0x1eb10e(0x1b6)]],'description':_0x36735a[_0x1eb10e(0x2c7)]})[_0x1eb10e(0x1a1)](_0x1eb10e(0x1d8),{'type':'string','description':_0x36735a[_0x1eb10e(0x247)]})[_0x1eb10e(0x1a1)](_0x36735a[_0x1eb10e(0x171)],{'type':_0x1eb10e(0x1c5),'description':_0x1eb10e(0x268),'default':![]})[_0x1eb10e(0x1a1)]('force',{'type':_0x36735a['FCQtF'],'description':_0x36735a['xztxq'],'default':![]})['option'](_0x1eb10e(0x189),{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x7d476a=>{const _0x3233d3=_0x355bcc,_0x57ba4d=_0x7d476a[_0x3233d3(0x201)];_0x57ba4d!==undefined&&_0x259db2[_0x3233d3(0x234)](_0x57ba4d,_0x259db2['YeYvM'])&&(console['error'](_0x259db2[_0x3233d3(0x194)]('ranger\x20setup\x20profiles\x20--scope='+_0x57ba4d+'\x20is\x20no\x20longer\x20supported.\x20',_0x3233d3(0x20f))+_0x3233d3(0x298)),process[_0x3233d3(0x27b)](0x1)),await _0x259db2[_0x3233d3(0x178)](withTelemetry,_0x259db2['RdmpF'],_0x30b0b0=>ensureLocalEnv({'url':_0x7d476a[_0x3233d3(0x1d8)],'force':_0x7d476a[_0x3233d3(0x239)],'allowInsecureLocalhost':_0x7d476a['allow-insecure-localhost'],'scope':_0x3233d3(0x276)},_0x30b0b0));})[_0x355bcc(0x1a1)](_0x259db2[_0x355bcc(0x2dd)],{'type':'boolean','description':_0x259db2['ZDcBu'],'default':![]})['option'](_0x355bcc(0x201),{'type':'string','choices':['user'],'hidden':!![],'description':_0x259db2['oauLn']})[_0x355bcc(0x1a1)](_0x259db2['YvLYo'],{'type':_0x355bcc(0x1df),'description':_0x259db2[_0x355bcc(0x1a2)]})['option']('force',{'type':_0x259db2[_0x355bcc(0x2e3)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('opencode',{'type':_0x259db2[_0x355bcc(0x2e3)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x355bcc(0x189),{'type':_0x259db2[_0x355bcc(0x2e3)],'description':_0x259db2['HMDgM'],'default':![]})['option'](_0x259db2['DFMdi'],{'type':'boolean','description':_0x259db2['exiTG'],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x355bcc(0x1a1)](_0x355bcc(0x168),{'type':_0x355bcc(0x1c5),'description':_0x259db2[_0x355bcc(0x1eb)],'default':![]})[_0x355bcc(0x1a1)]('token',{'type':'string','hidden':!![],'description':_0x259db2['StWds']});},async _0x268d63=>{const _0x414177=_0x47c0f9,_0x684f69=_0x268d63['tokenOrSubcommand'],_0x1ef82e=_0x268d63['token']??_0x684f69;_0x268d63[_0x414177(0x173)]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x259db2['HHnit'],_0x1b343b=>start(_0x1ef82e,{'skipChromium':_0x268d63['skip-chromium'],'skipAuth':_0x268d63[_0x414177(0x241)],'withDeps':_0x268d63['with-deps'],'scope':_0x268d63[_0x414177(0x201)],'url':_0x268d63['url'],'force':_0x268d63['force'],'opencode':_0x268d63['opencode'],'allowInsecureLocalhost':_0x268d63[_0x414177(0x189)]},_0x1b343b));})['command'](_0x47c0f9(0x2ca),_0x259db2[_0x47c0f9(0x204)],_0x3fab34=>{const _0x22435b=_0x47c0f9;return _0x3fab34['positional']('token',{'type':_0x259db2[_0x22435b(0x236)],'description':_0x259db2['PjdJv'],'demandOption':!![]})[_0x22435b(0x1a1)](_0x259db2[_0x22435b(0x1b8)],{'type':_0x22435b(0x1df),'description':_0x259db2['oroRe']})['option'](_0x22435b(0x183),{'type':_0x259db2[_0x22435b(0x236)],'description':_0x22435b(0x227)})[_0x22435b(0x1a1)]('skip-chromium',{'type':_0x259db2['qGpSX'],'description':_0x259db2['CFyOl'],'default':![]});},async _0x573a99=>{const _0x2dd46d=_0x47c0f9;await withTelemetry(_0x259db2['ioQJx'],_0x29e6dc=>setupCi(_0x573a99[_0x2dd46d(0x1a9)],{'profile':_0x573a99['profile'],'baseUrl':_0x573a99[_0x2dd46d(0x183)],'skipChromium':_0x573a99['skip-chromium']},_0x29e6dc));})[_0x47c0f9(0x2f0)](_0x47c0f9(0x24a),_0x259db2[_0x47c0f9(0x252)],()=>{},async()=>{const _0x1f2d33=_0x47c0f9;await _0x259db2[_0x1f2d33(0x1ba)](withTelemetry,_0x259db2[_0x1f2d33(0x1ee)],()=>login());})[_0x47c0f9(0x2f0)](_0x259db2['tISSq'],_0x259db2[_0x47c0f9(0x262)],_0x2c0fa6=>{const _0x32eecc=_0x47c0f9;return _0x2c0fa6[_0x32eecc(0x1a1)](_0x259db2[_0x32eecc(0x1ae)],{'type':'boolean','description':_0x32eecc(0x273),'default':![]})['option'](_0x259db2[_0x32eecc(0x29d)],{'type':_0x32eecc(0x1df),'choices':['user',_0x259db2[_0x32eecc(0x139)]],'description':_0x32eecc(0x2b1)});},async _0x3e1a80=>{const _0xf5aff5=_0x47c0f9,_0x5be43b=_0x259db2[_0xf5aff5(0x13b)](Boolean,_0x3e1a80[_0xf5aff5(0x22d)]);await _0x259db2[_0xf5aff5(0x1dc)](withTelemetry,_0xf5aff5(0x1f8),()=>skillup({'autoInstall':_0x3e1a80['scope'],'platform':_0x5be43b?_0xf5aff5(0x22d):_0xf5aff5(0x155)}));})[_0x47c0f9(0x2f0)](_0x259db2[_0x47c0f9(0x2a0)],_0x47c0f9(0x191),()=>{},async()=>{const _0x3dc4a5=_0x47c0f9;await withTelemetry(_0x3dc4a5(0x2c0),()=>clean());})['command']([_0x259db2['yKFYu'],_0x47c0f9(0x2e7)],_0x259db2['VtjiI'],_0x46b5a1=>{const _0x2e1b3d=_0x47c0f9,_0x3fce5c={'Adeai':_0x2e1b3d(0x14e),'MPHhI':'Name\x20of\x20the\x20profile','zYQhm':function(_0x125b15,_0x467987,_0x182adf){return _0x125b15(_0x467987,_0x182adf);},'cNgwn':_0x2e1b3d(0x21e),'bwBuE':_0x259db2[_0x2e1b3d(0x25d)],'faLcZ':_0x259db2[_0x2e1b3d(0x236)],'vyiPZ':'Name\x20of\x20the\x20profile\x20to\x20update','NmODz':_0x259db2['dcXpX'],'SssKG':_0x259db2['qGpSX'],'AMLQC':_0x2e1b3d(0x1c4),'dWbZe':function(_0x1924f4,_0x3423e5){return _0x1924f4||_0x3423e5;},'YUdnM':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','rWfhJ':function(_0x23515b,_0x3d6fcd){const _0x342910=_0x2e1b3d;return _0x259db2[_0x342910(0x2ac)](_0x23515b,_0x3d6fcd);},'KndhY':_0x259db2['mYIuV'],'fVQMb':function(_0x35d944,_0x17e1eb,_0x6bd974){const _0x3b3d24=_0x2e1b3d;return _0x259db2[_0x3b3d24(0x149)](_0x35d944,_0x17e1eb,_0x6bd974);},'AmumX':_0x259db2[_0x2e1b3d(0x1ed)],'unZwk':_0x259db2[_0x2e1b3d(0x1b8)],'CZiLj':_0x259db2['MqGFd'],'ermAJ':function(_0x47937e,_0x31bc09,_0x2eb466){return _0x259db2['EJrYS'](_0x47937e,_0x31bc09,_0x2eb466);},'gKiTg':_0x2e1b3d(0x2c1),'rWPWb':_0x259db2['KbDIa'],'JHFoc':_0x259db2[_0x2e1b3d(0x27c)],'PwsXU':_0x259db2['tjrgI'],'hsKqS':_0x259db2[_0x2e1b3d(0x195)],'RWdJb':_0x259db2[_0x2e1b3d(0x18c)],'saHeC':_0x259db2[_0x2e1b3d(0x259)],'OOUgY':_0x259db2['qhvsm'],'sStxs':_0x259db2['QBdfv'],'SZGEC':_0x259db2[_0x2e1b3d(0x272)],'mRzHd':_0x259db2['fFbBH'],'jsmGO':_0x259db2['dDdPb']};return _0x46b5a1['usage'](PROFILE_HELP)[_0x2e1b3d(0x2f0)](_0x2e1b3d(0x281),'Add\x20profile\x20configuration',_0x4dba11=>{const _0x55e305=_0x2e1b3d;return _0x4dba11[_0x55e305(0x208)](_0x259db2['DuIsz'],{'type':_0x259db2['hXHsd'],'description':_0x259db2[_0x55e305(0x286)],'demandOption':!![]})['option']('ci',{'type':_0x259db2['qGpSX'],'description':_0x55e305(0x2df),'default':![]})['option'](_0x259db2[_0x55e305(0x1d9)],{'type':_0x55e305(0x1c5),'description':_0x259db2['TKmGx'],'default':![]})[_0x55e305(0x1a1)]('url',{'type':_0x55e305(0x1df),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':'boolean','description':_0x259db2[_0x55e305(0x294)],'default':![]})[_0x55e305(0x1a1)](_0x259db2[_0x55e305(0x2bd)],{'type':_0x259db2['hXHsd'],'description':_0x259db2[_0x55e305(0x1c8)]})[_0x55e305(0x1a1)](_0x55e305(0x189),{'type':_0x259db2[_0x55e305(0x2e3)],'description':_0x259db2[_0x55e305(0x293)],'default':![]})['option'](_0x259db2[_0x55e305(0x22e)],{'type':_0x55e305(0x1c5),'description':_0x259db2[_0x55e305(0x212)],'default':![]})['option']('setup-header',{'type':_0x259db2[_0x55e305(0x236)],'array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x55e305(0x201),{'type':_0x259db2['hXHsd'],'choices':[_0x55e305(0x276),_0x259db2[_0x55e305(0x139)]],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x259db2[_0x55e305(0x2d2)],{'type':_0x259db2['qGpSX'],'alias':'y','description':_0x259db2[_0x55e305(0x29a)],'default':![]});},async _0xde8416=>{const _0x48f13b=_0x2e1b3d;await _0x259db2['PIvVh'](withTelemetry,_0x48f13b(0x1fd),_0xafb096=>addEnv(_0xde8416[_0x48f13b(0x14e)],{'ci':_0xde8416['ci'],'skipAuth':_0xde8416[_0x48f13b(0x241)],'url':_0xde8416[_0x48f13b(0x1d8)],'force':_0xde8416[_0x48f13b(0x239)],'cdpEndpoint':_0xde8416['cdp-endpoint'],'allowInsecureLocalhost':_0xde8416['allow-insecure-localhost'],'safeMode':_0xde8416[_0x48f13b(0x219)],'setupHeader':_0xde8416[_0x48f13b(0x16d)],'scope':_0xde8416[_0x48f13b(0x201)],'yes':_0xde8416[_0x48f13b(0x2a3)]},_0xafb096),{'isElectron':_0x259db2[_0x48f13b(0x28d)](Boolean,_0xde8416[_0x259db2[_0x48f13b(0x2bd)]])});})[_0x2e1b3d(0x2f0)]('use\x20<profile-name>',_0x259db2[_0x2e1b3d(0x137)],_0x170a8a=>{const _0x4a66df=_0x2e1b3d;return _0x170a8a['positional'](_0x3fce5c[_0x4a66df(0x2e5)],{'type':_0x4a66df(0x1df),'description':_0x3fce5c['MPHhI'],'demandOption':!![]});},async _0x33597c=>{const _0x23c1db=_0x2e1b3d;await _0x259db2[_0x23c1db(0x1fe)](withTelemetry,_0x23c1db(0x1da),()=>useEnv(_0x33597c[_0x23c1db(0x14e)]));})[_0x2e1b3d(0x2f0)](_0x2e1b3d(0x1e9),_0x2e1b3d(0x21f),_0x75268f=>{const _0x431d36=_0x2e1b3d;return _0x75268f[_0x431d36(0x208)](_0x259db2[_0x431d36(0x1b8)],{'type':_0x259db2[_0x431d36(0x236)],'description':_0x259db2['KbDIa'],'demandOption':!![]});},async _0x23dc1e=>{const _0x304445=_0x2e1b3d;await _0x3fce5c['zYQhm'](withTelemetry,_0x3fce5c['cNgwn'],()=>authEncrypt(_0x23dc1e[_0x304445(0x20d)]));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry(_0x3fce5c['bwBuE'],()=>envList());})[_0x2e1b3d(0x2f0)](_0x259db2[_0x2e1b3d(0x2b6)],_0x259db2[_0x2e1b3d(0x2e4)],_0x14c41e=>{const _0x3aab85=_0x2e1b3d;return _0x14c41e['positional'](_0x3fce5c['Adeai'],{'type':_0x3fce5c['faLcZ'],'description':_0x3fce5c['vyiPZ'],'demandOption':!![]})['option'](_0x3fce5c['NmODz'],{'type':_0x3fce5c[_0x3aab85(0x13d)],'description':_0x3fce5c[_0x3aab85(0x19e)]});},async _0x31457e=>{const _0x286141=_0x2e1b3d;await _0x259db2[_0x286141(0x27a)](withTelemetry,_0x259db2['wPvTx'],_0x282167=>updateEnv(_0x31457e['profile-name'],_0x282167,{'allowInsecureLocalhost':_0x31457e[_0x286141(0x189)]}));})[_0x2e1b3d(0x2f0)](_0x259db2['DEDZG'],![],_0x28e03f=>{const _0x4a9160=_0x2e1b3d;return _0x28e03f['positional'](_0x259db2[_0x4a9160(0x274)],{'type':'string','description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x1f954d=>{const _0x21e308=_0x2e1b3d,_0x4c6e1b={'MOWbY':function(_0x19778d,_0x48e279){return _0x3fce5c['dWbZe'](_0x19778d,_0x48e279);},'comGE':_0x3fce5c['YUdnM'],'GGEie':function(_0x177826,_0xd75cb9,_0x4ef654){return _0x3fce5c['zYQhm'](_0x177826,_0xd75cb9,_0x4ef654);},'uwVNp':function(_0x31ee79,_0x1329f4){const _0x141207=_0x21c1;return _0x3fce5c[_0x141207(0x209)](_0x31ee79,_0x1329f4);},'iQOJA':'unknown\x20error'};await _0x3fce5c[_0x21e308(0x2c6)](withTelemetry,_0x21e308(0x136),async()=>{const _0x1dc596=_0x21e308,_0x33e6a6=process[_0x1dc596(0x28a)]['RANGER_TEST_USERNAME'],_0x55e594=process[_0x1dc596(0x28a)][_0x1dc596(0x269)];_0x4c6e1b['MOWbY'](!_0x33e6a6,!_0x55e594)&&(console['error'](_0x4c6e1b[_0x1dc596(0x1bc)]),process[_0x1dc596(0x27b)](0x1));const _0x5b5760=_0x1f954d['name'],_0x5cff26=await _0x4c6e1b['GGEie'](serverSideLogin,_0x5b5760,{'force':!![]});_0x4c6e1b['uwVNp'](_0x5cff26[_0x1dc596(0x22b)],'not_configured')&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x1dc596(0x27b)](0x1)),_0x5cff26['status']==='failed'&&(console[_0x1dc596(0x214)]('Login\x20failed:\x20'+(_0x5cff26['error']??_0x4c6e1b[_0x1dc596(0x1a6)])),_0x5cff26[_0x1dc596(0x2ce)]&&console[_0x1dc596(0x214)](_0x5cff26['test_output']),process[_0x1dc596(0x27b)](0x1)),console[_0x1dc596(0x2b5)](_0x1dc596(0x246)+_0x5b5760+'\x27.\x20Session\x20saved.');});})['command'](_0x2e1b3d(0x2bc),_0x259db2['gwhrs'],_0x2b1b98=>{const _0x39b6c6=_0x2e1b3d;return _0x2b1b98['positional']('profile-name',{'type':_0x259db2['hXHsd'],'description':_0x39b6c6(0x138)})['option'](_0x259db2[_0x39b6c6(0x14a)],{'type':_0x259db2[_0x39b6c6(0x2e3)],'description':_0x259db2['VCQvg'],'default':![]})['option'](_0x39b6c6(0x235),{'type':_0x259db2['qGpSX'],'description':_0x259db2[_0x39b6c6(0x238)],'default':![]})['option'](_0x259db2[_0x39b6c6(0x2d2)],{'type':'boolean','alias':'y','description':_0x259db2[_0x39b6c6(0x2b8)],'default':![]})[_0x39b6c6(0x1a1)](_0x39b6c6(0x255),{'type':_0x259db2['qGpSX'],'description':_0x39b6c6(0x133),'default':![]});},async _0x1afa30=>{const _0xa80241=_0x2e1b3d;await withTelemetry(_0x3fce5c[_0xa80241(0x19b)],_0x4cb784=>migrateProfile({'profileName':_0x1afa30[_0xa80241(0x14e)],'all':_0x1afa30['all'],'dryRun':_0x1afa30['dry-run'],'yes':_0x1afa30['yes'],'saveCreds':_0x1afa30['save-creds']},_0x4cb784));})['command'](_0x259db2['mEQIg'],'Manage\x20profile\x20configuration',_0x40fa74=>{const _0x3b69c2=_0x2e1b3d,_0x479829={'cNqNY':'key','KVOWH':_0x3fce5c[_0x3b69c2(0x2bf)],'OOwDr':_0x3fce5c[_0x3b69c2(0x29e)],'xBnNx':'value','rYPkD':'Config\x20value','Iblgi':function(_0x4ec532,_0x4becb6,_0x6a712d){return _0x4ec532(_0x4becb6,_0x6a712d);},'WhDtA':_0x3fce5c[_0x3b69c2(0x1bf)],'IydFu':'Profile\x20name'};return _0x40fa74['usage'](PROFILE_CONFIG_HELP)['command'](_0x3fce5c['hsKqS'],_0x3fce5c['RWdJb'],_0x515a4d=>{const _0x40eee8=_0x3b69c2;return _0x515a4d['positional'](_0x40eee8(0x20d),{'type':'string','description':_0x40eee8(0x2e8),'demandOption':!![]})['positional'](_0x479829['cNqNY'],{'type':_0x479829[_0x40eee8(0x2be)],'description':_0x479829['OOwDr'],'demandOption':!![]})[_0x40eee8(0x208)](_0x479829[_0x40eee8(0x17e)],{'type':_0x479829['KVOWH'],'description':_0x479829[_0x40eee8(0x2cd)],'demandOption':!![]});},async _0x293267=>{const _0x512c82=_0x3b69c2;await _0x3fce5c['fVQMb'](withTelemetry,_0x3fce5c[_0x512c82(0x1bb)],()=>configSet(_0x293267[_0x512c82(0x20d)],_0x293267['key'],_0x293267['value']));})['command'](_0x3fce5c['saHeC'],_0x3fce5c['OOUgY'],_0xef581c=>{const _0x28982d=_0x3b69c2;return _0xef581c[_0x28982d(0x208)](_0x3fce5c[_0x28982d(0x291)],{'type':'string','description':_0x28982d(0x2e8),'demandOption':!![]})['positional']('key',{'type':_0x28982d(0x1df),'description':_0x3fce5c[_0x28982d(0x1ea)],'demandOption':!![]});},async _0x3dad24=>{const _0x55ace2=_0x3b69c2;await _0x479829['Iblgi'](withTelemetry,_0x479829[_0x55ace2(0x184)],()=>configGet(_0x3dad24[_0x55ace2(0x20d)],_0x3dad24[_0x55ace2(0x1f2)]));})['command'](_0x3b69c2(0x20e),_0x3fce5c['sStxs'],_0x2d2d8d=>{const _0x1060ad=_0x3b69c2;return _0x2d2d8d[_0x1060ad(0x208)](_0x3fce5c[_0x1060ad(0x291)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x381b78=>{const _0x5328ca=_0x3b69c2;await withTelemetry(_0x5328ca(0x24c),()=>configList(_0x381b78[_0x5328ca(0x20d)]));})[_0x3b69c2(0x2f0)](_0x3fce5c[_0x3b69c2(0x24e)],_0x3b69c2(0x20b),_0x371284=>{const _0x50fd70=_0x3b69c2;return _0x371284[_0x50fd70(0x208)](_0x50fd70(0x20d),{'type':_0x50fd70(0x1df),'description':_0x479829['IydFu'],'demandOption':!![]})['positional'](_0x479829['cNqNY'],{'type':_0x479829['KVOWH'],'description':_0x50fd70(0x157),'demandOption':!![]});},async _0x1f9f1c=>{await _0x3fce5c['ermAJ'](withTelemetry,_0x3fce5c['gKiTg'],()=>configUnset(_0x1f9f1c['profile'],_0x1f9f1c['key']));})['command'](_0x3fce5c['mRzHd'],_0x3fce5c['jsmGO'],_0x3a1d3b=>{const _0x269a87=_0x3b69c2;return _0x3a1d3b['positional']('profile',{'type':_0x269a87(0x1df),'description':_0x3fce5c[_0x269a87(0x261)],'demandOption':!![]});},async _0x342ccc=>{const _0x22140b=_0x3b69c2;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x342ccc[_0x22140b(0x20d)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x259db2[_0x2e1b3d(0x15c)]);})[_0x47c0f9(0x2f0)](_0x47c0f9(0x22b),_0x259db2['gkYIO'],()=>{},async()=>{const _0x1ed58c=_0x47c0f9;await _0x259db2[_0x1ed58c(0x2a7)](withTelemetry,_0x1ed58c(0x22b),()=>status());})['command'](_0x47c0f9(0x143),_0x47c0f9(0x1f1),()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x47c0f9(0x2f0)](_0x47c0f9(0x253),'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x10d15b=_0x47c0f9;await withTelemetry(_0x10d15b(0x253),async()=>{const _0x209878=_0x10d15b,_0x1e86f4=await _0x259db2['LclpJ'](getToken);if(!_0x1e86f4)throw new Error(_0x209878(0x28f));console['log'](_0x1e86f4);});})[_0x47c0f9(0x2f0)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5ec6f5=>{const _0x182e93=_0x47c0f9;return _0x5ec6f5['option']('feature',{'type':_0x259db2[_0x182e93(0x236)],'description':_0x259db2[_0x182e93(0x1b7)]})['option'](_0x259db2['yKFYu'],{'type':_0x259db2[_0x182e93(0x236)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option']('notes',{'type':_0x182e93(0x1df),'description':_0x259db2['MHteQ']})[_0x182e93(0x1a1)]('scenario',{'type':'number','description':_0x259db2['tBpiw']})[_0x182e93(0x1a1)](_0x182e93(0x26b),{'type':_0x259db2[_0x182e93(0x236)],'description':_0x259db2['fANCA']})['option']('base-url',{'type':_0x259db2[_0x182e93(0x236)],'description':_0x182e93(0x1f0)})['option'](_0x259db2[_0x182e93(0x257)],{'type':_0x259db2['hXHsd'],'description':_0x259db2['nhoab']})[_0x182e93(0x1a1)](_0x259db2['XCRWd'],{'type':_0x259db2[_0x182e93(0x2e3)],'description':_0x182e93(0x2c4),'default':![]})['option'](_0x259db2[_0x182e93(0x160)],{'type':_0x259db2['hXHsd'],'hidden':!![],'choices':[_0x259db2['qgIDs'],'partial',_0x182e93(0x240),_0x182e93(0x299),_0x259db2['nfLGR']]})['option'](_0x182e93(0x2d8),{'type':_0x259db2[_0x182e93(0x2e3)],'hidden':!![]})['option']('env',{'type':_0x259db2[_0x182e93(0x236)],'hidden':!![]})['option']('task',{'type':_0x259db2['hXHsd'],'hidden':!![]})[_0x182e93(0x1a1)](_0x182e93(0x1c9),{'type':'number','hidden':!![]});},async _0x4b7a0b=>{await runGoCommand(_0x4b7a0b);})[_0x47c0f9(0x2f0)](_0x259db2[_0x47c0f9(0x1a7)],![],_0x268027=>{const _0x325c49=_0x47c0f9,_0x2c6493={'SoYax':_0x325c49(0x20d),'SxaRz':_0x259db2[_0x325c49(0x23a)],'hKLkl':function(_0x5e89a5,_0x5b1f1a,_0x184df3){return _0x5e89a5(_0x5b1f1a,_0x184df3);},'TjAiS':_0x259db2['WKNps']};return _0x268027[_0x325c49(0x2f0)]('encrypt\x20<profile>',![],_0x2be3d5=>{const _0x2d733e=_0x325c49;return _0x2be3d5['positional'](_0x2c6493[_0x2d733e(0x295)],{'type':'string','description':_0x2c6493[_0x2d733e(0x2af)],'demandOption':!![]});},async _0x47a8c5=>{const _0x2b09ae=_0x325c49;_0x2c6493['hKLkl'](warnRenamed,'ranger\x20auth\x20encrypt',_0x2c6493[_0x2b09ae(0x1c0)]),await authEncrypt(_0x47a8c5['profile']);})['demandCommand'](0x1,_0x259db2[_0x325c49(0x2e9)]);},()=>{})[_0x47c0f9(0x2f0)]('start\x20[token]',![],_0x4a00a5=>{const _0x2f4aeb=_0x47c0f9;return _0x4a00a5['positional']('token',{'type':_0x2f4aeb(0x1df),'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x2f4aeb(0x1a1)]('skip-chromium',{'type':_0x259db2[_0x2f4aeb(0x2e3)],'description':_0x2f4aeb(0x198),'default':![]})[_0x2f4aeb(0x1a1)](_0x259db2[_0x2f4aeb(0x29d)],{'type':_0x259db2['hXHsd'],'choices':[_0x2f4aeb(0x276)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x259db2[_0x2f4aeb(0x1b5)],{'type':'string','description':_0x259db2[_0x2f4aeb(0x1a2)]})['option'](_0x259db2['UTyLl'],{'type':_0x259db2['qGpSX'],'description':_0x2f4aeb(0x1d4),'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x2f4aeb(0x167),'default':![]})[_0x2f4aeb(0x1a1)]('with-deps',{'type':_0x259db2[_0x2f4aeb(0x2e3)],'description':_0x259db2[_0x2f4aeb(0x26d)],'default':![]});},async _0x4ff426=>{const _0x4d3d4c=_0x47c0f9;warnRenamed('ranger\x20start',_0x259db2['eypaW']),await _0x259db2[_0x4d3d4c(0x1dc)](withTelemetry,_0x4d3d4c(0x1f6),_0x1d7079=>start(_0x4ff426['token'],{'skipChromium':_0x4ff426[_0x4d3d4c(0x1f4)],'skipAuth':_0x4ff426['skip-auth'],'withDeps':_0x4ff426['with-deps'],'scope':_0x4ff426['scope'],'url':_0x4ff426['url'],'force':_0x4ff426[_0x4d3d4c(0x239)]},_0x1d7079));})['command'](_0x259db2[_0x47c0f9(0x2b4)],![],_0x1159cb=>{const _0x5df3b5=_0x47c0f9;return _0x1159cb['option'](_0x259db2['SaVTw'],{'type':'string','description':_0x259db2['mVNZP']})[_0x5df3b5(0x1a1)](_0x259db2[_0x5df3b5(0x297)],{'type':_0x5df3b5(0x1df),'description':_0x259db2[_0x5df3b5(0x181)]})['option']('item',{'type':_0x259db2[_0x5df3b5(0x13c)],'description':_0x259db2[_0x5df3b5(0x1d0)]})[_0x5df3b5(0x1a1)]('profile',{'type':_0x259db2[_0x5df3b5(0x236)],'hidden':!![]})[_0x5df3b5(0x1a1)](_0x5df3b5(0x270),{'type':_0x259db2[_0x5df3b5(0x236)],'hidden':!![]})['option']('scenario',{'type':_0x5df3b5(0x205),'hidden':!![]})[_0x5df3b5(0x1a1)](_0x259db2[_0x5df3b5(0x2cc)],{'type':_0x259db2['hXHsd'],'description':_0x5df3b5(0x22a)})[_0x5df3b5(0x1a1)]('base-url',{'type':'string','description':_0x259db2['UPQnw']})['option'](_0x5df3b5(0x2e6),{'type':'string','hidden':!![]})['option'](_0x5df3b5(0x2db),{'type':'boolean','hidden':!![],'default':![]})['option']('debug-outcome',{'type':_0x259db2['hXHsd'],'hidden':!![],'choices':['verified','partial',_0x259db2['JaEFW'],_0x259db2['eyPsw'],_0x5df3b5(0x242)]});},async _0x14a153=>{await runGoCommand(_0x14a153,!![]);})[_0x47c0f9(0x2f0)](_0x259db2[_0x47c0f9(0x1aa)],![],_0x280079=>{const _0x1ba39b=_0x47c0f9;return _0x280079[_0x1ba39b(0x208)]('env-name',{'type':_0x1ba39b(0x1df),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x1ba39b(0x1a1)]('ci',{'type':'boolean','description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x1ba39b(0x1a1)](_0x1ba39b(0x241),{'type':_0x259db2['qGpSX'],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x2bac72=>{const _0x383dd1=_0x47c0f9;_0x259db2[_0x383dd1(0x23e)](warnRenamed,_0x259db2[_0x383dd1(0x172)],'ranger\x20profile\x20add'),await _0x259db2['KhQHS'](withTelemetry,_0x383dd1(0x14c),_0x2a2330=>addEnv(_0x2bac72[_0x383dd1(0x2d1)],{'ci':_0x2bac72['ci'],'skipAuth':_0x2bac72[_0x383dd1(0x241)]},_0x2a2330));})[_0x47c0f9(0x2f0)](_0x259db2['ulbNE'],![],_0x43c6aa=>{const _0x47810b=_0x47c0f9;return _0x43c6aa[_0x47810b(0x208)](_0x47810b(0x2d1),{'type':_0x259db2['hXHsd'],'description':_0x47810b(0x2e0),'demandOption':!![]});},async _0x4c1f07=>{const _0x41a15c=_0x47c0f9;_0x259db2['tOYED'](warnRenamed,_0x259db2['EaBkd'],'ranger\x20profile\x20use'),await withTelemetry(_0x259db2['zXTzX'],()=>useEnv(_0x4c1f07[_0x41a15c(0x2d1)]));})['command']('config',![],_0x5b7066=>{const _0x11d316=_0x47c0f9,_0x1c8355={'PiQhV':_0x259db2[_0x11d316(0x27c)],'keDiu':_0x11d316(0x1df)};return _0x5b7066[_0x11d316(0x2f0)](_0x259db2[_0x11d316(0x154)],![],_0x486eb0=>{const _0x1ee281=_0x11d316;return _0x486eb0[_0x1ee281(0x208)]('env',{'type':_0x1ee281(0x1df),'description':_0x1ee281(0x265),'demandOption':!![]})['positional'](_0x1ee281(0x1f2),{'type':'string','description':_0x1c8355['PiQhV'],'demandOption':!![]})[_0x1ee281(0x208)](_0x1ee281(0x2b7),{'type':_0x1c8355[_0x1ee281(0x1f3)],'description':'Config\x20value','demandOption':!![]});},async _0x363f78=>{_0x259db2['EpOfY'](warnRenamed,_0x259db2['nxZVZ'],'ranger\x20profile\x20config\x20set'),await withTelemetry(_0x259db2['sCngD'],()=>configSet(_0x363f78['env'],_0x363f78['key'],_0x363f78['value']));})[_0x11d316(0x2f0)]('get\x20<env>\x20<key>',![],_0x383aa0=>{const _0x3c1473=_0x11d316;return _0x383aa0[_0x3c1473(0x208)](_0x259db2['SaVTw'],{'type':_0x259db2[_0x3c1473(0x236)],'description':_0x259db2[_0x3c1473(0x231)],'demandOption':!![]})[_0x3c1473(0x208)](_0x259db2[_0x3c1473(0x23b)],{'type':_0x259db2[_0x3c1473(0x236)],'description':_0x259db2['MqGFd'],'demandOption':!![]});},async _0x109841=>{const _0x141eb4=_0x11d316;warnRenamed(_0x259db2[_0x141eb4(0x216)],_0x259db2[_0x141eb4(0x1e3)]),await withTelemetry(_0x141eb4(0x2d5),()=>configGet(_0x109841[_0x141eb4(0x28a)],_0x109841[_0x141eb4(0x1f2)]));})[_0x11d316(0x2f0)](_0x259db2[_0x11d316(0x278)],![],_0x303b77=>{const _0x469c49=_0x11d316;return _0x303b77[_0x469c49(0x208)](_0x259db2['SaVTw'],{'type':'string','description':_0x259db2[_0x469c49(0x231)],'demandOption':!![]});},async _0x572b14=>{const _0x1d6e11=_0x11d316;warnRenamed(_0x259db2[_0x1d6e11(0x22f)],_0x259db2[_0x1d6e11(0x2ab)]),await _0x259db2[_0x1d6e11(0x1e5)](withTelemetry,_0x259db2['wxVEA'],()=>configList(_0x572b14['env']));})['command'](_0x11d316(0x23d),![],_0x20815e=>{const _0x284ce7=_0x11d316;return _0x20815e[_0x284ce7(0x208)]('env',{'type':_0x284ce7(0x1df),'description':_0x259db2[_0x284ce7(0x231)],'demandOption':!![]})[_0x284ce7(0x208)]('key',{'type':_0x259db2[_0x284ce7(0x236)],'description':_0x259db2[_0x284ce7(0x19d)],'demandOption':!![]});},async _0x3ff639=>{const _0x4eb0e8=_0x11d316;_0x259db2[_0x4eb0e8(0x1ff)](warnRenamed,_0x4eb0e8(0x19f),'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x259db2['kChBy'],()=>configUnset(_0x3ff639[_0x4eb0e8(0x28a)],_0x3ff639[_0x4eb0e8(0x1f2)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x259db2['SaVTw'],![],_0x36ad47=>{const _0x462c98=_0x47c0f9,_0x216bcb={'ChkPY':function(_0x376b93,_0xd40d0a,_0x446c5d){return _0x259db2['tOYED'](_0x376b93,_0xd40d0a,_0x446c5d);},'wfWrT':_0x259db2['iiftp'],'ColpI':_0x259db2[_0x462c98(0x202)],'Vnlhk':_0x462c98(0x2d1)};return _0x36ad47[_0x462c98(0x2f0)]('ls',![],()=>{},async()=>{const _0xdc1107=_0x462c98;_0x216bcb['ChkPY'](warnRenamed,_0x216bcb[_0xdc1107(0x174)],_0xdc1107(0x1b3)),await withTelemetry(_0x216bcb['ColpI'],()=>envList());})[_0x462c98(0x2f0)]('update\x20<env-name>',![],_0x16f0e1=>{const _0x4a48de=_0x462c98;return _0x16f0e1['positional'](_0x216bcb['Vnlhk'],{'type':_0x4a48de(0x1df),'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x5f0a21=>{const _0x27e831=_0x462c98;_0x259db2['NpDrQ'](warnRenamed,_0x27e831(0x2c8),_0x27e831(0x1e0)),await _0x259db2['EJrYS'](withTelemetry,'env\x20update',_0x28acee=>updateEnv(_0x5f0a21['env-name'],_0x28acee));})['demandCommand'](0x1,_0x259db2[_0x462c98(0x17d)]);})[_0x47c0f9(0x2f0)](_0x47c0f9(0x1af),![],_0x15d247=>{const _0x5de4b0=_0x47c0f9,_0x134b14={'tivMi':function(_0x2e435b,_0x475d2f,_0x3e575f){return _0x2e435b(_0x475d2f,_0x3e575f);},'Zmubv':_0x5de4b0(0x217),'yqvfJ':_0x5de4b0(0x282),'AuXNi':function(_0x2d5a35,_0x9a2ce9,_0xafd350){return _0x2d5a35(_0x9a2ce9,_0xafd350);},'xonNz':_0x259db2[_0x5de4b0(0x20a)],'uChZN':_0x5de4b0(0x266),'Xeabv':_0x259db2[_0x5de4b0(0x236)],'KmCmn':_0x259db2[_0x5de4b0(0x17b)],'EHDXi':'ranger\x20feature\x20restore','QusBv':_0x259db2[_0x5de4b0(0x19a)],'KevDr':function(_0x198192,_0x2470db,_0x4c9228){return _0x198192(_0x2470db,_0x4c9228);},'IyBNS':'feature\x20restore'};return _0x15d247[_0x5de4b0(0x2f0)](_0x259db2['cGmJR'],![],_0xd30199=>{const _0x126327=_0x5de4b0;return _0xd30199[_0x126327(0x208)](_0x126327(0x1b0),{'type':_0x126327(0x1df),'description':_0x259db2['pjQgT'],'demandOption':!![]})['option'](_0x259db2[_0x126327(0x2a2)],{'type':_0x126327(0x1df),'alias':'d','description':_0x259db2['gkpDk']})['option'](_0x259db2['gaLqu'],{'type':_0x259db2['aOLgx'],'alias':'c','description':_0x259db2['Urtbj']})['option'](_0x259db2['AmfLw'],{'type':'array','hidden':!![]});},async _0x5d0f60=>{const _0x125e60=_0x5de4b0;_0x134b14['tivMi'](warnRenamed,_0x125e60(0x27d),_0x125e60(0x217)),warnFlagRenamed(_0x134b14['Zmubv'],_0x125e60(0x2a9),_0x134b14[_0x125e60(0x188)]);const _0x2e4fe7=_0x5d0f60['scenario']||_0x5d0f60['checklist'];await _0x134b14['AuXNi'](withTelemetry,_0x134b14[_0x125e60(0x2c5)],()=>featureCreate(_0x5d0f60['name'],{'description':_0x5d0f60[_0x125e60(0x1d2)],'scenarios':_0x2e4fe7}));})[_0x5de4b0(0x2f0)](_0x259db2[_0x5de4b0(0x21c)],![],_0x336eff=>{const _0xfbd5=_0x5de4b0;return _0x336eff['option'](_0x259db2[_0xfbd5(0x289)],{'type':'boolean','description':_0xfbd5(0x248)})['option']('limit',{'type':_0x259db2[_0xfbd5(0x13c)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':'number','alias':'o','description':_0x259db2['WYEFt'],'default':0x0})['option']('include-deleted',{'type':_0x259db2['qGpSX'],'alias':'d','description':_0x259db2[_0xfbd5(0x134)],'default':![]});},async _0x30be17=>{const _0x2264d6=_0x5de4b0;_0x259db2['iVXUD'](warnRenamed,_0x259db2[_0x2264d6(0x2b2)],_0x259db2[_0x2264d6(0x1c6)]),await withTelemetry(_0x259db2['YTUVD'],()=>featureList({'currentBranch':_0x30be17['current-branch'],'limit':_0x30be17['limit'],'offset':_0x30be17['offset'],'includeDeleted':_0x30be17[_0x2264d6(0x25e)]}));})[_0x5de4b0(0x2f0)](_0x259db2[_0x5de4b0(0x271)],![],_0x4cbe6a=>{return _0x4cbe6a['positional']('id',{'type':'string','description':_0x259db2['oBBdd']});},async _0x57e26a=>{const _0x3f6835=_0x5de4b0;warnRenamed(_0x3f6835(0x2bb),_0x134b14['uChZN']),await _0x134b14['AuXNi'](withTelemetry,'feature\x20show',()=>featureShow(_0x57e26a['id']));})[_0x5de4b0(0x2f0)](_0x259db2[_0x5de4b0(0x1fc)],![],_0x4628cf=>{const _0x4a67ae=_0x5de4b0;return _0x4628cf[_0x4a67ae(0x208)]('id',{'type':'string','description':_0x259db2[_0x4a67ae(0x162)]});},async _0x56e479=>{const _0x48f852=_0x5de4b0;warnRenamed(_0x48f852(0x16c),_0x259db2[_0x48f852(0x196)]),await withTelemetry(_0x259db2[_0x48f852(0x15a)],()=>featureResume(_0x56e479['id']));})['command'](_0x259db2[_0x5de4b0(0x170)],![],_0x115170=>{const _0x12fb6c=_0x5de4b0;return _0x115170['positional'](_0x12fb6c(0x1d2),{'type':_0x134b14[_0x12fb6c(0x2c3)],'description':_0x12fb6c(0x14b),'demandOption':!![]})[_0x12fb6c(0x1a1)]('id',{'type':_0x12fb6c(0x1df),'description':_0x134b14[_0x12fb6c(0x1f9)]});},async _0x24af7d=>{const _0x3537cb=_0x5de4b0;warnRenamed(_0x259db2['qiQxp'],_0x259db2[_0x3537cb(0x2ea)]),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x24af7d[_0x3537cb(0x1d2)],_0x24af7d['id']));})[_0x5de4b0(0x2f0)](_0x259db2['zxIwY'],![],_0x473185=>{const _0x5edaaa=_0x5de4b0;return _0x473185['positional']('id',{'type':_0x5edaaa(0x1df),'description':_0x259db2['KCEyx']});},async _0x3bbd9a=>{const _0x32808a=_0x5de4b0;warnRenamed(_0x259db2['vTlyF'],_0x32808a(0x2cf)),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x3bbd9a['id']));})[_0x5de4b0(0x2f0)](_0x5de4b0(0x2c9),![],_0x3132e3=>{const _0x4e83a5=_0x5de4b0;return _0x3132e3['positional']('id',{'type':_0x259db2[_0x4e83a5(0x236)],'description':_0x259db2['oBBdd']});},async _0x46b713=>{const _0x5ec9fc=_0x5de4b0;warnRenamed('ranger\x20feature\x20delete',_0x5ec9fc(0x156)),await withTelemetry(_0x5ec9fc(0x16a),()=>featureDelete(_0x46b713['id']));})[_0x5de4b0(0x2f0)]('restore\x20<id>',![],_0x138ed3=>{const _0x70a4e8=_0x5de4b0;return _0x138ed3[_0x70a4e8(0x208)]('id',{'type':_0x70a4e8(0x1df),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x18d9b7=>{const _0x506932=_0x5de4b0;warnRenamed(_0x134b14[_0x506932(0x13e)],_0x134b14[_0x506932(0x1b9)]),await _0x134b14['KevDr'](withTelemetry,_0x134b14['IyBNS'],()=>featureRestore(_0x18d9b7['id']));})['demandCommand'](0x1,_0x259db2['jltKH']);})['command'](_0x259db2['WlpCP'],![],_0x56fa1a=>{const _0x13fe46=_0x47c0f9,_0x57904b={'rLDvM':'session-id','pPewt':_0x259db2['hXHsd'],'ResLR':function(_0x1422eb,_0x24f86a,_0x266b39){const _0x2f1638=_0x21c1;return _0x259db2[_0x2f1638(0x177)](_0x1422eb,_0x24f86a,_0x266b39);}};return _0x56fa1a[_0x13fe46(0x2f0)](_0x259db2[_0x13fe46(0x1ac)],_0x259db2[_0x13fe46(0x1ec)],_0x53bf6e=>{const _0x78c399=_0x13fe46;return _0x53bf6e['option'](_0x57904b[_0x78c399(0x206)],{'type':_0x57904b[_0x78c399(0x1c1)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4106e9=>{const _0x182210=_0x13fe46;await _0x57904b['ResLR'](withTelemetry,_0x182210(0x226),()=>hook('enable',_0x4106e9['session-id']));})[_0x13fe46(0x2f0)](_0x259db2['GyODS'],_0x13fe46(0x18f),_0x283bf0=>{const _0x4855c1=_0x13fe46;return _0x283bf0[_0x4855c1(0x1a1)](_0x57904b[_0x4855c1(0x206)],{'type':_0x57904b[_0x4855c1(0x1c1)],'description':_0x4855c1(0x277)});},async _0x3d0922=>{const _0x17ba9e=_0x13fe46;await withTelemetry(_0x259db2['kDlNN'],()=>hook(_0x17ba9e(0x13a),_0x3d0922['session-id']));})[_0x13fe46(0x1a1)](_0x13fe46(0x1b0),{'type':'string','description':_0x13fe46(0x1ad)})[_0x13fe46(0x1a1)]('session-id',{'type':_0x13fe46(0x1df),'description':_0x13fe46(0x277)});},async _0x380d5f=>{const _0x4d6a4d=_0x47c0f9;_0x380d5f[_0x4d6a4d(0x1b0)]&&await hook(_0x380d5f['name'],_0x380d5f[_0x259db2['AkLtm']]);})[_0x47c0f9(0x2d0)](0x1,_0x259db2[_0x47c0f9(0x1a4)])[_0x47c0f9(0x15f)]()['fail'](async(_0x2015c,_0x3a8880,_0x1eb53)=>{const _0x331843=_0x47c0f9,_0x2d9770=sanitizeArgs(process[_0x331843(0x29b)]['slice'](0x2)),_0x56cff1=_0x259db2['xYvKW'](getErrorType,_0x2015c,_0x3a8880);if(_0x2015c&&_0x2015c[_0x331843(0x244)](_0x331843(0x27f))){const _0x3914c5=process[_0x331843(0x29b)][0x2];console[_0x331843(0x214)]('\x0aUnknown\x20command:\x20'+_0x3914c5),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x2015c)console['error']('\x0a'+_0x2015c+'\x0a');else _0x3a8880&&console['error'](_0x331843(0x1c7)+_0x3a8880[_0x331843(0x213)]+'\x0a');}await _0x259db2['gXEmc'](logDesirePath,{'rawCommand':_0x2d9770,'errorMessage':_0x2015c||_0x3a8880?.[_0x331843(0x213)],'errorType':_0x56cff1});const _0x46c5b5=getCurrentCollector();_0x46c5b5&&await _0x46c5b5['trackCommandError'](_0x3a8880||new Error(_0x259db2['BCJKc'](_0x2015c,_0x331843(0x132)))),process['exit'](0x1);})[_0x47c0f9(0x186)](_0x259db2[_0x47c0f9(0x194)](_0x259db2['TSqmD']+_0x259db2[_0x47c0f9(0x1b4)],_0x47c0f9(0x280)))[_0x47c0f9(0x1a8)]()['alias']('help','h');}process['env'][_0x2881c4(0x28c)]!==_0x2881c4(0x23f)&&(shouldShowLegacyWarning(process[_0x2881c4(0x29b)])&&showLegacyDeprecationWarning(),buildParser()[_0x2881c4(0x1d1)]());