@ranger-testing/ranger-cli 2.5.4-alpha.1f7a251-7 → 2.5.4-alpha.2709b75-22

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 -1
  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 -1
  44. package/build/commands/utils/cloudProfileSession.js +1 -1
  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 -1
  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 -1
  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 -1
  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 -1
  66. package/build/commands/utils/resolveProfileUrl.js +1 -1
  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 +24 -8
  81. package/build/skills/ranger/create.md +16 -3
  82. package/build/skills/ranger/verify.md +37 -18
  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 _0x45d515=_0xe1c5;(function(_0x3a60b2,_0xa34120){const _0x57e8dd=_0xe1c5,_0x36e373=_0x3a60b2();while(!![]){try{const _0x5206ef=-parseInt(_0x57e8dd(0x33e))/0x1+-parseInt(_0x57e8dd(0x2d8))/0x2+parseInt(_0x57e8dd(0x248))/0x3+parseInt(_0x57e8dd(0x31e))/0x4+-parseInt(_0x57e8dd(0x25e))/0x5+parseInt(_0x57e8dd(0x1df))/0x6+parseInt(_0x57e8dd(0x2cf))/0x7*(parseInt(_0x57e8dd(0x255))/0x8);if(_0x5206ef===_0xa34120)break;else _0x36e373['push'](_0x36e373['shift']());}catch(_0x132b7c){_0x36e373['push'](_0x36e373['shift']());}}}(_0x26fe,0x68b68));import _0x59b7c5 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xa7ac6f=_0xe1c5,_0x3bd4a8={'ZgQax':function(_0x2a8397,_0x4a596d,_0x3bba7b){return _0x2a8397(_0x4a596d,_0x3bba7b);},'PAfdt':_0xa7ac6f(0x30f),'JCOAW':'.env'};let _0x5ca55d=process[_0xa7ac6f(0x2a3)]();const _0x5cacfe=parse(_0x5ca55d)['root'];while(_0x5ca55d!==_0x5cacfe){if(existsSync(_0x3bd4a8[_0xa7ac6f(0x284)](join,_0x5ca55d,_0x3bd4a8[_0xa7ac6f(0x22d)]))||existsSync(join(_0x5ca55d,_0x3bd4a8['JCOAW'])))return _0x5ca55d;_0x5ca55d=dirname(_0x5ca55d);}return process['cwd']();}_0x59b7c5['config']({'path':join(findProjectRoot(),_0x45d515(0x1ee))});import _0x5255ae from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';function _0x26fe(){const _0x302c83=['error','start','Base\x20URL\x20of\x20the\x20running\x20app','PiubK','Where\x20to\x20store\x20the\x20profile','CwvVv','description','add-checklist-item\x20<description>','Cenfc','RNkPA','boolean','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','vSlSg','option','Optional\x20feature\x20ID','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x20(effective\x20value\x20for\x20cloud\x20profiles)\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','JLswU','Example:\x20ranger\x20create\x20my-feature','deps','Update\x20authentication\x20for\x20an\x20existing\x20profile','GYbzm','FOOWE','feature\x20restore','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','exitCode','OGNdI','mcp','baRYn','\x20\x20https://docs.ranger.net\x0a','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20feature\x20restore','VPUQf','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','DeNvS','tfyQM','CYibI','2364216sLnbyT','number','Wrivq','GkIqm','update','config\x20get','CRrcm','map','setup:all','teUpf','mMlPr','cdp-endpoint','vZGJy','POuwN','sdWrB','.env','config\x20unset','MZgqY','BoHLu','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','setup:profiles','PLurw','pkcHa','RFbAn','nfklv','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','iZqeC','YQTtt','ranger\x20get-review','name','MPFSD','delete\x20[id]','failed','You\x20must\x20specify\x20an\x20auth\x20subcommand','Skip\x20authentication','setup:deps','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','Unknown\x20command','base-url','kNRLR','WZCUX','print-access-token','QwwGK','sSMkj','repeat','cPdTe','AErmd','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','EwmRv','You\x20must\x20specify\x20a\x20config\x20subcommand','Install\x20Chromium\x20browser\x20binary','get\x20<env>\x20<key>','Kdoad','feature','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','RXBtX','You\x20must\x20specify\x20a\x20command','scope','BNSmV','NHDMO','opencode','hTuGC','env-name','list\x20<env>','\x20INCOMPLETE','sOPqo','Authenticate\x20with\x20Ranger','organizationName','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','ranger\x20profile\x20config\x20unset','wiaHO','--task','FehOy','EGNoc','profile\x20add','set\x20<env>\x20<key>\x20<value>','rfQyG','PAfdt','ranger\x20show','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ckAjA','tSggM','yes','kuAdK','FAkCW','verify-feature','KzXPN','Environment\x20name','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','show\x20[id]','CqUzq','strictCommands','Subcommand\x20or\x20API\x20token\x20(rngr_...)','session-id','MHNFV','edit-scenario\x20<description>','NOeko','vRRAs','limit','offset','Summary:\x20','Remove\x20a\x20config\x20value','UMIgu','XmDPR','1218684BglXJH','env\x20update','version','GjFdr','zwvdf','key','usage','scenario','vSRrh','project','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','safe-mode','rrgaL','80VMzpUv','positional','partial','ecwnS','pOBZx','json','argv','Cloud\x20profile\x20name','notes','2323315VxRlwG','KSpgu','login\x20<name>','Scenario\x20description','Name\x20of\x20the\x20profile\x20to\x20update','List\x20all\x20config\x20for\x20a\x20profile','Skip\x20browser\x20authentication','RlJMs','KjovQ','Unknown\x20error','setup-header','ranger\x20create','array','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','\x20VERIFIED','vHGMH','uJBlt','ranger\x20env\x20ls','bQsjv','yJXhF','XvWqo','verified','gcGgp','tgixr','token','gxHlA','nZaqr','WuaVg','PxaFv','Feature\x20review\x20ID','profiles','pqDqS','env','OBkeZ','rTdzR','trackCommandError','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','ZgQax','List\x20all\x20profiles','QWrpk','--env','TdDCj','kurXv','wkZjz','ranger\x20go','blocked','resume','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','mcp-bootstrap','add\x20env\x20<env-name>','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Umhuv','evaluation','feature\x20get-feedback','task','soyXo','XbNyK','Config\x20key','ranger\x20profile\x20config\x20get','wzJHt','NCdiO','gLlag','ranger\x20profile\x20config\x20list','ggzoS','test','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','wHdxq','scriptName','cwd','AtcUq','rMuqj','Feature\x20review\x20description','ssyDT','exit','kypDb','xmNik','Feature\x20review\x20ID\x20to\x20restore','login','Feature\x20review\x20name','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','lFAFh','value','Fjcfa','Get\x20a\x20config\x20value','string','Dcnto','report','aLpLL','SLjDx','headed','profile\x20migrate','qcOJn','jFRre','dry-run','url','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','start-path','test_output','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','ENUNP','WoOka','not_configured','Install\x20scope\x20for\x20skills','BEYge','xPkLg','rdriY','MffeN','PGgYv','KfkQt','nRRKl','include-deleted','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','326067CYZDjq','oaQdD','DkKDK','user','PsuaG','ranger\x20feature\x20delete','model','poaoi','list\x20<profile>','708462ZoRxup','fqPrH','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','current-branch','Config\x20key\x20to\x20remove','Set\x20up\x20a\x20local\x20browser\x20profile','rvekk','profile\x20config\x20reset','unhandledRejection','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','profile\x20config\x20list','zzFDM','Config\x20value','alias','ranger\x20profile\x20ls','obLyD','CgjAU','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Switch\x20to\x20using\x20a\x20specific\x20profile','get-review\x20[id]','mBpds','HJVji','show','kYupn','Evaluation:\x20','allow-insecure-localhost','WowKr','ranger\x20auth\x20encrypt','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','uVpWA','You\x20must\x20specify\x20an\x20env\x20subcommand','claude','QmCVp','help','skip-auth','Mkrbi','EKnpw','restore\x20<id>','PZeRN','setup-ci','yELyI','resume\x20[id]','McSiA','force','ranger\x20feature\x20create','ranger\x20feature\x20list','profile','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','use\x20<profile-name>','epilogue','oZGpD','ZxuOv','txxiH','eLXsc','ranger\x20start','.ranger','Scenario\x20index\x20(1-based)','BcQMk','Ranger\x20API\x20token','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','add-scenario','profile\x20config\x20get','command','ranger\x20feature\x20show','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','parse','incomplete','AZGLN','kqpGC','305352qjFehE','AtNmI','demandCommand','tMQeE','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ranger\x20env\x20update','SDLOm','Install\x20skills\x20for\x20OpenCode','profile-name','UenXh','ranger\x20profile\x20encrypt-auth','ranger\x20restore','ckMge','WjEah','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','skip-chromium','axaGL','YBeji','--profile','ranger\x20list','qZDaO','profile\x20use','encrypt-auth\x20<profile>','TNmye','WGQWS','exclude-scenario','NflQT','migrate\x20[profile-name]','Profile\x20name','--checklist','QysXq','EtFgy','94614DJFtlq','hUhsQ','create\x20<name>','bfYcE','status','teJaz','MlZXc','tokenOrSubcommand','MhjOV','vmhsR','kvmgO','--notes','message','puqkf','with-deps','ooMzt','ElisN','save-creds','log','get-feedback\x20[id]','skillup','get\x20<profile>\x20<key>','muiKC','summary','NODE_ENV','cnyKZ','mlbOq','item','update\x20<profile-name>','ranger\x20profile\x20config\x20set'];_0x26fe=function(){return _0x302c83;};return _0x26fe();}import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';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'](_0x45d515(0x2e0),async _0x6c7b6d=>{const _0x57eedc=_0x45d515,_0x1f07f3=getCurrentCollector();_0x1f07f3&&await _0x1f07f3['trackCommandError'](_0x6c7b6d),process[_0x57eedc(0x374)]=0x1;});function _0xe1c5(_0x36c94e,_0x4f01f6){_0x36c94e=_0x36c94e-0x1de;const _0x26fe26=_0x26fe();let _0xe1c56c=_0x26fe26[_0x36c94e];return _0xe1c56c;}const rawArgs=process[_0x45d515(0x25b)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x45d515(0x26b),PROFILE_CONFIG_HELP=_0x45d515(0x36b);function warnRenamed(_0x228d8d,_0x383138){const _0x105be8=_0x45d515;console[_0x105be8(0x35c)]('\x0a'+_0x228d8d+'\x20is\x20now\x20'+_0x383138+'\x0a');}function argUsed(_0x49591f){return rawArgs['some'](_0x40046d=>_0x40046d===_0x49591f||_0x40046d['startsWith'](_0x49591f+'='));}function warnFlagRenamed(_0x45d88b,_0x423d3f,_0x3f555f){argUsed(_0x423d3f)&&warnRenamed(_0x45d88b+'\x20'+_0x423d3f,_0x45d88b+'\x20'+_0x3f555f);}async function runGoCommand(_0x338066,_0x4190a5=![]){const _0x47d4e9=_0x45d515,_0xa3c46={'KSpgu':function(_0x3b6d21,_0x368a2d){return _0x3b6d21+_0x368a2d;},'xPkLg':function(_0x2c4701,_0x2136ad,_0x1294f7,_0x2cb7fd){return _0x2c4701(_0x2136ad,_0x1294f7,_0x2cb7fd);},'IsDRl':_0x47d4e9(0x28b),'kbaiH':_0x47d4e9(0x349),'PAhks':function(_0x5e2696,_0x1d5c53,_0x199981,_0x48147e){return _0x5e2696(_0x1d5c53,_0x199981,_0x48147e);},'rvekk':function(_0x132da3){return _0x132da3();},'SDLOm':function(_0x4d329c,_0x3a407e){return _0x4d329c(_0x3a407e);},'BZIPH':_0x47d4e9(0x205),'yFStF':'debug-outcome','fxcPE':'debug-address-comments','cnyKZ':function(_0x3b2a52,_0x4a1623){return _0x3b2a52===_0x4a1623;},'NOeko':_0x47d4e9(0x26d),'McSiA':_0x47d4e9(0x257),'PEfen':_0x47d4e9(0x274)};_0x4190a5&&warnRenamed('ranger\x20verify-feature','ranger\x20go');_0xa3c46[_0x47d4e9(0x2c7)](warnFlagRenamed,_0x47d4e9(0x28b),_0x47d4e9(0x287),_0x47d4e9(0x330)),warnFlagRenamed(_0xa3c46['IsDRl'],_0x47d4e9(0x227),_0xa3c46['kbaiH']),_0xa3c46['PAhks'](warnFlagRenamed,'ranger\x20go','--item','--scenario');const _0x2a371f=await loadRangerConfig(),_0x407d6d=_0xa3c46[_0x47d4e9(0x2de)](isByokEnabled),_0x521022=_0x338066['model'],_0x10b533=_0x2a371f['model'],_0x1a3d6a=await _0xa3c46[_0x47d4e9(0x324)](verifyFeature,{'featureId':_0x338066['feature'],'profile':_0x338066['profile']??_0x338066['env']??process['env']['RANGER_PROFILE'],'notes':_0x338066[_0x47d4e9(0x25d)]??_0x338066[_0x47d4e9(0x295)],'scenario':_0x338066['scenario']??_0x338066['item'],'startPath':_0x338066[_0x47d4e9(0x2bf)],'baseUrl':_0x338066[_0xa3c46['BZIPH']],'debugOutcome':_0x338066[_0xa3c46['yFStF']],'debugAddressComments':_0x338066[_0xa3c46['fxcPE']],'headed':_0x338066[_0x47d4e9(0x2b8)],'byokEnabled':_0x407d6d,'flagVerifyModel':_0x521022,'configVerifyModel':_0x10b533});console[_0x47d4e9(0x350)](_0xa3c46[_0x47d4e9(0x25f)]('\x0a','='[_0x47d4e9(0x20b)](0x3c))),console[_0x47d4e9(0x350)](_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0x47d4e9(0x274))?_0xa3c46[_0x47d4e9(0x240)]:_0x1a3d6a[_0x47d4e9(0x293)]===_0x47d4e9(0x31b)?_0x47d4e9(0x220):_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0xa3c46[_0x47d4e9(0x302)])?'\x20PARTIAL':_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0x47d4e9(0x28c))?'\x20BLOCKED':'\x20FAILED'),console['log']('='['repeat'](0x3c)),console[_0x47d4e9(0x350)](_0x47d4e9(0x244)+_0x1a3d6a[_0x47d4e9(0x355)]),console['log'](_0x47d4e9(0x2f0)+_0x1a3d6a[_0x47d4e9(0x293)]),console[_0x47d4e9(0x350)]('Reason:\x20'+_0x1a3d6a['evaluationReason']),_0x1a3d6a['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x1a3d6a['issues']['forEach']((_0x51aa3b,_0x442a6f)=>{const _0x5b1d6d=_0x47d4e9;console['log']('\x0a'+_0xa3c46['KSpgu'](_0x442a6f,0x1)+'.\x20['+_0x51aa3b['severity']+']\x20'+_0x51aa3b[_0x5b1d6d(0x362)]);})),process[_0x47d4e9(0x2a8)](_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0xa3c46['PEfen'])?0x0:0x1);}export function buildParser(_0x421a87){const _0x379555=_0x45d515,_0x5068f9={'CwvVv':_0x379555(0x1fc),'NCdiO':_0x379555(0x2b3),'LnbYE':'description','kvmgO':_0x379555(0x2a6),'wkZjz':'array','xgVdd':function(_0x239eb8,_0x195521){return _0x239eb8+_0x195521;},'vZGJy':_0x379555(0x36d),'nRRKl':function(_0x217b66,_0x4679c5,_0x3d3a6c,_0x5180cd){return _0x217b66(_0x4679c5,_0x3d3a6c,_0x5180cd);},'dcXPK':_0x379555(0x269),'EKnpw':function(_0x11e27a,_0x2d034a,_0x26a240){return _0x11e27a(_0x2d034a,_0x26a240);},'EPrSz':_0x379555(0x242),'vSlSg':'number','ZymOi':_0x379555(0x243),'WGQWS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','PiubK':'Include\x20soft-deleted\x20feature\x20reviews','FehOy':'list','WuaVg':_0x379555(0x32c),'muiKC':_0x379555(0x261),'bmYMi':_0x379555(0x367),'qcOJn':'New\x20scenario\x20description','kAefr':_0x379555(0x24f),'dnsFj':'edit-scenario','xGxSu':'exclude-scenario','BcQMk':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','WowKr':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','yELyI':'Feature\x20review\x20ID','teJaz':'delete','ckMge':'restore','VPUQf':_0x379555(0x34c),'IUmtZ':_0x379555(0x2be),'UjiAA':'setup:login','KjovQ':'user','HJVji':'project','TYkLX':'Install\x20scope\x20for\x20plugin\x20and\x20skills','mBpds':function(_0x31bf0e,_0x36186e,_0x2b92e7){return _0x31bf0e(_0x36186e,_0x2b92e7);},'tMQeE':'setup:skills','NcEFk':_0x379555(0x201),'uOvRQ':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','zwvdf':'allow-insecure-localhost','FumuL':_0x379555(0x313),'AErmd':'mcp-bootstrap','igTIu':_0x379555(0x376),'UkZyK':'Ranger\x20API\x20token\x20(rngr_...)','mlbOq':function(_0x2bd23a){return _0x2bd23a();},'TdDCj':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','aLpLL':function(_0x158217,_0x3b6031){return _0x158217(_0x3b6031);},'sdWrB':_0x379555(0x21c),'OGNdI':_0x379555(0x360),'gxHlA':_0x379555(0x345),'qdfQL':_0x379555(0x23c),'jGaTy':'Run\x20full\x20interactive\x20setup','ecwnS':_0x379555(0x36e),'EGNoc':_0x379555(0x212),'OHIlC':'skills','RXBtX':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','KMAPx':'skip-chromium','QwwGK':'boolean','bQsjv':_0x379555(0x219),'POuwN':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','PZeRN':_0x379555(0x28e),'kypDb':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','NflQT':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','PxaFv':'API\x20token','itPWX':_0x379555(0x35d),'DAKFm':_0x379555(0x306),'FYnxM':'base-url','YQTtt':function(_0x187cee,_0x261c3a,_0x5afd67){return _0x187cee(_0x261c3a,_0x5afd67);},'yKiQr':_0x379555(0x2ac),'kurXv':_0x379555(0x325),'HbNwZ':'clean','lNipZ':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','uJBlt':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','vSRrh':_0x379555(0x2fa),'rMuqj':_0x379555(0x2bd),'WEinP':'force','DIAWz':_0x379555(0x216),'PwtEI':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','drxbU':_0x379555(0x333),'ElisN':'profile-name','PsuaG':'profile\x20update','vRRAs':_0x379555(0x25c),'tIkvR':_0x379555(0x2e1),'OMbJz':_0x379555(0x2c4),'KfkQt':'profile\x20login','TMYWI':'all','ZGSoR':'dry-run','iZqeC':'Skip\x20interactive\x20confirmation\x20prompts.','kNRLR':_0x379555(0x224),'Kdoad':_0x379555(0x2b9),'xMwkb':_0x379555(0x22a),'RMMFO':function(_0x55ddde,_0x3ce14a){return _0x55ddde(_0x3ce14a);},'QysXq':_0x379555(0x33a),'EtFgy':'unset\x20<profile>\x20<key>','RiMbA':'Add\x20profile\x20configuration','AKyZT':_0x379555(0x308),'yJXhF':_0x379555(0x2ea),'KzXPN':_0x379555(0x334),'Cenfc':_0x379555(0x2e9),'rrgaL':'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','EwmRv':'config','wuzlk':'Manage\x20profile\x20configuration','wHdxq':'You\x20must\x20specify\x20a\x20profile\x20subcommand','baRYn':function(_0x117cf3,_0xccfbe1,_0xbf5fb0){return _0x117cf3(_0xccfbe1,_0xbf5fb0);},'ZxuOv':_0x379555(0x342),'gQXhj':_0x379555(0x215),'Dcnto':_0x379555(0x36a),'Wrivq':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','cqfIA':'notes','yFquq':_0x379555(0x2bf),'MhjOV':_0x379555(0x322),'MPFSD':'model','VGDaC':'headed','hUhsQ':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','mfmkl':'debug-outcome','oRgFf':_0x379555(0x257),'tdyfv':'incomplete','mYsxE':'debug-address-comments','EsmAq':_0x379555(0x2f3),'hTuGC':'token','pKvvd':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UneOC':_0x379555(0x30e),'xmNik':'env','WoOka':function(_0x447511,_0x24a255,_0x480d2d){return _0x447511(_0x24a255,_0x480d2d);},'Lnagc':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','tgixr':'add\x20env','DkKDK':'Name\x20of\x20the\x20environment','JCEDT':'ranger\x20use','VfiGR':'ranger\x20profile\x20use','JLswU':_0x379555(0x237),'tgLqx':'key','XCTof':'ranger\x20config\x20list','TNmye':_0x379555(0x29d),'Fjcfa':function(_0x217200,_0x37fca3,_0x4eb107){return _0x217200(_0x37fca3,_0x4eb107);},'QmCVp':function(_0x4667a8,_0x548945,_0x299955){return _0x4667a8(_0x548945,_0x299955);},'gLlag':_0x379555(0x2dc),'PlHSo':_0x379555(0x22b),'BoHLu':function(_0x24b64c,_0x16af4e,_0x5a4732){return _0x24b64c(_0x16af4e,_0x5a4732);},'oZGpD':_0x379555(0x270),'soyXo':_0x379555(0x2db),'UenXh':_0x379555(0x291),'CgjAU':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','wiKuY':_0x379555(0x331),'cyEIO':_0x379555(0x22e),'YtpmJ':function(_0x33e285,_0x48837e,_0x4aa48b){return _0x33e285(_0x48837e,_0x4aa48b);},'aovCv':'ranger\x20feature\x20add-checklist-item','VLNzK':function(_0x1fab36,_0x39ff9e,_0x503069){return _0x1fab36(_0x39ff9e,_0x503069);},'PuQVn':function(_0x18e218,_0x46e4b4,_0x5b5ddc){return _0x18e218(_0x46e4b4,_0x5b5ddc);},'GjFdr':'ranger\x20feature\x20get-feedback','kqpGC':_0x379555(0x1fb),'HaIuw':function(_0x8a1292,_0x3f357a,_0x3153da){return _0x8a1292(_0x3f357a,_0x3153da);},'cJhfT':_0x379555(0x2ab),'sSMkj':_0x379555(0x283),'MffeN':'ranger\x20feature\x20resume','xuhlm':_0x379555(0x329),'rdriY':function(_0x4179b4,_0xfec77a,_0x252c62){return _0x4179b4(_0xfec77a,_0x252c62);},'WjEah':_0x379555(0x340),'tSggM':_0x379555(0x239),'amHNz':_0x379555(0x351),'yIfiF':_0x379555(0x1fe),'SbfuN':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','rTdzR':function(_0x18c314,_0x55992c,_0x428bb6){return _0x18c314(_0x55992c,_0x428bb6);},'Umhuv':'hook:enable','pOBZx':'enable','UMIgu':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','zzFDM':'disable','iEAnd':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','bANni':_0x379555(0x2f4),'teUpf':'session-id','pqDqS':function(_0x120912,_0x4e5832,_0x24d25a){return _0x120912(_0x4e5832,_0x24d25a);},'Zxbkd':function(_0x18cfbb,_0x303932){return _0x18cfbb(_0x303932);},'BNSmV':_0x379555(0x204),'puqkf':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','YfxrP':'List\x20all\x20feature\x20reviews','lYhKL':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','AtcUq':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','NOYRv':'report\x20[id]','CqUzq':_0x379555(0x2eb),'nlMVX':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','scPsn':'Restore\x20a\x20soft-deleted\x20feature\x20review','GYbzm':'Initialize\x20Ranger\x20in\x20your\x20project','FCtkn':_0x379555(0x203),'RMbCZ':_0x379555(0x352),'mMlPr':'Install\x20Ranger\x20skills','ylbBe':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','RNkPA':_0x379555(0x27d),'jFRre':'Manage\x20profiles','nZaqr':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','lFAFh':'update','NrljG':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','eLXsc':_0x379555(0x20f),'bgiYl':'start\x20[token]','FOOWE':'hook','oaQdD':_0x379555(0x378),'ebUTt':'help'};return _0x5255ae(_0x421a87??process[_0x379555(0x25b)]['slice'](0x2))[_0x379555(0x2a2)]('ranger')['usage'](TOP_LEVEL_HELP)[_0x379555(0x24a)](_0x5068f9[_0x379555(0x358)](getCurrentVersion))[_0x379555(0x316)](_0x5068f9[_0x379555(0x32b)],_0x5068f9[_0x379555(0x34b)],_0x8effd4=>{const _0x3eb763=_0x379555;return _0x8effd4['positional'](_0x5068f9[_0x3eb763(0x361)],{'type':_0x5068f9['NCdiO'],'description':_0x3eb763(0x2ad),'demandOption':!![]})['option'](_0x5068f9['LnbYE'],{'type':'string','alias':'d','description':_0x5068f9['kvmgO']})[_0x3eb763(0x369)](_0x3eb763(0x24f),{'type':_0x5068f9[_0x3eb763(0x28a)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x3eb763(0x369)]('checklist',{'type':_0x5068f9['wkZjz'],'hidden':!![]});},async _0x3e3217=>{const _0x4c109c=_0x379555;if(!_0x3e3217[_0x4c109c(0x1fc)]){console['error'](_0x5068f9['xgVdd']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x5068f9[_0x4c109c(0x1eb)])),process['exit'](0x1);return;}_0x5068f9[_0x4c109c(0x2cc)](warnFlagRenamed,_0x5068f9['dcXPK'],_0x4c109c(0x33b),'--scenario');const _0x10d663=_0x3e3217[_0x4c109c(0x24f)]||_0x3e3217['checklist'];await _0x5068f9['EKnpw'](withTelemetry,'create',()=>featureCreate(_0x3e3217[_0x4c109c(0x1fc)],{'description':_0x3e3217['description'],'scenarios':_0x10d663}));})['command']('list',_0x5068f9['YfxrP'],_0x1cb0d6=>{const _0x4cd552=_0x379555;return _0x1cb0d6['option']('current-branch',{'type':_0x4cd552(0x366),'description':_0x4cd552(0x291)})[_0x4cd552(0x369)](_0x5068f9['EPrSz'],{'type':_0x5068f9[_0x4cd552(0x368)],'alias':'l','description':_0x4cd552(0x379),'default':0xa})['option'](_0x5068f9['ZymOi'],{'type':'number','alias':'o','description':_0x5068f9[_0x4cd552(0x336)],'default':0x0})[_0x4cd552(0x369)](_0x4cd552(0x2cd),{'type':_0x4cd552(0x366),'alias':'d','description':_0x5068f9[_0x4cd552(0x35f)],'default':![]});},async _0x7a822e=>{const _0x4fcbbc=_0x379555;await withTelemetry(_0x5068f9['FehOy'],()=>featureList({'currentBranch':_0x7a822e['current-branch'],'limit':_0x7a822e[_0x4fcbbc(0x242)],'offset':_0x7a822e['offset'],'includeDeleted':_0x7a822e[_0x4fcbbc(0x2cd)]}));})[_0x379555(0x316)](_0x379555(0x239),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x58817a=>{const _0x5b5c52=_0x379555;return _0x58817a[_0x5b5c52(0x256)]('id',{'type':_0x5b5c52(0x2b3),'description':'Feature\x20review\x20ID'});},async _0x1daf78=>{const _0x1451c9=_0x379555;await withTelemetry(_0x1451c9(0x2ee),()=>featureShow(_0x1daf78['id']));})['command'](_0x379555(0x301),_0x5068f9['lYhKL'],_0x41970a=>{const _0x50db94=_0x379555;return _0x41970a[_0x50db94(0x256)]('id',{'type':_0x5068f9[_0x50db94(0x29b)],'description':_0x5068f9[_0x50db94(0x27a)]});},async _0x1542db=>{const _0x218460=_0x379555;await withTelemetry(_0x218460(0x28d),()=>featureResume(_0x1542db['id']));})['command']('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x834622=>{const _0xa6fb=_0x379555;return _0x834622['positional']('description',{'type':_0x5068f9[_0xa6fb(0x29b)],'description':_0x5068f9[_0xa6fb(0x354)],'demandOption':!![]})['option']('id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['bmYMi']});},async _0x3d9d06=>{const _0x17389a=_0x379555;await withTelemetry(_0x17389a(0x314),()=>featureAddScenario(_0x3d9d06[_0x17389a(0x362)],_0x3d9d06['id']));})[_0x379555(0x316)](_0x379555(0x23f),_0x5068f9[_0x379555(0x2a4)],_0x4f16a7=>{const _0xda500b=_0x379555;return _0x4f16a7['positional'](_0xda500b(0x362),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0xda500b(0x2ba)],'demandOption':!![]})[_0xda500b(0x369)](_0x5068f9['kAefr'],{'type':_0xda500b(0x1e0),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['bmYMi']});},async _0x5a0aa3=>{const _0x40904c=_0x379555;await withTelemetry(_0x5068f9['dnsFj'],()=>featureEditScenario(_0x5a0aa3['description'],{'id':_0x5a0aa3['id'],'scenario':_0x5a0aa3[_0x40904c(0x24f)]}));})[_0x379555(0x316)](_0x5068f9['NOYRv'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x23d87b=>{const _0x4035da=_0x379555;return _0x23d87b[_0x4035da(0x256)]('id',{'type':'string','description':_0x4035da(0x27c)})['option'](_0x5068f9['xGxSu'],{'type':'array','description':_0x5068f9[_0x4035da(0x311)]})[_0x4035da(0x369)](_0x4035da(0x25a),{'type':_0x4035da(0x366),'description':_0x5068f9[_0x4035da(0x2f2)],'default':![]});},async _0x29f574=>{const _0x55fad7=_0x379555,_0x489b73=_0x29f574[_0x55fad7(0x337)],_0x9150f3=_0x489b73?_0x489b73[_0x55fad7(0x1e6)](_0x3b5eec=>Number(_0x3b5eec)):undefined;await withTelemetry(_0x55fad7(0x2b5),()=>featureReportPrDescription(_0x29f574['id'],{'excludeScenarios':_0x9150f3,'json':_0x29f574[_0x55fad7(0x25a)]}));})[_0x379555(0x316)](_0x5068f9[_0x379555(0x23a)],_0x5068f9['nlMVX'],_0x421770=>{const _0xf1080b=_0x379555;return _0x421770['positional']('id',{'type':_0xf1080b(0x2b3),'description':_0xf1080b(0x367)});},async _0x347ed7=>{await _0x5068f9['EKnpw'](withTelemetry,'get-review',()=>featureGetReview(_0x347ed7['id']));})['command'](_0x379555(0x1fe),_0x379555(0x2ce),_0x2d890f=>{const _0x359d1f=_0x379555;return _0x2d890f[_0x359d1f(0x256)]('id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['yELyI']});},async _0x468477=>{const _0x116311=_0x379555;await withTelemetry(_0x5068f9[_0x116311(0x343)],()=>featureDelete(_0x468477['id']));})[_0x379555(0x316)](_0x379555(0x2fd),_0x5068f9['scPsn'],_0x56d074=>{const _0x31b83d=_0x379555;return _0x56d074[_0x31b83d(0x256)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x4e2227=>{const _0x213d4c=_0x379555;await _0x5068f9['EKnpw'](withTelemetry,_0x5068f9[_0x213d4c(0x32a)],()=>featureRestore(_0x4e2227['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x5068f9[_0x379555(0x370)],_0x1eb2cd=>{const _0x59c467=_0x379555,_0x3a3b84={'LscLF':_0x59c467(0x277),'RlJMs':_0x5068f9[_0x59c467(0x29b)],'flwaa':_0x5068f9['NcEFk'],'GkIqm':_0x5068f9['uOvRQ'],'tfyQM':_0x5068f9['KjovQ'],'StJya':_0x59c467(0x2bd),'AtNmI':_0x59c467(0x303),'qZDaO':_0x59c467(0x366),'iJwoB':_0x59c467(0x20e),'bfYcE':_0x5068f9[_0x59c467(0x24c)],'CDWsW':_0x5068f9['FumuL'],'PGgYv':_0x5068f9['AErmd'],'WZCUX':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','nfklv':_0x5068f9['igTIu'],'TQuzH':function(_0x136855,_0xd02a80,_0x166ed9){return _0x136855(_0xd02a80,_0x166ed9);},'jSoOy':_0x5068f9['UkZyK'],'sOPqo':'Authenticate\x20via\x20MCP\x20proxy','bDoDM':function(_0x28cae9){return _0x5068f9['mlbOq'](_0x28cae9);},'TwIEe':_0x5068f9[_0x59c467(0x288)],'QCneS':function(_0x49c4c4,_0x505347){return _0x5068f9['aLpLL'](_0x49c4c4,_0x505347);},'DeNvS':function(_0x48cafa,_0x239743){return _0x5068f9['aLpLL'](_0x48cafa,_0x239743);},'pMAAD':_0x5068f9[_0x59c467(0x1ed)],'wZSNw':'project','AZGLN':_0x5068f9[_0x59c467(0x375)]};return _0x1eb2cd['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x59c467(0x256)](_0x5068f9[_0x59c467(0x278)],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['qdfQL']})['command']('all',_0x5068f9['jGaTy'],_0x490154=>{const _0x994e7f=_0x59c467;return _0x490154[_0x994e7f(0x369)](_0x3a3b84['LscLF'],{'type':_0x3a3b84['RlJMs'],'description':_0x994e7f(0x312)})['option'](_0x994e7f(0x32d),{'type':_0x994e7f(0x366),'description':_0x994e7f(0x37a),'default':![]})[_0x994e7f(0x369)]('skip-auth',{'type':'boolean','description':_0x3a3b84['flwaa'],'default':![]})['option']('with-deps',{'type':_0x994e7f(0x366),'description':_0x3a3b84[_0x994e7f(0x1e2)],'default':![]})['option']('scope',{'type':_0x3a3b84[_0x994e7f(0x265)],'choices':[_0x3a3b84[_0x994e7f(0x37f)],'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x994e7f(0x369)](_0x3a3b84['StJya'],{'type':_0x3a3b84[_0x994e7f(0x265)],'description':_0x994e7f(0x307)})['option'](_0x3a3b84[_0x994e7f(0x31f)],{'type':_0x3a3b84['qZDaO'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x994e7f(0x369)](_0x994e7f(0x21c),{'type':_0x3a3b84[_0x994e7f(0x332)],'description':_0x3a3b84['iJwoB'],'default':![]})['option'](_0x3a3b84[_0x994e7f(0x341)],{'type':'boolean','description':_0x3a3b84['CDWsW'],'default':![]})['option'](_0x3a3b84[_0x994e7f(0x2ca)],{'type':_0x994e7f(0x366),'description':_0x3a3b84[_0x994e7f(0x207)],'default':![]})[_0x994e7f(0x369)](_0x3a3b84[_0x994e7f(0x1f7)],{'type':_0x994e7f(0x366),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x56b8b1=>{const _0x38f5ae=_0x59c467;(_0x56b8b1['mcp-bootstrap']||_0x56b8b1['mcp'])&&await withTelemetry(_0x3a3b84[_0x38f5ae(0x2ca)],()=>mcpBootstrap()),await _0x3a3b84['TQuzH'](withTelemetry,_0x38f5ae(0x1e7),_0x2cfd85=>start(_0x56b8b1['token'],{'skipChromium':_0x56b8b1[_0x38f5ae(0x32d)],'skipAuth':_0x56b8b1[_0x38f5ae(0x2fa)],'withDeps':_0x56b8b1[_0x38f5ae(0x34c)],'scope':_0x56b8b1['scope'],'url':_0x56b8b1['url'],'force':_0x56b8b1['force'],'opencode':_0x56b8b1[_0x38f5ae(0x21c)],'allowInsecureLocalhost':_0x56b8b1['allow-insecure-localhost']},_0x2cfd85));})[_0x59c467(0x316)](_0x5068f9[_0x59c467(0x258)],_0x5068f9[_0x59c467(0x229)],_0x4e6bc2=>{const _0x5a885a=_0x59c467;return _0x4e6bc2[_0x5a885a(0x369)](_0x5068f9[_0x5a885a(0x37c)],{'type':'boolean','description':_0x5068f9['IUmtZ'],'default':![]});},async _0x19e0e9=>{const _0x3e38ba=_0x59c467;await withTelemetry(_0x3e38ba(0x202),()=>ensureChromium(_0x19e0e9[_0x3e38ba(0x34c)]));})['command'](_0x59c467(0x2ac),_0x59c467(0x222),_0x48164c=>{const _0x3dd0af=_0x59c467;return _0x48164c[_0x3dd0af(0x369)](_0x3dd0af(0x277),{'type':'string','description':_0x3a3b84['jSoOy']})[_0x3dd0af(0x369)](_0x3a3b84[_0x3dd0af(0x1f7)],{'type':_0x3dd0af(0x366),'description':_0x3a3b84[_0x3dd0af(0x221)],'default':![]});},async _0x50a906=>{await withTelemetry(_0x5068f9['UjiAA'],async()=>{const _0x14255f=_0xe1c5;if(_0x50a906['mcp']){await mcpBootstrap();const _0x4e5931=await _0x3a3b84['bDoDM'](refreshCliToken);if(!_0x4e5931)throw new Error(_0x3a3b84['TwIEe']);const _0x552966=await _0x3a3b84['QCneS'](getCurrentUser,_0x4e5931);if(!_0x552966['success'])throw new Error(_0x14255f(0x2da)+_0x552966['error']);console[_0x14255f(0x350)]('✓\x20Authenticated\x20to\x20'+_0x552966['user'][_0x14255f(0x223)]);return;}await _0x3a3b84[_0x14255f(0x37e)](authenticate,_0x50a906['token']);});})[_0x59c467(0x316)](_0x5068f9['OHIlC'],_0x5068f9[_0x59c467(0x217)],_0x4314e=>{const _0xf4fa97=_0x59c467;return _0x4314e[_0xf4fa97(0x369)]('scope',{'type':'string','choices':[_0x5068f9[_0xf4fa97(0x266)],_0x5068f9[_0xf4fa97(0x2ed)]],'description':_0x5068f9['TYkLX']})[_0xf4fa97(0x369)](_0xf4fa97(0x21c),{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x5e47ff=>{const _0x43f46a=_0x59c467;await _0x5068f9['mBpds'](withTelemetry,_0x5068f9[_0x43f46a(0x321)],async()=>{const _0x1387f2=_0x43f46a,_0x1fdf0d=_0x5e47ff[_0x1387f2(0x219)];if(_0x5e47ff[_0x1387f2(0x21c)]){const _0x2e3dcc=await ensureOpencodePluginConfig(_0x1fdf0d);_0x2e3dcc&&await installSkill('ranger',{'level':_0x2e3dcc['scope'],'cliVersion':getCurrentVersion(),'platform':_0x3a3b84['pMAAD']});}else await ensureClaudePlugin(_0x1fdf0d),await ensureClaudeSkills(_0x1fdf0d);});})[_0x59c467(0x316)](_0x59c467(0x27d),_0x59c467(0x2dd),_0x51c21c=>{const _0x498513=_0x59c467;return _0x51c21c[_0x498513(0x369)]('scope',{'type':_0x3a3b84['RlJMs'],'choices':['user',_0x3a3b84['wZSNw']],'description':_0x3a3b84[_0x498513(0x31c)]})[_0x498513(0x369)](_0x498513(0x2bd),{'type':_0x3a3b84[_0x498513(0x265)],'description':_0x498513(0x35e)})['option']('skip-auth',{'type':'boolean','description':_0x498513(0x264),'default':![]})['option'](_0x3a3b84['AtNmI'],{'type':_0x3a3b84[_0x498513(0x332)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x498513(0x2f1),{'type':_0x3a3b84['qZDaO'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x41b0f6=>{const _0x4a2523=_0x59c467;await _0x5068f9['EKnpw'](withTelemetry,_0x4a2523(0x1f3),_0x4fce8d=>ensureLocalEnv({'url':_0x41b0f6['url'],'force':_0x41b0f6['force'],'allowInsecureLocalhost':_0x41b0f6[_0x4a2523(0x2f1)],'scope':_0x41b0f6['scope']===_0x4a2523(0x2d2)?'user':undefined},_0x4fce8d));})[_0x59c467(0x369)](_0x5068f9['KMAPx'],{'type':_0x5068f9['QwwGK'],'description':_0x59c467(0x37a),'default':![]})['option'](_0x5068f9['bQsjv'],{'type':_0x5068f9[_0x59c467(0x29b)],'choices':[_0x5068f9[_0x59c467(0x266)],_0x5068f9[_0x59c467(0x2ed)]],'description':_0x5068f9[_0x59c467(0x1ec)]})[_0x59c467(0x369)]('url',{'type':'string','description':_0x5068f9[_0x59c467(0x2fe)]})['option'](_0x59c467(0x303),{'type':_0x59c467(0x366),'description':_0x5068f9[_0x59c467(0x2a9)],'default':![]})['option']('opencode',{'type':_0x5068f9[_0x59c467(0x209)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x59c467(0x2f1),{'type':_0x59c467(0x366),'description':_0x5068f9[_0x59c467(0x338)],'default':![]})['option'](_0x59c467(0x28f),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x59c467(0x369)](_0x59c467(0x2fa),{'type':_0x5068f9['QwwGK'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x59c467(0x34c),{'type':'boolean','description':_0x5068f9['IUmtZ'],'default':![]})[_0x59c467(0x369)](_0x59c467(0x277),{'type':_0x59c467(0x2b3),'hidden':!![],'description':_0x5068f9[_0x59c467(0x27b)]});},async _0x5ea334=>{const _0x47c6f4=_0x379555,_0x5a26de=_0x5ea334[_0x47c6f4(0x345)],_0x5f4513=_0x5ea334[_0x47c6f4(0x277)]??_0x5a26de;_0x5ea334[_0x5068f9[_0x47c6f4(0x20d)]]&&await _0x5068f9['mBpds'](withTelemetry,_0x5068f9[_0x47c6f4(0x20d)],()=>mcpBootstrap()),await withTelemetry(_0x5068f9['itPWX'],_0x7289b8=>start(_0x5f4513,{'skipChromium':_0x5ea334[_0x47c6f4(0x32d)],'skipAuth':_0x5ea334['skip-auth'],'withDeps':_0x5ea334[_0x47c6f4(0x34c)],'scope':_0x5ea334[_0x47c6f4(0x219)],'url':_0x5ea334['url'],'force':_0x5ea334[_0x47c6f4(0x303)],'opencode':_0x5ea334[_0x47c6f4(0x21c)],'allowInsecureLocalhost':_0x5ea334[_0x47c6f4(0x2f1)]},_0x7289b8));})['command']('setup-ci\x20<token>',_0x5068f9['FCtkn'],_0x1f3467=>{const _0x3cfedb=_0x379555;return _0x1f3467[_0x3cfedb(0x256)]('token',{'type':_0x3cfedb(0x2b3),'description':_0x3cfedb(0x312),'demandOption':!![]})[_0x3cfedb(0x369)](_0x5068f9['DAKFm'],{'type':_0x3cfedb(0x2b3),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x3cfedb(0x369)](_0x5068f9['FYnxM'],{'type':_0x5068f9['NCdiO'],'description':_0x3cfedb(0x1f2)})[_0x3cfedb(0x369)](_0x5068f9['KMAPx'],{'type':_0x5068f9['QwwGK'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x1cf98c=>{const _0xadd431=_0x379555;await _0x5068f9['mBpds'](withTelemetry,_0xadd431(0x2ff),_0x42d870=>setupCi(_0x1cf98c[_0xadd431(0x277)],{'profile':_0x1cf98c[_0xadd431(0x306)],'baseUrl':_0x1cf98c[_0xadd431(0x205)],'skipChromium':_0x1cf98c['skip-chromium']},_0x42d870));})[_0x379555(0x316)](_0x379555(0x2ac),_0x379555(0x319),()=>{},async()=>{const _0x316d97=_0x379555;await _0x5068f9[_0x316d97(0x1fa)](withTelemetry,_0x5068f9['yKiQr'],()=>login());})[_0x379555(0x316)](_0x5068f9['RMbCZ'],_0x5068f9[_0x379555(0x1e9)],_0x45af52=>{const _0x1f1d10=_0x379555;return _0x45af52['option']('opencode',{'type':'boolean','description':_0x5068f9[_0x1f1d10(0x289)],'default':![]})['option'](_0x5068f9[_0x1f1d10(0x271)],{'type':_0x5068f9[_0x1f1d10(0x29b)],'choices':[_0x5068f9['KjovQ'],_0x5068f9['HJVji']],'description':_0x1f1d10(0x2c5)});},async _0x3d8329=>{const _0x3beecf=_0x379555,_0x445a01=Boolean(_0x3d8329[_0x3beecf(0x21c)]);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x3d8329[_0x3beecf(0x219)],'platform':_0x445a01?'opencode':_0x3beecf(0x2f7)}));})[_0x379555(0x316)]('clean',_0x5068f9['ylbBe'],()=>{},async()=>{await withTelemetry(_0x5068f9['HbNwZ'],()=>clean());})['command']([_0x5068f9['DAKFm'],_0x5068f9[_0x379555(0x365)]],_0x5068f9[_0x379555(0x2bb)],_0x4c6a9b=>{const _0x93579e=_0x379555,_0x273b8f={'fqPrH':_0x5068f9['xMwkb'],'WGRfX':function(_0x4081d5,_0x2ea62f){return _0x5068f9['RMMFO'](_0x4081d5,_0x2ea62f);},'FAkCW':'profile-name','LzXEA':_0x93579e(0x2b3),'HMVaj':'Name\x20of\x20the\x20profile','wzJHt':function(_0x25012c,_0x3dd89f,_0x58c9af){return _0x25012c(_0x3dd89f,_0x58c9af);},'XmDPR':'profile\x20ls','OBkeZ':_0x5068f9[_0x93579e(0x33c)],'YBeji':'key','wVgGb':'profile','obLyD':function(_0xfc63ac,_0x170fb7,_0x5d7316){return _0x5068f9['YQTtt'](_0xfc63ac,_0x170fb7,_0x5d7316);},'cPdTe':_0x93579e(0x2e2),'RFbAn':function(_0x578bd0,_0x1eb807,_0x480c58){const _0x26c196=_0x93579e;return _0x5068f9[_0x26c196(0x2ec)](_0x578bd0,_0x1eb807,_0x480c58);},'fJQFE':'profile\x20config\x20unset','cIqFx':'Set\x20a\x20config\x20value','eseGe':_0x5068f9[_0x93579e(0x33d)],'clRjP':_0x93579e(0x245)};return _0x4c6a9b['usage'](PROFILE_HELP)[_0x93579e(0x316)]('add\x20<profile-name>',_0x5068f9['RiMbA'],_0x25d116=>{const _0x5e8b4a=_0x93579e;return _0x25d116['positional'](_0x5e8b4a(0x326),{'type':_0x5e8b4a(0x2b3),'description':_0x5068f9['lNipZ'],'demandOption':!![]})['option']('ci',{'type':_0x5068f9[_0x5e8b4a(0x209)],'description':_0x5068f9[_0x5e8b4a(0x26f)],'default':![]})['option'](_0x5068f9[_0x5e8b4a(0x250)],{'type':_0x5e8b4a(0x366),'description':_0x5e8b4a(0x2ae),'default':![]})['option'](_0x5068f9[_0x5e8b4a(0x2a5)],{'type':_0x5e8b4a(0x2b3),'description':_0x5e8b4a(0x26c)})[_0x5e8b4a(0x369)](_0x5068f9['WEinP'],{'type':_0x5e8b4a(0x366),'description':_0x5068f9[_0x5e8b4a(0x2a9)],'default':![]})[_0x5e8b4a(0x369)](_0x5e8b4a(0x1ea),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['DIAWz']})['option'](_0x5e8b4a(0x2f1),{'type':_0x5068f9[_0x5e8b4a(0x209)],'description':_0x5e8b4a(0x373),'default':![]})[_0x5e8b4a(0x369)]('safe-mode',{'type':_0x5e8b4a(0x366),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x5e8b4a(0x369)](_0x5e8b4a(0x268),{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})[_0x5e8b4a(0x369)](_0x5e8b4a(0x219),{'type':_0x5e8b4a(0x2b3),'choices':[_0x5068f9['KjovQ'],_0x5068f9[_0x5e8b4a(0x2ed)]],'description':_0x5068f9['PwtEI']})['option']('yes',{'type':_0x5068f9[_0x5e8b4a(0x209)],'alias':'y','description':_0x5e8b4a(0x252),'default':![]});},async _0x387f7d=>{const _0xb123ed=_0x93579e;await withTelemetry(_0x273b8f[_0xb123ed(0x2d9)],_0x23e73f=>addEnv(_0x387f7d['profile-name'],{'ci':_0x387f7d['ci'],'skipAuth':_0x387f7d['skip-auth'],'url':_0x387f7d['url'],'force':_0x387f7d['force'],'cdpEndpoint':_0x387f7d['cdp-endpoint'],'allowInsecureLocalhost':_0x387f7d[_0xb123ed(0x2f1)],'safeMode':_0x387f7d[_0xb123ed(0x253)],'setupHeader':_0x387f7d[_0xb123ed(0x268)],'scope':_0x387f7d[_0xb123ed(0x219)],'yes':_0x387f7d['yes']},_0x23e73f),{'isElectron':_0x273b8f['WGRfX'](Boolean,_0x387f7d['cdp-endpoint'])});})['command'](_0x5068f9['AKyZT'],_0x5068f9[_0x93579e(0x272)],_0x5cd13b=>{const _0xfa9ce1=_0x93579e;return _0x5cd13b[_0xfa9ce1(0x256)](_0x273b8f[_0xfa9ce1(0x234)],{'type':_0x273b8f['LzXEA'],'description':_0x273b8f['HMVaj'],'demandOption':!![]});},async _0x10821b=>{await withTelemetry(_0x5068f9['drxbU'],()=>useEnv(_0x10821b['profile-name']));})['command'](_0x5068f9[_0x93579e(0x236)],_0x5068f9[_0x93579e(0x364)],_0x8b293e=>{const _0x403b1b=_0x93579e;return _0x8b293e['positional']('profile',{'type':_0x5068f9['NCdiO'],'description':_0x403b1b(0x33a),'demandOption':!![]});},async _0x19928a=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x19928a['profile']));})[_0x93579e(0x316)]('ls',_0x93579e(0x285),()=>{},async()=>{const _0x35d631=_0x93579e;await _0x273b8f[_0x35d631(0x29a)](withTelemetry,_0x273b8f[_0x35d631(0x247)],()=>envList());})['command'](_0x93579e(0x35a),_0x93579e(0x36f),_0x5a16f4=>{const _0x1071e0=_0x93579e;return _0x5a16f4[_0x1071e0(0x256)](_0x5068f9[_0x1071e0(0x34e)],{'type':'string','description':_0x1071e0(0x262),'demandOption':!![]})['option'](_0x5068f9['zwvdf'],{'type':_0x1071e0(0x366),'description':_0x1071e0(0x373)});},async _0x3e02d2=>{const _0x47489a=_0x93579e;await _0x5068f9['mBpds'](withTelemetry,_0x5068f9[_0x47489a(0x2d3)],_0x115ba0=>updateEnv(_0x3e02d2[_0x47489a(0x326)],_0x115ba0,{'allowInsecureLocalhost':_0x3e02d2[_0x47489a(0x2f1)]}));})[_0x93579e(0x316)](_0x93579e(0x260),![],_0x34a60d=>{const _0x54d4f3=_0x93579e;return _0x34a60d[_0x54d4f3(0x256)](_0x5068f9['CwvVv'],{'type':_0x54d4f3(0x2b3),'description':_0x5068f9[_0x54d4f3(0x241)],'demandOption':!![]});},async _0x1828dc=>{const _0x4f745d=_0x93579e,_0x1ff300={'aGqjt':_0x5068f9['tIkvR'],'xwhVL':function(_0x256a3c,_0x23318f){return _0x256a3c===_0x23318f;},'AkxMH':_0x5068f9['OMbJz'],'OXfRj':'failed'};await withTelemetry(_0x5068f9[_0x4f745d(0x2cb)],async()=>{const _0x3e439b=_0x4f745d,_0x56e1c9=process['env']['RANGER_TEST_USERNAME'],_0x18faa1=process[_0x3e439b(0x27f)]['RANGER_TEST_PASSWORD'];(!_0x56e1c9||!_0x18faa1)&&(console['error'](_0x1ff300['aGqjt']),process[_0x3e439b(0x2a8)](0x1));const _0x105670=_0x1828dc['name'],_0x45fb3e=await serverSideLogin(_0x105670,{'force':!![]});_0x1ff300['xwhVL'](_0x45fb3e['status'],_0x1ff300['AkxMH'])&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x45fb3e['status']===_0x1ff300['OXfRj']&&(console['error']('Login\x20failed:\x20'+(_0x45fb3e[_0x3e439b(0x35c)]??'unknown\x20error')),_0x45fb3e[_0x3e439b(0x2c0)]&&console[_0x3e439b(0x35c)](_0x45fb3e[_0x3e439b(0x2c0)]),process[_0x3e439b(0x2a8)](0x1)),console[_0x3e439b(0x350)]('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x105670+_0x3e439b(0x318));});})['command'](_0x93579e(0x339),_0x5068f9[_0x93579e(0x254)],_0x310a4d=>{const _0x234bcc=_0x93579e;return _0x310a4d[_0x234bcc(0x256)]('profile-name',{'type':_0x5068f9['NCdiO'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x234bcc(0x369)](_0x5068f9['TMYWI'],{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x234bcc(0x369)](_0x5068f9['ZGSoR'],{'type':_0x5068f9['QwwGK'],'description':_0x234bcc(0x1f8),'default':![]})[_0x234bcc(0x369)]('yes',{'type':_0x5068f9['QwwGK'],'alias':'y','description':_0x5068f9[_0x234bcc(0x1f9)],'default':![]})['option'](_0x234bcc(0x34f),{'type':_0x234bcc(0x366),'description':_0x5068f9[_0x234bcc(0x206)],'default':![]});},async _0x234550=>{const _0x359721=_0x93579e;await withTelemetry(_0x5068f9[_0x359721(0x214)],_0x3fd69a=>migrateProfile({'profileName':_0x234550[_0x359721(0x326)],'all':_0x234550['all'],'dryRun':_0x234550[_0x359721(0x2bc)],'yes':_0x234550[_0x359721(0x232)],'saveCreds':_0x234550['save-creds']},_0x3fd69a));})[_0x93579e(0x316)](_0x5068f9['EwmRv'],_0x5068f9['wuzlk'],_0x286347=>{const _0x59b08d=_0x93579e,_0x49300a={'CRrcm':function(_0x37557a,_0x55dcfa,_0xa29881){return _0x37557a(_0x55dcfa,_0xa29881);},'MHNFV':'profile','uVpWA':_0x273b8f['fJQFE']};return _0x286347[_0x59b08d(0x24e)](PROFILE_CONFIG_HELP)[_0x59b08d(0x316)]('set\x20<profile>\x20<key>\x20<value>',_0x273b8f['cIqFx'],_0x29f55c=>{const _0x13d975=_0x59b08d;return _0x29f55c[_0x13d975(0x256)](_0x13d975(0x306),{'type':'string','description':_0x273b8f[_0x13d975(0x280)],'demandOption':!![]})[_0x13d975(0x256)](_0x273b8f[_0x13d975(0x32f)],{'type':_0x273b8f['LzXEA'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':'string','description':_0x13d975(0x2e4),'demandOption':!![]});},async _0x2344cd=>{const _0x5bcb1d=_0x59b08d;await _0x49300a[_0x5bcb1d(0x1e5)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2344cd['profile'],_0x2344cd['key'],_0x2344cd[_0x5bcb1d(0x2b0)]));})['command'](_0x59b08d(0x353),_0x59b08d(0x2b2),_0xec002a=>{const _0x176535=_0x59b08d;return _0xec002a[_0x176535(0x256)]('profile',{'type':_0x273b8f['LzXEA'],'description':'Profile\x20name','demandOption':!![]})[_0x176535(0x256)]('key',{'type':_0x176535(0x2b3),'description':_0x176535(0x298),'demandOption':!![]});},async _0x426bab=>{const _0x3df309=_0x59b08d;await _0x49300a['CRrcm'](withTelemetry,_0x3df309(0x315),()=>configGet(_0x426bab[_0x3df309(0x306)],_0x426bab['key']));})['command'](_0x59b08d(0x2d7),_0x59b08d(0x263),_0x159df4=>{return _0x159df4['positional'](_0x273b8f['wVgGb'],{'type':'string','description':_0x273b8f['OBkeZ'],'demandOption':!![]});},async _0x2710c4=>{const _0x2bcec5=_0x59b08d;await _0x273b8f[_0x2bcec5(0x2e7)](withTelemetry,_0x273b8f[_0x2bcec5(0x20c)],()=>configList(_0x2710c4['profile']));})[_0x59b08d(0x316)](_0x273b8f['eseGe'],_0x273b8f['clRjP'],_0x4dc25f=>{const _0x161bc2=_0x59b08d;return _0x4dc25f[_0x161bc2(0x256)](_0x49300a[_0x161bc2(0x23e)],{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x161bc2(0x256)](_0x161bc2(0x24d),{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5b5f0f=>{const _0x133959=_0x59b08d;await withTelemetry(_0x49300a[_0x133959(0x2f5)],()=>configUnset(_0x5b5f0f['profile'],_0x5b5f0f['key']));})['command']('reset\x20<profile>',_0x59b08d(0x2c1),_0x1ebd8b=>{const _0xc32238=_0x59b08d;return _0x1ebd8b[_0xc32238(0x256)](_0xc32238(0x306),{'type':_0xc32238(0x2b3),'description':'Profile\x20name','demandOption':!![]});},async _0x16dbb3=>{const _0x16d354=_0x59b08d;await _0x273b8f[_0x16d354(0x1f6)](withTelemetry,_0x16d354(0x2df),()=>configReset(_0x16dbb3[_0x16d354(0x306)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x5068f9[_0x93579e(0x2a1)]);})[_0x379555(0x316)]('status',_0x5068f9[_0x379555(0x279)],()=>{},async()=>{const _0x39b671=_0x379555;await _0x5068f9[_0x39b671(0x377)](withTelemetry,_0x5068f9[_0x39b671(0x30b)],()=>status());})[_0x379555(0x316)](_0x5068f9[_0x379555(0x2af)],_0x5068f9['NrljG'],()=>{},async()=>{const _0x3f5a37=_0x379555;await _0x5068f9[_0x3f5a37(0x2fc)](withTelemetry,_0x3f5a37(0x1e3),()=>update());})[_0x379555(0x316)](_0x379555(0x208),'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x5b07e2=_0x379555,_0x43c4b7={'zFsOR':function(_0x168f95){return _0x168f95();}};await withTelemetry(_0x5b07e2(0x208),async()=>{const _0x497ec1=_0x5b07e2,_0x230341=await _0x43c4b7['zFsOR'](getToken);if(!_0x230341)throw new Error(_0x497ec1(0x238));console[_0x497ec1(0x350)](_0x230341);});})['command']('go',_0x5068f9[_0x379555(0x30d)],_0x24ef80=>{const _0x5cc437=_0x379555;return _0x24ef80[_0x5cc437(0x369)](_0x5068f9['gQXhj'],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0x5cc437(0x2b4)]})[_0x5cc437(0x369)]('profile',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['Wrivq']})['option'](_0x5068f9['cqfIA'],{'type':'string','description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option']('scenario',{'type':_0x5068f9[_0x5cc437(0x368)],'description':_0x5cc437(0x310)})['option'](_0x5068f9['yFquq'],{'type':_0x5cc437(0x2b3),'description':_0x5068f9['MhjOV']})['option']('base-url',{'type':_0x5cc437(0x2b3),'description':_0x5cc437(0x2a0)})['option'](_0x5068f9[_0x5cc437(0x1fd)],{'type':_0x5cc437(0x2b3),'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.'})['option'](_0x5068f9['VGDaC'],{'type':_0x5cc437(0x366),'description':_0x5068f9[_0x5cc437(0x33f)],'default':![]})['option'](_0x5068f9['mfmkl'],{'type':_0x5cc437(0x2b3),'hidden':!![],'choices':[_0x5cc437(0x274),_0x5068f9['oRgFf'],'blocked',_0x5cc437(0x1ff),_0x5068f9['tdyfv']]})[_0x5cc437(0x369)](_0x5068f9['mYsxE'],{'type':_0x5cc437(0x366),'hidden':!![]})['option'](_0x5cc437(0x27f),{'type':_0x5068f9['NCdiO'],'hidden':!![]})['option'](_0x5cc437(0x295),{'type':_0x5068f9['NCdiO'],'hidden':!![]})['option'](_0x5cc437(0x359),{'type':'number','hidden':!![]});},async _0x49d661=>{await runGoCommand(_0x49d661);})['command']('auth',![],_0x229208=>{const _0x5affe2=_0x379555,_0x50566f={'vHGMH':'profile','OhHDd':_0x5068f9[_0x5affe2(0x33c)]};return _0x229208[_0x5affe2(0x316)]('encrypt\x20<profile>',![],_0x552c60=>{const _0x165c15=_0x5affe2;return _0x552c60['positional'](_0x50566f[_0x165c15(0x26e)],{'type':'string','description':_0x50566f['OhHDd'],'demandOption':!![]});},async _0x160fca=>{const _0x4660d2=_0x5affe2;warnRenamed(_0x5068f9['EsmAq'],_0x4660d2(0x328)),await authEncrypt(_0x160fca[_0x4660d2(0x306)]);})[_0x5affe2(0x320)](0x1,_0x5affe2(0x200));},()=>{})[_0x379555(0x316)](_0x5068f9['bgiYl'],![],_0x55a3f1=>{const _0x1472b7=_0x379555;return _0x55a3f1[_0x1472b7(0x256)](_0x5068f9[_0x1472b7(0x21d)],{'type':_0x5068f9[_0x1472b7(0x29b)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x1472b7(0x369)](_0x1472b7(0x32d),{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x5068f9['pKvvd'],'default':![]})['option'](_0x5068f9[_0x1472b7(0x271)],{'type':_0x5068f9[_0x1472b7(0x29b)],'choices':[_0x1472b7(0x2d2),_0x1472b7(0x251)],'description':_0x5068f9['POuwN']})[_0x1472b7(0x369)](_0x5068f9['rMuqj'],{'type':'string','description':_0x5068f9[_0x1472b7(0x2fe)]})['option'](_0x1472b7(0x303),{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x1472b7(0x22f),'default':![]})['option'](_0x1472b7(0x2fa),{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x1472b7(0x201),'default':![]})[_0x1472b7(0x369)](_0x5068f9['VPUQf'],{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x5068f9['uOvRQ'],'default':![]});},async _0x3c125f=>{const _0x3f886a=_0x379555;warnRenamed(_0x5068f9['UneOC'],'ranger\x20setup'),await withTelemetry('start',_0x3a6406=>start(_0x3c125f['token'],{'skipChromium':_0x3c125f['skip-chromium'],'skipAuth':_0x3c125f[_0x3f886a(0x2fa)],'withDeps':_0x3c125f[_0x3f886a(0x34c)],'scope':_0x3c125f['scope'],'url':_0x3c125f['url'],'force':_0x3c125f[_0x3f886a(0x303)]},_0x3a6406));})['command'](_0x379555(0x235),![],_0x91cdcb=>{const _0x1c724a=_0x379555;return _0x91cdcb[_0x1c724a(0x369)](_0x5068f9['xmNik'],{'type':_0x1c724a(0x2b3),'description':_0x5068f9[_0x1c724a(0x1e1)]})['option']('task',{'type':_0x5068f9['NCdiO'],'description':_0x1c724a(0x37d)})[_0x1c724a(0x369)]('item',{'type':_0x5068f9[_0x1c724a(0x368)],'description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':_0x5068f9['NCdiO'],'hidden':!![]})['option']('notes',{'type':'string','hidden':!![]})['option']('scenario',{'type':_0x1c724a(0x1e0),'hidden':!![]})[_0x1c724a(0x369)]('start-path',{'type':_0x1c724a(0x2b3),'description':_0x5068f9[_0x1c724a(0x346)]})[_0x1c724a(0x369)]('base-url',{'type':_0x5068f9['NCdiO'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x1c724a(0x369)](_0x1c724a(0x2d5),{'type':_0x5068f9[_0x1c724a(0x29b)],'hidden':!![]})[_0x1c724a(0x369)]('headed',{'type':_0x1c724a(0x366),'hidden':!![],'default':![]})['option']('debug-outcome',{'type':_0x1c724a(0x2b3),'hidden':!![],'choices':['verified','partial',_0x1c724a(0x28c),'failed',_0x5068f9['tdyfv']]});},async _0x46f332=>{await _0x5068f9['WoOka'](runGoCommand,_0x46f332,!![]);})['command'](_0x379555(0x290),![],_0x1e3df7=>{const _0x88725c=_0x379555;return _0x1e3df7['positional'](_0x88725c(0x21e),{'type':_0x88725c(0x2b3),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5068f9[_0x88725c(0x209)],'description':_0x5068f9['Lnagc'],'default':![]})[_0x88725c(0x369)](_0x5068f9['vSRrh'],{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x450697=>{const _0xf2f658=_0x379555;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x5068f9[_0xf2f658(0x276)],_0x2167e5=>addEnv(_0x450697[_0xf2f658(0x21e)],{'ci':_0x450697['ci'],'skipAuth':_0x450697[_0xf2f658(0x2fa)]},_0x2167e5));})[_0x379555(0x316)]('use\x20<env-name>',![],_0x4b23c6=>{const _0x34d8a2=_0x379555;return _0x4b23c6[_0x34d8a2(0x256)](_0x34d8a2(0x21e),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0x34d8a2(0x2d1)],'demandOption':!![]});},async _0x2d25e2=>{const _0x5011f2=_0x379555;warnRenamed(_0x5068f9['JCEDT'],_0x5068f9['VfiGR']),await withTelemetry('use',()=>useEnv(_0x2d25e2[_0x5011f2(0x21e)]));})[_0x379555(0x316)](_0x5068f9[_0x379555(0x210)],![],_0x356b1d=>{const _0x54b099=_0x379555,_0x29cc72={'MZgqY':'env','txxiH':_0x5068f9['JLswU'],'ggzoS':_0x54b099(0x24d),'Mkrbi':_0x54b099(0x2b3),'sIwll':_0x54b099(0x2e4),'ooMzt':'config\x20set','gcGgp':function(_0x502f52,_0x33d103,_0x9c91a2){return _0x5068f9['WoOka'](_0x502f52,_0x33d103,_0x9c91a2);},'axaGL':'ranger\x20config\x20get','SLjDx':function(_0x5b009c,_0x529459,_0x3dceeb){return _0x5b009c(_0x529459,_0x3dceeb);},'DXKvy':_0x5068f9[_0x54b099(0x29c)]};return _0x356b1d[_0x54b099(0x316)](_0x5068f9['PlHSo'],![],_0x1149bf=>{const _0x376f2f=_0x54b099;return _0x1149bf[_0x376f2f(0x256)](_0x29cc72[_0x376f2f(0x1f0)],{'type':'string','description':_0x29cc72[_0x376f2f(0x30c)],'demandOption':!![]})['positional'](_0x29cc72[_0x376f2f(0x29e)],{'type':_0x29cc72['Mkrbi'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':'string','description':_0x29cc72['sIwll'],'demandOption':!![]});},async _0x4ecfeb=>{const _0x115aad=_0x54b099;warnRenamed('ranger\x20config\x20set',_0x115aad(0x35b)),await withTelemetry(_0x29cc72[_0x115aad(0x34d)],()=>configSet(_0x4ecfeb[_0x115aad(0x27f)],_0x4ecfeb['key'],_0x4ecfeb[_0x115aad(0x2b0)]));})['command'](_0x54b099(0x213),![],_0x39f1be=>{const _0x6bda36=_0x54b099;return _0x39f1be['positional'](_0x5068f9[_0x6bda36(0x2aa)],{'type':_0x5068f9[_0x6bda36(0x29b)],'description':_0x5068f9[_0x6bda36(0x36c)],'demandOption':!![]})[_0x6bda36(0x256)](_0x5068f9['tgLqx'],{'type':_0x6bda36(0x2b3),'description':_0x6bda36(0x298),'demandOption':!![]});},async _0x9bd9e6=>{const _0x1576f7=_0x54b099;_0x29cc72[_0x1576f7(0x275)](warnRenamed,_0x29cc72[_0x1576f7(0x32e)],_0x1576f7(0x299)),await _0x29cc72[_0x1576f7(0x2b7)](withTelemetry,_0x1576f7(0x1e4),()=>configGet(_0x9bd9e6[_0x1576f7(0x27f)],_0x9bd9e6['key']));})['command'](_0x54b099(0x21f),![],_0x4f93ed=>{const _0x340167=_0x54b099;return _0x4f93ed[_0x340167(0x256)](_0x340167(0x27f),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0x340167(0x36c)],'demandOption':!![]});},async _0x47f060=>{const _0x32d811=_0x54b099;_0x5068f9['EKnpw'](warnRenamed,_0x5068f9['XCTof'],_0x5068f9[_0x32d811(0x335)]),await _0x5068f9['Fjcfa'](withTelemetry,'config\x20list',()=>configList(_0x47f060['env']));})[_0x54b099(0x316)]('unset\x20<env>\x20<key>',![],_0x5641f1=>{const _0x21b70b=_0x54b099;return _0x5641f1['positional']('env',{'type':_0x29cc72['Mkrbi'],'description':_0x29cc72[_0x21b70b(0x30c)],'demandOption':!![]})['positional'](_0x21b70b(0x24d),{'type':_0x29cc72[_0x21b70b(0x2fb)],'description':_0x29cc72['DXKvy'],'demandOption':!![]});},async _0x34317d=>{const _0x1d065d=_0x54b099;_0x5068f9[_0x1d065d(0x2f8)](warnRenamed,'ranger\x20config\x20unset',_0x1d065d(0x225)),await withTelemetry(_0x1d065d(0x1ef),()=>configUnset(_0x34317d[_0x1d065d(0x27f)],_0x34317d[_0x1d065d(0x24d)]));})[_0x54b099(0x320)](0x1,_0x54b099(0x211));})[_0x379555(0x316)](_0x5068f9[_0x379555(0x2aa)],![],_0x25da89=>{const _0x5d7a65=_0x379555,_0x5adf05={'ssyDT':function(_0x451e53,_0x455ebb,_0x18e750){const _0x3bfd1b=_0xe1c5;return _0x5068f9[_0x3bfd1b(0x1f1)](_0x451e53,_0x455ebb,_0x18e750);},'wiaHO':_0x5068f9[_0x5d7a65(0x30a)],'kYupn':_0x5d7a65(0x2e6),'MlZXc':'env-name','XbNyK':'ranger\x20profile\x20update'};return _0x25da89[_0x5d7a65(0x316)]('ls',![],()=>{},async()=>{const _0x1392a2=_0x5d7a65;_0x5adf05['ssyDT'](warnRenamed,_0x5adf05[_0x1392a2(0x226)],_0x5adf05[_0x1392a2(0x2ef)]),await withTelemetry('env\x20list',()=>envList());})['command']('update\x20<env-name>',![],_0x2deda1=>{const _0xb96402=_0x5d7a65;return _0x2deda1['positional'](_0x5adf05[_0xb96402(0x344)],{'type':_0xb96402(0x2b3),'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x582400=>{const _0x15c185=_0x5d7a65;_0x5adf05[_0x15c185(0x2a7)](warnRenamed,_0x15c185(0x323),_0x5adf05[_0x15c185(0x297)]),await withTelemetry(_0x15c185(0x249),_0x883759=>updateEnv(_0x582400[_0x15c185(0x21e)],_0x883759));})[_0x5d7a65(0x320)](0x1,_0x5d7a65(0x2f6));})[_0x379555(0x316)](_0x5068f9['gQXhj'],![],_0x1efa6e=>{const _0x15c0d7=_0x379555,_0x16bac1={'CWzsI':'name','NHDMO':_0x15c0d7(0x362),'XvWqo':_0x15c0d7(0x2b3),'poaoi':_0x5068f9[_0x15c0d7(0x348)],'TsPkt':_0x5068f9[_0x15c0d7(0x20a)],'lcJpt':_0x15c0d7(0x26a),'rfQyG':function(_0x1ddec2,_0x1a635e,_0x5949b2){const _0x3a1db2=_0x15c0d7;return _0x5068f9[_0x3a1db2(0x2ec)](_0x1ddec2,_0x1a635e,_0x5949b2);},'PLurw':_0x15c0d7(0x304),'ENUNP':_0x15c0d7(0x269),'BEYge':function(_0x13884f,_0x48fd21,_0x58e529,_0x3c8183){return _0x13884f(_0x48fd21,_0x58e529,_0x3c8183);},'wZzLe':'--scenario','CYibI':_0x5068f9[_0x15c0d7(0x300)],'pkcHa':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ckAjA':function(_0x4576b,_0x1d1aa0,_0x40f1f3){const _0x349981=_0x15c0d7;return _0x5068f9[_0x349981(0x1fa)](_0x4576b,_0x1d1aa0,_0x40f1f3);},'zWGkw':_0x5068f9[_0x15c0d7(0x2c9)],'QWrpk':_0x15c0d7(0x367),'yvtPb':_0x15c0d7(0x37b),'ITqDs':_0x5068f9['xuhlm'],'ZeMMI':function(_0x319ade,_0x2540da,_0x395846){const _0x5141d8=_0x15c0d7;return _0x5068f9[_0x5141d8(0x2c8)](_0x319ade,_0x2540da,_0x395846);},'VZiqi':_0x15c0d7(0x372)};return _0x1efa6e[_0x15c0d7(0x316)](_0x5068f9[_0x15c0d7(0x32b)],![],_0x332c05=>{const _0x36f10c=_0x15c0d7;return _0x332c05['positional'](_0x16bac1['CWzsI'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x16bac1[_0x36f10c(0x21b)],{'type':_0x16bac1['XvWqo'],'alias':'d','description':_0x16bac1[_0x36f10c(0x2d6)]})[_0x36f10c(0x369)]('checklist',{'type':'array','alias':'c','description':_0x16bac1['TsPkt']})['option']('scenario',{'type':_0x16bac1['lcJpt'],'hidden':!![]});},async _0x50206b=>{const _0x40a586=_0x15c0d7;_0x16bac1['rfQyG'](warnRenamed,_0x16bac1[_0x40a586(0x1f4)],_0x16bac1[_0x40a586(0x2c2)]),_0x16bac1[_0x40a586(0x2c6)](warnFlagRenamed,_0x16bac1[_0x40a586(0x2c2)],_0x40a586(0x33b),_0x16bac1['wZzLe']);const _0x469c31=_0x50206b[_0x40a586(0x24f)]||_0x50206b['checklist'];await _0x16bac1[_0x40a586(0x22c)](withTelemetry,'feature\x20create',()=>featureCreate(_0x50206b[_0x40a586(0x1fc)],{'description':_0x50206b['description'],'scenarios':_0x469c31}));})[_0x15c0d7(0x316)](_0x5068f9[_0x15c0d7(0x228)],![],_0x307477=>{const _0x1bb1ad=_0x15c0d7;return _0x307477[_0x1bb1ad(0x369)](_0x5068f9[_0x1bb1ad(0x296)],{'type':_0x5068f9['QwwGK'],'description':_0x5068f9[_0x1bb1ad(0x327)]})[_0x1bb1ad(0x369)]('limit',{'type':_0x5068f9[_0x1bb1ad(0x368)],'alias':'l','description':_0x5068f9[_0x1bb1ad(0x2e8)],'default':0xa})[_0x1bb1ad(0x369)](_0x5068f9['ZymOi'],{'type':'number','alias':'o','description':_0x5068f9[_0x1bb1ad(0x336)],'default':0x0})['option']('include-deleted',{'type':_0x5068f9['QwwGK'],'alias':'d','description':_0x5068f9[_0x1bb1ad(0x35f)],'default':![]});},async _0x228f83=>{const _0x201ee2=_0x15c0d7;warnRenamed(_0x201ee2(0x305),_0x5068f9['wiKuY']),await _0x5068f9[_0x201ee2(0x2c3)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x228f83['current-branch'],'limit':_0x228f83['limit'],'offset':_0x228f83[_0x201ee2(0x243)],'includeDeleted':_0x228f83[_0x201ee2(0x2cd)]}));})['command'](_0x5068f9[_0x15c0d7(0x231)],![],_0x54bfd2=>{const _0x184f85=_0x15c0d7;return _0x54bfd2['positional']('id',{'type':_0x16bac1['XvWqo'],'description':_0x16bac1[_0x184f85(0x1de)]});},async _0x3b6dfc=>{const _0x36b8d9=_0x15c0d7;warnRenamed(_0x36b8d9(0x317),_0x5068f9['cyEIO']),await _0x5068f9['YtpmJ'](withTelemetry,'feature\x20show',()=>featureShow(_0x3b6dfc['id']));})['command'](_0x15c0d7(0x301),![],_0x2836d5=>{const _0x4af43f=_0x15c0d7;return _0x2836d5['positional']('id',{'type':_0x4af43f(0x2b3),'description':_0x16bac1[_0x4af43f(0x1f5)]});},async _0x40d806=>{const _0xfce30b=_0x15c0d7;_0x16bac1[_0xfce30b(0x230)](warnRenamed,_0x16bac1['zWGkw'],'ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x40d806['id']));})['command'](_0x15c0d7(0x363),![],_0x437a25=>{const _0x4f672e=_0x15c0d7;return _0x437a25['positional'](_0x16bac1['NHDMO'],{'type':'string','description':'Scenario\x20description','demandOption':!![]})[_0x4f672e(0x369)]('id',{'type':_0x16bac1[_0x4f672e(0x273)],'description':_0x16bac1[_0x4f672e(0x286)]});},async _0x306c03=>{warnRenamed(_0x5068f9['aovCv'],'ranger\x20add-scenario'),await _0x5068f9['VLNzK'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x306c03['description'],_0x306c03['id']));})['command'](_0x5068f9['amHNz'],![],_0x4ecd=>{const _0xccfdfd=_0x15c0d7;return _0x4ecd[_0xccfdfd(0x256)]('id',{'type':_0xccfdfd(0x2b3),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3ac8f2=>{const _0x5cd934=_0x15c0d7;_0x5068f9['PuQVn'](warnRenamed,_0x5068f9[_0x5cd934(0x24b)],_0x5068f9[_0x5cd934(0x31d)]),await _0x5068f9['HaIuw'](withTelemetry,_0x5cd934(0x294),()=>featureGetReview(_0x3ac8f2['id']));})[_0x15c0d7(0x316)](_0x5068f9['yIfiF'],![],_0x40cb43=>{const _0x43eca7=_0x15c0d7;return _0x40cb43[_0x43eca7(0x256)]('id',{'type':_0x5068f9['NCdiO'],'description':'Feature\x20review\x20ID'});},async _0x4f4ef0=>{const _0x2f6150=_0x15c0d7;warnRenamed(_0x2f6150(0x2d4),'ranger\x20delete'),await _0x5068f9['mBpds'](withTelemetry,'feature\x20delete',()=>featureDelete(_0x4f4ef0['id']));})['command'](_0x15c0d7(0x2fd),![],_0x14c806=>{const _0x5b3265=_0x15c0d7;return _0x14c806[_0x5b3265(0x256)]('id',{'type':_0x5b3265(0x2b3),'description':_0x5068f9['cJhfT'],'demandOption':!![]});},async _0x25d7a7=>{_0x16bac1['rfQyG'](warnRenamed,_0x16bac1['yvtPb'],_0x16bac1['ITqDs']),await _0x16bac1['ZeMMI'](withTelemetry,_0x16bac1['VZiqi'],()=>featureRestore(_0x25d7a7['id']));})[_0x15c0d7(0x320)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command'](_0x5068f9[_0x379555(0x371)],![],_0x12f641=>{const _0x2ca0bc=_0x379555,_0x8b7984={'kuAdK':_0x2ca0bc(0x2b3),'vmhsR':function(_0x52cd72,_0x3865e4,_0x2a8069){const _0x183973=_0x2ca0bc;return _0x5068f9[_0x183973(0x2b1)](_0x52cd72,_0x3865e4,_0x2a8069);},'zNHfT':'hook:disable'};return _0x12f641[_0x2ca0bc(0x316)](_0x5068f9[_0x2ca0bc(0x259)],_0x5068f9[_0x2ca0bc(0x246)],_0x1c813e=>{const _0x1bb321=_0x2ca0bc;return _0x1c813e[_0x1bb321(0x369)]('session-id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['SbfuN']});},async _0x5b7121=>{const _0x94479c=_0x2ca0bc;await _0x5068f9[_0x94479c(0x281)](withTelemetry,_0x5068f9[_0x94479c(0x292)],()=>hook('enable',_0x5b7121['session-id']));})[_0x2ca0bc(0x316)](_0x5068f9[_0x2ca0bc(0x2e3)],_0x5068f9['iEAnd'],_0x92d0f2=>{const _0x470be7=_0x2ca0bc;return _0x92d0f2[_0x470be7(0x369)](_0x470be7(0x23d),{'type':_0x8b7984[_0x470be7(0x233)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0xaa9c2e=>{const _0x4bdd89=_0x2ca0bc;await _0x8b7984[_0x4bdd89(0x347)](withTelemetry,_0x8b7984['zNHfT'],()=>hook('disable',_0xaa9c2e[_0x4bdd89(0x23d)]));})['option'](_0x5068f9['CwvVv'],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['bANni']})[_0x2ca0bc(0x369)](_0x5068f9[_0x2ca0bc(0x1e8)],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['SbfuN']});},async _0x1b31bc=>{const _0x492130=_0x379555;_0x1b31bc['name']&&await _0x5068f9[_0x492130(0x27e)](hook,_0x1b31bc['name'],_0x1b31bc[_0x492130(0x23d)]);})[_0x379555(0x320)](0x1,_0x379555(0x218))[_0x379555(0x23b)]()['fail'](async(_0x162ed3,_0x54a5cc,_0x568153)=>{const _0x57865b=_0x379555,_0x44c375=_0x5068f9['Zxbkd'](sanitizeArgs,process[_0x57865b(0x25b)]['slice'](0x2)),_0x38adbe=getErrorType(_0x162ed3,_0x54a5cc);if(_0x162ed3&&_0x162ed3['includes'](_0x5068f9[_0x57865b(0x21a)])){const _0xacc8a0=process['argv'][0x2];console[_0x57865b(0x35c)]('\x0aUnknown\x20command:\x20'+_0xacc8a0),console[_0x57865b(0x35c)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x162ed3)console[_0x57865b(0x35c)]('\x0a'+_0x162ed3+'\x0a');else _0x54a5cc&&console[_0x57865b(0x35c)]('\x0aError:\x20'+_0x54a5cc[_0x57865b(0x34a)]+'\x0a');}await _0x5068f9[_0x57865b(0x2b6)](logDesirePath,{'rawCommand':_0x44c375,'errorMessage':_0x162ed3||_0x54a5cc?.['message'],'errorType':_0x38adbe});const _0x1b7eb8=getCurrentCollector();_0x1b7eb8&&await _0x1b7eb8[_0x57865b(0x282)](_0x54a5cc||new Error(_0x162ed3||_0x57865b(0x267))),process['exit'](0x1);})[_0x379555(0x309)](_0x5068f9['xgVdd']('Documentation:\x0a'+_0x5068f9[_0x379555(0x2d0)],'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'))[_0x379555(0x2f9)]()[_0x379555(0x2e5)](_0x5068f9['ebUTt'],'h');}process['env'][_0x45d515(0x356)]!==_0x45d515(0x29f)&&buildParser()[_0x45d515(0x31a)]();
