@ranger-testing/ranger-cli 2.5.4-alpha.a98f848-6 → 2.5.4-alpha.b2ba935-13

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 (82) 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 -0
  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 +24 -8
  80. package/build/skills/ranger/create.md +16 -3
  81. package/build/skills/ranger/verify.md +37 -18
  82. 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 _0x10ef54=_0x1deb;(function(_0x4c6d39,_0x1cbfa3){const _0x3893d2=_0x1deb,_0x6ec789=_0x4c6d39();while(!![]){try{const _0x55f641=-parseInt(_0x3893d2(0x34b))/0x1+-parseInt(_0x3893d2(0x1fa))/0x2*(-parseInt(_0x3893d2(0x355))/0x3)+parseInt(_0x3893d2(0x2c2))/0x4*(parseInt(_0x3893d2(0x342))/0x5)+-parseInt(_0x3893d2(0x35d))/0x6+parseInt(_0x3893d2(0x29c))/0x7*(-parseInt(_0x3893d2(0x337))/0x8)+parseInt(_0x3893d2(0x276))/0x9+parseInt(_0x3893d2(0x2ca))/0xa*(parseInt(_0x3893d2(0x34d))/0xb);if(_0x55f641===_0x1cbfa3)break;else _0x6ec789['push'](_0x6ec789['shift']());}catch(_0x37e8f1){_0x6ec789['push'](_0x6ec789['shift']());}}}(_0xeddc,0xaf4e5));import _0x4c53d0 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x552fc4=_0x1deb,_0x6d2eb3={'PwKDK':function(_0x5176d8,_0x81bfa1){return _0x5176d8!==_0x81bfa1;},'ucLvo':function(_0x2f1ee3,_0x201b0d,_0x569ab6){return _0x2f1ee3(_0x201b0d,_0x569ab6);},'OFpbq':'.ranger','QduxG':function(_0x237e27,_0x3f56b0){return _0x237e27(_0x3f56b0);},'rMGiy':_0x552fc4(0x2b5)};let _0x1cc5a6=process['cwd']();const _0x20c344=parse(_0x1cc5a6)[_0x552fc4(0x306)];while(_0x6d2eb3['PwKDK'](_0x1cc5a6,_0x20c344)){if(existsSync(_0x6d2eb3[_0x552fc4(0x285)](join,_0x1cc5a6,_0x6d2eb3[_0x552fc4(0x268)]))||_0x6d2eb3[_0x552fc4(0x29a)](existsSync,_0x6d2eb3['ucLvo'](join,_0x1cc5a6,_0x6d2eb3[_0x552fc4(0x371)])))return _0x1cc5a6;_0x1cc5a6=dirname(_0x1cc5a6);}return process[_0x552fc4(0x2ee)]();}_0x4c53d0['config']({'path':join(findProjectRoot(),_0x10ef54(0x2b5))});import _0x198c04 from'yargs/yargs';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';function _0xeddc(){const _0x388230=['Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Optmf','Name\x20of\x20the\x20environment\x20to\x20update','--env','kIbPI','Name\x20of\x20the\x20profile\x20to\x20update','sGoNu','Dlpzz','VjzEH','pCuTH','ranger\x20feature\x20list','tZqOs','string','NHplm','WeULz','ExHoW','evaluation','exit','map','Rznqf','list','env\x20update','OXfxt','model','OOuBa','giecO','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','set\x20<profile>\x20<key>\x20<value>','skip-chromium','add-checklist-item\x20<description>','gQkln','TmaTA','ranger\x20feature\x20create','TYmyD','OSXYN','oFYwT','XCUUv','eUmTI','allow-insecure-localhost','42086iYiZSb','AqCks','unset\x20<env>\x20<key>','gTojp','ranger\x20delete','rvyit','option','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','trNoN','jGbYH','JiNno','Install\x20Chromium\x20browser\x20binary','xAKiS','epilogue','yes','KgSTG','wLzsY','qiwEq','Ranger\x20API\x20token\x20(rngr_...)','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ranger\x20profile\x20config\x20set','get\x20<profile>\x20<key>','eiOeG','lyTbd','error','wNKCu','LlHDI','UngNx','show','token','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','QXhCk','uiSeT','skillup','--task','rQmhj','task','ranger\x20show','limit','mjZUh','Update\x20authentication\x20for\x20an\x20existing\x20profile','feature','rNYVz','profile\x20config\x20reset','headed','List\x20all\x20config\x20for\x20a\x20profile','RTmcK','LjhlO','incomplete','ranger\x20verify-feature','restore\x20<id>','API\x20token','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','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','config\x20list','delete\x20[id]','Manage\x20profile\x20configuration','sNCzm','WyAlH','ohrhe','not_configured','profile-name','--scenario','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','forEach','Manage\x20profiles','Skip\x20interactive\x20confirmation\x20prompts.','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20feature\x20delete','ogGcg','KZiCI','profile\x20config\x20list','failed','BcCbe','IqLUw','RZsov','setup:profiles','dry-run','gwghi','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','rvAkF','hSDRp','VzafD','SnExY','Include\x20soft-deleted\x20feature\x20reviews','Login\x20failed:\x20','qwQUa','xZRdW','SxaGF','hHtHI','Skip\x20authentication','Set\x20up\x20a\x20local\x20browser\x20profile','slice','vnSzD','get-feedback\x20[id]','encrypt\x20<profile>','hook:disable','Unknown\x20command','SMXSt','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','JyKot','ranger\x20use','url','scriptName','PCiRu','cdp-endpoint','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','base-url','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','OFpbq','TRMYs','poZaI','RANGER_TEST_PASSWORD','You\x20must\x20specify\x20a\x20profile\x20subcommand','Subcommand\x20or\x20API\x20token\x20(rngr_...)','ranger\x20profile\x20encrypt-auth','RwCaF','profile\x20use','checklist','UXjgv','get-review','IBgSN','Etudq','7575975jyKTQP','mmSRE','Get\x20a\x20config\x20value','use\x20<env-name>','rrmGM','jtbpr','YuIeB','cDOYv','update\x20<env-name>','Run\x20full\x20interactive\x20setup','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','Add\x20profile\x20configuration','jvQPO','RwAir','oGmKd','ucLvo','feature\x20create','uoSDR','nlEhZ','WeDbM','fkTUr','scope','AMoWo','Skip\x20browser\x20authentication','Config\x20key\x20to\x20remove','ranger','ranger\x20profile\x20config\x20unset','config\x20get','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','wmVNh','InTLD','debug-outcome','Profile\x20name','MZIOH','ranger\x20profile\x20add','print-access-token','QduxG','profile\x20config\x20get','7gkXqVT','update\x20<profile-name>','boolean','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','feature\x20add-checklist-item','xRLgX','\x20is\x20now\x20','\x20INCOMPLETE','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.','profile\x20config\x20set','uYyFF','TCaHl','help','lIffR','aAvbp','rexKv','.\x20[','eIgNh','vBbrT','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','iuJJO','Ranger\x20API\x20token','ranger\x20config\x20unset','XsRXo','QYBcn','.env','avhas','HRnEG','env-name','PErCo','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VybXy','jQXFx','ZJLUA','array','You\x20must\x20specify\x20an\x20auth\x20subcommand','Base\x20URL\x20of\x20the\x20running\x20app','resume','24EMOaMe','Authenticate\x20via\x20MCP\x20proxy','zthTW','unset\x20<profile>\x20<key>','update','jwDeJ','parse','XGsdB','20260rGaqxs','XrUWv','OLUDQ','FUomt','ICClD','exclude-scenario','demandCommand','RANGER_PROFILE','json','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','ZjkCO','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','clean','edit-scenario\x20<description>','hkAwn','Restore\x20a\x20soft-deleted\x20feature\x20review','QrwgK','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20go','key','SzSEi','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Tysih','setup:skills','profile\x20migrate','ranger\x20get-review','verified','--profile','Etbiy','fSMuO','ifRGt','zFnGo','sXbnG','include-deleted','cwd','Where\x20to\x20store\x20the\x20profile','SYbXw','Install\x20scope\x20for\x20plugin\x20and\x20skills','List\x20all\x20profiles','\x0aIssues:','yacmF','item','folrF','reset\x20<profile>','CIrEg','ScMrB','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','debug-address-comments','usage','blocked','profile\x20config\x20unset','status','UvVKF','current-branch','Feature\x20review\x20ID','BfFYt','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','root','add\x20<profile-name>','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','FvZtL','xcvCU','hZHZg','wHYic','claude','offset','hjHWg','ranger\x20profile\x20ls','profile','repeat','ubqnj','report\x20[id]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','profiles','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','config\x20unset','InInX','KBDUC','feature\x20list','issues','aNkdm','Lriim','nPGKu','some','dIDje','You\x20must\x20specify\x20a\x20command','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','fVKLf','XxiZy','startsWith','iYShy','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','positional','sWwCO','Config\x20value','JjtWZ','Nwxml','IYITf','list\x20<profile>','lBflK','test_output','Name\x20of\x20the\x20environment','opencode','ranger\x20feature\x20restore','skip-auth','evaluationReason','3890200mLldWr','mMrue','oGCXc','LQaed','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','project','bSSen','tvTiX','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Install\x20Ranger\x20skills','feature\x20restore','954895AeTlYa','fDlmi','Number\x20of\x20feature\x20reviews\x20to\x20skip','feature\x20show','mcp','scenario','with-deps','env','vjnYO','854630NjmdlW','AYiKT','275qVoOyf','Remove\x20a\x20config\x20value','session-id','KQPYe','user','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ranger\x20profile\x20config\x20list','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','129uteUYr','add-scenario','Feature\x20review\x20description','flazk','message','force','ranger\x20feature\x20resume','name','5305140QYbneo','unhandledRejection','kdreT','Jngdv','enable','xnjYn','Scenario\x20number\x20to\x20edit\x20(1-based)','hook:enable','twHuj','notes','number','edit-scenario','✓\x20Authenticated\x20to\x20','log','mcp-bootstrap','profile\x20ls','setup:login','hook','iKTsr','QRfmA','rMGiy','Scenario\x20index\x20(1-based)','profile\x20add','ranger\x20start','description','login','save-creds','Unknown\x20error','wjcVH','config','create\x20<name>','Environment\x20name','start-path','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','add-scenario\x20<description>','HfNkp','partial','start','VaQIK','yfncr','\x20BLOCKED','TeVVa','HqOPH','all','jXgou','Install\x20skills\x20for\x20OpenCode','TCOhH','env\x20list','delete','ranger\x20config\x20set','You\x20must\x20specify\x20a\x20config\x20subcommand','command','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','ranger\x20config\x20get','JPmNQ'];_0xeddc=function(){return _0x388230;};return _0xeddc();}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{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';function _0x1deb(_0x56940e,_0x3f13eb){_0x56940e=_0x56940e-0x1bf;const _0xeddc80=_0xeddc();let _0x1deb55=_0xeddc80[_0x56940e];return _0x1deb55;}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'](_0x10ef54(0x35e),async _0x2bc5e5=>{const _0x1e8679={'kVztQ':function(_0x24553f){return _0x24553f();}},_0x57f1fb=_0x1e8679['kVztQ'](getCurrentCollector);_0x57f1fb&&await _0x57f1fb['trackCommandError'](_0x2bc5e5),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x10ef54(0x256)](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='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',PROFILE_CONFIG_HELP=_0x10ef54(0x29f);function warnRenamed(_0x55258a,_0x4b76e3){const _0x89b9e8=_0x10ef54;console[_0x89b9e8(0x212)]('\x0a'+_0x55258a+_0x89b9e8(0x2a2)+_0x4b76e3+'\x0a');}function argUsed(_0x4d99be){const _0x4ef845=_0x10ef54;return rawArgs[_0x4ef845(0x320)](_0x5b0552=>_0x5b0552===_0x4d99be||_0x5b0552[_0x4ef845(0x326)](_0x4d99be+'='));}function warnFlagRenamed(_0xe53a52,_0x534a9e,_0x15d4b6){const _0x360781=_0x10ef54,_0x361012={'ZjkCO':function(_0x321b60,_0x5b4512){return _0x321b60(_0x5b4512);}};_0x361012[_0x360781(0x2d5)](argUsed,_0x534a9e)&&warnRenamed(_0xe53a52+'\x20'+_0x534a9e,_0xe53a52+'\x20'+_0x15d4b6);}async function runGoCommand(_0x28f2c0,_0x4afb04=![]){const _0x3d8a51=_0x10ef54,_0xefd929={'JbmaS':function(_0x14c4bd,_0xd4540){return _0x14c4bd+_0xd4540;},'mMrue':function(_0x308929,_0xc67459,_0x185bf){return _0x308929(_0xc67459,_0x185bf);},'vjnYO':_0x3d8a51(0x22b),'czVCn':function(_0x11444e,_0x5c5867,_0x4314c0,_0x15775e){return _0x11444e(_0x5c5867,_0x4314c0,_0x15775e);},'IqLUw':_0x3d8a51(0x2de),'suWKQ':_0x3d8a51(0x1d6),'BduhC':_0x3d8a51(0x2e7),'Etbiy':'--item','KNQkQ':_0x3d8a51(0x238),'jexoo':function(_0x2d4d5b){return _0x2d4d5b();},'LQaed':function(_0x31de61,_0x6c2d0a){return _0x31de61(_0x6c2d0a);},'XuBhj':'start-path','raZTJ':'base-url','XrUWv':function(_0x2d22c4,_0x3c855e){return _0x2d22c4+_0x3c855e;},'QrwgK':function(_0x3acff4,_0x54f74d){return _0x3acff4===_0x54f74d;},'XGsdB':'verified','KZiCI':'\x20VERIFIED','mmSRE':function(_0x56874a,_0x33c410){return _0x56874a===_0x33c410;},'IBgSN':function(_0x5e6484,_0x18c9df){return _0x5e6484===_0x18c9df;},'ExHoW':_0x3d8a51(0x1c0),'zFnGo':_0x3d8a51(0x2fe),'mjZUh':_0x3d8a51(0x1c4),'qRrak':'\x20FAILED'};_0x4afb04&&_0xefd929[_0x3d8a51(0x338)](warnRenamed,_0xefd929[_0x3d8a51(0x34a)],_0x3d8a51(0x2de));_0xefd929['czVCn'](warnFlagRenamed,_0xefd929[_0x3d8a51(0x244)],_0xefd929['suWKQ'],_0xefd929['BduhC']),warnFlagRenamed(_0xefd929['IqLUw'],_0x3d8a51(0x21c),'--notes'),warnFlagRenamed(_0xefd929['IqLUw'],_0xefd929[_0x3d8a51(0x2e8)],_0xefd929['KNQkQ']);const _0x465392=await _0xefd929['jexoo'](loadRangerConfig),_0x588fac=isByokEnabled(),_0x360826=_0x28f2c0['model'],_0x258210=_0x465392[_0x3d8a51(0x1ea)],_0x29a498=await _0xefd929[_0x3d8a51(0x33a)](verifyFeature,{'featureId':_0x28f2c0[_0x3d8a51(0x223)],'profile':_0x28f2c0['profile']??_0x28f2c0[_0x3d8a51(0x349)]??process['env'][_0x3d8a51(0x2d1)],'notes':_0x28f2c0['notes']??_0x28f2c0[_0x3d8a51(0x21e)],'scenario':_0x28f2c0[_0x3d8a51(0x347)]??_0x28f2c0[_0x3d8a51(0x2f5)],'startPath':_0x28f2c0[_0xefd929['XuBhj']],'baseUrl':_0x28f2c0[_0xefd929['raZTJ']],'debugOutcome':_0x28f2c0[_0x3d8a51(0x295)],'debugAddressComments':_0x28f2c0['debug-address-comments'],'headed':_0x28f2c0['headed'],'byokEnabled':_0x588fac,'flagVerifyModel':_0x360826,'configVerifyModel':_0x258210});console['log'](_0xefd929[_0x3d8a51(0x2cb)]('\x0a','='[_0x3d8a51(0x312)](0x3c))),console[_0x3d8a51(0x36a)](_0xefd929[_0x3d8a51(0x2db)](_0x29a498['evaluation'],_0xefd929[_0x3d8a51(0x2c9)])?_0xefd929[_0x3d8a51(0x240)]:_0xefd929[_0x3d8a51(0x277)](_0x29a498[_0x3d8a51(0x1e3)],_0x3d8a51(0x22a))?_0x3d8a51(0x2a3):_0xefd929[_0x3d8a51(0x274)](_0x29a498['evaluation'],_0xefd929[_0x3d8a51(0x1e2)])?'\x20PARTIAL':_0x29a498[_0x3d8a51(0x1e3)]===_0xefd929[_0x3d8a51(0x2eb)]?_0xefd929[_0x3d8a51(0x221)]:_0xefd929['qRrak']),console['log']('='[_0x3d8a51(0x312)](0x3c)),console['log']('Summary:\x20'+_0x29a498['summary']),console['log']('Evaluation:\x20'+_0x29a498[_0x3d8a51(0x1e3)]),console['log']('Reason:\x20'+_0x29a498[_0x3d8a51(0x336)]),_0x29a498[_0x3d8a51(0x31c)]?.['length']&&(console['log'](_0x3d8a51(0x2f3)),_0x29a498[_0x3d8a51(0x31c)][_0x3d8a51(0x23a)]((_0x305962,_0x2200cc)=>{const _0x53ed58=_0x3d8a51;console[_0x53ed58(0x36a)]('\x0a'+_0xefd929['JbmaS'](_0x2200cc,0x1)+_0x53ed58(0x2ac)+_0x305962['severity']+']\x20'+_0x305962['description']);})),process[_0x3d8a51(0x1e4)](_0x29a498['evaluation']===_0xefd929['XGsdB']?0x0:0x1);}export function buildParser(_0x363f26){const _0x5ca7c5=_0x10ef54,_0x44ba09={'lBflK':'name','JPmNQ':'string','Dlpzz':'Feature\x20review\x20name','vaWaU':_0x5ca7c5(0x357),'xnjYn':'array','JiNno':_0x5ca7c5(0x2ba),'xcNaV':_0x5ca7c5(0x271),'FvZtL':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','flazk':'--checklist','vBbrT':_0x5ca7c5(0x238),'aNkdm':function(_0x1256cf,_0x4313d4,_0x3e3abd){return _0x1256cf(_0x4313d4,_0x3e3abd);},'mXcnM':'limit','OOuBa':_0x5ca7c5(0x367),'RQojc':_0x5ca7c5(0x24e),'IqTMg':_0x5ca7c5(0x216),'MlmTd':_0x5ca7c5(0x2c1),'aAvbp':'Scenario\x20description','KQPYe':_0x5ca7c5(0x356),'OSXYN':_0x5ca7c5(0x347),'tBfor':_0x5ca7c5(0x363),'sGoNu':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xAKiS':_0x5ca7c5(0x2d2),'xcvCU':_0x5ca7c5(0x29e),'CukFV':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','UfByq':'report','Vumxt':function(_0x40a374,_0x3aae29,_0x1991de){return _0x40a374(_0x3aae29,_0x1991de);},'NHplm':_0x5ca7c5(0x303),'HfNkp':function(_0x5a3155,_0x51633f,_0x434c28){return _0x5a3155(_0x51633f,_0x434c28);},'BcCbe':'Feature\x20review\x20ID\x20to\x20restore','ICClD':'restore','TeVVa':'setup:deps','gIZcd':'mcp','jvQPO':_0x5ca7c5(0x2c3),'InTLD':function(_0x5f5cf){return _0x5f5cf();},'PrJEI':_0x5ca7c5(0x36d),'rrmGM':_0x5ca7c5(0x33c),'nPGKu':_0x5ca7c5(0x2f1),'Lriim':_0x5ca7c5(0x333),'AYiKT':'Ranger\x20API\x20token','wLzsY':'skip-chromium','kthyr':_0x5ca7c5(0x335),'fpCro':_0x5ca7c5(0x254),'WyAlH':'scope','avhas':'user','SxaGF':'allow-insecure-localhost','UawrG':'mcp-bootstrap','HqOPH':_0x5ca7c5(0x2af),'AqCks':function(_0x284a54,_0xedfc27){return _0x284a54(_0xedfc27);},'uyiDG':_0x5ca7c5(0x28f),'EtKuX':_0x5ca7c5(0x2c0),'hHtHI':'tokenOrSubcommand','nTuIr':_0x5ca7c5(0x205),'lyTbd':_0x5ca7c5(0x376),'nlEhZ':'Authenticate\x20with\x20Ranger','hjHWg':'skills','iYShy':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','AMoWo':_0x5ca7c5(0x316),'xKIGH':'url','LLXKK':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Sgeru':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','IYITf':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','GBOEA':_0x5ca7c5(0x348),'NwmDN':_0x5ca7c5(0x217),'yfncr':_0x5ca7c5(0x22d),'WeDbM':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ndOld':'setup-ci','eILyW':_0x5ca7c5(0x1c9),'jPMeB':'Install\x20scope\x20for\x20skills','Kelal':function(_0x279938,_0x42e05f){return _0x279938(_0x42e05f);},'hZHZg':_0x5ca7c5(0x21b),'fbsNG':_0x5ca7c5(0x2d7),'LVMEy':_0x5ca7c5(0x237),'LlHDI':'force','RZsov':_0x5ca7c5(0x239),'InInX':'setup-header','uaDbd':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','CIrEg':_0x5ca7c5(0x218),'jzPLk':'profile\x20encrypt-auth','ZpGHg':_0x5ca7c5(0x2e4),'YuIeB':'value','QXhCk':'Profile\x20name','uoSDR':_0x5ca7c5(0x241),'khpZb':_0x5ca7c5(0x2ff),'UvVKF':'Set\x20a\x20config\x20value','WeULz':_0x5ca7c5(0x2c5),'MchHC':_0x5ca7c5(0x34e),'AVxXh':_0x5ca7c5(0x2f7),'dIDje':function(_0x4bfd76,_0x8df0b3,_0x16b7b1){return _0x4bfd76(_0x8df0b3,_0x16b7b1);},'xwTAZ':_0x5ca7c5(0x1d3),'iuJJO':_0x5ca7c5(0x1c7),'UafXO':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','cDOYv':'use\x20<profile-name>','TCaHl':'Switch\x20to\x20using\x20a\x20specific\x20profile','TRMYs':_0x5ca7c5(0x222),'mmUWc':'login\x20<name>','pCuTH':'migrate\x20[profile-name]','xToAD':'config','OLUDQ':_0x5ca7c5(0x232),'yacmF':_0x5ca7c5(0x26c),'LOBVH':_0x5ca7c5(0x300),'bSSen':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','VjzEH':_0x5ca7c5(0x299),'fDlmi':_0x5ca7c5(0x223),'uYyFF':_0x5ca7c5(0x311),'oGmKd':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','UBsQS':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','AKyFF':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','esfoR':'partial','cYxkf':'blocked','CSXmS':_0x5ca7c5(0x242),'qwQUa':_0x5ca7c5(0x2fc),'rJEHl':'task','csobG':_0x5ca7c5(0x2f5),'rNYVz':function(_0x165d77,_0x564d27){return _0x165d77(_0x564d27);},'BYnxm':_0x5ca7c5(0x259),'qUqJP':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Tysih':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','jGbYH':_0x5ca7c5(0x374),'EYmvf':_0x5ca7c5(0x266),'rvAkF':_0x5ca7c5(0x1ea),'Qukzh':_0x5ca7c5(0x226),'twHuj':'env-name','wmVNh':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','RnSAe':_0x5ca7c5(0x328),'YDIsF':_0x5ca7c5(0x332),'ASGMO':function(_0x3c6c5a,_0x52e638,_0x5ec42b){return _0x3c6c5a(_0x52e638,_0x5ec42b);},'fkTUr':_0x5ca7c5(0x25f),'jQXFx':'env','rvyit':_0x5ca7c5(0x37c),'fVKLf':'Config\x20value','eUmTI':'Config\x20key','gQkln':'ranger\x20profile\x20config\x20get','puXZX':_0x5ca7c5(0x291),'vrmKr':_0x5ca7c5(0x353),'liRrH':function(_0x21fc16,_0x4eafbe,_0x3cac6b){return _0x21fc16(_0x4eafbe,_0x3cac6b);},'enVZY':_0x5ca7c5(0x20e),'zthTW':function(_0x2004e1,_0x21dff0,_0x431ab1){return _0x2004e1(_0x21dff0,_0x431ab1);},'LCwFC':_0x5ca7c5(0x318),'VybXy':'set\x20<env>\x20<key>\x20<value>','MZIOH':'list\x20<env>','jXgou':'ranger\x20env\x20update','RwAir':_0x5ca7c5(0x1e8),'wNKCu':_0x5ca7c5(0x310),'jtbpr':function(_0x1c63be,_0x1c21a7,_0x20942b){return _0x1c63be(_0x1c21a7,_0x20942b);},'AeNDH':'You\x20must\x20specify\x20an\x20env\x20subcommand','GlVJg':function(_0x17c873,_0x238167,_0x153dc3){return _0x17c873(_0x238167,_0x153dc3);},'roWqK':_0x5ca7c5(0x1f3),'rQmhj':'ranger\x20create','ogGcg':function(_0x3f3b9d,_0x3a74da,_0x35a8cd,_0x3a8bee){return _0x3f3b9d(_0x3a74da,_0x35a8cd,_0x3a8bee);},'GIZgH':function(_0x6f9a9e,_0x2c03fa,_0x3873c7){return _0x6f9a9e(_0x2c03fa,_0x3873c7);},'SIAPs':_0x5ca7c5(0x302),'jwDeJ':function(_0xcc5472,_0x281638,_0x3e5a43){return _0xcc5472(_0x281638,_0x3e5a43);},'TmaTA':_0x5ca7c5(0x31b),'snhqm':'ranger\x20feature\x20get-feedback','KwmPh':_0x5ca7c5(0x2e5),'kYjjB':'feature\x20get-feedback','XKBig':_0x5ca7c5(0x35b),'LjhlO':'description','rexKv':'ranger\x20restore','Jngdv':'show\x20[id]','yTySa':'resume\x20[id]','SnExY':_0x5ca7c5(0x1f0),'grFas':_0x5ca7c5(0x258),'yRcfS':_0x5ca7c5(0x22c),'SBNts':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','lIffR':_0x5ca7c5(0x34f),'qoVnX':_0x5ca7c5(0x265),'eIgNh':'enable','EzWPG':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','hkAwn':'disable','oFYwT':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','VzafD':function(_0x542796,_0x558431,_0x17a6e0){return _0x542796(_0x558431,_0x17a6e0);},'RjJWU':function(_0x422c94,_0x110911){return _0x422c94(_0x110911);},'sFuxM':_0x5ca7c5(0x25b),'ctCJm':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','IttIF':function(_0x520711,_0x123026){return _0x520711||_0x123026;},'ubqnj':function(_0x5a2ae4,_0x381e86){return _0x5a2ae4(_0x381e86);},'gwghi':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KBDUC':_0x5ca7c5(0x292),'sXbnG':_0x5ca7c5(0x380),'oGCXc':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','xFauq':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','VOcGY':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vcmKc':'setup\x20[tokenOrSubcommand]','tvTiX':'setup-ci\x20<token>','ohrhe':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xZRdW':_0x5ca7c5(0x340),'toJJU':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','FUomt':_0x5ca7c5(0x23b),'FEOoU':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','SYbXw':'verify-feature','ScMrB':_0x5ca7c5(0x36e),'tZqOs':function(_0x550bd7,_0x56c794){return _0x550bd7+_0x56c794;},'wjcVH':'\x20\x20https://docs.ranger.net\x0a','aCNWM':'help'};return _0x44ba09[_0x5ca7c5(0x313)](_0x198c04,_0x363f26??process['argv']['slice'](0x2))[_0x5ca7c5(0x261)](_0x5ca7c5(0x28f))['usage'](TOP_LEVEL_HELP)['version'](_0x44ba09['InTLD'](getCurrentVersion))[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x37b),_0x44ba09[_0x5ca7c5(0x248)],_0x1d73b6=>{const _0x287955=_0x5ca7c5;return _0x1d73b6['positional'](_0x44ba09[_0x287955(0x330)],{'type':_0x44ba09[_0x287955(0x1d2)],'description':_0x44ba09['Dlpzz'],'demandOption':!![]})[_0x287955(0x200)](_0x287955(0x375),{'type':_0x44ba09[_0x287955(0x1d2)],'alias':'d','description':_0x44ba09['vaWaU']})[_0x287955(0x200)](_0x287955(0x347),{'type':_0x44ba09[_0x287955(0x362)],'alias':'c','description':_0x44ba09['JiNno']})[_0x287955(0x200)](_0x44ba09['xcNaV'],{'type':_0x44ba09[_0x287955(0x362)],'hidden':!![]});},async _0x1e6342=>{const _0x3a1044=_0x5ca7c5;if(!_0x1e6342[_0x3a1044(0x35c)]){console[_0x3a1044(0x212)](_0x44ba09[_0x3a1044(0x309)]+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed('ranger\x20create',_0x44ba09['flazk'],_0x44ba09[_0x3a1044(0x2ae)]);const _0x211b2f=_0x1e6342['scenario']||_0x1e6342['checklist'];await _0x44ba09[_0x3a1044(0x31d)](withTelemetry,'create',()=>featureCreate(_0x1e6342['name'],{'description':_0x1e6342['description'],'scenarios':_0x211b2f}));})['command']('list','List\x20all\x20feature\x20reviews',_0xfbe24c=>{const _0x5e2399=_0x5ca7c5;return _0xfbe24c['option'](_0x5e2399(0x302),{'type':_0x5e2399(0x29e),'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x44ba09['mXcnM'],{'type':_0x5e2399(0x367),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x44ba09[_0x5e2399(0x1eb)],'alias':'o','description':_0x5e2399(0x344),'default':0x0})[_0x5e2399(0x200)](_0x5e2399(0x2ed),{'type':'boolean','alias':'d','description':_0x44ba09['RQojc'],'default':![]});},async _0x2b3831=>{const _0x1b6019=_0x5ca7c5;await withTelemetry(_0x1b6019(0x1e7),()=>featureList({'currentBranch':_0x2b3831['current-branch'],'limit':_0x2b3831[_0x1b6019(0x220)],'offset':_0x2b3831['offset'],'includeDeleted':_0x2b3831[_0x1b6019(0x2ed)]}));})['command']('show\x20[id]',_0x44ba09[_0x5ca7c5(0x31a)],_0x4211fc=>{const _0x4d724d=_0x5ca7c5;return _0x4211fc[_0x4d724d(0x329)]('id',{'type':_0x44ba09['JPmNQ'],'description':_0x4d724d(0x303)});},async _0x3716ff=>{await withTelemetry(_0x44ba09['IqTMg'],()=>featureShow(_0x3716ff['id']));})['command']('resume\x20[id]',_0x5ca7c5(0x2dc),_0x18649d=>{const _0x51ca20=_0x5ca7c5;return _0x18649d[_0x51ca20(0x329)]('id',{'type':_0x44ba09['JPmNQ'],'description':_0x51ca20(0x20d)});},async _0xd209ed=>{await withTelemetry(_0x44ba09['MlmTd'],()=>featureResume(_0xd209ed['id']));})['command'](_0x44ba09[_0x5ca7c5(0x2ec)],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x411eba=>{const _0x25a47d=_0x5ca7c5;return _0x411eba['positional']('description',{'type':'string','description':_0x44ba09[_0x25a47d(0x2aa)],'demandOption':!![]})[_0x25a47d(0x200)]('id',{'type':_0x25a47d(0x1df),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3b95f1=>{const _0x1bb19b=_0x5ca7c5;await _0x44ba09[_0x1bb19b(0x31d)](withTelemetry,_0x44ba09[_0x1bb19b(0x350)],()=>featureAddScenario(_0x3b95f1['description'],_0x3b95f1['id']));})['command'](_0x5ca7c5(0x2d8),_0x44ba09[_0x5ca7c5(0x339)],_0x5cb851=>{const _0x2f68fa=_0x5ca7c5;return _0x5cb851['positional'](_0x2f68fa(0x375),{'type':_0x44ba09['JPmNQ'],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x44ba09[_0x2f68fa(0x1f5)],{'type':_0x2f68fa(0x367),'description':_0x44ba09['tBfor'],'demandOption':!![]})[_0x2f68fa(0x200)]('id',{'type':_0x2f68fa(0x1df),'description':_0x44ba09['sGoNu']});},async _0x4545aa=>{const _0x2efabf=_0x5ca7c5;await withTelemetry(_0x2efabf(0x368),()=>featureEditScenario(_0x4545aa[_0x2efabf(0x375)],{'id':_0x4545aa['id'],'scenario':_0x4545aa['scenario']}));})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x314),_0x44ba09['xFauq'],_0x4c81fe=>{const _0xc4c88a=_0x5ca7c5;return _0x4c81fe['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option'](_0xc4c88a(0x2cf),{'type':_0xc4c88a(0x2be),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x44ba09[_0xc4c88a(0x206)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['CukFV'],'default':![]});},async _0x45dea6=>{const _0x4951c8=_0x5ca7c5,_0x3aecf5=_0x45dea6[_0x4951c8(0x2cf)],_0x23d0a1=_0x3aecf5?_0x3aecf5[_0x4951c8(0x1e5)](_0x4ae454=>Number(_0x4ae454)):undefined;await _0x44ba09[_0x4951c8(0x31d)](withTelemetry,_0x44ba09['UfByq'],()=>featureReportPrDescription(_0x45dea6['id'],{'excludeScenarios':_0x23d0a1,'json':_0x45dea6['json']}));})['command']('get-review\x20[id]',_0x5ca7c5(0x2fb),_0x239648=>{const _0x19ab1e=_0x5ca7c5;return _0x239648['positional']('id',{'type':_0x44ba09[_0x19ab1e(0x1d2)],'description':_0x44ba09[_0x19ab1e(0x1d9)]});},async _0x130526=>{const _0x1cff2f=_0x5ca7c5;await _0x44ba09['Vumxt'](withTelemetry,_0x1cff2f(0x273),()=>featureGetReview(_0x130526['id']));})[_0x5ca7c5(0x1cf)]('delete\x20[id]',_0x44ba09['VOcGY'],_0xac9ceb=>{const _0x3cd64d=_0x5ca7c5;return _0xac9ceb[_0x3cd64d(0x329)]('id',{'type':_0x3cd64d(0x1df),'description':_0x44ba09[_0x3cd64d(0x1e0)]});},async _0x2c89de=>{const _0x1b54ea=_0x5ca7c5;await _0x44ba09['HfNkp'](withTelemetry,_0x1b54ea(0x1cc),()=>featureDelete(_0x2c89de['id']));})['command'](_0x5ca7c5(0x22c),_0x5ca7c5(0x2da),_0x5f56e8=>{return _0x5f56e8['positional']('id',{'type':'string','description':_0x44ba09['BcCbe'],'demandOption':!![]});},async _0x49520d=>{const _0x45f37e=_0x5ca7c5;await _0x44ba09[_0x45f37e(0x1bf)](withTelemetry,_0x44ba09[_0x45f37e(0x2ce)],()=>featureRestore(_0x49520d['id']));})[_0x5ca7c5(0x1cf)](_0x44ba09['vcmKc'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x3600bd=>{const _0x35d2f8=_0x5ca7c5,_0x598ce9={'kIbPI':_0x35d2f8(0x1df),'VqWxC':_0x44ba09[_0x35d2f8(0x34c)],'QRfmA':_0x44ba09['wLzsY'],'UXjgv':_0x35d2f8(0x29e),'Etudq':_0x44ba09['kthyr'],'Optmf':_0x44ba09['fpCro'],'XxiZy':'with-deps','SMXSt':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','giecO':_0x44ba09[_0x35d2f8(0x234)],'UolDP':_0x44ba09[_0x35d2f8(0x2b6)],'VphDO':_0x44ba09[_0x35d2f8(0x27a)],'KgSTG':_0x44ba09[_0x35d2f8(0x31f)],'hXdDZ':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','TYmyD':_0x44ba09['SxaGF'],'sNCzm':_0x44ba09['UawrG'],'fEZcE':function(_0x61ab9d,_0x216cd5,_0x4c7ff6){const _0x5d7f23=_0x35d2f8;return _0x44ba09[_0x5d7f23(0x31d)](_0x61ab9d,_0x216cd5,_0x4c7ff6);},'HRnEG':'setup:all','BfFYt':_0x44ba09['HqOPH'],'iKTsr':function(_0x68a52f,_0x34c3b2){const _0x5cecd3=_0x35d2f8;return _0x44ba09[_0x5cecd3(0x1fb)](_0x68a52f,_0x34c3b2);},'eiOeG':function(_0x5f0237,_0x39d698,_0x3aeace){return _0x5f0237(_0x39d698,_0x3aeace);},'NvNtJ':_0x44ba09['uyiDG'],'PCiRu':function(_0x545f0c,_0x2764fa){return _0x545f0c(_0x2764fa);},'euuFS':function(_0x37e956,_0x594d37,_0x42711b){return _0x37e956(_0x594d37,_0x42711b);},'JPMYZ':_0x35d2f8(0x2e3),'fSMuO':_0x44ba09['EtKuX'],'toYFZ':_0x35d2f8(0x28d),'ZJLUA':_0x35d2f8(0x35a)};return _0x3600bd[_0x35d2f8(0x2fd)](_0x35d2f8(0x22e))['positional'](_0x44ba09[_0x35d2f8(0x253)],{'type':_0x35d2f8(0x1df),'description':_0x35d2f8(0x26d)})['command']('all',_0x35d2f8(0x27f),_0x1e57b4=>{const _0x55a7d9=_0x35d2f8;return _0x1e57b4['option']('token',{'type':_0x598ce9[_0x55a7d9(0x1d7)],'description':_0x598ce9['VqWxC']})['option'](_0x598ce9[_0x55a7d9(0x370)],{'type':_0x598ce9[_0x55a7d9(0x272)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x55a7d9(0x200)](_0x598ce9['Etudq'],{'type':_0x55a7d9(0x29e),'description':_0x598ce9[_0x55a7d9(0x1d4)],'default':![]})['option'](_0x598ce9[_0x55a7d9(0x325)],{'type':_0x598ce9['UXjgv'],'description':_0x598ce9[_0x55a7d9(0x25c)],'default':![]})['option'](_0x598ce9[_0x55a7d9(0x1ec)],{'type':_0x598ce9['kIbPI'],'choices':[_0x598ce9['UolDP'],_0x598ce9['VphDO']],'description':_0x598ce9[_0x55a7d9(0x209)]})['option']('url',{'type':_0x598ce9['kIbPI'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x55a7d9(0x35a),{'type':'boolean','description':_0x598ce9['hXdDZ'],'default':![]})[_0x55a7d9(0x200)](_0x55a7d9(0x333),{'type':'boolean','description':_0x55a7d9(0x264),'default':![]})['option'](_0x598ce9['TYmyD'],{'type':_0x55a7d9(0x29e),'description':_0x55a7d9(0x2d3),'default':![]})['option']('mcp-bootstrap',{'type':_0x598ce9['UXjgv'],'description':_0x55a7d9(0x2e1),'default':![]})['option']('mcp',{'type':_0x598ce9[_0x55a7d9(0x272)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x1d3592=>{const _0x2cd034=_0x35d2f8;(_0x1d3592[_0x598ce9[_0x2cd034(0x233)]]||_0x1d3592['mcp'])&&await withTelemetry(_0x598ce9['sNCzm'],()=>mcpBootstrap()),await _0x598ce9['fEZcE'](withTelemetry,_0x598ce9[_0x2cd034(0x2b7)],_0x23c90a=>start(_0x1d3592['token'],{'skipChromium':_0x1d3592['skip-chromium'],'skipAuth':_0x1d3592[_0x2cd034(0x335)],'withDeps':_0x1d3592[_0x2cd034(0x348)],'scope':_0x1d3592[_0x2cd034(0x28b)],'url':_0x1d3592['url'],'force':_0x1d3592['force'],'opencode':_0x1d3592['opencode'],'allowInsecureLocalhost':_0x1d3592[_0x2cd034(0x1f9)]},_0x23c90a));})['command']('deps',_0x44ba09['nTuIr'],_0x42471d=>{const _0x5b4b35=_0x35d2f8;return _0x42471d['option']('with-deps',{'type':_0x598ce9['UXjgv'],'description':_0x598ce9[_0x5b4b35(0x304)],'default':![]});},async _0x12861b=>{const _0x1f15a7=_0x35d2f8;await withTelemetry(_0x44ba09[_0x1f15a7(0x1c5)],()=>ensureChromium(_0x12861b[_0x1f15a7(0x348)]));})[_0x35d2f8(0x1cf)](_0x44ba09['lyTbd'],_0x44ba09[_0x35d2f8(0x288)],_0x2844fd=>{const _0x5839cd=_0x35d2f8;return _0x2844fd[_0x5839cd(0x200)]('token',{'type':'string','description':_0x5839cd(0x20c)})['option'](_0x44ba09['gIZcd'],{'type':_0x5839cd(0x29e),'description':_0x44ba09[_0x5839cd(0x282)],'default':![]});},async _0x25e463=>{const _0x3edff1={'xRLgX':function(_0x5d1616){const _0x23b145=_0x1deb;return _0x44ba09[_0x23b145(0x294)](_0x5d1616);},'VaQIK':function(_0x143a4b,_0x1c7557){return _0x143a4b(_0x1c7557);},'Rznqf':function(_0x3bb911,_0x291cbe){return _0x3bb911(_0x291cbe);}};await withTelemetry(_0x44ba09['PrJEI'],async()=>{const _0x5bb41e=_0x1deb;if(_0x25e463[_0x5bb41e(0x346)]){await _0x3edff1['xRLgX'](mcpBootstrap);const _0x5d3eaf=await _0x3edff1[_0x5bb41e(0x2a1)](refreshCliToken);if(!_0x5d3eaf)throw new Error(_0x5bb41e(0x249));const _0x13f8d3=await _0x3edff1[_0x5bb41e(0x1c2)](getCurrentUser,_0x5d3eaf);if(!_0x13f8d3['success'])throw new Error(_0x5bb41e(0x308)+_0x13f8d3['error']);console['log'](_0x5bb41e(0x369)+_0x13f8d3['user']['organizationName']);return;}await _0x3edff1[_0x5bb41e(0x1e6)](authenticate,_0x25e463['token']);});})[_0x35d2f8(0x1cf)](_0x44ba09[_0x35d2f8(0x30f)],_0x44ba09[_0x35d2f8(0x327)],_0x5a0ab3=>{const _0x284b21=_0x35d2f8;return _0x5a0ab3[_0x284b21(0x200)](_0x284b21(0x28b),{'type':_0x44ba09[_0x284b21(0x1d2)],'choices':[_0x284b21(0x351),_0x44ba09[_0x284b21(0x27a)]],'description':_0x44ba09[_0x284b21(0x31f)]})['option'](_0x44ba09[_0x284b21(0x31e)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0xe97736=>{await _0x598ce9['euuFS'](withTelemetry,_0x598ce9['JPMYZ'],async()=>{const _0x186c5e=_0x1deb,_0x263bcd=_0xe97736['scope'];if(_0xe97736['opencode']){const _0x370fb3=await _0x598ce9[_0x186c5e(0x36f)](ensureOpencodePluginConfig,_0x263bcd);_0x370fb3&&await _0x598ce9[_0x186c5e(0x210)](installSkill,_0x598ce9['NvNtJ'],{'level':_0x370fb3[_0x186c5e(0x28b)],'cliVersion':getCurrentVersion(),'platform':_0x186c5e(0x333)});}else await _0x598ce9[_0x186c5e(0x36f)](ensureClaudePlugin,_0x263bcd),await _0x598ce9[_0x186c5e(0x262)](ensureClaudeSkills,_0x263bcd);});})['command'](_0x44ba09[_0x35d2f8(0x28c)],_0x35d2f8(0x255),_0x4b7696=>{const _0x37ab8b=_0x35d2f8;return _0x4b7696[_0x37ab8b(0x200)]('scope',{'type':_0x598ce9[_0x37ab8b(0x1d7)],'choices':[_0x598ce9['UolDP'],_0x37ab8b(0x33c)],'description':_0x37ab8b(0x2ef)})[_0x37ab8b(0x200)]('url',{'type':_0x598ce9[_0x37ab8b(0x1d7)],'description':_0x598ce9[_0x37ab8b(0x2e9)]})['option'](_0x598ce9[_0x37ab8b(0x275)],{'type':_0x37ab8b(0x29e),'description':_0x598ce9['toYFZ'],'default':![]})['option'](_0x598ce9[_0x37ab8b(0x2bd)],{'type':_0x598ce9[_0x37ab8b(0x272)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x598ce9[_0x37ab8b(0x1f4)],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x548b92=>{const _0x2a64a0=_0x35d2f8;await _0x44ba09['aNkdm'](withTelemetry,_0x2a64a0(0x246),_0x425d8a=>ensureLocalEnv({'url':_0x548b92['url'],'force':_0x548b92[_0x2a64a0(0x35a)],'allowInsecureLocalhost':_0x548b92['allow-insecure-localhost'],'scope':_0x548b92['scope']===_0x2a64a0(0x351)?_0x2a64a0(0x351):undefined},_0x425d8a));})['option'](_0x44ba09[_0x35d2f8(0x20a)],{'type':'boolean','description':_0x35d2f8(0x37e),'default':![]})[_0x35d2f8(0x200)](_0x35d2f8(0x28b),{'type':_0x44ba09[_0x35d2f8(0x1d2)],'choices':['user',_0x44ba09['rrmGM']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x44ba09['xKIGH'],{'type':_0x35d2f8(0x1df),'description':_0x35d2f8(0x1d0)})['option'](_0x35d2f8(0x35a),{'type':_0x44ba09['xcvCU'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x35d2f8(0x333),{'type':_0x44ba09['xcvCU'],'description':_0x35d2f8(0x264),'default':![]})[_0x35d2f8(0x200)](_0x44ba09[_0x35d2f8(0x252)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['LLXKK'],'default':![]})['option'](_0x35d2f8(0x36b),{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['Sgeru'],'default':![]})[_0x35d2f8(0x200)](_0x35d2f8(0x335),{'type':_0x44ba09[_0x35d2f8(0x30a)],'description':_0x44ba09[_0x35d2f8(0x32e)],'default':![]})[_0x35d2f8(0x200)](_0x44ba09['GBOEA'],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09[_0x35d2f8(0x1c6)],'default':![]})[_0x35d2f8(0x200)](_0x44ba09['NwmDN'],{'type':_0x44ba09['JPmNQ'],'hidden':!![],'description':_0x44ba09[_0x35d2f8(0x1c3)]});},async _0x13806c=>{const _0x1794f7=_0x5ca7c5,_0x4fc101=_0x13806c['tokenOrSubcommand'],_0x591b5f=_0x13806c[_0x1794f7(0x217)]??_0x4fc101;_0x13806c[_0x1794f7(0x36b)]&&await withTelemetry(_0x1794f7(0x36b),()=>mcpBootstrap()),await _0x44ba09[_0x1794f7(0x1bf)](withTelemetry,'start',_0x58cae6=>start(_0x591b5f,{'skipChromium':_0x13806c['skip-chromium'],'skipAuth':_0x13806c[_0x1794f7(0x335)],'withDeps':_0x13806c['with-deps'],'scope':_0x13806c['scope'],'url':_0x13806c[_0x1794f7(0x260)],'force':_0x13806c['force'],'opencode':_0x13806c[_0x1794f7(0x333)],'allowInsecureLocalhost':_0x13806c[_0x1794f7(0x1f9)]},_0x58cae6));})['command'](_0x44ba09[_0x5ca7c5(0x33e)],_0x5ca7c5(0x267),_0x28a775=>{const _0x3afeba=_0x5ca7c5;return _0x28a775['positional'](_0x3afeba(0x217),{'type':_0x44ba09[_0x3afeba(0x1d2)],'description':_0x3afeba(0x2b1),'demandOption':!![]})['option']('profile',{'type':'string','description':_0x44ba09[_0x3afeba(0x289)]})['option']('base-url',{'type':_0x44ba09[_0x3afeba(0x1d2)],'description':_0x3afeba(0x23d)})['option'](_0x44ba09[_0x3afeba(0x20a)],{'type':_0x44ba09['xcvCU'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x2d8232=>{const _0x2a1760=_0x5ca7c5;await withTelemetry(_0x44ba09['ndOld'],_0x4d7fe0=>setupCi(_0x2d8232[_0x2a1760(0x217)],{'profile':_0x2d8232['profile'],'baseUrl':_0x2d8232['base-url'],'skipChromium':_0x2d8232[_0x2a1760(0x1ef)]},_0x4d7fe0));})['command'](_0x44ba09['lyTbd'],_0x44ba09[_0x5ca7c5(0x235)],()=>{},async()=>{const _0x574761=_0x5ca7c5;await withTelemetry(_0x44ba09[_0x574761(0x211)],()=>login());})[_0x5ca7c5(0x1cf)]('skillup',_0x44ba09[_0x5ca7c5(0x251)],_0x3b07fc=>{const _0x11f772=_0x5ca7c5;return _0x3b07fc[_0x11f772(0x200)](_0x44ba09['Lriim'],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['eILyW'],'default':![]})['option'](_0x44ba09['WyAlH'],{'type':'string','choices':[_0x11f772(0x351),_0x44ba09[_0x11f772(0x27a)]],'description':_0x44ba09['jPMeB']});},async _0x518dbf=>{const _0x7730ad=_0x5ca7c5,_0x3777b6=_0x44ba09['Kelal'](Boolean,_0x518dbf['opencode']);await withTelemetry(_0x44ba09[_0x7730ad(0x30b)],()=>skillup({'autoInstall':_0x518dbf[_0x7730ad(0x28b)],'platform':_0x3777b6?_0x7730ad(0x333):_0x7730ad(0x30d)}));})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x2d7),_0x44ba09['toJJU'],()=>{},async()=>{await _0x44ba09['HfNkp'](withTelemetry,_0x44ba09['fbsNG'],()=>clean());})[_0x5ca7c5(0x1cf)]([_0x44ba09[_0x5ca7c5(0x2a6)],'profiles'],_0x44ba09[_0x5ca7c5(0x2cd)],_0x3f2fc7=>{const _0x14254e=_0x5ca7c5,_0x30041f={'gTojp':_0x14254e(0x373),'PErCo':_0x14254e(0x263),'XCUUv':'profile-name','SSHBy':_0x44ba09['JPmNQ'],'VUGOC':_0x44ba09[_0x14254e(0x219)],'TCOhH':_0x14254e(0x36c),'Nwxml':_0x14254e(0x1d8),'wXKDL':'allow-insecure-localhost','vnSzD':'profile\x20update','BrsQF':_0x14254e(0x37f),'SzSEi':function(_0x49ef42,_0x15896b,_0x440608){const _0x111d7a=_0x14254e;return _0x44ba09[_0x111d7a(0x321)](_0x49ef42,_0x15896b,_0x440608);},'UQwTZ':_0x44ba09['xwTAZ'],'UCBCQ':_0x44ba09[_0x14254e(0x2b0)],'niQOA':_0x14254e(0x29e),'DPozB':_0x44ba09['UafXO'],'huAdr':_0x14254e(0x208),'SjTsG':_0x14254e(0x377),'RTmcK':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','trNoN':_0x14254e(0x311)};return _0x3f2fc7['usage'](PROFILE_HELP)['command'](_0x14254e(0x307),_0x14254e(0x281),_0x34ab56=>{const _0x5fa7a0=_0x14254e;return _0x34ab56['positional'](_0x44ba09['LVMEy'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5fa7a0(0x29e),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x5fa7a0(0x335),{'type':_0x5fa7a0(0x29e),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x5fa7a0(0x200)](_0x44ba09['xKIGH'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x5fa7a0(0x200)](_0x44ba09[_0x5fa7a0(0x214)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['RZsov'],'default':![]})['option'](_0x5fa7a0(0x263),{'type':_0x5fa7a0(0x1df),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x5fa7a0(0x1f9),{'type':'boolean','description':_0x5fa7a0(0x352),'default':![]})[_0x5fa7a0(0x200)]('safe-mode',{'type':_0x5fa7a0(0x29e),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})['option'](_0x44ba09[_0x5fa7a0(0x319)],{'type':'string','array':!![],'description':_0x44ba09['uaDbd']})[_0x5fa7a0(0x200)](_0x44ba09['WyAlH'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'choices':[_0x44ba09[_0x5fa7a0(0x2b6)],_0x44ba09[_0x5fa7a0(0x27a)]],'description':_0x5fa7a0(0x305)})[_0x5fa7a0(0x200)](_0x5fa7a0(0x208),{'type':_0x5fa7a0(0x29e),'alias':'y','description':_0x44ba09[_0x5fa7a0(0x2f8)],'default':![]});},async _0x13caca=>{const _0x1e57b3=_0x14254e;await withTelemetry(_0x30041f[_0x1e57b3(0x1fd)],_0x29b9bc=>addEnv(_0x13caca['profile-name'],{'ci':_0x13caca['ci'],'skipAuth':_0x13caca[_0x1e57b3(0x335)],'url':_0x13caca['url'],'force':_0x13caca[_0x1e57b3(0x35a)],'cdpEndpoint':_0x13caca['cdp-endpoint'],'allowInsecureLocalhost':_0x13caca['allow-insecure-localhost'],'safeMode':_0x13caca['safe-mode'],'setupHeader':_0x13caca['setup-header'],'scope':_0x13caca['scope'],'yes':_0x13caca[_0x1e57b3(0x208)]},_0x29b9bc),{'isElectron':Boolean(_0x13caca[_0x30041f[_0x1e57b3(0x2b9)]])});})[_0x14254e(0x1cf)](_0x44ba09[_0x14254e(0x27d)],_0x44ba09[_0x14254e(0x2a7)],_0x324985=>{const _0x384011=_0x14254e;return _0x324985[_0x384011(0x329)](_0x30041f[_0x384011(0x1f7)],{'type':_0x30041f['SSHBy'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1d0ef9=>{const _0x57fb5b=_0x14254e;await withTelemetry(_0x57fb5b(0x270),()=>useEnv(_0x1d0ef9['profile-name']));})['command']('encrypt-auth\x20<profile>',_0x14254e(0x2d4),_0x435981=>{const _0x1ee40c=_0x14254e;return _0x435981['positional'](_0x1ee40c(0x311),{'type':_0x1ee40c(0x1df),'description':_0x30041f['VUGOC'],'demandOption':!![]});},async _0x57adf6=>{const _0x205d1d=_0x14254e;await _0x44ba09[_0x205d1d(0x31d)](withTelemetry,_0x44ba09['jzPLk'],()=>authEncrypt(_0x57adf6[_0x205d1d(0x311)]));})['command']('ls',_0x14254e(0x2f2),()=>{},async()=>{const _0x4e5ab4=_0x14254e;await withTelemetry(_0x30041f[_0x4e5ab4(0x1ca)],()=>envList());})['command'](_0x14254e(0x29d),_0x44ba09[_0x14254e(0x269)],_0x1a0e56=>{const _0x1a372d=_0x14254e;return _0x1a0e56[_0x1a372d(0x329)](_0x30041f[_0x1a372d(0x1f7)],{'type':_0x30041f['SSHBy'],'description':_0x30041f[_0x1a372d(0x32d)],'demandOption':!![]})['option'](_0x30041f['wXKDL'],{'type':_0x1a372d(0x29e),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0x25ef44=>{const _0x202f08=_0x14254e;await withTelemetry(_0x30041f[_0x202f08(0x257)],_0x4c8654=>updateEnv(_0x25ef44[_0x202f08(0x237)],_0x4c8654,{'allowInsecureLocalhost':_0x25ef44[_0x202f08(0x1f9)]}));})['command'](_0x44ba09['mmUWc'],![],_0x35c651=>{const _0x1294c5=_0x14254e;return _0x35c651[_0x1294c5(0x329)](_0x1294c5(0x35c),{'type':_0x44ba09[_0x1294c5(0x1d2)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xe277c5=>{await withTelemetry('profile\x20login',async()=>{const _0x4d89c9=_0x1deb,_0x1c3c57=process['env']['RANGER_TEST_USERNAME'],_0x156bd0=process['env'][_0x4d89c9(0x26b)];(!_0x1c3c57||!_0x156bd0)&&(console['error'](_0x30041f['BrsQF']),process[_0x4d89c9(0x1e4)](0x1));const _0x44c78b=_0xe277c5['name'],_0x718727=await _0x30041f[_0x4d89c9(0x2e0)](serverSideLogin,_0x44c78b,{'force':!![]});_0x718727[_0x4d89c9(0x300)]===_0x4d89c9(0x236)&&(console['error'](_0x4d89c9(0x2dd)),process[_0x4d89c9(0x1e4)](0x1)),_0x718727['status']===_0x4d89c9(0x242)&&(console[_0x4d89c9(0x212)](_0x4d89c9(0x24f)+(_0x718727[_0x4d89c9(0x212)]??'unknown\x20error')),_0x718727['test_output']&&console['error'](_0x718727[_0x4d89c9(0x331)]),process[_0x4d89c9(0x1e4)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x44c78b+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x14254e(0x1cf)](_0x44ba09[_0x14254e(0x1dc)],'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x1e62db=>{const _0x2f58f2=_0x14254e;return _0x1e62db[_0x2f58f2(0x329)](_0x30041f['XCUUv'],{'type':_0x2f58f2(0x1df),'description':_0x30041f['UQwTZ']})[_0x2f58f2(0x200)](_0x30041f['UCBCQ'],{'type':_0x30041f['niQOA'],'description':_0x2f58f2(0x317),'default':![]})[_0x2f58f2(0x200)](_0x2f58f2(0x247),{'type':'boolean','description':_0x30041f['DPozB'],'default':![]})['option'](_0x30041f['huAdr'],{'type':'boolean','alias':'y','description':_0x2f58f2(0x23c),'default':![]})['option'](_0x30041f['SjTsG'],{'type':'boolean','description':_0x30041f[_0x2f58f2(0x228)],'default':![]});},async _0x279d87=>{const _0x43317d=_0x14254e;await withTelemetry(_0x44ba09['ZpGHg'],_0x1f32bd=>migrateProfile({'profileName':_0x279d87['profile-name'],'all':_0x279d87[_0x43317d(0x1c7)],'dryRun':_0x279d87['dry-run'],'yes':_0x279d87[_0x43317d(0x208)],'saveCreds':_0x279d87[_0x43317d(0x377)]},_0x1f32bd));})['command'](_0x44ba09['xToAD'],_0x44ba09[_0x14254e(0x2cc)],_0x25f03b=>{const _0x182771=_0x14254e,_0x456e9d={'uiSeT':_0x44ba09[_0x182771(0x1d2)],'StWss':'key','LLwJX':_0x44ba09[_0x182771(0x27c)],'folrF':_0x182771(0x311),'kdreT':_0x44ba09[_0x182771(0x219)],'adSeN':_0x44ba09[_0x182771(0x287)],'mADDT':_0x182771(0x28e),'MlNvU':_0x44ba09['khpZb']};return _0x25f03b['usage'](PROFILE_CONFIG_HELP)['command'](_0x182771(0x1ee),_0x44ba09[_0x182771(0x301)],_0x4a5df6=>{const _0x15cf7f=_0x182771;return _0x4a5df6['positional'](_0x15cf7f(0x311),{'type':_0x456e9d[_0x15cf7f(0x21a)],'description':_0x15cf7f(0x296),'demandOption':!![]})[_0x15cf7f(0x329)](_0x456e9d['StWss'],{'type':_0x456e9d[_0x15cf7f(0x21a)],'description':_0x15cf7f(0x315),'demandOption':!![]})['positional'](_0x456e9d['LLwJX'],{'type':_0x456e9d['uiSeT'],'description':_0x15cf7f(0x32b),'demandOption':!![]});},async _0x306d52=>{const _0x59c05c=_0x182771;await _0x30041f[_0x59c05c(0x2e0)](withTelemetry,_0x59c05c(0x2a5),()=>configSet(_0x306d52[_0x59c05c(0x311)],_0x306d52['key'],_0x306d52['value']));})[_0x182771(0x1cf)](_0x182771(0x20f),_0x182771(0x278),_0x2c67f0=>{const _0xa92222=_0x182771;return _0x2c67f0[_0xa92222(0x329)](_0x30041f[_0xa92222(0x202)],{'type':_0xa92222(0x1df),'description':_0x30041f['VUGOC'],'demandOption':!![]})[_0xa92222(0x329)](_0xa92222(0x2df),{'type':_0x30041f['SSHBy'],'description':'Config\x20key','demandOption':!![]});},async _0x27f6b0=>{const _0x521749=_0x182771;await _0x30041f[_0x521749(0x2e0)](withTelemetry,_0x521749(0x29b),()=>configGet(_0x27f6b0[_0x521749(0x311)],_0x27f6b0[_0x521749(0x2df)]));})[_0x182771(0x1cf)](_0x182771(0x32f),_0x182771(0x227),_0x36c834=>{const _0x1941f8=_0x182771;return _0x36c834['positional'](_0x456e9d[_0x1941f8(0x2f6)],{'type':_0x456e9d['uiSeT'],'description':_0x456e9d[_0x1941f8(0x35f)],'demandOption':!![]});},async _0x432076=>{const _0xcdeac9=_0x182771;await withTelemetry(_0x456e9d['adSeN'],()=>configList(_0x432076[_0xcdeac9(0x311)]));})[_0x182771(0x1cf)](_0x44ba09[_0x182771(0x1e1)],_0x44ba09['MchHC'],_0x354cd7=>{const _0x8dfcc6=_0x182771;return _0x354cd7[_0x8dfcc6(0x329)](_0x8dfcc6(0x311),{'type':_0x456e9d[_0x8dfcc6(0x21a)],'description':_0x456e9d[_0x8dfcc6(0x35f)],'demandOption':!![]})[_0x8dfcc6(0x329)]('key',{'type':_0x456e9d['uiSeT'],'description':_0x456e9d['mADDT'],'demandOption':!![]});},async _0x398604=>{const _0x191ab2=_0x182771;await withTelemetry(_0x456e9d['MlNvU'],()=>configUnset(_0x398604[_0x191ab2(0x311)],_0x398604[_0x191ab2(0x2df)]));})[_0x182771(0x1cf)](_0x44ba09['AVxXh'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)',_0x5ed465=>{const _0x4cac9a=_0x182771;return _0x5ed465['positional'](_0x4cac9a(0x311),{'type':_0x30041f['SSHBy'],'description':'Profile\x20name','demandOption':!![]});},async _0x5d4d49=>{const _0x2c2059=_0x182771;await withTelemetry(_0x2c2059(0x225),()=>configReset(_0x5d4d49['profile']));})[_0x182771(0x2d0)](0x1,_0x182771(0x354));})['demandCommand'](0x1,_0x44ba09[_0x14254e(0x2f4)]);})['command']('status',_0x44ba09['FEOoU'],()=>{},async()=>{await withTelemetry(_0x44ba09['LOBVH'],()=>status());})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x2c6),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x5ca7c5(0x1cf)](_0x44ba09[_0x5ca7c5(0x1db)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x56f1cc=_0x5ca7c5,_0x356cbc={'JjtWZ':function(_0x2852fe){return _0x2852fe();},'OHhrQ':_0x44ba09[_0x56f1cc(0x33d)]};await withTelemetry(_0x44ba09[_0x56f1cc(0x1db)],async()=>{const _0x4bef2a=_0x56f1cc,_0x53ad1d=await _0x356cbc[_0x4bef2a(0x32c)](getToken);if(!_0x53ad1d)throw new Error(_0x356cbc['OHhrQ']);console['log'](_0x53ad1d);});})[_0x5ca7c5(0x1cf)]('go',_0x5ca7c5(0x280),_0x52a92c=>{const _0x57ea04=_0x5ca7c5;return _0x52a92c[_0x57ea04(0x200)](_0x44ba09[_0x57ea04(0x343)],{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':'Optional\x20feature\x20ID'})[_0x57ea04(0x200)](_0x44ba09['uYyFF'],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['oGmKd']})['option'](_0x57ea04(0x366),{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':_0x57ea04(0x323)})['option']('scenario',{'type':_0x57ea04(0x367),'description':'Scenario\x20index\x20(1-based)'})[_0x57ea04(0x200)]('start-path',{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['UBsQS']})['option'](_0x57ea04(0x266),{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x57ea04(0x200)]('model',{'type':'string','description':_0x57ea04(0x2a4)})['option'](_0x57ea04(0x226),{'type':_0x57ea04(0x29e),'description':_0x44ba09['AKyFF'],'default':![]})[_0x57ea04(0x200)](_0x57ea04(0x295),{'type':_0x44ba09[_0x57ea04(0x1d2)],'hidden':!![],'choices':[_0x57ea04(0x2e6),_0x44ba09['esfoR'],_0x44ba09['cYxkf'],_0x44ba09['CSXmS'],'incomplete']})['option'](_0x44ba09[_0x57ea04(0x250)],{'type':_0x44ba09[_0x57ea04(0x30a)],'hidden':!![]})['option'](_0x57ea04(0x349),{'type':_0x44ba09[_0x57ea04(0x1d2)],'hidden':!![]})[_0x57ea04(0x200)](_0x44ba09['rJEHl'],{'type':'string','hidden':!![]})[_0x57ea04(0x200)](_0x44ba09['csobG'],{'type':'number','hidden':!![]});},async _0x1375d1=>{const _0x217777=_0x5ca7c5;await _0x44ba09[_0x217777(0x224)](runGoCommand,_0x1375d1);})[_0x5ca7c5(0x1cf)]('auth',![],_0x53c4de=>{const _0x4d78c0=_0x5ca7c5;return _0x53c4de['command'](_0x44ba09['BYnxm'],![],_0x1034e7=>{const _0xe7513e=_0x1deb;return _0x1034e7['positional']('profile',{'type':_0xe7513e(0x1df),'description':_0x44ba09[_0xe7513e(0x219)],'demandOption':!![]});},async _0x447c7f=>{const _0x4b2d60=_0x1deb;warnRenamed('ranger\x20auth\x20encrypt',_0x4b2d60(0x26e)),await authEncrypt(_0x447c7f['profile']);})[_0x4d78c0(0x2d0)](0x1,_0x4d78c0(0x2bf));},()=>{})['command']('start\x20[token]',![],_0x317a85=>{const _0x25a491=_0x5ca7c5;return _0x317a85[_0x25a491(0x329)](_0x25a491(0x217),{'type':'string','description':_0x44ba09['qUqJP']})[_0x25a491(0x200)](_0x44ba09[_0x25a491(0x20a)],{'type':'boolean','description':_0x44ba09[_0x25a491(0x2e2)],'default':![]})[_0x25a491(0x200)](_0x44ba09[_0x25a491(0x234)],{'type':'string','choices':[_0x25a491(0x351),_0x44ba09[_0x25a491(0x27a)]],'description':_0x25a491(0x2d6)})['option'](_0x25a491(0x260),{'type':_0x44ba09[_0x25a491(0x1d2)],'description':_0x25a491(0x1d0)})[_0x25a491(0x200)]('force',{'type':_0x44ba09['xcvCU'],'description':_0x44ba09[_0x25a491(0x245)],'default':![]})['option'](_0x44ba09['kthyr'],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x25a491(0x200)]('with-deps',{'type':_0x25a491(0x29e),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x357be3=>{const _0x5921c7=_0x5ca7c5;warnRenamed(_0x44ba09[_0x5921c7(0x203)],'ranger\x20setup'),await _0x44ba09['Vumxt'](withTelemetry,_0x5921c7(0x1c1),_0x25e35e=>start(_0x357be3[_0x5921c7(0x217)],{'skipChromium':_0x357be3[_0x5921c7(0x1ef)],'skipAuth':_0x357be3['skip-auth'],'withDeps':_0x357be3['with-deps'],'scope':_0x357be3['scope'],'url':_0x357be3['url'],'force':_0x357be3['force']},_0x25e35e));})['command'](_0x44ba09[_0x5ca7c5(0x2f0)],![],_0x1f8623=>{const _0x4e2a1d=_0x5ca7c5;return _0x1f8623[_0x4e2a1d(0x200)](_0x4e2a1d(0x349),{'type':'string','description':_0x44ba09[_0x4e2a1d(0x284)]})[_0x4e2a1d(0x200)](_0x44ba09['rJEHl'],{'type':_0x44ba09[_0x4e2a1d(0x1d2)],'description':_0x4e2a1d(0x22f)})[_0x4e2a1d(0x200)](_0x4e2a1d(0x2f5),{'type':_0x4e2a1d(0x367),'description':_0x4e2a1d(0x372)})[_0x4e2a1d(0x200)](_0x44ba09[_0x4e2a1d(0x2a6)],{'type':_0x44ba09['JPmNQ'],'hidden':!![]})['option']('notes',{'type':'string','hidden':!![]})[_0x4e2a1d(0x200)]('scenario',{'type':_0x4e2a1d(0x367),'hidden':!![]})['option'](_0x4e2a1d(0x37d),{'type':_0x4e2a1d(0x1df),'description':_0x44ba09['UBsQS']})[_0x4e2a1d(0x200)](_0x44ba09['EYmvf'],{'type':_0x4e2a1d(0x1df),'description':_0x4e2a1d(0x25d)})['option'](_0x44ba09[_0x4e2a1d(0x24a)],{'type':_0x4e2a1d(0x1df),'hidden':!![]})['option'](_0x44ba09['Qukzh'],{'type':_0x44ba09['xcvCU'],'hidden':!![],'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x44ba09['esfoR'],_0x4e2a1d(0x2fe),_0x4e2a1d(0x242),'incomplete']});},async _0xb3db84=>{await runGoCommand(_0xb3db84,!![]);})['command']('add\x20env\x20<env-name>',![],_0x3beaa2=>{const _0x4559b0=_0x5ca7c5;return _0x3beaa2['positional'](_0x44ba09[_0x4559b0(0x365)],{'type':'string','description':_0x44ba09[_0x4559b0(0x293)],'demandOption':!![]})[_0x4559b0(0x200)]('ci',{'type':'boolean','description':_0x44ba09['RnSAe'],'default':![]})['option'](_0x44ba09['kthyr'],{'type':'boolean','description':_0x4559b0(0x1ed),'default':![]});},async _0x15c3e3=>{const _0x23ad50=_0x5ca7c5;_0x44ba09[_0x23ad50(0x1bf)](warnRenamed,'ranger\x20add\x20env',_0x23ad50(0x298)),await withTelemetry('add\x20env',_0x2f08f2=>addEnv(_0x15c3e3[_0x23ad50(0x2b8)],{'ci':_0x15c3e3['ci'],'skipAuth':_0x15c3e3['skip-auth']},_0x2f08f2));})['command'](_0x5ca7c5(0x279),![],_0x4f2dd3=>{const _0x3473bc=_0x5ca7c5;return _0x4f2dd3['positional'](_0x44ba09['twHuj'],{'type':_0x44ba09[_0x3473bc(0x1d2)],'description':_0x44ba09['YDIsF'],'demandOption':!![]});},async _0x3278b0=>{const _0x41c3ea=_0x5ca7c5;_0x44ba09['ASGMO'](warnRenamed,_0x44ba09[_0x41c3ea(0x28a)],'ranger\x20profile\x20use'),await _0x44ba09['aNkdm'](withTelemetry,'use',()=>useEnv(_0x3278b0['env-name']));})['command'](_0x5ca7c5(0x37a),![],_0x3f7a81=>{const _0x35f57f=_0x5ca7c5,_0x1f776b={'UngNx':function(_0x1512bf,_0x47924b,_0x5393e0){return _0x44ba09['liRrH'](_0x1512bf,_0x47924b,_0x5393e0);},'JyKot':_0x44ba09['enVZY'],'rJcyS':function(_0x5de7bb,_0x1dd980,_0x44e621){const _0x20be10=_0x1deb;return _0x44ba09[_0x20be10(0x2c4)](_0x5de7bb,_0x1dd980,_0x44e621);},'RwCaF':function(_0x1ab073,_0x22cb14,_0x3e8db0){return _0x1ab073(_0x22cb14,_0x3e8db0);},'rqkJQ':_0x44ba09['LCwFC']};return _0x3f7a81[_0x35f57f(0x1cf)](_0x44ba09[_0x35f57f(0x2bb)],![],_0x2ae79d=>{const _0x1e2e8e=_0x35f57f;return _0x2ae79d[_0x1e2e8e(0x329)](_0x44ba09[_0x1e2e8e(0x2bc)],{'type':_0x1e2e8e(0x1df),'description':_0x44ba09[_0x1e2e8e(0x1ff)],'demandOption':!![]})[_0x1e2e8e(0x329)]('key',{'type':_0x1e2e8e(0x1df),'description':_0x1e2e8e(0x315),'demandOption':!![]})['positional'](_0x44ba09[_0x1e2e8e(0x27c)],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09[_0x1e2e8e(0x324)],'demandOption':!![]});},async _0x56b594=>{const _0x5a6469=_0x35f57f;_0x1f776b[_0x5a6469(0x215)](warnRenamed,_0x5a6469(0x1cd),_0x1f776b[_0x5a6469(0x25e)]),await _0x1f776b['rJcyS'](withTelemetry,'config\x20set',()=>configSet(_0x56b594['env'],_0x56b594['key'],_0x56b594['value']));})[_0x35f57f(0x1cf)]('get\x20<env>\x20<key>',![],_0x771cfc=>{const _0x49ace6=_0x35f57f;return _0x771cfc[_0x49ace6(0x329)](_0x49ace6(0x349),{'type':_0x44ba09[_0x49ace6(0x1d2)],'description':_0x49ace6(0x37c),'demandOption':!![]})['positional'](_0x49ace6(0x2df),{'type':_0x49ace6(0x1df),'description':_0x44ba09[_0x49ace6(0x1f8)],'demandOption':!![]});},async _0x48482c=>{const _0x3b2d19=_0x35f57f;warnRenamed(_0x3b2d19(0x1d1),_0x44ba09[_0x3b2d19(0x1f1)]),await withTelemetry(_0x44ba09['puXZX'],()=>configGet(_0x48482c['env'],_0x48482c['key']));})['command'](_0x44ba09[_0x35f57f(0x297)],![],_0x113f4f=>{const _0x57eea7=_0x35f57f;return _0x113f4f[_0x57eea7(0x329)](_0x57eea7(0x349),{'type':_0x57eea7(0x1df),'description':_0x57eea7(0x37c),'demandOption':!![]});},async _0x438574=>{const _0x1b228c=_0x35f57f;_0x44ba09['Vumxt'](warnRenamed,'ranger\x20config\x20list',_0x44ba09['vrmKr']),await withTelemetry(_0x1b228c(0x230),()=>configList(_0x438574['env']));})['command'](_0x35f57f(0x1fc),![],_0x1dfc50=>{const _0x3214b7=_0x35f57f;return _0x1dfc50['positional'](_0x3214b7(0x349),{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['rvyit'],'demandOption':!![]})['positional']('key',{'type':_0x44ba09[_0x3214b7(0x1d2)],'description':_0x3214b7(0x28e),'demandOption':!![]});},async _0x98051=>{const _0xb38b7b=_0x35f57f;warnRenamed(_0xb38b7b(0x2b2),_0xb38b7b(0x290)),await _0x1f776b[_0xb38b7b(0x26f)](withTelemetry,_0x1f776b['rqkJQ'],()=>configUnset(_0x98051['env'],_0x98051['key']));})[_0x35f57f(0x2d0)](0x1,_0x35f57f(0x1ce));})[_0x5ca7c5(0x1cf)](_0x44ba09[_0x5ca7c5(0x2bc)],![],_0x1ea77b=>{const _0x304267=_0x5ca7c5,_0x133a00={'poZaI':_0x44ba09[_0x304267(0x213)],'VXsPI':function(_0x1a0b62,_0x5a7efe,_0x4ad427){const _0x52210a=_0x304267;return _0x44ba09[_0x52210a(0x27b)](_0x1a0b62,_0x5a7efe,_0x4ad427);}};return _0x1ea77b[_0x304267(0x1cf)]('ls',![],()=>{},async()=>{const _0x2c799d=_0x304267;warnRenamed('ranger\x20env\x20ls',_0x133a00[_0x2c799d(0x26a)]),await _0x133a00['VXsPI'](withTelemetry,_0x2c799d(0x1cb),()=>envList());})[_0x304267(0x1cf)](_0x304267(0x27e),![],_0x45921f=>{const _0x42bb7d=_0x304267;return _0x45921f[_0x42bb7d(0x329)](_0x42bb7d(0x2b8),{'type':_0x42bb7d(0x1df),'description':_0x42bb7d(0x1d5),'demandOption':!![]});},async _0x207ba0=>{const _0x2ba10c=_0x304267;warnRenamed(_0x44ba09[_0x2ba10c(0x1c8)],'ranger\x20profile\x20update'),await _0x44ba09[_0x2ba10c(0x31d)](withTelemetry,_0x44ba09[_0x2ba10c(0x283)],_0x14e3ab=>updateEnv(_0x207ba0[_0x2ba10c(0x2b8)],_0x14e3ab));})[_0x304267(0x2d0)](0x1,_0x44ba09['AeNDH']);})[_0x5ca7c5(0x1cf)]('feature',![],_0xd1098c=>{const _0x1b8f0a=_0x5ca7c5,_0x25ca88={'hSDRp':function(_0x4a18d3,_0x436a3f,_0x2cb63d){return _0x4a18d3(_0x436a3f,_0x2cb63d);},'sWwCO':'ranger\x20feature\x20show','ifRGt':_0x1b8f0a(0x21f),'UwcXQ':_0x1b8f0a(0x345),'OXrmL':_0x44ba09['XKBig'],'XsRXo':'ranger\x20resume','qiwEq':'feature\x20resume','wXPCW':_0x44ba09[_0x1b8f0a(0x229)],'QYBcn':'string','wHYic':_0x44ba09[_0x1b8f0a(0x2aa)],'OXfxt':function(_0x42448d,_0x383fce,_0x2ac364){return _0x42448d(_0x383fce,_0x2ac364);},'VZPrn':_0x44ba09[_0x1b8f0a(0x2ab)]};return _0xd1098c['command'](_0x1b8f0a(0x37b),![],_0xbb7a24=>{const _0x1b4f72=_0x1b8f0a;return _0xbb7a24[_0x1b4f72(0x329)](_0x1b4f72(0x35c),{'type':'string','description':_0x44ba09[_0x1b4f72(0x1da)],'demandOption':!![]})[_0x1b4f72(0x200)]('description',{'type':_0x1b4f72(0x1df),'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x44ba09['xcNaV'],{'type':_0x44ba09['xnjYn'],'alias':'c','description':_0x44ba09[_0x1b4f72(0x204)]})[_0x1b4f72(0x200)]('scenario',{'type':_0x1b4f72(0x2be),'hidden':!![]});},async _0x1f8495=>{const _0x1ad58f=_0x1b8f0a;_0x44ba09['GlVJg'](warnRenamed,_0x44ba09['roWqK'],_0x44ba09[_0x1ad58f(0x21d)]),_0x44ba09[_0x1ad58f(0x23f)](warnFlagRenamed,_0x44ba09[_0x1ad58f(0x21d)],_0x44ba09[_0x1ad58f(0x358)],'--scenario');const _0x56d8ad=_0x1f8495[_0x1ad58f(0x347)]||_0x1f8495[_0x1ad58f(0x271)];await _0x44ba09['GIZgH'](withTelemetry,_0x1ad58f(0x286),()=>featureCreate(_0x1f8495[_0x1ad58f(0x35c)],{'description':_0x1f8495['description'],'scenarios':_0x56d8ad}));})[_0x1b8f0a(0x1cf)]('list',![],_0x2c9d11=>{const _0x570bbb=_0x1b8f0a;return _0x2c9d11['option'](_0x44ba09['SIAPs'],{'type':_0x44ba09['xcvCU'],'description':_0x570bbb(0x201)})[_0x570bbb(0x200)](_0x570bbb(0x220),{'type':_0x570bbb(0x367),'alias':'l','description':_0x570bbb(0x33b),'default':0xa})['option'](_0x570bbb(0x30e),{'type':_0x44ba09[_0x570bbb(0x1eb)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x570bbb(0x200)]('include-deleted',{'type':_0x44ba09['xcvCU'],'alias':'d','description':_0x570bbb(0x24e),'default':![]});},async _0x8cc696=>{const _0xad67cf=_0x1b8f0a;_0x44ba09[_0xad67cf(0x2c7)](warnRenamed,_0xad67cf(0x1dd),'ranger\x20list'),await withTelemetry(_0x44ba09[_0xad67cf(0x1f2)],()=>featureList({'currentBranch':_0x8cc696['current-branch'],'limit':_0x8cc696['limit'],'offset':_0x8cc696['offset'],'includeDeleted':_0x8cc696[_0xad67cf(0x2ed)]}));})[_0x1b8f0a(0x1cf)](_0x44ba09[_0x1b8f0a(0x360)],![],_0x3a28a4=>{const _0x6075db=_0x1b8f0a;return _0x3a28a4['positional']('id',{'type':_0x6075db(0x1df),'description':_0x6075db(0x303)});},async _0x202aa3=>{const _0xf061fe=_0x1b8f0a;_0x25ca88[_0xf061fe(0x24b)](warnRenamed,_0x25ca88[_0xf061fe(0x32a)],_0x25ca88[_0xf061fe(0x2ea)]),await _0x25ca88['hSDRp'](withTelemetry,_0x25ca88['UwcXQ'],()=>featureShow(_0x202aa3['id']));})['command'](_0x44ba09['yTySa'],![],_0x399453=>{const _0x10de81=_0x1b8f0a;return _0x399453[_0x10de81(0x329)]('id',{'type':_0x10de81(0x1df),'description':_0x10de81(0x20d)});},async _0x136d2d=>{const _0x3781d0=_0x1b8f0a;_0x25ca88[_0x3781d0(0x24b)](warnRenamed,_0x25ca88['OXrmL'],_0x25ca88[_0x3781d0(0x2b3)]),await withTelemetry(_0x25ca88[_0x3781d0(0x20b)],()=>featureResume(_0x136d2d['id']));})['command'](_0x44ba09[_0x1b8f0a(0x24d)],![],_0x360228=>{const _0xeb2a4c=_0x1b8f0a;return _0x360228['positional'](_0x25ca88['wXPCW'],{'type':_0x25ca88['QYBcn'],'description':_0x25ca88[_0xeb2a4c(0x30c)],'demandOption':!![]})['option']('id',{'type':_0x25ca88[_0xeb2a4c(0x2b4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x353f44=>{const _0x4e5f82=_0x1b8f0a;_0x25ca88[_0x4e5f82(0x1e9)](warnRenamed,'ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await withTelemetry(_0x4e5f82(0x2a0),()=>featureAddScenario(_0x353f44['description'],_0x353f44['id']));})[_0x1b8f0a(0x1cf)](_0x44ba09['grFas'],![],_0x36b59b=>{const _0x2c0b7b=_0x1b8f0a;return _0x36b59b['positional']('id',{'type':_0x25ca88[_0x2c0b7b(0x2b4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x27d132=>{warnRenamed(_0x44ba09['snhqm'],_0x44ba09['KwmPh']),await withTelemetry(_0x44ba09['kYjjB'],()=>featureGetReview(_0x27d132['id']));})['command'](_0x1b8f0a(0x231),![],_0x5f4b8a=>{return _0x5f4b8a['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x515c99=>{const _0x860702=_0x1b8f0a;warnRenamed(_0x860702(0x23e),_0x860702(0x1fe)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x515c99['id']));})['command'](_0x44ba09['yRcfS'],![],_0x7dda57=>{const _0x21ec77=_0x1b8f0a;return _0x7dda57['positional']('id',{'type':_0x44ba09[_0x21ec77(0x1d2)],'description':_0x44ba09[_0x21ec77(0x243)],'demandOption':!![]});},async _0x4729b1=>{const _0x348ac0=_0x1b8f0a;_0x25ca88[_0x348ac0(0x24b)](warnRenamed,_0x348ac0(0x334),_0x25ca88['VZPrn']),await _0x25ca88[_0x348ac0(0x1e9)](withTelemetry,_0x348ac0(0x341),()=>featureRestore(_0x4729b1['id']));})[_0x1b8f0a(0x2d0)](0x1,_0x44ba09['SBNts']);})['command'](_0x44ba09[_0x5ca7c5(0x2f9)],![],_0x4fd106=>{const _0x51f5ae=_0x5ca7c5,_0x5b8696={'onCeH':_0x51f5ae(0x34f),'otvxN':_0x51f5ae(0x1df)};return _0x4fd106['command'](_0x44ba09[_0x51f5ae(0x2ad)],_0x44ba09['EzWPG'],_0x101f61=>{return _0x101f61['option'](_0x5b8696['onCeH'],{'type':_0x5b8696['otvxN'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x46b25b=>{const _0x5b0de8=_0x51f5ae;await withTelemetry(_0x5b0de8(0x364),()=>hook(_0x5b0de8(0x361),_0x46b25b['session-id']));})['command'](_0x44ba09[_0x51f5ae(0x2d9)],_0x51f5ae(0x33f),_0x56aabb=>{const _0x5adce2=_0x51f5ae;return _0x56aabb[_0x5adce2(0x200)](_0x44ba09[_0x5adce2(0x2a9)],{'type':'string','description':_0x44ba09['qoVnX']});},async _0x1a35f4=>{const _0x19bc19=_0x51f5ae;await withTelemetry(_0x19bc19(0x25a),()=>hook('disable',_0x1a35f4[_0x19bc19(0x34f)]));})['option'](_0x44ba09[_0x51f5ae(0x330)],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09[_0x51f5ae(0x1f6)]})['option'](_0x51f5ae(0x34f),{'type':'string','description':_0x44ba09['qoVnX']});},async _0xd5e7c=>{const _0x5e5dab=_0x5ca7c5;_0xd5e7c['name']&&await _0x44ba09[_0x5e5dab(0x24c)](hook,_0xd5e7c[_0x5e5dab(0x35c)],_0xd5e7c[_0x44ba09['lIffR']]);})[_0x5ca7c5(0x2d0)](0x1,_0x5ca7c5(0x322))['strictCommands']()['fail'](async(_0x3b709d,_0x43f48a,_0x1c66a6)=>{const _0x929888=_0x5ca7c5,_0x4da482=_0x44ba09['RjJWU'](sanitizeArgs,process['argv'][_0x929888(0x256)](0x2)),_0x464bff=getErrorType(_0x3b709d,_0x43f48a);if(_0x3b709d&&_0x3b709d['includes'](_0x44ba09['sFuxM'])){const _0x3a1fa7=process['argv'][0x2];console[_0x929888(0x212)]('\x0aUnknown\x20command:\x20'+_0x3a1fa7),console['error'](_0x44ba09['ctCJm']);}else{if(_0x3b709d)console['error']('\x0a'+_0x3b709d+'\x0a');else _0x43f48a&&console[_0x929888(0x212)]('\x0aError:\x20'+_0x43f48a[_0x929888(0x359)]+'\x0a');}await logDesirePath({'rawCommand':_0x4da482,'errorMessage':_0x3b709d||_0x43f48a?.[_0x929888(0x359)],'errorType':_0x464bff});const _0x4bd874=getCurrentCollector();_0x4bd874&&await _0x4bd874['trackCommandError'](_0x43f48a||new Error(_0x44ba09['IttIF'](_0x3b709d,_0x929888(0x378)))),process[_0x929888(0x1e4)](0x1);})[_0x5ca7c5(0x207)](_0x44ba09[_0x5ca7c5(0x1de)](_0x44ba09['tZqOs']('Documentation:\x0a',_0x44ba09[_0x5ca7c5(0x379)]),_0x5ca7c5(0x2fa)))[_0x5ca7c5(0x2a8)]()['alias'](_0x44ba09['aCNWM'],'h');}process['env']['NODE_ENV']!=='test'&&buildParser()[_0x10ef54(0x2c8)]();
