@ranger-testing/ranger-cli 2.5.4-alpha.ed286f1-2 → 2.5.4-alpha.f4657dc-23

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 (83) 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/deleteProfile.js +1 -0
  8. package/build/commands/env.js +1 -1
  9. package/build/commands/feature.js +1 -1
  10. package/build/commands/hook.js +1 -1
  11. package/build/commands/hooks/autoPrompt.js +1 -1
  12. package/build/commands/hooks/disable.js +1 -1
  13. package/build/commands/hooks/enable.js +1 -1
  14. package/build/commands/hooks/exitPlanMode.js +1 -1
  15. package/build/commands/hooks/index.js +1 -1
  16. package/build/commands/hooks/output.js +1 -1
  17. package/build/commands/hooks/planReminder.js +1 -1
  18. package/build/commands/hooks/planStart.js +1 -1
  19. package/build/commands/hooks/postEdit.js +1 -1
  20. package/build/commands/hooks/preCompact.js +1 -1
  21. package/build/commands/hooks/sessionEnd.js +1 -1
  22. package/build/commands/hooks/sessionStart.js +1 -1
  23. package/build/commands/hooks/stopHook.js +1 -1
  24. package/build/commands/index.js +1 -1
  25. package/build/commands/login.js +1 -1
  26. package/build/commands/mcpBootstrap.js +1 -1
  27. package/build/commands/migrateProfile.js +1 -0
  28. package/build/commands/setup/claude.js +1 -1
  29. package/build/commands/setup/opencode.js +1 -1
  30. package/build/commands/setupCi.js +1 -1
  31. package/build/commands/skillup.js +1 -1
  32. package/build/commands/start.js +1 -1
  33. package/build/commands/status.js +1 -1
  34. package/build/commands/update.js +1 -1
  35. package/build/commands/updateEnv.js +1 -1
  36. package/build/commands/useEnv.js +1 -1
  37. package/build/commands/utils/activeProfile.js +1 -1
  38. package/build/commands/utils/agentEnv.js +1 -1
  39. package/build/commands/utils/browserSessionsApi.js +1 -1
  40. package/build/commands/utils/claudeConfig.js +1 -1
  41. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  42. package/build/commands/utils/claudePlugin.js +1 -1
  43. package/build/commands/utils/cloudProfile.js +1 -0
  44. package/build/commands/utils/cloudProfileSession.js +1 -0
  45. package/build/commands/utils/crypto.js +1 -1
  46. package/build/commands/utils/desirePathLog.js +1 -1
  47. package/build/commands/utils/deviceAuth.js +1 -1
  48. package/build/commands/utils/environment.js +1 -1
  49. package/build/commands/utils/featureApi.js +1 -1
  50. package/build/commands/utils/fixWebmDuration.js +1 -1
  51. package/build/commands/utils/gitTracked.js +1 -0
  52. package/build/commands/utils/keychain.js +1 -1
  53. package/build/commands/utils/legacyWarning.js +1 -0
  54. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  55. package/build/commands/utils/matchAuthEnvironment.js +1 -0
  56. package/build/commands/utils/mcpImageBase64.js +1 -1
  57. package/build/commands/utils/model.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/playwrightCli.js +1 -1
  60. package/build/commands/utils/profileMessages.js +1 -1
  61. package/build/commands/utils/profileSetupBanner.js +1 -1
  62. package/build/commands/utils/projectsConfig.js +1 -0
  63. package/build/commands/utils/rangerConfig.js +1 -1
  64. package/build/commands/utils/rangerRoot.js +1 -1
  65. package/build/commands/utils/resolveProfileContext.js +1 -0
  66. package/build/commands/utils/resolveProfileUrl.js +1 -0
  67. package/build/commands/utils/retry.js +1 -1
  68. package/build/commands/utils/sessionCache.js +1 -1
  69. package/build/commands/utils/settings.js +1 -1
  70. package/build/commands/utils/skillContent.js +1 -1
  71. package/build/commands/utils/skills.js +1 -1
  72. package/build/commands/utils/stitchWebmFiles.js +1 -1
  73. package/build/commands/utils/telemetry.js +1 -1
  74. package/build/commands/utils/tokenRefresh.js +1 -1
  75. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  76. package/build/commands/utils/userApi.js +1 -1
  77. package/build/commands/utils/version.js +1 -1
  78. package/build/commands/verifyFeature.js +1 -1
  79. package/build/commands/verifyFeatureCli.js +1 -1
  80. package/build/skills/ranger/SKILL.md +36 -6
  81. package/build/skills/ranger/create.md +19 -0
  82. package/build/skills/ranger/verify.md +46 -7
  83. 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 _0x5dded6=_0x5771;(function(_0x4c276c,_0x268387){const _0x45d4e9=_0x5771,_0x51ef6b=_0x4c276c();while(!![]){try{const _0x55697d=-parseInt(_0x45d4e9(0x357))/0x1*(parseInt(_0x45d4e9(0x30b))/0x2)+-parseInt(_0x45d4e9(0x1d7))/0x3+parseInt(_0x45d4e9(0x2cf))/0x4*(parseInt(_0x45d4e9(0x221))/0x5)+parseInt(_0x45d4e9(0x33e))/0x6+-parseInt(_0x45d4e9(0x269))/0x7+-parseInt(_0x45d4e9(0x2fe))/0x8*(-parseInt(_0x45d4e9(0x23d))/0x9)+parseInt(_0x45d4e9(0x2b3))/0xa;if(_0x55697d===_0x268387)break;else _0x51ef6b['push'](_0x51ef6b['shift']());}catch(_0x264b77){_0x51ef6b['push'](_0x51ef6b['shift']());}}}(_0x56db,0x50655));import _0x2d531a from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4c72ec=_0x5771,_0x1c197a={'fzDBc':function(_0x2a01c6,_0x3af3a7){return _0x2a01c6(_0x3af3a7);},'sWlXe':_0x4c72ec(0x32e),'eiaEz':function(_0xb47a28,_0x5283fe,_0x52e9d2){return _0xb47a28(_0x5283fe,_0x52e9d2);},'QQVQF':'.env','nZuMv':function(_0xf69259,_0x481ad3){return _0xf69259(_0x481ad3);}};let _0x4f151c=process['cwd']();const _0x554812=_0x1c197a[_0x4c72ec(0x347)](parse,_0x4f151c)[_0x4c72ec(0x22b)];while(_0x4f151c!==_0x554812){if(existsSync(join(_0x4f151c,_0x1c197a['sWlXe']))||existsSync(_0x1c197a[_0x4c72ec(0x220)](join,_0x4f151c,_0x1c197a[_0x4c72ec(0x348)])))return _0x4f151c;_0x4f151c=_0x1c197a['nZuMv'](dirname,_0x4f151c);}return process['cwd']();}_0x2d531a[_0x5dded6(0x20d)]({'path':join(findProjectRoot(),'.env')});import _0x179218 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x5dded6(0x2a7),async _0x1bea43=>{const _0x39fa53=_0x5dded6,_0x5a2dc6=getCurrentCollector();_0x5a2dc6&&await _0x5a2dc6[_0x39fa53(0x1ea)](_0x1bea43),process[_0x39fa53(0x2f9)]=0x1;});const rawArgs=process[_0x5dded6(0x344)][_0x5dded6(0x352)](0x2),TOP_LEVEL_HELP=_0x5dded6(0x1d5),PROFILE_HELP=_0x5dded6(0x225),PROFILE_CONFIG_HELP='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';function warnRenamed(_0x10c3e0,_0x2d538a){const _0x5227b7=_0x5dded6;console[_0x5227b7(0x31d)]('\x0a'+_0x10c3e0+_0x5227b7(0x2dc)+_0x2d538a+'\x0a');}function argUsed(_0x3b7423){const _0x1c2929=_0x5dded6;return rawArgs['some'](_0x587914=>_0x587914===_0x3b7423||_0x587914[_0x1c2929(0x30d)](_0x3b7423+'='));}function warnFlagRenamed(_0x1d285b,_0x1f276f,_0x39dade){const _0x298d49={'pQvUS':function(_0x2280af,_0x3bebc6,_0x2c49f1){return _0x2280af(_0x3bebc6,_0x2c49f1);}};argUsed(_0x1f276f)&&_0x298d49['pQvUS'](warnRenamed,_0x1d285b+'\x20'+_0x1f276f,_0x1d285b+'\x20'+_0x39dade);}async function runGoCommand(_0xd4bb0f,_0x160562=![]){const _0x475b35=_0x5dded6,_0x4e0936={'yUGqw':function(_0x1c0a07,_0x18ee36,_0x312756){return _0x1c0a07(_0x18ee36,_0x312756);},'MmIIB':_0x475b35(0x393),'DliVG':_0x475b35(0x2cb),'vfmWF':_0x475b35(0x2d1),'UgNAl':'--profile','CRbfd':function(_0x10ef25,_0x21a018,_0x5aa3ef,_0x4994e7){return _0x10ef25(_0x21a018,_0x5aa3ef,_0x4994e7);},'mgSBa':_0x475b35(0x1e3),'zOMpr':_0x475b35(0x394),'FZQfc':'--item','BfPVx':function(_0x1bcbc8){return _0x1bcbc8();},'NMDqL':function(_0x2d9725,_0x3850f5){return _0x2d9725(_0x3850f5);},'JnNYd':'base-url','JcgKx':'debug-outcome','QZNmK':function(_0x3bbdda,_0x1cf293){return _0x3bbdda+_0x1cf293;},'UHYZw':function(_0x2c9b81,_0x4ed712){return _0x2c9b81===_0x4ed712;},'gdvVO':_0x475b35(0x2ee),'YjPuB':'\x20PARTIAL','qPaQP':_0x475b35(0x291)};_0x160562&&_0x4e0936['yUGqw'](warnRenamed,_0x4e0936['MmIIB'],_0x4e0936[_0x475b35(0x228)]);warnFlagRenamed(_0x475b35(0x2cb),_0x4e0936['vfmWF'],_0x4e0936[_0x475b35(0x2a6)]),_0x4e0936['CRbfd'](warnFlagRenamed,'ranger\x20go',_0x4e0936['mgSBa'],_0x4e0936['zOMpr']),warnFlagRenamed(_0x4e0936[_0x475b35(0x228)],_0x4e0936[_0x475b35(0x27e)],_0x475b35(0x2d5));const _0x429c2f=await _0x4e0936['BfPVx'](loadRangerConfig),_0x24f7ff=isByokEnabled(),_0x58b3a8=_0xd4bb0f['model'],_0x3aebed=_0x429c2f[_0x475b35(0x212)],_0x4e8666=await _0x4e0936[_0x475b35(0x260)](verifyFeature,{'featureId':_0xd4bb0f[_0x475b35(0x24d)],'profile':_0xd4bb0f['profile']??_0xd4bb0f[_0x475b35(0x23f)]??process[_0x475b35(0x23f)]['RANGER_PROFILE'],'notes':_0xd4bb0f[_0x475b35(0x37f)]??_0xd4bb0f[_0x475b35(0x22c)],'scenario':_0xd4bb0f['scenario']??_0xd4bb0f['item'],'startPath':_0xd4bb0f[_0x475b35(0x25f)],'baseUrl':_0xd4bb0f[_0x4e0936['JnNYd']],'debugOutcome':_0xd4bb0f[_0x4e0936[_0x475b35(0x35d)]],'debugAddressComments':_0xd4bb0f['debug-address-comments'],'headed':_0xd4bb0f[_0x475b35(0x2de)],'byokEnabled':_0x24f7ff,'flagVerifyModel':_0x58b3a8,'configVerifyModel':_0x3aebed});console['log'](_0x4e0936['QZNmK']('\x0a','='['repeat'](0x3c))),console[_0x475b35(0x2c0)](_0x4e0936[_0x475b35(0x2a8)](_0x4e8666['evaluation'],'verified')?_0x475b35(0x2a0):_0x4e8666[_0x475b35(0x2e4)]===_0x4e0936['gdvVO']?'\x20INCOMPLETE':_0x4e8666['evaluation']==='partial'?_0x4e0936['YjPuB']:_0x4e8666['evaluation']==='blocked'?'\x20BLOCKED':_0x4e0936['qPaQP']),console['log']('='['repeat'](0x3c)),console['log'](_0x475b35(0x24e)+_0x4e8666[_0x475b35(0x237)]),console['log']('Evaluation:\x20'+_0x4e8666['evaluation']),console[_0x475b35(0x2c0)](_0x475b35(0x247)+_0x4e8666[_0x475b35(0x2ba)]),_0x4e8666[_0x475b35(0x36f)]?.['length']&&(console[_0x475b35(0x2c0)]('\x0aIssues:'),_0x4e8666['issues']['forEach']((_0x472cab,_0x2740e1)=>{const _0x146eac=_0x475b35;console[_0x146eac(0x2c0)]('\x0a'+(_0x2740e1+0x1)+'.\x20['+_0x472cab[_0x146eac(0x2c6)]+']\x20'+_0x472cab['description']);})),process['exit'](_0x4e8666['evaluation']===_0x475b35(0x395)?0x0:0x1);}function _0x56db(){const _0x248e0d=['ranger\x20delete','config','feature\x20get-feedback','TjoPk','setup\x20[tokenOrSubcommand]','MvRxI','model','✓\x20Authenticated\x20to\x20','add-scenario','youXh','New\x20scenario\x20description','ivsxr','ranger\x20profile\x20encrypt-auth','feature\x20delete','lnIDW','FnXYS','get-feedback\x20[id]','XKYfG','brFdX','Profile\x20name','eiaEz','112125BMxYxG','ranger','NrWDA','SkgVY','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\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\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','dry-run','YptlY','DliVG','Epdtg','QQGrI','root','task','ZUmxL','ranger\x20get-review','help','OSVuF','YJASH','RYgHy','Install\x20scope\x20for\x20plugin\x20and\x20skills','KkVnB','rLSWm','kIfqv','summary','Delete\x20a\x20cloud\x20profile','You\x20must\x20specify\x20a\x20command','project','vHSvB','Login\x20failed:\x20','486009fFKcaL','zDdaT','env','tUaok','\x0aError:\x20','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','failed','ptfmI','ranger\x20profile\x20add','covQg','Reason:\x20','ikvpB','mcp-bootstrap','set\x20<env>\x20<key>\x20<value>','partial','gwYro','feature','Summary:\x20','JstMh','RndZj','Feature\x20review\x20name','YtVyB','ksxeM','OXRrc','set\x20<profile>\x20<key>\x20<value>','scope','Set\x20a\x20config\x20value','ranger\x20show','Install\x20OS-level\x20dependencies\x20for\x20Chromium','XPfgy','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','NggRn','bccNx','THqSh','start-path','NMDqL','list\x20<env>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','zQEFN','IDPsz','RTzMY','profile\x20ls','You\x20must\x20specify\x20an\x20env\x20subcommand','Enise','3083283IwKIUq','boolean','Number\x20of\x20feature\x20reviews\x20to\x20skip','session-id','string','zolae','wyZzL','list','ZNMsc','emgvo','cdp-endpoint','MVbDS','XsMNB','List\x20all\x20feature\x20reviews','\x27.\x20Session\x20saved.','ybDjt','Authenticate\x20via\x20MCP\x20proxy','CYlNh','Name\x20of\x20the\x20environment\x20to\x20update','ranger\x20create','migrate\x20[profile-name]','FZQfc','CIsQt','config\x20list','pIyPI','ohstH','Alias\x20for\x20--mcp-bootstrap','Feature\x20review\x20description','QuDnY','config\x20get','profile\x20config\x20get','nELsN','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','list\x20<profile>','StTOp','CbwSe','XrcLb','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','ZWDoK','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','\x20FAILED','xxAvY','xsRBg','Print\x20the\x20current\x20CLI\x20access\x20token','test','gbkNB','tpBcb','Run\x20full\x20interactive\x20setup','allow-insecure-localhost','IEmyg','setup-ci','message','SKPHj','encrypt-auth\x20<profile>','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','\x20VERIFIED','profiles','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','checklist','test_output','RdjMr','UgNAl','unhandledRejection','UHYZw','delete\x20<profile-name>','BSpex','ImTZs','kBUnn','update\x20<env-name>','gUwul','WjMyC','ranger\x20list','show\x20[id]','Skip\x20authentication','6918250ZKnNtL','anKGA','ranger\x20profile\x20use','hzoYh','xNjgl','unset\x20<env>\x20<key>','OKsId','evaluationReason','PEowE','MIGGG','Zaode','Config\x20key\x20to\x20remove','debug-outcome','log','hVGNZ','gPDds','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','\x20is\x20no\x20longer\x20supported.\x20','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','severity','all','WtMXl','profile-name','SGQFB','ranger\x20go','TOhOj','tokenOrSubcommand','exclude-scenario','72LEsaZv','dPPsQ','--env','profile\x20config\x20list','mmAay','profile\x20login','--scenario','BfStt','command','NvoZI','hook','OTVyV','Fgbgj','\x20is\x20now\x20','setup:all','headed','version','enable','ranger\x20feature\x20get-feedback','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','LzHPv','evaluation','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','disable','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','kpQIg','kehNX','xuZEe','not_configured','usage','ranger\x20config\x20unset','incomplete','Name\x20of\x20the\x20environment','login','Feature\x20review\x20ID\x20to\x20restore','fysBg','Restore\x20a\x20soft-deleted\x20feature\x20review','JsxfW','kNgGc','rIKyZ','zOZbW','vYqat','exitCode','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','wbXhY','setup:login','dTwFO','80gCAIcn','user','clean','with-deps','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','JQsTG','print-access-token','yes','qSsDp','aNtiJ','JoQzc','feature\x20add-checklist-item','array','4TmqacP','opencode','startsWith','Environment\x20name','edit-scenario','current-branch','SVgaN','Feature\x20review\x20ID','VXqky','dcOku','pyIwP','get-review','Nbptx','Documentation:\x0a','xDItz','kOSmu','SGmFw','UtFFi','error','Install\x20Chromium\x20browser\x20binary','gGqKZ','profile\x20delete','FeGkc','add\x20env','delete','mcp','nDvEm','env\x20update','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ohgvz','positional','IdLfY','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','edit-scenario\x20<description>','strictCommands','.ranger','delete\x20[id]','profile\x20config\x20set','profile','You\x20must\x20specify\x20an\x20auth\x20subcommand','OdFDb','ranger\x20feature\x20delete','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nzkUV','CeJYO','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','sbadP','aACIN','pJYJh','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','token','1290240Iqygho','Hrhfo','force','update','name','TYYwO','argv','jyJNY','rlimB','fzDBc','QQVQF','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','mcpkn','yroYk','jVxEQ','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','OmJME','ranger\x20env\x20ls','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','skip-auth','slice','tmAiU','add-checklist-item\x20<description>','Cloud\x20profile\x20name','qyWYR','307018vnvXdC','ranger\x20add-scenario','ranger\x20feature\x20show','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','MYNua','JcgKx','url','McaQa','restore','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','fnjWG','sRLMO','Scenario\x20description','value','idROd','report','ranger\x20use','HBXyV','hjXxq','IbGYD','ranger\x20profile\x20ls','config\x20set','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','issues','start','EdHWj','KueNG','sRJGK','json','hxHuj','UkZsi','profile\x20use','scenario','ckzRP','baJzd','SJGZj','show','rrlKC','ranger\x20profile\x20config\x20get','notes','mVnYz','ranger\x20feature\x20add-checklist-item','hLOTu','ykJVy','goBPM','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','YsuDY','setup:deps','ranger\x20start','skills','\x20\x20https://docs.ranger.net\x0a','item','Name\x20of\x20the\x20profile','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Switch\x20to\x20using\x20a\x20specific\x20profile','rrxCK','ULnAo','Samgl','skip-chromium','ranger\x20verify-feature','--notes','verified','rQzgU','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','Config\x20key','yfzKh','LhhUV','SaHkd','PaXfM','Scenario\x20index\x20(1-based)','Name\x20of\x20the\x20profile\x20to\x20update','env-name','Ranger\x20API\x20token\x20(rngr_...)','API\x20token','Optional\x20feature\x20ID','encrypt\x20<profile>','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\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\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.','demandCommand','1400157XWolAS','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','fsHZf','qdszL','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','VGNUP','exit','ySsbz','profile\x20add','hook:disable','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','--task','resume','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','hDVXT','ranger\x20profile\x20config\x20set','LZSIA','trackCommandError','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','efPsl','organizationName','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','ANXVl','Ranger\x20API\x20token','key','resume\x20[id]','number','limit','ranger\x20config\x20get','ptpQf','PFcSV','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','TaTJl','base-url','start\x20[token]','bzkIn','VOrRG','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','HlRBA','sgDKK','dNHji','description','CQfII','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','save-creds','xmpTk','nOZec','setup:profiles','option','Bamag','unknown\x20error'];_0x56db=function(){return _0x248e0d;};return _0x56db();}function _0x5771(_0x86ee8e,_0x3935eb){_0x86ee8e=_0x86ee8e-0x1cc;const _0x56dbba=_0x56db();let _0x577115=_0x56dbba[_0x86ee8e];return _0x577115;}export function buildParser(_0xea1d60){const _0x4f0d52=_0x5dded6,_0x46260e={'MvRxI':_0x4f0d52(0x251),'IDPsz':_0x4f0d52(0x202),'RYgHy':_0x4f0d52(0x2a3),'LZSIA':'array','rIKyZ':_0x4f0d52(0x335),'tmAiU':'Example:\x20ranger\x20create\x20my-feature','ohstH':_0x4f0d52(0x27c),'xNjgl':'--checklist','PFcSV':function(_0x123cda,_0x30deed,_0x57d631){return _0x123cda(_0x30deed,_0x57d631);},'SVgaN':'create','gUwul':'current-branch','RndZj':_0x4f0d52(0x26a),'lnIDW':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','NggRn':_0x4f0d52(0x1f4),'CbwSe':_0x4f0d52(0x1eb),'JQsTG':'offset','zaDAP':'include-deleted','hjXxq':_0x4f0d52(0x26d),'unsBr':'Feature\x20review\x20ID','YptlY':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','UkZsi':function(_0x50b9c0,_0x281eb3,_0x4ca53a){return _0x50b9c0(_0x281eb3,_0x4ca53a);},'BhBGE':_0x4f0d52(0x364),'UAcGX':_0x4f0d52(0x38d),'PCdAB':_0x4f0d52(0x216),'IEmyg':'number','rharp':'Scenario\x20number\x20to\x20edit\x20(1-based)','baJzd':function(_0x230d68,_0x1bf529,_0x5ec4de){return _0x230d68(_0x1bf529,_0x5ec4de);},'BfStt':_0x4f0d52(0x2ce),'KkVnB':_0x4f0d52(0x2fa),'vYqat':_0x4f0d52(0x290),'nzkUV':function(_0x3dde63,_0xe1cded,_0x267dfd){return _0x3dde63(_0xe1cded,_0x267dfd);},'fsHZf':_0x4f0d52(0x316),'VXqky':_0x4f0d52(0x249),'Klslc':'token','yhFvc':'Ranger\x20API\x20token','HBXyV':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','PEowE':_0x4f0d52(0x2b2),'bnPSw':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','JoQzc':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','wbXhY':_0x4f0d52(0x29f),'xsRBg':'allow-insecure-localhost','ujAzi':_0x4f0d52(0x2a2),'QuDnY':function(_0x2c0e43,_0x1f8ebf,_0x30e175){return _0x2c0e43(_0x1f8ebf,_0x30e175);},'wPPBj':_0x4f0d52(0x387),'kehNX':function(_0x491886){return _0x491886();},'bccNx':_0x4f0d52(0x256),'ptfmI':function(_0x2bad16,_0x2dae8e){return _0x2bad16+_0x2dae8e;},'Enise':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','zmTrb':_0x4f0d52(0x298),'DyBmb':_0x4f0d52(0x2f0),'SChZH':_0x4f0d52(0x389),'tpBcb':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','TjoPk':'Set\x20up\x20a\x20local\x20browser\x20profile','ybDjt':_0x4f0d52(0x35a),'Bamag':_0x4f0d52(0x30c),'ySsbz':_0x4f0d52(0x2e7),'hLOTu':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','WtMXl':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','hDVXT':_0x4f0d52(0x1fa),'RTzMY':_0x4f0d52(0x1e6),'rQzgU':'skip-chromium','LAtTS':'Skip\x20Chromium\x20browser\x20installation','XKYfG':_0x4f0d52(0x29b),'Zaode':'project','THqSh':'Install\x20scope\x20for\x20skills','nOZec':function(_0x15f43c,_0xcba28b){return _0x15f43c(_0xcba28b);},'vbnIW':'skip-auth','LQRqa':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','DZgxr':'cdp-endpoint','GAxCQ':'safe-mode','xbpFd':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','CLsEX':'user','JGPzi':_0x4f0d52(0x361),'Hrhfo':_0x4f0d52(0x1e0),'OTVyV':function(_0x1dca1d,_0xbb5bc1){return _0x1dca1d(_0xbb5bc1);},'WjMyC':_0x4f0d52(0x1f8),'xmpTk':_0x4f0d52(0x305),'rLSWm':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','YsuDY':function(_0x147694,_0x20c5b9,_0x7a4fd2){return _0x147694(_0x20c5b9,_0x7a4fd2);},'kXTBL':'profile\x20encrypt-auth','meiGp':'profile\x20migrate','qSsDp':_0x4f0d52(0x331),'yyaKP':_0x4f0d52(0x2d2),'dcOku':_0x4f0d52(0x257),'bfZCP':'get\x20<profile>\x20<key>','NrtlL':'Get\x20a\x20config\x20value','FZMIL':_0x4f0d52(0x28a),'xDItz':'List\x20all\x20config\x20for\x20a\x20profile','rrQBt':'Remove\x20a\x20config\x20value','SGQFB':'reset\x20<profile>','jVxEQ':_0x4f0d52(0x262),'nDvEm':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','TJfAD':_0x4f0d52(0x38c),'ZeXSw':function(_0xc08178,_0x382169,_0x514a01){return _0xc08178(_0x382169,_0x514a01);},'sCuzU':'profile-name','XsVEa':_0x4f0d52(0x204),'ptpQf':'save-creds','emgvo':_0x4f0d52(0x385),'ksxeM':_0x4f0d52(0x1f1),'ckzRP':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','sRLMO':'add\x20<profile-name>','OdFDb':'use\x20<profile-name>','nthdC':_0x4f0d52(0x38e),'yroYk':_0x4f0d52(0x2a9),'fnjWG':'List\x20all\x20profiles','bzKwL':'update\x20<profile-name>','LOwDF':'Update\x20authentication\x20for\x20an\x20existing\x20profile','gwKaD':_0x4f0d52(0x27d),'brHKr':'Manage\x20profile\x20configuration','HbVaK':'You\x20must\x20specify\x20a\x20profile\x20subcommand','JstMh':function(_0x43f5dd,_0x14bbd2,_0x313951){return _0x43f5dd(_0x14bbd2,_0x313951);},'SGmFw':_0x4f0d52(0x341),'PaXfM':function(_0x1d25dc){return _0x1d25dc();},'QCiyq':function(_0x32c81d,_0x1219d7,_0x2a4eec){return _0x32c81d(_0x1219d7,_0x2a4eec);},'aYslc':_0x4f0d52(0x304),'CYlNh':_0x4f0d52(0x1d3),'YtVyB':_0x4f0d52(0x32b),'MIGGG':_0x4f0d52(0x37f),'SkgVY':_0x4f0d52(0x350),'TaTJl':'start-path','zZXnk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','WqrxO':_0x4f0d52(0x1e2),'Nbptx':'model','xBMFS':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','SJGZj':'debug-outcome','LhhUV':'verified','FeGkc':_0x4f0d52(0x243),'RdjMr':'debug-address-comments','BFmRB':_0x4f0d52(0x38b),'gwYro':'Profile\x20name','kpQIg':_0x4f0d52(0x332),'kBUnn':_0x4f0d52(0x340),'vqNzN':_0x4f0d52(0x301),'KueNG':_0x4f0d52(0x388),'CQfII':_0x4f0d52(0x370),'kNgGc':'task','nELsN':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','bzkIn':'Scenario\x20index\x20(1-based)','UtFFi':'scenario','zEKuZ':_0x4f0d52(0x2de),'WjhQT':_0x4f0d52(0x24b),'FnXYS':_0x4f0d52(0x2ee),'SaHkd':_0x4f0d52(0x245),'lJPna':_0x4f0d52(0x322),'McaQa':function(_0x464e1c,_0x7093c1,_0x2ceb8f){return _0x464e1c(_0x7093c1,_0x2ceb8f);},'jvHqx':_0x4f0d52(0x368),'rlimB':_0x4f0d52(0x2b5),'IbGYD':'ranger\x20config\x20set','aIfvX':_0x4f0d52(0x36d),'bNhoG':'env','VGNUP':'Environment\x20name','hkVau':'Config\x20key','YJASH':_0x4f0d52(0x1f5),'ULnAo':_0x4f0d52(0x37e),'yWclT':'ranger\x20profile\x20config\x20list','XPfgy':_0x4f0d52(0x2ed),'SKPHj':function(_0x29fd97,_0x3e2b26,_0x6b920d){return _0x29fd97(_0x3e2b26,_0x6b920d);},'dPPsQ':'config\x20unset','hVGNZ':'value','qyWYR':_0x4f0d52(0x24a),'wlfCr':_0x4f0d52(0x2b8),'AHPPU':'You\x20must\x20specify\x20a\x20config\x20subcommand','NGRSf':'ranger\x20profile\x20update','owlQD':_0x4f0d52(0x36c),'dOBms':'env\x20list','yfzKh':'env-name','QogLy':function(_0x5dbb66,_0x5f303a,_0x4a4614){return _0x5dbb66(_0x5f303a,_0x4a4614);},'GrexR':'ranger\x20feature\x20create','efPsl':'--scenario','vFRQg':'feature\x20create','dNHji':'ranger\x20feature\x20resume','ZWDoK':'ranger\x20resume','bADJf':'feature\x20resume','DDfap':function(_0x3cb6d1,_0x5ba55a,_0x46bd24){return _0x3cb6d1(_0x5ba55a,_0x46bd24);},'bIGjg':_0x4f0d52(0x2e1),'EdHWj':_0x4f0d52(0x20e),'CIsQt':'Feature\x20review\x20ID\x20to\x20restore','iORfr':_0x4f0d52(0x258),'pqobr':'ranger\x20feature\x20restore','wyZzL':'list','IdLfY':_0x4f0d52(0x354),'DctWu':_0x4f0d52(0x32f),'vHSvB':'restore\x20<id>','sRJGK':_0x4f0d52(0x338),'ivsxr':_0x4f0d52(0x26c),'MblVh':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','xxAvY':'hook:enable','anKGA':_0x4f0d52(0x1e1),'QQGrI':'enable','NrWDA':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','xRlKV':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','kfiIx':function(_0x1bd0aa,_0x36d87b){return _0x1bd0aa(_0x36d87b);},'gbkNB':_0x4f0d52(0x1ee),'WPnvJ':function(_0x335e82,_0x583fbb){return _0x335e82(_0x583fbb);},'zDdaT':_0x4f0d52(0x276),'rrxCK':_0x4f0d52(0x2e2),'LzHPv':_0x4f0d52(0x32c),'zQEFN':'report\x20[id]','cwneS':'get-review\x20[id]','qsODj':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','bJsED':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','FyipZ':_0x4f0d52(0x2f3),'mgwwF':'setup-ci\x20<token>','rkJOA':_0x4f0d52(0x289),'NvoZI':'skillup','Vpxuq':_0x4f0d52(0x300),'HZOPM':_0x4f0d52(0x34d),'fysBg':_0x4f0d52(0x294),'OxYEY':'verify-feature','Fgbgj':'add\x20env\x20<env-name>','gmHRo':'config','covQg':'feature','mVnYz':_0x4f0d52(0x2d9),'zolae':_0x4f0d52(0x318),'dTwFO':_0x4f0d52(0x38a),'AhfPH':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','hJYih':'help'};return _0x46260e['WPnvJ'](_0x179218,_0xea1d60??process[_0x4f0d52(0x344)]['slice'](0x2))['scriptName']('ranger')[_0x4f0d52(0x2ec)](TOP_LEVEL_HELP)[_0x4f0d52(0x2df)](getCurrentVersion())[_0x4f0d52(0x2d7)]('create\x20<name>',_0x4f0d52(0x33c),_0x377501=>{const _0x460590=_0x4f0d52;return _0x377501[_0x460590(0x329)](_0x460590(0x342),{'type':'string','description':_0x46260e[_0x460590(0x211)],'demandOption':!![]})[_0x460590(0x209)](_0x46260e[_0x460590(0x264)],{'type':'string','alias':'d','description':_0x460590(0x284)})[_0x460590(0x209)]('scenario',{'type':_0x460590(0x30a),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x46260e['RYgHy'],{'type':_0x46260e['LZSIA'],'hidden':!![]});},async _0x32c9e5=>{const _0x36c843=_0x4f0d52;if(!_0x32c9e5[_0x36c843(0x342)]){console[_0x36c843(0x31d)](_0x46260e[_0x36c843(0x2f6)]+_0x46260e[_0x36c843(0x353)]),process['exit'](0x1);return;}warnFlagRenamed(_0x46260e[_0x36c843(0x282)],_0x46260e[_0x36c843(0x2b7)],_0x36c843(0x2d5));const _0x5b0556=_0x32c9e5[_0x36c843(0x378)]||_0x32c9e5[_0x36c843(0x2a3)];await _0x46260e[_0x36c843(0x1f7)](withTelemetry,_0x46260e[_0x36c843(0x311)],()=>featureCreate(_0x32c9e5['name'],{'description':_0x32c9e5[_0x36c843(0x202)],'scenarios':_0x5b0556}));})[_0x4f0d52(0x2d7)](_0x4f0d52(0x270),_0x46260e[_0x4f0d52(0x23e)],_0x2f77d4=>{const _0xc22758=_0x4f0d52;return _0x2f77d4[_0xc22758(0x209)](_0x46260e[_0xc22758(0x2ae)],{'type':_0x46260e[_0xc22758(0x250)],'description':_0x46260e['lnIDW']})['option'](_0x46260e['NggRn'],{'type':'number','alias':'l','description':_0x46260e[_0xc22758(0x28c)],'default':0xa})[_0xc22758(0x209)](_0x46260e['JQsTG'],{'type':_0xc22758(0x1f3),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0xc22758(0x209)](_0x46260e['zaDAP'],{'type':_0xc22758(0x26a),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x3e1b85=>{const _0x3744db=_0x4f0d52;await withTelemetry('list',()=>featureList({'currentBranch':_0x3e1b85[_0x3744db(0x310)],'limit':_0x3e1b85['limit'],'offset':_0x3e1b85['offset'],'includeDeleted':_0x3e1b85['include-deleted']}));})[_0x4f0d52(0x2d7)]('show\x20[id]',_0x46260e[_0x4f0d52(0x38f)],_0x46b0ed=>{return _0x46b0ed['positional']('id',{'type':_0x46260e['hjXxq'],'description':_0x46260e['unsBr']});},async _0x167db7=>{const _0x484e58=_0x4f0d52;await withTelemetry(_0x484e58(0x37c),()=>featureShow(_0x167db7['id']));})[_0x4f0d52(0x2d7)]('resume\x20[id]',_0x4f0d52(0x302),_0x29840b=>{const _0x589115=_0x4f0d52;return _0x29840b[_0x589115(0x329)]('id',{'type':'string','description':_0x46260e[_0x589115(0x227)]});},async _0x369d51=>{const _0x401af1=_0x4f0d52;await _0x46260e[_0x401af1(0x376)](withTelemetry,_0x401af1(0x1e4),()=>featureResume(_0x369d51['id']));})['command']('add-scenario\x20<description>',_0x4f0d52(0x2c5),_0x3dba4f=>{const _0x2ef6ae=_0x4f0d52;return _0x3dba4f[_0x2ef6ae(0x329)](_0x2ef6ae(0x202),{'type':_0x2ef6ae(0x26d),'description':_0x46260e['BhBGE'],'demandOption':!![]})[_0x2ef6ae(0x209)]('id',{'type':'string','description':_0x46260e['UAcGX']});},async _0x44f374=>{const _0x49f85b=_0x4f0d52;await withTelemetry(_0x49f85b(0x214),()=>featureAddScenario(_0x44f374[_0x49f85b(0x202)],_0x44f374['id']));})['command'](_0x46260e[_0x4f0d52(0x2e3)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4ac948=>{const _0x4c5482=_0x4f0d52;return _0x4ac948['positional'](_0x46260e[_0x4c5482(0x264)],{'type':'string','description':_0x46260e['PCdAB'],'demandOption':!![]})[_0x4c5482(0x209)](_0x4c5482(0x378),{'type':_0x46260e[_0x4c5482(0x29a)],'description':_0x46260e['rharp'],'demandOption':!![]})[_0x4c5482(0x209)]('id',{'type':_0x4c5482(0x26d),'description':_0x46260e['UAcGX']});},async _0x34393d=>{const _0x18a4b2=_0x4f0d52;await _0x46260e[_0x18a4b2(0x37a)](withTelemetry,_0x18a4b2(0x30f),()=>featureEditScenario(_0x34393d[_0x18a4b2(0x202)],{'id':_0x34393d['id'],'scenario':_0x34393d[_0x18a4b2(0x378)]}));})[_0x4f0d52(0x2d7)](_0x46260e[_0x4f0d52(0x263)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x3db055=>{const _0x29d7ef=_0x4f0d52;return _0x3db055['positional']('id',{'type':_0x46260e['hjXxq'],'description':_0x29d7ef(0x312)})[_0x29d7ef(0x209)](_0x46260e[_0x29d7ef(0x2d6)],{'type':_0x29d7ef(0x30a),'description':_0x46260e[_0x29d7ef(0x234)]})['option'](_0x29d7ef(0x374),{'type':_0x29d7ef(0x26a),'description':_0x46260e[_0x29d7ef(0x2f8)],'default':![]});},async _0x476977=>{const _0x4ebac9=_0x4f0d52,_0x2ea622=_0x476977[_0x4ebac9(0x2ce)],_0x4ae775=_0x2ea622?_0x2ea622['map'](_0x621390=>Number(_0x621390)):undefined;await withTelemetry(_0x4ebac9(0x367),()=>featureReportPrDescription(_0x476977['id'],{'excludeScenarios':_0x4ae775,'json':_0x476977['json']}));})[_0x4f0d52(0x2d7)](_0x46260e['cwneS'],_0x46260e['qsODj'],_0x18c1f7=>{const _0x5f0fbf=_0x4f0d52;return _0x18c1f7['positional']('id',{'type':_0x5f0fbf(0x26d),'description':_0x5f0fbf(0x38d)});},async _0x494727=>{const _0x30a749=_0x4f0d52;await _0x46260e['nzkUV'](withTelemetry,_0x46260e[_0x30a749(0x1da)],()=>featureGetReview(_0x494727['id']));})[_0x4f0d52(0x2d7)](_0x46260e['DctWu'],_0x46260e['bJsED'],_0x5c0446=>{const _0x721d0a=_0x4f0d52;return _0x5c0446[_0x721d0a(0x329)]('id',{'type':_0x46260e['hjXxq'],'description':_0x721d0a(0x312)});},async _0x29adf2=>{const _0x56ae97=_0x4f0d52;await withTelemetry(_0x56ae97(0x323),()=>featureDelete(_0x29adf2['id']));})[_0x4f0d52(0x2d7)](_0x46260e[_0x4f0d52(0x23b)],_0x46260e['FyipZ'],_0x1805c1=>{const _0x5726e3=_0x4f0d52;return _0x1805c1['positional']('id',{'type':_0x46260e[_0x5726e3(0x36a)],'description':_0x5726e3(0x2f1),'demandOption':!![]});},async _0x265b27=>{const _0x4c6945=_0x4f0d52;await withTelemetry(_0x4c6945(0x360),()=>featureRestore(_0x265b27['id']));})[_0x4f0d52(0x2d7)](_0x4f0d52(0x210),'Initialize\x20Ranger\x20in\x20your\x20project',_0xcb971a=>{const _0x4e708c=_0x4f0d52,_0x25f59e={'youXh':_0x46260e['Klslc'],'jyJNY':_0x46260e['yhFvc'],'rAVQo':_0x4e708c(0x392),'iaWfW':_0x46260e[_0x4e708c(0x369)],'GQpcL':_0x46260e[_0x4e708c(0x2bb)],'pIyPI':_0x46260e['bnPSw'],'kIfqv':_0x4e708c(0x26d),'JsxfW':_0x4e708c(0x2ff),'QhkQK':_0x46260e[_0x4e708c(0x308)],'Epdtg':'force','pyIwP':_0x46260e['wbXhY'],'VOrRG':_0x46260e[_0x4e708c(0x250)],'cLeDV':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','BPumh':_0x46260e['xsRBg'],'gPDds':_0x46260e['ujAzi'],'tUaok':_0x46260e[_0x4e708c(0x313)],'hxHuj':_0x4e708c(0x283),'DHqLc':_0x4e708c(0x1e5),'aNtiJ':function(_0x8d136,_0x113f65,_0x4501a6){const _0x370e09=_0x4e708c;return _0x46260e[_0x370e09(0x285)](_0x8d136,_0x113f65,_0x4501a6);},'cEPRf':_0x46260e['wPPBj'],'UCTFY':'mcp','VdPzD':_0x4e708c(0x279),'cKpoE':function(_0x69c60c){const _0x2983f5=_0x4e708c;return _0x46260e[_0x2983f5(0x2e9)](_0x69c60c);},'cySRc':_0x4e708c(0x349),'ohgvz':_0x4e708c(0x2fc),'QXZnI':_0x46260e[_0x4e708c(0x25d)],'StTOp':_0x4e708c(0x23a),'OXRrc':function(_0x502c6d,_0x46b898){return _0x502c6d(_0x46b898);},'sCroB':function(_0x27cfa8,_0x1d992c){return _0x27cfa8!==_0x1d992c;},'TOhOj':function(_0x3f2947,_0x3cae9e){const _0x58749c=_0x4e708c;return _0x46260e[_0x58749c(0x244)](_0x3f2947,_0x3cae9e);}};return _0xcb971a['usage'](_0x4e708c(0x242))[_0x4e708c(0x329)]('tokenOrSubcommand',{'type':'string','description':_0x46260e[_0x4e708c(0x268)]})[_0x4e708c(0x2d7)]('all',_0x46260e['zmTrb'],_0x246eb9=>{const _0x3ad3a5=_0x4e708c;return _0x246eb9['option'](_0x25f59e[_0x3ad3a5(0x215)],{'type':'string','description':_0x25f59e[_0x3ad3a5(0x345)]})['option'](_0x25f59e['rAVQo'],{'type':_0x3ad3a5(0x26a),'description':_0x25f59e['iaWfW'],'default':![]})['option'](_0x3ad3a5(0x351),{'type':'boolean','description':_0x25f59e['GQpcL'],'default':![]})['option']('with-deps',{'type':_0x3ad3a5(0x26a),'description':_0x25f59e[_0x3ad3a5(0x281)],'default':![]})[_0x3ad3a5(0x209)](_0x3ad3a5(0x256),{'type':_0x25f59e['kIfqv'],'choices':[_0x25f59e['JsxfW']],'hidden':!![],'description':_0x25f59e['QhkQK']})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x3ad3a5(0x209)](_0x25f59e[_0x3ad3a5(0x229)],{'type':_0x3ad3a5(0x26a),'description':_0x25f59e[_0x3ad3a5(0x315)],'default':![]})[_0x3ad3a5(0x209)]('opencode',{'type':_0x25f59e[_0x3ad3a5(0x1fd)],'description':_0x25f59e['cLeDV'],'default':![]})['option'](_0x25f59e['BPumh'],{'type':_0x3ad3a5(0x26a),'description':_0x25f59e[_0x3ad3a5(0x2c2)],'default':![]})[_0x3ad3a5(0x209)](_0x25f59e[_0x3ad3a5(0x240)],{'type':_0x25f59e[_0x3ad3a5(0x1fd)],'description':_0x3ad3a5(0x1dc),'default':![]})[_0x3ad3a5(0x209)]('mcp',{'type':_0x3ad3a5(0x26a),'description':_0x25f59e[_0x3ad3a5(0x375)],'default':![]});},async _0x2a6f6e=>{const _0x490b8c=_0x4e708c;(_0x2a6f6e[_0x46260e['VXqky']]||_0x2a6f6e[_0x490b8c(0x324)])&&await _0x46260e[_0x490b8c(0x336)](withTelemetry,_0x46260e[_0x490b8c(0x313)],()=>mcpBootstrap()),await withTelemetry(_0x490b8c(0x2dd),_0x35bed7=>start(_0x2a6f6e[_0x490b8c(0x33d)],{'skipChromium':_0x2a6f6e[_0x490b8c(0x392)],'skipAuth':_0x2a6f6e['skip-auth'],'withDeps':_0x2a6f6e['with-deps'],'scope':_0x2a6f6e[_0x490b8c(0x256)],'url':_0x2a6f6e['url'],'force':_0x2a6f6e[_0x490b8c(0x340)],'opencode':_0x2a6f6e[_0x490b8c(0x30c)],'allowInsecureLocalhost':_0x2a6f6e['allow-insecure-localhost']},_0x35bed7));})['command']('deps',_0x4e708c(0x31e),_0x290abd=>{const _0x2a3f8f=_0x4e708c;return _0x290abd[_0x2a3f8f(0x209)](_0x2a3f8f(0x301),{'type':_0x2a3f8f(0x26a),'description':_0x25f59e['DHqLc'],'default':![]});},async _0x2c6e5c=>{const _0x1c0687=_0x4e708c;await _0x25f59e[_0x1c0687(0x307)](withTelemetry,_0x25f59e['cEPRf'],()=>ensureChromium(_0x2c6e5c['with-deps']));})['command'](_0x46260e['DyBmb'],'Authenticate\x20with\x20Ranger',_0x31e20a=>{const _0x14e0de=_0x4e708c;return _0x31e20a['option'](_0x14e0de(0x33d),{'type':'string','description':_0x14e0de(0x1d1)})[_0x14e0de(0x209)](_0x25f59e['UCTFY'],{'type':_0x25f59e['VOrRG'],'description':_0x25f59e['VdPzD'],'default':![]});},async _0x42af3b=>{const _0x554ac6=_0x4e708c;await withTelemetry(_0x25f59e[_0x554ac6(0x328)],async()=>{const _0x31c64b=_0x554ac6;if(_0x42af3b['mcp']){await mcpBootstrap();const _0x191152=await _0x25f59e['cKpoE'](refreshCliToken);if(!_0x191152)throw new Error(_0x25f59e['cySRc']);const _0x2762bc=await getCurrentUser(_0x191152);if(!_0x2762bc['success'])throw new Error(_0x31c64b(0x2c3)+_0x2762bc[_0x31c64b(0x31d)]);console[_0x31c64b(0x2c0)](_0x31c64b(0x213)+_0x2762bc['user'][_0x31c64b(0x1ed)]);return;}await authenticate(_0x42af3b[_0x31c64b(0x33d)]);});})[_0x4e708c(0x2d7)](_0x46260e['SChZH'],_0x46260e[_0x4e708c(0x297)],_0x3ca427=>{const _0x248d63=_0x4e708c;return _0x3ca427[_0x248d63(0x209)](_0x25f59e['QXZnI'],{'type':_0x25f59e[_0x248d63(0x236)],'choices':[_0x25f59e[_0x248d63(0x2f4)],_0x25f59e[_0x248d63(0x28b)]],'description':_0x248d63(0x233)})['option'](_0x248d63(0x30c),{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x9214aa=>{await _0x46260e['nzkUV'](withTelemetry,'setup:skills',async()=>{const _0x123186=_0x5771,_0x2bfa23=_0x9214aa['scope'];if(_0x9214aa['opencode']){const _0x333a5e=await ensureOpencodePluginConfig(_0x2bfa23);_0x333a5e&&await installSkill(_0x123186(0x222),{'level':_0x333a5e[_0x123186(0x256)],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x25f59e[_0x123186(0x254)](ensureClaudePlugin,_0x2bfa23),await ensureClaudeSkills(_0x2bfa23);});})['command']('profiles',_0x46260e[_0x4e708c(0x20f)],_0x4f7a4c=>{const _0x42a21b=_0x4e708c;return _0x4f7a4c[_0x42a21b(0x209)]('scope',{'type':_0x42a21b(0x26d),'choices':['user'],'description':_0x42a21b(0x1fe)})[_0x42a21b(0x209)](_0x42a21b(0x35e),{'type':_0x42a21b(0x26d),'description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x42a21b(0x209)]('skip-auth',{'type':_0x25f59e['VOrRG'],'description':'Skip\x20browser\x20authentication','default':![]})[_0x42a21b(0x209)](_0x42a21b(0x340),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x42a21b(0x209)](_0x25f59e['BPumh'],{'type':_0x25f59e['VOrRG'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x27cc80=>{const _0x338209=_0x4e708c,_0x500418=_0x27cc80[_0x338209(0x256)];_0x500418!==undefined&&_0x25f59e['sCroB'](_0x500418,_0x338209(0x2ff))&&(console[_0x338209(0x31d)](_0x25f59e[_0x338209(0x2cc)](_0x25f59e[_0x338209(0x2cc)]('ranger\x20setup\x20profiles\x20--scope='+_0x500418+_0x338209(0x2c4),_0x338209(0x1d9)),_0x338209(0x28e))),process[_0x338209(0x1de)](0x1)),await withTelemetry(_0x338209(0x208),_0x4f887d=>ensureLocalEnv({'url':_0x27cc80[_0x338209(0x35e)],'force':_0x27cc80[_0x338209(0x340)],'allowInsecureLocalhost':_0x27cc80[_0x338209(0x299)],'scope':_0x338209(0x2ff)},_0x4f887d));})[_0x4e708c(0x209)]('skip-chromium',{'type':_0x4e708c(0x26a),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x46260e[_0x4e708c(0x25d)],{'type':_0x46260e[_0x4e708c(0x36a)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x4e708c(0x209)](_0x4e708c(0x35e),{'type':_0x4e708c(0x26d),'description':_0x46260e[_0x4e708c(0x278)]})['option']('force',{'type':'boolean','description':_0x4e708c(0x29f),'default':![]})['option'](_0x46260e['Bamag'],{'type':'boolean','description':_0x46260e[_0x4e708c(0x1df)],'default':![]})[_0x4e708c(0x209)](_0x46260e['xsRBg'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x46260e[_0x4e708c(0x313)],{'type':_0x4e708c(0x26a),'description':_0x46260e[_0x4e708c(0x382)],'default':![]})[_0x4e708c(0x209)]('skip-auth',{'type':_0x46260e['RndZj'],'description':_0x4e708c(0x25b),'default':![]})[_0x4e708c(0x209)]('with-deps',{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option']('token',{'type':'string','hidden':!![],'description':_0x4e708c(0x1d2)});},async _0x407d69=>{const _0xbce72d=_0x4f0d52,_0x2051d2=_0x407d69[_0xbce72d(0x2cd)],_0x4e70c0=_0x407d69['token']??_0x2051d2;_0x407d69[_0x46260e['VXqky']]&&await withTelemetry(_0xbce72d(0x249),()=>mcpBootstrap()),await withTelemetry(_0xbce72d(0x370),_0x2ba602=>start(_0x4e70c0,{'skipChromium':_0x407d69[_0xbce72d(0x392)],'skipAuth':_0x407d69[_0xbce72d(0x351)],'withDeps':_0x407d69[_0xbce72d(0x301)],'scope':_0x407d69[_0xbce72d(0x256)],'url':_0x407d69['url'],'force':_0x407d69['force'],'opencode':_0x407d69[_0xbce72d(0x30c)],'allowInsecureLocalhost':_0x407d69[_0xbce72d(0x299)]},_0x2ba602));})['command'](_0x46260e['mgwwF'],'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x10ae89=>{const _0x324afa=_0x4f0d52;return _0x10ae89[_0x324afa(0x329)]('token',{'type':'string','description':_0x324afa(0x1f0),'demandOption':!![]})['option']('profile',{'type':_0x46260e[_0x324afa(0x36a)],'description':_0x46260e[_0x324afa(0x2c8)]})['option'](_0x46260e[_0x324afa(0x1e7)],{'type':_0x324afa(0x26d),'description':_0x46260e[_0x324afa(0x265)]})[_0x324afa(0x209)](_0x46260e[_0x324afa(0x396)],{'type':_0x46260e[_0x324afa(0x250)],'description':_0x46260e['LAtTS'],'default':![]});},async _0x52e3b2=>{const _0xef10c5=_0x4f0d52;await withTelemetry(_0x46260e[_0xef10c5(0x21d)],_0x19b475=>setupCi(_0x52e3b2[_0xef10c5(0x33d)],{'profile':_0x52e3b2[_0xef10c5(0x331)],'baseUrl':_0x52e3b2[_0xef10c5(0x1fa)],'skipChromium':_0x52e3b2['skip-chromium']},_0x19b475));})[_0x4f0d52(0x2d7)](_0x4f0d52(0x2f0),_0x46260e['rkJOA'],()=>{},async()=>{await withTelemetry(_0x46260e['DyBmb'],()=>login());})[_0x4f0d52(0x2d7)](_0x46260e[_0x4f0d52(0x2d8)],'Install\x20Ranger\x20skills',_0x9dca0d=>{const _0x29a2e4=_0x4f0d52;return _0x9dca0d['option'](_0x46260e[_0x29a2e4(0x20a)],{'type':_0x29a2e4(0x26a),'description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option'](_0x46260e[_0x29a2e4(0x25d)],{'type':_0x29a2e4(0x26d),'choices':['user',_0x46260e[_0x29a2e4(0x2bd)]],'description':_0x46260e[_0x29a2e4(0x25e)]});},async _0x5d1436=>{const _0x5c7c00=_0x4f0d52,_0x35b0c2=_0x46260e['nOZec'](Boolean,_0x5d1436['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x5d1436['scope'],'platform':_0x35b0c2?_0x5c7c00(0x30c):'claude'}));})[_0x4f0d52(0x2d7)](_0x46260e['Vpxuq'],'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x35cbae=_0x4f0d52;await _0x46260e['nzkUV'](withTelemetry,_0x35cbae(0x300),()=>clean());})[_0x4f0d52(0x2d7)]([_0x46260e[_0x4f0d52(0x306)],_0x4f0d52(0x2a1)],'Manage\x20profiles',_0x5708f3=>{const _0x2836a4=_0x4f0d52,_0x7feaa6={'hzoYh':_0x46260e['TJfAD'],'Zkiux':function(_0x2c9061,_0x51fed4,_0x597d56){return _0x46260e['ZeXSw'](_0x2c9061,_0x51fed4,_0x597d56);},'zKXtB':_0x2836a4(0x377),'aACIN':_0x2836a4(0x320),'sgDKK':_0x46260e['sCuzU'],'MVbDS':_0x46260e[_0x2836a4(0x36a)],'ykJVy':_0x2836a4(0x1cf),'hJBam':_0x46260e[_0x2836a4(0x293)],'pJYJh':_0x2836a4(0x26a),'Xmpbr':_0x2836a4(0x327),'gGqKZ':_0x2836a4(0x355),'BSpex':_0x46260e['XsVEa'],'PNblJ':_0x2836a4(0x20b),'kOSmu':_0x2836a4(0x2c7),'eJcwY':'yes','Pofuw':_0x46260e[_0x2836a4(0x1f6)],'KiPxg':_0x46260e[_0x2836a4(0x272)],'sbadP':_0x46260e[_0x2836a4(0x253)],'HlRBA':_0x46260e[_0x2836a4(0x379)],'ikvpB':'value','vAKcK':'Config\x20value','mLZch':_0x46260e['qSsDp']};return _0x5708f3['usage'](PROFILE_HELP)['command'](_0x46260e[_0x2836a4(0x363)],'Add\x20profile\x20configuration',_0x13293c=>{const _0x3328ac=_0x2836a4;return _0x13293c['positional'](_0x3328ac(0x2c9),{'type':_0x3328ac(0x26d),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x46260e['RndZj'],'description':_0x3328ac(0x36e),'default':![]})['option'](_0x46260e['vbnIW'],{'type':'boolean','description':_0x46260e['LQRqa'],'default':![]})[_0x3328ac(0x209)](_0x3328ac(0x35e),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x3328ac(0x209)](_0x3328ac(0x340),{'type':_0x46260e['RndZj'],'description':_0x46260e[_0x3328ac(0x2fb)],'default':![]})['option'](_0x46260e['DZgxr'],{'type':_0x3328ac(0x26d),'description':_0x3328ac(0x1d8)})['option'](_0x3328ac(0x299),{'type':'boolean','description':_0x3328ac(0x327),'default':![]})[_0x3328ac(0x209)](_0x46260e['GAxCQ'],{'type':_0x46260e['RndZj'],'description':_0x46260e['xbpFd'],'default':![]})[_0x3328ac(0x209)]('setup-header',{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x46260e[_0x3328ac(0x25d)],{'type':_0x46260e['hjXxq'],'choices':[_0x46260e['CLsEX'],_0x46260e[_0x3328ac(0x2bd)]],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x3328ac(0x209)](_0x3328ac(0x305),{'type':_0x46260e['RndZj'],'alias':'y','description':_0x46260e['JGPzi'],'default':![]});},async _0x44c8d0=>{const _0x20d2db=_0x2836a4;await withTelemetry(_0x46260e[_0x20d2db(0x33f)],_0x2e63c3=>addEnv(_0x44c8d0['profile-name'],{'ci':_0x44c8d0['ci'],'skipAuth':_0x44c8d0['skip-auth'],'url':_0x44c8d0['url'],'force':_0x44c8d0[_0x20d2db(0x340)],'cdpEndpoint':_0x44c8d0[_0x20d2db(0x273)],'allowInsecureLocalhost':_0x44c8d0['allow-insecure-localhost'],'safeMode':_0x44c8d0['safe-mode'],'setupHeader':_0x44c8d0['setup-header'],'scope':_0x44c8d0[_0x20d2db(0x256)],'yes':_0x44c8d0['yes']},_0x2e63c3),{'isElectron':_0x46260e[_0x20d2db(0x2da)](Boolean,_0x44c8d0[_0x20d2db(0x273)])});})[_0x2836a4(0x2d7)](_0x46260e[_0x2836a4(0x333)],_0x46260e['nthdC'],_0x659961=>{const _0x4638d8=_0x2836a4;return _0x659961['positional'](_0x4638d8(0x2c9),{'type':'string','description':_0x7feaa6[_0x4638d8(0x2b6)],'demandOption':!![]});},async _0x25a4c5=>{const _0x24707c=_0x2836a4;await _0x7feaa6['Zkiux'](withTelemetry,_0x7feaa6['zKXtB'],()=>useEnv(_0x25a4c5[_0x24707c(0x2c9)]));})[_0x2836a4(0x2d7)](_0x46260e[_0x2836a4(0x34b)],_0x2836a4(0x238),_0x1bb963=>{const _0x4c067f=_0x2836a4;return _0x1bb963[_0x4c067f(0x329)]('profile-name',{'type':'string','description':_0x46260e[_0x4c067f(0x2af)],'demandOption':!![]})['option'](_0x46260e[_0x4c067f(0x206)],{'type':'boolean','alias':'y','description':_0x46260e[_0x4c067f(0x235)],'default':![]});},async _0x3b8d53=>{const _0xebb62c=_0x2836a4;await withTelemetry(_0x7feaa6[_0xebb62c(0x33a)],()=>deleteProfile(_0x3b8d53[_0xebb62c(0x2c9)],{'yes':_0x3b8d53['yes']}));})['command'](_0x2836a4(0x29e),'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x374313=>{const _0x265aaa=_0x2836a4;return _0x374313['positional'](_0x265aaa(0x331),{'type':_0x265aaa(0x26d),'description':'Profile\x20name','demandOption':!![]});},async _0x4113b7=>{await _0x46260e['YsuDY'](withTelemetry,_0x46260e['kXTBL'],()=>authEncrypt(_0x4113b7['profile']));})['command']('ls',_0x46260e[_0x2836a4(0x362)],()=>{},async()=>{const _0x4eddab=_0x2836a4;await _0x7feaa6['Zkiux'](withTelemetry,_0x4eddab(0x266),()=>envList());})['command'](_0x46260e['bzKwL'],_0x46260e['LOwDF'],_0x32e44e=>{const _0x3aff4a=_0x2836a4;return _0x32e44e[_0x3aff4a(0x329)](_0x7feaa6[_0x3aff4a(0x200)],{'type':_0x7feaa6['MVbDS'],'description':_0x7feaa6[_0x3aff4a(0x383)],'demandOption':!![]})[_0x3aff4a(0x209)](_0x7feaa6['hJBam'],{'type':_0x7feaa6[_0x3aff4a(0x33b)],'description':_0x7feaa6['Xmpbr']});},async _0x5721f8=>{const _0x1b5da1=_0x2836a4;await withTelemetry('profile\x20update',_0x3b5b31=>updateEnv(_0x5721f8[_0x1b5da1(0x2c9)],_0x3b5b31,{'allowInsecureLocalhost':_0x5721f8['allow-insecure-localhost']}));})['command']('login\x20<name>',![],_0x39c226=>{const _0x297f05=_0x2836a4;return _0x39c226[_0x297f05(0x329)](_0x297f05(0x342),{'type':_0x7feaa6['MVbDS'],'description':_0x7feaa6[_0x297f05(0x31f)],'demandOption':!![]});},async _0x25df7a=>{const _0x1ec4a2=_0x2836a4;await withTelemetry(_0x1ec4a2(0x2d4),async()=>{const _0x1d1072=_0x1ec4a2,_0x2163d9=process[_0x1d1072(0x23f)]['RANGER_TEST_USERNAME'],_0x3cf58f=process[_0x1d1072(0x23f)]['RANGER_TEST_PASSWORD'];(!_0x2163d9||!_0x3cf58f)&&(console[_0x1d1072(0x31d)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x1ae17f=_0x25df7a['name'],_0x367d27=await serverSideLogin(_0x1ae17f,{'force':!![]});_0x367d27['status']===_0x1d1072(0x2eb)&&(console[_0x1d1072(0x31d)](_0x7feaa6[_0x1d1072(0x2aa)]),process['exit'](0x1)),_0x367d27['status']==='failed'&&(console['error'](_0x1d1072(0x23c)+(_0x367d27[_0x1d1072(0x31d)]??_0x7feaa6['PNblJ'])),_0x367d27[_0x1d1072(0x2a4)]&&console[_0x1d1072(0x31d)](_0x367d27[_0x1d1072(0x2a4)]),process['exit'](0x1)),console[_0x1d1072(0x2c0)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x1ae17f+_0x1d1072(0x277));});})['command'](_0x46260e['gwKaD'],'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x5ca77c=>{const _0x588c7c=_0x2836a4;return _0x5ca77c[_0x588c7c(0x329)](_0x7feaa6['sgDKK'],{'type':_0x7feaa6['MVbDS'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x7feaa6[_0x588c7c(0x31a)],{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x588c7c(0x209)]('dry-run',{'type':'boolean','description':_0x588c7c(0x2e5),'default':![]})[_0x588c7c(0x209)](_0x7feaa6['eJcwY'],{'type':_0x7feaa6['pJYJh'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x588c7c(0x209)](_0x7feaa6['Pofuw'],{'type':_0x7feaa6[_0x588c7c(0x33b)],'description':_0x7feaa6['KiPxg'],'default':![]});},async _0x3fe4fe=>{const _0x2753cc=_0x2836a4;await withTelemetry(_0x46260e['meiGp'],_0x263f23=>migrateProfile({'profileName':_0x3fe4fe['profile-name'],'all':_0x3fe4fe[_0x2753cc(0x2c7)],'dryRun':_0x3fe4fe[_0x2753cc(0x226)],'yes':_0x3fe4fe['yes'],'saveCreds':_0x3fe4fe[_0x2753cc(0x205)]},_0x263f23));})[_0x2836a4(0x2d7)]('config',_0x46260e['brHKr'],_0x2fe0d2=>{const _0x47f6d0=_0x2836a4,_0x94cf60={'dYXKy':function(_0x360d61,_0x3913dd,_0x5c3bda){return _0x360d61(_0x3913dd,_0x5c3bda);},'hXTCf':_0x46260e[_0x47f6d0(0x306)],'goBPM':'Profile\x20name','TYYwO':_0x46260e['yyaKP'],'ImTZs':function(_0x382be4,_0x346688,_0x172b1d){return _0x382be4(_0x346688,_0x172b1d);},'zOZbW':_0x46260e['hjXxq']};return _0x2fe0d2['usage'](PROFILE_CONFIG_HELP)[_0x47f6d0(0x2d7)](_0x47f6d0(0x255),_0x46260e[_0x47f6d0(0x314)],_0x2e9b27=>{const _0x2fa1d2=_0x47f6d0;return _0x2e9b27['positional']('profile',{'type':_0x7feaa6['MVbDS'],'description':'Profile\x20name','demandOption':!![]})[_0x2fa1d2(0x329)](_0x7feaa6['sbadP'],{'type':_0x7feaa6[_0x2fa1d2(0x274)],'description':_0x7feaa6[_0x2fa1d2(0x1ff)],'demandOption':!![]})[_0x2fa1d2(0x329)](_0x7feaa6[_0x2fa1d2(0x248)],{'type':_0x7feaa6[_0x2fa1d2(0x274)],'description':_0x7feaa6['vAKcK'],'demandOption':!![]});},async _0x37ad0a=>{const _0x2b4539=_0x47f6d0;await withTelemetry(_0x2b4539(0x330),()=>configSet(_0x37ad0a[_0x2b4539(0x331)],_0x37ad0a['key'],_0x37ad0a[_0x2b4539(0x365)]));})[_0x47f6d0(0x2d7)](_0x46260e['bfZCP'],_0x46260e['NrtlL'],_0x70f5b6=>{const _0x1037b1=_0x47f6d0;return _0x70f5b6['positional'](_0x7feaa6['mLZch'],{'type':_0x7feaa6['MVbDS'],'description':_0x1037b1(0x21f),'demandOption':!![]})['positional'](_0x7feaa6[_0x1037b1(0x339)],{'type':_0x1037b1(0x26d),'description':_0x1037b1(0x398),'demandOption':!![]});},async _0x159455=>{const _0x33acb9=_0x47f6d0;await _0x94cf60['dYXKy'](withTelemetry,_0x33acb9(0x287),()=>configGet(_0x159455[_0x33acb9(0x331)],_0x159455['key']));})['command'](_0x46260e['FZMIL'],_0x46260e[_0x47f6d0(0x319)],_0x21a00e=>{const _0x6c63cf=_0x47f6d0;return _0x21a00e[_0x6c63cf(0x329)](_0x94cf60['hXTCf'],{'type':_0x6c63cf(0x26d),'description':_0x94cf60[_0x6c63cf(0x384)],'demandOption':!![]});},async _0x5a24ef=>{const _0x3179dc=_0x47f6d0;await withTelemetry(_0x94cf60[_0x3179dc(0x343)],()=>configList(_0x5a24ef[_0x3179dc(0x331)]));})[_0x47f6d0(0x2d7)]('unset\x20<profile>\x20<key>',_0x46260e['rrQBt'],_0xf4662e=>{const _0x3bb67f=_0x47f6d0;return _0xf4662e['positional'](_0x7feaa6['mLZch'],{'type':_0x3bb67f(0x26d),'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x7feaa6[_0x3bb67f(0x274)],'description':_0x3bb67f(0x2be),'demandOption':!![]});},async _0x300891=>{const _0x5691fe=_0x47f6d0;await _0x94cf60[_0x5691fe(0x2ab)](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x300891[_0x5691fe(0x331)],_0x300891['key']));})['command'](_0x46260e[_0x47f6d0(0x2ca)],_0x46260e[_0x47f6d0(0x34c)],_0x3434ce=>{const _0x130bf8=_0x47f6d0;return _0x3434ce[_0x130bf8(0x329)](_0x94cf60['hXTCf'],{'type':_0x94cf60[_0x130bf8(0x2f7)],'description':_0x130bf8(0x21f),'demandOption':!![]});},async _0x99005a=>{await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x99005a['profile']));})[_0x47f6d0(0x1d6)](0x1,_0x46260e[_0x47f6d0(0x325)]);})[_0x2836a4(0x1d6)](0x1,_0x46260e['HbVaK']);})['command']('status',_0x4f0d52(0x397),()=>{},async()=>{await _0x46260e['JstMh'](withTelemetry,'status',()=>status());})['command'](_0x46260e[_0x4f0d52(0x31b)],_0x46260e['HZOPM'],()=>{},async()=>{await _0x46260e['baJzd'](withTelemetry,_0x46260e['SGmFw'],()=>update());})['command']('print-access-token',_0x46260e[_0x4f0d52(0x2f2)],()=>{},async()=>{const _0xbcefd5={'ZvBiF':function(_0x110507){const _0x46388c=_0x5771;return _0x46260e[_0x46388c(0x1cd)](_0x110507);}};await _0x46260e['QCiyq'](withTelemetry,_0x46260e['aYslc'],async()=>{const _0xe3c1a8=_0x5771,_0x182b3d=await _0xbcefd5['ZvBiF'](getToken);if(!_0x182b3d)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0xe3c1a8(0x2c0)](_0x182b3d);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x24b281=>{const _0xdfef5b=_0x4f0d52;return _0x24b281[_0xdfef5b(0x209)]('feature',{'type':_0xdfef5b(0x26d),'description':_0x46260e[_0xdfef5b(0x27a)]})[_0xdfef5b(0x209)](_0x46260e[_0xdfef5b(0x306)],{'type':_0x46260e[_0xdfef5b(0x36a)],'description':_0x46260e[_0xdfef5b(0x252)]})['option'](_0x46260e['MIGGG'],{'type':_0x46260e[_0xdfef5b(0x36a)],'description':_0x46260e[_0xdfef5b(0x224)]})['option']('scenario',{'type':_0x46260e[_0xdfef5b(0x29a)],'description':_0xdfef5b(0x1ce)})['option'](_0x46260e[_0xdfef5b(0x1f9)],{'type':_0x46260e[_0xdfef5b(0x36a)],'description':_0x46260e['zZXnk']})[_0xdfef5b(0x209)](_0x46260e['hDVXT'],{'type':'string','description':_0x46260e['WqrxO']})['option'](_0x46260e['Nbptx'],{'type':_0xdfef5b(0x26d),'description':'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.'})[_0xdfef5b(0x209)]('headed',{'type':'boolean','description':_0x46260e['xBMFS'],'default':![]})['option'](_0x46260e[_0xdfef5b(0x37b)],{'type':_0x46260e[_0xdfef5b(0x36a)],'hidden':!![],'choices':[_0x46260e[_0xdfef5b(0x39a)],_0xdfef5b(0x24b),'blocked',_0x46260e['FeGkc'],'incomplete']})['option'](_0x46260e[_0xdfef5b(0x2a5)],{'type':_0x46260e[_0xdfef5b(0x250)],'hidden':!![]})[_0xdfef5b(0x209)]('env',{'type':_0xdfef5b(0x26d),'hidden':!![]})['option']('task',{'type':_0xdfef5b(0x26d),'hidden':!![]})['option'](_0x46260e['BFmRB'],{'type':_0x46260e['IEmyg'],'hidden':!![]});},async _0x4ae255=>{await _0x46260e['nOZec'](runGoCommand,_0x4ae255);})[_0x4f0d52(0x2d7)]('auth',![],_0x5d1dca=>{const _0x511f08=_0x4f0d52,_0x42c6a7={'XrcLb':_0x46260e['qSsDp'],'ZvxDG':_0x46260e[_0x511f08(0x24c)],'griaI':function(_0xee6bb4,_0x3a4540,_0x48dc36){const _0x2ed16d=_0x511f08;return _0x46260e[_0x2ed16d(0x386)](_0xee6bb4,_0x3a4540,_0x48dc36);},'kvHtl':'ranger\x20auth\x20encrypt','XsMNB':_0x511f08(0x218),'Samgl':function(_0x43af52,_0x16a146){const _0x1d54c1=_0x511f08;return _0x46260e[_0x1d54c1(0x207)](_0x43af52,_0x16a146);}};return _0x5d1dca[_0x511f08(0x2d7)](_0x511f08(0x1d4),![],_0x38b7d7=>{const _0x4997ae=_0x511f08;return _0x38b7d7[_0x4997ae(0x329)](_0x42c6a7[_0x4997ae(0x28d)],{'type':'string','description':_0x42c6a7['ZvxDG'],'demandOption':!![]});},async _0x443219=>{const _0x40b387=_0x511f08;_0x42c6a7['griaI'](warnRenamed,_0x42c6a7['kvHtl'],_0x42c6a7[_0x40b387(0x275)]),await _0x42c6a7[_0x40b387(0x391)](authEncrypt,_0x443219['profile']);})[_0x511f08(0x1d6)](0x1,_0x46260e[_0x511f08(0x2e8)]);},()=>{})['command'](_0x4f0d52(0x1fb),![],_0x152d45=>{const _0x1fe088=_0x4f0d52;return _0x152d45['positional']('token',{'type':_0x46260e[_0x1fe088(0x36a)],'description':_0x1fe088(0x35b)})['option'](_0x1fe088(0x392),{'type':_0x46260e['RndZj'],'description':_0x46260e['HBXyV'],'default':![]})[_0x1fe088(0x209)](_0x46260e[_0x1fe088(0x25d)],{'type':_0x1fe088(0x26d),'choices':[_0x46260e['CLsEX']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x1fe088(0x35e),{'type':_0x46260e['hjXxq'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x46260e[_0x1fe088(0x2ac)],{'type':_0x1fe088(0x26a),'description':_0x46260e['wbXhY'],'default':![]})[_0x1fe088(0x209)]('skip-auth',{'type':_0x46260e[_0x1fe088(0x250)],'description':_0x1fe088(0x2b2),'default':![]})['option'](_0x46260e['vqNzN'],{'type':'boolean','description':_0x1fe088(0x259),'default':![]});},async _0x144b01=>{const _0x58d795=_0x4f0d52;warnRenamed(_0x46260e[_0x58d795(0x372)],'ranger\x20setup'),await withTelemetry(_0x46260e[_0x58d795(0x203)],_0x52522c=>start(_0x144b01[_0x58d795(0x33d)],{'skipChromium':_0x144b01['skip-chromium'],'skipAuth':_0x144b01[_0x58d795(0x351)],'withDeps':_0x144b01[_0x58d795(0x301)],'scope':_0x144b01[_0x58d795(0x256)],'url':_0x144b01[_0x58d795(0x35e)],'force':_0x144b01['force']},_0x52522c));})[_0x4f0d52(0x2d7)](_0x46260e['OxYEY'],![],_0x2d6d90=>{const _0xbe9ce6=_0x4f0d52;return _0x2d6d90[_0xbe9ce6(0x209)](_0xbe9ce6(0x23f),{'type':_0x46260e['hjXxq'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x46260e[_0xbe9ce6(0x2f5)],{'type':_0x46260e['hjXxq'],'description':_0x46260e[_0xbe9ce6(0x288)]})[_0xbe9ce6(0x209)](_0xbe9ce6(0x38b),{'type':'number','description':_0x46260e[_0xbe9ce6(0x1fc)]})[_0xbe9ce6(0x209)]('profile',{'type':_0xbe9ce6(0x26d),'hidden':!![]})['option'](_0x46260e[_0xbe9ce6(0x2bc)],{'type':_0xbe9ce6(0x26d),'hidden':!![]})['option'](_0x46260e[_0xbe9ce6(0x31c)],{'type':_0xbe9ce6(0x1f3),'hidden':!![]})['option']('start-path',{'type':_0x46260e[_0xbe9ce6(0x36a)],'description':_0x46260e['zZXnk']})[_0xbe9ce6(0x209)](_0xbe9ce6(0x1fa),{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x46260e[_0xbe9ce6(0x317)],{'type':_0x46260e['hjXxq'],'hidden':!![]})['option'](_0x46260e['zEKuZ'],{'type':_0x46260e[_0xbe9ce6(0x250)],'hidden':!![],'default':![]})['option'](_0xbe9ce6(0x2bf),{'type':'string','hidden':!![],'choices':[_0x46260e[_0xbe9ce6(0x39a)],_0x46260e['WjhQT'],'blocked',_0x46260e[_0xbe9ce6(0x321)],_0x46260e[_0xbe9ce6(0x21b)]]});},async _0x4c7444=>{await runGoCommand(_0x4c7444,!![]);})['command'](_0x46260e[_0x4f0d52(0x2db)],![],_0x3b0d7b=>{const _0x41f09c=_0x4f0d52;return _0x3b0d7b['positional']('env-name',{'type':_0x41f09c(0x26d),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x46260e[_0x41f09c(0x250)],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x41f09c(0x209)](_0x41f09c(0x351),{'type':_0x46260e['RndZj'],'description':_0x46260e['LQRqa'],'default':![]});},async _0x567314=>{const _0x406da8=_0x4f0d52;_0x46260e['QCiyq'](warnRenamed,'ranger\x20add\x20env',_0x46260e[_0x406da8(0x1cc)]),await withTelemetry(_0x46260e['lJPna'],_0x5f87b5=>addEnv(_0x567314['env-name'],{'ci':_0x567314['ci'],'skipAuth':_0x567314[_0x406da8(0x351)]},_0x5f87b5));})['command']('use\x20<env-name>',![],_0x10659e=>{const _0x5ee43b=_0x4f0d52;return _0x10659e[_0x5ee43b(0x329)](_0x5ee43b(0x1d0),{'type':_0x5ee43b(0x26d),'description':_0x5ee43b(0x2ef),'demandOption':!![]});},async _0x5e876e=>{const _0x2c0c97=_0x4f0d52;_0x46260e[_0x2c0c97(0x35f)](warnRenamed,_0x46260e['jvHqx'],_0x46260e[_0x2c0c97(0x346)]),await withTelemetry('use',()=>useEnv(_0x5e876e[_0x2c0c97(0x1d0)]));})[_0x4f0d52(0x2d7)](_0x46260e['gmHRo'],![],_0xc83173=>{const _0x3e72ef=_0x4f0d52,_0x5eb532={'mmAay':_0x3e72ef(0x26d),'lkfZA':'Environment\x20name','Xiarv':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','rkYxp':_0x46260e[_0x3e72ef(0x2c1)],'OKsId':_0x3e72ef(0x2be)};return _0xc83173[_0x3e72ef(0x2d7)](_0x46260e[_0x3e72ef(0x356)],![],_0x409a82=>{const _0xbe0964=_0x3e72ef;return _0x409a82[_0xbe0964(0x329)](_0xbe0964(0x23f),{'type':_0x5eb532[_0xbe0964(0x2d3)],'description':_0x5eb532['lkfZA'],'demandOption':!![]})[_0xbe0964(0x329)]('key',{'type':_0x5eb532['mmAay'],'description':_0x5eb532['Xiarv'],'demandOption':!![]})['positional'](_0x5eb532['rkYxp'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x1cca6b=>{const _0x5ed2f5=_0x3e72ef;_0x46260e['YsuDY'](warnRenamed,_0x46260e[_0x5ed2f5(0x36b)],_0x5ed2f5(0x1e8)),await withTelemetry(_0x46260e['aIfvX'],()=>configSet(_0x1cca6b['env'],_0x1cca6b['key'],_0x1cca6b[_0x5ed2f5(0x365)]));})['command']('get\x20<env>\x20<key>',![],_0x4752f7=>{const _0x35b476=_0x3e72ef;return _0x4752f7['positional'](_0x46260e['bNhoG'],{'type':_0x46260e[_0x35b476(0x36a)],'description':_0x46260e[_0x35b476(0x1dd)],'demandOption':!![]})['positional'](_0x35b476(0x1f1),{'type':_0x46260e['hjXxq'],'description':_0x46260e['hkVau'],'demandOption':!![]});},async _0x3a7397=>{const _0x10bce3=_0x3e72ef;warnRenamed(_0x46260e[_0x10bce3(0x231)],_0x46260e[_0x10bce3(0x390)]),await withTelemetry(_0x10bce3(0x286),()=>configGet(_0x3a7397[_0x10bce3(0x23f)],_0x3a7397[_0x10bce3(0x1f1)]));})[_0x3e72ef(0x2d7)](_0x3e72ef(0x261),![],_0x5906a6=>{const _0xa8074=_0x3e72ef;return _0x5906a6[_0xa8074(0x329)](_0xa8074(0x23f),{'type':_0x5eb532[_0xa8074(0x2d3)],'description':_0xa8074(0x30e),'demandOption':!![]});},async _0x561c94=>{const _0x12c1ea=_0x3e72ef;warnRenamed('ranger\x20config\x20list',_0x46260e['yWclT']),await withTelemetry(_0x12c1ea(0x280),()=>configList(_0x561c94[_0x12c1ea(0x23f)]));})['command'](_0x46260e['wlfCr'],![],_0x406565=>{const _0x2ab202=_0x3e72ef;return _0x406565['positional'](_0x2ab202(0x23f),{'type':_0x5eb532[_0x2ab202(0x2d3)],'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x2ab202(0x26d),'description':_0x5eb532[_0x2ab202(0x2b9)],'demandOption':!![]});},async _0xd9949=>{const _0x36c90d=_0x3e72ef;_0x46260e['JstMh'](warnRenamed,_0x46260e[_0x36c90d(0x25a)],'ranger\x20profile\x20config\x20unset'),await _0x46260e[_0x36c90d(0x29d)](withTelemetry,_0x46260e[_0x36c90d(0x2d0)],()=>configUnset(_0xd9949[_0x36c90d(0x23f)],_0xd9949[_0x36c90d(0x1f1)]));})[_0x3e72ef(0x1d6)](0x1,_0x46260e['AHPPU']);})[_0x4f0d52(0x2d7)](_0x46260e['bNhoG'],![],_0x18ba16=>{const _0x270f6e=_0x4f0d52,_0x3588a8={'ttlXw':_0x46260e['owlQD'],'OmJME':_0x46260e['dOBms'],'FKvJR':_0x46260e[_0x270f6e(0x399)],'ANXVl':_0x46260e[_0x270f6e(0x36a)]};return _0x18ba16[_0x270f6e(0x2d7)]('ls',![],()=>{},async()=>{const _0x139b96=_0x270f6e;warnRenamed(_0x139b96(0x34f),_0x3588a8['ttlXw']),await withTelemetry(_0x3588a8[_0x139b96(0x34e)],()=>envList());})[_0x270f6e(0x2d7)](_0x270f6e(0x2ad),![],_0x562e92=>{const _0x14be09=_0x270f6e;return _0x562e92[_0x14be09(0x329)](_0x3588a8['FKvJR'],{'type':_0x3588a8[_0x14be09(0x1ef)],'description':_0x14be09(0x27b),'demandOption':!![]});},async _0x1ebfee=>{const _0x211dfd=_0x270f6e;warnRenamed('ranger\x20env\x20update',_0x46260e['NGRSf']),await withTelemetry(_0x211dfd(0x326),_0x1e9b5b=>updateEnv(_0x1ebfee[_0x211dfd(0x1d0)],_0x1e9b5b));})[_0x270f6e(0x1d6)](0x1,_0x270f6e(0x267));})[_0x4f0d52(0x2d7)](_0x46260e[_0x4f0d52(0x246)],![],_0x4a7ce8=>{const _0x2eccb1=_0x4f0d52,_0x39107b={'ZUmxL':function(_0x11e0f7,_0x71b5ab,_0x304f5d){return _0x46260e['QCiyq'](_0x11e0f7,_0x71b5ab,_0x304f5d);},'mcpkn':'ranger\x20feature\x20list','CeJYO':_0x2eccb1(0x2b0),'brFdX':_0x46260e['iORfr'],'ZNMsc':function(_0x3b08cb,_0x1040ab,_0x57ff58){return _0x3b08cb(_0x1040ab,_0x57ff58);},'qdszL':'feature\x20show','MYNua':_0x2eccb1(0x364),'xuZEe':_0x2eccb1(0x38d),'TSPne':_0x46260e['hjXxq'],'rrlKC':function(_0x222d1f,_0x2a48d8,_0x169e29){return _0x222d1f(_0x2a48d8,_0x169e29);},'OSVuF':_0x46260e['pqobr'],'idROd':function(_0x5e0951,_0x21558b,_0x341f81){const _0x3bb170=_0x2eccb1;return _0x46260e[_0x3bb170(0x37a)](_0x5e0951,_0x21558b,_0x341f81);}};return _0x4a7ce8['command']('create\x20<name>',![],_0x1b6722=>{const _0x28c84c=_0x2eccb1;return _0x1b6722[_0x28c84c(0x329)](_0x28c84c(0x342),{'type':_0x28c84c(0x26d),'description':_0x28c84c(0x251),'demandOption':!![]})[_0x28c84c(0x209)](_0x46260e[_0x28c84c(0x264)],{'type':_0x46260e[_0x28c84c(0x36a)],'alias':'d','description':'Feature\x20review\x20description'})[_0x28c84c(0x209)](_0x46260e[_0x28c84c(0x232)],{'type':_0x46260e['LZSIA'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':_0x46260e[_0x28c84c(0x1e9)],'hidden':!![]});},async _0x55bf0f=>{const _0x2146eb=_0x2eccb1;_0x46260e['QogLy'](warnRenamed,_0x46260e['GrexR'],_0x46260e[_0x2146eb(0x282)]),warnFlagRenamed(_0x46260e[_0x2146eb(0x282)],'--checklist',_0x46260e[_0x2146eb(0x1ec)]);const _0x2db32b=_0x55bf0f[_0x2146eb(0x378)]||_0x55bf0f[_0x2146eb(0x2a3)];await withTelemetry(_0x46260e['vFRQg'],()=>featureCreate(_0x55bf0f[_0x2146eb(0x342)],{'description':_0x55bf0f[_0x2146eb(0x202)],'scenarios':_0x2db32b}));})['command'](_0x46260e[_0x2eccb1(0x26f)],![],_0x4a147b=>{const _0x57ba5a=_0x2eccb1;return _0x4a147b[_0x57ba5a(0x209)](_0x46260e[_0x57ba5a(0x2ae)],{'type':_0x46260e['RndZj'],'description':_0x46260e[_0x57ba5a(0x21a)]})['option'](_0x46260e[_0x57ba5a(0x25c)],{'type':_0x57ba5a(0x1f3),'alias':'l','description':_0x46260e[_0x57ba5a(0x28c)],'default':0xa})['option'](_0x46260e[_0x57ba5a(0x303)],{'type':'number','alias':'o','description':_0x57ba5a(0x26b),'default':0x0})['option']('include-deleted',{'type':_0x46260e['RndZj'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x556b5d=>{const _0x3ba619=_0x2eccb1;_0x39107b['ZUmxL'](warnRenamed,_0x39107b[_0x3ba619(0x34a)],_0x39107b[_0x3ba619(0x337)]),await _0x39107b[_0x3ba619(0x22d)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x556b5d['current-branch'],'limit':_0x556b5d['limit'],'offset':_0x556b5d['offset'],'includeDeleted':_0x556b5d['include-deleted']}));})[_0x2eccb1(0x2d7)](_0x2eccb1(0x2b1),![],_0x65ba67=>{return _0x65ba67['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x5437ab=>{const _0x14bbd6=_0x2eccb1;_0x39107b[_0x14bbd6(0x22d)](warnRenamed,_0x14bbd6(0x359),_0x39107b[_0x14bbd6(0x21e)]),await _0x39107b[_0x14bbd6(0x271)](withTelemetry,_0x39107b[_0x14bbd6(0x1db)],()=>featureShow(_0x5437ab['id']));})[_0x2eccb1(0x2d7)](_0x2eccb1(0x1f2),![],_0x3839e6=>{const _0x1b2c7f=_0x2eccb1;return _0x3839e6[_0x1b2c7f(0x329)]('id',{'type':_0x46260e['hjXxq'],'description':_0x46260e[_0x1b2c7f(0x227)]});},async _0x5bf815=>{const _0x565418=_0x2eccb1;_0x46260e[_0x565418(0x24f)](warnRenamed,_0x46260e[_0x565418(0x201)],_0x46260e[_0x565418(0x28f)]),await withTelemetry(_0x46260e['bADJf'],()=>featureResume(_0x5bf815['id']));})['command'](_0x46260e[_0x2eccb1(0x32a)],![],_0x5a2417=>{const _0x17581a=_0x2eccb1;return _0x5a2417['positional']('description',{'type':_0x17581a(0x26d),'description':_0x39107b[_0x17581a(0x35c)],'demandOption':!![]})['option']('id',{'type':'string','description':_0x39107b[_0x17581a(0x2ea)]});},async _0x5603ea=>{const _0x5d404e=_0x2eccb1;_0x46260e['SKPHj'](warnRenamed,_0x5d404e(0x381),_0x5d404e(0x358)),await _0x46260e['DDfap'](withTelemetry,_0x5d404e(0x309),()=>featureAddScenario(_0x5603ea[_0x5d404e(0x202)],_0x5603ea['id']));})[_0x2eccb1(0x2d7)](_0x2eccb1(0x21c),![],_0x17a713=>{return _0x17a713['positional']('id',{'type':_0x39107b['TSPne'],'description':_0x39107b['xuZEe']});},async _0x15d92f=>{const _0x42dcf5=_0x2eccb1;warnRenamed(_0x46260e['bIGjg'],_0x42dcf5(0x22e)),await withTelemetry(_0x46260e[_0x42dcf5(0x371)],()=>featureGetReview(_0x15d92f['id']));})['command'](_0x46260e['DctWu'],![],_0x20e3ed=>{return _0x20e3ed['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x41746a=>{const _0x1d32e9=_0x2eccb1;_0x39107b['ZUmxL'](warnRenamed,_0x1d32e9(0x334),_0x1d32e9(0x20c)),await withTelemetry(_0x1d32e9(0x219),()=>featureDelete(_0x41746a['id']));})['command'](_0x46260e['vHSvB'],![],_0x383102=>{const _0x429e4a=_0x2eccb1;return _0x383102['positional']('id',{'type':_0x46260e['hjXxq'],'description':_0x46260e[_0x429e4a(0x27f)],'demandOption':!![]});},async _0x290ea3=>{const _0x44da3f=_0x2eccb1;_0x39107b[_0x44da3f(0x37d)](warnRenamed,_0x39107b[_0x44da3f(0x230)],'ranger\x20restore'),await _0x39107b[_0x44da3f(0x366)](withTelemetry,'feature\x20restore',()=>featureRestore(_0x290ea3['id']));})[_0x2eccb1(0x1d6)](0x1,_0x46260e[_0x2eccb1(0x373)]);})[_0x4f0d52(0x2d7)](_0x46260e[_0x4f0d52(0x380)],![],_0x1f3107=>{const _0x575c73=_0x4f0d52;return _0x1f3107['command'](_0x46260e[_0x575c73(0x22a)],_0x46260e[_0x575c73(0x223)],_0x9222e4=>{const _0x51c43a=_0x575c73;return _0x9222e4[_0x51c43a(0x209)](_0x46260e[_0x51c43a(0x217)],{'type':_0x46260e[_0x51c43a(0x36a)],'description':_0x46260e['MblVh']});},async _0x4f2bbb=>{const _0x4d8c05=_0x575c73;await withTelemetry(_0x46260e[_0x4d8c05(0x292)],()=>hook(_0x4d8c05(0x2e0),_0x4f2bbb[_0x4d8c05(0x26c)]));})['command'](_0x575c73(0x2e6),'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0xa20835=>{const _0x57a749=_0x575c73;return _0xa20835[_0x57a749(0x209)](_0x46260e['ivsxr'],{'type':_0x46260e[_0x57a749(0x36a)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x51b24d=>{const _0x4b1d38=_0x575c73;await withTelemetry(_0x46260e[_0x4b1d38(0x2b4)],()=>hook(_0x4b1d38(0x2e6),_0x51b24d[_0x4b1d38(0x26c)]));})['option'](_0x575c73(0x342),{'type':_0x46260e[_0x575c73(0x36a)],'description':_0x46260e['xRlKV']})[_0x575c73(0x209)](_0x46260e[_0x575c73(0x217)],{'type':_0x575c73(0x26d),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x190699=>{const _0x1e869d=_0x4f0d52;_0x190699['name']&&await hook(_0x190699[_0x1e869d(0x342)],_0x190699[_0x1e869d(0x26c)]);})['demandCommand'](0x1,_0x4f0d52(0x239))[_0x4f0d52(0x32d)]()['fail'](async(_0x32e26d,_0x11dea8,_0x285189)=>{const _0x5771a9=_0x4f0d52,_0x33a50a=_0x46260e['kfiIx'](sanitizeArgs,process[_0x5771a9(0x344)]['slice'](0x2)),_0x9cd244=getErrorType(_0x32e26d,_0x11dea8);if(_0x32e26d&&_0x32e26d['includes']('Unknown\x20command')){const _0x13b9c8=process[_0x5771a9(0x344)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x13b9c8),console['error'](_0x46260e[_0x5771a9(0x296)]);}else{if(_0x32e26d)console['error']('\x0a'+_0x32e26d+'\x0a');else _0x11dea8&&console['error'](_0x5771a9(0x241)+_0x11dea8[_0x5771a9(0x29c)]+'\x0a');}await logDesirePath({'rawCommand':_0x33a50a,'errorMessage':_0x32e26d||_0x11dea8?.[_0x5771a9(0x29c)],'errorType':_0x9cd244});const _0x1f5df8=_0x46260e['kehNX'](getCurrentCollector);_0x1f5df8&&await _0x1f5df8[_0x5771a9(0x1ea)](_0x11dea8||new Error(_0x32e26d||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x46260e[_0x4f0d52(0x26e)]+_0x46260e[_0x4f0d52(0x2fd)]+_0x46260e['AhfPH'])[_0x4f0d52(0x22f)]()['alias'](_0x46260e['hJYih'],'h');}process[_0x5dded6(0x23f)]['NODE_ENV']!==_0x5dded6(0x295)&&(shouldShowLegacyWarning(process[_0x5dded6(0x344)])&&showLegacyDeprecationWarning(),buildParser()['parse']());