2
+ const _0x3e3040=_0x45e7;(function(_0x7012bb,_0x1ad060){const _0x286e7e=_0x45e7,_0xbf782=_0x7012bb();while(!![]){try{const _0x38a9e3=parseInt(_0x286e7e(0x29c))/0x1*(parseInt(_0x286e7e(0x25b))/0x2)+-parseInt(_0x286e7e(0x212))/0x3*(-parseInt(_0x286e7e(0x19a))/0x4)+-parseInt(_0x286e7e(0x19d))/0x5+parseInt(_0x286e7e(0x122))/0x6*(-parseInt(_0x286e7e(0x23e))/0x7)+-parseInt(_0x286e7e(0x173))/0x8+-parseInt(_0x286e7e(0x1a8))/0x9+parseInt(_0x286e7e(0x17a))/0xa*(parseInt(_0x286e7e(0x1e5))/0xb);if(_0x38a9e3===_0x1ad060)break;else _0xbf782['push'](_0xbf782['shift']());}catch(_0x421f88){_0xbf782['push'](_0xbf782['shift']());}}}(_0x2ab9,0x42a06));import _0x8e8e92 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x11f211=_0x45e7,_0x59079d={'FODHX':function(_0x267a56,_0x1ce948){return _0x267a56(_0x1ce948);},'dGZWo':function(_0x35ee9b,_0x4f39d8){return _0x35ee9b!==_0x4f39d8;},'pdSoR':function(_0xe2598a,_0xbc36ac){return _0xe2598a(_0xbc36ac);},'GScaF':function(_0x26595f,_0x202bee,_0x1eb5fb){return _0x26595f(_0x202bee,_0x1eb5fb);},'LqCvU':function(_0x5a57d5,_0x533c5a){return _0x5a57d5(_0x533c5a);},'MsLTM':'.env'};let _0x452930=process['cwd']();const _0x22d9fc=_0x59079d['FODHX'](parse,_0x452930)[_0x11f211(0x17b)];while(_0x59079d[_0x11f211(0xfb)](_0x452930,_0x22d9fc)){if(_0x59079d[_0x11f211(0x1c5)](existsSync,_0x59079d[_0x11f211(0x255)](join,_0x452930,_0x11f211(0x28a)))||_0x59079d['LqCvU'](existsSync,join(_0x452930,_0x59079d[_0x11f211(0x25f)])))return _0x452930;_0x452930=_0x59079d['pdSoR'](dirname,_0x452930);}return process[_0x11f211(0x183)]();}_0x8e8e92['config']({'path':join(findProjectRoot(),'.env')});import _0x4e783e 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';function _0x45e7(_0x2383d7,_0x468132){_0x2383d7=_0x2383d7-0xd9;const _0x2ab952=_0x2ab9();let _0x45e7e6=_0x2ab952[_0x2383d7];return _0x45e7e6;}import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x4a3b90=>{const _0x204333=_0x45e7,_0x3881ed={'xsWKc':function(_0x277f6f){return _0x277f6f();}},_0x2ff457=_0x3881ed['xsWKc'](getCurrentCollector);_0x2ff457&&await _0x2ff457['trackCommandError'](_0x4a3b90),process[_0x204333(0x253)]=0x1;});const rawArgs=process['argv'][_0x3e3040(0x1a6)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\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.',PROFILE_HELP=_0x3e3040(0x1f3),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(_0x1b4062,_0x2579af){const _0x2d0f79=_0x3e3040;console['error']('\x0a'+_0x1b4062+_0x2d0f79(0x107)+_0x2579af+'\x0a');}function argUsed(_0x23b2be){const _0x1caca2=_0x3e3040;return rawArgs['some'](_0x5c151f=>_0x5c151f===_0x23b2be||_0x5c151f[_0x1caca2(0x200)](_0x23b2be+'='));}function warnFlagRenamed(_0xbd4a0,_0x1dfe58,_0xd27da2){argUsed(_0x1dfe58)&&warnRenamed(_0xbd4a0+'\x20'+_0x1dfe58,_0xbd4a0+'\x20'+_0xd27da2);}function _0x2ab9(){const _0x310560=['Example:\x20ranger\x20create\x20my-feature','Base\x20URL\x20of\x20the\x20running\x20app','ZyJRB','ranger\x20config\x20get','force','Name\x20of\x20the\x20profile','Unknown\x20error','PBnvM','dSAzs','Optional\x20feature\x20ID','partial','Opgnf','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Add\x20profile\x20configuration','ToUXS','unset\x20<profile>\x20<key>','model','bPbYI','TBSns','alias','ranger\x20go','EbFEL','XhExm','ZqVPO','xEkkn','setup-header','blocked','2117904DpEiPo','ZerNP','name','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','KuSqJ','eisDQ','Feature\x20review\x20ID','79430egmLoV','root','yjSao','JxyDT','ranger\x20profile\x20config\x20set','Feature\x20review\x20description','NPvHT','tbxDE','exit','cwd','wWGNu','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','sZuDi','zxBCf','reAqt','OqltC','error','verified','wWfaU','dry-run','LvUfH','GQBwC','organizationName','opencode','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Environment\x20name','limit','MJqrb','dHuXW','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Profile\x20name','qJopx','36WPQRtD','update\x20<profile-name>','lPinS','2611940zzAfoh','disable','Unknown\x20command','reset\x20<profile>','ranger\x20use','NWWRw','edit-scenario','tokenOrSubcommand','OhUhG','slice','dHWHN','1739142PItacc','Uflod','\x20VERIFIED','olaRq','Install\x20skills\x20for\x20OpenCode','WnMqm','Skip\x20Chromium\x20browser\x20installation','gIyLP','SPkjH','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','You\x20must\x20specify\x20a\x20config\x20subcommand','PxNMd','bAQap','EOhzl','zepgA','qheNa','print-access-token','nXJLl','RANGER_TEST_PASSWORD','\x0aIssues:','\x20is\x20no\x20longer\x20supported.\x20','VFtkh','create\x20<name>','AQnzj','ptXzu','LKWsy','HJQUN','Install\x20scope\x20for\x20skills','xshHt','pdSoR','Config\x20key','List\x20all\x20config\x20for\x20a\x20profile','--profile','DtFLF','mcp-bootstrap','XPlAt','mcp','user','VucHQ','--notes','dXKFn','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','pKwgF','Efvzf','profile\x20config\x20list','ranger\x20create','kJLYh','string','eMtXw','You\x20must\x20specify\x20an\x20env\x20subcommand','setup:profiles','QHjBR','JwphW','incomplete','headed','CZERo','option','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','include-deleted','1067VNpEeB','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','yes','argv','--env','summary','task','IZPTb','wdCoo','ranger\x20profile\x20config\x20list','add\x20env','url','AKWAy','PeHga','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','Install\x20scope\x20for\x20plugin\x20and\x20skills','YYurB','tOVyZ','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','skip-auth','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','Initialize\x20Ranger\x20in\x20your\x20project','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','add\x20<profile-name>','key','ranger\x20env\x20update','ranger\x20list','startsWith','Feature\x20review\x20ID\x20to\x20restore','fmyvr','RNUuz','demandCommand','\x20\x20https://docs.ranger.net\x0a','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Feature\x20review\x20name','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','bqYqP','scenario','KlSXc','tZzWt','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','API\x20token','RqLmB','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','issues','38742IgxQRc','profile\x20config\x20reset','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','pXAcv','ranger\x20feature\x20delete','array','ranger\x20start','scope','Config\x20key\x20to\x20remove','profile\x20login','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','\x20INCOMPLETE','bMtGl','uajJS','edit-scenario\x20<description>','with-deps','ranger\x20setup\x20profiles\x20--scope=','number','cmSTv','jHeLn','List\x20all\x20profiles','create','Config\x20value','CpNWr','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','pUPQj','bVFNY','zkMTQ','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','plKng','KQrJj','XgXPJ','mmIUP','BuJSz','dAWhX','use\x20<env-name>','iRfGt','LwyqA','TcqjD','ranger\x20feature\x20show','JcrXK','KLJcm','tdnJP','uRpQr','56791oOqTYb','lJGWp','yeBJR','--checklist','FCgpc','nBADJ','LVLEN','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','use','tsCtV','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','epilogue','wUAce','env\x20list','ranger\x20profile\x20encrypt-auth','hook:disable','BePkC','mFjxY','failed','profile-name','exitCode','ITOuE','GScaF','unmTl','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','start\x20[token]','value','vJMgz','56uYAnIs','eWUog','OtqGN','IYeIC','MsLTM','nnNTE','feature\x20list','vxJhR','cSVdT','wRQUR','Scenario\x20index\x20(1-based)','profile\x20config\x20get','setup:all','SNpjY','not_configured','deps','klbrM','buTGi','rjOfO','ranger\x20feature\x20restore','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','\x0aUnknown\x20command:\x20','jJDrY','get\x20<env>\x20<key>','Manage\x20profiles','MgEeD','offset','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','usage','ranger\x20env\x20ls','Number\x20of\x20feature\x20reviews\x20to\x20skip','debug-address-comments','ranger\x20setup','zAaZQ','VezFb','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','xfSFz','get-feedback\x20[id]','Skip\x20authentication','show\x20[id]','item','LTpMY','wPohH','session-id','report','tZsdM','UPFid','.ranger','JvSKQ','profile','lKwcN','Skip\x20interactive\x20confirmation\x20prompts.','qhyOa','skillup','xudtR','JbdoQ','jOQJw','env\x20update','save-creds','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','XAQZv','IhnOT','login','Alkxu','OVyPg','13961ofABPr','xORnN','Reason:\x20','log','skip-chromium','abvKL','safe-mode','OEatc','heIUz','ranger\x20feature\x20add-checklist-item','current-branch','fnWxM','start-path','skills','LimWT','WVJoa','config\x20set','ranger\x20profile\x20config\x20unset','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','cdp-endpoint','ranger\x20feature\x20get-feedback','severity','XZwSF','list\x20<env>','list','HRuYy','IidcZ','update\x20<env-name>','ranger\x20get-review','YDVpb','OFBIO','Ranger\x20API\x20token','jFKal','Update\x20authentication\x20for\x20an\x20existing\x20profile','boolean','Install\x20OS-level\x20dependencies\x20for\x20Chromium','allow-insecure-localhost','Subcommand\x20or\x20API\x20token\x20(rngr_...)','description','token','config','dGZWo','VWChu','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','rLLFv','pcOOG','qQHWA','get-review\x20[id]','JXpuN','ranger\x20add-scenario','feature\x20add-checklist-item','AkFfP','ICBzh','\x20is\x20now\x20','.\x20[','KMDeM','add-scenario\x20<description>','report\x20[id]','project','vumNS','pMuRj','test_output','Run\x20full\x20interactive\x20setup','start','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','GicNe','positional','HWHil','FOWjh','WAFtZ','MKzUb','gaXod','evaluation','ranger\x20verify-feature','ranger\x20restore','ghiJo','heFwf','Documentation:\x0a','checklist','feature\x20delete','18UMqVxu','WhwUi','PSmTe','ErNWK','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ivfBU','tSaZv','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','profiles','migrate\x20[profile-name]','trackCommandError','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','JVKVQ','Delete\x20a\x20cloud\x20profile','feature\x20resume','PcNlL','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','WUYCD','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','EEdDH','command','Skip\x20browser\x20authentication','iolJo','BChjw','ysCdz','lBvjR','verify-feature','restore\x20<id>','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','CmAZG','\x27.\x20Session\x20saved.','base-url','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','bIsXb','OCEOQ','ranger\x20show','status','CfmOE','DgSfF','env','aqXDr','vJKEt','ranger','FhBKg','foyMD','LiCoO','ranger\x20config\x20list','baMgP','rTUTp','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','AwNvV','env-name'];_0x2ab9=function(){return _0x310560;};return _0x2ab9();}async function runGoCommand(_0x11df42,_0x15a64c=![]){const _0x26e9c5=_0x3e3040,_0x1a53c0={'zxBCf':_0x26e9c5(0x16c),'TbtmE':_0x26e9c5(0x1e9),'LVLEN':function(_0x39e709,_0x207cbb,_0x1a5e2d,_0xdbde8e){return _0x39e709(_0x207cbb,_0x1a5e2d,_0xdbde8e);},'wUAce':'--item','QdGdl':'--scenario','reAqt':'start-path','pMuRj':'base-url','XPlAt':function(_0x5868db,_0x23ec40){return _0x5868db===_0x23ec40;},'FCgpc':'verified','LKWsy':function(_0x4fbb5d,_0x3ece71){return _0x4fbb5d===_0x3ece71;},'bdTpW':_0x26e9c5(0x1dd),'veWyU':_0x26e9c5(0x162),'RqLmB':'blocked','ScONn':'\x20BLOCKED','bKdIm':'\x20FAILED','UAtjy':_0x26e9c5(0x1bb),'lBvjR':function(_0x4b009d,_0x3c9046){return _0x4b009d===_0x3c9046;}};_0x15a64c&&warnRenamed(_0x26e9c5(0x11b),_0x1a53c0[_0x26e9c5(0x187)]);warnFlagRenamed('ranger\x20go',_0x1a53c0['TbtmE'],_0x26e9c5(0x1c8)),_0x1a53c0[_0x26e9c5(0x244)](warnFlagRenamed,'ranger\x20go','--task',_0x26e9c5(0x1cf)),_0x1a53c0['LVLEN'](warnFlagRenamed,'ranger\x20go',_0x1a53c0[_0x26e9c5(0x24b)],_0x1a53c0['QdGdl']);const _0x4d2fc2=await loadRangerConfig(),_0x331e57=isByokEnabled(),_0x39bdc0=_0x11df42['model'],_0x46e7b4=_0x4d2fc2[_0x26e9c5(0x168)],_0x3f6504=await verifyFeature({'featureId':_0x11df42['feature'],'profile':_0x11df42['profile']??_0x11df42[_0x26e9c5(0x14a)]??process[_0x26e9c5(0x14a)]['RANGER_PROFILE'],'notes':_0x11df42['notes']??_0x11df42[_0x26e9c5(0x1eb)],'scenario':_0x11df42[_0x26e9c5(0x20a)]??_0x11df42['item'],'startPath':_0x11df42[_0x1a53c0[_0x26e9c5(0x188)]],'baseUrl':_0x11df42[_0x1a53c0[_0x26e9c5(0x10e)]],'debugOutcome':_0x11df42['debug-outcome'],'debugAddressComments':_0x11df42[_0x26e9c5(0x27a)],'headed':_0x11df42[_0x26e9c5(0x1de)],'byokEnabled':_0x331e57,'flagVerifyModel':_0x39bdc0,'configVerifyModel':_0x46e7b4});console[_0x26e9c5(0x29f)]('\x0a'+'='['repeat'](0x3c)),console['log'](_0x1a53c0[_0x26e9c5(0x1cb)](_0x3f6504['evaluation'],_0x1a53c0[_0x26e9c5(0x242)])?_0x26e9c5(0x1aa):_0x1a53c0[_0x26e9c5(0x1c1)](_0x3f6504['evaluation'],_0x1a53c0['bdTpW'])?_0x26e9c5(0x21d):_0x3f6504[_0x26e9c5(0x11a)]===_0x1a53c0['veWyU']?'\x20PARTIAL':_0x3f6504[_0x26e9c5(0x11a)]===_0x1a53c0[_0x26e9c5(0x20f)]?_0x1a53c0['ScONn']:_0x1a53c0['bKdIm']),console['log']('='['repeat'](0x3c)),console[_0x26e9c5(0x29f)]('Summary:\x20'+_0x3f6504[_0x26e9c5(0x1ea)]),console['log']('Evaluation:\x20'+_0x3f6504['evaluation']),console[_0x26e9c5(0x29f)](_0x26e9c5(0x29e)+_0x3f6504['evaluationReason']),_0x3f6504[_0x26e9c5(0x211)]?.['length']&&(console['log'](_0x1a53c0['UAtjy']),_0x3f6504[_0x26e9c5(0x211)]['forEach']((_0x29c8b0,_0xc3437b)=>{const _0x522579=_0x26e9c5;console[_0x522579(0x29f)]('\x0a'+(_0xc3437b+0x1)+_0x522579(0x108)+_0x29c8b0[_0x522579(0xe7)]+']\x20'+_0x29c8b0['description']);})),process['exit'](_0x1a53c0[_0x26e9c5(0x13b)](_0x3f6504[_0x26e9c5(0x11a)],_0x1a53c0[_0x26e9c5(0x242)])?0x0:0x1);}export function buildParser(_0x1eefb2){const _0x55715b=_0x3e3040,_0x135cd9={'Eqmnk':_0x55715b(0x207),'qxaOH':'description','bIsXb':'string','cmSTv':_0x55715b(0x17f),'ZqVPO':'scenario','bPbYI':'array','bqYqP':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','OtqGN':'checklist','CMpMC':function(_0x1117c7,_0x228a4f){return _0x1117c7+_0x228a4f;},'SPkjH':_0x55715b(0x158),'VWChu':function(_0x3928e4,_0x208be7,_0x20d9ad,_0x1ea71c){return _0x3928e4(_0x208be7,_0x20d9ad,_0x1ea71c);},'JbdoQ':_0x55715b(0x1d5),'iYnrx':_0x55715b(0x241),'PBnvM':'--scenario','kyWvC':_0x55715b(0x227),'tqMct':'current-branch','KMDeM':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','rTUTp':_0x55715b(0x208),'msLKX':_0x55715b(0x275),'unmTl':_0x55715b(0x1e4),'RNUuz':_0x55715b(0xf4),'CZERo':'Include\x20soft-deleted\x20feature\x20reviews','DbJxW':'show','dXKFn':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ptXzu':function(_0x47644e,_0x6cc5d3,_0x4e6c8f){return _0x47644e(_0x6cc5d3,_0x4e6c8f);},'dSAzs':'Scenario\x20description','yjSao':function(_0x337501,_0xccc7dd,_0x4e143a){return _0x337501(_0xccc7dd,_0x4e143a);},'VoYLq':'Scenario\x20number\x20to\x20edit\x20(1-based)','KLJcm':'Feature\x20review\x20ID','WTgrg':'json','SkLVe':_0x55715b(0x22e),'WUYCD':function(_0x36f670,_0x136119,_0x156c51){return _0x36f670(_0x136119,_0x156c51);},'wdCoo':function(_0x5b1c89,_0x3319d5,_0x484087){return _0x5b1c89(_0x3319d5,_0x484087);},'LiCoO':'delete','MgEeD':_0x55715b(0x201),'AwNvV':function(_0x55703a,_0x38d733,_0x81701){return _0x55703a(_0x38d733,_0x81701);},'ErNWK':'token','EbFEL':_0x55715b(0x2a0),'AkFfP':_0x55715b(0x126),'ggxkv':'with-deps','uRpQr':_0x55715b(0x13e),'lxfev':'url','FhBKg':_0x55715b(0x22a),'xEkkn':_0x55715b(0xf6),'HJQUN':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','fnWxM':_0x55715b(0x1ca),'TcqjD':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','dfODU':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','ysCdz':function(_0x32130e){return _0x32130e();},'kJLYh':_0x55715b(0x155),'GQBwC':'setup:login','fmyvr':function(_0x2e50d9,_0x5bbbea){return _0x2e50d9!==_0x5bbbea;},'mFjxY':function(_0x10ce86,_0x3643f6){return _0x10ce86+_0x3643f6;},'esOli':function(_0x3ab418,_0xcb0b88){return _0x3ab418+_0xcb0b88;},'JMgMt':_0x55715b(0x1da),'DgSfF':_0x55715b(0x1f4),'rjOfO':_0x55715b(0x219),'Rvghv':_0x55715b(0xf7),'NbdTt':_0x55715b(0x110),'bVFNY':_0x55715b(0x26a),'JzDqL':'Authenticate\x20with\x20Ranger','WhwUi':_0x55715b(0x210),'WAFtZ':_0x55715b(0x1cd),'tOVyZ':'force','adXGS':_0x55715b(0x21c),'MWcwp':'skip-auth','PcNlL':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','knOXO':_0x55715b(0x20e),'bMtGl':_0x55715b(0xfd),'LTpMY':'base-url','pYnlo':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','kQNhs':_0x55715b(0x1ae),'tZsdM':'opencode','jmZSO':'project','JxyDT':_0x55715b(0x1c3),'qheNa':function(_0x2bdab9,_0x572fd8,_0x459aa7){return _0x2bdab9(_0x572fd8,_0x459aa7);},'EOhzl':'clean','odBwJ':'profile\x20add','aUqFF':_0x55715b(0x15d),'BuJSz':'yes','LimWT':'profile\x20delete','JwpGN':'profile','GicNe':'Profile\x20name','bAQap':'profile-name','wRQUR':'all','RMYWc':_0x55715b(0x185),'mdvyj':'dry-run','pZDwQ':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','eWUog':function(_0x2a6149,_0x34b2a8,_0x3b0179){return _0x2a6149(_0x34b2a8,_0x3b0179);},'EaFQf':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','lPinS':_0x55715b(0x206),'OVyPg':_0x55715b(0x192),'yqjLA':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','gOdqT':function(_0x59933a,_0x3fb304,_0x33d843){return _0x59933a(_0x3fb304,_0x33d843);},'SQGdw':function(_0x4b685e,_0x698ae7){return _0x4b685e||_0x698ae7;},'uSNIr':_0x55715b(0x1d4),'eeYit':'profile\x20config\x20unset','zyzEn':_0x55715b(0x21a),'TBSns':'Get\x20a\x20config\x20value','rpmcY':_0x55715b(0x1fc),'heFwf':_0x55715b(0x165),'PSmTe':'use\x20<profile-name>','DCVHP':_0x55715b(0x12f),'BLabN':_0x55715b(0x226),'HUnXx':_0x55715b(0xf3),'SQdYn':'login\x20<name>','pUPQj':_0x55715b(0x12b),'RGlTf':_0x55715b(0x12d),'PxNMd':'config','eUCvw':function(_0x38a575,_0x3e4c44,_0x4e1d33){return _0x38a575(_0x3e4c44,_0x4e1d33);},'CLGUK':function(_0x417b6e,_0x2c3994,_0x244e6f){return _0x417b6e(_0x2c3994,_0x244e6f);},'lJGWp':'update','wPohH':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','zPJHS':_0x55715b(0x1f7),'rFxOg':'notes','LEDvj':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','mpBxk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','mmIUP':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','tYehC':_0x55715b(0x168),'zkMTQ':'partial','dqkXU':_0x55715b(0x251),'baMgP':'env','opKCV':_0x55715b(0x24d),'ZerNP':function(_0xe29ed9,_0x20a7c9){return _0xe29ed9(_0x20a7c9);},'IhnOT':'encrypt\x20<profile>','ZEMhn':_0x55715b(0x143),'bpjBR':_0x55715b(0x27b),'wwOcC':function(_0x2f08c8,_0x53bf80,_0x2b601a){return _0x2f08c8(_0x53bf80,_0x2b601a);},'Qplqp':_0x55715b(0x111),'OCEOQ':_0x55715b(0x27e),'JwphW':_0x55715b(0x283),'PeHga':'number','KlSXc':_0x55715b(0xde),'XhExm':_0x55715b(0x245),'nyLGc':'debug-outcome','PSKny':_0x55715b(0x172),'OFBIO':'incomplete','rLLFv':'env-name','gnEwa':_0x55715b(0x1b1),'pKwgF':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','yxaYa':_0x55715b(0x13f),'TLjrG':'ranger\x20add\x20env','LwyqA':'ranger\x20profile\x20add','pcOOG':_0x55715b(0x1ef),'OhUhG':'Name\x20of\x20the\x20environment','XZwSF':function(_0x51c4e8,_0x198920,_0x55585e){return _0x51c4e8(_0x198920,_0x55585e);},'mmdJt':_0x55715b(0x246),'jFKal':_0x55715b(0x15b),'ZyJRB':'config\x20get','DtFLF':_0x55715b(0x193),'nXJLl':_0x55715b(0x151),'RzQAR':_0x55715b(0x1ee),'eMtXw':'config\x20list','dHWHN':function(_0x2e8e02,_0x4aded8,_0x54b492){return _0x2e8e02(_0x4aded8,_0x54b492);},'PTERJ':_0x55715b(0xe3),'olaRq':'config\x20unset','HWHil':_0x55715b(0x1fd),'kQczn':_0x55715b(0xe2),'FOWjh':_0x55715b(0x272),'xshHt':_0x55715b(0xe9),'Uflod':function(_0x535f60,_0x39efda,_0x59b7f3){return _0x535f60(_0x39efda,_0x59b7f3);},'KuSqJ':_0x55715b(0x24c),'gaXod':_0x55715b(0x294),'qJopx':_0x55715b(0xed),'gIyLP':_0x55715b(0x1d9),'yeBJR':_0x55715b(0x175),'uPLjE':_0x55715b(0x1ff),'buTGi':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ghiJo':_0x55715b(0x103),'kVAIS':_0x55715b(0x104),'TUUkC':_0x55715b(0x11c),'XgXPJ':_0x55715b(0x279),'iPdgx':_0x55715b(0x239),'qhyOa':'feature\x20show','dHuXW':_0x55715b(0x130),'YjpQu':function(_0x266cdc,_0x2e52d4,_0x277dce){return _0x266cdc(_0x2e52d4,_0x277dce);},'AKWAy':_0x55715b(0x121),'dAWhX':'list','jOQJw':_0x55715b(0x282),'tbxDE':'add-checklist-item\x20<description>','ICBzh':'delete\x20[id]','yubWP':_0x55715b(0x176),'xORnN':_0x55715b(0x248),'iHcpj':_0x55715b(0x24e),'JITBR':'enable','HpoPj':_0x55715b(0x132),'ffwKr':_0x55715b(0x19e),'OXYFq':_0x55715b(0x1e1),'OEatc':'session-id','vJMgz':function(_0x162423,_0x159301,_0x5acf15){return _0x162423(_0x159301,_0x5acf15);},'lKwcN':_0x55715b(0x19f),'CAFfy':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','SNpjY':function(_0x2cd9f6,_0x289dfa){return _0x2cd9f6(_0x289dfa);},'QYxHp':function(_0x2f92fe,_0x2dbeed){return _0x2f92fe||_0x2dbeed;},'OvEbv':_0x55715b(0x1be),'jJDrY':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','aqXDr':_0x55715b(0x129),'JXpuN':_0x55715b(0x10b),'JBDvg':_0x55715b(0x101),'uqptC':_0x55715b(0x20d),'IYeIC':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','QHjBR':'Restore\x20a\x20soft-deleted\x20feature\x20review','MwBKs':'setup-ci\x20<token>','AQnzj':_0x55715b(0x299),'uhPIy':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','dDYVl':'Install\x20Ranger\x20skills','IwnAC':_0x55715b(0x1d1),'OmhSA':_0x55715b(0x147),'cSVdT':'print-access-token','vNnjv':_0x55715b(0x13c),'foyMD':'add\x20env\x20<env-name>','Alkxu':_0x55715b(0x235),'tSaZv':'hook','MKzUb':function(_0x2550cc,_0x40a376){return _0x2550cc+_0x40a376;},'DQThW':_0x55715b(0x11f),'Hjmun':_0x55715b(0x205),'ITOuE':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','nBADJ':'help'};return _0x4e783e(_0x1eefb2??process['argv'][_0x55715b(0x1a6)](0x2))['scriptName']('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x135cd9['OvEbv'],_0x135cd9[_0x55715b(0x271)],_0x3a23ed=>{const _0x583b87=_0x55715b;return _0x3a23ed['positional'](_0x583b87(0x175),{'type':'string','description':_0x135cd9['Eqmnk'],'demandOption':!![]})[_0x583b87(0x1e0)](_0x135cd9['qxaOH'],{'type':_0x135cd9['bIsXb'],'alias':'d','description':_0x135cd9['cmSTv']})[_0x583b87(0x1e0)](_0x135cd9['ZqVPO'],{'type':_0x135cd9[_0x583b87(0x169)],'alias':'c','description':_0x135cd9[_0x583b87(0x209)]})['option'](_0x135cd9[_0x583b87(0x25d)],{'type':_0x135cd9[_0x583b87(0x169)],'hidden':!![]});},async _0xe043d0=>{const _0x391e8e=_0x55715b;if(!_0xe043d0[_0x391e8e(0x175)]){console['error'](_0x135cd9['CMpMC']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x135cd9[_0x391e8e(0x1b0)])),process['exit'](0x1);return;}_0x135cd9['VWChu'](warnFlagRenamed,_0x135cd9[_0x391e8e(0x292)],_0x135cd9['iYnrx'],_0x135cd9[_0x391e8e(0x15f)]);const _0x3db307=_0xe043d0[_0x391e8e(0x20a)]||_0xe043d0[_0x391e8e(0x120)];await withTelemetry(_0x135cd9['kyWvC'],()=>featureCreate(_0xe043d0['name'],{'description':_0xe043d0[_0x391e8e(0xf8)],'scenarios':_0x3db307}));})[_0x55715b(0x136)](_0x135cd9[_0x55715b(0x234)],'List\x20all\x20feature\x20reviews',_0x42c71a=>{const _0x206cef=_0x55715b;return _0x42c71a['option'](_0x135cd9['tqMct'],{'type':_0x206cef(0xf4),'description':_0x135cd9[_0x206cef(0x109)]})['option']('limit',{'type':_0x206cef(0x223),'alias':'l','description':_0x135cd9[_0x206cef(0x153)],'default':0xa})[_0x206cef(0x1e0)](_0x135cd9['msLKX'],{'type':_0x206cef(0x223),'alias':'o','description':_0x206cef(0x279),'default':0x0})[_0x206cef(0x1e0)](_0x135cd9[_0x206cef(0x256)],{'type':_0x135cd9[_0x206cef(0x203)],'alias':'d','description':_0x135cd9[_0x206cef(0x1df)],'default':![]});},async _0x54a4ad=>{const _0x139bfe=_0x55715b;await withTelemetry(_0x139bfe(0xea),()=>featureList({'currentBranch':_0x54a4ad[_0x139bfe(0xdc)],'limit':_0x54a4ad[_0x139bfe(0x194)],'offset':_0x54a4ad[_0x139bfe(0x275)],'includeDeleted':_0x54a4ad['include-deleted']}));})['command'](_0x135cd9[_0x55715b(0x293)],_0x135cd9[_0x55715b(0x14b)],_0x50283d=>{const _0x4498cb=_0x55715b;return _0x50283d['positional']('id',{'type':_0x135cd9[_0x4498cb(0x144)],'description':_0x4498cb(0x179)});},async _0x5b379d=>{await withTelemetry(_0x135cd9['DbJxW'],()=>featureShow(_0x5b379d['id']));})[_0x55715b(0x136)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x42be3e=>{const _0x4687e1=_0x55715b;return _0x42be3e['positional']('id',{'type':_0x4687e1(0x1d7),'description':_0x135cd9[_0x4687e1(0x1d0)]});},async _0x140179=>{const _0x32c4a6=_0x55715b;await _0x135cd9[_0x32c4a6(0x1c0)](withTelemetry,'resume',()=>featureResume(_0x140179['id']));})['command'](_0x55715b(0x10a),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x4d3c33=>{const _0x4accdb=_0x55715b;return _0x4d3c33['positional'](_0x4accdb(0xf8),{'type':'string','description':_0x135cd9[_0x4accdb(0x160)],'demandOption':!![]})[_0x4accdb(0x1e0)]('id',{'type':_0x135cd9['bIsXb'],'description':_0x4accdb(0x197)});},async _0x1b5287=>{await _0x135cd9['yjSao'](withTelemetry,'add-scenario',()=>featureAddScenario(_0x1b5287['description'],_0x1b5287['id']));})[_0x55715b(0x136)](_0x55715b(0x220),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x3e138d=>{const _0x542818=_0x55715b;return _0x3e138d['positional'](_0x542818(0xf8),{'type':_0x135cd9[_0x542818(0x144)],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x542818(0x20a),{'type':'number','description':_0x135cd9['VoYLq'],'demandOption':!![]})[_0x542818(0x1e0)]('id',{'type':_0x135cd9['bIsXb'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x44558d=>{const _0x231fad=_0x55715b;await withTelemetry(_0x231fad(0x1a3),()=>featureEditScenario(_0x44558d['description'],{'id':_0x44558d['id'],'scenario':_0x44558d['scenario']}));})[_0x55715b(0x136)](_0x135cd9[_0x55715b(0x102)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x4394bc=>{const _0x14e132=_0x55715b;return _0x4394bc['positional']('id',{'type':_0x135cd9[_0x14e132(0x144)],'description':_0x135cd9['KLJcm']})['option']('exclude-scenario',{'type':_0x14e132(0x217),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x135cd9['WTgrg'],{'type':_0x135cd9['RNUuz'],'description':_0x135cd9['SkLVe'],'default':![]});},async _0x4dd8a7=>{const _0x825365=_0x55715b,_0x259646=_0x4dd8a7['exclude-scenario'],_0x5bbfb2=_0x259646?_0x259646['map'](_0xc65bbd=>Number(_0xc65bbd)):undefined;await _0x135cd9['WUYCD'](withTelemetry,_0x825365(0x287),()=>featureReportPrDescription(_0x4dd8a7['id'],{'excludeScenarios':_0x5bbfb2,'json':_0x4dd8a7['json']}));})[_0x55715b(0x136)](_0x135cd9['JBDvg'],_0x135cd9['uqptC'],_0x3bfa67=>{const _0x5568e9=_0x55715b;return _0x3bfa67[_0x5568e9(0x114)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x208621=>{await _0x135cd9['WUYCD'](withTelemetry,'get-review',()=>featureGetReview(_0x208621['id']));})['command'](_0x135cd9[_0x55715b(0x106)],_0x135cd9[_0x55715b(0x25e)],_0x5146ad=>{const _0x398c9b=_0x55715b;return _0x5146ad[_0x398c9b(0x114)]('id',{'type':_0x135cd9[_0x398c9b(0x144)],'description':'Feature\x20review\x20ID'});},async _0x44ecec=>{const _0x5a74ad=_0x55715b;await _0x135cd9[_0x5a74ad(0x1ed)](withTelemetry,_0x135cd9[_0x5a74ad(0x150)],()=>featureDelete(_0x44ecec['id']));})[_0x55715b(0x136)]('restore\x20<id>',_0x135cd9[_0x55715b(0x1db)],_0x593b21=>{const _0x12ff70=_0x55715b;return _0x593b21['positional']('id',{'type':_0x135cd9['bIsXb'],'description':_0x135cd9[_0x12ff70(0x274)],'demandOption':!![]});},async _0x2675eb=>{const _0x4d7a58=_0x55715b;await _0x135cd9[_0x4d7a58(0x156)](withTelemetry,'restore',()=>featureRestore(_0x2675eb['id']));})[_0x55715b(0x136)]('setup\x20[tokenOrSubcommand]',_0x55715b(0x1fa),_0xd11ca8=>{const _0x2cda3d=_0x55715b,_0x256846={'ToUXS':'mcp-bootstrap','tWLCr':function(_0xcda961,_0x4e9fcb,_0x13e98f){const _0x3ab194=_0x45e7;return _0x135cd9[_0x3ab194(0x1ed)](_0xcda961,_0x4e9fcb,_0x13e98f);},'xgDvO':'string','NWWRw':_0x135cd9[_0x2cda3d(0x149)],'JVKVQ':'opencode','plKng':_0x2cda3d(0xf4),'WVJoa':_0x135cd9[_0x2cda3d(0x14e)],'wWfaU':function(_0xe86d22,_0x73017a,_0x3a9217){return _0xe86d22(_0x73017a,_0x3a9217);},'YYurB':_0x2cda3d(0x14d),'VpZop':function(_0x41a752,_0x4bf7ee){return _0x41a752(_0x4bf7ee);},'vJKEt':_0x135cd9[_0x2cda3d(0x26d)],'ivfBU':_0x135cd9['uRpQr'],'zzLoC':_0x135cd9[_0x2cda3d(0x1c2)]};return _0xd11ca8[_0x2cda3d(0x277)](_0x2cda3d(0x1f9))['positional'](_0x2cda3d(0x1a4),{'type':_0x135cd9['bIsXb'],'description':_0x135cd9['Rvghv']})[_0x2cda3d(0x136)]('all',_0x135cd9['NbdTt'],_0x1b4cdb=>{const _0x41ddcb=_0x2cda3d;return _0x1b4cdb[_0x41ddcb(0x1e0)](_0x135cd9[_0x41ddcb(0x125)],{'type':_0x41ddcb(0x1d7),'description':_0x41ddcb(0xf1)})['option'](_0x135cd9[_0x41ddcb(0x16d)],{'type':'boolean','description':_0x135cd9[_0x41ddcb(0x105)],'default':![]})['option']('skip-auth',{'type':_0x135cd9[_0x41ddcb(0x203)],'description':_0x41ddcb(0x281),'default':![]})['option'](_0x135cd9['ggxkv'],{'type':_0x135cd9['RNUuz'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x41ddcb(0x1e0)](_0x41ddcb(0x219),{'type':_0x135cd9['bIsXb'],'choices':['user'],'hidden':!![],'description':_0x135cd9['uRpQr']})[_0x41ddcb(0x1e0)](_0x135cd9['lxfev'],{'type':'string','description':_0x41ddcb(0x26f)})['option']('force',{'type':_0x41ddcb(0xf4),'description':_0x41ddcb(0x296),'default':![]})[_0x41ddcb(0x1e0)]('opencode',{'type':_0x41ddcb(0xf4),'description':_0x135cd9[_0x41ddcb(0x14e)],'default':![]})['option'](_0x135cd9[_0x41ddcb(0x170)],{'type':'boolean','description':_0x135cd9[_0x41ddcb(0x1c2)],'default':![]})['option'](_0x135cd9[_0x41ddcb(0xdd)],{'type':'boolean','description':_0x135cd9[_0x41ddcb(0x238)],'default':![]})[_0x41ddcb(0x1e0)](_0x41ddcb(0x1cc),{'type':_0x135cd9['RNUuz'],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x576438=>{const _0x5200d8=_0x2cda3d;(_0x576438[_0x256846[_0x5200d8(0x166)]]||_0x576438[_0x5200d8(0x1cc)])&&await withTelemetry(_0x256846[_0x5200d8(0x166)],()=>mcpBootstrap()),await withTelemetry(_0x5200d8(0x267),_0x1051f8=>start(_0x576438['token'],{'skipChromium':_0x576438['skip-chromium'],'skipAuth':_0x576438[_0x5200d8(0x1f8)],'withDeps':_0x576438[_0x5200d8(0x221)],'scope':_0x576438['scope'],'url':_0x576438['url'],'force':_0x576438[_0x5200d8(0x15c)],'opencode':_0x576438['opencode'],'allowInsecureLocalhost':_0x576438[_0x5200d8(0xf6)]},_0x1051f8));})['command'](_0x135cd9[_0x2cda3d(0x22c)],'Install\x20Chromium\x20browser\x20binary',_0x492e7b=>{const _0x5bb24c=_0x2cda3d;return _0x492e7b[_0x5bb24c(0x1e0)](_0x5bb24c(0x221),{'type':_0x135cd9[_0x5bb24c(0x203)],'description':_0x135cd9['dfODU'],'default':![]});},async _0xfc6b5f=>{const _0x4358ed=_0x2cda3d;await _0x256846['tWLCr'](withTelemetry,'setup:deps',()=>ensureChromium(_0xfc6b5f[_0x4358ed(0x221)]));})[_0x2cda3d(0x136)](_0x2cda3d(0x299),_0x135cd9['JzDqL'],_0x303017=>{const _0x3d33bd=_0x2cda3d;return _0x303017['option'](_0x135cd9[_0x3d33bd(0x125)],{'type':_0x135cd9[_0x3d33bd(0x144)],'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option']('mcp',{'type':_0x135cd9['RNUuz'],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x3f29bf=>{const _0x5b7981=_0x2cda3d,_0x219322={'tvFqd':function(_0x31301f){const _0x1b97b0=_0x45e7;return _0x135cd9[_0x1b97b0(0x13a)](_0x31301f);},'BePkC':_0x135cd9[_0x5b7981(0x1d6)]};await withTelemetry(_0x135cd9[_0x5b7981(0x18f)],async()=>{const _0x74e5a7=_0x5b7981;if(_0x3f29bf['mcp']){await _0x219322['tvFqd'](mcpBootstrap);const _0x201bd7=await refreshCliToken();if(!_0x201bd7)throw new Error(_0x219322[_0x74e5a7(0x24f)]);const _0x96fe73=await getCurrentUser(_0x201bd7);if(!_0x96fe73['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x96fe73[_0x74e5a7(0x18a)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x96fe73[_0x74e5a7(0x1cd)][_0x74e5a7(0x190)]);return;}await authenticate(_0x3f29bf[_0x74e5a7(0xf9)]);});})[_0x2cda3d(0x136)](_0x2cda3d(0xdf),_0x135cd9[_0x2cda3d(0x123)],_0x31dc7c=>{const _0x3d5914=_0x2cda3d;return _0x31dc7c[_0x3d5914(0x1e0)](_0x3d5914(0x219),{'type':_0x256846['xgDvO'],'choices':[_0x3d5914(0x1cd),_0x3d5914(0x10c)],'description':_0x256846[_0x3d5914(0x1a2)]})[_0x3d5914(0x1e0)](_0x256846['JVKVQ'],{'type':_0x256846[_0x3d5914(0x22f)],'description':_0x256846[_0x3d5914(0xe1)],'default':![]});},async _0x3f147b=>{await withTelemetry('setup:skills',async()=>{const _0x5bd5c6=_0x45e7,_0x2206bc=_0x3f147b[_0x5bd5c6(0x219)];if(_0x3f147b['opencode']){const _0x5601dd=await ensureOpencodePluginConfig(_0x2206bc);_0x5601dd&&await _0x256846[_0x5bd5c6(0x18c)](installSkill,_0x256846[_0x5bd5c6(0x1f5)],{'level':_0x5601dd[_0x5bd5c6(0x219)],'cliVersion':getCurrentVersion(),'platform':_0x256846[_0x5bd5c6(0x12e)]});}else await ensureClaudePlugin(_0x2206bc),await _0x256846['VpZop'](ensureClaudeSkills,_0x2206bc);});})[_0x2cda3d(0x136)](_0x2cda3d(0x12a),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x23bfeb=>{const _0x1b69fd=_0x2cda3d;return _0x23bfeb['option'](_0x256846[_0x1b69fd(0x14c)],{'type':_0x256846['xgDvO'],'choices':[_0x1b69fd(0x1cd)],'description':_0x256846[_0x1b69fd(0x127)]})['option']('url',{'type':_0x1b69fd(0x1d7),'description':_0x1b69fd(0x159)})[_0x1b69fd(0x1e0)]('skip-auth',{'type':_0x1b69fd(0xf4),'description':_0x1b69fd(0x137),'default':![]})[_0x1b69fd(0x1e0)]('force',{'type':_0x1b69fd(0xf4),'description':_0x1b69fd(0x296),'default':![]})[_0x1b69fd(0x1e0)](_0x1b69fd(0xf6),{'type':'boolean','description':_0x256846['zzLoC'],'default':![]});},async _0x230993=>{const _0xaebf83=_0x2cda3d,_0x6144b3=_0x230993['scope'];_0x135cd9[_0xaebf83(0x202)](_0x6144b3,undefined)&&_0x135cd9['fmyvr'](_0x6144b3,'user')&&(console['error'](_0x135cd9[_0xaebf83(0x250)](_0x135cd9['esOli'](_0xaebf83(0x222)+_0x6144b3+_0xaebf83(0x1bc),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0xaebf83(0x182)](0x1)),await _0x135cd9[_0xaebf83(0x156)](withTelemetry,_0x135cd9['JMgMt'],_0x356802=>ensureLocalEnv({'url':_0x230993[_0xaebf83(0x1f0)],'force':_0x230993['force'],'allowInsecureLocalhost':_0x230993[_0xaebf83(0xf6)],'scope':'user'},_0x356802));})[_0x2cda3d(0x1e0)](_0x135cd9['EbFEL'],{'type':_0x135cd9[_0x2cda3d(0x203)],'description':_0x135cd9['AkFfP'],'default':![]})[_0x2cda3d(0x1e0)]('scope',{'type':'string','choices':[_0x135cd9['WAFtZ']],'hidden':!![],'description':_0x2cda3d(0x13e)})[_0x2cda3d(0x1e0)](_0x2cda3d(0x1f0),{'type':_0x135cd9['bIsXb'],'description':_0x2cda3d(0x112)})['option'](_0x135cd9[_0x2cda3d(0x1f6)],{'type':_0x135cd9['RNUuz'],'description':_0x2cda3d(0x296),'default':![]})['option']('opencode',{'type':'boolean','description':_0x135cd9[_0x2cda3d(0x14e)],'default':![]})['option'](_0x135cd9[_0x2cda3d(0x170)],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x2cda3d(0x1e0)]('mcp-bootstrap',{'type':_0x135cd9['RNUuz'],'description':_0x135cd9['adXGS'],'default':![]})['option'](_0x135cd9['MWcwp'],{'type':_0x135cd9['RNUuz'],'description':_0x135cd9[_0x2cda3d(0x131)],'default':![]})['option'](_0x135cd9['ggxkv'],{'type':_0x135cd9['RNUuz'],'description':_0x135cd9['dfODU'],'default':![]})[_0x2cda3d(0x1e0)](_0x135cd9[_0x2cda3d(0x125)],{'type':_0x2cda3d(0x1d7),'hidden':!![],'description':_0x135cd9['knOXO']});},async _0x4b7105=>{const _0x272bd7=_0x55715b,_0xe3e9f4=_0x4b7105['tokenOrSubcommand'],_0x4371d4=_0x4b7105[_0x272bd7(0xf9)]??_0xe3e9f4;_0x4b7105['mcp-bootstrap']&&await _0x135cd9[_0x272bd7(0x17c)](withTelemetry,_0x272bd7(0x1ca),()=>mcpBootstrap()),await withTelemetry('start',_0x2bf44a=>start(_0x4371d4,{'skipChromium':_0x4b7105[_0x272bd7(0x2a0)],'skipAuth':_0x4b7105['skip-auth'],'withDeps':_0x4b7105['with-deps'],'scope':_0x4b7105[_0x272bd7(0x219)],'url':_0x4b7105['url'],'force':_0x4b7105['force'],'opencode':_0x4b7105['opencode'],'allowInsecureLocalhost':_0x4b7105['allow-insecure-localhost']},_0x2bf44a));})['command'](_0x135cd9['MwBKs'],'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x367046=>{const _0x23f114=_0x55715b;return _0x367046['positional'](_0x23f114(0xf9),{'type':_0x23f114(0x1d7),'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x23f114(0x28c),{'type':'string','description':_0x135cd9[_0x23f114(0x21e)]})['option'](_0x135cd9[_0x23f114(0x284)],{'type':_0x135cd9['bIsXb'],'description':_0x135cd9['pYnlo']})[_0x23f114(0x1e0)](_0x23f114(0x2a0),{'type':_0x135cd9['RNUuz'],'description':_0x135cd9['kQNhs'],'default':![]});},async _0x420cda=>{const _0x2b2b47=_0x55715b;await _0x135cd9[_0x2b2b47(0x156)](withTelemetry,'setup-ci',_0xa96540=>setupCi(_0x420cda[_0x2b2b47(0xf9)],{'profile':_0x420cda[_0x2b2b47(0x28c)],'baseUrl':_0x420cda[_0x2b2b47(0x142)],'skipChromium':_0x420cda['skip-chromium']},_0xa96540));})['command'](_0x135cd9[_0x55715b(0x1bf)],_0x135cd9['uhPIy'],()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x55715b(0x136)]('skillup',_0x135cd9['dDYVl'],_0x961d3d=>{const _0x2fd2d2=_0x55715b;return _0x961d3d['option'](_0x135cd9[_0x2fd2d2(0x288)],{'type':'boolean','description':_0x2fd2d2(0x1ac),'default':![]})['option'](_0x135cd9['rjOfO'],{'type':'string','choices':['user',_0x135cd9['jmZSO']],'description':_0x135cd9[_0x2fd2d2(0x17d)]});},async _0x1540bc=>{const _0xcca88a=_0x55715b,_0x5977c2=Boolean(_0x1540bc['opencode']);await _0x135cd9[_0xcca88a(0x1b7)](withTelemetry,_0xcca88a(0x290),()=>skillup({'autoInstall':_0x1540bc[_0xcca88a(0x219)],'platform':_0x5977c2?_0xcca88a(0x191):'claude'}));})['command']('clean',_0x135cd9['IwnAC'],()=>{},async()=>{const _0x21f6ec=_0x55715b;await withTelemetry(_0x135cd9[_0x21f6ec(0x1b5)],()=>clean());})[_0x55715b(0x136)](['profile','profiles'],_0x55715b(0x273),_0x4ff0fa=>{const _0x4157ec=_0x55715b,_0x55d418={'QLabe':_0x135cd9['EaFQf'],'tsCtV':_0x135cd9[_0x4157ec(0x203)],'FvyUk':_0x4157ec(0x1e2),'qoxRi':_0x135cd9['MWcwp'],'WnMqm':_0x135cd9[_0x4157ec(0x144)],'jHeLn':_0x4157ec(0x134),'abvKL':_0x135cd9[_0x4157ec(0x1f6)],'EEdDH':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','tdnJP':_0x135cd9[_0x4157ec(0x19c)],'BChjw':'allow-insecure-localhost','NPvHT':_0x135cd9[_0x4157ec(0x29b)],'mraFr':_0x4157ec(0x171),'CpNWr':_0x135cd9['jmZSO'],'xudtR':_0x135cd9['yqjLA'],'HRuYy':function(_0x1a0f32,_0x5eab5f,_0x1624db){return _0x135cd9['gOdqT'](_0x1a0f32,_0x5eab5f,_0x1624db);},'KujeS':'profile\x20encrypt-auth','VucHQ':_0x135cd9[_0x4157ec(0x1b4)],'UPFid':'name','IEAUp':function(_0x3d4fd2,_0x3eb2b9){return _0x135cd9['SQGdw'](_0x3d4fd2,_0x3eb2b9);},'nuZQf':_0x4157ec(0x251),'iolJo':'unknown\x20error','uUuJO':_0x4157ec(0x21b),'vxJhR':_0x4157ec(0x198),'vumNS':_0x135cd9['JwpGN'],'aYEhs':_0x135cd9['uSNIr'],'iRfGt':function(_0x410990,_0x19f26f,_0x1492da){const _0x4e0386=_0x4157ec;return _0x135cd9[_0x4e0386(0x25c)](_0x410990,_0x19f26f,_0x1492da);},'KQrJj':_0x135cd9['eeYit'],'sZuDi':_0x4157ec(0x213),'tZzWt':_0x135cd9['zyzEn'],'IZPTb':'set\x20<profile>\x20<key>\x20<value>','qgmWZ':'get\x20<profile>\x20<key>','zVRdv':_0x135cd9[_0x4157ec(0x16a)],'eOVwX':_0x4157ec(0x1c7),'pXAcv':_0x4157ec(0x167),'CfmOE':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','zepgA':_0x4157ec(0x276)};return _0x4ff0fa['usage'](PROFILE_HELP)['command'](_0x135cd9['rpmcY'],_0x135cd9[_0x4157ec(0x11e)],_0x548a53=>{const _0x3b34aa=_0x4157ec;return _0x548a53['positional'](_0x3b34aa(0x252),{'type':_0x3b34aa(0x1d7),'description':_0x55d418['QLabe'],'demandOption':!![]})[_0x3b34aa(0x1e0)]('ci',{'type':_0x55d418[_0x3b34aa(0x247)],'description':_0x55d418['FvyUk'],'default':![]})['option'](_0x55d418['qoxRi'],{'type':_0x55d418['tsCtV'],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x3b34aa(0x1e0)](_0x3b34aa(0x1f0),{'type':_0x55d418['WnMqm'],'description':_0x55d418[_0x3b34aa(0x225)]})['option'](_0x55d418[_0x3b34aa(0x2a1)],{'type':'boolean','description':_0x55d418[_0x3b34aa(0x135)],'default':![]})['option'](_0x3b34aa(0xe5),{'type':_0x55d418['WnMqm'],'description':_0x55d418[_0x3b34aa(0x23c)]})[_0x3b34aa(0x1e0)](_0x55d418[_0x3b34aa(0x139)],{'type':_0x55d418['tsCtV'],'description':_0x55d418['NPvHT'],'default':![]})[_0x3b34aa(0x1e0)](_0x3b34aa(0x2a2),{'type':'boolean','description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x3b34aa(0x1e0)](_0x55d418['mraFr'],{'type':_0x55d418[_0x3b34aa(0x1ad)],'array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})[_0x3b34aa(0x1e0)](_0x3b34aa(0x219),{'type':_0x55d418[_0x3b34aa(0x1ad)],'choices':[_0x3b34aa(0x1cd),_0x55d418[_0x3b34aa(0x229)]],'description':_0x55d418[_0x3b34aa(0x291)]})['option'](_0x3b34aa(0x1e7),{'type':_0x55d418['tsCtV'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x305242=>{const _0x4d2b37=_0x4157ec;await withTelemetry(_0x135cd9['odBwJ'],_0x3b5ea7=>addEnv(_0x305242[_0x4d2b37(0x252)],{'ci':_0x305242['ci'],'skipAuth':_0x305242['skip-auth'],'url':_0x305242['url'],'force':_0x305242['force'],'cdpEndpoint':_0x305242[_0x4d2b37(0xe5)],'allowInsecureLocalhost':_0x305242['allow-insecure-localhost'],'safeMode':_0x305242[_0x4d2b37(0x2a2)],'setupHeader':_0x305242['setup-header'],'scope':_0x305242['scope'],'yes':_0x305242[_0x4d2b37(0x1e7)]},_0x3b5ea7),{'isElectron':Boolean(_0x305242[_0x4d2b37(0xe5)])});})[_0x4157ec(0x136)](_0x135cd9[_0x4157ec(0x124)],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x3dc753=>{const _0x3f8593=_0x4157ec;return _0x3dc753[_0x3f8593(0x114)](_0x3f8593(0x252),{'type':_0x135cd9[_0x3f8593(0x144)],'description':_0x135cd9['aUqFF'],'demandOption':!![]});},async _0x579977=>{await withTelemetry('profile\x20use',()=>useEnv(_0x579977['profile-name']));})[_0x4157ec(0x136)]('delete\x20<profile-name>',_0x135cd9['DCVHP'],_0x4ac931=>{const _0x1cef78=_0x4157ec;return _0x4ac931['positional'](_0x1cef78(0x252),{'type':_0x135cd9['bIsXb'],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x1cef78(0x1e0)](_0x135cd9['BuJSz'],{'type':_0x1cef78(0xf4),'alias':'y','description':_0x1cef78(0x154),'default':![]});},async _0xeccd04=>{const _0x148b26=_0x4157ec;await withTelemetry(_0x135cd9[_0x148b26(0xe0)],()=>deleteProfile(_0xeccd04[_0x148b26(0x252)],{'yes':_0xeccd04[_0x148b26(0x1e7)]}));})['command']('encrypt-auth\x20<profile>',_0x4157ec(0xe4),_0x56a4df=>{const _0x4d6fbe=_0x4157ec;return _0x56a4df[_0x4d6fbe(0x114)](_0x135cd9['JwpGN'],{'type':_0x4d6fbe(0x1d7),'description':_0x135cd9[_0x4d6fbe(0x113)],'demandOption':!![]});},async _0x33a811=>{const _0x3c2bd9=_0x4157ec;await _0x55d418[_0x3c2bd9(0xeb)](withTelemetry,_0x55d418['KujeS'],()=>authEncrypt(_0x33a811[_0x3c2bd9(0x28c)]));})['command']('ls',_0x135cd9['BLabN'],()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x4157ec(0x136)](_0x4157ec(0x19b),_0x135cd9['HUnXx'],_0x2701ef=>{const _0x126d63=_0x4157ec;return _0x2701ef[_0x126d63(0x114)](_0x55d418[_0x126d63(0x1ce)],{'type':_0x126d63(0x1d7),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x126d63(0xf6),{'type':'boolean','description':_0x55d418[_0x126d63(0x180)]});},async _0x1d0305=>{await withTelemetry('profile\x20update',_0x9ce285=>updateEnv(_0x1d0305['profile-name'],_0x9ce285,{'allowInsecureLocalhost':_0x1d0305['allow-insecure-localhost']}));})['command'](_0x135cd9['SQdYn'],![],_0x9ce1b9=>{const _0x2dc733=_0x4157ec;return _0x9ce1b9['positional'](_0x55d418[_0x2dc733(0x289)],{'type':'string','description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x291b4d=>{await withTelemetry(_0x55d418['uUuJO'],async()=>{const _0x8ac7a9=_0x45e7,_0x2b277e=process['env']['RANGER_TEST_USERNAME'],_0xbcc764=process[_0x8ac7a9(0x14a)][_0x8ac7a9(0x1ba)];_0x55d418['IEAUp'](!_0x2b277e,!_0xbcc764)&&(console[_0x8ac7a9(0x18a)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x8ac7a9(0x182)](0x1));const _0x41dae7=_0x291b4d['name'],_0xeeb618=await serverSideLogin(_0x41dae7,{'force':!![]});_0xeeb618['status']===_0x8ac7a9(0x269)&&(console[_0x8ac7a9(0x18a)](_0x8ac7a9(0x257)),process['exit'](0x1)),_0xeeb618['status']===_0x55d418['nuZQf']&&(console[_0x8ac7a9(0x18a)]('Login\x20failed:\x20'+(_0xeeb618[_0x8ac7a9(0x18a)]??_0x55d418[_0x8ac7a9(0x138)])),_0xeeb618['test_output']&&console[_0x8ac7a9(0x18a)](_0xeeb618[_0x8ac7a9(0x10f)]),process['exit'](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x41dae7+_0x8ac7a9(0x141));});})[_0x4157ec(0x136)](_0x135cd9[_0x4157ec(0x22b)],_0x135cd9['RGlTf'],_0x1f194f=>{const _0x2c8959=_0x4157ec;return _0x1f194f[_0x2c8959(0x114)](_0x135cd9[_0x2c8959(0x1b4)],{'type':'string','description':_0x2c8959(0x249)})[_0x2c8959(0x1e0)](_0x135cd9[_0x2c8959(0x264)],{'type':_0x135cd9[_0x2c8959(0x203)],'description':_0x135cd9['RMYWc'],'default':![]})['option'](_0x135cd9['mdvyj'],{'type':_0x135cd9[_0x2c8959(0x203)],'description':_0x135cd9['pZDwQ'],'default':![]})[_0x2c8959(0x1e0)](_0x135cd9[_0x2c8959(0x233)],{'type':_0x135cd9['RNUuz'],'alias':'y','description':_0x2c8959(0x28e),'default':![]})['option'](_0x2c8959(0x295),{'type':_0x135cd9[_0x2c8959(0x203)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x4c9646=>{const _0x2eff7c=_0x4157ec;await _0x135cd9[_0x2eff7c(0x25c)](withTelemetry,'profile\x20migrate',_0x334b0f=>migrateProfile({'profileName':_0x4c9646['profile-name'],'all':_0x4c9646['all'],'dryRun':_0x4c9646[_0x2eff7c(0x18d)],'yes':_0x4c9646['yes'],'saveCreds':_0x4c9646['save-creds']},_0x334b0f));})[_0x4157ec(0x136)](_0x135cd9[_0x4157ec(0x1b3)],'Manage\x20profile\x20configuration',_0x475340=>{const _0x15e950=_0x4157ec,_0xc6c753={'eisDQ':_0x55d418[_0x15e950(0x1ad)],'zAaZQ':_0x15e950(0x1c6),'ClYuQ':_0x55d418['vxJhR'],'qQHWA':_0x55d418[_0x15e950(0x20c)],'VFtkh':_0x55d418['vumNS']};return _0x475340[_0x15e950(0x277)](PROFILE_CONFIG_HELP)[_0x15e950(0x136)](_0x55d418[_0x15e950(0x1ec)],'Set\x20a\x20config\x20value',_0x563dc4=>{const _0x53cf68=_0x15e950;return _0x563dc4[_0x53cf68(0x114)]('profile',{'type':_0x53cf68(0x1d7),'description':_0x55d418[_0x53cf68(0x262)],'demandOption':!![]})['positional'](_0x53cf68(0x1fd),{'type':_0x53cf68(0x1d7),'description':_0x53cf68(0x164),'demandOption':!![]})[_0x53cf68(0x114)]('value',{'type':_0x55d418['WnMqm'],'description':'Config\x20value','demandOption':!![]});},async _0x101d5f=>{const _0xf41761=_0x15e950;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x101d5f['profile'],_0x101d5f[_0xf41761(0x1fd)],_0x101d5f['value']));})[_0x15e950(0x136)](_0x55d418['qgmWZ'],_0x55d418['zVRdv'],_0x1513db=>{const _0x51fee4=_0x15e950;return _0x1513db['positional'](_0x51fee4(0x28c),{'type':_0xc6c753[_0x51fee4(0x178)],'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0xc6c753['eisDQ'],'description':_0xc6c753[_0x51fee4(0x27c)],'demandOption':!![]});},async _0x16da60=>{const _0x282940=_0x15e950;await _0x55d418[_0x282940(0xeb)](withTelemetry,_0x282940(0x266),()=>configGet(_0x16da60['profile'],_0x16da60[_0x282940(0x1fd)]));})[_0x15e950(0x136)]('list\x20<profile>',_0x55d418['eOVwX'],_0x5dbd5c=>{const _0xee8414=_0x15e950;return _0x5dbd5c[_0xee8414(0x114)](_0x55d418[_0xee8414(0x10d)],{'type':'string','description':_0xee8414(0x198),'demandOption':!![]});},async _0x5d44dd=>{const _0x2b77c0=_0x15e950;await withTelemetry(_0x55d418['aYEhs'],()=>configList(_0x5d44dd[_0x2b77c0(0x28c)]));})[_0x15e950(0x136)](_0x55d418[_0x15e950(0x215)],'Remove\x20a\x20config\x20value',_0x200167=>{const _0x3854b0=_0x15e950;return _0x200167[_0x3854b0(0x114)]('profile',{'type':_0x3854b0(0x1d7),'description':_0xc6c753['ClYuQ'],'demandOption':!![]})['positional'](_0x3854b0(0x1fd),{'type':_0xc6c753['eisDQ'],'description':_0xc6c753[_0x3854b0(0x100)],'demandOption':!![]});},async _0x545208=>{const _0x5e120a=_0x15e950;await _0x55d418[_0x5e120a(0x236)](withTelemetry,_0x55d418[_0x5e120a(0x230)],()=>configUnset(_0x545208[_0x5e120a(0x28c)],_0x545208[_0x5e120a(0x1fd)]));})[_0x15e950(0x136)](_0x15e950(0x1a0),_0x55d418[_0x15e950(0x148)],_0x9927ad=>{const _0x570dd9=_0x15e950;return _0x9927ad['positional'](_0xc6c753[_0x570dd9(0x1bd)],{'type':'string','description':_0xc6c753['ClYuQ'],'demandOption':!![]});},async _0x9275b4=>{const _0x296913=_0x15e950;await _0x55d418['HRuYy'](withTelemetry,_0x55d418[_0x296913(0x186)],()=>configReset(_0x9275b4['profile']));})[_0x15e950(0x204)](0x1,_0x55d418[_0x15e950(0x1b6)]);})[_0x4157ec(0x204)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x55715b(0x136)](_0x135cd9['OmhSA'],_0x55715b(0x1e3),()=>{},async()=>{const _0x2a4f05=_0x55715b;await _0x135cd9['eUCvw'](withTelemetry,_0x2a4f05(0x147),()=>status());})['command'](_0x135cd9[_0x55715b(0x23f)],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x325e30=_0x55715b;await _0x135cd9['CLGUK'](withTelemetry,_0x135cd9[_0x325e30(0x23f)],()=>update());})[_0x55715b(0x136)](_0x135cd9[_0x55715b(0x263)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x530793=_0x55715b,_0x24aa34={'CaArV':_0x135cd9[_0x530793(0x285)]};await withTelemetry(_0x530793(0x1b8),async()=>{const _0x4f8864=await getToken();if(!_0x4f8864)throw new Error(_0x24aa34['CaArV']);console['log'](_0x4f8864);});})['command']('go',_0x55715b(0x1e6),_0x1ea2b3=>{const _0x33088a=_0x55715b;return _0x1ea2b3[_0x33088a(0x1e0)]('feature',{'type':_0x33088a(0x1d7),'description':_0x33088a(0x161)})['option'](_0x33088a(0x28c),{'type':_0x33088a(0x1d7),'description':_0x135cd9['zPJHS']})['option'](_0x135cd9['rFxOg'],{'type':_0x33088a(0x1d7),'description':_0x135cd9['LEDvj']})[_0x33088a(0x1e0)](_0x135cd9[_0x33088a(0x16f)],{'type':_0x33088a(0x223),'description':_0x33088a(0x265)})['option']('start-path',{'type':_0x135cd9[_0x33088a(0x144)],'description':_0x135cd9['mpBxk']})[_0x33088a(0x1e0)](_0x33088a(0x142),{'type':_0x135cd9[_0x33088a(0x144)],'description':_0x135cd9[_0x33088a(0x232)]})['option'](_0x135cd9['tYehC'],{'type':_0x135cd9[_0x33088a(0x144)],'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.'})['option']('headed',{'type':'boolean','description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x33088a(0x1e0)]('debug-outcome',{'type':_0x135cd9[_0x33088a(0x144)],'hidden':!![],'choices':['verified',_0x135cd9[_0x33088a(0x22d)],'blocked',_0x135cd9['dqkXU'],'incomplete']})['option'](_0x33088a(0x27a),{'type':_0x135cd9[_0x33088a(0x203)],'hidden':!![]})['option'](_0x135cd9[_0x33088a(0x152)],{'type':'string','hidden':!![]})[_0x33088a(0x1e0)](_0x33088a(0x1eb),{'type':_0x135cd9[_0x33088a(0x144)],'hidden':!![]})[_0x33088a(0x1e0)]('item',{'type':'number','hidden':!![]});},async _0x2bb7bc=>{await runGoCommand(_0x2bb7bc);})['command']('auth',![],_0x368a0c=>{const _0x13aa5e=_0x55715b,_0x51dc53={'wWGNu':'profile','MJqrb':_0x135cd9[_0x13aa5e(0x144)]};return _0x368a0c[_0x13aa5e(0x136)](_0x135cd9[_0x13aa5e(0x298)],![],_0x2c2a84=>{const _0x679411=_0x13aa5e;return _0x2c2a84[_0x679411(0x114)](_0x51dc53[_0x679411(0x184)],{'type':_0x51dc53[_0x679411(0x195)],'description':_0x679411(0x198),'demandOption':!![]});},async _0x59c270=>{const _0x51a0ec=_0x13aa5e;warnRenamed('ranger\x20auth\x20encrypt',_0x135cd9['opKCV']),await _0x135cd9[_0x51a0ec(0x174)](authEncrypt,_0x59c270['profile']);})[_0x13aa5e(0x204)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x55715b(0x136)](_0x55715b(0x258),![],_0x1cf0c5=>{const _0x5574fb=_0x55715b;return _0x1cf0c5['positional'](_0x135cd9['ErNWK'],{'type':_0x5574fb(0x1d7),'description':_0x135cd9['ZEMhn']})['option'](_0x135cd9[_0x5574fb(0x16d)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x5574fb(0x1e0)]('scope',{'type':'string','choices':[_0x135cd9[_0x5574fb(0x117)]],'hidden':!![],'description':_0x135cd9[_0x5574fb(0x23d)]})['option']('url',{'type':_0x135cd9['bIsXb'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x5574fb(0x1e0)]('force',{'type':_0x135cd9[_0x5574fb(0x203)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x135cd9['MWcwp'],{'type':_0x135cd9['RNUuz'],'description':_0x5574fb(0x281),'default':![]})['option'](_0x5574fb(0x221),{'type':_0x5574fb(0xf4),'description':_0x5574fb(0xf5),'default':![]});},async _0x39b518=>{const _0x550e86=_0x55715b;_0x135cd9[_0x550e86(0x1c0)](warnRenamed,_0x550e86(0x218),_0x135cd9['bpjBR']),await _0x135cd9['wwOcC'](withTelemetry,_0x135cd9['Qplqp'],_0x4e6f25=>start(_0x39b518['token'],{'skipChromium':_0x39b518['skip-chromium'],'skipAuth':_0x39b518[_0x550e86(0x1f8)],'withDeps':_0x39b518[_0x550e86(0x221)],'scope':_0x39b518[_0x550e86(0x219)],'url':_0x39b518['url'],'force':_0x39b518['force']},_0x4e6f25));})[_0x55715b(0x136)](_0x135cd9['vNnjv'],![],_0x578e22=>{const _0x261a40=_0x55715b;return _0x578e22[_0x261a40(0x1e0)](_0x135cd9[_0x261a40(0x152)],{'type':_0x135cd9['bIsXb'],'description':_0x135cd9[_0x261a40(0x145)]})['option']('task',{'type':_0x261a40(0x1d7),'description':_0x261a40(0x1fb)})['option'](_0x135cd9[_0x261a40(0x1dc)],{'type':_0x135cd9[_0x261a40(0x1f2)],'description':_0x261a40(0x265)})[_0x261a40(0x1e0)]('profile',{'type':_0x261a40(0x1d7),'hidden':!![]})['option']('notes',{'type':_0x261a40(0x1d7),'hidden':!![]})[_0x261a40(0x1e0)](_0x261a40(0x20a),{'type':_0x135cd9[_0x261a40(0x1f2)],'hidden':!![]})[_0x261a40(0x1e0)](_0x135cd9[_0x261a40(0x20b)],{'type':'string','description':_0x261a40(0x214)})['option'](_0x135cd9['LTpMY'],{'type':'string','description':_0x135cd9[_0x261a40(0x16e)]})[_0x261a40(0x1e0)](_0x261a40(0x168),{'type':'string','hidden':!![]})[_0x261a40(0x1e0)]('headed',{'type':'boolean','hidden':!![],'default':![]})[_0x261a40(0x1e0)](_0x135cd9['nyLGc'],{'type':_0x261a40(0x1d7),'hidden':!![],'choices':[_0x261a40(0x18b),_0x135cd9['zkMTQ'],_0x135cd9['PSKny'],_0x135cd9['dqkXU'],_0x135cd9[_0x261a40(0xf0)]]});},async _0x4443f6=>{await _0x135cd9['CLGUK'](runGoCommand,_0x4443f6,!![]);})['command'](_0x135cd9[_0x55715b(0x14f)],![],_0x4efd3b=>{const _0xdff929=_0x55715b;return _0x4efd3b[_0xdff929(0x114)](_0x135cd9[_0xdff929(0xfe)],{'type':_0x135cd9['bIsXb'],'description':_0x135cd9['gnEwa'],'demandOption':!![]})['option']('ci',{'type':_0xdff929(0xf4),'description':_0x135cd9[_0xdff929(0x1d2)],'default':![]})['option'](_0x135cd9['MWcwp'],{'type':_0xdff929(0xf4),'description':_0x135cd9['yxaYa'],'default':![]});},async _0x212a4b=>{const _0x49e651=_0x55715b;_0x135cd9[_0x49e651(0x17c)](warnRenamed,_0x135cd9['TLjrG'],_0x135cd9[_0x49e651(0x237)]),await _0x135cd9['CLGUK'](withTelemetry,_0x135cd9[_0x49e651(0xff)],_0x2ba28d=>addEnv(_0x212a4b[_0x49e651(0x157)],{'ci':_0x212a4b['ci'],'skipAuth':_0x212a4b[_0x49e651(0x1f8)]},_0x2ba28d));})['command'](_0x135cd9[_0x55715b(0x29a)],![],_0x2a3935=>{const _0x589a7c=_0x55715b;return _0x2a3935['positional']('env-name',{'type':'string','description':_0x135cd9[_0x589a7c(0x1a5)],'demandOption':!![]});},async _0x3718e5=>{const _0x222418=_0x55715b;warnRenamed(_0x222418(0x1a1),'ranger\x20profile\x20use'),await _0x135cd9[_0x222418(0xe8)](withTelemetry,_0x135cd9['mmdJt'],()=>useEnv(_0x3718e5[_0x222418(0x157)]));})[_0x55715b(0x136)](_0x55715b(0xfa),![],_0x57c5c3=>{const _0x52cb8f=_0x55715b,_0x3d7967={'oDvEy':_0x135cd9['baMgP'],'RruGH':_0x135cd9['DtFLF'],'YDVpb':_0x135cd9[_0x52cb8f(0x115)],'LvUfH':_0x52cb8f(0x259),'heIUz':function(_0x75cc4,_0x21dbbf,_0x5cb8aa){return _0x75cc4(_0x21dbbf,_0x5cb8aa);},'xfSFz':'ranger\x20config\x20set','ItpOL':_0x135cd9['kQczn']};return _0x57c5c3[_0x52cb8f(0x136)]('set\x20<env>\x20<key>\x20<value>',![],_0x119bbf=>{const _0xe38b6a=_0x52cb8f;return _0x119bbf['positional'](_0x3d7967['oDvEy'],{'type':_0xe38b6a(0x1d7),'description':_0x3d7967['RruGH'],'demandOption':!![]})[_0xe38b6a(0x114)](_0x3d7967[_0xe38b6a(0xef)],{'type':'string','description':_0xe38b6a(0x164),'demandOption':!![]})[_0xe38b6a(0x114)](_0x3d7967[_0xe38b6a(0x18e)],{'type':'string','description':_0xe38b6a(0x228),'demandOption':!![]});},async _0x22d138=>{const _0xe992ba=_0x52cb8f;_0x3d7967[_0xe992ba(0xda)](warnRenamed,_0x3d7967[_0xe992ba(0x27f)],_0xe992ba(0x17e)),await withTelemetry(_0x3d7967['ItpOL'],()=>configSet(_0x22d138[_0xe992ba(0x14a)],_0x22d138['key'],_0x22d138['value']));})[_0x52cb8f(0x136)](_0x135cd9[_0x52cb8f(0x116)],![],_0x401e14=>{const _0x36bdd0=_0x52cb8f;return _0x401e14['positional']('env',{'type':_0x135cd9['bIsXb'],'description':_0x36bdd0(0x193),'demandOption':!![]})['positional']('key',{'type':_0x135cd9['bIsXb'],'description':_0x36bdd0(0x1c6),'demandOption':!![]});},async _0x31a280=>{const _0x324049=_0x52cb8f;_0x135cd9[_0x324049(0x1b7)](warnRenamed,_0x135cd9[_0x324049(0xf2)],'ranger\x20profile\x20config\x20get'),await _0x135cd9[_0x324049(0x133)](withTelemetry,_0x135cd9[_0x324049(0x15a)],()=>configGet(_0x31a280['env'],_0x31a280['key']));})[_0x52cb8f(0x136)](_0x135cd9[_0x52cb8f(0x1c4)],![],_0x355a22=>{const _0x36ffc4=_0x52cb8f;return _0x355a22[_0x36ffc4(0x114)](_0x135cd9['baMgP'],{'type':_0x135cd9['bIsXb'],'description':_0x135cd9[_0x36ffc4(0x1c9)],'demandOption':!![]});},async _0x2f083c=>{const _0x504cba=_0x52cb8f;warnRenamed(_0x135cd9[_0x504cba(0x1b9)],_0x135cd9['RzQAR']),await withTelemetry(_0x135cd9[_0x504cba(0x1d8)],()=>configList(_0x2f083c['env']));})['command']('unset\x20<env>\x20<key>',![],_0x164777=>{const _0x169e54=_0x52cb8f;return _0x164777['positional'](_0x169e54(0x14a),{'type':'string','description':_0x135cd9[_0x169e54(0x1c9)],'demandOption':!![]})[_0x169e54(0x114)](_0x169e54(0x1fd),{'type':_0x135cd9['bIsXb'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x4ec234=>{const _0x8e22e7=_0x52cb8f;_0x135cd9[_0x8e22e7(0x1a7)](warnRenamed,'ranger\x20config\x20unset',_0x135cd9['PTERJ']),await _0x135cd9[_0x8e22e7(0x1a7)](withTelemetry,_0x135cd9[_0x8e22e7(0x1ab)],()=>configUnset(_0x4ec234[_0x8e22e7(0x14a)],_0x4ec234['key']));})[_0x52cb8f(0x204)](0x1,_0x52cb8f(0x1b2));})['command'](_0x135cd9[_0x55715b(0x152)],![],_0x5e86c7=>{const _0x18b43a=_0x55715b,_0x107d71={'RPWJM':_0x135cd9[_0x18b43a(0xfe)],'XAQZv':'string','USTFm':'Name\x20of\x20the\x20environment\x20to\x20update'};return _0x5e86c7['command']('ls',![],()=>{},async()=>{const _0x342434=_0x18b43a;_0x135cd9['Uflod'](warnRenamed,_0x342434(0x278),'ranger\x20profile\x20ls'),await withTelemetry(_0x135cd9[_0x342434(0x177)],()=>envList());})['command'](_0x135cd9[_0x18b43a(0x199)],![],_0x1aa03d=>{const _0x1fa0a6=_0x18b43a;return _0x1aa03d[_0x1fa0a6(0x114)](_0x107d71['RPWJM'],{'type':_0x107d71[_0x1fa0a6(0x297)],'description':_0x107d71['USTFm'],'demandOption':!![]});},async _0x22358c=>{const _0x29bf50=_0x18b43a;warnRenamed(_0x29bf50(0x1fe),'ranger\x20profile\x20update'),await _0x135cd9['yjSao'](withTelemetry,_0x135cd9[_0x29bf50(0x119)],_0x154645=>updateEnv(_0x22358c[_0x29bf50(0x157)],_0x154645));})[_0x18b43a(0x204)](0x1,_0x135cd9[_0x18b43a(0x1af)]);})[_0x55715b(0x136)]('feature',![],_0x132ca6=>{const _0x109d97=_0x55715b,_0xbe7255={'Opgnf':function(_0x25ed30,_0x67f269,_0xb94fb5){return _0x25ed30(_0x67f269,_0xb94fb5);},'CpWMc':'ranger\x20feature\x20create','nnNTE':_0x135cd9['JbdoQ'],'WzqQx':function(_0x440e27,_0x357ec9,_0x49d0f1,_0x5d4f1b){const _0x595f59=_0x45e7;return _0x135cd9[_0x595f59(0xfc)](_0x440e27,_0x357ec9,_0x49d0f1,_0x5d4f1b);},'OXaMY':_0x135cd9['iYnrx'],'SeUjK':function(_0x1b2d47,_0x59f2ff,_0x2eb9b6){return _0x1b2d47(_0x59f2ff,_0x2eb9b6);},'VezFb':_0x135cd9['tqMct'],'JvSKQ':'number','Efvzf':_0x135cd9[_0x109d97(0x231)],'geZTi':_0x135cd9[_0x109d97(0x1df)],'CYOcE':function(_0xeaa5b6,_0x558c81,_0x7a4841){return _0x135cd9['qheNa'](_0xeaa5b6,_0x558c81,_0x7a4841);},'CmAZG':_0x135cd9['iPdgx'],'IidcZ':function(_0x42919e,_0x56c823,_0x2c0697){return _0x42919e(_0x56c823,_0x2c0697);},'zrOAs':_0x135cd9[_0x109d97(0x28f)],'uajJS':_0x135cd9[_0x109d97(0x196)],'OqltC':function(_0x107f5c,_0x3a2d0e,_0x6c1b6b){return _0x135cd9['YjpQu'](_0x107f5c,_0x3a2d0e,_0x6c1b6b);},'HZluh':function(_0x5da8ec,_0x39367b,_0x19a530){return _0x5da8ec(_0x39367b,_0x19a530);},'NrxIb':function(_0x1bf8b6,_0x1f72c9,_0x221bc2){const _0x537545=_0x109d97;return _0x135cd9[_0x537545(0x25c)](_0x1bf8b6,_0x1f72c9,_0x221bc2);},'oZpBR':_0x135cd9[_0x109d97(0x1f1)],'MiWjz':'string'};return _0x132ca6[_0x109d97(0x136)]('create\x20<name>',![],_0x332165=>{const _0x5ec572=_0x109d97;return _0x332165[_0x5ec572(0x114)](_0x135cd9[_0x5ec572(0x240)],{'type':_0x5ec572(0x1d7),'description':_0x135cd9['Eqmnk'],'demandOption':!![]})['option']('description',{'type':_0x135cd9[_0x5ec572(0x144)],'alias':'d','description':_0x135cd9[_0x5ec572(0x224)]})[_0x5ec572(0x1e0)](_0x135cd9[_0x5ec572(0x25d)],{'type':_0x135cd9['bPbYI'],'alias':'c','description':_0x135cd9['bqYqP']})['option'](_0x135cd9[_0x5ec572(0x16f)],{'type':_0x135cd9['bPbYI'],'hidden':!![]});},async _0x34a9d6=>{const _0x4e4845=_0x109d97;_0xbe7255[_0x4e4845(0x163)](warnRenamed,_0xbe7255['CpWMc'],_0xbe7255[_0x4e4845(0x260)]),_0xbe7255['WzqQx'](warnFlagRenamed,'ranger\x20create',_0xbe7255['OXaMY'],'--scenario');const _0x2fa76d=_0x34a9d6[_0x4e4845(0x20a)]||_0x34a9d6['checklist'];await _0xbe7255['SeUjK'](withTelemetry,'feature\x20create',()=>featureCreate(_0x34a9d6[_0x4e4845(0x175)],{'description':_0x34a9d6['description'],'scenarios':_0x2fa76d}));})[_0x109d97(0x136)](_0x135cd9['dAWhX'],![],_0x489007=>{const _0x3fcb8f=_0x109d97;return _0x489007['option'](_0xbe7255[_0x3fcb8f(0x27d)],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option']('limit',{'type':_0xbe7255[_0x3fcb8f(0x28b)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0xbe7255[_0x3fcb8f(0x28b)],'alias':'o','description':_0xbe7255[_0x3fcb8f(0x1d3)],'default':0x0})[_0x3fcb8f(0x1e0)](_0x3fcb8f(0x1e4),{'type':_0x3fcb8f(0xf4),'alias':'d','description':_0xbe7255['geZTi'],'default':![]});},async _0x2709f3=>{const _0x2deb84=_0x109d97;warnRenamed('ranger\x20feature\x20list',_0x135cd9['uPLjE']),await withTelemetry(_0x2deb84(0x261),()=>featureList({'currentBranch':_0x2709f3['current-branch'],'limit':_0x2709f3['limit'],'offset':_0x2709f3[_0x2deb84(0x275)],'includeDeleted':_0x2709f3['include-deleted']}));})['command'](_0x135cd9['jOQJw'],![],_0x33dbe5=>{const _0x59f9bf=_0x109d97;return _0x33dbe5[_0x59f9bf(0x114)]('id',{'type':_0x135cd9['bIsXb'],'description':_0x135cd9[_0x59f9bf(0x23b)]});},async _0x1e2bb7=>{const _0x299655=_0x109d97;_0xbe7255['CYOcE'](warnRenamed,_0xbe7255[_0x299655(0x140)],_0x299655(0x146)),await _0xbe7255[_0x299655(0xec)](withTelemetry,_0xbe7255['zrOAs'],()=>featureShow(_0x1e2bb7['id']));})['command']('resume\x20[id]',![],_0x4a0560=>{const _0x381965=_0x109d97;return _0x4a0560['positional']('id',{'type':_0x381965(0x1d7),'description':_0x135cd9['dXKFn']});},async _0x5583c5=>{const _0x45a89e=_0x109d97;_0xbe7255['IidcZ'](warnRenamed,'ranger\x20feature\x20resume','ranger\x20resume'),await withTelemetry(_0xbe7255[_0x45a89e(0x21f)],()=>featureResume(_0x5583c5['id']));})[_0x109d97(0x136)](_0x135cd9[_0x109d97(0x181)],![],_0x317a9a=>{const _0x1614fa=_0x109d97;return _0x317a9a['positional']('description',{'type':_0x1614fa(0x1d7),'description':_0x135cd9['dSAzs'],'demandOption':!![]})[_0x1614fa(0x1e0)]('id',{'type':'string','description':_0x135cd9[_0x1614fa(0x26c)]});},async _0x2ffd1c=>{const _0x63e481=_0x109d97;_0x135cd9['Uflod'](warnRenamed,_0x63e481(0xdb),_0x135cd9[_0x63e481(0x11d)]),await _0x135cd9[_0x63e481(0x1a9)](withTelemetry,_0x135cd9['kVAIS'],()=>featureAddScenario(_0x2ffd1c['description'],_0x2ffd1c['id']));})[_0x109d97(0x136)](_0x109d97(0x280),![],_0x38c1f2=>{const _0x4b0eb7=_0x109d97;return _0x38c1f2[_0x4b0eb7(0x114)]('id',{'type':_0x135cd9['bIsXb'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xbf0ea0=>{const _0x566603=_0x109d97;_0xbe7255[_0x566603(0x189)](warnRenamed,_0x566603(0xe6),_0x566603(0xee)),await _0xbe7255['HZluh'](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0xbf0ea0['id']));})['command'](_0x135cd9['ICBzh'],![],_0x21d327=>{const _0x38d3c7=_0x109d97;return _0x21d327[_0x38d3c7(0x114)]('id',{'type':_0x38d3c7(0x1d7),'description':_0x135cd9[_0x38d3c7(0x23b)]});},async _0x5061cc=>{const _0x3e2260=_0x109d97;warnRenamed(_0x3e2260(0x216),'ranger\x20delete'),await _0xbe7255['NrxIb'](withTelemetry,_0xbe7255['oZpBR'],()=>featureDelete(_0x5061cc['id']));})[_0x109d97(0x136)](_0x109d97(0x13d),![],_0x126b83=>{return _0x126b83['positional']('id',{'type':_0xbe7255['MiWjz'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x8189c3=>{const _0x79c069=_0x109d97;_0x135cd9[_0x79c069(0xe8)](warnRenamed,_0x79c069(0x26e),_0x135cd9['TUUkC']),await withTelemetry('feature\x20restore',()=>featureRestore(_0x8189c3['id']));})['demandCommand'](0x1,_0x135cd9['yubWP']);})['command'](_0x135cd9[_0x55715b(0x128)],![],_0x4a1d02=>{const _0xa8ad35=_0x55715b,_0x587f52={'JcrXK':function(_0x2d40a5,_0x20f77b,_0x33cea2){return _0x2d40a5(_0x20f77b,_0x33cea2);},'klbrM':_0x135cd9['iHcpj']};return _0x4a1d02['command'](_0x135cd9['JITBR'],_0x135cd9['HpoPj'],_0x5315ab=>{const _0x5075e9=_0x45e7;return _0x5315ab[_0x5075e9(0x1e0)]('session-id',{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x38eafa=>{const _0x31c209=_0x45e7;await _0x587f52[_0x31c209(0x23a)](withTelemetry,'hook:enable',()=>hook('enable',_0x38eafa[_0x31c209(0x286)]));})[_0xa8ad35(0x136)](_0x135cd9['ffwKr'],_0x135cd9['OXYFq'],_0x3c029e=>{const _0xf29370=_0xa8ad35;return _0x3c029e[_0xf29370(0x1e0)]('session-id',{'type':_0x135cd9[_0xf29370(0x144)],'description':_0x135cd9[_0xf29370(0x29d)]});},async _0x2defc4=>{const _0x401da4=_0xa8ad35;await withTelemetry(_0x587f52[_0x401da4(0x26b)],()=>hook('disable',_0x2defc4['session-id']));})[_0xa8ad35(0x1e0)](_0x135cd9['yeBJR'],{'type':_0xa8ad35(0x1d7),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0xa8ad35(0x1e0)](_0x135cd9[_0xa8ad35(0xd9)],{'type':_0x135cd9[_0xa8ad35(0x144)],'description':_0x135cd9[_0xa8ad35(0x29d)]});},async _0x3bbe59=>{const _0x21d48f=_0x55715b;_0x3bbe59['name']&&await _0x135cd9[_0x21d48f(0x25a)](hook,_0x3bbe59['name'],_0x3bbe59[_0x135cd9[_0x21d48f(0xd9)]]);})[_0x55715b(0x204)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x16c406,_0x4da4ee,_0x330ed6)=>{const _0x2bfbba=_0x55715b,_0x3e7ce3=sanitizeArgs(process[_0x2bfbba(0x1e8)][_0x2bfbba(0x1a6)](0x2)),_0x34b4f5=getErrorType(_0x16c406,_0x4da4ee);if(_0x16c406&&_0x16c406['includes'](_0x135cd9[_0x2bfbba(0x28d)])){const _0x18824e=process[_0x2bfbba(0x1e8)][0x2];console[_0x2bfbba(0x18a)](_0x2bfbba(0x270)+_0x18824e),console['error'](_0x135cd9['CAFfy']);}else{if(_0x16c406)console[_0x2bfbba(0x18a)]('\x0a'+_0x16c406+'\x0a');else _0x4da4ee&&console[_0x2bfbba(0x18a)]('\x0aError:\x20'+_0x4da4ee['message']+'\x0a');}await _0x135cd9[_0x2bfbba(0x268)](logDesirePath,{'rawCommand':_0x3e7ce3,'errorMessage':_0x16c406||_0x4da4ee?.['message'],'errorType':_0x34b4f5});const _0x1eb43f=_0x135cd9['ysCdz'](getCurrentCollector);_0x1eb43f&&await _0x1eb43f[_0x2bfbba(0x12c)](_0x4da4ee||new Error(_0x135cd9['QYxHp'](_0x16c406,_0x2bfbba(0x15e)))),process[_0x2bfbba(0x182)](0x1);})[_0x55715b(0x24a)](_0x135cd9[_0x55715b(0x118)](_0x135cd9['DQThW'],_0x135cd9['Hjmun'])+_0x135cd9[_0x55715b(0x254)])['help']()[_0x55715b(0x16b)](_0x135cd9[_0x55715b(0x243)],'h');}process[_0x3e3040(0x14a)]['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0x3e3040(0x1e8)])&&showLegacyDeprecationWarning(),buildParser()['parse']());