2
+ const _0x403ed5=_0x331d;(function(_0xb48ee6,_0x22172f){const _0x1edef6=_0x331d,_0x549589=_0xb48ee6();while(!![]){try{const _0x3fb5a7=-parseInt(_0x1edef6(0x37e))/0x1*(-parseInt(_0x1edef6(0x215))/0x2)+-parseInt(_0x1edef6(0x353))/0x3+-parseInt(_0x1edef6(0x335))/0x4+-parseInt(_0x1edef6(0x35a))/0x5*(-parseInt(_0x1edef6(0x290))/0x6)+parseInt(_0x1edef6(0x398))/0x7+parseInt(_0x1edef6(0x351))/0x8*(-parseInt(_0x1edef6(0x264))/0x9)+parseInt(_0x1edef6(0x313))/0xa;if(_0x3fb5a7===_0x22172f)break;else _0x549589['push'](_0x549589['shift']());}catch(_0x5d6b3f){_0x549589['push'](_0x549589['shift']());}}}(_0x47d0,0x5647f));import _0x44ff0b from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x58ba6c=_0x331d,_0x4e51ce={'whvbY':function(_0x16bcfd,_0x314f6a){return _0x16bcfd(_0x314f6a);},'wvNue':function(_0x4c3e6a,_0x49fd5c){return _0x4c3e6a!==_0x49fd5c;}};let _0x5e5dbc=process[_0x58ba6c(0x235)]();const _0x1a9774=_0x4e51ce['whvbY'](parse,_0x5e5dbc)[_0x58ba6c(0x2d6)];while(_0x4e51ce['wvNue'](_0x5e5dbc,_0x1a9774)){if(_0x4e51ce['whvbY'](existsSync,join(_0x5e5dbc,'.ranger'))||existsSync(join(_0x5e5dbc,_0x58ba6c(0x2e6))))return _0x5e5dbc;_0x5e5dbc=_0x4e51ce[_0x58ba6c(0x28b)](dirname,_0x5e5dbc);}return process['cwd']();}_0x44ff0b['config']({'path':join(findProjectRoot(),_0x403ed5(0x2e6))});import _0x2d484f from'yargs/yargs';function _0x331d(_0x4aa5b6,_0x16b826){_0x4aa5b6=_0x4aa5b6-0x1ee;const _0x47d085=_0x47d0();let _0x331d30=_0x47d085[_0x4aa5b6];return _0x331d30;}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';function _0x47d0(){const _0x2349df=['Ranger\x20API\x20token','NIldS','fWNuW','token','skillup','wHBBq','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','yfBAi','deps','setup:all','SwxDV','Environment\x20name','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','feature','gOtke','JYZrW','EnkfS','ranger\x20restore','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','Gizoa','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','safe-mode','ranger\x20add-scenario','UELmB','array','vkjYg','IAFxb','cwd','Summary:\x20','blocked','set\x20<env>\x20<key>\x20<value>','edit-scenario','command','repeat','rjScP','NiSVY','Config\x20key\x20to\x20remove','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','feature\x20get-feedback','unknown\x20error','HyRLB','hook','option','ranger\x20add\x20env','profile\x20config\x20unset','user','add\x20env','iJCbk','start-path','profile-name','cmViL','argv','dzFYz','forEach','all','skip-auth','limit','sAeUv','RxfCi','add\x20env\x20<env-name>','OTbKl','yes','report\x20[id]','FnvlP','USrzP','nAAev','ALTQw','Mmdgx','wjZiz','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','evaluation','nAMgu','ranger\x20verify-feature','RZlMJ','3771CaFhtw','mcp-bootstrap','force','--checklist','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','save-creds','restore\x20<id>','TEDmk','iCevs','scenario','vQPKk','Skip\x20interactive\x20confirmation\x20prompts.','ranger\x20profile\x20config\x20set','dpUfx','Skip\x20authentication','tuhUC','issues','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','env','ojFBW','YfjwL','failed','You\x20must\x20specify\x20a\x20config\x20subcommand','xekWP','profile\x20login','add-checklist-item\x20<description>','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Number\x20of\x20feature\x20reviews\x20to\x20skip','mcp','offset','✓\x20Authenticated\x20to\x20','qrVzN','GQXjM','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','item','khuoK','lERta','unhandledRejection','ranger\x20feature\x20create','whvbY','skip-chromium','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','ranger\x20get-review','status','6564NhmFhU','KDHol','fail','demandCommand','JOhFy','show\x20[id]','verified','config\x20set','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','RtfQf','qlSXG','Feature\x20review\x20description','MnsYa','success','Install\x20Chromium\x20browser\x20binary','HnGai','env\x20list','WHUGd','--task','UoAOj','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','list','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.','BMyEu','log','wOgzE','HdLMM','unset\x20<env>\x20<key>','aLoxY','ishis','Enbfc','jrkvD','resume\x20[id]','migrate\x20[profile-name]','nOode','ranger\x20create','oVapQ','rUVXU','cdp-endpoint','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','RbkIL','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','ranger\x20show','GiXQd','exit','vfhgD','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','base-url','.\x20[','QsNms','config\x20list','ZzOAX','swaet','session-id','key','Name\x20of\x20the\x20profile','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','YxEMY','dQGOD','Include\x20soft-deleted\x20feature\x20reviews','Install\x20scope\x20for\x20plugin\x20and\x20skills','boolean','UjIlZ','print-access-token','current-branch','HWfng','ranger\x20setup','SMCpc','string','\x20VERIFIED','root','\x20INCOMPLETE','ranger\x20start','description','nXxTg','Scenario\x20number\x20to\x20edit\x20(1-based)','GBvED','with-deps','Skip\x20browser\x20authentication','Run\x20full\x20interactive\x20setup','allow-insecure-localhost','rmkzL','ranger\x20list','YknFZ','pYMNO','Alias\x20for\x20--mcp-bootstrap','.env','OCmoc','You\x20must\x20specify\x20an\x20env\x20subcommand','start\x20[token]','model','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','HwSID','NAJRL','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Feature\x20review\x20ID','add-scenario','feature\x20resume','ranger\x20feature\x20restore','NbvSu','arRbN','ceuPq','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Authenticate\x20via\x20MCP\x20proxy','HorIo','DsjdQ','report','Restore\x20a\x20soft-deleted\x20feature\x20review','ranger\x20env\x20update','tokenOrSubcommand','imXBx','delete','profile\x20config\x20list','alias','test_output','rrdWk','iftGQ','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','FQoeq','xzMUQ','notes','parse','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FgicZ','oSxKn','VupBC','--scenario','ecEgj','value','task','PUaei','3720390SqMiQV','rODhj','not_configured','env-name','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','scope','mrKjt','ZjIqI','dbxIC','headed','test','length','rWAUn','ZUqAm','dry-run','usage','IpssY','\x0aError:\x20','eFfvr','DvgtJ','enable','DTdLz','TrLNm','profiles','Manage\x20profile\x20configuration','positional','EcWXZ','create\x20<name>','ucDeQ','xafZH','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Install\x20skills\x20for\x20OpenCode','dekxj','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','280220lqNnEP','debug-outcome','kDXEP','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','startsWith','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','GxtRL','clhVf','Config\x20key','feature\x20list','partial','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Authenticate\x20with\x20Ranger','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Yzcdu','LFNiV','KWtkQ','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','list\x20<profile>','cOZav','profile\x20config\x20reset','UgMSm','eXBVn','setup:deps','umpac','zJJmg','ZxznI','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','12848gpiEao','hook:disable','502110FDhbNR','woAby','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','disable','cYzak','trackCommandError','kCGCW','1315eqsdXK','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','uASFJ','ranger\x20go','checklist','delete\x20[id]','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','\x20BLOCKED','claude','HSvmR','RGBCd','Unknown\x20command','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','TxHdj','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','gLehM','Feature\x20review\x20ID\x20to\x20restore','wDMxr','aaWvi','XxAHN','EXbvj','YgvNC','QaJvM','BILNi','Profile\x20name','list\x20<env>','IRBTf','auth','Lxwyk','ranger\x20feature\x20add-checklist-item','yjMdk','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','ZXCro','feature\x20show','ranger','get-review\x20[id]','7237rxAFzf','cGJDl','RHyVf','\x20PARTIAL','debug-address-comments','CJtgl','uQlEm','Config\x20value','ZHagt','create','GJjhS','ranger\x20feature\x20delete','Documentation:\x0a','cGpRD','organizationName','aBPjc','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','edswp','ITAeg','\x20FAILED','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','profile','JsPKH','ranger\x20delete','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','set\x20<profile>\x20<key>\x20<value>','2758784OKiIMC','number','includes','jOoJg','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account;\x20the\x20CLI\x20suggests\x20your\x0a`git\x20config\x20user.email`\x20as\x20the\x20default\x20name.\x20For\x20CI\x20/\x20background\x20agents\x20and\x0aother\x20setup\x20options,\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','tLARE','LqfLe','ranger\x20profile\x20use','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','name','CjVsk','ranger\x20config\x20get','ranger\x20use','wpYqX','update\x20<profile-name>','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','paeCx','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','exclude-scenario','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','error','ranger\x20resume','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','include-deleted','url','uNpKn','message','Scenario\x20description','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20profile\x20ls','Remove\x20a\x20config\x20value','Npbip','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','feature\x20delete','feature\x20add-checklist-item','opencode','oTjbz','bemKn','58EfgjGo','DzUdK','ijuFC'];_0x47d0=function(){return _0x2349df;};return _0x47d0();}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'](_0x403ed5(0x289),async _0x2caf49=>{const _0x5b4a6e=_0x403ed5,_0x5db8cf=getCurrentCollector();_0x5db8cf&&await _0x5db8cf[_0x5b4a6e(0x358)](_0x2caf49),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=_0x403ed5(0x1f0),PROFILE_CONFIG_HELP=_0x403ed5(0x368);function warnRenamed(_0x13c2f7,_0x14738a){const _0x1ec237=_0x403ed5;console[_0x1ec237(0x200)]('\x0a'+_0x13c2f7+'\x20is\x20now\x20'+_0x14738a+'\x0a');}function argUsed(_0x5c0af7){const _0x5025bb=_0x403ed5;return rawArgs['some'](_0x40e290=>_0x40e290===_0x5c0af7||_0x40e290[_0x5025bb(0x339)](_0x5c0af7+'='));}function warnFlagRenamed(_0x6cac41,_0x4913db,_0x185cdc){const _0x3859ee={'CjDFN':function(_0x207e7f,_0x50ac3c,_0x291fd9){return _0x207e7f(_0x50ac3c,_0x291fd9);}};argUsed(_0x4913db)&&_0x3859ee['CjDFN'](warnRenamed,_0x6cac41+'\x20'+_0x4913db,_0x6cac41+'\x20'+_0x185cdc);}async function runGoCommand(_0x54faeb,_0x3c4398=![]){const _0x28ea3b=_0x403ed5,_0x2d0828={'PbseA':function(_0x5f5dd7,_0x3fd940,_0x45bff5){return _0x5f5dd7(_0x3fd940,_0x45bff5);},'tuhUC':function(_0x1bef2c,_0x3f845a,_0x44c11b,_0x1a4eab){return _0x1bef2c(_0x3f845a,_0x44c11b,_0x1a4eab);},'YlQAc':_0x28ea3b(0x35d),'iAIMC':_0x28ea3b(0x2a2),'gLehM':'--item','qbKqQ':function(_0x4f86a5){return _0x4f86a5();},'xPHyU':_0x28ea3b(0x336),'imXBx':function(_0x2cd40c,_0x47895f){return _0x2cd40c+_0x47895f;},'pEhfl':_0x28ea3b(0x2d5),'HyRLB':function(_0x4dfcad,_0x22d13c){return _0x4dfcad===_0x22d13c;},'ianLc':'incomplete','eXBVn':function(_0x413918,_0x5d41a5){return _0x413918===_0x5d41a5;},'QsNms':function(_0x43699e,_0x738858){return _0x43699e===_0x738858;},'HnGai':_0x28ea3b(0x391)};_0x3c4398&&_0x2d0828['PbseA'](warnRenamed,_0x28ea3b(0x262),_0x28ea3b(0x35d));_0x2d0828['tuhUC'](warnFlagRenamed,_0x2d0828['YlQAc'],'--env','--profile'),_0x2d0828[_0x28ea3b(0x273)](warnFlagRenamed,_0x28ea3b(0x35d),_0x2d0828['iAIMC'],'--notes'),warnFlagRenamed('ranger\x20go',_0x2d0828[_0x28ea3b(0x369)],_0x28ea3b(0x30e));const _0x5bf4e1=await _0x2d0828['qbKqQ'](loadRangerConfig),_0x42495f=isByokEnabled(),_0x261867=_0x54faeb['model'],_0x508b89=_0x5bf4e1[_0x28ea3b(0x2ea)],_0x444005=await verifyFeature({'featureId':_0x54faeb[_0x28ea3b(0x226)],'profile':_0x54faeb[_0x28ea3b(0x393)]??_0x54faeb[_0x28ea3b(0x276)]??process[_0x28ea3b(0x276)]['RANGER_PROFILE'],'notes':_0x54faeb['notes']??_0x54faeb[_0x28ea3b(0x311)],'scenario':_0x54faeb[_0x28ea3b(0x26d)]??_0x54faeb['item'],'startPath':_0x54faeb[_0x28ea3b(0x24a)],'baseUrl':_0x54faeb[_0x28ea3b(0x2bf)],'debugOutcome':_0x54faeb[_0x2d0828['xPHyU']],'debugAddressComments':_0x54faeb[_0x28ea3b(0x382)],'headed':_0x54faeb[_0x28ea3b(0x31c)],'byokEnabled':_0x42495f,'flagVerifyModel':_0x261867,'configVerifyModel':_0x508b89});console[_0x28ea3b(0x2a8)](_0x2d0828[_0x28ea3b(0x2fe)]('\x0a','='[_0x28ea3b(0x23b)](0x3c))),console['log'](_0x444005[_0x28ea3b(0x260)]===_0x28ea3b(0x296)?_0x2d0828['pEhfl']:_0x2d0828[_0x28ea3b(0x242)](_0x444005['evaluation'],_0x2d0828['ianLc'])?_0x28ea3b(0x2d7):_0x2d0828[_0x28ea3b(0x34b)](_0x444005[_0x28ea3b(0x260)],'partial')?_0x28ea3b(0x381):_0x2d0828[_0x28ea3b(0x2c1)](_0x444005['evaluation'],_0x28ea3b(0x237))?_0x28ea3b(0x361):_0x2d0828[_0x28ea3b(0x29f)]),console['log']('='['repeat'](0x3c)),console['log'](_0x28ea3b(0x236)+_0x444005['summary']),console['log']('Evaluation:\x20'+_0x444005['evaluation']),console['log']('Reason:\x20'+_0x444005['evaluationReason']),_0x444005[_0x28ea3b(0x274)]?.[_0x28ea3b(0x31e)]&&(console['log']('\x0aIssues:'),_0x444005[_0x28ea3b(0x274)][_0x28ea3b(0x24f)]((_0xca6325,_0x4927b5)=>{const _0x3b0b07=_0x28ea3b;console['log']('\x0a'+(_0x4927b5+0x1)+_0x3b0b07(0x2c0)+_0xca6325['severity']+']\x20'+_0xca6325['description']);})),process[_0x28ea3b(0x2bc)](_0x2d0828[_0x28ea3b(0x242)](_0x444005['evaluation'],_0x28ea3b(0x296))?0x0:0x1);}export function buildParser(_0x3c3137){const _0x4c411e=_0x403ed5,_0x1c7a14={'kDXEP':'name','VupBC':'string','uASFJ':_0x4c411e(0x29b),'HorIo':'array','dUeno':_0x4c411e(0x27e),'fWNuW':'checklist','VODPa':function(_0x5f0d50,_0x125a52){return _0x5f0d50+_0x125a52;},'GcQHr':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','cGJDl':'ranger\x20create','RxfCi':function(_0x5eb289,_0x3d55c3,_0x12d171){return _0x5eb289(_0x3d55c3,_0x12d171);},'PvoPw':_0x4c411e(0x387),'wOgzE':'boolean','LFNiV':'number','DriHp':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ExVWe':_0x4c411e(0x281),'KWtkQ':_0x4c411e(0x27f),'wRkim':'list','nAAev':_0x4c411e(0x2ef),'jOoJg':_0x4c411e(0x275),'FnvlP':'resume','aNIgx':_0x4c411e(0x2f0),'YknFZ':'New\x20scenario\x20description','uQlEm':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','FBhWH':_0x4c411e(0x1fe),'Npbip':_0x4c411e(0x2ff),'RtfQf':_0x4c411e(0x28c),'PUaei':'skip-auth','dbxIC':_0x4c411e(0x272),'SMCpc':'user','CjVsk':_0x4c411e(0x338),'IpssY':_0x4c411e(0x205),'uZcrw':_0x4c411e(0x23f),'eFfvr':'force','hZRdL':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','wmoyn':_0x4c411e(0x2e0),'IRBTf':_0x4c411e(0x203),'KwhHS':_0x4c411e(0x265),'fIDSI':'mcp','yfBAi':_0x4c411e(0x1fb),'rUVXU':_0x4c411e(0x212),'rWAUn':_0x4c411e(0x22b),'EXbvj':'scope','MZWqN':'Base\x20URL\x20of\x20the\x20running\x20app','hjjsk':function(_0x3351a9,_0x32ec1d,_0x104b94){return _0x3351a9(_0x32ec1d,_0x104b94);},'HRhjh':function(_0x307d43,_0x43bb67,_0x4fb6f2){return _0x307d43(_0x43bb67,_0x4fb6f2);},'oTjbz':function(_0xc4cadc,_0x48a3b5,_0x3cdaf2){return _0xc4cadc(_0x48a3b5,_0x3cdaf2);},'EezEv':'Ranger\x20API\x20token\x20(rngr_...)','kCGCW':function(_0x27abbc,_0x5e59fd){return _0x27abbc(_0x5e59fd);},'Yzcdu':function(_0x162a2d,_0x514d33){return _0x162a2d(_0x514d33);},'RKzmw':function(_0x188a3f,_0x3de2a6){return _0x188a3f!==_0x3de2a6;},'HWfng':_0x4c411e(0x2df),'swaet':_0x4c411e(0x379),'ojFBW':'profiles','mMwKG':_0x4c411e(0x22c),'fZrkr':_0x4c411e(0x30a),'mRwyW':_0x4c411e(0x2dd),'tLARE':'token','iFwTC':function(_0x2a5bc7,_0x3461a1,_0x220b54){return _0x2a5bc7(_0x3461a1,_0x220b54);},'ZzOAX':'start','cmViL':_0x4c411e(0x218),'LFNRh':'Skip\x20Chromium\x20browser\x20installation','DsjdQ':_0x4c411e(0x332),'VAHBH':'project','SnoZh':_0x4c411e(0x21c),'UoAOj':_0x4c411e(0x2c7),'Lxwyk':'profile\x20use','rRfef':function(_0x453a22,_0xae8cde,_0x2b4bc0){return _0x453a22(_0xae8cde,_0x2b4bc0);},'BuSYR':_0x4c411e(0x24b),'iftGQ':'profile\x20update','qvAdG':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','gOtke':_0x4c411e(0x279),'KDHol':function(_0x512368,_0x51c4f9,_0x3e6a55){return _0x512368(_0x51c4f9,_0x3e6a55);},'nOode':_0x4c411e(0x393),'RHyVf':_0x4c411e(0x372),'CocAx':_0x4c411e(0x397),'IAFxb':'get\x20<profile>\x20<key>','nAMgu':'Get\x20a\x20config\x20value','tlhjZ':'List\x20all\x20config\x20for\x20a\x20profile','NIldS':_0x4c411e(0x20c),'AMbju':'reset\x20<profile>','WHUGd':_0x4c411e(0x209),'vfhgD':_0x4c411e(0x1fd),'oVapQ':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','EcWXZ':_0x4c411e(0x20e),'FiQkP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','DTdLz':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','LqfLe':_0x4c411e(0x257),'zVpCD':function(_0x938b30,_0x12362a,_0x5655be,_0xbf6373){return _0x938b30(_0x12362a,_0x5655be,_0xbf6373);},'juiON':_0x4c411e(0x346),'xzMUQ':_0x4c411e(0x26f),'ymaeh':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','RbkIL':'Add\x20profile\x20configuration','zXiMd':'use\x20<profile-name>','PNxhJ':'Switch\x20to\x20using\x20a\x20specific\x20profile','rrdWk':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','zJJmg':_0x4c411e(0x1fa),'NAJRL':'Update\x20authentication\x20for\x20an\x20existing\x20profile','ZXCro':_0x4c411e(0x21f),'CUYnt':'You\x20must\x20specify\x20a\x20profile\x20subcommand','lvpgq':_0x4c411e(0x28f),'BMyEu':'update','DzUdK':_0x4c411e(0x2cf),'pDzAQ':_0x4c411e(0x285),'GiXQd':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','rODhj':'scenario','iCevs':'base-url','gISxv':_0x4c411e(0x2eb),'ZxznI':_0x4c411e(0x2a6),'TxHdj':_0x4c411e(0x336),'mDSIN':_0x4c411e(0x33f),'vkjYg':'blocked','wjZiz':'task','RZlMJ':function(_0x72d342,_0x51c322,_0x34abf3){return _0x72d342(_0x51c322,_0x34abf3);},'UjIlZ':function(_0x1ca90a,_0x1896be){return _0x1ca90a(_0x1896be);},'lERta':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','PKNpt':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','dzFYz':function(_0x547705,_0x600724,_0x2903f){return _0x547705(_0x600724,_0x2903f);},'BILNi':_0x4c411e(0x2d8),'ZaTdi':_0x4c411e(0x2d2),'arRbN':'env','SEuND':_0x4c411e(0x350),'Mmdgx':_0x4c411e(0x202),'uZwNE':_0x4c411e(0x286),'edswp':_0x4c411e(0x308),'jrkvD':'start-path','CJtgl':_0x4c411e(0x31c),'UELmB':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','khuoK':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','OAsLz':_0x4c411e(0x245),'KRYsf':_0x4c411e(0x316),'GIbNs':'Name\x20of\x20the\x20environment','HSvmR':_0x4c411e(0x1f3),'LeqBQ':function(_0x148ea2,_0x433f50,_0x5bca0f){return _0x148ea2(_0x433f50,_0x5bca0f);},'ZSDSK':_0x4c411e(0x310),'cGpRD':'ranger\x20config\x20set','qlSXG':_0x4c411e(0x297),'xpTsZ':_0x4c411e(0x224),'qsPwP':'ranger\x20config\x20list','rfRHB':'ranger\x20profile\x20config\x20list','EvAnh':_0x4c411e(0x2c2),'pTyHi':_0x4c411e(0x1f7),'pbqED':_0x4c411e(0x238),'qrVzN':_0x4c411e(0x27a),'ERDFL':'ranger\x20env\x20ls','ucDeQ':_0x4c411e(0x20b),'USrzP':_0x4c411e(0x2fc),'OTbKl':'update\x20<env-name>','TrLNm':'description','QaJvM':_0x4c411e(0x267),'aBPjc':'feature\x20create','IcOyc':_0x4c411e(0x37b),'gtICP':function(_0x5edb17,_0x1d0e04,_0x2ba070){return _0x5edb17(_0x1d0e04,_0x2ba070);},'eqsFV':'ranger\x20feature\x20resume','EKuTU':_0x4c411e(0x201),'lDxPp':_0x4c411e(0x2f1),'nJFkf':'ranger\x20feature\x20get-feedback','GQXjM':_0x4c411e(0x28e),'XxAHN':_0x4c411e(0x395),'ZItpK':_0x4c411e(0x210),'wHBBq':_0x4c411e(0x2f2),'ZjIqI':_0x4c411e(0x2be),'MkyHz':_0x4c411e(0x252),'gxZtv':'ranger\x20feature\x20list','RIpYY':_0x4c411e(0x377),'GJjhS':_0x4c411e(0x27d),'PfNXy':'get-feedback\x20[id]','LmaXh':_0x4c411e(0x35f),'nNTYI':_0x4c411e(0x35b),'oSxKn':function(_0x490c3d,_0x163707,_0x290818){return _0x490c3d(_0x163707,_0x290818);},'EnkfS':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','uBIvA':_0x4c411e(0x356),'gksjX':_0x4c411e(0x2c8),'nXxTg':_0x4c411e(0x334),'QAMWu':'session-id','aluvH':function(_0x110003,_0x4db575,_0xaeffa5){return _0x110003(_0x4db575,_0xaeffa5);},'xafZH':function(_0x13f9a3,_0x1e2451){return _0x13f9a3||_0x1e2451;},'SbjDa':_0x4c411e(0x32e),'YfjwL':_0x4c411e(0x2b9),'RySMA':'List\x20all\x20feature\x20reviews','ETHKP':'show\x20[id]','TGpEo':_0x4c411e(0x298),'eefMc':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','zrrJQ':_0x4c411e(0x258),'DSVob':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','kSOLW':_0x4c411e(0x20a),'MnsYa':'setup-ci\x20<token>','uNpKn':'clean','wUbKe':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','TJODw':_0x4c411e(0x317),'OayJg':'Print\x20the\x20current\x20CLI\x20access\x20token','Ybgas':_0x4c411e(0x375),'JsPKH':_0x4c411e(0x2e9),'RpcpL':_0x4c411e(0x255),'umpac':'config','LAQZr':_0x4c411e(0x226),'SaHKB':function(_0x5a6655,_0x1ae075){return _0x5a6655+_0x1ae075;},'BuAjC':_0x4c411e(0x38a),'woAby':_0x4c411e(0x305),'HdLMM':'help'};return _0x1c7a14[_0x4c411e(0x2ce)](_0x2d484f,_0x3c3137??process['argv']['slice'](0x2))['scriptName'](_0x4c411e(0x37c))[_0x4c411e(0x322)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x1c7a14['SbjDa'],_0x1c7a14[_0x4c411e(0x278)],_0x3ebd4b=>{const _0x352dbb=_0x4c411e;return _0x3ebd4b[_0x352dbb(0x32c)](_0x1c7a14[_0x352dbb(0x337)],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':_0x1c7a14['VupBC'],'alias':'d','description':_0x1c7a14[_0x352dbb(0x35c)]})['option'](_0x352dbb(0x26d),{'type':_0x1c7a14[_0x352dbb(0x2f8)],'alias':'c','description':_0x1c7a14['dUeno']})['option'](_0x1c7a14['fWNuW'],{'type':_0x352dbb(0x232),'hidden':!![]});},async _0x3db333=>{const _0x379674=_0x4c411e;if(!_0x3db333[_0x379674(0x1f5)]){console[_0x379674(0x200)](_0x1c7a14['VODPa'](_0x1c7a14['GcQHr'],'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed(_0x1c7a14[_0x379674(0x37f)],_0x379674(0x267),_0x379674(0x30e));const _0x540703=_0x3db333[_0x379674(0x26d)]||_0x3db333[_0x379674(0x35e)];await _0x1c7a14['RxfCi'](withTelemetry,_0x1c7a14['PvoPw'],()=>featureCreate(_0x3db333[_0x379674(0x1f5)],{'description':_0x3db333['description'],'scenarios':_0x540703}));})['command']('list',_0x1c7a14['RySMA'],_0xb6d860=>{const _0x2ef1e5=_0x4c411e;return _0xb6d860[_0x2ef1e5(0x244)](_0x2ef1e5(0x2d0),{'type':_0x1c7a14[_0x2ef1e5(0x2a9)],'description':_0x2ef1e5(0x2be)})[_0x2ef1e5(0x244)]('limit',{'type':_0x1c7a14['LFNiV'],'alias':'l','description':_0x1c7a14['DriHp'],'default':0xa})[_0x2ef1e5(0x244)](_0x1c7a14['ExVWe'],{'type':_0x2ef1e5(0x399),'alias':'o','description':_0x1c7a14[_0x2ef1e5(0x345)],'default':0x0})[_0x2ef1e5(0x244)]('include-deleted',{'type':_0x1c7a14[_0x2ef1e5(0x2a9)],'alias':'d','description':_0x2ef1e5(0x2cb),'default':![]});},async _0x4799a1=>{const _0x34713d=_0x4c411e;await _0x1c7a14['RxfCi'](withTelemetry,_0x1c7a14['wRkim'],()=>featureList({'currentBranch':_0x4799a1[_0x34713d(0x2d0)],'limit':_0x4799a1[_0x34713d(0x252)],'offset':_0x4799a1['offset'],'includeDeleted':_0x4799a1['include-deleted']}));})[_0x4c411e(0x23a)](_0x1c7a14['ETHKP'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1392cf=>{const _0x4a7694=_0x4c411e;return _0x1392cf[_0x4a7694(0x32c)]('id',{'type':_0x4a7694(0x2d4),'description':_0x1c7a14[_0x4a7694(0x25b)]});},async _0x429290=>{await withTelemetry('show',()=>featureShow(_0x429290['id']));})[_0x4c411e(0x23a)](_0x4c411e(0x2b0),_0x1c7a14['TGpEo'],_0x9308ed=>{const _0x5d4d91=_0x4c411e;return _0x9308ed[_0x5d4d91(0x32c)]('id',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x5d4d91(0x1ef)]});},async _0x47269d=>{const _0x4f7969=_0x4c411e;await withTelemetry(_0x1c7a14[_0x4f7969(0x259)],()=>featureResume(_0x47269d['id']));})[_0x4c411e(0x23a)]('add-scenario\x20<description>',_0x4c411e(0x2b7),_0x4b1e01=>{const _0x4cfc69=_0x4c411e;return _0x4b1e01['positional']('description',{'type':_0x1c7a14[_0x4cfc69(0x30d)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x4cfc69(0x268)});},async _0x521412=>{const _0x115939=_0x4c411e;await withTelemetry(_0x1c7a14['aNIgx'],()=>featureAddScenario(_0x521412[_0x115939(0x2d9)],_0x521412['id']));})['command']('edit-scenario\x20<description>',_0x1c7a14['eefMc'],_0x45b915=>{const _0x3ff1df=_0x4c411e;return _0x45b915['positional']('description',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x3ff1df(0x2e3)],'demandOption':!![]})['option']('scenario',{'type':_0x3ff1df(0x399),'description':_0x3ff1df(0x2db),'demandOption':!![]})[_0x3ff1df(0x244)]('id',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x3ff1df(0x384)]});},async _0x280f88=>{const _0x4231d9=_0x4c411e;await withTelemetry(_0x4231d9(0x239),()=>featureEditScenario(_0x280f88['description'],{'id':_0x280f88['id'],'scenario':_0x280f88['scenario']}));})[_0x4c411e(0x23a)](_0x1c7a14['zrrJQ'],_0x4c411e(0x1ff),_0x456f1a=>{const _0x4952d8=_0x4c411e;return _0x456f1a['positional']('id',{'type':_0x4952d8(0x2d4),'description':'Feature\x20review\x20ID'})[_0x4952d8(0x244)](_0x1c7a14['FBhWH'],{'type':_0x1c7a14[_0x4952d8(0x2f8)],'description':_0x4952d8(0x20f)})[_0x4952d8(0x244)]('json',{'type':'boolean','description':_0x4952d8(0x340),'default':![]});},async _0x13548f=>{const _0x1538d7=_0x4c411e,_0x36da89=_0x13548f['exclude-scenario'],_0x3bc68e=_0x36da89?_0x36da89['map'](_0x570534=>Number(_0x570534)):undefined;await withTelemetry(_0x1538d7(0x2fa),()=>featureReportPrDescription(_0x13548f['id'],{'excludeScenarios':_0x3bc68e,'json':_0x13548f['json']}));})[_0x4c411e(0x23a)](_0x4c411e(0x37d),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x47aa58=>{return _0x47aa58['positional']('id',{'type':_0x1c7a14['VupBC'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4cd210=>{await withTelemetry('get-review',()=>featureGetReview(_0x4cd210['id']));})['command'](_0x1c7a14['LmaXh'],_0x1c7a14['DSVob'],_0x567064=>{const _0x39b97b=_0x4c411e;return _0x567064['positional']('id',{'type':_0x1c7a14[_0x39b97b(0x30d)],'description':_0x39b97b(0x2ef)});},async _0x2b4d02=>{const _0xa96d3d=_0x4c411e;await withTelemetry(_0x1c7a14[_0xa96d3d(0x20d)],()=>featureDelete(_0x2b4d02['id']));})[_0x4c411e(0x23a)](_0x4c411e(0x26a),_0x4c411e(0x2fb),_0x2f61cf=>{const _0x331bd7=_0x4c411e;return _0x2f61cf[_0x331bd7(0x32c)]('id',{'type':_0x1c7a14[_0x331bd7(0x30d)],'description':_0x331bd7(0x36a),'demandOption':!![]});},async _0x47aa2b=>{await withTelemetry('restore',()=>featureRestore(_0x47aa2b['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x1c7a14['kSOLW'],_0x127644=>{const _0x26651a=_0x4c411e,_0x290b82={'ijuFC':function(_0x4e5697,_0x1533dc,_0x5bab0c){return _0x1c7a14['hjjsk'](_0x4e5697,_0x1533dc,_0x5bab0c);},'iJCbk':'mcp-bootstrap','ZHagt':function(_0x88651d,_0x5e24d3,_0x4638a6){return _0x1c7a14['HRhjh'](_0x88651d,_0x5e24d3,_0x4638a6);},'HwSID':_0x26651a(0x222),'OCmoc':function(_0x21d8fb,_0x40bed5,_0x51e8c4){return _0x1c7a14['oTjbz'](_0x21d8fb,_0x40bed5,_0x51e8c4);},'udNHl':_0x26651a(0x34c),'VqinH':_0x26651a(0x21b),'wDMxr':_0x1c7a14['EezEv'],'AxXpF':'mcp','gpsNn':_0x26651a(0x2cd),'ZRvlE':function(_0x1dbae2,_0x18d3c1){return _0x1dbae2(_0x18d3c1);},'HCBwu':'setup:login','ITAeg':'ranger','uvhCA':function(_0x18f8fe){return _0x18f8fe();},'GBvED':_0x1c7a14[_0x26651a(0x2b5)],'FgicZ':function(_0x4c0cd9,_0x25cda6){const _0x392b86=_0x26651a;return _0x1c7a14[_0x392b86(0x359)](_0x4c0cd9,_0x25cda6);},'dwhaf':function(_0x3a7a3e,_0x26a42b){const _0x3b61b2=_0x26651a;return _0x1c7a14[_0x3b61b2(0x343)](_0x3a7a3e,_0x26a42b);},'IYdVS':function(_0x4d50bf,_0x578fc8){return _0x1c7a14['RKzmw'](_0x4d50bf,_0x578fc8);},'ZUqAm':_0x1c7a14['SMCpc'],'YOnXP':function(_0x3c96b0,_0xa80926){return _0x3c96b0+_0xa80926;}};return _0x127644['usage'](_0x26651a(0x396))['positional']('tokenOrSubcommand',{'type':_0x1c7a14['VupBC'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0x26651a(0x23a)](_0x26651a(0x250),_0x1c7a14[_0x26651a(0x2d1)],_0x4c7386=>{const _0x47ede9=_0x26651a;return _0x4c7386['option']('token',{'type':'string','description':'Ranger\x20API\x20token'})['option'](_0x1c7a14['RtfQf'],{'type':_0x1c7a14[_0x47ede9(0x2a9)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1c7a14['PUaei'],{'type':'boolean','description':_0x1c7a14[_0x47ede9(0x31b)],'default':![]})['option'](_0x47ede9(0x2dd),{'type':_0x47ede9(0x2cd),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x47ede9(0x244)](_0x47ede9(0x318),{'type':_0x1c7a14[_0x47ede9(0x30d)],'choices':[_0x1c7a14[_0x47ede9(0x2d3)]],'hidden':!![],'description':_0x1c7a14[_0x47ede9(0x1f6)]})['option'](_0x1c7a14[_0x47ede9(0x323)],{'type':_0x1c7a14[_0x47ede9(0x30d)],'description':_0x1c7a14['uZcrw']})['option'](_0x1c7a14[_0x47ede9(0x325)],{'type':_0x1c7a14[_0x47ede9(0x2a9)],'description':_0x1c7a14['hZRdL'],'default':![]})['option']('opencode',{'type':_0x1c7a14['wOgzE'],'description':_0x47ede9(0x22b),'default':![]})['option'](_0x1c7a14['wmoyn'],{'type':_0x47ede9(0x2cd),'description':_0x1c7a14[_0x47ede9(0x374)],'default':![]})[_0x47ede9(0x244)](_0x1c7a14['KwhHS'],{'type':_0x1c7a14['wOgzE'],'description':_0x47ede9(0x22e),'default':![]})['option'](_0x1c7a14['fIDSI'],{'type':'boolean','description':_0x47ede9(0x2e5),'default':![]});},async _0x51ef89=>{const _0x11cd84=_0x26651a;(_0x51ef89['mcp-bootstrap']||_0x51ef89[_0x11cd84(0x280)])&&await _0x290b82[_0x11cd84(0x217)](withTelemetry,_0x290b82[_0x11cd84(0x249)],()=>mcpBootstrap()),await _0x290b82[_0x11cd84(0x386)](withTelemetry,_0x290b82[_0x11cd84(0x2ec)],_0x2017c7=>start(_0x51ef89[_0x11cd84(0x21b)],{'skipChromium':_0x51ef89[_0x11cd84(0x28c)],'skipAuth':_0x51ef89[_0x11cd84(0x251)],'withDeps':_0x51ef89[_0x11cd84(0x2dd)],'scope':_0x51ef89[_0x11cd84(0x318)],'url':_0x51ef89[_0x11cd84(0x205)],'force':_0x51ef89['force'],'opencode':_0x51ef89[_0x11cd84(0x212)],'allowInsecureLocalhost':_0x51ef89[_0x11cd84(0x2e0)]},_0x2017c7));})['command'](_0x26651a(0x221),_0x26651a(0x29e),_0x244639=>{const _0x1fba43=_0x26651a;return _0x244639['option'](_0x1fba43(0x2dd),{'type':'boolean','description':_0x1c7a14[_0x1fba43(0x220)],'default':![]});},async _0x151421=>{const _0x1a3227=_0x26651a;await _0x290b82[_0x1a3227(0x2e7)](withTelemetry,_0x290b82['udNHl'],()=>ensureChromium(_0x151421[_0x1a3227(0x2dd)]));})['command']('login',_0x26651a(0x341),_0x2c8367=>{const _0xaba187=_0x26651a;return _0x2c8367['option'](_0x290b82['VqinH'],{'type':'string','description':_0x290b82[_0xaba187(0x36b)]})['option'](_0x290b82['AxXpF'],{'type':_0x290b82['gpsNn'],'description':_0xaba187(0x2f7),'default':![]});},async _0x503de6=>{const _0xe2cc77={'dpUfx':function(_0x5bd223){return _0x5bd223();},'NiXtG':function(_0x12083c,_0x3e8514){return _0x290b82['ZRvlE'](_0x12083c,_0x3e8514);},'FFrpC':function(_0x44a052,_0x1f7dcd){return _0x44a052(_0x1f7dcd);}};await withTelemetry(_0x290b82['HCBwu'],async()=>{const _0x1ff3b1=_0x331d;if(_0x503de6['mcp']){await _0xe2cc77[_0x1ff3b1(0x271)](mcpBootstrap);const _0x5d33d9=await _0xe2cc77[_0x1ff3b1(0x271)](refreshCliToken);if(!_0x5d33d9)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x38f3cc=await _0xe2cc77['NiXtG'](getCurrentUser,_0x5d33d9);if(!_0x38f3cc[_0x1ff3b1(0x29d)])throw new Error(_0x1ff3b1(0x28d)+_0x38f3cc[_0x1ff3b1(0x200)]);console['log'](_0x1ff3b1(0x282)+_0x38f3cc['user'][_0x1ff3b1(0x38c)]);return;}await _0xe2cc77['FFrpC'](authenticate,_0x503de6['token']);});})[_0x26651a(0x23a)]('skills',_0x1c7a14[_0x26651a(0x2c4)],_0x5c62f2=>{const _0x4b0a69=_0x26651a;return _0x5c62f2[_0x4b0a69(0x244)]('scope',{'type':'string','choices':[_0x4b0a69(0x247),'project'],'description':_0x4b0a69(0x2cc)})['option'](_0x1c7a14['rUVXU'],{'type':_0x1c7a14[_0x4b0a69(0x2a9)],'description':_0x1c7a14[_0x4b0a69(0x31f)],'default':![]});},async _0x29da8c=>{await withTelemetry('setup:skills',async()=>{const _0x1faf96=_0x331d,_0xaa0e87=_0x29da8c[_0x1faf96(0x318)];if(_0x29da8c['opencode']){const _0x45b94b=await ensureOpencodePluginConfig(_0xaa0e87);_0x45b94b&&await installSkill(_0x290b82[_0x1faf96(0x390)],{'level':_0x45b94b['scope'],'cliVersion':_0x290b82['uvhCA'](getCurrentVersion),'platform':_0x290b82[_0x1faf96(0x2dc)]});}else await _0x290b82[_0x1faf96(0x30b)](ensureClaudePlugin,_0xaa0e87),await _0x290b82['dwhaf'](ensureClaudeSkills,_0xaa0e87);});})[_0x26651a(0x23a)](_0x1c7a14[_0x26651a(0x277)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x4c2821=>{const _0x689125=_0x26651a;return _0x4c2821[_0x689125(0x244)](_0x1c7a14['EXbvj'],{'type':_0x1c7a14['VupBC'],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x689125(0x244)](_0x1c7a14[_0x689125(0x323)],{'type':_0x689125(0x2d4),'description':_0x1c7a14['MZWqN']})[_0x689125(0x244)](_0x1c7a14[_0x689125(0x312)],{'type':_0x1c7a14['wOgzE'],'description':_0x689125(0x2de),'default':![]})[_0x689125(0x244)](_0x1c7a14[_0x689125(0x325)],{'type':'boolean','description':_0x1c7a14['hZRdL'],'default':![]})['option'](_0x1c7a14['wmoyn'],{'type':_0x689125(0x2cd),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2db621=>{const _0x2608fb=_0x26651a,_0x5471a6=_0x2db621['scope'];_0x5471a6!==undefined&&_0x290b82['IYdVS'](_0x5471a6,_0x290b82[_0x2608fb(0x320)])&&(console[_0x2608fb(0x200)](_0x290b82['YOnXP']('ranger\x20setup\x20profiles\x20--scope='+_0x5471a6+'\x20is\x20no\x20longer\x20supported.\x20'+_0x2608fb(0x2f6),_0x2608fb(0x225))),process[_0x2608fb(0x2bc)](0x1)),await withTelemetry('setup:profiles',_0x75aff6=>ensureLocalEnv({'url':_0x2db621['url'],'force':_0x2db621[_0x2608fb(0x266)],'allowInsecureLocalhost':_0x2db621['allow-insecure-localhost'],'scope':_0x2608fb(0x247)},_0x75aff6));})[_0x26651a(0x244)](_0x1c7a14[_0x26651a(0x299)],{'type':_0x1c7a14['wOgzE'],'description':_0x26651a(0x392),'default':![]})['option']('scope',{'type':_0x1c7a14['VupBC'],'choices':[_0x1c7a14[_0x26651a(0x2d3)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x26651a(0x205),{'type':_0x1c7a14[_0x26651a(0x30d)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x26651a(0x244)](_0x1c7a14['eFfvr'],{'type':_0x1c7a14[_0x26651a(0x2a9)],'description':_0x1c7a14['hZRdL'],'default':![]})['option']('opencode',{'type':_0x1c7a14[_0x26651a(0x2a9)],'description':_0x1c7a14['rWAUn'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x1c7a14['wOgzE'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x26651a(0x265),{'type':_0x26651a(0x2cd),'description':_0x1c7a14['mMwKG'],'default':![]})[_0x26651a(0x244)](_0x1c7a14['PUaei'],{'type':'boolean','description':_0x1c7a14['fZrkr'],'default':![]})['option'](_0x1c7a14['mRwyW'],{'type':_0x1c7a14['wOgzE'],'description':_0x26651a(0x1fb),'default':![]})['option'](_0x1c7a14[_0x26651a(0x1f1)],{'type':_0x26651a(0x2d4),'hidden':!![],'description':'API\x20token'});},async _0x54d1c6=>{const _0x2e5d63=_0x4c411e,_0x569f87=_0x54d1c6[_0x2e5d63(0x2fd)],_0xf2b09a=_0x54d1c6[_0x2e5d63(0x21b)]??_0x569f87;_0x54d1c6[_0x1c7a14['KwhHS']]&&await withTelemetry(_0x1c7a14['KwhHS'],()=>mcpBootstrap()),await _0x1c7a14['iFwTC'](withTelemetry,_0x1c7a14['ZzOAX'],_0x1c82aa=>start(_0xf2b09a,{'skipChromium':_0x54d1c6[_0x2e5d63(0x28c)],'skipAuth':_0x54d1c6['skip-auth'],'withDeps':_0x54d1c6[_0x2e5d63(0x2dd)],'scope':_0x54d1c6['scope'],'url':_0x54d1c6['url'],'force':_0x54d1c6[_0x2e5d63(0x266)],'opencode':_0x54d1c6['opencode'],'allowInsecureLocalhost':_0x54d1c6['allow-insecure-localhost']},_0x1c82aa));})['command'](_0x1c7a14[_0x4c411e(0x29c)],'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0xb718ca=>{const _0x213316=_0x4c411e;return _0xb718ca[_0x213316(0x32c)](_0x1c7a14['tLARE'],{'type':'string','description':_0x1c7a14[_0x213316(0x24c)],'demandOption':!![]})['option'](_0x213316(0x393),{'type':_0x213316(0x2d4),'description':_0x213316(0x2a4)})[_0x213316(0x244)]('base-url',{'type':'string','description':_0x213316(0x1f4)})['option'](_0x1c7a14[_0x213316(0x299)],{'type':_0x1c7a14['wOgzE'],'description':_0x1c7a14['LFNRh'],'default':![]});},async _0x24ac49=>{const _0x1e7e7a=_0x4c411e;await _0x1c7a14['hjjsk'](withTelemetry,'setup-ci',_0x25fd6e=>setupCi(_0x24ac49['token'],{'profile':_0x24ac49['profile'],'baseUrl':_0x24ac49[_0x1e7e7a(0x2bf)],'skipChromium':_0x24ac49[_0x1e7e7a(0x28c)]},_0x25fd6e));})['command']('login',_0x4c411e(0x342),()=>{},async()=>{await _0x1c7a14['oTjbz'](withTelemetry,'login',()=>login());})['command'](_0x4c411e(0x21c),'Install\x20Ranger\x20skills',_0x3685d9=>{const _0x1d6f86=_0x4c411e;return _0x3685d9[_0x1d6f86(0x244)](_0x1c7a14['rUVXU'],{'type':_0x1c7a14['wOgzE'],'description':_0x1c7a14[_0x1d6f86(0x2f9)],'default':![]})['option'](_0x1c7a14[_0x1d6f86(0x36e)],{'type':_0x1c7a14[_0x1d6f86(0x30d)],'choices':[_0x1c7a14['SMCpc'],_0x1c7a14['VAHBH']],'description':'Install\x20scope\x20for\x20skills'});},async _0x11f989=>{const _0x50fc38=_0x4c411e,_0x2481ef=_0x1c7a14['Yzcdu'](Boolean,_0x11f989['opencode']);await _0x1c7a14[_0x50fc38(0x213)](withTelemetry,_0x1c7a14['SnoZh'],()=>skillup({'autoInstall':_0x11f989['scope'],'platform':_0x2481ef?'opencode':_0x50fc38(0x362)}));})['command'](_0x1c7a14[_0x4c411e(0x206)],'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']([_0x1c7a14[_0x4c411e(0x2b2)],_0x4c411e(0x32a)],'Manage\x20profiles',_0x5f09c1=>{const _0x9b42f2=_0x4c411e,_0x28bf95={'zVWLv':'profile-name','ALTQw':_0x9b42f2(0x2d4),'yRlBt':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','DMLzh':_0x1c7a14[_0x9b42f2(0x2b4)],'rcWWP':_0x9b42f2(0x251),'YlOle':_0x9b42f2(0x2cd),'JYZrW':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','DxlFJ':'url','vQPKk':_0x1c7a14[_0x9b42f2(0x32d)],'NVDRq':_0x1c7a14[_0x9b42f2(0x325)],'mrKjt':_0x9b42f2(0x2b6),'dQGOD':_0x9b42f2(0x33a),'TMAVw':_0x9b42f2(0x2e0),'xcpTm':_0x9b42f2(0x366),'GxtRL':'setup-header','ERKss':_0x1c7a14['FiQkP'],'wpYqX':_0x1c7a14[_0x9b42f2(0x36e)],'cTllK':'project','aaWvi':_0x1c7a14[_0x9b42f2(0x328)],'ISbPo':_0x1c7a14[_0x9b42f2(0x1f2)],'DvgtJ':function(_0x487d3a,_0x2efcf3,_0x1f2ba7,_0x565cda){return _0x1c7a14['zVpCD'](_0x487d3a,_0x2efcf3,_0x1f2ba7,_0x565cda);},'lDKfs':_0x1c7a14[_0x9b42f2(0x380)],'YxEMY':_0x1c7a14['juiON'],'KlmAk':_0x1c7a14[_0x9b42f2(0x307)],'xkolv':'save-creds','UqwsK':_0x1c7a14['ymaeh'],'lcAOK':'profile\x20migrate','NiSVY':_0x1c7a14[_0x9b42f2(0x2b2)],'ecEgj':function(_0x1f49cf,_0xd3680e,_0x40215c){const _0x104e30=_0x9b42f2;return _0x1c7a14[_0x104e30(0x254)](_0x1f49cf,_0xd3680e,_0x40215c);},'pYMNO':'profile\x20config\x20set','xekWP':_0x9b42f2(0x23e)};return _0x5f09c1[_0x9b42f2(0x322)](PROFILE_HELP)[_0x9b42f2(0x23a)]('add\x20<profile-name>',_0x1c7a14[_0x9b42f2(0x2b8)],_0x3df2d9=>{const _0x333bc4=_0x9b42f2;return _0x3df2d9[_0x333bc4(0x32c)](_0x28bf95['zVWLv'],{'type':_0x28bf95[_0x333bc4(0x25c)],'description':_0x28bf95['yRlBt'],'demandOption':!![]})[_0x333bc4(0x244)]('ci',{'type':_0x333bc4(0x2cd),'description':_0x28bf95['DMLzh'],'default':![]})['option'](_0x28bf95['rcWWP'],{'type':_0x28bf95['YlOle'],'description':_0x28bf95[_0x333bc4(0x228)],'default':![]})[_0x333bc4(0x244)](_0x28bf95['DxlFJ'],{'type':_0x28bf95[_0x333bc4(0x25c)],'description':_0x28bf95[_0x333bc4(0x26e)]})[_0x333bc4(0x244)](_0x28bf95['NVDRq'],{'type':_0x333bc4(0x2cd),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x333bc4(0x244)](_0x28bf95[_0x333bc4(0x319)],{'type':_0x28bf95['ALTQw'],'description':_0x28bf95[_0x333bc4(0x2ca)]})[_0x333bc4(0x244)](_0x28bf95['TMAVw'],{'type':_0x28bf95['YlOle'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':_0x28bf95['YlOle'],'description':_0x28bf95['xcpTm'],'default':![]})[_0x333bc4(0x244)](_0x28bf95[_0x333bc4(0x33b)],{'type':'string','array':!![],'description':_0x28bf95['ERKss']})['option'](_0x28bf95[_0x333bc4(0x1f9)],{'type':'string','choices':[_0x333bc4(0x247),_0x28bf95['cTllK']],'description':_0x28bf95[_0x333bc4(0x36c)]})['option'](_0x28bf95['ISbPo'],{'type':_0x28bf95['YlOle'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4c9898=>{const _0x42a3d6=_0x9b42f2;await _0x28bf95[_0x42a3d6(0x326)](withTelemetry,'profile\x20add',_0xfb568f=>addEnv(_0x4c9898[_0x42a3d6(0x24b)],{'ci':_0x4c9898['ci'],'skipAuth':_0x4c9898[_0x42a3d6(0x251)],'url':_0x4c9898['url'],'force':_0x4c9898['force'],'cdpEndpoint':_0x4c9898[_0x42a3d6(0x2b6)],'allowInsecureLocalhost':_0x4c9898[_0x42a3d6(0x2e0)],'safeMode':_0x4c9898[_0x42a3d6(0x22f)],'setupHeader':_0x4c9898['setup-header'],'scope':_0x4c9898[_0x42a3d6(0x318)],'yes':_0x4c9898['yes']},_0xfb568f),{'isElectron':Boolean(_0x4c9898[_0x42a3d6(0x2b6)])});})[_0x9b42f2(0x23a)](_0x1c7a14['zXiMd'],_0x1c7a14['PNxhJ'],_0x12c577=>{const _0x2a108f=_0x9b42f2;return _0x12c577[_0x2a108f(0x32c)]('profile-name',{'type':'string','description':_0x1c7a14[_0x2a108f(0x2a3)],'demandOption':!![]});},async _0x23f828=>{const _0x543262=_0x9b42f2;await withTelemetry(_0x1c7a14[_0x543262(0x376)],()=>useEnv(_0x23f828['profile-name']));})['command']('encrypt-auth\x20<profile>',_0x1c7a14[_0x9b42f2(0x303)],_0x1dfb3b=>{const _0x251b7c=_0x9b42f2;return _0x1dfb3b[_0x251b7c(0x32c)]('profile',{'type':_0x28bf95[_0x251b7c(0x25c)],'description':_0x28bf95['lDKfs'],'demandOption':!![]});},async _0x266a18=>{await _0x1c7a14['rRfef'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x266a18['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x9b42f2(0x23a)](_0x1c7a14[_0x9b42f2(0x34e)],_0x1c7a14[_0x9b42f2(0x2ed)],_0x1f5d1a=>{const _0x1cb418=_0x9b42f2;return _0x1f5d1a[_0x1cb418(0x32c)](_0x1c7a14['BuSYR'],{'type':_0x1cb418(0x2d4),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x1cb418(0x244)](_0x1c7a14['wmoyn'],{'type':_0x1c7a14['wOgzE'],'description':_0x1cb418(0x331)});},async _0x572d54=>{const _0x1f2d26=_0x9b42f2;await withTelemetry(_0x1c7a14[_0x1f2d26(0x304)],_0x4980f=>updateEnv(_0x572d54[_0x1f2d26(0x24b)],_0x4980f,{'allowInsecureLocalhost':_0x572d54['allow-insecure-localhost']}));})['command']('login\x20<name>',![],_0x2631f0=>{const _0x26a0a2=_0x9b42f2;return _0x2631f0[_0x26a0a2(0x32c)](_0x1c7a14['kDXEP'],{'type':_0x1c7a14['VupBC'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x4532b5=>{const _0x58458=_0x9b42f2,_0x5139cd={'YgvNC':function(_0x2db697,_0x477105){return _0x2db697||_0x477105;},'cOZav':_0x1c7a14['qvAdG'],'NbvSu':function(_0x23f4ea,_0xdc6e13){return _0x23f4ea===_0xdc6e13;},'uADPX':_0x1c7a14[_0x58458(0x227)]};await _0x1c7a14[_0x58458(0x291)](withTelemetry,_0x58458(0x27c),async()=>{const _0x8065c3=_0x58458,_0x151683=process[_0x8065c3(0x276)]['RANGER_TEST_USERNAME'],_0x8167d6=process['env']['RANGER_TEST_PASSWORD'];_0x5139cd[_0x8065c3(0x36f)](!_0x151683,!_0x8167d6)&&(console['error'](_0x5139cd[_0x8065c3(0x348)]),process[_0x8065c3(0x2bc)](0x1));const _0x2c01cf=_0x4532b5[_0x8065c3(0x1f5)],_0x460487=await serverSideLogin(_0x2c01cf,{'force':!![]});_0x5139cd[_0x8065c3(0x2f3)](_0x460487[_0x8065c3(0x28f)],_0x8065c3(0x315))&&(console[_0x8065c3(0x200)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x460487[_0x8065c3(0x28f)]===_0x5139cd['uADPX']&&(console[_0x8065c3(0x200)]('Login\x20failed:\x20'+(_0x460487['error']??_0x8065c3(0x241))),_0x460487[_0x8065c3(0x302)]&&console['error'](_0x460487['test_output']),process[_0x8065c3(0x2bc)](0x1)),console[_0x8065c3(0x2a8)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x2c01cf+'\x27.\x20Session\x20saved.');});})['command'](_0x9b42f2(0x2b1),_0x1c7a14[_0x9b42f2(0x37a)],_0x5f2ba6=>{const _0x1730be=_0x9b42f2;return _0x5f2ba6[_0x1730be(0x32c)](_0x1730be(0x24b),{'type':_0x28bf95[_0x1730be(0x25c)],'description':_0x1730be(0x360)})['option'](_0x1730be(0x250),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x1730be(0x244)]('dry-run',{'type':_0x28bf95['YlOle'],'description':_0x28bf95[_0x1730be(0x2c9)],'default':![]})[_0x1730be(0x244)](_0x1730be(0x257),{'type':_0x1730be(0x2cd),'alias':'y','description':_0x28bf95['KlmAk'],'default':![]})[_0x1730be(0x244)](_0x28bf95['xkolv'],{'type':_0x1730be(0x2cd),'description':_0x28bf95['UqwsK'],'default':![]});},async _0x147ac7=>{const _0x34b304=_0x9b42f2;await withTelemetry(_0x28bf95['lcAOK'],_0x46ca00=>migrateProfile({'profileName':_0x147ac7[_0x34b304(0x24b)],'all':_0x147ac7[_0x34b304(0x250)],'dryRun':_0x147ac7[_0x34b304(0x321)],'yes':_0x147ac7['yes'],'saveCreds':_0x147ac7[_0x34b304(0x269)]},_0x46ca00));})['command']('config',_0x9b42f2(0x32b),_0x4b1fcc=>{const _0x551e81=_0x9b42f2,_0x4d8e6a={'aLoxY':_0x1c7a14[_0x551e81(0x30d)],'JOhFy':'Config\x20key','Gizoa':function(_0x4d1dbf,_0x1334a7,_0x1aca09){return _0x4d1dbf(_0x1334a7,_0x1aca09);},'BErkp':function(_0x18b22c,_0x3549f0,_0x3b71df){return _0x18b22c(_0x3549f0,_0x3b71df);},'cYzak':_0x551e81(0x246),'yjMdk':_0x1c7a14['nOode'],'iMTtg':_0x1c7a14['RHyVf']};return _0x4b1fcc['usage'](PROFILE_CONFIG_HELP)[_0x551e81(0x23a)](_0x1c7a14['CocAx'],'Set\x20a\x20config\x20value',_0x4edff7=>{const _0xfcf8fb=_0x551e81;return _0x4edff7[_0xfcf8fb(0x32c)](_0x28bf95[_0xfcf8fb(0x23d)],{'type':_0x28bf95[_0xfcf8fb(0x25c)],'description':_0x28bf95['lDKfs'],'demandOption':!![]})[_0xfcf8fb(0x32c)]('key',{'type':_0x28bf95['ALTQw'],'description':_0xfcf8fb(0x38e),'demandOption':!![]})[_0xfcf8fb(0x32c)]('value',{'type':_0xfcf8fb(0x2d4),'description':'Config\x20value','demandOption':!![]});},async _0x299a98=>{const _0x4a52f5=_0x551e81;await _0x28bf95[_0x4a52f5(0x30f)](withTelemetry,_0x28bf95[_0x4a52f5(0x2e4)],()=>configSet(_0x299a98['profile'],_0x299a98[_0x4a52f5(0x2c6)],_0x299a98[_0x4a52f5(0x310)]));})['command'](_0x1c7a14[_0x551e81(0x234)],_0x1c7a14[_0x551e81(0x261)],_0x45d0e5=>{const _0x4b18b2=_0x551e81;return _0x45d0e5['positional']('profile',{'type':_0x4d8e6a[_0x4b18b2(0x2ac)],'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x4d8e6a['aLoxY'],'description':_0x4d8e6a[_0x4b18b2(0x294)],'demandOption':!![]});},async _0x3e65b6=>{const _0x4744d7=_0x551e81;await _0x4d8e6a[_0x4744d7(0x22d)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x3e65b6['profile'],_0x3e65b6['key']));})['command'](_0x551e81(0x347),_0x1c7a14['tlhjZ'],_0x17e737=>{const _0x52e083=_0x551e81;return _0x17e737[_0x52e083(0x32c)](_0x28bf95[_0x52e083(0x23d)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x12eb9f=>{const _0x5a9323=_0x551e81;await _0x4d8e6a['BErkp'](withTelemetry,_0x5a9323(0x300),()=>configList(_0x12eb9f[_0x5a9323(0x393)]));})['command']('unset\x20<profile>\x20<key>',_0x1c7a14[_0x551e81(0x219)],_0x51c004=>{const _0x222316=_0x551e81;return _0x51c004[_0x222316(0x32c)](_0x28bf95[_0x222316(0x23d)],{'type':'string','description':_0x222316(0x372),'demandOption':!![]})[_0x222316(0x32c)](_0x222316(0x2c6),{'type':_0x28bf95[_0x222316(0x25c)],'description':_0x28bf95[_0x222316(0x27b)],'demandOption':!![]});},async _0x1fd440=>{const _0x5c8365=_0x551e81;await _0x4d8e6a['Gizoa'](withTelemetry,_0x4d8e6a[_0x5c8365(0x357)],()=>configUnset(_0x1fd440['profile'],_0x1fd440[_0x5c8365(0x2c6)]));})['command'](_0x1c7a14['AMbju'],_0x1c7a14[_0x551e81(0x2a1)],_0x4b3833=>{const _0x187355=_0x551e81;return _0x4b3833[_0x187355(0x32c)](_0x4d8e6a[_0x187355(0x378)],{'type':_0x4d8e6a['aLoxY'],'description':_0x4d8e6a['iMTtg'],'demandOption':!![]});},async _0x10502f=>{const _0x42ff81=_0x551e81;await withTelemetry(_0x42ff81(0x349),()=>configReset(_0x10502f[_0x42ff81(0x393)]));})[_0x551e81(0x293)](0x1,_0x1c7a14[_0x551e81(0x2bd)]);})['demandCommand'](0x1,_0x1c7a14['CUYnt']);})['command'](_0x4c411e(0x28f),_0x1c7a14['wUbKe'],()=>{},async()=>{await withTelemetry(_0x1c7a14['lvpgq'],()=>status());})['command'](_0x1c7a14[_0x4c411e(0x2a7)],_0x1c7a14['TJODw'],()=>{},async()=>{const _0x282ace=_0x4c411e;await withTelemetry(_0x1c7a14[_0x282ace(0x2a7)],()=>update());})[_0x4c411e(0x23a)](_0x4c411e(0x2cf),_0x1c7a14['OayJg'],()=>{},async()=>{const _0x461f68=_0x4c411e,_0x2ee247={'bemKn':function(_0x544dec){return _0x544dec();},'SwxDV':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0x1c7a14[_0x461f68(0x213)](withTelemetry,_0x1c7a14[_0x461f68(0x216)],async()=>{const _0xcf23e=_0x461f68,_0x515e49=await _0x2ee247[_0xcf23e(0x214)](getToken);if(!_0x515e49)throw new Error(_0x2ee247[_0xcf23e(0x223)]);console['log'](_0x515e49);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5aef3b=>{const _0x240e7d=_0x4c411e;return _0x5aef3b['option'](_0x240e7d(0x226),{'type':_0x1c7a14[_0x240e7d(0x30d)],'description':'Optional\x20feature\x20ID'})[_0x240e7d(0x244)](_0x1c7a14[_0x240e7d(0x2b2)],{'type':_0x240e7d(0x2d4),'description':_0x1c7a14['pDzAQ']})[_0x240e7d(0x244)](_0x240e7d(0x308),{'type':'string','description':_0x1c7a14[_0x240e7d(0x2bb)]})[_0x240e7d(0x244)](_0x1c7a14['rODhj'],{'type':_0x240e7d(0x399),'description':'Scenario\x20index\x20(1-based)'})[_0x240e7d(0x244)]('start-path',{'type':_0x1c7a14['VupBC'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x1c7a14[_0x240e7d(0x26c)],{'type':'string','description':_0x1c7a14['gISxv']})['option']('model',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x240e7d(0x34f)]})[_0x240e7d(0x244)]('headed',{'type':'boolean','description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x1c7a14[_0x240e7d(0x367)],{'type':_0x1c7a14[_0x240e7d(0x30d)],'hidden':!![],'choices':[_0x240e7d(0x296),_0x1c7a14['mDSIN'],_0x1c7a14[_0x240e7d(0x233)],_0x1c7a14['gOtke'],'incomplete']})['option']('debug-address-comments',{'type':_0x240e7d(0x2cd),'hidden':!![]})[_0x240e7d(0x244)]('env',{'type':_0x1c7a14[_0x240e7d(0x30d)],'hidden':!![]})['option'](_0x1c7a14['wjZiz'],{'type':'string','hidden':!![]})[_0x240e7d(0x244)](_0x240e7d(0x286),{'type':_0x1c7a14['LFNiV'],'hidden':!![]});},async _0x23f187=>{await _0x1c7a14['kCGCW'](runGoCommand,_0x23f187);})[_0x4c411e(0x23a)](_0x1c7a14['Ybgas'],![],_0x2ed5ed=>{const _0x26c0f9=_0x4c411e;return _0x2ed5ed['command']('encrypt\x20<profile>',![],_0x5a9d11=>{const _0xc8989b=_0x331d;return _0x5a9d11['positional']('profile',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0xc8989b(0x380)],'demandOption':!![]});},async _0x550653=>{_0x1c7a14['RZlMJ'](warnRenamed,'ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x1c7a14['UjIlZ'](authEncrypt,_0x550653['profile']);})[_0x26c0f9(0x293)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x4c411e(0x23a)](_0x1c7a14[_0x4c411e(0x394)],![],_0x4aaab2=>{const _0x455714=_0x4c411e;return _0x4aaab2[_0x455714(0x32c)](_0x1c7a14['tLARE'],{'type':_0x1c7a14['VupBC'],'description':_0x455714(0x21e)})[_0x455714(0x244)](_0x1c7a14['RtfQf'],{'type':_0x455714(0x2cd),'description':_0x1c7a14[_0x455714(0x288)],'default':![]})[_0x455714(0x244)]('scope',{'type':'string','choices':[_0x1c7a14['SMCpc']],'hidden':!![],'description':_0x1c7a14[_0x455714(0x1f6)]})['option'](_0x1c7a14[_0x455714(0x323)],{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14['PKNpt']})[_0x455714(0x244)](_0x455714(0x266),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x1c7a14[_0x455714(0x312)],{'type':'boolean','description':_0x455714(0x272),'default':![]})[_0x455714(0x244)](_0x1c7a14['mRwyW'],{'type':_0x455714(0x2cd),'description':_0x455714(0x2ee),'default':![]});},async _0x164e29=>{const _0x101aa0=_0x4c411e;_0x1c7a14[_0x101aa0(0x24e)](warnRenamed,_0x1c7a14[_0x101aa0(0x371)],_0x1c7a14['ZaTdi']),await withTelemetry(_0x1c7a14[_0x101aa0(0x2c3)],_0x4fb36f=>start(_0x164e29[_0x101aa0(0x21b)],{'skipChromium':_0x164e29['skip-chromium'],'skipAuth':_0x164e29[_0x101aa0(0x251)],'withDeps':_0x164e29['with-deps'],'scope':_0x164e29[_0x101aa0(0x318)],'url':_0x164e29['url'],'force':_0x164e29['force']},_0x4fb36f));})[_0x4c411e(0x23a)]('verify-feature',![],_0x25d11f=>{const _0x4fa1e3=_0x4c411e;return _0x25d11f['option'](_0x1c7a14[_0x4fa1e3(0x2f4)],{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14['SEuND']})['option'](_0x1c7a14[_0x4fa1e3(0x25e)],{'type':_0x1c7a14[_0x4fa1e3(0x30d)],'description':_0x1c7a14[_0x4fa1e3(0x25d)]})['option'](_0x1c7a14['uZwNE'],{'type':_0x1c7a14['LFNiV'],'description':'Scenario\x20index\x20(1-based)'})[_0x4fa1e3(0x244)]('profile',{'type':'string','hidden':!![]})['option'](_0x1c7a14[_0x4fa1e3(0x38f)],{'type':_0x4fa1e3(0x2d4),'hidden':!![]})['option']('scenario',{'type':_0x1c7a14['LFNiV'],'hidden':!![]})['option'](_0x1c7a14[_0x4fa1e3(0x2af)],{'type':_0x4fa1e3(0x2d4),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x4fa1e3(0x244)]('base-url',{'type':_0x4fa1e3(0x2d4),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x4fa1e3(0x2ea),{'type':_0x4fa1e3(0x2d4),'hidden':!![]})['option'](_0x1c7a14[_0x4fa1e3(0x383)],{'type':_0x1c7a14['wOgzE'],'hidden':!![],'default':![]})['option'](_0x1c7a14['TxHdj'],{'type':'string','hidden':!![],'choices':['verified',_0x1c7a14['mDSIN'],_0x1c7a14[_0x4fa1e3(0x233)],'failed','incomplete']});},async _0x27ccae=>{await runGoCommand(_0x27ccae,!![]);})['command'](_0x1c7a14['RpcpL'],![],_0x5d17e8=>{const _0x39fcc5=_0x4c411e;return _0x5d17e8[_0x39fcc5(0x32c)](_0x39fcc5(0x316),{'type':_0x39fcc5(0x2d4),'description':_0x1c7a14[_0x39fcc5(0x231)],'demandOption':!![]})[_0x39fcc5(0x244)]('ci',{'type':_0x1c7a14[_0x39fcc5(0x2a9)],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x39fcc5(0x244)]('skip-auth',{'type':_0x1c7a14['wOgzE'],'description':_0x1c7a14[_0x39fcc5(0x287)],'default':![]});},async _0x15838f=>{const _0x301f82=_0x4c411e;_0x1c7a14['RxfCi'](warnRenamed,_0x1c7a14['OAsLz'],'ranger\x20profile\x20add'),await withTelemetry(_0x301f82(0x248),_0x372e39=>addEnv(_0x15838f[_0x301f82(0x316)],{'ci':_0x15838f['ci'],'skipAuth':_0x15838f['skip-auth']},_0x372e39));})['command']('use\x20<env-name>',![],_0x5dfbe7=>{const _0x40cf53=_0x4c411e;return _0x5dfbe7[_0x40cf53(0x32c)](_0x1c7a14['KRYsf'],{'type':'string','description':_0x1c7a14['GIbNs'],'demandOption':!![]});},async _0x584058=>{const _0x56b66c=_0x4c411e;warnRenamed(_0x56b66c(0x1f8),_0x1c7a14[_0x56b66c(0x363)]),await _0x1c7a14['LeqBQ'](withTelemetry,'use',()=>useEnv(_0x584058[_0x56b66c(0x316)]));})['command'](_0x1c7a14[_0x4c411e(0x34d)],![],_0x26cfdd=>{const _0x5d07b2=_0x4c411e,_0x50254b={'kCXXy':_0x1c7a14['arRbN'],'FQoeq':'key','paeCx':function(_0x15202d,_0x20596f,_0x17513f){const _0x58d3ad=_0x331d;return _0x1c7a14[_0x58d3ad(0x291)](_0x15202d,_0x20596f,_0x17513f);},'ishis':_0x1c7a14['pTyHi'],'ceuPq':_0x1c7a14['VupBC']};return _0x26cfdd[_0x5d07b2(0x23a)](_0x1c7a14['pbqED'],![],_0x4a5250=>{const _0x3a6f61=_0x5d07b2;return _0x4a5250[_0x3a6f61(0x32c)](_0x3a6f61(0x276),{'type':_0x3a6f61(0x2d4),'description':_0x3a6f61(0x224),'demandOption':!![]})['positional']('key',{'type':_0x1c7a14[_0x3a6f61(0x30d)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x1c7a14['ZSDSK'],{'type':_0x1c7a14[_0x3a6f61(0x30d)],'description':_0x3a6f61(0x385),'demandOption':!![]});},async _0x32be03=>{const _0x1620e5=_0x5d07b2;_0x1c7a14['RZlMJ'](warnRenamed,_0x1c7a14[_0x1620e5(0x38b)],_0x1620e5(0x270)),await withTelemetry(_0x1c7a14[_0x1620e5(0x29a)],()=>configSet(_0x32be03[_0x1620e5(0x276)],_0x32be03['key'],_0x32be03[_0x1620e5(0x310)]));})['command']('get\x20<env>\x20<key>',![],_0x539dcb=>{const _0xf5e31d=_0x5d07b2;return _0x539dcb['positional'](_0x50254b['kCXXy'],{'type':_0xf5e31d(0x2d4),'description':_0xf5e31d(0x224),'demandOption':!![]})[_0xf5e31d(0x32c)](_0x50254b['FQoeq'],{'type':'string','description':_0xf5e31d(0x33d),'demandOption':!![]});},async _0x23d8f6=>{const _0x459407=_0x5d07b2;_0x50254b['paeCx'](warnRenamed,_0x50254b[_0x459407(0x2ad)],'ranger\x20profile\x20config\x20get'),await _0x50254b[_0x459407(0x1fc)](withTelemetry,'config\x20get',()=>configGet(_0x23d8f6[_0x459407(0x276)],_0x23d8f6['key']));})[_0x5d07b2(0x23a)](_0x5d07b2(0x373),![],_0x38cd95=>{const _0x255aef=_0x5d07b2;return _0x38cd95[_0x255aef(0x32c)](_0x1c7a14[_0x255aef(0x2f4)],{'type':_0x255aef(0x2d4),'description':_0x1c7a14['xpTsZ'],'demandOption':!![]});},async _0x3f108e=>{const _0x293b63=_0x5d07b2;_0x1c7a14[_0x293b63(0x291)](warnRenamed,_0x1c7a14['qsPwP'],_0x1c7a14['rfRHB']),await withTelemetry(_0x1c7a14['EvAnh'],()=>configList(_0x3f108e[_0x293b63(0x276)]));})[_0x5d07b2(0x23a)](_0x5d07b2(0x2ab),![],_0x15ed19=>{const _0x291c9b=_0x5d07b2;return _0x15ed19['positional']('env',{'type':_0x50254b[_0x291c9b(0x2f5)],'description':_0x291c9b(0x224),'demandOption':!![]})['positional'](_0x50254b[_0x291c9b(0x306)],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5d3562=>{const _0x5965c7=_0x5d07b2;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x5d3562['env'],_0x5d3562[_0x5965c7(0x2c6)]));})[_0x5d07b2(0x293)](0x1,_0x1c7a14[_0x5d07b2(0x283)]);})['command'](_0x1c7a14['arRbN'],![],_0x234b4e=>{const _0x4a2c8a=_0x4c411e,_0x562107={'clhVf':function(_0xb98d86,_0x3556a1,_0x1c5f3f){return _0xb98d86(_0x3556a1,_0x1c5f3f);},'Enbfc':_0x1c7a14[_0x4a2c8a(0x25a)],'sAeUv':function(_0x733dc0,_0x334097,_0x56bb86){return _0x733dc0(_0x334097,_0x56bb86);}};return _0x234b4e['command']('ls',![],()=>{},async()=>{const _0x3b6335=_0x4a2c8a;warnRenamed(_0x1c7a14['ERDFL'],_0x1c7a14[_0x3b6335(0x32f)]),await withTelemetry(_0x3b6335(0x2a0),()=>envList());})['command'](_0x1c7a14[_0x4a2c8a(0x256)],![],_0x3fcb02=>{const _0x24242e=_0x4a2c8a;return _0x3fcb02[_0x24242e(0x32c)](_0x1c7a14['KRYsf'],{'type':_0x1c7a14['VupBC'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x238027=>{const _0x561e06=_0x4a2c8a;_0x562107[_0x561e06(0x33c)](warnRenamed,_0x562107[_0x561e06(0x2ae)],'ranger\x20profile\x20update'),await _0x562107[_0x561e06(0x253)](withTelemetry,'env\x20update',_0x57db1b=>updateEnv(_0x238027['env-name'],_0x57db1b));})['demandCommand'](0x1,_0x4a2c8a(0x2e8));})[_0x4c411e(0x23a)](_0x1c7a14['LAQZr'],![],_0x12a6ad=>{const _0x41f27d=_0x4c411e,_0x161943={'pmRZd':_0x41f27d(0x2d0),'MozEG':_0x1c7a14[_0x41f27d(0x31a)],'ohNhC':_0x1c7a14['MkyHz'],'dekxj':_0x1c7a14[_0x41f27d(0x344)],'zpZZp':_0x41f27d(0x25f),'rmkzL':'Number\x20of\x20feature\x20reviews\x20to\x20skip','QgIoJ':'Include\x20soft-deleted\x20feature\x20reviews','bKEZd':_0x1c7a14['gxZtv'],'UgMSm':function(_0x493f8f,_0x3f886d,_0x3f2b7a){return _0x493f8f(_0x3f886d,_0x3f2b7a);},'rjScP':_0x41f27d(0x275),'WkezE':_0x1c7a14['RIpYY'],'KbhOT':_0x41f27d(0x211),'TEDmk':'Feature\x20review\x20ID\x20to\x20restore'};return _0x12a6ad['command']('create\x20<name>',![],_0x23c3a8=>{const _0x3260a1=_0x41f27d;return _0x23c3a8['positional'](_0x1c7a14['kDXEP'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x1c7a14[_0x3260a1(0x329)],{'type':'string','alias':'d','description':'Feature\x20review\x20description'})['option'](_0x1c7a14[_0x3260a1(0x21a)],{'type':_0x1c7a14['HorIo'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x1c7a14[_0x3260a1(0x314)],{'type':'array','hidden':!![]});},async _0x479696=>{const _0x521a22=_0x41f27d;warnRenamed(_0x521a22(0x28a),_0x521a22(0x2b3)),_0x1c7a14['zVpCD'](warnFlagRenamed,_0x521a22(0x2b3),_0x1c7a14[_0x521a22(0x370)],'--scenario');const _0x2dac26=_0x479696['scenario']||_0x479696[_0x521a22(0x35e)];await withTelemetry(_0x1c7a14[_0x521a22(0x38d)],()=>featureCreate(_0x479696['name'],{'description':_0x479696[_0x521a22(0x2d9)],'scenarios':_0x2dac26}));})[_0x41f27d(0x23a)](_0x41f27d(0x2a5),![],_0x48c73f=>{const _0x2b75e1=_0x41f27d;return _0x48c73f[_0x2b75e1(0x244)](_0x161943['pmRZd'],{'type':'boolean','description':_0x161943['MozEG']})[_0x2b75e1(0x244)](_0x161943['ohNhC'],{'type':_0x161943[_0x2b75e1(0x333)],'alias':'l','description':_0x161943['zpZZp'],'default':0xa})['option'](_0x2b75e1(0x281),{'type':'number','alias':'o','description':_0x161943[_0x2b75e1(0x2e1)],'default':0x0})['option'](_0x2b75e1(0x204),{'type':'boolean','alias':'d','description':_0x161943['QgIoJ'],'default':![]});},async _0xaee28=>{const _0xe6f9d1=_0x41f27d;warnRenamed(_0x161943['bKEZd'],_0xe6f9d1(0x2e2)),await _0x161943['UgMSm'](withTelemetry,_0xe6f9d1(0x33e),()=>featureList({'currentBranch':_0xaee28[_0xe6f9d1(0x2d0)],'limit':_0xaee28['limit'],'offset':_0xaee28[_0xe6f9d1(0x281)],'includeDeleted':_0xaee28[_0xe6f9d1(0x204)]}));})[_0x41f27d(0x23a)](_0x41f27d(0x295),![],_0x339903=>{const _0x7dbe95=_0x41f27d;return _0x339903[_0x7dbe95(0x32c)]('id',{'type':'string','description':_0x7dbe95(0x2ef)});},async _0x439167=>{const _0x42b8cf=_0x41f27d;warnRenamed('ranger\x20feature\x20show',_0x42b8cf(0x2ba)),await withTelemetry(_0x1c7a14['IcOyc'],()=>featureShow(_0x439167['id']));})[_0x41f27d(0x23a)]('resume\x20[id]',![],_0x3980e2=>{const _0x57baab=_0x41f27d;return _0x3980e2[_0x57baab(0x32c)]('id',{'type':'string','description':_0x161943[_0x57baab(0x23c)]});},async _0x8842e8=>{_0x1c7a14['gtICP'](warnRenamed,_0x1c7a14['eqsFV'],_0x1c7a14['EKuTU']),await withTelemetry(_0x1c7a14['lDxPp'],()=>featureResume(_0x8842e8['id']));})['command'](_0x1c7a14[_0x41f27d(0x388)],![],_0x34475e=>{const _0x1ce531=_0x41f27d;return _0x34475e[_0x1ce531(0x32c)](_0x1c7a14['TrLNm'],{'type':_0x1ce531(0x2d4),'description':_0x1ce531(0x208),'demandOption':!![]})['option']('id',{'type':_0x1ce531(0x2d4),'description':_0x1ce531(0x268)});},async _0x4e679e=>{const _0x2e3842=_0x41f27d;_0x161943[_0x2e3842(0x34a)](warnRenamed,_0x161943['WkezE'],_0x2e3842(0x230)),await withTelemetry(_0x161943['KbhOT'],()=>featureAddScenario(_0x4e679e[_0x2e3842(0x2d9)],_0x4e679e['id']));})[_0x41f27d(0x23a)](_0x1c7a14['PfNXy'],![],_0x378480=>{const _0x35bcff=_0x41f27d;return _0x378480['positional']('id',{'type':_0x1c7a14[_0x35bcff(0x30d)],'description':_0x1c7a14['uQlEm']});},async _0x4c42df=>{const _0x38d655=_0x41f27d;warnRenamed(_0x1c7a14['nJFkf'],_0x1c7a14[_0x38d655(0x284)]),await withTelemetry(_0x38d655(0x240),()=>featureGetReview(_0x4c42df['id']));})[_0x41f27d(0x23a)](_0x1c7a14['LmaXh'],![],_0x2f32ec=>{const _0x57dfb8=_0x41f27d;return _0x2f32ec[_0x57dfb8(0x32c)]('id',{'type':_0x1c7a14[_0x57dfb8(0x30d)],'description':_0x1c7a14['nAAev']});},async _0x462178=>{const _0x492e4f=_0x41f27d;warnRenamed(_0x492e4f(0x389),_0x1c7a14[_0x492e4f(0x36d)]),await _0x1c7a14['gtICP'](withTelemetry,_0x1c7a14['ZItpK'],()=>featureDelete(_0x462178['id']));})['command']('restore\x20<id>',![],_0x496055=>{const _0x106f15=_0x41f27d;return _0x496055['positional']('id',{'type':'string','description':_0x161943[_0x106f15(0x26b)],'demandOption':!![]});},async _0x170d83=>{const _0xaf5643=_0x41f27d;warnRenamed(_0x1c7a14[_0xaf5643(0x21d)],_0xaf5643(0x22a)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x170d83['id']));})['demandCommand'](0x1,_0x41f27d(0x355));})[_0x4c411e(0x23a)](_0x4c411e(0x243),![],_0x2a73a3=>{const _0x4cf8a9=_0x4c411e,_0x1bc4cf={'RGBCd':_0x1c7a14[_0x4cf8a9(0x30d)],'fForB':_0x4cf8a9(0x35b)};return _0x2a73a3['command']('enable',_0x1c7a14[_0x4cf8a9(0x229)],_0xb22565=>{const _0x45d847=_0x4cf8a9;return _0xb22565['option'](_0x45d847(0x2c5),{'type':_0x1bc4cf[_0x45d847(0x364)],'description':_0x1bc4cf['fForB']});},async _0x50fa28=>{const _0x17eaac=_0x4cf8a9;await _0x1c7a14['rRfef'](withTelemetry,'hook:enable',()=>hook(_0x17eaac(0x327),_0x50fa28['session-id']));})[_0x4cf8a9(0x23a)](_0x1c7a14['uBIvA'],_0x1c7a14['gksjX'],_0x449661=>{const _0x104b14=_0x4cf8a9;return _0x449661[_0x104b14(0x244)]('session-id',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14['nNTYI']});},async _0x446459=>{const _0x5aa63b=_0x4cf8a9;await _0x1c7a14[_0x5aa63b(0x30c)](withTelemetry,_0x5aa63b(0x352),()=>hook('disable',_0x446459['session-id']));})['option'](_0x1c7a14['kDXEP'],{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x4cf8a9(0x2da)]})[_0x4cf8a9(0x244)](_0x1c7a14['QAMWu'],{'type':_0x4cf8a9(0x2d4),'description':_0x1c7a14['nNTYI']});},async _0x582782=>{const _0xb7bb66=_0x4c411e;_0x582782['name']&&await _0x1c7a14[_0xb7bb66(0x263)](hook,_0x582782[_0xb7bb66(0x1f5)],_0x582782[_0x1c7a14['QAMWu']]);})[_0x4c411e(0x293)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x4c411e(0x292)](async(_0x4cb0af,_0x374497,_0x2086be)=>{const _0x446d9b=_0x4c411e,_0xd70981=sanitizeArgs(process[_0x446d9b(0x24d)]['slice'](0x2)),_0x54d00e=_0x1c7a14['aluvH'](getErrorType,_0x4cb0af,_0x374497);if(_0x4cb0af&&_0x4cb0af[_0x446d9b(0x1ee)](_0x446d9b(0x365))){const _0x31800e=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x31800e),console[_0x446d9b(0x200)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x4cb0af)console['error']('\x0a'+_0x4cb0af+'\x0a');else _0x374497&&console['error'](_0x446d9b(0x324)+_0x374497[_0x446d9b(0x207)]+'\x0a');}await _0x1c7a14['UjIlZ'](logDesirePath,{'rawCommand':_0xd70981,'errorMessage':_0x4cb0af||_0x374497?.['message'],'errorType':_0x54d00e});const _0xc06002=getCurrentCollector();_0xc06002&&await _0xc06002[_0x446d9b(0x358)](_0x374497||new Error(_0x1c7a14[_0x446d9b(0x330)](_0x4cb0af,'Unknown\x20error'))),process['exit'](0x1);})['epilogue'](_0x1c7a14['SaHKB'](_0x1c7a14['BuAjC']+'\x20\x20https://docs.ranger.net\x0a',_0x1c7a14[_0x4c411e(0x354)]))['help']()[_0x4c411e(0x301)](_0x1c7a14[_0x4c411e(0x2aa)],'h');}process[_0x403ed5(0x276)]['NODE_ENV']!==_0x403ed5(0x31d)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x403ed5(0x309)]());