@ranger-testing/ranger-cli 2.5.4-alpha.ed286f1-2 → 2.5.4-alpha.f940f0d-18

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 -0
  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 -0
  43. package/build/commands/utils/cloudProfileSession.js +1 -0
  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 -0
  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 -0
  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 -0
  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 -0
  65. package/build/commands/utils/resolveProfileUrl.js +1 -0
  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 +36 -6
  80. package/build/skills/ranger/create.md +19 -0
  81. package/build/skills/ranger/verify.md +46 -7
  82. package/package.json +3 -2
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 _0x3717c0=_0x40f7;(function(_0x577e25,_0x4c8d6b){const _0x6c1444=_0x40f7,_0x3be448=_0x577e25();while(!![]){try{const _0x33293c=-parseInt(_0x6c1444(0x113))/0x1+-parseInt(_0x6c1444(0x1e5))/0x2+parseInt(_0x6c1444(0x1d7))/0x3+-parseInt(_0x6c1444(0x129))/0x4*(parseInt(_0x6c1444(0x21c))/0x5)+-parseInt(_0x6c1444(0x1ee))/0x6*(-parseInt(_0x6c1444(0xf8))/0x7)+-parseInt(_0x6c1444(0x96))/0x8+parseInt(_0x6c1444(0xa5))/0x9;if(_0x33293c===_0x4c8d6b)break;else _0x3be448['push'](_0x3be448['shift']());}catch(_0x3635cc){_0x3be448['push'](_0x3be448['shift']());}}}(_0x5567,0xa3a0f));import _0x44294f from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4cf0b1=_0x40f7,_0xef7e79={'axInh':function(_0x2dc35e,_0x465318){return _0x2dc35e(_0x465318);},'INUSY':function(_0x46a000,_0x364201){return _0x46a000(_0x364201);},'KiQZj':function(_0x3b0391,_0x16c433,_0x5d5e46){return _0x3b0391(_0x16c433,_0x5d5e46);},'UghgH':function(_0x7d9aef,_0x7f816f,_0x5df6c4){return _0x7d9aef(_0x7f816f,_0x5df6c4);},'MafKU':function(_0x4fe7d0,_0xd74e5a){return _0x4fe7d0(_0xd74e5a);}};let _0x17cfc1=process['cwd']();const _0x53542f=_0xef7e79[_0x4cf0b1(0x21a)](parse,_0x17cfc1)['root'];while(_0x17cfc1!==_0x53542f){if(_0xef7e79['INUSY'](existsSync,_0xef7e79[_0x4cf0b1(0x1ef)](join,_0x17cfc1,'.ranger'))||existsSync(_0xef7e79[_0x4cf0b1(0x19c)](join,_0x17cfc1,_0x4cf0b1(0x14e))))return _0x17cfc1;_0x17cfc1=_0xef7e79[_0x4cf0b1(0x12b)](dirname,_0x17cfc1);}return process['cwd']();}_0x44294f['config']({'path':join(findProjectRoot(),'.env')});import _0x1794a8 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';function _0x5567(){const _0x454f1b=['--checklist','Profile\x20name','Skip\x20Chromium\x20browser\x20installation','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','headed','AxEAJ','Name\x20of\x20the\x20profile','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','add-scenario\x20<description>','resume','ranger\x20delete','Remove\x20a\x20config\x20value','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Install\x20skills\x20for\x20OpenCode','NbrxT','skills','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','142492TZuxNg','description','MafKU','map','Ranger\x20API\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','HStiA','QaIOG','gdFaV','eVMTd','slice','model','feature','pJGKN','lgvjT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','allow-insecure-localhost','ZyAbH','Scenario\x20number\x20to\x20edit\x20(1-based)','boolean','tXZQA','--notes','setup:all','get-feedback\x20[id]','XRplH','OfllJ','task','string','List\x20all\x20profiles','VNDpe','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','profiles','Summary:\x20','mWDyy','enable','hpyHq','.\x20[','.env','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','feature\x20add-checklist-item','Add\x20profile\x20configuration','BJxtA','PiacQ','\x20VERIFIED','set\x20<profile>\x20<key>\x20<value>','use\x20<profile-name>','disable','elvBS','message','PDDeX','Include\x20soft-deleted\x20feature\x20reviews','SeCHm','lWyoH','OQsTy','issues','Number\x20of\x20feature\x20reviews\x20to\x20skip','Set\x20up\x20a\x20local\x20browser\x20profile','gaOmW','evaluation','blocked','mcp','EjLUX','length','PBmRW','ranger\x20add-scenario','JfxoG','mSBOI','GSZHR','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','vTAzB','array','ojotB','BlpjA','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','config\x20set','hAwcF','ridHW','ranger\x20feature\x20list','jJuxc','lkKwe','RKckk','Base\x20URL\x20of\x20the\x20running\x20app','name','BJpLZ','NtYzo','setup:skills','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','profile','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','token','OvjQG','GJCsW','Manage\x20profile\x20configuration','mKLCr','ranger\x20feature\x20get-feedback','KNLtx','dqXCn','feature\x20resume','RBmqd','bADXY','bWoPE','skip-auth','StlbU','start-path','YLPPN','print-access-token','Documentation:\x0a','profile\x20add','svGNz','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','hook','VhVZA','djTOc','UghgH','scope','XOyrs','limit','Environment\x20name','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','bNFwY','rWsAl','JkPKc','add-scenario','lMZZp','Install\x20OS-level\x20dependencies\x20for\x20Chromium','ranger','cqTRm','skillup','config\x20get','delete','current-branch','cWXuP','env','apoyV','--item','verify-feature','HDPyz','hKBgz','IbmFX','ranger\x20profile\x20update','nSNrA','ruCbM','env-name','profile\x20config\x20get','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','--scenario','delete\x20[id]','ranger\x20profile\x20ls','RfmRY','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ZeYZd','XQNld','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','kbdhn','lkAyF','FNupd','usage','Set\x20a\x20config\x20value','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','exit','GPQpJ','AIvNV','verified','QfIHU','exitCode','AWMSK','Config\x20value','\x20BLOCKED','ranger\x20add\x20env','tIjjA','yJwps','evaluationReason','942051mtobku','session-id','\x0aError:\x20','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','duqJW','setup:profiles','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ypwyt','ONmBC','wZtfV','debug-outcome','HMNPQ','KBUfq','ZXwvS','163968OfMsDV','ranger\x20env\x20update','gducD','item','\x0aUnknown\x20command:\x20','setup:deps','IzupD','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger\x20profile\x20config\x20set','8142yPCfZm','KiQZj','env\x20update','PXrrK','ranger\x20profile\x20config\x20unset','with-deps','DbPLe','GKIDD','ranger\x20use','CESxA','nrupE','IFNvd','include-deleted','UxWQT','feature\x20create','nxzFh','njeWm','WChjP','test','ZKMFG','get-review','update','TozLU','create\x20<name>','cdp-endpoint','list','status','\x20PARTIAL','Config\x20key','wYAHy','hIvUp','HukBe','uustz','eaUMm','qgLZA','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Jobvu','WXHtQ','LZnxS','log','Feature\x20review\x20ID\x20to\x20restore','WryVO','profile\x20update','Hhqdo','axInh','Feature\x20review\x20description','185fvOllk','skip-chromium','hook:disable','\x20FAILED','profile-name','user','repeat','ffzlJ','HzsDC','key','Qyeqi','opencode','You\x20must\x20specify\x20a\x20profile\x20subcommand','Feature\x20review\x20ID','feature\x20list','version','6963856jSmHLN','show\x20[id]','YCYun','tokenOrSubcommand','checklist','nliJr','Evaluation:\x20','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','epilogue','KXtbq','ConQm','PDJhk','yTFVz','✓\x20Authenticated\x20to\x20','dWWQr','27328194hFDLdW','pozej','RmESg','RbKMY','mcp-bootstrap','demandCommand','aHnWW','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','ohUGJ','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ZAMTx','error','sHLdl','argv','feature\x20show','--env','wfrQA','CNvnS','ranger\x20create','VPDpc','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20feature\x20resume','PLmjI','project','GcBOY','includes','ranger\x20config\x20get','env\x20list','encrypt-auth\x20<profile>','ranger\x20profile\x20encrypt-auth','number','forEach','ranger\x20feature\x20show','Manage\x20profiles','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Authenticate\x20via\x20MCP\x20proxy','help','offset','gKAVE','option','IkpbV','Byvuo','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','itwSr','command','qOEVK','gTRCX','Alias\x20for\x20--mcp-bootstrap','OZrUl','Dzpfj','cLcEf','value','scenario','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','failed','VoOxr','use','Optional\x20feature\x20ID','WzUUB','sdpyF','ranger\x20feature\x20add-checklist-item','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','blmHd','ranger\x20config\x20set','DbDjC','OaqHg','Name\x20of\x20the\x20environment\x20to\x20update','partial','RAAjG','setup-header','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','NATxn','MSLMq','setup-ci','Config\x20key\x20to\x20remove','API\x20token','Install\x20scope\x20for\x20plugin\x20and\x20skills','url','Authenticate\x20with\x20Ranger','OUUBG','xSFJQ','positional','Scenario\x20description','1659JQmdjv','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','PnLwZ','start\x20[token]','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','clean','Subcommand\x20or\x20API\x20token\x20(rngr_...)','--profile','trackCommandError','koIGJ','config\x20list','some','ranger\x20config\x20unset','\x20\x20https://docs.ranger.net\x0a','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','NqWcz','ebqIM','eegxF','incomplete','sPZGE','aPACk','Ranger\x20API\x20token\x20(rngr_...)','ranger\x20env\x20ls','icokf','force','all','json','731352owOrzp','KayVA','base-url','debug-address-comments'];_0x5567=function(){return _0x454f1b;};return _0x5567();}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';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';function _0x40f7(_0x16b584,_0x38c861){_0x16b584=_0x16b584-0x8e;const _0x55675b=_0x5567();let _0x40f78b=_0x55675b[_0x16b584];return _0x40f78b;}import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x4c4b02=>{const _0x2d6813=_0x40f7,_0x207a46={'gdFaV':function(_0x40c6ba){return _0x40c6ba();}},_0x40da51=_0x207a46[_0x2d6813(0x131)](getCurrentCollector);_0x40da51&&await _0x40da51['trackCommandError'](_0x4c4b02),process[_0x2d6813(0x1cf)]=0x1;});const rawArgs=process[_0x3717c0(0xb2)][_0x3717c0(0x133)](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\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)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<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(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-bypass-turnstile\x20\x27a1b2c3d4...\x27';function warnRenamed(_0xd78d96,_0x288c38){console['error']('\x0a'+_0xd78d96+'\x20is\x20now\x20'+_0x288c38+'\x0a');}function argUsed(_0x1407c9){const _0x40e257=_0x3717c0;return rawArgs[_0x40e257(0x103)](_0x284c23=>_0x284c23===_0x1407c9||_0x284c23['startsWith'](_0x1407c9+'='));}function warnFlagRenamed(_0x32f001,_0x5dfc40,_0x5342d1){const _0x1df270=_0x3717c0,_0x196e46={'ffzlJ':function(_0x18f0f7,_0x5e5ea9,_0x2f693e){return _0x18f0f7(_0x5e5ea9,_0x2f693e);}};argUsed(_0x5dfc40)&&_0x196e46[_0x1df270(0x223)](warnRenamed,_0x32f001+'\x20'+_0x5dfc40,_0x32f001+'\x20'+_0x5342d1);}async function runGoCommand(_0x3457c7,_0x258968=![]){const _0x216557=_0x3717c0,_0x238ba0={'MnExr':function(_0x11863b,_0x335f80){return _0x11863b+_0x335f80;},'xXlkd':function(_0x1a71b,_0x56a52f,_0x110546){return _0x1a71b(_0x56a52f,_0x110546);},'Hhqdo':_0x216557(0xff),'VNDpe':function(_0x21ed5f,_0x437828,_0x6f4f4b,_0x4a588b){return _0x21ed5f(_0x437828,_0x6f4f4b,_0x4a588b);},'dqXCn':'ranger\x20go','rjgMi':function(_0x1df7e5,_0x1fe51b,_0x213162,_0x142261){return _0x1df7e5(_0x1fe51b,_0x213162,_0x142261);},'YLPPN':_0x216557(0x1b1),'vMVFk':function(_0xefc66d){return _0xefc66d();},'ConQm':_0x216557(0x192),'wYAHy':function(_0x5731af,_0x504186){return _0x5731af===_0x504186;},'KmRkD':_0x216557(0x1cd),'KayVA':'\x20INCOMPLETE','cBfjE':function(_0x240a9c,_0x9cfee6){return _0x240a9c===_0x9cfee6;},'GOKVv':_0x216557(0xe8),'WLSbE':function(_0x4f55c9,_0x38b842){return _0x4f55c9===_0x38b842;},'OfllJ':_0x216557(0x165),'koIGJ':_0x216557(0x21f)};_0x258968&&_0x238ba0['xXlkd'](warnRenamed,'ranger\x20verify-feature','ranger\x20go');warnFlagRenamed('ranger\x20go',_0x216557(0xb4),_0x238ba0[_0x216557(0x219)]),_0x238ba0[_0x216557(0x146)](warnFlagRenamed,_0x238ba0[_0x216557(0x18b)],'--task',_0x216557(0x13e)),_0x238ba0['rjgMi'](warnFlagRenamed,_0x238ba0[_0x216557(0x18b)],_0x238ba0[_0x216557(0x193)],'--scenario');const _0x3540fc=await loadRangerConfig(),_0x263c2b=_0x238ba0['vMVFk'](isByokEnabled),_0x3ebdf0=_0x3457c7['model'],_0x247de3=_0x3540fc['model'],_0x16c788=await verifyFeature({'featureId':_0x3457c7['feature'],'profile':_0x3457c7[_0x216557(0x182)]??_0x3457c7[_0x216557(0x1af)],'notes':_0x3457c7['notes']??_0x3457c7['task'],'scenario':_0x3457c7[_0x216557(0xd9)]??_0x3457c7['item'],'startPath':_0x3457c7[_0x238ba0[_0x216557(0xa0)]],'debugOutcome':_0x3457c7[_0x216557(0x1e1)],'debugAddressComments':_0x3457c7[_0x216557(0x116)],'headed':_0x3457c7[_0x216557(0x11b)],'byokEnabled':_0x263c2b,'flagVerifyModel':_0x3ebdf0,'configVerifyModel':_0x247de3});console['log'](_0x238ba0['MnExr']('\x0a','='['repeat'](0x3c))),console[_0x216557(0x215)](_0x238ba0[_0x216557(0x20b)](_0x16c788[_0x216557(0x164)],_0x238ba0['KmRkD'])?_0x216557(0x155):_0x16c788['evaluation']===_0x216557(0x10a)?_0x238ba0[_0x216557(0x114)]:_0x238ba0['cBfjE'](_0x16c788[_0x216557(0x164)],_0x238ba0['GOKVv'])?_0x216557(0x209):_0x238ba0['WLSbE'](_0x16c788['evaluation'],_0x238ba0[_0x216557(0x142)])?_0x216557(0x1d2):_0x238ba0[_0x216557(0x101)]),console[_0x216557(0x215)]('='[_0x216557(0x222)](0x3c)),console['log'](_0x216557(0x149)+_0x16c788['summary']),console['log'](_0x216557(0x9c)+_0x16c788[_0x216557(0x164)]),console[_0x216557(0x215)]('Reason:\x20'+_0x16c788[_0x216557(0x1d6)]),_0x16c788['issues']?.[_0x216557(0x168)]&&(console[_0x216557(0x215)]('\x0aIssues:'),_0x16c788[_0x216557(0x160)][_0x216557(0xc4)]((_0x155d29,_0x26828)=>{const _0x3bffe3=_0x216557;console[_0x3bffe3(0x215)]('\x0a'+_0x238ba0['MnExr'](_0x26828,0x1)+_0x3bffe3(0x14d)+_0x155d29['severity']+']\x20'+_0x155d29['description']);})),process[_0x216557(0x1ca)](_0x16c788[_0x216557(0x164)]==='verified'?0x0:0x1);}export function buildParser(_0x4199ba){const _0x24fdc6=_0x3717c0,_0x28348c={'PBmRW':'Feature\x20review\x20name','GKIDD':'string','hQwHn':_0x24fdc6(0x21b),'xVBCk':_0x24fdc6(0x170),'nSNrA':'checklist','RbKMY':'ranger\x20create','LVHnL':function(_0x327ae0,_0x321852,_0x55ce84){return _0x327ae0(_0x321852,_0x55ce84);},'aPACk':'create','NATxn':'current-branch','djTOc':'boolean','PLGkV':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ojotB':_0x24fdc6(0xc7),'aAtSA':_0x24fdc6(0xca),'HzsDC':_0x24fdc6(0xc3),'RAAjG':'Number\x20of\x20feature\x20reviews\x20to\x20skip','YCYun':_0x24fdc6(0x1fa),'ZeYZd':_0x24fdc6(0x15c),'nliJr':_0x24fdc6(0x207),'eVMTd':function(_0xd39fe5,_0x3f36fa,_0x4f2671){return _0xd39fe5(_0x3f36fa,_0x4f2671);},'AnEeV':'show','StlbU':_0x24fdc6(0x121),'QaIOG':'description','JDfpI':'New\x20scenario\x20description','OZrUl':_0x24fdc6(0x13b),'VcqGU':'Feature\x20review\x20ID','ZyAbH':'exclude-scenario','SgbCd':_0x24fdc6(0x124),'pYZDf':_0x24fdc6(0x112),'hEDNc':'report','eaeEg':_0x24fdc6(0x202),'eBMtu':function(_0x232fa8,_0x2809e4,_0x579682){return _0x232fa8(_0x2809e4,_0x579682);},'GSZHR':_0x24fdc6(0x1ac),'ruCbM':_0x24fdc6(0x216),'pJGKN':_0x24fdc6(0x184),'zcMqi':_0x24fdc6(0x21d),'sdpyF':'Skip\x20authentication','PLmjI':_0x24fdc6(0x1f3),'mSBOI':'scope','WXHtQ':'user','SXXmX':_0x24fdc6(0xbc),'PDJhk':_0x24fdc6(0xf1),'LKOCu':_0x24fdc6(0x110),'elvBS':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ZAMTx':'opencode','nrupE':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Dzpfj':'allow-insecure-localhost','gducD':_0x24fdc6(0xa9),'Byvuo':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','JfxoG':_0x24fdc6(0x166),'ZjBTy':_0x24fdc6(0xd4),'hAwcF':_0x24fdc6(0x1a8),'duqJW':function(_0x5d494b,_0x499a94,_0x542210){return _0x5d494b(_0x499a94,_0x542210);},'TozLU':_0x24fdc6(0x9d),'fwtuC':'setup:login','njeWm':'skip-auth','bdFaM':_0x24fdc6(0x99),'JNIbw':'Run\x20full\x20interactive\x20setup','yJwps':'deps','ebqIM':'Install\x20Chromium\x20browser\x20binary','ZzFxi':_0x24fdc6(0x1a1),'BlpjA':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','FCJba':function(_0x5f3ff4,_0xff5485,_0x4f5ffa){return _0x5f3ff4(_0xff5485,_0x4f5ffa);},'nspgN':'start','xSFJQ':_0x24fdc6(0xee),'qMTzp':_0x24fdc6(0x125),'JkPKc':function(_0x4a9645,_0x2d8de1){return _0x4a9645(_0x2d8de1);},'aKmat':function(_0x53fd8e,_0xa4ea5a,_0x1c005b){return _0x53fd8e(_0xa4ea5a,_0x1c005b);},'kYMwK':_0x24fdc6(0x1aa),'pVPIb':_0x24fdc6(0x206),'nOpxA':'profile\x20use','HXYBq':'Name\x20of\x20the\x20profile\x20to\x20update','LvheV':_0x24fdc6(0x218),'NqWcz':_0x24fdc6(0x1ec),'ridHW':'safe-mode','ypcWu':_0x24fdc6(0xea),'wfrQA':'profile\x20ls','AWMSK':_0x24fdc6(0x182),'AcpWK':'Profile\x20name','VoOxr':_0x24fdc6(0xd8),'OaqHg':'Get\x20a\x20config\x20value','idqSB':'add\x20<profile-name>','iDsjZ':_0x24fdc6(0x152),'XOyrs':_0x24fdc6(0xc1),'IkpbV':_0x24fdc6(0x145),'PnLwZ':'update\x20<profile-name>','GJCsW':'Update\x20authentication\x20for\x20an\x20existing\x20profile','dWWQr':'config','erKjO':_0x24fdc6(0x92),'SMrUr':_0x24fdc6(0x208),'pozej':_0x24fdc6(0x203),'Jobvu':function(_0x313b6d){return _0x313b6d();},'icokf':_0x24fdc6(0x194),'sHkBy':'notes','cLcEf':'scenario','LDNHL':'Scenario\x20index\x20(1-based)','oBiSi':_0x24fdc6(0x192),'CESxA':_0x24fdc6(0x16e),'uustz':'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.','OvjQG':_0x24fdc6(0x1e1),'bADXY':'debug-address-comments','cWXuP':_0x24fdc6(0x143),'BJpLZ':function(_0x1814f6,_0x104daa,_0x2c9822){return _0x1814f6(_0x104daa,_0x2c9822);},'RBmqd':'ranger\x20auth\x20encrypt','smOfd':_0x24fdc6(0xc2),'gKAVE':_0x24fdc6(0x1dd),'NtYzo':'ranger\x20setup','tXZQA':'env','oSfSK':_0x24fdc6(0x1e8),'lgvjT':'headed','GbKZz':'blocked','DWvEa':'incomplete','XRplH':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','vArmM':'add\x20env','GPQpJ':_0x24fdc6(0x1b9),'JSHuW':_0x24fdc6(0x1f6),'UQdlc':'ranger\x20profile\x20use','gaOmW':function(_0x445e67,_0x2aaef8,_0x3e8f80){return _0x445e67(_0x2aaef8,_0x3e8f80);},'AxEAJ':'key','DMZrw':_0x24fdc6(0x20a),'cEciR':_0x24fdc6(0x1d1),'mKLCr':_0x24fdc6(0x1ed),'sOcZN':_0x24fdc6(0x175),'WryVO':_0x24fdc6(0x1ab),'ypwyt':'ranger\x20profile\x20config\x20list','hIvUp':'config\x20unset','lkAyF':'unset\x20<env>\x20<key>','IFNvd':'You\x20must\x20specify\x20a\x20config\x20subcommand','nKwan':_0x24fdc6(0x1e6),'qJFlS':_0x24fdc6(0x1f0),'cNVTH':'update\x20<env-name>','OUUBG':'You\x20must\x20specify\x20an\x20env\x20subcommand','blmHd':'name','BJxtA':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','PdhLW':'ranger\x20feature\x20create','VnQNe':_0x24fdc6(0x117),'eaUMm':'limit','yTbKo':function(_0x3d1199,_0x5beda2,_0x1ba61a){return _0x3d1199(_0x5beda2,_0x1ba61a);},'rWsAl':_0x24fdc6(0xc5),'XiWvC':'ranger\x20show','eeCLK':function(_0x11bd26,_0x2e6642,_0x291c3e){return _0x11bd26(_0x2e6642,_0x291c3e);},'XjjRp':_0x24fdc6(0xb3),'HukBe':function(_0x3dc397,_0x304312,_0x2edb9d){return _0x3dc397(_0x304312,_0x2edb9d);},'zEzHD':'ranger\x20resume','WlsZI':_0x24fdc6(0xae),'CoqoW':function(_0x4fac14,_0x56e308,_0x4cb6ef){return _0x4fac14(_0x56e308,_0x4cb6ef);},'cqTRm':_0x24fdc6(0x16a),'tSEBQ':_0x24fdc6(0x151),'owItQ':'ranger\x20feature\x20delete','sPZGE':function(_0x42ee0c,_0x55d5ea,_0x39f412){return _0x42ee0c(_0x55d5ea,_0x39f412);},'zaIUe':_0x24fdc6(0x178),'DbDjC':'ranger\x20list','JScXd':_0x24fdc6(0x205),'mWDyy':'resume\x20[id]','ZXwvS':_0x24fdc6(0x140),'LZnxS':'restore\x20<id>','AmmLZ':_0x24fdc6(0xda),'bavrZ':_0x24fdc6(0x21e),'pFHRI':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zGBMF':_0x24fdc6(0x14b),'NbrxT':_0x24fdc6(0xac),'kbdhn':_0x24fdc6(0x1d8),'svGNz':'Unknown\x20command','muPPi':function(_0x5d951c,_0x5cd63a){return _0x5d951c||_0x5cd63a;},'wzCNF':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','qYKaZ':_0x24fdc6(0x97),'wBHze':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ZKMFG':_0x24fdc6(0x120),'lfRLc':'edit-scenario\x20<description>','MViYQ':_0x24fdc6(0xf9),'nxzFh':'report\x20[id]','LdlaF':_0x24fdc6(0x1bb),'VhLFQ':'get-review\x20[id]','YYuxc':_0x24fdc6(0x1bd),'oRxyw':'Restore\x20a\x20soft-deleted\x20feature\x20review','dAbjt':'Initialize\x20Ranger\x20in\x20your\x20project','ONmBC':'setup-ci\x20<token>','jJuxc':'login','WChjP':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','qOEVK':'Install\x20Ranger\x20skills','IlgPa':_0x24fdc6(0xc6),'GcBOY':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','GIqLB':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','vTAzB':'Print\x20the\x20current\x20CLI\x20access\x20token','AePxi':'Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','pwNVJ':'auth','RfmRY':_0x24fdc6(0x1b2),'qgLZA':'use\x20<env-name>','aHnWW':_0x24fdc6(0x105),'RmESg':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x1794a8(_0x4199ba??process['argv']['slice'](0x2))['scriptName'](_0x28348c['hAwcF'])[_0x24fdc6(0x1c7)](TOP_LEVEL_HELP)[_0x24fdc6(0x95)](getCurrentVersion())[_0x24fdc6(0xd1)](_0x28348c['JScXd'],_0x28348c['wzCNF'],_0x19cea5=>{const _0x53f0f3=_0x24fdc6;return _0x19cea5['positional']('name',{'type':'string','description':_0x28348c[_0x53f0f3(0x169)],'demandOption':!![]})['option'](_0x53f0f3(0x12a),{'type':_0x28348c[_0x53f0f3(0x1f5)],'alias':'d','description':_0x28348c['hQwHn']})[_0x53f0f3(0xcc)](_0x53f0f3(0xd9),{'type':_0x28348c['xVBCk'],'alias':'c','description':_0x53f0f3(0x1c9)})['option'](_0x28348c['nSNrA'],{'type':_0x53f0f3(0x170),'hidden':!![]});},async _0x2def50=>{const _0x784ac9=_0x24fdc6;warnFlagRenamed(_0x28348c[_0x784ac9(0xa8)],_0x784ac9(0x117),'--scenario');const _0x2c196b=_0x2def50[_0x784ac9(0xd9)]||_0x2def50[_0x784ac9(0x9a)];await _0x28348c['LVHnL'](withTelemetry,_0x28348c[_0x784ac9(0x10c)],()=>featureCreate(_0x2def50['name'],{'description':_0x2def50['description'],'scenarios':_0x2c196b}));})['command'](_0x24fdc6(0x207),'List\x20all\x20feature\x20reviews',_0x103394=>{const _0x3620da=_0x24fdc6;return _0x103394[_0x3620da(0xcc)](_0x28348c[_0x3620da(0xec)],{'type':_0x28348c[_0x3620da(0x19b)],'description':_0x28348c['PLGkV']})[_0x3620da(0xcc)](_0x3620da(0x19f),{'type':'number','alias':'l','description':_0x28348c[_0x3620da(0x171)],'default':0xa})['option'](_0x28348c['aAtSA'],{'type':_0x28348c[_0x3620da(0x8e)],'alias':'o','description':_0x28348c[_0x3620da(0xe9)],'default':0x0})[_0x3620da(0xcc)](_0x28348c[_0x3620da(0x98)],{'type':_0x28348c['djTOc'],'alias':'d','description':_0x28348c[_0x3620da(0x1c1)],'default':![]});},async _0x332706=>{const _0xd78cc7=_0x24fdc6;await withTelemetry(_0x28348c[_0xd78cc7(0x9b)],()=>featureList({'currentBranch':_0x332706[_0xd78cc7(0x1ad)],'limit':_0x332706[_0xd78cc7(0x19f)],'offset':_0x332706['offset'],'includeDeleted':_0x332706[_0xd78cc7(0x1fa)]}));})['command'](_0x28348c['qYKaZ'],_0x28348c['wBHze'],_0x1f288b=>{const _0xbadb4b=_0x24fdc6;return _0x1f288b[_0xbadb4b(0xf6)]('id',{'type':_0xbadb4b(0x144),'description':_0xbadb4b(0x93)});},async _0x2d6779=>{const _0x292600=_0x24fdc6;await _0x28348c[_0x292600(0x132)](withTelemetry,_0x28348c['AnEeV'],()=>featureShow(_0x2d6779['id']));})[_0x24fdc6(0xd1)]('resume\x20[id]',_0x24fdc6(0x150),_0x22cb86=>{const _0x54ec9d=_0x24fdc6;return _0x22cb86[_0x54ec9d(0xf6)]('id',{'type':_0x28348c['GKIDD'],'description':_0x54ec9d(0xcf)});},async _0x4f1ae8=>{const _0x10f8e3=_0x24fdc6;await withTelemetry(_0x28348c[_0x10f8e3(0x191)],()=>featureResume(_0x4f1ae8['id']));})['command'](_0x28348c[_0x24fdc6(0x201)],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x330108=>{const _0xd39066=_0x24fdc6;return _0x330108['positional']('description',{'type':'string','description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x28348c['GKIDD'],'description':_0xd39066(0xae)});},async _0x3bfd42=>{const _0x24b609=_0x24fdc6;await withTelemetry(_0x24b609(0x1a5),()=>featureAddScenario(_0x3bfd42[_0x24b609(0x12a)],_0x3bfd42['id']));})['command'](_0x28348c['lfRLc'],_0x28348c['MViYQ'],_0x38aa74=>{const _0xe58938=_0x24fdc6;return _0x38aa74[_0xe58938(0xf6)](_0x28348c['QaIOG'],{'type':_0xe58938(0x144),'description':_0x28348c['JDfpI'],'demandOption':!![]})['option']('scenario',{'type':_0x28348c[_0xe58938(0x8e)],'description':_0x28348c[_0xe58938(0xd5)],'demandOption':!![]})['option']('id',{'type':_0x28348c['GKIDD'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2e953f=>{const _0x13c791=_0x24fdc6;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x2e953f[_0x13c791(0x12a)],{'id':_0x2e953f['id'],'scenario':_0x2e953f['scenario']}));})[_0x24fdc6(0xd1)](_0x28348c[_0x24fdc6(0x1fd)],_0x28348c['LdlaF'],_0x10d18e=>{const _0x342d53=_0x24fdc6;return _0x10d18e['positional']('id',{'type':'string','description':_0x28348c['VcqGU']})[_0x342d53(0xcc)](_0x28348c[_0x342d53(0x13a)],{'type':'array','description':_0x28348c['SgbCd']})[_0x342d53(0xcc)](_0x28348c['pYZDf'],{'type':_0x28348c['djTOc'],'description':_0x342d53(0x1c0),'default':![]});},async _0x3676dd=>{const _0x3676ea=_0x24fdc6,_0x57e189=_0x3676dd['exclude-scenario'],_0x522c3f=_0x57e189?_0x57e189[_0x3676ea(0x12c)](_0x145a17=>Number(_0x145a17)):undefined;await withTelemetry(_0x28348c['hEDNc'],()=>featureReportPrDescription(_0x3676dd['id'],{'excludeScenarios':_0x522c3f,'json':_0x3676dd['json']}));})[_0x24fdc6(0xd1)](_0x28348c['VhLFQ'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x158a59=>{return _0x158a59['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x19c8e3=>{await withTelemetry(_0x28348c['eaeEg'],()=>featureGetReview(_0x19c8e3['id']));})[_0x24fdc6(0xd1)](_0x28348c['YYuxc'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3b42a1=>{return _0x3b42a1['positional']('id',{'type':_0x28348c['GKIDD'],'description':'Feature\x20review\x20ID'});},async _0x73d987=>{const _0x4f933b=_0x24fdc6;await _0x28348c['eBMtu'](withTelemetry,_0x28348c[_0x4f933b(0x16d)],()=>featureDelete(_0x73d987['id']));})['command']('restore\x20<id>',_0x28348c['oRxyw'],_0x51f040=>{const _0x4ca6ac=_0x24fdc6;return _0x51f040['positional']('id',{'type':_0x28348c['GKIDD'],'description':_0x28348c[_0x4ca6ac(0x1b8)],'demandOption':!![]});},async _0x8c4d20=>{await withTelemetry('restore',()=>featureRestore(_0x8c4d20['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x28348c['dAbjt'],_0x1ad880=>{const _0x2d7dfe=_0x24fdc6,_0x552081={'itwSr':_0x28348c['gducD'],'HStiA':function(_0x2b6cd8,_0x583385,_0x20a646){return _0x2b6cd8(_0x583385,_0x20a646);},'bWoPE':function(_0x35e442,_0xc2ae5b,_0x3cadf5){return _0x28348c['duqJW'](_0x35e442,_0xc2ae5b,_0x3cadf5);},'lWyoH':_0x2d7dfe(0x166),'vauft':_0x2d7dfe(0xc8),'gTRCX':_0x28348c[_0x2d7dfe(0x204)],'PDDeX':function(_0x13cd34,_0x5680d5,_0x1ab88e){return _0x13cd34(_0x5680d5,_0x1ab88e);},'fPTjo':_0x28348c['fwtuC'],'HMNPQ':_0x28348c['mSBOI'],'ohUGJ':_0x28348c['GKIDD'],'DbPLe':_0x28348c['WXHtQ'],'lkKwe':'url','SJZQn':_0x2d7dfe(0x17c),'lMZZp':_0x28348c[_0x2d7dfe(0x1fe)],'QfIHU':'boolean'};return _0x1ad880['usage'](_0x2d7dfe(0x12e))[_0x2d7dfe(0xf6)](_0x28348c['bdFaM'],{'type':_0x28348c['GKIDD'],'description':_0x2d7dfe(0xfe)})[_0x2d7dfe(0xd1)](_0x2d7dfe(0x111),_0x28348c['JNIbw'],_0xb361e=>{const _0x2bfc15=_0x2d7dfe;return _0xb361e[_0x2bfc15(0xcc)](_0x28348c[_0x2bfc15(0x136)],{'type':'string','description':'Ranger\x20API\x20token'})['option'](_0x28348c['zcMqi'],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x2bfc15(0x190),{'type':_0x28348c['djTOc'],'description':_0x28348c[_0x2bfc15(0xe0)],'default':![]})[_0x2bfc15(0xcc)](_0x28348c[_0x2bfc15(0xbb)],{'type':_0x2bfc15(0x13c),'description':_0x2bfc15(0x1a7),'default':![]})['option'](_0x28348c[_0x2bfc15(0x16c)],{'type':_0x28348c[_0x2bfc15(0x1f5)],'choices':[_0x28348c['WXHtQ'],_0x28348c['SXXmX']],'description':_0x28348c[_0x2bfc15(0xa1)]})['option'](_0x2bfc15(0xf2),{'type':_0x28348c[_0x2bfc15(0x1f5)],'description':_0x2bfc15(0xeb)})[_0x2bfc15(0xcc)](_0x28348c['LKOCu'],{'type':_0x28348c['djTOc'],'description':_0x28348c['elvBS'],'default':![]})['option'](_0x28348c[_0x2bfc15(0xaf)],{'type':_0x28348c['djTOc'],'description':_0x28348c[_0x2bfc15(0x1f8)],'default':![]})[_0x2bfc15(0xcc)](_0x28348c[_0x2bfc15(0xd6)],{'type':_0x2bfc15(0x13c),'description':_0x2bfc15(0x138),'default':![]})[_0x2bfc15(0xcc)](_0x28348c[_0x2bfc15(0x1e7)],{'type':_0x28348c['djTOc'],'description':_0x28348c[_0x2bfc15(0xce)],'default':![]})[_0x2bfc15(0xcc)](_0x28348c[_0x2bfc15(0x16b)],{'type':_0x28348c['djTOc'],'description':_0x28348c['ZjBTy'],'default':![]});},async _0x630be2=>{const _0x45fbce=_0x2d7dfe;(_0x630be2[_0x552081[_0x45fbce(0xd0)]]||_0x630be2['mcp'])&&await _0x552081[_0x45fbce(0x12f)](withTelemetry,_0x45fbce(0xa9),()=>mcpBootstrap()),await _0x552081[_0x45fbce(0x18f)](withTelemetry,_0x45fbce(0x13f),_0x444089=>start(_0x630be2['token'],{'skipChromium':_0x630be2['skip-chromium'],'skipAuth':_0x630be2[_0x45fbce(0x190)],'withDeps':_0x630be2[_0x45fbce(0x1f3)],'scope':_0x630be2[_0x45fbce(0x19d)],'url':_0x630be2['url'],'force':_0x630be2[_0x45fbce(0x110)],'opencode':_0x630be2[_0x45fbce(0x91)],'allowInsecureLocalhost':_0x630be2[_0x45fbce(0x139)]},_0x444089));})['command'](_0x28348c[_0x2d7dfe(0x1d5)],_0x28348c[_0x2d7dfe(0x108)],_0x3f93ff=>{const _0x976ce8=_0x2d7dfe;return _0x3f93ff['option']('with-deps',{'type':_0x28348c['djTOc'],'description':_0x976ce8(0x198),'default':![]});},async _0xde741e=>{const _0xcf43e5=_0x2d7dfe;await _0x552081['HStiA'](withTelemetry,_0xcf43e5(0x1ea),()=>ensureChromium(_0xde741e[_0xcf43e5(0x1f3)]));})['command']('login',_0x2d7dfe(0xf3),_0x165e71=>{const _0x423392=_0x2d7dfe;return _0x165e71[_0x423392(0xcc)](_0x423392(0x184),{'type':_0x423392(0x144),'description':_0x423392(0x10d)})['option'](_0x552081[_0x423392(0x15e)],{'type':_0x423392(0x13c),'description':_0x552081['vauft'],'default':![]});},async _0x4fcd42=>{const _0x34bd91=_0x2d7dfe,_0x20af51={'FNupd':_0x552081[_0x34bd91(0xd3)],'MSLMq':function(_0x33cd97,_0x13146d){return _0x33cd97(_0x13146d);}};await _0x552081[_0x34bd91(0x15b)](withTelemetry,_0x552081['fPTjo'],async()=>{const _0x174906=_0x34bd91;if(_0x4fcd42['mcp']){await mcpBootstrap();const _0x4e26e1=await refreshCliToken();if(!_0x4e26e1)throw new Error(_0x20af51[_0x174906(0x1c6)]);const _0x4ae3d6=await getCurrentUser(_0x4e26e1);if(!_0x4ae3d6['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4ae3d6[_0x174906(0xb0)]);console[_0x174906(0x215)](_0x174906(0xa3)+_0x4ae3d6[_0x174906(0x221)]['organizationName']);return;}await _0x20af51[_0x174906(0xed)](authenticate,_0x4fcd42['token']);});})[_0x2d7dfe(0xd1)](_0x2d7dfe(0x127),_0x2d7dfe(0x1da),_0x6e39ce=>{const _0x45325f=_0x2d7dfe;return _0x6e39ce['option'](_0x45325f(0x19d),{'type':'string','choices':[_0x45325f(0x221),'project'],'description':_0x45325f(0xf1)})[_0x45325f(0xcc)](_0x28348c[_0x45325f(0xaf)],{'type':_0x28348c['djTOc'],'description':_0x28348c[_0x45325f(0x1f8)],'default':![]});},async _0x4ee0c9=>{const _0x251483=_0x2d7dfe,_0x5b148e={'VsAZh':function(_0xdc17f6,_0x2e9812){return _0xdc17f6(_0x2e9812);},'XYGax':_0x28348c[_0x251483(0x176)],'Qyeqi':_0x251483(0x91),'HDJrz':function(_0x11b44d,_0x33b40c){return _0x11b44d(_0x33b40c);}};await withTelemetry(_0x251483(0x180),async()=>{const _0x4c9571=_0x251483,_0x487a7a=_0x4ee0c9[_0x4c9571(0x19d)];if(_0x4ee0c9['opencode']){const _0x3d98df=await _0x5b148e['VsAZh'](ensureOpencodePluginConfig,_0x487a7a);_0x3d98df&&await installSkill(_0x5b148e['XYGax'],{'level':_0x3d98df['scope'],'cliVersion':getCurrentVersion(),'platform':_0x5b148e[_0x4c9571(0x90)]});}else await _0x5b148e['VsAZh'](ensureClaudePlugin,_0x487a7a),await _0x5b148e['HDJrz'](ensureClaudeSkills,_0x487a7a);});})[_0x2d7dfe(0xd1)](_0x2d7dfe(0x148),_0x2d7dfe(0x162),_0x254258=>{const _0x2cc454=_0x2d7dfe;return _0x254258['option'](_0x552081[_0x2cc454(0x1e2)],{'type':_0x552081[_0x2cc454(0xad)],'choices':[_0x552081[_0x2cc454(0x1f4)],'project'],'description':'Where\x20to\x20store\x20the\x20profile'})['option'](_0x552081[_0x2cc454(0x17a)],{'type':_0x552081[_0x2cc454(0xad)],'description':_0x552081['SJZQn']})['option'](_0x552081[_0x2cc454(0x1a6)],{'type':_0x552081[_0x2cc454(0x1ce)],'description':'Skip\x20browser\x20authentication','default':![]})['option'](_0x2cc454(0x110),{'type':_0x552081[_0x2cc454(0x1ce)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x2cc454(0xcc)](_0x2cc454(0x139),{'type':'boolean','description':_0x2cc454(0x138),'default':![]});},async _0x5cae20=>{const _0x476a47=_0x2d7dfe;await withTelemetry(_0x476a47(0x1dc),_0x1a9c46=>ensureLocalEnv({'url':_0x5cae20['url'],'force':_0x5cae20['force'],'allowInsecureLocalhost':_0x5cae20['allow-insecure-localhost'],'scope':_0x5cae20['scope']===_0x476a47(0x221)?'user':undefined},_0x1a9c46));})[_0x2d7dfe(0xcc)]('skip-chromium',{'type':_0x28348c[_0x2d7dfe(0x19b)],'description':_0x28348c['ZzFxi'],'default':![]})['option'](_0x28348c[_0x2d7dfe(0x16c)],{'type':_0x28348c[_0x2d7dfe(0x1f5)],'choices':[_0x2d7dfe(0x221),_0x2d7dfe(0xbc)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x2d7dfe(0xf2),{'type':_0x28348c['GKIDD'],'description':_0x2d7dfe(0x128)})[_0x2d7dfe(0xcc)](_0x28348c['LKOCu'],{'type':_0x28348c['djTOc'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x28348c['ZAMTx'],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x2d7dfe(0xcc)](_0x2d7dfe(0x139),{'type':_0x28348c[_0x2d7dfe(0x19b)],'description':_0x28348c[_0x2d7dfe(0x172)],'default':![]})['option'](_0x28348c['gducD'],{'type':_0x2d7dfe(0x13c),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x2d7dfe(0xcc)](_0x28348c['njeWm'],{'type':_0x28348c[_0x2d7dfe(0x19b)],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x28348c['PLmjI'],{'type':_0x28348c['djTOc'],'description':_0x2d7dfe(0x198),'default':![]})['option'](_0x2d7dfe(0x184),{'type':_0x2d7dfe(0x144),'hidden':!![],'description':_0x2d7dfe(0xf0)});},async _0x414ca0=>{const _0x4fe71e=_0x24fdc6,_0x174df7=_0x414ca0[_0x4fe71e(0x99)],_0x5d1652=_0x414ca0['token']??_0x174df7;_0x414ca0['mcp-bootstrap']&&await _0x28348c['FCJba'](withTelemetry,_0x28348c[_0x4fe71e(0x1e7)],()=>mcpBootstrap()),await withTelemetry(_0x28348c['nspgN'],_0x2f1a18=>start(_0x5d1652,{'skipChromium':_0x414ca0['skip-chromium'],'skipAuth':_0x414ca0[_0x4fe71e(0x190)],'withDeps':_0x414ca0['with-deps'],'scope':_0x414ca0[_0x4fe71e(0x19d)],'url':_0x414ca0['url'],'force':_0x414ca0['force'],'opencode':_0x414ca0['opencode'],'allowInsecureLocalhost':_0x414ca0['allow-insecure-localhost']},_0x2f1a18));})['command'](_0x28348c[_0x24fdc6(0x1df)],'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x1eae16=>{const _0x43170a=_0x24fdc6;return _0x1eae16['positional'](_0x28348c['pJGKN'],{'type':_0x28348c[_0x43170a(0x1f5)],'description':_0x43170a(0x12d),'demandOption':!![]})['option']('profile',{'type':_0x43170a(0x144),'description':_0x43170a(0x1c3)})[_0x43170a(0xcc)](_0x43170a(0x115),{'type':_0x28348c['GKIDD'],'description':_0x43170a(0x14f)})[_0x43170a(0xcc)](_0x28348c['zcMqi'],{'type':_0x28348c['djTOc'],'description':_0x43170a(0x119),'default':![]});},async _0x5d3ad0=>{const _0x15a2a9=_0x24fdc6;await withTelemetry(_0x28348c[_0x15a2a9(0xf5)],_0x13704f=>setupCi(_0x5d3ad0[_0x15a2a9(0x184)],{'profile':_0x5d3ad0[_0x15a2a9(0x182)],'baseUrl':_0x5d3ad0[_0x15a2a9(0x115)],'skipChromium':_0x5d3ad0['skip-chromium']},_0x13704f));})['command'](_0x28348c[_0x24fdc6(0x179)],_0x28348c[_0x24fdc6(0x1ff)],()=>{},async()=>{await withTelemetry('login',()=>login());})['command'](_0x28348c['kYMwK'],_0x28348c[_0x24fdc6(0xd2)],_0x18f02d=>{return _0x18f02d['option']('opencode',{'type':'boolean','description':_0x28348c['qMTzp'],'default':![]})['option']('scope',{'type':'string','choices':['user','project'],'description':'Install\x20scope\x20for\x20skills'});},async _0x4f0a42=>{const _0xc4bb0d=_0x24fdc6,_0x171f12=_0x28348c['JkPKc'](Boolean,_0x4f0a42['opencode']);await _0x28348c['aKmat'](withTelemetry,_0x28348c['kYMwK'],()=>skillup({'autoInstall':_0x4f0a42[_0xc4bb0d(0x19d)],'platform':_0x171f12?'opencode':'claude'}));})['command'](_0x24fdc6(0xfd),_0x24fdc6(0x11f),()=>{},async()=>{const _0x1e4b7e=_0x24fdc6;await withTelemetry(_0x1e4b7e(0xfd),()=>clean());})[_0x24fdc6(0xd1)](_0x28348c[_0x24fdc6(0x1d0)],_0x28348c['IlgPa'],_0x1a0a95=>{const _0x1ce2d0=_0x24fdc6,_0x33141b={'bNFwY':_0x1ce2d0(0x220),'IbmFX':_0x1ce2d0(0x144),'aUFkc':_0x28348c[_0x1ce2d0(0x107)],'oGyWY':'boolean','RKckk':_0x1ce2d0(0x147),'phENh':_0x28348c[_0x1ce2d0(0x159)],'irank':_0x28348c[_0x1ce2d0(0x177)],'rbNPY':_0x28348c['ypcWu'],'KBUfq':_0x1ce2d0(0x19d),'PYowv':_0x1ce2d0(0xbc),'vLOdK':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','SMtyN':function(_0x38c003,_0x448a48,_0x3eb67f){return _0x28348c['eVMTd'](_0x38c003,_0x448a48,_0x3eb67f);},'eegxF':'profile\x20encrypt-auth','yTFVz':_0x28348c[_0x1ce2d0(0xb5)],'hpyHq':_0x28348c['AWMSK'],'KNLtx':_0x28348c['AcpWK'],'HjTjn':_0x28348c[_0x1ce2d0(0xdc)],'kQdWA':_0x1ce2d0(0x8f),'xxrlN':_0x1ce2d0(0xef),'igUWP':'profile\x20config\x20list','IzupD':_0x28348c[_0x1ce2d0(0xe6)],'sHLdl':_0x1ce2d0(0x123)};return _0x1a0a95[_0x1ce2d0(0x1c7)](PROFILE_HELP)['command'](_0x28348c['idqSB'],_0x28348c['iDsjZ'],_0x118bba=>{const _0x531b31=_0x1ce2d0;return _0x118bba[_0x531b31(0xf6)](_0x33141b[_0x531b31(0x1a2)],{'type':_0x33141b[_0x531b31(0x1b5)],'description':_0x33141b['aUFkc'],'demandOption':!![]})[_0x531b31(0xcc)]('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x531b31(0x190),{'type':_0x33141b['oGyWY'],'description':_0x531b31(0xb9),'default':![]})[_0x531b31(0xcc)](_0x531b31(0xf2),{'type':'string','description':_0x33141b[_0x531b31(0x17b)]})[_0x531b31(0xcc)](_0x531b31(0x110),{'type':'boolean','description':_0x33141b['phENh'],'default':![]})['option']('cdp-endpoint',{'type':_0x33141b['IbmFX'],'description':_0x531b31(0x11a)})[_0x531b31(0xcc)]('allow-insecure-localhost',{'type':_0x531b31(0x13c),'description':_0x531b31(0xe2),'default':![]})[_0x531b31(0xcc)](_0x33141b['irank'],{'type':_0x33141b['oGyWY'],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x531b31(0xcc)](_0x33141b['rbNPY'],{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x33141b[_0x531b31(0x1e3)],{'type':_0x33141b['IbmFX'],'choices':['user',_0x33141b['PYowv']],'description':_0x33141b['vLOdK']});},async _0x475794=>{const _0x424375=_0x1ce2d0;await withTelemetry(_0x424375(0x196),_0x87f29a=>addEnv(_0x475794[_0x424375(0x220)],{'ci':_0x475794['ci'],'skipAuth':_0x475794[_0x424375(0x190)],'url':_0x475794[_0x424375(0xf2)],'force':_0x475794[_0x424375(0x110)],'cdpEndpoint':_0x475794['cdp-endpoint'],'allowInsecureLocalhost':_0x475794[_0x424375(0x139)],'safeMode':_0x475794['safe-mode'],'setupHeader':_0x475794[_0x424375(0xea)],'scope':_0x475794['scope']},_0x87f29a),{'isElectron':_0x28348c[_0x424375(0x1a4)](Boolean,_0x475794[_0x28348c['pVPIb']])});})['command'](_0x1ce2d0(0x157),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x1ae8aa=>{const _0x44c8c=_0x1ce2d0;return _0x1ae8aa[_0x44c8c(0xf6)]('profile-name',{'type':_0x33141b[_0x44c8c(0x1b5)],'description':_0x44c8c(0x11d),'demandOption':!![]});},async _0x2bbc99=>{const _0x243419=_0x1ce2d0;await _0x28348c[_0x243419(0x1db)](withTelemetry,_0x28348c['nOpxA'],()=>useEnv(_0x2bbc99[_0x243419(0x220)]));})[_0x1ce2d0(0xd1)](_0x28348c[_0x1ce2d0(0x19e)],'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x2dc0a4=>{const _0x22dec9=_0x1ce2d0;return _0x2dc0a4['positional']('profile',{'type':_0x28348c[_0x22dec9(0x1f5)],'description':'Profile\x20name','demandOption':!![]});},async _0x830fe3=>{const _0x33af96=_0x1ce2d0;await _0x33141b['SMtyN'](withTelemetry,_0x33141b[_0x33af96(0x109)],()=>authEncrypt(_0x830fe3[_0x33af96(0x182)]));})[_0x1ce2d0(0xd1)]('ls',_0x28348c[_0x1ce2d0(0xcd)],()=>{},async()=>{const _0x3a40bf=_0x1ce2d0;await _0x33141b['SMtyN'](withTelemetry,_0x33141b[_0x3a40bf(0xa2)],()=>envList());})['command'](_0x28348c[_0x1ce2d0(0xfa)],_0x28348c[_0x1ce2d0(0x186)],_0xb4c42f=>{const _0x5d4752=_0x1ce2d0;return _0xb4c42f['positional']('profile-name',{'type':_0x5d4752(0x144),'description':_0x28348c['HXYBq'],'demandOption':!![]})[_0x5d4752(0xcc)](_0x28348c['Dzpfj'],{'type':_0x28348c['djTOc'],'description':_0x5d4752(0xe2)});},async _0x30d0a9=>{const _0x53a292=_0x1ce2d0;await _0x28348c['duqJW'](withTelemetry,_0x28348c['LvheV'],_0x13da67=>updateEnv(_0x30d0a9['profile-name'],_0x13da67,{'allowInsecureLocalhost':_0x30d0a9[_0x53a292(0x139)]}));})['command'](_0x28348c[_0x1ce2d0(0xa4)],_0x1ce2d0(0x187),_0x18ca10=>{const _0x8fa78e=_0x1ce2d0,_0x104d73={'KXtbq':function(_0x251f51,_0x10a5f4,_0x181174){return _0x33141b['SMtyN'](_0x251f51,_0x10a5f4,_0x181174);},'WzUUB':'profile\x20config\x20set','hKBgz':'string','OQsTy':_0x33141b['kQdWA'],'VPDpc':_0x8fa78e(0x1ba),'VhVZA':_0x33141b['igUWP'],'CyvCS':function(_0x1ab474,_0x4b4734,_0x1d3b9f){return _0x1ab474(_0x4b4734,_0x1d3b9f);}};return _0x18ca10[_0x8fa78e(0x1c7)](PROFILE_CONFIG_HELP)[_0x8fa78e(0xd1)](_0x8fa78e(0x156),_0x8fa78e(0x1c8),_0x4c9200=>{const _0x57cf48=_0x8fa78e;return _0x4c9200['positional'](_0x33141b[_0x57cf48(0x14c)],{'type':'string','description':_0x33141b['KNLtx'],'demandOption':!![]})['positional']('key',{'type':_0x57cf48(0x144),'description':_0x57cf48(0x174),'demandOption':!![]})['positional'](_0x33141b['HjTjn'],{'type':_0x33141b[_0x57cf48(0x1b5)],'description':'Config\x20value','demandOption':!![]});},async _0xeb5c2e=>{const _0x4c7642=_0x8fa78e;await _0x104d73[_0x4c7642(0x9f)](withTelemetry,_0x104d73[_0x4c7642(0xdf)],()=>configSet(_0xeb5c2e['profile'],_0xeb5c2e['key'],_0xeb5c2e[_0x4c7642(0xd8)]));})[_0x8fa78e(0xd1)]('get\x20<profile>\x20<key>',_0x33141b[_0x8fa78e(0x1eb)],_0x3e7aaf=>{const _0x17674d=_0x8fa78e;return _0x3e7aaf[_0x17674d(0xf6)]('profile',{'type':_0x104d73[_0x17674d(0x1b4)],'description':'Profile\x20name','demandOption':!![]})[_0x17674d(0xf6)](_0x104d73[_0x17674d(0x15f)],{'type':_0x104d73[_0x17674d(0x1b4)],'description':'Config\x20key','demandOption':!![]});},async _0x2ee0c8=>{const _0x1f5ce1=_0x8fa78e;await _0x104d73['KXtbq'](withTelemetry,_0x104d73[_0x1f5ce1(0xb8)],()=>configGet(_0x2ee0c8['profile'],_0x2ee0c8[_0x1f5ce1(0x8f)]));})[_0x8fa78e(0xd1)]('list\x20<profile>','List\x20all\x20config\x20for\x20a\x20profile',_0x5a0077=>{const _0x59ee6a=_0x8fa78e;return _0x5a0077['positional'](_0x33141b['hpyHq'],{'type':_0x59ee6a(0x144),'description':_0x33141b[_0x59ee6a(0x18a)],'demandOption':!![]});},async _0x3488dd=>{const _0x2390eb=_0x8fa78e;await withTelemetry(_0x104d73[_0x2390eb(0x19a)],()=>configList(_0x3488dd['profile']));})[_0x8fa78e(0xd1)]('unset\x20<profile>\x20<key>',_0x33141b[_0x8fa78e(0xb1)],_0x3d76ae=>{const _0x312163=_0x8fa78e;return _0x3d76ae[_0x312163(0xf6)](_0x312163(0x182),{'type':_0x312163(0x144),'description':_0x33141b[_0x312163(0x18a)],'demandOption':!![]})['positional'](_0x33141b['kQdWA'],{'type':_0x312163(0x144),'description':_0x33141b['xxrlN'],'demandOption':!![]});},async _0x179ece=>{const _0x48e35f=_0x8fa78e;await _0x104d73['CyvCS'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x179ece[_0x48e35f(0x182)],_0x179ece['key']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x1ce2d0(0xaa)](0x1,_0x28348c['erKjO']);})['command']('status',_0x28348c[_0x24fdc6(0xbd)],()=>{},async()=>{const _0x5f4485=_0x24fdc6;await _0x28348c[_0x5f4485(0x1db)](withTelemetry,_0x28348c['SMrUr'],()=>status());})['command'](_0x28348c[_0x24fdc6(0xa6)],_0x28348c['GIqLB'],()=>{},async()=>{await _0x28348c['FCJba'](withTelemetry,_0x28348c['pozej'],()=>update());})['command'](_0x28348c[_0x24fdc6(0x10f)],_0x28348c[_0x24fdc6(0x16f)],()=>{},async()=>{await _0x28348c['LVHnL'](withTelemetry,_0x28348c['icokf'],async()=>{const _0x5c0f79=_0x40f7,_0x290e2a=await _0x28348c[_0x5c0f79(0x212)](getToken);if(!_0x290e2a)throw new Error(_0x5c0f79(0x211));console['log'](_0x290e2a);});})['command']('go',_0x28348c['AePxi'],_0x37c05f=>{const _0x3d3f8a=_0x24fdc6;return _0x37c05f[_0x3d3f8a(0xcc)](_0x3d3f8a(0x135),{'type':_0x28348c[_0x3d3f8a(0x1f5)],'description':_0x3d3f8a(0xde)})[_0x3d3f8a(0xcc)](_0x28348c['AWMSK'],{'type':_0x28348c[_0x3d3f8a(0x1f5)],'description':_0x3d3f8a(0xfc)})[_0x3d3f8a(0xcc)](_0x28348c['sHkBy'],{'type':_0x28348c[_0x3d3f8a(0x1f5)],'description':_0x3d3f8a(0x106)})['option'](_0x28348c[_0x3d3f8a(0xd7)],{'type':_0x3d3f8a(0xc3),'description':_0x28348c['LDNHL']})[_0x3d3f8a(0xcc)](_0x28348c['oBiSi'],{'type':_0x28348c['GKIDD'],'description':_0x28348c[_0x3d3f8a(0x1f7)]})[_0x3d3f8a(0xcc)](_0x3d3f8a(0x134),{'type':'string','description':_0x28348c[_0x3d3f8a(0x20e)]})[_0x3d3f8a(0xcc)](_0x3d3f8a(0x11b),{'type':_0x3d3f8a(0x13c),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x28348c[_0x3d3f8a(0x185)],{'type':_0x28348c['GKIDD'],'hidden':!![],'choices':['verified',_0x3d3f8a(0xe8),'blocked','failed','incomplete']})[_0x3d3f8a(0xcc)](_0x28348c[_0x3d3f8a(0x18e)],{'type':_0x3d3f8a(0x13c),'hidden':!![]})[_0x3d3f8a(0xcc)](_0x3d3f8a(0x1af),{'type':_0x3d3f8a(0x144),'hidden':!![]})['option'](_0x28348c[_0x3d3f8a(0x1ae)],{'type':_0x28348c['GKIDD'],'hidden':!![]})['option']('item',{'type':_0x3d3f8a(0xc3),'hidden':!![]});},async _0x4e130d=>{await runGoCommand(_0x4e130d);})[_0x24fdc6(0xd1)](_0x28348c['pwNVJ'],![],_0x17155f=>{const _0x48db09=_0x24fdc6;return _0x17155f['command']('encrypt\x20<profile>',![],_0x2a2432=>{const _0xbb8c17=_0x40f7;return _0x2a2432['positional'](_0xbb8c17(0x182),{'type':_0x28348c['GKIDD'],'description':_0xbb8c17(0x118),'demandOption':!![]});},async _0x5c7652=>{const _0x3a41d4=_0x40f7;_0x28348c[_0x3a41d4(0x17e)](warnRenamed,_0x28348c[_0x3a41d4(0x18d)],_0x28348c['smOfd']),await authEncrypt(_0x5c7652[_0x3a41d4(0x182)]);})[_0x48db09(0xaa)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x24fdc6(0xfb),![],_0x2433be=>{const _0x1c50cd=_0x24fdc6;return _0x2433be['positional'](_0x28348c[_0x1c50cd(0x136)],{'type':_0x28348c[_0x1c50cd(0x1f5)],'description':_0x28348c[_0x1c50cd(0xcb)]})['option'](_0x1c50cd(0x21d),{'type':_0x28348c[_0x1c50cd(0x19b)],'description':_0x28348c['ZzFxi'],'default':![]})['option']('scope',{'type':_0x28348c[_0x1c50cd(0x1f5)],'choices':[_0x28348c[_0x1c50cd(0x213)],_0x28348c['SXXmX']],'description':_0x1c50cd(0x183)})['option'](_0x1c50cd(0xf2),{'type':_0x28348c['GKIDD'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1c50cd(0x110),{'type':_0x28348c[_0x1c50cd(0x19b)],'description':_0x1c50cd(0x181),'default':![]})[_0x1c50cd(0xcc)](_0x28348c['njeWm'],{'type':'boolean','description':_0x28348c[_0x1c50cd(0xe0)],'default':![]})['option'](_0x1c50cd(0x1f3),{'type':_0x28348c['djTOc'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x321e93=>{const _0x23f18c=_0x24fdc6;warnRenamed('ranger\x20start',_0x28348c[_0x23f18c(0x17f)]),await withTelemetry('start',_0x43afe9=>start(_0x321e93[_0x23f18c(0x184)],{'skipChromium':_0x321e93[_0x23f18c(0x21d)],'skipAuth':_0x321e93['skip-auth'],'withDeps':_0x321e93['with-deps'],'scope':_0x321e93['scope'],'url':_0x321e93['url'],'force':_0x321e93[_0x23f18c(0x110)]},_0x43afe9));})[_0x24fdc6(0xd1)](_0x28348c[_0x24fdc6(0x1bf)],![],_0x4dad0c=>{const _0x23767e=_0x24fdc6;return _0x4dad0c['option'](_0x28348c[_0x23767e(0x13d)],{'type':_0x23767e(0x144),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x23767e(0xcc)](_0x28348c['cWXuP'],{'type':_0x23767e(0x144),'description':_0x23767e(0x11e)})['option'](_0x28348c['oSfSK'],{'type':_0x28348c[_0x23767e(0x8e)],'description':_0x28348c['LDNHL']})[_0x23767e(0xcc)](_0x28348c['AWMSK'],{'type':_0x23767e(0x144),'hidden':!![]})[_0x23767e(0xcc)](_0x28348c['sHkBy'],{'type':_0x28348c['GKIDD'],'hidden':!![]})['option'](_0x28348c['cLcEf'],{'type':'number','hidden':!![]})[_0x23767e(0xcc)](_0x23767e(0x192),{'type':_0x28348c[_0x23767e(0x1f5)],'description':_0x28348c[_0x23767e(0x1f7)]})['option'](_0x23767e(0x134),{'type':'string','hidden':!![]})[_0x23767e(0xcc)](_0x28348c[_0x23767e(0x137)],{'type':_0x28348c['djTOc'],'hidden':!![],'default':![]})['option']('debug-outcome',{'type':_0x23767e(0x144),'hidden':!![],'choices':['verified','partial',_0x28348c['GbKZz'],_0x23767e(0xdb),_0x28348c['DWvEa']]});},async _0x447273=>{await runGoCommand(_0x447273,!![]);})[_0x24fdc6(0xd1)]('add\x20env\x20<env-name>',![],_0x17dd53=>{const _0x5110b4=_0x24fdc6;return _0x17dd53[_0x5110b4(0xf6)]('env-name',{'type':'string','description':_0x28348c[_0x5110b4(0x141)],'demandOption':!![]})['option']('ci',{'type':_0x28348c['djTOc'],'description':_0x5110b4(0x173),'default':![]})['option']('skip-auth',{'type':_0x5110b4(0x13c),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x13b9e7=>{const _0x3b1fed=_0x24fdc6;warnRenamed(_0x3b1fed(0x1d3),'ranger\x20profile\x20add'),await withTelemetry(_0x28348c['vArmM'],_0x9c7c00=>addEnv(_0x13b9e7['env-name'],{'ci':_0x13b9e7['ci'],'skipAuth':_0x13b9e7['skip-auth']},_0x9c7c00));})['command'](_0x28348c[_0x24fdc6(0x210)],![],_0x14a802=>{const _0x1eb47e=_0x24fdc6;return _0x14a802['positional'](_0x28348c[_0x1eb47e(0x1cb)],{'type':_0x28348c['GKIDD'],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x2cae98=>{const _0x7b7d4a=_0x24fdc6;_0x28348c['LVHnL'](warnRenamed,_0x28348c['JSHuW'],_0x28348c['UQdlc']),await _0x28348c[_0x7b7d4a(0x163)](withTelemetry,_0x7b7d4a(0xdd),()=>useEnv(_0x2cae98[_0x7b7d4a(0x1b9)]));})['command'](_0x28348c[_0x24fdc6(0xa4)],![],_0x4142dc=>{const _0x2ea1eb=_0x24fdc6,_0x14301c={'VCuhK':'env','nqTUD':_0x28348c['GKIDD'],'PXrrK':_0x28348c['cEciR'],'SeCHm':function(_0x2a1394,_0x248cd9,_0x9bc0b){return _0x2a1394(_0x248cd9,_0x9bc0b);},'EeIss':_0x28348c[_0x2ea1eb(0x188)],'iKmUo':_0x28348c['sOcZN'],'SzUJh':'ranger\x20profile\x20config\x20get','CNvnS':_0x28348c[_0x2ea1eb(0x217)],'CZpdg':_0x28348c[_0x2ea1eb(0x1de)],'gyqPy':_0x2ea1eb(0x104),'AIvNV':_0x2ea1eb(0x1f2),'apoyV':_0x28348c[_0x2ea1eb(0x20c)]};return _0x4142dc['command']('set\x20<env>\x20<key>\x20<value>',![],_0x15b9b7=>{const _0x4f7271=_0x2ea1eb;return _0x15b9b7[_0x4f7271(0xf6)](_0x14301c['VCuhK'],{'type':_0x14301c['nqTUD'],'description':_0x4f7271(0x1a0),'demandOption':!![]})['positional']('key',{'type':_0x14301c['nqTUD'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x14301c['nqTUD'],'description':_0x14301c[_0x4f7271(0x1f1)],'demandOption':!![]});},async _0x2db6be=>{const _0x2d49d6=_0x2ea1eb;_0x14301c[_0x2d49d6(0x15d)](warnRenamed,_0x2d49d6(0xe4),_0x14301c['EeIss']),await withTelemetry(_0x14301c['iKmUo'],()=>configSet(_0x2db6be['env'],_0x2db6be[_0x2d49d6(0x8f)],_0x2db6be['value']));})['command']('get\x20<env>\x20<key>',![],_0xabf19c=>{const _0x175123=_0x2ea1eb;return _0xabf19c[_0x175123(0xf6)]('env',{'type':_0x28348c[_0x175123(0x1f5)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x28348c[_0x175123(0x11c)],{'type':_0x28348c['GKIDD'],'description':_0x28348c['DMZrw'],'demandOption':!![]});},async _0x351c0c=>{const _0x7439b4=_0x2ea1eb;warnRenamed(_0x7439b4(0xbf),_0x14301c['SzUJh']),await withTelemetry(_0x14301c[_0x7439b4(0xb6)],()=>configGet(_0x351c0c['env'],_0x351c0c[_0x7439b4(0x8f)]));})[_0x2ea1eb(0xd1)]('list\x20<env>',![],_0x143d2c=>{const _0x185bf5=_0x2ea1eb;return _0x143d2c['positional'](_0x185bf5(0x1af),{'type':_0x28348c['GKIDD'],'description':'Environment\x20name','demandOption':!![]});},async _0x23a451=>{const _0x5330bc=_0x2ea1eb;_0x14301c[_0x5330bc(0x15d)](warnRenamed,'ranger\x20config\x20list',_0x14301c['CZpdg']),await _0x14301c['SeCHm'](withTelemetry,_0x5330bc(0x102),()=>configList(_0x23a451['env']));})['command'](_0x28348c[_0x2ea1eb(0x1c5)],![],_0x2bf78b=>{const _0x35d8fb=_0x2ea1eb;return _0x2bf78b['positional'](_0x28348c[_0x35d8fb(0x13d)],{'type':_0x28348c[_0x35d8fb(0x1f5)],'description':_0x35d8fb(0x1a0),'demandOption':!![]})[_0x35d8fb(0xf6)](_0x35d8fb(0x8f),{'type':_0x28348c[_0x35d8fb(0x1f5)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x59ec27=>{const _0x2fe485=_0x2ea1eb;warnRenamed(_0x14301c['gyqPy'],_0x14301c[_0x2fe485(0x1cc)]),await _0x14301c['SeCHm'](withTelemetry,_0x14301c[_0x2fe485(0x1b0)],()=>configUnset(_0x59ec27['env'],_0x59ec27[_0x2fe485(0x8f)]));})['demandCommand'](0x1,_0x28348c[_0x2ea1eb(0x1f9)]);})[_0x24fdc6(0xd1)]('env',![],_0x225bd0=>{const _0x12eb73=_0x24fdc6,_0x5505fc={'PiacQ':function(_0x54a259,_0x57520f,_0x3cff65){return _0x54a259(_0x57520f,_0x3cff65);}};return _0x225bd0[_0x12eb73(0xd1)]('ls',![],()=>{},async()=>{const _0x216b4c=_0x12eb73;warnRenamed(_0x216b4c(0x10e),_0x216b4c(0x1be)),await _0x5505fc[_0x216b4c(0x154)](withTelemetry,_0x216b4c(0xc0),()=>envList());})[_0x12eb73(0xd1)](_0x28348c['cNVTH'],![],_0x44d131=>{const _0x5dbba3=_0x12eb73;return _0x44d131[_0x5dbba3(0xf6)](_0x28348c[_0x5dbba3(0x1cb)],{'type':_0x28348c['GKIDD'],'description':_0x5dbba3(0xe7),'demandOption':!![]});},async _0xcd9617=>{const _0x32714f=_0x12eb73;_0x28348c['LVHnL'](warnRenamed,_0x28348c['nKwan'],_0x32714f(0x1b6)),await withTelemetry(_0x28348c['qJFlS'],_0x1cb616=>updateEnv(_0xcd9617['env-name'],_0x1cb616));})['demandCommand'](0x1,_0x28348c[_0x12eb73(0xf4)]);})[_0x24fdc6(0xd1)](_0x24fdc6(0x135),![],_0x2639b1=>{const _0xab3ce=_0x24fdc6,_0x287917={'CXExG':_0x28348c['zaIUe'],'wZtfV':_0x28348c[_0xab3ce(0xe5)],'LHtmy':function(_0x4aae8f,_0x3dd72b,_0xd27416){return _0x4aae8f(_0x3dd72b,_0xd27416);},'vbTyj':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','EjLUX':'ranger\x20get-review','xSNBE':'Feature\x20review\x20ID\x20to\x20restore','HDPyz':'feature\x20restore'};return _0x2639b1[_0xab3ce(0xd1)](_0x28348c['JScXd'],![],_0x38895b=>{const _0x1dc9b8=_0xab3ce;return _0x38895b[_0x1dc9b8(0xf6)](_0x28348c[_0x1dc9b8(0xe3)],{'type':_0x28348c['GKIDD'],'description':_0x28348c['PBmRW'],'demandOption':!![]})[_0x1dc9b8(0xcc)](_0x28348c[_0x1dc9b8(0x130)],{'type':'string','alias':'d','description':_0x28348c['hQwHn']})[_0x1dc9b8(0xcc)](_0x28348c[_0x1dc9b8(0x1b7)],{'type':_0x1dc9b8(0x170),'alias':'c','description':_0x28348c[_0x1dc9b8(0x153)]})[_0x1dc9b8(0xcc)]('scenario',{'type':'array','hidden':!![]});},async _0x162060=>{const _0x3de712=_0xab3ce;warnRenamed(_0x28348c['PdhLW'],_0x3de712(0xb7)),warnFlagRenamed(_0x28348c[_0x3de712(0xa8)],_0x28348c['VnQNe'],_0x3de712(0x1bc));const _0x517496=_0x162060[_0x3de712(0xd9)]||_0x162060['checklist'];await withTelemetry(_0x3de712(0x1fc),()=>featureCreate(_0x162060['name'],{'description':_0x162060[_0x3de712(0x12a)],'scenarios':_0x517496}));})['command']('list',![],_0x149cdf=>{const _0x40f091=_0xab3ce;return _0x149cdf['option'](_0x28348c['NATxn'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x40f091(0xcc)](_0x28348c[_0x40f091(0x20f)],{'type':'number','alias':'l','description':_0x28348c['ojotB'],'default':0xa})['option'](_0x40f091(0xca),{'type':'number','alias':'o','description':_0x40f091(0x161),'default':0x0})['option']('include-deleted',{'type':_0x40f091(0x13c),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x466827=>{const _0x168108=_0xab3ce;warnRenamed(_0x287917['CXExG'],_0x287917[_0x168108(0x1e0)]),await _0x287917['LHtmy'](withTelemetry,_0x168108(0x94),()=>featureList({'currentBranch':_0x466827[_0x168108(0x1ad)],'limit':_0x466827['limit'],'offset':_0x466827[_0x168108(0xca)],'includeDeleted':_0x466827[_0x168108(0x1fa)]}));})[_0xab3ce(0xd1)]('show\x20[id]',![],_0x454b64=>{const _0x4f3e72=_0xab3ce;return _0x454b64['positional']('id',{'type':_0x4f3e72(0x144),'description':_0x28348c['VcqGU']});},async _0x5db053=>{const _0x1ae320=_0xab3ce;_0x28348c['yTbKo'](warnRenamed,_0x28348c[_0x1ae320(0x1a3)],_0x28348c['XiWvC']),await _0x28348c['eeCLK'](withTelemetry,_0x28348c['XjjRp'],()=>featureShow(_0x5db053['id']));})[_0xab3ce(0xd1)](_0x28348c[_0xab3ce(0x14a)],![],_0x306c58=>{const _0x376332=_0xab3ce;return _0x306c58['positional']('id',{'type':_0x376332(0x144),'description':_0x376332(0xcf)});},async _0x3353a8=>{const _0x22e167=_0xab3ce;_0x28348c[_0x22e167(0x20d)](warnRenamed,_0x22e167(0xba),_0x28348c['zEzHD']),await withTelemetry(_0x22e167(0x18c),()=>featureResume(_0x3353a8['id']));})['command']('add-checklist-item\x20<description>',![],_0xd4ca02=>{const _0x27fc66=_0xab3ce;return _0xd4ca02[_0x27fc66(0xf6)](_0x27fc66(0x12a),{'type':_0x27fc66(0x144),'description':_0x27fc66(0xf7),'demandOption':!![]})['option']('id',{'type':'string','description':_0x28348c['WlsZI']});},async _0x4a12bd=>{const _0x471a78=_0xab3ce;_0x28348c['CoqoW'](warnRenamed,_0x471a78(0xe1),_0x28348c[_0x471a78(0x1a9)]),await _0x28348c['eBMtu'](withTelemetry,_0x28348c['tSEBQ'],()=>featureAddScenario(_0x4a12bd[_0x471a78(0x12a)],_0x4a12bd['id']));})[_0xab3ce(0xd1)](_0x28348c[_0xab3ce(0x1e4)],![],_0x344a70=>{const _0x2312a0=_0xab3ce;return _0x344a70['positional']('id',{'type':_0x2312a0(0x144),'description':_0x287917['vbTyj']});},async _0x39125d=>{const _0x7ffc80=_0xab3ce;warnRenamed(_0x7ffc80(0x189),_0x287917[_0x7ffc80(0x167)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x39125d['id']));})[_0xab3ce(0xd1)](_0xab3ce(0x1bd),![],_0x3d3a8d=>{return _0x3d3a8d['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x3f9a92=>{const _0x4ef3b8=_0xab3ce;warnRenamed(_0x28348c['owItQ'],_0x4ef3b8(0x122)),await _0x28348c[_0x4ef3b8(0x10b)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x3f9a92['id']));})['command'](_0x28348c[_0xab3ce(0x214)],![],_0x4ed2e6=>{const _0x917385=_0xab3ce;return _0x4ed2e6[_0x917385(0xf6)]('id',{'type':_0x917385(0x144),'description':_0x287917['xSNBE'],'demandOption':!![]});},async _0x295a86=>{const _0x57a8e6=_0xab3ce;_0x287917['LHtmy'](warnRenamed,'ranger\x20feature\x20restore','ranger\x20restore'),await withTelemetry(_0x287917[_0x57a8e6(0x1b3)],()=>featureRestore(_0x295a86['id']));})['demandCommand'](0x1,_0x28348c['AmmLZ']);})['command'](_0x24fdc6(0x199),![],_0x495428=>{const _0x571cde=_0x24fdc6,_0x6c8f20={'UxWQT':_0x28348c['pFHRI'],'tIjjA':function(_0xd918f1,_0x38b11e,_0x272e22){return _0xd918f1(_0x38b11e,_0x272e22);},'XQNld':'hook:enable'};return _0x495428[_0x571cde(0xd1)](_0x28348c['zGBMF'],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x230c8e=>{const _0x3de803=_0x571cde;return _0x230c8e[_0x3de803(0xcc)](_0x3de803(0x1d8),{'type':'string','description':_0x6c8f20[_0x3de803(0x1fb)]});},async _0x4c936d=>{const _0x282030=_0x571cde;await _0x6c8f20[_0x282030(0x1d4)](withTelemetry,_0x6c8f20[_0x282030(0x1c2)],()=>hook('enable',_0x4c936d[_0x282030(0x1d8)]));})[_0x571cde(0xd1)]('disable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0xd1f119=>{const _0x5cc346=_0x571cde;return _0xd1f119[_0x5cc346(0xcc)]('session-id',{'type':'string','description':_0x6c8f20[_0x5cc346(0x1fb)]});},async _0x59bae4=>{const _0x40ced9=_0x571cde;await _0x28348c['CoqoW'](withTelemetry,_0x28348c['bavrZ'],()=>hook(_0x40ced9(0x158),_0x59bae4[_0x40ced9(0x1d8)]));})[_0x571cde(0xcc)](_0x28348c['blmHd'],{'type':_0x28348c['GKIDD'],'description':_0x28348c[_0x571cde(0x126)]})[_0x571cde(0xcc)]('session-id',{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1a5e55=>{const _0x13739e=_0x24fdc6;_0x1a5e55['name']&&await _0x28348c[_0x13739e(0x17e)](hook,_0x1a5e55[_0x13739e(0x17d)],_0x1a5e55[_0x28348c[_0x13739e(0x1c4)]]);})[_0x24fdc6(0xaa)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x89d098,_0x6946da,_0x3bbf32)=>{const _0xcfc2f7=_0x24fdc6,_0x16df93=sanitizeArgs(process[_0xcfc2f7(0xb2)]['slice'](0x2)),_0x5d2533=getErrorType(_0x89d098,_0x6946da);if(_0x89d098&&_0x89d098[_0xcfc2f7(0xbe)](_0x28348c[_0xcfc2f7(0x197)])){const _0x422abf=process['argv'][0x2];console['error'](_0xcfc2f7(0x1e9)+_0x422abf),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x89d098)console['error']('\x0a'+_0x89d098+'\x0a');else _0x6946da&&console[_0xcfc2f7(0xb0)](_0xcfc2f7(0x1d9)+_0x6946da['message']+'\x0a');}await logDesirePath({'rawCommand':_0x16df93,'errorMessage':_0x89d098||_0x6946da?.[_0xcfc2f7(0x15a)],'errorType':_0x5d2533});const _0x52c0ee=getCurrentCollector();_0x52c0ee&&await _0x52c0ee[_0xcfc2f7(0x100)](_0x6946da||new Error(_0x28348c['muPPi'](_0x89d098,'Unknown\x20error'))),process['exit'](0x1);})[_0x24fdc6(0x9e)](_0x24fdc6(0x195)+_0x28348c[_0x24fdc6(0xab)]+_0x28348c[_0x24fdc6(0xa7)])[_0x24fdc6(0xc9)]()['alias']('help','h');}process['env']['NODE_ENV']!==_0x3717c0(0x200)&&buildParser()['parse']();
2
+ const _0x5da667=_0x558a;(function(_0x383096,_0x4f6f40){const _0x38b3c4=_0x558a,_0x290aa9=_0x383096();while(!![]){try{const _0x31820e=-parseInt(_0x38b3c4(0x1fc))/0x1*(parseInt(_0x38b3c4(0x22a))/0x2)+parseInt(_0x38b3c4(0x256))/0x3*(-parseInt(_0x38b3c4(0x186))/0x4)+parseInt(_0x38b3c4(0x268))/0x5*(-parseInt(_0x38b3c4(0x2df))/0x6)+-parseInt(_0x38b3c4(0x1e3))/0x7+-parseInt(_0x38b3c4(0x239))/0x8*(parseInt(_0x38b3c4(0x1b4))/0x9)+-parseInt(_0x38b3c4(0x241))/0xa+parseInt(_0x38b3c4(0x29c))/0xb;if(_0x31820e===_0x4f6f40)break;else _0x290aa9['push'](_0x290aa9['shift']());}catch(_0x1b99d6){_0x290aa9['push'](_0x290aa9['shift']());}}}(_0x5cc4,0x6544d));import _0x3dc88c from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x348e4a=_0x558a,_0x2c1aa5={'XeKUe':function(_0x644ab3,_0x805bc9){return _0x644ab3(_0x805bc9);},'viXXI':function(_0x2bb027,_0x329ed2){return _0x2bb027(_0x329ed2);},'xRvMQ':'.env'};let _0x1263cc=process['cwd']();const _0x2789d9=_0x2c1aa5['XeKUe'](parse,_0x1263cc)['root'];while(_0x1263cc!==_0x2789d9){if(_0x2c1aa5['viXXI'](existsSync,join(_0x1263cc,'.ranger'))||_0x2c1aa5[_0x348e4a(0x265)](existsSync,join(_0x1263cc,_0x2c1aa5[_0x348e4a(0x198)])))return _0x1263cc;_0x1263cc=_0x2c1aa5[_0x348e4a(0x265)](dirname,_0x1263cc);}return process['cwd']();}_0x3dc88c['config']({'path':join(findProjectRoot(),'.env')});import _0xf5c66 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';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';function _0x558a(_0x84e073,_0x36a291){_0x84e073=_0x84e073-0x173;const _0x5cc468=_0x5cc4();let _0x558af1=_0x5cc468[_0x84e073];return _0x558af1;}import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x429b38=>{const _0x242c4e=_0x558a,_0x3cb20c={'OPEMb':function(_0x265689){return _0x265689();}},_0x27ffed=_0x3cb20c[_0x242c4e(0x1cd)](getCurrentCollector);_0x27ffed&&await _0x27ffed['trackCommandError'](_0x429b38),process[_0x242c4e(0x23b)]=0x1;});const rawArgs=process[_0x5da667(0x222)][_0x5da667(0x2fd)](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=_0x5da667(0x20d),PROFILE_CONFIG_HELP=_0x5da667(0x2c0);function warnRenamed(_0x46d853,_0x4f64e2){const _0x57a9e1=_0x5da667;console[_0x57a9e1(0x319)]('\x0a'+_0x46d853+_0x57a9e1(0x2a7)+_0x4f64e2+'\x0a');}function argUsed(_0x2f816c){const _0x2221ec=_0x5da667;return rawArgs[_0x2221ec(0x1b5)](_0x26e4e1=>_0x26e4e1===_0x2f816c||_0x26e4e1['startsWith'](_0x2f816c+'='));}function warnFlagRenamed(_0x2f5c80,_0x31d7ec,_0x5c78d0){const _0x23f172=_0x5da667,_0x165a27={'qtNwC':function(_0x54f2eb,_0x3db3b2){return _0x54f2eb(_0x3db3b2);}};_0x165a27[_0x23f172(0x2cb)](argUsed,_0x31d7ec)&&warnRenamed(_0x2f5c80+'\x20'+_0x31d7ec,_0x2f5c80+'\x20'+_0x5c78d0);}async function runGoCommand(_0x5312ed,_0x488cff=![]){const _0x3d5e26=_0x5da667,_0x33b0c2={'OMVkz':_0x3d5e26(0x2e2),'ABWjR':function(_0x944137,_0x1dbb4d,_0x3e418d,_0x279384){return _0x944137(_0x1dbb4d,_0x3e418d,_0x279384);},'GKnVR':_0x3d5e26(0x2c3),'WwGmT':'--item','LjnGv':function(_0x5173ed){return _0x5173ed();},'Trkst':function(_0x29e5a9,_0x5e7b0e){return _0x29e5a9(_0x5e7b0e);},'aeSWa':'start-path','NitDJ':'base-url','ZFybB':_0x3d5e26(0x2fc),'NTvsB':function(_0x18f5be,_0x45c2c6){return _0x18f5be===_0x45c2c6;},'mGlrq':_0x3d5e26(0x2ae),'ifQke':_0x3d5e26(0x28b),'ZqtGP':'partial','uvCvu':'blocked','pRzlq':'\x20FAILED','QfiMn':_0x3d5e26(0x194)};_0x488cff&&warnRenamed(_0x3d5e26(0x2f7),'ranger\x20go');warnFlagRenamed(_0x3d5e26(0x2c3),_0x3d5e26(0x1f3),_0x33b0c2['OMVkz']),_0x33b0c2[_0x3d5e26(0x21a)](warnFlagRenamed,_0x33b0c2['GKnVR'],_0x3d5e26(0x2e3),'--notes'),warnFlagRenamed(_0x33b0c2[_0x3d5e26(0x291)],_0x33b0c2[_0x3d5e26(0x204)],_0x3d5e26(0x2cf));const _0x1ebaa8=await _0x33b0c2['LjnGv'](loadRangerConfig),_0x1383ce=isByokEnabled(),_0x5ad5ef=_0x5312ed[_0x3d5e26(0x2a5)],_0x435624=_0x1ebaa8['model'],_0x347b1a=await _0x33b0c2[_0x3d5e26(0x2da)](verifyFeature,{'featureId':_0x5312ed[_0x3d5e26(0x22d)],'profile':_0x5312ed[_0x3d5e26(0x2e6)]??_0x5312ed['env']??process['env']['RANGER_PROFILE'],'notes':_0x5312ed[_0x3d5e26(0x2ed)]??_0x5312ed['task'],'scenario':_0x5312ed[_0x3d5e26(0x25f)]??_0x5312ed['item'],'startPath':_0x5312ed[_0x33b0c2['aeSWa']],'baseUrl':_0x5312ed[_0x33b0c2['NitDJ']],'debugOutcome':_0x5312ed[_0x33b0c2['ZFybB']],'debugAddressComments':_0x5312ed['debug-address-comments'],'headed':_0x5312ed['headed'],'byokEnabled':_0x1383ce,'flagVerifyModel':_0x5ad5ef,'configVerifyModel':_0x435624});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0x33b0c2[_0x3d5e26(0x2dc)](_0x347b1a['evaluation'],_0x33b0c2[_0x3d5e26(0x2ee)])?_0x3d5e26(0x1e2):_0x347b1a['evaluation']===_0x3d5e26(0x1df)?_0x33b0c2['ifQke']:_0x347b1a[_0x3d5e26(0x2c8)]===_0x33b0c2[_0x3d5e26(0x1d1)]?'\x20PARTIAL':_0x347b1a[_0x3d5e26(0x2c8)]===_0x33b0c2['uvCvu']?'\x20BLOCKED':_0x33b0c2['pRzlq']),console['log']('='[_0x3d5e26(0x231)](0x3c)),console['log']('Summary:\x20'+_0x347b1a['summary']),console[_0x3d5e26(0x1c2)]('Evaluation:\x20'+_0x347b1a[_0x3d5e26(0x2c8)]),console[_0x3d5e26(0x1c2)]('Reason:\x20'+_0x347b1a[_0x3d5e26(0x18f)]),_0x347b1a[_0x3d5e26(0x1de)]?.[_0x3d5e26(0x274)]&&(console['log'](_0x33b0c2['QfiMn']),_0x347b1a['issues']['forEach']((_0x5b84ed,_0x4a4fc0)=>{const _0x1e7a2c=_0x3d5e26;console[_0x1e7a2c(0x1c2)]('\x0a'+(_0x4a4fc0+0x1)+_0x1e7a2c(0x21b)+_0x5b84ed[_0x1e7a2c(0x315)]+']\x20'+_0x5b84ed['description']);})),process['exit'](_0x347b1a[_0x3d5e26(0x2c8)]===_0x33b0c2['mGlrq']?0x0:0x1);}function _0x5cc4(){const _0x1ce250=['add\x20env\x20<env-name>','ranger\x20profile\x20ls','auth','test_output','IEqnh','MGOUa','model','JcMoC','\x20is\x20now\x20','Install\x20scope\x20for\x20plugin\x20and\x20skills','GGZAU','report','offset','jZhRE','setup:all','verified','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','gzqnj','uGxJm','Scenario\x20description','VsDUz','feature\x20show','TeCmk','BavvW','eZaXu','MkoZk','Rtqpk','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20profile\x20add','ranger\x20profile\x20config\x20list','env-name','pDKfP','dOIcd','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','yGMPz','fQskx','ranger\x20go','New\x20scenario\x20description','You\x20must\x20specify\x20a\x20command','profile\x20ls','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','evaluation','cWgun','skillup','qtNwC','unset\x20<profile>\x20<key>','EYzzg','Profile\x20name','--scenario','ffqwZ','ranger\x20feature\x20get-feedback','hwsxU','yrGpL','url','skip-chromium','profile\x20config\x20set','LnqFD','command','tokenOrSubcommand','Trkst','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','NTvsB','tqUYn','get\x20<profile>\x20<key>','1662AJZUsy','xReJt','positional','--profile','--task','safe-mode','oJWCP','profile','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','Set\x20up\x20a\x20local\x20browser\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium','qSxMV','Enfha','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','notes','mGlrq','kXXNr','create\x20<name>','description','ranger\x20restore','mnehA','get-review','ranger\x20auth\x20encrypt','Alias\x20for\x20--mcp-bootstrap','ranger\x20verify-feature','list\x20<profile>','status','enable','DXHtb','debug-outcome','slice','show\x20[id]','XTCQI','cIZsa','EWNvi','Scenario\x20number\x20to\x20edit\x20(1-based)','\x0aUnknown\x20command:\x20','AsIRQ','TjeKH','KeTUL','jldEt','HDfqc','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','GRfuO','duGzZ','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','epilogue','token','HlwtL','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','JFlJO','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','qVnxG','\x27.\x20Session\x20saved.','severity','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','add-checklist-item\x20<description>','Initialize\x20Ranger\x20in\x20your\x20project','error','item','list','ranger\x20profile\x20config\x20set','WGXKu','wyFoO','oHNce','zSUIv','IhtkQ','EfSna','create','skip-auth','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Scenario\x20index\x20(1-based)','PkxCg','unset\x20<env>\x20<key>','ranger','Feature\x20review\x20name','update\x20<env-name>','Set\x20a\x20config\x20value','add-scenario','Ftxzb','NDfUO','profile\x20use','option','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Feature\x20review\x20ID','Install\x20Ranger\x20skills','test','not_configured','DcxwU','ranger\x20use','hHEDb','user','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','895140aSEttF','ReDBJ','List\x20all\x20profiles','IxPYr','myGOK','version','FIKGN','PCSaC','imxSk','evaluationReason','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','key','current-branch','help','\x0aIssues:','AktEb','Number\x20of\x20feature\x20reviews\x20to\x20skip','API\x20token','xRvMQ','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','feature\x20delete','ranger\x20profile\x20config\x20get','veqMu','cPfHw','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','BqqvW','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','NyUvc','base-url','xhtwm','bbvnr','vYPPd','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','message','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','RGKqK','fail','slrmK','checklist','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.','\x20is\x20no\x20longer\x20supported.\x20','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','Ranger\x20API\x20token','VroUd','Sfnrb','1272789EftLBF','some','SAYYN','boolean','Manage\x20profiles','ghZgy','List\x20all\x20config\x20for\x20a\x20profile','wThNf','aKKlo','UDhDy','dry-run','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','RHfGc','yes','log','KWLVw','include-deleted','add\x20<profile-name>','ShmET','ranger\x20config\x20get','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ZMamj','ranger\x20feature\x20resume','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','XJGtN','OPEMb','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','number','failed','ZqtGP','lBVRe','Switch\x20to\x20using\x20a\x20specific\x20profile','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','map','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Cloud\x20profile\x20name','Config\x20value','ranger\x20setup\x20profiles\x20--scope=','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','allow-insecure-localhost','feature\x20resume','gwGMB','issues','incomplete','rFGbj','profile\x20encrypt-auth','\x20VERIFIED','4282992ycPZCq','alias','config','opencode','ranger\x20config\x20unset','profile\x20migrate','Print\x20the\x20current\x20CLI\x20access\x20token','WhgkO','config\x20list','kIeQh','\x20\x20https://docs.ranger.net\x0a','icuvX','NqegW','setup:deps','UphGK','print-access-token','--env','LjMuN','hook','exit','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','dRZzY','RANGER_TEST_USERNAME','PBASI','FNSkN','114758vYCEMq','json','CIafG','ranger\x20profile\x20use','task','ranger\x20feature\x20delete','dBsLX','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','WwGmT','partial','ranger\x20config\x20set','profile\x20config\x20list','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','ranger\x20get-review','ranger\x20create','RVDHA','jkANG','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','eSlAq','QRxLR','use\x20<profile-name>','disable','ranger\x20show','Authenticate\x20via\x20MCP\x20proxy','EEihK','ranger\x20env\x20update','nlJXF','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','nDTPL','WUUeE','ABWjR','.\x20[','Login\x20failed:\x20','profile\x20config\x20reset','update','feature\x20restore','Config\x20key','uqIYk','argv','mcp-bootstrap','VWyrG','profile-name','hook:disable','delete\x20[id]','OXknN','session-id','6IUHDxw','PqdHI','OAbmj','feature','Remove\x20a\x20config\x20value','force','Base\x20URL\x20of\x20the\x20running\x20app','repeat','XFqSb','value','yeTip','DEvve','YNuiB','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Fwmcv','8uQTTit','setup\x20[tokenOrSubcommand]','exitCode','feature\x20create','mcp','report\x20[id]','update\x20<profile-name>','yohUE','1767710LACGqp','cdp-endpoint','ngMDJ','RnUXT','setup:login','sWAnd','Skip\x20interactive\x20confirmation\x20prompts.','pXsXy','login\x20<name>','demandCommand','string','Include\x20soft-deleted\x20feature\x20reviews','lDaza','Skip\x20Chromium\x20browser\x20installation','twkhF','Feature\x20review\x20description','login','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','limit','qJFpy','xkomy','3nVmFNt','Environment\x20name','ranger\x20feature\x20show','ranger\x20feature\x20list','config\x20unset','MfSmr','profile\x20add','save-creds','Unknown\x20command','scenario','JvDbQ','HRhro','jOiiu','VsCFn','edit-scenario','viXXI','List\x20all\x20feature\x20reviews','clean','11725XGcbUK','resume\x20[id]','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','XJaPr','nlvta','env\x20update','JDnHQ','EQtiZ','DSWZG','MslNT','CKbxA','rvyxE','length','array','env','BLRIh','You\x20must\x20specify\x20a\x20profile\x20subcommand','WxaDU','LKKXC','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','PyyFG','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','all','scope','ryNYO','unknown\x20error','start\x20[token]','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','LeuuT','set\x20<env>\x20<key>\x20<value>','IgiqT','list\x20<env>','BSYbL','prGWC','\x20INCOMPLETE','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','celsN','UpiNH','bmDnG','WBSUl','GKnVR','usage','eISZJ','RClQf','Authenticate\x20with\x20Ranger','FVJUL','Optional\x20feature\x20ID','name','project','KYzPe','ranger\x20start','28187159RRprKA','get\x20<env>\x20<key>','IxCdP'];_0x5cc4=function(){return _0x1ce250;};return _0x5cc4();}export function buildParser(_0x3bfda7){const _0x4a0a35=_0x5da667,_0x2c9022={'icuvX':'string','WUUeE':'description','JZrVw':_0x4a0a35(0x275),'jldEt':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','jTyeX':_0x4a0a35(0x1ad),'UDhDy':function(_0x1bffa7,_0x236558){return _0x1bffa7+_0x236558;},'GJntZ':function(_0x1c54df,_0x4536bb,_0x2401b2,_0x5ca2b7){return _0x1c54df(_0x4536bb,_0x2401b2,_0x5ca2b7);},'PtEWa':_0x4a0a35(0x20a),'XdCJX':_0x4a0a35(0x2cf),'nMQXM':_0x4a0a35(0x323),'arfYT':'current-branch','PkxCg':'boolean','HDfqc':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','iLbsB':_0x4a0a35(0x253),'ShmET':'number','yeTip':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','PdnrJ':'Number\x20of\x20feature\x20reviews\x20to\x20skip','FIKGN':function(_0x599553,_0x5a5225,_0x25d33e){return _0x599553(_0x5a5225,_0x25d33e);},'BLRIh':_0x4a0a35(0x17d),'ThEaa':'Scenario\x20description','EYzzg':function(_0x45f1fc,_0x25b4a5,_0x4b1478){return _0x45f1fc(_0x25b4a5,_0x4b1478);},'jqLns':_0x4a0a35(0x2c4),'zSUIv':'scenario','Fmxfw':_0x4a0a35(0x302),'Nzpez':_0x4a0a35(0x264),'Sfnrb':'exclude-scenario','hunBz':_0x4a0a35(0x1fd),'oqsGr':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','iPAzm':_0x4a0a35(0x2aa),'MkoZk':_0x4a0a35(0x2f4),'VroUd':function(_0x41cd66,_0x2ed5fa,_0x1859c8){return _0x41cd66(_0x2ed5fa,_0x1859c8);},'rvyxE':_0x4a0a35(0x1b1),'BavvW':_0x4a0a35(0x2d5),'EfSna':_0x4a0a35(0x30c),'TeCmk':'skip-auth','Rtqpk':'Skip\x20authentication','DcxwU':'with-deps','XJaPr':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','jAEfN':_0x4a0a35(0x2d4),'yrGpL':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','IEaQF':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','vYPPd':'mcp-bootstrap','dUJQh':_0x4a0a35(0x2ec),'PyyFG':'token','zDhxx':'Ranger\x20API\x20token\x20(rngr_...)','RClQf':_0x4a0a35(0x23d),'DXHtb':'user','HVazz':'Skip\x20browser\x20authentication','mszbu':_0x4a0a35(0x1db),'PVwqR':function(_0x1b0179,_0x4eb4e1){return _0x1b0179!==_0x4eb4e1;},'zmMIw':function(_0x2606b1,_0x53d3d9,_0x2024cc){return _0x2606b1(_0x53d3d9,_0x2024cc);},'Dskzx':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','eEKLB':_0x4a0a35(0x1f0),'IjWLb':function(_0x2981f6){return _0x2981f6();},'DuoPk':'setup:skills','imxSk':'tokenOrSubcommand','HRhro':'all','blePu':'Run\x20full\x20interactive\x20setup','XJGtN':'Install\x20Chromium\x20browser\x20binary','RHfGc':'profiles','VsCFn':'scope','Fwmcv':_0x4a0a35(0x310),'xKYMH':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','suPDG':_0x4a0a35(0x197),'wIuKQ':'start','UphGK':_0x4a0a35(0x185),'uqIYk':_0x4a0a35(0x309),'PCSaC':_0x4a0a35(0x24e),'DEvve':function(_0x494145,_0x53c746,_0x4a0cd4){return _0x494145(_0x53c746,_0x4a0cd4);},'yBBai':'setup-ci','jkANG':_0x4a0a35(0x251),'jZcEq':'Install\x20skills\x20for\x20OpenCode','PLVga':'Install\x20scope\x20for\x20skills','GaEVO':function(_0x457e1a,_0x2a6b12){return _0x457e1a(_0x2a6b12);},'WxaDU':_0x4a0a35(0x267),'icGxw':_0x4a0a35(0x1d4),'Ftxzb':_0x4a0a35(0x2ba),'hQfYx':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','tXHhL':_0x4a0a35(0x242),'cgrZn':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','uKoFo':'safe-mode','IEqnh':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','VohNN':_0x4a0a35(0x252),'HBsEE':_0x4a0a35(0x1c1),'ENCyH':_0x4a0a35(0x199),'dNiAU':_0x4a0a35(0x1e1),'HdsHJ':'Name\x20of\x20the\x20profile\x20to\x20update','ggWrB':function(_0x12408e,_0xc69be2,_0x1490d3){return _0x12408e(_0xc69be2,_0x1490d3);},'SxYve':'profile\x20update','hyerQ':_0x4a0a35(0x1e8),'NyUvc':function(_0x4098eb,_0x2f6e9c){return _0x4098eb(_0x2f6e9c);},'lBVRe':_0x4a0a35(0x298),'UpiNH':_0x4a0a35(0x1d7),'oHNce':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','LeuuT':'profile','CKbxA':function(_0x3f8e5d,_0x985c6f,_0x4ae4ff){return _0x3f8e5d(_0x985c6f,_0x4ae4ff);},'uJqff':_0x4a0a35(0x21d),'wThNf':_0x4a0a35(0x22e),'cadfD':_0x4a0a35(0x2c7),'uIKSO':'Add\x20profile\x20configuration','DfeOv':_0x4a0a35(0x1d3),'jtPfy':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','YbhFX':'Update\x20authentication\x20for\x20an\x20existing\x20profile','GcCGq':_0x4a0a35(0x203),'WrhNt':_0x4a0a35(0x278),'ReDBJ':_0x4a0a35(0x2f9),'XFqSb':function(_0x165a4d){return _0x165a4d();},'uGxJm':_0x4a0a35(0x237),'kgpye':'notes','lDaza':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','qJFpy':'start-path','cVRFu':_0x4a0a35(0x19a),'RgfLF':_0x4a0a35(0x1ae),'qVnxG':'headed','XTCQI':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','KYzPe':_0x4a0a35(0x2fc),'yohUE':'blocked','fZzmf':_0x4a0a35(0x276),'oWoqj':_0x4a0a35(0x200),'aBLYH':_0x4a0a35(0x31a),'fQskx':function(_0x21b9d5,_0x4f7460){return _0x21b9d5(_0x4f7460);},'qvvpq':_0x4a0a35(0x2f5),'JcMoC':'encrypt\x20<profile>','sEWQl':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','cPfHw':_0x4a0a35(0x326),'twkhF':'force','gwGMB':_0x4a0a35(0x2e9),'SAYYN':function(_0x194029,_0x2377c2,_0x40788e){return _0x194029(_0x2377c2,_0x40788e);},'kIeQh':_0x4a0a35(0x29b),'QvKIx':'ranger\x20setup','RZczu':function(_0x502346,_0x4c36b7,_0x3e87a5){return _0x502346(_0x4c36b7,_0x3e87a5);},'LKKXC':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','mnehA':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','eISZJ':_0x4a0a35(0x328),'MfSmr':_0x4a0a35(0x26a),'Wzczg':_0x4a0a35(0x2a5),'VsDUz':'verified','oJWCP':_0x4a0a35(0x1d0),'xhtwm':_0x4a0a35(0x1df),'wVHcQ':_0x4a0a35(0x2bd),'JpqLy':'ranger\x20add\x20env','qSxMV':'Name\x20of\x20the\x20environment','CvSXW':_0x4a0a35(0x1ff),'bbrNQ':'use','xUkgL':'ranger\x20config\x20list','ZEARg':_0x4a0a35(0x2bc),'HsBaf':_0x4a0a35(0x1e7),'RnUXT':_0x4a0a35(0x25a),'ghZgy':_0x4a0a35(0x288),'sDCUE':_0x4a0a35(0x32a),'GRfuO':function(_0x2806f8,_0x399cd3,_0x182c99){return _0x2806f8(_0x399cd3,_0x182c99);},'pXsXy':'ranger\x20env\x20ls','DSWZG':function(_0x169759,_0x206932,_0x6f5dc8){return _0x169759(_0x206932,_0x6f5dc8);},'bmDnG':'env\x20list','CCMvs':function(_0x1292a6,_0x4b40b7,_0x44f900){return _0x1292a6(_0x4b40b7,_0x44f900);},'QBJZf':'ranger\x20profile\x20update','AijgS':_0x4a0a35(0x26d),'jhRVm':_0x4a0a35(0x27b),'IgiqT':_0x4a0a35(0x17c),'EEihK':'ranger\x20feature\x20create','sWAnd':_0x4a0a35(0x2ab),'xkomy':'include-deleted','quAQv':_0x4a0a35(0x258),'jOiiu':_0x4a0a35(0x2b4),'CIafG':_0x4a0a35(0x1dc),'nlvta':'ranger\x20add-scenario','PmSDX':_0x4a0a35(0x19b),'wDkpz':'ranger\x20feature\x20restore','WBSUl':_0x4a0a35(0x2f2),'qdopF':_0x4a0a35(0x2f0),'ryNYO':'list','EWNvi':_0x4a0a35(0x269),'WihzJ':_0x4a0a35(0x317),'TjeKH':'restore\x20<id>','EdlLg':'hook:enable','QRxLR':_0x4a0a35(0x226),'zofKy':_0x4a0a35(0x2fa),'IQuSW':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','WhgkO':_0x4a0a35(0x229),'ueMDb':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','yGQin':function(_0x445252,_0x4f8dae,_0x52e3cc){return _0x445252(_0x4f8dae,_0x52e3cc);},'ETXGj':function(_0x3fd7ca,_0x13aca6,_0x427443){return _0x3fd7ca(_0x13aca6,_0x427443);},'gViGk':_0x4a0a35(0x2db),'yGMPz':function(_0x12732d,_0x3e7d4a){return _0x12732d||_0x3e7d4a;},'FVJUL':'Unknown\x20error','wyFoO':function(_0x3f6c3c,_0x134e62){return _0x3f6c3c(_0x134e62);},'LHpKZ':'ranger','MGOUa':_0x4a0a35(0x266),'OJFvw':_0x4a0a35(0x2fe),'JTurl':_0x4a0a35(0x217),'pKpLD':'edit-scenario\x20<description>','LjupI':_0x4a0a35(0x23e),'VWyrG':_0x4a0a35(0x1bf),'myGOK':'delete\x20[id]','xTuHm':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','prGWC':'Restore\x20a\x20soft-deleted\x20feature\x20review','JvDbQ':_0x4a0a35(0x318),'QfQAZ':_0x4a0a35(0x17e),'eSlAq':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','NDfUO':'update','hDNma':_0x4a0a35(0x1f2),'nlJXF':_0x4a0a35(0x2a1),'LjMuN':_0x4a0a35(0x282),'dRZzY':'verify-feature','BYkxd':_0x4a0a35(0x1f5),'AfHPN':function(_0x44482e,_0x35b65a){return _0x44482e+_0x35b65a;},'EQtiZ':_0x4a0a35(0x193)};return _0x2c9022[_0x4a0a35(0x31e)](_0xf5c66,_0x3bfda7??process['argv']['slice'](0x2))['scriptName'](_0x2c9022['LHpKZ'])['usage'](TOP_LEVEL_HELP)[_0x4a0a35(0x18b)](getCurrentVersion())[_0x4a0a35(0x2d8)](_0x2c9022['qdopF'],_0x4a0a35(0x19f),_0xa2613=>{const _0xae2009=_0x4a0a35;return _0xa2613['positional'](_0xae2009(0x298),{'type':_0x2c9022[_0xae2009(0x1ee)],'description':_0xae2009(0x174),'demandOption':!![]})[_0xae2009(0x17b)](_0x2c9022[_0xae2009(0x219)],{'type':_0xae2009(0x24b),'alias':'d','description':_0xae2009(0x250)})['option'](_0xae2009(0x25f),{'type':_0x2c9022['JZrVw'],'alias':'c','description':_0x2c9022[_0xae2009(0x307)]})[_0xae2009(0x17b)](_0x2c9022['jTyeX'],{'type':'array','hidden':!![]});},async _0xc82669=>{const _0x2358ca=_0x4a0a35;if(!_0xc82669['name']){console['error'](_0x2c9022[_0x2358ca(0x1bd)](_0x2358ca(0x28c),'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}_0x2c9022['GJntZ'](warnFlagRenamed,_0x2c9022['PtEWa'],'--checklist',_0x2c9022['XdCJX']);const _0x3b5598=_0xc82669['scenario']||_0xc82669[_0x2358ca(0x1ad)];await withTelemetry(_0x2c9022['nMQXM'],()=>featureCreate(_0xc82669['name'],{'description':_0xc82669['description'],'scenarios':_0x3b5598}));})['command'](_0x2c9022[_0x4a0a35(0x280)],_0x2c9022[_0x4a0a35(0x2a4)],_0xa9eda8=>{const _0x518030=_0x4a0a35;return _0xa9eda8[_0x518030(0x17b)](_0x2c9022['arfYT'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x518030(0x308)]})[_0x518030(0x17b)](_0x2c9022['iLbsB'],{'type':_0x2c9022[_0x518030(0x1c6)],'alias':'l','description':_0x2c9022[_0x518030(0x234)],'default':0xa})[_0x518030(0x17b)](_0x518030(0x2ab),{'type':_0x2c9022[_0x518030(0x1c6)],'alias':'o','description':_0x2c9022['PdnrJ'],'default':0x0})[_0x518030(0x17b)](_0x518030(0x1c4),{'type':_0x518030(0x1b7),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x1df2f4=>{const _0x4e74cd=_0x4a0a35;await _0x2c9022[_0x4e74cd(0x18c)](withTelemetry,_0x4e74cd(0x31b),()=>featureList({'currentBranch':_0x1df2f4['current-branch'],'limit':_0x1df2f4[_0x4e74cd(0x253)],'offset':_0x1df2f4['offset'],'includeDeleted':_0x1df2f4[_0x4e74cd(0x1c4)]}));})['command'](_0x2c9022['OJFvw'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xe4b978=>{const _0x395b32=_0x4a0a35;return _0xe4b978[_0x395b32(0x2e1)]('id',{'type':_0x2c9022[_0x395b32(0x1ee)],'description':_0x2c9022['BLRIh']});},async _0x20624c=>{await withTelemetry('show',()=>featureShow(_0x20624c['id']));})['command'](_0x2c9022[_0x4a0a35(0x301)],_0x2c9022['JTurl'],_0x27e0ca=>{return _0x27e0ca['positional']('id',{'type':_0x2c9022['icuvX'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x43eb16=>{await _0x2c9022['FIKGN'](withTelemetry,'resume',()=>featureResume(_0x43eb16['id']));})[_0x4a0a35(0x2d8)]('add-scenario\x20<description>',_0x4a0a35(0x190),_0x5cfd08=>{const _0x196e24=_0x4a0a35;return _0x5cfd08['positional'](_0x196e24(0x2f1),{'type':_0x2c9022[_0x196e24(0x1ee)],'description':_0x2c9022['ThEaa'],'demandOption':!![]})[_0x196e24(0x17b)]('id',{'type':_0x2c9022['icuvX'],'description':_0x196e24(0x17c)});},async _0x315b6c=>{const _0x236c5b=_0x4a0a35;await _0x2c9022['EYzzg'](withTelemetry,_0x236c5b(0x177),()=>featureAddScenario(_0x315b6c['description'],_0x315b6c['id']));})['command'](_0x2c9022['pKpLD'],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5e83e4=>{const _0x1bbaf5=_0x4a0a35;return _0x5e83e4['positional'](_0x1bbaf5(0x2f1),{'type':'string','description':_0x2c9022['jqLns'],'demandOption':!![]})['option'](_0x2c9022[_0x1bbaf5(0x320)],{'type':_0x2c9022[_0x1bbaf5(0x1c6)],'description':_0x2c9022['Fmxfw'],'demandOption':!![]})['option']('id',{'type':_0x2c9022[_0x1bbaf5(0x1ee)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4c5ad5=>{const _0x5a946a=_0x4a0a35;await _0x2c9022[_0x5a946a(0x2cd)](withTelemetry,_0x2c9022['Nzpez'],()=>featureEditScenario(_0x4c5ad5['description'],{'id':_0x4c5ad5['id'],'scenario':_0x4c5ad5['scenario']}));})[_0x4a0a35(0x2d8)](_0x2c9022['LjupI'],_0x2c9022[_0x4a0a35(0x224)],_0x22e5fb=>{const _0x1e2d90=_0x4a0a35;return _0x22e5fb[_0x1e2d90(0x2e1)]('id',{'type':_0x2c9022[_0x1e2d90(0x1ee)],'description':_0x2c9022[_0x1e2d90(0x277)]})['option'](_0x2c9022['Sfnrb'],{'type':_0x1e2d90(0x275),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x2c9022['hunBz'],{'type':_0x1e2d90(0x1b7),'description':_0x2c9022['oqsGr'],'default':![]});},async _0x193deb=>{const _0x36d3b7=_0x4a0a35,_0x1c1efb=_0x193deb[_0x2c9022[_0x36d3b7(0x1b3)]],_0x379152=_0x1c1efb?_0x1c1efb[_0x36d3b7(0x1d5)](_0x153f47=>Number(_0x153f47)):undefined;await withTelemetry(_0x2c9022['iPAzm'],()=>featureReportPrDescription(_0x193deb['id'],{'excludeScenarios':_0x379152,'json':_0x193deb[_0x36d3b7(0x1fd)]}));})[_0x4a0a35(0x2d8)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x376fca=>{const _0x4cff39=_0x4a0a35;return _0x376fca[_0x4cff39(0x2e1)]('id',{'type':'string','description':_0x4cff39(0x17c)});},async _0x3973be=>{const _0x5cc647=_0x4a0a35;await withTelemetry(_0x2c9022[_0x5cc647(0x2b8)],()=>featureGetReview(_0x3973be['id']));})[_0x4a0a35(0x2d8)](_0x2c9022[_0x4a0a35(0x18a)],_0x2c9022['xTuHm'],_0x1fc552=>{const _0x3bb099=_0x4a0a35;return _0x1fc552[_0x3bb099(0x2e1)]('id',{'type':_0x2c9022[_0x3bb099(0x1ee)],'description':_0x2c9022[_0x3bb099(0x277)]});},async _0x22e81a=>{const _0x1e0e0f=_0x4a0a35;await _0x2c9022[_0x1e0e0f(0x1b2)](withTelemetry,'delete',()=>featureDelete(_0x22e81a['id']));})[_0x4a0a35(0x2d8)](_0x2c9022[_0x4a0a35(0x305)],_0x2c9022[_0x4a0a35(0x28a)],_0xf9a093=>{const _0x4e1bea=_0x4a0a35;return _0xf9a093[_0x4e1bea(0x2e1)]('id',{'type':_0x2c9022['icuvX'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x350a38=>{const _0x378155=_0x4a0a35;await _0x2c9022[_0x378155(0x18c)](withTelemetry,'restore',()=>featureRestore(_0x350a38['id']));})['command'](_0x4a0a35(0x23a),_0x2c9022[_0x4a0a35(0x260)],_0x592485=>{const _0x396de1=_0x4a0a35,_0x14cca3={'ZMamj':_0x396de1(0x223),'MslNT':_0x396de1(0x2ad),'WGdPL':_0x2c9022[_0x396de1(0x181)],'rcJuD':_0x2c9022['PkxCg'],'veqMu':_0x2c9022['Dskzx'],'tbjtZ':function(_0x253931,_0x47a33b,_0x482783){return _0x253931(_0x47a33b,_0x482783);},'IxCdP':_0x2c9022['eEKLB'],'bRhDR':function(_0x7a424a){return _0x2c9022['IjWLb'](_0x7a424a);},'bbvnr':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','RPAcs':function(_0x3050eb,_0x43e9ae){return _0x3050eb(_0x43e9ae);},'nXzvr':_0x2c9022[_0x396de1(0x2fb)],'Enfha':_0x396de1(0x2a8),'RGKqK':_0x396de1(0x1e6),'dOIcd':_0x396de1(0x208),'gzqnj':function(_0x429b45,_0x1293ee,_0x627b2b){return _0x429b45(_0x1293ee,_0x627b2b);},'KeTUL':_0x2c9022['DuoPk']};return _0x592485['usage'](_0x396de1(0x1a9))[_0x396de1(0x2e1)](_0x2c9022[_0x396de1(0x18e)],{'type':'string','description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x2c9022['HRhro'],_0x2c9022['blePu'],_0x6824ea=>{const _0x4222b7=_0x396de1;return _0x6824ea['option']('token',{'type':'string','description':_0x2c9022[_0x4222b7(0x273)]})[_0x4222b7(0x17b)](_0x2c9022['BavvW'],{'type':_0x2c9022[_0x4222b7(0x329)],'description':_0x2c9022['EfSna'],'default':![]})[_0x4222b7(0x17b)](_0x2c9022[_0x4222b7(0x2b5)],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x4222b7(0x2b9)],'default':![]})[_0x4222b7(0x17b)](_0x2c9022['DcxwU'],{'type':_0x2c9022['PkxCg'],'description':_0x4222b7(0x2e9),'default':![]})['option'](_0x4222b7(0x27f),{'type':_0x2c9022[_0x4222b7(0x1ee)],'choices':['user'],'hidden':!![],'description':_0x2c9022['XJaPr']})['option'](_0x2c9022['jAEfN'],{'type':'string','description':_0x4222b7(0x1cb)})[_0x4222b7(0x17b)](_0x4222b7(0x22f),{'type':_0x2c9022[_0x4222b7(0x329)],'description':_0x2c9022['yrGpL'],'default':![]})[_0x4222b7(0x17b)]('opencode',{'type':_0x2c9022['PkxCg'],'description':_0x4222b7(0x208),'default':![]})[_0x4222b7(0x17b)](_0x4222b7(0x1db),{'type':_0x2c9022[_0x4222b7(0x329)],'description':_0x2c9022['IEaQF'],'default':![]})['option'](_0x2c9022[_0x4222b7(0x1a6)],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022['dUJQh'],'default':![]})['option']('mcp',{'type':_0x2c9022['PkxCg'],'description':_0x4222b7(0x2f6),'default':![]});},async _0x4640b4=>{const _0x34b191=_0x396de1;(_0x4640b4['mcp-bootstrap']||_0x4640b4['mcp'])&&await withTelemetry(_0x14cca3[_0x34b191(0x1c9)],()=>mcpBootstrap()),await withTelemetry(_0x14cca3[_0x34b191(0x271)],_0x314baf=>start(_0x4640b4['token'],{'skipChromium':_0x4640b4['skip-chromium'],'skipAuth':_0x4640b4[_0x34b191(0x324)],'withDeps':_0x4640b4['with-deps'],'scope':_0x4640b4['scope'],'url':_0x4640b4['url'],'force':_0x4640b4[_0x34b191(0x22f)],'opencode':_0x4640b4['opencode'],'allowInsecureLocalhost':_0x4640b4['allow-insecure-localhost']},_0x314baf));})[_0x396de1(0x2d8)]('deps',_0x2c9022[_0x396de1(0x1cc)],_0x147693=>{const _0x7e0342=_0x396de1;return _0x147693['option'](_0x14cca3['WGdPL'],{'type':_0x14cca3['rcJuD'],'description':_0x14cca3[_0x7e0342(0x19d)],'default':![]});},async _0x81df54=>{const _0x339531=_0x396de1;await _0x14cca3['tbjtZ'](withTelemetry,_0x14cca3[_0x339531(0x29e)],()=>ensureChromium(_0x81df54['with-deps']));})[_0x396de1(0x2d8)]('login',_0x396de1(0x295),_0x28e74b=>{const _0x4e7883=_0x396de1;return _0x28e74b['option'](_0x2c9022[_0x4e7883(0x27c)],{'type':'string','description':_0x2c9022['zDhxx']})[_0x4e7883(0x17b)](_0x2c9022[_0x4e7883(0x294)],{'type':_0x2c9022['PkxCg'],'description':_0x4e7883(0x213),'default':![]});},async _0x54ceaa=>{const _0x4a572c=_0x396de1;await withTelemetry(_0x4a572c(0x245),async()=>{const _0x19e6fe=_0x4a572c;if(_0x54ceaa['mcp']){await _0x14cca3['bRhDR'](mcpBootstrap);const _0x436e51=await refreshCliToken();if(!_0x436e51)throw new Error(_0x14cca3[_0x19e6fe(0x1a5)]);const _0x43d0df=await _0x14cca3['RPAcs'](getCurrentUser,_0x436e51);if(!_0x43d0df['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x43d0df[_0x19e6fe(0x319)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x43d0df[_0x19e6fe(0x184)]['organizationName']);return;}await authenticate(_0x54ceaa['token']);});})[_0x396de1(0x2d8)]('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x35db2e=>{const _0x4c0a8e=_0x396de1;return _0x35db2e['option'](_0x4c0a8e(0x27f),{'type':_0x4c0a8e(0x24b),'choices':[_0x14cca3['nXzvr'],_0x4c0a8e(0x299)],'description':_0x14cca3[_0x4c0a8e(0x2eb)]})['option'](_0x14cca3[_0x4c0a8e(0x1aa)],{'type':'boolean','description':_0x14cca3[_0x4c0a8e(0x2bf)],'default':![]});},async _0x1089e2=>{const _0x5c684f=_0x396de1;await _0x14cca3[_0x5c684f(0x2b0)](withTelemetry,_0x14cca3[_0x5c684f(0x306)],async()=>{const _0x13dc6a=_0x5c684f,_0x1058af=_0x1089e2[_0x13dc6a(0x27f)];if(_0x1089e2[_0x13dc6a(0x1e6)]){const _0xf3ddcf=await ensureOpencodePluginConfig(_0x1058af);_0xf3ddcf&&await installSkill(_0x13dc6a(0x173),{'level':_0xf3ddcf['scope'],'cliVersion':getCurrentVersion(),'platform':_0x13dc6a(0x1e6)});}else await ensureClaudePlugin(_0x1058af),await ensureClaudeSkills(_0x1058af);});})['command'](_0x2c9022[_0x396de1(0x1c0)],_0x396de1(0x2e8),_0x5756fa=>{const _0x3d90d2=_0x396de1;return _0x5756fa[_0x3d90d2(0x17b)](_0x3d90d2(0x27f),{'type':'string','choices':[_0x2c9022['DXHtb']],'description':_0x2c9022[_0x3d90d2(0x26b)]})[_0x3d90d2(0x17b)]('url',{'type':'string','description':_0x3d90d2(0x230)})[_0x3d90d2(0x17b)](_0x3d90d2(0x324),{'type':'boolean','description':_0x2c9022['HVazz'],'default':![]})['option'](_0x3d90d2(0x22f),{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x3d90d2(0x2d3)],'default':![]})['option'](_0x2c9022['mszbu'],{'type':_0x2c9022['PkxCg'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2bcc17=>{const _0x50ea9f=_0x396de1,_0x3c9852=_0x2bcc17[_0x50ea9f(0x27f)];_0x2c9022['PVwqR'](_0x3c9852,undefined)&&_0x3c9852!==_0x50ea9f(0x184)&&(console['error'](_0x50ea9f(0x1d9)+_0x3c9852+_0x50ea9f(0x1af)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+_0x50ea9f(0x316)),process['exit'](0x1)),await _0x2c9022['zmMIw'](withTelemetry,'setup:profiles',_0x79c9f0=>ensureLocalEnv({'url':_0x2bcc17[_0x50ea9f(0x2d4)],'force':_0x2bcc17['force'],'allowInsecureLocalhost':_0x2bcc17['allow-insecure-localhost'],'scope':_0x50ea9f(0x184)},_0x79c9f0));})[_0x396de1(0x17b)](_0x2c9022['BavvW'],{'type':_0x396de1(0x1b7),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x2c9022['VsCFn'],{'type':'string','choices':[_0x2c9022[_0x396de1(0x2fb)]],'hidden':!![],'description':_0x2c9022['XJaPr']})[_0x396de1(0x17b)]('url',{'type':_0x2c9022[_0x396de1(0x1ee)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x396de1(0x1b7),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x396de1(0x17b)](_0x396de1(0x1e6),{'type':_0x2c9022[_0x396de1(0x329)],'description':_0x396de1(0x208),'default':![]})['option'](_0x2c9022['mszbu'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022['Fwmcv'],'default':![]})['option'](_0x396de1(0x223),{'type':_0x2c9022['PkxCg'],'description':_0x396de1(0x1c8),'default':![]})['option'](_0x2c9022['TeCmk'],{'type':'boolean','description':_0x2c9022['xKYMH'],'default':![]})[_0x396de1(0x17b)](_0x2c9022['DcxwU'],{'type':_0x2c9022[_0x396de1(0x329)],'description':_0x2c9022['Dskzx'],'default':![]})['option'](_0x396de1(0x30e),{'type':_0x396de1(0x24b),'hidden':!![],'description':_0x2c9022['suPDG']});},async _0x4c0cc4=>{const _0x47f78d=_0x4a0a35,_0xe1de6d=_0x4c0cc4[_0x47f78d(0x2d9)],_0x3db2e6=_0x4c0cc4['token']??_0xe1de6d;_0x4c0cc4[_0x2c9022[_0x47f78d(0x1a6)]]&&await withTelemetry(_0x2c9022[_0x47f78d(0x1a6)],()=>mcpBootstrap()),await withTelemetry(_0x2c9022['wIuKQ'],_0x3a66b3=>start(_0x3db2e6,{'skipChromium':_0x4c0cc4[_0x47f78d(0x2d5)],'skipAuth':_0x4c0cc4[_0x47f78d(0x324)],'withDeps':_0x4c0cc4['with-deps'],'scope':_0x4c0cc4[_0x47f78d(0x27f)],'url':_0x4c0cc4['url'],'force':_0x4c0cc4[_0x47f78d(0x22f)],'opencode':_0x4c0cc4['opencode'],'allowInsecureLocalhost':_0x4c0cc4[_0x47f78d(0x1db)]},_0x3a66b3));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x4bf6ef=>{const _0x1ef6ab=_0x4a0a35;return _0x4bf6ef[_0x1ef6ab(0x2e1)](_0x1ef6ab(0x30e),{'type':'string','description':_0x2c9022['rvyxE'],'demandOption':!![]})['option'](_0x1ef6ab(0x2e6),{'type':_0x1ef6ab(0x24b),'description':_0x2c9022[_0x1ef6ab(0x1f1)]})[_0x1ef6ab(0x17b)](_0x1ef6ab(0x1a3),{'type':'string','description':_0x2c9022[_0x1ef6ab(0x221)]})['option'](_0x2c9022[_0x1ef6ab(0x2b6)],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x1ef6ab(0x18d)],'default':![]});},async _0x1429d9=>{const _0x3058d6=_0x4a0a35;await _0x2c9022[_0x3058d6(0x235)](withTelemetry,_0x2c9022['yBBai'],_0x3ad745=>setupCi(_0x1429d9['token'],{'profile':_0x1429d9['profile'],'baseUrl':_0x1429d9['base-url'],'skipChromium':_0x1429d9[_0x3058d6(0x2d5)]},_0x3ad745));})['command'](_0x2c9022['jkANG'],_0x4a0a35(0x2af),()=>{},async()=>{const _0x1e1fb7=_0x4a0a35;await _0x2c9022[_0x1e1fb7(0x235)](withTelemetry,_0x2c9022[_0x1e1fb7(0x20c)],()=>login());})[_0x4a0a35(0x2d8)](_0x4a0a35(0x2ca),_0x2c9022['QfQAZ'],_0xaba57f=>{const _0x4001aa=_0x4a0a35;return _0xaba57f[_0x4001aa(0x17b)](_0x4001aa(0x1e6),{'type':_0x2c9022[_0x4001aa(0x329)],'description':_0x2c9022['jZcEq'],'default':![]})[_0x4001aa(0x17b)](_0x2c9022[_0x4001aa(0x263)],{'type':_0x2c9022['icuvX'],'choices':[_0x2c9022[_0x4001aa(0x2fb)],_0x4001aa(0x299)],'description':_0x2c9022['PLVga']});},async _0x273e89=>{const _0x2642d1=_0x4a0a35,_0x29b790=_0x2c9022['GaEVO'](Boolean,_0x273e89['opencode']);await _0x2c9022[_0x2642d1(0x235)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x273e89['scope'],'platform':_0x29b790?_0x2642d1(0x1e6):'claude'}));})[_0x4a0a35(0x2d8)](_0x4a0a35(0x267),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x2eece0=_0x4a0a35;await _0x2c9022[_0x2eece0(0x235)](withTelemetry,_0x2c9022[_0x2eece0(0x279)],()=>clean());})[_0x4a0a35(0x2d8)]([_0x4a0a35(0x2e6),'profiles'],_0x4a0a35(0x1b8),_0x58dbec=>{const _0x286ebc=_0x4a0a35,_0x1d7110={'vWwsW':_0x286ebc(0x25c),'BSYbL':function(_0x5d995f,_0x5a81d3){const _0x2ef343=_0x286ebc;return _0x2c9022[_0x2ef343(0x1a2)](_0x5d995f,_0x5a81d3);},'slrmK':'string','GGZAU':_0x286ebc(0x17a),'duGzZ':'Profile\x20name','LnqFD':_0x2c9022[_0x286ebc(0x1d2)],'MMfYs':_0x2c9022[_0x286ebc(0x28e)],'YNuiB':_0x286ebc(0x1d0),'cIZsa':_0x286ebc(0x225),'UpzhC':_0x2c9022[_0x286ebc(0x261)],'Jdayd':_0x2c9022['PkxCg'],'MOEtQ':_0x2c9022[_0x286ebc(0x31f)],'JDnHQ':_0x2c9022['HBsEE'],'OttXY':_0x286ebc(0x247),'hHEDb':_0x2c9022[_0x286ebc(0x285)],'HlwtL':function(_0x2f95ef,_0xa04694,_0x36829b){return _0x2f95ef(_0xa04694,_0x36829b);},'dBsLX':function(_0x5a22dc,_0x42a717,_0x5c9403){return _0x5a22dc(_0x42a717,_0x5c9403);},'jlQKq':function(_0x4752b9,_0x14caf9,_0x48adb4){const _0x318e7c=_0x286ebc;return _0x2c9022[_0x318e7c(0x272)](_0x4752b9,_0x14caf9,_0x48adb4);},'vTXsZ':_0x2c9022['uJqff'],'IhtkQ':_0x286ebc(0x176),'PJfHw':'Get\x20a\x20config\x20value','AktEb':_0x286ebc(0x2f8),'hQtsx':_0x2c9022[_0x286ebc(0x1bb)],'uepgd':'reset\x20<profile>','tqUYn':_0x2c9022['cadfD']};return _0x58dbec[_0x286ebc(0x292)](PROFILE_HELP)['command'](_0x286ebc(0x1c5),_0x2c9022['uIKSO'],_0x4d182a=>{const _0x15e80f=_0x286ebc;return _0x4d182a['positional'](_0x15e80f(0x225),{'type':'string','description':_0x2c9022['icGxw'],'demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x15e80f(0x17b)](_0x2c9022['TeCmk'],{'type':'boolean','description':_0x2c9022[_0x15e80f(0x178)],'default':![]})[_0x15e80f(0x17b)]('url',{'type':_0x2c9022[_0x15e80f(0x1ee)],'description':_0x2c9022['hQfYx']})['option'](_0x15e80f(0x22f),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x2c9022['tXHhL'],{'type':_0x2c9022[_0x15e80f(0x1ee)],'description':_0x2c9022['cgrZn']})[_0x15e80f(0x17b)](_0x15e80f(0x1db),{'type':_0x15e80f(0x1b7),'description':_0x2c9022['Fwmcv'],'default':![]})['option'](_0x2c9022['uKoFo'],{'type':_0x15e80f(0x1b7),'description':_0x2c9022[_0x15e80f(0x2a3)],'default':![]})['option']('setup-header',{'type':_0x2c9022['icuvX'],'array':!![],'description':_0x2c9022['VohNN']})['option'](_0x15e80f(0x27f),{'type':_0x2c9022['icuvX'],'choices':[_0x2c9022[_0x15e80f(0x2fb)],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x2c9022['HBsEE'],{'type':_0x2c9022['PkxCg'],'alias':'y','description':_0x2c9022['ENCyH'],'default':![]});},async _0x56b3f6=>{const _0x4b0020=_0x286ebc;await withTelemetry(_0x1d7110['vWwsW'],_0x28873c=>addEnv(_0x56b3f6['profile-name'],{'ci':_0x56b3f6['ci'],'skipAuth':_0x56b3f6['skip-auth'],'url':_0x56b3f6['url'],'force':_0x56b3f6[_0x4b0020(0x22f)],'cdpEndpoint':_0x56b3f6[_0x4b0020(0x242)],'allowInsecureLocalhost':_0x56b3f6['allow-insecure-localhost'],'safeMode':_0x56b3f6[_0x4b0020(0x2e4)],'setupHeader':_0x56b3f6['setup-header'],'scope':_0x56b3f6[_0x4b0020(0x27f)],'yes':_0x56b3f6[_0x4b0020(0x1c1)]},_0x28873c),{'isElectron':_0x1d7110[_0x4b0020(0x289)](Boolean,_0x56b3f6['cdp-endpoint'])});})['command'](_0x286ebc(0x210),_0x2c9022['DfeOv'],_0x3a70e7=>{const _0x58e9ef=_0x286ebc;return _0x3a70e7[_0x58e9ef(0x2e1)]('profile-name',{'type':_0x1d7110['slrmK'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x4a3ce8=>{const _0x2a2cd6=_0x286ebc;await withTelemetry(_0x1d7110[_0x2a2cd6(0x2a9)],()=>useEnv(_0x4a3ce8[_0x2a2cd6(0x225)]));})['command']('encrypt-auth\x20<profile>',_0x2c9022['jtPfy'],_0x1dffa8=>{const _0x234cd2=_0x286ebc;return _0x1dffa8['positional'](_0x234cd2(0x2e6),{'type':'string','description':_0x1d7110[_0x234cd2(0x30b)],'demandOption':!![]});},async _0x49e6e9=>{const _0x161002=_0x286ebc;await _0x2c9022['EYzzg'](withTelemetry,_0x2c9022['dNiAU'],()=>authEncrypt(_0x49e6e9[_0x161002(0x2e6)]));})[_0x286ebc(0x2d8)]('ls',_0x286ebc(0x188),()=>{},async()=>{const _0x5d40b5=_0x286ebc;await withTelemetry(_0x5d40b5(0x2c6),()=>envList());})['command'](_0x286ebc(0x23f),_0x2c9022['YbhFX'],_0x478f3e=>{const _0x11cb8b=_0x286ebc;return _0x478f3e[_0x11cb8b(0x2e1)](_0x11cb8b(0x225),{'type':'string','description':_0x2c9022['HdsHJ'],'demandOption':!![]})[_0x11cb8b(0x17b)](_0x2c9022['mszbu'],{'type':_0x11cb8b(0x1b7),'description':_0x2c9022[_0x11cb8b(0x238)]});},async _0x1b32bf=>{const _0x5c1d31=_0x286ebc;await _0x2c9022['ggWrB'](withTelemetry,_0x2c9022['SxYve'],_0xf456f8=>updateEnv(_0x1b32bf[_0x5c1d31(0x225)],_0xf456f8,{'allowInsecureLocalhost':_0x1b32bf['allow-insecure-localhost']}));})[_0x286ebc(0x2d8)](_0x286ebc(0x249),![],_0x1e45ed=>{const _0x1a6da0=_0x286ebc;return _0x1e45ed[_0x1a6da0(0x2e1)](_0x1d7110[_0x1a6da0(0x2d7)],{'type':_0x1d7110[_0x1a6da0(0x1ac)],'description':_0x1d7110['MMfYs'],'demandOption':!![]});},async _0x4ff52b=>{const _0x3ca557=_0x286ebc,_0x1194e8={'CtHdG':function(_0x5a7e12,_0x27a956){return _0x5a7e12||_0x27a956;},'ZitrW':function(_0x5e39ce,_0xa7282a,_0x3fa564){return _0x5e39ce(_0xa7282a,_0x3fa564);},'xReJt':function(_0x30c699,_0x525251){return _0x30c699===_0x525251;},'OXknN':_0x1d7110[_0x3ca557(0x236)]};await withTelemetry('profile\x20login',async()=>{const _0x59d52d=_0x3ca557,_0x5410da=process['env'][_0x59d52d(0x1f9)],_0x2f585b=process[_0x59d52d(0x276)]['RANGER_TEST_PASSWORD'];_0x1194e8['CtHdG'](!_0x5410da,!_0x2f585b)&&(console[_0x59d52d(0x319)](_0x59d52d(0x1b0)),process['exit'](0x1));const _0x3aebad=_0x4ff52b[_0x59d52d(0x298)],_0x403c25=await _0x1194e8['ZitrW'](serverSideLogin,_0x3aebad,{'force':!![]});_0x1194e8[_0x59d52d(0x2e0)](_0x403c25[_0x59d52d(0x2f9)],_0x59d52d(0x180))&&(console[_0x59d52d(0x319)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x1194e8['xReJt'](_0x403c25[_0x59d52d(0x2f9)],_0x1194e8[_0x59d52d(0x228)])&&(console['error'](_0x59d52d(0x21c)+(_0x403c25['error']??_0x59d52d(0x281))),_0x403c25[_0x59d52d(0x2a2)]&&console['error'](_0x403c25['test_output']),process[_0x59d52d(0x1f6)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x3aebad+_0x59d52d(0x314));});})[_0x286ebc(0x2d8)]('migrate\x20[profile-name]',_0x2c9022['GcCGq'],_0xa395f=>{const _0xdd5d06=_0x286ebc;return _0xa395f['positional'](_0x1d7110[_0xdd5d06(0x300)],{'type':_0x1d7110[_0xdd5d06(0x1ac)],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x1d7110['UpzhC'],{'type':_0x1d7110['Jdayd'],'description':_0x1d7110['MOEtQ'],'default':![]})[_0xdd5d06(0x17b)](_0xdd5d06(0x1be),{'type':'boolean','description':_0xdd5d06(0x1ce),'default':![]})[_0xdd5d06(0x17b)](_0x1d7110[_0xdd5d06(0x26e)],{'type':_0xdd5d06(0x1b7),'alias':'y','description':_0x1d7110['OttXY'],'default':![]})['option']('save-creds',{'type':'boolean','description':_0xdd5d06(0x2e7),'default':![]});},async _0x218b1e=>{const _0x256949=_0x286ebc;await withTelemetry(_0x2c9022['hyerQ'],_0x48fb41=>migrateProfile({'profileName':_0x218b1e['profile-name'],'all':_0x218b1e[_0x256949(0x27e)],'dryRun':_0x218b1e[_0x256949(0x1be)],'yes':_0x218b1e[_0x256949(0x1c1)],'saveCreds':_0x218b1e[_0x256949(0x25d)]},_0x48fb41));})[_0x286ebc(0x2d8)](_0x286ebc(0x1e5),'Manage\x20profile\x20configuration',_0xdd6515=>{const _0xda51a0=_0x286ebc,_0x335950={'bEtsS':'Profile\x20name','cWgun':'string','pDKfP':_0xda51a0(0x1d8),'NmpxH':'profile','dnpih':'key'};return _0xdd6515[_0xda51a0(0x292)](PROFILE_CONFIG_HELP)[_0xda51a0(0x2d8)]('set\x20<profile>\x20<key>\x20<value>',_0x1d7110[_0xda51a0(0x321)],_0x38f36f=>{const _0x5be5c9=_0xda51a0;return _0x38f36f['positional']('profile',{'type':'string','description':_0x335950['bEtsS'],'demandOption':!![]})['positional']('key',{'type':_0x335950['cWgun'],'description':_0x5be5c9(0x1d6),'demandOption':!![]})[_0x5be5c9(0x2e1)](_0x5be5c9(0x233),{'type':_0x335950[_0x5be5c9(0x2c9)],'description':_0x335950[_0x5be5c9(0x2be)],'demandOption':!![]});},async _0x4205c3=>{const _0x354250=_0xda51a0;await withTelemetry(_0x354250(0x2d6),()=>configSet(_0x4205c3[_0x354250(0x2e6)],_0x4205c3[_0x354250(0x191)],_0x4205c3[_0x354250(0x233)]));})['command'](_0xda51a0(0x2de),_0x1d7110['PJfHw'],_0x4104e6=>{const _0x22b5f7=_0xda51a0;return _0x4104e6['positional'](_0x1d7110[_0x22b5f7(0x183)],{'type':_0x1d7110['slrmK'],'description':_0x1d7110[_0x22b5f7(0x30b)],'demandOption':!![]})[_0x22b5f7(0x2e1)](_0x22b5f7(0x191),{'type':_0x1d7110['slrmK'],'description':_0x22b5f7(0x220),'demandOption':!![]});},async _0x3acdf5=>{const _0x44f9fa=_0xda51a0;await _0x1d7110[_0x44f9fa(0x30f)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x3acdf5[_0x44f9fa(0x2e6)],_0x3acdf5['key']));})['command'](_0x1d7110[_0xda51a0(0x195)],_0xda51a0(0x1ba),_0x598201=>{const _0x13a4ea=_0xda51a0;return _0x598201['positional']('profile',{'type':_0x335950[_0x13a4ea(0x2c9)],'description':_0x335950['bEtsS'],'demandOption':!![]});},async _0xded1f4=>{const _0x1951d0=_0xda51a0;await _0x1d7110[_0x1951d0(0x202)](withTelemetry,_0x1951d0(0x207),()=>configList(_0xded1f4['profile']));})['command'](_0xda51a0(0x2cc),_0x1d7110['hQtsx'],_0x4ea297=>{const _0xd50b44=_0xda51a0;return _0x4ea297[_0xd50b44(0x2e1)](_0x335950['NmpxH'],{'type':_0xd50b44(0x24b),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x335950['dnpih'],{'type':_0x335950[_0xd50b44(0x2c9)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x2c72a4=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x2c72a4['profile'],_0x2c72a4['key']));})[_0xda51a0(0x2d8)](_0x1d7110['uepgd'],_0x1d7110[_0xda51a0(0x2dd)],_0x367546=>{const _0x44cd92=_0xda51a0;return _0x367546[_0x44cd92(0x2e1)](_0x1d7110['hHEDb'],{'type':'string','description':_0x44cd92(0x2ce),'demandOption':!![]});},async _0x5b6da4=>{await _0x1d7110['jlQKq'](withTelemetry,_0x1d7110['vTXsZ'],()=>configReset(_0x5b6da4['profile']));})['demandCommand'](0x1,_0xda51a0(0x327));})[_0x286ebc(0x24a)](0x1,_0x2c9022['WrhNt']);})['command'](_0x4a0a35(0x2f9),_0x2c9022[_0x4a0a35(0x20e)],()=>{},async()=>{const _0xd8436=_0x4a0a35;await withTelemetry(_0x2c9022[_0xd8436(0x187)],()=>status());})['command'](_0x2c9022[_0x4a0a35(0x179)],_0x4a0a35(0x1a7),()=>{},async()=>{const _0x2173b3=_0x4a0a35;await withTelemetry(_0x2173b3(0x21e),()=>update());})['command'](_0x2c9022['hDNma'],_0x4a0a35(0x1e9),()=>{},async()=>{const _0x5b7a4b=_0x4a0a35;await _0x2c9022['zmMIw'](withTelemetry,_0x5b7a4b(0x1f2),async()=>{const _0x519463=_0x5b7a4b,_0x2891ed=await _0x2c9022['XFqSb'](getToken);if(!_0x2891ed)throw new Error(_0x2c9022[_0x519463(0x2b1)]);console[_0x519463(0x1c2)](_0x2891ed);});})['command']('go',_0x4a0a35(0x1f7),_0x13c0da=>{const _0x1b4f56=_0x4a0a35;return _0x13c0da['option'](_0x1b4f56(0x22d),{'type':'string','description':_0x1b4f56(0x297)})['option'](_0x2c9022[_0x1b4f56(0x285)],{'type':_0x2c9022['icuvX'],'description':_0x1b4f56(0x325)})[_0x1b4f56(0x17b)](_0x2c9022['kgpye'],{'type':_0x2c9022['icuvX'],'description':_0x2c9022[_0x1b4f56(0x24d)]})['option'](_0x2c9022['zSUIv'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x2c9022['qJFpy'],{'type':_0x1b4f56(0x24b),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x1b4f56(0x17b)](_0x1b4f56(0x1a3),{'type':'string','description':_0x2c9022['cVRFu']})['option'](_0x1b4f56(0x2a5),{'type':_0x2c9022['icuvX'],'description':_0x2c9022['RgfLF']})[_0x1b4f56(0x17b)](_0x2c9022[_0x1b4f56(0x313)],{'type':'boolean','description':_0x2c9022[_0x1b4f56(0x2ff)],'default':![]})[_0x1b4f56(0x17b)](_0x2c9022[_0x1b4f56(0x29a)],{'type':_0x2c9022['icuvX'],'hidden':!![],'choices':[_0x1b4f56(0x2ae),'partial',_0x2c9022['yohUE'],'failed',_0x1b4f56(0x1df)]})[_0x1b4f56(0x17b)]('debug-address-comments',{'type':'boolean','hidden':!![]})['option'](_0x2c9022['fZzmf'],{'type':_0x2c9022['icuvX'],'hidden':!![]})['option'](_0x2c9022['oWoqj'],{'type':'string','hidden':!![]})['option'](_0x2c9022['aBLYH'],{'type':_0x2c9022['ShmET'],'hidden':!![]});},async _0x53333c=>{const _0x5c3454=_0x4a0a35;await _0x2c9022[_0x5c3454(0x2c2)](runGoCommand,_0x53333c);})['command'](_0x2c9022[_0x4a0a35(0x216)],![],_0x11131b=>{const _0xb46d69=_0x4a0a35,_0x36f9e6={'lWhuE':_0x2c9022[_0xb46d69(0x1ee)],'lPCSp':function(_0x25d2be,_0x2a147e,_0x3f40ef){return _0x25d2be(_0x2a147e,_0x3f40ef);},'ngMDJ':_0x2c9022['qvvpq'],'KVlex':function(_0x4a20b9,_0x136298){return _0x2c9022['GaEVO'](_0x4a20b9,_0x136298);}};return _0x11131b['command'](_0x2c9022[_0xb46d69(0x2a6)],![],_0x1e8114=>{const _0xdccf4=_0xb46d69;return _0x1e8114[_0xdccf4(0x2e1)](_0xdccf4(0x2e6),{'type':_0x36f9e6['lWhuE'],'description':_0xdccf4(0x2ce),'demandOption':!![]});},async _0x3962e8=>{const _0x48c865=_0xb46d69;_0x36f9e6['lPCSp'](warnRenamed,_0x36f9e6[_0x48c865(0x243)],'ranger\x20profile\x20encrypt-auth'),await _0x36f9e6['KVlex'](authEncrypt,_0x3962e8[_0x48c865(0x2e6)]);})[_0xb46d69(0x24a)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x2c9022[_0x4a0a35(0x1f4)],![],_0x517139=>{const _0x3b8c8=_0x4a0a35;return _0x517139['positional'](_0x3b8c8(0x30e),{'type':_0x2c9022['icuvX'],'description':_0x2c9022['sEWQl']})[_0x3b8c8(0x17b)](_0x2c9022['BavvW'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x3b8c8(0x322)],'default':![]})[_0x3b8c8(0x17b)](_0x2c9022[_0x3b8c8(0x263)],{'type':_0x2c9022['icuvX'],'choices':['user'],'hidden':!![],'description':_0x2c9022['XJaPr']})['option'](_0x3b8c8(0x2d4),{'type':'string','description':_0x2c9022[_0x3b8c8(0x19e)]})['option'](_0x2c9022[_0x3b8c8(0x24f)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3b8c8(0x17b)]('skip-auth',{'type':_0x2c9022[_0x3b8c8(0x329)],'description':_0x2c9022[_0x3b8c8(0x2b9)],'default':![]})['option'](_0x2c9022['DcxwU'],{'type':'boolean','description':_0x2c9022[_0x3b8c8(0x1dd)],'default':![]});},async _0x1959be=>{const _0xa4a552=_0x4a0a35;_0x2c9022['SAYYN'](warnRenamed,_0x2c9022[_0xa4a552(0x1ec)],_0x2c9022['QvKIx']),await _0x2c9022['RZczu'](withTelemetry,_0x2c9022['wIuKQ'],_0x23554c=>start(_0x1959be['token'],{'skipChromium':_0x1959be['skip-chromium'],'skipAuth':_0x1959be[_0xa4a552(0x324)],'withDeps':_0x1959be['with-deps'],'scope':_0x1959be[_0xa4a552(0x27f)],'url':_0x1959be['url'],'force':_0x1959be[_0xa4a552(0x22f)]},_0x23554c));})[_0x4a0a35(0x2d8)](_0x2c9022[_0x4a0a35(0x1f8)],![],_0x4710af=>{const _0x32b375=_0x4a0a35;return _0x4710af['option'](_0x32b375(0x276),{'type':_0x2c9022['icuvX'],'description':_0x2c9022[_0x32b375(0x27a)]})[_0x32b375(0x17b)](_0x2c9022['oWoqj'],{'type':_0x2c9022[_0x32b375(0x1ee)],'description':_0x2c9022[_0x32b375(0x2f3)]})['option']('item',{'type':_0x2c9022['ShmET'],'description':_0x2c9022[_0x32b375(0x293)]})[_0x32b375(0x17b)](_0x2c9022['LeuuT'],{'type':_0x2c9022['icuvX'],'hidden':!![]})[_0x32b375(0x17b)]('notes',{'type':_0x2c9022[_0x32b375(0x1ee)],'hidden':!![]})[_0x32b375(0x17b)]('scenario',{'type':_0x2c9022['ShmET'],'hidden':!![]})['option'](_0x2c9022[_0x32b375(0x254)],{'type':_0x2c9022['icuvX'],'description':_0x32b375(0x1a1)})['option']('base-url',{'type':_0x2c9022[_0x32b375(0x1ee)],'description':_0x2c9022[_0x32b375(0x25b)]})[_0x32b375(0x17b)](_0x2c9022['Wzczg'],{'type':_0x32b375(0x24b),'hidden':!![]})[_0x32b375(0x17b)](_0x2c9022['qVnxG'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x32b375(0x2fc),{'type':'string','hidden':!![],'choices':[_0x2c9022[_0x32b375(0x2b3)],_0x32b375(0x205),_0x2c9022[_0x32b375(0x240)],_0x2c9022[_0x32b375(0x2e5)],_0x2c9022[_0x32b375(0x1a4)]]});},async _0x4f7042=>{await _0x2c9022['SAYYN'](runGoCommand,_0x4f7042,!![]);})['command'](_0x4a0a35(0x29f),![],_0x11d3ca=>{const _0xe4013=_0x4a0a35;return _0x11d3ca['positional'](_0x2c9022['wVHcQ'],{'type':_0xe4013(0x24b),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0xe4013(0x17b)]('ci',{'type':_0x2c9022['PkxCg'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x2c9022['TeCmk'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022['Ftxzb'],'default':![]});},async _0x239362=>{const _0x1dda57=_0x4a0a35;_0x2c9022['SAYYN'](warnRenamed,_0x2c9022['JpqLy'],_0x1dda57(0x2bb)),await _0x2c9022[_0x1dda57(0x1b6)](withTelemetry,'add\x20env',_0x4e6f82=>addEnv(_0x239362[_0x1dda57(0x2bd)],{'ci':_0x239362['ci'],'skipAuth':_0x239362['skip-auth']},_0x4e6f82));})[_0x4a0a35(0x2d8)]('use\x20<env-name>',![],_0x20b8ef=>{const _0x98e46e=_0x4a0a35;return _0x20b8ef[_0x98e46e(0x2e1)]('env-name',{'type':_0x2c9022['icuvX'],'description':_0x2c9022[_0x98e46e(0x2ea)],'demandOption':!![]});},async _0xea72b4=>{const _0x514119=_0x4a0a35;warnRenamed(_0x514119(0x182),_0x2c9022['CvSXW']),await withTelemetry(_0x2c9022['bbrNQ'],()=>useEnv(_0xea72b4['env-name']));})[_0x4a0a35(0x2d8)](_0x4a0a35(0x1e5),![],_0x31e7d4=>{const _0x14bb58=_0x4a0a35,_0x523776={'Odxmd':_0x14bb58(0x191),'tqvPW':'value','eZaXu':_0x2c9022['icuvX'],'FNSkN':function(_0x3241b2,_0x4ee4e8,_0x1b2980){return _0x2c9022['EYzzg'](_0x3241b2,_0x4ee4e8,_0x1b2980);},'VEUuY':_0x14bb58(0x1c7),'xMGMP':_0x14bb58(0x19c),'XaAYI':'config\x20get'};return _0x31e7d4[_0x14bb58(0x2d8)](_0x14bb58(0x286),![],_0x513bc8=>{const _0xe2893e=_0x14bb58;return _0x513bc8['positional'](_0xe2893e(0x276),{'type':_0xe2893e(0x24b),'description':'Environment\x20name','demandOption':!![]})[_0xe2893e(0x2e1)](_0x523776['Odxmd'],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0xe2893e(0x2e1)](_0x523776['tqvPW'],{'type':_0x523776[_0xe2893e(0x2b7)],'description':_0xe2893e(0x1d8),'demandOption':!![]});},async _0x220133=>{const _0x24a5d2=_0x14bb58;warnRenamed(_0x24a5d2(0x206),_0x24a5d2(0x31c)),await withTelemetry('config\x20set',()=>configSet(_0x220133[_0x24a5d2(0x276)],_0x220133['key'],_0x220133['value']));})[_0x14bb58(0x2d8)](_0x14bb58(0x29d),![],_0x610a61=>{const _0x332ef5=_0x14bb58;return _0x610a61['positional'](_0x332ef5(0x276),{'type':_0x332ef5(0x24b),'description':'Environment\x20name','demandOption':!![]})[_0x332ef5(0x2e1)]('key',{'type':_0x332ef5(0x24b),'description':_0x332ef5(0x220),'demandOption':!![]});},async _0x51a9cd=>{const _0x25096c=_0x14bb58;_0x523776[_0x25096c(0x1fb)](warnRenamed,_0x523776['VEUuY'],_0x523776['xMGMP']),await _0x523776[_0x25096c(0x1fb)](withTelemetry,_0x523776['XaAYI'],()=>configGet(_0x51a9cd[_0x25096c(0x276)],_0x51a9cd[_0x25096c(0x191)]));})[_0x14bb58(0x2d8)](_0x2c9022[_0x14bb58(0x1b9)],![],_0x2614ec=>{const _0x4fc92f=_0x14bb58;return _0x2614ec[_0x4fc92f(0x2e1)]('env',{'type':_0x2c9022['icuvX'],'description':'Environment\x20name','demandOption':!![]});},async _0x346d01=>{const _0x5b1cf6=_0x14bb58;warnRenamed(_0x2c9022['xUkgL'],_0x2c9022['ZEARg']),await withTelemetry(_0x5b1cf6(0x1eb),()=>configList(_0x346d01[_0x5b1cf6(0x276)]));})[_0x14bb58(0x2d8)](_0x2c9022['sDCUE'],![],_0x202154=>{const _0x4a636d=_0x14bb58;return _0x202154[_0x4a636d(0x2e1)]('env',{'type':_0x523776[_0x4a636d(0x2b7)],'description':_0x4a636d(0x257),'demandOption':!![]})[_0x4a636d(0x2e1)](_0x4a636d(0x191),{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x455d6d=>{const _0x576dca=_0x14bb58;warnRenamed(_0x2c9022['HsBaf'],'ranger\x20profile\x20config\x20unset'),await _0x2c9022['ggWrB'](withTelemetry,_0x2c9022[_0x576dca(0x244)],()=>configUnset(_0x455d6d['env'],_0x455d6d['key']));})[_0x14bb58(0x24a)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x4a0a35(0x2d8)]('env',![],_0x47e884=>{const _0x542cd4=_0x4a0a35,_0x15b58b={'nDTPL':'env-name','wBFdI':'Name\x20of\x20the\x20environment\x20to\x20update'};return _0x47e884['command']('ls',![],()=>{},async()=>{const _0x3dbfe9=_0x558a;_0x2c9022[_0x3dbfe9(0x30a)](warnRenamed,_0x2c9022[_0x3dbfe9(0x248)],_0x3dbfe9(0x2a0)),await _0x2c9022[_0x3dbfe9(0x270)](withTelemetry,_0x2c9022[_0x3dbfe9(0x28f)],()=>envList());})['command'](_0x542cd4(0x175),![],_0x16c74c=>{const _0x49e569=_0x542cd4;return _0x16c74c[_0x49e569(0x2e1)](_0x15b58b[_0x49e569(0x218)],{'type':_0x49e569(0x24b),'description':_0x15b58b['wBFdI'],'demandOption':!![]});},async _0x77e6a2=>{const _0x58f2e4=_0x542cd4;_0x2c9022['CCMvs'](warnRenamed,_0x58f2e4(0x215),_0x2c9022['QBJZf']),await withTelemetry(_0x2c9022['AijgS'],_0x393d44=>updateEnv(_0x77e6a2[_0x58f2e4(0x2bd)],_0x393d44));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x1c15ea=>{const _0x5eea1d=_0x4a0a35,_0x5459c8={'DjsNo':_0x2c9022['lBVRe'],'AsIRQ':_0x5eea1d(0x24b),'aVbWe':'Feature\x20review\x20description','WGXKu':_0x5eea1d(0x1ad),'iLvpu':'scenario','hwsxU':_0x5eea1d(0x275),'rFGbj':function(_0x49160f,_0x58536b,_0x5de06a){return _0x49160f(_0x58536b,_0x5de06a);},'celsN':_0x2c9022[_0x5eea1d(0x214)],'NqegW':_0x5eea1d(0x23c),'Lagtl':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kwdjZ':_0x5eea1d(0x253),'kXXNr':_0x2c9022[_0x5eea1d(0x246)],'zdpxu':_0x5eea1d(0x1cf),'HKCSn':_0x5eea1d(0x196),'KWLVw':_0x2c9022[_0x5eea1d(0x255)],'aUeYx':_0x2c9022['quAQv'],'PqdHI':function(_0x4baca0,_0x5edbe0,_0x7a82a8){const _0x518764=_0x5eea1d;return _0x2c9022[_0x518764(0x272)](_0x4baca0,_0x5edbe0,_0x7a82a8);},'RVDHA':_0x2c9022[_0x5eea1d(0x262)],'JkJBC':function(_0x1e6a62,_0x572e51,_0x4c372e){return _0x1e6a62(_0x572e51,_0x4c372e);},'jZhRE':function(_0x2a2154,_0x1fffb9,_0x1f166c){return _0x2a2154(_0x1fffb9,_0x1f166c);},'ffqwZ':_0x2c9022[_0x5eea1d(0x1fe)],'FkNCY':function(_0x4f12d5,_0x3e0465,_0x2e437d){return _0x4f12d5(_0x3e0465,_0x2e437d);},'seFyA':_0x2c9022[_0x5eea1d(0x26c)],'aKKlo':'feature\x20add-checklist-item','cvKlM':function(_0x2f7f1b,_0x4779e9,_0x2c8c20){return _0x2c9022['EYzzg'](_0x2f7f1b,_0x4779e9,_0x2c8c20);},'cnodg':'ranger\x20delete','JFlJO':_0x2c9022['PmSDX'],'OAbmj':'Feature\x20review\x20ID\x20to\x20restore','IxPYr':_0x2c9022['wDkpz'],'PBASI':_0x2c9022[_0x5eea1d(0x290)],'BqqvW':function(_0x197118,_0x1e1147,_0x504345){return _0x197118(_0x1e1147,_0x504345);}};return _0x1c15ea[_0x5eea1d(0x2d8)](_0x2c9022['qdopF'],![],_0x1160cb=>{const _0x2661ea=_0x5eea1d;return _0x1160cb[_0x2661ea(0x2e1)](_0x5459c8['DjsNo'],{'type':_0x5459c8[_0x2661ea(0x304)],'description':_0x2661ea(0x174),'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x5459c8['aVbWe']})['option'](_0x5459c8[_0x2661ea(0x31d)],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x5459c8['iLvpu'],{'type':_0x5459c8[_0x2661ea(0x2d2)],'hidden':!![]});},async _0xdc873e=>{const _0x52fe07=_0x5eea1d;_0x5459c8['rFGbj'](warnRenamed,_0x5459c8[_0x52fe07(0x28d)],'ranger\x20create'),warnFlagRenamed(_0x52fe07(0x20a),'--checklist',_0x52fe07(0x2cf));const _0x3885cf=_0xdc873e[_0x52fe07(0x25f)]||_0xdc873e['checklist'];await _0x5459c8['rFGbj'](withTelemetry,_0x5459c8[_0x52fe07(0x1ef)],()=>featureCreate(_0xdc873e['name'],{'description':_0xdc873e['description'],'scenarios':_0x3885cf}));})[_0x5eea1d(0x2d8)](_0x2c9022['ryNYO'],![],_0x4f827a=>{const _0x6d123a=_0x5eea1d;return _0x4f827a['option']('current-branch',{'type':_0x6d123a(0x1b7),'description':_0x5459c8['Lagtl']})['option'](_0x5459c8['kwdjZ'],{'type':'number','alias':'l','description':_0x6d123a(0x1da),'default':0xa})[_0x6d123a(0x17b)](_0x5459c8[_0x6d123a(0x2ef)],{'type':_0x5459c8['zdpxu'],'alias':'o','description':_0x5459c8['HKCSn'],'default':0x0})[_0x6d123a(0x17b)](_0x5459c8[_0x6d123a(0x1c3)],{'type':_0x6d123a(0x1b7),'alias':'d','description':_0x6d123a(0x24c),'default':![]});},async _0x3fdf79=>{const _0x5ca3c7=_0x5eea1d;_0x5459c8[_0x5ca3c7(0x1e0)](warnRenamed,_0x5ca3c7(0x259),'ranger\x20list'),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x3fdf79[_0x5ca3c7(0x192)],'limit':_0x3fdf79[_0x5ca3c7(0x253)],'offset':_0x3fdf79['offset'],'includeDeleted':_0x3fdf79[_0x5ca3c7(0x1c4)]}));})[_0x5eea1d(0x2d8)]('show\x20[id]',![],_0x2fc235=>{const _0x56a27c=_0x5eea1d;return _0x2fc235['positional']('id',{'type':'string','description':_0x2c9022[_0x56a27c(0x277)]});},async _0x4cb54f=>{const _0xb0431f=_0x5eea1d;warnRenamed(_0x5459c8['aUeYx'],_0xb0431f(0x212)),await _0x5459c8['PqdHI'](withTelemetry,_0x5459c8[_0xb0431f(0x20b)],()=>featureShow(_0x4cb54f['id']));})[_0x5eea1d(0x2d8)](_0x2c9022[_0x5eea1d(0x301)],![],_0x37eef4=>{return _0x37eef4['positional']('id',{'type':_0x2c9022['icuvX'],'description':_0x2c9022['jhRVm']});},async _0x36041b=>{const _0x3f2076=_0x5eea1d;_0x5459c8['JkJBC'](warnRenamed,_0x3f2076(0x1ca),'ranger\x20resume'),await _0x5459c8[_0x3f2076(0x2ac)](withTelemetry,_0x5459c8[_0x3f2076(0x2d0)],()=>featureResume(_0x36041b['id']));})[_0x5eea1d(0x2d8)](_0x2c9022['WihzJ'],![],_0x10add1=>{const _0x414120=_0x5eea1d;return _0x10add1['positional']('description',{'type':_0x414120(0x24b),'description':_0x414120(0x2b2),'demandOption':!![]})[_0x414120(0x17b)]('id',{'type':'string','description':_0x414120(0x17c)});},async _0x54021c=>{const _0x77bace=_0x5eea1d;_0x5459c8['FkNCY'](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x5459c8['seFyA']),await withTelemetry(_0x5459c8[_0x77bace(0x1bc)],()=>featureAddScenario(_0x54021c['description'],_0x54021c['id']));})[_0x5eea1d(0x2d8)]('get-feedback\x20[id]',![],_0x380955=>{const _0x3d73e=_0x5eea1d;return _0x380955['positional']('id',{'type':_0x2c9022[_0x3d73e(0x1ee)],'description':_0x2c9022[_0x3d73e(0x287)]});},async _0x2663d6=>{const _0x48f0c0=_0x5eea1d;_0x5459c8[_0x48f0c0(0x22b)](warnRenamed,_0x48f0c0(0x2d1),_0x48f0c0(0x209)),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x2663d6['id']));})['command'](_0x5eea1d(0x227),![],_0x5364fa=>{const _0x465fa8=_0x5eea1d;return _0x5364fa['positional']('id',{'type':_0x5459c8[_0x465fa8(0x304)],'description':'Feature\x20review\x20ID'});},async _0x4cb1e6=>{const _0x29f94c=_0x5eea1d;_0x5459c8['cvKlM'](warnRenamed,_0x29f94c(0x201),_0x5459c8['cnodg']),await withTelemetry(_0x5459c8[_0x29f94c(0x311)],()=>featureDelete(_0x4cb1e6['id']));})['command'](_0x2c9022['TjeKH'],![],_0x34901f=>{const _0x491dda=_0x5eea1d;return _0x34901f[_0x491dda(0x2e1)]('id',{'type':_0x5459c8['AsIRQ'],'description':_0x5459c8[_0x491dda(0x22c)],'demandOption':!![]});},async _0x1f1298=>{const _0x29a197=_0x5eea1d;_0x5459c8['JkJBC'](warnRenamed,_0x5459c8[_0x29a197(0x189)],_0x5459c8[_0x29a197(0x1fa)]),await _0x5459c8[_0x29a197(0x1a0)](withTelemetry,_0x29a197(0x21f),()=>featureRestore(_0x1f1298['id']));})[_0x5eea1d(0x24a)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x4a0a35(0x2d8)](_0x2c9022['BYkxd'],![],_0x2e3902=>{const _0x526f7d=_0x4a0a35;return _0x2e3902['command'](_0x2c9022['zofKy'],_0x526f7d(0x284),_0x5b564d=>{const _0x36adf0=_0x526f7d;return _0x5b564d[_0x36adf0(0x17b)](_0x36adf0(0x229),{'type':_0x36adf0(0x24b),'description':_0x36adf0(0x27d)});},async _0x5ab72c=>{const _0x425640=_0x526f7d;await withTelemetry(_0x2c9022['EdlLg'],()=>hook('enable',_0x5ab72c[_0x425640(0x229)]));})[_0x526f7d(0x2d8)](_0x526f7d(0x211),_0x2c9022['IQuSW'],_0x3e3afd=>{const _0x1dd70f=_0x526f7d;return _0x3e3afd['option']('session-id',{'type':'string','description':_0x1dd70f(0x27d)});},async _0xb8f903=>{const _0x1ece98=_0x526f7d;await _0x2c9022[_0x1ece98(0x2cd)](withTelemetry,_0x2c9022[_0x1ece98(0x20f)],()=>hook('disable',_0xb8f903['session-id']));})['option'](_0x2c9022['lBVRe'],{'type':_0x2c9022['icuvX'],'description':_0x526f7d(0x283)})['option'](_0x2c9022[_0x526f7d(0x1ea)],{'type':_0x2c9022['icuvX'],'description':_0x2c9022['ueMDb']});},async _0x302289=>{const _0x35b858=_0x4a0a35;_0x302289['name']&&await _0x2c9022['yGQin'](hook,_0x302289[_0x35b858(0x298)],_0x302289[_0x35b858(0x229)]);})['demandCommand'](0x1,_0x4a0a35(0x2c5))['strictCommands']()[_0x4a0a35(0x1ab)](async(_0x2cfd56,_0x374a4a,_0x301fba)=>{const _0x16789e=_0x4a0a35,_0x3fd678=sanitizeArgs(process[_0x16789e(0x222)]['slice'](0x2)),_0xdac9c9=_0x2c9022['ETXGj'](getErrorType,_0x2cfd56,_0x374a4a);if(_0x2cfd56&&_0x2cfd56['includes'](_0x16789e(0x25e))){const _0x2731d6=process[_0x16789e(0x222)][0x2];console['error'](_0x16789e(0x303)+_0x2731d6),console[_0x16789e(0x319)](_0x2c9022['gViGk']);}else{if(_0x2cfd56)console['error']('\x0a'+_0x2cfd56+'\x0a');else _0x374a4a&&console[_0x16789e(0x319)]('\x0aError:\x20'+_0x374a4a['message']+'\x0a');}await logDesirePath({'rawCommand':_0x3fd678,'errorMessage':_0x2cfd56||_0x374a4a?.[_0x16789e(0x1a8)],'errorType':_0xdac9c9});const _0x255596=_0x2c9022[_0x16789e(0x232)](getCurrentCollector);_0x255596&&await _0x255596['trackCommandError'](_0x374a4a||new Error(_0x2c9022[_0x16789e(0x2c1)](_0x2cfd56,_0x2c9022[_0x16789e(0x296)]))),process[_0x16789e(0x1f6)](0x1);})[_0x4a0a35(0x30d)](_0x2c9022['AfHPN']('Documentation:\x0a',_0x4a0a35(0x1ed))+_0x4a0a35(0x312))['help']()[_0x4a0a35(0x1e4)](_0x2c9022[_0x4a0a35(0x26f)],'h');}process['env']['NODE_ENV']!==_0x5da667(0x17f)&&(shouldShowLegacyWarning(process[_0x5da667(0x222)])&&showLegacyDeprecationWarning(),buildParser()['parse']());