@ranger-testing/ranger-cli 2.5.4-alpha.071b7bd-1 → 2.5.4-alpha.152f635-21
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.
- package/README.md +36 -14
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -0
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -0
- package/build/commands/utils/cloudProfileSession.js +1 -0
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -0
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -0
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -0
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -0
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -0
- package/build/commands/utils/resolveProfileUrl.js +1 -0
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/skills/ranger/SKILL.md +36 -6
- package/build/skills/ranger/create.md +19 -0
- package/build/skills/ranger/verify.md +46 -7
- package/package.json +8 -3
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
|
|
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
|
|
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
|
-
|
|
70
|
-
|
|
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
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
| `ranger profile config
|
|
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`, `
|
|
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
|
|
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 _0x1b6b0a=_0x52fd;(function(_0x1bf53a,_0x4f7dd3){const _0x9272ba=_0x52fd,_0x13dab1=_0x1bf53a();while(!![]){try{const _0x2938cb=parseInt(_0x9272ba(0x220))/0x1+-parseInt(_0x9272ba(0x293))/0x2+-parseInt(_0x9272ba(0x23d))/0x3+-parseInt(_0x9272ba(0x2bc))/0x4+-parseInt(_0x9272ba(0x2a5))/0x5*(parseInt(_0x9272ba(0x1be))/0x6)+parseInt(_0x9272ba(0x193))/0x7*(parseInt(_0x9272ba(0x17e))/0x8)+-parseInt(_0x9272ba(0x204))/0x9*(-parseInt(_0x9272ba(0x226))/0xa);if(_0x2938cb===_0x4f7dd3)break;else _0x13dab1['push'](_0x13dab1['shift']());}catch(_0x590a24){_0x13dab1['push'](_0x13dab1['shift']());}}}(_0x5745,0xef6d1));import _0x5783fd from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5582dd=_0x52fd,_0x1fddf3={'eFRrk':function(_0x28b01e,_0x1e1c10){return _0x28b01e(_0x1e1c10);},'TpHhN':function(_0x4cdfe6,_0x1bc6cb,_0x56cd7f){return _0x4cdfe6(_0x1bc6cb,_0x56cd7f);},'fAUsZ':_0x5582dd(0x2de)};let _0x6ca0a6=process[_0x5582dd(0x280)]();const _0x53d6f3=parse(_0x6ca0a6)[_0x5582dd(0x231)];while(_0x6ca0a6!==_0x53d6f3){if(existsSync(join(_0x6ca0a6,'.ranger'))||_0x1fddf3[_0x5582dd(0x2b7)](existsSync,_0x1fddf3[_0x5582dd(0x22b)](join,_0x6ca0a6,_0x1fddf3['fAUsZ'])))return _0x6ca0a6;_0x6ca0a6=dirname(_0x6ca0a6);}return process[_0x5582dd(0x280)]();}function _0x5745(){const _0x24ff8d=['unset\x20<profile>\x20<key>','New\x20scenario\x20description','array','get-feedback\x20[id]','4319532PqzoRQ','verified','feature\x20show','evaluationReason','profile\x20ls','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','WSdzn','Config\x20key','CkdPR','get-review','scope','unset\x20<env>\x20<key>','PEQLY','evaluation','ranger\x20feature\x20get-feedback','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','aBqrZ','Zmbvp','Config\x20key\x20to\x20remove','ranger\x20config\x20get','add\x20env\x20<env-name>','--notes','error','Reason:\x20','iVCne','yyIlR','login','DSicp','ViaKT','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','LstnK','ziDSg','add\x20env','demandCommand','.env','IwZpJ','ranger\x20resume','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','aFzrh','checklist','env','allow-insecure-localhost','You\x20must\x20specify\x20a\x20profile\x20subcommand','exclude-scenario','epilogue','show','slice','ranger\x20verify-feature','RZzNx','VmPlj','GEKgG','NXRtB','skip-chromium','PhbCZ','hMrKQ','MVtFA','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','add\x20<profile-name>','xYTsb','update\x20<env-name>','Where\x20to\x20store\x20the\x20profile','partial','Print\x20the\x20current\x20CLI\x20access\x20token','kmluY','task','skills','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','jRBrw','number','ObSEE','List\x20all\x20feature\x20reviews','Ieiej','--checklist','QZxcs','log','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','status','Scenario\x20description','ranger\x20env\x20update','aDqDX','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','include-deleted','command','ajmDY','use','limit','setup:deps','Include\x20soft-deleted\x20feature\x20reviews','Set\x20up\x20a\x20local\x20browser\x20profile','cdp-endpoint','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','eIBue','855648IRougv','crgMZ','KHAMG','MOjdA','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','DiDHe','IMRTx','ohSFb','sTgbi','clean','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','headed','positional','cXBji','name','TKEWE','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','nfPAN','Qzljo','rhigU','fNYHP','42diynvk','token','start\x20[token]','usage','\x20BLOCKED','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-bypass-turnstile\x20\x27a1b2c3d4...\x27','includes','WkeVv','ranger\x20profile\x20use','ranger\x20profile\x20config\x20unset','restore\x20<id>','boolean','\x20VERIFIED','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','profile-name','setup-header','HBVYN','feature','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','QWNKm','notes','GqJXy','lvVks','version','ZvsSI','yrboE','resume\x20[id]','config','json','skip-auth','aovGI','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','bMliB','wqsbH','Authenticate\x20with\x20Ranger','XGYVw','user','Run\x20full\x20interactive\x20setup','opencode','failed','SqSLg','zDVNg','Hutzr','6flWykm','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','AUcaB','feature\x20delete','scriptName','MAzih','argv','list\x20<profile>','vsPVy','env-name','Update\x20authentication\x20for\x20an\x20existing\x20profile','eZycM','with-deps','ranger\x20add-scenario','qCWvy','qhOpG','JBwDt','item','jedrC','Skip\x20authentication','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','vKiml','Install\x20skills\x20for\x20OpenCode','IdxeE','list','base-url','offset','vnguJ','GqYdN','Hmflk','VaEll','EmHzN','blocked','ruUEd','\x0aUnknown\x20command:\x20','ranger\x20use','iAfRN','ranger\x20feature\x20resume','yLsSf','Unknown\x20error','profile','thMlT','session-id','GOuZG','setup:login','description','use\x20<profile-name>','bgZlM','KTdoY','fail','--profile','map','scenario','profile\x20config\x20get','config\x20unset','KyWui','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','organizationName','ranger\x20restore','qlyrw','hvSve','ThQGy','config\x20set','WIOwn','get\x20<profile>\x20<key>','wmjAU','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Optional\x20feature\x20ID','trackCommandError','1017qtgJmS','ExFWI','XlZxl','wxPPf','config\x20get','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','hPmgC','edMgd','report\x20[id]','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','KVNUj','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','\x0aIssues:','Name\x20of\x20the\x20environment','help','WQjCi','✓\x20Authenticated\x20to\x20','UiPjk','YDqIO','fZscN','Manage\x20profiles','cHCtG','SydEm','ranger\x20get-review','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','rmhNL','Skip\x20Chromium\x20browser\x20installation','List\x20all\x20profiles','1275497cnnkxB','EUioV','unhandledRejection','startsWith','ranger\x20feature\x20show','lNJro','302820pSvGoe','Manage\x20profile\x20configuration','oeOfU','\x20\x20https://docs.ranger.net\x0a','KMxFx','TpHhN','Glwpb','Feature\x20review\x20ID','delete','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','mcp','root','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','setup:profiles','VYHxg','pRvJk','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','fsKdY','use\x20<env-name>','url','zOyyw','deps','IPNIP','5690970xwVZFE','mcp-bootstrap','hook:disable','list\x20<env>','hook','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true','Unknown\x20command','Alias\x20for\x20--mcp-bootstrap','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','mSYWO','xqYvP','SsJeu','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','uThtn','model','You\x20must\x20specify\x20an\x20auth\x20subcommand','show\x20[id]','BNcKa','zerwU','crVcK','print-access-token','cqYHm','update','profile\x20use','debug-address-comments','lMUqR','TMZrG','xEkhg','key','suLuD','exit','incomplete','YkLTB','HEigy','You\x20must\x20specify\x20an\x20env\x20subcommand','SQIHr','Documentation:\x0a','vBFpj','wNiZj','aLkfg','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','NIdqY','some','skillup','string','QaUbu','setup-ci\x20<token>','ranger\x20auth\x20encrypt','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','.\x20[','Scenario\x20index\x20(1-based)','xqflL','AAIAB','edit-scenario\x20<description>','Initialize\x20Ranger\x20in\x20your\x20project','option','ranger\x20config\x20list','force','setup:all','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','profile\x20update','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Restore\x20a\x20soft-deleted\x20feature\x20review','lyTPC','HHjKC','Profile\x20name','hYdxz','cwd','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','zcyhr','Number\x20of\x20feature\x20reviews\x20to\x20skip','SzYtL','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','HdMRU','current-branch','feature\x20list','resume','ayxVR','okLVq','ranger\x20go','safe-mode','ranger\x20add\x20env','--env','aFhcy','FXGNk','aBZnL','815560iiQRfu','MKokI','thdsG','start','UQBZr','Install\x20OS-level\x20dependencies\x20for\x20Chromium','project','BxvpL','XPXGB','vrQOg','wsEGU','rNqsl','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ranger\x20profile\x20ls','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','debug-outcome','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.','Feature\x20review\x20ID\x20to\x20restore','4868785VCpgPB','iPHyH','mQWcW','set\x20<profile>\x20<key>\x20<value>','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','verify-feature','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','enable','repeat','value','UQNVt','ranger\x20profile\x20config\x20set','HQRDO','ranger\x20create','qKPKc','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','PvfdB','eFRrk'];_0x5745=function(){return _0x24ff8d;};return _0x5745();}_0x5783fd[_0x1b6b0a(0x1ae)]({'path':join(findProjectRoot(),'.env')});import _0x46c9fe from'yargs/yargs';function _0x52fd(_0x5c9492,_0x1e3271){_0x5c9492=_0x5c9492-0x16b;const _0x57457a=_0x5745();let _0x52fd45=_0x57457a[_0x5c9492];return _0x52fd45;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';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'](_0x1b6b0a(0x222),async _0x231b98=>{const _0x1ff83a={'oKyZL':function(_0x34f9a0){return _0x34f9a0();}},_0xd173=_0x1ff83a['oKyZL'](getCurrentCollector);_0xd173&&await _0xd173['trackCommandError'](_0x231b98),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x1b6b0a(0x2eb)](0x2),TOP_LEVEL_HELP=_0x1b6b0a(0x22f),PROFILE_HELP=_0x1b6b0a(0x242),PROFILE_CONFIG_HELP=_0x1b6b0a(0x198);function warnRenamed(_0x5ee1d2,_0x1e2d48){console['error']('\x0a'+_0x5ee1d2+'\x20is\x20now\x20'+_0x1e2d48+'\x0a');}function argUsed(_0x357edf){const _0x366901=_0x1b6b0a;return rawArgs[_0x366901(0x267)](_0x1c3235=>_0x1c3235===_0x357edf||_0x1c3235[_0x366901(0x223)](_0x357edf+'='));}function warnFlagRenamed(_0x81524,_0x416627,_0x2610e1){const _0x1ea29b=_0x1b6b0a,_0x40cb8a={'ZvsSI':function(_0x41d139,_0x51927f){return _0x41d139(_0x51927f);},'xqYvP':function(_0x2a85ff,_0x30b1c2,_0x1f330c){return _0x2a85ff(_0x30b1c2,_0x1f330c);}};_0x40cb8a[_0x1ea29b(0x1ab)](argUsed,_0x416627)&&_0x40cb8a[_0x1ea29b(0x247)](warnRenamed,_0x81524+'\x20'+_0x416627,_0x81524+'\x20'+_0x2610e1);}async function runGoCommand(_0x17a9b4,_0x4b29be=![]){const _0x6fe79b=_0x1b6b0a,_0x3b7bbd={'rfKeD':function(_0x8d16e8,_0x21b84d){return _0x8d16e8+_0x21b84d;},'InnoA':function(_0x300e81,_0x297b84,_0x23c482){return _0x300e81(_0x297b84,_0x23c482);},'gTbCo':_0x6fe79b(0x28f),'CUulA':_0x6fe79b(0x1f0),'oeOfU':function(_0x508c9c,_0x511baa,_0x362f21,_0x28ebd7){return _0x508c9c(_0x511baa,_0x362f21,_0x28ebd7);},'VmPlj':_0x6fe79b(0x28c),'gThmd':'--task','couUy':function(_0x4f3ebb){return _0x4f3ebb();},'vBFpj':function(_0x42e431){return _0x42e431();},'crVcK':_0x6fe79b(0x2a2),'UPbkn':_0x6fe79b(0x255),'fNYHP':function(_0x1fd12f,_0x20de7c){return _0x1fd12f+_0x20de7c;},'RGVys':_0x6fe79b(0x19f),'pRvJk':'incomplete','aFzrh':'partial','Hutzr':'blocked','sTgbi':'\x20FAILED','DJcmE':function(_0x31df98,_0x119cba){return _0x31df98===_0x119cba;},'thMlT':'verified'};_0x4b29be&&_0x3b7bbd['InnoA'](warnRenamed,_0x6fe79b(0x2ec),'ranger\x20go');warnFlagRenamed(_0x6fe79b(0x28c),_0x3b7bbd['gTbCo'],_0x3b7bbd['CUulA']),_0x3b7bbd['oeOfU'](warnFlagRenamed,_0x3b7bbd[_0x6fe79b(0x2ee)],_0x3b7bbd['gThmd'],_0x6fe79b(0x2d1)),_0x3b7bbd[_0x6fe79b(0x228)](warnFlagRenamed,_0x3b7bbd[_0x6fe79b(0x2ee)],'--item','--scenario');const _0x247f64=await _0x3b7bbd['couUy'](loadRangerConfig),_0x1e2a97=_0x3b7bbd[_0x6fe79b(0x262)](isByokEnabled),_0x2c06bb=_0x17a9b4['model'],_0x4051de=_0x247f64[_0x6fe79b(0x24b)],_0x4902d5=await verifyFeature({'featureId':_0x17a9b4[_0x6fe79b(0x1a4)],'profile':_0x17a9b4[_0x6fe79b(0x1e6)]??_0x17a9b4[_0x6fe79b(0x2e5)],'notes':_0x17a9b4['notes']??_0x17a9b4['task'],'scenario':_0x17a9b4['scenario']??_0x17a9b4[_0x6fe79b(0x1cf)],'startPath':_0x17a9b4['start-path'],'debugOutcome':_0x17a9b4[_0x3b7bbd[_0x6fe79b(0x250)]],'debugAddressComments':_0x17a9b4[_0x3b7bbd['UPbkn']],'headed':_0x17a9b4['headed'],'byokEnabled':_0x1e2a97,'flagVerifyModel':_0x2c06bb,'configVerifyModel':_0x4051de});console['log'](_0x3b7bbd[_0x6fe79b(0x192)]('\x0a','='[_0x6fe79b(0x2ae)](0x3c))),console['log'](_0x4902d5[_0x6fe79b(0x2c9)]==='verified'?_0x3b7bbd['RGVys']:_0x4902d5['evaluation']===_0x3b7bbd[_0x6fe79b(0x235)]?'\x20INCOMPLETE':_0x4902d5[_0x6fe79b(0x2c9)]===_0x3b7bbd[_0x6fe79b(0x2e3)]?'\x20PARTIAL':_0x4902d5[_0x6fe79b(0x2c9)]===_0x3b7bbd[_0x6fe79b(0x1bd)]?_0x6fe79b(0x197):_0x3b7bbd[_0x6fe79b(0x186)]),console['log']('='['repeat'](0x3c)),console[_0x6fe79b(0x16b)]('Summary:\x20'+_0x4902d5['summary']),console['log']('Evaluation:\x20'+_0x4902d5[_0x6fe79b(0x2c9)]),console['log'](_0x6fe79b(0x2d3)+_0x4902d5[_0x6fe79b(0x2bf)]),_0x4902d5['issues']?.['length']&&(console['log'](_0x6fe79b(0x210)),_0x4902d5['issues']['forEach']((_0x4f0b0e,_0x20506d)=>{const _0x426fc8=_0x6fe79b;console['log']('\x0a'+_0x3b7bbd['rfKeD'](_0x20506d,0x1)+_0x426fc8(0x26e)+_0x4f0b0e['severity']+']\x20'+_0x4f0b0e['description']);})),process[_0x6fe79b(0x25b)](_0x3b7bbd['DJcmE'](_0x4902d5['evaluation'],_0x3b7bbd[_0x6fe79b(0x1e7)])?0x0:0x1);}_0x46c9fe(process[_0x1b6b0a(0x1c4)]['slice'](0x2))[_0x1b6b0a(0x1c2)]('ranger')[_0x1b6b0a(0x196)](TOP_LEVEL_HELP)[_0x1b6b0a(0x1aa)](getCurrentVersion())['command']('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x2d8ba2=>{const _0x50dbda=_0x1b6b0a,_0x2ea8e3={'OoHzr':'name','bgZlM':_0x50dbda(0x269),'XYgEq':'Feature\x20review\x20name','EleFG':'Feature\x20review\x20description','njwzD':_0x50dbda(0x2e4),'YOyAt':'array'};return _0x2d8ba2[_0x50dbda(0x18a)](_0x2ea8e3['OoHzr'],{'type':_0x2ea8e3[_0x50dbda(0x1ed)],'description':_0x2ea8e3['XYgEq'],'demandOption':!![]})[_0x50dbda(0x274)]('description',{'type':_0x50dbda(0x269),'alias':'d','description':_0x2ea8e3['EleFG']})['option']('scenario',{'type':_0x50dbda(0x2ba),'alias':'c','description':_0x50dbda(0x1bf)})[_0x50dbda(0x274)](_0x2ea8e3['njwzD'],{'type':_0x2ea8e3['YOyAt'],'hidden':!![]});},async _0x3c5ba3=>{const _0x1d1f57=_0x1b6b0a,_0x331fe5={'mBeCh':function(_0x3dee02,_0x464d52,_0xaadef,_0x44fab1){return _0x3dee02(_0x464d52,_0xaadef,_0x44fab1);},'crgMZ':_0x1d1f57(0x2b3),'CdxsW':'--checklist','vsgKg':'--scenario','XTSqC':'create'};_0x331fe5['mBeCh'](warnFlagRenamed,_0x331fe5[_0x1d1f57(0x17f)],_0x331fe5['CdxsW'],_0x331fe5['vsgKg']);const _0x575ef2=_0x3c5ba3['scenario']||_0x3c5ba3[_0x1d1f57(0x2e4)];await withTelemetry(_0x331fe5['XTSqC'],()=>featureCreate(_0x3c5ba3['name'],{'description':_0x3c5ba3[_0x1d1f57(0x1eb)],'scenarios':_0x575ef2}));})['command']('list',_0x1b6b0a(0x303),_0x58ea94=>{const _0x2f49a5=_0x1b6b0a,_0x69775a={'cXkvL':'current-branch','sZGVy':_0x2f49a5(0x232),'HEigy':_0x2f49a5(0x301),'jedrC':_0x2f49a5(0x1d8),'JNGZX':'Number\x20of\x20feature\x20reviews\x20to\x20skip','IdxeE':_0x2f49a5(0x19e)};return _0x58ea94['option'](_0x69775a['cXkvL'],{'type':_0x2f49a5(0x19e),'description':_0x69775a['sZGVy']})['option'](_0x2f49a5(0x176),{'type':_0x69775a[_0x2f49a5(0x25e)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x69775a[_0x2f49a5(0x1d0)],{'type':_0x69775a[_0x2f49a5(0x25e)],'alias':'o','description':_0x69775a['JNGZX'],'default':0x0})['option']('include-deleted',{'type':_0x69775a[_0x2f49a5(0x1d5)],'alias':'d','description':_0x2f49a5(0x178),'default':![]});},async _0x592d5d=>{const _0x56ca8b=_0x1b6b0a,_0x1c3940={'YDqIO':function(_0x1dd70c,_0x4fd8af,_0x4bb5c3){return _0x1dd70c(_0x4fd8af,_0x4bb5c3);},'mUUzK':_0x56ca8b(0x1d6)};await _0x1c3940[_0x56ca8b(0x216)](withTelemetry,_0x1c3940['mUUzK'],()=>featureList({'currentBranch':_0x592d5d[_0x56ca8b(0x287)],'limit':_0x592d5d['limit'],'offset':_0x592d5d[_0x56ca8b(0x1d8)],'includeDeleted':_0x592d5d[_0x56ca8b(0x172)]}));})['command'](_0x1b6b0a(0x24d),_0x1b6b0a(0x17c),_0x677a2c=>{const _0x2d16f5=_0x1b6b0a,_0x56426a={'qlyrw':_0x2d16f5(0x22d)};return _0x677a2c[_0x2d16f5(0x18a)]('id',{'type':'string','description':_0x56426a[_0x2d16f5(0x1fa)]});},async _0x4a4bd7=>{const _0x13b376=_0x1b6b0a,_0xad174e={'WFlGt':function(_0x2486ec,_0x161426,_0x10ed36){return _0x2486ec(_0x161426,_0x10ed36);},'CnUCi':_0x13b376(0x2ea)};await _0xad174e['WFlGt'](withTelemetry,_0xad174e['CnUCi'],()=>featureShow(_0x4a4bd7['id']));})[_0x1b6b0a(0x173)](_0x1b6b0a(0x1ad),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x58398b=>{const _0x3d11e1=_0x1b6b0a,_0x71716a={'IIcHV':_0x3d11e1(0x269)};return _0x58398b[_0x3d11e1(0x18a)]('id',{'type':_0x71716a['IIcHV'],'description':_0x3d11e1(0x1a5)});},async _0x2e7e69=>{const _0x385412=_0x1b6b0a,_0x10fd57={'dQbTh':_0x385412(0x289)};await withTelemetry(_0x10fd57['dQbTh'],()=>featureResume(_0x2e7e69['id']));})['command']('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1e1c91=>{const _0x9c159c=_0x1b6b0a,_0x307b36={'KTdoY':_0x9c159c(0x1eb),'KVNUj':'string','aDqDX':'Scenario\x20description'};return _0x1e1c91['positional'](_0x307b36[_0x9c159c(0x1ee)],{'type':_0x307b36[_0x9c159c(0x20e)],'description':_0x307b36[_0x9c159c(0x170)],'demandOption':!![]})[_0x9c159c(0x274)]('id',{'type':_0x9c159c(0x269),'description':_0x9c159c(0x29f)});},async _0x8d0227=>{const _0x138f9c=_0x1b6b0a,_0x59f5d9={'aBqrZ':function(_0x387c58,_0x34ed45,_0x30fc52){return _0x387c58(_0x34ed45,_0x30fc52);}};await _0x59f5d9[_0x138f9c(0x2cc)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x8d0227[_0x138f9c(0x1eb)],_0x8d0227['id']));})['command'](_0x1b6b0a(0x272),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x1d4cff=>{const _0x23782e=_0x1b6b0a,_0x57f372={'iHsDH':_0x23782e(0x1eb),'AByhd':'scenario','wNiZj':'Scenario\x20number\x20to\x20edit\x20(1-based)','HMfdL':_0x23782e(0x269),'eKdMh':_0x23782e(0x29f)};return _0x1d4cff['positional'](_0x57f372['iHsDH'],{'type':'string','description':_0x23782e(0x2b9),'demandOption':!![]})['option'](_0x57f372['AByhd'],{'type':_0x23782e(0x301),'description':_0x57f372[_0x23782e(0x263)],'demandOption':!![]})['option']('id',{'type':_0x57f372['HMfdL'],'description':_0x57f372['eKdMh']});},async _0x5b725b=>{const _0x2bd7e2=_0x1b6b0a,_0x58145f={'SZSwN':'edit-scenario'};await withTelemetry(_0x58145f['SZSwN'],()=>featureEditScenario(_0x5b725b[_0x2bd7e2(0x1eb)],{'id':_0x5b725b['id'],'scenario':_0x5b725b['scenario']}));})['command'](_0x1b6b0a(0x20c),_0x1b6b0a(0x1b2),_0xde83df=>{const _0xeaab36=_0x1b6b0a,_0x1af3ac={'DIzRQ':_0xeaab36(0x2e8),'thdsG':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0xde83df[_0xeaab36(0x18a)]('id',{'type':_0xeaab36(0x269),'description':'Feature\x20review\x20ID'})[_0xeaab36(0x274)](_0x1af3ac['DIzRQ'],{'type':'array','description':_0x1af3ac[_0xeaab36(0x295)]})[_0xeaab36(0x274)]('json',{'type':_0xeaab36(0x19e),'description':_0xeaab36(0x236),'default':![]});},async _0x42cec3=>{const _0x45fdfc=_0x1b6b0a,_0x288217={'XGYVw':_0x45fdfc(0x2e8),'CaiPl':'report'},_0x54cd9b=_0x42cec3[_0x288217[_0x45fdfc(0x1b6)]],_0x5697eb=_0x54cd9b?_0x54cd9b[_0x45fdfc(0x1f1)](_0x3e8a44=>Number(_0x3e8a44)):undefined;await withTelemetry(_0x288217['CaiPl'],()=>featureReportPrDescription(_0x42cec3['id'],{'excludeScenarios':_0x5697eb,'json':_0x42cec3[_0x45fdfc(0x1af)]}));})['command']('get-review\x20[id]',_0x1b6b0a(0x2e1),_0x82f5df=>{const _0xf8a1b0=_0x1b6b0a,_0x43794c={'fsKdY':'string','MygCE':_0xf8a1b0(0x29f)};return _0x82f5df[_0xf8a1b0(0x18a)]('id',{'type':_0x43794c[_0xf8a1b0(0x237)],'description':_0x43794c['MygCE']});},async _0x34f803=>{const _0x4b15a9=_0x1b6b0a,_0x3d6fce={'kdeBo':function(_0x1aca32,_0x2fbd51,_0x1b5955){return _0x1aca32(_0x2fbd51,_0x1b5955);},'OMTnY':_0x4b15a9(0x2c5)};await _0x3d6fce['kdeBo'](withTelemetry,_0x3d6fce['OMTnY'],()=>featureGetReview(_0x34f803['id']));})['command']('delete\x20[id]',_0x1b6b0a(0x2b5),_0x41b0ad=>{const _0xad6d5=_0x1b6b0a,_0x13357c={'IMRTx':'string','QEMpW':'Feature\x20review\x20ID'};return _0x41b0ad[_0xad6d5(0x18a)]('id',{'type':_0x13357c[_0xad6d5(0x184)],'description':_0x13357c['QEMpW']});},async _0x2b2173=>{const _0x932a07=_0x1b6b0a,_0x3367bf={'VYHxg':function(_0x413635,_0x34d9e0,_0x136dae){return _0x413635(_0x34d9e0,_0x136dae);}};await _0x3367bf[_0x932a07(0x234)](withTelemetry,_0x932a07(0x22e),()=>featureDelete(_0x2b2173['id']));})['command']('restore\x20<id>',_0x1b6b0a(0x27b),_0x36f01d=>{const _0x357305=_0x1b6b0a,_0x799b96={'IwZpJ':_0x357305(0x269),'ceoWJ':_0x357305(0x2a4)};return _0x36f01d['positional']('id',{'type':_0x799b96[_0x357305(0x2df)],'description':_0x799b96['ceoWJ'],'demandOption':!![]});},async _0x27c9b5=>{const _0x2b03c4={'MNjQV':function(_0x89bf1a,_0x57e6d5,_0x39cfa1){return _0x89bf1a(_0x57e6d5,_0x39cfa1);},'VZmZN':'restore'};await _0x2b03c4['MNjQV'](withTelemetry,_0x2b03c4['VZmZN'],()=>featureRestore(_0x27c9b5['id']));})[_0x1b6b0a(0x173)]('setup\x20[tokenOrSubcommand]',_0x1b6b0a(0x273),_0x2f6ef1=>{const _0x1aa239=_0x1b6b0a,_0x4542b5={'ziDSg':_0x1aa239(0x269),'WSdzn':'Ranger\x20API\x20token','PtdVK':_0x1aa239(0x2f1),'fwdMU':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','WXYDL':_0x1aa239(0x1d1),'ruUEd':'scope','HBVYN':'user','FXGNk':'boolean','cXBji':_0x1aa239(0x1d2),'xEkhg':function(_0x580bae,_0x628840,_0x5b32c9){return _0x580bae(_0x628840,_0x5b32c9);},'hYdxz':_0x1aa239(0x23e),'rpnWa':function(_0x4b0f21,_0x527e66,_0x47328f){return _0x4b0f21(_0x527e66,_0x47328f);},'Hmflk':_0x1aa239(0x277),'GqYdN':'with-deps','wmjAU':_0x1aa239(0x177),'HdMRU':'mcp','bJaUV':'Authenticate\x20via\x20MCP\x20proxy','lMUqR':function(_0x532f3c){return _0x532f3c();},'wqsbH':_0x1aa239(0x245),'rFwBe':'project','RNxHI':'Install\x20scope\x20for\x20plugin\x20and\x20skills','cqYHm':'opencode','jRBrw':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','jGGel':'ranger','wiltw':function(_0xc67918,_0x4a0958){return _0xc67918(_0x4a0958);},'XlZxl':'setup:skills','QaUbu':_0x1aa239(0x2f9),'LhrzC':'url','hkGzU':'Base\x20URL\x20of\x20the\x20running\x20app','uThtn':_0x1aa239(0x1b0),'gxxnL':'force','UQNVt':_0x1aa239(0x233),'zOyyw':'tokenOrSubcommand','kmluY':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','AAIAB':_0x1aa239(0x23b),'MVtFA':'Install\x20Chromium\x20browser\x20binary','yyPid':'login','JsPEd':'profiles','HHjKC':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','uzDjm':_0x1aa239(0x2e2),'XEtBB':_0x1aa239(0x209),'uwIJT':_0x1aa239(0x278),'MXSFR':_0x1aa239(0x27a),'zcyhr':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','aovGI':_0x1aa239(0x194),'AMTYD':'API\x20token'};return _0x2f6ef1[_0x1aa239(0x196)](_0x1aa239(0x188))[_0x1aa239(0x18a)](_0x4542b5[_0x1aa239(0x23a)],{'type':'string','description':_0x4542b5[_0x1aa239(0x2fc)]})[_0x1aa239(0x173)]('all',_0x1aa239(0x1b8),_0x3a5351=>{const _0x2019de=_0x1aa239;return _0x3a5351[_0x2019de(0x274)]('token',{'type':_0x4542b5[_0x2019de(0x2db)],'description':_0x4542b5[_0x2019de(0x2c2)]})['option'](_0x4542b5['PtdVK'],{'type':'boolean','description':_0x4542b5['fwdMU'],'default':![]})[_0x2019de(0x274)](_0x2019de(0x1b0),{'type':'boolean','description':_0x4542b5['WXYDL'],'default':![]})[_0x2019de(0x274)](_0x2019de(0x1ca),{'type':'boolean','description':_0x2019de(0x298),'default':![]})['option'](_0x4542b5['ruUEd'],{'type':_0x2019de(0x269),'choices':[_0x4542b5['HBVYN'],'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x2019de(0x276),{'type':_0x2019de(0x19e),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('opencode',{'type':_0x2019de(0x19e),'description':_0x2019de(0x2cb),'default':![]})[_0x2019de(0x274)](_0x2019de(0x2e6),{'type':_0x4542b5[_0x2019de(0x291)],'description':_0x4542b5[_0x2019de(0x18b)],'default':![]})['option'](_0x2019de(0x23e),{'type':_0x2019de(0x19e),'description':_0x2019de(0x20f),'default':![]})['option']('mcp',{'type':_0x2019de(0x19e),'description':_0x2019de(0x244),'default':![]});},async _0x22bb80=>{const _0x211a1f=_0x1aa239;(_0x22bb80['mcp-bootstrap']||_0x22bb80['mcp'])&&await _0x4542b5[_0x211a1f(0x258)](withTelemetry,_0x4542b5['hYdxz'],()=>mcpBootstrap()),await _0x4542b5['rpnWa'](withTelemetry,_0x4542b5[_0x211a1f(0x1db)],_0xc2edd3=>start(_0x22bb80['token'],{'skipChromium':_0x22bb80[_0x211a1f(0x2f1)],'skipAuth':_0x22bb80['skip-auth'],'withDeps':_0x22bb80['with-deps'],'scope':_0x22bb80[_0x211a1f(0x2c6)],'url':_0x22bb80[_0x211a1f(0x239)],'force':_0x22bb80[_0x211a1f(0x276)],'opencode':_0x22bb80['opencode'],'allowInsecureLocalhost':_0x22bb80[_0x211a1f(0x2e6)]},_0xc2edd3));})['command'](_0x4542b5[_0x1aa239(0x271)],_0x4542b5[_0x1aa239(0x2f4)],_0x4321d9=>{const _0x3e153d=_0x1aa239;return _0x4321d9['option'](_0x4542b5[_0x3e153d(0x1da)],{'type':_0x4542b5[_0x3e153d(0x291)],'description':_0x3e153d(0x26d),'default':![]});},async _0xb338f3=>{const _0x37f8ac=_0x1aa239;await withTelemetry(_0x4542b5[_0x37f8ac(0x200)],()=>ensureChromium(_0xb338f3[_0x37f8ac(0x1ca)]));})['command'](_0x4542b5['yyPid'],_0x1aa239(0x1b5),_0x534de9=>{const _0x5d5d64=_0x1aa239;return _0x534de9[_0x5d5d64(0x274)](_0x5d5d64(0x194),{'type':_0x4542b5[_0x5d5d64(0x2db)],'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0x4542b5[_0x5d5d64(0x286)],{'type':'boolean','description':_0x4542b5['bJaUV'],'default':![]});},async _0x2c28ca=>{const _0xbf464e=_0x1aa239,_0xccb41c={'Qzljo':function(_0x3ba0a8){const _0x39a6e5=_0x52fd;return _0x4542b5[_0x39a6e5(0x256)](_0x3ba0a8);},'oCkFm':function(_0x3fbb88){return _0x3fbb88();},'eTJkm':_0x4542b5[_0xbf464e(0x1b4)]};await _0x4542b5['rpnWa'](withTelemetry,_0xbf464e(0x1ea),async()=>{const _0x270912=_0xbf464e;if(_0x2c28ca[_0x270912(0x230)]){await _0xccb41c[_0x270912(0x190)](mcpBootstrap);const _0x36858b=await _0xccb41c['oCkFm'](refreshCliToken);if(!_0x36858b)throw new Error(_0xccb41c['eTJkm']);const _0xd090a8=await getCurrentUser(_0x36858b);if(!_0xd090a8['success'])throw new Error(_0x270912(0x249)+_0xd090a8['error']);console['log'](_0x270912(0x214)+_0xd090a8['user'][_0x270912(0x1f8)]);return;}await authenticate(_0x2c28ca['token']);});})['command'](_0x1aa239(0x2fe),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x431572=>{const _0xa93e48=_0x1aa239;return _0x431572[_0xa93e48(0x274)](_0xa93e48(0x2c6),{'type':'string','choices':[_0x4542b5[_0xa93e48(0x1a3)],_0x4542b5['rFwBe']],'description':_0x4542b5['RNxHI']})['option'](_0x4542b5[_0xa93e48(0x252)],{'type':_0x4542b5['FXGNk'],'description':_0x4542b5[_0xa93e48(0x300)],'default':![]});},async _0x57b4fe=>{const _0x208e1c=_0x1aa239;await withTelemetry(_0x4542b5[_0x208e1c(0x206)],async()=>{const _0x224fe1=_0x208e1c,_0x523f62=_0x57b4fe[_0x224fe1(0x2c6)];if(_0x57b4fe[_0x224fe1(0x1b9)]){const _0x2a4478=await ensureOpencodePluginConfig(_0x523f62);_0x2a4478&&await installSkill(_0x4542b5['jGGel'],{'level':_0x2a4478['scope'],'cliVersion':getCurrentVersion(),'platform':_0x4542b5['cqYHm']});}else await _0x4542b5['wiltw'](ensureClaudePlugin,_0x523f62),await ensureClaudeSkills(_0x523f62);});})[_0x1aa239(0x173)](_0x4542b5['JsPEd'],_0x1aa239(0x179),_0x22e1dd=>{const _0x3ff60a=_0x1aa239;return _0x22e1dd['option'](_0x4542b5['ruUEd'],{'type':_0x3ff60a(0x269),'choices':[_0x3ff60a(0x1b7),_0x3ff60a(0x299)],'description':_0x4542b5[_0x3ff60a(0x26a)]})[_0x3ff60a(0x274)](_0x4542b5['LhrzC'],{'type':_0x4542b5[_0x3ff60a(0x2db)],'description':_0x4542b5['hkGzU']})[_0x3ff60a(0x274)](_0x4542b5[_0x3ff60a(0x24a)],{'type':'boolean','description':'Skip\x20browser\x20authentication','default':![]})['option'](_0x4542b5['gxxnL'],{'type':'boolean','description':_0x3ff60a(0x2e2),'default':![]})[_0x3ff60a(0x274)](_0x3ff60a(0x2e6),{'type':_0x3ff60a(0x19e),'description':_0x4542b5['cXBji'],'default':![]});},async _0x494596=>{const _0x18bee1=_0x1aa239;await withTelemetry(_0x4542b5[_0x18bee1(0x2b0)],_0x40fe9c=>ensureLocalEnv({'url':_0x494596['url'],'force':_0x494596[_0x18bee1(0x276)],'allowInsecureLocalhost':_0x494596[_0x18bee1(0x2e6)],'scope':_0x494596['scope']==='user'?'user':undefined},_0x40fe9c));})[_0x1aa239(0x274)](_0x4542b5['PtdVK'],{'type':'boolean','description':_0x4542b5['fwdMU'],'default':![]})[_0x1aa239(0x274)](_0x4542b5[_0x1aa239(0x1df)],{'type':_0x4542b5['ziDSg'],'choices':['user',_0x4542b5['rFwBe']],'description':_0x4542b5[_0x1aa239(0x27d)]})['option']('url',{'type':_0x4542b5['ziDSg'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x1aa239(0x274)](_0x4542b5['gxxnL'],{'type':_0x4542b5['FXGNk'],'description':_0x4542b5['uzDjm'],'default':![]})[_0x1aa239(0x274)](_0x4542b5['cqYHm'],{'type':_0x4542b5['FXGNk'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x1aa239(0x274)]('allow-insecure-localhost',{'type':_0x4542b5[_0x1aa239(0x291)],'description':_0x4542b5['XEtBB'],'default':![]})[_0x1aa239(0x274)](_0x4542b5[_0x1aa239(0x27f)],{'type':_0x1aa239(0x19e),'description':_0x4542b5['uwIJT'],'default':![]})[_0x1aa239(0x274)](_0x4542b5[_0x1aa239(0x24a)],{'type':_0x4542b5[_0x1aa239(0x291)],'description':_0x4542b5['MXSFR'],'default':![]})['option']('with-deps',{'type':_0x4542b5['FXGNk'],'description':_0x4542b5[_0x1aa239(0x282)],'default':![]})['option'](_0x4542b5[_0x1aa239(0x1b1)],{'type':_0x4542b5[_0x1aa239(0x2db)],'hidden':!![],'description':_0x4542b5['AMTYD']});},async _0x141712=>{const _0x2fe5ba=_0x1b6b0a,_0xee52ed={'YloKL':function(_0x291bf9,_0x25b6f9,_0x38a2dd){return _0x291bf9(_0x25b6f9,_0x38a2dd);},'RsXkd':_0x2fe5ba(0x296)},_0x5bb198=_0x141712['tokenOrSubcommand'],_0x43c5e6=_0x141712[_0x2fe5ba(0x194)]??_0x5bb198;_0x141712[_0x2fe5ba(0x23e)]&&await _0xee52ed['YloKL'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0xee52ed['YloKL'](withTelemetry,_0xee52ed['RsXkd'],_0x540182=>start(_0x43c5e6,{'skipChromium':_0x141712['skip-chromium'],'skipAuth':_0x141712[_0x2fe5ba(0x1b0)],'withDeps':_0x141712[_0x2fe5ba(0x1ca)],'scope':_0x141712['scope'],'url':_0x141712['url'],'force':_0x141712[_0x2fe5ba(0x276)],'opencode':_0x141712['opencode'],'allowInsecureLocalhost':_0x141712[_0x2fe5ba(0x2e6)]},_0x540182));})['command'](_0x1b6b0a(0x26b),_0x1b6b0a(0x2ac),_0x148e6b=>{const _0x3747d4=_0x1b6b0a,_0x1e5746={'vnguJ':'string','NIdqY':_0x3747d4(0x1e6),'eIBue':_0x3747d4(0x1d7),'vrQOg':_0x3747d4(0x201),'rhigU':'skip-chromium','LHPqM':_0x3747d4(0x21e)};return _0x148e6b[_0x3747d4(0x18a)](_0x3747d4(0x194),{'type':_0x1e5746['vnguJ'],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x1e5746[_0x3747d4(0x266)],{'type':_0x1e5746['vnguJ'],'description':_0x3747d4(0x285)})[_0x3747d4(0x274)](_0x1e5746[_0x3747d4(0x17d)],{'type':_0x1e5746[_0x3747d4(0x1d9)],'description':_0x1e5746[_0x3747d4(0x29c)]})[_0x3747d4(0x274)](_0x1e5746[_0x3747d4(0x191)],{'type':'boolean','description':_0x1e5746['LHPqM'],'default':![]});},async _0x39ef8d=>{const _0x1579c8=_0x1b6b0a,_0x2638e6={'MKokI':function(_0x3f7ea5,_0x1ca475,_0x815e81){return _0x3f7ea5(_0x1ca475,_0x815e81);}};await _0x2638e6[_0x1579c8(0x294)](withTelemetry,'setup-ci',_0x59098b=>setupCi(_0x39ef8d['token'],{'profile':_0x39ef8d['profile'],'baseUrl':_0x39ef8d[_0x1579c8(0x1d7)],'skipChromium':_0x39ef8d['skip-chromium']},_0x59098b));})[_0x1b6b0a(0x173)](_0x1b6b0a(0x2d6),_0x1b6b0a(0x20d),()=>{},async()=>{const _0x4d7c21={'qEmXP':function(_0x330c78,_0x2b4ea1,_0xb7d95d){return _0x330c78(_0x2b4ea1,_0xb7d95d);}};await _0x4d7c21['qEmXP'](withTelemetry,'login',()=>login());})[_0x1b6b0a(0x173)]('skillup','Install\x20Ranger\x20skills',_0x1d9df6=>{const _0x1b4d97=_0x1b6b0a,_0xf8407a={'EzMbp':_0x1b4d97(0x1b9),'LpLIT':'boolean','dcIwW':_0x1b4d97(0x1d4),'SqSLg':_0x1b4d97(0x1b7),'uVueK':_0x1b4d97(0x299),'IYZrS':'Install\x20scope\x20for\x20skills'};return _0x1d9df6[_0x1b4d97(0x274)](_0xf8407a['EzMbp'],{'type':_0xf8407a['LpLIT'],'description':_0xf8407a['dcIwW'],'default':![]})[_0x1b4d97(0x274)](_0x1b4d97(0x2c6),{'type':'string','choices':[_0xf8407a[_0x1b4d97(0x1bb)],_0xf8407a['uVueK']],'description':_0xf8407a['IYZrS']});},async _0x3ede0c=>{const _0xbcfc77=_0x1b6b0a,_0x2c1df6={'PeyYe':function(_0x52e431,_0x4b18c3){return _0x52e431(_0x4b18c3);},'XPXGB':function(_0xcf16eb,_0x44d667,_0x305c18){return _0xcf16eb(_0x44d667,_0x305c18);}},_0xcecc36=_0x2c1df6['PeyYe'](Boolean,_0x3ede0c[_0xbcfc77(0x1b9)]);await _0x2c1df6[_0xbcfc77(0x29b)](withTelemetry,_0xbcfc77(0x268),()=>skillup({'autoInstall':_0x3ede0c[_0xbcfc77(0x2c6)],'platform':_0xcecc36?'opencode':'claude'}));})['command'](_0x1b6b0a(0x187),_0x1b6b0a(0x1f6),()=>{},async()=>{const _0xf6562d=_0x1b6b0a,_0xd4d056={'PTbAJ':function(_0x1d2e8f,_0x5ec345,_0x1c9eec){return _0x1d2e8f(_0x5ec345,_0x1c9eec);}};await _0xd4d056['PTbAJ'](withTelemetry,_0xf6562d(0x187),()=>clean());})[_0x1b6b0a(0x173)](_0x1b6b0a(0x1e6),_0x1b6b0a(0x218),_0x38d8af=>{const _0xec11cc=_0x1b6b0a,_0x4c5093={'mSYWO':_0xec11cc(0x1a1),'TMZrG':'skip-auth','wsEGU':'url','FuUKN':'boolean','mvCKr':_0xec11cc(0x2e6),'zerwU':_0xec11cc(0x1a0),'rNqsl':'setup-header','iVCne':'string','aLkfg':'scope','MOjdA':_0xec11cc(0x299),'grgih':function(_0x5a4f7b,_0x4803a5,_0x31f2f4,_0x3d7005){return _0x5a4f7b(_0x4803a5,_0x31f2f4,_0x3d7005);},'JYnrJ':_0xec11cc(0x1e6),'GOuZG':_0xec11cc(0x27e),'qCWvy':function(_0x2a15da,_0x4e0de5,_0x48c7d8){return _0x2a15da(_0x4e0de5,_0x48c7d8);},'IPNIP':'profile\x20encrypt-auth','Zmbvp':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','KMxFx':function(_0x401f6e,_0x18ccb0,_0x3da985){return _0x401f6e(_0x18ccb0,_0x3da985);},'qhOpG':_0xec11cc(0x2c3),'ljzux':'profile\x20config\x20list','GqJXy':'profile\x20config\x20unset','YjmbK':'key','NRdeE':_0xec11cc(0x2a8),'wxPPf':_0xec11cc(0x2b8),'RZzNx':'Remove\x20a\x20config\x20value','yyIlR':_0xec11cc(0x18e),'Mmdct':_0xec11cc(0x1ec),'CpWeA':'Switch\x20to\x20using\x20a\x20specific\x20profile','cHCtG':_0xec11cc(0x16c),'MAzih':_0xec11cc(0x21f),'eACsw':'config','RDUUd':_0xec11cc(0x227),'QWNKm':_0xec11cc(0x2e7)};return _0x38d8af['usage'](PROFILE_HELP)[_0xec11cc(0x173)](_0xec11cc(0x2f6),'Add\x20profile\x20configuration',_0x401eea=>{const _0x7456b8=_0xec11cc;return _0x401eea[_0x7456b8(0x18a)](_0x4c5093['mSYWO'],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x7456b8(0x274)]('ci',{'type':_0x7456b8(0x19e),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x4c5093[_0x7456b8(0x257)],{'type':_0x7456b8(0x19e),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x7456b8(0x274)](_0x4c5093[_0x7456b8(0x29d)],{'type':_0x7456b8(0x269),'description':_0x7456b8(0x171)})['option']('force',{'type':_0x4c5093['FuUKN'],'description':_0x7456b8(0x2e2),'default':![]})['option']('cdp-endpoint',{'type':_0x7456b8(0x269),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x4c5093['mvCKr'],{'type':'boolean','description':_0x7456b8(0x209),'default':![]})[_0x7456b8(0x274)](_0x7456b8(0x28d),{'type':'boolean','description':_0x4c5093[_0x7456b8(0x24f)],'default':![]})['option'](_0x4c5093[_0x7456b8(0x29e)],{'type':_0x4c5093[_0x7456b8(0x2d4)],'array':!![],'description':_0x7456b8(0x182)})[_0x7456b8(0x274)](_0x4c5093[_0x7456b8(0x264)],{'type':'string','choices':['user',_0x4c5093[_0x7456b8(0x181)]],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'});},async _0x472b47=>{const _0x38c87b=_0xec11cc;await _0x4c5093['grgih'](withTelemetry,'profile\x20add',_0x17e7fa=>addEnv(_0x472b47[_0x38c87b(0x1a1)],{'ci':_0x472b47['ci'],'skipAuth':_0x472b47['skip-auth'],'url':_0x472b47['url'],'force':_0x472b47[_0x38c87b(0x276)],'cdpEndpoint':_0x472b47[_0x38c87b(0x17a)],'allowInsecureLocalhost':_0x472b47['allow-insecure-localhost'],'safeMode':_0x472b47[_0x38c87b(0x28d)],'setupHeader':_0x472b47[_0x38c87b(0x1a2)],'scope':_0x472b47['scope']},_0x17e7fa),{'isElectron':Boolean(_0x472b47['cdp-endpoint'])});})['command'](_0x4c5093['Mmdct'],_0x4c5093['CpWeA'],_0x169825=>{const _0x363b12=_0xec11cc;return _0x169825[_0x363b12(0x18a)](_0x4c5093[_0x363b12(0x246)],{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x2e0845=>{const _0x6c2ee4=_0xec11cc;await withTelemetry(_0x6c2ee4(0x254),()=>useEnv(_0x2e0845['profile-name']));})[_0xec11cc(0x173)]('encrypt-auth\x20<profile>',_0x4c5093[_0xec11cc(0x219)],_0x554587=>{const _0x3463d8=_0xec11cc;return _0x554587[_0x3463d8(0x18a)](_0x4c5093['JYnrJ'],{'type':_0x4c5093['iVCne'],'description':_0x4c5093[_0x3463d8(0x1e9)],'demandOption':!![]});},async _0x266e6f=>{const _0x4096b8=_0xec11cc;await _0x4c5093[_0x4096b8(0x1cc)](withTelemetry,_0x4c5093[_0x4096b8(0x23c)],()=>authEncrypt(_0x266e6f[_0x4096b8(0x1e6)]));})[_0xec11cc(0x173)]('ls',_0x4c5093[_0xec11cc(0x1c3)],()=>{},async()=>{const _0x184c6e=_0xec11cc;await _0x4c5093[_0x184c6e(0x1cc)](withTelemetry,_0x184c6e(0x2c0),()=>envList());})[_0xec11cc(0x173)]('update\x20<profile-name>',_0xec11cc(0x1c8),_0x1b9b4b=>{const _0x368909=_0xec11cc;return _0x1b9b4b[_0x368909(0x18a)](_0x4c5093[_0x368909(0x246)],{'type':_0x368909(0x269),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x4c5093['mvCKr'],{'type':_0x368909(0x19e),'description':_0x4c5093[_0x368909(0x2cd)]});},async _0x43d96b=>{const _0x4aa4e6=_0xec11cc;await _0x4c5093[_0x4aa4e6(0x22a)](withTelemetry,_0x4aa4e6(0x279),_0x2c0712=>updateEnv(_0x43d96b['profile-name'],_0x2c0712,{'allowInsecureLocalhost':_0x43d96b[_0x4aa4e6(0x2e6)]}));})[_0xec11cc(0x173)](_0x4c5093['eACsw'],_0x4c5093['RDUUd'],_0xabc6fc=>{const _0xefe7e=_0xec11cc,_0x5d6ceb={'KHAMG':'Profile\x20name','ajmDY':_0x4c5093['YjmbK'],'hvSve':'string','fcSJL':'Config\x20value','EmHzN':'profile\x20config\x20set','EUioV':_0x4c5093['JYnrJ']};return _0xabc6fc['usage'](PROFILE_CONFIG_HELP)[_0xefe7e(0x173)](_0x4c5093['NRdeE'],'Set\x20a\x20config\x20value',_0x293571=>{const _0x32666f=_0xefe7e;return _0x293571['positional'](_0x32666f(0x1e6),{'type':'string','description':_0x5d6ceb[_0x32666f(0x180)],'demandOption':!![]})[_0x32666f(0x18a)](_0x5d6ceb[_0x32666f(0x174)],{'type':_0x5d6ceb['hvSve'],'description':_0x32666f(0x2a1),'demandOption':!![]})['positional'](_0x32666f(0x2af),{'type':_0x5d6ceb['hvSve'],'description':_0x5d6ceb['fcSJL'],'demandOption':!![]});},async _0x1b5113=>{const _0x47289a=_0xefe7e;await withTelemetry(_0x5d6ceb[_0x47289a(0x1dd)],()=>configSet(_0x1b5113['profile'],_0x1b5113['key'],_0x1b5113['value']));})['command'](_0xefe7e(0x1ff),'Get\x20a\x20config\x20value',_0x3468b5=>{const _0x49fc5e=_0xefe7e;return _0x3468b5[_0x49fc5e(0x18a)](_0x49fc5e(0x1e6),{'type':'string','description':_0x4c5093['GOuZG'],'demandOption':!![]})[_0x49fc5e(0x18a)]('key',{'type':_0x49fc5e(0x269),'description':_0x4c5093[_0x49fc5e(0x1cd)],'demandOption':!![]});},async _0x5d1ff4=>{const _0x1a7aad=_0xefe7e;await _0x4c5093[_0x1a7aad(0x22a)](withTelemetry,_0x1a7aad(0x1f3),()=>configGet(_0x5d1ff4[_0x1a7aad(0x1e6)],_0x5d1ff4[_0x1a7aad(0x259)]));})['command'](_0xefe7e(0x1c5),'List\x20all\x20config\x20for\x20a\x20profile',_0x9b43e2=>{const _0x58a380=_0xefe7e;return _0x9b43e2[_0x58a380(0x18a)](_0x58a380(0x1e6),{'type':_0x4c5093[_0x58a380(0x2d4)],'description':_0x4c5093[_0x58a380(0x1e9)],'demandOption':!![]});},async _0x2586f7=>{await withTelemetry(_0x4c5093['ljzux'],()=>configList(_0x2586f7['profile']));})[_0xefe7e(0x173)](_0x4c5093[_0xefe7e(0x207)],_0x4c5093[_0xefe7e(0x2ed)],_0x35b03f=>{const _0x12ec13=_0xefe7e;return _0x35b03f['positional'](_0x5d6ceb[_0x12ec13(0x221)],{'type':_0x5d6ceb[_0x12ec13(0x1fb)],'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x5d6ceb[_0x12ec13(0x1fb)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3560fd=>{const _0x5d649c=_0xefe7e;await _0x4c5093[_0x5d649c(0x1cc)](withTelemetry,_0x4c5093[_0x5d649c(0x1a8)],()=>configUnset(_0x3560fd['profile'],_0x3560fd['key']));})['demandCommand'](0x1,_0x4c5093[_0xefe7e(0x2d5)]);})['demandCommand'](0x1,_0x4c5093[_0xec11cc(0x1a6)]);})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x19e275=_0x1b6b0a,_0x190afa={'BxvpL':_0x19e275(0x16d)};await withTelemetry(_0x190afa[_0x19e275(0x29a)],()=>status());})[_0x1b6b0a(0x173)](_0x1b6b0a(0x253),_0x1b6b0a(0x281),()=>{},async()=>{const _0x3d0b94=_0x1b6b0a,_0xa04e44={'PEQLY':function(_0x42549f,_0x505d6e,_0x465dc3){return _0x42549f(_0x505d6e,_0x465dc3);}};await _0xa04e44[_0x3d0b94(0x2c8)](withTelemetry,'update',()=>update());})[_0x1b6b0a(0x173)](_0x1b6b0a(0x251),_0x1b6b0a(0x2fb),()=>{},async()=>{const _0x5ca949=_0x1b6b0a,_0x222f9d={'suLuD':_0x5ca949(0x251)};await withTelemetry(_0x222f9d[_0x5ca949(0x25a)],async()=>{const _0x43f071=await getToken();if(!_0x43f071)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x43f071);});})['command']('go',_0x1b6b0a(0x265),_0x47145e=>{const _0x2d5a96=_0x1b6b0a,_0x599f3f={'wxlHW':_0x2d5a96(0x202),'YkLTB':_0x2d5a96(0x2ff),'ViaKT':'string','FfiRw':_0x2d5a96(0x1f2),'ZvIWD':_0x2d5a96(0x2d9),'ohSFb':'model','lNJro':_0x2d5a96(0x2a3),'Ieiej':_0x2d5a96(0x1ba),'SsJeu':_0x2d5a96(0x255),'qlesb':_0x2d5a96(0x19e),'WkeVv':'env','EoADq':_0x2d5a96(0x2fd),'HQRDO':_0x2d5a96(0x1cf)};return _0x47145e['option'](_0x2d5a96(0x1a4),{'type':'string','description':_0x599f3f['wxlHW']})['option']('profile',{'type':_0x2d5a96(0x269),'description':_0x599f3f[_0x2d5a96(0x25d)]})['option'](_0x2d5a96(0x1a7),{'type':_0x599f3f['ViaKT'],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x2d5a96(0x274)](_0x599f3f['FfiRw'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})[_0x2d5a96(0x274)]('start-path',{'type':_0x2d5a96(0x269),'description':_0x599f3f['ZvIWD']})['option'](_0x599f3f[_0x2d5a96(0x185)],{'type':_0x599f3f[_0x2d5a96(0x2d8)],'description':_0x599f3f[_0x2d5a96(0x225)]})['option']('headed',{'type':_0x2d5a96(0x19e),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x2d5a96(0x274)]('debug-outcome',{'type':_0x599f3f['ViaKT'],'hidden':!![],'choices':['verified',_0x2d5a96(0x2fa),_0x2d5a96(0x1de),_0x599f3f[_0x2d5a96(0x304)],_0x2d5a96(0x25c)]})['option'](_0x599f3f[_0x2d5a96(0x248)],{'type':_0x599f3f['qlesb'],'hidden':!![]})['option'](_0x599f3f[_0x2d5a96(0x19a)],{'type':_0x2d5a96(0x269),'hidden':!![]})[_0x2d5a96(0x274)](_0x599f3f['EoADq'],{'type':'string','hidden':!![]})['option'](_0x599f3f[_0x2d5a96(0x2b2)],{'type':_0x2d5a96(0x301),'hidden':!![]});},async _0x32e100=>{await runGoCommand(_0x32e100);})['command']('auth',![],_0x498dcb=>{const _0x1bcb4e=_0x1b6b0a,_0x4bf1f9={'yLsSf':function(_0x366e23,_0x42a2f0,_0x370a2f){return _0x366e23(_0x42a2f0,_0x370a2f);},'UtufV':_0x1bcb4e(0x26c),'xHiRx':function(_0x4f8d9c,_0x106442){return _0x4f8d9c(_0x106442);},'ftPrb':'encrypt\x20<profile>'};return _0x498dcb[_0x1bcb4e(0x173)](_0x4bf1f9['ftPrb'],![],_0x56393a=>{const _0x5237af=_0x1bcb4e;return _0x56393a[_0x5237af(0x18a)](_0x5237af(0x1e6),{'type':'string','description':_0x5237af(0x27e),'demandOption':!![]});},async _0x275ab4=>{const _0x1ea546=_0x1bcb4e;_0x4bf1f9[_0x1ea546(0x1e4)](warnRenamed,_0x4bf1f9['UtufV'],'ranger\x20profile\x20encrypt-auth'),await _0x4bf1f9['xHiRx'](authEncrypt,_0x275ab4['profile']);})[_0x1bcb4e(0x2dd)](0x1,_0x1bcb4e(0x24c));},()=>{})[_0x1b6b0a(0x173)](_0x1b6b0a(0x195),![],_0xd60c4=>{const _0x3287ec=_0x1b6b0a,_0x5eb315={'pXJJm':'token','afuNu':'string','KIzgp':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','LstnK':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','vKiml':_0x3287ec(0x19e),'XvKXj':'Skip\x20authentication','DiDHe':_0x3287ec(0x1ca)};return _0xd60c4['positional'](_0x5eb315['pXJJm'],{'type':_0x5eb315['afuNu'],'description':_0x5eb315['KIzgp']})[_0x3287ec(0x274)]('skip-chromium',{'type':_0x3287ec(0x19e),'description':_0x5eb315[_0x3287ec(0x2da)],'default':![]})[_0x3287ec(0x274)](_0x3287ec(0x2c6),{'type':_0x3287ec(0x269),'choices':['user','project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x3287ec(0x239),{'type':'string','description':_0x3287ec(0x17b)})[_0x3287ec(0x274)](_0x3287ec(0x276),{'type':_0x5eb315['vKiml'],'description':_0x3287ec(0x2e2),'default':![]})['option']('skip-auth',{'type':_0x5eb315['vKiml'],'description':_0x5eb315['XvKXj'],'default':![]})[_0x3287ec(0x274)](_0x5eb315[_0x3287ec(0x183)],{'type':_0x5eb315[_0x3287ec(0x1d3)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x4da75a=>{const _0x536a67=_0x1b6b0a,_0x48f069={'QjSjJ':function(_0x2980af,_0x3b9000,_0x334a9c){return _0x2980af(_0x3b9000,_0x334a9c);},'lvVks':_0x536a67(0x296)};_0x48f069['QjSjJ'](warnRenamed,'ranger\x20start','ranger\x20setup'),await withTelemetry(_0x48f069[_0x536a67(0x1a9)],_0x9d5f3e=>start(_0x4da75a[_0x536a67(0x194)],{'skipChromium':_0x4da75a[_0x536a67(0x2f1)],'skipAuth':_0x4da75a['skip-auth'],'withDeps':_0x4da75a[_0x536a67(0x1ca)],'scope':_0x4da75a[_0x536a67(0x2c6)],'url':_0x4da75a['url'],'force':_0x4da75a[_0x536a67(0x276)]},_0x9d5f3e));})[_0x1b6b0a(0x173)](_0x1b6b0a(0x2ab),![],_0x5942b2=>{const _0x2aa916=_0x1b6b0a,_0x29682c={'PvfdB':'env','WQjCi':'string','bMliB':_0x2aa916(0x1f7),'KLfvJ':_0x2aa916(0x1cf),'tEXgT':_0x2aa916(0x26f),'WFszP':_0x2aa916(0x301),'aloMU':_0x2aa916(0x2d9),'eZycM':'model','DSicp':_0x2aa916(0x189),'TQrSj':_0x2aa916(0x19e),'ayxVR':'debug-outcome','SQIHr':_0x2aa916(0x2bd),'kqzTC':_0x2aa916(0x1de),'GEKgG':'failed'};return _0x5942b2[_0x2aa916(0x274)](_0x29682c[_0x2aa916(0x2b6)],{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option']('task',{'type':_0x29682c['WQjCi'],'description':_0x29682c[_0x2aa916(0x1b3)]})['option'](_0x29682c['KLfvJ'],{'type':_0x2aa916(0x301),'description':_0x29682c['tEXgT']})['option'](_0x2aa916(0x1e6),{'type':'string','hidden':!![]})[_0x2aa916(0x274)](_0x2aa916(0x1a7),{'type':_0x29682c['WQjCi'],'hidden':!![]})[_0x2aa916(0x274)](_0x2aa916(0x1f2),{'type':_0x29682c['WFszP'],'hidden':!![]})['option']('start-path',{'type':_0x29682c[_0x2aa916(0x213)],'description':_0x29682c['aloMU']})['option'](_0x29682c[_0x2aa916(0x1c9)],{'type':_0x29682c['WQjCi'],'hidden':!![]})['option'](_0x29682c[_0x2aa916(0x2d7)],{'type':_0x29682c['TQrSj'],'hidden':!![],'default':![]})['option'](_0x29682c[_0x2aa916(0x28a)],{'type':_0x29682c['WQjCi'],'hidden':!![],'choices':[_0x29682c[_0x2aa916(0x260)],'partial',_0x29682c['kqzTC'],_0x29682c[_0x2aa916(0x2ef)],_0x2aa916(0x25c)]});},async _0xe39934=>{await runGoCommand(_0xe39934,!![]);})[_0x1b6b0a(0x173)](_0x1b6b0a(0x2d0),![],_0x214926=>{const _0xd884fc=_0x1b6b0a,_0x53753c={'pdvmi':'string','LbeOP':_0xd884fc(0x2c1),'QZxcs':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x214926['positional'](_0xd884fc(0x1c7),{'type':_0x53753c['pdvmi'],'description':_0x53753c['LbeOP'],'demandOption':!![]})[_0xd884fc(0x274)]('ci',{'type':'boolean','description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0xd884fc(0x274)](_0xd884fc(0x1b0),{'type':'boolean','description':_0x53753c[_0xd884fc(0x306)],'default':![]});},async _0xe4c2ab=>{const _0x2367d8=_0x1b6b0a,_0x146803={'eTuSl':function(_0x2f21e4,_0x10d612,_0x4febe7){return _0x2f21e4(_0x10d612,_0x4febe7);},'ZvVIJ':_0x2367d8(0x2dc)};_0x146803['eTuSl'](warnRenamed,_0x2367d8(0x28e),'ranger\x20profile\x20add'),await withTelemetry(_0x146803['ZvVIJ'],_0x178060=>addEnv(_0xe4c2ab[_0x2367d8(0x1c7)],{'ci':_0xe4c2ab['ci'],'skipAuth':_0xe4c2ab[_0x2367d8(0x1b0)]},_0x178060));})['command'](_0x1b6b0a(0x238),![],_0x4baa7a=>{const _0xe114f9=_0x1b6b0a,_0x1a0de1={'hPmgC':'env-name','ExFWI':_0xe114f9(0x269),'TgJMH':_0xe114f9(0x211)};return _0x4baa7a['positional'](_0x1a0de1[_0xe114f9(0x20a)],{'type':_0x1a0de1[_0xe114f9(0x205)],'description':_0x1a0de1['TgJMH'],'demandOption':!![]});},async _0x56d031=>{const _0x2fc8fd=_0x1b6b0a,_0x47661b={'qfupj':function(_0x1848f7,_0x51825e,_0x2412bc){return _0x1848f7(_0x51825e,_0x2412bc);},'phBxc':_0x2fc8fd(0x19b)};_0x47661b['qfupj'](warnRenamed,_0x2fc8fd(0x1e1),_0x47661b['phBxc']),await withTelemetry(_0x2fc8fd(0x175),()=>useEnv(_0x56d031[_0x2fc8fd(0x1c7)]));})['command']('config',![],_0x45c478=>{const _0x455609=_0x1b6b0a,_0x289639={'hMrKQ':'Environment\x20name','ThQGy':_0x455609(0x259),'edMgd':_0x455609(0x269),'auThI':'ranger\x20config\x20set','uIqon':_0x455609(0x2b1),'rmhNL':function(_0x5666cd,_0x18b91e,_0x5a1d8f){return _0x5666cd(_0x18b91e,_0x5a1d8f);},'SydEm':_0x455609(0x1fd),'BNcKa':'env','TKEWE':_0x455609(0x2cf),'uEhxq':'ranger\x20profile\x20config\x20get','okLVq':_0x455609(0x208),'yRKpj':'config\x20list','uvlcB':'ranger\x20config\x20unset','PhbCZ':_0x455609(0x19c),'NYYck':function(_0x14a71b,_0x5ee12f,_0x2c1280){return _0x14a71b(_0x5ee12f,_0x2c1280);},'uzEQT':'set\x20<env>\x20<key>\x20<value>','cKTHt':'get\x20<env>\x20<key>','oQfSh':_0x455609(0x240),'gWrpn':_0x455609(0x2c7),'zZWpd':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x45c478[_0x455609(0x173)](_0x289639['uzEQT'],![],_0x75d924=>{const _0x3c2c35=_0x455609;return _0x75d924[_0x3c2c35(0x18a)]('env',{'type':'string','description':_0x289639[_0x3c2c35(0x2f3)],'demandOption':!![]})['positional'](_0x289639[_0x3c2c35(0x1fc)],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})[_0x3c2c35(0x18a)]('value',{'type':_0x289639[_0x3c2c35(0x20b)],'description':'Config\x20value','demandOption':!![]});},async _0x39771f=>{const _0x14ea15=_0x455609;warnRenamed(_0x289639['auThI'],_0x289639['uIqon']),await _0x289639[_0x14ea15(0x21d)](withTelemetry,_0x289639[_0x14ea15(0x21a)],()=>configSet(_0x39771f[_0x14ea15(0x2e5)],_0x39771f['key'],_0x39771f['value']));})[_0x455609(0x173)](_0x289639['cKTHt'],![],_0x4ea527=>{const _0xf6bce3=_0x455609;return _0x4ea527[_0xf6bce3(0x18a)](_0x289639['BNcKa'],{'type':'string','description':_0x289639[_0xf6bce3(0x2f3)],'demandOption':!![]})[_0xf6bce3(0x18a)]('key',{'type':_0x289639['edMgd'],'description':'Config\x20key','demandOption':!![]});},async _0x535b34=>{const _0x350531=_0x455609;warnRenamed(_0x289639[_0x350531(0x18d)],_0x289639['uEhxq']),await _0x289639['rmhNL'](withTelemetry,_0x289639[_0x350531(0x28b)],()=>configGet(_0x535b34['env'],_0x535b34[_0x350531(0x259)]));})[_0x455609(0x173)](_0x289639['oQfSh'],![],_0x2310b6=>{const _0x3a7229=_0x455609;return _0x2310b6[_0x3a7229(0x18a)]('env',{'type':_0x289639['edMgd'],'description':'Environment\x20name','demandOption':!![]});},async _0x4ef288=>{const _0x52d696=_0x455609;warnRenamed(_0x52d696(0x275),'ranger\x20profile\x20config\x20list'),await _0x289639['rmhNL'](withTelemetry,_0x289639['yRKpj'],()=>configList(_0x4ef288['env']));})[_0x455609(0x173)](_0x289639['gWrpn'],![],_0x29f1a5=>{const _0x3cfa38=_0x455609;return _0x29f1a5['positional'](_0x289639[_0x3cfa38(0x24e)],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x3cfa38(0x269),'description':_0x3cfa38(0x2ce),'demandOption':!![]});},async _0x41ba16=>{const _0x40defc=_0x455609;_0x289639[_0x40defc(0x21d)](warnRenamed,_0x289639['uvlcB'],_0x289639[_0x40defc(0x2f2)]),await _0x289639['NYYck'](withTelemetry,_0x40defc(0x1f4),()=>configUnset(_0x41ba16['env'],_0x41ba16['key']));})[_0x455609(0x2dd)](0x1,_0x289639['zZWpd']);})[_0x1b6b0a(0x173)](_0x1b6b0a(0x2e5),![],_0x32e7b0=>{const _0x2d9f61=_0x1b6b0a,_0x36da06={'xqflL':'ranger\x20env\x20ls','IOvxw':'env\x20list','mRWQF':_0x2d9f61(0x269),'qPuLj':function(_0x13ad52,_0x59716c,_0x238911){return _0x13ad52(_0x59716c,_0x238911);},'AUcaB':'ranger\x20profile\x20update','iBmru':function(_0x120d0c,_0x572473,_0xd1827b){return _0x120d0c(_0x572473,_0xd1827b);},'mQWcW':_0x2d9f61(0x2f8)};return _0x32e7b0[_0x2d9f61(0x173)]('ls',![],()=>{},async()=>{const _0x1ca7a3=_0x2d9f61;warnRenamed(_0x36da06[_0x1ca7a3(0x270)],_0x1ca7a3(0x2a0)),await withTelemetry(_0x36da06['IOvxw'],()=>envList());})['command'](_0x36da06[_0x2d9f61(0x2a7)],![],_0x258f18=>{const _0x30ea39=_0x2d9f61;return _0x258f18[_0x30ea39(0x18a)]('env-name',{'type':_0x36da06['mRWQF'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x533676=>{const _0x35e244=_0x2d9f61;_0x36da06['qPuLj'](warnRenamed,_0x35e244(0x16f),_0x36da06[_0x35e244(0x1c0)]),await _0x36da06['iBmru'](withTelemetry,'env\x20update',_0x1c7105=>updateEnv(_0x533676[_0x35e244(0x1c7)],_0x1c7105));})[_0x2d9f61(0x2dd)](0x1,_0x2d9f61(0x25f));})['command']('feature',![],_0x134c49=>{const _0x331664=_0x1b6b0a,_0x44613d={'yPmLc':'string','VaEll':'Feature\x20review\x20name','dPSiK':'Feature\x20review\x20description','aBZnL':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','CkdPR':'array','Glwpb':function(_0x3ea19b,_0xc7f73a,_0x7f8448){return _0x3ea19b(_0xc7f73a,_0x7f8448);},'KHnWr':'ranger\x20create','lyTPC':_0x331664(0x305),'UQBZr':'feature\x20create','xYTsb':_0x331664(0x287),'mAmmE':'boolean','SzYtL':_0x331664(0x176),'iAfRN':_0x331664(0x178),'KyWui':'ranger\x20feature\x20list','ObSEE':function(_0x551273,_0x8143e,_0x271463){return _0x551273(_0x8143e,_0x271463);},'wbdaW':'Feature\x20review\x20ID','zDVNg':function(_0x263f87,_0x3a94ed,_0x4a312d){return _0x263f87(_0x3a94ed,_0x4a312d);},'UiPjk':_0x331664(0x224),'iPHyH':'ranger\x20show','YOwuL':_0x331664(0x2be),'fvDEH':_0x331664(0x1e3),'WIOwn':'feature\x20resume','aFhcy':'description','aOnrF':_0x331664(0x16e),'MUxgy':_0x331664(0x1cb),'dyFLB':_0x331664(0x21b),'NXRtB':'ranger\x20feature\x20delete','JBwDt':'Feature\x20review\x20ID\x20to\x20restore','MeoFu':'ranger\x20feature\x20restore','fZscN':function(_0x3ae9c3,_0x3b1646,_0x5d8ea4){return _0x3ae9c3(_0x3b1646,_0x5d8ea4);},'Xhjbj':'feature\x20restore','LKSyO':_0x331664(0x1ad),'CqbkM':_0x331664(0x19d),'bEPEg':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x134c49[_0x331664(0x173)]('create\x20<name>',![],_0x245933=>{const _0x152ef5=_0x331664;return _0x245933['positional']('name',{'type':_0x44613d['yPmLc'],'description':_0x44613d[_0x152ef5(0x1dc)],'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x44613d['dPSiK']})['option'](_0x152ef5(0x2e4),{'type':_0x152ef5(0x2ba),'alias':'c','description':_0x44613d[_0x152ef5(0x292)]})[_0x152ef5(0x274)](_0x152ef5(0x1f2),{'type':_0x44613d[_0x152ef5(0x2c4)],'hidden':!![]});},async _0x4de3a9=>{const _0x352d2=_0x331664;_0x44613d[_0x352d2(0x22c)](warnRenamed,'ranger\x20feature\x20create',_0x44613d['KHnWr']),warnFlagRenamed(_0x44613d['KHnWr'],_0x44613d[_0x352d2(0x27c)],'--scenario');const _0x14a493=_0x4de3a9['scenario']||_0x4de3a9['checklist'];await _0x44613d[_0x352d2(0x22c)](withTelemetry,_0x44613d[_0x352d2(0x297)],()=>featureCreate(_0x4de3a9[_0x352d2(0x18c)],{'description':_0x4de3a9['description'],'scenarios':_0x14a493}));})[_0x331664(0x173)]('list',![],_0x37c1d5=>{const _0x5a9b54=_0x331664;return _0x37c1d5[_0x5a9b54(0x274)](_0x44613d[_0x5a9b54(0x2f7)],{'type':_0x44613d['mAmmE'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x5a9b54(0x274)](_0x44613d[_0x5a9b54(0x284)],{'type':'number','alias':'l','description':_0x5a9b54(0x2aa),'default':0xa})['option'](_0x5a9b54(0x1d8),{'type':'number','alias':'o','description':_0x5a9b54(0x283),'default':0x0})[_0x5a9b54(0x274)]('include-deleted',{'type':_0x5a9b54(0x19e),'alias':'d','description':_0x44613d[_0x5a9b54(0x1e2)],'default':![]});},async _0x328eba=>{const _0x36bdf1=_0x331664;warnRenamed(_0x44613d[_0x36bdf1(0x1f5)],'ranger\x20list'),await _0x44613d['ObSEE'](withTelemetry,_0x36bdf1(0x288),()=>featureList({'currentBranch':_0x328eba[_0x36bdf1(0x287)],'limit':_0x328eba[_0x36bdf1(0x176)],'offset':_0x328eba[_0x36bdf1(0x1d8)],'includeDeleted':_0x328eba[_0x36bdf1(0x172)]}));})['command']('show\x20[id]',![],_0x477128=>{return _0x477128['positional']('id',{'type':_0x44613d['yPmLc'],'description':_0x44613d['wbdaW']});},async _0x145cdc=>{const _0x2716f8=_0x331664;_0x44613d['zDVNg'](warnRenamed,_0x44613d[_0x2716f8(0x215)],_0x44613d[_0x2716f8(0x2a6)]),await _0x44613d['Glwpb'](withTelemetry,_0x44613d['YOwuL'],()=>featureShow(_0x145cdc['id']));})[_0x331664(0x173)](_0x44613d['LKSyO'],![],_0x198394=>{const _0x2ef307=_0x331664;return _0x198394[_0x2ef307(0x18a)]('id',{'type':'string','description':_0x2ef307(0x1a5)});},async _0x24b730=>{const _0x5de4eb=_0x331664;_0x44613d[_0x5de4eb(0x1bc)](warnRenamed,_0x44613d['fvDEH'],_0x5de4eb(0x2e0)),await withTelemetry(_0x44613d[_0x5de4eb(0x1fe)],()=>featureResume(_0x24b730['id']));})[_0x331664(0x173)]('add-checklist-item\x20<description>',![],_0x2037b5=>{const _0x19daf5=_0x331664;return _0x2037b5['positional'](_0x44613d[_0x19daf5(0x290)],{'type':_0x19daf5(0x269),'description':_0x44613d['aOnrF'],'demandOption':!![]})['option']('id',{'type':_0x44613d['yPmLc'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5b555a=>{const _0xc2a56d=_0x331664;_0x44613d[_0xc2a56d(0x302)](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x44613d['MUxgy']),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x5b555a[_0xc2a56d(0x1eb)],_0x5b555a['id']));})[_0x331664(0x173)](_0x331664(0x2bb),![],_0x353079=>{const _0x4fa038=_0x331664;return _0x353079['positional']('id',{'type':'string','description':_0x4fa038(0x29f)});},async _0x3ae5e6=>{const _0x295972=_0x331664;warnRenamed(_0x295972(0x2ca),_0x44613d['dyFLB']),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x3ae5e6['id']));})[_0x331664(0x173)]('delete\x20[id]',![],_0x3b39af=>{const _0x12d95a=_0x331664;return _0x3b39af[_0x12d95a(0x18a)]('id',{'type':_0x12d95a(0x269),'description':_0x44613d['wbdaW']});},async _0x1ece15=>{const _0x4ab1a3=_0x331664;warnRenamed(_0x44613d[_0x4ab1a3(0x2f0)],'ranger\x20delete'),await _0x44613d['ObSEE'](withTelemetry,_0x4ab1a3(0x1c1),()=>featureDelete(_0x1ece15['id']));})[_0x331664(0x173)](_0x44613d['CqbkM'],![],_0x3ec0f5=>{const _0x4e3c49=_0x331664;return _0x3ec0f5['positional']('id',{'type':_0x4e3c49(0x269),'description':_0x44613d[_0x4e3c49(0x1ce)],'demandOption':!![]});},async _0x3df10e=>{const _0x598cef=_0x331664;warnRenamed(_0x44613d['MeoFu'],_0x598cef(0x1f9)),await _0x44613d[_0x598cef(0x217)](withTelemetry,_0x44613d['Xhjbj'],()=>featureRestore(_0x3df10e['id']));})['demandCommand'](0x1,_0x44613d['bEPEg']);})['command'](_0x1b6b0a(0x241),![],_0xdbbdfe=>{const _0x4e13b9=_0x1b6b0a,_0x3c06e5={'yrboE':_0x4e13b9(0x2f5),'xGhEP':'hook:enable','KeNGV':function(_0x3d77fe,_0x5607dd,_0x199770){return _0x3d77fe(_0x5607dd,_0x199770);},'ySwoZ':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','MADBT':'disable','LbjHQ':_0x4e13b9(0x2a9),'nfPAN':'string','vsPVy':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','pAVJP':_0x4e13b9(0x1e8)};return _0xdbbdfe['command']('enable',_0x3c06e5['ySwoZ'],_0x45537f=>{const _0x584a1e=_0x4e13b9;return _0x45537f['option'](_0x584a1e(0x1e8),{'type':'string','description':_0x3c06e5['yrboE']});},async _0x1eb354=>{const _0x59174a=_0x4e13b9;await withTelemetry(_0x3c06e5['xGhEP'],()=>hook(_0x59174a(0x2ad),_0x1eb354['session-id']));})[_0x4e13b9(0x173)](_0x3c06e5['MADBT'],_0x3c06e5['LbjHQ'],_0xc44fdf=>{const _0x49d436=_0x4e13b9;return _0xc44fdf[_0x49d436(0x274)]('session-id',{'type':'string','description':_0x3c06e5[_0x49d436(0x1ac)]});},async _0x5a1678=>{const _0x174bdf=_0x4e13b9;await _0x3c06e5['KeNGV'](withTelemetry,_0x174bdf(0x23f),()=>hook('disable',_0x5a1678[_0x174bdf(0x1e8)]));})['option'](_0x4e13b9(0x18c),{'type':_0x3c06e5[_0x4e13b9(0x18f)],'description':_0x3c06e5[_0x4e13b9(0x1c6)]})['option'](_0x3c06e5['pAVJP'],{'type':_0x3c06e5[_0x4e13b9(0x18f)],'description':_0x3c06e5[_0x4e13b9(0x1ac)]});},async _0x2f5e72=>{const _0xc1818f=_0x1b6b0a,_0x1d6af9={'qKPKc':function(_0x13e5be,_0x48e2a2,_0xcc8600){return _0x13e5be(_0x48e2a2,_0xcc8600);},'mztsI':_0xc1818f(0x1e8)};_0x2f5e72[_0xc1818f(0x18c)]&&await _0x1d6af9[_0xc1818f(0x2b4)](hook,_0x2f5e72[_0xc1818f(0x18c)],_0x2f5e72[_0x1d6af9['mztsI']]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x1b6b0a(0x1ef)](async(_0x27ecc2,_0x5cf765,_0x46182f)=>{const _0x3e84e9=_0x1b6b0a,_0x413ed3={'qlwlz':function(_0x15b79e,_0x418145){return _0x15b79e(_0x418145);},'fGCbw':function(_0x55cb39,_0x2629e5,_0x142bc7){return _0x55cb39(_0x2629e5,_0x142bc7);},'coynl':_0x3e84e9(0x21c)},_0x1370c4=_0x413ed3['qlwlz'](sanitizeArgs,process[_0x3e84e9(0x1c4)]['slice'](0x2)),_0x310e78=_0x413ed3['fGCbw'](getErrorType,_0x27ecc2,_0x5cf765);if(_0x27ecc2&&_0x27ecc2[_0x3e84e9(0x199)](_0x3e84e9(0x243))){const _0x472dd4=process[_0x3e84e9(0x1c4)][0x2];console[_0x3e84e9(0x2d2)](_0x3e84e9(0x1e0)+_0x472dd4),console[_0x3e84e9(0x2d2)](_0x413ed3['coynl']);}else{if(_0x27ecc2)console[_0x3e84e9(0x2d2)]('\x0a'+_0x27ecc2+'\x0a');else _0x5cf765&&console[_0x3e84e9(0x2d2)]('\x0aError:\x20'+_0x5cf765['message']+'\x0a');}await logDesirePath({'rawCommand':_0x1370c4,'errorMessage':_0x27ecc2||_0x5cf765?.['message'],'errorType':_0x310e78});const _0x846386=getCurrentCollector();_0x846386&&await _0x846386[_0x3e84e9(0x203)](_0x5cf765||new Error(_0x27ecc2||_0x3e84e9(0x1e5))),process['exit'](0x1);})[_0x1b6b0a(0x2e9)](_0x1b6b0a(0x261)+_0x1b6b0a(0x229)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x1b6b0a(0x212)]()['alias']('help','h')['parse']();
|
|
2
|
+
const _0x2cb829=_0x2bbe;(function(_0x138c4c,_0x39deaf){const _0x98b8a9=_0x2bbe,_0x165eca=_0x138c4c();while(!![]){try{const _0x141700=parseInt(_0x98b8a9(0x23c))/0x1*(parseInt(_0x98b8a9(0x277))/0x2)+parseInt(_0x98b8a9(0x2d1))/0x3*(parseInt(_0x98b8a9(0x2d3))/0x4)+-parseInt(_0x98b8a9(0x182))/0x5+parseInt(_0x98b8a9(0x2cf))/0x6+parseInt(_0x98b8a9(0x25c))/0x7+parseInt(_0x98b8a9(0x162))/0x8+-parseInt(_0x98b8a9(0x317))/0x9*(parseInt(_0x98b8a9(0x2a2))/0xa);if(_0x141700===_0x39deaf)break;else _0x165eca['push'](_0x165eca['shift']());}catch(_0x41ff4f){_0x165eca['push'](_0x165eca['shift']());}}}(_0x5476,0x6c287));import _0x40e677 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x528c04=_0x2bbe,_0x1beffb={'uBJLQ':function(_0x18d030,_0x1491f0){return _0x18d030(_0x1491f0);},'SUgIX':function(_0x540e99,_0x59fecd){return _0x540e99!==_0x59fecd;},'ilUCp':function(_0x104cea,_0x39f9c7,_0x45a8e2){return _0x104cea(_0x39f9c7,_0x45a8e2);},'uoAIU':_0x528c04(0x23e),'WvIeg':function(_0x10d3a4,_0x2a6ae2){return _0x10d3a4(_0x2a6ae2);},'gABzc':function(_0x449036,_0x3bb07d){return _0x449036(_0x3bb07d);}};let _0x345e93=process[_0x528c04(0x19a)]();const _0x1649a6=_0x1beffb['uBJLQ'](parse,_0x345e93)[_0x528c04(0x320)];while(_0x1beffb['SUgIX'](_0x345e93,_0x1649a6)){if(existsSync(_0x1beffb['ilUCp'](join,_0x345e93,_0x1beffb[_0x528c04(0x2e2)]))||_0x1beffb[_0x528c04(0x172)](existsSync,join(_0x345e93,'.env')))return _0x345e93;_0x345e93=_0x1beffb['gABzc'](dirname,_0x345e93);}return process[_0x528c04(0x19a)]();}_0x40e677[_0x2cb829(0x221)]({'path':join(findProjectRoot(),_0x2cb829(0x311))});import _0x356ad3 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';function _0x2bbe(_0x3357a3,_0x1dd948){_0x3357a3=_0x3357a3-0x14e;const _0x547676=_0x5476();let _0x2bbe8f=_0x547676[_0x3357a3];return _0x2bbe8f;}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'](_0x2cb829(0x1cf),async _0x2f78d3=>{const _0x3e4674=getCurrentCollector();_0x3e4674&&await _0x3e4674['trackCommandError'](_0x2f78d3),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x2cb829(0x2f1)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aDeprecated\x20(now\x20exit\x201\x20with\x20a\x20redirect):\x20`profile\x20update`,\x20`profile\x20encrypt-auth`,\x0a`profile\x20migrate`,\x20`setup\x20--ci`.\x20Run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20set\x20up\x20a\x0afresh\x20profile.\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x2cb829(0x2df);function warnRenamed(_0x3a7680,_0x3ed22a){const _0x174098=_0x2cb829;console['error']('\x0a'+_0x3a7680+_0x174098(0x313)+_0x3ed22a+'\x0a');}function _0x5476(){const _0x505b7b=['issues','ranger\x20feature\x20show','ranger\x20profile\x20update','wajUF','3153505zsnOKB','OdVmO','YLnDv','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','ranger\x20profile\x20config\x20get','QaErt','tRmTw','ZOIwp','OIFaO','profiles','Set\x20up\x20a\x20local\x20browser\x20profile','ZrSpi','rRyiy','ranger\x20verify-feature','profile\x20config\x20set','cdp-endpoint','hxoen','ABorX','disable','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','failed','verified','encrypt-auth\x20<profile>','resume\x20[id]','cwd','MNlYF','XJifa','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','UBfqd','nnHWu','KHtrT','fpBbm','token','adqhr','argv','ydkoB','Summary:\x20','SBUFt','add\x20env\x20<env-name>','scope','ranger\x20setup','ARiyF','demandCommand','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','ranger\x20profile\x20add','KTwVX','ySPLu','HHyoP','pFTmo','Name\x20of\x20the\x20profile','HxZND','string','ranger\x20profile\x20config\x20list','ranger\x20list','GjSCP','option','eNSQY','clean','config\x20set','--task','version','opencode','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','LNldc','cSGGb','nfecg','spIgn','setup-header','vRgEq','tsuSA','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','IQkyI','kdyqG','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','lMOHT','model','unhandledRejection','env-name','\x20\x20https://docs.ranger.net\x0a','FXpBm','HDZwY','DgWDm','scriptName','ranger\x20config\x20get','vZOeg','Unknown\x20error','ranger\x20start','nxoVY','yes','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','YIRSt','hZlaa','SiaPr','RTZZm','exit','WvPQT','task','Name\x20of\x20the\x20environment\x20to\x20update','item','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','feature\x20add-checklist-item','whHHD','Fwgnr','ranger\x20config\x20list','nFGvB','partial','ZEeSs','jNsLC','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','dry-run','You\x20must\x20specify\x20a\x20command','fFQRe','kGVXX','wvOZS','show\x20[id]','migrate\x20[profile-name]','ranger\x20feature\x20delete','aGpNP','strictCommands','xBfly','OONRZ','OugZR','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','feature\x20list','boolean','ranger\x20profile\x20encrypt-auth','sHSwG','feature\x20show','report','value','Config\x20key\x20to\x20remove','offset','get-review','EvDZn','mDZMv','Profile\x20name','config\x20list','lFcur','FAaAg','edit-scenario','CUfBq','YbjhF','zPXrX','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Install\x20Ranger\x20skills','fsJtp','wTvCD','Set\x20a\x20config\x20value','limit','add\x20env','cgVEZ','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','eVAbs','name','ranger\x20create','qtNtt','config','yMUtT','login\x20<name>','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','gzvgC','RrQLu','force','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','skip-auth','DlSAd','niWYS','mGblZ','QufNY','error','KNFuS','DQcUT','Install\x20scope\x20for\x20skills','CDCWk','SGcRm','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','aeFpk','Scenario\x20description','rGRkU','feature\x20resume','faCWV','Skip\x20interactive\x20confirmation\x20prompts.','setup-ci','2pUAHVR','command','.ranger','Install\x20skills\x20for\x20OpenCode','hAnsc','DrOuP','Update\x20authentication\x20for\x20an\x20existing\x20profile','uDFZj','ApIud','setup:all','tovXU','kaqJb','RANGER_TEST_PASSWORD','eGZrY','TwIEg','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','profile\x20add','wlLjp','Documentation:\x0a','RVYcl','QtRIV','profile-name','eWmcd','ranger\x20auth\x20encrypt','VkjKa','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','juPyb','EcVvq','gOyIP','Scenario\x20index\x20(1-based)','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','crCgU','306089fqpFOR','start\x20[token]','Switch\x20to\x20using\x20a\x20specific\x20profile','save-creds','unset\x20<env>\x20<key>','trackCommandError','Subcommand\x20or\x20API\x20token\x20(rngr_...)','fXfLq','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','PSLKc','mWbFz','Ranger\x20API\x20token\x20(rngr_...)','Scenario\x20number\x20to\x20edit\x20(1-based)','tebLY','with-deps','Dlqpl','becnt','Stfzt','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','allow-insecure-localhost','description','url','\x27.\x20Session\x20saved.','debug-outcome','\x0aIssues:','oQDBT','sEoEO','371846NfmdpB','zdSpD','resume','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','NuTmw','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','unset\x20<profile>\x20<key>','WdwOx','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','log','ranger\x20profile\x20use','edit-scenario\x20<description>','tUsLI','TieoM','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','SbWiH','iRfOm','hkZhO','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','incomplete','Environment\x20name','WuMAZ','profile\x20config\x20get','FkQpP','ranger\x20feature\x20list','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','cvTFw','mtbgg','aIPsm','list\x20<env>','trosN','notes','Htokv','gAlOt','jWtbh','jXPYD','FrpLo','wfKma','profile\x20encrypt-auth','uCllK','--notes','length','Feature\x20review\x20name','279190QsHpes','number','all','severity','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','env\x20update','ranger\x20resume','xwqbt','ranger\x20profile\x20config\x20set','--checklist','current-branch','not_configured','ranger\x20feature\x20add-checklist-item','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','base-url','ffkhn','message','RANGER_PROFILE','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','start-path','env\x20list','include-deleted','DlJCs','xCssp','env','efmxr','NNCHd','help','ranger\x20use','\x0aUnknown\x20command:\x20','lvvVj','Initialize\x20Ranger\x20in\x20your\x20project','UMYrG','You\x20must\x20specify\x20an\x20env\x20subcommand','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Jdxpb','UgyUf','unknown\x20error','nvuza','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','update','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','LKLBy','enable','Feature\x20review\x20ID','2972646PCOUqu','deps','3AsDRul','key','666628JEAfbO','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','FQcJw','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','scenario','hook:disable','Feature\x20review\x20description','array','oVUMp','rQmma','feature','--profile','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','get\x20<profile>\x20<key>','user','uoAIU','RUBNu','wDQJb','LsQFD','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.','WGPeh','NcjiK','rTBCJ','delete','✓\x20Login\x20succeeded\x20for\x20\x27','VaMms','Skip\x20Chromium\x20browser\x20installation','Authenticate\x20via\x20MCP\x20proxy','get\x20<env>\x20<key>','ranger\x20delete','slice','checklist','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Print\x20the\x20current\x20CLI\x20access\x20token','Config\x20key','ranger\x20feature\x20create','success','Get\x20a\x20config\x20value','mcp-bootstrap','MJNFc','mDyby','pSPiR','SsNYj','mcp','hiTEM','Include\x20soft-deleted\x20feature\x20reviews','bvtIi','sjRpi','setup:deps','epilogue','CuRYG','lNmTx','test_output','FESzi','cRoVs','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ranger\x20setup\x20profiles\x20--scope=','VKJky','Dpwhk','project','SXuhY','svcmF','.env','Example:\x20ranger\x20create\x20my-feature','\x20is\x20now\x20','evaluation','use','positional','45ieYloH','list\x20<profile>','iLFWf','RzZvQ','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','ranger\x20profile\x20ls','BUaJA','forEach','GVBAY','root','tWISl','HMbRM','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','aMVwX','DUUwx','Install\x20OS-level\x20dependencies\x20for\x20Chromium','cbMJv','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','XWQYC','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','exclude-scenario','evaluationReason','setup\x20[tokenOrSubcommand]','\x20INCOMPLETE','JvfHq','ranger\x20go','blocked','lVuof','profile','jwQmP','1085120YkkXPW','status','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','print-access-token','ranger\x20config\x20set','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','HlAla','UywYn','pxFuM','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','CaTTH','hHZNe','skip-chromium','debug-address-comments','You\x20must\x20specify\x20a\x20profile\x20subcommand','WvIeg','qZsSV','Skip\x20authentication','Config\x20value','eoXUn','Ranger\x20API\x20token','--scenario','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','usage','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','HDcBd','Pftfn'];_0x5476=function(){return _0x505b7b;};return _0x5476();}function argUsed(_0x1a1004){return rawArgs['some'](_0x47cd2c=>_0x47cd2c===_0x1a1004||_0x47cd2c['startsWith'](_0x1a1004+'='));}function warnFlagRenamed(_0x89865d,_0x14e27a,_0x13cca2){const _0x175bee=_0x2cb829,_0x248ea7={'hZlaa':function(_0x5e45ef,_0x452858){return _0x5e45ef(_0x452858);},'VkjKa':function(_0x5ac9ec,_0x4190da,_0x3f837d){return _0x5ac9ec(_0x4190da,_0x3f837d);}};_0x248ea7[_0x175bee(0x1e0)](argUsed,_0x14e27a)&&_0x248ea7[_0x175bee(0x254)](warnRenamed,_0x89865d+'\x20'+_0x14e27a,_0x89865d+'\x20'+_0x13cca2);}async function runGoCommand(_0x5ebb73,_0x35b233=![]){const _0x11ef59=_0x2cb829,_0x19ee86={'MbGrU':function(_0x56e6b1,_0x3abb0d){return _0x56e6b1+_0x3abb0d;},'ZkFsB':_0x11ef59(0x18f),'mGblZ':_0x11ef59(0x15d),'fFQRe':'--env','rUHcx':_0x11ef59(0x2de),'XikmQ':function(_0x368f40,_0x22e1b2,_0x24cbe3,_0x36da3a){return _0x368f40(_0x22e1b2,_0x24cbe3,_0x36da3a);},'efmxr':_0x11ef59(0x1bd),'zdSpD':_0x11ef59(0x29f),'whHHD':function(_0x322de4){return _0x322de4();},'eLfBd':function(_0x23c3a0){return _0x23c3a0();},'rwLEY':'debug-outcome','ZSQJI':function(_0x2557b5,_0x5e7077){return _0x2557b5===_0x5e7077;},'SXuhY':'verified','yAFda':'\x20VERIFIED','QaErt':'incomplete','TtrYx':'\x20FAILED','adqhr':function(_0x3c7c80,_0x5bbafb){return _0x3c7c80===_0x5bbafb;}};_0x35b233&&warnRenamed(_0x19ee86['ZkFsB'],_0x19ee86[_0x11ef59(0x22c)]);warnFlagRenamed(_0x19ee86[_0x11ef59(0x22c)],_0x19ee86[_0x11ef59(0x1f4)],_0x19ee86['rUHcx']),_0x19ee86['XikmQ'](warnFlagRenamed,_0x19ee86[_0x11ef59(0x22c)],_0x19ee86[_0x11ef59(0x2bb)],_0x19ee86[_0x11ef59(0x278)]),warnFlagRenamed(_0x19ee86['mGblZ'],'--item',_0x11ef59(0x178));const _0x557998=await _0x19ee86[_0x11ef59(0x1ea)](loadRangerConfig),_0x287433=_0x19ee86['eLfBd'](isByokEnabled),_0x1383e1=_0x5ebb73['model'],_0x5b9f66=_0x557998[_0x11ef59(0x1ce)],_0x5ec805=await verifyFeature({'featureId':_0x5ebb73[_0x11ef59(0x2dd)],'profile':_0x5ebb73['profile']??_0x5ebb73['env']??process[_0x11ef59(0x2ba)][_0x11ef59(0x2b3)],'notes':_0x5ebb73['notes']??_0x5ebb73[_0x11ef59(0x1e5)],'scenario':_0x5ebb73['scenario']??_0x5ebb73[_0x11ef59(0x1e7)],'startPath':_0x5ebb73['start-path'],'baseUrl':_0x5ebb73[_0x11ef59(0x2b0)],'debugOutcome':_0x5ebb73[_0x19ee86['rwLEY']],'debugAddressComments':_0x5ebb73['debug-address-comments'],'headed':_0x5ebb73['headed'],'byokEnabled':_0x287433,'flagVerifyModel':_0x1383e1,'configVerifyModel':_0x5b9f66});console[_0x11ef59(0x280)](_0x19ee86['MbGrU']('\x0a','='['repeat'](0x3c))),console['log'](_0x19ee86['ZSQJI'](_0x5ec805[_0x11ef59(0x314)],_0x19ee86[_0x11ef59(0x30f)])?_0x19ee86['yAFda']:_0x19ee86['ZSQJI'](_0x5ec805[_0x11ef59(0x314)],_0x19ee86[_0x11ef59(0x187)])?_0x11ef59(0x15b):_0x19ee86['ZSQJI'](_0x5ec805[_0x11ef59(0x314)],_0x11ef59(0x1ee))?'\x20PARTIAL':_0x5ec805['evaluation']===_0x11ef59(0x15e)?'\x20BLOCKED':_0x19ee86['TtrYx']),console['log']('='['repeat'](0x3c)),console[_0x11ef59(0x280)](_0x11ef59(0x1a6)+_0x5ec805['summary']),console['log']('Evaluation:\x20'+_0x5ec805[_0x11ef59(0x314)]),console[_0x11ef59(0x280)]('Reason:\x20'+_0x5ec805[_0x11ef59(0x159)]),_0x5ec805['issues']?.[_0x11ef59(0x2a0)]&&(console[_0x11ef59(0x280)](_0x11ef59(0x274)),_0x5ec805[_0x11ef59(0x17e)][_0x11ef59(0x31e)]((_0x377fa8,_0x44efec)=>{const _0x19da11=_0x11ef59;console['log']('\x0a'+_0x19ee86['MbGrU'](_0x44efec,0x1)+'.\x20['+_0x377fa8[_0x19da11(0x2a5)]+']\x20'+_0x377fa8[_0x19da11(0x270)]);})),process[_0x11ef59(0x1e3)](_0x19ee86[_0x11ef59(0x1a3)](_0x5ec805[_0x11ef59(0x314)],_0x11ef59(0x197))?0x0:0x1);}export function buildParser(_0x282de3){const _0x130f7c=_0x2cb829,_0x232fb4={'kdyqG':'scenario','OugZR':_0x130f7c(0x19d),'RTZZm':function(_0x35ce68,_0x221819){return _0x35ce68+_0x221819;},'pFTmo':_0x130f7c(0x312),'Jdxpb':function(_0x347ae7,_0x1f35b3,_0x5bd890,_0x5abb63){return _0x347ae7(_0x1f35b3,_0x5bd890,_0x5abb63);},'yUonO':'ranger\x20create','qtNtt':_0x130f7c(0x2ab),'lMOHT':function(_0x544f6a,_0x5bcba2,_0x249cb6){return _0x544f6a(_0x5bcba2,_0x249cb6);},'ffkhn':_0x130f7c(0x201),'oVUMp':_0x130f7c(0x1cc),'wDQJb':'limit','faPSY':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','gAlOt':_0x130f7c(0x208),'lVuof':'list','CaTTH':'string','sHSwG':'Feature\x20review\x20ID','MZPoW':_0x130f7c(0x279),'RUBNu':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','DrOuP':'number','SsNYj':_0x130f7c(0x210),'dAETw':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','mhJlE':_0x130f7c(0x290),'mDeOZ':_0x130f7c(0x158),'tsuSA':_0x130f7c(0x205),'FAaAg':_0x130f7c(0x209),'CKGZw':function(_0x1cfc30,_0x27a0d3,_0x4a9496){return _0x1cfc30(_0x27a0d3,_0x4a9496);},'CrZdb':'restore','xrtdm':function(_0x5681ff,_0x506327,_0x37f126){return _0x5681ff(_0x506327,_0x37f126);},'Stfzt':_0x130f7c(0x1bf),'NLqJg':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','mlwsB':'setup:skills','iTOlj':'user','HDZwY':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Rxtmj':'Base\x20URL\x20of\x20the\x20running\x20app','DgWDm':_0x130f7c(0x1e8),'cSGGb':_0x130f7c(0x26f),'xwqbt':_0x130f7c(0x165),'cvTFw':function(_0x48e576,_0x368c30){return _0x48e576!==_0x368c30;},'TieoM':'setup:profiles','kycRn':_0x130f7c(0x271),'Dlqpl':_0x130f7c(0x214),'NNCHd':'Alias\x20for\x20--mcp-bootstrap','wivqc':'setup:login','KTwVX':'tokenOrSubcommand','FXpBm':_0x130f7c(0x262),'aefPv':'Run\x20full\x20interactive\x20setup','XoXoA':_0x130f7c(0x2d0),'Htokv':'login','OdVmO':'skills','eoXUn':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','aGpNP':_0x130f7c(0x18b),'SGcRm':_0x130f7c(0x18c),'oQDBT':_0x130f7c(0x1a9),'wajUF':_0x130f7c(0x224),'aMVwX':'mcp-bootstrap','RQmlW':_0x130f7c(0x27a),'juPyb':_0x130f7c(0x229),'OqFem':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','fsJtp':'start','gOyIP':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','QtRIV':_0x130f7c(0x2b0),'EAfVQ':_0x130f7c(0x2ed),'nxoVY':function(_0x582d63,_0x44fa5a,_0x2507a0){return _0x582d63(_0x44fa5a,_0x2507a0);},'vRgEq':function(_0x200e22,_0x1f88ea,_0x5e3d21){return _0x200e22(_0x1f88ea,_0x5e3d21);},'vEmtb':function(_0x5ce025,_0x1b89f9){return _0x5ce025(_0x1b89f9);},'Fwgnr':function(_0x431bfa,_0x28d56d,_0x19e06f){return _0x431bfa(_0x28d56d,_0x19e06f);},'XWQYC':'skillup','lNmTx':function(_0xd7c780,_0x1ae72a,_0x23805e){return _0xd7c780(_0x1ae72a,_0x23805e);},'kaqJb':'profile\x20ls','JnpAh':_0x130f7c(0x251),'lAWZb':'Cloud\x20profile\x20name','LsQFD':'profile\x20login','DlJCs':_0x130f7c(0x185),'faCWV':_0x130f7c(0x2a4),'BZEpu':_0x130f7c(0x2cb),'cpYCj':_0x130f7c(0x23a),'dmzzp':'save-creds','rREqD':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','SYzHa':'profile\x20migrate','trosN':_0x130f7c(0x24b),'tWISl':'force','gzvgC':_0x130f7c(0x191),'QufNY':_0x130f7c(0x1c9),'rQmma':_0x130f7c(0x1f1),'SBUFt':'safe-mode','TEqzm':_0x130f7c(0x20c),'mtbgg':function(_0x35c775,_0x25e831){return _0x35c775||_0x25e831;},'ApIud':function(_0x2e0a64,_0x380ee0,_0x545327){return _0x2e0a64(_0x380ee0,_0x545327);},'FkQpP':_0x130f7c(0x2ad),'sEoEO':_0x130f7c(0x160),'RzZvQ':'Config\x20key\x20to\x20remove','XJifa':function(_0x45ac07,_0x124e95,_0x125e9a){return _0x45ac07(_0x124e95,_0x125e9a);},'cRoVs':_0x130f7c(0x218),'cRYCm':'reset\x20<profile>','Pftfn':_0x130f7c(0x2f3),'LABwK':'Add\x20profile\x20configuration','FZNkL':_0x130f7c(0x25e),'ZrSpi':_0x130f7c(0x285),'wTvCD':'List\x20all\x20profiles','jjJex':'Manage\x20profile\x20configuration','pxFuM':_0x130f7c(0x171),'Dpwhk':function(_0x26909c,_0x5cc21a,_0x219fc7){return _0x26909c(_0x5cc21a,_0x219fc7);},'nvuza':'status','rTBCJ':_0x130f7c(0x2ca),'eNSQY':function(_0x202531){return _0x202531();},'tovXU':function(_0x3ed508,_0x38f86f,_0x120e92){return _0x3ed508(_0x38f86f,_0x120e92);},'eVAbs':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','UMYrG':_0x130f7c(0x30a),'jgLxw':_0x130f7c(0x2b5),'BUaJA':_0x130f7c(0x26e),'DcLZG':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','caxyh':'model','Hnyuq':_0x130f7c(0x2af),'SCzwf':'partial','Zhjbo':_0x130f7c(0x196),'AzjdL':_0x130f7c(0x170),'HlAla':_0x130f7c(0x1e5),'uCllK':_0x130f7c(0x1e7),'VQjaw':function(_0x13ecd3,_0x3feb4f){return _0x13ecd3(_0x3feb4f);},'LuNxS':'You\x20must\x20specify\x20an\x20auth\x20subcommand','jXPYD':_0x130f7c(0x1a2),'tUsLI':'skip-chromium','rIbkt':_0x130f7c(0x2d4),'bidZT':_0x130f7c(0x174),'NCDtf':_0x130f7c(0x1d9),'wlLjp':_0x130f7c(0x1aa),'YMsPB':_0x130f7c(0x1de),'iLFWf':_0x130f7c(0x1dd),'DLYem':'headed','EcVvq':'debug-outcome','AlIiy':'verified','OIFaO':_0x130f7c(0x1d0),'KqjSh':_0x130f7c(0x1ff),'vZOeg':_0x130f7c(0x25a),'OONRZ':'ranger\x20add\x20env','DQcUT':function(_0x1fa67e,_0x4497dd,_0xeb60fb){return _0x1fa67e(_0x4497dd,_0xeb60fb);},'WdwOx':_0x130f7c(0x281),'zvivE':function(_0xd5c729,_0x2d079c,_0x379550){return _0xd5c729(_0x2d079c,_0x379550);},'GVBAY':_0x130f7c(0x315),'BGzHG':_0x130f7c(0x167),'FESzi':_0x130f7c(0x2aa),'WvPQT':_0x130f7c(0x2ba),'ABorX':_0x130f7c(0x28b),'IQkyI':_0x130f7c(0x2d2),'HDcBd':_0x130f7c(0x1d6),'DUUwx':_0x130f7c(0x186),'rRyiy':'config\x20unset','BBHrH':_0x130f7c(0x1ec),'vMAtF':function(_0x1a9910,_0x588297,_0x145df0){return _0x1a9910(_0x588297,_0x145df0);},'gvQbX':_0x130f7c(0x294),'TADcY':function(_0x3d777b,_0x19a64a,_0x184cff){return _0x3d777b(_0x19a64a,_0x184cff);},'JBqlI':_0x130f7c(0x2a7),'tebLY':_0x130f7c(0x21e),'wIaAQ':'description','MJNFc':'array','kBOHA':_0x130f7c(0x2a8),'qZSqb':function(_0x1bda0c,_0xf63dd9,_0x3c72e3){return _0x1bda0c(_0xf63dd9,_0x3c72e3);},'vWyol':_0x130f7c(0x238),'YbjhF':_0x130f7c(0x236),'wilIv':function(_0x57e93a,_0x3e212d,_0x4d9e6a){return _0x57e93a(_0x3e212d,_0x4d9e6a);},'xBfly':_0x130f7c(0x1f9),'mDZMv':'feature\x20delete','nFGvB':'Feature\x20review\x20ID\x20to\x20restore','cgbcB':function(_0x5a2a95,_0x1d864e,_0x3d9398){return _0x5a2a95(_0x1d864e,_0x3d9398);},'hHZNe':'feature\x20create','PNHJD':_0x130f7c(0x2ac),'ppDQg':_0x130f7c(0x1b7),'hAnsc':'ranger\x20show','QEArd':'ranger\x20feature\x20get-feedback','hxoen':'feature\x20restore','GjSCP':'create\x20<name>','ySPLu':_0x130f7c(0x1f7),'spIgn':'get-feedback\x20[id]','kGVXX':'restore\x20<id>','oWoFN':function(_0x3883ad,_0xc24dc5,_0x68395e){return _0x3883ad(_0xc24dc5,_0x68395e);},'MNlYF':'hook:enable','UBfqd':'session-id','yMUtT':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','REVAz':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','hkZhO':function(_0x478e2b,_0x2c23a3,_0x487e82){return _0x478e2b(_0x2c23a3,_0x487e82);},'SoCZt':function(_0x29d61c,_0x6d88f){return _0x29d61c(_0x6d88f);},'cPHwT':_0x130f7c(0x21c),'TwIEg':_0x130f7c(0x1d8),'HkcRE':'ranger','EZMOw':function(_0x1bada3){return _0x1bada3();},'wwfrf':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','rGRkU':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','rCdqm':_0x130f7c(0x282),'wvOZS':'report\x20[id]','tRmTw':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','sUAoP':'get-review\x20[id]','CuRYG':'delete\x20[id]','oAFPc':'setup-ci\x20<token>','TCGNg':_0x130f7c(0x215),'KHtrT':_0x130f7c(0x1bb),'kAvZd':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','cqDcg':_0x130f7c(0x16c),'nfecg':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','RygiL':'auth','DlSAd':_0x130f7c(0x25d),'kYmRN':'verify-feature','Icqfs':_0x130f7c(0x1a8),'RVYcl':'use\x20<env-name>','FQcJw':'feature','jWtbh':_0x130f7c(0x1f3),'jUllP':_0x130f7c(0x1d1),'tPamP':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x356ad3(_0x282de3??process['argv'][_0x130f7c(0x2f1)](0x2))[_0x130f7c(0x1d5)](_0x232fb4['HkcRE'])[_0x130f7c(0x17a)](TOP_LEVEL_HELP)[_0x130f7c(0x1be)](_0x232fb4['EZMOw'](getCurrentVersion))[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x1b8)],_0x232fb4['wwfrf'],_0xdc8484=>{const _0x433a9e=_0x130f7c;return _0xdc8484['positional'](_0x433a9e(0x21e),{'type':'string','description':_0x433a9e(0x2a1),'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x433a9e(0x2d9)})[_0x433a9e(0x1b9)](_0x232fb4['kdyqG'],{'type':_0x433a9e(0x2da),'alias':'c','description':_0x232fb4[_0x433a9e(0x1fe)]})['option'](_0x433a9e(0x2f2),{'type':_0x433a9e(0x2da),'hidden':!![]});},async _0x107c39=>{const _0x15a82a=_0x130f7c;if(!_0x107c39['name']){console[_0x15a82a(0x22e)](_0x232fb4[_0x15a82a(0x1e2)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x232fb4[_0x15a82a(0x1b2)])),process['exit'](0x1);return;}_0x232fb4[_0x15a82a(0x2c5)](warnFlagRenamed,_0x232fb4['yUonO'],_0x232fb4[_0x15a82a(0x220)],'--scenario');const _0x4b3e7f=_0x107c39['scenario']||_0x107c39[_0x15a82a(0x2f2)];await _0x232fb4[_0x15a82a(0x1cd)](withTelemetry,'create',()=>featureCreate(_0x107c39['name'],{'description':_0x107c39[_0x15a82a(0x270)],'scenarios':_0x4b3e7f}));})['command'](_0x232fb4[_0x130f7c(0x15f)],'List\x20all\x20feature\x20reviews',_0x5350d8=>{const _0x2613a7=_0x130f7c;return _0x5350d8['option'](_0x2613a7(0x2ac),{'type':_0x232fb4[_0x2613a7(0x2b1)],'description':_0x232fb4['oVUMp']})[_0x2613a7(0x1b9)](_0x232fb4[_0x2613a7(0x2e4)],{'type':_0x2613a7(0x2a3),'alias':'l','description':_0x232fb4['faPSY'],'default':0xa})['option'](_0x232fb4[_0x2613a7(0x298)],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x2613a7(0x1b9)](_0x2613a7(0x2b7),{'type':_0x232fb4['ffkhn'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x40d1e6=>{const _0xb2a49c=_0x130f7c;await withTelemetry(_0x232fb4[_0xb2a49c(0x15f)],()=>featureList({'currentBranch':_0x40d1e6['current-branch'],'limit':_0x40d1e6['limit'],'offset':_0x40d1e6['offset'],'includeDeleted':_0x40d1e6[_0xb2a49c(0x2b7)]}));})[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x1b0)],_0x130f7c(0x195),_0xb148f=>{const _0x266318=_0x130f7c;return _0xb148f[_0x266318(0x316)]('id',{'type':_0x232fb4[_0x266318(0x16d)],'description':_0x232fb4[_0x266318(0x203)]});},async _0x462a72=>{await withTelemetry('show',()=>featureShow(_0x462a72['id']));})[_0x130f7c(0x23d)](_0x130f7c(0x199),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x3cf53d=>{const _0x227fce=_0x130f7c;return _0x3cf53d[_0x227fce(0x316)]('id',{'type':_0x232fb4['CaTTH'],'description':_0x227fce(0x2a6)});},async _0x18fc3d=>{await withTelemetry(_0x232fb4['MZPoW'],()=>featureResume(_0x18fc3d['id']));})['command']('add-scenario\x20<description>',_0x232fb4[_0x130f7c(0x237)],_0x2dd77e=>{const _0x51309e=_0x130f7c;return _0x2dd77e['positional']('description',{'type':_0x51309e(0x1b5),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x51309e(0x1b5),'description':_0x232fb4[_0x51309e(0x2e3)]});},async _0x19731e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x19731e['description'],_0x19731e['id']));})['command'](_0x232fb4['rCdqm'],_0x130f7c(0x2c4),_0x42e2bc=>{const _0x971585=_0x130f7c;return _0x42e2bc[_0x971585(0x316)](_0x971585(0x270),{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x971585(0x2d7),{'type':_0x232fb4[_0x971585(0x241)],'description':_0x971585(0x268),'demandOption':!![]})['option']('id',{'type':'string','description':_0x232fb4['RUBNu']});},async _0x2bd179=>{const _0xad9815=_0x130f7c;await _0x232fb4[_0xad9815(0x1cd)](withTelemetry,_0x232fb4[_0xad9815(0x2fd)],()=>featureEditScenario(_0x2bd179['description'],{'id':_0x2bd179['id'],'scenario':_0x2bd179[_0xad9815(0x2d7)]}));})[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x1f6)],_0x232fb4[_0x130f7c(0x188)],_0x5402e2=>{const _0x258833=_0x130f7c;return _0x5402e2[_0x258833(0x316)]('id',{'type':_0x258833(0x1b5),'description':_0x232fb4['sHSwG']})[_0x258833(0x1b9)]('exclude-scenario',{'type':_0x258833(0x2da),'description':_0x232fb4['dAETw']})['option']('json',{'type':_0x258833(0x201),'description':_0x232fb4['mhJlE'],'default':![]});},async _0x3fa195=>{const _0x3f738f=_0x130f7c,_0x58939e=_0x3fa195[_0x232fb4['mDeOZ']],_0x4b12c4=_0x58939e?_0x58939e['map'](_0x42bd4a=>Number(_0x42bd4a)):undefined;await _0x232fb4['lMOHT'](withTelemetry,_0x232fb4[_0x3f738f(0x1c8)],()=>featureReportPrDescription(_0x3fa195['id'],{'excludeScenarios':_0x4b12c4,'json':_0x3fa195['json']}));})['command'](_0x232fb4['sUAoP'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3be794=>{const _0x4327d5=_0x130f7c;return _0x3be794['positional']('id',{'type':'string','description':_0x4327d5(0x2c9)});},async _0x385dda=>{const _0x4161bb=_0x130f7c;await withTelemetry(_0x232fb4[_0x4161bb(0x20f)],()=>featureGetReview(_0x385dda['id']));})['command'](_0x232fb4[_0x130f7c(0x305)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x456355=>{const _0x2bd5e4=_0x130f7c;return _0x456355['positional']('id',{'type':_0x2bd5e4(0x1b5),'description':'Feature\x20review\x20ID'});},async _0x4692ba=>{const _0x1cd772=_0x130f7c;await withTelemetry(_0x1cd772(0x2ea),()=>featureDelete(_0x4692ba['id']));})[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x1f5)],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x20c231=>{const _0x4f4a9e=_0x130f7c;return _0x20c231['positional']('id',{'type':_0x232fb4[_0x4f4a9e(0x16d)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1f4446=>{await _0x232fb4['CKGZw'](withTelemetry,_0x232fb4['CrZdb'],()=>featureRestore(_0x1f4446['id']));})[_0x130f7c(0x23d)](_0x130f7c(0x15a),_0x130f7c(0x2c1),_0x347c04=>{const _0x54fb97=_0x130f7c,_0x54136d={'PcjIG':_0x232fb4['CaTTH'],'RHogs':_0x54fb97(0x16f),'rKTOW':_0x54fb97(0x2d4),'pSPiR':_0x232fb4[_0x54fb97(0x2b1)],'eGZrY':'Skip\x20authentication','ThFfX':_0x54fb97(0x153),'qFqSI':_0x232fb4['kycRn'],'kGKPV':_0x232fb4[_0x54fb97(0x26b)],'KNFuS':_0x54fb97(0x1e8),'RrQLu':_0x54fb97(0x1c0),'AZyxc':_0x232fb4['cSGGb'],'XPbJA':_0x232fb4[_0x54fb97(0x2a9)],'ZEeSs':'mcp-bootstrap','EvDZn':_0x232fb4[_0x54fb97(0x2bc)],'NuTmw':_0x54fb97(0x245),'VKJky':'mcp','gWBSs':function(_0x7cede5,_0xbb5ffe){return _0x7cede5(_0xbb5ffe);},'ztoda':_0x232fb4['wivqc'],'WGPeh':function(_0x2ca639,_0x5b8ab1,_0x18dea8){return _0x2ca639(_0x5b8ab1,_0x18dea8);},'VIIpq':'ranger','ffygR':function(_0x5abe87){return _0x5abe87();}};return _0x347c04[_0x54fb97(0x17a)](_0x54fb97(0x179))[_0x54fb97(0x316)](_0x232fb4[_0x54fb97(0x1af)],{'type':_0x54fb97(0x1b5),'description':_0x232fb4[_0x54fb97(0x1d2)]})['command'](_0x54fb97(0x2a4),_0x232fb4['aefPv'],_0x54a4a1=>{const _0x384c98=_0x54fb97;return _0x54a4a1[_0x384c98(0x1b9)]('token',{'type':_0x54136d['PcjIG'],'description':'Ranger\x20API\x20token'})['option'](_0x54136d['RHogs'],{'type':_0x384c98(0x201),'description':_0x54136d['rKTOW'],'default':![]})['option'](_0x384c98(0x229),{'type':_0x54136d['pSPiR'],'description':_0x54136d[_0x384c98(0x249)],'default':![]})[_0x384c98(0x1b9)](_0x384c98(0x26a),{'type':_0x384c98(0x201),'description':_0x54136d['ThFfX'],'default':![]})[_0x384c98(0x1b9)]('scope',{'type':_0x384c98(0x1b5),'choices':[_0x384c98(0x2e1)],'hidden':!![],'description':_0x384c98(0x2b4)})['option'](_0x54136d['qFqSI'],{'type':_0x384c98(0x1b5),'description':_0x54136d['kGKPV']})['option'](_0x384c98(0x227),{'type':'boolean','description':_0x54136d[_0x384c98(0x22f)],'default':![]})['option']('opencode',{'type':'boolean','description':_0x54136d[_0x384c98(0x226)],'default':![]})['option'](_0x54136d['AZyxc'],{'type':_0x384c98(0x201),'description':_0x54136d['XPbJA'],'default':![]})['option'](_0x54136d[_0x384c98(0x1ef)],{'type':_0x384c98(0x201),'description':_0x384c98(0x150),'default':![]})['option'](_0x384c98(0x2fe),{'type':'boolean','description':_0x54136d[_0x384c98(0x20a)],'default':![]});},async _0x62233f=>{const _0x545e3e=_0x54fb97;(_0x62233f[_0x545e3e(0x2f9)]||_0x62233f['mcp'])&&await withTelemetry(_0x54136d[_0x545e3e(0x1ef)],()=>mcpBootstrap()),await withTelemetry(_0x54136d[_0x545e3e(0x27b)],_0x2bee19=>start(_0x62233f['token'],{'skipChromium':_0x62233f[_0x545e3e(0x16f)],'skipAuth':_0x62233f[_0x545e3e(0x229)],'withDeps':_0x62233f['with-deps'],'scope':_0x62233f[_0x545e3e(0x1a9)],'url':_0x62233f['url'],'force':_0x62233f['force'],'opencode':_0x62233f['opencode'],'allowInsecureLocalhost':_0x62233f['allow-insecure-localhost']},_0x2bee19));})['command'](_0x232fb4['XoXoA'],'Install\x20Chromium\x20browser\x20binary',_0x46d88e=>{const _0x410798=_0x54fb97;return _0x46d88e['option']('with-deps',{'type':_0x54136d[_0x410798(0x2fc)],'description':_0x410798(0x157),'default':![]});},async _0x558828=>{const _0x57f48c=_0x54fb97;await _0x232fb4['xrtdm'](withTelemetry,_0x57f48c(0x303),()=>ensureChromium(_0x558828[_0x57f48c(0x26a)]));})['command'](_0x232fb4[_0x54fb97(0x297)],'Authenticate\x20with\x20Ranger',_0x448255=>{const _0x3d16b8=_0x54fb97;return _0x448255['option'](_0x3d16b8(0x1a2),{'type':'string','description':_0x3d16b8(0x267)})['option'](_0x54136d[_0x3d16b8(0x30c)],{'type':_0x54136d['pSPiR'],'description':_0x3d16b8(0x2ee),'default':![]});},async _0x45323b=>{const _0x4f724f={'iYDUl':function(_0x379ce4,_0x5cf0b0){return _0x54136d['gWBSs'](_0x379ce4,_0x5cf0b0);}};await withTelemetry(_0x54136d['ztoda'],async()=>{const _0x3ba6e1=_0x2bbe;if(_0x45323b['mcp']){await mcpBootstrap();const _0x1fec88=await refreshCliToken();if(!_0x1fec88)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x382b8f=await getCurrentUser(_0x1fec88);if(!_0x382b8f[_0x3ba6e1(0x2f7)])throw new Error(_0x3ba6e1(0x1dc)+_0x382b8f['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x382b8f[_0x3ba6e1(0x2e1)]['organizationName']);return;}await _0x4f724f['iYDUl'](authenticate,_0x45323b[_0x3ba6e1(0x1a2)]);});})[_0x54fb97(0x23d)](_0x232fb4[_0x54fb97(0x183)],_0x232fb4[_0x54fb97(0x176)],_0x520f5b=>{const _0x492a15=_0x54fb97;return _0x520f5b[_0x492a15(0x1b9)](_0x492a15(0x1a9),{'type':_0x232fb4['CaTTH'],'choices':['user',_0x492a15(0x30e)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x492a15(0x1b9)](_0x232fb4[_0x492a15(0x26d)],{'type':_0x232fb4['ffkhn'],'description':_0x232fb4['NLqJg'],'default':![]});},async _0xc8b9c2=>{await _0x232fb4['xrtdm'](withTelemetry,_0x232fb4['mlwsB'],async()=>{const _0x15752a=_0x2bbe,_0x3ead7a=_0xc8b9c2['scope'];if(_0xc8b9c2['opencode']){const _0x35e7f6=await ensureOpencodePluginConfig(_0x3ead7a);_0x35e7f6&&await _0x54136d[_0x15752a(0x2e7)](installSkill,_0x54136d['VIIpq'],{'level':_0x35e7f6[_0x15752a(0x1a9)],'cliVersion':_0x54136d['ffygR'](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0x3ead7a),await ensureClaudeSkills(_0x3ead7a);});})[_0x54fb97(0x23d)](_0x232fb4[_0x54fb97(0x1fa)],_0x232fb4[_0x54fb97(0x233)],_0x34403a=>{const _0x595fec=_0x54fb97;return _0x34403a[_0x595fec(0x1b9)](_0x595fec(0x1a9),{'type':'string','choices':[_0x232fb4['iTOlj']],'description':_0x232fb4['HDZwY']})[_0x595fec(0x1b9)]('url',{'type':_0x595fec(0x1b5),'description':_0x232fb4['Rxtmj']})[_0x595fec(0x1b9)]('skip-auth',{'type':_0x595fec(0x201),'description':'Skip\x20browser\x20authentication','default':![]})[_0x595fec(0x1b9)](_0x595fec(0x227),{'type':_0x232fb4['ffkhn'],'description':_0x232fb4[_0x595fec(0x1d4)],'default':![]})['option'](_0x232fb4['cSGGb'],{'type':_0x595fec(0x201),'description':_0x232fb4[_0x595fec(0x2a9)],'default':![]});},async _0x4b049b=>{const _0x340e7a=_0x54fb97,_0x1744ce=_0x4b049b[_0x340e7a(0x1a9)];_0x232fb4['cvTFw'](_0x1744ce,undefined)&&_0x232fb4[_0x340e7a(0x291)](_0x1744ce,_0x340e7a(0x2e1))&&(console[_0x340e7a(0x22e)](_0x340e7a(0x30b)+_0x1744ce+'\x20is\x20no\x20longer\x20supported.\x20'+_0x340e7a(0x234)+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process[_0x340e7a(0x1e3)](0x1)),await withTelemetry(_0x232fb4[_0x340e7a(0x284)],_0xa51577=>ensureLocalEnv({'url':_0x4b049b[_0x340e7a(0x271)],'force':_0x4b049b['force'],'allowInsecureLocalhost':_0x4b049b['allow-insecure-localhost'],'scope':'user'},_0xa51577));})['option']('skip-chromium',{'type':_0x232fb4[_0x54fb97(0x2b1)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x232fb4[_0x54fb97(0x275)],{'type':_0x54fb97(0x1b5),'choices':['user'],'hidden':!![],'description':_0x232fb4['HDZwY']})['option'](_0x54fb97(0x271),{'type':_0x232fb4[_0x54fb97(0x16d)],'description':_0x232fb4['wajUF']})[_0x54fb97(0x1b9)]('force',{'type':_0x54fb97(0x201),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x232fb4[_0x54fb97(0x26d)],{'type':_0x232fb4[_0x54fb97(0x2b1)],'description':_0x54fb97(0x1c0),'default':![]})['option'](_0x232fb4[_0x54fb97(0x1c3)],{'type':_0x232fb4['ffkhn'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x232fb4['aMVwX'],{'type':_0x54fb97(0x201),'description':_0x232fb4['RQmlW'],'default':![]})['option'](_0x232fb4['juPyb'],{'type':_0x232fb4['ffkhn'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x54fb97(0x1b9)]('with-deps',{'type':'boolean','description':_0x232fb4['OqFem'],'default':![]})[_0x54fb97(0x1b9)]('token',{'type':_0x232fb4['CaTTH'],'hidden':!![],'description':'API\x20token'});},async _0xf21954=>{const _0x5957c7=_0x130f7c,_0x45da33=_0xf21954['tokenOrSubcommand'],_0x3aa39c=_0xf21954['token']??_0x45da33;_0xf21954['mcp-bootstrap']&&await withTelemetry(_0x232fb4[_0x5957c7(0x151)],()=>mcpBootstrap()),await withTelemetry(_0x232fb4[_0x5957c7(0x216)],_0x198475=>start(_0x3aa39c,{'skipChromium':_0xf21954[_0x5957c7(0x16f)],'skipAuth':_0xf21954['skip-auth'],'withDeps':_0xf21954['with-deps'],'scope':_0xf21954['scope'],'url':_0xf21954[_0x5957c7(0x271)],'force':_0xf21954['force'],'opencode':_0xf21954['opencode'],'allowInsecureLocalhost':_0xf21954[_0x5957c7(0x26f)]},_0x198475));})[_0x130f7c(0x23d)](_0x232fb4['oAFPc'],_0x130f7c(0x155),_0x23a4f4=>{const _0x43072b=_0x130f7c;return _0x23a4f4['positional'](_0x43072b(0x1a2),{'type':'string','description':_0x43072b(0x177),'demandOption':!![]})[_0x43072b(0x1b9)](_0x43072b(0x160),{'type':_0x232fb4[_0x43072b(0x16d)],'description':_0x232fb4[_0x43072b(0x258)]})[_0x43072b(0x1b9)](_0x232fb4[_0x43072b(0x250)],{'type':_0x232fb4[_0x43072b(0x16d)],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})['option'](_0x43072b(0x16f),{'type':_0x232fb4[_0x43072b(0x2b1)],'description':_0x232fb4['EAfVQ'],'default':![]});},async _0x3e289a=>{const _0x332634=_0x130f7c;await _0x232fb4[_0x332634(0x1da)](withTelemetry,_0x332634(0x23b),_0x1dd1cc=>setupCi(_0x3e289a['token'],{'profile':_0x3e289a[_0x332634(0x160)],'baseUrl':_0x3e289a['base-url'],'skipChromium':_0x3e289a[_0x332634(0x16f)]},_0x1dd1cc));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await _0x232fb4['vRgEq'](withTelemetry,_0x232fb4['Htokv'],()=>login());})['command'](_0x232fb4[_0x130f7c(0x156)],_0x232fb4['TCGNg'],_0x2221ac=>{const _0x25938c=_0x130f7c;return _0x2221ac['option'](_0x232fb4[_0x25938c(0x26d)],{'type':_0x232fb4[_0x25938c(0x2b1)],'description':_0x25938c(0x23f),'default':![]})[_0x25938c(0x1b9)](_0x232fb4['oQDBT'],{'type':_0x232fb4['CaTTH'],'choices':['user',_0x25938c(0x30e)],'description':_0x25938c(0x231)});},async _0x53c452=>{const _0x1cba43=_0x130f7c,_0x9c7e59=_0x232fb4['vEmtb'](Boolean,_0x53c452[_0x1cba43(0x1bf)]);await _0x232fb4['Fwgnr'](withTelemetry,_0x232fb4['XWQYC'],()=>skillup({'autoInstall':_0x53c452['scope'],'platform':_0x9c7e59?'opencode':'claude'}));})[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x1a0)],_0x232fb4['kAvZd'],()=>{},async()=>{const _0x4776a2=_0x130f7c;await withTelemetry(_0x4776a2(0x1bb),()=>clean());})[_0x130f7c(0x23d)]([_0x232fb4[_0x130f7c(0x276)],_0x232fb4[_0x130f7c(0x1fa)]],'Manage\x20profiles',_0x4ad114=>{const _0x3c8f05=_0x130f7c,_0x54a10d={'GdmCd':_0x3c8f05(0x2d6),'aIPsm':_0x232fb4[_0x3c8f05(0x2b1)],'yEWaB':_0x232fb4[_0x3c8f05(0x295)],'wfKma':_0x3c8f05(0x25a),'YIRSt':_0x232fb4[_0x3c8f05(0x14e)],'IhInk':_0x232fb4[_0x3c8f05(0x225)],'PSLKc':_0x232fb4['CaTTH'],'HHyoP':_0x232fb4[_0x3c8f05(0x22d)],'HMbRM':'allow-insecure-localhost','vcenW':_0x232fb4[_0x3c8f05(0x2dc)],'cbkKz':_0x232fb4[_0x3c8f05(0x1a7)],'ZoSxj':_0x3c8f05(0x1c6),'fpBbm':_0x3c8f05(0x1a9),'IjQdl':_0x232fb4['iTOlj'],'zPXrX':'project','ARiyF':_0x3c8f05(0x289),'sjRpi':'yes','crCgU':_0x232fb4['TEqzm'],'xCssp':'profile\x20update','jNsLC':function(_0x2f9b01,_0x5ea12b){return _0x232fb4['mtbgg'](_0x2f9b01,_0x5ea12b);},'ydkoB':function(_0x303b1c,_0x554eee,_0x2ad96f){const _0x4fe45b=_0x3c8f05;return _0x232fb4[_0x4fe45b(0x244)](_0x303b1c,_0x554eee,_0x2ad96f);},'CDCWk':_0x232fb4[_0x3c8f05(0x28e)],'DltGP':_0x3c8f05(0x264),'FIAkh':function(_0x343ac7,_0x1f6c33){return _0x343ac7===_0x1f6c33;},'niWYS':_0x232fb4['sEoEO'],'SiaPr':'key','LwIsR':_0x232fb4[_0x3c8f05(0x31a)],'lvvVj':function(_0x3962ff,_0x4a965f,_0x489859){return _0x232fb4['xrtdm'](_0x3962ff,_0x4a965f,_0x489859);},'CUfBq':'Config\x20value','KSSfL':function(_0x28c0d4,_0x25b8f3,_0x5b8add){return _0x232fb4['nxoVY'](_0x28c0d4,_0x25b8f3,_0x5b8add);},'QDKHj':function(_0x516f7c,_0x267599,_0x5eb8f4){const _0x316074=_0x3c8f05;return _0x232fb4[_0x316074(0x19c)](_0x516f7c,_0x267599,_0x5eb8f4);},'nnHWu':'set\x20<profile>\x20<key>\x20<value>','LKLBy':_0x232fb4[_0x3c8f05(0x309)],'ZOIwp':_0x3c8f05(0x27d),'UywYn':'Remove\x20a\x20config\x20value','KayMe':_0x232fb4['cRYCm'],'mWbFz':_0x232fb4[_0x3c8f05(0x17d)],'svcmF':_0x3c8f05(0x255)};return _0x4ad114[_0x3c8f05(0x17a)](PROFILE_HELP)['command']('add\x20<profile-name>',_0x232fb4['LABwK'],_0x2c8d0f=>{const _0x31f221=_0x3c8f05;return _0x2c8d0f[_0x31f221(0x316)]('profile-name',{'type':'string','description':_0x54a10d['GdmCd'],'demandOption':!![]})['option']('ci',{'type':_0x54a10d[_0x31f221(0x293)],'description':_0x54a10d['yEWaB'],'default':![]})[_0x31f221(0x1b9)]('skip-auth',{'type':_0x54a10d['aIPsm'],'description':_0x54a10d[_0x31f221(0x29c)],'default':![]})[_0x31f221(0x1b9)]('url',{'type':_0x31f221(0x1b5),'description':_0x31f221(0x1ad)})['option'](_0x54a10d[_0x31f221(0x1df)],{'type':_0x54a10d[_0x31f221(0x293)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x31f221(0x1b9)](_0x54a10d['IhInk'],{'type':_0x54a10d[_0x31f221(0x265)],'description':_0x54a10d[_0x31f221(0x1b1)]})[_0x31f221(0x1b9)](_0x54a10d[_0x31f221(0x14f)],{'type':_0x54a10d[_0x31f221(0x293)],'description':_0x54a10d['vcenW'],'default':![]})['option'](_0x54a10d['cbkKz'],{'type':'boolean','description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})['option'](_0x54a10d['ZoSxj'],{'type':_0x54a10d[_0x31f221(0x265)],'array':!![],'description':_0x31f221(0x168)})[_0x31f221(0x1b9)](_0x54a10d[_0x31f221(0x1a1)],{'type':'string','choices':[_0x54a10d['IjQdl'],_0x54a10d[_0x31f221(0x213)]],'description':_0x54a10d[_0x31f221(0x1ab)]})['option'](_0x54a10d[_0x31f221(0x302)],{'type':_0x31f221(0x201),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x428c68=>{const _0x3995b6=_0x3c8f05;await withTelemetry(_0x3995b6(0x24c),_0x2ceb41=>addEnv(_0x428c68['profile-name'],{'ci':_0x428c68['ci'],'skipAuth':_0x428c68[_0x3995b6(0x229)],'url':_0x428c68[_0x3995b6(0x271)],'force':_0x428c68[_0x3995b6(0x227)],'cdpEndpoint':_0x428c68[_0x3995b6(0x191)],'allowInsecureLocalhost':_0x428c68['allow-insecure-localhost'],'safeMode':_0x428c68['safe-mode'],'setupHeader':_0x428c68['setup-header'],'scope':_0x428c68['scope'],'yes':_0x428c68[_0x3995b6(0x1db)]},_0x2ceb41),{'isElectron':Boolean(_0x428c68['cdp-endpoint'])});})[_0x3c8f05(0x23d)]('use\x20<profile-name>',_0x232fb4['FZNkL'],_0x2e9c35=>{const _0x2fa1d7=_0x3c8f05;return _0x2e9c35[_0x2fa1d7(0x316)]('profile-name',{'type':_0x2fa1d7(0x1b5),'description':_0x2fa1d7(0x1b3),'demandOption':!![]});},async _0x2c10db=>{const _0x4eac26=_0x3c8f05;await withTelemetry('profile\x20use',()=>useEnv(_0x2c10db[_0x4eac26(0x251)]));})[_0x3c8f05(0x23d)](_0x3c8f05(0x198),_0x232fb4[_0x3c8f05(0x18d)],_0x1b7c46=>{const _0x571a89=_0x3c8f05;return _0x1b7c46['positional']('profile',{'type':_0x571a89(0x1b5),'description':_0x54a10d[_0x571a89(0x25b)],'demandOption':!![]});},async _0x339048=>{const _0x5f39d3=_0x3c8f05;await withTelemetry(_0x5f39d3(0x29d),()=>authEncrypt(_0x339048[_0x5f39d3(0x160)]));})[_0x3c8f05(0x23d)]('ls',_0x232fb4[_0x3c8f05(0x217)],()=>{},async()=>{const _0x1a96ea=_0x3c8f05;await _0x232fb4[_0x1a96ea(0x306)](withTelemetry,_0x232fb4[_0x1a96ea(0x247)],()=>envList());})['command']('update\x20<profile-name>',_0x3c8f05(0x242),_0x152299=>{const _0x133000=_0x3c8f05;return _0x152299['positional'](_0x232fb4['JnpAh'],{'type':_0x232fb4[_0x133000(0x16d)],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x133000(0x1b9)]('allow-insecure-localhost',{'type':_0x232fb4['ffkhn'],'description':_0x133000(0x1f1)});},async _0x5b2519=>{const _0x1a9ebb=_0x3c8f05;await withTelemetry(_0x54a10d[_0x1a9ebb(0x2b9)],_0x264210=>updateEnv(_0x5b2519['profile-name'],_0x264210,{'allowInsecureLocalhost':_0x5b2519[_0x1a9ebb(0x26f)]}));})['command'](_0x3c8f05(0x223),![],_0x44cace=>{return _0x44cace['positional']('name',{'type':'string','description':_0x232fb4['lAWZb'],'demandOption':!![]});},async _0x478aa=>{const _0x3c2160=_0x3c8f05;await _0x232fb4['lMOHT'](withTelemetry,_0x232fb4[_0x3c2160(0x2e5)],async()=>{const _0x3c56ad=_0x3c2160,_0x4cbb1c=process['env']['RANGER_TEST_USERNAME'],_0xac9083=process[_0x3c56ad(0x2ba)][_0x3c56ad(0x248)];_0x54a10d[_0x3c56ad(0x1f0)](!_0x4cbb1c,!_0xac9083)&&(console['error']('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x5432d1=_0x478aa['name'],_0x22d869=await _0x54a10d[_0x3c56ad(0x1a5)](serverSideLogin,_0x5432d1,{'force':!![]});_0x22d869['status']===_0x54a10d[_0x3c56ad(0x232)]&&(console['error'](_0x54a10d['DltGP']),process[_0x3c56ad(0x1e3)](0x1)),_0x54a10d['FIAkh'](_0x22d869['status'],'failed')&&(console[_0x3c56ad(0x22e)]('Login\x20failed:\x20'+(_0x22d869['error']??_0x3c56ad(0x2c7))),_0x22d869['test_output']&&console[_0x3c56ad(0x22e)](_0x22d869[_0x3c56ad(0x307)]),process[_0x3c56ad(0x1e3)](0x1)),console[_0x3c56ad(0x280)](_0x3c56ad(0x2eb)+_0x5432d1+_0x3c56ad(0x272));});})[_0x3c8f05(0x23d)](_0x3c8f05(0x1f8),_0x3c8f05(0x31b),_0x6b2689=>{const _0x10f009=_0x3c8f05;return _0x6b2689[_0x10f009(0x316)]('profile-name',{'type':_0x232fb4[_0x10f009(0x16d)],'description':_0x232fb4[_0x10f009(0x2b8)]})['option'](_0x232fb4[_0x10f009(0x239)],{'type':_0x232fb4[_0x10f009(0x2b1)],'description':_0x10f009(0x17b),'default':![]})['option'](_0x10f009(0x1f2),{'type':'boolean','description':_0x232fb4['BZEpu'],'default':![]})['option']('yes',{'type':_0x232fb4['ffkhn'],'alias':'y','description':_0x232fb4['cpYCj'],'default':![]})['option'](_0x232fb4['dmzzp'],{'type':_0x232fb4[_0x10f009(0x2b1)],'description':_0x232fb4['rREqD'],'default':![]});},async _0x508964=>{const _0x52bb71=_0x3c8f05;await _0x232fb4[_0x52bb71(0x306)](withTelemetry,_0x232fb4['SYzHa'],_0x2e5e1e=>migrateProfile({'profileName':_0x508964[_0x52bb71(0x251)],'all':_0x508964[_0x52bb71(0x2a4)],'dryRun':_0x508964['dry-run'],'yes':_0x508964[_0x52bb71(0x1db)],'saveCreds':_0x508964[_0x52bb71(0x25f)]},_0x2e5e1e));})['command'](_0x3c8f05(0x221),_0x232fb4['jjJex'],_0x577a05=>{const _0x81cad8=_0x3c8f05,_0x4306ad={'hiTEM':_0x54a10d[_0x81cad8(0x265)],'uDFZj':_0x54a10d['crCgU'],'vjMWB':_0x54a10d['SiaPr'],'zBGRu':_0x54a10d[_0x81cad8(0x211)],'HxZND':_0x54a10d[_0x81cad8(0x22b)],'FrpLo':function(_0x12717b,_0x36c706,_0x155e43){return _0x54a10d['KSSfL'](_0x12717b,_0x36c706,_0x155e43);},'eWmcd':function(_0x59bb88,_0x4aa036,_0x3153b7){return _0x54a10d['QDKHj'](_0x59bb88,_0x4aa036,_0x3153b7);},'VaMms':'profile\x20config\x20list'};return _0x577a05['usage'](PROFILE_CONFIG_HELP)[_0x81cad8(0x23d)](_0x54a10d[_0x81cad8(0x19f)],_0x54a10d[_0x81cad8(0x2cc)],_0x614a53=>{const _0x1fb097=_0x81cad8;return _0x614a53['positional'](_0x1fb097(0x160),{'type':_0x4306ad[_0x1fb097(0x2ff)],'description':_0x4306ad['uDFZj'],'demandOption':!![]})[_0x1fb097(0x316)](_0x4306ad['vjMWB'],{'type':_0x4306ad[_0x1fb097(0x2ff)],'description':_0x1fb097(0x27f),'demandOption':!![]})[_0x1fb097(0x316)](_0x1fb097(0x206),{'type':_0x4306ad[_0x1fb097(0x2ff)],'description':_0x4306ad['zBGRu'],'demandOption':!![]});},async _0x5002db=>{const _0x4def16=_0x81cad8;await withTelemetry(_0x4def16(0x190),()=>configSet(_0x5002db[_0x4def16(0x160)],_0x5002db['key'],_0x5002db[_0x4def16(0x206)]));})['command'](_0x81cad8(0x2e0),_0x81cad8(0x2f8),_0x5a470b=>{const _0x27b1ab=_0x81cad8;return _0x5a470b['positional'](_0x4306ad[_0x27b1ab(0x1b4)],{'type':_0x4306ad['hiTEM'],'description':_0x4306ad['uDFZj'],'demandOption':!![]})[_0x27b1ab(0x316)](_0x27b1ab(0x2d2),{'type':_0x4306ad['hiTEM'],'description':'Config\x20key','demandOption':!![]});},async _0x17ebfe=>{const _0x57a49a=_0x81cad8;await _0x4306ad[_0x57a49a(0x29b)](withTelemetry,_0x57a49a(0x28d),()=>configGet(_0x17ebfe[_0x57a49a(0x160)],_0x17ebfe[_0x57a49a(0x2d2)]));})['command'](_0x81cad8(0x318),'List\x20all\x20config\x20for\x20a\x20profile',_0x200ff4=>{const _0x85c79=_0x81cad8;return _0x200ff4[_0x85c79(0x316)]('profile',{'type':_0x4306ad['hiTEM'],'description':_0x4306ad[_0x85c79(0x243)],'demandOption':!![]});},async _0x518703=>{const _0x557d00=_0x81cad8;await _0x4306ad[_0x557d00(0x252)](withTelemetry,_0x4306ad[_0x557d00(0x2ec)],()=>configList(_0x518703[_0x557d00(0x160)]));})['command'](_0x54a10d[_0x81cad8(0x189)],_0x54a10d[_0x81cad8(0x16a)],_0x19c7e2=>{const _0x47eef6=_0x81cad8;return _0x19c7e2[_0x47eef6(0x316)](_0x54a10d[_0x47eef6(0x22b)],{'type':_0x54a10d[_0x47eef6(0x265)],'description':_0x54a10d[_0x47eef6(0x25b)],'demandOption':!![]})[_0x47eef6(0x316)](_0x54a10d[_0x47eef6(0x1e1)],{'type':_0x47eef6(0x1b5),'description':_0x54a10d['LwIsR'],'demandOption':!![]});},async _0x7ae702=>{const _0x40e29e=_0x81cad8;await _0x54a10d[_0x40e29e(0x2c0)](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x7ae702['profile'],_0x7ae702[_0x40e29e(0x2d2)]));})[_0x81cad8(0x23d)](_0x54a10d['KayMe'],_0x54a10d[_0x81cad8(0x266)],_0x5a86c6=>{const _0x18fa3c=_0x81cad8;return _0x5a86c6['positional'](_0x54a10d['niWYS'],{'type':_0x54a10d[_0x18fa3c(0x265)],'description':_0x54a10d[_0x18fa3c(0x25b)],'demandOption':!![]});},async _0x50f6cf=>{const _0x2a1f86=_0x81cad8;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x50f6cf[_0x2a1f86(0x160)]));})[_0x81cad8(0x1ac)](0x1,_0x54a10d[_0x81cad8(0x310)]);})[_0x3c8f05(0x1ac)](0x1,_0x232fb4[_0x3c8f05(0x16b)]);})['command'](_0x130f7c(0x163),_0x232fb4['cqDcg'],()=>{},async()=>{const _0x5b4c82=_0x130f7c;await _0x232fb4[_0x5b4c82(0x30d)](withTelemetry,_0x232fb4[_0x5b4c82(0x2c8)],()=>status());})['command'](_0x232fb4[_0x130f7c(0x2e9)],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x3c1b1b=_0x130f7c;await withTelemetry(_0x232fb4[_0x3c1b1b(0x2e9)],()=>update());})[_0x130f7c(0x23d)](_0x130f7c(0x166),_0x130f7c(0x2f4),()=>{},async()=>{const _0x3f0f98=_0x130f7c;await _0x232fb4['tovXU'](withTelemetry,_0x3f0f98(0x166),async()=>{const _0x2beeca=_0x3f0f98,_0x89d505=await _0x232fb4[_0x2beeca(0x1ba)](getToken);if(!_0x89d505)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x89d505);});})['command']('go',_0x232fb4[_0x130f7c(0x1c4)],_0x1ef931=>{const _0x5a3ea5=_0x130f7c;return _0x1ef931['option'](_0x5a3ea5(0x2dd),{'type':_0x5a3ea5(0x1b5),'description':'Optional\x20feature\x20ID'})[_0x5a3ea5(0x1b9)](_0x5a3ea5(0x160),{'type':'string','description':_0x232fb4[_0x5a3ea5(0x21d)]})['option'](_0x5a3ea5(0x296),{'type':'string','description':_0x232fb4[_0x5a3ea5(0x2c2)]})['option'](_0x232fb4['kdyqG'],{'type':_0x5a3ea5(0x2a3),'description':_0x5a3ea5(0x259)})[_0x5a3ea5(0x1b9)](_0x232fb4['jgLxw'],{'type':_0x232fb4[_0x5a3ea5(0x16d)],'description':_0x232fb4[_0x5a3ea5(0x31d)]})[_0x5a3ea5(0x1b9)](_0x5a3ea5(0x2b0),{'type':_0x5a3ea5(0x1b5),'description':_0x232fb4['DcLZG']})['option'](_0x232fb4['caxyh'],{'type':_0x232fb4['CaTTH'],'description':_0x5a3ea5(0x2e6)})['option']('headed',{'type':_0x5a3ea5(0x201),'description':_0x232fb4['Hnyuq'],'default':![]})[_0x5a3ea5(0x1b9)](_0x5a3ea5(0x273),{'type':_0x232fb4[_0x5a3ea5(0x16d)],'hidden':!![],'choices':['verified',_0x232fb4['SCzwf'],_0x5a3ea5(0x15e),_0x232fb4['Zhjbo'],_0x5a3ea5(0x28a)]})[_0x5a3ea5(0x1b9)](_0x232fb4['AzjdL'],{'type':_0x232fb4['ffkhn'],'hidden':!![]})['option']('env',{'type':_0x232fb4['CaTTH'],'hidden':!![]})[_0x5a3ea5(0x1b9)](_0x232fb4[_0x5a3ea5(0x169)],{'type':_0x232fb4[_0x5a3ea5(0x16d)],'hidden':!![]})['option'](_0x232fb4[_0x5a3ea5(0x29e)],{'type':'number','hidden':!![]});},async _0x2100b7=>{await _0x232fb4['VQjaw'](runGoCommand,_0x2100b7);})['command'](_0x232fb4['RygiL'],![],_0x5aeb94=>{const _0x2a362e=_0x130f7c,_0x8b78ce={'RMwhO':_0x2a362e(0x202)};return _0x5aeb94[_0x2a362e(0x23d)]('encrypt\x20<profile>',![],_0x11121b=>{const _0xa27f1c=_0x2a362e;return _0x11121b[_0xa27f1c(0x316)](_0x232fb4['sEoEO'],{'type':'string','description':_0xa27f1c(0x20c),'demandOption':!![]});},async _0x4ce051=>{const _0x1d4175=_0x2a362e;warnRenamed(_0x1d4175(0x253),_0x8b78ce['RMwhO']),await authEncrypt(_0x4ce051[_0x1d4175(0x160)]);})[_0x2a362e(0x1ac)](0x1,_0x232fb4['LuNxS']);},()=>{})['command'](_0x232fb4[_0x130f7c(0x22a)],![],_0xaf2934=>{const _0x50e779=_0x130f7c;return _0xaf2934['positional'](_0x232fb4[_0x50e779(0x29a)],{'type':_0x232fb4['CaTTH'],'description':_0x50e779(0x164)})['option'](_0x232fb4[_0x50e779(0x283)],{'type':_0x232fb4['ffkhn'],'description':_0x232fb4['rIbkt'],'default':![]})['option'](_0x232fb4[_0x50e779(0x275)],{'type':_0x50e779(0x1b5),'choices':[_0x50e779(0x2e1)],'hidden':!![],'description':_0x232fb4[_0x50e779(0x1d3)]})[_0x50e779(0x1b9)](_0x232fb4['kycRn'],{'type':_0x232fb4['CaTTH'],'description':_0x232fb4[_0x50e779(0x181)]})[_0x50e779(0x1b9)](_0x232fb4[_0x50e779(0x14e)],{'type':_0x50e779(0x201),'description':_0x50e779(0x1e8),'default':![]})[_0x50e779(0x1b9)](_0x50e779(0x229),{'type':_0x232fb4[_0x50e779(0x2b1)],'description':_0x232fb4['bidZT'],'default':![]})[_0x50e779(0x1b9)](_0x50e779(0x26a),{'type':'boolean','description':_0x50e779(0x153),'default':![]});},async _0x2105a0=>{const _0x581ac5=_0x130f7c;warnRenamed(_0x232fb4['NCDtf'],_0x232fb4[_0x581ac5(0x24d)]),await withTelemetry('start',_0x2dd4df=>start(_0x2105a0['token'],{'skipChromium':_0x2105a0[_0x581ac5(0x16f)],'skipAuth':_0x2105a0[_0x581ac5(0x229)],'withDeps':_0x2105a0[_0x581ac5(0x26a)],'scope':_0x2105a0[_0x581ac5(0x1a9)],'url':_0x2105a0['url'],'force':_0x2105a0[_0x581ac5(0x227)]},_0x2dd4df));})['command'](_0x232fb4['kYmRN'],![],_0x30a9f7=>{const _0x472041=_0x130f7c;return _0x30a9f7['option']('env',{'type':'string','description':_0x472041(0x1c1)})['option'](_0x472041(0x1e5),{'type':_0x232fb4['CaTTH'],'description':_0x232fb4['YMsPB']})[_0x472041(0x1b9)](_0x472041(0x1e7),{'type':_0x232fb4[_0x472041(0x241)],'description':_0x472041(0x259)})['option']('profile',{'type':_0x472041(0x1b5),'hidden':!![]})[_0x472041(0x1b9)](_0x472041(0x296),{'type':_0x232fb4['CaTTH'],'hidden':!![]})['option']('scenario',{'type':_0x232fb4[_0x472041(0x241)],'hidden':!![]})['option'](_0x232fb4['jgLxw'],{'type':_0x472041(0x1b5),'description':_0x232fb4['BUaJA']})['option'](_0x232fb4[_0x472041(0x250)],{'type':_0x232fb4['CaTTH'],'description':_0x232fb4[_0x472041(0x319)]})[_0x472041(0x1b9)]('model',{'type':_0x232fb4[_0x472041(0x16d)],'hidden':!![]})['option'](_0x232fb4['DLYem'],{'type':_0x232fb4[_0x472041(0x2b1)],'hidden':!![],'default':![]})['option'](_0x232fb4[_0x472041(0x257)],{'type':'string','hidden':!![],'choices':[_0x232fb4['AlIiy'],_0x232fb4['SCzwf'],_0x472041(0x15e),'failed',_0x472041(0x28a)]});},async _0x55e413=>{const _0x1d318b=_0x130f7c;await _0x232fb4[_0x1d318b(0x1eb)](runGoCommand,_0x55e413,!![]);})['command'](_0x232fb4['Icqfs'],![],_0x2a2216=>{const _0x915736=_0x130f7c;return _0x2a2216['positional'](_0x232fb4['OIFaO'],{'type':_0x232fb4['CaTTH'],'description':_0x232fb4['KqjSh'],'demandOption':!![]})['option']('ci',{'type':_0x232fb4[_0x915736(0x2b1)],'description':_0x915736(0x27c),'default':![]})['option'](_0x232fb4[_0x915736(0x256)],{'type':'boolean','description':_0x232fb4[_0x915736(0x1d7)],'default':![]});},async _0x171b10=>{const _0xaff0bd=_0x130f7c;warnRenamed(_0x232fb4[_0xaff0bd(0x1fd)],_0xaff0bd(0x1ae)),await _0x232fb4[_0xaff0bd(0x230)](withTelemetry,_0xaff0bd(0x21a),_0x459640=>addEnv(_0x171b10[_0xaff0bd(0x1d0)],{'ci':_0x171b10['ci'],'skipAuth':_0x171b10['skip-auth']},_0x459640));})[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x24f)],![],_0xd604ae=>{const _0x4dd115=_0x130f7c;return _0xd604ae['positional'](_0x232fb4[_0x4dd115(0x18a)],{'type':_0x232fb4[_0x4dd115(0x16d)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x207517=>{const _0x2787b4=_0x130f7c;warnRenamed(_0x2787b4(0x2be),_0x232fb4[_0x2787b4(0x27e)]),await _0x232fb4['zvivE'](withTelemetry,_0x232fb4[_0x2787b4(0x31f)],()=>useEnv(_0x207517[_0x2787b4(0x1d0)]));})['command'](_0x130f7c(0x221),![],_0x3a56a1=>{const _0x4849b9=_0x130f7c,_0x1d8c23={'fianR':_0x4849b9(0x2ba),'LNldc':'Environment\x20name','YLnDv':_0x232fb4[_0x4849b9(0x1ca)],'vlaog':_0x4849b9(0x175),'qZsSV':'string','doHYX':_0x232fb4['BBHrH'],'eSgGQ':function(_0x34ed32,_0x14f688,_0xa40678){return _0x232fb4['vMAtF'](_0x34ed32,_0x14f688,_0xa40678);},'tsmgY':_0x4849b9(0x20d)};return _0x3a56a1['command']('set\x20<env>\x20<key>\x20<value>',![],_0x1ccebd=>{const _0x14555f=_0x4849b9;return _0x1ccebd['positional'](_0x1d8c23['fianR'],{'type':_0x14555f(0x1b5),'description':_0x1d8c23[_0x14555f(0x1c2)],'demandOption':!![]})['positional'](_0x1d8c23[_0x14555f(0x184)],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':'string','description':_0x1d8c23['vlaog'],'demandOption':!![]});},async _0x285c12=>{const _0xebbc6a=_0x4849b9;warnRenamed(_0x232fb4['BGzHG'],_0x232fb4[_0xebbc6a(0x308)]),await withTelemetry(_0xebbc6a(0x1bc),()=>configSet(_0x285c12[_0xebbc6a(0x2ba)],_0x285c12['key'],_0x285c12['value']));})['command'](_0x4849b9(0x2ef),![],_0x428ca2=>{const _0x10590e=_0x4849b9;return _0x428ca2['positional'](_0x232fb4[_0x10590e(0x1e4)],{'type':'string','description':_0x232fb4[_0x10590e(0x193)],'demandOption':!![]})[_0x10590e(0x316)](_0x232fb4['IQkyI'],{'type':_0x232fb4['CaTTH'],'description':_0x10590e(0x2f5),'demandOption':!![]});},async _0x12a3f0=>{const _0x59645f=_0x4849b9;warnRenamed(_0x232fb4[_0x59645f(0x17c)],_0x232fb4[_0x59645f(0x152)]),await _0x232fb4['Fwgnr'](withTelemetry,'config\x20get',()=>configGet(_0x12a3f0['env'],_0x12a3f0[_0x59645f(0x2d2)]));})[_0x4849b9(0x23d)](_0x232fb4['gvQbX'],![],_0xfe34a5=>{const _0x34f2cf=_0x4849b9;return _0xfe34a5['positional'](_0x34f2cf(0x2ba),{'type':_0x1d8c23[_0x34f2cf(0x173)],'description':_0x1d8c23[_0x34f2cf(0x1c2)],'demandOption':!![]});},async _0x25217d=>{const _0x4caeae=_0x4849b9;warnRenamed(_0x1d8c23['doHYX'],_0x4caeae(0x1b6)),await _0x1d8c23['eSgGQ'](withTelemetry,_0x1d8c23['tsmgY'],()=>configList(_0x25217d[_0x4caeae(0x2ba)]));})['command'](_0x4849b9(0x260),![],_0x19cdf4=>{const _0x37e3ad=_0x4849b9;return _0x19cdf4['positional'](_0x37e3ad(0x2ba),{'type':'string','description':_0x1d8c23['LNldc'],'demandOption':!![]})['positional'](_0x37e3ad(0x2d2),{'type':_0x37e3ad(0x1b5),'description':_0x37e3ad(0x207),'demandOption':!![]});},async _0x5e46bb=>{const _0x5469e3=_0x4849b9;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await _0x232fb4[_0x5469e3(0x246)](withTelemetry,_0x232fb4[_0x5469e3(0x18e)],()=>configUnset(_0x5e46bb['env'],_0x5e46bb[_0x5469e3(0x2d2)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command']('env',![],_0x8b1fa3=>{const _0x53e77c=_0x130f7c,_0x12425b={'UuyhI':function(_0x2de4c4,_0xb8ced8,_0x36af4f){return _0x2de4c4(_0xb8ced8,_0x36af4f);},'becnt':_0x53e77c(0x31c),'BtoQi':_0x53e77c(0x2b6)};return _0x8b1fa3[_0x53e77c(0x23d)]('ls',![],()=>{},async()=>{const _0x1a7bb0=_0x53e77c;_0x12425b['UuyhI'](warnRenamed,'ranger\x20env\x20ls',_0x12425b[_0x1a7bb0(0x26c)]),await withTelemetry(_0x12425b['BtoQi'],()=>envList());})['command']('update\x20<env-name>',![],_0x53f9ae=>{const _0xdf4899=_0x53e77c;return _0x53f9ae['positional'](_0x232fb4[_0xdf4899(0x18a)],{'type':'string','description':_0xdf4899(0x1e6),'demandOption':!![]});},async _0x11cf09=>{const _0x409bc6=_0x53e77c;_0x232fb4['TADcY'](warnRenamed,'ranger\x20env\x20update',_0x409bc6(0x180)),await _0x232fb4[_0x409bc6(0x1da)](withTelemetry,_0x232fb4['JBqlI'],_0x4ba965=>updateEnv(_0x11cf09['env-name'],_0x4ba965));})['demandCommand'](0x1,_0x53e77c(0x2c3));})[_0x130f7c(0x23d)](_0x232fb4[_0x130f7c(0x2d5)],![],_0x187827=>{const _0x2c6061=_0x130f7c,_0x189348={'thIcF':function(_0x3dbd4b,_0x5d129d,_0x3fb330){return _0x232fb4['cgbcB'](_0x3dbd4b,_0x5d129d,_0x3fb330);},'aeFpk':_0x2c6061(0x21f),'uMvjF':'--scenario','WuMAZ':_0x232fb4[_0x2c6061(0x16e)],'fXfLq':_0x232fb4['PNHJD'],'XkuFd':'boolean','rLdPw':_0x232fb4[_0x2c6061(0x2db)],'cbMJv':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','UgyUf':_0x2c6061(0x208),'SbWiH':_0x2c6061(0x2a3),'bvtIi':_0x232fb4['ppDQg'],'MRCfm':_0x2c6061(0x200),'jwQmP':_0x2c6061(0x2ce),'vzuWx':_0x232fb4[_0x2c6061(0x240)],'mDyby':_0x2c6061(0x204),'cgVEZ':function(_0x139af7,_0x339ce1,_0x27a107){const _0x5425b6=_0x2c6061;return _0x232fb4[_0x5425b6(0x1eb)](_0x139af7,_0x339ce1,_0x27a107);},'iFGGh':_0x2c6061(0x2ae),'MnfLq':'ranger\x20add-scenario','iRfOm':function(_0x5dbd70,_0x483232,_0x22be0e){return _0x5dbd70(_0x483232,_0x22be0e);},'KXCMJ':_0x232fb4['QEArd'],'KJqVx':'ranger\x20get-review','lFcur':_0x232fb4[_0x2c6061(0x192)]};return _0x187827[_0x2c6061(0x23d)](_0x232fb4['GjSCP'],![],_0x480ca5=>{const _0x504768=_0x2c6061;return _0x480ca5['positional'](_0x232fb4[_0x504768(0x269)],{'type':_0x504768(0x1b5),'description':_0x504768(0x2a1),'demandOption':!![]})['option'](_0x232fb4['wIaAQ'],{'type':_0x232fb4['CaTTH'],'alias':'d','description':_0x504768(0x2d9)})[_0x504768(0x1b9)]('checklist',{'type':_0x232fb4['MJNFc'],'alias':'c','description':_0x232fb4[_0x504768(0x1fe)]})[_0x504768(0x1b9)](_0x232fb4[_0x504768(0x1cb)],{'type':_0x232fb4[_0x504768(0x2fa)],'hidden':!![]});},async _0xb4fc00=>{const _0x5c7ce6=_0x2c6061;_0x189348['thIcF'](warnRenamed,_0x5c7ce6(0x2f6),_0x189348[_0x5c7ce6(0x235)]),warnFlagRenamed(_0x189348[_0x5c7ce6(0x235)],_0x5c7ce6(0x2ab),_0x189348['uMvjF']);const _0x2d13b6=_0xb4fc00['scenario']||_0xb4fc00[_0x5c7ce6(0x2f2)];await withTelemetry(_0x189348[_0x5c7ce6(0x28c)],()=>featureCreate(_0xb4fc00['name'],{'description':_0xb4fc00['description'],'scenarios':_0x2d13b6}));})['command']('list',![],_0x29c1c0=>{const _0xa00b0a=_0x2c6061;return _0x29c1c0[_0xa00b0a(0x1b9)](_0x189348[_0xa00b0a(0x263)],{'type':_0x189348['XkuFd'],'description':_0x189348['rLdPw']})[_0xa00b0a(0x1b9)]('limit',{'type':'number','alias':'l','description':_0x189348[_0xa00b0a(0x154)],'default':0xa})[_0xa00b0a(0x1b9)](_0x189348[_0xa00b0a(0x2c6)],{'type':_0x189348[_0xa00b0a(0x286)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0xa00b0a(0x1b9)](_0xa00b0a(0x2b7),{'type':'boolean','alias':'d','description':_0xa00b0a(0x300),'default':![]});},async _0x4fdbb2=>{const _0x1f4200=_0x2c6061;warnRenamed(_0x1f4200(0x28f),_0x189348[_0x1f4200(0x301)]),await withTelemetry(_0x189348['MRCfm'],()=>featureList({'currentBranch':_0x4fdbb2[_0x1f4200(0x2ac)],'limit':_0x4fdbb2[_0x1f4200(0x219)],'offset':_0x4fdbb2[_0x1f4200(0x208)],'includeDeleted':_0x4fdbb2[_0x1f4200(0x2b7)]}));})['command'](_0x232fb4[_0x2c6061(0x1b0)],![],_0x932f31=>{const _0x35db1a=_0x2c6061;return _0x932f31[_0x35db1a(0x316)]('id',{'type':_0x35db1a(0x1b5),'description':_0x189348[_0x35db1a(0x161)]});},async _0x5e016a=>{const _0xe8f8fe=_0x2c6061;warnRenamed(_0xe8f8fe(0x17f),_0x189348['vzuWx']),await _0x189348['thIcF'](withTelemetry,_0x189348[_0xe8f8fe(0x2fb)],()=>featureShow(_0x5e016a['id']));})['command'](_0x2c6061(0x199),![],_0x4cf0c0=>{const _0xa60c8e=_0x2c6061;return _0x4cf0c0['positional']('id',{'type':_0xa60c8e(0x1b5),'description':_0xa60c8e(0x2a6)});},async _0x49afc2=>{const _0x2d9f8b=_0x2c6061;_0x232fb4[_0x2d9f8b(0x1c7)](warnRenamed,'ranger\x20feature\x20resume',_0x232fb4['kBOHA']),await _0x232fb4['qZSqb'](withTelemetry,_0x232fb4['vWyol'],()=>featureResume(_0x49afc2['id']));})[_0x2c6061(0x23d)]('add-checklist-item\x20<description>',![],_0x506666=>{const _0x290c08=_0x2c6061;return _0x506666['positional']('description',{'type':_0x232fb4[_0x290c08(0x16d)],'description':_0x232fb4[_0x290c08(0x212)],'demandOption':!![]})['option']('id',{'type':_0x232fb4['CaTTH'],'description':_0x232fb4['RUBNu']});},async _0x313b4b=>{const _0x26b67b=_0x2c6061;_0x189348[_0x26b67b(0x21b)](warnRenamed,_0x189348['iFGGh'],_0x189348['MnfLq']),await withTelemetry(_0x26b67b(0x1e9),()=>featureAddScenario(_0x313b4b['description'],_0x313b4b['id']));})[_0x2c6061(0x23d)](_0x232fb4[_0x2c6061(0x1c5)],![],_0x188d79=>{const _0xcd2422=_0x2c6061;return _0x188d79[_0xcd2422(0x316)]('id',{'type':_0xcd2422(0x1b5),'description':_0x232fb4[_0xcd2422(0x2e3)]});},async _0x6ae4b9=>{const _0x47c88b=_0x2c6061;_0x189348[_0x47c88b(0x287)](warnRenamed,_0x189348['KXCMJ'],_0x189348['KJqVx']),await _0x189348['iRfOm'](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x6ae4b9['id']));})[_0x2c6061(0x23d)]('delete\x20[id]',![],_0x22b21f=>{const _0x2b8751=_0x2c6061;return _0x22b21f['positional']('id',{'type':_0x2b8751(0x1b5),'description':_0x2b8751(0x2ce)});},async _0x4cb7dd=>{const _0x5bf3d9=_0x2c6061;_0x232fb4['wilIv'](warnRenamed,_0x232fb4[_0x5bf3d9(0x1fc)],_0x5bf3d9(0x2f0)),await _0x232fb4['XJifa'](withTelemetry,_0x232fb4[_0x5bf3d9(0x20b)],()=>featureDelete(_0x4cb7dd['id']));})['command'](_0x232fb4[_0x2c6061(0x1f5)],![],_0x3ca4ac=>{const _0x765322=_0x2c6061;return _0x3ca4ac[_0x765322(0x316)]('id',{'type':_0x765322(0x1b5),'description':_0x232fb4[_0x765322(0x1ed)],'demandOption':!![]});},async _0x2329fb=>{const _0x261f27=_0x2c6061;warnRenamed('ranger\x20feature\x20restore','ranger\x20restore'),await withTelemetry(_0x189348[_0x261f27(0x20e)],()=>featureRestore(_0x2329fb['id']));})['demandCommand'](0x1,_0x2c6061(0x228));})['command']('hook',![],_0x3c1ea4=>{const _0x18bc76=_0x130f7c,_0xe3ce3e={'JvfHq':_0x18bc76(0x1b5),'stgwP':_0x232fb4[_0x18bc76(0x19e)],'NcjiK':_0x232fb4['yMUtT']};return _0x3c1ea4['command'](_0x18bc76(0x2cd),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x3a8dd7=>{const _0x469b5a=_0x18bc76;return _0x3a8dd7[_0x469b5a(0x1b9)]('session-id',{'type':_0xe3ce3e[_0x469b5a(0x15c)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3ac062=>{const _0x26462b=_0x18bc76;await _0x232fb4['oWoFN'](withTelemetry,_0x232fb4[_0x26462b(0x19b)],()=>hook('enable',_0x3ac062['session-id']));})[_0x18bc76(0x23d)](_0x18bc76(0x194),'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x4193d3=>{const _0x4c77a0=_0x18bc76;return _0x4193d3[_0x4c77a0(0x1b9)](_0xe3ce3e['stgwP'],{'type':_0xe3ce3e['JvfHq'],'description':_0xe3ce3e[_0x4c77a0(0x2e8)]});},async _0x4f6fb7=>{const _0x7be6f5=_0x18bc76;await withTelemetry(_0x7be6f5(0x2d8),()=>hook(_0x7be6f5(0x194),_0x4f6fb7['session-id']));})[_0x18bc76(0x1b9)](_0x18bc76(0x21e),{'type':_0x232fb4[_0x18bc76(0x16d)],'description':_0x232fb4['REVAz']})[_0x18bc76(0x1b9)]('session-id',{'type':_0x232fb4['CaTTH'],'description':_0x232fb4[_0x18bc76(0x222)]});},async _0x3de318=>{const _0x1b9c2e=_0x130f7c;_0x3de318['name']&&await _0x232fb4[_0x1b9c2e(0x288)](hook,_0x3de318[_0x1b9c2e(0x21e)],_0x3de318[_0x232fb4['UBfqd']]);})[_0x130f7c(0x1ac)](0x1,_0x232fb4[_0x130f7c(0x299)])[_0x130f7c(0x1fb)]()['fail'](async(_0x519cd3,_0x5dac28,_0x417523)=>{const _0x523d47=_0x130f7c,_0x44bdb7=_0x232fb4['SoCZt'](sanitizeArgs,process[_0x523d47(0x1a4)]['slice'](0x2)),_0xcce780=getErrorType(_0x519cd3,_0x5dac28);if(_0x519cd3&&_0x519cd3['includes']('Unknown\x20command')){const _0xb6454d=process[_0x523d47(0x1a4)][0x2];console['error'](_0x523d47(0x2bf)+_0xb6454d),console['error'](_0x232fb4['cPHwT']);}else{if(_0x519cd3)console['error']('\x0a'+_0x519cd3+'\x0a');else _0x5dac28&&console['error']('\x0aError:\x20'+_0x5dac28['message']+'\x0a');}await logDesirePath({'rawCommand':_0x44bdb7,'errorMessage':_0x519cd3||_0x5dac28?.[_0x523d47(0x2b2)],'errorType':_0xcce780});const _0x81264e=getCurrentCollector();_0x81264e&&await _0x81264e[_0x523d47(0x261)](_0x5dac28||new Error(_0x232fb4[_0x523d47(0x292)](_0x519cd3,_0x232fb4[_0x523d47(0x24a)]))),process[_0x523d47(0x1e3)](0x1);})[_0x130f7c(0x304)](_0x232fb4['RTZZm'](_0x130f7c(0x24e),_0x232fb4['jUllP'])+_0x232fb4['tPamP'])[_0x130f7c(0x2bd)]()['alias'](_0x130f7c(0x2bd),'h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|